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

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 _0x40c17a=_0x1551;(function(_0x12bbb0,_0xec4f6b){var _0x22bd30=_0x1551,_0xc037bf=_0x12bbb0();while(!![]){try{var _0x1deca8=-parseInt(_0x22bd30(0x27d))/0x1*(parseInt(_0x22bd30(0x31d))/0x2)+-parseInt(_0x22bd30(0x2fd))/0x3+parseInt(_0x22bd30(0x28a))/0x4*(parseInt(_0x22bd30(0x315))/0x5)+-parseInt(_0x22bd30(0x40d))/0x6+-parseInt(_0x22bd30(0x2c3))/0x7*(parseInt(_0x22bd30(0x2e7))/0x8)+-parseInt(_0x22bd30(0x49d))/0x9*(parseInt(_0x22bd30(0x344))/0xa)+parseInt(_0x22bd30(0x3f2))/0xb*(parseInt(_0x22bd30(0x461))/0xc);if(_0x1deca8===_0xec4f6b)break;else _0xc037bf['push'](_0xc037bf['shift']());}catch(_0x3ce050){_0xc037bf['push'](_0xc037bf['shift']());}}}(_0x452b,0xd1772));var wt=Object['defineProperty'],Lt=(_0xbdd78c,_0x3f4e9d,_0x3e1337)=>_0x3f4e9d in _0xbdd78c?wt(_0xbdd78c,_0x3f4e9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e1337}):_0xbdd78c[_0x3f4e9d]=_0x3e1337,A=(_0xa3d4e,_0x226e03,_0xeb4301)=>Lt(_0xa3d4e,typeof _0x226e03!=_0x40c17a(0x2a1)?_0x226e03+'':_0x226e03,_0xeb4301);Object[_0x40c17a(0x3b1)](exports,Symbol['toStringTag'],{'value':_0x40c17a(0x3d8)});const a=require(_0x40c17a(0x1a2)),j=require(_0x40c17a(0x486)),V=require('rxjs/operators'),g=require(_0x40c17a(0x38e)),q=require('@univerjs/network'),Mt=require(_0x40c17a(0x45e)),ut=require(_0x40c17a(0x2c2)),Z=require(_0x40c17a(0x45c)),J=require('@univerjs/drawing'),xt=require(_0x40c17a(0x493)),dt=_0x40c17a(0x4e2),kt='/universer-api/snapshot',vt='SNAPSHOT_URL_KEY',Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x40c17a(0x187),ft=_0x40c17a(0x1ac),$t=_0x40c17a(0x403),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x40c17a(0x468),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x40c17a(0x39b),Gt=0x3e8,It=_0x40c17a(0x413),Kt=_0x40c17a(0x27b),Et=_0x40c17a(0x2e4),Yt=_0x40c17a(0x471),qt=_0x40c17a(0x1d7),zt=_0x40c17a(0x251);var Ct=(_0x4348a6=>(_0x4348a6[_0x4348a6['UNDEFINED']=0x0]=_0x40c17a(0x176),_0x4348a6[_0x4348a6['OK']=0x1]='OK',_0x4348a6[_0x4348a6[_0x40c17a(0x442)]=0x2]=_0x40c17a(0x442),_0x4348a6[_0x4348a6[_0x40c17a(0x2ed)]=0x3]=_0x40c17a(0x2ed),_0x4348a6[_0x4348a6[_0x40c17a(0x447)]=0x4]=_0x40c17a(0x447),_0x4348a6[_0x4348a6[_0x40c17a(0x196)]=0x5]=_0x40c17a(0x196),_0x4348a6[_0x4348a6[_0x40c17a(0x34f)]=0x6]='ALREADY_EXISTS',_0x4348a6[_0x4348a6[_0x40c17a(0x458)]=0x7]=_0x40c17a(0x458),_0x4348a6[_0x4348a6[_0x40c17a(0x2ff)]=0x8]=_0x40c17a(0x2ff),_0x4348a6[_0x4348a6[_0x40c17a(0x226)]=0x9]=_0x40c17a(0x226),_0x4348a6[_0x4348a6[_0x40c17a(0x36f)]=0xa]=_0x40c17a(0x36f),_0x4348a6[_0x4348a6[_0x40c17a(0x4ab)]=0x1389]=_0x40c17a(0x4ab),_0x4348a6[_0x4348a6['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x40c17a(0x4b0),_0x4348a6[_0x4348a6[_0x40c17a(0x4e6)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4348a6[_0x4348a6[_0x40c17a(0x423)]=0x1773]=_0x40c17a(0x423),_0x4348a6[_0x4348a6[_0x40c17a(0x339)]=0x1b59]='APPLY_REJECT',_0x4348a6[_0x4348a6[_0x40c17a(0x354)]=0x1b5a]=_0x40c17a(0x354),_0x4348a6[_0x4348a6[_0x40c17a(0x2cb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4348a6[_0x4348a6['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x40c17a(0x207),_0x4348a6[_0x4348a6[_0x40c17a(0x1ff)]=0x1b5d]=_0x40c17a(0x1ff),_0x4348a6[_0x4348a6[_0x40c17a(0x1bb)]=0x1f41]=_0x40c17a(0x1bb),_0x4348a6[_0x4348a6[_0x40c17a(0x390)]=0x2329]=_0x40c17a(0x390),_0x4348a6[_0x4348a6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4348a6[_0x4348a6[_0x40c17a(0x30c)]=0x232b]=_0x40c17a(0x30c),_0x4348a6[_0x4348a6[_0x40c17a(0x3af)]=0x232c]=_0x40c17a(0x3af),_0x4348a6[_0x4348a6['LICENSE_DISTRO_REJECTED']=0x232d]=_0x40c17a(0x2b0),_0x4348a6[_0x4348a6[_0x40c17a(0x2e3)]=0x2711]=_0x40c17a(0x2e3),_0x4348a6[_0x4348a6[_0x40c17a(0x4c1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4348a6[_0x4348a6[_0x40c17a(0x180)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4348a6[_0x4348a6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x40c17a(0x3ea),_0x4348a6[_0x4348a6[_0x40c17a(0x384)]=0x2af9]=_0x40c17a(0x384),_0x4348a6[_0x4348a6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x40c17a(0x43b),_0x4348a6[_0x4348a6[_0x40c17a(0x407)]=0x2ee2]='INVALID_INVITE_CODE',_0x4348a6[_0x4348a6[_0x40c17a(0x3a1)]=0x2ee3]=_0x40c17a(0x3a1),_0x4348a6[_0x4348a6['USER_NOT_INVITED_CODE']=0x2ee4]=_0x40c17a(0x3e0),_0x4348a6[_0x4348a6[_0x40c17a(0x173)]=0x2ee5]=_0x40c17a(0x173),_0x4348a6[_0x4348a6[_0x40c17a(0x21a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4348a6[_0x4348a6[_0x40c17a(0x3a3)]=0x32ca]=_0x40c17a(0x3a3),_0x4348a6[_0x4348a6[_0x40c17a(0x302)]=0x32cb]=_0x40c17a(0x302),_0x4348a6[_0x4348a6[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x4348a6))(Ct||{}),X=(_0x502337=>(_0x502337[_0x502337[_0x40c17a(0x3ac)]=0x0]=_0x40c17a(0x3ac),_0x502337[_0x502337[_0x40c17a(0x3fd)]=0x1]=_0x40c17a(0x3fd),_0x502337[_0x502337[_0x40c17a(0x20b)]=0x2]=_0x40c17a(0x20b),_0x502337[_0x502337[_0x40c17a(0x20a)]=0x3]=_0x40c17a(0x20a),_0x502337[_0x502337[_0x40c17a(0x1fd)]=0x4]='UNIVER_PROJECT',_0x502337[_0x502337[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x502337))(X||{}),W=(_0x2f5674=>(_0x2f5674[_0x2f5674[_0x40c17a(0x25d)]=0x0]=_0x40c17a(0x25d),_0x2f5674[_0x2f5674[_0x40c17a(0x337)]=0x1]=_0x40c17a(0x337),_0x2f5674[_0x2f5674[_0x40c17a(0x2ca)]=0x2]='JOIN',_0x2f5674[_0x2f5674['LEAVE']=0x3]=_0x40c17a(0x4e7),_0x2f5674[_0x2f5674['INGEST']=0x4]='INGEST',_0x2f5674[_0x2f5674[_0x40c17a(0x3d1)]=0x5]=_0x40c17a(0x3d1),_0x2f5674[_0x2f5674[_0x40c17a(0x2b9)]=0x6]=_0x40c17a(0x2b9),_0x2f5674[_0x2f5674[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x2f5674))(W||{}),ae=(_0x3ce539=>(_0x3ce539[_0x3ce539[_0x40c17a(0x280)]=0x0]=_0x40c17a(0x280),_0x3ce539[_0x3ce539['OK']=0x1]='OK',_0x3ce539[_0x3ce539[_0x40c17a(0x281)]=0x2]=_0x40c17a(0x281),_0x3ce539[_0x3ce539[_0x40c17a(0x37b)]=0x3e9]='JOIN_ROOM_FULL',_0x3ce539[_0x3ce539[_0x40c17a(0x22c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3ce539[_0x3ce539['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x40c17a(0x185),_0x3ce539[_0x3ce539[_0x40c17a(0x32c)]=0x3ec]=_0x40c17a(0x32c),_0x3ce539[_0x3ce539[_0x40c17a(0x47c)]=-0x1]='UNRECOGNIZED',_0x3ce539))(ae||{}),Tt=(_0x2aa1dc=>(_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x2aa)]=0x0]=_0x40c17a(0x2aa),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x4c2)]=0x1]=_0x40c17a(0x4c2),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x33e)]=0x2]='HttpExport',_0x2aa1dc[_0x2aa1dc['UnitEmbedded']=0x3]=_0x40c17a(0x16f),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x4d4)]=0x4]='UnitSnapshot',_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x3fb)]=0x5]=_0x40c17a(0x3fb),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x2aa1dc))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x1aa8e9=>(_0x1aa8e9[_0x40c17a(0x321)]='OTHER_CLIENT_EDITING',_0x1aa8e9[_0x40c17a(0x2ed)]=_0x40c17a(0x2ed),_0x1aa8e9[_0x40c17a(0x270)]=_0x40c17a(0x270),_0x1aa8e9['CLOSE_ROOM']=_0x40c17a(0x3a5),_0x1aa8e9[_0x40c17a(0x365)]=_0x40c17a(0x365),_0x1aa8e9[_0x40c17a(0x4bb)]=_0x40c17a(0x4bb),_0x1aa8e9['SOCKET_FAILED']='SOCKET_FAILED',_0x1aa8e9[_0x40c17a(0x38c)]=_0x40c17a(0x38c),_0x1aa8e9))(Q||{});class te{constructor(){var _0x306cde=_0x40c17a;A(this,_0x306cde(0x44e),new j[(_0x306cde(0x252))]()),A(this,_0x306cde(0x4d5),this['_event$']['asObservable']());}[_0x40c17a(0x37e)](_0xeb7ba3){var _0x50788d=_0x40c17a;this[_0x50788d(0x44e)][_0x50788d(0x39d)](_0xeb7ba3);}}const bt=a[_0x40c17a(0x312)](_0x40c17a(0x4cf));function Rt(_0x2473fe){var _0x34ea0d=_0x40c17a,_0x1f0e87,_0x59cb9e,_0x14a952,_0x46c24f,_0x140ed8;const _0x31d654=_0x2473fe[_0x34ea0d(0x277)],_0x35063c=JSON[_0x34ea0d(0x36e)](_0x31d654);switch(_0x35063c[_0x34ea0d(0x271)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x4f7ded=_0x35063c[_0x34ea0d(0x42b)];return{..._0x35063c,'data':_0x4f7ded,'cmd':_0x35063c[_0x34ea0d(0x271)]};}case W['JOIN']:{const _0x317903=_0x35063c[_0x34ea0d(0x1cf)];return{..._0x35063c,'data':_0x317903,'cmd':_0x35063c[_0x34ea0d(0x271)]};}case W['RECV']:{const _0x1e313a=_0x35063c[_0x34ea0d(0x2ba)];switch(_0x1e313a[_0x34ea0d(0x3d3)]){case g[_0x34ea0d(0x316)]['PERMISSION_REJ']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x1f0e87=_0x1e313a[_0x34ea0d(0x347)])==null?void 0x0:_0x1f0e87['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x4b8)]:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x59cb9e=_0x1e313a[_0x34ea0d(0x3df)])==null?void 0x0:_0x59cb9e['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['NEW_CHANGESETS']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x14a952=_0x1e313a[_0x34ea0d(0x184)])==null?void 0x0:_0x14a952['cs']},'cmd':_0x35063c['cmd']};case g[_0x34ea0d(0x316)]['CHANGESET_REJ']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x46c24f=_0x1e313a['csRejEvent'])==null?void 0x0:_0x46c24f['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x1bc)]:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x140ed8=_0x1e313a[_0x34ea0d(0x4f6)])==null?void 0x0:_0x140ed8['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x28b)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x217)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent'][_0x34ea0d(0x4da)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x254)]},'cmd':_0x35063c['cmd']};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x2f6)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x4be)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x31a)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x34ea0d(0x316)][_0x34ea0d(0x3e6)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a['liveShareOperation']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x31a)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['MSG_FOR_ERROR']:return{..._0x35063c,'data':_0x1e313a,'cmd':_0x35063c['cmd']};case g[_0x34ea0d(0x316)][_0x34ea0d(0x18a)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a['commentUpdateEvent']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x452)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x318)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x1d2)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['UNISCRIPT_RUN']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x388)]},'cmd':_0x35063c['cmd']};default:return _0x35063c;}}default:return _0x35063c;}}function Ot(_0x18b6ab){var _0x993cf1=_0x40c17a;switch(_0x18b6ab[_0x993cf1(0x271)]){case W['HEARTBEAT']:case W[_0x993cf1(0x337)]:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)]});case W[_0x993cf1(0x1ba)]:{let _0x19bd11;switch(_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x3d3)]){case g['CollaborationEvent'][_0x993cf1(0x28b)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x28b)],'updateCursorEvent':_0x18b6ab['data'][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x2c8)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x2c8)],'leaveEvent':_0x18b6ab[_0x993cf1(0x277)]['data']};break;}case g['CollaborationEvent'][_0x993cf1(0x4da)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x4da)],'joinEvent':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x4be)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x4be)],'liveShareNewHost':_0x18b6ab['data'][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x3e6)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x3e6)],'liveShareOperation':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g['CollaborationEvent'][_0x993cf1(0x2b8)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g['CollaborationEvent'][_0x993cf1(0x262)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x18b6ab[_0x993cf1(0x277)]['data']};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x2d2)]:{_0x19bd11={'eventID':g['CollaborationEvent'][_0x993cf1(0x2d2)]};break;}default:_0x19bd11={'eventID':_0x18b6ab['data'][_0x993cf1(0x3d3)]};}return JSON['stringify']({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'collaMsg':_0x19bd11});}case W[_0x993cf1(0x2ca)]:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'joinReq':_0x18b6ab[_0x993cf1(0x277)]});case W['LEAVE']:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'leaveReq':_0x18b6ab['data']});default:throw new Error(_0x993cf1(0x2ab));}}var Xt=Object[_0x40c17a(0x2fb)],Zt=(_0x545bfc,_0x186235,_0x583d33,_0x4627b9)=>{var _0x590643=_0x40c17a;for(var _0x131767=_0x4627b9>0x1?void 0x0:_0x4627b9?Xt(_0x186235,_0x583d33):_0x186235,_0x80d666=_0x545bfc[_0x590643(0x2be)]-0x1,_0x4a45c7;_0x80d666>=0x0;_0x80d666--)(_0x4a45c7=_0x545bfc[_0x80d666])&&(_0x131767=_0x4a45c7(_0x131767)||_0x131767);return _0x131767;},_e=(_0x2eec42,_0x3e1a93)=>(_0x1c7d9f,_0x1f6ff4)=>_0x3e1a93(_0x1c7d9f,_0x1f6ff4,_0x2eec42);const $e=a[_0x40c17a(0x312)](_0x40c17a(0x33a));function Qt(_0x28b933,_0x26a466,_0x26de1e){var _0x45400c=_0x40c17a;return _0x28b933+'/'+_0x26a466+_0x45400c(0x237)+_0x26de1e+_0x45400c(0x1c8);}exports[_0x40c17a(0x1f3)]=class extends a[_0x40c17a(0x439)]{constructor(_0x3c4610,_0x2eb051,_0x20ed78,_0x2c5c52,_0x31a971){var _0x137c6f=_0x40c17a;super(),this['_injector']=_0x3c4610,this[_0x137c6f(0x3ce)]=_0x2eb051,this[_0x137c6f(0x1b2)]=_0x20ed78,this[_0x137c6f(0x190)]=_0x2c5c52,this['_snapshotServerService']=_0x31a971;}[_0x40c17a(0x25c)](_0x448ea4){var _0x636502=_0x40c17a;const _0xdeecfe=this[_0x636502(0x2ec)][_0x636502(0x210)](q['ISocketService']);if(!_0xdeecfe)throw new Error(_0x636502(0x1f0));const _0x4aca71=_0xdeecfe['createSocket'](_0x448ea4);if(!_0x4aca71)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x66eee9=new a[(_0x636502(0x43a))](),_0x368fb1=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x3b3)][_0x636502(0x3f3)](_0x14fd2f=>_0x368fb1[_0x636502(0x39d)](_0x14fd2f))),_0x66eee9[_0x636502(0x4ad)](a[_0x636502(0x202)](()=>_0x368fb1[_0x636502(0x395)]()));const _0x405169=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x28c)][_0x636502(0x3f3)](_0x521968=>_0x405169[_0x636502(0x39d)](_0x521968))),_0x66eee9['add'](a[_0x636502(0x202)](()=>_0x405169[_0x636502(0x395)]()));const _0x2ad523=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x3ae)][_0x636502(0x3f3)](_0x1ca53d=>{var _0x108fa=_0x636502;const _0x4fc02a=Rt(_0x1ca53d);_0x2ad523[_0x108fa(0x39d)](_0x4fc02a);})),_0x66eee9[_0x636502(0x4ad)](a[_0x636502(0x202)](()=>_0x2ad523['complete']()));let _0x20d51a;const _0x3e50ad=()=>{var _0x9d37d7=_0x636502;_0x405169[_0x9d37d7(0x39d)](new Event(_0x9d37d7(0x308))),_0x368fb1[_0x9d37d7(0x39d)](new Event(_0x9d37d7(0x308))),_0x20d51a['close']();};return _0x20d51a={'memberID':'','close$':_0x368fb1[_0x636502(0x2a7)](),'error$':_0x405169['asObservable'](),'open$':_0x4aca71[_0x636502(0x3dc)],'message$':_0x2ad523[_0x636502(0x2a7)](),'send':_0x502912=>{var _0x3318ba=_0x636502;if(_0x502912[_0x3318ba(0x271)]===W[_0x3318ba(0x1ba)]){if(_0x502912['data']['eventID']===g['CollaborationEvent'][_0x3318ba(0x19a)]){this[_0x3318ba(0x334)](_0x20d51a,_0x502912[_0x3318ba(0x277)])[_0x3318ba(0x383)](_0x582dbe=>{var _0x4e7922=_0x3318ba;this['_logService'][_0x4e7922(0x45a)](_0x582dbe),_0x3e50ad();});return;}if(_0x502912[_0x3318ba(0x277)][_0x3318ba(0x3d3)]===g[_0x3318ba(0x316)][_0x3318ba(0x3db)]){const _0x32189d=_0x502912[_0x3318ba(0x277)];this[_0x3318ba(0x391)](_0x32189d)[_0x3318ba(0x414)](_0x288377=>{var _0x535cc1=_0x3318ba;_0x2ad523[_0x535cc1(0x39d)]({'cmd':W[_0x535cc1(0x2b9)],'code':ae['OK'],'routeKey':_0x32189d[_0x535cc1(0x277)]['unitID'],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x535cc1(0x255)],'data':{'changesets':_0x288377}}});})[_0x3318ba(0x383)](_0x1466bb=>{var _0xddb67d=_0x3318ba;this[_0xddb67d(0x190)][_0xddb67d(0x45a)](_0x1466bb),_0x3e50ad();});return;}}_0x4aca71[_0x3318ba(0x470)](Ot(_0x502912));},'close':()=>{var _0x32d4c2=_0x636502;_0x4aca71[_0x32d4c2(0x236)](),_0x66eee9['dispose']();}},_0x20d51a;}async[_0x40c17a(0x334)](_0x542de4,_0x5407fc){var _0x569d4e=_0x40c17a,_0x432b62,_0x5c7bb0;const {unitType:_0x3044c0,unitID:_0x28924f,changeset:_0x40ad6d}=_0x5407fc['data'],_0xe5356d={'unitID':_0x28924f,'memberID':_0x542de4[_0x569d4e(0x4f5)],'type':_0x3044c0,'changeset':g['parseChangesetToProtocol'](_0x40ad6d)},_0x28c917=this[_0x569d4e(0x1b2)][_0x569d4e(0x34e)](It),_0x4a4b69=this[_0x569d4e(0x1b2)][_0x569d4e(0x34e)](Y),_0x2ab3f8=Qt((_0x5c7bb0=(_0x432b62=_0x4a4b69==null?void 0x0:_0x4a4b69[_0x569d4e(0x182)])!=null?_0x432b62:_0x28c917)!=null?_0x5c7bb0:Kt,_0x3044c0,_0x28924f);try{await this[_0x569d4e(0x3ce)][_0x569d4e(0x49a)](_0x2ab3f8,{'body':_0xe5356d});}catch(_0x508115){throw this[_0x569d4e(0x190)]['error'](_0x569d4e(0x484),'submit\x20changeset\x20error!'),_0x508115;}}async['_fetchMissChangesets'](_0x2a58b2){var _0x442832=_0x40c17a;const {unitID:_0x2c0a3d,from:_0x5ecc3e,to:_0x58a777,unitType:_0x29ddd5}=_0x2a58b2[_0x442832(0x277)];return(await this[_0x442832(0x48f)][_0x442832(0x2b1)]({'metadata':void 0x0},{'unitID':_0x2c0a3d,'type':_0x29ddd5,'from':_0x5ecc3e,'to':_0x58a777}))['changesets'];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),_e(0x1,a[_0x40c17a(0x3e8)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x40c17a(0x3ba)]),_e(0x4,g[_0x40c17a(0x24d)])],exports[_0x40c17a(0x1f3)]);const ei=_0x40c17a(0x23a);function ti(_0x12b33c){var _0x17bac8=_0x40c17a;return JSON[_0x17bac8(0x4e5)](_0x12b33c)[_0x17bac8(0x2be)];}class Be{constructor(){var _0x458aa5=_0x40c17a;A(this,_0x458aa5(0x3aa),new j[(_0x458aa5(0x252))]()),A(this,'commentUpdate$',this[_0x458aa5(0x3aa)][_0x458aa5(0x2a7)]());}[_0x40c17a(0x3f1)](_0x5f2302){var _0x3e236a=_0x40c17a;this[_0x3e236a(0x3aa)][_0x3e236a(0x39d)](_0x5f2302);}}var ii=Object[_0x40c17a(0x2fb)],ni=(_0x441e9b,_0xdcad95,_0x1fc203,_0x5acebc)=>{var _0x9d0c4b=_0x40c17a;for(var _0x3c2e80=_0x5acebc>0x1?void 0x0:_0x5acebc?ii(_0xdcad95,_0x1fc203):_0xdcad95,_0x4051d1=_0x441e9b[_0x9d0c4b(0x2be)]-0x1,_0x4672e5;_0x4051d1>=0x0;_0x4051d1--)(_0x4672e5=_0x441e9b[_0x4051d1])&&(_0x3c2e80=_0x4672e5(_0x3c2e80)||_0x3c2e80);return _0x3c2e80;},Ke=(_0x7aa0b,_0x2c1d03)=>(_0x5a0722,_0x544303)=>_0x2c1d03(_0x5a0722,_0x544303,_0x7aa0b);exports[_0x40c17a(0x41e)]=class extends a[_0x40c17a(0x439)]{constructor(_0x4ab0e3,_0x3d94f8){var _0x235fbf=_0x40c17a;super(),A(this,'_roomMembers',new Map()),A(this,'_roomCreated$',new j['Subject']()),(this[_0x235fbf(0x16d)]=_0x4ab0e3,this[_0x235fbf(0x2c5)]=_0x3d94f8,this['disposeWithMe'](j[_0x235fbf(0x4b5)](this[_0x235fbf(0x16d)]['getTypeOfUnitDisposed$'](a[_0x235fbf(0x4b9)][_0x235fbf(0x20b)])['pipe'](V[_0x235fbf(0x1ce)](_0x1dc8f5=>_0x1dc8f5[_0x235fbf(0x30b)]())),this[_0x235fbf(0x16d)][_0x235fbf(0x259)](a[_0x235fbf(0x4b9)]['UNIVER_DOC'])['pipe'](V[_0x235fbf(0x1ce)](_0x46b394=>_0x46b394['getUnitId']())),this[_0x235fbf(0x16d)]['getTypeOfUnitDisposed$'](a[_0x235fbf(0x4b9)][_0x235fbf(0x20a)])[_0x235fbf(0x26c)](V[_0x235fbf(0x1ce)](_0x14b6bb=>_0x14b6bb[_0x235fbf(0x30b)]())))['subscribe'](_0xb66aac=>this[_0x235fbf(0x179)](_0xb66aac))));}[_0x40c17a(0x4c7)](_0x5dc009){var _0x5932e9=_0x40c17a;return this['_roomMembers'][_0x5932e9(0x405)](_0x5dc009)?j['of'](this[_0x5932e9(0x4a8)]['get'](_0x5dc009)):this['_roomCreated$'][_0x5932e9(0x26c)](V[_0x5932e9(0x1ce)](_0x4e48b1=>{var _0x4629de=_0x5932e9;if(_0x4e48b1===_0x5dc009)return this[_0x4629de(0x4a8)]['get'](_0x4e48b1);}));}[_0x40c17a(0x1b8)](_0x4ca663){var _0x1acf28=_0x40c17a;this[_0x1acf28(0x2c5)]['setCurrentUser'](_0x4ca663);}['getCurrentUser'](){var _0x4a96ee=_0x40c17a;return this[_0x4a96ee(0x2c5)][_0x4a96ee(0x265)]();}[_0x40c17a(0x215)](_0x41e303,_0x3f2659){var _0x14bb1f=_0x40c17a;let _0x1b7a1c=this['_roomMembers'][_0x14bb1f(0x210)](_0x41e303);_0x1b7a1c||(_0x1b7a1c=new ri(),this['_roomMembers']['set'](_0x41e303,_0x1b7a1c),this[_0x14bb1f(0x178)]['next'](_0x41e303)),_0x1b7a1c[_0x14bb1f(0x215)](_0x3f2659);}['removeMember'](_0x13021d,_0x9c375f){var _0x2b3e90=_0x40c17a;const _0x407039=this[_0x2b3e90(0x4a8)]['get'](_0x13021d);_0x407039&&_0x407039[_0x2b3e90(0x289)](_0x9c375f);}[_0x40c17a(0x4f3)](_0x1c1bc6){var _0x42ac4f=_0x40c17a;return this[_0x42ac4f(0x4a8)][_0x42ac4f(0x210)](_0x1c1bc6);}['getMember'](_0x36409e,_0x4a514c){var _0x49db13=_0x40c17a;const _0x1ede43=this['_roomMembers'][_0x49db13(0x210)](_0x36409e);if(_0x1ede43)return _0x1ede43['getMember'](_0x4a514c);}[_0x40c17a(0x179)](_0x542bb4){var _0x185c2e=_0x40c17a;const _0xb0ecd4=this[_0x185c2e(0x4a8)][_0x185c2e(0x210)](_0x542bb4);_0xb0ecd4&&(_0xb0ecd4[_0x185c2e(0x3b0)](),this['_roomMembers'][_0x185c2e(0x1d6)](_0x542bb4));}[_0x40c17a(0x3b0)](){var _0xbaf712=_0x40c17a;this[_0xbaf712(0x4a8)][_0xbaf712(0x364)](_0x3fdeb8=>_0x3fdeb8[_0xbaf712(0x3b0)]()),this[_0xbaf712(0x4a8)]['clear'](),this[_0xbaf712(0x178)][_0xbaf712(0x395)]();}},exports[_0x40c17a(0x41e)]=ni([Ke(0x0,a[_0x40c17a(0x1bf)]),Ke(0x1,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x218)]))],exports[_0x40c17a(0x41e)]);class ri extends a[_0x40c17a(0x439)]{constructor(){var _0x462a0e=_0x40c17a;super(...arguments),A(this,_0x462a0e(0x1fa),new Map()),A(this,_0x462a0e(0x1f2),new j[(_0x462a0e(0x39e))](this[_0x462a0e(0x1fa)])),A(this,_0x462a0e(0x293),this[_0x462a0e(0x1f2)][_0x462a0e(0x2a7)]());}[_0x40c17a(0x3b0)](){var _0x2315cf=_0x40c17a;this[_0x2315cf(0x1fa)]['clear']();}[_0x40c17a(0x215)](_0x6edb2c){var _0x96b95f=_0x40c17a;this[_0x96b95f(0x1fa)]['set'](_0x6edb2c[_0x96b95f(0x4f5)],_0x6edb2c),this['_emitMembers']();}['removeMember'](_0x406a93){var _0x1be7aa=_0x40c17a;this[_0x1be7aa(0x1fa)][_0x1be7aa(0x1d6)](_0x406a93);}[_0x40c17a(0x350)](_0x2449ba){var _0x588f0f=_0x40c17a;return this[_0x588f0f(0x1fa)][_0x588f0f(0x210)](_0x2449ba);}['getAllMembers'](){var _0xd2b705=_0x40c17a;return Array[_0xd2b705(0x209)](this[_0xd2b705(0x1fa)][_0xd2b705(0x353)]());}[_0x40c17a(0x2b4)](){var _0x3df149=_0x40c17a;this[_0x3df149(0x1f2)][_0x3df149(0x39d)](this['_members']);}}var si=Object[_0x40c17a(0x2fb)],oi=(_0x297e7b,_0x4b875a,_0x272235,_0x49db27)=>{var _0x16e309=_0x40c17a;for(var _0x3efcb0=_0x49db27>0x1?void 0x0:_0x49db27?si(_0x4b875a,_0x272235):_0x4b875a,_0x58733c=_0x297e7b[_0x16e309(0x2be)]-0x1,_0x1cfd9d;_0x58733c>=0x0;_0x58733c--)(_0x1cfd9d=_0x297e7b[_0x58733c])&&(_0x3efcb0=_0x1cfd9d(_0x3efcb0)||_0x3efcb0);return _0x3efcb0;},oe=(_0x22f13e,_0x3528a6)=>(_0x29eaa3,_0x4af527)=>_0x3528a6(_0x29eaa3,_0x4af527,_0x22f13e),se=(_0x35bd50=>(_0x35bd50[_0x35bd50[_0x40c17a(0x44d)]=0x0]=_0x40c17a(0x44d),_0x35bd50[_0x35bd50[_0x40c17a(0x29a)]=0x1]=_0x40c17a(0x29a),_0x35bd50[_0x35bd50[_0x40c17a(0x455)]=0x2]=_0x40c17a(0x455),_0x35bd50[_0x35bd50[_0x40c17a(0x4b4)]=0x3]='ONLINE',_0x35bd50))(se||{});const Ye={[ae[_0x40c17a(0x281)]]:_0x40c17a(0x213),[ae[_0x40c17a(0x37b)]]:_0x40c17a(0x2b6),[ae[_0x40c17a(0x22c)]]:_0x40c17a(0x462),[ae[_0x40c17a(0x185)]]:_0x40c17a(0x2a5),[ae[_0x40c17a(0x32c)]]:_0x40c17a(0x47f)};exports[_0x40c17a(0x3f0)]=class extends a[_0x40c17a(0x47d)]{constructor(_0x378e9b,_0x4bcc5a,_0x1ee197,_0x212264,_0x31c451,_0x38015e,_0x24cff3,_0x5cb933,_0x56ead6){var _0x5e4624=_0x40c17a;super(),A(this,_0x5e4624(0x2fe),new j[(_0x5e4624(0x39e))](0x0)),A(this,_0x5e4624(0x4b6),this[_0x5e4624(0x2fe)]['asObservable']()),A(this,'_event$',new j[(_0x5e4624(0x252))]()),A(this,_0x5e4624(0x4d5),this[_0x5e4624(0x44e)]['asObservable']()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5e4624(0x3f8)),A(this,_0x5e4624(0x238),!0x1),A(this,_0x5e4624(0x2f5),null),(this[_0x5e4624(0x3e1)]=_0x378e9b,this[_0x5e4624(0x190)]=_0x1ee197,this[_0x5e4624(0x1b2)]=_0x212264,this[_0x5e4624(0x2f4)]=_0x31c451,this[_0x5e4624(0x4a7)]=_0x38015e,this['_commentService']=_0x24cff3,this['_collaborationUIEventService']=_0x5cb933,this[_0x5e4624(0x457)]=_0x56ead6,this['_shouldReportTelemetry']=!!this[_0x5e4624(0x457)],_0x4bcc5a[_0x5e4624(0x26c)](j[_0x5e4624(0x1a1)](this[_0x5e4624(0x44a)]))['subscribe'](_0x445356=>{var _0x58cd2e=_0x5e4624,_0x3364db;typeof _0x445356>'u'||(this[_0x58cd2e(0x33c)]=_0x445356,_0x445356?(this[_0x58cd2e(0x177)](_0x445356),this['_socketMessageSubscription']=_0x445356[_0x58cd2e(0x3ae)][_0x58cd2e(0x3f3)](_0x48be3c=>{var _0x417ee7=_0x58cd2e;_0x48be3c['routeKey']===this[_0x417ee7(0x3e1)]&&this['_onCombEvent'](_0x48be3c);})):(this[_0x58cd2e(0x1ad)](),this[_0x58cd2e(0x2fe)]['next'](0x2),(_0x3364db=this[_0x58cd2e(0x26d)])==null||_0x3364db[_0x58cd2e(0x3cc)](),this['_socketMessageSubscription']=null));}));}get[_0x40c17a(0x4ae)](){var _0x2d1a0f=_0x40c17a;return this[_0x2d1a0f(0x2fe)][_0x2d1a0f(0x477)]();}['getMemberID'](){var _0x1ab421=_0x40c17a,_0x4127aa,_0x16b0ad;return(_0x16b0ad=(_0x4127aa=this[_0x1ab421(0x33c)])==null?void 0x0:_0x4127aa['memberID'])!=null?_0x16b0ad:null;}[_0x40c17a(0x3b0)](){var _0xe22a73=_0x40c17a;super['dispose'](),this[_0xe22a73(0x44a)][_0xe22a73(0x39d)](),this['dispose$'][_0xe22a73(0x395)]();}[_0x40c17a(0x236)](){var _0xf4d9a1=_0x40c17a,_0x4ef133,_0x1dc5f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4ef133=this[_0xf4d9a1(0x33c)])==null||_0x4ef133[_0xf4d9a1(0x470)]({'cmd':W[_0xf4d9a1(0x4e7)],'data':{'roomID':this[_0xf4d9a1(0x3e1)]}}),(_0x1dc5f4=this['_socket'])==null||_0x1dc5f4['close'](),this[_0xf4d9a1(0x44e)][_0xf4d9a1(0x395)](),this[_0xf4d9a1(0x2fe)]['complete'](),this[_0xf4d9a1(0x3b0)]();}['_onCombEvent'](_0x5cb2cf){var _0x2ab807=_0x40c17a;_0x5cb2cf['cmd']===W[_0x2ab807(0x2ca)]?this[_0x2ab807(0x2e2)](_0x5cb2cf):_0x5cb2cf[_0x2ab807(0x271)]===W[_0x2ab807(0x2b9)]&&this['_onRecvEvent'](_0x5cb2cf);}[_0x40c17a(0x177)](_0x1ed26b){var _0x167cca=_0x40c17a;this[_0x167cca(0x2fe)][_0x167cca(0x39d)](0x1),_0x1ed26b[_0x167cca(0x470)]({'cmd':W[_0x167cca(0x2ca)],'routeKey':this[_0x167cca(0x3e1)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x40c17a(0x2e2)](_0x296177){var _0x240f67=_0x40c17a,_0x4bda66;if(_0x296177['code']in Ye){this[_0x240f67(0x2a6)]['emitEvent']({'id':Q[_0x240f67(0x365)],'data':Ye[_0x296177[_0x240f67(0x28e)]]}),this[_0x240f67(0x2fe)]['next'](0x2);return;}this['_sessionStatus$'][_0x240f67(0x39d)](0x3);const _0x4f462d=(_0x4bda66=_0x296177[_0x240f67(0x277)][_0x240f67(0x2b7)][this[_0x240f67(0x3e1)]])==null?void 0x0:_0x4bda66[_0x240f67(0x2d7)];_0x4f462d&&_0x4f462d[_0x240f67(0x364)](_0x2d9716=>this[_0x240f67(0x4a7)]['updateMember'](this[_0x240f67(0x3e1)],_0x2d9716));}[_0x40c17a(0x478)](_0x3d2605){var _0x3f6203=_0x40c17a;try{const _0xa587ef=_0x3d2605[_0x3f6203(0x277)];switch(_0xa587ef['eventID']){case g['CollaborationEvent'][_0x3f6203(0x4da)]:this['_onUserJoin'](_0xa587ef),this[_0x3f6203(0x44e)][_0x3f6203(0x39d)](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x2c8)]:this['_onUserLeave'](_0xa587ef),this[_0x3f6203(0x44e)]['next'](_0xa587ef);break;case g[_0x3f6203(0x316)]['CHANGESET_ACK']:case g[_0x3f6203(0x316)][_0x3f6203(0x1bc)]:this[_0x3f6203(0x417)](),this[_0x3f6203(0x2db)](),this['_event$']['next'](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x419)]:this['_logService'][_0x3f6203(0x45a)](_0x3f6203(0x46c)+JSON['stringify'](_0xa587ef)),this['_event$'][_0x3f6203(0x39d)](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x18a)]:this[_0x3f6203(0x17f)][_0x3f6203(0x3f1)](_0xa587ef[_0x3f6203(0x277)]),this[_0x3f6203(0x44e)][_0x3f6203(0x39d)](_0xa587ef);break;default:this[_0x3f6203(0x44e)]['next'](_0xa587ef);}}catch(_0x45f433){this[_0x3f6203(0x190)][_0x3f6203(0x45a)](_0x45f433,_0x3d2605);}}[_0x40c17a(0x3c4)](_0x56429d){var _0x71777b=_0x40c17a;this[_0x71777b(0x4a7)][_0x71777b(0x215)](this[_0x71777b(0x3e1)],_0x56429d[_0x71777b(0x277)]);}[_0x40c17a(0x1b3)](_0x5c2e7f){var _0x38345a=_0x40c17a;this[_0x38345a(0x4a7)][_0x38345a(0x289)](this[_0x38345a(0x3e1)],_0x5c2e7f[_0x38345a(0x277)]['memberID']);}async['send'](_0x5c500a,_0x3ee218){var _0x5c62ec=_0x40c17a;if(this[_0x5c62ec(0x4ae)]!==0x3||!this[_0x5c62ec(0x33c)])throw new Error(_0x5c62ec(0x394));try{_0x5c500a[_0x5c62ec(0x3d3)]===g['CollaborationEvent'][_0x5c62ec(0x19a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5c62ec(0x3e3)](_0x5c500a)),this['_socket'][_0x5c62ec(0x470)]({'cmd':W['INGEST'],'routeKey':_0x3ee218,'routeType':'','data':_0x5c500a});}catch(_0x1dc910){this[_0x5c62ec(0x190)][_0x5c62ec(0x45a)](_0x1dc910);}}['_scheduleCollaborationTimeoutTimer'](){var _0x35c629=_0x40c17a,_0x54942d;this[_0x35c629(0x3f8)]=setTimeout(()=>{var _0x41d33d=_0x35c629;this['_collaborationTimeoutTimer']=null,this[_0x41d33d(0x2a6)][_0x41d33d(0x37e)]({'id':Q[_0x41d33d(0x38c)]});},(_0x54942d=this[_0x35c629(0x1b2)][_0x35c629(0x34e)](je))!=null?_0x54942d:gt);}[_0x40c17a(0x2db)](){var _0x548001=_0x40c17a;this[_0x548001(0x3f8)]&&(clearTimeout(this[_0x548001(0x3f8)]),this['_collaborationTimeoutTimer']=null);}[_0x40c17a(0x3e3)](_0x1e62d1){var _0x6553df=_0x40c17a;if(!this[_0x6553df(0x238)])return;const {data:_0x1379da}=_0x1e62d1,{unitID:_0x345e6f,changeset:_0x5eb148}=_0x1379da,{mutations:_0x5aa36d,type:_0x114d1c}=_0x5eb148;this[_0x6553df(0x2f5)]={'unitId':_0x345e6f,'type':_0x114d1c,'startTime':performance[_0x6553df(0x429)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5aa36d)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x39a5d0=_0x40c17a;if(this[_0x39a5d0(0x238)]){if(!this[_0x39a5d0(0x2f5)]){this[_0x39a5d0(0x190)][_0x39a5d0(0x45a)](_0x39a5d0(0x484),_0x39a5d0(0x19b));return;}this['_telemetryInfo'][_0x39a5d0(0x25f)]=performance[_0x39a5d0(0x429)](),this[_0x39a5d0(0x2f5)][_0x39a5d0(0x495)]=this['_telemetryInfo'][_0x39a5d0(0x25f)]-this[_0x39a5d0(0x2f5)][_0x39a5d0(0x490)],this['_telemetryService']['capture'](ei,this[_0x39a5d0(0x2f5)]),this['_telemetryInfo']=null;}}[_0x40c17a(0x1ad)](){var _0x215b87=_0x40c17a;this[_0x215b87(0x2f5)]=null;}},exports[_0x40c17a(0x3f0)]=oi([oe(0x2,a[_0x40c17a(0x3ba)]),oe(0x3,a[_0x40c17a(0x342)]),oe(0x4,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),oe(0x5,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x41e)])),oe(0x6,a[_0x40c17a(0x3e8)](Be)),oe(0x7,a[_0x40c17a(0x3e8)](te)),oe(0x8,a[_0x40c17a(0x385)](Mt[_0x40c17a(0x3c5)]))],exports['CollaborationSession']);var ai=Object[_0x40c17a(0x2fb)],ci=(_0x12fa21,_0x5a5814,_0x18fd11,_0x457d79)=>{var _0x3aeb97=_0x40c17a;for(var _0x1a8511=_0x457d79>0x1?void 0x0:_0x457d79?ai(_0x5a5814,_0x18fd11):_0x5a5814,_0x3cfedf=_0x12fa21[_0x3aeb97(0x2be)]-0x1,_0x29ec1f;_0x3cfedf>=0x0;_0x3cfedf--)(_0x29ec1f=_0x12fa21[_0x3cfedf])&&(_0x1a8511=_0x29ec1f(_0x1a8511)||_0x1a8511);return _0x1a8511;},le=(_0x4bcf5e,_0x2cd9e7)=>(_0x6ffe7c,_0x566b3c)=>_0x2cd9e7(_0x6ffe7c,_0x566b3c,_0x4bcf5e);exports[_0x40c17a(0x313)]=class extends a[_0x40c17a(0x439)]{constructor(_0x1b6d6b,_0x546c93,_0x285a4b,_0x28ff44,_0x28d3e1,_0x567b59){var _0x3ee64c=_0x40c17a;super(),A(this,'_socket$',new j[(_0x3ee64c(0x39e))](void 0x0)),A(this,'socket$',this['_socket$'][_0x3ee64c(0x2a7)]()),A(this,_0x3ee64c(0x2d8),null),A(this,_0x3ee64c(0x4c4),new Map()),A(this,_0x3ee64c(0x2cd),new j[(_0x3ee64c(0x39e))](se[_0x3ee64c(0x44d)])),A(this,_0x3ee64c(0x48e),this[_0x3ee64c(0x2cd)][_0x3ee64c(0x2a7)]()),A(this,_0x3ee64c(0x30f),!0x1),A(this,_0x3ee64c(0x30a)),A(this,_0x3ee64c(0x28d),0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this['_injector']=_0x1b6d6b,this[_0x3ee64c(0x190)]=_0x546c93,this['_configService']=_0x285a4b,this[_0x3ee64c(0x240)]=_0x28ff44,this['_collaborationUIEventService']=_0x28d3e1,this[_0x3ee64c(0x172)]=_0x567b59,this['_listenToNetworkCondition']());}get[_0x40c17a(0x33c)](){var _0xc79157=_0x40c17a;return this[_0xc79157(0x434)][_0xc79157(0x477)]();}['_listenToNetworkCondition'](){var _0x15aa9c=_0x40c17a;this[_0x15aa9c(0x172)]&&this['disposeWithMe'](this[_0x15aa9c(0x172)][_0x15aa9c(0x48c)]['subscribe'](_0x2fa2a4=>{var _0x2376ab=_0x15aa9c;_0x2fa2a4&&!this[_0x2376ab(0x33c)]&&this['reconnect'](),_0x2fa2a4||this[_0x2376ab(0x221)]();}));}[_0x40c17a(0x3b0)](){var _0x59a065=_0x40c17a;super[_0x59a065(0x3b0)](),this['_clearRetryConnectingTimer'](),this[_0x59a065(0x326)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x59a065(0x364)](_0x40b053=>_0x40b053[_0x59a065(0x3b0)]()),this[_0x59a065(0x4c4)][_0x59a065(0x440)](),this[_0x59a065(0x2cd)][_0x59a065(0x395)]();}async[_0x40c17a(0x18c)](_0x414316){var _0x6345e2=_0x40c17a;if(this[_0x6345e2(0x4c4)]['has'](_0x414316))return this[_0x6345e2(0x4c4)]['get'](_0x414316);this[_0x6345e2(0x37d)]();const _0x154d02=this[_0x6345e2(0x2ec)][_0x6345e2(0x3b7)](exports['CollaborationSession'],_0x414316,this[_0x6345e2(0x434)][_0x6345e2(0x2a7)]());return this[_0x6345e2(0x4c4)][_0x6345e2(0x1a8)](_0x414316,_0x154d02),_0x154d02;}['closeSession'](_0x12cbe9){var _0x17b931=_0x40c17a,_0x164d16;const _0x2d4b77=this['_sessions'][_0x17b931(0x210)](_0x12cbe9);_0x2d4b77&&(this[_0x17b931(0x4c4)][_0x17b931(0x1d6)](_0x12cbe9),_0x2d4b77[_0x17b931(0x236)]()),this[_0x17b931(0x4c4)][_0x17b931(0x424)]||(_0x164d16=this[_0x17b931(0x33c)])==null||_0x164d16[_0x17b931(0x236)]();}[_0x40c17a(0x1e5)](){var _0x4f5232=_0x40c17a;this[_0x4f5232(0x28d)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4f5232(0x230)]();}[_0x40c17a(0x1c5)](){var _0x2f8ace=_0x40c17a;this[_0x2f8ace(0x30a)]!=null&&(clearTimeout(this[_0x2f8ace(0x30a)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x29520e=_0x40c17a,_0xf3489a,_0x1919e9;const _0x52993=this[_0x29520e(0x1b2)][_0x29520e(0x34e)](St),_0x5d435d=this['_configService'][_0x29520e(0x34e)](Y),_0x38e6ac=(_0x1919e9=(_0xf3489a=_0x5d435d==null?void 0x0:_0x5d435d[_0x29520e(0x36d)])!=null?_0xf3489a:_0x52993)!=null?_0x1919e9:ft,_0x2efaed=await this[_0x29520e(0x240)][_0x29520e(0x2f1)](_0x38e6ac);return this[_0x29520e(0x2d8)]=_0x2efaed,_0x2efaed;}async['_tryEnsureSocket'](){var _0x1ddc11=_0x40c17a,_0x40913d,_0x4fae21;try{const _0x34376b=(_0x4fae21=(_0x40913d=this[_0x1ddc11(0x33c)])!=null?_0x40913d:this['_candidateSocket'])!=null?_0x4fae21:await this['_createSocket']();if(_0x34376b){const _0x5eb87c=_0x34376b[_0x1ddc11(0x470)];_0x34376b[_0x1ddc11(0x470)]=_0x8f0568=>(this[_0x1ddc11(0x4ca)](),_0x5eb87c[_0x1ddc11(0x220)](_0x34376b,[_0x8f0568])),_0x34376b[_0x1ddc11(0x3ae)][_0x1ddc11(0x3f3)](_0x2edc6a=>this[_0x1ddc11(0x3a7)](_0x34376b,_0x2edc6a)),_0x34376b[_0x1ddc11(0x28c)][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](_0x4e418f=>this[_0x1ddc11(0x190)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4e418f)),_0x34376b['open$'][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](()=>{var _0x33c486=_0x1ddc11;this[_0x33c486(0x2a2)](_0x34376b);}),_0x34376b[_0x1ddc11(0x3b3)][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](_0x2d5cfb=>{var _0x5b9f3a=_0x1ddc11;this[_0x5b9f3a(0x190)]['debug'](_0x5b9f3a(0x492),_0x5b9f3a(0x362),_0x2d5cfb),this[_0x5b9f3a(0x3d7)]();});}}catch(_0x41f5af){this[_0x1ddc11(0x190)][_0x1ddc11(0x45a)](_0x41f5af),this['_onConnectionFailed']();}}[_0x40c17a(0x2a2)](_0x2955bf){var _0xfdd41e=_0x40c17a;this[_0xfdd41e(0x190)][_0xfdd41e(0x1d8)](_0xfdd41e(0x492),_0xfdd41e(0x239)),_0x2955bf[_0xfdd41e(0x470)]({'cmd':W[_0xfdd41e(0x337)]}),this[_0xfdd41e(0x4ca)]();}[_0x40c17a(0x221)](){var _0x58eb82=_0x40c17a;this['_socketReady']=!0x1,this[_0x58eb82(0x2d8)]=null,this[_0x58eb82(0x2cd)][_0x58eb82(0x39d)](se[_0x58eb82(0x455)]),this[_0x58eb82(0x434)][_0x58eb82(0x39d)](null),this['_clearTimeoutTimer'](),this[_0x58eb82(0x3ca)]();}[_0x40c17a(0x3d7)](){var _0x7adf7c=_0x40c17a,_0x46593f;this[_0x7adf7c(0x221)](),this[_0x7adf7c(0x28d)]<((_0x46593f=this[_0x7adf7c(0x1b2)][_0x7adf7c(0x34e)](mt))!=null?_0x46593f:Vt)?(this['_collaborationUIEventService'][_0x7adf7c(0x37e)]({'id':Q[_0x7adf7c(0x4bb)]}),this[_0x7adf7c(0x230)]()):this[_0x7adf7c(0x2a6)][_0x7adf7c(0x37e)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0xd711b7=_0x40c17a,_0x4f3cce;const _0x16cc6b=this['_retryCount'],_0xca7371=this['_configService'][_0xd711b7(0x34e)](Y),_0x2f8774=_0x16cc6b===0x0?0x0:((_0x4f3cce=_0xca7371==null?void 0x0:_0xca7371[_0xd711b7(0x2a4)])!=null?_0x4f3cce:Ft)*0x2**_0x16cc6b;this[_0xd711b7(0x30a)]=setTimeout(()=>{var _0x80fef3=_0xd711b7;clearTimeout(this[_0x80fef3(0x30a)]),this[_0x80fef3(0x30a)]=null,this[_0x80fef3(0x37d)]();},_0x2f8774),this[_0xd711b7(0x28d)]+=0x1;}[_0x40c17a(0x3a7)](_0x2379bf,_0x43a057){var _0x38a970=_0x40c17a;const {cmd:_0x421d85}=_0x43a057;_0x421d85===W[_0x38a970(0x337)]&&!this[_0x38a970(0x30f)]&&(_0x2379bf[_0x38a970(0x4f5)]=_0x43a057['data'][_0x38a970(0x4f5)],this[_0x38a970(0x434)][_0x38a970(0x39d)](_0x2379bf),this[_0x38a970(0x2cd)][_0x38a970(0x39d)](se[_0x38a970(0x4b4)]),this[_0x38a970(0x30f)]=!0x0,this[_0x38a970(0x2d8)]=null),_0x421d85===W[_0x38a970(0x3d1)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x40c17a(0x4ca)](){var _0x56e532=_0x40c17a,_0x16a704;this['_clearHeartbeatTimer'](),this[_0x56e532(0x359)]=setTimeout(()=>this[_0x56e532(0x4ec)](),(_0x16a704=this[_0x56e532(0x1b2)][_0x56e532(0x34e)](pt))!=null?_0x16a704:Bt);}[_0x40c17a(0x4ec)](){var _0x1ce332=_0x40c17a;this[_0x1ce332(0x33c)]['send']({'cmd':W[_0x1ce332(0x3d1)]}),this[_0x1ce332(0x4a2)]();}['_waitForHeartbeatResponse'](){var _0x8f31be=_0x40c17a,_0x197ff0;this[_0x8f31be(0x33f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x197ff0=this[_0x8f31be(0x1b2)][_0x8f31be(0x34e)](je))!=null?_0x197ff0:gt);}[_0x40c17a(0x3ca)](){var _0x34dcc6=_0x40c17a;this[_0x34dcc6(0x359)]!=null&&(clearTimeout(this[_0x34dcc6(0x359)]),this[_0x34dcc6(0x359)]=null);}[_0x40c17a(0x326)](){var _0x323124=_0x40c17a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x323124(0x33f)]),this['_timeoutTimer']=null);}},exports[_0x40c17a(0x313)]=ci([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x40c17a(0x3ba)]),le(0x2,a[_0x40c17a(0x342)]),le(0x3,$e),le(0x4,a[_0x40c17a(0x3e8)](te)),le(0x5,a[_0x40c17a(0x385)](bt))],exports[_0x40c17a(0x313)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x40c17a(0x48a)]((n+0x100)[_0x40c17a(0x285)](0x10)['slice'](0x1));function hi(_0x2ff6f7,_0x12f1a8=0x0){return(G[_0x2ff6f7[_0x12f1a8+0x0]]+G[_0x2ff6f7[_0x12f1a8+0x1]]+G[_0x2ff6f7[_0x12f1a8+0x2]]+G[_0x2ff6f7[_0x12f1a8+0x3]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x4]]+G[_0x2ff6f7[_0x12f1a8+0x5]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x6]]+G[_0x2ff6f7[_0x12f1a8+0x7]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x8]]+G[_0x2ff6f7[_0x12f1a8+0x9]]+'-'+G[_0x2ff6f7[_0x12f1a8+0xa]]+G[_0x2ff6f7[_0x12f1a8+0xb]]+G[_0x2ff6f7[_0x12f1a8+0xc]]+G[_0x2ff6f7[_0x12f1a8+0xd]]+G[_0x2ff6f7[_0x12f1a8+0xe]]+G[_0x2ff6f7[_0x12f1a8+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0xbf4df7=_0x40c17a;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0xbf4df7(0x211)][_0xbf4df7(0x2a0)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x40c17a(0x1c4)][_0x40c17a(0x2a0)](crypto),qe={'randomUUID':ui};function di(_0x1abec6,_0x11d4f3,_0x142147){var _0x3de71d=_0x40c17a,_0x1b739a,_0x19d099,_0x3d6b1;if(qe[_0x3de71d(0x1c4)]&&!_0x1abec6)return qe[_0x3de71d(0x1c4)]();_0x1abec6=_0x1abec6||{};const _0x2a79a5=(_0x3d6b1=(_0x19d099=_0x1abec6[_0x3de71d(0x328)])!=null?_0x19d099:(_0x1b739a=_0x1abec6['rng'])==null?void 0x0:_0x1b739a[_0x3de71d(0x1f6)](_0x1abec6))!=null?_0x3d6b1:_i();if(_0x2a79a5['length']<0x10)throw new Error(_0x3de71d(0x22a));return _0x2a79a5[0x6]=_0x2a79a5[0x6]&0xf|0x40,_0x2a79a5[0x8]=_0x2a79a5[0x8]&0x3f|0x80,hi(_0x2a79a5);}const z=a[_0x40c17a(0x312)](_0x40c17a(0x3f9));function vi(_0x194fb0){var _0x37836c=_0x40c17a;return _0x37836c(0x428)+_0x194fb0;}var Si=Object[_0x40c17a(0x2fb)],fi=(_0x7688fb,_0x1948cf,_0x14311e,_0x7b15af)=>{var _0x5370e6=_0x40c17a;for(var _0x4eb5b5=_0x7b15af>0x1?void 0x0:_0x7b15af?Si(_0x1948cf,_0x14311e):_0x1948cf,_0x3671b7=_0x7688fb[_0x5370e6(0x2be)]-0x1,_0x263809;_0x3671b7>=0x0;_0x3671b7--)(_0x263809=_0x7688fb[_0x3671b7])&&(_0x4eb5b5=_0x263809(_0x4eb5b5)||_0x4eb5b5);return _0x4eb5b5;},Ae=(_0x3d773b,_0x508e55)=>(_0x462ad9,_0x5600cd)=>_0x508e55(_0x462ad9,_0x5600cd,_0x3d773b);function pi(_0x4ffe24){var _0x36f6d3=_0x40c17a;const {unitID:_0x43d483,mutations:_0x288313}=_0x4ffe24;return{'unitId':_0x43d483,'subUnitId':_0x288313[0x0][_0x36f6d3(0x432)][_0x36f6d3(0x2e0)]};}exports[_0x40c17a(0x2d3)]=class{constructor(_0x225b78,_0x1f312a,_0x4d5923){var _0x31b053=_0x40c17a;this[_0x31b053(0x2ec)]=_0x225b78,this[_0x31b053(0x43f)]=_0x1f312a,this[_0x31b053(0x444)]=_0x4d5923;}[_0x40c17a(0x3eb)](_0x12657a){var _0x4ec129=_0x40c17a,_0x1ca2c3,_0x36a49e,_0x1632f2,_0x154337;const _0x6f4a28=this['_injector'][_0x4ec129(0x210)](Z[_0x4ec129(0x345)]),{unitId:_0x15741a,subUnitId:_0x2b4fa7}=pi(_0x12657a),_0x3df119=_0x6f4a28==null?void 0x0:_0x6f4a28[_0x4ec129(0x425)](_0x15741a)[_0x4ec129(0x31c)](),_0x112c7a=(_0x36a49e=(_0x1ca2c3=this['_instanceService'][_0x4ec129(0x39a)](_0x15741a))==null?void 0x0:_0x1ca2c3[_0x4ec129(0x32d)]())==null?void 0x0:_0x36a49e[_0x4ec129(0x4eb)]();if(_0x3df119[_0x4ec129(0x2be)]===0x0||!_0x15741a||!_0x2b4fa7)return;const _0x227e09=[{'id':Z[_0x4ec129(0x360)]['id'],'params':{'unitId':_0x15741a,'subUnitId':_0x112c7a,'selections':a['Tools'][_0x4ec129(0x2d9)](_0x3df119)}}],_0x2454dd=this[_0x4ec129(0x43f)][_0x4ec129(0x4cb)](_0x12657a,_0x227e09);if(!g['isTransformMutationsWithChangesetSuccess'](_0x2454dd))throw _0x2454dd[_0x4ec129(0x45a)];const _0x3b3184=(_0x154337=(_0x1632f2=_0x2454dd[_0x4ec129(0x367)][0x0])==null?void 0x0:_0x1632f2[_0x4ec129(0x432)])==null?void 0x0:_0x154337['selections'];if(Array[_0x4ec129(0x378)](_0x3b3184)&&_0x3b3184[_0x4ec129(0x2be)]){if(_0x3b3184['length']===_0x227e09[0x0][_0x4ec129(0x432)][_0x4ec129(0x25a)][_0x4ec129(0x2be)]&&_0x3b3184[_0x4ec129(0x1e3)]((_0x2ebcbc,_0x3c1cb2)=>a[_0x4ec129(0x4f9)]['equals'](_0x2ebcbc['range'],_0x227e09[0x0][_0x4ec129(0x432)][_0x4ec129(0x25a)][_0x3c1cb2][_0x4ec129(0x311)])))return;this[_0x4ec129(0x2ec)][_0x4ec129(0x210)](a[_0x4ec129(0x21b)])[_0x4ec129(0x208)](Z[_0x4ec129(0x360)]['id'],{'unitId':_0x15741a,'subUnitId':_0x112c7a,'selections':_0x3b3184});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x40c17a(0x1bf)])],exports[_0x40c17a(0x2d3)]);const ve=a['createIdentifier'](_0x40c17a(0x16e));var Fe=(_0xbc05d1=>(_0xbc05d1[_0xbc05d1[_0x40c17a(0x244)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xbc05d1[_0xbc05d1['OTHER_CLIENTS_EDITING']=0x1]=_0x40c17a(0x4a5),_0xbc05d1))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x2c1bd1,_0x497247,_0x2967ba,_0x201df0,_0x55eff8){var _0x13a135=_0x40c17a,_0x54b4d2,_0x16c401,_0x4b014b,_0x14446d;const _0xb95d57=[];for(const _0x214181 of _0x2c1bd1)if(gi[_0x13a135(0x405)](_0x214181['id'])){if(_0xb95d57[_0x13a135(0x2be)]>0x0)break;_0xb95d57[_0x13a135(0x48a)](_0x214181);break;}else _0xb95d57['push'](_0x214181);const _0x7f157d=(_0x16c401=(_0x54b4d2=_0x55eff8[_0x13a135(0x265)]())==null?void 0x0:_0x54b4d2['userID'])!=null?_0x16c401:'unknown',_0x1bf674=(_0x14446d=(_0x4b014b=_0x55eff8[_0x13a135(0x265)]())==null?void 0x0:_0x4b014b[_0x13a135(0x4f5)])!=null?_0x14446d:'unknown';return{'changeset':{'unitID':_0x497247,'type':g[_0x13a135(0x460)](_0x2967ba[_0x13a135(0x3fa)](_0x497247)),'baseRev':_0x201df0['getCurrentRevOfUnit'](_0x497247),'revision':0x0,'userID':_0x7f157d,'memberID':_0x1bf674,'mutations':_0xb95d57},'pendingMutations':_0x2c1bd1[_0x13a135(0x24c)](_0xb95d57[_0x13a135(0x2be)])};}function mi(_0x961dad,_0x526ce2,_0x425bbd,_0x8b9d18,_0x517ac8){var _0x4a308a=_0x40c17a,_0x3a3a6e,_0x46b21e,_0x541c34,_0x3a425e;const _0x4da201=[_0x961dad[_0x4a308a(0x2a9)]((_0x1e5ddb,_0x2ae646)=>{var _0x5342a9=_0x4a308a,_0x1dc6e5;const {id:_0x304861}=_0x1e5ddb,{id:_0x2ead43,type:_0x501313}=_0x2ae646,_0xa7b1b0=(_0x1dc6e5=_0x1e5ddb[_0x5342a9(0x432)])!=null?_0x1dc6e5:{'actions':null},_0x1fe188=_0x2ae646[_0x5342a9(0x432)];if(_0x304861&&_0x304861!==_0x2ead43)throw new Error(_0x5342a9(0x401)+_0x304861+_0x5342a9(0x43c)+_0x2ead43+'.');return{..._0x1e5ddb,'id':_0x2ead43,'type':_0x501313,'params':{'unitId':_0x1fe188['unitId'],'textRanges':_0x1fe188[_0x5342a9(0x26e)],'actions':a[_0x5342a9(0x2bf)][_0x5342a9(0x18e)](_0xa7b1b0[_0x5342a9(0x24e)],_0x1fe188[_0x5342a9(0x24e)])}};},{})],_0x2ee1d9=(_0x46b21e=(_0x3a3a6e=_0x517ac8[_0x4a308a(0x265)]())==null?void 0x0:_0x3a3a6e[_0x4a308a(0x23f)])!=null?_0x46b21e:_0x4a308a(0x3c3),_0x2450a5=(_0x3a425e=(_0x541c34=_0x517ac8[_0x4a308a(0x265)]())==null?void 0x0:_0x541c34['memberID'])!=null?_0x3a425e:_0x4a308a(0x3c3);return{'changeset':{'unitID':_0x526ce2,'type':g['mapDocumentTypeToUniverType'](_0x425bbd[_0x4a308a(0x3fa)](_0x526ce2)),'baseRev':_0x8b9d18[_0x4a308a(0x397)](_0x526ce2),'revision':0x0,'userID':_0x2ee1d9,'memberID':_0x2450a5,'mutations':_0x4da201},'pendingMutations':[]};}function yt(_0x17ef64,_0x2bb154){var _0xff132a=_0x40c17a;const _0x385bac=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x385bac[_0xff132a(0x39d)](_0x2bb154),_0x17ef64),_0x385bac['asObservable']()[_0xff132a(0x26c)](j['take'](0x1));}const Ii={'id':Z[_0x40c17a(0x42a)]['id'],'type':a['CommandType'][_0x40c17a(0x406)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0xec8374,_0x1cd7fd,_0x8f2ce6,_0x214523)=>{for(var _0x46e5e8=_0x214523>0x1?void 0x0:_0x214523?Ei(_0x1cd7fd,_0x8f2ce6):_0x1cd7fd,_0x511e71=_0xec8374['length']-0x1,_0x58467d;_0x511e71>=0x0;_0x511e71--)(_0x58467d=_0xec8374[_0x511e71])&&(_0x46e5e8=_0x58467d(_0x46e5e8)||_0x46e5e8);return _0x46e5e8;},w=(_0xb4f937,_0x53d65a)=>(_0x8f4f95,_0x5cafa4)=>_0x53d65a(_0x8f4f95,_0x5cafa4,_0xb4f937),Ve=(_0x2a9dc2=>(_0x2a9dc2[_0x40c17a(0x174)]='not_collab',_0x2a9dc2[_0x40c17a(0x369)]=_0x40c17a(0x3a0),_0x2a9dc2[_0x40c17a(0x306)]=_0x40c17a(0x330),_0x2a9dc2[_0x40c17a(0x1af)]=_0x40c17a(0x443),_0x2a9dc2[_0x40c17a(0x1ec)]='awaiting_with_pending',_0x2a9dc2[_0x40c17a(0x3c0)]=_0x40c17a(0x372),_0x2a9dc2['CONFLICT']=_0x40c17a(0x2b2),_0x2a9dc2['OFFLINE']=_0x40c17a(0x4ac),_0x2a9dc2))(Ve||{});const Nt=0xea60;class he{constructor(_0x450de1,_0x522eb9,_0x49c1bc,_0x288881,_0x6facc9,_0x3af09b,_0x2917d7,_0x5d26e1,_0x57cd26){var _0x1e18db=_0x40c17a;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this['unitID']=_0x450de1,this[_0x1e18db(0x463)]=_0x522eb9,this[_0x1e18db(0x1cc)]=_0x6facc9,this[_0x1e18db(0x3f6)]=_0x3af09b,this[_0x1e18db(0x23b)]=_0x2917d7,this[_0x1e18db(0x335)]=_0x5d26e1,this[_0x1e18db(0x2c7)]=_0x57cd26,this[_0x1e18db(0x1ca)]=_0x49c1bc,this[_0x1e18db(0x1a5)]=_0x288881);}[_0x40c17a(0x4b3)](_0x42c415){var _0x26b978=_0x40c17a;const _0x506088=this['_revisionService'][_0x26b978(0x397)](this[_0x26b978(0x465)]);return _0x42c415['revision']>_0x506088+0x1?(this['_handler'][_0x26b978(0x4cc)]({'from':_0x506088,'to':_0x42c415[_0x26b978(0x250)]-0x1}),!0x0):!0x1;}[_0x40c17a(0x34a)](_0x1b6ccd){var _0x1af0d2=_0x40c17a;this['_undoRedoService']['transformUndoRedo'](this[_0x1af0d2(0x465)],_0x1b6ccd);}[_0x40c17a(0x3fc)](_0x18cefe){var _0xc4bc61=_0x40c17a,_0x37cc75,_0x409f12;(_0x409f12=(_0x37cc75=this[_0xc4bc61(0x1cc)])[_0xc4bc61(0x2f9)])==null||_0x409f12[_0xc4bc61(0x1f6)](_0x37cc75,_0x18cefe);}[_0x40c17a(0x1bd)](_0x4e0383){var _0x25ea53=_0x40c17a,_0x2a6f56,_0x14376c;return(_0x14376c=(_0x2a6f56=this[_0x25ea53(0x1cc)])[_0x25ea53(0x39c)])==null?void 0x0:_0x14376c['call'](_0x2a6f56,_0x4e0383);}[_0x40c17a(0x298)](_0x4d1a9e){var _0x264696=_0x40c17a,_0x41a20b,_0x3aa8b6;return(_0x3aa8b6=(_0x41a20b=this[_0x264696(0x1cc)])[_0x264696(0x18b)])==null?void 0x0:_0x3aa8b6[_0x264696(0x1f6)](_0x41a20b,_0x4d1a9e);}['_transformRemoteChangesetByIMECache'](_0x935d6f){var _0x209529=_0x40c17a,_0x25e25b,_0x57a4ca,_0x14a6e8;return(_0x14a6e8=(_0x57a4ca=(_0x25e25b=this[_0x209529(0x1cc)])[_0x209529(0x269)])==null?void 0x0:_0x57a4ca[_0x209529(0x1f6)](_0x25e25b,_0x935d6f))!=null?_0x14a6e8:_0x935d6f;}[_0x40c17a(0x4d6)](_0x41cd2a){var _0x5c4f8d=_0x40c17a,_0x25c178,_0x1b7905,_0x27b08d;return(_0x27b08d=(_0x1b7905=(_0x25c178=this[_0x5c4f8d(0x1cc)])[_0x5c4f8d(0x26b)])==null?void 0x0:_0x1b7905[_0x5c4f8d(0x1f6)](_0x25c178,_0x41cd2a))!=null?_0x27b08d:_0x41cd2a;}[_0x40c17a(0x36c)](_0x5d3072){var _0xb3c1e6=_0x40c17a,_0x4cbea3,_0x155f49;if(this[_0xb3c1e6(0x463)]===X[_0xb3c1e6(0x3fd)]){const {unitID:_0x38c4ed,mutations:_0x20cb55,memberID:_0x9d8a09}=_0x5d3072,_0x41d0fd=_0x20cb55[0x0][_0xb3c1e6(0x432)][_0xb3c1e6(0x26e)];Array['isArray'](_0x41d0fd)&&_0x41d0fd['length']>0x0&&((_0x155f49=(_0x4cbea3=this[_0xb3c1e6(0x1cc)])['onSyncEditingCollabCursor'])==null||_0x155f49[_0xb3c1e6(0x1f6)](_0x4cbea3,{'unitID':_0x38c4ed,'memberID':_0x9d8a09,'textRanges':_0x41d0fd}));}}[_0x40c17a(0x48b)](){var _0x122db3=_0x40c17a,_0x262434;(_0x262434=this['_localCacheService'])==null||_0x262434[_0x122db3(0x422)](this[_0x122db3(0x465)],this['type'],this[_0x122db3(0x1ca)],this['_pendingMutations']);}[_0x40c17a(0x29b)](){var _0x36f2ff=_0x40c17a;return this[_0x36f2ff(0x335)]['getCurrentRevOfUnit'](this[_0x36f2ff(0x465)]);}['_incrementRevisionNumber'](){var _0x69c972=_0x40c17a;this['_revisionService']['incrementRevOfUnit'](this[_0x69c972(0x465)]);}[_0x40c17a(0x2f2)](_0x146ab4){var _0x2d243c=_0x40c17a,_0x348d0b;let _0x4a04e4=this[_0x2d243c(0x3cf)](_0x146ab4);_0x4a04e4=this['_transformRemoteChangesetByStateCache'](_0x4a04e4);const _0x4eb941=a[_0x2d243c(0x456)](_0x4a04e4[_0x2d243c(0x1c0)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4eb941[_0x2d243c(0x1c9)])throw _0x4eb941[_0x2d243c(0x45a)]instanceof Error?_0x4eb941['error']:new Error((_0x348d0b=_0x4eb941[_0x2d243c(0x45a)])!=null?_0x348d0b:_0x2d243c(0x1d9));this[_0x2d243c(0x1bd)](_0x4a04e4),this[_0x2d243c(0x298)](_0x4a04e4),this[_0x2d243c(0x34a)](_0x146ab4),this[_0x2d243c(0x3fc)](_0x4a04e4),this[_0x2d243c(0x36c)](_0x4a04e4),this[_0x2d243c(0x1e0)]();}}exports[_0x40c17a(0x35f)]=class extends he{constructor(_0x15d333,_0x13fe0b,_0x5952ef,_0x3fe471,_0xd8bfe5,_0x2b6d58,_0x5e0e1e,_0x25dba1,_0x49878b,_0x242dbe){var _0x33d9b9=_0x40c17a;super(_0x15d333,_0x13fe0b,null,[],_0x5952ef,_0x5e0e1e,_0x2b6d58,_0x3fe471,_0x242dbe),A(this,_0x33d9b9(0x17d),'synced'),(this[_0x33d9b9(0x2ec)]=_0xd8bfe5,this[_0x33d9b9(0x190)]=_0x25dba1,this[_0x33d9b9(0x43f)]=_0x49878b,this[_0x33d9b9(0x45b)]=_0x242dbe);}[_0x40c17a(0x464)](_0x14bddf){var _0x4347df=_0x40c17a;const _0x19638b=this[_0x4347df(0x2ec)][_0x4347df(0x3b7)](exports['PendingState'],this[_0x4347df(0x465)],this[_0x4347df(0x463)],[_0x14bddf],this[_0x4347df(0x1cc)]);return _0x19638b[_0x4347df(0x35d)](),_0x19638b['_updateLocalCache'](),_0x19638b;}[_0x40c17a(0x2e9)](_0x1a76a1){var _0x500c4b=_0x40c17a;if(this[_0x500c4b(0x4b3)](_0x1a76a1))return this[_0x500c4b(0x2ec)][_0x500c4b(0x3b7)](exports['FetchingMissState'],this[_0x500c4b(0x465)],this[_0x500c4b(0x463)],null,[],null,[_0x1a76a1],this[_0x500c4b(0x1cc)]);try{const _0x4b5b52=this['_transformService']['transformMutationsWithChangeset'](_0x1a76a1,[Ii]);if(g[_0x500c4b(0x2d4)](_0x4b5b52)){const {c1Prime:_0x4613d4}=_0x4b5b52;return this[_0x500c4b(0x2f2)](_0x4613d4),this;}throw _0x4b5b52[_0x500c4b(0x45a)];}catch(_0x1e4b3e){return this['_logService'][_0x500c4b(0x45a)](_0x1e4b3e),this[_0x500c4b(0x3bd)](!0x1);}}[_0x40c17a(0x3bd)](_0x12550e){var _0x125415=_0x40c17a;return this[_0x125415(0x2ec)][_0x125415(0x3b7)](exports[_0x125415(0x415)],this[_0x125415(0x465)],this[_0x125415(0x463)],null,[],this[_0x125415(0x1cc)],_0x12550e);}[_0x40c17a(0x200)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x40c17a(0x437)](){var _0x494c11=_0x40c17a;throw new Error(_0x494c11(0x1e4));}['onRemoteRetry'](){return this;}[_0x40c17a(0x418)](){var _0x170ce3=_0x40c17a;return this['_injector'][_0x170ce3(0x3b7)](exports[_0x170ce3(0x3c6)],this[_0x170ce3(0x465)],this[_0x170ce3(0x463)],null,[],this[_0x170ce3(0x1cc)]);}['toggleOnline'](){return this;}['resend'](){var _0x32b366=_0x40c17a;throw new Error(_0x32b366(0x46d));}[_0x40c17a(0x42e)](){var _0x26ca57=_0x40c17a;const _0x22de54=this['_revisionService']['getCurrentRevOfUnit'](this[_0x26ca57(0x465)]);return this[_0x26ca57(0x1cc)][_0x26ca57(0x4cc)]({'from':_0x22de54,'to':0x0}),this[_0x26ca57(0x2ec)][_0x26ca57(0x3b7)](exports['FetchingMissState'],this[_0x26ca57(0x465)],this[_0x26ca57(0x463)],null,[],null,[],this[_0x26ca57(0x1cc)]);}},exports[_0x40c17a(0x35f)]=ce([w(0x3,a['Inject'](g['RevisionService'])),w(0x4,a['Inject'](a[_0x40c17a(0x325)])),w(0x5,a[_0x40c17a(0x41f)]),w(0x6,a[_0x40c17a(0x21b)]),w(0x7,a[_0x40c17a(0x3ba)]),w(0x8,g[_0x40c17a(0x309)]),w(0x9,a['Optional'](z))],exports[_0x40c17a(0x35f)]),exports[_0x40c17a(0x2cf)]=class extends he{constructor(_0x36477d,_0x363730,_0x363172,_0x1ccd00,_0x186873,_0x1241a8,_0x248a8e,_0x424dc7,_0xb1190c,_0x47b20f,_0x9724c8,_0x8e1d20,_0x25c6e2,_0xb35db6){var _0x69636e=_0x40c17a;super(_0x36477d,_0x363730,null,_0x363172,_0x1ccd00,_0xb1190c,_0x25c6e2,_0x1241a8,_0xb35db6),A(this,_0x69636e(0x17d),_0x69636e(0x330)),A(this,_0x69636e(0x376),null),A(this,_0x69636e(0x3b8),null),(this[_0x69636e(0x2ec)]=_0x186873,this[_0x69636e(0x4a7)]=_0x248a8e,this[_0x69636e(0x190)]=_0x424dc7,this['_configService']=_0x47b20f,this[_0x69636e(0x43f)]=_0x9724c8,this['_univerInstanceService']=_0x8e1d20);}[_0x40c17a(0x464)](_0x33cedd){var _0x32c0a9=_0x40c17a;return this[_0x32c0a9(0x1a5)]['push'](_0x33cedd),this[_0x32c0a9(0x48b)](),this;}[_0x40c17a(0x2e9)](_0x2ce7ac){var _0x313490=_0x40c17a;if(this[_0x313490(0x4b3)](_0x2ce7ac))return this['_clearScheduledTask'](),this[_0x313490(0x2ec)][_0x313490(0x3b7)](exports['FetchingMissState'],this[_0x313490(0x465)],this[_0x313490(0x463)],null,this[_0x313490(0x1a5)],null,[_0x2ce7ac],this[_0x313490(0x1cc)]);try{const _0x11bc47=this[_0x313490(0x43f)]['transformMutationsWithChangeset'](_0x2ce7ac,this['_pendingMutations']);if(g[_0x313490(0x2d4)](_0x11bc47)){const {c1Prime:_0x1db568,m2Prime:_0x542261}=_0x11bc47;this[_0x313490(0x2f2)](_0x1db568);const _0xb8bb83=this['_injector'][_0x313490(0x3b7)](exports[_0x313490(0x2cf)],this[_0x313490(0x465)],this[_0x313490(0x463)],_0x542261,this[_0x313490(0x1cc)]);this[_0x313490(0x41c)]();const _0x1cc819=new Date()[_0x313490(0x175)](),_0x5b1e83=this['_scheduleCompleteTimestamp']?Math[_0x313490(0x1a4)](this[_0x313490(0x376)]-_0x1cc819,0x0):this[_0x313490(0x332)]();return _0xb8bb83[_0x313490(0x35d)](_0x5b1e83),_0xb8bb83;}throw _0x11bc47[_0x313490(0x45a)];}catch(_0x4b9694){return this[_0x313490(0x190)][_0x313490(0x45a)](_0x4b9694),this[_0x313490(0x3bd)](!0x1);}}['onRemoteAck'](){var _0x5ad452=_0x40c17a;throw new Error(_0x5ad452(0x454));}['onRemoteRej'](){var _0x459499=_0x40c17a;throw new Error(_0x459499(0x3cb));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){var _0x4efd00=_0x40c17a;return this[_0x4efd00(0x41c)](),this[_0x4efd00(0x2ec)][_0x4efd00(0x3b7)](exports[_0x4efd00(0x3c6)],this[_0x4efd00(0x465)],this[_0x4efd00(0x463)],null,this[_0x4efd00(0x1a5)],this[_0x4efd00(0x1cc)]);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x35d)](_0x3e499c){var _0x46476a=_0x40c17a;const _0x23b367=_0x3e499c!=null?_0x3e499c:this[_0x46476a(0x332)]();this[_0x46476a(0x376)]=new Date()['getTime']()+_0x23b367,this['_sendingTimer']=setTimeout(()=>{var _0x1da41b=_0x46476a;this[_0x1da41b(0x41c)]();let _0x200522=null;switch(this[_0x1da41b(0x463)]){case X[_0x1da41b(0x20b)]:{_0x200522=ze(this[_0x1da41b(0x1a5)],this[_0x1da41b(0x465)],this['_univerInstanceService'],this[_0x1da41b(0x335)],this[_0x1da41b(0x4a7)]);break;}case X[_0x1da41b(0x3fd)]:{this['_pendingMutations'][_0x1da41b(0x1e3)](_0x8b49c5=>_0x8b49c5['id']===ut[_0x1da41b(0x1ae)]['id'])?_0x200522=mi(this[_0x1da41b(0x1a5)],this[_0x1da41b(0x465)],this[_0x1da41b(0x16d)],this[_0x1da41b(0x335)],this[_0x1da41b(0x4a7)]):_0x200522=ze(this[_0x1da41b(0x1a5)],this['unitID'],this[_0x1da41b(0x16d)],this['_revisionService'],this[_0x1da41b(0x4a7)]);break;}default:throw new Error(_0x1da41b(0x18f)+this[_0x1da41b(0x463)]+'\x20in\x20_schedule.');}const {changeset:_0xfe5832,pendingMutations:_0x192d4b}=_0x200522;this['_handler']['onSendChangeset'](_0xfe5832);const _0x5544b5=_0x192d4b[_0x1da41b(0x2be)]?this[_0x1da41b(0x2ec)][_0x1da41b(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x1da41b(0x463)],_0xfe5832,_0x192d4b,this[_0x1da41b(0x1cc)],void 0x0):this[_0x1da41b(0x2ec)][_0x1da41b(0x3b7)](exports[_0x1da41b(0x327)],this[_0x1da41b(0x465)],this[_0x1da41b(0x463)],_0xfe5832,this['_handler']);_0x5544b5['_updateLocalCache'](),this[_0x1da41b(0x1cc)][_0x1da41b(0x31b)](this,_0x5544b5);},_0x23b367);}[_0x40c17a(0x332)](){var _0x4744d1=_0x40c17a,_0x4ad0c2;const _0x53a7ca=this[_0x4744d1(0x1b2)][_0x4744d1(0x34e)](Y);return(_0x4ad0c2=_0x53a7ca==null?void 0x0:_0x53a7ca[_0x4744d1(0x2e5)])!=null?_0x4ad0c2:jt;}[_0x40c17a(0x324)](){var _0x13a209=_0x40c17a;throw new Error(_0x13a209(0x2ae));}[_0x40c17a(0x41c)](){var _0x3f5cd8=_0x40c17a;this[_0x3f5cd8(0x3b8)]!=null&&(clearTimeout(this[_0x3f5cd8(0x3b8)]),this[_0x3f5cd8(0x3b8)]=null);}[_0x40c17a(0x3bd)](_0x328f69){var _0x4ad8a6=_0x40c17a;return this['_clearScheduledTask'](),this['_injector'][_0x4ad8a6(0x3b7)](exports[_0x4ad8a6(0x415)],this[_0x4ad8a6(0x465)],this[_0x4ad8a6(0x463)],null,this['_pendingMutations'],this['_handler'],_0x328f69);}},exports['PendingState']=ce([w(0x4,a[_0x40c17a(0x3e8)](a['Injector'])),w(0x5,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0x6,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x41e)])),w(0x7,a['ILogService']),w(0x8,a['ICommandService']),w(0x9,a[_0x40c17a(0x342)]),w(0xa,g['ITransformService']),w(0xb,a[_0x40c17a(0x1bf)]),w(0xc,a[_0x40c17a(0x41f)]),w(0xd,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x2cf)]),exports[_0x40c17a(0x327)]=class extends he{constructor(_0x162cff,_0x2db029,_0x143409,_0x3e9d4b,_0x166d21,_0x32cb11,_0x45465a,_0x3beb10,_0xf5d248,_0x42aac5,_0x989c92){var _0x1e7fe8=_0x40c17a;super(_0x162cff,_0x2db029,_0x143409,[],_0x3e9d4b,_0x45465a,_0x42aac5,_0x32cb11,_0x989c92),A(this,_0x1e7fe8(0x17d),_0x1e7fe8(0x443)),A(this,_0x1e7fe8(0x2a3),0x0),A(this,_0x1e7fe8(0x1f8)),A(this,_0x1e7fe8(0x4a4)),(this['_injector']=_0x166d21,this[_0x1e7fe8(0x190)]=_0x3beb10,this[_0x1e7fe8(0x43f)]=_0xf5d248);}[_0x40c17a(0x464)](_0x2b3f56){var _0x1ec5d8=_0x40c17a;this[_0x1ec5d8(0x41c)]();const _0x5de735=this[_0x1ec5d8(0x2ec)][_0x1ec5d8(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x2b3f56],this['_handler'],this[_0x1ec5d8(0x1f8)]);return _0x5de735[_0x1ec5d8(0x48b)](),_0x5de735;}[_0x40c17a(0x2e9)](_0x3c0509){var _0x57de5e=_0x40c17a;if(this[_0x57de5e(0x4b3)](_0x3c0509))return this[_0x57de5e(0x41c)](),this['_injector']['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x57de5e(0x463)],this['_awaitingChangeset'],[],null,[_0x3c0509],this[_0x57de5e(0x1cc)]);try{const _0x486a43=this[_0x57de5e(0x43f)][_0x57de5e(0x2c1)]([_0x3c0509],[this[_0x57de5e(0x1ca)]],!0x1);if(g[_0x57de5e(0x2dd)](_0x486a43)){const {c1Prime:_0x39575b,c2Prime:_0xa27be9}=_0x486a43;this[_0x57de5e(0x2f2)](_0x39575b[0x0]),_0xa27be9[0x0][_0x57de5e(0x19e)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x2161e0=this[_0x57de5e(0x2ec)][_0x57de5e(0x3b7)](exports['AwaitingState'],this[_0x57de5e(0x465)],this[_0x57de5e(0x463)],_0xa27be9[0x0],this[_0x57de5e(0x1cc)]);return _0x2161e0[_0x57de5e(0x48b)](),_0x2161e0;}return this['_onConflict'](!0x1);}catch(_0x4a30ab){return this['_logService'][_0x57de5e(0x45a)](_0x4a30ab),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x161c9a){var _0x5b5a8b=_0x40c17a;this[_0x5b5a8b(0x41c)]();const _0x44f8fd=this['_revisionService'][_0x5b5a8b(0x397)](this[_0x5b5a8b(0x465)]);if(_0x161c9a['revision']<_0x44f8fd-0x1)return this;if(this[_0x5b5a8b(0x4b3)](_0x161c9a))return this[_0x5b5a8b(0x2ec)][_0x5b5a8b(0x3b7)](exports[_0x5b5a8b(0x24a)],this[_0x5b5a8b(0x465)],this[_0x5b5a8b(0x463)],null,[],this['_awaitingChangeset'],[],this[_0x5b5a8b(0x1cc)]);this['_incrementRevisionNumber']();const _0x58ce91=this[_0x5b5a8b(0x2ec)]['createInstance'](exports['SyncedState'],this[_0x5b5a8b(0x465)],this[_0x5b5a8b(0x463)],this[_0x5b5a8b(0x1cc)]);return _0x58ce91[_0x5b5a8b(0x48b)](),_0x58ce91;}[_0x40c17a(0x437)](_0x454e3c){var _0x1dc18e=_0x40c17a;return this['_onConflict'](!!(_0x454e3c!=null&&_0x454e3c[_0x1dc18e(0x1be)]));}[_0x40c17a(0x399)](_0x5424a5){var _0x31640c=_0x40c17a;return this[_0x31640c(0x2a3)]>Nt?this[_0x31640c(0x418)]():(this['_resendTimer']=yt(this[_0x31640c(0x2a3)],{'timeout':this['_resendTimeout'],'reqId':_0x5424a5[_0x31640c(0x1b7)]}),this['_sender']=this[_0x31640c(0x1f8)][_0x31640c(0x3f3)](({reqId:_0x5ad72f,timeout:_0xef33f3})=>{this['_resendWithTimeout'](_0x5ad72f,_0xef33f3);}),this);}[_0x40c17a(0x418)](){var _0x21b669=_0x40c17a;return this[_0x21b669(0x41c)](),this[_0x21b669(0x2ec)]['createInstance'](exports[_0x21b669(0x3c6)],this[_0x21b669(0x465)],this[_0x21b669(0x463)],this[_0x21b669(0x1ca)],[],this[_0x21b669(0x1cc)]);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x324)](){var _0x3b6cbd=_0x40c17a;this[_0x3b6cbd(0x1cc)]['onSendChangeset'](this[_0x3b6cbd(0x1ca)]);}[_0x40c17a(0x3bd)](_0x5e743f){var _0x7d4178=_0x40c17a;return this[_0x7d4178(0x41c)](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x7d4178(0x465)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5e743f);}[_0x40c17a(0x224)](_0x1c7bce,_0x5ccae0){var _0x2e41b2=_0x40c17a,_0x1f5106;_0x1c7bce===((_0x1f5106=this[_0x2e41b2(0x1ca)])==null?void 0x0:_0x1f5106['reqId'])&&(this['resend'](),this[_0x2e41b2(0x2a3)]=_0x5ccae0===0x0?0x3e8:_0x5ccae0*0x2);}[_0x40c17a(0x41c)](){var _0x53c065=_0x40c17a,_0x13950b;(_0x13950b=this[_0x53c065(0x4a4)])==null||_0x13950b[_0x53c065(0x3cc)](),this[_0x53c065(0x2a3)]=0x0;}},exports[_0x40c17a(0x327)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,g[_0x40c17a(0x309)]),w(0x9,a[_0x40c17a(0x41f)]),w(0xa,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x327)]),exports[_0x40c17a(0x18d)]=class extends he{constructor(_0x1dd95b,_0x30d0bb,_0x3223ba,_0x1f57cc,_0x3798db,_0x374d88,_0x22c661,_0x7e69d7,_0x33ce30,_0x163eab,_0x4f8031,_0x5003cd,_0x4b5152){var _0x2439ad=_0x40c17a;super(_0x1dd95b,_0x30d0bb,_0x3223ba,_0x1f57cc,_0x3798db,_0x33ce30,_0x5003cd,_0x7e69d7,_0x4b5152),A(this,_0x2439ad(0x17d),_0x2439ad(0x258)),A(this,_0x2439ad(0x2a3),0x0),A(this,_0x2439ad(0x1f8)),A(this,_0x2439ad(0x4a4)),(this['_injector']=_0x22c661,this[_0x2439ad(0x190)]=_0x163eab,this['_transformService']=_0x4f8031,this[_0x2439ad(0x45b)]=_0x4b5152,_0x374d88&&(this[_0x2439ad(0x1f8)]=_0x374d88,this[_0x2439ad(0x4a4)]=this[_0x2439ad(0x1f8)][_0x2439ad(0x3f3)](({reqId:_0x2a1da8,timeout:_0x3d97bd})=>{var _0x3d1c5=_0x2439ad;this[_0x3d1c5(0x224)](_0x2a1da8,_0x3d97bd);})));}['appendMutation'](_0x2ab15b){var _0x20e92c=_0x40c17a;return this[_0x20e92c(0x1a5)][_0x20e92c(0x48a)](_0x2ab15b),this;}[_0x40c17a(0x2e9)](_0x56aef8){var _0x3c30f2=_0x40c17a;if(this[_0x3c30f2(0x4b3)](_0x56aef8))return this[_0x3c30f2(0x41c)](),this['_injector'][_0x3c30f2(0x3b7)](exports[_0x3c30f2(0x24a)],this[_0x3c30f2(0x465)],this[_0x3c30f2(0x463)],this[_0x3c30f2(0x1ca)],this[_0x3c30f2(0x1a5)],null,[_0x56aef8],this[_0x3c30f2(0x1cc)]);try{const _0xe8f1cf=this['_transformService']['transformChangesets']([_0x56aef8],[this['_awaitingChangeset']],!0x1);if(g[_0x3c30f2(0x2dd)](_0xe8f1cf)){const {c1Prime:_0x579af0,c2Prime:_0x3ca8f4}=_0xe8f1cf,_0x24aaed=this[_0x3c30f2(0x43f)]['transformMutationsWithChangeset'](_0x579af0[0x0],this[_0x3c30f2(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x24aaed)){const {c1Prime:_0x3e6654,m2Prime:_0x6b44ed}=_0x24aaed;return this['_executeRemoteChangeset'](_0x3e6654),_0x3ca8f4[0x0]['baseRev']=this[_0x3c30f2(0x29b)](),this[_0x3c30f2(0x41c)](),this[_0x3c30f2(0x2ec)][_0x3c30f2(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x3c30f2(0x463)],_0x3ca8f4[0x0],_0x6b44ed,this[_0x3c30f2(0x1cc)],void 0x0);}throw _0x24aaed[_0x3c30f2(0x45a)];}throw _0xe8f1cf['error'];}catch(_0x570d2e){return this['_logService'][_0x3c30f2(0x45a)](_0x570d2e),this[_0x3c30f2(0x3bd)](!0x1);}}[_0x40c17a(0x200)](_0x558df7){var _0x8168e2=_0x40c17a;if(this[_0x8168e2(0x41c)](),this['_checkMissing'](_0x558df7))return this[_0x8168e2(0x2ec)][_0x8168e2(0x3b7)](exports['FetchingMissState'],this['unitID'],this[_0x8168e2(0x463)],null,this[_0x8168e2(0x1a5)],this['_awaitingChangeset'],[],this[_0x8168e2(0x1cc)]);this[_0x8168e2(0x1e0)]();const _0x2aa1e6=this[_0x8168e2(0x2ec)][_0x8168e2(0x3b7)](exports[_0x8168e2(0x2cf)],this[_0x8168e2(0x465)],this[_0x8168e2(0x463)],this[_0x8168e2(0x1a5)],this[_0x8168e2(0x1cc)]);return _0x2aa1e6[_0x8168e2(0x35d)](),_0x2aa1e6[_0x8168e2(0x48b)](),_0x2aa1e6;}[_0x40c17a(0x437)](_0x2b940e){var _0x5a6d3e=_0x40c17a;return this[_0x5a6d3e(0x3bd)](!!(_0x2b940e!=null&&_0x2b940e[_0x5a6d3e(0x1be)]));}[_0x40c17a(0x399)](_0x3c06d4){var _0x530b03=_0x40c17a;return this['_resendTimeout']>Nt?this[_0x530b03(0x418)]():(this['_resendTimer']=yt(this[_0x530b03(0x2a3)],{'timeout':this[_0x530b03(0x2a3)],'reqId':_0x3c06d4['reqId']}),this[_0x530b03(0x4a4)]=this['_resendTimer']['subscribe'](({reqId:_0x50137c,timeout:_0x10491e})=>{var _0x3b7541=_0x530b03;this[_0x3b7541(0x224)](_0x50137c,_0x10491e);}),this);}[_0x40c17a(0x418)](){var _0x40d7a7=_0x40c17a;return this['_clearScheduledTask'](),this[_0x40d7a7(0x2ec)][_0x40d7a7(0x3b7)](exports[_0x40d7a7(0x3c6)],this[_0x40d7a7(0x465)],this['type'],this[_0x40d7a7(0x1ca)],this[_0x40d7a7(0x1a5)],this[_0x40d7a7(0x1cc)]);}['toggleOnline'](){return this;}[_0x40c17a(0x324)](){var _0x3bdb97=_0x40c17a;this[_0x3bdb97(0x1cc)][_0x3bdb97(0x246)](this[_0x3bdb97(0x1ca)]);}[_0x40c17a(0x3bd)](_0x5589a1){var _0x400f54=_0x40c17a;return this[_0x400f54(0x41c)](),this[_0x400f54(0x2ec)][_0x400f54(0x3b7)](exports['ConflictState'],this['unitID'],this[_0x400f54(0x463)],null,this['_pendingMutations'],this['_handler'],_0x5589a1);}['_resendWithTimeout'](_0x4ce044,_0x5e77ba){var _0x5f3307=_0x40c17a,_0x551fff;_0x4ce044===((_0x551fff=this[_0x5f3307(0x1ca)])==null?void 0x0:_0x551fff[_0x5f3307(0x1b7)])&&(this[_0x5f3307(0x324)](),this[_0x5f3307(0x2a3)]=_0x5e77ba===0x0?0x3e8:_0x5e77ba*0x2);}[_0x40c17a(0x41c)](){var _0x15e7f0=_0x40c17a,_0x4a8f0d;(_0x4a8f0d=this[_0x15e7f0(0x4a4)])==null||_0x4a8f0d[_0x15e7f0(0x3cc)](),this[_0x15e7f0(0x2a3)]=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x7,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,g[_0x40c17a(0x309)]),w(0xb,a[_0x40c17a(0x41f)]),w(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x18d)]),exports[_0x40c17a(0x415)]=class extends he{constructor(_0x96c914,_0x3bde33,_0x2fce42,_0x321fa0,_0xa5f84d,_0x1ab36f=!0x1,_0xacce31,_0x5c6aca,_0x216b41,_0x20dd6f,_0x3af94f,_0x4c31e,_0x16accb){var _0x4067ed=_0x40c17a;super(_0x96c914,_0x3bde33,_0x2fce42,_0x321fa0,_0xa5f84d,_0x5c6aca,_0x216b41,_0x20dd6f,_0x16accb),A(this,_0x4067ed(0x17d),_0x4067ed(0x2b2)),(this[_0x4067ed(0x34d)]=_0x1ab36f,this['_permissionService']=_0xacce31,this['_localeService']=_0x3af94f,this[_0x4067ed(0x2a6)]=_0x4c31e,this[_0x4067ed(0x45b)]=_0x16accb,this[_0x4067ed(0x32e)](),this[_0x4067ed(0x223)](),this['_disableEditing']());}[_0x40c17a(0x464)](){return this;}[_0x40c17a(0x2e9)](){return this;}[_0x40c17a(0x200)](){return this;}['onRemoteRej'](){return this;}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){return this;}[_0x40c17a(0x4c3)](){return this;}['resend'](){var _0x214601=_0x40c17a;throw new Error(_0x214601(0x247));}[_0x40c17a(0x223)](){var _0x5732bf=_0x40c17a,_0x426cc7;(_0x426cc7=this[_0x5732bf(0x2c7)])==null||_0x426cc7[_0x5732bf(0x422)](this['unitID'],this[_0x5732bf(0x463)],null,[]);}[_0x40c17a(0x32e)](){var _0x1731cb=_0x40c17a;this[_0x1731cb(0x34d)]?this['_collaborationUIEventService'][_0x1731cb(0x37e)]({'id':Q[_0x1731cb(0x2ed)]}):this[_0x1731cb(0x2a6)]['emitEvent']({'id':Q['CONFLICT']});}[_0x40c17a(0x305)](){var _0x4bd826=_0x40c17a;this[_0x4bd826(0x49e)][_0x4bd826(0x4c0)](new Z[(_0x4bd826(0x49c))](this[_0x4bd826(0x465)])['id'],!0x1);}},exports[_0x40c17a(0x415)]=ce([w(0x6,a[_0x40c17a(0x3e8)](a['IPermissionService'])),w(0x7,a[_0x40c17a(0x21b)]),w(0x8,a[_0x40c17a(0x41f)]),w(0x9,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0xa,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),w(0xb,a[_0x40c17a(0x3e8)](te)),w(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x415)]),exports[_0x40c17a(0x3c6)]=class extends he{constructor(_0x2354d4,_0x445eaa,_0x3c5ee1,_0x545668,_0x1acc2b,_0x512a44,_0x3b06b9,_0x47f7d6,_0x12ddfa,_0x24897c){var _0x37b4a5=_0x40c17a;super(_0x2354d4,_0x445eaa,_0x3c5ee1,_0x545668,_0x1acc2b,_0x47f7d6,_0x12ddfa,_0x3b06b9,_0x24897c),A(this,_0x37b4a5(0x17d),_0x37b4a5(0x4ac)),this['_injector']=_0x512a44;}[_0x40c17a(0x464)](_0x29d6a3){var _0x3a34b6=_0x40c17a;return this[_0x3a34b6(0x1a5)][_0x3a34b6(0x48a)](_0x29d6a3),this['_updateLocalCache'](),this;}[_0x40c17a(0x2e9)](_0x24f76b){var _0x316af2=_0x40c17a;throw new Error(_0x316af2(0x400));}[_0x40c17a(0x200)](){var _0x54f72b=_0x40c17a;throw new Error(_0x54f72b(0x42c));}[_0x40c17a(0x437)](){var _0x184a75=_0x40c17a;throw new Error(_0x184a75(0x483));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){return this;}[_0x40c17a(0x4c3)](){var _0x92dbc0=_0x40c17a;const {_injector:_0x33fa95,_pendingMutations:_0x704079,_awaitingChangeset:_0xd05d42,unitID:_0x55cadd,_handler:_0x1b8405,type:_0x572e5c}=this,_0x47d88f=Dt(_0x33fa95,_0x55cadd,_0x572e5c,_0xd05d42,_0x704079,_0x1b8405);return _0x47d88f instanceof exports['PendingState']?_0x47d88f[_0x92dbc0(0x35d)]():(_0x47d88f instanceof exports[_0x92dbc0(0x18d)]||_0x47d88f instanceof exports[_0x92dbc0(0x327)])&&_0x47d88f[_0x92dbc0(0x324)](),_0x47d88f;}[_0x40c17a(0x324)](){var _0x3ce036=_0x40c17a;throw new Error(_0x3ce036(0x243));}},exports[_0x40c17a(0x3c6)]=ce([w(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),w(0x7,a['ICommandService']),w(0x8,a[_0x40c17a(0x41f)]),w(0x9,a[_0x40c17a(0x385)](z))],exports['OfflineState']),exports[_0x40c17a(0x24a)]=class extends he{constructor(_0x366d03,_0x468055,_0x19c349,_0x5a714c,_0x2fd501,_0x25dde3,_0x19bac5,_0x25948c,_0x18ae43,_0x1a1d78,_0x4a8e46,_0xa3ae57,_0x24f079,_0xa6ada3){var _0x121142=_0x40c17a;super(_0x366d03,_0x468055,_0x19c349,_0x5a714c,_0x19bac5,_0x4a8e46,_0xa3ae57,_0x18ae43,_0xa6ada3),A(this,_0x121142(0x17d),'fetch_missing'),(this[_0x121142(0x382)]=_0x2fd501,this[_0x121142(0x37f)]=_0x25dde3,this['_injector']=_0x25948c,this[_0x121142(0x190)]=_0x1a1d78,this[_0x121142(0x43f)]=_0x24f079,this['localCacheService']=_0xa6ada3);}[_0x40c17a(0x296)](_0x2ff246){var _0x5d405c=_0x40c17a;try{const _0x50c60a=[..._0x2ff246,...this[_0x5d405c(0x37f)]],_0x34a1fd=[this['_awaitingChangeset']||this[_0x5d405c(0x382)]]['filter'](_0x329fee=>!!_0x329fee);let _0x570685,_0x13e079;if(_0x34a1fd['length']){const _0x5065c5=this[_0x5d405c(0x43f)][_0x5d405c(0x2c1)](_0x50c60a,_0x34a1fd,!0x1);if(!g[_0x5d405c(0x2dd)](_0x5065c5))throw _0x5065c5[_0x5d405c(0x45a)];_0x570685=_0x5065c5[_0x5d405c(0x23d)],_0x13e079=_0x5065c5[_0x5d405c(0x26a)];}else _0x570685=_0x50c60a,_0x13e079=[];let _0x2601d4=this[_0x5d405c(0x1a5)];_0x570685[_0x5d405c(0x364)](_0x448b22=>{var _0x585a99=_0x5d405c;let _0xfef810;if(_0x2601d4[_0x585a99(0x2be)]){const _0x4c81ec=this['_transformService'][_0x585a99(0x4cb)](_0x448b22,_0x2601d4);if(!g['isTransformMutationsWithChangesetSuccess'](_0x4c81ec))throw _0x4c81ec['error'];_0xfef810=_0x4c81ec['c1Prime'],_0x2601d4=_0x4c81ec['m2Prime'];}else _0xfef810=_0x448b22;this['_executeRemoteChangeset'](_0xfef810);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d405c(0x1ca)]&&_0x13e079['length']&&(_0x13e079[0x0][_0x5d405c(0x19e)]=this[_0x5d405c(0x29b)]());let _0x273694;if(this[_0x5d405c(0x1ca)]&&_0x2601d4[_0x5d405c(0x2be)]!==0x0)_0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x18d)],this['unitID'],this['type'],_0x13e079[0x0],_0x2601d4,this[_0x5d405c(0x1cc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2601d4[_0x5d405c(0x2be)]===0x0)_0x13e079[0x0][_0x5d405c(0x19e)]=this['_getCurrentRevision'](),_0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x327)],this[_0x5d405c(0x465)],this[_0x5d405c(0x463)],_0x13e079[0x0],this[_0x5d405c(0x1cc)]);else{if(_0x2601d4['length']!==0x0){const _0x59828a=this[_0x5d405c(0x2ec)][_0x5d405c(0x3b7)](exports[_0x5d405c(0x2cf)],this['unitID'],this[_0x5d405c(0x463)],_0x2601d4,this[_0x5d405c(0x1cc)]);_0x59828a[_0x5d405c(0x35d)](),_0x273694=_0x59828a;}else _0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x35f)],this[_0x5d405c(0x465)],this[_0x5d405c(0x463)],this[_0x5d405c(0x1cc)]);}}return _0x273694[_0x5d405c(0x48b)](),_0x273694;}catch(_0x4004b7){return this[_0x5d405c(0x190)][_0x5d405c(0x45a)](_0x5d405c(0x43e),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4004b7),this[_0x5d405c(0x2ec)][_0x5d405c(0x3b7)](exports[_0x5d405c(0x415)],this[_0x5d405c(0x465)],this['type'],this[_0x5d405c(0x1ca)],this[_0x5d405c(0x1a5)],this['_handler'],!0x1);}}[_0x40c17a(0x324)](){var _0x1f7fd2=_0x40c17a;throw new Error(_0x1f7fd2(0x2d0));}['appendMutation'](_0x28327f){var _0xae4722=_0x40c17a;return this[_0xae4722(0x1a5)][_0xae4722(0x48a)](_0x28327f),this;}[_0x40c17a(0x2e9)](_0x35d690){var _0x4e5947=_0x40c17a;return this[_0x4e5947(0x37f)][_0x4e5947(0x48a)](_0x35d690),this;}[_0x40c17a(0x200)](_0x165a01){var _0xe38a52=_0x40c17a;if(this[_0xe38a52(0x1ca)])return this[_0xe38a52(0x382)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x53b6e7){var _0x11e747=_0x40c17a;return this[_0x11e747(0x3bd)](!!(_0x53b6e7!=null&&_0x53b6e7[_0x11e747(0x1be)]));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){var _0x155b1a=_0x40c17a;return this[_0x155b1a(0x2ec)][_0x155b1a(0x3b7)](exports[_0x155b1a(0x3c6)],this['unitID'],this[_0x155b1a(0x463)],this[_0x155b1a(0x1ca)],this['_pendingMutations'],this['_handler']);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x3bd)](_0x1d76bf){var _0x329a00=_0x40c17a;return this[_0x329a00(0x2ec)][_0x329a00(0x3b7)](exports[_0x329a00(0x415)],this[_0x329a00(0x465)],this[_0x329a00(0x463)],this['_awaitingChangeset'],this[_0x329a00(0x1a5)],this['_handler'],_0x1d76bf);}},exports[_0x40c17a(0x24a)]=ce([w(0x7,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x8,a['Inject'](g[_0x40c17a(0x38f)])),w(0x9,a[_0x40c17a(0x3ba)]),w(0xa,a['ICommandService']),w(0xb,a[_0x40c17a(0x41f)]),w(0xc,g[_0x40c17a(0x309)]),w(0xd,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x24a)]);function Dt(_0x5b054f,_0x27e200,_0x52f752,_0x2f5ad8,_0x4d1632,_0x4270dc){var _0x44411e=_0x40c17a;return _0x2f5ad8&&_0x4d1632[_0x44411e(0x2be)]?_0x5b054f[_0x44411e(0x3b7)](exports[_0x44411e(0x18d)],_0x27e200,_0x52f752,_0x2f5ad8,_0x4d1632,_0x4270dc,void 0x0):_0x2f5ad8?_0x5b054f['createInstance'](exports[_0x44411e(0x327)],_0x27e200,_0x52f752,_0x2f5ad8,_0x4270dc):_0x4d1632['length']?_0x5b054f[_0x44411e(0x3b7)](exports['PendingState'],_0x27e200,_0x52f752,_0x4d1632,_0x4270dc):_0x5b054f[_0x44411e(0x3b7)](exports[_0x44411e(0x35f)],_0x27e200,_0x52f752,_0x4270dc);}var Ci=Object[_0x40c17a(0x2fb)],We=(_0x524112,_0x3e44c4,_0x89519f,_0x1bd17f)=>{var _0x196d3d=_0x40c17a;for(var _0x55f1f5=_0x1bd17f>0x1?void 0x0:_0x1bd17f?Ci(_0x3e44c4,_0x89519f):_0x3e44c4,_0x1d62a6=_0x524112[_0x196d3d(0x2be)]-0x1,_0x96cfcc;_0x1d62a6>=0x0;_0x1d62a6--)(_0x96cfcc=_0x524112[_0x1d62a6])&&(_0x55f1f5=_0x96cfcc(_0x55f1f5)||_0x55f1f5);return _0x55f1f5;},$=(_0x1e7834,_0x40d81f)=>(_0xfa1777,_0x564c6c)=>_0x40d81f(_0xfa1777,_0x564c6c,_0x1e7834);exports[_0x40c17a(0x320)]=class extends a['RxDisposable']{constructor(_0x25aa99,_0x44d4fb,_0x591248,_0x1cdd34,_0x27c5cb,_0x4e7cd9,_0x2e7930,_0x9f1def,_0x58af12,_0x56a698,_0x43fc50,_0x1dcfba,_0x524397){var _0x2477f2=_0x40c17a;super(),A(this,_0x2477f2(0x4fb),new j['BehaviorSubject'](null)),A(this,_0x2477f2(0x197),this['_state$'][_0x2477f2(0x2a7)]()),A(this,'_state'),A(this,_0x2477f2(0x26f),!0x1),A(this,_0x2477f2(0x338),''),A(this,_0x2477f2(0x181),0x0),A(this,_0x2477f2(0x48e),this[_0x2477f2(0x197)][_0x2477f2(0x26c)](j[_0x2477f2(0x1ce)](_0x3a1353=>_0x3a1353?_0x3a1353[_0x2477f2(0x17d)]:Ve['OFFLINE']),j[_0x2477f2(0x253)](0x1))),A(this,_0x2477f2(0x4f1),!0x1),A(this,_0x2477f2(0x46a),[]),(this[_0x2477f2(0x465)]=_0x25aa99,this[_0x2477f2(0x459)]=_0x44d4fb,this[_0x2477f2(0x4f8)]=_0x591248,this[_0x2477f2(0x2ec)]=_0x1cdd34,this[_0x2477f2(0x23c)]=_0x27c5cb,this[_0x2477f2(0x2f4)]=_0x4e7cd9,this['_revisionService']=_0x2e7930,this[_0x2477f2(0x2af)]=_0x9f1def,this[_0x2477f2(0x190)]=_0x58af12,this['_commandService']=_0x56a698,this['_permissionService']=_0x43fc50,this[_0x2477f2(0x4dc)]=_0x1dcfba,this[_0x2477f2(0x2c7)]=_0x524397);}get[_0x40c17a(0x2c9)](){var _0x57175f=_0x40c17a;return this[_0x57175f(0x4e9)];}async[_0x40c17a(0x25b)](){var _0x3a8150=_0x40c17a;if(this[_0x3a8150(0x2c9)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x40c17a(0x20e)](){var _0x2e4132=_0x40c17a;return this['_collaborationPaused']=!0x0,a[_0x2e4132(0x202)](()=>{var _0x1b5b10=_0x2e4132;this['_collaborationPaused']=!0x1,this[_0x1b5b10(0x1e8)]();});}[_0x40c17a(0x2cc)](_0x115a69){var _0x4d503b=_0x40c17a;this[_0x4d503b(0x30e)](_0x115a69);}[_0x40c17a(0x3ab)](_0x4c0f35){var _0x1b8ccd=_0x40c17a;this[_0x1b8ccd(0x4e9)]=_0x4c0f35,this[_0x1b8ccd(0x4fb)][_0x1b8ccd(0x39d)](_0x4c0f35);}async[_0x40c17a(0x2df)](){var _0x25a9e5=_0x40c17a,_0x16c182;this[_0x25a9e5(0x3ab)](await this[_0x25a9e5(0x186)]()),this['_singleActiveUnitService']&&((_0x16c182=this[_0x25a9e5(0x4dc)])==null||_0x16c182['editingUnit'](this['unitID']),this[_0x25a9e5(0x499)](this[_0x25a9e5(0x4dc)]['getUnitStatus$'](this['unitID'])[_0x25a9e5(0x3f3)](_0x4c2860=>{var _0x12d0f8=_0x25a9e5;this[_0x12d0f8(0x190)][_0x12d0f8(0x1d8)](_0x12d0f8(0x231),_0x12d0f8(0x256),_0x4c2860),_0x4c2860===Fe[_0x12d0f8(0x4a5)]?(this['_eventService']['emitEvent']({'id':Q[_0x12d0f8(0x321)]}),this[_0x12d0f8(0x49e)][_0x12d0f8(0x4c0)](new Z[(_0x12d0f8(0x49c))](this[_0x12d0f8(0x465)])['id'],!0x1),this[_0x12d0f8(0x49e)][_0x12d0f8(0x4f7)](!0x1)):(this[_0x12d0f8(0x49e)][_0x12d0f8(0x4c0)](new Z[(_0x12d0f8(0x49c))](this['unitID'])['id'],!0x0),this[_0x12d0f8(0x49e)]['setShowComponents'](!0x0));})));let _0x56258d=!0x1;return this[_0x25a9e5(0x499)](this[_0x25a9e5(0x459)][_0x25a9e5(0x4b6)]['subscribe'](_0x4b83a4=>{var _0x5cd9a9=_0x25a9e5;_0x4b83a4===se[_0x5cd9a9(0x4b4)]?this['_toggleOnline'](_0x56258d):_0x4b83a4===se['OFFLINE']&&(_0x56258d=!0x0,this[_0x5cd9a9(0x436)]());})),this[_0x25a9e5(0x499)](this[_0x25a9e5(0x459)]['event$'][_0x25a9e5(0x3f3)](_0x37321d=>{var _0x5e4690=_0x25a9e5;try{switch(_0x37321d[_0x5e4690(0x3d3)]){case g['CollaborationEvent'][_0x5e4690(0x375)]:{this[_0x5e4690(0x3f4)](g['parseProtocolChangeset'](_0x37321d['data']));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x5e4690(0x40e)](_0x37321d[_0x5e4690(0x277)]);break;}case g[_0x5e4690(0x316)][_0x5e4690(0x42d)]:{this[_0x5e4690(0x41d)]();break;}case g[_0x5e4690(0x316)][_0x5e4690(0x1bc)]:{this[_0x5e4690(0x203)](_0x37321d[_0x5e4690(0x277)]);break;}case g[_0x5e4690(0x316)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5e4690(0x431)](_0x37321d[_0x5e4690(0x277)][_0x5e4690(0x420)][_0x5e4690(0x1ce)](_0x45a0f5=>g[_0x5e4690(0x3d6)](_0x45a0f5)));break;}case g[_0x5e4690(0x316)][_0x5e4690(0x38b)]:{this[_0x5e4690(0x41d)]({'isPermissionRej':!0x0});break;}case g[_0x5e4690(0x316)][_0x5e4690(0x16b)]:break;}}catch(_0x2a8692){throw console[_0x5e4690(0x45a)](_0x5e4690(0x1e1),_0x2a8692),_0x2a8692;}})),this[_0x25a9e5(0x4e9)];}['_unlockTransition'](){var _0x3fa9b8=_0x40c17a;this[_0x3fa9b8(0x4f1)]=!0x1;}['_lockTransition'](){var _0x220e28=_0x40c17a;if(this[_0x220e28(0x4f1)])throw new Error(_0x220e28(0x333));this[_0x220e28(0x4f1)]=!0x0;}[_0x40c17a(0x30e)](_0xdd4517){var _0x141960=_0x40c17a;this[_0x141960(0x323)](),this[_0x141960(0x3ab)](this[_0x141960(0x4e9)]['appendMutation'](_0xdd4517)),this[_0x141960(0x4c6)]();}[_0x40c17a(0x3f4)](_0x53eacd){var _0x5a7055=_0x40c17a;if(!(_0x53eacd[_0x5a7055(0x250)]<=this[_0x5a7055(0x335)][_0x5a7055(0x397)](this[_0x5a7055(0x465)]))){if(this[_0x5a7055(0x26f)]){this['_remoteChangesetQueue'][_0x5a7055(0x48a)](_0x53eacd);return;}this[_0x5a7055(0x31e)](_0x53eacd);}}[_0x40c17a(0x1e8)](){var _0x3e8e02=_0x40c17a;this[_0x3e8e02(0x46a)][_0x3e8e02(0x364)](_0x4589c4=>this[_0x3e8e02(0x31e)](_0x4589c4)),this[_0x3e8e02(0x46a)]=[];}['_applyRemoteChangeset'](_0x4ce6a1){var _0x31e842=_0x40c17a;const _0x4084d1=this[_0x31e842(0x23c)][_0x31e842(0x48d)][_0x31e842(0x340)](this[_0x31e842(0x23c)][_0x31e842(0x48d)]['getInterceptPoints']()[_0x31e842(0x4f4)])(_0x4ce6a1[_0x31e842(0x1c0)],null)||_0x4ce6a1['mutations'],_0x2b87b6={..._0x4ce6a1,'mutations':_0x4084d1};this[_0x31e842(0x323)](),this['_updateState'](this[_0x31e842(0x4e9)]['onRemoteChangeset'](_0x2b87b6)),this['_unlockTransition']();}[_0x40c17a(0x40e)](_0x48d015){var _0x3fd93c=_0x40c17a;this['_lockTransition'](),this['_updateState'](this[_0x3fd93c(0x4e9)][_0x3fd93c(0x200)](_0x48d015)),this['_unlockTransition']();}[_0x40c17a(0x41d)](_0xa80db9){var _0x462cff=_0x40c17a;this[_0x462cff(0x323)](),this[_0x462cff(0x3ab)](this['_state'][_0x462cff(0x437)](_0xa80db9)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ac796){var _0x579abc=_0x40c17a;this[_0x579abc(0x323)](),this['_updateState'](this[_0x579abc(0x4e9)]['onRemoteRetry'](_0x4ac796)),this[_0x579abc(0x4c6)]();}[_0x40c17a(0x431)](_0x54659a){var _0x44e7bf=_0x40c17a;if(!(this['_state']instanceof exports[_0x44e7bf(0x24a)]))throw new TypeError(_0x44e7bf(0x235));const _0x2f3f0e=_0x54659a[_0x44e7bf(0x1ce)](_0x4fea0a=>{var _0x2e122b=_0x44e7bf;const _0x2db103=this[_0x2e122b(0x23c)][_0x2e122b(0x48d)][_0x2e122b(0x340)](this[_0x2e122b(0x23c)][_0x2e122b(0x48d)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4fea0a[_0x2e122b(0x1c0)],null)||_0x4fea0a[_0x2e122b(0x1c0)];return{..._0x4fea0a,'mutations':_0x2db103};});this[_0x44e7bf(0x323)](),this[_0x44e7bf(0x3ab)](this[_0x44e7bf(0x4e9)]['onMissedChangesetFetched'](_0x2f3f0e)),this[_0x44e7bf(0x4c6)]();}[_0x40c17a(0x436)](){var _0x47a3ce=_0x40c17a;this[_0x47a3ce(0x323)](),this['_updateState'](this[_0x47a3ce(0x4e9)][_0x47a3ce(0x418)]()),this[_0x47a3ce(0x4c6)]();}[_0x40c17a(0x1e6)](_0x243915=!0x1){var _0x58ef0c=_0x40c17a;this[_0x58ef0c(0x323)](),this[_0x58ef0c(0x3ab)](this[_0x58ef0c(0x4e9)][_0x58ef0c(0x4c3)]()),this[_0x58ef0c(0x4c6)]();const _0x3b87d3=this[_0x58ef0c(0x4e9)];_0x243915&&_0x3b87d3 instanceof exports[_0x58ef0c(0x35f)]&&(this[_0x58ef0c(0x323)](),this[_0x58ef0c(0x3ab)](_0x3b87d3[_0x58ef0c(0x42e)]()),this[_0x58ef0c(0x4c6)]());}async[_0x40c17a(0x186)](){return new Promise(_0x302e13=>{var _0x5dbd07=_0x1551;this[_0x5dbd07(0x459)][_0x5dbd07(0x4b6)]['pipe'](j[_0x5dbd07(0x193)](0x1))[_0x5dbd07(0x3f3)](async _0x450af5=>{var _0x448626=_0x5dbd07;_0x302e13(await this[_0x448626(0x1fb)](_0x450af5===se['ONLINE']));});});}['_createHandler'](){var _0x5c81de=_0x40c17a;const _0x37a0ad=this[_0x5c81de(0x465)];return{'onStateChange':(_0x3b3262,_0x3a40bc)=>{var _0x214e5c=_0x5c81de;if(_0x3b3262!==this[_0x214e5c(0x4e9)])throw new Error(_0x214e5c(0x2f3)+_0x3b3262[_0x214e5c(0x17d)]+'\x0aAfter:\x20'+_0x3a40bc[_0x214e5c(0x17d)]+_0x214e5c(0x212)+this[_0x214e5c(0x4e9)]['status']);this['_updateState'](_0x3a40bc);},'onSendChangeset':_0x477b45=>{var _0x11a7a4=_0x5c81de;_0x477b45[_0x11a7a4(0x49b)]||(_0x477b45[_0x11a7a4(0x49b)]=this['_changesetSessionId'],_0x477b45[_0x11a7a4(0x1b7)]=++this[_0x11a7a4(0x181)]);const _0x593992={'eventID':g[_0x11a7a4(0x316)][_0x11a7a4(0x19a)],'data':{'unitID':_0x477b45[_0x11a7a4(0x465)],'unitType':this[_0x11a7a4(0x4f8)],'changeset':_0x477b45,'memberID':this[_0x11a7a4(0x459)][_0x11a7a4(0x494)]()}};this[_0x11a7a4(0x459)][_0x11a7a4(0x470)](_0x593992,this[_0x11a7a4(0x465)]);},'onMissingChangesets':({from:_0x365272,to:_0x2fe16e})=>{var _0x3de984=_0x5c81de;this[_0x3de984(0x190)]['debug']('[CollaborationEntity]',_0x3de984(0x2da)+_0x365272+'\x20to\x20'+_0x2fe16e);const _0x2e4ed3={'eventID':g[_0x3de984(0x316)][_0x3de984(0x3db)],'data':{'unitID':_0x37a0ad,'unitType':this['_type'],'from':_0x365272,'to':_0x2fe16e}};this[_0x3de984(0x459)][_0x3de984(0x470)](_0x2e4ed3,this[_0x3de984(0x465)]);}};}async['_createInitialStateImpl'](_0x4626de){var _0x7bb586=_0x40c17a,_0x544681,_0x5aa759,_0x4c57db;const _0x474881=await((_0x544681=this[_0x7bb586(0x2c7)])==null?void 0x0:_0x544681[_0x7bb586(0x23e)](this['unitID'])),_0x59a790=(_0x5aa759=_0x474881==null?void 0x0:_0x474881['mutations'])!=null?_0x5aa759:[],_0x1e695a=(_0x4c57db=_0x474881==null?void 0x0:_0x474881[_0x7bb586(0x1e2)])!=null?_0x4c57db:null,_0x42aea7=!!(_0x1e695a!=null&&_0x1e695a['sid'])&&!!(_0x1e695a!=null&&_0x1e695a['reqId']);this[_0x7bb586(0x338)]=_0x42aea7?_0x1e695a[_0x7bb586(0x49b)]:di(),this['_changesetReqId']=_0x42aea7?_0x1e695a['reqId']:0x0;const _0x373aaf=this['unitID'];try{this['_replayCachedMutations'](_0x1e695a,_0x59a790);}catch(_0x53298b){this[_0x7bb586(0x190)][_0x7bb586(0x45a)](_0x53298b);}const _0x261f48=this[_0x7bb586(0x4ba)]();if(_0x4626de){const _0x369b0c=Dt(this[_0x7bb586(0x2ec)],_0x373aaf,this[_0x7bb586(0x4f8)],_0x1e695a,_0x59a790,_0x261f48);return _0x369b0c instanceof exports[_0x7bb586(0x2cf)]?_0x369b0c[_0x7bb586(0x35d)]():(_0x369b0c instanceof exports[_0x7bb586(0x18d)]||_0x369b0c instanceof exports[_0x7bb586(0x327)])&&_0x369b0c[_0x7bb586(0x324)](),_0x369b0c;}return this['_injector'][_0x7bb586(0x3b7)](exports['OfflineState'],_0x373aaf,this[_0x7bb586(0x4f8)],_0x1e695a,_0x59a790,_0x261f48);}[_0x40c17a(0x17c)](_0x587263,_0x5d4c08){var _0x79d9c2=_0x40c17a,_0x5dd837,_0x27e270;const _0x3053b1=this[_0x79d9c2(0x23c)][_0x79d9c2(0x48d)][_0x79d9c2(0x340)](this[_0x79d9c2(0x23c)][_0x79d9c2(0x48d)][_0x79d9c2(0x1a6)]()[_0x79d9c2(0x4f4)]);(_0x5dd837=_0x3053b1((_0x587263==null?void 0x0:_0x587263['mutations'])||[],null))==null||_0x5dd837[_0x79d9c2(0x364)](_0x577664=>this[_0x79d9c2(0x3f6)][_0x79d9c2(0x208)](_0x577664['id'],_0x577664[_0x79d9c2(0x432)])),(_0x27e270=_0x3053b1(_0x5d4c08||[],null))==null||_0x27e270[_0x79d9c2(0x364)](_0x42a0c8=>this[_0x79d9c2(0x3f6)][_0x79d9c2(0x208)](_0x42a0c8['id'],_0x42a0c8[_0x79d9c2(0x432)]));}},exports[_0x40c17a(0x320)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x2fa)])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a[_0x40c17a(0x3e8)](te)),$(0x8,a[_0x40c17a(0x3ba)]),$(0x9,a[_0x40c17a(0x21b)]),$(0xa,a[_0x40c17a(0x49f)]),$(0xb,a[_0x40c17a(0x385)](ve)),$(0xc,a['Optional'](z))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x7a295c,_0x4f98b0,_0x9d063d,_0x301ce1,_0x847bb4,_0x4fa2ab,_0x419b28,_0x546478,_0x4301d8,_0x39f57d,_0x57aaf1,_0x17212e,_0x4b5f8e){var _0x49c1c3=_0x40c17a;super(_0x7a295c,_0x9d063d,_0x4f98b0,_0x301ce1,_0x847bb4,_0x4fa2ab,_0x419b28,_0x546478,_0x4301d8,_0x39f57d,_0x57aaf1,_0x17212e,_0x4b5f8e),A(this,_0x49c1c3(0x4a0),null),(this['unitID']=_0x7a295c,this['type']=_0x4f98b0);}[_0x40c17a(0x20f)](_0x427824){var _0x39204a=_0x40c17a;this[_0x39204a(0x4a0)]=_0x427824;}[_0x40c17a(0x3b0)](){var _0x33c242=_0x40c17a;this[_0x33c242(0x4a0)]=null,super['dispose']();}[_0x40c17a(0x4ba)](){var _0x533efd=_0x40c17a;const _0x3bc659=super[_0x533efd(0x4ba)]();return _0x3bc659['onTransformIME']=_0x1faa58=>{var _0x5298e8=_0x533efd,_0x210aa5,_0x1060ba;return(_0x1060ba=(_0x210aa5=this[_0x5298e8(0x4a0)])==null?void 0x0:_0x210aa5[_0x5298e8(0x39c)])==null?void 0x0:_0x1060ba['call'](_0x210aa5,_0x1faa58);},_0x3bc659[_0x533efd(0x18b)]=_0x284d2e=>{var _0x32684d=_0x533efd,_0x1c564f,_0x4db968;return(_0x4db968=(_0x1c564f=this['_handlerCallback'])==null?void 0x0:_0x1c564f['onTransformState'])==null?void 0x0:_0x4db968[_0x32684d(0x1f6)](_0x1c564f,_0x284d2e);},_0x3bc659['onTransformSelections']=_0x5b2b37=>{var _0x283542=_0x533efd,_0x31dc6a,_0x4e83a1;return(_0x4e83a1=(_0x31dc6a=this[_0x283542(0x4a0)])==null?void 0x0:_0x31dc6a['onTransformSelections'])==null?void 0x0:_0x4e83a1[_0x283542(0x1f6)](_0x31dc6a,_0x5b2b37);},_0x3bc659[_0x533efd(0x451)]=_0x2a3936=>{var _0x14808c=_0x533efd,_0x2ef2dd,_0x1217e9;return(_0x1217e9=(_0x2ef2dd=this[_0x14808c(0x4a0)])==null?void 0x0:_0x2ef2dd[_0x14808c(0x451)])==null?void 0x0:_0x1217e9['call'](_0x2ef2dd,_0x2a3936);},_0x3bc659[_0x533efd(0x269)]=_0x18092=>{var _0xcb9720=_0x533efd,_0x561074,_0x4c02ab,_0xc0f12;if(!((_0x561074=this[_0xcb9720(0x4a0)])!=null&&_0x561074[_0xcb9720(0x269)]))throw new Error(_0xcb9720(0x4a3));return(_0xc0f12=(_0x4c02ab=this[_0xcb9720(0x4a0)])==null?void 0x0:_0x4c02ab[_0xcb9720(0x269)])==null?void 0x0:_0xc0f12[_0xcb9720(0x1f6)](_0x4c02ab,_0x18092);},_0x3bc659[_0x533efd(0x26b)]=_0x466b5f=>{var _0x5a37e6=_0x533efd,_0x39ea9e,_0x598d43,_0x4ac3ad;if(!((_0x39ea9e=this[_0x5a37e6(0x4a0)])!=null&&_0x39ea9e[_0x5a37e6(0x26b)]))throw new Error(_0x5a37e6(0x1a0));return(_0x4ac3ad=(_0x598d43=this[_0x5a37e6(0x4a0)])==null?void 0x0:_0x598d43[_0x5a37e6(0x26b)])==null?void 0x0:_0x4ac3ad[_0x5a37e6(0x1f6)](_0x598d43,_0x466b5f);},_0x3bc659;}async[_0x40c17a(0x2df)](){var _0x4477ea=_0x40c17a;const _0xf79f6b=await super[_0x4477ea(0x2df)]();return this[_0x4477ea(0x499)](this['_commandService'][_0x4477ea(0x4d3)]((_0x29601e,_0x3182af)=>{var _0x539df1=_0x4477ea;if(_0x29601e[_0x539df1(0x463)]!==a['CommandType'][_0x539df1(0x406)]||_0x3182af!=null&&_0x3182af[_0x539df1(0x21d)]||_0x3182af!=null&&_0x3182af[_0x539df1(0x2f0)]||_0x29601e['id']===ut['RichTextEditingMutation']['id'])return;const _0x1219a3=_0x29601e[_0x539df1(0x432)];if((_0x1219a3==null?void 0x0:_0x1219a3[_0x539df1(0x297)])!==this[_0x539df1(0x465)])return;const _0x49cadd=_0x29601e,_0x2142b0=this[_0x539df1(0x23c)]['interceptor'][_0x539df1(0x340)](this[_0x539df1(0x23c)][_0x539df1(0x48d)][_0x539df1(0x1a6)]()['COMPRESS_MUTATION_SEND'])([_0x49cadd],null)||[_0x49cadd];this[_0x539df1(0x30e)](_0x2142b0[0x0]);})),_0xf79f6b;}},exports[_0x40c17a(0x476)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g['CompressMutationService'])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x40c17a(0x3ba)]),$(0x9,a[_0x40c17a(0x21b)]),$(0xa,a[_0x40c17a(0x49f)]),$(0xb,a[_0x40c17a(0x385)](ve)),$(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x476)]),exports['SheetCollaborationEntity']=class extends exports[_0x40c17a(0x320)]{constructor(_0x502940,_0x2e4ad9,_0x46bb82,_0x47adb4,_0xeabbbd,_0xe76d2a,_0x455b96,_0x109c75,_0x509c56,_0xce8f5e,_0x4c1691,_0x125b0c,_0x3dbfa7,_0x215e76){var _0x4152b5=_0x40c17a;super(_0x502940,_0x46bb82,_0x2e4ad9,_0x47adb4,_0xeabbbd,_0xe76d2a,_0x455b96,_0x509c56,_0xce8f5e,_0x4c1691,_0x125b0c,_0x3dbfa7,_0x215e76),this[_0x4152b5(0x465)]=_0x502940,this['type']=_0x2e4ad9,this[_0x4152b5(0x199)]=_0x109c75;}[_0x40c17a(0x4ba)](){var _0x32db77=_0x40c17a;const _0x5662f9=super[_0x32db77(0x4ba)]();return _0x5662f9['onTransformSelections']=_0x2a63be=>this[_0x32db77(0x199)][_0x32db77(0x3eb)](_0x2a63be),_0x5662f9;}async[_0x40c17a(0x2df)](){var _0x66dfd3=_0x40c17a;const _0x311f0e=await super['_init']();return this[_0x66dfd3(0x499)](this[_0x66dfd3(0x3f6)][_0x66dfd3(0x4d3)]((_0x32c26f,_0x3efa60)=>{var _0x3fdbd9=_0x66dfd3;if(_0x32c26f[_0x3fdbd9(0x463)]!==a[_0x3fdbd9(0x46b)][_0x3fdbd9(0x406)]||_0x3efa60!=null&&_0x3efa60[_0x3fdbd9(0x21d)]||_0x3efa60!=null&&_0x3efa60[_0x3fdbd9(0x2f0)])return;const _0x4298eb=_0x32c26f[_0x3fdbd9(0x432)];if((_0x4298eb==null?void 0x0:_0x4298eb[_0x3fdbd9(0x297)])!==this[_0x3fdbd9(0x465)])return;const _0x52c717=_0x32c26f,_0x5bd322=this[_0x3fdbd9(0x23c)][_0x3fdbd9(0x48d)][_0x3fdbd9(0x340)](this[_0x3fdbd9(0x23c)][_0x3fdbd9(0x48d)][_0x3fdbd9(0x1a6)]()[_0x3fdbd9(0x2a8)])([_0x52c717],null)||[_0x52c717];this[_0x3fdbd9(0x30e)](_0x5bd322[0x0]);})),_0x311f0e;}},exports[_0x40c17a(0x3b6)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x2fa)])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x2d3)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x40c17a(0x3ba)]),$(0xa,a[_0x40c17a(0x21b)]),$(0xb,a[_0x40c17a(0x49f)]),$(0xc,a[_0x40c17a(0x385)](ve)),$(0xd,a['Optional'](z))],exports[_0x40c17a(0x3b6)]);var Ti=Object[_0x40c17a(0x2fb)],bi=(_0x8aa340,_0x10e689,_0x436c26,_0x22a97a)=>{var _0x439037=_0x40c17a;for(var _0x5c3468=_0x22a97a>0x1?void 0x0:_0x22a97a?Ti(_0x10e689,_0x436c26):_0x10e689,_0x1edb66=_0x8aa340[_0x439037(0x2be)]-0x1,_0xe1ab22;_0x1edb66>=0x0;_0x1edb66--)(_0xe1ab22=_0x8aa340[_0x1edb66])&&(_0x5c3468=_0xe1ab22(_0x5c3468)||_0x5c3468);return _0x5c3468;},Pe=(_0x47c48e,_0x42dfc0)=>(_0x1d462a,_0x154a9e)=>_0x42dfc0(_0x1d462a,_0x154a9e,_0x47c48e);exports['CollaborationController']=class extends a[_0x40c17a(0x47d)]{constructor(_0x54fd41,_0xb0157a,_0x4ec39c){var _0x24b761=_0x40c17a;super(),A(this,'_entities',new Map()),A(this,_0x24b761(0x1ed),new j['Subject']()),A(this,_0x24b761(0x356),this[_0x24b761(0x1ed)][_0x24b761(0x2a7)]()),(this['_injector']=_0x54fd41,this[_0x24b761(0x361)]=_0xb0157a,this[_0x24b761(0x16d)]=_0x4ec39c,this[_0x24b761(0x2df)]());}[_0x40c17a(0x3b0)](){var _0x40a9e7=_0x40c17a;super['dispose'](),this[_0x40a9e7(0x274)]['forEach'](_0x2bf0d3=>_0x2bf0d3[_0x40a9e7(0x3b0)]()),this[_0x40a9e7(0x274)]['clear']();}[_0x40c17a(0x2ee)](_0x5f5cb3){var _0x304ba1=_0x40c17a,_0x168fc8;return(_0x168fc8=this[_0x304ba1(0x274)][_0x304ba1(0x210)](_0x5f5cb3))!=null?_0x168fc8:null;}['getCollabEntity$'](_0x5174b5){var _0x598cf9=_0x40c17a;const _0x767ebf=this[_0x598cf9(0x2ee)](_0x5174b5);return _0x767ebf?j['of'](_0x767ebf):this[_0x598cf9(0x1ed)][_0x598cf9(0x26c)](V[_0x598cf9(0x234)](_0x39b63b=>_0x39b63b[_0x598cf9(0x465)]===_0x5174b5));}['readyForCollab'](_0x295442){var _0x3e8205=_0x40c17a;return j[_0x3e8205(0x188)](this['getCollabEntity$'](_0x295442)['pipe'](V[_0x3e8205(0x1ce)](()=>{})));}[_0x40c17a(0x2df)](){var _0xe30678=_0x40c17a;this[_0xe30678(0x16d)][_0xe30678(0x27f)](a[_0xe30678(0x4b9)][_0xe30678(0x20b)])['pipe'](j['takeUntil'](this[_0xe30678(0x44a)]),V[_0xe30678(0x288)](0x10))['subscribe'](async _0x5b87c2=>{var _0x9d9c2d=_0xe30678;const _0xc65900=_0x5b87c2[_0x9d9c2d(0x30b)](),_0x4c41e7=await this[_0x9d9c2d(0x46f)](_0xc65900,X[_0x9d9c2d(0x20b)]);this[_0x9d9c2d(0x274)][_0x9d9c2d(0x1a8)](_0xc65900,_0x4c41e7);}),this[_0xe30678(0x16d)][_0xe30678(0x27f)](a[_0xe30678(0x4b9)][_0xe30678(0x3fd)])['pipe'](j[_0xe30678(0x1a1)](this[_0xe30678(0x44a)]),V['delay'](0x10))[_0xe30678(0x26c)](V[_0xe30678(0x234)](_0x1ec1aa=>!_0x1ec1aa['getUnitId']()[_0xe30678(0x40b)]('__')))[_0xe30678(0x3f3)](async _0x19bd21=>{var _0x3567bd=_0xe30678;const _0x45ba23=_0x19bd21[_0x3567bd(0x30b)](),_0x232d39=await this[_0x3567bd(0x46f)](_0x45ba23,X[_0x3567bd(0x3fd)]);this[_0x3567bd(0x274)][_0x3567bd(0x1a8)](_0x45ba23,_0x232d39);}),j['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xe30678(0x4b9)][_0xe30678(0x20b)]),this[_0xe30678(0x16d)][_0xe30678(0x259)](a[_0xe30678(0x4b9)][_0xe30678(0x3fd)]))['pipe'](j[_0xe30678(0x1a1)](this[_0xe30678(0x44a)]))[_0xe30678(0x3f3)](_0x216db1=>{var _0x5e7691=_0xe30678;const _0x3fe3ad=_0x216db1[_0x5e7691(0x30b)](),_0x39c1c6=this[_0x5e7691(0x274)]['get'](_0x3fe3ad);_0x39c1c6&&(_0x39c1c6[_0x5e7691(0x3b0)](),this[_0x5e7691(0x274)]['delete'](_0x3fe3ad));});}async['_startCollaboration'](_0x56b0e1,_0x5b3592){var _0x2610ec=_0x40c17a;const _0x163ddc=await this[_0x2610ec(0x361)][_0x2610ec(0x18c)](_0x56b0e1),_0xaab521=this[_0x2610ec(0x2ec)]['createInstance'](this[_0x2610ec(0x32f)](_0x5b3592),_0x56b0e1,_0x5b3592,_0x163ddc);return await _0xaab521[_0x2610ec(0x25b)](),this['_entityInit$'][_0x2610ec(0x39d)](_0xaab521),_0xaab521;}['_getCtorByUniverType'](_0x1ed1b8){var _0x5a0f0d=_0x40c17a;switch(_0x1ed1b8){case X['UNIVER_DOC']:return exports[_0x5a0f0d(0x476)];case X[_0x5a0f0d(0x20b)]:return exports[_0x5a0f0d(0x3b6)];default:throw new Error(_0x5a0f0d(0x4a9)+_0x1ed1b8);}}},exports['CollaborationController']=bi([Pe(0x0,a['Inject'](a[_0x40c17a(0x325)])),Pe(0x1,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x313)])),Pe(0x2,a[_0x40c17a(0x1bf)])],exports['CollaborationController']);var Ri=Object[_0x40c17a(0x2fb)],Oi=(_0x4e6ead,_0x3aa5d4,_0x5de7ff,_0xdb28f8)=>{for(var _0x547226=_0xdb28f8>0x1?void 0x0:_0xdb28f8?Ri(_0x3aa5d4,_0x5de7ff):_0x3aa5d4,_0x303b06=_0x4e6ead['length']-0x1,_0x8a7cfc;_0x303b06>=0x0;_0x303b06--)(_0x8a7cfc=_0x4e6ead[_0x303b06])&&(_0x547226=_0x8a7cfc(_0x547226)||_0x547226);return _0x547226;},Je=(_0x1795d6,_0x2d2606)=>(_0x2109ed,_0x28d603)=>_0x2d2606(_0x2109ed,_0x28d603,_0x1795d6);const yi=_0x40c17a(0x4e3),Ni=_0x40c17a(0x1e9);let He=class extends a[_0x40c17a(0x439)]{constructor(_0x20311b,_0x5b7af3){var _0x2a51d2=_0x40c17a;super(),this[_0x2a51d2(0x16d)]=_0x20311b,this[_0x2a51d2(0x1b2)]=_0x5b7af3,this[_0x2a51d2(0x2df)]();}[_0x40c17a(0x2df)](){var _0x1a72e7=_0x40c17a;this[_0x1a72e7(0x499)](this['_univerInstanceService'][_0x1a72e7(0x3d2)]['subscribe'](()=>{var _0x5d46d9=_0x1a72e7,_0x28d434;const _0x4e6e5c=this[_0x5d46d9(0x16d)][_0x5d46d9(0x43d)]();let _0x36570d=(_0x28d434=this['_configService'][_0x5d46d9(0x34e)](yi))!=null?_0x28d434:Ni;_0x4e6e5c instanceof a[_0x5d46d9(0x1b6)]&&(_0x36570d=_0x4e6e5c[_0x5d46d9(0x488)]),document[_0x5d46d9(0x242)]=_0x36570d;}));}};He=Oi([Je(0x0,a[_0x40c17a(0x1bf)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x40c17a(0x2fb)],Ui=(_0x479b3a,_0x398ac0,_0x2bc230,_0xe3c80c)=>{for(var _0x45f1e6=_0xe3c80c>0x1?void 0x0:_0xe3c80c?Di(_0x398ac0,_0x2bc230):_0x398ac0,_0x4b4940=_0x479b3a['length']-0x1,_0x6a4095;_0x4b4940>=0x0;_0x4b4940--)(_0x6a4095=_0x479b3a[_0x4b4940])&&(_0x45f1e6=_0x6a4095(_0x45f1e6)||_0x45f1e6);return _0x45f1e6;},we=(_0x163601,_0x172042)=>(_0x16c9ea,_0x26b2b9)=>_0x172042(_0x16c9ea,_0x26b2b9,_0x163601);let ye=class{constructor(_0x4b0ea8,_0x180d8c,_0x22f968){var _0x28c068=_0x40c17a;this[_0x28c068(0x1b2)]=_0x4b0ea8,this[_0x28c068(0x3ce)]=_0x180d8c,this['localeService']=_0x22f968,this[_0x28c068(0x25b)]();}['init'](){var _0x4a9b3c=_0x40c17a;this[_0x4a9b3c(0x3ce)][_0x4a9b3c(0x1df)]({'priority':0x1,'interceptor':(_0x258a1b,_0x574666)=>_0x574666(_0x258a1b)[_0x4a9b3c(0x26c)](j[_0x4a9b3c(0x3be)](async _0x18fadd=>{var _0x55671e=_0x4a9b3c;const _0x1d96c7=_0x18fadd;if(_0x1d96c7[_0x55671e(0x17d)]===0x191){if(typeof window>'u')throw new Error(_0x55671e(0x1b5));if(window[_0x55671e(0x1d3)](this['localeService']['t'](_0x55671e(0x264)))){const _0x393598=window[_0x55671e(0x33b)](window[_0x55671e(0x4cd)][_0x55671e(0x441)]);window[_0x55671e(0x4cd)][_0x55671e(0x441)]=this[_0x55671e(0x1f5)]()+'?url='+_0x393598;}}return _0x1d96c7;}))});}['_getLoginPath'](){var _0x43972c=_0x40c17a,_0x31f222,_0xbe23ba;const _0x25cc9e=this['_configService'][_0x43972c(0x34e)](Et),_0x37e7b4=this['_configService']['getConfig'](Y);return(_0xbe23ba=(_0x31f222=_0x37e7b4==null?void 0x0:_0x37e7b4[_0x43972c(0x3f5)])!=null?_0x31f222:_0x25cc9e)!=null?_0xbe23ba:Yt;}};ye=Ui([we(0x0,a[_0x40c17a(0x342)]),we(0x1,a[_0x40c17a(0x3e8)](q['HTTPService'])),we(0x2,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)]))],ye);var Ai=Object[_0x40c17a(0x2fb)],Pi=(_0x459c1b,_0xe22ada,_0x20a5f6,_0x302900)=>{var _0x2d08e2=_0x40c17a;for(var _0x5f0142=_0x302900>0x1?void 0x0:_0x302900?Ai(_0xe22ada,_0x20a5f6):_0xe22ada,_0xf51276=_0x459c1b[_0x2d08e2(0x2be)]-0x1,_0x1ac914;_0xf51276>=0x0;_0xf51276--)(_0x1ac914=_0x459c1b[_0xf51276])&&(_0x5f0142=_0x1ac914(_0x5f0142)||_0x5f0142);return _0x5f0142;},Xe=(_0x8b94d7,_0x5bac99)=>(_0x3220fe,_0x115533)=>_0x5bac99(_0x3220fe,_0x115533,_0x8b94d7);const Ge='AUTHZ_URL_KEY',wi='/universer-api/authz';exports[_0x40c17a(0x4f0)]=class extends a[_0x40c17a(0x439)]{constructor(_0x4cab80,_0x388c4d){var _0x2a2cb5=_0x40c17a;super(),this['_HTTPService']=_0x4cab80,this[_0x2a2cb5(0x1b2)]=_0x388c4d,this[_0x2a2cb5(0x373)]();}[_0x40c17a(0x373)](){var _0xa1c157=_0x40c17a;const _0x40ccf9=this;this[_0xa1c157(0x499)](this[_0xa1c157(0x469)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0xa1c157(0x28f)]({'isMatch'(_0x29f7ff){var _0x28cf0c=_0xa1c157,_0x3fb6ae;if(_0x29f7ff[_0x28cf0c(0x47b)]==='POST'&&((_0x3fb6ae=_0x29f7ff[_0x28cf0c(0x1ea)])!=null&&_0x3fb6ae['body'])){const {objectID:_0x5cb5e3,objectType:_0x2b161c}=_0x29f7ff[_0x28cf0c(0x1ea)][_0x28cf0c(0x24f)]||{};if(!_0x5cb5e3||_0x2b161c===void 0x0)return!0x1;const _0x40ec93=_0x40ccf9[_0x28cf0c(0x2b5)]()+'/'+_0x2b161c+'/object/'+_0x5cb5e3+_0x28cf0c(0x4d2);if(_0x29f7ff[_0x28cf0c(0x412)]===_0x40ec93)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b0aeb){var _0x24dff8=_0xa1c157,_0x57d624;return(_0x57d624=_0x5b0aeb['requestParams'])==null?void 0x0:_0x57d624[_0x24dff8(0x24f)];},'mergeParamsToRequest'(_0xed898a,_0x2682b5){var _0xf210e6=_0xa1c157;const _0x22872d=_0x40ccf9[_0xf210e6(0x2b5)]()+_0xf210e6(0x446),_0x2e8218=_0xed898a[_0xf210e6(0x2a9)]((_0x10f51f,_0x3600dd)=>{var _0x2188d5=_0xf210e6;const {unitID:_0xf98b39,objectID:_0xfd43a,objectType:_0x2d235c,actions:_0x1db18f}=_0x3600dd;return _0x10f51f[_0xf98b39]||(_0x10f51f[_0xf98b39]={}),_0x10f51f[_0xf98b39][_0xfd43a]||(_0x10f51f[_0xf98b39][_0xfd43a]={'objectID':_0xfd43a,'objectType':_0x2d235c,'actions':[]}),_0x10f51f[_0xf98b39][_0xfd43a]['actions'][_0x2188d5(0x48a)](..._0x1db18f),_0x10f51f;},{}),_0x4c47cd=[];for(const _0x4bd1fd in _0x2e8218)for(const _0x1686d8 in _0x2e8218[_0x4bd1fd]){const {actions:_0x3d71b8,objectType:_0xf2ab24}=_0x2e8218[_0x4bd1fd][_0x1686d8],_0x5df598=[...new Set(_0x3d71b8)];_0x4c47cd['push']({'unitID':_0x4bd1fd,'objectID':_0x1686d8,'objectType':_0xf2ab24,'actions':_0x5df598});}return new q[(_0xf210e6(0x45f))](_0xf210e6(0x1b0),_0x22872d,{'headers':_0x2682b5['headers'],'withCredentials':_0x2682b5[_0xf210e6(0x3e5)],'responseType':_0x2682b5[_0xf210e6(0x479)],'body':{'requests':_0x4c47cd}});}},{'distributeResult'(_0x27dcd4,_0xe51404){var _0x229ce6=_0xa1c157;const {objectActions:_0x367611}=_0x27dcd4;return _0xe51404[_0x229ce6(0x1ce)](_0x232c95=>{var _0x607854=_0x229ce6;const {unitID:_0x5ddcd9,objectID:_0x1ad8fa,actions:_0x57c103}=_0x232c95,_0x34c4f2=_0x367611['find'](_0x43213b=>_0x43213b[_0x607854(0x465)]===_0x5ddcd9&&_0x43213b[_0x607854(0x32b)]===_0x1ad8fa),_0x44dc20=_0x57c103['map'](_0x5472c5=>_0x34c4f2==null?void 0x0:_0x34c4f2[_0x607854(0x24e)]['find'](_0xa93cc8=>_0xa93cc8[_0x607854(0x216)]===_0x5472c5))[_0x607854(0x234)](_0x54efdb=>!!_0x54efdb);return{'config':_0x232c95,'result':{'actions':_0x44dc20,'error':_0x27dcd4[_0x607854(0x45a)]}};});}})}));}[_0x40c17a(0x2b5)](){var _0x842bd7=_0x40c17a,_0xe6a10b,_0x410587;const _0x2162d6=this['_configService'][_0x842bd7(0x34e)](Ge),_0x1b4c6c=this[_0x842bd7(0x1b2)]['getConfig'](Y);return(_0x410587=(_0xe6a10b=_0x1b4c6c==null?void 0x0:_0x1b4c6c['authzUrl'])!=null?_0xe6a10b:_0x2162d6)!=null?_0x410587:wi;}async['create'](_0xc00871){var _0x28b8e4=_0x40c17a;const _0x257212=this[_0x28b8e4(0x2b5)]()+'/'+_0xc00871[_0x28b8e4(0x19d)]+_0x28b8e4(0x4af);return(await this[_0x28b8e4(0x469)][_0x28b8e4(0x49a)](_0x257212,{'body':_0xc00871}))['body'][_0x28b8e4(0x32b)]||'';}async[_0x40c17a(0x37c)](_0xbd091b){var _0x506aac=_0x40c17a;const _0x57a560=this[_0x506aac(0x2b5)]()+_0x506aac(0x393);return(await this[_0x506aac(0x469)][_0x506aac(0x49a)](_0x57a560,{'body':_0xbd091b}))[_0x506aac(0x24f)][_0x506aac(0x198)];}async[_0x40c17a(0x1c2)](_0x3cf504){var _0x321ff0=_0x40c17a,_0x348251,_0x459fa7;const _0x1e49f7=this[_0x321ff0(0x2b5)]()+'/'+_0x3cf504[_0x321ff0(0x19d)]+_0x321ff0(0x267)+_0x3cf504[_0x321ff0(0x32b)],_0x582a77=await this[_0x321ff0(0x469)][_0x321ff0(0x331)](_0x1e49f7,{'body':_0x3cf504});if(((_0x459fa7=(_0x348251=_0x582a77==null?void 0x0:_0x582a77[_0x321ff0(0x24f)])==null?void 0x0:_0x348251[_0x321ff0(0x45a)])==null?void 0x0:_0x459fa7[_0x321ff0(0x28e)])!==0x1)throw new Error(_0x321ff0(0x275));}async[_0x40c17a(0x1fc)](_0x5626c7){var _0x4be1fb=_0x40c17a;const _0x1cd96a=this[_0x4be1fb(0x2b5)]()+'/'+_0x5626c7[_0x4be1fb(0x19d)]+'/object/'+_0x5626c7[_0x4be1fb(0x32b)]+'/allowed';return(await this['_HTTPService'][_0x4be1fb(0x49a)](_0x1cd96a,{'body':_0x5626c7}))[_0x4be1fb(0x24f)]['actions'];}async[_0x40c17a(0x40c)](_0x143352){var _0x127da5=_0x40c17a;const _0x15fbb9=this['_getAPIPrefixPath']()+_0x127da5(0x446);return(await this['_HTTPService'][_0x127da5(0x49a)](_0x15fbb9,{'body':{'requests':_0x143352}}))['body'][_0x127da5(0x38d)];}async['listRoles'](_0x4489cf){var _0x1e269d=_0x40c17a;const _0xfa24d5=this[_0x1e269d(0x2b5)]()+'/'+_0x4489cf[_0x1e269d(0x19d)]+'/role',_0x10bc36=await this[_0x1e269d(0x469)][_0x1e269d(0x49a)](_0xfa24d5,{'body':_0x4489cf});return{'roles':_0x10bc36['body']['roles'],'actions':_0x10bc36[_0x1e269d(0x24f)][_0x1e269d(0x24e)]};}async[_0x40c17a(0x453)](_0x3678a5){var _0x1010b3=_0x40c17a;const _0x54bfa3=this[_0x1010b3(0x2b5)]()+'/collaborator';await this[_0x1010b3(0x469)][_0x1010b3(0x1d6)](_0x54bfa3,{'params':{'collaboratorID':_0x3678a5[_0x1010b3(0x17b)],'objectID':_0x3678a5['objectID'],'unitID':_0x3678a5['unitID']}});}async['updateCollaborator'](_0x1602ef){var _0x5318e8=_0x40c17a;const _0x13ce11=this[_0x5318e8(0x2b5)]()+_0x5318e8(0x389);await this['_HTTPService']['patch'](_0x13ce11,{'body':_0x1602ef});}async[_0x40c17a(0x498)](_0x2b150f){var _0x31ed77=_0x40c17a;const _0x1cd075=this[_0x31ed77(0x2b5)]()+_0x31ed77(0x389);await this[_0x31ed77(0x469)][_0x31ed77(0x49a)](_0x1cd075,{'body':_0x2b150f});}async[_0x40c17a(0x201)](_0x1fbe86){var _0x1125fb=_0x40c17a;const _0x390388=this[_0x1125fb(0x2b5)]()+'/collaborator';return(await this[_0x1125fb(0x469)]['get'](_0x390388,{'params':{'objectID':_0x1fbe86[_0x1125fb(0x32b)],'unitID':_0x1fbe86[_0x1125fb(0x465)]}}))[_0x1125fb(0x24f)][_0x1125fb(0x497)];}async[_0x40c17a(0x19c)](_0x8565a3){var _0x44fcf5=_0x40c17a;const _0x20ce84=this[_0x44fcf5(0x2b5)]()+'/collaborator';await this['_HTTPService'][_0x44fcf5(0x331)](_0x20ce84,{'body':_0x8565a3});}},exports[_0x40c17a(0x4f0)]=Pi([Xe(0x0,a[_0x40c17a(0x3e8)](q[_0x40c17a(0x3cd)])),Xe(0x1,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x342)]))],exports[_0x40c17a(0x4f0)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x452b(){var _0x570aa8=['_lockTransition','resend','Injector','_clearTimeoutTimer','AwaitingState','random','subject','Utf8','objectID','GLOBAL_ROOMS_CNT_EXCEEDS','getActiveSheet','_showConflictNotification','_getCtorByUniverType','pending','put','_getSendChangesetTimeout','[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.','_submitChangeset','_revisionService','_getUndoStack','HELLO','_changesetSessionId','APPLY_REJECT','univer-pro.collaboration-client-socket-service','encodeURIComponent','_socket','_change$','HttpExport','_timeoutTimer','fetchThroughInterceptors','SNAPSHOT_URL_KEY','IConfigService','readAsDataURL','20JvIBOa','SheetsSelectionsService','kdf','permissionRejEvent','CollaborativeUndoRedoService','reset','_transformUndoredo','touchDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_isPermissionRej','getConfig','ALREADY_EXISTS','getMember','cfg','append','values','APPLY_NON_SEQUENTIAL_REVISION','image/jpeg','entityInit$','originalMeta','override','_sendHeartbeatTimer','clamp','CollaborationUIEventService','PERSON','_schedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SyncedState','SetSelectionsOperation','_collabSessionService','socket\x20close','msCrypto','forEach','JOIN_ROOM_FAILED','_initCloseConn','m2Prime','setConfig','SYNCED','_process','hasOwnProperty','_syncEditingCollabCursor','collabWebSocketUrl','parse','LOGIN_FAILED','_cipher','reverse','fetch_missing','_initMergeInterceptor','_hash','NEW_CHANGESETS','_scheduleCompleteTimestamp','getResourcesRequest','isArray','_config','_initRequestHeader','JOIN_ROOM_FULL','list','_tryEnsureSocket','emitEvent','_queuedRemoteChangesets','_imageSourceCache','UniverCollaborationPlugin','_acknowledgedAwaitingChangeset','catch','PY_RUNTIME_SCRIPT_ERROR','Optional','_doFinalize','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','uniscriptRunEvent','/collaborator','_key','PERMISSION_REJ','SUBMIT_CHANGESET_TIMEOUT','objectActions','@univerjs-pro/collaboration','RevisionService','LICENSE_MAX_UNITS_EXCEEDED','_fetchMissChangesets','createDecryptor','/-/object/list','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','complete','_prevBlock','getCurrentRevOfUnit','StreamCipher','onRemoteRetry','getUnit','LOCAL_CACHE_INTERVAL','onTransformIME','next','BehaviorSubject','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','INVITE_CODE_REQUIRED','_createHelper','MOBILE_HAS_BEEN_BOUND','x-univer-host','CLOSE_ROOM','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onMessage','charCodeAt','mode','_commentUpdate$','_updateState','UNIVER_UNKNOWN','_getRedoStack','message$','LICENSE_EXPORT_SIZE_EXCEEDED','dispose','defineProperty','pad','close$','LOCAL_CACHE_INTERVAL_KEY','BASE64','SheetCollaborationEntity','createInstance','_sendingTimer','MD5','ILogService','SHOULD_CLOSE_CONN','fromCharCode','_onConflict','concatMap','HmacMD5','FETCH_MISS','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Pkcs7','unknown','_onUserJoin','ITelemetryService','OfflineState','isInternalEditorID','clone','reject','_clearHeartbeatTimer','[PendingState]:\x20received\x20rejection.','unsubscribe','HTTPService','_httpService','_transformRemoteChangesetByIMECache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT','focused$','eventID','ImageSourceType','_keySchedule','parseProtocolChangeset','_onConnectionFailed','Module','_initUnitPermissionChange','_doProcessBlock','FETCH_MISSING','open$','snapshotServerUrl','image/bmp','csAckEvent','USER_NOT_INVITED_CODE','_unitID','textEncoder','_startTelemetryCollaborationNewChangeset','DEFAULT_WS_SESSION_TICKET_URL','withCredentials','LIVESHARE_OPERATION','byteLength','Inject','BufferedBlockAlgorithm','YUUMI_SUBSCRIPTION_NOT_FOUND','transformSelections','FileId','_initDependencies','enableOfflineEditing','CipherParams','CollaborationSession','onCommentUpdate','33743039uBrQLp','subscribe','_onRemoteChangeset','loginUrlKey','_commandService','finalize','_collaborationTimeoutTimer','collaboration-client.local-cache-service','getUnitType','UserProfileImg','_transformSelections','UNIVER_DOC','_DEC_XFORM_MODE','_transformStack','[OfflineState]:\x20received\x20changeset.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','/universer-api/user/session-ticket','keySize','has','MUTATION','INVALID_INVITE_CODE','BlockCipherMode','string','CommentService','startsWith','batchAllowed','8991510SwkZTE','_onRemoteACK','Cipher','[CollaborationUndoRedoService]','IMentionIOService','url','COLLAB_SUBMIT_CHANGESET_URL','then','ConflictState','encrypt','_stopTelemetryCollaborationNewChangeset','toggleOffline','MSG_FOR_ERROR','WordArray','getSnapshotAPIPath','_clearScheduledTask','_onRemoteRejected','MemberService','IUndoRedoService','changesets','loadDoc','updateOfflineData','ENSURE_SNAPSHOT_EXECUTION','size','getWorkbookSelections','refreshPermission','_getUploadFileURL','unit-cache-','now','EmptyMutation','infoRsp','[OfflineState]:\x20received\x20acknowledgement.','CHANGESET_REJ','fetchMiss','sin','resolve','_onFetchMissResult','params','IAuthzIoService','_socket$','NoPadding','_toggleOffline','onRemoteRej','OpenSSL','Disposable','DisposableCollection','INVITE_CODE_HAS_BEEN_UES','\x20-\x20','getFocusedUnit','[FetchMissState]','_transformService','clear','href','INTERNAL_ERROR','awaiting','_instanceService','_nRounds','/-/object/-/batch_allowed','NOT_FOUND','_map','__creator','dispose$','_mode','substr','IDLE','_event$','closeSession','/resources','onSyncEditingCollabCursor','UPDATE_PERMISSION_OBJ','deleteCollaborator','[PendingState]:\x20received\x20acknowledgement.','OFFLINE','sequenceExecute','_telemetryService','INVALID_ARGUMENT','session','error','localCacheService','@univerjs/sheets','isTransformMutationsWithChangesetFailure','@univerjs/telemetry','HTTPRequest','mapDocumentTypeToUniverType','12vzhmbC','session.room-not-exists','type','appendMutation','unitID','$super','BlockCipher','HEARTBEAT_TIMEOUT','_HTTPService','_remoteChangesetQueue','CommandType','save\x20fail\x20reason\x20is\x20','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','sigBytes','_startCollaboration','send','/universer-api/oidc/authpage','_keyPriorReset','MentionType','SnapshotServerOverHTTPService','DependentOn','DocCollaborationEntity','getValue','_onRecvEvent','responseType','_getAPIPrefix','method','UNRECOGNIZED','RxDisposable','SUCCUSS','session.room-cnt-exceeds','ciphertext','snapshot','/universer-api/snapshot/','[OfflineState]:\x20received\x20rejection.','[CollaborationSession]','CollaborationStatus','rxjs','DataLoaderService','name','_createHmacHelper','push','_updateLocalCache','online$','interceptor','status$','_snapshotServerService','startTime','includes','[CollaborationSessionService]','@univerjs-pro/license','getMemberID','duration','createEncryptor','collaborators','createCollaborator','disposeWithMe','post','sid','WorkbookEditablePermission','1828917jJDZMa','_permissionService','IPermissionService','_handlerCallback','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_waitForHeartbeatResponse','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sender','OTHER_CLIENTS_EDITING','ceil','_memberService','_roomMembers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hasher','CHANGESET_REVISION_CONFILICT','offline','add','sessionStatus','/object','SNAPSHOT_INVALID_SNAPSHOT','_ENC_XFORM_MODE','unitInfo$','_checkMissing','ONLINE','merge','sessionStatus$','padding','CHANGESET_ACK','UniverInstanceType','_createHandler','SOCKET_FAILED_RETRY','entries','UNIVER_COLLABORATION_CLIENT_PLUGIN','LIVESHARE_NEW_HOST','DEFAULT_COLLAB_WEB_SOCKET_URL','updatePermissionPoint','YUUMI_URL_COL_OUT_OF_RANGE','HttpImport','toggleOnline','_sessions','default','_unlockTransition','waitForRoom$','Base64','CollaborationImageIoService','_rescheduleHeartbeat','transformMutationsWithChangeset','onMissingChangesets','location','getImageSourceCache','univer-pro.collaboration-client.network-condition.service','SessionStatus','PasswordBasedCipher','/allowed','onCommandExecuted','UnitSnapshot','event$','_transformRemoteChangesetByStateCache','create','_snapshotService','exports','USERS_ENTER','_loadSheet','_singleActiveUnitService','readInt32LE','HMAC','concat','workbook','_reverseMap','SNAPSHOT_SERVER_URL_KEY','DEFAULT_FILE_NAME','_minBufferSize','stringify','SNAPSHOT_HAS_BEEN_REMOVED','LEAVE','src','_state','People','getSheetId','_sendHeartbeat','lib','avatar','function','AuthzIoHttpService','_transitionLocked','ILocalCacheService','getRoom','COMPRESS_MUTATION_APPLY','memberID','csShouldRetryEvent','setShowComponents','_type','Rectangle','encryptBlock','_state$','format','UNISCRIPT_RUN','CBC','_univerInstanceService','univer-pro.collaboration-client.single-active-unit-service','UnitEmbedded','SnapshotService','ERROR_IMAGE','_networkConditionService','INVITE_CODE_ALREADY_BOUND','NOT_COLLAB','getTime','UNDEFINED','_joinRoom','_roomCreated$','_removeRoom','IContextService','collaboratorID','_replayCachedMutations','status','getLocalCacheKey','_commentService','YUUMI_RATE_OVER_LIMIT','_changesetReqId','collabSubmitChangesetUrl','_parse','newCsEvent','JOIN_ROOM_PERMISSION_DENIED','_createInitialState','COLLAB_WEB_SOCKET_URL','firstValueFrom','floor','COMMENT_UPDATE','onTransformState','requireSession','AwaitingWithPendingState','compose','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_logService','unpad','compute','take','_getSignURL','headers','UNAUTHENTICATED','state$','objects','_sheetTransformSelectionsService','SUBMIT_CHANGESET','telemetry\x20info\x20is\x20not\x20initialized','putCollaborators','objectType','baseRev','_substituteUndoStack','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','takeUntil','@univerjs/core','Decryptor','max','_pendingMutations','getInterceptPoints','processBlock','set','key','_iKey','rev','ws://127.0.0.1:8000/universer-api/comb/connect','_throwTelemetryCollaborationNewChangeset','RichTextEditingMutation','AWAITING','POST','ivSize','_configService','_onUserLeave','_getDownloadEndpointURL','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Workbook','reqId','setCurrentUser','extend','INGEST','CONNECTOR_DATA_TOO_LARGE','CHANGESET_SHOULD_RETRY','_transformIMECache','isPermissionRej','IUniverInstanceService','mutations','_decreaseWaiting','update','saveSheetBlock','randomUUID','_clearRetryConnectingTimer','Hasher','LocalUndoRedoService','/new_changes','result','_awaitingChangeset','encode','_handler','_nDataBytes','map','joinRsp','_doCryptBlock','indexOf','shouldCloseConn','confirm','_data','[DataLoaderService]','delete','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','debug','[CollaborationState]:\x20apply\x20error!','execute','authzUrl','b64DecodeUnicode','ImageUploadStatusType','Base','registerHTTPInterceptor','_incrementRevisionNumber','Error\x20on\x20receiving\x20event','awaitingChangeset','every','[SyncedState]:\x20received\x20rejection.','reconnect','_toggleOnline','getUnitOnRev','_exhaustRemoteChangesetQueue','Univer','requestParams','getSheetBlock','AWAITING_WITH_PENDING','_entityInit$','OPTIONAL','MentionIoHttpService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Malformed\x20UTF-8\x20data','_members$','CollaborationSocketService','_clearUndo','_getLoginPath','call','words','_resendTimer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_members','_createInitialStateImpl','allowed','UNIVER_PROJECT','_oKey','APPLY_DUPLICATED','onRemoteAck','listCollaborators','toDisposable','_onRemoteRetry','_redoStacks','transformUndoRedo','splice','APPLY_PERMISSION_DENIED','executeCommand','from','UNIVER_SLIDE','UNIVER_SHEET','prototype','LocaleService','pauseCollaboration','addHandlerCallback','get','getRandomValues','\x0aCurrent:\x20','session.join-failed','registerDependencies','updateMember','action','updateCursorEvent','UserManagerService','socketService','WECHAT_HAS_BEEN_BOUND','ICommandService','_append','fromCollab','UniverCollaborationClientPlugin','decrypt','apply','_onOffline','getImage','_clearLocalCache','_resendWithTimeout','uploadFileServerUrl','COMPLETION_FINISHED','enc','resourceIDs','Plugin','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','RETRY_CONNECTING_MAX_COUNT_KEY','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','_substituteRedoStack','&assign=','_tryReconnect','[CollaborationEntity]','Could\x20not\x20dynamically\x20require\x20\x22','?size=','filter','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','close','/unit/','_shouldReportTelemetry','socket\x20open.','collaboration_new_changeset','_undoRedoService','_compressMutationService','c1Prime','loadOfflineData','userID','_socketService','_replaceFileID','title','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NO_OTHER_CLIENTS_EDITING','__Key__','onSendChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','blockSize','UniverNetworkPlugin','FetchingMissState','join','slice','ISnapshotServerService','actions','body','revision','/universer-api/uniscript','Subject','shareReplay','joinEvent','PSEUDO_FETCH_MISSING_RESULT','editing\x20status\x20changed\x20to','json','awaiting_with_pending','getTypeOfUnitDisposed$','selections','init','_doCreateSocket','UNKNOWN_CMD','&to=','stopTime','image/png','ERROR_EXCEED_SIZE','LIVESHARE_REQUEST_HOST','EvpKDF','auth.needGotoLoginAlert','getCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','/object/','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache','c2Prime','onTransformRemoteChangesetByStateCache','pipe','_socketMessageSubscription','textRanges','_collaborationPaused','CONFLICT','cmd','abs','CollaborationUIEventId','_entities','Failed\x20to\x20update\x20permission\x20point','_clearRedo','data','serializeCombRequest','decryptBlock','Hex','/universer-api/comb','loadSheet','233zIiutA','HmacSHA1','getTypeOfUnitAdded$','UNKNOWN_CODE','FAIL','routeKey','_doReset','&source=','toString','salt','getGlobalObject','delay','removeMember','4ZbxHbp','UPDATE_CURSOR','error$','_retryCount','code','MergeInterceptorFactory','generateRandomId','UnitStatus','saveSnapshot','members$','onload','_waitCount','onMissedChangesetFetched','unitId','_transformStateCache','initWorkbookPermissionChange','JOINING','_getCurrentRevision','_loadDoc','Tools','/rev/','ERROR_IMAGE_TYPE','bind','symbol','_onConnectionOpen','_resendTimeout','retryConnectingInterval','session.room-permission-denied','_collaborationUIEventService','asObservable','COMPRESS_MUTATION_SEND','reduce','Undefined','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/block/','[UniverCollaborationClientPlugin]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','LICENSE_DISTRO_REJECTED','fetchMissingChangesets','conflict','image/jpg','_emitMembers','_getAPIPrefixPath','session.room-full','roomInfos','LIVESHARE_TERMINATE','RECV','collaMsg','AES','mixIn','SerializableCipher','length','JSONX','SEND_CHANGESET_TIMEOUT_KEY','transformChangesets','@univerjs/docs','4016271GjtbYg','_xformMode','_userManagerService','getLatestCsReqIdBySid','_localCacheService','USERS_LEAVE','state','JOIN','APPLY_REVISION_CONFILICT','onLocalMutation','_status$','Encryptor','PendingState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_invKeySchedule','LIVESHARE_FETCH_OPERATIONS','SheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','hostname','crypto','members','_candidateSocket','deepClone','fetching\x20missing\x20changesets\x20from\x20','_clearCollaborationTimeoutTimer','target','isTransformChangesetsSuccess','mergeOverrideWithDependencies','_init','subUnitId','image/gif','_onJoinRoomEvent','YUUMI_UNABLE_LOAD_URL','LOGIN_URL_KEY','sendChangesetTimeout','_updateStatus','8SHKqUd','_iv','onRemoteChangeset','byteOffset','saveImage','_injector','PERMISSION_DENIED','getCollabEntity','IImageIoService','onlyLocal','createSocket','_executeRemoteChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_localeService','_telemetryInfo','leaveEvent','HEARTBEAT_INTERVAL_KEY','findIndex','onTransformSelections','CompressMutationService','getOwnPropertyDescriptor','algo','3257856qflaSM','_sessionStatus$','TOO_MANY_REQUESTS','_unitInfo$','formatter','EMAIL_HAS_BEEN_BOUND','downloadEndpointUrl','_hasher','_disableEditing','PENDING','charAt','connection\x20error','ITransformService','_retryConnectingTimer','getUnitId','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','_onLocalMutation','_socketReady','_registerDependencies','range','createIdentifier','CollaborationSessionService','SHA1','7072760DxYvBe','CollaborationEvent','unitId\x20is\x20not\x20found','updatePermissionObjEvent','CollaborationController','liveShareNewHost','onStateChange','getCurrentSelections','510KeejAm','_applyRemoteChangeset','transformStack\x20failed!','CollaborationEntity','OTHER_CLIENT_EDITING','/universer-api/file/{fileID}/sign-url'];_0x452b=function(){return _0x570aa8;};return _0x452b();}function Se(_0x104416){var _0x268faa=_0x40c17a;return _0x104416&&_0x104416['__esModule']&&Object['prototype']['hasOwnProperty'][_0x268faa(0x1f6)](_0x104416,_0x268faa(0x4c5))?_0x104416[_0x268faa(0x4c5)]:_0x104416;}var fe={'exports':{}};function Li(_0x5b2734){var _0x43c3d6=_0x40c17a;throw new Error(_0x43c3d6(0x232)+_0x5b2734+_0x43c3d6(0x35e));}var pe={'exports':{}},Mi=pe[_0x40c17a(0x4d9)],Ze;function ee(){var _0x1f3d89=_0x40c17a;return Ze||(Ze=0x1,function(_0x5dda65,_0x2c8c12){(function(_0x12e8a2,_0x483cd7){var _0x463ac8=_0x1551;_0x5dda65[_0x463ac8(0x4d9)]=_0x483cd7();}(Mi,function(){var _0x30560f=_0x30560f||function(_0x1f9f46,_0x433159){var _0x52cb11=_0x1551,_0x47af1b;if(typeof window<'u'&&window[_0x52cb11(0x2d6)]&&(_0x47af1b=window[_0x52cb11(0x2d6)]),typeof self<'u'&&self[_0x52cb11(0x2d6)]&&(_0x47af1b=self[_0x52cb11(0x2d6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x47af1b=globalThis['crypto']),!_0x47af1b&&typeof window<'u'&&window[_0x52cb11(0x363)]&&(_0x47af1b=window[_0x52cb11(0x363)]),!_0x47af1b&&typeof Le<'u'&&Le[_0x52cb11(0x2d6)]&&(_0x47af1b=Le[_0x52cb11(0x2d6)]),!_0x47af1b&&typeof Li=='function')try{_0x47af1b=require('crypto');}catch{}var _0x515d69=function(){var _0x18bbf1=_0x52cb11;if(_0x47af1b){if(typeof _0x47af1b[_0x18bbf1(0x211)]==_0x18bbf1(0x4ef))try{return _0x47af1b[_0x18bbf1(0x211)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47af1b['randomBytes']==_0x18bbf1(0x4ef))try{return _0x47af1b['randomBytes'](0x4)[_0x18bbf1(0x4dd)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2e0fe4=Object[_0x52cb11(0x4d7)]||(function(){function _0x521a21(){}return function(_0x1c40cf){var _0x25645e=_0x1551,_0x209c1e;return _0x521a21[_0x25645e(0x20c)]=_0x1c40cf,_0x209c1e=new _0x521a21(),_0x521a21['prototype']=null,_0x209c1e;};}()),_0x284b43={},_0x59211a=_0x284b43[_0x52cb11(0x4ed)]={},_0x36fda0=_0x59211a[_0x52cb11(0x1de)]=(function(){return{'extend':function(_0xc527ad){var _0x4650d0=_0x1551,_0xd6f40d=_0x2e0fe4(this);return _0xc527ad&&_0xd6f40d['mixIn'](_0xc527ad),(!_0xd6f40d[_0x4650d0(0x36b)](_0x4650d0(0x25b))||this['init']===_0xd6f40d[_0x4650d0(0x25b)])&&(_0xd6f40d[_0x4650d0(0x25b)]=function(){var _0x2df105=_0x4650d0;_0xd6f40d[_0x2df105(0x466)][_0x2df105(0x25b)][_0x2df105(0x220)](this,arguments);}),_0xd6f40d[_0x4650d0(0x25b)][_0x4650d0(0x20c)]=_0xd6f40d,_0xd6f40d[_0x4650d0(0x466)]=this,_0xd6f40d;},'create':function(){var _0x2cceef=_0x1551,_0x4b950a=this[_0x2cceef(0x1b9)]();return _0x4b950a[_0x2cceef(0x25b)]['apply'](_0x4b950a,arguments),_0x4b950a;},'init':function(){},'mixIn':function(_0x4fbe5c){var _0x573785=_0x1551;for(var _0x4bb6c7 in _0x4fbe5c)_0x4fbe5c[_0x573785(0x36b)](_0x4bb6c7)&&(this[_0x4bb6c7]=_0x4fbe5c[_0x4bb6c7]);_0x4fbe5c['hasOwnProperty']('toString')&&(this[_0x573785(0x285)]=_0x4fbe5c['toString']);},'clone':function(){var _0x4df150=_0x1551;return this['init'][_0x4df150(0x20c)][_0x4df150(0x1b9)](this);}};}()),_0x2e7c46=_0x59211a[_0x52cb11(0x41a)]=_0x36fda0[_0x52cb11(0x1b9)]({'init':function(_0x49f0d0,_0x405a93){var _0x1fae4a=_0x52cb11;_0x49f0d0=this['words']=_0x49f0d0||[],_0x405a93!=_0x433159?this[_0x1fae4a(0x46e)]=_0x405a93:this[_0x1fae4a(0x46e)]=_0x49f0d0[_0x1fae4a(0x2be)]*0x4;},'toString':function(_0xe76b98){var _0x2663b4=_0x52cb11;return(_0xe76b98||_0x4a4706)[_0x2663b4(0x4e5)](this);},'concat':function(_0x462fb1){var _0x1e7eec=_0x52cb11,_0x1d3a9e=this[_0x1e7eec(0x1f7)],_0x3de30b=_0x462fb1[_0x1e7eec(0x1f7)],_0x2052e7=this['sigBytes'],_0x164eb9=_0x462fb1[_0x1e7eec(0x46e)];if(this[_0x1e7eec(0x35a)](),_0x2052e7%0x4)for(var _0x387360=0x0;_0x387360<_0x164eb9;_0x387360++){var _0x24f5d4=_0x3de30b[_0x387360>>>0x2]>>>0x18-_0x387360%0x4*0x8&0xff;_0x1d3a9e[_0x2052e7+_0x387360>>>0x2]|=_0x24f5d4<<0x18-(_0x2052e7+_0x387360)%0x4*0x8;}else{for(var _0x47758d=0x0;_0x47758d<_0x164eb9;_0x47758d+=0x4)_0x1d3a9e[_0x2052e7+_0x47758d>>>0x2]=_0x3de30b[_0x47758d>>>0x2];}return this[_0x1e7eec(0x46e)]+=_0x164eb9,this;},'clamp':function(){var _0x2fdf42=_0x52cb11,_0x5b1d36=this[_0x2fdf42(0x1f7)],_0x342b50=this[_0x2fdf42(0x46e)];_0x5b1d36[_0x342b50>>>0x2]&=0xffffffff<<0x20-_0x342b50%0x4*0x8,_0x5b1d36[_0x2fdf42(0x2be)]=_0x1f9f46['ceil'](_0x342b50/0x4);},'clone':function(){var _0x3d3379=_0x52cb11,_0x3b3471=_0x36fda0[_0x3d3379(0x3c8)][_0x3d3379(0x1f6)](this);return _0x3b3471[_0x3d3379(0x1f7)]=this[_0x3d3379(0x1f7)][_0x3d3379(0x24c)](0x0),_0x3b3471;},'random':function(_0x1a76ca){var _0x3952c8=_0x52cb11;for(var _0x3fd905=[],_0xf03cd6=0x0;_0xf03cd6<_0x1a76ca;_0xf03cd6+=0x4)_0x3fd905['push'](_0x515d69());return new _0x2e7c46[(_0x3952c8(0x25b))](_0x3fd905,_0x1a76ca);}}),_0x5c3a73=_0x284b43[_0x52cb11(0x227)]={},_0x4a4706=_0x5c3a73[_0x52cb11(0x27a)]={'stringify':function(_0x301875){var _0x4d5f8b=_0x52cb11;for(var _0x2bd3fa=_0x301875[_0x4d5f8b(0x1f7)],_0xbb3173=_0x301875['sigBytes'],_0x40ad6b=[],_0x38ddeb=0x0;_0x38ddeb<_0xbb3173;_0x38ddeb++){var _0x4c46e6=_0x2bd3fa[_0x38ddeb>>>0x2]>>>0x18-_0x38ddeb%0x4*0x8&0xff;_0x40ad6b['push']((_0x4c46e6>>>0x4)[_0x4d5f8b(0x285)](0x10)),_0x40ad6b['push']((_0x4c46e6&0xf)[_0x4d5f8b(0x285)](0x10));}return _0x40ad6b['join']('');},'parse':function(_0x25d739){var _0x59d5d9=_0x52cb11;for(var _0x45213a=_0x25d739[_0x59d5d9(0x2be)],_0x44119b=[],_0x460aff=0x0;_0x460aff<_0x45213a;_0x460aff+=0x2)_0x44119b[_0x460aff>>>0x3]|=parseInt(_0x25d739[_0x59d5d9(0x44c)](_0x460aff,0x2),0x10)<<0x18-_0x460aff%0x8*0x4;return new _0x2e7c46['init'](_0x44119b,_0x45213a/0x2);}},_0x1ce03a=_0x5c3a73['Latin1']={'stringify':function(_0x3346f5){var _0x440dbb=_0x52cb11;for(var _0x2e0f1d=_0x3346f5['words'],_0x1227a2=_0x3346f5[_0x440dbb(0x46e)],_0x32012a=[],_0x5186f0=0x0;_0x5186f0<_0x1227a2;_0x5186f0++){var _0x5e28b1=_0x2e0f1d[_0x5186f0>>>0x2]>>>0x18-_0x5186f0%0x4*0x8&0xff;_0x32012a['push'](String['fromCharCode'](_0x5e28b1));}return _0x32012a[_0x440dbb(0x24b)]('');},'parse':function(_0x177217){var _0x44781e=_0x52cb11;for(var _0x27148b=_0x177217[_0x44781e(0x2be)],_0x449776=[],_0x48c92b=0x0;_0x48c92b<_0x27148b;_0x48c92b++)_0x449776[_0x48c92b>>>0x2]|=(_0x177217[_0x44781e(0x3a8)](_0x48c92b)&0xff)<<0x18-_0x48c92b%0x4*0x8;return new _0x2e7c46[(_0x44781e(0x25b))](_0x449776,_0x27148b);}},_0x3e68bd=_0x5c3a73['Utf8']={'stringify':function(_0x512b78){var _0x3db844=_0x52cb11;try{return decodeURIComponent(escape(_0x1ce03a[_0x3db844(0x4e5)](_0x512b78)));}catch{throw new Error(_0x3db844(0x1f1));}},'parse':function(_0x4ba31e){var _0x30d1a8=_0x52cb11;return _0x1ce03a[_0x30d1a8(0x36e)](unescape(encodeURIComponent(_0x4ba31e)));}},_0x2a0129=_0x59211a[_0x52cb11(0x3e9)]=_0x36fda0[_0x52cb11(0x1b9)]({'reset':function(){var _0x347c0c=_0x52cb11;this['_data']=new _0x2e7c46[(_0x347c0c(0x25b))](),this['_nDataBytes']=0x0;},'_append':function(_0x20d71c){var _0x582fcb=_0x52cb11;typeof _0x20d71c==_0x582fcb(0x409)&&(_0x20d71c=_0x3e68bd['parse'](_0x20d71c)),this[_0x582fcb(0x1d4)][_0x582fcb(0x4df)](_0x20d71c),this['_nDataBytes']+=_0x20d71c[_0x582fcb(0x46e)];},'_process':function(_0x2fede0){var _0x1dccc8=_0x52cb11,_0x214d98,_0x5cd411=this[_0x1dccc8(0x1d4)],_0xc2466=_0x5cd411[_0x1dccc8(0x1f7)],_0x336e0b=_0x5cd411[_0x1dccc8(0x46e)],_0x23938d=this[_0x1dccc8(0x248)],_0x574c6f=_0x23938d*0x4,_0x4ed14a=_0x336e0b/_0x574c6f;_0x2fede0?_0x4ed14a=_0x1f9f46[_0x1dccc8(0x4a6)](_0x4ed14a):_0x4ed14a=_0x1f9f46[_0x1dccc8(0x1a4)]((_0x4ed14a|0x0)-this[_0x1dccc8(0x4e4)],0x0);var _0x1509f9=_0x4ed14a*_0x23938d,_0x3bc612=_0x1f9f46['min'](_0x1509f9*0x4,_0x336e0b);if(_0x1509f9){for(var _0x50f991=0x0;_0x50f991<_0x1509f9;_0x50f991+=_0x23938d)this[_0x1dccc8(0x3da)](_0xc2466,_0x50f991);_0x214d98=_0xc2466['splice'](0x0,_0x1509f9),_0x5cd411[_0x1dccc8(0x46e)]-=_0x3bc612;}return new _0x2e7c46[(_0x1dccc8(0x25b))](_0x214d98,_0x3bc612);},'clone':function(){var _0x5cb29a=_0x52cb11,_0x22d379=_0x36fda0[_0x5cb29a(0x3c8)][_0x5cb29a(0x1f6)](this);return _0x22d379[_0x5cb29a(0x1d4)]=this[_0x5cb29a(0x1d4)][_0x5cb29a(0x3c8)](),_0x22d379;},'_minBufferSize':0x0});_0x59211a[_0x52cb11(0x1c6)]=_0x2a0129[_0x52cb11(0x1b9)]({'cfg':_0x36fda0[_0x52cb11(0x1b9)](),'init':function(_0x1363af){var _0x14f8df=_0x52cb11;this['cfg']=this[_0x14f8df(0x351)][_0x14f8df(0x1b9)](_0x1363af),this[_0x14f8df(0x349)]();},'reset':function(){var _0x2d6d64=_0x52cb11;_0x2a0129[_0x2d6d64(0x349)][_0x2d6d64(0x1f6)](this),this[_0x2d6d64(0x283)]();},'update':function(_0x2175c8){var _0x56b7bc=_0x52cb11;return this[_0x56b7bc(0x21c)](_0x2175c8),this['_process'](),this;},'finalize':function(_0x5a919a){var _0x26e408=_0x52cb11;_0x5a919a&&this[_0x26e408(0x21c)](_0x5a919a);var _0x45c3f0=this[_0x26e408(0x386)]();return _0x45c3f0;},'blockSize':0x10,'_createHelper':function(_0x27c36b){return function(_0x59d4fc,_0x2ca9e5){var _0x427351=_0x1551;return new _0x27c36b['init'](_0x2ca9e5)[_0x427351(0x3f7)](_0x59d4fc);};},'_createHmacHelper':function(_0x5e47c6){return function(_0x145f91,_0x550d74){var _0x415e89=_0x1551;return new _0x519c4e[(_0x415e89(0x4de))][(_0x415e89(0x25b))](_0x5e47c6,_0x550d74)[_0x415e89(0x3f7)](_0x145f91);};}});var _0x519c4e=_0x284b43[_0x52cb11(0x2fc)]={};return _0x284b43;}(Math);return _0x30560f;}));}(pe)),pe[_0x1f3d89(0x4d9)];}var ge={'exports':{}},xi=ge[_0x40c17a(0x4d9)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x3ad996,_0x4a0845){(function(_0x5b1887,_0x4c920d){var _0x10defc=_0x1551;_0x3ad996[_0x10defc(0x4d9)]=_0x4c920d(ee());}(xi,function(_0xb83b10){var _0x29e3d6=_0x1551;return(function(){var _0x5d5837=_0x1551,_0x5a66b9=_0xb83b10,_0x4a23bc=_0x5a66b9[_0x5d5837(0x4ed)],_0x209f1a=_0x4a23bc[_0x5d5837(0x41a)],_0xd485b1=_0x5a66b9[_0x5d5837(0x227)];_0xd485b1[_0x5d5837(0x4c8)]={'stringify':function(_0x5841c1){var _0x14915b=_0x5d5837,_0x45c4d1=_0x5841c1['words'],_0x1279ab=_0x5841c1[_0x14915b(0x46e)],_0xe13249=this['_map'];_0x5841c1[_0x14915b(0x35a)]();for(var _0x5cc367=[],_0x383f63=0x0;_0x383f63<_0x1279ab;_0x383f63+=0x3)for(var _0x42c44d=_0x45c4d1[_0x383f63>>>0x2]>>>0x18-_0x383f63%0x4*0x8&0xff,_0xf29500=_0x45c4d1[_0x383f63+0x1>>>0x2]>>>0x18-(_0x383f63+0x1)%0x4*0x8&0xff,_0xaefc8b=_0x45c4d1[_0x383f63+0x2>>>0x2]>>>0x18-(_0x383f63+0x2)%0x4*0x8&0xff,_0x2f8ec3=_0x42c44d<<0x10|_0xf29500<<0x8|_0xaefc8b,_0xcaec39=0x0;_0xcaec39<0x4&&_0x383f63+_0xcaec39*0.75<_0x1279ab;_0xcaec39++)_0x5cc367[_0x14915b(0x48a)](_0xe13249[_0x14915b(0x307)](_0x2f8ec3>>>0x6*(0x3-_0xcaec39)&0x3f));var _0x134e83=_0xe13249['charAt'](0x40);if(_0x134e83){for(;_0x5cc367['length']%0x4;)_0x5cc367[_0x14915b(0x48a)](_0x134e83);}return _0x5cc367['join']('');},'parse':function(_0x30bdd8){var _0x404bc5=_0x5d5837,_0x4a53fd=_0x30bdd8[_0x404bc5(0x2be)],_0xb0f7eb=this[_0x404bc5(0x448)],_0x34cb63=this[_0x404bc5(0x4e1)];if(!_0x34cb63){_0x34cb63=this[_0x404bc5(0x4e1)]=[];for(var _0x31c10b=0x0;_0x31c10b<_0xb0f7eb[_0x404bc5(0x2be)];_0x31c10b++)_0x34cb63[_0xb0f7eb[_0x404bc5(0x3a8)](_0x31c10b)]=_0x31c10b;}var _0x182714=_0xb0f7eb['charAt'](0x40);if(_0x182714){var _0x47cf93=_0x30bdd8[_0x404bc5(0x1d1)](_0x182714);_0x47cf93!==-0x1&&(_0x4a53fd=_0x47cf93);}return _0x2304f8(_0x30bdd8,_0x4a53fd,_0x34cb63);},'_map':_0x5d5837(0x39f)};function _0x2304f8(_0x118995,_0x5ded7d,_0x1c22cd){var _0x1abd57=_0x5d5837;for(var _0x1951f0=[],_0x758bb4=0x0,_0x496e72=0x0;_0x496e72<_0x5ded7d;_0x496e72++)if(_0x496e72%0x4){var _0x47eb5d=_0x1c22cd[_0x118995[_0x1abd57(0x3a8)](_0x496e72-0x1)]<<_0x496e72%0x4*0x2,_0x2ebac0=_0x1c22cd[_0x118995['charCodeAt'](_0x496e72)]>>>0x6-_0x496e72%0x4*0x2,_0x57990b=_0x47eb5d|_0x2ebac0;_0x1951f0[_0x758bb4>>>0x2]|=_0x57990b<<0x18-_0x758bb4%0x4*0x8,_0x758bb4++;}return _0x209f1a['create'](_0x1951f0,_0x758bb4);}}()),_0xb83b10['enc'][_0x29e3d6(0x4c8)];}));}(ge)),ge['exports'];}function _0x1551(_0x4b8eca,_0x994301){var _0x452b16=_0x452b();return _0x1551=function(_0x1551aa,_0x2c2cdf){_0x1551aa=_0x1551aa-0x16b;var _0x1443f0=_0x452b16[_0x1551aa];return _0x1443f0;},_0x1551(_0x4b8eca,_0x994301);}var me={'exports':{}},ki=me[_0x40c17a(0x4d9)],et;function Hi(){var _0x267587=_0x40c17a;return et||(et=0x1,function(_0x1aace0,_0x5e451a){(function(_0x510ba9,_0x468859){var _0x1fd918=_0x1551;_0x1aace0[_0x1fd918(0x4d9)]=_0x468859(ee());}(ki,function(_0xcb1edf){var _0x23a9a6=_0x1551;return function(_0x31135b){var _0x187ba0=_0x1551,_0x4e45a0=_0xcb1edf,_0x4773a8=_0x4e45a0[_0x187ba0(0x4ed)],_0x57e598=_0x4773a8[_0x187ba0(0x41a)],_0x245b62=_0x4773a8[_0x187ba0(0x1c6)],_0x34e61d=_0x4e45a0[_0x187ba0(0x2fc)],_0x111b69=[];(function(){var _0x4db3d3=_0x187ba0;for(var _0x48f422=0x0;_0x48f422<0x40;_0x48f422++)_0x111b69[_0x48f422]=_0x31135b[_0x4db3d3(0x272)](_0x31135b[_0x4db3d3(0x42f)](_0x48f422+0x1))*0x100000000|0x0;}());var _0x350641=_0x34e61d[_0x187ba0(0x3b9)]=_0x245b62['extend']({'_doReset':function(){var _0xc35cfe=_0x187ba0;this[_0xc35cfe(0x374)]=new _0x57e598['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5b3f70,_0x5391ad){var _0x5a8bc0=_0x187ba0;for(var _0x1725be=0x0;_0x1725be<0x10;_0x1725be++){var _0x1776a7=_0x5391ad+_0x1725be,_0x465aed=_0x5b3f70[_0x1776a7];_0x5b3f70[_0x1776a7]=(_0x465aed<<0x8|_0x465aed>>>0x18)&0xff00ff|(_0x465aed<<0x18|_0x465aed>>>0x8)&0xff00ff00;}var _0x28220e=this[_0x5a8bc0(0x374)][_0x5a8bc0(0x1f7)],_0x2bd591=_0x5b3f70[_0x5391ad+0x0],_0x249131=_0x5b3f70[_0x5391ad+0x1],_0x46228a=_0x5b3f70[_0x5391ad+0x2],_0x201e40=_0x5b3f70[_0x5391ad+0x3],_0x49057d=_0x5b3f70[_0x5391ad+0x4],_0x4e6177=_0x5b3f70[_0x5391ad+0x5],_0x24accc=_0x5b3f70[_0x5391ad+0x6],_0x38dc8e=_0x5b3f70[_0x5391ad+0x7],_0x594758=_0x5b3f70[_0x5391ad+0x8],_0x1a3d1a=_0x5b3f70[_0x5391ad+0x9],_0x3c9302=_0x5b3f70[_0x5391ad+0xa],_0x2b3fd5=_0x5b3f70[_0x5391ad+0xb],_0x453888=_0x5b3f70[_0x5391ad+0xc],_0x39f922=_0x5b3f70[_0x5391ad+0xd],_0x2b90c5=_0x5b3f70[_0x5391ad+0xe],_0xaad1b8=_0x5b3f70[_0x5391ad+0xf],_0xd82122=_0x28220e[0x0],_0x1817f3=_0x28220e[0x1],_0x39a0ca=_0x28220e[0x2],_0x50e1f8=_0x28220e[0x3];_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x2bd591,0x7,_0x111b69[0x0]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x249131,0xc,_0x111b69[0x1]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x46228a,0x11,_0x111b69[0x2]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x201e40,0x16,_0x111b69[0x3]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x49057d,0x7,_0x111b69[0x4]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x4e6177,0xc,_0x111b69[0x5]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x24accc,0x11,_0x111b69[0x6]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x38dc8e,0x16,_0x111b69[0x7]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x594758,0x7,_0x111b69[0x8]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x1a3d1a,0xc,_0x111b69[0x9]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x3c9302,0x11,_0x111b69[0xa]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2b3fd5,0x16,_0x111b69[0xb]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x453888,0x7,_0x111b69[0xc]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x39f922,0xc,_0x111b69[0xd]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b90c5,0x11,_0x111b69[0xe]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0xaad1b8,0x16,_0x111b69[0xf]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x249131,0x5,_0x111b69[0x10]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x24accc,0x9,_0x111b69[0x11]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b3fd5,0xe,_0x111b69[0x12]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2bd591,0x14,_0x111b69[0x13]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x4e6177,0x5,_0x111b69[0x14]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x3c9302,0x9,_0x111b69[0x15]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0xaad1b8,0xe,_0x111b69[0x16]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x49057d,0x14,_0x111b69[0x17]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x1a3d1a,0x5,_0x111b69[0x18]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2b90c5,0x9,_0x111b69[0x19]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x201e40,0xe,_0x111b69[0x1a]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x594758,0x14,_0x111b69[0x1b]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x39f922,0x5,_0x111b69[0x1c]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x46228a,0x9,_0x111b69[0x1d]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x38dc8e,0xe,_0x111b69[0x1e]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x453888,0x14,_0x111b69[0x1f]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x4e6177,0x4,_0x111b69[0x20]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x594758,0xb,_0x111b69[0x21]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b3fd5,0x10,_0x111b69[0x22]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2b90c5,0x17,_0x111b69[0x23]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x249131,0x4,_0x111b69[0x24]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x49057d,0xb,_0x111b69[0x25]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x38dc8e,0x10,_0x111b69[0x26]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x3c9302,0x17,_0x111b69[0x27]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x39f922,0x4,_0x111b69[0x28]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2bd591,0xb,_0x111b69[0x29]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x201e40,0x10,_0x111b69[0x2a]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x24accc,0x17,_0x111b69[0x2b]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x1a3d1a,0x4,_0x111b69[0x2c]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x453888,0xb,_0x111b69[0x2d]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0xaad1b8,0x10,_0x111b69[0x2e]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x46228a,0x17,_0x111b69[0x2f]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x2bd591,0x6,_0x111b69[0x30]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x38dc8e,0xa,_0x111b69[0x31]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b90c5,0xf,_0x111b69[0x32]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x4e6177,0x15,_0x111b69[0x33]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x453888,0x6,_0x111b69[0x34]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x201e40,0xa,_0x111b69[0x35]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x3c9302,0xf,_0x111b69[0x36]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x249131,0x15,_0x111b69[0x37]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x594758,0x6,_0x111b69[0x38]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0xaad1b8,0xa,_0x111b69[0x39]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x24accc,0xf,_0x111b69[0x3a]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x39f922,0x15,_0x111b69[0x3b]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x49057d,0x6,_0x111b69[0x3c]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2b3fd5,0xa,_0x111b69[0x3d]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x46228a,0xf,_0x111b69[0x3e]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x1a3d1a,0x15,_0x111b69[0x3f]),_0x28220e[0x0]=_0x28220e[0x0]+_0xd82122|0x0,_0x28220e[0x1]=_0x28220e[0x1]+_0x1817f3|0x0,_0x28220e[0x2]=_0x28220e[0x2]+_0x39a0ca|0x0,_0x28220e[0x3]=_0x28220e[0x3]+_0x50e1f8|0x0;},'_doFinalize':function(){var _0x2a90de=_0x187ba0,_0x35f336=this[_0x2a90de(0x1d4)],_0x50487d=_0x35f336[_0x2a90de(0x1f7)],_0x39fa33=this[_0x2a90de(0x1cd)]*0x8,_0x1453d4=_0x35f336[_0x2a90de(0x46e)]*0x8;_0x50487d[_0x1453d4>>>0x5]|=0x80<<0x18-_0x1453d4%0x20;var _0x2bc8aa=_0x31135b[_0x2a90de(0x189)](_0x39fa33/0x100000000),_0x4c7f62=_0x39fa33;_0x50487d[(_0x1453d4+0x40>>>0x9<<0x4)+0xf]=(_0x2bc8aa<<0x8|_0x2bc8aa>>>0x18)&0xff00ff|(_0x2bc8aa<<0x18|_0x2bc8aa>>>0x8)&0xff00ff00,_0x50487d[(_0x1453d4+0x40>>>0x9<<0x4)+0xe]=(_0x4c7f62<<0x8|_0x4c7f62>>>0x18)&0xff00ff|(_0x4c7f62<<0x18|_0x4c7f62>>>0x8)&0xff00ff00,_0x35f336[_0x2a90de(0x46e)]=(_0x50487d[_0x2a90de(0x2be)]+0x1)*0x4,this[_0x2a90de(0x36a)]();for(var _0x5f4848=this[_0x2a90de(0x374)],_0x7d2698=_0x5f4848[_0x2a90de(0x1f7)],_0x5ef791=0x0;_0x5ef791<0x4;_0x5ef791++){var _0x36fe8b=_0x7d2698[_0x5ef791];_0x7d2698[_0x5ef791]=(_0x36fe8b<<0x8|_0x36fe8b>>>0x18)&0xff00ff|(_0x36fe8b<<0x18|_0x36fe8b>>>0x8)&0xff00ff00;}return _0x5f4848;},'clone':function(){var _0x40b212=_0x187ba0,_0x1c5f17=_0x245b62['clone'][_0x40b212(0x1f6)](this);return _0x1c5f17[_0x40b212(0x374)]=this[_0x40b212(0x374)]['clone'](),_0x1c5f17;}});function _0x1f0865(_0x1ac320,_0x4f8bc4,_0x2f2379,_0x170f46,_0x5a5e57,_0x47e32d,_0x3a691a){var _0x45b593=_0x1ac320+(_0x4f8bc4&_0x2f2379|~_0x4f8bc4&_0x170f46)+_0x5a5e57+_0x3a691a;return(_0x45b593<<_0x47e32d|_0x45b593>>>0x20-_0x47e32d)+_0x4f8bc4;}function _0xac4cb1(_0x244785,_0x50a511,_0x14bf2d,_0x17716e,_0x5b4190,_0x2b2a5b,_0x3aeb3a){var _0x4009b3=_0x244785+(_0x50a511&_0x17716e|_0x14bf2d&~_0x17716e)+_0x5b4190+_0x3aeb3a;return(_0x4009b3<<_0x2b2a5b|_0x4009b3>>>0x20-_0x2b2a5b)+_0x50a511;}function _0x2a8b7e(_0x167c84,_0xf4d258,_0x2bae6c,_0x266dcc,_0x368e80,_0x46787d,_0x1fec7c){var _0x528d44=_0x167c84+(_0xf4d258^_0x2bae6c^_0x266dcc)+_0x368e80+_0x1fec7c;return(_0x528d44<<_0x46787d|_0x528d44>>>0x20-_0x46787d)+_0xf4d258;}function _0x185885(_0x5872dd,_0x1dae2b,_0x131b3b,_0x4c5623,_0x426e49,_0x1beea2,_0x2577cc){var _0x3d437b=_0x5872dd+(_0x131b3b^(_0x1dae2b|~_0x4c5623))+_0x426e49+_0x2577cc;return(_0x3d437b<<_0x1beea2|_0x3d437b>>>0x20-_0x1beea2)+_0x1dae2b;}_0x4e45a0[_0x187ba0(0x3b9)]=_0x245b62[_0x187ba0(0x3a2)](_0x350641),_0x4e45a0[_0x187ba0(0x3bf)]=_0x245b62[_0x187ba0(0x489)](_0x350641);}(Math),_0xcb1edf[_0x23a9a6(0x3b9)];}));}(me)),me[_0x267587(0x4d9)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0xa2c439=_0x40c17a;return tt||(tt=0x1,function(_0x2bd901,_0xb1259c){(function(_0x495d72,_0x484f18){var _0x3e74fb=_0x1551;_0x2bd901[_0x3e74fb(0x4d9)]=_0x484f18(ee());}(ji,function(_0x9a46d4){var _0x119290=_0x1551;return(function(){var _0x257530=_0x1551,_0x141020=_0x9a46d4,_0x5c10be=_0x141020[_0x257530(0x4ed)],_0x162cd9=_0x5c10be[_0x257530(0x41a)],_0x1daa5c=_0x5c10be['Hasher'],_0x4ec5c1=_0x141020[_0x257530(0x2fc)],_0x541f68=[],_0x2108e0=_0x4ec5c1[_0x257530(0x314)]=_0x1daa5c['extend']({'_doReset':function(){var _0xd9c47f=_0x257530;this[_0xd9c47f(0x374)]=new _0x162cd9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x558cf9,_0x20a4ab){var _0x471d29=_0x257530;for(var _0x3a488b=this[_0x471d29(0x374)][_0x471d29(0x1f7)],_0x505a9b=_0x3a488b[0x0],_0x45b3fb=_0x3a488b[0x1],_0x21a460=_0x3a488b[0x2],_0x461b42=_0x3a488b[0x3],_0x438f17=_0x3a488b[0x4],_0x45b7e5=0x0;_0x45b7e5<0x50;_0x45b7e5++){if(_0x45b7e5<0x10)_0x541f68[_0x45b7e5]=_0x558cf9[_0x20a4ab+_0x45b7e5]|0x0;else{var _0x1183fd=_0x541f68[_0x45b7e5-0x3]^_0x541f68[_0x45b7e5-0x8]^_0x541f68[_0x45b7e5-0xe]^_0x541f68[_0x45b7e5-0x10];_0x541f68[_0x45b7e5]=_0x1183fd<<0x1|_0x1183fd>>>0x1f;}var _0x503c0c=(_0x505a9b<<0x5|_0x505a9b>>>0x1b)+_0x438f17+_0x541f68[_0x45b7e5];_0x45b7e5<0x14?_0x503c0c+=(_0x45b3fb&_0x21a460|~_0x45b3fb&_0x461b42)+0x5a827999:_0x45b7e5<0x28?_0x503c0c+=(_0x45b3fb^_0x21a460^_0x461b42)+0x6ed9eba1:_0x45b7e5<0x3c?_0x503c0c+=(_0x45b3fb&_0x21a460|_0x45b3fb&_0x461b42|_0x21a460&_0x461b42)-0x70e44324:_0x503c0c+=(_0x45b3fb^_0x21a460^_0x461b42)-0x359d3e2a,_0x438f17=_0x461b42,_0x461b42=_0x21a460,_0x21a460=_0x45b3fb<<0x1e|_0x45b3fb>>>0x2,_0x45b3fb=_0x505a9b,_0x505a9b=_0x503c0c;}_0x3a488b[0x0]=_0x3a488b[0x0]+_0x505a9b|0x0,_0x3a488b[0x1]=_0x3a488b[0x1]+_0x45b3fb|0x0,_0x3a488b[0x2]=_0x3a488b[0x2]+_0x21a460|0x0,_0x3a488b[0x3]=_0x3a488b[0x3]+_0x461b42|0x0,_0x3a488b[0x4]=_0x3a488b[0x4]+_0x438f17|0x0;},'_doFinalize':function(){var _0x28d176=_0x257530,_0x5601d1=this['_data'],_0x47808c=_0x5601d1[_0x28d176(0x1f7)],_0x76af53=this[_0x28d176(0x1cd)]*0x8,_0x3586dd=_0x5601d1[_0x28d176(0x46e)]*0x8;return _0x47808c[_0x3586dd>>>0x5]|=0x80<<0x18-_0x3586dd%0x20,_0x47808c[(_0x3586dd+0x40>>>0x9<<0x4)+0xe]=Math[_0x28d176(0x189)](_0x76af53/0x100000000),_0x47808c[(_0x3586dd+0x40>>>0x9<<0x4)+0xf]=_0x76af53,_0x5601d1['sigBytes']=_0x47808c['length']*0x4,this[_0x28d176(0x36a)](),this[_0x28d176(0x374)];},'clone':function(){var _0x23f66b=_0x257530,_0xd71cc3=_0x1daa5c[_0x23f66b(0x3c8)][_0x23f66b(0x1f6)](this);return _0xd71cc3[_0x23f66b(0x374)]=this[_0x23f66b(0x374)]['clone'](),_0xd71cc3;}});_0x141020[_0x257530(0x314)]=_0x1daa5c[_0x257530(0x3a2)](_0x2108e0),_0x141020[_0x257530(0x27e)]=_0x1daa5c[_0x257530(0x489)](_0x2108e0);}()),_0x9a46d4[_0x119290(0x314)];}));}(Ee)),Ee[_0xa2c439(0x4d9)];}var Ce={'exports':{}},Bi=Ce[_0x40c17a(0x4d9)],it;function Fi(){return it||(it=0x1,function(_0x667916,_0x57bb75){(function(_0x22281a,_0x387154){var _0x40afd4=_0x1551;_0x667916[_0x40afd4(0x4d9)]=_0x387154(ee());}(Bi,function(_0xd2d910){(function(){var _0x2579bc=_0x1551,_0xa5ea65=_0xd2d910,_0x2d467a=_0xa5ea65['lib'],_0x41f84f=_0x2d467a['Base'],_0x264177=_0xa5ea65['enc'],_0x12887a=_0x264177[_0x2579bc(0x32a)],_0x4ee515=_0xa5ea65[_0x2579bc(0x2fc)];_0x4ee515[_0x2579bc(0x4de)]=_0x41f84f[_0x2579bc(0x1b9)]({'init':function(_0x12c262,_0x398e42){var _0x5aef82=_0x2579bc;_0x12c262=this[_0x5aef82(0x304)]=new _0x12c262[(_0x5aef82(0x25b))](),typeof _0x398e42=='string'&&(_0x398e42=_0x12887a[_0x5aef82(0x36e)](_0x398e42));var _0x6b431c=_0x12c262['blockSize'],_0x35a055=_0x6b431c*0x4;_0x398e42['sigBytes']>_0x35a055&&(_0x398e42=_0x12c262[_0x5aef82(0x3f7)](_0x398e42)),_0x398e42[_0x5aef82(0x35a)]();for(var _0x4af600=this[_0x5aef82(0x1fe)]=_0x398e42[_0x5aef82(0x3c8)](),_0x3000a2=this[_0x5aef82(0x1aa)]=_0x398e42[_0x5aef82(0x3c8)](),_0x2ee174=_0x4af600['words'],_0x585ac0=_0x3000a2[_0x5aef82(0x1f7)],_0xe98555=0x0;_0xe98555<_0x6b431c;_0xe98555++)_0x2ee174[_0xe98555]^=0x5c5c5c5c,_0x585ac0[_0xe98555]^=0x36363636;_0x4af600['sigBytes']=_0x3000a2[_0x5aef82(0x46e)]=_0x35a055,this[_0x5aef82(0x349)]();},'reset':function(){var _0x5d0e52=_0x2579bc,_0x5bd4cf=this[_0x5d0e52(0x304)];_0x5bd4cf[_0x5d0e52(0x349)](),_0x5bd4cf[_0x5d0e52(0x1c2)](this[_0x5d0e52(0x1aa)]);},'update':function(_0x31a6c8){var _0x124866=_0x2579bc;return this[_0x124866(0x304)][_0x124866(0x1c2)](_0x31a6c8),this;},'finalize':function(_0x109f91){var _0x480d3b=_0x2579bc,_0x5e8463=this[_0x480d3b(0x304)],_0x2cc64e=_0x5e8463[_0x480d3b(0x3f7)](_0x109f91);_0x5e8463[_0x480d3b(0x349)]();var _0x7c5321=_0x5e8463[_0x480d3b(0x3f7)](this[_0x480d3b(0x1fe)][_0x480d3b(0x3c8)]()[_0x480d3b(0x4df)](_0x2cc64e));return _0x7c5321;}});}());}));}(Ce)),Ce['exports'];}var Vi=Ie[_0x40c17a(0x4d9)],nt;function At(){var _0x4be518=_0x40c17a;return nt||(nt=0x1,function(_0x3fb0d1,_0x188f47){(function(_0x23f7f2,_0x570391,_0x12865a){var _0x3bb377=_0x1551;_0x3fb0d1[_0x3bb377(0x4d9)]=_0x570391(ee(),$i(),Fi());}(Vi,function(_0x458e08){return(function(){var _0x4d5a0b=_0x1551,_0x3cb368=_0x458e08,_0x105eb0=_0x3cb368[_0x4d5a0b(0x4ed)],_0x550f75=_0x105eb0[_0x4d5a0b(0x1de)],_0x16ea6e=_0x105eb0[_0x4d5a0b(0x41a)],_0x42e822=_0x3cb368[_0x4d5a0b(0x2fc)],_0x31aeae=_0x42e822[_0x4d5a0b(0x3b9)],_0x4b6205=_0x42e822[_0x4d5a0b(0x263)]=_0x550f75[_0x4d5a0b(0x1b9)]({'cfg':_0x550f75[_0x4d5a0b(0x1b9)]({'keySize':0x80/0x20,'hasher':_0x31aeae,'iterations':0x1}),'init':function(_0x1c6429){var _0x1a1ffc=_0x4d5a0b;this['cfg']=this[_0x1a1ffc(0x351)]['extend'](_0x1c6429);},'compute':function(_0x557e5b,_0x457ff7){var _0x69dbbf=_0x4d5a0b;for(var _0x15f9d6,_0x45b78d=this[_0x69dbbf(0x351)],_0x57c97c=_0x45b78d[_0x69dbbf(0x4aa)][_0x69dbbf(0x4d7)](),_0x48adb4=_0x16ea6e[_0x69dbbf(0x4d7)](),_0x22a467=_0x48adb4[_0x69dbbf(0x1f7)],_0x7ccb7a=_0x45b78d[_0x69dbbf(0x404)],_0x20d1e8=_0x45b78d['iterations'];_0x22a467[_0x69dbbf(0x2be)]<_0x7ccb7a;){_0x15f9d6&&_0x57c97c['update'](_0x15f9d6),_0x15f9d6=_0x57c97c[_0x69dbbf(0x1c2)](_0x557e5b)[_0x69dbbf(0x3f7)](_0x457ff7),_0x57c97c[_0x69dbbf(0x349)]();for(var _0x391e01=0x1;_0x391e01<_0x20d1e8;_0x391e01++)_0x15f9d6=_0x57c97c[_0x69dbbf(0x3f7)](_0x15f9d6),_0x57c97c[_0x69dbbf(0x349)]();_0x48adb4[_0x69dbbf(0x4df)](_0x15f9d6);}return _0x48adb4[_0x69dbbf(0x46e)]=_0x7ccb7a*0x4,_0x48adb4;}});_0x3cb368[_0x4d5a0b(0x263)]=function(_0x4a2ec,_0x1e1968,_0x3900f4){var _0x4cc593=_0x4d5a0b;return _0x4b6205[_0x4cc593(0x4d7)](_0x3900f4)[_0x4cc593(0x192)](_0x4a2ec,_0x1e1968);};}()),_0x458e08['EvpKDF'];}));}(Ie)),Ie[_0x4be518(0x4d9)];}var Te={'exports':{}},Wi=Te[_0x40c17a(0x4d9)],rt;function Pt(){var _0x386bc9=_0x40c17a;return rt||(rt=0x1,function(_0x509c0d,_0x13c523){(function(_0x212b59,_0x3b3bfd,_0x3c2288){_0x509c0d['exports']=_0x3b3bfd(ee(),At());}(Wi,function(_0x204c43){var _0x553024=_0x1551;_0x204c43[_0x553024(0x4ed)][_0x553024(0x40f)]||function(_0x54d450){var _0x1b9b61=_0x553024,_0x585168=_0x204c43,_0x879f5b=_0x585168[_0x1b9b61(0x4ed)],_0x9064ee=_0x879f5b['Base'],_0x4f5aba=_0x879f5b['WordArray'],_0x57091c=_0x879f5b[_0x1b9b61(0x3e9)],_0x5bbaa0=_0x585168[_0x1b9b61(0x227)];_0x5bbaa0[_0x1b9b61(0x32a)];var _0x1803b7=_0x5bbaa0[_0x1b9b61(0x4c8)],_0x44f736=_0x585168[_0x1b9b61(0x2fc)],_0x6544f4=_0x44f736[_0x1b9b61(0x263)],_0x2c72f5=_0x879f5b[_0x1b9b61(0x40f)]=_0x57091c[_0x1b9b61(0x1b9)]({'cfg':_0x9064ee[_0x1b9b61(0x1b9)](),'createEncryptor':function(_0x256bcb,_0x2affd4){var _0x28d90c=_0x1b9b61;return this[_0x28d90c(0x4d7)](this[_0x28d90c(0x4b1)],_0x256bcb,_0x2affd4);},'createDecryptor':function(_0x41df38,_0x12f42e){var _0x44eb24=_0x1b9b61;return this['create'](this[_0x44eb24(0x3fe)],_0x41df38,_0x12f42e);},'init':function(_0x3f5d89,_0x123e02,_0x46f814){var _0x5f555c=_0x1b9b61;this[_0x5f555c(0x351)]=this[_0x5f555c(0x351)][_0x5f555c(0x1b9)](_0x46f814),this[_0x5f555c(0x2c4)]=_0x3f5d89,this[_0x5f555c(0x38a)]=_0x123e02,this[_0x5f555c(0x349)]();},'reset':function(){var _0x1d6440=_0x1b9b61;_0x57091c[_0x1d6440(0x349)][_0x1d6440(0x1f6)](this),this[_0x1d6440(0x283)]();},'process':function(_0x3d529d){var _0x2d9841=_0x1b9b61;return this[_0x2d9841(0x21c)](_0x3d529d),this[_0x2d9841(0x36a)]();},'finalize':function(_0xebb8a0){_0xebb8a0&&this['_append'](_0xebb8a0);var _0x153289=this['_doFinalize']();return _0x153289;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11ab7a(_0x4c7161){var _0x559d80=_0x1551;return typeof _0x4c7161==_0x559d80(0x409)?_0x3d23c0:_0x2cd49a;}return function(_0x2ba690){return{'encrypt':function(_0xc58d65,_0x5998fb,_0x359d7f){return _0x11ab7a(_0x5998fb)['encrypt'](_0x2ba690,_0xc58d65,_0x5998fb,_0x359d7f);},'decrypt':function(_0x134c8a,_0x817b10,_0x6b18c7){var _0x389559=_0x1551;return _0x11ab7a(_0x817b10)[_0x389559(0x21f)](_0x2ba690,_0x134c8a,_0x817b10,_0x6b18c7);}};};}())});_0x879f5b[_0x1b9b61(0x398)]=_0x2c72f5[_0x1b9b61(0x1b9)]({'_doFinalize':function(){var _0x3b849f=this['_process'](!0x0);return _0x3b849f;},'blockSize':0x1});var _0x3b7025=_0x585168[_0x1b9b61(0x3a9)]={},_0x9376cf=_0x879f5b[_0x1b9b61(0x408)]=_0x9064ee['extend']({'createEncryptor':function(_0x22e1a6,_0x5af739){var _0x11b31e=_0x1b9b61;return this[_0x11b31e(0x2ce)][_0x11b31e(0x4d7)](_0x22e1a6,_0x5af739);},'createDecryptor':function(_0x5690f3,_0xa10458){return this['Decryptor']['create'](_0x5690f3,_0xa10458);},'init':function(_0x26efb2,_0x5433f8){var _0x35add8=_0x1b9b61;this[_0x35add8(0x370)]=_0x26efb2,this[_0x35add8(0x2e8)]=_0x5433f8;}}),_0x35773f=_0x3b7025[_0x1b9b61(0x16c)]=(function(){var _0x2c0100=_0x1b9b61,_0x3e751f=_0x9376cf[_0x2c0100(0x1b9)]();_0x3e751f[_0x2c0100(0x2ce)]=_0x3e751f['extend']({'processBlock':function(_0x4d2ee6,_0x5c87dc){var _0x2fb1ff=_0x2c0100,_0x574031=this[_0x2fb1ff(0x370)],_0x398165=_0x574031[_0x2fb1ff(0x248)];_0x2d15b3[_0x2fb1ff(0x1f6)](this,_0x4d2ee6,_0x5c87dc,_0x398165),_0x574031[_0x2fb1ff(0x4fa)](_0x4d2ee6,_0x5c87dc),this[_0x2fb1ff(0x396)]=_0x4d2ee6[_0x2fb1ff(0x24c)](_0x5c87dc,_0x5c87dc+_0x398165);}}),_0x3e751f[_0x2c0100(0x1a3)]=_0x3e751f[_0x2c0100(0x1b9)]({'processBlock':function(_0x4ff66d,_0x2187f7){var _0x3ed5a4=_0x2c0100,_0x47a69e=this[_0x3ed5a4(0x370)],_0x458d2d=_0x47a69e['blockSize'],_0x163e83=_0x4ff66d[_0x3ed5a4(0x24c)](_0x2187f7,_0x2187f7+_0x458d2d);_0x47a69e[_0x3ed5a4(0x279)](_0x4ff66d,_0x2187f7),_0x2d15b3['call'](this,_0x4ff66d,_0x2187f7,_0x458d2d),this[_0x3ed5a4(0x396)]=_0x163e83;}});function _0x2d15b3(_0x4e2101,_0x263268,_0x3f2ab9){var _0x98ca8a=_0x2c0100,_0x227acb,_0x464122=this[_0x98ca8a(0x2e8)];_0x464122?(_0x227acb=_0x464122,this['_iv']=_0x54d450):_0x227acb=this[_0x98ca8a(0x396)];for(var _0x2ae356=0x0;_0x2ae356<_0x3f2ab9;_0x2ae356++)_0x4e2101[_0x263268+_0x2ae356]^=_0x227acb[_0x2ae356];}return _0x3e751f;}()),_0x357fb9=_0x585168[_0x1b9b61(0x3b2)]={},_0x28e3ed=_0x357fb9[_0x1b9b61(0x3c2)]={'pad':function(_0xadb186,_0x164b41){var _0x18d3a4=_0x1b9b61;for(var _0x51e39f=_0x164b41*0x4,_0x3164c5=_0x51e39f-_0xadb186['sigBytes']%_0x51e39f,_0x3dc028=_0x3164c5<<0x18|_0x3164c5<<0x10|_0x3164c5<<0x8|_0x3164c5,_0x2f9aa0=[],_0x33b37f=0x0;_0x33b37f<_0x3164c5;_0x33b37f+=0x4)_0x2f9aa0[_0x18d3a4(0x48a)](_0x3dc028);var _0x539684=_0x4f5aba[_0x18d3a4(0x4d7)](_0x2f9aa0,_0x3164c5);_0xadb186[_0x18d3a4(0x4df)](_0x539684);},'unpad':function(_0x3e82b4){var _0x4880e9=_0x1b9b61,_0x26f1b6=_0x3e82b4['words'][_0x3e82b4['sigBytes']-0x1>>>0x2]&0xff;_0x3e82b4[_0x4880e9(0x46e)]-=_0x26f1b6;}};_0x879f5b['BlockCipher']=_0x2c72f5[_0x1b9b61(0x1b9)]({'cfg':_0x2c72f5[_0x1b9b61(0x351)]['extend']({'mode':_0x35773f,'padding':_0x28e3ed}),'reset':function(){var _0x2adf0d=_0x1b9b61,_0x17725a;_0x2c72f5['reset'][_0x2adf0d(0x1f6)](this);var _0x5dd95e=this['cfg'],_0x5ef46f=_0x5dd95e['iv'],_0x4dc0f9=_0x5dd95e[_0x2adf0d(0x3a9)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x17725a=_0x4dc0f9['createEncryptor']:(_0x17725a=_0x4dc0f9['createDecryptor'],this['_minBufferSize']=0x1),this[_0x2adf0d(0x44b)]&&this['_mode'][_0x2adf0d(0x449)]==_0x17725a?this['_mode'][_0x2adf0d(0x25b)](this,_0x5ef46f&&_0x5ef46f[_0x2adf0d(0x1f7)]):(this[_0x2adf0d(0x44b)]=_0x17725a[_0x2adf0d(0x1f6)](_0x4dc0f9,this,_0x5ef46f&&_0x5ef46f[_0x2adf0d(0x1f7)]),this['_mode'][_0x2adf0d(0x449)]=_0x17725a);},'_doProcessBlock':function(_0x48689a,_0x45a2e8){var _0x119a2a=_0x1b9b61;this[_0x119a2a(0x44b)][_0x119a2a(0x1a7)](_0x48689a,_0x45a2e8);},'_doFinalize':function(){var _0x4122ad=_0x1b9b61,_0x2ca61d,_0x9fca51=this[_0x4122ad(0x351)]['padding'];return this[_0x4122ad(0x2c4)]==this[_0x4122ad(0x4b1)]?(_0x9fca51[_0x4122ad(0x3b2)](this['_data'],this['blockSize']),_0x2ca61d=this[_0x4122ad(0x36a)](!0x0)):(_0x2ca61d=this[_0x4122ad(0x36a)](!0x0),_0x9fca51[_0x4122ad(0x191)](_0x2ca61d)),_0x2ca61d;},'blockSize':0x80/0x20});var _0xa362ea=_0x879f5b[_0x1b9b61(0x3ef)]=_0x9064ee[_0x1b9b61(0x1b9)]({'init':function(_0x1e1a83){this['mixIn'](_0x1e1a83);},'toString':function(_0x1461e7){var _0x4a6736=_0x1b9b61;return(_0x1461e7||this[_0x4a6736(0x301)])['stringify'](this);}}),_0xee5852=_0x585168[_0x1b9b61(0x4fc)]={},_0x4ff57d=_0xee5852[_0x1b9b61(0x438)]={'stringify':function(_0x2df34f){var _0x22281f=_0x1b9b61,_0x23ea62,_0x2d69a4=_0x2df34f[_0x22281f(0x480)],_0x9a0ea3=_0x2df34f['salt'];return _0x9a0ea3?_0x23ea62=_0x4f5aba[_0x22281f(0x4d7)]([0x53616c74,0x65645f5f])['concat'](_0x9a0ea3)[_0x22281f(0x4df)](_0x2d69a4):_0x23ea62=_0x2d69a4,_0x23ea62[_0x22281f(0x285)](_0x1803b7);},'parse':function(_0x2ea182){var _0x4b1b34=_0x1b9b61,_0x3a61aa,_0x5af00e=_0x1803b7['parse'](_0x2ea182),_0x3462a8=_0x5af00e[_0x4b1b34(0x1f7)];return _0x3462a8[0x0]==0x53616c74&&_0x3462a8[0x1]==0x65645f5f&&(_0x3a61aa=_0x4f5aba[_0x4b1b34(0x4d7)](_0x3462a8['slice'](0x2,0x4)),_0x3462a8[_0x4b1b34(0x206)](0x0,0x4),_0x5af00e[_0x4b1b34(0x46e)]-=0x10),_0xa362ea['create']({'ciphertext':_0x5af00e,'salt':_0x3a61aa});}},_0x2cd49a=_0x879f5b[_0x1b9b61(0x2bd)]=_0x9064ee[_0x1b9b61(0x1b9)]({'cfg':_0x9064ee[_0x1b9b61(0x1b9)]({'format':_0x4ff57d}),'encrypt':function(_0x1937c2,_0x375cba,_0x59fc72,_0x12e1e3){var _0x36ffb8=_0x1b9b61;_0x12e1e3=this[_0x36ffb8(0x351)][_0x36ffb8(0x1b9)](_0x12e1e3);var _0x3d7054=_0x1937c2[_0x36ffb8(0x496)](_0x59fc72,_0x12e1e3),_0x405a6a=_0x3d7054[_0x36ffb8(0x3f7)](_0x375cba),_0x249edb=_0x3d7054[_0x36ffb8(0x351)];return _0xa362ea['create']({'ciphertext':_0x405a6a,'key':_0x59fc72,'iv':_0x249edb['iv'],'algorithm':_0x1937c2,'mode':_0x249edb['mode'],'padding':_0x249edb[_0x36ffb8(0x4b7)],'blockSize':_0x1937c2['blockSize'],'formatter':_0x12e1e3[_0x36ffb8(0x4fc)]});},'decrypt':function(_0x1a374f,_0x4c3727,_0x221a6a,_0x43f3a0){var _0x3cd2bb=_0x1b9b61;_0x43f3a0=this['cfg'][_0x3cd2bb(0x1b9)](_0x43f3a0),_0x4c3727=this['_parse'](_0x4c3727,_0x43f3a0['format']);var _0x2ae08f=_0x1a374f[_0x3cd2bb(0x392)](_0x221a6a,_0x43f3a0)[_0x3cd2bb(0x3f7)](_0x4c3727[_0x3cd2bb(0x480)]);return _0x2ae08f;},'_parse':function(_0x4d1ca0,_0x778144){var _0x2c6a25=_0x1b9b61;return typeof _0x4d1ca0==_0x2c6a25(0x409)?_0x778144[_0x2c6a25(0x36e)](_0x4d1ca0,this):_0x4d1ca0;}}),_0x3e96d2=_0x585168[_0x1b9b61(0x346)]={},_0x1405de=_0x3e96d2[_0x1b9b61(0x438)]={'execute':function(_0x4f71fd,_0x29bd77,_0x246c89,_0x5b8e9d,_0x5d8da1){var _0xb44fa=_0x1b9b61;if(_0x5b8e9d||(_0x5b8e9d=_0x4f5aba[_0xb44fa(0x328)](0x40/0x8)),_0x5d8da1)var _0x293e6a=_0x6544f4[_0xb44fa(0x4d7)]({'keySize':_0x29bd77+_0x246c89,'hasher':_0x5d8da1})[_0xb44fa(0x192)](_0x4f71fd,_0x5b8e9d);else var _0x293e6a=_0x6544f4[_0xb44fa(0x4d7)]({'keySize':_0x29bd77+_0x246c89})['compute'](_0x4f71fd,_0x5b8e9d);var _0x2ce374=_0x4f5aba['create'](_0x293e6a[_0xb44fa(0x1f7)][_0xb44fa(0x24c)](_0x29bd77),_0x246c89*0x4);return _0x293e6a[_0xb44fa(0x46e)]=_0x29bd77*0x4,_0xa362ea[_0xb44fa(0x4d7)]({'key':_0x293e6a,'iv':_0x2ce374,'salt':_0x5b8e9d});}},_0x3d23c0=_0x879f5b[_0x1b9b61(0x4d1)]=_0x2cd49a[_0x1b9b61(0x1b9)]({'cfg':_0x2cd49a[_0x1b9b61(0x351)][_0x1b9b61(0x1b9)]({'kdf':_0x1405de}),'encrypt':function(_0x38ac9f,_0x2ed6d6,_0x18c6b0,_0x3654f2){var _0x5dc23a=_0x1b9b61;_0x3654f2=this[_0x5dc23a(0x351)][_0x5dc23a(0x1b9)](_0x3654f2);var _0x4e46a2=_0x3654f2[_0x5dc23a(0x346)][_0x5dc23a(0x1da)](_0x18c6b0,_0x38ac9f['keySize'],_0x38ac9f[_0x5dc23a(0x1b1)],_0x3654f2[_0x5dc23a(0x286)],_0x3654f2[_0x5dc23a(0x4aa)]);_0x3654f2['iv']=_0x4e46a2['iv'];var _0xbda3b1=_0x2cd49a[_0x5dc23a(0x416)][_0x5dc23a(0x1f6)](this,_0x38ac9f,_0x2ed6d6,_0x4e46a2[_0x5dc23a(0x1a9)],_0x3654f2);return _0xbda3b1[_0x5dc23a(0x2bc)](_0x4e46a2),_0xbda3b1;},'decrypt':function(_0x2fee70,_0x15bd7b,_0x213033,_0x2dfe64){var _0x12b799=_0x1b9b61;_0x2dfe64=this['cfg'][_0x12b799(0x1b9)](_0x2dfe64),_0x15bd7b=this[_0x12b799(0x183)](_0x15bd7b,_0x2dfe64[_0x12b799(0x4fc)]);var _0x227298=_0x2dfe64['kdf'][_0x12b799(0x1da)](_0x213033,_0x2fee70[_0x12b799(0x404)],_0x2fee70[_0x12b799(0x1b1)],_0x15bd7b[_0x12b799(0x286)],_0x2dfe64[_0x12b799(0x4aa)]);_0x2dfe64['iv']=_0x227298['iv'];var _0xa0a029=_0x2cd49a['decrypt']['call'](this,_0x2fee70,_0x15bd7b,_0x227298[_0x12b799(0x1a9)],_0x2dfe64);return _0xa0a029;}});}();}));}(Te)),Te[_0x386bc9(0x4d9)];}var Gi=fe['exports'],st;function Ki(){var _0x2ce3df=_0x40c17a;return st||(st=0x1,function(_0x5e3384,_0x277466){(function(_0x158bf4,_0x1cca40,_0x3b967a){var _0x1b4853=_0x1551;_0x5e3384[_0x1b4853(0x4d9)]=_0x1cca40(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x5066b2){var _0x361c73=_0x1551;return(function(){var _0x1a09b3=_0x1551,_0x3660a3=_0x5066b2,_0x22aec9=_0x3660a3[_0x1a09b3(0x4ed)],_0x115532=_0x22aec9[_0x1a09b3(0x467)],_0x3d8e4a=_0x3660a3['algo'],_0x49d287=[],_0x46cdcf=[],_0x2b9f86=[],_0x539ffc=[],_0x3e9de1=[],_0x526278=[],_0x4672b0=[],_0xf5fee1=[],_0x25dc1d=[],_0x944330=[];(function(){for(var _0x49c7c6=[],_0x31e927=0x0;_0x31e927<0x100;_0x31e927++)_0x31e927<0x80?_0x49c7c6[_0x31e927]=_0x31e927<<0x1:_0x49c7c6[_0x31e927]=_0x31e927<<0x1^0x11b;for(var _0x5d5f67=0x0,_0x411fa8=0x0,_0x31e927=0x0;_0x31e927<0x100;_0x31e927++){var _0xd1ace6=_0x411fa8^_0x411fa8<<0x1^_0x411fa8<<0x2^_0x411fa8<<0x3^_0x411fa8<<0x4;_0xd1ace6=_0xd1ace6>>>0x8^_0xd1ace6&0xff^0x63,_0x49d287[_0x5d5f67]=_0xd1ace6,_0x46cdcf[_0xd1ace6]=_0x5d5f67;var _0x4efec4=_0x49c7c6[_0x5d5f67],_0x180140=_0x49c7c6[_0x4efec4],_0x4ff062=_0x49c7c6[_0x180140],_0x33195f=_0x49c7c6[_0xd1ace6]*0x101^_0xd1ace6*0x1010100;_0x2b9f86[_0x5d5f67]=_0x33195f<<0x18|_0x33195f>>>0x8,_0x539ffc[_0x5d5f67]=_0x33195f<<0x10|_0x33195f>>>0x10,_0x3e9de1[_0x5d5f67]=_0x33195f<<0x8|_0x33195f>>>0x18,_0x526278[_0x5d5f67]=_0x33195f;var _0x33195f=_0x4ff062*0x1010101^_0x180140*0x10001^_0x4efec4*0x101^_0x5d5f67*0x1010100;_0x4672b0[_0xd1ace6]=_0x33195f<<0x18|_0x33195f>>>0x8,_0xf5fee1[_0xd1ace6]=_0x33195f<<0x10|_0x33195f>>>0x10,_0x25dc1d[_0xd1ace6]=_0x33195f<<0x8|_0x33195f>>>0x18,_0x944330[_0xd1ace6]=_0x33195f,_0x5d5f67?(_0x5d5f67=_0x4efec4^_0x49c7c6[_0x49c7c6[_0x49c7c6[_0x4ff062^_0x4efec4]]],_0x411fa8^=_0x49c7c6[_0x49c7c6[_0x411fa8]]):_0x5d5f67=_0x411fa8=0x1;}}());var _0x3b0a5b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5c83ba=_0x3d8e4a[_0x1a09b3(0x2bb)]=_0x115532['extend']({'_doReset':function(){var _0x4803b0=_0x1a09b3,_0x3089a8;if(!(this[_0x4803b0(0x445)]&&this[_0x4803b0(0x472)]===this[_0x4803b0(0x38a)])){for(var _0x42570c=this[_0x4803b0(0x472)]=this[_0x4803b0(0x38a)],_0x16b43b=_0x42570c[_0x4803b0(0x1f7)],_0x2f4c90=_0x42570c[_0x4803b0(0x46e)]/0x4,_0xa90b4a=this[_0x4803b0(0x445)]=_0x2f4c90+0x6,_0x3714ff=(_0xa90b4a+0x1)*0x4,_0x410c0f=this[_0x4803b0(0x3d5)]=[],_0x2e9e9e=0x0;_0x2e9e9e<_0x3714ff;_0x2e9e9e++)_0x2e9e9e<_0x2f4c90?_0x410c0f[_0x2e9e9e]=_0x16b43b[_0x2e9e9e]:(_0x3089a8=_0x410c0f[_0x2e9e9e-0x1],_0x2e9e9e%_0x2f4c90?_0x2f4c90>0x6&&_0x2e9e9e%_0x2f4c90==0x4&&(_0x3089a8=_0x49d287[_0x3089a8>>>0x18]<<0x18|_0x49d287[_0x3089a8>>>0x10&0xff]<<0x10|_0x49d287[_0x3089a8>>>0x8&0xff]<<0x8|_0x49d287[_0x3089a8&0xff]):(_0x3089a8=_0x3089a8<<0x8|_0x3089a8>>>0x18,_0x3089a8=_0x49d287[_0x3089a8>>>0x18]<<0x18|_0x49d287[_0x3089a8>>>0x10&0xff]<<0x10|_0x49d287[_0x3089a8>>>0x8&0xff]<<0x8|_0x49d287[_0x3089a8&0xff],_0x3089a8^=_0x3b0a5b[_0x2e9e9e/_0x2f4c90|0x0]<<0x18),_0x410c0f[_0x2e9e9e]=_0x410c0f[_0x2e9e9e-_0x2f4c90]^_0x3089a8);for(var _0x530c88=this[_0x4803b0(0x2d1)]=[],_0x229c78=0x0;_0x229c78<_0x3714ff;_0x229c78++){var _0x2e9e9e=_0x3714ff-_0x229c78;if(_0x229c78%0x4)var _0x3089a8=_0x410c0f[_0x2e9e9e];else var _0x3089a8=_0x410c0f[_0x2e9e9e-0x4];_0x229c78<0x4||_0x2e9e9e<=0x4?_0x530c88[_0x229c78]=_0x3089a8:_0x530c88[_0x229c78]=_0x4672b0[_0x49d287[_0x3089a8>>>0x18]]^_0xf5fee1[_0x49d287[_0x3089a8>>>0x10&0xff]]^_0x25dc1d[_0x49d287[_0x3089a8>>>0x8&0xff]]^_0x944330[_0x49d287[_0x3089a8&0xff]];}}},'encryptBlock':function(_0x246121,_0x318b65){var _0x144e8c=_0x1a09b3;this[_0x144e8c(0x1d0)](_0x246121,_0x318b65,this[_0x144e8c(0x3d5)],_0x2b9f86,_0x539ffc,_0x3e9de1,_0x526278,_0x49d287);},'decryptBlock':function(_0x382c0e,_0x5e2dc8){var _0x3bd832=_0x1a09b3,_0xd9bad9=_0x382c0e[_0x5e2dc8+0x1];_0x382c0e[_0x5e2dc8+0x1]=_0x382c0e[_0x5e2dc8+0x3],_0x382c0e[_0x5e2dc8+0x3]=_0xd9bad9,this[_0x3bd832(0x1d0)](_0x382c0e,_0x5e2dc8,this[_0x3bd832(0x2d1)],_0x4672b0,_0xf5fee1,_0x25dc1d,_0x944330,_0x46cdcf);var _0xd9bad9=_0x382c0e[_0x5e2dc8+0x1];_0x382c0e[_0x5e2dc8+0x1]=_0x382c0e[_0x5e2dc8+0x3],_0x382c0e[_0x5e2dc8+0x3]=_0xd9bad9;},'_doCryptBlock':function(_0x40fc42,_0x978de5,_0x29b9c3,_0x5a6dbf,_0x1061ab,_0x3023fe,_0x369c9a,_0x5a79a3){var _0x3186a4=_0x1a09b3;for(var _0x2479e5=this[_0x3186a4(0x445)],_0x95ddc9=_0x40fc42[_0x978de5]^_0x29b9c3[0x0],_0x40b896=_0x40fc42[_0x978de5+0x1]^_0x29b9c3[0x1],_0x58791f=_0x40fc42[_0x978de5+0x2]^_0x29b9c3[0x2],_0x43af5f=_0x40fc42[_0x978de5+0x3]^_0x29b9c3[0x3],_0x439988=0x4,_0x1e3435=0x1;_0x1e3435<_0x2479e5;_0x1e3435++){var _0x4c6dc4=_0x5a6dbf[_0x95ddc9>>>0x18]^_0x1061ab[_0x40b896>>>0x10&0xff]^_0x3023fe[_0x58791f>>>0x8&0xff]^_0x369c9a[_0x43af5f&0xff]^_0x29b9c3[_0x439988++],_0x58a6f2=_0x5a6dbf[_0x40b896>>>0x18]^_0x1061ab[_0x58791f>>>0x10&0xff]^_0x3023fe[_0x43af5f>>>0x8&0xff]^_0x369c9a[_0x95ddc9&0xff]^_0x29b9c3[_0x439988++],_0x45acd3=_0x5a6dbf[_0x58791f>>>0x18]^_0x1061ab[_0x43af5f>>>0x10&0xff]^_0x3023fe[_0x95ddc9>>>0x8&0xff]^_0x369c9a[_0x40b896&0xff]^_0x29b9c3[_0x439988++],_0x338066=_0x5a6dbf[_0x43af5f>>>0x18]^_0x1061ab[_0x95ddc9>>>0x10&0xff]^_0x3023fe[_0x40b896>>>0x8&0xff]^_0x369c9a[_0x58791f&0xff]^_0x29b9c3[_0x439988++];_0x95ddc9=_0x4c6dc4,_0x40b896=_0x58a6f2,_0x58791f=_0x45acd3,_0x43af5f=_0x338066;}var _0x4c6dc4=(_0x5a79a3[_0x95ddc9>>>0x18]<<0x18|_0x5a79a3[_0x40b896>>>0x10&0xff]<<0x10|_0x5a79a3[_0x58791f>>>0x8&0xff]<<0x8|_0x5a79a3[_0x43af5f&0xff])^_0x29b9c3[_0x439988++],_0x58a6f2=(_0x5a79a3[_0x40b896>>>0x18]<<0x18|_0x5a79a3[_0x58791f>>>0x10&0xff]<<0x10|_0x5a79a3[_0x43af5f>>>0x8&0xff]<<0x8|_0x5a79a3[_0x95ddc9&0xff])^_0x29b9c3[_0x439988++],_0x45acd3=(_0x5a79a3[_0x58791f>>>0x18]<<0x18|_0x5a79a3[_0x43af5f>>>0x10&0xff]<<0x10|_0x5a79a3[_0x95ddc9>>>0x8&0xff]<<0x8|_0x5a79a3[_0x40b896&0xff])^_0x29b9c3[_0x439988++],_0x338066=(_0x5a79a3[_0x43af5f>>>0x18]<<0x18|_0x5a79a3[_0x95ddc9>>>0x10&0xff]<<0x10|_0x5a79a3[_0x40b896>>>0x8&0xff]<<0x8|_0x5a79a3[_0x58791f&0xff])^_0x29b9c3[_0x439988++];_0x40fc42[_0x978de5]=_0x4c6dc4,_0x40fc42[_0x978de5+0x1]=_0x58a6f2,_0x40fc42[_0x978de5+0x2]=_0x45acd3,_0x40fc42[_0x978de5+0x3]=_0x338066;},'keySize':0x100/0x20});_0x3660a3[_0x1a09b3(0x2bb)]=_0x115532[_0x1a09b3(0x3a2)](_0x5c83ba);}()),_0x5066b2[_0x361c73(0x2bb)];}));}(fe)),fe[_0x2ce3df(0x4d9)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x37a0a7=_0x40c17a;return at||(at=0x1,function(_0x16d546,_0x5163ec){(function(_0x417cab,_0x511bc6){var _0x4520ca=_0x1551;_0x16d546[_0x4520ca(0x4d9)]=_0x511bc6(ee());}(Ji,function(_0x2ed5d0){var _0x5423dd=_0x1551;return _0x2ed5d0[_0x5423dd(0x227)][_0x5423dd(0x32a)];}));}(be)),be[_0x37a0a7(0x4d9)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x40c17a(0x4d9)],ct;function tn(){return ct||(ct=0x1,function(_0x51eb8d,_0x2ec04b){(function(_0x440c2b,_0x3566d2){var _0x1e6132=_0x1551;_0x51eb8d[_0x1e6132(0x4d9)]=_0x3566d2(ee());}(en,function(_0x99a0d5){var _0x33ecaa=_0x1551;return(function(){var _0x56ad1a=_0x1551;if(typeof ArrayBuffer==_0x56ad1a(0x4ef)){var _0x5210f9=_0x99a0d5,_0xca28ec=_0x5210f9[_0x56ad1a(0x4ed)],_0x24d744=_0xca28ec[_0x56ad1a(0x41a)],_0x5e0b0f=_0x24d744['init'],_0x3fcda5=_0x24d744[_0x56ad1a(0x25b)]=function(_0x47c2df){var _0x1234d1=_0x56ad1a;if(_0x47c2df instanceof ArrayBuffer&&(_0x47c2df=new Uint8Array(_0x47c2df)),(_0x47c2df instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47c2df instanceof Uint8ClampedArray||_0x47c2df instanceof Int16Array||_0x47c2df instanceof Uint16Array||_0x47c2df instanceof Int32Array||_0x47c2df instanceof Uint32Array||_0x47c2df instanceof Float32Array||_0x47c2df instanceof Float64Array)&&(_0x47c2df=new Uint8Array(_0x47c2df['buffer'],_0x47c2df[_0x1234d1(0x2ea)],_0x47c2df[_0x1234d1(0x3e7)])),_0x47c2df instanceof Uint8Array){for(var _0x16d57e=_0x47c2df[_0x1234d1(0x3e7)],_0x1e88bf=[],_0x76b082=0x0;_0x76b082<_0x16d57e;_0x76b082++)_0x1e88bf[_0x76b082>>>0x2]|=_0x47c2df[_0x76b082]<<0x18-_0x76b082%0x4*0x8;_0x5e0b0f['call'](this,_0x1e88bf,_0x16d57e);}else _0x5e0b0f['apply'](this,arguments);};_0x3fcda5['prototype']=_0x24d744;}}()),_0x99a0d5[_0x33ecaa(0x4ed)][_0x33ecaa(0x41a)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x40c17a(0x4d9)],ht;function on(){var _0x57707b=_0x40c17a;return ht||(ht=0x1,function(_0x2dd428,_0x3d2d0f){(function(_0x4149c6,_0x1b148c,_0x52058d){var _0x138228=_0x1551;_0x2dd428[_0x138228(0x4d9)]=_0x1b148c(ee(),Pt());}(sn,function(_0x39ca75){var _0x5dcf4f=_0x1551;return _0x39ca75['pad'][_0x5dcf4f(0x435)]={'pad':function(){},'unpad':function(){}},_0x39ca75[_0x5dcf4f(0x3b2)][_0x5dcf4f(0x435)];}));}(Oe)),Oe[_0x57707b(0x4d9)];}var an=on();const cn=Se(an);function hn(_0x3c7cd3,_0x15d04e){var _0x44d5d2=_0x40c17a;const _0x5343c2=_0x15d04e-_0x3c7cd3[_0x44d5d2(0x2be)]%_0x15d04e,_0x5a9128=String[_0x44d5d2(0x3bc)](_0x5343c2)['repeat'](_0x5343c2);return _0x3c7cd3+_0x5a9128;}function ln(_0x32bce9,_0x2552d5){var _0x22fb77=_0x40c17a;const _0x266274=rn[_0x22fb77(0x328)](0x10),_0x50f6f8=hn(_0x32bce9,0x10),_0x49499b=qi[_0x22fb77(0x416)](Qi[_0x22fb77(0x36e)](_0x50f6f8),ot[_0x22fb77(0x36e)](_0x2552d5),{'iv':_0x266274,'padding':cn});return _0x266274[_0x22fb77(0x4df)](_0x49499b[_0x22fb77(0x480)])[_0x22fb77(0x285)](ot);}function _n(){var _0x3426bf=_0x40c17a;const _0x4fa962=xt[_0x3426bf(0x287)]()[_0x3426bf(0x245)];if(_0x4fa962){const _0x8c078a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x3426bf(0x2d5)]};return ln(JSON[_0x3426bf(0x4e5)](_0x8c078a),_0x4fa962);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1f40b2,_0x35625b,_0x1e469d,_0x2f9c19)=>{for(var _0x5846c4=_0x2f9c19>0x1?void 0x0:_0x2f9c19?un(_0x35625b,_0x1e469d):_0x35625b,_0x1b85b2=_0x1f40b2['length']-0x1,_0x3c89f8;_0x1b85b2>=0x0;_0x1b85b2--)(_0x3c89f8=_0x1f40b2[_0x1b85b2])&&(_0x5846c4=_0x3c89f8(_0x5846c4)||_0x5846c4);return _0x5846c4;},vn=(_0x55f9de,_0x5e9cb1)=>(_0x386206,_0x20aaf6)=>_0x5e9cb1(_0x386206,_0x20aaf6,_0x55f9de);let Ne=class{constructor(_0x1f4355){var _0x459b3b=_0x40c17a;this[_0x459b3b(0x3ce)]=_0x1f4355,this[_0x459b3b(0x37a)]();}[_0x40c17a(0x37a)](){var _0x49a9c7=_0x40c17a;this[_0x49a9c7(0x3ce)]['registerHTTPInterceptor']({'interceptor':(_0xeba603,_0x54030b)=>{var _0x295b64=_0x49a9c7;const _0x32d74c=_0xeba603[_0x295b64(0x195)],_0xcc1d0c=_n();return _0xcc1d0c&&_0x32d74c[_0x295b64(0x1a8)](_0x295b64(0x3a4),_0xcc1d0c),_0x54030b(_0xeba603);}});}};Ne=dn([vn(0x0,a[_0x40c17a(0x3e8)](q[_0x40c17a(0x3cd)]))],Ne);var Sn=Object[_0x40c17a(0x2fb)],fn=(_0x4e7ffa,_0x4c8b05,_0x3372a5,_0x1ee7db)=>{var _0x6f75b8=_0x40c17a;for(var _0x16ff09=_0x1ee7db>0x1?void 0x0:_0x1ee7db?Sn(_0x4c8b05,_0x3372a5):_0x4c8b05,_0x944755=_0x4e7ffa[_0x6f75b8(0x2be)]-0x1,_0x5cf249;_0x944755>=0x0;_0x944755--)(_0x5cf249=_0x4e7ffa[_0x944755])&&(_0x16ff09=_0x5cf249(_0x16ff09)||_0x16ff09);return _0x16ff09;},Me=(_0x48f3ed,_0x403915)=>(_0x552697,_0x3719aa)=>_0x403915(_0x552697,_0x3719aa,_0x48f3ed);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x2cc9b7,_0x3f735a,_0x13e3e8){var _0x562dcc=_0x40c17a;super(),A(this,'_unitInfo$',new j[(_0x562dcc(0x39e))](null)),A(this,_0x562dcc(0x4b2),this[_0x562dcc(0x300)]['asObservable']()),(this['_logService']=_0x2cc9b7,this[_0x562dcc(0x4d8)]=_0x3f735a,this[_0x562dcc(0x2c7)]=_0x13e3e8);}async['loadUnit'](_0x44d5f2,_0x4b9c0a,_0x59a330){var _0x33b2dd=_0x40c17a;this[_0x33b2dd(0x300)][_0x33b2dd(0x39d)]({'unitId':_0x44d5f2,'type':_0x4b9c0a,'subUnitId':_0x59a330});let _0x498f5a=null;switch(_0x4b9c0a){case X['UNIVER_SHEET']:{_0x498f5a=await this[_0x33b2dd(0x4db)](_0x44d5f2);break;}case X['UNIVER_DOC']:{_0x498f5a=await this[_0x33b2dd(0x29c)](_0x44d5f2);break;}default:{this[_0x33b2dd(0x190)][_0x33b2dd(0x45a)](_0x33b2dd(0x1d5),_0x33b2dd(0x1f9));break;}}return _0x498f5a;}async['_loadSheet'](_0xd8ad27){var _0x56ed56=_0x40c17a,_0x581e2f;let _0x4ff8ce=0x0;const _0xd2e6ae=await((_0x581e2f=this[_0x56ed56(0x2c7)])==null?void 0x0:_0x581e2f[_0x56ed56(0x23e)](_0xd8ad27));return _0xd2e6ae&&(_0xd2e6ae['awaitingChangeset']||_0xd2e6ae[_0x56ed56(0x1c0)][_0x56ed56(0x2be)]!==0x0)&&(_0x4ff8ce=_0xd2e6ae[_0x56ed56(0x1ab)]),_0x4ff8ce===0x0&&this[_0x56ed56(0x190)]['debug'](_0x56ed56(0x1d5),_0x56ed56(0x3d0)),this[_0x56ed56(0x4d8)][_0x56ed56(0x27c)](_0xd8ad27,_0x4ff8ce);}async[_0x40c17a(0x29c)](_0x2b9b15){var _0x1a5010=_0x40c17a,_0x1bb366;let _0x2ec79a=0x0;const _0x2bba5c=await((_0x1bb366=this[_0x1a5010(0x2c7)])==null?void 0x0:_0x1bb366[_0x1a5010(0x23e)](_0x2b9b15));return _0x2bba5c&&(_0x2bba5c['awaitingChangeset']||_0x2bba5c['mutations']['length']!==0x0)&&(_0x2ec79a=_0x2bba5c['rev']),_0x2ec79a===0x0&&this[_0x1a5010(0x190)]['debug'](_0x1a5010(0x1d5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1a5010(0x4d8)][_0x1a5010(0x421)](_0x2b9b15,_0x2ec79a);}},exports[_0x40c17a(0x487)]=fn([Me(0x0,a[_0x40c17a(0x3ba)]),Me(0x1,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x170)])),Me(0x2,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x487)]);var pn=Object[_0x40c17a(0x2fb)],gn=(_0xecffa0,_0x136875,_0x1a44eb,_0x51f112)=>{var _0x5b891a=_0x40c17a;for(var _0x59d565=_0x51f112>0x1?void 0x0:_0x51f112?pn(_0x136875,_0x1a44eb):_0x136875,_0x3b67f2=_0xecffa0[_0x5b891a(0x2be)]-0x1,_0x291e28;_0x3b67f2>=0x0;_0x3b67f2--)(_0x291e28=_0xecffa0[_0x3b67f2])&&(_0x59d565=_0x291e28(_0x59d565)||_0x59d565);return _0x59d565;},xe=(_0x5a2b8b,_0xaf2fd3)=>(_0x348002,_0x147948)=>_0xaf2fd3(_0x348002,_0x147948,_0x5a2b8b);const mn=[_0x40c17a(0x260),_0x40c17a(0x355),_0x40c17a(0x2b3),_0x40c17a(0x2e1),_0x40c17a(0x3de)],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn='/universer-api/stream/file/upload',Tn=_0x40c17a(0x268),bn=_0x40c17a(0x322);exports[_0x40c17a(0x4c9)]=class{constructor(_0xb8b09a,_0x3ea49b,_0x2eafa0){var _0x2689b7=_0x40c17a;A(this,_0x2689b7(0x295),0x0),A(this,_0x2689b7(0x33d),new j[(_0x2689b7(0x252))]()),A(this,'change$',this[_0x2689b7(0x33d)]),A(this,'_imageSourceCache',new Map()),(this[_0x2689b7(0x3ce)]=_0xb8b09a,this[_0x2689b7(0x1b2)]=_0x3ea49b,this[_0x2689b7(0x16d)]=_0x2eafa0);}['setWaitCount'](_0x4a4c59){var _0xa4c196=_0x40c17a;this[_0xa4c196(0x295)]=_0x4a4c59,this[_0xa4c196(0x33d)][_0xa4c196(0x39d)](_0x4a4c59);}[_0x40c17a(0x4ce)](_0x5a67f0,_0x264348){var _0x17d1dc=_0x40c17a;if(_0x264348===J['ImageSourceType'][_0x17d1dc(0x3b5)]){const _0x3440b8=new Image();return _0x3440b8[_0x17d1dc(0x4e8)]=_0x5a67f0,_0x3440b8;}return this[_0x17d1dc(0x380)][_0x17d1dc(0x210)](_0x5a67f0);}['addImageSourceCache'](_0x245ebb,_0x5e00cf,_0x2b89af){var _0x9856e2=_0x40c17a;_0x5e00cf===J[_0x9856e2(0x3d4)][_0x9856e2(0x3b5)]||_0x2b89af==null||this[_0x9856e2(0x380)]['set'](_0x245ebb,_0x2b89af);}async[_0x40c17a(0x222)](_0x15fc19){var _0x4d4351=_0x40c17a;try{const _0x373b1e=this[_0x4d4351(0x241)](this[_0x4d4351(0x194)](),''+_0x15fc19),_0x2ae455=(await this['_httpService'][_0x4d4351(0x210)](_0x373b1e))[_0x4d4351(0x24f)];if(_0x2ae455[_0x4d4351(0x45a)]&&_0x2ae455[_0x4d4351(0x45a)][_0x4d4351(0x28e)]===Ct['OK']){const _0x3d1b3d=new URL(_0x2ae455[_0x4d4351(0x412)],this[_0x4d4351(0x1b4)]())['toString']();return Promise[_0x4d4351(0x430)](_0x3d1b3d);}return Promise[_0x4d4351(0x3c9)](_0x2ae455['error']);}catch(_0x4694ab){return Promise['reject'](_0x4694ab);}}async[_0x40c17a(0x2eb)](_0x15698a){var _0x31e685=_0x40c17a;let _0x132715='';if(!mn[_0x31e685(0x491)](_0x15698a['type']))return this[_0x31e685(0x1c1)](),Promise[_0x31e685(0x3c9)](new Error(J[_0x31e685(0x1dd)][_0x31e685(0x29f)]));if(_0x15698a[_0x31e685(0x424)]>In)return this[_0x31e685(0x1c1)](),Promise['reject'](new Error(J[_0x31e685(0x1dd)][_0x31e685(0x261)]));try{const _0x418729=new FormData();_0x418729[_0x31e685(0x352)]('file',_0x15698a);const _0x5631f3=this[_0x31e685(0x16d)][_0x31e685(0x43d)](),_0x4584b1=_0x5631f3==null?void 0x0:_0x5631f3['getUnitId']();if(!_0x4584b1)throw new Error(_0x31e685(0x317));const _0x5b3294=this[_0x31e685(0x427)]()+_0x31e685(0x233)+_0x15698a[_0x31e685(0x424)][_0x31e685(0x285)]()+_0x31e685(0x284)+Tt[_0x31e685(0x16f)]+_0x31e685(0x22f)+encodeURIComponent(_0x4584b1),_0x455cb8=await(await fetch(_0x5b3294,{'method':_0x31e685(0x1b0),'body':_0x418729}))[_0x31e685(0x257)]();if(typeof _0x455cb8['FileId']!=_0x31e685(0x409))return this['_decreaseWaiting'](),Promise[_0x31e685(0x3c9)](new Error(J['ImageUploadStatusType'][_0x31e685(0x171)]));_0x132715=_0x455cb8[_0x31e685(0x3ec)];}catch{return this[_0x31e685(0x1c1)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x31e685(0x171)]));}return new Promise((_0x296790,_0xef9331)=>{var _0xf8a61=_0x31e685;const _0x33c97a=new FileReader();_0x33c97a[_0xf8a61(0x343)](_0x15698a),_0x33c97a[_0xf8a61(0x294)]=_0x426275=>{var _0x1d4569=_0xf8a61,_0x196c18;const _0x93e680=(_0x196c18=_0x426275[_0x1d4569(0x2dc)])==null?void 0x0:_0x196c18[_0x1d4569(0x1c9)];if(_0x93e680==null){this[_0x1d4569(0x1c1)](),_0xef9331(new Error(J[_0x1d4569(0x1dd)][_0x1d4569(0x171)]));return;}const _0x4365b0=a[_0x1d4569(0x29d)][_0x1d4569(0x290)](0x6);_0x296790({'imageId':_0x4365b0,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x132715,'base64Cache':_0x93e680,'status':J[_0x1d4569(0x1dd)][_0x1d4569(0x47e)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x9a4786=_0x40c17a,_0x14df12,_0x21d0cb;const _0x54ccc1=this['_configService']['getConfig'](En),_0x309250=this[_0x9a4786(0x1b2)][_0x9a4786(0x34e)](Y);return(_0x21d0cb=(_0x14df12=_0x309250==null?void 0x0:_0x309250[_0x9a4786(0x225)])!=null?_0x14df12:_0x54ccc1)!=null?_0x21d0cb:Cn;}[_0x40c17a(0x194)](){var _0x2f3e0a=_0x40c17a,_0x50b190,_0x1dd172;const _0x11961d=this[_0x2f3e0a(0x1b2)][_0x2f3e0a(0x34e)](Tn),_0x52252e=this[_0x2f3e0a(0x1b2)][_0x2f3e0a(0x34e)](Y);return(_0x1dd172=(_0x50b190=_0x52252e==null?void 0x0:_0x52252e['signUrlServerUrl'])!=null?_0x50b190:_0x11961d)!=null?_0x1dd172:bn;}[_0x40c17a(0x1b4)](){var _0x2069a7=_0x40c17a,_0x8e1baf;const _0x3ba039=this[_0x2069a7(0x1b2)][_0x2069a7(0x34e)](Y);return(_0x8e1baf=_0x3ba039==null?void 0x0:_0x3ba039[_0x2069a7(0x303)])!=null?_0x8e1baf:location['origin'];}[_0x40c17a(0x241)](_0x9db5a4,_0x1140b8){return _0x9db5a4['replace']('{fileID}',_0x1140b8);}[_0x40c17a(0x1c1)](){var _0x2255ef=_0x40c17a;this[_0x2255ef(0x295)]-=0x1,this['_change$'][_0x2255ef(0x39d)](this['_waitCount']);}},exports[_0x40c17a(0x4c9)]=gn([xe(0x0,a['Inject'](q[_0x40c17a(0x3cd)])),xe(0x1,a[_0x40c17a(0x342)]),xe(0x2,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x1bf)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x40c17a(0x2fb)],On=(_0xd648ec,_0x53955f,_0x115a8f,_0x91486b)=>{for(var _0x2769dc=_0x91486b>0x1?void 0x0:_0x91486b?Rn(_0x53955f,_0x115a8f):_0x53955f,_0x7044a8=_0xd648ec['length']-0x1,_0xbcd819;_0x7044a8>=0x0;_0x7044a8--)(_0xbcd819=_0xd648ec[_0x7044a8])&&(_0x2769dc=_0xbcd819(_0x2769dc)||_0x2769dc);return _0x2769dc;},lt=(_0xfaaede,_0x24bb86)=>(_0x2fd07c,_0xa095c7)=>_0x24bb86(_0x2fd07c,_0xa095c7,_0xfaaede);const yn=_0x40c17a(0x22d);exports[_0x40c17a(0x1ef)]=class{constructor(_0x19291c,_0x9be8e2){var _0x2e4090=_0x40c17a;this[_0x2e4090(0x1b2)]=_0x19291c,this[_0x2e4090(0x469)]=_0x9be8e2;}['_getAPIPrefixPath'](){var _0x4ea9af=_0x40c17a,_0x3a732d,_0x4e03b1;const _0x3e6819=this['_configService']['getConfig'](Ge),_0xabd7f6=this[_0x4ea9af(0x1b2)]['getConfig'](Y);return(_0x4e03b1=(_0x3a732d=_0xabd7f6==null?void 0x0:_0xabd7f6[_0x4ea9af(0x1db)])!=null?_0x3a732d:_0x3e6819)!=null?_0x4e03b1:yn;}async['list'](_0x273bfa){var _0x37b932=_0x40c17a;const _0x43e163=this['_getAPIPrefixPath']()+_0x37b932(0x389);return{'list':[{'title':_0x37b932(0x4ea),'mentions':(await this[_0x37b932(0x469)]['get'](_0x43e163,{'params':{'objectID':_0x273bfa['unitId'],'unitID':_0x273bfa[_0x37b932(0x297)]}}))['body']['collaborators'][_0x37b932(0x1ce)](_0x1be5a9=>({'objectId':_0x1be5a9['id'],'name':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x488)],'metadata':{'icon':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x4ee)]},'label':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x488)],'objectType':a[_0x37b932(0x473)][_0x37b932(0x35c)]})),'metadata':{},'type':a[_0x37b932(0x473)][_0x37b932(0x35c)]}]};}},exports[_0x40c17a(0x1ef)]=On([lt(0x0,a[_0x40c17a(0x3e8)](a['IConfigService'])),lt(0x1,a['Inject'](q[_0x40c17a(0x3cd)]))],exports[_0x40c17a(0x1ef)]);var Nn=Object[_0x40c17a(0x2fb)],Dn=(_0x3b80f8,_0x1e4530,_0x18b7dc,_0x141a9f)=>{var _0xf44f4=_0x40c17a;for(var _0x1d21a9=_0x141a9f>0x1?void 0x0:_0x141a9f?Nn(_0x1e4530,_0x18b7dc):_0x1e4530,_0x132941=_0x3b80f8[_0xf44f4(0x2be)]-0x1,_0x42a8de;_0x132941>=0x0;_0x132941--)(_0x42a8de=_0x3b80f8[_0x132941])&&(_0x1d21a9=_0x42a8de(_0x1d21a9)||_0x1d21a9);return _0x1d21a9;},ue=(_0x2d47c3,_0x32843e)=>(_0xfbe69f,_0x3c8a84)=>_0x32843e(_0xfbe69f,_0x3c8a84,_0x2d47c3);let De=class extends a[_0x40c17a(0x47d)]{constructor(_0xa4e5a,_0xd334e4,_0x4fd1e1,_0x2574b2,_0x5818b5){var _0x4603c0=_0x40c17a;super(),this[_0x4603c0(0x2ec)]=_0xa4e5a,this['_univerInstanceService']=_0xd334e4,this[_0x4603c0(0x49e)]=_0x4fd1e1,this['_collaborationSessionService']=_0x2574b2,this['_collaborationUIEventService']=_0x5818b5,this['_initUnitPermissionChange'](),this[_0x4603c0(0x366)]();}[_0x40c17a(0x366)](){var _0x22a898=_0x40c17a;const _0x4ac02f=async _0x31542b=>{var _0x2758e6=_0x1551;(await this[_0x2758e6(0x402)][_0x2758e6(0x18c)](_0x31542b))[_0x2758e6(0x4d5)][_0x2758e6(0x26c)](V[_0x2758e6(0x234)](_0x3c80f0=>_0x3c80f0[_0x2758e6(0x3d3)]===g[_0x2758e6(0x316)][_0x2758e6(0x3bb)]),V[_0x2758e6(0x1a1)](this[_0x2758e6(0x44a)]))[_0x2758e6(0x3f3)](_0x30f968=>{var _0x2110c1=_0x2758e6;const _0x59f513=_0x30f968,{reason:_0x32f130}=_0x59f513[_0x2110c1(0x277)];this[_0x2110c1(0x2a6)][_0x2110c1(0x37e)]({'id':Q[_0x2110c1(0x3a5)],'data':_0x32f130}),this[_0x2110c1(0x49e)][_0x2110c1(0x4c0)](new Z[(_0x2110c1(0x49c))](_0x31542b)['id'],!0x1),this[_0x2110c1(0x402)][_0x2110c1(0x44f)](_0x31542b);});};j['merge'](this[_0x22a898(0x16d)][_0x22a898(0x27f)](a[_0x22a898(0x4b9)][_0x22a898(0x20b)]),this[_0x22a898(0x16d)][_0x22a898(0x27f)](a[_0x22a898(0x4b9)][_0x22a898(0x3fd)]))[_0x22a898(0x26c)](V[_0x22a898(0x1ce)](_0x49de01=>_0x49de01[_0x22a898(0x30b)]()),V[_0x22a898(0x234)](_0x3d6b57=>!a['isInternalEditorID'](_0x3d6b57)),V[_0x22a898(0x1a1)](this['dispose$']))['subscribe'](_0x23d589=>{_0x4ac02f(_0x23d589);});}[_0x40c17a(0x3d9)](){var _0x2b15b1=_0x40c17a;const _0x2bac7a=async _0x7ec64d=>{var _0x324636=_0x1551;const _0x204b5d=await this[_0x324636(0x402)]['requireSession'](_0x7ec64d),_0xc0949f=this['_injector'][_0x324636(0x210)](Z['SheetPermissionInitController']);_0x204b5d[_0x324636(0x4d5)][_0x324636(0x26c)](V[_0x324636(0x234)](_0x4e88b5=>_0x4e88b5[_0x324636(0x3d3)]===g[_0x324636(0x316)][_0x324636(0x452)]),V['takeUntil'](this[_0x324636(0x44a)]))['subscribe'](_0x2bb0c6=>{var _0x9074a7=_0x324636;const _0x5566db=_0x2bb0c6,{objectId:_0x546f8c}=_0x5566db[_0x9074a7(0x277)];_0x546f8c===_0x7ec64d?_0xc0949f[_0x9074a7(0x299)](_0x7ec64d):_0xc0949f[_0x9074a7(0x426)](_0x7ec64d,_0x546f8c);});};j[_0x2b15b1(0x4b5)](this[_0x2b15b1(0x16d)][_0x2b15b1(0x27f)](a[_0x2b15b1(0x4b9)][_0x2b15b1(0x20b)]))[_0x2b15b1(0x26c)](V[_0x2b15b1(0x1ce)](_0x48827a=>_0x48827a[_0x2b15b1(0x30b)]()),V['filter'](_0x6bbc16=>!a[_0x2b15b1(0x3c7)](_0x6bbc16)),V['takeUntil'](this['dispose$']))[_0x2b15b1(0x3f3)](_0x38d76b=>{_0x2bac7a(_0x38d76b);});}};De=Dn([ue(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x40c17a(0x49f)]),ue(0x3,a[_0x40c17a(0x3e8)](exports['CollaborationSessionService'])),ue(0x4,a[_0x40c17a(0x3e8)](te))],De);var Un=Object[_0x40c17a(0x2fb)],An=(_0x5ab27c,_0x264218,_0x477f61,_0x3968e0)=>{var _0x520fed=_0x40c17a;for(var _0x26523d=_0x3968e0>0x1?void 0x0:_0x3968e0?Un(_0x264218,_0x477f61):_0x264218,_0x396d60=_0x5ab27c[_0x520fed(0x2be)]-0x1,_0x203903;_0x396d60>=0x0;_0x396d60--)(_0x203903=_0x5ab27c[_0x396d60])&&(_0x26523d=_0x203903(_0x26523d)||_0x26523d);return _0x26523d;},_t=(_0x9e523d,_0x4dab4e)=>(_0x46dcad,_0x2f2ea7)=>_0x4dab4e(_0x46dcad,_0x2f2ea7,_0x9e523d);exports[_0x40c17a(0x474)]=class{constructor(_0x48c7e0,_0xbb70b5){var _0x50e993=_0x40c17a;this[_0x50e993(0x1b2)]=_0x48c7e0,this[_0x50e993(0x3ce)]=_0xbb70b5;}async[_0x40c17a(0x1e7)](_0x9dce1b,_0xf917df){var _0x235b29=_0x40c17a,_0x23fbc1;const {unitID:_0x526cdd,type:_0x206344,revision:_0x12e9c7=0x0}=_0xf917df,_0x31d5b2=this[_0x235b29(0x41b)]()+'/'+_0x206344+_0x235b29(0x237)+_0x526cdd+_0x235b29(0x29e)+_0x12e9c7,_0xea63f6=(await this[_0x235b29(0x3ce)][_0x235b29(0x210)](_0x31d5b2))[_0x235b29(0x24f)],_0x5781ea=(_0x23fbc1=_0xea63f6[_0x235b29(0x481)])==null?void 0x0:_0x23fbc1[_0x235b29(0x4e0)];if(_0x5781ea){const _0xd6d555=_0x5781ea==null?void 0x0:_0x5781ea[_0x235b29(0x357)],_0x326e8e=g[_0x235b29(0x3e2)]['encode'](g[_0x235b29(0x1dc)](_0xd6d555));_0x5781ea[_0x235b29(0x357)]=_0x326e8e,Object[_0x235b29(0x4bc)](_0x5781ea['sheets'])[_0x235b29(0x364)](([,_0x999dfd])=>{var _0x309e61=_0x235b29;const _0x453e8f=_0x999dfd[_0x309e61(0x357)],_0x997166=g[_0x309e61(0x3e2)][_0x309e61(0x1cb)](g[_0x309e61(0x1dc)](_0x453e8f));_0x999dfd[_0x309e61(0x357)]=_0x997166;});}return _0xea63f6;}async[_0x40c17a(0x1eb)](_0xb757cf,_0x205290){var _0x2b2bcb=_0x40c17a;const {unitID:_0x13321a,type:_0x3a93e2,blockID:_0x29ec1d}=_0x205290,_0x2de00d=this[_0x2b2bcb(0x47a)]()+'/'+_0x3a93e2+_0x2b2bcb(0x237)+_0x13321a+'/block/'+_0x29ec1d;return(await this[_0x2b2bcb(0x3ce)][_0x2b2bcb(0x210)](_0x2de00d))['body'];}async['getDeserializedSheetBlock'](_0x54a628,_0x3c88cf){var _0x506a89=_0x40c17a;const {unitID:_0x185ac3,type:_0x4b8915,blockID:_0x3d5f3f}=_0x3c88cf,_0x43a286=this['_getAPIPrefix']()+_0x506a89(0x2ac)+_0x4b8915+'/unit/'+_0x185ac3+_0x506a89(0x2ac)+_0x3d5f3f;return(await this[_0x506a89(0x3ce)][_0x506a89(0x210)](_0x43a286))[_0x506a89(0x24f)];}async[_0x40c17a(0x2b1)](_0x3d075d,_0x557e92){var _0x9e78=_0x40c17a;const {unitID:_0xb1ff5b,type:_0x83cb04,from:_0x23e0ca,to:_0x565161}=_0x557e92,_0x7af279=this[_0x9e78(0x47a)]()+'/'+_0x83cb04+_0x9e78(0x237)+_0xb1ff5b+'/fetchmissing?from='+_0x23e0ca+_0x9e78(0x25e)+_0x565161;return(await this[_0x9e78(0x3ce)][_0x9e78(0x210)](_0x7af279))[_0x9e78(0x24f)];}['getSnapshotAPIPath'](){var _0x189f40=_0x40c17a,_0xf1b75c;return(_0xf1b75c=this[_0x189f40(0x1b2)]['getConfig'](vt))!=null?_0xf1b75c:this[_0x189f40(0x47a)]();}[_0x40c17a(0x47a)](){var _0x356893=_0x40c17a,_0x21b30f,_0x48910a;const _0x48e2fb=this[_0x356893(0x1b2)][_0x356893(0x34e)](dt),_0x4d40f8=this[_0x356893(0x1b2)]['getConfig'](Y);return(_0x48910a=(_0x21b30f=_0x4d40f8==null?void 0x0:_0x4d40f8[_0x356893(0x3dd)])!=null?_0x21b30f:_0x48e2fb)!=null?_0x48910a:kt;}async[_0x40c17a(0x377)](_0x597161,_0x47d6ea){var _0x44974c=_0x40c17a;const _0x257d87=_0x44974c(0x482)+_0x47d6ea[_0x44974c(0x463)]+_0x44974c(0x237)+_0x47d6ea[_0x44974c(0x465)]+_0x44974c(0x450);return(await this[_0x44974c(0x3ce)][_0x44974c(0x210)](_0x257d87,{'params':{'resourceId':JSON[_0x44974c(0x4e5)](_0x47d6ea[_0x44974c(0x228)])}}))[_0x44974c(0x24f)];}[_0x40c17a(0x292)](){var _0x3bbb73=_0x40c17a;throw new Error(_0x3bbb73(0x3a6));}[_0x40c17a(0x1c3)](){var _0x407e2b=_0x40c17a;throw new Error(_0x407e2b(0x3a6));}['saveChangeset'](){var _0x2bf780=_0x40c17a;throw new Error(_0x2bf780(0x3a6));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x40c17a(0x2c6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x40c17a(0x474)]=An([_t(0x0,a[_0x40c17a(0x342)]),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0x40c17a(0x474)]);var Pn=Object[_0x40c17a(0x2fb)],wn=(_0x200db0,_0x579919,_0x30d151,_0x409aea)=>{for(var _0x18f4fc=_0x409aea>0x1?void 0x0:_0x409aea?Pn(_0x579919,_0x30d151):_0x579919,_0xb5b7cd=_0x200db0['length']-0x1,_0x2b2045;_0xb5b7cd>=0x0;_0xb5b7cd--)(_0x2b2045=_0x200db0[_0xb5b7cd])&&(_0x18f4fc=_0x2b2045(_0x18f4fc)||_0x18f4fc);return _0x18f4fc;},de=(_0x36de1e,_0x3e6ab0)=>(_0xf120dc,_0x513ede)=>_0x3e6ab0(_0xf120dc,_0x513ede,_0x36de1e);exports[_0x40c17a(0x348)]=class extends a[_0x40c17a(0x1c7)]{constructor(_0x38c147,_0x33fe70,_0x2b1559,_0x3020bd,_0xdf00fa){var _0x4e325b=_0x40c17a;super(_0x38c147,_0x33fe70,_0x2b1559),this[_0x4e325b(0x43f)]=_0x3020bd,this[_0x4e325b(0x190)]=_0xdf00fa;}[_0x40c17a(0x205)](_0x235e2c,_0x48001c){var _0x21f0c4=_0x40c17a;const _0x595341=this[_0x21f0c4(0x336)](_0x235e2c);if(_0x595341)try{const _0xddee61=this['_transformStack'](_0x595341,_0x48001c);this[_0x21f0c4(0x19f)](_0x235e2c,_0xddee61);}catch(_0x2dc7ec){this[_0x21f0c4(0x190)]['error'](_0x21f0c4(0x410),_0x2dc7ec),this[_0x21f0c4(0x1f4)](_0x235e2c);}const _0x4d7420=this[_0x21f0c4(0x3ad)](_0x235e2c);if(_0x4d7420)try{const _0x562fba=this[_0x21f0c4(0x3ff)](_0x4d7420,_0x48001c);this[_0x21f0c4(0x22e)](_0x235e2c,_0x562fba);}catch(_0xf033cd){this['_logService'][_0x21f0c4(0x45a)](_0xf033cd),this[_0x21f0c4(0x276)](_0x235e2c);}}[_0x40c17a(0x1f4)](_0x3ea29d){var _0x3fccaf=_0x40c17a;const _0x279bb2=this[_0x3fccaf(0x336)](_0x3ea29d);_0x279bb2&&(_0x279bb2[_0x3fccaf(0x2be)]=0x0,this[_0x3fccaf(0x2e6)]());}[_0x40c17a(0x276)](_0x2af0b2){var _0x4bc2c6=_0x40c17a;const _0x1b47e9=this[_0x4bc2c6(0x3ad)](_0x2af0b2);_0x1b47e9&&(_0x1b47e9[_0x4bc2c6(0x2be)]=0x0,this[_0x4bc2c6(0x2e6)]());}[_0x40c17a(0x19f)](_0x454b76,_0x1b3aef){var _0x1a6cac=_0x40c17a;this['_undoStacks']['set'](_0x454b76,_0x1b3aef),this[_0x1a6cac(0x2e6)]();}[_0x40c17a(0x22e)](_0x78c626,_0x426857){var _0x16637f=_0x40c17a;this[_0x16637f(0x204)][_0x16637f(0x1a8)](_0x78c626,_0x426857),this[_0x16637f(0x2e6)]();}[_0x40c17a(0x3ff)](_0x66b163,_0x1873c5){var _0x4f0ca9=_0x40c17a;const _0x358f8d=[];let _0x5455c3=_0x1873c5,_0x21f299=_0x1873c5;for(let _0x4b8600=_0x66b163[_0x4f0ca9(0x2be)]-0x1;_0x4b8600>=0x0;_0x4b8600--){const {unitID:_0x4236a0,undoMutations:_0x2962d4,redoMutations:_0x520775}=_0x66b163[_0x4b8600],_0x491755=this[_0x4f0ca9(0x43f)][_0x4f0ca9(0x4cb)](_0x5455c3,_0x2962d4),_0x25b49b=this[_0x4f0ca9(0x43f)][_0x4f0ca9(0x4cb)](_0x21f299,_0x520775);if(g['isTransformMutationsWithChangesetFailure'](_0x491755)||g[_0x4f0ca9(0x45d)](_0x25b49b)){this['_logService'][_0x4f0ca9(0x45a)](_0x4f0ca9(0x410),_0x4f0ca9(0x31f),_0x491755,_0x25b49b);break;}_0x5455c3=_0x491755[_0x4f0ca9(0x23d)],_0x21f299=_0x25b49b[_0x4f0ca9(0x23d)],_0x358f8d['push']({'unitID':_0x4236a0,'undoMutations':_0x491755[_0x4f0ca9(0x367)],'redoMutations':_0x25b49b[_0x4f0ca9(0x367)]});}return _0x358f8d[_0x4f0ca9(0x371)]();}},exports[_0x40c17a(0x348)]=wn([de(0x0,a[_0x40c17a(0x1bf)]),de(0x1,a['ICommandService']),de(0x2,a[_0x40c17a(0x17a)]),de(0x3,g['ITransformService']),de(0x4,a[_0x40c17a(0x3ba)])],exports[_0x40c17a(0x348)]);var Ln=Object[_0x40c17a(0x3b1)],Mn=Object[_0x40c17a(0x2fb)],xn=(_0x336d2c,_0x27a7c3,_0x73c9c3)=>_0x27a7c3 in _0x336d2c?Ln(_0x336d2c,_0x27a7c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x73c9c3}):_0x336d2c[_0x27a7c3]=_0x73c9c3,kn=(_0x859aba,_0x177e86,_0x5c9a14,_0x278c24)=>{var _0x20fadb=_0x40c17a;for(var _0x41dee8=_0x278c24>0x1?void 0x0:_0x278c24?Mn(_0x177e86,_0x5c9a14):_0x177e86,_0x1fddd9=_0x859aba[_0x20fadb(0x2be)]-0x1,_0x401968;_0x1fddd9>=0x0;_0x1fddd9--)(_0x401968=_0x859aba[_0x1fddd9])&&(_0x41dee8=_0x401968(_0x41dee8)||_0x41dee8);return _0x41dee8;},ke=(_0x1c968c,_0x1456d2)=>(_0x3bd0f0,_0x243f5f)=>_0x1456d2(_0x3bd0f0,_0x243f5f,_0x1c968c),Hn=(_0x3717c8,_0x1d2485,_0x47ccd5)=>xn(_0x3717c8,_0x1d2485+'',_0x47ccd5);const jn=_0x40c17a(0x4bd);exports[_0x40c17a(0x21e)]=class extends a[_0x40c17a(0x229)]{constructor(_0x3baa3c,_0x933667,_0x5ba274,_0x260be3){var _0x23d804=_0x40c17a;super(),A(this,'_config'),(this[_0x23d804(0x190)]=_0x933667,this[_0x23d804(0x2ec)]=_0x5ba274,this[_0x23d804(0x1b2)]=_0x260be3);const {..._0x3a3cd5}=a['merge']({},Jt,_0x3baa3c);if(!_0x3a3cd5['socketService'])throw new Error(_0x23d804(0x4a1));this[_0x23d804(0x379)]=_0x3a3cd5,this[_0x23d804(0x1b2)][_0x23d804(0x368)](Y,_0x3a3cd5);}['onStarting'](){var _0x524cab=_0x40c17a;this[_0x524cab(0x310)](),this[_0x524cab(0x3ed)]();}[_0x40c17a(0x310)](){var _0x23ea2e=_0x40c17a,_0x21dcca,_0x557039;this[_0x23ea2e(0x2ec)][_0x23ea2e(0x405)](a['IUndoRedoService'])&&this[_0x23ea2e(0x190)][_0x23ea2e(0x45a)](_0x23ea2e(0x2ad),_0x23ea2e(0x387));const _0x2b497b=a[_0x23ea2e(0x2de)]([[a[_0x23ea2e(0x41f)],{'useClass':exports[_0x23ea2e(0x348)]}],[exports[_0x23ea2e(0x313)]],[exports[_0x23ea2e(0x41e)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports[_0x23ea2e(0x487)]],[$e,{'useClass':this[_0x23ea2e(0x379)][_0x23ea2e(0x219)]}],[g[_0x23ea2e(0x24d)],{'useClass':exports[_0x23ea2e(0x474)]}],[a[_0x23ea2e(0x433)],{'useClass':exports[_0x23ea2e(0x4f0)]}],[J[_0x23ea2e(0x2ef)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x23ea2e(0x411)],{'useClass':exports[_0x23ea2e(0x1ef)]}],[exports[_0x23ea2e(0x319)]],[He]],(_0x21dcca=this[_0x23ea2e(0x379)])==null?void 0x0:_0x21dcca[_0x23ea2e(0x358)]);if(!((_0x557039=this['_config'])!=null&&_0x557039['enableSingleActiveInstanceLock'])){const _0x3cf6c6=_0x2b497b[_0x23ea2e(0x2f8)](([_0x498b50])=>_0x498b50===ve);_0x3cf6c6!==-0x1&&_0x2b497b['splice'](_0x3cf6c6,0x1);}a[_0x23ea2e(0x214)](this[_0x23ea2e(0x2ec)],_0x2b497b);}[_0x40c17a(0x3ed)](){var _0x34ef4c=_0x40c17a,_0x4e1b76,_0x37508e,_0xd1df0d;this['_injector']['get'](q[_0x34ef4c(0x3cd)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4e1b76=this[_0x34ef4c(0x379)])!=null&&_0x4e1b76[_0x34ef4c(0x3ee)]||(_0x37508e=this[_0x34ef4c(0x2ec)][_0x34ef4c(0x210)](z,a['Quantity'][_0x34ef4c(0x1ee)]))==null||_0x37508e[_0x34ef4c(0x30d)](),(_0xd1df0d=this[_0x34ef4c(0x379)])!=null&&_0xd1df0d['enableAuthServer']&&a[_0x34ef4c(0x34b)](this[_0x34ef4c(0x2ec)],[[ye]]),a[_0x34ef4c(0x34b)](this[_0x34ef4c(0x2ec)],[[Ne],[exports[_0x34ef4c(0x319)]],[De]]);}},Hn(exports[_0x40c17a(0x21e)],'pluginName',jn),exports[_0x40c17a(0x21e)]=kn([a[_0x40c17a(0x475)](g[_0x40c17a(0x381)],q[_0x40c17a(0x249)]),ke(0x1,a[_0x40c17a(0x3ba)]),ke(0x2,a['Inject'](a[_0x40c17a(0x325)])),ke(0x3,a[_0x40c17a(0x342)])],exports[_0x40c17a(0x21e)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x40c17a(0x3c1)]=Y,exports[_0x40c17a(0x266)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x40c17a(0x485)]=Ve,exports[_0x40c17a(0x273)]=Q,exports[_0x40c17a(0x35b)]=te,exports[_0x40c17a(0x40a)]=Be,exports[_0x40c17a(0x4bf)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x40c17a(0x3e4)]=$t,exports[_0x40c17a(0x2f7)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports['ICollaborationSocketService']=$e,exports[_0x40c17a(0x4f2)]=z,exports['INetworkConditionService']=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x40c17a(0x3b4)]=Wt,exports[_0x40c17a(0x2e4)]=Et,exports[_0x40c17a(0x34c)]=qt,exports[_0x40c17a(0x22b)]=mt,exports[_0x40c17a(0x2c0)]=Ht,exports[_0x40c17a(0x4e2)]=dt,exports[_0x40c17a(0x341)]=vt,exports[_0x40c17a(0x4d0)]=se,exports[_0x40c17a(0x291)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x40c17a(0x17e)]=vi,exports[_0x40c17a(0x278)]=Ot;
1
+ 'use strict';var _0x529853=_0x4573;(function(_0x419a2c,_0x1dfaa3){var _0xfbf514=_0x4573,_0x55f8b3=_0x419a2c();while(!![]){try{var _0x412ad6=-parseInt(_0xfbf514(0x3f7))/0x1*(parseInt(_0xfbf514(0x37d))/0x2)+parseInt(_0xfbf514(0x2fa))/0x3*(-parseInt(_0xfbf514(0x347))/0x4)+parseInt(_0xfbf514(0x1ea))/0x5+parseInt(_0xfbf514(0xd8))/0x6+parseInt(_0xfbf514(0x370))/0x7*(-parseInt(_0xfbf514(0x350))/0x8)+parseInt(_0xfbf514(0x109))/0x9+parseInt(_0xfbf514(0x330))/0xa*(-parseInt(_0xfbf514(0x31b))/0xb);if(_0x412ad6===_0x1dfaa3)break;else _0x55f8b3['push'](_0x55f8b3['shift']());}catch(_0xcee28d){_0x55f8b3['push'](_0x55f8b3['shift']());}}}(_0x44ed,0x6bcb4));var wt=Object[_0x529853(0x207)],Lt=(_0x474e5a,_0x25c532,_0x12f15f)=>_0x25c532 in _0x474e5a?wt(_0x474e5a,_0x25c532,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12f15f}):_0x474e5a[_0x25c532]=_0x12f15f,A=(_0x55f795,_0x5df420,_0xb017ef)=>Lt(_0x55f795,typeof _0x5df420!=_0x529853(0x2b0)?_0x5df420+'':_0x5df420,_0xb017ef);Object[_0x529853(0x207)](exports,Symbol['toStringTag'],{'value':_0x529853(0x185)});const a=require(_0x529853(0x19d)),j=require('rxjs'),V=require(_0x529853(0x17e)),g=require(_0x529853(0x16e)),q=require('@univerjs/network'),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require(_0x529853(0x3bd)),J=require('@univerjs/drawing'),xt=require(_0x529853(0x248)),dt=_0x529853(0xcc),kt=_0x529853(0x3c2),vt=_0x529853(0x11c),Ht=_0x529853(0x25b),jt=0x7d0,St=_0x529853(0x325),ft=_0x529853(0x28c),$t=_0x529853(0x180),pt=_0x529853(0x212),Bt=0x7530,je=_0x529853(0x142),gt=0x4e20,Ft=0x4e20,It=_0x529853(0x307),Vt=0x3,Wt=_0x529853(0x233),Gt=0x3e8,mt=_0x529853(0x300),Kt='/universer-api/comb',Et=_0x529853(0x332),Yt='/universer-api/oidc/authpage',qt=_0x529853(0x218),zt=_0x529853(0x3d0);var Ct=(_0xc090d7=>(_0xc090d7[_0xc090d7[_0x529853(0x2b2)]=0x0]='UNDEFINED',_0xc090d7[_0xc090d7['OK']=0x1]='OK',_0xc090d7[_0xc090d7['INTERNAL_ERROR']=0x2]=_0x529853(0x27a),_0xc090d7[_0xc090d7['PERMISSION_DENIED']=0x3]=_0x529853(0x1ac),_0xc090d7[_0xc090d7['NOT_FOUND']=0x4]=_0x529853(0x2a8),_0xc090d7[_0xc090d7[_0x529853(0x2f6)]=0x5]=_0x529853(0x2f6),_0xc090d7[_0xc090d7['ALREADY_EXISTS']=0x6]=_0x529853(0x167),_0xc090d7[_0xc090d7[_0x529853(0x381)]=0x7]='INVALID_ARGUMENT',_0xc090d7[_0xc090d7[_0x529853(0x3b8)]=0x8]='TOO_MANY_REQUESTS',_0xc090d7[_0xc090d7[_0x529853(0x39f)]=0x9]='COMPLETION_FINISHED',_0xc090d7[_0xc090d7[_0x529853(0xbf)]=0xa]=_0x529853(0xbf),_0xc090d7[_0xc090d7[_0x529853(0x1f3)]=0x1389]=_0x529853(0x1f3),_0xc090d7[_0xc090d7['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x529853(0xae),_0xc090d7[_0xc090d7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x529853(0x177),_0xc090d7[_0xc090d7[_0x529853(0x382)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc090d7[_0xc090d7[_0x529853(0x254)]=0x1b59]=_0x529853(0x254),_0xc090d7[_0xc090d7[_0x529853(0x3e3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc090d7[_0xc090d7[_0x529853(0xd5)]=0x1b5b]=_0x529853(0xd5),_0xc090d7[_0xc090d7['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc090d7[_0xc090d7[_0x529853(0x2fb)]=0x1b5d]=_0x529853(0x2fb),_0xc090d7[_0xc090d7[_0x529853(0x88)]=0x1f41]=_0x529853(0x88),_0xc090d7[_0xc090d7[_0x529853(0x8c)]=0x2329]=_0x529853(0x8c),_0xc090d7[_0xc090d7[_0x529853(0x20b)]=0x232a]=_0x529853(0x20b),_0xc090d7[_0xc090d7[_0x529853(0x243)]=0x232b]=_0x529853(0x243),_0xc090d7[_0xc090d7[_0x529853(0x1b6)]=0x232c]=_0x529853(0x1b6),_0xc090d7[_0xc090d7['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xc090d7[_0xc090d7[_0x529853(0x283)]=0x2711]=_0x529853(0x283),_0xc090d7[_0xc090d7[_0x529853(0x3ab)]=0x2712]=_0x529853(0x3ab),_0xc090d7[_0xc090d7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x529853(0x2ed),_0xc090d7[_0xc090d7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x529853(0x241),_0xc090d7[_0xc090d7[_0x529853(0x9e)]=0x271a]=_0x529853(0x9e),_0xc090d7[_0xc090d7[_0x529853(0x2ae)]=0x271b]=_0x529853(0x2ae),_0xc090d7[_0xc090d7[_0x529853(0x94)]=0x2af9]=_0x529853(0x94),_0xc090d7[_0xc090d7[_0x529853(0x1f7)]=0x2ee1]=_0x529853(0x1f7),_0xc090d7[_0xc090d7[_0x529853(0x3e1)]=0x2ee2]=_0x529853(0x3e1),_0xc090d7[_0xc090d7['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xc090d7[_0xc090d7[_0x529853(0xcf)]=0x2ee4]=_0x529853(0xcf),_0xc090d7[_0xc090d7[_0x529853(0x194)]=0x2ee5]=_0x529853(0x194),_0xc090d7[_0xc090d7['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xc090d7[_0xc090d7[_0x529853(0xb9)]=0x32ca]=_0x529853(0xb9),_0xc090d7[_0xc090d7[_0x529853(0x19e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xc090d7[_0xc090d7[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0xc090d7))(Ct||{}),X=(_0x895f6b=>(_0x895f6b[_0x895f6b['UNIVER_UNKNOWN']=0x0]=_0x529853(0x242),_0x895f6b[_0x895f6b[_0x529853(0x22c)]=0x1]=_0x529853(0x22c),_0x895f6b[_0x895f6b[_0x529853(0x112)]=0x2]=_0x529853(0x112),_0x895f6b[_0x895f6b[_0x529853(0xa0)]=0x3]=_0x529853(0xa0),_0x895f6b[_0x895f6b[_0x529853(0x135)]=0x4]=_0x529853(0x135),_0x895f6b[_0x895f6b['UNRECOGNIZED']=-0x1]=_0x529853(0x306),_0x895f6b))(X||{}),W=(_0x41b127=>(_0x41b127[_0x41b127[_0x529853(0x104)]=0x0]='UNKNOWN_CMD',_0x41b127[_0x41b127[_0x529853(0x13f)]=0x1]=_0x529853(0x13f),_0x41b127[_0x41b127[_0x529853(0x2de)]=0x2]=_0x529853(0x2de),_0x41b127[_0x41b127[_0x529853(0xb1)]=0x3]=_0x529853(0xb1),_0x41b127[_0x41b127[_0x529853(0x30b)]=0x4]=_0x529853(0x30b),_0x41b127[_0x41b127[_0x529853(0x3ca)]=0x5]=_0x529853(0x3ca),_0x41b127[_0x41b127['RECV']=0x6]=_0x529853(0x211),_0x41b127[_0x41b127[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x41b127))(W||{}),ae=(_0x51f92f=>(_0x51f92f[_0x51f92f[_0x529853(0x2f5)]=0x0]='UNKNOWN_CODE',_0x51f92f[_0x51f92f['OK']=0x1]='OK',_0x51f92f[_0x51f92f[_0x529853(0x388)]=0x2]=_0x529853(0x388),_0x51f92f[_0x51f92f[_0x529853(0x120)]=0x3e9]=_0x529853(0x120),_0x51f92f[_0x51f92f[_0x529853(0x1ff)]=0x3ea]=_0x529853(0x1ff),_0x51f92f[_0x51f92f[_0x529853(0xaf)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x51f92f[_0x51f92f[_0x529853(0x339)]=0x3ec]=_0x529853(0x339),_0x51f92f[_0x51f92f[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x51f92f))(ae||{}),Tt=(_0x426af9=>(_0x426af9[_0x426af9[_0x529853(0x2cf)]=0x0]=_0x529853(0x2cf),_0x426af9[_0x426af9['HttpImport']=0x1]=_0x529853(0x15f),_0x426af9[_0x426af9[_0x529853(0xbd)]=0x2]=_0x529853(0xbd),_0x426af9[_0x426af9[_0x529853(0x33f)]=0x3]='UnitEmbedded',_0x426af9[_0x426af9[_0x529853(0x363)]=0x4]=_0x529853(0x363),_0x426af9[_0x426af9[_0x529853(0xb5)]=0x5]='UserProfileImg',_0x426af9[_0x426af9[_0x529853(0x306)]=-0x1]=_0x529853(0x306),_0x426af9))(Tt||{});const Y=_0x529853(0x308),Jt={};var Q=(_0x5a7aeb=>(_0x5a7aeb[_0x529853(0x1ad)]=_0x529853(0x1ad),_0x5a7aeb['PERMISSION_DENIED']=_0x529853(0x1ac),_0x5a7aeb['CONFLICT']='CONFLICT',_0x5a7aeb[_0x529853(0x390)]=_0x529853(0x390),_0x5a7aeb['JOIN_ROOM_FAILED']=_0x529853(0x184),_0x5a7aeb['SOCKET_FAILED_RETRY']=_0x529853(0x22a),_0x5a7aeb['SOCKET_FAILED']=_0x529853(0x2d8),_0x5a7aeb['SUBMIT_CHANGESET_TIMEOUT']=_0x529853(0xfd),_0x5a7aeb))(Q||{});class te{constructor(){var _0x12df52=_0x529853;A(this,'_event$',new j[(_0x12df52(0x29c))]()),A(this,_0x12df52(0x14e),this[_0x12df52(0x357)]['asObservable']());}[_0x529853(0x122)](_0x1ec43c){var _0x414047=_0x529853;this[_0x414047(0x357)][_0x414047(0x1a0)](_0x1ec43c);}}const bt=a[_0x529853(0x34e)](_0x529853(0x124));function Rt(_0x53642a){var _0x5e7ddf=_0x529853,_0x501d3b,_0x238a1b,_0x546b14,_0x230c43,_0x374e68;const _0x138452=_0x53642a['data'],_0x4f0734=JSON[_0x5e7ddf(0x36b)](_0x138452);switch(_0x4f0734['cmd']){case W[_0x5e7ddf(0x3ca)]:case W['HELLO']:{const _0xe4a552=_0x4f0734[_0x5e7ddf(0xed)];return{..._0x4f0734,'data':_0xe4a552,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};}case W[_0x5e7ddf(0x2de)]:{const _0x345554=_0x4f0734['joinRsp'];return{..._0x4f0734,'data':_0x345554,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};}case W[_0x5e7ddf(0x211)]:{const _0x4ca775=_0x4f0734[_0x5e7ddf(0x384)];switch(_0x4ca775[_0x5e7ddf(0x3a0)]){case g['CollaborationEvent']['PERMISSION_REJ']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x501d3b=_0x4ca775[_0x5e7ddf(0x285)])==null?void 0x0:_0x501d3b['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent']['CHANGESET_ACK']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x238a1b=_0x4ca775[_0x5e7ddf(0x2ee)])==null?void 0x0:_0x238a1b['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x29d)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x546b14=_0x4ca775['newCsEvent'])==null?void 0x0:_0x546b14['cs']},'cmd':_0x4f0734['cmd']};case g[_0x5e7ddf(0x160)]['CHANGESET_REJ']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x230c43=_0x4ca775['csRejEvent'])==null?void 0x0:_0x230c43['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)]['CHANGESET_SHOULD_RETRY']:return{..._0x4f0734,'data':{..._0x4ca775,'data':(_0x374e68=_0x4ca775[_0x5e7ddf(0x3cd)])==null?void 0x0:_0x374e68['cs']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x106)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x178)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x179)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x322)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)]['USERS_LEAVE']:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2d9)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x3f8)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2c3)]},'cmd':_0x4f0734['cmd']};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x2d7)]:case g['CollaborationEvent'][_0x5e7ddf(0xc9)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x311)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x100)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x2c3)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0x227)]:return{..._0x4f0734,'data':_0x4ca775,'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0x3b3)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x9d)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x132)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x236)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g['CollaborationEvent'][_0x5e7ddf(0xc3)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775[_0x5e7ddf(0x1f0)]},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};case g[_0x5e7ddf(0x160)][_0x5e7ddf(0x19b)]:return{..._0x4f0734,'data':{..._0x4ca775,'data':_0x4ca775['uniscriptRunEvent']},'cmd':_0x4f0734[_0x5e7ddf(0xd9)]};default:return _0x4f0734;}}default:return _0x4f0734;}}function Ot(_0x3c3463){var _0x4b51b8=_0x529853;switch(_0x3c3463[_0x4b51b8(0xd9)]){case W[_0x4b51b8(0x3ca)]:case W[_0x4b51b8(0x13f)]:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463['cmd'],'routeKey':_0x3c3463['routeKey']});case W[_0x4b51b8(0x30b)]:{let _0x1b1680;switch(_0x3c3463[_0x4b51b8(0x14f)]['eventID']){case g[_0x4b51b8(0x160)][_0x4b51b8(0x106)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x106)],'updateCursorEvent':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['USERS_LEAVE']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0xc7)],'leaveEvent':_0x3c3463['data'][_0x4b51b8(0x14f)]};break;}case g['CollaborationEvent'][_0x4b51b8(0x179)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x179)],'joinEvent':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['LIVESHARE_NEW_HOST']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x3f8)],'liveShareNewHost':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)]['LIVESHARE_OPERATION']:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)][_0x4b51b8(0x100)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x100)],'liveShareTerminate':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g[_0x4b51b8(0x160)][_0x4b51b8(0x3a4)]:{_0x1b1680={'eventID':g[_0x4b51b8(0x160)][_0x4b51b8(0x3a4)],'liveShareRequestHost':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x14f)]};break;}case g['CollaborationEvent'][_0x4b51b8(0x2d7)]:{_0x1b1680={'eventID':g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1b1680={'eventID':_0x3c3463[_0x4b51b8(0x14f)][_0x4b51b8(0x3a0)]};}return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463[_0x4b51b8(0xd9)],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'collaMsg':_0x1b1680});}case W[_0x4b51b8(0x2de)]:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463[_0x4b51b8(0xd9)],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'joinReq':_0x3c3463[_0x4b51b8(0x14f)]});case W['LEAVE']:return JSON[_0x4b51b8(0x2cc)]({'cmd':_0x3c3463['cmd'],'routeKey':_0x3c3463[_0x4b51b8(0x210)],'leaveReq':_0x3c3463[_0x4b51b8(0x14f)]});default:throw new Error(_0x4b51b8(0x288));}}var Xt=Object[_0x529853(0x28b)],Zt=(_0x2bb3d5,_0x2d8e8c,_0x10ae48,_0x1bf8fb)=>{var _0x24ffc3=_0x529853;for(var _0x139684=_0x1bf8fb>0x1?void 0x0:_0x1bf8fb?Xt(_0x2d8e8c,_0x10ae48):_0x2d8e8c,_0x3bc43f=_0x2bb3d5[_0x24ffc3(0x102)]-0x1,_0x623c11;_0x3bc43f>=0x0;_0x3bc43f--)(_0x623c11=_0x2bb3d5[_0x3bc43f])&&(_0x139684=_0x623c11(_0x139684)||_0x139684);return _0x139684;},le=(_0x14d0f7,_0x57586e)=>(_0x42ca8d,_0x3dc5ba)=>_0x57586e(_0x42ca8d,_0x3dc5ba,_0x14d0f7);const $e=a[_0x529853(0x34e)](_0x529853(0x301));function Qt(_0x369302,_0x1d6d97,_0x32084c){var _0x2f3836=_0x529853;return _0x369302+'/'+_0x1d6d97+'/unit/'+_0x32084c+_0x2f3836(0x354);}exports[_0x529853(0x3fb)]=class extends a['Disposable']{constructor(_0xc09426,_0x1a1299,_0x138207,_0x892ce,_0x12fb4c){var _0x252dd7=_0x529853;super(),this['_injector']=_0xc09426,this['_httpService']=_0x1a1299,this[_0x252dd7(0x3d7)]=_0x138207,this[_0x252dd7(0x1cc)]=_0x892ce,this[_0x252dd7(0x12e)]=_0x12fb4c;}[_0x529853(0x374)](_0x4f4e47){var _0x1e8fd8=_0x529853;const _0xe94c66=this['_injector'][_0x1e8fd8(0x2e6)](q['ISocketService']);if(!_0xe94c66)throw new Error(_0x1e8fd8(0x2db));const _0x229d7f=_0xe94c66[_0x1e8fd8(0x13c)](_0x4f4e47);if(!_0x229d7f)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x54fb89=new a[(_0x1e8fd8(0x3c4))](),_0x37aa06=new j[(_0x1e8fd8(0x29c))]();_0x54fb89[_0x1e8fd8(0x2bf)](_0x229d7f[_0x1e8fd8(0x3a1)][_0x1e8fd8(0x176)](_0x13f243=>_0x37aa06[_0x1e8fd8(0x1a0)](_0x13f243))),_0x54fb89[_0x1e8fd8(0x2bf)](a[_0x1e8fd8(0x161)](()=>_0x37aa06[_0x1e8fd8(0x2bd)]()));const _0x1f4681=new j['Subject']();_0x54fb89[_0x1e8fd8(0x2bf)](_0x229d7f[_0x1e8fd8(0x1c8)]['subscribe'](_0x309991=>_0x1f4681[_0x1e8fd8(0x1a0)](_0x309991))),_0x54fb89[_0x1e8fd8(0x2bf)](a['toDisposable'](()=>_0x1f4681[_0x1e8fd8(0x2bd)]()));const _0x13f205=new j[(_0x1e8fd8(0x29c))]();_0x54fb89['add'](_0x229d7f[_0x1e8fd8(0xc4)][_0x1e8fd8(0x176)](_0x3293e4=>{const _0x1d03e2=Rt(_0x3293e4);_0x13f205['next'](_0x1d03e2);})),_0x54fb89[_0x1e8fd8(0x2bf)](a[_0x1e8fd8(0x161)](()=>_0x13f205[_0x1e8fd8(0x2bd)]()));let _0xd8f60;const _0x4dda85=()=>{var _0x15a235=_0x1e8fd8;_0x1f4681[_0x15a235(0x1a0)](new Event(_0x15a235(0x20f))),_0x37aa06[_0x15a235(0x1a0)](new Event('connection\x20error')),_0xd8f60['close']();};return _0xd8f60={'memberID':'','close$':_0x37aa06['asObservable'](),'error$':_0x1f4681[_0x1e8fd8(0xb8)](),'open$':_0x229d7f[_0x1e8fd8(0x11d)],'message$':_0x13f205[_0x1e8fd8(0xb8)](),'send':_0x5634f2=>{var _0x2722cc=_0x1e8fd8;if(_0x5634f2[_0x2722cc(0xd9)]===W[_0x2722cc(0x30b)]){if(_0x5634f2[_0x2722cc(0x14f)][_0x2722cc(0x3a0)]===g[_0x2722cc(0x160)]['SUBMIT_CHANGESET']){this[_0x2722cc(0x92)](_0xd8f60,_0x5634f2[_0x2722cc(0x14f)])['catch'](_0x5b9d7d=>{var _0x1f7526=_0x2722cc;this[_0x1f7526(0x1cc)][_0x1f7526(0x1da)](_0x5b9d7d),_0x4dda85();});return;}if(_0x5634f2['data'][_0x2722cc(0x3a0)]===g[_0x2722cc(0x160)][_0x2722cc(0x118)]){const _0x425273=_0x5634f2[_0x2722cc(0x14f)];this[_0x2722cc(0x3fc)](_0x425273)[_0x2722cc(0x3dc)](_0x3f1404=>{var _0x1d7346=_0x2722cc;_0x13f205[_0x1d7346(0x1a0)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x425273['data']['unitID'],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x1d7346(0x32b)],'data':{'changesets':_0x3f1404}}});})[_0x2722cc(0xf3)](_0x317b1c=>{var _0x504fa5=_0x2722cc;this[_0x504fa5(0x1cc)][_0x504fa5(0x1da)](_0x317b1c),_0x4dda85();});return;}}_0x229d7f['send'](Ot(_0x5634f2));},'close':()=>{var _0x1bf327=_0x1e8fd8;_0x229d7f[_0x1bf327(0x20e)](),_0x54fb89[_0x1bf327(0x1d2)]();}},_0xd8f60;}async[_0x529853(0x92)](_0x218035,_0xdfa59){var _0x65a9d=_0x529853,_0x40f705,_0x16ecd8;const {unitType:_0x266f04,unitID:_0x4138cb,changeset:_0x11eda2}=_0xdfa59['data'],_0x21d6f3={'unitID':_0x4138cb,'memberID':_0x218035['memberID'],'type':_0x266f04,'changeset':g[_0x65a9d(0x239)](_0x11eda2)},_0x21d075=this['_configService']['getConfig'](mt),_0x196ea8=this[_0x65a9d(0x3d7)][_0x65a9d(0x2bb)](Y),_0x63f880=Qt((_0x16ecd8=(_0x40f705=_0x196ea8==null?void 0x0:_0x196ea8[_0x65a9d(0xef)])!=null?_0x40f705:_0x21d075)!=null?_0x16ecd8:Kt,_0x266f04,_0x4138cb);try{await this[_0x65a9d(0x361)][_0x65a9d(0x11a)](_0x63f880,{'body':_0x21d6f3});}catch(_0x43d925){throw this[_0x65a9d(0x1cc)][_0x65a9d(0x1da)](_0x65a9d(0x28d),_0x65a9d(0x1e1)),_0x43d925;}}async['_fetchMissChangesets'](_0x2a126e){var _0x11aa94=_0x529853;const {unitID:_0x32defb,from:_0x1a0a00,to:_0x86e30b,unitType:_0xe3c47a}=_0x2a126e[_0x11aa94(0x14f)];return(await this[_0x11aa94(0x12e)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x32defb,'type':_0xe3c47a,'from':_0x1a0a00,'to':_0x86e30b}))['changesets'];}},exports[_0x529853(0x3fb)]=Zt([le(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),le(0x1,a[_0x529853(0x105)](q[_0x529853(0x294)])),le(0x2,a[_0x529853(0x1d9)]),le(0x3,a['ILogService']),le(0x4,g['ISnapshotServerService'])],exports['CollaborationSocketService']);const ei=_0x529853(0xbb);function ti(_0x7336e9){var _0x5af8c2=_0x529853;return JSON[_0x5af8c2(0x2cc)](_0x7336e9)[_0x5af8c2(0x102)];}class Be{constructor(){var _0x530cc9=_0x529853;A(this,_0x530cc9(0x22d),new j[(_0x530cc9(0x29c))]()),A(this,_0x530cc9(0x3df),this['_commentUpdate$'][_0x530cc9(0xb8)]());}[_0x529853(0x340)](_0x5335e6){var _0x7c13ab=_0x529853;this[_0x7c13ab(0x22d)]['next'](_0x5335e6);}}var ii=Object[_0x529853(0x28b)],ni=(_0xf1d02e,_0x419386,_0x3f562d,_0x28bba2)=>{for(var _0x5646e0=_0x28bba2>0x1?void 0x0:_0x28bba2?ii(_0x419386,_0x3f562d):_0x419386,_0x23949b=_0xf1d02e['length']-0x1,_0x2b0da0;_0x23949b>=0x0;_0x23949b--)(_0x2b0da0=_0xf1d02e[_0x23949b])&&(_0x5646e0=_0x2b0da0(_0x5646e0)||_0x5646e0);return _0x5646e0;},Ke=(_0x185e02,_0x3241f2)=>(_0x25d783,_0x12e21d)=>_0x3241f2(_0x25d783,_0x12e21d,_0x185e02);exports['MemberService']=class extends a['Disposable']{constructor(_0x16285d,_0x2e18cd){var _0x3ba33e=_0x529853;super(),A(this,_0x3ba33e(0xf6),new Map()),A(this,'_roomCreated$',new j[(_0x3ba33e(0x29c))]()),(this['_univerInstanceService']=_0x16285d,this[_0x3ba33e(0x23f)]=_0x2e18cd,this[_0x3ba33e(0x156)](j[_0x3ba33e(0x32e)](this[_0x3ba33e(0x107)][_0x3ba33e(0x3af)](a[_0x3ba33e(0x3eb)][_0x3ba33e(0x112)])[_0x3ba33e(0x78)](V['map'](_0x2225d8=>_0x2225d8[_0x3ba33e(0x136)]())),this[_0x3ba33e(0x107)][_0x3ba33e(0x3af)](a[_0x3ba33e(0x3eb)][_0x3ba33e(0x22c)])[_0x3ba33e(0x78)](V[_0x3ba33e(0x3e5)](_0x3cca9a=>_0x3cca9a[_0x3ba33e(0x136)]())),this['_univerInstanceService'][_0x3ba33e(0x3af)](a['UniverInstanceType'][_0x3ba33e(0xa0)])['pipe'](V[_0x3ba33e(0x3e5)](_0x579a16=>_0x579a16[_0x3ba33e(0x136)]())))[_0x3ba33e(0x176)](_0x214314=>this['_removeRoom'](_0x214314))));}[_0x529853(0x10c)](_0x12752f){var _0xf3f22=_0x529853;return this['_roomMembers']['has'](_0x12752f)?j['of'](this[_0xf3f22(0xf6)][_0xf3f22(0x2e6)](_0x12752f)):this[_0xf3f22(0x34a)][_0xf3f22(0x78)](V[_0xf3f22(0x3e5)](_0x1ec66e=>{var _0x10023f=_0xf3f22;if(_0x1ec66e===_0x12752f)return this['_roomMembers'][_0x10023f(0x2e6)](_0x1ec66e);}));}[_0x529853(0x223)](_0x662b1f){var _0xa15deb=_0x529853;this[_0xa15deb(0x23f)][_0xa15deb(0x223)](_0x662b1f);}[_0x529853(0x17c)](){return this['_userManagerService']['getCurrentUser']();}[_0x529853(0x2e9)](_0x526375,_0x58ddf7){var _0x360544=_0x529853;let _0x22d4f0=this['_roomMembers'][_0x360544(0x2e6)](_0x526375);_0x22d4f0||(_0x22d4f0=new ri(),this[_0x360544(0xf6)][_0x360544(0x3f5)](_0x526375,_0x22d4f0),this[_0x360544(0x34a)]['next'](_0x526375)),_0x22d4f0['updateMember'](_0x58ddf7);}[_0x529853(0x2b1)](_0x36cad2,_0x2dd8e3){var _0x3ff502=_0x529853;const _0x26862a=this[_0x3ff502(0xf6)]['get'](_0x36cad2);_0x26862a&&_0x26862a[_0x3ff502(0x2b1)](_0x2dd8e3);}[_0x529853(0x245)](_0x17a2f0){var _0x34f5a5=_0x529853;return this[_0x34f5a5(0xf6)]['get'](_0x17a2f0);}[_0x529853(0x235)](_0x571cdb,_0x57ff07){var _0x4eb55f=_0x529853;const _0x3f5fdb=this['_roomMembers'][_0x4eb55f(0x2e6)](_0x571cdb);if(_0x3f5fdb)return _0x3f5fdb[_0x4eb55f(0x235)](_0x57ff07);}[_0x529853(0x13b)](_0x465866){var _0x458dfa=_0x529853;const _0x31d8d2=this[_0x458dfa(0xf6)][_0x458dfa(0x2e6)](_0x465866);_0x31d8d2&&(_0x31d8d2[_0x458dfa(0x1d2)](),this[_0x458dfa(0xf6)][_0x458dfa(0xe3)](_0x465866));}[_0x529853(0x1d2)](){var _0x2caf89=_0x529853;this['_roomMembers']['forEach'](_0x13d6f6=>_0x13d6f6[_0x2caf89(0x1d2)]()),this[_0x2caf89(0xf6)][_0x2caf89(0x29b)](),this['_roomCreated$'][_0x2caf89(0x2bd)]();}},exports['MemberService']=ni([Ke(0x0,a[_0x529853(0x249)]),Ke(0x1,a[_0x529853(0x105)](a[_0x529853(0x1f9)]))],exports['MemberService']);class ri extends a[_0x529853(0x205)]{constructor(){var _0xc39944=_0x529853;super(...arguments),A(this,_0xc39944(0x3aa),new Map()),A(this,'_members$',new j[(_0xc39944(0x39e))](this[_0xc39944(0x3aa)])),A(this,'members$',this[_0xc39944(0x39b)][_0xc39944(0xb8)]());}['dispose'](){var _0x40889b=_0x529853;this[_0x40889b(0x3aa)][_0x40889b(0x29b)]();}['updateMember'](_0x4aa793){var _0x1d7f35=_0x529853;this[_0x1d7f35(0x3aa)]['set'](_0x4aa793[_0x1d7f35(0x343)],_0x4aa793),this['_emitMembers']();}[_0x529853(0x2b1)](_0x6079c2){var _0x1ec3ee=_0x529853;this[_0x1ec3ee(0x3aa)][_0x1ec3ee(0xe3)](_0x6079c2);}['getMember'](_0xc09efb){var _0x324c0f=_0x529853;return this[_0x324c0f(0x3aa)]['get'](_0xc09efb);}[_0x529853(0x219)](){var _0x540912=_0x529853;return Array[_0x540912(0x380)](this[_0x540912(0x3aa)][_0x540912(0x26a)]());}[_0x529853(0x364)](){var _0x51d6fa=_0x529853;this['_members$'][_0x51d6fa(0x1a0)](this[_0x51d6fa(0x3aa)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x9a8d2d,_0x3f0139,_0x286558,_0xdbb494)=>{var _0x4f53fd=_0x529853;for(var _0x21147e=_0xdbb494>0x1?void 0x0:_0xdbb494?si(_0x3f0139,_0x286558):_0x3f0139,_0x5a635d=_0x9a8d2d[_0x4f53fd(0x102)]-0x1,_0x1863df;_0x5a635d>=0x0;_0x5a635d--)(_0x1863df=_0x9a8d2d[_0x5a635d])&&(_0x21147e=_0x1863df(_0x21147e)||_0x21147e);return _0x21147e;},oe=(_0x5e2411,_0x46a9c1)=>(_0x5bab69,_0x47e535)=>_0x46a9c1(_0x5bab69,_0x47e535,_0x5e2411),se=(_0x1d8801=>(_0x1d8801[_0x1d8801['IDLE']=0x0]=_0x529853(0x141),_0x1d8801[_0x1d8801[_0x529853(0x3a7)]=0x1]='JOINING',_0x1d8801[_0x1d8801[_0x529853(0x22e)]=0x2]=_0x529853(0x22e),_0x1d8801[_0x1d8801[_0x529853(0x1b8)]=0x3]=_0x529853(0x1b8),_0x1d8801))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x529853(0x120)]]:'session.room-full',[ae[_0x529853(0x1ff)]]:'session.room-not-exists',[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x529853(0x127),[ae[_0x529853(0x339)]]:'session.room-cnt-exceeds'};exports[_0x529853(0x398)]=class extends a[_0x529853(0x3a6)]{constructor(_0x285e15,_0x5c02ea,_0x3eca6c,_0x57a5d3,_0x5cd2a6,_0x8bbf74,_0x16372d,_0x878bec,_0x4282b7){var _0x385042=_0x529853;super(),A(this,_0x385042(0x25f),new j[(_0x385042(0x39e))](0x0)),A(this,_0x385042(0x31f),this[_0x385042(0x25f)]['asObservable']()),A(this,_0x385042(0x357),new j[(_0x385042(0x29c))]()),A(this,_0x385042(0x14e),this['_event$'][_0x385042(0xb8)]()),A(this,_0x385042(0x1e6)),A(this,_0x385042(0x2c4)),A(this,_0x385042(0x335)),A(this,_0x385042(0x30c),!0x1),A(this,_0x385042(0x323),null),(this['_unitID']=_0x285e15,this[_0x385042(0x1cc)]=_0x3eca6c,this[_0x385042(0x3d7)]=_0x57a5d3,this[_0x385042(0x2a2)]=_0x5cd2a6,this[_0x385042(0x1ef)]=_0x8bbf74,this[_0x385042(0x91)]=_0x16372d,this[_0x385042(0x309)]=_0x878bec,this['_telemetryService']=_0x4282b7,this[_0x385042(0x30c)]=!!this[_0x385042(0x3d6)],_0x5c02ea[_0x385042(0x78)](j[_0x385042(0x34f)](this['dispose$']))[_0x385042(0x176)](_0x4f4d0f=>{var _0x38fe2d=_0x385042,_0x30c081;typeof _0x4f4d0f>'u'||(this[_0x38fe2d(0x1e6)]=_0x4f4d0f,_0x4f4d0f?(this['_joinRoom'](_0x4f4d0f),this[_0x38fe2d(0x2c4)]=_0x4f4d0f[_0x38fe2d(0xc4)]['subscribe'](_0x1c1cc1=>{var _0x5ee936=_0x38fe2d;_0x1c1cc1[_0x5ee936(0x210)]===this[_0x5ee936(0x292)]&&this[_0x5ee936(0x320)](_0x1c1cc1);})):(this[_0x38fe2d(0x35e)](),this[_0x38fe2d(0x25f)][_0x38fe2d(0x1a0)](0x2),(_0x30c081=this[_0x38fe2d(0x2c4)])==null||_0x30c081[_0x38fe2d(0x192)](),this[_0x38fe2d(0x2c4)]=null));}));}get[_0x529853(0x165)](){var _0x128715=_0x529853;return this[_0x128715(0x25f)]['getValue']();}[_0x529853(0x37c)](){var _0x27b030=_0x529853,_0xaefbb7,_0x5350cd;return(_0x5350cd=(_0xaefbb7=this[_0x27b030(0x1e6)])==null?void 0x0:_0xaefbb7[_0x27b030(0x343)])!=null?_0x5350cd:null;}[_0x529853(0x1d2)](){var _0x460bee=_0x529853;super['dispose'](),this[_0x460bee(0x35b)]['next'](),this[_0x460bee(0x35b)][_0x460bee(0x2bd)]();}['close'](){var _0x4bcafa=_0x529853,_0x1064ac,_0x9aee34;this[_0x4bcafa(0x35e)](),(_0x1064ac=this[_0x4bcafa(0x1e6)])==null||_0x1064ac[_0x4bcafa(0x1f4)]({'cmd':W[_0x4bcafa(0xb1)],'data':{'roomID':this[_0x4bcafa(0x292)]}}),(_0x9aee34=this[_0x4bcafa(0x1e6)])==null||_0x9aee34['close'](),this[_0x4bcafa(0x357)]['complete'](),this[_0x4bcafa(0x25f)][_0x4bcafa(0x2bd)](),this['dispose']();}[_0x529853(0x320)](_0xaeca88){var _0x7faba2=_0x529853;_0xaeca88[_0x7faba2(0xd9)]===W[_0x7faba2(0x2de)]?this[_0x7faba2(0x164)](_0xaeca88):_0xaeca88[_0x7faba2(0xd9)]===W['RECV']&&this['_onRecvEvent'](_0xaeca88);}[_0x529853(0x2a0)](_0x1af541){var _0xa8f1a=_0x529853;this[_0xa8f1a(0x25f)][_0xa8f1a(0x1a0)](0x1),_0x1af541['send']({'cmd':W[_0xa8f1a(0x2de)],'routeKey':this[_0xa8f1a(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa8f1a(0x292)]}]}});}[_0x529853(0x164)](_0x54be93){var _0x4737b1=_0x529853,_0x1e9712;if(_0x54be93[_0x4737b1(0x2e4)]in Ye){this['_collaborationUIEventService'][_0x4737b1(0x122)]({'id':Q[_0x4737b1(0x184)],'data':Ye[_0x54be93['code']]}),this[_0x4737b1(0x25f)]['next'](0x2);return;}this[_0x4737b1(0x25f)]['next'](0x3);const _0x44f1ef=(_0x1e9712=_0x54be93['data'][_0x4737b1(0x3c7)][this[_0x4737b1(0x292)]])==null?void 0x0:_0x1e9712[_0x4737b1(0xe7)];_0x44f1ef&&_0x44f1ef[_0x4737b1(0x26d)](_0x11adac=>this[_0x4737b1(0x1ef)][_0x4737b1(0x2e9)](this[_0x4737b1(0x292)],_0x11adac));}[_0x529853(0x131)](_0x5c8981){var _0x2c02fc=_0x529853;try{const _0x12a53e=_0x5c8981[_0x2c02fc(0x14f)];switch(_0x12a53e[_0x2c02fc(0x3a0)]){case g[_0x2c02fc(0x160)][_0x2c02fc(0x179)]:this[_0x2c02fc(0x1a3)](_0x12a53e),this[_0x2c02fc(0x357)][_0x2c02fc(0x1a0)](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0xc7)]:this[_0x2c02fc(0x321)](_0x12a53e),this[_0x2c02fc(0x357)]['next'](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x1a6)]:case g[_0x2c02fc(0x160)][_0x2c02fc(0x1b2)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2c02fc(0x357)][_0x2c02fc(0x1a0)](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x227)]:this['_logService'][_0x2c02fc(0x1da)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x12a53e)),this['_event$']['next'](_0x12a53e);break;case g[_0x2c02fc(0x160)][_0x2c02fc(0x3b3)]:this['_commentService'][_0x2c02fc(0x340)](_0x12a53e[_0x2c02fc(0x14f)]),this[_0x2c02fc(0x357)]['next'](_0x12a53e);break;default:this[_0x2c02fc(0x357)]['next'](_0x12a53e);}}catch(_0x5e8367){this[_0x2c02fc(0x1cc)]['error'](_0x5e8367,_0x5c8981);}}[_0x529853(0x1a3)](_0x236cf6){var _0x155a1e=_0x529853;this[_0x155a1e(0x1ef)][_0x155a1e(0x2e9)](this[_0x155a1e(0x292)],_0x236cf6[_0x155a1e(0x14f)]);}[_0x529853(0x321)](_0x10185a){var _0x52e477=_0x529853;this['_memberService']['removeMember'](this['_unitID'],_0x10185a[_0x52e477(0x14f)][_0x52e477(0x343)]);}async[_0x529853(0x1f4)](_0x375a0a,_0x5d6e96){var _0x1bac1f=_0x529853;if(this[_0x1bac1f(0x165)]!==0x3||!this[_0x1bac1f(0x1e6)])throw new Error(_0x1bac1f(0x348));try{_0x375a0a[_0x1bac1f(0x3a0)]===g[_0x1bac1f(0x160)][_0x1bac1f(0x3a2)]&&(this[_0x1bac1f(0x29f)](),this[_0x1bac1f(0x146)](_0x375a0a)),this[_0x1bac1f(0x1e6)][_0x1bac1f(0x1f4)]({'cmd':W[_0x1bac1f(0x30b)],'routeKey':_0x5d6e96,'routeType':'','data':_0x375a0a});}catch(_0x341ffa){this[_0x1bac1f(0x1cc)]['error'](_0x341ffa);}}['_scheduleCollaborationTimeoutTimer'](){var _0x55f472=_0x529853,_0x34a064;this[_0x55f472(0x335)]=setTimeout(()=>{var _0x5c0dab=_0x55f472;this[_0x5c0dab(0x335)]=null,this[_0x5c0dab(0x309)][_0x5c0dab(0x122)]({'id':Q[_0x5c0dab(0xfd)]});},(_0x34a064=this[_0x55f472(0x3d7)]['getConfig'](je))!=null?_0x34a064:gt);}['_clearCollaborationTimeoutTimer'](){var _0x35ead1=_0x529853;this[_0x35ead1(0x335)]&&(clearTimeout(this[_0x35ead1(0x335)]),this[_0x35ead1(0x335)]=null);}[_0x529853(0x146)](_0x34c1ae){var _0x379426=_0x529853;if(!this['_shouldReportTelemetry'])return;const {data:_0x4bb67b}=_0x34c1ae,{unitID:_0x29e785,changeset:_0x49f430}=_0x4bb67b,{mutations:_0x45e97f,type:_0x5715eb}=_0x49f430;this[_0x379426(0x323)]={'unitId':_0x29e785,'type':_0x5715eb,'startTime':performance[_0x379426(0x344)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x45e97f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xd8866c=_0x529853;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0xd8866c(0x1cc)][_0xd8866c(0x1da)](_0xd8866c(0x28d),_0xd8866c(0xfc));return;}this[_0xd8866c(0x323)][_0xd8866c(0xa2)]=performance['now'](),this['_telemetryInfo'][_0xd8866c(0x2dc)]=this[_0xd8866c(0x323)]['stopTime']-this[_0xd8866c(0x323)]['startTime'],this[_0xd8866c(0x3d6)][_0xd8866c(0x2a9)](ei,this[_0xd8866c(0x323)]),this[_0xd8866c(0x323)]=null;}}[_0x529853(0x35e)](){var _0x1d1623=_0x529853;this[_0x1d1623(0x323)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x529853(0x1d9)]),oe(0x4,a[_0x529853(0x105)](a[_0x529853(0xc1)])),oe(0x5,a[_0x529853(0x105)](exports['MemberService'])),oe(0x6,a[_0x529853(0x105)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x529853(0x190)](Mt[_0x529853(0x13e)]))],exports[_0x529853(0x398)]);var ai=Object[_0x529853(0x28b)],ci=(_0x1e8e50,_0xe2aca7,_0x475de4,_0x427f51)=>{for(var _0x3b7735=_0x427f51>0x1?void 0x0:_0x427f51?ai(_0xe2aca7,_0x475de4):_0xe2aca7,_0x3fc8d3=_0x1e8e50['length']-0x1,_0x148a98;_0x3fc8d3>=0x0;_0x3fc8d3--)(_0x148a98=_0x1e8e50[_0x3fc8d3])&&(_0x3b7735=_0x148a98(_0x3b7735)||_0x3b7735);return _0x3b7735;},_e=(_0x8fdbf,_0x8653e3)=>(_0x334eca,_0x123ea1)=>_0x8653e3(_0x334eca,_0x123ea1,_0x8fdbf);exports[_0x529853(0x2d0)]=class extends a[_0x529853(0x205)]{constructor(_0x3ecd7f,_0xfa03f7,_0x399c57,_0x342978,_0x3afab2,_0x2139ba){var _0x1736ea=_0x529853;super(),A(this,_0x1736ea(0x16b),new j['BehaviorSubject'](void 0x0)),A(this,_0x1736ea(0x90),this['_socket$'][_0x1736ea(0xb8)]()),A(this,_0x1736ea(0x11e),null),A(this,_0x1736ea(0x287),new Map()),A(this,'_status$',new j[(_0x1736ea(0x39e))](se['IDLE'])),A(this,_0x1736ea(0x23c),this[_0x1736ea(0x199)]['asObservable']()),A(this,_0x1736ea(0x3cb),!0x1),A(this,_0x1736ea(0x133)),A(this,_0x1736ea(0x3ce),0x0),A(this,_0x1736ea(0x1c5)),A(this,'_timeoutTimer'),(this[_0x1736ea(0x113)]=_0x3ecd7f,this[_0x1736ea(0x1cc)]=_0xfa03f7,this[_0x1736ea(0x3d7)]=_0x399c57,this[_0x1736ea(0x169)]=_0x342978,this['_collaborationUIEventService']=_0x3afab2,this['_networkConditionService']=_0x2139ba,this[_0x1736ea(0x3f6)]());}get[_0x529853(0x1e6)](){var _0xdfaf6e=_0x529853;return this[_0xdfaf6e(0x16b)][_0xdfaf6e(0x2a5)]();}['_listenToNetworkCondition'](){var _0x37ad19=_0x529853;this['_networkConditionService']&&this['disposeWithMe'](this[_0x37ad19(0x21e)][_0x37ad19(0x114)]['subscribe'](_0x26442e=>{var _0x19a134=_0x37ad19;_0x26442e&&!this[_0x19a134(0x1e6)]&&this[_0x19a134(0x7d)](),_0x26442e||this['_onOffline']();}));}[_0x529853(0x1d2)](){var _0x47a9c9=_0x529853;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x47a9c9(0x2d3)](),this['_clearHeartbeatTimer'](),this[_0x47a9c9(0x287)][_0x47a9c9(0x26d)](_0x229d17=>_0x229d17[_0x47a9c9(0x1d2)]()),this['_sessions']['clear'](),this[_0x47a9c9(0x199)][_0x47a9c9(0x2bd)]();}async['requireSession'](_0x584ad8){var _0x2d57dd=_0x529853;if(this[_0x2d57dd(0x287)][_0x2d57dd(0x353)](_0x584ad8))return this[_0x2d57dd(0x287)][_0x2d57dd(0x2e6)](_0x584ad8);this[_0x2d57dd(0xa5)]();const _0x29540e=this['_injector'][_0x2d57dd(0x89)](exports[_0x2d57dd(0x398)],_0x584ad8,this[_0x2d57dd(0x16b)]['asObservable']());return this[_0x2d57dd(0x287)][_0x2d57dd(0x3f5)](_0x584ad8,_0x29540e),_0x29540e;}[_0x529853(0xc2)](_0x41d288){var _0x8bcd58=_0x529853,_0x425438;const _0x496b96=this['_sessions'][_0x8bcd58(0x2e6)](_0x41d288);_0x496b96&&(this[_0x8bcd58(0x287)][_0x8bcd58(0xe3)](_0x41d288),_0x496b96[_0x8bcd58(0x20e)]()),this[_0x8bcd58(0x287)]['size']||(_0x425438=this[_0x8bcd58(0x1e6)])==null||_0x425438['close']();}[_0x529853(0x7d)](){var _0x3d0b37=_0x529853;this[_0x3d0b37(0x3ce)]=0x0,this[_0x3d0b37(0x319)](),this[_0x3d0b37(0x3ff)]();}[_0x529853(0x319)](){var _0x1732aa=_0x529853;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1732aa(0x133)]),this['_retryConnectingTimer']=null);}async[_0x529853(0x12a)](){var _0xfd2923=_0x529853,_0x11122e,_0x442376;const _0x8c52b7=this['_configService'][_0xfd2923(0x2bb)](St),_0x5340a3=this[_0xfd2923(0x3d7)][_0xfd2923(0x2bb)](Y),_0x19bffc=(_0x442376=(_0x11122e=_0x5340a3==null?void 0x0:_0x5340a3[_0xfd2923(0x3a3)])!=null?_0x11122e:_0x8c52b7)!=null?_0x442376:ft,_0x400d4a=await this[_0xfd2923(0x169)][_0xfd2923(0x13c)](_0x19bffc);return this['_candidateSocket']=_0x400d4a,_0x400d4a;}async[_0x529853(0xa5)](){var _0x15114e=_0x529853,_0x569863,_0x19befd;try{const _0x38533e=(_0x19befd=(_0x569863=this['_socket'])!=null?_0x569863:this[_0x15114e(0x11e)])!=null?_0x19befd:await this[_0x15114e(0x12a)]();if(_0x38533e){const _0x5beb26=_0x38533e['send'];_0x38533e[_0x15114e(0x1f4)]=_0x140645=>(this['_rescheduleHeartbeat'](),_0x5beb26['apply'](_0x38533e,[_0x140645])),_0x38533e['message$']['subscribe'](_0x3fa3b9=>this['_onMessage'](_0x38533e,_0x3fa3b9)),_0x38533e[_0x15114e(0x1c8)][_0x15114e(0x78)](V[_0x15114e(0x341)](0x1))[_0x15114e(0x176)](_0x2e1ebe=>this[_0x15114e(0x1cc)][_0x15114e(0x1da)]('[CollaborationSessionService]:\x20socket\x20error',_0x2e1ebe)),_0x38533e['open$'][_0x15114e(0x78)](V['take'](0x1))[_0x15114e(0x176)](()=>{var _0x16d498=_0x15114e;this[_0x16d498(0x87)](_0x38533e);}),_0x38533e[_0x15114e(0x3a1)][_0x15114e(0x78)](V[_0x15114e(0x341)](0x1))[_0x15114e(0x176)](_0x50f0b2=>{var _0x37f90f=_0x15114e;this[_0x37f90f(0x1cc)][_0x37f90f(0x23e)](_0x37f90f(0x17a),_0x37f90f(0x2a4),_0x50f0b2),this[_0x37f90f(0x312)]();});}}catch(_0x160d67){this[_0x15114e(0x1cc)][_0x15114e(0x1da)](_0x160d67),this[_0x15114e(0x312)]();}}[_0x529853(0x87)](_0x270cf8){var _0x381a37=_0x529853;this[_0x381a37(0x1cc)]['debug'](_0x381a37(0x17a),_0x381a37(0x148)),_0x270cf8[_0x381a37(0x1f4)]({'cmd':W['HELLO']}),this[_0x381a37(0x1dc)]();}[_0x529853(0x317)](){var _0x11fb69=_0x529853;this[_0x11fb69(0x3cb)]=!0x1,this[_0x11fb69(0x11e)]=null,this[_0x11fb69(0x199)]['next'](se[_0x11fb69(0x22e)]),this[_0x11fb69(0x16b)][_0x11fb69(0x1a0)](null),this[_0x11fb69(0x2d3)](),this[_0x11fb69(0x121)]();}[_0x529853(0x312)](){var _0x4d084f=_0x529853,_0x49a02c;this['_onOffline'](),this[_0x4d084f(0x3ce)]<((_0x49a02c=this[_0x4d084f(0x3d7)]['getConfig'](It))!=null?_0x49a02c:Vt)?(this[_0x4d084f(0x309)]['emitEvent']({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x4d084f(0x3ff)]()):this[_0x4d084f(0x309)][_0x4d084f(0x122)]({'id':Q[_0x4d084f(0x2d8)]});}[_0x529853(0x3ff)](){var _0x41e9e1=_0x529853,_0x5ef8c0;const _0x4429ba=this[_0x41e9e1(0x3ce)],_0x4705fa=this[_0x41e9e1(0x3d7)][_0x41e9e1(0x2bb)](Y),_0x248ef0=_0x4429ba===0x0?0x0:((_0x5ef8c0=_0x4705fa==null?void 0x0:_0x4705fa[_0x41e9e1(0xd6)])!=null?_0x5ef8c0:Ft)*0x2**_0x4429ba;this[_0x41e9e1(0x133)]=setTimeout(()=>{var _0x4b1696=_0x41e9e1;clearTimeout(this[_0x4b1696(0x133)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x248ef0),this[_0x41e9e1(0x3ce)]+=0x1;}['_onMessage'](_0x20292c,_0x3587a3){var _0x32d0c0=_0x529853;const {cmd:_0x28d45f}=_0x3587a3;_0x28d45f===W[_0x32d0c0(0x13f)]&&!this[_0x32d0c0(0x3cb)]&&(_0x20292c[_0x32d0c0(0x343)]=_0x3587a3[_0x32d0c0(0x14f)]['memberID'],this['_socket$'][_0x32d0c0(0x1a0)](_0x20292c),this[_0x32d0c0(0x199)]['next'](se[_0x32d0c0(0x1b8)]),this[_0x32d0c0(0x3cb)]=!0x0,this[_0x32d0c0(0x11e)]=null),_0x28d45f===W[_0x32d0c0(0x3ca)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x529853(0x1dc)](){var _0x3efea1=_0x529853,_0x45bf03;this[_0x3efea1(0x121)](),this[_0x3efea1(0x1c5)]=setTimeout(()=>this[_0x3efea1(0x3cc)](),(_0x45bf03=this['_configService'][_0x3efea1(0x2bb)](pt))!=null?_0x45bf03:Bt);}['_sendHeartbeat'](){var _0x4c8ce9=_0x529853;this[_0x4c8ce9(0x1e6)][_0x4c8ce9(0x1f4)]({'cmd':W[_0x4c8ce9(0x3ca)]}),this['_waitForHeartbeatResponse']();}[_0x529853(0x2aa)](){var _0x37cfc2=_0x529853,_0x4096e8;this['_timeoutTimer']=setTimeout(()=>this[_0x37cfc2(0x312)](),(_0x4096e8=this[_0x37cfc2(0x3d7)][_0x37cfc2(0x2bb)](je))!=null?_0x4096e8:gt);}[_0x529853(0x121)](){var _0x3de24c=_0x529853;this[_0x3de24c(0x1c5)]!=null&&(clearTimeout(this[_0x3de24c(0x1c5)]),this['_sendHeartbeatTimer']=null);}[_0x529853(0x2d3)](){var _0x1560da=_0x529853;this[_0x1560da(0x232)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1560da(0x232)]=null);}},exports[_0x529853(0x2d0)]=ci([_e(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),_e(0x1,a[_0x529853(0x18e)]),_e(0x2,a[_0x529853(0x1d9)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a['Optional'](bt))],exports[_0x529853(0x2d0)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x529853(0x297)]((n+0x100)[_0x529853(0x337)](0x10)[_0x529853(0x172)](0x1));function hi(_0x1d7e46,_0x3a173d=0x0){return(G[_0x1d7e46[_0x3a173d+0x0]]+G[_0x1d7e46[_0x3a173d+0x1]]+G[_0x1d7e46[_0x3a173d+0x2]]+G[_0x1d7e46[_0x3a173d+0x3]]+'-'+G[_0x1d7e46[_0x3a173d+0x4]]+G[_0x1d7e46[_0x3a173d+0x5]]+'-'+G[_0x1d7e46[_0x3a173d+0x6]]+G[_0x1d7e46[_0x3a173d+0x7]]+'-'+G[_0x1d7e46[_0x3a173d+0x8]]+G[_0x1d7e46[_0x3a173d+0x9]]+'-'+G[_0x1d7e46[_0x3a173d+0xa]]+G[_0x1d7e46[_0x3a173d+0xb]]+G[_0x1d7e46[_0x3a173d+0xc]]+G[_0x1d7e46[_0x3a173d+0xd]]+G[_0x1d7e46[_0x3a173d+0xe]]+G[_0x1d7e46[_0x3a173d+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x2b584d=_0x529853;if(!Ue){if(typeof crypto>'u'||!crypto[_0x2b584d(0xf0)])throw new Error(_0x2b584d(0x369));Ue=crypto[_0x2b584d(0xf0)][_0x2b584d(0x1bd)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x529853(0xf1)][_0x529853(0x1bd)](crypto),qe={'randomUUID':ui};function di(_0x2e4c69,_0x1c2883,_0x35c5b7){var _0xc43798=_0x529853,_0x5e7584,_0x82ac85,_0x319169;if(qe[_0xc43798(0xf1)]&&!_0x2e4c69)return qe[_0xc43798(0xf1)]();_0x2e4c69=_0x2e4c69||{};const _0x348292=(_0x319169=(_0x82ac85=_0x2e4c69['random'])!=null?_0x82ac85:(_0x5e7584=_0x2e4c69[_0xc43798(0x16c)])==null?void 0x0:_0x5e7584[_0xc43798(0x391)](_0x2e4c69))!=null?_0x319169:li();if(_0x348292['length']<0x10)throw new Error(_0xc43798(0x310));return _0x348292[0x6]=_0x348292[0x6]&0xf|0x40,_0x348292[0x8]=_0x348292[0x8]&0x3f|0x80,hi(_0x348292);}const z=a[_0x529853(0x34e)](_0x529853(0x222));function vi(_0x40d83e){var _0xf21947=_0x529853;return _0xf21947(0x155)+_0x40d83e;}var Si=Object[_0x529853(0x28b)],fi=(_0x3c6c08,_0x122d58,_0x3b5e27,_0xda10b6)=>{for(var _0x2cda1e=_0xda10b6>0x1?void 0x0:_0xda10b6?Si(_0x122d58,_0x3b5e27):_0x122d58,_0x2b9e05=_0x3c6c08['length']-0x1,_0x2f8138;_0x2b9e05>=0x0;_0x2b9e05--)(_0x2f8138=_0x3c6c08[_0x2b9e05])&&(_0x2cda1e=_0x2f8138(_0x2cda1e)||_0x2cda1e);return _0x2cda1e;},Ae=(_0x17f589,_0x1ea174)=>(_0x570a00,_0x339928)=>_0x1ea174(_0x570a00,_0x339928,_0x17f589);function pi(_0x5d1a56){var _0x84da5f=_0x529853;const {unitID:_0x53b583,mutations:_0xdf95a}=_0x5d1a56;return{'unitId':_0x53b583,'subUnitId':_0xdf95a[0x0][_0x84da5f(0x237)][_0x84da5f(0x2ef)]};}exports[_0x529853(0x258)]=class{constructor(_0x58b1a9,_0x4f71ef,_0x421eeb){var _0x1baf49=_0x529853;this[_0x1baf49(0x113)]=_0x58b1a9,this[_0x1baf49(0x217)]=_0x4f71ef,this[_0x1baf49(0x139)]=_0x421eeb;}[_0x529853(0x1cd)](_0x5453ab){var _0x5f10c6=_0x529853,_0x347b08,_0x52c202,_0x54e68a,_0x2e5b22;const _0x59ca83=this[_0x5f10c6(0x113)][_0x5f10c6(0x2e6)](Z[_0x5f10c6(0x2ce)]),{unitId:_0x2cee5c,subUnitId:_0x15c958}=pi(_0x5453ab),_0x19b1a2=_0x59ca83==null?void 0x0:_0x59ca83[_0x5f10c6(0x1a4)](_0x2cee5c)[_0x5f10c6(0x1b4)](),_0x3cd424=(_0x52c202=(_0x347b08=this['_instanceService']['getUnit'](_0x2cee5c))==null?void 0x0:_0x347b08[_0x5f10c6(0x30d)]())==null?void 0x0:_0x52c202[_0x5f10c6(0x9f)]();if(_0x19b1a2[_0x5f10c6(0x102)]===0x0||!_0x2cee5c||!_0x15c958)return;const _0x154cbe=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x2cee5c,'subUnitId':_0x3cd424,'selections':a[_0x5f10c6(0x39c)][_0x5f10c6(0x2df)](_0x19b1a2)}}],_0x889174=this[_0x5f10c6(0x217)][_0x5f10c6(0x2e7)](_0x5453ab,_0x154cbe);if(!g[_0x5f10c6(0x1d5)](_0x889174))throw _0x889174[_0x5f10c6(0x1da)];const _0x5d0be6=(_0x2e5b22=(_0x54e68a=_0x889174[_0x5f10c6(0x2a7)][0x0])==null?void 0x0:_0x54e68a[_0x5f10c6(0x237)])==null?void 0x0:_0x2e5b22[_0x5f10c6(0x225)];if(Array[_0x5f10c6(0x377)](_0x5d0be6)&&_0x5d0be6[_0x5f10c6(0x102)]){if(_0x5d0be6[_0x5f10c6(0x102)]===_0x154cbe[0x0]['params'][_0x5f10c6(0x225)][_0x5f10c6(0x102)]&&_0x5d0be6[_0x5f10c6(0x125)]((_0x455c9c,_0x584f25)=>a[_0x5f10c6(0x154)][_0x5f10c6(0x230)](_0x455c9c[_0x5f10c6(0x351)],_0x154cbe[0x0][_0x5f10c6(0x237)][_0x5f10c6(0x225)][_0x584f25]['range'])))return;this['_injector'][_0x5f10c6(0x2e6)](a[_0x5f10c6(0x2f4)])[_0x5f10c6(0x2da)](Z[_0x5f10c6(0x1e7)]['id'],{'unitId':_0x2cee5c,'subUnitId':_0x3cd424,'selections':_0x5d0be6});}}},exports[_0x529853(0x258)]=fi([Ae(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),Ae(0x1,g[_0x529853(0x214)]),Ae(0x2,a[_0x529853(0x249)])],exports['SheetTransformSelectionsService']);const ve=a[_0x529853(0x34e)](_0x529853(0x3b2));var Fe=(_0x17c929=>(_0x17c929[_0x17c929['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x529853(0x1e8),_0x17c929[_0x17c929['OTHER_CLIENTS_EDITING']=0x1]=_0x529853(0x16f),_0x17c929))(Fe||{});const gi=new Set([Z[_0x529853(0xf8)]['id']]);function ze(_0x3c0402,_0x4a3236,_0x47d54a,_0x23e791,_0x2e74cc){var _0x3b9b48=_0x529853,_0xb0372c,_0x536497,_0x505e39,_0x598ec2;const _0x2d4443=[];for(const _0x4ea4cb of _0x3c0402)if(gi[_0x3b9b48(0x353)](_0x4ea4cb['id'])){if(_0x2d4443[_0x3b9b48(0x102)]>0x0)break;_0x2d4443['push'](_0x4ea4cb);break;}else _0x2d4443[_0x3b9b48(0x297)](_0x4ea4cb);const _0x407785=(_0x536497=(_0xb0372c=_0x2e74cc[_0x3b9b48(0x17c)]())==null?void 0x0:_0xb0372c['userID'])!=null?_0x536497:_0x3b9b48(0x1b7),_0x4d5b2b=(_0x598ec2=(_0x505e39=_0x2e74cc['getCurrentUser']())==null?void 0x0:_0x505e39[_0x3b9b48(0x343)])!=null?_0x598ec2:_0x3b9b48(0x1b7);return{'changeset':{'unitID':_0x4a3236,'type':g[_0x3b9b48(0x324)](_0x47d54a[_0x3b9b48(0x2b5)](_0x4a3236)),'baseRev':_0x23e791['getCurrentRevOfUnit'](_0x4a3236),'revision':0x0,'userID':_0x407785,'memberID':_0x4d5b2b,'mutations':_0x2d4443},'pendingMutations':_0x3c0402[_0x3b9b48(0x172)](_0x2d4443[_0x3b9b48(0x102)])};}function Ii(_0x292f02,_0xfacdf4,_0x47ef7e,_0x2eeb1,_0xbf174f){var _0x54af9a=_0x529853,_0x5cf0f9,_0x366cf2,_0x2627a7,_0x21446c;const _0x4fa2b6=[_0x292f02[_0x54af9a(0x1bc)]((_0x1adf15,_0x4391d3)=>{var _0x30c53e=_0x54af9a,_0xea475a;const {id:_0x45205f}=_0x1adf15,{id:_0x522a05,type:_0x40d456}=_0x4391d3,_0x36e4af=(_0xea475a=_0x1adf15['params'])!=null?_0xea475a:{'actions':null},_0x3551fa=_0x4391d3['params'];if(_0x45205f&&_0x45205f!==_0x522a05)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x45205f+_0x30c53e(0x238)+_0x522a05+'.');return{..._0x1adf15,'id':_0x522a05,'type':_0x40d456,'params':{'unitId':_0x3551fa['unitId'],'textRanges':_0x3551fa[_0x30c53e(0x284)],'actions':a[_0x30c53e(0x30e)][_0x30c53e(0x395)](_0x36e4af['actions'],_0x3551fa[_0x30c53e(0x7f)])}};},{})],_0x3fcd73=(_0x366cf2=(_0x5cf0f9=_0xbf174f[_0x54af9a(0x17c)]())==null?void 0x0:_0x5cf0f9[_0x54af9a(0xa7)])!=null?_0x366cf2:_0x54af9a(0x1b7),_0x5de4bf=(_0x21446c=(_0x2627a7=_0xbf174f['getCurrentUser']())==null?void 0x0:_0x2627a7['memberID'])!=null?_0x21446c:'unknown';return{'changeset':{'unitID':_0xfacdf4,'type':g[_0x54af9a(0x324)](_0x47ef7e[_0x54af9a(0x2b5)](_0xfacdf4)),'baseRev':_0x2eeb1[_0x54af9a(0xd4)](_0xfacdf4),'revision':0x0,'userID':_0x3fcd73,'memberID':_0x5de4bf,'mutations':_0x4fa2b6},'pendingMutations':[]};}function yt(_0x3991e8,_0x308006){var _0x27643a=_0x529853;const _0xff836d=new j[(_0x27643a(0x3f1))](0x1);return setTimeout(()=>_0xff836d[_0x27643a(0x1a0)](_0x308006),_0x3991e8),_0xff836d['asObservable']()[_0x27643a(0x78)](j[_0x27643a(0x341)](0x1));}const mi={'id':Z[_0x529853(0x271)]['id'],'type':a['CommandType'][_0x529853(0x1d3)],'params':{}};var Ei=Object[_0x529853(0x28b)],ce=(_0x69d4ce,_0x322e34,_0x1059ce,_0x2df622)=>{var _0x12640c=_0x529853;for(var _0x2c5827=_0x2df622>0x1?void 0x0:_0x2df622?Ei(_0x322e34,_0x1059ce):_0x322e34,_0x4535b7=_0x69d4ce[_0x12640c(0x102)]-0x1,_0x17cb92;_0x4535b7>=0x0;_0x4535b7--)(_0x17cb92=_0x69d4ce[_0x4535b7])&&(_0x2c5827=_0x17cb92(_0x2c5827)||_0x2c5827);return _0x2c5827;},w=(_0x1245ae,_0x121c58)=>(_0x464c03,_0x52f419)=>_0x121c58(_0x464c03,_0x52f419,_0x1245ae),Ve=(_0x128a75=>(_0x128a75[_0x529853(0x13a)]=_0x529853(0xfa),_0x128a75[_0x529853(0x19f)]='synced',_0x128a75[_0x529853(0x3a9)]='pending',_0x128a75[_0x529853(0x224)]=_0x529853(0x213),_0x128a75[_0x529853(0x37b)]=_0x529853(0xad),_0x128a75[_0x529853(0x22f)]=_0x529853(0x173),_0x128a75[_0x529853(0x38f)]=_0x529853(0x108),_0x128a75['OFFLINE']=_0x529853(0x3ef),_0x128a75))(Ve||{});const Nt=0xea60;class he{constructor(_0x3edf1f,_0x58eef5,_0x453771,_0x4f0354,_0x514a38,_0x5bcac7,_0x3a54fe,_0x188ba8,_0x3dac7b){var _0xa195e6=_0x529853;A(this,_0xa195e6(0x261),null),A(this,'_pendingMutations',[]),(this['unitID']=_0x3edf1f,this[_0xa195e6(0x2d6)]=_0x58eef5,this['_handler']=_0x514a38,this['_commandService']=_0x5bcac7,this[_0xa195e6(0x16d)]=_0x3a54fe,this[_0xa195e6(0xac)]=_0x188ba8,this[_0xa195e6(0x152)]=_0x3dac7b,this['_awaitingChangeset']=_0x453771,this['_pendingMutations']=_0x4f0354);}[_0x529853(0x366)](_0x38b043){var _0xd0f83=_0x529853;const _0x4de04d=this[_0xd0f83(0xac)][_0xd0f83(0xd4)](this[_0xd0f83(0x20a)]);return _0x38b043[_0xd0f83(0x33c)]>_0x4de04d+0x1?(this[_0xd0f83(0x262)][_0xd0f83(0xda)]({'from':_0x4de04d,'to':_0x38b043['revision']-0x1}),!0x0):!0x1;}[_0x529853(0x342)](_0x1cbc00){var _0x11edb9=_0x529853;this[_0x11edb9(0x16d)]['transformUndoRedo'](this[_0x11edb9(0x20a)],_0x1cbc00);}['_transformSelections'](_0x385425){var _0x350b34=_0x529853,_0x7d25bd,_0x1ba261;(_0x1ba261=(_0x7d25bd=this[_0x350b34(0x262)])[_0x350b34(0x111)])==null||_0x1ba261[_0x350b34(0x391)](_0x7d25bd,_0x385425);}[_0x529853(0x8e)](_0x155df2){var _0x4a050b=_0x529853,_0x4d31da,_0x3f206d;return(_0x3f206d=(_0x4d31da=this['_handler'])['onTransformIME'])==null?void 0x0:_0x3f206d[_0x4a050b(0x391)](_0x4d31da,_0x155df2);}['_transformStateCache'](_0xf11df4){var _0x20007f=_0x529853,_0x21b58e,_0xc3ffe;return(_0xc3ffe=(_0x21b58e=this['_handler'])[_0x20007f(0x229)])==null?void 0x0:_0xc3ffe[_0x20007f(0x391)](_0x21b58e,_0xf11df4);}[_0x529853(0x15c)](_0x388ee8){var _0x48ecbc=_0x529853,_0x183ca8,_0x3baf4a,_0x4e3334;return(_0x4e3334=(_0x3baf4a=(_0x183ca8=this[_0x48ecbc(0x262)])[_0x48ecbc(0x3ee)])==null?void 0x0:_0x3baf4a['call'](_0x183ca8,_0x388ee8))!=null?_0x4e3334:_0x388ee8;}['_transformRemoteChangesetByStateCache'](_0x4a23ac){var _0x3faad0=_0x529853,_0x591c86,_0x56adbe,_0x90bb92;return(_0x90bb92=(_0x56adbe=(_0x591c86=this[_0x3faad0(0x262)])[_0x3faad0(0x29e)])==null?void 0x0:_0x56adbe[_0x3faad0(0x391)](_0x591c86,_0x4a23ac))!=null?_0x90bb92:_0x4a23ac;}[_0x529853(0x97)](_0x5c34f8){var _0x1a6a70=_0x529853,_0x2181de,_0x5707ca;if(this['type']===X[_0x1a6a70(0x22c)]){const {unitID:_0x1b703b,mutations:_0x3ff331,memberID:_0x79939}=_0x5c34f8,_0x41888f=_0x3ff331[0x0][_0x1a6a70(0x237)]['textRanges'];Array['isArray'](_0x41888f)&&_0x41888f['length']>0x0&&((_0x5707ca=(_0x2181de=this[_0x1a6a70(0x262)])['onSyncEditingCollabCursor'])==null||_0x5707ca[_0x1a6a70(0x391)](_0x2181de,{'unitID':_0x1b703b,'memberID':_0x79939,'textRanges':_0x41888f}));}}['_updateLocalCache'](){var _0x5e093b=_0x529853,_0x570361;(_0x570361=this['_localCacheService'])==null||_0x570361[_0x5e093b(0x329)](this['unitID'],this['type'],this[_0x5e093b(0x261)],this[_0x5e093b(0x1e5)]);}[_0x529853(0x117)](){var _0x1843aa=_0x529853;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x1843aa(0x20a)]);}[_0x529853(0x3be)](){var _0x292f98=_0x529853;this[_0x292f98(0xac)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x169280){var _0xe9820f=_0x529853,_0xe5c275;let _0x3517ae=this[_0xe9820f(0x15c)](_0x169280);_0x3517ae=this[_0xe9820f(0x3da)](_0x3517ae);const _0x15fd70=a[_0xe9820f(0x2a1)](_0x3517ae[_0xe9820f(0x387)],this[_0xe9820f(0x162)],{'fromCollab':!0x0});if(!_0x15fd70[_0xe9820f(0x2b3)])throw _0x15fd70[_0xe9820f(0x1da)]instanceof Error?_0x15fd70[_0xe9820f(0x1da)]:new Error((_0xe5c275=_0x15fd70[_0xe9820f(0x1da)])!=null?_0xe5c275:_0xe9820f(0x2eb));this[_0xe9820f(0x8e)](_0x3517ae),this['_transformStateCache'](_0x3517ae),this[_0xe9820f(0x342)](_0x169280),this[_0xe9820f(0x392)](_0x3517ae),this['_syncEditingCollabCursor'](_0x3517ae),this[_0xe9820f(0x3be)]();}}exports['SyncedState']=class extends he{constructor(_0x14dc6c,_0x3cba93,_0x5e141d,_0x1d5d4a,_0xc6fa0d,_0x57ac91,_0x6f8746,_0x1d1b22,_0x222cf4,_0x228e5d){var _0x1769d8=_0x529853;super(_0x14dc6c,_0x3cba93,null,[],_0x5e141d,_0x6f8746,_0x57ac91,_0x1d5d4a,_0x228e5d),A(this,_0x1769d8(0x18f),_0x1769d8(0x1a8)),(this[_0x1769d8(0x113)]=_0xc6fa0d,this[_0x1769d8(0x1cc)]=_0x1d1b22,this[_0x1769d8(0x217)]=_0x222cf4,this['localCacheService']=_0x228e5d);}[_0x529853(0x240)](_0x46c267){var _0x35c6af=_0x529853;const _0x2de492=this['_injector'][_0x35c6af(0x89)](exports[_0x35c6af(0x263)],this['unitID'],this['type'],[_0x46c267],this[_0x35c6af(0x262)]);return _0x2de492[_0x35c6af(0xa6)](),_0x2de492['_updateLocalCache'](),_0x2de492;}[_0x529853(0xea)](_0x117c84){var _0x271071=_0x529853;if(this[_0x271071(0x366)](_0x117c84))return this['_injector'][_0x271071(0x89)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x117c84],this[_0x271071(0x262)]);try{const _0x2dc12b=this['_transformService'][_0x271071(0x2e7)](_0x117c84,[mi]);if(g[_0x271071(0x1d5)](_0x2dc12b)){const {c1Prime:_0x279708}=_0x2dc12b;return this[_0x271071(0x3c9)](_0x279708),this;}throw _0x2dc12b[_0x271071(0x1da)];}catch(_0x1ee63b){return this[_0x271071(0x1cc)][_0x271071(0x1da)](_0x1ee63b),this[_0x271071(0x1de)](!0x1);}}[_0x529853(0x1de)](_0x122db2){var _0x156d9d=_0x529853;return this[_0x156d9d(0x113)][_0x156d9d(0x89)](exports['ConflictState'],this[_0x156d9d(0x20a)],this[_0x156d9d(0x2d6)],null,[],this[_0x156d9d(0x262)],_0x122db2);}['onRemoteAck'](){var _0x1c11f3=_0x529853;throw new Error(_0x1c11f3(0x2ad));}['onRemoteRej'](){var _0xfa51ab=_0x529853;throw new Error(_0xfa51ab(0x349));}[_0x529853(0x3f9)](){return this;}[_0x529853(0x359)](){var _0x431c61=_0x529853;return this[_0x431c61(0x113)][_0x431c61(0x89)](exports[_0x431c61(0x1e3)],this['unitID'],this[_0x431c61(0x2d6)],null,[],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x3be2ae=_0x529853;throw new Error(_0x3be2ae(0x3d3));}['fetchMiss'](){var _0xd98161=_0x529853;const _0x39c324=this[_0xd98161(0xac)]['getCurrentRevOfUnit'](this[_0xd98161(0x20a)]);return this[_0xd98161(0x262)][_0xd98161(0xda)]({'from':_0x39c324,'to':0x0}),this['_injector'][_0xd98161(0x89)](exports['FetchingMissState'],this[_0xd98161(0x20a)],this[_0xd98161(0x2d6)],null,[],null,[],this[_0xd98161(0x262)]);}},exports['SyncedState']=ce([w(0x3,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x4,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x5,a[_0x529853(0x140)]),w(0x6,a['ICommandService']),w(0x7,a[_0x529853(0x18e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x529853(0x190)](z))],exports[_0x529853(0xec)]),exports['PendingState']=class extends he{constructor(_0x3ebc20,_0x19803f,_0x17054d,_0x2068cc,_0x3e2cdf,_0x122fe5,_0x25cf4f,_0x4394f5,_0x4dfed4,_0x7391a7,_0x46b871,_0xc14125,_0x26f494,_0x36dea1){var _0x48a50c=_0x529853;super(_0x3ebc20,_0x19803f,null,_0x17054d,_0x2068cc,_0x4dfed4,_0x26f494,_0x122fe5,_0x36dea1),A(this,'status',_0x48a50c(0x1ca)),A(this,_0x48a50c(0x8b),null),A(this,_0x48a50c(0x373),null),(this[_0x48a50c(0x113)]=_0x3e2cdf,this[_0x48a50c(0x1ef)]=_0x25cf4f,this[_0x48a50c(0x1cc)]=_0x4394f5,this['_configService']=_0x7391a7,this[_0x48a50c(0x217)]=_0x46b871,this[_0x48a50c(0x107)]=_0xc14125);}[_0x529853(0x240)](_0x5d7316){var _0x2adb81=_0x529853;return this[_0x2adb81(0x1e5)][_0x2adb81(0x297)](_0x5d7316),this[_0x2adb81(0x143)](),this;}[_0x529853(0xea)](_0x1141aa){var _0x494d95=_0x529853;if(this['_checkMissing'](_0x1141aa))return this['_clearScheduledTask'](),this[_0x494d95(0x113)]['createInstance'](exports[_0x494d95(0x290)],this[_0x494d95(0x20a)],this[_0x494d95(0x2d6)],null,this[_0x494d95(0x1e5)],null,[_0x1141aa],this[_0x494d95(0x262)]);try{const _0xdb0a47=this[_0x494d95(0x217)][_0x494d95(0x2e7)](_0x1141aa,this[_0x494d95(0x1e5)]);if(g[_0x494d95(0x1d5)](_0xdb0a47)){const {c1Prime:_0x2a420d,m2Prime:_0x4319d2}=_0xdb0a47;this[_0x494d95(0x3c9)](_0x2a420d);const _0x5c277a=this[_0x494d95(0x113)][_0x494d95(0x89)](exports['PendingState'],this[_0x494d95(0x20a)],this['type'],_0x4319d2,this['_handler']);this[_0x494d95(0x346)]();const _0x2985be=new Date()[_0x494d95(0x397)](),_0x33fee6=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x2985be,0x0):this['_getSendChangesetTimeout']();return _0x5c277a['_schedule'](_0x33fee6),_0x5c277a;}throw _0xdb0a47[_0x494d95(0x1da)];}catch(_0x2b3304){return this['_logService']['error'](_0x2b3304),this[_0x494d95(0x1de)](!0x1);}}['onRemoteAck'](){var _0x42238c=_0x529853;throw new Error(_0x42238c(0x38c));}[_0x529853(0x1f1)](){var _0x2b4115=_0x529853;throw new Error(_0x2b4115(0x103));}[_0x529853(0x3f9)](){return this;}['toggleOffline'](){var _0x5da3b9=_0x529853;return this[_0x5da3b9(0x346)](),this[_0x5da3b9(0x113)][_0x5da3b9(0x89)](exports[_0x5da3b9(0x1e3)],this[_0x5da3b9(0x20a)],this[_0x5da3b9(0x2d6)],null,this[_0x5da3b9(0x1e5)],this[_0x5da3b9(0x262)]);}[_0x529853(0x1ce)](){return this;}['_schedule'](_0x2e5c7a){var _0x34124c=_0x529853;const _0x59fb25=_0x2e5c7a!=null?_0x2e5c7a:this['_getSendChangesetTimeout']();this[_0x34124c(0x8b)]=new Date()[_0x34124c(0x397)]()+_0x59fb25,this[_0x34124c(0x373)]=setTimeout(()=>{var _0x58368c=_0x34124c;this[_0x58368c(0x346)]();let _0xdc0b14=null;switch(this[_0x58368c(0x2d6)]){case X[_0x58368c(0x112)]:{_0xdc0b14=ze(this[_0x58368c(0x1e5)],this['unitID'],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this['_memberService']);break;}case X[_0x58368c(0x22c)]:{this[_0x58368c(0x1e5)][_0x58368c(0x125)](_0x177854=>_0x177854['id']===ut[_0x58368c(0x16a)]['id'])?_0xdc0b14=Ii(this[_0x58368c(0x1e5)],this[_0x58368c(0x20a)],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this[_0x58368c(0x1ef)]):_0xdc0b14=ze(this[_0x58368c(0x1e5)],this[_0x58368c(0x20a)],this[_0x58368c(0x107)],this[_0x58368c(0xac)],this[_0x58368c(0x1ef)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x58368c(0x193));}const {changeset:_0x158330,pendingMutations:_0xb029d1}=_0xdc0b14;this[_0x58368c(0x262)]['onSendChangeset'](_0x158330);const _0x32a8c2=_0xb029d1['length']?this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x58368c(0x2d6)],_0x158330,_0xb029d1,this['_handler'],void 0x0):this[_0x58368c(0x113)][_0x58368c(0x89)](exports[_0x58368c(0x352)],this[_0x58368c(0x20a)],this[_0x58368c(0x2d6)],_0x158330,this['_handler']);_0x32a8c2[_0x58368c(0x143)](),this['_handler']['onStateChange'](this,_0x32a8c2);},_0x59fb25);}[_0x529853(0x80)](){var _0x3cb081=_0x529853,_0x18f8c4;const _0x3f7cf2=this[_0x3cb081(0x3d7)]['getConfig'](Y);return(_0x18f8c4=_0x3f7cf2==null?void 0x0:_0x3f7cf2['sendChangesetTimeout'])!=null?_0x18f8c4:jt;}['resend'](){var _0x2b0078=_0x529853;throw new Error(_0x2b0078(0x2fe));}[_0x529853(0x346)](){var _0x20ed42=_0x529853;this[_0x20ed42(0x373)]!=null&&(clearTimeout(this[_0x20ed42(0x373)]),this['_sendingTimer']=null);}[_0x529853(0x1de)](_0x5f1b23){var _0x270f6f=_0x529853;return this[_0x270f6f(0x346)](),this[_0x270f6f(0x113)][_0x270f6f(0x89)](exports[_0x270f6f(0x399)],this['unitID'],this[_0x270f6f(0x2d6)],null,this[_0x270f6f(0x1e5)],this['_handler'],_0x5f1b23);}},exports[_0x529853(0x263)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x529853(0x105)](exports['MemberService'])),w(0x7,a[_0x529853(0x18e)]),w(0x8,a[_0x529853(0x2f4)]),w(0x9,a['IConfigService']),w(0xa,g[_0x529853(0x214)]),w(0xb,a[_0x529853(0x249)]),w(0xc,a[_0x529853(0x140)]),w(0xd,a[_0x529853(0x190)](z))],exports['PendingState']),exports['AwaitingState']=class extends he{constructor(_0x4af97a,_0x5235ac,_0x33eaaa,_0x31f440,_0xa3ca7e,_0x492ee0,_0x424821,_0x3f789f,_0x339fb5,_0x22c616,_0x1b7e44){var _0x1b0b3c=_0x529853;super(_0x4af97a,_0x5235ac,_0x33eaaa,[],_0x31f440,_0x424821,_0x22c616,_0x492ee0,_0x1b7e44),A(this,_0x1b0b3c(0x18f),'awaiting'),A(this,_0x1b0b3c(0xb4),0x0),A(this,_0x1b0b3c(0x2d1)),A(this,_0x1b0b3c(0x1c4)),(this['_injector']=_0xa3ca7e,this[_0x1b0b3c(0x1cc)]=_0x3f789f,this[_0x1b0b3c(0x217)]=_0x339fb5);}[_0x529853(0x240)](_0x259ea8){var _0x1ee6b2=_0x529853;this['_clearScheduledTask']();const _0xc1548c=this[_0x1ee6b2(0x113)][_0x1ee6b2(0x89)](exports[_0x1ee6b2(0x17f)],this[_0x1ee6b2(0x20a)],this[_0x1ee6b2(0x2d6)],this[_0x1ee6b2(0x261)],[_0x259ea8],this['_handler'],this[_0x1ee6b2(0x2d1)]);return _0xc1548c[_0x1ee6b2(0x143)](),_0xc1548c;}['onRemoteChangeset'](_0x45f196){var _0xb02a0f=_0x529853;if(this[_0xb02a0f(0x366)](_0x45f196))return this['_clearScheduledTask'](),this[_0xb02a0f(0x113)][_0xb02a0f(0x89)](exports['FetchingMissState'],this['unitID'],this[_0xb02a0f(0x2d6)],this[_0xb02a0f(0x261)],[],null,[_0x45f196],this[_0xb02a0f(0x262)]);try{const _0x3b2125=this['_transformService'][_0xb02a0f(0x1c0)]([_0x45f196],[this[_0xb02a0f(0x261)]],!0x1);if(g[_0xb02a0f(0x32d)](_0x3b2125)){const {c1Prime:_0x47d6e3,c2Prime:_0x3afa24}=_0x3b2125;this[_0xb02a0f(0x3c9)](_0x47d6e3[0x0]),_0x3afa24[0x0][_0xb02a0f(0x27f)]=this[_0xb02a0f(0x117)](),this[_0xb02a0f(0x346)]();const _0x5efe3a=this[_0xb02a0f(0x113)][_0xb02a0f(0x89)](exports[_0xb02a0f(0x352)],this[_0xb02a0f(0x20a)],this[_0xb02a0f(0x2d6)],_0x3afa24[0x0],this[_0xb02a0f(0x262)]);return _0x5efe3a[_0xb02a0f(0x143)](),_0x5efe3a;}return this['_onConflict'](!0x1);}catch(_0x39e14a){return this['_logService']['error'](_0x39e14a),this[_0xb02a0f(0x1de)](!0x1);}}['onRemoteAck'](_0x144a66){var _0x58b6b5=_0x529853;this[_0x58b6b5(0x346)]();const _0x459cd4=this['_revisionService'][_0x58b6b5(0xd4)](this['unitID']);if(_0x144a66[_0x58b6b5(0x33c)]<_0x459cd4-0x1)return this;if(this['_checkMissing'](_0x144a66))return this[_0x58b6b5(0x113)][_0x58b6b5(0x89)](exports[_0x58b6b5(0x290)],this[_0x58b6b5(0x20a)],this[_0x58b6b5(0x2d6)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x58b6b5(0x3be)]();const _0x30bf2d=this[_0x58b6b5(0x113)][_0x58b6b5(0x89)](exports[_0x58b6b5(0xec)],this['unitID'],this[_0x58b6b5(0x2d6)],this[_0x58b6b5(0x262)]);return _0x30bf2d[_0x58b6b5(0x143)](),_0x30bf2d;}['onRemoteRej'](_0x489003){var _0x5a8444=_0x529853;return this[_0x5a8444(0x1de)](!!(_0x489003!=null&&_0x489003[_0x5a8444(0x253)]));}[_0x529853(0x3f9)](_0x4febad){var _0x13f5f5=_0x529853;return this[_0x13f5f5(0xb4)]>Nt?this[_0x13f5f5(0x359)]():(this[_0x13f5f5(0x2d1)]=yt(this[_0x13f5f5(0xb4)],{'timeout':this['_resendTimeout'],'reqId':_0x4febad[_0x13f5f5(0xf4)]}),this['_sender']=this[_0x13f5f5(0x2d1)]['subscribe'](({reqId:_0x17997e,timeout:_0x5be33b})=>{var _0x4b9feb=_0x13f5f5;this[_0x4b9feb(0xb3)](_0x17997e,_0x5be33b);}),this);}[_0x529853(0x359)](){var _0x4f1734=_0x529853;return this[_0x4f1734(0x346)](),this[_0x4f1734(0x113)][_0x4f1734(0x89)](exports['OfflineState'],this['unitID'],this[_0x4f1734(0x2d6)],this[_0x4f1734(0x261)],[],this[_0x4f1734(0x262)]);}['toggleOnline'](){return this;}[_0x529853(0x182)](){var _0x4f74b4=_0x529853;this[_0x4f74b4(0x262)][_0x4f74b4(0x13d)](this[_0x4f74b4(0x261)]);}['_onConflict'](_0x79eff8){var _0x3b7abc=_0x529853;return this['_clearScheduledTask'](),this[_0x3b7abc(0x113)][_0x3b7abc(0x89)](exports[_0x3b7abc(0x399)],this[_0x3b7abc(0x20a)],this[_0x3b7abc(0x2d6)],this['_awaitingChangeset'],[],this[_0x3b7abc(0x262)],_0x79eff8);}[_0x529853(0xb3)](_0x441513,_0x229e72){var _0x30bc20=_0x529853,_0xebff28;_0x441513===((_0xebff28=this['_awaitingChangeset'])==null?void 0x0:_0xebff28[_0x30bc20(0xf4)])&&(this[_0x30bc20(0x182)](),this['_resendTimeout']=_0x229e72===0x0?0x3e8:_0x229e72*0x2);}[_0x529853(0x346)](){var _0x30c022=_0x529853,_0x531032;(_0x531032=this['_sender'])==null||_0x531032['unsubscribe'](),this[_0x30c022(0xb4)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a['Inject'](a[_0x529853(0x203)])),w(0x5,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x6,a[_0x529853(0x2f4)]),w(0x7,a[_0x529853(0x18e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x529853(0x140)]),w(0xa,a[_0x529853(0x190)](z))],exports['AwaitingState']),exports[_0x529853(0x17f)]=class extends he{constructor(_0x588282,_0x350faa,_0x37803d,_0x211cd1,_0x20c6a4,_0x410733,_0x296e1d,_0x431285,_0x227f17,_0x1257c7,_0xb9a81b,_0x4e24ca,_0x59afa9){var _0x431fa3=_0x529853;super(_0x588282,_0x350faa,_0x37803d,_0x211cd1,_0x20c6a4,_0x227f17,_0x4e24ca,_0x431285,_0x59afa9),A(this,_0x431fa3(0x18f),_0x431fa3(0xad)),A(this,_0x431fa3(0xb4),0x0),A(this,_0x431fa3(0x2d1)),A(this,_0x431fa3(0x1c4)),(this[_0x431fa3(0x113)]=_0x296e1d,this[_0x431fa3(0x1cc)]=_0x1257c7,this[_0x431fa3(0x217)]=_0xb9a81b,this[_0x431fa3(0x79)]=_0x59afa9,_0x410733&&(this[_0x431fa3(0x2d1)]=_0x410733,this[_0x431fa3(0x1c4)]=this['_resendTimer'][_0x431fa3(0x176)](({reqId:_0x2c381e,timeout:_0x5e222b})=>{var _0x1dcdd9=_0x431fa3;this[_0x1dcdd9(0xb3)](_0x2c381e,_0x5e222b);})));}['appendMutation'](_0x88da50){var _0x315e2b=_0x529853;return this[_0x315e2b(0x1e5)][_0x315e2b(0x297)](_0x88da50),this;}['onRemoteChangeset'](_0x1e7622){var _0x5e4472=_0x529853;if(this[_0x5e4472(0x366)](_0x1e7622))return this['_clearScheduledTask'](),this[_0x5e4472(0x113)][_0x5e4472(0x89)](exports['FetchingMissState'],this[_0x5e4472(0x20a)],this['type'],this[_0x5e4472(0x261)],this[_0x5e4472(0x1e5)],null,[_0x1e7622],this['_handler']);try{const _0x441798=this['_transformService'][_0x5e4472(0x1c0)]([_0x1e7622],[this[_0x5e4472(0x261)]],!0x1);if(g[_0x5e4472(0x32d)](_0x441798)){const {c1Prime:_0x455bdb,c2Prime:_0x2fd8c3}=_0x441798,_0x5df8e7=this['_transformService'][_0x5e4472(0x2e7)](_0x455bdb[0x0],this[_0x5e4472(0x1e5)]);if(g[_0x5e4472(0x1d5)](_0x5df8e7)){const {c1Prime:_0x23a583,m2Prime:_0x5d7748}=_0x5df8e7;return this[_0x5e4472(0x3c9)](_0x23a583),_0x2fd8c3[0x0][_0x5e4472(0x27f)]=this[_0x5e4472(0x117)](),this[_0x5e4472(0x346)](),this['_injector']['createInstance'](exports[_0x5e4472(0x17f)],this[_0x5e4472(0x20a)],this[_0x5e4472(0x2d6)],_0x2fd8c3[0x0],_0x5d7748,this[_0x5e4472(0x262)],void 0x0);}throw _0x5df8e7[_0x5e4472(0x1da)];}throw _0x441798[_0x5e4472(0x1da)];}catch(_0x5e2133){return this[_0x5e4472(0x1cc)][_0x5e4472(0x1da)](_0x5e2133),this[_0x5e4472(0x1de)](!0x1);}}[_0x529853(0x22b)](_0x4ef09f){var _0x64ba90=_0x529853;if(this[_0x64ba90(0x346)](),this[_0x64ba90(0x366)](_0x4ef09f))return this['_injector'][_0x64ba90(0x89)](exports[_0x64ba90(0x290)],this['unitID'],this[_0x64ba90(0x2d6)],null,this[_0x64ba90(0x1e5)],this[_0x64ba90(0x261)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x15819b=this['_injector'][_0x64ba90(0x89)](exports['PendingState'],this[_0x64ba90(0x20a)],this[_0x64ba90(0x2d6)],this[_0x64ba90(0x1e5)],this[_0x64ba90(0x262)]);return _0x15819b['_schedule'](),_0x15819b[_0x64ba90(0x143)](),_0x15819b;}[_0x529853(0x1f1)](_0x1480e8){var _0x23cdda=_0x529853;return this[_0x23cdda(0x1de)](!!(_0x1480e8!=null&&_0x1480e8[_0x23cdda(0x253)]));}['onRemoteRetry'](_0x12eb18){var _0x214542=_0x529853;return this[_0x214542(0xb4)]>Nt?this[_0x214542(0x359)]():(this[_0x214542(0x2d1)]=yt(this[_0x214542(0xb4)],{'timeout':this['_resendTimeout'],'reqId':_0x12eb18[_0x214542(0xf4)]}),this[_0x214542(0x1c4)]=this[_0x214542(0x2d1)][_0x214542(0x176)](({reqId:_0x53cfe3,timeout:_0x2eba3d})=>{var _0x157ddf=_0x214542;this[_0x157ddf(0xb3)](_0x53cfe3,_0x2eba3d);}),this);}[_0x529853(0x359)](){var _0x33d2a1=_0x529853;return this['_clearScheduledTask'](),this[_0x33d2a1(0x113)][_0x33d2a1(0x89)](exports['OfflineState'],this[_0x33d2a1(0x20a)],this['type'],this[_0x33d2a1(0x261)],this[_0x33d2a1(0x1e5)],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x2d1434=_0x529853;this['_handler'][_0x2d1434(0x13d)](this['_awaitingChangeset']);}[_0x529853(0x1de)](_0x4c06d6){var _0x223758=_0x529853;return this['_clearScheduledTask'](),this[_0x223758(0x113)][_0x223758(0x89)](exports[_0x223758(0x399)],this[_0x223758(0x20a)],this['type'],null,this[_0x223758(0x1e5)],this[_0x223758(0x262)],_0x4c06d6);}[_0x529853(0xb3)](_0x5c871f,_0x7fdb8b){var _0x51e9b9=_0x529853,_0x969ba7;_0x5c871f===((_0x969ba7=this[_0x51e9b9(0x261)])==null?void 0x0:_0x969ba7[_0x51e9b9(0xf4)])&&(this[_0x51e9b9(0x182)](),this[_0x51e9b9(0xb4)]=_0x7fdb8b===0x0?0x3e8:_0x7fdb8b*0x2);}['_clearScheduledTask'](){var _0x454493=_0x529853,_0x39ec83;(_0x39ec83=this[_0x454493(0x1c4)])==null||_0x39ec83[_0x454493(0x192)](),this['_resendTimeout']=0x0;}},exports[_0x529853(0x17f)]=ce([w(0x6,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x7,a['Inject'](g['RevisionService'])),w(0x8,a[_0x529853(0x2f4)]),w(0x9,a[_0x529853(0x18e)]),w(0xa,g['ITransformService']),w(0xb,a[_0x529853(0x140)]),w(0xc,a[_0x529853(0x190)](z))],exports[_0x529853(0x17f)]),exports[_0x529853(0x399)]=class extends he{constructor(_0x19c1a5,_0x220496,_0x9db223,_0xf31a50,_0x426dd7,_0x247c9b=!0x1,_0x30ba0c,_0x5754d2,_0x529c2b,_0x4e84ee,_0x3ae64f,_0x27bc81,_0x1c3021){var _0x51fa3e=_0x529853;super(_0x19c1a5,_0x220496,_0x9db223,_0xf31a50,_0x426dd7,_0x5754d2,_0x529c2b,_0x4e84ee,_0x1c3021),A(this,_0x51fa3e(0x18f),_0x51fa3e(0x108)),(this['_isPermissionRej']=_0x247c9b,this[_0x51fa3e(0x2f0)]=_0x30ba0c,this['_localeService']=_0x3ae64f,this[_0x51fa3e(0x309)]=_0x27bc81,this[_0x51fa3e(0x79)]=_0x1c3021,this[_0x51fa3e(0x123)](),this['_clearLocalCache'](),this[_0x51fa3e(0x17b)]());}[_0x529853(0x240)](){return this;}['onRemoteChangeset'](){return this;}[_0x529853(0x22b)](){return this;}[_0x529853(0x1f1)](){return this;}[_0x529853(0x3f9)](){return this;}[_0x529853(0x359)](){return this;}[_0x529853(0x1ce)](){return this;}[_0x529853(0x182)](){var _0x328931=_0x529853;throw new Error(_0x328931(0x1be));}[_0x529853(0x1f2)](){var _0x501609=_0x529853,_0x149083;(_0x149083=this[_0x501609(0x152)])==null||_0x149083[_0x501609(0x329)](this[_0x501609(0x20a)],this[_0x501609(0x2d6)],null,[]);}[_0x529853(0x123)](){var _0x5d1f0c=_0x529853;this[_0x5d1f0c(0x38a)]?this[_0x5d1f0c(0x309)][_0x5d1f0c(0x122)]({'id':Q[_0x5d1f0c(0x1ac)]}):this[_0x5d1f0c(0x309)][_0x5d1f0c(0x122)]({'id':Q[_0x5d1f0c(0x38f)]});}['_disableEditing'](){var _0x194af9=_0x529853;this[_0x194af9(0x2f0)]['updatePermissionPoint'](new Z[(_0x194af9(0x2fc))](this['unitID'])['id'],!0x1);}},exports[_0x529853(0x399)]=ce([w(0x6,a[_0x529853(0x105)](a[_0x529853(0xb7)])),w(0x7,a['ICommandService']),w(0x8,a[_0x529853(0x140)]),w(0x9,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0xa,a['Inject'](a[_0x529853(0xc1)])),w(0xb,a[_0x529853(0x105)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x529853(0x1e3)]=class extends he{constructor(_0x5a356f,_0x1a0762,_0x34152c,_0x11798a,_0x572e36,_0x3c2e76,_0x3c2ff7,_0x39f9b4,_0x41eb63,_0x1234a5){var _0x335a83=_0x529853;super(_0x5a356f,_0x1a0762,_0x34152c,_0x11798a,_0x572e36,_0x39f9b4,_0x41eb63,_0x3c2ff7,_0x1234a5),A(this,_0x335a83(0x18f),_0x335a83(0x3ef)),this[_0x335a83(0x113)]=_0x3c2e76;}['appendMutation'](_0x56f859){var _0x441d09=_0x529853;return this[_0x441d09(0x1e5)][_0x441d09(0x297)](_0x56f859),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x52079c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x113211=_0x529853;throw new Error(_0x113211(0x1bb));}[_0x529853(0x1f1)](){var _0x108fce=_0x529853;throw new Error(_0x108fce(0x1eb));}['onRemoteRetry'](){return this;}[_0x529853(0x359)](){return this;}[_0x529853(0x1ce)](){var _0x4566b5=_0x529853;const {_injector:_0x1b1e45,_pendingMutations:_0x659229,_awaitingChangeset:_0x4a5517,unitID:_0x13612,_handler:_0xa67110,type:_0x39ee4c}=this,_0x24ecf0=Dt(_0x1b1e45,_0x13612,_0x39ee4c,_0x4a5517,_0x659229,_0xa67110);return _0x24ecf0 instanceof exports['PendingState']?_0x24ecf0[_0x4566b5(0xa6)]():(_0x24ecf0 instanceof exports['AwaitingWithPendingState']||_0x24ecf0 instanceof exports[_0x4566b5(0x352)])&&_0x24ecf0[_0x4566b5(0x182)](),_0x24ecf0;}[_0x529853(0x182)](){var _0x3e49ae=_0x529853;throw new Error(_0x3e49ae(0x252));}},exports[_0x529853(0x1e3)]=ce([w(0x5,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x6,a['Inject'](g[_0x529853(0x272)])),w(0x7,a[_0x529853(0x2f4)]),w(0x8,a[_0x529853(0x140)]),w(0x9,a[_0x529853(0x190)](z))],exports[_0x529853(0x1e3)]),exports['FetchingMissState']=class extends he{constructor(_0x138ed6,_0xa80ac4,_0x253868,_0x32a779,_0x4a075a,_0x4c5263,_0x1358d3,_0x521e36,_0x456e7a,_0x411f70,_0x55e3b4,_0x425182,_0x185c91,_0x4d80d5){var _0x3c0a43=_0x529853;super(_0x138ed6,_0xa80ac4,_0x253868,_0x32a779,_0x1358d3,_0x55e3b4,_0x425182,_0x456e7a,_0x4d80d5),A(this,_0x3c0a43(0x18f),_0x3c0a43(0x173)),(this[_0x3c0a43(0x3e4)]=_0x4a075a,this[_0x3c0a43(0x368)]=_0x4c5263,this[_0x3c0a43(0x113)]=_0x521e36,this['_logService']=_0x411f70,this[_0x3c0a43(0x217)]=_0x185c91,this[_0x3c0a43(0x79)]=_0x4d80d5);}[_0x529853(0x206)](_0x44ca30){var _0x2b6777=_0x529853;try{const _0x9eeeb3=[..._0x44ca30,...this[_0x2b6777(0x368)]],_0x4c5679=[this[_0x2b6777(0x261)]||this[_0x2b6777(0x3e4)]][_0x2b6777(0x1db)](_0x2e4119=>!!_0x2e4119);let _0x30e247,_0x41058d;if(_0x4c5679[_0x2b6777(0x102)]){const _0x21f681=this[_0x2b6777(0x217)][_0x2b6777(0x1c0)](_0x9eeeb3,_0x4c5679,!0x1);if(!g[_0x2b6777(0x32d)](_0x21f681))throw _0x21f681[_0x2b6777(0x1da)];_0x30e247=_0x21f681[_0x2b6777(0x257)],_0x41058d=_0x21f681['c2Prime'];}else _0x30e247=_0x9eeeb3,_0x41058d=[];let _0x42e6ff=this[_0x2b6777(0x1e5)];_0x30e247[_0x2b6777(0x26d)](_0x5eae74=>{var _0x37a706=_0x2b6777;let _0x3af4c8;if(_0x42e6ff[_0x37a706(0x102)]){const _0x4eb2be=this['_transformService'][_0x37a706(0x2e7)](_0x5eae74,_0x42e6ff);if(!g[_0x37a706(0x1d5)](_0x4eb2be))throw _0x4eb2be[_0x37a706(0x1da)];_0x3af4c8=_0x4eb2be[_0x37a706(0x257)],_0x42e6ff=_0x4eb2be[_0x37a706(0x2a7)];}else _0x3af4c8=_0x5eae74;this[_0x37a706(0x3c9)](_0x3af4c8);}),this[_0x2b6777(0x3e4)]&&this[_0x2b6777(0x3be)](),this[_0x2b6777(0x261)]&&_0x41058d[_0x2b6777(0x102)]&&(_0x41058d[0x0][_0x2b6777(0x27f)]=this[_0x2b6777(0x117)]());let _0x353fb2;if(this['_awaitingChangeset']&&_0x42e6ff[_0x2b6777(0x102)]!==0x0)_0x353fb2=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0x17f)],this[_0x2b6777(0x20a)],this[_0x2b6777(0x2d6)],_0x41058d[0x0],_0x42e6ff,this[_0x2b6777(0x262)],void 0x0);else{if(this[_0x2b6777(0x261)]&&_0x42e6ff[_0x2b6777(0x102)]===0x0)_0x41058d[0x0][_0x2b6777(0x27f)]=this[_0x2b6777(0x117)](),_0x353fb2=this['_injector']['createInstance'](exports[_0x2b6777(0x352)],this[_0x2b6777(0x20a)],this['type'],_0x41058d[0x0],this[_0x2b6777(0x262)]);else{if(_0x42e6ff[_0x2b6777(0x102)]!==0x0){const _0x3e0b14=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0x263)],this['unitID'],this[_0x2b6777(0x2d6)],_0x42e6ff,this[_0x2b6777(0x262)]);_0x3e0b14[_0x2b6777(0xa6)](),_0x353fb2=_0x3e0b14;}else _0x353fb2=this[_0x2b6777(0x113)][_0x2b6777(0x89)](exports[_0x2b6777(0xec)],this[_0x2b6777(0x20a)],this['type'],this[_0x2b6777(0x262)]);}}return _0x353fb2[_0x2b6777(0x143)](),_0x353fb2;}catch(_0x2abe9d){return this[_0x2b6777(0x1cc)]['error']('[FetchMissState]',_0x2b6777(0x1e0),_0x2abe9d),this['_injector'][_0x2b6777(0x89)](exports[_0x2b6777(0x399)],this[_0x2b6777(0x20a)],this[_0x2b6777(0x2d6)],this[_0x2b6777(0x261)],this[_0x2b6777(0x1e5)],this[_0x2b6777(0x262)],!0x1);}}[_0x529853(0x182)](){var _0x57f11c=_0x529853;throw new Error(_0x57f11c(0xbe));}[_0x529853(0x240)](_0x5a1a15){var _0x361181=_0x529853;return this[_0x361181(0x1e5)]['push'](_0x5a1a15),this;}[_0x529853(0xea)](_0x544187){var _0x25674c=_0x529853;return this[_0x25674c(0x368)][_0x25674c(0x297)](_0x544187),this;}['onRemoteAck'](_0x3c5260){var _0x274536=_0x529853;if(this[_0x274536(0x261)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x274536(0x25a));}['onRemoteRej'](_0x6cafe4){var _0x2827e0=_0x529853;return this['_onConflict'](!!(_0x6cafe4!=null&&_0x6cafe4[_0x2827e0(0x253)]));}['onRemoteRetry'](){return this;}[_0x529853(0x359)](){var _0x46a202=_0x529853;return this[_0x46a202(0x113)][_0x46a202(0x89)](exports[_0x46a202(0x1e3)],this[_0x46a202(0x20a)],this[_0x46a202(0x2d6)],this[_0x46a202(0x261)],this[_0x46a202(0x1e5)],this['_handler']);}[_0x529853(0x1ce)](){return this;}[_0x529853(0x1de)](_0x241f21){var _0x3a9b09=_0x529853;return this[_0x3a9b09(0x113)][_0x3a9b09(0x89)](exports['ConflictState'],this['unitID'],this[_0x3a9b09(0x2d6)],this[_0x3a9b09(0x261)],this[_0x3a9b09(0x1e5)],this[_0x3a9b09(0x262)],_0x241f21);}},exports[_0x529853(0x290)]=ce([w(0x7,a[_0x529853(0x105)](a[_0x529853(0x203)])),w(0x8,a[_0x529853(0x105)](g[_0x529853(0x272)])),w(0x9,a[_0x529853(0x18e)]),w(0xa,a[_0x529853(0x2f4)]),w(0xb,a[_0x529853(0x140)]),w(0xc,g[_0x529853(0x214)]),w(0xd,a[_0x529853(0x190)](z))],exports[_0x529853(0x290)]);function Dt(_0x5d2b52,_0x34ae3d,_0x239c1d,_0x5c40fe,_0x7261b8,_0x3c0a1e){var _0x77cebb=_0x529853;return _0x5c40fe&&_0x7261b8[_0x77cebb(0x102)]?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x17f)],_0x34ae3d,_0x239c1d,_0x5c40fe,_0x7261b8,_0x3c0a1e,void 0x0):_0x5c40fe?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x352)],_0x34ae3d,_0x239c1d,_0x5c40fe,_0x3c0a1e):_0x7261b8[_0x77cebb(0x102)]?_0x5d2b52[_0x77cebb(0x89)](exports[_0x77cebb(0x263)],_0x34ae3d,_0x239c1d,_0x7261b8,_0x3c0a1e):_0x5d2b52[_0x77cebb(0x89)](exports['SyncedState'],_0x34ae3d,_0x239c1d,_0x3c0a1e);}var Ci=Object[_0x529853(0x28b)],We=(_0x148193,_0xe565dc,_0x2603aa,_0x42e45d)=>{var _0x4ed6a5=_0x529853;for(var _0x16516f=_0x42e45d>0x1?void 0x0:_0x42e45d?Ci(_0xe565dc,_0x2603aa):_0xe565dc,_0x2578d1=_0x148193[_0x4ed6a5(0x102)]-0x1,_0x4af988;_0x2578d1>=0x0;_0x2578d1--)(_0x4af988=_0x148193[_0x2578d1])&&(_0x16516f=_0x4af988(_0x16516f)||_0x16516f);return _0x16516f;},$=(_0x573663,_0x23b294)=>(_0x31fd60,_0x31e45a)=>_0x23b294(_0x31fd60,_0x31e45a,_0x573663);exports[_0x529853(0x151)]=class extends a[_0x529853(0x3a6)]{constructor(_0x36619a,_0x5b5ed9,_0x3e4984,_0x12d4f7,_0xe96a52,_0x5a4977,_0x4bbe40,_0x4c41e2,_0x5493a1,_0x2258af,_0xfa1182,_0xd01e7a,_0x21ba0c){var _0x14530a=_0x529853;super(),A(this,_0x14530a(0xa1),new j[(_0x14530a(0x39e))](null)),A(this,_0x14530a(0x86),this['_state$'][_0x14530a(0xb8)]()),A(this,'_state'),A(this,_0x14530a(0x273),!0x1),A(this,_0x14530a(0x256),''),A(this,_0x14530a(0x24c),0x0),A(this,'status$',this['state$'][_0x14530a(0x78)](j[_0x14530a(0x3e5)](_0x845fbd=>_0x845fbd?_0x845fbd[_0x14530a(0x18f)]:Ve[_0x14530a(0x22e)]),j['shareReplay'](0x1))),A(this,_0x14530a(0x1c7),!0x1),A(this,_0x14530a(0x278),[]),(this[_0x14530a(0x20a)]=_0x36619a,this[_0x14530a(0x33a)]=_0x5b5ed9,this[_0x14530a(0x15d)]=_0x3e4984,this[_0x14530a(0x113)]=_0x12d4f7,this['_compressMutationService']=_0xe96a52,this[_0x14530a(0x2a2)]=_0x5a4977,this[_0x14530a(0xac)]=_0x4bbe40,this[_0x14530a(0x1a1)]=_0x4c41e2,this[_0x14530a(0x1cc)]=_0x5493a1,this[_0x14530a(0x162)]=_0x2258af,this['_permissionService']=_0xfa1182,this[_0x14530a(0x338)]=_0xd01e7a,this['_localCacheService']=_0x21ba0c);}get[_0x529853(0x389)](){var _0x16c5fd=_0x529853;return this[_0x16c5fd(0x159)];}async[_0x529853(0x31e)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x529853(0x99)](){var _0x6ecf3=_0x529853;return this['_collaborationPaused']=!0x0,a[_0x6ecf3(0x161)](()=>{var _0x54e736=_0x6ecf3;this[_0x54e736(0x273)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x529853(0x3e2)](_0x15430d){var _0x1458f8=_0x529853;this[_0x1458f8(0x3c6)](_0x15430d);}['_updateState'](_0x3f4c52){var _0x46c25f=_0x529853;this[_0x46c25f(0x159)]=_0x3f4c52,this['_state$'][_0x46c25f(0x1a0)](_0x3f4c52);}async[_0x529853(0x3bf)](){var _0x3c8510=_0x529853,_0x1354d3;this[_0x3c8510(0x93)](await this[_0x3c8510(0x2f3)]()),this['_singleActiveUnitService']&&((_0x1354d3=this[_0x3c8510(0x338)])==null||_0x1354d3[_0x3c8510(0x1d4)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3c8510(0x98)](this[_0x3c8510(0x20a)])[_0x3c8510(0x176)](_0x54ca64=>{var _0x3ec146=_0x3c8510;this[_0x3ec146(0x1cc)][_0x3ec146(0x23e)](_0x3ec146(0x3e0),_0x3ec146(0x318),_0x54ca64),_0x54ca64===Fe[_0x3ec146(0x16f)]?(this[_0x3ec146(0x1a1)][_0x3ec146(0x122)]({'id':Q[_0x3ec146(0x1ad)]}),this['_permissionService'][_0x3ec146(0x1ba)](new Z[(_0x3ec146(0x2fc))](this[_0x3ec146(0x20a)])['id'],!0x1),this[_0x3ec146(0x2f0)][_0x3ec146(0x1a5)](!0x1)):(this[_0x3ec146(0x2f0)][_0x3ec146(0x1ba)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService'][_0x3ec146(0x1a5)](!0x0));})));let _0xe04963=!0x1;return this[_0x3c8510(0x156)](this[_0x3c8510(0x33a)][_0x3c8510(0x31f)][_0x3c8510(0x176)](_0x549284=>{var _0x2f9427=_0x3c8510;_0x549284===se['ONLINE']?this['_toggleOnline'](_0xe04963):_0x549284===se[_0x2f9427(0x22e)]&&(_0xe04963=!0x0,this[_0x2f9427(0x326)]());})),this[_0x3c8510(0x156)](this[_0x3c8510(0x33a)][_0x3c8510(0x14e)]['subscribe'](_0x7d2adf=>{var _0x1fc25a=_0x3c8510;try{switch(_0x7d2adf['eventID']){case g['CollaborationEvent'][_0x1fc25a(0x29d)]:{this[_0x1fc25a(0x9c)](g[_0x1fc25a(0x30f)](_0x7d2adf[_0x1fc25a(0x14f)]));break;}case g[_0x1fc25a(0x160)][_0x1fc25a(0x1a6)]:{this[_0x1fc25a(0x293)](_0x7d2adf[_0x1fc25a(0x14f)]);break;}case g['CollaborationEvent'][_0x1fc25a(0x35f)]:{this['_onRemoteRejected']();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x1fc25a(0x14d)](_0x7d2adf[_0x1fc25a(0x14f)]);break;}case g[_0x1fc25a(0x160)][_0x1fc25a(0x32b)]:{this[_0x1fc25a(0x1b9)](_0x7d2adf[_0x1fc25a(0x14f)]['changesets'][_0x1fc25a(0x3e5)](_0xdb2d4e=>g['parseProtocolChangeset'](_0xdb2d4e)));break;}case g[_0x1fc25a(0x160)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x1fc25a(0x19b)]:break;}}catch(_0x48c25b){throw console[_0x1fc25a(0x1da)]('Error\x20on\x20receiving\x20event',_0x48c25b),_0x48c25b;}})),this[_0x3c8510(0x159)];}[_0x529853(0xf7)](){this['_transitionLocked']=!0x1;}[_0x529853(0x386)](){var _0x1b4498=_0x529853;if(this[_0x1b4498(0x1c7)])throw new Error(_0x1b4498(0x2e0));this[_0x1b4498(0x1c7)]=!0x0;}['_onLocalMutation'](_0x3a9545){var _0x30f134=_0x529853;this[_0x30f134(0x386)](),this['_updateState'](this[_0x30f134(0x159)][_0x30f134(0x240)](_0x3a9545)),this[_0x30f134(0xf7)]();}[_0x529853(0x9c)](_0x477dcd){var _0x49ceec=_0x529853;if(!(_0x477dcd[_0x49ceec(0x33c)]<=this[_0x49ceec(0xac)][_0x49ceec(0xd4)](this[_0x49ceec(0x20a)]))){if(this[_0x49ceec(0x273)]){this[_0x49ceec(0x278)][_0x49ceec(0x297)](_0x477dcd);return;}this[_0x49ceec(0x3d1)](_0x477dcd);}}['_exhaustRemoteChangesetQueue'](){var _0xbf1a9d=_0x529853;this[_0xbf1a9d(0x278)][_0xbf1a9d(0x26d)](_0x2fd622=>this['_applyRemoteChangeset'](_0x2fd622)),this['_remoteChangesetQueue']=[];}[_0x529853(0x3d1)](_0x17da98){var _0x302af1=_0x529853;const _0x1e045b=this[_0x302af1(0xe9)][_0x302af1(0x1fe)][_0x302af1(0xf9)](this['_compressMutationService'][_0x302af1(0x1fe)][_0x302af1(0x188)]()['COMPRESS_MUTATION_APPLY'])(_0x17da98['mutations'],null)||_0x17da98[_0x302af1(0x387)],_0xd9f006={..._0x17da98,'mutations':_0x1e045b};this[_0x302af1(0x386)](),this['_updateState'](this[_0x302af1(0x159)]['onRemoteChangeset'](_0xd9f006)),this[_0x302af1(0xf7)]();}['_onRemoteACK'](_0x4968de){var _0x55474f=_0x529853;this[_0x55474f(0x386)](),this[_0x55474f(0x93)](this[_0x55474f(0x159)][_0x55474f(0x22b)](_0x4968de)),this[_0x55474f(0xf7)]();}[_0x529853(0xba)](_0x1c16e5){var _0x1e4a43=_0x529853;this[_0x1e4a43(0x386)](),this[_0x1e4a43(0x93)](this[_0x1e4a43(0x159)][_0x1e4a43(0x1f1)](_0x1c16e5)),this['_unlockTransition']();}[_0x529853(0x14d)](_0x482b9d){var _0x31efc8=_0x529853;this[_0x31efc8(0x386)](),this['_updateState'](this[_0x31efc8(0x159)][_0x31efc8(0x3f9)](_0x482b9d)),this['_unlockTransition']();}['_onFetchMissResult'](_0x15a086){var _0x17f538=_0x529853;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x17f538(0x126));const _0x260f44=_0x15a086[_0x17f538(0x3e5)](_0x3fb21b=>{var _0x290218=_0x17f538;const _0x3e8104=this[_0x290218(0xe9)][_0x290218(0x1fe)][_0x290218(0xf9)](this[_0x290218(0xe9)]['interceptor'][_0x290218(0x188)]()[_0x290218(0x2b7)])(_0x3fb21b['mutations'],null)||_0x3fb21b[_0x290218(0x387)];return{..._0x3fb21b,'mutations':_0x3e8104};});this[_0x17f538(0x386)](),this[_0x17f538(0x93)](this[_0x17f538(0x159)][_0x17f538(0x206)](_0x260f44)),this[_0x17f538(0xf7)]();}[_0x529853(0x326)](){var _0x244d4b=_0x529853;this[_0x244d4b(0x386)](),this[_0x244d4b(0x93)](this[_0x244d4b(0x159)]['toggleOffline']()),this[_0x244d4b(0xf7)]();}[_0x529853(0x2c9)](_0x2a05b5=!0x1){var _0x5b2b64=_0x529853;this[_0x5b2b64(0x386)](),this[_0x5b2b64(0x93)](this['_state'][_0x5b2b64(0x1ce)]()),this[_0x5b2b64(0xf7)]();const _0x3ee33d=this[_0x5b2b64(0x159)];_0x2a05b5&&_0x3ee33d instanceof exports['SyncedState']&&(this[_0x5b2b64(0x386)](),this[_0x5b2b64(0x93)](_0x3ee33d[_0x5b2b64(0x3b7)]()),this[_0x5b2b64(0xf7)]());}async[_0x529853(0x2f3)](){return new Promise(_0x1be873=>{var _0x586357=_0x4573;this[_0x586357(0x33a)][_0x586357(0x31f)][_0x586357(0x78)](j[_0x586357(0x341)](0x1))[_0x586357(0x176)](async _0x5d3360=>{var _0x41b31f=_0x586357;_0x1be873(await this[_0x41b31f(0x36e)](_0x5d3360===se[_0x41b31f(0x1b8)]));});});}[_0x529853(0x1c1)](){var _0x35ad8a=_0x529853;const _0x4acb87=this[_0x35ad8a(0x20a)];return{'onStateChange':(_0x1bd6f0,_0x303dbb)=>{var _0x5223e9=_0x35ad8a;if(_0x1bd6f0!==this[_0x5223e9(0x159)])throw new Error(_0x5223e9(0x3e8)+_0x1bd6f0[_0x5223e9(0x18f)]+'\x0aAfter:\x20'+_0x303dbb['status']+_0x5223e9(0x208)+this[_0x5223e9(0x159)][_0x5223e9(0x18f)]);this[_0x5223e9(0x93)](_0x303dbb);},'onSendChangeset':_0x247118=>{var _0x7e5c1d=_0x35ad8a;_0x247118[_0x7e5c1d(0x282)]||(_0x247118['sid']=this['_changesetSessionId'],_0x247118[_0x7e5c1d(0xf4)]=++this[_0x7e5c1d(0x24c)]);const _0x331440={'eventID':g[_0x7e5c1d(0x160)][_0x7e5c1d(0x3a2)],'data':{'unitID':_0x247118[_0x7e5c1d(0x20a)],'unitType':this[_0x7e5c1d(0x15d)],'changeset':_0x247118,'memberID':this['session'][_0x7e5c1d(0x37c)]()}};this['session']['send'](_0x331440,this[_0x7e5c1d(0x20a)]);},'onMissingChangesets':({from:_0x231523,to:_0x39a326})=>{var _0xae95b7=_0x35ad8a;this[_0xae95b7(0x1cc)][_0xae95b7(0x23e)](_0xae95b7(0x3e0),'fetching\x20missing\x20changesets\x20from\x20'+_0x231523+_0xae95b7(0x328)+_0x39a326);const _0x3308d7={'eventID':g[_0xae95b7(0x160)][_0xae95b7(0x118)],'data':{'unitID':_0x4acb87,'unitType':this[_0xae95b7(0x15d)],'from':_0x231523,'to':_0x39a326}};this[_0xae95b7(0x33a)][_0xae95b7(0x1f4)](_0x3308d7,this[_0xae95b7(0x20a)]);}};}async[_0x529853(0x36e)](_0xb4623d){var _0x41e12f=_0x529853,_0x40af33,_0x528667,_0x235e23;const _0x2cde03=await((_0x40af33=this[_0x41e12f(0x152)])==null?void 0x0:_0x40af33[_0x41e12f(0xc6)](this[_0x41e12f(0x20a)])),_0x262ab5=(_0x528667=_0x2cde03==null?void 0x0:_0x2cde03[_0x41e12f(0x387)])!=null?_0x528667:[],_0x55e3a6=(_0x235e23=_0x2cde03==null?void 0x0:_0x2cde03['awaitingChangeset'])!=null?_0x235e23:null,_0x32782e=!!(_0x55e3a6!=null&&_0x55e3a6[_0x41e12f(0x282)])&&!!(_0x55e3a6!=null&&_0x55e3a6[_0x41e12f(0xf4)]);this[_0x41e12f(0x256)]=_0x32782e?_0x55e3a6['sid']:di(),this[_0x41e12f(0x24c)]=_0x32782e?_0x55e3a6[_0x41e12f(0xf4)]:0x0;const _0x4eb4bd=this['unitID'];try{this[_0x41e12f(0x3c5)](_0x55e3a6,_0x262ab5);}catch(_0x140041){this[_0x41e12f(0x1cc)][_0x41e12f(0x1da)](_0x140041);}const _0x293ac9=this[_0x41e12f(0x1c1)]();if(_0xb4623d){const _0x444494=Dt(this[_0x41e12f(0x113)],_0x4eb4bd,this['_type'],_0x55e3a6,_0x262ab5,_0x293ac9);return _0x444494 instanceof exports[_0x41e12f(0x263)]?_0x444494['_schedule']():(_0x444494 instanceof exports['AwaitingWithPendingState']||_0x444494 instanceof exports[_0x41e12f(0x352)])&&_0x444494[_0x41e12f(0x182)](),_0x444494;}return this[_0x41e12f(0x113)]['createInstance'](exports[_0x41e12f(0x1e3)],_0x4eb4bd,this['_type'],_0x55e3a6,_0x262ab5,_0x293ac9);}[_0x529853(0x3c5)](_0x474b94,_0x379bde){var _0x2b551f=_0x529853,_0xa00f52,_0x33c568;const _0x11d9b1=this[_0x2b551f(0xe9)]['interceptor'][_0x2b551f(0xf9)](this[_0x2b551f(0xe9)][_0x2b551f(0x1fe)][_0x2b551f(0x188)]()[_0x2b551f(0x2b7)]);(_0xa00f52=_0x11d9b1((_0x474b94==null?void 0x0:_0x474b94[_0x2b551f(0x387)])||[],null))==null||_0xa00f52['forEach'](_0x285521=>this['_commandService'][_0x2b551f(0x2da)](_0x285521['id'],_0x285521['params'])),(_0x33c568=_0x11d9b1(_0x379bde||[],null))==null||_0x33c568['forEach'](_0x5d811e=>this[_0x2b551f(0x162)][_0x2b551f(0x2da)](_0x5d811e['id'],_0x5d811e[_0x2b551f(0x237)]));}},exports[_0x529853(0x151)]=We([$(0x3,a[_0x529853(0x105)](a['Injector'])),$(0x4,a[_0x529853(0x105)](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a['LocaleService'])),$(0x6,a['Inject'](g[_0x529853(0x272)])),$(0x7,a[_0x529853(0x105)](te)),$(0x8,a[_0x529853(0x18e)]),$(0x9,a[_0x529853(0x2f4)]),$(0xa,a[_0x529853(0xb7)]),$(0xb,a[_0x529853(0x190)](ve)),$(0xc,a['Optional'](z))],exports[_0x529853(0x151)]),exports['DocCollaborationEntity']=class extends exports[_0x529853(0x151)]{constructor(_0x382d06,_0x48f598,_0x2ef281,_0xc70adf,_0x5601ca,_0x39c99e,_0x5a976e,_0x5aa30a,_0x40ed54,_0x3d4297,_0x491fd4,_0x1c947a,_0x55177e){var _0x5003ab=_0x529853;super(_0x382d06,_0x2ef281,_0x48f598,_0xc70adf,_0x5601ca,_0x39c99e,_0x5a976e,_0x5aa30a,_0x40ed54,_0x3d4297,_0x491fd4,_0x1c947a,_0x55177e),A(this,_0x5003ab(0x153),null),(this[_0x5003ab(0x20a)]=_0x382d06,this[_0x5003ab(0x2d6)]=_0x48f598);}[_0x529853(0x286)](_0x2b794f){var _0x143528=_0x529853;this[_0x143528(0x153)]=_0x2b794f;}['dispose'](){var _0x40aa6c=_0x529853;this[_0x40aa6c(0x153)]=null,super[_0x40aa6c(0x1d2)]();}[_0x529853(0x1c1)](){var _0x20a5d5=_0x529853;const _0x4b27a4=super[_0x20a5d5(0x1c1)]();return _0x4b27a4[_0x20a5d5(0x1fb)]=_0x486a8b=>{var _0x18caa0=_0x20a5d5,_0x515c79,_0x2e4449;return(_0x2e4449=(_0x515c79=this['_handlerCallback'])==null?void 0x0:_0x515c79[_0x18caa0(0x1fb)])==null?void 0x0:_0x2e4449[_0x18caa0(0x391)](_0x515c79,_0x486a8b);},_0x4b27a4['onTransformState']=_0x3cdf6f=>{var _0x524042=_0x20a5d5,_0xadeb38,_0x3e936c;return(_0x3e936c=(_0xadeb38=this[_0x524042(0x153)])==null?void 0x0:_0xadeb38[_0x524042(0x229)])==null?void 0x0:_0x3e936c[_0x524042(0x391)](_0xadeb38,_0x3cdf6f);},_0x4b27a4['onTransformSelections']=_0x310a9f=>{var _0x4047e8=_0x20a5d5,_0xbd5b70,_0x360a64;return(_0x360a64=(_0xbd5b70=this['_handlerCallback'])==null?void 0x0:_0xbd5b70[_0x4047e8(0x111)])==null?void 0x0:_0x360a64[_0x4047e8(0x391)](_0xbd5b70,_0x310a9f);},_0x4b27a4['onSyncEditingCollabCursor']=_0x36aa0a=>{var _0x42ebf0=_0x20a5d5,_0x2adc55,_0x56d6e4;return(_0x56d6e4=(_0x2adc55=this['_handlerCallback'])==null?void 0x0:_0x2adc55[_0x42ebf0(0x14b)])==null?void 0x0:_0x56d6e4['call'](_0x2adc55,_0x36aa0a);},_0x4b27a4[_0x20a5d5(0x3ee)]=_0x19e8ec=>{var _0x513b15=_0x20a5d5,_0xfa3284,_0x1cbe33,_0x1ffea6;if(!((_0xfa3284=this['_handlerCallback'])!=null&&_0xfa3284[_0x513b15(0x3ee)]))throw new Error(_0x513b15(0x12f));return(_0x1ffea6=(_0x1cbe33=this['_handlerCallback'])==null?void 0x0:_0x1cbe33['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1ffea6[_0x513b15(0x391)](_0x1cbe33,_0x19e8ec);},_0x4b27a4['onTransformRemoteChangesetByStateCache']=_0x57e8f9=>{var _0x36875e=_0x20a5d5,_0x5f907b,_0x58b017,_0x515a95;if(!((_0x5f907b=this[_0x36875e(0x153)])!=null&&_0x5f907b[_0x36875e(0x29e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x515a95=(_0x58b017=this[_0x36875e(0x153)])==null?void 0x0:_0x58b017[_0x36875e(0x29e)])==null?void 0x0:_0x515a95['call'](_0x58b017,_0x57e8f9);},_0x4b27a4;}async[_0x529853(0x3bf)](){var _0x114219=_0x529853;const _0x58f238=await super[_0x114219(0x3bf)]();return this[_0x114219(0x156)](this[_0x114219(0x162)][_0x114219(0x21b)]((_0x58ff60,_0x3ec6d3)=>{var _0x5cf7cc=_0x114219;if(_0x58ff60[_0x5cf7cc(0x2d6)]!==a['CommandType'][_0x5cf7cc(0x1d3)]||_0x3ec6d3!=null&&_0x3ec6d3['fromCollab']||_0x3ec6d3!=null&&_0x3ec6d3['onlyLocal']||_0x58ff60['id']===ut[_0x5cf7cc(0x16a)]['id'])return;const _0x5e51f2=_0x58ff60['params'];if((_0x5e51f2==null?void 0x0:_0x5e51f2[_0x5cf7cc(0x149)])!==this['unitID'])return;const _0x3f9deb=_0x58ff60,_0x1f9046=this['_compressMutationService']['interceptor'][_0x5cf7cc(0xf9)](this[_0x5cf7cc(0xe9)]['interceptor']['getInterceptPoints']()[_0x5cf7cc(0x198)])([_0x3f9deb],null)||[_0x3f9deb];this[_0x5cf7cc(0x3c6)](_0x1f9046[0x0]);})),_0x58f238;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x529853(0x105)](a[_0x529853(0x203)])),$(0x4,a[_0x529853(0x105)](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a[_0x529853(0xc1)])),$(0x6,a[_0x529853(0x105)](g[_0x529853(0x272)])),$(0x7,a[_0x529853(0x105)](te)),$(0x8,a[_0x529853(0x18e)]),$(0x9,a[_0x529853(0x2f4)]),$(0xa,a[_0x529853(0xb7)]),$(0xb,a[_0x529853(0x190)](ve)),$(0xc,a['Optional'](z))],exports[_0x529853(0x1df)]),exports[_0x529853(0x2ea)]=class extends exports[_0x529853(0x151)]{constructor(_0x5af195,_0x23fbe8,_0x4b5236,_0x3bfb5d,_0x4302a2,_0x25dab6,_0x24f50c,_0x359c3f,_0x19c623,_0x45d771,_0x175145,_0x14bca6,_0x3de25d,_0xc70c5){var _0x27d402=_0x529853;super(_0x5af195,_0x4b5236,_0x23fbe8,_0x3bfb5d,_0x4302a2,_0x25dab6,_0x24f50c,_0x19c623,_0x45d771,_0x175145,_0x14bca6,_0x3de25d,_0xc70c5),this[_0x27d402(0x20a)]=_0x5af195,this[_0x27d402(0x2d6)]=_0x23fbe8,this[_0x27d402(0x1d1)]=_0x359c3f;}[_0x529853(0x1c1)](){var _0x2dd31e=_0x529853;const _0x2712c6=super[_0x2dd31e(0x1c1)]();return _0x2712c6[_0x2dd31e(0x111)]=_0x2630c4=>this[_0x2dd31e(0x1d1)]['transformSelections'](_0x2630c4),_0x2712c6;}async['_init'](){var _0x5135ba=_0x529853;const _0x2d0428=await super['_init']();return this[_0x5135ba(0x156)](this[_0x5135ba(0x162)][_0x5135ba(0x21b)]((_0x354c7e,_0x4485f1)=>{var _0x449bf9=_0x5135ba;if(_0x354c7e[_0x449bf9(0x2d6)]!==a['CommandType'][_0x449bf9(0x1d3)]||_0x4485f1!=null&&_0x4485f1[_0x449bf9(0xbc)]||_0x4485f1!=null&&_0x4485f1[_0x449bf9(0x1f6)])return;const _0x45f82c=_0x354c7e[_0x449bf9(0x237)];if((_0x45f82c==null?void 0x0:_0x45f82c[_0x449bf9(0x149)])!==this[_0x449bf9(0x20a)])return;const _0x110f13=_0x354c7e,_0x5a66c7=this[_0x449bf9(0xe9)][_0x449bf9(0x1fe)][_0x449bf9(0xf9)](this[_0x449bf9(0xe9)][_0x449bf9(0x1fe)]['getInterceptPoints']()[_0x449bf9(0x198)])([_0x110f13],null)||[_0x110f13];this[_0x449bf9(0x3c6)](_0x5a66c7[0x0]);})),_0x2d0428;}},exports['SheetCollaborationEntity']=We([$(0x3,a['Inject'](a[_0x529853(0x203)])),$(0x4,a['Inject'](g[_0x529853(0x2a3)])),$(0x5,a[_0x529853(0x105)](a[_0x529853(0xc1)])),$(0x6,a[_0x529853(0x105)](g['RevisionService'])),$(0x7,a[_0x529853(0x105)](exports['SheetTransformSelectionsService'])),$(0x8,a['Inject'](te)),$(0x9,a[_0x529853(0x18e)]),$(0xa,a[_0x529853(0x2f4)]),$(0xb,a[_0x529853(0xb7)]),$(0xc,a[_0x529853(0x190)](ve)),$(0xd,a['Optional'](z))],exports[_0x529853(0x2ea)]);var Ti=Object[_0x529853(0x28b)],bi=(_0x260faf,_0x54ec58,_0xae943a,_0x2b17d4)=>{var _0x2e1403=_0x529853;for(var _0x3cf16b=_0x2b17d4>0x1?void 0x0:_0x2b17d4?Ti(_0x54ec58,_0xae943a):_0x54ec58,_0x143b62=_0x260faf[_0x2e1403(0x102)]-0x1,_0x16b9cc;_0x143b62>=0x0;_0x143b62--)(_0x16b9cc=_0x260faf[_0x143b62])&&(_0x3cf16b=_0x16b9cc(_0x3cf16b)||_0x3cf16b);return _0x3cf16b;},Pe=(_0x120d2a,_0x3ba226)=>(_0x5bef3b,_0x1c50c3)=>_0x3ba226(_0x5bef3b,_0x1c50c3,_0x120d2a);exports[_0x529853(0x314)]=class extends a[_0x529853(0x3a6)]{constructor(_0x2ba924,_0xda1152,_0x502d18){var _0x213c73=_0x529853;super(),A(this,_0x213c73(0x3e9),new Map()),A(this,_0x213c73(0xc8),new j[(_0x213c73(0x29c))]()),A(this,_0x213c73(0x24a),this[_0x213c73(0xc8)][_0x213c73(0xb8)]()),(this[_0x213c73(0x113)]=_0x2ba924,this['_collabSessionService']=_0xda1152,this[_0x213c73(0x107)]=_0x502d18,this[_0x213c73(0x3bf)]());}[_0x529853(0x1d2)](){var _0x55ca6e=_0x529853;super['dispose'](),this[_0x55ca6e(0x3e9)]['forEach'](_0x5d9999=>_0x5d9999[_0x55ca6e(0x1d2)]()),this['_entities'][_0x55ca6e(0x29b)]();}['getCollabEntity'](_0x300799){var _0x18bbca=_0x529853,_0x58a9ad;return(_0x58a9ad=this[_0x18bbca(0x3e9)][_0x18bbca(0x2e6)](_0x300799))!=null?_0x58a9ad:null;}[_0x529853(0x1b3)](_0x1176c8){var _0x1827b7=_0x529853;const _0x246c16=this[_0x1827b7(0x385)](_0x1176c8);return _0x246c16?j['of'](_0x246c16):this[_0x1827b7(0xc8)]['pipe'](V[_0x1827b7(0x1db)](_0xd08c14=>_0xd08c14[_0x1827b7(0x20a)]===_0x1176c8));}[_0x529853(0x2fd)](_0x391763){var _0x22ef28=_0x529853;return j[_0x22ef28(0x375)](this[_0x22ef28(0x1b3)](_0x391763)[_0x22ef28(0x78)](V['map'](()=>{})));}['_init'](){var _0x5b33b0=_0x529853;this['_univerInstanceService'][_0x5b33b0(0x10f)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x112)])[_0x5b33b0(0x78)](j[_0x5b33b0(0x34f)](this[_0x5b33b0(0x35b)]),V[_0x5b33b0(0x246)](0x10))[_0x5b33b0(0x176)](async _0x4cb404=>{var _0x307988=_0x5b33b0;const _0x457b1e=_0x4cb404[_0x307988(0x136)](),_0x2ed6ad=await this[_0x307988(0x9b)](_0x457b1e,X[_0x307988(0x112)]);this[_0x307988(0x3e9)][_0x307988(0x3f5)](_0x457b1e,_0x2ed6ad);}),this[_0x5b33b0(0x107)][_0x5b33b0(0x10f)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x22c)])[_0x5b33b0(0x78)](j[_0x5b33b0(0x34f)](this[_0x5b33b0(0x35b)]),V[_0x5b33b0(0x246)](0x10))['pipe'](V[_0x5b33b0(0x1db)](_0x45d14a=>!_0x45d14a[_0x5b33b0(0x136)]()['startsWith']('__')))['subscribe'](async _0x2755fc=>{var _0x72592a=_0x5b33b0;const _0x4637e7=_0x2755fc[_0x72592a(0x136)](),_0x28f569=await this['_startCollaboration'](_0x4637e7,X[_0x72592a(0x22c)]);this[_0x72592a(0x3e9)][_0x72592a(0x3f5)](_0x4637e7,_0x28f569);}),j[_0x5b33b0(0x32e)](this[_0x5b33b0(0x107)][_0x5b33b0(0x3af)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x112)]),this[_0x5b33b0(0x107)][_0x5b33b0(0x3af)](a[_0x5b33b0(0x3eb)][_0x5b33b0(0x22c)]))[_0x5b33b0(0x78)](j['takeUntil'](this[_0x5b33b0(0x35b)]))['subscribe'](_0x149817=>{var _0x595af1=_0x5b33b0;const _0x111fb2=_0x149817[_0x595af1(0x136)](),_0x468a1f=this[_0x595af1(0x3e9)]['get'](_0x111fb2);_0x468a1f&&(_0x468a1f['dispose'](),this['_entities'][_0x595af1(0xe3)](_0x111fb2));});}async[_0x529853(0x9b)](_0x4b0633,_0x5e5422){var _0x256b15=_0x529853;const _0x43f546=await this['_collabSessionService']['requireSession'](_0x4b0633),_0x5105b8=this[_0x256b15(0x113)][_0x256b15(0x89)](this[_0x256b15(0x32a)](_0x5e5422),_0x4b0633,_0x5e5422,_0x43f546);return await _0x5105b8[_0x256b15(0x31e)](),this[_0x256b15(0xc8)][_0x256b15(0x1a0)](_0x5105b8),_0x5105b8;}['_getCtorByUniverType'](_0x2839a9){var _0x3361ad=_0x529853;switch(_0x2839a9){case X[_0x3361ad(0x22c)]:return exports['DocCollaborationEntity'];case X[_0x3361ad(0x112)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x3361ad(0x7b)+_0x2839a9);}}},exports[_0x529853(0x314)]=bi([Pe(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),Pe(0x1,a['Inject'](exports['CollaborationSessionService'])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x529853(0x314)]);var Ri=Object[_0x529853(0x28b)],Oi=(_0x450a2e,_0x3a784c,_0x3acf60,_0x5db319)=>{var _0x39c0a2=_0x529853;for(var _0x1deed6=_0x5db319>0x1?void 0x0:_0x5db319?Ri(_0x3a784c,_0x3acf60):_0x3a784c,_0x45e270=_0x450a2e[_0x39c0a2(0x102)]-0x1,_0x58adad;_0x45e270>=0x0;_0x45e270--)(_0x58adad=_0x450a2e[_0x45e270])&&(_0x1deed6=_0x58adad(_0x1deed6)||_0x1deed6);return _0x1deed6;},Je=(_0x10a81d,_0x28c767)=>(_0x334190,_0x3e3047)=>_0x28c767(_0x334190,_0x3e3047,_0x10a81d);const yi=_0x529853(0x379),Ni=_0x529853(0x1cb);let He=class extends a[_0x529853(0x205)]{constructor(_0x1dede5,_0x4e3fdc){var _0x29e81f=_0x529853;super(),this[_0x29e81f(0x107)]=_0x1dede5,this[_0x29e81f(0x3d7)]=_0x4e3fdc,this[_0x29e81f(0x3bf)]();}[_0x529853(0x3bf)](){var _0x43a283=_0x529853;this[_0x43a283(0x156)](this[_0x43a283(0x107)]['focused$'][_0x43a283(0x176)](()=>{var _0x132ef1=_0x43a283,_0x170e31;const _0x8a7b90=this[_0x132ef1(0x107)][_0x132ef1(0x1ae)]();let _0x4f7548=(_0x170e31=this[_0x132ef1(0x3d7)][_0x132ef1(0x2bb)](yi))!=null?_0x170e31:Ni;_0x8a7b90 instanceof a[_0x132ef1(0x31c)]&&(_0x4f7548=_0x8a7b90[_0x132ef1(0x251)]),document['title']=_0x4f7548;}));}};He=Oi([Je(0x0,a[_0x529853(0x249)]),Je(0x1,a[_0x529853(0x1d9)])],He);var Di=Object[_0x529853(0x28b)],Ui=(_0x12f6c7,_0x1a0f6b,_0x5bd228,_0x5a4a26)=>{var _0x4c1662=_0x529853;for(var _0x22aa7e=_0x5a4a26>0x1?void 0x0:_0x5a4a26?Di(_0x1a0f6b,_0x5bd228):_0x1a0f6b,_0xcc95ff=_0x12f6c7[_0x4c1662(0x102)]-0x1,_0x1a0fbe;_0xcc95ff>=0x0;_0xcc95ff--)(_0x1a0fbe=_0x12f6c7[_0xcc95ff])&&(_0x22aa7e=_0x1a0fbe(_0x22aa7e)||_0x22aa7e);return _0x22aa7e;},we=(_0x491ab7,_0x25f8b5)=>(_0xc6968a,_0xd8a684)=>_0x25f8b5(_0xc6968a,_0xd8a684,_0x491ab7);let ye=class{constructor(_0x4db13a,_0x33ccd3,_0x1753d7){var _0x3da163=_0x529853;this[_0x3da163(0x3d7)]=_0x4db13a,this[_0x3da163(0x361)]=_0x33ccd3,this[_0x3da163(0x3fe)]=_0x1753d7,this[_0x3da163(0x31e)]();}[_0x529853(0x31e)](){var _0x3c4d6e=_0x529853;this['_httpService'][_0x3c4d6e(0x200)]({'priority':0x1,'interceptor':(_0x314eee,_0x28053d)=>_0x28053d(_0x314eee)['pipe'](j[_0x3c4d6e(0x3f0)](async _0x5c1564=>{var _0x11de81=_0x3c4d6e;const _0x3e8627=_0x5c1564;if(_0x3e8627[_0x11de81(0x18f)]===0x191){if(typeof window>'u')throw new Error(_0x11de81(0x23b));if(window[_0x11de81(0x2c2)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x1b6d62=window['encodeURIComponent'](window[_0x11de81(0x187)][_0x11de81(0x228)]);window['location']['href']=this[_0x11de81(0xe6)]()+'?url='+_0x1b6d62;}}return _0x3e8627;}))});}[_0x529853(0xe6)](){var _0x3f9003=_0x529853,_0x596eb3,_0x7df389;const _0x45f948=this[_0x3f9003(0x3d7)][_0x3f9003(0x2bb)](Et),_0x1ac206=this[_0x3f9003(0x3d7)][_0x3f9003(0x2bb)](Y);return(_0x7df389=(_0x596eb3=_0x1ac206==null?void 0x0:_0x1ac206[_0x3f9003(0xc0)])!=null?_0x596eb3:_0x45f948)!=null?_0x7df389:Yt;}};ye=Ui([we(0x0,a[_0x529853(0x1d9)]),we(0x1,a[_0x529853(0x105)](q[_0x529853(0x294)])),we(0x2,a[_0x529853(0x105)](a[_0x529853(0xc1)]))],ye);var Ai=Object[_0x529853(0x28b)],Pi=(_0x48630a,_0x5135d3,_0x4a7bf5,_0x5e03ce)=>{var _0x5cf94b=_0x529853;for(var _0x11e492=_0x5e03ce>0x1?void 0x0:_0x5e03ce?Ai(_0x5135d3,_0x4a7bf5):_0x5135d3,_0x3815ce=_0x48630a[_0x5cf94b(0x102)]-0x1,_0x34ad3d;_0x3815ce>=0x0;_0x3815ce--)(_0x34ad3d=_0x48630a[_0x3815ce])&&(_0x11e492=_0x34ad3d(_0x11e492)||_0x11e492);return _0x11e492;},Xe=(_0x312b4b,_0x2cee4a)=>(_0x541dd4,_0x2b1a01)=>_0x2cee4a(_0x541dd4,_0x2b1a01,_0x312b4b);const Ge=_0x529853(0x372),wi='/universer-api/authz';exports[_0x529853(0x355)]=class extends a[_0x529853(0x205)]{constructor(_0x4367a8,_0x38cf56){var _0x561e3b=_0x529853;super(),this[_0x561e3b(0x28f)]=_0x4367a8,this[_0x561e3b(0x3d7)]=_0x38cf56,this[_0x561e3b(0x24d)]();}[_0x529853(0x24d)](){var _0x320b88=_0x529853;const _0x4cd128=this;this[_0x320b88(0x156)](this[_0x320b88(0x28f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x320b88(0x134)]({'isMatch'(_0x4df2d8){var _0x433a62=_0x320b88,_0x15ad84;if(_0x4df2d8[_0x433a62(0x189)]===_0x433a62(0x393)&&((_0x15ad84=_0x4df2d8[_0x433a62(0x34b)])!=null&&_0x15ad84[_0x433a62(0xd1)])){const {objectID:_0x3b03e2,objectType:_0x11d67f}=_0x4df2d8[_0x433a62(0x34b)][_0x433a62(0xd1)]||{};if(!_0x3b03e2||_0x11d67f===void 0x0)return!0x1;const _0x40dc2b=_0x4cd128[_0x433a62(0xff)]()+'/'+_0x11d67f+_0x433a62(0x3bc)+_0x3b03e2+_0x433a62(0x2a6);if(_0x4df2d8['url']===_0x40dc2b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe312d3){var _0x5bf0f4=_0x320b88,_0x273939;return(_0x273939=_0xe312d3[_0x5bf0f4(0x34b)])==null?void 0x0:_0x273939[_0x5bf0f4(0xd1)];},'mergeParamsToRequest'(_0x22940c,_0x5c0184){var _0xf01cdf=_0x320b88;const _0x10d335=_0x4cd128['_getAPIPrefixPath']()+_0xf01cdf(0x130),_0x4f4bf3=_0x22940c[_0xf01cdf(0x1bc)]((_0x2efb58,_0x47c3f5)=>{var _0x53b996=_0xf01cdf;const {unitID:_0x1ba26a,objectID:_0x4b9fcb,objectType:_0x2a2ee2,actions:_0x2e7126}=_0x47c3f5;return _0x2efb58[_0x1ba26a]||(_0x2efb58[_0x1ba26a]={}),_0x2efb58[_0x1ba26a][_0x4b9fcb]||(_0x2efb58[_0x1ba26a][_0x4b9fcb]={'objectID':_0x4b9fcb,'objectType':_0x2a2ee2,'actions':[]}),_0x2efb58[_0x1ba26a][_0x4b9fcb][_0x53b996(0x7f)][_0x53b996(0x297)](..._0x2e7126),_0x2efb58;},{}),_0x1397e3=[];for(const _0x48962d in _0x4f4bf3)for(const _0x294990 in _0x4f4bf3[_0x48962d]){const {actions:_0x2c6e0d,objectType:_0x5c9597}=_0x4f4bf3[_0x48962d][_0x294990],_0x33613b=[...new Set(_0x2c6e0d)];_0x1397e3[_0xf01cdf(0x297)]({'unitID':_0x48962d,'objectID':_0x294990,'objectType':_0x5c9597,'actions':_0x33613b});}return new q[(_0xf01cdf(0x3ae))](_0xf01cdf(0x393),_0x10d335,{'headers':_0x5c0184[_0xf01cdf(0x1a7)],'withCredentials':_0x5c0184[_0xf01cdf(0x2c1)],'responseType':_0x5c0184[_0xf01cdf(0x137)],'body':{'requests':_0x1397e3}});}},{'distributeResult'(_0x3759dc,_0x451185){var _0x5e9a27=_0x320b88;const {objectActions:_0x2e0b09}=_0x3759dc;return _0x451185[_0x5e9a27(0x3e5)](_0x13e391=>{var _0x7b029d=_0x5e9a27;const {unitID:_0x400236,objectID:_0xf029f1,actions:_0x3b3aa4}=_0x13e391,_0x247b3b=_0x2e0b09[_0x7b029d(0x356)](_0xff07a8=>_0xff07a8['unitID']===_0x400236&&_0xff07a8['objectID']===_0xf029f1),_0x42cd2f=_0x3b3aa4['map'](_0x34ccd5=>_0x247b3b==null?void 0x0:_0x247b3b[_0x7b029d(0x7f)][_0x7b029d(0x356)](_0x92f157=>_0x92f157[_0x7b029d(0x2ec)]===_0x34ccd5))[_0x7b029d(0x1db)](_0x249445=>!!_0x249445);return{'config':_0x13e391,'result':{'actions':_0x42cd2f,'error':_0x3759dc['error']}};});}})}));}[_0x529853(0xff)](){var _0x15e66f=_0x529853,_0x44e562,_0x35547f;const _0x12ec44=this['_configService'][_0x15e66f(0x2bb)](Ge),_0x5617ea=this[_0x15e66f(0x3d7)][_0x15e66f(0x2bb)](Y);return(_0x35547f=(_0x44e562=_0x5617ea==null?void 0x0:_0x5617ea[_0x15e66f(0x345)])!=null?_0x44e562:_0x12ec44)!=null?_0x35547f:wi;}async[_0x529853(0x138)](_0x405219){var _0x2105e6=_0x529853;const _0x5afd5a=this['_getAPIPrefixPath']()+'/'+_0x405219[_0x2105e6(0x396)]+_0x2105e6(0x3b6);return(await this['_HTTPService'][_0x2105e6(0x11a)](_0x5afd5a,{'body':_0x405219}))[_0x2105e6(0xd1)]['objectID']||'';}async['list'](_0x298751){var _0x2e8b84=_0x529853;const _0x5f420f=this[_0x2e8b84(0xff)]()+_0x2e8b84(0x39a);return(await this['_HTTPService'][_0x2e8b84(0x11a)](_0x5f420f,{'body':_0x298751}))['body'][_0x2e8b84(0x327)];}async['update'](_0x6f984d){var _0x4cf011=_0x529853,_0x17fe1e,_0x1166db;const _0x3b5bbd=this[_0x4cf011(0xff)]()+'/'+_0x6f984d[_0x4cf011(0x396)]+_0x4cf011(0x3bc)+_0x6f984d['objectID'],_0x42a144=await this[_0x4cf011(0x28f)][_0x4cf011(0xcb)](_0x3b5bbd,{'body':_0x6f984d});if(((_0x1166db=(_0x17fe1e=_0x42a144==null?void 0x0:_0x42a144['body'])==null?void 0x0:_0x17fe1e[_0x4cf011(0x1da)])==null?void 0x0:_0x1166db[_0x4cf011(0x2e4)])!==0x1)throw new Error(_0x4cf011(0x3db));}async[_0x529853(0x234)](_0x1f2ddc){var _0x5eb1c0=_0x529853;const _0x48bfed=this[_0x5eb1c0(0xff)]()+'/'+_0x1f2ddc['objectType']+_0x5eb1c0(0x3bc)+_0x1f2ddc[_0x5eb1c0(0x201)]+_0x5eb1c0(0x2a6);return(await this[_0x5eb1c0(0x28f)][_0x5eb1c0(0x11a)](_0x48bfed,{'body':_0x1f2ddc}))[_0x5eb1c0(0xd1)]['actions'];}async[_0x529853(0x378)](_0x4ffd67){var _0x557968=_0x529853;const _0x688fa8=this[_0x557968(0xff)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x557968(0x11a)](_0x688fa8,{'body':{'requests':_0x4ffd67}}))['body']['objectActions'];}async['listRoles'](_0x5d37c4){var _0x2bf1b8=_0x529853;const _0x449f10=this[_0x2bf1b8(0xff)]()+'/'+_0x5d37c4[_0x2bf1b8(0x396)]+'/role',_0x72a3ed=await this[_0x2bf1b8(0x28f)]['post'](_0x449f10,{'body':_0x5d37c4});return{'roles':_0x72a3ed['body'][_0x2bf1b8(0x3f3)],'actions':_0x72a3ed[_0x2bf1b8(0xd1)]['actions']};}async[_0x529853(0xb0)](_0x26c014){var _0x3096e7=_0x529853;const _0x29a33b=this[_0x3096e7(0xff)]()+_0x3096e7(0xe2);await this[_0x3096e7(0x28f)][_0x3096e7(0xe3)](_0x29a33b,{'params':{'collaboratorID':_0x26c014[_0x3096e7(0x26f)],'objectID':_0x26c014[_0x3096e7(0x201)],'unitID':_0x26c014['unitID']}});}async[_0x529853(0x247)](_0xd97687){var _0x456c1f=_0x529853;const _0x1dd7c1=this[_0x456c1f(0xff)]()+'/collaborator';await this[_0x456c1f(0x28f)][_0x456c1f(0xf5)](_0x1dd7c1,{'body':_0xd97687});}async[_0x529853(0x3c0)](_0x205b9d){var _0x4798f0=_0x529853;const _0x3dd9c4=this[_0x4798f0(0xff)]()+_0x4798f0(0xe2);await this[_0x4798f0(0x28f)][_0x4798f0(0x11a)](_0x3dd9c4,{'body':_0x205b9d});}async[_0x529853(0x25e)](_0x550752){var _0x1c1a19=_0x529853;const _0x24e661=this[_0x1c1a19(0xff)]()+'/collaborator';return(await this['_HTTPService'][_0x1c1a19(0x2e6)](_0x24e661,{'params':{'objectID':_0x550752['objectID'],'unitID':_0x550752[_0x1c1a19(0x20a)]}}))['body'][_0x1c1a19(0x3ea)];}async[_0x529853(0x119)](_0xd4ae81){var _0x1ebd07=_0x529853;const _0x3d6259=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1ebd07(0x28f)][_0x1ebd07(0xcb)](_0x3d6259,{'body':_0xd4ae81});}},exports[_0x529853(0x355)]=Pi([Xe(0x0,a['Inject'](q[_0x529853(0x294)])),Xe(0x1,a['Inject'](a[_0x529853(0x1d9)]))],exports[_0x529853(0x355)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x12d609){var _0x1f734b=_0x529853;return _0x12d609&&_0x12d609[_0x1f734b(0x3a8)]&&Object[_0x1f734b(0x26b)][_0x1f734b(0x3c3)][_0x1f734b(0x391)](_0x12d609,_0x1f734b(0x269))?_0x12d609[_0x1f734b(0x269)]:_0x12d609;}var fe={'exports':{}};function Li(_0x1758af){var _0x4aa2d6=_0x529853;throw new Error(_0x4aa2d6(0x3d5)+_0x1758af+_0x4aa2d6(0x394));}var pe={'exports':{}},Mi=pe[_0x529853(0x2dd)],Ze;function ee(){var _0x5bb8ce=_0x529853;return Ze||(Ze=0x1,function(_0xe98cab,_0x1c9368){(function(_0x22f6d5,_0x37cc4e){var _0x2c49a8=_0x4573;_0xe98cab[_0x2c49a8(0x2dd)]=_0x37cc4e();}(Mi,function(){var _0x315f39=_0x315f39||function(_0x55d5e1,_0xc28fcb){var _0x53b1c6=_0x4573,_0xe08a55;if(typeof window<'u'&&window[_0x53b1c6(0x1c9)]&&(_0xe08a55=window[_0x53b1c6(0x1c9)]),typeof self<'u'&&self[_0x53b1c6(0x1c9)]&&(_0xe08a55=self[_0x53b1c6(0x1c9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xe08a55=globalThis[_0x53b1c6(0x1c9)]),!_0xe08a55&&typeof window<'u'&&window[_0x53b1c6(0x3e6)]&&(_0xe08a55=window['msCrypto']),!_0xe08a55&&typeof Le<'u'&&Le[_0x53b1c6(0x1c9)]&&(_0xe08a55=Le[_0x53b1c6(0x1c9)]),!_0xe08a55&&typeof Li==_0x53b1c6(0x96))try{_0xe08a55=require(_0x53b1c6(0x1c9));}catch{}var _0x14bae8=function(){var _0x27a718=_0x53b1c6;if(_0xe08a55){if(typeof _0xe08a55[_0x27a718(0xf0)]==_0x27a718(0x96))try{return _0xe08a55[_0x27a718(0xf0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe08a55['randomBytes']==_0x27a718(0x96))try{return _0xe08a55['randomBytes'](0x4)[_0x27a718(0x365)]();}catch{}}throw new Error(_0x27a718(0xdf));},_0x5c8222=Object[_0x53b1c6(0x138)]||(function(){function _0x11f0a4(){}return function(_0x48e760){var _0x54ca8c=_0x4573,_0x498e91;return _0x11f0a4[_0x54ca8c(0x26b)]=_0x48e760,_0x498e91=new _0x11f0a4(),_0x11f0a4[_0x54ca8c(0x26b)]=null,_0x498e91;};}()),_0x3c9526={},_0x53f70b=_0x3c9526[_0x53b1c6(0x3ed)]={},_0x1ceced=_0x53f70b[_0x53b1c6(0x2ff)]=(function(){return{'extend':function(_0x1d2f8e){var _0x4db249=_0x4573,_0x2a5c5c=_0x5c8222(this);return _0x1d2f8e&&_0x2a5c5c[_0x4db249(0x26c)](_0x1d2f8e),(!_0x2a5c5c[_0x4db249(0x3c3)]('init')||this[_0x4db249(0x31e)]===_0x2a5c5c['init'])&&(_0x2a5c5c[_0x4db249(0x31e)]=function(){var _0x4e5f83=_0x4db249;_0x2a5c5c['$super'][_0x4e5f83(0x31e)][_0x4e5f83(0x2ca)](this,arguments);}),_0x2a5c5c[_0x4db249(0x31e)]['prototype']=_0x2a5c5c,_0x2a5c5c[_0x4db249(0x2f7)]=this,_0x2a5c5c;},'create':function(){var _0xc197c7=_0x4573,_0x11b418=this[_0xc197c7(0x158)]();return _0x11b418['init']['apply'](_0x11b418,arguments),_0x11b418;},'init':function(){},'mixIn':function(_0x394718){var _0x214add=_0x4573;for(var _0x3ce7ed in _0x394718)_0x394718['hasOwnProperty'](_0x3ce7ed)&&(this[_0x3ce7ed]=_0x394718[_0x3ce7ed]);_0x394718['hasOwnProperty'](_0x214add(0x337))&&(this[_0x214add(0x337)]=_0x394718[_0x214add(0x337)]);},'clone':function(){var _0x171789=_0x4573;return this['init'][_0x171789(0x26b)][_0x171789(0x158)](this);}};}()),_0x48569=_0x53f70b[_0x53b1c6(0x82)]=_0x1ceced['extend']({'init':function(_0xd65669,_0x19331f){var _0x3b09fa=_0x53b1c6;_0xd65669=this[_0x3b09fa(0x279)]=_0xd65669||[],_0x19331f!=_0xc28fcb?this[_0x3b09fa(0x226)]=_0x19331f:this[_0x3b09fa(0x226)]=_0xd65669[_0x3b09fa(0x102)]*0x4;},'toString':function(_0x3aaf7a){var _0x822e79=_0x53b1c6;return(_0x3aaf7a||_0x564067)[_0x822e79(0x2cc)](this);},'concat':function(_0x193e50){var _0x10263c=_0x53b1c6,_0x182f2a=this[_0x10263c(0x279)],_0x301a69=_0x193e50[_0x10263c(0x279)],_0x3157fa=this[_0x10263c(0x226)],_0x47c231=_0x193e50['sigBytes'];if(this[_0x10263c(0x183)](),_0x3157fa%0x4)for(var _0x4f6414=0x0;_0x4f6414<_0x47c231;_0x4f6414++){var _0x115f6b=_0x301a69[_0x4f6414>>>0x2]>>>0x18-_0x4f6414%0x4*0x8&0xff;_0x182f2a[_0x3157fa+_0x4f6414>>>0x2]|=_0x115f6b<<0x18-(_0x3157fa+_0x4f6414)%0x4*0x8;}else{for(var _0x31fdd0=0x0;_0x31fdd0<_0x47c231;_0x31fdd0+=0x4)_0x182f2a[_0x3157fa+_0x31fdd0>>>0x2]=_0x301a69[_0x31fdd0>>>0x2];}return this[_0x10263c(0x226)]+=_0x47c231,this;},'clamp':function(){var _0x4d58c4=_0x53b1c6,_0x78265f=this[_0x4d58c4(0x279)],_0x23806a=this[_0x4d58c4(0x226)];_0x78265f[_0x23806a>>>0x2]&=0xffffffff<<0x20-_0x23806a%0x4*0x8,_0x78265f['length']=_0x55d5e1['ceil'](_0x23806a/0x4);},'clone':function(){var _0x37afc0=_0x53b1c6,_0x5c98a9=_0x1ceced[_0x37afc0(0x220)][_0x37afc0(0x391)](this);return _0x5c98a9[_0x37afc0(0x279)]=this[_0x37afc0(0x279)][_0x37afc0(0x172)](0x0),_0x5c98a9;},'random':function(_0x296c60){var _0x5ce43f=_0x53b1c6;for(var _0x1070b8=[],_0x1e4d84=0x0;_0x1e4d84<_0x296c60;_0x1e4d84+=0x4)_0x1070b8['push'](_0x14bae8());return new _0x48569[(_0x5ce43f(0x31e))](_0x1070b8,_0x296c60);}}),_0x24885a=_0x3c9526[_0x53b1c6(0x38e)]={},_0x564067=_0x24885a[_0x53b1c6(0x36d)]={'stringify':function(_0x2d4021){var _0x187533=_0x53b1c6;for(var _0x297913=_0x2d4021[_0x187533(0x279)],_0x492b50=_0x2d4021[_0x187533(0x226)],_0x487113=[],_0x3a4304=0x0;_0x3a4304<_0x492b50;_0x3a4304++){var _0x4608f6=_0x297913[_0x3a4304>>>0x2]>>>0x18-_0x3a4304%0x4*0x8&0xff;_0x487113[_0x187533(0x297)]((_0x4608f6>>>0x4)[_0x187533(0x337)](0x10)),_0x487113[_0x187533(0x297)]((_0x4608f6&0xf)['toString'](0x10));}return _0x487113[_0x187533(0xd3)]('');},'parse':function(_0x477bd1){var _0x500ba0=_0x53b1c6;for(var _0x7b321d=_0x477bd1[_0x500ba0(0x102)],_0x349b1=[],_0x6ea434=0x0;_0x6ea434<_0x7b321d;_0x6ea434+=0x2)_0x349b1[_0x6ea434>>>0x3]|=parseInt(_0x477bd1[_0x500ba0(0x267)](_0x6ea434,0x2),0x10)<<0x18-_0x6ea434%0x8*0x4;return new _0x48569[(_0x500ba0(0x31e))](_0x349b1,_0x7b321d/0x2);}},_0x2169ae=_0x24885a['Latin1']={'stringify':function(_0x1dcb96){var _0x5f5a44=_0x53b1c6;for(var _0x5aa677=_0x1dcb96[_0x5f5a44(0x279)],_0xcd874d=_0x1dcb96[_0x5f5a44(0x226)],_0x3a70f3=[],_0x1de692=0x0;_0x1de692<_0xcd874d;_0x1de692++){var _0x18a36f=_0x5aa677[_0x1de692>>>0x2]>>>0x18-_0x1de692%0x4*0x8&0xff;_0x3a70f3[_0x5f5a44(0x297)](String[_0x5f5a44(0xee)](_0x18a36f));}return _0x3a70f3['join']('');},'parse':function(_0x1d022e){var _0x286e48=_0x53b1c6;for(var _0x4a3f0b=_0x1d022e[_0x286e48(0x102)],_0x30fa7f=[],_0x1a16c0=0x0;_0x1a16c0<_0x4a3f0b;_0x1a16c0++)_0x30fa7f[_0x1a16c0>>>0x2]|=(_0x1d022e[_0x286e48(0xcd)](_0x1a16c0)&0xff)<<0x18-_0x1a16c0%0x4*0x8;return new _0x48569['init'](_0x30fa7f,_0x4a3f0b);}},_0xdbdf6a=_0x24885a[_0x53b1c6(0x38d)]={'stringify':function(_0x434b15){var _0x188128=_0x53b1c6;try{return decodeURIComponent(escape(_0x2169ae['stringify'](_0x434b15)));}catch{throw new Error(_0x188128(0x95));}},'parse':function(_0x195b77){return _0x2169ae['parse'](unescape(encodeURIComponent(_0x195b77)));}},_0x51570d=_0x53f70b['BufferedBlockAlgorithm']=_0x1ceced['extend']({'reset':function(){var _0x28a0f5=_0x53b1c6;this[_0x28a0f5(0x1e9)]=new _0x48569['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x478ccb){var _0x4eec36=_0x53b1c6;typeof _0x478ccb==_0x4eec36(0x32c)&&(_0x478ccb=_0xdbdf6a[_0x4eec36(0x36b)](_0x478ccb)),this[_0x4eec36(0x1e9)][_0x4eec36(0x10d)](_0x478ccb),this[_0x4eec36(0x304)]+=_0x478ccb['sigBytes'];},'_process':function(_0x4fa3b3){var _0x2f6f43=_0x53b1c6,_0x18b8d7,_0x5884e6=this[_0x2f6f43(0x1e9)],_0x190039=_0x5884e6[_0x2f6f43(0x279)],_0x20257b=_0x5884e6[_0x2f6f43(0x226)],_0x1b5a43=this[_0x2f6f43(0xab)],_0x54534d=_0x1b5a43*0x4,_0x4787f5=_0x20257b/_0x54534d;_0x4fa3b3?_0x4787f5=_0x55d5e1[_0x2f6f43(0xeb)](_0x4787f5):_0x4787f5=_0x55d5e1['max']((_0x4787f5|0x0)-this[_0x2f6f43(0x264)],0x0);var _0x3f30ac=_0x4787f5*_0x1b5a43,_0x3eb96e=_0x55d5e1['min'](_0x3f30ac*0x4,_0x20257b);if(_0x3f30ac){for(var _0x2936b5=0x0;_0x2936b5<_0x3f30ac;_0x2936b5+=_0x1b5a43)this['_doProcessBlock'](_0x190039,_0x2936b5);_0x18b8d7=_0x190039['splice'](0x0,_0x3f30ac),_0x5884e6[_0x2f6f43(0x226)]-=_0x3eb96e;}return new _0x48569[(_0x2f6f43(0x31e))](_0x18b8d7,_0x3eb96e);},'clone':function(){var _0x5acf1e=_0x53b1c6,_0x42b341=_0x1ceced[_0x5acf1e(0x220)][_0x5acf1e(0x391)](this);return _0x42b341[_0x5acf1e(0x1e9)]=this['_data'][_0x5acf1e(0x220)](),_0x42b341;},'_minBufferSize':0x0});_0x53f70b['Hasher']=_0x51570d[_0x53b1c6(0x158)]({'cfg':_0x1ceced[_0x53b1c6(0x158)](),'init':function(_0x4c85ff){var _0x134f82=_0x53b1c6;this[_0x134f82(0x18c)]=this[_0x134f82(0x18c)][_0x134f82(0x158)](_0x4c85ff),this[_0x134f82(0x10e)]();},'reset':function(){var _0x4d4807=_0x53b1c6;_0x51570d[_0x4d4807(0x10e)][_0x4d4807(0x391)](this),this[_0x4d4807(0x186)]();},'update':function(_0x35df43){var _0x2112a6=_0x53b1c6;return this[_0x2112a6(0x2e8)](_0x35df43),this[_0x2112a6(0x1ed)](),this;},'finalize':function(_0x3fadf2){var _0x4576ae=_0x53b1c6;_0x3fadf2&&this['_append'](_0x3fadf2);var _0x425705=this[_0x4576ae(0xa4)]();return _0x425705;},'blockSize':0x10,'_createHelper':function(_0x308c29){return function(_0xbfa8af,_0x508fc8){var _0x3f822c=_0x4573;return new _0x308c29['init'](_0x508fc8)[_0x3f822c(0x81)](_0xbfa8af);};},'_createHmacHelper':function(_0x3467bf){return function(_0x5e55f4,_0x33bc6d){var _0x4b1410=_0x4573;return new _0x568548[(_0x4b1410(0x305))][(_0x4b1410(0x31e))](_0x3467bf,_0x33bc6d)['finalize'](_0x5e55f4);};}});var _0x568548=_0x3c9526[_0x53b1c6(0x36a)]={};return _0x3c9526;}(Math);return _0x315f39;}));}(pe)),pe[_0x5bb8ce(0x2dd)];}var ge={'exports':{}},xi=ge[_0x529853(0x2dd)],Qe;function Ut(){var _0x59de81=_0x529853;return Qe||(Qe=0x1,function(_0x3077cc,_0x43e0b8){(function(_0x141ad5,_0xe4661c){var _0xb7806b=_0x4573;_0x3077cc[_0xb7806b(0x2dd)]=_0xe4661c(ee());}(xi,function(_0x115d35){var _0x2b9926=_0x4573;return(function(){var _0x29735b=_0x4573,_0x2fc79c=_0x115d35,_0x2899b8=_0x2fc79c[_0x29735b(0x3ed)],_0x162d7a=_0x2899b8['WordArray'],_0x5ae829=_0x2fc79c[_0x29735b(0x38e)];_0x5ae829[_0x29735b(0x115)]={'stringify':function(_0x2b3175){var _0x53910d=_0x29735b,_0x548bd2=_0x2b3175[_0x53910d(0x279)],_0x2c4e72=_0x2b3175['sigBytes'],_0x4c6654=this[_0x53910d(0x2f2)];_0x2b3175[_0x53910d(0x183)]();for(var _0x95a12c=[],_0x4a5e5b=0x0;_0x4a5e5b<_0x2c4e72;_0x4a5e5b+=0x3)for(var _0x337722=_0x548bd2[_0x4a5e5b>>>0x2]>>>0x18-_0x4a5e5b%0x4*0x8&0xff,_0x456c53=_0x548bd2[_0x4a5e5b+0x1>>>0x2]>>>0x18-(_0x4a5e5b+0x1)%0x4*0x8&0xff,_0x91e56c=_0x548bd2[_0x4a5e5b+0x2>>>0x2]>>>0x18-(_0x4a5e5b+0x2)%0x4*0x8&0xff,_0x557e3a=_0x337722<<0x10|_0x456c53<<0x8|_0x91e56c,_0x3e1f31=0x0;_0x3e1f31<0x4&&_0x4a5e5b+_0x3e1f31*0.75<_0x2c4e72;_0x3e1f31++)_0x95a12c[_0x53910d(0x297)](_0x4c6654[_0x53910d(0x1c3)](_0x557e3a>>>0x6*(0x3-_0x3e1f31)&0x3f));var _0xd94584=_0x4c6654[_0x53910d(0x1c3)](0x40);if(_0xd94584){for(;_0x95a12c[_0x53910d(0x102)]%0x4;)_0x95a12c[_0x53910d(0x297)](_0xd94584);}return _0x95a12c[_0x53910d(0xd3)]('');},'parse':function(_0x39fc14){var _0x3be496=_0x29735b,_0x71292e=_0x39fc14[_0x3be496(0x102)],_0x1fb94a=this['_map'],_0xc7a75e=this[_0x3be496(0x37a)];if(!_0xc7a75e){_0xc7a75e=this[_0x3be496(0x37a)]=[];for(var _0x29a9a6=0x0;_0x29a9a6<_0x1fb94a[_0x3be496(0x102)];_0x29a9a6++)_0xc7a75e[_0x1fb94a[_0x3be496(0xcd)](_0x29a9a6)]=_0x29a9a6;}var _0x3ebbcc=_0x1fb94a[_0x3be496(0x1c3)](0x40);if(_0x3ebbcc){var _0x5c07b4=_0x39fc14[_0x3be496(0x2d4)](_0x3ebbcc);_0x5c07b4!==-0x1&&(_0x71292e=_0x5c07b4);}return _0x4e15d6(_0x39fc14,_0x71292e,_0xc7a75e);},'_map':_0x29735b(0x28a)};function _0x4e15d6(_0x585007,_0x6c0815,_0xd47a77){var _0x3e69ea=_0x29735b;for(var _0x95ab1a=[],_0x4d289a=0x0,_0x71cc02=0x0;_0x71cc02<_0x6c0815;_0x71cc02++)if(_0x71cc02%0x4){var _0x3fbc87=_0xd47a77[_0x585007[_0x3e69ea(0xcd)](_0x71cc02-0x1)]<<_0x71cc02%0x4*0x2,_0xb8c95b=_0xd47a77[_0x585007['charCodeAt'](_0x71cc02)]>>>0x6-_0x71cc02%0x4*0x2,_0x307928=_0x3fbc87|_0xb8c95b;_0x95ab1a[_0x4d289a>>>0x2]|=_0x307928<<0x18-_0x4d289a%0x4*0x8,_0x4d289a++;}return _0x162d7a[_0x3e69ea(0x138)](_0x95ab1a,_0x4d289a);}}()),_0x115d35[_0x2b9926(0x38e)][_0x2b9926(0x115)];}));}(ge)),ge[_0x59de81(0x2dd)];}var Ie={'exports':{}},ki=Ie[_0x529853(0x2dd)],et;function Hi(){var _0x296d51=_0x529853;return et||(et=0x1,function(_0xfab11,_0x5da0e1){(function(_0x5f4cb9,_0x4fe976){_0xfab11['exports']=_0x4fe976(ee());}(ki,function(_0x1aa1de){var _0x22a8c5=_0x4573;return function(_0x2d7998){var _0x422170=_0x4573,_0x347f93=_0x1aa1de,_0x5864ca=_0x347f93[_0x422170(0x3ed)],_0x1917f1=_0x5864ca[_0x422170(0x82)],_0xbdb8e=_0x5864ca[_0x422170(0xa3)],_0x4e08c3=_0x347f93[_0x422170(0x36a)],_0x1384c0=[];(function(){var _0x19c9be=_0x422170;for(var _0xf0259e=0x0;_0xf0259e<0x40;_0xf0259e++)_0x1384c0[_0xf0259e]=_0x2d7998[_0x19c9be(0x3dd)](_0x2d7998[_0x19c9be(0x1a9)](_0xf0259e+0x1))*0x100000000|0x0;}());var _0xccc741=_0x4e08c3['MD5']=_0xbdb8e[_0x422170(0x158)]({'_doReset':function(){var _0x526e2d=_0x422170;this['_hash']=new _0x1917f1[(_0x526e2d(0x31e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4db0c3,_0xb1a232){for(var _0x313c39=0x0;_0x313c39<0x10;_0x313c39++){var _0x130b0a=_0xb1a232+_0x313c39,_0x57314d=_0x4db0c3[_0x130b0a];_0x4db0c3[_0x130b0a]=(_0x57314d<<0x8|_0x57314d>>>0x18)&0xff00ff|(_0x57314d<<0x18|_0x57314d>>>0x8)&0xff00ff00;}var _0x53b8d6=this['_hash']['words'],_0x50c5c0=_0x4db0c3[_0xb1a232+0x0],_0x5541c4=_0x4db0c3[_0xb1a232+0x1],_0x19f437=_0x4db0c3[_0xb1a232+0x2],_0x529122=_0x4db0c3[_0xb1a232+0x3],_0x456b47=_0x4db0c3[_0xb1a232+0x4],_0x4efc0e=_0x4db0c3[_0xb1a232+0x5],_0x63089e=_0x4db0c3[_0xb1a232+0x6],_0x1a3e72=_0x4db0c3[_0xb1a232+0x7],_0x3c357c=_0x4db0c3[_0xb1a232+0x8],_0xce5c1a=_0x4db0c3[_0xb1a232+0x9],_0x5a73f2=_0x4db0c3[_0xb1a232+0xa],_0x173eca=_0x4db0c3[_0xb1a232+0xb],_0x38c6ef=_0x4db0c3[_0xb1a232+0xc],_0x345632=_0x4db0c3[_0xb1a232+0xd],_0x51c3d9=_0x4db0c3[_0xb1a232+0xe],_0x536613=_0x4db0c3[_0xb1a232+0xf],_0x24ff41=_0x53b8d6[0x0],_0x3fb3b6=_0x53b8d6[0x1],_0xbbcd65=_0x53b8d6[0x2],_0x5ad6ab=_0x53b8d6[0x3];_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x50c5c0,0x7,_0x1384c0[0x0]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5541c4,0xc,_0x1384c0[0x1]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x19f437,0x11,_0x1384c0[0x2]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x529122,0x16,_0x1384c0[0x3]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x456b47,0x7,_0x1384c0[0x4]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x4efc0e,0xc,_0x1384c0[0x5]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x63089e,0x11,_0x1384c0[0x6]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x1a3e72,0x16,_0x1384c0[0x7]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x3c357c,0x7,_0x1384c0[0x8]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0xce5c1a,0xc,_0x1384c0[0x9]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x5a73f2,0x11,_0x1384c0[0xa]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x173eca,0x16,_0x1384c0[0xb]),_0x24ff41=_0x383250(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x38c6ef,0x7,_0x1384c0[0xc]),_0x5ad6ab=_0x383250(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x345632,0xc,_0x1384c0[0xd]),_0xbbcd65=_0x383250(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x51c3d9,0x11,_0x1384c0[0xe]),_0x3fb3b6=_0x383250(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x536613,0x16,_0x1384c0[0xf]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x5541c4,0x5,_0x1384c0[0x10]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x63089e,0x9,_0x1384c0[0x11]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x173eca,0xe,_0x1384c0[0x12]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x50c5c0,0x14,_0x1384c0[0x13]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x4efc0e,0x5,_0x1384c0[0x14]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5a73f2,0x9,_0x1384c0[0x15]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x536613,0xe,_0x1384c0[0x16]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x456b47,0x14,_0x1384c0[0x17]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0xce5c1a,0x5,_0x1384c0[0x18]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x51c3d9,0x9,_0x1384c0[0x19]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x529122,0xe,_0x1384c0[0x1a]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3c357c,0x14,_0x1384c0[0x1b]),_0x24ff41=_0x39e163(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x345632,0x5,_0x1384c0[0x1c]),_0x5ad6ab=_0x39e163(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x19f437,0x9,_0x1384c0[0x1d]),_0xbbcd65=_0x39e163(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x1a3e72,0xe,_0x1384c0[0x1e]),_0x3fb3b6=_0x39e163(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x38c6ef,0x14,_0x1384c0[0x1f]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x4efc0e,0x4,_0x1384c0[0x20]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x3c357c,0xb,_0x1384c0[0x21]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x173eca,0x10,_0x1384c0[0x22]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x51c3d9,0x17,_0x1384c0[0x23]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x5541c4,0x4,_0x1384c0[0x24]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x456b47,0xb,_0x1384c0[0x25]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x1a3e72,0x10,_0x1384c0[0x26]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x5a73f2,0x17,_0x1384c0[0x27]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x345632,0x4,_0x1384c0[0x28]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x50c5c0,0xb,_0x1384c0[0x29]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x529122,0x10,_0x1384c0[0x2a]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x63089e,0x17,_0x1384c0[0x2b]),_0x24ff41=_0x4d010c(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0xce5c1a,0x4,_0x1384c0[0x2c]),_0x5ad6ab=_0x4d010c(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x38c6ef,0xb,_0x1384c0[0x2d]),_0xbbcd65=_0x4d010c(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x536613,0x10,_0x1384c0[0x2e]),_0x3fb3b6=_0x4d010c(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x19f437,0x17,_0x1384c0[0x2f]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x50c5c0,0x6,_0x1384c0[0x30]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x1a3e72,0xa,_0x1384c0[0x31]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x51c3d9,0xf,_0x1384c0[0x32]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x4efc0e,0x15,_0x1384c0[0x33]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x38c6ef,0x6,_0x1384c0[0x34]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x529122,0xa,_0x1384c0[0x35]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x5a73f2,0xf,_0x1384c0[0x36]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x5541c4,0x15,_0x1384c0[0x37]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x3c357c,0x6,_0x1384c0[0x38]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x536613,0xa,_0x1384c0[0x39]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x63089e,0xf,_0x1384c0[0x3a]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x345632,0x15,_0x1384c0[0x3b]),_0x24ff41=_0x1898af(_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x456b47,0x6,_0x1384c0[0x3c]),_0x5ad6ab=_0x1898af(_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0xbbcd65,_0x173eca,0xa,_0x1384c0[0x3d]),_0xbbcd65=_0x1898af(_0xbbcd65,_0x5ad6ab,_0x24ff41,_0x3fb3b6,_0x19f437,0xf,_0x1384c0[0x3e]),_0x3fb3b6=_0x1898af(_0x3fb3b6,_0xbbcd65,_0x5ad6ab,_0x24ff41,_0xce5c1a,0x15,_0x1384c0[0x3f]),_0x53b8d6[0x0]=_0x53b8d6[0x0]+_0x24ff41|0x0,_0x53b8d6[0x1]=_0x53b8d6[0x1]+_0x3fb3b6|0x0,_0x53b8d6[0x2]=_0x53b8d6[0x2]+_0xbbcd65|0x0,_0x53b8d6[0x3]=_0x53b8d6[0x3]+_0x5ad6ab|0x0;},'_doFinalize':function(){var _0x1f65df=_0x422170,_0x5e3048=this[_0x1f65df(0x1e9)],_0x2fbdc4=_0x5e3048[_0x1f65df(0x279)],_0x2fcd3d=this['_nDataBytes']*0x8,_0xb8d7d0=_0x5e3048[_0x1f65df(0x226)]*0x8;_0x2fbdc4[_0xb8d7d0>>>0x5]|=0x80<<0x18-_0xb8d7d0%0x20;var _0x1f42e6=_0x2d7998[_0x1f65df(0xaa)](_0x2fcd3d/0x100000000),_0x5efae9=_0x2fcd3d;_0x2fbdc4[(_0xb8d7d0+0x40>>>0x9<<0x4)+0xf]=(_0x1f42e6<<0x8|_0x1f42e6>>>0x18)&0xff00ff|(_0x1f42e6<<0x18|_0x1f42e6>>>0x8)&0xff00ff00,_0x2fbdc4[(_0xb8d7d0+0x40>>>0x9<<0x4)+0xe]=(_0x5efae9<<0x8|_0x5efae9>>>0x18)&0xff00ff|(_0x5efae9<<0x18|_0x5efae9>>>0x8)&0xff00ff00,_0x5e3048[_0x1f65df(0x226)]=(_0x2fbdc4[_0x1f65df(0x102)]+0x1)*0x4,this[_0x1f65df(0x1ed)]();for(var _0x4f3de7=this[_0x1f65df(0xb2)],_0x4b80d0=_0x4f3de7[_0x1f65df(0x279)],_0x388100=0x0;_0x388100<0x4;_0x388100++){var _0x443e52=_0x4b80d0[_0x388100];_0x4b80d0[_0x388100]=(_0x443e52<<0x8|_0x443e52>>>0x18)&0xff00ff|(_0x443e52<<0x18|_0x443e52>>>0x8)&0xff00ff00;}return _0x4f3de7;},'clone':function(){var _0x5c3f80=_0x422170,_0x34ddb7=_0xbdb8e[_0x5c3f80(0x220)][_0x5c3f80(0x391)](this);return _0x34ddb7[_0x5c3f80(0xb2)]=this[_0x5c3f80(0xb2)][_0x5c3f80(0x220)](),_0x34ddb7;}});function _0x383250(_0x2b55b1,_0x16d805,_0x11f0ba,_0x249ce0,_0x4f24fc,_0x235e31,_0xe4858a){var _0x5b022b=_0x2b55b1+(_0x16d805&_0x11f0ba|~_0x16d805&_0x249ce0)+_0x4f24fc+_0xe4858a;return(_0x5b022b<<_0x235e31|_0x5b022b>>>0x20-_0x235e31)+_0x16d805;}function _0x39e163(_0x57e37c,_0xfe0bf1,_0x48f315,_0x1d1c62,_0x39f145,_0x537d5b,_0x3f3477){var _0x41f250=_0x57e37c+(_0xfe0bf1&_0x1d1c62|_0x48f315&~_0x1d1c62)+_0x39f145+_0x3f3477;return(_0x41f250<<_0x537d5b|_0x41f250>>>0x20-_0x537d5b)+_0xfe0bf1;}function _0x4d010c(_0x1ff72d,_0x3101f0,_0x4ca044,_0x5a9a59,_0x21cfec,_0x57c7df,_0x2a27c1){var _0xa3d0ca=_0x1ff72d+(_0x3101f0^_0x4ca044^_0x5a9a59)+_0x21cfec+_0x2a27c1;return(_0xa3d0ca<<_0x57c7df|_0xa3d0ca>>>0x20-_0x57c7df)+_0x3101f0;}function _0x1898af(_0x7f706a,_0x5d7a27,_0x53150e,_0x1f722b,_0x3ca5ca,_0x4675b7,_0x2c9c6c){var _0x4a77b9=_0x7f706a+(_0x53150e^(_0x5d7a27|~_0x1f722b))+_0x3ca5ca+_0x2c9c6c;return(_0x4a77b9<<_0x4675b7|_0x4a77b9>>>0x20-_0x4675b7)+_0x5d7a27;}_0x347f93['MD5']=_0xbdb8e[_0x422170(0x1fa)](_0xccc741),_0x347f93[_0x422170(0x1ec)]=_0xbdb8e[_0x422170(0x175)](_0xccc741);}(Math),_0x1aa1de[_0x22a8c5(0xb6)];}));}(Ie)),Ie[_0x296d51(0x2dd)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){return tt||(tt=0x1,function(_0x51041b,_0x177d44){(function(_0x7b1124,_0x325133){_0x51041b['exports']=_0x325133(ee());}(ji,function(_0x1ae461){var _0x3c45f7=_0x4573;return(function(){var _0x1c2518=_0x4573,_0x3481ba=_0x1ae461,_0x11e769=_0x3481ba[_0x1c2518(0x3ed)],_0x232ae1=_0x11e769['WordArray'],_0x3f2aa6=_0x11e769[_0x1c2518(0xa3)],_0x310eb8=_0x3481ba['algo'],_0xa736b3=[],_0x138fd3=_0x310eb8['SHA1']=_0x3f2aa6[_0x1c2518(0x158)]({'_doReset':function(){var _0x539d38=_0x1c2518;this['_hash']=new _0x232ae1[(_0x539d38(0x31e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13995a,_0x27a3f1){var _0x1d922d=_0x1c2518;for(var _0x580b9a=this['_hash'][_0x1d922d(0x279)],_0x13ff7f=_0x580b9a[0x0],_0x1fd152=_0x580b9a[0x1],_0x47c018=_0x580b9a[0x2],_0x45d016=_0x580b9a[0x3],_0x4b40b3=_0x580b9a[0x4],_0xa1f0ec=0x0;_0xa1f0ec<0x50;_0xa1f0ec++){if(_0xa1f0ec<0x10)_0xa736b3[_0xa1f0ec]=_0x13995a[_0x27a3f1+_0xa1f0ec]|0x0;else{var _0x289150=_0xa736b3[_0xa1f0ec-0x3]^_0xa736b3[_0xa1f0ec-0x8]^_0xa736b3[_0xa1f0ec-0xe]^_0xa736b3[_0xa1f0ec-0x10];_0xa736b3[_0xa1f0ec]=_0x289150<<0x1|_0x289150>>>0x1f;}var _0xaae84d=(_0x13ff7f<<0x5|_0x13ff7f>>>0x1b)+_0x4b40b3+_0xa736b3[_0xa1f0ec];_0xa1f0ec<0x14?_0xaae84d+=(_0x1fd152&_0x47c018|~_0x1fd152&_0x45d016)+0x5a827999:_0xa1f0ec<0x28?_0xaae84d+=(_0x1fd152^_0x47c018^_0x45d016)+0x6ed9eba1:_0xa1f0ec<0x3c?_0xaae84d+=(_0x1fd152&_0x47c018|_0x1fd152&_0x45d016|_0x47c018&_0x45d016)-0x70e44324:_0xaae84d+=(_0x1fd152^_0x47c018^_0x45d016)-0x359d3e2a,_0x4b40b3=_0x45d016,_0x45d016=_0x47c018,_0x47c018=_0x1fd152<<0x1e|_0x1fd152>>>0x2,_0x1fd152=_0x13ff7f,_0x13ff7f=_0xaae84d;}_0x580b9a[0x0]=_0x580b9a[0x0]+_0x13ff7f|0x0,_0x580b9a[0x1]=_0x580b9a[0x1]+_0x1fd152|0x0,_0x580b9a[0x2]=_0x580b9a[0x2]+_0x47c018|0x0,_0x580b9a[0x3]=_0x580b9a[0x3]+_0x45d016|0x0,_0x580b9a[0x4]=_0x580b9a[0x4]+_0x4b40b3|0x0;},'_doFinalize':function(){var _0x368471=_0x1c2518,_0x31f3d1=this[_0x368471(0x1e9)],_0x24d58f=_0x31f3d1[_0x368471(0x279)],_0xe9c493=this[_0x368471(0x304)]*0x8,_0xab8b12=_0x31f3d1[_0x368471(0x226)]*0x8;return _0x24d58f[_0xab8b12>>>0x5]|=0x80<<0x18-_0xab8b12%0x20,_0x24d58f[(_0xab8b12+0x40>>>0x9<<0x4)+0xe]=Math[_0x368471(0xaa)](_0xe9c493/0x100000000),_0x24d58f[(_0xab8b12+0x40>>>0x9<<0x4)+0xf]=_0xe9c493,_0x31f3d1['sigBytes']=_0x24d58f[_0x368471(0x102)]*0x4,this[_0x368471(0x1ed)](),this['_hash'];},'clone':function(){var _0x34b76d=_0x1c2518,_0x3a67c5=_0x3f2aa6[_0x34b76d(0x220)][_0x34b76d(0x391)](this);return _0x3a67c5[_0x34b76d(0xb2)]=this[_0x34b76d(0xb2)][_0x34b76d(0x220)](),_0x3a67c5;}});_0x3481ba[_0x1c2518(0x275)]=_0x3f2aa6[_0x1c2518(0x1fa)](_0x138fd3),_0x3481ba[_0x1c2518(0x18a)]=_0x3f2aa6[_0x1c2518(0x175)](_0x138fd3);}()),_0x1ae461[_0x3c45f7(0x275)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0x529853(0x2dd)],it;function Fi(){var _0xda8c1c=_0x529853;return it||(it=0x1,function(_0x226002,_0x488d92){(function(_0x523cfe,_0x3db86e){var _0x25270e=_0x4573;_0x226002[_0x25270e(0x2dd)]=_0x3db86e(ee());}(Bi,function(_0x1bd363){(function(){var _0x5641b9=_0x4573,_0x489159=_0x1bd363,_0xfd4590=_0x489159[_0x5641b9(0x3ed)],_0x39f864=_0xfd4590['Base'],_0x2bea63=_0x489159[_0x5641b9(0x38e)],_0x504dbc=_0x2bea63[_0x5641b9(0x38d)],_0x198814=_0x489159[_0x5641b9(0x36a)];_0x198814[_0x5641b9(0x305)]=_0x39f864[_0x5641b9(0x158)]({'init':function(_0x122469,_0x563ef3){var _0x920cc5=_0x5641b9;_0x122469=this[_0x920cc5(0x2c5)]=new _0x122469['init'](),typeof _0x563ef3==_0x920cc5(0x32c)&&(_0x563ef3=_0x504dbc['parse'](_0x563ef3));var _0x4ea11a=_0x122469[_0x920cc5(0xab)],_0x3b953e=_0x4ea11a*0x4;_0x563ef3[_0x920cc5(0x226)]>_0x3b953e&&(_0x563ef3=_0x122469[_0x920cc5(0x81)](_0x563ef3)),_0x563ef3['clamp']();for(var _0x1cdd32=this[_0x920cc5(0x33e)]=_0x563ef3[_0x920cc5(0x220)](),_0x55f6f2=this[_0x920cc5(0x3ad)]=_0x563ef3['clone'](),_0x47979c=_0x1cdd32[_0x920cc5(0x279)],_0x26348b=_0x55f6f2['words'],_0x480f74=0x0;_0x480f74<_0x4ea11a;_0x480f74++)_0x47979c[_0x480f74]^=0x5c5c5c5c,_0x26348b[_0x480f74]^=0x36363636;_0x1cdd32[_0x920cc5(0x226)]=_0x55f6f2[_0x920cc5(0x226)]=_0x3b953e,this['reset']();},'reset':function(){var _0x4d3ad0=_0x5641b9,_0x4dc1b8=this[_0x4d3ad0(0x2c5)];_0x4dc1b8[_0x4d3ad0(0x10e)](),_0x4dc1b8['update'](this['_iKey']);},'update':function(_0x30e2ec){var _0x52551b=_0x5641b9;return this[_0x52551b(0x2c5)][_0x52551b(0xe0)](_0x30e2ec),this;},'finalize':function(_0x2c140a){var _0x1193d2=_0x5641b9,_0x141253=this[_0x1193d2(0x2c5)],_0x5854f3=_0x141253[_0x1193d2(0x81)](_0x2c140a);_0x141253[_0x1193d2(0x10e)]();var _0x2b1357=_0x141253['finalize'](this['_oKey'][_0x1193d2(0x220)]()[_0x1193d2(0x10d)](_0x5854f3));return _0x2b1357;}});}());}));}(Ce)),Ce[_0xda8c1c(0x2dd)];}var Vi=me[_0x529853(0x2dd)],nt;function At(){var _0x1d142d=_0x529853;return nt||(nt=0x1,function(_0x489e2c,_0x1f5b77){(function(_0x34f7ea,_0xe8c196,_0xe97548){var _0x115ce8=_0x4573;_0x489e2c[_0x115ce8(0x2dd)]=_0xe8c196(ee(),$i(),Fi());}(Vi,function(_0x27e937){var _0x123f16=_0x4573;return(function(){var _0x5eb57c=_0x4573,_0x26fa93=_0x27e937,_0x142c11=_0x26fa93[_0x5eb57c(0x3ed)],_0x44a8f3=_0x142c11['Base'],_0x4e2c00=_0x142c11['WordArray'],_0x5c71da=_0x26fa93['algo'],_0x115ec8=_0x5c71da[_0x5eb57c(0xb6)],_0x438cae=_0x5c71da[_0x5eb57c(0x30a)]=_0x44a8f3[_0x5eb57c(0x158)]({'cfg':_0x44a8f3[_0x5eb57c(0x158)]({'keySize':0x80/0x20,'hasher':_0x115ec8,'iterations':0x1}),'init':function(_0x4b2b85){var _0x3cb8af=_0x5eb57c;this[_0x3cb8af(0x18c)]=this[_0x3cb8af(0x18c)][_0x3cb8af(0x158)](_0x4b2b85);},'compute':function(_0x27ee47,_0x2f92b2){var _0x5d13e8=_0x5eb57c;for(var _0x1f2e0c,_0x328ba1=this[_0x5d13e8(0x18c)],_0x2aa9b1=_0x328ba1[_0x5d13e8(0x204)][_0x5d13e8(0x138)](),_0x4bf978=_0x4e2c00[_0x5d13e8(0x138)](),_0x2761a6=_0x4bf978[_0x5d13e8(0x279)],_0xb4d668=_0x328ba1['keySize'],_0x3c6631=_0x328ba1['iterations'];_0x2761a6[_0x5d13e8(0x102)]<_0xb4d668;){_0x1f2e0c&&_0x2aa9b1[_0x5d13e8(0xe0)](_0x1f2e0c),_0x1f2e0c=_0x2aa9b1[_0x5d13e8(0xe0)](_0x27ee47)[_0x5d13e8(0x81)](_0x2f92b2),_0x2aa9b1['reset']();for(var _0x4ab0ac=0x1;_0x4ab0ac<_0x3c6631;_0x4ab0ac++)_0x1f2e0c=_0x2aa9b1[_0x5d13e8(0x81)](_0x1f2e0c),_0x2aa9b1['reset']();_0x4bf978[_0x5d13e8(0x10d)](_0x1f2e0c);}return _0x4bf978[_0x5d13e8(0x226)]=_0xb4d668*0x4,_0x4bf978;}});_0x26fa93[_0x5eb57c(0x30a)]=function(_0x34b277,_0x114395,_0x327567){var _0x223c3c=_0x5eb57c;return _0x438cae[_0x223c3c(0x138)](_0x327567)['compute'](_0x34b277,_0x114395);};}()),_0x27e937[_0x123f16(0x30a)];}));}(me)),me[_0x1d142d(0x2dd)];}var Te={'exports':{}},Wi=Te[_0x529853(0x2dd)],rt;function _0x44ed(){var _0xc652d9=['_changesetSessionId','c1Prime','SheetTransformSelectionsService','_cipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SEND_CHANGESET_TIMEOUT','MentionIoHttpService','_clearRedo','listCollaborators','_sessionStatus$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_awaitingChangeset','_handler','PendingState','_minBufferSize','BASE64','onStarting','substr','createDecryptor','default','values','prototype','mixIn','forEach','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collaboratorID','unitInfo$','EmptyMutation','RevisionService','_collaborationPaused','AES','SHA1','ERROR_IMAGE_TYPE','_imageSourceCache','_remoteChangesetQueue','words','INTERNAL_ERROR','_initDependencies','_prevBlock','byteLength','textEncoder','baseRev','size','change$','sid','YUUMI_UNABLE_LOAD_URL','textRanges','permissionRejEvent','addHandlerCallback','_sessions','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UnitStatus','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getOwnPropertyDescriptor','ws://127.0.0.1:8000/universer-api/comb/connect','[CollaborationSession]','avatar','_HTTPService','FetchingMissState','ThresholdInterceptorFactory','_unitID','_onRemoteACK','HTTPService','_undoStacks','rev','push','url','x-univer-host','EXCHANGE_SIGN_URL_SERVER_URL_KEY','clear','Subject','NEW_CHANGESETS','onTransformRemoteChangesetByStateCache','_scheduleCollaborationTimeoutTimer','_joinRoom','sequenceExecute','_localeService','CompressMutationService','socket\x20close','getValue','/allowed','m2Prime','NOT_FOUND','capture','_waitForHeartbeatResponse','_initRequestHeader','isInternalEditorID','[SyncedState]:\x20received\x20acknowledgement.','YUUMI_ASYNCIO_CANCELLED','/rev/','symbol','removeMember','UNDEFINED','result','generateRandomId','getUnitType','/universer-api/snapshot/','COMPRESS_MUTATION_APPLY','CollaborationStatus','_loadDoc','format','getConfig','copyFileMeta','complete','disableLocalCache','add','_change$','withCredentials','confirm','liveShareNewHost','_socketMessageSubscription','_hasher','hostname','encryptBlock','getGlobalObject','_toggleOnline','apply','LocalUndoRedoService','stringify','[DataLoaderService]','SheetsSelectionsService','Undefined','CollaborationSessionService','_resendTimer','_getSignURL','_clearTimeoutTimer','indexOf','CollaborationImageIoService','type','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','leaveEvent','executeCommand','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','duration','exports','JOIN','deepClone','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','&assign=','saveImage','formatter','code','key','get','transformMutationsWithChangeset','_append','updateMember','SheetCollaborationEntity','[CollaborationState]:\x20apply\x20error!','action','YUUMI_RATE_OVER_LIMIT','csAckEvent','subUnitId','_permissionService','SUCCUSS','_map','_createInitialState','ICommandService','UNKNOWN_CODE','UNAUTHENTICATED','$super','ivSize','&source=','18YVIJju','APPLY_DUPLICATED','WorkbookEditablePermission','readyForCollab','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','COLLAB_SUBMIT_CHANGESET_URL','univer-pro.collaboration-client-socket-service','_snapshotService','SnapshotService','_nDataBytes','HMAC','UNRECOGNIZED','RETRY_CONNECTING_MAX_COUNT','collaboration-client.config','_collaborationUIEventService','EvpKDF','INGEST','_shouldReportTelemetry','getActiveSheet','JSONX','parseProtocolChangeset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','liveShareOperation','_onConnectionFailed','{fileID}','CollaborationController','BlockCipher','NoPadding','_onOffline','editing\x20status\x20changed\x20to','_clearRetryConnectingTimer','_loadSheet','55NAyWRa','Workbook','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','init','sessionStatus$','_onCombEvent','_onUserLeave','joinEvent','_telemetryInfo','mapDocumentTypeToUniverType','COLLAB_WEB_SOCKET_URL','_toggleOffline','objects','\x20to\x20','updateOfflineData','_getCtorByUniverType','PSEUDO_FETCH_MISSING_RESULT','string','isTransformChangesetsSuccess','merge','workbook','44560XEHotE','/universer-api/authz','LOGIN_URL_KEY','RETRY_CONNECTING_MAX_COUNT_KEY','override','_collaborationTimeoutTimer','compute','toString','_singleActiveUnitService','GLOBAL_ROOMS_CNT_EXCEEDS','session','getLocalCacheKey','revision','random','_oKey','UnitEmbedded','onCommentUpdate','take','_transformUndoredo','memberID','now','authzUrl','_clearScheduledTask','465708cmLjnU','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[SyncedState]:\x20received\x20rejection.','_roomCreated$','requestParams','splice','People','createIdentifier','takeUntil','260872soJkMb','range','AwaitingState','has','/new_changes','AuthzIoHttpService','find','_event$','encrypt','toggleOffline','readAsDataURL','dispose$','ERROR_IMAGE','kdf','_throwTelemetryCollaborationNewChangeset','CHANGESET_REJ','SEND_CHANGESET_TIMEOUT_KEY','_httpService','_keyPriorReset','UnitSnapshot','_emitMembers','readInt32LE','_checkMissing','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_queuedRemoteChangesets','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','algo','parse','UniverCollaborationPlugin','Hex','_createInitialStateImpl','Encryptor','161tJbiAg','_parse','AUTHZ_URL_KEY','_sendingTimer','_doCreateSocket','firstValueFrom','SnapshotServerOverHTTPService','isArray','batchAllowed','DEFAULT_FILE_NAME','_reverseMap','AWAITING_WITH_PENDING','getMemberID','1011352eKWlax','COLLAB_SUBMIT_CHANGESET_URL_KEY','MentionType','from','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','saveChangeset','collaMsg','getCollabEntity','_lockTransition','mutations','FAIL','state','_isPermissionRej','_redoStacks','[PendingState]:\x20received\x20acknowledgement.','Utf8','enc','CONFLICT','CLOSE_ROOM','call','_transformSelections','POST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','compose','objectType','getTime','CollaborationSession','ConflictState','/-/object/list','_members$','Tools','HEARTBEAT_INTERVAL_KEY','BehaviorSubject','COMPLETION_FINISHED','eventID','close$','SUBMIT_CHANGESET','collabWebSocketUrl','LIVESHARE_REQUEST_HOST','mergeOverrideWithDependencies','RxDisposable','JOINING','__esModule','PENDING','_members','YUUMI_URL_COL_OUT_OF_RANGE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_iKey','HTTPRequest','getTypeOfUnitDisposed$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client.single-active-unit-service','COMMENT_UPDATE','_getRedoStack','_initUnitPermissionChange','/object','fetchMiss','TOO_MANY_REQUESTS','ImageSourceType','saveSheetBlock','replace','/object/','@univerjs/sheets','_incrementRevisionNumber','_init','createCollaborator','_waitCount','/universer-api/snapshot','hasOwnProperty','DisposableCollection','_replayCachedMutations','_onLocalMutation','roomInfos','[CollaborationUndoRedoService]','_executeRemoteChangeset','HEARTBEAT','_socketReady','_sendHeartbeat','csShouldRetryEvent','_retryCount','ILocalCacheService','/universer-api/uniscript','_applyRemoteChangeset','uploadFileServerUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryService','_configService','file','sheets','_transformRemoteChangesetByStateCache','Failed\x20to\x20update\x20permission\x20point','then','abs','DEFAULT_WS_SESSION_TICKET_URL','commentUpdate$','[CollaborationEntity]','INVALID_INVITE_CODE','onLocalMutation','APPLY_NON_SEQUENTIAL_REVISION','_acknowledgedAwaitingChangeset','map','msCrypto','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_entities','collaborators','UniverInstanceType','ISnapshotServerService','lib','onTransformRemoteChangesetByIMECache','offline','concatMap','ReplaySubject','pluginName','roles','UNIVER_COLLABORATION_CLIENT_PLUGIN','set','_listenToNetworkCondition','1NRZSpw','LIVESHARE_NEW_HOST','onRemoteRetry','ISingleActiveUnitService','CollaborationSocketService','_fetchMissChangesets','BlockCipherMode','localeService','_tryReconnect','pipe','localCacheService','_mode','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Cipher','reconnect','COLLAB_WEB_SOCKET_URL_KEY','actions','_getSendChangesetTimeout','finalize','WordArray','HEARTBEAT_TIMEOUT_KEY','refreshPermission','addImageSourceCache','state$','_onConnectionOpen','CONNECTOR_DATA_TOO_LARGE','createInstance','image/png','_scheduleCompleteTimestamp','LICENSE_MAX_UNITS_EXCEEDED','_DEC_XFORM_MODE','_transformIMECache','loadDoc','socket$','_commentService','_submitChangeset','_updateState','PY_RUNTIME_SCRIPT_ERROR','Malformed\x20UTF-8\x20data','function','_syncEditingCollabCursor','getUnitStatus$','pauseCollaboration','_replaceFileID','_startCollaboration','_onRemoteChangeset','commentUpdateEvent','YUUMI_NO_CUBOID_FOR_QUESTION','getSheetId','UNIVER_SLIDE','_state$','stopTime','Hasher','_doFinalize','_tryEnsureSocket','_schedule','userID','_doCryptBlock','serializeCombRequest','floor','blockSize','_revisionService','awaiting_with_pending','SNAPSHOT_INVALID_SNAPSHOT','JOIN_ROOM_PERMISSION_DENIED','deleteCollaborator','LEAVE','_hash','_resendWithTimeout','_resendTimeout','UserProfileImg','MD5','IPermissionService','asObservable','MOBILE_HAS_BEEN_BOUND','_onRemoteRejected','collaboration_new_changeset','fromCollab','HttpExport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','loginUrlKey','LocaleService','closeSession','SHOULD_CLOSE_CONN','message$','salt','loadOfflineData','USERS_LEAVE','_entityInit$','LIVESHARE_OPERATION','PERSON','put','SNAPSHOT_SERVER_URL_KEY','charCodeAt','BufferedBlockAlgorithm','USER_NOT_INVITED_CODE','deserializeToCombResponse','body','enableSingleActiveInstanceLock','join','getCurrentRevOfUnit','APPLY_REVISION_CONFILICT','retryConnectingInterval','_getUndoStack','4525740iHURhm','cmd','onMissingChangesets','/fetchmissing?from=','_iv','Pkcs7','ciphertext','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','update','/unit/','/collaborator','delete','UniverCollaborationClientPlugin','pad','_getLoginPath','members','keySize','_compressMutationService','onRemoteChangeset','ceil','SyncedState','infoRsp','fromCharCode','collabSubmitChangesetUrl','getRandomValues','randomUUID','ERROR_EXCEED_SIZE','catch','reqId','patch','_roomMembers','_unlockTransition','InsertSheetMutation','fetchThroughInterceptors','not_collab','FileId','telemetry\x20info\x20is\x20not\x20initialized','SUBMIT_CHANGESET_TIMEOUT','image/bmp','_getAPIPrefixPath','LIVESHARE_TERMINATE','image/gif','length','[PendingState]:\x20received\x20rejection.','UNKNOWN_CMD','Inject','UPDATE_CURSOR','_univerInstanceService','conflict','7876080KyCyVf','createEncryptor','_initCloseConn','waitForRoom$','concat','reset','getTypeOfUnitAdded$','_key','onTransformSelections','UNIVER_SHEET','_injector','online$','Base64','fetchMissingChangesets','_getCurrentRevision','FETCH_MISSING','putCollaborators','post','/universer-api/file/{fileID}/sign-url','SNAPSHOT_URL_KEY','open$','_candidateSocket','_updateStatus','JOIN_ROOM_FULL','_clearHeartbeatTimer','emitEvent','_showConflictNotification','univer-pro.collaboration-client.network-condition.service','every','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','session.room-permission-denied','__Key__','snapshotServerUrl','_createSocket','findIndex','_getUploadFileURL','getSnapshotAPIPath','_snapshotServerService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/-/object/-/batch_allowed','_onRecvEvent','UPDATE_PERMISSION_OBJ','_retryConnectingTimer','MergeInterceptorFactory','UNIVER_PROJECT','getUnitId','responseType','create','_instanceService','NOT_COLLAB','_removeRoom','createSocket','onSendChangeset','ITelemetryService','HELLO','IUndoRedoService','IDLE','HEARTBEAT_TIMEOUT','_updateLocalCache','UniverNetworkPlugin','_xformMode','_startTelemetryCollaborationNewChangeset','_decreaseWaiting','socket\x20open.','unitId','signUrlServerUrl','onSyncEditingCollabCursor','setConfig','_onRemoteRetry','event$','data','DEFAULT_COLLAB_WEB_SOCKET_URL','CollaborationEntity','_localCacheService','_handlerCallback','Rectangle','unit-cache-','disposeWithMe','PasswordBasedCipher','extend','_state','processBlock','originalMeta','_transformRemoteChangesetByIMECache','_type','_nRounds','HttpImport','CollaborationEvent','toDisposable','_commandService','__creator','_onJoinRoomEvent','sessionStatus','_config','ALREADY_EXISTS','ImageUploadStatusType','_socketService','RichTextEditingMutation','_socket$','rng','_undoRedoService','@univerjs-pro/collaboration','OTHER_CLIENTS_EDITING','_transformStack','DataLoaderService','slice','fetch_missing','IImageIoService','_createHmacHelper','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','updateCursorEvent','USERS_ENTER','[CollaborationSessionService]','_disableEditing','getCurrentUser','_keySchedule','rxjs/operators','AwaitingWithPendingState','/universer-api/user/session-ticket','_registerDependencies','resend','clamp','JOIN_ROOM_FAILED','Module','_doReset','location','getInterceptPoints','method','HmacSHA1','Plugin','cfg','reject','ILogService','status','Optional','SessionStatus','unsubscribe','\x20in\x20_schedule.','INVITE_CODE_ALREADY_BOUND','[UniverCollaborationClientPlugin]','isTransformMutationsWithChangesetFailure','_getAPIPrefix','COMPRESS_MUTATION_SEND','_status$','_substituteUndoStack','UNISCRIPT_RUN','MemberService','@univerjs/core','EMAIL_HAS_BEEN_BOUND','SYNCED','next','_eventService','_ENC_XFORM_MODE','_onUserJoin','getWorkbookSelections','setShowComponents','CHANGESET_ACK','headers','synced','sin','Quantity','encode','PERMISSION_DENIED','OTHER_CLIENT_EDITING','getFocusedUnit','execute','DependentOn','IContextService','CHANGESET_SHOULD_RETRY','getCollabEntity$','getCurrentSelections','CipherParams','LICENSE_EXPORT_SIZE_EXCEEDED','unknown','ONLINE','_onFetchMissResult','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','reduce','bind','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getDownloadEndpointURL','transformChangesets','_createHandler','Decryptor','charAt','_sender','_sendHeartbeatTimer','_invKeySchedule','_transitionLocked','error$','crypto','pending','Univer','_logService','transformSelections','toggleOnline','unitId\x20is\x20not\x20found','getDeserializedSheetBlock','_sheetTransformSelectionsService','dispose','MUTATION','editingUnit','isTransformMutationsWithChangesetSuccess','onload','registerDependencies','_unitInfo$','IConfigService','error','filter','_rescheduleHeartbeat','getUnitOnRev','_onConflict','DocCollaborationEntity','failed\x20to\x20apply\x20missed\x20changesets!','submit\x20changeset\x20error!','getImageSourceCache','OfflineState','snapshot','_pendingMutations','_socket','SetSelectionsOperation','NO_OTHER_CLIENTS_EDITING','_data','3943195HhkDWt','[OfflineState]:\x20received\x20rejection.','HmacMD5','_process','_collaborationSessionService','_memberService','shouldCloseConn','onRemoteRej','_clearLocalCache','CHANGESET_REVISION_CONFILICT','send','&to=','onlyLocal','INVITE_CODE_HAS_BEEN_UES','b64DecodeUnicode','UserManagerService','_createHelper','onTransformIME','getResourcesRequest','awaitingChangeset','interceptor','JOIN_ROOM_NOT_EXISTS','registerHTTPInterceptor','objectID','initWorkbookPermissionChange','Injector','hasher','Disposable','onMissedChangesetFetched','defineProperty','\x0aCurrent:\x20','json','unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','decrypt','?size=','close','connection\x20error','routeKey','RECV','HEARTBEAT_INTERVAL','awaiting','ITransformService','repeat','list','_transformService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getAllMembers','/block/','onCommandExecuted','padding','SheetPermissionInitController','_networkConditionService','unpad','clone','loadSheet','collaboration-client.local-cache-service','setCurrentUser','AWAITING','selections','sigBytes','MSG_FOR_ERROR','href','onTransformState','SOCKET_FAILED_RETRY','onRemoteAck','UNIVER_DOC','_commentUpdate$','OFFLINE','FETCH_MISS','equals','ICollaborationSocketService','_timeoutTimer','LOCAL_CACHE_INTERVAL','allowed','getMember','updatePermissionObjEvent','params','\x20-\x20','parseChangesetToProtocol','reverse','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','status$','/universer-api/stream/file/upload','debug','_userManagerService','appendMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_UNKNOWN','LICENSE_IMPORT_SIZE_EXCEEDED','saveSnapshot','getRoom','delay','updateCollaborator','@univerjs-pro/license','IUniverInstanceService','entityInit$','CollaborativeUndoRedoService','_changesetReqId','_initMergeInterceptor','requireSession','decryptBlock','mode','name','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','isPermissionRej','APPLY_REJECT','buffer'];_0x44ed=function(){return _0xc652d9;};return _0x44ed();}function Pt(){return rt||(rt=0x1,function(_0xea52d3,_0x4f3644){(function(_0x1587d6,_0x36a7ee,_0x5527be){var _0x472846=_0x4573;_0xea52d3[_0x472846(0x2dd)]=_0x36a7ee(ee(),At());}(Wi,function(_0x22b986){var _0x4c3da8=_0x4573;_0x22b986[_0x4c3da8(0x3ed)][_0x4c3da8(0x7c)]||function(_0x39dd53){var _0x291708=_0x4c3da8,_0x506c0e=_0x22b986,_0x1c917a=_0x506c0e[_0x291708(0x3ed)],_0x17721a=_0x1c917a['Base'],_0x474cec=_0x1c917a[_0x291708(0x82)],_0x36206f=_0x1c917a[_0x291708(0xce)],_0x46d886=_0x506c0e[_0x291708(0x38e)];_0x46d886[_0x291708(0x38d)];var _0x29bdf0=_0x46d886[_0x291708(0x115)],_0x2501d5=_0x506c0e['algo'],_0x49874d=_0x2501d5['EvpKDF'],_0x36608c=_0x1c917a[_0x291708(0x7c)]=_0x36206f['extend']({'cfg':_0x17721a[_0x291708(0x158)](),'createEncryptor':function(_0x181245,_0x538c27){var _0x128ad5=_0x291708;return this[_0x128ad5(0x138)](this[_0x128ad5(0x1a2)],_0x181245,_0x538c27);},'createDecryptor':function(_0x244516,_0x34c790){var _0x4ef8bb=_0x291708;return this[_0x4ef8bb(0x138)](this[_0x4ef8bb(0x8d)],_0x244516,_0x34c790);},'init':function(_0x1709ae,_0x34da49,_0x44b501){var _0x3fb918=_0x291708;this['cfg']=this[_0x3fb918(0x18c)][_0x3fb918(0x158)](_0x44b501),this[_0x3fb918(0x145)]=_0x1709ae,this[_0x3fb918(0x110)]=_0x34da49,this[_0x3fb918(0x10e)]();},'reset':function(){var _0x580851=_0x291708;_0x36206f[_0x580851(0x10e)][_0x580851(0x391)](this),this[_0x580851(0x186)]();},'process':function(_0x27a7b5){var _0x220102=_0x291708;return this[_0x220102(0x2e8)](_0x27a7b5),this['_process']();},'finalize':function(_0x4bf02b){var _0x453b3b=_0x291708;_0x4bf02b&&this['_append'](_0x4bf02b);var _0x5708ce=this[_0x453b3b(0xa4)]();return _0x5708ce;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16fcb2(_0xc6d765){var _0x5a3fe3=_0x4573;return typeof _0xc6d765==_0x5a3fe3(0x32c)?_0x4dd511:_0xed4a4f;}return function(_0x260ca6){return{'encrypt':function(_0x3c4629,_0x4ec840,_0x8e9b08){return _0x16fcb2(_0x4ec840)['encrypt'](_0x260ca6,_0x3c4629,_0x4ec840,_0x8e9b08);},'decrypt':function(_0x2d6625,_0x451ae0,_0x129a42){var _0xf61de0=_0x4573;return _0x16fcb2(_0x451ae0)[_0xf61de0(0x20c)](_0x260ca6,_0x2d6625,_0x451ae0,_0x129a42);}};};}())});_0x1c917a['StreamCipher']=_0x36608c[_0x291708(0x158)]({'_doFinalize':function(){var _0x30534b=this['_process'](!0x0);return _0x30534b;},'blockSize':0x1});var _0x2927cb=_0x506c0e[_0x291708(0x250)]={},_0x120943=_0x1c917a[_0x291708(0x3fd)]=_0x17721a[_0x291708(0x158)]({'createEncryptor':function(_0x4c162b,_0x2cdef9){var _0x3b3ed0=_0x291708;return this[_0x3b3ed0(0x36f)][_0x3b3ed0(0x138)](_0x4c162b,_0x2cdef9);},'createDecryptor':function(_0x55ebf2,_0x196e9a){var _0x46997e=_0x291708;return this[_0x46997e(0x1c2)][_0x46997e(0x138)](_0x55ebf2,_0x196e9a);},'init':function(_0x3aba58,_0x295b5f){this['_cipher']=_0x3aba58,this['_iv']=_0x295b5f;}}),_0x6d9d48=_0x2927cb[_0x291708(0x3d4)]=(function(){var _0x39004b=_0x291708,_0x201f26=_0x120943[_0x39004b(0x158)]();_0x201f26[_0x39004b(0x36f)]=_0x201f26[_0x39004b(0x158)]({'processBlock':function(_0x53abaa,_0x4a0cf7){var _0x188ab0=_0x39004b,_0x252cdd=this[_0x188ab0(0x259)],_0x446e5d=_0x252cdd[_0x188ab0(0xab)];_0x1ef01c[_0x188ab0(0x391)](this,_0x53abaa,_0x4a0cf7,_0x446e5d),_0x252cdd[_0x188ab0(0x2c7)](_0x53abaa,_0x4a0cf7),this['_prevBlock']=_0x53abaa[_0x188ab0(0x172)](_0x4a0cf7,_0x4a0cf7+_0x446e5d);}}),_0x201f26[_0x39004b(0x1c2)]=_0x201f26[_0x39004b(0x158)]({'processBlock':function(_0x17867c,_0x108973){var _0x5eae3c=_0x39004b,_0x5af637=this[_0x5eae3c(0x259)],_0x480139=_0x5af637[_0x5eae3c(0xab)],_0x3a5f31=_0x17867c[_0x5eae3c(0x172)](_0x108973,_0x108973+_0x480139);_0x5af637[_0x5eae3c(0x24f)](_0x17867c,_0x108973),_0x1ef01c[_0x5eae3c(0x391)](this,_0x17867c,_0x108973,_0x480139),this[_0x5eae3c(0x27c)]=_0x3a5f31;}});function _0x1ef01c(_0x4b97ce,_0x382087,_0x3a87f2){var _0x18c051=_0x39004b,_0x4fd964,_0x1f3cf9=this[_0x18c051(0xdc)];_0x1f3cf9?(_0x4fd964=_0x1f3cf9,this[_0x18c051(0xdc)]=_0x39dd53):_0x4fd964=this[_0x18c051(0x27c)];for(var _0x5e67a6=0x0;_0x5e67a6<_0x3a87f2;_0x5e67a6++)_0x4b97ce[_0x382087+_0x5e67a6]^=_0x4fd964[_0x5e67a6];}return _0x201f26;}()),_0x1bc746=_0x506c0e[_0x291708(0xe5)]={},_0x299bda=_0x1bc746[_0x291708(0xdd)]={'pad':function(_0x4d94ec,_0x1370bd){var _0x36829d=_0x291708;for(var _0x12213b=_0x1370bd*0x4,_0x4b14dd=_0x12213b-_0x4d94ec['sigBytes']%_0x12213b,_0x372120=_0x4b14dd<<0x18|_0x4b14dd<<0x10|_0x4b14dd<<0x8|_0x4b14dd,_0x9721d5=[],_0x5f055a=0x0;_0x5f055a<_0x4b14dd;_0x5f055a+=0x4)_0x9721d5[_0x36829d(0x297)](_0x372120);var _0x4ddbe4=_0x474cec[_0x36829d(0x138)](_0x9721d5,_0x4b14dd);_0x4d94ec[_0x36829d(0x10d)](_0x4ddbe4);},'unpad':function(_0x46a3a9){var _0x9e8485=_0x291708,_0x3e359c=_0x46a3a9[_0x9e8485(0x279)][_0x46a3a9[_0x9e8485(0x226)]-0x1>>>0x2]&0xff;_0x46a3a9['sigBytes']-=_0x3e359c;}};_0x1c917a['BlockCipher']=_0x36608c[_0x291708(0x158)]({'cfg':_0x36608c[_0x291708(0x18c)]['extend']({'mode':_0x6d9d48,'padding':_0x299bda}),'reset':function(){var _0x176eb6=_0x291708,_0x441836;_0x36608c['reset'][_0x176eb6(0x391)](this);var _0x5d525c=this[_0x176eb6(0x18c)],_0xe9b35e=_0x5d525c['iv'],_0x2327b4=_0x5d525c[_0x176eb6(0x250)];this['_xformMode']==this[_0x176eb6(0x1a2)]?_0x441836=_0x2327b4[_0x176eb6(0x10a)]:(_0x441836=_0x2327b4[_0x176eb6(0x268)],this[_0x176eb6(0x264)]=0x1),this[_0x176eb6(0x7a)]&&this[_0x176eb6(0x7a)]['__creator']==_0x441836?this[_0x176eb6(0x7a)][_0x176eb6(0x31e)](this,_0xe9b35e&&_0xe9b35e[_0x176eb6(0x279)]):(this[_0x176eb6(0x7a)]=_0x441836[_0x176eb6(0x391)](_0x2327b4,this,_0xe9b35e&&_0xe9b35e[_0x176eb6(0x279)]),this[_0x176eb6(0x7a)][_0x176eb6(0x163)]=_0x441836);},'_doProcessBlock':function(_0x535fa7,_0x3760f1){var _0x2a43ab=_0x291708;this[_0x2a43ab(0x7a)][_0x2a43ab(0x15a)](_0x535fa7,_0x3760f1);},'_doFinalize':function(){var _0x2b5e99=_0x291708,_0x354451,_0x1320be=this[_0x2b5e99(0x18c)][_0x2b5e99(0x21c)];return this[_0x2b5e99(0x145)]==this['_ENC_XFORM_MODE']?(_0x1320be[_0x2b5e99(0xe5)](this[_0x2b5e99(0x1e9)],this[_0x2b5e99(0xab)]),_0x354451=this[_0x2b5e99(0x1ed)](!0x0)):(_0x354451=this[_0x2b5e99(0x1ed)](!0x0),_0x1320be[_0x2b5e99(0x21f)](_0x354451)),_0x354451;},'blockSize':0x80/0x20});var _0xd9c995=_0x1c917a[_0x291708(0x1b5)]=_0x17721a[_0x291708(0x158)]({'init':function(_0x3a33cd){this['mixIn'](_0x3a33cd);},'toString':function(_0x3561fd){var _0x247fd6=_0x291708;return(_0x3561fd||this[_0x247fd6(0x2e3)])[_0x247fd6(0x2cc)](this);}}),_0x4fd83b=_0x506c0e[_0x291708(0x2ba)]={},_0x4593f9=_0x4fd83b['OpenSSL']={'stringify':function(_0x437cd4){var _0x40deb8=_0x291708,_0x39577c,_0x526ac2=_0x437cd4[_0x40deb8(0xde)],_0x655c7d=_0x437cd4[_0x40deb8(0xc5)];return _0x655c7d?_0x39577c=_0x474cec[_0x40deb8(0x138)]([0x53616c74,0x65645f5f])[_0x40deb8(0x10d)](_0x655c7d)['concat'](_0x526ac2):_0x39577c=_0x526ac2,_0x39577c['toString'](_0x29bdf0);},'parse':function(_0x40594e){var _0x5e76a8=_0x291708,_0x20ecb7,_0x437f67=_0x29bdf0[_0x5e76a8(0x36b)](_0x40594e),_0x2f83a1=_0x437f67[_0x5e76a8(0x279)];return _0x2f83a1[0x0]==0x53616c74&&_0x2f83a1[0x1]==0x65645f5f&&(_0x20ecb7=_0x474cec[_0x5e76a8(0x138)](_0x2f83a1[_0x5e76a8(0x172)](0x2,0x4)),_0x2f83a1[_0x5e76a8(0x34c)](0x0,0x4),_0x437f67[_0x5e76a8(0x226)]-=0x10),_0xd9c995[_0x5e76a8(0x138)]({'ciphertext':_0x437f67,'salt':_0x20ecb7});}},_0xed4a4f=_0x1c917a['SerializableCipher']=_0x17721a['extend']({'cfg':_0x17721a[_0x291708(0x158)]({'format':_0x4593f9}),'encrypt':function(_0x291ea7,_0x513a0b,_0x5fe11c,_0x18f4eb){var _0x1715eb=_0x291708;_0x18f4eb=this[_0x1715eb(0x18c)][_0x1715eb(0x158)](_0x18f4eb);var _0xba20b2=_0x291ea7[_0x1715eb(0x10a)](_0x5fe11c,_0x18f4eb),_0x17f549=_0xba20b2[_0x1715eb(0x81)](_0x513a0b),_0x35d6d5=_0xba20b2['cfg'];return _0xd9c995[_0x1715eb(0x138)]({'ciphertext':_0x17f549,'key':_0x5fe11c,'iv':_0x35d6d5['iv'],'algorithm':_0x291ea7,'mode':_0x35d6d5[_0x1715eb(0x250)],'padding':_0x35d6d5[_0x1715eb(0x21c)],'blockSize':_0x291ea7[_0x1715eb(0xab)],'formatter':_0x18f4eb[_0x1715eb(0x2ba)]});},'decrypt':function(_0x10f0ea,_0x33aec0,_0xcf62b5,_0x28e7d6){var _0x53cf53=_0x291708;_0x28e7d6=this[_0x53cf53(0x18c)][_0x53cf53(0x158)](_0x28e7d6),_0x33aec0=this['_parse'](_0x33aec0,_0x28e7d6[_0x53cf53(0x2ba)]);var _0x202c70=_0x10f0ea[_0x53cf53(0x268)](_0xcf62b5,_0x28e7d6)[_0x53cf53(0x81)](_0x33aec0[_0x53cf53(0xde)]);return _0x202c70;},'_parse':function(_0x185682,_0x1f4f68){var _0xd6f677=_0x291708;return typeof _0x185682==_0xd6f677(0x32c)?_0x1f4f68['parse'](_0x185682,this):_0x185682;}}),_0x4c700f=_0x506c0e[_0x291708(0x35d)]={},_0x2b45f8=_0x4c700f['OpenSSL']={'execute':function(_0x149960,_0x548e50,_0x4cf891,_0x2bd24b,_0x252006){var _0x4ed1bd=_0x291708;if(_0x2bd24b||(_0x2bd24b=_0x474cec[_0x4ed1bd(0x33d)](0x40/0x8)),_0x252006)var _0x5e1848=_0x49874d[_0x4ed1bd(0x138)]({'keySize':_0x548e50+_0x4cf891,'hasher':_0x252006})['compute'](_0x149960,_0x2bd24b);else var _0x5e1848=_0x49874d['create']({'keySize':_0x548e50+_0x4cf891})[_0x4ed1bd(0x336)](_0x149960,_0x2bd24b);var _0x15ba57=_0x474cec[_0x4ed1bd(0x138)](_0x5e1848[_0x4ed1bd(0x279)][_0x4ed1bd(0x172)](_0x548e50),_0x4cf891*0x4);return _0x5e1848['sigBytes']=_0x548e50*0x4,_0xd9c995['create']({'key':_0x5e1848,'iv':_0x15ba57,'salt':_0x2bd24b});}},_0x4dd511=_0x1c917a[_0x291708(0x157)]=_0xed4a4f[_0x291708(0x158)]({'cfg':_0xed4a4f[_0x291708(0x18c)]['extend']({'kdf':_0x2b45f8}),'encrypt':function(_0x577d73,_0x3b696d,_0x55c9d6,_0x196741){var _0x4b9d84=_0x291708;_0x196741=this['cfg'][_0x4b9d84(0x158)](_0x196741);var _0x4c6b45=_0x196741['kdf'][_0x4b9d84(0x1af)](_0x55c9d6,_0x577d73[_0x4b9d84(0xe8)],_0x577d73[_0x4b9d84(0x2f8)],_0x196741[_0x4b9d84(0xc5)],_0x196741[_0x4b9d84(0x204)]);_0x196741['iv']=_0x4c6b45['iv'];var _0x467a4b=_0xed4a4f['encrypt']['call'](this,_0x577d73,_0x3b696d,_0x4c6b45[_0x4b9d84(0x2e5)],_0x196741);return _0x467a4b['mixIn'](_0x4c6b45),_0x467a4b;},'decrypt':function(_0x54d3f4,_0x27ce5c,_0x1e387c,_0xb40454){var _0x81ce71=_0x291708;_0xb40454=this[_0x81ce71(0x18c)][_0x81ce71(0x158)](_0xb40454),_0x27ce5c=this[_0x81ce71(0x371)](_0x27ce5c,_0xb40454[_0x81ce71(0x2ba)]);var _0x361863=_0xb40454['kdf'][_0x81ce71(0x1af)](_0x1e387c,_0x54d3f4[_0x81ce71(0xe8)],_0x54d3f4[_0x81ce71(0x2f8)],_0x27ce5c['salt'],_0xb40454[_0x81ce71(0x204)]);_0xb40454['iv']=_0x361863['iv'];var _0x35743e=_0xed4a4f[_0x81ce71(0x20c)][_0x81ce71(0x391)](this,_0x54d3f4,_0x27ce5c,_0x361863['key'],_0xb40454);return _0x35743e;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x529853(0x2dd)],st;function Ki(){var _0x23c721=_0x529853;return st||(st=0x1,function(_0x462454,_0x4f0350){(function(_0x4a4dc0,_0x146539,_0x531c09){var _0x1c5d5a=_0x4573;_0x462454[_0x1c5d5a(0x2dd)]=_0x146539(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x34a637){return(function(){var _0x16b1cb=_0x4573,_0x1be5a8=_0x34a637,_0x224cac=_0x1be5a8['lib'],_0x2b2245=_0x224cac[_0x16b1cb(0x315)],_0x31066d=_0x1be5a8[_0x16b1cb(0x36a)],_0x5e301c=[],_0x540c1b=[],_0x2c7f7c=[],_0x4286ef=[],_0x13b52a=[],_0x32d834=[],_0x565a3a=[],_0x4b48e6=[],_0x58a87a=[],_0x59b9ec=[];(function(){for(var _0x5d1c9c=[],_0x524d93=0x0;_0x524d93<0x100;_0x524d93++)_0x524d93<0x80?_0x5d1c9c[_0x524d93]=_0x524d93<<0x1:_0x5d1c9c[_0x524d93]=_0x524d93<<0x1^0x11b;for(var _0x9dab38=0x0,_0x1c3caf=0x0,_0x524d93=0x0;_0x524d93<0x100;_0x524d93++){var _0x44eb76=_0x1c3caf^_0x1c3caf<<0x1^_0x1c3caf<<0x2^_0x1c3caf<<0x3^_0x1c3caf<<0x4;_0x44eb76=_0x44eb76>>>0x8^_0x44eb76&0xff^0x63,_0x5e301c[_0x9dab38]=_0x44eb76,_0x540c1b[_0x44eb76]=_0x9dab38;var _0x55660f=_0x5d1c9c[_0x9dab38],_0x3b2f74=_0x5d1c9c[_0x55660f],_0x3f9341=_0x5d1c9c[_0x3b2f74],_0x2fab5f=_0x5d1c9c[_0x44eb76]*0x101^_0x44eb76*0x1010100;_0x2c7f7c[_0x9dab38]=_0x2fab5f<<0x18|_0x2fab5f>>>0x8,_0x4286ef[_0x9dab38]=_0x2fab5f<<0x10|_0x2fab5f>>>0x10,_0x13b52a[_0x9dab38]=_0x2fab5f<<0x8|_0x2fab5f>>>0x18,_0x32d834[_0x9dab38]=_0x2fab5f;var _0x2fab5f=_0x3f9341*0x1010101^_0x3b2f74*0x10001^_0x55660f*0x101^_0x9dab38*0x1010100;_0x565a3a[_0x44eb76]=_0x2fab5f<<0x18|_0x2fab5f>>>0x8,_0x4b48e6[_0x44eb76]=_0x2fab5f<<0x10|_0x2fab5f>>>0x10,_0x58a87a[_0x44eb76]=_0x2fab5f<<0x8|_0x2fab5f>>>0x18,_0x59b9ec[_0x44eb76]=_0x2fab5f,_0x9dab38?(_0x9dab38=_0x55660f^_0x5d1c9c[_0x5d1c9c[_0x5d1c9c[_0x3f9341^_0x55660f]]],_0x1c3caf^=_0x5d1c9c[_0x5d1c9c[_0x1c3caf]]):_0x9dab38=_0x1c3caf=0x1;}}());var _0x145093=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b6787=_0x31066d[_0x16b1cb(0x274)]=_0x2b2245['extend']({'_doReset':function(){var _0x383f24=_0x16b1cb,_0x50763e;if(!(this[_0x383f24(0x15e)]&&this[_0x383f24(0x362)]===this[_0x383f24(0x110)])){for(var _0x963c06=this[_0x383f24(0x362)]=this['_key'],_0x11e899=_0x963c06[_0x383f24(0x279)],_0x3a308d=_0x963c06[_0x383f24(0x226)]/0x4,_0x5f146b=this[_0x383f24(0x15e)]=_0x3a308d+0x6,_0x1dcdf3=(_0x5f146b+0x1)*0x4,_0x43456e=this[_0x383f24(0x17d)]=[],_0x26fe5e=0x0;_0x26fe5e<_0x1dcdf3;_0x26fe5e++)_0x26fe5e<_0x3a308d?_0x43456e[_0x26fe5e]=_0x11e899[_0x26fe5e]:(_0x50763e=_0x43456e[_0x26fe5e-0x1],_0x26fe5e%_0x3a308d?_0x3a308d>0x6&&_0x26fe5e%_0x3a308d==0x4&&(_0x50763e=_0x5e301c[_0x50763e>>>0x18]<<0x18|_0x5e301c[_0x50763e>>>0x10&0xff]<<0x10|_0x5e301c[_0x50763e>>>0x8&0xff]<<0x8|_0x5e301c[_0x50763e&0xff]):(_0x50763e=_0x50763e<<0x8|_0x50763e>>>0x18,_0x50763e=_0x5e301c[_0x50763e>>>0x18]<<0x18|_0x5e301c[_0x50763e>>>0x10&0xff]<<0x10|_0x5e301c[_0x50763e>>>0x8&0xff]<<0x8|_0x5e301c[_0x50763e&0xff],_0x50763e^=_0x145093[_0x26fe5e/_0x3a308d|0x0]<<0x18),_0x43456e[_0x26fe5e]=_0x43456e[_0x26fe5e-_0x3a308d]^_0x50763e);for(var _0x369caa=this[_0x383f24(0x1c6)]=[],_0x3d3cc0=0x0;_0x3d3cc0<_0x1dcdf3;_0x3d3cc0++){var _0x26fe5e=_0x1dcdf3-_0x3d3cc0;if(_0x3d3cc0%0x4)var _0x50763e=_0x43456e[_0x26fe5e];else var _0x50763e=_0x43456e[_0x26fe5e-0x4];_0x3d3cc0<0x4||_0x26fe5e<=0x4?_0x369caa[_0x3d3cc0]=_0x50763e:_0x369caa[_0x3d3cc0]=_0x565a3a[_0x5e301c[_0x50763e>>>0x18]]^_0x4b48e6[_0x5e301c[_0x50763e>>>0x10&0xff]]^_0x58a87a[_0x5e301c[_0x50763e>>>0x8&0xff]]^_0x59b9ec[_0x5e301c[_0x50763e&0xff]];}}},'encryptBlock':function(_0x2c63f2,_0x4995c5){var _0x3a2b76=_0x16b1cb;this[_0x3a2b76(0xa8)](_0x2c63f2,_0x4995c5,this[_0x3a2b76(0x17d)],_0x2c7f7c,_0x4286ef,_0x13b52a,_0x32d834,_0x5e301c);},'decryptBlock':function(_0x437317,_0x514097){var _0x53234e=_0x16b1cb,_0x227ee4=_0x437317[_0x514097+0x1];_0x437317[_0x514097+0x1]=_0x437317[_0x514097+0x3],_0x437317[_0x514097+0x3]=_0x227ee4,this[_0x53234e(0xa8)](_0x437317,_0x514097,this['_invKeySchedule'],_0x565a3a,_0x4b48e6,_0x58a87a,_0x59b9ec,_0x540c1b);var _0x227ee4=_0x437317[_0x514097+0x1];_0x437317[_0x514097+0x1]=_0x437317[_0x514097+0x3],_0x437317[_0x514097+0x3]=_0x227ee4;},'_doCryptBlock':function(_0x32a708,_0x4d70d7,_0x5accb3,_0x33e803,_0xf993d6,_0x2ac387,_0x3abc97,_0x3dba95){var _0x539031=_0x16b1cb;for(var _0xd06ce=this[_0x539031(0x15e)],_0x343e41=_0x32a708[_0x4d70d7]^_0x5accb3[0x0],_0x2aaa97=_0x32a708[_0x4d70d7+0x1]^_0x5accb3[0x1],_0xbff2e8=_0x32a708[_0x4d70d7+0x2]^_0x5accb3[0x2],_0x5527b2=_0x32a708[_0x4d70d7+0x3]^_0x5accb3[0x3],_0x4e72d9=0x4,_0x4bfd7f=0x1;_0x4bfd7f<_0xd06ce;_0x4bfd7f++){var _0x32ec78=_0x33e803[_0x343e41>>>0x18]^_0xf993d6[_0x2aaa97>>>0x10&0xff]^_0x2ac387[_0xbff2e8>>>0x8&0xff]^_0x3abc97[_0x5527b2&0xff]^_0x5accb3[_0x4e72d9++],_0x2c5ab7=_0x33e803[_0x2aaa97>>>0x18]^_0xf993d6[_0xbff2e8>>>0x10&0xff]^_0x2ac387[_0x5527b2>>>0x8&0xff]^_0x3abc97[_0x343e41&0xff]^_0x5accb3[_0x4e72d9++],_0x1531fa=_0x33e803[_0xbff2e8>>>0x18]^_0xf993d6[_0x5527b2>>>0x10&0xff]^_0x2ac387[_0x343e41>>>0x8&0xff]^_0x3abc97[_0x2aaa97&0xff]^_0x5accb3[_0x4e72d9++],_0x1dd877=_0x33e803[_0x5527b2>>>0x18]^_0xf993d6[_0x343e41>>>0x10&0xff]^_0x2ac387[_0x2aaa97>>>0x8&0xff]^_0x3abc97[_0xbff2e8&0xff]^_0x5accb3[_0x4e72d9++];_0x343e41=_0x32ec78,_0x2aaa97=_0x2c5ab7,_0xbff2e8=_0x1531fa,_0x5527b2=_0x1dd877;}var _0x32ec78=(_0x3dba95[_0x343e41>>>0x18]<<0x18|_0x3dba95[_0x2aaa97>>>0x10&0xff]<<0x10|_0x3dba95[_0xbff2e8>>>0x8&0xff]<<0x8|_0x3dba95[_0x5527b2&0xff])^_0x5accb3[_0x4e72d9++],_0x2c5ab7=(_0x3dba95[_0x2aaa97>>>0x18]<<0x18|_0x3dba95[_0xbff2e8>>>0x10&0xff]<<0x10|_0x3dba95[_0x5527b2>>>0x8&0xff]<<0x8|_0x3dba95[_0x343e41&0xff])^_0x5accb3[_0x4e72d9++],_0x1531fa=(_0x3dba95[_0xbff2e8>>>0x18]<<0x18|_0x3dba95[_0x5527b2>>>0x10&0xff]<<0x10|_0x3dba95[_0x343e41>>>0x8&0xff]<<0x8|_0x3dba95[_0x2aaa97&0xff])^_0x5accb3[_0x4e72d9++],_0x1dd877=(_0x3dba95[_0x5527b2>>>0x18]<<0x18|_0x3dba95[_0x343e41>>>0x10&0xff]<<0x10|_0x3dba95[_0x2aaa97>>>0x8&0xff]<<0x8|_0x3dba95[_0xbff2e8&0xff])^_0x5accb3[_0x4e72d9++];_0x32a708[_0x4d70d7]=_0x32ec78,_0x32a708[_0x4d70d7+0x1]=_0x2c5ab7,_0x32a708[_0x4d70d7+0x2]=_0x1531fa,_0x32a708[_0x4d70d7+0x3]=_0x1dd877;},'keySize':0x100/0x20});_0x1be5a8['AES']=_0x2b2245[_0x16b1cb(0x1fa)](_0x1b6787);}()),_0x34a637['AES'];}));}(fe)),fe[_0x23c721(0x2dd)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x529853(0x2dd)],at;function Xi(){var _0xc211ed=_0x529853;return at||(at=0x1,function(_0x4ab9cf,_0x538076){(function(_0x20543a,_0x5b161b){var _0x436753=_0x4573;_0x4ab9cf[_0x436753(0x2dd)]=_0x5b161b(ee());}(Ji,function(_0x17f65b){var _0x10a305=_0x4573;return _0x17f65b[_0x10a305(0x38e)]['Utf8'];}));}(be)),be[_0xc211ed(0x2dd)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x4717bb=_0x529853;return ct||(ct=0x1,function(_0x4bf08e,_0x29c9d9){(function(_0x255979,_0x1462ae){var _0x135738=_0x4573;_0x4bf08e[_0x135738(0x2dd)]=_0x1462ae(ee());}(en,function(_0x234c92){var _0x45fc54=_0x4573;return(function(){var _0x3bf2ad=_0x4573;if(typeof ArrayBuffer=='function'){var _0x449cd7=_0x234c92,_0xbf96d8=_0x449cd7[_0x3bf2ad(0x3ed)],_0x9543a9=_0xbf96d8[_0x3bf2ad(0x82)],_0x287626=_0x9543a9[_0x3bf2ad(0x31e)],_0x222c68=_0x9543a9[_0x3bf2ad(0x31e)]=function(_0xffd8da){var _0x4f63c0=_0x3bf2ad;if(_0xffd8da instanceof ArrayBuffer&&(_0xffd8da=new Uint8Array(_0xffd8da)),(_0xffd8da instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xffd8da instanceof Uint8ClampedArray||_0xffd8da instanceof Int16Array||_0xffd8da instanceof Uint16Array||_0xffd8da instanceof Int32Array||_0xffd8da instanceof Uint32Array||_0xffd8da instanceof Float32Array||_0xffd8da instanceof Float64Array)&&(_0xffd8da=new Uint8Array(_0xffd8da[_0x4f63c0(0x255)],_0xffd8da['byteOffset'],_0xffd8da[_0x4f63c0(0x27d)])),_0xffd8da instanceof Uint8Array){for(var _0x47fbb2=_0xffd8da[_0x4f63c0(0x27d)],_0x339c91=[],_0x2c3f59=0x0;_0x2c3f59<_0x47fbb2;_0x2c3f59++)_0x339c91[_0x2c3f59>>>0x2]|=_0xffd8da[_0x2c3f59]<<0x18-_0x2c3f59%0x4*0x8;_0x287626[_0x4f63c0(0x391)](this,_0x339c91,_0x47fbb2);}else _0x287626[_0x4f63c0(0x2ca)](this,arguments);};_0x222c68[_0x3bf2ad(0x26b)]=_0x9543a9;}}()),_0x234c92['lib'][_0x45fc54(0x82)];}));}(Re)),Re[_0x4717bb(0x2dd)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0x4d9260=_0x529853;return ht||(ht=0x1,function(_0x1f05b0,_0x259eb8){(function(_0x9a1fd5,_0xbe906c,_0x319afc){var _0xfc150=_0x4573;_0x1f05b0[_0xfc150(0x2dd)]=_0xbe906c(ee(),Pt());}(sn,function(_0x5e5c16){var _0x3bdda9=_0x4573;return _0x5e5c16[_0x3bdda9(0xe5)][_0x3bdda9(0x316)]={'pad':function(){},'unpad':function(){}},_0x5e5c16[_0x3bdda9(0xe5)][_0x3bdda9(0x316)];}));}(Oe)),Oe[_0x4d9260(0x2dd)];}var an=on();const cn=Se(an);function hn(_0x49860c,_0x145629){var _0x164fe7=_0x529853;const _0x1ccb61=_0x145629-_0x49860c[_0x164fe7(0x102)]%_0x145629,_0x1a86ee=String[_0x164fe7(0xee)](_0x1ccb61)[_0x164fe7(0x215)](_0x1ccb61);return _0x49860c+_0x1a86ee;}function _n(_0xcfe67b,_0x26a694){var _0x5bcff2=_0x529853;const _0x4690b7=rn[_0x5bcff2(0x33d)](0x10),_0x4731aa=hn(_0xcfe67b,0x10),_0x4c99b0=qi[_0x5bcff2(0x358)](Qi[_0x5bcff2(0x36b)](_0x4731aa),ot['parse'](_0x26a694),{'iv':_0x4690b7,'padding':cn});return _0x4690b7['concat'](_0x4c99b0['ciphertext'])['toString'](ot);}function ln(){var _0x4da5b0=_0x529853;const _0x3470c9=xt[_0x4da5b0(0x2c8)]()[_0x4da5b0(0x128)];if(_0x3470c9){const _0xd724f7={'time':Math[_0x4da5b0(0xaa)](Date[_0x4da5b0(0x344)]()/0x3e8),'domain':location[_0x4da5b0(0x2c6)]};return _n(JSON['stringify'](_0xd724f7),_0x3470c9);}}var un=Object[_0x529853(0x28b)],dn=(_0x5af937,_0x3c41d5,_0x324102,_0x288937)=>{var _0x45432b=_0x529853;for(var _0x20bce3=_0x288937>0x1?void 0x0:_0x288937?un(_0x3c41d5,_0x324102):_0x3c41d5,_0x21aa12=_0x5af937[_0x45432b(0x102)]-0x1,_0x574e9e;_0x21aa12>=0x0;_0x21aa12--)(_0x574e9e=_0x5af937[_0x21aa12])&&(_0x20bce3=_0x574e9e(_0x20bce3)||_0x20bce3);return _0x20bce3;},vn=(_0x2bf8dd,_0xcf8871)=>(_0x277a6c,_0x4fb70d)=>_0xcf8871(_0x277a6c,_0x4fb70d,_0x2bf8dd);let Ne=class{constructor(_0x3fb345){var _0x3d711c=_0x529853;this[_0x3d711c(0x361)]=_0x3fb345,this['_initRequestHeader']();}[_0x529853(0x2ab)](){var _0x2b49a4=_0x529853;this[_0x2b49a4(0x361)][_0x2b49a4(0x200)]({'interceptor':(_0x454bba,_0x2d4add)=>{var _0x10d806=_0x2b49a4;const _0x69503b=_0x454bba[_0x10d806(0x1a7)],_0x1742df=ln();return _0x1742df&&_0x69503b['set'](_0x10d806(0x299),_0x1742df),_0x2d4add(_0x454bba);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x529853(0x294)]))],Ne);var Sn=Object[_0x529853(0x28b)],fn=(_0x32342c,_0x31464b,_0x346599,_0x1c2ef1)=>{for(var _0xdd6eca=_0x1c2ef1>0x1?void 0x0:_0x1c2ef1?Sn(_0x31464b,_0x346599):_0x31464b,_0x435453=_0x32342c['length']-0x1,_0x5341c2;_0x435453>=0x0;_0x435453--)(_0x5341c2=_0x32342c[_0x435453])&&(_0xdd6eca=_0x5341c2(_0xdd6eca)||_0xdd6eca);return _0xdd6eca;},Me=(_0x55cf15,_0x57d748)=>(_0x418891,_0xafe30a)=>_0x57d748(_0x418891,_0xafe30a,_0x55cf15);exports[_0x529853(0x171)]=class extends a[_0x529853(0x3a6)]{constructor(_0x169753,_0x2c80ba,_0x55e27d){var _0x23b22d=_0x529853;super(),A(this,'_unitInfo$',new j[(_0x23b22d(0x39e))](null)),A(this,_0x23b22d(0x270),this[_0x23b22d(0x1d8)][_0x23b22d(0xb8)]()),(this[_0x23b22d(0x1cc)]=_0x169753,this['_snapshotService']=_0x2c80ba,this[_0x23b22d(0x152)]=_0x55e27d);}async['loadUnit'](_0x1fc438,_0x5804f4,_0x2ae1d1){var _0x504136=_0x529853;this['_unitInfo$'][_0x504136(0x1a0)]({'unitId':_0x1fc438,'type':_0x5804f4,'subUnitId':_0x2ae1d1});let _0x13a9b0=null;switch(_0x5804f4){case X[_0x504136(0x112)]:{_0x13a9b0=await this[_0x504136(0x31a)](_0x1fc438);break;}case X['UNIVER_DOC']:{_0x13a9b0=await this[_0x504136(0x2b9)](_0x1fc438);break;}default:{this[_0x504136(0x1cc)][_0x504136(0x1da)](_0x504136(0x2cd),_0x504136(0x367));break;}}return _0x13a9b0;}async[_0x529853(0x31a)](_0x3d874a){var _0x1efc94=_0x529853,_0x2db9bd;let _0x20e022=0x0;const _0x2f84ca=await((_0x2db9bd=this[_0x1efc94(0x152)])==null?void 0x0:_0x2db9bd[_0x1efc94(0xc6)](_0x3d874a));return _0x2f84ca&&(_0x2f84ca[_0x1efc94(0x1fd)]||_0x2f84ca['mutations'][_0x1efc94(0x102)]!==0x0)&&(_0x20e022=_0x2f84ca[_0x1efc94(0x296)]),_0x20e022===0x0&&this[_0x1efc94(0x1cc)][_0x1efc94(0x23e)](_0x1efc94(0x2cd),_0x1efc94(0x31d)),this[_0x1efc94(0x302)][_0x1efc94(0x221)](_0x3d874a,_0x20e022);}async[_0x529853(0x2b9)](_0x31bb9f){var _0x3ff961=_0x529853,_0x4e9314;let _0x235664=0x0;const _0x1d96c1=await((_0x4e9314=this[_0x3ff961(0x152)])==null?void 0x0:_0x4e9314[_0x3ff961(0xc6)](_0x31bb9f));return _0x1d96c1&&(_0x1d96c1[_0x3ff961(0x1fd)]||_0x1d96c1[_0x3ff961(0x387)][_0x3ff961(0x102)]!==0x0)&&(_0x235664=_0x1d96c1[_0x3ff961(0x296)]),_0x235664===0x0&&this[_0x3ff961(0x1cc)]['debug'](_0x3ff961(0x2cd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3ff961(0x302)][_0x3ff961(0x8f)](_0x31bb9f,_0x235664);}},exports[_0x529853(0x171)]=fn([Me(0x0,a[_0x529853(0x18e)]),Me(0x1,a[_0x529853(0x105)](g[_0x529853(0x303)])),Me(0x2,a['Optional'](z))],exports[_0x529853(0x171)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0xc4036,_0x5215b5,_0x553637,_0x3891c7)=>{var _0x490024=_0x529853;for(var _0x49beb5=_0x3891c7>0x1?void 0x0:_0x3891c7?pn(_0x5215b5,_0x553637):_0x5215b5,_0x3e0098=_0xc4036[_0x490024(0x102)]-0x1,_0x448464;_0x3e0098>=0x0;_0x3e0098--)(_0x448464=_0xc4036[_0x3e0098])&&(_0x49beb5=_0x448464(_0x49beb5)||_0x49beb5);return _0x49beb5;},xe=(_0x2dc03a,_0x7d6b1c)=>(_0x268cb4,_0x2346a3)=>_0x7d6b1c(_0x268cb4,_0x2346a3,_0x2dc03a);const In=[_0x529853(0x8a),'image/jpeg','image/jpg',_0x529853(0x101),_0x529853(0xfe)],mn=0x5*0x400*0x400,En=_0x529853(0x3ac),Cn=_0x529853(0x23d),Tn=_0x529853(0x29a),bn=_0x529853(0x11b);exports['CollaborationImageIoService']=class{constructor(_0x13f146,_0x45760b,_0x4226f0){var _0x5eae45=_0x529853;A(this,_0x5eae45(0x3c1),0x0),A(this,_0x5eae45(0x2c0),new j[(_0x5eae45(0x29c))]()),A(this,_0x5eae45(0x281),this[_0x5eae45(0x2c0)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x13f146,this[_0x5eae45(0x3d7)]=_0x45760b,this[_0x5eae45(0x107)]=_0x4226f0);}['setWaitCount'](_0x2afca3){var _0x1e506b=_0x529853;this[_0x1e506b(0x3c1)]=_0x2afca3,this['_change$'][_0x1e506b(0x1a0)](_0x2afca3);}[_0x529853(0x1e2)](_0x37ab59,_0x1a5546){var _0x2b5c6f=_0x529853;if(_0x1a5546===J[_0x2b5c6f(0x3b9)]['BASE64']){const _0x34c6c2=new Image();return _0x34c6c2['src']=_0x37ab59,_0x34c6c2;}return this[_0x2b5c6f(0x277)]['get'](_0x37ab59);}[_0x529853(0x85)](_0xddf1c3,_0x3863bd,_0x419c4d){var _0x5eaa47=_0x529853;_0x3863bd===J[_0x5eaa47(0x3b9)][_0x5eaa47(0x265)]||_0x419c4d==null||this[_0x5eaa47(0x277)][_0x5eaa47(0x3f5)](_0xddf1c3,_0x419c4d);}async['getImage'](_0x1b78cb){var _0x434961=_0x529853;try{const _0x568677=this[_0x434961(0x9a)](this[_0x434961(0x2d2)](),''+_0x1b78cb),_0x3cad72=(await this['_httpService']['get'](_0x568677))[_0x434961(0xd1)];if(_0x3cad72[_0x434961(0x1da)]&&_0x3cad72[_0x434961(0x1da)][_0x434961(0x2e4)]===Ct['OK']){const _0xd3894a=new URL(_0x3cad72[_0x434961(0x298)],this[_0x434961(0x1bf)]())[_0x434961(0x337)]();return Promise['resolve'](_0xd3894a);}return Promise[_0x434961(0x18d)](_0x3cad72['error']);}catch(_0x184d3a){return Promise[_0x434961(0x18d)](_0x184d3a);}}async[_0x529853(0x2e2)](_0x4ec7ee){var _0x46b506=_0x529853;let _0x14236c='';if(!In['includes'](_0x4ec7ee[_0x46b506(0x2d6)]))return this[_0x46b506(0x147)](),Promise[_0x46b506(0x18d)](new Error(J[_0x46b506(0x168)][_0x46b506(0x276)]));if(_0x4ec7ee['size']>mn)return this[_0x46b506(0x147)](),Promise['reject'](new Error(J[_0x46b506(0x168)][_0x46b506(0xf2)]));try{const _0x1c698e=new FormData();_0x1c698e['append'](_0x46b506(0x3d8),_0x4ec7ee);const _0x14c394=this['_univerInstanceService']['getFocusedUnit'](),_0x237dd0=_0x14c394==null?void 0x0:_0x14c394['getUnitId']();if(!_0x237dd0)throw new Error(_0x46b506(0x1cf));const _0x49ce98=this['_getUploadFileURL']()+_0x46b506(0x20d)+_0x4ec7ee[_0x46b506(0x280)][_0x46b506(0x337)]()+_0x46b506(0x2f9)+Tt[_0x46b506(0x33f)]+_0x46b506(0x2e1)+encodeURIComponent(_0x237dd0),_0x464a2e=await(await fetch(_0x49ce98,{'method':'POST','body':_0x1c698e}))[_0x46b506(0x209)]();if(typeof _0x464a2e[_0x46b506(0xfb)]!='string')return this['_decreaseWaiting'](),Promise[_0x46b506(0x18d)](new Error(J[_0x46b506(0x168)][_0x46b506(0x35c)]));_0x14236c=_0x464a2e[_0x46b506(0xfb)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x46b506(0x168)]['ERROR_IMAGE']));}return new Promise((_0x4cb5ba,_0x3f17e6)=>{var _0x4a0111=_0x46b506;const _0x35eecc=new FileReader();_0x35eecc[_0x4a0111(0x35a)](_0x4ec7ee),_0x35eecc[_0x4a0111(0x1d6)]=_0x3bb2e8=>{var _0x36f4d3=_0x4a0111,_0x44865a;const _0x5be549=(_0x44865a=_0x3bb2e8['target'])==null?void 0x0:_0x44865a[_0x36f4d3(0x2b3)];if(_0x5be549==null){this[_0x36f4d3(0x147)](),_0x3f17e6(new Error(J[_0x36f4d3(0x168)][_0x36f4d3(0x35c)]));return;}const _0x1cad42=a['Tools'][_0x36f4d3(0x2b4)](0x6);_0x4cb5ba({'imageId':_0x1cad42,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x14236c,'base64Cache':_0x5be549,'status':J[_0x36f4d3(0x168)][_0x36f4d3(0x2f1)]}),this[_0x36f4d3(0x147)]();};});}[_0x529853(0x12c)](){var _0xfede47=_0x529853,_0x3ffd79,_0x58869a;const _0x361f84=this[_0xfede47(0x3d7)][_0xfede47(0x2bb)](En),_0x5bb961=this[_0xfede47(0x3d7)]['getConfig'](Y);return(_0x58869a=(_0x3ffd79=_0x5bb961==null?void 0x0:_0x5bb961[_0xfede47(0x3d2)])!=null?_0x3ffd79:_0x361f84)!=null?_0x58869a:Cn;}['_getSignURL'](){var _0x2ca690=_0x529853,_0x217599,_0x55ca9a;const _0x1b94db=this['_configService'][_0x2ca690(0x2bb)](Tn),_0x349610=this[_0x2ca690(0x3d7)][_0x2ca690(0x2bb)](Y);return(_0x55ca9a=(_0x217599=_0x349610==null?void 0x0:_0x349610[_0x2ca690(0x14a)])!=null?_0x217599:_0x1b94db)!=null?_0x55ca9a:bn;}[_0x529853(0x1bf)](){var _0x5aa62f=_0x529853,_0x11faa6;const _0x1f897d=this[_0x5aa62f(0x3d7)][_0x5aa62f(0x2bb)](Y);return(_0x11faa6=_0x1f897d==null?void 0x0:_0x1f897d['downloadEndpointUrl'])!=null?_0x11faa6:location['origin'];}[_0x529853(0x9a)](_0x4f44f,_0xdc8142){var _0x18882e=_0x529853;return _0x4f44f[_0x18882e(0x3bb)](_0x18882e(0x313),_0xdc8142);}[_0x529853(0x147)](){var _0x2451f2=_0x529853;this[_0x2451f2(0x3c1)]-=0x1,this[_0x2451f2(0x2c0)][_0x2451f2(0x1a0)](this['_waitCount']);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x529853(0x105)](q[_0x529853(0x294)])),xe(0x1,a[_0x529853(0x1d9)]),xe(0x2,a[_0x529853(0x105)](a[_0x529853(0x249)]))],exports[_0x529853(0x2d5)]);var Rn=Object[_0x529853(0x28b)],On=(_0x31b315,_0x5decbc,_0x32f1a5,_0x228a3a)=>{var _0x5b1ac7=_0x529853;for(var _0x25dc4c=_0x228a3a>0x1?void 0x0:_0x228a3a?Rn(_0x5decbc,_0x32f1a5):_0x5decbc,_0x1c7da4=_0x31b315[_0x5b1ac7(0x102)]-0x1,_0x3a046c;_0x1c7da4>=0x0;_0x1c7da4--)(_0x3a046c=_0x31b315[_0x1c7da4])&&(_0x25dc4c=_0x3a046c(_0x25dc4c)||_0x25dc4c);return _0x25dc4c;},_t=(_0x57b760,_0x7f4356)=>(_0xbd5bb9,_0x2d567a)=>_0x7f4356(_0xbd5bb9,_0x2d567a,_0x57b760);const yn=_0x529853(0x331);exports['MentionIoHttpService']=class{constructor(_0x294ea2,_0x445731){var _0x5f3a75=_0x529853;this[_0x5f3a75(0x3d7)]=_0x294ea2,this[_0x5f3a75(0x28f)]=_0x445731;}[_0x529853(0xff)](){var _0x52c917=_0x529853,_0x4445e2,_0x5a5ae3;const _0x1a67c4=this['_configService']['getConfig'](Ge),_0x415039=this[_0x52c917(0x3d7)][_0x52c917(0x2bb)](Y);return(_0x5a5ae3=(_0x4445e2=_0x415039==null?void 0x0:_0x415039['authzUrl'])!=null?_0x4445e2:_0x1a67c4)!=null?_0x5a5ae3:yn;}async[_0x529853(0x216)](_0x2e4a9d){var _0x3b78de=_0x529853;const _0x5efc37=this[_0x3b78de(0xff)]()+'/collaborator';return{'list':[{'title':_0x3b78de(0x34d),'mentions':(await this[_0x3b78de(0x28f)][_0x3b78de(0x2e6)](_0x5efc37,{'params':{'objectID':_0x2e4a9d['unitId'],'unitID':_0x2e4a9d[_0x3b78de(0x149)]}}))[_0x3b78de(0xd1)][_0x3b78de(0x3ea)][_0x3b78de(0x3e5)](_0x55e173=>({'objectId':_0x55e173['id'],'name':_0x55e173['subject']['name'],'metadata':{'icon':_0x55e173['subject'][_0x3b78de(0x28e)]},'label':_0x55e173['subject']['name'],'objectType':a[_0x3b78de(0x37f)][_0x3b78de(0xca)]})),'metadata':{},'type':a[_0x3b78de(0x37f)]['PERSON']}]};}},exports['MentionIoHttpService']=On([_t(0x0,a[_0x529853(0x105)](a[_0x529853(0x1d9)])),_t(0x1,a['Inject'](q[_0x529853(0x294)]))],exports[_0x529853(0x25c)]);var Nn=Object[_0x529853(0x28b)],Dn=(_0x362888,_0x275034,_0x52aa86,_0x2a4f99)=>{var _0x218356=_0x529853;for(var _0x148e9f=_0x2a4f99>0x1?void 0x0:_0x2a4f99?Nn(_0x275034,_0x52aa86):_0x275034,_0x1288be=_0x362888[_0x218356(0x102)]-0x1,_0x32fbac;_0x1288be>=0x0;_0x1288be--)(_0x32fbac=_0x362888[_0x1288be])&&(_0x148e9f=_0x32fbac(_0x148e9f)||_0x148e9f);return _0x148e9f;},ue=(_0x1602b3,_0x36aa67)=>(_0x49fe82,_0x339e0d)=>_0x36aa67(_0x49fe82,_0x339e0d,_0x1602b3);function _0x4573(_0x44b45d,_0x4a6b04){var _0x44ed72=_0x44ed();return _0x4573=function(_0x4573e7,_0x468fff){_0x4573e7=_0x4573e7-0x78;var _0x339aad=_0x44ed72[_0x4573e7];return _0x339aad;},_0x4573(_0x44b45d,_0x4a6b04);}let De=class extends a[_0x529853(0x3a6)]{constructor(_0x511f8c,_0x396c92,_0x46aba2,_0x14db10,_0x1b93b3){var _0xa7c99e=_0x529853;super(),this[_0xa7c99e(0x113)]=_0x511f8c,this['_univerInstanceService']=_0x396c92,this[_0xa7c99e(0x2f0)]=_0x46aba2,this['_collaborationSessionService']=_0x14db10,this[_0xa7c99e(0x309)]=_0x1b93b3,this['_initUnitPermissionChange'](),this[_0xa7c99e(0x10b)]();}[_0x529853(0x10b)](){var _0x31c5f1=_0x529853;const _0x58d3b5=async _0x4ca924=>{var _0x5d2be9=_0x4573;(await this[_0x5d2be9(0x1ee)][_0x5d2be9(0x24e)](_0x4ca924))[_0x5d2be9(0x14e)][_0x5d2be9(0x78)](V['filter'](_0x2f9572=>_0x2f9572[_0x5d2be9(0x3a0)]===g[_0x5d2be9(0x160)][_0x5d2be9(0xc3)]),V[_0x5d2be9(0x34f)](this[_0x5d2be9(0x35b)]))['subscribe'](_0x112eed=>{var _0x5a0021=_0x5d2be9;const _0x50c832=_0x112eed,{reason:_0x5242ae}=_0x50c832['data'];this[_0x5a0021(0x309)]['emitEvent']({'id':Q[_0x5a0021(0x390)],'data':_0x5242ae}),this[_0x5a0021(0x2f0)][_0x5a0021(0x1ba)](new Z['WorkbookEditablePermission'](_0x4ca924)['id'],!0x1),this[_0x5a0021(0x1ee)]['closeSession'](_0x4ca924);});};j[_0x31c5f1(0x32e)](this[_0x31c5f1(0x107)][_0x31c5f1(0x10f)](a[_0x31c5f1(0x3eb)][_0x31c5f1(0x112)]),this[_0x31c5f1(0x107)][_0x31c5f1(0x10f)](a[_0x31c5f1(0x3eb)]['UNIVER_DOC']))[_0x31c5f1(0x78)](V[_0x31c5f1(0x3e5)](_0x56af59=>_0x56af59[_0x31c5f1(0x136)]()),V['filter'](_0x2cf3a6=>!a[_0x31c5f1(0x2ac)](_0x2cf3a6)),V[_0x31c5f1(0x34f)](this[_0x31c5f1(0x35b)]))[_0x31c5f1(0x176)](_0xe78363=>{_0x58d3b5(_0xe78363);});}[_0x529853(0x3b5)](){var _0x4871df=_0x529853;const _0x4ce19f=async _0xe27033=>{var _0x53c3f6=_0x4573;const _0x51f0a9=await this[_0x53c3f6(0x1ee)]['requireSession'](_0xe27033),_0x52a682=this[_0x53c3f6(0x113)][_0x53c3f6(0x2e6)](Z[_0x53c3f6(0x21d)]);_0x51f0a9[_0x53c3f6(0x14e)][_0x53c3f6(0x78)](V[_0x53c3f6(0x1db)](_0x396592=>_0x396592['eventID']===g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x53c3f6(0x34f)](this[_0x53c3f6(0x35b)]))['subscribe'](_0x18b125=>{var _0x5b1ef9=_0x53c3f6;const _0x48408e=_0x18b125,{objectId:_0x587d95}=_0x48408e['data'];_0x587d95===_0xe27033?_0x52a682[_0x5b1ef9(0x202)](_0xe27033):_0x52a682[_0x5b1ef9(0x84)](_0xe27033,_0x587d95);});};j[_0x4871df(0x32e)](this[_0x4871df(0x107)][_0x4871df(0x10f)](a[_0x4871df(0x3eb)]['UNIVER_SHEET']))[_0x4871df(0x78)](V[_0x4871df(0x3e5)](_0x260081=>_0x260081['getUnitId']()),V[_0x4871df(0x1db)](_0x3fb116=>!a[_0x4871df(0x2ac)](_0x3fb116)),V[_0x4871df(0x34f)](this[_0x4871df(0x35b)]))['subscribe'](_0x476183=>{_0x4ce19f(_0x476183);});}};De=Dn([ue(0x0,a[_0x529853(0x105)](a[_0x529853(0x203)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x529853(0xb7)]),ue(0x3,a[_0x529853(0x105)](exports[_0x529853(0x2d0)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x529853(0x28b)],An=(_0x411ebd,_0x4113e9,_0x5c80b8,_0x19cb4a)=>{var _0x4b7190=_0x529853;for(var _0x5e3be1=_0x19cb4a>0x1?void 0x0:_0x19cb4a?Un(_0x4113e9,_0x5c80b8):_0x4113e9,_0x68a5e=_0x411ebd[_0x4b7190(0x102)]-0x1,_0x1fa089;_0x68a5e>=0x0;_0x68a5e--)(_0x1fa089=_0x411ebd[_0x68a5e])&&(_0x5e3be1=_0x1fa089(_0x5e3be1)||_0x5e3be1);return _0x5e3be1;},lt=(_0x3dbd3f,_0x22196f)=>(_0x33887d,_0x24f784)=>_0x22196f(_0x33887d,_0x24f784,_0x3dbd3f);exports['SnapshotServerOverHTTPService']=class{constructor(_0xe204dd,_0x4254d6){var _0x9c9c09=_0x529853;this[_0x9c9c09(0x3d7)]=_0xe204dd,this[_0x9c9c09(0x361)]=_0x4254d6;}async[_0x529853(0x1dd)](_0x362030,_0x394a3c){var _0x2968d0=_0x529853,_0x59fa39;const {unitID:_0x1f213d,type:_0x47357e,revision:_0x3d5e0b=0x0}=_0x394a3c,_0x523687=this[_0x2968d0(0x12d)]()+'/'+_0x47357e+_0x2968d0(0xe1)+_0x1f213d+_0x2968d0(0x2af)+_0x3d5e0b,_0x4d25e1=(await this[_0x2968d0(0x361)][_0x2968d0(0x2e6)](_0x523687))[_0x2968d0(0xd1)],_0x8649c2=(_0x59fa39=_0x4d25e1[_0x2968d0(0x1e4)])==null?void 0x0:_0x59fa39[_0x2968d0(0x32f)];if(_0x8649c2){const _0x2d3fa6=_0x8649c2==null?void 0x0:_0x8649c2[_0x2968d0(0x15b)],_0x357eec=g[_0x2968d0(0x27e)][_0x2968d0(0x1ab)](g[_0x2968d0(0x1f8)](_0x2d3fa6));_0x8649c2[_0x2968d0(0x15b)]=_0x357eec,Object['entries'](_0x8649c2[_0x2968d0(0x3d9)])[_0x2968d0(0x26d)](([,_0x1acb3e])=>{var _0x1e0ac3=_0x2968d0;const _0x155244=_0x1acb3e[_0x1e0ac3(0x15b)],_0x47a3dc=g[_0x1e0ac3(0x27e)][_0x1e0ac3(0x1ab)](g[_0x1e0ac3(0x1f8)](_0x155244));_0x1acb3e[_0x1e0ac3(0x15b)]=_0x47a3dc;});}return _0x4d25e1;}async['getSheetBlock'](_0x4b5eb8,_0x51f308){var _0x3f7e89=_0x529853;const {unitID:_0x13878e,type:_0x23b343,blockID:_0x34bcbd}=_0x51f308,_0x5e3623=this['_getAPIPrefix']()+'/'+_0x23b343+_0x3f7e89(0xe1)+_0x13878e+_0x3f7e89(0x21a)+_0x34bcbd;return(await this[_0x3f7e89(0x361)][_0x3f7e89(0x2e6)](_0x5e3623))[_0x3f7e89(0xd1)];}async[_0x529853(0x1d0)](_0x1743ec,_0x67892a){var _0x310604=_0x529853;const {unitID:_0x3fc698,type:_0x294059,blockID:_0x38ffb6}=_0x67892a,_0x3518f2=this[_0x310604(0x197)]()+_0x310604(0x21a)+_0x294059+_0x310604(0xe1)+_0x3fc698+'/block/'+_0x38ffb6;return(await this['_httpService'][_0x310604(0x2e6)](_0x3518f2))[_0x310604(0xd1)];}async[_0x529853(0x116)](_0xaf3120,_0x1f75ad){var _0x1c1269=_0x529853;const {unitID:_0x3795e2,type:_0x433f2f,from:_0x3852e5,to:_0x29ffe4}=_0x1f75ad,_0xc4c545=this['_getAPIPrefix']()+'/'+_0x433f2f+_0x1c1269(0xe1)+_0x3795e2+_0x1c1269(0xdb)+_0x3852e5+_0x1c1269(0x1f5)+_0x29ffe4;return(await this['_httpService'][_0x1c1269(0x2e6)](_0xc4c545))[_0x1c1269(0xd1)];}[_0x529853(0x12d)](){var _0x4a1a94=_0x529853,_0x8811d4;return(_0x8811d4=this['_configService'][_0x4a1a94(0x2bb)](vt))!=null?_0x8811d4:this['_getAPIPrefix']();}[_0x529853(0x197)](){var _0x5d889a=_0x529853,_0x4a9732,_0x26e97e;const _0x3295c1=this[_0x5d889a(0x3d7)]['getConfig'](dt),_0x42b958=this['_configService'][_0x5d889a(0x2bb)](Y);return(_0x26e97e=(_0x4a9732=_0x42b958==null?void 0x0:_0x42b958[_0x5d889a(0x129)])!=null?_0x4a9732:_0x3295c1)!=null?_0x26e97e:kt;}async[_0x529853(0x1fc)](_0x5b04f7,_0x544f12){var _0x5a3e44=_0x529853;const _0x298a1a=_0x5a3e44(0x2b6)+_0x544f12[_0x5a3e44(0x2d6)]+_0x5a3e44(0xe1)+_0x544f12[_0x5a3e44(0x20a)]+'/resources';return(await this[_0x5a3e44(0x361)][_0x5a3e44(0x2e6)](_0x298a1a,{'params':{'resourceId':JSON[_0x5a3e44(0x2cc)](_0x544f12['resourceIDs'])}}))['body'];}[_0x529853(0x244)](){var _0x5de363=_0x529853;throw new Error(_0x5de363(0x260));}[_0x529853(0x3ba)](){var _0x3266ef=_0x529853;throw new Error(_0x3266ef(0x260));}[_0x529853(0x383)](){var _0x4f6689=_0x529853;throw new Error(_0x4f6689(0x260));}[_0x529853(0x2bc)](){var _0x42fbd6=_0x529853;throw new Error(_0x42fbd6(0x260));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x529853(0x376)]=An([lt(0x0,a[_0x529853(0x1d9)]),lt(0x1,a['Inject'](q[_0x529853(0x294)]))],exports[_0x529853(0x376)]);var Pn=Object[_0x529853(0x28b)],wn=(_0x2b4611,_0x145f22,_0x1955da,_0x51a9cf)=>{var _0x1ad059=_0x529853;for(var _0x5ad159=_0x51a9cf>0x1?void 0x0:_0x51a9cf?Pn(_0x145f22,_0x1955da):_0x145f22,_0x2051e5=_0x2b4611[_0x1ad059(0x102)]-0x1,_0x412630;_0x2051e5>=0x0;_0x2051e5--)(_0x412630=_0x2b4611[_0x2051e5])&&(_0x5ad159=_0x412630(_0x5ad159)||_0x5ad159);return _0x5ad159;},de=(_0xb796e3,_0x2e69a3)=>(_0x59d1fa,_0x4e49cf)=>_0x2e69a3(_0x59d1fa,_0x4e49cf,_0xb796e3);exports[_0x529853(0x24b)]=class extends a[_0x529853(0x2cb)]{constructor(_0x3caf26,_0x1dfa91,_0x2a419a,_0x8ffdf4,_0x2cfc6d){var _0x53fbdf=_0x529853;super(_0x3caf26,_0x1dfa91,_0x2a419a),this[_0x53fbdf(0x217)]=_0x8ffdf4,this[_0x53fbdf(0x1cc)]=_0x2cfc6d;}['transformUndoRedo'](_0x324f78,_0x2e1fea){var _0xfa07fd=_0x529853;const _0x122fdf=this['_getUndoStack'](_0x324f78);if(_0x122fdf)try{const _0x412ed6=this[_0xfa07fd(0x170)](_0x122fdf,_0x2e1fea);this[_0xfa07fd(0x19a)](_0x324f78,_0x412ed6);}catch(_0x61ba16){this[_0xfa07fd(0x1cc)][_0xfa07fd(0x1da)](_0xfa07fd(0x3c8),_0x61ba16),this['_clearUndo'](_0x324f78);}const _0x508f53=this[_0xfa07fd(0x3b4)](_0x324f78);if(_0x508f53)try{const _0x39b9c7=this[_0xfa07fd(0x170)](_0x508f53,_0x2e1fea);this['_substituteRedoStack'](_0x324f78,_0x39b9c7);}catch(_0x1b6042){this['_logService'][_0xfa07fd(0x1da)](_0x1b6042),this[_0xfa07fd(0x25d)](_0x324f78);}}['_clearUndo'](_0x473133){var _0x4954f9=_0x529853;const _0x4ab895=this[_0x4954f9(0xd7)](_0x473133);_0x4ab895&&(_0x4ab895[_0x4954f9(0x102)]=0x0,this[_0x4954f9(0x11f)]());}['_clearRedo'](_0x82f387){var _0x113ca8=_0x529853;const _0x5a0be5=this[_0x113ca8(0x3b4)](_0x82f387);_0x5a0be5&&(_0x5a0be5['length']=0x0,this[_0x113ca8(0x11f)]());}[_0x529853(0x19a)](_0x169690,_0x16c2b7){var _0x3a5727=_0x529853;this[_0x3a5727(0x295)][_0x3a5727(0x3f5)](_0x169690,_0x16c2b7),this[_0x3a5727(0x11f)]();}['_substituteRedoStack'](_0x1c5ea0,_0x37aef5){var _0x4ee5a7=_0x529853;this[_0x4ee5a7(0x38b)][_0x4ee5a7(0x3f5)](_0x1c5ea0,_0x37aef5),this[_0x4ee5a7(0x11f)]();}[_0x529853(0x170)](_0x3ca6c7,_0x211793){var _0x3e165a=_0x529853;const _0x3f8fca=[];let _0x246ca9=_0x211793,_0x3cd668=_0x211793;for(let _0x76829e=_0x3ca6c7[_0x3e165a(0x102)]-0x1;_0x76829e>=0x0;_0x76829e--){const {unitID:_0x42b325,undoMutations:_0x42a336,redoMutations:_0x1a13f5}=_0x3ca6c7[_0x76829e],_0x431671=this[_0x3e165a(0x217)][_0x3e165a(0x2e7)](_0x246ca9,_0x42a336),_0x382c55=this[_0x3e165a(0x217)][_0x3e165a(0x2e7)](_0x3cd668,_0x1a13f5);if(g[_0x3e165a(0x196)](_0x431671)||g[_0x3e165a(0x196)](_0x382c55)){this[_0x3e165a(0x1cc)][_0x3e165a(0x1da)](_0x3e165a(0x3c8),'transformStack\x20failed!',_0x431671,_0x382c55);break;}_0x246ca9=_0x431671[_0x3e165a(0x257)],_0x3cd668=_0x382c55['c1Prime'],_0x3f8fca['push']({'unitID':_0x42b325,'undoMutations':_0x431671['m2Prime'],'redoMutations':_0x382c55[_0x3e165a(0x2a7)]});}return _0x3f8fca[_0x3e165a(0x23a)]();}},exports[_0x529853(0x24b)]=wn([de(0x0,a[_0x529853(0x249)]),de(0x1,a[_0x529853(0x2f4)]),de(0x2,a[_0x529853(0x1b1)]),de(0x3,g[_0x529853(0x214)]),de(0x4,a[_0x529853(0x18e)])],exports[_0x529853(0x24b)]);var Ln=Object['defineProperty'],Mn=Object[_0x529853(0x28b)],xn=(_0x44c508,_0x2244fe,_0x1e22f8)=>_0x2244fe in _0x44c508?Ln(_0x44c508,_0x2244fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e22f8}):_0x44c508[_0x2244fe]=_0x1e22f8,kn=(_0x45f1a5,_0x344855,_0x163015,_0x34ff80)=>{var _0x223b3e=_0x529853;for(var _0x38d4d6=_0x34ff80>0x1?void 0x0:_0x34ff80?Mn(_0x344855,_0x163015):_0x344855,_0x2c8c2b=_0x45f1a5[_0x223b3e(0x102)]-0x1,_0x3c297e;_0x2c8c2b>=0x0;_0x2c8c2b--)(_0x3c297e=_0x45f1a5[_0x2c8c2b])&&(_0x38d4d6=_0x3c297e(_0x38d4d6)||_0x38d4d6);return _0x38d4d6;},ke=(_0x3054f2,_0x126990)=>(_0x321695,_0x2a5863)=>_0x126990(_0x321695,_0x2a5863,_0x3054f2),Hn=(_0x2d66b6,_0x33afb7,_0x531321)=>xn(_0x2d66b6,_0x33afb7+'',_0x531321);const jn=_0x529853(0x3f4);exports['UniverCollaborationClientPlugin']=class extends a[_0x529853(0x18b)]{constructor(_0xfbf9c9,_0x8a8bee,_0x15d086,_0x10ff8d){var _0x2f2eef=_0x529853;super(),A(this,_0x2f2eef(0x166)),(this['_logService']=_0x8a8bee,this[_0x2f2eef(0x113)]=_0x15d086,this[_0x2f2eef(0x3d7)]=_0x10ff8d);const {..._0xb5fbdf}=a[_0x2f2eef(0x32e)]({},Jt,_0xfbf9c9);if(!_0xb5fbdf['socketService'])throw new Error(_0x2f2eef(0x3b1));this[_0x2f2eef(0x166)]=_0xb5fbdf,this[_0x2f2eef(0x3d7)][_0x2f2eef(0x14c)](Y,_0xb5fbdf);}[_0x529853(0x266)](){var _0x3d2c14=_0x529853;this['_registerDependencies'](),this[_0x3d2c14(0x27b)]();}[_0x529853(0x181)](){var _0x3351f6=_0x529853,_0x1ab990,_0x52b7d7;this['_injector'][_0x3351f6(0x353)](a[_0x3351f6(0x140)])&&this[_0x3351f6(0x1cc)][_0x3351f6(0x1da)](_0x3351f6(0x195),_0x3351f6(0x3e7));const _0x3756bf=a[_0x3351f6(0x3a5)]([[a['IUndoRedoService'],{'useClass':exports[_0x3351f6(0x24b)]}],[exports[_0x3351f6(0x2d0)]],[exports[_0x3351f6(0x19c)]],[exports[_0x3351f6(0x258)]],[ye],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x3351f6(0x166)]['socketService']}],[g[_0x3351f6(0x3ec)],{'useClass':exports[_0x3351f6(0x376)]}],[a['IAuthzIoService'],{'useClass':exports[_0x3351f6(0x355)]}],[J[_0x3351f6(0x174)],{'useClass':exports[_0x3351f6(0x2d5)]}],[a['IMentionIOService'],{'useClass':exports[_0x3351f6(0x25c)]}],[exports[_0x3351f6(0x314)]],[He]],(_0x1ab990=this[_0x3351f6(0x166)])==null?void 0x0:_0x1ab990[_0x3351f6(0x334)]);if(!((_0x52b7d7=this[_0x3351f6(0x166)])!=null&&_0x52b7d7[_0x3351f6(0xd2)])){const _0x33fb6b=_0x3756bf[_0x3351f6(0x12b)](([_0x5a4a7f])=>_0x5a4a7f===ve);_0x33fb6b!==-0x1&&_0x3756bf[_0x3351f6(0x34c)](_0x33fb6b,0x1);}a[_0x3351f6(0x1d7)](this[_0x3351f6(0x113)],_0x3756bf);}[_0x529853(0x27b)](){var _0x3f7efb=_0x529853,_0x39e611,_0x4f9084,_0x2a98dd;this[_0x3f7efb(0x113)][_0x3f7efb(0x2e6)](q['HTTPService'])[_0x3f7efb(0x200)]({'priority':0x14,'interceptor':q[_0x3f7efb(0x291)]({'maxParallel':0x6})}),(_0x39e611=this[_0x3f7efb(0x166)])!=null&&_0x39e611['enableOfflineEditing']||(_0x4f9084=this['_injector'][_0x3f7efb(0x2e6)](z,a[_0x3f7efb(0x1aa)]['OPTIONAL']))==null||_0x4f9084[_0x3f7efb(0x2be)](),(_0x2a98dd=this[_0x3f7efb(0x166)])!=null&&_0x2a98dd['enableAuthServer']&&a['touchDependencies'](this[_0x3f7efb(0x113)],[[ye]]),a['touchDependencies'](this[_0x3f7efb(0x113)],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x529853(0xe4)],_0x529853(0x3f2),jn),exports[_0x529853(0xe4)]=kn([a[_0x529853(0x1b0)](g[_0x529853(0x36c)],q[_0x529853(0x144)]),ke(0x1,a[_0x529853(0x18e)]),ke(0x2,a[_0x529853(0x105)](a['Injector'])),ke(0x3,a['IConfigService'])],exports[_0x529853(0xe4)]),exports[_0x529853(0x372)]=Ge,exports[_0x529853(0x3b0)]=Y,exports[_0x529853(0x37e)]=mt,exports[_0x529853(0x7e)]=St,exports[_0x529853(0x2b8)]=Ve,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x529853(0x150)]=ft,exports[_0x529853(0x26e)]=zt,exports[_0x529853(0x3de)]=$t,exports[_0x529853(0x39d)]=pt,exports[_0x529853(0x83)]=je,exports[_0x529853(0x231)]=$e,exports[_0x529853(0x3cf)]=z,exports['INetworkConditionService']=bt,exports[_0x529853(0x3fa)]=ve,exports[_0x529853(0x233)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports['LOGIN_URL_KEY']=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x529853(0x333)]=It,exports[_0x529853(0x360)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x529853(0x11c)]=vt,exports[_0x529853(0x191)]=se,exports[_0x529853(0x289)]=Fe,exports[_0x529853(0xd0)]=Rt,exports[_0x529853(0x33b)]=vi,exports[_0x529853(0xa9)]=Ot;