@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-fa407d3 → 0.6.7-experimental.20250401-40103f6

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 _0xaa7fc=_0x453e;(function(_0xf36d66,_0x45af36){var _0x91e8e7=_0x453e,_0x36a48f=_0xf36d66();while(!![]){try{var _0xa5aa27=parseInt(_0x91e8e7(0x170))/0x1*(parseInt(_0x91e8e7(0x242))/0x2)+parseInt(_0x91e8e7(0x211))/0x3+parseInt(_0x91e8e7(0x430))/0x4+parseInt(_0x91e8e7(0x2aa))/0x5+-parseInt(_0x91e8e7(0x20b))/0x6*(-parseInt(_0x91e8e7(0x3c4))/0x7)+-parseInt(_0x91e8e7(0x3d9))/0x8+parseInt(_0x91e8e7(0x433))/0x9*(-parseInt(_0x91e8e7(0x20e))/0xa);if(_0xa5aa27===_0x45af36)break;else _0x36a48f['push'](_0x36a48f['shift']());}catch(_0x36edb9){_0x36a48f['push'](_0x36a48f['shift']());}}}(_0x165d,0xa1fd1));var wt=Object['defineProperty'],Lt=(_0x1c554f,_0x3ad3ad,_0x41df6a)=>_0x3ad3ad in _0x1c554f?wt(_0x1c554f,_0x3ad3ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41df6a}):_0x1c554f[_0x3ad3ad]=_0x41df6a,A=(_0x19146f,_0x984d7d,_0x330d06)=>Lt(_0x19146f,typeof _0x984d7d!=_0xaa7fc(0x312)?_0x984d7d+'':_0x984d7d,_0x330d06);Object[_0xaa7fc(0x16f)](exports,Symbol[_0xaa7fc(0x1a0)],{'value':_0xaa7fc(0x132)});const a=require(_0xaa7fc(0x2c3)),j=require('rxjs'),V=require(_0xaa7fc(0x2b6)),g=require(_0xaa7fc(0x410)),q=require('@univerjs/network'),Mt=require(_0xaa7fc(0x375)),ut=require(_0xaa7fc(0x251)),Z=require('@univerjs/sheets'),J=require(_0xaa7fc(0x104)),xt=require('@univerjs-pro/license'),dt=_0xaa7fc(0x348),kt=_0xaa7fc(0x372),vt=_0xaa7fc(0x428),Ht=_0xaa7fc(0x1e8),jt=0x7d0,St=_0xaa7fc(0x318),ft=_0xaa7fc(0x1e9),$t='/universer-api/user/session-ticket',pt=_0xaa7fc(0x392),Bt=0x7530,je=_0xaa7fc(0x224),gt=0x4e20,Ft=0x4e20,mt=_0xaa7fc(0x241),Vt=0x3,Wt=_0xaa7fc(0x270),Gt=0x3e8,It=_0xaa7fc(0xfe),Kt='/universer-api/comb',Et='LOGIN_URL_KEY',Yt=_0xaa7fc(0x108),qt=_0xaa7fc(0x350),zt=_0xaa7fc(0x283);var Ct=(_0x15f134=>(_0x15f134[_0x15f134[_0xaa7fc(0x14a)]=0x0]='UNDEFINED',_0x15f134[_0x15f134['OK']=0x1]='OK',_0x15f134[_0x15f134[_0xaa7fc(0x115)]=0x2]=_0xaa7fc(0x115),_0x15f134[_0x15f134['PERMISSION_DENIED']=0x3]=_0xaa7fc(0xcc),_0x15f134[_0x15f134['NOT_FOUND']=0x4]=_0xaa7fc(0x22c),_0x15f134[_0x15f134['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x15f134[_0x15f134[_0xaa7fc(0x180)]=0x6]=_0xaa7fc(0x180),_0x15f134[_0x15f134['INVALID_ARGUMENT']=0x7]=_0xaa7fc(0xf7),_0x15f134[_0x15f134[_0xaa7fc(0x3b5)]=0x8]='TOO_MANY_REQUESTS',_0x15f134[_0x15f134[_0xaa7fc(0x36e)]=0x9]='COMPLETION_FINISHED',_0x15f134[_0x15f134['LOGIN_FAILED']=0xa]=_0xaa7fc(0x319),_0x15f134[_0x15f134['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xaa7fc(0x1ff),_0x15f134[_0x15f134[_0xaa7fc(0x2d0)]=0x1771]=_0xaa7fc(0x2d0),_0x15f134[_0x15f134[_0xaa7fc(0x32e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x15f134[_0x15f134[_0xaa7fc(0xfc)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x15f134[_0x15f134[_0xaa7fc(0x12d)]=0x1b59]=_0xaa7fc(0x12d),_0x15f134[_0x15f134[_0xaa7fc(0x1b1)]=0x1b5a]=_0xaa7fc(0x1b1),_0x15f134[_0x15f134['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xaa7fc(0x304),_0x15f134[_0x15f134[_0xaa7fc(0x396)]=0x1b5c]=_0xaa7fc(0x396),_0x15f134[_0x15f134['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15f134[_0x15f134[_0xaa7fc(0x2a6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x15f134[_0x15f134[_0xaa7fc(0x221)]=0x2329]=_0xaa7fc(0x221),_0x15f134[_0x15f134[_0xaa7fc(0x13f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x15f134[_0x15f134[_0xaa7fc(0xec)]=0x232b]=_0xaa7fc(0xec),_0x15f134[_0x15f134[_0xaa7fc(0x1f7)]=0x232c]=_0xaa7fc(0x1f7),_0x15f134[_0x15f134['LICENSE_DISTRO_REJECTED']=0x232d]=_0xaa7fc(0x408),_0x15f134[_0x15f134[_0xaa7fc(0x328)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15f134[_0x15f134[_0xaa7fc(0x29b)]=0x2712]=_0xaa7fc(0x29b),_0x15f134[_0x15f134[_0xaa7fc(0x2bc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15f134[_0x15f134[_0xaa7fc(0x1b0)]=0x2714]=_0xaa7fc(0x1b0),_0x15f134[_0x15f134[_0xaa7fc(0x409)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x15f134[_0x15f134[_0xaa7fc(0x1dc)]=0x2ee1]=_0xaa7fc(0x1dc),_0x15f134[_0x15f134[_0xaa7fc(0x420)]=0x2ee2]=_0xaa7fc(0x420),_0x15f134[_0x15f134[_0xaa7fc(0x1b4)]=0x2ee3]=_0xaa7fc(0x1b4),_0x15f134[_0x15f134[_0xaa7fc(0x23f)]=0x2ee4]=_0xaa7fc(0x23f),_0x15f134[_0x15f134[_0xaa7fc(0x383)]=0x2ee5]=_0xaa7fc(0x383),_0x15f134[_0x15f134[_0xaa7fc(0x1c5)]=-0x1]='UNRECOGNIZED',_0x15f134))(Ct||{}),X=(_0x44b677=>(_0x44b677[_0x44b677[_0xaa7fc(0x3ec)]=0x0]='UNIVER_UNKNOWN',_0x44b677[_0x44b677[_0xaa7fc(0x32c)]=0x1]=_0xaa7fc(0x32c),_0x44b677[_0x44b677['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x44b677[_0x44b677['UNIVER_SLIDE']=0x3]=_0xaa7fc(0x36d),_0x44b677[_0x44b677[_0xaa7fc(0x3b8)]=0x4]='UNIVER_PROJECT',_0x44b677[_0x44b677[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x44b677))(X||{}),W=(_0x1796cb=>(_0x1796cb[_0x1796cb['UNKNOWN_CMD']=0x0]=_0xaa7fc(0x2c1),_0x1796cb[_0x1796cb[_0xaa7fc(0x279)]=0x1]=_0xaa7fc(0x279),_0x1796cb[_0x1796cb[_0xaa7fc(0x137)]=0x2]=_0xaa7fc(0x137),_0x1796cb[_0x1796cb[_0xaa7fc(0x15e)]=0x3]=_0xaa7fc(0x15e),_0x1796cb[_0x1796cb['INGEST']=0x4]=_0xaa7fc(0x195),_0x1796cb[_0x1796cb['HEARTBEAT']=0x5]=_0xaa7fc(0x347),_0x1796cb[_0x1796cb[_0xaa7fc(0x3ca)]=0x6]=_0xaa7fc(0x3ca),_0x1796cb[_0x1796cb[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x1796cb))(W||{}),ae=(_0x191cfd=>(_0x191cfd[_0x191cfd[_0xaa7fc(0x33b)]=0x0]=_0xaa7fc(0x33b),_0x191cfd[_0x191cfd['OK']=0x1]='OK',_0x191cfd[_0x191cfd['FAIL']=0x2]=_0xaa7fc(0x40f),_0x191cfd[_0x191cfd[_0xaa7fc(0x402)]=0x3e9]=_0xaa7fc(0x402),_0x191cfd[_0x191cfd[_0xaa7fc(0x240)]=0x3ea]=_0xaa7fc(0x240),_0x191cfd[_0x191cfd[_0xaa7fc(0x39c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x191cfd[_0x191cfd[_0xaa7fc(0xf0)]=0x3ec]=_0xaa7fc(0xf0),_0x191cfd[_0x191cfd[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x191cfd))(ae||{}),Tt=(_0x12fc88=>(_0x12fc88[_0x12fc88['Undefined']=0x0]=_0xaa7fc(0x1b7),_0x12fc88[_0x12fc88[_0xaa7fc(0x26b)]=0x1]=_0xaa7fc(0x26b),_0x12fc88[_0x12fc88[_0xaa7fc(0xe0)]=0x2]=_0xaa7fc(0xe0),_0x12fc88[_0x12fc88[_0xaa7fc(0x327)]=0x3]='UnitEmbedded',_0x12fc88[_0x12fc88[_0xaa7fc(0x3b3)]=0x4]='UnitSnapshot',_0x12fc88[_0x12fc88[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x12fc88))(Tt||{});const Y=_0xaa7fc(0x22d),Jt={};var Q=(_0x1c2e96=>(_0x1c2e96[_0xaa7fc(0x3ac)]=_0xaa7fc(0x3ac),_0x1c2e96[_0xaa7fc(0xcc)]=_0xaa7fc(0xcc),_0x1c2e96[_0xaa7fc(0x218)]=_0xaa7fc(0x218),_0x1c2e96['CLOSE_ROOM']=_0xaa7fc(0x3e2),_0x1c2e96[_0xaa7fc(0x1d8)]='JOIN_ROOM_FAILED',_0x1c2e96['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x1c2e96[_0xaa7fc(0x357)]=_0xaa7fc(0x357),_0x1c2e96['SUBMIT_CHANGESET_TIMEOUT']=_0xaa7fc(0x3f7),_0x1c2e96))(Q||{});class te{constructor(){var _0x22d504=_0xaa7fc;A(this,_0x22d504(0xe7),new j[(_0x22d504(0x2c4))]()),A(this,_0x22d504(0x3c6),this[_0x22d504(0xe7)][_0x22d504(0xc7)]());}[_0xaa7fc(0x2ac)](_0x5972c7){var _0x154f10=_0xaa7fc;this[_0x154f10(0xe7)]['next'](_0x5972c7);}}const bt=a[_0xaa7fc(0x1d4)](_0xaa7fc(0x257));function Rt(_0x2cd79f){var _0x599659=_0xaa7fc,_0x49badc,_0x105483,_0x4ae7e0,_0x31cf9e,_0x3d143c;const _0x521026=_0x2cd79f[_0x599659(0x18e)],_0x1b2071=JSON[_0x599659(0x332)](_0x521026);switch(_0x1b2071[_0x599659(0x43a)]){case W[_0x599659(0x347)]:case W[_0x599659(0x279)]:{const _0x59e313=_0x1b2071[_0x599659(0x1f1)];return{..._0x1b2071,'data':_0x59e313,'cmd':_0x1b2071['cmd']};}case W[_0x599659(0x137)]:{const _0x4b067d=_0x1b2071[_0x599659(0xd4)];return{..._0x1b2071,'data':_0x4b067d,'cmd':_0x1b2071['cmd']};}case W[_0x599659(0x3ca)]:{const _0xcd1bb1=_0x1b2071[_0x599659(0xd2)];switch(_0xcd1bb1[_0x599659(0x17d)]){case g[_0x599659(0x209)][_0x599659(0x378)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x49badc=_0xcd1bb1[_0x599659(0x15c)])==null?void 0x0:_0x49badc['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x3d3)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x105483=_0xcd1bb1[_0x599659(0x113)])==null?void 0x0:_0x105483['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x423)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x4ae7e0=_0xcd1bb1[_0x599659(0x425)])==null?void 0x0:_0x4ae7e0['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x21b)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x31cf9e=_0xcd1bb1[_0x599659(0x27e)])==null?void 0x0:_0x31cf9e['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)]['CHANGESET_SHOULD_RETRY']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x3d143c=_0xcd1bb1['csShouldRetryEvent'])==null?void 0x0:_0x3d143c['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x2b4)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['updateCursorEvent']},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x151)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['joinEvent']},'cmd':_0x1b2071['cmd']};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x439)]},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x287)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x1f5)]},'cmd':_0x1b2071['cmd']};case g['CollaborationEvent'][_0x599659(0x2b3)]:case g[_0x599659(0x209)][_0x599659(0x103)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x10c)]},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x14d)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['liveShareNewHost']},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)]['MSG_FOR_ERROR']:return{..._0x1b2071,'data':_0xcd1bb1,'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x100)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x363)]},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x172)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['updatePermissionObjEvent']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)]['SHOULD_CLOSE_CONN']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x127)]},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x188)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x136)]},'cmd':_0x1b2071[_0x599659(0x43a)]};default:return _0x1b2071;}}default:return _0x1b2071;}}function yt(_0x291754){var _0x2814ce=_0xaa7fc;switch(_0x291754[_0x2814ce(0x43a)]){case W['HEARTBEAT']:case W[_0x2814ce(0x279)]:return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754[_0x2814ce(0x43a)],'routeKey':_0x291754[_0x2814ce(0x374)]});case W['INGEST']:{let _0x3ce1a5;switch(_0x291754['data']['eventID']){case g[_0x2814ce(0x209)]['UPDATE_CURSOR']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x2b4)],'updateCursorEvent':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['USERS_LEAVE']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x30a)],'leaveEvent':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)][_0x2814ce(0x151)]:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)]['USERS_ENTER'],'joinEvent':_0x291754[_0x2814ce(0x18e)]['data']};break;}case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x287)],'liveShareNewHost':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g['CollaborationEvent'][_0x2814ce(0x103)]:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x103)],'liveShareOperation':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_TERMINATE']:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x14d)],'liveShareTerminate':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_REQUEST_HOST']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x2b3)]};break;}default:_0x3ce1a5={'eventID':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x17d)]};}return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754['cmd'],'routeKey':_0x291754['routeKey'],'collaMsg':_0x3ce1a5});}case W['JOIN']:return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754[_0x2814ce(0x43a)],'routeKey':_0x291754[_0x2814ce(0x374)],'joinReq':_0x291754['data']});case W['LEAVE']:return JSON['stringify']({'cmd':_0x291754['cmd'],'routeKey':_0x291754[_0x2814ce(0x374)],'leaveReq':_0x291754[_0x2814ce(0x18e)]});default:throw new Error(_0x2814ce(0x300));}}var Xt=Object[_0xaa7fc(0x198)],Zt=(_0x2cc5d3,_0x54c5f4,_0x3d338b,_0x204dce)=>{var _0x5e7236=_0xaa7fc;for(var _0x1bc56c=_0x204dce>0x1?void 0x0:_0x204dce?Xt(_0x54c5f4,_0x3d338b):_0x54c5f4,_0x363bdd=_0x2cc5d3[_0x5e7236(0x3b0)]-0x1,_0x94eae1;_0x363bdd>=0x0;_0x363bdd--)(_0x94eae1=_0x2cc5d3[_0x363bdd])&&(_0x1bc56c=_0x94eae1(_0x1bc56c)||_0x1bc56c);return _0x1bc56c;},_e=(_0x504040,_0x5d0c1d)=>(_0x5471b7,_0x2e8b17)=>_0x5d0c1d(_0x5471b7,_0x2e8b17,_0x504040);const $e=a[_0xaa7fc(0x1d4)](_0xaa7fc(0x19c));function Qt(_0x5dd611,_0x67459c,_0x92abd4){var _0x2c695d=_0xaa7fc;return _0x5dd611+'/'+_0x67459c+_0x2c695d(0xfa)+_0x92abd4+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x174fb7,_0x3d45dd,_0x5a3da0,_0x9958bd,_0x22b25b){var _0x2d08e5=_0xaa7fc;super(),this[_0x2d08e5(0x2e2)]=_0x174fb7,this[_0x2d08e5(0x143)]=_0x3d45dd,this[_0x2d08e5(0x20d)]=_0x5a3da0,this[_0x2d08e5(0x26f)]=_0x9958bd,this['_snapshotServerService']=_0x22b25b;}['_doCreateSocket'](_0x1cba2b){var _0x5efd79=_0xaa7fc;const _0x3fa7b3=this[_0x5efd79(0x2e2)][_0x5efd79(0xe9)](q['ISocketService']);if(!_0x3fa7b3)throw new Error(_0x5efd79(0x12b));const _0x358583=_0x3fa7b3[_0x5efd79(0x234)](_0x1cba2b);if(!_0x358583)throw new Error(_0x5efd79(0x157));const _0x2503d6=new a['DisposableCollection'](),_0x2f76fe=new j[(_0x5efd79(0x2c4))]();_0x2503d6[_0x5efd79(0x2a3)](_0x358583['close$'][_0x5efd79(0xe5)](_0xb23cc9=>_0x2f76fe['next'](_0xb23cc9))),_0x2503d6[_0x5efd79(0x2a3)](a[_0x5efd79(0x1c9)](()=>_0x2f76fe[_0x5efd79(0x384)]()));const _0x59a9e9=new j['Subject']();_0x2503d6['add'](_0x358583[_0x5efd79(0x1e0)][_0x5efd79(0xe5)](_0x5a299d=>_0x59a9e9[_0x5efd79(0x38d)](_0x5a299d))),_0x2503d6[_0x5efd79(0x2a3)](a['toDisposable'](()=>_0x59a9e9['complete']()));const _0x158685=new j[(_0x5efd79(0x2c4))]();_0x2503d6['add'](_0x358583[_0x5efd79(0x2ce)][_0x5efd79(0xe5)](_0x4da36f=>{var _0x4e914e=_0x5efd79;const _0x5729dc=Rt(_0x4da36f);_0x158685[_0x4e914e(0x38d)](_0x5729dc);})),_0x2503d6[_0x5efd79(0x2a3)](a[_0x5efd79(0x1c9)](()=>_0x158685['complete']()));let _0x58596c;const _0x3e4867=()=>{var _0x219063=_0x5efd79;_0x59a9e9[_0x219063(0x38d)](new Event(_0x219063(0x342))),_0x2f76fe[_0x219063(0x38d)](new Event('connection\x20error')),_0x58596c[_0x219063(0x362)]();};return _0x58596c={'memberID':'','close$':_0x2f76fe[_0x5efd79(0xc7)](),'error$':_0x59a9e9[_0x5efd79(0xc7)](),'open$':_0x358583[_0x5efd79(0x15b)],'message$':_0x158685['asObservable'](),'send':_0x578ed9=>{var _0x2d7710=_0x5efd79;if(_0x578ed9[_0x2d7710(0x43a)]===W[_0x2d7710(0x195)]){if(_0x578ed9[_0x2d7710(0x18e)]['eventID']===g[_0x2d7710(0x209)][_0x2d7710(0x155)]){this[_0x2d7710(0x220)](_0x58596c,_0x578ed9[_0x2d7710(0x18e)])[_0x2d7710(0x38e)](_0x2df9d2=>{var _0x253105=_0x2d7710;this['_logService'][_0x253105(0x256)](_0x2df9d2),_0x3e4867();});return;}if(_0x578ed9[_0x2d7710(0x18e)]['eventID']===g[_0x2d7710(0x209)]['FETCH_MISSING']){const _0x54b350=_0x578ed9[_0x2d7710(0x18e)];this[_0x2d7710(0x1c3)](_0x54b350)[_0x2d7710(0x29e)](_0x25ddd4=>{var _0x2999f5=_0x2d7710;_0x158685[_0x2999f5(0x38d)]({'cmd':W[_0x2999f5(0x3ca)],'code':ae['OK'],'routeKey':_0x54b350[_0x2999f5(0x18e)][_0x2999f5(0x1e1)],'routeType':'','data':{'eventID':g[_0x2999f5(0x209)][_0x2999f5(0x299)],'data':{'changesets':_0x25ddd4}}});})[_0x2d7710(0x38e)](_0x3131fe=>{var _0x6978dc=_0x2d7710;this[_0x6978dc(0x26f)][_0x6978dc(0x256)](_0x3131fe),_0x3e4867();});return;}}_0x358583[_0x2d7710(0x43c)](yt(_0x578ed9));},'close':()=>{var _0x46703d=_0x5efd79;_0x358583[_0x46703d(0x362)](),_0x2503d6['dispose']();}},_0x58596c;}async[_0xaa7fc(0x220)](_0x40704f,_0x5b5c44){var _0x46dc36=_0xaa7fc,_0x115f8f,_0x43a4d4;const {unitType:_0x357609,unitID:_0x4033b6,changeset:_0x3a4434}=_0x5b5c44[_0x46dc36(0x18e)],_0x4da95a={'unitID':_0x4033b6,'memberID':_0x40704f['memberID'],'type':_0x357609,'changeset':g[_0x46dc36(0xcb)](_0x3a4434)},_0x4df67a=this[_0x46dc36(0x20d)]['getConfig'](It),_0x24c05b=this[_0x46dc36(0x20d)]['getConfig'](Y),_0x335f82=Qt((_0x43a4d4=(_0x115f8f=_0x24c05b==null?void 0x0:_0x24c05b[_0x46dc36(0x14c)])!=null?_0x115f8f:_0x4df67a)!=null?_0x43a4d4:Kt,_0x357609,_0x4033b6);try{await this[_0x46dc36(0x143)][_0x46dc36(0x2ba)](_0x335f82,{'body':_0x4da95a});}catch(_0x3b53cf){throw this[_0x46dc36(0x26f)][_0x46dc36(0x256)]('[CollaborationSession]',_0x46dc36(0x168)),_0x3b53cf;}}async[_0xaa7fc(0x1c3)](_0x292d38){var _0x567a84=_0xaa7fc;const {unitID:_0x5ef353,from:_0x3afcd5,to:_0x253dfc,unitType:_0x2e3204}=_0x292d38[_0x567a84(0x18e)];return(await this[_0x567a84(0x178)][_0x567a84(0x154)]({'metadata':void 0x0},{'unitID':_0x5ef353,'type':_0x2e3204,'from':_0x3afcd5,'to':_0x253dfc}))[_0x567a84(0x22e)];}},exports[_0xaa7fc(0x17a)]=Zt([_e(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),_e(0x1,a['Inject'](q['HTTPService'])),_e(0x2,a[_0xaa7fc(0x41a)]),_e(0x3,a[_0xaa7fc(0x434)]),_e(0x4,g[_0xaa7fc(0x21e)])],exports['CollaborationSocketService']);const ei='collaboration_new_changeset';function ti(_0x45ad6e){var _0x187c01=_0xaa7fc;return JSON[_0x187c01(0x10f)](_0x45ad6e)['length'];}class Be{constructor(){var _0x48766c=_0xaa7fc;A(this,'_commentUpdate$',new j[(_0x48766c(0x2c4))]()),A(this,'commentUpdate$',this[_0x48766c(0x2fa)][_0x48766c(0xc7)]());}[_0xaa7fc(0x2a9)](_0x340791){var _0x4d42f8=_0xaa7fc;this[_0x4d42f8(0x2fa)]['next'](_0x340791);}}var ii=Object[_0xaa7fc(0x198)],ni=(_0x2d443d,_0x2e2a87,_0x286734,_0x4ab768)=>{var _0x3095b5=_0xaa7fc;for(var _0x3ed833=_0x4ab768>0x1?void 0x0:_0x4ab768?ii(_0x2e2a87,_0x286734):_0x2e2a87,_0x2468f2=_0x2d443d[_0x3095b5(0x3b0)]-0x1,_0x43d191;_0x2468f2>=0x0;_0x2468f2--)(_0x43d191=_0x2d443d[_0x2468f2])&&(_0x3ed833=_0x43d191(_0x3ed833)||_0x3ed833);return _0x3ed833;},Ke=(_0x392320,_0x194e44)=>(_0x309232,_0x128d95)=>_0x194e44(_0x309232,_0x128d95,_0x392320);exports[_0xaa7fc(0xc8)]=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x4a3569,_0x13de0e){var _0x980cfd=_0xaa7fc;super(),A(this,_0x980cfd(0x3ce),new Map()),A(this,'_roomCreated$',new j[(_0x980cfd(0x2c4))]()),(this['_univerInstanceService']=_0x4a3569,this['_userManagerService']=_0x13de0e,this['disposeWithMe'](j[_0x980cfd(0x2f8)](this[_0x980cfd(0xbf)][_0x980cfd(0x2ae)](a[_0x980cfd(0x231)]['UNIVER_SHEET'])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x4c5fc5=>_0x4c5fc5[_0x980cfd(0x217)]())),this['_univerInstanceService'][_0x980cfd(0x2ae)](a[_0x980cfd(0x231)][_0x980cfd(0x32c)])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x1c5861=>_0x1c5861['getUnitId']())),this[_0x980cfd(0xbf)][_0x980cfd(0x2ae)](a['UniverInstanceType']['UNIVER_SLIDE'])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x1026aa=>_0x1026aa[_0x980cfd(0x217)]())))['subscribe'](_0x31077a=>this[_0x980cfd(0x2f7)](_0x31077a))));}[_0xaa7fc(0x2f3)](_0x36ee39){var _0x40c4f5=_0xaa7fc;return this[_0x40c4f5(0x3ce)]['has'](_0x36ee39)?j['of'](this[_0x40c4f5(0x3ce)]['get'](_0x36ee39)):this[_0x40c4f5(0x3c2)]['pipe'](V[_0x40c4f5(0x2e9)](_0xae50fe=>{var _0x33f983=_0x40c4f5;if(_0xae50fe===_0x36ee39)return this['_roomMembers'][_0x33f983(0xe9)](_0xae50fe);}));}[_0xaa7fc(0x432)](_0x1892f4){var _0x1c44f2=_0xaa7fc;this['_userManagerService'][_0x1c44f2(0x432)](_0x1892f4);}[_0xaa7fc(0x39d)](){var _0x391084=_0xaa7fc;return this[_0x391084(0x31d)][_0x391084(0x39d)]();}['updateMember'](_0x53c7f7,_0x1a7213){var _0x4c5d7c=_0xaa7fc;let _0x1d3f1f=this[_0x4c5d7c(0x3ce)][_0x4c5d7c(0xe9)](_0x53c7f7);_0x1d3f1f||(_0x1d3f1f=new ri(),this[_0x4c5d7c(0x3ce)]['set'](_0x53c7f7,_0x1d3f1f),this['_roomCreated$'][_0x4c5d7c(0x38d)](_0x53c7f7)),_0x1d3f1f[_0x4c5d7c(0x232)](_0x1a7213);}[_0xaa7fc(0x1ae)](_0x5da694,_0x5d2a67){var _0x42dac6=_0xaa7fc;const _0x173883=this[_0x42dac6(0x3ce)][_0x42dac6(0xe9)](_0x5da694);_0x173883&&_0x173883['removeMember'](_0x5d2a67);}[_0xaa7fc(0x330)](_0x3f251b){var _0x374fa2=_0xaa7fc;return this[_0x374fa2(0x3ce)][_0x374fa2(0xe9)](_0x3f251b);}[_0xaa7fc(0x3c1)](_0x1481ca,_0x155bfa){var _0x1f650b=_0xaa7fc;const _0x2c02cc=this[_0x1f650b(0x3ce)][_0x1f650b(0xe9)](_0x1481ca);if(_0x2c02cc)return _0x2c02cc[_0x1f650b(0x3c1)](_0x155bfa);}[_0xaa7fc(0x2f7)](_0xe96380){var _0x1f5291=_0xaa7fc;const _0x37497e=this['_roomMembers']['get'](_0xe96380);_0x37497e&&(_0x37497e[_0x1f5291(0x41e)](),this[_0x1f5291(0x3ce)]['delete'](_0xe96380));}[_0xaa7fc(0x41e)](){var _0x5bddf3=_0xaa7fc;this[_0x5bddf3(0x3ce)][_0x5bddf3(0xfd)](_0x452eed=>_0x452eed[_0x5bddf3(0x41e)]()),this[_0x5bddf3(0x3ce)][_0x5bddf3(0x174)](),this[_0x5bddf3(0x3c2)]['complete']();}},exports[_0xaa7fc(0xc8)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x185)]))],exports[_0xaa7fc(0xc8)]);class ri extends a[_0xaa7fc(0x2e0)]{constructor(){var _0xc6d132=_0xaa7fc;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new j[(_0xc6d132(0xd7))](this[_0xc6d132(0x166)])),A(this,_0xc6d132(0x1a8),this['_members$'][_0xc6d132(0xc7)]());}[_0xaa7fc(0x41e)](){var _0x3d244a=_0xaa7fc;this[_0x3d244a(0x166)]['clear']();}[_0xaa7fc(0x232)](_0x56c73c){var _0x13602b=_0xaa7fc;this[_0x13602b(0x166)][_0x13602b(0x3d5)](_0x56c73c[_0x13602b(0x437)],_0x56c73c),this['_emitMembers']();}['removeMember'](_0x307726){var _0x240707=_0xaa7fc;this[_0x240707(0x166)]['delete'](_0x307726);}[_0xaa7fc(0x3c1)](_0x1c7620){var _0x248a4b=_0xaa7fc;return this[_0x248a4b(0x166)]['get'](_0x1c7620);}['getAllMembers'](){var _0x350c5b=_0xaa7fc;return Array[_0x350c5b(0x355)](this[_0x350c5b(0x166)][_0x350c5b(0x2de)]());}[_0xaa7fc(0x422)](){var _0xc4e2f1=_0xaa7fc;this[_0xc4e2f1(0x325)][_0xc4e2f1(0x38d)](this['_members']);}}var si=Object[_0xaa7fc(0x198)],oi=(_0x5b596b,_0x488af5,_0x264b4a,_0xb312e3)=>{var _0x40ad45=_0xaa7fc;for(var _0x2880d6=_0xb312e3>0x1?void 0x0:_0xb312e3?si(_0x488af5,_0x264b4a):_0x488af5,_0x331dd1=_0x5b596b[_0x40ad45(0x3b0)]-0x1,_0x4e2f23;_0x331dd1>=0x0;_0x331dd1--)(_0x4e2f23=_0x5b596b[_0x331dd1])&&(_0x2880d6=_0x4e2f23(_0x2880d6)||_0x2880d6);return _0x2880d6;},oe=(_0x396ce7,_0x530dd0)=>(_0x31e000,_0xc5fc)=>_0x530dd0(_0x31e000,_0xc5fc,_0x396ce7),se=(_0x6dec66=>(_0x6dec66[_0x6dec66[_0xaa7fc(0x311)]=0x0]=_0xaa7fc(0x311),_0x6dec66[_0x6dec66[_0xaa7fc(0x3a9)]=0x1]='JOINING',_0x6dec66[_0x6dec66['OFFLINE']=0x2]='OFFLINE',_0x6dec66[_0x6dec66[_0xaa7fc(0x144)]=0x3]=_0xaa7fc(0x144),_0x6dec66))(se||{});const Ye={[ae['FAIL']]:_0xaa7fc(0x394),[ae[_0xaa7fc(0x402)]]:_0xaa7fc(0x2cd),[ae['JOIN_ROOM_NOT_EXISTS']]:_0xaa7fc(0x360),[ae[_0xaa7fc(0x39c)]]:_0xaa7fc(0x128),[ae[_0xaa7fc(0xf0)]]:_0xaa7fc(0x305)};exports['CollaborationSession']=class extends a[_0xaa7fc(0x102)]{constructor(_0x21078e,_0x1ba9c6,_0x2c9188,_0x1e8602,_0x5680cf,_0x3e5154,_0x44789d,_0x13cddf,_0x4e661c){var _0x5847d7=_0xaa7fc;super(),A(this,'_sessionStatus$',new j[(_0x5847d7(0xd7))](0x0)),A(this,_0x5847d7(0x1a2),this[_0x5847d7(0x26e)][_0x5847d7(0xc7)]()),A(this,'_event$',new j['Subject']()),A(this,_0x5847d7(0x3c6),this[_0x5847d7(0xe7)]['asObservable']()),A(this,_0x5847d7(0x22f)),A(this,_0x5847d7(0x238)),A(this,_0x5847d7(0x36a)),A(this,_0x5847d7(0x230),!0x1),A(this,_0x5847d7(0x33e),null),(this[_0x5847d7(0x12a)]=_0x21078e,this['_logService']=_0x2c9188,this[_0x5847d7(0x20d)]=_0x1e8602,this[_0x5847d7(0x23a)]=_0x5680cf,this[_0x5847d7(0x435)]=_0x3e5154,this['_commentService']=_0x44789d,this[_0x5847d7(0x344)]=_0x13cddf,this['_telemetryService']=_0x4e661c,this[_0x5847d7(0x230)]=!!this[_0x5847d7(0x429)],_0x1ba9c6[_0x5847d7(0x2a5)](j[_0x5847d7(0x356)](this['dispose$']))['subscribe'](_0x5991c0=>{var _0x22355b=_0x5847d7,_0x26fcd2;typeof _0x5991c0>'u'||(this[_0x22355b(0x22f)]=_0x5991c0,_0x5991c0?(this['_joinRoom'](_0x5991c0),this['_socketMessageSubscription']=_0x5991c0['message$'][_0x22355b(0xe5)](_0x5e5297=>{var _0x215a44=_0x22355b;_0x5e5297[_0x215a44(0x374)]===this['_unitID']&&this[_0x215a44(0x267)](_0x5e5297);})):(this[_0x22355b(0x3aa)](),this[_0x22355b(0x26e)]['next'](0x2),(_0x26fcd2=this[_0x22355b(0x238)])==null||_0x26fcd2['unsubscribe'](),this[_0x22355b(0x238)]=null));}));}get[_0xaa7fc(0x438)](){var _0x1ef842=_0xaa7fc;return this[_0x1ef842(0x26e)]['getValue']();}[_0xaa7fc(0x3e8)](){var _0x4a00f0=_0xaa7fc,_0x1b6a57,_0xedaf2f;return(_0xedaf2f=(_0x1b6a57=this[_0x4a00f0(0x22f)])==null?void 0x0:_0x1b6a57[_0x4a00f0(0x437)])!=null?_0xedaf2f:null;}[_0xaa7fc(0x41e)](){var _0x962887=_0xaa7fc;super['dispose'](),this[_0x962887(0x2e6)][_0x962887(0x38d)](),this['dispose$'][_0x962887(0x384)]();}[_0xaa7fc(0x362)](){var _0x466d20=_0xaa7fc,_0x31b732,_0x4d904e;this[_0x466d20(0x3aa)](),(_0x31b732=this[_0x466d20(0x22f)])==null||_0x31b732[_0x466d20(0x43c)]({'cmd':W[_0x466d20(0x15e)],'data':{'roomID':this[_0x466d20(0x12a)]}}),(_0x4d904e=this['_socket'])==null||_0x4d904e[_0x466d20(0x362)](),this[_0x466d20(0xe7)][_0x466d20(0x384)](),this['_sessionStatus$']['complete'](),this[_0x466d20(0x41e)]();}['_onCombEvent'](_0x1cda6e){var _0x50c314=_0xaa7fc;_0x1cda6e[_0x50c314(0x43a)]===W[_0x50c314(0x137)]?this['_onJoinRoomEvent'](_0x1cda6e):_0x1cda6e[_0x50c314(0x43a)]===W[_0x50c314(0x3ca)]&&this[_0x50c314(0x2da)](_0x1cda6e);}[_0xaa7fc(0x1c0)](_0x523ec3){var _0x452ef4=_0xaa7fc;this[_0x452ef4(0x26e)][_0x452ef4(0x38d)](0x1),_0x523ec3[_0x452ef4(0x43c)]({'cmd':W[_0x452ef4(0x137)],'routeKey':this[_0x452ef4(0x12a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x452ef4(0x12a)]}]}});}[_0xaa7fc(0x111)](_0xd2334b){var _0x4e69d3=_0xaa7fc,_0x4d8dbb;if(_0xd2334b[_0x4e69d3(0xf3)]in Ye){this['_collaborationUIEventService'][_0x4e69d3(0x2ac)]({'id':Q[_0x4e69d3(0x1d8)],'data':Ye[_0xd2334b[_0x4e69d3(0xf3)]]}),this[_0x4e69d3(0x26e)][_0x4e69d3(0x38d)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x215917=(_0x4d8dbb=_0xd2334b[_0x4e69d3(0x18e)][_0x4e69d3(0xba)][this[_0x4e69d3(0x12a)]])==null?void 0x0:_0x4d8dbb[_0x4e69d3(0x187)];_0x215917&&_0x215917[_0x4e69d3(0xfd)](_0xde322e=>this[_0x4e69d3(0x435)][_0x4e69d3(0x232)](this[_0x4e69d3(0x12a)],_0xde322e));}[_0xaa7fc(0x2da)](_0x578d8f){var _0x4b27ef=_0xaa7fc;try{const _0xefdf58=_0x578d8f[_0x4b27ef(0x18e)];switch(_0xefdf58[_0x4b27ef(0x17d)]){case g[_0x4b27ef(0x209)]['USERS_ENTER']:this[_0x4b27ef(0x3f0)](_0xefdf58),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)][_0x4b27ef(0x30a)]:this[_0x4b27ef(0xbe)](_0xefdf58),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g['CollaborationEvent']['CHANGESET_ACK']:case g[_0x4b27ef(0x209)][_0x4b27ef(0x37b)]:this[_0x4b27ef(0xdb)](),this[_0x4b27ef(0x3db)](),this['_event$'][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)]['MSG_FOR_ERROR']:this['_logService'][_0x4b27ef(0x256)](_0x4b27ef(0x40c)+JSON[_0x4b27ef(0x10f)](_0xefdf58)),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)][_0x4b27ef(0x100)]:this[_0x4b27ef(0x359)][_0x4b27ef(0x2a9)](_0xefdf58['data']),this['_event$'][_0x4b27ef(0x38d)](_0xefdf58);break;default:this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);}}catch(_0x148bfb){this[_0x4b27ef(0x26f)][_0x4b27ef(0x256)](_0x148bfb,_0x578d8f);}}['_onUserJoin'](_0x2aeb77){var _0x12f485=_0xaa7fc;this[_0x12f485(0x435)][_0x12f485(0x232)](this[_0x12f485(0x12a)],_0x2aeb77[_0x12f485(0x18e)]);}['_onUserLeave'](_0x2d8c36){var _0x120f87=_0xaa7fc;this[_0x120f87(0x435)][_0x120f87(0x1ae)](this['_unitID'],_0x2d8c36[_0x120f87(0x18e)][_0x120f87(0x437)]);}async['send'](_0x1d29b9,_0x5a3996){var _0x3ca5f6=_0xaa7fc;if(this['sessionStatus']!==0x3||!this[_0x3ca5f6(0x22f)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1d29b9[_0x3ca5f6(0x17d)]===g[_0x3ca5f6(0x209)]['SUBMIT_CHANGESET']&&(this[_0x3ca5f6(0x34b)](),this[_0x3ca5f6(0xc5)](_0x1d29b9)),this[_0x3ca5f6(0x22f)][_0x3ca5f6(0x43c)]({'cmd':W[_0x3ca5f6(0x195)],'routeKey':_0x5a3996,'routeType':'','data':_0x1d29b9});}catch(_0x48acca){this[_0x3ca5f6(0x26f)]['error'](_0x48acca);}}[_0xaa7fc(0x34b)](){var _0x2a21c6=_0xaa7fc,_0xd4fdc;this[_0x2a21c6(0x36a)]=setTimeout(()=>{var _0x25f703=_0x2a21c6;this[_0x25f703(0x36a)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0xd4fdc=this['_configService'][_0x2a21c6(0xb5)](je))!=null?_0xd4fdc:gt);}[_0xaa7fc(0x3db)](){var _0x5d0575=_0xaa7fc;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5d0575(0x36a)]=null);}[_0xaa7fc(0xc5)](_0x13b9c2){var _0x11e050=_0xaa7fc;if(!this['_shouldReportTelemetry'])return;const {data:_0xbcd2f8}=_0x13b9c2,{unitID:_0x17e670,changeset:_0x16179b}=_0xbcd2f8,{mutations:_0x1a2007,type:_0xc4e1b7}=_0x16179b;this[_0x11e050(0x33e)]={'unitId':_0x17e670,'type':_0xc4e1b7,'startTime':performance[_0x11e050(0x153)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1a2007)};}[_0xaa7fc(0xdb)](){var _0x2732c6=_0xaa7fc;if(this[_0x2732c6(0x230)]){if(!this[_0x2732c6(0x33e)]){this[_0x2732c6(0x26f)][_0x2732c6(0x256)](_0x2732c6(0x21c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2732c6(0x33e)][_0x2732c6(0x2dd)]=performance['now'](),this[_0x2732c6(0x33e)]['duration']=this[_0x2732c6(0x33e)]['stopTime']-this[_0x2732c6(0x33e)][_0x2732c6(0x2f6)],this['_telemetryService']['capture'](ei,this[_0x2732c6(0x33e)]),this[_0x2732c6(0x33e)]=null;}}[_0xaa7fc(0x3aa)](){var _0x34dd38=_0xaa7fc;this[_0x34dd38(0x33e)]=null;}},exports[_0xaa7fc(0x2bb)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0xaa7fc(0x41a)]),oe(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),oe(0x5,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0xc8)])),oe(0x6,a[_0xaa7fc(0x1a1)](Be)),oe(0x7,a[_0xaa7fc(0x1a1)](te)),oe(0x8,a['Optional'](Mt[_0xaa7fc(0x36c)]))],exports[_0xaa7fc(0x2bb)]);var ai=Object[_0xaa7fc(0x198)],ci=(_0x2bd648,_0x55c7cf,_0x41203b,_0x9e84ad)=>{var _0x43cb72=_0xaa7fc;for(var _0x123300=_0x9e84ad>0x1?void 0x0:_0x9e84ad?ai(_0x55c7cf,_0x41203b):_0x55c7cf,_0x186269=_0x2bd648[_0x43cb72(0x3b0)]-0x1,_0xcb4ce7;_0x186269>=0x0;_0x186269--)(_0xcb4ce7=_0x2bd648[_0x186269])&&(_0x123300=_0xcb4ce7(_0x123300)||_0x123300);return _0x123300;},le=(_0x1c549b,_0x404ea7)=>(_0x459162,_0x3be865)=>_0x404ea7(_0x459162,_0x3be865,_0x1c549b);exports[_0xaa7fc(0x24e)]=class extends a['Disposable']{constructor(_0x5adcf8,_0xfb741f,_0x5148fd,_0x25f2e8,_0x1acf50,_0x5c945d){var _0x521347=_0xaa7fc;super(),A(this,_0x521347(0x152),new j[(_0x521347(0xd7))](void 0x0)),A(this,_0x521347(0x1df),this[_0x521347(0x152)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0x521347(0x1f2),new Map()),A(this,'_status$',new j[(_0x521347(0xd7))](se[_0x521347(0x311)])),A(this,_0x521347(0x199),this[_0x521347(0x15a)][_0x521347(0xc7)]()),A(this,_0x521347(0x184),!0x1),A(this,_0x521347(0x2e8)),A(this,_0x521347(0x169),0x0),A(this,_0x521347(0x121)),A(this,_0x521347(0x2f9)),(this['_injector']=_0x5adcf8,this[_0x521347(0x26f)]=_0xfb741f,this['_configService']=_0x5148fd,this[_0x521347(0x33f)]=_0x25f2e8,this[_0x521347(0x344)]=_0x1acf50,this[_0x521347(0x203)]=_0x5c945d,this[_0x521347(0x259)]());}get[_0xaa7fc(0x22f)](){var _0x54b685=_0xaa7fc;return this[_0x54b685(0x152)][_0x54b685(0x3a0)]();}['_listenToNetworkCondition'](){var _0x2a5521=_0xaa7fc;this[_0x2a5521(0x203)]&&this[_0x2a5521(0x3fd)](this[_0x2a5521(0x203)][_0x2a5521(0x3cc)][_0x2a5521(0xe5)](_0x3bb8b0=>{var _0x4df900=_0x2a5521;_0x3bb8b0&&!this[_0x4df900(0x22f)]&&this['reconnect'](),_0x3bb8b0||this['_onOffline']();}));}[_0xaa7fc(0x41e)](){var _0x9588c7=_0xaa7fc;super['dispose'](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x9588c7(0x3c9)](),this[_0x9588c7(0x1f2)][_0x9588c7(0xfd)](_0x50ca53=>_0x50ca53['dispose']()),this['_sessions'][_0x9588c7(0x174)](),this['_status$'][_0x9588c7(0x384)]();}async[_0xaa7fc(0x13a)](_0xa49d0){var _0xf2db13=_0xaa7fc;if(this['_sessions'][_0xf2db13(0x3d7)](_0xa49d0))return this[_0xf2db13(0x1f2)][_0xf2db13(0xe9)](_0xa49d0);this[_0xf2db13(0x1cf)]();const _0x5d658b=this[_0xf2db13(0x2e2)]['createInstance'](exports[_0xf2db13(0x2bb)],_0xa49d0,this['_socket$'][_0xf2db13(0xc7)]());return this[_0xf2db13(0x1f2)][_0xf2db13(0x3d5)](_0xa49d0,_0x5d658b),_0x5d658b;}[_0xaa7fc(0x32f)](_0x9c8cdc){var _0x4a6283=_0xaa7fc,_0x2931cc;const _0x18d154=this[_0x4a6283(0x1f2)][_0x4a6283(0xe9)](_0x9c8cdc);_0x18d154&&(this['_sessions'][_0x4a6283(0x3b1)](_0x9c8cdc),_0x18d154['close']()),this[_0x4a6283(0x1f2)]['size']||(_0x2931cc=this[_0x4a6283(0x22f)])==null||_0x2931cc[_0x4a6283(0x362)]();}[_0xaa7fc(0x16c)](){var _0x4277b3=_0xaa7fc;this['_retryCount']=0x0,this[_0x4277b3(0x3ea)](),this['_tryReconnect']();}[_0xaa7fc(0x3ea)](){var _0x25dba6=_0xaa7fc;this[_0x25dba6(0x2e8)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0xaa7fc(0x1fe)](){var _0x41f7cb=_0xaa7fc,_0x3537c9,_0x4986ce;const _0xb4bc1c=this[_0x41f7cb(0x20d)][_0x41f7cb(0xb5)](St),_0x1d2252=this['_configService']['getConfig'](Y),_0x455307=(_0x4986ce=(_0x3537c9=_0x1d2252==null?void 0x0:_0x1d2252['collabWebSocketUrl'])!=null?_0x3537c9:_0xb4bc1c)!=null?_0x4986ce:ft,_0x1638f8=await this['_socketService'][_0x41f7cb(0x234)](_0x455307);return this['_candidateSocket']=_0x1638f8,_0x1638f8;}async['_tryEnsureSocket'](){var _0x3eb29d=_0xaa7fc,_0x172689,_0x56b056;try{const _0x30fe9a=(_0x56b056=(_0x172689=this[_0x3eb29d(0x22f)])!=null?_0x172689:this[_0x3eb29d(0xc0)])!=null?_0x56b056:await this['_createSocket']();if(_0x30fe9a){const _0x5485da=_0x30fe9a[_0x3eb29d(0x43c)];_0x30fe9a[_0x3eb29d(0x43c)]=_0x227e78=>(this[_0x3eb29d(0x266)](),_0x5485da[_0x3eb29d(0x2c5)](_0x30fe9a,[_0x227e78])),_0x30fe9a['message$'][_0x3eb29d(0xe5)](_0x1c04db=>this['_onMessage'](_0x30fe9a,_0x1c04db)),_0x30fe9a[_0x3eb29d(0x1e0)][_0x3eb29d(0x2a5)](V[_0x3eb29d(0x31a)](0x1))['subscribe'](_0x2fc6e3=>this[_0x3eb29d(0x26f)][_0x3eb29d(0x256)]('[CollaborationSessionService]:\x20socket\x20error',_0x2fc6e3)),_0x30fe9a['open$']['pipe'](V[_0x3eb29d(0x31a)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x30fe9a);}),_0x30fe9a['close$'][_0x3eb29d(0x2a5)](V[_0x3eb29d(0x31a)](0x1))[_0x3eb29d(0xe5)](_0x15eda2=>{var _0x31647e=_0x3eb29d;this['_logService'][_0x31647e(0xc1)](_0x31647e(0x227),_0x31647e(0x1e5),_0x15eda2),this[_0x31647e(0x2df)]();});}}catch(_0x4ba8ec){this[_0x3eb29d(0x26f)][_0x3eb29d(0x256)](_0x4ba8ec),this[_0x3eb29d(0x2df)]();}}[_0xaa7fc(0x1c8)](_0x1fc55e){var _0x2287d2=_0xaa7fc;this['_logService']['debug'](_0x2287d2(0x227),'socket\x20open.'),_0x1fc55e[_0x2287d2(0x43c)]({'cmd':W[_0x2287d2(0x279)]}),this['_rescheduleHeartbeat']();}[_0xaa7fc(0x431)](){var _0x4f711e=_0xaa7fc;this[_0x4f711e(0x184)]=!0x1,this[_0x4f711e(0xc0)]=null,this['_status$']['next'](se['OFFLINE']),this[_0x4f711e(0x152)][_0x4f711e(0x38d)](null),this[_0x4f711e(0x1fa)](),this['_clearHeartbeatTimer']();}[_0xaa7fc(0x2df)](){var _0x55afa3=_0xaa7fc,_0x40413e;this[_0x55afa3(0x431)](),this[_0x55afa3(0x169)]<((_0x40413e=this['_configService'][_0x55afa3(0xb5)](mt))!=null?_0x40413e:Vt)?(this['_collaborationUIEventService'][_0x55afa3(0x2ac)]({'id':Q[_0x55afa3(0x1f0)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':Q['SOCKET_FAILED']});}[_0xaa7fc(0x167)](){var _0x1cd4e1=_0xaa7fc,_0x19c6b0;const _0x40bb2d=this[_0x1cd4e1(0x169)],_0x5d54ae=this['_configService'][_0x1cd4e1(0xb5)](Y),_0x24396f=_0x40bb2d===0x0?0x0:((_0x19c6b0=_0x5d54ae==null?void 0x0:_0x5d54ae[_0x1cd4e1(0x3cb)])!=null?_0x19c6b0:Ft)*0x2**_0x40bb2d;this[_0x1cd4e1(0x2e8)]=setTimeout(()=>{var _0x1a83be=_0x1cd4e1;clearTimeout(this[_0x1a83be(0x2e8)]),this['_retryConnectingTimer']=null,this[_0x1a83be(0x1cf)]();},_0x24396f),this['_retryCount']+=0x1;}[_0xaa7fc(0x21a)](_0x69501b,_0xb82ddd){var _0xa27def=_0xaa7fc;const {cmd:_0x12db7d}=_0xb82ddd;_0x12db7d===W[_0xa27def(0x279)]&&!this[_0xa27def(0x184)]&&(_0x69501b[_0xa27def(0x437)]=_0xb82ddd[_0xa27def(0x18e)][_0xa27def(0x437)],this[_0xa27def(0x152)][_0xa27def(0x38d)](_0x69501b),this['_status$']['next'](se[_0xa27def(0x144)]),this[_0xa27def(0x184)]=!0x0,this['_candidateSocket']=null),_0x12db7d===W[_0xa27def(0x347)]&&this[_0xa27def(0x1fa)](),this[_0xa27def(0x266)]();}['_rescheduleHeartbeat'](){var _0x25abc6=_0xaa7fc,_0x2c01aa;this[_0x25abc6(0x3c9)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x2c01aa=this[_0x25abc6(0x20d)][_0x25abc6(0xb5)](pt))!=null?_0x2c01aa:Bt);}[_0xaa7fc(0x1cb)](){var _0x485b2b=_0xaa7fc;this[_0x485b2b(0x22f)]['send']({'cmd':W[_0x485b2b(0x347)]}),this[_0x485b2b(0x101)]();}[_0xaa7fc(0x101)](){var _0x540163=_0xaa7fc,_0x1daa6a;this[_0x540163(0x2f9)]=setTimeout(()=>this[_0x540163(0x2df)](),(_0x1daa6a=this['_configService']['getConfig'](je))!=null?_0x1daa6a:gt);}[_0xaa7fc(0x3c9)](){var _0x41e7cc=_0xaa7fc;this[_0x41e7cc(0x121)]!=null&&(clearTimeout(this[_0x41e7cc(0x121)]),this[_0x41e7cc(0x121)]=null);}[_0xaa7fc(0x1fa)](){var _0x10893b=_0xaa7fc;this[_0x10893b(0x2f9)]!=null&&(clearTimeout(this[_0x10893b(0x2f9)]),this[_0x10893b(0x2f9)]=null);}},exports[_0xaa7fc(0x24e)]=ci([le(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),le(0x1,a['ILogService']),le(0x2,a[_0xaa7fc(0x41a)]),le(0x3,$e),le(0x4,a[_0xaa7fc(0x1a1)](te)),le(0x5,a['Optional'](bt))],exports[_0xaa7fc(0x24e)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)['toString'](0x10)[_0xaa7fc(0x161)](0x1));function hi(_0x413465,_0x38f5f3=0x0){var _0x41344e=_0xaa7fc;return(G[_0x413465[_0x38f5f3+0x0]]+G[_0x413465[_0x38f5f3+0x1]]+G[_0x413465[_0x38f5f3+0x2]]+G[_0x413465[_0x38f5f3+0x3]]+'-'+G[_0x413465[_0x38f5f3+0x4]]+G[_0x413465[_0x38f5f3+0x5]]+'-'+G[_0x413465[_0x38f5f3+0x6]]+G[_0x413465[_0x38f5f3+0x7]]+'-'+G[_0x413465[_0x38f5f3+0x8]]+G[_0x413465[_0x38f5f3+0x9]]+'-'+G[_0x413465[_0x38f5f3+0xa]]+G[_0x413465[_0x38f5f3+0xb]]+G[_0x413465[_0x38f5f3+0xc]]+G[_0x413465[_0x38f5f3+0xd]]+G[_0x413465[_0x38f5f3+0xe]]+G[_0x413465[_0x38f5f3+0xf]])[_0x41344e(0x134)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3f5437=_0xaa7fc;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3f5437(0x265)])throw new Error(_0x3f5437(0x1da));Ue=crypto[_0x3f5437(0x265)][_0x3f5437(0x317)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0xaa7fc(0x176)]&&crypto[_0xaa7fc(0x176)][_0xaa7fc(0x317)](crypto),qe={'randomUUID':ui};function di(_0x47658a,_0xf5898c,_0x2802ad){var _0x410462=_0xaa7fc,_0x137bcc,_0x2e5aae,_0x326265;if(qe[_0x410462(0x176)]&&!_0x47658a)return qe[_0x410462(0x176)]();_0x47658a=_0x47658a||{};const _0x1da9fd=(_0x326265=(_0x2e5aae=_0x47658a['random'])!=null?_0x2e5aae:(_0x137bcc=_0x47658a[_0x410462(0x3ad)])==null?void 0x0:_0x137bcc[_0x410462(0x247)](_0x47658a))!=null?_0x326265:_i();if(_0x1da9fd[_0x410462(0x3b0)]<0x10)throw new Error(_0x410462(0x1a7));return _0x1da9fd[0x6]=_0x1da9fd[0x6]&0xf|0x40,_0x1da9fd[0x8]=_0x1da9fd[0x8]&0x3f|0x80,hi(_0x1da9fd);}function _0x165d(){var _0x2a2083=['_logService','LOCAL_CACHE_INTERVAL','SheetsSelectionsService','c1Prime','_createHelper','_decreaseWaiting','_acknowledgedAwaitingChangeset','_init','lib','readAsDataURL','HELLO','_map','Injector','processBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','csRejEvent','/-/object/list','ThresholdInterceptorFactory','_parse','_getUndoStack','/universer-api/uniscript','_updateState','_unitInfo$','mode','LIVESHARE_NEW_HOST','iterations','href','formatter','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','startsWith','list','IMentionIOService','loadOfflineData','DEFAULT_COLLAB_WEB_SOCKET_URL','addHandlerCallback','decrypt','max','?size=','update','editingUnit','isTransformChangesetsSuccess','unpad','PSEUDO_FETCH_MISSING_RESULT','createDecryptor','YUUMI_URL_COL_OUT_OF_RANGE','_getSendChangesetTimeout','__esModule','then','awaiting_with_pending','subject','HEARTBEAT_TIMEOUT_KEY','localeService','add','readInt32LE','pipe','CONNECTOR_DATA_TOO_LARGE','LocalUndoRedoService','toString','onCommentUpdate','390580vfQkGM','/resources','emitEvent','onStateChange','getTypeOfUnitDisposed$','CollaborationImageIoService','uploadFileServerUrl','_doFinalize','unit-cache-','LIVESHARE_FETCH_OPERATIONS','UPDATE_CURSOR','hasOwnProperty','rxjs/operators','onCommandExecuted','NO_OTHER_CLIENTS_EDITING','_commandService','post','CollaborationSession','YUUMI_RATE_OVER_LIMIT','&to=','transformChangesets','CipherParams','_onRemoteChangeset','UNKNOWN_CMD','/-/object/-/batch_allowed','@univerjs/core','Subject','apply','_awaitingChangeset','SEND_CHANGESET_TIMEOUT_KEY','POST','words','_createHandler','MentionType','initWorkbookPermissionChange','session.room-full','message$','_transformSelections','SNAPSHOT_INVALID_SNAPSHOT','&assign=','getTypeOfUnitAdded$','_onRemoteRejected','_collaborationSessionService','entries','setShowComponents','parseProtocolChangeset','fromCharCode','onTransformSelections','_onRecvEvent','params','_initUnitPermissionChange','stopTime','values','_onConnectionFailed','Disposable','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_injector','getImage','findIndex','_permissionService','dispose$','_prevBlock','_retryConnectingTimer','map','textEncoder','_mode','signUrlServerUrl','getUnitStatus$','BlockCipherMode','ConflictState','ERROR_EXCEED_SIZE','ERROR_IMAGE_TYPE','_collaborationPaused','waitForRoom$','_syncEditingCollabCursor','find','startTime','_removeRoom','merge','_timeoutTimer','_commentUpdate$','_onRemoteACK','entityInit$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unitId','transformMutationsWithChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','OfflineState','_getAPIPrefixPath','AwaitingState','APPLY_REVISION_CONFILICT','session.room-cnt-exceeds','getDeserializedSheetBlock','DataLoaderService','[SyncedState]:\x20received\x20acknowledgement.','actions','USERS_LEAVE','FETCH_MISSING','image/gif','Rectangle','_replaceFileID','_getRedoStack','SheetPermissionInitController','IDLE','symbol','state','AUTHZ_URL_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getSheetBlock','bind','COLLAB_WEB_SOCKET_URL','LOGIN_FAILED','take','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_keySchedule','_userManagerService','[CollaborationEntity]','readyForCollab','onRemoteChangeset','_waitCount','addImageSourceCache','image/jpeg','_createInitialState','_members$','appendMutation','UnitEmbedded','YUUMI_UNABLE_LOAD_URL','baseRev','includes','\x0aCurrent:\x20','UNIVER_DOC','[OfflineState]:\x20received\x20changeset.','SNAPSHOT_HAS_BEEN_REMOVED','closeSession','getRoom','padding','parse','_applyRemoteChangeset','_initMergeInterceptor','_cipher','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','COMPRESS_MUTATION_SEND','random','onRemoteRetry','_ENC_XFORM_MODE','UNKNOWN_CODE','_clearLocalCache','__Key__','_telemetryInfo','_socketService','batchAllowed','_DEC_XFORM_MODE','connection\x20error','exports','_collaborationUIEventService','AwaitingWithPendingState','create','HEARTBEAT','SNAPSHOT_SERVER_URL_KEY','src','_initRequestHeader','_scheduleCollaborationTimeoutTimer','_remoteChangesetQueue','FetchingMissState','UnitStatus','getSnapshotAPIPath','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','compute','Base64','/collaborator','$super','from','takeUntil','SOCKET_FAILED','_data','_commentService','EmptyMutation','function','refreshPermission','resend','json','_toggleOffline','session.room-not-exists','__creator','close','commentUpdateEvent','SnapshotServerOverHTTPService','_executeRemoteChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','{fileID}','fetchThroughInterceptors','url','_collaborationTimeoutTimer','disableLocalCache','ITelemetryService','UNIVER_SLIDE','COMPLETION_FINISHED','\x20-\x20','_disableEditing','People','/universer-api/snapshot','PasswordBasedCipher','routeKey','@univerjs/telemetry','updatePermissionPoint','onRemoteAck','PERMISSION_REJ','status','enc','CHANGESET_SHOULD_RETRY','/role','IUniverInstanceService','Latin1','UNIVER_SHEET','_getAPIPrefix','downloadEndpointUrl','localCacheService','INVITE_CODE_ALREADY_BOUND','complete','synced','[PendingState]:\x20received\x20acknowledgement.','_resendWithTimeout','isTransformMutationsWithChangesetSuccess','range','DEFAULT_FILE_NAME','Utf8','getUnit','next','catch','UniverCollaborationPlugin','_transformRemoteChangesetByIMECache','_nDataBytes','HEARTBEAT_INTERVAL','LOGIN_URL_KEY','session.join-failed','DocCollaborationEntity','APPLY_PERMISSION_DENIED','_minBufferSize','_transformStack','interceptor','serializeCombRequest','incrementRevOfUnit','JOIN_ROOM_PERMISSION_DENIED','getCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','touchDependencies','getValue','algo','originalMeta','SerializableCipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','MentionIoHttpService','pad','updateOfflineData','_isPermissionRej','JOINING','_throwTelemetryCollaborationNewChangeset','unsubscribe','OTHER_CLIENT_EDITING','rng','result','image/png','length','delete','reset','UnitSnapshot','awaiting','TOO_MANY_REQUESTS','SheetTransformSelectionsService','auth.needGotoLoginAlert','UNIVER_PROJECT','size','mapDocumentTypeToUniverType','setConfig','onSyncEditingCollabCursor','allowed','_revisionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCompleteTimestamp','getMember','_roomCreated$','_createHmacHelper','7384069RKhmWe','randomBytes','event$','charCodeAt','AuthzIoHttpService','_clearHeartbeatTimer','RECV','retryConnectingInterval','online$','pending','_roomMembers','BufferedBlockAlgorithm','push','c2Prime','ISingleActiveUnitService','CHANGESET_ACK','join','set','encrypt','has','_transformService','7040360NrQaZV','CommandType','_clearCollaborationTimeoutTimer','_invKeySchedule','[SyncedState]:\x20received\x20rejection.','transformSelections','_doProcessBlock','OPTIONAL','_compressMutationService','CLOSE_ROOM','default','_process','\x20in\x20_schedule.','HMAC','createCollaborator','getMemberID','kdf','_clearRetryConnectingTimer','_type','UNIVER_UNKNOWN','finalize','getCollabEntity$','ERROR_IMAGE','_onUserJoin','_changesetSessionId','location','CBC','ReplaySubject','WorkbookEditablePermission','HmacSHA1','SUBMIT_CHANGESET_TIMEOUT','LocaleService','_replayCachedMutations','getInterceptPoints','CollaborativeUndoRedoService','_clearScheduledTask','disposeWithMe','not_collab','onStarting','override','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','JOIN_ROOM_FULL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/file/{fileID}/sign-url','SheetCollaborationEntity','_getLoginPath','objectType','LICENSE_DISTRO_REJECTED','PY_RUNTIME_SCRIPT_ERROR','transformUndoRedo','ImageUploadStatusType','save\x20fail\x20reason\x20is\x20','floor','SYNCED','FAIL','@univerjs-pro/collaboration','_HTTPService','m2Prime','[UniverCollaborationClientPlugin]','objectID','saveSheetBlock','/rev/','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_undoRedoService','onSendChangeset','IConfigService','isPermissionRej','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_singleActiveUnitService','dispose','title','INVALID_INVITE_CODE','createInstance','_emitMembers','NEW_CHANGESETS','loginUrlKey','newCsEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onMissingChangesets','SNAPSHOT_URL_KEY','_telemetryService','abs','onTransformRemoteChangesetByIMECache','prototype','splice','_onRemoteRetry','OTHER_CLIENTS_EDITING','1639384NWarHy','_onOffline','setCurrentUser','31923oXXuMF','ILogService','_memberService','append','memberID','sessionStatus','leaveEvent','cmd','PENDING','send','IPermissionService','_handlerCallback','Workbook','getConfig','_clearRedo','HEARTBEAT_INTERVAL_KEY','_toggleOnline','fetch_missing','roomInfos','mergeOverrideWithDependencies','_eventService','focused$','_onUserLeave','_univerInstanceService','_candidateSocket','debug','unitId\x20is\x20not\x20found','conflict','Quantity','_startTelemetryCollaborationNewChangeset','_initCloseConn','asObservable','MemberService','sendChangesetTimeout','SessionStatus','parseChangesetToProtocol','PERMISSION_DENIED','SUCCUSS','objectActions','_transitionLocked','clamp','Could\x20not\x20dynamically\x20require\x20\x22','collaMsg','COMPRESS_MUTATION_APPLY','joinRsp','avatar','StreamCipher','BehaviorSubject','encryptBlock','init','?url=','_stopTelemetryCollaborationNewChangeset','collaboratorID','_entityInit$','filter','patch','HttpExport','toggleOffline','_change$','file','_showConflictNotification','subscribe','sin','_event$','/block/','get','PERSON','_checkMissing','LICENSE_IMPORT_SIZE_EXCEEDED','Base','sid','salt','GLOBAL_ROOMS_CNT_EXCEEDS','Hex','getImageSourceCache','code','subUnitId','onTransformState','_clearUndo','INVALID_ARGUMENT','onMissedChangesetFetched','registerDependencies','/unit/','_pendingMutations','ENSURE_SNAPSHOT_EXECUTION','forEach','COLLAB_SUBMIT_CHANGESET_URL','[FetchMissState]','COMMENT_UPDATE','_waitForHeartbeatResponse','RxDisposable','LIVESHARE_OPERATION','@univerjs/drawing','SetSelectionsOperation','_xformMode','/object','/universer-api/oidc/authpage','blockSize','_state','getActiveSheet','liveShareOperation','reduce','_changesetReqId','stringify','crypto','_onJoinRoomEvent','buffer','csAckEvent','_collabSessionService','INTERNAL_ERROR','_sendingTimer','_onFetchMissResult','_onLocalMutation','_transformUndoredo','_getSignURL','UniverNetworkPlugin','getCurrentRevOfUnit','decryptBlock','_instanceService','InsertSheetMutation','Optional','_sendHeartbeatTimer','onRemoteRej','onTransformIME','_reverseMap','key','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','shouldCloseConn','session.room-permission-denied','OFFLINE','_unitID','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[OfflineState]:\x20received\x20rejection.','APPLY_REJECT','/object/','_entities','_snapshotService','onlyLocal','Module','charAt','toLowerCase','/universer-api/authz','uniscriptRunEvent','JOIN','_updateStatus','editing\x20status\x20changed\x20to','requireSession','CollaborationUIEventService','execute','executeCommand','delay','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Hasher','_imageSourceCache','offline','_httpService','ONLINE','_transformRemoteChangesetByStateCache','_updateLocalCache','deepClone','SyncedState','getLocalCacheKey','UNDEFINED','encode','collabSubmitChangesetUrl','LIVESHARE_TERMINATE','CollaborationUIEventId','firstValueFrom','_loadDoc','USERS_ENTER','_socket$','now','fetchMissingChangesets','SUBMIT_CHANGESET','[DataLoaderService]','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','IImageIoService','_resendTimeout','_status$','open$','permissionRejEvent','equals','LEAVE','WordArray','fromCollab','slice','hasher','hostname','awaitingChangeset','collaborators','_members','_tryReconnect','submit\x20changeset\x20error!','_retryCount','workbook','[CollaborationUndoRedoService]','reconnect','failed\x20to\x20apply\x20missed\x20changesets!','Decryptor','defineProperty','17TupnxE','reqId','UPDATE_PERMISSION_OBJ','body','clear','HTTPRequest','randomUUID','CollaborationEntity','_snapshotServerService','FETCH_MISS','CollaborationSocketService','_unlockTransition','getCollabEntity','eventID','MUTATION','compose','ALREADY_EXISTS','string','OpenSSL','extend','_socketReady','UserManagerService','isTransformMutationsWithChangesetFailure','members','UNISCRIPT_RUN','reject','revision','EvpKDF','unknown','_onConflict','data','clone','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ImageSourceType','transformStack\x20failed!','session','listCollaborators','INGEST','\x20to\x20','/allowed','getOwnPropertyDescriptor','status$','state$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','univer-pro.collaboration-client-socket-service','format','loadUnit','msCrypto','toStringTag','Inject','sessionStatus$','HTTPService','_getCurrentRevision','snapshotServerUrl','image/jpg','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','members$','_keyPriorReset','name','replace','_getCtorByUniverType','_transformIMECache','removeMember','ceil','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','_getDownloadEndpointURL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','INVITE_CODE_REQUIRED','getCurrentSelections','substr','Undefined','_registerDependencies','_append','_sheetTransformSelectionsService','Cipher','ICommandService','_loadSheet','_queuedRemoteChangesets','_lockTransition','_joinRoom','getWorkbookSelections','_transformStateCache','_fetchMissChangesets','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UNRECOGNIZED','getSheetId','Failed\x20to\x20update\x20permission\x20point','_onConnectionOpen','toDisposable','selections','_sendHeartbeat','univer-pro.collaboration-client.single-active-unit-service','Encryptor','RichTextEditingMutation','_tryEnsureSocket','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_schedule','_substituteUndoStack','_sender','createIdentifier','headers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOIN_ROOM_FAILED','CompressMutationService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','NoPadding','INVITE_CODE_HAS_BEEN_UES','textRanges','_iv','socket$','error$','unitID','authzUrl','keySize','_doReset','socket\x20close','NOT_COLLAB','/universer-api/stream/file/upload','SEND_CHANGESET_TIMEOUT','ws://127.0.0.1:8000/universer-api/comb/connect','Tools','SnapshotService','BlockCipher','_state$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetching\x20missing\x20changesets\x20from\x20','SOCKET_FAILED_RETRY','infoRsp','_sessions','ciphertext','toggleOnline','liveShareNewHost','_resendTimer','LICENSE_EXPORT_SIZE_EXCEEDED','concat','_hasher','_clearTimeoutTimer','CollaborationController','concatMap','sigBytes','_createSocket','CHANGESET_REVISION_CONFILICT','_handler','copyFileMeta','method','_networkConditionService','put','Error\x20on\x20receiving\x20event','target','UniverCollaborationClientPlugin','rev','CollaborationEvent','_startCollaboration','6PBvOxh','_nRounds','_configService','1930YptAtL','COLLAB_WEB_SOCKET_URL_KEY','pauseCollaboration','94314dxBhNi','enableOfflineEditing','_incrementRevisionNumber','encodeURIComponent','mixIn','loadDoc','getUnitId','CONFLICT','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_onMessage','CHANGESET_REJ','[CollaborationSession]','SHA1','ISnapshotServerService','requestParams','_submitChangeset','LICENSE_MAX_UNITS_EXCEEDED','IUndoRedoService','registerHTTPInterceptor','HEARTBEAT_TIMEOUT','ITransformService','withCredentials','[CollaborationSessionService]','objects','_hash','_key','_doCryptBlock','NOT_FOUND','collaboration-client.config','changesets','_socket','_shouldReportTelemetry','UniverInstanceType','updateMember','isArray','createSocket','b64DecodeUnicode','SHOULD_CLOSE_CONN','change$','_socketMessageSubscription','MD5','_localeService','socketService','[OfflineState]:\x20received\x20acknowledgement.','deserializeToCombResponse','&source=','USER_NOT_INVITED_CODE','JOIN_ROOM_NOT_EXISTS','RETRY_CONNECTING_MAX_COUNT','76924DXzaSI','PendingState','type','pluginName','[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.','call','FileId','AES','getFocusedUnit','IAuthzIoService','fetchMiss','BASE64','CollaborationSessionService','indexOf','_initDependencies','@univerjs/docs','getLatestCsReqIdBySid','every','min','sheets','error','univer-pro.collaboration-client.network-condition.service','RevisionService','_listenToNetworkCondition','CommentService','resolve','saveImage','isInternalEditorID','_localCacheService','createEncryptor','userID','mutations','_config','repeat','onTransformRemoteChangesetByStateCache','getRandomValues','_rescheduleHeartbeat','_onCombEvent','_exhaustRemoteChangesetQueue','cfg','byteLength','HttpImport','setWaitCount','_createInitialStateImpl','_sessionStatus$'];_0x165d=function(){return _0x2a2083;};return _0x165d();}const z=a[_0xaa7fc(0x1d4)]('collaboration-client.local-cache-service');function vi(_0x4c8f97){var _0x2b948d=_0xaa7fc;return _0x2b948d(0x2b2)+_0x4c8f97;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x536775,_0x22df14,_0xd2cbae,_0x2c2efc)=>{var _0x4eb469=_0xaa7fc;for(var _0x7eb570=_0x2c2efc>0x1?void 0x0:_0x2c2efc?Si(_0x22df14,_0xd2cbae):_0x22df14,_0x3525a2=_0x536775[_0x4eb469(0x3b0)]-0x1,_0x756ce;_0x3525a2>=0x0;_0x3525a2--)(_0x756ce=_0x536775[_0x3525a2])&&(_0x7eb570=_0x756ce(_0x7eb570)||_0x7eb570);return _0x7eb570;},Ae=(_0x215146,_0x15b9f8)=>(_0x580d0d,_0x4a8588)=>_0x15b9f8(_0x580d0d,_0x4a8588,_0x215146);function pi(_0x268416){var _0x551c89=_0xaa7fc;const {unitID:_0x22771b,mutations:_0x256696}=_0x268416;return{'unitId':_0x22771b,'subUnitId':_0x256696[0x0][_0x551c89(0x2db)][_0x551c89(0xf4)]};}exports[_0xaa7fc(0x3b6)]=class{constructor(_0x5853bb,_0x4b45fd,_0x40e3b0){var _0x5c7aef=_0xaa7fc;this[_0x5c7aef(0x2e2)]=_0x5853bb,this[_0x5c7aef(0x3d8)]=_0x4b45fd,this[_0x5c7aef(0x11e)]=_0x40e3b0;}[_0xaa7fc(0x3de)](_0xad85b4){var _0x229023=_0xaa7fc,_0x1b74ee,_0x27f07,_0x2b1d56,_0x4468a1;const _0x2c5765=this[_0x229023(0x2e2)][_0x229023(0xe9)](Z[_0x229023(0x271)]),{unitId:_0x356e9e,subUnitId:_0x50b671}=pi(_0xad85b4),_0x16163e=_0x2c5765==null?void 0x0:_0x2c5765[_0x229023(0x1c1)](_0x356e9e)[_0x229023(0x1b5)](),_0x556f97=(_0x27f07=(_0x1b74ee=this[_0x229023(0x11e)][_0x229023(0x38c)](_0x356e9e))==null?void 0x0:_0x1b74ee[_0x229023(0x10b)]())==null?void 0x0:_0x27f07[_0x229023(0x1c6)]();if(_0x16163e['length']===0x0||!_0x356e9e||!_0x50b671)return;const _0x566253=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x356e9e,'subUnitId':_0x556f97,'selections':a['Tools'][_0x229023(0x147)](_0x16163e)}}],_0x55160a=this['_transformService'][_0x229023(0x2ff)](_0xad85b4,_0x566253);if(!g[_0x229023(0x388)](_0x55160a))throw _0x55160a[_0x229023(0x256)];const _0x1385b5=(_0x4468a1=(_0x2b1d56=_0x55160a[_0x229023(0x412)][0x0])==null?void 0x0:_0x2b1d56['params'])==null?void 0x0:_0x4468a1[_0x229023(0x1ca)];if(Array[_0x229023(0x233)](_0x1385b5)&&_0x1385b5[_0x229023(0x3b0)]){if(_0x1385b5[_0x229023(0x3b0)]===_0x566253[0x0][_0x229023(0x2db)]['selections'][_0x229023(0x3b0)]&&_0x1385b5[_0x229023(0x253)]((_0x48a3cc,_0x2bc2b4)=>a[_0x229023(0x30d)][_0x229023(0x15d)](_0x48a3cc[_0x229023(0x389)],_0x566253[0x0][_0x229023(0x2db)][_0x229023(0x1ca)][_0x2bc2b4][_0x229023(0x389)])))return;this[_0x229023(0x2e2)][_0x229023(0xe9)](a[_0x229023(0x1bc)])[_0x229023(0x13d)](Z[_0x229023(0x105)]['id'],{'unitId':_0x356e9e,'subUnitId':_0x556f97,'selections':_0x1385b5});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),Ae(0x1,g[_0xaa7fc(0x225)]),Ae(0x2,a[_0xaa7fc(0x37d)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0xaa7fc(0x1cc));var Fe=(_0x275ecd=>(_0x275ecd[_0x275ecd[_0xaa7fc(0x2b8)]=0x0]=_0xaa7fc(0x2b8),_0x275ecd[_0x275ecd['OTHER_CLIENTS_EDITING']=0x1]=_0xaa7fc(0x42f),_0x275ecd))(Fe||{});const gi=new Set([Z[_0xaa7fc(0x11f)]['id']]);function ze(_0x43df69,_0x10d3d9,_0x5d5686,_0x4d1921,_0x40d864){var _0x21b1f2=_0xaa7fc,_0x461780,_0x1ce538,_0x8a8b00,_0x458395;const _0x23fda6=[];for(const _0x52f281 of _0x43df69)if(gi['has'](_0x52f281['id'])){if(_0x23fda6[_0x21b1f2(0x3b0)]>0x0)break;_0x23fda6['push'](_0x52f281);break;}else _0x23fda6['push'](_0x52f281);const _0x2c903b=(_0x1ce538=(_0x461780=_0x40d864[_0x21b1f2(0x39d)]())==null?void 0x0:_0x461780[_0x21b1f2(0x260)])!=null?_0x1ce538:_0x21b1f2(0x18c),_0x536088=(_0x458395=(_0x8a8b00=_0x40d864[_0x21b1f2(0x39d)]())==null?void 0x0:_0x8a8b00[_0x21b1f2(0x437)])!=null?_0x458395:'unknown';return{'changeset':{'unitID':_0x10d3d9,'type':g['mapDocumentTypeToUniverType'](_0x5d5686['getUnitType'](_0x10d3d9)),'baseRev':_0x4d1921[_0x21b1f2(0x11c)](_0x10d3d9),'revision':0x0,'userID':_0x2c903b,'memberID':_0x536088,'mutations':_0x23fda6},'pendingMutations':_0x43df69[_0x21b1f2(0x161)](_0x23fda6[_0x21b1f2(0x3b0)])};}function mi(_0x555ca3,_0x56a5ef,_0x157e81,_0x234f94,_0x13614a){var _0x43b024=_0xaa7fc,_0x4d3395,_0x3a27ab,_0x2a1eff,_0x1e3dd1;const _0x13013c=[_0x555ca3[_0x43b024(0x10d)]((_0x1c0e9b,_0x59eba5)=>{var _0x238410=_0x43b024,_0xa091ab;const {id:_0x5d69bf}=_0x1c0e9b,{id:_0x519d88,type:_0x31b665}=_0x59eba5,_0x10ec99=(_0xa091ab=_0x1c0e9b[_0x238410(0x2db)])!=null?_0xa091ab:{'actions':null},_0x2a16e7=_0x59eba5[_0x238410(0x2db)];if(_0x5d69bf&&_0x5d69bf!==_0x519d88)throw new Error(_0x238410(0x426)+_0x5d69bf+_0x238410(0x36f)+_0x519d88+'.');return{..._0x1c0e9b,'id':_0x519d88,'type':_0x31b665,'params':{'unitId':_0x2a16e7[_0x238410(0x2fe)],'textRanges':_0x2a16e7[_0x238410(0x1dd)],'actions':a['JSONX'][_0x238410(0x17f)](_0x10ec99['actions'],_0x2a16e7[_0x238410(0x309)])}};},{})],_0x2159fe=(_0x3a27ab=(_0x4d3395=_0x13614a[_0x43b024(0x39d)]())==null?void 0x0:_0x4d3395[_0x43b024(0x260)])!=null?_0x3a27ab:'unknown',_0x4c3230=(_0x1e3dd1=(_0x2a1eff=_0x13614a[_0x43b024(0x39d)]())==null?void 0x0:_0x2a1eff[_0x43b024(0x437)])!=null?_0x1e3dd1:_0x43b024(0x18c);return{'changeset':{'unitID':_0x56a5ef,'type':g[_0x43b024(0x3ba)](_0x157e81['getUnitType'](_0x56a5ef)),'baseRev':_0x234f94['getCurrentRevOfUnit'](_0x56a5ef),'revision':0x0,'userID':_0x2159fe,'memberID':_0x4c3230,'mutations':_0x13013c},'pendingMutations':[]};}function Ot(_0x13b92b,_0x2e5695){var _0x470eac=_0xaa7fc;const _0x35c924=new j[(_0x470eac(0x3f4))](0x1);return setTimeout(()=>_0x35c924['next'](_0x2e5695),_0x13b92b),_0x35c924[_0x470eac(0xc7)]()[_0x470eac(0x2a5)](j[_0x470eac(0x31a)](0x1));}const Ii={'id':Z[_0xaa7fc(0x35a)]['id'],'type':a['CommandType'][_0xaa7fc(0x17e)],'params':{}};var Ei=Object[_0xaa7fc(0x198)],ce=(_0xc166bb,_0x447022,_0x582043,_0x3bfc23)=>{var _0x512271=_0xaa7fc;for(var _0x1ecb31=_0x3bfc23>0x1?void 0x0:_0x3bfc23?Ei(_0x447022,_0x582043):_0x447022,_0xe4d275=_0xc166bb[_0x512271(0x3b0)]-0x1,_0x5da791;_0xe4d275>=0x0;_0xe4d275--)(_0x5da791=_0xc166bb[_0xe4d275])&&(_0x1ecb31=_0x5da791(_0x1ecb31)||_0x1ecb31);return _0x1ecb31;},w=(_0x548c5f,_0x200e0f)=>(_0x41557f,_0x246bb5)=>_0x200e0f(_0x41557f,_0x246bb5,_0x548c5f),Ve=(_0x35e686=>(_0x35e686[_0xaa7fc(0x1e6)]=_0xaa7fc(0x3fe),_0x35e686[_0xaa7fc(0x40e)]=_0xaa7fc(0x385),_0x35e686[_0xaa7fc(0x43b)]=_0xaa7fc(0x3cd),_0x35e686['AWAITING']='awaiting',_0x35e686['AWAITING_WITH_PENDING']=_0xaa7fc(0x29f),_0x35e686[_0xaa7fc(0x179)]=_0xaa7fc(0xb9),_0x35e686[_0xaa7fc(0x218)]=_0xaa7fc(0xc3),_0x35e686[_0xaa7fc(0x129)]=_0xaa7fc(0x142),_0x35e686))(Ve||{});const Nt=0xea60;class he{constructor(_0x50d888,_0x157ffd,_0x343e80,_0x268afc,_0x1a44ec,_0x197e91,_0x5005bd,_0x24b759,_0x62e20c){var _0x5c1fe2=_0xaa7fc;A(this,_0x5c1fe2(0x2c6),null),A(this,_0x5c1fe2(0xfb),[]),(this[_0x5c1fe2(0x1e1)]=_0x50d888,this['type']=_0x157ffd,this[_0x5c1fe2(0x200)]=_0x1a44ec,this[_0x5c1fe2(0x2b9)]=_0x197e91,this[_0x5c1fe2(0x418)]=_0x5005bd,this[_0x5c1fe2(0x3be)]=_0x24b759,this[_0x5c1fe2(0x25e)]=_0x62e20c,this[_0x5c1fe2(0x2c6)]=_0x343e80,this[_0x5c1fe2(0xfb)]=_0x268afc);}['_checkMissing'](_0x419b0d){var _0x14f49e=_0xaa7fc;const _0xd867da=this[_0x14f49e(0x3be)][_0x14f49e(0x11c)](this['unitID']);return _0x419b0d[_0x14f49e(0x18a)]>_0xd867da+0x1?(this[_0x14f49e(0x200)][_0x14f49e(0x427)]({'from':_0xd867da,'to':_0x419b0d[_0x14f49e(0x18a)]-0x1}),!0x0):!0x1;}[_0xaa7fc(0x119)](_0x2fe713){var _0xc17f77=_0xaa7fc;this[_0xc17f77(0x418)][_0xc17f77(0x40a)](this['unitID'],_0x2fe713);}[_0xaa7fc(0x2cf)](_0x5e2e40){var _0x21b7fd=_0xaa7fc,_0x42e4eb,_0x4497f9;(_0x4497f9=(_0x42e4eb=this['_handler'])[_0x21b7fd(0x2d9)])==null||_0x4497f9[_0x21b7fd(0x247)](_0x42e4eb,_0x5e2e40);}['_transformIMECache'](_0x57b305){var _0x2128a2=_0xaa7fc,_0x359c15,_0x20b6a1;return(_0x20b6a1=(_0x359c15=this[_0x2128a2(0x200)])[_0x2128a2(0x123)])==null?void 0x0:_0x20b6a1['call'](_0x359c15,_0x57b305);}[_0xaa7fc(0x1c2)](_0x163f9a){var _0x4e64d6=_0xaa7fc,_0x2f4c46,_0x2b16a5;return(_0x2b16a5=(_0x2f4c46=this[_0x4e64d6(0x200)])[_0x4e64d6(0xf5)])==null?void 0x0:_0x2b16a5[_0x4e64d6(0x247)](_0x2f4c46,_0x163f9a);}[_0xaa7fc(0x390)](_0x497d92){var _0x13f4bc=_0xaa7fc,_0xfc01ab,_0x259e31,_0x179b35;return(_0x179b35=(_0x259e31=(_0xfc01ab=this[_0x13f4bc(0x200)])[_0x13f4bc(0x42b)])==null?void 0x0:_0x259e31[_0x13f4bc(0x247)](_0xfc01ab,_0x497d92))!=null?_0x179b35:_0x497d92;}[_0xaa7fc(0x145)](_0x4536b4){var _0x423698=_0xaa7fc,_0x566ded,_0x56f827,_0x229cc1;return(_0x229cc1=(_0x56f827=(_0x566ded=this[_0x423698(0x200)])[_0x423698(0x264)])==null?void 0x0:_0x56f827[_0x423698(0x247)](_0x566ded,_0x4536b4))!=null?_0x229cc1:_0x4536b4;}[_0xaa7fc(0x2f4)](_0x486872){var _0x1245db=_0xaa7fc,_0x294ee3,_0x30e622;if(this[_0x1245db(0x244)]===X[_0x1245db(0x32c)]){const {unitID:_0x13d815,mutations:_0x21a7f3,memberID:_0x5a8a02}=_0x486872,_0x4e1e23=_0x21a7f3[0x0][_0x1245db(0x2db)][_0x1245db(0x1dd)];Array[_0x1245db(0x233)](_0x4e1e23)&&_0x4e1e23[_0x1245db(0x3b0)]>0x0&&((_0x30e622=(_0x294ee3=this[_0x1245db(0x200)])[_0x1245db(0x3bc)])==null||_0x30e622[_0x1245db(0x247)](_0x294ee3,{'unitID':_0x13d815,'memberID':_0x5a8a02,'textRanges':_0x4e1e23}));}}[_0xaa7fc(0x146)](){var _0x57805a=_0xaa7fc,_0x133102;(_0x133102=this[_0x57805a(0x25e)])==null||_0x133102[_0x57805a(0x3a7)](this['unitID'],this[_0x57805a(0x244)],this[_0x57805a(0x2c6)],this[_0x57805a(0xfb)]);}[_0xaa7fc(0x1a4)](){var _0x219a25=_0xaa7fc;return this[_0x219a25(0x3be)]['getCurrentRevOfUnit'](this[_0x219a25(0x1e1)]);}['_incrementRevisionNumber'](){var _0x17431f=_0xaa7fc;this[_0x17431f(0x3be)][_0x17431f(0x39b)](this[_0x17431f(0x1e1)]);}[_0xaa7fc(0x365)](_0x3ca429){var _0x2ce44a=_0xaa7fc,_0x190eeb;let _0x3f55f4=this['_transformRemoteChangesetByIMECache'](_0x3ca429);_0x3f55f4=this[_0x2ce44a(0x145)](_0x3f55f4);const _0x19d46d=a['sequenceExecute'](_0x3f55f4[_0x2ce44a(0x261)],this[_0x2ce44a(0x2b9)],{'fromCollab':!0x0});if(!_0x19d46d[_0x2ce44a(0x3ae)])throw _0x19d46d[_0x2ce44a(0x256)]instanceof Error?_0x19d46d[_0x2ce44a(0x256)]:new Error((_0x190eeb=_0x19d46d[_0x2ce44a(0x256)])!=null?_0x190eeb:'[CollaborationState]:\x20apply\x20error!');this[_0x2ce44a(0x1ad)](_0x3f55f4),this['_transformStateCache'](_0x3f55f4),this[_0x2ce44a(0x119)](_0x3ca429),this[_0x2ce44a(0x2cf)](_0x3f55f4),this[_0x2ce44a(0x2f4)](_0x3f55f4),this[_0x2ce44a(0x213)]();}}exports[_0xaa7fc(0x148)]=class extends he{constructor(_0x15e2ab,_0x5bd25d,_0x30fcc4,_0x21cb06,_0xa6b629,_0x5e2280,_0x3aa4b1,_0x5f12f5,_0x27c9ce,_0x383c20){var _0x135c06=_0xaa7fc;super(_0x15e2ab,_0x5bd25d,null,[],_0x30fcc4,_0x3aa4b1,_0x5e2280,_0x21cb06,_0x383c20),A(this,'status','synced'),(this[_0x135c06(0x2e2)]=_0xa6b629,this['_logService']=_0x5f12f5,this[_0x135c06(0x3d8)]=_0x27c9ce,this['localCacheService']=_0x383c20);}[_0xaa7fc(0x326)](_0x942135){var _0x1827c6=_0xaa7fc;const _0x4d2319=this[_0x1827c6(0x2e2)]['createInstance'](exports[_0x1827c6(0x243)],this['unitID'],this[_0x1827c6(0x244)],[_0x942135],this['_handler']);return _0x4d2319[_0x1827c6(0x1d1)](),_0x4d2319[_0x1827c6(0x146)](),_0x4d2319;}['onRemoteChangeset'](_0x4d9699){var _0x1fe996=_0xaa7fc;if(this[_0x1fe996(0xeb)](_0x4d9699))return this[_0x1fe996(0x2e2)][_0x1fe996(0x421)](exports[_0x1fe996(0x34d)],this[_0x1fe996(0x1e1)],this['type'],null,[],null,[_0x4d9699],this[_0x1fe996(0x200)]);try{const _0x2b15e7=this[_0x1fe996(0x3d8)][_0x1fe996(0x2ff)](_0x4d9699,[Ii]);if(g[_0x1fe996(0x388)](_0x2b15e7)){const {c1Prime:_0x5776a1}=_0x2b15e7;return this['_executeRemoteChangeset'](_0x5776a1),this;}throw _0x2b15e7[_0x1fe996(0x256)];}catch(_0xec071){return this[_0x1fe996(0x26f)][_0x1fe996(0x256)](_0xec071),this['_onConflict'](!0x1);}}[_0xaa7fc(0x18d)](_0x2dfe98){var _0x58ab3e=_0xaa7fc;return this[_0x58ab3e(0x2e2)]['createInstance'](exports[_0x58ab3e(0x2ef)],this[_0x58ab3e(0x1e1)],this[_0x58ab3e(0x244)],null,[],this['_handler'],_0x2dfe98);}[_0xaa7fc(0x377)](){var _0x55da47=_0xaa7fc;throw new Error(_0x55da47(0x308));}[_0xaa7fc(0x122)](){var _0x1531e8=_0xaa7fc;throw new Error(_0x1531e8(0x3dd));}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){var _0x7e7392=_0xaa7fc;return this[_0x7e7392(0x2e2)][_0x7e7392(0x421)](exports['OfflineState'],this[_0x7e7392(0x1e1)],this['type'],null,[],this['_handler']);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x584da0=_0xaa7fc;throw new Error(_0x584da0(0x3bf));}[_0xaa7fc(0x24c)](){var _0x5b836a=_0xaa7fc;const _0xa38fe1=this[_0x5b836a(0x3be)][_0x5b836a(0x11c)](this[_0x5b836a(0x1e1)]);return this[_0x5b836a(0x200)][_0x5b836a(0x427)]({'from':_0xa38fe1,'to':0x0}),this[_0x5b836a(0x2e2)][_0x5b836a(0x421)](exports[_0x5b836a(0x34d)],this['unitID'],this[_0x5b836a(0x244)],null,[],null,[],this['_handler']);}},exports[_0xaa7fc(0x148)]=ce([w(0x3,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0xaa7fc(0x1bc)]),w(0x7,a[_0xaa7fc(0x434)]),w(0x8,g[_0xaa7fc(0x225)]),w(0x9,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x148)]),exports[_0xaa7fc(0x243)]=class extends he{constructor(_0x550f2d,_0x2b80f8,_0x2ef5b7,_0x3dfcc7,_0x43d580,_0x50a32c,_0x112226,_0xe7e71e,_0x4bcf22,_0x1f67ef,_0x20cefa,_0x5ae788,_0x30677d,_0x3dfce9){var _0x5df3a0=_0xaa7fc;super(_0x550f2d,_0x2b80f8,null,_0x2ef5b7,_0x3dfcc7,_0x4bcf22,_0x30677d,_0x50a32c,_0x3dfce9),A(this,_0x5df3a0(0x379),'pending'),A(this,_0x5df3a0(0x3c0),null),A(this,'_sendingTimer',null),(this['_injector']=_0x43d580,this[_0x5df3a0(0x435)]=_0x112226,this[_0x5df3a0(0x26f)]=_0xe7e71e,this['_configService']=_0x1f67ef,this[_0x5df3a0(0x3d8)]=_0x20cefa,this[_0x5df3a0(0xbf)]=_0x5ae788);}[_0xaa7fc(0x326)](_0x5868c3){var _0x50a6fc=_0xaa7fc;return this[_0x50a6fc(0xfb)][_0x50a6fc(0x3d0)](_0x5868c3),this[_0x50a6fc(0x146)](),this;}[_0xaa7fc(0x320)](_0x4d1417){var _0x3f913d=_0xaa7fc;if(this[_0x3f913d(0xeb)](_0x4d1417))return this[_0x3f913d(0x3fc)](),this['_injector']['createInstance'](exports[_0x3f913d(0x34d)],this[_0x3f913d(0x1e1)],this[_0x3f913d(0x244)],null,this[_0x3f913d(0xfb)],null,[_0x4d1417],this['_handler']);try{const _0x5b858e=this[_0x3f913d(0x3d8)][_0x3f913d(0x2ff)](_0x4d1417,this[_0x3f913d(0xfb)]);if(g[_0x3f913d(0x388)](_0x5b858e)){const {c1Prime:_0xcfc634,m2Prime:_0x24debb}=_0x5b858e;this[_0x3f913d(0x365)](_0xcfc634);const _0x1797e7=this['_injector'][_0x3f913d(0x421)](exports[_0x3f913d(0x243)],this[_0x3f913d(0x1e1)],this['type'],_0x24debb,this[_0x3f913d(0x200)]);this[_0x3f913d(0x3fc)]();const _0x4b9954=new Date()['getTime'](),_0x3101ca=this[_0x3f913d(0x3c0)]?Math[_0x3f913d(0x293)](this[_0x3f913d(0x3c0)]-_0x4b9954,0x0):this[_0x3f913d(0x29c)]();return _0x1797e7[_0x3f913d(0x1d1)](_0x3101ca),_0x1797e7;}throw _0x5b858e['error'];}catch(_0x87a5a2){return this[_0x3f913d(0x26f)]['error'](_0x87a5a2),this[_0x3f913d(0x18d)](!0x1);}}[_0xaa7fc(0x377)](){var _0x475a92=_0xaa7fc;throw new Error(_0x475a92(0x386));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){var _0x57ab43=_0xaa7fc;return this['_clearScheduledTask'](),this['_injector'][_0x57ab43(0x421)](exports[_0x57ab43(0x301)],this[_0x57ab43(0x1e1)],this[_0x57ab43(0x244)],null,this['_pendingMutations'],this['_handler']);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x1d1)](_0x1283c1){var _0x3c4eeb=_0xaa7fc;const _0x4746bf=_0x1283c1!=null?_0x1283c1:this[_0x3c4eeb(0x29c)]();this[_0x3c4eeb(0x3c0)]=new Date()['getTime']()+_0x4746bf,this['_sendingTimer']=setTimeout(()=>{var _0x289033=_0x3c4eeb;this['_clearScheduledTask']();let _0x4deef5=null;switch(this['type']){case X['UNIVER_SHEET']:{_0x4deef5=ze(this[_0x289033(0xfb)],this[_0x289033(0x1e1)],this[_0x289033(0xbf)],this[_0x289033(0x3be)],this[_0x289033(0x435)]);break;}case X[_0x289033(0x32c)]:{this['_pendingMutations'][_0x289033(0x253)](_0x530780=>_0x530780['id']===ut[_0x289033(0x1ce)]['id'])?_0x4deef5=mi(this[_0x289033(0xfb)],this['unitID'],this[_0x289033(0xbf)],this[_0x289033(0x3be)],this[_0x289033(0x435)]):_0x4deef5=ze(this[_0x289033(0xfb)],this[_0x289033(0x1e1)],this['_univerInstanceService'],this[_0x289033(0x3be)],this[_0x289033(0x435)]);break;}default:throw new Error(_0x289033(0x2fd)+this['type']+_0x289033(0x3e5));}const {changeset:_0x450fbc,pendingMutations:_0x5b0133}=_0x4deef5;this[_0x289033(0x200)][_0x289033(0x419)](_0x450fbc);const _0x5b5686=_0x5b0133[_0x289033(0x3b0)]?this[_0x289033(0x2e2)][_0x289033(0x421)](exports[_0x289033(0x345)],this['unitID'],this[_0x289033(0x244)],_0x450fbc,_0x5b0133,this[_0x289033(0x200)],void 0x0):this[_0x289033(0x2e2)][_0x289033(0x421)](exports[_0x289033(0x303)],this[_0x289033(0x1e1)],this[_0x289033(0x244)],_0x450fbc,this[_0x289033(0x200)]);_0x5b5686[_0x289033(0x146)](),this[_0x289033(0x200)][_0x289033(0x2ad)](this,_0x5b5686);},_0x4746bf);}[_0xaa7fc(0x29c)](){var _0xe30ddc=_0xaa7fc,_0x4643b2;const _0x1039da=this['_configService'][_0xe30ddc(0xb5)](Y);return(_0x4643b2=_0x1039da==null?void 0x0:_0x1039da[_0xe30ddc(0xc9)])!=null?_0x4643b2:jt;}['resend'](){var _0x2e257c=_0xaa7fc;throw new Error(_0x2e257c(0x28b));}[_0xaa7fc(0x3fc)](){var _0x1f99be=_0xaa7fc;this[_0x1f99be(0x116)]!=null&&(clearTimeout(this[_0x1f99be(0x116)]),this[_0x1f99be(0x116)]=null);}[_0xaa7fc(0x18d)](_0x2c88de){var _0x331c31=_0xaa7fc;return this[_0x331c31(0x3fc)](),this[_0x331c31(0x2e2)][_0x331c31(0x421)](exports[_0x331c31(0x2ef)],this[_0x331c31(0x1e1)],this['type'],null,this['_pendingMutations'],this[_0x331c31(0x200)],_0x2c88de);}},exports['PendingState']=ce([w(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x5,a[_0xaa7fc(0x1a1)](g['RevisionService'])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a[_0xaa7fc(0x1bc)]),w(0x9,a['IConfigService']),w(0xa,g[_0xaa7fc(0x225)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0xaa7fc(0x222)]),w(0xd,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x243)]),exports[_0xaa7fc(0x303)]=class extends he{constructor(_0x4bc39e,_0x1c52ef,_0x12c243,_0x371f7c,_0x59cac1,_0x3a3761,_0x4f12bb,_0x36a5ce,_0x4c61ca,_0x4e0b39,_0x7b082e){var _0x39dfbf=_0xaa7fc;super(_0x4bc39e,_0x1c52ef,_0x12c243,[],_0x371f7c,_0x4f12bb,_0x4e0b39,_0x3a3761,_0x7b082e),A(this,_0x39dfbf(0x379),_0x39dfbf(0x3b4)),A(this,_0x39dfbf(0x159),0x0),A(this,_0x39dfbf(0x1f6)),A(this,_0x39dfbf(0x1d3)),(this[_0x39dfbf(0x2e2)]=_0x59cac1,this[_0x39dfbf(0x26f)]=_0x36a5ce,this[_0x39dfbf(0x3d8)]=_0x4c61ca);}[_0xaa7fc(0x326)](_0x1fccb1){var _0x41f60c=_0xaa7fc;this[_0x41f60c(0x3fc)]();const _0x3a556e=this[_0x41f60c(0x2e2)][_0x41f60c(0x421)](exports[_0x41f60c(0x345)],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1fccb1],this[_0x41f60c(0x200)],this[_0x41f60c(0x1f6)]);return _0x3a556e['_updateLocalCache'](),_0x3a556e;}[_0xaa7fc(0x320)](_0x4af0e){var _0xb5c2c=_0xaa7fc;if(this[_0xb5c2c(0xeb)](_0x4af0e))return this[_0xb5c2c(0x3fc)](),this[_0xb5c2c(0x2e2)][_0xb5c2c(0x421)](exports[_0xb5c2c(0x34d)],this[_0xb5c2c(0x1e1)],this['type'],this['_awaitingChangeset'],[],null,[_0x4af0e],this[_0xb5c2c(0x200)]);try{const _0x135478=this[_0xb5c2c(0x3d8)][_0xb5c2c(0x2be)]([_0x4af0e],[this[_0xb5c2c(0x2c6)]],!0x1);if(g[_0xb5c2c(0x297)](_0x135478)){const {c1Prime:_0x52c12e,c2Prime:_0x1d6c76}=_0x135478;this['_executeRemoteChangeset'](_0x52c12e[0x0]),_0x1d6c76[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xb5c2c(0x3fc)]();const _0x2541ef=this[_0xb5c2c(0x2e2)][_0xb5c2c(0x421)](exports[_0xb5c2c(0x303)],this[_0xb5c2c(0x1e1)],this['type'],_0x1d6c76[0x0],this['_handler']);return _0x2541ef[_0xb5c2c(0x146)](),_0x2541ef;}return this[_0xb5c2c(0x18d)](!0x1);}catch(_0x247943){return this[_0xb5c2c(0x26f)][_0xb5c2c(0x256)](_0x247943),this[_0xb5c2c(0x18d)](!0x1);}}[_0xaa7fc(0x377)](_0x4d5f26){var _0x164e99=_0xaa7fc;this[_0x164e99(0x3fc)]();const _0x3693cb=this[_0x164e99(0x3be)][_0x164e99(0x11c)](this['unitID']);if(_0x4d5f26[_0x164e99(0x18a)]<_0x3693cb-0x1)return this;if(this[_0x164e99(0xeb)](_0x4d5f26))return this['_injector'][_0x164e99(0x421)](exports['FetchingMissState'],this['unitID'],this[_0x164e99(0x244)],null,[],this[_0x164e99(0x2c6)],[],this[_0x164e99(0x200)]);this[_0x164e99(0x213)]();const _0x5d33c7=this[_0x164e99(0x2e2)]['createInstance'](exports['SyncedState'],this[_0x164e99(0x1e1)],this[_0x164e99(0x244)],this[_0x164e99(0x200)]);return _0x5d33c7[_0x164e99(0x146)](),_0x5d33c7;}['onRemoteRej'](_0x48d34e){var _0x3f4335=_0xaa7fc;return this[_0x3f4335(0x18d)](!!(_0x48d34e!=null&&_0x48d34e['isPermissionRej']));}[_0xaa7fc(0x339)](_0x35623b){var _0x3d67fa=_0xaa7fc;return this[_0x3d67fa(0x159)]>Nt?this[_0x3d67fa(0xe1)]():(this[_0x3d67fa(0x1f6)]=Ot(this['_resendTimeout'],{'timeout':this[_0x3d67fa(0x159)],'reqId':_0x35623b['reqId']}),this['_sender']=this[_0x3d67fa(0x1f6)][_0x3d67fa(0xe5)](({reqId:_0x45182f,timeout:_0x4fb37c})=>{this['_resendWithTimeout'](_0x45182f,_0x4fb37c);}),this);}[_0xaa7fc(0xe1)](){var _0x4733e9=_0xaa7fc;return this[_0x4733e9(0x3fc)](),this[_0x4733e9(0x2e2)]['createInstance'](exports[_0x4733e9(0x301)],this[_0x4733e9(0x1e1)],this[_0x4733e9(0x244)],this[_0x4733e9(0x2c6)],[],this[_0x4733e9(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x10e2d4=_0xaa7fc;this[_0x10e2d4(0x200)][_0x10e2d4(0x419)](this[_0x10e2d4(0x2c6)]);}['_onConflict'](_0x2d815c){var _0x2172bb=_0xaa7fc;return this[_0x2172bb(0x3fc)](),this[_0x2172bb(0x2e2)][_0x2172bb(0x421)](exports['ConflictState'],this[_0x2172bb(0x1e1)],this[_0x2172bb(0x244)],this[_0x2172bb(0x2c6)],[],this[_0x2172bb(0x200)],_0x2d815c);}[_0xaa7fc(0x387)](_0xd2535c,_0xd5d3b5){var _0x34ddeb=_0xaa7fc,_0x56178e;_0xd2535c===((_0x56178e=this[_0x34ddeb(0x2c6)])==null?void 0x0:_0x56178e[_0x34ddeb(0x171)])&&(this[_0x34ddeb(0x35d)](),this['_resendTimeout']=_0xd5d3b5===0x0?0x3e8:_0xd5d3b5*0x2);}[_0xaa7fc(0x3fc)](){var _0x3c1285=_0xaa7fc,_0x50551d;(_0x50551d=this['_sender'])==null||_0x50551d[_0x3c1285(0x3ab)](),this['_resendTimeout']=0x0;}},exports[_0xaa7fc(0x303)]=ce([w(0x4,a['Inject'](a[_0xaa7fc(0x27b)])),w(0x5,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x6,a[_0xaa7fc(0x1bc)]),w(0x7,a[_0xaa7fc(0x434)]),w(0x8,g[_0xaa7fc(0x225)]),w(0x9,a[_0xaa7fc(0x222)]),w(0xa,a[_0xaa7fc(0x120)](z))],exports['AwaitingState']),exports[_0xaa7fc(0x345)]=class extends he{constructor(_0xddf2ca,_0x2baeb0,_0x32fde7,_0xd0d9f4,_0x103c35,_0x36c2f1,_0x1da7e5,_0x3216ef,_0x5017e0,_0x34de8c,_0x245854,_0x91957a,_0x1f0565){var _0x5c5af0=_0xaa7fc;super(_0xddf2ca,_0x2baeb0,_0x32fde7,_0xd0d9f4,_0x103c35,_0x5017e0,_0x91957a,_0x3216ef,_0x1f0565),A(this,'status',_0x5c5af0(0x29f)),A(this,_0x5c5af0(0x159),0x0),A(this,_0x5c5af0(0x1f6)),A(this,_0x5c5af0(0x1d3)),(this[_0x5c5af0(0x2e2)]=_0x1da7e5,this[_0x5c5af0(0x26f)]=_0x34de8c,this[_0x5c5af0(0x3d8)]=_0x245854,this['localCacheService']=_0x1f0565,_0x36c2f1&&(this[_0x5c5af0(0x1f6)]=_0x36c2f1,this[_0x5c5af0(0x1d3)]=this[_0x5c5af0(0x1f6)][_0x5c5af0(0xe5)](({reqId:_0xf80bd7,timeout:_0x48ffce})=>{var _0x242b04=_0x5c5af0;this[_0x242b04(0x387)](_0xf80bd7,_0x48ffce);})));}[_0xaa7fc(0x326)](_0x10160a){var _0x4e44b2=_0xaa7fc;return this[_0x4e44b2(0xfb)][_0x4e44b2(0x3d0)](_0x10160a),this;}['onRemoteChangeset'](_0x30b7c5){var _0x13052f=_0xaa7fc;if(this['_checkMissing'](_0x30b7c5))return this['_clearScheduledTask'](),this[_0x13052f(0x2e2)][_0x13052f(0x421)](exports[_0x13052f(0x34d)],this[_0x13052f(0x1e1)],this['type'],this[_0x13052f(0x2c6)],this[_0x13052f(0xfb)],null,[_0x30b7c5],this['_handler']);try{const _0x43df7a=this[_0x13052f(0x3d8)][_0x13052f(0x2be)]([_0x30b7c5],[this[_0x13052f(0x2c6)]],!0x1);if(g[_0x13052f(0x297)](_0x43df7a)){const {c1Prime:_0x377580,c2Prime:_0x2336b1}=_0x43df7a,_0x1fee58=this[_0x13052f(0x3d8)]['transformMutationsWithChangeset'](_0x377580[0x0],this[_0x13052f(0xfb)]);if(g[_0x13052f(0x388)](_0x1fee58)){const {c1Prime:_0x20f6c9,m2Prime:_0x192300}=_0x1fee58;return this['_executeRemoteChangeset'](_0x20f6c9),_0x2336b1[0x0][_0x13052f(0x329)]=this[_0x13052f(0x1a4)](),this['_clearScheduledTask'](),this[_0x13052f(0x2e2)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x13052f(0x1e1)],this[_0x13052f(0x244)],_0x2336b1[0x0],_0x192300,this[_0x13052f(0x200)],void 0x0);}throw _0x1fee58[_0x13052f(0x256)];}throw _0x43df7a['error'];}catch(_0x2a7ab0){return this[_0x13052f(0x26f)]['error'](_0x2a7ab0),this[_0x13052f(0x18d)](!0x1);}}['onRemoteAck'](_0x3a304c){var _0x417d1f=_0xaa7fc;if(this[_0x417d1f(0x3fc)](),this['_checkMissing'](_0x3a304c))return this['_injector']['createInstance'](exports[_0x417d1f(0x34d)],this['unitID'],this[_0x417d1f(0x244)],null,this[_0x417d1f(0xfb)],this[_0x417d1f(0x2c6)],[],this[_0x417d1f(0x200)]);this[_0x417d1f(0x213)]();const _0x26d09a=this['_injector'][_0x417d1f(0x421)](exports[_0x417d1f(0x243)],this[_0x417d1f(0x1e1)],this['type'],this['_pendingMutations'],this[_0x417d1f(0x200)]);return _0x26d09a[_0x417d1f(0x1d1)](),_0x26d09a[_0x417d1f(0x146)](),_0x26d09a;}['onRemoteRej'](_0x5195c9){var _0x2a23fb=_0xaa7fc;return this['_onConflict'](!!(_0x5195c9!=null&&_0x5195c9[_0x2a23fb(0x41b)]));}[_0xaa7fc(0x339)](_0x43120c){var _0x1ab70b=_0xaa7fc;return this[_0x1ab70b(0x159)]>Nt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x1ab70b(0x159)],{'timeout':this[_0x1ab70b(0x159)],'reqId':_0x43120c['reqId']}),this[_0x1ab70b(0x1d3)]=this[_0x1ab70b(0x1f6)]['subscribe'](({reqId:_0x4d1922,timeout:_0x1621ca})=>{this['_resendWithTimeout'](_0x4d1922,_0x1621ca);}),this);}[_0xaa7fc(0xe1)](){var _0x4de8de=_0xaa7fc;return this[_0x4de8de(0x3fc)](),this[_0x4de8de(0x2e2)][_0x4de8de(0x421)](exports[_0x4de8de(0x301)],this[_0x4de8de(0x1e1)],this[_0x4de8de(0x244)],this[_0x4de8de(0x2c6)],this[_0x4de8de(0xfb)],this[_0x4de8de(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}['resend'](){var _0x1c76c7=_0xaa7fc;this['_handler'][_0x1c76c7(0x419)](this[_0x1c76c7(0x2c6)]);}[_0xaa7fc(0x18d)](_0x34aa6c){var _0xbc4915=_0xaa7fc;return this[_0xbc4915(0x3fc)](),this[_0xbc4915(0x2e2)][_0xbc4915(0x421)](exports[_0xbc4915(0x2ef)],this[_0xbc4915(0x1e1)],this[_0xbc4915(0x244)],null,this[_0xbc4915(0xfb)],this[_0xbc4915(0x200)],_0x34aa6c);}[_0xaa7fc(0x387)](_0x11bc59,_0x185bc1){var _0x1193bc=_0xaa7fc,_0x2e39dd;_0x11bc59===((_0x2e39dd=this['_awaitingChangeset'])==null?void 0x0:_0x2e39dd['reqId'])&&(this[_0x1193bc(0x35d)](),this[_0x1193bc(0x159)]=_0x185bc1===0x0?0x3e8:_0x185bc1*0x2);}[_0xaa7fc(0x3fc)](){var _0x5e3332=_0xaa7fc,_0x127617;(_0x127617=this[_0x5e3332(0x1d3)])==null||_0x127617[_0x5e3332(0x3ab)](),this[_0x5e3332(0x159)]=0x0;}},exports[_0xaa7fc(0x345)]=ce([w(0x6,a[_0xaa7fc(0x1a1)](a['Injector'])),w(0x7,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x8,a[_0xaa7fc(0x1bc)]),w(0x9,a[_0xaa7fc(0x434)]),w(0xa,g['ITransformService']),w(0xb,a[_0xaa7fc(0x222)]),w(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x345)]),exports[_0xaa7fc(0x2ef)]=class extends he{constructor(_0x52fad9,_0xde9a9c,_0x240f6d,_0x226ddb,_0x342079,_0x77a3c5=!0x1,_0xbdd89,_0x1e3a07,_0x37d4b7,_0x585d27,_0x2f0c36,_0x516ab4,_0x497a06){var _0x1c1afc=_0xaa7fc;super(_0x52fad9,_0xde9a9c,_0x240f6d,_0x226ddb,_0x342079,_0x1e3a07,_0x37d4b7,_0x585d27,_0x497a06),A(this,_0x1c1afc(0x379),'conflict'),(this[_0x1c1afc(0x3a8)]=_0x77a3c5,this[_0x1c1afc(0x2e5)]=_0xbdd89,this[_0x1c1afc(0x23a)]=_0x2f0c36,this[_0x1c1afc(0x344)]=_0x516ab4,this[_0x1c1afc(0x382)]=_0x497a06,this[_0x1c1afc(0xe4)](),this['_clearLocalCache'](),this[_0x1c1afc(0x370)]());}[_0xaa7fc(0x326)](){return this;}[_0xaa7fc(0x320)](){return this;}[_0xaa7fc(0x377)](){return this;}[_0xaa7fc(0x122)](){return this;}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){return this;}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x429bd0=_0xaa7fc;throw new Error(_0x429bd0(0x403));}[_0xaa7fc(0x33c)](){var _0x40be63=_0xaa7fc,_0x2b436b;(_0x2b436b=this[_0x40be63(0x25e)])==null||_0x2b436b[_0x40be63(0x3a7)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x42c89d=_0xaa7fc;this['_isPermissionRej']?this[_0x42c89d(0x344)][_0x42c89d(0x2ac)]({'id':Q[_0x42c89d(0xcc)]}):this['_collaborationUIEventService'][_0x42c89d(0x2ac)]({'id':Q[_0x42c89d(0x218)]});}[_0xaa7fc(0x370)](){var _0x5b2334=_0xaa7fc;this[_0x5b2334(0x2e5)][_0x5b2334(0x376)](new Z[(_0x5b2334(0x3f5))](this[_0x5b2334(0x1e1)])['id'],!0x1);}},exports[_0xaa7fc(0x2ef)]=ce([w(0x6,a[_0xaa7fc(0x1a1)](a['IPermissionService'])),w(0x7,a['ICommandService']),w(0x8,a[_0xaa7fc(0x222)]),w(0x9,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0xa,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),w(0xb,a[_0xaa7fc(0x1a1)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0xaa7fc(0x301)]=class extends he{constructor(_0x3e2543,_0xc17f7a,_0x37cebc,_0x3d474b,_0x2274c8,_0x3f2190,_0x134be3,_0xe8a64e,_0x55041f,_0x32fc8e){var _0x52477f=_0xaa7fc;super(_0x3e2543,_0xc17f7a,_0x37cebc,_0x3d474b,_0x2274c8,_0xe8a64e,_0x55041f,_0x134be3,_0x32fc8e),A(this,_0x52477f(0x379),'offline'),this[_0x52477f(0x2e2)]=_0x3f2190;}[_0xaa7fc(0x326)](_0x2b2df9){var _0x540bbf=_0xaa7fc;return this[_0x540bbf(0xfb)][_0x540bbf(0x3d0)](_0x2b2df9),this[_0x540bbf(0x146)](),this;}[_0xaa7fc(0x320)](_0x3c367e){var _0x3e506b=_0xaa7fc;throw new Error(_0x3e506b(0x32d));}[_0xaa7fc(0x377)](){var _0xc8ed62=_0xaa7fc;throw new Error(_0xc8ed62(0x23c));}['onRemoteRej'](){var _0xa740ab=_0xaa7fc;throw new Error(_0xa740ab(0x12c));}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){return this;}['toggleOnline'](){var _0x471222=_0xaa7fc;const {_injector:_0x1aba03,_pendingMutations:_0x1c06f5,_awaitingChangeset:_0x3149bd,unitID:_0x6625fa,_handler:_0x48c212,type:_0x12ad26}=this,_0x6ed5c=Dt(_0x1aba03,_0x6625fa,_0x12ad26,_0x3149bd,_0x1c06f5,_0x48c212);return _0x6ed5c instanceof exports['PendingState']?_0x6ed5c['_schedule']():(_0x6ed5c instanceof exports[_0x471222(0x345)]||_0x6ed5c instanceof exports[_0x471222(0x303)])&&_0x6ed5c[_0x471222(0x35d)](),_0x6ed5c;}[_0xaa7fc(0x35d)](){var _0x39aae5=_0xaa7fc;throw new Error(_0x39aae5(0x27d));}},exports['OfflineState']=ce([w(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x6,a['Inject'](g[_0xaa7fc(0x258)])),w(0x7,a[_0xaa7fc(0x1bc)]),w(0x8,a[_0xaa7fc(0x222)]),w(0x9,a['Optional'](z))],exports[_0xaa7fc(0x301)]),exports[_0xaa7fc(0x34d)]=class extends he{constructor(_0xc88ee9,_0x5d71ac,_0x18b010,_0x471702,_0x3048ef,_0x256f3f,_0x39d279,_0x1aff73,_0x466e89,_0x2268ea,_0x3b8e2e,_0xdf4350,_0x457e36,_0xe2e6e6){var _0x2b6d92=_0xaa7fc;super(_0xc88ee9,_0x5d71ac,_0x18b010,_0x471702,_0x39d279,_0x3b8e2e,_0xdf4350,_0x466e89,_0xe2e6e6),A(this,_0x2b6d92(0x379),_0x2b6d92(0xb9)),(this[_0x2b6d92(0x275)]=_0x3048ef,this[_0x2b6d92(0x1be)]=_0x256f3f,this['_injector']=_0x1aff73,this['_logService']=_0x2268ea,this['_transformService']=_0x457e36,this[_0x2b6d92(0x382)]=_0xe2e6e6);}[_0xaa7fc(0xf8)](_0xa70fba){var _0x288375=_0xaa7fc;try{const _0x41ea55=[..._0xa70fba,...this[_0x288375(0x1be)]],_0x260263=[this[_0x288375(0x2c6)]||this[_0x288375(0x275)]][_0x288375(0xde)](_0x18c9b0=>!!_0x18c9b0);let _0x385884,_0x5db131;if(_0x260263[_0x288375(0x3b0)]){const _0x4cdff8=this[_0x288375(0x3d8)][_0x288375(0x2be)](_0x41ea55,_0x260263,!0x1);if(!g[_0x288375(0x297)](_0x4cdff8))throw _0x4cdff8['error'];_0x385884=_0x4cdff8[_0x288375(0x272)],_0x5db131=_0x4cdff8[_0x288375(0x3d1)];}else _0x385884=_0x41ea55,_0x5db131=[];let _0x26b191=this[_0x288375(0xfb)];_0x385884[_0x288375(0xfd)](_0xeab8f2=>{var _0x33ddcc=_0x288375;let _0x1a8127;if(_0x26b191[_0x33ddcc(0x3b0)]){const _0x254d9b=this[_0x33ddcc(0x3d8)][_0x33ddcc(0x2ff)](_0xeab8f2,_0x26b191);if(!g['isTransformMutationsWithChangesetSuccess'](_0x254d9b))throw _0x254d9b[_0x33ddcc(0x256)];_0x1a8127=_0x254d9b[_0x33ddcc(0x272)],_0x26b191=_0x254d9b[_0x33ddcc(0x412)];}else _0x1a8127=_0xeab8f2;this['_executeRemoteChangeset'](_0x1a8127);}),this[_0x288375(0x275)]&&this['_incrementRevisionNumber'](),this[_0x288375(0x2c6)]&&_0x5db131[_0x288375(0x3b0)]&&(_0x5db131[0x0]['baseRev']=this['_getCurrentRevision']());let _0x40ef89;if(this[_0x288375(0x2c6)]&&_0x26b191['length']!==0x0)_0x40ef89=this[_0x288375(0x2e2)]['createInstance'](exports[_0x288375(0x345)],this[_0x288375(0x1e1)],this[_0x288375(0x244)],_0x5db131[0x0],_0x26b191,this[_0x288375(0x200)],void 0x0);else{if(this[_0x288375(0x2c6)]&&_0x26b191[_0x288375(0x3b0)]===0x0)_0x5db131[0x0]['baseRev']=this['_getCurrentRevision'](),_0x40ef89=this[_0x288375(0x2e2)][_0x288375(0x421)](exports['AwaitingState'],this[_0x288375(0x1e1)],this[_0x288375(0x244)],_0x5db131[0x0],this[_0x288375(0x200)]);else{if(_0x26b191[_0x288375(0x3b0)]!==0x0){const _0x567851=this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x243)],this[_0x288375(0x1e1)],this['type'],_0x26b191,this[_0x288375(0x200)]);_0x567851[_0x288375(0x1d1)](),_0x40ef89=_0x567851;}else _0x40ef89=this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x148)],this[_0x288375(0x1e1)],this[_0x288375(0x244)],this[_0x288375(0x200)]);}}return _0x40ef89[_0x288375(0x146)](),_0x40ef89;}catch(_0x3fe21f){return this['_logService']['error'](_0x288375(0xff),_0x288375(0x16d),_0x3fe21f),this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x2ef)],this[_0x288375(0x1e1)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x288375(0x200)],!0x1);}}[_0xaa7fc(0x35d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xaa7fc(0x326)](_0xaa3536){var _0x293795=_0xaa7fc;return this[_0x293795(0xfb)][_0x293795(0x3d0)](_0xaa3536),this;}[_0xaa7fc(0x320)](_0x2d0442){var _0x1cfd8d=_0xaa7fc;return this[_0x1cfd8d(0x1be)][_0x1cfd8d(0x3d0)](_0x2d0442),this;}['onRemoteAck'](_0xff2710){var _0x3c3feb=_0xaa7fc;if(this['_awaitingChangeset'])return this[_0x3c3feb(0x275)]=this['_awaitingChangeset'],this[_0x3c3feb(0x2c6)]=null,this;throw new Error(_0x3c3feb(0x3a4));}[_0xaa7fc(0x122)](_0x51bf97){var _0x12f44d=_0xaa7fc;return this[_0x12f44d(0x18d)](!!(_0x51bf97!=null&&_0x51bf97[_0x12f44d(0x41b)]));}[_0xaa7fc(0x339)](){return this;}['toggleOffline'](){var _0x13be41=_0xaa7fc;return this[_0x13be41(0x2e2)][_0x13be41(0x421)](exports['OfflineState'],this[_0x13be41(0x1e1)],this[_0x13be41(0x244)],this[_0x13be41(0x2c6)],this[_0x13be41(0xfb)],this[_0x13be41(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x18d)](_0x130b1e){var _0x40dc79=_0xaa7fc;return this[_0x40dc79(0x2e2)][_0x40dc79(0x421)](exports[_0x40dc79(0x2ef)],this['unitID'],this['type'],this[_0x40dc79(0x2c6)],this[_0x40dc79(0xfb)],this[_0x40dc79(0x200)],_0x130b1e);}},exports['FetchingMissState']=ce([w(0x7,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x8,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x9,a['ILogService']),w(0xa,a[_0xaa7fc(0x1bc)]),w(0xb,a[_0xaa7fc(0x222)]),w(0xc,g[_0xaa7fc(0x225)]),w(0xd,a['Optional'](z))],exports[_0xaa7fc(0x34d)]);function Dt(_0x44bffb,_0x8ca510,_0x42f24c,_0x4557fe,_0x56aa2e,_0x59fa1e){var _0x111b10=_0xaa7fc;return _0x4557fe&&_0x56aa2e['length']?_0x44bffb['createInstance'](exports[_0x111b10(0x345)],_0x8ca510,_0x42f24c,_0x4557fe,_0x56aa2e,_0x59fa1e,void 0x0):_0x4557fe?_0x44bffb[_0x111b10(0x421)](exports['AwaitingState'],_0x8ca510,_0x42f24c,_0x4557fe,_0x59fa1e):_0x56aa2e[_0x111b10(0x3b0)]?_0x44bffb[_0x111b10(0x421)](exports[_0x111b10(0x243)],_0x8ca510,_0x42f24c,_0x56aa2e,_0x59fa1e):_0x44bffb[_0x111b10(0x421)](exports[_0x111b10(0x148)],_0x8ca510,_0x42f24c,_0x59fa1e);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x1d7948,_0x3fd0d0,_0x3025ad,_0xc1a87f)=>{for(var _0x152406=_0xc1a87f>0x1?void 0x0:_0xc1a87f?Ci(_0x3fd0d0,_0x3025ad):_0x3fd0d0,_0x227fba=_0x1d7948['length']-0x1,_0x419ecb;_0x227fba>=0x0;_0x227fba--)(_0x419ecb=_0x1d7948[_0x227fba])&&(_0x152406=_0x419ecb(_0x152406)||_0x152406);return _0x152406;},$=(_0x2bdae9,_0xeb3ae7)=>(_0xbeb12b,_0x1a91e3)=>_0xeb3ae7(_0xbeb12b,_0x1a91e3,_0x2bdae9);exports[_0xaa7fc(0x177)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x254fb5,_0xd7360,_0x18ceb9,_0x3bc7d4,_0x14d93d,_0x3fb24f,_0x470b8e,_0x5d9ed9,_0x2f4de3,_0x20934a,_0x37c068,_0x462a73,_0x211be1){var _0x1e0eb4=_0xaa7fc;super(),A(this,_0x1e0eb4(0x1ed),new j[(_0x1e0eb4(0xd7))](null)),A(this,_0x1e0eb4(0x19a),this[_0x1e0eb4(0x1ed)][_0x1e0eb4(0xc7)]()),A(this,_0x1e0eb4(0x10a)),A(this,_0x1e0eb4(0x2f2),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x1e0eb4(0x199),this['state$'][_0x1e0eb4(0x2a5)](j[_0x1e0eb4(0x2e9)](_0x4dff89=>_0x4dff89?_0x4dff89[_0x1e0eb4(0x379)]:Ve[_0x1e0eb4(0x129)]),j['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x1e0eb4(0x34c),[]),(this[_0x1e0eb4(0x1e1)]=_0x254fb5,this[_0x1e0eb4(0x193)]=_0xd7360,this[_0x1e0eb4(0x3eb)]=_0x18ceb9,this[_0x1e0eb4(0x2e2)]=_0x3bc7d4,this[_0x1e0eb4(0x3e1)]=_0x14d93d,this[_0x1e0eb4(0x23a)]=_0x3fb24f,this[_0x1e0eb4(0x3be)]=_0x470b8e,this[_0x1e0eb4(0xbc)]=_0x5d9ed9,this[_0x1e0eb4(0x26f)]=_0x2f4de3,this[_0x1e0eb4(0x2b9)]=_0x20934a,this[_0x1e0eb4(0x2e5)]=_0x37c068,this[_0x1e0eb4(0x41d)]=_0x462a73,this[_0x1e0eb4(0x25e)]=_0x211be1);}get[_0xaa7fc(0x313)](){var _0x23c1e1=_0xaa7fc;return this[_0x23c1e1(0x10a)];}async[_0xaa7fc(0xd9)](){var _0x258503=_0xaa7fc;if(this[_0x258503(0x313)])throw new Error(_0x258503(0x126));await this[_0x258503(0x276)]();}[_0xaa7fc(0x210)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x8eac1c=_0x453e;this[_0x8eac1c(0x2f2)]=!0x1,this[_0x8eac1c(0x268)]();});}['onLocalMutation'](_0x40815f){var _0x6ac15f=_0xaa7fc;this[_0x6ac15f(0x118)](_0x40815f);}[_0xaa7fc(0x284)](_0x4d0f83){var _0x280543=_0xaa7fc;this[_0x280543(0x10a)]=_0x4d0f83,this['_state$'][_0x280543(0x38d)](_0x4d0f83);}async[_0xaa7fc(0x276)](){var _0x182d8b=_0xaa7fc,_0x5e3724;this[_0x182d8b(0x284)](await this['_createInitialState']()),this[_0x182d8b(0x41d)]&&((_0x5e3724=this[_0x182d8b(0x41d)])==null||_0x5e3724[_0x182d8b(0x296)](this[_0x182d8b(0x1e1)]),this['disposeWithMe'](this[_0x182d8b(0x41d)][_0x182d8b(0x2ed)](this[_0x182d8b(0x1e1)])[_0x182d8b(0xe5)](_0x3cb5e2=>{var _0x2fb337=_0x182d8b;this['_logService'][_0x2fb337(0xc1)](_0x2fb337(0x31e),_0x2fb337(0x139),_0x3cb5e2),_0x3cb5e2===Fe[_0x2fb337(0x42f)]?(this[_0x2fb337(0xbc)][_0x2fb337(0x2ac)]({'id':Q[_0x2fb337(0x3ac)]}),this[_0x2fb337(0x2e5)]['updatePermissionPoint'](new Z[(_0x2fb337(0x3f5))](this[_0x2fb337(0x1e1)])['id'],!0x1),this['_permissionService'][_0x2fb337(0x2d6)](!0x1)):(this[_0x2fb337(0x2e5)][_0x2fb337(0x376)](new Z[(_0x2fb337(0x3f5))](this[_0x2fb337(0x1e1)])['id'],!0x0),this[_0x2fb337(0x2e5)][_0x2fb337(0x2d6)](!0x0));})));let _0x311d7a=!0x1;return this[_0x182d8b(0x3fd)](this[_0x182d8b(0x193)]['sessionStatus$']['subscribe'](_0x56c74a=>{var _0x36b85e=_0x182d8b;_0x56c74a===se[_0x36b85e(0x144)]?this[_0x36b85e(0xb8)](_0x311d7a):_0x56c74a===se['OFFLINE']&&(_0x311d7a=!0x0,this[_0x36b85e(0x35f)]());})),this['disposeWithMe'](this['session'][_0x182d8b(0x3c6)][_0x182d8b(0xe5)](_0xef882a=>{var _0x134d85=_0x182d8b;try{switch(_0xef882a[_0x134d85(0x17d)]){case g[_0x134d85(0x209)][_0x134d85(0x423)]:{this[_0x134d85(0x2c0)](g[_0x134d85(0x2d7)](_0xef882a[_0x134d85(0x18e)]));break;}case g[_0x134d85(0x209)]['CHANGESET_ACK']:{this[_0x134d85(0x2fb)](_0xef882a[_0x134d85(0x18e)]);break;}case g[_0x134d85(0x209)][_0x134d85(0x21b)]:{this[_0x134d85(0x2d3)]();break;}case g[_0x134d85(0x209)][_0x134d85(0x37b)]:{this[_0x134d85(0x42e)](_0xef882a[_0x134d85(0x18e)]);break;}case g[_0x134d85(0x209)][_0x134d85(0x299)]:{this[_0x134d85(0x117)](_0xef882a[_0x134d85(0x18e)][_0x134d85(0x22e)]['map'](_0x36c7da=>g[_0x134d85(0x2d7)](_0x36c7da)));break;}case g[_0x134d85(0x209)][_0x134d85(0x378)]:{this[_0x134d85(0x2d3)]({'isPermissionRej':!0x0});break;}case g[_0x134d85(0x209)][_0x134d85(0x188)]:break;}}catch(_0x50721d){throw console['error'](_0x134d85(0x205),_0x50721d),_0x50721d;}})),this[_0x182d8b(0x10a)];}[_0xaa7fc(0x17b)](){this['_transitionLocked']=!0x1;}[_0xaa7fc(0x1bf)](){var _0x3a04e3=_0xaa7fc;if(this[_0x3a04e3(0xcf)])throw new Error(_0x3a04e3(0x246));this['_transitionLocked']=!0x0;}[_0xaa7fc(0x118)](_0x250e98){var _0x216e1f=_0xaa7fc;this['_lockTransition'](),this[_0x216e1f(0x284)](this['_state'][_0x216e1f(0x326)](_0x250e98)),this['_unlockTransition']();}[_0xaa7fc(0x2c0)](_0x413a4b){var _0x5683ed=_0xaa7fc;if(!(_0x413a4b[_0x5683ed(0x18a)]<=this[_0x5683ed(0x3be)][_0x5683ed(0x11c)](this[_0x5683ed(0x1e1)]))){if(this[_0x5683ed(0x2f2)]){this[_0x5683ed(0x34c)][_0x5683ed(0x3d0)](_0x413a4b);return;}this[_0x5683ed(0x333)](_0x413a4b);}}[_0xaa7fc(0x268)](){var _0x3fc808=_0xaa7fc;this[_0x3fc808(0x34c)][_0x3fc808(0xfd)](_0x80356c=>this[_0x3fc808(0x333)](_0x80356c)),this[_0x3fc808(0x34c)]=[];}['_applyRemoteChangeset'](_0x616809){var _0x369b8a=_0xaa7fc;const _0x387d71=this[_0x369b8a(0x3e1)][_0x369b8a(0x399)][_0x369b8a(0x368)](this[_0x369b8a(0x3e1)]['interceptor']['getInterceptPoints']()[_0x369b8a(0xd3)])(_0x616809[_0x369b8a(0x261)],null)||_0x616809[_0x369b8a(0x261)],_0x1a2ffb={..._0x616809,'mutations':_0x387d71};this[_0x369b8a(0x1bf)](),this[_0x369b8a(0x284)](this['_state'][_0x369b8a(0x320)](_0x1a2ffb)),this[_0x369b8a(0x17b)]();}[_0xaa7fc(0x2fb)](_0x2ee0dd){var _0x4c793e=_0xaa7fc;this[_0x4c793e(0x1bf)](),this[_0x4c793e(0x284)](this[_0x4c793e(0x10a)]['onRemoteAck'](_0x2ee0dd)),this[_0x4c793e(0x17b)]();}[_0xaa7fc(0x2d3)](_0x47e311){var _0x31e515=_0xaa7fc;this['_lockTransition'](),this[_0x31e515(0x284)](this[_0x31e515(0x10a)][_0x31e515(0x122)](_0x47e311)),this[_0x31e515(0x17b)]();}[_0xaa7fc(0x42e)](_0x1eabf4){var _0x157cda=_0xaa7fc;this[_0x157cda(0x1bf)](),this[_0x157cda(0x284)](this[_0x157cda(0x10a)][_0x157cda(0x339)](_0x1eabf4)),this['_unlockTransition']();}[_0xaa7fc(0x117)](_0x4070e4){var _0x1f812f=_0xaa7fc;if(!(this[_0x1f812f(0x10a)]instanceof exports['FetchingMissState']))throw new TypeError(_0x1f812f(0x190));const _0x4dd80b=_0x4070e4[_0x1f812f(0x2e9)](_0x5891c4=>{var _0x4a03aa=_0x1f812f;const _0x4201e9=this[_0x4a03aa(0x3e1)]['interceptor']['fetchThroughInterceptors'](this[_0x4a03aa(0x3e1)][_0x4a03aa(0x399)][_0x4a03aa(0x3fa)]()[_0x4a03aa(0xd3)])(_0x5891c4[_0x4a03aa(0x261)],null)||_0x5891c4[_0x4a03aa(0x261)];return{..._0x5891c4,'mutations':_0x4201e9};});this[_0x1f812f(0x1bf)](),this[_0x1f812f(0x284)](this['_state']['onMissedChangesetFetched'](_0x4dd80b)),this['_unlockTransition']();}[_0xaa7fc(0x35f)](){var _0x2d31f6=_0xaa7fc;this[_0x2d31f6(0x1bf)](),this['_updateState'](this[_0x2d31f6(0x10a)][_0x2d31f6(0xe1)]()),this[_0x2d31f6(0x17b)]();}[_0xaa7fc(0xb8)](_0x12d784=!0x1){var _0x1f279e=_0xaa7fc;this[_0x1f279e(0x1bf)](),this[_0x1f279e(0x284)](this['_state'][_0x1f279e(0x1f4)]()),this['_unlockTransition']();const _0x46e092=this[_0x1f279e(0x10a)];_0x12d784&&_0x46e092 instanceof exports[_0x1f279e(0x148)]&&(this['_lockTransition'](),this['_updateState'](_0x46e092['fetchMiss']()),this[_0x1f279e(0x17b)]());}async[_0xaa7fc(0x324)](){return new Promise(_0x2fa4e8=>{var _0x54c65e=_0x453e;this[_0x54c65e(0x193)][_0x54c65e(0x1a2)][_0x54c65e(0x2a5)](j['take'](0x1))[_0x54c65e(0xe5)](async _0x275569=>{var _0x23e4ca=_0x54c65e;_0x2fa4e8(await this['_createInitialStateImpl'](_0x275569===se[_0x23e4ca(0x144)]));});});}[_0xaa7fc(0x2ca)](){var _0x594cb3=_0xaa7fc;const _0x59f7ef=this[_0x594cb3(0x1e1)];return{'onStateChange':(_0x193144,_0x3579a2)=>{var _0x17f757=_0x594cb3;if(_0x193144!==this['_state'])throw new Error(_0x17f757(0x19b)+_0x193144['status']+'\x0aAfter:\x20'+_0x3579a2[_0x17f757(0x379)]+_0x17f757(0x32b)+this[_0x17f757(0x10a)][_0x17f757(0x379)]);this['_updateState'](_0x3579a2);},'onSendChangeset':_0x2f6713=>{var _0xb1bf5b=_0x594cb3;_0x2f6713[_0xb1bf5b(0xee)]||(_0x2f6713[_0xb1bf5b(0xee)]=this[_0xb1bf5b(0x3f1)],_0x2f6713['reqId']=++this[_0xb1bf5b(0x10e)]);const _0x49ac7d={'eventID':g[_0xb1bf5b(0x209)][_0xb1bf5b(0x155)],'data':{'unitID':_0x2f6713[_0xb1bf5b(0x1e1)],'unitType':this[_0xb1bf5b(0x3eb)],'changeset':_0x2f6713,'memberID':this[_0xb1bf5b(0x193)][_0xb1bf5b(0x3e8)]()}};this[_0xb1bf5b(0x193)]['send'](_0x49ac7d,this[_0xb1bf5b(0x1e1)]);},'onMissingChangesets':({from:_0x57c41f,to:_0x33662c})=>{var _0x3cce2a=_0x594cb3;this[_0x3cce2a(0x26f)]['debug'](_0x3cce2a(0x31e),_0x3cce2a(0x1ef)+_0x57c41f+_0x3cce2a(0x196)+_0x33662c);const _0x55bddf={'eventID':g[_0x3cce2a(0x209)][_0x3cce2a(0x30b)],'data':{'unitID':_0x59f7ef,'unitType':this[_0x3cce2a(0x3eb)],'from':_0x57c41f,'to':_0x33662c}};this[_0x3cce2a(0x193)][_0x3cce2a(0x43c)](_0x55bddf,this[_0x3cce2a(0x1e1)]);}};}async[_0xaa7fc(0x26d)](_0x2b0e25){var _0xb66c30=_0xaa7fc,_0x2e262f,_0x4fcf31,_0x3ff764;const _0x2d54d3=await((_0x2e262f=this[_0xb66c30(0x25e)])==null?void 0x0:_0x2e262f[_0xb66c30(0x28f)](this['unitID'])),_0x687054=(_0x4fcf31=_0x2d54d3==null?void 0x0:_0x2d54d3[_0xb66c30(0x261)])!=null?_0x4fcf31:[],_0x452895=(_0x3ff764=_0x2d54d3==null?void 0x0:_0x2d54d3[_0xb66c30(0x164)])!=null?_0x3ff764:null,_0x32f74=!!(_0x452895!=null&&_0x452895[_0xb66c30(0xee)])&&!!(_0x452895!=null&&_0x452895['reqId']);this[_0xb66c30(0x3f1)]=_0x32f74?_0x452895[_0xb66c30(0xee)]:di(),this[_0xb66c30(0x10e)]=_0x32f74?_0x452895[_0xb66c30(0x171)]:0x0;const _0x121084=this[_0xb66c30(0x1e1)];try{this[_0xb66c30(0x3f9)](_0x452895,_0x687054);}catch(_0x24d9f9){this[_0xb66c30(0x26f)][_0xb66c30(0x256)](_0x24d9f9);}const _0x53d13f=this[_0xb66c30(0x2ca)]();if(_0x2b0e25){const _0x525218=Dt(this[_0xb66c30(0x2e2)],_0x121084,this[_0xb66c30(0x3eb)],_0x452895,_0x687054,_0x53d13f);return _0x525218 instanceof exports['PendingState']?_0x525218['_schedule']():(_0x525218 instanceof exports[_0xb66c30(0x345)]||_0x525218 instanceof exports[_0xb66c30(0x303)])&&_0x525218[_0xb66c30(0x35d)](),_0x525218;}return this[_0xb66c30(0x2e2)]['createInstance'](exports['OfflineState'],_0x121084,this[_0xb66c30(0x3eb)],_0x452895,_0x687054,_0x53d13f);}[_0xaa7fc(0x3f9)](_0x3a0e46,_0x2d028f){var _0x5a05ca=_0xaa7fc,_0x3f2757,_0x523b30;const _0x5d2ed2=this[_0x5a05ca(0x3e1)][_0x5a05ca(0x399)]['fetchThroughInterceptors'](this[_0x5a05ca(0x3e1)][_0x5a05ca(0x399)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x3f2757=_0x5d2ed2((_0x3a0e46==null?void 0x0:_0x3a0e46['mutations'])||[],null))==null||_0x3f2757['forEach'](_0x286e31=>this['_commandService'][_0x5a05ca(0x13d)](_0x286e31['id'],_0x286e31[_0x5a05ca(0x2db)])),(_0x523b30=_0x5d2ed2(_0x2d028f||[],null))==null||_0x523b30[_0x5a05ca(0xfd)](_0x455e92=>this[_0x5a05ca(0x2b9)][_0x5a05ca(0x13d)](_0x455e92['id'],_0x455e92[_0x5a05ca(0x2db)]));}},exports[_0xaa7fc(0x177)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](te)),$(0x8,a[_0xaa7fc(0x434)]),$(0x9,a[_0xaa7fc(0x1bc)]),$(0xa,a[_0xaa7fc(0x43d)]),$(0xb,a[_0xaa7fc(0x120)](ve)),$(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x177)]),exports['DocCollaborationEntity']=class extends exports[_0xaa7fc(0x177)]{constructor(_0x5dbf31,_0x102caa,_0xc145d2,_0x17ddaf,_0x4eaf27,_0xd25ea3,_0x26bddc,_0x934828,_0x6ca414,_0x8f3fba,_0x365daa,_0x1a036a,_0x302cb1){var _0x14fed4=_0xaa7fc;super(_0x5dbf31,_0xc145d2,_0x102caa,_0x17ddaf,_0x4eaf27,_0xd25ea3,_0x26bddc,_0x934828,_0x6ca414,_0x8f3fba,_0x365daa,_0x1a036a,_0x302cb1),A(this,_0x14fed4(0x43e),null),(this[_0x14fed4(0x1e1)]=_0x5dbf31,this[_0x14fed4(0x244)]=_0x102caa);}[_0xaa7fc(0x291)](_0x38ac71){this['_handlerCallback']=_0x38ac71;}['dispose'](){var _0xbb3613=_0xaa7fc;this[_0xbb3613(0x43e)]=null,super['dispose']();}['_createHandler'](){var _0xa8bcfc=_0xaa7fc;const _0x369aa0=super['_createHandler']();return _0x369aa0[_0xa8bcfc(0x123)]=_0x527f8a=>{var _0x4208e9=_0xa8bcfc,_0x541031,_0x524e83;return(_0x524e83=(_0x541031=this[_0x4208e9(0x43e)])==null?void 0x0:_0x541031[_0x4208e9(0x123)])==null?void 0x0:_0x524e83[_0x4208e9(0x247)](_0x541031,_0x527f8a);},_0x369aa0['onTransformState']=_0x40d38c=>{var _0x4b11c9,_0x36f56c;return(_0x36f56c=(_0x4b11c9=this['_handlerCallback'])==null?void 0x0:_0x4b11c9['onTransformState'])==null?void 0x0:_0x36f56c['call'](_0x4b11c9,_0x40d38c);},_0x369aa0['onTransformSelections']=_0x227902=>{var _0x43fe63=_0xa8bcfc,_0x1164fe,_0x359de8;return(_0x359de8=(_0x1164fe=this[_0x43fe63(0x43e)])==null?void 0x0:_0x1164fe[_0x43fe63(0x2d9)])==null?void 0x0:_0x359de8[_0x43fe63(0x247)](_0x1164fe,_0x227902);},_0x369aa0['onSyncEditingCollabCursor']=_0x402ea=>{var _0x2b4c59=_0xa8bcfc,_0x1662f5,_0xc1febb;return(_0xc1febb=(_0x1662f5=this[_0x2b4c59(0x43e)])==null?void 0x0:_0x1662f5[_0x2b4c59(0x3bc)])==null?void 0x0:_0xc1febb[_0x2b4c59(0x247)](_0x1662f5,_0x402ea);},_0x369aa0['onTransformRemoteChangesetByIMECache']=_0x4a7585=>{var _0x5d8e01=_0xa8bcfc,_0xefdda8,_0x466d4c,_0x107373;if(!((_0xefdda8=this[_0x5d8e01(0x43e)])!=null&&_0xefdda8['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x107373=(_0x466d4c=this[_0x5d8e01(0x43e)])==null?void 0x0:_0x466d4c[_0x5d8e01(0x42b)])==null?void 0x0:_0x107373[_0x5d8e01(0x247)](_0x466d4c,_0x4a7585);},_0x369aa0[_0xa8bcfc(0x264)]=_0x207d16=>{var _0x2f8028=_0xa8bcfc,_0x32bd6f,_0x2e6266,_0x50170d;if(!((_0x32bd6f=this[_0x2f8028(0x43e)])!=null&&_0x32bd6f[_0x2f8028(0x264)]))throw new Error(_0x2f8028(0x2e1));return(_0x50170d=(_0x2e6266=this[_0x2f8028(0x43e)])==null?void 0x0:_0x2e6266[_0x2f8028(0x264)])==null?void 0x0:_0x50170d[_0x2f8028(0x247)](_0x2e6266,_0x207d16);},_0x369aa0;}async[_0xaa7fc(0x276)](){var _0x48f760=_0xaa7fc;const _0x322d7a=await super[_0x48f760(0x276)]();return this[_0x48f760(0x3fd)](this[_0x48f760(0x2b9)][_0x48f760(0x2b7)]((_0x5f4f1b,_0x457c9c)=>{var _0x3b643f=_0x48f760;if(_0x5f4f1b[_0x3b643f(0x244)]!==a['CommandType']['MUTATION']||_0x457c9c!=null&&_0x457c9c[_0x3b643f(0x160)]||_0x457c9c!=null&&_0x457c9c[_0x3b643f(0x131)]||_0x5f4f1b['id']===ut['RichTextEditingMutation']['id'])return;const _0x56a6a5=_0x5f4f1b['params'];if((_0x56a6a5==null?void 0x0:_0x56a6a5['unitId'])!==this[_0x3b643f(0x1e1)])return;const _0x55305c=_0x5f4f1b,_0x469f7a=this[_0x3b643f(0x3e1)][_0x3b643f(0x399)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3b643f(0x399)][_0x3b643f(0x3fa)]()[_0x3b643f(0x337)])([_0x55305c],null)||[_0x55305c];this[_0x3b643f(0x118)](_0x469f7a[0x0]);})),_0x322d7a;}},exports[_0xaa7fc(0x395)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a['Injector'])),$(0x4,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x1d9)])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](te)),$(0x8,a[_0xaa7fc(0x434)]),$(0x9,a['ICommandService']),$(0xa,a[_0xaa7fc(0x43d)]),$(0xb,a[_0xaa7fc(0x120)](ve)),$(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x395)]),exports[_0xaa7fc(0x405)]=class extends exports[_0xaa7fc(0x177)]{constructor(_0x1d9947,_0x2839f2,_0x90fee3,_0x4507aa,_0x5ed18a,_0x3fb41e,_0x9be22f,_0x4ba3f0,_0x246ea5,_0x51b082,_0x1cf5a8,_0x20d2a6,_0x50a250,_0x6ca994){var _0x3c1447=_0xaa7fc;super(_0x1d9947,_0x90fee3,_0x2839f2,_0x4507aa,_0x5ed18a,_0x3fb41e,_0x9be22f,_0x246ea5,_0x51b082,_0x1cf5a8,_0x20d2a6,_0x50a250,_0x6ca994),this['unitID']=_0x1d9947,this[_0x3c1447(0x244)]=_0x2839f2,this['_sheetTransformSelectionsService']=_0x4ba3f0;}[_0xaa7fc(0x2ca)](){var _0x43b1a2=_0xaa7fc;const _0xe26374=super[_0x43b1a2(0x2ca)]();return _0xe26374[_0x43b1a2(0x2d9)]=_0x1c6f07=>this[_0x43b1a2(0x1ba)][_0x43b1a2(0x3de)](_0x1c6f07),_0xe26374;}async[_0xaa7fc(0x276)](){var _0x41cb3b=_0xaa7fc;const _0x172e94=await super[_0x41cb3b(0x276)]();return this[_0x41cb3b(0x3fd)](this[_0x41cb3b(0x2b9)][_0x41cb3b(0x2b7)]((_0x3e1db5,_0x13a870)=>{var _0xcc87cf=_0x41cb3b;if(_0x3e1db5[_0xcc87cf(0x244)]!==a[_0xcc87cf(0x3da)][_0xcc87cf(0x17e)]||_0x13a870!=null&&_0x13a870[_0xcc87cf(0x160)]||_0x13a870!=null&&_0x13a870[_0xcc87cf(0x131)])return;const _0x57fbdb=_0x3e1db5[_0xcc87cf(0x2db)];if((_0x57fbdb==null?void 0x0:_0x57fbdb[_0xcc87cf(0x2fe)])!==this[_0xcc87cf(0x1e1)])return;const _0x21638=_0x3e1db5,_0x2934a7=this[_0xcc87cf(0x3e1)]['interceptor'][_0xcc87cf(0x368)](this[_0xcc87cf(0x3e1)][_0xcc87cf(0x399)][_0xcc87cf(0x3fa)]()[_0xcc87cf(0x337)])([_0x21638],null)||[_0x21638];this['_onLocalMutation'](_0x2934a7[0x0]);})),_0x172e94;}},exports[_0xaa7fc(0x405)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),$(0x4,a[_0xaa7fc(0x1a1)](g['CompressMutationService'])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a['Inject'](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0x3b6)])),$(0x8,a[_0xaa7fc(0x1a1)](te)),$(0x9,a[_0xaa7fc(0x434)]),$(0xa,a[_0xaa7fc(0x1bc)]),$(0xb,a[_0xaa7fc(0x43d)]),$(0xc,a[_0xaa7fc(0x120)](ve)),$(0xd,a['Optional'](z))],exports[_0xaa7fc(0x405)]);var Ti=Object[_0xaa7fc(0x198)],bi=(_0x11ca20,_0x42051c,_0x4b315e,_0x2ad960)=>{var _0x225eef=_0xaa7fc;for(var _0xbfa1e2=_0x2ad960>0x1?void 0x0:_0x2ad960?Ti(_0x42051c,_0x4b315e):_0x42051c,_0x13eafc=_0x11ca20[_0x225eef(0x3b0)]-0x1,_0x232862;_0x13eafc>=0x0;_0x13eafc--)(_0x232862=_0x11ca20[_0x13eafc])&&(_0xbfa1e2=_0x232862(_0xbfa1e2)||_0xbfa1e2);return _0xbfa1e2;},Pe=(_0x4e769d,_0x36a544)=>(_0x53b6b3,_0x3b3a5b)=>_0x36a544(_0x53b6b3,_0x3b3a5b,_0x4e769d);exports[_0xaa7fc(0x1fb)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x48d2e5,_0x502f85,_0x12f144){var _0x414745=_0xaa7fc;super(),A(this,_0x414745(0x12f),new Map()),A(this,_0x414745(0xdd),new j[(_0x414745(0x2c4))]()),A(this,_0x414745(0x2fc),this['_entityInit$'][_0x414745(0xc7)]()),(this['_injector']=_0x48d2e5,this['_collabSessionService']=_0x502f85,this[_0x414745(0xbf)]=_0x12f144,this['_init']());}['dispose'](){var _0x1f2276=_0xaa7fc;super[_0x1f2276(0x41e)](),this[_0x1f2276(0x12f)][_0x1f2276(0xfd)](_0x169cea=>_0x169cea['dispose']()),this['_entities'][_0x1f2276(0x174)]();}[_0xaa7fc(0x17c)](_0x4938f0){var _0x44a3a6=_0xaa7fc,_0x41c774;return(_0x41c774=this[_0x44a3a6(0x12f)][_0x44a3a6(0xe9)](_0x4938f0))!=null?_0x41c774:null;}['getCollabEntity$'](_0x7bd02){var _0x625523=_0xaa7fc;const _0xef1fe6=this[_0x625523(0x17c)](_0x7bd02);return _0xef1fe6?j['of'](_0xef1fe6):this[_0x625523(0xdd)]['pipe'](V[_0x625523(0xde)](_0x2183ca=>_0x2183ca[_0x625523(0x1e1)]===_0x7bd02));}[_0xaa7fc(0x31f)](_0x25ecc){var _0x8cc1ac=_0xaa7fc;return j[_0x8cc1ac(0x14f)](this[_0x8cc1ac(0x3ee)](_0x25ecc)[_0x8cc1ac(0x2a5)](V['map'](()=>{})));}[_0xaa7fc(0x276)](){var _0x54c813=_0xaa7fc;this[_0x54c813(0xbf)][_0x54c813(0x2d2)](a[_0x54c813(0x231)][_0x54c813(0x37f)])[_0x54c813(0x2a5)](j[_0x54c813(0x356)](this[_0x54c813(0x2e6)]),V[_0x54c813(0x13e)](0x10))['subscribe'](async _0x3bcdc0=>{var _0x57c30f=_0x54c813;const _0x18123b=_0x3bcdc0['getUnitId'](),_0x1986f6=await this[_0x57c30f(0x20a)](_0x18123b,X[_0x57c30f(0x37f)]);this['_entities'][_0x57c30f(0x3d5)](_0x18123b,_0x1986f6);}),this[_0x54c813(0xbf)][_0x54c813(0x2d2)](a[_0x54c813(0x231)][_0x54c813(0x32c)])[_0x54c813(0x2a5)](j['takeUntil'](this[_0x54c813(0x2e6)]),V[_0x54c813(0x13e)](0x10))['pipe'](V['filter'](_0x5c59c9=>!_0x5c59c9[_0x54c813(0x217)]()[_0x54c813(0x28c)]('__')))['subscribe'](async _0x25af7a=>{var _0x2f713a=_0x54c813;const _0x4bc95a=_0x25af7a[_0x2f713a(0x217)](),_0x2f1bea=await this['_startCollaboration'](_0x4bc95a,X['UNIVER_DOC']);this[_0x2f713a(0x12f)][_0x2f713a(0x3d5)](_0x4bc95a,_0x2f1bea);}),j[_0x54c813(0x2f8)](this[_0x54c813(0xbf)]['getTypeOfUnitDisposed$'](a[_0x54c813(0x231)][_0x54c813(0x37f)]),this[_0x54c813(0xbf)]['getTypeOfUnitDisposed$'](a[_0x54c813(0x231)][_0x54c813(0x32c)]))['pipe'](j[_0x54c813(0x356)](this[_0x54c813(0x2e6)]))[_0x54c813(0xe5)](_0x2894ac=>{var _0x15d577=_0x54c813;const _0x3ca621=_0x2894ac[_0x15d577(0x217)](),_0xe4e91e=this[_0x15d577(0x12f)][_0x15d577(0xe9)](_0x3ca621);_0xe4e91e&&(_0xe4e91e[_0x15d577(0x41e)](),this[_0x15d577(0x12f)][_0x15d577(0x3b1)](_0x3ca621));});}async[_0xaa7fc(0x20a)](_0x6637f1,_0x512bec){var _0x110dde=_0xaa7fc;const _0x19614a=await this[_0x110dde(0x114)]['requireSession'](_0x6637f1),_0x3294c5=this[_0x110dde(0x2e2)][_0x110dde(0x421)](this[_0x110dde(0x1ac)](_0x512bec),_0x6637f1,_0x512bec,_0x19614a);return await _0x3294c5['init'](),this[_0x110dde(0xdd)][_0x110dde(0x38d)](_0x3294c5),_0x3294c5;}[_0xaa7fc(0x1ac)](_0x5b7ff9){var _0x35c784=_0xaa7fc;switch(_0x5b7ff9){case X[_0x35c784(0x32c)]:return exports[_0x35c784(0x395)];case X[_0x35c784(0x37f)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5b7ff9);}}},exports[_0xaa7fc(0x1fb)]=bi([Pe(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),Pe(0x1,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0x24e)])),Pe(0x2,a[_0xaa7fc(0x37d)])],exports['CollaborationController']);function _0x453e(_0x13a64b,_0x4c560e){var _0x165d4c=_0x165d();return _0x453e=function(_0x453e41,_0x336a86){_0x453e41=_0x453e41-0xb5;var _0x442bd1=_0x165d4c[_0x453e41];return _0x442bd1;},_0x453e(_0x13a64b,_0x4c560e);}var Ri=Object[_0xaa7fc(0x198)],yi=(_0xa3c047,_0x52073c,_0x581de1,_0x16af3d)=>{var _0x298d21=_0xaa7fc;for(var _0x52f83e=_0x16af3d>0x1?void 0x0:_0x16af3d?Ri(_0x52073c,_0x581de1):_0x52073c,_0x4a0553=_0xa3c047[_0x298d21(0x3b0)]-0x1,_0x174c0b;_0x4a0553>=0x0;_0x4a0553--)(_0x174c0b=_0xa3c047[_0x4a0553])&&(_0x52f83e=_0x174c0b(_0x52f83e)||_0x52f83e);return _0x52f83e;},Je=(_0x4275fd,_0x141cfc)=>(_0x31d056,_0x2171d3)=>_0x141cfc(_0x31d056,_0x2171d3,_0x4275fd);const Oi=_0xaa7fc(0x38a),Ni='Univer';let He=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x49fd27,_0x2a13ce){var _0x34bb43=_0xaa7fc;super(),this[_0x34bb43(0xbf)]=_0x49fd27,this[_0x34bb43(0x20d)]=_0x2a13ce,this['_init']();}[_0xaa7fc(0x276)](){var _0x465270=_0xaa7fc;this['disposeWithMe'](this[_0x465270(0xbf)][_0x465270(0xbd)][_0x465270(0xe5)](()=>{var _0x147e1d=_0x465270,_0x57e60e;const _0x2ec78d=this[_0x147e1d(0xbf)][_0x147e1d(0x24a)]();let _0x8a36ff=(_0x57e60e=this['_configService'][_0x147e1d(0xb5)](Oi))!=null?_0x57e60e:Ni;_0x2ec78d instanceof a[_0x147e1d(0x43f)]&&(_0x8a36ff=_0x2ec78d['name']),document[_0x147e1d(0x41f)]=_0x8a36ff;}));}};He=yi([Je(0x0,a[_0xaa7fc(0x37d)]),Je(0x1,a[_0xaa7fc(0x41a)])],He);var Di=Object[_0xaa7fc(0x198)],Ui=(_0x493f40,_0x53fabf,_0x2d5b29,_0x6b58ad)=>{for(var _0xd209f8=_0x6b58ad>0x1?void 0x0:_0x6b58ad?Di(_0x53fabf,_0x2d5b29):_0x53fabf,_0x1a8334=_0x493f40['length']-0x1,_0x4fcc01;_0x1a8334>=0x0;_0x1a8334--)(_0x4fcc01=_0x493f40[_0x1a8334])&&(_0xd209f8=_0x4fcc01(_0xd209f8)||_0xd209f8);return _0xd209f8;},we=(_0x11513a,_0x58a625)=>(_0x71fe9a,_0xd7c956)=>_0x58a625(_0x71fe9a,_0xd7c956,_0x11513a);let Oe=class{constructor(_0x217066,_0x5b8710,_0x530e2a){var _0x3cb1e6=_0xaa7fc;this[_0x3cb1e6(0x20d)]=_0x217066,this[_0x3cb1e6(0x143)]=_0x5b8710,this[_0x3cb1e6(0x2a2)]=_0x530e2a,this['init']();}[_0xaa7fc(0xd9)](){var _0x292044=_0xaa7fc;this[_0x292044(0x143)][_0x292044(0x223)]({'priority':0x1,'interceptor':(_0x2b4b04,_0x14b6a6)=>_0x14b6a6(_0x2b4b04)['pipe'](j[_0x292044(0x1fc)](async _0x5a124a=>{var _0x4b1550=_0x292044;const _0x3277aa=_0x5a124a;if(_0x3277aa['status']===0x191){if(typeof window>'u')throw new Error(_0x4b1550(0x1d7));if(window['confirm'](this['localeService']['t'](_0x4b1550(0x3b7)))){const _0x5e1fe9=window[_0x4b1550(0x214)](window[_0x4b1550(0x3f2)][_0x4b1550(0x289)]);window[_0x4b1550(0x3f2)][_0x4b1550(0x289)]=this[_0x4b1550(0x406)]()+_0x4b1550(0xda)+_0x5e1fe9;}}return _0x3277aa;}))});}[_0xaa7fc(0x406)](){var _0x505edd=_0xaa7fc,_0x3d2444,_0x214dd5;const _0x39439a=this[_0x505edd(0x20d)][_0x505edd(0xb5)](Et),_0x5e29d2=this[_0x505edd(0x20d)][_0x505edd(0xb5)](Y);return(_0x214dd5=(_0x3d2444=_0x5e29d2==null?void 0x0:_0x5e29d2[_0x505edd(0x424)])!=null?_0x3d2444:_0x39439a)!=null?_0x214dd5:Yt;}};Oe=Ui([we(0x0,a[_0xaa7fc(0x41a)]),we(0x1,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)])),we(0x2,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)]))],Oe);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x2a34e4,_0x520b7e,_0x27f00a,_0x42e86c)=>{var _0x34525c=_0xaa7fc;for(var _0xdea46=_0x42e86c>0x1?void 0x0:_0x42e86c?Ai(_0x520b7e,_0x27f00a):_0x520b7e,_0x159cf4=_0x2a34e4[_0x34525c(0x3b0)]-0x1,_0x2bad3e;_0x159cf4>=0x0;_0x159cf4--)(_0x2bad3e=_0x2a34e4[_0x159cf4])&&(_0xdea46=_0x2bad3e(_0xdea46)||_0xdea46);return _0xdea46;},Xe=(_0x574407,_0x65d38a)=>(_0x20ac19,_0x172d37)=>_0x65d38a(_0x20ac19,_0x172d37,_0x574407);const Ge='AUTHZ_URL_KEY',wi=_0xaa7fc(0x135);exports[_0xaa7fc(0x3c8)]=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x30af5a,_0x5bf00b){var _0x3cfb00=_0xaa7fc;super(),this[_0x3cfb00(0x411)]=_0x30af5a,this[_0x3cfb00(0x20d)]=_0x5bf00b,this[_0x3cfb00(0x334)]();}[_0xaa7fc(0x334)](){var _0xb799bd=_0xaa7fc;const _0xb0011b=this;this[_0xb799bd(0x3fd)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x38da06){var _0x309e65=_0xb799bd,_0x518e03;if(_0x38da06[_0x309e65(0x202)]===_0x309e65(0x2c8)&&((_0x518e03=_0x38da06[_0x309e65(0x21f)])!=null&&_0x518e03[_0x309e65(0x173)])){const {objectID:_0x1f9275,objectType:_0x30542a}=_0x38da06['requestParams']['body']||{};if(!_0x1f9275||_0x30542a===void 0x0)return!0x1;const _0x45324c=_0xb0011b[_0x309e65(0x302)]()+'/'+_0x30542a+_0x309e65(0x12e)+_0x1f9275+_0x309e65(0x197);if(_0x38da06[_0x309e65(0x369)]===_0x45324c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30348e){var _0x1c014c=_0xb799bd,_0x32ccd8;return(_0x32ccd8=_0x30348e[_0x1c014c(0x21f)])==null?void 0x0:_0x32ccd8[_0x1c014c(0x173)];},'mergeParamsToRequest'(_0x28b320,_0x4b5d80){var _0x52f552=_0xb799bd;const _0x165a50=_0xb0011b[_0x52f552(0x302)]()+_0x52f552(0x2c2),_0x69e271=_0x28b320[_0x52f552(0x10d)]((_0x53e808,_0x24366a)=>{var _0xc1f74a=_0x52f552;const {unitID:_0x9bb13b,objectID:_0x480b9d,objectType:_0x4f4bd6,actions:_0x1b603d}=_0x24366a;return _0x53e808[_0x9bb13b]||(_0x53e808[_0x9bb13b]={}),_0x53e808[_0x9bb13b][_0x480b9d]||(_0x53e808[_0x9bb13b][_0x480b9d]={'objectID':_0x480b9d,'objectType':_0x4f4bd6,'actions':[]}),_0x53e808[_0x9bb13b][_0x480b9d][_0xc1f74a(0x309)]['push'](..._0x1b603d),_0x53e808;},{}),_0x507797=[];for(const _0x1d6df0 in _0x69e271)for(const _0x5e8b7e in _0x69e271[_0x1d6df0]){const {actions:_0x234d1d,objectType:_0x2ff1fc}=_0x69e271[_0x1d6df0][_0x5e8b7e],_0x495392=[...new Set(_0x234d1d)];_0x507797[_0x52f552(0x3d0)]({'unitID':_0x1d6df0,'objectID':_0x5e8b7e,'objectType':_0x2ff1fc,'actions':_0x495392});}return new q[(_0x52f552(0x175))](_0x52f552(0x2c8),_0x165a50,{'headers':_0x4b5d80[_0x52f552(0x1d5)],'withCredentials':_0x4b5d80[_0x52f552(0x226)],'responseType':_0x4b5d80['responseType'],'body':{'requests':_0x507797}});}},{'distributeResult'(_0x50033c,_0x322c00){var _0x6f35a3=_0xb799bd;const {objectActions:_0x415ffa}=_0x50033c;return _0x322c00[_0x6f35a3(0x2e9)](_0x26f245=>{var _0x136996=_0x6f35a3;const {unitID:_0x33678f,objectID:_0x30a6de,actions:_0x58a45b}=_0x26f245,_0x22adc8=_0x415ffa[_0x136996(0x2f5)](_0x290a3e=>_0x290a3e[_0x136996(0x1e1)]===_0x33678f&&_0x290a3e[_0x136996(0x414)]===_0x30a6de),_0x1c4194=_0x58a45b[_0x136996(0x2e9)](_0x376962=>_0x22adc8==null?void 0x0:_0x22adc8[_0x136996(0x309)][_0x136996(0x2f5)](_0x45addb=>_0x45addb['action']===_0x376962))['filter'](_0x2ac48f=>!!_0x2ac48f);return{'config':_0x26f245,'result':{'actions':_0x1c4194,'error':_0x50033c[_0x136996(0x256)]}};});}})}));}[_0xaa7fc(0x302)](){var _0x4f1044=_0xaa7fc,_0x453a27,_0xee6320;const _0x42802f=this['_configService'][_0x4f1044(0xb5)](Ge),_0x5a9c22=this[_0x4f1044(0x20d)][_0x4f1044(0xb5)](Y);return(_0xee6320=(_0x453a27=_0x5a9c22==null?void 0x0:_0x5a9c22[_0x4f1044(0x1e2)])!=null?_0x453a27:_0x42802f)!=null?_0xee6320:wi;}async[_0xaa7fc(0x346)](_0x56a833){var _0x42a9d8=_0xaa7fc;const _0x1eda8c=this['_getAPIPrefixPath']()+'/'+_0x56a833[_0x42a9d8(0x407)]+_0x42a9d8(0x107);return(await this[_0x42a9d8(0x411)][_0x42a9d8(0x2ba)](_0x1eda8c,{'body':_0x56a833}))[_0x42a9d8(0x173)][_0x42a9d8(0x414)]||'';}async['list'](_0x58a251){var _0x2fc245=_0xaa7fc;const _0x1ab122=this['_getAPIPrefixPath']()+_0x2fc245(0x27f);return(await this[_0x2fc245(0x411)]['post'](_0x1ab122,{'body':_0x58a251}))[_0x2fc245(0x173)][_0x2fc245(0x228)];}async['update'](_0x1eefd3){var _0x19eb5b=_0xaa7fc,_0x548b02,_0x450f2a;const _0x388270=this[_0x19eb5b(0x302)]()+'/'+_0x1eefd3['objectType']+_0x19eb5b(0x12e)+_0x1eefd3['objectID'],_0x331a91=await this[_0x19eb5b(0x411)][_0x19eb5b(0x204)](_0x388270,{'body':_0x1eefd3});if(((_0x450f2a=(_0x548b02=_0x331a91==null?void 0x0:_0x331a91['body'])==null?void 0x0:_0x548b02[_0x19eb5b(0x256)])==null?void 0x0:_0x450f2a[_0x19eb5b(0xf3)])!==0x1)throw new Error(_0x19eb5b(0x1c7));}async[_0xaa7fc(0x3bd)](_0x1dbd44){var _0x1af1bc=_0xaa7fc;const _0x292991=this[_0x1af1bc(0x302)]()+'/'+_0x1dbd44[_0x1af1bc(0x407)]+_0x1af1bc(0x12e)+_0x1dbd44['objectID']+'/allowed';return(await this[_0x1af1bc(0x411)][_0x1af1bc(0x2ba)](_0x292991,{'body':_0x1dbd44}))['body'][_0x1af1bc(0x309)];}async[_0xaa7fc(0x340)](_0x1bc9ce){var _0x8205a=_0xaa7fc;const _0x105310=this[_0x8205a(0x302)]()+'/-/object/-/batch_allowed';return(await this[_0x8205a(0x411)][_0x8205a(0x2ba)](_0x105310,{'body':{'requests':_0x1bc9ce}}))['body'][_0x8205a(0xce)];}async['listRoles'](_0x2e8155){var _0x3307a5=_0xaa7fc;const _0x41de9c=this['_getAPIPrefixPath']()+'/'+_0x2e8155['objectType']+_0x3307a5(0x37c),_0x4838c8=await this[_0x3307a5(0x411)]['post'](_0x41de9c,{'body':_0x2e8155});return{'roles':_0x4838c8[_0x3307a5(0x173)]['roles'],'actions':_0x4838c8[_0x3307a5(0x173)][_0x3307a5(0x309)]};}async['deleteCollaborator'](_0x3ea71f){var _0x43a04e=_0xaa7fc;const _0x34352e=this[_0x43a04e(0x302)]()+_0x43a04e(0x353);await this[_0x43a04e(0x411)][_0x43a04e(0x3b1)](_0x34352e,{'params':{'collaboratorID':_0x3ea71f[_0x43a04e(0xdc)],'objectID':_0x3ea71f[_0x43a04e(0x414)],'unitID':_0x3ea71f[_0x43a04e(0x1e1)]}});}async['updateCollaborator'](_0x3ab549){var _0x20c02f=_0xaa7fc;const _0x4ecc8b=this[_0x20c02f(0x302)]()+'/collaborator';await this[_0x20c02f(0x411)][_0x20c02f(0xdf)](_0x4ecc8b,{'body':_0x3ab549});}async[_0xaa7fc(0x3e7)](_0xbb454c){var _0x5db6f4=_0xaa7fc;const _0x142eb1=this[_0x5db6f4(0x302)]()+_0x5db6f4(0x353);await this[_0x5db6f4(0x411)][_0x5db6f4(0x2ba)](_0x142eb1,{'body':_0xbb454c});}async[_0xaa7fc(0x194)](_0x29269){var _0x329f12=_0xaa7fc;const _0x652303=this[_0x329f12(0x302)]()+'/collaborator';return(await this[_0x329f12(0x411)][_0x329f12(0xe9)](_0x652303,{'params':{'objectID':_0x29269[_0x329f12(0x414)],'unitID':_0x29269[_0x329f12(0x1e1)]}}))[_0x329f12(0x173)][_0x329f12(0x165)];}async['putCollaborators'](_0x1635dc){var _0x8fb479=_0xaa7fc;const _0x1391fc=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x8fb479(0x204)](_0x1391fc,{'body':_0x1635dc});}},exports[_0xaa7fc(0x3c8)]=Pi([Xe(0x0,a['Inject'](q[_0xaa7fc(0x1a3)])),Xe(0x1,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x41a)]))],exports[_0xaa7fc(0x3c8)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x1291b9){var _0x8d3450=_0xaa7fc;return _0x1291b9&&_0x1291b9[_0x8d3450(0x29d)]&&Object[_0x8d3450(0x42c)][_0x8d3450(0x2b5)][_0x8d3450(0x247)](_0x1291b9,'default')?_0x1291b9[_0x8d3450(0x3e3)]:_0x1291b9;}var fe={'exports':{}};function Li(_0x80b714){var _0xf09990=_0xaa7fc;throw new Error(_0xf09990(0xd1)+_0x80b714+_0xf09990(0x336));}var pe={'exports':{}},Mi=pe[_0xaa7fc(0x343)],Ze;function ee(){var _0x2c6d56=_0xaa7fc;return Ze||(Ze=0x1,function(_0x2dee79,_0x38358e){(function(_0x5e848a,_0x45c89a){var _0x41bde5=_0x453e;_0x2dee79[_0x41bde5(0x343)]=_0x45c89a();}(Mi,function(){var _0x10b363=_0x10b363||function(_0x5c1467,_0x46f1c7){var _0x335aa4=_0x453e,_0x41ec2d;if(typeof window<'u'&&window[_0x335aa4(0x110)]&&(_0x41ec2d=window[_0x335aa4(0x110)]),typeof self<'u'&&self[_0x335aa4(0x110)]&&(_0x41ec2d=self[_0x335aa4(0x110)]),typeof globalThis<'u'&&globalThis[_0x335aa4(0x110)]&&(_0x41ec2d=globalThis[_0x335aa4(0x110)]),!_0x41ec2d&&typeof window<'u'&&window[_0x335aa4(0x19f)]&&(_0x41ec2d=window['msCrypto']),!_0x41ec2d&&typeof Le<'u'&&Le[_0x335aa4(0x110)]&&(_0x41ec2d=Le[_0x335aa4(0x110)]),!_0x41ec2d&&typeof Li=='function')try{_0x41ec2d=require('crypto');}catch{}var _0x2f3a77=function(){var _0x5dfc47=_0x335aa4;if(_0x41ec2d){if(typeof _0x41ec2d[_0x5dfc47(0x265)]=='function')try{return _0x41ec2d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x41ec2d[_0x5dfc47(0x3c5)]==_0x5dfc47(0x35b))try{return _0x41ec2d[_0x5dfc47(0x3c5)](0x4)[_0x5dfc47(0x2a4)]();}catch{}}throw new Error(_0x5dfc47(0x1b3));},_0x40e0e0=Object['create']||(function(){function _0x6963c7(){}return function(_0x2694fb){var _0x4f4955=_0x453e,_0x170fdd;return _0x6963c7['prototype']=_0x2694fb,_0x170fdd=new _0x6963c7(),_0x6963c7[_0x4f4955(0x42c)]=null,_0x170fdd;};}()),_0x453986={},_0x479e9e=_0x453986[_0x335aa4(0x277)]={},_0x387cf4=_0x479e9e[_0x335aa4(0xed)]=(function(){return{'extend':function(_0x450d6b){var _0x492d4d=_0x453e,_0x140cf3=_0x40e0e0(this);return _0x450d6b&&_0x140cf3[_0x492d4d(0x215)](_0x450d6b),(!_0x140cf3[_0x492d4d(0x2b5)](_0x492d4d(0xd9))||this[_0x492d4d(0xd9)]===_0x140cf3[_0x492d4d(0xd9)])&&(_0x140cf3['init']=function(){var _0x1e49e3=_0x492d4d;_0x140cf3[_0x1e49e3(0x354)][_0x1e49e3(0xd9)][_0x1e49e3(0x2c5)](this,arguments);}),_0x140cf3[_0x492d4d(0xd9)][_0x492d4d(0x42c)]=_0x140cf3,_0x140cf3[_0x492d4d(0x354)]=this,_0x140cf3;},'create':function(){var _0x1a8925=_0x453e,_0x1c5ecb=this[_0x1a8925(0x183)]();return _0x1c5ecb['init']['apply'](_0x1c5ecb,arguments),_0x1c5ecb;},'init':function(){},'mixIn':function(_0x593455){var _0x577e61=_0x453e;for(var _0x3a45f9 in _0x593455)_0x593455[_0x577e61(0x2b5)](_0x3a45f9)&&(this[_0x3a45f9]=_0x593455[_0x3a45f9]);_0x593455[_0x577e61(0x2b5)](_0x577e61(0x2a8))&&(this[_0x577e61(0x2a8)]=_0x593455[_0x577e61(0x2a8)]);},'clone':function(){var _0x4212e0=_0x453e;return this['init'][_0x4212e0(0x42c)]['extend'](this);}};}()),_0x297344=_0x479e9e[_0x335aa4(0x15f)]=_0x387cf4[_0x335aa4(0x183)]({'init':function(_0x563882,_0x362803){var _0x4e98c1=_0x335aa4;_0x563882=this[_0x4e98c1(0x2c9)]=_0x563882||[],_0x362803!=_0x46f1c7?this['sigBytes']=_0x362803:this['sigBytes']=_0x563882[_0x4e98c1(0x3b0)]*0x4;},'toString':function(_0x316f1e){var _0x5d4394=_0x335aa4;return(_0x316f1e||_0x3a260e)[_0x5d4394(0x10f)](this);},'concat':function(_0x110170){var _0xab5f86=_0x335aa4,_0x15f6ac=this[_0xab5f86(0x2c9)],_0x3d5ed8=_0x110170[_0xab5f86(0x2c9)],_0x4803ba=this[_0xab5f86(0x1fd)],_0x5b1b41=_0x110170[_0xab5f86(0x1fd)];if(this[_0xab5f86(0xd0)](),_0x4803ba%0x4)for(var _0x41cd94=0x0;_0x41cd94<_0x5b1b41;_0x41cd94++){var _0x38941b=_0x3d5ed8[_0x41cd94>>>0x2]>>>0x18-_0x41cd94%0x4*0x8&0xff;_0x15f6ac[_0x4803ba+_0x41cd94>>>0x2]|=_0x38941b<<0x18-(_0x4803ba+_0x41cd94)%0x4*0x8;}else{for(var _0x4d2947=0x0;_0x4d2947<_0x5b1b41;_0x4d2947+=0x4)_0x15f6ac[_0x4803ba+_0x4d2947>>>0x2]=_0x3d5ed8[_0x4d2947>>>0x2];}return this['sigBytes']+=_0x5b1b41,this;},'clamp':function(){var _0x5d52ed=_0x335aa4,_0x3b1bb1=this[_0x5d52ed(0x2c9)],_0x4865ba=this['sigBytes'];_0x3b1bb1[_0x4865ba>>>0x2]&=0xffffffff<<0x20-_0x4865ba%0x4*0x8,_0x3b1bb1[_0x5d52ed(0x3b0)]=_0x5c1467[_0x5d52ed(0x1af)](_0x4865ba/0x4);},'clone':function(){var _0x392b48=_0x335aa4,_0x24dac7=_0x387cf4['clone'][_0x392b48(0x247)](this);return _0x24dac7[_0x392b48(0x2c9)]=this['words'][_0x392b48(0x161)](0x0),_0x24dac7;},'random':function(_0xb08f71){var _0x48ed96=_0x335aa4;for(var _0x59176c=[],_0x518581=0x0;_0x518581<_0xb08f71;_0x518581+=0x4)_0x59176c[_0x48ed96(0x3d0)](_0x2f3a77());return new _0x297344[(_0x48ed96(0xd9))](_0x59176c,_0xb08f71);}}),_0x409677=_0x453986[_0x335aa4(0x37a)]={},_0x3a260e=_0x409677[_0x335aa4(0xf1)]={'stringify':function(_0x4ae248){var _0x133b7e=_0x335aa4;for(var _0x2a5d69=_0x4ae248[_0x133b7e(0x2c9)],_0x5171b3=_0x4ae248['sigBytes'],_0x13e3be=[],_0x479a59=0x0;_0x479a59<_0x5171b3;_0x479a59++){var _0x145bc3=_0x2a5d69[_0x479a59>>>0x2]>>>0x18-_0x479a59%0x4*0x8&0xff;_0x13e3be['push']((_0x145bc3>>>0x4)['toString'](0x10)),_0x13e3be[_0x133b7e(0x3d0)]((_0x145bc3&0xf)[_0x133b7e(0x2a8)](0x10));}return _0x13e3be[_0x133b7e(0x3d4)]('');},'parse':function(_0x18e15f){var _0x57706=_0x335aa4;for(var _0x1e9324=_0x18e15f[_0x57706(0x3b0)],_0x85734f=[],_0x3b5185=0x0;_0x3b5185<_0x1e9324;_0x3b5185+=0x2)_0x85734f[_0x3b5185>>>0x3]|=parseInt(_0x18e15f[_0x57706(0x1b6)](_0x3b5185,0x2),0x10)<<0x18-_0x3b5185%0x8*0x4;return new _0x297344[(_0x57706(0xd9))](_0x85734f,_0x1e9324/0x2);}},_0x4eca60=_0x409677[_0x335aa4(0x37e)]={'stringify':function(_0x4de9bb){var _0x3dcaf9=_0x335aa4;for(var _0x126504=_0x4de9bb['words'],_0x6423ac=_0x4de9bb[_0x3dcaf9(0x1fd)],_0x1f52ec=[],_0x45c667=0x0;_0x45c667<_0x6423ac;_0x45c667++){var _0x3e7755=_0x126504[_0x45c667>>>0x2]>>>0x18-_0x45c667%0x4*0x8&0xff;_0x1f52ec[_0x3dcaf9(0x3d0)](String['fromCharCode'](_0x3e7755));}return _0x1f52ec['join']('');},'parse':function(_0x15ddaa){var _0x29c6ff=_0x335aa4;for(var _0xb84553=_0x15ddaa[_0x29c6ff(0x3b0)],_0x5a245e=[],_0x12cba4=0x0;_0x12cba4<_0xb84553;_0x12cba4++)_0x5a245e[_0x12cba4>>>0x2]|=(_0x15ddaa['charCodeAt'](_0x12cba4)&0xff)<<0x18-_0x12cba4%0x4*0x8;return new _0x297344[(_0x29c6ff(0xd9))](_0x5a245e,_0xb84553);}},_0x2c35ad=_0x409677['Utf8']={'stringify':function(_0x51d6a3){var _0x588993=_0x335aa4;try{return decodeURIComponent(escape(_0x4eca60[_0x588993(0x10f)](_0x51d6a3)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x44a9ee){var _0x15fc7a=_0x335aa4;return _0x4eca60[_0x15fc7a(0x332)](unescape(encodeURIComponent(_0x44a9ee)));}},_0x4a08ef=_0x479e9e[_0x335aa4(0x3cf)]=_0x387cf4['extend']({'reset':function(){var _0x109e37=_0x335aa4;this['_data']=new _0x297344[(_0x109e37(0xd9))](),this[_0x109e37(0x391)]=0x0;},'_append':function(_0x2773a9){var _0x59f180=_0x335aa4;typeof _0x2773a9=='string'&&(_0x2773a9=_0x2c35ad[_0x59f180(0x332)](_0x2773a9)),this[_0x59f180(0x358)][_0x59f180(0x1f8)](_0x2773a9),this[_0x59f180(0x391)]+=_0x2773a9['sigBytes'];},'_process':function(_0x1cd361){var _0x340bf8=_0x335aa4,_0x244e99,_0x53189f=this[_0x340bf8(0x358)],_0x24e9ee=_0x53189f[_0x340bf8(0x2c9)],_0x473c88=_0x53189f[_0x340bf8(0x1fd)],_0x324955=this['blockSize'],_0x3d28d5=_0x324955*0x4,_0x1735f7=_0x473c88/_0x3d28d5;_0x1cd361?_0x1735f7=_0x5c1467[_0x340bf8(0x1af)](_0x1735f7):_0x1735f7=_0x5c1467[_0x340bf8(0x293)]((_0x1735f7|0x0)-this[_0x340bf8(0x397)],0x0);var _0x1fa88d=_0x1735f7*_0x324955,_0x26c667=_0x5c1467[_0x340bf8(0x254)](_0x1fa88d*0x4,_0x473c88);if(_0x1fa88d){for(var _0x2889d0=0x0;_0x2889d0<_0x1fa88d;_0x2889d0+=_0x324955)this[_0x340bf8(0x3df)](_0x24e9ee,_0x2889d0);_0x244e99=_0x24e9ee[_0x340bf8(0x42d)](0x0,_0x1fa88d),_0x53189f[_0x340bf8(0x1fd)]-=_0x26c667;}return new _0x297344[(_0x340bf8(0xd9))](_0x244e99,_0x26c667);},'clone':function(){var _0x22d340=_0x335aa4,_0x5e93fe=_0x387cf4[_0x22d340(0x18f)][_0x22d340(0x247)](this);return _0x5e93fe['_data']=this[_0x22d340(0x358)][_0x22d340(0x18f)](),_0x5e93fe;},'_minBufferSize':0x0});_0x479e9e[_0x335aa4(0x140)]=_0x4a08ef[_0x335aa4(0x183)]({'cfg':_0x387cf4[_0x335aa4(0x183)](),'init':function(_0xad2faa){var _0x44451c=_0x335aa4;this[_0x44451c(0x269)]=this[_0x44451c(0x269)][_0x44451c(0x183)](_0xad2faa),this['reset']();},'reset':function(){var _0x1db92a=_0x335aa4;_0x4a08ef['reset'][_0x1db92a(0x247)](this),this[_0x1db92a(0x1e4)]();},'update':function(_0xe43a54){return this['_append'](_0xe43a54),this['_process'](),this;},'finalize':function(_0x4a7d90){var _0x28c9fd=_0x335aa4;_0x4a7d90&&this[_0x28c9fd(0x1b9)](_0x4a7d90);var _0x14d5c7=this[_0x28c9fd(0x2b1)]();return _0x14d5c7;},'blockSize':0x10,'_createHelper':function(_0x53da43){return function(_0x3bcc03,_0x1d3d42){var _0x1764ad=_0x453e;return new _0x53da43[(_0x1764ad(0xd9))](_0x1d3d42)['finalize'](_0x3bcc03);};},'_createHmacHelper':function(_0x37babd){return function(_0x38a61b,_0x8bd1ef){var _0x1eef84=_0x453e;return new _0x11f4ed[(_0x1eef84(0x3e6))][(_0x1eef84(0xd9))](_0x37babd,_0x8bd1ef)[_0x1eef84(0x3ed)](_0x38a61b);};}});var _0x11f4ed=_0x453986[_0x335aa4(0x3a1)]={};return _0x453986;}(Math);return _0x10b363;}));}(pe)),pe[_0x2c6d56(0x343)];}var ge={'exports':{}},xi=ge[_0xaa7fc(0x343)],Qe;function Ut(){var _0x388237=_0xaa7fc;return Qe||(Qe=0x1,function(_0x336b68,_0x1f67f4){(function(_0x5decd8,_0x547b02){var _0x1319dd=_0x453e;_0x336b68[_0x1319dd(0x343)]=_0x547b02(ee());}(xi,function(_0x2177a5){var _0x1acaf5=_0x453e;return(function(){var _0x3da166=_0x453e,_0x11b32c=_0x2177a5,_0x5c8b02=_0x11b32c[_0x3da166(0x277)],_0x1414c9=_0x5c8b02[_0x3da166(0x15f)],_0x18f4e8=_0x11b32c[_0x3da166(0x37a)];_0x18f4e8[_0x3da166(0x352)]={'stringify':function(_0x61d72c){var _0x4ec5fc=_0x3da166,_0x17f965=_0x61d72c[_0x4ec5fc(0x2c9)],_0x58b65b=_0x61d72c[_0x4ec5fc(0x1fd)],_0x44c28a=this[_0x4ec5fc(0x27a)];_0x61d72c['clamp']();for(var _0x1b2d9b=[],_0x18acb8=0x0;_0x18acb8<_0x58b65b;_0x18acb8+=0x3)for(var _0x323901=_0x17f965[_0x18acb8>>>0x2]>>>0x18-_0x18acb8%0x4*0x8&0xff,_0x3cbf7b=_0x17f965[_0x18acb8+0x1>>>0x2]>>>0x18-(_0x18acb8+0x1)%0x4*0x8&0xff,_0x229dd6=_0x17f965[_0x18acb8+0x2>>>0x2]>>>0x18-(_0x18acb8+0x2)%0x4*0x8&0xff,_0x2e88c2=_0x323901<<0x10|_0x3cbf7b<<0x8|_0x229dd6,_0x21c4ca=0x0;_0x21c4ca<0x4&&_0x18acb8+_0x21c4ca*0.75<_0x58b65b;_0x21c4ca++)_0x1b2d9b[_0x4ec5fc(0x3d0)](_0x44c28a[_0x4ec5fc(0x133)](_0x2e88c2>>>0x6*(0x3-_0x21c4ca)&0x3f));var _0x3efa01=_0x44c28a['charAt'](0x40);if(_0x3efa01){for(;_0x1b2d9b[_0x4ec5fc(0x3b0)]%0x4;)_0x1b2d9b[_0x4ec5fc(0x3d0)](_0x3efa01);}return _0x1b2d9b[_0x4ec5fc(0x3d4)]('');},'parse':function(_0x3ffd14){var _0x2271e0=_0x3da166,_0x3d4e51=_0x3ffd14['length'],_0x4a1e28=this[_0x2271e0(0x27a)],_0x21180d=this[_0x2271e0(0x124)];if(!_0x21180d){_0x21180d=this['_reverseMap']=[];for(var _0x77fcf=0x0;_0x77fcf<_0x4a1e28[_0x2271e0(0x3b0)];_0x77fcf++)_0x21180d[_0x4a1e28[_0x2271e0(0x3c7)](_0x77fcf)]=_0x77fcf;}var _0x27d02a=_0x4a1e28[_0x2271e0(0x133)](0x40);if(_0x27d02a){var _0x3c5665=_0x3ffd14[_0x2271e0(0x24f)](_0x27d02a);_0x3c5665!==-0x1&&(_0x3d4e51=_0x3c5665);}return _0x51dcfe(_0x3ffd14,_0x3d4e51,_0x21180d);},'_map':_0x3da166(0x41c)};function _0x51dcfe(_0x2c1e54,_0x53c216,_0x5778aa){var _0x53c5bd=_0x3da166;for(var _0x53c65e=[],_0x450b8c=0x0,_0x3afe71=0x0;_0x3afe71<_0x53c216;_0x3afe71++)if(_0x3afe71%0x4){var _0x17fe6f=_0x5778aa[_0x2c1e54[_0x53c5bd(0x3c7)](_0x3afe71-0x1)]<<_0x3afe71%0x4*0x2,_0x52b84b=_0x5778aa[_0x2c1e54[_0x53c5bd(0x3c7)](_0x3afe71)]>>>0x6-_0x3afe71%0x4*0x2,_0x2532d8=_0x17fe6f|_0x52b84b;_0x53c65e[_0x450b8c>>>0x2]|=_0x2532d8<<0x18-_0x450b8c%0x4*0x8,_0x450b8c++;}return _0x1414c9[_0x53c5bd(0x346)](_0x53c65e,_0x450b8c);}}()),_0x2177a5[_0x1acaf5(0x37a)][_0x1acaf5(0x352)];}));}(ge)),ge[_0x388237(0x343)];}var me={'exports':{}},ki=me[_0xaa7fc(0x343)],et;function Hi(){return et||(et=0x1,function(_0x13d181,_0x322f1e){(function(_0x90b2aa,_0x62d58b){var _0xf3fdc=_0x453e;_0x13d181[_0xf3fdc(0x343)]=_0x62d58b(ee());}(ki,function(_0x2e687f){var _0x5d2c26=_0x453e;return function(_0x4d9a91){var _0x31056c=_0x453e,_0x4dc801=_0x2e687f,_0x18acca=_0x4dc801[_0x31056c(0x277)],_0x857f02=_0x18acca[_0x31056c(0x15f)],_0x107f9e=_0x18acca['Hasher'],_0x2f591f=_0x4dc801[_0x31056c(0x3a1)],_0x36f0d6=[];(function(){var _0x5c5c4d=_0x31056c;for(var _0x10ccc1=0x0;_0x10ccc1<0x40;_0x10ccc1++)_0x36f0d6[_0x10ccc1]=_0x4d9a91[_0x5c5c4d(0x42a)](_0x4d9a91[_0x5c5c4d(0xe6)](_0x10ccc1+0x1))*0x100000000|0x0;}());var _0x5ed191=_0x2f591f[_0x31056c(0x239)]=_0x107f9e['extend']({'_doReset':function(){var _0x2939e0=_0x31056c;this[_0x2939e0(0x229)]=new _0x857f02[(_0x2939e0(0xd9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x253b87,_0x4e1c9f){var _0x2b028b=_0x31056c;for(var _0x3e418a=0x0;_0x3e418a<0x10;_0x3e418a++){var _0x5c5b85=_0x4e1c9f+_0x3e418a,_0x3d8c8f=_0x253b87[_0x5c5b85];_0x253b87[_0x5c5b85]=(_0x3d8c8f<<0x8|_0x3d8c8f>>>0x18)&0xff00ff|(_0x3d8c8f<<0x18|_0x3d8c8f>>>0x8)&0xff00ff00;}var _0xd35f80=this[_0x2b028b(0x229)][_0x2b028b(0x2c9)],_0x4f79a1=_0x253b87[_0x4e1c9f+0x0],_0x3b934a=_0x253b87[_0x4e1c9f+0x1],_0x30296f=_0x253b87[_0x4e1c9f+0x2],_0x15df8a=_0x253b87[_0x4e1c9f+0x3],_0x9bf9a3=_0x253b87[_0x4e1c9f+0x4],_0x55dc7c=_0x253b87[_0x4e1c9f+0x5],_0x1a0c98=_0x253b87[_0x4e1c9f+0x6],_0x318f99=_0x253b87[_0x4e1c9f+0x7],_0x396e43=_0x253b87[_0x4e1c9f+0x8],_0x283276=_0x253b87[_0x4e1c9f+0x9],_0x15decc=_0x253b87[_0x4e1c9f+0xa],_0x2efe63=_0x253b87[_0x4e1c9f+0xb],_0x25fb7d=_0x253b87[_0x4e1c9f+0xc],_0x53f48a=_0x253b87[_0x4e1c9f+0xd],_0x3a797c=_0x253b87[_0x4e1c9f+0xe],_0x38e5fd=_0x253b87[_0x4e1c9f+0xf],_0x1a9d96=_0xd35f80[0x0],_0x2dd3c7=_0xd35f80[0x1],_0x395ed0=_0xd35f80[0x2],_0x59bf2a=_0xd35f80[0x3];_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x4f79a1,0x7,_0x36f0d6[0x0]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x3b934a,0xc,_0x36f0d6[0x1]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x30296f,0x11,_0x36f0d6[0x2]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x15df8a,0x16,_0x36f0d6[0x3]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x9bf9a3,0x7,_0x36f0d6[0x4]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x55dc7c,0xc,_0x36f0d6[0x5]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x1a0c98,0x11,_0x36f0d6[0x6]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x318f99,0x16,_0x36f0d6[0x7]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x396e43,0x7,_0x36f0d6[0x8]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x283276,0xc,_0x36f0d6[0x9]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15decc,0x11,_0x36f0d6[0xa]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2efe63,0x16,_0x36f0d6[0xb]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x25fb7d,0x7,_0x36f0d6[0xc]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x53f48a,0xc,_0x36f0d6[0xd]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x3a797c,0x11,_0x36f0d6[0xe]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x38e5fd,0x16,_0x36f0d6[0xf]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x3b934a,0x5,_0x36f0d6[0x10]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x1a0c98,0x9,_0x36f0d6[0x11]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x2efe63,0xe,_0x36f0d6[0x12]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x4f79a1,0x14,_0x36f0d6[0x13]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x55dc7c,0x5,_0x36f0d6[0x14]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x15decc,0x9,_0x36f0d6[0x15]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x38e5fd,0xe,_0x36f0d6[0x16]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x9bf9a3,0x14,_0x36f0d6[0x17]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x283276,0x5,_0x36f0d6[0x18]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x3a797c,0x9,_0x36f0d6[0x19]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15df8a,0xe,_0x36f0d6[0x1a]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x396e43,0x14,_0x36f0d6[0x1b]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x53f48a,0x5,_0x36f0d6[0x1c]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x30296f,0x9,_0x36f0d6[0x1d]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x318f99,0xe,_0x36f0d6[0x1e]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x25fb7d,0x14,_0x36f0d6[0x1f]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x55dc7c,0x4,_0x36f0d6[0x20]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x396e43,0xb,_0x36f0d6[0x21]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x2efe63,0x10,_0x36f0d6[0x22]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x3a797c,0x17,_0x36f0d6[0x23]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x3b934a,0x4,_0x36f0d6[0x24]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x9bf9a3,0xb,_0x36f0d6[0x25]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x318f99,0x10,_0x36f0d6[0x26]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x15decc,0x17,_0x36f0d6[0x27]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x53f48a,0x4,_0x36f0d6[0x28]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x4f79a1,0xb,_0x36f0d6[0x29]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15df8a,0x10,_0x36f0d6[0x2a]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x1a0c98,0x17,_0x36f0d6[0x2b]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x283276,0x4,_0x36f0d6[0x2c]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x25fb7d,0xb,_0x36f0d6[0x2d]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x38e5fd,0x10,_0x36f0d6[0x2e]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x30296f,0x17,_0x36f0d6[0x2f]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x4f79a1,0x6,_0x36f0d6[0x30]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x318f99,0xa,_0x36f0d6[0x31]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x3a797c,0xf,_0x36f0d6[0x32]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x55dc7c,0x15,_0x36f0d6[0x33]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x25fb7d,0x6,_0x36f0d6[0x34]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x15df8a,0xa,_0x36f0d6[0x35]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15decc,0xf,_0x36f0d6[0x36]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x3b934a,0x15,_0x36f0d6[0x37]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x396e43,0x6,_0x36f0d6[0x38]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x38e5fd,0xa,_0x36f0d6[0x39]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x1a0c98,0xf,_0x36f0d6[0x3a]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x53f48a,0x15,_0x36f0d6[0x3b]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x9bf9a3,0x6,_0x36f0d6[0x3c]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x2efe63,0xa,_0x36f0d6[0x3d]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x30296f,0xf,_0x36f0d6[0x3e]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x283276,0x15,_0x36f0d6[0x3f]),_0xd35f80[0x0]=_0xd35f80[0x0]+_0x1a9d96|0x0,_0xd35f80[0x1]=_0xd35f80[0x1]+_0x2dd3c7|0x0,_0xd35f80[0x2]=_0xd35f80[0x2]+_0x395ed0|0x0,_0xd35f80[0x3]=_0xd35f80[0x3]+_0x59bf2a|0x0;},'_doFinalize':function(){var _0x465994=_0x31056c,_0x1f7660=this['_data'],_0x5e0d40=_0x1f7660[_0x465994(0x2c9)],_0x2246d4=this[_0x465994(0x391)]*0x8,_0x1dc36f=_0x1f7660[_0x465994(0x1fd)]*0x8;_0x5e0d40[_0x1dc36f>>>0x5]|=0x80<<0x18-_0x1dc36f%0x20;var _0x5c4515=_0x4d9a91[_0x465994(0x40d)](_0x2246d4/0x100000000),_0x14592f=_0x2246d4;_0x5e0d40[(_0x1dc36f+0x40>>>0x9<<0x4)+0xf]=(_0x5c4515<<0x8|_0x5c4515>>>0x18)&0xff00ff|(_0x5c4515<<0x18|_0x5c4515>>>0x8)&0xff00ff00,_0x5e0d40[(_0x1dc36f+0x40>>>0x9<<0x4)+0xe]=(_0x14592f<<0x8|_0x14592f>>>0x18)&0xff00ff|(_0x14592f<<0x18|_0x14592f>>>0x8)&0xff00ff00,_0x1f7660[_0x465994(0x1fd)]=(_0x5e0d40[_0x465994(0x3b0)]+0x1)*0x4,this['_process']();for(var _0x128193=this[_0x465994(0x229)],_0x1a71cf=_0x128193[_0x465994(0x2c9)],_0xac1211=0x0;_0xac1211<0x4;_0xac1211++){var _0x58f823=_0x1a71cf[_0xac1211];_0x1a71cf[_0xac1211]=(_0x58f823<<0x8|_0x58f823>>>0x18)&0xff00ff|(_0x58f823<<0x18|_0x58f823>>>0x8)&0xff00ff00;}return _0x128193;},'clone':function(){var _0x23de6a=_0x31056c,_0x3db6d5=_0x107f9e[_0x23de6a(0x18f)][_0x23de6a(0x247)](this);return _0x3db6d5[_0x23de6a(0x229)]=this[_0x23de6a(0x229)]['clone'](),_0x3db6d5;}});function _0x90ecdf(_0x43ebc4,_0x51c8b4,_0x236e16,_0x22e48f,_0x314725,_0xeef834,_0x598b77){var _0x46254d=_0x43ebc4+(_0x51c8b4&_0x236e16|~_0x51c8b4&_0x22e48f)+_0x314725+_0x598b77;return(_0x46254d<<_0xeef834|_0x46254d>>>0x20-_0xeef834)+_0x51c8b4;}function _0x12d7b6(_0x276fbd,_0x20c0f9,_0x4c0bfb,_0x34fb63,_0x1bbf74,_0x38f276,_0x208d1d){var _0xb31612=_0x276fbd+(_0x20c0f9&_0x34fb63|_0x4c0bfb&~_0x34fb63)+_0x1bbf74+_0x208d1d;return(_0xb31612<<_0x38f276|_0xb31612>>>0x20-_0x38f276)+_0x20c0f9;}function _0x3a7fe1(_0x31fd9b,_0x48058d,_0x56449a,_0x568793,_0x2a738b,_0x36a4e1,_0x363eb3){var _0x281ac0=_0x31fd9b+(_0x48058d^_0x56449a^_0x568793)+_0x2a738b+_0x363eb3;return(_0x281ac0<<_0x36a4e1|_0x281ac0>>>0x20-_0x36a4e1)+_0x48058d;}function _0x2e9ea5(_0xcfa353,_0x559955,_0x5b3810,_0x1f6620,_0x4305b6,_0x27c6e8,_0x3c4362){var _0x4217d3=_0xcfa353+(_0x5b3810^(_0x559955|~_0x1f6620))+_0x4305b6+_0x3c4362;return(_0x4217d3<<_0x27c6e8|_0x4217d3>>>0x20-_0x27c6e8)+_0x559955;}_0x4dc801['MD5']=_0x107f9e['_createHelper'](_0x5ed191),_0x4dc801['HmacMD5']=_0x107f9e[_0x31056c(0x3c3)](_0x5ed191);}(Math),_0x2e687f[_0x5d2c26(0x239)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0xaa7fc(0x343)],tt;function $i(){return tt||(tt=0x1,function(_0x16f1fb,_0x3c039b){(function(_0x3072b2,_0x4588c2){_0x16f1fb['exports']=_0x4588c2(ee());}(ji,function(_0x441202){var _0x21f42d=_0x453e;return(function(){var _0x519cce=_0x453e,_0x5807cd=_0x441202,_0x121747=_0x5807cd[_0x519cce(0x277)],_0xad1f12=_0x121747[_0x519cce(0x15f)],_0x4f4be4=_0x121747[_0x519cce(0x140)],_0x49e510=_0x5807cd[_0x519cce(0x3a1)],_0x1324d1=[],_0x45d773=_0x49e510[_0x519cce(0x21d)]=_0x4f4be4[_0x519cce(0x183)]({'_doReset':function(){this['_hash']=new _0xad1f12['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x210c72,_0x100ae5){var _0x2dc29a=_0x519cce;for(var _0x5a9a4e=this['_hash'][_0x2dc29a(0x2c9)],_0x492448=_0x5a9a4e[0x0],_0x5ccbec=_0x5a9a4e[0x1],_0x1acfec=_0x5a9a4e[0x2],_0x3232c3=_0x5a9a4e[0x3],_0x573ed6=_0x5a9a4e[0x4],_0x3e2a38=0x0;_0x3e2a38<0x50;_0x3e2a38++){if(_0x3e2a38<0x10)_0x1324d1[_0x3e2a38]=_0x210c72[_0x100ae5+_0x3e2a38]|0x0;else{var _0x414bd0=_0x1324d1[_0x3e2a38-0x3]^_0x1324d1[_0x3e2a38-0x8]^_0x1324d1[_0x3e2a38-0xe]^_0x1324d1[_0x3e2a38-0x10];_0x1324d1[_0x3e2a38]=_0x414bd0<<0x1|_0x414bd0>>>0x1f;}var _0x929b2f=(_0x492448<<0x5|_0x492448>>>0x1b)+_0x573ed6+_0x1324d1[_0x3e2a38];_0x3e2a38<0x14?_0x929b2f+=(_0x5ccbec&_0x1acfec|~_0x5ccbec&_0x3232c3)+0x5a827999:_0x3e2a38<0x28?_0x929b2f+=(_0x5ccbec^_0x1acfec^_0x3232c3)+0x6ed9eba1:_0x3e2a38<0x3c?_0x929b2f+=(_0x5ccbec&_0x1acfec|_0x5ccbec&_0x3232c3|_0x1acfec&_0x3232c3)-0x70e44324:_0x929b2f+=(_0x5ccbec^_0x1acfec^_0x3232c3)-0x359d3e2a,_0x573ed6=_0x3232c3,_0x3232c3=_0x1acfec,_0x1acfec=_0x5ccbec<<0x1e|_0x5ccbec>>>0x2,_0x5ccbec=_0x492448,_0x492448=_0x929b2f;}_0x5a9a4e[0x0]=_0x5a9a4e[0x0]+_0x492448|0x0,_0x5a9a4e[0x1]=_0x5a9a4e[0x1]+_0x5ccbec|0x0,_0x5a9a4e[0x2]=_0x5a9a4e[0x2]+_0x1acfec|0x0,_0x5a9a4e[0x3]=_0x5a9a4e[0x3]+_0x3232c3|0x0,_0x5a9a4e[0x4]=_0x5a9a4e[0x4]+_0x573ed6|0x0;},'_doFinalize':function(){var _0xecf5e5=_0x519cce,_0x54269d=this[_0xecf5e5(0x358)],_0xe1a4d2=_0x54269d[_0xecf5e5(0x2c9)],_0x4fd513=this[_0xecf5e5(0x391)]*0x8,_0x567c7e=_0x54269d['sigBytes']*0x8;return _0xe1a4d2[_0x567c7e>>>0x5]|=0x80<<0x18-_0x567c7e%0x20,_0xe1a4d2[(_0x567c7e+0x40>>>0x9<<0x4)+0xe]=Math[_0xecf5e5(0x40d)](_0x4fd513/0x100000000),_0xe1a4d2[(_0x567c7e+0x40>>>0x9<<0x4)+0xf]=_0x4fd513,_0x54269d[_0xecf5e5(0x1fd)]=_0xe1a4d2[_0xecf5e5(0x3b0)]*0x4,this[_0xecf5e5(0x3e4)](),this[_0xecf5e5(0x229)];},'clone':function(){var _0x20c0b5=_0x519cce,_0x4c7ce5=_0x4f4be4[_0x20c0b5(0x18f)][_0x20c0b5(0x247)](this);return _0x4c7ce5[_0x20c0b5(0x229)]=this['_hash'][_0x20c0b5(0x18f)](),_0x4c7ce5;}});_0x5807cd[_0x519cce(0x21d)]=_0x4f4be4[_0x519cce(0x273)](_0x45d773),_0x5807cd[_0x519cce(0x3f6)]=_0x4f4be4[_0x519cce(0x3c3)](_0x45d773);}()),_0x441202[_0x21f42d(0x21d)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0xaa7fc(0x343)],it;function Fi(){var _0x5de118=_0xaa7fc;return it||(it=0x1,function(_0x2b29f7,_0x4d3a2b){(function(_0x2f341a,_0x12144d){var _0x279486=_0x453e;_0x2b29f7[_0x279486(0x343)]=_0x12144d(ee());}(Bi,function(_0x24e7d7){(function(){var _0x4fb4b5=_0x453e,_0x498ca6=_0x24e7d7,_0x5358ea=_0x498ca6[_0x4fb4b5(0x277)],_0x159abe=_0x5358ea['Base'],_0x179078=_0x498ca6['enc'],_0x627e18=_0x179078[_0x4fb4b5(0x38b)],_0x500d00=_0x498ca6[_0x4fb4b5(0x3a1)];_0x500d00[_0x4fb4b5(0x3e6)]=_0x159abe[_0x4fb4b5(0x183)]({'init':function(_0xa8f6bc,_0x3e27ff){var _0x348f11=_0x4fb4b5;_0xa8f6bc=this['_hasher']=new _0xa8f6bc[(_0x348f11(0xd9))](),typeof _0x3e27ff=='string'&&(_0x3e27ff=_0x627e18[_0x348f11(0x332)](_0x3e27ff));var _0x2ee819=_0xa8f6bc[_0x348f11(0x109)],_0x10783f=_0x2ee819*0x4;_0x3e27ff['sigBytes']>_0x10783f&&(_0x3e27ff=_0xa8f6bc[_0x348f11(0x3ed)](_0x3e27ff)),_0x3e27ff[_0x348f11(0xd0)]();for(var _0x4dc3df=this['_oKey']=_0x3e27ff[_0x348f11(0x18f)](),_0x586908=this['_iKey']=_0x3e27ff[_0x348f11(0x18f)](),_0x5df65c=_0x4dc3df[_0x348f11(0x2c9)],_0x3cf442=_0x586908['words'],_0x2a287e=0x0;_0x2a287e<_0x2ee819;_0x2a287e++)_0x5df65c[_0x2a287e]^=0x5c5c5c5c,_0x3cf442[_0x2a287e]^=0x36363636;_0x4dc3df['sigBytes']=_0x586908[_0x348f11(0x1fd)]=_0x10783f,this[_0x348f11(0x3b2)]();},'reset':function(){var _0xf820f2=_0x4fb4b5,_0x222282=this[_0xf820f2(0x1f9)];_0x222282['reset'](),_0x222282['update'](this['_iKey']);},'update':function(_0x28a0b8){var _0x30143b=_0x4fb4b5;return this['_hasher'][_0x30143b(0x295)](_0x28a0b8),this;},'finalize':function(_0x1aacb4){var _0x3435e3=_0x4fb4b5,_0x30ff1c=this[_0x3435e3(0x1f9)],_0x19aab2=_0x30ff1c[_0x3435e3(0x3ed)](_0x1aacb4);_0x30ff1c[_0x3435e3(0x3b2)]();var _0x1016aa=_0x30ff1c[_0x3435e3(0x3ed)](this['_oKey']['clone']()[_0x3435e3(0x1f8)](_0x19aab2));return _0x1016aa;}});}());}));}(Ce)),Ce[_0x5de118(0x343)];}var Vi=Ie[_0xaa7fc(0x343)],nt;function At(){return nt||(nt=0x1,function(_0x4b845a,_0x4a14a4){(function(_0x397361,_0x1d68fa,_0x4d1766){var _0x57f6d0=_0x453e;_0x4b845a[_0x57f6d0(0x343)]=_0x1d68fa(ee(),$i(),Fi());}(Vi,function(_0x2f03fb){var _0x3cda28=_0x453e;return(function(){var _0x1a27c2=_0x453e,_0x3c5076=_0x2f03fb,_0x3d298f=_0x3c5076[_0x1a27c2(0x277)],_0x4fb6ce=_0x3d298f['Base'],_0xaa703=_0x3d298f['WordArray'],_0x5dfc98=_0x3c5076[_0x1a27c2(0x3a1)],_0x1a772d=_0x5dfc98[_0x1a27c2(0x239)],_0x11a4e2=_0x5dfc98[_0x1a27c2(0x18b)]=_0x4fb6ce[_0x1a27c2(0x183)]({'cfg':_0x4fb6ce[_0x1a27c2(0x183)]({'keySize':0x80/0x20,'hasher':_0x1a772d,'iterations':0x1}),'init':function(_0x3dc649){var _0x423ea1=_0x1a27c2;this[_0x423ea1(0x269)]=this[_0x423ea1(0x269)][_0x423ea1(0x183)](_0x3dc649);},'compute':function(_0xc9a8e4,_0x9aa69e){var _0x28cae0=_0x1a27c2;for(var _0x23f4b0,_0x70c36f=this['cfg'],_0xf5078e=_0x70c36f[_0x28cae0(0x162)]['create'](),_0x1aa076=_0xaa703[_0x28cae0(0x346)](),_0x28e9a3=_0x1aa076[_0x28cae0(0x2c9)],_0x5c37cf=_0x70c36f[_0x28cae0(0x1e3)],_0x16590d=_0x70c36f[_0x28cae0(0x288)];_0x28e9a3[_0x28cae0(0x3b0)]<_0x5c37cf;){_0x23f4b0&&_0xf5078e[_0x28cae0(0x295)](_0x23f4b0),_0x23f4b0=_0xf5078e[_0x28cae0(0x295)](_0xc9a8e4)['finalize'](_0x9aa69e),_0xf5078e['reset']();for(var _0xf83b1=0x1;_0xf83b1<_0x16590d;_0xf83b1++)_0x23f4b0=_0xf5078e['finalize'](_0x23f4b0),_0xf5078e[_0x28cae0(0x3b2)]();_0x1aa076[_0x28cae0(0x1f8)](_0x23f4b0);}return _0x1aa076[_0x28cae0(0x1fd)]=_0x5c37cf*0x4,_0x1aa076;}});_0x3c5076['EvpKDF']=function(_0x383951,_0x5bf2e3,_0x5d60a0){var _0x1f46cb=_0x1a27c2;return _0x11a4e2[_0x1f46cb(0x346)](_0x5d60a0)['compute'](_0x383951,_0x5bf2e3);};}()),_0x2f03fb[_0x3cda28(0x18b)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te[_0xaa7fc(0x343)],rt;function Pt(){var _0x1d3921=_0xaa7fc;return rt||(rt=0x1,function(_0x8dfa74,_0xe65541){(function(_0x3aabd5,_0x27fab9,_0x4995cb){_0x8dfa74['exports']=_0x27fab9(ee(),At());}(Wi,function(_0x2f7731){var _0x385215=_0x453e;_0x2f7731[_0x385215(0x277)][_0x385215(0x1bb)]||function(_0x38286e){var _0x3734c0=_0x385215,_0x139777=_0x2f7731,_0x129b4f=_0x139777[_0x3734c0(0x277)],_0x425362=_0x129b4f[_0x3734c0(0xed)],_0x1dd3dd=_0x129b4f[_0x3734c0(0x15f)],_0x2511be=_0x129b4f[_0x3734c0(0x3cf)],_0x578273=_0x139777[_0x3734c0(0x37a)];_0x578273[_0x3734c0(0x38b)];var _0x1006b3=_0x578273[_0x3734c0(0x352)],_0x13724c=_0x139777[_0x3734c0(0x3a1)],_0x570298=_0x13724c['EvpKDF'],_0x40cc29=_0x129b4f['Cipher']=_0x2511be['extend']({'cfg':_0x425362[_0x3734c0(0x183)](),'createEncryptor':function(_0x2ced57,_0xdddb74){var _0x4ae12a=_0x3734c0;return this[_0x4ae12a(0x346)](this[_0x4ae12a(0x33a)],_0x2ced57,_0xdddb74);},'createDecryptor':function(_0x42817d,_0x1553a4){var _0x35f0dd=_0x3734c0;return this['create'](this[_0x35f0dd(0x341)],_0x42817d,_0x1553a4);},'init':function(_0x1d6851,_0x35bcc3,_0x45869a){var _0x38d35e=_0x3734c0;this[_0x38d35e(0x269)]=this[_0x38d35e(0x269)][_0x38d35e(0x183)](_0x45869a),this[_0x38d35e(0x106)]=_0x1d6851,this[_0x38d35e(0x22a)]=_0x35bcc3,this['reset']();},'reset':function(){var _0x4e9bf3=_0x3734c0;_0x2511be[_0x4e9bf3(0x3b2)]['call'](this),this['_doReset']();},'process':function(_0x5dbc1b){var _0x47eaaf=_0x3734c0;return this[_0x47eaaf(0x1b9)](_0x5dbc1b),this[_0x47eaaf(0x3e4)]();},'finalize':function(_0x38f19c){var _0x513981=_0x3734c0;_0x38f19c&&this[_0x513981(0x1b9)](_0x38f19c);var _0x33cba1=this[_0x513981(0x2b1)]();return _0x33cba1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa7f40a(_0x571032){var _0x58d382=_0x453e;return typeof _0x571032==_0x58d382(0x181)?_0x95c473:_0x566e9b;}return function(_0x52818d){return{'encrypt':function(_0x1857a8,_0x453861,_0x3fcaa2){return _0xa7f40a(_0x453861)['encrypt'](_0x52818d,_0x1857a8,_0x453861,_0x3fcaa2);},'decrypt':function(_0x4027ff,_0x2b319a,_0x1bbc0c){return _0xa7f40a(_0x2b319a)['decrypt'](_0x52818d,_0x4027ff,_0x2b319a,_0x1bbc0c);}};};}())});_0x129b4f[_0x3734c0(0xd6)]=_0x40cc29[_0x3734c0(0x183)]({'_doFinalize':function(){var _0x3597e4=_0x3734c0,_0x4fb488=this[_0x3597e4(0x3e4)](!0x0);return _0x4fb488;},'blockSize':0x1});var _0x17cd31=_0x139777[_0x3734c0(0x286)]={},_0x4c242c=_0x129b4f[_0x3734c0(0x2ee)]=_0x425362[_0x3734c0(0x183)]({'createEncryptor':function(_0x15536c,_0x57ab01){var _0x3db958=_0x3734c0;return this[_0x3db958(0x1cd)][_0x3db958(0x346)](_0x15536c,_0x57ab01);},'createDecryptor':function(_0x1e5228,_0x566b01){var _0x42f319=_0x3734c0;return this[_0x42f319(0x16e)][_0x42f319(0x346)](_0x1e5228,_0x566b01);},'init':function(_0x5cb12,_0x599be2){var _0x14f394=_0x3734c0;this[_0x14f394(0x335)]=_0x5cb12,this[_0x14f394(0x1de)]=_0x599be2;}}),_0x3c6203=_0x17cd31[_0x3734c0(0x3f3)]=(function(){var _0x2e5b4e=_0x3734c0,_0x7cf9c9=_0x4c242c[_0x2e5b4e(0x183)]();_0x7cf9c9['Encryptor']=_0x7cf9c9['extend']({'processBlock':function(_0x2612e2,_0x2b24e4){var _0x2b7db7=_0x2e5b4e,_0x57614b=this[_0x2b7db7(0x335)],_0x3ee4b7=_0x57614b['blockSize'];_0x3468c1['call'](this,_0x2612e2,_0x2b24e4,_0x3ee4b7),_0x57614b[_0x2b7db7(0xd8)](_0x2612e2,_0x2b24e4),this[_0x2b7db7(0x2e7)]=_0x2612e2[_0x2b7db7(0x161)](_0x2b24e4,_0x2b24e4+_0x3ee4b7);}}),_0x7cf9c9[_0x2e5b4e(0x16e)]=_0x7cf9c9[_0x2e5b4e(0x183)]({'processBlock':function(_0x2a9150,_0x15248f){var _0x585d73=_0x2e5b4e,_0x4e8f6b=this[_0x585d73(0x335)],_0x143499=_0x4e8f6b['blockSize'],_0x8dfc2f=_0x2a9150[_0x585d73(0x161)](_0x15248f,_0x15248f+_0x143499);_0x4e8f6b[_0x585d73(0x11d)](_0x2a9150,_0x15248f),_0x3468c1[_0x585d73(0x247)](this,_0x2a9150,_0x15248f,_0x143499),this[_0x585d73(0x2e7)]=_0x8dfc2f;}});function _0x3468c1(_0x5da6ae,_0x378f9b,_0x40c13a){var _0x48bb8b=_0x2e5b4e,_0x58ac85,_0x2c4145=this[_0x48bb8b(0x1de)];_0x2c4145?(_0x58ac85=_0x2c4145,this[_0x48bb8b(0x1de)]=_0x38286e):_0x58ac85=this[_0x48bb8b(0x2e7)];for(var _0x242000=0x0;_0x242000<_0x40c13a;_0x242000++)_0x5da6ae[_0x378f9b+_0x242000]^=_0x58ac85[_0x242000];}return _0x7cf9c9;}()),_0x4ac4d8=_0x139777[_0x3734c0(0x3a6)]={},_0x532c8f=_0x4ac4d8['Pkcs7']={'pad':function(_0x39fbe2,_0x24e173){var _0x24aa8a=_0x3734c0;for(var _0x6a9807=_0x24e173*0x4,_0x3be79b=_0x6a9807-_0x39fbe2[_0x24aa8a(0x1fd)]%_0x6a9807,_0x30b1d2=_0x3be79b<<0x18|_0x3be79b<<0x10|_0x3be79b<<0x8|_0x3be79b,_0x28d419=[],_0x189211=0x0;_0x189211<_0x3be79b;_0x189211+=0x4)_0x28d419[_0x24aa8a(0x3d0)](_0x30b1d2);var _0x3095eb=_0x1dd3dd[_0x24aa8a(0x346)](_0x28d419,_0x3be79b);_0x39fbe2[_0x24aa8a(0x1f8)](_0x3095eb);},'unpad':function(_0x2c6b9e){var _0x4ce396=_0x3734c0,_0x549ad1=_0x2c6b9e[_0x4ce396(0x2c9)][_0x2c6b9e[_0x4ce396(0x1fd)]-0x1>>>0x2]&0xff;_0x2c6b9e[_0x4ce396(0x1fd)]-=_0x549ad1;}};_0x129b4f[_0x3734c0(0x1ec)]=_0x40cc29[_0x3734c0(0x183)]({'cfg':_0x40cc29[_0x3734c0(0x269)][_0x3734c0(0x183)]({'mode':_0x3c6203,'padding':_0x532c8f}),'reset':function(){var _0x5f54de=_0x3734c0,_0x19cedc;_0x40cc29[_0x5f54de(0x3b2)]['call'](this);var _0x437134=this['cfg'],_0x49c517=_0x437134['iv'],_0x501055=_0x437134['mode'];this['_xformMode']==this[_0x5f54de(0x33a)]?_0x19cedc=_0x501055[_0x5f54de(0x25f)]:(_0x19cedc=_0x501055['createDecryptor'],this[_0x5f54de(0x397)]=0x1),this[_0x5f54de(0x2eb)]&&this[_0x5f54de(0x2eb)][_0x5f54de(0x361)]==_0x19cedc?this['_mode'][_0x5f54de(0xd9)](this,_0x49c517&&_0x49c517[_0x5f54de(0x2c9)]):(this[_0x5f54de(0x2eb)]=_0x19cedc[_0x5f54de(0x247)](_0x501055,this,_0x49c517&&_0x49c517[_0x5f54de(0x2c9)]),this[_0x5f54de(0x2eb)]['__creator']=_0x19cedc);},'_doProcessBlock':function(_0x3437c3,_0x11c214){var _0x528d77=_0x3734c0;this[_0x528d77(0x2eb)][_0x528d77(0x27c)](_0x3437c3,_0x11c214);},'_doFinalize':function(){var _0x160908=_0x3734c0,_0x397534,_0x3e5eec=this[_0x160908(0x269)][_0x160908(0x331)];return this['_xformMode']==this[_0x160908(0x33a)]?(_0x3e5eec[_0x160908(0x3a6)](this[_0x160908(0x358)],this[_0x160908(0x109)]),_0x397534=this['_process'](!0x0)):(_0x397534=this[_0x160908(0x3e4)](!0x0),_0x3e5eec[_0x160908(0x298)](_0x397534)),_0x397534;},'blockSize':0x80/0x20});var _0x308f97=_0x129b4f[_0x3734c0(0x2bf)]=_0x425362['extend']({'init':function(_0x256519){var _0x109ddc=_0x3734c0;this[_0x109ddc(0x215)](_0x256519);},'toString':function(_0x22a711){var _0x42706b=_0x3734c0;return(_0x22a711||this[_0x42706b(0x28a)])[_0x42706b(0x10f)](this);}}),_0x2076f9=_0x139777['format']={},_0x4e246a=_0x2076f9['OpenSSL']={'stringify':function(_0x5b7683){var _0x3ce1b=_0x3734c0,_0xa62ebf,_0x1d897f=_0x5b7683[_0x3ce1b(0x1f3)],_0x4f06a3=_0x5b7683['salt'];return _0x4f06a3?_0xa62ebf=_0x1dd3dd['create']([0x53616c74,0x65645f5f])[_0x3ce1b(0x1f8)](_0x4f06a3)[_0x3ce1b(0x1f8)](_0x1d897f):_0xa62ebf=_0x1d897f,_0xa62ebf['toString'](_0x1006b3);},'parse':function(_0x15e812){var _0x36ba32=_0x3734c0,_0x1d988d,_0x74c3ff=_0x1006b3[_0x36ba32(0x332)](_0x15e812),_0x139a98=_0x74c3ff[_0x36ba32(0x2c9)];return _0x139a98[0x0]==0x53616c74&&_0x139a98[0x1]==0x65645f5f&&(_0x1d988d=_0x1dd3dd[_0x36ba32(0x346)](_0x139a98['slice'](0x2,0x4)),_0x139a98[_0x36ba32(0x42d)](0x0,0x4),_0x74c3ff[_0x36ba32(0x1fd)]-=0x10),_0x308f97[_0x36ba32(0x346)]({'ciphertext':_0x74c3ff,'salt':_0x1d988d});}},_0x566e9b=_0x129b4f[_0x3734c0(0x3a3)]=_0x425362[_0x3734c0(0x183)]({'cfg':_0x425362[_0x3734c0(0x183)]({'format':_0x4e246a}),'encrypt':function(_0x50e572,_0x2144c7,_0x182e7f,_0x39bcac){var _0x4c9cdb=_0x3734c0;_0x39bcac=this[_0x4c9cdb(0x269)][_0x4c9cdb(0x183)](_0x39bcac);var _0x35ae35=_0x50e572[_0x4c9cdb(0x25f)](_0x182e7f,_0x39bcac),_0x4b9283=_0x35ae35[_0x4c9cdb(0x3ed)](_0x2144c7),_0x2fcd60=_0x35ae35[_0x4c9cdb(0x269)];return _0x308f97[_0x4c9cdb(0x346)]({'ciphertext':_0x4b9283,'key':_0x182e7f,'iv':_0x2fcd60['iv'],'algorithm':_0x50e572,'mode':_0x2fcd60[_0x4c9cdb(0x286)],'padding':_0x2fcd60[_0x4c9cdb(0x331)],'blockSize':_0x50e572[_0x4c9cdb(0x109)],'formatter':_0x39bcac[_0x4c9cdb(0x19d)]});},'decrypt':function(_0x381952,_0xdb4cf6,_0x178984,_0x164d46){var _0x100d09=_0x3734c0;_0x164d46=this[_0x100d09(0x269)][_0x100d09(0x183)](_0x164d46),_0xdb4cf6=this[_0x100d09(0x281)](_0xdb4cf6,_0x164d46['format']);var _0x2ecc89=_0x381952[_0x100d09(0x29a)](_0x178984,_0x164d46)[_0x100d09(0x3ed)](_0xdb4cf6[_0x100d09(0x1f3)]);return _0x2ecc89;},'_parse':function(_0x4e29a8,_0x24b77b){var _0x530191=_0x3734c0;return typeof _0x4e29a8==_0x530191(0x181)?_0x24b77b['parse'](_0x4e29a8,this):_0x4e29a8;}}),_0x3beaf1=_0x139777[_0x3734c0(0x3e9)]={},_0x9798e9=_0x3beaf1[_0x3734c0(0x182)]={'execute':function(_0x179106,_0x5728be,_0x50b7f8,_0x562641,_0x9cd8d7){var _0x381295=_0x3734c0;if(_0x562641||(_0x562641=_0x1dd3dd[_0x381295(0x338)](0x40/0x8)),_0x9cd8d7)var _0x20338f=_0x570298['create']({'keySize':_0x5728be+_0x50b7f8,'hasher':_0x9cd8d7})[_0x381295(0x351)](_0x179106,_0x562641);else var _0x20338f=_0x570298[_0x381295(0x346)]({'keySize':_0x5728be+_0x50b7f8})['compute'](_0x179106,_0x562641);var _0x475563=_0x1dd3dd[_0x381295(0x346)](_0x20338f[_0x381295(0x2c9)][_0x381295(0x161)](_0x5728be),_0x50b7f8*0x4);return _0x20338f['sigBytes']=_0x5728be*0x4,_0x308f97[_0x381295(0x346)]({'key':_0x20338f,'iv':_0x475563,'salt':_0x562641});}},_0x95c473=_0x129b4f[_0x3734c0(0x373)]=_0x566e9b[_0x3734c0(0x183)]({'cfg':_0x566e9b[_0x3734c0(0x269)][_0x3734c0(0x183)]({'kdf':_0x9798e9}),'encrypt':function(_0x54a4b0,_0x4fc7d3,_0x59f75a,_0x1d77d0){var _0x887ce7=_0x3734c0;_0x1d77d0=this[_0x887ce7(0x269)][_0x887ce7(0x183)](_0x1d77d0);var _0x45b0ac=_0x1d77d0[_0x887ce7(0x3e9)]['execute'](_0x59f75a,_0x54a4b0[_0x887ce7(0x1e3)],_0x54a4b0['ivSize'],_0x1d77d0[_0x887ce7(0xef)],_0x1d77d0[_0x887ce7(0x162)]);_0x1d77d0['iv']=_0x45b0ac['iv'];var _0xa7e16d=_0x566e9b[_0x887ce7(0x3d6)][_0x887ce7(0x247)](this,_0x54a4b0,_0x4fc7d3,_0x45b0ac[_0x887ce7(0x125)],_0x1d77d0);return _0xa7e16d[_0x887ce7(0x215)](_0x45b0ac),_0xa7e16d;},'decrypt':function(_0x1d3aee,_0x5bb48e,_0x412c2b,_0x8e3481){var _0xabfcfd=_0x3734c0;_0x8e3481=this[_0xabfcfd(0x269)]['extend'](_0x8e3481),_0x5bb48e=this['_parse'](_0x5bb48e,_0x8e3481['format']);var _0x3fb467=_0x8e3481['kdf'][_0xabfcfd(0x13c)](_0x412c2b,_0x1d3aee[_0xabfcfd(0x1e3)],_0x1d3aee['ivSize'],_0x5bb48e[_0xabfcfd(0xef)],_0x8e3481[_0xabfcfd(0x162)]);_0x8e3481['iv']=_0x3fb467['iv'];var _0x1afe5a=_0x566e9b[_0xabfcfd(0x292)]['call'](this,_0x1d3aee,_0x5bb48e,_0x3fb467[_0xabfcfd(0x125)],_0x8e3481);return _0x1afe5a;}});}();}));}(Te)),Te[_0x1d3921(0x343)];}var Gi=fe[_0xaa7fc(0x343)],st;function Ki(){return st||(st=0x1,function(_0x234940,_0x11462e){(function(_0x70cf3e,_0x440563,_0x389e28){var _0x122da7=_0x453e;_0x234940[_0x122da7(0x343)]=_0x440563(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x482564){var _0x461ef9=_0x453e;return(function(){var _0xbec1e3=_0x453e,_0x50d072=_0x482564,_0x4f55d8=_0x50d072[_0xbec1e3(0x277)],_0x1d648a=_0x4f55d8['BlockCipher'],_0x34f9ae=_0x50d072[_0xbec1e3(0x3a1)],_0x31860f=[],_0x503d02=[],_0x26a759=[],_0x3b6fa3=[],_0x1a29d5=[],_0x30f551=[],_0x2e34ad=[],_0xc4e47f=[],_0x119281=[],_0x19bbad=[];(function(){for(var _0x103982=[],_0x59efde=0x0;_0x59efde<0x100;_0x59efde++)_0x59efde<0x80?_0x103982[_0x59efde]=_0x59efde<<0x1:_0x103982[_0x59efde]=_0x59efde<<0x1^0x11b;for(var _0x10d44c=0x0,_0x31c62e=0x0,_0x59efde=0x0;_0x59efde<0x100;_0x59efde++){var _0x2fd271=_0x31c62e^_0x31c62e<<0x1^_0x31c62e<<0x2^_0x31c62e<<0x3^_0x31c62e<<0x4;_0x2fd271=_0x2fd271>>>0x8^_0x2fd271&0xff^0x63,_0x31860f[_0x10d44c]=_0x2fd271,_0x503d02[_0x2fd271]=_0x10d44c;var _0x1789e6=_0x103982[_0x10d44c],_0x12c988=_0x103982[_0x1789e6],_0x2e5e1f=_0x103982[_0x12c988],_0x19ef70=_0x103982[_0x2fd271]*0x101^_0x2fd271*0x1010100;_0x26a759[_0x10d44c]=_0x19ef70<<0x18|_0x19ef70>>>0x8,_0x3b6fa3[_0x10d44c]=_0x19ef70<<0x10|_0x19ef70>>>0x10,_0x1a29d5[_0x10d44c]=_0x19ef70<<0x8|_0x19ef70>>>0x18,_0x30f551[_0x10d44c]=_0x19ef70;var _0x19ef70=_0x2e5e1f*0x1010101^_0x12c988*0x10001^_0x1789e6*0x101^_0x10d44c*0x1010100;_0x2e34ad[_0x2fd271]=_0x19ef70<<0x18|_0x19ef70>>>0x8,_0xc4e47f[_0x2fd271]=_0x19ef70<<0x10|_0x19ef70>>>0x10,_0x119281[_0x2fd271]=_0x19ef70<<0x8|_0x19ef70>>>0x18,_0x19bbad[_0x2fd271]=_0x19ef70,_0x10d44c?(_0x10d44c=_0x1789e6^_0x103982[_0x103982[_0x103982[_0x2e5e1f^_0x1789e6]]],_0x31c62e^=_0x103982[_0x103982[_0x31c62e]]):_0x10d44c=_0x31c62e=0x1;}}());var _0x33a867=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x485b26=_0x34f9ae[_0xbec1e3(0x249)]=_0x1d648a[_0xbec1e3(0x183)]({'_doReset':function(){var _0x16bef0=_0xbec1e3,_0x3c3aed;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x16bef0(0x22a)])){for(var _0x381321=this[_0x16bef0(0x1a9)]=this['_key'],_0x4b6397=_0x381321[_0x16bef0(0x2c9)],_0x41c6b7=_0x381321[_0x16bef0(0x1fd)]/0x4,_0x4d9590=this['_nRounds']=_0x41c6b7+0x6,_0x30afce=(_0x4d9590+0x1)*0x4,_0x460264=this['_keySchedule']=[],_0x4cf9a1=0x0;_0x4cf9a1<_0x30afce;_0x4cf9a1++)_0x4cf9a1<_0x41c6b7?_0x460264[_0x4cf9a1]=_0x4b6397[_0x4cf9a1]:(_0x3c3aed=_0x460264[_0x4cf9a1-0x1],_0x4cf9a1%_0x41c6b7?_0x41c6b7>0x6&&_0x4cf9a1%_0x41c6b7==0x4&&(_0x3c3aed=_0x31860f[_0x3c3aed>>>0x18]<<0x18|_0x31860f[_0x3c3aed>>>0x10&0xff]<<0x10|_0x31860f[_0x3c3aed>>>0x8&0xff]<<0x8|_0x31860f[_0x3c3aed&0xff]):(_0x3c3aed=_0x3c3aed<<0x8|_0x3c3aed>>>0x18,_0x3c3aed=_0x31860f[_0x3c3aed>>>0x18]<<0x18|_0x31860f[_0x3c3aed>>>0x10&0xff]<<0x10|_0x31860f[_0x3c3aed>>>0x8&0xff]<<0x8|_0x31860f[_0x3c3aed&0xff],_0x3c3aed^=_0x33a867[_0x4cf9a1/_0x41c6b7|0x0]<<0x18),_0x460264[_0x4cf9a1]=_0x460264[_0x4cf9a1-_0x41c6b7]^_0x3c3aed);for(var _0x2053ad=this[_0x16bef0(0x3dc)]=[],_0x4ace6c=0x0;_0x4ace6c<_0x30afce;_0x4ace6c++){var _0x4cf9a1=_0x30afce-_0x4ace6c;if(_0x4ace6c%0x4)var _0x3c3aed=_0x460264[_0x4cf9a1];else var _0x3c3aed=_0x460264[_0x4cf9a1-0x4];_0x4ace6c<0x4||_0x4cf9a1<=0x4?_0x2053ad[_0x4ace6c]=_0x3c3aed:_0x2053ad[_0x4ace6c]=_0x2e34ad[_0x31860f[_0x3c3aed>>>0x18]]^_0xc4e47f[_0x31860f[_0x3c3aed>>>0x10&0xff]]^_0x119281[_0x31860f[_0x3c3aed>>>0x8&0xff]]^_0x19bbad[_0x31860f[_0x3c3aed&0xff]];}}},'encryptBlock':function(_0x36231f,_0x2e5ea0){var _0x2c15f1=_0xbec1e3;this[_0x2c15f1(0x22b)](_0x36231f,_0x2e5ea0,this[_0x2c15f1(0x31c)],_0x26a759,_0x3b6fa3,_0x1a29d5,_0x30f551,_0x31860f);},'decryptBlock':function(_0xad4001,_0x1b728a){var _0x1f364a=_0xbec1e3,_0x1aea66=_0xad4001[_0x1b728a+0x1];_0xad4001[_0x1b728a+0x1]=_0xad4001[_0x1b728a+0x3],_0xad4001[_0x1b728a+0x3]=_0x1aea66,this[_0x1f364a(0x22b)](_0xad4001,_0x1b728a,this[_0x1f364a(0x3dc)],_0x2e34ad,_0xc4e47f,_0x119281,_0x19bbad,_0x503d02);var _0x1aea66=_0xad4001[_0x1b728a+0x1];_0xad4001[_0x1b728a+0x1]=_0xad4001[_0x1b728a+0x3],_0xad4001[_0x1b728a+0x3]=_0x1aea66;},'_doCryptBlock':function(_0x272d14,_0x24f1d2,_0x576dea,_0x201ac5,_0x47ed88,_0x14c9d3,_0x3aa3a9,_0x27e5a4){var _0x1205ac=_0xbec1e3;for(var _0x2de45d=this[_0x1205ac(0x20c)],_0x4f45dd=_0x272d14[_0x24f1d2]^_0x576dea[0x0],_0x5c43d5=_0x272d14[_0x24f1d2+0x1]^_0x576dea[0x1],_0x17e3b0=_0x272d14[_0x24f1d2+0x2]^_0x576dea[0x2],_0x57bce2=_0x272d14[_0x24f1d2+0x3]^_0x576dea[0x3],_0x26c461=0x4,_0x28d1d1=0x1;_0x28d1d1<_0x2de45d;_0x28d1d1++){var _0x2c6a13=_0x201ac5[_0x4f45dd>>>0x18]^_0x47ed88[_0x5c43d5>>>0x10&0xff]^_0x14c9d3[_0x17e3b0>>>0x8&0xff]^_0x3aa3a9[_0x57bce2&0xff]^_0x576dea[_0x26c461++],_0x4c8370=_0x201ac5[_0x5c43d5>>>0x18]^_0x47ed88[_0x17e3b0>>>0x10&0xff]^_0x14c9d3[_0x57bce2>>>0x8&0xff]^_0x3aa3a9[_0x4f45dd&0xff]^_0x576dea[_0x26c461++],_0x5f021c=_0x201ac5[_0x17e3b0>>>0x18]^_0x47ed88[_0x57bce2>>>0x10&0xff]^_0x14c9d3[_0x4f45dd>>>0x8&0xff]^_0x3aa3a9[_0x5c43d5&0xff]^_0x576dea[_0x26c461++],_0x2544b0=_0x201ac5[_0x57bce2>>>0x18]^_0x47ed88[_0x4f45dd>>>0x10&0xff]^_0x14c9d3[_0x5c43d5>>>0x8&0xff]^_0x3aa3a9[_0x17e3b0&0xff]^_0x576dea[_0x26c461++];_0x4f45dd=_0x2c6a13,_0x5c43d5=_0x4c8370,_0x17e3b0=_0x5f021c,_0x57bce2=_0x2544b0;}var _0x2c6a13=(_0x27e5a4[_0x4f45dd>>>0x18]<<0x18|_0x27e5a4[_0x5c43d5>>>0x10&0xff]<<0x10|_0x27e5a4[_0x17e3b0>>>0x8&0xff]<<0x8|_0x27e5a4[_0x57bce2&0xff])^_0x576dea[_0x26c461++],_0x4c8370=(_0x27e5a4[_0x5c43d5>>>0x18]<<0x18|_0x27e5a4[_0x17e3b0>>>0x10&0xff]<<0x10|_0x27e5a4[_0x57bce2>>>0x8&0xff]<<0x8|_0x27e5a4[_0x4f45dd&0xff])^_0x576dea[_0x26c461++],_0x5f021c=(_0x27e5a4[_0x17e3b0>>>0x18]<<0x18|_0x27e5a4[_0x57bce2>>>0x10&0xff]<<0x10|_0x27e5a4[_0x4f45dd>>>0x8&0xff]<<0x8|_0x27e5a4[_0x5c43d5&0xff])^_0x576dea[_0x26c461++],_0x2544b0=(_0x27e5a4[_0x57bce2>>>0x18]<<0x18|_0x27e5a4[_0x4f45dd>>>0x10&0xff]<<0x10|_0x27e5a4[_0x5c43d5>>>0x8&0xff]<<0x8|_0x27e5a4[_0x17e3b0&0xff])^_0x576dea[_0x26c461++];_0x272d14[_0x24f1d2]=_0x2c6a13,_0x272d14[_0x24f1d2+0x1]=_0x4c8370,_0x272d14[_0x24f1d2+0x2]=_0x5f021c,_0x272d14[_0x24f1d2+0x3]=_0x2544b0;},'keySize':0x100/0x20});_0x50d072[_0xbec1e3(0x249)]=_0x1d648a[_0xbec1e3(0x273)](_0x485b26);}()),_0x482564[_0x461ef9(0x249)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x433a46=_0xaa7fc;return at||(at=0x1,function(_0x3df1de,_0x16c469){(function(_0x28b73d,_0x36951c){_0x3df1de['exports']=_0x36951c(ee());}(Ji,function(_0x1f6f61){var _0x5e9a43=_0x453e;return _0x1f6f61[_0x5e9a43(0x37a)]['Utf8'];}));}(be)),be[_0x433a46(0x343)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0xaa7fc(0x343)],ct;function tn(){var _0x32f3c3=_0xaa7fc;return ct||(ct=0x1,function(_0x1510bf,_0x538539){(function(_0x538c30,_0x33152d){_0x1510bf['exports']=_0x33152d(ee());}(en,function(_0x25c1cc){var _0x1c0278=_0x453e;return(function(){var _0x5d5758=_0x453e;if(typeof ArrayBuffer==_0x5d5758(0x35b)){var _0x4597e4=_0x25c1cc,_0xd49226=_0x4597e4[_0x5d5758(0x277)],_0xab7e1d=_0xd49226[_0x5d5758(0x15f)],_0x9e4a2=_0xab7e1d[_0x5d5758(0xd9)],_0x22e209=_0xab7e1d['init']=function(_0x161dfb){var _0x177427=_0x5d5758;if(_0x161dfb instanceof ArrayBuffer&&(_0x161dfb=new Uint8Array(_0x161dfb)),(_0x161dfb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x161dfb instanceof Uint8ClampedArray||_0x161dfb instanceof Int16Array||_0x161dfb instanceof Uint16Array||_0x161dfb instanceof Int32Array||_0x161dfb instanceof Uint32Array||_0x161dfb instanceof Float32Array||_0x161dfb instanceof Float64Array)&&(_0x161dfb=new Uint8Array(_0x161dfb[_0x177427(0x112)],_0x161dfb['byteOffset'],_0x161dfb[_0x177427(0x26a)])),_0x161dfb instanceof Uint8Array){for(var _0x3eb447=_0x161dfb[_0x177427(0x26a)],_0x436839=[],_0x419ee3=0x0;_0x419ee3<_0x3eb447;_0x419ee3++)_0x436839[_0x419ee3>>>0x2]|=_0x161dfb[_0x419ee3]<<0x18-_0x419ee3%0x4*0x8;_0x9e4a2[_0x177427(0x247)](this,_0x436839,_0x3eb447);}else _0x9e4a2[_0x177427(0x2c5)](this,arguments);};_0x22e209[_0x5d5758(0x42c)]=_0xab7e1d;}}()),_0x25c1cc[_0x1c0278(0x277)][_0x1c0278(0x15f)];}));}(Re)),Re[_0x32f3c3(0x343)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0xaa7fc(0x343)],ht;function on(){var _0x2a8607=_0xaa7fc;return ht||(ht=0x1,function(_0x10d5c1,_0x387380){(function(_0x42bb91,_0x5f075f,_0x254fba){_0x10d5c1['exports']=_0x5f075f(ee(),Pt());}(sn,function(_0x1e2155){var _0x2a59b9=_0x453e;return _0x1e2155['pad'][_0x2a59b9(0x1db)]={'pad':function(){},'unpad':function(){}},_0x1e2155['pad']['NoPadding'];}));}(ye)),ye[_0x2a8607(0x343)];}var an=on();const cn=Se(an);function hn(_0x1a5276,_0x2d1285){var _0x4b7c62=_0xaa7fc;const _0x2b5f2a=_0x2d1285-_0x1a5276[_0x4b7c62(0x3b0)]%_0x2d1285,_0x3ce7c5=String[_0x4b7c62(0x2d8)](_0x2b5f2a)[_0x4b7c62(0x263)](_0x2b5f2a);return _0x1a5276+_0x3ce7c5;}function ln(_0x5acca1,_0x46ffc3){var _0x259059=_0xaa7fc;const _0x3bb54e=rn['random'](0x10),_0x55cafc=hn(_0x5acca1,0x10),_0xd69d43=qi[_0x259059(0x3d6)](Qi['parse'](_0x55cafc),ot[_0x259059(0x332)](_0x46ffc3),{'iv':_0x3bb54e,'padding':cn});return _0x3bb54e['concat'](_0xd69d43['ciphertext'])[_0x259059(0x2a8)](ot);}function _n(){var _0x1ca1a0=_0xaa7fc;const _0x49b267=xt['getGlobalObject']()[_0x1ca1a0(0x33d)];if(_0x49b267){const _0x2feb4d={'time':Math[_0x1ca1a0(0x40d)](Date[_0x1ca1a0(0x153)]()/0x3e8),'domain':location[_0x1ca1a0(0x163)]};return ln(JSON[_0x1ca1a0(0x10f)](_0x2feb4d),_0x49b267);}}var un=Object[_0xaa7fc(0x198)],dn=(_0x5eccb3,_0x40aa72,_0x437aaa,_0x59397e)=>{var _0x5c0bac=_0xaa7fc;for(var _0x2e9f9f=_0x59397e>0x1?void 0x0:_0x59397e?un(_0x40aa72,_0x437aaa):_0x40aa72,_0x3a05ec=_0x5eccb3[_0x5c0bac(0x3b0)]-0x1,_0x352f48;_0x3a05ec>=0x0;_0x3a05ec--)(_0x352f48=_0x5eccb3[_0x3a05ec])&&(_0x2e9f9f=_0x352f48(_0x2e9f9f)||_0x2e9f9f);return _0x2e9f9f;},vn=(_0x23d32a,_0x331720)=>(_0x4a6cc7,_0x164be8)=>_0x331720(_0x4a6cc7,_0x164be8,_0x23d32a);let Ne=class{constructor(_0x575530){var _0x1bcc89=_0xaa7fc;this['_httpService']=_0x575530,this[_0x1bcc89(0x34a)]();}[_0xaa7fc(0x34a)](){var _0x5b3373=_0xaa7fc;this[_0x5b3373(0x143)][_0x5b3373(0x223)]({'interceptor':(_0x2c1029,_0x2f2b60)=>{var _0x32cee0=_0x5b3373;const _0x152184=_0x2c1029['headers'],_0x4a93bf=_n();return _0x4a93bf&&_0x152184[_0x32cee0(0x3d5)]('x-univer-host',_0x4a93bf),_0x2f2b60(_0x2c1029);}});}};Ne=dn([vn(0x0,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)]))],Ne);var Sn=Object[_0xaa7fc(0x198)],fn=(_0x2c6416,_0x10d6c5,_0x3703a1,_0x2ee425)=>{var _0x41eac6=_0xaa7fc;for(var _0x5abb0d=_0x2ee425>0x1?void 0x0:_0x2ee425?Sn(_0x10d6c5,_0x3703a1):_0x10d6c5,_0x39e35b=_0x2c6416[_0x41eac6(0x3b0)]-0x1,_0x102250;_0x39e35b>=0x0;_0x39e35b--)(_0x102250=_0x2c6416[_0x39e35b])&&(_0x5abb0d=_0x102250(_0x5abb0d)||_0x5abb0d);return _0x5abb0d;},Me=(_0x3aeb95,_0x25a52c)=>(_0x344f04,_0x3c9202)=>_0x25a52c(_0x344f04,_0x3c9202,_0x3aeb95);exports[_0xaa7fc(0x307)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x254fcd,_0x214936,_0x5e7d48){var _0x1152d1=_0xaa7fc;super(),A(this,'_unitInfo$',new j[(_0x1152d1(0xd7))](null)),A(this,'unitInfo$',this[_0x1152d1(0x285)][_0x1152d1(0xc7)]()),(this['_logService']=_0x254fcd,this[_0x1152d1(0x130)]=_0x214936,this['_localCacheService']=_0x5e7d48);}async[_0xaa7fc(0x19e)](_0x1d56dc,_0x2d9a20,_0x3b2e69){var _0x2d0f4b=_0xaa7fc;this['_unitInfo$'][_0x2d0f4b(0x38d)]({'unitId':_0x1d56dc,'type':_0x2d9a20,'subUnitId':_0x3b2e69});let _0x3fbbf8=null;switch(_0x2d9a20){case X[_0x2d0f4b(0x37f)]:{_0x3fbbf8=await this['_loadSheet'](_0x1d56dc);break;}case X[_0x2d0f4b(0x32c)]:{_0x3fbbf8=await this[_0x2d0f4b(0x150)](_0x1d56dc);break;}default:{this[_0x2d0f4b(0x26f)][_0x2d0f4b(0x256)](_0x2d0f4b(0x156),_0x2d0f4b(0x1ee));break;}}return _0x3fbbf8;}async[_0xaa7fc(0x1bd)](_0x423bfd){var _0x1c190f=_0xaa7fc,_0x56b4d8;let _0x327db3=0x0;const _0x4ea7d0=await((_0x56b4d8=this[_0x1c190f(0x25e)])==null?void 0x0:_0x56b4d8['loadOfflineData'](_0x423bfd));return _0x4ea7d0&&(_0x4ea7d0[_0x1c190f(0x164)]||_0x4ea7d0['mutations'][_0x1c190f(0x3b0)]!==0x0)&&(_0x327db3=_0x4ea7d0[_0x1c190f(0x208)]),_0x327db3===0x0&&this['_logService'][_0x1c190f(0xc1)](_0x1c190f(0x156),_0x1c190f(0x315)),this[_0x1c190f(0x130)]['loadSheet'](_0x423bfd,_0x327db3);}async['_loadDoc'](_0x58f85a){var _0x26d3e7=_0xaa7fc,_0xaf1f82;let _0x47cb7f=0x0;const _0x3f9212=await((_0xaf1f82=this['_localCacheService'])==null?void 0x0:_0xaf1f82[_0x26d3e7(0x28f)](_0x58f85a));return _0x3f9212&&(_0x3f9212[_0x26d3e7(0x164)]||_0x3f9212[_0x26d3e7(0x261)][_0x26d3e7(0x3b0)]!==0x0)&&(_0x47cb7f=_0x3f9212['rev']),_0x47cb7f===0x0&&this[_0x26d3e7(0x26f)][_0x26d3e7(0xc1)](_0x26d3e7(0x156),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x26d3e7(0x130)][_0x26d3e7(0x216)](_0x58f85a,_0x47cb7f);}},exports[_0xaa7fc(0x307)]=fn([Me(0x0,a[_0xaa7fc(0x434)]),Me(0x1,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x1eb)])),Me(0x2,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x307)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x4a2a92,_0x2c4de6,_0x4cd8e7,_0x5f0ed8)=>{var _0x35276d=_0xaa7fc;for(var _0x592f88=_0x5f0ed8>0x1?void 0x0:_0x5f0ed8?pn(_0x2c4de6,_0x4cd8e7):_0x2c4de6,_0x394a1d=_0x4a2a92[_0x35276d(0x3b0)]-0x1,_0x16904f;_0x394a1d>=0x0;_0x394a1d--)(_0x16904f=_0x4a2a92[_0x394a1d])&&(_0x592f88=_0x16904f(_0x592f88)||_0x592f88);return _0x592f88;},xe=(_0x4da2e5,_0x1f3b86)=>(_0x2db65f,_0x35296e)=>_0x1f3b86(_0x2db65f,_0x35296e,_0x4da2e5);const mn=[_0xaa7fc(0x3af),_0xaa7fc(0x323),_0xaa7fc(0x1a6),_0xaa7fc(0x30c),'image/bmp'],In=0x5*0x400*0x400,En=_0xaa7fc(0x1d0),Cn=_0xaa7fc(0x1e7),Tn=_0xaa7fc(0x1d6),bn=_0xaa7fc(0x404);exports['CollaborationImageIoService']=class{constructor(_0x1bf9a1,_0x751f8,_0x58ddd2){var _0x4634e6=_0xaa7fc;A(this,'_waitCount',0x0),A(this,_0x4634e6(0xe2),new j[(_0x4634e6(0x2c4))]()),A(this,_0x4634e6(0x237),this[_0x4634e6(0xe2)]),A(this,_0x4634e6(0x141),new Map()),(this['_httpService']=_0x1bf9a1,this[_0x4634e6(0x20d)]=_0x751f8,this['_univerInstanceService']=_0x58ddd2);}[_0xaa7fc(0x26c)](_0x35b42c){var _0x418aee=_0xaa7fc;this[_0x418aee(0x321)]=_0x35b42c,this[_0x418aee(0xe2)][_0x418aee(0x38d)](_0x35b42c);}[_0xaa7fc(0xf2)](_0x2d61d2,_0x5a476c){var _0x471d30=_0xaa7fc;if(_0x5a476c===J[_0x471d30(0x191)][_0x471d30(0x24d)]){const _0x3da132=new Image();return _0x3da132[_0x471d30(0x349)]=_0x2d61d2,_0x3da132;}return this[_0x471d30(0x141)][_0x471d30(0xe9)](_0x2d61d2);}[_0xaa7fc(0x322)](_0x1ca692,_0x328053,_0x1a2f19){var _0x509af2=_0xaa7fc;_0x328053===J[_0x509af2(0x191)][_0x509af2(0x24d)]||_0x1a2f19==null||this[_0x509af2(0x141)][_0x509af2(0x3d5)](_0x1ca692,_0x1a2f19);}async[_0xaa7fc(0x2e3)](_0x5459c9){var _0x28609d=_0xaa7fc;try{const _0x38759c=this[_0x28609d(0x30e)](this['_getSignURL'](),''+_0x5459c9),_0x111047=(await this[_0x28609d(0x143)]['get'](_0x38759c))[_0x28609d(0x173)];if(_0x111047[_0x28609d(0x256)]&&_0x111047['error'][_0x28609d(0xf3)]===Ct['OK']){const _0x563624=new URL(_0x111047[_0x28609d(0x369)],this[_0x28609d(0x1b2)]())['toString']();return Promise[_0x28609d(0x25b)](_0x563624);}return Promise[_0x28609d(0x189)](_0x111047[_0x28609d(0x256)]);}catch(_0x2eefe7){return Promise['reject'](_0x2eefe7);}}async[_0xaa7fc(0x25c)](_0x185152){var _0x186555=_0xaa7fc;let _0x5a567d='';if(!mn[_0x186555(0x32a)](_0x185152[_0x186555(0x244)]))return this[_0x186555(0x274)](),Promise[_0x186555(0x189)](new Error(J['ImageUploadStatusType'][_0x186555(0x2f1)]));if(_0x185152[_0x186555(0x3b9)]>In)return this[_0x186555(0x274)](),Promise['reject'](new Error(J[_0x186555(0x40b)][_0x186555(0x2f0)]));try{const _0x4cdc8b=new FormData();_0x4cdc8b[_0x186555(0x436)](_0x186555(0xe3),_0x185152);const _0x461d06=this[_0x186555(0xbf)][_0x186555(0x24a)](),_0x29543f=_0x461d06==null?void 0x0:_0x461d06[_0x186555(0x217)]();if(!_0x29543f)throw new Error(_0x186555(0xc2));const _0x3c14dc=this['_getUploadFileURL']()+_0x186555(0x294)+_0x185152[_0x186555(0x3b9)]['toString']()+_0x186555(0x23e)+Tt[_0x186555(0x327)]+_0x186555(0x2d1)+encodeURIComponent(_0x29543f),_0x2d8c9b=await(await fetch(_0x3c14dc,{'method':_0x186555(0x2c8),'body':_0x4cdc8b}))[_0x186555(0x35e)]();if(typeof _0x2d8c9b[_0x186555(0x248)]!=_0x186555(0x181))return this['_decreaseWaiting'](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x186555(0x3ef)]));_0x5a567d=_0x2d8c9b['FileId'];}catch{return this[_0x186555(0x274)](),Promise['reject'](new Error(J[_0x186555(0x40b)][_0x186555(0x3ef)]));}return new Promise((_0xa3b907,_0x2e9966)=>{var _0x5846ae=_0x186555;const _0x4b6c5b=new FileReader();_0x4b6c5b[_0x5846ae(0x278)](_0x185152),_0x4b6c5b['onload']=_0x63b21b=>{var _0x2b248d=_0x5846ae,_0x4938d7;const _0x44f376=(_0x4938d7=_0x63b21b[_0x2b248d(0x206)])==null?void 0x0:_0x4938d7[_0x2b248d(0x3ae)];if(_0x44f376==null){this[_0x2b248d(0x274)](),_0x2e9966(new Error(J[_0x2b248d(0x40b)][_0x2b248d(0x3ef)]));return;}const _0x5cf590=a[_0x2b248d(0x1ea)]['generateRandomId'](0x6);_0xa3b907({'imageId':_0x5cf590,'imageSourceType':J[_0x2b248d(0x191)]['UUID'],'source':_0x5a567d,'base64Cache':_0x44f376,'status':J['ImageUploadStatusType'][_0x2b248d(0xcd)]}),this[_0x2b248d(0x274)]();};});}['_getUploadFileURL'](){var _0x2c9497=_0xaa7fc,_0x21a6ea,_0x5e318d;const _0x42e1eb=this[_0x2c9497(0x20d)][_0x2c9497(0xb5)](En),_0x50698c=this[_0x2c9497(0x20d)][_0x2c9497(0xb5)](Y);return(_0x5e318d=(_0x21a6ea=_0x50698c==null?void 0x0:_0x50698c[_0x2c9497(0x2b0)])!=null?_0x21a6ea:_0x42e1eb)!=null?_0x5e318d:Cn;}[_0xaa7fc(0x11a)](){var _0xe341c9=_0xaa7fc,_0x470ed5,_0x42ecde;const _0x16ffa1=this[_0xe341c9(0x20d)]['getConfig'](Tn),_0x1385d9=this[_0xe341c9(0x20d)][_0xe341c9(0xb5)](Y);return(_0x42ecde=(_0x470ed5=_0x1385d9==null?void 0x0:_0x1385d9[_0xe341c9(0x2ec)])!=null?_0x470ed5:_0x16ffa1)!=null?_0x42ecde:bn;}[_0xaa7fc(0x1b2)](){var _0x4694fc=_0xaa7fc,_0x35ba4f;const _0x57c851=this[_0x4694fc(0x20d)][_0x4694fc(0xb5)](Y);return(_0x35ba4f=_0x57c851==null?void 0x0:_0x57c851[_0x4694fc(0x381)])!=null?_0x35ba4f:location['origin'];}[_0xaa7fc(0x30e)](_0x129bbc,_0x341144){var _0x3ecdc1=_0xaa7fc;return _0x129bbc[_0x3ecdc1(0x1ab)](_0x3ecdc1(0x367),_0x341144);}['_decreaseWaiting'](){var _0x455b62=_0xaa7fc;this[_0x455b62(0x321)]-=0x1,this[_0x455b62(0xe2)][_0x455b62(0x38d)](this[_0x455b62(0x321)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)])),xe(0x1,a[_0xaa7fc(0x41a)]),xe(0x2,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x37d)]))],exports[_0xaa7fc(0x2af)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x205921,_0x686641,_0x399c9e,_0x40f7b0)=>{for(var _0x4db12c=_0x40f7b0>0x1?void 0x0:_0x40f7b0?Rn(_0x686641,_0x399c9e):_0x686641,_0x38b3c6=_0x205921['length']-0x1,_0x370b02;_0x38b3c6>=0x0;_0x38b3c6--)(_0x370b02=_0x205921[_0x38b3c6])&&(_0x4db12c=_0x370b02(_0x4db12c)||_0x4db12c);return _0x4db12c;},lt=(_0x1a01cf,_0x58c3b4)=>(_0x3a6c15,_0x425234)=>_0x58c3b4(_0x3a6c15,_0x425234,_0x1a01cf);const On=_0xaa7fc(0x135);exports[_0xaa7fc(0x3a5)]=class{constructor(_0x40e83c,_0x2c0447){var _0x8fc964=_0xaa7fc;this['_configService']=_0x40e83c,this[_0x8fc964(0x411)]=_0x2c0447;}[_0xaa7fc(0x302)](){var _0x52c9a2=_0xaa7fc,_0x56ccdc,_0x91b0a2;const _0x2312cb=this[_0x52c9a2(0x20d)][_0x52c9a2(0xb5)](Ge),_0x561cb9=this[_0x52c9a2(0x20d)]['getConfig'](Y);return(_0x91b0a2=(_0x56ccdc=_0x561cb9==null?void 0x0:_0x561cb9[_0x52c9a2(0x1e2)])!=null?_0x56ccdc:_0x2312cb)!=null?_0x91b0a2:On;}async[_0xaa7fc(0x28d)](_0xbddbd2){var _0x487f63=_0xaa7fc;const _0x371215=this[_0x487f63(0x302)]()+_0x487f63(0x353);return{'list':[{'title':_0x487f63(0x371),'mentions':(await this[_0x487f63(0x411)][_0x487f63(0xe9)](_0x371215,{'params':{'objectID':_0xbddbd2[_0x487f63(0x2fe)],'unitID':_0xbddbd2['unitId']}}))[_0x487f63(0x173)][_0x487f63(0x165)][_0x487f63(0x2e9)](_0x1705e6=>({'objectId':_0x1705e6['id'],'name':_0x1705e6['subject'][_0x487f63(0x1aa)],'metadata':{'icon':_0x1705e6[_0x487f63(0x2a0)][_0x487f63(0xd5)]},'label':_0x1705e6[_0x487f63(0x2a0)][_0x487f63(0x1aa)],'objectType':a[_0x487f63(0x2cb)][_0x487f63(0xea)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0xaa7fc(0x3a5)]=yn([lt(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x41a)])),lt(0x1,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)]))],exports[_0xaa7fc(0x3a5)]);var Nn=Object[_0xaa7fc(0x198)],Dn=(_0x433a18,_0x1677fe,_0x1bd37c,_0x2c5dce)=>{var _0x3e3e3e=_0xaa7fc;for(var _0x23f1d6=_0x2c5dce>0x1?void 0x0:_0x2c5dce?Nn(_0x1677fe,_0x1bd37c):_0x1677fe,_0x11e5db=_0x433a18[_0x3e3e3e(0x3b0)]-0x1,_0x3d88bb;_0x11e5db>=0x0;_0x11e5db--)(_0x3d88bb=_0x433a18[_0x11e5db])&&(_0x23f1d6=_0x3d88bb(_0x23f1d6)||_0x23f1d6);return _0x23f1d6;},ue=(_0xcea541,_0x54209b)=>(_0x4e2c3f,_0x5c303d)=>_0x54209b(_0x4e2c3f,_0x5c303d,_0xcea541);let De=class extends a[_0xaa7fc(0x102)]{constructor(_0x320ffd,_0x2d413e,_0x5be470,_0x248c70,_0x94561d){var _0x297d54=_0xaa7fc;super(),this[_0x297d54(0x2e2)]=_0x320ffd,this[_0x297d54(0xbf)]=_0x2d413e,this[_0x297d54(0x2e5)]=_0x5be470,this[_0x297d54(0x2d4)]=_0x248c70,this[_0x297d54(0x344)]=_0x94561d,this[_0x297d54(0x2dc)](),this[_0x297d54(0xc6)]();}[_0xaa7fc(0xc6)](){var _0x1942a1=_0xaa7fc;const _0x515c2c=async _0x192f04=>{var _0x21a93b=_0x453e;(await this[_0x21a93b(0x2d4)][_0x21a93b(0x13a)](_0x192f04))[_0x21a93b(0x3c6)][_0x21a93b(0x2a5)](V[_0x21a93b(0xde)](_0x56e707=>_0x56e707[_0x21a93b(0x17d)]===g[_0x21a93b(0x209)][_0x21a93b(0x236)]),V[_0x21a93b(0x356)](this[_0x21a93b(0x2e6)]))[_0x21a93b(0xe5)](_0x1a798a=>{var _0x40ed30=_0x21a93b;const _0x50b943=_0x1a798a,{reason:_0x1ab05e}=_0x50b943[_0x40ed30(0x18e)];this[_0x40ed30(0x344)][_0x40ed30(0x2ac)]({'id':Q[_0x40ed30(0x3e2)],'data':_0x1ab05e}),this[_0x40ed30(0x2e5)]['updatePermissionPoint'](new Z[(_0x40ed30(0x3f5))](_0x192f04)['id'],!0x1),this[_0x40ed30(0x2d4)][_0x40ed30(0x32f)](_0x192f04);});};j[_0x1942a1(0x2f8)](this[_0x1942a1(0xbf)]['getTypeOfUnitAdded$'](a[_0x1942a1(0x231)][_0x1942a1(0x37f)]),this[_0x1942a1(0xbf)][_0x1942a1(0x2d2)](a[_0x1942a1(0x231)][_0x1942a1(0x32c)]))[_0x1942a1(0x2a5)](V['map'](_0x29925d=>_0x29925d[_0x1942a1(0x217)]()),V[_0x1942a1(0xde)](_0x3a3336=>!a['isInternalEditorID'](_0x3a3336)),V['takeUntil'](this[_0x1942a1(0x2e6)]))['subscribe'](_0x377e7f=>{_0x515c2c(_0x377e7f);});}[_0xaa7fc(0x2dc)](){var _0x218db1=_0xaa7fc;const _0x3a5d30=async _0x59b3f3=>{var _0x34e6e9=_0x453e;const _0x1db057=await this['_collaborationSessionService'][_0x34e6e9(0x13a)](_0x59b3f3),_0x2db636=this['_injector']['get'](Z[_0x34e6e9(0x310)]);_0x1db057['event$'][_0x34e6e9(0x2a5)](V[_0x34e6e9(0xde)](_0x4b7f49=>_0x4b7f49['eventID']===g['CollaborationEvent'][_0x34e6e9(0x172)]),V[_0x34e6e9(0x356)](this[_0x34e6e9(0x2e6)]))['subscribe'](_0x897301=>{var _0x287cf9=_0x34e6e9;const _0x3e7af7=_0x897301,{objectId:_0x272fc3}=_0x3e7af7[_0x287cf9(0x18e)];_0x272fc3===_0x59b3f3?_0x2db636[_0x287cf9(0x2cc)](_0x59b3f3):_0x2db636[_0x287cf9(0x35c)](_0x59b3f3,_0x272fc3);});};j[_0x218db1(0x2f8)](this['_univerInstanceService'][_0x218db1(0x2d2)](a[_0x218db1(0x231)][_0x218db1(0x37f)]))[_0x218db1(0x2a5)](V['map'](_0x5cad5f=>_0x5cad5f[_0x218db1(0x217)]()),V[_0x218db1(0xde)](_0xbddc85=>!a[_0x218db1(0x25d)](_0xbddc85)),V[_0x218db1(0x356)](this['dispose$']))[_0x218db1(0xe5)](_0x1851b5=>{_0x3a5d30(_0x1851b5);});}};De=Dn([ue(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),ue(0x1,a[_0xaa7fc(0x37d)]),ue(0x2,a['IPermissionService']),ue(0x3,a['Inject'](exports[_0xaa7fc(0x24e)])),ue(0x4,a[_0xaa7fc(0x1a1)](te))],De);var Un=Object[_0xaa7fc(0x198)],An=(_0x5337c8,_0x834b7e,_0x4c3f17,_0x4a3df9)=>{var _0x55f103=_0xaa7fc;for(var _0x2b3b85=_0x4a3df9>0x1?void 0x0:_0x4a3df9?Un(_0x834b7e,_0x4c3f17):_0x834b7e,_0x3b19fd=_0x5337c8[_0x55f103(0x3b0)]-0x1,_0x3ad544;_0x3b19fd>=0x0;_0x3b19fd--)(_0x3ad544=_0x5337c8[_0x3b19fd])&&(_0x2b3b85=_0x3ad544(_0x2b3b85)||_0x2b3b85);return _0x2b3b85;},_t=(_0x73c636,_0x1d92d7)=>(_0x15f5e4,_0x3dac9a)=>_0x1d92d7(_0x15f5e4,_0x3dac9a,_0x73c636);exports[_0xaa7fc(0x364)]=class{constructor(_0x1c8b0c,_0x1b9385){var _0x64a000=_0xaa7fc;this[_0x64a000(0x20d)]=_0x1c8b0c,this[_0x64a000(0x143)]=_0x1b9385;}async['getUnitOnRev'](_0x150514,_0xf68b0f){var _0xc45a0c=_0xaa7fc,_0x36da54;const {unitID:_0x2e2080,type:_0x5810f9,revision:_0x53d43b=0x0}=_0xf68b0f,_0xfadce5=this[_0xc45a0c(0x34f)]()+'/'+_0x5810f9+_0xc45a0c(0xfa)+_0x2e2080+_0xc45a0c(0x416)+_0x53d43b,_0x820e9a=(await this[_0xc45a0c(0x143)][_0xc45a0c(0xe9)](_0xfadce5))[_0xc45a0c(0x173)],_0xaf69d2=(_0x36da54=_0x820e9a['snapshot'])==null?void 0x0:_0x36da54[_0xc45a0c(0x16a)];if(_0xaf69d2){const _0xa799d=_0xaf69d2==null?void 0x0:_0xaf69d2[_0xc45a0c(0x3a2)],_0x466958=g[_0xc45a0c(0x2ea)][_0xc45a0c(0x14b)](g[_0xc45a0c(0x235)](_0xa799d));_0xaf69d2[_0xc45a0c(0x3a2)]=_0x466958,Object[_0xc45a0c(0x2d5)](_0xaf69d2[_0xc45a0c(0x255)])[_0xc45a0c(0xfd)](([,_0x4bf75f])=>{var _0xd1fc54=_0xc45a0c;const _0x1a2731=_0x4bf75f[_0xd1fc54(0x3a2)],_0x276bbf=g[_0xd1fc54(0x2ea)]['encode'](g[_0xd1fc54(0x235)](_0x1a2731));_0x4bf75f[_0xd1fc54(0x3a2)]=_0x276bbf;});}return _0x820e9a;}async[_0xaa7fc(0x316)](_0x475c4d,_0x5615d6){var _0x471b02=_0xaa7fc;const {unitID:_0x492c8f,type:_0x5563aa,blockID:_0xad500a}=_0x5615d6,_0x366ee2=this[_0x471b02(0x380)]()+'/'+_0x5563aa+_0x471b02(0xfa)+_0x492c8f+_0x471b02(0xe8)+_0xad500a;return(await this[_0x471b02(0x143)][_0x471b02(0xe9)](_0x366ee2))['body'];}async[_0xaa7fc(0x306)](_0x10c68a,_0x27a180){var _0x2009e6=_0xaa7fc;const {unitID:_0xed5182,type:_0x5a78ef,blockID:_0x56e1f1}=_0x27a180,_0xf95242=this['_getAPIPrefix']()+'/block/'+_0x5a78ef+'/unit/'+_0xed5182+_0x2009e6(0xe8)+_0x56e1f1;return(await this[_0x2009e6(0x143)][_0x2009e6(0xe9)](_0xf95242))[_0x2009e6(0x173)];}async[_0xaa7fc(0x154)](_0x16b9ca,_0x47767f){var _0x224e8b=_0xaa7fc;const {unitID:_0x5622fa,type:_0x230852,from:_0x24228c,to:_0x25e685}=_0x47767f,_0x372364=this[_0x224e8b(0x380)]()+'/'+_0x230852+'/unit/'+_0x5622fa+'/fetchmissing?from='+_0x24228c+_0x224e8b(0x2bd)+_0x25e685;return(await this['_httpService'][_0x224e8b(0xe9)](_0x372364))[_0x224e8b(0x173)];}[_0xaa7fc(0x34f)](){var _0x17eaba=_0xaa7fc,_0x305451;return(_0x305451=this[_0x17eaba(0x20d)][_0x17eaba(0xb5)](vt))!=null?_0x305451:this[_0x17eaba(0x380)]();}[_0xaa7fc(0x380)](){var _0x43bd16=_0xaa7fc,_0x118d26,_0x3a4eb6;const _0x103ef7=this[_0x43bd16(0x20d)][_0x43bd16(0xb5)](dt),_0x176787=this['_configService'][_0x43bd16(0xb5)](Y);return(_0x3a4eb6=(_0x118d26=_0x176787==null?void 0x0:_0x176787[_0x43bd16(0x1a5)])!=null?_0x118d26:_0x103ef7)!=null?_0x3a4eb6:kt;}async['getResourcesRequest'](_0x29ee64,_0x29fd0d){var _0x1c61c9=_0xaa7fc;const _0x45864c='/universer-api/snapshot/'+_0x29fd0d[_0x1c61c9(0x244)]+_0x1c61c9(0xfa)+_0x29fd0d['unitID']+_0x1c61c9(0x2ab);return(await this[_0x1c61c9(0x143)][_0x1c61c9(0xe9)](_0x45864c,{'params':{'resourceId':JSON[_0x1c61c9(0x10f)](_0x29fd0d['resourceIDs'])}}))[_0x1c61c9(0x173)];}['saveSnapshot'](){var _0x545b92=_0xaa7fc;throw new Error(_0x545b92(0x401));}[_0xaa7fc(0x415)](){var _0xe24c53=_0xaa7fc;throw new Error(_0xe24c53(0x401));}['saveChangeset'](){var _0x58a07a=_0xaa7fc;throw new Error(_0x58a07a(0x401));}[_0xaa7fc(0x201)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xaa7fc(0x252)](){var _0x1709bd=_0xaa7fc;throw new Error(_0x1709bd(0x401));}},exports['SnapshotServerOverHTTPService']=An([_t(0x0,a[_0xaa7fc(0x41a)]),_t(0x1,a['Inject'](q[_0xaa7fc(0x1a3)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0xaa7fc(0x198)],wn=(_0x870590,_0x112b25,_0x972771,_0x3be3b)=>{var _0x1cd6ad=_0xaa7fc;for(var _0x5908bc=_0x3be3b>0x1?void 0x0:_0x3be3b?Pn(_0x112b25,_0x972771):_0x112b25,_0x1c04cb=_0x870590[_0x1cd6ad(0x3b0)]-0x1,_0x3a67cd;_0x1c04cb>=0x0;_0x1c04cb--)(_0x3a67cd=_0x870590[_0x1c04cb])&&(_0x5908bc=_0x3a67cd(_0x5908bc)||_0x5908bc);return _0x5908bc;},de=(_0x42ef7f,_0x124330)=>(_0x3e4c46,_0x7d4a44)=>_0x124330(_0x3e4c46,_0x7d4a44,_0x42ef7f);exports[_0xaa7fc(0x3fb)]=class extends a[_0xaa7fc(0x2a7)]{constructor(_0xa0a59c,_0x5290d7,_0x2364e9,_0x13d20d,_0x20edb2){var _0x2da8e6=_0xaa7fc;super(_0xa0a59c,_0x5290d7,_0x2364e9),this[_0x2da8e6(0x3d8)]=_0x13d20d,this[_0x2da8e6(0x26f)]=_0x20edb2;}['transformUndoRedo'](_0x501f9c,_0x66b293){var _0xace3fa=_0xaa7fc;const _0x21464c=this[_0xace3fa(0x282)](_0x501f9c);if(_0x21464c)try{const _0x163d73=this[_0xace3fa(0x398)](_0x21464c,_0x66b293);this[_0xace3fa(0x1d2)](_0x501f9c,_0x163d73);}catch(_0x5223d5){this['_logService'][_0xace3fa(0x256)](_0xace3fa(0x16b),_0x5223d5),this['_clearUndo'](_0x501f9c);}const _0xcef556=this[_0xace3fa(0x30f)](_0x501f9c);if(_0xcef556)try{const _0x3f06d8=this['_transformStack'](_0xcef556,_0x66b293);this['_substituteRedoStack'](_0x501f9c,_0x3f06d8);}catch(_0x231156){this[_0xace3fa(0x26f)][_0xace3fa(0x256)](_0x231156),this[_0xace3fa(0xb6)](_0x501f9c);}}[_0xaa7fc(0xf6)](_0x5adfb9){var _0x20284b=_0xaa7fc;const _0xe90e1b=this[_0x20284b(0x282)](_0x5adfb9);_0xe90e1b&&(_0xe90e1b[_0x20284b(0x3b0)]=0x0,this[_0x20284b(0x138)]());}[_0xaa7fc(0xb6)](_0x406c27){var _0x143261=_0xaa7fc;const _0x2b5ac5=this[_0x143261(0x30f)](_0x406c27);_0x2b5ac5&&(_0x2b5ac5[_0x143261(0x3b0)]=0x0,this[_0x143261(0x138)]());}['_substituteUndoStack'](_0x5945c9,_0x131e16){var _0x560c96=_0xaa7fc;this['_undoStacks'][_0x560c96(0x3d5)](_0x5945c9,_0x131e16),this[_0x560c96(0x138)]();}['_substituteRedoStack'](_0x456410,_0x16dd1a){var _0x3eb337=_0xaa7fc;this['_redoStacks'][_0x3eb337(0x3d5)](_0x456410,_0x16dd1a),this[_0x3eb337(0x138)]();}['_transformStack'](_0x2e3d46,_0x220ffd){var _0x28d819=_0xaa7fc;const _0x48e8bc=[];let _0x5ad4de=_0x220ffd,_0x3f0c5f=_0x220ffd;for(let _0x13c9ec=_0x2e3d46[_0x28d819(0x3b0)]-0x1;_0x13c9ec>=0x0;_0x13c9ec--){const {unitID:_0x1ecbc2,undoMutations:_0x4e1365,redoMutations:_0x250c93}=_0x2e3d46[_0x13c9ec],_0x4b250e=this['_transformService']['transformMutationsWithChangeset'](_0x5ad4de,_0x4e1365),_0x47cdb6=this[_0x28d819(0x3d8)]['transformMutationsWithChangeset'](_0x3f0c5f,_0x250c93);if(g[_0x28d819(0x186)](_0x4b250e)||g[_0x28d819(0x186)](_0x47cdb6)){this['_logService']['error'](_0x28d819(0x16b),_0x28d819(0x192),_0x4b250e,_0x47cdb6);break;}_0x5ad4de=_0x4b250e[_0x28d819(0x272)],_0x3f0c5f=_0x47cdb6[_0x28d819(0x272)],_0x48e8bc[_0x28d819(0x3d0)]({'unitID':_0x1ecbc2,'undoMutations':_0x4b250e[_0x28d819(0x412)],'redoMutations':_0x47cdb6['m2Prime']});}return _0x48e8bc['reverse']();}},exports[_0xaa7fc(0x3fb)]=wn([de(0x0,a[_0xaa7fc(0x37d)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,g[_0xaa7fc(0x225)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0xaa7fc(0x16f)],Mn=Object[_0xaa7fc(0x198)],xn=(_0x24d8ef,_0x1f9d6d,_0x205dce)=>_0x1f9d6d in _0x24d8ef?Ln(_0x24d8ef,_0x1f9d6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205dce}):_0x24d8ef[_0x1f9d6d]=_0x205dce,kn=(_0x2ae8e6,_0x43cd8c,_0x1de996,_0x4f5d61)=>{var _0x23506b=_0xaa7fc;for(var _0x694c8c=_0x4f5d61>0x1?void 0x0:_0x4f5d61?Mn(_0x43cd8c,_0x1de996):_0x43cd8c,_0x37cf97=_0x2ae8e6[_0x23506b(0x3b0)]-0x1,_0x12ed49;_0x37cf97>=0x0;_0x37cf97--)(_0x12ed49=_0x2ae8e6[_0x37cf97])&&(_0x694c8c=_0x12ed49(_0x694c8c)||_0x694c8c);return _0x694c8c;},ke=(_0x191d45,_0x57969d)=>(_0x826db7,_0x10f775)=>_0x57969d(_0x826db7,_0x10f775,_0x191d45),Hn=(_0x5e751f,_0x4c9dde,_0x36dd36)=>xn(_0x5e751f,_0x4c9dde+'',_0x36dd36);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xaa7fc(0x207)]=class extends a['Plugin']{constructor(_0x11b5b2,_0x3150ff,_0x3f2916,_0x56ed0c){var _0x18d5a7=_0xaa7fc;super(),A(this,'_config'),(this[_0x18d5a7(0x26f)]=_0x3150ff,this['_injector']=_0x3f2916,this[_0x18d5a7(0x20d)]=_0x56ed0c);const {..._0x5bafba}=a[_0x18d5a7(0x2f8)]({},Jt,_0x11b5b2);if(!_0x5bafba[_0x18d5a7(0x23b)])throw new Error(_0x18d5a7(0x219));this[_0x18d5a7(0x262)]=_0x5bafba,this[_0x18d5a7(0x20d)][_0x18d5a7(0x3bb)](Y,_0x5bafba);}[_0xaa7fc(0x3ff)](){var _0x2cbe5b=_0xaa7fc;this[_0x2cbe5b(0x1b8)](),this[_0x2cbe5b(0x250)]();}[_0xaa7fc(0x1b8)](){var _0x4f746b=_0xaa7fc,_0x119842,_0x55da8d;this[_0x4f746b(0x2e2)][_0x4f746b(0x3d7)](a['IUndoRedoService'])&&this[_0x4f746b(0x26f)][_0x4f746b(0x256)](_0x4f746b(0x413),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x139e6a=a[_0x4f746b(0xbb)]([[a[_0x4f746b(0x222)],{'useClass':exports[_0x4f746b(0x3fb)]}],[exports[_0x4f746b(0x24e)]],[exports[_0x4f746b(0xc8)]],[exports[_0x4f746b(0x3b6)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x4f746b(0x262)]['socketService']}],[g['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4f746b(0x24b)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x4f746b(0x158)],{'useClass':exports[_0x4f746b(0x2af)]}],[a[_0x4f746b(0x28e)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4f746b(0x1fb)]],[He]],(_0x119842=this[_0x4f746b(0x262)])==null?void 0x0:_0x119842[_0x4f746b(0x400)]);if(!((_0x55da8d=this[_0x4f746b(0x262)])!=null&&_0x55da8d['enableSingleActiveInstanceLock'])){const _0x3dc6a6=_0x139e6a[_0x4f746b(0x2e4)](([_0x2d2107])=>_0x2d2107===ve);_0x3dc6a6!==-0x1&&_0x139e6a['splice'](_0x3dc6a6,0x1);}a[_0x4f746b(0xf9)](this[_0x4f746b(0x2e2)],_0x139e6a);}[_0xaa7fc(0x250)](){var _0x474a42=_0xaa7fc,_0x104781,_0x4a04a3,_0x4ebb44;this[_0x474a42(0x2e2)][_0x474a42(0xe9)](q['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x474a42(0x280)]({'maxParallel':0x6})}),(_0x104781=this['_config'])!=null&&_0x104781[_0x474a42(0x212)]||(_0x4a04a3=this['_injector']['get'](z,a[_0x474a42(0xc4)][_0x474a42(0x3e0)]))==null||_0x4a04a3[_0x474a42(0x36b)](),(_0x4ebb44=this['_config'])!=null&&_0x4ebb44['enableAuthServer']&&a['touchDependencies'](this[_0x474a42(0x2e2)],[[Oe]]),a[_0x474a42(0x39f)](this[_0x474a42(0x2e2)],[[Ne],[exports[_0x474a42(0x1fb)]],[De]]);}},Hn(exports[_0xaa7fc(0x207)],_0xaa7fc(0x245),jn),exports[_0xaa7fc(0x207)]=kn([a['DependentOn'](g[_0xaa7fc(0x38f)],q[_0xaa7fc(0x11b)]),ke(0x1,a[_0xaa7fc(0x434)]),ke(0x2,a[_0xaa7fc(0x1a1)](a['Injector'])),ke(0x3,a[_0xaa7fc(0x41a)])],exports[_0xaa7fc(0x207)]),exports[_0xaa7fc(0x314)]=Ge,exports[_0xaa7fc(0x31b)]=Y,exports[_0xaa7fc(0x39e)]=It,exports[_0xaa7fc(0x20f)]=St,exports['CollaborationStatus']=Ve,exports[_0xaa7fc(0x14e)]=Q,exports[_0xaa7fc(0x13b)]=te,exports[_0xaa7fc(0x25a)]=Be,exports[_0xaa7fc(0x290)]=ft,exports[_0xaa7fc(0x417)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0xaa7fc(0xb7)]=pt,exports[_0xaa7fc(0x2a1)]=je,exports['ICollaborationSocketService']=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0xaa7fc(0x3d2)]=ve,exports[_0xaa7fc(0x270)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0xaa7fc(0x393)]=Et,exports[_0xaa7fc(0x1c4)]=qt,exports[_0xaa7fc(0x366)]=mt,exports[_0xaa7fc(0x2c7)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0xaa7fc(0x428)]=vt,exports[_0xaa7fc(0xca)]=se,exports[_0xaa7fc(0x34e)]=Fe,exports[_0xaa7fc(0x23d)]=Rt,exports[_0xaa7fc(0x149)]=vi,exports[_0xaa7fc(0x39a)]=yt;
1
+ 'use strict';var _0x2915d5=_0x31fc;(function(_0x13b953,_0x34f3a6){var _0x2e75c4=_0x31fc,_0x373593=_0x13b953();while(!![]){try{var _0x5c2b95=parseInt(_0x2e75c4(0x95))/0x1*(-parseInt(_0x2e75c4(0x1e5))/0x2)+parseInt(_0x2e75c4(0x3d5))/0x3+parseInt(_0x2e75c4(0x9c))/0x4*(parseInt(_0x2e75c4(0x2fe))/0x5)+-parseInt(_0x2e75c4(0x109))/0x6+-parseInt(_0x2e75c4(0xb3))/0x7*(-parseInt(_0x2e75c4(0x2b9))/0x8)+-parseInt(_0x2e75c4(0x2c1))/0x9+-parseInt(_0x2e75c4(0x27c))/0xa*(-parseInt(_0x2e75c4(0x365))/0xb);if(_0x5c2b95===_0x34f3a6)break;else _0x373593['push'](_0x373593['shift']());}catch(_0x11634f){_0x373593['push'](_0x373593['shift']());}}}(_0x1183,0x7488d));var wt=Object['defineProperty'],Lt=(_0x2af2e7,_0x3a923d,_0x47889f)=>_0x3a923d in _0x2af2e7?wt(_0x2af2e7,_0x3a923d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47889f}):_0x2af2e7[_0x3a923d]=_0x47889f,A=(_0x3a1326,_0x361f98,_0x102c90)=>Lt(_0x3a1326,typeof _0x361f98!=_0x2915d5(0xdc)?_0x361f98+'':_0x361f98,_0x102c90);Object[_0x2915d5(0x3dc)](exports,Symbol[_0x2915d5(0x201)],{'value':_0x2915d5(0x258)});const a=require(_0x2915d5(0x230)),j=require(_0x2915d5(0x255)),V=require(_0x2915d5(0x20e)),g=require(_0x2915d5(0x405)),q=require('@univerjs/network'),Mt=require(_0x2915d5(0x1b1)),ut=require(_0x2915d5(0x174)),Z=require(_0x2915d5(0xc7)),J=require(_0x2915d5(0x383)),xt=require(_0x2915d5(0x209)),dt='SNAPSHOT_SERVER_URL_KEY',kt=_0x2915d5(0x224),vt='SNAPSHOT_URL_KEY',Ht=_0x2915d5(0xd3),jt=0x7d0,St=_0x2915d5(0x138),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x2915d5(0x266),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x2915d5(0x1b7),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,It=_0x2915d5(0xa6),Kt='/universer-api/comb',Et=_0x2915d5(0x33d),Yt=_0x2915d5(0xe7),qt=_0x2915d5(0x165),zt=_0x2915d5(0xb5);var Ct=(_0x1d8f52=>(_0x1d8f52[_0x1d8f52[_0x2915d5(0x277)]=0x0]=_0x2915d5(0x277),_0x1d8f52[_0x1d8f52['OK']=0x1]='OK',_0x1d8f52[_0x1d8f52[_0x2915d5(0x392)]=0x2]=_0x2915d5(0x392),_0x1d8f52[_0x1d8f52[_0x2915d5(0x3c3)]=0x3]=_0x2915d5(0x3c3),_0x1d8f52[_0x1d8f52[_0x2915d5(0xd7)]=0x4]='NOT_FOUND',_0x1d8f52[_0x1d8f52[_0x2915d5(0x2e3)]=0x5]=_0x2915d5(0x2e3),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2f8)]=0x6]=_0x2915d5(0x2f8),_0x1d8f52[_0x1d8f52[_0x2915d5(0x3de)]=0x7]='INVALID_ARGUMENT',_0x1d8f52[_0x1d8f52[_0x2915d5(0x207)]=0x8]=_0x2915d5(0x207),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2ca)]=0x9]=_0x2915d5(0x2ca),_0x1d8f52[_0x1d8f52[_0x2915d5(0x118)]=0xa]=_0x2915d5(0x118),_0x1d8f52[_0x1d8f52[_0x2915d5(0x126)]=0x1389]=_0x2915d5(0x126),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2d1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1d8f52[_0x1d8f52['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2915d5(0x251),_0x1d8f52[_0x1d8f52[_0x2915d5(0x3a5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1d8f52[_0x1d8f52['APPLY_REJECT']=0x1b59]=_0x2915d5(0x3e5),_0x1d8f52[_0x1d8f52[_0x2915d5(0x399)]=0x1b5a]=_0x2915d5(0x399),_0x1d8f52[_0x1d8f52['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2915d5(0x356),_0x1d8f52[_0x1d8f52['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2915d5(0x331),_0x1d8f52[_0x1d8f52[_0x2915d5(0x21d)]=0x1b5d]='APPLY_DUPLICATED',_0x1d8f52[_0x1d8f52[_0x2915d5(0x1c7)]=0x1f41]=_0x2915d5(0x1c7),_0x1d8f52[_0x1d8f52[_0x2915d5(0x245)]=0x2329]=_0x2915d5(0x245),_0x1d8f52[_0x1d8f52[_0x2915d5(0x37f)]=0x232a]=_0x2915d5(0x37f),_0x1d8f52[_0x1d8f52[_0x2915d5(0xc3)]=0x232b]=_0x2915d5(0xc3),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2f2)]=0x232c]=_0x2915d5(0x2f2),_0x1d8f52[_0x1d8f52['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2915d5(0x10b),_0x1d8f52[_0x1d8f52[_0x2915d5(0x38c)]=0x2711]=_0x2915d5(0x38c),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2a7)]=0x2712]=_0x2915d5(0x2a7),_0x1d8f52[_0x1d8f52['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2915d5(0x129),_0x1d8f52[_0x1d8f52[_0x2915d5(0x1cf)]=0x2714]=_0x2915d5(0x1cf),_0x1d8f52[_0x1d8f52[_0x2915d5(0x395)]=0x2af9]=_0x2915d5(0x395),_0x1d8f52[_0x1d8f52[_0x2915d5(0xe0)]=0x2ee1]=_0x2915d5(0xe0),_0x1d8f52[_0x1d8f52[_0x2915d5(0x2ff)]=0x2ee2]='INVALID_INVITE_CODE',_0x1d8f52[_0x1d8f52[_0x2915d5(0x20d)]=0x2ee3]=_0x2915d5(0x20d),_0x1d8f52[_0x1d8f52['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2915d5(0x2c7),_0x1d8f52[_0x1d8f52['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2915d5(0x239),_0x1d8f52[_0x1d8f52[_0x2915d5(0x1f0)]=-0x1]='UNRECOGNIZED',_0x1d8f52))(Ct||{}),X=(_0x37aa39=>(_0x37aa39[_0x37aa39['UNIVER_UNKNOWN']=0x0]=_0x2915d5(0x3a2),_0x37aa39[_0x37aa39[_0x2915d5(0x279)]=0x1]=_0x2915d5(0x279),_0x37aa39[_0x37aa39[_0x2915d5(0x249)]=0x2]=_0x2915d5(0x249),_0x37aa39[_0x37aa39[_0x2915d5(0x16a)]=0x3]=_0x2915d5(0x16a),_0x37aa39[_0x37aa39[_0x2915d5(0x172)]=0x4]=_0x2915d5(0x172),_0x37aa39[_0x37aa39[_0x2915d5(0x1f0)]=-0x1]='UNRECOGNIZED',_0x37aa39))(X||{}),W=(_0x44b0de=>(_0x44b0de[_0x44b0de['UNKNOWN_CMD']=0x0]=_0x2915d5(0x25e),_0x44b0de[_0x44b0de[_0x2915d5(0x170)]=0x1]=_0x2915d5(0x170),_0x44b0de[_0x44b0de[_0x2915d5(0x403)]=0x2]=_0x2915d5(0x403),_0x44b0de[_0x44b0de[_0x2915d5(0x1e4)]=0x3]=_0x2915d5(0x1e4),_0x44b0de[_0x44b0de['INGEST']=0x4]=_0x2915d5(0x104),_0x44b0de[_0x44b0de[_0x2915d5(0x1d3)]=0x5]=_0x2915d5(0x1d3),_0x44b0de[_0x44b0de[_0x2915d5(0xac)]=0x6]=_0x2915d5(0xac),_0x44b0de[_0x44b0de['UNRECOGNIZED']=-0x1]=_0x2915d5(0x1f0),_0x44b0de))(W||{}),ae=(_0xf18471=>(_0xf18471[_0xf18471[_0x2915d5(0x2bf)]=0x0]=_0x2915d5(0x2bf),_0xf18471[_0xf18471['OK']=0x1]='OK',_0xf18471[_0xf18471['FAIL']=0x2]=_0x2915d5(0x2a9),_0xf18471[_0xf18471[_0x2915d5(0x2a4)]=0x3e9]=_0x2915d5(0x2a4),_0xf18471[_0xf18471['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2915d5(0x18b),_0xf18471[_0xf18471[_0x2915d5(0x2a1)]=0x3eb]=_0x2915d5(0x2a1),_0xf18471[_0xf18471[_0x2915d5(0x310)]=0x3ec]=_0x2915d5(0x310),_0xf18471[_0xf18471['UNRECOGNIZED']=-0x1]=_0x2915d5(0x1f0),_0xf18471))(ae||{}),Tt=(_0x27a3cb=>(_0x27a3cb[_0x27a3cb[_0x2915d5(0x384)]=0x0]='Undefined',_0x27a3cb[_0x27a3cb['HttpImport']=0x1]=_0x2915d5(0x3f0),_0x27a3cb[_0x27a3cb[_0x2915d5(0xbf)]=0x2]=_0x2915d5(0xbf),_0x27a3cb[_0x27a3cb[_0x2915d5(0x26b)]=0x3]=_0x2915d5(0x26b),_0x27a3cb[_0x27a3cb[_0x2915d5(0x90)]=0x4]=_0x2915d5(0x90),_0x27a3cb[_0x27a3cb[_0x2915d5(0x1f0)]=-0x1]=_0x2915d5(0x1f0),_0x27a3cb))(Tt||{});const Y=_0x2915d5(0xe8),Jt={};var Q=(_0x138bb8=>(_0x138bb8[_0x2915d5(0x28d)]='OTHER_CLIENT_EDITING',_0x138bb8[_0x2915d5(0x3c3)]=_0x2915d5(0x3c3),_0x138bb8[_0x2915d5(0xb6)]=_0x2915d5(0xb6),_0x138bb8[_0x2915d5(0x259)]=_0x2915d5(0x259),_0x138bb8[_0x2915d5(0x2de)]=_0x2915d5(0x2de),_0x138bb8[_0x2915d5(0x147)]=_0x2915d5(0x147),_0x138bb8['SOCKET_FAILED']=_0x2915d5(0x280),_0x138bb8[_0x2915d5(0x3b0)]=_0x2915d5(0x3b0),_0x138bb8))(Q||{});class te{constructor(){var _0x14f309=_0x2915d5;A(this,'_event$',new j['Subject']()),A(this,_0x14f309(0x110),this[_0x14f309(0x2fa)]['asObservable']());}[_0x2915d5(0x2c3)](_0x4f6951){var _0x363cd8=_0x2915d5;this[_0x363cd8(0x2fa)][_0x363cd8(0x3f2)](_0x4f6951);}}const bt=a['createIdentifier'](_0x2915d5(0x11f));function Rt(_0x27d8be){var _0x593d6c=_0x2915d5,_0x5734be,_0x1df400,_0x24bf11,_0x93f7b3,_0x2c4d76;const _0x542c0c=_0x27d8be[_0x593d6c(0x158)],_0x68f8e=JSON[_0x593d6c(0x2e0)](_0x542c0c);switch(_0x68f8e[_0x593d6c(0x29a)]){case W[_0x593d6c(0x1d3)]:case W[_0x593d6c(0x170)]:{const _0x54ad9a=_0x68f8e['infoRsp'];return{..._0x68f8e,'data':_0x54ad9a,'cmd':_0x68f8e['cmd']};}case W['JOIN']:{const _0x51b12d=_0x68f8e[_0x593d6c(0xdb)];return{..._0x68f8e,'data':_0x51b12d,'cmd':_0x68f8e[_0x593d6c(0x29a)]};}case W[_0x593d6c(0xac)]:{const _0x52838e=_0x68f8e[_0x593d6c(0xfc)];switch(_0x52838e[_0x593d6c(0x272)]){case g['CollaborationEvent'][_0x593d6c(0x3b2)]:return{..._0x68f8e,'data':{..._0x52838e,'data':(_0x5734be=_0x52838e[_0x593d6c(0x1ab)])==null?void 0x0:_0x5734be['cs']},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x393)]:return{..._0x68f8e,'data':{..._0x52838e,'data':(_0x1df400=_0x52838e[_0x593d6c(0x1e8)])==null?void 0x0:_0x1df400['cs']},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x9b)]:return{..._0x68f8e,'data':{..._0x52838e,'data':(_0x24bf11=_0x52838e[_0x593d6c(0x231)])==null?void 0x0:_0x24bf11['cs']},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x3ec)]:return{..._0x68f8e,'data':{..._0x52838e,'data':(_0x93f7b3=_0x52838e[_0x593d6c(0x167)])==null?void 0x0:_0x93f7b3['cs']},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x3c0)]:return{..._0x68f8e,'data':{..._0x52838e,'data':(_0x2c4d76=_0x52838e['csShouldRetryEvent'])==null?void 0x0:_0x2c4d76['cs']},'cmd':_0x68f8e['cmd']};case g[_0x593d6c(0x1e3)][_0x593d6c(0x14b)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x1c2)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x268)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x3f7)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g['CollaborationEvent'][_0x593d6c(0x39f)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x120)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)]['LIVESHARE_NEW_HOST']:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x23f)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x289)]:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e['liveShareOperation']},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x202)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x23f)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x68f8e,'data':_0x52838e,'cmd':_0x68f8e['cmd']};case g['CollaborationEvent'][_0x593d6c(0x350)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x2c9)]},'cmd':_0x68f8e['cmd']};case g[_0x593d6c(0x1e3)][_0x593d6c(0x220)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x175)]},'cmd':_0x68f8e[_0x593d6c(0x29a)]};case g[_0x593d6c(0x1e3)][_0x593d6c(0x3cc)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e[_0x593d6c(0x1ad)]},'cmd':_0x68f8e['cmd']};case g['CollaborationEvent'][_0x593d6c(0x18f)]:return{..._0x68f8e,'data':{..._0x52838e,'data':_0x52838e['uniscriptRunEvent']},'cmd':_0x68f8e['cmd']};default:return _0x68f8e;}}default:return _0x68f8e;}}function yt(_0x14f373){var _0x57ab31=_0x2915d5;switch(_0x14f373[_0x57ab31(0x29a)]){case W[_0x57ab31(0x1d3)]:case W[_0x57ab31(0x170)]:return JSON['stringify']({'cmd':_0x14f373[_0x57ab31(0x29a)],'routeKey':_0x14f373['routeKey']});case W[_0x57ab31(0x104)]:{let _0x5edd0a;switch(_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x272)]){case g[_0x57ab31(0x1e3)]['UPDATE_CURSOR']:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x14b)],'updateCursorEvent':_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x158)]};break;}case g[_0x57ab31(0x1e3)][_0x57ab31(0x39f)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x39f)],'leaveEvent':_0x14f373['data'][_0x57ab31(0x158)]};break;}case g['CollaborationEvent'][_0x57ab31(0x268)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x268)],'joinEvent':_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x158)]};break;}case g[_0x57ab31(0x1e3)]['LIVESHARE_NEW_HOST']:{_0x5edd0a={'eventID':g['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x14f373[_0x57ab31(0x158)]['data']};break;}case g['CollaborationEvent'][_0x57ab31(0x2e6)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x2e6)],'liveShareOperation':_0x14f373['data'][_0x57ab31(0x158)]};break;}case g[_0x57ab31(0x1e3)][_0x57ab31(0x202)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x202)],'liveShareTerminate':_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x158)]};break;}case g[_0x57ab31(0x1e3)][_0x57ab31(0x164)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x164)],'liveShareRequestHost':_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x158)]};break;}case g['CollaborationEvent'][_0x57ab31(0x289)]:{_0x5edd0a={'eventID':g[_0x57ab31(0x1e3)][_0x57ab31(0x289)]};break;}default:_0x5edd0a={'eventID':_0x14f373[_0x57ab31(0x158)][_0x57ab31(0x272)]};}return JSON[_0x57ab31(0x1ec)]({'cmd':_0x14f373[_0x57ab31(0x29a)],'routeKey':_0x14f373[_0x57ab31(0x11a)],'collaMsg':_0x5edd0a});}case W[_0x57ab31(0x403)]:return JSON[_0x57ab31(0x1ec)]({'cmd':_0x14f373[_0x57ab31(0x29a)],'routeKey':_0x14f373[_0x57ab31(0x11a)],'joinReq':_0x14f373[_0x57ab31(0x158)]});case W[_0x57ab31(0x1e4)]:return JSON[_0x57ab31(0x1ec)]({'cmd':_0x14f373['cmd'],'routeKey':_0x14f373['routeKey'],'leaveReq':_0x14f373['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x25da9e,_0x53c53d,_0x20194d,_0x400223)=>{for(var _0x54ccb7=_0x400223>0x1?void 0x0:_0x400223?Xt(_0x53c53d,_0x20194d):_0x53c53d,_0x5c8dd3=_0x25da9e['length']-0x1,_0x57d160;_0x5c8dd3>=0x0;_0x5c8dd3--)(_0x57d160=_0x25da9e[_0x5c8dd3])&&(_0x54ccb7=_0x57d160(_0x54ccb7)||_0x54ccb7);return _0x54ccb7;},_e=(_0x1382c1,_0xc21f79)=>(_0x4521db,_0x197119)=>_0xc21f79(_0x4521db,_0x197119,_0x1382c1);const $e=a[_0x2915d5(0x12f)](_0x2915d5(0x32d));function Qt(_0x51e6c4,_0x1c49ff,_0x5e8366){var _0xd9837f=_0x2915d5;return _0x51e6c4+'/'+_0x1c49ff+_0xd9837f(0x22d)+_0x5e8366+'/new_changes';}exports[_0x2915d5(0x3d8)]=class extends a[_0x2915d5(0xc6)]{constructor(_0x117717,_0x11d743,_0x56c29c,_0x5c20ca,_0x4fe038){var _0xa93e49=_0x2915d5;super(),this[_0xa93e49(0x290)]=_0x117717,this[_0xa93e49(0x91)]=_0x11d743,this[_0xa93e49(0x1a6)]=_0x56c29c,this['_logService']=_0x5c20ca,this[_0xa93e49(0x21c)]=_0x4fe038;}[_0x2915d5(0x241)](_0x1b93ec){var _0x75a4d4=_0x2915d5;const _0x2cd2fd=this[_0x75a4d4(0x290)][_0x75a4d4(0x387)](q['ISocketService']);if(!_0x2cd2fd)throw new Error(_0x75a4d4(0x216));const _0x46b803=_0x2cd2fd[_0x75a4d4(0x32a)](_0x1b93ec);if(!_0x46b803)throw new Error(_0x75a4d4(0x270));const _0xeee6ca=new a[(_0x75a4d4(0x36d))](),_0x38182b=new j[(_0x75a4d4(0x33b))]();_0xeee6ca['add'](_0x46b803[_0x75a4d4(0xfd)][_0x75a4d4(0x1fd)](_0x1e8b0b=>_0x38182b['next'](_0x1e8b0b))),_0xeee6ca[_0x75a4d4(0x33f)](a[_0x75a4d4(0x281)](()=>_0x38182b[_0x75a4d4(0x199)]()));const _0x35a3d2=new j[(_0x75a4d4(0x33b))]();_0xeee6ca[_0x75a4d4(0x33f)](_0x46b803[_0x75a4d4(0x1d5)][_0x75a4d4(0x1fd)](_0x18097a=>_0x35a3d2['next'](_0x18097a))),_0xeee6ca[_0x75a4d4(0x33f)](a['toDisposable'](()=>_0x35a3d2[_0x75a4d4(0x199)]()));const _0x15346f=new j[(_0x75a4d4(0x33b))]();_0xeee6ca[_0x75a4d4(0x33f)](_0x46b803[_0x75a4d4(0x32b)]['subscribe'](_0x4c82a1=>{const _0x611d0a=Rt(_0x4c82a1);_0x15346f['next'](_0x611d0a);})),_0xeee6ca[_0x75a4d4(0x33f)](a[_0x75a4d4(0x281)](()=>_0x15346f[_0x75a4d4(0x199)]()));let _0x19317d;const _0x1407fc=()=>{var _0xbb2ac0=_0x75a4d4;_0x35a3d2[_0xbb2ac0(0x3f2)](new Event('connection\x20error')),_0x38182b[_0xbb2ac0(0x3f2)](new Event('connection\x20error')),_0x19317d['close']();};return _0x19317d={'memberID':'','close$':_0x38182b[_0x75a4d4(0x366)](),'error$':_0x35a3d2[_0x75a4d4(0x366)](),'open$':_0x46b803[_0x75a4d4(0x406)],'message$':_0x15346f[_0x75a4d4(0x366)](),'send':_0x51a3d2=>{var _0x59dd12=_0x75a4d4;if(_0x51a3d2[_0x59dd12(0x29a)]===W[_0x59dd12(0x104)]){if(_0x51a3d2[_0x59dd12(0x158)][_0x59dd12(0x272)]===g[_0x59dd12(0x1e3)]['SUBMIT_CHANGESET']){this[_0x59dd12(0x21f)](_0x19317d,_0x51a3d2[_0x59dd12(0x158)])[_0x59dd12(0x35b)](_0x5d16eb=>{var _0x19e364=_0x59dd12;this['_logService'][_0x19e364(0x335)](_0x5d16eb),_0x1407fc();});return;}if(_0x51a3d2[_0x59dd12(0x158)][_0x59dd12(0x272)]===g['CollaborationEvent'][_0x59dd12(0x348)]){const _0x1b2f18=_0x51a3d2['data'];this[_0x59dd12(0x247)](_0x1b2f18)[_0x59dd12(0x401)](_0x3e463b=>{var _0x31c4cb=_0x59dd12;_0x15346f[_0x31c4cb(0x3f2)]({'cmd':W[_0x31c4cb(0xac)],'code':ae['OK'],'routeKey':_0x1b2f18['data']['unitID'],'routeType':'','data':{'eventID':g['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3e463b}}});})[_0x59dd12(0x35b)](_0x502912=>{var _0x222d07=_0x59dd12;this[_0x222d07(0x1f2)]['error'](_0x502912),_0x1407fc();});return;}}_0x46b803[_0x59dd12(0x162)](yt(_0x51a3d2));},'close':()=>{_0x46b803['close'](),_0xeee6ca['dispose']();}},_0x19317d;}async[_0x2915d5(0x21f)](_0x3f047c,_0x55cbc0){var _0x34650b=_0x2915d5,_0x4dad5e,_0x566be4;const {unitType:_0x5abace,unitID:_0x27789d,changeset:_0x354798}=_0x55cbc0[_0x34650b(0x158)],_0x43fe25={'unitID':_0x27789d,'memberID':_0x3f047c[_0x34650b(0x3e4)],'type':_0x5abace,'changeset':g['parseChangesetToProtocol'](_0x354798)},_0x2c9259=this[_0x34650b(0x1a6)][_0x34650b(0x14a)](It),_0x507ac1=this[_0x34650b(0x1a6)]['getConfig'](Y),_0x38b949=Qt((_0x566be4=(_0x4dad5e=_0x507ac1==null?void 0x0:_0x507ac1[_0x34650b(0xeb)])!=null?_0x4dad5e:_0x2c9259)!=null?_0x566be4:Kt,_0x5abace,_0x27789d);try{await this[_0x34650b(0x91)]['post'](_0x38b949,{'body':_0x43fe25});}catch(_0x2fd7c0){throw this['_logService']['error'](_0x34650b(0x195),_0x34650b(0x339)),_0x2fd7c0;}}async[_0x2915d5(0x247)](_0x15fee4){var _0x5cfeff=_0x2915d5;const {unitID:_0x272125,from:_0x3577b0,to:_0x22f604,unitType:_0x332d72}=_0x15fee4[_0x5cfeff(0x158)];return(await this[_0x5cfeff(0x21c)][_0x5cfeff(0x1c8)]({'metadata':void 0x0},{'unitID':_0x272125,'type':_0x332d72,'from':_0x3577b0,'to':_0x22f604}))[_0x5cfeff(0x99)];}},exports[_0x2915d5(0x3d8)]=Zt([_e(0x0,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),_e(0x1,a['Inject'](q[_0x2915d5(0x2f5)])),_e(0x2,a[_0x2915d5(0x2af)]),_e(0x3,a['ILogService']),_e(0x4,g[_0x2915d5(0x37d)])],exports[_0x2915d5(0x3d8)]);const ei='collaboration_new_changeset';function ti(_0x2667d1){var _0x38224a=_0x2915d5;return JSON[_0x38224a(0x1ec)](_0x2667d1)[_0x38224a(0x374)];}class Be{constructor(){var _0x57802d=_0x2915d5;A(this,_0x57802d(0x1a0),new j[(_0x57802d(0x33b))]()),A(this,_0x57802d(0x3ef),this[_0x57802d(0x1a0)]['asObservable']());}['onCommentUpdate'](_0x3fb8c9){var _0x22a6f2=_0x2915d5;this[_0x22a6f2(0x1a0)][_0x22a6f2(0x3f2)](_0x3fb8c9);}}var ii=Object[_0x2915d5(0x13f)],ni=(_0x1be86c,_0x2eeaff,_0x3d6a50,_0x45df73)=>{var _0x4ac889=_0x2915d5;for(var _0x5850ac=_0x45df73>0x1?void 0x0:_0x45df73?ii(_0x2eeaff,_0x3d6a50):_0x2eeaff,_0x58c557=_0x1be86c[_0x4ac889(0x374)]-0x1,_0x3856bc;_0x58c557>=0x0;_0x58c557--)(_0x3856bc=_0x1be86c[_0x58c557])&&(_0x5850ac=_0x3856bc(_0x5850ac)||_0x5850ac);return _0x5850ac;},Ke=(_0x469a46,_0x5c1485)=>(_0x23063a,_0x1ab45e)=>_0x5c1485(_0x23063a,_0x1ab45e,_0x469a46);exports['MemberService']=class extends a[_0x2915d5(0xc6)]{constructor(_0x288c29,_0x598363){var _0x472ef3=_0x2915d5;super(),A(this,_0x472ef3(0x203),new Map()),A(this,_0x472ef3(0x14e),new j[(_0x472ef3(0x33b))]()),(this['_univerInstanceService']=_0x288c29,this[_0x472ef3(0x131)]=_0x598363,this[_0x472ef3(0xcf)](j['merge'](this['_univerInstanceService'][_0x472ef3(0xff)](a[_0x472ef3(0x15a)]['UNIVER_SHEET'])['pipe'](V[_0x472ef3(0x2fd)](_0x50bf4c=>_0x50bf4c[_0x472ef3(0x341)]())),this[_0x472ef3(0x9d)]['getTypeOfUnitDisposed$'](a[_0x472ef3(0x15a)][_0x472ef3(0x279)])[_0x472ef3(0x19b)](V[_0x472ef3(0x2fd)](_0x240a46=>_0x240a46['getUnitId']())),this['_univerInstanceService'][_0x472ef3(0xff)](a[_0x472ef3(0x15a)][_0x472ef3(0x16a)])['pipe'](V[_0x472ef3(0x2fd)](_0xd8dd55=>_0xd8dd55['getUnitId']())))['subscribe'](_0xa4ebde=>this[_0x472ef3(0x232)](_0xa4ebde))));}[_0x2915d5(0x330)](_0x4b011f){var _0x5dbc57=_0x2915d5;return this['_roomMembers'][_0x5dbc57(0x190)](_0x4b011f)?j['of'](this['_roomMembers'][_0x5dbc57(0x387)](_0x4b011f)):this[_0x5dbc57(0x14e)][_0x5dbc57(0x19b)](V['map'](_0x109ca0=>{var _0x16bf13=_0x5dbc57;if(_0x109ca0===_0x4b011f)return this['_roomMembers'][_0x16bf13(0x387)](_0x109ca0);}));}[_0x2915d5(0x33a)](_0x152640){var _0x1b7a99=_0x2915d5;this['_userManagerService'][_0x1b7a99(0x33a)](_0x152640);}[_0x2915d5(0x260)](){var _0x3362e5=_0x2915d5;return this[_0x3362e5(0x131)][_0x3362e5(0x260)]();}[_0x2915d5(0x1b4)](_0x55e810,_0x94723b){var _0x3643d2=_0x2915d5;let _0x446b30=this['_roomMembers'][_0x3643d2(0x387)](_0x55e810);_0x446b30||(_0x446b30=new ri(),this['_roomMembers']['set'](_0x55e810,_0x446b30),this[_0x3643d2(0x14e)][_0x3643d2(0x3f2)](_0x55e810)),_0x446b30[_0x3643d2(0x1b4)](_0x94723b);}['removeMember'](_0x581640,_0xe81b15){var _0x3c57a5=_0x2915d5;const _0x4431be=this[_0x3c57a5(0x203)][_0x3c57a5(0x387)](_0x581640);_0x4431be&&_0x4431be[_0x3c57a5(0x1b0)](_0xe81b15);}['getRoom'](_0x53a902){return this['_roomMembers']['get'](_0x53a902);}[_0x2915d5(0x342)](_0x2fe51f,_0x4d996d){var _0xf23cf=_0x2915d5;const _0x3d1752=this[_0xf23cf(0x203)][_0xf23cf(0x387)](_0x2fe51f);if(_0x3d1752)return _0x3d1752[_0xf23cf(0x342)](_0x4d996d);}[_0x2915d5(0x232)](_0x3b2afb){var _0x1e12b4=_0x2915d5;const _0x247367=this[_0x1e12b4(0x203)][_0x1e12b4(0x387)](_0x3b2afb);_0x247367&&(_0x247367[_0x1e12b4(0x169)](),this[_0x1e12b4(0x203)]['delete'](_0x3b2afb));}[_0x2915d5(0x169)](){var _0x4ce23d=_0x2915d5;this[_0x4ce23d(0x203)][_0x4ce23d(0x306)](_0x240ce1=>_0x240ce1['dispose']()),this[_0x4ce23d(0x203)][_0x4ce23d(0x3d9)](),this[_0x4ce23d(0x14e)][_0x4ce23d(0x199)]();}},exports[_0x2915d5(0x173)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x2915d5(0x352)](a['UserManagerService']))],exports[_0x2915d5(0x173)]);class ri extends a[_0x2915d5(0xc6)]{constructor(){var _0xd61605=_0x2915d5;super(...arguments),A(this,_0xd61605(0x145),new Map()),A(this,_0xd61605(0x2f3),new j[(_0xd61605(0x30d))](this[_0xd61605(0x145)])),A(this,_0xd61605(0x33e),this[_0xd61605(0x2f3)]['asObservable']());}[_0x2915d5(0x169)](){var _0x23a308=_0x2915d5;this[_0x23a308(0x145)][_0x23a308(0x3d9)]();}[_0x2915d5(0x1b4)](_0x2cf666){var _0x706107=_0x2915d5;this[_0x706107(0x145)]['set'](_0x2cf666[_0x706107(0x3e4)],_0x2cf666),this[_0x706107(0x210)]();}['removeMember'](_0x273baf){var _0x26ba13=_0x2915d5;this[_0x26ba13(0x145)][_0x26ba13(0x2f7)](_0x273baf);}[_0x2915d5(0x342)](_0x53b295){var _0x1bccdd=_0x2915d5;return this[_0x1bccdd(0x145)][_0x1bccdd(0x387)](_0x53b295);}[_0x2915d5(0x2dd)](){var _0x5972bb=_0x2915d5;return Array['from'](this[_0x5972bb(0x145)][_0x5972bb(0x345)]());}[_0x2915d5(0x210)](){var _0x13c09a=_0x2915d5;this[_0x13c09a(0x2f3)][_0x13c09a(0x3f2)](this['_members']);}}var si=Object[_0x2915d5(0x13f)],oi=(_0x52e863,_0x5b3f89,_0x590913,_0x274467)=>{var _0x21d6fe=_0x2915d5;for(var _0x2be436=_0x274467>0x1?void 0x0:_0x274467?si(_0x5b3f89,_0x590913):_0x5b3f89,_0x14a120=_0x52e863[_0x21d6fe(0x374)]-0x1,_0xee695e;_0x14a120>=0x0;_0x14a120--)(_0xee695e=_0x52e863[_0x14a120])&&(_0x2be436=_0xee695e(_0x2be436)||_0x2be436);return _0x2be436;},oe=(_0x378f74,_0x4296e9)=>(_0x4fe0f1,_0x2a1e7c)=>_0x4296e9(_0x4fe0f1,_0x2a1e7c,_0x378f74),se=(_0x54375f=>(_0x54375f[_0x54375f[_0x2915d5(0x182)]=0x0]=_0x2915d5(0x182),_0x54375f[_0x54375f[_0x2915d5(0x364)]=0x1]=_0x2915d5(0x364),_0x54375f[_0x54375f[_0x2915d5(0x229)]=0x2]=_0x2915d5(0x229),_0x54375f[_0x54375f[_0x2915d5(0x324)]=0x3]=_0x2915d5(0x324),_0x54375f))(se||{});const Ye={[ae[_0x2915d5(0x2a9)]]:_0x2915d5(0x16f),[ae[_0x2915d5(0x2a4)]]:_0x2915d5(0xb0),[ae[_0x2915d5(0x18b)]]:_0x2915d5(0x1b6),[ae[_0x2915d5(0x2a1)]]:_0x2915d5(0x2e9),[ae[_0x2915d5(0x310)]]:_0x2915d5(0x391)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x19d999,_0x4e1a51,_0x4029a4,_0x1a6a93,_0x20d26f,_0x2494ce,_0x44e89c,_0x3131a0,_0x1d5b98){var _0x14062d=_0x2915d5;super(),A(this,'_sessionStatus$',new j[(_0x14062d(0x30d))](0x0)),A(this,_0x14062d(0x407),this[_0x14062d(0x299)][_0x14062d(0x366)]()),A(this,_0x14062d(0x2fa),new j[(_0x14062d(0x33b))]()),A(this,_0x14062d(0x110),this[_0x14062d(0x2fa)][_0x14062d(0x366)]()),A(this,_0x14062d(0x1c5)),A(this,_0x14062d(0x1bb)),A(this,'_collaborationTimeoutTimer'),A(this,_0x14062d(0x278),!0x1),A(this,_0x14062d(0xae),null),(this[_0x14062d(0x23c)]=_0x19d999,this[_0x14062d(0x1f2)]=_0x4029a4,this[_0x14062d(0x1a6)]=_0x1a6a93,this[_0x14062d(0xc8)]=_0x20d26f,this['_memberService']=_0x2494ce,this[_0x14062d(0x302)]=_0x44e89c,this[_0x14062d(0x39a)]=_0x3131a0,this['_telemetryService']=_0x1d5b98,this['_shouldReportTelemetry']=!!this[_0x14062d(0x28f)],_0x4e1a51[_0x14062d(0x19b)](j['takeUntil'](this[_0x14062d(0x3ea)]))['subscribe'](_0x381fe1=>{var _0x148ec7=_0x14062d,_0x3d1032;typeof _0x381fe1>'u'||(this[_0x148ec7(0x1c5)]=_0x381fe1,_0x381fe1?(this[_0x148ec7(0x34e)](_0x381fe1),this[_0x148ec7(0x1bb)]=_0x381fe1[_0x148ec7(0x32b)]['subscribe'](_0xd564ba=>{var _0x537189=_0x148ec7;_0xd564ba['routeKey']===this['_unitID']&&this[_0x537189(0x1d8)](_0xd564ba);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x148ec7(0x299)][_0x148ec7(0x3f2)](0x2),(_0x3d1032=this[_0x148ec7(0x1bb)])==null||_0x3d1032[_0x148ec7(0x1fa)](),this[_0x148ec7(0x1bb)]=null));}));}get[_0x2915d5(0x363)](){var _0x350883=_0x2915d5;return this[_0x350883(0x299)]['getValue']();}['getMemberID'](){var _0x4bc58d=_0x2915d5,_0xd75a58,_0x6ee17e;return(_0x6ee17e=(_0xd75a58=this[_0x4bc58d(0x1c5)])==null?void 0x0:_0xd75a58[_0x4bc58d(0x3e4)])!=null?_0x6ee17e:null;}['dispose'](){var _0x316f46=_0x2915d5;super['dispose'](),this[_0x316f46(0x3ea)][_0x316f46(0x3f2)](),this[_0x316f46(0x3ea)][_0x316f46(0x199)]();}['close'](){var _0x482bf6=_0x2915d5,_0x24f0b6,_0x2bd2c1;this[_0x482bf6(0x13e)](),(_0x24f0b6=this[_0x482bf6(0x1c5)])==null||_0x24f0b6[_0x482bf6(0x162)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x482bf6(0x23c)]}}),(_0x2bd2c1=this[_0x482bf6(0x1c5)])==null||_0x2bd2c1[_0x482bf6(0x3fc)](),this['_event$'][_0x482bf6(0x199)](),this[_0x482bf6(0x299)][_0x482bf6(0x199)](),this[_0x482bf6(0x169)]();}[_0x2915d5(0x1d8)](_0x2fa55d){var _0xfc0efb=_0x2915d5;_0x2fa55d[_0xfc0efb(0x29a)]===W[_0xfc0efb(0x403)]?this['_onJoinRoomEvent'](_0x2fa55d):_0x2fa55d[_0xfc0efb(0x29a)]===W[_0xfc0efb(0xac)]&&this['_onRecvEvent'](_0x2fa55d);}[_0x2915d5(0x34e)](_0x149fa4){var _0xd89f39=_0x2915d5;this[_0xd89f39(0x299)]['next'](0x1),_0x149fa4['send']({'cmd':W['JOIN'],'routeKey':this[_0xd89f39(0x23c)],'routeType':'','data':{'rooms':[{'roomID':this[_0xd89f39(0x23c)]}]}});}[_0x2915d5(0x29b)](_0x460d41){var _0x4244ef=_0x2915d5,_0x4430a5;if(_0x460d41['code']in Ye){this[_0x4244ef(0x39a)][_0x4244ef(0x2c3)]({'id':Q[_0x4244ef(0x2de)],'data':Ye[_0x460d41[_0x4244ef(0x27a)]]}),this[_0x4244ef(0x299)][_0x4244ef(0x3f2)](0x2);return;}this['_sessionStatus$'][_0x4244ef(0x3f2)](0x3);const _0x368c5b=(_0x4430a5=_0x460d41[_0x4244ef(0x158)][_0x4244ef(0x3f8)][this[_0x4244ef(0x23c)]])==null?void 0x0:_0x4430a5[_0x4244ef(0x20f)];_0x368c5b&&_0x368c5b[_0x4244ef(0x306)](_0x5e45f5=>this[_0x4244ef(0xb9)][_0x4244ef(0x1b4)](this[_0x4244ef(0x23c)],_0x5e45f5));}[_0x2915d5(0x132)](_0x351288){var _0x2ff8be=_0x2915d5;try{const _0x370fae=_0x351288[_0x2ff8be(0x158)];switch(_0x370fae[_0x2ff8be(0x272)]){case g[_0x2ff8be(0x1e3)]['USERS_ENTER']:this['_onUserJoin'](_0x370fae),this[_0x2ff8be(0x2fa)][_0x2ff8be(0x3f2)](_0x370fae);break;case g[_0x2ff8be(0x1e3)][_0x2ff8be(0x39f)]:this[_0x2ff8be(0x31b)](_0x370fae),this[_0x2ff8be(0x2fa)]['next'](_0x370fae);break;case g[_0x2ff8be(0x1e3)]['CHANGESET_ACK']:case g[_0x2ff8be(0x1e3)][_0x2ff8be(0x3c0)]:this[_0x2ff8be(0x17a)](),this[_0x2ff8be(0x102)](),this[_0x2ff8be(0x2fa)]['next'](_0x370fae);break;case g['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x2ff8be(0x1f2)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x2ff8be(0x1ec)](_0x370fae)),this[_0x2ff8be(0x2fa)][_0x2ff8be(0x3f2)](_0x370fae);break;case g[_0x2ff8be(0x1e3)]['COMMENT_UPDATE']:this[_0x2ff8be(0x302)][_0x2ff8be(0x3d0)](_0x370fae['data']),this['_event$']['next'](_0x370fae);break;default:this[_0x2ff8be(0x2fa)][_0x2ff8be(0x3f2)](_0x370fae);}}catch(_0x2ce5a1){this[_0x2ff8be(0x1f2)][_0x2ff8be(0x335)](_0x2ce5a1,_0x351288);}}[_0x2915d5(0x264)](_0x27643d){var _0x4a1260=_0x2915d5;this['_memberService'][_0x4a1260(0x1b4)](this['_unitID'],_0x27643d[_0x4a1260(0x158)]);}[_0x2915d5(0x31b)](_0x4f9eeb){var _0x17550a=_0x2915d5;this[_0x17550a(0xb9)]['removeMember'](this[_0x17550a(0x23c)],_0x4f9eeb[_0x17550a(0x158)][_0x17550a(0x3e4)]);}async[_0x2915d5(0x162)](_0x1ddb45,_0x406959){var _0x3c42d8=_0x2915d5;if(this[_0x3c42d8(0x363)]!==0x3||!this[_0x3c42d8(0x1c5)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1ddb45['eventID']===g['CollaborationEvent'][_0x3c42d8(0xb1)]&&(this[_0x3c42d8(0xe9)](),this[_0x3c42d8(0x213)](_0x1ddb45)),this[_0x3c42d8(0x1c5)][_0x3c42d8(0x162)]({'cmd':W[_0x3c42d8(0x104)],'routeKey':_0x406959,'routeType':'','data':_0x1ddb45});}catch(_0x41deb2){this[_0x3c42d8(0x1f2)][_0x3c42d8(0x335)](_0x41deb2);}}['_scheduleCollaborationTimeoutTimer'](){var _0x234c75=_0x2915d5,_0x1b8d18;this[_0x234c75(0x1cc)]=setTimeout(()=>{var _0x4cf5a5=_0x234c75;this[_0x4cf5a5(0x1cc)]=null,this['_collaborationUIEventService'][_0x4cf5a5(0x2c3)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1b8d18=this['_configService'][_0x234c75(0x14a)](je))!=null?_0x1b8d18:gt);}[_0x2915d5(0x102)](){var _0xcf633a=_0x2915d5;this[_0xcf633a(0x1cc)]&&(clearTimeout(this[_0xcf633a(0x1cc)]),this[_0xcf633a(0x1cc)]=null);}[_0x2915d5(0x213)](_0x836d42){var _0xb7a768=_0x2915d5;if(!this['_shouldReportTelemetry'])return;const {data:_0x46d5b3}=_0x836d42,{unitID:_0x3bc37a,changeset:_0x2034f8}=_0x46d5b3,{mutations:_0x2be9b4,type:_0x7b72d2}=_0x2034f8;this[_0xb7a768(0xae)]={'unitId':_0x3bc37a,'type':_0x7b72d2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2be9b4)};}[_0x2915d5(0x17a)](){var _0x3e33b9=_0x2915d5;if(this['_shouldReportTelemetry']){if(!this[_0x3e33b9(0xae)]){this[_0x3e33b9(0x1f2)]['error'](_0x3e33b9(0x195),_0x3e33b9(0x29d));return;}this[_0x3e33b9(0xae)][_0x3e33b9(0x382)]=performance[_0x3e33b9(0x2d8)](),this['_telemetryInfo'][_0x3e33b9(0x238)]=this[_0x3e33b9(0xae)][_0x3e33b9(0x382)]-this[_0x3e33b9(0xae)][_0x3e33b9(0x388)],this[_0x3e33b9(0x28f)][_0x3e33b9(0x38a)](ei,this[_0x3e33b9(0xae)]),this['_telemetryInfo']=null;}}[_0x2915d5(0x13e)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x2915d5(0x2af)]),oe(0x4,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)])),oe(0x5,a[_0x2915d5(0x352)](exports['MemberService'])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x2915d5(0x352)](te)),oe(0x8,a['Optional'](Mt[_0x2915d5(0x15d)]))],exports['CollaborationSession']);var ai=Object[_0x2915d5(0x13f)],ci=(_0x16f407,_0x8b7ef8,_0x525863,_0x311fd4)=>{var _0x2115b1=_0x2915d5;for(var _0x1fe11a=_0x311fd4>0x1?void 0x0:_0x311fd4?ai(_0x8b7ef8,_0x525863):_0x8b7ef8,_0x3dc802=_0x16f407[_0x2115b1(0x374)]-0x1,_0x13d72b;_0x3dc802>=0x0;_0x3dc802--)(_0x13d72b=_0x16f407[_0x3dc802])&&(_0x1fe11a=_0x13d72b(_0x1fe11a)||_0x1fe11a);return _0x1fe11a;},le=(_0x4206a8,_0x516c0a)=>(_0x29fb40,_0x53d552)=>_0x516c0a(_0x29fb40,_0x53d552,_0x4206a8);exports[_0x2915d5(0x2ac)]=class extends a[_0x2915d5(0xc6)]{constructor(_0x5b10a8,_0x854535,_0x5764d6,_0x2f54cc,_0x4322ff,_0x4d5e96){var _0x2c4828=_0x2915d5;super(),A(this,_0x2c4828(0x9f),new j[(_0x2c4828(0x30d))](void 0x0)),A(this,_0x2c4828(0xf7),this[_0x2c4828(0x9f)][_0x2c4828(0x366)]()),A(this,_0x2c4828(0x112),null),A(this,'_sessions',new Map()),A(this,'_status$',new j[(_0x2c4828(0x30d))](se[_0x2c4828(0x182)])),A(this,'status$',this[_0x2c4828(0x3d2)][_0x2c4828(0x366)]()),A(this,_0x2c4828(0x267),!0x1),A(this,_0x2c4828(0x22c)),A(this,_0x2c4828(0x1cd),0x0),A(this,_0x2c4828(0x332)),A(this,_0x2c4828(0x275)),(this[_0x2c4828(0x290)]=_0x5b10a8,this[_0x2c4828(0x1f2)]=_0x854535,this[_0x2c4828(0x1a6)]=_0x5764d6,this[_0x2c4828(0x3cb)]=_0x2f54cc,this[_0x2c4828(0x39a)]=_0x4322ff,this['_networkConditionService']=_0x4d5e96,this[_0x2c4828(0x28c)]());}get[_0x2915d5(0x1c5)](){var _0x28640b=_0x2915d5;return this[_0x28640b(0x9f)][_0x28640b(0x32c)]();}[_0x2915d5(0x28c)](){var _0x240fa3=_0x2915d5;this[_0x240fa3(0x320)]&&this[_0x240fa3(0xcf)](this[_0x240fa3(0x320)][_0x240fa3(0x35d)][_0x240fa3(0x1fd)](_0xadf4a2=>{var _0x26c2b1=_0x240fa3;_0xadf4a2&&!this[_0x26c2b1(0x1c5)]&&this['reconnect'](),_0xadf4a2||this['_onOffline']();}));}[_0x2915d5(0x169)](){var _0x1c7fdb=_0x2915d5;super[_0x1c7fdb(0x169)](),this[_0x1c7fdb(0x398)](),this['_clearTimeoutTimer'](),this[_0x1c7fdb(0x2c6)](),this[_0x1c7fdb(0x3e8)][_0x1c7fdb(0x306)](_0x1e718d=>_0x1e718d[_0x1c7fdb(0x169)]()),this[_0x1c7fdb(0x3e8)]['clear'](),this[_0x1c7fdb(0x3d2)]['complete']();}async[_0x2915d5(0x3e6)](_0x4e4fed){var _0x55405b=_0x2915d5;if(this[_0x55405b(0x3e8)][_0x55405b(0x190)](_0x4e4fed))return this[_0x55405b(0x3e8)][_0x55405b(0x387)](_0x4e4fed);this[_0x55405b(0x12b)]();const _0x52a68f=this[_0x55405b(0x290)]['createInstance'](exports['CollaborationSession'],_0x4e4fed,this[_0x55405b(0x9f)]['asObservable']());return this[_0x55405b(0x3e8)]['set'](_0x4e4fed,_0x52a68f),_0x52a68f;}['closeSession'](_0x1ea2ab){var _0x815c10=_0x2915d5,_0x2ab590;const _0x5a1a34=this['_sessions'][_0x815c10(0x387)](_0x1ea2ab);_0x5a1a34&&(this[_0x815c10(0x3e8)][_0x815c10(0x2f7)](_0x1ea2ab),_0x5a1a34[_0x815c10(0x3fc)]()),this[_0x815c10(0x3e8)]['size']||(_0x2ab590=this[_0x815c10(0x1c5)])==null||_0x2ab590[_0x815c10(0x3fc)]();}['reconnect'](){var _0x4d2020=_0x2915d5;this['_retryCount']=0x0,this[_0x4d2020(0x398)](),this['_tryReconnect']();}[_0x2915d5(0x398)](){var _0xd3cae8=_0x2915d5;this[_0xd3cae8(0x22c)]!=null&&(clearTimeout(this[_0xd3cae8(0x22c)]),this[_0xd3cae8(0x22c)]=null);}async[_0x2915d5(0x23e)](){var _0xd28a56=_0x2915d5,_0x2da0ab,_0x458beb;const _0x5948e0=this[_0xd28a56(0x1a6)][_0xd28a56(0x14a)](St),_0xa5a22c=this['_configService'][_0xd28a56(0x14a)](Y),_0x4570db=(_0x458beb=(_0x2da0ab=_0xa5a22c==null?void 0x0:_0xa5a22c['collabWebSocketUrl'])!=null?_0x2da0ab:_0x5948e0)!=null?_0x458beb:ft,_0x1be9f3=await this[_0xd28a56(0x3cb)][_0xd28a56(0x32a)](_0x4570db);return this[_0xd28a56(0x112)]=_0x1be9f3,_0x1be9f3;}async['_tryEnsureSocket'](){var _0xcf1ff9=_0x2915d5,_0x41a171,_0x5a64da;try{const _0xcc4c73=(_0x5a64da=(_0x41a171=this[_0xcf1ff9(0x1c5)])!=null?_0x41a171:this['_candidateSocket'])!=null?_0x5a64da:await this[_0xcf1ff9(0x23e)]();if(_0xcc4c73){const _0x561ac1=_0xcc4c73[_0xcf1ff9(0x162)];_0xcc4c73[_0xcf1ff9(0x162)]=_0x11d655=>(this[_0xcf1ff9(0x2df)](),_0x561ac1[_0xcf1ff9(0x2e5)](_0xcc4c73,[_0x11d655])),_0xcc4c73[_0xcf1ff9(0x32b)]['subscribe'](_0x55edcd=>this[_0xcf1ff9(0x163)](_0xcc4c73,_0x55edcd)),_0xcc4c73[_0xcf1ff9(0x1d5)][_0xcf1ff9(0x19b)](V[_0xcf1ff9(0x402)](0x1))[_0xcf1ff9(0x1fd)](_0x38c6ff=>this[_0xcf1ff9(0x1f2)][_0xcf1ff9(0x335)](_0xcf1ff9(0x2a6),_0x38c6ff)),_0xcc4c73[_0xcf1ff9(0x406)][_0xcf1ff9(0x19b)](V[_0xcf1ff9(0x402)](0x1))['subscribe'](()=>{var _0x49419f=_0xcf1ff9;this[_0x49419f(0x3c2)](_0xcc4c73);}),_0xcc4c73['close$']['pipe'](V[_0xcf1ff9(0x402)](0x1))[_0xcf1ff9(0x1fd)](_0xe7a77b=>{var _0x26d381=_0xcf1ff9;this[_0x26d381(0x1f2)][_0x26d381(0x119)](_0x26d381(0xa5),_0x26d381(0x25b),_0xe7a77b),this[_0x26d381(0x1a1)]();});}}catch(_0x35a6b0){this['_logService'][_0xcf1ff9(0x335)](_0x35a6b0),this[_0xcf1ff9(0x1a1)]();}}[_0x2915d5(0x3c2)](_0x5dfd32){var _0x4e0732=_0x2915d5;this['_logService'][_0x4e0732(0x119)]('[CollaborationSessionService]',_0x4e0732(0x3ac)),_0x5dfd32[_0x4e0732(0x162)]({'cmd':W[_0x4e0732(0x170)]}),this[_0x4e0732(0x2df)]();}[_0x2915d5(0x96)](){var _0x3e6fa8=_0x2915d5;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$']['next'](se[_0x3e6fa8(0x229)]),this[_0x3e6fa8(0x9f)]['next'](null),this[_0x3e6fa8(0x218)](),this[_0x3e6fa8(0x2c6)]();}[_0x2915d5(0x1a1)](){var _0x41c54a=_0x2915d5,_0x3f1d14;this[_0x41c54a(0x96)](),this[_0x41c54a(0x1cd)]<((_0x3f1d14=this[_0x41c54a(0x1a6)][_0x41c54a(0x14a)](mt))!=null?_0x3f1d14:Vt)?(this[_0x41c54a(0x39a)][_0x41c54a(0x2c3)]({'id':Q[_0x41c54a(0x147)]}),this[_0x41c54a(0x35f)]()):this[_0x41c54a(0x39a)]['emitEvent']({'id':Q[_0x41c54a(0x280)]});}[_0x2915d5(0x35f)](){var _0x540fa2=_0x2915d5,_0x3d4245;const _0x5bc09b=this['_retryCount'],_0x3ca0d8=this['_configService'][_0x540fa2(0x14a)](Y),_0x5718a5=_0x5bc09b===0x0?0x0:((_0x3d4245=_0x3ca0d8==null?void 0x0:_0x3ca0d8[_0x540fa2(0x187)])!=null?_0x3d4245:Ft)*0x2**_0x5bc09b;this[_0x540fa2(0x22c)]=setTimeout(()=>{var _0x110a65=_0x540fa2;clearTimeout(this['_retryConnectingTimer']),this[_0x110a65(0x22c)]=null,this['_tryEnsureSocket']();},_0x5718a5),this[_0x540fa2(0x1cd)]+=0x1;}[_0x2915d5(0x163)](_0x5ca26c,_0x1f5266){var _0xe77973=_0x2915d5;const {cmd:_0x57d7ff}=_0x1f5266;_0x57d7ff===W['HELLO']&&!this['_socketReady']&&(_0x5ca26c[_0xe77973(0x3e4)]=_0x1f5266[_0xe77973(0x158)][_0xe77973(0x3e4)],this[_0xe77973(0x9f)][_0xe77973(0x3f2)](_0x5ca26c),this['_status$'][_0xe77973(0x3f2)](se[_0xe77973(0x324)]),this[_0xe77973(0x267)]=!0x0,this[_0xe77973(0x112)]=null),_0x57d7ff===W['HEARTBEAT']&&this[_0xe77973(0x218)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x507aef=_0x2915d5,_0x55011;this[_0x507aef(0x2c6)](),this[_0x507aef(0x332)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x55011=this['_configService']['getConfig'](pt))!=null?_0x55011:Bt);}['_sendHeartbeat'](){var _0x6ac475=_0x2915d5;this[_0x6ac475(0x1c5)][_0x6ac475(0x162)]({'cmd':W[_0x6ac475(0x1d3)]}),this[_0x6ac475(0x3ff)]();}['_waitForHeartbeatResponse'](){var _0x32ace7=_0x2915d5,_0x3ea77b;this[_0x32ace7(0x275)]=setTimeout(()=>this[_0x32ace7(0x1a1)](),(_0x3ea77b=this['_configService'][_0x32ace7(0x14a)](je))!=null?_0x3ea77b:gt);}[_0x2915d5(0x2c6)](){var _0x4e41a3=_0x2915d5;this[_0x4e41a3(0x332)]!=null&&(clearTimeout(this[_0x4e41a3(0x332)]),this[_0x4e41a3(0x332)]=null);}[_0x2915d5(0x218)](){var _0x3474e1=_0x2915d5;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3474e1(0x275)]),this['_timeoutTimer']=null);}},exports[_0x2915d5(0x2ac)]=ci([le(0x0,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),le(0x1,a['ILogService']),le(0x2,a[_0x2915d5(0x2af)]),le(0x3,$e),le(0x4,a['Inject'](te)),le(0x5,a[_0x2915d5(0x12d)](bt))],exports[_0x2915d5(0x2ac)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x2915d5(0x2a2)]((n+0x100)[_0x2915d5(0x153)](0x10)[_0x2915d5(0x340)](0x1));function hi(_0x4c6733,_0xf0f231=0x0){var _0x72e71e=_0x2915d5;return(G[_0x4c6733[_0xf0f231+0x0]]+G[_0x4c6733[_0xf0f231+0x1]]+G[_0x4c6733[_0xf0f231+0x2]]+G[_0x4c6733[_0xf0f231+0x3]]+'-'+G[_0x4c6733[_0xf0f231+0x4]]+G[_0x4c6733[_0xf0f231+0x5]]+'-'+G[_0x4c6733[_0xf0f231+0x6]]+G[_0x4c6733[_0xf0f231+0x7]]+'-'+G[_0x4c6733[_0xf0f231+0x8]]+G[_0x4c6733[_0xf0f231+0x9]]+'-'+G[_0x4c6733[_0xf0f231+0xa]]+G[_0x4c6733[_0xf0f231+0xb]]+G[_0x4c6733[_0xf0f231+0xc]]+G[_0x4c6733[_0xf0f231+0xd]]+G[_0x4c6733[_0xf0f231+0xe]]+G[_0x4c6733[_0xf0f231+0xf]])[_0x72e71e(0x185)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0xdc8e30=_0x2915d5;if(!Ue){if(typeof crypto>'u'||!crypto[_0xdc8e30(0x14d)])throw new Error(_0xdc8e30(0x152));Ue=crypto[_0xdc8e30(0x14d)][_0xdc8e30(0x344)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x2915d5(0x214)]&&crypto[_0x2915d5(0x214)][_0x2915d5(0x344)](crypto),qe={'randomUUID':ui};function di(_0x3ba9cd,_0x5648ba,_0x225092){var _0x46efb4=_0x2915d5,_0x40bb5d,_0x3a4417,_0xbe85b7;if(qe['randomUUID']&&!_0x3ba9cd)return qe[_0x46efb4(0x214)]();_0x3ba9cd=_0x3ba9cd||{};const _0x33f055=(_0xbe85b7=(_0x3a4417=_0x3ba9cd[_0x46efb4(0x2bd)])!=null?_0x3a4417:(_0x40bb5d=_0x3ba9cd[_0x46efb4(0xf9)])==null?void 0x0:_0x40bb5d[_0x46efb4(0x2d9)](_0x3ba9cd))!=null?_0xbe85b7:_i();if(_0x33f055['length']<0x10)throw new Error(_0x46efb4(0x3fb));return _0x33f055[0x6]=_0x33f055[0x6]&0xf|0x40,_0x33f055[0x8]=_0x33f055[0x8]&0x3f|0x80,hi(_0x33f055);}const z=a[_0x2915d5(0x12f)](_0x2915d5(0x25a));function vi(_0x3494d4){var _0x4e58=_0x2915d5;return _0x4e58(0x252)+_0x3494d4;}var Si=Object[_0x2915d5(0x13f)],fi=(_0x33f368,_0x2d8c50,_0x2e5803,_0x4a19b5)=>{var _0x5ed63b=_0x2915d5;for(var _0x4acfcc=_0x4a19b5>0x1?void 0x0:_0x4a19b5?Si(_0x2d8c50,_0x2e5803):_0x2d8c50,_0x37215e=_0x33f368[_0x5ed63b(0x374)]-0x1,_0x418d0e;_0x37215e>=0x0;_0x37215e--)(_0x418d0e=_0x33f368[_0x37215e])&&(_0x4acfcc=_0x418d0e(_0x4acfcc)||_0x4acfcc);return _0x4acfcc;},Ae=(_0x374268,_0x57912d)=>(_0x5bb743,_0x2c46cb)=>_0x57912d(_0x5bb743,_0x2c46cb,_0x374268);function pi(_0x14cca1){var _0x3527f0=_0x2915d5;const {unitID:_0x28012c,mutations:_0x290065}=_0x14cca1;return{'unitId':_0x28012c,'subUnitId':_0x290065[0x0][_0x3527f0(0x3b1)]['subUnitId']};}exports[_0x2915d5(0x3f9)]=class{constructor(_0x56f57f,_0xf74e94,_0x74f60f){var _0x2ad7c5=_0x2915d5;this[_0x2ad7c5(0x290)]=_0x56f57f,this[_0x2ad7c5(0x3e7)]=_0xf74e94,this[_0x2ad7c5(0x2b0)]=_0x74f60f;}[_0x2915d5(0x38e)](_0x35b963){var _0x1cecbb=_0x2915d5,_0x12a3c0,_0x22b117,_0x5ed9c4,_0x48c3ce;const _0x5d7c01=this[_0x1cecbb(0x290)][_0x1cecbb(0x387)](Z[_0x1cecbb(0x150)]),{unitId:_0x3cc3ce,subUnitId:_0x3132ad}=pi(_0x35b963),_0x4f6c9d=_0x5d7c01==null?void 0x0:_0x5d7c01[_0x1cecbb(0x315)](_0x3cc3ce)[_0x1cecbb(0x10a)](),_0x37b777=(_0x22b117=(_0x12a3c0=this['_instanceService'][_0x1cecbb(0x1e0)](_0x3cc3ce))==null?void 0x0:_0x12a3c0['getActiveSheet']())==null?void 0x0:_0x22b117[_0x1cecbb(0xea)]();if(_0x4f6c9d['length']===0x0||!_0x3cc3ce||!_0x3132ad)return;const _0x35486a=[{'id':Z[_0x1cecbb(0x2e2)]['id'],'params':{'unitId':_0x3cc3ce,'subUnitId':_0x37b777,'selections':a[_0x1cecbb(0xfb)]['deepClone'](_0x4f6c9d)}}],_0x5a8ca5=this[_0x1cecbb(0x3e7)]['transformMutationsWithChangeset'](_0x35b963,_0x35486a);if(!g[_0x1cecbb(0x13b)](_0x5a8ca5))throw _0x5a8ca5[_0x1cecbb(0x335)];const _0x50e1ce=(_0x48c3ce=(_0x5ed9c4=_0x5a8ca5['m2Prime'][0x0])==null?void 0x0:_0x5ed9c4[_0x1cecbb(0x3b1)])==null?void 0x0:_0x48c3ce[_0x1cecbb(0xf2)];if(Array[_0x1cecbb(0xa4)](_0x50e1ce)&&_0x50e1ce[_0x1cecbb(0x374)]){if(_0x50e1ce[_0x1cecbb(0x374)]===_0x35486a[0x0][_0x1cecbb(0x3b1)][_0x1cecbb(0xf2)][_0x1cecbb(0x374)]&&_0x50e1ce['every']((_0x1f564b,_0x33929f)=>a[_0x1cecbb(0xc4)][_0x1cecbb(0x22b)](_0x1f564b[_0x1cecbb(0xc9)],_0x35486a[0x0][_0x1cecbb(0x3b1)][_0x1cecbb(0xf2)][_0x33929f]['range'])))return;this['_injector'][_0x1cecbb(0x387)](a[_0x1cecbb(0xba)])[_0x1cecbb(0x1ba)](Z[_0x1cecbb(0x2e2)]['id'],{'unitId':_0x3cc3ce,'subUnitId':_0x37b777,'selections':_0x50e1ce});}}},exports[_0x2915d5(0x3f9)]=fi([Ae(0x0,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),Ae(0x1,g['ITransformService']),Ae(0x2,a['IUniverInstanceService'])],exports[_0x2915d5(0x3f9)]);const ve=a[_0x2915d5(0x12f)](_0x2915d5(0x373));var Fe=(_0xe1ca0c=>(_0xe1ca0c[_0xe1ca0c[_0x2915d5(0x3c4)]=0x0]=_0x2915d5(0x3c4),_0xe1ca0c[_0xe1ca0c['OTHER_CLIENTS_EDITING']=0x1]=_0x2915d5(0x248),_0xe1ca0c))(Fe||{});const gi=new Set([Z[_0x2915d5(0x34a)]['id']]);function ze(_0x4bd8c5,_0x16df0c,_0x28e64f,_0x1dd508,_0x3f1edb){var _0x406d85=_0x2915d5,_0x23146d,_0x202bf4,_0xa0237e,_0x4bd38e;const _0x2a108f=[];for(const _0x492321 of _0x4bd8c5)if(gi[_0x406d85(0x190)](_0x492321['id'])){if(_0x2a108f[_0x406d85(0x374)]>0x0)break;_0x2a108f[_0x406d85(0x2a2)](_0x492321);break;}else _0x2a108f['push'](_0x492321);const _0x1875d6=(_0x202bf4=(_0x23146d=_0x3f1edb[_0x406d85(0x260)]())==null?void 0x0:_0x23146d[_0x406d85(0xd1)])!=null?_0x202bf4:_0x406d85(0x159),_0x5f1a7e=(_0x4bd38e=(_0xa0237e=_0x3f1edb[_0x406d85(0x260)]())==null?void 0x0:_0xa0237e[_0x406d85(0x3e4)])!=null?_0x4bd38e:_0x406d85(0x159);return{'changeset':{'unitID':_0x16df0c,'type':g[_0x406d85(0x30e)](_0x28e64f[_0x406d85(0x192)](_0x16df0c)),'baseRev':_0x1dd508[_0x406d85(0x355)](_0x16df0c),'revision':0x0,'userID':_0x1875d6,'memberID':_0x5f1a7e,'mutations':_0x2a108f},'pendingMutations':_0x4bd8c5[_0x406d85(0x340)](_0x2a108f[_0x406d85(0x374)])};}function mi(_0x112d75,_0x42c65c,_0x10c89f,_0xc7d336,_0x1a2ed8){var _0x2459bb=_0x2915d5,_0xf3ff61,_0x4b27a8,_0x818b69,_0x3f5f0a;const _0x155bd4=[_0x112d75['reduce']((_0x368ceb,_0x4ae669)=>{var _0x5f51bc=_0x31fc,_0x490f64;const {id:_0x4e6a9a}=_0x368ceb,{id:_0x313f1e,type:_0x853c90}=_0x4ae669,_0x12a075=(_0x490f64=_0x368ceb[_0x5f51bc(0x3b1)])!=null?_0x490f64:{'actions':null},_0x3da673=_0x4ae669[_0x5f51bc(0x3b1)];if(_0x4e6a9a&&_0x4e6a9a!==_0x313f1e)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4e6a9a+'\x20-\x20'+_0x313f1e+'.');return{..._0x368ceb,'id':_0x313f1e,'type':_0x853c90,'params':{'unitId':_0x3da673[_0x5f51bc(0x240)],'textRanges':_0x3da673[_0x5f51bc(0x1df)],'actions':a[_0x5f51bc(0x368)][_0x5f51bc(0x140)](_0x12a075['actions'],_0x3da673['actions'])}};},{})],_0x6eb654=(_0x4b27a8=(_0xf3ff61=_0x1a2ed8['getCurrentUser']())==null?void 0x0:_0xf3ff61['userID'])!=null?_0x4b27a8:_0x2459bb(0x159),_0x1e8335=(_0x3f5f0a=(_0x818b69=_0x1a2ed8[_0x2459bb(0x260)]())==null?void 0x0:_0x818b69[_0x2459bb(0x3e4)])!=null?_0x3f5f0a:'unknown';return{'changeset':{'unitID':_0x42c65c,'type':g[_0x2459bb(0x30e)](_0x10c89f[_0x2459bb(0x192)](_0x42c65c)),'baseRev':_0xc7d336['getCurrentRevOfUnit'](_0x42c65c),'revision':0x0,'userID':_0x6eb654,'memberID':_0x1e8335,'mutations':_0x155bd4},'pendingMutations':[]};}function Ot(_0x407539,_0x5595b4){var _0x1ff629=_0x2915d5;const _0x579e10=new j[(_0x1ff629(0x3fd))](0x1);return setTimeout(()=>_0x579e10['next'](_0x5595b4),_0x407539),_0x579e10[_0x1ff629(0x366)]()['pipe'](j[_0x1ff629(0x402)](0x1));}const Ii={'id':Z[_0x2915d5(0x212)]['id'],'type':a['CommandType'][_0x2915d5(0x17c)],'params':{}};var Ei=Object[_0x2915d5(0x13f)],ce=(_0x2003c5,_0x63932c,_0x35a332,_0xe49609)=>{for(var _0xd90631=_0xe49609>0x1?void 0x0:_0xe49609?Ei(_0x63932c,_0x35a332):_0x63932c,_0x31761b=_0x2003c5['length']-0x1,_0x32ed24;_0x31761b>=0x0;_0x31761b--)(_0x32ed24=_0x2003c5[_0x31761b])&&(_0xd90631=_0x32ed24(_0xd90631)||_0xd90631);return _0xd90631;},w=(_0x5b4720,_0x1f19be)=>(_0x3f4413,_0x26f45b)=>_0x1f19be(_0x3f4413,_0x26f45b,_0x5b4720),Ve=(_0x1b318a=>(_0x1b318a[_0x2915d5(0xd2)]=_0x2915d5(0x2b2),_0x1b318a['SYNCED']=_0x2915d5(0x24d),_0x1b318a[_0x2915d5(0x2d7)]=_0x2915d5(0xe2),_0x1b318a['AWAITING']=_0x2915d5(0x394),_0x1b318a[_0x2915d5(0xc2)]=_0x2915d5(0x3ca),_0x1b318a['FETCH_MISS']=_0x2915d5(0xfa),_0x1b318a[_0x2915d5(0xb6)]='conflict',_0x1b318a[_0x2915d5(0x229)]=_0x2915d5(0x353),_0x1b318a))(Ve||{});const Nt=0xea60;class he{constructor(_0x4842fb,_0x5127b6,_0x421613,_0x220906,_0x361e9b,_0x3bb3f4,_0x525dd6,_0x5d4339,_0x33e275){var _0x4ce82e=_0x2915d5;A(this,_0x4ce82e(0x17b),null),A(this,_0x4ce82e(0x312),[]),(this[_0x4ce82e(0x189)]=_0x4842fb,this[_0x4ce82e(0x1a2)]=_0x5127b6,this[_0x4ce82e(0x219)]=_0x361e9b,this[_0x4ce82e(0x3a4)]=_0x3bb3f4,this[_0x4ce82e(0x301)]=_0x525dd6,this[_0x4ce82e(0x2dc)]=_0x5d4339,this[_0x4ce82e(0x372)]=_0x33e275,this[_0x4ce82e(0x17b)]=_0x421613,this['_pendingMutations']=_0x220906);}[_0x2915d5(0x25f)](_0x812b51){var _0x16b993=_0x2915d5;const _0x2e5d32=this['_revisionService'][_0x16b993(0x355)](this[_0x16b993(0x189)]);return _0x812b51['revision']>_0x2e5d32+0x1?(this['_handler']['onMissingChangesets']({'from':_0x2e5d32,'to':_0x812b51[_0x16b993(0xee)]-0x1}),!0x0):!0x1;}[_0x2915d5(0x371)](_0x39c571){var _0x2e466d=_0x2915d5;this[_0x2e466d(0x301)]['transformUndoRedo'](this[_0x2e466d(0x189)],_0x39c571);}[_0x2915d5(0x117)](_0x5db1b5){var _0x59c2af=_0x2915d5,_0x16cec4,_0x2a8b98;(_0x2a8b98=(_0x16cec4=this[_0x59c2af(0x219)])['onTransformSelections'])==null||_0x2a8b98[_0x59c2af(0x2d9)](_0x16cec4,_0x5db1b5);}[_0x2915d5(0x22f)](_0x3feb88){var _0x184603=_0x2915d5,_0x36c9b8,_0xd5b7be;return(_0xd5b7be=(_0x36c9b8=this['_handler'])[_0x184603(0x1e7)])==null?void 0x0:_0xd5b7be[_0x184603(0x2d9)](_0x36c9b8,_0x3feb88);}[_0x2915d5(0x2cb)](_0x40879f){var _0xac2410=_0x2915d5,_0x40bc7c,_0x565feb;return(_0x565feb=(_0x40bc7c=this[_0xac2410(0x219)])['onTransformState'])==null?void 0x0:_0x565feb[_0xac2410(0x2d9)](_0x40bc7c,_0x40879f);}[_0x2915d5(0x134)](_0x3c40b1){var _0x4f40ef=_0x2915d5,_0x1535e6,_0x5629dc,_0x29d838;return(_0x29d838=(_0x5629dc=(_0x1535e6=this['_handler'])[_0x4f40ef(0x17d)])==null?void 0x0:_0x5629dc[_0x4f40ef(0x2d9)](_0x1535e6,_0x3c40b1))!=null?_0x29d838:_0x3c40b1;}[_0x2915d5(0x16b)](_0x1c5a94){var _0x537d9b=_0x2915d5,_0x27e79e,_0x1750cf,_0x4afe53;return(_0x4afe53=(_0x1750cf=(_0x27e79e=this[_0x537d9b(0x219)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1750cf[_0x537d9b(0x2d9)](_0x27e79e,_0x1c5a94))!=null?_0x4afe53:_0x1c5a94;}['_syncEditingCollabCursor'](_0x405ebe){var _0x3d92ed=_0x2915d5,_0x3f4879,_0x2cb6ca;if(this[_0x3d92ed(0x1a2)]===X['UNIVER_DOC']){const {unitID:_0x2e003f,mutations:_0x5018d6,memberID:_0x36e8f7}=_0x405ebe,_0x112b13=_0x5018d6[0x0][_0x3d92ed(0x3b1)]['textRanges'];Array['isArray'](_0x112b13)&&_0x112b13[_0x3d92ed(0x374)]>0x0&&((_0x2cb6ca=(_0x3f4879=this[_0x3d92ed(0x219)])[_0x3d92ed(0x26e)])==null||_0x2cb6ca[_0x3d92ed(0x2d9)](_0x3f4879,{'unitID':_0x2e003f,'memberID':_0x36e8f7,'textRanges':_0x112b13}));}}[_0x2915d5(0xd8)](){var _0x34b0fc=_0x2915d5,_0x2ce4fa;(_0x2ce4fa=this[_0x34b0fc(0x372)])==null||_0x2ce4fa[_0x34b0fc(0x191)](this['unitID'],this[_0x34b0fc(0x1a2)],this[_0x34b0fc(0x17b)],this[_0x34b0fc(0x312)]);}[_0x2915d5(0xe4)](){var _0x10ade4=_0x2915d5;return this[_0x10ade4(0x2dc)]['getCurrentRevOfUnit'](this[_0x10ade4(0x189)]);}[_0x2915d5(0x115)](){var _0x2ca78c=_0x2915d5;this[_0x2ca78c(0x2dc)][_0x2ca78c(0x3a1)](this['unitID']);}[_0x2915d5(0x3b7)](_0x4f3637){var _0x5698d5=_0x2915d5,_0x3f2432;let _0x11c066=this[_0x5698d5(0x134)](_0x4f3637);_0x11c066=this[_0x5698d5(0x16b)](_0x11c066);const _0x4cc7c6=a[_0x5698d5(0xbb)](_0x11c066[_0x5698d5(0xdd)],this[_0x5698d5(0x3a4)],{'fromCollab':!0x0});if(!_0x4cc7c6['result'])throw _0x4cc7c6[_0x5698d5(0x335)]instanceof Error?_0x4cc7c6[_0x5698d5(0x335)]:new Error((_0x3f2432=_0x4cc7c6['error'])!=null?_0x3f2432:_0x5698d5(0x20a));this[_0x5698d5(0x22f)](_0x11c066),this[_0x5698d5(0x2cb)](_0x11c066),this[_0x5698d5(0x371)](_0x4f3637),this[_0x5698d5(0x117)](_0x11c066),this[_0x5698d5(0x2a3)](_0x11c066),this[_0x5698d5(0x115)]();}}exports[_0x2915d5(0x33c)]=class extends he{constructor(_0x1c77a3,_0x283bdb,_0x488ec1,_0x55c680,_0x5ae92c,_0x2a94a4,_0x3456f6,_0x49d317,_0x50fd02,_0x196891){var _0x33b6f8=_0x2915d5;super(_0x1c77a3,_0x283bdb,null,[],_0x488ec1,_0x3456f6,_0x2a94a4,_0x55c680,_0x196891),A(this,'status',_0x33b6f8(0x24d)),(this['_injector']=_0x5ae92c,this['_logService']=_0x49d317,this[_0x33b6f8(0x3e7)]=_0x50fd02,this[_0x33b6f8(0x327)]=_0x196891);}['appendMutation'](_0x4f27b4){var _0x56bc71=_0x2915d5;const _0x334842=this['_injector']['createInstance'](exports['PendingState'],this[_0x56bc71(0x189)],this[_0x56bc71(0x1a2)],[_0x4f27b4],this[_0x56bc71(0x219)]);return _0x334842[_0x56bc71(0x19d)](),_0x334842[_0x56bc71(0xd8)](),_0x334842;}[_0x2915d5(0x253)](_0x350da6){var _0x647a68=_0x2915d5;if(this['_checkMissing'](_0x350da6))return this['_injector'][_0x647a68(0xbc)](exports[_0x647a68(0x23a)],this[_0x647a68(0x189)],this[_0x647a68(0x1a2)],null,[],null,[_0x350da6],this[_0x647a68(0x219)]);try{const _0x399dde=this[_0x647a68(0x3e7)][_0x647a68(0x3fa)](_0x350da6,[Ii]);if(g[_0x647a68(0x13b)](_0x399dde)){const {c1Prime:_0x579f01}=_0x399dde;return this[_0x647a68(0x3b7)](_0x579f01),this;}throw _0x399dde[_0x647a68(0x335)];}catch(_0x39a2a0){return this[_0x647a68(0x1f2)][_0x647a68(0x335)](_0x39a2a0),this[_0x647a68(0x16d)](!0x1);}}[_0x2915d5(0x16d)](_0x47a36d){var _0x258cfd=_0x2915d5;return this['_injector'][_0x258cfd(0xbc)](exports['ConflictState'],this[_0x258cfd(0x189)],this['type'],null,[],this['_handler'],_0x47a36d);}[_0x2915d5(0x307)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2915d5(0x379)](){return this;}[_0x2915d5(0x1a9)](){var _0x40f18e=_0x2915d5;return this[_0x40f18e(0x290)]['createInstance'](exports['OfflineState'],this[_0x40f18e(0x189)],this[_0x40f18e(0x1a2)],null,[],this[_0x40f18e(0x219)]);}['toggleOnline'](){return this;}[_0x2915d5(0x2d4)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2915d5(0x3ce)](){var _0x4543a9=_0x2915d5;const _0x141024=this[_0x4543a9(0x2dc)][_0x4543a9(0x355)](this['unitID']);return this[_0x4543a9(0x219)][_0x4543a9(0x103)]({'from':_0x141024,'to':0x0}),this[_0x4543a9(0x290)][_0x4543a9(0xbc)](exports['FetchingMissState'],this['unitID'],this[_0x4543a9(0x1a2)],null,[],null,[],this[_0x4543a9(0x219)]);}},exports['SyncedState']=ce([w(0x3,a['Inject'](g['RevisionService'])),w(0x4,a[_0x2915d5(0x352)](a['Injector'])),w(0x5,a[_0x2915d5(0x30a)]),w(0x6,a[_0x2915d5(0xba)]),w(0x7,a[_0x2915d5(0x10c)]),w(0x8,g[_0x2915d5(0x3af)]),w(0x9,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x33c)]),exports['PendingState']=class extends he{constructor(_0x47af87,_0x3ec766,_0x3644c6,_0x5ae5b5,_0x4887da,_0x21b780,_0x4b1ea4,_0x3bc43b,_0x2b89fd,_0x4fa20f,_0x5cdbcb,_0x1dca1c,_0x2cef58,_0x569fc8){var _0x141916=_0x2915d5;super(_0x47af87,_0x3ec766,null,_0x3644c6,_0x5ae5b5,_0x2b89fd,_0x2cef58,_0x21b780,_0x569fc8),A(this,_0x141916(0x3df),_0x141916(0xe2)),A(this,_0x141916(0x1fb),null),A(this,_0x141916(0x2b8),null),(this['_injector']=_0x4887da,this['_memberService']=_0x4b1ea4,this['_logService']=_0x3bc43b,this[_0x141916(0x1a6)]=_0x4fa20f,this[_0x141916(0x3e7)]=_0x5cdbcb,this[_0x141916(0x9d)]=_0x1dca1c);}[_0x2915d5(0x13c)](_0xbb03aa){var _0xb40822=_0x2915d5;return this[_0xb40822(0x312)][_0xb40822(0x2a2)](_0xbb03aa),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x55ead4){var _0x38221d=_0x2915d5;if(this['_checkMissing'](_0x55ead4))return this[_0x38221d(0x3a7)](),this['_injector'][_0x38221d(0xbc)](exports[_0x38221d(0x23a)],this[_0x38221d(0x189)],this['type'],null,this[_0x38221d(0x312)],null,[_0x55ead4],this[_0x38221d(0x219)]);try{const _0x130c8e=this['_transformService']['transformMutationsWithChangeset'](_0x55ead4,this[_0x38221d(0x312)]);if(g[_0x38221d(0x13b)](_0x130c8e)){const {c1Prime:_0x424efa,m2Prime:_0x339e03}=_0x130c8e;this['_executeRemoteChangeset'](_0x424efa);const _0x46efea=this[_0x38221d(0x290)][_0x38221d(0xbc)](exports['PendingState'],this['unitID'],this[_0x38221d(0x1a2)],_0x339e03,this[_0x38221d(0x219)]);this[_0x38221d(0x3a7)]();const _0x2ff7e1=new Date()[_0x38221d(0x11d)](),_0x4ce8ce=this[_0x38221d(0x1fb)]?Math[_0x38221d(0x19f)](this['_scheduleCompleteTimestamp']-_0x2ff7e1,0x0):this[_0x38221d(0x196)]();return _0x46efea[_0x38221d(0x19d)](_0x4ce8ce),_0x46efea;}throw _0x130c8e[_0x38221d(0x335)];}catch(_0x3c7e4e){return this[_0x38221d(0x1f2)][_0x38221d(0x335)](_0x3c7e4e),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x57be7d=_0x2915d5;throw new Error(_0x57be7d(0x151));}[_0x2915d5(0x303)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2915d5(0x379)](){return this;}[_0x2915d5(0x1a9)](){var _0x3640fa=_0x2915d5;return this[_0x3640fa(0x3a7)](),this[_0x3640fa(0x290)]['createInstance'](exports[_0x3640fa(0x35c)],this['unitID'],this[_0x3640fa(0x1a2)],null,this[_0x3640fa(0x312)],this[_0x3640fa(0x219)]);}[_0x2915d5(0x397)](){return this;}[_0x2915d5(0x19d)](_0x29777b){var _0x18d12a=_0x2915d5;const _0x4144e2=_0x29777b!=null?_0x29777b:this[_0x18d12a(0x196)]();this['_scheduleCompleteTimestamp']=new Date()[_0x18d12a(0x11d)]()+_0x4144e2,this['_sendingTimer']=setTimeout(()=>{var _0xdc3119=_0x18d12a;this[_0xdc3119(0x3a7)]();let _0x292f6d=null;switch(this['type']){case X[_0xdc3119(0x249)]:{_0x292f6d=ze(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0xdc3119(0x2dc)],this[_0xdc3119(0xb9)]);break;}case X['UNIVER_DOC']:{this[_0xdc3119(0x312)][_0xdc3119(0x116)](_0x2dc94e=>_0x2dc94e['id']===ut[_0xdc3119(0x217)]['id'])?_0x292f6d=mi(this[_0xdc3119(0x312)],this[_0xdc3119(0x189)],this['_univerInstanceService'],this[_0xdc3119(0x2dc)],this[_0xdc3119(0xb9)]):_0x292f6d=ze(this[_0xdc3119(0x312)],this[_0xdc3119(0x189)],this[_0xdc3119(0x9d)],this['_revisionService'],this[_0xdc3119(0xb9)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x254d4d,pendingMutations:_0x37e46b}=_0x292f6d;this[_0xdc3119(0x219)][_0xdc3119(0x200)](_0x254d4d);const _0x22473f=_0x37e46b[_0xdc3119(0x374)]?this[_0xdc3119(0x290)][_0xdc3119(0xbc)](exports[_0xdc3119(0x11c)],this[_0xdc3119(0x189)],this[_0xdc3119(0x1a2)],_0x254d4d,_0x37e46b,this['_handler'],void 0x0):this[_0xdc3119(0x290)][_0xdc3119(0xbc)](exports[_0xdc3119(0x298)],this[_0xdc3119(0x189)],this[_0xdc3119(0x1a2)],_0x254d4d,this['_handler']);_0x22473f[_0xdc3119(0xd8)](),this[_0xdc3119(0x219)][_0xdc3119(0x92)](this,_0x22473f);},_0x4144e2);}[_0x2915d5(0x196)](){var _0x54f567=_0x2915d5,_0x40ac67;const _0x570940=this[_0x54f567(0x1a6)][_0x54f567(0x14a)](Y);return(_0x40ac67=_0x570940==null?void 0x0:_0x570940['sendChangesetTimeout'])!=null?_0x40ac67:jt;}['resend'](){var _0x5219d4=_0x2915d5;throw new Error(_0x5219d4(0x3f3));}[_0x2915d5(0x3a7)](){var _0xf8eb96=_0x2915d5;this[_0xf8eb96(0x2b8)]!=null&&(clearTimeout(this[_0xf8eb96(0x2b8)]),this[_0xf8eb96(0x2b8)]=null);}[_0x2915d5(0x16d)](_0x51fa31){var _0x1dbc82=_0x2915d5;return this[_0x1dbc82(0x3a7)](),this['_injector'][_0x1dbc82(0xbc)](exports[_0x1dbc82(0xc0)],this[_0x1dbc82(0x189)],this[_0x1dbc82(0x1a2)],null,this['_pendingMutations'],this[_0x1dbc82(0x219)],_0x51fa31);}},exports[_0x2915d5(0x3f4)]=ce([w(0x4,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a[_0x2915d5(0x10c)]),w(0x8,a[_0x2915d5(0xba)]),w(0x9,a[_0x2915d5(0x2af)]),w(0xa,g[_0x2915d5(0x3af)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x2915d5(0x30a)]),w(0xd,a[_0x2915d5(0x12d)](z))],exports['PendingState']),exports['AwaitingState']=class extends he{constructor(_0x2ab17c,_0x415c4a,_0x48db85,_0x27e874,_0x504286,_0x5edc48,_0x27b339,_0x1d4d08,_0x553c2d,_0x493456,_0x129dc5){var _0x315a6b=_0x2915d5;super(_0x2ab17c,_0x415c4a,_0x48db85,[],_0x27e874,_0x27b339,_0x493456,_0x5edc48,_0x129dc5),A(this,_0x315a6b(0x3df),_0x315a6b(0x394)),A(this,'_resendTimeout',0x0),A(this,_0x315a6b(0x334)),A(this,'_sender'),(this[_0x315a6b(0x290)]=_0x504286,this[_0x315a6b(0x1f2)]=_0x1d4d08,this['_transformService']=_0x553c2d);}['appendMutation'](_0x1cf0ee){var _0x20c6f8=_0x2915d5;this[_0x20c6f8(0x3a7)]();const _0x3b3e49=this['_injector'][_0x20c6f8(0xbc)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],this[_0x20c6f8(0x17b)],[_0x1cf0ee],this[_0x20c6f8(0x219)],this[_0x20c6f8(0x334)]);return _0x3b3e49[_0x20c6f8(0xd8)](),_0x3b3e49;}['onRemoteChangeset'](_0x276ebc){var _0x31105e=_0x2915d5;if(this[_0x31105e(0x25f)](_0x276ebc))return this[_0x31105e(0x3a7)](),this[_0x31105e(0x290)]['createInstance'](exports[_0x31105e(0x23a)],this[_0x31105e(0x189)],this[_0x31105e(0x1a2)],this[_0x31105e(0x17b)],[],null,[_0x276ebc],this[_0x31105e(0x219)]);try{const _0x512a74=this['_transformService'][_0x31105e(0x34f)]([_0x276ebc],[this[_0x31105e(0x17b)]],!0x1);if(g[_0x31105e(0xa9)](_0x512a74)){const {c1Prime:_0x2a117c,c2Prime:_0x29c7d0}=_0x512a74;this[_0x31105e(0x3b7)](_0x2a117c[0x0]),_0x29c7d0[0x0][_0x31105e(0x8c)]=this[_0x31105e(0xe4)](),this[_0x31105e(0x3a7)]();const _0x5b5745=this[_0x31105e(0x290)]['createInstance'](exports[_0x31105e(0x298)],this['unitID'],this['type'],_0x29c7d0[0x0],this[_0x31105e(0x219)]);return _0x5b5745[_0x31105e(0xd8)](),_0x5b5745;}return this['_onConflict'](!0x1);}catch(_0x9051ee){return this[_0x31105e(0x1f2)][_0x31105e(0x335)](_0x9051ee),this[_0x31105e(0x16d)](!0x1);}}[_0x2915d5(0x307)](_0x5adc74){var _0x21e2d6=_0x2915d5;this['_clearScheduledTask']();const _0x2ad7d1=this['_revisionService'][_0x21e2d6(0x355)](this['unitID']);if(_0x5adc74[_0x21e2d6(0xee)]<_0x2ad7d1-0x1)return this;if(this[_0x21e2d6(0x25f)](_0x5adc74))return this[_0x21e2d6(0x290)][_0x21e2d6(0xbc)](exports['FetchingMissState'],this[_0x21e2d6(0x189)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x21e2d6(0x219)]);this[_0x21e2d6(0x115)]();const _0x178669=this[_0x21e2d6(0x290)][_0x21e2d6(0xbc)](exports['SyncedState'],this[_0x21e2d6(0x189)],this[_0x21e2d6(0x1a2)],this['_handler']);return _0x178669[_0x21e2d6(0xd8)](),_0x178669;}['onRemoteRej'](_0x58af2b){var _0x32ffff=_0x2915d5;return this[_0x32ffff(0x16d)](!!(_0x58af2b!=null&&_0x58af2b[_0x32ffff(0x133)]));}[_0x2915d5(0x379)](_0x211738){var _0x3f44dc=_0x2915d5;return this[_0x3f44dc(0x286)]>Nt?this[_0x3f44dc(0x1a9)]():(this['_resendTimer']=Ot(this['_resendTimeout'],{'timeout':this[_0x3f44dc(0x286)],'reqId':_0x211738[_0x3f44dc(0x3a9)]}),this['_sender']=this[_0x3f44dc(0x334)][_0x3f44dc(0x1fd)](({reqId:_0x3ade6c,timeout:_0xfac7ec})=>{var _0x436a93=_0x3f44dc;this[_0x436a93(0x31e)](_0x3ade6c,_0xfac7ec);}),this);}['toggleOffline'](){var _0x5efe9f=_0x2915d5;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x5efe9f(0x35c)],this['unitID'],this['type'],this[_0x5efe9f(0x17b)],[],this[_0x5efe9f(0x219)]);}[_0x2915d5(0x397)](){return this;}[_0x2915d5(0x2d4)](){var _0x2d54d3=_0x2915d5;this['_handler'][_0x2d54d3(0x200)](this['_awaitingChangeset']);}['_onConflict'](_0x351a57){var _0x1b7ed8=_0x2915d5;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this[_0x1b7ed8(0x1a2)],this[_0x1b7ed8(0x17b)],[],this[_0x1b7ed8(0x219)],_0x351a57);}['_resendWithTimeout'](_0x148125,_0x37add7){var _0x2d4fe9=_0x2915d5,_0x29f90b;_0x148125===((_0x29f90b=this[_0x2d4fe9(0x17b)])==null?void 0x0:_0x29f90b[_0x2d4fe9(0x3a9)])&&(this['resend'](),this[_0x2d4fe9(0x286)]=_0x37add7===0x0?0x3e8:_0x37add7*0x2);}[_0x2915d5(0x3a7)](){var _0x51e38d=_0x2915d5,_0xb76474;(_0xb76474=this[_0x51e38d(0x36a)])==null||_0xb76474[_0x51e38d(0x1fa)](),this[_0x51e38d(0x286)]=0x0;}},exports[_0x2915d5(0x298)]=ce([w(0x4,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),w(0x5,a['Inject'](g[_0x2915d5(0x1d6)])),w(0x6,a['ICommandService']),w(0x7,a[_0x2915d5(0x10c)]),w(0x8,g[_0x2915d5(0x3af)]),w(0x9,a[_0x2915d5(0x30a)]),w(0xa,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x298)]),exports[_0x2915d5(0x11c)]=class extends he{constructor(_0x46ef29,_0x4a5e4a,_0x4641f1,_0x453937,_0x768cbe,_0x5bbc9,_0x302da1,_0x1308b4,_0x3604b3,_0x46e02c,_0x31ce93,_0x478ec2,_0x2a779a){var _0x29e574=_0x2915d5;super(_0x46ef29,_0x4a5e4a,_0x4641f1,_0x453937,_0x768cbe,_0x3604b3,_0x478ec2,_0x1308b4,_0x2a779a),A(this,_0x29e574(0x3df),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x29e574(0x290)]=_0x302da1,this[_0x29e574(0x1f2)]=_0x46e02c,this[_0x29e574(0x3e7)]=_0x31ce93,this[_0x29e574(0x327)]=_0x2a779a,_0x5bbc9&&(this[_0x29e574(0x334)]=_0x5bbc9,this[_0x29e574(0x36a)]=this[_0x29e574(0x334)][_0x29e574(0x1fd)](({reqId:_0x1bb680,timeout:_0x1cdc90})=>{var _0x2a38=_0x29e574;this[_0x2a38(0x31e)](_0x1bb680,_0x1cdc90);})));}[_0x2915d5(0x13c)](_0x269b77){var _0x3292d2=_0x2915d5;return this[_0x3292d2(0x312)][_0x3292d2(0x2a2)](_0x269b77),this;}[_0x2915d5(0x253)](_0x25f4c7){var _0x45b266=_0x2915d5;if(this[_0x45b266(0x25f)](_0x25f4c7))return this[_0x45b266(0x3a7)](),this[_0x45b266(0x290)][_0x45b266(0xbc)](exports[_0x45b266(0x23a)],this[_0x45b266(0x189)],this['type'],this['_awaitingChangeset'],this[_0x45b266(0x312)],null,[_0x25f4c7],this[_0x45b266(0x219)]);try{const _0x5136bb=this['_transformService']['transformChangesets']([_0x25f4c7],[this[_0x45b266(0x17b)]],!0x1);if(g[_0x45b266(0xa9)](_0x5136bb)){const {c1Prime:_0x233ef7,c2Prime:_0x595dcc}=_0x5136bb,_0xc66adb=this[_0x45b266(0x3e7)][_0x45b266(0x3fa)](_0x233ef7[0x0],this['_pendingMutations']);if(g[_0x45b266(0x13b)](_0xc66adb)){const {c1Prime:_0x42ac12,m2Prime:_0x38e41f}=_0xc66adb;return this[_0x45b266(0x3b7)](_0x42ac12),_0x595dcc[0x0]['baseRev']=this[_0x45b266(0xe4)](),this[_0x45b266(0x3a7)](),this['_injector'][_0x45b266(0xbc)](exports[_0x45b266(0x11c)],this[_0x45b266(0x189)],this[_0x45b266(0x1a2)],_0x595dcc[0x0],_0x38e41f,this[_0x45b266(0x219)],void 0x0);}throw _0xc66adb[_0x45b266(0x335)];}throw _0x5136bb[_0x45b266(0x335)];}catch(_0x2fb003){return this[_0x45b266(0x1f2)]['error'](_0x2fb003),this[_0x45b266(0x16d)](!0x1);}}[_0x2915d5(0x307)](_0x29320d){var _0x5b8757=_0x2915d5;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x29320d))return this['_injector']['createInstance'](exports[_0x5b8757(0x23a)],this['unitID'],this[_0x5b8757(0x1a2)],null,this['_pendingMutations'],this[_0x5b8757(0x17b)],[],this[_0x5b8757(0x219)]);this[_0x5b8757(0x115)]();const _0x2cd6f7=this[_0x5b8757(0x290)][_0x5b8757(0xbc)](exports[_0x5b8757(0x3f4)],this[_0x5b8757(0x189)],this[_0x5b8757(0x1a2)],this[_0x5b8757(0x312)],this[_0x5b8757(0x219)]);return _0x2cd6f7[_0x5b8757(0x19d)](),_0x2cd6f7[_0x5b8757(0xd8)](),_0x2cd6f7;}['onRemoteRej'](_0x22cca4){var _0x23f200=_0x2915d5;return this['_onConflict'](!!(_0x22cca4!=null&&_0x22cca4[_0x23f200(0x133)]));}[_0x2915d5(0x379)](_0xc92118){var _0x5e9f59=_0x2915d5;return this['_resendTimeout']>Nt?this[_0x5e9f59(0x1a9)]():(this[_0x5e9f59(0x334)]=Ot(this[_0x5e9f59(0x286)],{'timeout':this['_resendTimeout'],'reqId':_0xc92118['reqId']}),this[_0x5e9f59(0x36a)]=this[_0x5e9f59(0x334)][_0x5e9f59(0x1fd)](({reqId:_0x585523,timeout:_0x537394})=>{var _0x5c7638=_0x5e9f59;this[_0x5c7638(0x31e)](_0x585523,_0x537394);}),this);}[_0x2915d5(0x1a9)](){var _0x943414=_0x2915d5;return this[_0x943414(0x3a7)](),this[_0x943414(0x290)]['createInstance'](exports[_0x943414(0x35c)],this['unitID'],this[_0x943414(0x1a2)],this[_0x943414(0x17b)],this['_pendingMutations'],this[_0x943414(0x219)]);}[_0x2915d5(0x397)](){return this;}[_0x2915d5(0x2d4)](){var _0x2d1b5c=_0x2915d5;this[_0x2d1b5c(0x219)][_0x2d1b5c(0x200)](this[_0x2d1b5c(0x17b)]);}[_0x2915d5(0x16d)](_0x10446c){var _0xbfd184=_0x2915d5;return this[_0xbfd184(0x3a7)](),this[_0xbfd184(0x290)][_0xbfd184(0xbc)](exports['ConflictState'],this['unitID'],this[_0xbfd184(0x1a2)],null,this[_0xbfd184(0x312)],this[_0xbfd184(0x219)],_0x10446c);}[_0x2915d5(0x31e)](_0x349f56,_0x28fbcd){var _0x223467=_0x2915d5,_0x5a9eff;_0x349f56===((_0x5a9eff=this[_0x223467(0x17b)])==null?void 0x0:_0x5a9eff['reqId'])&&(this['resend'](),this[_0x223467(0x286)]=_0x28fbcd===0x0?0x3e8:_0x28fbcd*0x2);}['_clearScheduledTask'](){var _0x875b6e=_0x2915d5,_0x15c403;(_0x15c403=this[_0x875b6e(0x36a)])==null||_0x15c403[_0x875b6e(0x1fa)](),this[_0x875b6e(0x286)]=0x0;}},exports[_0x2915d5(0x11c)]=ce([w(0x6,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),w(0x7,a[_0x2915d5(0x352)](g[_0x2915d5(0x1d6)])),w(0x8,a[_0x2915d5(0xba)]),w(0x9,a[_0x2915d5(0x10c)]),w(0xa,g[_0x2915d5(0x3af)]),w(0xb,a[_0x2915d5(0x30a)]),w(0xc,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x11c)]),exports[_0x2915d5(0xc0)]=class extends he{constructor(_0x5947c4,_0x2f9fd7,_0x356840,_0x42d8a4,_0x4fffec,_0x28fac4=!0x1,_0x166b55,_0x487f29,_0x3c7dee,_0x584d6d,_0x44b67c,_0x10dded,_0x429b8f){var _0x88ad1e=_0x2915d5;super(_0x5947c4,_0x2f9fd7,_0x356840,_0x42d8a4,_0x4fffec,_0x487f29,_0x3c7dee,_0x584d6d,_0x429b8f),A(this,_0x88ad1e(0x3df),_0x88ad1e(0x10f)),(this['_isPermissionRej']=_0x28fac4,this[_0x88ad1e(0x194)]=_0x166b55,this[_0x88ad1e(0xc8)]=_0x44b67c,this[_0x88ad1e(0x39a)]=_0x10dded,this[_0x88ad1e(0x327)]=_0x429b8f,this[_0x88ad1e(0x2d6)](),this[_0x88ad1e(0xd0)](),this['_disableEditing']());}[_0x2915d5(0x13c)](){return this;}[_0x2915d5(0x253)](){return this;}[_0x2915d5(0x307)](){return this;}['onRemoteRej'](){return this;}[_0x2915d5(0x379)](){return this;}[_0x2915d5(0x1a9)](){return this;}[_0x2915d5(0x397)](){return this;}[_0x2915d5(0x2d4)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xa3b701=_0x2915d5,_0x339be9;(_0x339be9=this[_0xa3b701(0x372)])==null||_0x339be9[_0xa3b701(0x191)](this['unitID'],this[_0xa3b701(0x1a2)],null,[]);}[_0x2915d5(0x2d6)](){var _0x287f45=_0x2915d5;this[_0x287f45(0x3cf)]?this[_0x287f45(0x39a)][_0x287f45(0x2c3)]({'id':Q[_0x287f45(0x3c3)]}):this[_0x287f45(0x39a)]['emitEvent']({'id':Q[_0x287f45(0xb6)]});}[_0x2915d5(0x17e)](){var _0x4441bd=_0x2915d5;this['_permissionService'][_0x4441bd(0x338)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x2915d5(0xba)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](g['RevisionService'])),w(0xa,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0xc0)]),exports[_0x2915d5(0x35c)]=class extends he{constructor(_0x26a1db,_0x3624d3,_0x3c93c9,_0x275fc1,_0x43a074,_0x3cb59a,_0x28c611,_0x573b36,_0xbefb0f,_0x59c098){var _0xac9df5=_0x2915d5;super(_0x26a1db,_0x3624d3,_0x3c93c9,_0x275fc1,_0x43a074,_0x573b36,_0xbefb0f,_0x28c611,_0x59c098),A(this,_0xac9df5(0x3df),_0xac9df5(0x353)),this[_0xac9df5(0x290)]=_0x3cb59a;}['appendMutation'](_0x28ea55){var _0x5a0b8e=_0x2915d5;return this[_0x5a0b8e(0x312)][_0x5a0b8e(0x2a2)](_0x28ea55),this['_updateLocalCache'](),this;}[_0x2915d5(0x253)](_0x200297){var _0x2e20a5=_0x2915d5;throw new Error(_0x2e20a5(0x3ad));}['onRemoteAck'](){var _0x57b223=_0x2915d5;throw new Error(_0x57b223(0x193));}[_0x2915d5(0x303)](){var _0x3e9082=_0x2915d5;throw new Error(_0x3e9082(0x1f5));}[_0x2915d5(0x379)](){return this;}[_0x2915d5(0x1a9)](){return this;}[_0x2915d5(0x397)](){var _0x56f3d0=_0x2915d5;const {_injector:_0x4ca9bf,_pendingMutations:_0x5f4b01,_awaitingChangeset:_0x4be471,unitID:_0x5d902a,_handler:_0x312da7,type:_0x4c5fe4}=this,_0x5df535=Dt(_0x4ca9bf,_0x5d902a,_0x4c5fe4,_0x4be471,_0x5f4b01,_0x312da7);return _0x5df535 instanceof exports[_0x56f3d0(0x3f4)]?_0x5df535[_0x56f3d0(0x19d)]():(_0x5df535 instanceof exports[_0x56f3d0(0x11c)]||_0x5df535 instanceof exports[_0x56f3d0(0x298)])&&_0x5df535[_0x56f3d0(0x2d4)](),_0x5df535;}[_0x2915d5(0x2d4)](){var _0x45d30e=_0x2915d5;throw new Error(_0x45d30e(0x1bc));}},exports[_0x2915d5(0x35c)]=ce([w(0x5,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),w(0x6,a['Inject'](g['RevisionService'])),w(0x7,a[_0x2915d5(0xba)]),w(0x8,a[_0x2915d5(0x30a)]),w(0x9,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x35c)]),exports[_0x2915d5(0x23a)]=class extends he{constructor(_0x3dd02b,_0x384789,_0x35f525,_0x919021,_0x2f674f,_0x868eeb,_0x2f7714,_0x1f0dbb,_0x15350d,_0x4f2438,_0x3eb3f3,_0x56a65c,_0x207fb3,_0x3f4b8a){var _0x2a14a8=_0x2915d5;super(_0x3dd02b,_0x384789,_0x35f525,_0x919021,_0x2f7714,_0x3eb3f3,_0x56a65c,_0x15350d,_0x3f4b8a),A(this,_0x2a14a8(0x3df),_0x2a14a8(0xfa)),(this['_acknowledgedAwaitingChangeset']=_0x2f674f,this[_0x2a14a8(0x15c)]=_0x868eeb,this[_0x2a14a8(0x290)]=_0x1f0dbb,this['_logService']=_0x4f2438,this[_0x2a14a8(0x3e7)]=_0x207fb3,this[_0x2a14a8(0x327)]=_0x3f4b8a);}['onMissedChangesetFetched'](_0x45cd19){var _0x4b3577=_0x2915d5;try{const _0x8f5fce=[..._0x45cd19,...this[_0x4b3577(0x15c)]],_0x29f417=[this[_0x4b3577(0x17b)]||this[_0x4b3577(0x244)]]['filter'](_0x41c6c2=>!!_0x41c6c2);let _0x1506fa,_0x447ef9;if(_0x29f417['length']){const _0x44fa3f=this['_transformService']['transformChangesets'](_0x8f5fce,_0x29f417,!0x1);if(!g[_0x4b3577(0xa9)](_0x44fa3f))throw _0x44fa3f[_0x4b3577(0x335)];_0x1506fa=_0x44fa3f['c1Prime'],_0x447ef9=_0x44fa3f['c2Prime'];}else _0x1506fa=_0x8f5fce,_0x447ef9=[];let _0x113a77=this[_0x4b3577(0x312)];_0x1506fa[_0x4b3577(0x306)](_0x941018=>{var _0x45c734=_0x4b3577;let _0x37b924;if(_0x113a77['length']){const _0x1e4717=this[_0x45c734(0x3e7)][_0x45c734(0x3fa)](_0x941018,_0x113a77);if(!g['isTransformMutationsWithChangesetSuccess'](_0x1e4717))throw _0x1e4717[_0x45c734(0x335)];_0x37b924=_0x1e4717[_0x45c734(0x325)],_0x113a77=_0x1e4717[_0x45c734(0xbe)];}else _0x37b924=_0x941018;this[_0x45c734(0x3b7)](_0x37b924);}),this[_0x4b3577(0x244)]&&this[_0x4b3577(0x115)](),this[_0x4b3577(0x17b)]&&_0x447ef9[_0x4b3577(0x374)]&&(_0x447ef9[0x0][_0x4b3577(0x8c)]=this[_0x4b3577(0xe4)]());let _0x38e683;if(this[_0x4b3577(0x17b)]&&_0x113a77[_0x4b3577(0x374)]!==0x0)_0x38e683=this[_0x4b3577(0x290)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x4b3577(0x189)],this[_0x4b3577(0x1a2)],_0x447ef9[0x0],_0x113a77,this[_0x4b3577(0x219)],void 0x0);else{if(this['_awaitingChangeset']&&_0x113a77[_0x4b3577(0x374)]===0x0)_0x447ef9[0x0][_0x4b3577(0x8c)]=this[_0x4b3577(0xe4)](),_0x38e683=this[_0x4b3577(0x290)]['createInstance'](exports[_0x4b3577(0x298)],this[_0x4b3577(0x189)],this[_0x4b3577(0x1a2)],_0x447ef9[0x0],this[_0x4b3577(0x219)]);else{if(_0x113a77[_0x4b3577(0x374)]!==0x0){const _0x462086=this['_injector'][_0x4b3577(0xbc)](exports[_0x4b3577(0x3f4)],this[_0x4b3577(0x189)],this[_0x4b3577(0x1a2)],_0x113a77,this[_0x4b3577(0x219)]);_0x462086[_0x4b3577(0x19d)](),_0x38e683=_0x462086;}else _0x38e683=this[_0x4b3577(0x290)]['createInstance'](exports['SyncedState'],this[_0x4b3577(0x189)],this['type'],this[_0x4b3577(0x219)]);}}return _0x38e683[_0x4b3577(0xd8)](),_0x38e683;}catch(_0x1a884c){return this[_0x4b3577(0x1f2)][_0x4b3577(0x335)](_0x4b3577(0xf0),_0x4b3577(0x156),_0x1a884c),this[_0x4b3577(0x290)][_0x4b3577(0xbc)](exports['ConflictState'],this[_0x4b3577(0x189)],this['type'],this['_awaitingChangeset'],this[_0x4b3577(0x312)],this['_handler'],!0x1);}}[_0x2915d5(0x2d4)](){var _0x1468f5=_0x2915d5;throw new Error(_0x1468f5(0xd5));}[_0x2915d5(0x13c)](_0x5723ed){var _0x407c17=_0x2915d5;return this['_pendingMutations'][_0x407c17(0x2a2)](_0x5723ed),this;}[_0x2915d5(0x253)](_0x3133de){var _0x568bd0=_0x2915d5;return this[_0x568bd0(0x15c)][_0x568bd0(0x2a2)](_0x3133de),this;}[_0x2915d5(0x307)](_0x4644e0){var _0x55ae6a=_0x2915d5;if(this[_0x55ae6a(0x17b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x55ae6a(0x17b)]=null,this;throw new Error(_0x55ae6a(0x204));}[_0x2915d5(0x303)](_0x927c0c){return this['_onConflict'](!!(_0x927c0c!=null&&_0x927c0c['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2915d5(0x1a9)](){var _0x1b43b4=_0x2915d5;return this['_injector']['createInstance'](exports['OfflineState'],this[_0x1b43b4(0x189)],this[_0x1b43b4(0x1a2)],this['_awaitingChangeset'],this[_0x1b43b4(0x312)],this[_0x1b43b4(0x219)]);}[_0x2915d5(0x397)](){return this;}[_0x2915d5(0x16d)](_0x5a113a){var _0x41eafe=_0x2915d5;return this[_0x41eafe(0x290)]['createInstance'](exports['ConflictState'],this[_0x41eafe(0x189)],this['type'],this[_0x41eafe(0x17b)],this[_0x41eafe(0x312)],this['_handler'],_0x5a113a);}},exports[_0x2915d5(0x23a)]=ce([w(0x7,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),w(0x8,a['Inject'](g[_0x2915d5(0x1d6)])),w(0x9,a[_0x2915d5(0x10c)]),w(0xa,a['ICommandService']),w(0xb,a[_0x2915d5(0x30a)]),w(0xc,g[_0x2915d5(0x3af)]),w(0xd,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x23a)]);function Dt(_0xca6f7,_0x15e2fc,_0x3b6f8a,_0x2e7b6e,_0x185e81,_0x3fd311){var _0xd072f=_0x2915d5;return _0x2e7b6e&&_0x185e81[_0xd072f(0x374)]?_0xca6f7['createInstance'](exports[_0xd072f(0x11c)],_0x15e2fc,_0x3b6f8a,_0x2e7b6e,_0x185e81,_0x3fd311,void 0x0):_0x2e7b6e?_0xca6f7['createInstance'](exports[_0xd072f(0x298)],_0x15e2fc,_0x3b6f8a,_0x2e7b6e,_0x3fd311):_0x185e81['length']?_0xca6f7[_0xd072f(0xbc)](exports[_0xd072f(0x3f4)],_0x15e2fc,_0x3b6f8a,_0x185e81,_0x3fd311):_0xca6f7[_0xd072f(0xbc)](exports[_0xd072f(0x33c)],_0x15e2fc,_0x3b6f8a,_0x3fd311);}var Ci=Object[_0x2915d5(0x13f)],We=(_0x59f9e7,_0x519320,_0x121824,_0x43f800)=>{var _0x305462=_0x2915d5;for(var _0x3e8cb9=_0x43f800>0x1?void 0x0:_0x43f800?Ci(_0x519320,_0x121824):_0x519320,_0x55777c=_0x59f9e7[_0x305462(0x374)]-0x1,_0x489e2c;_0x55777c>=0x0;_0x55777c--)(_0x489e2c=_0x59f9e7[_0x55777c])&&(_0x3e8cb9=_0x489e2c(_0x3e8cb9)||_0x3e8cb9);return _0x3e8cb9;},$=(_0x1e85b0,_0x1c15a3)=>(_0xb8424,_0x453e8f)=>_0x1c15a3(_0xb8424,_0x453e8f,_0x1e85b0);exports[_0x2915d5(0x284)]=class extends a['RxDisposable']{constructor(_0x108b44,_0x4b455a,_0x35c8eb,_0x552c1d,_0x1a4fa0,_0x465245,_0x3deadf,_0x1a5f86,_0x58fcca,_0x2e73c6,_0x120dcb,_0x519ff3,_0x487e39){var _0x5cb064=_0x2915d5;super(),A(this,_0x5cb064(0x1aa),new j[(_0x5cb064(0x30d))](null)),A(this,_0x5cb064(0xf1),this[_0x5cb064(0x1aa)][_0x5cb064(0x366)]()),A(this,_0x5cb064(0x208)),A(this,_0x5cb064(0x2aa),!0x1),A(this,_0x5cb064(0x2b6),''),A(this,_0x5cb064(0x3e2),0x0),A(this,_0x5cb064(0x3c5),this['state$'][_0x5cb064(0x19b)](j[_0x5cb064(0x2fd)](_0x7b7c1c=>_0x7b7c1c?_0x7b7c1c['status']:Ve[_0x5cb064(0x229)]),j['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x5cb064(0x29f),[]),(this[_0x5cb064(0x189)]=_0x108b44,this[_0x5cb064(0x313)]=_0x4b455a,this[_0x5cb064(0x3a6)]=_0x35c8eb,this[_0x5cb064(0x290)]=_0x552c1d,this[_0x5cb064(0x317)]=_0x1a4fa0,this[_0x5cb064(0xc8)]=_0x465245,this[_0x5cb064(0x2dc)]=_0x3deadf,this[_0x5cb064(0x1c4)]=_0x1a5f86,this['_logService']=_0x58fcca,this[_0x5cb064(0x3a4)]=_0x2e73c6,this['_permissionService']=_0x120dcb,this[_0x5cb064(0x148)]=_0x519ff3,this[_0x5cb064(0x372)]=_0x487e39);}get[_0x2915d5(0x1c1)](){var _0xc59cc1=_0x2915d5;return this[_0xc59cc1(0x208)];}async['init'](){var _0x4764c5=_0x2915d5;if(this[_0x4764c5(0x1c1)])throw new Error(_0x4764c5(0x31d));await this[_0x4764c5(0x2d5)]();}[_0x2915d5(0x114)](){var _0x3c94cd=_0x2915d5;return this[_0x3c94cd(0x2aa)]=!0x0,a[_0x3c94cd(0x281)](()=>{var _0xa641b5=_0x3c94cd;this[_0xa641b5(0x2aa)]=!0x1,this[_0xa641b5(0x198)]();});}['onLocalMutation'](_0xeadd2c){var _0x566fb4=_0x2915d5;this[_0x566fb4(0x142)](_0xeadd2c);}[_0x2915d5(0x19e)](_0x2cc504){var _0x1fc30b=_0x2915d5;this[_0x1fc30b(0x208)]=_0x2cc504,this[_0x1fc30b(0x1aa)][_0x1fc30b(0x3f2)](_0x2cc504);}async[_0x2915d5(0x2d5)](){var _0x3a5715=_0x2915d5,_0x5406b5;this[_0x3a5715(0x19e)](await this['_createInitialState']()),this[_0x3a5715(0x148)]&&((_0x5406b5=this[_0x3a5715(0x148)])==null||_0x5406b5[_0x3a5715(0x3e1)](this[_0x3a5715(0x189)]),this[_0x3a5715(0xcf)](this[_0x3a5715(0x148)]['getUnitStatus$'](this[_0x3a5715(0x189)])[_0x3a5715(0x1fd)](_0xe2eda0=>{var _0x37beb4=_0x3a5715;this[_0x37beb4(0x1f2)]['debug'](_0x37beb4(0x1f9),_0x37beb4(0xa0),_0xe2eda0),_0xe2eda0===Fe[_0x37beb4(0x248)]?(this['_eventService'][_0x37beb4(0x2c3)]({'id':Q[_0x37beb4(0x28d)]}),this[_0x37beb4(0x194)][_0x37beb4(0x338)](new Z[(_0x37beb4(0xab))](this[_0x37beb4(0x189)])['id'],!0x1),this['_permissionService'][_0x37beb4(0x1bf)](!0x1)):(this[_0x37beb4(0x194)][_0x37beb4(0x338)](new Z[(_0x37beb4(0xab))](this[_0x37beb4(0x189)])['id'],!0x0),this[_0x37beb4(0x194)][_0x37beb4(0x1bf)](!0x0));})));let _0x4d64d1=!0x1;return this[_0x3a5715(0xcf)](this[_0x3a5715(0x313)][_0x3a5715(0x407)][_0x3a5715(0x1fd)](_0x213954=>{var _0x45eab1=_0x3a5715;_0x213954===se[_0x45eab1(0x324)]?this[_0x45eab1(0x1f4)](_0x4d64d1):_0x213954===se[_0x45eab1(0x229)]&&(_0x4d64d1=!0x0,this['_toggleOffline']());})),this[_0x3a5715(0xcf)](this[_0x3a5715(0x313)]['event$'][_0x3a5715(0x1fd)](_0x892d22=>{var _0x1fd59f=_0x3a5715;try{switch(_0x892d22[_0x1fd59f(0x272)]){case g['CollaborationEvent'][_0x1fd59f(0x9b)]:{this[_0x1fd59f(0x37c)](g[_0x1fd59f(0x2c2)](_0x892d22[_0x1fd59f(0x158)]));break;}case g[_0x1fd59f(0x1e3)][_0x1fd59f(0x393)]:{this[_0x1fd59f(0xa3)](_0x892d22[_0x1fd59f(0x158)]);break;}case g['CollaborationEvent'][_0x1fd59f(0x3ec)]:{this['_onRemoteRejected']();break;}case g[_0x1fd59f(0x1e3)]['CHANGESET_SHOULD_RETRY']:{this[_0x1fd59f(0xf6)](_0x892d22['data']);break;}case g[_0x1fd59f(0x1e3)][_0x1fd59f(0x2ea)]:{this[_0x1fd59f(0x9e)](_0x892d22[_0x1fd59f(0x158)][_0x1fd59f(0x99)][_0x1fd59f(0x2fd)](_0xe52f3c=>g[_0x1fd59f(0x2c2)](_0xe52f3c)));break;}case g[_0x1fd59f(0x1e3)][_0x1fd59f(0x3b2)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x1fd59f(0x1e3)][_0x1fd59f(0x18f)]:break;}}catch(_0x490407){throw console[_0x1fd59f(0x335)](_0x1fd59f(0x1b9),_0x490407),_0x490407;}})),this['_state'];}[_0x2915d5(0x256)](){var _0x347e35=_0x2915d5;this[_0x347e35(0x29c)]=!0x1;}[_0x2915d5(0x160)](){var _0x23b294=_0x2915d5;if(this[_0x23b294(0x29c)])throw new Error(_0x23b294(0x378));this[_0x23b294(0x29c)]=!0x0;}[_0x2915d5(0x142)](_0x5e1c0){var _0x2e0a5b=_0x2915d5;this[_0x2e0a5b(0x160)](),this[_0x2e0a5b(0x19e)](this[_0x2e0a5b(0x208)][_0x2e0a5b(0x13c)](_0x5e1c0)),this[_0x2e0a5b(0x256)]();}[_0x2915d5(0x37c)](_0x2ad169){var _0x3a0634=_0x2915d5;if(!(_0x2ad169[_0x3a0634(0xee)]<=this[_0x3a0634(0x2dc)][_0x3a0634(0x355)](this[_0x3a0634(0x189)]))){if(this[_0x3a0634(0x2aa)]){this['_remoteChangesetQueue']['push'](_0x2ad169);return;}this[_0x3a0634(0x1f7)](_0x2ad169);}}[_0x2915d5(0x198)](){var _0x4d8616=_0x2915d5;this['_remoteChangesetQueue'][_0x4d8616(0x306)](_0x36f0b3=>this[_0x4d8616(0x1f7)](_0x36f0b3)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x437b08){var _0xd6e640=_0x2915d5;const _0x5ad05e=this['_compressMutationService'][_0xd6e640(0xe3)][_0xd6e640(0x226)](this[_0xd6e640(0x317)]['interceptor'][_0xd6e640(0x3f6)]()['COMPRESS_MUTATION_APPLY'])(_0x437b08[_0xd6e640(0xdd)],null)||_0x437b08[_0xd6e640(0xdd)],_0x2b308a={..._0x437b08,'mutations':_0x5ad05e};this['_lockTransition'](),this['_updateState'](this[_0xd6e640(0x208)]['onRemoteChangeset'](_0x2b308a)),this['_unlockTransition']();}[_0x2915d5(0xa3)](_0x4736a4){var _0x25335c=_0x2915d5;this[_0x25335c(0x160)](),this['_updateState'](this[_0x25335c(0x208)][_0x25335c(0x307)](_0x4736a4)),this[_0x25335c(0x256)]();}[_0x2915d5(0x2c8)](_0x475862){var _0x2b5a87=_0x2915d5;this[_0x2b5a87(0x160)](),this[_0x2b5a87(0x19e)](this[_0x2b5a87(0x208)][_0x2b5a87(0x303)](_0x475862)),this[_0x2b5a87(0x256)]();}['_onRemoteRetry'](_0x5e27fa){var _0x159abc=_0x2915d5;this['_lockTransition'](),this[_0x159abc(0x19e)](this['_state'][_0x159abc(0x379)](_0x5e27fa)),this[_0x159abc(0x256)]();}[_0x2915d5(0x9e)](_0x2534e6){var _0xf65b13=_0x2915d5;if(!(this['_state']instanceof exports[_0xf65b13(0x23a)]))throw new TypeError(_0xf65b13(0x36c));const _0x48ebac=_0x2534e6[_0xf65b13(0x2fd)](_0x2f91ab=>{var _0x22308d=_0xf65b13;const _0x5dafab=this[_0x22308d(0x317)][_0x22308d(0xe3)][_0x22308d(0x226)](this[_0x22308d(0x317)]['interceptor'][_0x22308d(0x3f6)]()[_0x22308d(0x1f6)])(_0x2f91ab[_0x22308d(0xdd)],null)||_0x2f91ab[_0x22308d(0xdd)];return{..._0x2f91ab,'mutations':_0x5dafab};});this[_0xf65b13(0x160)](),this[_0xf65b13(0x19e)](this[_0xf65b13(0x208)][_0xf65b13(0x3f1)](_0x48ebac)),this[_0xf65b13(0x256)]();}['_toggleOffline'](){var _0xf64544=_0x2915d5;this[_0xf64544(0x160)](),this[_0xf64544(0x19e)](this[_0xf64544(0x208)][_0xf64544(0x1a9)]()),this[_0xf64544(0x256)]();}[_0x2915d5(0x1f4)](_0x484ca4=!0x1){var _0xff9d2c=_0x2915d5;this[_0xff9d2c(0x160)](),this[_0xff9d2c(0x19e)](this[_0xff9d2c(0x208)][_0xff9d2c(0x397)]()),this[_0xff9d2c(0x256)]();const _0x53ca95=this[_0xff9d2c(0x208)];_0x484ca4&&_0x53ca95 instanceof exports[_0xff9d2c(0x33c)]&&(this[_0xff9d2c(0x160)](),this[_0xff9d2c(0x19e)](_0x53ca95[_0xff9d2c(0x3ce)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0xb4dd95=>{var _0x3eea18=_0x31fc;this[_0x3eea18(0x313)][_0x3eea18(0x407)]['pipe'](j[_0x3eea18(0x402)](0x1))[_0x3eea18(0x1fd)](async _0x445682=>{var _0xde9af1=_0x3eea18;_0xb4dd95(await this['_createInitialStateImpl'](_0x445682===se[_0xde9af1(0x324)]));});});}['_createHandler'](){var _0xb3b550=_0x2915d5;const _0x5d6567=this[_0xb3b550(0x189)];return{'onStateChange':(_0x5410df,_0x492332)=>{var _0xa1d29f=_0xb3b550;if(_0x5410df!==this[_0xa1d29f(0x208)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5410df['status']+'\x0aAfter:\x20'+_0x492332[_0xa1d29f(0x3df)]+'\x0aCurrent:\x20'+this[_0xa1d29f(0x208)][_0xa1d29f(0x3df)]);this[_0xa1d29f(0x19e)](_0x492332);},'onSendChangeset':_0x50d2d7=>{var _0x1835bc=_0xb3b550;_0x50d2d7[_0x1835bc(0x1b2)]||(_0x50d2d7[_0x1835bc(0x1b2)]=this[_0x1835bc(0x2b6)],_0x50d2d7[_0x1835bc(0x3a9)]=++this[_0x1835bc(0x3e2)]);const _0x199cbd={'eventID':g[_0x1835bc(0x1e3)][_0x1835bc(0xb1)],'data':{'unitID':_0x50d2d7[_0x1835bc(0x189)],'unitType':this['_type'],'changeset':_0x50d2d7,'memberID':this[_0x1835bc(0x313)][_0x1835bc(0x3eb)]()}};this[_0x1835bc(0x313)][_0x1835bc(0x162)](_0x199cbd,this[_0x1835bc(0x189)]);},'onMissingChangesets':({from:_0x260143,to:_0x221a3d})=>{var _0x3edaa2=_0xb3b550;this[_0x3edaa2(0x1f2)]['debug'](_0x3edaa2(0x1f9),_0x3edaa2(0x24f)+_0x260143+_0x3edaa2(0x3ab)+_0x221a3d);const _0x6ccdf0={'eventID':g[_0x3edaa2(0x1e3)]['FETCH_MISSING'],'data':{'unitID':_0x5d6567,'unitType':this['_type'],'from':_0x260143,'to':_0x221a3d}};this['session'][_0x3edaa2(0x162)](_0x6ccdf0,this['unitID']);}};}async[_0x2915d5(0x3c7)](_0x313487){var _0x2f8fbd=_0x2915d5,_0x57d8cd,_0x261f59,_0x256a82;const _0xcedeb=await((_0x57d8cd=this[_0x2f8fbd(0x372)])==null?void 0x0:_0x57d8cd[_0x2f8fbd(0x105)](this['unitID'])),_0x5d0e2b=(_0x261f59=_0xcedeb==null?void 0x0:_0xcedeb[_0x2f8fbd(0xdd)])!=null?_0x261f59:[],_0x2d4add=(_0x256a82=_0xcedeb==null?void 0x0:_0xcedeb[_0x2f8fbd(0x8d)])!=null?_0x256a82:null,_0x1120c7=!!(_0x2d4add!=null&&_0x2d4add[_0x2f8fbd(0x1b2)])&&!!(_0x2d4add!=null&&_0x2d4add[_0x2f8fbd(0x3a9)]);this[_0x2f8fbd(0x2b6)]=_0x1120c7?_0x2d4add['sid']:di(),this[_0x2f8fbd(0x3e2)]=_0x1120c7?_0x2d4add['reqId']:0x0;const _0x1b9cfb=this['unitID'];try{this[_0x2f8fbd(0x1c3)](_0x2d4add,_0x5d0e2b);}catch(_0x53873d){this['_logService']['error'](_0x53873d);}const _0x1fd9d0=this[_0x2f8fbd(0x94)]();if(_0x313487){const _0x248c46=Dt(this['_injector'],_0x1b9cfb,this[_0x2f8fbd(0x3a6)],_0x2d4add,_0x5d0e2b,_0x1fd9d0);return _0x248c46 instanceof exports['PendingState']?_0x248c46[_0x2f8fbd(0x19d)]():(_0x248c46 instanceof exports[_0x2f8fbd(0x11c)]||_0x248c46 instanceof exports[_0x2f8fbd(0x298)])&&_0x248c46['resend'](),_0x248c46;}return this[_0x2f8fbd(0x290)]['createInstance'](exports[_0x2f8fbd(0x35c)],_0x1b9cfb,this[_0x2f8fbd(0x3a6)],_0x2d4add,_0x5d0e2b,_0x1fd9d0);}['_replayCachedMutations'](_0x4d83d2,_0x2a406e){var _0x4cf752=_0x2915d5,_0x23f71,_0xc9049e;const _0x32d454=this['_compressMutationService'][_0x4cf752(0xe3)][_0x4cf752(0x226)](this['_compressMutationService'][_0x4cf752(0xe3)][_0x4cf752(0x3f6)]()[_0x4cf752(0x1f6)]);(_0x23f71=_0x32d454((_0x4d83d2==null?void 0x0:_0x4d83d2[_0x4cf752(0xdd)])||[],null))==null||_0x23f71[_0x4cf752(0x306)](_0x3f8b72=>this[_0x4cf752(0x3a4)]['executeCommand'](_0x3f8b72['id'],_0x3f8b72[_0x4cf752(0x3b1)])),(_0xc9049e=_0x32d454(_0x2a406e||[],null))==null||_0xc9049e[_0x4cf752(0x306)](_0x30a05a=>this[_0x4cf752(0x3a4)]['executeCommand'](_0x30a05a['id'],_0x30a05a[_0x4cf752(0x3b1)]));}},exports[_0x2915d5(0x284)]=We([$(0x3,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),$(0x4,a[_0x2915d5(0x352)](g[_0x2915d5(0x1d2)])),$(0x5,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)])),$(0x6,a[_0x2915d5(0x352)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x2915d5(0x10c)]),$(0x9,a[_0x2915d5(0xba)]),$(0xa,a[_0x2915d5(0x2fb)]),$(0xb,a[_0x2915d5(0x12d)](ve)),$(0xc,a[_0x2915d5(0x12d)](z))],exports['CollaborationEntity']),exports[_0x2915d5(0x113)]=class extends exports[_0x2915d5(0x284)]{constructor(_0x2f1523,_0x489f3a,_0x1c4250,_0x204768,_0x1e84b8,_0x2fee67,_0x5a6c9d,_0x56c068,_0x127cf6,_0x4856fa,_0x4bc6ef,_0x3a97d2,_0x39dafa){var _0x37cc0a=_0x2915d5;super(_0x2f1523,_0x1c4250,_0x489f3a,_0x204768,_0x1e84b8,_0x2fee67,_0x5a6c9d,_0x56c068,_0x127cf6,_0x4856fa,_0x4bc6ef,_0x3a97d2,_0x39dafa),A(this,'_handlerCallback',null),(this[_0x37cc0a(0x189)]=_0x2f1523,this[_0x37cc0a(0x1a2)]=_0x489f3a);}[_0x2915d5(0x97)](_0x4a3f4c){this['_handlerCallback']=_0x4a3f4c;}[_0x2915d5(0x169)](){var _0x51e193=_0x2915d5;this[_0x51e193(0xe5)]=null,super[_0x51e193(0x169)]();}['_createHandler'](){var _0x4e195a=_0x2915d5;const _0x33bb83=super['_createHandler']();return _0x33bb83[_0x4e195a(0x1e7)]=_0x3b61d6=>{var _0x4d3ef9=_0x4e195a,_0x55ac7c,_0x3f0779;return(_0x3f0779=(_0x55ac7c=this[_0x4d3ef9(0xe5)])==null?void 0x0:_0x55ac7c[_0x4d3ef9(0x1e7)])==null?void 0x0:_0x3f0779['call'](_0x55ac7c,_0x3b61d6);},_0x33bb83[_0x4e195a(0x21b)]=_0x29a636=>{var _0x4173e6=_0x4e195a,_0x459d13,_0x41b731;return(_0x41b731=(_0x459d13=this[_0x4173e6(0xe5)])==null?void 0x0:_0x459d13['onTransformState'])==null?void 0x0:_0x41b731['call'](_0x459d13,_0x29a636);},_0x33bb83[_0x4e195a(0x1e1)]=_0xcc15d9=>{var _0x3c7b66=_0x4e195a,_0x37bf0c,_0x5ae6a5;return(_0x5ae6a5=(_0x37bf0c=this[_0x3c7b66(0xe5)])==null?void 0x0:_0x37bf0c[_0x3c7b66(0x1e1)])==null?void 0x0:_0x5ae6a5['call'](_0x37bf0c,_0xcc15d9);},_0x33bb83[_0x4e195a(0x26e)]=_0x13caea=>{var _0x3b8d8e=_0x4e195a,_0x2046e0,_0x34f60f;return(_0x34f60f=(_0x2046e0=this[_0x3b8d8e(0xe5)])==null?void 0x0:_0x2046e0[_0x3b8d8e(0x26e)])==null?void 0x0:_0x34f60f[_0x3b8d8e(0x2d9)](_0x2046e0,_0x13caea);},_0x33bb83[_0x4e195a(0x17d)]=_0x11777a=>{var _0x4608fe=_0x4e195a,_0x109149,_0xa63267,_0x1b6d41;if(!((_0x109149=this['_handlerCallback'])!=null&&_0x109149[_0x4608fe(0x17d)]))throw new Error(_0x4608fe(0x1fc));return(_0x1b6d41=(_0xa63267=this[_0x4608fe(0xe5)])==null?void 0x0:_0xa63267['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1b6d41[_0x4608fe(0x2d9)](_0xa63267,_0x11777a);},_0x33bb83[_0x4e195a(0xa1)]=_0x1ed40a=>{var _0x304256=_0x4e195a,_0x414d2d,_0x12d4a4,_0x531b31;if(!((_0x414d2d=this['_handlerCallback'])!=null&&_0x414d2d[_0x304256(0xa1)]))throw new Error(_0x304256(0x1cb));return(_0x531b31=(_0x12d4a4=this['_handlerCallback'])==null?void 0x0:_0x12d4a4[_0x304256(0xa1)])==null?void 0x0:_0x531b31[_0x304256(0x2d9)](_0x12d4a4,_0x1ed40a);},_0x33bb83;}async['_init'](){var _0x8c2542=_0x2915d5;const _0x3511d2=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x8c2542(0x205)]((_0x3d2497,_0x263ab6)=>{var _0x4ff659=_0x8c2542;if(_0x3d2497[_0x4ff659(0x1a2)]!==a[_0x4ff659(0x1ef)][_0x4ff659(0x17c)]||_0x263ab6!=null&&_0x263ab6[_0x4ff659(0x326)]||_0x263ab6!=null&&_0x263ab6['onlyLocal']||_0x3d2497['id']===ut['RichTextEditingMutation']['id'])return;const _0x3c65dd=_0x3d2497[_0x4ff659(0x3b1)];if((_0x3c65dd==null?void 0x0:_0x3c65dd[_0x4ff659(0x240)])!==this['unitID'])return;const _0x415764=_0x3d2497,_0x40c8c6=this[_0x4ff659(0x317)]['interceptor'][_0x4ff659(0x226)](this[_0x4ff659(0x317)]['interceptor'][_0x4ff659(0x3f6)]()[_0x4ff659(0x287)])([_0x415764],null)||[_0x415764];this[_0x4ff659(0x142)](_0x40c8c6[0x0]);})),_0x3511d2;}},exports[_0x2915d5(0x113)]=We([$(0x3,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),$(0x4,a[_0x2915d5(0x352)](g[_0x2915d5(0x1d2)])),$(0x5,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)])),$(0x6,a[_0x2915d5(0x352)](g[_0x2915d5(0x1d6)])),$(0x7,a[_0x2915d5(0x352)](te)),$(0x8,a[_0x2915d5(0x10c)]),$(0x9,a[_0x2915d5(0xba)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x2915d5(0x12d)](ve)),$(0xc,a[_0x2915d5(0x12d)](z))],exports[_0x2915d5(0x113)]),exports[_0x2915d5(0x1ff)]=class extends exports[_0x2915d5(0x284)]{constructor(_0xc37a03,_0x4ebeb0,_0xc42c04,_0x2765ad,_0x182c4e,_0x56697a,_0x503dcc,_0x5e60bf,_0x3d4acd,_0x2d8b75,_0x32a56d,_0x25c2a4,_0x23e9cc,_0x246045){var _0x3cb743=_0x2915d5;super(_0xc37a03,_0xc42c04,_0x4ebeb0,_0x2765ad,_0x182c4e,_0x56697a,_0x503dcc,_0x3d4acd,_0x2d8b75,_0x32a56d,_0x25c2a4,_0x23e9cc,_0x246045),this[_0x3cb743(0x189)]=_0xc37a03,this['type']=_0x4ebeb0,this[_0x3cb743(0x125)]=_0x5e60bf;}['_createHandler'](){var _0x149bdd=_0x2915d5;const _0x43dd2e=super['_createHandler']();return _0x43dd2e[_0x149bdd(0x1e1)]=_0x5b87b4=>this[_0x149bdd(0x125)][_0x149bdd(0x38e)](_0x5b87b4),_0x43dd2e;}async[_0x2915d5(0x2d5)](){var _0x2f52cd=_0x2915d5;const _0x3fc710=await super['_init']();return this[_0x2f52cd(0xcf)](this[_0x2f52cd(0x3a4)][_0x2f52cd(0x205)]((_0x5445d3,_0x4b0f9c)=>{var _0x80304=_0x2f52cd;if(_0x5445d3[_0x80304(0x1a2)]!==a['CommandType'][_0x80304(0x17c)]||_0x4b0f9c!=null&&_0x4b0f9c[_0x80304(0x326)]||_0x4b0f9c!=null&&_0x4b0f9c[_0x80304(0xed)])return;const _0x5e688c=_0x5445d3[_0x80304(0x3b1)];if((_0x5e688c==null?void 0x0:_0x5e688c[_0x80304(0x240)])!==this[_0x80304(0x189)])return;const _0x3611d5=_0x5445d3,_0xc2da7c=this[_0x80304(0x317)][_0x80304(0xe3)][_0x80304(0x226)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x80304(0x287)])([_0x3611d5],null)||[_0x3611d5];this['_onLocalMutation'](_0xc2da7c[0x0]);})),_0x3fc710;}},exports[_0x2915d5(0x1ff)]=We([$(0x3,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),$(0x4,a[_0x2915d5(0x352)](g['CompressMutationService'])),$(0x5,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)])),$(0x6,a[_0x2915d5(0x352)](g[_0x2915d5(0x1d6)])),$(0x7,a['Inject'](exports[_0x2915d5(0x3f9)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x2915d5(0x10c)]),$(0xa,a[_0x2915d5(0xba)]),$(0xb,a[_0x2915d5(0x2fb)]),$(0xc,a[_0x2915d5(0x12d)](ve)),$(0xd,a['Optional'](z))],exports[_0x2915d5(0x1ff)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x33241c,_0x24a80f,_0x343814,_0x37045f)=>{var _0xe2a405=_0x2915d5;for(var _0x342471=_0x37045f>0x1?void 0x0:_0x37045f?Ti(_0x24a80f,_0x343814):_0x24a80f,_0x2869d8=_0x33241c[_0xe2a405(0x374)]-0x1,_0x22aa0b;_0x2869d8>=0x0;_0x2869d8--)(_0x22aa0b=_0x33241c[_0x2869d8])&&(_0x342471=_0x22aa0b(_0x342471)||_0x342471);return _0x342471;},Pe=(_0x2bf64d,_0x48159e)=>(_0x5a2e22,_0x9068c2)=>_0x48159e(_0x5a2e22,_0x9068c2,_0x2bf64d);exports[_0x2915d5(0xf3)]=class extends a[_0x2915d5(0x294)]{constructor(_0x1ae6b5,_0x3fbd53,_0x5f05f0){var _0x5ebb88=_0x2915d5;super(),A(this,'_entities',new Map()),A(this,_0x5ebb88(0x1f8),new j[(_0x5ebb88(0x33b))]()),A(this,_0x5ebb88(0x319),this[_0x5ebb88(0x1f8)][_0x5ebb88(0x366)]()),(this[_0x5ebb88(0x290)]=_0x1ae6b5,this[_0x5ebb88(0x269)]=_0x3fbd53,this[_0x5ebb88(0x9d)]=_0x5f05f0,this[_0x5ebb88(0x2d5)]());}[_0x2915d5(0x169)](){var _0x13ad97=_0x2915d5;super[_0x13ad97(0x169)](),this['_entities']['forEach'](_0x402261=>_0x402261[_0x13ad97(0x169)]()),this['_entities'][_0x13ad97(0x3d9)]();}[_0x2915d5(0x22e)](_0x4faab9){var _0x5cdc83=_0x2915d5,_0x1330c9;return(_0x1330c9=this[_0x5cdc83(0x8f)]['get'](_0x4faab9))!=null?_0x1330c9:null;}['getCollabEntity$'](_0x218446){var _0x199019=_0x2915d5;const _0x3f3700=this[_0x199019(0x22e)](_0x218446);return _0x3f3700?j['of'](_0x3f3700):this[_0x199019(0x1f8)]['pipe'](V['filter'](_0x1d9189=>_0x1d9189['unitID']===_0x218446));}[_0x2915d5(0x39b)](_0x20d235){var _0x56875d=_0x2915d5;return j[_0x56875d(0x228)](this[_0x56875d(0x146)](_0x20d235)[_0x56875d(0x19b)](V[_0x56875d(0x2fd)](()=>{})));}[_0x2915d5(0x2d5)](){var _0x55e421=_0x2915d5;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x55e421(0x15a)][_0x55e421(0x249)])[_0x55e421(0x19b)](j[_0x55e421(0x362)](this[_0x55e421(0x3ea)]),V[_0x55e421(0xa2)](0x10))[_0x55e421(0x1fd)](async _0x2776ad=>{var _0x125cb2=_0x55e421;const _0x149a46=_0x2776ad['getUnitId'](),_0x4780f3=await this[_0x125cb2(0x293)](_0x149a46,X[_0x125cb2(0x249)]);this[_0x125cb2(0x8f)][_0x125cb2(0x3c8)](_0x149a46,_0x4780f3);}),this[_0x55e421(0x9d)][_0x55e421(0xa8)](a[_0x55e421(0x15a)][_0x55e421(0x279)])[_0x55e421(0x19b)](j[_0x55e421(0x362)](this[_0x55e421(0x3ea)]),V[_0x55e421(0xa2)](0x10))[_0x55e421(0x19b)](V[_0x55e421(0x276)](_0x2104f7=>!_0x2104f7[_0x55e421(0x341)]()[_0x55e421(0x32f)]('__')))[_0x55e421(0x1fd)](async _0x3b84c6=>{var _0x23d06a=_0x55e421;const _0x30372a=_0x3b84c6[_0x23d06a(0x341)](),_0x5e4238=await this[_0x23d06a(0x293)](_0x30372a,X[_0x23d06a(0x279)]);this[_0x23d06a(0x8f)][_0x23d06a(0x3c8)](_0x30372a,_0x5e4238);}),j[_0x55e421(0x24b)](this['_univerInstanceService'][_0x55e421(0xff)](a[_0x55e421(0x15a)][_0x55e421(0x249)]),this[_0x55e421(0x9d)][_0x55e421(0xff)](a[_0x55e421(0x15a)][_0x55e421(0x279)]))[_0x55e421(0x19b)](j[_0x55e421(0x362)](this[_0x55e421(0x3ea)]))[_0x55e421(0x1fd)](_0x5c9e5c=>{var _0x26296e=_0x55e421;const _0x12e0a0=_0x5c9e5c['getUnitId'](),_0x446e39=this[_0x26296e(0x8f)][_0x26296e(0x387)](_0x12e0a0);_0x446e39&&(_0x446e39[_0x26296e(0x169)](),this['_entities'][_0x26296e(0x2f7)](_0x12e0a0));});}async[_0x2915d5(0x293)](_0x18cc03,_0x5308a7){var _0xba7111=_0x2915d5;const _0x278a46=await this['_collabSessionService'][_0xba7111(0x3e6)](_0x18cc03),_0x218ee6=this[_0xba7111(0x290)][_0xba7111(0xbc)](this['_getCtorByUniverType'](_0x5308a7),_0x18cc03,_0x5308a7,_0x278a46);return await _0x218ee6['init'](),this['_entityInit$'][_0xba7111(0x3f2)](_0x218ee6),_0x218ee6;}['_getCtorByUniverType'](_0x2f7f16){var _0x586c39=_0x2915d5;switch(_0x2f7f16){case X[_0x586c39(0x279)]:return exports[_0x586c39(0x113)];case X[_0x586c39(0x249)]:return exports[_0x586c39(0x1ff)];default:throw new Error(_0x586c39(0x39e)+_0x2f7f16);}}},exports[_0x2915d5(0xf3)]=bi([Pe(0x0,a[_0x2915d5(0x352)](a[_0x2915d5(0x1ac)])),Pe(0x1,a[_0x2915d5(0x352)](exports[_0x2915d5(0x2ac)])),Pe(0x2,a[_0x2915d5(0x3b8)])],exports[_0x2915d5(0xf3)]);var Ri=Object[_0x2915d5(0x13f)],yi=(_0x28c67a,_0x5970fd,_0x290f6a,_0x3b36f7)=>{for(var _0x5a5bee=_0x3b36f7>0x1?void 0x0:_0x3b36f7?Ri(_0x5970fd,_0x290f6a):_0x5970fd,_0x9eb72d=_0x28c67a['length']-0x1,_0x38d105;_0x9eb72d>=0x0;_0x9eb72d--)(_0x38d105=_0x28c67a[_0x9eb72d])&&(_0x5a5bee=_0x38d105(_0x5a5bee)||_0x5a5bee);return _0x5a5bee;},Je=(_0x2eacc3,_0x4dc9ca)=>(_0xc8eeda,_0x3b781a)=>_0x4dc9ca(_0xc8eeda,_0x3b781a,_0x2eacc3);const Oi='DEFAULT_FILE_NAME',Ni=_0x2915d5(0x3a3);let He=class extends a[_0x2915d5(0xc6)]{constructor(_0x4651ce,_0x168d42){var _0x377171=_0x2915d5;super(),this['_univerInstanceService']=_0x4651ce,this[_0x377171(0x1a6)]=_0x168d42,this['_init']();}[_0x2915d5(0x2d5)](){var _0x5c69c4=_0x2915d5;this[_0x5c69c4(0xcf)](this[_0x5c69c4(0x9d)][_0x5c69c4(0x3bf)]['subscribe'](()=>{var _0x3c0cf7=_0x5c69c4,_0x5b16c9;const _0x5bae6e=this[_0x3c0cf7(0x9d)][_0x3c0cf7(0x101)]();let _0x2f3cea=(_0x5b16c9=this[_0x3c0cf7(0x1a6)]['getConfig'](Oi))!=null?_0x5b16c9:Ni;_0x5bae6e instanceof a[_0x3c0cf7(0x328)]&&(_0x2f3cea=_0x5bae6e[_0x3c0cf7(0x1d4)]),document['title']=_0x2f3cea;}));}};He=yi([Je(0x0,a[_0x2915d5(0x3b8)]),Je(0x1,a[_0x2915d5(0x2af)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x1389c0,_0x217ab4,_0x3fd15f,_0x34a5c4)=>{var _0x5c324f=_0x2915d5;for(var _0x155c39=_0x34a5c4>0x1?void 0x0:_0x34a5c4?Di(_0x217ab4,_0x3fd15f):_0x217ab4,_0x32dc54=_0x1389c0[_0x5c324f(0x374)]-0x1,_0x48580d;_0x32dc54>=0x0;_0x32dc54--)(_0x48580d=_0x1389c0[_0x32dc54])&&(_0x155c39=_0x48580d(_0x155c39)||_0x155c39);return _0x155c39;},we=(_0x2c19d4,_0x2d153b)=>(_0x1216db,_0x333c2c)=>_0x2d153b(_0x1216db,_0x333c2c,_0x2c19d4);let Oe=class{constructor(_0x348dec,_0x3e2068,_0x45641c){var _0x5cb4ff=_0x2915d5;this[_0x5cb4ff(0x1a6)]=_0x348dec,this['_httpService']=_0x3e2068,this[_0x5cb4ff(0xde)]=_0x45641c,this[_0x5cb4ff(0x381)]();}[_0x2915d5(0x381)](){var _0x5eb268=_0x2915d5;this[_0x5eb268(0x91)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x22ab7b,_0x222f05)=>_0x222f05(_0x22ab7b)[_0x5eb268(0x19b)](j['concatMap'](async _0x2acdde=>{var _0x22bc43=_0x5eb268;const _0x4ee6f0=_0x2acdde;if(_0x4ee6f0[_0x22bc43(0x3df)]===0x191){if(typeof window>'u')throw new Error(_0x22bc43(0x144));if(window['confirm'](this[_0x22bc43(0xde)]['t'](_0x22bc43(0x3dd)))){const _0x5644c9=window[_0x22bc43(0x21e)](window[_0x22bc43(0x265)][_0x22bc43(0x26a)]);window[_0x22bc43(0x265)]['href']=this[_0x22bc43(0x1a7)]()+_0x22bc43(0x235)+_0x5644c9;}}return _0x4ee6f0;}))});}['_getLoginPath'](){var _0x2d087c=_0x2915d5,_0x2065f7,_0x4d2606;const _0x14e88b=this['_configService'][_0x2d087c(0x14a)](Et),_0x4e32c9=this['_configService']['getConfig'](Y);return(_0x4d2606=(_0x2065f7=_0x4e32c9==null?void 0x0:_0x4e32c9[_0x2d087c(0xe1)])!=null?_0x2065f7:_0x14e88b)!=null?_0x4d2606:Yt;}};Oe=Ui([we(0x0,a[_0x2915d5(0x2af)]),we(0x1,a['Inject'](q[_0x2915d5(0x2f5)])),we(0x2,a[_0x2915d5(0x352)](a[_0x2915d5(0x369)]))],Oe);var Ai=Object[_0x2915d5(0x13f)],Pi=(_0x5c0633,_0x29773a,_0x1f5c3b,_0x3cce91)=>{var _0x4e300b=_0x2915d5;for(var _0x21438a=_0x3cce91>0x1?void 0x0:_0x3cce91?Ai(_0x29773a,_0x1f5c3b):_0x29773a,_0x4864fe=_0x5c0633[_0x4e300b(0x374)]-0x1,_0xd1e98c;_0x4864fe>=0x0;_0x4864fe--)(_0xd1e98c=_0x5c0633[_0x4864fe])&&(_0x21438a=_0xd1e98c(_0x21438a)||_0x21438a);return _0x21438a;},Xe=(_0x57278d,_0x424264)=>(_0x5c62dd,_0x58c3d1)=>_0x424264(_0x5c62dd,_0x58c3d1,_0x57278d);const Ge=_0x2915d5(0x184),wi=_0x2915d5(0x186);exports[_0x2915d5(0x38b)]=class extends a['Disposable']{constructor(_0x22eae2,_0x309abc){var _0x4b5cfb=_0x2915d5;super(),this[_0x4b5cfb(0x2bb)]=_0x22eae2,this['_configService']=_0x309abc,this[_0x4b5cfb(0x243)]();}[_0x2915d5(0x243)](){var _0x5ee186=_0x2915d5;const _0x138702=this;this['disposeWithMe'](this[_0x5ee186(0x2bb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x5ee186(0x19a)]({'isMatch'(_0x2f837c){var _0x5e3c60=_0x5ee186,_0x507ad3;if(_0x2f837c['method']===_0x5e3c60(0x111)&&((_0x507ad3=_0x2f837c[_0x5e3c60(0x26d)])!=null&&_0x507ad3['body'])){const {objectID:_0x525685,objectType:_0x4db2c8}=_0x2f837c[_0x5e3c60(0x26d)][_0x5e3c60(0x19c)]||{};if(!_0x525685||_0x4db2c8===void 0x0)return!0x1;const _0x119259=_0x138702[_0x5e3c60(0x1d9)]()+'/'+_0x4db2c8+_0x5e3c60(0x2f1)+_0x525685+_0x5e3c60(0x24a);if(_0x2f837c['url']===_0x119259)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2038cf){var _0x1421b1=_0x5ee186,_0x92a7ac;return(_0x92a7ac=_0x2038cf[_0x1421b1(0x26d)])==null?void 0x0:_0x92a7ac[_0x1421b1(0x19c)];},'mergeParamsToRequest'(_0x183d4d,_0x5b26cb){var _0x5c5a6a=_0x5ee186;const _0x3232f7=_0x138702['_getAPIPrefixPath']()+_0x5c5a6a(0x236),_0x4ac7a4=_0x183d4d[_0x5c5a6a(0x357)]((_0xa1b5c2,_0x3ccefd)=>{var _0x14a0cb=_0x5c5a6a;const {unitID:_0x48696c,objectID:_0x17110b,objectType:_0x4ce1be,actions:_0x4f8943}=_0x3ccefd;return _0xa1b5c2[_0x48696c]||(_0xa1b5c2[_0x48696c]={}),_0xa1b5c2[_0x48696c][_0x17110b]||(_0xa1b5c2[_0x48696c][_0x17110b]={'objectID':_0x17110b,'objectType':_0x4ce1be,'actions':[]}),_0xa1b5c2[_0x48696c][_0x17110b]['actions'][_0x14a0cb(0x2a2)](..._0x4f8943),_0xa1b5c2;},{}),_0x52b484=[];for(const _0x48edf4 in _0x4ac7a4)for(const _0x21a935 in _0x4ac7a4[_0x48edf4]){const {actions:_0x4d4fd2,objectType:_0x110121}=_0x4ac7a4[_0x48edf4][_0x21a935],_0x2ea9c5=[...new Set(_0x4d4fd2)];_0x52b484[_0x5c5a6a(0x2a2)]({'unitID':_0x48edf4,'objectID':_0x21a935,'objectType':_0x110121,'actions':_0x2ea9c5});}return new q['HTTPRequest']('POST',_0x3232f7,{'headers':_0x5b26cb['headers'],'withCredentials':_0x5b26cb[_0x5c5a6a(0x3b5)],'responseType':_0x5b26cb[_0x5c5a6a(0x3da)],'body':{'requests':_0x52b484}});}},{'distributeResult'(_0x1453a5,_0x5d52a9){var _0x1da8a8=_0x5ee186;const {objectActions:_0x1186d2}=_0x1453a5;return _0x5d52a9[_0x1da8a8(0x2fd)](_0x5b0a2d=>{var _0x56f6fb=_0x1da8a8;const {unitID:_0x14ff66,objectID:_0x1415a1,actions:_0x1600ee}=_0x5b0a2d,_0x5079eb=_0x1186d2[_0x56f6fb(0x197)](_0x19a346=>_0x19a346['unitID']===_0x14ff66&&_0x19a346['objectID']===_0x1415a1),_0x5e14e2=_0x1600ee[_0x56f6fb(0x2fd)](_0xa80b27=>_0x5079eb==null?void 0x0:_0x5079eb[_0x56f6fb(0x3bc)][_0x56f6fb(0x197)](_0x5bd3ff=>_0x5bd3ff[_0x56f6fb(0x2ba)]===_0xa80b27))['filter'](_0x3661f9=>!!_0x3661f9);return{'config':_0x5b0a2d,'result':{'actions':_0x5e14e2,'error':_0x1453a5[_0x56f6fb(0x335)]}};});}})}));}[_0x2915d5(0x1d9)](){var _0x2979da=_0x2915d5,_0x2dd0a6,_0x5b8dce;const _0x211fb1=this[_0x2979da(0x1a6)]['getConfig'](Ge),_0x5a2844=this[_0x2979da(0x1a6)][_0x2979da(0x14a)](Y);return(_0x5b8dce=(_0x2dd0a6=_0x5a2844==null?void 0x0:_0x5a2844['authzUrl'])!=null?_0x2dd0a6:_0x211fb1)!=null?_0x5b8dce:wi;}async[_0x2915d5(0x3d4)](_0x31e23b){var _0x177512=_0x2915d5;const _0x401536=this[_0x177512(0x1d9)]()+'/'+_0x31e23b[_0x177512(0x100)]+_0x177512(0x31f);return(await this['_HTTPService'][_0x177512(0x404)](_0x401536,{'body':_0x31e23b}))[_0x177512(0x19c)][_0x177512(0x233)]||'';}async[_0x2915d5(0x2f9)](_0x17fb27){var _0x506ee5=_0x2915d5;const _0x4f9131=this[_0x506ee5(0x1d9)]()+'/-/object/list';return(await this[_0x506ee5(0x2bb)][_0x506ee5(0x404)](_0x4f9131,{'body':_0x17fb27}))[_0x506ee5(0x19c)][_0x506ee5(0x300)];}async[_0x2915d5(0xc1)](_0x8737c){var _0x466b3e=_0x2915d5,_0x3f9f71,_0x44fa8e;const _0x143f11=this[_0x466b3e(0x1d9)]()+'/'+_0x8737c[_0x466b3e(0x100)]+_0x466b3e(0x2f1)+_0x8737c[_0x466b3e(0x233)],_0x194115=await this[_0x466b3e(0x2bb)][_0x466b3e(0x106)](_0x143f11,{'body':_0x8737c});if(((_0x44fa8e=(_0x3f9f71=_0x194115==null?void 0x0:_0x194115[_0x466b3e(0x19c)])==null?void 0x0:_0x3f9f71[_0x466b3e(0x335)])==null?void 0x0:_0x44fa8e[_0x466b3e(0x27a)])!==0x1)throw new Error(_0x466b3e(0x1bd));}async['allowed'](_0x22a87c){var _0xf5b864=_0x2915d5;const _0x3edbec=this[_0xf5b864(0x1d9)]()+'/'+_0x22a87c['objectType']+'/object/'+_0x22a87c[_0xf5b864(0x233)]+_0xf5b864(0x24a);return(await this[_0xf5b864(0x2bb)][_0xf5b864(0x404)](_0x3edbec,{'body':_0x22a87c}))['body'][_0xf5b864(0x3bc)];}async[_0x2915d5(0x15b)](_0x381026){var _0x5e6831=_0x2915d5;const _0x215f54=this[_0x5e6831(0x1d9)]()+_0x5e6831(0x236);return(await this[_0x5e6831(0x2bb)][_0x5e6831(0x404)](_0x215f54,{'body':{'requests':_0x381026}}))[_0x5e6831(0x19c)]['objectActions'];}async['listRoles'](_0x4aca2e){var _0x363eca=_0x2915d5;const _0x2756e2=this['_getAPIPrefixPath']()+'/'+_0x4aca2e['objectType']+_0x363eca(0x2da),_0x7ae179=await this[_0x363eca(0x2bb)][_0x363eca(0x404)](_0x2756e2,{'body':_0x4aca2e});return{'roles':_0x7ae179[_0x363eca(0x19c)][_0x363eca(0x389)],'actions':_0x7ae179['body'][_0x363eca(0x3bc)]};}async[_0x2915d5(0x177)](_0x4a46c6){var _0x1dc673=_0x2915d5;const _0x429bdb=this[_0x1dc673(0x1d9)]()+_0x1dc673(0x314);await this[_0x1dc673(0x2bb)][_0x1dc673(0x2f7)](_0x429bdb,{'params':{'collaboratorID':_0x4a46c6[_0x1dc673(0x1a3)],'objectID':_0x4a46c6['objectID'],'unitID':_0x4a46c6['unitID']}});}async['updateCollaborator'](_0x2162a8){var _0xa92fcd=_0x2915d5;const _0x431383=this[_0xa92fcd(0x1d9)]()+_0xa92fcd(0x314);await this['_HTTPService']['patch'](_0x431383,{'body':_0x2162a8});}async['createCollaborator'](_0x39c138){var _0x5ce884=_0x2915d5;const _0x2a355f=this[_0x5ce884(0x1d9)]()+'/collaborator';await this[_0x5ce884(0x2bb)][_0x5ce884(0x404)](_0x2a355f,{'body':_0x39c138});}async[_0x2915d5(0x39d)](_0x23d950){var _0x3fd3cc=_0x2915d5;const _0x3b8fd9=this['_getAPIPrefixPath']()+_0x3fd3cc(0x314);return(await this[_0x3fd3cc(0x2bb)]['get'](_0x3b8fd9,{'params':{'objectID':_0x23d950['objectID'],'unitID':_0x23d950[_0x3fd3cc(0x189)]}}))[_0x3fd3cc(0x19c)][_0x3fd3cc(0x242)];}async[_0x2915d5(0x1c6)](_0x8b61d5){var _0x4e5421=_0x2915d5;const _0x359787=this[_0x4e5421(0x1d9)]()+_0x4e5421(0x314);await this[_0x4e5421(0x2bb)][_0x4e5421(0x106)](_0x359787,{'body':_0x8b61d5});}},exports[_0x2915d5(0x38b)]=Pi([Xe(0x0,a[_0x2915d5(0x352)](q[_0x2915d5(0x2f5)])),Xe(0x1,a[_0x2915d5(0x352)](a['IConfigService']))],exports[_0x2915d5(0x38b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x137b7a){var _0x1c7400=_0x2915d5;return _0x137b7a&&_0x137b7a['__esModule']&&Object[_0x1c7400(0x13d)][_0x1c7400(0xdf)]['call'](_0x137b7a,'default')?_0x137b7a[_0x1c7400(0xcb)]:_0x137b7a;}var fe={'exports':{}};function Li(_0x2e57b4){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2e57b4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}function _0x1183(){var _0x348859=['Encryptor','transformSelections','NoPadding','SNAPSHOT_SERVER_URL_KEY','session.room-cnt-exceeds','INTERNAL_ERROR','CHANGESET_ACK','awaiting','PY_RUNTIME_SCRIPT_ERROR','getSnapshotAPIPath','toggleOnline','_clearRetryConnectingTimer','APPLY_NON_SEQUENTIAL_REVISION','_collaborationUIEventService','readyForCollab','_data','listCollaborators','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','USERS_LEAVE','headers','incrementRevOfUnit','UNIVER_UNKNOWN','Univer','_commandService','ENSURE_SNAPSHOT_EXECUTION','_type','_clearScheduledTask','reset','reqId','encryptBlock','\x20to\x20','socket\x20open.','[OfflineState]:\x20received\x20changeset.','[CollaborationUndoRedoService]','ITransformService','SUBMIT_CHANGESET_TIMEOUT','params','PERMISSION_REJ','_parse','getLatestCsReqIdBySid','withCredentials','reject','_executeRemoteChangeset','IUniverInstanceService','_initUnitPermissionChange','ERROR_EXCEED_SIZE','_getRedoStack','actions','keySize','HMAC','focused$','CHANGESET_SHOULD_RETRY','abs','_onConnectionOpen','PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','status$','deserializeToCombResponse','_createInitialStateImpl','set','sheets','awaiting_with_pending','_socketService','SHOULD_CLOSE_CONN','decryptBlock','fetchMiss','_isPermissionRej','onCommentUpdate','_waitCount','_status$','enableAuthServer','create','505647nCDPnu','_collaborationSessionService','MD5','CollaborationSocketService','clear','responseType','mixIn','defineProperty','auth.needGotoLoginAlert','INVALID_ARGUMENT','status','charAt','editingUnit','_changesetReqId','saveImage','memberID','APPLY_REJECT','requireSession','_transformService','_sessions','avatar','dispose$','getMemberID','CHANGESET_REJ','hasher','loadDoc','commentUpdate$','HttpImport','onMissedChangesetFetched','next','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PendingState','string','getInterceptPoints','joinEvent','roomInfos','SheetTransformSelectionsService','transformMutationsWithChangeset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','close','ReplaySubject','/rev/','_waitForHeartbeatResponse','exports','then','take','JOIN','post','@univerjs-pro/collaboration','open$','sessionStatus$','registerDependencies','baseRev','awaitingChangeset','enableSingleActiveInstanceLock','_entities','UnitSnapshot','_httpService','onStateChange','clone','_createHandler','31052COMasq','_onOffline','addHandlerCallback','OpenSSL','changesets','_invKeySchedule','NEW_CHANGESETS','984Tsmqzv','_univerInstanceService','_onFetchMissResult','_socket$','editing\x20status\x20changed\x20to','onTransformRemoteChangesetByStateCache','delay','_onRemoteACK','isArray','[CollaborationSessionService]','COLLAB_SUBMIT_CHANGESET_URL','getGlobalObject','getTypeOfUnitAdded$','isTransformChangesetsSuccess','compute','WorkbookEditablePermission','RECV','decrypt','_telemetryInfo','/universer-api/snapshot/','session.room-full','SUBMIT_CHANGESET','override','30996lcuSjd','LocalUndoRedoService','/universer-api/uniscript','CONFLICT','_process','&source=','_memberService','ICommandService','sequenceExecute','createInstance','_clearUndo','m2Prime','HttpExport','ConflictState','update','AWAITING_WITH_PENDING','LICENSE_IMPORT_SIZE_EXCEEDED','Rectangle','subject','Disposable','@univerjs/sheets','_localeService','range','authzUrl','default','algo','hostname','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','disposeWithMe','_clearLocalCache','userID','NOT_COLLAB','SEND_CHANGESET_TIMEOUT','finalize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ImageSourceType','NOT_FOUND','_updateLocalCache','SnapshotService','image/jpg','joinRsp','symbol','mutations','localeService','hasOwnProperty','INVITE_CODE_HAS_BEEN_UES','loginUrlKey','pending','interceptor','_getCurrentRevision','_handlerCallback','ceil','/universer-api/oidc/authpage','collaboration-client.config','_scheduleCollaborationTimeoutTimer','getSheetId','collabSubmitChangesetUrl','_iKey','onlyLocal','revision','Decryptor','[FetchMissState]','state$','selections','CollaborationController','transformUndoRedo','_keySchedule','_onRemoteRetry','socket$','_getDownloadEndpointURL','rng','fetch_missing','Tools','collaMsg','close$','x-univer-host','getTypeOfUnitDisposed$','objectType','getFocusedUnit','_clearCollaborationTimeoutTimer','onMissingChangesets','INGEST','loadOfflineData','put','textEncoder','Base64','16602BuOqzt','getCurrentSelections','LICENSE_DISTRO_REJECTED','ILogService','join','People','conflict','event$','POST','_candidateSocket','DocCollaborationEntity','pauseCollaboration','_incrementRevisionNumber','every','_transformSelections','LOGIN_FAILED','debug','routeKey','SEND_CHANGESET_TIMEOUT_KEY','AwaitingWithPendingState','getTime','IAuthzIoService','univer-pro.collaboration-client.network-condition.service','leaveEvent','addImageSourceCache','Utf8','substr','ImageUploadStatusType','_sheetTransformSelectionsService','CHANGESET_REVISION_CONFILICT','UniverCollaborationClientPlugin','b64DecodeUnicode','YUUMI_RATE_OVER_LIMIT','url','_tryEnsureSocket','_initRequestHeader','Optional','DEFAULT_WS_SESSION_TICKET_URL','createIdentifier','UniverNetworkPlugin','_userManagerService','_onRecvEvent','isPermissionRej','_transformRemoteChangesetByIMECache','BufferedBlockAlgorithm','_doFinalize','_doReset','COLLAB_WEB_SOCKET_URL','_clearRedo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','isTransformMutationsWithChangesetSuccess','appendMutation','prototype','_throwTelemetryCollaborationNewChangeset','getOwnPropertyDescriptor','compose','DEFAULT_COLLAB_WEB_SOCKET_URL','_onLocalMutation','__creator','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_members','getCollabEntity$','SOCKET_FAILED_RETRY','_singleActiveUnitService','_createHelper','getConfig','UPDATE_CURSOR','serializeCombRequest','getRandomValues','_roomCreated$','unpad','SheetsSelectionsService','[PendingState]:\x20received\x20acknowledgement.','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','toString','saveSnapshot','_getAPIPrefix','failed\x20to\x20apply\x20missed\x20changesets!','_map','data','unknown','UniverInstanceType','batchAllowed','_queuedRemoteChangesets','ITelemetryService','Malformed\x20UTF-8\x20data','origin','_lockTransition','_imageSourceCache','send','_onMessage','LIVESHARE_REQUEST_HOST','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborativeUndoRedoService','csRejEvent','downloadEndpointUrl','dispose','UNIVER_SLIDE','_transformRemoteChangesetByStateCache','createDecryptor','_onConflict','_doProcessBlock','session.join-failed','HELLO','_iv','UNIVER_PROJECT','MemberService','@univerjs/docs','updatePermissionObjEvent','Latin1','deleteCollaborator','ciphertext','buffer','_stopTelemetryCollaborationNewChangeset','_awaitingChangeset','MUTATION','onTransformRemoteChangesetByIMECache','_disableEditing','_updateStatus','_mode','setWaitCount','IDLE','UNIVER_COLLABORATION_CLIENT_PLUGIN','AUTHZ_URL_KEY','toLowerCase','/universer-api/authz','retryConnectingInterval','_config','unitID','splice','JOIN_ROOM_NOT_EXISTS','HmacMD5','encode','DependentOn','UNISCRIPT_RUN','has','updateOfflineData','getUnitType','[OfflineState]:\x20received\x20acknowledgement.','_permissionService','[CollaborationSession]','_getSendChangesetTimeout','find','_exhaustRemoteChangesetQueue','complete','MergeInterceptorFactory','pipe','body','_schedule','_updateState','max','_commentUpdate$','_onConnectionFailed','type','collaboratorID','saveChangeset','charCodeAt','_configService','_getLoginPath','saveSheetBlock','toggleOffline','_state$','permissionRejEvent','Injector','shouldCloseConn','_decreaseWaiting','SNAPSHOT_URL_KEY','removeMember','@univerjs/telemetry','sid','createEncryptor','updateMember','change$','session.room-not-exists','RETRY_CONNECTING_MAX_COUNT','readInt32LE','Error\x20on\x20receiving\x20event','executeCommand','_socketMessageSubscription','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Failed\x20to\x20update\x20permission\x20point','Base','setShowComponents','SnapshotServerOverHTTPService','state','updateCursorEvent','_replayCachedMutations','_eventService','_socket','putCollaborators','CONNECTOR_DATA_TOO_LARGE','fetchMissingChangesets','includes','_snapshotService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationTimeoutTimer','_retryCount','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','YUUMI_SUBSCRIPTION_NOT_FOUND','IMentionIOService','_loadSheet','CompressMutationService','HEARTBEAT','name','error$','RevisionService','unitInfo$','_onCombEvent','_getAPIPrefixPath','iterations','setConfig','copyFileMeta','padding','Cipher','textRanges','getUnit','onTransformSelections','CollaborationImageIoService','CollaborationEvent','LEAVE','36WksQLL','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformIME','csAckEvent','json','_getUndoStack','fromCharCode','stringify','SUCCUSS','Hasher','CommandType','UNRECOGNIZED','entries','_logService','IImageIoService','_toggleOnline','[OfflineState]:\x20received\x20rejection.','COMPRESS_MUTATION_APPLY','_applyRemoteChangeset','_entityInit$','[CollaborationEntity]','unsubscribe','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','subscribe','byteLength','SheetCollaborationEntity','onSendChangeset','toStringTag','LIVESHARE_TERMINATE','_roomMembers','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onCommandExecuted','crypto','TOO_MANY_REQUESTS','_state','@univerjs-pro/license','[CollaborationState]:\x20apply\x20error!','ERROR_IMAGE_TYPE','onStarting','INVITE_CODE_REQUIRED','rxjs/operators','members','_emitMembers','LOCAL_CACHE_INTERVAL','EmptyMutation','_startTelemetryCollaborationNewChangeset','randomUUID','resolve','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','RichTextEditingMutation','_clearTimeoutTimer','_handler','_xformMode','onTransformState','_snapshotServerService','APPLY_DUPLICATED','encodeURIComponent','_submitChangeset','UPDATE_PERMISSION_OBJ','lib','loadUnit','workbook','/universer-api/snapshot','sigBytes','fetchThroughInterceptors','getLocalCacheKey','firstValueFrom','OFFLINE','snapshotServerUrl','equals','_retryConnectingTimer','/unit/','getCollabEntity','_transformIMECache','@univerjs/core','newCsEvent','_removeRoom','objectID','enc','?url=','/-/object/-/batch_allowed','generateRandomId','duration','INVITE_CODE_ALREADY_BOUND','FetchingMissState','_nDataBytes','_unitID','readAsDataURL','_createSocket','liveShareNewHost','unitId','_doCreateSocket','collaborators','_initMergeInterceptor','_acknowledgedAwaitingChangeset','LICENSE_MAX_UNITS_EXCEEDED','_substituteUndoStack','_fetchMissChangesets','OTHER_CLIENTS_EDITING','UNIVER_SHEET','/allowed','merge','RETRY_CONNECTING_MAX_COUNT_KEY','synced','_redoStacks','fetching\x20missing\x20changesets\x20from\x20','reverse','SNAPSHOT_HAS_BEEN_REMOVED','unit-cache-','onRemoteChangeset','BASE64','rxjs','_unlockTransition','size','Module','CLOSE_ROOM','collaboration-client.local-cache-service','socket\x20close','ERROR_IMAGE','_hash','UNKNOWN_CMD','_checkMissing','getCurrentUser','_reverseMap','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','msCrypto','_onUserJoin','location','/universer-api/user/session-ticket','_socketReady','USERS_ENTER','_collabSessionService','href','UnitEmbedded','_getUploadFileURL','requestParams','onSyncEditingCollabCursor','MentionType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','file','eventID','execute','ICollaborationSocketService','_timeoutTimer','filter','UNDEFINED','_shouldReportTelemetry','UNIVER_DOC','code','getDeserializedSheetBlock','10UQQKZc','signUrlServerUrl','UUID','processBlock','SOCKET_FAILED','toDisposable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_getSignURL','CollaborationEntity','WordArray','_resendTimeout','COMPRESS_MUTATION_SEND','getImage','LIVESHARE_FETCH_OPERATIONS','OPTIONAL','refreshPermission','_listenToNetworkCondition','OTHER_CLIENT_EDITING','mode','_telemetryService','_injector','CollaborationUIEventService','$super','_startCollaboration','RxDisposable','loadSheet','CollaborationUIEventId','_oKey','AwaitingState','_sessionStatus$','cmd','_onJoinRoomEvent','_transitionLocked','telemetry\x20info\x20is\x20not\x20initialized','initWorkbookPermissionChange','_remoteChangesetQueue','&to=','JOIN_ROOM_PERMISSION_DENIED','push','_syncEditingCollabCursor','JOIN_ROOM_FULL','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationSessionService]:\x20socket\x20error','YUUMI_URL_COL_OUT_OF_RANGE','StreamCipher','FAIL','_collaborationPaused','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationSessionService','HmacSHA1','image/jpeg','IConfigService','_instanceService','BlockCipher','not_collab','function','image/gif','_substituteRedoStack','_changesetSessionId','FileId','_sendingTimer','424FLKsqF','action','_HTTPService','byteOffset','random','_undoStacks','UNKNOWN_CODE','_change$','8226702WUlseY','parseProtocolChangeset','emitEvent','_transformStack','indexOf','_clearHeartbeatTimer','USER_NOT_INVITED_CODE','_onRemoteRejected','commentUpdateEvent','COMPLETION_FINISHED','_transformStateCache','originalMeta','/block/','format','concat','getResourcesRequest','SNAPSHOT_INVALID_SNAPSHOT','SerializableCipher','unitId\x20is\x20not\x20found','resend','_init','_showConflictNotification','PENDING','now','call','/role','_doCryptBlock','_revisionService','getAllMembers','JOIN_ROOM_FAILED','_rescheduleHeartbeat','parse','uploadFileServerUrl','SetSelectionsOperation','UNAUTHENTICATED','/universer-api/file/{fileID}/sign-url','apply','LIVESHARE_OPERATION','[UniverCollaborationClientPlugin]','getSheetBlock','session.room-permission-denied','PSEUDO_FETCH_MISSING_RESULT','UniverCollaborationPlugin','IContextService','isInternalEditorID','kdf','key','_replaceFileID','/object/','LICENSE_EXPORT_SIZE_EXCEEDED','_members$','[DataLoaderService]','HTTPService','isTransformMutationsWithChangesetFailure','delete','ALREADY_EXISTS','list','_event$','IPermissionService','_loadDoc','map','14795aGZlZM','INVALID_INVITE_CODE','objects','_undoRedoService','_commentService','onRemoteRej','pad','ISingleActiveUnitService','forEach','onRemoteAck','_createHmacHelper','cfg','IUndoRedoService','_cipher','_hasher','BehaviorSubject','mapDocumentTypeToUniverType','getUnitOnRev','GLOBAL_ROOMS_CNT_EXCEEDS','_prevBlock','_pendingMutations','session','/collaborator','getWorkbookSelections','_registerDependencies','_compressMutationService','_append','entityInit$','DataLoaderService','_onUserLeave','min','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_resendWithTimeout','/object','_networkConditionService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','extend','floor','ONLINE','c1Prime','fromCollab','localCacheService','Workbook','Plugin','createSocket','message$','getValue','univer-pro.collaboration-client-socket-service','rev','startsWith','waitForRoom$','APPLY_PERMISSION_DENIED','_sendHeartbeatTimer','CollaborationStatus','_resendTimer','error','_initDependencies','?size=','updatePermissionPoint','submit\x20changeset\x20error!','setCurrentUser','Subject','SyncedState','LOGIN_URL_KEY','members$','add','slice','getUnitId','getMember','AES','bind','values','PERSON','ivSize','FETCH_MISSING','blockSize','InsertSheetMutation','Pkcs7','_minBufferSize','words','_joinRoom','transformChangesets','COMMENT_UPDATE','resourceIDs','Inject','offline','_key','getCurrentRevOfUnit','APPLY_REVISION_CONFILICT','reduce','EvpKDF','&assign=','_nRounds','catch','OfflineState','online$','_DEC_XFORM_MODE','_tryReconnect','COLLAB_SUBMIT_CHANGESET_URL_KEY','socketService','takeUntil','sessionStatus','JOINING','9041549WjcNNT','asObservable','SHA1','JSONX','LocaleService','_sender','SheetPermissionInitController','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','DisposableCollection','MentionIoHttpService','_ENC_XFORM_MODE','_unitInfo$','_transformUndoredo','_localCacheService','univer-pro.collaboration-client.single-active-unit-service','length','onload','src','clamp','[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.','onRemoteRetry','CipherParams','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onRemoteChangeset','ISnapshotServerService','pluginName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','salt','init','stopTime','@univerjs/drawing','Undefined','touchDependencies','Hex','get','startTime','roles','capture','AuthzIoHttpService','YUUMI_UNABLE_LOAD_URL'];_0x1183=function(){return _0x348859;};return _0x1183();}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0xf5a16d=_0x2915d5;return Ze||(Ze=0x1,function(_0x160b64,_0x2dabcd){(function(_0x373c74,_0xf67614){var _0x192317=_0x31fc;_0x160b64[_0x192317(0x400)]=_0xf67614();}(Mi,function(){var _0x125233=_0x125233||function(_0x140219,_0x16804a){var _0x43d22b=_0x31fc,_0x18254b;if(typeof window<'u'&&window[_0x43d22b(0x206)]&&(_0x18254b=window['crypto']),typeof self<'u'&&self[_0x43d22b(0x206)]&&(_0x18254b=self[_0x43d22b(0x206)]),typeof globalThis<'u'&&globalThis[_0x43d22b(0x206)]&&(_0x18254b=globalThis[_0x43d22b(0x206)]),!_0x18254b&&typeof window<'u'&&window[_0x43d22b(0x263)]&&(_0x18254b=window[_0x43d22b(0x263)]),!_0x18254b&&typeof Le<'u'&&Le[_0x43d22b(0x206)]&&(_0x18254b=Le['crypto']),!_0x18254b&&typeof Li==_0x43d22b(0x2b3))try{_0x18254b=require(_0x43d22b(0x206));}catch{}var _0x558074=function(){var _0x449935=_0x43d22b;if(_0x18254b){if(typeof _0x18254b[_0x449935(0x14d)]=='function')try{return _0x18254b[_0x449935(0x14d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x18254b['randomBytes']==_0x449935(0x2b3))try{return _0x18254b['randomBytes'](0x4)[_0x449935(0x1b8)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5d184b=Object[_0x43d22b(0x3d4)]||(function(){function _0x4e92ad(){}return function(_0x3818a7){var _0x372c91=_0x31fc,_0x5a9f0d;return _0x4e92ad[_0x372c91(0x13d)]=_0x3818a7,_0x5a9f0d=new _0x4e92ad(),_0x4e92ad['prototype']=null,_0x5a9f0d;};}()),_0x33a648={},_0x2547f4=_0x33a648[_0x43d22b(0x221)]={},_0x1c66ab=_0x2547f4[_0x43d22b(0x1be)]=(function(){return{'extend':function(_0x42d259){var _0x5dfe95=_0x31fc,_0x5c5df2=_0x5d184b(this);return _0x42d259&&_0x5c5df2[_0x5dfe95(0x3db)](_0x42d259),(!_0x5c5df2['hasOwnProperty'](_0x5dfe95(0x381))||this[_0x5dfe95(0x381)]===_0x5c5df2[_0x5dfe95(0x381)])&&(_0x5c5df2['init']=function(){var _0x10c448=_0x5dfe95;_0x5c5df2[_0x10c448(0x292)][_0x10c448(0x381)][_0x10c448(0x2e5)](this,arguments);}),_0x5c5df2[_0x5dfe95(0x381)][_0x5dfe95(0x13d)]=_0x5c5df2,_0x5c5df2[_0x5dfe95(0x292)]=this,_0x5c5df2;},'create':function(){var _0x7d1ca0=_0x31fc,_0x214251=this['extend']();return _0x214251['init'][_0x7d1ca0(0x2e5)](_0x214251,arguments),_0x214251;},'init':function(){},'mixIn':function(_0x39c924){var _0x39eec2=_0x31fc;for(var _0x19f805 in _0x39c924)_0x39c924[_0x39eec2(0xdf)](_0x19f805)&&(this[_0x19f805]=_0x39c924[_0x19f805]);_0x39c924[_0x39eec2(0xdf)](_0x39eec2(0x153))&&(this['toString']=_0x39c924[_0x39eec2(0x153)]);},'clone':function(){var _0x4cd720=_0x31fc;return this[_0x4cd720(0x381)][_0x4cd720(0x13d)]['extend'](this);}};}()),_0x4b2107=_0x2547f4['WordArray']=_0x1c66ab['extend']({'init':function(_0x5956fe,_0x594976){var _0x4934bf=_0x43d22b;_0x5956fe=this[_0x4934bf(0x34d)]=_0x5956fe||[],_0x594976!=_0x16804a?this[_0x4934bf(0x225)]=_0x594976:this[_0x4934bf(0x225)]=_0x5956fe[_0x4934bf(0x374)]*0x4;},'toString':function(_0x4af3a8){return(_0x4af3a8||_0x4472cd)['stringify'](this);},'concat':function(_0x28d78c){var _0x36d107=_0x43d22b,_0x2a181a=this[_0x36d107(0x34d)],_0x269233=_0x28d78c[_0x36d107(0x34d)],_0x3bddd2=this[_0x36d107(0x225)],_0x5c7d9c=_0x28d78c[_0x36d107(0x225)];if(this[_0x36d107(0x377)](),_0x3bddd2%0x4)for(var _0x423117=0x0;_0x423117<_0x5c7d9c;_0x423117++){var _0x279658=_0x269233[_0x423117>>>0x2]>>>0x18-_0x423117%0x4*0x8&0xff;_0x2a181a[_0x3bddd2+_0x423117>>>0x2]|=_0x279658<<0x18-(_0x3bddd2+_0x423117)%0x4*0x8;}else{for(var _0x451849=0x0;_0x451849<_0x5c7d9c;_0x451849+=0x4)_0x2a181a[_0x3bddd2+_0x451849>>>0x2]=_0x269233[_0x451849>>>0x2];}return this[_0x36d107(0x225)]+=_0x5c7d9c,this;},'clamp':function(){var _0x3132b5=_0x43d22b,_0x4c4172=this['words'],_0x4dc65d=this[_0x3132b5(0x225)];_0x4c4172[_0x4dc65d>>>0x2]&=0xffffffff<<0x20-_0x4dc65d%0x4*0x8,_0x4c4172[_0x3132b5(0x374)]=_0x140219['ceil'](_0x4dc65d/0x4);},'clone':function(){var _0xfd9938=_0x43d22b,_0xbc252a=_0x1c66ab[_0xfd9938(0x93)]['call'](this);return _0xbc252a[_0xfd9938(0x34d)]=this[_0xfd9938(0x34d)][_0xfd9938(0x340)](0x0),_0xbc252a;},'random':function(_0x1f23b3){var _0x429531=_0x43d22b;for(var _0x2664ed=[],_0x2994e6=0x0;_0x2994e6<_0x1f23b3;_0x2994e6+=0x4)_0x2664ed['push'](_0x558074());return new _0x4b2107[(_0x429531(0x381))](_0x2664ed,_0x1f23b3);}}),_0x102eb6=_0x33a648[_0x43d22b(0x234)]={},_0x4472cd=_0x102eb6[_0x43d22b(0x386)]={'stringify':function(_0x3cc3e9){var _0x5f5464=_0x43d22b;for(var _0x4cff5d=_0x3cc3e9[_0x5f5464(0x34d)],_0xe4f5d1=_0x3cc3e9['sigBytes'],_0x2c712b=[],_0x36a062=0x0;_0x36a062<_0xe4f5d1;_0x36a062++){var _0x3bfe75=_0x4cff5d[_0x36a062>>>0x2]>>>0x18-_0x36a062%0x4*0x8&0xff;_0x2c712b[_0x5f5464(0x2a2)]((_0x3bfe75>>>0x4)[_0x5f5464(0x153)](0x10)),_0x2c712b[_0x5f5464(0x2a2)]((_0x3bfe75&0xf)['toString'](0x10));}return _0x2c712b[_0x5f5464(0x10d)]('');},'parse':function(_0x4d2684){var _0x390778=_0x43d22b;for(var _0x7ed117=_0x4d2684[_0x390778(0x374)],_0x1ca0a1=[],_0x3362af=0x0;_0x3362af<_0x7ed117;_0x3362af+=0x2)_0x1ca0a1[_0x3362af>>>0x3]|=parseInt(_0x4d2684[_0x390778(0x123)](_0x3362af,0x2),0x10)<<0x18-_0x3362af%0x8*0x4;return new _0x4b2107[(_0x390778(0x381))](_0x1ca0a1,_0x7ed117/0x2);}},_0x1c8c3b=_0x102eb6[_0x43d22b(0x176)]={'stringify':function(_0x539db3){var _0xae8c0e=_0x43d22b;for(var _0x3d43b4=_0x539db3[_0xae8c0e(0x34d)],_0x49d9aa=_0x539db3[_0xae8c0e(0x225)],_0x23b08d=[],_0x497fb0=0x0;_0x497fb0<_0x49d9aa;_0x497fb0++){var _0x3841c6=_0x3d43b4[_0x497fb0>>>0x2]>>>0x18-_0x497fb0%0x4*0x8&0xff;_0x23b08d['push'](String[_0xae8c0e(0x1eb)](_0x3841c6));}return _0x23b08d[_0xae8c0e(0x10d)]('');},'parse':function(_0x35c22a){var _0x24774d=_0x43d22b;for(var _0x7ee57c=_0x35c22a[_0x24774d(0x374)],_0x40b806=[],_0x3ded24=0x0;_0x3ded24<_0x7ee57c;_0x3ded24++)_0x40b806[_0x3ded24>>>0x2]|=(_0x35c22a[_0x24774d(0x1a5)](_0x3ded24)&0xff)<<0x18-_0x3ded24%0x4*0x8;return new _0x4b2107[(_0x24774d(0x381))](_0x40b806,_0x7ee57c);}},_0x37386a=_0x102eb6['Utf8']={'stringify':function(_0x50975b){var _0x250e2d=_0x43d22b;try{return decodeURIComponent(escape(_0x1c8c3b[_0x250e2d(0x1ec)](_0x50975b)));}catch{throw new Error(_0x250e2d(0x15e));}},'parse':function(_0xe184ba){var _0x43a1d=_0x43d22b;return _0x1c8c3b[_0x43a1d(0x2e0)](unescape(encodeURIComponent(_0xe184ba)));}},_0x52ba68=_0x2547f4[_0x43d22b(0x135)]=_0x1c66ab['extend']({'reset':function(){var _0x480093=_0x43d22b;this[_0x480093(0x39c)]=new _0x4b2107[(_0x480093(0x381))](),this[_0x480093(0x23b)]=0x0;},'_append':function(_0x47415d){var _0x164e59=_0x43d22b;typeof _0x47415d=='string'&&(_0x47415d=_0x37386a[_0x164e59(0x2e0)](_0x47415d)),this[_0x164e59(0x39c)][_0x164e59(0x2cf)](_0x47415d),this[_0x164e59(0x23b)]+=_0x47415d['sigBytes'];},'_process':function(_0x3b772e){var _0x15704c=_0x43d22b,_0x2e3300,_0x5ce821=this[_0x15704c(0x39c)],_0x233d02=_0x5ce821['words'],_0x43f613=_0x5ce821['sigBytes'],_0x22b762=this[_0x15704c(0x349)],_0x329295=_0x22b762*0x4,_0x5786e2=_0x43f613/_0x329295;_0x3b772e?_0x5786e2=_0x140219[_0x15704c(0xe6)](_0x5786e2):_0x5786e2=_0x140219['max']((_0x5786e2|0x0)-this[_0x15704c(0x34c)],0x0);var _0x1071da=_0x5786e2*_0x22b762,_0x5a95f4=_0x140219[_0x15704c(0x31c)](_0x1071da*0x4,_0x43f613);if(_0x1071da){for(var _0x5789ad=0x0;_0x5789ad<_0x1071da;_0x5789ad+=_0x22b762)this[_0x15704c(0x16e)](_0x233d02,_0x5789ad);_0x2e3300=_0x233d02['splice'](0x0,_0x1071da),_0x5ce821['sigBytes']-=_0x5a95f4;}return new _0x4b2107[(_0x15704c(0x381))](_0x2e3300,_0x5a95f4);},'clone':function(){var _0x161b15=_0x43d22b,_0x3b379b=_0x1c66ab['clone'][_0x161b15(0x2d9)](this);return _0x3b379b[_0x161b15(0x39c)]=this[_0x161b15(0x39c)][_0x161b15(0x93)](),_0x3b379b;},'_minBufferSize':0x0});_0x2547f4[_0x43d22b(0x1ee)]=_0x52ba68[_0x43d22b(0x322)]({'cfg':_0x1c66ab[_0x43d22b(0x322)](),'init':function(_0x1f7df8){var _0x2987e3=_0x43d22b;this[_0x2987e3(0x309)]=this['cfg'][_0x2987e3(0x322)](_0x1f7df8),this[_0x2987e3(0x3a8)]();},'reset':function(){var _0x4c5d89=_0x43d22b;_0x52ba68[_0x4c5d89(0x3a8)][_0x4c5d89(0x2d9)](this),this[_0x4c5d89(0x137)]();},'update':function(_0x208fdb){var _0x452098=_0x43d22b;return this[_0x452098(0x318)](_0x208fdb),this[_0x452098(0xb7)](),this;},'finalize':function(_0x428c92){var _0x5a03c9=_0x43d22b;_0x428c92&&this[_0x5a03c9(0x318)](_0x428c92);var _0x43e372=this[_0x5a03c9(0x136)]();return _0x43e372;},'blockSize':0x10,'_createHelper':function(_0x1606ba){return function(_0x346451,_0x12e490){var _0xd1ede2=_0x31fc;return new _0x1606ba[(_0xd1ede2(0x381))](_0x12e490)['finalize'](_0x346451);};},'_createHmacHelper':function(_0x5c951d){return function(_0x2d4035,_0x1faaaf){var _0x5e4d17=_0x31fc;return new _0xe67da9[(_0x5e4d17(0x3be))][(_0x5e4d17(0x381))](_0x5c951d,_0x1faaaf)[_0x5e4d17(0xd4)](_0x2d4035);};}});var _0xe67da9=_0x33a648[_0x43d22b(0xcc)]={};return _0x33a648;}(Math);return _0x125233;}));}(pe)),pe[_0xf5a16d(0x400)];}var ge={'exports':{}},xi=ge[_0x2915d5(0x400)],Qe;function Ut(){var _0x25fcc6=_0x2915d5;return Qe||(Qe=0x1,function(_0x1bad25,_0x21e7d7){(function(_0x23d389,_0x2695d4){var _0x3d4b54=_0x31fc;_0x1bad25[_0x3d4b54(0x400)]=_0x2695d4(ee());}(xi,function(_0x106e62){var _0x2d70cd=_0x31fc;return(function(){var _0x39a612=_0x31fc,_0x50399d=_0x106e62,_0x3d849e=_0x50399d[_0x39a612(0x221)],_0x53df8d=_0x3d849e[_0x39a612(0x285)],_0x1f106a=_0x50399d['enc'];_0x1f106a[_0x39a612(0x108)]={'stringify':function(_0x189787){var _0x2c5136=_0x39a612,_0x52a085=_0x189787[_0x2c5136(0x34d)],_0x5e9ffb=_0x189787[_0x2c5136(0x225)],_0x236bd7=this[_0x2c5136(0x157)];_0x189787[_0x2c5136(0x377)]();for(var _0x543c45=[],_0x577eaa=0x0;_0x577eaa<_0x5e9ffb;_0x577eaa+=0x3)for(var _0x794dc3=_0x52a085[_0x577eaa>>>0x2]>>>0x18-_0x577eaa%0x4*0x8&0xff,_0x59052f=_0x52a085[_0x577eaa+0x1>>>0x2]>>>0x18-(_0x577eaa+0x1)%0x4*0x8&0xff,_0x449965=_0x52a085[_0x577eaa+0x2>>>0x2]>>>0x18-(_0x577eaa+0x2)%0x4*0x8&0xff,_0xf5184=_0x794dc3<<0x10|_0x59052f<<0x8|_0x449965,_0x150941=0x0;_0x150941<0x4&&_0x577eaa+_0x150941*0.75<_0x5e9ffb;_0x150941++)_0x543c45[_0x2c5136(0x2a2)](_0x236bd7[_0x2c5136(0x3e0)](_0xf5184>>>0x6*(0x3-_0x150941)&0x3f));var _0x1ced71=_0x236bd7['charAt'](0x40);if(_0x1ced71){for(;_0x543c45['length']%0x4;)_0x543c45[_0x2c5136(0x2a2)](_0x1ced71);}return _0x543c45[_0x2c5136(0x10d)]('');},'parse':function(_0x2b7576){var _0x369449=_0x39a612,_0x236237=_0x2b7576['length'],_0x269804=this[_0x369449(0x157)],_0x3f4d03=this['_reverseMap'];if(!_0x3f4d03){_0x3f4d03=this[_0x369449(0x261)]=[];for(var _0xdc365b=0x0;_0xdc365b<_0x269804[_0x369449(0x374)];_0xdc365b++)_0x3f4d03[_0x269804['charCodeAt'](_0xdc365b)]=_0xdc365b;}var _0x379fae=_0x269804[_0x369449(0x3e0)](0x40);if(_0x379fae){var _0x12d68c=_0x2b7576[_0x369449(0x2c5)](_0x379fae);_0x12d68c!==-0x1&&(_0x236237=_0x12d68c);}return _0x15205b(_0x2b7576,_0x236237,_0x3f4d03);},'_map':_0x39a612(0x13a)};function _0x15205b(_0x3cf4d7,_0x1dccf0,_0x4f84c2){var _0x5d1ae2=_0x39a612;for(var _0x1d4de7=[],_0x30567c=0x0,_0x3b1873=0x0;_0x3b1873<_0x1dccf0;_0x3b1873++)if(_0x3b1873%0x4){var _0x42a4ed=_0x4f84c2[_0x3cf4d7[_0x5d1ae2(0x1a5)](_0x3b1873-0x1)]<<_0x3b1873%0x4*0x2,_0x5bc579=_0x4f84c2[_0x3cf4d7[_0x5d1ae2(0x1a5)](_0x3b1873)]>>>0x6-_0x3b1873%0x4*0x2,_0x319c0c=_0x42a4ed|_0x5bc579;_0x1d4de7[_0x30567c>>>0x2]|=_0x319c0c<<0x18-_0x30567c%0x4*0x8,_0x30567c++;}return _0x53df8d[_0x5d1ae2(0x3d4)](_0x1d4de7,_0x30567c);}}()),_0x106e62['enc'][_0x2d70cd(0x108)];}));}(ge)),ge[_0x25fcc6(0x400)];}var me={'exports':{}},ki=me[_0x2915d5(0x400)],et;function Hi(){var _0xa8c90c=_0x2915d5;return et||(et=0x1,function(_0x2760ba,_0x224918){(function(_0x59c3df,_0x233b7a){var _0x3fa59c=_0x31fc;_0x2760ba[_0x3fa59c(0x400)]=_0x233b7a(ee());}(ki,function(_0x76a333){var _0x3f5b6b=_0x31fc;return function(_0x4706b7){var _0x4b4b59=_0x31fc,_0x588d49=_0x76a333,_0xad041d=_0x588d49[_0x4b4b59(0x221)],_0x449bbf=_0xad041d['WordArray'],_0x340ee3=_0xad041d[_0x4b4b59(0x1ee)],_0xa8a273=_0x588d49['algo'],_0x1425be=[];(function(){var _0x336a2f=_0x4b4b59;for(var _0x25a5dc=0x0;_0x25a5dc<0x40;_0x25a5dc++)_0x1425be[_0x25a5dc]=_0x4706b7[_0x336a2f(0x3c1)](_0x4706b7['sin'](_0x25a5dc+0x1))*0x100000000|0x0;}());var _0x25bace=_0xa8a273[_0x4b4b59(0x3d7)]=_0x340ee3['extend']({'_doReset':function(){var _0x23589b=_0x4b4b59;this[_0x23589b(0x25d)]=new _0x449bbf[(_0x23589b(0x381))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5925f1,_0x2ea8b1){var _0x43cbf7=_0x4b4b59;for(var _0x521c8a=0x0;_0x521c8a<0x10;_0x521c8a++){var _0xa8fdee=_0x2ea8b1+_0x521c8a,_0x9d9565=_0x5925f1[_0xa8fdee];_0x5925f1[_0xa8fdee]=(_0x9d9565<<0x8|_0x9d9565>>>0x18)&0xff00ff|(_0x9d9565<<0x18|_0x9d9565>>>0x8)&0xff00ff00;}var _0x3b4328=this[_0x43cbf7(0x25d)][_0x43cbf7(0x34d)],_0x5d045d=_0x5925f1[_0x2ea8b1+0x0],_0x2715c9=_0x5925f1[_0x2ea8b1+0x1],_0x5a4f42=_0x5925f1[_0x2ea8b1+0x2],_0x1cacbe=_0x5925f1[_0x2ea8b1+0x3],_0x9d95e3=_0x5925f1[_0x2ea8b1+0x4],_0x54d056=_0x5925f1[_0x2ea8b1+0x5],_0xef1f56=_0x5925f1[_0x2ea8b1+0x6],_0x31d083=_0x5925f1[_0x2ea8b1+0x7],_0x3a4f40=_0x5925f1[_0x2ea8b1+0x8],_0x64ab2b=_0x5925f1[_0x2ea8b1+0x9],_0x530a41=_0x5925f1[_0x2ea8b1+0xa],_0xc68ac1=_0x5925f1[_0x2ea8b1+0xb],_0x12bdbb=_0x5925f1[_0x2ea8b1+0xc],_0x5f5381=_0x5925f1[_0x2ea8b1+0xd],_0x5c6304=_0x5925f1[_0x2ea8b1+0xe],_0x23bcd0=_0x5925f1[_0x2ea8b1+0xf],_0x182870=_0x3b4328[0x0],_0x23e11a=_0x3b4328[0x1],_0x4d0b58=_0x3b4328[0x2],_0xd58895=_0x3b4328[0x3];_0x182870=_0x3ca992(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x5d045d,0x7,_0x1425be[0x0]),_0xd58895=_0x3ca992(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x2715c9,0xc,_0x1425be[0x1]),_0x4d0b58=_0x3ca992(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x5a4f42,0x11,_0x1425be[0x2]),_0x23e11a=_0x3ca992(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x1cacbe,0x16,_0x1425be[0x3]),_0x182870=_0x3ca992(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x9d95e3,0x7,_0x1425be[0x4]),_0xd58895=_0x3ca992(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x54d056,0xc,_0x1425be[0x5]),_0x4d0b58=_0x3ca992(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0xef1f56,0x11,_0x1425be[0x6]),_0x23e11a=_0x3ca992(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x31d083,0x16,_0x1425be[0x7]),_0x182870=_0x3ca992(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x3a4f40,0x7,_0x1425be[0x8]),_0xd58895=_0x3ca992(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x64ab2b,0xc,_0x1425be[0x9]),_0x4d0b58=_0x3ca992(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x530a41,0x11,_0x1425be[0xa]),_0x23e11a=_0x3ca992(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0xc68ac1,0x16,_0x1425be[0xb]),_0x182870=_0x3ca992(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x12bdbb,0x7,_0x1425be[0xc]),_0xd58895=_0x3ca992(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x5f5381,0xc,_0x1425be[0xd]),_0x4d0b58=_0x3ca992(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x5c6304,0x11,_0x1425be[0xe]),_0x23e11a=_0x3ca992(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x23bcd0,0x16,_0x1425be[0xf]),_0x182870=_0x32ffc7(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x2715c9,0x5,_0x1425be[0x10]),_0xd58895=_0x32ffc7(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0xef1f56,0x9,_0x1425be[0x11]),_0x4d0b58=_0x32ffc7(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0xc68ac1,0xe,_0x1425be[0x12]),_0x23e11a=_0x32ffc7(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x5d045d,0x14,_0x1425be[0x13]),_0x182870=_0x32ffc7(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x54d056,0x5,_0x1425be[0x14]),_0xd58895=_0x32ffc7(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x530a41,0x9,_0x1425be[0x15]),_0x4d0b58=_0x32ffc7(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x23bcd0,0xe,_0x1425be[0x16]),_0x23e11a=_0x32ffc7(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x9d95e3,0x14,_0x1425be[0x17]),_0x182870=_0x32ffc7(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x64ab2b,0x5,_0x1425be[0x18]),_0xd58895=_0x32ffc7(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x5c6304,0x9,_0x1425be[0x19]),_0x4d0b58=_0x32ffc7(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x1cacbe,0xe,_0x1425be[0x1a]),_0x23e11a=_0x32ffc7(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x3a4f40,0x14,_0x1425be[0x1b]),_0x182870=_0x32ffc7(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x5f5381,0x5,_0x1425be[0x1c]),_0xd58895=_0x32ffc7(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x5a4f42,0x9,_0x1425be[0x1d]),_0x4d0b58=_0x32ffc7(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x31d083,0xe,_0x1425be[0x1e]),_0x23e11a=_0x32ffc7(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x12bdbb,0x14,_0x1425be[0x1f]),_0x182870=_0x54e3dc(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x54d056,0x4,_0x1425be[0x20]),_0xd58895=_0x54e3dc(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x3a4f40,0xb,_0x1425be[0x21]),_0x4d0b58=_0x54e3dc(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0xc68ac1,0x10,_0x1425be[0x22]),_0x23e11a=_0x54e3dc(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x5c6304,0x17,_0x1425be[0x23]),_0x182870=_0x54e3dc(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x2715c9,0x4,_0x1425be[0x24]),_0xd58895=_0x54e3dc(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x9d95e3,0xb,_0x1425be[0x25]),_0x4d0b58=_0x54e3dc(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x31d083,0x10,_0x1425be[0x26]),_0x23e11a=_0x54e3dc(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x530a41,0x17,_0x1425be[0x27]),_0x182870=_0x54e3dc(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x5f5381,0x4,_0x1425be[0x28]),_0xd58895=_0x54e3dc(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x5d045d,0xb,_0x1425be[0x29]),_0x4d0b58=_0x54e3dc(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x1cacbe,0x10,_0x1425be[0x2a]),_0x23e11a=_0x54e3dc(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0xef1f56,0x17,_0x1425be[0x2b]),_0x182870=_0x54e3dc(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x64ab2b,0x4,_0x1425be[0x2c]),_0xd58895=_0x54e3dc(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x12bdbb,0xb,_0x1425be[0x2d]),_0x4d0b58=_0x54e3dc(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x23bcd0,0x10,_0x1425be[0x2e]),_0x23e11a=_0x54e3dc(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x5a4f42,0x17,_0x1425be[0x2f]),_0x182870=_0x48680f(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x5d045d,0x6,_0x1425be[0x30]),_0xd58895=_0x48680f(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x31d083,0xa,_0x1425be[0x31]),_0x4d0b58=_0x48680f(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x5c6304,0xf,_0x1425be[0x32]),_0x23e11a=_0x48680f(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x54d056,0x15,_0x1425be[0x33]),_0x182870=_0x48680f(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x12bdbb,0x6,_0x1425be[0x34]),_0xd58895=_0x48680f(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x1cacbe,0xa,_0x1425be[0x35]),_0x4d0b58=_0x48680f(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x530a41,0xf,_0x1425be[0x36]),_0x23e11a=_0x48680f(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x2715c9,0x15,_0x1425be[0x37]),_0x182870=_0x48680f(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x3a4f40,0x6,_0x1425be[0x38]),_0xd58895=_0x48680f(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0x23bcd0,0xa,_0x1425be[0x39]),_0x4d0b58=_0x48680f(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0xef1f56,0xf,_0x1425be[0x3a]),_0x23e11a=_0x48680f(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x5f5381,0x15,_0x1425be[0x3b]),_0x182870=_0x48680f(_0x182870,_0x23e11a,_0x4d0b58,_0xd58895,_0x9d95e3,0x6,_0x1425be[0x3c]),_0xd58895=_0x48680f(_0xd58895,_0x182870,_0x23e11a,_0x4d0b58,_0xc68ac1,0xa,_0x1425be[0x3d]),_0x4d0b58=_0x48680f(_0x4d0b58,_0xd58895,_0x182870,_0x23e11a,_0x5a4f42,0xf,_0x1425be[0x3e]),_0x23e11a=_0x48680f(_0x23e11a,_0x4d0b58,_0xd58895,_0x182870,_0x64ab2b,0x15,_0x1425be[0x3f]),_0x3b4328[0x0]=_0x3b4328[0x0]+_0x182870|0x0,_0x3b4328[0x1]=_0x3b4328[0x1]+_0x23e11a|0x0,_0x3b4328[0x2]=_0x3b4328[0x2]+_0x4d0b58|0x0,_0x3b4328[0x3]=_0x3b4328[0x3]+_0xd58895|0x0;},'_doFinalize':function(){var _0x47af77=_0x4b4b59,_0x149fda=this['_data'],_0x402457=_0x149fda['words'],_0x45f7f0=this[_0x47af77(0x23b)]*0x8,_0x46faf1=_0x149fda[_0x47af77(0x225)]*0x8;_0x402457[_0x46faf1>>>0x5]|=0x80<<0x18-_0x46faf1%0x20;var _0x5b8651=_0x4706b7[_0x47af77(0x323)](_0x45f7f0/0x100000000),_0xd1a7f5=_0x45f7f0;_0x402457[(_0x46faf1+0x40>>>0x9<<0x4)+0xf]=(_0x5b8651<<0x8|_0x5b8651>>>0x18)&0xff00ff|(_0x5b8651<<0x18|_0x5b8651>>>0x8)&0xff00ff00,_0x402457[(_0x46faf1+0x40>>>0x9<<0x4)+0xe]=(_0xd1a7f5<<0x8|_0xd1a7f5>>>0x18)&0xff00ff|(_0xd1a7f5<<0x18|_0xd1a7f5>>>0x8)&0xff00ff00,_0x149fda[_0x47af77(0x225)]=(_0x402457[_0x47af77(0x374)]+0x1)*0x4,this[_0x47af77(0xb7)]();for(var _0x15e114=this[_0x47af77(0x25d)],_0xba3cd2=_0x15e114['words'],_0x303bcd=0x0;_0x303bcd<0x4;_0x303bcd++){var _0x1e4858=_0xba3cd2[_0x303bcd];_0xba3cd2[_0x303bcd]=(_0x1e4858<<0x8|_0x1e4858>>>0x18)&0xff00ff|(_0x1e4858<<0x18|_0x1e4858>>>0x8)&0xff00ff00;}return _0x15e114;},'clone':function(){var _0xc1a0ec=_0x4b4b59,_0x46297b=_0x340ee3['clone']['call'](this);return _0x46297b[_0xc1a0ec(0x25d)]=this[_0xc1a0ec(0x25d)][_0xc1a0ec(0x93)](),_0x46297b;}});function _0x3ca992(_0x22cd23,_0x9806ed,_0x5e5a55,_0xd4915d,_0x22d1e1,_0x6b3ec7,_0x32cb6e){var _0x1afbe3=_0x22cd23+(_0x9806ed&_0x5e5a55|~_0x9806ed&_0xd4915d)+_0x22d1e1+_0x32cb6e;return(_0x1afbe3<<_0x6b3ec7|_0x1afbe3>>>0x20-_0x6b3ec7)+_0x9806ed;}function _0x32ffc7(_0x4e682d,_0x4b8f08,_0xa8f857,_0x259fd3,_0x3ffdb5,_0x456ec5,_0x436524){var _0x4a0549=_0x4e682d+(_0x4b8f08&_0x259fd3|_0xa8f857&~_0x259fd3)+_0x3ffdb5+_0x436524;return(_0x4a0549<<_0x456ec5|_0x4a0549>>>0x20-_0x456ec5)+_0x4b8f08;}function _0x54e3dc(_0x2fd6af,_0x454134,_0x1257da,_0x44656f,_0x10059b,_0x3aaeb5,_0x216d47){var _0x2641a3=_0x2fd6af+(_0x454134^_0x1257da^_0x44656f)+_0x10059b+_0x216d47;return(_0x2641a3<<_0x3aaeb5|_0x2641a3>>>0x20-_0x3aaeb5)+_0x454134;}function _0x48680f(_0x4fa62b,_0x295c41,_0x596411,_0x359c71,_0xf978bd,_0x5095d1,_0x5837ce){var _0x229bd3=_0x4fa62b+(_0x596411^(_0x295c41|~_0x359c71))+_0xf978bd+_0x5837ce;return(_0x229bd3<<_0x5095d1|_0x229bd3>>>0x20-_0x5095d1)+_0x295c41;}_0x588d49['MD5']=_0x340ee3[_0x4b4b59(0x149)](_0x25bace),_0x588d49[_0x4b4b59(0x18c)]=_0x340ee3[_0x4b4b59(0x308)](_0x25bace);}(Math),_0x76a333[_0x3f5b6b(0x3d7)];}));}(me)),me[_0xa8c90c(0x400)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x5de2a3=_0x2915d5;return tt||(tt=0x1,function(_0x4f47aa,_0x19d66c){(function(_0x3eab08,_0x4f9890){var _0x285d7f=_0x31fc;_0x4f47aa[_0x285d7f(0x400)]=_0x4f9890(ee());}(ji,function(_0x41e48f){var _0x301f1b=_0x31fc;return(function(){var _0x291a77=_0x31fc,_0x4e074f=_0x41e48f,_0x1f42f6=_0x4e074f[_0x291a77(0x221)],_0x142714=_0x1f42f6['WordArray'],_0x51aedc=_0x1f42f6[_0x291a77(0x1ee)],_0x22548f=_0x4e074f[_0x291a77(0xcc)],_0x445f49=[],_0x5b75ee=_0x22548f[_0x291a77(0x367)]=_0x51aedc['extend']({'_doReset':function(){var _0x11a0da=_0x291a77;this[_0x11a0da(0x25d)]=new _0x142714[(_0x11a0da(0x381))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c4f62,_0x1105bb){var _0x27549c=_0x291a77;for(var _0xcf27e0=this['_hash'][_0x27549c(0x34d)],_0x481773=_0xcf27e0[0x0],_0x51cf38=_0xcf27e0[0x1],_0x3e8af8=_0xcf27e0[0x2],_0x2c59a1=_0xcf27e0[0x3],_0xd8d4d7=_0xcf27e0[0x4],_0x297cbc=0x0;_0x297cbc<0x50;_0x297cbc++){if(_0x297cbc<0x10)_0x445f49[_0x297cbc]=_0x2c4f62[_0x1105bb+_0x297cbc]|0x0;else{var _0x14a324=_0x445f49[_0x297cbc-0x3]^_0x445f49[_0x297cbc-0x8]^_0x445f49[_0x297cbc-0xe]^_0x445f49[_0x297cbc-0x10];_0x445f49[_0x297cbc]=_0x14a324<<0x1|_0x14a324>>>0x1f;}var _0x5c3b2a=(_0x481773<<0x5|_0x481773>>>0x1b)+_0xd8d4d7+_0x445f49[_0x297cbc];_0x297cbc<0x14?_0x5c3b2a+=(_0x51cf38&_0x3e8af8|~_0x51cf38&_0x2c59a1)+0x5a827999:_0x297cbc<0x28?_0x5c3b2a+=(_0x51cf38^_0x3e8af8^_0x2c59a1)+0x6ed9eba1:_0x297cbc<0x3c?_0x5c3b2a+=(_0x51cf38&_0x3e8af8|_0x51cf38&_0x2c59a1|_0x3e8af8&_0x2c59a1)-0x70e44324:_0x5c3b2a+=(_0x51cf38^_0x3e8af8^_0x2c59a1)-0x359d3e2a,_0xd8d4d7=_0x2c59a1,_0x2c59a1=_0x3e8af8,_0x3e8af8=_0x51cf38<<0x1e|_0x51cf38>>>0x2,_0x51cf38=_0x481773,_0x481773=_0x5c3b2a;}_0xcf27e0[0x0]=_0xcf27e0[0x0]+_0x481773|0x0,_0xcf27e0[0x1]=_0xcf27e0[0x1]+_0x51cf38|0x0,_0xcf27e0[0x2]=_0xcf27e0[0x2]+_0x3e8af8|0x0,_0xcf27e0[0x3]=_0xcf27e0[0x3]+_0x2c59a1|0x0,_0xcf27e0[0x4]=_0xcf27e0[0x4]+_0xd8d4d7|0x0;},'_doFinalize':function(){var _0x5cce59=_0x291a77,_0x2830f1=this[_0x5cce59(0x39c)],_0x564382=_0x2830f1[_0x5cce59(0x34d)],_0x39800d=this['_nDataBytes']*0x8,_0x4de56d=_0x2830f1[_0x5cce59(0x225)]*0x8;return _0x564382[_0x4de56d>>>0x5]|=0x80<<0x18-_0x4de56d%0x20,_0x564382[(_0x4de56d+0x40>>>0x9<<0x4)+0xe]=Math[_0x5cce59(0x323)](_0x39800d/0x100000000),_0x564382[(_0x4de56d+0x40>>>0x9<<0x4)+0xf]=_0x39800d,_0x2830f1[_0x5cce59(0x225)]=_0x564382[_0x5cce59(0x374)]*0x4,this['_process'](),this[_0x5cce59(0x25d)];},'clone':function(){var _0x1640b3=_0x291a77,_0x4c75e2=_0x51aedc[_0x1640b3(0x93)]['call'](this);return _0x4c75e2[_0x1640b3(0x25d)]=this[_0x1640b3(0x25d)][_0x1640b3(0x93)](),_0x4c75e2;}});_0x4e074f[_0x291a77(0x367)]=_0x51aedc[_0x291a77(0x149)](_0x5b75ee),_0x4e074f[_0x291a77(0x2ad)]=_0x51aedc['_createHmacHelper'](_0x5b75ee);}()),_0x41e48f[_0x301f1b(0x367)];}));}(Ee)),Ee[_0x5de2a3(0x400)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x1d16ab=_0x2915d5;return it||(it=0x1,function(_0x404b6a,_0x53e4a4){(function(_0x578446,_0x12cf6e){_0x404b6a['exports']=_0x12cf6e(ee());}(Bi,function(_0x48e398){(function(){var _0x4575d3=_0x31fc,_0x155be6=_0x48e398,_0x18d2cc=_0x155be6[_0x4575d3(0x221)],_0x467627=_0x18d2cc[_0x4575d3(0x1be)],_0x4fc8a2=_0x155be6[_0x4575d3(0x234)],_0x49e2fd=_0x4fc8a2[_0x4575d3(0x122)],_0x2b6e0f=_0x155be6[_0x4575d3(0xcc)];_0x2b6e0f[_0x4575d3(0x3be)]=_0x467627[_0x4575d3(0x322)]({'init':function(_0x366854,_0x2b7e12){var _0x1f3bea=_0x4575d3;_0x366854=this['_hasher']=new _0x366854[(_0x1f3bea(0x381))](),typeof _0x2b7e12==_0x1f3bea(0x3f5)&&(_0x2b7e12=_0x49e2fd[_0x1f3bea(0x2e0)](_0x2b7e12));var _0x45b91e=_0x366854[_0x1f3bea(0x349)],_0x389f1e=_0x45b91e*0x4;_0x2b7e12[_0x1f3bea(0x225)]>_0x389f1e&&(_0x2b7e12=_0x366854[_0x1f3bea(0xd4)](_0x2b7e12)),_0x2b7e12['clamp']();for(var _0x3035fb=this[_0x1f3bea(0x297)]=_0x2b7e12[_0x1f3bea(0x93)](),_0x5419ae=this['_iKey']=_0x2b7e12[_0x1f3bea(0x93)](),_0x36ca9c=_0x3035fb[_0x1f3bea(0x34d)],_0xe50cbe=_0x5419ae[_0x1f3bea(0x34d)],_0x566953=0x0;_0x566953<_0x45b91e;_0x566953++)_0x36ca9c[_0x566953]^=0x5c5c5c5c,_0xe50cbe[_0x566953]^=0x36363636;_0x3035fb[_0x1f3bea(0x225)]=_0x5419ae['sigBytes']=_0x389f1e,this[_0x1f3bea(0x3a8)]();},'reset':function(){var _0x536657=_0x4575d3,_0x3ffcea=this[_0x536657(0x30c)];_0x3ffcea[_0x536657(0x3a8)](),_0x3ffcea[_0x536657(0xc1)](this[_0x536657(0xec)]);},'update':function(_0x45ecf4){var _0x2a9794=_0x4575d3;return this[_0x2a9794(0x30c)][_0x2a9794(0xc1)](_0x45ecf4),this;},'finalize':function(_0x2fd7c2){var _0x417542=_0x4575d3,_0xf84652=this[_0x417542(0x30c)],_0x5bd8c8=_0xf84652[_0x417542(0xd4)](_0x2fd7c2);_0xf84652[_0x417542(0x3a8)]();var _0xde7c14=_0xf84652[_0x417542(0xd4)](this[_0x417542(0x297)]['clone']()[_0x417542(0x2cf)](_0x5bd8c8));return _0xde7c14;}});}());}));}(Ce)),Ce[_0x1d16ab(0x400)];}var Vi=Ie[_0x2915d5(0x400)],nt;function At(){return nt||(nt=0x1,function(_0x1d6410,_0x232cea){(function(_0x419ff7,_0x29412c,_0x491f0f){var _0x32b4d4=_0x31fc;_0x1d6410[_0x32b4d4(0x400)]=_0x29412c(ee(),$i(),Fi());}(Vi,function(_0xaf2e47){var _0x2b33ec=_0x31fc;return(function(){var _0x455059=_0x31fc,_0x3f342c=_0xaf2e47,_0x24c3c3=_0x3f342c[_0x455059(0x221)],_0x4c5557=_0x24c3c3[_0x455059(0x1be)],_0x274f36=_0x24c3c3[_0x455059(0x285)],_0x3db7dc=_0x3f342c[_0x455059(0xcc)],_0x391029=_0x3db7dc[_0x455059(0x3d7)],_0x2f7195=_0x3db7dc['EvpKDF']=_0x4c5557[_0x455059(0x322)]({'cfg':_0x4c5557[_0x455059(0x322)]({'keySize':0x80/0x20,'hasher':_0x391029,'iterations':0x1}),'init':function(_0xee3bc7){var _0x2744ff=_0x455059;this[_0x2744ff(0x309)]=this['cfg'][_0x2744ff(0x322)](_0xee3bc7);},'compute':function(_0x524f0d,_0x31c5eb){var _0x28c67b=_0x455059;for(var _0x187c6a,_0x1312b4=this[_0x28c67b(0x309)],_0x5cecae=_0x1312b4[_0x28c67b(0x3ed)][_0x28c67b(0x3d4)](),_0x463c65=_0x274f36[_0x28c67b(0x3d4)](),_0xb4f8ec=_0x463c65['words'],_0x10de2f=_0x1312b4[_0x28c67b(0x3bd)],_0x348acd=_0x1312b4[_0x28c67b(0x1da)];_0xb4f8ec[_0x28c67b(0x374)]<_0x10de2f;){_0x187c6a&&_0x5cecae[_0x28c67b(0xc1)](_0x187c6a),_0x187c6a=_0x5cecae[_0x28c67b(0xc1)](_0x524f0d)['finalize'](_0x31c5eb),_0x5cecae[_0x28c67b(0x3a8)]();for(var _0x52d0e0=0x1;_0x52d0e0<_0x348acd;_0x52d0e0++)_0x187c6a=_0x5cecae[_0x28c67b(0xd4)](_0x187c6a),_0x5cecae[_0x28c67b(0x3a8)]();_0x463c65[_0x28c67b(0x2cf)](_0x187c6a);}return _0x463c65[_0x28c67b(0x225)]=_0x10de2f*0x4,_0x463c65;}});_0x3f342c['EvpKDF']=function(_0x6febd5,_0x10af9d,_0x400502){var _0x581d6d=_0x455059;return _0x2f7195[_0x581d6d(0x3d4)](_0x400502)['compute'](_0x6febd5,_0x10af9d);};}()),_0xaf2e47[_0x2b33ec(0x358)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0xe8b6e7=_0x2915d5;return rt||(rt=0x1,function(_0x5899ae,_0x4d3715){(function(_0x6c82b1,_0xd73c86,_0x55ff83){var _0x44faf6=_0x31fc;_0x5899ae[_0x44faf6(0x400)]=_0xd73c86(ee(),At());}(Wi,function(_0x3fe6fe){var _0x3f129f=_0x31fc;_0x3fe6fe[_0x3f129f(0x221)][_0x3f129f(0x1de)]||function(_0x11d6ee){var _0x30ca12=_0x3f129f,_0x1f2201=_0x3fe6fe,_0x3f9c43=_0x1f2201['lib'],_0x26cff3=_0x3f9c43['Base'],_0x54aec0=_0x3f9c43[_0x30ca12(0x285)],_0x269f84=_0x3f9c43[_0x30ca12(0x135)],_0x4de80a=_0x1f2201[_0x30ca12(0x234)];_0x4de80a[_0x30ca12(0x122)];var _0x4fa546=_0x4de80a['Base64'],_0x3e63d1=_0x1f2201[_0x30ca12(0xcc)],_0x1a5db0=_0x3e63d1[_0x30ca12(0x358)],_0x1de01c=_0x3f9c43[_0x30ca12(0x1de)]=_0x269f84[_0x30ca12(0x322)]({'cfg':_0x26cff3[_0x30ca12(0x322)](),'createEncryptor':function(_0x3a424e,_0x5d02f9){var _0x3e0a30=_0x30ca12;return this[_0x3e0a30(0x3d4)](this[_0x3e0a30(0x36f)],_0x3a424e,_0x5d02f9);},'createDecryptor':function(_0x35fa33,_0xdefdca){var _0x5a7012=_0x30ca12;return this['create'](this[_0x5a7012(0x35e)],_0x35fa33,_0xdefdca);},'init':function(_0xa86af1,_0x33fff5,_0x4e874e){var _0x3555d7=_0x30ca12;this[_0x3555d7(0x309)]=this[_0x3555d7(0x309)][_0x3555d7(0x322)](_0x4e874e),this['_xformMode']=_0xa86af1,this[_0x3555d7(0x354)]=_0x33fff5,this[_0x3555d7(0x3a8)]();},'reset':function(){var _0x55cd2d=_0x30ca12;_0x269f84[_0x55cd2d(0x3a8)][_0x55cd2d(0x2d9)](this),this[_0x55cd2d(0x137)]();},'process':function(_0x3db5a9){return this['_append'](_0x3db5a9),this['_process']();},'finalize':function(_0x10d26c){var _0x1570b0=_0x30ca12;_0x10d26c&&this[_0x1570b0(0x318)](_0x10d26c);var _0xab345=this['_doFinalize']();return _0xab345;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd6da91(_0x3ac52f){return typeof _0x3ac52f=='string'?_0xdd4c05:_0x5f275b;}return function(_0xac4c84){return{'encrypt':function(_0x46f2ad,_0x120607,_0x5ce641){return _0xd6da91(_0x120607)['encrypt'](_0xac4c84,_0x46f2ad,_0x120607,_0x5ce641);},'decrypt':function(_0x3fc377,_0xffd1b6,_0x2a1e1f){var _0x544581=_0x31fc;return _0xd6da91(_0xffd1b6)[_0x544581(0xad)](_0xac4c84,_0x3fc377,_0xffd1b6,_0x2a1e1f);}};};}())});_0x3f9c43[_0x30ca12(0x2a8)]=_0x1de01c[_0x30ca12(0x322)]({'_doFinalize':function(){var _0x4ce57f=this['_process'](!0x0);return _0x4ce57f;},'blockSize':0x1});var _0x81cffb=_0x1f2201['mode']={},_0x923ffc=_0x3f9c43['BlockCipherMode']=_0x26cff3[_0x30ca12(0x322)]({'createEncryptor':function(_0x50d69f,_0x290281){var _0x57c8eb=_0x30ca12;return this['Encryptor'][_0x57c8eb(0x3d4)](_0x50d69f,_0x290281);},'createDecryptor':function(_0x5c9d4b,_0x2681b5){var _0x48ea02=_0x30ca12;return this[_0x48ea02(0xef)][_0x48ea02(0x3d4)](_0x5c9d4b,_0x2681b5);},'init':function(_0x4e3128,_0x350c95){var _0x4285d6=_0x30ca12;this[_0x4285d6(0x30b)]=_0x4e3128,this[_0x4285d6(0x171)]=_0x350c95;}}),_0x3f3df3=_0x81cffb['CBC']=(function(){var _0x24a5e9=_0x30ca12,_0x5d3ac9=_0x923ffc['extend']();_0x5d3ac9[_0x24a5e9(0x38d)]=_0x5d3ac9['extend']({'processBlock':function(_0x60ed0,_0x307917){var _0x454f0a=_0x24a5e9,_0x5c3ef0=this['_cipher'],_0x41b606=_0x5c3ef0[_0x454f0a(0x349)];_0x41c073[_0x454f0a(0x2d9)](this,_0x60ed0,_0x307917,_0x41b606),_0x5c3ef0[_0x454f0a(0x3aa)](_0x60ed0,_0x307917),this[_0x454f0a(0x311)]=_0x60ed0['slice'](_0x307917,_0x307917+_0x41b606);}}),_0x5d3ac9['Decryptor']=_0x5d3ac9[_0x24a5e9(0x322)]({'processBlock':function(_0xbcbfb,_0x31d8df){var _0x107360=_0x24a5e9,_0x5c9e4e=this['_cipher'],_0x4ceb8c=_0x5c9e4e[_0x107360(0x349)],_0x3ef0ba=_0xbcbfb[_0x107360(0x340)](_0x31d8df,_0x31d8df+_0x4ceb8c);_0x5c9e4e[_0x107360(0x3cd)](_0xbcbfb,_0x31d8df),_0x41c073['call'](this,_0xbcbfb,_0x31d8df,_0x4ceb8c),this[_0x107360(0x311)]=_0x3ef0ba;}});function _0x41c073(_0x4f5876,_0x4130ec,_0x2b7165){var _0x408dd8=_0x24a5e9,_0x504a21,_0x125fbd=this[_0x408dd8(0x171)];_0x125fbd?(_0x504a21=_0x125fbd,this['_iv']=_0x11d6ee):_0x504a21=this['_prevBlock'];for(var _0x4a58c8=0x0;_0x4a58c8<_0x2b7165;_0x4a58c8++)_0x4f5876[_0x4130ec+_0x4a58c8]^=_0x504a21[_0x4a58c8];}return _0x5d3ac9;}()),_0x145b7e=_0x1f2201[_0x30ca12(0x304)]={},_0x487097=_0x145b7e[_0x30ca12(0x34b)]={'pad':function(_0x4f7a9a,_0x295cea){var _0x288314=_0x30ca12;for(var _0x555c60=_0x295cea*0x4,_0x5213d5=_0x555c60-_0x4f7a9a['sigBytes']%_0x555c60,_0x90befb=_0x5213d5<<0x18|_0x5213d5<<0x10|_0x5213d5<<0x8|_0x5213d5,_0x3e1339=[],_0x22f918=0x0;_0x22f918<_0x5213d5;_0x22f918+=0x4)_0x3e1339[_0x288314(0x2a2)](_0x90befb);var _0x18b0cd=_0x54aec0[_0x288314(0x3d4)](_0x3e1339,_0x5213d5);_0x4f7a9a[_0x288314(0x2cf)](_0x18b0cd);},'unpad':function(_0x1495d4){var _0x1bec57=_0x30ca12,_0x483c4c=_0x1495d4['words'][_0x1495d4[_0x1bec57(0x225)]-0x1>>>0x2]&0xff;_0x1495d4['sigBytes']-=_0x483c4c;}};_0x3f9c43[_0x30ca12(0x2b1)]=_0x1de01c[_0x30ca12(0x322)]({'cfg':_0x1de01c[_0x30ca12(0x309)][_0x30ca12(0x322)]({'mode':_0x3f3df3,'padding':_0x487097}),'reset':function(){var _0x5a74a8=_0x30ca12,_0x10ce69;_0x1de01c[_0x5a74a8(0x3a8)]['call'](this);var _0x27bd8b=this[_0x5a74a8(0x309)],_0x57cb4d=_0x27bd8b['iv'],_0xb41f0=_0x27bd8b['mode'];this[_0x5a74a8(0x21a)]==this[_0x5a74a8(0x36f)]?_0x10ce69=_0xb41f0[_0x5a74a8(0x1b3)]:(_0x10ce69=_0xb41f0[_0x5a74a8(0x16c)],this[_0x5a74a8(0x34c)]=0x1),this[_0x5a74a8(0x180)]&&this['_mode'][_0x5a74a8(0x143)]==_0x10ce69?this[_0x5a74a8(0x180)]['init'](this,_0x57cb4d&&_0x57cb4d['words']):(this['_mode']=_0x10ce69[_0x5a74a8(0x2d9)](_0xb41f0,this,_0x57cb4d&&_0x57cb4d['words']),this[_0x5a74a8(0x180)][_0x5a74a8(0x143)]=_0x10ce69);},'_doProcessBlock':function(_0x31ad73,_0x28d7e4){var _0x26db02=_0x30ca12;this[_0x26db02(0x180)][_0x26db02(0x27f)](_0x31ad73,_0x28d7e4);},'_doFinalize':function(){var _0x3c657f=_0x30ca12,_0x1e65ef,_0x2fb22b=this[_0x3c657f(0x309)][_0x3c657f(0x1dd)];return this[_0x3c657f(0x21a)]==this[_0x3c657f(0x36f)]?(_0x2fb22b[_0x3c657f(0x304)](this[_0x3c657f(0x39c)],this['blockSize']),_0x1e65ef=this['_process'](!0x0)):(_0x1e65ef=this['_process'](!0x0),_0x2fb22b[_0x3c657f(0x14f)](_0x1e65ef)),_0x1e65ef;},'blockSize':0x80/0x20});var _0x5e6c9=_0x3f9c43[_0x30ca12(0x37a)]=_0x26cff3[_0x30ca12(0x322)]({'init':function(_0x247c6a){var _0x56ca9d=_0x30ca12;this[_0x56ca9d(0x3db)](_0x247c6a);},'toString':function(_0x422918){var _0x263432=_0x30ca12;return(_0x422918||this['formatter'])[_0x263432(0x1ec)](this);}}),_0x5cdc98=_0x1f2201['format']={},_0x5901bf=_0x5cdc98[_0x30ca12(0x98)]={'stringify':function(_0x2103ab){var _0x2005c0=_0x30ca12,_0x16adc9,_0x347bff=_0x2103ab['ciphertext'],_0x4cd18c=_0x2103ab['salt'];return _0x4cd18c?_0x16adc9=_0x54aec0['create']([0x53616c74,0x65645f5f])['concat'](_0x4cd18c)[_0x2005c0(0x2cf)](_0x347bff):_0x16adc9=_0x347bff,_0x16adc9[_0x2005c0(0x153)](_0x4fa546);},'parse':function(_0x4e4cd2){var _0x5c0a49=_0x30ca12,_0x34f00c,_0x352984=_0x4fa546[_0x5c0a49(0x2e0)](_0x4e4cd2),_0xca1d1a=_0x352984[_0x5c0a49(0x34d)];return _0xca1d1a[0x0]==0x53616c74&&_0xca1d1a[0x1]==0x65645f5f&&(_0x34f00c=_0x54aec0[_0x5c0a49(0x3d4)](_0xca1d1a[_0x5c0a49(0x340)](0x2,0x4)),_0xca1d1a['splice'](0x0,0x4),_0x352984[_0x5c0a49(0x225)]-=0x10),_0x5e6c9[_0x5c0a49(0x3d4)]({'ciphertext':_0x352984,'salt':_0x34f00c});}},_0x5f275b=_0x3f9c43[_0x30ca12(0x2d2)]=_0x26cff3[_0x30ca12(0x322)]({'cfg':_0x26cff3[_0x30ca12(0x322)]({'format':_0x5901bf}),'encrypt':function(_0x5bf062,_0x46714f,_0xab5d38,_0x143753){var _0x10a052=_0x30ca12;_0x143753=this[_0x10a052(0x309)][_0x10a052(0x322)](_0x143753);var _0x486d80=_0x5bf062['createEncryptor'](_0xab5d38,_0x143753),_0x3d801d=_0x486d80[_0x10a052(0xd4)](_0x46714f),_0x409986=_0x486d80[_0x10a052(0x309)];return _0x5e6c9[_0x10a052(0x3d4)]({'ciphertext':_0x3d801d,'key':_0xab5d38,'iv':_0x409986['iv'],'algorithm':_0x5bf062,'mode':_0x409986[_0x10a052(0x28e)],'padding':_0x409986[_0x10a052(0x1dd)],'blockSize':_0x5bf062[_0x10a052(0x349)],'formatter':_0x143753[_0x10a052(0x2ce)]});},'decrypt':function(_0x59aed0,_0x53ce25,_0x3e2147,_0xba6959){var _0xdd4a81=_0x30ca12;_0xba6959=this[_0xdd4a81(0x309)][_0xdd4a81(0x322)](_0xba6959),_0x53ce25=this[_0xdd4a81(0x3b3)](_0x53ce25,_0xba6959[_0xdd4a81(0x2ce)]);var _0x370f23=_0x59aed0['createDecryptor'](_0x3e2147,_0xba6959)[_0xdd4a81(0xd4)](_0x53ce25['ciphertext']);return _0x370f23;},'_parse':function(_0x41551c,_0x587038){var _0x1df3a3=_0x30ca12;return typeof _0x41551c==_0x1df3a3(0x3f5)?_0x587038['parse'](_0x41551c,this):_0x41551c;}}),_0x5e99ef=_0x1f2201['kdf']={},_0x493638=_0x5e99ef['OpenSSL']={'execute':function(_0x309650,_0x599633,_0x3a847f,_0x451763,_0x1f1ec3){var _0x54a769=_0x30ca12;if(_0x451763||(_0x451763=_0x54aec0[_0x54a769(0x2bd)](0x40/0x8)),_0x1f1ec3)var _0x16d2e6=_0x1a5db0['create']({'keySize':_0x599633+_0x3a847f,'hasher':_0x1f1ec3})[_0x54a769(0xaa)](_0x309650,_0x451763);else var _0x16d2e6=_0x1a5db0['create']({'keySize':_0x599633+_0x3a847f})[_0x54a769(0xaa)](_0x309650,_0x451763);var _0xc008ec=_0x54aec0['create'](_0x16d2e6[_0x54a769(0x34d)][_0x54a769(0x340)](_0x599633),_0x3a847f*0x4);return _0x16d2e6[_0x54a769(0x225)]=_0x599633*0x4,_0x5e6c9[_0x54a769(0x3d4)]({'key':_0x16d2e6,'iv':_0xc008ec,'salt':_0x451763});}},_0xdd4c05=_0x3f9c43['PasswordBasedCipher']=_0x5f275b[_0x30ca12(0x322)]({'cfg':_0x5f275b[_0x30ca12(0x309)]['extend']({'kdf':_0x493638}),'encrypt':function(_0x18e8fb,_0x25a8b6,_0x5ccda9,_0x19b0ad){var _0x5d914d=_0x30ca12;_0x19b0ad=this['cfg'][_0x5d914d(0x322)](_0x19b0ad);var _0x1f51b2=_0x19b0ad[_0x5d914d(0x2ee)][_0x5d914d(0x273)](_0x5ccda9,_0x18e8fb[_0x5d914d(0x3bd)],_0x18e8fb['ivSize'],_0x19b0ad[_0x5d914d(0x380)],_0x19b0ad['hasher']);_0x19b0ad['iv']=_0x1f51b2['iv'];var _0x4c16e1=_0x5f275b['encrypt'][_0x5d914d(0x2d9)](this,_0x18e8fb,_0x25a8b6,_0x1f51b2[_0x5d914d(0x2ef)],_0x19b0ad);return _0x4c16e1[_0x5d914d(0x3db)](_0x1f51b2),_0x4c16e1;},'decrypt':function(_0x6ca37e,_0x56ec45,_0x4614bd,_0xecf23f){var _0x10e81b=_0x30ca12;_0xecf23f=this[_0x10e81b(0x309)][_0x10e81b(0x322)](_0xecf23f),_0x56ec45=this[_0x10e81b(0x3b3)](_0x56ec45,_0xecf23f[_0x10e81b(0x2ce)]);var _0x378dde=_0xecf23f[_0x10e81b(0x2ee)]['execute'](_0x4614bd,_0x6ca37e[_0x10e81b(0x3bd)],_0x6ca37e[_0x10e81b(0x347)],_0x56ec45[_0x10e81b(0x380)],_0xecf23f['hasher']);_0xecf23f['iv']=_0x378dde['iv'];var _0x358bc4=_0x5f275b['decrypt'][_0x10e81b(0x2d9)](this,_0x6ca37e,_0x56ec45,_0x378dde[_0x10e81b(0x2ef)],_0xecf23f);return _0x358bc4;}});}();}));}(Te)),Te[_0xe8b6e7(0x400)];}var Gi=fe['exports'],st;function Ki(){return st||(st=0x1,function(_0x3a707a,_0x254413){(function(_0x11d5c2,_0x1f48d6,_0x41ff2f){_0x3a707a['exports']=_0x1f48d6(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4708f3){var _0x5609df=_0x31fc;return(function(){var _0x56712e=_0x31fc,_0x584904=_0x4708f3,_0x1ec6b5=_0x584904['lib'],_0x5f5189=_0x1ec6b5[_0x56712e(0x2b1)],_0x43e74b=_0x584904[_0x56712e(0xcc)],_0x5d7b92=[],_0x13ded7=[],_0x5a4b02=[],_0x2e09a7=[],_0x3483cd=[],_0xffd008=[],_0x3e0468=[],_0x2e7f56=[],_0x4f376f=[],_0x229b1e=[];(function(){for(var _0x25ef21=[],_0xb03eb0=0x0;_0xb03eb0<0x100;_0xb03eb0++)_0xb03eb0<0x80?_0x25ef21[_0xb03eb0]=_0xb03eb0<<0x1:_0x25ef21[_0xb03eb0]=_0xb03eb0<<0x1^0x11b;for(var _0x487ab7=0x0,_0x55b78=0x0,_0xb03eb0=0x0;_0xb03eb0<0x100;_0xb03eb0++){var _0x5ce4ef=_0x55b78^_0x55b78<<0x1^_0x55b78<<0x2^_0x55b78<<0x3^_0x55b78<<0x4;_0x5ce4ef=_0x5ce4ef>>>0x8^_0x5ce4ef&0xff^0x63,_0x5d7b92[_0x487ab7]=_0x5ce4ef,_0x13ded7[_0x5ce4ef]=_0x487ab7;var _0x4ffd14=_0x25ef21[_0x487ab7],_0x4ab562=_0x25ef21[_0x4ffd14],_0x4af2a7=_0x25ef21[_0x4ab562],_0x48b07a=_0x25ef21[_0x5ce4ef]*0x101^_0x5ce4ef*0x1010100;_0x5a4b02[_0x487ab7]=_0x48b07a<<0x18|_0x48b07a>>>0x8,_0x2e09a7[_0x487ab7]=_0x48b07a<<0x10|_0x48b07a>>>0x10,_0x3483cd[_0x487ab7]=_0x48b07a<<0x8|_0x48b07a>>>0x18,_0xffd008[_0x487ab7]=_0x48b07a;var _0x48b07a=_0x4af2a7*0x1010101^_0x4ab562*0x10001^_0x4ffd14*0x101^_0x487ab7*0x1010100;_0x3e0468[_0x5ce4ef]=_0x48b07a<<0x18|_0x48b07a>>>0x8,_0x2e7f56[_0x5ce4ef]=_0x48b07a<<0x10|_0x48b07a>>>0x10,_0x4f376f[_0x5ce4ef]=_0x48b07a<<0x8|_0x48b07a>>>0x18,_0x229b1e[_0x5ce4ef]=_0x48b07a,_0x487ab7?(_0x487ab7=_0x4ffd14^_0x25ef21[_0x25ef21[_0x25ef21[_0x4af2a7^_0x4ffd14]]],_0x55b78^=_0x25ef21[_0x25ef21[_0x55b78]]):_0x487ab7=_0x55b78=0x1;}}());var _0x57f5a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe95e4f=_0x43e74b[_0x56712e(0x343)]=_0x5f5189['extend']({'_doReset':function(){var _0x491267=_0x56712e,_0x6a64e8;if(!(this[_0x491267(0x35a)]&&this['_keyPriorReset']===this['_key'])){for(var _0x4cfbda=this['_keyPriorReset']=this[_0x491267(0x354)],_0x191bca=_0x4cfbda[_0x491267(0x34d)],_0x328930=_0x4cfbda['sigBytes']/0x4,_0x394c3c=this[_0x491267(0x35a)]=_0x328930+0x6,_0x20c106=(_0x394c3c+0x1)*0x4,_0x36ecc1=this[_0x491267(0xf5)]=[],_0x4f0579=0x0;_0x4f0579<_0x20c106;_0x4f0579++)_0x4f0579<_0x328930?_0x36ecc1[_0x4f0579]=_0x191bca[_0x4f0579]:(_0x6a64e8=_0x36ecc1[_0x4f0579-0x1],_0x4f0579%_0x328930?_0x328930>0x6&&_0x4f0579%_0x328930==0x4&&(_0x6a64e8=_0x5d7b92[_0x6a64e8>>>0x18]<<0x18|_0x5d7b92[_0x6a64e8>>>0x10&0xff]<<0x10|_0x5d7b92[_0x6a64e8>>>0x8&0xff]<<0x8|_0x5d7b92[_0x6a64e8&0xff]):(_0x6a64e8=_0x6a64e8<<0x8|_0x6a64e8>>>0x18,_0x6a64e8=_0x5d7b92[_0x6a64e8>>>0x18]<<0x18|_0x5d7b92[_0x6a64e8>>>0x10&0xff]<<0x10|_0x5d7b92[_0x6a64e8>>>0x8&0xff]<<0x8|_0x5d7b92[_0x6a64e8&0xff],_0x6a64e8^=_0x57f5a1[_0x4f0579/_0x328930|0x0]<<0x18),_0x36ecc1[_0x4f0579]=_0x36ecc1[_0x4f0579-_0x328930]^_0x6a64e8);for(var _0x45801b=this[_0x491267(0x9a)]=[],_0x571390=0x0;_0x571390<_0x20c106;_0x571390++){var _0x4f0579=_0x20c106-_0x571390;if(_0x571390%0x4)var _0x6a64e8=_0x36ecc1[_0x4f0579];else var _0x6a64e8=_0x36ecc1[_0x4f0579-0x4];_0x571390<0x4||_0x4f0579<=0x4?_0x45801b[_0x571390]=_0x6a64e8:_0x45801b[_0x571390]=_0x3e0468[_0x5d7b92[_0x6a64e8>>>0x18]]^_0x2e7f56[_0x5d7b92[_0x6a64e8>>>0x10&0xff]]^_0x4f376f[_0x5d7b92[_0x6a64e8>>>0x8&0xff]]^_0x229b1e[_0x5d7b92[_0x6a64e8&0xff]];}}},'encryptBlock':function(_0x215fd7,_0xe8b066){var _0x403533=_0x56712e;this[_0x403533(0x2db)](_0x215fd7,_0xe8b066,this['_keySchedule'],_0x5a4b02,_0x2e09a7,_0x3483cd,_0xffd008,_0x5d7b92);},'decryptBlock':function(_0x494e2e,_0x4d0b49){var _0x426a04=_0x56712e,_0x49b17e=_0x494e2e[_0x4d0b49+0x1];_0x494e2e[_0x4d0b49+0x1]=_0x494e2e[_0x4d0b49+0x3],_0x494e2e[_0x4d0b49+0x3]=_0x49b17e,this[_0x426a04(0x2db)](_0x494e2e,_0x4d0b49,this[_0x426a04(0x9a)],_0x3e0468,_0x2e7f56,_0x4f376f,_0x229b1e,_0x13ded7);var _0x49b17e=_0x494e2e[_0x4d0b49+0x1];_0x494e2e[_0x4d0b49+0x1]=_0x494e2e[_0x4d0b49+0x3],_0x494e2e[_0x4d0b49+0x3]=_0x49b17e;},'_doCryptBlock':function(_0x44c2d4,_0x5b5b9b,_0x325b5d,_0x5a1504,_0x40ecb1,_0x511768,_0x551708,_0x1d916e){var _0x247e6b=_0x56712e;for(var _0x59deee=this[_0x247e6b(0x35a)],_0xf212e4=_0x44c2d4[_0x5b5b9b]^_0x325b5d[0x0],_0x63b15a=_0x44c2d4[_0x5b5b9b+0x1]^_0x325b5d[0x1],_0x1409e6=_0x44c2d4[_0x5b5b9b+0x2]^_0x325b5d[0x2],_0x2a250f=_0x44c2d4[_0x5b5b9b+0x3]^_0x325b5d[0x3],_0xd4be9=0x4,_0x427e49=0x1;_0x427e49<_0x59deee;_0x427e49++){var _0x9912d8=_0x5a1504[_0xf212e4>>>0x18]^_0x40ecb1[_0x63b15a>>>0x10&0xff]^_0x511768[_0x1409e6>>>0x8&0xff]^_0x551708[_0x2a250f&0xff]^_0x325b5d[_0xd4be9++],_0x692feb=_0x5a1504[_0x63b15a>>>0x18]^_0x40ecb1[_0x1409e6>>>0x10&0xff]^_0x511768[_0x2a250f>>>0x8&0xff]^_0x551708[_0xf212e4&0xff]^_0x325b5d[_0xd4be9++],_0x19de00=_0x5a1504[_0x1409e6>>>0x18]^_0x40ecb1[_0x2a250f>>>0x10&0xff]^_0x511768[_0xf212e4>>>0x8&0xff]^_0x551708[_0x63b15a&0xff]^_0x325b5d[_0xd4be9++],_0x2aaf89=_0x5a1504[_0x2a250f>>>0x18]^_0x40ecb1[_0xf212e4>>>0x10&0xff]^_0x511768[_0x63b15a>>>0x8&0xff]^_0x551708[_0x1409e6&0xff]^_0x325b5d[_0xd4be9++];_0xf212e4=_0x9912d8,_0x63b15a=_0x692feb,_0x1409e6=_0x19de00,_0x2a250f=_0x2aaf89;}var _0x9912d8=(_0x1d916e[_0xf212e4>>>0x18]<<0x18|_0x1d916e[_0x63b15a>>>0x10&0xff]<<0x10|_0x1d916e[_0x1409e6>>>0x8&0xff]<<0x8|_0x1d916e[_0x2a250f&0xff])^_0x325b5d[_0xd4be9++],_0x692feb=(_0x1d916e[_0x63b15a>>>0x18]<<0x18|_0x1d916e[_0x1409e6>>>0x10&0xff]<<0x10|_0x1d916e[_0x2a250f>>>0x8&0xff]<<0x8|_0x1d916e[_0xf212e4&0xff])^_0x325b5d[_0xd4be9++],_0x19de00=(_0x1d916e[_0x1409e6>>>0x18]<<0x18|_0x1d916e[_0x2a250f>>>0x10&0xff]<<0x10|_0x1d916e[_0xf212e4>>>0x8&0xff]<<0x8|_0x1d916e[_0x63b15a&0xff])^_0x325b5d[_0xd4be9++],_0x2aaf89=(_0x1d916e[_0x2a250f>>>0x18]<<0x18|_0x1d916e[_0xf212e4>>>0x10&0xff]<<0x10|_0x1d916e[_0x63b15a>>>0x8&0xff]<<0x8|_0x1d916e[_0x1409e6&0xff])^_0x325b5d[_0xd4be9++];_0x44c2d4[_0x5b5b9b]=_0x9912d8,_0x44c2d4[_0x5b5b9b+0x1]=_0x692feb,_0x44c2d4[_0x5b5b9b+0x2]=_0x19de00,_0x44c2d4[_0x5b5b9b+0x3]=_0x2aaf89;},'keySize':0x100/0x20});_0x584904[_0x56712e(0x343)]=_0x5f5189[_0x56712e(0x149)](_0xe95e4f);}()),_0x4708f3[_0x5609df(0x343)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x2915d5(0x400)],at;function Xi(){return at||(at=0x1,function(_0x17417e,_0x58b0be){(function(_0x393b87,_0x52e4a4){var _0x23794d=_0x31fc;_0x17417e[_0x23794d(0x400)]=_0x52e4a4(ee());}(Ji,function(_0xb6821c){var _0x55956e=_0x31fc;return _0xb6821c[_0x55956e(0x234)][_0x55956e(0x122)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x2915d5(0x400)],ct;function tn(){var _0x146e2a=_0x2915d5;return ct||(ct=0x1,function(_0xb05edb,_0x213de2){(function(_0x31760b,_0x2c28dd){_0xb05edb['exports']=_0x2c28dd(ee());}(en,function(_0x1118ff){var _0x18fe3d=_0x31fc;return(function(){var _0x1e79cd=_0x31fc;if(typeof ArrayBuffer==_0x1e79cd(0x2b3)){var _0x3360c3=_0x1118ff,_0x5d1165=_0x3360c3['lib'],_0x56f402=_0x5d1165['WordArray'],_0x4b2d94=_0x56f402['init'],_0x30b1dc=_0x56f402['init']=function(_0x30bfc0){var _0x4d10c9=_0x1e79cd;if(_0x30bfc0 instanceof ArrayBuffer&&(_0x30bfc0=new Uint8Array(_0x30bfc0)),(_0x30bfc0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30bfc0 instanceof Uint8ClampedArray||_0x30bfc0 instanceof Int16Array||_0x30bfc0 instanceof Uint16Array||_0x30bfc0 instanceof Int32Array||_0x30bfc0 instanceof Uint32Array||_0x30bfc0 instanceof Float32Array||_0x30bfc0 instanceof Float64Array)&&(_0x30bfc0=new Uint8Array(_0x30bfc0[_0x4d10c9(0x179)],_0x30bfc0[_0x4d10c9(0x2bc)],_0x30bfc0[_0x4d10c9(0x1fe)])),_0x30bfc0 instanceof Uint8Array){for(var _0x481720=_0x30bfc0[_0x4d10c9(0x1fe)],_0x4fc5f1=[],_0x307069=0x0;_0x307069<_0x481720;_0x307069++)_0x4fc5f1[_0x307069>>>0x2]|=_0x30bfc0[_0x307069]<<0x18-_0x307069%0x4*0x8;_0x4b2d94[_0x4d10c9(0x2d9)](this,_0x4fc5f1,_0x481720);}else _0x4b2d94[_0x4d10c9(0x2e5)](this,arguments);};_0x30b1dc[_0x1e79cd(0x13d)]=_0x56f402;}}()),_0x1118ff[_0x18fe3d(0x221)][_0x18fe3d(0x285)];}));}(Re)),Re[_0x146e2a(0x400)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x2915d5(0x400)],ht;function on(){var _0x30858f=_0x2915d5;return ht||(ht=0x1,function(_0x3e54c1,_0x5eff6a){(function(_0x4fc48f,_0x15ad49,_0x3e1dbd){var _0x3fba9d=_0x31fc;_0x3e54c1[_0x3fba9d(0x400)]=_0x15ad49(ee(),Pt());}(sn,function(_0xbf1ff5){var _0x3449c4=_0x31fc;return _0xbf1ff5[_0x3449c4(0x304)][_0x3449c4(0x38f)]={'pad':function(){},'unpad':function(){}},_0xbf1ff5['pad']['NoPadding'];}));}(ye)),ye[_0x30858f(0x400)];}var an=on();const cn=Se(an);function hn(_0xe7d858,_0x5805be){var _0x567860=_0x2915d5;const _0x5a3846=_0x5805be-_0xe7d858['length']%_0x5805be,_0x380724=String[_0x567860(0x1eb)](_0x5a3846)['repeat'](_0x5a3846);return _0xe7d858+_0x380724;}function ln(_0x7dcc5c,_0x418d1a){var _0x4f2b55=_0x2915d5;const _0x4351b3=rn['random'](0x10),_0x2801d3=hn(_0x7dcc5c,0x10),_0x20bd89=qi['encrypt'](Qi[_0x4f2b55(0x2e0)](_0x2801d3),ot['parse'](_0x418d1a),{'iv':_0x4351b3,'padding':cn});return _0x4351b3[_0x4f2b55(0x2cf)](_0x20bd89[_0x4f2b55(0x178)])[_0x4f2b55(0x153)](ot);}function _n(){var _0x1312b7=_0x2915d5;const _0x157e56=xt[_0x1312b7(0xa7)]()['__Key__'];if(_0x157e56){const _0x453514={'time':Math[_0x1312b7(0x323)](Date[_0x1312b7(0x2d8)]()/0x3e8),'domain':location[_0x1312b7(0xcd)]};return ln(JSON[_0x1312b7(0x1ec)](_0x453514),_0x157e56);}}var un=Object[_0x2915d5(0x13f)],dn=(_0xffebfc,_0x448c61,_0x5b95d8,_0x358e3d)=>{for(var _0x25416a=_0x358e3d>0x1?void 0x0:_0x358e3d?un(_0x448c61,_0x5b95d8):_0x448c61,_0x304341=_0xffebfc['length']-0x1,_0x23800c;_0x304341>=0x0;_0x304341--)(_0x23800c=_0xffebfc[_0x304341])&&(_0x25416a=_0x23800c(_0x25416a)||_0x25416a);return _0x25416a;},vn=(_0xfb64d5,_0x192144)=>(_0x1c37fa,_0x47514d)=>_0x192144(_0x1c37fa,_0x47514d,_0xfb64d5);let Ne=class{constructor(_0x56cf0f){var _0x4d0fa9=_0x2915d5;this['_httpService']=_0x56cf0f,this[_0x4d0fa9(0x12c)]();}[_0x2915d5(0x12c)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1e360c,_0x4ebbcc)=>{var _0x177393=_0x31fc;const _0x4f4bd8=_0x1e360c[_0x177393(0x3a0)],_0x2b093d=_n();return _0x2b093d&&_0x4f4bd8[_0x177393(0x3c8)](_0x177393(0xfe),_0x2b093d),_0x4ebbcc(_0x1e360c);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x2915d5(0x2f5)]))],Ne);var Sn=Object[_0x2915d5(0x13f)],fn=(_0x58d103,_0x305a15,_0x490664,_0x478ea4)=>{var _0x5bd5b8=_0x2915d5;for(var _0x3eee4c=_0x478ea4>0x1?void 0x0:_0x478ea4?Sn(_0x305a15,_0x490664):_0x305a15,_0x52f219=_0x58d103[_0x5bd5b8(0x374)]-0x1,_0x586d43;_0x52f219>=0x0;_0x52f219--)(_0x586d43=_0x58d103[_0x52f219])&&(_0x3eee4c=_0x586d43(_0x3eee4c)||_0x3eee4c);return _0x3eee4c;},Me=(_0x244064,_0xc8ea26)=>(_0x24c2ce,_0x4f3785)=>_0xc8ea26(_0x24c2ce,_0x4f3785,_0x244064);exports[_0x2915d5(0x31a)]=class extends a['RxDisposable']{constructor(_0x527004,_0xdf1fdc,_0x5a1adf){var _0xc2b00b=_0x2915d5;super(),A(this,_0xc2b00b(0x370),new j[(_0xc2b00b(0x30d))](null)),A(this,_0xc2b00b(0x1d7),this[_0xc2b00b(0x370)][_0xc2b00b(0x366)]()),(this[_0xc2b00b(0x1f2)]=_0x527004,this['_snapshotService']=_0xdf1fdc,this['_localCacheService']=_0x5a1adf);}async[_0x2915d5(0x222)](_0x5bc73d,_0x396575,_0x30d560){var _0x3f965d=_0x2915d5;this['_unitInfo$'][_0x3f965d(0x3f2)]({'unitId':_0x5bc73d,'type':_0x396575,'subUnitId':_0x30d560});let _0x3e08f5=null;switch(_0x396575){case X['UNIVER_SHEET']:{_0x3e08f5=await this[_0x3f965d(0x1d1)](_0x5bc73d);break;}case X[_0x3f965d(0x279)]:{_0x3e08f5=await this[_0x3f965d(0x2fc)](_0x5bc73d);break;}default:{this[_0x3f965d(0x1f2)][_0x3f965d(0x335)](_0x3f965d(0x2f4),_0x3f965d(0x37b));break;}}return _0x3e08f5;}async['_loadSheet'](_0x52281e){var _0x562011=_0x2915d5,_0x454358;let _0x2927a2=0x0;const _0x36f99a=await((_0x454358=this[_0x562011(0x372)])==null?void 0x0:_0x454358[_0x562011(0x105)](_0x52281e));return _0x36f99a&&(_0x36f99a['awaitingChangeset']||_0x36f99a[_0x562011(0xdd)][_0x562011(0x374)]!==0x0)&&(_0x2927a2=_0x36f99a[_0x562011(0x32e)]),_0x2927a2===0x0&&this[_0x562011(0x1f2)][_0x562011(0x119)]('[DataLoaderService]',_0x562011(0x2a5)),this[_0x562011(0x1ca)][_0x562011(0x295)](_0x52281e,_0x2927a2);}async[_0x2915d5(0x2fc)](_0x52bc40){var _0x215d14=_0x2915d5,_0x3e51af;let _0x32211e=0x0;const _0xb7eb1c=await((_0x3e51af=this[_0x215d14(0x372)])==null?void 0x0:_0x3e51af[_0x215d14(0x105)](_0x52bc40));return _0xb7eb1c&&(_0xb7eb1c['awaitingChangeset']||_0xb7eb1c['mutations']['length']!==0x0)&&(_0x32211e=_0xb7eb1c['rev']),_0x32211e===0x0&&this[_0x215d14(0x1f2)][_0x215d14(0x119)](_0x215d14(0x2f4),_0x215d14(0x2a5)),this[_0x215d14(0x1ca)][_0x215d14(0x3ee)](_0x52bc40,_0x32211e);}},exports[_0x2915d5(0x31a)]=fn([Me(0x0,a[_0x2915d5(0x10c)]),Me(0x1,a[_0x2915d5(0x352)](g[_0x2915d5(0xd9)])),Me(0x2,a['Optional'](z))],exports[_0x2915d5(0x31a)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x417a21,_0x8e4cea,_0x34aa59,_0x2f8735)=>{var _0x2f7a29=_0x2915d5;for(var _0x2d8237=_0x2f8735>0x1?void 0x0:_0x2f8735?pn(_0x8e4cea,_0x34aa59):_0x8e4cea,_0x4035eb=_0x417a21[_0x2f7a29(0x374)]-0x1,_0x2c7dd0;_0x4035eb>=0x0;_0x4035eb--)(_0x2c7dd0=_0x417a21[_0x4035eb])&&(_0x2d8237=_0x2c7dd0(_0x2d8237)||_0x2d8237);return _0x2d8237;},xe=(_0x1e76df,_0x1dbba0)=>(_0x2f3458,_0x254a25)=>_0x1dbba0(_0x2f3458,_0x254a25,_0x1e76df);const mn=['image/png',_0x2915d5(0x2ae),_0x2915d5(0xda),_0x2915d5(0x2b4),'image/bmp'],In=0x5*0x400*0x400,En=_0x2915d5(0x1e6),Cn='/universer-api/stream/file/upload',Tn=_0x2915d5(0x321),bn=_0x2915d5(0x2e4);exports[_0x2915d5(0x1e2)]=class{constructor(_0x32b26b,_0x3f9889,_0x44952a){var _0x544218=_0x2915d5;A(this,'_waitCount',0x0),A(this,'_change$',new j[(_0x544218(0x33b))]()),A(this,_0x544218(0x1b5),this[_0x544218(0x2c0)]),A(this,_0x544218(0x161),new Map()),(this[_0x544218(0x91)]=_0x32b26b,this[_0x544218(0x1a6)]=_0x3f9889,this['_univerInstanceService']=_0x44952a);}[_0x2915d5(0x181)](_0x24754e){var _0x15c840=_0x2915d5;this[_0x15c840(0x3d1)]=_0x24754e,this['_change$'][_0x15c840(0x3f2)](_0x24754e);}['getImageSourceCache'](_0x34ff29,_0x4b1d0b){var _0x37c426=_0x2915d5;if(_0x4b1d0b===J[_0x37c426(0xd6)]['BASE64']){const _0x3d16e5=new Image();return _0x3d16e5[_0x37c426(0x376)]=_0x34ff29,_0x3d16e5;}return this['_imageSourceCache'][_0x37c426(0x387)](_0x34ff29);}[_0x2915d5(0x121)](_0x1696cb,_0x23530e,_0xc8dacc){var _0x1fb50b=_0x2915d5;_0x23530e===J[_0x1fb50b(0xd6)][_0x1fb50b(0x254)]||_0xc8dacc==null||this[_0x1fb50b(0x161)]['set'](_0x1696cb,_0xc8dacc);}async[_0x2915d5(0x288)](_0x18922c){var _0xa2527b=_0x2915d5;try{const _0x4c0cdf=this[_0xa2527b(0x2f0)](this['_getSignURL'](),''+_0x18922c),_0x1a2a8a=(await this[_0xa2527b(0x91)]['get'](_0x4c0cdf))['body'];if(_0x1a2a8a[_0xa2527b(0x335)]&&_0x1a2a8a[_0xa2527b(0x335)][_0xa2527b(0x27a)]===Ct['OK']){const _0x299026=new URL(_0x1a2a8a[_0xa2527b(0x12a)],this['_getDownloadEndpointURL']())[_0xa2527b(0x153)]();return Promise[_0xa2527b(0x215)](_0x299026);}return Promise[_0xa2527b(0x3b6)](_0x1a2a8a['error']);}catch(_0x353ea3){return Promise[_0xa2527b(0x3b6)](_0x353ea3);}}async[_0x2915d5(0x3e3)](_0x4dc042){var _0x5c07a1=_0x2915d5;let _0x4fff6c='';if(!mn[_0x5c07a1(0x1c9)](_0x4dc042[_0x5c07a1(0x1a2)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x5c07a1(0x20b)]));if(_0x4dc042[_0x5c07a1(0x257)]>In)return this[_0x5c07a1(0x1ae)](),Promise[_0x5c07a1(0x3b6)](new Error(J[_0x5c07a1(0x124)][_0x5c07a1(0x3ba)]));try{const _0x377ab9=new FormData();_0x377ab9['append'](_0x5c07a1(0x271),_0x4dc042);const _0x3c0548=this['_univerInstanceService'][_0x5c07a1(0x101)](),_0x21f28c=_0x3c0548==null?void 0x0:_0x3c0548[_0x5c07a1(0x341)]();if(!_0x21f28c)throw new Error(_0x5c07a1(0x2d3));const _0x49fb31=this[_0x5c07a1(0x26c)]()+_0x5c07a1(0x337)+_0x4dc042[_0x5c07a1(0x257)]['toString']()+_0x5c07a1(0xb8)+Tt['UnitEmbedded']+_0x5c07a1(0x359)+encodeURIComponent(_0x21f28c),_0x3798e6=await(await fetch(_0x49fb31,{'method':_0x5c07a1(0x111),'body':_0x377ab9}))[_0x5c07a1(0x1e9)]();if(typeof _0x3798e6['FileId']!=_0x5c07a1(0x3f5))return this[_0x5c07a1(0x1ae)](),Promise[_0x5c07a1(0x3b6)](new Error(J['ImageUploadStatusType']['ERROR_IMAGE']));_0x4fff6c=_0x3798e6[_0x5c07a1(0x2b7)];}catch{return this[_0x5c07a1(0x1ae)](),Promise[_0x5c07a1(0x3b6)](new Error(J[_0x5c07a1(0x124)][_0x5c07a1(0x25c)]));}return new Promise((_0x3d8258,_0x3acd30)=>{var _0x34c54b=_0x5c07a1;const _0x593bc5=new FileReader();_0x593bc5[_0x34c54b(0x23d)](_0x4dc042),_0x593bc5[_0x34c54b(0x375)]=_0x1ea318=>{var _0x37c755=_0x34c54b,_0x57ef1a;const _0x3c690c=(_0x57ef1a=_0x1ea318['target'])==null?void 0x0:_0x57ef1a['result'];if(_0x3c690c==null){this[_0x37c755(0x1ae)](),_0x3acd30(new Error(J['ImageUploadStatusType'][_0x37c755(0x25c)]));return;}const _0xaeaa56=a[_0x37c755(0xfb)][_0x37c755(0x237)](0x6);_0x3d8258({'imageId':_0xaeaa56,'imageSourceType':J[_0x37c755(0xd6)][_0x37c755(0x27e)],'source':_0x4fff6c,'base64Cache':_0x3c690c,'status':J[_0x37c755(0x124)][_0x37c755(0x1ed)]}),this[_0x37c755(0x1ae)]();};});}[_0x2915d5(0x26c)](){var _0x265cf6=_0x2915d5,_0x1bcc8c,_0x4c921b;const _0x1468dd=this[_0x265cf6(0x1a6)][_0x265cf6(0x14a)](En),_0x241ff7=this['_configService'][_0x265cf6(0x14a)](Y);return(_0x4c921b=(_0x1bcc8c=_0x241ff7==null?void 0x0:_0x241ff7[_0x265cf6(0x2e1)])!=null?_0x1bcc8c:_0x1468dd)!=null?_0x4c921b:Cn;}[_0x2915d5(0x283)](){var _0x4b09a0=_0x2915d5,_0x3a220f,_0x5865b8;const _0x162218=this['_configService']['getConfig'](Tn),_0x263fa0=this[_0x4b09a0(0x1a6)][_0x4b09a0(0x14a)](Y);return(_0x5865b8=(_0x3a220f=_0x263fa0==null?void 0x0:_0x263fa0[_0x4b09a0(0x27d)])!=null?_0x3a220f:_0x162218)!=null?_0x5865b8:bn;}[_0x2915d5(0xf8)](){var _0x456e18=_0x2915d5,_0x282a91;const _0x4f4413=this['_configService'][_0x456e18(0x14a)](Y);return(_0x282a91=_0x4f4413==null?void 0x0:_0x4f4413[_0x456e18(0x168)])!=null?_0x282a91:location[_0x456e18(0x15f)];}[_0x2915d5(0x2f0)](_0x59085e,_0x27f2c9){return _0x59085e['replace']('{fileID}',_0x27f2c9);}[_0x2915d5(0x1ae)](){var _0x26edf4=_0x2915d5;this['_waitCount']-=0x1,this[_0x26edf4(0x2c0)][_0x26edf4(0x3f2)](this[_0x26edf4(0x3d1)]);}},exports[_0x2915d5(0x1e2)]=gn([xe(0x0,a['Inject'](q[_0x2915d5(0x2f5)])),xe(0x1,a[_0x2915d5(0x2af)]),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x2915d5(0x1e2)]);var Rn=Object[_0x2915d5(0x13f)],yn=(_0x266eab,_0x3449e8,_0x5d7ed4,_0x15f1f0)=>{var _0x3051b7=_0x2915d5;for(var _0x4471f6=_0x15f1f0>0x1?void 0x0:_0x15f1f0?Rn(_0x3449e8,_0x5d7ed4):_0x3449e8,_0xed0f31=_0x266eab[_0x3051b7(0x374)]-0x1,_0x4bed73;_0xed0f31>=0x0;_0xed0f31--)(_0x4bed73=_0x266eab[_0xed0f31])&&(_0x4471f6=_0x4bed73(_0x4471f6)||_0x4471f6);return _0x4471f6;},lt=(_0x1a5678,_0x162d81)=>(_0x5ec03f,_0x2c00bb)=>_0x162d81(_0x5ec03f,_0x2c00bb,_0x1a5678);function _0x31fc(_0x44f0ed,_0x52e81c){var _0x118308=_0x1183();return _0x31fc=function(_0x31fc4e,_0x13d326){_0x31fc4e=_0x31fc4e-0x8c;var _0x35cb84=_0x118308[_0x31fc4e];return _0x35cb84;},_0x31fc(_0x44f0ed,_0x52e81c);}const On='/universer-api/authz';exports[_0x2915d5(0x36e)]=class{constructor(_0x3f0d91,_0x2736c6){var _0x5abd5d=_0x2915d5;this['_configService']=_0x3f0d91,this[_0x5abd5d(0x2bb)]=_0x2736c6;}[_0x2915d5(0x1d9)](){var _0x2394f8=_0x2915d5,_0x6493ff,_0xd2e943;const _0x465aab=this[_0x2394f8(0x1a6)][_0x2394f8(0x14a)](Ge),_0x15a82f=this['_configService'][_0x2394f8(0x14a)](Y);return(_0xd2e943=(_0x6493ff=_0x15a82f==null?void 0x0:_0x15a82f[_0x2394f8(0xca)])!=null?_0x6493ff:_0x465aab)!=null?_0xd2e943:On;}async[_0x2915d5(0x2f9)](_0x109b56){var _0x25f56b=_0x2915d5;const _0x28aadf=this[_0x25f56b(0x1d9)]()+'/collaborator';return{'list':[{'title':_0x25f56b(0x10e),'mentions':(await this[_0x25f56b(0x2bb)]['get'](_0x28aadf,{'params':{'objectID':_0x109b56[_0x25f56b(0x240)],'unitID':_0x109b56[_0x25f56b(0x240)]}}))[_0x25f56b(0x19c)][_0x25f56b(0x242)][_0x25f56b(0x2fd)](_0x38f5e7=>({'objectId':_0x38f5e7['id'],'name':_0x38f5e7[_0x25f56b(0xc5)][_0x25f56b(0x1d4)],'metadata':{'icon':_0x38f5e7[_0x25f56b(0xc5)][_0x25f56b(0x3e9)]},'label':_0x38f5e7[_0x25f56b(0xc5)][_0x25f56b(0x1d4)],'objectType':a[_0x25f56b(0x26f)][_0x25f56b(0x346)]})),'metadata':{},'type':a['MentionType'][_0x25f56b(0x346)]}]};}},exports[_0x2915d5(0x36e)]=yn([lt(0x0,a['Inject'](a[_0x2915d5(0x2af)])),lt(0x1,a[_0x2915d5(0x352)](q[_0x2915d5(0x2f5)]))],exports['MentionIoHttpService']);var Nn=Object[_0x2915d5(0x13f)],Dn=(_0xb9366d,_0x5eaa53,_0x2894a5,_0x226d53)=>{var _0x94a48b=_0x2915d5;for(var _0x140122=_0x226d53>0x1?void 0x0:_0x226d53?Nn(_0x5eaa53,_0x2894a5):_0x5eaa53,_0x5663a7=_0xb9366d[_0x94a48b(0x374)]-0x1,_0x4bb50e;_0x5663a7>=0x0;_0x5663a7--)(_0x4bb50e=_0xb9366d[_0x5663a7])&&(_0x140122=_0x4bb50e(_0x140122)||_0x140122);return _0x140122;},ue=(_0x343506,_0x35c16a)=>(_0x188397,_0x4d419e)=>_0x35c16a(_0x188397,_0x4d419e,_0x343506);let De=class extends a[_0x2915d5(0x294)]{constructor(_0x23912e,_0x351bcf,_0x22ce4f,_0x5a6af7,_0x246954){var _0x1ad2c1=_0x2915d5;super(),this[_0x1ad2c1(0x290)]=_0x23912e,this['_univerInstanceService']=_0x351bcf,this[_0x1ad2c1(0x194)]=_0x22ce4f,this[_0x1ad2c1(0x3d6)]=_0x5a6af7,this['_collaborationUIEventService']=_0x246954,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x12dae3=_0x2915d5;const _0x10221e=async _0x1e5ebf=>{var _0x47af18=_0x31fc;(await this[_0x47af18(0x3d6)][_0x47af18(0x3e6)](_0x1e5ebf))['event$'][_0x47af18(0x19b)](V[_0x47af18(0x276)](_0x31f2f9=>_0x31f2f9[_0x47af18(0x272)]===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x47af18(0x362)](this[_0x47af18(0x3ea)]))[_0x47af18(0x1fd)](_0x47316c=>{var _0x4c1bea=_0x47af18;const _0x4f706a=_0x47316c,{reason:_0x8a770e}=_0x4f706a[_0x4c1bea(0x158)];this[_0x4c1bea(0x39a)][_0x4c1bea(0x2c3)]({'id':Q['CLOSE_ROOM'],'data':_0x8a770e}),this[_0x4c1bea(0x194)][_0x4c1bea(0x338)](new Z[(_0x4c1bea(0xab))](_0x1e5ebf)['id'],!0x1),this[_0x4c1bea(0x3d6)]['closeSession'](_0x1e5ebf);});};j[_0x12dae3(0x24b)](this[_0x12dae3(0x9d)][_0x12dae3(0xa8)](a[_0x12dae3(0x15a)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x12dae3(0xa8)](a[_0x12dae3(0x15a)][_0x12dae3(0x279)]))[_0x12dae3(0x19b)](V[_0x12dae3(0x2fd)](_0x2ba5cf=>_0x2ba5cf[_0x12dae3(0x341)]()),V[_0x12dae3(0x276)](_0x5ead07=>!a[_0x12dae3(0x2ed)](_0x5ead07)),V[_0x12dae3(0x362)](this['dispose$']))['subscribe'](_0x594580=>{_0x10221e(_0x594580);});}[_0x2915d5(0x3b9)](){var _0x2f68d4=_0x2915d5;const _0x4c28bf=async _0x2a0c9e=>{var _0x113d62=_0x31fc;const _0x38b015=await this[_0x113d62(0x3d6)][_0x113d62(0x3e6)](_0x2a0c9e),_0x447239=this[_0x113d62(0x290)][_0x113d62(0x387)](Z[_0x113d62(0x36b)]);_0x38b015[_0x113d62(0x110)]['pipe'](V[_0x113d62(0x276)](_0x578260=>_0x578260[_0x113d62(0x272)]===g[_0x113d62(0x1e3)][_0x113d62(0x220)]),V[_0x113d62(0x362)](this[_0x113d62(0x3ea)]))[_0x113d62(0x1fd)](_0xca31e2=>{var _0x519961=_0x113d62;const _0x131dec=_0xca31e2,{objectId:_0x1a11e5}=_0x131dec[_0x519961(0x158)];_0x1a11e5===_0x2a0c9e?_0x447239[_0x519961(0x29e)](_0x2a0c9e):_0x447239[_0x519961(0x28b)](_0x2a0c9e,_0x1a11e5);});};j[_0x2f68d4(0x24b)](this[_0x2f68d4(0x9d)][_0x2f68d4(0xa8)](a[_0x2f68d4(0x15a)]['UNIVER_SHEET']))[_0x2f68d4(0x19b)](V[_0x2f68d4(0x2fd)](_0x554f04=>_0x554f04['getUnitId']()),V['filter'](_0xd0a2f5=>!a[_0x2f68d4(0x2ed)](_0xd0a2f5)),V['takeUntil'](this['dispose$']))[_0x2f68d4(0x1fd)](_0x300250=>{_0x4c28bf(_0x300250);});}};De=Dn([ue(0x0,a[_0x2915d5(0x352)](a['Injector'])),ue(0x1,a[_0x2915d5(0x3b8)]),ue(0x2,a[_0x2915d5(0x2fb)]),ue(0x3,a[_0x2915d5(0x352)](exports[_0x2915d5(0x2ac)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x2915d5(0x13f)],An=(_0x498b75,_0x1b1dcb,_0x20fecc,_0x53660b)=>{var _0x4adff7=_0x2915d5;for(var _0x5d9a06=_0x53660b>0x1?void 0x0:_0x53660b?Un(_0x1b1dcb,_0x20fecc):_0x1b1dcb,_0x264768=_0x498b75[_0x4adff7(0x374)]-0x1,_0x20741b;_0x264768>=0x0;_0x264768--)(_0x20741b=_0x498b75[_0x264768])&&(_0x5d9a06=_0x20741b(_0x5d9a06)||_0x5d9a06);return _0x5d9a06;},_t=(_0x36a336,_0xf50ddc)=>(_0x19f554,_0xd7c657)=>_0xf50ddc(_0x19f554,_0xd7c657,_0x36a336);exports[_0x2915d5(0x1c0)]=class{constructor(_0xa1b86a,_0x3863bf){var _0x6aa25f=_0x2915d5;this[_0x6aa25f(0x1a6)]=_0xa1b86a,this[_0x6aa25f(0x91)]=_0x3863bf;}async[_0x2915d5(0x30f)](_0x3ea19b,_0xc38f24){var _0x5df2b4=_0x2915d5,_0x4afe6f;const {unitID:_0x4dd0d1,type:_0x35da9e,revision:_0xe7b157=0x0}=_0xc38f24,_0x56cd50=this[_0x5df2b4(0x396)]()+'/'+_0x35da9e+_0x5df2b4(0x22d)+_0x4dd0d1+_0x5df2b4(0x3fe)+_0xe7b157,_0x5549f3=(await this[_0x5df2b4(0x91)][_0x5df2b4(0x387)](_0x56cd50))[_0x5df2b4(0x19c)],_0x2e297c=(_0x4afe6f=_0x5549f3['snapshot'])==null?void 0x0:_0x4afe6f[_0x5df2b4(0x223)];if(_0x2e297c){const _0x977d5=_0x2e297c==null?void 0x0:_0x2e297c[_0x5df2b4(0x2cc)],_0x2390ba=g[_0x5df2b4(0x107)][_0x5df2b4(0x18d)](g[_0x5df2b4(0x128)](_0x977d5));_0x2e297c[_0x5df2b4(0x2cc)]=_0x2390ba,Object[_0x5df2b4(0x1f1)](_0x2e297c[_0x5df2b4(0x3c9)])['forEach'](([,_0x41a082])=>{var _0x4abbf3=_0x5df2b4;const _0x392746=_0x41a082['originalMeta'],_0x1d5940=g[_0x4abbf3(0x107)][_0x4abbf3(0x18d)](g[_0x4abbf3(0x128)](_0x392746));_0x41a082[_0x4abbf3(0x2cc)]=_0x1d5940;});}return _0x5549f3;}async[_0x2915d5(0x2e8)](_0x551b36,_0xcebfac){var _0x5e54fb=_0x2915d5;const {unitID:_0x193232,type:_0x1bc5d0,blockID:_0x24a1cd}=_0xcebfac,_0x4042ab=this[_0x5e54fb(0x155)]()+'/'+_0x1bc5d0+_0x5e54fb(0x22d)+_0x193232+'/block/'+_0x24a1cd;return(await this[_0x5e54fb(0x91)]['get'](_0x4042ab))[_0x5e54fb(0x19c)];}async[_0x2915d5(0x27b)](_0x3a519f,_0x229c36){var _0x3d56db=_0x2915d5;const {unitID:_0x3dd561,type:_0x376f9f,blockID:_0x71582d}=_0x229c36,_0x873a2a=this[_0x3d56db(0x155)]()+_0x3d56db(0x2cd)+_0x376f9f+_0x3d56db(0x22d)+_0x3dd561+'/block/'+_0x71582d;return(await this[_0x3d56db(0x91)][_0x3d56db(0x387)](_0x873a2a))[_0x3d56db(0x19c)];}async[_0x2915d5(0x1c8)](_0x27e86c,_0x3ac0d6){var _0x3ff405=_0x2915d5;const {unitID:_0x3214b5,type:_0x44e5fe,from:_0xe3cef0,to:_0x5a5fc2}=_0x3ac0d6,_0x354b65=this['_getAPIPrefix']()+'/'+_0x44e5fe+'/unit/'+_0x3214b5+'/fetchmissing?from='+_0xe3cef0+_0x3ff405(0x2a0)+_0x5a5fc2;return(await this[_0x3ff405(0x91)][_0x3ff405(0x387)](_0x354b65))[_0x3ff405(0x19c)];}[_0x2915d5(0x396)](){var _0x30a2bf=_0x2915d5,_0x44d334;return(_0x44d334=this[_0x30a2bf(0x1a6)][_0x30a2bf(0x14a)](vt))!=null?_0x44d334:this[_0x30a2bf(0x155)]();}[_0x2915d5(0x155)](){var _0x464196=_0x2915d5,_0x2e5d95,_0x3dffd9;const _0x325e15=this[_0x464196(0x1a6)][_0x464196(0x14a)](dt),_0x21dcd0=this[_0x464196(0x1a6)]['getConfig'](Y);return(_0x3dffd9=(_0x2e5d95=_0x21dcd0==null?void 0x0:_0x21dcd0[_0x464196(0x22a)])!=null?_0x2e5d95:_0x325e15)!=null?_0x3dffd9:kt;}async[_0x2915d5(0x2d0)](_0x10013a,_0x100cd3){var _0x1d444f=_0x2915d5;const _0xb70693=_0x1d444f(0xaf)+_0x100cd3[_0x1d444f(0x1a2)]+_0x1d444f(0x22d)+_0x100cd3[_0x1d444f(0x189)]+'/resources';return(await this[_0x1d444f(0x91)][_0x1d444f(0x387)](_0xb70693,{'params':{'resourceId':JSON[_0x1d444f(0x1ec)](_0x100cd3[_0x1d444f(0x351)])}}))[_0x1d444f(0x19c)];}[_0x2915d5(0x154)](){var _0x19cff7=_0x2915d5;throw new Error(_0x19cff7(0x2ab));}[_0x2915d5(0x1a8)](){var _0x529355=_0x2915d5;throw new Error(_0x529355(0x2ab));}[_0x2915d5(0x1a4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2915d5(0x1dc)](){var _0x138844=_0x2915d5;throw new Error(_0x138844(0x2ab));}[_0x2915d5(0x3b4)](){var _0x2ef471=_0x2915d5;throw new Error(_0x2ef471(0x2ab));}},exports[_0x2915d5(0x1c0)]=An([_t(0x0,a['IConfigService']),_t(0x1,a[_0x2915d5(0x352)](q['HTTPService']))],exports[_0x2915d5(0x1c0)]);var Pn=Object[_0x2915d5(0x13f)],wn=(_0x40ebae,_0x4a90e3,_0x5e3c9e,_0x312851)=>{var _0x33fc1b=_0x2915d5;for(var _0x2d285f=_0x312851>0x1?void 0x0:_0x312851?Pn(_0x4a90e3,_0x5e3c9e):_0x4a90e3,_0x2b0058=_0x40ebae[_0x33fc1b(0x374)]-0x1,_0x305301;_0x2b0058>=0x0;_0x2b0058--)(_0x305301=_0x40ebae[_0x2b0058])&&(_0x2d285f=_0x305301(_0x2d285f)||_0x2d285f);return _0x2d285f;},de=(_0x3577b7,_0x3ca56f)=>(_0x2fadf2,_0x33886d)=>_0x3ca56f(_0x2fadf2,_0x33886d,_0x3577b7);exports[_0x2915d5(0x166)]=class extends a[_0x2915d5(0xb4)]{constructor(_0x597a25,_0x5ae1b9,_0x3d7365,_0x43c72f,_0x584ab9){var _0x25e148=_0x2915d5;super(_0x597a25,_0x5ae1b9,_0x3d7365),this['_transformService']=_0x43c72f,this[_0x25e148(0x1f2)]=_0x584ab9;}[_0x2915d5(0xf4)](_0x3f03c6,_0x21c61a){var _0x3f0e01=_0x2915d5;const _0x227393=this[_0x3f0e01(0x1ea)](_0x3f03c6);if(_0x227393)try{const _0xc5f0c5=this['_transformStack'](_0x227393,_0x21c61a);this[_0x3f0e01(0x246)](_0x3f03c6,_0xc5f0c5);}catch(_0x65f520){this[_0x3f0e01(0x1f2)][_0x3f0e01(0x335)](_0x3f0e01(0x3ae),_0x65f520),this['_clearUndo'](_0x3f03c6);}const _0x2a7b95=this[_0x3f0e01(0x3bb)](_0x3f03c6);if(_0x2a7b95)try{const _0x29b0ee=this['_transformStack'](_0x2a7b95,_0x21c61a);this[_0x3f0e01(0x2b5)](_0x3f03c6,_0x29b0ee);}catch(_0x115a82){this[_0x3f0e01(0x1f2)][_0x3f0e01(0x335)](_0x115a82),this['_clearRedo'](_0x3f03c6);}}[_0x2915d5(0xbd)](_0x516d29){var _0x26f2ec=_0x2915d5;const _0x4a21a8=this[_0x26f2ec(0x1ea)](_0x516d29);_0x4a21a8&&(_0x4a21a8[_0x26f2ec(0x374)]=0x0,this[_0x26f2ec(0x17f)]());}[_0x2915d5(0x139)](_0x4eb2e5){var _0x544388=_0x2915d5;const _0x2a9f44=this[_0x544388(0x3bb)](_0x4eb2e5);_0x2a9f44&&(_0x2a9f44[_0x544388(0x374)]=0x0,this[_0x544388(0x17f)]());}[_0x2915d5(0x246)](_0x73bf49,_0x3f2b45){var _0x2f0760=_0x2915d5;this[_0x2f0760(0x2be)]['set'](_0x73bf49,_0x3f2b45),this[_0x2f0760(0x17f)]();}[_0x2915d5(0x2b5)](_0x1e3379,_0x4389ce){var _0x5ab29a=_0x2915d5;this[_0x5ab29a(0x24e)][_0x5ab29a(0x3c8)](_0x1e3379,_0x4389ce),this['_updateStatus']();}[_0x2915d5(0x2c4)](_0x27e77e,_0x26abd6){var _0x53b410=_0x2915d5;const _0x1e816a=[];let _0x3edfd6=_0x26abd6,_0x18b57b=_0x26abd6;for(let _0x2f4678=_0x27e77e[_0x53b410(0x374)]-0x1;_0x2f4678>=0x0;_0x2f4678--){const {unitID:_0x265d4b,undoMutations:_0x76c1fc,redoMutations:_0x2e5a5e}=_0x27e77e[_0x2f4678],_0x441259=this[_0x53b410(0x3e7)][_0x53b410(0x3fa)](_0x3edfd6,_0x76c1fc),_0x5015ab=this[_0x53b410(0x3e7)][_0x53b410(0x3fa)](_0x18b57b,_0x2e5a5e);if(g[_0x53b410(0x2f6)](_0x441259)||g['isTransformMutationsWithChangesetFailure'](_0x5015ab)){this[_0x53b410(0x1f2)][_0x53b410(0x335)](_0x53b410(0x3ae),'transformStack\x20failed!',_0x441259,_0x5015ab);break;}_0x3edfd6=_0x441259[_0x53b410(0x325)],_0x18b57b=_0x5015ab['c1Prime'],_0x1e816a[_0x53b410(0x2a2)]({'unitID':_0x265d4b,'undoMutations':_0x441259['m2Prime'],'redoMutations':_0x5015ab[_0x53b410(0xbe)]});}return _0x1e816a[_0x53b410(0x250)]();}},exports[_0x2915d5(0x166)]=wn([de(0x0,a[_0x2915d5(0x3b8)]),de(0x1,a[_0x2915d5(0xba)]),de(0x2,a[_0x2915d5(0x2ec)]),de(0x3,g[_0x2915d5(0x3af)]),de(0x4,a[_0x2915d5(0x10c)])],exports[_0x2915d5(0x166)]);var Ln=Object[_0x2915d5(0x3dc)],Mn=Object[_0x2915d5(0x13f)],xn=(_0x5af69e,_0x1ab0d9,_0x18a16a)=>_0x1ab0d9 in _0x5af69e?Ln(_0x5af69e,_0x1ab0d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a16a}):_0x5af69e[_0x1ab0d9]=_0x18a16a,kn=(_0x1f9357,_0x14f498,_0x2f151a,_0x40fee3)=>{var _0x4f7770=_0x2915d5;for(var _0x4db5c0=_0x40fee3>0x1?void 0x0:_0x40fee3?Mn(_0x14f498,_0x2f151a):_0x14f498,_0x45da0e=_0x1f9357[_0x4f7770(0x374)]-0x1,_0x2507f2;_0x45da0e>=0x0;_0x45da0e--)(_0x2507f2=_0x1f9357[_0x45da0e])&&(_0x4db5c0=_0x2507f2(_0x4db5c0)||_0x4db5c0);return _0x4db5c0;},ke=(_0x564012,_0x4fb23f)=>(_0x5d0a4a,_0x229577)=>_0x4fb23f(_0x5d0a4a,_0x229577,_0x564012),Hn=(_0x1d3896,_0x27ee0e,_0x5ee2ce)=>xn(_0x1d3896,_0x27ee0e+'',_0x5ee2ce);const jn=_0x2915d5(0x183);exports['UniverCollaborationClientPlugin']=class extends a[_0x2915d5(0x329)]{constructor(_0x7daed1,_0x1ffa2d,_0x5daf40,_0x582ff4){var _0x33b0c4=_0x2915d5;super(),A(this,_0x33b0c4(0x188)),(this[_0x33b0c4(0x1f2)]=_0x1ffa2d,this[_0x33b0c4(0x290)]=_0x5daf40,this[_0x33b0c4(0x1a6)]=_0x582ff4);const {..._0x3ad52a}=a['merge']({},Jt,_0x7daed1);if(!_0x3ad52a[_0x33b0c4(0x361)])throw new Error(_0x33b0c4(0x262));this[_0x33b0c4(0x188)]=_0x3ad52a,this[_0x33b0c4(0x1a6)][_0x33b0c4(0x1db)](Y,_0x3ad52a);}[_0x2915d5(0x20c)](){var _0x39f45f=_0x2915d5;this[_0x39f45f(0x316)](),this[_0x39f45f(0x336)]();}['_registerDependencies'](){var _0x1ac994=_0x2915d5,_0x488a07,_0x3d07aa;this[_0x1ac994(0x290)][_0x1ac994(0x190)](a[_0x1ac994(0x30a)])&&this[_0x1ac994(0x1f2)][_0x1ac994(0x335)](_0x1ac994(0x2e7),_0x1ac994(0x1ce));const _0xd608fd=a['mergeOverrideWithDependencies']([[a['IUndoRedoService'],{'useClass':exports[_0x1ac994(0x166)]}],[exports['CollaborationSessionService']],[exports[_0x1ac994(0x173)]],[exports[_0x1ac994(0x3f9)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x1ac994(0x188)][_0x1ac994(0x361)]}],[g['ISnapshotServerService'],{'useClass':exports[_0x1ac994(0x1c0)]}],[a[_0x1ac994(0x11e)],{'useClass':exports[_0x1ac994(0x38b)]}],[J[_0x1ac994(0x1f3)],{'useClass':exports[_0x1ac994(0x1e2)]}],[a[_0x1ac994(0x1d0)],{'useClass':exports[_0x1ac994(0x36e)]}],[exports['CollaborationController']],[He]],(_0x488a07=this[_0x1ac994(0x188)])==null?void 0x0:_0x488a07[_0x1ac994(0xb2)]);if(!((_0x3d07aa=this[_0x1ac994(0x188)])!=null&&_0x3d07aa[_0x1ac994(0x8e)])){const _0x4fd152=_0xd608fd['findIndex'](([_0x4161ca])=>_0x4161ca===ve);_0x4fd152!==-0x1&&_0xd608fd[_0x1ac994(0x18a)](_0x4fd152,0x1);}a[_0x1ac994(0x408)](this['_injector'],_0xd608fd);}['_initDependencies'](){var _0x5d5664=_0x2915d5,_0xbdb34b,_0x322e35,_0x53d5cf;this[_0x5d5664(0x290)][_0x5d5664(0x387)](q[_0x5d5664(0x2f5)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xbdb34b=this[_0x5d5664(0x188)])!=null&&_0xbdb34b['enableOfflineEditing']||(_0x322e35=this['_injector']['get'](z,a['Quantity'][_0x5d5664(0x28a)]))==null||_0x322e35['disableLocalCache'](),(_0x53d5cf=this[_0x5d5664(0x188)])!=null&&_0x53d5cf[_0x5d5664(0x3d3)]&&a[_0x5d5664(0x385)](this['_injector'],[[Oe]]),a[_0x5d5664(0x385)](this[_0x5d5664(0x290)],[[Ne],[exports[_0x5d5664(0xf3)]],[De]]);}},Hn(exports[_0x2915d5(0x127)],_0x2915d5(0x37e),jn),exports[_0x2915d5(0x127)]=kn([a[_0x2915d5(0x18e)](g[_0x2915d5(0x2eb)],q[_0x2915d5(0x130)]),ke(0x1,a[_0x2915d5(0x10c)]),ke(0x2,a['Inject'](a[_0x2915d5(0x1ac)])),ke(0x3,a[_0x2915d5(0x2af)])],exports[_0x2915d5(0x127)]),exports[_0x2915d5(0x184)]=Ge,exports[_0x2915d5(0x282)]=Y,exports[_0x2915d5(0x360)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x2915d5(0x333)]=Ve,exports[_0x2915d5(0x296)]=Q,exports[_0x2915d5(0x291)]=te,exports['CommentService']=Be,exports[_0x2915d5(0x141)]=ft,exports[_0x2915d5(0xce)]=zt,exports[_0x2915d5(0x12e)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x2915d5(0x274)]=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0x2915d5(0x305)]=ve,exports[_0x2915d5(0x211)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x2915d5(0x33d)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x2915d5(0x24c)]=mt,exports[_0x2915d5(0x11b)]=Ht,exports[_0x2915d5(0x390)]=dt,exports[_0x2915d5(0x1af)]=vt,exports['SessionStatus']=se,exports['UnitStatus']=Fe,exports[_0x2915d5(0x3c6)]=Rt,exports[_0x2915d5(0x227)]=vi,exports[_0x2915d5(0x14c)]=yt;