@univerjs-pro/collaboration-client 0.5.1-nightly.202412090546 → 0.5.1-nightly.202412090639

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 _0x271eef=_0x5df3;(function(_0x232e1c,_0x5846e8){var _0x4b025f=_0x5df3,_0x2f395e=_0x232e1c();while(!![]){try{var _0x3ec92e=parseInt(_0x4b025f(0x1d5))/0x1*(-parseInt(_0x4b025f(0x113))/0x2)+parseInt(_0x4b025f(0x346))/0x3*(parseInt(_0x4b025f(0x364))/0x4)+parseInt(_0x4b025f(0x6d))/0x5+-parseInt(_0x4b025f(0x2fd))/0x6+-parseInt(_0x4b025f(0x130))/0x7*(parseInt(_0x4b025f(0x7e))/0x8)+parseInt(_0x4b025f(0x29a))/0x9+parseInt(_0x4b025f(0x302))/0xa;if(_0x3ec92e===_0x5846e8)break;else _0x2f395e['push'](_0x2f395e['shift']());}catch(_0x202cda){_0x2f395e['push'](_0x2f395e['shift']());}}}(_0x1ff9,0x9a7d1));var Lt=Object[_0x271eef(0x1ec)],Mt=(_0x415b9d,_0x204ca4,_0x3c57ef)=>_0x204ca4 in _0x415b9d?Lt(_0x415b9d,_0x204ca4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c57ef}):_0x415b9d[_0x204ca4]=_0x3c57ef,w=(_0x370952,_0x3b9210,_0x56b32c)=>Mt(_0x370952,typeof _0x3b9210!=_0x271eef(0x3bd)?_0x3b9210+'':_0x3b9210,_0x56b32c);Object[_0x271eef(0x1ec)](exports,Symbol[_0x271eef(0x2b1)],{'value':_0x271eef(0x29c)});const a=require('@univerjs/core'),B=require(_0x271eef(0x2ac)),V=require(_0x271eef(0x13c)),z=require(_0x271eef(0x1bf)),m=require('@univerjs-pro/collaboration'),xt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),W=require(_0x271eef(0x24a)),X=require(_0x271eef(0x376)),jt=require(_0x271eef(0x145)),dt=_0x271eef(0x2c2),$t='/universer-api/snapshot',vt='SNAPSHOT_URL_KEY',Ht='SEND_CHANGESET_TIMEOUT',kt=0x7d0,ft=_0x271eef(0x222),St='ws://127.0.0.1:8000/universer-api/comb/connect',Bt=_0x271eef(0x1f6),pt=_0x271eef(0x26a),Ft=0x7530,He=_0x271eef(0xa5),gt=0x4e20,Wt=0x4e20,mt=_0x271eef(0x115),Vt=0x3,Gt=_0x271eef(0x244),Kt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Yt=_0x271eef(0x28c),Et=_0x271eef(0x117),qt='/universer-api/oidc/authpage';var Ct=(_0x2eb638=>(_0x2eb638[_0x2eb638[_0x271eef(0xcf)]=0x0]=_0x271eef(0xcf),_0x2eb638[_0x2eb638['OK']=0x1]='OK',_0x2eb638[_0x2eb638[_0x271eef(0x1ab)]=0x2]='INTERNAL_ERROR',_0x2eb638[_0x2eb638[_0x271eef(0x3d6)]=0x3]='PERMISSION_DENIED',_0x2eb638[_0x2eb638[_0x271eef(0x17b)]=0x4]='NOT_FOUND',_0x2eb638[_0x2eb638[_0x271eef(0x1d6)]=0x5]=_0x271eef(0x1d6),_0x2eb638[_0x2eb638['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2eb638[_0x2eb638[_0x271eef(0xbd)]=0x7]=_0x271eef(0xbd),_0x2eb638[_0x2eb638['TOO_MANY_REQUESTS']=0x8]=_0x271eef(0xfe),_0x2eb638[_0x2eb638['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2eb638[_0x2eb638['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x271eef(0x239),_0x2eb638[_0x2eb638['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x271eef(0x287),_0x2eb638[_0x2eb638[_0x271eef(0x330)]=0x1772]=_0x271eef(0x330),_0x2eb638[_0x2eb638[_0x271eef(0x1c3)]=0x1773]=_0x271eef(0x1c3),_0x2eb638[_0x2eb638['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2eb638[_0x2eb638[_0x271eef(0x2a2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2eb638[_0x2eb638[_0x271eef(0xd4)]=0x1b5b]=_0x271eef(0xd4),_0x2eb638[_0x2eb638[_0x271eef(0x3bc)]=0x1b5c]=_0x271eef(0x3bc),_0x2eb638[_0x2eb638[_0x271eef(0x2b2)]=0x1b5d]=_0x271eef(0x2b2),_0x2eb638[_0x2eb638[_0x271eef(0x2fe)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2eb638[_0x2eb638[_0x271eef(0x344)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2eb638[_0x2eb638[_0x271eef(0x1a0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2eb638[_0x2eb638['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2eb638[_0x2eb638['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x271eef(0x227),_0x2eb638[_0x2eb638[_0x271eef(0x2c4)]=0x232d]=_0x271eef(0x2c4),_0x2eb638[_0x2eb638[_0x271eef(0x1ed)]=0x2711]=_0x271eef(0x1ed),_0x2eb638[_0x2eb638['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x271eef(0x12d),_0x2eb638[_0x2eb638[_0x271eef(0x1f5)]=0x2713]=_0x271eef(0x1f5),_0x2eb638[_0x2eb638[_0x271eef(0x184)]=0x2714]=_0x271eef(0x184),_0x2eb638[_0x2eb638[_0x271eef(0x31d)]=-0x1]=_0x271eef(0x31d),_0x2eb638))(Ct||{}),Z=(_0x289b42=>(_0x289b42[_0x289b42['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x289b42[_0x289b42[_0x271eef(0x351)]=0x1]=_0x271eef(0x351),_0x289b42[_0x289b42[_0x271eef(0x88)]=0x2]=_0x271eef(0x88),_0x289b42[_0x289b42[_0x271eef(0xa2)]=0x3]=_0x271eef(0xa2),_0x289b42[_0x289b42['UNIVER_PROJECT']=0x4]=_0x271eef(0x225),_0x289b42[_0x289b42[_0x271eef(0x31d)]=-0x1]=_0x271eef(0x31d),_0x289b42))(Z||{}),G=(_0x3fd399=>(_0x3fd399[_0x3fd399[_0x271eef(0x396)]=0x0]=_0x271eef(0x396),_0x3fd399[_0x3fd399[_0x271eef(0x2e7)]=0x1]='HELLO',_0x3fd399[_0x3fd399[_0x271eef(0xdd)]=0x2]=_0x271eef(0xdd),_0x3fd399[_0x3fd399[_0x271eef(0x1c6)]=0x3]=_0x271eef(0x1c6),_0x3fd399[_0x3fd399[_0x271eef(0x341)]=0x4]=_0x271eef(0x341),_0x3fd399[_0x3fd399[_0x271eef(0x36f)]=0x5]=_0x271eef(0x36f),_0x3fd399[_0x3fd399[_0x271eef(0xc1)]=0x6]='RECV',_0x3fd399[_0x3fd399[_0x271eef(0x31d)]=-0x1]=_0x271eef(0x31d),_0x3fd399))(G||{}),he=(_0x1e085c=>(_0x1e085c[_0x1e085c[_0x271eef(0xb4)]=0x0]=_0x271eef(0xb4),_0x1e085c[_0x1e085c['OK']=0x1]='OK',_0x1e085c[_0x1e085c[_0x271eef(0x97)]=0x2]='FAIL',_0x1e085c[_0x1e085c[_0x271eef(0x179)]=0x3e9]='JOIN_ROOM_FULL',_0x1e085c[_0x1e085c[_0x271eef(0x228)]=0x3ea]=_0x271eef(0x228),_0x1e085c[_0x1e085c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1e085c[_0x1e085c[_0x271eef(0x168)]=0x3ec]=_0x271eef(0x168),_0x1e085c[_0x1e085c[_0x271eef(0x31d)]=-0x1]=_0x271eef(0x31d),_0x1e085c))(he||{}),Tt=(_0x52c113=>(_0x52c113[_0x52c113[_0x271eef(0x247)]=0x0]='Undefined',_0x52c113[_0x52c113['HttpImport']=0x1]=_0x271eef(0x246),_0x52c113[_0x52c113[_0x271eef(0x290)]=0x2]=_0x271eef(0x290),_0x52c113[_0x52c113[_0x271eef(0x110)]=0x3]=_0x271eef(0x110),_0x52c113[_0x52c113[_0x271eef(0x24d)]=0x4]=_0x271eef(0x24d),_0x52c113[_0x52c113[_0x271eef(0x31d)]=-0x1]='UNRECOGNIZED',_0x52c113))(Tt||{});const q='collaboration-client.config',zt={};var Q=(_0xcee884=>(_0xcee884[_0x271eef(0x334)]='OTHER_CLIENT_EDITING',_0xcee884[_0x271eef(0x3d6)]=_0x271eef(0x3d6),_0xcee884[_0x271eef(0x3ae)]=_0x271eef(0x3ae),_0xcee884[_0x271eef(0x259)]='CLOSE_ROOM',_0xcee884[_0x271eef(0x73)]=_0x271eef(0x73),_0xcee884[_0x271eef(0x2ca)]=_0x271eef(0x2ca),_0xcee884[_0x271eef(0xb2)]='SOCKET_FAILED',_0xcee884[_0x271eef(0x294)]='SUBMIT_CHANGESET_TIMEOUT',_0xcee884))(Q||{});class te{constructor(){var _0x4882bf=_0x271eef;w(this,'_event$',new B[(_0x4882bf(0x2d5))]()),w(this,_0x4882bf(0x38d),this[_0x4882bf(0x282)]['asObservable']());}[_0x271eef(0x327)](_0x2892f3){var _0x327648=_0x271eef;this[_0x327648(0x282)][_0x327648(0x14f)](_0x2892f3);}}const bt=a[_0x271eef(0x3b0)](_0x271eef(0xb1));function Rt(_0x59adeb){var _0x7e1ac7=_0x271eef,_0x5b0c4b,_0x51b2fc,_0x12e1ef,_0x413e66,_0x317adf;const _0x5aa0c8=_0x59adeb['data'],_0x2e365b=JSON[_0x7e1ac7(0x277)](_0x5aa0c8);switch(_0x2e365b[_0x7e1ac7(0x36c)]){case G[_0x7e1ac7(0x36f)]:case G[_0x7e1ac7(0x2e7)]:{const _0x32fe87=_0x2e365b['infoRsp'];return{..._0x2e365b,'data':_0x32fe87,'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};}case G[_0x7e1ac7(0xdd)]:{const _0x183b16=_0x2e365b[_0x7e1ac7(0x31e)];return{..._0x2e365b,'data':_0x183b16,'cmd':_0x2e365b['cmd']};}case G[_0x7e1ac7(0xc1)]:{const _0x515e9c=_0x2e365b[_0x7e1ac7(0x138)];switch(_0x515e9c[_0x7e1ac7(0x2d8)]){case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x209)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':(_0x5b0c4b=_0x515e9c[_0x7e1ac7(0x22f)])==null?void 0x0:_0x5b0c4b['cs']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x306)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':(_0x51b2fc=_0x515e9c[_0x7e1ac7(0x372)])==null?void 0x0:_0x51b2fc['cs']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent'][_0x7e1ac7(0x261)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':(_0x12e1ef=_0x515e9c[_0x7e1ac7(0x2d9)])==null?void 0x0:_0x12e1ef['cs']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x2e365b,'data':{..._0x515e9c,'data':(_0x413e66=_0x515e9c['csRejEvent'])==null?void 0x0:_0x413e66['cs']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent'][_0x7e1ac7(0x1c8)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':(_0x317adf=_0x515e9c[_0x7e1ac7(0x36b)])==null?void 0x0:_0x317adf['cs']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent'][_0x7e1ac7(0x119)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c[_0x7e1ac7(0xcb)]},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x1f1)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c[_0x7e1ac7(0x339)]},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x30d)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c[_0x7e1ac7(0x2b7)]},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent'][_0x7e1ac7(0x23e)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c['liveShareNewHost']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x75)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c[_0x7e1ac7(0x3b7)]},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent'][_0x7e1ac7(0x19e)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c['liveShareNewHost']},'cmd':_0x2e365b['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x2e365b,'data':_0x515e9c,'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x91)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c['commentUpdateEvent']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c['updatePermissionObjEvent']},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};case m[_0x7e1ac7(0x14c)][_0x7e1ac7(0x34c)]:return{..._0x2e365b,'data':{..._0x515e9c,'data':_0x515e9c[_0x7e1ac7(0x1f8)]},'cmd':_0x2e365b[_0x7e1ac7(0x36c)]};default:return _0x2e365b;}}default:return _0x2e365b;}}function yt(_0x24dcf2){var _0x38dc59=_0x271eef;switch(_0x24dcf2[_0x38dc59(0x36c)]){case G['HEARTBEAT']:case G[_0x38dc59(0x2e7)]:return JSON[_0x38dc59(0x71)]({'cmd':_0x24dcf2[_0x38dc59(0x36c)],'routeKey':_0x24dcf2[_0x38dc59(0x1fb)]});case G[_0x38dc59(0x341)]:{let _0x48ae44;switch(_0x24dcf2[_0x38dc59(0x133)][_0x38dc59(0x2d8)]){case m[_0x38dc59(0x14c)][_0x38dc59(0x119)]:{_0x48ae44={'eventID':m[_0x38dc59(0x14c)][_0x38dc59(0x119)],'updateCursorEvent':_0x24dcf2[_0x38dc59(0x133)][_0x38dc59(0x133)]};break;}case m[_0x38dc59(0x14c)][_0x38dc59(0x30d)]:{_0x48ae44={'eventID':m[_0x38dc59(0x14c)][_0x38dc59(0x30d)],'leaveEvent':_0x24dcf2[_0x38dc59(0x133)]['data']};break;}case m[_0x38dc59(0x14c)][_0x38dc59(0x1f1)]:{_0x48ae44={'eventID':m[_0x38dc59(0x14c)]['USERS_ENTER'],'joinEvent':_0x24dcf2[_0x38dc59(0x133)][_0x38dc59(0x133)]};break;}case m['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x48ae44={'eventID':m[_0x38dc59(0x14c)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x24dcf2[_0x38dc59(0x133)][_0x38dc59(0x133)]};break;}case m[_0x38dc59(0x14c)][_0x38dc59(0x75)]:{_0x48ae44={'eventID':m['CollaborationEvent'][_0x38dc59(0x75)],'liveShareOperation':_0x24dcf2[_0x38dc59(0x133)]['data']};break;}case m[_0x38dc59(0x14c)]['LIVESHARE_TERMINATE']:{_0x48ae44={'eventID':m['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x24dcf2['data'][_0x38dc59(0x133)]};break;}case m[_0x38dc59(0x14c)][_0x38dc59(0x144)]:{_0x48ae44={'eventID':m['CollaborationEvent'][_0x38dc59(0x144)],'liveShareRequestHost':_0x24dcf2['data'][_0x38dc59(0x133)]};break;}case m[_0x38dc59(0x14c)][_0x38dc59(0x2e3)]:{_0x48ae44={'eventID':m[_0x38dc59(0x14c)][_0x38dc59(0x2e3)]};break;}default:_0x48ae44={'eventID':_0x24dcf2['data']['eventID']};}return JSON[_0x38dc59(0x71)]({'cmd':_0x24dcf2['cmd'],'routeKey':_0x24dcf2[_0x38dc59(0x1fb)],'collaMsg':_0x48ae44});}case G[_0x38dc59(0xdd)]:return JSON[_0x38dc59(0x71)]({'cmd':_0x24dcf2[_0x38dc59(0x36c)],'routeKey':_0x24dcf2[_0x38dc59(0x1fb)],'joinReq':_0x24dcf2[_0x38dc59(0x133)]});case G[_0x38dc59(0x1c6)]:return JSON[_0x38dc59(0x71)]({'cmd':_0x24dcf2['cmd'],'routeKey':_0x24dcf2[_0x38dc59(0x1fb)],'leaveReq':_0x24dcf2[_0x38dc59(0x133)]});default:throw new Error(_0x38dc59(0x3d0));}}var Jt=Object[_0x271eef(0x1ec)],Xt=Object[_0x271eef(0x11b)],Zt=(_0x12960c,_0x205e90,_0x4b90ad,_0x3feebe)=>{var _0x134e0c=_0x271eef;for(var _0x32f390=_0x3feebe>0x1?void 0x0:_0x3feebe?Xt(_0x205e90,_0x4b90ad):_0x205e90,_0x27f34f=_0x12960c[_0x134e0c(0x7a)]-0x1,_0x334b13;_0x27f34f>=0x0;_0x27f34f--)(_0x334b13=_0x12960c[_0x27f34f])&&(_0x32f390=(_0x3feebe?_0x334b13(_0x205e90,_0x4b90ad,_0x32f390):_0x334b13(_0x32f390))||_0x32f390);return _0x3feebe&&_0x32f390&&Jt(_0x205e90,_0x4b90ad,_0x32f390),_0x32f390;},ue=(_0x2f8006,_0x2e90ea)=>(_0x1a8176,_0x1bd62e)=>_0x2e90ea(_0x1a8176,_0x1bd62e,_0x2f8006);const ke=a[_0x271eef(0x3b0)]('univer-pro.collaboration-client-socket-service');function Qt(_0x25c39c,_0x136d9a,_0x677a2c){var _0x19a50f=_0x271eef;return _0x25c39c+'/'+_0x136d9a+_0x19a50f(0x34e)+_0x677a2c+'/new_changes';}exports[_0x271eef(0x2d2)]=class extends a[_0x271eef(0x365)]{constructor(_0x4e7829,_0x531b0a,_0x1efe0e,_0x2bc49c,_0xb9416b){var _0x267a95=_0x271eef;super(),this['_injector']=_0x4e7829,this['_http']=_0x531b0a,this[_0x267a95(0x107)]=_0x1efe0e,this[_0x267a95(0xc7)]=_0x2bc49c,this[_0x267a95(0x206)]=_0xb9416b;}[_0x271eef(0x2b3)](_0x58066e){var _0x497e03=_0x271eef;const _0x20c549=this[_0x497e03(0xc4)]['get'](z['ISocketService']);if(!_0x20c549)throw new Error(_0x497e03(0x1f2));const _0x41ce37=_0x20c549['createSocket'](_0x58066e);if(!_0x41ce37)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2273ec=new a[(_0x497e03(0x1a2))](),_0x4e08c9=new B[(_0x497e03(0x2d5))]();_0x2273ec[_0x497e03(0x120)](_0x41ce37[_0x497e03(0xec)]['subscribe'](_0x3008b3=>_0x4e08c9['next'](_0x3008b3))),_0x2273ec[_0x497e03(0x120)](a[_0x497e03(0xfb)](()=>_0x4e08c9[_0x497e03(0x30a)]()));const _0x194708=new B['Subject']();_0x2273ec[_0x497e03(0x120)](_0x41ce37[_0x497e03(0x8a)][_0x497e03(0xea)](_0x294bce=>_0x194708[_0x497e03(0x14f)](_0x294bce))),_0x2273ec[_0x497e03(0x120)](a[_0x497e03(0xfb)](()=>_0x194708[_0x497e03(0x30a)]()));const _0x50c376=new B[(_0x497e03(0x2d5))]();_0x2273ec['add'](_0x41ce37[_0x497e03(0x199)][_0x497e03(0xea)](_0x3df842=>{var _0x17c01a=_0x497e03;const _0x1da475=Rt(_0x3df842);_0x50c376[_0x17c01a(0x14f)](_0x1da475);})),_0x2273ec[_0x497e03(0x120)](a[_0x497e03(0xfb)](()=>_0x50c376[_0x497e03(0x30a)]()));let _0x425149;const _0x28aa37=()=>{var _0x5d8839=_0x497e03;_0x194708['next'](new Event(_0x5d8839(0x20c))),_0x4e08c9['next'](new CloseEvent(_0x5d8839(0x20c))),_0x425149[_0x5d8839(0x381)]();};return _0x425149={'memberID':'','close$':_0x4e08c9[_0x497e03(0x2e8)](),'error$':_0x194708[_0x497e03(0x2e8)](),'open$':_0x41ce37[_0x497e03(0x382)],'message$':_0x50c376['asObservable'](),'send':_0x13c70b=>{var _0x1a8597=_0x497e03;if(_0x13c70b[_0x1a8597(0x36c)]===G['INGEST']){if(_0x13c70b['data']['eventID']===m['CollaborationEvent'][_0x1a8597(0xe6)]){this[_0x1a8597(0x281)](_0x425149,_0x13c70b['data'])['catch'](_0x47e216=>{var _0x4b6b1a=_0x1a8597;this[_0x4b6b1a(0xc7)][_0x4b6b1a(0x30b)](_0x47e216),_0x28aa37();});return;}if(_0x13c70b[_0x1a8597(0x133)][_0x1a8597(0x2d8)]===m[_0x1a8597(0x14c)][_0x1a8597(0x379)]){const _0xfcd53=_0x13c70b[_0x1a8597(0x133)];this[_0x1a8597(0x3d2)](_0xfcd53)[_0x1a8597(0x1b1)](_0x2f9d10=>{var _0x3245b2=_0x1a8597;_0x50c376['next']({'cmd':G[_0x3245b2(0xc1)],'code':he['OK'],'routeKey':_0xfcd53[_0x3245b2(0x133)][_0x3245b2(0x253)],'routeType':'','data':{'eventID':m[_0x3245b2(0x14c)][_0x3245b2(0x1ac)],'data':{'changesets':_0x2f9d10}}});})['catch'](_0xf5142f=>{var _0x31df91=_0x1a8597;this[_0x31df91(0xc7)][_0x31df91(0x30b)](_0xf5142f),_0x28aa37();});return;}}_0x41ce37[_0x1a8597(0x17d)](yt(_0x13c70b));},'close':()=>{var _0x26ae3d=_0x497e03;_0x41ce37[_0x26ae3d(0x381)](),_0x2273ec[_0x26ae3d(0x270)]();}},_0x425149;}async[_0x271eef(0x281)](_0x5e83d0,_0xb75f27){var _0x3d6058=_0x271eef,_0x472f61,_0x12589e;const {unitType:_0x2ae3f,unitID:_0x45d77e,changeset:_0x1a8019}=_0xb75f27[_0x3d6058(0x133)],_0x51ea39={'unitID':_0x45d77e,'memberID':_0x5e83d0[_0x3d6058(0x16a)],'type':_0x2ae3f,'changeset':m[_0x3d6058(0x3d5)](_0x1a8019)},_0x4a67e9=this['_configService']['getConfig'](It),_0x15c3d4=this['_configService'][_0x3d6058(0x1db)](q),_0x214440=Qt((_0x12589e=(_0x472f61=_0x15c3d4==null?void 0x0:_0x15c3d4[_0x3d6058(0x297)])!=null?_0x472f61:_0x4a67e9)!=null?_0x12589e:Yt,_0x2ae3f,_0x45d77e);try{await this[_0x3d6058(0x102)][_0x3d6058(0xd2)](_0x214440,{'body':_0x51ea39});}catch(_0x353337){throw this[_0x3d6058(0xc7)][_0x3d6058(0x30b)](_0x3d6058(0x3a4),_0x3d6058(0x29d)),_0x353337;}}async[_0x271eef(0x3d2)](_0x4b7076){var _0x2799ea=_0x271eef;const {unitID:_0x43c572,from:_0x20e066,to:_0x1fc118,unitType:_0x11ee4a}=_0x4b7076[_0x2799ea(0x133)];return(await this['_snapshotServerService'][_0x2799ea(0x136)]({'metadata':void 0x0},{'unitID':_0x43c572,'type':_0x11ee4a,'from':_0x20e066,'to':_0x1fc118}))[_0x2799ea(0x19a)];}},exports[_0x271eef(0x2d2)]=Zt([ue(0x0,a['Inject'](a[_0x271eef(0x2dc)])),ue(0x1,a[_0x271eef(0x16d)](z[_0x271eef(0x112)])),ue(0x2,a[_0x271eef(0x2ec)]),ue(0x3,a['ILogService']),ue(0x4,m['ISnapshotServerService'])],exports[_0x271eef(0x2d2)]);const ei=_0x271eef(0x2af);function ti(_0x360176){var _0x483494=_0x271eef;return JSON['stringify'](_0x360176)[_0x483494(0x7a)];}class Be{constructor(){var _0x234c8e=_0x271eef;w(this,_0x234c8e(0x105),new B[(_0x234c8e(0x2d5))]()),w(this,_0x234c8e(0x326),this[_0x234c8e(0x105)][_0x234c8e(0x2e8)]());}[_0x271eef(0x3ad)](_0x1d1cc9){var _0xc09236=_0x271eef;this[_0xc09236(0x105)]['next'](_0x1d1cc9);}}var ii=Object[_0x271eef(0x1ec)],ni=Object[_0x271eef(0x11b)],ri=(_0x473125,_0x11843f,_0x55cde7,_0x13abf5)=>{var _0x216502=_0x271eef;for(var _0x545b79=_0x13abf5>0x1?void 0x0:_0x13abf5?ni(_0x11843f,_0x55cde7):_0x11843f,_0x3c30aa=_0x473125[_0x216502(0x7a)]-0x1,_0xfb994d;_0x3c30aa>=0x0;_0x3c30aa--)(_0xfb994d=_0x473125[_0x3c30aa])&&(_0x545b79=(_0x13abf5?_0xfb994d(_0x11843f,_0x55cde7,_0x545b79):_0xfb994d(_0x545b79))||_0x545b79);return _0x13abf5&&_0x545b79&&ii(_0x11843f,_0x55cde7,_0x545b79),_0x545b79;},Ke=(_0x5ac4d1,_0x49be44)=>(_0x210d34,_0x2de3b1)=>_0x49be44(_0x210d34,_0x2de3b1,_0x5ac4d1);exports['MemberService']=class extends a[_0x271eef(0x365)]{constructor(_0x3c1597,_0x5a5372){var _0x5d3b1d=_0x271eef;super(),w(this,_0x5d3b1d(0x1e2),new Map()),(this[_0x5d3b1d(0xd0)]=_0x3c1597,this[_0x5d3b1d(0x2bd)]=_0x5a5372,this[_0x5d3b1d(0x118)](a[_0x5d3b1d(0xfb)](B[_0x5d3b1d(0x348)](this['_univerInstanceService'][_0x5d3b1d(0x106)](a[_0x5d3b1d(0x1e0)][_0x5d3b1d(0x88)])[_0x5d3b1d(0x17f)](V['map'](_0x3d8326=>_0x3d8326['getUnitId']())),this[_0x5d3b1d(0xd0)][_0x5d3b1d(0x106)](a[_0x5d3b1d(0x1e0)][_0x5d3b1d(0x351)])[_0x5d3b1d(0x17f)](V[_0x5d3b1d(0x32c)](_0x35730e=>_0x35730e[_0x5d3b1d(0xd9)]())),this[_0x5d3b1d(0xd0)]['getTypeOfUnitDisposed$'](a[_0x5d3b1d(0x1e0)][_0x5d3b1d(0xa2)])[_0x5d3b1d(0x17f)](V[_0x5d3b1d(0x32c)](_0x1a79b7=>_0x1a79b7[_0x5d3b1d(0xd9)]())))['subscribe'](_0x55d371=>this['_removeRoom'](_0x55d371)))));}[_0x271eef(0x391)](_0x1c2493){var _0x3ba7c4=_0x271eef;this[_0x3ba7c4(0x2bd)][_0x3ba7c4(0x391)](_0x1c2493);}[_0x271eef(0xa6)](){var _0x3ffba7=_0x271eef;return this[_0x3ffba7(0x2bd)][_0x3ffba7(0xa6)]();}['updateMember'](_0x29cdc3,_0x40a8b6){var _0x131e20=_0x271eef;let _0x4c0326=this[_0x131e20(0x1e2)][_0x131e20(0x25f)](_0x29cdc3);_0x4c0326||(_0x4c0326=new si(),this[_0x131e20(0x1e2)]['set'](_0x29cdc3,_0x4c0326)),_0x4c0326[_0x131e20(0x2b9)](_0x40a8b6);}['removeMember'](_0x201a7a,_0x488757){var _0x280b6c=_0x271eef;const _0x1a59ab=this[_0x280b6c(0x1e2)][_0x280b6c(0x25f)](_0x201a7a);_0x1a59ab&&_0x1a59ab[_0x280b6c(0x296)](_0x488757);}[_0x271eef(0x128)](_0x1eaa07){var _0x1c418b=_0x271eef;return this[_0x1c418b(0x1e2)][_0x1c418b(0x25f)](_0x1eaa07);}[_0x271eef(0x1de)](_0x4e0211,_0x1b15a8){var _0x36d87e=_0x271eef;const _0x490527=this['_roomMembers']['get'](_0x4e0211);if(_0x490527)return _0x490527[_0x36d87e(0x1de)](_0x1b15a8);}[_0x271eef(0x141)](_0xf49b5f){var _0x7daa27=_0x271eef;const _0x1d263b=this[_0x7daa27(0x1e2)][_0x7daa27(0x25f)](_0xf49b5f);_0x1d263b&&(_0x1d263b['dispose'](),this['_roomMembers'][_0x7daa27(0x12e)](_0xf49b5f));}[_0x271eef(0x270)](){var _0x11407a=_0x271eef;this['_roomMembers'][_0x11407a(0x3c3)](_0x5992b3=>_0x5992b3[_0x11407a(0x270)]()),this[_0x11407a(0x1e2)][_0x11407a(0x1ea)]();}},exports['MemberService']=ri([Ke(0x0,a[_0x271eef(0x2c5)]),Ke(0x1,a['Inject'](a[_0x271eef(0x1b7)]))],exports['MemberService']);class si extends a[_0x271eef(0x365)]{constructor(){var _0x373fb6=_0x271eef;super(...arguments),w(this,_0x373fb6(0x39c),new Map());}[_0x271eef(0x270)](){this['_members']['clear']();}[_0x271eef(0x2b9)](_0x16482a){var _0x6e1264=_0x271eef;this[_0x6e1264(0x39c)][_0x6e1264(0x323)](_0x16482a['memberID'],_0x16482a);}[_0x271eef(0x296)](_0x922778){var _0x679dde=_0x271eef;this[_0x679dde(0x39c)][_0x679dde(0x12e)](_0x922778);}[_0x271eef(0x1de)](_0x79d29c){return this['_members']['get'](_0x79d29c);}[_0x271eef(0x1b5)](){var _0xcd48e9=_0x271eef;return Array['from'](this[_0xcd48e9(0x39c)]['values']());}}var oi=Object[_0x271eef(0x1ec)],ai=Object[_0x271eef(0x11b)],ci=(_0x3eadc2,_0x486f21,_0x3637e0,_0x19dbb5)=>{for(var _0x305eb2=_0x19dbb5>0x1?void 0x0:_0x19dbb5?ai(_0x486f21,_0x3637e0):_0x486f21,_0x1c4f7c=_0x3eadc2['length']-0x1,_0x496879;_0x1c4f7c>=0x0;_0x1c4f7c--)(_0x496879=_0x3eadc2[_0x1c4f7c])&&(_0x305eb2=(_0x19dbb5?_0x496879(_0x486f21,_0x3637e0,_0x305eb2):_0x496879(_0x305eb2))||_0x305eb2);return _0x19dbb5&&_0x305eb2&&oi(_0x486f21,_0x3637e0,_0x305eb2),_0x305eb2;},oe=(_0x1497eb,_0x370ff1)=>(_0x2c17b1,_0x12a4d1)=>_0x370ff1(_0x2c17b1,_0x12a4d1,_0x1497eb),se=(_0x4d9c56=>(_0x4d9c56[_0x4d9c56[_0x271eef(0x1a9)]=0x0]=_0x271eef(0x1a9),_0x4d9c56[_0x4d9c56[_0x271eef(0x233)]=0x1]=_0x271eef(0x233),_0x4d9c56[_0x4d9c56[_0x271eef(0x18c)]=0x2]=_0x271eef(0x18c),_0x4d9c56[_0x4d9c56['ONLINE']=0x3]=_0x271eef(0xab),_0x4d9c56))(se||{});const Ye={[he[_0x271eef(0x97)]]:_0x271eef(0x161),[he[_0x271eef(0x179)]]:_0x271eef(0x208),[he['JOIN_ROOM_NOT_EXISTS']]:_0x271eef(0xcd),[he[_0x271eef(0x27d)]]:_0x271eef(0x1ce),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x271eef(0x15b)};exports[_0x271eef(0x1f9)]=class extends a[_0x271eef(0x177)]{constructor(_0x2a9cd8,_0x8db8e7,_0x2bb699,_0x198da3,_0x504a59,_0x355d93,_0x4901cc,_0x1c3664,_0x2c8770){var _0x4e79b3=_0x271eef;super(),w(this,_0x4e79b3(0x2dd),new B[(_0x4e79b3(0x355))](0x0)),w(this,'sessionStatus$',this[_0x4e79b3(0x2dd)][_0x4e79b3(0x2e8)]()),w(this,_0x4e79b3(0x282),new B['Subject']()),w(this,_0x4e79b3(0x38d),this[_0x4e79b3(0x282)]['asObservable']()),w(this,_0x4e79b3(0x28d)),w(this,_0x4e79b3(0xa9)),w(this,_0x4e79b3(0x3d4)),w(this,_0x4e79b3(0x300),!0x1),w(this,_0x4e79b3(0x3b8),null),(this[_0x4e79b3(0x2fa)]=_0x2a9cd8,this[_0x4e79b3(0xc7)]=_0x2bb699,this[_0x4e79b3(0x107)]=_0x198da3,this['_localeService']=_0x504a59,this[_0x4e79b3(0x357)]=_0x355d93,this[_0x4e79b3(0x103)]=_0x4901cc,this[_0x4e79b3(0x72)]=_0x1c3664,this[_0x4e79b3(0x354)]=_0x2c8770,this['_shouldReportTelemetry']=!!this[_0x4e79b3(0x354)],_0x8db8e7[_0x4e79b3(0x17f)](B['takeUntil'](this[_0x4e79b3(0x252)]))[_0x4e79b3(0xea)](_0x8c3cef=>{var _0x2ce232=_0x4e79b3,_0x5cfcec;typeof _0x8c3cef>'u'||(this[_0x2ce232(0x28d)]=_0x8c3cef,_0x8c3cef?(this[_0x2ce232(0x2ab)](_0x8c3cef),this[_0x2ce232(0xa9)]=_0x8c3cef[_0x2ce232(0x199)][_0x2ce232(0xea)](_0xebdc61=>{var _0x48d252=_0x2ce232;_0xebdc61[_0x48d252(0x1fb)]===this[_0x48d252(0x2fa)]&&this[_0x48d252(0x377)](_0xebdc61);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2ce232(0x2dd)][_0x2ce232(0x14f)](0x2),(_0x5cfcec=this[_0x2ce232(0xa9)])==null||_0x5cfcec[_0x2ce232(0x13e)](),this[_0x2ce232(0xa9)]=null));}));}get[_0x271eef(0x197)](){var _0x36af19=_0x271eef;return this[_0x36af19(0x2dd)][_0x36af19(0x2c9)]();}[_0x271eef(0x1e8)](){var _0x274222=_0x271eef,_0x47c6e9,_0x166f05;return(_0x166f05=(_0x47c6e9=this[_0x274222(0x28d)])==null?void 0x0:_0x47c6e9[_0x274222(0x16a)])!=null?_0x166f05:null;}['dispose'](){var _0x1d6d88=_0x271eef;super[_0x1d6d88(0x270)](),this[_0x1d6d88(0x252)][_0x1d6d88(0x14f)](),this[_0x1d6d88(0x252)][_0x1d6d88(0x30a)]();}['close'](){var _0x2416ae=_0x271eef,_0x532dfd,_0x489ccb;this[_0x2416ae(0x32e)](),(_0x532dfd=this[_0x2416ae(0x28d)])==null||_0x532dfd[_0x2416ae(0x17d)]({'cmd':G[_0x2416ae(0x1c6)],'data':{'roomID':this[_0x2416ae(0x2fa)]}}),(_0x489ccb=this[_0x2416ae(0x28d)])==null||_0x489ccb['close'](),this['_event$'][_0x2416ae(0x30a)](),this['_sessionStatus$']['complete'](),this[_0x2416ae(0x270)]();}[_0x271eef(0x377)](_0x1c2134){var _0x1ce206=_0x271eef;_0x1c2134[_0x1ce206(0x36c)]===G[_0x1ce206(0xdd)]?this[_0x1ce206(0x1cb)](_0x1c2134):_0x1c2134[_0x1ce206(0x36c)]===G['RECV']&&this['_onRecvEvent'](_0x1c2134);}[_0x271eef(0x2ab)](_0x257d1a){var _0x6e6f5c=_0x271eef;this[_0x6e6f5c(0x2dd)][_0x6e6f5c(0x14f)](0x1),_0x257d1a[_0x6e6f5c(0x17d)]({'cmd':G[_0x6e6f5c(0xdd)],'routeKey':this[_0x6e6f5c(0x2fa)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x22f994){var _0x42b36e=_0x271eef,_0x5ea309;if(_0x22f994[_0x42b36e(0x338)]in Ye){this[_0x42b36e(0x72)][_0x42b36e(0x327)]({'id':Q[_0x42b36e(0x73)],'data':Ye[_0x22f994[_0x42b36e(0x338)]]}),this[_0x42b36e(0x2dd)][_0x42b36e(0x14f)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x40a81a=(_0x5ea309=_0x22f994[_0x42b36e(0x133)]['roomInfos'][this[_0x42b36e(0x2fa)]])==null?void 0x0:_0x5ea309['members'];_0x40a81a&&_0x40a81a['forEach'](_0x32c6e5=>this[_0x42b36e(0x357)][_0x42b36e(0x2b9)](this[_0x42b36e(0x2fa)],_0x32c6e5));}[_0x271eef(0x1ba)](_0x214751){var _0x10eea0=_0x271eef;try{const _0x29c184=_0x214751[_0x10eea0(0x133)];switch(_0x29c184[_0x10eea0(0x2d8)]){case m[_0x10eea0(0x14c)][_0x10eea0(0x1f1)]:this[_0x10eea0(0x18e)](_0x29c184),this['_event$'][_0x10eea0(0x14f)](_0x29c184);break;case m['CollaborationEvent'][_0x10eea0(0x30d)]:this[_0x10eea0(0x17c)](_0x29c184),this[_0x10eea0(0x282)][_0x10eea0(0x14f)](_0x29c184);break;case m['CollaborationEvent'][_0x10eea0(0x306)]:case m[_0x10eea0(0x14c)][_0x10eea0(0x1c8)]:this[_0x10eea0(0x34d)](),this[_0x10eea0(0x86)](),this[_0x10eea0(0x282)][_0x10eea0(0x14f)](_0x29c184);break;case m['CollaborationEvent'][_0x10eea0(0x2e5)]:this[_0x10eea0(0xc7)][_0x10eea0(0x30b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x10eea0(0x71)](_0x29c184)),this[_0x10eea0(0x282)][_0x10eea0(0x14f)](_0x29c184);break;case m[_0x10eea0(0x14c)][_0x10eea0(0x91)]:this['_commentService']['onCommentUpdate'](_0x29c184[_0x10eea0(0x133)]),this[_0x10eea0(0x282)][_0x10eea0(0x14f)](_0x29c184);break;default:this[_0x10eea0(0x282)][_0x10eea0(0x14f)](_0x29c184);}}catch(_0x30e888){this['_logService'][_0x10eea0(0x30b)](_0x30e888,_0x214751);}}[_0x271eef(0x18e)](_0x405e7a){var _0x3ce96a=_0x271eef;this[_0x3ce96a(0x357)]['updateMember'](this[_0x3ce96a(0x2fa)],_0x405e7a[_0x3ce96a(0x133)]);}['_onUserLeave'](_0x2566b6){var _0xd36cb4=_0x271eef;this[_0xd36cb4(0x357)]['removeMember'](this[_0xd36cb4(0x2fa)],_0x2566b6[_0xd36cb4(0x133)][_0xd36cb4(0x16a)]);}async[_0x271eef(0x17d)](_0x103287,_0x597f38){var _0x193ff4=_0x271eef;if(this[_0x193ff4(0x197)]!==0x3||!this[_0x193ff4(0x28d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x103287['eventID']===m[_0x193ff4(0x14c)]['SUBMIT_CHANGESET']&&(this[_0x193ff4(0x8d)](),this[_0x193ff4(0x2d0)](_0x103287)),this[_0x193ff4(0x28d)]['send']({'cmd':G[_0x193ff4(0x341)],'routeKey':_0x597f38,'routeType':'','data':_0x103287});}catch(_0x2a75bf){this[_0x193ff4(0xc7)]['error'](_0x2a75bf);}}[_0x271eef(0x8d)](){var _0x2ba7ac=_0x271eef,_0xeca61;this[_0x2ba7ac(0x3d4)]=setTimeout(()=>{var _0x34bad1=_0x2ba7ac;this['_collaborationTimeoutTimer']=null,this[_0x34bad1(0x72)][_0x34bad1(0x327)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0xeca61=this[_0x2ba7ac(0x107)][_0x2ba7ac(0x1db)](He))!=null?_0xeca61:gt);}['_clearCollaborationTimeoutTimer'](){var _0xfdda2c=_0x271eef;this[_0xfdda2c(0x3d4)]&&(clearTimeout(this[_0xfdda2c(0x3d4)]),this['_collaborationTimeoutTimer']=null);}[_0x271eef(0x2d0)](_0xb1b61f){var _0x1bb630=_0x271eef;if(!this[_0x1bb630(0x300)])return;const {data:_0x291840}=_0xb1b61f,{unitID:_0x4eb86d,changeset:_0x43368e}=_0x291840,{mutations:_0x5b2638,type:_0x1f0014}=_0x43368e;this[_0x1bb630(0x3b8)]={'unitId':_0x4eb86d,'type':_0x1f0014,'startTime':performance[_0x1bb630(0x24b)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5b2638)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5b9e6f=_0x271eef;if(this[_0x5b9e6f(0x300)]){if(!this[_0x5b9e6f(0x3b8)]){this[_0x5b9e6f(0xc7)]['error'](_0x5b9e6f(0x3a4),_0x5b9e6f(0x198));return;}this['_telemetryInfo'][_0x5b9e6f(0x2ef)]=performance['now'](),this[_0x5b9e6f(0x3b8)][_0x5b9e6f(0x39b)]=this[_0x5b9e6f(0x3b8)][_0x5b9e6f(0x2ef)]-this['_telemetryInfo'][_0x5b9e6f(0x3da)],this['_telemetryService'][_0x5b9e6f(0x38e)](ei,this[_0x5b9e6f(0x3b8)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4efa30=_0x271eef;this[_0x4efa30(0x3b8)]=null;}},exports['CollaborationSession']=ci([oe(0x2,a[_0x271eef(0x84)]),oe(0x3,a[_0x271eef(0x2ec)]),oe(0x4,a[_0x271eef(0x16d)](a[_0x271eef(0x182)])),oe(0x5,a['Inject'](exports[_0x271eef(0x30e)])),oe(0x6,a[_0x271eef(0x16d)](Be)),oe(0x7,a[_0x271eef(0x16d)](te)),oe(0x8,a[_0x271eef(0x367)](xt['ITelemetryService']))],exports['CollaborationSession']);var hi=Object[_0x271eef(0x1ec)],li=Object[_0x271eef(0x11b)],_i=(_0x3522b5,_0x199f8d,_0x115fd9,_0x57efea)=>{var _0x108f8d=_0x271eef;for(var _0x5a9186=_0x57efea>0x1?void 0x0:_0x57efea?li(_0x199f8d,_0x115fd9):_0x199f8d,_0x2ea057=_0x3522b5[_0x108f8d(0x7a)]-0x1,_0x175595;_0x2ea057>=0x0;_0x2ea057--)(_0x175595=_0x3522b5[_0x2ea057])&&(_0x5a9186=(_0x57efea?_0x175595(_0x199f8d,_0x115fd9,_0x5a9186):_0x175595(_0x5a9186))||_0x5a9186);return _0x57efea&&_0x5a9186&&hi(_0x199f8d,_0x115fd9,_0x5a9186),_0x5a9186;},ae=(_0x2b191b,_0x14ebe1)=>(_0x31c14c,_0x236433)=>_0x14ebe1(_0x31c14c,_0x236433,_0x2b191b);function _0x5df3(_0x58d6fa,_0x20006){var _0x1ff9dd=_0x1ff9();return _0x5df3=function(_0x5df39b,_0xafdfb6){_0x5df39b=_0x5df39b-0x6c;var _0x1a3e35=_0x1ff9dd[_0x5df39b];return _0x1a3e35;},_0x5df3(_0x58d6fa,_0x20006);}exports[_0x271eef(0x20f)]=class extends a[_0x271eef(0x365)]{constructor(_0xd86c57,_0x432979,_0xa25d6b,_0x263b8b,_0x5a9ab6,_0x125ddf,_0x4e6140){var _0x4944f1=_0x271eef;super(),w(this,_0x4944f1(0x264),new B['BehaviorSubject'](void 0x0)),w(this,'socket$',this['_socket$'][_0x4944f1(0x2e8)]()),w(this,'_candidateSocket',null),w(this,_0x4944f1(0x1c2),new Map()),w(this,_0x4944f1(0x137),new B[(_0x4944f1(0x355))](se['IDLE'])),w(this,_0x4944f1(0x1b8),this[_0x4944f1(0x137)][_0x4944f1(0x2e8)]()),w(this,'_socketReady',!0x1),w(this,_0x4944f1(0x39f)),w(this,_0x4944f1(0x16c),0x0),w(this,_0x4944f1(0x299)),w(this,_0x4944f1(0x186)),(this[_0x4944f1(0xc4)]=_0xd86c57,this[_0x4944f1(0xc7)]=_0x432979,this[_0x4944f1(0x107)]=_0xa25d6b,this['_socketService']=_0x263b8b,this['_httpService']=_0x5a9ab6,this[_0x4944f1(0x72)]=_0x125ddf,this[_0x4944f1(0x32f)]=_0x4e6140,this[_0x4944f1(0x3a5)]());}get['_socket'](){var _0x5de6db=_0x271eef;return this[_0x5de6db(0x264)]['getValue']();}[_0x271eef(0x3a5)](){var _0x51ce63=_0x271eef;this[_0x51ce63(0x32f)]&&this[_0x51ce63(0x118)](this[_0x51ce63(0x32f)][_0x51ce63(0xd1)][_0x51ce63(0xea)](_0x521905=>{var _0xb20e32=_0x51ce63;_0x521905&&!this['_socket']&&this[_0xb20e32(0x82)](),_0x521905||this['_onOffline']();}));}[_0x271eef(0x270)](){var _0x59eeba=_0x271eef;super['dispose'](),this[_0x59eeba(0x1c2)][_0x59eeba(0x3c3)](_0x28368c=>_0x28368c[_0x59eeba(0x270)]()),this['_sessions'][_0x59eeba(0x1ea)](),this['_status$'][_0x59eeba(0x30a)]();}async[_0x271eef(0x81)](_0x3f788b){var _0x41c7dc=_0x271eef;if(this[_0x41c7dc(0x1c2)][_0x41c7dc(0x371)](_0x3f788b))return this[_0x41c7dc(0x1c2)][_0x41c7dc(0x25f)](_0x3f788b);this[_0x41c7dc(0x3a8)]();const _0x377d0d=this[_0x41c7dc(0xc4)][_0x41c7dc(0x188)](exports[_0x41c7dc(0x1f9)],_0x3f788b,this[_0x41c7dc(0x264)][_0x41c7dc(0x2e8)]());return this[_0x41c7dc(0x1c2)]['set'](_0x3f788b,_0x377d0d),_0x377d0d;}[_0x271eef(0x3cb)](_0x501ea7){var _0x372ea1=_0x271eef,_0x20258a;const _0x25f6b1=this['_sessions']['get'](_0x501ea7);_0x25f6b1&&(this[_0x372ea1(0x1c2)][_0x372ea1(0x12e)](_0x501ea7),_0x25f6b1[_0x372ea1(0x381)]()),this['_sessions'][_0x372ea1(0x398)]||(_0x20258a=this[_0x372ea1(0x28d)])==null||_0x20258a['close']();}[_0x271eef(0x82)](){var _0x2901d5=_0x271eef;this[_0x2901d5(0x16c)]=0x0,this[_0x2901d5(0x39f)]!=null&&(clearTimeout(this[_0x2901d5(0x39f)]),this[_0x2901d5(0x39f)]=null),this[_0x2901d5(0xaf)]();}async[_0x271eef(0xe7)](){var _0x293c0b=_0x271eef,_0x1b0b35,_0x5e8b2f,_0x52ec8d;const _0x42af07=this[_0x293c0b(0x107)][_0x293c0b(0x1db)](q),_0x356009=(_0x1b0b35=_0x42af07==null?void 0x0:_0x42af07[_0x293c0b(0x2cc)])!=null?_0x1b0b35:Bt;return(_0x52ec8d=(_0x5e8b2f=(await this[_0x293c0b(0x78)][_0x293c0b(0x25f)](_0x356009,{'headers':{'Content-Type':'application/json'}}))[_0x293c0b(0x26e)])==null?void 0x0:_0x5e8b2f[_0x293c0b(0x76)])!=null?_0x52ec8d:'';}[_0x271eef(0x1c4)](_0x5771c6){var _0x35e517=_0x271eef,_0x468386,_0x108fdb;const _0x5786c1=this[_0x35e517(0x107)]['getConfig'](ft),_0x44850c=this[_0x35e517(0x107)][_0x35e517(0x1db)](q),_0x2142e5=(_0x108fdb=(_0x468386=_0x44850c==null?void 0x0:_0x44850c[_0x35e517(0x87)])!=null?_0x468386:_0x5786c1)!=null?_0x108fdb:St,_0x42af1f=typeof window>'u'?new URL(_0x2142e5):new URL(_0x2142e5,window[_0x35e517(0x12f)][_0x35e517(0x173)]);return _0x42af1f['searchParams']['set']('sessionTicket',_0x5771c6),_0x42af1f[_0x35e517(0x39a)]();}async[_0x271eef(0x2cb)](){var _0x552400=_0x271eef;const _0x285aa1=await this[_0x552400(0xe7)](),_0x50cd8f=this[_0x552400(0x1c4)](_0x285aa1),_0x257f4e=this['_socketService'][_0x552400(0x2b3)](_0x50cd8f);return this['_candidateSocket']=_0x257f4e,_0x257f4e;}async[_0x271eef(0x3a8)](){var _0x22fcf2=_0x271eef,_0x29db7f,_0x22daa8;try{const _0x2e937d=(_0x22daa8=(_0x29db7f=this[_0x22fcf2(0x28d)])!=null?_0x29db7f:this['_candidateSocket'])!=null?_0x22daa8:await this['_createSocket']();if(_0x2e937d){const _0x5bf9a0=_0x2e937d['send'];_0x2e937d[_0x22fcf2(0x17d)]=_0x252314=>(this[_0x22fcf2(0x187)](),_0x5bf9a0[_0x22fcf2(0x2be)](_0x2e937d,[_0x252314])),_0x2e937d[_0x22fcf2(0x199)]['subscribe'](_0xd2c204=>this['_onMessage'](_0x2e937d,_0xd2c204)),_0x2e937d[_0x22fcf2(0x8a)][_0x22fcf2(0x17f)](V[_0x22fcf2(0x303)](0x1))['subscribe'](_0x48bb45=>this['_logService'][_0x22fcf2(0x30b)](_0x22fcf2(0x200),_0x48bb45)),_0x2e937d[_0x22fcf2(0x382)][_0x22fcf2(0x17f)](V[_0x22fcf2(0x303)](0x1))[_0x22fcf2(0xea)](()=>{var _0x47ce2f=_0x22fcf2;this[_0x47ce2f(0x2ad)](_0x2e937d);}),_0x2e937d[_0x22fcf2(0xec)][_0x22fcf2(0x17f)](V[_0x22fcf2(0x303)](0x1))['subscribe'](_0x51a0d5=>{var _0x2f1e41=_0x22fcf2;this['_logService'][_0x2f1e41(0x20d)](_0x2f1e41(0x361),_0x2f1e41(0xa4),_0x51a0d5),this[_0x2f1e41(0x104)]();});}}catch(_0x448e7a){this[_0x22fcf2(0xc7)][_0x22fcf2(0x30b)](_0x448e7a),this[_0x22fcf2(0x104)]();}}[_0x271eef(0x2ad)](_0x30c7e2){var _0x54e8eb=_0x271eef;this[_0x54e8eb(0xc7)][_0x54e8eb(0x20d)](_0x54e8eb(0x361),_0x54e8eb(0x26f)),_0x30c7e2[_0x54e8eb(0x17d)]({'cmd':G[_0x54e8eb(0x2e7)]}),this[_0x54e8eb(0x187)]();}[_0x271eef(0x2bf)](){var _0x5d355a=_0x271eef;this[_0x5d355a(0x205)]=!0x1,this[_0x5d355a(0x2ee)]=null,this[_0x5d355a(0x137)][_0x5d355a(0x14f)](se[_0x5d355a(0x18c)]),this[_0x5d355a(0x264)]['next'](null),this[_0x5d355a(0x12c)](),this['_clearHeartbeatTimer']();}[_0x271eef(0x104)](){var _0x3083f8=_0x271eef,_0x408a03;this[_0x3083f8(0x2bf)](),this[_0x3083f8(0x16c)]<((_0x408a03=this['_configService'][_0x3083f8(0x1db)](mt))!=null?_0x408a03:Vt)?(this[_0x3083f8(0x72)][_0x3083f8(0x327)]({'id':Q[_0x3083f8(0x2ca)]}),this[_0x3083f8(0xaf)]()):this['_collaborationUIEventService'][_0x3083f8(0x327)]({'id':Q['SOCKET_FAILED']});}[_0x271eef(0xaf)](){var _0x46ec68=_0x271eef,_0x32fa7b;const _0x5117cb=this[_0x46ec68(0x16c)],_0x391440=this[_0x46ec68(0x107)][_0x46ec68(0x1db)](q),_0x30b8d7=_0x5117cb===0x0?0x0:((_0x32fa7b=_0x391440==null?void 0x0:_0x391440[_0x46ec68(0x37a)])!=null?_0x32fa7b:Wt)*0x2**_0x5117cb;this[_0x46ec68(0x39f)]=setTimeout(()=>{var _0x51eef5=_0x46ec68;clearTimeout(this[_0x51eef5(0x39f)]),this[_0x51eef5(0x39f)]=null,this[_0x51eef5(0x3a8)]();},_0x30b8d7),this[_0x46ec68(0x16c)]+=0x1;}[_0x271eef(0x22b)](_0x464fe3,_0x1fe951){var _0x4896e1=_0x271eef;const {cmd:_0x5c8237}=_0x1fe951;_0x5c8237===G[_0x4896e1(0x2e7)]&&!this[_0x4896e1(0x205)]&&(_0x464fe3['memberID']=_0x1fe951[_0x4896e1(0x133)][_0x4896e1(0x16a)],this[_0x4896e1(0x264)]['next'](_0x464fe3),this['_status$'][_0x4896e1(0x14f)](se[_0x4896e1(0xab)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x5c8237===G['HEARTBEAT']&&this[_0x4896e1(0x12c)](),this[_0x4896e1(0x187)]();}[_0x271eef(0x187)](){var _0x5bcedd=_0x271eef,_0x935882;this[_0x5bcedd(0xde)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x935882=this['_configService']['getConfig'](pt))!=null?_0x935882:Ft);}[_0x271eef(0x1bb)](){var _0x1de460=_0x271eef;this[_0x1de460(0x28d)][_0x1de460(0x17d)]({'cmd':G['HEARTBEAT']}),this[_0x1de460(0x147)]();}[_0x271eef(0x147)](){var _0x3e5b3b=_0x271eef,_0x3f89f5;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x3f89f5=this[_0x3e5b3b(0x107)][_0x3e5b3b(0x1db)](He))!=null?_0x3f89f5:gt);}[_0x271eef(0xde)](){var _0x2bda65=_0x271eef;this[_0x2bda65(0x299)]!=null&&(clearTimeout(this[_0x2bda65(0x299)]),this[_0x2bda65(0x299)]=null);}['_clearTimeoutTimer'](){var _0x3dc6bb=_0x271eef;this[_0x3dc6bb(0x186)]!=null&&(clearTimeout(this[_0x3dc6bb(0x186)]),this[_0x3dc6bb(0x186)]=null);}},exports[_0x271eef(0x20f)]=_i([ae(0x0,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),ae(0x1,a[_0x271eef(0x84)]),ae(0x2,a[_0x271eef(0x2ec)]),ae(0x3,ke),ae(0x4,a[_0x271eef(0x16d)](z['HTTPService'])),ae(0x5,a[_0x271eef(0x16d)](te)),ae(0x6,a[_0x271eef(0x367)](bt))],exports[_0x271eef(0x20f)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x271eef(0xeb)]((r+0x100)[_0x271eef(0x39a)](0x10)[_0x271eef(0x1d8)](0x1));function ui(_0x2098ab,_0x11299e=0x0){var _0x45a286=_0x271eef;return(K[_0x2098ab[_0x11299e+0x0]]+K[_0x2098ab[_0x11299e+0x1]]+K[_0x2098ab[_0x11299e+0x2]]+K[_0x2098ab[_0x11299e+0x3]]+'-'+K[_0x2098ab[_0x11299e+0x4]]+K[_0x2098ab[_0x11299e+0x5]]+'-'+K[_0x2098ab[_0x11299e+0x6]]+K[_0x2098ab[_0x11299e+0x7]]+'-'+K[_0x2098ab[_0x11299e+0x8]]+K[_0x2098ab[_0x11299e+0x9]]+'-'+K[_0x2098ab[_0x11299e+0xa]]+K[_0x2098ab[_0x11299e+0xb]]+K[_0x2098ab[_0x11299e+0xc]]+K[_0x2098ab[_0x11299e+0xd]]+K[_0x2098ab[_0x11299e+0xe]]+K[_0x2098ab[_0x11299e+0xf]])[_0x45a286(0x28a)]();}let Ue;const di=new Uint8Array(0x10);function vi(){var _0x24e0c7=_0x271eef;if(!Ue){if(typeof crypto>'u'||!crypto[_0x24e0c7(0x2a1)])throw new Error(_0x24e0c7(0x35b));Ue=crypto[_0x24e0c7(0x2a1)][_0x24e0c7(0x1e1)](crypto);}return Ue(di);}const fi=typeof crypto<'u'&&crypto[_0x271eef(0x31b)]&&crypto[_0x271eef(0x31b)][_0x271eef(0x1e1)](crypto),qe={'randomUUID':fi};function Si(_0x2038da,_0x47815e,_0x14b1ee){var _0x4189c0=_0x271eef;if(qe[_0x4189c0(0x31b)]&&!_0x47815e&&!_0x2038da)return qe[_0x4189c0(0x31b)]();_0x2038da=_0x2038da||{};const _0x3b1e6a=_0x2038da['random']||(_0x2038da[_0x4189c0(0xf7)]||vi)();return _0x3b1e6a[0x6]=_0x3b1e6a[0x6]&0xf|0x40,_0x3b1e6a[0x8]=_0x3b1e6a[0x8]&0x3f|0x80,ui(_0x3b1e6a);}const J=a[_0x271eef(0x3b0)]('collaboration-client.local-cache-service');function pi(_0x19860d){return'unit-cache-'+_0x19860d;}var gi=Object[_0x271eef(0x1ec)],mi=Object[_0x271eef(0x11b)],Ii=(_0x102164,_0x594615,_0x1c9ef3,_0x1f93e5)=>{var _0x1f8e65=_0x271eef;for(var _0x3e6927=_0x1f93e5>0x1?void 0x0:_0x1f93e5?mi(_0x594615,_0x1c9ef3):_0x594615,_0x400b6a=_0x102164[_0x1f8e65(0x7a)]-0x1,_0xcff557;_0x400b6a>=0x0;_0x400b6a--)(_0xcff557=_0x102164[_0x400b6a])&&(_0x3e6927=(_0x1f93e5?_0xcff557(_0x594615,_0x1c9ef3,_0x3e6927):_0xcff557(_0x3e6927))||_0x3e6927);return _0x1f93e5&&_0x3e6927&&gi(_0x594615,_0x1c9ef3,_0x3e6927),_0x3e6927;},Ne=(_0x32f202,_0x1d7cee)=>(_0x19ebed,_0x597349)=>_0x1d7cee(_0x19ebed,_0x597349,_0x32f202);function Ei(_0x1e4d47){var _0x369dcc=_0x271eef;const {unitID:_0x34796f,mutations:_0x560d4a}=_0x1e4d47;return{'unitId':_0x34796f,'subUnitId':_0x560d4a[0x0]['params'][_0x369dcc(0x332)]};}function _0x1ff9(){var _0x283087=['[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationSessionService','AwaitingWithPendingState','_getCtorByUniverType','concatMap','baseProtectionActions','POST','onStarting','_getRedoStack','subject','\x0aCurrent:\x20','buffer','/role','revision','touchDependencies','roles','CHANGESET_REJ','m2Prime','EvpKDF','HmacSHA1','COLLAB_WEB_SOCKET_URL','transformSelections','socketService','UNIVER_PROJECT','?url=','LICENSE_EXPORT_SIZE_EXCEEDED','JOIN_ROOM_NOT_EXISTS','_doReset','DEFAULT_COLLAB_WEB_SOCKET_URL','_onMessage','function','_initCloseConn','selections','permissionRejEvent','subType','SheetCollaborationEntity','_DEC_XFORM_MODE','JOINING','toggleOnline','DataLoaderService','/-/object/-/batch_allowed','_keyPriorReset','RichTextEditingMutation','CHANGESET_REVISION_CONFILICT','getPermissionPoint','salt','updatePermissionPoint','IMentionIOService','LIVESHARE_NEW_HOST','UniverCollaborationPlugin','url','objectActions','awaiting','/resources','LOCAL_CACHE_INTERVAL','_prevBlock','HttpImport','Undefined','getAllWorksheetPermissionPoint','_doCryptBlock','@univerjs/sheets','now','_resendTimer','UnitSnapshot','AwaitingState','_minBufferSize','list','onlyLocal','dispose$','unitID','/fetchmissing?from=','OfflineState','getCurrentRevOfUnit','actions','isTransformMutationsWithChangesetFailure','CLOSE_ROOM','_cipher','createCollaborator','getFocusedUnit','_singleActiveUnitService','PENDING','get','lib','NEW_CHANGESETS','saveImage','getInterceptPoints','_socket$','Could\x20not\x20dynamically\x20require\x20\x22','ERROR_IMAGE','COMPRESS_MUTATION_SEND','userID','action','HEARTBEAT_INTERVAL','isTransformMutationsWithChangesetSuccess','loginUrlKey','SnapshotService','body','socket\x20open.','dispose','_loadSheet','fromCharCode','Pkcs7','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SheetsSelectionsService','fetching\x20missing\x20changesets\x20from\x20','parse','SetSelectionsOperation','_initUnitPermissionChange','sin','ISnapshotServerService','key','JOIN_ROOM_PERMISSION_DENIED','_change$','execute','CommandType','_submitChangeset','_event$','IImageIoService','_getAPIPrefix','Univer','_nDataBytes','SNAPSHOT_INVALID_SNAPSHOT','_incrementRevisionNumber','_clearRedo','toLowerCase','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/universer-api/comb','_socket','_eventService','rev','HttpExport','fetchMiss','_getUndoStack','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','charAt','removeMember','collabSubmitChangesetUrl','$super','_sendHeartbeatTimer','1564461fwSUUB','mergeOverrideWithDependencies','Module','submit\x20changeset\x20error!','InsertSheetMutation','sessionStatus$','ICommandService','getRandomValues','APPLY_NON_SEQUENTIAL_REVISION','_substituteRedoStack','[CollaborationUndoRedoService]','UniverNetworkPlugin','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createInitialState','_resendWithTimeout','SUCCUSS','[SyncedState]:\x20received\x20acknowledgement.','_joinRoom','rxjs','_onConnectionOpen','_initDependencies','collaboration_new_changeset','CollaborationImageIoService','toStringTag','APPLY_DUPLICATED','createSocket','takeUntil','offline','value','leaveEvent','_loadDoc','updateMember','ivSize','delay','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_userManagerService','apply','_onOffline','initWorkbookPermissionChange','_replayCachedMutations','SNAPSHOT_SERVER_URL_KEY','onTransformRemoteChangesetByStateCache','LICENSE_DISTRO_REJECTED','IUniverInstanceService','compose','min','UnitStatus','getValue','SOCKET_FAILED_RETRY','_createSocket','wsSessionTicketUrl','createEncryptor','fetch_missing','ISingleActiveUnitService','_startTelemetryCollaborationNewChangeset','algo','CollaborationSocketService','Quantity','_process','Subject','Hasher','getImage','eventID','newCsEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','b64DecodeUnicode','Injector','_sessionStatus$','getDeserializedSheetBlock','_iv','href','_localCacheService','splice','LIVESHARE_FETCH_OPERATIONS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','MSG_FOR_ERROR','listCollaborators','HELLO','asObservable','onLocalMutation','/universer-api/stream/file/upload','unitId\x20is\x20not\x20found','IConfigService','_unlockTransition','_candidateSocket','stopTime','append','_resendTimeout','charCodeAt','SheetTransformSelectionsService','CommentService','_xformMode','FileId','[FetchMissState]','_doProcessBlock','image/jpg','_unitID','_replaceFileID','pad','2166432jgIYep','CONNECTOR_DATA_TOO_LARGE','_HTTPService','_shouldReportTelemetry','listRoles','9643520KHArHZ','take','resolve','_createHelper','CHANGESET_ACK','registerHTTPInterceptor','getTime','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','complete','error','onSyncEditingCollabCursor','USERS_LEAVE','MemberService','_compressMutationService','_hasher','generateRandomId','_applyRemoteChangeset','toggleOffline','_iKey','sid','getTypeOfUnitAdded$','ERROR_IMAGE_TYPE','__esModule','keySize','loadOfflineData','randomUUID','getCollabEntity$','UNRECOGNIZED','joinRsp','IContextService','Cipher','CipherParams','SyncedState','set','Latin1','enc','commentUpdate$','emitEvent','putCollaborators','_entityInit$','_substituteUndoStack','_handler','map','People','_throwTelemetryCollaborationNewChangeset','_networkConditionService','SNAPSHOT_HAS_BEEN_REMOVED','sendChangesetTimeout','subUnitId','_handlerCallback','OTHER_CLIENT_EDITING','createDecryptor','_unitInfo$','StreamCipher','code','joinEvent','encode','floor','headers','_acknowledgedAwaitingChangeset','CollaborationUIEventId','getUnitType','_getAPIPrefixPath','INGEST','decrypt','DependentOn','LICENSE_MAX_UNITS_EXCEEDED','unpad','6czAGiC','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','merge','registerDependencies','OTHER_CLIENTS_EDITING','mixIn','SHOULD_CLOSE_CONN','_stopTelemetryCollaborationNewChangeset','/unit/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_decreaseWaiting','UNIVER_DOC','_changesetReqId','/object','_telemetryService','BehaviorSubject','getImageSourceCache','_memberService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_mode','responseType','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AUTHZ_URL_KEY','ITransformService','_updateState','_getDownloadEndpointURL','_changesetSessionId','[CollaborationSessionService]','processBlock','_checkMissing','2330756NMMtME','Disposable','_doFinalize','Optional','FetchingMissState','equals','mapDocumentTypeToUniverType','csShouldRetryEvent','cmd','UniverCollaborationClientPlugin','isArray','HEARTBEAT','_state','has','csAckEvent','_sender','_updateStatus','crypto','@univerjs/drawing','_onCombEvent','_getUploadFileURL','FETCH_MISSING','retryConnectingInterval','saveSnapshot','LocalUndoRedoService','[OfflineState]:\x20received\x20changeset.','/object/','transformMutationsWithChangeset','byteOffset','close','open$','src','_clearUndo','executeCommand','isPermissionRej','_collabSessionService','SessionStatus','deleteCollaborator','awaiting_with_pending','_collaborationSessionService','Tools','event$','capture','getTargetByPermissionId','downloadEndpointUrl','setCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','onMissedChangesetFetched','_sendingTimer','editingUnit','UNKNOWN_CMD','indexOf','size','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','toString','duration','_members','synced','_isPermissionRej','_retryConnectingTimer','not_collab','CollaborationEntity','Utf8','WorksheetProtectionPointModel','[CollaborationSession]','_listenToNetworkCondition','_lockTransition','authzUrl','_tryEnsureSocket','_keySchedule','WordArray','ICollaborationSocketService','c2Prime','onCommentUpdate','CONFLICT','replace','createIdentifier','textRanges','_init','_entities','/universer-api/authz','MentionIoHttpService','WorksheetProtectionRuleModel','liveShareOperation','_telemetryInfo','exports','getCollabEntity','UnitObject','APPLY_PERMISSION_DENIED','symbol','[OfflineState]:\x20received\x20acknowledgement.','pauseCollaboration','mutations','getLocalCacheKey','updateOfflineData','forEach','_disableEditing','enableSingleActiveInstanceLock','reverse','_nRounds','msCrypto','onMissingChangesets','onRemoteRej','closeSession','_toggleOnline','_updateLocalCache','string','Encryptor','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','\x0aAfter:\x20','_fetchMissChangesets','Workbook','_collaborationTimeoutTimer','parseChangesetToProtocol','PERMISSION_DENIED','getResourcesRequest','target','default','startTime','_waitCount','kdf','_revisionService','\x20in\x20_schedule.','auth.needGotoLoginAlert','collaboratorID','985020fntnEB','pluginName','onTransformIME','LOCAL_CACHE_INTERVAL_KEY','stringify','_collaborationUIEventService','JOIN_ROOM_FAILED','&assign=','LIVESHARE_OPERATION','ticket','transformChangesets','_httpService','avatar','length','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_type','[PendingState]:\x20received\x20acknowledgement.','1969440GYJHbI','reduce','range','requireSession','reconnect','name','ILogService','_executeRemoteChangeset','_clearCollaborationTimeoutTimer','collabWebSocketUrl','UNIVER_SHEET','ciphertext','error$','entityInit$','max','_scheduleCollaborationTimeoutTimer','_onRemoteChangeset','baseRev','prototype','COMMENT_UPDATE','/block/','_transformIMECache','_onFetchMissResult','CollaborativeUndoRedoService','_config','FAIL','clearUndoRedo','title','SEND_CHANGESET_TIMEOUT_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getCurrentUnitForType','MD5','/universer-api/snapshot/','format','focused$','NoPadding','UNIVER_SLIDE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','socket\x20close','HEARTBEAT_TIMEOUT','getCurrentUser','method','find','_socketMessageSubscription','{fileID}','ONLINE','fetchThroughInterceptors','_createHmacHelper','signUrlServerUrl','_tryReconnect','_undoRedoService','univer-pro.collaboration-client.network-condition.service','SOCKET_FAILED','onRemoteAck','UNKNOWN_CODE','onStateChange','_imageSourceCache','ruleRefresh','&source=','includes','finalize','every','_parse','INVALID_ARGUMENT','_remoteChangesetQueue','_commandService','editing\x20status\x20changed\x20to','RECV','objectType','COLLAB_SUBMIT_CHANGESET_URL_KEY','_injector','?size=','/universer-api/file/{fileID}/sign-url','_logService','saveChangeset','AWAITING_WITH_PENDING','setShowComponents','updateCursorEvent','defaultWorksheetPermissionPoint','session.room-not-exists','fromCollab','UNDEFINED','_univerInstanceService','online$','post','hostname','APPLY_REVISION_CONFILICT','_clearScheduledTask','ERROR_EXCEED_SIZE','_map','ThresholdInterceptorFactory','getUnitId','addHandlerCallback','pending','defaultWorkbookPermissionPoints','JOIN','_clearHeartbeatTimer','Decryptor','CollaborationUIEventService','transformUndoRedo','deserializeToCombResponse','_collaborationPaused','onCommandExecuted','_createHandler','SUBMIT_CHANGESET','_getSessionTicket','_snapshotService','allowed','subscribe','push','close$','_onRemoteACK','compute','_onRemoteRejected','_transformService','failed\x20to\x20apply\x20missed\x20changesets!','image/bmp','_scheduleTimestamp','_getSendChangesetTimeout','[UniverCollaborationClientPlugin]','_awaitingChangeset','rng','image/png','[DataLoaderService]','mode','toDisposable','/collaborator','CollaborationController','TOO_MANY_REQUESTS','objectID','Base64','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_http','_commentService','_onConnectionFailed','_commentUpdate$','getTypeOfUnitDisposed$','_configService','_transitionLocked','_getCurrentRevision','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearLocalCache','AES','_instanceService','getActiveSheet','objects','UnitEmbedded','onSendChangeset','HTTPService','4UgRWws','change$','RETRY_CONNECTING_MAX_COUNT','_localeService','LOGIN_URL_KEY','disposeWithMe','UPDATE_CURSOR','PendingState','getOwnPropertyDescriptor','enableOfflineEditing','[SyncedState]:\x20received\x20rejection.','FETCH_MISS','snapshot','add','unitId','getAllWorkbookPermissionPoint','collaborators','random','_transformUndoredo','_permissionService','withCredentials','getRoom','incrementRevOfUnit','MUTATION','init','_clearTimeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','delete','location','7ipelkJ','onTransformRemoteChangesetByIMECache','type','data','readAsDataURL','setConfig','fetchMissingChangesets','_status$','collaMsg','conflict','blockSize','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs/operators','state$','unsubscribe','_initMergeInterceptor','isInternalEditorID','_removeRoom','copyFileMeta','\x20-\x20','LIVESHARE_REQUEST_HOST','@univerjs-pro/license','state','_waitForHeartbeatResponse','readyForCollab','onTransformState','create','localCacheService','CollaborationEvent','IPermissionService','SnapshotServerOverHTTPService','next','MentionType','batchAllowed','hasher','HEARTBEAT_TIMEOUT_KEY','getSnapshotAPIPath','session','ConflictState','_initRequestHeader','WorkbookEditablePermission','onRemoteChangeset','ILocalCacheService','session.room-cnt-exceeds','getGlobalObject','_transformStack','BufferedBlockAlgorithm','words','onTransformSelections','session.join-failed','onRemoteRetry','onload','padding','RangeProtectionRuleModel','isTransformChangesetsSuccess','HMAC','GLOBAL_ROOMS_CNT_EXCEEDS','cfg','memberID','updateCollaborator','_retryCount','Inject','AuthzIoHttpService','filter','localeService','_ENC_XFORM_MODE','_onConflict','origin','CompressMutationService','__creator','patch','RxDisposable','DocCollaborationEntity','JOIN_ROOM_FULL','abs','NOT_FOUND','_onUserLeave','send','requestParams','pipe','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','LocaleService','call','YUUMI_SUBSCRIPTION_NOT_FOUND','_startCollaboration','_timeoutTimer','_rescheduleHeartbeat','createInstance','ImageUploadStatusType','workbook','extend','OFFLINE','/-/object/list','_onUserJoin','_append','RevisionService','x-univer-host','join','reject','[CollaborationState]:\x20apply\x20error!','_reverseMap','SNAPSHOT_URL_KEY','sessionStatus','telemetry\x20info\x20is\x20not\x20initialized','message$','changesets','ImageSourceType','Malformed\x20UTF-8\x20data','parseProtocolChangeset','LIVESHARE_TERMINATE','reset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','status','DisposableCollection','_transformSelections','reqId','appendMutation','_createInitialStateImpl','encodeURIComponent','OpenSSL','IDLE','DEFAULT_FILE_NAME','INTERNAL_ERROR','PSEUDO_FETCH_MISSING_RESULT','hasOwnProperty','MergeInterceptorFactory','CBC','randomBytes','then','unknown','PERSON','_registerDependencies','getAllMembers','_authzIoService','UserManagerService','status$','concat','_onRecvEvent','_sendHeartbeat','update','Base','_redoStacks','@univerjs/network','originalMeta','_transformStateCache','_sessions','ENSURE_SNAPSHOT_EXECUTION','_createSocketURL','interceptor','LEAVE','/allowed','CHANGESET_SHOULD_RETRY','getAllWorksheetPermissionPointByPointPanel','c1Prime','_onJoinRoomEvent','_data','_getSignURL','session.room-permission-denied','snapshotServerUrl','_queuedRemoteChangesets','IUndoRedoService','params','_transformRemoteChangesetByIMECache','SHA1','630263wWIohn','UNAUTHENTICATED','loadDoc','slice','[PendingState]:\x20unhandled\x20univer\x20type:\x20','resend','getConfig','_state$','_exhaustRemoteChangesetQueue','getMember','_onRemoteRetry','UniverInstanceType','bind','_roomMembers','getSheetId','clone','_sheetTransformSelectionsService','_schedule','_pendingMutations','getMemberID','COMPRESS_MUTATION_APPLY','clear','saveSheetBlock','defineProperty','YUUMI_UNABLE_LOAD_URL','sigBytes','clamp','_invKeySchedule','USERS_ENTER','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','EmptyMutation','BlockCipher','YUUMI_RATE_OVER_LIMIT','/universer-api/user/session-ticket','SelectRange','shouldCloseConn','CollaborationSession','INetworkConditionService','routeKey','JSONX','BASE64','_onLocalMutation','put','[CollaborationSessionService]:\x20socket\x20error','_showConflictNotification','_transformRemoteChangesetByStateCache','substr','_oKey','_socketReady','_snapshotServerService','_hash','session.room-full','PERMISSION_REJ','awaitingChangeset','enableAuthServer','connection\x20error','debug'];_0x1ff9=function(){return _0x283087;};return _0x1ff9();}exports['SheetTransformSelectionsService']=class{constructor(_0x320ac2,_0x4e9282,_0x3faf6c){var _0x3fe3e4=_0x271eef;this[_0x3fe3e4(0xc4)]=_0x320ac2,this[_0x3fe3e4(0xf0)]=_0x4e9282,this[_0x3fe3e4(0x10d)]=_0x3faf6c;}[_0x271eef(0x223)](_0x41dd34){var _0x1d4a28=_0x271eef,_0x164af6,_0x470cb7,_0x174596,_0x103270;const _0x35f2c4=this[_0x1d4a28(0xc4)][_0x1d4a28(0x25f)](W[_0x1d4a28(0x275)]),{unitId:_0x1eb99a,subUnitId:_0x4ea0cf}=Ei(_0x41dd34),_0x3660af=_0x35f2c4==null?void 0x0:_0x35f2c4['getWorkbookSelections'](_0x1eb99a)['getCurrentSelections'](),_0x585089=(_0x470cb7=(_0x164af6=this[_0x1d4a28(0x10d)]['getUnit'](_0x1eb99a))==null?void 0x0:_0x164af6[_0x1d4a28(0x10e)]())==null?void 0x0:_0x470cb7[_0x1d4a28(0x1e3)]();if(_0x3660af[_0x1d4a28(0x7a)]===0x0||!_0x1eb99a||!_0x4ea0cf)return;const _0x10a434=[{'id':W['SetSelectionsOperation']['id'],'params':{'unitId':_0x1eb99a,'subUnitId':_0x585089,'selections':a[_0x1d4a28(0x38c)]['deepClone'](_0x3660af)}}],_0x1ad318=this[_0x1d4a28(0xf0)][_0x1d4a28(0x37f)](_0x41dd34,_0x10a434);if(!m['isTransformMutationsWithChangesetSuccess'](_0x1ad318))throw _0x1ad318['error'];const _0x59e90b=(_0x103270=(_0x174596=_0x1ad318[_0x1d4a28(0x21f)][0x0])==null?void 0x0:_0x174596[_0x1d4a28(0x1d2)])==null?void 0x0:_0x103270[_0x1d4a28(0x22e)];if(Array[_0x1d4a28(0x36e)](_0x59e90b)&&_0x59e90b[_0x1d4a28(0x7a)]){if(_0x59e90b[_0x1d4a28(0x7a)]===_0x10a434[0x0][_0x1d4a28(0x1d2)][_0x1d4a28(0x22e)][_0x1d4a28(0x7a)]&&_0x59e90b[_0x1d4a28(0xbb)]((_0x312683,_0x4dab0a)=>a['Rectangle'][_0x1d4a28(0x369)](_0x312683[_0x1d4a28(0x80)],_0x10a434[0x0][_0x1d4a28(0x1d2)]['selections'][_0x4dab0a][_0x1d4a28(0x80)])))return;this[_0x1d4a28(0xc4)][_0x1d4a28(0x25f)](a['ICommandService'])['executeCommand'](W[_0x1d4a28(0x278)]['id'],{'unitId':_0x1eb99a,'subUnitId':_0x585089,'selections':_0x59e90b});}}},exports[_0x271eef(0x2f3)]=Ii([Ne(0x0,a[_0x271eef(0x16d)](a['Injector'])),Ne(0x1,m[_0x271eef(0x35d)]),Ne(0x2,a['IUniverInstanceService'])],exports[_0x271eef(0x2f3)]);const ve=a[_0x271eef(0x3b0)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x39c2fb=>(_0x39c2fb[_0x39c2fb['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x39c2fb[_0x39c2fb[_0x271eef(0x34a)]=0x1]=_0x271eef(0x34a),_0x39c2fb))(Fe||{});const Ci=new Set([W[_0x271eef(0x29e)]['id']]);function ze(_0x5afe09,_0x3b8030,_0x2336c1,_0x180421,_0x25cb45){var _0x248faf=_0x271eef,_0x4787c2,_0x1afbb1,_0x4108e6,_0x455357;const _0x506daf=[];for(const _0x11a2b5 of _0x5afe09)if(Ci[_0x248faf(0x371)](_0x11a2b5['id'])){if(_0x506daf[_0x248faf(0x7a)]>0x0)break;_0x506daf['push'](_0x11a2b5);break;}else _0x506daf['push'](_0x11a2b5);const _0x391b3d=(_0x1afbb1=(_0x4787c2=_0x25cb45['getCurrentUser']())==null?void 0x0:_0x4787c2[_0x248faf(0x268)])!=null?_0x1afbb1:_0x248faf(0x1b2),_0x5185b6=(_0x455357=(_0x4108e6=_0x25cb45[_0x248faf(0xa6)]())==null?void 0x0:_0x4108e6['memberID'])!=null?_0x455357:_0x248faf(0x1b2);return{'changeset':{'unitID':_0x3b8030,'type':m[_0x248faf(0x36a)](_0x2336c1[_0x248faf(0x33f)](_0x3b8030)),'baseRev':_0x180421[_0x248faf(0x256)](_0x3b8030),'revision':0x0,'userID':_0x391b3d,'memberID':_0x5185b6,'mutations':_0x506daf},'pendingMutations':_0x5afe09[_0x248faf(0x1d8)](_0x506daf['length'])};}function Ti(_0x139487,_0xc50741,_0x3ef361,_0x47e34f,_0x10889e){var _0x206d65=_0x271eef,_0x41e5e1,_0x583b1a,_0x4eec67,_0x1f1a67;const _0x4c3900=[_0x139487[_0x206d65(0x7f)]((_0x472954,_0x4f4040)=>{var _0x372a95=_0x206d65,_0x20c9ab;const {id:_0x1547d3}=_0x472954,{id:_0x4126c7,type:_0x4bab1d}=_0x4f4040,_0x13d3f6=(_0x20c9ab=_0x472954['params'])!=null?_0x20c9ab:{'actions':null},_0x7d5ec6=_0x4f4040['params'];if(_0x1547d3&&_0x1547d3!==_0x4126c7)throw new Error(_0x372a95(0x309)+_0x1547d3+_0x372a95(0x143)+_0x4126c7+'.');return{..._0x472954,'id':_0x4126c7,'type':_0x4bab1d,'params':{'unitId':_0x7d5ec6[_0x372a95(0x121)],'textRanges':_0x7d5ec6[_0x372a95(0x3b1)],'actions':a[_0x372a95(0x1fc)][_0x372a95(0x2c6)](_0x13d3f6[_0x372a95(0x257)],_0x7d5ec6[_0x372a95(0x257)])}};},{})],_0x39da54=(_0x583b1a=(_0x41e5e1=_0x10889e[_0x206d65(0xa6)]())==null?void 0x0:_0x41e5e1['userID'])!=null?_0x583b1a:_0x206d65(0x1b2),_0x5763e5=(_0x1f1a67=(_0x4eec67=_0x10889e[_0x206d65(0xa6)]())==null?void 0x0:_0x4eec67[_0x206d65(0x16a)])!=null?_0x1f1a67:_0x206d65(0x1b2);return{'changeset':{'unitID':_0xc50741,'type':m[_0x206d65(0x36a)](_0x3ef361[_0x206d65(0x33f)](_0xc50741)),'baseRev':_0x47e34f[_0x206d65(0x256)](_0xc50741),'revision':0x0,'userID':_0x39da54,'memberID':_0x5763e5,'mutations':_0x4c3900},'pendingMutations':[]};}function Ot(_0x59b8ef,_0x9cd37f){var _0x319427=_0x271eef;const _0xa7a3cd=new B['ReplaySubject'](0x1);return setTimeout(()=>_0xa7a3cd['next'](_0x9cd37f),_0x59b8ef),_0xa7a3cd[_0x319427(0x2e8)]()[_0x319427(0x17f)](B['take'](0x1));}const bi={'id':W[_0x271eef(0x1f3)]['id'],'type':a[_0x271eef(0x280)][_0x271eef(0x12a)],'params':{}};var Ri=Object[_0x271eef(0x1ec)],yi=Object[_0x271eef(0x11b)],le=(_0x488db9,_0x5d10aa,_0x4f92f6,_0x3bc16b)=>{var _0x4a0283=_0x271eef;for(var _0x566f16=_0x3bc16b>0x1?void 0x0:_0x3bc16b?yi(_0x5d10aa,_0x4f92f6):_0x5d10aa,_0x390680=_0x488db9[_0x4a0283(0x7a)]-0x1,_0x265b91;_0x390680>=0x0;_0x390680--)(_0x265b91=_0x488db9[_0x390680])&&(_0x566f16=(_0x3bc16b?_0x265b91(_0x5d10aa,_0x4f92f6,_0x566f16):_0x265b91(_0x566f16))||_0x566f16);return _0x3bc16b&&_0x566f16&&Ri(_0x5d10aa,_0x4f92f6,_0x566f16),_0x566f16;},A=(_0x549417,_0x1cbc84)=>(_0x51c724,_0x33a3fa)=>_0x1cbc84(_0x51c724,_0x33a3fa,_0x549417),We=(_0x146c7b=>(_0x146c7b['NOT_COLLAB']=_0x271eef(0x3a0),_0x146c7b['SYNCED']=_0x271eef(0x39d),_0x146c7b[_0x271eef(0x25e)]=_0x271eef(0xdb),_0x146c7b['AWAITING']=_0x271eef(0x242),_0x146c7b[_0x271eef(0xc9)]=_0x271eef(0x38a),_0x146c7b[_0x271eef(0x11e)]=_0x271eef(0x2ce),_0x146c7b[_0x271eef(0x3ae)]=_0x271eef(0x139),_0x146c7b[_0x271eef(0x18c)]=_0x271eef(0x2b5),_0x146c7b))(We||{});const Pt=0xea60;class _e{constructor(_0x4c1994,_0x895f41,_0x2144c3,_0x5d7d27,_0x547a7c,_0x4fb6e6,_0xcd7a4b,_0x510cfd,_0x674c2d){var _0x38eb9c=_0x271eef;w(this,_0x38eb9c(0xf6),null),w(this,'_pendingMutations',[]),(this[_0x38eb9c(0x253)]=_0x4c1994,this['type']=_0x895f41,this[_0x38eb9c(0x32b)]=_0x547a7c,this[_0x38eb9c(0xbf)]=_0x4fb6e6,this[_0x38eb9c(0xb0)]=_0xcd7a4b,this[_0x38eb9c(0x3dd)]=_0x510cfd,this[_0x38eb9c(0x2e1)]=_0x674c2d,this['_awaitingChangeset']=_0x2144c3,this[_0x38eb9c(0x1e7)]=_0x5d7d27);}[_0x271eef(0x363)](_0x25355b){var _0x58669e=_0x271eef;const _0x3d0dfa=this[_0x58669e(0x3dd)][_0x58669e(0x256)](this[_0x58669e(0x253)]);return _0x25355b[_0x58669e(0x21b)]>_0x3d0dfa+0x1?(this[_0x58669e(0x32b)][_0x58669e(0x3c9)]({'from':_0x3d0dfa,'to':_0x25355b[_0x58669e(0x21b)]-0x1}),!0x0):!0x1;}[_0x271eef(0x125)](_0x2ab6dc){var _0x38a531=_0x271eef;this[_0x38a531(0xb0)]['transformUndoRedo'](this[_0x38a531(0x253)],_0x2ab6dc);}[_0x271eef(0x1a3)](_0x1fb1bd){var _0x11cdc5=_0x271eef,_0x23f226,_0x25d35b;(_0x25d35b=(_0x23f226=this[_0x11cdc5(0x32b)])['onTransformSelections'])==null||_0x25d35b['call'](_0x23f226,_0x1fb1bd);}['_transformIMECache'](_0x18add9){var _0x1b253c=_0x271eef,_0x527129,_0x5e33f9;return(_0x5e33f9=(_0x527129=this[_0x1b253c(0x32b)])[_0x1b253c(0x6f)])==null?void 0x0:_0x5e33f9[_0x1b253c(0x183)](_0x527129,_0x18add9);}['_transformStateCache'](_0x129cfd){var _0x2a8731=_0x271eef,_0x50bd92,_0x45c448;return(_0x45c448=(_0x50bd92=this['_handler'])[_0x2a8731(0x149)])==null?void 0x0:_0x45c448[_0x2a8731(0x183)](_0x50bd92,_0x129cfd);}[_0x271eef(0x1d3)](_0x12dfab){var _0x10309f=_0x271eef,_0x3de36e,_0x4108e4,_0x5cdd19;return(_0x5cdd19=(_0x4108e4=(_0x3de36e=this[_0x10309f(0x32b)])[_0x10309f(0x131)])==null?void 0x0:_0x4108e4[_0x10309f(0x183)](_0x3de36e,_0x12dfab))!=null?_0x5cdd19:_0x12dfab;}['_transformRemoteChangesetByStateCache'](_0x30a803){var _0x3dcb33=_0x271eef,_0x4d6489,_0x5caf61,_0x25875d;return(_0x25875d=(_0x5caf61=(_0x4d6489=this['_handler'])[_0x3dcb33(0x2c3)])==null?void 0x0:_0x5caf61['call'](_0x4d6489,_0x30a803))!=null?_0x25875d:_0x30a803;}['_syncEditingCollabCursor'](_0x153679){var _0xae5770=_0x271eef,_0x380c70,_0x2c31b9;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x40016b,mutations:_0x3c2e6c,memberID:_0xb0aa0e}=_0x153679,_0x1433d6=_0x3c2e6c[0x0][_0xae5770(0x1d2)]['textRanges'];Array[_0xae5770(0x36e)](_0x1433d6)&&_0x1433d6['length']>0x0&&((_0x2c31b9=(_0x380c70=this[_0xae5770(0x32b)])[_0xae5770(0x30c)])==null||_0x2c31b9[_0xae5770(0x183)](_0x380c70,{'unitID':_0x40016b,'memberID':_0xb0aa0e,'textRanges':_0x1433d6}));}}[_0x271eef(0x3cd)](){var _0x173c14=_0x271eef,_0x23fb79;(_0x23fb79=this[_0x173c14(0x2e1)])==null||_0x23fb79[_0x173c14(0x3c2)](this['unitID'],this[_0x173c14(0x132)],this[_0x173c14(0xf6)],this[_0x173c14(0x1e7)]);}[_0x271eef(0x109)](){var _0x3f196f=_0x271eef;return this['_revisionService'][_0x3f196f(0x256)](this[_0x3f196f(0x253)]);}[_0x271eef(0x288)](){var _0x7f2654=_0x271eef;this[_0x7f2654(0x3dd)][_0x7f2654(0x129)](this[_0x7f2654(0x253)]);}[_0x271eef(0x85)](_0x5cf7a1){var _0x68347f=_0x271eef,_0x1ddb0e;let _0x576a97=this[_0x68347f(0x1d3)](_0x5cf7a1);_0x576a97=this[_0x68347f(0x202)](_0x576a97);const _0x155ea4=a['sequenceExecute'](_0x576a97[_0x68347f(0x3c0)],this[_0x68347f(0xbf)],{'fromCollab':!0x0});if(!_0x155ea4['result'])throw _0x155ea4[_0x68347f(0x30b)]instanceof Error?_0x155ea4[_0x68347f(0x30b)]:new Error((_0x1ddb0e=_0x155ea4[_0x68347f(0x30b)])!=null?_0x1ddb0e:_0x68347f(0x194));this[_0x68347f(0x93)](_0x576a97),this[_0x68347f(0x1c1)](_0x576a97),this[_0x68347f(0x125)](_0x5cf7a1),this[_0x68347f(0x1a3)](_0x576a97),this['_syncEditingCollabCursor'](_0x576a97),this[_0x68347f(0x288)]();}}exports['SyncedState']=class extends _e{constructor(_0x479f90,_0x155b0c,_0x28aca3,_0x3ee498,_0x209b20,_0xc5a327,_0x4171a5,_0x35b883,_0x20db58,_0x137471){var _0x9900f3=_0x271eef;super(_0x479f90,_0x155b0c,null,[],_0x28aca3,_0x4171a5,_0xc5a327,_0x3ee498,_0x137471),w(this,_0x9900f3(0x1a1),'synced'),(this[_0x9900f3(0xc4)]=_0x209b20,this[_0x9900f3(0xc7)]=_0x35b883,this[_0x9900f3(0xf0)]=_0x20db58,this['localCacheService']=_0x137471);}[_0x271eef(0x1a5)](_0x3d015b){var _0x20f4cf=_0x271eef;const _0x246b34=this['_injector'][_0x20f4cf(0x188)](exports[_0x20f4cf(0x11a)],this['unitID'],this[_0x20f4cf(0x132)],[_0x3d015b],this[_0x20f4cf(0x32b)]);return _0x246b34[_0x20f4cf(0x1e6)](),_0x246b34[_0x20f4cf(0x3cd)](),_0x246b34;}[_0x271eef(0x159)](_0x1b64ba){var _0x4fac20=_0x271eef;if(this['_checkMissing'](_0x1b64ba))return this[_0x4fac20(0xc4)][_0x4fac20(0x188)](exports['FetchingMissState'],this[_0x4fac20(0x253)],this[_0x4fac20(0x132)],null,[],null,[_0x1b64ba],this[_0x4fac20(0x32b)]);try{const _0xa4bedb=this['_transformService'][_0x4fac20(0x37f)](_0x1b64ba,[bi]);if(m['isTransformMutationsWithChangesetSuccess'](_0xa4bedb)){const {c1Prime:_0x3b3958}=_0xa4bedb;return this[_0x4fac20(0x85)](_0x3b3958),this;}throw _0xa4bedb[_0x4fac20(0x30b)];}catch(_0x45721d){return this[_0x4fac20(0xc7)][_0x4fac20(0x30b)](_0x45721d),this[_0x4fac20(0x172)](!0x1);}}[_0x271eef(0x172)](_0x1a5089){var _0x4b77e0=_0x271eef;return this[_0x4b77e0(0xc4)][_0x4b77e0(0x188)](exports['ConflictState'],this['unitID'],this['type'],null,[],this[_0x4b77e0(0x32b)],_0x1a5089);}[_0x271eef(0xb3)](){var _0x33989a=_0x271eef;throw new Error(_0x33989a(0x2aa));}[_0x271eef(0x3ca)](){var _0x166bca=_0x271eef;throw new Error(_0x166bca(0x11d));}[_0x271eef(0x162)](){return this;}['toggleOffline'](){var _0x1fe16e=_0x271eef;return this[_0x1fe16e(0xc4)]['createInstance'](exports['OfflineState'],this[_0x1fe16e(0x253)],this[_0x1fe16e(0x132)],null,[],this[_0x1fe16e(0x32b)]);}[_0x271eef(0x234)](){return this;}[_0x271eef(0x1da)](){var _0x407eff=_0x271eef;throw new Error(_0x407eff(0x2a6));}['fetchMiss'](){var _0x30da9e=_0x271eef;const _0x2037f7=this[_0x30da9e(0x3dd)]['getCurrentRevOfUnit'](this[_0x30da9e(0x253)]);return this['_handler'][_0x30da9e(0x3c9)]({'from':_0x2037f7,'to':0x0}),this[_0x30da9e(0xc4)][_0x30da9e(0x188)](exports[_0x30da9e(0x368)],this[_0x30da9e(0x253)],this[_0x30da9e(0x132)],null,[],null,[],this[_0x30da9e(0x32b)]);}},exports[_0x271eef(0x322)]=le([A(0x3,a['Inject'](m[_0x271eef(0x190)])),A(0x4,a[_0x271eef(0x16d)](a['Injector'])),A(0x5,a['IUndoRedoService']),A(0x6,a[_0x271eef(0x2a0)]),A(0x7,a[_0x271eef(0x84)]),A(0x8,m[_0x271eef(0x35d)]),A(0x9,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x322)]),exports[_0x271eef(0x11a)]=class extends _e{constructor(_0x56bc98,_0x5bd004,_0x54ff49,_0x31a511,_0x1e799f,_0x2b777c,_0x371abe,_0x316093,_0x574647,_0x1a40e5,_0x5d6678,_0x2c9bdb,_0x11d414,_0xc0d5ea){var _0x1e5561=_0x271eef;super(_0x56bc98,_0x5bd004,null,_0x54ff49,_0x31a511,_0x574647,_0x11d414,_0x2b777c,_0xc0d5ea),w(this,_0x1e5561(0x1a1),_0x1e5561(0xdb)),w(this,_0x1e5561(0xf3),null),w(this,'_sendingTimer',null),(this[_0x1e5561(0xc4)]=_0x1e799f,this[_0x1e5561(0x357)]=_0x371abe,this['_logService']=_0x316093,this[_0x1e5561(0x107)]=_0x1a40e5,this[_0x1e5561(0xf0)]=_0x5d6678,this['_univerInstanceService']=_0x2c9bdb);}[_0x271eef(0x1a5)](_0x15c79e){var _0x28ba07=_0x271eef;return this[_0x28ba07(0x1e7)]['push'](_0x15c79e),this['_updateLocalCache'](),this;}[_0x271eef(0x159)](_0x74322e){var _0x58b1ea=_0x271eef;if(this[_0x58b1ea(0x363)](_0x74322e))return this[_0x58b1ea(0xd5)](),this[_0x58b1ea(0xc4)]['createInstance'](exports[_0x58b1ea(0x368)],this[_0x58b1ea(0x253)],this['type'],null,this['_pendingMutations'],null,[_0x74322e],this['_handler']);try{const _0x2e12c8=this[_0x58b1ea(0xf0)]['transformMutationsWithChangeset'](_0x74322e,this[_0x58b1ea(0x1e7)]);if(m[_0x58b1ea(0x26b)](_0x2e12c8)){const {c1Prime:_0x1c674d,m2Prime:_0x587d22}=_0x2e12c8;this[_0x58b1ea(0x85)](_0x1c674d);const _0x2fb412=this[_0x58b1ea(0xc4)][_0x58b1ea(0x188)](exports[_0x58b1ea(0x11a)],this[_0x58b1ea(0x253)],this['type'],_0x587d22,this[_0x58b1ea(0x32b)]);return this['_clearScheduledTask'](),_0x2fb412[_0x58b1ea(0x1e6)](this[_0x58b1ea(0xf3)]?Math[_0x58b1ea(0x8c)](0x0,new Date()[_0x58b1ea(0x308)]()-this[_0x58b1ea(0xf3)]):this[_0x58b1ea(0xf4)]()),_0x2fb412;}throw _0x2e12c8[_0x58b1ea(0x30b)];}catch(_0x507be5){return this['_logService'][_0x58b1ea(0x30b)](_0x507be5),this[_0x58b1ea(0x172)](!0x1);}}[_0x271eef(0xb3)](){var _0x256e60=_0x271eef;throw new Error(_0x256e60(0x7d));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x271eef(0x162)](){return this;}[_0x271eef(0x313)](){var _0x3b090a=_0x271eef;return this[_0x3b090a(0xd5)](),this['_injector']['createInstance'](exports[_0x3b090a(0x255)],this[_0x3b090a(0x253)],this[_0x3b090a(0x132)],null,this[_0x3b090a(0x1e7)],this['_handler']);}[_0x271eef(0x234)](){return this;}[_0x271eef(0x1e6)](_0x3924c1){var _0x367569=_0x271eef;const _0x33fedd=_0x3924c1!=null?_0x3924c1:this[_0x367569(0xf4)]();this[_0x367569(0xf3)]=new Date()[_0x367569(0x308)](),this[_0x367569(0x394)]=setTimeout(()=>{var _0x594583=_0x367569;this[_0x594583(0xd5)]();let _0x568ce5=null;switch(this[_0x594583(0x132)]){case Z[_0x594583(0x88)]:{_0x568ce5=ze(this[_0x594583(0x1e7)],this[_0x594583(0x253)],this['_univerInstanceService'],this[_0x594583(0x3dd)],this[_0x594583(0x357)]);break;}case Z[_0x594583(0x351)]:{this[_0x594583(0x1e7)][_0x594583(0xbb)](_0x2128c1=>_0x2128c1['id']===ut[_0x594583(0x238)]['id'])?_0x568ce5=Ti(this[_0x594583(0x1e7)],this[_0x594583(0x253)],this[_0x594583(0xd0)],this['_revisionService'],this['_memberService']):_0x568ce5=ze(this[_0x594583(0x1e7)],this['unitID'],this[_0x594583(0xd0)],this['_revisionService'],this[_0x594583(0x357)]);break;}default:throw new Error(_0x594583(0x1d9)+this[_0x594583(0x132)]+_0x594583(0x3de));}const {changeset:_0x45169b,pendingMutations:_0x33abb8}=_0x568ce5;this[_0x594583(0x32b)][_0x594583(0x111)](_0x45169b);const _0x592cbd=_0x33abb8[_0x594583(0x7a)]?this['_injector']['createInstance'](exports[_0x594583(0x210)],this[_0x594583(0x253)],this['type'],_0x45169b,_0x33abb8,this[_0x594583(0x32b)],void 0x0):this[_0x594583(0xc4)]['createInstance'](exports[_0x594583(0x24e)],this[_0x594583(0x253)],this[_0x594583(0x132)],_0x45169b,this['_handler']);_0x592cbd['_updateLocalCache'](),this[_0x594583(0x32b)][_0x594583(0xb5)](this,_0x592cbd);},_0x33fedd);}['_getSendChangesetTimeout'](){var _0x38cc64=_0x271eef,_0x5587eb;const _0x3590a8=this[_0x38cc64(0x107)][_0x38cc64(0x1db)](q);return(_0x5587eb=_0x3590a8==null?void 0x0:_0x3590a8[_0x38cc64(0x331)])!=null?_0x5587eb:kt;}[_0x271eef(0x1da)](){var _0x48e1b0=_0x271eef;throw new Error(_0x48e1b0(0x180));}[_0x271eef(0xd5)](){var _0x31e55d=_0x271eef;this[_0x31e55d(0x394)]!=null&&(clearTimeout(this[_0x31e55d(0x394)]),this[_0x31e55d(0x394)]=null);}[_0x271eef(0x172)](_0x4e081b){var _0x13d5c5=_0x271eef;return this[_0x13d5c5(0xd5)](),this['_injector'][_0x13d5c5(0x188)](exports[_0x13d5c5(0x156)],this[_0x13d5c5(0x253)],this[_0x13d5c5(0x132)],null,this[_0x13d5c5(0x1e7)],this[_0x13d5c5(0x32b)],_0x4e081b);}},exports[_0x271eef(0x11a)]=le([A(0x4,a['Inject'](a[_0x271eef(0x2dc)])),A(0x5,a[_0x271eef(0x16d)](m[_0x271eef(0x190)])),A(0x6,a[_0x271eef(0x16d)](exports[_0x271eef(0x30e)])),A(0x7,a[_0x271eef(0x84)]),A(0x8,a[_0x271eef(0x2a0)]),A(0x9,a[_0x271eef(0x2ec)]),A(0xa,m['ITransformService']),A(0xb,a[_0x271eef(0x2c5)]),A(0xc,a[_0x271eef(0x1d1)]),A(0xd,a[_0x271eef(0x367)](J))],exports['PendingState']),exports['AwaitingState']=class extends _e{constructor(_0x439d16,_0x108161,_0x539295,_0x4f43f0,_0x14cf97,_0x4b7c3f,_0x500859,_0xe93a70,_0x120a70,_0x5a2a91,_0x456ad6){var _0x14a4fe=_0x271eef;super(_0x439d16,_0x108161,_0x539295,[],_0x4f43f0,_0x500859,_0x5a2a91,_0x4b7c3f,_0x456ad6),w(this,_0x14a4fe(0x1a1),_0x14a4fe(0x242)),w(this,_0x14a4fe(0x2f1),0x0),w(this,_0x14a4fe(0x24c)),w(this,'_sender'),(this['_injector']=_0x14cf97,this['_logService']=_0xe93a70,this[_0x14a4fe(0xf0)]=_0x120a70);}[_0x271eef(0x1a5)](_0x31018f){var _0xe84bb3=_0x271eef;this[_0xe84bb3(0xd5)]();const _0x56ea09=this[_0xe84bb3(0xc4)]['createInstance'](exports[_0xe84bb3(0x210)],this[_0xe84bb3(0x253)],this[_0xe84bb3(0x132)],this[_0xe84bb3(0xf6)],[_0x31018f],this[_0xe84bb3(0x32b)],this[_0xe84bb3(0x24c)]);return _0x56ea09[_0xe84bb3(0x3cd)](),_0x56ea09;}[_0x271eef(0x159)](_0x59e43a){var _0x57c81d=_0x271eef;if(this[_0x57c81d(0x363)](_0x59e43a))return this[_0x57c81d(0xd5)](),this['_injector'][_0x57c81d(0x188)](exports[_0x57c81d(0x368)],this[_0x57c81d(0x253)],this['type'],this[_0x57c81d(0xf6)],[],null,[_0x59e43a],this[_0x57c81d(0x32b)]);try{const _0x3f50ad=this[_0x57c81d(0xf0)]['transformChangesets']([_0x59e43a],[this[_0x57c81d(0xf6)]],!0x1);if(m[_0x57c81d(0x166)](_0x3f50ad)){const {c1Prime:_0x21525,c2Prime:_0x4e7cb4}=_0x3f50ad;this['_executeRemoteChangeset'](_0x21525[0x0]),_0x4e7cb4[0x0][_0x57c81d(0x8f)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x107f5c=this[_0x57c81d(0xc4)][_0x57c81d(0x188)](exports[_0x57c81d(0x24e)],this[_0x57c81d(0x253)],this[_0x57c81d(0x132)],_0x4e7cb4[0x0],this[_0x57c81d(0x32b)]);return _0x107f5c[_0x57c81d(0x3cd)](),_0x107f5c;}return this['_onConflict'](!0x1);}catch(_0x415d6d){return this[_0x57c81d(0xc7)][_0x57c81d(0x30b)](_0x415d6d),this[_0x57c81d(0x172)](!0x1);}}[_0x271eef(0xb3)](_0x44046b){var _0x21218e=_0x271eef;this[_0x21218e(0xd5)]();const _0x417a0c=this['_revisionService'][_0x21218e(0x256)](this[_0x21218e(0x253)]);if(_0x44046b[_0x21218e(0x21b)]<_0x417a0c-0x1)return this;if(this[_0x21218e(0x363)](_0x44046b))return this[_0x21218e(0xc4)][_0x21218e(0x188)](exports[_0x21218e(0x368)],this[_0x21218e(0x253)],this[_0x21218e(0x132)],null,[],this[_0x21218e(0xf6)],[],this[_0x21218e(0x32b)]);this[_0x21218e(0x288)]();const _0x5679e8=this[_0x21218e(0xc4)]['createInstance'](exports[_0x21218e(0x322)],this[_0x21218e(0x253)],this[_0x21218e(0x132)],this[_0x21218e(0x32b)]);return _0x5679e8[_0x21218e(0x3cd)](),_0x5679e8;}[_0x271eef(0x3ca)](_0xd773f0){var _0x8a9e50=_0x271eef;return this[_0x8a9e50(0x172)](!!(_0xd773f0!=null&&_0xd773f0['isPermissionRej']));}[_0x271eef(0x162)](_0x2f9e57){var _0x4b3220=_0x271eef;return this[_0x4b3220(0x2f1)]>Pt?this[_0x4b3220(0x313)]():(this[_0x4b3220(0x24c)]=Ot(this[_0x4b3220(0x2f1)],{'timeout':this[_0x4b3220(0x2f1)],'reqId':_0x2f9e57[_0x4b3220(0x1a4)]}),this[_0x4b3220(0x373)]=this[_0x4b3220(0x24c)][_0x4b3220(0xea)](({reqId:_0x2396ac,timeout:_0x4c01a9})=>{var _0x15ea00=_0x4b3220;this[_0x15ea00(0x2a8)](_0x2396ac,_0x4c01a9);}),this);}[_0x271eef(0x313)](){var _0x3ffd74=_0x271eef;return this['_clearScheduledTask'](),this['_injector'][_0x3ffd74(0x188)](exports[_0x3ffd74(0x255)],this['unitID'],this[_0x3ffd74(0x132)],this['_awaitingChangeset'],[],this['_handler']);}[_0x271eef(0x234)](){return this;}[_0x271eef(0x1da)](){var _0x52fa06=_0x271eef;this[_0x52fa06(0x32b)][_0x52fa06(0x111)](this[_0x52fa06(0xf6)]);}['_onConflict'](_0x161c4d){var _0x30bdfd=_0x271eef;return this[_0x30bdfd(0xd5)](),this[_0x30bdfd(0xc4)][_0x30bdfd(0x188)](exports[_0x30bdfd(0x156)],this[_0x30bdfd(0x253)],this['type'],this[_0x30bdfd(0xf6)],[],this[_0x30bdfd(0x32b)],_0x161c4d);}[_0x271eef(0x2a8)](_0x42cb43,_0x52a2e7){var _0x5d0f40=_0x271eef,_0x33a5da;_0x42cb43===((_0x33a5da=this[_0x5d0f40(0xf6)])==null?void 0x0:_0x33a5da['reqId'])&&(this[_0x5d0f40(0x1da)](),this[_0x5d0f40(0x2f1)]=_0x52a2e7===0x0?0x3e8:_0x52a2e7*0x2);}['_clearScheduledTask'](){var _0x2e3ec8=_0x271eef,_0x2ce7b1;(_0x2ce7b1=this['_sender'])==null||_0x2ce7b1[_0x2e3ec8(0x13e)](),this[_0x2e3ec8(0x2f1)]=0x0;}},exports[_0x271eef(0x24e)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x271eef(0x16d)](m[_0x271eef(0x190)])),A(0x6,a[_0x271eef(0x2a0)]),A(0x7,a['ILogService']),A(0x8,m[_0x271eef(0x35d)]),A(0x9,a['IUndoRedoService']),A(0xa,a['Optional'](J))],exports[_0x271eef(0x24e)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x6c57c3,_0x57fad0,_0x2de8eb,_0x5e490f,_0x2eb114,_0x18b240,_0x59ab58,_0x5e30df,_0x202587,_0x8ed8f8,_0x2ac015,_0x25227f,_0x241562){var _0x3246de=_0x271eef;super(_0x6c57c3,_0x57fad0,_0x2de8eb,_0x5e490f,_0x2eb114,_0x202587,_0x25227f,_0x5e30df,_0x241562),w(this,_0x3246de(0x1a1),_0x3246de(0x38a)),w(this,_0x3246de(0x2f1),0x0),w(this,_0x3246de(0x24c)),w(this,_0x3246de(0x373)),(this[_0x3246de(0xc4)]=_0x59ab58,this['_logService']=_0x8ed8f8,this[_0x3246de(0xf0)]=_0x2ac015,this['localCacheService']=_0x241562,_0x18b240&&(this[_0x3246de(0x24c)]=_0x18b240,this[_0x3246de(0x373)]=this['_resendTimer'][_0x3246de(0xea)](({reqId:_0x56e281,timeout:_0x10aeeb})=>{var _0x4f63b4=_0x3246de;this[_0x4f63b4(0x2a8)](_0x56e281,_0x10aeeb);})));}[_0x271eef(0x1a5)](_0x2897b9){var _0x3c8333=_0x271eef;return this[_0x3c8333(0x1e7)][_0x3c8333(0xeb)](_0x2897b9),this;}[_0x271eef(0x159)](_0x41991a){var _0x500877=_0x271eef;if(this[_0x500877(0x363)](_0x41991a))return this['_clearScheduledTask'](),this[_0x500877(0xc4)][_0x500877(0x188)](exports[_0x500877(0x368)],this[_0x500877(0x253)],this[_0x500877(0x132)],this[_0x500877(0xf6)],this['_pendingMutations'],null,[_0x41991a],this[_0x500877(0x32b)]);try{const _0x5101ca=this['_transformService'][_0x500877(0x77)]([_0x41991a],[this[_0x500877(0xf6)]],!0x1);if(m[_0x500877(0x166)](_0x5101ca)){const {c1Prime:_0x50234b,c2Prime:_0x29362d}=_0x5101ca,_0x5cec31=this[_0x500877(0xf0)][_0x500877(0x37f)](_0x50234b[0x0],this[_0x500877(0x1e7)]);if(m[_0x500877(0x26b)](_0x5cec31)){const {c1Prime:_0x4b04bd,m2Prime:_0x7fc50c}=_0x5cec31;return this[_0x500877(0x85)](_0x4b04bd),_0x29362d[0x0][_0x500877(0x8f)]=this[_0x500877(0x109)](),this['_clearScheduledTask'](),this[_0x500877(0xc4)]['createInstance'](exports[_0x500877(0x210)],this['unitID'],this['type'],_0x29362d[0x0],_0x7fc50c,this[_0x500877(0x32b)],void 0x0);}throw _0x5cec31[_0x500877(0x30b)];}throw _0x5101ca[_0x500877(0x30b)];}catch(_0x49c477){return this[_0x500877(0xc7)][_0x500877(0x30b)](_0x49c477),this[_0x500877(0x172)](!0x1);}}[_0x271eef(0xb3)](_0x5563c5){var _0x20129d=_0x271eef;if(this[_0x20129d(0xd5)](),this[_0x20129d(0x363)](_0x5563c5))return this['_injector'][_0x20129d(0x188)](exports[_0x20129d(0x368)],this['unitID'],this[_0x20129d(0x132)],null,this[_0x20129d(0x1e7)],this[_0x20129d(0xf6)],[],this[_0x20129d(0x32b)]);this[_0x20129d(0x288)]();const _0x577dca=this[_0x20129d(0xc4)][_0x20129d(0x188)](exports[_0x20129d(0x11a)],this[_0x20129d(0x253)],this[_0x20129d(0x132)],this[_0x20129d(0x1e7)],this[_0x20129d(0x32b)]);return _0x577dca[_0x20129d(0x1e6)](),_0x577dca[_0x20129d(0x3cd)](),_0x577dca;}[_0x271eef(0x3ca)](_0x4e3c16){var _0x5f23e7=_0x271eef;return this[_0x5f23e7(0x172)](!!(_0x4e3c16!=null&&_0x4e3c16['isPermissionRej']));}[_0x271eef(0x162)](_0x3df71c){var _0x45b38e=_0x271eef;return this['_resendTimeout']>Pt?this[_0x45b38e(0x313)]():(this['_resendTimer']=Ot(this[_0x45b38e(0x2f1)],{'timeout':this[_0x45b38e(0x2f1)],'reqId':_0x3df71c['reqId']}),this[_0x45b38e(0x373)]=this[_0x45b38e(0x24c)][_0x45b38e(0xea)](({reqId:_0x378a99,timeout:_0x4c9e84})=>{this['_resendWithTimeout'](_0x378a99,_0x4c9e84);}),this);}[_0x271eef(0x313)](){var _0x3ebb61=_0x271eef;return this['_clearScheduledTask'](),this[_0x3ebb61(0xc4)]['createInstance'](exports[_0x3ebb61(0x255)],this[_0x3ebb61(0x253)],this[_0x3ebb61(0x132)],this[_0x3ebb61(0xf6)],this['_pendingMutations'],this['_handler']);}[_0x271eef(0x234)](){return this;}[_0x271eef(0x1da)](){var _0x314300=_0x271eef;this[_0x314300(0x32b)][_0x314300(0x111)](this[_0x314300(0xf6)]);}[_0x271eef(0x172)](_0x554c4e){var _0xc172e9=_0x271eef;return this[_0xc172e9(0xd5)](),this['_injector'][_0xc172e9(0x188)](exports['ConflictState'],this[_0xc172e9(0x253)],this[_0xc172e9(0x132)],null,this[_0xc172e9(0x1e7)],this[_0xc172e9(0x32b)],_0x554c4e);}[_0x271eef(0x2a8)](_0x3b6ec1,_0x3f30b7){var _0x4ec984=_0x271eef,_0x14458e;_0x3b6ec1===((_0x14458e=this[_0x4ec984(0xf6)])==null?void 0x0:_0x14458e[_0x4ec984(0x1a4)])&&(this[_0x4ec984(0x1da)](),this[_0x4ec984(0x2f1)]=_0x3f30b7===0x0?0x3e8:_0x3f30b7*0x2);}[_0x271eef(0xd5)](){var _0x520c7f=_0x271eef,_0xa2dd31;(_0xa2dd31=this[_0x520c7f(0x373)])==null||_0xa2dd31[_0x520c7f(0x13e)](),this[_0x520c7f(0x2f1)]=0x0;}},exports[_0x271eef(0x210)]=le([A(0x6,a['Inject'](a[_0x271eef(0x2dc)])),A(0x7,a['Inject'](m[_0x271eef(0x190)])),A(0x8,a[_0x271eef(0x2a0)]),A(0x9,a[_0x271eef(0x84)]),A(0xa,m[_0x271eef(0x35d)]),A(0xb,a[_0x271eef(0x1d1)]),A(0xc,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x210)]),exports[_0x271eef(0x156)]=class extends _e{constructor(_0x184506,_0x21ae6a,_0x2c96f1,_0x3df77b,_0x3a7390,_0x538834=!0x1,_0x3ab145,_0x2949f1,_0x1abef8,_0x3e2ded,_0xd83f41,_0x408d35,_0x35d52d){var _0x5ed5ff=_0x271eef;super(_0x184506,_0x21ae6a,_0x2c96f1,_0x3df77b,_0x3a7390,_0x2949f1,_0x1abef8,_0x3e2ded,_0x35d52d),w(this,_0x5ed5ff(0x1a1),_0x5ed5ff(0x139)),(this[_0x5ed5ff(0x39e)]=_0x538834,this[_0x5ed5ff(0x126)]=_0x3ab145,this['_localeService']=_0xd83f41,this['_collaborationUIEventService']=_0x408d35,this[_0x5ed5ff(0x14b)]=_0x35d52d,this[_0x5ed5ff(0x201)](),this[_0x5ed5ff(0x10b)](),this[_0x5ed5ff(0x3c4)]());}[_0x271eef(0x1a5)](){return this;}[_0x271eef(0x159)](){return this;}[_0x271eef(0xb3)](){return this;}[_0x271eef(0x3ca)](){return this;}[_0x271eef(0x162)](){return this;}[_0x271eef(0x313)](){return this;}['toggleOnline'](){return this;}[_0x271eef(0x1da)](){var _0x4f0a42=_0x271eef;throw new Error(_0x4f0a42(0x20e));}['_clearLocalCache'](){var _0x1e20d8=_0x271eef,_0x7aa493;(_0x7aa493=this['_localCacheService'])==null||_0x7aa493[_0x1e20d8(0x3c2)](this[_0x1e20d8(0x253)],this['type'],null,[]);}[_0x271eef(0x201)](){var _0x283e88=_0x271eef;this[_0x283e88(0x39e)]?this[_0x283e88(0x72)][_0x283e88(0x327)]({'id':Q['PERMISSION_DENIED']}):this[_0x283e88(0x72)]['emitEvent']({'id':Q[_0x283e88(0x3ae)]});}[_0x271eef(0x3c4)](){var _0x42fec8=_0x271eef;this[_0x42fec8(0x126)][_0x42fec8(0x23c)](new W['WorkbookEditablePermission'](this[_0x42fec8(0x253)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a['Inject'](a[_0x271eef(0x14d)])),A(0x7,a[_0x271eef(0x2a0)]),A(0x8,a[_0x271eef(0x1d1)]),A(0x9,a[_0x271eef(0x16d)](m[_0x271eef(0x190)])),A(0xa,a['Inject'](a[_0x271eef(0x182)])),A(0xb,a['Inject'](te)),A(0xc,a['Optional'](J))],exports[_0x271eef(0x156)]),exports['OfflineState']=class extends _e{constructor(_0x2679ce,_0x34b0ff,_0x20e02a,_0x1c3e5a,_0x29cb2b,_0x39a16f,_0x3ba535,_0x32807d,_0x5f02a7,_0x2d8b0e){var _0x16d81e=_0x271eef;super(_0x2679ce,_0x34b0ff,_0x20e02a,_0x1c3e5a,_0x29cb2b,_0x32807d,_0x5f02a7,_0x3ba535,_0x2d8b0e),w(this,_0x16d81e(0x1a1),'offline'),this['_injector']=_0x39a16f;}[_0x271eef(0x1a5)](_0x20f3da){var _0x2c2006=_0x271eef;return this[_0x2c2006(0x1e7)]['push'](_0x20f3da),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x342583){var _0x4cb5c3=_0x271eef;throw new Error(_0x4cb5c3(0x37d));}[_0x271eef(0xb3)](){var _0x164d76=_0x271eef;throw new Error(_0x164d76(0x3be));}[_0x271eef(0x3ca)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x271eef(0x162)](){return this;}[_0x271eef(0x313)](){return this;}[_0x271eef(0x234)](){var _0x24c0a1=_0x271eef;const {_injector:_0x3072e4,_pendingMutations:_0x3bc269,_awaitingChangeset:_0x234c62,unitID:_0x45e0ec,_handler:_0x103d99,type:_0x111e8e}=this,_0x2e2fa2=Dt(_0x3072e4,_0x45e0ec,_0x111e8e,_0x234c62,_0x3bc269,_0x103d99);return _0x2e2fa2 instanceof exports[_0x24c0a1(0x11a)]?_0x2e2fa2['_schedule']():(_0x2e2fa2 instanceof exports[_0x24c0a1(0x210)]||_0x2e2fa2 instanceof exports[_0x24c0a1(0x24e)])&&_0x2e2fa2['resend'](),_0x2e2fa2;}[_0x271eef(0x1da)](){var _0x526402=_0x271eef;throw new Error(_0x526402(0x13b));}},exports[_0x271eef(0x255)]=le([A(0x5,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),A(0x6,a[_0x271eef(0x16d)](m[_0x271eef(0x190)])),A(0x7,a[_0x271eef(0x2a0)]),A(0x8,a[_0x271eef(0x1d1)]),A(0x9,a['Optional'](J))],exports[_0x271eef(0x255)]),exports[_0x271eef(0x368)]=class extends _e{constructor(_0x58310e,_0x2aa165,_0x3fd666,_0x846b4b,_0xe1c110,_0x4b8e63,_0x3c44f9,_0x89bda1,_0x3bc967,_0x429990,_0xc21d34,_0x34582a,_0x1bbd9f,_0x1a0317){var _0x454dcd=_0x271eef;super(_0x58310e,_0x2aa165,_0x3fd666,_0x846b4b,_0x3c44f9,_0xc21d34,_0x34582a,_0x3bc967,_0x1a0317),w(this,_0x454dcd(0x1a1),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0xe1c110,this[_0x454dcd(0x1d0)]=_0x4b8e63,this['_injector']=_0x89bda1,this[_0x454dcd(0xc7)]=_0x429990,this[_0x454dcd(0xf0)]=_0x1bbd9f,this[_0x454dcd(0x14b)]=_0x1a0317);}[_0x271eef(0x393)](_0x5e6706){var _0x431d51=_0x271eef;try{const _0x35b8fb=[..._0x5e6706,...this[_0x431d51(0x1d0)]],_0x4f50a6=[this['_awaitingChangeset']||this[_0x431d51(0x33d)]][_0x431d51(0x16f)](_0x253097=>!!_0x253097);let _0x2dd429,_0x18ea96;if(_0x4f50a6[_0x431d51(0x7a)]){const _0x593a8f=this[_0x431d51(0xf0)][_0x431d51(0x77)](_0x35b8fb,_0x4f50a6,!0x1);if(!m['isTransformChangesetsSuccess'](_0x593a8f))throw _0x593a8f[_0x431d51(0x30b)];_0x2dd429=_0x593a8f[_0x431d51(0x1ca)],_0x18ea96=_0x593a8f[_0x431d51(0x3ac)];}else _0x2dd429=_0x35b8fb,_0x18ea96=[];let _0x4668e0=this[_0x431d51(0x1e7)];_0x2dd429[_0x431d51(0x3c3)](_0x595eb6=>{var _0xf67da8=_0x431d51;let _0x48f275;if(_0x4668e0[_0xf67da8(0x7a)]){const _0x15e128=this[_0xf67da8(0xf0)][_0xf67da8(0x37f)](_0x595eb6,_0x4668e0);if(!m[_0xf67da8(0x26b)](_0x15e128))throw _0x15e128[_0xf67da8(0x30b)];_0x48f275=_0x15e128[_0xf67da8(0x1ca)],_0x4668e0=_0x15e128[_0xf67da8(0x21f)];}else _0x48f275=_0x595eb6;this[_0xf67da8(0x85)](_0x48f275);}),this[_0x431d51(0x33d)]&&this[_0x431d51(0x288)](),this[_0x431d51(0xf6)]&&_0x18ea96['length']&&(_0x18ea96[0x0]['baseRev']=this[_0x431d51(0x109)]());let _0x30c737;if(this[_0x431d51(0xf6)]&&_0x4668e0[_0x431d51(0x7a)]!==0x0)_0x30c737=this[_0x431d51(0xc4)][_0x431d51(0x188)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x431d51(0x132)],_0x18ea96[0x0],_0x4668e0,this[_0x431d51(0x32b)],void 0x0);else{if(this[_0x431d51(0xf6)]&&_0x4668e0['length']===0x0)_0x18ea96[0x0][_0x431d51(0x8f)]=this[_0x431d51(0x109)](),_0x30c737=this[_0x431d51(0xc4)][_0x431d51(0x188)](exports[_0x431d51(0x24e)],this['unitID'],this[_0x431d51(0x132)],_0x18ea96[0x0],this['_handler']);else{if(_0x4668e0[_0x431d51(0x7a)]!==0x0){const _0xbdd4fa=this['_injector'][_0x431d51(0x188)](exports[_0x431d51(0x11a)],this[_0x431d51(0x253)],this[_0x431d51(0x132)],_0x4668e0,this['_handler']);_0xbdd4fa[_0x431d51(0x1e6)](),_0x30c737=_0xbdd4fa;}else _0x30c737=this['_injector'][_0x431d51(0x188)](exports[_0x431d51(0x322)],this[_0x431d51(0x253)],this[_0x431d51(0x132)],this[_0x431d51(0x32b)]);}}return _0x30c737[_0x431d51(0x3cd)](),_0x30c737;}catch(_0x46dbf8){return this[_0x431d51(0xc7)]['error'](_0x431d51(0x2f7),_0x431d51(0xf1),_0x46dbf8),this['_injector'][_0x431d51(0x188)](exports[_0x431d51(0x156)],this[_0x431d51(0x253)],this['type'],this[_0x431d51(0xf6)],this['_pendingMutations'],this[_0x431d51(0x32b)],!0x1);}}[_0x271eef(0x1da)](){var _0x297f32=_0x271eef;throw new Error(_0x297f32(0x358));}[_0x271eef(0x1a5)](_0x1a6e55){var _0x22062f=_0x271eef;return this['_pendingMutations'][_0x22062f(0xeb)](_0x1a6e55),this;}['onRemoteChangeset'](_0x412278){var _0x424b28=_0x271eef;return this[_0x424b28(0x1d0)][_0x424b28(0xeb)](_0x412278),this;}['onRemoteAck'](_0x5bf936){var _0xa81ce9=_0x271eef;if(this[_0xa81ce9(0xf6)])return this[_0xa81ce9(0x33d)]=this[_0xa81ce9(0xf6)],this[_0xa81ce9(0xf6)]=null,this;throw new Error(_0xa81ce9(0x28b));}[_0x271eef(0x3ca)](_0x5ed4f9){var _0x218e2b=_0x271eef;return this[_0x218e2b(0x172)](!!(_0x5ed4f9!=null&&_0x5ed4f9[_0x218e2b(0x386)]));}[_0x271eef(0x162)](){return this;}[_0x271eef(0x313)](){var _0x519667=_0x271eef;return this['_injector'][_0x519667(0x188)](exports['OfflineState'],this[_0x519667(0x253)],this[_0x519667(0x132)],this['_awaitingChangeset'],this[_0x519667(0x1e7)],this['_handler']);}[_0x271eef(0x234)](){return this;}[_0x271eef(0x172)](_0x5a4dae){var _0x143114=_0x271eef;return this['_injector'][_0x143114(0x188)](exports[_0x143114(0x156)],this['unitID'],this[_0x143114(0x132)],this[_0x143114(0xf6)],this[_0x143114(0x1e7)],this[_0x143114(0x32b)],_0x5a4dae);}},exports[_0x271eef(0x368)]=le([A(0x7,a['Inject'](a[_0x271eef(0x2dc)])),A(0x8,a['Inject'](m[_0x271eef(0x190)])),A(0x9,a[_0x271eef(0x84)]),A(0xa,a[_0x271eef(0x2a0)]),A(0xb,a['IUndoRedoService']),A(0xc,m[_0x271eef(0x35d)]),A(0xd,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x368)]);function Dt(_0x19e41e,_0x304e2c,_0x19d8a4,_0x46b0b5,_0x266657,_0x289814){var _0xda7b60=_0x271eef;return _0x46b0b5&&_0x266657[_0xda7b60(0x7a)]?_0x19e41e[_0xda7b60(0x188)](exports[_0xda7b60(0x210)],_0x304e2c,_0x19d8a4,_0x46b0b5,_0x266657,_0x289814,void 0x0):_0x46b0b5?_0x19e41e[_0xda7b60(0x188)](exports[_0xda7b60(0x24e)],_0x304e2c,_0x19d8a4,_0x46b0b5,_0x289814):_0x266657[_0xda7b60(0x7a)]?_0x19e41e[_0xda7b60(0x188)](exports[_0xda7b60(0x11a)],_0x304e2c,_0x19d8a4,_0x266657,_0x289814):_0x19e41e[_0xda7b60(0x188)](exports[_0xda7b60(0x322)],_0x304e2c,_0x19d8a4,_0x289814);}var Oi=Object[_0x271eef(0x1ec)],Pi=Object['getOwnPropertyDescriptor'],Ve=(_0x4396a2,_0x2bb325,_0x4c2ac5,_0x19e6d6)=>{var _0x110dd1=_0x271eef;for(var _0x3cfa34=_0x19e6d6>0x1?void 0x0:_0x19e6d6?Pi(_0x2bb325,_0x4c2ac5):_0x2bb325,_0x501eac=_0x4396a2[_0x110dd1(0x7a)]-0x1,_0x47719a;_0x501eac>=0x0;_0x501eac--)(_0x47719a=_0x4396a2[_0x501eac])&&(_0x3cfa34=(_0x19e6d6?_0x47719a(_0x2bb325,_0x4c2ac5,_0x3cfa34):_0x47719a(_0x3cfa34))||_0x3cfa34);return _0x19e6d6&&_0x3cfa34&&Oi(_0x2bb325,_0x4c2ac5,_0x3cfa34),_0x3cfa34;},H=(_0x19cc83,_0x5cd16d)=>(_0x976767,_0x5de0d2)=>_0x5cd16d(_0x976767,_0x5de0d2,_0x19cc83);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x10b021,_0xb9d469,_0x317f75,_0x14b52b,_0x52d189,_0x228ba6,_0x49c573,_0x47ac9c,_0x2ef63b,_0x1a61e5,_0x4b165e,_0x3f4864,_0x4862a1){var _0x4573ff=_0x271eef;super(),w(this,'_state$',new B[(_0x4573ff(0x355))](null)),w(this,_0x4573ff(0x13d),this['_state$']['asObservable']()),w(this,_0x4573ff(0x370)),w(this,_0x4573ff(0xe3),!0x1),w(this,'_changesetSessionId',''),w(this,_0x4573ff(0x352),0x0),w(this,_0x4573ff(0x1b8),this[_0x4573ff(0x13d)]['pipe'](B[_0x4573ff(0x32c)](_0x5d57d2=>_0x5d57d2?_0x5d57d2[_0x4573ff(0x1a1)]:We['OFFLINE']),B['shareReplay'](0x1))),w(this,_0x4573ff(0x108),!0x1),w(this,_0x4573ff(0xbe),[]),(this[_0x4573ff(0x253)]=_0x10b021,this[_0x4573ff(0x155)]=_0xb9d469,this[_0x4573ff(0x7c)]=_0x317f75,this[_0x4573ff(0xc4)]=_0x14b52b,this[_0x4573ff(0x30f)]=_0x52d189,this[_0x4573ff(0x116)]=_0x228ba6,this[_0x4573ff(0x3dd)]=_0x49c573,this[_0x4573ff(0x28e)]=_0x47ac9c,this[_0x4573ff(0xc7)]=_0x2ef63b,this['_commandService']=_0x1a61e5,this[_0x4573ff(0x126)]=_0x4b165e,this[_0x4573ff(0x25d)]=_0x3f4864,this[_0x4573ff(0x2e1)]=_0x4862a1);}get[_0x271eef(0x146)](){var _0x1cc19a=_0x271eef;return this[_0x1cc19a(0x370)];}async['init'](){var _0x20519d=_0x271eef;if(this[_0x20519d(0x146)])throw new Error(_0x20519d(0x399));await this['_init']();}[_0x271eef(0x3bf)](){var _0x47171c=_0x271eef;return this['_collaborationPaused']=!0x0,a[_0x47171c(0xfb)](()=>{var _0x3f4ec7=_0x47171c;this[_0x3f4ec7(0xe3)]=!0x1,this[_0x3f4ec7(0x1dd)]();});}[_0x271eef(0x2e9)](_0x3d011a){var _0x493556=_0x271eef;this[_0x493556(0x1fe)](_0x3d011a);}[_0x271eef(0x35e)](_0x2e1ea3){var _0x5ae440=_0x271eef;this[_0x5ae440(0x370)]=_0x2e1ea3,this[_0x5ae440(0x1dc)][_0x5ae440(0x14f)](_0x2e1ea3);}async['_init'](){var _0x207b09=_0x271eef,_0x194ded;this[_0x207b09(0x35e)](await this['_createInitialState']()),this[_0x207b09(0x25d)]&&((_0x194ded=this[_0x207b09(0x25d)])==null||_0x194ded[_0x207b09(0x395)](this[_0x207b09(0x253)]),this[_0x207b09(0x118)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x207b09(0x253)])[_0x207b09(0xea)](_0x18fc9d=>{var _0x226f60=_0x207b09;this['_logService'][_0x226f60(0x20d)]('[CollaborationEntity]',_0x226f60(0xc0),_0x18fc9d),_0x18fc9d===Fe[_0x226f60(0x34a)]?(this[_0x226f60(0x28e)][_0x226f60(0x327)]({'id':Q[_0x226f60(0x334)]}),this[_0x226f60(0x126)][_0x226f60(0x23c)](new W[(_0x226f60(0x158))](this[_0x226f60(0x253)])['id'],!0x1),this[_0x226f60(0x126)][_0x226f60(0xca)](!0x1)):(this[_0x226f60(0x126)][_0x226f60(0x23c)](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x226f60(0x126)]['setShowComponents'](!0x0));})));let _0xf653ef=!0x1;return this[_0x207b09(0x118)](this[_0x207b09(0x155)][_0x207b09(0x29f)][_0x207b09(0xea)](_0x390a9e=>{var _0x2546ce=_0x207b09;_0x390a9e===se[_0x2546ce(0xab)]?this[_0x2546ce(0x3cc)](_0xf653ef):_0x390a9e===se[_0x2546ce(0x18c)]&&(_0xf653ef=!0x0,this['_toggleOffline']());})),this[_0x207b09(0x118)](this['session']['event$']['subscribe'](_0x38affe=>{var _0x3b8d82=_0x207b09;try{switch(_0x38affe['eventID']){case m[_0x3b8d82(0x14c)]['NEW_CHANGESETS']:{this[_0x3b8d82(0x8e)](m[_0x3b8d82(0x19d)](_0x38affe[_0x3b8d82(0x133)]));break;}case m[_0x3b8d82(0x14c)][_0x3b8d82(0x306)]:{this[_0x3b8d82(0xed)](_0x38affe['data']);break;}case m[_0x3b8d82(0x14c)][_0x3b8d82(0x21e)]:{this[_0x3b8d82(0xef)]();break;}case m['CollaborationEvent'][_0x3b8d82(0x1c8)]:{this['_onRemoteRetry'](_0x38affe[_0x3b8d82(0x133)]);break;}case m[_0x3b8d82(0x14c)][_0x3b8d82(0x1ac)]:{this[_0x3b8d82(0x94)](_0x38affe['data']['changesets'][_0x3b8d82(0x32c)](_0x381cfa=>m[_0x3b8d82(0x19d)](_0x381cfa)));break;}case m[_0x3b8d82(0x14c)][_0x3b8d82(0x209)]:this[_0x3b8d82(0xef)]({'isPermissionRej':!0x0});}}catch(_0x38296f){throw console['error']('Error\x20on\x20receiving\x20event',_0x38296f),_0x38296f;}})),this[_0x207b09(0x370)];}[_0x271eef(0x2ed)](){var _0x54447f=_0x271eef;this[_0x54447f(0x108)]=!0x1;}['_lockTransition'](){var _0x39aae1=_0x271eef;if(this[_0x39aae1(0x108)])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[_0x39aae1(0x108)]=!0x0;}[_0x271eef(0x1fe)](_0x16c710){var _0x2fb693=_0x271eef;this[_0x2fb693(0x3a6)](),this[_0x2fb693(0x35e)](this[_0x2fb693(0x370)][_0x2fb693(0x1a5)](_0x16c710)),this[_0x2fb693(0x2ed)]();}[_0x271eef(0x8e)](_0x18c41a){var _0x4755c0=_0x271eef;if(!(_0x18c41a[_0x4755c0(0x21b)]<=this[_0x4755c0(0x3dd)][_0x4755c0(0x256)](this[_0x4755c0(0x253)]))){if(this[_0x4755c0(0xe3)]){this[_0x4755c0(0xbe)]['push'](_0x18c41a);return;}this['_applyRemoteChangeset'](_0x18c41a);}}['_exhaustRemoteChangesetQueue'](){var _0x5904f0=_0x271eef;this[_0x5904f0(0xbe)][_0x5904f0(0x3c3)](_0x4a8f7b=>this[_0x5904f0(0x312)](_0x4a8f7b)),this['_remoteChangesetQueue']=[];}[_0x271eef(0x312)](_0x2f3f8d){var _0x2f0ef2=_0x271eef;const _0x1d457e=this[_0x2f0ef2(0x30f)][_0x2f0ef2(0x1c5)][_0x2f0ef2(0xac)](this[_0x2f0ef2(0x30f)][_0x2f0ef2(0x1c5)]['getInterceptPoints']()[_0x2f0ef2(0x1e9)])(_0x2f3f8d[_0x2f0ef2(0x3c0)],null)||_0x2f3f8d[_0x2f0ef2(0x3c0)],_0x5c1a0c={..._0x2f3f8d,'mutations':_0x1d457e};this[_0x2f0ef2(0x3a6)](),this[_0x2f0ef2(0x35e)](this[_0x2f0ef2(0x370)][_0x2f0ef2(0x159)](_0x5c1a0c)),this[_0x2f0ef2(0x2ed)]();}[_0x271eef(0xed)](_0x804f2a){var _0x330599=_0x271eef;this[_0x330599(0x3a6)](),this['_updateState'](this[_0x330599(0x370)][_0x330599(0xb3)](_0x804f2a)),this[_0x330599(0x2ed)]();}['_onRemoteRejected'](_0x4b827c){var _0x5a1c8b=_0x271eef;this[_0x5a1c8b(0x3a6)](),this[_0x5a1c8b(0x35e)](this[_0x5a1c8b(0x370)][_0x5a1c8b(0x3ca)](_0x4b827c)),this[_0x5a1c8b(0x2ed)]();}[_0x271eef(0x1df)](_0x209f0e){var _0x2ac005=_0x271eef;this['_lockTransition'](),this[_0x2ac005(0x35e)](this['_state'][_0x2ac005(0x162)](_0x209f0e)),this[_0x2ac005(0x2ed)]();}[_0x271eef(0x94)](_0x596c25){var _0x445084=_0x271eef;if(!(this[_0x445084(0x370)]instanceof exports[_0x445084(0x368)]))throw new TypeError(_0x445084(0x10a));const _0x896545=_0x596c25['map'](_0x487d70=>{var _0x4cbca8=_0x445084;const _0x3db31e=this[_0x4cbca8(0x30f)][_0x4cbca8(0x1c5)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4cbca8(0x1c5)][_0x4cbca8(0x263)]()['COMPRESS_MUTATION_APPLY'])(_0x487d70[_0x4cbca8(0x3c0)],null)||_0x487d70[_0x4cbca8(0x3c0)];return{..._0x487d70,'mutations':_0x3db31e};});this['_lockTransition'](),this[_0x445084(0x35e)](this['_state'][_0x445084(0x393)](_0x896545)),this[_0x445084(0x2ed)]();}['_toggleOffline'](){var _0x3dcf37=_0x271eef;this[_0x3dcf37(0x3a6)](),this[_0x3dcf37(0x35e)](this[_0x3dcf37(0x370)][_0x3dcf37(0x313)]()),this['_unlockTransition']();}[_0x271eef(0x3cc)](_0x1d906f=!0x1){var _0x52fda2=_0x271eef;this[_0x52fda2(0x3a6)](),this[_0x52fda2(0x35e)](this['_state']['toggleOnline']()),this[_0x52fda2(0x2ed)]();const _0x9ebd1b=this[_0x52fda2(0x370)];_0x1d906f&&_0x9ebd1b instanceof exports[_0x52fda2(0x322)]&&(this[_0x52fda2(0x3a6)](),this['_updateState'](_0x9ebd1b[_0x52fda2(0x291)]()),this[_0x52fda2(0x2ed)]());}async[_0x271eef(0x2a7)](){return new Promise(_0x46cf4d=>{var _0x4e5d51=_0x5df3;this[_0x4e5d51(0x155)][_0x4e5d51(0x29f)][_0x4e5d51(0x17f)](B[_0x4e5d51(0x303)](0x1))[_0x4e5d51(0xea)](async _0x17afa5=>{var _0x1b123a=_0x4e5d51;_0x46cf4d(await this[_0x1b123a(0x1a6)](_0x17afa5===se[_0x1b123a(0xab)]));});});}[_0x271eef(0xe5)](){var _0xff0798=_0x271eef;const _0x213b46=this[_0xff0798(0x253)];return{'onStateChange':(_0x500980,_0x4a281b)=>{var _0x275ae6=_0xff0798;if(_0x500980!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x500980[_0x275ae6(0x1a1)]+_0x275ae6(0x3d1)+_0x4a281b[_0x275ae6(0x1a1)]+_0x275ae6(0x218)+this['_state']['status']);this[_0x275ae6(0x35e)](_0x4a281b);},'onSendChangeset':_0x589ac6=>{var _0x210799=_0xff0798;_0x589ac6['sid']||(_0x589ac6['sid']=this['_changesetSessionId'],_0x589ac6[_0x210799(0x1a4)]=++this[_0x210799(0x352)]);const _0x446366={'eventID':m[_0x210799(0x14c)][_0x210799(0xe6)],'data':{'unitID':_0x589ac6[_0x210799(0x253)],'unitType':this['_type'],'changeset':_0x589ac6,'memberID':this['session']['getMemberID']()}};this[_0x210799(0x155)][_0x210799(0x17d)](_0x446366,this[_0x210799(0x253)]);},'onMissingChangesets':({from:_0x10a3c0,to:_0x362eb5})=>{var _0x48eba0=_0xff0798;this[_0x48eba0(0xc7)][_0x48eba0(0x20d)]('[CollaborationEntity]',_0x48eba0(0x276)+_0x10a3c0+'\x20to\x20'+_0x362eb5);const _0x2094c3={'eventID':m['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x213b46,'unitType':this[_0x48eba0(0x7c)],'from':_0x10a3c0,'to':_0x362eb5}};this[_0x48eba0(0x155)][_0x48eba0(0x17d)](_0x2094c3,this[_0x48eba0(0x253)]);}};}async['_createInitialStateImpl'](_0x5894b6){var _0x5d0d1f=_0x271eef,_0x1f7b88,_0x1d2e66,_0x21899f;const _0x12a216=await((_0x1f7b88=this[_0x5d0d1f(0x2e1)])==null?void 0x0:_0x1f7b88[_0x5d0d1f(0x31a)](this[_0x5d0d1f(0x253)])),_0x2791d4=(_0x1d2e66=_0x12a216==null?void 0x0:_0x12a216['mutations'])!=null?_0x1d2e66:[],_0x3a9bf0=(_0x21899f=_0x12a216==null?void 0x0:_0x12a216[_0x5d0d1f(0x20a)])!=null?_0x21899f:null,_0x365356=!!(_0x3a9bf0!=null&&_0x3a9bf0['sid'])&&!!(_0x3a9bf0!=null&&_0x3a9bf0[_0x5d0d1f(0x1a4)]);this[_0x5d0d1f(0x360)]=_0x365356?_0x3a9bf0[_0x5d0d1f(0x315)]:Si(),this['_changesetReqId']=_0x365356?_0x3a9bf0[_0x5d0d1f(0x1a4)]:0x0;const _0xf6f0bf=this['unitID'];try{this[_0x5d0d1f(0x2c1)](_0x3a9bf0,_0x2791d4);}catch(_0x887ba8){this[_0x5d0d1f(0xc7)][_0x5d0d1f(0x30b)](_0x887ba8);}const _0x1be006=this[_0x5d0d1f(0xe5)]();if(_0x5894b6){const _0x26e3e3=Dt(this[_0x5d0d1f(0xc4)],_0xf6f0bf,this[_0x5d0d1f(0x7c)],_0x3a9bf0,_0x2791d4,_0x1be006);return _0x26e3e3 instanceof exports[_0x5d0d1f(0x11a)]?_0x26e3e3[_0x5d0d1f(0x1e6)]():(_0x26e3e3 instanceof exports[_0x5d0d1f(0x210)]||_0x26e3e3 instanceof exports[_0x5d0d1f(0x24e)])&&_0x26e3e3[_0x5d0d1f(0x1da)](),_0x26e3e3;}return this[_0x5d0d1f(0xc4)][_0x5d0d1f(0x188)](exports[_0x5d0d1f(0x255)],_0xf6f0bf,this['_type'],_0x3a9bf0,_0x2791d4,_0x1be006);}[_0x271eef(0x2c1)](_0x34d058,_0x43d8ec){var _0x29fb53=_0x271eef,_0x95f47d,_0x51c09;const _0x192785=this[_0x29fb53(0x30f)][_0x29fb53(0x1c5)][_0x29fb53(0xac)](this[_0x29fb53(0x30f)][_0x29fb53(0x1c5)][_0x29fb53(0x263)]()[_0x29fb53(0x1e9)]);(_0x95f47d=_0x192785((_0x34d058==null?void 0x0:_0x34d058['mutations'])||[],null))==null||_0x95f47d[_0x29fb53(0x3c3)](_0x2247fb=>this['_commandService'][_0x29fb53(0x385)](_0x2247fb['id'],_0x2247fb[_0x29fb53(0x1d2)])),(_0x51c09=_0x192785(_0x43d8ec||[],null))==null||_0x51c09[_0x29fb53(0x3c3)](_0x14f93f=>this[_0x29fb53(0xbf)][_0x29fb53(0x385)](_0x14f93f['id'],_0x14f93f['params']));}},exports[_0x271eef(0x3a1)]=Ve([H(0x3,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),H(0x4,a[_0x271eef(0x16d)](m[_0x271eef(0x174)])),H(0x5,a[_0x271eef(0x16d)](a[_0x271eef(0x182)])),H(0x6,a[_0x271eef(0x16d)](m[_0x271eef(0x190)])),H(0x7,a[_0x271eef(0x16d)](te)),H(0x8,a[_0x271eef(0x84)]),H(0x9,a['ICommandService']),H(0xa,a[_0x271eef(0x14d)]),H(0xb,a[_0x271eef(0x367)](ve)),H(0xc,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x3a1)]),exports[_0x271eef(0x178)]=class extends exports[_0x271eef(0x3a1)]{constructor(_0x45f693,_0x4e85fc,_0x24c6cf,_0x42b147,_0x1dc343,_0x31cd68,_0x4a3f78,_0xa63b46,_0x2f2475,_0x135fe1,_0x1915c5,_0x13b7f6,_0x29dceb){var _0x35e0ec=_0x271eef;super(_0x45f693,_0x24c6cf,_0x4e85fc,_0x42b147,_0x1dc343,_0x31cd68,_0x4a3f78,_0xa63b46,_0x2f2475,_0x135fe1,_0x1915c5,_0x13b7f6,_0x29dceb),w(this,_0x35e0ec(0x333),null),(this[_0x35e0ec(0x253)]=_0x45f693,this[_0x35e0ec(0x132)]=_0x4e85fc);}[_0x271eef(0xda)](_0x8a95e7){var _0x1984d1=_0x271eef;this[_0x1984d1(0x333)]=_0x8a95e7;}[_0x271eef(0x270)](){var _0x44dfdf=_0x271eef;this[_0x44dfdf(0x333)]=null,super['dispose']();}[_0x271eef(0xe5)](){var _0x54ba36=_0x271eef;const _0x3807d8=super[_0x54ba36(0xe5)]();return _0x3807d8[_0x54ba36(0x6f)]=_0x4dfe07=>{var _0x3d71f8=_0x54ba36,_0x54349e,_0x120dfb;return(_0x120dfb=(_0x54349e=this[_0x3d71f8(0x333)])==null?void 0x0:_0x54349e[_0x3d71f8(0x6f)])==null?void 0x0:_0x120dfb['call'](_0x54349e,_0x4dfe07);},_0x3807d8[_0x54ba36(0x149)]=_0x57f95f=>{var _0x38e5db=_0x54ba36,_0x29ad14,_0x3ef47e;return(_0x3ef47e=(_0x29ad14=this[_0x38e5db(0x333)])==null?void 0x0:_0x29ad14['onTransformState'])==null?void 0x0:_0x3ef47e[_0x38e5db(0x183)](_0x29ad14,_0x57f95f);},_0x3807d8[_0x54ba36(0x160)]=_0x5bf847=>{var _0x55848b=_0x54ba36,_0x11298b,_0x1fa0ef;return(_0x1fa0ef=(_0x11298b=this[_0x55848b(0x333)])==null?void 0x0:_0x11298b[_0x55848b(0x160)])==null?void 0x0:_0x1fa0ef[_0x55848b(0x183)](_0x11298b,_0x5bf847);},_0x3807d8[_0x54ba36(0x30c)]=_0x3107eb=>{var _0xac65ec=_0x54ba36,_0x16f788,_0x29203b;return(_0x29203b=(_0x16f788=this[_0xac65ec(0x333)])==null?void 0x0:_0x16f788[_0xac65ec(0x30c)])==null?void 0x0:_0x29203b[_0xac65ec(0x183)](_0x16f788,_0x3107eb);},_0x3807d8['onTransformRemoteChangesetByIMECache']=_0x28797c=>{var _0x3fecc6=_0x54ba36,_0xdba126,_0x501cd1,_0x3bd3d2;if(!((_0xdba126=this[_0x3fecc6(0x333)])!=null&&_0xdba126[_0x3fecc6(0x131)]))throw new Error(_0x3fecc6(0x101));return(_0x3bd3d2=(_0x501cd1=this[_0x3fecc6(0x333)])==null?void 0x0:_0x501cd1['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3bd3d2[_0x3fecc6(0x183)](_0x501cd1,_0x28797c);},_0x3807d8[_0x54ba36(0x2c3)]=_0xe7c907=>{var _0x3d253f=_0x54ba36,_0x57743d,_0x1e5d41,_0x5b710e;if(!((_0x57743d=this[_0x3d253f(0x333)])!=null&&_0x57743d[_0x3d253f(0x2c3)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5b710e=(_0x1e5d41=this[_0x3d253f(0x333)])==null?void 0x0:_0x1e5d41[_0x3d253f(0x2c3)])==null?void 0x0:_0x5b710e[_0x3d253f(0x183)](_0x1e5d41,_0xe7c907);},_0x3807d8;}async['_init'](){var _0x1a48a8=_0x271eef;const _0x4b4574=await super[_0x1a48a8(0x3b2)]();return this[_0x1a48a8(0x118)](this['_commandService']['onCommandExecuted']((_0x5e0e47,_0xab18e7)=>{var _0x4663ca=_0x1a48a8;if(_0x5e0e47[_0x4663ca(0x132)]!==a[_0x4663ca(0x280)][_0x4663ca(0x12a)]||_0xab18e7!=null&&_0xab18e7[_0x4663ca(0xce)]||_0xab18e7!=null&&_0xab18e7['onlyLocal']||_0x5e0e47['id']===ut[_0x4663ca(0x238)]['id'])return;const _0x2d7929=_0x5e0e47[_0x4663ca(0x1d2)];if((_0x2d7929==null?void 0x0:_0x2d7929[_0x4663ca(0x121)])!==this[_0x4663ca(0x253)])return;const _0x444566=_0x5e0e47,_0x42ee96=this[_0x4663ca(0x30f)][_0x4663ca(0x1c5)][_0x4663ca(0xac)](this[_0x4663ca(0x30f)][_0x4663ca(0x1c5)][_0x4663ca(0x263)]()[_0x4663ca(0x267)])([_0x444566],null)||[_0x444566];this['_onLocalMutation'](_0x42ee96[0x0]);})),_0x4b4574;}},exports[_0x271eef(0x178)]=Ve([H(0x3,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),H(0x4,a[_0x271eef(0x16d)](m[_0x271eef(0x174)])),H(0x5,a[_0x271eef(0x16d)](a[_0x271eef(0x182)])),H(0x6,a[_0x271eef(0x16d)](m['RevisionService'])),H(0x7,a['Inject'](te)),H(0x8,a['ILogService']),H(0x9,a['ICommandService']),H(0xa,a[_0x271eef(0x14d)]),H(0xb,a[_0x271eef(0x367)](ve)),H(0xc,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x178)]),exports[_0x271eef(0x231)]=class extends exports[_0x271eef(0x3a1)]{constructor(_0x254c0c,_0x1baf87,_0x5b4b4b,_0x1e9d99,_0x7ec9d9,_0x419cd0,_0x90e559,_0x551d27,_0x38a625,_0x4ecb3a,_0x4cc144,_0x3e48ea,_0x50d011,_0x95216a){var _0x461d11=_0x271eef;super(_0x254c0c,_0x5b4b4b,_0x1baf87,_0x1e9d99,_0x7ec9d9,_0x419cd0,_0x90e559,_0x38a625,_0x4ecb3a,_0x4cc144,_0x3e48ea,_0x50d011,_0x95216a),this[_0x461d11(0x253)]=_0x254c0c,this[_0x461d11(0x132)]=_0x1baf87,this[_0x461d11(0x1e5)]=_0x551d27;}[_0x271eef(0xe5)](){var _0x59e0d6=_0x271eef;const _0x314409=super[_0x59e0d6(0xe5)]();return _0x314409['onTransformSelections']=_0x2cbf07=>this['_sheetTransformSelectionsService'][_0x59e0d6(0x223)](_0x2cbf07),_0x314409;}async['_init'](){var _0x42651b=_0x271eef;const _0x44763a=await super[_0x42651b(0x3b2)]();return this[_0x42651b(0x118)](this[_0x42651b(0xbf)][_0x42651b(0xe4)]((_0x1de7ad,_0x269cee)=>{var _0x4bfd43=_0x42651b;if(_0x1de7ad['type']!==a['CommandType']['MUTATION']||_0x269cee!=null&&_0x269cee['fromCollab']||_0x269cee!=null&&_0x269cee[_0x4bfd43(0x251)])return;const _0x2b7a21=_0x1de7ad[_0x4bfd43(0x1d2)];if((_0x2b7a21==null?void 0x0:_0x2b7a21[_0x4bfd43(0x121)])!==this[_0x4bfd43(0x253)])return;const _0x6d2342=_0x1de7ad,_0x21565b=this[_0x4bfd43(0x30f)][_0x4bfd43(0x1c5)][_0x4bfd43(0xac)](this[_0x4bfd43(0x30f)][_0x4bfd43(0x1c5)][_0x4bfd43(0x263)]()[_0x4bfd43(0x267)])([_0x6d2342],null)||[_0x6d2342];this[_0x4bfd43(0x1fe)](_0x21565b[0x0]);})),_0x44763a;}},exports['SheetCollaborationEntity']=Ve([H(0x3,a['Inject'](a['Injector'])),H(0x4,a[_0x271eef(0x16d)](m[_0x271eef(0x174)])),H(0x5,a[_0x271eef(0x16d)](a[_0x271eef(0x182)])),H(0x6,a['Inject'](m['RevisionService'])),H(0x7,a[_0x271eef(0x16d)](exports[_0x271eef(0x2f3)])),H(0x8,a[_0x271eef(0x16d)](te)),H(0x9,a[_0x271eef(0x84)]),H(0xa,a[_0x271eef(0x2a0)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x271eef(0x367)](ve)),H(0xd,a['Optional'](J))],exports[_0x271eef(0x231)]);var Di=Object[_0x271eef(0x1ec)],Ui=Object[_0x271eef(0x11b)],Ni=(_0x2c2806,_0x584531,_0x59bda6,_0x164e11)=>{var _0x5d8779=_0x271eef;for(var _0x5e6a5d=_0x164e11>0x1?void 0x0:_0x164e11?Ui(_0x584531,_0x59bda6):_0x584531,_0xf13329=_0x2c2806[_0x5d8779(0x7a)]-0x1,_0x23e969;_0xf13329>=0x0;_0xf13329--)(_0x23e969=_0x2c2806[_0xf13329])&&(_0x5e6a5d=(_0x164e11?_0x23e969(_0x584531,_0x59bda6,_0x5e6a5d):_0x23e969(_0x5e6a5d))||_0x5e6a5d);return _0x164e11&&_0x5e6a5d&&Di(_0x584531,_0x59bda6,_0x5e6a5d),_0x5e6a5d;},we=(_0x217523,_0x5dd93d)=>(_0x33ce34,_0x500510)=>_0x5dd93d(_0x33ce34,_0x500510,_0x217523);exports[_0x271eef(0xfd)]=class extends a[_0x271eef(0x177)]{constructor(_0x184333,_0x5481b6,_0x2ff700){var _0x520a3f=_0x271eef;super(),w(this,_0x520a3f(0x3b3),new Map()),w(this,_0x520a3f(0x329),new B[(_0x520a3f(0x2d5))]()),w(this,_0x520a3f(0x8b),this[_0x520a3f(0x329)][_0x520a3f(0x2e8)]()),(this[_0x520a3f(0xc4)]=_0x184333,this[_0x520a3f(0x387)]=_0x5481b6,this[_0x520a3f(0xd0)]=_0x2ff700,this['_init']());}[_0x271eef(0x270)](){var _0x50e1ae=_0x271eef;super[_0x50e1ae(0x270)](),this[_0x50e1ae(0x3b3)][_0x50e1ae(0x3c3)](_0x37a3e8=>_0x37a3e8[_0x50e1ae(0x270)]()),this[_0x50e1ae(0x3b3)][_0x50e1ae(0x1ea)]();}[_0x271eef(0x3ba)](_0x57dbf7){var _0x3f28d5=_0x271eef,_0x440e0c;return(_0x440e0c=this[_0x3f28d5(0x3b3)][_0x3f28d5(0x25f)](_0x57dbf7))!=null?_0x440e0c:null;}['getCollabEntity$'](_0x5624c0){var _0x105a7b=_0x271eef;const _0x3a5426=this[_0x105a7b(0x3ba)](_0x5624c0);return _0x3a5426?B['of'](_0x3a5426):this[_0x105a7b(0x329)][_0x105a7b(0x17f)](V[_0x105a7b(0x16f)](_0xfa8d7c=>_0xfa8d7c[_0x105a7b(0x253)]===_0x5624c0));}[_0x271eef(0x148)](_0x29f603){var _0x562604=_0x271eef;return B['firstValueFrom'](this[_0x562604(0x31c)](_0x29f603)[_0x562604(0x17f)](V[_0x562604(0x32c)](()=>{})));}[_0x271eef(0x3b2)](){var _0x2b9b2e=_0x271eef;this['_univerInstanceService'][_0x2b9b2e(0x316)](a['UniverInstanceType'][_0x2b9b2e(0x88)])[_0x2b9b2e(0x17f)](B['takeUntil'](this[_0x2b9b2e(0x252)]),V[_0x2b9b2e(0x2bb)](0x10))[_0x2b9b2e(0xea)](async _0x3eafba=>{var _0x2d1434=_0x2b9b2e;const _0x36811b=_0x3eafba['getUnitId'](),_0x5c8d2c=await this[_0x2d1434(0x185)](_0x36811b,Z[_0x2d1434(0x88)]);this[_0x2d1434(0x3b3)][_0x2d1434(0x323)](_0x36811b,_0x5c8d2c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x2b9b2e(0x1e0)][_0x2b9b2e(0x351)])['pipe'](B[_0x2b9b2e(0x2b4)](this[_0x2b9b2e(0x252)]),V['delay'](0x10))[_0x2b9b2e(0x17f)](V[_0x2b9b2e(0x16f)](_0x56676c=>!_0x56676c[_0x2b9b2e(0xd9)]()['startsWith']('__')))[_0x2b9b2e(0xea)](async _0x2a3d01=>{var _0x14723e=_0x2b9b2e;const _0x3c44c7=_0x2a3d01[_0x14723e(0xd9)](),_0x14db7d=await this[_0x14723e(0x185)](_0x3c44c7,Z[_0x14723e(0x351)]);this[_0x14723e(0x3b3)][_0x14723e(0x323)](_0x3c44c7,_0x14db7d);}),B[_0x2b9b2e(0x348)](this[_0x2b9b2e(0xd0)][_0x2b9b2e(0x106)](a[_0x2b9b2e(0x1e0)]['UNIVER_SHEET']),this[_0x2b9b2e(0xd0)][_0x2b9b2e(0x106)](a['UniverInstanceType'][_0x2b9b2e(0x351)]))[_0x2b9b2e(0x17f)](B[_0x2b9b2e(0x2b4)](this[_0x2b9b2e(0x252)]))[_0x2b9b2e(0xea)](_0x3b36e1=>{var _0x583044=_0x2b9b2e;const _0x264bb9=_0x3b36e1[_0x583044(0xd9)](),_0x3ed7ba=this[_0x583044(0x3b3)][_0x583044(0x25f)](_0x264bb9);_0x3ed7ba&&(_0x3ed7ba[_0x583044(0x270)](),this[_0x583044(0x3b3)][_0x583044(0x12e)](_0x264bb9));});}async[_0x271eef(0x185)](_0x3b4d68,_0x15a727){var _0x4bb409=_0x271eef;const _0x534ee7=await this[_0x4bb409(0x387)][_0x4bb409(0x81)](_0x3b4d68),_0x267176=this[_0x4bb409(0xc4)][_0x4bb409(0x188)](this['_getCtorByUniverType'](_0x15a727),_0x3b4d68,_0x15a727,_0x534ee7);return await _0x267176['init'](),this[_0x4bb409(0x329)][_0x4bb409(0x14f)](_0x267176),_0x267176;}[_0x271eef(0x211)](_0x27f426){var _0x4ff60b=_0x271eef;switch(_0x27f426){case Z[_0x4ff60b(0x351)]:return exports[_0x4ff60b(0x178)];case Z[_0x4ff60b(0x88)]:return exports[_0x4ff60b(0x231)];default:throw new Error(_0x4ff60b(0x9b)+_0x27f426);}}},exports['CollaborationController']=Ni([we(0x0,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),we(0x1,a['Inject'](exports[_0x271eef(0x20f)])),we(0x2,a[_0x271eef(0x2c5)])],exports['CollaborationController']);var wi=Object[_0x271eef(0x1ec)],Ai=Object[_0x271eef(0x11b)],Li=(_0x328a8f,_0x4d9e26,_0x2b2d9d,_0x32803)=>{var _0x430b0e=_0x271eef;for(var _0x2fdd79=_0x32803>0x1?void 0x0:_0x32803?Ai(_0x4d9e26,_0x2b2d9d):_0x4d9e26,_0x2f2165=_0x328a8f[_0x430b0e(0x7a)]-0x1,_0x6a7b42;_0x2f2165>=0x0;_0x2f2165--)(_0x6a7b42=_0x328a8f[_0x2f2165])&&(_0x2fdd79=(_0x32803?_0x6a7b42(_0x4d9e26,_0x2b2d9d,_0x2fdd79):_0x6a7b42(_0x2fdd79))||_0x2fdd79);return _0x32803&&_0x2fdd79&&wi(_0x4d9e26,_0x2b2d9d,_0x2fdd79),_0x2fdd79;},Je=(_0x234083,_0x4a72de)=>(_0x33b3cc,_0x48e4b4)=>_0x4a72de(_0x33b3cc,_0x48e4b4,_0x234083);const Mi=_0x271eef(0x1aa),xi=_0x271eef(0x285);let $e=class extends a[_0x271eef(0x365)]{constructor(_0x1aa618,_0x227f9f){super(),this['_univerInstanceService']=_0x1aa618,this['_configService']=_0x227f9f,this['_init']();}[_0x271eef(0x3b2)](){var _0x385f38=_0x271eef;this[_0x385f38(0x118)](this['_univerInstanceService'][_0x385f38(0xa0)][_0x385f38(0xea)](()=>{var _0x22eb0b=_0x385f38,_0x53ee1b;const _0x4c1688=this['_univerInstanceService'][_0x22eb0b(0x25c)]();let _0x11f2a8=(_0x53ee1b=this[_0x22eb0b(0x107)]['getConfig'](Mi))!=null?_0x53ee1b:xi;_0x4c1688 instanceof a[_0x22eb0b(0x3d3)]&&(_0x11f2a8=_0x4c1688[_0x22eb0b(0x83)]),document[_0x22eb0b(0x99)]=_0x11f2a8;}));}};$e=Li([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x271eef(0x2ec)])],$e);var ji=Object[_0x271eef(0x1ec)],$i=Object[_0x271eef(0x11b)],Hi=(_0x4af5ff,_0x3f1b56,_0x11810b,_0x5beba6)=>{var _0x27a243=_0x271eef;for(var _0xd57774=_0x5beba6>0x1?void 0x0:_0x5beba6?$i(_0x3f1b56,_0x11810b):_0x3f1b56,_0x37d4f7=_0x4af5ff[_0x27a243(0x7a)]-0x1,_0x1b715b;_0x37d4f7>=0x0;_0x37d4f7--)(_0x1b715b=_0x4af5ff[_0x37d4f7])&&(_0xd57774=(_0x5beba6?_0x1b715b(_0x3f1b56,_0x11810b,_0xd57774):_0x1b715b(_0xd57774))||_0xd57774);return _0x5beba6&&_0xd57774&&ji(_0x3f1b56,_0x11810b,_0xd57774),_0xd57774;},Ae=(_0x198337,_0x3d92de)=>(_0x443901,_0x3c681e)=>_0x3d92de(_0x443901,_0x3c681e,_0x198337);let Oe=class{constructor(_0x4cfc15,_0x1dc116,_0x51f824){var _0x370511=_0x271eef;this[_0x370511(0x107)]=_0x4cfc15,this['_httpService']=_0x1dc116,this[_0x370511(0x170)]=_0x51f824,this[_0x370511(0x12b)]();}['init'](){var _0x3860b8=_0x271eef;this['_httpService'][_0x3860b8(0x307)]({'priority':0x1,'interceptor':(_0x4182af,_0x1b7d05)=>_0x1b7d05(_0x4182af)[_0x3860b8(0x17f)](B[_0x3860b8(0x212)](async _0x3bbb23=>{var _0x305d12=_0x3860b8;const _0x4cd64c=_0x3bbb23;if(_0x4cd64c[_0x305d12(0x1a1)]===0x191){if(typeof window>'u')throw new Error(_0x305d12(0x347));if(window['confirm'](this[_0x305d12(0x170)]['t'](_0x305d12(0x3df)))){const _0x1301a0=window[_0x305d12(0x1a7)](window['location'][_0x305d12(0x2e0)]);window[_0x305d12(0x12f)][_0x305d12(0x2e0)]=this[_0x305d12(0x293)]()+_0x305d12(0x226)+_0x1301a0;}}return _0x4cd64c;}))});}[_0x271eef(0x293)](){var _0x2544a1=_0x271eef,_0x2cdc27,_0x388450;const _0x23587d=this[_0x2544a1(0x107)][_0x2544a1(0x1db)](Et),_0x2b6b8e=this[_0x2544a1(0x107)]['getConfig'](q);return(_0x388450=(_0x2cdc27=_0x2b6b8e==null?void 0x0:_0x2b6b8e[_0x2544a1(0x26c)])!=null?_0x2cdc27:_0x23587d)!=null?_0x388450:qt;}};Oe=Hi([Ae(0x0,a[_0x271eef(0x2ec)]),Ae(0x1,a[_0x271eef(0x16d)](z[_0x271eef(0x112)])),Ae(0x2,a[_0x271eef(0x16d)](a[_0x271eef(0x182)]))],Oe);var ki=Object['defineProperty'],Bi=Object[_0x271eef(0x11b)],Fi=(_0x28b9e4,_0x280f29,_0x31f501,_0x1aab75)=>{var _0xd0f5dc=_0x271eef;for(var _0x178352=_0x1aab75>0x1?void 0x0:_0x1aab75?Bi(_0x280f29,_0x31f501):_0x280f29,_0x1dc92b=_0x28b9e4[_0xd0f5dc(0x7a)]-0x1,_0x58f419;_0x1dc92b>=0x0;_0x1dc92b--)(_0x58f419=_0x28b9e4[_0x1dc92b])&&(_0x178352=(_0x1aab75?_0x58f419(_0x280f29,_0x31f501,_0x178352):_0x58f419(_0x178352))||_0x178352);return _0x1aab75&&_0x178352&&ki(_0x280f29,_0x31f501,_0x178352),_0x178352;},Xe=(_0x5e9b07,_0x2fae28)=>(_0x2cd794,_0x2610e5)=>_0x2fae28(_0x2cd794,_0x2610e5,_0x5e9b07);const Ge=_0x271eef(0x35c),Wi=_0x271eef(0x3b4);exports[_0x271eef(0x16e)]=class extends a[_0x271eef(0x365)]{constructor(_0x3050fa,_0xeab3aa){var _0x30ec0f=_0x271eef;super(),this[_0x30ec0f(0x2ff)]=_0x3050fa,this[_0x30ec0f(0x107)]=_0xeab3aa,this[_0x30ec0f(0x13f)]();}['_initMergeInterceptor'](){var _0x4dd987=_0x271eef;const _0x7acd99=this;this[_0x4dd987(0x118)](this['_HTTPService'][_0x4dd987(0x307)]({'priority':0x3e7,'interceptor':z[_0x4dd987(0x1ae)]({'isMatch'(_0x43feb0){var _0x16282d=_0x4dd987,_0x488d2b;if(_0x43feb0[_0x16282d(0xa7)]===_0x16282d(0x214)&&((_0x488d2b=_0x43feb0[_0x16282d(0x17e)])!=null&&_0x488d2b[_0x16282d(0x26e)])){const {objectID:_0x36c102,objectType:_0x1ab666}=_0x43feb0[_0x16282d(0x17e)][_0x16282d(0x26e)]||{};if(!_0x36c102||_0x1ab666===void 0x0)return!0x1;const _0x5b0e20=_0x7acd99[_0x16282d(0x340)]()+'/'+_0x1ab666+'/object/'+_0x36c102+_0x16282d(0x1c7);if(_0x43feb0[_0x16282d(0x240)]===_0x5b0e20)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x421c9b){var _0x58680d=_0x4dd987,_0x332f78;return(_0x332f78=_0x421c9b[_0x58680d(0x17e)])==null?void 0x0:_0x332f78[_0x58680d(0x26e)];},'mergeParamsToRequest'(_0x648671,_0x69d2f3){var _0x38abbf=_0x4dd987;const _0x54f351=_0x7acd99[_0x38abbf(0x340)]()+_0x38abbf(0x236),_0x3f6384=_0x648671[_0x38abbf(0x7f)]((_0x206f63,_0x13444d)=>{var _0x31fe60=_0x38abbf;const {unitID:_0x3f8d76,objectID:_0x3defc0,objectType:_0x1076d7,actions:_0x5a5dd8}=_0x13444d;return _0x206f63[_0x3f8d76]||(_0x206f63[_0x3f8d76]={}),_0x206f63[_0x3f8d76][_0x3defc0]||(_0x206f63[_0x3f8d76][_0x3defc0]={'objectID':_0x3defc0,'objectType':_0x1076d7,'actions':[]}),_0x206f63[_0x3f8d76][_0x3defc0][_0x31fe60(0x257)][_0x31fe60(0xeb)](..._0x5a5dd8),_0x206f63;},{}),_0x2be439=[];for(const _0x5801f5 in _0x3f6384)for(const _0x1285c0 in _0x3f6384[_0x5801f5]){const {actions:_0x5e645d,objectType:_0x57cfeb}=_0x3f6384[_0x5801f5][_0x1285c0],_0x1f573e=[...new Set(_0x5e645d)];_0x2be439[_0x38abbf(0xeb)]({'unitID':_0x5801f5,'objectID':_0x1285c0,'objectType':_0x57cfeb,'actions':_0x1f573e});}return new z['HTTPRequest'](_0x38abbf(0x214),_0x54f351,{'headers':_0x69d2f3['headers'],'withCredentials':_0x69d2f3[_0x38abbf(0x127)],'responseType':_0x69d2f3[_0x38abbf(0x35a)],'body':{'requests':_0x2be439}});}},{'distributeResult'(_0x5646ff,_0x134d31){var _0x468321=_0x4dd987;const {objectActions:_0x5ed72b}=_0x5646ff;return _0x134d31[_0x468321(0x32c)](_0x125481=>{var _0x3ea319=_0x468321;const {unitID:_0xc2b6da,objectID:_0x3112d7,actions:_0x50305d}=_0x125481,_0x1d7a25=_0x5ed72b['find'](_0x53e817=>_0x53e817[_0x3ea319(0x253)]===_0xc2b6da&&_0x53e817[_0x3ea319(0xff)]===_0x3112d7),_0x1324e1=_0x50305d[_0x3ea319(0x32c)](_0x15f17f=>_0x1d7a25==null?void 0x0:_0x1d7a25[_0x3ea319(0x257)][_0x3ea319(0xa8)](_0x3c58cf=>_0x3c58cf[_0x3ea319(0x269)]===_0x15f17f))[_0x3ea319(0x16f)](_0x372c03=>!!_0x372c03);return{'config':_0x125481,'result':{'actions':_0x1324e1,'error':_0x5646ff[_0x3ea319(0x30b)]}};});}})}));}[_0x271eef(0x340)](){var _0x2fbe58=_0x271eef,_0x39acc1,_0x28c7c4;const _0x456b0f=this[_0x2fbe58(0x107)][_0x2fbe58(0x1db)](Ge),_0xada8ed=this['_configService'][_0x2fbe58(0x1db)](q);return(_0x28c7c4=(_0x39acc1=_0xada8ed==null?void 0x0:_0xada8ed[_0x2fbe58(0x3a7)])!=null?_0x39acc1:_0x456b0f)!=null?_0x28c7c4:Wi;}async['create'](_0x1c914e){var _0xc538aa=_0x271eef;const _0x41a721=this[_0xc538aa(0x340)]()+'/'+_0x1c914e['objectType']+_0xc538aa(0x353);return(await this[_0xc538aa(0x2ff)][_0xc538aa(0xd2)](_0x41a721,{'body':_0x1c914e}))[_0xc538aa(0x26e)][_0xc538aa(0xff)]||'';}async[_0x271eef(0x250)](_0x27b54f){var _0x1072cc=_0x271eef;const _0x5d9ba9=this[_0x1072cc(0x340)]()+_0x1072cc(0x18d);return(await this[_0x1072cc(0x2ff)]['post'](_0x5d9ba9,{'body':_0x27b54f}))[_0x1072cc(0x26e)][_0x1072cc(0x10f)];}async[_0x271eef(0x1bc)](_0x33e5ba){var _0x461922=_0x271eef;const _0x103439=this[_0x461922(0x340)]()+'/'+_0x33e5ba[_0x461922(0xc2)]+'/object/'+_0x33e5ba[_0x461922(0xff)];await this[_0x461922(0x2ff)][_0x461922(0x1ff)](_0x103439,{'body':_0x33e5ba});}async[_0x271eef(0xe9)](_0x1b1986){var _0xc7e06e=_0x271eef;const _0x4263eb=this[_0xc7e06e(0x340)]()+'/'+_0x1b1986[_0xc7e06e(0xc2)]+_0xc7e06e(0x37e)+_0x1b1986['objectID']+_0xc7e06e(0x1c7);return(await this[_0xc7e06e(0x2ff)][_0xc7e06e(0xd2)](_0x4263eb,{'body':_0x1b1986}))[_0xc7e06e(0x26e)][_0xc7e06e(0x257)];}async[_0x271eef(0x151)](_0x249ab6){var _0x13b107=_0x271eef;const _0x16a7e9=this[_0x13b107(0x340)]()+_0x13b107(0x236);return(await this[_0x13b107(0x2ff)][_0x13b107(0xd2)](_0x16a7e9,{'body':{'requests':_0x249ab6}}))[_0x13b107(0x26e)][_0x13b107(0x241)];}async[_0x271eef(0x301)](_0xa84e31){var _0x2c2408=_0x271eef;const _0x4b268c=this[_0x2c2408(0x340)]()+'/'+_0xa84e31[_0x2c2408(0xc2)]+_0x2c2408(0x21a),_0x548b50=await this[_0x2c2408(0x2ff)][_0x2c2408(0xd2)](_0x4b268c,{'body':_0xa84e31});return{'roles':_0x548b50[_0x2c2408(0x26e)][_0x2c2408(0x21d)],'actions':_0x548b50[_0x2c2408(0x26e)][_0x2c2408(0x257)]};}async[_0x271eef(0x389)](_0xd069ee){var _0x41b5c2=_0x271eef;const _0x1bdf44=this['_getAPIPrefixPath']()+_0x41b5c2(0xfc);await this[_0x41b5c2(0x2ff)]['delete'](_0x1bdf44,{'params':{'collaboratorID':_0xd069ee[_0x41b5c2(0x6c)],'objectID':_0xd069ee[_0x41b5c2(0xff)],'unitID':_0xd069ee[_0x41b5c2(0x253)]}});}async[_0x271eef(0x16b)](_0x18ef61){var _0x49c352=_0x271eef;const _0x316455=this[_0x49c352(0x340)]()+'/collaborator';await this[_0x49c352(0x2ff)][_0x49c352(0x176)](_0x316455,{'body':_0x18ef61});}async[_0x271eef(0x25b)](_0x557221){var _0x2b349d=_0x271eef;const _0xf97aa4=this[_0x2b349d(0x340)]()+_0x2b349d(0xfc);await this[_0x2b349d(0x2ff)][_0x2b349d(0xd2)](_0xf97aa4,{'body':_0x557221});}async[_0x271eef(0x2e6)](_0x4d577f){var _0x4eede6=_0x271eef;const _0x144e24=this[_0x4eede6(0x340)]()+_0x4eede6(0xfc);return(await this[_0x4eede6(0x2ff)][_0x4eede6(0x25f)](_0x144e24,{'params':{'objectID':_0x4d577f[_0x4eede6(0xff)],'unitID':_0x4d577f['unitID']}}))[_0x4eede6(0x26e)][_0x4eede6(0x123)];}async[_0x271eef(0x328)](_0x31103d){var _0x25cfa6=_0x271eef;const _0x4d5315=this['_getAPIPrefixPath']()+_0x25cfa6(0xfc);await this[_0x25cfa6(0x2ff)][_0x25cfa6(0x1ff)](_0x4d5315,{'body':_0x31103d});}},exports[_0x271eef(0x16e)]=Fi([Xe(0x0,a[_0x271eef(0x16d)](z[_0x271eef(0x112)])),Xe(0x1,a[_0x271eef(0x16d)](a[_0x271eef(0x2ec)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x271e9c){var _0x54a796=_0x271eef;return _0x271e9c&&_0x271e9c[_0x54a796(0x318)]&&Object[_0x54a796(0x90)][_0x54a796(0x1ad)][_0x54a796(0x183)](_0x271e9c,_0x54a796(0x3d9))?_0x271e9c[_0x54a796(0x3d9)]:_0x271e9c;}var Se={'exports':{}};function Vi(_0x342563){var _0x4dba91=_0x271eef;throw new Error(_0x4dba91(0x265)+_0x342563+_0x4dba91(0x2bc));}var pe={'exports':{}},Gi=pe[_0x271eef(0x3b9)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x4bf51d,_0x3f3859){(function(_0x54835d,_0x12274a){var _0x59f88f=_0x5df3;_0x4bf51d[_0x59f88f(0x3b9)]=_0x12274a();}(Gi,function(){var _0x38e3bd=_0x38e3bd||function(_0x4b118f,_0x23bf51){var _0x2b146f=_0x5df3,_0x94bba8;if(typeof window<'u'&&window[_0x2b146f(0x375)]&&(_0x94bba8=window[_0x2b146f(0x375)]),typeof self<'u'&&self[_0x2b146f(0x375)]&&(_0x94bba8=self[_0x2b146f(0x375)]),typeof globalThis<'u'&&globalThis[_0x2b146f(0x375)]&&(_0x94bba8=globalThis['crypto']),!_0x94bba8&&typeof window<'u'&&window[_0x2b146f(0x3c8)]&&(_0x94bba8=window['msCrypto']),!_0x94bba8&&typeof Le<'u'&&Le['crypto']&&(_0x94bba8=Le['crypto']),!_0x94bba8&&typeof Vi==_0x2b146f(0x22c))try{_0x94bba8=require('crypto');}catch{}var _0x35b90f=function(){var _0x11d14f=_0x2b146f;if(_0x94bba8){if(typeof _0x94bba8[_0x11d14f(0x2a1)]=='function')try{return _0x94bba8[_0x11d14f(0x2a1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x94bba8[_0x11d14f(0x1b0)]==_0x11d14f(0x22c))try{return _0x94bba8[_0x11d14f(0x1b0)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x11d14f(0x34f));},_0x5dc62e=Object['create']||(function(){function _0x3e4f65(){}return function(_0x1e82aa){var _0xe39920=_0x5df3,_0x951838;return _0x3e4f65[_0xe39920(0x90)]=_0x1e82aa,_0x951838=new _0x3e4f65(),_0x3e4f65['prototype']=null,_0x951838;};}()),_0x1af421={},_0x41a8dc=_0x1af421[_0x2b146f(0x260)]={},_0x57532e=_0x41a8dc['Base']=(function(){return{'extend':function(_0x552061){var _0x48e0fc=_0x5df3,_0x3b0f5a=_0x5dc62e(this);return _0x552061&&_0x3b0f5a[_0x48e0fc(0x34b)](_0x552061),(!_0x3b0f5a[_0x48e0fc(0x1ad)](_0x48e0fc(0x12b))||this[_0x48e0fc(0x12b)]===_0x3b0f5a[_0x48e0fc(0x12b)])&&(_0x3b0f5a[_0x48e0fc(0x12b)]=function(){var _0x23eb50=_0x48e0fc;_0x3b0f5a['$super'][_0x23eb50(0x12b)][_0x23eb50(0x2be)](this,arguments);}),_0x3b0f5a['init'][_0x48e0fc(0x90)]=_0x3b0f5a,_0x3b0f5a[_0x48e0fc(0x298)]=this,_0x3b0f5a;},'create':function(){var _0x5898b4=_0x5df3,_0x583977=this[_0x5898b4(0x18b)]();return _0x583977['init'][_0x5898b4(0x2be)](_0x583977,arguments),_0x583977;},'init':function(){},'mixIn':function(_0x330d7f){var _0x5d9295=_0x5df3;for(var _0x498d4d in _0x330d7f)_0x330d7f[_0x5d9295(0x1ad)](_0x498d4d)&&(this[_0x498d4d]=_0x330d7f[_0x498d4d]);_0x330d7f['hasOwnProperty']('toString')&&(this['toString']=_0x330d7f[_0x5d9295(0x39a)]);},'clone':function(){var _0x1f6fbb=_0x5df3;return this['init'][_0x1f6fbb(0x90)][_0x1f6fbb(0x18b)](this);}};}()),_0xf30516=_0x41a8dc[_0x2b146f(0x3aa)]=_0x57532e['extend']({'init':function(_0xce53f,_0x5e01ac){var _0x12e1a4=_0x2b146f;_0xce53f=this[_0x12e1a4(0x15f)]=_0xce53f||[],_0x5e01ac!=_0x23bf51?this['sigBytes']=_0x5e01ac:this['sigBytes']=_0xce53f[_0x12e1a4(0x7a)]*0x4;},'toString':function(_0x1e65b0){var _0x3654a5=_0x2b146f;return(_0x1e65b0||_0x5c7dea)[_0x3654a5(0x71)](this);},'concat':function(_0x540589){var _0x141352=_0x2b146f,_0x36e448=this[_0x141352(0x15f)],_0x5a9cf7=_0x540589['words'],_0x29e356=this[_0x141352(0x1ee)],_0x4e72e2=_0x540589[_0x141352(0x1ee)];if(this[_0x141352(0x1ef)](),_0x29e356%0x4)for(var _0x4d716b=0x0;_0x4d716b<_0x4e72e2;_0x4d716b++){var _0x1ccc81=_0x5a9cf7[_0x4d716b>>>0x2]>>>0x18-_0x4d716b%0x4*0x8&0xff;_0x36e448[_0x29e356+_0x4d716b>>>0x2]|=_0x1ccc81<<0x18-(_0x29e356+_0x4d716b)%0x4*0x8;}else{for(var _0x1b5e9a=0x0;_0x1b5e9a<_0x4e72e2;_0x1b5e9a+=0x4)_0x36e448[_0x29e356+_0x1b5e9a>>>0x2]=_0x5a9cf7[_0x1b5e9a>>>0x2];}return this[_0x141352(0x1ee)]+=_0x4e72e2,this;},'clamp':function(){var _0x2e999c=_0x2b146f,_0x5ede74=this[_0x2e999c(0x15f)],_0x333dd2=this[_0x2e999c(0x1ee)];_0x5ede74[_0x333dd2>>>0x2]&=0xffffffff<<0x20-_0x333dd2%0x4*0x8,_0x5ede74[_0x2e999c(0x7a)]=_0x4b118f['ceil'](_0x333dd2/0x4);},'clone':function(){var _0xe23e1c=_0x2b146f,_0x240126=_0x57532e[_0xe23e1c(0x1e4)][_0xe23e1c(0x183)](this);return _0x240126[_0xe23e1c(0x15f)]=this[_0xe23e1c(0x15f)][_0xe23e1c(0x1d8)](0x0),_0x240126;},'random':function(_0x21d427){var _0xcf0f19=_0x2b146f;for(var _0x33962d=[],_0x8f5850=0x0;_0x8f5850<_0x21d427;_0x8f5850+=0x4)_0x33962d['push'](_0x35b90f());return new _0xf30516[(_0xcf0f19(0x12b))](_0x33962d,_0x21d427);}}),_0x53d3d9=_0x1af421[_0x2b146f(0x325)]={},_0x5c7dea=_0x53d3d9['Hex']={'stringify':function(_0x4a65eb){var _0x2291a0=_0x2b146f;for(var _0x255969=_0x4a65eb[_0x2291a0(0x15f)],_0x1c0c0e=_0x4a65eb[_0x2291a0(0x1ee)],_0x5ab5f8=[],_0x300154=0x0;_0x300154<_0x1c0c0e;_0x300154++){var _0x4a19c1=_0x255969[_0x300154>>>0x2]>>>0x18-_0x300154%0x4*0x8&0xff;_0x5ab5f8['push']((_0x4a19c1>>>0x4)[_0x2291a0(0x39a)](0x10)),_0x5ab5f8[_0x2291a0(0xeb)]((_0x4a19c1&0xf)['toString'](0x10));}return _0x5ab5f8[_0x2291a0(0x192)]('');},'parse':function(_0x34e54e){var _0x3107bf=_0x2b146f;for(var _0x37076d=_0x34e54e[_0x3107bf(0x7a)],_0x5ef5d6=[],_0xb55ab2=0x0;_0xb55ab2<_0x37076d;_0xb55ab2+=0x2)_0x5ef5d6[_0xb55ab2>>>0x3]|=parseInt(_0x34e54e[_0x3107bf(0x203)](_0xb55ab2,0x2),0x10)<<0x18-_0xb55ab2%0x8*0x4;return new _0xf30516['init'](_0x5ef5d6,_0x37076d/0x2);}},_0x2dd883=_0x53d3d9[_0x2b146f(0x324)]={'stringify':function(_0x26ec18){var _0x487aff=_0x2b146f;for(var _0x99b55a=_0x26ec18['words'],_0x250323=_0x26ec18['sigBytes'],_0x10e475=[],_0x3d9f90=0x0;_0x3d9f90<_0x250323;_0x3d9f90++){var _0x45ef04=_0x99b55a[_0x3d9f90>>>0x2]>>>0x18-_0x3d9f90%0x4*0x8&0xff;_0x10e475[_0x487aff(0xeb)](String['fromCharCode'](_0x45ef04));}return _0x10e475[_0x487aff(0x192)]('');},'parse':function(_0x35e694){var _0x53c314=_0x2b146f;for(var _0x1b0604=_0x35e694[_0x53c314(0x7a)],_0x29215b=[],_0x45db93=0x0;_0x45db93<_0x1b0604;_0x45db93++)_0x29215b[_0x45db93>>>0x2]|=(_0x35e694['charCodeAt'](_0x45db93)&0xff)<<0x18-_0x45db93%0x4*0x8;return new _0xf30516[(_0x53c314(0x12b))](_0x29215b,_0x1b0604);}},_0x53ee14=_0x53d3d9['Utf8']={'stringify':function(_0x48d912){var _0x36bff3=_0x2b146f;try{return decodeURIComponent(escape(_0x2dd883[_0x36bff3(0x71)](_0x48d912)));}catch{throw new Error(_0x36bff3(0x19c));}},'parse':function(_0x55abfc){var _0xa2cd77=_0x2b146f;return _0x2dd883[_0xa2cd77(0x277)](unescape(encodeURIComponent(_0x55abfc)));}},_0x3100bf=_0x41a8dc[_0x2b146f(0x15e)]=_0x57532e[_0x2b146f(0x18b)]({'reset':function(){var _0x198b24=_0x2b146f;this[_0x198b24(0x1cc)]=new _0xf30516[(_0x198b24(0x12b))](),this['_nDataBytes']=0x0;},'_append':function(_0x4e9398){var _0x1649eb=_0x2b146f;typeof _0x4e9398==_0x1649eb(0x3ce)&&(_0x4e9398=_0x53ee14[_0x1649eb(0x277)](_0x4e9398)),this['_data'][_0x1649eb(0x1b9)](_0x4e9398),this[_0x1649eb(0x286)]+=_0x4e9398[_0x1649eb(0x1ee)];},'_process':function(_0x2c00cc){var _0x3e17c4=_0x2b146f,_0x5769a1,_0x62b36f=this['_data'],_0x38740c=_0x62b36f[_0x3e17c4(0x15f)],_0x12f9ef=_0x62b36f['sigBytes'],_0x4a2642=this[_0x3e17c4(0x13a)],_0x150974=_0x4a2642*0x4,_0x46622f=_0x12f9ef/_0x150974;_0x2c00cc?_0x46622f=_0x4b118f['ceil'](_0x46622f):_0x46622f=_0x4b118f[_0x3e17c4(0x8c)]((_0x46622f|0x0)-this[_0x3e17c4(0x24f)],0x0);var _0x1aa6ac=_0x46622f*_0x4a2642,_0x209ec5=_0x4b118f[_0x3e17c4(0x2c7)](_0x1aa6ac*0x4,_0x12f9ef);if(_0x1aa6ac){for(var _0x22eae6=0x0;_0x22eae6<_0x1aa6ac;_0x22eae6+=_0x4a2642)this[_0x3e17c4(0x2f8)](_0x38740c,_0x22eae6);_0x5769a1=_0x38740c[_0x3e17c4(0x2e2)](0x0,_0x1aa6ac),_0x62b36f[_0x3e17c4(0x1ee)]-=_0x209ec5;}return new _0xf30516[(_0x3e17c4(0x12b))](_0x5769a1,_0x209ec5);},'clone':function(){var _0x11625e=_0x2b146f,_0x4c7c85=_0x57532e[_0x11625e(0x1e4)][_0x11625e(0x183)](this);return _0x4c7c85[_0x11625e(0x1cc)]=this[_0x11625e(0x1cc)][_0x11625e(0x1e4)](),_0x4c7c85;},'_minBufferSize':0x0});_0x41a8dc[_0x2b146f(0x2d6)]=_0x3100bf[_0x2b146f(0x18b)]({'cfg':_0x57532e['extend'](),'init':function(_0x1d272f){var _0x232db4=_0x2b146f;this[_0x232db4(0x169)]=this[_0x232db4(0x169)][_0x232db4(0x18b)](_0x1d272f),this[_0x232db4(0x19f)]();},'reset':function(){var _0x427b3c=_0x2b146f;_0x3100bf[_0x427b3c(0x19f)][_0x427b3c(0x183)](this),this[_0x427b3c(0x229)]();},'update':function(_0x339e36){var _0x1b294f=_0x2b146f;return this['_append'](_0x339e36),this[_0x1b294f(0x2d4)](),this;},'finalize':function(_0x289727){var _0x81b3f2=_0x2b146f;_0x289727&&this[_0x81b3f2(0x18f)](_0x289727);var _0xcf4dbc=this[_0x81b3f2(0x366)]();return _0xcf4dbc;},'blockSize':0x10,'_createHelper':function(_0x3c0c42){return function(_0x531b38,_0x520275){var _0x487bbc=_0x5df3;return new _0x3c0c42[(_0x487bbc(0x12b))](_0x520275)[_0x487bbc(0xba)](_0x531b38);};},'_createHmacHelper':function(_0x29ee91){return function(_0x3a1e2b,_0x400ca0){var _0x39a50d=_0x5df3;return new _0x11d295[(_0x39a50d(0x167))]['init'](_0x29ee91,_0x400ca0)[_0x39a50d(0xba)](_0x3a1e2b);};}});var _0x11d295=_0x1af421[_0x2b146f(0x2d1)]={};return _0x1af421;}(Math);return _0x38e3bd;}));}(pe)),pe['exports'];}var ge={'exports':{}},Ki=ge[_0x271eef(0x3b9)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x30d8fe,_0x98cef5){(function(_0x1b7f1d,_0x2a8284){var _0x59e4fa=_0x5df3;_0x30d8fe[_0x59e4fa(0x3b9)]=_0x2a8284(ee());}(Ki,function(_0x575941){var _0x84d9b0=_0x5df3;return(function(){var _0x3625c1=_0x5df3,_0xb79dbb=_0x575941,_0x3b088f=_0xb79dbb[_0x3625c1(0x260)],_0x5b1a5e=_0x3b088f['WordArray'],_0x1f8d22=_0xb79dbb[_0x3625c1(0x325)];_0x1f8d22['Base64']={'stringify':function(_0x52426c){var _0x5aeeb9=_0x3625c1,_0x1615c1=_0x52426c[_0x5aeeb9(0x15f)],_0x16900d=_0x52426c['sigBytes'],_0x14f852=this[_0x5aeeb9(0xd7)];_0x52426c[_0x5aeeb9(0x1ef)]();for(var _0x1ca098=[],_0x52c129=0x0;_0x52c129<_0x16900d;_0x52c129+=0x3)for(var _0xd133f7=_0x1615c1[_0x52c129>>>0x2]>>>0x18-_0x52c129%0x4*0x8&0xff,_0x19240c=_0x1615c1[_0x52c129+0x1>>>0x2]>>>0x18-(_0x52c129+0x1)%0x4*0x8&0xff,_0x10dd66=_0x1615c1[_0x52c129+0x2>>>0x2]>>>0x18-(_0x52c129+0x2)%0x4*0x8&0xff,_0x14869c=_0xd133f7<<0x10|_0x19240c<<0x8|_0x10dd66,_0x300db1=0x0;_0x300db1<0x4&&_0x52c129+_0x300db1*0.75<_0x16900d;_0x300db1++)_0x1ca098[_0x5aeeb9(0xeb)](_0x14f852[_0x5aeeb9(0x295)](_0x14869c>>>0x6*(0x3-_0x300db1)&0x3f));var _0x20a77e=_0x14f852[_0x5aeeb9(0x295)](0x40);if(_0x20a77e){for(;_0x1ca098[_0x5aeeb9(0x7a)]%0x4;)_0x1ca098[_0x5aeeb9(0xeb)](_0x20a77e);}return _0x1ca098['join']('');},'parse':function(_0x5650df){var _0x58ff72=_0x3625c1,_0x2197d8=_0x5650df[_0x58ff72(0x7a)],_0x17ba29=this[_0x58ff72(0xd7)],_0x595d6d=this[_0x58ff72(0x195)];if(!_0x595d6d){_0x595d6d=this[_0x58ff72(0x195)]=[];for(var _0x5e9e58=0x0;_0x5e9e58<_0x17ba29[_0x58ff72(0x7a)];_0x5e9e58++)_0x595d6d[_0x17ba29['charCodeAt'](_0x5e9e58)]=_0x5e9e58;}var _0x3c9233=_0x17ba29[_0x58ff72(0x295)](0x40);if(_0x3c9233){var _0xdd1f6b=_0x5650df[_0x58ff72(0x397)](_0x3c9233);_0xdd1f6b!==-0x1&&(_0x2197d8=_0xdd1f6b);}return _0x45f9b6(_0x5650df,_0x2197d8,_0x595d6d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x45f9b6(_0x1dc686,_0x2ae7bc,_0xca8f95){var _0x515b20=_0x3625c1;for(var _0x465cdb=[],_0x16da34=0x0,_0x50a1c0=0x0;_0x50a1c0<_0x2ae7bc;_0x50a1c0++)if(_0x50a1c0%0x4){var _0x44c992=_0xca8f95[_0x1dc686[_0x515b20(0x2f2)](_0x50a1c0-0x1)]<<_0x50a1c0%0x4*0x2,_0x4b4c5b=_0xca8f95[_0x1dc686[_0x515b20(0x2f2)](_0x50a1c0)]>>>0x6-_0x50a1c0%0x4*0x2,_0x23b414=_0x44c992|_0x4b4c5b;_0x465cdb[_0x16da34>>>0x2]|=_0x23b414<<0x18-_0x16da34%0x4*0x8,_0x16da34++;}return _0x5b1a5e['create'](_0x465cdb,_0x16da34);}}()),_0x575941[_0x84d9b0(0x325)][_0x84d9b0(0x100)];}));}(ge)),ge['exports'];}var me={'exports':{}},Yi=me[_0x271eef(0x3b9)],et;function qi(){var _0x146219=_0x271eef;return et||(et=0x1,function(_0x4b6508,_0x244671){(function(_0x185d2e,_0x5a46f7){_0x4b6508['exports']=_0x5a46f7(ee());}(Yi,function(_0x253a9b){var _0x5509ba=_0x5df3;return function(_0x54962a){var _0x320453=_0x5df3,_0x4fb5f7=_0x253a9b,_0x4aa2ec=_0x4fb5f7[_0x320453(0x260)],_0x41a5ae=_0x4aa2ec['WordArray'],_0x2a2cf=_0x4aa2ec[_0x320453(0x2d6)],_0x1c5d07=_0x4fb5f7['algo'],_0x25897b=[];(function(){var _0x2247b6=_0x320453;for(var _0x1b89b0=0x0;_0x1b89b0<0x40;_0x1b89b0++)_0x25897b[_0x1b89b0]=_0x54962a[_0x2247b6(0x17a)](_0x54962a[_0x2247b6(0x27a)](_0x1b89b0+0x1))*0x100000000|0x0;}());var _0x4914a6=_0x1c5d07['MD5']=_0x2a2cf[_0x320453(0x18b)]({'_doReset':function(){var _0x17c5ae=_0x320453;this[_0x17c5ae(0x207)]=new _0x41a5ae[(_0x17c5ae(0x12b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2c1090,_0x1ec5db){var _0x20fdb7=_0x320453;for(var _0x158575=0x0;_0x158575<0x10;_0x158575++){var _0x1f3adc=_0x1ec5db+_0x158575,_0x5a43de=_0x2c1090[_0x1f3adc];_0x2c1090[_0x1f3adc]=(_0x5a43de<<0x8|_0x5a43de>>>0x18)&0xff00ff|(_0x5a43de<<0x18|_0x5a43de>>>0x8)&0xff00ff00;}var _0x5658c7=this[_0x20fdb7(0x207)][_0x20fdb7(0x15f)],_0x234208=_0x2c1090[_0x1ec5db+0x0],_0x187fbd=_0x2c1090[_0x1ec5db+0x1],_0x3fa951=_0x2c1090[_0x1ec5db+0x2],_0x52c565=_0x2c1090[_0x1ec5db+0x3],_0xe4ea27=_0x2c1090[_0x1ec5db+0x4],_0x160372=_0x2c1090[_0x1ec5db+0x5],_0xda522c=_0x2c1090[_0x1ec5db+0x6],_0xe8efb2=_0x2c1090[_0x1ec5db+0x7],_0x153e86=_0x2c1090[_0x1ec5db+0x8],_0x53a844=_0x2c1090[_0x1ec5db+0x9],_0x1e45d2=_0x2c1090[_0x1ec5db+0xa],_0x20cd42=_0x2c1090[_0x1ec5db+0xb],_0x4601a3=_0x2c1090[_0x1ec5db+0xc],_0x219acb=_0x2c1090[_0x1ec5db+0xd],_0x4258c6=_0x2c1090[_0x1ec5db+0xe],_0x2d6d46=_0x2c1090[_0x1ec5db+0xf],_0x142d2e=_0x5658c7[0x0],_0x48f1fb=_0x5658c7[0x1],_0x3c0b1c=_0x5658c7[0x2],_0x3dcdfa=_0x5658c7[0x3];_0x142d2e=_0x35e73b(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x234208,0x7,_0x25897b[0x0]),_0x3dcdfa=_0x35e73b(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x187fbd,0xc,_0x25897b[0x1]),_0x3c0b1c=_0x35e73b(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3fa951,0x11,_0x25897b[0x2]),_0x48f1fb=_0x35e73b(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x52c565,0x16,_0x25897b[0x3]),_0x142d2e=_0x35e73b(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0xe4ea27,0x7,_0x25897b[0x4]),_0x3dcdfa=_0x35e73b(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x160372,0xc,_0x25897b[0x5]),_0x3c0b1c=_0x35e73b(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0xda522c,0x11,_0x25897b[0x6]),_0x48f1fb=_0x35e73b(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0xe8efb2,0x16,_0x25897b[0x7]),_0x142d2e=_0x35e73b(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x153e86,0x7,_0x25897b[0x8]),_0x3dcdfa=_0x35e73b(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x53a844,0xc,_0x25897b[0x9]),_0x3c0b1c=_0x35e73b(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x1e45d2,0x11,_0x25897b[0xa]),_0x48f1fb=_0x35e73b(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x20cd42,0x16,_0x25897b[0xb]),_0x142d2e=_0x35e73b(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x4601a3,0x7,_0x25897b[0xc]),_0x3dcdfa=_0x35e73b(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x219acb,0xc,_0x25897b[0xd]),_0x3c0b1c=_0x35e73b(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x4258c6,0x11,_0x25897b[0xe]),_0x48f1fb=_0x35e73b(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x2d6d46,0x16,_0x25897b[0xf]),_0x142d2e=_0x10a643(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x187fbd,0x5,_0x25897b[0x10]),_0x3dcdfa=_0x10a643(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0xda522c,0x9,_0x25897b[0x11]),_0x3c0b1c=_0x10a643(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x20cd42,0xe,_0x25897b[0x12]),_0x48f1fb=_0x10a643(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x234208,0x14,_0x25897b[0x13]),_0x142d2e=_0x10a643(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x160372,0x5,_0x25897b[0x14]),_0x3dcdfa=_0x10a643(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x1e45d2,0x9,_0x25897b[0x15]),_0x3c0b1c=_0x10a643(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x2d6d46,0xe,_0x25897b[0x16]),_0x48f1fb=_0x10a643(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0xe4ea27,0x14,_0x25897b[0x17]),_0x142d2e=_0x10a643(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x53a844,0x5,_0x25897b[0x18]),_0x3dcdfa=_0x10a643(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x4258c6,0x9,_0x25897b[0x19]),_0x3c0b1c=_0x10a643(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x52c565,0xe,_0x25897b[0x1a]),_0x48f1fb=_0x10a643(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x153e86,0x14,_0x25897b[0x1b]),_0x142d2e=_0x10a643(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x219acb,0x5,_0x25897b[0x1c]),_0x3dcdfa=_0x10a643(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3fa951,0x9,_0x25897b[0x1d]),_0x3c0b1c=_0x10a643(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0xe8efb2,0xe,_0x25897b[0x1e]),_0x48f1fb=_0x10a643(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x4601a3,0x14,_0x25897b[0x1f]),_0x142d2e=_0x3e5d6e(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x160372,0x4,_0x25897b[0x20]),_0x3dcdfa=_0x3e5d6e(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x153e86,0xb,_0x25897b[0x21]),_0x3c0b1c=_0x3e5d6e(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x20cd42,0x10,_0x25897b[0x22]),_0x48f1fb=_0x3e5d6e(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x4258c6,0x17,_0x25897b[0x23]),_0x142d2e=_0x3e5d6e(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x187fbd,0x4,_0x25897b[0x24]),_0x3dcdfa=_0x3e5d6e(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0xe4ea27,0xb,_0x25897b[0x25]),_0x3c0b1c=_0x3e5d6e(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0xe8efb2,0x10,_0x25897b[0x26]),_0x48f1fb=_0x3e5d6e(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x1e45d2,0x17,_0x25897b[0x27]),_0x142d2e=_0x3e5d6e(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x219acb,0x4,_0x25897b[0x28]),_0x3dcdfa=_0x3e5d6e(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x234208,0xb,_0x25897b[0x29]),_0x3c0b1c=_0x3e5d6e(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x52c565,0x10,_0x25897b[0x2a]),_0x48f1fb=_0x3e5d6e(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0xda522c,0x17,_0x25897b[0x2b]),_0x142d2e=_0x3e5d6e(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x53a844,0x4,_0x25897b[0x2c]),_0x3dcdfa=_0x3e5d6e(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x4601a3,0xb,_0x25897b[0x2d]),_0x3c0b1c=_0x3e5d6e(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x2d6d46,0x10,_0x25897b[0x2e]),_0x48f1fb=_0x3e5d6e(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x3fa951,0x17,_0x25897b[0x2f]),_0x142d2e=_0x559099(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x234208,0x6,_0x25897b[0x30]),_0x3dcdfa=_0x559099(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0xe8efb2,0xa,_0x25897b[0x31]),_0x3c0b1c=_0x559099(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x4258c6,0xf,_0x25897b[0x32]),_0x48f1fb=_0x559099(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x160372,0x15,_0x25897b[0x33]),_0x142d2e=_0x559099(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x4601a3,0x6,_0x25897b[0x34]),_0x3dcdfa=_0x559099(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x52c565,0xa,_0x25897b[0x35]),_0x3c0b1c=_0x559099(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x1e45d2,0xf,_0x25897b[0x36]),_0x48f1fb=_0x559099(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x187fbd,0x15,_0x25897b[0x37]),_0x142d2e=_0x559099(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x153e86,0x6,_0x25897b[0x38]),_0x3dcdfa=_0x559099(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x2d6d46,0xa,_0x25897b[0x39]),_0x3c0b1c=_0x559099(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0xda522c,0xf,_0x25897b[0x3a]),_0x48f1fb=_0x559099(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x219acb,0x15,_0x25897b[0x3b]),_0x142d2e=_0x559099(_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0xe4ea27,0x6,_0x25897b[0x3c]),_0x3dcdfa=_0x559099(_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3c0b1c,_0x20cd42,0xa,_0x25897b[0x3d]),_0x3c0b1c=_0x559099(_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x48f1fb,_0x3fa951,0xf,_0x25897b[0x3e]),_0x48f1fb=_0x559099(_0x48f1fb,_0x3c0b1c,_0x3dcdfa,_0x142d2e,_0x53a844,0x15,_0x25897b[0x3f]),_0x5658c7[0x0]=_0x5658c7[0x0]+_0x142d2e|0x0,_0x5658c7[0x1]=_0x5658c7[0x1]+_0x48f1fb|0x0,_0x5658c7[0x2]=_0x5658c7[0x2]+_0x3c0b1c|0x0,_0x5658c7[0x3]=_0x5658c7[0x3]+_0x3dcdfa|0x0;},'_doFinalize':function(){var _0xf2a927=_0x320453,_0x2002eb=this[_0xf2a927(0x1cc)],_0x5a2ca6=_0x2002eb['words'],_0x1abff0=this['_nDataBytes']*0x8,_0x281589=_0x2002eb['sigBytes']*0x8;_0x5a2ca6[_0x281589>>>0x5]|=0x80<<0x18-_0x281589%0x20;var _0x1e7a8d=_0x54962a[_0xf2a927(0x33b)](_0x1abff0/0x100000000),_0x18133f=_0x1abff0;_0x5a2ca6[(_0x281589+0x40>>>0x9<<0x4)+0xf]=(_0x1e7a8d<<0x8|_0x1e7a8d>>>0x18)&0xff00ff|(_0x1e7a8d<<0x18|_0x1e7a8d>>>0x8)&0xff00ff00,_0x5a2ca6[(_0x281589+0x40>>>0x9<<0x4)+0xe]=(_0x18133f<<0x8|_0x18133f>>>0x18)&0xff00ff|(_0x18133f<<0x18|_0x18133f>>>0x8)&0xff00ff00,_0x2002eb['sigBytes']=(_0x5a2ca6[_0xf2a927(0x7a)]+0x1)*0x4,this[_0xf2a927(0x2d4)]();for(var _0x5a21bc=this[_0xf2a927(0x207)],_0x180709=_0x5a21bc[_0xf2a927(0x15f)],_0x39c687=0x0;_0x39c687<0x4;_0x39c687++){var _0xfc27a6=_0x180709[_0x39c687];_0x180709[_0x39c687]=(_0xfc27a6<<0x8|_0xfc27a6>>>0x18)&0xff00ff|(_0xfc27a6<<0x18|_0xfc27a6>>>0x8)&0xff00ff00;}return _0x5a21bc;},'clone':function(){var _0x3baa88=_0x320453,_0x46edb0=_0x2a2cf[_0x3baa88(0x1e4)][_0x3baa88(0x183)](this);return _0x46edb0['_hash']=this[_0x3baa88(0x207)][_0x3baa88(0x1e4)](),_0x46edb0;}});function _0x35e73b(_0xe4e5a,_0x26d3c0,_0x2e33da,_0x293d67,_0x26a2e8,_0x574905,_0x2f5c52){var _0x13772c=_0xe4e5a+(_0x26d3c0&_0x2e33da|~_0x26d3c0&_0x293d67)+_0x26a2e8+_0x2f5c52;return(_0x13772c<<_0x574905|_0x13772c>>>0x20-_0x574905)+_0x26d3c0;}function _0x10a643(_0x1cb40b,_0x4564a8,_0x28f245,_0x3ce783,_0x906a43,_0x46dfeb,_0x596a1c){var _0x30012b=_0x1cb40b+(_0x4564a8&_0x3ce783|_0x28f245&~_0x3ce783)+_0x906a43+_0x596a1c;return(_0x30012b<<_0x46dfeb|_0x30012b>>>0x20-_0x46dfeb)+_0x4564a8;}function _0x3e5d6e(_0x436abc,_0x2284fc,_0x2fbf66,_0x289d4c,_0x258e77,_0x108e0d,_0xf25577){var _0x16d4ac=_0x436abc+(_0x2284fc^_0x2fbf66^_0x289d4c)+_0x258e77+_0xf25577;return(_0x16d4ac<<_0x108e0d|_0x16d4ac>>>0x20-_0x108e0d)+_0x2284fc;}function _0x559099(_0x4092dd,_0x2d5d0,_0x62fa51,_0x10d9e8,_0x4ec80b,_0x5e4686,_0x1560da){var _0x41d2c0=_0x4092dd+(_0x62fa51^(_0x2d5d0|~_0x10d9e8))+_0x4ec80b+_0x1560da;return(_0x41d2c0<<_0x5e4686|_0x41d2c0>>>0x20-_0x5e4686)+_0x2d5d0;}_0x4fb5f7[_0x320453(0x9d)]=_0x2a2cf[_0x320453(0x305)](_0x4914a6),_0x4fb5f7['HmacMD5']=_0x2a2cf[_0x320453(0xad)](_0x4914a6);}(Math),_0x253a9b[_0x5509ba(0x9d)];}));}(me)),me[_0x146219(0x3b9)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee[_0x271eef(0x3b9)],tt;function Ji(){return tt||(tt=0x1,function(_0x228025,_0x5c83a9){(function(_0xc53203,_0x43f7ae){_0x228025['exports']=_0x43f7ae(ee());}(zi,function(_0x4558ad){return(function(){var _0x159af6=_0x5df3,_0x23a73d=_0x4558ad,_0x2ba356=_0x23a73d['lib'],_0x598e55=_0x2ba356[_0x159af6(0x3aa)],_0x487995=_0x2ba356[_0x159af6(0x2d6)],_0x401e06=_0x23a73d[_0x159af6(0x2d1)],_0xfd8ed3=[],_0x4d617d=_0x401e06['SHA1']=_0x487995[_0x159af6(0x18b)]({'_doReset':function(){var _0x434291=_0x159af6;this[_0x434291(0x207)]=new _0x598e55[(_0x434291(0x12b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xaa4a99,_0x3c8754){var _0x1794ab=_0x159af6;for(var _0x4fad52=this[_0x1794ab(0x207)][_0x1794ab(0x15f)],_0x2c4e66=_0x4fad52[0x0],_0x22481b=_0x4fad52[0x1],_0x1351da=_0x4fad52[0x2],_0x551603=_0x4fad52[0x3],_0x591875=_0x4fad52[0x4],_0x492984=0x0;_0x492984<0x50;_0x492984++){if(_0x492984<0x10)_0xfd8ed3[_0x492984]=_0xaa4a99[_0x3c8754+_0x492984]|0x0;else{var _0x3608e6=_0xfd8ed3[_0x492984-0x3]^_0xfd8ed3[_0x492984-0x8]^_0xfd8ed3[_0x492984-0xe]^_0xfd8ed3[_0x492984-0x10];_0xfd8ed3[_0x492984]=_0x3608e6<<0x1|_0x3608e6>>>0x1f;}var _0x119915=(_0x2c4e66<<0x5|_0x2c4e66>>>0x1b)+_0x591875+_0xfd8ed3[_0x492984];_0x492984<0x14?_0x119915+=(_0x22481b&_0x1351da|~_0x22481b&_0x551603)+0x5a827999:_0x492984<0x28?_0x119915+=(_0x22481b^_0x1351da^_0x551603)+0x6ed9eba1:_0x492984<0x3c?_0x119915+=(_0x22481b&_0x1351da|_0x22481b&_0x551603|_0x1351da&_0x551603)-0x70e44324:_0x119915+=(_0x22481b^_0x1351da^_0x551603)-0x359d3e2a,_0x591875=_0x551603,_0x551603=_0x1351da,_0x1351da=_0x22481b<<0x1e|_0x22481b>>>0x2,_0x22481b=_0x2c4e66,_0x2c4e66=_0x119915;}_0x4fad52[0x0]=_0x4fad52[0x0]+_0x2c4e66|0x0,_0x4fad52[0x1]=_0x4fad52[0x1]+_0x22481b|0x0,_0x4fad52[0x2]=_0x4fad52[0x2]+_0x1351da|0x0,_0x4fad52[0x3]=_0x4fad52[0x3]+_0x551603|0x0,_0x4fad52[0x4]=_0x4fad52[0x4]+_0x591875|0x0;},'_doFinalize':function(){var _0x49b84d=_0x159af6,_0x3a75d1=this['_data'],_0x276d6b=_0x3a75d1[_0x49b84d(0x15f)],_0x5c0dcc=this[_0x49b84d(0x286)]*0x8,_0x446b24=_0x3a75d1['sigBytes']*0x8;return _0x276d6b[_0x446b24>>>0x5]|=0x80<<0x18-_0x446b24%0x20,_0x276d6b[(_0x446b24+0x40>>>0x9<<0x4)+0xe]=Math[_0x49b84d(0x33b)](_0x5c0dcc/0x100000000),_0x276d6b[(_0x446b24+0x40>>>0x9<<0x4)+0xf]=_0x5c0dcc,_0x3a75d1['sigBytes']=_0x276d6b[_0x49b84d(0x7a)]*0x4,this[_0x49b84d(0x2d4)](),this[_0x49b84d(0x207)];},'clone':function(){var _0x6a7c8d=_0x159af6,_0x3000e3=_0x487995[_0x6a7c8d(0x1e4)]['call'](this);return _0x3000e3['_hash']=this[_0x6a7c8d(0x207)][_0x6a7c8d(0x1e4)](),_0x3000e3;}});_0x23a73d[_0x159af6(0x1d4)]=_0x487995['_createHelper'](_0x4d617d),_0x23a73d[_0x159af6(0x221)]=_0x487995['_createHmacHelper'](_0x4d617d);}()),_0x4558ad['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Xi=Ce[_0x271eef(0x3b9)],it;function Zi(){var _0x6e576a=_0x271eef;return it||(it=0x1,function(_0x14dc58,_0x18e5e7){(function(_0x9b2167,_0xf1f936){var _0x4b7afb=_0x5df3;_0x14dc58[_0x4b7afb(0x3b9)]=_0xf1f936(ee());}(Xi,function(_0x117828){(function(){var _0xde31f7=_0x5df3,_0x5ca1d9=_0x117828,_0xcabc5e=_0x5ca1d9[_0xde31f7(0x260)],_0x574094=_0xcabc5e[_0xde31f7(0x1bd)],_0x32979a=_0x5ca1d9[_0xde31f7(0x325)],_0x4bbbeb=_0x32979a['Utf8'],_0x4db57a=_0x5ca1d9['algo'];_0x4db57a['HMAC']=_0x574094['extend']({'init':function(_0x531914,_0x4a1ad4){var _0x45e801=_0xde31f7;_0x531914=this[_0x45e801(0x310)]=new _0x531914[(_0x45e801(0x12b))](),typeof _0x4a1ad4==_0x45e801(0x3ce)&&(_0x4a1ad4=_0x4bbbeb['parse'](_0x4a1ad4));var _0x13e38a=_0x531914['blockSize'],_0x2948de=_0x13e38a*0x4;_0x4a1ad4['sigBytes']>_0x2948de&&(_0x4a1ad4=_0x531914[_0x45e801(0xba)](_0x4a1ad4)),_0x4a1ad4[_0x45e801(0x1ef)]();for(var _0xfbefa2=this[_0x45e801(0x204)]=_0x4a1ad4[_0x45e801(0x1e4)](),_0x4a4125=this[_0x45e801(0x314)]=_0x4a1ad4[_0x45e801(0x1e4)](),_0x35dfbb=_0xfbefa2[_0x45e801(0x15f)],_0x4bd256=_0x4a4125[_0x45e801(0x15f)],_0x583be5=0x0;_0x583be5<_0x13e38a;_0x583be5++)_0x35dfbb[_0x583be5]^=0x5c5c5c5c,_0x4bd256[_0x583be5]^=0x36363636;_0xfbefa2[_0x45e801(0x1ee)]=_0x4a4125[_0x45e801(0x1ee)]=_0x2948de,this[_0x45e801(0x19f)]();},'reset':function(){var _0x33d99a=_0xde31f7,_0x3c88c6=this['_hasher'];_0x3c88c6[_0x33d99a(0x19f)](),_0x3c88c6[_0x33d99a(0x1bc)](this[_0x33d99a(0x314)]);},'update':function(_0x24814d){var _0x4f27f8=_0xde31f7;return this[_0x4f27f8(0x310)][_0x4f27f8(0x1bc)](_0x24814d),this;},'finalize':function(_0x3e6947){var _0x560a0b=_0xde31f7,_0xf8f886=this[_0x560a0b(0x310)],_0x4f7035=_0xf8f886[_0x560a0b(0xba)](_0x3e6947);_0xf8f886[_0x560a0b(0x19f)]();var _0x1efebc=_0xf8f886[_0x560a0b(0xba)](this[_0x560a0b(0x204)][_0x560a0b(0x1e4)]()[_0x560a0b(0x1b9)](_0x4f7035));return _0x1efebc;}});}());}));}(Ce)),Ce[_0x6e576a(0x3b9)];}var Qi=Ie['exports'],nt;function Nt(){var _0x387064=_0x271eef;return nt||(nt=0x1,function(_0x2618c8,_0x33e1b2){(function(_0x54da1f,_0x5c90d2,_0x3e54eb){_0x2618c8['exports']=_0x5c90d2(ee(),Ji(),Zi());}(Qi,function(_0x331133){var _0x52db98=_0x5df3;return(function(){var _0x515ee3=_0x5df3,_0x24a07a=_0x331133,_0x24b29a=_0x24a07a['lib'],_0x189aa7=_0x24b29a[_0x515ee3(0x1bd)],_0x523052=_0x24b29a[_0x515ee3(0x3aa)],_0x1772ab=_0x24a07a[_0x515ee3(0x2d1)],_0x2482cd=_0x1772ab[_0x515ee3(0x9d)],_0x3b9e99=_0x1772ab['EvpKDF']=_0x189aa7[_0x515ee3(0x18b)]({'cfg':_0x189aa7[_0x515ee3(0x18b)]({'keySize':0x80/0x20,'hasher':_0x2482cd,'iterations':0x1}),'init':function(_0x200f40){var _0x5c450f=_0x515ee3;this[_0x5c450f(0x169)]=this[_0x5c450f(0x169)][_0x5c450f(0x18b)](_0x200f40);},'compute':function(_0x5a7596,_0x5589e8){var _0xe234b=_0x515ee3;for(var _0x45d75a,_0x3dd1d1=this[_0xe234b(0x169)],_0x461cee=_0x3dd1d1[_0xe234b(0x152)]['create'](),_0x317a45=_0x523052[_0xe234b(0x14a)](),_0x2ddbb1=_0x317a45['words'],_0x2a6063=_0x3dd1d1[_0xe234b(0x319)],_0x3050d0=_0x3dd1d1['iterations'];_0x2ddbb1[_0xe234b(0x7a)]<_0x2a6063;){_0x45d75a&&_0x461cee[_0xe234b(0x1bc)](_0x45d75a),_0x45d75a=_0x461cee[_0xe234b(0x1bc)](_0x5a7596)[_0xe234b(0xba)](_0x5589e8),_0x461cee['reset']();for(var _0x5f2948=0x1;_0x5f2948<_0x3050d0;_0x5f2948++)_0x45d75a=_0x461cee[_0xe234b(0xba)](_0x45d75a),_0x461cee[_0xe234b(0x19f)]();_0x317a45[_0xe234b(0x1b9)](_0x45d75a);}return _0x317a45[_0xe234b(0x1ee)]=_0x2a6063*0x4,_0x317a45;}});_0x24a07a[_0x515ee3(0x220)]=function(_0x53d0b0,_0x1ced15,_0x1659e3){var _0x164292=_0x515ee3;return _0x3b9e99[_0x164292(0x14a)](_0x1659e3)[_0x164292(0xee)](_0x53d0b0,_0x1ced15);};}()),_0x331133[_0x52db98(0x220)];}));}(Ie)),Ie[_0x387064(0x3b9)];}var Te={'exports':{}},en=Te[_0x271eef(0x3b9)],rt;function wt(){var _0x48ffd0=_0x271eef;return rt||(rt=0x1,function(_0x3d46f9,_0x37784f){(function(_0x273669,_0x1378b9,_0xca05ba){var _0x2e0cfc=_0x5df3;_0x3d46f9[_0x2e0cfc(0x3b9)]=_0x1378b9(ee(),Nt());}(en,function(_0x2968fb){var _0x1565a8=_0x5df3;_0x2968fb[_0x1565a8(0x260)][_0x1565a8(0x320)]||function(_0x1d05f2){var _0x2dde24=_0x1565a8,_0x5a499f=_0x2968fb,_0x38008e=_0x5a499f[_0x2dde24(0x260)],_0x4fcdb5=_0x38008e[_0x2dde24(0x1bd)],_0x463cc3=_0x38008e[_0x2dde24(0x3aa)],_0x5269bc=_0x38008e[_0x2dde24(0x15e)],_0x1dddfb=_0x5a499f[_0x2dde24(0x325)];_0x1dddfb[_0x2dde24(0x3a2)];var _0x563193=_0x1dddfb[_0x2dde24(0x100)],_0x4439e9=_0x5a499f[_0x2dde24(0x2d1)],_0x5dd509=_0x4439e9[_0x2dde24(0x220)],_0x29a0cd=_0x38008e[_0x2dde24(0x320)]=_0x5269bc[_0x2dde24(0x18b)]({'cfg':_0x4fcdb5[_0x2dde24(0x18b)](),'createEncryptor':function(_0x5f27a6,_0x26c385){var _0xe6ed35=_0x2dde24;return this[_0xe6ed35(0x14a)](this[_0xe6ed35(0x171)],_0x5f27a6,_0x26c385);},'createDecryptor':function(_0x21d56c,_0x11307a){var _0x1c637d=_0x2dde24;return this[_0x1c637d(0x14a)](this[_0x1c637d(0x232)],_0x21d56c,_0x11307a);},'init':function(_0x1d56f1,_0x6c5f10,_0x581031){var _0x571e1c=_0x2dde24;this[_0x571e1c(0x169)]=this[_0x571e1c(0x169)]['extend'](_0x581031),this[_0x571e1c(0x2f5)]=_0x1d56f1,this['_key']=_0x6c5f10,this['reset']();},'reset':function(){var _0x51ec27=_0x2dde24;_0x5269bc['reset']['call'](this),this[_0x51ec27(0x229)]();},'process':function(_0x296127){var _0x3368b8=_0x2dde24;return this[_0x3368b8(0x18f)](_0x296127),this[_0x3368b8(0x2d4)]();},'finalize':function(_0xa2fcd4){var _0x355cde=_0x2dde24;_0xa2fcd4&&this[_0x355cde(0x18f)](_0xa2fcd4);var _0x54d6bf=this[_0x355cde(0x366)]();return _0x54d6bf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x52168d(_0x2d2919){var _0x46bee1=_0x5df3;return typeof _0x2d2919==_0x46bee1(0x3ce)?_0x8868cc:_0x67fa1f;}return function(_0x5ade3e){return{'encrypt':function(_0xd1eb35,_0x187c3b,_0xff6c50){var _0x511dad=_0x5df3;return _0x52168d(_0x187c3b)[_0x511dad(0x181)](_0x5ade3e,_0xd1eb35,_0x187c3b,_0xff6c50);},'decrypt':function(_0x2628a2,_0x467fd7,_0x65d4f0){var _0x395227=_0x5df3;return _0x52168d(_0x467fd7)[_0x395227(0x342)](_0x5ade3e,_0x2628a2,_0x467fd7,_0x65d4f0);}};};}())});_0x38008e[_0x2dde24(0x337)]=_0x29a0cd[_0x2dde24(0x18b)]({'_doFinalize':function(){var _0x453223=_0x2dde24,_0x2bf027=this[_0x453223(0x2d4)](!0x0);return _0x2bf027;},'blockSize':0x1});var _0xd1e4a0=_0x5a499f[_0x2dde24(0xfa)]={},_0x27961b=_0x38008e['BlockCipherMode']=_0x4fcdb5[_0x2dde24(0x18b)]({'createEncryptor':function(_0x1f8b62,_0x5b9f15){var _0x4d5547=_0x2dde24;return this[_0x4d5547(0x3cf)][_0x4d5547(0x14a)](_0x1f8b62,_0x5b9f15);},'createDecryptor':function(_0x52da9f,_0x248e6e){var _0x534546=_0x2dde24;return this[_0x534546(0xdf)][_0x534546(0x14a)](_0x52da9f,_0x248e6e);},'init':function(_0x323451,_0x130a12){this['_cipher']=_0x323451,this['_iv']=_0x130a12;}}),_0x18d533=_0xd1e4a0[_0x2dde24(0x1af)]=(function(){var _0xd6d776=_0x2dde24,_0x19f25e=_0x27961b[_0xd6d776(0x18b)]();_0x19f25e['Encryptor']=_0x19f25e[_0xd6d776(0x18b)]({'processBlock':function(_0x2681c8,_0x2f2e02){var _0x18ae97=_0xd6d776,_0x23a054=this[_0x18ae97(0x25a)],_0x3581c4=_0x23a054[_0x18ae97(0x13a)];_0x15f78d[_0x18ae97(0x183)](this,_0x2681c8,_0x2f2e02,_0x3581c4),_0x23a054['encryptBlock'](_0x2681c8,_0x2f2e02),this[_0x18ae97(0x245)]=_0x2681c8[_0x18ae97(0x1d8)](_0x2f2e02,_0x2f2e02+_0x3581c4);}}),_0x19f25e[_0xd6d776(0xdf)]=_0x19f25e[_0xd6d776(0x18b)]({'processBlock':function(_0x127170,_0x176166){var _0x2ee241=_0xd6d776,_0x3abded=this[_0x2ee241(0x25a)],_0x33009f=_0x3abded[_0x2ee241(0x13a)],_0x214a2c=_0x127170[_0x2ee241(0x1d8)](_0x176166,_0x176166+_0x33009f);_0x3abded['decryptBlock'](_0x127170,_0x176166),_0x15f78d[_0x2ee241(0x183)](this,_0x127170,_0x176166,_0x33009f),this['_prevBlock']=_0x214a2c;}});function _0x15f78d(_0x4225cb,_0x4f530f,_0x43ee90){var _0x3da508=_0xd6d776,_0x4944a3,_0x1e4230=this[_0x3da508(0x2df)];_0x1e4230?(_0x4944a3=_0x1e4230,this['_iv']=_0x1d05f2):_0x4944a3=this['_prevBlock'];for(var _0x564861=0x0;_0x564861<_0x43ee90;_0x564861++)_0x4225cb[_0x4f530f+_0x564861]^=_0x4944a3[_0x564861];}return _0x19f25e;}()),_0x253a16=_0x5a499f[_0x2dde24(0x2fc)]={},_0x407218=_0x253a16[_0x2dde24(0x273)]={'pad':function(_0x5126cd,_0x3a9df7){var _0x40a237=_0x2dde24;for(var _0x19d9b0=_0x3a9df7*0x4,_0x644b75=_0x19d9b0-_0x5126cd[_0x40a237(0x1ee)]%_0x19d9b0,_0x2ea0ce=_0x644b75<<0x18|_0x644b75<<0x10|_0x644b75<<0x8|_0x644b75,_0x10ff92=[],_0x3f660a=0x0;_0x3f660a<_0x644b75;_0x3f660a+=0x4)_0x10ff92[_0x40a237(0xeb)](_0x2ea0ce);var _0x81d6f6=_0x463cc3[_0x40a237(0x14a)](_0x10ff92,_0x644b75);_0x5126cd[_0x40a237(0x1b9)](_0x81d6f6);},'unpad':function(_0x142029){var _0x3e6a0c=_0x2dde24,_0x1dc984=_0x142029['words'][_0x142029[_0x3e6a0c(0x1ee)]-0x1>>>0x2]&0xff;_0x142029['sigBytes']-=_0x1dc984;}};_0x38008e[_0x2dde24(0x1f4)]=_0x29a0cd[_0x2dde24(0x18b)]({'cfg':_0x29a0cd[_0x2dde24(0x169)][_0x2dde24(0x18b)]({'mode':_0x18d533,'padding':_0x407218}),'reset':function(){var _0x1ee4ab=_0x2dde24,_0x341203;_0x29a0cd['reset'][_0x1ee4ab(0x183)](this);var _0x200e69=this['cfg'],_0x259f6b=_0x200e69['iv'],_0x4c74e1=_0x200e69[_0x1ee4ab(0xfa)];this[_0x1ee4ab(0x2f5)]==this[_0x1ee4ab(0x171)]?_0x341203=_0x4c74e1[_0x1ee4ab(0x2cd)]:(_0x341203=_0x4c74e1[_0x1ee4ab(0x335)],this['_minBufferSize']=0x1),this[_0x1ee4ab(0x359)]&&this[_0x1ee4ab(0x359)]['__creator']==_0x341203?this[_0x1ee4ab(0x359)][_0x1ee4ab(0x12b)](this,_0x259f6b&&_0x259f6b[_0x1ee4ab(0x15f)]):(this['_mode']=_0x341203[_0x1ee4ab(0x183)](_0x4c74e1,this,_0x259f6b&&_0x259f6b[_0x1ee4ab(0x15f)]),this[_0x1ee4ab(0x359)][_0x1ee4ab(0x175)]=_0x341203);},'_doProcessBlock':function(_0x50ac8b,_0x5c8ff7){var _0x4f561d=_0x2dde24;this[_0x4f561d(0x359)][_0x4f561d(0x362)](_0x50ac8b,_0x5c8ff7);},'_doFinalize':function(){var _0x944b8=_0x2dde24,_0x4c9009,_0x26ebae=this['cfg'][_0x944b8(0x164)];return this[_0x944b8(0x2f5)]==this[_0x944b8(0x171)]?(_0x26ebae[_0x944b8(0x2fc)](this[_0x944b8(0x1cc)],this['blockSize']),_0x4c9009=this[_0x944b8(0x2d4)](!0x0)):(_0x4c9009=this[_0x944b8(0x2d4)](!0x0),_0x26ebae[_0x944b8(0x345)](_0x4c9009)),_0x4c9009;},'blockSize':0x80/0x20});var _0x34abda=_0x38008e[_0x2dde24(0x321)]=_0x4fcdb5[_0x2dde24(0x18b)]({'init':function(_0x53fcb1){var _0x549a2f=_0x2dde24;this[_0x549a2f(0x34b)](_0x53fcb1);},'toString':function(_0x22b7df){var _0x5258bb=_0x2dde24;return(_0x22b7df||this['formatter'])[_0x5258bb(0x71)](this);}}),_0xd65472=_0x5a499f[_0x2dde24(0x9f)]={},_0x1f49fa=_0xd65472[_0x2dde24(0x1a8)]={'stringify':function(_0x3be869){var _0x1624d4=_0x2dde24,_0x41256a,_0x47d618=_0x3be869[_0x1624d4(0x89)],_0x92ccb=_0x3be869['salt'];return _0x92ccb?_0x41256a=_0x463cc3[_0x1624d4(0x14a)]([0x53616c74,0x65645f5f])['concat'](_0x92ccb)[_0x1624d4(0x1b9)](_0x47d618):_0x41256a=_0x47d618,_0x41256a[_0x1624d4(0x39a)](_0x563193);},'parse':function(_0x16196c){var _0x37f57c=_0x2dde24,_0x37182a,_0x3dc3ff=_0x563193[_0x37f57c(0x277)](_0x16196c),_0x429415=_0x3dc3ff[_0x37f57c(0x15f)];return _0x429415[0x0]==0x53616c74&&_0x429415[0x1]==0x65645f5f&&(_0x37182a=_0x463cc3[_0x37f57c(0x14a)](_0x429415['slice'](0x2,0x4)),_0x429415[_0x37f57c(0x2e2)](0x0,0x4),_0x3dc3ff[_0x37f57c(0x1ee)]-=0x10),_0x34abda['create']({'ciphertext':_0x3dc3ff,'salt':_0x37182a});}},_0x67fa1f=_0x38008e['SerializableCipher']=_0x4fcdb5['extend']({'cfg':_0x4fcdb5[_0x2dde24(0x18b)]({'format':_0x1f49fa}),'encrypt':function(_0x26093d,_0x2b12a3,_0x5ac531,_0x3d3886){var _0x203fac=_0x2dde24;_0x3d3886=this[_0x203fac(0x169)][_0x203fac(0x18b)](_0x3d3886);var _0x28421f=_0x26093d[_0x203fac(0x2cd)](_0x5ac531,_0x3d3886),_0x1a5584=_0x28421f[_0x203fac(0xba)](_0x2b12a3),_0x408491=_0x28421f[_0x203fac(0x169)];return _0x34abda[_0x203fac(0x14a)]({'ciphertext':_0x1a5584,'key':_0x5ac531,'iv':_0x408491['iv'],'algorithm':_0x26093d,'mode':_0x408491[_0x203fac(0xfa)],'padding':_0x408491[_0x203fac(0x164)],'blockSize':_0x26093d['blockSize'],'formatter':_0x3d3886[_0x203fac(0x9f)]});},'decrypt':function(_0x4c844f,_0x530567,_0x565edc,_0x941ff0){var _0x446925=_0x2dde24;_0x941ff0=this[_0x446925(0x169)][_0x446925(0x18b)](_0x941ff0),_0x530567=this['_parse'](_0x530567,_0x941ff0[_0x446925(0x9f)]);var _0x513b18=_0x4c844f[_0x446925(0x335)](_0x565edc,_0x941ff0)[_0x446925(0xba)](_0x530567[_0x446925(0x89)]);return _0x513b18;},'_parse':function(_0x83c34,_0x47a3ef){var _0x38716f=_0x2dde24;return typeof _0x83c34=='string'?_0x47a3ef[_0x38716f(0x277)](_0x83c34,this):_0x83c34;}}),_0x430c8d=_0x5a499f['kdf']={},_0x142174=_0x430c8d['OpenSSL']={'execute':function(_0x328d92,_0xf87558,_0x4f9a4c,_0x2f14d7,_0x445e67){var _0x4b0332=_0x2dde24;if(_0x2f14d7||(_0x2f14d7=_0x463cc3[_0x4b0332(0x124)](0x40/0x8)),_0x445e67)var _0x181eb9=_0x5dd509[_0x4b0332(0x14a)]({'keySize':_0xf87558+_0x4f9a4c,'hasher':_0x445e67})[_0x4b0332(0xee)](_0x328d92,_0x2f14d7);else var _0x181eb9=_0x5dd509[_0x4b0332(0x14a)]({'keySize':_0xf87558+_0x4f9a4c})[_0x4b0332(0xee)](_0x328d92,_0x2f14d7);var _0x1bdbf0=_0x463cc3['create'](_0x181eb9[_0x4b0332(0x15f)][_0x4b0332(0x1d8)](_0xf87558),_0x4f9a4c*0x4);return _0x181eb9[_0x4b0332(0x1ee)]=_0xf87558*0x4,_0x34abda['create']({'key':_0x181eb9,'iv':_0x1bdbf0,'salt':_0x2f14d7});}},_0x8868cc=_0x38008e['PasswordBasedCipher']=_0x67fa1f[_0x2dde24(0x18b)]({'cfg':_0x67fa1f[_0x2dde24(0x169)]['extend']({'kdf':_0x142174}),'encrypt':function(_0x341294,_0x182073,_0x26aaf4,_0x48950a){var _0x295440=_0x2dde24;_0x48950a=this['cfg']['extend'](_0x48950a);var _0x269c6b=_0x48950a[_0x295440(0x3dc)][_0x295440(0x27f)](_0x26aaf4,_0x341294['keySize'],_0x341294[_0x295440(0x2ba)],_0x48950a[_0x295440(0x23b)],_0x48950a['hasher']);_0x48950a['iv']=_0x269c6b['iv'];var _0x4191ca=_0x67fa1f[_0x295440(0x181)][_0x295440(0x183)](this,_0x341294,_0x182073,_0x269c6b[_0x295440(0x27c)],_0x48950a);return _0x4191ca['mixIn'](_0x269c6b),_0x4191ca;},'decrypt':function(_0x2e0b1c,_0x2ee88c,_0x31e834,_0x5af219){var _0x15c424=_0x2dde24;_0x5af219=this['cfg']['extend'](_0x5af219),_0x2ee88c=this[_0x15c424(0xbc)](_0x2ee88c,_0x5af219[_0x15c424(0x9f)]);var _0x521c9c=_0x5af219[_0x15c424(0x3dc)][_0x15c424(0x27f)](_0x31e834,_0x2e0b1c[_0x15c424(0x319)],_0x2e0b1c[_0x15c424(0x2ba)],_0x2ee88c[_0x15c424(0x23b)],_0x5af219['hasher']);_0x5af219['iv']=_0x521c9c['iv'];var _0x3c82ff=_0x67fa1f[_0x15c424(0x342)]['call'](this,_0x2e0b1c,_0x2ee88c,_0x521c9c['key'],_0x5af219);return _0x3c82ff;}});}();}));}(Te)),Te[_0x48ffd0(0x3b9)];}var tn=Se[_0x271eef(0x3b9)],st;function nn(){var _0x447532=_0x271eef;return st||(st=0x1,function(_0x3425a1,_0x25bf88){(function(_0x2759ca,_0x46853a,_0x5367db){var _0x2481ff=_0x5df3;_0x3425a1[_0x2481ff(0x3b9)]=_0x46853a(ee(),Ut(),qi(),Nt(),wt());}(tn,function(_0x2fa694){var _0x5ef0fc=_0x5df3;return(function(){var _0x618faf=_0x5df3,_0x2491fc=_0x2fa694,_0x32c2ce=_0x2491fc[_0x618faf(0x260)],_0x15deba=_0x32c2ce[_0x618faf(0x1f4)],_0xe0ce5=_0x2491fc[_0x618faf(0x2d1)],_0x366cd4=[],_0x512b6a=[],_0x33514c=[],_0x3e2b24=[],_0x4035da=[],_0x54d5ec=[],_0x28aca7=[],_0x2ee791=[],_0x34429c=[],_0x1ebc69=[];(function(){for(var _0x5eff23=[],_0x24c3a9=0x0;_0x24c3a9<0x100;_0x24c3a9++)_0x24c3a9<0x80?_0x5eff23[_0x24c3a9]=_0x24c3a9<<0x1:_0x5eff23[_0x24c3a9]=_0x24c3a9<<0x1^0x11b;for(var _0x3ebca3=0x0,_0x18bcb9=0x0,_0x24c3a9=0x0;_0x24c3a9<0x100;_0x24c3a9++){var _0x17c693=_0x18bcb9^_0x18bcb9<<0x1^_0x18bcb9<<0x2^_0x18bcb9<<0x3^_0x18bcb9<<0x4;_0x17c693=_0x17c693>>>0x8^_0x17c693&0xff^0x63,_0x366cd4[_0x3ebca3]=_0x17c693,_0x512b6a[_0x17c693]=_0x3ebca3;var _0x50cf8a=_0x5eff23[_0x3ebca3],_0x18205b=_0x5eff23[_0x50cf8a],_0x498c3d=_0x5eff23[_0x18205b],_0x5205fd=_0x5eff23[_0x17c693]*0x101^_0x17c693*0x1010100;_0x33514c[_0x3ebca3]=_0x5205fd<<0x18|_0x5205fd>>>0x8,_0x3e2b24[_0x3ebca3]=_0x5205fd<<0x10|_0x5205fd>>>0x10,_0x4035da[_0x3ebca3]=_0x5205fd<<0x8|_0x5205fd>>>0x18,_0x54d5ec[_0x3ebca3]=_0x5205fd;var _0x5205fd=_0x498c3d*0x1010101^_0x18205b*0x10001^_0x50cf8a*0x101^_0x3ebca3*0x1010100;_0x28aca7[_0x17c693]=_0x5205fd<<0x18|_0x5205fd>>>0x8,_0x2ee791[_0x17c693]=_0x5205fd<<0x10|_0x5205fd>>>0x10,_0x34429c[_0x17c693]=_0x5205fd<<0x8|_0x5205fd>>>0x18,_0x1ebc69[_0x17c693]=_0x5205fd,_0x3ebca3?(_0x3ebca3=_0x50cf8a^_0x5eff23[_0x5eff23[_0x5eff23[_0x498c3d^_0x50cf8a]]],_0x18bcb9^=_0x5eff23[_0x5eff23[_0x18bcb9]]):_0x3ebca3=_0x18bcb9=0x1;}}());var _0x3f0817=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2828ca=_0xe0ce5[_0x618faf(0x10c)]=_0x15deba[_0x618faf(0x18b)]({'_doReset':function(){var _0x4030fa=_0x618faf,_0x4a1780;if(!(this[_0x4030fa(0x3c7)]&&this['_keyPriorReset']===this['_key'])){for(var _0x35d06a=this[_0x4030fa(0x237)]=this['_key'],_0xcb1c01=_0x35d06a['words'],_0x481fde=_0x35d06a[_0x4030fa(0x1ee)]/0x4,_0x163452=this['_nRounds']=_0x481fde+0x6,_0x39f610=(_0x163452+0x1)*0x4,_0x22a3f1=this['_keySchedule']=[],_0x408cb3=0x0;_0x408cb3<_0x39f610;_0x408cb3++)_0x408cb3<_0x481fde?_0x22a3f1[_0x408cb3]=_0xcb1c01[_0x408cb3]:(_0x4a1780=_0x22a3f1[_0x408cb3-0x1],_0x408cb3%_0x481fde?_0x481fde>0x6&&_0x408cb3%_0x481fde==0x4&&(_0x4a1780=_0x366cd4[_0x4a1780>>>0x18]<<0x18|_0x366cd4[_0x4a1780>>>0x10&0xff]<<0x10|_0x366cd4[_0x4a1780>>>0x8&0xff]<<0x8|_0x366cd4[_0x4a1780&0xff]):(_0x4a1780=_0x4a1780<<0x8|_0x4a1780>>>0x18,_0x4a1780=_0x366cd4[_0x4a1780>>>0x18]<<0x18|_0x366cd4[_0x4a1780>>>0x10&0xff]<<0x10|_0x366cd4[_0x4a1780>>>0x8&0xff]<<0x8|_0x366cd4[_0x4a1780&0xff],_0x4a1780^=_0x3f0817[_0x408cb3/_0x481fde|0x0]<<0x18),_0x22a3f1[_0x408cb3]=_0x22a3f1[_0x408cb3-_0x481fde]^_0x4a1780);for(var _0x1b3411=this[_0x4030fa(0x1f0)]=[],_0x3f7b46=0x0;_0x3f7b46<_0x39f610;_0x3f7b46++){var _0x408cb3=_0x39f610-_0x3f7b46;if(_0x3f7b46%0x4)var _0x4a1780=_0x22a3f1[_0x408cb3];else var _0x4a1780=_0x22a3f1[_0x408cb3-0x4];_0x3f7b46<0x4||_0x408cb3<=0x4?_0x1b3411[_0x3f7b46]=_0x4a1780:_0x1b3411[_0x3f7b46]=_0x28aca7[_0x366cd4[_0x4a1780>>>0x18]]^_0x2ee791[_0x366cd4[_0x4a1780>>>0x10&0xff]]^_0x34429c[_0x366cd4[_0x4a1780>>>0x8&0xff]]^_0x1ebc69[_0x366cd4[_0x4a1780&0xff]];}}},'encryptBlock':function(_0x826d44,_0x3e1bd4){var _0x1d5bb9=_0x618faf;this[_0x1d5bb9(0x249)](_0x826d44,_0x3e1bd4,this[_0x1d5bb9(0x3a9)],_0x33514c,_0x3e2b24,_0x4035da,_0x54d5ec,_0x366cd4);},'decryptBlock':function(_0x498440,_0x4d868f){var _0x2a7089=_0x618faf,_0x5aac52=_0x498440[_0x4d868f+0x1];_0x498440[_0x4d868f+0x1]=_0x498440[_0x4d868f+0x3],_0x498440[_0x4d868f+0x3]=_0x5aac52,this[_0x2a7089(0x249)](_0x498440,_0x4d868f,this['_invKeySchedule'],_0x28aca7,_0x2ee791,_0x34429c,_0x1ebc69,_0x512b6a);var _0x5aac52=_0x498440[_0x4d868f+0x1];_0x498440[_0x4d868f+0x1]=_0x498440[_0x4d868f+0x3],_0x498440[_0x4d868f+0x3]=_0x5aac52;},'_doCryptBlock':function(_0x300c19,_0x485af0,_0x26ec16,_0x2864de,_0x5b0c64,_0x34584f,_0xd4038b,_0x926234){var _0x235344=_0x618faf;for(var _0xd3495b=this[_0x235344(0x3c7)],_0x2e3520=_0x300c19[_0x485af0]^_0x26ec16[0x0],_0x277b6d=_0x300c19[_0x485af0+0x1]^_0x26ec16[0x1],_0x48e2fe=_0x300c19[_0x485af0+0x2]^_0x26ec16[0x2],_0x3c31db=_0x300c19[_0x485af0+0x3]^_0x26ec16[0x3],_0x11f0c4=0x4,_0x4f219d=0x1;_0x4f219d<_0xd3495b;_0x4f219d++){var _0x3421c3=_0x2864de[_0x2e3520>>>0x18]^_0x5b0c64[_0x277b6d>>>0x10&0xff]^_0x34584f[_0x48e2fe>>>0x8&0xff]^_0xd4038b[_0x3c31db&0xff]^_0x26ec16[_0x11f0c4++],_0x15ba2e=_0x2864de[_0x277b6d>>>0x18]^_0x5b0c64[_0x48e2fe>>>0x10&0xff]^_0x34584f[_0x3c31db>>>0x8&0xff]^_0xd4038b[_0x2e3520&0xff]^_0x26ec16[_0x11f0c4++],_0x4650f3=_0x2864de[_0x48e2fe>>>0x18]^_0x5b0c64[_0x3c31db>>>0x10&0xff]^_0x34584f[_0x2e3520>>>0x8&0xff]^_0xd4038b[_0x277b6d&0xff]^_0x26ec16[_0x11f0c4++],_0x58cbae=_0x2864de[_0x3c31db>>>0x18]^_0x5b0c64[_0x2e3520>>>0x10&0xff]^_0x34584f[_0x277b6d>>>0x8&0xff]^_0xd4038b[_0x48e2fe&0xff]^_0x26ec16[_0x11f0c4++];_0x2e3520=_0x3421c3,_0x277b6d=_0x15ba2e,_0x48e2fe=_0x4650f3,_0x3c31db=_0x58cbae;}var _0x3421c3=(_0x926234[_0x2e3520>>>0x18]<<0x18|_0x926234[_0x277b6d>>>0x10&0xff]<<0x10|_0x926234[_0x48e2fe>>>0x8&0xff]<<0x8|_0x926234[_0x3c31db&0xff])^_0x26ec16[_0x11f0c4++],_0x15ba2e=(_0x926234[_0x277b6d>>>0x18]<<0x18|_0x926234[_0x48e2fe>>>0x10&0xff]<<0x10|_0x926234[_0x3c31db>>>0x8&0xff]<<0x8|_0x926234[_0x2e3520&0xff])^_0x26ec16[_0x11f0c4++],_0x4650f3=(_0x926234[_0x48e2fe>>>0x18]<<0x18|_0x926234[_0x3c31db>>>0x10&0xff]<<0x10|_0x926234[_0x2e3520>>>0x8&0xff]<<0x8|_0x926234[_0x277b6d&0xff])^_0x26ec16[_0x11f0c4++],_0x58cbae=(_0x926234[_0x3c31db>>>0x18]<<0x18|_0x926234[_0x2e3520>>>0x10&0xff]<<0x10|_0x926234[_0x277b6d>>>0x8&0xff]<<0x8|_0x926234[_0x48e2fe&0xff])^_0x26ec16[_0x11f0c4++];_0x300c19[_0x485af0]=_0x3421c3,_0x300c19[_0x485af0+0x1]=_0x15ba2e,_0x300c19[_0x485af0+0x2]=_0x4650f3,_0x300c19[_0x485af0+0x3]=_0x58cbae;},'keySize':0x100/0x20});_0x2491fc[_0x618faf(0x10c)]=_0x15deba[_0x618faf(0x305)](_0x2828ca);}()),_0x2fa694[_0x5ef0fc(0x10c)];}));}(Se)),Se[_0x447532(0x3b9)];}var rn=nn();const sn=fe(rn);var on=Ut();const ot=fe(on);var be={'exports':{}},an=be[_0x271eef(0x3b9)],at;function cn(){var _0x2a8739=_0x271eef;return at||(at=0x1,function(_0x43fc27,_0x10c44e){(function(_0x548032,_0x2259f0){var _0x1d871e=_0x5df3;_0x43fc27[_0x1d871e(0x3b9)]=_0x2259f0(ee());}(an,function(_0x5c7973){var _0x449783=_0x5df3;return _0x5c7973[_0x449783(0x325)]['Utf8'];}));}(be)),be[_0x2a8739(0x3b9)];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re[_0x271eef(0x3b9)],ct;function un(){var _0x1294d4=_0x271eef;return ct||(ct=0x1,function(_0x37c9ad,_0x4f1870){(function(_0x13c78c,_0xe20750){var _0x360706=_0x5df3;_0x37c9ad[_0x360706(0x3b9)]=_0xe20750(ee());}(_n,function(_0x41c7bc){return(function(){var _0x3642c0=_0x5df3;if(typeof ArrayBuffer=='function'){var _0x129a8b=_0x41c7bc,_0x4bff63=_0x129a8b[_0x3642c0(0x260)],_0x127e81=_0x4bff63[_0x3642c0(0x3aa)],_0x2a0730=_0x127e81[_0x3642c0(0x12b)],_0x2356d2=_0x127e81[_0x3642c0(0x12b)]=function(_0x54362d){var _0x4c5ad6=_0x3642c0;if(_0x54362d instanceof ArrayBuffer&&(_0x54362d=new Uint8Array(_0x54362d)),(_0x54362d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x54362d instanceof Uint8ClampedArray||_0x54362d instanceof Int16Array||_0x54362d instanceof Uint16Array||_0x54362d instanceof Int32Array||_0x54362d instanceof Uint32Array||_0x54362d instanceof Float32Array||_0x54362d instanceof Float64Array)&&(_0x54362d=new Uint8Array(_0x54362d[_0x4c5ad6(0x219)],_0x54362d[_0x4c5ad6(0x380)],_0x54362d['byteLength'])),_0x54362d instanceof Uint8Array){for(var _0x1dbd8e=_0x54362d['byteLength'],_0x1e342a=[],_0x442580=0x0;_0x442580<_0x1dbd8e;_0x442580++)_0x1e342a[_0x442580>>>0x2]|=_0x54362d[_0x442580]<<0x18-_0x442580%0x4*0x8;_0x2a0730[_0x4c5ad6(0x183)](this,_0x1e342a,_0x1dbd8e);}else _0x2a0730['apply'](this,arguments);};_0x2356d2['prototype']=_0x127e81;}}()),_0x41c7bc['lib']['WordArray'];}));}(Re)),Re[_0x1294d4(0x3b9)];}var dn=un();const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x271eef(0x3b9)],ht;function Sn(){var _0x50a92b=_0x271eef;return ht||(ht=0x1,function(_0x47c2fd,_0x50a49e){(function(_0x5654a9,_0x1fe20d,_0x25a00c){_0x47c2fd['exports']=_0x1fe20d(ee(),wt());}(fn,function(_0x45e2bf){var _0x424f9f=_0x5df3;return _0x45e2bf['pad'][_0x424f9f(0xa1)]={'pad':function(){},'unpad':function(){}},_0x45e2bf['pad']['NoPadding'];}));}(ye)),ye[_0x50a92b(0x3b9)];}var pn=Sn();const gn=fe(pn);function mn(_0x4502bf,_0x2131e8){var _0x4aefed=_0x271eef;const _0x240c6d=_0x2131e8-_0x4502bf[_0x4aefed(0x7a)]%_0x2131e8,_0x31e422=String[_0x4aefed(0x272)](_0x240c6d)['repeat'](_0x240c6d);return _0x4502bf+_0x31e422;}function In(_0x58d67e,_0x55fb33){var _0x544759=_0x271eef;const _0x195fc5=vn[_0x544759(0x124)](0x10),_0xb44bc8=mn(_0x58d67e,0x10),_0x31cafb=sn[_0x544759(0x181)](ln[_0x544759(0x277)](_0xb44bc8),ot[_0x544759(0x277)](_0x55fb33),{'iv':_0x195fc5,'padding':gn});return _0x195fc5['concat'](_0x31cafb[_0x544759(0x89)])[_0x544759(0x39a)](ot);}function En(){var _0x3956fe=_0x271eef;const _0x3555d2=jt[_0x3956fe(0x15c)]()['__Key__'];if(_0x3555d2){const _0x2478b1={'time':Math[_0x3956fe(0x33b)](Date[_0x3956fe(0x24b)]()/0x3e8),'domain':location[_0x3956fe(0xd3)]};return In(JSON[_0x3956fe(0x71)](_0x2478b1),_0x3555d2);}}var Cn=Object[_0x271eef(0x1ec)],Tn=Object[_0x271eef(0x11b)],bn=(_0x1f7503,_0x34bea1,_0xe5e34,_0x35e32d)=>{for(var _0x4e3435=_0x35e32d>0x1?void 0x0:_0x35e32d?Tn(_0x34bea1,_0xe5e34):_0x34bea1,_0x5d5fa9=_0x1f7503['length']-0x1,_0x35a47d;_0x5d5fa9>=0x0;_0x5d5fa9--)(_0x35a47d=_0x1f7503[_0x5d5fa9])&&(_0x4e3435=(_0x35e32d?_0x35a47d(_0x34bea1,_0xe5e34,_0x4e3435):_0x35a47d(_0x4e3435))||_0x4e3435);return _0x35e32d&&_0x4e3435&&Cn(_0x34bea1,_0xe5e34,_0x4e3435),_0x4e3435;},Rn=(_0xd5a889,_0x20ddd9)=>(_0x584d00,_0x261abd)=>_0x20ddd9(_0x584d00,_0x261abd,_0xd5a889);let Pe=class{constructor(_0x437aef){var _0x114309=_0x271eef;this[_0x114309(0x78)]=_0x437aef,this[_0x114309(0x157)]();}[_0x271eef(0x157)](){var _0x2b480b=_0x271eef;this[_0x2b480b(0x78)]['registerHTTPInterceptor']({'interceptor':(_0x198d86,_0xfb41f4)=>{var _0x69dae0=_0x2b480b;const _0x5420a1=_0x198d86[_0x69dae0(0x33c)],_0x119a07=En();return _0x119a07&&_0x5420a1[_0x69dae0(0x323)](_0x69dae0(0x191),_0x119a07),_0xfb41f4(_0x198d86);}});}};Pe=bn([Rn(0x0,a['Inject'](z[_0x271eef(0x112)]))],Pe);var yn=Object[_0x271eef(0x1ec)],On=Object[_0x271eef(0x11b)],Pn=(_0x2e438b,_0x4c3db2,_0x398a03,_0x2f6c94)=>{var _0x1aa865=_0x271eef;for(var _0x31c858=_0x2f6c94>0x1?void 0x0:_0x2f6c94?On(_0x4c3db2,_0x398a03):_0x4c3db2,_0x446117=_0x2e438b[_0x1aa865(0x7a)]-0x1,_0x41a071;_0x446117>=0x0;_0x446117--)(_0x41a071=_0x2e438b[_0x446117])&&(_0x31c858=(_0x2f6c94?_0x41a071(_0x4c3db2,_0x398a03,_0x31c858):_0x41a071(_0x31c858))||_0x31c858);return _0x2f6c94&&_0x31c858&&yn(_0x4c3db2,_0x398a03,_0x31c858),_0x31c858;},Me=(_0x478d2a,_0x5a03b1)=>(_0x1eaeb9,_0x56bb29)=>_0x5a03b1(_0x1eaeb9,_0x56bb29,_0x478d2a);exports[_0x271eef(0x235)]=class extends a[_0x271eef(0x177)]{constructor(_0x360297,_0x3a09ab,_0x1c90d5){var _0x27f01b=_0x271eef;super(),w(this,_0x27f01b(0x336),new B['BehaviorSubject'](null)),w(this,'unitInfo$',this[_0x27f01b(0x336)]['asObservable']()),(this[_0x27f01b(0xc7)]=_0x360297,this[_0x27f01b(0xe8)]=_0x3a09ab,this['_localCacheService']=_0x1c90d5);}async['loadUnit'](_0x48e183,_0x5e801b,_0xd9dc7b){var _0x4e7ea0=_0x271eef;this[_0x4e7ea0(0x336)][_0x4e7ea0(0x14f)]({'unitId':_0x48e183,'type':_0x5e801b,'subUnitId':_0xd9dc7b});let _0x12537a=null;switch(_0x5e801b){case Z[_0x4e7ea0(0x88)]:{_0x12537a=await this['_loadSheet'](_0x48e183);break;}case Z[_0x4e7ea0(0x351)]:{_0x12537a=await this[_0x4e7ea0(0x2b8)](_0x48e183);break;}default:{this[_0x4e7ea0(0xc7)]['error'](_0x4e7ea0(0xf9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x12537a;}async[_0x271eef(0x271)](_0x59ad95){var _0x5d442e=_0x271eef,_0x2ce9ba;let _0x318fb1=0x0;const _0x28859f=await((_0x2ce9ba=this[_0x5d442e(0x2e1)])==null?void 0x0:_0x2ce9ba[_0x5d442e(0x31a)](_0x59ad95));return _0x28859f&&(_0x28859f[_0x5d442e(0x20a)]||_0x28859f[_0x5d442e(0x3c0)][_0x5d442e(0x7a)]!==0x0)&&(_0x318fb1=_0x28859f[_0x5d442e(0x28f)]),_0x318fb1===0x0&&this[_0x5d442e(0xc7)][_0x5d442e(0x20d)]('[DataLoaderService]',_0x5d442e(0x2e4)),this[_0x5d442e(0xe8)]['loadSheet'](_0x59ad95,_0x318fb1);}async[_0x271eef(0x2b8)](_0x49279e){var _0x32b4d4=_0x271eef,_0x4ae5e3;let _0x5a3bad=0x0;const _0x1a0d04=await((_0x4ae5e3=this[_0x32b4d4(0x2e1)])==null?void 0x0:_0x4ae5e3[_0x32b4d4(0x31a)](_0x49279e));return _0x1a0d04&&(_0x1a0d04['awaitingChangeset']||_0x1a0d04[_0x32b4d4(0x3c0)][_0x32b4d4(0x7a)]!==0x0)&&(_0x5a3bad=_0x1a0d04[_0x32b4d4(0x28f)]),_0x5a3bad===0x0&&this[_0x32b4d4(0xc7)][_0x32b4d4(0x20d)](_0x32b4d4(0xf9),_0x32b4d4(0x2e4)),this[_0x32b4d4(0xe8)][_0x32b4d4(0x1d7)](_0x49279e,_0x5a3bad);}},exports[_0x271eef(0x235)]=Pn([Me(0x0,a[_0x271eef(0x84)]),Me(0x1,a[_0x271eef(0x16d)](m[_0x271eef(0x26d)])),Me(0x2,a[_0x271eef(0x367)](J))],exports[_0x271eef(0x235)]);var Dn=Object[_0x271eef(0x1ec)],Un=Object['getOwnPropertyDescriptor'],Nn=(_0x41b7c4,_0x19d0d0,_0x4f4ca0,_0x2963df)=>{var _0x10cfbd=_0x271eef;for(var _0x345984=_0x2963df>0x1?void 0x0:_0x2963df?Un(_0x19d0d0,_0x4f4ca0):_0x19d0d0,_0x59ead3=_0x41b7c4[_0x10cfbd(0x7a)]-0x1,_0x5a6318;_0x59ead3>=0x0;_0x59ead3--)(_0x5a6318=_0x41b7c4[_0x59ead3])&&(_0x345984=(_0x2963df?_0x5a6318(_0x19d0d0,_0x4f4ca0,_0x345984):_0x5a6318(_0x345984))||_0x345984);return _0x2963df&&_0x345984&&Dn(_0x19d0d0,_0x4f4ca0,_0x345984),_0x345984;},xe=(_0x4ae5b9,_0x1e2076)=>(_0x157037,_0x5028b8)=>_0x1e2076(_0x157037,_0x5028b8,_0x4ae5b9);const wn=[_0x271eef(0xf8),'image/jpeg',_0x271eef(0x2f9),'image/gif',_0x271eef(0xf2)],An=0x5*0x400*0x400,Ln=_0x271eef(0x7b),Mn=_0x271eef(0x2ea),xn=_0x271eef(0x2da),jn=_0x271eef(0xc6);exports[_0x271eef(0x2b0)]=class{constructor(_0x30dcf5,_0x386da1,_0xa72523){var _0x392532=_0x271eef;w(this,'_waitCount',0x0),w(this,_0x392532(0x27e),new B[(_0x392532(0x2d5))]()),w(this,_0x392532(0x114),this[_0x392532(0x27e)]),w(this,_0x392532(0xb6),new Map()),(this[_0x392532(0x78)]=_0x30dcf5,this[_0x392532(0x107)]=_0x386da1,this[_0x392532(0xd0)]=_0xa72523);}['setWaitCount'](_0x4398ec){var _0x5db9a6=_0x271eef;this[_0x5db9a6(0x3db)]=_0x4398ec,this[_0x5db9a6(0x27e)][_0x5db9a6(0x14f)](_0x4398ec);}[_0x271eef(0x356)](_0x37d584,_0x5bb707){var _0x541e5=_0x271eef;if(_0x5bb707===X[_0x541e5(0x19b)][_0x541e5(0x1fd)]){const _0x349df1=new Image();return _0x349df1[_0x541e5(0x383)]=_0x37d584,_0x349df1;}return this[_0x541e5(0xb6)]['get'](_0x37d584);}['addImageSourceCache'](_0x927829,_0x54f1e1,_0x3978c4){var _0x289294=_0x271eef;_0x54f1e1===X['ImageSourceType'][_0x289294(0x1fd)]||_0x3978c4==null||this[_0x289294(0xb6)][_0x289294(0x323)](_0x927829,_0x3978c4);}async[_0x271eef(0x2d7)](_0x14711e){var _0x1aabc1=_0x271eef;try{const _0x13ea68=this[_0x1aabc1(0x2fb)](this[_0x1aabc1(0x1cd)](),''+_0x14711e),_0x290d60=(await this[_0x1aabc1(0x78)][_0x1aabc1(0x25f)](_0x13ea68))[_0x1aabc1(0x26e)];if(_0x290d60[_0x1aabc1(0x30b)]&&_0x290d60[_0x1aabc1(0x30b)][_0x1aabc1(0x338)]===Ct['OK']){const _0x271488=new URL(_0x290d60['url'],this[_0x1aabc1(0x35f)]())[_0x1aabc1(0x39a)]();return Promise[_0x1aabc1(0x304)](_0x271488);}return Promise[_0x1aabc1(0x193)](_0x290d60['error']);}catch(_0x4d6dff){return Promise[_0x1aabc1(0x193)](_0x4d6dff);}}async[_0x271eef(0x262)](_0x1a22ce){var _0x19f5a8=_0x271eef;let _0x3d917b='';if(!wn[_0x19f5a8(0xb9)](_0x1a22ce['type']))return this[_0x19f5a8(0x350)](),Promise[_0x19f5a8(0x193)](new Error(X['ImageUploadStatusType'][_0x19f5a8(0x317)]));if(_0x1a22ce[_0x19f5a8(0x398)]>An)return this[_0x19f5a8(0x350)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x19f5a8(0xd6)]));try{const _0x59799a=new FormData();_0x59799a[_0x19f5a8(0x2f0)]('file',_0x1a22ce);const _0x56ce39=this['_univerInstanceService'][_0x19f5a8(0x25c)](),_0x583d31=_0x56ce39==null?void 0x0:_0x56ce39[_0x19f5a8(0xd9)]();if(!_0x583d31)throw new Error(_0x19f5a8(0x2eb));const _0x446cdd=this[_0x19f5a8(0x378)]()+_0x19f5a8(0xc5)+_0x1a22ce[_0x19f5a8(0x398)][_0x19f5a8(0x39a)]()+_0x19f5a8(0xb8)+Tt[_0x19f5a8(0x110)]+_0x19f5a8(0x74)+encodeURIComponent(_0x583d31),_0x3fb4f6=await(await fetch(_0x446cdd,{'method':'POST','body':_0x59799a}))['json']();if(typeof _0x3fb4f6[_0x19f5a8(0x2f6)]!='string')return this[_0x19f5a8(0x350)](),Promise[_0x19f5a8(0x193)](new Error(X[_0x19f5a8(0x189)][_0x19f5a8(0x266)]));_0x3d917b=_0x3fb4f6[_0x19f5a8(0x2f6)];}catch{return this[_0x19f5a8(0x350)](),Promise[_0x19f5a8(0x193)](new Error(X['ImageUploadStatusType'][_0x19f5a8(0x266)]));}return new Promise((_0x50c76c,_0x2ab7a9)=>{var _0x53e27b=_0x19f5a8;const _0x291c33=new FileReader();_0x291c33[_0x53e27b(0x134)](_0x1a22ce),_0x291c33[_0x53e27b(0x163)]=_0x346fe6=>{var _0x290f12=_0x53e27b,_0x3bb785;const _0x14c1ff=(_0x3bb785=_0x346fe6[_0x290f12(0x3d8)])==null?void 0x0:_0x3bb785['result'];if(_0x14c1ff==null){this[_0x290f12(0x350)](),_0x2ab7a9(new Error(X[_0x290f12(0x189)][_0x290f12(0x266)]));return;}const _0x2e510c=a[_0x290f12(0x38c)][_0x290f12(0x311)](0x6);_0x50c76c({'imageId':_0x2e510c,'imageSourceType':X[_0x290f12(0x19b)]['UUID'],'source':_0x3d917b,'base64Cache':_0x14c1ff,'status':X[_0x290f12(0x189)][_0x290f12(0x2a9)]}),this[_0x290f12(0x350)]();};});}[_0x271eef(0x378)](){var _0x38c280=_0x271eef,_0x11d21c,_0x30eaef;const _0x1c44e2=this[_0x38c280(0x107)][_0x38c280(0x1db)](Ln),_0x5204ba=this[_0x38c280(0x107)][_0x38c280(0x1db)](q);return(_0x30eaef=(_0x11d21c=_0x5204ba==null?void 0x0:_0x5204ba['uploadFileServerUrl'])!=null?_0x11d21c:_0x1c44e2)!=null?_0x30eaef:Mn;}['_getSignURL'](){var _0x516eed=_0x271eef,_0x5db93c,_0x3c47ab;const _0x52efff=this[_0x516eed(0x107)][_0x516eed(0x1db)](xn),_0x36dffa=this[_0x516eed(0x107)]['getConfig'](q);return(_0x3c47ab=(_0x5db93c=_0x36dffa==null?void 0x0:_0x36dffa[_0x516eed(0xae)])!=null?_0x5db93c:_0x52efff)!=null?_0x3c47ab:jn;}[_0x271eef(0x35f)](){var _0x318bea=_0x271eef,_0x155b24;const _0x2d4dfb=this[_0x318bea(0x107)]['getConfig'](q);return(_0x155b24=_0x2d4dfb==null?void 0x0:_0x2d4dfb[_0x318bea(0x390)])!=null?_0x155b24:location[_0x318bea(0x173)];}[_0x271eef(0x2fb)](_0x24dfd2,_0x483a36){var _0x27cc11=_0x271eef;return _0x24dfd2[_0x27cc11(0x3af)](_0x27cc11(0xaa),_0x483a36);}['_decreaseWaiting'](){var _0x1783e8=_0x271eef;this[_0x1783e8(0x3db)]-=0x1,this[_0x1783e8(0x27e)][_0x1783e8(0x14f)](this[_0x1783e8(0x3db)]);}},exports[_0x271eef(0x2b0)]=Nn([xe(0x0,a['Inject'](z[_0x271eef(0x112)])),xe(0x1,a[_0x271eef(0x2ec)]),xe(0x2,a[_0x271eef(0x16d)](a[_0x271eef(0x2c5)]))],exports[_0x271eef(0x2b0)]);var $n=Object['defineProperty'],Hn=Object[_0x271eef(0x11b)],kn=(_0x24af9e,_0x49c92e,_0x312fd1,_0x8b9620)=>{for(var _0x3210f9=_0x8b9620>0x1?void 0x0:_0x8b9620?Hn(_0x49c92e,_0x312fd1):_0x49c92e,_0x199be1=_0x24af9e['length']-0x1,_0x1e4dd8;_0x199be1>=0x0;_0x199be1--)(_0x1e4dd8=_0x24af9e[_0x199be1])&&(_0x3210f9=(_0x8b9620?_0x1e4dd8(_0x49c92e,_0x312fd1,_0x3210f9):_0x1e4dd8(_0x3210f9))||_0x3210f9);return _0x8b9620&&_0x3210f9&&$n(_0x49c92e,_0x312fd1,_0x3210f9),_0x3210f9;},lt=(_0xe163b2,_0x1697eb)=>(_0x1479a4,_0x496f33)=>_0x1697eb(_0x1479a4,_0x496f33,_0xe163b2);const Bn=_0x271eef(0x3b4);exports[_0x271eef(0x3b5)]=class{constructor(_0x52b376,_0x6d198){var _0xa6d8a6=_0x271eef;this[_0xa6d8a6(0x107)]=_0x52b376,this[_0xa6d8a6(0x2ff)]=_0x6d198;}[_0x271eef(0x340)](){var _0xbed39e=_0x271eef,_0x1f3380,_0x39ae4e;const _0x13c256=this[_0xbed39e(0x107)][_0xbed39e(0x1db)](Ge),_0x44e2d9=this[_0xbed39e(0x107)][_0xbed39e(0x1db)](q);return(_0x39ae4e=(_0x1f3380=_0x44e2d9==null?void 0x0:_0x44e2d9[_0xbed39e(0x3a7)])!=null?_0x1f3380:_0x13c256)!=null?_0x39ae4e:Bn;}async[_0x271eef(0x250)](_0x2ae5d5){var _0x13785e=_0x271eef;const _0x5edc45=this[_0x13785e(0x340)]()+_0x13785e(0xfc);return{'list':[{'title':_0x13785e(0x32d),'mentions':(await this[_0x13785e(0x2ff)][_0x13785e(0x25f)](_0x5edc45,{'params':{'objectID':_0x2ae5d5[_0x13785e(0x121)],'unitID':_0x2ae5d5[_0x13785e(0x121)]}}))['body']['collaborators'][_0x13785e(0x32c)](_0x495ee7=>({'objectId':_0x495ee7['id'],'name':_0x495ee7['subject'][_0x13785e(0x83)],'metadata':{'icon':_0x495ee7[_0x13785e(0x217)][_0x13785e(0x79)]},'label':_0x495ee7[_0x13785e(0x217)]['name'],'objectType':a[_0x13785e(0x150)][_0x13785e(0x1b3)]})),'metadata':{},'type':a[_0x13785e(0x150)][_0x13785e(0x1b3)]}]};}},exports[_0x271eef(0x3b5)]=kn([lt(0x0,a[_0x271eef(0x16d)](a[_0x271eef(0x2ec)])),lt(0x1,a['Inject'](z[_0x271eef(0x112)]))],exports[_0x271eef(0x3b5)]);var Fn=Object[_0x271eef(0x1ec)],Wn=Object[_0x271eef(0x11b)],Vn=(_0x31df6b,_0x42395e,_0x227eb4,_0x2c1f6a)=>{var _0x2888df=_0x271eef;for(var _0x5211bf=_0x2c1f6a>0x1?void 0x0:_0x2c1f6a?Wn(_0x42395e,_0x227eb4):_0x42395e,_0x580c12=_0x31df6b[_0x2888df(0x7a)]-0x1,_0x2cf80d;_0x580c12>=0x0;_0x580c12--)(_0x2cf80d=_0x31df6b[_0x580c12])&&(_0x5211bf=(_0x2c1f6a?_0x2cf80d(_0x42395e,_0x227eb4,_0x5211bf):_0x2cf80d(_0x5211bf))||_0x5211bf);return _0x2c1f6a&&_0x5211bf&&Fn(_0x42395e,_0x227eb4,_0x5211bf),_0x5211bf;},ce=(_0xa4814a,_0x32eb34)=>(_0x396e48,_0x848c88)=>_0x32eb34(_0x396e48,_0x848c88,_0xa4814a);let De=class extends a['RxDisposable']{constructor(_0x50b88f,_0x31ef93,_0x4d2758,_0x51ccfe,_0x4c7eac,_0x467c1d,_0x9bd61c){var _0x4670fe=_0x271eef;super(),this[_0x4670fe(0xc4)]=_0x50b88f,this[_0x4670fe(0xd0)]=_0x31ef93,this[_0x4670fe(0x126)]=_0x4d2758,this[_0x4670fe(0x38b)]=_0x51ccfe,this[_0x4670fe(0x72)]=_0x4c7eac,this[_0x4670fe(0x1b6)]=_0x467c1d,this[_0x4670fe(0xb0)]=_0x9bd61c,this[_0x4670fe(0x279)](),this['_initCloseConn']();}[_0x271eef(0x22d)](){var _0x34b756=_0x271eef;const _0x5cfb90=async _0x42bed0=>{var _0x673c5f=_0x5df3;(await this[_0x673c5f(0x38b)][_0x673c5f(0x81)](_0x42bed0))[_0x673c5f(0x38d)][_0x673c5f(0x17f)](V[_0x673c5f(0x16f)](_0x156dbf=>_0x156dbf[_0x673c5f(0x2d8)]===m[_0x673c5f(0x14c)]['SHOULD_CLOSE_CONN']),V[_0x673c5f(0x2b4)](this[_0x673c5f(0x252)]))[_0x673c5f(0xea)](_0x538bcf=>{var _0x525f15=_0x673c5f;const _0x4a46ee=_0x538bcf,{reason:_0x1b4cf0}=_0x4a46ee['data'];this['_collaborationUIEventService'][_0x525f15(0x327)]({'id':Q[_0x525f15(0x259)],'data':_0x1b4cf0}),this[_0x525f15(0x126)]['updatePermissionPoint'](new W['WorkbookEditablePermission'](_0x42bed0)['id'],!0x1),this[_0x525f15(0x38b)][_0x525f15(0x3cb)](_0x42bed0);});};B['merge'](this['_univerInstanceService'][_0x34b756(0x316)](a[_0x34b756(0x1e0)][_0x34b756(0x88)]),this['_univerInstanceService'][_0x34b756(0x316)](a[_0x34b756(0x1e0)][_0x34b756(0x351)]))[_0x34b756(0x17f)](V['map'](_0x402033=>_0x402033[_0x34b756(0xd9)]()),V['filter'](_0x49ea04=>!a[_0x34b756(0x140)](_0x49ea04)),V['takeUntil'](this[_0x34b756(0x252)]))[_0x34b756(0xea)](_0x3f7186=>{_0x5cfb90(_0x3f7186);});}[_0x271eef(0x279)](){var _0x396c09=_0x271eef;const _0x1c309c=async _0x161a53=>{var _0x1f45e0=_0x5df3;(await this[_0x1f45e0(0x38b)][_0x1f45e0(0x81)](_0x161a53))[_0x1f45e0(0x38d)][_0x1f45e0(0x17f)](V[_0x1f45e0(0x16f)](_0x403580=>_0x403580['eventID']===m['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x1f45e0(0x2b4)](this[_0x1f45e0(0x252)]))[_0x1f45e0(0xea)](_0x2b94fd=>{var _0x3af100=_0x1f45e0;const _0x521cf1=_0x2b94fd,{objectId:_0x32c150}=_0x521cf1[_0x3af100(0x133)];_0x32c150===_0x161a53?this[_0x3af100(0x2c0)](_0x161a53):this['refreshPermission'](_0x161a53,_0x32c150);});};B[_0x396c09(0x348)](this[_0x396c09(0xd0)][_0x396c09(0x316)](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x396c09(0x316)](a[_0x396c09(0x1e0)]['UNIVER_DOC']))['pipe'](V[_0x396c09(0x32c)](_0x5673e7=>_0x5673e7['getUnitId']()),V[_0x396c09(0x16f)](_0x49a01e=>!a['isInternalEditorID'](_0x49a01e)),V[_0x396c09(0x2b4)](this[_0x396c09(0x252)]))[_0x396c09(0xea)](_0x55f9d8=>{_0x1c309c(_0x55f9d8);});}async[_0x271eef(0x2c0)](_0x1562db){var _0x11e50c=_0x271eef,_0x55c924;const _0x1bf521=_0x1562db||((_0x55c924=this['_univerInstanceService'][_0x11e50c(0x9c)](a[_0x11e50c(0x1e0)][_0x11e50c(0x88)]))==null?void 0x0:_0x55c924[_0x11e50c(0xd9)]());_0x1bf521&&this[_0x11e50c(0x1b6)][_0x11e50c(0xe9)]({'objectID':_0x1bf521,'objectType':W[_0x11e50c(0x3bb)][_0x11e50c(0x3d3)],'unitID':_0x1bf521,'actions':W[_0x11e50c(0xdc)]})['then'](_0x2c4f7f=>{var _0x3eaa6a=_0x11e50c;W[_0x3eaa6a(0x122)]()['forEach'](_0x238ba5=>{var _0x1804cd=_0x3eaa6a;const _0x1f35e1=new _0x238ba5(_0x1bf521),_0x5e6850=_0x1f35e1['subType'],_0x25a280=_0x2c4f7f['find'](_0x192194=>_0x192194[_0x1804cd(0x269)]===_0x5e6850);_0x25a280&&this[_0x1804cd(0x126)][_0x1804cd(0x23c)](_0x1f35e1['id'],_0x25a280[_0x1804cd(0xe9)]);});});}['refreshPermission'](_0x1d1d78,_0x2ebf0f){var _0x5c0acd=_0x271eef;const _0x1fff5d=this[_0x5c0acd(0xc4)][_0x5c0acd(0x25f)](W[_0x5c0acd(0x3b6)]),_0x45c703=_0x1fff5d[_0x5c0acd(0x38f)](_0x1d1d78,_0x2ebf0f);let _0x355925=!0x1;if(_0x45c703){const [_0x1b6f5f,_0x3eeade]=_0x45c703;this[_0x5c0acd(0x1b6)][_0x5c0acd(0xe9)]({'objectID':_0x2ebf0f,'unitID':_0x1d1d78,'objectType':W[_0x5c0acd(0x3bb)]['Worksheet'],'actions':W[_0x5c0acd(0x213)]})[_0x5c0acd(0x1b1)](_0x864a32=>{var _0x5ac378=_0x5c0acd;let _0x3fd691='';W[_0x5ac378(0x248)]()[_0x5ac378(0x3c3)](_0x14920f=>{var _0x353cca=_0x5ac378,_0x2ae78e;const _0x27e067=new _0x14920f(_0x1d1d78,_0x3eeade),_0x4802de=_0x27e067['subType'],_0x2facd3=_0x864a32[_0x353cca(0xa8)](_0x686544=>_0x686544[_0x353cca(0x269)]===_0x4802de);_0x2facd3&&(((_0x2ae78e=this[_0x353cca(0x126)]['getPermissionPoint'](_0x27e067['id']))==null?void 0x0:_0x2ae78e[_0x353cca(0x2b6)])!==_0x2facd3[_0x353cca(0xe9)]&&(_0x355925=!0x0),this[_0x353cca(0x126)][_0x353cca(0x23c)](_0x27e067['id'],_0x2facd3['allowed']),_0x3fd691+=_0x2facd3[_0x353cca(0x269)]+'_'+_0x2facd3['allowed']);}),_0x1fff5d[_0x5ac378(0xb7)](_0x2ebf0f+'_'+_0x3fd691),_0x355925&&this['_undoRedoService'][_0x5ac378(0x98)](_0x1d1d78);});}const _0x31edaa=this['_injector'][_0x5c0acd(0x25f)](W[_0x5c0acd(0x3a3)])[_0x5c0acd(0x38f)](_0x1d1d78,_0x2ebf0f);if(_0x31edaa){const [_0x39a43d,_0x22ad7e]=_0x31edaa;this[_0x5c0acd(0x1b6)]['allowed']({'objectID':_0x2ebf0f,'unitID':_0x1d1d78,'objectType':W[_0x5c0acd(0x3bb)]['Worksheet'],'actions':W[_0x5c0acd(0xcc)]})[_0x5c0acd(0x1b1)](_0x520157=>{var _0x34c146=_0x5c0acd;W[_0x34c146(0x1c9)]()[_0x34c146(0x3c3)](_0x5ef894=>{var _0x3b3fb7=_0x34c146,_0x52e97c;const _0x5f3361=new _0x5ef894(_0x1d1d78,_0x22ad7e),_0x4a7b11=_0x5f3361[_0x3b3fb7(0x230)],_0x3b63eb=_0x520157[_0x3b3fb7(0xa8)](_0x673b2b=>_0x673b2b['action']===_0x4a7b11);_0x3b63eb&&(((_0x52e97c=this[_0x3b3fb7(0x126)][_0x3b3fb7(0x23a)](_0x5f3361['id']))==null?void 0x0:_0x52e97c[_0x3b3fb7(0x2b6)])!==_0x3b63eb[_0x3b3fb7(0xe9)]&&(_0x355925=!0x0),this[_0x3b3fb7(0x126)][_0x3b3fb7(0x23c)](_0x5f3361['id'],_0x3b63eb[_0x3b3fb7(0xe9)]));}),_0x355925&&this['_undoRedoService']['clearUndoRedo'](_0x1d1d78);});}const _0x1faa16=this[_0x5c0acd(0xc4)]['get'](W[_0x5c0acd(0x165)]),_0x5dc013=_0x1faa16['getTargetByPermissionId'](_0x1d1d78,_0x2ebf0f);if(_0x5dc013){const [_0x472ef1,_0x1108ba]=_0x5dc013;this[_0x5c0acd(0x1b6)][_0x5c0acd(0xe9)]({'objectID':_0x2ebf0f,'unitID':_0x1d1d78,'objectType':W[_0x5c0acd(0x3bb)][_0x5c0acd(0x1f7)],'actions':W['baseProtectionActions']})[_0x5c0acd(0x1b1)](_0x1f6515=>{var _0x3e01ff=_0x5c0acd;let _0x215732='';W['getAllRangePermissionPoint']()[_0x3e01ff(0x3c3)](_0x286183=>{var _0x22c34e=_0x3e01ff,_0x1491c6;const _0x4ca032=new _0x286183(_0x1d1d78,_0x1108ba,_0x2ebf0f),_0x485baa=_0x4ca032[_0x22c34e(0x230)],_0x44188d=_0x1f6515[_0x22c34e(0xa8)](_0x18207d=>_0x18207d[_0x22c34e(0x269)]===_0x485baa);_0x44188d&&(((_0x1491c6=this['_permissionService'][_0x22c34e(0x23a)](_0x4ca032['id']))==null?void 0x0:_0x1491c6[_0x22c34e(0x2b6)])!==_0x44188d[_0x22c34e(0xe9)]&&(_0x355925=!0x0),this[_0x22c34e(0x126)][_0x22c34e(0x23c)](_0x4ca032['id'],_0x44188d[_0x22c34e(0xe9)]),_0x215732+=_0x44188d[_0x22c34e(0x269)]+'_'+_0x44188d[_0x22c34e(0xe9)]);}),_0x1faa16[_0x3e01ff(0xb7)](_0x2ebf0f+'_'+_0x215732),_0x355925&&this[_0x3e01ff(0xb0)]['clearUndoRedo'](_0x1d1d78);});}}};De=Vn([ce(0x0,a[_0x271eef(0x16d)](a[_0x271eef(0x2dc)])),ce(0x1,a[_0x271eef(0x2c5)]),ce(0x2,a[_0x271eef(0x14d)]),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a[_0x271eef(0x16d)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x271eef(0x1d1)])],De);var Gn=Object[_0x271eef(0x1ec)],Kn=Object[_0x271eef(0x11b)],Yn=(_0x4c8280,_0x46aec6,_0x4fc055,_0x43416f)=>{var _0x3f783d=_0x271eef;for(var _0x59b412=_0x43416f>0x1?void 0x0:_0x43416f?Kn(_0x46aec6,_0x4fc055):_0x46aec6,_0xd8c472=_0x4c8280[_0x3f783d(0x7a)]-0x1,_0x2d93b5;_0xd8c472>=0x0;_0xd8c472--)(_0x2d93b5=_0x4c8280[_0xd8c472])&&(_0x59b412=(_0x43416f?_0x2d93b5(_0x46aec6,_0x4fc055,_0x59b412):_0x2d93b5(_0x59b412))||_0x59b412);return _0x43416f&&_0x59b412&&Gn(_0x46aec6,_0x4fc055,_0x59b412),_0x59b412;},_t=(_0x1c694b,_0x2235dc)=>(_0x28b759,_0x376044)=>_0x2235dc(_0x28b759,_0x376044,_0x1c694b);exports[_0x271eef(0x14e)]=class{constructor(_0x4d6af3,_0x552e99){this['_configService']=_0x4d6af3,this['_httpService']=_0x552e99;}async['getUnitOnRev'](_0x180a0f,_0x1ebf6f){var _0x334299=_0x271eef,_0x53df7e;const {unitID:_0x4330dd,type:_0x33365c,revision:_0x53cd9f=0x0}=_0x1ebf6f,_0x532b1e=this[_0x334299(0x154)]()+'/'+_0x33365c+_0x334299(0x34e)+_0x4330dd+'/rev/'+_0x53cd9f,_0x3d1d3f=(await this[_0x334299(0x78)][_0x334299(0x25f)](_0x532b1e))[_0x334299(0x26e)],_0x557ec3=(_0x53df7e=_0x3d1d3f[_0x334299(0x11f)])==null?void 0x0:_0x53df7e[_0x334299(0x18a)];if(_0x557ec3){const _0x43883e=_0x557ec3==null?void 0x0:_0x557ec3[_0x334299(0x1c0)],_0x17f63c=m['textEncoder'][_0x334299(0x33a)](m[_0x334299(0x2db)](_0x43883e));_0x557ec3[_0x334299(0x1c0)]=_0x17f63c,Object['entries'](_0x557ec3['sheets'])[_0x334299(0x3c3)](([,_0x572469])=>{var _0x43bd89=_0x334299;const _0x3284fd=_0x572469[_0x43bd89(0x1c0)],_0x12c527=m['textEncoder'][_0x43bd89(0x33a)](m['b64DecodeUnicode'](_0x3284fd));_0x572469[_0x43bd89(0x1c0)]=_0x12c527;});}return _0x3d1d3f;}async['getSheetBlock'](_0x2347d5,_0x4a082a){var _0x2d3cf6=_0x271eef;const {unitID:_0x1525b6,type:_0x421d78,blockID:_0x18e53a}=_0x4a082a,_0x45817a=this[_0x2d3cf6(0x284)]()+'/'+_0x421d78+'/unit/'+_0x1525b6+_0x2d3cf6(0x92)+_0x18e53a;return(await this[_0x2d3cf6(0x78)]['get'](_0x45817a))[_0x2d3cf6(0x26e)];}async[_0x271eef(0x2de)](_0x39e265,_0x3bce99){var _0x2a7134=_0x271eef;const {unitID:_0x27fb70,type:_0x324ca9,blockID:_0x4688ba}=_0x3bce99,_0x46a4a9=this[_0x2a7134(0x284)]()+'/block/'+_0x324ca9+'/unit/'+_0x27fb70+_0x2a7134(0x92)+_0x4688ba;return(await this[_0x2a7134(0x78)][_0x2a7134(0x25f)](_0x46a4a9))[_0x2a7134(0x26e)];}async[_0x271eef(0x136)](_0xa9cce9,_0x40fffa){var _0x117410=_0x271eef;const {unitID:_0x19ac2b,type:_0x3445f2,from:_0x13a6bd,to:_0x988f7f}=_0x40fffa,_0x4b58cf=this[_0x117410(0x284)]()+'/'+_0x3445f2+_0x117410(0x34e)+_0x19ac2b+_0x117410(0x254)+_0x13a6bd+'&to='+_0x988f7f;return(await this[_0x117410(0x78)][_0x117410(0x25f)](_0x4b58cf))[_0x117410(0x26e)];}[_0x271eef(0x154)](){var _0x52a39f=_0x271eef,_0x323dc9;return(_0x323dc9=this[_0x52a39f(0x107)][_0x52a39f(0x1db)](vt))!=null?_0x323dc9:this[_0x52a39f(0x284)]();}['_getAPIPrefix'](){var _0x46eaf1=_0x271eef,_0x27f481,_0x459849;const _0x2cb82f=this[_0x46eaf1(0x107)][_0x46eaf1(0x1db)](dt),_0x1cb4a4=this[_0x46eaf1(0x107)][_0x46eaf1(0x1db)](q);return(_0x459849=(_0x27f481=_0x1cb4a4==null?void 0x0:_0x1cb4a4[_0x46eaf1(0x1cf)])!=null?_0x27f481:_0x2cb82f)!=null?_0x459849:$t;}async[_0x271eef(0x3d7)](_0x4d75a1,_0x203c61){var _0x42c9b0=_0x271eef;const _0x5007d4=_0x42c9b0(0x9e)+_0x203c61['type']+_0x42c9b0(0x34e)+_0x203c61[_0x42c9b0(0x253)]+_0x42c9b0(0x243);return(await this[_0x42c9b0(0x78)][_0x42c9b0(0x25f)](_0x5007d4,{'params':{'resourceId':JSON['stringify'](_0x203c61['resourceIDs'])}}))[_0x42c9b0(0x26e)];}[_0x271eef(0x37b)](){var _0x3ac62c=_0x271eef;throw new Error(_0x3ac62c(0x274));}[_0x271eef(0x1eb)](){var _0x58d2b7=_0x271eef;throw new Error(_0x58d2b7(0x274));}[_0x271eef(0xc8)](){var _0x11563c=_0x271eef;throw new Error(_0x11563c(0x274));}[_0x271eef(0x142)](){var _0x267e55=_0x271eef;throw new Error(_0x267e55(0x274));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x271eef(0x14e)]=Yn([_t(0x0,a[_0x271eef(0x2ec)]),_t(0x1,a['Inject'](z[_0x271eef(0x112)]))],exports['SnapshotServerOverHTTPService']);var qn=Object[_0x271eef(0x1ec)],zn=Object[_0x271eef(0x11b)],Jn=(_0xb3e75b,_0x495f2c,_0x71c397,_0x1315ed)=>{var _0x13452a=_0x271eef;for(var _0xf326b2=_0x1315ed>0x1?void 0x0:_0x1315ed?zn(_0x495f2c,_0x71c397):_0x495f2c,_0x5b5307=_0xb3e75b[_0x13452a(0x7a)]-0x1,_0x4693b5;_0x5b5307>=0x0;_0x5b5307--)(_0x4693b5=_0xb3e75b[_0x5b5307])&&(_0xf326b2=(_0x1315ed?_0x4693b5(_0x495f2c,_0x71c397,_0xf326b2):_0x4693b5(_0xf326b2))||_0xf326b2);return _0x1315ed&&_0xf326b2&&qn(_0x495f2c,_0x71c397,_0xf326b2),_0xf326b2;},de=(_0x4379db,_0x49d4c6)=>(_0x74833c,_0x25c580)=>_0x49d4c6(_0x74833c,_0x25c580,_0x4379db);exports[_0x271eef(0x95)]=class extends a[_0x271eef(0x37c)]{constructor(_0x2dd22f,_0x3da0f6,_0x4ddaf0,_0x59cf2d,_0x15894e){super(_0x2dd22f,_0x3da0f6,_0x4ddaf0),this['_transformService']=_0x59cf2d,this['_logService']=_0x15894e;}[_0x271eef(0xe1)](_0x33d2e0,_0x119d04){var _0x4b883b=_0x271eef;const _0x45f92a=this[_0x4b883b(0x292)](_0x33d2e0);if(_0x45f92a)try{const _0x4aedee=this[_0x4b883b(0x15d)](_0x45f92a,_0x119d04);this[_0x4b883b(0x32a)](_0x33d2e0,_0x4aedee);}catch(_0xaf7fc8){this['_logService'][_0x4b883b(0x30b)]('[CollaborationUndoRedoService]',_0xaf7fc8),this[_0x4b883b(0x384)](_0x33d2e0);}const _0x395188=this[_0x4b883b(0x216)](_0x33d2e0);if(_0x395188)try{const _0x4e0281=this[_0x4b883b(0x15d)](_0x395188,_0x119d04);this[_0x4b883b(0x2a3)](_0x33d2e0,_0x4e0281);}catch(_0x1d7be3){this[_0x4b883b(0xc7)][_0x4b883b(0x30b)](_0x1d7be3),this[_0x4b883b(0x289)](_0x33d2e0);}}['_clearUndo'](_0x27512a){var _0x33c60e=_0x271eef;const _0x455b03=this['_getUndoStack'](_0x27512a);_0x455b03&&(_0x455b03['length']=0x0,this[_0x33c60e(0x374)]());}[_0x271eef(0x289)](_0x10f9a2){var _0x375560=_0x271eef;const _0x35698a=this['_getRedoStack'](_0x10f9a2);_0x35698a&&(_0x35698a[_0x375560(0x7a)]=0x0,this['_updateStatus']());}[_0x271eef(0x32a)](_0x27b667,_0x3717f5){var _0x221000=_0x271eef;this['_undoStacks'][_0x221000(0x323)](_0x27b667,_0x3717f5),this[_0x221000(0x374)]();}[_0x271eef(0x2a3)](_0x4ab925,_0x1c93fc){var _0x37788f=_0x271eef;this[_0x37788f(0x1be)][_0x37788f(0x323)](_0x4ab925,_0x1c93fc),this[_0x37788f(0x374)]();}[_0x271eef(0x15d)](_0x1744ec,_0x23e970){var _0x98f6cc=_0x271eef;const _0x3c28b9=[];let _0x219dd6=_0x23e970,_0x3bb9e6=_0x23e970;for(let _0x615fc1=_0x1744ec[_0x98f6cc(0x7a)]-0x1;_0x615fc1>=0x0;_0x615fc1--){const {unitID:_0x3d5836,undoMutations:_0xc2e1a7,redoMutations:_0x4d244a}=_0x1744ec[_0x615fc1],_0x10d3d4=this[_0x98f6cc(0xf0)][_0x98f6cc(0x37f)](_0x219dd6,_0xc2e1a7),_0xe90d76=this[_0x98f6cc(0xf0)][_0x98f6cc(0x37f)](_0x3bb9e6,_0x4d244a);if(m[_0x98f6cc(0x258)](_0x10d3d4)||m[_0x98f6cc(0x258)](_0xe90d76)){this[_0x98f6cc(0xc7)]['error'](_0x98f6cc(0x2a4),'transformStack\x20failed!',_0x10d3d4,_0xe90d76);break;}_0x219dd6=_0x10d3d4['c1Prime'],_0x3bb9e6=_0xe90d76['c1Prime'],_0x3c28b9['push']({'unitID':_0x3d5836,'undoMutations':_0x10d3d4[_0x98f6cc(0x21f)],'redoMutations':_0xe90d76[_0x98f6cc(0x21f)]});}return _0x3c28b9[_0x98f6cc(0x3c6)]();}},exports['CollaborativeUndoRedoService']=Jn([de(0x0,a[_0x271eef(0x2c5)]),de(0x1,a[_0x271eef(0x2a0)]),de(0x2,a[_0x271eef(0x31f)]),de(0x3,m[_0x271eef(0x35d)]),de(0x4,a[_0x271eef(0x84)])],exports['CollaborativeUndoRedoService']);var At=Object[_0x271eef(0x1ec)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x4ba250,_0x502095,_0x1761f1)=>_0x502095 in _0x4ba250?At(_0x4ba250,_0x502095,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1761f1}):_0x4ba250[_0x502095]=_0x1761f1,Qn=(_0x4e2cfb,_0x2cdba6,_0x597745,_0x4a20ee)=>{for(var _0x18f27e=_0x4a20ee>0x1?void 0x0:_0x4a20ee?Xn(_0x2cdba6,_0x597745):_0x2cdba6,_0x6c3892=_0x4e2cfb['length']-0x1,_0x312f8f;_0x6c3892>=0x0;_0x6c3892--)(_0x312f8f=_0x4e2cfb[_0x6c3892])&&(_0x18f27e=(_0x4a20ee?_0x312f8f(_0x2cdba6,_0x597745,_0x18f27e):_0x312f8f(_0x18f27e))||_0x18f27e);return _0x4a20ee&&_0x18f27e&&At(_0x2cdba6,_0x597745,_0x18f27e),_0x18f27e;},je=(_0x5593db,_0x3e8a64)=>(_0x4fc8af,_0x537fe4)=>_0x3e8a64(_0x4fc8af,_0x537fe4,_0x5593db),er=(_0x138f09,_0x123dbd,_0x158bc3)=>Zn(_0x138f09,_0x123dbd+'',_0x158bc3);const tr=_0x271eef(0x392);exports[_0x271eef(0x36d)]=class extends a['Plugin']{constructor(_0x454c90=zt,_0x172649,_0x3e427f,_0x5de246){var _0x2dcdf3=_0x271eef;super(),this[_0x2dcdf3(0x96)]=_0x454c90,this[_0x2dcdf3(0xc7)]=_0x172649,this[_0x2dcdf3(0xc4)]=_0x3e427f,this[_0x2dcdf3(0x107)]=_0x5de246;const {..._0x13ee7a}=this[_0x2dcdf3(0x96)];this['_configService'][_0x2dcdf3(0x135)](q,_0x13ee7a);}[_0x271eef(0x215)](){var _0xb58008=_0x271eef;this['_registerDependencies'](),this[_0xb58008(0x2ae)]();}[_0x271eef(0x1b4)](){var _0x58ff9a=_0x271eef,_0x3751c6,_0x2a185a,_0x3a2f9a,_0x4895da;this[_0x58ff9a(0xc4)][_0x58ff9a(0x371)](a['IUndoRedoService'])&&this[_0x58ff9a(0xc7)][_0x58ff9a(0x30b)](_0x58ff9a(0xf5),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3a9226=a[_0x58ff9a(0x29b)]([[a['IUndoRedoService'],{'useClass':exports[_0x58ff9a(0x95)]}],[exports[_0x58ff9a(0x20f)]],[exports[_0x58ff9a(0x30e)]],[exports[_0x58ff9a(0x2f3)]],[Oe],[Pe],[Be],[De],[te],[exports[_0x58ff9a(0x235)]],[ke,{'useClass':(_0x2a185a=(_0x3751c6=this['_config'])==null?void 0x0:_0x3751c6[_0x58ff9a(0x224)])!=null?_0x2a185a:exports[_0x58ff9a(0x2d2)]}],[m[_0x58ff9a(0x27b)],{'useClass':exports[_0x58ff9a(0x14e)]}],[a['IAuthzIoService'],{'useClass':exports[_0x58ff9a(0x16e)]}],[X[_0x58ff9a(0x283)],{'useClass':exports[_0x58ff9a(0x2b0)]}],[a[_0x58ff9a(0x23d)],{'useClass':exports[_0x58ff9a(0x3b5)]}],[exports[_0x58ff9a(0xfd)]],[$e]],(_0x3a2f9a=this[_0x58ff9a(0x96)])==null?void 0x0:_0x3a2f9a['override']);if(!((_0x4895da=this[_0x58ff9a(0x96)])!=null&&_0x4895da[_0x58ff9a(0x3c5)])){const _0xfe9fd9=_0x3a9226['findIndex'](([_0x46ae8c])=>_0x46ae8c===ve);_0xfe9fd9!==-0x1&&_0x3a9226[_0x58ff9a(0x2e2)](_0xfe9fd9,0x1);}a[_0x58ff9a(0x349)](this[_0x58ff9a(0xc4)],_0x3a9226);}[_0x271eef(0x2ae)](){var _0x5c70b4=_0x271eef,_0x49f910,_0x555529,_0xf3304f;this[_0x5c70b4(0xc4)][_0x5c70b4(0x25f)](z[_0x5c70b4(0x112)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x5c70b4(0xd8)]({'maxParallel':0x6})}),(_0x49f910=this[_0x5c70b4(0x96)])!=null&&_0x49f910[_0x5c70b4(0x11c)]||(_0x555529=this[_0x5c70b4(0xc4)]['get'](J,a[_0x5c70b4(0x2d3)]['OPTIONAL']))==null||_0x555529['disableLocalCache'](),(_0xf3304f=this[_0x5c70b4(0x96)])!=null&&_0xf3304f[_0x5c70b4(0x20b)]&&a[_0x5c70b4(0x21c)](this[_0x5c70b4(0xc4)],[[Oe]]),a[_0x5c70b4(0x21c)](this[_0x5c70b4(0xc4)],[[Pe],[exports[_0x5c70b4(0xfd)]],[De]]);}},er(exports[_0x271eef(0x36d)],_0x271eef(0x6e),tr),exports[_0x271eef(0x36d)]=Qn([a[_0x271eef(0x343)](m[_0x271eef(0x23f)],W['UniverSheetsPlugin'],z[_0x271eef(0x2a5)]),je(0x1,a[_0x271eef(0x84)]),je(0x2,a[_0x271eef(0x16d)](a['Injector'])),je(0x3,a[_0x271eef(0x2ec)])],exports[_0x271eef(0x36d)]),exports[_0x271eef(0x35c)]=Ge,exports[_0x271eef(0xa3)]=q,exports[_0x271eef(0xc3)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=ft,exports['CollaborationStatus']=We,exports[_0x271eef(0x33e)]=Q,exports[_0x271eef(0xe0)]=te,exports[_0x271eef(0x2f4)]=Be,exports[_0x271eef(0x22a)]=St,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x271eef(0x153)]=He,exports[_0x271eef(0x3ab)]=ke,exports[_0x271eef(0x15a)]=J,exports[_0x271eef(0x1fa)]=bt,exports[_0x271eef(0x2cf)]=ve,exports[_0x271eef(0x244)]=Kt,exports[_0x271eef(0x70)]=Gt,exports[_0x271eef(0x117)]=Et,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x271eef(0x9a)]=Ht,exports[_0x271eef(0x2c2)]=dt,exports[_0x271eef(0x196)]=vt,exports[_0x271eef(0x388)]=se,exports[_0x271eef(0x2c8)]=Fe,exports[_0x271eef(0xe2)]=Rt,exports[_0x271eef(0x3c1)]=pi,exports['serializeCombRequest']=yt;
1
+ 'use strict';var _0x935d9f=_0xff9d;(function(_0xb194ef,_0x3805be){var _0x5a869c=_0xff9d,_0x1c9866=_0xb194ef();while(!![]){try{var _0x7d1ad2=parseInt(_0x5a869c(0x1c9))/0x1+-parseInt(_0x5a869c(0x339))/0x2+parseInt(_0x5a869c(0x256))/0x3*(parseInt(_0x5a869c(0x188))/0x4)+parseInt(_0x5a869c(0x3be))/0x5*(parseInt(_0x5a869c(0x18a))/0x6)+-parseInt(_0x5a869c(0x32a))/0x7*(parseInt(_0x5a869c(0x40a))/0x8)+parseInt(_0x5a869c(0x334))/0x9*(parseInt(_0x5a869c(0x36e))/0xa)+-parseInt(_0x5a869c(0x180))/0xb;if(_0x7d1ad2===_0x3805be)break;else _0x1c9866['push'](_0x1c9866['shift']());}catch(_0x43a7d4){_0x1c9866['push'](_0x1c9866['shift']());}}}(_0x2c3f,0x9918f));var Lt=Object[_0x935d9f(0x18b)],Mt=(_0x11aedd,_0x55424b,_0xef5dd)=>_0x55424b in _0x11aedd?Lt(_0x11aedd,_0x55424b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xef5dd}):_0x11aedd[_0x55424b]=_0xef5dd,w=(_0x2d1b67,_0x13843a,_0x1ffb49)=>Mt(_0x2d1b67,typeof _0x13843a!='symbol'?_0x13843a+'':_0x13843a,_0x1ffb49);Object[_0x935d9f(0x18b)](exports,Symbol[_0x935d9f(0x2fe)],{'value':_0x935d9f(0xfd)});const a=require(_0x935d9f(0x3b5)),B=require(_0x935d9f(0x3e3)),V=require(_0x935d9f(0x219)),z=require(_0x935d9f(0x3ad)),m=require(_0x935d9f(0x3a2)),xt=require(_0x935d9f(0x215)),ut=require(_0x935d9f(0x2dc)),W=require(_0x935d9f(0xb6)),X=require(_0x935d9f(0x3a4)),jt=require(_0x935d9f(0x41a)),dt=_0x935d9f(0x360),$t=_0x935d9f(0x1a3),vt=_0x935d9f(0x41f),Ht=_0x935d9f(0x2c6),kt=0x7d0,ft='COLLAB_WEB_SOCKET_URL',St=_0x935d9f(0x342),Bt=_0x935d9f(0x34e),pt='HEARTBEAT_INTERVAL',Ft=0x7530,He='HEARTBEAT_TIMEOUT',gt=0x4e20,Wt=0x4e20,mt=_0x935d9f(0x1f4),Vt=0x3,Gt='LOCAL_CACHE_INTERVAL',Kt=0x3e8,It=_0x935d9f(0x2fc),Yt=_0x935d9f(0x1a1),Et=_0x935d9f(0x39c),qt='/universer-api/oidc/authpage';var Ct=(_0x3bfb6a=>(_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x1ff)]=0x0]=_0x935d9f(0x1ff),_0x3bfb6a[_0x3bfb6a['OK']=0x1]='OK',_0x3bfb6a[_0x3bfb6a['INTERNAL_ERROR']=0x2]=_0x935d9f(0x195),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x364)]=0x3]=_0x935d9f(0x364),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0xec)]=0x4]=_0x935d9f(0xec),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x2c3)]=0x5]=_0x935d9f(0x2c3),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x15c)]=0x6]='ALREADY_EXISTS',_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x15b)]=0x7]='INVALID_ARGUMENT',_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x14a)]=0x8]=_0x935d9f(0x14a),_0x3bfb6a[_0x3bfb6a['COMPLETION_FINISHED']=0x9]=_0x935d9f(0x2cd),_0x3bfb6a[_0x3bfb6a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x935d9f(0x303),_0x3bfb6a[_0x3bfb6a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x935d9f(0x15f),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x262)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3bfb6a[_0x3bfb6a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x935d9f(0x2b9),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x1b3)]=0x1b59]=_0x935d9f(0x1b3),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x2e3)]=0x1b5a]=_0x935d9f(0x2e3),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x1dc)]=0x1b5b]=_0x935d9f(0x1dc),_0x3bfb6a[_0x3bfb6a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3bfb6a[_0x3bfb6a['APPLY_DUPLICATED']=0x1b5d]=_0x935d9f(0xf4),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x22d)]=0x1f41]=_0x935d9f(0x22d),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x109)]=0x2329]=_0x935d9f(0x109),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x292)]=0x232a]=_0x935d9f(0x292),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x1f0)]=0x232b]=_0x935d9f(0x1f0),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x40b)]=0x232c]=_0x935d9f(0x40b),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x26b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bfb6a[_0x3bfb6a['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bfb6a[_0x3bfb6a[_0x935d9f(0xb9)]=0x2712]=_0x935d9f(0xb9),_0x3bfb6a[_0x3bfb6a['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3bfb6a[_0x3bfb6a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x935d9f(0x202),_0x3bfb6a[_0x3bfb6a[_0x935d9f(0x14e)]=-0x1]=_0x935d9f(0x14e),_0x3bfb6a))(Ct||{}),Z=(_0x566e27=>(_0x566e27[_0x566e27['UNIVER_UNKNOWN']=0x0]=_0x935d9f(0x16a),_0x566e27[_0x566e27['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x566e27[_0x566e27[_0x935d9f(0x2d6)]=0x2]=_0x935d9f(0x2d6),_0x566e27[_0x566e27[_0x935d9f(0x108)]=0x3]=_0x935d9f(0x108),_0x566e27[_0x566e27[_0x935d9f(0x2e8)]=0x4]='UNIVER_PROJECT',_0x566e27[_0x566e27[_0x935d9f(0x14e)]=-0x1]=_0x935d9f(0x14e),_0x566e27))(Z||{}),G=(_0xf45770=>(_0xf45770[_0xf45770['UNKNOWN_CMD']=0x0]=_0x935d9f(0x1a0),_0xf45770[_0xf45770['HELLO']=0x1]=_0x935d9f(0xcf),_0xf45770[_0xf45770[_0x935d9f(0x3d5)]=0x2]='JOIN',_0xf45770[_0xf45770['LEAVE']=0x3]=_0x935d9f(0x13a),_0xf45770[_0xf45770[_0x935d9f(0x3c4)]=0x4]='INGEST',_0xf45770[_0xf45770[_0x935d9f(0x2a3)]=0x5]=_0x935d9f(0x2a3),_0xf45770[_0xf45770[_0x935d9f(0x28a)]=0x6]=_0x935d9f(0x28a),_0xf45770[_0xf45770[_0x935d9f(0x14e)]=-0x1]=_0x935d9f(0x14e),_0xf45770))(G||{}),he=(_0xa97fa1=>(_0xa97fa1[_0xa97fa1[_0x935d9f(0x3db)]=0x0]=_0x935d9f(0x3db),_0xa97fa1[_0xa97fa1['OK']=0x1]='OK',_0xa97fa1[_0xa97fa1[_0x935d9f(0x24a)]=0x2]=_0x935d9f(0x24a),_0xa97fa1[_0xa97fa1[_0x935d9f(0x2b0)]=0x3e9]='JOIN_ROOM_FULL',_0xa97fa1[_0xa97fa1['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x935d9f(0x194),_0xa97fa1[_0xa97fa1[_0x935d9f(0x12f)]=0x3eb]=_0x935d9f(0x12f),_0xa97fa1[_0xa97fa1[_0x935d9f(0x265)]=0x3ec]=_0x935d9f(0x265),_0xa97fa1[_0xa97fa1[_0x935d9f(0x14e)]=-0x1]='UNRECOGNIZED',_0xa97fa1))(he||{}),Tt=(_0x1c8660=>(_0x1c8660[_0x1c8660[_0x935d9f(0x29f)]=0x0]=_0x935d9f(0x29f),_0x1c8660[_0x1c8660[_0x935d9f(0x260)]=0x1]=_0x935d9f(0x260),_0x1c8660[_0x1c8660[_0x935d9f(0x151)]=0x2]='HttpExport',_0x1c8660[_0x1c8660[_0x935d9f(0x1a4)]=0x3]=_0x935d9f(0x1a4),_0x1c8660[_0x1c8660[_0x935d9f(0x3f3)]=0x4]=_0x935d9f(0x3f3),_0x1c8660[_0x1c8660[_0x935d9f(0x14e)]=-0x1]=_0x935d9f(0x14e),_0x1c8660))(Tt||{});const q=_0x935d9f(0xa7),zt={};var Q=(_0x793c9a=>(_0x793c9a['OTHER_CLIENT_EDITING']=_0x935d9f(0x1f9),_0x793c9a['PERMISSION_DENIED']='PERMISSION_DENIED',_0x793c9a[_0x935d9f(0x157)]=_0x935d9f(0x157),_0x793c9a[_0x935d9f(0x224)]=_0x935d9f(0x224),_0x793c9a['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x793c9a[_0x935d9f(0x16d)]=_0x935d9f(0x16d),_0x793c9a['SOCKET_FAILED']=_0x935d9f(0x225),_0x793c9a[_0x935d9f(0x263)]='SUBMIT_CHANGESET_TIMEOUT',_0x793c9a))(Q||{});class te{constructor(){var _0x3e7489=_0x935d9f;w(this,'_event$',new B[(_0x3e7489(0x1f1))]()),w(this,_0x3e7489(0x301),this[_0x3e7489(0x28c)][_0x3e7489(0x230)]());}[_0x935d9f(0xc5)](_0x462da7){var _0x4af57c=_0x935d9f;this[_0x4af57c(0x28c)][_0x4af57c(0x174)](_0x462da7);}}const bt=a[_0x935d9f(0x1b1)](_0x935d9f(0x269));function Rt(_0x4b8447){var _0x436f29=_0x935d9f,_0x4780d2,_0x1fd1f9,_0x457973,_0x5de951,_0x178ac4;const _0x4471f2=_0x4b8447[_0x436f29(0x3c9)],_0x7b706c=JSON['parse'](_0x4471f2);switch(_0x7b706c[_0x436f29(0x135)]){case G[_0x436f29(0x2a3)]:case G[_0x436f29(0xcf)]:{const _0xd729fd=_0x7b706c[_0x436f29(0x107)];return{..._0x7b706c,'data':_0xd729fd,'cmd':_0x7b706c[_0x436f29(0x135)]};}case G[_0x436f29(0x3d5)]:{const _0x3616b2=_0x7b706c[_0x436f29(0x1e6)];return{..._0x7b706c,'data':_0x3616b2,'cmd':_0x7b706c[_0x436f29(0x135)]};}case G[_0x436f29(0x28a)]:{const _0x565b37=_0x7b706c[_0x436f29(0x356)];switch(_0x565b37[_0x436f29(0xc8)]){case m['CollaborationEvent'][_0x436f29(0xf0)]:return{..._0x7b706c,'data':{..._0x565b37,'data':(_0x4780d2=_0x565b37[_0x436f29(0x3ae)])==null?void 0x0:_0x4780d2['cs']},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)][_0x436f29(0xaa)]:return{..._0x7b706c,'data':{..._0x565b37,'data':(_0x1fd1f9=_0x565b37['csAckEvent'])==null?void 0x0:_0x1fd1f9['cs']},'cmd':_0x7b706c[_0x436f29(0x135)]};case m['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x7b706c,'data':{..._0x565b37,'data':(_0x457973=_0x565b37[_0x436f29(0xd1)])==null?void 0x0:_0x457973['cs']},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)][_0x436f29(0x1be)]:return{..._0x7b706c,'data':{..._0x565b37,'data':(_0x5de951=_0x565b37[_0x436f29(0x11a)])==null?void 0x0:_0x5de951['cs']},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)][_0x436f29(0x30e)]:return{..._0x7b706c,'data':{..._0x565b37,'data':(_0x178ac4=_0x565b37['csShouldRetryEvent'])==null?void 0x0:_0x178ac4['cs']},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)]['UPDATE_CURSOR']:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x128)]},'cmd':_0x7b706c[_0x436f29(0x135)]};case m['CollaborationEvent']['USERS_ENTER']:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x126)]},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)][_0x436f29(0x2ec)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x1ef)]},'cmd':_0x7b706c['cmd']};case m[_0x436f29(0x1b8)][_0x436f29(0x176)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x26f)]},'cmd':_0x7b706c[_0x436f29(0x135)]};case m[_0x436f29(0x1b8)][_0x436f29(0x22f)]:case m[_0x436f29(0x1b8)][_0x436f29(0x313)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x123)]},'cmd':_0x7b706c['cmd']};case m['CollaborationEvent'][_0x436f29(0x415)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x26f)]},'cmd':_0x7b706c[_0x436f29(0x135)]};case m['CollaborationEvent'][_0x436f29(0x326)]:return{..._0x7b706c,'data':_0x565b37,'cmd':_0x7b706c['cmd']};case m[_0x436f29(0x1b8)]['COMMENT_UPDATE']:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37['commentUpdateEvent']},'cmd':_0x7b706c['cmd']};case m['CollaborationEvent'][_0x436f29(0x3b8)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x2e5)]},'cmd':_0x7b706c[_0x436f29(0x135)]};case m['CollaborationEvent'][_0x436f29(0x36c)]:return{..._0x7b706c,'data':{..._0x565b37,'data':_0x565b37[_0x436f29(0x317)]},'cmd':_0x7b706c['cmd']};default:return _0x7b706c;}}default:return _0x7b706c;}}function yt(_0x123c3f){var _0x39315a=_0x935d9f;switch(_0x123c3f[_0x39315a(0x135)]){case G[_0x39315a(0x2a3)]:case G[_0x39315a(0xcf)]:return JSON[_0x39315a(0xc6)]({'cmd':_0x123c3f[_0x39315a(0x135)],'routeKey':_0x123c3f['routeKey']});case G[_0x39315a(0x3c4)]:{let _0x9aff6;switch(_0x123c3f['data'][_0x39315a(0xc8)]){case m[_0x39315a(0x1b8)]['UPDATE_CURSOR']:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x101)],'updateCursorEvent':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m[_0x39315a(0x1b8)][_0x39315a(0x2ec)]:{_0x9aff6={'eventID':m['CollaborationEvent'][_0x39315a(0x2ec)],'leaveEvent':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m['CollaborationEvent']['USERS_ENTER']:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x349)],'joinEvent':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m[_0x39315a(0x1b8)][_0x39315a(0x176)]:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x176)],'liveShareNewHost':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m[_0x39315a(0x1b8)][_0x39315a(0x313)]:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x313)],'liveShareOperation':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m[_0x39315a(0x1b8)][_0x39315a(0x415)]:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x415)],'liveShareTerminate':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x9aff6={'eventID':m['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x123c3f[_0x39315a(0x3c9)][_0x39315a(0x3c9)]};break;}case m[_0x39315a(0x1b8)][_0x39315a(0x22f)]:{_0x9aff6={'eventID':m[_0x39315a(0x1b8)][_0x39315a(0x22f)]};break;}default:_0x9aff6={'eventID':_0x123c3f['data'][_0x39315a(0xc8)]};}return JSON['stringify']({'cmd':_0x123c3f['cmd'],'routeKey':_0x123c3f[_0x39315a(0x209)],'collaMsg':_0x9aff6});}case G[_0x39315a(0x3d5)]:return JSON[_0x39315a(0xc6)]({'cmd':_0x123c3f['cmd'],'routeKey':_0x123c3f[_0x39315a(0x209)],'joinReq':_0x123c3f[_0x39315a(0x3c9)]});case G[_0x39315a(0x13a)]:return JSON['stringify']({'cmd':_0x123c3f[_0x39315a(0x135)],'routeKey':_0x123c3f[_0x39315a(0x209)],'leaveReq':_0x123c3f[_0x39315a(0x3c9)]});default:throw new Error(_0x39315a(0x1e5));}}var Jt=Object[_0x935d9f(0x18b)],Xt=Object[_0x935d9f(0xd8)],Zt=(_0x1a35a5,_0x1a206f,_0x26ffe7,_0x252a81)=>{var _0x1ff795=_0x935d9f;for(var _0x261a04=_0x252a81>0x1?void 0x0:_0x252a81?Xt(_0x1a206f,_0x26ffe7):_0x1a206f,_0x16ac21=_0x1a35a5[_0x1ff795(0x2d8)]-0x1,_0x4598eb;_0x16ac21>=0x0;_0x16ac21--)(_0x4598eb=_0x1a35a5[_0x16ac21])&&(_0x261a04=(_0x252a81?_0x4598eb(_0x1a206f,_0x26ffe7,_0x261a04):_0x4598eb(_0x261a04))||_0x261a04);return _0x252a81&&_0x261a04&&Jt(_0x1a206f,_0x26ffe7,_0x261a04),_0x261a04;},ue=(_0x4250e6,_0x5bfb0c)=>(_0xa5d9c2,_0x35ac37)=>_0x5bfb0c(_0xa5d9c2,_0x35ac37,_0x4250e6);const ke=a[_0x935d9f(0x1b1)](_0x935d9f(0x3b7));function Qt(_0x2a9105,_0x521b7c,_0x380274){var _0x3ad3f5=_0x935d9f;return _0x2a9105+'/'+_0x521b7c+_0x3ad3f5(0x3a0)+_0x380274+'/new_changes';}exports[_0x935d9f(0x321)]=class extends a[_0x935d9f(0x21b)]{constructor(_0x5682f9,_0x34e719,_0x2c1493,_0x1a9533,_0x5b18f1){var _0xc987b7=_0x935d9f;super(),this[_0xc987b7(0x3b3)]=_0x5682f9,this[_0xc987b7(0x309)]=_0x34e719,this[_0xc987b7(0x40e)]=_0x2c1493,this['_logService']=_0x1a9533,this['_snapshotServerService']=_0x5b18f1;}[_0x935d9f(0x272)](_0x147ec3){var _0x520de0=_0x935d9f;const _0x942cef=this[_0x520de0(0x3b3)]['get'](z[_0x520de0(0x400)]);if(!_0x942cef)throw new Error(_0x520de0(0x3d9));const _0xd955b4=_0x942cef[_0x520de0(0x272)](_0x147ec3);if(!_0xd955b4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x30a40c=new a[(_0x520de0(0x38e))](),_0xeed9d5=new B[(_0x520de0(0x1f1))]();_0x30a40c[_0x520de0(0x217)](_0xd955b4[_0x520de0(0x402)][_0x520de0(0x1d6)](_0x236d0c=>_0xeed9d5[_0x520de0(0x174)](_0x236d0c))),_0x30a40c[_0x520de0(0x217)](a[_0x520de0(0x1b0)](()=>_0xeed9d5[_0x520de0(0xb3)]()));const _0x2a0c60=new B['Subject']();_0x30a40c['add'](_0xd955b4[_0x520de0(0x1a2)][_0x520de0(0x1d6)](_0x836400=>_0x2a0c60['next'](_0x836400))),_0x30a40c[_0x520de0(0x217)](a[_0x520de0(0x1b0)](()=>_0x2a0c60[_0x520de0(0xb3)]()));const _0xf012de=new B[(_0x520de0(0x1f1))]();_0x30a40c[_0x520de0(0x217)](_0xd955b4[_0x520de0(0x250)][_0x520de0(0x1d6)](_0x519f74=>{var _0x1ecaf3=_0x520de0;const _0x3c688c=Rt(_0x519f74);_0xf012de[_0x1ecaf3(0x174)](_0x3c688c);})),_0x30a40c[_0x520de0(0x217)](a['toDisposable'](()=>_0xf012de['complete']()));let _0x4f0c35;const _0x347c1a=()=>{var _0x2f9524=_0x520de0;_0x2a0c60[_0x2f9524(0x174)](new Event(_0x2f9524(0x17e))),_0xeed9d5[_0x2f9524(0x174)](new CloseEvent('connection\x20error')),_0x4f0c35[_0x2f9524(0x3dd)]();};return _0x4f0c35={'memberID':'','close$':_0xeed9d5[_0x520de0(0x230)](),'error$':_0x2a0c60['asObservable'](),'open$':_0xd955b4[_0x520de0(0xab)],'message$':_0xf012de[_0x520de0(0x230)](),'send':_0x109d03=>{var _0x22a889=_0x520de0;if(_0x109d03[_0x22a889(0x135)]===G[_0x22a889(0x3c4)]){if(_0x109d03[_0x22a889(0x3c9)][_0x22a889(0xc8)]===m[_0x22a889(0x1b8)][_0x22a889(0x186)]){this[_0x22a889(0x1c5)](_0x4f0c35,_0x109d03[_0x22a889(0x3c9)])[_0x22a889(0x2ab)](_0x26fbca=>{var _0x3c1b1a=_0x22a889;this[_0x3c1b1a(0x3fb)][_0x3c1b1a(0xd4)](_0x26fbca),_0x347c1a();});return;}if(_0x109d03[_0x22a889(0x3c9)][_0x22a889(0xc8)]===m[_0x22a889(0x1b8)][_0x22a889(0x253)]){const _0x42ab33=_0x109d03[_0x22a889(0x3c9)];this['_fetchMissChangesets'](_0x42ab33)[_0x22a889(0x252)](_0x1152dc=>{var _0x842e49=_0x22a889;_0xf012de['next']({'cmd':G[_0x842e49(0x28a)],'code':he['OK'],'routeKey':_0x42ab33[_0x842e49(0x3c9)][_0x842e49(0x35e)],'routeType':'','data':{'eventID':m[_0x842e49(0x1b8)][_0x842e49(0x1ec)],'data':{'changesets':_0x1152dc}}});})[_0x22a889(0x2ab)](_0x3a9e2a=>{var _0x9618cd=_0x22a889;this[_0x9618cd(0x3fb)]['error'](_0x3a9e2a),_0x347c1a();});return;}}_0xd955b4['send'](yt(_0x109d03));},'close':()=>{var _0x1e35f1=_0x520de0;_0xd955b4[_0x1e35f1(0x3dd)](),_0x30a40c['dispose']();}},_0x4f0c35;}async[_0x935d9f(0x1c5)](_0x2243d2,_0x5f230b){var _0x506e66=_0x935d9f,_0x226f38,_0x181b78;const {unitType:_0x316c27,unitID:_0x4e529d,changeset:_0x41ec66}=_0x5f230b[_0x506e66(0x3c9)],_0x1d4aab={'unitID':_0x4e529d,'memberID':_0x2243d2[_0x506e66(0x2d1)],'type':_0x316c27,'changeset':m[_0x506e66(0x320)](_0x41ec66)},_0x5959e2=this[_0x506e66(0x40e)][_0x506e66(0x2d7)](It),_0x412f1f=this[_0x506e66(0x40e)][_0x506e66(0x2d7)](q),_0x3ecc12=Qt((_0x181b78=(_0x226f38=_0x412f1f==null?void 0x0:_0x412f1f[_0x506e66(0x155)])!=null?_0x226f38:_0x5959e2)!=null?_0x181b78:Yt,_0x316c27,_0x4e529d);try{await this['_http']['post'](_0x3ecc12,{'body':_0x1d4aab});}catch(_0x57807c){throw this['_logService']['error'](_0x506e66(0x3f6),_0x506e66(0x24b)),_0x57807c;}}async[_0x935d9f(0x300)](_0x484d37){var _0xc57ec3=_0x935d9f;const {unitID:_0x5a1b7a,from:_0xc58cd,to:_0x4c0d4d,unitType:_0x487ca5}=_0x484d37[_0xc57ec3(0x3c9)];return(await this['_snapshotServerService'][_0xc57ec3(0x231)]({'metadata':void 0x0},{'unitID':_0x5a1b7a,'type':_0x487ca5,'from':_0xc58cd,'to':_0x4c0d4d}))[_0xc57ec3(0x3fd)];}},exports[_0x935d9f(0x321)]=Zt([ue(0x0,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),ue(0x1,a['Inject'](z[_0x935d9f(0x1ce)])),ue(0x2,a[_0x935d9f(0x35d)]),ue(0x3,a[_0x935d9f(0x279)]),ue(0x4,m[_0x935d9f(0x1cf)])],exports[_0x935d9f(0x321)]);const ei=_0x935d9f(0x398);function ti(_0x4066df){var _0x20acf5=_0x935d9f;return JSON[_0x20acf5(0xc6)](_0x4066df)[_0x20acf5(0x2d8)];}class Be{constructor(){var _0x1b9ec4=_0x935d9f;w(this,_0x1b9ec4(0x286),new B['Subject']()),w(this,'commentUpdate$',this[_0x1b9ec4(0x286)]['asObservable']());}[_0x935d9f(0x315)](_0x225d60){var _0x2d16d2=_0x935d9f;this[_0x2d16d2(0x286)][_0x2d16d2(0x174)](_0x225d60);}}var ii=Object[_0x935d9f(0x18b)],ni=Object[_0x935d9f(0xd8)],ri=(_0x387f7a,_0x480043,_0x4de67f,_0x1027e3)=>{for(var _0x29e9f8=_0x1027e3>0x1?void 0x0:_0x1027e3?ni(_0x480043,_0x4de67f):_0x480043,_0xff5ec6=_0x387f7a['length']-0x1,_0x35f3cb;_0xff5ec6>=0x0;_0xff5ec6--)(_0x35f3cb=_0x387f7a[_0xff5ec6])&&(_0x29e9f8=(_0x1027e3?_0x35f3cb(_0x480043,_0x4de67f,_0x29e9f8):_0x35f3cb(_0x29e9f8))||_0x29e9f8);return _0x1027e3&&_0x29e9f8&&ii(_0x480043,_0x4de67f,_0x29e9f8),_0x29e9f8;},Ke=(_0x32ac75,_0x1b255a)=>(_0x153b76,_0x301087)=>_0x1b255a(_0x153b76,_0x301087,_0x32ac75);exports[_0x935d9f(0x353)]=class extends a['Disposable']{constructor(_0x45d82c,_0x46c2ff){var _0x297abc=_0x935d9f;super(),w(this,'_roomMembers',new Map()),(this[_0x297abc(0xba)]=_0x45d82c,this[_0x297abc(0x17f)]=_0x46c2ff,this['disposeWithMe'](a[_0x297abc(0x1b0)](B[_0x297abc(0x2d3)](this['_univerInstanceService'][_0x297abc(0x246)](a[_0x297abc(0x383)][_0x297abc(0x2d6)])['pipe'](V[_0x297abc(0x379)](_0x48b7cb=>_0x48b7cb[_0x297abc(0x104)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x297abc(0x383)][_0x297abc(0x154)])['pipe'](V[_0x297abc(0x379)](_0x1970e8=>_0x1970e8[_0x297abc(0x104)]())),this[_0x297abc(0xba)][_0x297abc(0x246)](a[_0x297abc(0x383)][_0x297abc(0x108)])['pipe'](V[_0x297abc(0x379)](_0x39add=>_0x39add[_0x297abc(0x104)]())))['subscribe'](_0x34d8ef=>this[_0x297abc(0x1fc)](_0x34d8ef)))));}[_0x935d9f(0x40c)](_0x583ec1){this['_userManagerService']['setCurrentUser'](_0x583ec1);}[_0x935d9f(0x3a7)](){var _0x78a293=_0x935d9f;return this[_0x78a293(0x17f)]['getCurrentUser']();}[_0x935d9f(0x37f)](_0x28ec42,_0x354d39){var _0x1e80d7=_0x935d9f;let _0x561130=this[_0x1e80d7(0x243)][_0x1e80d7(0xf9)](_0x28ec42);_0x561130||(_0x561130=new si(),this[_0x1e80d7(0x243)][_0x1e80d7(0x1c7)](_0x28ec42,_0x561130)),_0x561130[_0x1e80d7(0x37f)](_0x354d39);}[_0x935d9f(0x288)](_0x5a6d59,_0x14b661){const _0x46eec8=this['_roomMembers']['get'](_0x5a6d59);_0x46eec8&&_0x46eec8['removeMember'](_0x14b661);}['getRoom'](_0x1973f4){var _0x14ebc7=_0x935d9f;return this[_0x14ebc7(0x243)][_0x14ebc7(0xf9)](_0x1973f4);}[_0x935d9f(0x413)](_0x336039,_0x5ae622){var _0x5d5e02=_0x935d9f;const _0x266257=this['_roomMembers']['get'](_0x336039);if(_0x266257)return _0x266257[_0x5d5e02(0x413)](_0x5ae622);}[_0x935d9f(0x1fc)](_0x333f76){var _0xf94d63=_0x935d9f;const _0x1bdda9=this[_0xf94d63(0x243)]['get'](_0x333f76);_0x1bdda9&&(_0x1bdda9[_0xf94d63(0x3bb)](),this[_0xf94d63(0x243)][_0xf94d63(0x141)](_0x333f76));}[_0x935d9f(0x3bb)](){var _0xc6445b=_0x935d9f;this[_0xc6445b(0x243)][_0xc6445b(0x3c2)](_0x46211f=>_0x46211f[_0xc6445b(0x3bb)]()),this[_0xc6445b(0x243)][_0xc6445b(0x392)]();}},exports['MemberService']=ri([Ke(0x0,a[_0x935d9f(0x201)]),Ke(0x1,a[_0x935d9f(0x338)](a[_0x935d9f(0x270)]))],exports[_0x935d9f(0x353)]);class si extends a[_0x935d9f(0x21b)]{constructor(){super(...arguments),w(this,'_members',new Map());}[_0x935d9f(0x3bb)](){var _0x487798=_0x935d9f;this['_members'][_0x487798(0x392)]();}['updateMember'](_0x3c29e4){var _0x462773=_0x935d9f;this[_0x462773(0xbb)][_0x462773(0x1c7)](_0x3c29e4[_0x462773(0x2d1)],_0x3c29e4);}[_0x935d9f(0x288)](_0x2e496e){var _0x44a7a2=_0x935d9f;this[_0x44a7a2(0xbb)][_0x44a7a2(0x141)](_0x2e496e);}['getMember'](_0x2a47d2){var _0x2dc710=_0x935d9f;return this['_members'][_0x2dc710(0xf9)](_0x2a47d2);}[_0x935d9f(0x18c)](){var _0x183e60=_0x935d9f;return Array[_0x183e60(0x297)](this[_0x183e60(0xbb)][_0x183e60(0xc3)]());}}var oi=Object[_0x935d9f(0x18b)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x53d1a3,_0x2bbe26,_0x42247b,_0x3fa8d4)=>{var _0x66e719=_0x935d9f;for(var _0x82e64d=_0x3fa8d4>0x1?void 0x0:_0x3fa8d4?ai(_0x2bbe26,_0x42247b):_0x2bbe26,_0x2e54b5=_0x53d1a3[_0x66e719(0x2d8)]-0x1,_0x10dee4;_0x2e54b5>=0x0;_0x2e54b5--)(_0x10dee4=_0x53d1a3[_0x2e54b5])&&(_0x82e64d=(_0x3fa8d4?_0x10dee4(_0x2bbe26,_0x42247b,_0x82e64d):_0x10dee4(_0x82e64d))||_0x82e64d);return _0x3fa8d4&&_0x82e64d&&oi(_0x2bbe26,_0x42247b,_0x82e64d),_0x82e64d;},oe=(_0x33436e,_0x24670b)=>(_0xd38126,_0x25566d)=>_0x24670b(_0xd38126,_0x25566d,_0x33436e),se=(_0x28721f=>(_0x28721f[_0x28721f[_0x935d9f(0x369)]=0x0]=_0x935d9f(0x369),_0x28721f[_0x28721f[_0x935d9f(0xd3)]=0x1]=_0x935d9f(0xd3),_0x28721f[_0x28721f[_0x935d9f(0x330)]=0x2]=_0x935d9f(0x330),_0x28721f[_0x28721f[_0x935d9f(0x1ae)]=0x3]=_0x935d9f(0x1ae),_0x28721f))(se||{});const Ye={[he[_0x935d9f(0x24a)]]:_0x935d9f(0x114),[he['JOIN_ROOM_FULL']]:_0x935d9f(0x3d6),[he[_0x935d9f(0x194)]]:_0x935d9f(0x118),[he[_0x935d9f(0x12f)]]:_0x935d9f(0x30f),[he[_0x935d9f(0x265)]]:_0x935d9f(0xbf)};exports['CollaborationSession']=class extends a[_0x935d9f(0x28d)]{constructor(_0x4d9609,_0x17d9e2,_0x674b09,_0x47807b,_0x2096cf,_0x517776,_0x3cf39f,_0x5f23f2,_0x3385db){var _0x5ef455=_0x935d9f;super(),w(this,_0x5ef455(0x365),new B[(_0x5ef455(0x242))](0x0)),w(this,_0x5ef455(0x39e),this[_0x5ef455(0x365)][_0x5ef455(0x230)]()),w(this,_0x5ef455(0x28c),new B[(_0x5ef455(0x1f1))]()),w(this,_0x5ef455(0x301),this[_0x5ef455(0x28c)][_0x5ef455(0x230)]()),w(this,'_socket'),w(this,_0x5ef455(0x410)),w(this,_0x5ef455(0xe7)),w(this,'_shouldReportTelemetry',!0x1),w(this,'_telemetryInfo',null),(this[_0x5ef455(0x2da)]=_0x4d9609,this[_0x5ef455(0x3fb)]=_0x674b09,this[_0x5ef455(0x40e)]=_0x47807b,this[_0x5ef455(0x386)]=_0x2096cf,this[_0x5ef455(0x22c)]=_0x517776,this[_0x5ef455(0x391)]=_0x3cf39f,this[_0x5ef455(0x1ea)]=_0x5f23f2,this['_telemetryService']=_0x3385db,this[_0x5ef455(0x17d)]=!!this[_0x5ef455(0x238)],_0x17d9e2[_0x5ef455(0x21a)](B[_0x5ef455(0x184)](this[_0x5ef455(0x29c)]))[_0x5ef455(0x1d6)](_0x329739=>{var _0x26cb55=_0x5ef455,_0x4dea71;typeof _0x329739>'u'||(this[_0x26cb55(0x251)]=_0x329739,_0x329739?(this['_joinRoom'](_0x329739),this['_socketMessageSubscription']=_0x329739[_0x26cb55(0x250)][_0x26cb55(0x1d6)](_0x35d69d=>{var _0x28099d=_0x26cb55;_0x35d69d[_0x28099d(0x209)]===this[_0x28099d(0x2da)]&&this['_onCombEvent'](_0x35d69d);})):(this[_0x26cb55(0x3ff)](),this[_0x26cb55(0x365)][_0x26cb55(0x174)](0x2),(_0x4dea71=this['_socketMessageSubscription'])==null||_0x4dea71[_0x26cb55(0x418)](),this[_0x26cb55(0x410)]=null));}));}get[_0x935d9f(0x227)](){var _0x55c9d7=_0x935d9f;return this[_0x55c9d7(0x365)]['getValue']();}[_0x935d9f(0x235)](){var _0x7fe9cc,_0x4f2b5e;return(_0x4f2b5e=(_0x7fe9cc=this['_socket'])==null?void 0x0:_0x7fe9cc['memberID'])!=null?_0x4f2b5e:null;}[_0x935d9f(0x3bb)](){var _0x163b13=_0x935d9f;super['dispose'](),this[_0x163b13(0x29c)][_0x163b13(0x174)](),this[_0x163b13(0x29c)]['complete']();}[_0x935d9f(0x3dd)](){var _0x3a1e4e=_0x935d9f,_0x4268d6,_0x4fd660;this[_0x3a1e4e(0x3ff)](),(_0x4268d6=this[_0x3a1e4e(0x251)])==null||_0x4268d6[_0x3a1e4e(0x382)]({'cmd':G[_0x3a1e4e(0x13a)],'data':{'roomID':this[_0x3a1e4e(0x2da)]}}),(_0x4fd660=this[_0x3a1e4e(0x251)])==null||_0x4fd660[_0x3a1e4e(0x3dd)](),this['_event$']['complete'](),this[_0x3a1e4e(0x365)][_0x3a1e4e(0xb3)](),this[_0x3a1e4e(0x3bb)]();}['_onCombEvent'](_0x27689c){var _0x868117=_0x935d9f;_0x27689c['cmd']===G[_0x868117(0x3d5)]?this[_0x868117(0x32b)](_0x27689c):_0x27689c[_0x868117(0x135)]===G[_0x868117(0x28a)]&&this['_onRecvEvent'](_0x27689c);}[_0x935d9f(0x407)](_0x51eb91){var _0x5e1777=_0x935d9f;this['_sessionStatus$'][_0x5e1777(0x174)](0x1),_0x51eb91['send']({'cmd':G[_0x5e1777(0x3d5)],'routeKey':this[_0x5e1777(0x2da)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5e1777(0x2da)]}]}});}[_0x935d9f(0x32b)](_0x545280){var _0x4fe7e5=_0x935d9f,_0x2f119f;if(_0x545280['code']in Ye){this[_0x4fe7e5(0x1ea)][_0x4fe7e5(0xc5)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x545280[_0x4fe7e5(0x332)]]}),this[_0x4fe7e5(0x365)][_0x4fe7e5(0x174)](0x2);return;}this[_0x4fe7e5(0x365)][_0x4fe7e5(0x174)](0x3);const _0x22a0c6=(_0x2f119f=_0x545280[_0x4fe7e5(0x3c9)][_0x4fe7e5(0xf3)][this['_unitID']])==null?void 0x0:_0x2f119f[_0x4fe7e5(0x3e9)];_0x22a0c6&&_0x22a0c6[_0x4fe7e5(0x3c2)](_0x4e03f0=>this[_0x4fe7e5(0x22c)]['updateMember'](this['_unitID'],_0x4e03f0));}[_0x935d9f(0x41b)](_0x21d4e6){var _0x19e57e=_0x935d9f;try{const _0x2a89ff=_0x21d4e6[_0x19e57e(0x3c9)];switch(_0x2a89ff[_0x19e57e(0xc8)]){case m[_0x19e57e(0x1b8)][_0x19e57e(0x349)]:this[_0x19e57e(0x39a)](_0x2a89ff),this[_0x19e57e(0x28c)][_0x19e57e(0x174)](_0x2a89ff);break;case m[_0x19e57e(0x1b8)]['USERS_LEAVE']:this[_0x19e57e(0x1a8)](_0x2a89ff),this[_0x19e57e(0x28c)][_0x19e57e(0x174)](_0x2a89ff);break;case m[_0x19e57e(0x1b8)][_0x19e57e(0xaa)]:case m[_0x19e57e(0x1b8)][_0x19e57e(0x30e)]:this[_0x19e57e(0x145)](),this['_clearCollaborationTimeoutTimer'](),this[_0x19e57e(0x28c)]['next'](_0x2a89ff);break;case m[_0x19e57e(0x1b8)][_0x19e57e(0x326)]:this['_logService']['error'](_0x19e57e(0x2e9)+JSON[_0x19e57e(0xc6)](_0x2a89ff)),this[_0x19e57e(0x28c)][_0x19e57e(0x174)](_0x2a89ff);break;case m[_0x19e57e(0x1b8)][_0x19e57e(0x10d)]:this[_0x19e57e(0x391)][_0x19e57e(0x315)](_0x2a89ff['data']),this[_0x19e57e(0x28c)][_0x19e57e(0x174)](_0x2a89ff);break;default:this[_0x19e57e(0x28c)][_0x19e57e(0x174)](_0x2a89ff);}}catch(_0x9caaec){this[_0x19e57e(0x3fb)][_0x19e57e(0xd4)](_0x9caaec,_0x21d4e6);}}[_0x935d9f(0x39a)](_0x50936b){var _0x145f8d=_0x935d9f;this[_0x145f8d(0x22c)][_0x145f8d(0x37f)](this[_0x145f8d(0x2da)],_0x50936b[_0x145f8d(0x3c9)]);}[_0x935d9f(0x1a8)](_0x12901c){var _0x3cd480=_0x935d9f;this[_0x3cd480(0x22c)][_0x3cd480(0x288)](this[_0x3cd480(0x2da)],_0x12901c[_0x3cd480(0x3c9)][_0x3cd480(0x2d1)]);}async[_0x935d9f(0x382)](_0x5eb73f,_0x52d61b){var _0x199d82=_0x935d9f;if(this[_0x199d82(0x227)]!==0x3||!this[_0x199d82(0x251)])throw new Error(_0x199d82(0x354));try{_0x5eb73f['eventID']===m[_0x199d82(0x1b8)][_0x199d82(0x186)]&&(this[_0x199d82(0x10c)](),this[_0x199d82(0x2c5)](_0x5eb73f)),this[_0x199d82(0x251)][_0x199d82(0x382)]({'cmd':G['INGEST'],'routeKey':_0x52d61b,'routeType':'','data':_0x5eb73f});}catch(_0x58bc3c){this[_0x199d82(0x3fb)][_0x199d82(0xd4)](_0x58bc3c);}}['_scheduleCollaborationTimeoutTimer'](){var _0x38802c=_0x935d9f,_0x36d592;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xa708a2=_0xff9d;this['_collaborationTimeoutTimer']=null,this[_0xa708a2(0x1ea)][_0xa708a2(0xc5)]({'id':Q[_0xa708a2(0x263)]});},(_0x36d592=this['_configService'][_0x38802c(0x2d7)](He))!=null?_0x36d592:gt);}['_clearCollaborationTimeoutTimer'](){var _0x167ff0=_0x935d9f;this[_0x167ff0(0xe7)]&&(clearTimeout(this[_0x167ff0(0xe7)]),this[_0x167ff0(0xe7)]=null);}[_0x935d9f(0x2c5)](_0xe11187){var _0x2c29ba=_0x935d9f;if(!this[_0x2c29ba(0x17d)])return;const {data:_0x234477}=_0xe11187,{unitID:_0x322529,changeset:_0x138af2}=_0x234477,{mutations:_0x7b5955,type:_0x33dcac}=_0x138af2;this[_0x2c29ba(0x2b6)]={'unitId':_0x322529,'type':_0x33dcac,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x7b5955)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x47cd3e=_0x935d9f;if(this['_shouldReportTelemetry']){if(!this[_0x47cd3e(0x2b6)]){this[_0x47cd3e(0x3fb)][_0x47cd3e(0xd4)](_0x47cd3e(0x3f6),_0x47cd3e(0x32e));return;}this[_0x47cd3e(0x2b6)][_0x47cd3e(0x3bd)]=performance[_0x47cd3e(0x11f)](),this[_0x47cd3e(0x2b6)][_0x47cd3e(0x3a3)]=this[_0x47cd3e(0x2b6)]['stopTime']-this[_0x47cd3e(0x2b6)][_0x47cd3e(0x31f)],this[_0x47cd3e(0x238)][_0x47cd3e(0x19c)](ei,this[_0x47cd3e(0x2b6)]),this[_0x47cd3e(0x2b6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1fddba=_0x935d9f;this[_0x1fddba(0x2b6)]=null;}},exports[_0x935d9f(0x310)]=ci([oe(0x2,a[_0x935d9f(0x279)]),oe(0x3,a[_0x935d9f(0x35d)]),oe(0x4,a[_0x935d9f(0x338)](a[_0x935d9f(0x271)])),oe(0x5,a['Inject'](exports[_0x935d9f(0x353)])),oe(0x6,a[_0x935d9f(0x338)](Be)),oe(0x7,a[_0x935d9f(0x338)](te)),oe(0x8,a['Optional'](xt['ITelemetryService']))],exports[_0x935d9f(0x310)]);var hi=Object['defineProperty'],li=Object['getOwnPropertyDescriptor'],_i=(_0x701207,_0x2eb660,_0x4034b8,_0x18d72f)=>{var _0x1c4853=_0x935d9f;for(var _0x1d763d=_0x18d72f>0x1?void 0x0:_0x18d72f?li(_0x2eb660,_0x4034b8):_0x2eb660,_0x2c50d1=_0x701207[_0x1c4853(0x2d8)]-0x1,_0x48a6ad;_0x2c50d1>=0x0;_0x2c50d1--)(_0x48a6ad=_0x701207[_0x2c50d1])&&(_0x1d763d=(_0x18d72f?_0x48a6ad(_0x2eb660,_0x4034b8,_0x1d763d):_0x48a6ad(_0x1d763d))||_0x1d763d);return _0x18d72f&&_0x1d763d&&hi(_0x2eb660,_0x4034b8,_0x1d763d),_0x1d763d;},ae=(_0xa4ba26,_0x166ca9)=>(_0x4139ba,_0x4499e2)=>_0x166ca9(_0x4139ba,_0x4499e2,_0xa4ba26);exports[_0x935d9f(0x12d)]=class extends a[_0x935d9f(0x21b)]{constructor(_0x7f0f5a,_0x280b9f,_0x281034,_0x4a64be,_0xc4188f,_0x39c33e,_0x445ea7){var _0x5605e1=_0x935d9f;super(),w(this,_0x5605e1(0x1ee),new B[(_0x5605e1(0x242))](void 0x0)),w(this,_0x5605e1(0x408),this[_0x5605e1(0x1ee)][_0x5605e1(0x230)]()),w(this,_0x5605e1(0x2eb),null),w(this,_0x5605e1(0xeb),new Map()),w(this,_0x5605e1(0x2b4),new B['BehaviorSubject'](se[_0x5605e1(0x369)])),w(this,_0x5605e1(0x1e3),this[_0x5605e1(0x2b4)][_0x5605e1(0x230)]()),w(this,_0x5605e1(0x3cb),!0x1),w(this,_0x5605e1(0xa4)),w(this,_0x5605e1(0x394),0x0),w(this,'_sendHeartbeatTimer'),w(this,_0x5605e1(0xe8)),(this[_0x5605e1(0x3b3)]=_0x7f0f5a,this[_0x5605e1(0x3fb)]=_0x280b9f,this[_0x5605e1(0x40e)]=_0x281034,this[_0x5605e1(0x323)]=_0x4a64be,this[_0x5605e1(0x160)]=_0xc4188f,this[_0x5605e1(0x1ea)]=_0x39c33e,this[_0x5605e1(0x41d)]=_0x445ea7,this[_0x5605e1(0x393)]());}get[_0x935d9f(0x251)](){var _0x2db789=_0x935d9f;return this[_0x2db789(0x1ee)][_0x2db789(0x206)]();}[_0x935d9f(0x393)](){var _0x3f66c6=_0x935d9f;this['_networkConditionService']&&this['disposeWithMe'](this[_0x3f66c6(0x41d)][_0x3f66c6(0x1c0)][_0x3f66c6(0x1d6)](_0x485b84=>{var _0x1aa6ec=_0x3f66c6;_0x485b84&&!this[_0x1aa6ec(0x251)]&&this[_0x1aa6ec(0x329)](),_0x485b84||this[_0x1aa6ec(0xe2)]();}));}[_0x935d9f(0x3bb)](){var _0x424ec4=_0x935d9f;super['dispose'](),this['_sessions']['forEach'](_0x686d5a=>_0x686d5a[_0x424ec4(0x3bb)]()),this[_0x424ec4(0xeb)]['clear'](),this[_0x424ec4(0x2b4)][_0x424ec4(0xb3)]();}async[_0x935d9f(0x2e6)](_0xa582a1){var _0x136de5=_0x935d9f;if(this[_0x136de5(0xeb)]['has'](_0xa582a1))return this[_0x136de5(0xeb)][_0x136de5(0xf9)](_0xa582a1);this[_0x136de5(0x3c5)]();const _0x248962=this[_0x136de5(0x3b3)][_0x136de5(0x2e4)](exports[_0x136de5(0x310)],_0xa582a1,this['_socket$'][_0x136de5(0x230)]());return this[_0x136de5(0xeb)][_0x136de5(0x1c7)](_0xa582a1,_0x248962),_0x248962;}[_0x935d9f(0x103)](_0x344a21){var _0x2b681d=_0x935d9f,_0x2f40a0;const _0x35d237=this[_0x2b681d(0xeb)][_0x2b681d(0xf9)](_0x344a21);_0x35d237&&(this[_0x2b681d(0xeb)][_0x2b681d(0x141)](_0x344a21),_0x35d237[_0x2b681d(0x3dd)]()),this[_0x2b681d(0xeb)]['size']||(_0x2f40a0=this[_0x2b681d(0x251)])==null||_0x2f40a0[_0x2b681d(0x3dd)]();}[_0x935d9f(0x329)](){var _0x2079fb=_0x935d9f;this[_0x2079fb(0x394)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2079fb(0xa4)]),this[_0x2079fb(0xa4)]=null),this[_0x2079fb(0xe0)]();}async['_getSessionTicket'](){var _0x3c910a=_0x935d9f,_0x91597b,_0x39e7ad,_0x4cfac4;const _0x3668fa=this[_0x3c910a(0x40e)]['getConfig'](q),_0x440c03=(_0x91597b=_0x3668fa==null?void 0x0:_0x3668fa[_0x3c910a(0x189)])!=null?_0x91597b:Bt;return(_0x4cfac4=(_0x39e7ad=(await this[_0x3c910a(0x160)][_0x3c910a(0xf9)](_0x440c03,{'headers':{'Content-Type':_0x3c910a(0x420)}}))[_0x3c910a(0x228)])==null?void 0x0:_0x39e7ad['ticket'])!=null?_0x4cfac4:'';}[_0x935d9f(0xb5)](_0x1efeda){var _0x2d888f=_0x935d9f,_0x5a0b84,_0x3b9de9;const _0xfe7afb=this[_0x2d888f(0x40e)][_0x2d888f(0x2d7)](ft),_0x13e9d8=this['_configService'][_0x2d888f(0x2d7)](q),_0x42fcf9=(_0x3b9de9=(_0x5a0b84=_0x13e9d8==null?void 0x0:_0x13e9d8['collabWebSocketUrl'])!=null?_0x5a0b84:_0xfe7afb)!=null?_0x3b9de9:St,_0x28f343=typeof window>'u'?new URL(_0x42fcf9):new URL(_0x42fcf9,window[_0x2d888f(0x3ce)]['origin']);return _0x28f343['searchParams']['set'](_0x2d888f(0xc0),_0x1efeda),_0x28f343[_0x2d888f(0xe9)]();}async[_0x935d9f(0x22b)](){var _0x22dc95=_0x935d9f;const _0x2731b8=await this[_0x22dc95(0x2c2)](),_0x10988d=this[_0x22dc95(0xb5)](_0x2731b8),_0x6fc055=this[_0x22dc95(0x323)][_0x22dc95(0x272)](_0x10988d);return this[_0x22dc95(0x2eb)]=_0x6fc055,_0x6fc055;}async[_0x935d9f(0x3c5)](){var _0x590ebb=_0x935d9f,_0x10058c,_0x5aff7b;try{const _0xedf8c6=(_0x5aff7b=(_0x10058c=this['_socket'])!=null?_0x10058c:this[_0x590ebb(0x2eb)])!=null?_0x5aff7b:await this[_0x590ebb(0x22b)]();if(_0xedf8c6){const _0xae0eb3=_0xedf8c6[_0x590ebb(0x382)];_0xedf8c6['send']=_0x410483=>(this['_rescheduleHeartbeat'](),_0xae0eb3[_0x590ebb(0xff)](_0xedf8c6,[_0x410483])),_0xedf8c6[_0x590ebb(0x250)][_0x590ebb(0x1d6)](_0x58ed8a=>this['_onMessage'](_0xedf8c6,_0x58ed8a)),_0xedf8c6['error$'][_0x590ebb(0x21a)](V[_0x590ebb(0x404)](0x1))['subscribe'](_0x48f086=>this[_0x590ebb(0x3fb)][_0x590ebb(0xd4)](_0x590ebb(0x117),_0x48f086)),_0xedf8c6[_0x590ebb(0xab)][_0x590ebb(0x21a)](V[_0x590ebb(0x404)](0x1))[_0x590ebb(0x1d6)](()=>{var _0x17e204=_0x590ebb;this[_0x17e204(0x33e)](_0xedf8c6);}),_0xedf8c6[_0x590ebb(0x402)][_0x590ebb(0x21a)](V[_0x590ebb(0x404)](0x1))[_0x590ebb(0x1d6)](_0x267342=>{var _0x243fc9=_0x590ebb;this[_0x243fc9(0x3fb)][_0x243fc9(0xa5)](_0x243fc9(0x19f),_0x243fc9(0x247),_0x267342),this['_onConnectionFailed']();});}}catch(_0xb8658e){this[_0x590ebb(0x3fb)][_0x590ebb(0xd4)](_0xb8658e),this[_0x590ebb(0x3fa)]();}}[_0x935d9f(0x33e)](_0x43549b){var _0x2d3b10=_0x935d9f;this[_0x2d3b10(0x3fb)][_0x2d3b10(0xa5)]('[CollaborationSessionService]',_0x2d3b10(0x10f)),_0x43549b[_0x2d3b10(0x382)]({'cmd':G[_0x2d3b10(0xcf)]}),this[_0x2d3b10(0x2e0)]();}[_0x935d9f(0xe2)](){var _0x484280=_0x935d9f;this[_0x484280(0x3cb)]=!0x1,this[_0x484280(0x2eb)]=null,this[_0x484280(0x2b4)][_0x484280(0x174)](se[_0x484280(0x330)]),this[_0x484280(0x1ee)][_0x484280(0x174)](null),this[_0x484280(0x20d)](),this[_0x484280(0x23c)]();}['_onConnectionFailed'](){var _0x32bbb5=_0x935d9f,_0x301ea3;this[_0x32bbb5(0xe2)](),this[_0x32bbb5(0x394)]<((_0x301ea3=this[_0x32bbb5(0x40e)]['getConfig'](mt))!=null?_0x301ea3:Vt)?(this['_collaborationUIEventService'][_0x32bbb5(0xc5)]({'id':Q[_0x32bbb5(0x16d)]}),this[_0x32bbb5(0xe0)]()):this[_0x32bbb5(0x1ea)][_0x32bbb5(0xc5)]({'id':Q[_0x32bbb5(0x225)]});}[_0x935d9f(0xe0)](){var _0x5d8700=_0x935d9f,_0x47a212;const _0x1980ef=this[_0x5d8700(0x394)],_0x1cb204=this[_0x5d8700(0x40e)][_0x5d8700(0x2d7)](q),_0x20926c=_0x1980ef===0x0?0x0:((_0x47a212=_0x1cb204==null?void 0x0:_0x1cb204['retryConnectingInterval'])!=null?_0x47a212:Wt)*0x2**_0x1980ef;this[_0x5d8700(0xa4)]=setTimeout(()=>{var _0x258c91=_0x5d8700;clearTimeout(this['_retryConnectingTimer']),this[_0x258c91(0xa4)]=null,this[_0x258c91(0x3c5)]();},_0x20926c),this[_0x5d8700(0x394)]+=0x1;}[_0x935d9f(0x294)](_0x133223,_0x55064a){var _0x259331=_0x935d9f;const {cmd:_0x4ef15a}=_0x55064a;_0x4ef15a===G[_0x259331(0xcf)]&&!this[_0x259331(0x3cb)]&&(_0x133223[_0x259331(0x2d1)]=_0x55064a['data'][_0x259331(0x2d1)],this[_0x259331(0x1ee)]['next'](_0x133223),this[_0x259331(0x2b4)][_0x259331(0x174)](se[_0x259331(0x1ae)]),this[_0x259331(0x3cb)]=!0x0,this[_0x259331(0x2eb)]=null),_0x4ef15a===G[_0x259331(0x2a3)]&&this['_clearTimeoutTimer'](),this[_0x259331(0x2e0)]();}[_0x935d9f(0x2e0)](){var _0x520f3b=_0x935d9f,_0x304ec4;this[_0x520f3b(0x23c)](),this[_0x520f3b(0x318)]=setTimeout(()=>this[_0x520f3b(0x1da)](),(_0x304ec4=this[_0x520f3b(0x40e)][_0x520f3b(0x2d7)](pt))!=null?_0x304ec4:Ft);}[_0x935d9f(0x1da)](){var _0x10d99f=_0x935d9f;this['_socket']['send']({'cmd':G[_0x10d99f(0x2a3)]}),this[_0x10d99f(0x328)]();}[_0x935d9f(0x328)](){var _0x24fddc=_0x935d9f,_0x4f68a8;this[_0x24fddc(0xe8)]=setTimeout(()=>this[_0x24fddc(0x3fa)](),(_0x4f68a8=this[_0x24fddc(0x40e)]['getConfig'](He))!=null?_0x4f68a8:gt);}[_0x935d9f(0x23c)](){var _0x107704=_0x935d9f;this[_0x107704(0x318)]!=null&&(clearTimeout(this[_0x107704(0x318)]),this['_sendHeartbeatTimer']=null);}[_0x935d9f(0x20d)](){var _0x15217f=_0x935d9f;this[_0x15217f(0xe8)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x15217f(0xe8)]=null);}},exports[_0x935d9f(0x12d)]=_i([ae(0x0,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),ae(0x1,a[_0x935d9f(0x279)]),ae(0x2,a[_0x935d9f(0x35d)]),ae(0x3,ke),ae(0x4,a[_0x935d9f(0x338)](z[_0x935d9f(0x1ce)])),ae(0x5,a['Inject'](te)),ae(0x6,a[_0x935d9f(0x2b7)](bt))],exports[_0x935d9f(0x12d)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x935d9f(0x208)]((r+0x100)[_0x935d9f(0xe9)](0x10)[_0x935d9f(0x346)](0x1));function ui(_0x221842,_0x18656b=0x0){var _0x15e57e=_0x935d9f;return(K[_0x221842[_0x18656b+0x0]]+K[_0x221842[_0x18656b+0x1]]+K[_0x221842[_0x18656b+0x2]]+K[_0x221842[_0x18656b+0x3]]+'-'+K[_0x221842[_0x18656b+0x4]]+K[_0x221842[_0x18656b+0x5]]+'-'+K[_0x221842[_0x18656b+0x6]]+K[_0x221842[_0x18656b+0x7]]+'-'+K[_0x221842[_0x18656b+0x8]]+K[_0x221842[_0x18656b+0x9]]+'-'+K[_0x221842[_0x18656b+0xa]]+K[_0x221842[_0x18656b+0xb]]+K[_0x221842[_0x18656b+0xc]]+K[_0x221842[_0x18656b+0xd]]+K[_0x221842[_0x18656b+0xe]]+K[_0x221842[_0x18656b+0xf]])[_0x15e57e(0xf8)]();}let Ue;const di=new Uint8Array(0x10);function vi(){var _0x5297c1=_0x935d9f;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5297c1(0x39f));Ue=crypto[_0x5297c1(0x1aa)][_0x5297c1(0x205)](crypto);}return Ue(di);}const fi=typeof crypto<'u'&&crypto[_0x935d9f(0xfe)]&&crypto['randomUUID'][_0x935d9f(0x205)](crypto),qe={'randomUUID':fi};function Si(_0x2acff5,_0x4b42b6,_0x479225){var _0x2e0360=_0x935d9f;if(qe[_0x2e0360(0xfe)]&&!_0x4b42b6&&!_0x2acff5)return qe['randomUUID']();_0x2acff5=_0x2acff5||{};const _0xdf543f=_0x2acff5[_0x2e0360(0x12c)]||(_0x2acff5[_0x2e0360(0x3b0)]||vi)();return _0xdf543f[0x6]=_0xdf543f[0x6]&0xf|0x40,_0xdf543f[0x8]=_0xdf543f[0x8]&0x3f|0x80,ui(_0xdf543f);}const J=a[_0x935d9f(0x1b1)]('collaboration-client.local-cache-service');function pi(_0xdd280a){var _0xb4d164=_0x935d9f;return _0xb4d164(0x21f)+_0xdd280a;}var gi=Object[_0x935d9f(0x18b)],mi=Object['getOwnPropertyDescriptor'],Ii=(_0xb10c8f,_0x43367d,_0x4f6fab,_0x5e4a01)=>{var _0x2a8ed1=_0x935d9f;for(var _0x3b553e=_0x5e4a01>0x1?void 0x0:_0x5e4a01?mi(_0x43367d,_0x4f6fab):_0x43367d,_0x15a69f=_0xb10c8f[_0x2a8ed1(0x2d8)]-0x1,_0x378791;_0x15a69f>=0x0;_0x15a69f--)(_0x378791=_0xb10c8f[_0x15a69f])&&(_0x3b553e=(_0x5e4a01?_0x378791(_0x43367d,_0x4f6fab,_0x3b553e):_0x378791(_0x3b553e))||_0x3b553e);return _0x5e4a01&&_0x3b553e&&gi(_0x43367d,_0x4f6fab,_0x3b553e),_0x3b553e;},Ne=(_0x322de4,_0x287924)=>(_0x289785,_0x48467d)=>_0x287924(_0x289785,_0x48467d,_0x322de4);function Ei(_0x669e71){var _0x3cd450=_0x935d9f;const {unitID:_0x34bc4f,mutations:_0x122a75}=_0x669e71;return{'unitId':_0x34bc4f,'subUnitId':_0x122a75[0x0]['params'][_0x3cd450(0x14d)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x218c5b,_0xfa2dab,_0x508d52){var _0x5d8cb7=_0x935d9f;this[_0x5d8cb7(0x3b3)]=_0x218c5b,this[_0x5d8cb7(0x27d)]=_0xfa2dab,this['_instanceService']=_0x508d52;}['transformSelections'](_0x1f3d09){var _0x251d1a=_0x935d9f,_0x115e90,_0x4ee1a8,_0x513eaf,_0x794d8;const _0x5ce5a8=this[_0x251d1a(0x3b3)]['get'](W['SheetsSelectionsService']),{unitId:_0x41dc9c,subUnitId:_0x4bb254}=Ei(_0x1f3d09),_0x1c810a=_0x5ce5a8==null?void 0x0:_0x5ce5a8[_0x251d1a(0x33a)](_0x41dc9c)['getCurrentSelections'](),_0x1dcb08=(_0x4ee1a8=(_0x115e90=this[_0x251d1a(0x1c3)][_0x251d1a(0x380)](_0x41dc9c))==null?void 0x0:_0x115e90[_0x251d1a(0x359)]())==null?void 0x0:_0x4ee1a8[_0x251d1a(0x199)]();if(_0x1c810a['length']===0x0||!_0x41dc9c||!_0x4bb254)return;const _0x51b20e=[{'id':W[_0x251d1a(0x2ba)]['id'],'params':{'unitId':_0x41dc9c,'subUnitId':_0x1dcb08,'selections':a[_0x251d1a(0x1df)]['deepClone'](_0x1c810a)}}],_0x5973a3=this[_0x251d1a(0x27d)][_0x251d1a(0xbd)](_0x1f3d09,_0x51b20e);if(!m[_0x251d1a(0x1b6)](_0x5973a3))throw _0x5973a3[_0x251d1a(0xd4)];const _0x114d42=(_0x794d8=(_0x513eaf=_0x5973a3[_0x251d1a(0x1ba)][0x0])==null?void 0x0:_0x513eaf[_0x251d1a(0x16e)])==null?void 0x0:_0x794d8['selections'];if(Array[_0x251d1a(0x3ea)](_0x114d42)&&_0x114d42[_0x251d1a(0x2d8)]){if(_0x114d42[_0x251d1a(0x2d8)]===_0x51b20e[0x0][_0x251d1a(0x16e)][_0x251d1a(0x2af)][_0x251d1a(0x2d8)]&&_0x114d42[_0x251d1a(0x401)]((_0x1eda73,_0x45bf13)=>a[_0x251d1a(0x249)][_0x251d1a(0xf1)](_0x1eda73['range'],_0x51b20e[0x0][_0x251d1a(0x16e)][_0x251d1a(0x2af)][_0x45bf13][_0x251d1a(0x163)])))return;this[_0x251d1a(0x3b3)][_0x251d1a(0xf9)](a[_0x251d1a(0x12b)])['executeCommand'](W[_0x251d1a(0x2ba)]['id'],{'unitId':_0x41dc9c,'subUnitId':_0x1dcb08,'selections':_0x114d42});}}},exports['SheetTransformSelectionsService']=Ii([Ne(0x0,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),Ne(0x1,m['ITransformService']),Ne(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=a[_0x935d9f(0x1b1)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x3ecd0e=>(_0x3ecd0e[_0x3ecd0e[_0x935d9f(0x2ea)]=0x0]=_0x935d9f(0x2ea),_0x3ecd0e[_0x3ecd0e[_0x935d9f(0x2cb)]=0x1]=_0x935d9f(0x2cb),_0x3ecd0e))(Fe||{});const Ci=new Set([W[_0x935d9f(0x396)]['id']]);function ze(_0x2cd7c7,_0x423fdf,_0x347369,_0x34f9d8,_0x419d08){var _0x2f72a1=_0x935d9f,_0x5e7831,_0x136633,_0x37b192,_0x5a46e4;const _0x30b622=[];for(const _0x2ecea7 of _0x2cd7c7)if(Ci[_0x2f72a1(0x1de)](_0x2ecea7['id'])){if(_0x30b622[_0x2f72a1(0x2d8)]>0x0)break;_0x30b622[_0x2f72a1(0x208)](_0x2ecea7);break;}else _0x30b622[_0x2f72a1(0x208)](_0x2ecea7);const _0x474e3a=(_0x136633=(_0x5e7831=_0x419d08['getCurrentUser']())==null?void 0x0:_0x5e7831[_0x2f72a1(0xc7)])!=null?_0x136633:'unknown',_0x270e16=(_0x5a46e4=(_0x37b192=_0x419d08['getCurrentUser']())==null?void 0x0:_0x37b192[_0x2f72a1(0x2d1)])!=null?_0x5a46e4:'unknown';return{'changeset':{'unitID':_0x423fdf,'type':m[_0x2f72a1(0x37c)](_0x347369[_0x2f72a1(0x125)](_0x423fdf)),'baseRev':_0x34f9d8[_0x2f72a1(0x191)](_0x423fdf),'revision':0x0,'userID':_0x474e3a,'memberID':_0x270e16,'mutations':_0x30b622},'pendingMutations':_0x2cd7c7[_0x2f72a1(0x346)](_0x30b622['length'])};}function Ti(_0x141354,_0x5865d6,_0x51cfb1,_0x495804,_0x4c179a){var _0x1bf7bf=_0x935d9f,_0x45ac71,_0xc5808c,_0x2648ee,_0x5a91f5;const _0x3aa629=[_0x141354['reduce']((_0x16cd3e,_0x5ce082)=>{var _0x2fc87d=_0xff9d,_0x578b8a;const {id:_0x9e172}=_0x16cd3e,{id:_0x7ff344,type:_0x5a7c1f}=_0x5ce082,_0xfdbb60=(_0x578b8a=_0x16cd3e[_0x2fc87d(0x16e)])!=null?_0x578b8a:{'actions':null},_0x1c5ff=_0x5ce082['params'];if(_0x9e172&&_0x9e172!==_0x7ff344)throw new Error(_0x2fc87d(0x3c7)+_0x9e172+_0x2fc87d(0x162)+_0x7ff344+'.');return{..._0x16cd3e,'id':_0x7ff344,'type':_0x5a7c1f,'params':{'unitId':_0x1c5ff[_0x2fc87d(0x3e0)],'textRanges':_0x1c5ff['textRanges'],'actions':a[_0x2fc87d(0x134)]['compose'](_0xfdbb60[_0x2fc87d(0xfc)],_0x1c5ff[_0x2fc87d(0xfc)])}};},{})],_0x2a0d30=(_0xc5808c=(_0x45ac71=_0x4c179a[_0x1bf7bf(0x3a7)]())==null?void 0x0:_0x45ac71[_0x1bf7bf(0xc7)])!=null?_0xc5808c:_0x1bf7bf(0x3c8),_0x63f92f=(_0x5a91f5=(_0x2648ee=_0x4c179a['getCurrentUser']())==null?void 0x0:_0x2648ee[_0x1bf7bf(0x2d1)])!=null?_0x5a91f5:_0x1bf7bf(0x3c8);return{'changeset':{'unitID':_0x5865d6,'type':m[_0x1bf7bf(0x37c)](_0x51cfb1[_0x1bf7bf(0x125)](_0x5865d6)),'baseRev':_0x495804[_0x1bf7bf(0x191)](_0x5865d6),'revision':0x0,'userID':_0x2a0d30,'memberID':_0x63f92f,'mutations':_0x3aa629},'pendingMutations':[]};}function Ot(_0x570e8d,_0x221ab0){var _0x3d7b19=_0x935d9f;const _0x1ebc36=new B[(_0x3d7b19(0x3d4))](0x1);return setTimeout(()=>_0x1ebc36[_0x3d7b19(0x174)](_0x221ab0),_0x570e8d),_0x1ebc36[_0x3d7b19(0x230)]()[_0x3d7b19(0x21a)](B[_0x3d7b19(0x404)](0x1));}const bi={'id':W[_0x935d9f(0x18e)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Ri=Object[_0x935d9f(0x18b)],yi=Object[_0x935d9f(0xd8)],le=(_0x47a080,_0x1f19b2,_0x4233c3,_0x19f77f)=>{var _0x1134b8=_0x935d9f;for(var _0x127ff1=_0x19f77f>0x1?void 0x0:_0x19f77f?yi(_0x1f19b2,_0x4233c3):_0x1f19b2,_0x565d9b=_0x47a080[_0x1134b8(0x2d8)]-0x1,_0x24256c;_0x565d9b>=0x0;_0x565d9b--)(_0x24256c=_0x47a080[_0x565d9b])&&(_0x127ff1=(_0x19f77f?_0x24256c(_0x1f19b2,_0x4233c3,_0x127ff1):_0x24256c(_0x127ff1))||_0x127ff1);return _0x19f77f&&_0x127ff1&&Ri(_0x1f19b2,_0x4233c3,_0x127ff1),_0x127ff1;},A=(_0x1c3882,_0x438334)=>(_0x51e4d9,_0x2396c9)=>_0x438334(_0x51e4d9,_0x2396c9,_0x1c3882),We=(_0xbc0767=>(_0xbc0767[_0x935d9f(0x373)]=_0x935d9f(0x169),_0xbc0767[_0x935d9f(0x2c8)]=_0x935d9f(0xdd),_0xbc0767['PENDING']='pending',_0xbc0767['AWAITING']=_0x935d9f(0x312),_0xbc0767[_0x935d9f(0x1ab)]=_0x935d9f(0x1ca),_0xbc0767['FETCH_MISS']=_0x935d9f(0xe1),_0xbc0767[_0x935d9f(0x157)]=_0x935d9f(0x3f5),_0xbc0767[_0x935d9f(0x330)]=_0x935d9f(0x295),_0xbc0767))(We||{});const Pt=0xea60;class _e{constructor(_0x57b136,_0xc5d2e5,_0x5d0ce9,_0x2e9c2,_0x2cac7f,_0x196ee6,_0x571d4e,_0x5bbaca,_0x45cc1){var _0x4992ad=_0x935d9f;w(this,_0x4992ad(0xd5),null),w(this,'_pendingMutations',[]),(this[_0x4992ad(0x35e)]=_0x57b136,this[_0x4992ad(0x132)]=_0xc5d2e5,this[_0x4992ad(0x3a6)]=_0x2cac7f,this[_0x4992ad(0x37d)]=_0x196ee6,this[_0x4992ad(0x3f2)]=_0x571d4e,this['_revisionService']=_0x5bbaca,this[_0x4992ad(0x3ba)]=_0x45cc1,this['_awaitingChangeset']=_0x5d0ce9,this['_pendingMutations']=_0x2e9c2);}['_checkMissing'](_0xba39f2){var _0xa0a14=_0x935d9f;const _0x3bd10e=this[_0xa0a14(0xad)][_0xa0a14(0x191)](this['unitID']);return _0xba39f2[_0xa0a14(0x1b7)]>_0x3bd10e+0x1?(this[_0xa0a14(0x3a6)][_0xa0a14(0x285)]({'from':_0x3bd10e,'to':_0xba39f2[_0xa0a14(0x1b7)]-0x1}),!0x0):!0x1;}[_0x935d9f(0x17c)](_0x55d199){var _0x3ed099=_0x935d9f;this[_0x3ed099(0x3f2)][_0x3ed099(0x29b)](this[_0x3ed099(0x35e)],_0x55d199);}['_transformSelections'](_0x5f1496){var _0x2285f9=_0x935d9f,_0x1a357b,_0x695efb;(_0x695efb=(_0x1a357b=this[_0x2285f9(0x3a6)])['onTransformSelections'])==null||_0x695efb[_0x2285f9(0x399)](_0x1a357b,_0x5f1496);}['_transformIMECache'](_0x3e5818){var _0xb571d8=_0x935d9f,_0x1eb787,_0xdadfbd;return(_0xdadfbd=(_0x1eb787=this[_0xb571d8(0x3a6)])[_0xb571d8(0x362)])==null?void 0x0:_0xdadfbd[_0xb571d8(0x399)](_0x1eb787,_0x3e5818);}[_0x935d9f(0x2cf)](_0x33c71d){var _0x3dceba=_0x935d9f,_0x2fc223,_0x2f2715;return(_0x2f2715=(_0x2fc223=this[_0x3dceba(0x3a6)])[_0x3dceba(0x26c)])==null?void 0x0:_0x2f2715[_0x3dceba(0x399)](_0x2fc223,_0x33c71d);}[_0x935d9f(0x26a)](_0x344e4a){var _0x5ba575=_0x935d9f,_0x12a0be,_0x13119b,_0x4413a1;return(_0x4413a1=(_0x13119b=(_0x12a0be=this[_0x5ba575(0x3a6)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x13119b[_0x5ba575(0x399)](_0x12a0be,_0x344e4a))!=null?_0x4413a1:_0x344e4a;}[_0x935d9f(0x254)](_0x28a329){var _0x2f6844=_0x935d9f,_0x3a98ce,_0x10f0e4,_0x36eea4;return(_0x36eea4=(_0x10f0e4=(_0x3a98ce=this[_0x2f6844(0x3a6)])[_0x2f6844(0x130)])==null?void 0x0:_0x10f0e4[_0x2f6844(0x399)](_0x3a98ce,_0x28a329))!=null?_0x36eea4:_0x28a329;}[_0x935d9f(0x2df)](_0x4d3d3a){var _0x2ef258=_0x935d9f,_0x188ab8,_0x49cd7d;if(this[_0x2ef258(0x132)]===Z[_0x2ef258(0x154)]){const {unitID:_0x29ba55,mutations:_0x255edc,memberID:_0x56656e}=_0x4d3d3a,_0x5f063f=_0x255edc[0x0][_0x2ef258(0x16e)][_0x2ef258(0xb4)];Array[_0x2ef258(0x3ea)](_0x5f063f)&&_0x5f063f[_0x2ef258(0x2d8)]>0x0&&((_0x49cd7d=(_0x188ab8=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x49cd7d[_0x2ef258(0x399)](_0x188ab8,{'unitID':_0x29ba55,'memberID':_0x56656e,'textRanges':_0x5f063f}));}}[_0x935d9f(0x358)](){var _0x522b3c=_0x935d9f,_0x32be69;(_0x32be69=this[_0x522b3c(0x3ba)])==null||_0x32be69['updateOfflineData'](this[_0x522b3c(0x35e)],this[_0x522b3c(0x132)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x935d9f(0x1a5)](){var _0x5d2135=_0x935d9f;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x5d2135(0x35e)]);}[_0x935d9f(0x1bb)](){var _0x2fb361=_0x935d9f;this[_0x2fb361(0xad)][_0x2fb361(0x2f4)](this['unitID']);}[_0x935d9f(0x1bf)](_0x54d13a){var _0x236e66=_0x935d9f,_0x2d381a;let _0x493fac=this[_0x236e66(0x26a)](_0x54d13a);_0x493fac=this[_0x236e66(0x254)](_0x493fac);const _0xf65d20=a['sequenceExecute'](_0x493fac['mutations'],this[_0x236e66(0x37d)],{'fromCollab':!0x0});if(!_0xf65d20['result'])throw _0xf65d20['error']instanceof Error?_0xf65d20[_0x236e66(0xd4)]:new Error((_0x2d381a=_0xf65d20[_0x236e66(0xd4)])!=null?_0x2d381a:_0x236e66(0x381));this[_0x236e66(0x129)](_0x493fac),this[_0x236e66(0x2cf)](_0x493fac),this[_0x236e66(0x17c)](_0x54d13a),this[_0x236e66(0x190)](_0x493fac),this[_0x236e66(0x2df)](_0x493fac),this[_0x236e66(0x1bb)]();}}exports[_0x935d9f(0x2ce)]=class extends _e{constructor(_0x35ae69,_0x57b4dd,_0x5e151b,_0x1ac713,_0x34aba9,_0x382f9c,_0x330700,_0x1ba705,_0x2e31e3,_0x5c5f8b){var _0x1a1c40=_0x935d9f;super(_0x35ae69,_0x57b4dd,null,[],_0x5e151b,_0x330700,_0x382f9c,_0x1ac713,_0x5c5f8b),w(this,_0x1a1c40(0x171),_0x1a1c40(0xdd)),(this[_0x1a1c40(0x3b3)]=_0x34aba9,this[_0x1a1c40(0x3fb)]=_0x1ba705,this['_transformService']=_0x2e31e3,this[_0x1a1c40(0x25e)]=_0x5c5f8b);}[_0x935d9f(0x14f)](_0x1e1780){var _0x59a024=_0x935d9f;const _0x512df3=this['_injector'][_0x59a024(0x2e4)](exports[_0x59a024(0x290)],this[_0x59a024(0x35e)],this[_0x59a024(0x132)],[_0x1e1780],this[_0x59a024(0x3a6)]);return _0x512df3['_schedule'](),_0x512df3[_0x59a024(0x358)](),_0x512df3;}[_0x935d9f(0x3c0)](_0x23ce81){var _0x125d24=_0x935d9f;if(this[_0x125d24(0x29e)](_0x23ce81))return this[_0x125d24(0x3b3)][_0x125d24(0x2e4)](exports['FetchingMissState'],this[_0x125d24(0x35e)],this['type'],null,[],null,[_0x23ce81],this[_0x125d24(0x3a6)]);try{const _0x41a67f=this[_0x125d24(0x27d)]['transformMutationsWithChangeset'](_0x23ce81,[bi]);if(m[_0x125d24(0x1b6)](_0x41a67f)){const {c1Prime:_0x27e3a1}=_0x41a67f;return this['_executeRemoteChangeset'](_0x27e3a1),this;}throw _0x41a67f['error'];}catch(_0x5ee71f){return this[_0x125d24(0x3fb)]['error'](_0x5ee71f),this['_onConflict'](!0x1);}}[_0x935d9f(0x3f1)](_0x11095a){var _0x19ee12=_0x935d9f;return this[_0x19ee12(0x3b3)]['createInstance'](exports['ConflictState'],this[_0x19ee12(0x35e)],this[_0x19ee12(0x132)],null,[],this[_0x19ee12(0x3a6)],_0x11095a);}[_0x935d9f(0x348)](){var _0x31f528=_0x935d9f;throw new Error(_0x31f528(0x13f));}[_0x935d9f(0x302)](){var _0x323fc6=_0x935d9f;throw new Error(_0x323fc6(0x32f));}[_0x935d9f(0x3a9)](){return this;}[_0x935d9f(0x299)](){var _0x100438=_0x935d9f;return this['_injector'][_0x100438(0x2e4)](exports[_0x100438(0x20e)],this['unitID'],this[_0x100438(0x132)],null,[],this[_0x100438(0x3a6)]);}[_0x935d9f(0x378)](){return this;}[_0x935d9f(0xae)](){var _0x3c5b81=_0x935d9f;throw new Error(_0x3c5b81(0x18d));}['fetchMiss'](){var _0x3f086f=_0x935d9f;const _0x31311d=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3f086f(0x35e)]);return this['_handler'][_0x3f086f(0x285)]({'from':_0x31311d,'to':0x0}),this[_0x3f086f(0x3b3)][_0x3f086f(0x2e4)](exports[_0x3f086f(0x21c)],this['unitID'],this[_0x3f086f(0x132)],null,[],null,[],this[_0x3f086f(0x3a6)]);}},exports[_0x935d9f(0x2ce)]=le([A(0x3,a['Inject'](m[_0x935d9f(0x170)])),A(0x4,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),A(0x5,a[_0x935d9f(0x14b)]),A(0x6,a[_0x935d9f(0x12b)]),A(0x7,a['ILogService']),A(0x8,m[_0x935d9f(0x266)]),A(0x9,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x2ce)]),exports[_0x935d9f(0x290)]=class extends _e{constructor(_0x27272d,_0x4fd03c,_0x2ffaed,_0xd53da6,_0x1d6881,_0x3679f3,_0xbf7aee,_0x4b3633,_0x28a278,_0x51d05b,_0xaed5ca,_0x17be6b,_0x1d93ab,_0x1f55f1){var _0x125518=_0x935d9f;super(_0x27272d,_0x4fd03c,null,_0x2ffaed,_0xd53da6,_0x28a278,_0x1d93ab,_0x3679f3,_0x1f55f1),w(this,_0x125518(0x171),'pending'),w(this,_0x125518(0x314),null),w(this,_0x125518(0x351),null),(this[_0x125518(0x3b3)]=_0x1d6881,this[_0x125518(0x22c)]=_0xbf7aee,this[_0x125518(0x3fb)]=_0x4b3633,this['_configService']=_0x51d05b,this[_0x125518(0x27d)]=_0xaed5ca,this[_0x125518(0xba)]=_0x17be6b);}[_0x935d9f(0x14f)](_0x5edc21){var _0x152232=_0x935d9f;return this[_0x152232(0x106)]['push'](_0x5edc21),this[_0x152232(0x358)](),this;}['onRemoteChangeset'](_0x1869ee){var _0x9912ce=_0x935d9f;if(this[_0x9912ce(0x29e)](_0x1869ee))return this[_0x9912ce(0x264)](),this[_0x9912ce(0x3b3)][_0x9912ce(0x2e4)](exports[_0x9912ce(0x21c)],this[_0x9912ce(0x35e)],this[_0x9912ce(0x132)],null,this[_0x9912ce(0x106)],null,[_0x1869ee],this['_handler']);try{const _0x58c8be=this[_0x9912ce(0x27d)][_0x9912ce(0xbd)](_0x1869ee,this['_pendingMutations']);if(m[_0x9912ce(0x1b6)](_0x58c8be)){const {c1Prime:_0x2a3bd1,m2Prime:_0x5b53aa}=_0x58c8be;this[_0x9912ce(0x1bf)](_0x2a3bd1);const _0x33e234=this[_0x9912ce(0x3b3)][_0x9912ce(0x2e4)](exports['PendingState'],this[_0x9912ce(0x35e)],this['type'],_0x5b53aa,this[_0x9912ce(0x3a6)]);return this[_0x9912ce(0x264)](),_0x33e234[_0x9912ce(0x24c)](this[_0x9912ce(0x314)]?Math[_0x9912ce(0x203)](0x0,new Date()[_0x9912ce(0xcb)]()-this['_scheduleTimestamp']):this[_0x9912ce(0x24d)]()),_0x33e234;}throw _0x58c8be[_0x9912ce(0xd4)];}catch(_0x5ef9f5){return this[_0x9912ce(0x3fb)][_0x9912ce(0xd4)](_0x5ef9f5),this[_0x9912ce(0x3f1)](!0x1);}}[_0x935d9f(0x348)](){var _0x564ddc=_0x935d9f;throw new Error(_0x564ddc(0x291));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x935d9f(0x3a9)](){return this;}['toggleOffline'](){var _0x46602e=_0x935d9f;return this['_clearScheduledTask'](),this[_0x46602e(0x3b3)][_0x46602e(0x2e4)](exports['OfflineState'],this[_0x46602e(0x35e)],this[_0x46602e(0x132)],null,this[_0x46602e(0x106)],this[_0x46602e(0x3a6)]);}[_0x935d9f(0x378)](){return this;}[_0x935d9f(0x24c)](_0x47b1e5){var _0x74a964=_0x935d9f;const _0x329802=_0x47b1e5!=null?_0x47b1e5:this['_getSendChangesetTimeout']();this[_0x74a964(0x314)]=new Date()[_0x74a964(0xcb)](),this[_0x74a964(0x351)]=setTimeout(()=>{var _0x2b5cef=_0x74a964;this[_0x2b5cef(0x264)]();let _0x519d42=null;switch(this[_0x2b5cef(0x132)]){case Z[_0x2b5cef(0x2d6)]:{_0x519d42=ze(this[_0x2b5cef(0x106)],this[_0x2b5cef(0x35e)],this[_0x2b5cef(0xba)],this[_0x2b5cef(0xad)],this[_0x2b5cef(0x22c)]);break;}case Z[_0x2b5cef(0x154)]:{this['_pendingMutations'][_0x2b5cef(0x401)](_0x570f53=>_0x570f53['id']===ut[_0x2b5cef(0x144)]['id'])?_0x519d42=Ti(this[_0x2b5cef(0x106)],this['unitID'],this[_0x2b5cef(0xba)],this['_revisionService'],this[_0x2b5cef(0x22c)]):_0x519d42=ze(this['_pendingMutations'],this[_0x2b5cef(0x35e)],this[_0x2b5cef(0xba)],this[_0x2b5cef(0xad)],this[_0x2b5cef(0x22c)]);break;}default:throw new Error(_0x2b5cef(0x298)+this[_0x2b5cef(0x132)]+'\x20in\x20_schedule.');}const {changeset:_0x3272bf,pendingMutations:_0x9544b9}=_0x519d42;this[_0x2b5cef(0x3a6)][_0x2b5cef(0xdf)](_0x3272bf);const _0x3a5f3e=_0x9544b9['length']?this[_0x2b5cef(0x3b3)][_0x2b5cef(0x2e4)](exports[_0x2b5cef(0x405)],this[_0x2b5cef(0x35e)],this['type'],_0x3272bf,_0x9544b9,this[_0x2b5cef(0x3a6)],void 0x0):this[_0x2b5cef(0x3b3)][_0x2b5cef(0x2e4)](exports[_0x2b5cef(0x32d)],this[_0x2b5cef(0x35e)],this[_0x2b5cef(0x132)],_0x3272bf,this[_0x2b5cef(0x3a6)]);_0x3a5f3e[_0x2b5cef(0x358)](),this[_0x2b5cef(0x3a6)][_0x2b5cef(0xe6)](this,_0x3a5f3e);},_0x329802);}[_0x935d9f(0x24d)](){var _0x53f5e2=_0x935d9f,_0x409610;const _0x3f7179=this[_0x53f5e2(0x40e)][_0x53f5e2(0x2d7)](q);return(_0x409610=_0x3f7179==null?void 0x0:_0x3f7179[_0x53f5e2(0x1af)])!=null?_0x409610:kt;}[_0x935d9f(0xae)](){var _0x30d774=_0x935d9f;throw new Error(_0x30d774(0x1fd));}[_0x935d9f(0x264)](){var _0x37f666=_0x935d9f;this[_0x37f666(0x351)]!=null&&(clearTimeout(this[_0x37f666(0x351)]),this[_0x37f666(0x351)]=null);}[_0x935d9f(0x3f1)](_0xe63818){var _0x3daa4c=_0x935d9f;return this[_0x3daa4c(0x264)](),this[_0x3daa4c(0x3b3)][_0x3daa4c(0x2e4)](exports['ConflictState'],this[_0x3daa4c(0x35e)],this[_0x3daa4c(0x132)],null,this[_0x3daa4c(0x106)],this[_0x3daa4c(0x3a6)],_0xe63818);}},exports['PendingState']=le([A(0x4,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),A(0x5,a['Inject'](m[_0x935d9f(0x170)])),A(0x6,a[_0x935d9f(0x338)](exports[_0x935d9f(0x353)])),A(0x7,a['ILogService']),A(0x8,a['ICommandService']),A(0x9,a[_0x935d9f(0x35d)]),A(0xa,m[_0x935d9f(0x266)]),A(0xb,a['IUniverInstanceService']),A(0xc,a[_0x935d9f(0x14b)]),A(0xd,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x290)]),exports[_0x935d9f(0x32d)]=class extends _e{constructor(_0x54494c,_0x13cdd9,_0x13325c,_0xe681e5,_0x15ca63,_0x13c363,_0x36a9cc,_0x22f74d,_0x35e515,_0x3a73bc,_0x352ebd){var _0x552fbd=_0x935d9f;super(_0x54494c,_0x13cdd9,_0x13325c,[],_0xe681e5,_0x36a9cc,_0x3a73bc,_0x13c363,_0x352ebd),w(this,_0x552fbd(0x171),_0x552fbd(0x312)),w(this,'_resendTimeout',0x0),w(this,_0x552fbd(0x26e)),w(this,_0x552fbd(0x200)),(this[_0x552fbd(0x3b3)]=_0x15ca63,this[_0x552fbd(0x3fb)]=_0x22f74d,this[_0x552fbd(0x27d)]=_0x35e515);}[_0x935d9f(0x14f)](_0x538e6e){var _0x4ef786=_0x935d9f;this[_0x4ef786(0x264)]();const _0x2347c8=this['_injector'][_0x4ef786(0x2e4)](exports[_0x4ef786(0x405)],this[_0x4ef786(0x35e)],this[_0x4ef786(0x132)],this[_0x4ef786(0xd5)],[_0x538e6e],this[_0x4ef786(0x3a6)],this[_0x4ef786(0x26e)]);return _0x2347c8[_0x4ef786(0x358)](),_0x2347c8;}['onRemoteChangeset'](_0x53fed8){var _0x558575=_0x935d9f;if(this[_0x558575(0x29e)](_0x53fed8))return this['_clearScheduledTask'](),this[_0x558575(0x3b3)][_0x558575(0x2e4)](exports[_0x558575(0x21c)],this[_0x558575(0x35e)],this[_0x558575(0x132)],this['_awaitingChangeset'],[],null,[_0x53fed8],this[_0x558575(0x3a6)]);try{const _0x4bb585=this['_transformService'][_0x558575(0x136)]([_0x53fed8],[this[_0x558575(0xd5)]],!0x1);if(m[_0x558575(0x241)](_0x4bb585)){const {c1Prime:_0x5a4941,c2Prime:_0x3a8fda}=_0x4bb585;this[_0x558575(0x1bf)](_0x5a4941[0x0]),_0x3a8fda[0x0][_0x558575(0x1bc)]=this[_0x558575(0x1a5)](),this[_0x558575(0x264)]();const _0x1a682d=this[_0x558575(0x3b3)][_0x558575(0x2e4)](exports[_0x558575(0x32d)],this[_0x558575(0x35e)],this[_0x558575(0x132)],_0x3a8fda[0x0],this['_handler']);return _0x1a682d[_0x558575(0x358)](),_0x1a682d;}return this[_0x558575(0x3f1)](!0x1);}catch(_0x3569a9){return this[_0x558575(0x3fb)][_0x558575(0xd4)](_0x3569a9),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x36c340){var _0x1ed923=_0x935d9f;this['_clearScheduledTask']();const _0x308335=this[_0x1ed923(0xad)]['getCurrentRevOfUnit'](this['unitID']);if(_0x36c340['revision']<_0x308335-0x1)return this;if(this[_0x1ed923(0x29e)](_0x36c340))return this[_0x1ed923(0x3b3)][_0x1ed923(0x2e4)](exports[_0x1ed923(0x21c)],this['unitID'],this[_0x1ed923(0x132)],null,[],this[_0x1ed923(0xd5)],[],this[_0x1ed923(0x3a6)]);this[_0x1ed923(0x1bb)]();const _0x364478=this[_0x1ed923(0x3b3)]['createInstance'](exports[_0x1ed923(0x2ce)],this[_0x1ed923(0x35e)],this[_0x1ed923(0x132)],this['_handler']);return _0x364478[_0x1ed923(0x358)](),_0x364478;}[_0x935d9f(0x302)](_0x4a462e){var _0x4953ad=_0x935d9f;return this[_0x4953ad(0x3f1)](!!(_0x4a462e!=null&&_0x4a462e['isPermissionRej']));}[_0x935d9f(0x3a9)](_0x14ff48){var _0x4155a7=_0x935d9f;return this[_0x4155a7(0x2bc)]>Pt?this[_0x4155a7(0x299)]():(this[_0x4155a7(0x26e)]=Ot(this[_0x4155a7(0x2bc)],{'timeout':this[_0x4155a7(0x2bc)],'reqId':_0x14ff48['reqId']}),this[_0x4155a7(0x200)]=this[_0x4155a7(0x26e)][_0x4155a7(0x1d6)](({reqId:_0x163af7,timeout:_0xe1bc5a})=>{var _0x3ea580=_0x4155a7;this[_0x3ea580(0x30a)](_0x163af7,_0xe1bc5a);}),this);}[_0x935d9f(0x299)](){var _0x1248ba=_0x935d9f;return this[_0x1248ba(0x264)](),this['_injector'][_0x1248ba(0x2e4)](exports[_0x1248ba(0x20e)],this[_0x1248ba(0x35e)],this[_0x1248ba(0x132)],this[_0x1248ba(0xd5)],[],this[_0x1248ba(0x3a6)]);}[_0x935d9f(0x378)](){return this;}[_0x935d9f(0xae)](){var _0x4cbb8b=_0x935d9f;this[_0x4cbb8b(0x3a6)]['onSendChangeset'](this[_0x4cbb8b(0xd5)]);}[_0x935d9f(0x3f1)](_0x1d6e58){var _0x5df01a=_0x935d9f;return this[_0x5df01a(0x264)](),this['_injector'][_0x5df01a(0x2e4)](exports[_0x5df01a(0x140)],this[_0x5df01a(0x35e)],this[_0x5df01a(0x132)],this[_0x5df01a(0xd5)],[],this[_0x5df01a(0x3a6)],_0x1d6e58);}[_0x935d9f(0x30a)](_0x1746f1,_0x71fba5){var _0x14821b=_0x935d9f,_0x1d11ed;_0x1746f1===((_0x1d11ed=this['_awaitingChangeset'])==null?void 0x0:_0x1d11ed['reqId'])&&(this[_0x14821b(0xae)](),this[_0x14821b(0x2bc)]=_0x71fba5===0x0?0x3e8:_0x71fba5*0x2);}[_0x935d9f(0x264)](){var _0x280cdc=_0x935d9f,_0x57ad88;(_0x57ad88=this[_0x280cdc(0x200)])==null||_0x57ad88[_0x280cdc(0x418)](),this[_0x280cdc(0x2bc)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x935d9f(0x338)](a['Injector'])),A(0x5,a['Inject'](m[_0x935d9f(0x170)])),A(0x6,a[_0x935d9f(0x12b)]),A(0x7,a[_0x935d9f(0x279)]),A(0x8,m[_0x935d9f(0x266)]),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x32d)]),exports[_0x935d9f(0x405)]=class extends _e{constructor(_0x4126c4,_0x280c91,_0xeee963,_0x528c6f,_0x576f45,_0x247cba,_0x2c4631,_0x1ef406,_0x6f0f26,_0x55c5e2,_0x4af166,_0x149f86,_0x586fb4){var _0x326f06=_0x935d9f;super(_0x4126c4,_0x280c91,_0xeee963,_0x528c6f,_0x576f45,_0x6f0f26,_0x149f86,_0x1ef406,_0x586fb4),w(this,_0x326f06(0x171),_0x326f06(0x1ca)),w(this,_0x326f06(0x2bc),0x0),w(this,'_resendTimer'),w(this,_0x326f06(0x200)),(this[_0x326f06(0x3b3)]=_0x2c4631,this[_0x326f06(0x3fb)]=_0x55c5e2,this[_0x326f06(0x27d)]=_0x4af166,this[_0x326f06(0x25e)]=_0x586fb4,_0x247cba&&(this[_0x326f06(0x26e)]=_0x247cba,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x4b372e,timeout:_0xe716dc})=>{this['_resendWithTimeout'](_0x4b372e,_0xe716dc);})));}[_0x935d9f(0x14f)](_0x48f72e){return this['_pendingMutations']['push'](_0x48f72e),this;}['onRemoteChangeset'](_0x4b9616){var _0x3f9a3d=_0x935d9f;if(this[_0x3f9a3d(0x29e)](_0x4b9616))return this['_clearScheduledTask'](),this[_0x3f9a3d(0x3b3)][_0x3f9a3d(0x2e4)](exports[_0x3f9a3d(0x21c)],this['unitID'],this['type'],this[_0x3f9a3d(0xd5)],this[_0x3f9a3d(0x106)],null,[_0x4b9616],this[_0x3f9a3d(0x3a6)]);try{const _0x3e5692=this[_0x3f9a3d(0x27d)][_0x3f9a3d(0x136)]([_0x4b9616],[this['_awaitingChangeset']],!0x1);if(m[_0x3f9a3d(0x241)](_0x3e5692)){const {c1Prime:_0x5aaa0a,c2Prime:_0xed171b}=_0x3e5692,_0x5d9b81=this[_0x3f9a3d(0x27d)]['transformMutationsWithChangeset'](_0x5aaa0a[0x0],this['_pendingMutations']);if(m[_0x3f9a3d(0x1b6)](_0x5d9b81)){const {c1Prime:_0x59cfd8,m2Prime:_0x2baacc}=_0x5d9b81;return this[_0x3f9a3d(0x1bf)](_0x59cfd8),_0xed171b[0x0][_0x3f9a3d(0x1bc)]=this[_0x3f9a3d(0x1a5)](),this[_0x3f9a3d(0x264)](),this[_0x3f9a3d(0x3b3)][_0x3f9a3d(0x2e4)](exports[_0x3f9a3d(0x405)],this[_0x3f9a3d(0x35e)],this[_0x3f9a3d(0x132)],_0xed171b[0x0],_0x2baacc,this[_0x3f9a3d(0x3a6)],void 0x0);}throw _0x5d9b81['error'];}throw _0x3e5692[_0x3f9a3d(0xd4)];}catch(_0x21a867){return this[_0x3f9a3d(0x3fb)][_0x3f9a3d(0xd4)](_0x21a867),this['_onConflict'](!0x1);}}[_0x935d9f(0x348)](_0xa567ce){var _0x2c94cc=_0x935d9f;if(this[_0x2c94cc(0x264)](),this[_0x2c94cc(0x29e)](_0xa567ce))return this['_injector']['createInstance'](exports[_0x2c94cc(0x21c)],this[_0x2c94cc(0x35e)],this[_0x2c94cc(0x132)],null,this[_0x2c94cc(0x106)],this[_0x2c94cc(0xd5)],[],this[_0x2c94cc(0x3a6)]);this['_incrementRevisionNumber']();const _0x162731=this[_0x2c94cc(0x3b3)]['createInstance'](exports[_0x2c94cc(0x290)],this['unitID'],this[_0x2c94cc(0x132)],this[_0x2c94cc(0x106)],this['_handler']);return _0x162731[_0x2c94cc(0x24c)](),_0x162731['_updateLocalCache'](),_0x162731;}[_0x935d9f(0x302)](_0xd95068){var _0x3bf320=_0x935d9f;return this[_0x3bf320(0x3f1)](!!(_0xd95068!=null&&_0xd95068[_0x3bf320(0x2b2)]));}[_0x935d9f(0x3a9)](_0xeaaa29){var _0x14e42e=_0x935d9f;return this[_0x14e42e(0x2bc)]>Pt?this[_0x14e42e(0x299)]():(this['_resendTimer']=Ot(this[_0x14e42e(0x2bc)],{'timeout':this['_resendTimeout'],'reqId':_0xeaaa29[_0x14e42e(0x36d)]}),this['_sender']=this[_0x14e42e(0x26e)][_0x14e42e(0x1d6)](({reqId:_0x1fbc70,timeout:_0x5d051b})=>{var _0x19df68=_0x14e42e;this[_0x19df68(0x30a)](_0x1fbc70,_0x5d051b);}),this);}[_0x935d9f(0x299)](){var _0x57d7c7=_0x935d9f;return this['_clearScheduledTask'](),this[_0x57d7c7(0x3b3)][_0x57d7c7(0x2e4)](exports[_0x57d7c7(0x20e)],this[_0x57d7c7(0x35e)],this[_0x57d7c7(0x132)],this[_0x57d7c7(0xd5)],this[_0x57d7c7(0x106)],this['_handler']);}[_0x935d9f(0x378)](){return this;}[_0x935d9f(0xae)](){var _0xcd0e4a=_0x935d9f;this['_handler']['onSendChangeset'](this[_0xcd0e4a(0xd5)]);}[_0x935d9f(0x3f1)](_0x48bc56){var _0x1cf647=_0x935d9f;return this[_0x1cf647(0x264)](),this[_0x1cf647(0x3b3)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x1cf647(0x132)],null,this[_0x1cf647(0x106)],this[_0x1cf647(0x3a6)],_0x48bc56);}['_resendWithTimeout'](_0x308334,_0x492596){var _0x483e9d=_0x935d9f,_0xe28a40;_0x308334===((_0xe28a40=this['_awaitingChangeset'])==null?void 0x0:_0xe28a40[_0x483e9d(0x36d)])&&(this[_0x483e9d(0xae)](),this[_0x483e9d(0x2bc)]=_0x492596===0x0?0x3e8:_0x492596*0x2);}[_0x935d9f(0x264)](){var _0x4a09b2=_0x935d9f,_0x57d4fd;(_0x57d4fd=this[_0x4a09b2(0x200)])==null||_0x57d4fd[_0x4a09b2(0x418)](),this[_0x4a09b2(0x2bc)]=0x0;}},exports[_0x935d9f(0x405)]=le([A(0x6,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),A(0x7,a[_0x935d9f(0x338)](m[_0x935d9f(0x170)])),A(0x8,a[_0x935d9f(0x12b)]),A(0x9,a['ILogService']),A(0xa,m[_0x935d9f(0x266)]),A(0xb,a[_0x935d9f(0x14b)]),A(0xc,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x405)]),exports[_0x935d9f(0x140)]=class extends _e{constructor(_0x1ea0c0,_0x108594,_0x2c44ba,_0x510775,_0x2ac7f9,_0x448675=!0x1,_0x119035,_0x16b097,_0x2539c7,_0x4d7d71,_0xf026aa,_0x5bb4e8,_0x3e5087){var _0x95d8e7=_0x935d9f;super(_0x1ea0c0,_0x108594,_0x2c44ba,_0x510775,_0x2ac7f9,_0x16b097,_0x2539c7,_0x4d7d71,_0x3e5087),w(this,_0x95d8e7(0x171),_0x95d8e7(0x3f5)),(this[_0x95d8e7(0x1cc)]=_0x448675,this[_0x95d8e7(0x3b1)]=_0x119035,this[_0x95d8e7(0x386)]=_0xf026aa,this[_0x95d8e7(0x1ea)]=_0x5bb4e8,this[_0x95d8e7(0x25e)]=_0x3e5087,this[_0x95d8e7(0x2a1)](),this[_0x95d8e7(0x16c)](),this['_disableEditing']());}[_0x935d9f(0x14f)](){return this;}[_0x935d9f(0x3c0)](){return this;}['onRemoteAck'](){return this;}[_0x935d9f(0x302)](){return this;}[_0x935d9f(0x3a9)](){return this;}[_0x935d9f(0x299)](){return this;}[_0x935d9f(0x378)](){return this;}['resend'](){var _0xf2dc58=_0x935d9f;throw new Error(_0xf2dc58(0x2a6));}[_0x935d9f(0x16c)](){var _0x1efe97=_0x935d9f,_0x1ba9fd;(_0x1ba9fd=this[_0x1efe97(0x3ba)])==null||_0x1ba9fd[_0x1efe97(0x113)](this[_0x1efe97(0x35e)],this[_0x1efe97(0x132)],null,[]);}['_showConflictNotification'](){var _0x41181e=_0x935d9f;this[_0x41181e(0x1cc)]?this['_collaborationUIEventService'][_0x41181e(0xc5)]({'id':Q[_0x41181e(0x364)]}):this['_collaborationUIEventService'][_0x41181e(0xc5)]({'id':Q[_0x41181e(0x157)]});}[_0x935d9f(0x305)](){var _0x1d187e=_0x935d9f;this[_0x1d187e(0x3b1)][_0x1d187e(0x3ab)](new W[(_0x1d187e(0x341))](this[_0x1d187e(0x35e)])['id'],!0x1);}},exports[_0x935d9f(0x140)]=le([A(0x6,a[_0x935d9f(0x338)](a['IPermissionService'])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x935d9f(0x338)](m[_0x935d9f(0x170)])),A(0xa,a['Inject'](a[_0x935d9f(0x271)])),A(0xb,a[_0x935d9f(0x338)](te)),A(0xc,a['Optional'](J))],exports[_0x935d9f(0x140)]),exports[_0x935d9f(0x20e)]=class extends _e{constructor(_0x3de3be,_0x42658b,_0xae38f9,_0x28dd05,_0x3b7988,_0x5607b9,_0x2dac7f,_0x443734,_0x15c32b,_0x2de042){var _0x22a0fe=_0x935d9f;super(_0x3de3be,_0x42658b,_0xae38f9,_0x28dd05,_0x3b7988,_0x443734,_0x15c32b,_0x2dac7f,_0x2de042),w(this,_0x22a0fe(0x171),_0x22a0fe(0x295)),this['_injector']=_0x5607b9;}['appendMutation'](_0x1184ed){var _0x56c269=_0x935d9f;return this['_pendingMutations']['push'](_0x1184ed),this[_0x56c269(0x358)](),this;}[_0x935d9f(0x3c0)](_0x32dbfe){var _0x3cf7c3=_0x935d9f;throw new Error(_0x3cf7c3(0x412));}['onRemoteAck'](){var _0x1ea37b=_0x935d9f;throw new Error(_0x1ea37b(0xb1));}[_0x935d9f(0x302)](){var _0x519ff2=_0x935d9f;throw new Error(_0x519ff2(0x2db));}['onRemoteRetry'](){return this;}[_0x935d9f(0x299)](){return this;}['toggleOnline'](){var _0x31048c=_0x935d9f;const {_injector:_0x467d50,_pendingMutations:_0x588abb,_awaitingChangeset:_0x470ce2,unitID:_0x5c5436,_handler:_0x41fe3c,type:_0x37092c}=this,_0x400a18=Dt(_0x467d50,_0x5c5436,_0x37092c,_0x470ce2,_0x588abb,_0x41fe3c);return _0x400a18 instanceof exports[_0x31048c(0x290)]?_0x400a18[_0x31048c(0x24c)]():(_0x400a18 instanceof exports['AwaitingWithPendingState']||_0x400a18 instanceof exports[_0x31048c(0x32d)])&&_0x400a18['resend'](),_0x400a18;}['resend'](){var _0x85199=_0x935d9f;throw new Error(_0x85199(0x284));}},exports[_0x935d9f(0x20e)]=le([A(0x5,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),A(0x6,a[_0x935d9f(0x338)](m[_0x935d9f(0x170)])),A(0x7,a[_0x935d9f(0x12b)]),A(0x8,a[_0x935d9f(0x14b)]),A(0x9,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x20e)]),exports[_0x935d9f(0x21c)]=class extends _e{constructor(_0x237bad,_0xcaf3ad,_0x19a8c7,_0x227eb0,_0x3b4f74,_0x14768c,_0x20d991,_0x168f7d,_0x13f264,_0x1eeb61,_0x43d0ff,_0x166f6c,_0x392fc3,_0x1c72ec){var _0x34c7c6=_0x935d9f;super(_0x237bad,_0xcaf3ad,_0x19a8c7,_0x227eb0,_0x20d991,_0x43d0ff,_0x166f6c,_0x13f264,_0x1c72ec),w(this,_0x34c7c6(0x171),_0x34c7c6(0xe1)),(this[_0x34c7c6(0xbc)]=_0x3b4f74,this['_queuedRemoteChangesets']=_0x14768c,this[_0x34c7c6(0x3b3)]=_0x168f7d,this[_0x34c7c6(0x3fb)]=_0x1eeb61,this['_transformService']=_0x392fc3,this['localCacheService']=_0x1c72ec);}[_0x935d9f(0x1d0)](_0x35ffa5){var _0x5c8c18=_0x935d9f;try{const _0x173734=[..._0x35ffa5,...this[_0x5c8c18(0x331)]],_0x4a610b=[this[_0x5c8c18(0xd5)]||this['_acknowledgedAwaitingChangeset']][_0x5c8c18(0x3ca)](_0x1fd51e=>!!_0x1fd51e);let _0x2e37b9,_0x428585;if(_0x4a610b[_0x5c8c18(0x2d8)]){const _0x3c3f04=this['_transformService'][_0x5c8c18(0x136)](_0x173734,_0x4a610b,!0x1);if(!m[_0x5c8c18(0x241)](_0x3c3f04))throw _0x3c3f04['error'];_0x2e37b9=_0x3c3f04['c1Prime'],_0x428585=_0x3c3f04[_0x5c8c18(0x2a5)];}else _0x2e37b9=_0x173734,_0x428585=[];let _0x44da51=this[_0x5c8c18(0x106)];_0x2e37b9[_0x5c8c18(0x3c2)](_0x519bd2=>{var _0x2137cd=_0x5c8c18;let _0x2f41d2;if(_0x44da51[_0x2137cd(0x2d8)]){const _0x410f04=this[_0x2137cd(0x27d)][_0x2137cd(0xbd)](_0x519bd2,_0x44da51);if(!m[_0x2137cd(0x1b6)](_0x410f04))throw _0x410f04['error'];_0x2f41d2=_0x410f04[_0x2137cd(0x3a1)],_0x44da51=_0x410f04['m2Prime'];}else _0x2f41d2=_0x519bd2;this['_executeRemoteChangeset'](_0x2f41d2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5c8c18(0x1bb)](),this['_awaitingChangeset']&&_0x428585['length']&&(_0x428585[0x0][_0x5c8c18(0x1bc)]=this[_0x5c8c18(0x1a5)]());let _0x422d0f;if(this[_0x5c8c18(0xd5)]&&_0x44da51[_0x5c8c18(0x2d8)]!==0x0)_0x422d0f=this[_0x5c8c18(0x3b3)][_0x5c8c18(0x2e4)](exports[_0x5c8c18(0x405)],this[_0x5c8c18(0x35e)],this['type'],_0x428585[0x0],_0x44da51,this['_handler'],void 0x0);else{if(this[_0x5c8c18(0xd5)]&&_0x44da51[_0x5c8c18(0x2d8)]===0x0)_0x428585[0x0][_0x5c8c18(0x1bc)]=this[_0x5c8c18(0x1a5)](),_0x422d0f=this[_0x5c8c18(0x3b3)]['createInstance'](exports[_0x5c8c18(0x32d)],this[_0x5c8c18(0x35e)],this[_0x5c8c18(0x132)],_0x428585[0x0],this[_0x5c8c18(0x3a6)]);else{if(_0x44da51['length']!==0x0){const _0x253fd2=this['_injector'][_0x5c8c18(0x2e4)](exports[_0x5c8c18(0x290)],this[_0x5c8c18(0x35e)],this['type'],_0x44da51,this[_0x5c8c18(0x3a6)]);_0x253fd2['_schedule'](),_0x422d0f=_0x253fd2;}else _0x422d0f=this[_0x5c8c18(0x3b3)][_0x5c8c18(0x2e4)](exports['SyncedState'],this[_0x5c8c18(0x35e)],this[_0x5c8c18(0x132)],this[_0x5c8c18(0x3a6)]);}}return _0x422d0f['_updateLocalCache'](),_0x422d0f;}catch(_0x5a6a63){return this['_logService']['error'](_0x5c8c18(0x3de),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5a6a63),this[_0x5c8c18(0x3b3)]['createInstance'](exports[_0x5c8c18(0x140)],this[_0x5c8c18(0x35e)],this[_0x5c8c18(0x132)],this[_0x5c8c18(0xd5)],this[_0x5c8c18(0x106)],this[_0x5c8c18(0x3a6)],!0x1);}}[_0x935d9f(0xae)](){var _0x63052e=_0x935d9f;throw new Error(_0x63052e(0xce));}['appendMutation'](_0x32e08){var _0xe08cef=_0x935d9f;return this[_0xe08cef(0x106)][_0xe08cef(0x208)](_0x32e08),this;}[_0x935d9f(0x3c0)](_0x5a1647){var _0x131b7c=_0x935d9f;return this[_0x131b7c(0x331)]['push'](_0x5a1647),this;}[_0x935d9f(0x348)](_0x4d4649){var _0x249f74=_0x935d9f;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x249f74(0xd5)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x935d9f(0x302)](_0x3d17e5){var _0x16c3e4=_0x935d9f;return this[_0x16c3e4(0x3f1)](!!(_0x3d17e5!=null&&_0x3d17e5[_0x16c3e4(0x2b2)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4abd24=_0x935d9f;return this[_0x4abd24(0x3b3)][_0x4abd24(0x2e4)](exports['OfflineState'],this[_0x4abd24(0x35e)],this[_0x4abd24(0x132)],this[_0x4abd24(0xd5)],this[_0x4abd24(0x106)],this[_0x4abd24(0x3a6)]);}[_0x935d9f(0x378)](){return this;}[_0x935d9f(0x3f1)](_0x2e2e2b){var _0x16d366=_0x935d9f;return this[_0x16d366(0x3b3)][_0x16d366(0x2e4)](exports[_0x16d366(0x140)],this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x16d366(0x3a6)],_0x2e2e2b);}},exports[_0x935d9f(0x21c)]=le([A(0x7,a[_0x935d9f(0x338)](a['Injector'])),A(0x8,a['Inject'](m[_0x935d9f(0x170)])),A(0x9,a[_0x935d9f(0x279)]),A(0xa,a[_0x935d9f(0x12b)]),A(0xb,a[_0x935d9f(0x14b)]),A(0xc,m['ITransformService']),A(0xd,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x21c)]);function Dt(_0x393fc7,_0x3f790d,_0x36f49f,_0xf4831f,_0x5981d5,_0x5500f4){var _0xa95d97=_0x935d9f;return _0xf4831f&&_0x5981d5[_0xa95d97(0x2d8)]?_0x393fc7[_0xa95d97(0x2e4)](exports[_0xa95d97(0x405)],_0x3f790d,_0x36f49f,_0xf4831f,_0x5981d5,_0x5500f4,void 0x0):_0xf4831f?_0x393fc7[_0xa95d97(0x2e4)](exports['AwaitingState'],_0x3f790d,_0x36f49f,_0xf4831f,_0x5500f4):_0x5981d5[_0xa95d97(0x2d8)]?_0x393fc7[_0xa95d97(0x2e4)](exports['PendingState'],_0x3f790d,_0x36f49f,_0x5981d5,_0x5500f4):_0x393fc7[_0xa95d97(0x2e4)](exports[_0xa95d97(0x2ce)],_0x3f790d,_0x36f49f,_0x5500f4);}var Oi=Object[_0x935d9f(0x18b)],Pi=Object[_0x935d9f(0xd8)],Ve=(_0x385109,_0x1083f7,_0xa68e31,_0x5c1168)=>{for(var _0x3dd0cc=_0x5c1168>0x1?void 0x0:_0x5c1168?Pi(_0x1083f7,_0xa68e31):_0x1083f7,_0x3fc3b3=_0x385109['length']-0x1,_0x2a6897;_0x3fc3b3>=0x0;_0x3fc3b3--)(_0x2a6897=_0x385109[_0x3fc3b3])&&(_0x3dd0cc=(_0x5c1168?_0x2a6897(_0x1083f7,_0xa68e31,_0x3dd0cc):_0x2a6897(_0x3dd0cc))||_0x3dd0cc);return _0x5c1168&&_0x3dd0cc&&Oi(_0x1083f7,_0xa68e31,_0x3dd0cc),_0x3dd0cc;},H=(_0x170fef,_0x3b38a2)=>(_0x12ffee,_0x2da020)=>_0x3b38a2(_0x12ffee,_0x2da020,_0x170fef);exports[_0x935d9f(0x41c)]=class extends a[_0x935d9f(0x28d)]{constructor(_0x2b7bca,_0x2f62e6,_0x551524,_0x5e7df8,_0xfcfa5e,_0x37e2d9,_0x37dbc1,_0x4acf23,_0x191ec9,_0xdc75dc,_0x52e6b2,_0x3b961c,_0x50d06c){var _0x7cad11=_0x935d9f;super(),w(this,_0x7cad11(0x258),new B[(_0x7cad11(0x242))](null)),w(this,'state$',this['_state$'][_0x7cad11(0x230)]()),w(this,_0x7cad11(0x3b9)),w(this,_0x7cad11(0xc2),!0x1),w(this,_0x7cad11(0x1f7),''),w(this,_0x7cad11(0x2ff),0x0),w(this,_0x7cad11(0x1e3),this[_0x7cad11(0x221)][_0x7cad11(0x21a)](B[_0x7cad11(0x379)](_0x1a501f=>_0x1a501f?_0x1a501f[_0x7cad11(0x171)]:We['OFFLINE']),B[_0x7cad11(0x39d)](0x1))),w(this,'_transitionLocked',!0x1),w(this,_0x7cad11(0x182),[]),(this[_0x7cad11(0x35e)]=_0x2b7bca,this[_0x7cad11(0x2bf)]=_0x2f62e6,this[_0x7cad11(0x277)]=_0x551524,this[_0x7cad11(0x3b3)]=_0x5e7df8,this['_compressMutationService']=_0xfcfa5e,this['_localeService']=_0x37e2d9,this[_0x7cad11(0xad)]=_0x37dbc1,this[_0x7cad11(0x36a)]=_0x4acf23,this[_0x7cad11(0x3fb)]=_0x191ec9,this[_0x7cad11(0x37d)]=_0xdc75dc,this[_0x7cad11(0x3b1)]=_0x52e6b2,this['_singleActiveUnitService']=_0x3b961c,this[_0x7cad11(0x3ba)]=_0x50d06c);}get[_0x935d9f(0x181)](){return this['_state'];}async['init'](){var _0x1a7076=_0x935d9f;if(this[_0x1a7076(0x181)])throw new Error(_0x1a7076(0x204));await this[_0x1a7076(0x196)]();}[_0x935d9f(0x19b)](){var _0xc56958=_0x935d9f;return this['_collaborationPaused']=!0x0,a[_0xc56958(0x1b0)](()=>{var _0x201be4=_0xc56958;this['_collaborationPaused']=!0x1,this[_0x201be4(0x2f0)]();});}[_0x935d9f(0x3d3)](_0x312a4c){var _0x31b51c=_0x935d9f;this[_0x31b51c(0x1ac)](_0x312a4c);}[_0x935d9f(0x34f)](_0x1dceb0){var _0x155569=_0x935d9f;this['_state']=_0x1dceb0,this['_state$'][_0x155569(0x174)](_0x1dceb0);}async[_0x935d9f(0x196)](){var _0x544855=_0x935d9f,_0x46252b;this[_0x544855(0x34f)](await this[_0x544855(0x2e7)]()),this['_singleActiveUnitService']&&((_0x46252b=this[_0x544855(0x233)])==null||_0x46252b[_0x544855(0x395)](this[_0x544855(0x35e)]),this['disposeWithMe'](this[_0x544855(0x233)][_0x544855(0x22a)](this[_0x544855(0x35e)])['subscribe'](_0x1328a8=>{var _0x106960=_0x544855;this[_0x106960(0x3fb)][_0x106960(0xa5)](_0x106960(0x3bc),_0x106960(0x287),_0x1328a8),_0x1328a8===Fe[_0x106960(0x2cb)]?(this[_0x106960(0x36a)][_0x106960(0xc5)]({'id':Q[_0x106960(0x1f9)]}),this['_permissionService'][_0x106960(0x3ab)](new W[(_0x106960(0x341))](this[_0x106960(0x35e)])['id'],!0x1),this[_0x106960(0x3b1)]['setShowComponents'](!0x1)):(this[_0x106960(0x3b1)][_0x106960(0x3ab)](new W[(_0x106960(0x341))](this[_0x106960(0x35e)])['id'],!0x0),this['_permissionService'][_0x106960(0x23e)](!0x0));})));let _0x564edf=!0x1;return this[_0x544855(0x10a)](this[_0x544855(0x2bf)]['sessionStatus$'][_0x544855(0x1d6)](_0x1b73d3=>{var _0x557eb0=_0x544855;_0x1b73d3===se[_0x557eb0(0x1ae)]?this[_0x557eb0(0x2f5)](_0x564edf):_0x1b73d3===se[_0x557eb0(0x330)]&&(_0x564edf=!0x0,this[_0x557eb0(0x370)]());})),this[_0x544855(0x10a)](this[_0x544855(0x2bf)][_0x544855(0x301)][_0x544855(0x1d6)](_0x199d04=>{var _0x2e605f=_0x544855;try{switch(_0x199d04[_0x2e605f(0xc8)]){case m['CollaborationEvent'][_0x2e605f(0x2a9)]:{this[_0x2e605f(0x11e)](m[_0x2e605f(0x21e)](_0x199d04[_0x2e605f(0x3c9)]));break;}case m['CollaborationEvent'][_0x2e605f(0xaa)]:{this[_0x2e605f(0x165)](_0x199d04[_0x2e605f(0x3c9)]);break;}case m['CollaborationEvent'][_0x2e605f(0x1be)]:{this[_0x2e605f(0x105)]();break;}case m[_0x2e605f(0x1b8)][_0x2e605f(0x30e)]:{this[_0x2e605f(0x1f5)](_0x199d04[_0x2e605f(0x3c9)]);break;}case m[_0x2e605f(0x1b8)][_0x2e605f(0x1ec)]:{this[_0x2e605f(0x39b)](_0x199d04[_0x2e605f(0x3c9)]['changesets'][_0x2e605f(0x379)](_0x11dc28=>m[_0x2e605f(0x21e)](_0x11dc28)));break;}case m['CollaborationEvent'][_0x2e605f(0xf0)]:this[_0x2e605f(0x105)]({'isPermissionRej':!0x0});}}catch(_0x52a99c){throw console[_0x2e605f(0xd4)]('Error\x20on\x20receiving\x20event',_0x52a99c),_0x52a99c;}})),this['_state'];}[_0x935d9f(0x2ae)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x30d4a2=_0x935d9f;if(this['_transitionLocked'])throw new Error(_0x30d4a2(0x179));this[_0x30d4a2(0x14c)]=!0x0;}[_0x935d9f(0x1ac)](_0x4d7ab1){var _0x12b4da=_0x935d9f;this[_0x12b4da(0x3ed)](),this[_0x12b4da(0x34f)](this[_0x12b4da(0x3b9)][_0x12b4da(0x14f)](_0x4d7ab1)),this[_0x12b4da(0x2ae)]();}['_onRemoteChangeset'](_0x4a003e){var _0x44519c=_0x935d9f;if(!(_0x4a003e[_0x44519c(0x1b7)]<=this[_0x44519c(0xad)]['getCurrentRevOfUnit'](this[_0x44519c(0x35e)]))){if(this[_0x44519c(0xc2)]){this[_0x44519c(0x182)][_0x44519c(0x208)](_0x4a003e);return;}this[_0x44519c(0xdb)](_0x4a003e);}}[_0x935d9f(0x2f0)](){var _0xae1ed6=_0x935d9f;this[_0xae1ed6(0x182)][_0xae1ed6(0x3c2)](_0x289752=>this['_applyRemoteChangeset'](_0x289752)),this[_0xae1ed6(0x182)]=[];}[_0x935d9f(0xdb)](_0x48a103){var _0x58ffb2=_0x935d9f;const _0x1bf565=this[_0x58ffb2(0x31a)][_0x58ffb2(0x375)][_0x58ffb2(0xbe)](this[_0x58ffb2(0x31a)]['interceptor'][_0x58ffb2(0xf7)]()[_0x58ffb2(0xe4)])(_0x48a103['mutations'],null)||_0x48a103['mutations'],_0x584104={..._0x48a103,'mutations':_0x1bf565};this['_lockTransition'](),this[_0x58ffb2(0x34f)](this[_0x58ffb2(0x3b9)][_0x58ffb2(0x3c0)](_0x584104)),this[_0x58ffb2(0x2ae)]();}[_0x935d9f(0x165)](_0x5d410b){var _0x56d742=_0x935d9f;this['_lockTransition'](),this[_0x56d742(0x34f)](this[_0x56d742(0x3b9)]['onRemoteAck'](_0x5d410b)),this[_0x56d742(0x2ae)]();}[_0x935d9f(0x105)](_0x5ad0ed){var _0x1d5887=_0x935d9f;this['_lockTransition'](),this[_0x1d5887(0x34f)](this[_0x1d5887(0x3b9)][_0x1d5887(0x302)](_0x5ad0ed)),this[_0x1d5887(0x2ae)]();}[_0x935d9f(0x1f5)](_0x3932c3){var _0x3104ec=_0x935d9f;this[_0x3104ec(0x3ed)](),this[_0x3104ec(0x34f)](this[_0x3104ec(0x3b9)][_0x3104ec(0x3a9)](_0x3932c3)),this[_0x3104ec(0x2ae)]();}[_0x935d9f(0x39b)](_0x2c286b){var _0x5c9f15=_0x935d9f;if(!(this[_0x5c9f15(0x3b9)]instanceof exports[_0x5c9f15(0x21c)]))throw new TypeError(_0x5c9f15(0x1e1));const _0x4a0f9e=_0x2c286b['map'](_0x407b5f=>{var _0x11c153=_0x5c9f15;const _0xf6ca83=this[_0x11c153(0x31a)][_0x11c153(0x375)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x11c153(0xf7)]()[_0x11c153(0xe4)])(_0x407b5f[_0x11c153(0x27e)],null)||_0x407b5f[_0x11c153(0x27e)];return{..._0x407b5f,'mutations':_0xf6ca83};});this[_0x5c9f15(0x3ed)](),this[_0x5c9f15(0x34f)](this['_state'][_0x5c9f15(0x1d0)](_0x4a0f9e)),this[_0x5c9f15(0x2ae)]();}['_toggleOffline'](){var _0x30800a=_0x935d9f;this[_0x30800a(0x3ed)](),this[_0x30800a(0x34f)](this[_0x30800a(0x3b9)]['toggleOffline']()),this[_0x30800a(0x2ae)]();}[_0x935d9f(0x2f5)](_0x56610c=!0x1){var _0x403210=_0x935d9f;this[_0x403210(0x3ed)](),this['_updateState'](this['_state'][_0x403210(0x378)]()),this['_unlockTransition']();const _0x2173ff=this[_0x403210(0x3b9)];_0x56610c&&_0x2173ff instanceof exports['SyncedState']&&(this['_lockTransition'](),this[_0x403210(0x34f)](_0x2173ff[_0x403210(0x1e4)]()),this[_0x403210(0x2ae)]());}async[_0x935d9f(0x2e7)](){return new Promise(_0x5d1b5b=>{var _0x2876ea=_0xff9d;this[_0x2876ea(0x2bf)][_0x2876ea(0x39e)][_0x2876ea(0x21a)](B[_0x2876ea(0x404)](0x1))[_0x2876ea(0x1d6)](async _0x8b9f4e=>{var _0x393a45=_0x2876ea;_0x5d1b5b(await this[_0x393a45(0x229)](_0x8b9f4e===se[_0x393a45(0x1ae)]));});});}['_createHandler'](){const _0x89c802=this['unitID'];return{'onStateChange':(_0x59a002,_0x3f23e3)=>{var _0x59613c=_0xff9d;if(_0x59a002!==this[_0x59613c(0x3b9)])throw new Error(_0x59613c(0x38b)+_0x59a002[_0x59613c(0x171)]+_0x59613c(0x3ac)+_0x3f23e3[_0x59613c(0x171)]+'\x0aCurrent:\x20'+this[_0x59613c(0x3b9)][_0x59613c(0x171)]);this[_0x59613c(0x34f)](_0x3f23e3);},'onSendChangeset':_0x3d56d4=>{var _0x6aae9e=_0xff9d;_0x3d56d4['sid']||(_0x3d56d4[_0x6aae9e(0x210)]=this[_0x6aae9e(0x1f7)],_0x3d56d4[_0x6aae9e(0x36d)]=++this[_0x6aae9e(0x2ff)]);const _0x39ea67={'eventID':m[_0x6aae9e(0x1b8)][_0x6aae9e(0x186)],'data':{'unitID':_0x3d56d4[_0x6aae9e(0x35e)],'unitType':this[_0x6aae9e(0x277)],'changeset':_0x3d56d4,'memberID':this[_0x6aae9e(0x2bf)][_0x6aae9e(0x235)]()}};this[_0x6aae9e(0x2bf)][_0x6aae9e(0x382)](_0x39ea67,this[_0x6aae9e(0x35e)]);},'onMissingChangesets':({from:_0x4f4dba,to:_0x86a0a8})=>{var _0x215cc3=_0xff9d;this[_0x215cc3(0x3fb)]['debug']('[CollaborationEntity]',_0x215cc3(0x2be)+_0x4f4dba+_0x215cc3(0x1b5)+_0x86a0a8);const _0x5e2ce6={'eventID':m[_0x215cc3(0x1b8)][_0x215cc3(0x253)],'data':{'unitID':_0x89c802,'unitType':this[_0x215cc3(0x277)],'from':_0x4f4dba,'to':_0x86a0a8}};this[_0x215cc3(0x2bf)][_0x215cc3(0x382)](_0x5e2ce6,this['unitID']);}};}async[_0x935d9f(0x229)](_0x4ed07e){var _0x5a7f77=_0x935d9f,_0x3c42d3,_0x2d4f2c,_0x50c3db;const _0x1af5ac=await((_0x3c42d3=this[_0x5a7f77(0x3ba)])==null?void 0x0:_0x3c42d3['loadOfflineData'](this[_0x5a7f77(0x35e)])),_0xe9127b=(_0x2d4f2c=_0x1af5ac==null?void 0x0:_0x1af5ac[_0x5a7f77(0x27e)])!=null?_0x2d4f2c:[],_0x3557ef=(_0x50c3db=_0x1af5ac==null?void 0x0:_0x1af5ac[_0x5a7f77(0x239)])!=null?_0x50c3db:null,_0x7fc5fc=!!(_0x3557ef!=null&&_0x3557ef[_0x5a7f77(0x210)])&&!!(_0x3557ef!=null&&_0x3557ef['reqId']);this[_0x5a7f77(0x1f7)]=_0x7fc5fc?_0x3557ef[_0x5a7f77(0x210)]:Si(),this[_0x5a7f77(0x2ff)]=_0x7fc5fc?_0x3557ef[_0x5a7f77(0x36d)]:0x0;const _0x484d0c=this[_0x5a7f77(0x35e)];try{this['_replayCachedMutations'](_0x3557ef,_0xe9127b);}catch(_0x510a1f){this['_logService']['error'](_0x510a1f);}const _0x4cceeb=this[_0x5a7f77(0x13d)]();if(_0x4ed07e){const _0x22e7ec=Dt(this[_0x5a7f77(0x3b3)],_0x484d0c,this[_0x5a7f77(0x277)],_0x3557ef,_0xe9127b,_0x4cceeb);return _0x22e7ec instanceof exports['PendingState']?_0x22e7ec[_0x5a7f77(0x24c)]():(_0x22e7ec instanceof exports[_0x5a7f77(0x405)]||_0x22e7ec instanceof exports[_0x5a7f77(0x32d)])&&_0x22e7ec['resend'](),_0x22e7ec;}return this[_0x5a7f77(0x3b3)]['createInstance'](exports[_0x5a7f77(0x20e)],_0x484d0c,this[_0x5a7f77(0x277)],_0x3557ef,_0xe9127b,_0x4cceeb);}['_replayCachedMutations'](_0x580a6b,_0x300232){var _0x2c6673=_0x935d9f,_0x3e57fa,_0x379d40;const _0x3b60cc=this['_compressMutationService'][_0x2c6673(0x375)][_0x2c6673(0xbe)](this[_0x2c6673(0x31a)]['interceptor']['getInterceptPoints']()[_0x2c6673(0xe4)]);(_0x3e57fa=_0x3b60cc((_0x580a6b==null?void 0x0:_0x580a6b['mutations'])||[],null))==null||_0x3e57fa[_0x2c6673(0x3c2)](_0x4159a8=>this[_0x2c6673(0x37d)][_0x2c6673(0x1d2)](_0x4159a8['id'],_0x4159a8[_0x2c6673(0x16e)])),(_0x379d40=_0x3b60cc(_0x300232||[],null))==null||_0x379d40[_0x2c6673(0x3c2)](_0x5c242d=>this['_commandService']['executeCommand'](_0x5c242d['id'],_0x5c242d[_0x2c6673(0x16e)]));}},exports[_0x935d9f(0x41c)]=Ve([H(0x3,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),H(0x4,a[_0x935d9f(0x338)](m['CompressMutationService'])),H(0x5,a['Inject'](a['LocaleService'])),H(0x6,a[_0x935d9f(0x338)](m[_0x935d9f(0x170)])),H(0x7,a['Inject'](te)),H(0x8,a[_0x935d9f(0x279)]),H(0x9,a['ICommandService']),H(0xa,a[_0x935d9f(0x2f1)]),H(0xb,a['Optional'](ve)),H(0xc,a['Optional'](J))],exports[_0x935d9f(0x41c)]),exports[_0x935d9f(0x237)]=class extends exports[_0x935d9f(0x41c)]{constructor(_0x1968dd,_0x651686,_0x3183c7,_0x4b1e38,_0x304a76,_0x3972f9,_0x1d24a6,_0x5337eb,_0x1659b4,_0x286dfe,_0x323e44,_0x1908d5,_0x26e7f1){var _0x2ee14b=_0x935d9f;super(_0x1968dd,_0x3183c7,_0x651686,_0x4b1e38,_0x304a76,_0x3972f9,_0x1d24a6,_0x5337eb,_0x1659b4,_0x286dfe,_0x323e44,_0x1908d5,_0x26e7f1),w(this,_0x2ee14b(0x274),null),(this['unitID']=_0x1968dd,this[_0x2ee14b(0x132)]=_0x651686);}[_0x935d9f(0x278)](_0x4d82ce){var _0x27aade=_0x935d9f;this[_0x27aade(0x274)]=_0x4d82ce;}[_0x935d9f(0x3bb)](){var _0x547c46=_0x935d9f;this['_handlerCallback']=null,super[_0x547c46(0x3bb)]();}[_0x935d9f(0x13d)](){var _0x41fc53=_0x935d9f;const _0x51d1e6=super[_0x41fc53(0x13d)]();return _0x51d1e6['onTransformIME']=_0x26cb29=>{var _0x34ecdd=_0x41fc53,_0x50c787,_0x14b701;return(_0x14b701=(_0x50c787=this[_0x34ecdd(0x274)])==null?void 0x0:_0x50c787[_0x34ecdd(0x362)])==null?void 0x0:_0x14b701[_0x34ecdd(0x399)](_0x50c787,_0x26cb29);},_0x51d1e6[_0x41fc53(0x26c)]=_0x40fb41=>{var _0x1003aa=_0x41fc53,_0x2f1ef5,_0x1c5e20;return(_0x1c5e20=(_0x2f1ef5=this[_0x1003aa(0x274)])==null?void 0x0:_0x2f1ef5['onTransformState'])==null?void 0x0:_0x1c5e20['call'](_0x2f1ef5,_0x40fb41);},_0x51d1e6[_0x41fc53(0x192)]=_0x1618f6=>{var _0x26424c=_0x41fc53,_0x221630,_0x299ba4;return(_0x299ba4=(_0x221630=this['_handlerCallback'])==null?void 0x0:_0x221630[_0x26424c(0x192)])==null?void 0x0:_0x299ba4[_0x26424c(0x399)](_0x221630,_0x1618f6);},_0x51d1e6[_0x41fc53(0x248)]=_0x2dcd59=>{var _0x24e904=_0x41fc53,_0x1b3f09,_0x55f1d3;return(_0x55f1d3=(_0x1b3f09=this[_0x24e904(0x274)])==null?void 0x0:_0x1b3f09[_0x24e904(0x248)])==null?void 0x0:_0x55f1d3[_0x24e904(0x399)](_0x1b3f09,_0x2dcd59);},_0x51d1e6[_0x41fc53(0x28e)]=_0xd420e1=>{var _0x33cb0a=_0x41fc53,_0x2da988,_0x1b1313,_0x55c32b;if(!((_0x2da988=this['_handlerCallback'])!=null&&_0x2da988[_0x33cb0a(0x28e)]))throw new Error(_0x33cb0a(0x220));return(_0x55c32b=(_0x1b1313=this['_handlerCallback'])==null?void 0x0:_0x1b1313[_0x33cb0a(0x28e)])==null?void 0x0:_0x55c32b[_0x33cb0a(0x399)](_0x1b1313,_0xd420e1);},_0x51d1e6[_0x41fc53(0x130)]=_0x276294=>{var _0x5bf263=_0x41fc53,_0x527f50,_0x4898f9,_0x5db7a6;if(!((_0x527f50=this[_0x5bf263(0x274)])!=null&&_0x527f50['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5bf263(0x30b));return(_0x5db7a6=(_0x4898f9=this[_0x5bf263(0x274)])==null?void 0x0:_0x4898f9[_0x5bf263(0x130)])==null?void 0x0:_0x5db7a6[_0x5bf263(0x399)](_0x4898f9,_0x276294);},_0x51d1e6;}async[_0x935d9f(0x196)](){var _0x4b1ac5=_0x935d9f;const _0x1c55b9=await super['_init']();return this['disposeWithMe'](this[_0x4b1ac5(0x37d)][_0x4b1ac5(0x257)]((_0x1ff6de,_0x1be883)=>{var _0x19b369=_0x4b1ac5;if(_0x1ff6de['type']!==a[_0x19b369(0x2dd)][_0x19b369(0x2b5)]||_0x1be883!=null&&_0x1be883[_0x19b369(0x16b)]||_0x1be883!=null&&_0x1be883[_0x19b369(0x3c6)]||_0x1ff6de['id']===ut[_0x19b369(0x144)]['id'])return;const _0x2ce8f6=_0x1ff6de['params'];if((_0x2ce8f6==null?void 0x0:_0x2ce8f6[_0x19b369(0x3e0)])!==this[_0x19b369(0x35e)])return;const _0x546aea=_0x1ff6de,_0x3c7817=this[_0x19b369(0x31a)][_0x19b369(0x375)][_0x19b369(0xbe)](this[_0x19b369(0x31a)]['interceptor'][_0x19b369(0xf7)]()['COMPRESS_MUTATION_SEND'])([_0x546aea],null)||[_0x546aea];this[_0x19b369(0x1ac)](_0x3c7817[0x0]);})),_0x1c55b9;}},exports[_0x935d9f(0x237)]=Ve([H(0x3,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),H(0x4,a[_0x935d9f(0x338)](m['CompressMutationService'])),H(0x5,a[_0x935d9f(0x338)](a[_0x935d9f(0x271)])),H(0x6,a['Inject'](m[_0x935d9f(0x170)])),H(0x7,a['Inject'](te)),H(0x8,a[_0x935d9f(0x279)]),H(0x9,a[_0x935d9f(0x12b)]),H(0xa,a[_0x935d9f(0x2f1)]),H(0xb,a['Optional'](ve)),H(0xc,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x237)]),exports['SheetCollaborationEntity']=class extends exports[_0x935d9f(0x41c)]{constructor(_0x1e3ae6,_0x23a724,_0x398dad,_0x4a379f,_0x47b632,_0x11db8e,_0x3a55f8,_0x1e7ffa,_0x3d6617,_0x5c57c1,_0xb42947,_0x472062,_0x27877c,_0x3df81c){var _0x295a00=_0x935d9f;super(_0x1e3ae6,_0x398dad,_0x23a724,_0x4a379f,_0x47b632,_0x11db8e,_0x3a55f8,_0x3d6617,_0x5c57c1,_0xb42947,_0x472062,_0x27877c,_0x3df81c),this['unitID']=_0x1e3ae6,this[_0x295a00(0x132)]=_0x23a724,this[_0x295a00(0x2f6)]=_0x1e7ffa;}['_createHandler'](){var _0x40030c=_0x935d9f;const _0x160cac=super[_0x40030c(0x13d)]();return _0x160cac[_0x40030c(0x192)]=_0x2e5d76=>this['_sheetTransformSelectionsService'][_0x40030c(0xef)](_0x2e5d76),_0x160cac;}async[_0x935d9f(0x196)](){var _0x2a3d49=_0x935d9f;const _0x2487e9=await super['_init']();return this[_0x2a3d49(0x10a)](this['_commandService'][_0x2a3d49(0x257)]((_0x388a6c,_0x28a6b7)=>{var _0x2727b9=_0x2a3d49;if(_0x388a6c[_0x2727b9(0x132)]!==a[_0x2727b9(0x2dd)][_0x2727b9(0x2b5)]||_0x28a6b7!=null&&_0x28a6b7[_0x2727b9(0x16b)]||_0x28a6b7!=null&&_0x28a6b7['onlyLocal'])return;const _0x3cfce0=_0x388a6c['params'];if((_0x3cfce0==null?void 0x0:_0x3cfce0[_0x2727b9(0x3e0)])!==this['unitID'])return;const _0x54f48e=_0x388a6c,_0x5f21dd=this[_0x2727b9(0x31a)][_0x2727b9(0x375)][_0x2727b9(0xbe)](this[_0x2727b9(0x31a)][_0x2727b9(0x375)]['getInterceptPoints']()[_0x2727b9(0x120)])([_0x54f48e],null)||[_0x54f48e];this[_0x2727b9(0x1ac)](_0x5f21dd[0x0]);})),_0x2487e9;}},exports['SheetCollaborationEntity']=Ve([H(0x3,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),H(0x4,a[_0x935d9f(0x338)](m['CompressMutationService'])),H(0x5,a[_0x935d9f(0x338)](a[_0x935d9f(0x271)])),H(0x6,a['Inject'](m[_0x935d9f(0x170)])),H(0x7,a[_0x935d9f(0x338)](exports['SheetTransformSelectionsService'])),H(0x8,a['Inject'](te)),H(0x9,a['ILogService']),H(0xa,a[_0x935d9f(0x12b)]),H(0xb,a[_0x935d9f(0x2f1)]),H(0xc,a[_0x935d9f(0x2b7)](ve)),H(0xd,a[_0x935d9f(0x2b7)](J))],exports['SheetCollaborationEntity']);var Di=Object['defineProperty'],Ui=Object[_0x935d9f(0xd8)],Ni=(_0x1d22c9,_0x579379,_0x4bdd66,_0x1f8274)=>{var _0x1c90bb=_0x935d9f;for(var _0x175f67=_0x1f8274>0x1?void 0x0:_0x1f8274?Ui(_0x579379,_0x4bdd66):_0x579379,_0x3790bf=_0x1d22c9[_0x1c90bb(0x2d8)]-0x1,_0x140615;_0x3790bf>=0x0;_0x3790bf--)(_0x140615=_0x1d22c9[_0x3790bf])&&(_0x175f67=(_0x1f8274?_0x140615(_0x579379,_0x4bdd66,_0x175f67):_0x140615(_0x175f67))||_0x175f67);return _0x1f8274&&_0x175f67&&Di(_0x579379,_0x4bdd66,_0x175f67),_0x175f67;},we=(_0x2b5adc,_0x33d70e)=>(_0x5d7581,_0x46bc5e)=>_0x33d70e(_0x5d7581,_0x46bc5e,_0x2b5adc);exports['CollaborationController']=class extends a[_0x935d9f(0x28d)]{constructor(_0x59a827,_0xee6444,_0x17b1e4){var _0x21d5cc=_0x935d9f;super(),w(this,_0x21d5cc(0x131),new Map()),w(this,_0x21d5cc(0x212),new B[(_0x21d5cc(0x1f1))]()),w(this,'entityInit$',this[_0x21d5cc(0x212)][_0x21d5cc(0x230)]()),(this[_0x21d5cc(0x3b3)]=_0x59a827,this['_collabSessionService']=_0xee6444,this[_0x21d5cc(0xba)]=_0x17b1e4,this[_0x21d5cc(0x196)]());}[_0x935d9f(0x3bb)](){var _0x3539f3=_0x935d9f;super[_0x3539f3(0x3bb)](),this[_0x3539f3(0x131)][_0x3539f3(0x3c2)](_0x179409=>_0x179409['dispose']()),this[_0x3539f3(0x131)][_0x3539f3(0x392)]();}['getCollabEntity'](_0x349834){var _0x53ee2f=_0x935d9f,_0x459c6b;return(_0x459c6b=this['_entities'][_0x53ee2f(0xf9)](_0x349834))!=null?_0x459c6b:null;}[_0x935d9f(0x122)](_0x56c80d){var _0x10f159=_0x935d9f;const _0x1f6aa1=this[_0x10f159(0x23b)](_0x56c80d);return _0x1f6aa1?B['of'](_0x1f6aa1):this['_entityInit$'][_0x10f159(0x21a)](V['filter'](_0x586046=>_0x586046[_0x10f159(0x35e)]===_0x56c80d));}[_0x935d9f(0x2f2)](_0x467cfe){var _0x54d8db=_0x935d9f;return B[_0x54d8db(0x2e2)](this[_0x54d8db(0x122)](_0x467cfe)[_0x54d8db(0x21a)](V[_0x54d8db(0x379)](()=>{})));}['_init'](){var _0x4406fc=_0x935d9f;this[_0x4406fc(0xba)][_0x4406fc(0xca)](a[_0x4406fc(0x383)]['UNIVER_SHEET'])['pipe'](B[_0x4406fc(0x184)](this['dispose$']),V[_0x4406fc(0x185)](0x10))['subscribe'](async _0x25e147=>{var _0x1dbc5f=_0x4406fc;const _0x26b376=_0x25e147[_0x1dbc5f(0x104)](),_0x3aac08=await this[_0x1dbc5f(0x20c)](_0x26b376,Z[_0x1dbc5f(0x2d6)]);this[_0x1dbc5f(0x131)]['set'](_0x26b376,_0x3aac08);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4406fc(0x383)]['UNIVER_DOC'])[_0x4406fc(0x21a)](B[_0x4406fc(0x184)](this[_0x4406fc(0x29c)]),V[_0x4406fc(0x185)](0x10))[_0x4406fc(0x21a)](V[_0x4406fc(0x3ca)](_0x549c30=>!_0x549c30[_0x4406fc(0x104)]()[_0x4406fc(0x139)]('__')))['subscribe'](async _0x2a1871=>{var _0xe570a2=_0x4406fc;const _0x202c19=_0x2a1871[_0xe570a2(0x104)](),_0x3012dc=await this[_0xe570a2(0x20c)](_0x202c19,Z[_0xe570a2(0x154)]);this[_0xe570a2(0x131)][_0xe570a2(0x1c7)](_0x202c19,_0x3012dc);}),B[_0x4406fc(0x2d3)](this[_0x4406fc(0xba)][_0x4406fc(0x246)](a[_0x4406fc(0x383)][_0x4406fc(0x2d6)]),this[_0x4406fc(0xba)]['getTypeOfUnitDisposed$'](a[_0x4406fc(0x383)][_0x4406fc(0x154)]))[_0x4406fc(0x21a)](B['takeUntil'](this[_0x4406fc(0x29c)]))[_0x4406fc(0x1d6)](_0x429189=>{var _0x15a2c6=_0x4406fc;const _0x3f9826=_0x429189[_0x15a2c6(0x104)](),_0x353ee2=this['_entities']['get'](_0x3f9826);_0x353ee2&&(_0x353ee2[_0x15a2c6(0x3bb)](),this[_0x15a2c6(0x131)][_0x15a2c6(0x141)](_0x3f9826));});}async[_0x935d9f(0x20c)](_0x2bc74a,_0x920a4){var _0x4c09b0=_0x935d9f;const _0x33b2ec=await this['_collabSessionService'][_0x4c09b0(0x2e6)](_0x2bc74a),_0x47936b=this[_0x4c09b0(0x3b3)][_0x4c09b0(0x2e4)](this['_getCtorByUniverType'](_0x920a4),_0x2bc74a,_0x920a4,_0x33b2ec);return await _0x47936b[_0x4c09b0(0x36f)](),this[_0x4c09b0(0x212)]['next'](_0x47936b),_0x47936b;}[_0x935d9f(0x390)](_0x302fee){var _0x2fc935=_0x935d9f;switch(_0x302fee){case Z[_0x2fc935(0x154)]:return exports[_0x2fc935(0x237)];case Z[_0x2fc935(0x2d6)]:return exports[_0x2fc935(0x11d)];default:throw new Error(_0x2fc935(0x3af)+_0x302fee);}}},exports['CollaborationController']=Ni([we(0x0,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),we(0x1,a[_0x935d9f(0x338)](exports[_0x935d9f(0x12d)])),we(0x2,a[_0x935d9f(0x201)])],exports['CollaborationController']);var wi=Object[_0x935d9f(0x18b)],Ai=Object[_0x935d9f(0xd8)],Li=(_0xc5da43,_0x2733b7,_0xd306c5,_0x4c942c)=>{var _0x22bf2f=_0x935d9f;for(var _0x4e5efa=_0x4c942c>0x1?void 0x0:_0x4c942c?Ai(_0x2733b7,_0xd306c5):_0x2733b7,_0xf07a23=_0xc5da43[_0x22bf2f(0x2d8)]-0x1,_0xd57e0d;_0xf07a23>=0x0;_0xf07a23--)(_0xd57e0d=_0xc5da43[_0xf07a23])&&(_0x4e5efa=(_0x4c942c?_0xd57e0d(_0x2733b7,_0xd306c5,_0x4e5efa):_0xd57e0d(_0x4e5efa))||_0x4e5efa);return _0x4c942c&&_0x4e5efa&&wi(_0x2733b7,_0xd306c5,_0x4e5efa),_0x4e5efa;},Je=(_0x329d24,_0x3912f5)=>(_0x567535,_0x233104)=>_0x3912f5(_0x567535,_0x233104,_0x329d24);const Mi=_0x935d9f(0x293),xi=_0x935d9f(0x2ef);let $e=class extends a[_0x935d9f(0x21b)]{constructor(_0x46b83d,_0x5e2983){var _0x20dc08=_0x935d9f;super(),this[_0x20dc08(0xba)]=_0x46b83d,this[_0x20dc08(0x40e)]=_0x5e2983,this[_0x20dc08(0x196)]();}[_0x935d9f(0x196)](){var _0x44f133=_0x935d9f;this[_0x44f133(0x10a)](this[_0x44f133(0xba)][_0x44f133(0x33f)]['subscribe'](()=>{var _0x5a15e6=_0x44f133,_0x246042;const _0x39a702=this[_0x5a15e6(0xba)][_0x5a15e6(0x2ac)]();let _0x284a87=(_0x246042=this['_configService'][_0x5a15e6(0x2d7)](Mi))!=null?_0x246042:xi;_0x39a702 instanceof a[_0x5a15e6(0x1d1)]&&(_0x284a87=_0x39a702[_0x5a15e6(0x3ee)]),document[_0x5a15e6(0x417)]=_0x284a87;}));}};$e=Li([Je(0x0,a[_0x935d9f(0x201)]),Je(0x1,a[_0x935d9f(0x35d)])],$e);var ji=Object[_0x935d9f(0x18b)],$i=Object[_0x935d9f(0xd8)],Hi=(_0x358869,_0x69aa76,_0x1b03d9,_0x324d8d)=>{var _0x1ad286=_0x935d9f;for(var _0x36c782=_0x324d8d>0x1?void 0x0:_0x324d8d?$i(_0x69aa76,_0x1b03d9):_0x69aa76,_0x50b745=_0x358869[_0x1ad286(0x2d8)]-0x1,_0x21f5b2;_0x50b745>=0x0;_0x50b745--)(_0x21f5b2=_0x358869[_0x50b745])&&(_0x36c782=(_0x324d8d?_0x21f5b2(_0x69aa76,_0x1b03d9,_0x36c782):_0x21f5b2(_0x36c782))||_0x36c782);return _0x324d8d&&_0x36c782&&ji(_0x69aa76,_0x1b03d9,_0x36c782),_0x36c782;},Ae=(_0x317f63,_0x393446)=>(_0x2a402e,_0x55be73)=>_0x393446(_0x2a402e,_0x55be73,_0x317f63);let Oe=class{constructor(_0x1a7c77,_0x24c068,_0x160ddf){var _0x20d485=_0x935d9f;this['_configService']=_0x1a7c77,this[_0x20d485(0x160)]=_0x24c068,this[_0x20d485(0x276)]=_0x160ddf,this[_0x20d485(0x36f)]();}[_0x935d9f(0x36f)](){var _0x5b2f68=_0x935d9f;this[_0x5b2f68(0x160)][_0x5b2f68(0x2fd)]({'priority':0x1,'interceptor':(_0x379f8f,_0x1c415c)=>_0x1c415c(_0x379f8f)[_0x5b2f68(0x21a)](B[_0x5b2f68(0x1d3)](async _0x5644e5=>{var _0x20dde9=_0x5b2f68;const _0x21d38d=_0x5644e5;if(_0x21d38d[_0x20dde9(0x171)]===0x191){if(typeof window>'u')throw new Error(_0x20dde9(0x350));if(window['confirm'](this['localeService']['t'](_0x20dde9(0x1cb)))){const _0x4afe0e=window[_0x20dde9(0x226)](window[_0x20dde9(0x3ce)][_0x20dde9(0x2f9)]);window[_0x20dde9(0x3ce)][_0x20dde9(0x2f9)]=this[_0x20dde9(0xd0)]()+_0x20dde9(0x30d)+_0x4afe0e;}}return _0x21d38d;}))});}[_0x935d9f(0xd0)](){var _0x182e99=_0x935d9f,_0x389956,_0x46077c;const _0x442e0e=this['_configService'][_0x182e99(0x2d7)](Et),_0x24cd06=this[_0x182e99(0x40e)][_0x182e99(0x2d7)](q);return(_0x46077c=(_0x389956=_0x24cd06==null?void 0x0:_0x24cd06[_0x182e99(0x3cd)])!=null?_0x389956:_0x442e0e)!=null?_0x46077c:qt;}};Oe=Hi([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x935d9f(0x338)](z['HTTPService'])),Ae(0x2,a['Inject'](a[_0x935d9f(0x271)]))],Oe);var ki=Object[_0x935d9f(0x18b)],Bi=Object[_0x935d9f(0xd8)],Fi=(_0x4673b3,_0x716852,_0x3bb56c,_0x3cd8fa)=>{for(var _0x5707fd=_0x3cd8fa>0x1?void 0x0:_0x3cd8fa?Bi(_0x716852,_0x3bb56c):_0x716852,_0x3f1e09=_0x4673b3['length']-0x1,_0x3fe8f3;_0x3f1e09>=0x0;_0x3f1e09--)(_0x3fe8f3=_0x4673b3[_0x3f1e09])&&(_0x5707fd=(_0x3cd8fa?_0x3fe8f3(_0x716852,_0x3bb56c,_0x5707fd):_0x3fe8f3(_0x5707fd))||_0x5707fd);return _0x3cd8fa&&_0x5707fd&&ki(_0x716852,_0x3bb56c,_0x5707fd),_0x5707fd;},Xe=(_0x431da6,_0x42b3df)=>(_0x31d19d,_0x30767e)=>_0x42b3df(_0x31d19d,_0x30767e,_0x431da6);const Ge=_0x935d9f(0x133),Wi=_0x935d9f(0x327);exports[_0x935d9f(0xd6)]=class extends a[_0x935d9f(0x21b)]{constructor(_0x217440,_0x1a3ae8){var _0x8bf177=_0x935d9f;super(),this[_0x8bf177(0xcd)]=_0x217440,this[_0x8bf177(0x40e)]=_0x1a3ae8,this[_0x8bf177(0x2c0)]();}[_0x935d9f(0x2c0)](){var _0x53dd65=_0x935d9f;const _0x21e916=this;this[_0x53dd65(0x10a)](this['_HTTPService'][_0x53dd65(0x2fd)]({'priority':0x3e7,'interceptor':z[_0x53dd65(0x296)]({'isMatch'(_0x11dd80){var _0x290d5c=_0x53dd65,_0x55befb;if(_0x11dd80['method']===_0x290d5c(0xb2)&&((_0x55befb=_0x11dd80[_0x290d5c(0xf2)])!=null&&_0x55befb[_0x290d5c(0x228)])){const {objectID:_0x30c899,objectType:_0x81b0dc}=_0x11dd80['requestParams'][_0x290d5c(0x228)]||{};if(!_0x30c899||_0x81b0dc===void 0x0)return!0x1;const _0x50e3e8=_0x21e916['_getAPIPrefixPath']()+'/'+_0x81b0dc+_0x290d5c(0x3b2)+_0x30c899+_0x290d5c(0x306);if(_0x11dd80[_0x290d5c(0x352)]===_0x50e3e8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2945ce){var _0x203804=_0x53dd65,_0x428bbd;return(_0x428bbd=_0x2945ce['requestParams'])==null?void 0x0:_0x428bbd[_0x203804(0x228)];},'mergeParamsToRequest'(_0x54922c,_0x193855){var _0x5df6c6=_0x53dd65;const _0x2072a5=_0x21e916[_0x5df6c6(0x214)]()+_0x5df6c6(0x2d5),_0x344f12=_0x54922c[_0x5df6c6(0x11c)]((_0x429286,_0x447e38)=>{var _0x11e353=_0x5df6c6;const {unitID:_0x1fee73,objectID:_0x34a133,objectType:_0x5aa698,actions:_0x2669d9}=_0x447e38;return _0x429286[_0x1fee73]||(_0x429286[_0x1fee73]={}),_0x429286[_0x1fee73][_0x34a133]||(_0x429286[_0x1fee73][_0x34a133]={'objectID':_0x34a133,'objectType':_0x5aa698,'actions':[]}),_0x429286[_0x1fee73][_0x34a133][_0x11e353(0xfc)][_0x11e353(0x208)](..._0x2669d9),_0x429286;},{}),_0x33b646=[];for(const _0x16a7a3 in _0x344f12)for(const _0x5d8638 in _0x344f12[_0x16a7a3]){const {actions:_0x2a04db,objectType:_0xc27a78}=_0x344f12[_0x16a7a3][_0x5d8638],_0x16c7de=[...new Set(_0x2a04db)];_0x33b646[_0x5df6c6(0x208)]({'unitID':_0x16a7a3,'objectID':_0x5d8638,'objectType':_0xc27a78,'actions':_0x16c7de});}return new z['HTTPRequest']('POST',_0x2072a5,{'headers':_0x193855[_0x5df6c6(0xdc)],'withCredentials':_0x193855['withCredentials'],'responseType':_0x193855[_0x5df6c6(0x15a)],'body':{'requests':_0x33b646}});}},{'distributeResult'(_0x3e9b3c,_0x32eafb){const {objectActions:_0x335d13}=_0x3e9b3c;return _0x32eafb['map'](_0x581ec3=>{var _0xc8bf1=_0xff9d;const {unitID:_0x538c77,objectID:_0x520926,actions:_0x282e40}=_0x581ec3,_0x51ffaa=_0x335d13[_0xc8bf1(0x403)](_0x56aee7=>_0x56aee7['unitID']===_0x538c77&&_0x56aee7[_0xc8bf1(0x1e8)]===_0x520926),_0x363029=_0x282e40[_0xc8bf1(0x379)](_0x5bff4d=>_0x51ffaa==null?void 0x0:_0x51ffaa['actions'][_0xc8bf1(0x403)](_0x2028b7=>_0x2028b7[_0xc8bf1(0x2a2)]===_0x5bff4d))[_0xc8bf1(0x3ca)](_0x3a365a=>!!_0x3a365a);return{'config':_0x581ec3,'result':{'actions':_0x363029,'error':_0x3e9b3c[_0xc8bf1(0xd4)]}};});}})}));}[_0x935d9f(0x214)](){var _0x137473=_0x935d9f,_0x14a881,_0x519219;const _0x1d514f=this[_0x137473(0x40e)]['getConfig'](Ge),_0x472d00=this[_0x137473(0x40e)]['getConfig'](q);return(_0x519219=(_0x14a881=_0x472d00==null?void 0x0:_0x472d00[_0x137473(0x374)])!=null?_0x14a881:_0x1d514f)!=null?_0x519219:Wi;}async['create'](_0x42068b){var _0x1ae804=_0x935d9f;const _0x2aa6fe=this[_0x1ae804(0x214)]()+'/'+_0x42068b['objectType']+_0x1ae804(0x183);return(await this[_0x1ae804(0xcd)][_0x1ae804(0x37b)](_0x2aa6fe,{'body':_0x42068b}))[_0x1ae804(0x228)]['objectID']||'';}async[_0x935d9f(0x13e)](_0x5cad0d){var _0x34937b=_0x935d9f;const _0x2a321d=this[_0x34937b(0x214)]()+_0x34937b(0x384);return(await this[_0x34937b(0xcd)][_0x34937b(0x37b)](_0x2a321d,{'body':_0x5cad0d}))[_0x34937b(0x228)]['objects'];}async[_0x935d9f(0x2bd)](_0x5e3c57){var _0x24f025=_0x935d9f;const _0x4e0f1b=this[_0x24f025(0x214)]()+'/'+_0x5e3c57[_0x24f025(0x25c)]+_0x24f025(0x3b2)+_0x5e3c57[_0x24f025(0x1e8)];await this[_0x24f025(0xcd)]['put'](_0x4e0f1b,{'body':_0x5e3c57});}async[_0x935d9f(0x198)](_0x186284){var _0x80d6f8=_0x935d9f;const _0x2491ba=this[_0x80d6f8(0x214)]()+'/'+_0x186284[_0x80d6f8(0x25c)]+'/object/'+_0x186284[_0x80d6f8(0x1e8)]+_0x80d6f8(0x306);return(await this[_0x80d6f8(0xcd)]['post'](_0x2491ba,{'body':_0x186284}))[_0x80d6f8(0x228)][_0x80d6f8(0xfc)];}async[_0x935d9f(0x325)](_0x320ea3){var _0x2bdf62=_0x935d9f;const _0x34957d=this[_0x2bdf62(0x214)]()+_0x2bdf62(0x2d5);return(await this[_0x2bdf62(0xcd)]['post'](_0x34957d,{'body':{'requests':_0x320ea3}}))[_0x2bdf62(0x228)][_0x2bdf62(0x3f9)];}async[_0x935d9f(0x3fc)](_0x48b1f4){var _0x52b017=_0x935d9f;const _0x31bdfc=this[_0x52b017(0x214)]()+'/'+_0x48b1f4[_0x52b017(0x25c)]+_0x52b017(0xea),_0x24ae85=await this[_0x52b017(0xcd)][_0x52b017(0x37b)](_0x31bdfc,{'body':_0x48b1f4});return{'roles':_0x24ae85['body']['roles'],'actions':_0x24ae85[_0x52b017(0x228)][_0x52b017(0xfc)]};}async['deleteCollaborator'](_0x2aaf8c){var _0x28a370=_0x935d9f;const _0x3f0860=this['_getAPIPrefixPath']()+_0x28a370(0x216);await this[_0x28a370(0xcd)][_0x28a370(0x141)](_0x3f0860,{'params':{'collaboratorID':_0x2aaf8c[_0x28a370(0x361)],'objectID':_0x2aaf8c[_0x28a370(0x1e8)],'unitID':_0x2aaf8c[_0x28a370(0x35e)]}});}async['updateCollaborator'](_0x32b23d){var _0x448a0e=_0x935d9f;const _0x267e2c=this[_0x448a0e(0x214)]()+'/collaborator';await this[_0x448a0e(0xcd)]['patch'](_0x267e2c,{'body':_0x32b23d});}async[_0x935d9f(0x218)](_0x196794){var _0x416908=_0x935d9f;const _0x58713f=this[_0x416908(0x214)]()+'/collaborator';await this[_0x416908(0xcd)][_0x416908(0x37b)](_0x58713f,{'body':_0x196794});}async[_0x935d9f(0x333)](_0x1e781a){var _0x21924a=_0x935d9f;const _0x370957=this[_0x21924a(0x214)]()+_0x21924a(0x216);return(await this['_HTTPService'][_0x21924a(0xf9)](_0x370957,{'params':{'objectID':_0x1e781a['objectID'],'unitID':_0x1e781a['unitID']}}))[_0x21924a(0x228)][_0x21924a(0x33b)];}async[_0x935d9f(0x16f)](_0xf4d02f){var _0x1edd1f=_0x935d9f;const _0x5689c1=this[_0x1edd1f(0x214)]()+_0x1edd1f(0x216);await this[_0x1edd1f(0xcd)]['put'](_0x5689c1,{'body':_0xf4d02f});}},exports[_0x935d9f(0xd6)]=Fi([Xe(0x0,a[_0x935d9f(0x338)](z['HTTPService'])),Xe(0x1,a[_0x935d9f(0x338)](a[_0x935d9f(0x35d)]))],exports[_0x935d9f(0xd6)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x4d64c0){var _0x23817b=_0x935d9f;return _0x4d64c0&&_0x4d64c0[_0x23817b(0x3a8)]&&Object[_0x23817b(0x28b)][_0x23817b(0x236)][_0x23817b(0x399)](_0x4d64c0,_0x23817b(0x3cc))?_0x4d64c0[_0x23817b(0x3cc)]:_0x4d64c0;}var Se={'exports':{}};function Vi(_0x3e20bf){var _0x14b6d6=_0x935d9f;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3e20bf+_0x14b6d6(0x304));}function _0xff9d(_0x15c47c,_0x5f018c){var _0x2c3f0e=_0x2c3f();return _0xff9d=function(_0xff9db6,_0x377c2f){_0xff9db6=_0xff9db6-0xa4;var _0x34aea9=_0x2c3f0e[_0xff9db6];return _0x34aea9;},_0xff9d(_0x15c47c,_0x5f018c);}var pe={'exports':{}},Gi=pe['exports'],Ze;function ee(){var _0x48eef9=_0x935d9f;return Ze||(Ze=0x1,function(_0xa225bb,_0x40f50f){(function(_0x173bea,_0x36628c){var _0x5719a8=_0xff9d;_0xa225bb[_0x5719a8(0x38a)]=_0x36628c();}(Gi,function(){var _0x52f28f=_0x52f28f||function(_0x5f01dd,_0x393e9e){var _0x3bf63d=_0xff9d,_0x25d6dd;if(typeof window<'u'&&window[_0x3bf63d(0x161)]&&(_0x25d6dd=window[_0x3bf63d(0x161)]),typeof self<'u'&&self[_0x3bf63d(0x161)]&&(_0x25d6dd=self[_0x3bf63d(0x161)]),typeof globalThis<'u'&&globalThis[_0x3bf63d(0x161)]&&(_0x25d6dd=globalThis[_0x3bf63d(0x161)]),!_0x25d6dd&&typeof window<'u'&&window[_0x3bf63d(0x2c1)]&&(_0x25d6dd=window[_0x3bf63d(0x2c1)]),!_0x25d6dd&&typeof Le<'u'&&Le[_0x3bf63d(0x161)]&&(_0x25d6dd=Le[_0x3bf63d(0x161)]),!_0x25d6dd&&typeof Vi==_0x3bf63d(0x406))try{_0x25d6dd=require(_0x3bf63d(0x161));}catch{}var _0x3901fe=function(){var _0x15e009=_0x3bf63d;if(_0x25d6dd){if(typeof _0x25d6dd['getRandomValues']==_0x15e009(0x406))try{return _0x25d6dd['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25d6dd[_0x15e009(0x2a8)]==_0x15e009(0x406))try{return _0x25d6dd[_0x15e009(0x2a8)](0x4)[_0x15e009(0x366)]();}catch{}}throw new Error(_0x15e009(0x414));},_0x4e9189=Object[_0x3bf63d(0x1ed)]||(function(){function _0x576e86(){}return function(_0x3d637b){var _0xae52b0=_0xff9d,_0x19142f;return _0x576e86['prototype']=_0x3d637b,_0x19142f=new _0x576e86(),_0x576e86[_0xae52b0(0x28b)]=null,_0x19142f;};}()),_0x196954={},_0x55ca29=_0x196954[_0x3bf63d(0x1c2)]={},_0x4d03e6=_0x55ca29['Base']=(function(){return{'extend':function(_0x428bd7){var _0x3132fe=_0xff9d,_0x24afe8=_0x4e9189(this);return _0x428bd7&&_0x24afe8['mixIn'](_0x428bd7),(!_0x24afe8[_0x3132fe(0x236)](_0x3132fe(0x36f))||this[_0x3132fe(0x36f)]===_0x24afe8['init'])&&(_0x24afe8['init']=function(){var _0x57f642=_0x3132fe;_0x24afe8[_0x57f642(0x409)]['init']['apply'](this,arguments);}),_0x24afe8[_0x3132fe(0x36f)][_0x3132fe(0x28b)]=_0x24afe8,_0x24afe8[_0x3132fe(0x409)]=this,_0x24afe8;},'create':function(){var _0x619893=_0xff9d,_0x2650b6=this['extend']();return _0x2650b6[_0x619893(0x36f)][_0x619893(0xff)](_0x2650b6,arguments),_0x2650b6;},'init':function(){},'mixIn':function(_0x56672a){var _0x34f017=_0xff9d;for(var _0x296f63 in _0x56672a)_0x56672a['hasOwnProperty'](_0x296f63)&&(this[_0x296f63]=_0x56672a[_0x296f63]);_0x56672a[_0x34f017(0x236)]('toString')&&(this['toString']=_0x56672a[_0x34f017(0xe9)]);},'clone':function(){var _0x4746aa=_0xff9d;return this[_0x4746aa(0x36f)]['prototype'][_0x4746aa(0x30c)](this);}};}()),_0xf226bd=_0x55ca29[_0x3bf63d(0x307)]=_0x4d03e6['extend']({'init':function(_0x358f29,_0xf00999){var _0x29d090=_0x3bf63d;_0x358f29=this[_0x29d090(0x12e)]=_0x358f29||[],_0xf00999!=_0x393e9e?this['sigBytes']=_0xf00999:this[_0x29d090(0x102)]=_0x358f29['length']*0x4;},'toString':function(_0x3b3d58){var _0x47c93b=_0x3bf63d;return(_0x3b3d58||_0x2991ef)[_0x47c93b(0xc6)](this);},'concat':function(_0x3703ec){var _0x5e7833=_0x3bf63d,_0x295457=this[_0x5e7833(0x12e)],_0x37d207=_0x3703ec['words'],_0x3412f4=this[_0x5e7833(0x102)],_0x54d034=_0x3703ec[_0x5e7833(0x102)];if(this[_0x5e7833(0x2c4)](),_0x3412f4%0x4)for(var _0x3ec1de=0x0;_0x3ec1de<_0x54d034;_0x3ec1de++){var _0x446c95=_0x37d207[_0x3ec1de>>>0x2]>>>0x18-_0x3ec1de%0x4*0x8&0xff;_0x295457[_0x3412f4+_0x3ec1de>>>0x2]|=_0x446c95<<0x18-(_0x3412f4+_0x3ec1de)%0x4*0x8;}else{for(var _0x14da1c=0x0;_0x14da1c<_0x54d034;_0x14da1c+=0x4)_0x295457[_0x3412f4+_0x14da1c>>>0x2]=_0x37d207[_0x14da1c>>>0x2];}return this[_0x5e7833(0x102)]+=_0x54d034,this;},'clamp':function(){var _0x1e641c=_0x3bf63d,_0x1cbf61=this[_0x1e641c(0x12e)],_0x1b020e=this[_0x1e641c(0x102)];_0x1cbf61[_0x1b020e>>>0x2]&=0xffffffff<<0x20-_0x1b020e%0x4*0x8,_0x1cbf61[_0x1e641c(0x2d8)]=_0x5f01dd[_0x1e641c(0x1d9)](_0x1b020e/0x4);},'clone':function(){var _0x8e0af=_0x3bf63d,_0x1c5f55=_0x4d03e6['clone'][_0x8e0af(0x399)](this);return _0x1c5f55['words']=this[_0x8e0af(0x12e)][_0x8e0af(0x346)](0x0),_0x1c5f55;},'random':function(_0x1e0338){var _0x321a57=_0x3bf63d;for(var _0x49280c=[],_0x279b78=0x0;_0x279b78<_0x1e0338;_0x279b78+=0x4)_0x49280c[_0x321a57(0x208)](_0x3901fe());return new _0xf226bd['init'](_0x49280c,_0x1e0338);}}),_0x4da144=_0x196954[_0x3bf63d(0x20a)]={},_0x2991ef=_0x4da144['Hex']={'stringify':function(_0x20c6a5){var _0x49e580=_0x3bf63d;for(var _0x15169a=_0x20c6a5[_0x49e580(0x12e)],_0x4bc71b=_0x20c6a5['sigBytes'],_0xf29ac7=[],_0x10f50e=0x0;_0x10f50e<_0x4bc71b;_0x10f50e++){var _0x457543=_0x15169a[_0x10f50e>>>0x2]>>>0x18-_0x10f50e%0x4*0x8&0xff;_0xf29ac7[_0x49e580(0x208)]((_0x457543>>>0x4)[_0x49e580(0xe9)](0x10)),_0xf29ac7[_0x49e580(0x208)]((_0x457543&0xf)[_0x49e580(0xe9)](0x10));}return _0xf29ac7[_0x49e580(0x1c1)]('');},'parse':function(_0x402856){var _0x29d876=_0x3bf63d;for(var _0x3a1f38=_0x402856['length'],_0xa69720=[],_0x177046=0x0;_0x177046<_0x3a1f38;_0x177046+=0x2)_0xa69720[_0x177046>>>0x3]|=parseInt(_0x402856[_0x29d876(0x322)](_0x177046,0x2),0x10)<<0x18-_0x177046%0x8*0x4;return new _0xf226bd[(_0x29d876(0x36f))](_0xa69720,_0x3a1f38/0x2);}},_0xc0bf39=_0x4da144[_0x3bf63d(0x371)]={'stringify':function(_0x55c332){var _0x567202=_0x3bf63d;for(var _0x9df6e1=_0x55c332[_0x567202(0x12e)],_0x49339c=_0x55c332[_0x567202(0x102)],_0x1bb2b1=[],_0x2b54c7=0x0;_0x2b54c7<_0x49339c;_0x2b54c7++){var _0x251e69=_0x9df6e1[_0x2b54c7>>>0x2]>>>0x18-_0x2b54c7%0x4*0x8&0xff;_0x1bb2b1[_0x567202(0x208)](String[_0x567202(0x41e)](_0x251e69));}return _0x1bb2b1[_0x567202(0x1c1)]('');},'parse':function(_0x1406c6){var _0x2cf7d1=_0x3bf63d;for(var _0x120952=_0x1406c6[_0x2cf7d1(0x2d8)],_0x1d98f4=[],_0x9dc6d0=0x0;_0x9dc6d0<_0x120952;_0x9dc6d0++)_0x1d98f4[_0x9dc6d0>>>0x2]|=(_0x1406c6['charCodeAt'](_0x9dc6d0)&0xff)<<0x18-_0x9dc6d0%0x4*0x8;return new _0xf226bd[(_0x2cf7d1(0x36f))](_0x1d98f4,_0x120952);}},_0x1a30d7=_0x4da144[_0x3bf63d(0x2d0)]={'stringify':function(_0x4eece2){var _0x4c4691=_0x3bf63d;try{return decodeURIComponent(escape(_0xc0bf39[_0x4c4691(0xc6)](_0x4eece2)));}catch{throw new Error(_0x4c4691(0x36b));}},'parse':function(_0x2ed692){return _0xc0bf39['parse'](unescape(encodeURIComponent(_0x2ed692)));}},_0x524e13=_0x55ca29[_0x3bf63d(0x32c)]=_0x4d03e6['extend']({'reset':function(){var _0x953574=_0x3bf63d;this[_0x953574(0x3da)]=new _0xf226bd[(_0x953574(0x36f))](),this[_0x953574(0x3ef)]=0x0;},'_append':function(_0x1378e4){var _0x4122d6=_0x3bf63d;typeof _0x1378e4==_0x4122d6(0xc4)&&(_0x1378e4=_0x1a30d7[_0x4122d6(0x1eb)](_0x1378e4)),this[_0x4122d6(0x3da)][_0x4122d6(0xd9)](_0x1378e4),this['_nDataBytes']+=_0x1378e4[_0x4122d6(0x102)];},'_process':function(_0xf17b1b){var _0x297f09=_0x3bf63d,_0x33d519,_0x2d9123=this[_0x297f09(0x3da)],_0x73fca4=_0x2d9123[_0x297f09(0x12e)],_0x5538c3=_0x2d9123['sigBytes'],_0x4c6387=this['blockSize'],_0x4bf296=_0x4c6387*0x4,_0x3fa225=_0x5538c3/_0x4bf296;_0xf17b1b?_0x3fa225=_0x5f01dd[_0x297f09(0x1d9)](_0x3fa225):_0x3fa225=_0x5f01dd[_0x297f09(0x203)]((_0x3fa225|0x0)-this[_0x297f09(0x31c)],0x0);var _0x5af590=_0x3fa225*_0x4c6387,_0x451020=_0x5f01dd['min'](_0x5af590*0x4,_0x5538c3);if(_0x5af590){for(var _0x409ae5=0x0;_0x409ae5<_0x5af590;_0x409ae5+=_0x4c6387)this['_doProcessBlock'](_0x73fca4,_0x409ae5);_0x33d519=_0x73fca4[_0x297f09(0xa9)](0x0,_0x5af590),_0x2d9123[_0x297f09(0x102)]-=_0x451020;}return new _0xf226bd[(_0x297f09(0x36f))](_0x33d519,_0x451020);},'clone':function(){var _0x50b488=_0x3bf63d,_0x3437cd=_0x4d03e6['clone']['call'](this);return _0x3437cd[_0x50b488(0x3da)]=this['_data']['clone'](),_0x3437cd;},'_minBufferSize':0x0});_0x55ca29[_0x3bf63d(0x23f)]=_0x524e13[_0x3bf63d(0x30c)]({'cfg':_0x4d03e6[_0x3bf63d(0x30c)](),'init':function(_0x28a195){var _0x2aed3a=_0x3bf63d;this[_0x2aed3a(0x156)]=this[_0x2aed3a(0x156)][_0x2aed3a(0x30c)](_0x28a195),this['reset']();},'reset':function(){var _0x361b74=_0x3bf63d;_0x524e13['reset'][_0x361b74(0x399)](this),this[_0x361b74(0x2ee)]();},'update':function(_0x5d5e91){var _0x592b8c=_0x3bf63d;return this[_0x592b8c(0x2f3)](_0x5d5e91),this[_0x592b8c(0x2ad)](),this;},'finalize':function(_0x10ea9d){var _0x223522=_0x3bf63d;_0x10ea9d&&this[_0x223522(0x2f3)](_0x10ea9d);var _0x539f04=this[_0x223522(0x111)]();return _0x539f04;},'blockSize':0x10,'_createHelper':function(_0x2cc330){return function(_0x25b503,_0x37c25d){return new _0x2cc330['init'](_0x37c25d)['finalize'](_0x25b503);};},'_createHmacHelper':function(_0x535c43){return function(_0x593c2e,_0x1c790d){var _0x3ad644=_0xff9d;return new _0x67f9b4[(_0x3ad644(0x3c1))][(_0x3ad644(0x36f))](_0x535c43,_0x1c790d)[_0x3ad644(0x12a)](_0x593c2e);};}});var _0x67f9b4=_0x196954[_0x3bf63d(0x3f4)]={};return _0x196954;}(Math);return _0x52f28f;}));}(pe)),pe[_0x48eef9(0x38a)];}var ge={'exports':{}},Ki=ge[_0x935d9f(0x38a)],Qe;function Ut(){var _0x3c9c3b=_0x935d9f;return Qe||(Qe=0x1,function(_0x17bc9e,_0x22d8e2){(function(_0xaaf734,_0xddff8c){_0x17bc9e['exports']=_0xddff8c(ee());}(Ki,function(_0x470d8f){var _0x2c1494=_0xff9d;return(function(){var _0x3504df=_0xff9d,_0x4910a1=_0x470d8f,_0xf1b60f=_0x4910a1[_0x3504df(0x1c2)],_0x2b0b35=_0xf1b60f[_0x3504df(0x307)],_0x4ffbf6=_0x4910a1[_0x3504df(0x20a)];_0x4ffbf6['Base64']={'stringify':function(_0x529cef){var _0x317650=_0x3504df,_0x5a3bb7=_0x529cef['words'],_0x3c506b=_0x529cef[_0x317650(0x102)],_0x1b74ae=this[_0x317650(0x149)];_0x529cef[_0x317650(0x2c4)]();for(var _0x5d5c68=[],_0x216578=0x0;_0x216578<_0x3c506b;_0x216578+=0x3)for(var _0x2572d5=_0x5a3bb7[_0x216578>>>0x2]>>>0x18-_0x216578%0x4*0x8&0xff,_0x3a0167=_0x5a3bb7[_0x216578+0x1>>>0x2]>>>0x18-(_0x216578+0x1)%0x4*0x8&0xff,_0x59f4c0=_0x5a3bb7[_0x216578+0x2>>>0x2]>>>0x18-(_0x216578+0x2)%0x4*0x8&0xff,_0x5e9826=_0x2572d5<<0x10|_0x3a0167<<0x8|_0x59f4c0,_0x38e28c=0x0;_0x38e28c<0x4&&_0x216578+_0x38e28c*0.75<_0x3c506b;_0x38e28c++)_0x5d5c68[_0x317650(0x208)](_0x1b74ae['charAt'](_0x5e9826>>>0x6*(0x3-_0x38e28c)&0x3f));var _0x27f503=_0x1b74ae[_0x317650(0x2a4)](0x40);if(_0x27f503){for(;_0x5d5c68[_0x317650(0x2d8)]%0x4;)_0x5d5c68[_0x317650(0x208)](_0x27f503);}return _0x5d5c68[_0x317650(0x1c1)]('');},'parse':function(_0x5616ee){var _0x3c2239=_0x3504df,_0x50114b=_0x5616ee[_0x3c2239(0x2d8)],_0x45b301=this[_0x3c2239(0x149)],_0xb5ef06=this[_0x3c2239(0x3a5)];if(!_0xb5ef06){_0xb5ef06=this[_0x3c2239(0x3a5)]=[];for(var _0x3b325c=0x0;_0x3b325c<_0x45b301[_0x3c2239(0x2d8)];_0x3b325c++)_0xb5ef06[_0x45b301[_0x3c2239(0x1fa)](_0x3b325c)]=_0x3b325c;}var _0x175de6=_0x45b301[_0x3c2239(0x2a4)](0x40);if(_0x175de6){var _0x43f766=_0x5616ee[_0x3c2239(0x166)](_0x175de6);_0x43f766!==-0x1&&(_0x50114b=_0x43f766);}return _0x1480ad(_0x5616ee,_0x50114b,_0xb5ef06);},'_map':_0x3504df(0x35f)};function _0x1480ad(_0x1ebe30,_0x28e24c,_0x364a06){var _0x32f340=_0x3504df;for(var _0x1c0c7a=[],_0xebbadb=0x0,_0xa48f7a=0x0;_0xa48f7a<_0x28e24c;_0xa48f7a++)if(_0xa48f7a%0x4){var _0x315fea=_0x364a06[_0x1ebe30[_0x32f340(0x1fa)](_0xa48f7a-0x1)]<<_0xa48f7a%0x4*0x2,_0x3487e6=_0x364a06[_0x1ebe30[_0x32f340(0x1fa)](_0xa48f7a)]>>>0x6-_0xa48f7a%0x4*0x2,_0x13e4ee=_0x315fea|_0x3487e6;_0x1c0c7a[_0xebbadb>>>0x2]|=_0x13e4ee<<0x18-_0xebbadb%0x4*0x8,_0xebbadb++;}return _0x2b0b35[_0x32f340(0x1ed)](_0x1c0c7a,_0xebbadb);}}()),_0x470d8f['enc'][_0x2c1494(0x282)];}));}(ge)),ge[_0x3c9c3b(0x38a)];}var me={'exports':{}},Yi=me[_0x935d9f(0x38a)],et;function qi(){var _0x4c0f17=_0x935d9f;return et||(et=0x1,function(_0x787c9,_0x2977fc){(function(_0x281dce,_0x326c79){var _0x3caa3f=_0xff9d;_0x787c9[_0x3caa3f(0x38a)]=_0x326c79(ee());}(Yi,function(_0x3a9ac1){return function(_0x5ebafb){var _0x1fd314=_0xff9d,_0x38f2ea=_0x3a9ac1,_0x549102=_0x38f2ea[_0x1fd314(0x1c2)],_0x1098d5=_0x549102[_0x1fd314(0x307)],_0x41b1a9=_0x549102[_0x1fd314(0x23f)],_0x550088=_0x38f2ea[_0x1fd314(0x3f4)],_0x3c8515=[];(function(){var _0x1b55ee=_0x1fd314;for(var _0x2648e8=0x0;_0x2648e8<0x40;_0x2648e8++)_0x3c8515[_0x2648e8]=_0x5ebafb[_0x1b55ee(0x377)](_0x5ebafb[_0x1b55ee(0x1a9)](_0x2648e8+0x1))*0x100000000|0x0;}());var _0x3be73c=_0x550088[_0x1fd314(0x38c)]=_0x41b1a9[_0x1fd314(0x30c)]({'_doReset':function(){this['_hash']=new _0x1098d5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x37e7c2,_0x3a85a0){var _0x272eae=_0x1fd314;for(var _0x329b28=0x0;_0x329b28<0x10;_0x329b28++){var _0xe849d5=_0x3a85a0+_0x329b28,_0x8ee0ac=_0x37e7c2[_0xe849d5];_0x37e7c2[_0xe849d5]=(_0x8ee0ac<<0x8|_0x8ee0ac>>>0x18)&0xff00ff|(_0x8ee0ac<<0x18|_0x8ee0ac>>>0x8)&0xff00ff00;}var _0x5b5b85=this['_hash'][_0x272eae(0x12e)],_0x4fa776=_0x37e7c2[_0x3a85a0+0x0],_0x180bd7=_0x37e7c2[_0x3a85a0+0x1],_0xc60808=_0x37e7c2[_0x3a85a0+0x2],_0x1159ad=_0x37e7c2[_0x3a85a0+0x3],_0x8d327e=_0x37e7c2[_0x3a85a0+0x4],_0x5d185a=_0x37e7c2[_0x3a85a0+0x5],_0x789307=_0x37e7c2[_0x3a85a0+0x6],_0xd4b6c9=_0x37e7c2[_0x3a85a0+0x7],_0x3c4a89=_0x37e7c2[_0x3a85a0+0x8],_0x2fd33b=_0x37e7c2[_0x3a85a0+0x9],_0x40ebaa=_0x37e7c2[_0x3a85a0+0xa],_0x5c13d1=_0x37e7c2[_0x3a85a0+0xb],_0x58ac28=_0x37e7c2[_0x3a85a0+0xc],_0x3950eb=_0x37e7c2[_0x3a85a0+0xd],_0x4d587b=_0x37e7c2[_0x3a85a0+0xe],_0x915e6a=_0x37e7c2[_0x3a85a0+0xf],_0x52d85f=_0x5b5b85[0x0],_0x427fc2=_0x5b5b85[0x1],_0x281dc7=_0x5b5b85[0x2],_0x1ef44b=_0x5b5b85[0x3];_0x52d85f=_0x3537e6(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x4fa776,0x7,_0x3c8515[0x0]),_0x1ef44b=_0x3537e6(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x180bd7,0xc,_0x3c8515[0x1]),_0x281dc7=_0x3537e6(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0xc60808,0x11,_0x3c8515[0x2]),_0x427fc2=_0x3537e6(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x1159ad,0x16,_0x3c8515[0x3]),_0x52d85f=_0x3537e6(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x8d327e,0x7,_0x3c8515[0x4]),_0x1ef44b=_0x3537e6(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x5d185a,0xc,_0x3c8515[0x5]),_0x281dc7=_0x3537e6(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x789307,0x11,_0x3c8515[0x6]),_0x427fc2=_0x3537e6(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0xd4b6c9,0x16,_0x3c8515[0x7]),_0x52d85f=_0x3537e6(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x3c4a89,0x7,_0x3c8515[0x8]),_0x1ef44b=_0x3537e6(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x2fd33b,0xc,_0x3c8515[0x9]),_0x281dc7=_0x3537e6(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x40ebaa,0x11,_0x3c8515[0xa]),_0x427fc2=_0x3537e6(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x5c13d1,0x16,_0x3c8515[0xb]),_0x52d85f=_0x3537e6(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x58ac28,0x7,_0x3c8515[0xc]),_0x1ef44b=_0x3537e6(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x3950eb,0xc,_0x3c8515[0xd]),_0x281dc7=_0x3537e6(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x4d587b,0x11,_0x3c8515[0xe]),_0x427fc2=_0x3537e6(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x915e6a,0x16,_0x3c8515[0xf]),_0x52d85f=_0x467d04(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x180bd7,0x5,_0x3c8515[0x10]),_0x1ef44b=_0x467d04(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x789307,0x9,_0x3c8515[0x11]),_0x281dc7=_0x467d04(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x5c13d1,0xe,_0x3c8515[0x12]),_0x427fc2=_0x467d04(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x4fa776,0x14,_0x3c8515[0x13]),_0x52d85f=_0x467d04(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x5d185a,0x5,_0x3c8515[0x14]),_0x1ef44b=_0x467d04(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x40ebaa,0x9,_0x3c8515[0x15]),_0x281dc7=_0x467d04(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x915e6a,0xe,_0x3c8515[0x16]),_0x427fc2=_0x467d04(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x8d327e,0x14,_0x3c8515[0x17]),_0x52d85f=_0x467d04(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x2fd33b,0x5,_0x3c8515[0x18]),_0x1ef44b=_0x467d04(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x4d587b,0x9,_0x3c8515[0x19]),_0x281dc7=_0x467d04(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x1159ad,0xe,_0x3c8515[0x1a]),_0x427fc2=_0x467d04(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x3c4a89,0x14,_0x3c8515[0x1b]),_0x52d85f=_0x467d04(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x3950eb,0x5,_0x3c8515[0x1c]),_0x1ef44b=_0x467d04(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0xc60808,0x9,_0x3c8515[0x1d]),_0x281dc7=_0x467d04(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0xd4b6c9,0xe,_0x3c8515[0x1e]),_0x427fc2=_0x467d04(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x58ac28,0x14,_0x3c8515[0x1f]),_0x52d85f=_0x3044fa(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x5d185a,0x4,_0x3c8515[0x20]),_0x1ef44b=_0x3044fa(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x3c4a89,0xb,_0x3c8515[0x21]),_0x281dc7=_0x3044fa(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x5c13d1,0x10,_0x3c8515[0x22]),_0x427fc2=_0x3044fa(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x4d587b,0x17,_0x3c8515[0x23]),_0x52d85f=_0x3044fa(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x180bd7,0x4,_0x3c8515[0x24]),_0x1ef44b=_0x3044fa(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x8d327e,0xb,_0x3c8515[0x25]),_0x281dc7=_0x3044fa(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0xd4b6c9,0x10,_0x3c8515[0x26]),_0x427fc2=_0x3044fa(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x40ebaa,0x17,_0x3c8515[0x27]),_0x52d85f=_0x3044fa(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x3950eb,0x4,_0x3c8515[0x28]),_0x1ef44b=_0x3044fa(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x4fa776,0xb,_0x3c8515[0x29]),_0x281dc7=_0x3044fa(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x1159ad,0x10,_0x3c8515[0x2a]),_0x427fc2=_0x3044fa(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x789307,0x17,_0x3c8515[0x2b]),_0x52d85f=_0x3044fa(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x2fd33b,0x4,_0x3c8515[0x2c]),_0x1ef44b=_0x3044fa(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x58ac28,0xb,_0x3c8515[0x2d]),_0x281dc7=_0x3044fa(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x915e6a,0x10,_0x3c8515[0x2e]),_0x427fc2=_0x3044fa(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0xc60808,0x17,_0x3c8515[0x2f]),_0x52d85f=_0x5e8082(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x4fa776,0x6,_0x3c8515[0x30]),_0x1ef44b=_0x5e8082(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0xd4b6c9,0xa,_0x3c8515[0x31]),_0x281dc7=_0x5e8082(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x4d587b,0xf,_0x3c8515[0x32]),_0x427fc2=_0x5e8082(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x5d185a,0x15,_0x3c8515[0x33]),_0x52d85f=_0x5e8082(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x58ac28,0x6,_0x3c8515[0x34]),_0x1ef44b=_0x5e8082(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x1159ad,0xa,_0x3c8515[0x35]),_0x281dc7=_0x5e8082(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x40ebaa,0xf,_0x3c8515[0x36]),_0x427fc2=_0x5e8082(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x180bd7,0x15,_0x3c8515[0x37]),_0x52d85f=_0x5e8082(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x3c4a89,0x6,_0x3c8515[0x38]),_0x1ef44b=_0x5e8082(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x915e6a,0xa,_0x3c8515[0x39]),_0x281dc7=_0x5e8082(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0x789307,0xf,_0x3c8515[0x3a]),_0x427fc2=_0x5e8082(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x3950eb,0x15,_0x3c8515[0x3b]),_0x52d85f=_0x5e8082(_0x52d85f,_0x427fc2,_0x281dc7,_0x1ef44b,_0x8d327e,0x6,_0x3c8515[0x3c]),_0x1ef44b=_0x5e8082(_0x1ef44b,_0x52d85f,_0x427fc2,_0x281dc7,_0x5c13d1,0xa,_0x3c8515[0x3d]),_0x281dc7=_0x5e8082(_0x281dc7,_0x1ef44b,_0x52d85f,_0x427fc2,_0xc60808,0xf,_0x3c8515[0x3e]),_0x427fc2=_0x5e8082(_0x427fc2,_0x281dc7,_0x1ef44b,_0x52d85f,_0x2fd33b,0x15,_0x3c8515[0x3f]),_0x5b5b85[0x0]=_0x5b5b85[0x0]+_0x52d85f|0x0,_0x5b5b85[0x1]=_0x5b5b85[0x1]+_0x427fc2|0x0,_0x5b5b85[0x2]=_0x5b5b85[0x2]+_0x281dc7|0x0,_0x5b5b85[0x3]=_0x5b5b85[0x3]+_0x1ef44b|0x0;},'_doFinalize':function(){var _0x2786d2=_0x1fd314,_0x58a307=this[_0x2786d2(0x3da)],_0x4e3975=_0x58a307[_0x2786d2(0x12e)],_0x11e8df=this['_nDataBytes']*0x8,_0x2946b7=_0x58a307[_0x2786d2(0x102)]*0x8;_0x4e3975[_0x2946b7>>>0x5]|=0x80<<0x18-_0x2946b7%0x20;var _0x52e8ca=_0x5ebafb[_0x2786d2(0x3e7)](_0x11e8df/0x100000000),_0xaf1015=_0x11e8df;_0x4e3975[(_0x2946b7+0x40>>>0x9<<0x4)+0xf]=(_0x52e8ca<<0x8|_0x52e8ca>>>0x18)&0xff00ff|(_0x52e8ca<<0x18|_0x52e8ca>>>0x8)&0xff00ff00,_0x4e3975[(_0x2946b7+0x40>>>0x9<<0x4)+0xe]=(_0xaf1015<<0x8|_0xaf1015>>>0x18)&0xff00ff|(_0xaf1015<<0x18|_0xaf1015>>>0x8)&0xff00ff00,_0x58a307[_0x2786d2(0x102)]=(_0x4e3975[_0x2786d2(0x2d8)]+0x1)*0x4,this[_0x2786d2(0x2ad)]();for(var _0x18a9d0=this[_0x2786d2(0x187)],_0x3e0e5a=_0x18a9d0['words'],_0x4baaf9=0x0;_0x4baaf9<0x4;_0x4baaf9++){var _0x3ae3a4=_0x3e0e5a[_0x4baaf9];_0x3e0e5a[_0x4baaf9]=(_0x3ae3a4<<0x8|_0x3ae3a4>>>0x18)&0xff00ff|(_0x3ae3a4<<0x18|_0x3ae3a4>>>0x8)&0xff00ff00;}return _0x18a9d0;},'clone':function(){var _0x3078ad=_0x1fd314,_0x41fd3b=_0x41b1a9['clone'][_0x3078ad(0x399)](this);return _0x41fd3b[_0x3078ad(0x187)]=this[_0x3078ad(0x187)]['clone'](),_0x41fd3b;}});function _0x3537e6(_0x46aa2d,_0x1d82eb,_0x2062fe,_0x302d03,_0x229d08,_0x28805c,_0x47981f){var _0xd89674=_0x46aa2d+(_0x1d82eb&_0x2062fe|~_0x1d82eb&_0x302d03)+_0x229d08+_0x47981f;return(_0xd89674<<_0x28805c|_0xd89674>>>0x20-_0x28805c)+_0x1d82eb;}function _0x467d04(_0x2b9ec6,_0x2cf2b3,_0xf15f05,_0x319005,_0x1a6a87,_0x3739b0,_0x3178e7){var _0x4488f2=_0x2b9ec6+(_0x2cf2b3&_0x319005|_0xf15f05&~_0x319005)+_0x1a6a87+_0x3178e7;return(_0x4488f2<<_0x3739b0|_0x4488f2>>>0x20-_0x3739b0)+_0x2cf2b3;}function _0x3044fa(_0x363093,_0x9d9ff2,_0x6c7566,_0x4d4c96,_0x1d8040,_0x29a1ad,_0x4f4048){var _0xede4bc=_0x363093+(_0x9d9ff2^_0x6c7566^_0x4d4c96)+_0x1d8040+_0x4f4048;return(_0xede4bc<<_0x29a1ad|_0xede4bc>>>0x20-_0x29a1ad)+_0x9d9ff2;}function _0x5e8082(_0xeab470,_0x416f3a,_0x159174,_0x457a67,_0xfe2e5c,_0x5cfa22,_0x3c40c1){var _0x1e0e7d=_0xeab470+(_0x159174^(_0x416f3a|~_0x457a67))+_0xfe2e5c+_0x3c40c1;return(_0x1e0e7d<<_0x5cfa22|_0x1e0e7d>>>0x20-_0x5cfa22)+_0x416f3a;}_0x38f2ea[_0x1fd314(0x38c)]=_0x41b1a9['_createHelper'](_0x3be73c),_0x38f2ea['HmacMD5']=_0x41b1a9[_0x1fd314(0x40d)](_0x3be73c);}(Math),_0x3a9ac1['MD5'];}));}(me)),me[_0x4c0f17(0x38a)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee[_0x935d9f(0x38a)],tt;function Ji(){var _0x4d47bc=_0x935d9f;return tt||(tt=0x1,function(_0x335cb9,_0x599ca5){(function(_0x530f60,_0x135c45){var _0x3cbcb9=_0xff9d;_0x335cb9[_0x3cbcb9(0x38a)]=_0x135c45(ee());}(zi,function(_0x2e7caf){var _0x91c2e4=_0xff9d;return(function(){var _0x3bfa44=_0xff9d,_0x369168=_0x2e7caf,_0x52a74e=_0x369168[_0x3bfa44(0x1c2)],_0x39f0e8=_0x52a74e[_0x3bfa44(0x307)],_0x1aa0db=_0x52a74e[_0x3bfa44(0x23f)],_0x607c21=_0x369168[_0x3bfa44(0x3f4)],_0x1b4572=[],_0x19e972=_0x607c21[_0x3bfa44(0x280)]=_0x1aa0db[_0x3bfa44(0x30c)]({'_doReset':function(){var _0x2cd6e8=_0x3bfa44;this[_0x2cd6e8(0x187)]=new _0x39f0e8[(_0x2cd6e8(0x36f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x477387,_0x582089){var _0x2114a8=_0x3bfa44;for(var _0xadff31=this[_0x2114a8(0x187)]['words'],_0x4f540c=_0xadff31[0x0],_0x2d1379=_0xadff31[0x1],_0xe2159f=_0xadff31[0x2],_0x860e1e=_0xadff31[0x3],_0x39ac4c=_0xadff31[0x4],_0x35f8c9=0x0;_0x35f8c9<0x50;_0x35f8c9++){if(_0x35f8c9<0x10)_0x1b4572[_0x35f8c9]=_0x477387[_0x582089+_0x35f8c9]|0x0;else{var _0x42a04a=_0x1b4572[_0x35f8c9-0x3]^_0x1b4572[_0x35f8c9-0x8]^_0x1b4572[_0x35f8c9-0xe]^_0x1b4572[_0x35f8c9-0x10];_0x1b4572[_0x35f8c9]=_0x42a04a<<0x1|_0x42a04a>>>0x1f;}var _0x415e1f=(_0x4f540c<<0x5|_0x4f540c>>>0x1b)+_0x39ac4c+_0x1b4572[_0x35f8c9];_0x35f8c9<0x14?_0x415e1f+=(_0x2d1379&_0xe2159f|~_0x2d1379&_0x860e1e)+0x5a827999:_0x35f8c9<0x28?_0x415e1f+=(_0x2d1379^_0xe2159f^_0x860e1e)+0x6ed9eba1:_0x35f8c9<0x3c?_0x415e1f+=(_0x2d1379&_0xe2159f|_0x2d1379&_0x860e1e|_0xe2159f&_0x860e1e)-0x70e44324:_0x415e1f+=(_0x2d1379^_0xe2159f^_0x860e1e)-0x359d3e2a,_0x39ac4c=_0x860e1e,_0x860e1e=_0xe2159f,_0xe2159f=_0x2d1379<<0x1e|_0x2d1379>>>0x2,_0x2d1379=_0x4f540c,_0x4f540c=_0x415e1f;}_0xadff31[0x0]=_0xadff31[0x0]+_0x4f540c|0x0,_0xadff31[0x1]=_0xadff31[0x1]+_0x2d1379|0x0,_0xadff31[0x2]=_0xadff31[0x2]+_0xe2159f|0x0,_0xadff31[0x3]=_0xadff31[0x3]+_0x860e1e|0x0,_0xadff31[0x4]=_0xadff31[0x4]+_0x39ac4c|0x0;},'_doFinalize':function(){var _0x1001a8=_0x3bfa44,_0x229294=this[_0x1001a8(0x3da)],_0x25a18a=_0x229294[_0x1001a8(0x12e)],_0x5bd095=this[_0x1001a8(0x3ef)]*0x8,_0x33002b=_0x229294[_0x1001a8(0x102)]*0x8;return _0x25a18a[_0x33002b>>>0x5]|=0x80<<0x18-_0x33002b%0x20,_0x25a18a[(_0x33002b+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5bd095/0x100000000),_0x25a18a[(_0x33002b+0x40>>>0x9<<0x4)+0xf]=_0x5bd095,_0x229294[_0x1001a8(0x102)]=_0x25a18a[_0x1001a8(0x2d8)]*0x4,this[_0x1001a8(0x2ad)](),this['_hash'];},'clone':function(){var _0x45b775=_0x3bfa44,_0x5a22f9=_0x1aa0db[_0x45b775(0x3e1)][_0x45b775(0x399)](this);return _0x5a22f9[_0x45b775(0x187)]=this['_hash']['clone'](),_0x5a22f9;}});_0x369168[_0x3bfa44(0x280)]=_0x1aa0db['_createHelper'](_0x19e972),_0x369168['HmacSHA1']=_0x1aa0db[_0x3bfa44(0x40d)](_0x19e972);}()),_0x2e7caf[_0x91c2e4(0x280)];}));}(Ee)),Ee[_0x4d47bc(0x38a)];}var Ce={'exports':{}},Xi=Ce[_0x935d9f(0x38a)],it;function Zi(){return it||(it=0x1,function(_0x1f4238,_0x157160){(function(_0x2ae61a,_0x423993){var _0x29ab66=_0xff9d;_0x1f4238[_0x29ab66(0x38a)]=_0x423993(ee());}(Xi,function(_0x540ba5){(function(){var _0x44464b=_0xff9d,_0xf18139=_0x540ba5,_0x74460c=_0xf18139['lib'],_0x4f5598=_0x74460c['Base'],_0x17d3b8=_0xf18139['enc'],_0x140359=_0x17d3b8[_0x44464b(0x2d0)],_0x8c378=_0xf18139[_0x44464b(0x3f4)];_0x8c378[_0x44464b(0x3c1)]=_0x4f5598['extend']({'init':function(_0x50fa5a,_0x24f7cf){var _0x35a118=_0x44464b;_0x50fa5a=this[_0x35a118(0x2b1)]=new _0x50fa5a['init'](),typeof _0x24f7cf==_0x35a118(0xc4)&&(_0x24f7cf=_0x140359[_0x35a118(0x1eb)](_0x24f7cf));var _0x327a9d=_0x50fa5a[_0x35a118(0xde)],_0x386397=_0x327a9d*0x4;_0x24f7cf[_0x35a118(0x102)]>_0x386397&&(_0x24f7cf=_0x50fa5a[_0x35a118(0x12a)](_0x24f7cf)),_0x24f7cf[_0x35a118(0x2c4)]();for(var _0x5ae0c6=this[_0x35a118(0x2e1)]=_0x24f7cf[_0x35a118(0x3e1)](),_0x397f5c=this['_iKey']=_0x24f7cf[_0x35a118(0x3e1)](),_0x3db297=_0x5ae0c6[_0x35a118(0x12e)],_0x48e6a2=_0x397f5c['words'],_0x34889d=0x0;_0x34889d<_0x327a9d;_0x34889d++)_0x3db297[_0x34889d]^=0x5c5c5c5c,_0x48e6a2[_0x34889d]^=0x36363636;_0x5ae0c6[_0x35a118(0x102)]=_0x397f5c[_0x35a118(0x102)]=_0x386397,this[_0x35a118(0x3f8)]();},'reset':function(){var _0x425d06=_0x44464b,_0x5a4f35=this[_0x425d06(0x2b1)];_0x5a4f35[_0x425d06(0x3f8)](),_0x5a4f35[_0x425d06(0x2bd)](this[_0x425d06(0x319)]);},'update':function(_0x483725){var _0x565817=_0x44464b;return this['_hasher'][_0x565817(0x2bd)](_0x483725),this;},'finalize':function(_0x511000){var _0x180196=_0x44464b,_0x441e7c=this['_hasher'],_0x21b15d=_0x441e7c[_0x180196(0x12a)](_0x511000);_0x441e7c[_0x180196(0x3f8)]();var _0x40e52=_0x441e7c['finalize'](this[_0x180196(0x2e1)]['clone']()[_0x180196(0xd9)](_0x21b15d));return _0x40e52;}});}());}));}(Ce)),Ce['exports'];}var Qi=Ie['exports'],nt;function Nt(){var _0x53f6bb=_0x935d9f;return nt||(nt=0x1,function(_0x55c0b0,_0x302a89){(function(_0x8bf2ae,_0x5af3f4,_0x4708da){var _0x30b3b4=_0xff9d;_0x55c0b0[_0x30b3b4(0x38a)]=_0x5af3f4(ee(),Ji(),Zi());}(Qi,function(_0x1dd391){return(function(){var _0x466950=_0xff9d,_0x4a6060=_0x1dd391,_0xdd2796=_0x4a6060[_0x466950(0x1c2)],_0x142fa7=_0xdd2796['Base'],_0x5e4f61=_0xdd2796[_0x466950(0x307)],_0x101591=_0x4a6060['algo'],_0x25709d=_0x101591[_0x466950(0x38c)],_0x11d8bc=_0x101591[_0x466950(0x147)]=_0x142fa7[_0x466950(0x30c)]({'cfg':_0x142fa7[_0x466950(0x30c)]({'keySize':0x80/0x20,'hasher':_0x25709d,'iterations':0x1}),'init':function(_0x2087d8){var _0x2eb4e1=_0x466950;this[_0x2eb4e1(0x156)]=this[_0x2eb4e1(0x156)]['extend'](_0x2087d8);},'compute':function(_0x30550e,_0x99d300){var _0x522a5f=_0x466950;for(var _0x45809c,_0x3f6e38=this['cfg'],_0x4bec66=_0x3f6e38[_0x522a5f(0x24e)][_0x522a5f(0x1ed)](),_0x5eac1b=_0x5e4f61['create'](),_0x593f6a=_0x5eac1b[_0x522a5f(0x12e)],_0x529325=_0x3f6e38[_0x522a5f(0x27b)],_0x445d6a=_0x3f6e38[_0x522a5f(0x37a)];_0x593f6a[_0x522a5f(0x2d8)]<_0x529325;){_0x45809c&&_0x4bec66[_0x522a5f(0x2bd)](_0x45809c),_0x45809c=_0x4bec66[_0x522a5f(0x2bd)](_0x30550e)[_0x522a5f(0x12a)](_0x99d300),_0x4bec66[_0x522a5f(0x3f8)]();for(var _0x1524b5=0x1;_0x1524b5<_0x445d6a;_0x1524b5++)_0x45809c=_0x4bec66['finalize'](_0x45809c),_0x4bec66[_0x522a5f(0x3f8)]();_0x5eac1b[_0x522a5f(0xd9)](_0x45809c);}return _0x5eac1b[_0x522a5f(0x102)]=_0x529325*0x4,_0x5eac1b;}});_0x4a6060[_0x466950(0x147)]=function(_0x376cf2,_0x2fa273,_0xf924f9){var _0x1be28d=_0x466950;return _0x11d8bc[_0x1be28d(0x1ed)](_0xf924f9)[_0x1be28d(0x255)](_0x376cf2,_0x2fa273);};}()),_0x1dd391['EvpKDF'];}));}(Ie)),Ie[_0x53f6bb(0x38a)];}var Te={'exports':{}},en=Te[_0x935d9f(0x38a)],rt;function wt(){return rt||(rt=0x1,function(_0x44e7cb,_0x39d265){(function(_0x261cb8,_0x67ed16,_0x573758){var _0x3ff4e0=_0xff9d;_0x44e7cb[_0x3ff4e0(0x38a)]=_0x67ed16(ee(),Nt());}(en,function(_0x53f2ee){var _0x2867ae=_0xff9d;_0x53f2ee['lib'][_0x2867ae(0x19d)]||function(_0x3dbbca){var _0x1e5798=_0x2867ae,_0x216d6d=_0x53f2ee,_0x81dbef=_0x216d6d[_0x1e5798(0x1c2)],_0x112214=_0x81dbef[_0x1e5798(0x167)],_0x58665d=_0x81dbef[_0x1e5798(0x307)],_0x299218=_0x81dbef[_0x1e5798(0x32c)],_0x1cdba0=_0x216d6d[_0x1e5798(0x20a)];_0x1cdba0['Utf8'];var _0x5a6d29=_0x1cdba0[_0x1e5798(0x282)],_0x2b188a=_0x216d6d[_0x1e5798(0x3f4)],_0x3409ff=_0x2b188a[_0x1e5798(0x147)],_0x275d52=_0x81dbef[_0x1e5798(0x19d)]=_0x299218[_0x1e5798(0x30c)]({'cfg':_0x112214[_0x1e5798(0x30c)](),'createEncryptor':function(_0x2566b7,_0x4555db){var _0x5cf653=_0x1e5798;return this[_0x5cf653(0x1ed)](this[_0x5cf653(0x1a7)],_0x2566b7,_0x4555db);},'createDecryptor':function(_0x238f34,_0x377fb9){var _0x215c47=_0x1e5798;return this['create'](this[_0x215c47(0x21d)],_0x238f34,_0x377fb9);},'init':function(_0x560973,_0x4d33b9,_0x2d5b21){var _0x2ff082=_0x1e5798;this[_0x2ff082(0x156)]=this[_0x2ff082(0x156)][_0x2ff082(0x30c)](_0x2d5b21),this[_0x2ff082(0xb8)]=_0x560973,this[_0x2ff082(0x223)]=_0x4d33b9,this['reset']();},'reset':function(){var _0x3a2356=_0x1e5798;_0x299218[_0x3a2356(0x3f8)][_0x3a2356(0x399)](this),this['_doReset']();},'process':function(_0x1b5c9a){var _0x4d5f07=_0x1e5798;return this[_0x4d5f07(0x2f3)](_0x1b5c9a),this['_process']();},'finalize':function(_0x2e674e){var _0x5ad130=_0x1e5798;_0x2e674e&&this[_0x5ad130(0x2f3)](_0x2e674e);var _0x24bf0a=this['_doFinalize']();return _0x24bf0a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x293882(_0x4d646c){return typeof _0x4d646c=='string'?_0xa2eebb:_0x55ccf9;}return function(_0x20ffac){return{'encrypt':function(_0x223dd5,_0x1bad6f,_0x2b4f58){return _0x293882(_0x1bad6f)['encrypt'](_0x20ffac,_0x223dd5,_0x1bad6f,_0x2b4f58);},'decrypt':function(_0x74ff3e,_0xafd8fe,_0x16a029){return _0x293882(_0xafd8fe)['decrypt'](_0x20ffac,_0x74ff3e,_0xafd8fe,_0x16a029);}};};}())});_0x81dbef[_0x1e5798(0x25d)]=_0x275d52[_0x1e5798(0x30c)]({'_doFinalize':function(){var _0x3b5f48=_0x1e5798,_0x564fec=this[_0x3b5f48(0x2ad)](!0x0);return _0x564fec;},'blockSize':0x1});var _0x4e4eff=_0x216d6d[_0x1e5798(0x110)]={},_0x5da0fd=_0x81dbef[_0x1e5798(0x1fe)]=_0x112214[_0x1e5798(0x30c)]({'createEncryptor':function(_0x3df1f3,_0x541c15){var _0x361929=_0x1e5798;return this[_0x361929(0x124)][_0x361929(0x1ed)](_0x3df1f3,_0x541c15);},'createDecryptor':function(_0x1c6b71,_0x136b5b){var _0x2c486a=_0x1e5798;return this[_0x2c486a(0xa8)][_0x2c486a(0x1ed)](_0x1c6b71,_0x136b5b);},'init':function(_0x2bba81,_0x4f6a6a){var _0x4f1d72=_0x1e5798;this['_cipher']=_0x2bba81,this[_0x4f1d72(0x10b)]=_0x4f6a6a;}}),_0x2dbfd8=_0x4e4eff[_0x1e5798(0x3b4)]=(function(){var _0x7dc97e=_0x1e5798,_0x487271=_0x5da0fd[_0x7dc97e(0x30c)]();_0x487271[_0x7dc97e(0x124)]=_0x487271['extend']({'processBlock':function(_0x5559ff,_0x574941){var _0x6a3291=_0x7dc97e,_0x25af1c=this['_cipher'],_0x53c773=_0x25af1c[_0x6a3291(0xde)];_0xd13680[_0x6a3291(0x399)](this,_0x5559ff,_0x574941,_0x53c773),_0x25af1c[_0x6a3291(0xaf)](_0x5559ff,_0x574941),this[_0x6a3291(0x416)]=_0x5559ff[_0x6a3291(0x346)](_0x574941,_0x574941+_0x53c773);}}),_0x487271['Decryptor']=_0x487271['extend']({'processBlock':function(_0x4431e5,_0x19f68b){var _0x595782=_0x7dc97e,_0x392b75=this[_0x595782(0x281)],_0x3914eb=_0x392b75['blockSize'],_0x1565da=_0x4431e5[_0x595782(0x346)](_0x19f68b,_0x19f68b+_0x3914eb);_0x392b75[_0x595782(0x119)](_0x4431e5,_0x19f68b),_0xd13680[_0x595782(0x399)](this,_0x4431e5,_0x19f68b,_0x3914eb),this['_prevBlock']=_0x1565da;}});function _0xd13680(_0x5f2b7b,_0x49734f,_0x5f1c9b){var _0xcc05f1=_0x7dc97e,_0x1cbbe2,_0x3394be=this[_0xcc05f1(0x10b)];_0x3394be?(_0x1cbbe2=_0x3394be,this['_iv']=_0x3dbbca):_0x1cbbe2=this['_prevBlock'];for(var _0x37e71e=0x0;_0x37e71e<_0x5f1c9b;_0x37e71e++)_0x5f2b7b[_0x49734f+_0x37e71e]^=_0x1cbbe2[_0x37e71e];}return _0x487271;}()),_0x3bbd1d=_0x216d6d[_0x1e5798(0x3d7)]={},_0x310f8b=_0x3bbd1d['Pkcs7']={'pad':function(_0x1b2fa7,_0x549609){var _0x578189=_0x1e5798;for(var _0x21c23a=_0x549609*0x4,_0x2c1370=_0x21c23a-_0x1b2fa7[_0x578189(0x102)]%_0x21c23a,_0x350d3f=_0x2c1370<<0x18|_0x2c1370<<0x10|_0x2c1370<<0x8|_0x2c1370,_0x2bdb80=[],_0x8cd519=0x0;_0x8cd519<_0x2c1370;_0x8cd519+=0x4)_0x2bdb80[_0x578189(0x208)](_0x350d3f);var _0x14c0c7=_0x58665d[_0x578189(0x1ed)](_0x2bdb80,_0x2c1370);_0x1b2fa7[_0x578189(0xd9)](_0x14c0c7);},'unpad':function(_0x2fa425){var _0x218912=_0x1e5798,_0x245ad1=_0x2fa425[_0x218912(0x12e)][_0x2fa425['sigBytes']-0x1>>>0x2]&0xff;_0x2fa425['sigBytes']-=_0x245ad1;}};_0x81dbef['BlockCipher']=_0x275d52[_0x1e5798(0x30c)]({'cfg':_0x275d52[_0x1e5798(0x156)]['extend']({'mode':_0x2dbfd8,'padding':_0x310f8b}),'reset':function(){var _0x4f68a2=_0x1e5798,_0x221c68;_0x275d52[_0x4f68a2(0x3f8)][_0x4f68a2(0x399)](this);var _0x2bf674=this[_0x4f68a2(0x156)],_0x3b78dd=_0x2bf674['iv'],_0x3fe04e=_0x2bf674[_0x4f68a2(0x110)];this[_0x4f68a2(0xb8)]==this[_0x4f68a2(0x1a7)]?_0x221c68=_0x3fe04e[_0x4f68a2(0x240)]:(_0x221c68=_0x3fe04e[_0x4f68a2(0x311)],this[_0x4f68a2(0x31c)]=0x1),this[_0x4f68a2(0x24f)]&&this[_0x4f68a2(0x24f)]['__creator']==_0x221c68?this[_0x4f68a2(0x24f)][_0x4f68a2(0x36f)](this,_0x3b78dd&&_0x3b78dd['words']):(this[_0x4f68a2(0x24f)]=_0x221c68[_0x4f68a2(0x399)](_0x3fe04e,this,_0x3b78dd&&_0x3b78dd[_0x4f68a2(0x12e)]),this[_0x4f68a2(0x24f)][_0x4f68a2(0xb7)]=_0x221c68);},'_doProcessBlock':function(_0x166524,_0x504280){var _0x417ac9=_0x1e5798;this[_0x417ac9(0x24f)][_0x417ac9(0x3d0)](_0x166524,_0x504280);},'_doFinalize':function(){var _0x5eace2=_0x1e5798,_0x53cf1b,_0x3b6174=this[_0x5eace2(0x156)]['padding'];return this['_xformMode']==this[_0x5eace2(0x1a7)]?(_0x3b6174[_0x5eace2(0x3d7)](this[_0x5eace2(0x3da)],this[_0x5eace2(0xde)]),_0x53cf1b=this[_0x5eace2(0x2ad)](!0x0)):(_0x53cf1b=this[_0x5eace2(0x2ad)](!0x0),_0x3b6174[_0x5eace2(0x1e7)](_0x53cf1b)),_0x53cf1b;},'blockSize':0x80/0x20});var _0x1810ad=_0x81dbef[_0x1e5798(0x15d)]=_0x112214['extend']({'init':function(_0x5083a8){var _0x3d3d78=_0x1e5798;this[_0x3d3d78(0xc9)](_0x5083a8);},'toString':function(_0x3c96bc){var _0xdd375b=_0x1e5798;return(_0x3c96bc||this['formatter'])[_0xdd375b(0xc6)](this);}}),_0x1072c2=_0x216d6d['format']={},_0x197832=_0x1072c2[_0x1e5798(0x33c)]={'stringify':function(_0x5c9f75){var _0x14ed98=_0x1e5798,_0x389408,_0xcdef48=_0x5c9f75['ciphertext'],_0x1445ec=_0x5c9f75[_0x14ed98(0x3ec)];return _0x1445ec?_0x389408=_0x58665d[_0x14ed98(0x1ed)]([0x53616c74,0x65645f5f])[_0x14ed98(0xd9)](_0x1445ec)[_0x14ed98(0xd9)](_0xcdef48):_0x389408=_0xcdef48,_0x389408[_0x14ed98(0xe9)](_0x5a6d29);},'parse':function(_0x36ff62){var _0x5cbe88=_0x1e5798,_0x2dc0e3,_0x4a03e7=_0x5a6d29[_0x5cbe88(0x1eb)](_0x36ff62),_0x53f6a7=_0x4a03e7[_0x5cbe88(0x12e)];return _0x53f6a7[0x0]==0x53616c74&&_0x53f6a7[0x1]==0x65645f5f&&(_0x2dc0e3=_0x58665d[_0x5cbe88(0x1ed)](_0x53f6a7[_0x5cbe88(0x346)](0x2,0x4)),_0x53f6a7[_0x5cbe88(0xa9)](0x0,0x4),_0x4a03e7['sigBytes']-=0x10),_0x1810ad['create']({'ciphertext':_0x4a03e7,'salt':_0x2dc0e3});}},_0x55ccf9=_0x81dbef[_0x1e5798(0x267)]=_0x112214['extend']({'cfg':_0x112214[_0x1e5798(0x30c)]({'format':_0x197832}),'encrypt':function(_0x81fdc2,_0x2476a2,_0x39b864,_0x31aec1){var _0x5dce2b=_0x1e5798;_0x31aec1=this[_0x5dce2b(0x156)][_0x5dce2b(0x30c)](_0x31aec1);var _0x3cd6d3=_0x81fdc2['createEncryptor'](_0x39b864,_0x31aec1),_0x5389f3=_0x3cd6d3[_0x5dce2b(0x12a)](_0x2476a2),_0x12969e=_0x3cd6d3[_0x5dce2b(0x156)];return _0x1810ad[_0x5dce2b(0x1ed)]({'ciphertext':_0x5389f3,'key':_0x39b864,'iv':_0x12969e['iv'],'algorithm':_0x81fdc2,'mode':_0x12969e['mode'],'padding':_0x12969e['padding'],'blockSize':_0x81fdc2['blockSize'],'formatter':_0x31aec1[_0x5dce2b(0x33d)]});},'decrypt':function(_0x431279,_0x6f18fd,_0x27d5a5,_0x420417){var _0x7a4147=_0x1e5798;_0x420417=this[_0x7a4147(0x156)][_0x7a4147(0x30c)](_0x420417),_0x6f18fd=this[_0x7a4147(0x1fb)](_0x6f18fd,_0x420417['format']);var _0x496e8d=_0x431279[_0x7a4147(0x311)](_0x27d5a5,_0x420417)[_0x7a4147(0x12a)](_0x6f18fd[_0x7a4147(0x1e9)]);return _0x496e8d;},'_parse':function(_0x277aab,_0x3837a0){var _0x9dbe98=_0x1e5798;return typeof _0x277aab==_0x9dbe98(0xc4)?_0x3837a0[_0x9dbe98(0x1eb)](_0x277aab,this):_0x277aab;}}),_0x51a81d=_0x216d6d[_0x1e5798(0x1f6)]={},_0x1a7a37=_0x51a81d[_0x1e5798(0x33c)]={'execute':function(_0x1f6872,_0x56fc73,_0x36cb74,_0x1b23a1,_0x375e8e){var _0x34cbb0=_0x1e5798;if(_0x1b23a1||(_0x1b23a1=_0x58665d[_0x34cbb0(0x12c)](0x40/0x8)),_0x375e8e)var _0xb0dd7a=_0x3409ff[_0x34cbb0(0x1ed)]({'keySize':_0x56fc73+_0x36cb74,'hasher':_0x375e8e})[_0x34cbb0(0x255)](_0x1f6872,_0x1b23a1);else var _0xb0dd7a=_0x3409ff['create']({'keySize':_0x56fc73+_0x36cb74})[_0x34cbb0(0x255)](_0x1f6872,_0x1b23a1);var _0x41bb5d=_0x58665d[_0x34cbb0(0x1ed)](_0xb0dd7a[_0x34cbb0(0x12e)]['slice'](_0x56fc73),_0x36cb74*0x4);return _0xb0dd7a[_0x34cbb0(0x102)]=_0x56fc73*0x4,_0x1810ad['create']({'key':_0xb0dd7a,'iv':_0x41bb5d,'salt':_0x1b23a1});}},_0xa2eebb=_0x81dbef['PasswordBasedCipher']=_0x55ccf9[_0x1e5798(0x30c)]({'cfg':_0x55ccf9[_0x1e5798(0x156)][_0x1e5798(0x30c)]({'kdf':_0x1a7a37}),'encrypt':function(_0x1489c8,_0x3949d1,_0x4d7a9c,_0x1b9f60){var _0x338d4a=_0x1e5798;_0x1b9f60=this[_0x338d4a(0x156)]['extend'](_0x1b9f60);var _0x2609eb=_0x1b9f60[_0x338d4a(0x1f6)]['execute'](_0x4d7a9c,_0x1489c8[_0x338d4a(0x27b)],_0x1489c8['ivSize'],_0x1b9f60[_0x338d4a(0x3ec)],_0x1b9f60[_0x338d4a(0x24e)]);_0x1b9f60['iv']=_0x2609eb['iv'];var _0x5127df=_0x55ccf9[_0x338d4a(0xc1)][_0x338d4a(0x399)](this,_0x1489c8,_0x3949d1,_0x2609eb[_0x338d4a(0x15e)],_0x1b9f60);return _0x5127df[_0x338d4a(0xc9)](_0x2609eb),_0x5127df;},'decrypt':function(_0xc7ff62,_0x42e2d0,_0x32f05b,_0x39b3cd){var _0x41c0ac=_0x1e5798;_0x39b3cd=this[_0x41c0ac(0x156)][_0x41c0ac(0x30c)](_0x39b3cd),_0x42e2d0=this[_0x41c0ac(0x1fb)](_0x42e2d0,_0x39b3cd['format']);var _0x5da087=_0x39b3cd[_0x41c0ac(0x1f6)]['execute'](_0x32f05b,_0xc7ff62[_0x41c0ac(0x27b)],_0xc7ff62['ivSize'],_0x42e2d0[_0x41c0ac(0x3ec)],_0x39b3cd[_0x41c0ac(0x24e)]);_0x39b3cd['iv']=_0x5da087['iv'];var _0x3e38b2=_0x55ccf9[_0x41c0ac(0x368)][_0x41c0ac(0x399)](this,_0xc7ff62,_0x42e2d0,_0x5da087[_0x41c0ac(0x15e)],_0x39b3cd);return _0x3e38b2;}});}();}));}(Te)),Te['exports'];}var tn=Se['exports'],st;function nn(){return st||(st=0x1,function(_0x29be58,_0x305474){(function(_0x4c4110,_0x1ff520,_0x4dcfca){var _0x3a4e4e=_0xff9d;_0x29be58[_0x3a4e4e(0x38a)]=_0x1ff520(ee(),Ut(),qi(),Nt(),wt());}(tn,function(_0xd8062a){var _0x1daa19=_0xff9d;return(function(){var _0x56c289=_0xff9d,_0x2cfe7a=_0xd8062a,_0x365ad4=_0x2cfe7a['lib'],_0x5505d4=_0x365ad4[_0x56c289(0x1b2)],_0x52c5f1=_0x2cfe7a[_0x56c289(0x3f4)],_0x2098ac=[],_0x1c6ae0=[],_0x25c210=[],_0x196850=[],_0x2a459f=[],_0x2c30cf=[],_0x164d9e=[],_0x559bcc=[],_0x87fedb=[],_0x2902f1=[];(function(){for(var _0x2e64bb=[],_0x31c4b4=0x0;_0x31c4b4<0x100;_0x31c4b4++)_0x31c4b4<0x80?_0x2e64bb[_0x31c4b4]=_0x31c4b4<<0x1:_0x2e64bb[_0x31c4b4]=_0x31c4b4<<0x1^0x11b;for(var _0xdcb61f=0x0,_0xf46c3c=0x0,_0x31c4b4=0x0;_0x31c4b4<0x100;_0x31c4b4++){var _0x2f75fb=_0xf46c3c^_0xf46c3c<<0x1^_0xf46c3c<<0x2^_0xf46c3c<<0x3^_0xf46c3c<<0x4;_0x2f75fb=_0x2f75fb>>>0x8^_0x2f75fb&0xff^0x63,_0x2098ac[_0xdcb61f]=_0x2f75fb,_0x1c6ae0[_0x2f75fb]=_0xdcb61f;var _0x3e8dcc=_0x2e64bb[_0xdcb61f],_0x6d05e8=_0x2e64bb[_0x3e8dcc],_0xd09fb6=_0x2e64bb[_0x6d05e8],_0x1fbb2a=_0x2e64bb[_0x2f75fb]*0x101^_0x2f75fb*0x1010100;_0x25c210[_0xdcb61f]=_0x1fbb2a<<0x18|_0x1fbb2a>>>0x8,_0x196850[_0xdcb61f]=_0x1fbb2a<<0x10|_0x1fbb2a>>>0x10,_0x2a459f[_0xdcb61f]=_0x1fbb2a<<0x8|_0x1fbb2a>>>0x18,_0x2c30cf[_0xdcb61f]=_0x1fbb2a;var _0x1fbb2a=_0xd09fb6*0x1010101^_0x6d05e8*0x10001^_0x3e8dcc*0x101^_0xdcb61f*0x1010100;_0x164d9e[_0x2f75fb]=_0x1fbb2a<<0x18|_0x1fbb2a>>>0x8,_0x559bcc[_0x2f75fb]=_0x1fbb2a<<0x10|_0x1fbb2a>>>0x10,_0x87fedb[_0x2f75fb]=_0x1fbb2a<<0x8|_0x1fbb2a>>>0x18,_0x2902f1[_0x2f75fb]=_0x1fbb2a,_0xdcb61f?(_0xdcb61f=_0x3e8dcc^_0x2e64bb[_0x2e64bb[_0x2e64bb[_0xd09fb6^_0x3e8dcc]]],_0xf46c3c^=_0x2e64bb[_0x2e64bb[_0xf46c3c]]):_0xdcb61f=_0xf46c3c=0x1;}}());var _0x128437=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b05a2=_0x52c5f1[_0x56c289(0x388)]=_0x5505d4[_0x56c289(0x30c)]({'_doReset':function(){var _0x43090a=_0x56c289,_0x3c8ab8;if(!(this[_0x43090a(0x2d9)]&&this[_0x43090a(0x340)]===this[_0x43090a(0x223)])){for(var _0x1edd05=this[_0x43090a(0x340)]=this[_0x43090a(0x223)],_0x2a75c3=_0x1edd05[_0x43090a(0x12e)],_0x181512=_0x1edd05[_0x43090a(0x102)]/0x4,_0x1a6676=this[_0x43090a(0x2d9)]=_0x181512+0x6,_0x24c0b2=(_0x1a6676+0x1)*0x4,_0x179171=this['_keySchedule']=[],_0x8ee2fa=0x0;_0x8ee2fa<_0x24c0b2;_0x8ee2fa++)_0x8ee2fa<_0x181512?_0x179171[_0x8ee2fa]=_0x2a75c3[_0x8ee2fa]:(_0x3c8ab8=_0x179171[_0x8ee2fa-0x1],_0x8ee2fa%_0x181512?_0x181512>0x6&&_0x8ee2fa%_0x181512==0x4&&(_0x3c8ab8=_0x2098ac[_0x3c8ab8>>>0x18]<<0x18|_0x2098ac[_0x3c8ab8>>>0x10&0xff]<<0x10|_0x2098ac[_0x3c8ab8>>>0x8&0xff]<<0x8|_0x2098ac[_0x3c8ab8&0xff]):(_0x3c8ab8=_0x3c8ab8<<0x8|_0x3c8ab8>>>0x18,_0x3c8ab8=_0x2098ac[_0x3c8ab8>>>0x18]<<0x18|_0x2098ac[_0x3c8ab8>>>0x10&0xff]<<0x10|_0x2098ac[_0x3c8ab8>>>0x8&0xff]<<0x8|_0x2098ac[_0x3c8ab8&0xff],_0x3c8ab8^=_0x128437[_0x8ee2fa/_0x181512|0x0]<<0x18),_0x179171[_0x8ee2fa]=_0x179171[_0x8ee2fa-_0x181512]^_0x3c8ab8);for(var _0x26bd27=this['_invKeySchedule']=[],_0x342a1b=0x0;_0x342a1b<_0x24c0b2;_0x342a1b++){var _0x8ee2fa=_0x24c0b2-_0x342a1b;if(_0x342a1b%0x4)var _0x3c8ab8=_0x179171[_0x8ee2fa];else var _0x3c8ab8=_0x179171[_0x8ee2fa-0x4];_0x342a1b<0x4||_0x8ee2fa<=0x4?_0x26bd27[_0x342a1b]=_0x3c8ab8:_0x26bd27[_0x342a1b]=_0x164d9e[_0x2098ac[_0x3c8ab8>>>0x18]]^_0x559bcc[_0x2098ac[_0x3c8ab8>>>0x10&0xff]]^_0x87fedb[_0x2098ac[_0x3c8ab8>>>0x8&0xff]]^_0x2902f1[_0x2098ac[_0x3c8ab8&0xff]];}}},'encryptBlock':function(_0x343b1d,_0x322f47){var _0x441b53=_0x56c289;this[_0x441b53(0x1f8)](_0x343b1d,_0x322f47,this['_keySchedule'],_0x25c210,_0x196850,_0x2a459f,_0x2c30cf,_0x2098ac);},'decryptBlock':function(_0x4f952b,_0x125158){var _0x4b9b71=_0x56c289,_0x1704b0=_0x4f952b[_0x125158+0x1];_0x4f952b[_0x125158+0x1]=_0x4f952b[_0x125158+0x3],_0x4f952b[_0x125158+0x3]=_0x1704b0,this[_0x4b9b71(0x1f8)](_0x4f952b,_0x125158,this[_0x4b9b71(0xee)],_0x164d9e,_0x559bcc,_0x87fedb,_0x2902f1,_0x1c6ae0);var _0x1704b0=_0x4f952b[_0x125158+0x1];_0x4f952b[_0x125158+0x1]=_0x4f952b[_0x125158+0x3],_0x4f952b[_0x125158+0x3]=_0x1704b0;},'_doCryptBlock':function(_0x2a9fd5,_0x1d7863,_0x574d52,_0x2cd0f9,_0xfdfe76,_0x48a756,_0x18a1f7,_0x148b75){var _0x555829=_0x56c289;for(var _0xab32f8=this[_0x555829(0x2d9)],_0x345508=_0x2a9fd5[_0x1d7863]^_0x574d52[0x0],_0x253676=_0x2a9fd5[_0x1d7863+0x1]^_0x574d52[0x1],_0x508301=_0x2a9fd5[_0x1d7863+0x2]^_0x574d52[0x2],_0x44908f=_0x2a9fd5[_0x1d7863+0x3]^_0x574d52[0x3],_0x20cfda=0x4,_0x3afc38=0x1;_0x3afc38<_0xab32f8;_0x3afc38++){var _0x321601=_0x2cd0f9[_0x345508>>>0x18]^_0xfdfe76[_0x253676>>>0x10&0xff]^_0x48a756[_0x508301>>>0x8&0xff]^_0x18a1f7[_0x44908f&0xff]^_0x574d52[_0x20cfda++],_0x35e6d4=_0x2cd0f9[_0x253676>>>0x18]^_0xfdfe76[_0x508301>>>0x10&0xff]^_0x48a756[_0x44908f>>>0x8&0xff]^_0x18a1f7[_0x345508&0xff]^_0x574d52[_0x20cfda++],_0x4e2bc4=_0x2cd0f9[_0x508301>>>0x18]^_0xfdfe76[_0x44908f>>>0x10&0xff]^_0x48a756[_0x345508>>>0x8&0xff]^_0x18a1f7[_0x253676&0xff]^_0x574d52[_0x20cfda++],_0x5ea1ef=_0x2cd0f9[_0x44908f>>>0x18]^_0xfdfe76[_0x345508>>>0x10&0xff]^_0x48a756[_0x253676>>>0x8&0xff]^_0x18a1f7[_0x508301&0xff]^_0x574d52[_0x20cfda++];_0x345508=_0x321601,_0x253676=_0x35e6d4,_0x508301=_0x4e2bc4,_0x44908f=_0x5ea1ef;}var _0x321601=(_0x148b75[_0x345508>>>0x18]<<0x18|_0x148b75[_0x253676>>>0x10&0xff]<<0x10|_0x148b75[_0x508301>>>0x8&0xff]<<0x8|_0x148b75[_0x44908f&0xff])^_0x574d52[_0x20cfda++],_0x35e6d4=(_0x148b75[_0x253676>>>0x18]<<0x18|_0x148b75[_0x508301>>>0x10&0xff]<<0x10|_0x148b75[_0x44908f>>>0x8&0xff]<<0x8|_0x148b75[_0x345508&0xff])^_0x574d52[_0x20cfda++],_0x4e2bc4=(_0x148b75[_0x508301>>>0x18]<<0x18|_0x148b75[_0x44908f>>>0x10&0xff]<<0x10|_0x148b75[_0x345508>>>0x8&0xff]<<0x8|_0x148b75[_0x253676&0xff])^_0x574d52[_0x20cfda++],_0x5ea1ef=(_0x148b75[_0x44908f>>>0x18]<<0x18|_0x148b75[_0x345508>>>0x10&0xff]<<0x10|_0x148b75[_0x253676>>>0x8&0xff]<<0x8|_0x148b75[_0x508301&0xff])^_0x574d52[_0x20cfda++];_0x2a9fd5[_0x1d7863]=_0x321601,_0x2a9fd5[_0x1d7863+0x1]=_0x35e6d4,_0x2a9fd5[_0x1d7863+0x2]=_0x4e2bc4,_0x2a9fd5[_0x1d7863+0x3]=_0x5ea1ef;},'keySize':0x100/0x20});_0x2cfe7a[_0x56c289(0x388)]=_0x5505d4[_0x56c289(0x142)](_0x5b05a2);}()),_0xd8062a[_0x1daa19(0x388)];}));}(Se)),Se['exports'];}var rn=nn();const sn=fe(rn);function _0x2c3f(){var _0x2be3a7=['/universer-api/authz','_waitForHeartbeatResponse','reconnect','1585297ywwFom','_onJoinRoomEvent','BufferedBlockAlgorithm','AwaitingState','telemetry\x20info\x20is\x20not\x20initialized','[SyncedState]:\x20received\x20rejection.','OFFLINE','_queuedRemoteChangesets','code','listCollaborators','27441siWIPY','CollaborationUIEventId','hostname','FileId','Inject','261616SeiKDh','getWorkbookSelections','collaborators','OpenSSL','format','_onConnectionOpen','focused$','_keyPriorReset','WorkbookEditablePermission','ws://127.0.0.1:8000/universer-api/comb/connect','unitInfo$','getSnapshotAPIPath','getAllRangePermissionPoint','slice','[DataLoaderService]','onRemoteAck','USERS_ENTER','repeat','refreshPermission','ruleRefresh','serializeCombRequest','/universer-api/user/session-ticket','_updateState','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_sendingTimer','url','MemberService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','mergeOverrideWithDependencies','collaMsg','buffer','_updateLocalCache','getActiveSheet','enableAuthServer','UNIVER_COLLABORATION_CLIENT_PLUGIN','ImageUploadStatusType','IConfigService','unitID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SNAPSHOT_SERVER_URL_KEY','collaboratorID','onTransformIME','getSheetBlock','PERMISSION_DENIED','_sessionStatus$','readInt32LE','_collaborationSessionService','decrypt','IDLE','_eventService','Malformed\x20UTF-8\x20data','SHOULD_CLOSE_CONN','reqId','30qRnrlG','init','_toggleOffline','Latin1','getDeserializedSheetBlock','NOT_COLLAB','authzUrl','interceptor','MentionType','abs','toggleOnline','map','iterations','post','mapDocumentTypeToUniverType','_commandService','initWorkbookPermissionChange','updateMember','getUnit','[CollaborationState]:\x20apply\x20error!','send','UniverInstanceType','/-/object/list','WorksheetProtectionRuleModel','_localeService','resourceIDs','AES','image/png','exports','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MD5','/universer-api/stream/file/upload','DisposableCollection','_getUploadFileURL','_getCtorByUniverType','_commentService','clear','_listenToNetworkCondition','_retryCount','editingUnit','InsertSheetMutation','_imageSourceCache','collaboration_new_changeset','call','_onUserJoin','_onFetchMissResult','LOGIN_URL_KEY','shareReplay','sessionStatus$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/unit/','c1Prime','@univerjs-pro/collaboration','duration','@univerjs/drawing','_reverseMap','_handler','getCurrentUser','__esModule','onRemoteRetry','OPTIONAL','updatePermissionPoint','\x0aAfter:\x20','@univerjs/network','permissionRejEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','rng','_permissionService','/object/','_injector','CBC','@univerjs/core','_unitInfo$','univer-pro.collaboration-client-socket-service','UPDATE_PERMISSION_OBJ','_state','_localCacheService','dispose','[CollaborationEntity]','stopTime','796735GyMxml','getCurrentUnitForType','onRemoteChangeset','HMAC','forEach','Worksheet','INGEST','_tryEnsureSocket','onlyLocal','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','unknown','data','filter','_socketReady','default','loginUrlKey','location','CollaborationImageIoService','processBlock','[CollaborationUndoRedoService]','SEND_CHANGESET_TIMEOUT_KEY','onLocalMutation','ReplaySubject','JOIN','session.room-full','pad','IAuthzIoService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_data','UNKNOWN_CODE','UniverNetworkPlugin','close','[FetchMissState]','__Key__','unitId','clone','subType','rxjs','getLocalCacheKey','SnapshotService','addImageSourceCache','floor','getImageSourceCache','members','isArray','snapshot','salt','_lockTransition','name','_nDataBytes','generateRandomId','_onConflict','_undoRedoService','UnitSnapshot','algo','conflict','[CollaborationSession]','_snapshotService','reset','objectActions','_onConnectionFailed','_logService','listRoles','changesets','sheets','_throwTelemetryCollaborationNewChangeset','ISocketService','every','close$','find','take','AwaitingWithPendingState','function','_joinRoom','socket$','$super','8UlQMaD','LICENSE_EXPORT_SIZE_EXCEEDED','setCurrentUser','_createHmacHelper','_configService','/rev/','_socketMessageSubscription','saveChangeset','[OfflineState]:\x20received\x20changeset.','getMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LIVESHARE_TERMINATE','_prevBlock','title','unsubscribe','COLLAB_SUBMIT_CHANGESET_URL_KEY','@univerjs-pro/license','_onRecvEvent','CollaborationEntity','_networkConditionService','fromCharCode','SNAPSHOT_URL_KEY','application/json','_retryConnectingTimer','debug','{fileID}','collaboration-client.config','Decryptor','splice','CHANGESET_ACK','open$','RETRY_CONNECTING_MAX_COUNT_KEY','_revisionService','resend','encryptBlock','disableLocalCache','[OfflineState]:\x20received\x20acknowledgement.','POST','complete','textRanges','_createSocketURL','@univerjs/sheets','__creator','_xformMode','YUUMI_URL_COL_OUT_OF_RANGE','_univerInstanceService','_members','_acknowledgedAwaitingChangeset','transformMutationsWithChangeset','fetchThroughInterceptors','session.room-cnt-exceeds','sessionTicket','encrypt','_collaborationPaused','values','string','emitEvent','stringify','userID','eventID','mixIn','getTypeOfUnitAdded$','getTime','CommentService','_HTTPService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HELLO','_getLoginPath','newCsEvent','getTargetByPermissionId','JOINING','error','_awaitingChangeset','AuthzIoHttpService','avatar','getOwnPropertyDescriptor','concat','SelectRange','_applyRemoteChangeset','headers','synced','blockSize','onSendChangeset','_tryReconnect','fetch_missing','_onOffline','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COMPRESS_MUTATION_APPLY','textEncoder','onStateChange','_collaborationTimeoutTimer','_timeoutTimer','toString','/role','_sessions','NOT_FOUND','_transformStack','_invKeySchedule','transformSelections','PERMISSION_REJ','equals','requestParams','roomInfos','APPLY_DUPLICATED','getAllWorkbookPermissionPoint','UniverSheetsPlugin','getInterceptPoints','toLowerCase','get','loadDoc','subject','actions','Module','randomUUID','apply','UnitObject','UPDATE_CURSOR','sigBytes','closeSession','getUnitId','_onRemoteRejected','_pendingMutations','infoRsp','UNIVER_SLIDE','LICENSE_MAX_UNITS_EXCEEDED','disposeWithMe','_iv','_scheduleCollaborationTimeoutTimer','COMMENT_UPDATE','b64DecodeUnicode','socket\x20open.','mode','_doFinalize','getPermissionPoint','updateOfflineData','session.join-failed','defaultWorksheetPermissionPoint','enableSingleActiveInstanceLock','[CollaborationSessionService]:\x20socket\x20error','session.room-not-exists','decryptBlock','csRejEvent','_getDownloadEndpointURL','reduce','SheetCollaborationEntity','_onRemoteChangeset','now','COMPRESS_MUTATION_SEND','setConfig','getCollabEntity$','liveShareOperation','Encryptor','getUnitType','joinEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','updateCursorEvent','_transformIMECache','finalize','ICommandService','random','CollaborationSessionService','words','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByStateCache','_entities','type','AUTHZ_URL_KEY','JSONX','cmd','transformChangesets','saveImage','copyFileMeta','startsWith','LEAVE','/fetchmissing?from=','ERROR_IMAGE','_createHandler','list','[SyncedState]:\x20received\x20acknowledgement.','ConflictState','delete','_createHelper','_substituteRedoStack','RichTextEditingMutation','_stopTelemetryCollaborationNewChangeset','clearUndoRedo','EvpKDF','setWaitCount','_map','TOO_MANY_REQUESTS','IUndoRedoService','_transitionLocked','subUnitId','UNRECOGNIZED','appendMutation','_initDependencies','HttpExport','ERROR_IMAGE_TYPE','ImageSourceType','UNIVER_DOC','collabSubmitChangesetUrl','cfg','CONFLICT','UniverCollaborationClientPlugin','RangeProtectionRuleModel','responseType','INVALID_ARGUMENT','ALREADY_EXISTS','CipherParams','key','SNAPSHOT_INVALID_SNAPSHOT','_httpService','crypto','\x20-\x20','range','src','_onRemoteACK','indexOf','Base','_initUnitPermissionChange','not_collab','UNIVER_UNKNOWN','fromCollab','_clearLocalCache','SOCKET_FAILED_RETRY','params','putCollaborators','RevisionService','status','replace','snapshotServerUrl','next','result','LIVESHARE_NEW_HOST','_getUndoStack','getGlobalObject','[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.','ERROR_EXCEED_SIZE','ThresholdInterceptorFactory','_transformUndoredo','_shouldReportTelemetry','connection\x20error','_userManagerService','11556798mmLdZS','state','_remoteChangesetQueue','/object','takeUntil','delay','SUBMIT_CHANGESET','_hash','1051552zRHNCL','wsSessionTicketUrl','42gORMBF','defineProperty','getAllMembers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','EmptyMutation','CollaborationController','_transformSelections','getCurrentRevOfUnit','onTransformSelections','_decreaseWaiting','JOIN_ROOM_NOT_EXISTS','INTERNAL_ERROR','_init','SheetTransformSelectionsService','allowed','getSheetId','image/jpg','pauseCollaboration','capture','Cipher','WorksheetProtectionPointModel','[CollaborationSessionService]','UNKNOWN_CMD','/universer-api/comb','error$','/universer-api/snapshot','UnitEmbedded','_getCurrentRevision','encode','_ENC_XFORM_MODE','_onUserLeave','sin','getRandomValues','AWAITING_WITH_PENDING','_onLocalMutation','baseProtectionActions','ONLINE','sendChangesetTimeout','toDisposable','createIdentifier','BlockCipher','APPLY_REJECT','/block/','\x20to\x20','isTransformMutationsWithChangesetSuccess','revision','CollaborationEvent','Plugin','m2Prime','_incrementRevisionNumber','baseRev','People','CHANGESET_REJ','_executeRemoteChangeset','online$','join','lib','_instanceService','getUnitOnRev','_submitChangeset','_config','set','includes','647520gmuzXI','awaiting_with_pending','auth.needGotoLoginAlert','_isPermissionRej','HEARTBEAT_INTERVAL_KEY','HTTPService','ISnapshotServerService','onMissedChangesetFetched','Workbook','executeCommand','concatMap','image/gif','_loadDoc','subscribe','_getAPIPrefix','rev','ceil','_sendHeartbeat','touchDependencies','APPLY_REVISION_CONFILICT','[UniverCollaborationClientPlugin]','has','Tools','socketService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','isInternalEditorID','status$','fetchMiss','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','joinRsp','unpad','objectID','ciphertext','_collaborationUIEventService','parse','PSEUDO_FETCH_MISSING_RESULT','create','_socket$','leaveEvent','LICENSE_IMPORT_SIZE_EXCEEDED','Subject','/resources','_initCloseConn','RETRY_CONNECTING_MAX_COUNT','_onRemoteRetry','kdf','_changesetSessionId','_doCryptBlock','OTHER_CLIENT_EDITING','charCodeAt','_parse','_removeRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipherMode','UNDEFINED','_sender','IUniverInstanceService','YUUMI_SUBSCRIPTION_NOT_FOUND','max','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','bind','getValue','value','push','routeKey','enc','&assign=','_startCollaboration','_clearTimeoutTimer','OfflineState','DataLoaderService','sid','_authzIoService','_entityInit$','findIndex','_getAPIPrefixPath','@univerjs/telemetry','/collaborator','add','createCollaborator','rxjs/operators','pipe','Disposable','FetchingMissState','_DEC_XFORM_MODE','parseProtocolChangeset','unit-cache-','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','state$','IImageIoService','_key','CLOSE_ROOM','SOCKET_FAILED','encodeURIComponent','sessionStatus','body','_createInitialStateImpl','getUnitStatus$','_createSocket','_memberService','CONNECTOR_DATA_TOO_LARGE','_waitCount','LIVESHARE_FETCH_OPERATIONS','asObservable','fetchMissingChangesets','IMentionIOService','_singleActiveUnitService','file','getMemberID','hasOwnProperty','DocCollaborationEntity','_telemetryService','awaitingChangeset','json','getCollabEntity','_clearHeartbeatTimer','byteLength','setShowComponents','Hasher','createEncryptor','isTransformChangesetsSuccess','BehaviorSubject','_roomMembers','_updateStatus','onStarting','getTypeOfUnitDisposed$','socket\x20close','onSyncEditingCollabCursor','Rectangle','FAIL','submit\x20changeset\x20error!','_schedule','_getSendChangesetTimeout','hasher','_mode','message$','_socket','then','FETCH_MISSING','_transformRemoteChangesetByStateCache','compute','3HjdZIS','onCommandExecuted','_state$','SessionStatus','DependentOn','&source=','objectType','StreamCipher','localCacheService','/universer-api/snapshot/','HttpImport','Injector','SNAPSHOT_HAS_BEEN_REMOVED','SUBMIT_CHANGESET_TIMEOUT','_clearScheduledTask','GLOBAL_ROOMS_CNT_EXCEEDS','ITransformService','SerializableCipher','append','univer-pro.collaboration-client.network-condition.service','_transformRemoteChangesetByIMECache','LICENSE_DISTRO_REJECTED','onTransformState','MentionIoHttpService','_resendTimer','liveShareNewHost','UserManagerService','LocaleService','createSocket','PERSON','_handlerCallback','/universer-api/file/{fileID}/sign-url','localeService','_type','addHandlerCallback','ILogService','_registerDependencies','keySize','originalMeta','_transformService','mutations','SnapshotServerOverHTTPService','SHA1','_cipher','Base64','reject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onMissingChangesets','_commentUpdate$','editing\x20status\x20changed\x20to','removeMember','onload','RECV','prototype','_event$','RxDisposable','onTransformRemoteChangesetByIMECache','INetworkConditionService','PendingState','[PendingState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DEFAULT_FILE_NAME','_onMessage','offline','MergeInterceptorFactory','from','[PendingState]:\x20unhandled\x20univer\x20type:\x20','toggleOffline','target','transformUndoRedo','dispose$','LOCAL_CACHE_INTERVAL_KEY','_checkMissing','Undefined','getAllWorksheetPermissionPoint','_showConflictNotification','action','HEARTBEAT','charAt','c2Prime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_replaceFileID','randomBytes','NEW_CHANGESETS','COLLAB_WEB_SOCKET_URL_KEY','catch','getFocusedUnit','_process','_unlockTransition','selections','JOIN_ROOM_FULL','_hasher','isPermissionRej','defaultWorkbookPermissionPoints','_status$','MUTATION','_telemetryInfo','Optional','_loadSheet','ENSURE_SNAPSHOT_EXECUTION','SetSelectionsOperation','_change$','_resendTimeout','update','fetching\x20missing\x20changesets\x20from\x20','session','_initMergeInterceptor','msCrypto','_getSessionTicket','UNAUTHENTICATED','clamp','_startTelemetryCollaborationNewChangeset','SEND_CHANGESET_TIMEOUT','SUCCUSS','SYNCED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CollaborativeUndoRedoService','OTHER_CLIENTS_EDITING','loadOfflineData','COMPLETION_FINISHED','SyncedState','_transformStateCache','Utf8','memberID','_clearUndo','merge','ISingleActiveUnitService','/-/object/-/batch_allowed','UNIVER_SHEET','getConfig','length','_nRounds','_unitID','[OfflineState]:\x20received\x20rejection.','@univerjs/docs','CommandType','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_syncEditingCollabCursor','_rescheduleHeartbeat','_oKey','firstValueFrom','APPLY_NON_SEQUENTIAL_REVISION','createInstance','updatePermissionObjEvent','requireSession','_createInitialState','UNIVER_PROJECT','save\x20fail\x20reason\x20is\x20','NO_OTHER_CLIENTS_EDITING','_candidateSocket','USERS_LEAVE','enableOfflineEditing','_doReset','Univer','_exhaustRemoteChangesetQueue','IPermissionService','readyForCollab','_append','incrementRevOfUnit','_toggleOnline','_sheetTransformSelectionsService','LOCAL_CACHE_INTERVAL','loadSheet','href','_getSignURL','getLatestCsReqIdBySid','COLLAB_SUBMIT_CHANGESET_URL','registerHTTPInterceptor','toStringTag','_changesetReqId','_fetchMissChangesets','event$','onRemoteRej','CHANGESET_REVISION_CONFILICT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_disableEditing','/allowed','WordArray','reverse','_http','_resendWithTimeout','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','extend','?url=','CHANGESET_SHOULD_RETRY','session.room-permission-denied','CollaborationSession','createDecryptor','awaiting','LIVESHARE_OPERATION','_scheduleTimestamp','onCommentUpdate','&to=','shouldCloseConn','_sendHeartbeatTimer','_iKey','_compressMutationService','resolve','_minBufferSize','byteOffset','_undoStacks','startTime','parseChangesetToProtocol','CollaborationSocketService','substr','_socketService','_clearRedo','batchAllowed','MSG_FOR_ERROR'];_0x2c3f=function(){return _0x2be3a7;};return _0x2c3f();}var on=Ut();const ot=fe(on);var be={'exports':{}},an=be[_0x935d9f(0x38a)],at;function cn(){return at||(at=0x1,function(_0x511b7d,_0x3ced67){(function(_0x16a902,_0x327d29){var _0x1bf9d0=_0xff9d;_0x511b7d[_0x1bf9d0(0x38a)]=_0x327d29(ee());}(an,function(_0x257c24){return _0x257c24['enc']['Utf8'];}));}(be)),be['exports'];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re['exports'],ct;function un(){var _0x2a2d07=_0x935d9f;return ct||(ct=0x1,function(_0x425a44,_0x2d1120){(function(_0xe979b8,_0x5288f2){var _0x32af17=_0xff9d;_0x425a44[_0x32af17(0x38a)]=_0x5288f2(ee());}(_n,function(_0x1c0f96){var _0x1bb47b=_0xff9d;return(function(){var _0x3de2ff=_0xff9d;if(typeof ArrayBuffer==_0x3de2ff(0x406)){var _0x229182=_0x1c0f96,_0x1a9944=_0x229182['lib'],_0x4a2c52=_0x1a9944[_0x3de2ff(0x307)],_0xa29f17=_0x4a2c52[_0x3de2ff(0x36f)],_0x30e1ac=_0x4a2c52[_0x3de2ff(0x36f)]=function(_0x2de6f7){var _0x504b40=_0x3de2ff;if(_0x2de6f7 instanceof ArrayBuffer&&(_0x2de6f7=new Uint8Array(_0x2de6f7)),(_0x2de6f7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2de6f7 instanceof Uint8ClampedArray||_0x2de6f7 instanceof Int16Array||_0x2de6f7 instanceof Uint16Array||_0x2de6f7 instanceof Int32Array||_0x2de6f7 instanceof Uint32Array||_0x2de6f7 instanceof Float32Array||_0x2de6f7 instanceof Float64Array)&&(_0x2de6f7=new Uint8Array(_0x2de6f7[_0x504b40(0x357)],_0x2de6f7[_0x504b40(0x31d)],_0x2de6f7[_0x504b40(0x23d)])),_0x2de6f7 instanceof Uint8Array){for(var _0x21af79=_0x2de6f7[_0x504b40(0x23d)],_0x5ea069=[],_0x34bf9b=0x0;_0x34bf9b<_0x21af79;_0x34bf9b++)_0x5ea069[_0x34bf9b>>>0x2]|=_0x2de6f7[_0x34bf9b]<<0x18-_0x34bf9b%0x4*0x8;_0xa29f17[_0x504b40(0x399)](this,_0x5ea069,_0x21af79);}else _0xa29f17[_0x504b40(0xff)](this,arguments);};_0x30e1ac[_0x3de2ff(0x28b)]=_0x4a2c52;}}()),_0x1c0f96['lib'][_0x1bb47b(0x307)];}));}(Re)),Re[_0x2a2d07(0x38a)];}var dn=un();const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x935d9f(0x38a)],ht;function Sn(){return ht||(ht=0x1,function(_0x20f384,_0x319151){(function(_0x1cb778,_0x571093,_0x6eed19){var _0x34f8d3=_0xff9d;_0x20f384[_0x34f8d3(0x38a)]=_0x571093(ee(),wt());}(fn,function(_0x57fad7){var _0x1aacbd=_0xff9d;return _0x57fad7[_0x1aacbd(0x3d7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x57fad7[_0x1aacbd(0x3d7)]['NoPadding'];}));}(ye)),ye['exports'];}var pn=Sn();const gn=fe(pn);function mn(_0x211a96,_0x301fe1){var _0x83b992=_0x935d9f;const _0x1fd28f=_0x301fe1-_0x211a96['length']%_0x301fe1,_0x1744c5=String[_0x83b992(0x41e)](_0x1fd28f)[_0x83b992(0x34a)](_0x1fd28f);return _0x211a96+_0x1744c5;}function In(_0x3b6c53,_0x27cd8a){var _0x3e168e=_0x935d9f;const _0x49f05e=vn[_0x3e168e(0x12c)](0x10),_0x22da3e=mn(_0x3b6c53,0x10),_0x41c084=sn['encrypt'](ln[_0x3e168e(0x1eb)](_0x22da3e),ot[_0x3e168e(0x1eb)](_0x27cd8a),{'iv':_0x49f05e,'padding':gn});return _0x49f05e[_0x3e168e(0xd9)](_0x41c084[_0x3e168e(0x1e9)])[_0x3e168e(0xe9)](ot);}function En(){var _0x139835=_0x935d9f;const _0x570af4=jt[_0x139835(0x178)]()[_0x139835(0x3df)];if(_0x570af4){const _0x3b09e0={'time':Math[_0x139835(0x3e7)](Date['now']()/0x3e8),'domain':location[_0x139835(0x336)]};return In(JSON[_0x139835(0xc6)](_0x3b09e0),_0x570af4);}}var Cn=Object[_0x935d9f(0x18b)],Tn=Object['getOwnPropertyDescriptor'],bn=(_0x4adf80,_0x640a9f,_0x2b5cd7,_0x347592)=>{var _0x4cd59d=_0x935d9f;for(var _0x2731fc=_0x347592>0x1?void 0x0:_0x347592?Tn(_0x640a9f,_0x2b5cd7):_0x640a9f,_0x479335=_0x4adf80[_0x4cd59d(0x2d8)]-0x1,_0x355ae9;_0x479335>=0x0;_0x479335--)(_0x355ae9=_0x4adf80[_0x479335])&&(_0x2731fc=(_0x347592?_0x355ae9(_0x640a9f,_0x2b5cd7,_0x2731fc):_0x355ae9(_0x2731fc))||_0x2731fc);return _0x347592&&_0x2731fc&&Cn(_0x640a9f,_0x2b5cd7,_0x2731fc),_0x2731fc;},Rn=(_0x29a28a,_0x371489)=>(_0xd8116d,_0x3f1810)=>_0x371489(_0xd8116d,_0x3f1810,_0x29a28a);let Pe=class{constructor(_0x555f23){var _0xc2ea33=_0x935d9f;this[_0xc2ea33(0x160)]=_0x555f23,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x5efc03=_0x935d9f;this[_0x5efc03(0x160)]['registerHTTPInterceptor']({'interceptor':(_0x42ab53,_0x5d9228)=>{var _0x2eb4e4=_0x5efc03;const _0x55a14a=_0x42ab53[_0x2eb4e4(0xdc)],_0x1e2302=En();return _0x1e2302&&_0x55a14a[_0x2eb4e4(0x1c7)]('x-univer-host',_0x1e2302),_0x5d9228(_0x42ab53);}});}};Pe=bn([Rn(0x0,a['Inject'](z[_0x935d9f(0x1ce)]))],Pe);var yn=Object[_0x935d9f(0x18b)],On=Object[_0x935d9f(0xd8)],Pn=(_0x2aecc2,_0x2924ca,_0x548316,_0x46352d)=>{var _0x14969f=_0x935d9f;for(var _0x257c58=_0x46352d>0x1?void 0x0:_0x46352d?On(_0x2924ca,_0x548316):_0x2924ca,_0x2178f6=_0x2aecc2[_0x14969f(0x2d8)]-0x1,_0x59be42;_0x2178f6>=0x0;_0x2178f6--)(_0x59be42=_0x2aecc2[_0x2178f6])&&(_0x257c58=(_0x46352d?_0x59be42(_0x2924ca,_0x548316,_0x257c58):_0x59be42(_0x257c58))||_0x257c58);return _0x46352d&&_0x257c58&&yn(_0x2924ca,_0x548316,_0x257c58),_0x257c58;},Me=(_0x484414,_0x273db1)=>(_0x560abe,_0x1c84c5)=>_0x273db1(_0x560abe,_0x1c84c5,_0x484414);exports[_0x935d9f(0x20f)]=class extends a[_0x935d9f(0x28d)]{constructor(_0x5bc1e7,_0x482ffd,_0x37d192){var _0x43aee6=_0x935d9f;super(),w(this,_0x43aee6(0x3b6),new B['BehaviorSubject'](null)),w(this,_0x43aee6(0x343),this['_unitInfo$'][_0x43aee6(0x230)]()),(this[_0x43aee6(0x3fb)]=_0x5bc1e7,this[_0x43aee6(0x3f7)]=_0x482ffd,this['_localCacheService']=_0x37d192);}async['loadUnit'](_0x4f989a,_0x8bec02,_0x16017b){var _0x3cb38b=_0x935d9f;this[_0x3cb38b(0x3b6)][_0x3cb38b(0x174)]({'unitId':_0x4f989a,'type':_0x8bec02,'subUnitId':_0x16017b});let _0x206840=null;switch(_0x8bec02){case Z[_0x3cb38b(0x2d6)]:{_0x206840=await this[_0x3cb38b(0x2b8)](_0x4f989a);break;}case Z[_0x3cb38b(0x154)]:{_0x206840=await this[_0x3cb38b(0x1d5)](_0x4f989a);break;}default:{this[_0x3cb38b(0x3fb)][_0x3cb38b(0xd4)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x206840;}async['_loadSheet'](_0x1b2aa9){var _0x29c9ca=_0x935d9f,_0x3408d3;let _0x534fe1=0x0;const _0x516bbc=await((_0x3408d3=this[_0x29c9ca(0x3ba)])==null?void 0x0:_0x3408d3[_0x29c9ca(0x2cc)](_0x1b2aa9));return _0x516bbc&&(_0x516bbc['awaitingChangeset']||_0x516bbc[_0x29c9ca(0x27e)][_0x29c9ca(0x2d8)]!==0x0)&&(_0x534fe1=_0x516bbc[_0x29c9ca(0x1d8)]),_0x534fe1===0x0&&this['_logService'][_0x29c9ca(0xa5)]('[DataLoaderService]',_0x29c9ca(0x2c9)),this['_snapshotService'][_0x29c9ca(0x2f8)](_0x1b2aa9,_0x534fe1);}async[_0x935d9f(0x1d5)](_0x3fd641){var _0x24445b=_0x935d9f,_0x583129;let _0x207106=0x0;const _0x355900=await((_0x583129=this[_0x24445b(0x3ba)])==null?void 0x0:_0x583129[_0x24445b(0x2cc)](_0x3fd641));return _0x355900&&(_0x355900[_0x24445b(0x239)]||_0x355900[_0x24445b(0x27e)][_0x24445b(0x2d8)]!==0x0)&&(_0x207106=_0x355900[_0x24445b(0x1d8)]),_0x207106===0x0&&this[_0x24445b(0x3fb)][_0x24445b(0xa5)](_0x24445b(0x347),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x24445b(0x3f7)][_0x24445b(0xfa)](_0x3fd641,_0x207106);}},exports[_0x935d9f(0x20f)]=Pn([Me(0x0,a[_0x935d9f(0x279)]),Me(0x1,a[_0x935d9f(0x338)](m[_0x935d9f(0x3e5)])),Me(0x2,a[_0x935d9f(0x2b7)](J))],exports[_0x935d9f(0x20f)]);var Dn=Object[_0x935d9f(0x18b)],Un=Object['getOwnPropertyDescriptor'],Nn=(_0x3e2d5b,_0x531ec1,_0x3982,_0x1433b3)=>{var _0x4a2ff6=_0x935d9f;for(var _0x5ecdb8=_0x1433b3>0x1?void 0x0:_0x1433b3?Un(_0x531ec1,_0x3982):_0x531ec1,_0x5e4d0e=_0x3e2d5b[_0x4a2ff6(0x2d8)]-0x1,_0x2055ca;_0x5e4d0e>=0x0;_0x5e4d0e--)(_0x2055ca=_0x3e2d5b[_0x5e4d0e])&&(_0x5ecdb8=(_0x1433b3?_0x2055ca(_0x531ec1,_0x3982,_0x5ecdb8):_0x2055ca(_0x5ecdb8))||_0x5ecdb8);return _0x1433b3&&_0x5ecdb8&&Dn(_0x531ec1,_0x3982,_0x5ecdb8),_0x5ecdb8;},xe=(_0x24d76e,_0x31f7c0)=>(_0x1dfab2,_0x2886d6)=>_0x31f7c0(_0x1dfab2,_0x2886d6,_0x24d76e);const wn=[_0x935d9f(0x389),'image/jpeg',_0x935d9f(0x19a),_0x935d9f(0x1d4),'image/bmp'],An=0x5*0x400*0x400,Ln=_0x935d9f(0x2de),Mn=_0x935d9f(0x38d),xn=_0x935d9f(0x127),jn=_0x935d9f(0x275);exports['CollaborationImageIoService']=class{constructor(_0x49882f,_0x1a625f,_0x4827b6){var _0x388acc=_0x935d9f;w(this,_0x388acc(0x22e),0x0),w(this,_0x388acc(0x2bb),new B[(_0x388acc(0x1f1))]()),w(this,'change$',this[_0x388acc(0x2bb)]),w(this,_0x388acc(0x397),new Map()),(this[_0x388acc(0x160)]=_0x49882f,this[_0x388acc(0x40e)]=_0x1a625f,this['_univerInstanceService']=_0x4827b6);}[_0x935d9f(0x148)](_0x5c5e26){var _0x2c6901=_0x935d9f;this[_0x2c6901(0x22e)]=_0x5c5e26,this[_0x2c6901(0x2bb)][_0x2c6901(0x174)](_0x5c5e26);}[_0x935d9f(0x3e8)](_0x302c15,_0xb3ea00){var _0x110545=_0x935d9f;if(_0xb3ea00===X[_0x110545(0x153)]['BASE64']){const _0x1beea2=new Image();return _0x1beea2[_0x110545(0x164)]=_0x302c15,_0x1beea2;}return this['_imageSourceCache'][_0x110545(0xf9)](_0x302c15);}[_0x935d9f(0x3e6)](_0x549610,_0x424ccb,_0x591961){var _0x43ef0c=_0x935d9f;_0x424ccb===X[_0x43ef0c(0x153)]['BASE64']||_0x591961==null||this[_0x43ef0c(0x397)][_0x43ef0c(0x1c7)](_0x549610,_0x591961);}async['getImage'](_0x27fae1){var _0x57921e=_0x935d9f;try{const _0x521617=this[_0x57921e(0x2a7)](this[_0x57921e(0x2fa)](),''+_0x27fae1),_0x4124fb=(await this[_0x57921e(0x160)]['get'](_0x521617))[_0x57921e(0x228)];if(_0x4124fb['error']&&_0x4124fb['error']['code']===Ct['OK']){const _0x47f14d=new URL(_0x4124fb[_0x57921e(0x352)],this[_0x57921e(0x11b)]())[_0x57921e(0xe9)]();return Promise[_0x57921e(0x31b)](_0x47f14d);}return Promise[_0x57921e(0x283)](_0x4124fb[_0x57921e(0xd4)]);}catch(_0x3ff7ea){return Promise[_0x57921e(0x283)](_0x3ff7ea);}}async[_0x935d9f(0x137)](_0x4549c0){var _0x4d034e=_0x935d9f;let _0x3c20c5='';if(!wn[_0x4d034e(0x1c8)](_0x4549c0['type']))return this[_0x4d034e(0x193)](),Promise[_0x4d034e(0x283)](new Error(X['ImageUploadStatusType'][_0x4d034e(0x152)]));if(_0x4549c0['size']>An)return this['_decreaseWaiting'](),Promise[_0x4d034e(0x283)](new Error(X[_0x4d034e(0x35c)][_0x4d034e(0x17a)]));try{const _0x229d00=new FormData();_0x229d00[_0x4d034e(0x268)](_0x4d034e(0x234),_0x4549c0);const _0x322a21=this[_0x4d034e(0xba)][_0x4d034e(0x2ac)](),_0x35302e=_0x322a21==null?void 0x0:_0x322a21[_0x4d034e(0x104)]();if(!_0x35302e)throw new Error('unitId\x20is\x20not\x20found');const _0x33259a=this['_getUploadFileURL']()+'?size='+_0x4549c0['size']['toString']()+_0x4d034e(0x25b)+Tt[_0x4d034e(0x1a4)]+_0x4d034e(0x20b)+encodeURIComponent(_0x35302e),_0x4bedc3=await(await fetch(_0x33259a,{'method':_0x4d034e(0xb2),'body':_0x229d00}))[_0x4d034e(0x23a)]();if(typeof _0x4bedc3['FileId']!='string')return this[_0x4d034e(0x193)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x4d034e(0x13c)]));_0x3c20c5=_0x4bedc3[_0x4d034e(0x337)];}catch{return this[_0x4d034e(0x193)](),Promise[_0x4d034e(0x283)](new Error(X[_0x4d034e(0x35c)]['ERROR_IMAGE']));}return new Promise((_0x25f56c,_0x41c65a)=>{var _0x28604c=_0x4d034e;const _0x4a1116=new FileReader();_0x4a1116['readAsDataURL'](_0x4549c0),_0x4a1116[_0x28604c(0x289)]=_0x4f5096=>{var _0x24ccfd=_0x28604c,_0x243e02;const _0x251c6d=(_0x243e02=_0x4f5096[_0x24ccfd(0x29a)])==null?void 0x0:_0x243e02[_0x24ccfd(0x175)];if(_0x251c6d==null){this[_0x24ccfd(0x193)](),_0x41c65a(new Error(X['ImageUploadStatusType'][_0x24ccfd(0x13c)]));return;}const _0x544172=a[_0x24ccfd(0x1df)][_0x24ccfd(0x3f0)](0x6);_0x25f56c({'imageId':_0x544172,'imageSourceType':X[_0x24ccfd(0x153)]['UUID'],'source':_0x3c20c5,'base64Cache':_0x251c6d,'status':X[_0x24ccfd(0x35c)][_0x24ccfd(0x2c7)]}),this[_0x24ccfd(0x193)]();};});}[_0x935d9f(0x38f)](){var _0x50dea6=_0x935d9f,_0x57402f,_0x595c7d;const _0x3ecbe7=this[_0x50dea6(0x40e)]['getConfig'](Ln),_0x5a2b5e=this[_0x50dea6(0x40e)][_0x50dea6(0x2d7)](q);return(_0x595c7d=(_0x57402f=_0x5a2b5e==null?void 0x0:_0x5a2b5e['uploadFileServerUrl'])!=null?_0x57402f:_0x3ecbe7)!=null?_0x595c7d:Mn;}[_0x935d9f(0x2fa)](){var _0x5db013=_0x935d9f,_0x5d44eb,_0x432697;const _0x488aac=this['_configService'][_0x5db013(0x2d7)](xn),_0x21bbd4=this[_0x5db013(0x40e)]['getConfig'](q);return(_0x432697=(_0x5d44eb=_0x21bbd4==null?void 0x0:_0x21bbd4['signUrlServerUrl'])!=null?_0x5d44eb:_0x488aac)!=null?_0x432697:jn;}[_0x935d9f(0x11b)](){var _0x1be752=_0x935d9f,_0xa36561;const _0x5e17c0=this[_0x1be752(0x40e)][_0x1be752(0x2d7)](q);return(_0xa36561=_0x5e17c0==null?void 0x0:_0x5e17c0['downloadEndpointUrl'])!=null?_0xa36561:location['origin'];}[_0x935d9f(0x2a7)](_0x52e8c1,_0x11722f){var _0x1f7436=_0x935d9f;return _0x52e8c1[_0x1f7436(0x172)](_0x1f7436(0xa6),_0x11722f);}[_0x935d9f(0x193)](){var _0x3a1c56=_0x935d9f;this['_waitCount']-=0x1,this[_0x3a1c56(0x2bb)][_0x3a1c56(0x174)](this[_0x3a1c56(0x22e)]);}},exports[_0x935d9f(0x3cf)]=Nn([xe(0x0,a[_0x935d9f(0x338)](z['HTTPService'])),xe(0x1,a[_0x935d9f(0x35d)]),xe(0x2,a[_0x935d9f(0x338)](a[_0x935d9f(0x201)]))],exports['CollaborationImageIoService']);var $n=Object[_0x935d9f(0x18b)],Hn=Object[_0x935d9f(0xd8)],kn=(_0x5ed9f6,_0x593140,_0x17a2ee,_0x5147e5)=>{var _0xb7cd98=_0x935d9f;for(var _0x16ef0c=_0x5147e5>0x1?void 0x0:_0x5147e5?Hn(_0x593140,_0x17a2ee):_0x593140,_0x5afaeb=_0x5ed9f6[_0xb7cd98(0x2d8)]-0x1,_0x414ff8;_0x5afaeb>=0x0;_0x5afaeb--)(_0x414ff8=_0x5ed9f6[_0x5afaeb])&&(_0x16ef0c=(_0x5147e5?_0x414ff8(_0x593140,_0x17a2ee,_0x16ef0c):_0x414ff8(_0x16ef0c))||_0x16ef0c);return _0x5147e5&&_0x16ef0c&&$n(_0x593140,_0x17a2ee,_0x16ef0c),_0x16ef0c;},lt=(_0x3a3a7e,_0x5604c4)=>(_0xbbf8a7,_0x28604f)=>_0x5604c4(_0xbbf8a7,_0x28604f,_0x3a3a7e);const Bn=_0x935d9f(0x327);exports[_0x935d9f(0x26d)]=class{constructor(_0x86def,_0xda51e3){var _0x137815=_0x935d9f;this[_0x137815(0x40e)]=_0x86def,this['_HTTPService']=_0xda51e3;}[_0x935d9f(0x214)](){var _0x5dcfa5=_0x935d9f,_0x5dafcd,_0x15efb5;const _0x1be131=this['_configService'][_0x5dcfa5(0x2d7)](Ge),_0x16a5dc=this[_0x5dcfa5(0x40e)][_0x5dcfa5(0x2d7)](q);return(_0x15efb5=(_0x5dafcd=_0x16a5dc==null?void 0x0:_0x16a5dc[_0x5dcfa5(0x374)])!=null?_0x5dafcd:_0x1be131)!=null?_0x15efb5:Bn;}async[_0x935d9f(0x13e)](_0x27866a){var _0x251fe8=_0x935d9f;const _0x1cab85=this['_getAPIPrefixPath']()+_0x251fe8(0x216);return{'list':[{'title':_0x251fe8(0x1bd),'mentions':(await this[_0x251fe8(0xcd)][_0x251fe8(0xf9)](_0x1cab85,{'params':{'objectID':_0x27866a['unitId'],'unitID':_0x27866a[_0x251fe8(0x3e0)]}}))['body'][_0x251fe8(0x33b)][_0x251fe8(0x379)](_0x3b280c=>({'objectId':_0x3b280c['id'],'name':_0x3b280c[_0x251fe8(0xfb)][_0x251fe8(0x3ee)],'metadata':{'icon':_0x3b280c[_0x251fe8(0xfb)][_0x251fe8(0xd7)]},'label':_0x3b280c[_0x251fe8(0xfb)][_0x251fe8(0x3ee)],'objectType':a[_0x251fe8(0x376)][_0x251fe8(0x273)]})),'metadata':{},'type':a['MentionType'][_0x251fe8(0x273)]}]};}},exports['MentionIoHttpService']=kn([lt(0x0,a[_0x935d9f(0x338)](a[_0x935d9f(0x35d)])),lt(0x1,a[_0x935d9f(0x338)](z[_0x935d9f(0x1ce)]))],exports['MentionIoHttpService']);var Fn=Object[_0x935d9f(0x18b)],Wn=Object[_0x935d9f(0xd8)],Vn=(_0x1f7911,_0x4f3b68,_0x1d1380,_0x176f7e)=>{var _0x154a34=_0x935d9f;for(var _0x4ce0aa=_0x176f7e>0x1?void 0x0:_0x176f7e?Wn(_0x4f3b68,_0x1d1380):_0x4f3b68,_0x287b05=_0x1f7911[_0x154a34(0x2d8)]-0x1,_0x5c08a1;_0x287b05>=0x0;_0x287b05--)(_0x5c08a1=_0x1f7911[_0x287b05])&&(_0x4ce0aa=(_0x176f7e?_0x5c08a1(_0x4f3b68,_0x1d1380,_0x4ce0aa):_0x5c08a1(_0x4ce0aa))||_0x4ce0aa);return _0x176f7e&&_0x4ce0aa&&Fn(_0x4f3b68,_0x1d1380,_0x4ce0aa),_0x4ce0aa;},ce=(_0x2d0cca,_0x48ddcf)=>(_0x4241a0,_0x52e87e)=>_0x48ddcf(_0x4241a0,_0x52e87e,_0x2d0cca);let De=class extends a[_0x935d9f(0x28d)]{constructor(_0x4498b3,_0x485dc7,_0x2725c4,_0x5db7c0,_0x3d7f1d,_0xc85579,_0x35d3f9){var _0x5cda8a=_0x935d9f;super(),this[_0x5cda8a(0x3b3)]=_0x4498b3,this[_0x5cda8a(0xba)]=_0x485dc7,this[_0x5cda8a(0x3b1)]=_0x2725c4,this['_collaborationSessionService']=_0x5db7c0,this[_0x5cda8a(0x1ea)]=_0x3d7f1d,this[_0x5cda8a(0x211)]=_0xc85579,this['_undoRedoService']=_0x35d3f9,this[_0x5cda8a(0x168)](),this[_0x5cda8a(0x1f3)]();}['_initCloseConn'](){var _0x1eb4b0=_0x935d9f;const _0x1bc736=async _0x283525=>{var _0x3c8b58=_0xff9d;(await this[_0x3c8b58(0x367)][_0x3c8b58(0x2e6)](_0x283525))[_0x3c8b58(0x301)][_0x3c8b58(0x21a)](V[_0x3c8b58(0x3ca)](_0x2cb553=>_0x2cb553[_0x3c8b58(0xc8)]===m[_0x3c8b58(0x1b8)][_0x3c8b58(0x36c)]),V['takeUntil'](this['dispose$']))[_0x3c8b58(0x1d6)](_0x12495e=>{var _0x7577d4=_0x3c8b58;const _0x483dc9=_0x12495e,{reason:_0x183302}=_0x483dc9[_0x7577d4(0x3c9)];this[_0x7577d4(0x1ea)][_0x7577d4(0xc5)]({'id':Q['CLOSE_ROOM'],'data':_0x183302}),this[_0x7577d4(0x3b1)][_0x7577d4(0x3ab)](new W[(_0x7577d4(0x341))](_0x283525)['id'],!0x1),this[_0x7577d4(0x367)][_0x7577d4(0x103)](_0x283525);});};B['merge'](this[_0x1eb4b0(0xba)][_0x1eb4b0(0xca)](a[_0x1eb4b0(0x383)][_0x1eb4b0(0x2d6)]),this[_0x1eb4b0(0xba)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1eb4b0(0x154)]))['pipe'](V[_0x1eb4b0(0x379)](_0x2aa968=>_0x2aa968[_0x1eb4b0(0x104)]()),V['filter'](_0x25394e=>!a[_0x1eb4b0(0x1e2)](_0x25394e)),V[_0x1eb4b0(0x184)](this[_0x1eb4b0(0x29c)]))['subscribe'](_0x398869=>{_0x1bc736(_0x398869);});}['_initUnitPermissionChange'](){var _0x497597=_0x935d9f;const _0x52ac00=async _0x266693=>{var _0x2a6798=_0xff9d;(await this[_0x2a6798(0x367)][_0x2a6798(0x2e6)](_0x266693))[_0x2a6798(0x301)][_0x2a6798(0x21a)](V[_0x2a6798(0x3ca)](_0x53569e=>_0x53569e['eventID']===m['CollaborationEvent'][_0x2a6798(0x3b8)]),V['takeUntil'](this[_0x2a6798(0x29c)]))[_0x2a6798(0x1d6)](_0x1d8657=>{var _0xe61f6b=_0x2a6798;const _0x10b9b8=_0x1d8657,{objectId:_0x90ef07}=_0x10b9b8[_0xe61f6b(0x3c9)];_0x90ef07===_0x266693?this[_0xe61f6b(0x37e)](_0x266693):this['refreshPermission'](_0x266693,_0x90ef07);});};B[_0x497597(0x2d3)](this[_0x497597(0xba)][_0x497597(0xca)](a[_0x497597(0x383)][_0x497597(0x2d6)]),this[_0x497597(0xba)]['getTypeOfUnitAdded$'](a[_0x497597(0x383)][_0x497597(0x154)]))[_0x497597(0x21a)](V[_0x497597(0x379)](_0x4ac255=>_0x4ac255[_0x497597(0x104)]()),V[_0x497597(0x3ca)](_0x2ea8e0=>!a['isInternalEditorID'](_0x2ea8e0)),V[_0x497597(0x184)](this[_0x497597(0x29c)]))['subscribe'](_0x3129f7=>{_0x52ac00(_0x3129f7);});}async[_0x935d9f(0x37e)](_0x49fc9d){var _0x2c7824=_0x935d9f,_0x1e0bd2;const _0x582909=_0x49fc9d||((_0x1e0bd2=this['_univerInstanceService'][_0x2c7824(0x3bf)](a[_0x2c7824(0x383)]['UNIVER_SHEET']))==null?void 0x0:_0x1e0bd2[_0x2c7824(0x104)]());_0x582909&&this[_0x2c7824(0x211)][_0x2c7824(0x198)]({'objectID':_0x582909,'objectType':W[_0x2c7824(0x100)][_0x2c7824(0x1d1)],'unitID':_0x582909,'actions':W[_0x2c7824(0x2b3)]})[_0x2c7824(0x252)](_0x4996d8=>{var _0x5e59af=_0x2c7824;W[_0x5e59af(0xf5)]()[_0x5e59af(0x3c2)](_0x149dfb=>{var _0x3ff104=_0x5e59af;const _0x3e84c5=new _0x149dfb(_0x582909),_0x56b554=_0x3e84c5[_0x3ff104(0x3e2)],_0x4efc5f=_0x4996d8[_0x3ff104(0x403)](_0x1b9cd6=>_0x1b9cd6['action']===_0x56b554);_0x4efc5f&&this[_0x3ff104(0x3b1)][_0x3ff104(0x3ab)](_0x3e84c5['id'],_0x4efc5f[_0x3ff104(0x198)]);});});}[_0x935d9f(0x34b)](_0x36a3c2,_0x2180f7){var _0x40e900=_0x935d9f;const _0x307b0c=this[_0x40e900(0x3b3)][_0x40e900(0xf9)](W[_0x40e900(0x385)]),_0x402fbd=_0x307b0c['getTargetByPermissionId'](_0x36a3c2,_0x2180f7);let _0x182419=!0x1;if(_0x402fbd){const [_0x5a1762,_0x5deb58]=_0x402fbd;this[_0x40e900(0x211)][_0x40e900(0x198)]({'objectID':_0x2180f7,'unitID':_0x36a3c2,'objectType':W['UnitObject'][_0x40e900(0x3c3)],'actions':W[_0x40e900(0x1ad)]})[_0x40e900(0x252)](_0xb398fb=>{var _0x5b4bff=_0x40e900;let _0x2ce14c='';W[_0x5b4bff(0x2a0)]()[_0x5b4bff(0x3c2)](_0x192f6a=>{var _0x13f183=_0x5b4bff,_0x3a8f5b;const _0x1fbde8=new _0x192f6a(_0x36a3c2,_0x5deb58),_0x3a426e=_0x1fbde8[_0x13f183(0x3e2)],_0x4ee0a3=_0xb398fb[_0x13f183(0x403)](_0x2bfaa8=>_0x2bfaa8[_0x13f183(0x2a2)]===_0x3a426e);_0x4ee0a3&&(((_0x3a8f5b=this[_0x13f183(0x3b1)][_0x13f183(0x112)](_0x1fbde8['id']))==null?void 0x0:_0x3a8f5b[_0x13f183(0x207)])!==_0x4ee0a3[_0x13f183(0x198)]&&(_0x182419=!0x0),this[_0x13f183(0x3b1)]['updatePermissionPoint'](_0x1fbde8['id'],_0x4ee0a3[_0x13f183(0x198)]),_0x2ce14c+=_0x4ee0a3[_0x13f183(0x2a2)]+'_'+_0x4ee0a3[_0x13f183(0x198)]);}),_0x307b0c[_0x5b4bff(0x34c)](_0x2180f7+'_'+_0x2ce14c),_0x182419&&this[_0x5b4bff(0x3f2)][_0x5b4bff(0x146)](_0x36a3c2);});}const _0x5c4c9a=this[_0x40e900(0x3b3)]['get'](W[_0x40e900(0x19e)])[_0x40e900(0xd2)](_0x36a3c2,_0x2180f7);if(_0x5c4c9a){const [_0x6d8e44,_0x492706]=_0x5c4c9a;this[_0x40e900(0x211)][_0x40e900(0x198)]({'objectID':_0x2180f7,'unitID':_0x36a3c2,'objectType':W[_0x40e900(0x100)]['Worksheet'],'actions':W[_0x40e900(0x115)]})['then'](_0x2eade6=>{var _0x2f985a=_0x40e900;W['getAllWorksheetPermissionPointByPointPanel']()['forEach'](_0x9026f8=>{var _0x347d26=_0xff9d,_0x3c1b9a;const _0x17c2e9=new _0x9026f8(_0x36a3c2,_0x492706),_0x465233=_0x17c2e9[_0x347d26(0x3e2)],_0x5c6ca=_0x2eade6[_0x347d26(0x403)](_0x21443c=>_0x21443c[_0x347d26(0x2a2)]===_0x465233);_0x5c6ca&&(((_0x3c1b9a=this[_0x347d26(0x3b1)]['getPermissionPoint'](_0x17c2e9['id']))==null?void 0x0:_0x3c1b9a[_0x347d26(0x207)])!==_0x5c6ca[_0x347d26(0x198)]&&(_0x182419=!0x0),this[_0x347d26(0x3b1)]['updatePermissionPoint'](_0x17c2e9['id'],_0x5c6ca[_0x347d26(0x198)]));}),_0x182419&&this[_0x2f985a(0x3f2)][_0x2f985a(0x146)](_0x36a3c2);});}const _0x3d1cb2=this[_0x40e900(0x3b3)][_0x40e900(0xf9)](W[_0x40e900(0x159)]),_0x3b919b=_0x3d1cb2[_0x40e900(0xd2)](_0x36a3c2,_0x2180f7);if(_0x3b919b){const [_0x46c70b,_0x37a308]=_0x3b919b;this[_0x40e900(0x211)][_0x40e900(0x198)]({'objectID':_0x2180f7,'unitID':_0x36a3c2,'objectType':W['UnitObject'][_0x40e900(0xda)],'actions':W[_0x40e900(0x1ad)]})[_0x40e900(0x252)](_0x100991=>{var _0x19c80c=_0x40e900;let _0x4f6bd0='';W[_0x19c80c(0x345)]()[_0x19c80c(0x3c2)](_0x19fba4=>{var _0x49ffc8=_0x19c80c,_0x3ee347;const _0x24aae3=new _0x19fba4(_0x36a3c2,_0x37a308,_0x2180f7),_0x2fe69f=_0x24aae3[_0x49ffc8(0x3e2)],_0x3f14e3=_0x100991['find'](_0x4d82b3=>_0x4d82b3['action']===_0x2fe69f);_0x3f14e3&&(((_0x3ee347=this[_0x49ffc8(0x3b1)][_0x49ffc8(0x112)](_0x24aae3['id']))==null?void 0x0:_0x3ee347[_0x49ffc8(0x207)])!==_0x3f14e3[_0x49ffc8(0x198)]&&(_0x182419=!0x0),this[_0x49ffc8(0x3b1)]['updatePermissionPoint'](_0x24aae3['id'],_0x3f14e3['allowed']),_0x4f6bd0+=_0x3f14e3[_0x49ffc8(0x2a2)]+'_'+_0x3f14e3['allowed']);}),_0x3d1cb2[_0x19c80c(0x34c)](_0x2180f7+'_'+_0x4f6bd0),_0x182419&&this[_0x19c80c(0x3f2)][_0x19c80c(0x146)](_0x36a3c2);});}}};De=Vn([ce(0x0,a['Inject'](a[_0x935d9f(0x261)])),ce(0x1,a[_0x935d9f(0x201)]),ce(0x2,a[_0x935d9f(0x2f1)]),ce(0x3,a[_0x935d9f(0x338)](exports[_0x935d9f(0x12d)])),ce(0x4,a[_0x935d9f(0x338)](te)),ce(0x5,a[_0x935d9f(0x3d8)]),ce(0x6,a[_0x935d9f(0x14b)])],De);var Gn=Object[_0x935d9f(0x18b)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x18622b,_0x725a40,_0x1ed8cd,_0x3f2c60)=>{for(var _0xf80779=_0x3f2c60>0x1?void 0x0:_0x3f2c60?Kn(_0x725a40,_0x1ed8cd):_0x725a40,_0x3db6af=_0x18622b['length']-0x1,_0x23127b;_0x3db6af>=0x0;_0x3db6af--)(_0x23127b=_0x18622b[_0x3db6af])&&(_0xf80779=(_0x3f2c60?_0x23127b(_0x725a40,_0x1ed8cd,_0xf80779):_0x23127b(_0xf80779))||_0xf80779);return _0x3f2c60&&_0xf80779&&Gn(_0x725a40,_0x1ed8cd,_0xf80779),_0xf80779;},_t=(_0x54aad0,_0x42f0bc)=>(_0x476d47,_0x41d93a)=>_0x42f0bc(_0x476d47,_0x41d93a,_0x54aad0);exports['SnapshotServerOverHTTPService']=class{constructor(_0x2c3d9f,_0x3338f0){var _0x52e665=_0x935d9f;this[_0x52e665(0x40e)]=_0x2c3d9f,this[_0x52e665(0x160)]=_0x3338f0;}async[_0x935d9f(0x1c4)](_0x424e6d,_0x581132){var _0x10afc5=_0x935d9f,_0xaf41de;const {unitID:_0x5d2f85,type:_0x2b6500,revision:_0x38c79a=0x0}=_0x581132,_0x5e50f0=this[_0x10afc5(0x344)]()+'/'+_0x2b6500+_0x10afc5(0x3a0)+_0x5d2f85+_0x10afc5(0x40f)+_0x38c79a,_0x1c2662=(await this[_0x10afc5(0x160)][_0x10afc5(0xf9)](_0x5e50f0))[_0x10afc5(0x228)],_0x38d4c7=(_0xaf41de=_0x1c2662[_0x10afc5(0x3eb)])==null?void 0x0:_0xaf41de['workbook'];if(_0x38d4c7){const _0xa4e113=_0x38d4c7==null?void 0x0:_0x38d4c7[_0x10afc5(0x27c)],_0x4a70c0=m[_0x10afc5(0xe5)][_0x10afc5(0x1a6)](m[_0x10afc5(0x10e)](_0xa4e113));_0x38d4c7['originalMeta']=_0x4a70c0,Object['entries'](_0x38d4c7[_0x10afc5(0x3fe)])['forEach'](([,_0x5773f4])=>{var _0x1f5e90=_0x10afc5;const _0x45149e=_0x5773f4[_0x1f5e90(0x27c)],_0x3fb410=m[_0x1f5e90(0xe5)][_0x1f5e90(0x1a6)](m[_0x1f5e90(0x10e)](_0x45149e));_0x5773f4[_0x1f5e90(0x27c)]=_0x3fb410;});}return _0x1c2662;}async[_0x935d9f(0x363)](_0x24e5a7,_0x590545){var _0x1faef1=_0x935d9f;const {unitID:_0x380a6f,type:_0x1dcd8e,blockID:_0x5aa67b}=_0x590545,_0x240afe=this['_getAPIPrefix']()+'/'+_0x1dcd8e+_0x1faef1(0x3a0)+_0x380a6f+_0x1faef1(0x1b4)+_0x5aa67b;return(await this[_0x1faef1(0x160)][_0x1faef1(0xf9)](_0x240afe))[_0x1faef1(0x228)];}async[_0x935d9f(0x372)](_0x3dba08,_0x97dcf5){var _0x3c7a3c=_0x935d9f;const {unitID:_0x5ef2da,type:_0x4f2bed,blockID:_0x430666}=_0x97dcf5,_0xdf4124=this[_0x3c7a3c(0x1d7)]()+_0x3c7a3c(0x1b4)+_0x4f2bed+_0x3c7a3c(0x3a0)+_0x5ef2da+_0x3c7a3c(0x1b4)+_0x430666;return(await this[_0x3c7a3c(0x160)]['get'](_0xdf4124))[_0x3c7a3c(0x228)];}async[_0x935d9f(0x231)](_0x2bda15,_0xe22602){var _0x26d24c=_0x935d9f;const {unitID:_0x453654,type:_0x59d8a6,from:_0x4df05e,to:_0x55cd0e}=_0xe22602,_0x2fa087=this['_getAPIPrefix']()+'/'+_0x59d8a6+_0x26d24c(0x3a0)+_0x453654+_0x26d24c(0x13b)+_0x4df05e+_0x26d24c(0x316)+_0x55cd0e;return(await this[_0x26d24c(0x160)][_0x26d24c(0xf9)](_0x2fa087))[_0x26d24c(0x228)];}['getSnapshotAPIPath'](){var _0x128088=_0x935d9f,_0xa187d6;return(_0xa187d6=this[_0x128088(0x40e)]['getConfig'](vt))!=null?_0xa187d6:this[_0x128088(0x1d7)]();}[_0x935d9f(0x1d7)](){var _0x4d04f3=_0x935d9f,_0x3161ae,_0x56fedc;const _0x7acd24=this[_0x4d04f3(0x40e)]['getConfig'](dt),_0x1105ab=this[_0x4d04f3(0x40e)][_0x4d04f3(0x2d7)](q);return(_0x56fedc=(_0x3161ae=_0x1105ab==null?void 0x0:_0x1105ab[_0x4d04f3(0x173)])!=null?_0x3161ae:_0x7acd24)!=null?_0x56fedc:$t;}async['getResourcesRequest'](_0x5222e9,_0x5b1f43){var _0x1879a1=_0x935d9f;const _0x127bcc=_0x1879a1(0x25f)+_0x5b1f43['type']+_0x1879a1(0x3a0)+_0x5b1f43[_0x1879a1(0x35e)]+_0x1879a1(0x1f2);return(await this['_httpService'][_0x1879a1(0xf9)](_0x127bcc,{'params':{'resourceId':JSON['stringify'](_0x5b1f43[_0x1879a1(0x387)])}}))[_0x1879a1(0x228)];}['saveSnapshot'](){var _0x206ed0=_0x935d9f;throw new Error(_0x206ed0(0xe3));}['saveSheetBlock'](){var _0x41eb4b=_0x935d9f;throw new Error(_0x41eb4b(0xe3));}[_0x935d9f(0x411)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x935d9f(0x138)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x935d9f(0x2fb)](){var _0xe35db9=_0x935d9f;throw new Error(_0xe35db9(0xe3));}},exports[_0x935d9f(0x27f)]=Yn([_t(0x0,a['IConfigService']),_t(0x1,a[_0x935d9f(0x338)](z[_0x935d9f(0x1ce)]))],exports[_0x935d9f(0x27f)]);var qn=Object[_0x935d9f(0x18b)],zn=Object[_0x935d9f(0xd8)],Jn=(_0x4a45a0,_0x2c6f63,_0x26df10,_0x2cc41b)=>{var _0x43491c=_0x935d9f;for(var _0x541f48=_0x2cc41b>0x1?void 0x0:_0x2cc41b?zn(_0x2c6f63,_0x26df10):_0x2c6f63,_0x27b3f6=_0x4a45a0[_0x43491c(0x2d8)]-0x1,_0x519820;_0x27b3f6>=0x0;_0x27b3f6--)(_0x519820=_0x4a45a0[_0x27b3f6])&&(_0x541f48=(_0x2cc41b?_0x519820(_0x2c6f63,_0x26df10,_0x541f48):_0x519820(_0x541f48))||_0x541f48);return _0x2cc41b&&_0x541f48&&qn(_0x2c6f63,_0x26df10,_0x541f48),_0x541f48;},de=(_0x3ec764,_0x1391b0)=>(_0x4a4149,_0x4fcd60)=>_0x1391b0(_0x4a4149,_0x4fcd60,_0x3ec764);exports[_0x935d9f(0x2ca)]=class extends a['LocalUndoRedoService']{constructor(_0x586942,_0x4ada23,_0x259b4a,_0xc0e619,_0x595f52){var _0x23fdf0=_0x935d9f;super(_0x586942,_0x4ada23,_0x259b4a),this[_0x23fdf0(0x27d)]=_0xc0e619,this['_logService']=_0x595f52;}['transformUndoRedo'](_0x3b4084,_0x12bde2){var _0x4a9c84=_0x935d9f;const _0x2658aa=this['_getUndoStack'](_0x3b4084);if(_0x2658aa)try{const _0x4a855f=this[_0x4a9c84(0xed)](_0x2658aa,_0x12bde2);this['_substituteUndoStack'](_0x3b4084,_0x4a855f);}catch(_0x882618){this[_0x4a9c84(0x3fb)][_0x4a9c84(0xd4)](_0x4a9c84(0x3d1),_0x882618),this[_0x4a9c84(0x2d2)](_0x3b4084);}const _0x9b735b=this['_getRedoStack'](_0x3b4084);if(_0x9b735b)try{const _0x4c8a7f=this[_0x4a9c84(0xed)](_0x9b735b,_0x12bde2);this[_0x4a9c84(0x143)](_0x3b4084,_0x4c8a7f);}catch(_0x3bea33){this[_0x4a9c84(0x3fb)][_0x4a9c84(0xd4)](_0x3bea33),this[_0x4a9c84(0x324)](_0x3b4084);}}[_0x935d9f(0x2d2)](_0x3095d2){var _0x10500a=_0x935d9f;const _0x19c1da=this[_0x10500a(0x177)](_0x3095d2);_0x19c1da&&(_0x19c1da['length']=0x0,this[_0x10500a(0x244)]());}[_0x935d9f(0x324)](_0xe5faf5){var _0xfe585a=_0x935d9f;const _0x2ee283=this['_getRedoStack'](_0xe5faf5);_0x2ee283&&(_0x2ee283[_0xfe585a(0x2d8)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x529dd0,_0x55c4c0){var _0x1029f9=_0x935d9f;this[_0x1029f9(0x31e)]['set'](_0x529dd0,_0x55c4c0),this[_0x1029f9(0x244)]();}['_substituteRedoStack'](_0x4b75b9,_0x275159){var _0x5de3b3=_0x935d9f;this['_redoStacks']['set'](_0x4b75b9,_0x275159),this[_0x5de3b3(0x244)]();}[_0x935d9f(0xed)](_0x4c6b22,_0x32bac1){var _0x56aeca=_0x935d9f;const _0x802f87=[];let _0x1db48e=_0x32bac1,_0x116194=_0x32bac1;for(let _0x5d33aa=_0x4c6b22[_0x56aeca(0x2d8)]-0x1;_0x5d33aa>=0x0;_0x5d33aa--){const {unitID:_0x3d99bb,undoMutations:_0x3635a5,redoMutations:_0x2f1bf3}=_0x4c6b22[_0x5d33aa],_0x7165b3=this[_0x56aeca(0x27d)][_0x56aeca(0xbd)](_0x1db48e,_0x3635a5),_0x10623f=this['_transformService'][_0x56aeca(0xbd)](_0x116194,_0x2f1bf3);if(m['isTransformMutationsWithChangesetFailure'](_0x7165b3)||m['isTransformMutationsWithChangesetFailure'](_0x10623f)){this[_0x56aeca(0x3fb)]['error'](_0x56aeca(0x3d1),'transformStack\x20failed!',_0x7165b3,_0x10623f);break;}_0x1db48e=_0x7165b3[_0x56aeca(0x3a1)],_0x116194=_0x10623f[_0x56aeca(0x3a1)],_0x802f87[_0x56aeca(0x208)]({'unitID':_0x3d99bb,'undoMutations':_0x7165b3[_0x56aeca(0x1ba)],'redoMutations':_0x10623f[_0x56aeca(0x1ba)]});}return _0x802f87[_0x56aeca(0x308)]();}},exports[_0x935d9f(0x2ca)]=Jn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x935d9f(0x12b)]),de(0x2,a['IContextService']),de(0x3,m[_0x935d9f(0x266)]),de(0x4,a['ILogService'])],exports[_0x935d9f(0x2ca)]);var At=Object['defineProperty'],Xn=Object[_0x935d9f(0xd8)],Zn=(_0x18fc2f,_0x1a938d,_0x42787f)=>_0x1a938d in _0x18fc2f?At(_0x18fc2f,_0x1a938d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42787f}):_0x18fc2f[_0x1a938d]=_0x42787f,Qn=(_0x3d28c5,_0x211380,_0x31f8b4,_0xe1084f)=>{var _0x376b60=_0x935d9f;for(var _0x135e3a=_0xe1084f>0x1?void 0x0:_0xe1084f?Xn(_0x211380,_0x31f8b4):_0x211380,_0x3256b4=_0x3d28c5[_0x376b60(0x2d8)]-0x1,_0x21ec9c;_0x3256b4>=0x0;_0x3256b4--)(_0x21ec9c=_0x3d28c5[_0x3256b4])&&(_0x135e3a=(_0xe1084f?_0x21ec9c(_0x211380,_0x31f8b4,_0x135e3a):_0x21ec9c(_0x135e3a))||_0x135e3a);return _0xe1084f&&_0x135e3a&&At(_0x211380,_0x31f8b4,_0x135e3a),_0x135e3a;},je=(_0x471596,_0x44056a)=>(_0x15bd40,_0x758f4a)=>_0x44056a(_0x15bd40,_0x758f4a,_0x471596),er=(_0x4d6f86,_0xb1e876,_0x57f844)=>Zn(_0x4d6f86,_0xb1e876+'',_0x57f844);const tr=_0x935d9f(0x35b);exports[_0x935d9f(0x158)]=class extends a[_0x935d9f(0x1b9)]{constructor(_0x34d8bb=zt,_0x59762b,_0x2890e2,_0x29fac2){var _0xfe5f73=_0x935d9f;super(),this[_0xfe5f73(0x1c6)]=_0x34d8bb,this[_0xfe5f73(0x3fb)]=_0x59762b,this[_0xfe5f73(0x3b3)]=_0x2890e2,this[_0xfe5f73(0x40e)]=_0x29fac2;const {..._0x3b8808}=this[_0xfe5f73(0x1c6)];this['_configService'][_0xfe5f73(0x121)](q,_0x3b8808);}[_0x935d9f(0x245)](){var _0x34db33=_0x935d9f;this[_0x34db33(0x27a)](),this[_0x34db33(0x150)]();}[_0x935d9f(0x27a)](){var _0x41c56d=_0x935d9f,_0x131824,_0x2053e5,_0x8a5a02,_0x27bb38;this[_0x41c56d(0x3b3)]['has'](a[_0x41c56d(0x14b)])&&this[_0x41c56d(0x3fb)][_0x41c56d(0xd4)](_0x41c56d(0x1dd),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xd7ebe7=a[_0x41c56d(0x355)]([[a[_0x41c56d(0x14b)],{'useClass':exports[_0x41c56d(0x2ca)]}],[exports[_0x41c56d(0x12d)]],[exports[_0x41c56d(0x353)]],[exports[_0x41c56d(0x197)]],[Oe],[Pe],[Be],[De],[te],[exports[_0x41c56d(0x20f)]],[ke,{'useClass':(_0x2053e5=(_0x131824=this[_0x41c56d(0x1c6)])==null?void 0x0:_0x131824[_0x41c56d(0x1e0)])!=null?_0x2053e5:exports['CollaborationSocketService']}],[m['ISnapshotServerService'],{'useClass':exports[_0x41c56d(0x27f)]}],[a['IAuthzIoService'],{'useClass':exports[_0x41c56d(0xd6)]}],[X[_0x41c56d(0x222)],{'useClass':exports[_0x41c56d(0x3cf)]}],[a[_0x41c56d(0x232)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x41c56d(0x18f)]],[$e]],(_0x8a5a02=this['_config'])==null?void 0x0:_0x8a5a02['override']);if(!((_0x27bb38=this[_0x41c56d(0x1c6)])!=null&&_0x27bb38[_0x41c56d(0x116)])){const _0x2e93cc=_0xd7ebe7[_0x41c56d(0x213)](([_0x3b1a43])=>_0x3b1a43===ve);_0x2e93cc!==-0x1&&_0xd7ebe7['splice'](_0x2e93cc,0x1);}a['registerDependencies'](this[_0x41c56d(0x3b3)],_0xd7ebe7);}['_initDependencies'](){var _0x2ecf15=_0x935d9f,_0x30eea8,_0x2f7e4f,_0x358ccc;this[_0x2ecf15(0x3b3)]['get'](z[_0x2ecf15(0x1ce)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x2ecf15(0x17b)]({'maxParallel':0x6})}),(_0x30eea8=this[_0x2ecf15(0x1c6)])!=null&&_0x30eea8[_0x2ecf15(0x2ed)]||(_0x2f7e4f=this[_0x2ecf15(0x3b3)][_0x2ecf15(0xf9)](J,a['Quantity'][_0x2ecf15(0x3aa)]))==null||_0x2f7e4f[_0x2ecf15(0xb0)](),(_0x358ccc=this[_0x2ecf15(0x1c6)])!=null&&_0x358ccc[_0x2ecf15(0x35a)]&&a[_0x2ecf15(0x1db)](this[_0x2ecf15(0x3b3)],[[Oe]]),a[_0x2ecf15(0x1db)](this[_0x2ecf15(0x3b3)],[[Pe],[exports[_0x2ecf15(0x18f)]],[De]]);}},er(exports[_0x935d9f(0x158)],'pluginName',tr),exports['UniverCollaborationClientPlugin']=Qn([a[_0x935d9f(0x25a)](m['UniverCollaborationPlugin'],W[_0x935d9f(0xf6)],z[_0x935d9f(0x3dc)]),je(0x1,a[_0x935d9f(0x279)]),je(0x2,a[_0x935d9f(0x338)](a[_0x935d9f(0x261)])),je(0x3,a['IConfigService'])],exports[_0x935d9f(0x158)]),exports[_0x935d9f(0x133)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=q,exports[_0x935d9f(0x419)]=It,exports[_0x935d9f(0x2aa)]=ft,exports['CollaborationStatus']=We,exports[_0x935d9f(0x335)]=Q,exports['CollaborationUIEventService']=te,exports[_0x935d9f(0xcc)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports[_0x935d9f(0x1cd)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports['ICollaborationSocketService']=ke,exports['ILocalCacheService']=J,exports[_0x935d9f(0x28f)]=bt,exports[_0x935d9f(0x2d4)]=ve,exports[_0x935d9f(0x2f7)]=Kt,exports[_0x935d9f(0x29d)]=Gt,exports[_0x935d9f(0x39c)]=Et,exports[_0x935d9f(0xac)]=mt,exports[_0x935d9f(0x3d2)]=Ht,exports[_0x935d9f(0x360)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x935d9f(0x259)]=se,exports['UnitStatus']=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x935d9f(0x3e4)]=pi,exports[_0x935d9f(0x34d)]=yt;