@univerjs-pro/collaboration-client 0.7.0-nightly.202505061607 → 0.7.0-nightly.202505071607

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 _0x288b20=_0x3744;(function(_0x5dcf0f,_0x151d6d){var _0x1e6ce1=_0x3744,_0x37ad22=_0x5dcf0f();while(!![]){try{var _0x2b0ab3=parseInt(_0x1e6ce1(0x1dd))/0x1*(parseInt(_0x1e6ce1(0x3f9))/0x2)+-parseInt(_0x1e6ce1(0x25d))/0x3+-parseInt(_0x1e6ce1(0x204))/0x4+-parseInt(_0x1e6ce1(0x36c))/0x5*(-parseInt(_0x1e6ce1(0x2b3))/0x6)+parseInt(_0x1e6ce1(0x1ec))/0x7+-parseInt(_0x1e6ce1(0x21c))/0x8+parseInt(_0x1e6ce1(0x503))/0x9;if(_0x2b0ab3===_0x151d6d)break;else _0x37ad22['push'](_0x37ad22['shift']());}catch(_0x22f28e){_0x37ad22['push'](_0x37ad22['shift']());}}}(_0x1c2c,0xe8df1));var wt=Object[_0x288b20(0x38b)],Lt=(_0x43d28c,_0x4137d9,_0x102b19)=>_0x4137d9 in _0x43d28c?wt(_0x43d28c,_0x4137d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x102b19}):_0x43d28c[_0x4137d9]=_0x102b19,A=(_0x2f6c78,_0x57cc2f,_0x595128)=>Lt(_0x2f6c78,typeof _0x57cc2f!='symbol'?_0x57cc2f+'':_0x57cc2f,_0x595128);Object[_0x288b20(0x38b)](exports,Symbol[_0x288b20(0x1f1)],{'value':_0x288b20(0x464)});const a=require('@univerjs/core'),j=require(_0x288b20(0x321)),V=require(_0x288b20(0x393)),g=require(_0x288b20(0x252)),q=require(_0x288b20(0x235)),Mt=require(_0x288b20(0x2d3)),ut=require(_0x288b20(0x3fb)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0x288b20(0x511)),dt=_0x288b20(0x1b2),kt=_0x288b20(0x1b4),vt='SNAPSHOT_URL_KEY',Ht=_0x288b20(0x218),jt=0x7d0,St=_0x288b20(0x23b),ft=_0x288b20(0x40f),$t=_0x288b20(0x2fe),pt=_0x288b20(0x2a6),Bt=0x7530,je=_0x288b20(0x259),gt=0x4e20,Ft=0x4e20,It=_0x288b20(0x3f2),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt='COLLAB_SUBMIT_CHANGESET_URL',Kt=_0x288b20(0x3e8),Et=_0x288b20(0x52d),Yt=_0x288b20(0x536),qt=_0x288b20(0x37c),zt=_0x288b20(0x497);var Ct=(_0x498433=>(_0x498433[_0x498433['UNDEFINED']=0x0]=_0x288b20(0x269),_0x498433[_0x498433['OK']=0x1]='OK',_0x498433[_0x498433[_0x288b20(0x1b1)]=0x2]=_0x288b20(0x1b1),_0x498433[_0x498433[_0x288b20(0x509)]=0x3]=_0x288b20(0x509),_0x498433[_0x498433[_0x288b20(0x2aa)]=0x4]=_0x288b20(0x2aa),_0x498433[_0x498433['UNAUTHENTICATED']=0x5]=_0x288b20(0x254),_0x498433[_0x498433[_0x288b20(0x2cf)]=0x6]='ALREADY_EXISTS',_0x498433[_0x498433[_0x288b20(0x32f)]=0x7]=_0x288b20(0x32f),_0x498433[_0x498433[_0x288b20(0x4c1)]=0x8]=_0x288b20(0x4c1),_0x498433[_0x498433[_0x288b20(0x451)]=0x9]='COMPLETION_FINISHED',_0x498433[_0x498433['LOGIN_FAILED']=0xa]=_0x288b20(0x25c),_0x498433[_0x498433[_0x288b20(0x406)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x498433[_0x498433['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x288b20(0x3ff),_0x498433[_0x498433['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x288b20(0x494),_0x498433[_0x498433[_0x288b20(0x432)]=0x1773]=_0x288b20(0x432),_0x498433[_0x498433['APPLY_REJECT']=0x1b59]=_0x288b20(0x348),_0x498433[_0x498433[_0x288b20(0x32b)]=0x1b5a]=_0x288b20(0x32b),_0x498433[_0x498433['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x288b20(0x303),_0x498433[_0x498433[_0x288b20(0x500)]=0x1b5c]=_0x288b20(0x500),_0x498433[_0x498433[_0x288b20(0x2af)]=0x1b5d]='APPLY_DUPLICATED',_0x498433[_0x498433[_0x288b20(0x477)]=0x1f41]=_0x288b20(0x477),_0x498433[_0x498433[_0x288b20(0x531)]=0x2329]=_0x288b20(0x531),_0x498433[_0x498433[_0x288b20(0x44a)]=0x232a]=_0x288b20(0x44a),_0x498433[_0x498433['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x498433[_0x498433[_0x288b20(0x28c)]=0x232c]=_0x288b20(0x28c),_0x498433[_0x498433[_0x288b20(0x322)]=0x232d]=_0x288b20(0x322),_0x498433[_0x498433[_0x288b20(0x3ef)]=0x2711]=_0x288b20(0x3ef),_0x498433[_0x498433[_0x288b20(0x1da)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x498433[_0x498433[_0x288b20(0x351)]=0x2713]=_0x288b20(0x351),_0x498433[_0x498433[_0x288b20(0x394)]=0x2714]=_0x288b20(0x394),_0x498433[_0x498433['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x288b20(0x223),_0x498433[_0x498433[_0x288b20(0x354)]=0x271b]=_0x288b20(0x354),_0x498433[_0x498433[_0x288b20(0x293)]=0x271c]=_0x288b20(0x293),_0x498433[_0x498433[_0x288b20(0x455)]=0x271d]=_0x288b20(0x455),_0x498433[_0x498433[_0x288b20(0x1fc)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x498433[_0x498433[_0x288b20(0x3ec)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x498433[_0x498433[_0x288b20(0x470)]=0x2af9]=_0x288b20(0x470),_0x498433[_0x498433[_0x288b20(0x203)]=0x2ee1]=_0x288b20(0x203),_0x498433[_0x498433['INVALID_INVITE_CODE']=0x2ee2]=_0x288b20(0x238),_0x498433[_0x498433['INVITE_CODE_REQUIRED']=0x2ee3]=_0x288b20(0x330),_0x498433[_0x498433[_0x288b20(0x3eb)]=0x2ee4]=_0x288b20(0x3eb),_0x498433[_0x498433[_0x288b20(0x4db)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x498433[_0x498433[_0x288b20(0x1be)]=0x32c9]=_0x288b20(0x1be),_0x498433[_0x498433[_0x288b20(0x34d)]=0x32ca]=_0x288b20(0x34d),_0x498433[_0x498433[_0x288b20(0x4bc)]=0x32cb]=_0x288b20(0x4bc),_0x498433[_0x498433['UNRECOGNIZED']=-0x1]=_0x288b20(0x229),_0x498433))(Ct||{}),X=(_0x2eb97b=>(_0x2eb97b[_0x2eb97b['UNIVER_UNKNOWN']=0x0]=_0x288b20(0x53e),_0x2eb97b[_0x2eb97b[_0x288b20(0x1cf)]=0x1]=_0x288b20(0x1cf),_0x2eb97b[_0x2eb97b['UNIVER_SHEET']=0x2]=_0x288b20(0x517),_0x2eb97b[_0x2eb97b[_0x288b20(0x4b0)]=0x3]='UNIVER_SLIDE',_0x2eb97b[_0x2eb97b[_0x288b20(0x40d)]=0x4]='UNIVER_PROJECT',_0x2eb97b[_0x2eb97b[_0x288b20(0x229)]=-0x1]=_0x288b20(0x229),_0x2eb97b))(X||{}),W=(_0x2ca88b=>(_0x2ca88b[_0x2ca88b[_0x288b20(0x39c)]=0x0]=_0x288b20(0x39c),_0x2ca88b[_0x2ca88b['HELLO']=0x1]=_0x288b20(0x1b0),_0x2ca88b[_0x2ca88b[_0x288b20(0x27b)]=0x2]=_0x288b20(0x27b),_0x2ca88b[_0x2ca88b[_0x288b20(0x20d)]=0x3]=_0x288b20(0x20d),_0x2ca88b[_0x2ca88b['INGEST']=0x4]='INGEST',_0x2ca88b[_0x2ca88b[_0x288b20(0x496)]=0x5]=_0x288b20(0x496),_0x2ca88b[_0x2ca88b[_0x288b20(0x1c0)]=0x6]=_0x288b20(0x1c0),_0x2ca88b[_0x2ca88b[_0x288b20(0x229)]=-0x1]=_0x288b20(0x229),_0x2ca88b))(W||{}),ae=(_0x3f1b0d=>(_0x3f1b0d[_0x3f1b0d[_0x288b20(0x3a8)]=0x0]=_0x288b20(0x3a8),_0x3f1b0d[_0x3f1b0d['OK']=0x1]='OK',_0x3f1b0d[_0x3f1b0d[_0x288b20(0x446)]=0x2]='FAIL',_0x3f1b0d[_0x3f1b0d[_0x288b20(0x206)]=0x3e9]=_0x288b20(0x206),_0x3f1b0d[_0x3f1b0d['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3f1b0d[_0x3f1b0d[_0x288b20(0x487)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3f1b0d[_0x3f1b0d[_0x288b20(0x383)]=0x3ec]=_0x288b20(0x383),_0x3f1b0d[_0x3f1b0d[_0x288b20(0x229)]=-0x1]=_0x288b20(0x229),_0x3f1b0d))(ae||{}),Tt=(_0x1d5435=>(_0x1d5435[_0x1d5435[_0x288b20(0x2db)]=0x0]=_0x288b20(0x2db),_0x1d5435[_0x1d5435[_0x288b20(0x3f0)]=0x1]=_0x288b20(0x3f0),_0x1d5435[_0x1d5435['HttpExport']=0x2]=_0x288b20(0x371),_0x1d5435[_0x1d5435['UnitEmbedded']=0x3]=_0x288b20(0x2bf),_0x1d5435[_0x1d5435['UnitSnapshot']=0x4]=_0x288b20(0x28d),_0x1d5435[_0x1d5435[_0x288b20(0x233)]=0x5]=_0x288b20(0x233),_0x1d5435[_0x1d5435[_0x288b20(0x229)]=-0x1]=_0x288b20(0x229),_0x1d5435))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x3458ce=>(_0x3458ce[_0x288b20(0x2a1)]=_0x288b20(0x2a1),_0x3458ce['PERMISSION_DENIED']=_0x288b20(0x509),_0x3458ce[_0x288b20(0x52a)]=_0x288b20(0x52a),_0x3458ce['CLOSE_ROOM']=_0x288b20(0x340),_0x3458ce[_0x288b20(0x271)]='JOIN_ROOM_FAILED',_0x3458ce[_0x288b20(0x457)]='SOCKET_FAILED_RETRY',_0x3458ce['SOCKET_FAILED']=_0x288b20(0x404),_0x3458ce[_0x288b20(0x3e3)]=_0x288b20(0x3e3),_0x3458ce))(Q||{});class te{constructor(){var _0x496a49=_0x288b20;A(this,_0x496a49(0x244),new j[(_0x496a49(0x389))]()),A(this,_0x496a49(0x30d),this[_0x496a49(0x244)][_0x496a49(0x3da)]());}[_0x288b20(0x1d4)](_0x5b6650){var _0x375ef1=_0x288b20;this[_0x375ef1(0x244)]['next'](_0x5b6650);}}const bt=a[_0x288b20(0x2cd)](_0x288b20(0x368));function Rt(_0x191558){var _0x22197a=_0x288b20,_0x42ca3c,_0xd93b7e,_0x33443e,_0x5ebc67,_0x1211d5;const _0x526351=_0x191558['data'],_0x47abc6=JSON['parse'](_0x526351);switch(_0x47abc6['cmd']){case W[_0x22197a(0x496)]:case W[_0x22197a(0x1b0)]:{const _0x32d542=_0x47abc6[_0x22197a(0x2eb)];return{..._0x47abc6,'data':_0x32d542,'cmd':_0x47abc6['cmd']};}case W[_0x22197a(0x27b)]:{const _0x1b8499=_0x47abc6['joinRsp'];return{..._0x47abc6,'data':_0x1b8499,'cmd':_0x47abc6['cmd']};}case W[_0x22197a(0x1c0)]:{const _0x208e78=_0x47abc6[_0x22197a(0x402)];switch(_0x208e78[_0x22197a(0x265)]){case g[_0x22197a(0x21e)]['PERMISSION_REJ']:return{..._0x47abc6,'data':{..._0x208e78,'data':(_0x42ca3c=_0x208e78['permissionRejEvent'])==null?void 0x0:_0x42ca3c['cs']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)][_0x22197a(0x2fd)]:return{..._0x47abc6,'data':{..._0x208e78,'data':(_0xd93b7e=_0x208e78[_0x22197a(0x361)])==null?void 0x0:_0xd93b7e['cs']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)][_0x22197a(0x1bf)]:return{..._0x47abc6,'data':{..._0x208e78,'data':(_0x33443e=_0x208e78['newCsEvent'])==null?void 0x0:_0x33443e['cs']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)]['CHANGESET_REJ']:return{..._0x47abc6,'data':{..._0x208e78,'data':(_0x5ebc67=_0x208e78[_0x22197a(0x1c3)])==null?void 0x0:_0x5ebc67['cs']},'cmd':_0x47abc6['cmd']};case g[_0x22197a(0x21e)][_0x22197a(0x43f)]:return{..._0x47abc6,'data':{..._0x208e78,'data':(_0x1211d5=_0x208e78[_0x22197a(0x33f)])==null?void 0x0:_0x1211d5['cs']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)]['UPDATE_CURSOR']:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78['updateCursorEvent']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)]['USERS_ENTER']:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x22e)]},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)]['USERS_LEAVE']:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x2be)]},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)]['LIVESHARE_NEW_HOST']:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x526)]},'cmd':_0x47abc6['cmd']};case g['CollaborationEvent'][_0x22197a(0x448)]:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78['liveShareOperation']},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)][_0x22197a(0x285)]:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x526)]},'cmd':_0x47abc6['cmd']};case g[_0x22197a(0x21e)][_0x22197a(0x22c)]:return{..._0x47abc6,'data':_0x208e78,'cmd':_0x47abc6['cmd']};case g['CollaborationEvent'][_0x22197a(0x3ae)]:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x4ee)]},'cmd':_0x47abc6[_0x22197a(0x341)]};case g['CollaborationEvent'][_0x22197a(0x3f8)]:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x4e4)]},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)][_0x22197a(0x39f)]:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x4a6)]},'cmd':_0x47abc6[_0x22197a(0x341)]};case g[_0x22197a(0x21e)][_0x22197a(0x4fa)]:return{..._0x47abc6,'data':{..._0x208e78,'data':_0x208e78[_0x22197a(0x1fd)]},'cmd':_0x47abc6[_0x22197a(0x341)]};default:return _0x47abc6;}}default:return _0x47abc6;}}function Ot(_0x24abb5){var _0x35560f=_0x288b20;switch(_0x24abb5[_0x35560f(0x341)]){case W[_0x35560f(0x496)]:case W['HELLO']:return JSON[_0x35560f(0x4f8)]({'cmd':_0x24abb5[_0x35560f(0x341)],'routeKey':_0x24abb5['routeKey']});case W[_0x35560f(0x51e)]:{let _0x25f4e9;switch(_0x24abb5[_0x35560f(0x3d8)][_0x35560f(0x265)]){case g['CollaborationEvent'][_0x35560f(0x210)]:{_0x25f4e9={'eventID':g['CollaborationEvent'][_0x35560f(0x210)],'updateCursorEvent':_0x24abb5[_0x35560f(0x3d8)]['data']};break;}case g['CollaborationEvent']['USERS_LEAVE']:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x3a2)],'leaveEvent':_0x24abb5[_0x35560f(0x3d8)]['data']};break;}case g[_0x35560f(0x21e)][_0x35560f(0x3e1)]:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x3e1)],'joinEvent':_0x24abb5[_0x35560f(0x3d8)][_0x35560f(0x3d8)]};break;}case g[_0x35560f(0x21e)][_0x35560f(0x300)]:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x300)],'liveShareNewHost':_0x24abb5[_0x35560f(0x3d8)][_0x35560f(0x3d8)]};break;}case g[_0x35560f(0x21e)][_0x35560f(0x458)]:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x458)],'liveShareOperation':_0x24abb5[_0x35560f(0x3d8)][_0x35560f(0x3d8)]};break;}case g[_0x35560f(0x21e)][_0x35560f(0x285)]:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x285)],'liveShareTerminate':_0x24abb5[_0x35560f(0x3d8)][_0x35560f(0x3d8)]};break;}case g[_0x35560f(0x21e)][_0x35560f(0x20e)]:{_0x25f4e9={'eventID':g[_0x35560f(0x21e)][_0x35560f(0x20e)],'liveShareRequestHost':_0x24abb5[_0x35560f(0x3d8)]['data']};break;}case g[_0x35560f(0x21e)][_0x35560f(0x448)]:{_0x25f4e9={'eventID':g['CollaborationEvent'][_0x35560f(0x448)]};break;}default:_0x25f4e9={'eventID':_0x24abb5['data']['eventID']};}return JSON['stringify']({'cmd':_0x24abb5[_0x35560f(0x341)],'routeKey':_0x24abb5[_0x35560f(0x45a)],'collaMsg':_0x25f4e9});}case W[_0x35560f(0x27b)]:return JSON['stringify']({'cmd':_0x24abb5[_0x35560f(0x341)],'routeKey':_0x24abb5[_0x35560f(0x45a)],'joinReq':_0x24abb5['data']});case W[_0x35560f(0x20d)]:return JSON['stringify']({'cmd':_0x24abb5[_0x35560f(0x341)],'routeKey':_0x24abb5[_0x35560f(0x45a)],'leaveReq':_0x24abb5[_0x35560f(0x3d8)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x3032c0,_0x106d6c,_0x55ddc5,_0xae5fdd)=>{var _0x34d78b=_0x288b20;for(var _0x372b88=_0xae5fdd>0x1?void 0x0:_0xae5fdd?Xt(_0x106d6c,_0x55ddc5):_0x106d6c,_0x231611=_0x3032c0[_0x34d78b(0x23a)]-0x1,_0x57f681;_0x231611>=0x0;_0x231611--)(_0x57f681=_0x3032c0[_0x231611])&&(_0x372b88=_0x57f681(_0x372b88)||_0x372b88);return _0x372b88;},le=(_0x5c5866,_0x598d1d)=>(_0x3d9532,_0x6042e7)=>_0x598d1d(_0x3d9532,_0x6042e7,_0x5c5866);const $e=a[_0x288b20(0x2cd)](_0x288b20(0x53f));function Qt(_0x57d0d3,_0x3c6829,_0x486300){var _0x1e8468=_0x288b20;return _0x57d0d3+'/'+_0x3c6829+_0x1e8468(0x1c4)+_0x486300+_0x1e8468(0x4ef);}exports[_0x288b20(0x515)]=class extends a[_0x288b20(0x205)]{constructor(_0xfb2ca5,_0x5df58a,_0x4dee41,_0x1539f0,_0x5b9240){var _0x47c3d7=_0x288b20;super(),this[_0x47c3d7(0x3b1)]=_0xfb2ca5,this[_0x47c3d7(0x213)]=_0x5df58a,this['_configService']=_0x4dee41,this['_logService']=_0x1539f0,this[_0x47c3d7(0x242)]=_0x5b9240;}[_0x288b20(0x4d0)](_0x38243b){var _0x3894a5=_0x288b20;const _0x327859=this[_0x3894a5(0x3b1)]['get'](q[_0x3894a5(0x37d)]);if(!_0x327859)throw new Error(_0x3894a5(0x3c6));const _0x3dd692=_0x327859[_0x3894a5(0x336)](_0x38243b);if(!_0x3dd692)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x185886=new a[(_0x3894a5(0x358))](),_0x262986=new j[(_0x3894a5(0x389))]();_0x185886[_0x3894a5(0x528)](_0x3dd692[_0x3894a5(0x411)][_0x3894a5(0x405)](_0x6ef3a4=>_0x262986[_0x3894a5(0x479)](_0x6ef3a4))),_0x185886[_0x3894a5(0x528)](a['toDisposable'](()=>_0x262986[_0x3894a5(0x245)]()));const _0x169282=new j[(_0x3894a5(0x389))]();_0x185886[_0x3894a5(0x528)](_0x3dd692[_0x3894a5(0x1d6)][_0x3894a5(0x405)](_0x56f097=>_0x169282[_0x3894a5(0x479)](_0x56f097))),_0x185886['add'](a['toDisposable'](()=>_0x169282[_0x3894a5(0x245)]()));const _0x3cbac6=new j[(_0x3894a5(0x389))]();_0x185886[_0x3894a5(0x528)](_0x3dd692[_0x3894a5(0x4fb)][_0x3894a5(0x405)](_0x541713=>{const _0x480f81=Rt(_0x541713);_0x3cbac6['next'](_0x480f81);})),_0x185886['add'](a[_0x3894a5(0x53a)](()=>_0x3cbac6[_0x3894a5(0x245)]()));let _0x47c80a;const _0x104291=()=>{var _0x2a76da=_0x3894a5;_0x169282[_0x2a76da(0x479)](new Event(_0x2a76da(0x3d5))),_0x262986[_0x2a76da(0x479)](new Event(_0x2a76da(0x3d5))),_0x47c80a[_0x2a76da(0x1ce)]();};return _0x47c80a={'memberID':'','close$':_0x262986['asObservable'](),'error$':_0x169282[_0x3894a5(0x3da)](),'open$':_0x3dd692['open$'],'message$':_0x3cbac6[_0x3894a5(0x3da)](),'send':_0x30c2eb=>{var _0x48c454=_0x3894a5;if(_0x30c2eb[_0x48c454(0x341)]===W[_0x48c454(0x51e)]){if(_0x30c2eb[_0x48c454(0x3d8)][_0x48c454(0x265)]===g['CollaborationEvent'][_0x48c454(0x461)]){this[_0x48c454(0x42b)](_0x47c80a,_0x30c2eb['data'])['catch'](_0x255668=>{var _0x1a6069=_0x48c454;this[_0x1a6069(0x484)][_0x1a6069(0x3b2)](_0x255668),_0x104291();});return;}if(_0x30c2eb[_0x48c454(0x3d8)]['eventID']===g['CollaborationEvent'][_0x48c454(0x2ab)]){const _0x2c1a7c=_0x30c2eb[_0x48c454(0x3d8)];this['_fetchMissChangesets'](_0x2c1a7c)[_0x48c454(0x44c)](_0x446bf0=>{var _0x5142ca=_0x48c454;_0x3cbac6[_0x5142ca(0x479)]({'cmd':W[_0x5142ca(0x1c0)],'code':ae['OK'],'routeKey':_0x2c1a7c[_0x5142ca(0x3d8)]['unitID'],'routeType':'','data':{'eventID':g[_0x5142ca(0x21e)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x446bf0}}});})['catch'](_0x43b3eb=>{var _0x4e0c3c=_0x48c454;this[_0x4e0c3c(0x484)][_0x4e0c3c(0x3b2)](_0x43b3eb),_0x104291();});return;}}_0x3dd692[_0x48c454(0x2e7)](Ot(_0x30c2eb));},'close':()=>{var _0x10f120=_0x3894a5;_0x3dd692[_0x10f120(0x1ce)](),_0x185886[_0x10f120(0x418)]();}},_0x47c80a;}async[_0x288b20(0x42b)](_0x599599,_0x424f01){var _0x4c13b3=_0x288b20,_0x48e39e,_0x47150c;const {unitType:_0x45d9a2,unitID:_0xfd110,changeset:_0x5c8b0d}=_0x424f01[_0x4c13b3(0x3d8)],_0x443553={'unitID':_0xfd110,'memberID':_0x599599[_0x4c13b3(0x49e)],'type':_0x45d9a2,'changeset':g[_0x4c13b3(0x4d8)](_0x5c8b0d)},_0x500f06=this[_0x4c13b3(0x268)][_0x4c13b3(0x2e2)](mt),_0x32dcf3=this[_0x4c13b3(0x268)]['getConfig'](Y),_0x412bc0=Qt((_0x47150c=(_0x48e39e=_0x32dcf3==null?void 0x0:_0x32dcf3[_0x4c13b3(0x422)])!=null?_0x48e39e:_0x500f06)!=null?_0x47150c:Kt,_0x45d9a2,_0xfd110);try{await this[_0x4c13b3(0x213)][_0x4c13b3(0x3d0)](_0x412bc0,{'body':_0x443553});}catch(_0x42f15f){throw this[_0x4c13b3(0x484)][_0x4c13b3(0x3b2)](_0x4c13b3(0x44f),_0x4c13b3(0x4b7)),_0x42f15f;}}async[_0x288b20(0x2bb)](_0x4c55f5){var _0x4eeedf=_0x288b20;const {unitID:_0x539476,from:_0xb32b80,to:_0x5cc3dc,unitType:_0xdfa8f0}=_0x4c55f5[_0x4eeedf(0x3d8)];return(await this[_0x4eeedf(0x242)][_0x4eeedf(0x380)]({'metadata':void 0x0},{'unitID':_0x539476,'type':_0xdfa8f0,'from':_0xb32b80,'to':_0x5cc3dc}))[_0x4eeedf(0x3fd)];}},exports[_0x288b20(0x515)]=Zt([le(0x0,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),le(0x1,a['Inject'](q[_0x288b20(0x4c8)])),le(0x2,a[_0x288b20(0x2b6)]),le(0x3,a[_0x288b20(0x401)]),le(0x4,g[_0x288b20(0x3db)])],exports[_0x288b20(0x515)]);const ei=_0x288b20(0x26e);function ti(_0x1b5519){return JSON['stringify'](_0x1b5519)['length'];}class Be{constructor(){var _0x2f6240=_0x288b20;A(this,_0x2f6240(0x3cf),new j[(_0x2f6240(0x389))]()),A(this,'commentUpdate$',this[_0x2f6240(0x3cf)][_0x2f6240(0x3da)]());}[_0x288b20(0x3ce)](_0x2606bd){var _0x46172c=_0x288b20;this['_commentUpdate$'][_0x46172c(0x479)](_0x2606bd);}}var ii=Object[_0x288b20(0x284)],ni=(_0x4b5832,_0x595fe1,_0x483c11,_0x3e5cfb)=>{var _0x1ec00c=_0x288b20;for(var _0x5055f2=_0x3e5cfb>0x1?void 0x0:_0x3e5cfb?ii(_0x595fe1,_0x483c11):_0x595fe1,_0x312e66=_0x4b5832[_0x1ec00c(0x23a)]-0x1,_0x47d134;_0x312e66>=0x0;_0x312e66--)(_0x47d134=_0x4b5832[_0x312e66])&&(_0x5055f2=_0x47d134(_0x5055f2)||_0x5055f2);return _0x5055f2;},Ke=(_0x3c9480,_0x417f6d)=>(_0x3ef819,_0x58e403)=>_0x417f6d(_0x3ef819,_0x58e403,_0x3c9480);exports[_0x288b20(0x366)]=class extends a['Disposable']{constructor(_0x429daa,_0x5d69c5){var _0x4cac7d=_0x288b20;super(),A(this,_0x4cac7d(0x350),new Map()),A(this,_0x4cac7d(0x416),new j['Subject']()),(this[_0x4cac7d(0x4a4)]=_0x429daa,this[_0x4cac7d(0x313)]=_0x5d69c5,this['disposeWithMe'](j['merge'](this[_0x4cac7d(0x4a4)][_0x4cac7d(0x305)](a[_0x4cac7d(0x232)][_0x4cac7d(0x517)])[_0x4cac7d(0x40c)](V[_0x4cac7d(0x430)](_0x28329c=>_0x28329c['getUnitId']())),this[_0x4cac7d(0x4a4)][_0x4cac7d(0x305)](a[_0x4cac7d(0x232)]['UNIVER_DOC'])[_0x4cac7d(0x40c)](V['map'](_0x4da5bc=>_0x4da5bc[_0x4cac7d(0x362)]())),this[_0x4cac7d(0x4a4)][_0x4cac7d(0x305)](a[_0x4cac7d(0x232)]['UNIVER_SLIDE'])[_0x4cac7d(0x40c)](V[_0x4cac7d(0x430)](_0x16c450=>_0x16c450[_0x4cac7d(0x362)]())))[_0x4cac7d(0x405)](_0x1105db=>this[_0x4cac7d(0x4d3)](_0x1105db))));}[_0x288b20(0x51a)](_0x8bd902){var _0x448f94=_0x288b20;return this[_0x448f94(0x350)][_0x448f94(0x498)](_0x8bd902)?j['of'](this[_0x448f94(0x350)][_0x448f94(0x1bb)](_0x8bd902)):this[_0x448f94(0x416)][_0x448f94(0x40c)](V[_0x448f94(0x430)](_0x318e4e=>{var _0x1d5306=_0x448f94;if(_0x318e4e===_0x8bd902)return this[_0x1d5306(0x350)]['get'](_0x318e4e);}));}[_0x288b20(0x29d)](_0x520b65){var _0x3109bf=_0x288b20;this[_0x3109bf(0x313)][_0x3109bf(0x29d)](_0x520b65);}['getCurrentUser'](){var _0xe526ac=_0x288b20;return this[_0xe526ac(0x313)][_0xe526ac(0x4dd)]();}[_0x288b20(0x50b)](_0x1fa073,_0x2effcc){var _0x30d39e=_0x288b20;let _0x57112f=this[_0x30d39e(0x350)]['get'](_0x1fa073);_0x57112f||(_0x57112f=new ri(),this[_0x30d39e(0x350)][_0x30d39e(0x29f)](_0x1fa073,_0x57112f),this[_0x30d39e(0x416)][_0x30d39e(0x479)](_0x1fa073)),_0x57112f[_0x30d39e(0x50b)](_0x2effcc);}[_0x288b20(0x399)](_0x27e939,_0x5b8801){var _0x4deaa6=_0x288b20;const _0x2978ed=this[_0x4deaa6(0x350)][_0x4deaa6(0x1bb)](_0x27e939);_0x2978ed&&_0x2978ed[_0x4deaa6(0x399)](_0x5b8801);}[_0x288b20(0x524)](_0x3fdfd3){var _0x242243=_0x288b20;return this[_0x242243(0x350)][_0x242243(0x1bb)](_0x3fdfd3);}[_0x288b20(0x4b8)](_0x26f486,_0x123009){var _0x56db43=_0x288b20;const _0x2dbdaa=this[_0x56db43(0x350)]['get'](_0x26f486);if(_0x2dbdaa)return _0x2dbdaa[_0x56db43(0x4b8)](_0x123009);}[_0x288b20(0x4d3)](_0x910b3a){var _0x577c50=_0x288b20;const _0xaa7571=this['_roomMembers'][_0x577c50(0x1bb)](_0x910b3a);_0xaa7571&&(_0xaa7571[_0x577c50(0x418)](),this[_0x577c50(0x350)]['delete'](_0x910b3a));}['dispose'](){var _0x57400e=_0x288b20;this[_0x57400e(0x350)]['forEach'](_0x553003=>_0x553003[_0x57400e(0x418)]()),this[_0x57400e(0x350)][_0x57400e(0x2a4)](),this[_0x57400e(0x416)][_0x57400e(0x245)]();}},exports[_0x288b20(0x366)]=ni([Ke(0x0,a[_0x288b20(0x426)]),Ke(0x1,a[_0x288b20(0x257)](a[_0x288b20(0x4d2)]))],exports[_0x288b20(0x366)]);class ri extends a[_0x288b20(0x205)]{constructor(){var _0x3a21e2=_0x288b20;super(...arguments),A(this,_0x3a21e2(0x270),new Map()),A(this,_0x3a21e2(0x2f2),new j['BehaviorSubject'](this[_0x3a21e2(0x270)])),A(this,_0x3a21e2(0x2e5),this[_0x3a21e2(0x2f2)][_0x3a21e2(0x3da)]());}[_0x288b20(0x418)](){var _0x35653f=_0x288b20;this[_0x35653f(0x270)][_0x35653f(0x2a4)]();}[_0x288b20(0x50b)](_0x4d9ada){var _0x486b74=_0x288b20;this['_members']['set'](_0x4d9ada[_0x486b74(0x49e)],_0x4d9ada),this[_0x486b74(0x221)]();}[_0x288b20(0x399)](_0x2d9684){var _0x173638=_0x288b20;this['_members'][_0x173638(0x4c6)](_0x2d9684);}[_0x288b20(0x4b8)](_0x14ec4f){var _0x19d77e=_0x288b20;return this[_0x19d77e(0x270)][_0x19d77e(0x1bb)](_0x14ec4f);}[_0x288b20(0x42f)](){var _0x3c1be5=_0x288b20;return Array[_0x3c1be5(0x505)](this['_members']['values']());}[_0x288b20(0x221)](){var _0x3321d3=_0x288b20;this[_0x3321d3(0x2f2)][_0x3321d3(0x479)](this[_0x3321d3(0x270)]);}}var si=Object[_0x288b20(0x284)],oi=(_0x104f90,_0x1faba3,_0x5b86b0,_0x447ba9)=>{for(var _0x275987=_0x447ba9>0x1?void 0x0:_0x447ba9?si(_0x1faba3,_0x5b86b0):_0x1faba3,_0x5d9524=_0x104f90['length']-0x1,_0x4af739;_0x5d9524>=0x0;_0x5d9524--)(_0x4af739=_0x104f90[_0x5d9524])&&(_0x275987=_0x4af739(_0x275987)||_0x275987);return _0x275987;},oe=(_0x87cbd9,_0x1b2639)=>(_0x216abf,_0x4cbde0)=>_0x1b2639(_0x216abf,_0x4cbde0,_0x87cbd9),se=(_0x28ac26=>(_0x28ac26[_0x28ac26[_0x288b20(0x3ee)]=0x0]=_0x288b20(0x3ee),_0x28ac26[_0x28ac26[_0x288b20(0x38a)]=0x1]=_0x288b20(0x38a),_0x28ac26[_0x28ac26['OFFLINE']=0x2]=_0x288b20(0x1fa),_0x28ac26[_0x28ac26['ONLINE']=0x3]=_0x288b20(0x4c4),_0x28ac26))(se||{});const Ye={[ae[_0x288b20(0x446)]]:_0x288b20(0x39d),[ae[_0x288b20(0x206)]]:_0x288b20(0x434),[ae[_0x288b20(0x1dc)]]:'session.room-not-exists',[ae[_0x288b20(0x487)]]:'session.room-permission-denied',[ae[_0x288b20(0x383)]]:_0x288b20(0x249)};exports['CollaborationSession']=class extends a[_0x288b20(0x1d2)]{constructor(_0x218016,_0x3c42e9,_0x445163,_0x2ed369,_0x5167e8,_0x3b37a9,_0x2c749c,_0x14c6e,_0x40f2ee){var _0x4de674=_0x288b20;super(),A(this,_0x4de674(0x4ae),new j['BehaviorSubject'](0x0)),A(this,_0x4de674(0x1bd),this['_sessionStatus$'][_0x4de674(0x3da)]()),A(this,_0x4de674(0x244),new j['Subject']()),A(this,_0x4de674(0x30d),this[_0x4de674(0x244)][_0x4de674(0x3da)]()),A(this,_0x4de674(0x43b)),A(this,_0x4de674(0x222)),A(this,_0x4de674(0x482)),A(this,_0x4de674(0x37b),!0x1),A(this,'_telemetryInfo',null),(this[_0x4de674(0x431)]=_0x218016,this['_logService']=_0x445163,this['_configService']=_0x2ed369,this[_0x4de674(0x4a8)]=_0x5167e8,this[_0x4de674(0x35a)]=_0x3b37a9,this['_commentService']=_0x2c749c,this[_0x4de674(0x41f)]=_0x14c6e,this[_0x4de674(0x481)]=_0x40f2ee,this[_0x4de674(0x37b)]=!!this[_0x4de674(0x481)],_0x3c42e9[_0x4de674(0x40c)](j[_0x4de674(0x1b9)](this[_0x4de674(0x201)]))[_0x4de674(0x405)](_0x44a58d=>{var _0x28b524=_0x4de674,_0x2ff55a;typeof _0x44a58d>'u'||(this['_socket']=_0x44a58d,_0x44a58d?(this[_0x28b524(0x317)](_0x44a58d),this[_0x28b524(0x222)]=_0x44a58d[_0x28b524(0x4fb)][_0x28b524(0x405)](_0x391a61=>{var _0x24f273=_0x28b524;_0x391a61[_0x24f273(0x45a)]===this[_0x24f273(0x431)]&&this['_onCombEvent'](_0x391a61);})):(this[_0x28b524(0x46e)](),this[_0x28b524(0x4ae)]['next'](0x2),(_0x2ff55a=this[_0x28b524(0x222)])==null||_0x2ff55a[_0x28b524(0x407)](),this[_0x28b524(0x222)]=null));}));}get['sessionStatus'](){var _0x1266f5=_0x288b20;return this[_0x1266f5(0x4ae)]['getValue']();}[_0x288b20(0x513)](){var _0x9867fd=_0x288b20,_0x2b956e,_0x3a29c3;return(_0x3a29c3=(_0x2b956e=this[_0x9867fd(0x43b)])==null?void 0x0:_0x2b956e[_0x9867fd(0x49e)])!=null?_0x3a29c3:null;}['dispose'](){var _0x237169=_0x288b20;super['dispose'](),this[_0x237169(0x201)][_0x237169(0x479)](),this[_0x237169(0x201)][_0x237169(0x245)]();}['close'](){var _0xbc540f=_0x288b20,_0x34d9c4,_0x4f29be;this[_0xbc540f(0x46e)](),(_0x34d9c4=this['_socket'])==null||_0x34d9c4[_0xbc540f(0x2e7)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x4f29be=this['_socket'])==null||_0x4f29be['close'](),this[_0xbc540f(0x244)]['complete'](),this[_0xbc540f(0x4ae)][_0xbc540f(0x245)](),this[_0xbc540f(0x418)]();}[_0x288b20(0x506)](_0x5bb6d2){var _0x37d073=_0x288b20;_0x5bb6d2[_0x37d073(0x341)]===W[_0x37d073(0x27b)]?this[_0x37d073(0x47a)](_0x5bb6d2):_0x5bb6d2[_0x37d073(0x341)]===W[_0x37d073(0x1c0)]&&this[_0x37d073(0x41e)](_0x5bb6d2);}[_0x288b20(0x317)](_0x4bc2c4){var _0xb9a00a=_0x288b20;this[_0xb9a00a(0x4ae)][_0xb9a00a(0x479)](0x1),_0x4bc2c4[_0xb9a00a(0x2e7)]({'cmd':W['JOIN'],'routeKey':this[_0xb9a00a(0x431)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb9a00a(0x431)]}]}});}[_0x288b20(0x47a)](_0x2164fd){var _0x1f90a3=_0x288b20,_0x231dc5;if(_0x2164fd[_0x1f90a3(0x3b7)]in Ye){this[_0x1f90a3(0x41f)][_0x1f90a3(0x1d4)]({'id':Q[_0x1f90a3(0x271)],'data':Ye[_0x2164fd[_0x1f90a3(0x3b7)]]}),this[_0x1f90a3(0x4ae)][_0x1f90a3(0x479)](0x2);return;}this[_0x1f90a3(0x4ae)][_0x1f90a3(0x479)](0x3);const _0x38206c=(_0x231dc5=_0x2164fd['data'][_0x1f90a3(0x476)][this[_0x1f90a3(0x431)]])==null?void 0x0:_0x231dc5['members'];_0x38206c&&_0x38206c['forEach'](_0x2b8b3f=>this[_0x1f90a3(0x35a)][_0x1f90a3(0x50b)](this['_unitID'],_0x2b8b3f));}[_0x288b20(0x41e)](_0x2ef578){var _0x173563=_0x288b20;try{const _0x4f0eb7=_0x2ef578[_0x173563(0x3d8)];switch(_0x4f0eb7[_0x173563(0x265)]){case g['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x4f0eb7),this[_0x173563(0x244)]['next'](_0x4f0eb7);break;case g[_0x173563(0x21e)][_0x173563(0x3a2)]:this[_0x173563(0x1cb)](_0x4f0eb7),this[_0x173563(0x244)][_0x173563(0x479)](_0x4f0eb7);break;case g[_0x173563(0x21e)][_0x173563(0x2fd)]:case g['CollaborationEvent'][_0x173563(0x43f)]:this[_0x173563(0x1fb)](),this[_0x173563(0x3c2)](),this['_event$'][_0x173563(0x479)](_0x4f0eb7);break;case g[_0x173563(0x21e)][_0x173563(0x22c)]:this[_0x173563(0x484)][_0x173563(0x3b2)](_0x173563(0x1eb)+JSON[_0x173563(0x4f8)](_0x4f0eb7)),this[_0x173563(0x244)][_0x173563(0x479)](_0x4f0eb7);break;case g[_0x173563(0x21e)][_0x173563(0x3ae)]:this[_0x173563(0x260)][_0x173563(0x3ce)](_0x4f0eb7['data']),this[_0x173563(0x244)][_0x173563(0x479)](_0x4f0eb7);break;default:this[_0x173563(0x244)][_0x173563(0x479)](_0x4f0eb7);}}catch(_0x1e16b5){this[_0x173563(0x484)][_0x173563(0x3b2)](_0x1e16b5,_0x2ef578);}}[_0x288b20(0x2ba)](_0x8e1f06){var _0x198895=_0x288b20;this[_0x198895(0x35a)][_0x198895(0x50b)](this[_0x198895(0x431)],_0x8e1f06[_0x198895(0x3d8)]);}[_0x288b20(0x1cb)](_0x112d43){var _0x21ac76=_0x288b20;this['_memberService'][_0x21ac76(0x399)](this['_unitID'],_0x112d43[_0x21ac76(0x3d8)][_0x21ac76(0x49e)]);}async[_0x288b20(0x2e7)](_0x49427c,_0x5adb74){var _0x5d664f=_0x288b20;if(this[_0x5d664f(0x288)]!==0x3||!this[_0x5d664f(0x43b)])throw new Error(_0x5d664f(0x212));try{_0x49427c[_0x5d664f(0x265)]===g[_0x5d664f(0x21e)][_0x5d664f(0x461)]&&(this[_0x5d664f(0x266)](),this['_startTelemetryCollaborationNewChangeset'](_0x49427c)),this[_0x5d664f(0x43b)][_0x5d664f(0x2e7)]({'cmd':W[_0x5d664f(0x51e)],'routeKey':_0x5adb74,'routeType':'','data':_0x49427c});}catch(_0x5a35df){this[_0x5d664f(0x484)]['error'](_0x5a35df);}}[_0x288b20(0x266)](){var _0x25b200=_0x288b20,_0x4a1a23;this[_0x25b200(0x482)]=setTimeout(()=>{var _0x1bb5e9=_0x25b200;this[_0x1bb5e9(0x482)]=null,this['_collaborationUIEventService'][_0x1bb5e9(0x1d4)]({'id':Q[_0x1bb5e9(0x3e3)]});},(_0x4a1a23=this[_0x25b200(0x268)][_0x25b200(0x2e2)](je))!=null?_0x4a1a23:gt);}['_clearCollaborationTimeoutTimer'](){var _0x1dbcac=_0x288b20;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1dbcac(0x482)]),this[_0x1dbcac(0x482)]=null);}[_0x288b20(0x491)](_0x2fe600){var _0x32845e=_0x288b20;if(!this[_0x32845e(0x37b)])return;const {data:_0x14ba19}=_0x2fe600,{unitID:_0x290215,changeset:_0x113ab8}=_0x14ba19,{mutations:_0xc562c0,type:_0x2cbfcf}=_0x113ab8;this[_0x32845e(0x428)]={'unitId':_0x290215,'type':_0x2cbfcf,'startTime':performance[_0x32845e(0x4e3)](),'stopTime':0x0,'duration':0x0,'size':ti(_0xc562c0)};}[_0x288b20(0x1fb)](){var _0x4e0484=_0x288b20;if(this[_0x4e0484(0x37b)]){if(!this[_0x4e0484(0x428)]){this[_0x4e0484(0x484)][_0x4e0484(0x3b2)](_0x4e0484(0x44f),_0x4e0484(0x3e9));return;}this[_0x4e0484(0x428)][_0x4e0484(0x529)]=performance[_0x4e0484(0x4e3)](),this[_0x4e0484(0x428)][_0x4e0484(0x435)]=this['_telemetryInfo'][_0x4e0484(0x529)]-this[_0x4e0484(0x428)]['startTime'],this[_0x4e0484(0x481)]['capture'](ei,this['_telemetryInfo']),this[_0x4e0484(0x428)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x173fbc=_0x288b20;this[_0x173fbc(0x428)]=null;}},exports[_0x288b20(0x403)]=oi([oe(0x2,a[_0x288b20(0x401)]),oe(0x3,a[_0x288b20(0x2b6)]),oe(0x4,a[_0x288b20(0x257)](a['LocaleService'])),oe(0x5,a[_0x288b20(0x257)](exports[_0x288b20(0x366)])),oe(0x6,a[_0x288b20(0x257)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x288b20(0x3d7)](Mt[_0x288b20(0x4da)]))],exports[_0x288b20(0x403)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x20634f,_0x3c0542,_0xa8826f,_0x2b1bfc)=>{var _0x12c75c=_0x288b20;for(var _0x1dd695=_0x2b1bfc>0x1?void 0x0:_0x2b1bfc?ai(_0x3c0542,_0xa8826f):_0x3c0542,_0x40584a=_0x20634f[_0x12c75c(0x23a)]-0x1,_0x44073a;_0x40584a>=0x0;_0x40584a--)(_0x44073a=_0x20634f[_0x40584a])&&(_0x1dd695=_0x44073a(_0x1dd695)||_0x1dd695);return _0x1dd695;},_e=(_0x551c04,_0xe70f66)=>(_0x3353e1,_0x41b887)=>_0xe70f66(_0x3353e1,_0x41b887,_0x551c04);exports[_0x288b20(0x325)]=class extends a[_0x288b20(0x205)]{constructor(_0x3560ac,_0x58b7e1,_0x28db4d,_0x1e36b2,_0x486f93,_0x178d14){var _0x4296f4=_0x288b20;super(),A(this,_0x4296f4(0x364),new j['BehaviorSubject'](void 0x0)),A(this,_0x4296f4(0x20b),this['_socket$'][_0x4296f4(0x3da)]()),A(this,_0x4296f4(0x34e),null),A(this,_0x4296f4(0x47f),new Map()),A(this,_0x4296f4(0x262),new j[(_0x4296f4(0x421))](se['IDLE'])),A(this,'status$',this[_0x4296f4(0x262)]['asObservable']()),A(this,_0x4296f4(0x1e4),!0x1),A(this,_0x4296f4(0x37e)),A(this,_0x4296f4(0x521),0x0),A(this,_0x4296f4(0x2d2)),A(this,_0x4296f4(0x34c)),(this[_0x4296f4(0x3b1)]=_0x3560ac,this[_0x4296f4(0x484)]=_0x58b7e1,this['_configService']=_0x28db4d,this['_socketService']=_0x1e36b2,this[_0x4296f4(0x41f)]=_0x486f93,this[_0x4296f4(0x3e4)]=_0x178d14,this[_0x4296f4(0x1ed)]());}get['_socket'](){var _0x59f23a=_0x288b20;return this[_0x59f23a(0x364)][_0x59f23a(0x400)]();}[_0x288b20(0x1ed)](){var _0x15ce0b=_0x288b20;this[_0x15ce0b(0x3e4)]&&this[_0x15ce0b(0x202)](this[_0x15ce0b(0x3e4)][_0x15ce0b(0x345)][_0x15ce0b(0x405)](_0x498443=>{var _0x288f63=_0x15ce0b;_0x498443&&!this['_socket']&&this[_0x288f63(0x4f9)](),_0x498443||this[_0x288f63(0x48e)]();}));}[_0x288b20(0x418)](){var _0x10a4e2=_0x288b20;super[_0x10a4e2(0x418)](),this[_0x10a4e2(0x535)](),this[_0x10a4e2(0x34b)](),this[_0x10a4e2(0x220)](),this[_0x10a4e2(0x47f)][_0x10a4e2(0x286)](_0x3c325a=>_0x3c325a['dispose']()),this[_0x10a4e2(0x47f)][_0x10a4e2(0x2a4)](),this[_0x10a4e2(0x262)][_0x10a4e2(0x245)]();}async[_0x288b20(0x48c)](_0x3f6d87){var _0x2a7399=_0x288b20;if(this[_0x2a7399(0x47f)]['has'](_0x3f6d87))return this[_0x2a7399(0x47f)]['get'](_0x3f6d87);this[_0x2a7399(0x3a0)]();const _0x30f2c6=this['_injector'][_0x2a7399(0x415)](exports['CollaborationSession'],_0x3f6d87,this[_0x2a7399(0x364)][_0x2a7399(0x3da)]());return this[_0x2a7399(0x47f)]['set'](_0x3f6d87,_0x30f2c6),_0x30f2c6;}['closeSession'](_0x52af79){var _0x27aa13=_0x288b20,_0x1222e2;const _0x1728e0=this['_sessions'][_0x27aa13(0x1bb)](_0x52af79);_0x1728e0&&(this[_0x27aa13(0x47f)][_0x27aa13(0x4c6)](_0x52af79),_0x1728e0[_0x27aa13(0x1ce)]()),this[_0x27aa13(0x47f)][_0x27aa13(0x34f)]||(_0x1222e2=this['_socket'])==null||_0x1222e2[_0x27aa13(0x1ce)]();}['reconnect'](){var _0x50d771=_0x288b20;this[_0x50d771(0x521)]=0x0,this[_0x50d771(0x535)](),this[_0x50d771(0x21f)]();}[_0x288b20(0x535)](){var _0x398f2c=_0x288b20;this[_0x398f2c(0x37e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x288b20(0x2f6)](){var _0x92363c=_0x288b20,_0x466a73,_0x3ecbaa;const _0x248154=this[_0x92363c(0x268)]['getConfig'](St),_0x3958aa=this['_configService'][_0x92363c(0x2e2)](Y),_0x540b00=(_0x3ecbaa=(_0x466a73=_0x3958aa==null?void 0x0:_0x3958aa[_0x92363c(0x283)])!=null?_0x466a73:_0x248154)!=null?_0x3ecbaa:ft,_0x1ba4ab=await this[_0x92363c(0x3de)][_0x92363c(0x336)](_0x540b00);return this[_0x92363c(0x34e)]=_0x1ba4ab,_0x1ba4ab;}async['_tryEnsureSocket'](){var _0x596784=_0x288b20,_0x198ba2,_0x265c39;try{const _0x513c44=(_0x265c39=(_0x198ba2=this[_0x596784(0x43b)])!=null?_0x198ba2:this['_candidateSocket'])!=null?_0x265c39:await this[_0x596784(0x2f6)]();if(_0x513c44){const _0x483670=_0x513c44[_0x596784(0x2e7)];_0x513c44[_0x596784(0x2e7)]=_0x265a03=>(this[_0x596784(0x3fc)](),_0x483670[_0x596784(0x246)](_0x513c44,[_0x265a03])),_0x513c44['message$'][_0x596784(0x405)](_0x184464=>this['_onMessage'](_0x513c44,_0x184464)),_0x513c44[_0x596784(0x1d6)]['pipe'](V['take'](0x1))[_0x596784(0x405)](_0x26d8f3=>this[_0x596784(0x484)][_0x596784(0x3b2)](_0x596784(0x27c),_0x26d8f3)),_0x513c44[_0x596784(0x2a9)][_0x596784(0x40c)](V[_0x596784(0x4ec)](0x1))[_0x596784(0x405)](()=>{var _0x3b5e88=_0x596784;this[_0x3b5e88(0x4a0)](_0x513c44);}),_0x513c44[_0x596784(0x411)]['pipe'](V[_0x596784(0x4ec)](0x1))[_0x596784(0x405)](_0x7373d1=>{var _0x425b54=_0x596784;this[_0x425b54(0x484)]['debug'](_0x425b54(0x46f),_0x425b54(0x26c),_0x7373d1),this[_0x425b54(0x1cd)]();});}}catch(_0x396f88){this[_0x596784(0x484)][_0x596784(0x3b2)](_0x396f88),this[_0x596784(0x1cd)]();}}['_onConnectionOpen'](_0x476b21){var _0x38f4b6=_0x288b20;this[_0x38f4b6(0x484)][_0x38f4b6(0x31f)]('[CollaborationSessionService]',_0x38f4b6(0x412)),_0x476b21['send']({'cmd':W[_0x38f4b6(0x1b0)]}),this[_0x38f4b6(0x3fc)]();}[_0x288b20(0x48e)](){var _0x258574=_0x288b20;this[_0x258574(0x1e4)]=!0x1,this[_0x258574(0x34e)]=null,this[_0x258574(0x262)][_0x258574(0x479)](se[_0x258574(0x1fa)]),this[_0x258574(0x364)][_0x258574(0x479)](null),this[_0x258574(0x34b)](),this[_0x258574(0x220)]();}[_0x288b20(0x1cd)](){var _0x1d9f8d=_0x288b20,_0x180ed4;this[_0x1d9f8d(0x48e)](),this[_0x1d9f8d(0x521)]<((_0x180ed4=this[_0x1d9f8d(0x268)][_0x1d9f8d(0x2e2)](It))!=null?_0x180ed4:Vt)?(this[_0x1d9f8d(0x41f)][_0x1d9f8d(0x1d4)]({'id':Q[_0x1d9f8d(0x457)]}),this[_0x1d9f8d(0x21f)]()):this[_0x1d9f8d(0x41f)]['emitEvent']({'id':Q[_0x1d9f8d(0x404)]});}[_0x288b20(0x21f)](){var _0x1e4140=_0x288b20,_0x3de570;const _0x55ae7a=this[_0x1e4140(0x521)],_0x47fca4=this[_0x1e4140(0x268)]['getConfig'](Y),_0x31152d=_0x55ae7a===0x0?0x0:((_0x3de570=_0x47fca4==null?void 0x0:_0x47fca4[_0x1e4140(0x22d)])!=null?_0x3de570:Ft)*0x2**_0x55ae7a;this[_0x1e4140(0x37e)]=setTimeout(()=>{var _0x765a6d=_0x1e4140;clearTimeout(this[_0x765a6d(0x37e)]),this['_retryConnectingTimer']=null,this[_0x765a6d(0x3a0)]();},_0x31152d),this['_retryCount']+=0x1;}[_0x288b20(0x2bc)](_0x545223,_0xd0c85){var _0xaac9de=_0x288b20;const {cmd:_0x9e3775}=_0xd0c85;_0x9e3775===W[_0xaac9de(0x1b0)]&&!this[_0xaac9de(0x1e4)]&&(_0x545223['memberID']=_0xd0c85[_0xaac9de(0x3d8)]['memberID'],this[_0xaac9de(0x364)][_0xaac9de(0x479)](_0x545223),this[_0xaac9de(0x262)][_0xaac9de(0x479)](se['ONLINE']),this[_0xaac9de(0x1e4)]=!0x0,this[_0xaac9de(0x34e)]=null),_0x9e3775===W['HEARTBEAT']&&this[_0xaac9de(0x34b)](),this[_0xaac9de(0x3fc)]();}[_0x288b20(0x3fc)](){var _0x385916=_0x288b20,_0x27d46e;this[_0x385916(0x220)](),this[_0x385916(0x2d2)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x27d46e=this[_0x385916(0x268)][_0x385916(0x2e2)](pt))!=null?_0x27d46e:Bt);}[_0x288b20(0x436)](){var _0x3aeb59=_0x288b20;this[_0x3aeb59(0x43b)][_0x3aeb59(0x2e7)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x52a9ea=_0x288b20,_0x2a57d7;this[_0x52a9ea(0x34c)]=setTimeout(()=>this[_0x52a9ea(0x1cd)](),(_0x2a57d7=this[_0x52a9ea(0x268)][_0x52a9ea(0x2e2)](je))!=null?_0x2a57d7:gt);}['_clearHeartbeatTimer'](){var _0x520f3d=_0x288b20;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x520f3d(0x2d2)]),this[_0x520f3d(0x2d2)]=null);}[_0x288b20(0x34b)](){var _0x5b5a73=_0x288b20;this[_0x5b5a73(0x34c)]!=null&&(clearTimeout(this[_0x5b5a73(0x34c)]),this[_0x5b5a73(0x34c)]=null);}},exports[_0x288b20(0x325)]=ci([_e(0x0,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),_e(0x1,a[_0x288b20(0x401)]),_e(0x2,a[_0x288b20(0x2b6)]),_e(0x3,$e),_e(0x4,a[_0x288b20(0x257)](te)),_e(0x5,a[_0x288b20(0x3d7)](bt))],exports[_0x288b20(0x325)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)[_0x288b20(0x377)](0x10)[_0x288b20(0x4e6)](0x1));function hi(_0x4ff1cf,_0x3c3732=0x0){var _0x4a37ea=_0x288b20;return(G[_0x4ff1cf[_0x3c3732+0x0]]+G[_0x4ff1cf[_0x3c3732+0x1]]+G[_0x4ff1cf[_0x3c3732+0x2]]+G[_0x4ff1cf[_0x3c3732+0x3]]+'-'+G[_0x4ff1cf[_0x3c3732+0x4]]+G[_0x4ff1cf[_0x3c3732+0x5]]+'-'+G[_0x4ff1cf[_0x3c3732+0x6]]+G[_0x4ff1cf[_0x3c3732+0x7]]+'-'+G[_0x4ff1cf[_0x3c3732+0x8]]+G[_0x4ff1cf[_0x3c3732+0x9]]+'-'+G[_0x4ff1cf[_0x3c3732+0xa]]+G[_0x4ff1cf[_0x3c3732+0xb]]+G[_0x4ff1cf[_0x3c3732+0xc]]+G[_0x4ff1cf[_0x3c3732+0xd]]+G[_0x4ff1cf[_0x3c3732+0xe]]+G[_0x4ff1cf[_0x3c3732+0xf]])[_0x4a37ea(0x2fc)]();}let De;const _i=new Uint8Array(0x10);function li(){var _0x3804ef=_0x288b20;if(!De){if(typeof crypto>'u'||!crypto[_0x3804ef(0x3c0)])throw new Error(_0x3804ef(0x4a5));De=crypto['getRandomValues']['bind'](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x288b20(0x4dc)]&&crypto['randomUUID']['bind'](crypto),qe={'randomUUID':ui};function di(_0x2f9612,_0x260ffb,_0x15c154){var _0x1e9834=_0x288b20,_0x432e68,_0x17933c,_0x1a1f94;if(qe[_0x1e9834(0x4dc)]&&!_0x2f9612)return qe['randomUUID']();_0x2f9612=_0x2f9612||{};const _0x5c87e2=(_0x1a1f94=(_0x17933c=_0x2f9612[_0x1e9834(0x281)])!=null?_0x17933c:(_0x432e68=_0x2f9612[_0x1e9834(0x1d9)])==null?void 0x0:_0x432e68['call'](_0x2f9612))!=null?_0x1a1f94:li();if(_0x5c87e2[_0x1e9834(0x23a)]<0x10)throw new Error(_0x1e9834(0x3a1));return _0x5c87e2[0x6]=_0x5c87e2[0x6]&0xf|0x40,_0x5c87e2[0x8]=_0x5c87e2[0x8]&0x3f|0x80,hi(_0x5c87e2);}const z=a[_0x288b20(0x2cd)](_0x288b20(0x312));function vi(_0x1e6fc7){var _0x35820d=_0x288b20;return _0x35820d(0x1bc)+_0x1e6fc7;}var Si=Object[_0x288b20(0x284)],fi=(_0x44ce43,_0x128c01,_0x20970c,_0x18ef6d)=>{var _0x3b28e7=_0x288b20;for(var _0x45e599=_0x18ef6d>0x1?void 0x0:_0x18ef6d?Si(_0x128c01,_0x20970c):_0x128c01,_0x2c3126=_0x44ce43[_0x3b28e7(0x23a)]-0x1,_0x50acdc;_0x2c3126>=0x0;_0x2c3126--)(_0x50acdc=_0x44ce43[_0x2c3126])&&(_0x45e599=_0x50acdc(_0x45e599)||_0x45e599);return _0x45e599;},Ae=(_0xf6580b,_0x41f7c9)=>(_0x38dbd4,_0xa05741)=>_0x41f7c9(_0x38dbd4,_0xa05741,_0xf6580b);function pi(_0x2e8233){var _0x2e8fb6=_0x288b20;const {unitID:_0x2e0066,mutations:_0x12a836}=_0x2e8233;return{'unitId':_0x2e0066,'subUnitId':_0x12a836[0x0][_0x2e8fb6(0x53c)][_0x2e8fb6(0x4ea)]};}exports[_0x288b20(0x386)]=class{constructor(_0x5b8ae2,_0x3c033b,_0x474f6b){var _0x5280b1=_0x288b20;this[_0x5280b1(0x3b1)]=_0x5b8ae2,this[_0x5280b1(0x3cd)]=_0x3c033b,this[_0x5280b1(0x1f3)]=_0x474f6b;}[_0x288b20(0x2fb)](_0x412699){var _0x1ee2d2=_0x288b20,_0x89ffa2,_0x120ca9,_0x2ee7d8,_0x4f53f6;const _0xd55a73=this['_injector'][_0x1ee2d2(0x1bb)](Z[_0x1ee2d2(0x2f3)]),{unitId:_0x192b0a,subUnitId:_0x12eff1}=pi(_0x412699),_0x3b4f09=_0xd55a73==null?void 0x0:_0xd55a73[_0x1ee2d2(0x302)](_0x192b0a)[_0x1ee2d2(0x4fc)](),_0x7ff2a=(_0x120ca9=(_0x89ffa2=this['_instanceService'][_0x1ee2d2(0x263)](_0x192b0a))==null?void 0x0:_0x89ffa2['getActiveSheet']())==null?void 0x0:_0x120ca9['getSheetId']();if(_0x3b4f09[_0x1ee2d2(0x23a)]===0x0||!_0x192b0a||!_0x12eff1)return;const _0x2e4202=[{'id':Z[_0x1ee2d2(0x40b)]['id'],'params':{'unitId':_0x192b0a,'subUnitId':_0x7ff2a,'selections':a[_0x1ee2d2(0x2ee)][_0x1ee2d2(0x1ee)](_0x3b4f09)}}],_0x3594b6=this[_0x1ee2d2(0x3cd)][_0x1ee2d2(0x376)](_0x412699,_0x2e4202);if(!g[_0x1ee2d2(0x2ca)](_0x3594b6))throw _0x3594b6['error'];const _0x6724fa=(_0x4f53f6=(_0x2ee7d8=_0x3594b6[_0x1ee2d2(0x2ec)][0x0])==null?void 0x0:_0x2ee7d8[_0x1ee2d2(0x53c)])==null?void 0x0:_0x4f53f6[_0x1ee2d2(0x433)];if(Array['isArray'](_0x6724fa)&&_0x6724fa[_0x1ee2d2(0x23a)]){if(_0x6724fa[_0x1ee2d2(0x23a)]===_0x2e4202[0x0][_0x1ee2d2(0x53c)][_0x1ee2d2(0x433)][_0x1ee2d2(0x23a)]&&_0x6724fa['every']((_0x21f02f,_0x5dbdf8)=>a['Rectangle'][_0x1ee2d2(0x3c5)](_0x21f02f[_0x1ee2d2(0x4a3)],_0x2e4202[0x0]['params']['selections'][_0x5dbdf8][_0x1ee2d2(0x4a3)])))return;this[_0x1ee2d2(0x3b1)][_0x1ee2d2(0x1bb)](a[_0x1ee2d2(0x37a)])[_0x1ee2d2(0x42e)](Z[_0x1ee2d2(0x40b)]['id'],{'unitId':_0x192b0a,'subUnitId':_0x7ff2a,'selections':_0x6724fa});}}},exports[_0x288b20(0x386)]=fi([Ae(0x0,a['Inject'](a[_0x288b20(0x2a0)])),Ae(0x1,g[_0x288b20(0x1e2)]),Ae(0x2,a[_0x288b20(0x426)])],exports[_0x288b20(0x386)]);const ve=a[_0x288b20(0x2cd)](_0x288b20(0x44d));var Fe=(_0x1d82b6=>(_0x1d82b6[_0x1d82b6[_0x288b20(0x48d)]=0x0]=_0x288b20(0x48d),_0x1d82b6[_0x1d82b6[_0x288b20(0x4d4)]=0x1]=_0x288b20(0x4d4),_0x1d82b6))(Fe||{});const gi=new Set([Z[_0x288b20(0x460)]['id']]);function ze(_0x4afec2,_0x1609fd,_0x30d585,_0x327870,_0x2ae078){var _0x29a09e=_0x288b20,_0x2fb9a8,_0x3bde33,_0x1e21ab,_0x2137a1;const _0x5bc381=[];for(const _0x2fda6b of _0x4afec2)if(gi[_0x29a09e(0x498)](_0x2fda6b['id'])){if(_0x5bc381[_0x29a09e(0x23a)]>0x0)break;_0x5bc381['push'](_0x2fda6b);break;}else _0x5bc381[_0x29a09e(0x328)](_0x2fda6b);const _0x2bdcdc=(_0x3bde33=(_0x2fb9a8=_0x2ae078['getCurrentUser']())==null?void 0x0:_0x2fb9a8['userID'])!=null?_0x3bde33:_0x29a09e(0x480),_0x32afcf=(_0x2137a1=(_0x1e21ab=_0x2ae078[_0x29a09e(0x4dd)]())==null?void 0x0:_0x1e21ab[_0x29a09e(0x49e)])!=null?_0x2137a1:_0x29a09e(0x480);return{'changeset':{'unitID':_0x1609fd,'type':g[_0x29a09e(0x3b3)](_0x30d585[_0x29a09e(0x449)](_0x1609fd)),'baseRev':_0x327870['getCurrentRevOfUnit'](_0x1609fd),'revision':0x0,'userID':_0x2bdcdc,'memberID':_0x32afcf,'mutations':_0x5bc381},'pendingMutations':_0x4afec2[_0x29a09e(0x4e6)](_0x5bc381['length'])};}function Ii(_0x2f7aae,_0x570c3d,_0x4cebd6,_0x15c56d,_0xca1ad3){var _0x340b00=_0x288b20,_0x37beaf,_0x2d2c39,_0x34d225,_0x50aa38;const _0x24d0b7=[_0x2f7aae[_0x340b00(0x4c3)]((_0x10916d,_0x16669f)=>{var _0x2a4b3f=_0x340b00,_0x5d4224;const {id:_0x2913b1}=_0x10916d,{id:_0x5102cb,type:_0x478985}=_0x16669f,_0x227042=(_0x5d4224=_0x10916d[_0x2a4b3f(0x53c)])!=null?_0x5d4224:{'actions':null},_0x52b8eb=_0x16669f[_0x2a4b3f(0x53c)];if(_0x2913b1&&_0x2913b1!==_0x5102cb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2913b1+_0x2a4b3f(0x3f1)+_0x5102cb+'.');return{..._0x10916d,'id':_0x5102cb,'type':_0x478985,'params':{'unitId':_0x52b8eb[_0x2a4b3f(0x30f)],'textRanges':_0x52b8eb[_0x2a4b3f(0x209)],'actions':a['JSONX'][_0x2a4b3f(0x3be)](_0x227042[_0x2a4b3f(0x514)],_0x52b8eb[_0x2a4b3f(0x514)])}};},{})],_0x34dfbd=(_0x2d2c39=(_0x37beaf=_0xca1ad3[_0x340b00(0x4dd)]())==null?void 0x0:_0x37beaf[_0x340b00(0x3df)])!=null?_0x2d2c39:_0x340b00(0x480),_0x579c92=(_0x50aa38=(_0x34d225=_0xca1ad3['getCurrentUser']())==null?void 0x0:_0x34d225['memberID'])!=null?_0x50aa38:_0x340b00(0x480);return{'changeset':{'unitID':_0x570c3d,'type':g[_0x340b00(0x3b3)](_0x4cebd6['getUnitType'](_0x570c3d)),'baseRev':_0x15c56d[_0x340b00(0x33b)](_0x570c3d),'revision':0x0,'userID':_0x34dfbd,'memberID':_0x579c92,'mutations':_0x24d0b7},'pendingMutations':[]};}function yt(_0x252d8d,_0x4efa4b){var _0x4bf1fc=_0x288b20;const _0xd76f8c=new j[(_0x4bf1fc(0x1ae))](0x1);return setTimeout(()=>_0xd76f8c[_0x4bf1fc(0x479)](_0x4efa4b),_0x252d8d),_0xd76f8c[_0x4bf1fc(0x3da)]()['pipe'](j[_0x4bf1fc(0x4ec)](0x1));}const mi={'id':Z[_0x288b20(0x1c1)]['id'],'type':a['CommandType'][_0x288b20(0x331)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x53a415,_0x352b72,_0x274db8,_0x460330)=>{var _0x4cdead=_0x288b20;for(var _0x2e67da=_0x460330>0x1?void 0x0:_0x460330?Ei(_0x352b72,_0x274db8):_0x352b72,_0x34e01f=_0x53a415[_0x4cdead(0x23a)]-0x1,_0x56add5;_0x34e01f>=0x0;_0x34e01f--)(_0x56add5=_0x53a415[_0x34e01f])&&(_0x2e67da=_0x56add5(_0x2e67da)||_0x2e67da);return _0x2e67da;},w=(_0x2c5abd,_0x990a36)=>(_0x11123b,_0x1f9316)=>_0x990a36(_0x11123b,_0x1f9316,_0x2c5abd),Ve=(_0x2d909d=>(_0x2d909d[_0x288b20(0x4ca)]=_0x288b20(0x373),_0x2d909d[_0x288b20(0x27f)]=_0x288b20(0x3b0),_0x2d909d[_0x288b20(0x35d)]='pending',_0x2d909d['AWAITING']=_0x288b20(0x1fe),_0x2d909d['AWAITING_WITH_PENDING']=_0x288b20(0x276),_0x2d909d[_0x288b20(0x43a)]=_0x288b20(0x2b8),_0x2d909d[_0x288b20(0x52a)]=_0x288b20(0x4ad),_0x2d909d[_0x288b20(0x1fa)]=_0x288b20(0x231),_0x2d909d))(Ve||{});const Nt=0xea60;class he{constructor(_0x416fda,_0x4bfdd8,_0x4050fc,_0x867ed,_0x1c4c86,_0x16c75a,_0x4f672e,_0x3cc15c,_0x44d354){var _0x5177ad=_0x288b20;A(this,'_awaitingChangeset',null),A(this,_0x5177ad(0x234),[]),(this['unitID']=_0x416fda,this[_0x5177ad(0x2cb)]=_0x4bfdd8,this[_0x5177ad(0x1e8)]=_0x1c4c86,this[_0x5177ad(0x342)]=_0x16c75a,this['_undoRedoService']=_0x4f672e,this[_0x5177ad(0x510)]=_0x3cc15c,this[_0x5177ad(0x225)]=_0x44d354,this[_0x5177ad(0x424)]=_0x4050fc,this[_0x5177ad(0x234)]=_0x867ed);}[_0x288b20(0x486)](_0x1d469b){var _0x55cf89=_0x288b20;const _0x40185e=this[_0x55cf89(0x510)][_0x55cf89(0x33b)](this[_0x55cf89(0x1d3)]);return _0x1d469b[_0x55cf89(0x4cb)]>_0x40185e+0x1?(this[_0x55cf89(0x1e8)][_0x55cf89(0x214)]({'from':_0x40185e,'to':_0x1d469b[_0x55cf89(0x4cb)]-0x1}),!0x0):!0x1;}[_0x288b20(0x1f0)](_0x393bf8){var _0x4f7846=_0x288b20;this['_undoRedoService'][_0x4f7846(0x308)](this[_0x4f7846(0x1d3)],_0x393bf8);}[_0x288b20(0x4aa)](_0xb406d0){var _0x175d86=_0x288b20,_0x30955b,_0x6285f4;(_0x6285f4=(_0x30955b=this[_0x175d86(0x1e8)])[_0x175d86(0x1c8)])==null||_0x6285f4['call'](_0x30955b,_0xb406d0);}['_transformIMECache'](_0x14f413){var _0x274e7c=_0x288b20,_0x4346d8,_0x647cbf;return(_0x647cbf=(_0x4346d8=this[_0x274e7c(0x1e8)])['onTransformIME'])==null?void 0x0:_0x647cbf[_0x274e7c(0x4ba)](_0x4346d8,_0x14f413);}[_0x288b20(0x397)](_0x1bdab3){var _0x10a283=_0x288b20,_0x5fb9bb,_0x32535b;return(_0x32535b=(_0x5fb9bb=this['_handler'])[_0x10a283(0x3b6)])==null?void 0x0:_0x32535b[_0x10a283(0x4ba)](_0x5fb9bb,_0x1bdab3);}[_0x288b20(0x1f4)](_0x22a2cb){var _0x1a6f9c=_0x288b20,_0x2a26b4,_0x51fc39,_0x39bedc;return(_0x39bedc=(_0x51fc39=(_0x2a26b4=this['_handler'])[_0x1a6f9c(0x387)])==null?void 0x0:_0x51fc39[_0x1a6f9c(0x4ba)](_0x2a26b4,_0x22a2cb))!=null?_0x39bedc:_0x22a2cb;}[_0x288b20(0x33c)](_0x5b2bed){var _0x180b8d=_0x288b20,_0x1a8856,_0xc101ec,_0x202940;return(_0x202940=(_0xc101ec=(_0x1a8856=this[_0x180b8d(0x1e8)])[_0x180b8d(0x3ea)])==null?void 0x0:_0xc101ec['call'](_0x1a8856,_0x5b2bed))!=null?_0x202940:_0x5b2bed;}[_0x288b20(0x2e3)](_0xc819f){var _0x1dbad6=_0x288b20,_0x385ea8,_0x3938d6;if(this[_0x1dbad6(0x2cb)]===X[_0x1dbad6(0x1cf)]){const {unitID:_0x2f5e5c,mutations:_0xd9d0e8,memberID:_0x4a012d}=_0xc819f,_0x4252da=_0xd9d0e8[0x0][_0x1dbad6(0x53c)][_0x1dbad6(0x209)];Array[_0x1dbad6(0x4f3)](_0x4252da)&&_0x4252da[_0x1dbad6(0x23a)]>0x0&&((_0x3938d6=(_0x385ea8=this[_0x1dbad6(0x1e8)])[_0x1dbad6(0x309)])==null||_0x3938d6[_0x1dbad6(0x4ba)](_0x385ea8,{'unitID':_0x2f5e5c,'memberID':_0x4a012d,'textRanges':_0x4252da}));}}['_updateLocalCache'](){var _0x512b99=_0x288b20,_0x4c5111;(_0x4c5111=this[_0x512b99(0x225)])==null||_0x4c5111[_0x512b99(0x508)](this[_0x512b99(0x1d3)],this[_0x512b99(0x2cb)],this[_0x512b99(0x424)],this[_0x512b99(0x234)]);}['_getCurrentRevision'](){var _0x2ba516=_0x288b20;return this[_0x2ba516(0x510)]['getCurrentRevOfUnit'](this[_0x2ba516(0x1d3)]);}[_0x288b20(0x21a)](){var _0x46b16b=_0x288b20;this[_0x46b16b(0x510)][_0x46b16b(0x2d8)](this[_0x46b16b(0x1d3)]);}[_0x288b20(0x534)](_0x304c9c){var _0xf67591=_0x288b20,_0x3fd846;let _0x2c5bb1=this[_0xf67591(0x1f4)](_0x304c9c);_0x2c5bb1=this[_0xf67591(0x33c)](_0x2c5bb1);const _0x166cdc=a[_0xf67591(0x53b)](_0x2c5bb1['mutations'],this[_0xf67591(0x342)],{'fromCollab':!0x0});if(!_0x166cdc[_0xf67591(0x43c)])throw _0x166cdc[_0xf67591(0x3b2)]instanceof Error?_0x166cdc[_0xf67591(0x3b2)]:new Error((_0x3fd846=_0x166cdc['error'])!=null?_0x3fd846:_0xf67591(0x30a));this[_0xf67591(0x240)](_0x2c5bb1),this[_0xf67591(0x397)](_0x2c5bb1),this['_transformUndoredo'](_0x304c9c),this[_0xf67591(0x4aa)](_0x2c5bb1),this['_syncEditingCollabCursor'](_0x2c5bb1),this[_0xf67591(0x21a)]();}}exports['SyncedState']=class extends he{constructor(_0x2fa097,_0x1e1b03,_0x20f7c1,_0x5c794a,_0x5af48f,_0x36907a,_0x58f68d,_0x161d9b,_0x2c7040,_0xc10e2d){var _0x39c94=_0x288b20;super(_0x2fa097,_0x1e1b03,null,[],_0x20f7c1,_0x58f68d,_0x36907a,_0x5c794a,_0xc10e2d),A(this,'status',_0x39c94(0x3b0)),(this['_injector']=_0x5af48f,this[_0x39c94(0x484)]=_0x161d9b,this[_0x39c94(0x3cd)]=_0x2c7040,this[_0x39c94(0x522)]=_0xc10e2d);}[_0x288b20(0x4e8)](_0x43aaa2){var _0x1dfbba=_0x288b20;const _0x5ae2dd=this[_0x1dfbba(0x3b1)][_0x1dfbba(0x415)](exports[_0x1dfbba(0x472)],this['unitID'],this[_0x1dfbba(0x2cb)],[_0x43aaa2],this[_0x1dfbba(0x1e8)]);return _0x5ae2dd[_0x1dfbba(0x454)](),_0x5ae2dd['_updateLocalCache'](),_0x5ae2dd;}[_0x288b20(0x47e)](_0x364bfd){var _0x3a73f8=_0x288b20;if(this[_0x3a73f8(0x486)](_0x364bfd))return this[_0x3a73f8(0x3b1)]['createInstance'](exports[_0x3a73f8(0x2e8)],this[_0x3a73f8(0x1d3)],this[_0x3a73f8(0x2cb)],null,[],null,[_0x364bfd],this[_0x3a73f8(0x1e8)]);try{const _0x4f829b=this[_0x3a73f8(0x3cd)][_0x3a73f8(0x376)](_0x364bfd,[mi]);if(g[_0x3a73f8(0x2ca)](_0x4f829b)){const {c1Prime:_0xb801ce}=_0x4f829b;return this['_executeRemoteChangeset'](_0xb801ce),this;}throw _0x4f829b[_0x3a73f8(0x3b2)];}catch(_0x564690){return this['_logService']['error'](_0x564690),this['_onConflict'](!0x1);}}[_0x288b20(0x3a4)](_0x32fb44){var _0x3bc0fa=_0x288b20;return this[_0x3bc0fa(0x3b1)][_0x3bc0fa(0x415)](exports[_0x3bc0fa(0x45e)],this[_0x3bc0fa(0x1d3)],this[_0x3bc0fa(0x2cb)],null,[],this[_0x3bc0fa(0x1e8)],_0x32fb44);}[_0x288b20(0x1e6)](){var _0x869546=_0x288b20;throw new Error(_0x869546(0x4e0));}[_0x288b20(0x2ae)](){var _0x558b01=_0x288b20;throw new Error(_0x558b01(0x3fa));}['onRemoteRetry'](){return this;}[_0x288b20(0x4ce)](){var _0x48881b=_0x288b20;return this[_0x48881b(0x3b1)][_0x48881b(0x415)](exports[_0x48881b(0x45d)],this[_0x48881b(0x1d3)],this['type'],null,[],this['_handler']);}[_0x288b20(0x490)](){return this;}['resend'](){var _0xcaee9c=_0x288b20;throw new Error(_0xcaee9c(0x2f1));}[_0x288b20(0x395)](){var _0x55fb0b=_0x288b20;const _0x4a9610=this[_0x55fb0b(0x510)][_0x55fb0b(0x33b)](this[_0x55fb0b(0x1d3)]);return this[_0x55fb0b(0x1e8)][_0x55fb0b(0x214)]({'from':_0x4a9610,'to':0x0}),this[_0x55fb0b(0x3b1)][_0x55fb0b(0x415)](exports[_0x55fb0b(0x2e8)],this[_0x55fb0b(0x1d3)],this['type'],null,[],null,[],this[_0x55fb0b(0x1e8)]);}},exports['SyncedState']=ce([w(0x3,a[_0x288b20(0x257)](g['RevisionService'])),w(0x4,a['Inject'](a[_0x288b20(0x2a0)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x288b20(0x37a)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a['Optional'](z))],exports[_0x288b20(0x489)]),exports[_0x288b20(0x472)]=class extends he{constructor(_0x18c0fa,_0x4e9c96,_0x1d405c,_0x10b5f6,_0x5de942,_0x248421,_0x510c4d,_0x9a9486,_0x28869a,_0x7989ad,_0x261ac7,_0x3689cd,_0xd8614d,_0x34817e){var _0x4e74b6=_0x288b20;super(_0x18c0fa,_0x4e9c96,null,_0x1d405c,_0x10b5f6,_0x28869a,_0xd8614d,_0x248421,_0x34817e),A(this,_0x4e74b6(0x4e9),_0x4e74b6(0x512)),A(this,_0x4e74b6(0x2b4),null),A(this,_0x4e74b6(0x1c2),null),(this[_0x4e74b6(0x3b1)]=_0x5de942,this['_memberService']=_0x510c4d,this[_0x4e74b6(0x484)]=_0x9a9486,this[_0x4e74b6(0x268)]=_0x7989ad,this[_0x4e74b6(0x3cd)]=_0x261ac7,this[_0x4e74b6(0x4a4)]=_0x3689cd);}[_0x288b20(0x4e8)](_0x4d2313){var _0xdc2607=_0x288b20;return this[_0xdc2607(0x234)][_0xdc2607(0x328)](_0x4d2313),this['_updateLocalCache'](),this;}[_0x288b20(0x47e)](_0x30b6b2){var _0x36de5f=_0x288b20;if(this[_0x36de5f(0x486)](_0x30b6b2))return this['_clearScheduledTask'](),this[_0x36de5f(0x3b1)][_0x36de5f(0x415)](exports[_0x36de5f(0x2e8)],this[_0x36de5f(0x1d3)],this[_0x36de5f(0x2cb)],null,this['_pendingMutations'],null,[_0x30b6b2],this['_handler']);try{const _0xa535b0=this[_0x36de5f(0x3cd)][_0x36de5f(0x376)](_0x30b6b2,this[_0x36de5f(0x234)]);if(g[_0x36de5f(0x2ca)](_0xa535b0)){const {c1Prime:_0x11ca06,m2Prime:_0x1965c6}=_0xa535b0;this['_executeRemoteChangeset'](_0x11ca06);const _0x15ab08=this[_0x36de5f(0x3b1)]['createInstance'](exports[_0x36de5f(0x472)],this[_0x36de5f(0x1d3)],this[_0x36de5f(0x2cb)],_0x1965c6,this[_0x36de5f(0x1e8)]);this[_0x36de5f(0x1af)]();const _0x5ec3fc=new Date()[_0x36de5f(0x473)](),_0x347c8b=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x5ec3fc,0x0):this[_0x36de5f(0x442)]();return _0x15ab08[_0x36de5f(0x454)](_0x347c8b),_0x15ab08;}throw _0xa535b0[_0x36de5f(0x3b2)];}catch(_0xf63f74){return this['_logService'][_0x36de5f(0x3b2)](_0xf63f74),this['_onConflict'](!0x1);}}[_0x288b20(0x1e6)](){var _0x992e64=_0x288b20;throw new Error(_0x992e64(0x398));}['onRemoteRej'](){var _0x456410=_0x288b20;throw new Error(_0x456410(0x2cc));}[_0x288b20(0x339)](){return this;}[_0x288b20(0x4ce)](){var _0x403e39=_0x288b20;return this[_0x403e39(0x1af)](),this['_injector']['createInstance'](exports[_0x403e39(0x45d)],this['unitID'],this[_0x403e39(0x2cb)],null,this[_0x403e39(0x234)],this['_handler']);}['toggleOnline'](){return this;}[_0x288b20(0x454)](_0x5823ce){var _0xc26eb0=_0x288b20;const _0xec43c1=_0x5823ce!=null?_0x5823ce:this['_getSendChangesetTimeout']();this[_0xc26eb0(0x2b4)]=new Date()['getTime']()+_0xec43c1,this[_0xc26eb0(0x1c2)]=setTimeout(()=>{var _0x380b81=_0xc26eb0;this[_0x380b81(0x1af)]();let _0x1c33f8=null;switch(this[_0x380b81(0x2cb)]){case X[_0x380b81(0x517)]:{_0x1c33f8=ze(this[_0x380b81(0x234)],this['unitID'],this[_0x380b81(0x4a4)],this[_0x380b81(0x510)],this[_0x380b81(0x35a)]);break;}case X[_0x380b81(0x1cf)]:{this['_pendingMutations'][_0x380b81(0x471)](_0x2a4a2f=>_0x2a4a2f['id']===ut[_0x380b81(0x35f)]['id'])?_0x1c33f8=Ii(this[_0x380b81(0x234)],this[_0x380b81(0x1d3)],this['_univerInstanceService'],this[_0x380b81(0x510)],this[_0x380b81(0x35a)]):_0x1c33f8=ze(this[_0x380b81(0x234)],this['unitID'],this[_0x380b81(0x4a4)],this[_0x380b81(0x510)],this[_0x380b81(0x35a)]);break;}default:throw new Error(_0x380b81(0x378)+this[_0x380b81(0x2cb)]+_0x380b81(0x20f));}const {changeset:_0x292d39,pendingMutations:_0x4865e2}=_0x1c33f8;this[_0x380b81(0x1e8)][_0x380b81(0x26d)](_0x292d39);const _0x65e2cf=_0x4865e2[_0x380b81(0x23a)]?this[_0x380b81(0x3b1)][_0x380b81(0x415)](exports['AwaitingWithPendingState'],this[_0x380b81(0x1d3)],this['type'],_0x292d39,_0x4865e2,this['_handler'],void 0x0):this[_0x380b81(0x3b1)][_0x380b81(0x415)](exports[_0x380b81(0x2ef)],this[_0x380b81(0x1d3)],this[_0x380b81(0x2cb)],_0x292d39,this['_handler']);_0x65e2cf[_0x380b81(0x495)](),this[_0x380b81(0x1e8)][_0x380b81(0x33d)](this,_0x65e2cf);},_0xec43c1);}['_getSendChangesetTimeout'](){var _0x1afe79=_0x288b20,_0x301989;const _0x449ad1=this[_0x1afe79(0x268)]['getConfig'](Y);return(_0x301989=_0x449ad1==null?void 0x0:_0x449ad1[_0x1afe79(0x2dc)])!=null?_0x301989:jt;}[_0x288b20(0x429)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x288b20(0x1af)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x2c283e){var _0x2367d9=_0x288b20;return this[_0x2367d9(0x1af)](),this[_0x2367d9(0x3b1)]['createInstance'](exports[_0x2367d9(0x45e)],this[_0x2367d9(0x1d3)],this[_0x2367d9(0x2cb)],null,this['_pendingMutations'],this[_0x2367d9(0x1e8)],_0x2c283e);}},exports[_0x288b20(0x472)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x288b20(0x257)](g['RevisionService'])),w(0x6,a[_0x288b20(0x257)](exports[_0x288b20(0x366)])),w(0x7,a[_0x288b20(0x401)]),w(0x8,a['ICommandService']),w(0x9,a[_0x288b20(0x2b6)]),w(0xa,g[_0x288b20(0x1e2)]),w(0xb,a[_0x288b20(0x426)]),w(0xc,a[_0x288b20(0x30c)]),w(0xd,a[_0x288b20(0x3d7)](z))],exports[_0x288b20(0x472)]),exports['AwaitingState']=class extends he{constructor(_0x520f85,_0x4af2d5,_0x432601,_0x460653,_0x5ba75c,_0x3526df,_0x58004f,_0x5dcf9d,_0x152528,_0x919a4e,_0x2b605a){var _0xbcce01=_0x288b20;super(_0x520f85,_0x4af2d5,_0x432601,[],_0x460653,_0x58004f,_0x919a4e,_0x3526df,_0x2b605a),A(this,'status',_0xbcce01(0x1fe)),A(this,_0xbcce01(0x3b5),0x0),A(this,_0xbcce01(0x34a)),A(this,_0xbcce01(0x467)),(this[_0xbcce01(0x3b1)]=_0x5ba75c,this[_0xbcce01(0x484)]=_0x5dcf9d,this[_0xbcce01(0x3cd)]=_0x152528);}[_0x288b20(0x4e8)](_0x2d2963){var _0x31a42d=_0x288b20;this['_clearScheduledTask']();const _0x5352b8=this['_injector'][_0x31a42d(0x415)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x31a42d(0x2cb)],this[_0x31a42d(0x424)],[_0x2d2963],this[_0x31a42d(0x1e8)],this[_0x31a42d(0x34a)]);return _0x5352b8['_updateLocalCache'](),_0x5352b8;}[_0x288b20(0x47e)](_0x312bb5){var _0x153836=_0x288b20;if(this[_0x153836(0x486)](_0x312bb5))return this[_0x153836(0x1af)](),this[_0x153836(0x3b1)]['createInstance'](exports[_0x153836(0x2e8)],this['unitID'],this[_0x153836(0x2cb)],this['_awaitingChangeset'],[],null,[_0x312bb5],this[_0x153836(0x1e8)]);try{const _0x2508ce=this['_transformService'][_0x153836(0x46a)]([_0x312bb5],[this[_0x153836(0x424)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x2508ce)){const {c1Prime:_0x5b1599,c2Prime:_0x4e9d5f}=_0x2508ce;this[_0x153836(0x534)](_0x5b1599[0x0]),_0x4e9d5f[0x0][_0x153836(0x1d1)]=this[_0x153836(0x250)](),this[_0x153836(0x1af)]();const _0x4f93a6=this[_0x153836(0x3b1)]['createInstance'](exports[_0x153836(0x2ef)],this[_0x153836(0x1d3)],this['type'],_0x4e9d5f[0x0],this['_handler']);return _0x4f93a6[_0x153836(0x495)](),_0x4f93a6;}return this[_0x153836(0x3a4)](!0x1);}catch(_0x2283bb){return this['_logService']['error'](_0x2283bb),this[_0x153836(0x3a4)](!0x1);}}[_0x288b20(0x1e6)](_0x1a4621){var _0x2c18a0=_0x288b20;this[_0x2c18a0(0x1af)]();const _0x15fd25=this[_0x2c18a0(0x510)]['getCurrentRevOfUnit'](this[_0x2c18a0(0x1d3)]);if(_0x1a4621['revision']<_0x15fd25-0x1)return this;if(this[_0x2c18a0(0x486)](_0x1a4621))return this[_0x2c18a0(0x3b1)][_0x2c18a0(0x415)](exports[_0x2c18a0(0x2e8)],this[_0x2c18a0(0x1d3)],this[_0x2c18a0(0x2cb)],null,[],this[_0x2c18a0(0x424)],[],this[_0x2c18a0(0x1e8)]);this[_0x2c18a0(0x21a)]();const _0x4b72f2=this[_0x2c18a0(0x3b1)][_0x2c18a0(0x415)](exports[_0x2c18a0(0x489)],this[_0x2c18a0(0x1d3)],this['type'],this[_0x2c18a0(0x1e8)]);return _0x4b72f2[_0x2c18a0(0x495)](),_0x4b72f2;}['onRemoteRej'](_0x1b2ab2){var _0x11e55b=_0x288b20;return this[_0x11e55b(0x3a4)](!!(_0x1b2ab2!=null&&_0x1b2ab2['isPermissionRej']));}[_0x288b20(0x339)](_0x529d15){var _0xa86db7=_0x288b20;return this[_0xa86db7(0x3b5)]>Nt?this[_0xa86db7(0x4ce)]():(this[_0xa86db7(0x34a)]=yt(this[_0xa86db7(0x3b5)],{'timeout':this[_0xa86db7(0x3b5)],'reqId':_0x529d15[_0xa86db7(0x2e6)]}),this['_sender']=this[_0xa86db7(0x34a)]['subscribe'](({reqId:_0x5a1142,timeout:_0x13ef8b})=>{var _0x172944=_0xa86db7;this[_0x172944(0x207)](_0x5a1142,_0x13ef8b);}),this);}['toggleOffline'](){var _0x3e4a20=_0x288b20;return this['_clearScheduledTask'](),this['_injector'][_0x3e4a20(0x415)](exports['OfflineState'],this['unitID'],this[_0x3e4a20(0x2cb)],this[_0x3e4a20(0x424)],[],this[_0x3e4a20(0x1e8)]);}['toggleOnline'](){return this;}[_0x288b20(0x429)](){var _0x2bee59=_0x288b20;this[_0x2bee59(0x1e8)][_0x2bee59(0x26d)](this[_0x2bee59(0x424)]);}[_0x288b20(0x3a4)](_0x33e5e1){var _0x48bbb0=_0x288b20;return this['_clearScheduledTask'](),this[_0x48bbb0(0x3b1)]['createInstance'](exports[_0x48bbb0(0x45e)],this['unitID'],this[_0x48bbb0(0x2cb)],this[_0x48bbb0(0x424)],[],this[_0x48bbb0(0x1e8)],_0x33e5e1);}[_0x288b20(0x207)](_0x11cd35,_0x3f5ea0){var _0x571a96=_0x288b20,_0x17aedc;_0x11cd35===((_0x17aedc=this[_0x571a96(0x424)])==null?void 0x0:_0x17aedc[_0x571a96(0x2e6)])&&(this[_0x571a96(0x429)](),this[_0x571a96(0x3b5)]=_0x3f5ea0===0x0?0x3e8:_0x3f5ea0*0x2);}['_clearScheduledTask'](){var _0x3ce554=_0x288b20,_0x763a03;(_0x763a03=this[_0x3ce554(0x467)])==null||_0x763a03[_0x3ce554(0x407)](),this[_0x3ce554(0x3b5)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x288b20(0x257)](a['Injector'])),w(0x5,a['Inject'](g[_0x288b20(0x2b2)])),w(0x6,a[_0x288b20(0x37a)]),w(0x7,a['ILogService']),w(0x8,g[_0x288b20(0x1e2)]),w(0x9,a[_0x288b20(0x30c)]),w(0xa,a[_0x288b20(0x3d7)](z))],exports[_0x288b20(0x2ef)]),exports[_0x288b20(0x226)]=class extends he{constructor(_0x4225eb,_0x4dca56,_0x1dcb78,_0x361a2e,_0x614547,_0x207653,_0x1dbb7a,_0x35193a,_0x4728f1,_0x55ce39,_0x34cdf6,_0x8584a0,_0x4c38d2){var _0x54cd7e=_0x288b20;super(_0x4225eb,_0x4dca56,_0x1dcb78,_0x361a2e,_0x614547,_0x4728f1,_0x8584a0,_0x35193a,_0x4c38d2),A(this,_0x54cd7e(0x4e9),'awaiting_with_pending'),A(this,_0x54cd7e(0x3b5),0x0),A(this,_0x54cd7e(0x34a)),A(this,_0x54cd7e(0x467)),(this[_0x54cd7e(0x3b1)]=_0x1dbb7a,this[_0x54cd7e(0x484)]=_0x55ce39,this[_0x54cd7e(0x3cd)]=_0x34cdf6,this[_0x54cd7e(0x522)]=_0x4c38d2,_0x207653&&(this[_0x54cd7e(0x34a)]=_0x207653,this[_0x54cd7e(0x467)]=this[_0x54cd7e(0x34a)][_0x54cd7e(0x405)](({reqId:_0x703983,timeout:_0x4062c3})=>{var _0x14f021=_0x54cd7e;this[_0x14f021(0x207)](_0x703983,_0x4062c3);})));}[_0x288b20(0x4e8)](_0x2dfb14){var _0x2fbf7f=_0x288b20;return this[_0x2fbf7f(0x234)][_0x2fbf7f(0x328)](_0x2dfb14),this;}[_0x288b20(0x47e)](_0x32461d){var _0x45e33f=_0x288b20;if(this['_checkMissing'](_0x32461d))return this[_0x45e33f(0x1af)](),this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x45e33f(0x1d3)],this['type'],this['_awaitingChangeset'],this[_0x45e33f(0x234)],null,[_0x32461d],this[_0x45e33f(0x1e8)]);try{const _0x83d07f=this[_0x45e33f(0x3cd)][_0x45e33f(0x46a)]([_0x32461d],[this[_0x45e33f(0x424)]],!0x1);if(g[_0x45e33f(0x43e)](_0x83d07f)){const {c1Prime:_0x16b66c,c2Prime:_0xcbf3c8}=_0x83d07f,_0x5cd18f=this[_0x45e33f(0x3cd)]['transformMutationsWithChangeset'](_0x16b66c[0x0],this[_0x45e33f(0x234)]);if(g[_0x45e33f(0x2ca)](_0x5cd18f)){const {c1Prime:_0xbc75e5,m2Prime:_0x1f3de9}=_0x5cd18f;return this[_0x45e33f(0x534)](_0xbc75e5),_0xcbf3c8[0x0]['baseRev']=this[_0x45e33f(0x250)](),this['_clearScheduledTask'](),this[_0x45e33f(0x3b1)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this['type'],_0xcbf3c8[0x0],_0x1f3de9,this['_handler'],void 0x0);}throw _0x5cd18f[_0x45e33f(0x3b2)];}throw _0x83d07f['error'];}catch(_0x2e36cf){return this[_0x45e33f(0x484)][_0x45e33f(0x3b2)](_0x2e36cf),this['_onConflict'](!0x1);}}[_0x288b20(0x1e6)](_0x2b38ee){var _0x3bf821=_0x288b20;if(this[_0x3bf821(0x1af)](),this[_0x3bf821(0x486)](_0x2b38ee))return this[_0x3bf821(0x3b1)][_0x3bf821(0x415)](exports[_0x3bf821(0x2e8)],this[_0x3bf821(0x1d3)],this[_0x3bf821(0x2cb)],null,this[_0x3bf821(0x234)],this[_0x3bf821(0x424)],[],this[_0x3bf821(0x1e8)]);this['_incrementRevisionNumber']();const _0x48e58c=this[_0x3bf821(0x3b1)][_0x3bf821(0x415)](exports[_0x3bf821(0x472)],this[_0x3bf821(0x1d3)],this[_0x3bf821(0x2cb)],this[_0x3bf821(0x234)],this[_0x3bf821(0x1e8)]);return _0x48e58c['_schedule'](),_0x48e58c[_0x3bf821(0x495)](),_0x48e58c;}[_0x288b20(0x2ae)](_0x16b6a2){var _0x46ddb6=_0x288b20;return this[_0x46ddb6(0x3a4)](!!(_0x16b6a2!=null&&_0x16b6a2[_0x46ddb6(0x3f3)]));}[_0x288b20(0x339)](_0x34a3a2){var _0x357669=_0x288b20;return this[_0x357669(0x3b5)]>Nt?this[_0x357669(0x4ce)]():(this[_0x357669(0x34a)]=yt(this[_0x357669(0x3b5)],{'timeout':this['_resendTimeout'],'reqId':_0x34a3a2['reqId']}),this[_0x357669(0x467)]=this[_0x357669(0x34a)][_0x357669(0x405)](({reqId:_0x4f8697,timeout:_0x440705})=>{this['_resendWithTimeout'](_0x4f8697,_0x440705);}),this);}[_0x288b20(0x4ce)](){var _0x291521=_0x288b20;return this[_0x291521(0x1af)](),this[_0x291521(0x3b1)][_0x291521(0x415)](exports[_0x291521(0x45d)],this['unitID'],this[_0x291521(0x2cb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x288b20(0x429)](){var _0x3f4e6a=_0x288b20;this[_0x3f4e6a(0x1e8)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x288b20(0x3a4)](_0x144289){var _0x3a9189=_0x288b20;return this[_0x3a9189(0x1af)](),this[_0x3a9189(0x3b1)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x3a9189(0x2cb)],null,this[_0x3a9189(0x234)],this['_handler'],_0x144289);}[_0x288b20(0x207)](_0x260afe,_0x225ca7){var _0x4cac15=_0x288b20,_0x373f52;_0x260afe===((_0x373f52=this[_0x4cac15(0x424)])==null?void 0x0:_0x373f52[_0x4cac15(0x2e6)])&&(this[_0x4cac15(0x429)](),this[_0x4cac15(0x3b5)]=_0x225ca7===0x0?0x3e8:_0x225ca7*0x2);}['_clearScheduledTask'](){var _0x450d8f=_0x288b20,_0x344e36;(_0x344e36=this['_sender'])==null||_0x344e36[_0x450d8f(0x407)](),this[_0x450d8f(0x3b5)]=0x0;}},exports[_0x288b20(0x226)]=ce([w(0x6,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),w(0x7,a[_0x288b20(0x257)](g[_0x288b20(0x2b2)])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,g[_0x288b20(0x1e2)]),w(0xb,a[_0x288b20(0x30c)]),w(0xc,a['Optional'](z))],exports[_0x288b20(0x226)]),exports[_0x288b20(0x45e)]=class extends he{constructor(_0x6139cd,_0xece83b,_0x321b2f,_0x5a1c38,_0x2c4463,_0x3b700e=!0x1,_0x105616,_0x5bde48,_0x460957,_0x26a679,_0x40ad67,_0x2dc847,_0x45802b){var _0x5f4dd0=_0x288b20;super(_0x6139cd,_0xece83b,_0x321b2f,_0x5a1c38,_0x2c4463,_0x5bde48,_0x460957,_0x26a679,_0x45802b),A(this,_0x5f4dd0(0x4e9),_0x5f4dd0(0x4ad)),(this[_0x5f4dd0(0x338)]=_0x3b700e,this[_0x5f4dd0(0x4b6)]=_0x105616,this[_0x5f4dd0(0x4a8)]=_0x40ad67,this[_0x5f4dd0(0x41f)]=_0x2dc847,this[_0x5f4dd0(0x522)]=_0x45802b,this['_showConflictNotification'](),this[_0x5f4dd0(0x3f5)](),this[_0x5f4dd0(0x27a)]());}[_0x288b20(0x4e8)](){return this;}[_0x288b20(0x47e)](){return this;}[_0x288b20(0x1e6)](){return this;}[_0x288b20(0x2ae)](){return this;}['onRemoteRetry'](){return this;}[_0x288b20(0x4ce)](){return this;}[_0x288b20(0x490)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1e8486=_0x288b20,_0x56aa27;(_0x56aa27=this['_localCacheService'])==null||_0x56aa27['updateOfflineData'](this[_0x1e8486(0x1d3)],this[_0x1e8486(0x2cb)],null,[]);}['_showConflictNotification'](){var _0x18090c=_0x288b20;this[_0x18090c(0x338)]?this[_0x18090c(0x41f)]['emitEvent']({'id':Q[_0x18090c(0x509)]}):this[_0x18090c(0x41f)]['emitEvent']({'id':Q[_0x18090c(0x52a)]});}[_0x288b20(0x27a)](){var _0x4dc4f3=_0x288b20;this['_permissionService']['updatePermissionPoint'](new Z[(_0x4dc4f3(0x311))](this['unitID'])['id'],!0x1);}},exports[_0x288b20(0x45e)]=ce([w(0x6,a[_0x288b20(0x257)](a[_0x288b20(0x409)])),w(0x7,a['ICommandService']),w(0x8,a[_0x288b20(0x30c)]),w(0x9,a[_0x288b20(0x257)](g['RevisionService'])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x288b20(0x257)](te)),w(0xc,a[_0x288b20(0x3d7)](z))],exports[_0x288b20(0x45e)]),exports[_0x288b20(0x45d)]=class extends he{constructor(_0x26d0fb,_0x31c4e7,_0x2df18e,_0x4517d7,_0x51cccf,_0xb92aad,_0x701a09,_0x4c327b,_0x311627,_0x13e941){var _0x4a0a4e=_0x288b20;super(_0x26d0fb,_0x31c4e7,_0x2df18e,_0x4517d7,_0x51cccf,_0x4c327b,_0x311627,_0x701a09,_0x13e941),A(this,'status',_0x4a0a4e(0x231)),this[_0x4a0a4e(0x3b1)]=_0xb92aad;}[_0x288b20(0x4e8)](_0x53d115){var _0x30504f=_0x288b20;return this[_0x30504f(0x234)][_0x30504f(0x328)](_0x53d115),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x39726a){var _0x22c2e8=_0x288b20;throw new Error(_0x22c2e8(0x519));}[_0x288b20(0x1e6)](){var _0x2d8e9a=_0x288b20;throw new Error(_0x2d8e9a(0x4b1));}[_0x288b20(0x2ae)](){var _0x5949dc=_0x288b20;throw new Error(_0x5949dc(0x26f));}[_0x288b20(0x339)](){return this;}[_0x288b20(0x4ce)](){return this;}['toggleOnline'](){var _0x48faf8=_0x288b20;const {_injector:_0x50263d,_pendingMutations:_0x38368c,_awaitingChangeset:_0xe0e53e,unitID:_0x5e12d3,_handler:_0x563e22,type:_0x2eb674}=this,_0x49c6aa=Ut(_0x50263d,_0x5e12d3,_0x2eb674,_0xe0e53e,_0x38368c,_0x563e22);return _0x49c6aa instanceof exports[_0x48faf8(0x472)]?_0x49c6aa[_0x48faf8(0x454)]():(_0x49c6aa instanceof exports[_0x48faf8(0x226)]||_0x49c6aa instanceof exports[_0x48faf8(0x2ef)])&&_0x49c6aa['resend'](),_0x49c6aa;}['resend'](){var _0x301ad5=_0x288b20;throw new Error(_0x301ad5(0x2f8));}},exports[_0x288b20(0x45d)]=ce([w(0x5,a['Inject'](a[_0x288b20(0x2a0)])),w(0x6,a[_0x288b20(0x257)](g['RevisionService'])),w(0x7,a[_0x288b20(0x37a)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x288b20(0x2e8)]=class extends he{constructor(_0x31c4fd,_0x47d69f,_0xa731f8,_0x5635fc,_0x710eb8,_0xaddf18,_0x1139fb,_0x3981be,_0x3ab051,_0x32f0af,_0xef3f4e,_0x31119a,_0x32d354,_0x572601){var _0x665cbc=_0x288b20;super(_0x31c4fd,_0x47d69f,_0xa731f8,_0x5635fc,_0x1139fb,_0xef3f4e,_0x31119a,_0x3ab051,_0x572601),A(this,'status','fetch_missing'),(this[_0x665cbc(0x219)]=_0x710eb8,this['_queuedRemoteChangesets']=_0xaddf18,this[_0x665cbc(0x3b1)]=_0x3981be,this[_0x665cbc(0x484)]=_0x32f0af,this[_0x665cbc(0x3cd)]=_0x32d354,this[_0x665cbc(0x522)]=_0x572601);}[_0x288b20(0x334)](_0x4a46ef){var _0x243a28=_0x288b20;try{const _0x44786f=[..._0x4a46ef,...this[_0x243a28(0x29e)]],_0x103b82=[this[_0x243a28(0x424)]||this['_acknowledgedAwaitingChangeset']][_0x243a28(0x4de)](_0x1e2ffa=>!!_0x1e2ffa);let _0x4ef17b,_0x26cc4b;if(_0x103b82[_0x243a28(0x23a)]){const _0x270517=this[_0x243a28(0x3cd)][_0x243a28(0x46a)](_0x44786f,_0x103b82,!0x1);if(!g[_0x243a28(0x43e)](_0x270517))throw _0x270517[_0x243a28(0x3b2)];_0x4ef17b=_0x270517[_0x243a28(0x52b)],_0x26cc4b=_0x270517[_0x243a28(0x3b4)];}else _0x4ef17b=_0x44786f,_0x26cc4b=[];let _0x1d922b=this[_0x243a28(0x234)];_0x4ef17b['forEach'](_0xa5aea6=>{var _0x48484f=_0x243a28;let _0x1e1ecf;if(_0x1d922b[_0x48484f(0x23a)]){const _0x32b896=this[_0x48484f(0x3cd)][_0x48484f(0x376)](_0xa5aea6,_0x1d922b);if(!g[_0x48484f(0x2ca)](_0x32b896))throw _0x32b896[_0x48484f(0x3b2)];_0x1e1ecf=_0x32b896[_0x48484f(0x52b)],_0x1d922b=_0x32b896['m2Prime'];}else _0x1e1ecf=_0xa5aea6;this[_0x48484f(0x534)](_0x1e1ecf);}),this[_0x243a28(0x219)]&&this['_incrementRevisionNumber'](),this[_0x243a28(0x424)]&&_0x26cc4b[_0x243a28(0x23a)]&&(_0x26cc4b[0x0][_0x243a28(0x1d1)]=this['_getCurrentRevision']());let _0x3c6d65;if(this['_awaitingChangeset']&&_0x1d922b['length']!==0x0)_0x3c6d65=this[_0x243a28(0x3b1)][_0x243a28(0x415)](exports[_0x243a28(0x226)],this[_0x243a28(0x1d3)],this[_0x243a28(0x2cb)],_0x26cc4b[0x0],_0x1d922b,this[_0x243a28(0x1e8)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1d922b[_0x243a28(0x23a)]===0x0)_0x26cc4b[0x0][_0x243a28(0x1d1)]=this[_0x243a28(0x250)](),_0x3c6d65=this[_0x243a28(0x3b1)][_0x243a28(0x415)](exports['AwaitingState'],this['unitID'],this[_0x243a28(0x2cb)],_0x26cc4b[0x0],this['_handler']);else{if(_0x1d922b[_0x243a28(0x23a)]!==0x0){const _0xcb2c6=this[_0x243a28(0x3b1)]['createInstance'](exports[_0x243a28(0x472)],this[_0x243a28(0x1d3)],this[_0x243a28(0x2cb)],_0x1d922b,this[_0x243a28(0x1e8)]);_0xcb2c6[_0x243a28(0x454)](),_0x3c6d65=_0xcb2c6;}else _0x3c6d65=this[_0x243a28(0x3b1)]['createInstance'](exports[_0x243a28(0x489)],this[_0x243a28(0x1d3)],this['type'],this[_0x243a28(0x1e8)]);}}return _0x3c6d65[_0x243a28(0x495)](),_0x3c6d65;}catch(_0x12c401){return this[_0x243a28(0x484)][_0x243a28(0x3b2)](_0x243a28(0x365),_0x243a28(0x2bd),_0x12c401),this[_0x243a28(0x3b1)][_0x243a28(0x415)](exports[_0x243a28(0x45e)],this[_0x243a28(0x1d3)],this[_0x243a28(0x2cb)],this[_0x243a28(0x424)],this[_0x243a28(0x234)],this[_0x243a28(0x1e8)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x159c2a){var _0x5313c4=_0x288b20;return this[_0x5313c4(0x234)][_0x5313c4(0x328)](_0x159c2a),this;}[_0x288b20(0x47e)](_0x5bf222){var _0x2caf40=_0x288b20;return this['_queuedRemoteChangesets'][_0x2caf40(0x328)](_0x5bf222),this;}[_0x288b20(0x1e6)](_0x49d308){var _0x516ab2=_0x288b20;if(this[_0x516ab2(0x424)])return this[_0x516ab2(0x219)]=this[_0x516ab2(0x424)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x288b20(0x2ae)](_0x5acb66){var _0x53ae12=_0x288b20;return this[_0x53ae12(0x3a4)](!!(_0x5acb66!=null&&_0x5acb66[_0x53ae12(0x3f3)]));}[_0x288b20(0x339)](){return this;}[_0x288b20(0x4ce)](){var _0x471486=_0x288b20;return this[_0x471486(0x3b1)]['createInstance'](exports[_0x471486(0x45d)],this[_0x471486(0x1d3)],this[_0x471486(0x2cb)],this[_0x471486(0x424)],this['_pendingMutations'],this['_handler']);}[_0x288b20(0x490)](){return this;}['_onConflict'](_0x3e3bcc){var _0x33797c=_0x288b20;return this[_0x33797c(0x3b1)][_0x33797c(0x415)](exports[_0x33797c(0x45e)],this[_0x33797c(0x1d3)],this[_0x33797c(0x2cb)],this[_0x33797c(0x424)],this[_0x33797c(0x234)],this[_0x33797c(0x1e8)],_0x3e3bcc);}},exports[_0x288b20(0x2e8)]=ce([w(0x7,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),w(0x8,a['Inject'](g[_0x288b20(0x2b2)])),w(0x9,a[_0x288b20(0x401)]),w(0xa,a['ICommandService']),w(0xb,a[_0x288b20(0x30c)]),w(0xc,g[_0x288b20(0x1e2)]),w(0xd,a[_0x288b20(0x3d7)](z))],exports[_0x288b20(0x2e8)]);function Ut(_0x14bd6a,_0x3bc9c2,_0x1dfbe1,_0x17e97f,_0x4170b5,_0x30bc0d){var _0x7687da=_0x288b20;return _0x17e97f&&_0x4170b5[_0x7687da(0x23a)]?_0x14bd6a['createInstance'](exports[_0x7687da(0x226)],_0x3bc9c2,_0x1dfbe1,_0x17e97f,_0x4170b5,_0x30bc0d,void 0x0):_0x17e97f?_0x14bd6a[_0x7687da(0x415)](exports[_0x7687da(0x2ef)],_0x3bc9c2,_0x1dfbe1,_0x17e97f,_0x30bc0d):_0x4170b5[_0x7687da(0x23a)]?_0x14bd6a[_0x7687da(0x415)](exports[_0x7687da(0x472)],_0x3bc9c2,_0x1dfbe1,_0x4170b5,_0x30bc0d):_0x14bd6a[_0x7687da(0x415)](exports['SyncedState'],_0x3bc9c2,_0x1dfbe1,_0x30bc0d);}function _0x1c2c(){var _0xce0541=['/fetchmissing?from=','PENDING','_handlerCallback','RichTextEditingMutation','_replayCachedMutations','csAckEvent','getUnitId','ImageSourceType','_socket$','[FetchMissState]','MemberService','CollaborationController','univer-pro.collaboration-client.network-condition.service','hasher','CollaborationUIEventId','_onFetchMissResult','233760sHDqZm','entityInit$','_initRequestHeader','pluginName','_snapshotService','HttpExport','_getUndoStack','not_collab','MergeInterceptorFactory','[CollaborationUndoRedoService]','transformMutationsWithChangeset','toString','[PendingState]:\x20unhandled\x20univer\x20type:\x20','listRoles','ICommandService','_shouldReportTelemetry','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ISocketService','_retryConnectingTimer','Hasher','fetchMissingChangesets','CipherParams','_initMergeInterceptor','GLOBAL_ROOMS_CNT_EXCEEDS','finalize','UnitStatus','SheetTransformSelectionsService','onTransformRemoteChangesetByIMECache','fetching\x20missing\x20changesets\x20from\x20','Subject','JOINING','defineProperty','CollaborativeUndoRedoService','url','CompressMutationService','image/png','_waitCount','MentionType','ERROR_IMAGE','rxjs/operators','YUUMI_SUBSCRIPTION_NOT_FOUND','fetchMiss','repeat','_transformStateCache','[PendingState]:\x20received\x20acknowledgement.','removeMember','buffer','onCommandExecuted','UNKNOWN_CMD','session.join-failed','floor','SHOULD_CLOSE_CONN','_tryEnsureSocket','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','USERS_LEAVE','initWorkbookPermissionChange','_onConflict','getInterceptPoints','saveSnapshot','_DEC_XFORM_MODE','UNKNOWN_CODE','IAuthzIoService','IContextService','ERROR_IMAGE_TYPE','getCollabEntity$','BASE64','COMMENT_UPDATE','location','synced','_injector','error','mapDocumentTypeToUniverType','c2Prime','_resendTimeout','onTransformState','code','indexOf','format','_createHmacHelper','/rev/','Quantity','_onRemoteRejected','compose','objectActions','getRandomValues','_exhaustRemoteChangesetQueue','_clearCollaborationTimeoutTimer','UniverCollaborationPlugin','_toggleOnline','equals','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_compressMutationService','PERSON','COMPRESS_MUTATION_SEND','setShowComponents','SheetCollaborationEntity','getUnitStatus$','_transformService','onCommentUpdate','_commentUpdate$','post','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','avatar','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformMutationsWithChangesetFailure','connection\x20error','find','Optional','data','entries','asObservable','ISnapshotServerService','replace','prototype','_socketService','userID','_iKey','USERS_ENTER','/block/','SUBMIT_CHANGESET_TIMEOUT','_networkConditionService','FileId','authzUrl','getGlobalObject','/universer-api/comb','telemetry\x20info\x20is\x20not\x20initialized','onTransformRemoteChangesetByStateCache','USER_NOT_INVITED_CODE','YUUMI_AI_RUN_FAILED','join','IDLE','YUUMI_UNABLE_LOAD_URL','HttpImport','\x20-\x20','RETRY_CONNECTING_MAX_COUNT','isPermissionRej','copyFileMeta','_clearLocalCache','SHA1','compute','UPDATE_PERMISSION_OBJ','2159914RacWjW','[SyncedState]:\x20received\x20rejection.','@univerjs/docs','_rescheduleHeartbeat','changesets','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SNAPSHOT_INVALID_SNAPSHOT','getValue','ILogService','collaMsg','CollaborationSession','SOCKET_FAILED','subscribe','CHANGESET_REVISION_CONFILICT','unsubscribe','createCollaborator','IPermissionService','reset','SetSelectionsOperation','pipe','UNIVER_PROJECT','Utf8','ws://127.0.0.1:8000/universer-api/comb/connect','_keyPriorReset','close$','socket\x20open.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','enableOfflineEditing','createInstance','_roomCreated$','objectType','dispose','Plugin','subject','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','create','LOCAL_CACHE_INTERVAL','_onRecvEvent','_collaborationUIEventService','merge','BehaviorSubject','collabSubmitChangesetUrl','update','_awaitingChangeset','Base64','IUniverInstanceService','msCrypto','_telemetryInfo','resend','_unlockTransition','_submitChangeset','AuthzIoHttpService','splice','executeCommand','getAllMembers','map','_unitID','ENSURE_SNAPSHOT_EXECUTION','selections','session.room-full','duration','_sendHeartbeat','saveChangeset','_transitionLocked','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','FETCH_MISS','_socket','result','Cipher','isTransformChangesetsSuccess','CHANGESET_SHOULD_RETRY','_onRemoteRetry','encode','_getSendChangesetTimeout','Error\x20on\x20receiving\x20event','decryptBlock','addImageSourceCache','FAIL','onLocalMutation','LIVESHARE_FETCH_OPERATIONS','getUnitType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','startsWith','then','univer-pro.collaboration-client.single-active-unit-service','SerializableCipher','[CollaborationSession]','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','COMPLETION_FINISHED','/allowed','getCollabEntity','_schedule','YUUMI_ALL_TABLES_IS_INVALID','socketService','SOCKET_FAILED_RETRY','LIVESHARE_OPERATION','_iv','routeKey','getTypeOfUnitAdded$','parseProtocolChangeset','OfflineState','ConflictState','_createHandler','InsertSheetMutation','SUBMIT_CHANGESET','?size=','auth.needGotoLoginAlert','Module','createEncryptor','_loadSheet','_sender','readAsDataURL','getLocalCacheKey','transformChangesets','_imageSourceCache','ILocalCacheService','_doCryptBlock','_throwTelemetryCollaborationNewChangeset','[CollaborationSessionService]','PY_RUNTIME_SCRIPT_ERROR','every','PendingState','getTime','decrypt','resourceIDs','roomInfos','CONNECTOR_DATA_TOO_LARGE','session','next','_onJoinRoomEvent','OpenSSL','requestParams','resolve','onRemoteChangeset','_sessions','unknown','_telemetryService','_collaborationTimeoutTimer','createDecryptor','_logService','x-univer-host','_checkMissing','JOIN_ROOM_PERMISSION_DENIED','string','SyncedState','mergeOverrideWithDependencies','_transformStack','requireSession','NO_OTHER_CLIENTS_EDITING','_onOffline','registerDependencies','toggleOnline','_startTelemetryCollaborationNewChangeset','enc','charCodeAt','SNAPSHOT_HAS_BEEN_REMOVED','_updateLocalCache','HEARTBEAT','/universer-api/uniscript','has','_substituteRedoStack','patch','loadSheet','state','enableAuthServer','memberID','_parse','_onConnectionOpen','HMAC','function','range','_univerInstanceService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','shouldCloseConn','PasswordBasedCipher','_localeService','_xformMode','_transformSelections','loginUrlKey','SnapshotServerOverHTTPService','conflict','_sessionStatus$','__creator','UNIVER_SLIDE','[OfflineState]:\x20received\x20acknowledgement.','ERROR_EXCEED_SIZE','snapshot','LocaleService','LOCAL_CACHE_INTERVAL_KEY','_permissionService','submit\x20changeset\x20error!','getMember','_collaborationPaused','call','_decreaseWaiting','EMAIL_HAS_BEEN_BOUND','words','_reverseMap','{fileID}','SEND_CHANGESET_TIMEOUT_KEY','TOO_MANY_REQUESTS','formatter','reduce','ONLINE','localeService','delete','CommentService','HTTPService','salt','NOT_COLLAB','revision','ivSize','SNAPSHOT_URL_KEY','toggleOffline','headers','_doCreateSocket','_sheetTransformSelectionsService','UserManagerService','_removeRoom','OTHER_CLIENTS_EDITING','execute','_onRemoteChangeset','rev','parseChangesetToProtocol','onload','ITelemetryService','INVITE_CODE_ALREADY_BOUND','randomUUID','getCurrentUser','filter','fetchThroughInterceptors','[SyncedState]:\x20received\x20acknowledgement.','Failed\x20to\x20update\x20permission\x20point','image/jpg','now','updatePermissionObjEvent','collaboratorID','slice','_type','appendMutation','status','subUnitId','/universer-api/file/{fileID}/sign-url','take','NoPadding','commentUpdateEvent','/new_changes','crypto','pauseCollaboration','batchAllowed','isArray','putCollaborators','getImageSourceCache','key','getSheetBlock','stringify','reconnect','UNISCRIPT_RUN','message$','getCurrentSelections','_entities','UniverCollaborationClientPlugin','Base','APPLY_PERMISSION_DENIED','randomBytes','AUTHZ_URL_KEY','3807783WVYcDK','reverse','from','_onCombEvent','extend','updateOfflineData','PERMISSION_DENIED','objects','updateMember','CommandType','_init','_redoStacks','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_revisionService','@univerjs-pro/license','pending','getMemberID','actions','CollaborationSocketService','min','UNIVER_SHEET','enableSingleActiveInstanceLock','[OfflineState]:\x20received\x20changeset.','waitForRoom$','INetworkConditionService','init','refreshPermission','INGEST','getSnapshotAPIPath','image/jpeg','_retryCount','localCacheService','RETRY_CONNECTING_MAX_COUNT_KEY','getRoom','_unitInfo$','liveShareNewHost','clamp','add','stopTime','CONFLICT','c1Prime','_startCollaboration','LOGIN_URL_KEY','COLLAB_SUBMIT_CHANGESET_URL_KEY','clone','abs','LICENSE_MAX_UNITS_EXCEEDED','_entityInit$','includes','_executeRemoteChangeset','_clearRetryConnectingTimer','/universer-api/oidc/authpage','readyForCollab','_replaceFileID','loadDoc','toDisposable','sequenceExecute','params','lib','UNIVER_UNKNOWN','univer-pro.collaboration-client-socket-service','updatePermissionPoint','/collaborator','ReplaySubject','_clearScheduledTask','HELLO','INTERNAL_ERROR','SNAPSHOT_SERVER_URL_KEY','_onRemoteACK','/universer-api/snapshot','/object','OPTIONAL','_append','deleteCollaborator','takeUntil','_doProcessBlock','get','unit-cache-','sessionStatus$','WECHAT_HAS_BEEN_BOUND','NEW_CHANGESETS','RECV','EmptyMutation','_sendingTimer','csRejEvent','/unit/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','WordArray','name','onTransformSelections','default','HTTPRequest','_onUserLeave','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onConnectionFailed','close','UNIVER_DOC','saveImage','baseRev','RxDisposable','unitID','emitEvent','editingUnit','error$','method','iterations','rng','YUUMI_URL_COL_OUT_OF_RANGE','getDeserializedSheetBlock','JOIN_ROOM_NOT_EXISTS','1XJZXAO','state$','_hasher','UniverNetworkPlugin','b64DecodeUnicode','ITransformService','_clearRedo','_socketReady','_getDownloadEndpointURL','onRemoteAck','editing\x20status\x20changed\x20to','_handler','_getRedoStack','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','save\x20fail\x20reason\x20is\x20','1514422VhAeHa','_listenToNetworkCondition','deepClone','mode','_transformUndoredo','toStringTag','override','_instanceService','_transformRemoteChangesetByIMECache','mutations','_clearUndo','__Key__','signUrlServerUrl','_substituteUndoStack','OFFLINE','_stopTelemetryCollaborationNewChangeset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','uniscriptRunEvent','awaiting','_changesetSessionId','allowed','dispose$','disposeWithMe','INVITE_CODE_HAS_BEEN_UES','5561576ZPwUAx','Disposable','JOIN_ROOM_FULL','_resendWithTimeout','unpad','textRanges','max','socket$','getResourcesRequest','LEAVE','LIVESHARE_REQUEST_HOST','\x20in\x20_schedule.','UPDATE_CURSOR','_onLocalMutation','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_httpService','onMissingChangesets','StreamCipher','originalMeta','_getAPIPrefix','SEND_CHANGESET_TIMEOUT','_acknowledgedAwaitingChangeset','_incrementRevisionNumber','workbook','1239640nzfPPD','[DataLoaderService]','CollaborationEvent','_tryReconnect','_clearHeartbeatTimer','_emitMembers','_socketMessageSubscription','YUUMI_NO_CUBOID_FOR_QUESTION','confirm','_localCacheService','AwaitingWithPendingState','SnapshotService','encodeURIComponent','UNRECOGNIZED','mixIn','target','MSG_FOR_ERROR','retryConnectingInterval','joinEvent','snapshotServerUrl','sin','offline','UniverInstanceType','UserProfileImg','_pendingMutations','@univerjs/network','_singleActiveUnitService','_hash','INVALID_INVITE_CODE','charAt','length','COLLAB_WEB_SOCKET_URL','/universer-api/authz','disableLocalCache','listCollaborators','_createInitialState','_transformIMECache','byteOffset','_snapshotServerService','exports','_event$','complete','apply','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','COLLAB_WEB_SOCKET_URL_KEY','session.room-cnt-exceeds','_data','/resources','pad','DocCollaborationEntity','touchDependencies','saveSheetBlock','_getCurrentRevision','DataLoaderService','@univerjs-pro/collaboration','CollaborationEntity','UNAUTHENTICATED','_getAPIPrefixPath','algo','Inject','MentionIoHttpService','HEARTBEAT_TIMEOUT','_collabSessionService','awaitingChangeset','LOGIN_FAILED','2990328dKlxjN','cfg','CollaborationStatus','_commentService','/universer-api/stream/file/upload','_status$','getUnit','registerHTTPInterceptor','eventID','_scheduleCollaborationTimeoutTimer','sid','_configService','UNDEFINED','_doReset','_createHelper','socket\x20close','onSendChangeset','collaboration_new_changeset','[OfflineState]:\x20received\x20rejection.','_members','JOIN_ROOM_FAILED','_undoStacks','_oKey','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Decryptor','awaiting_with_pending','reject','$super','CollaborationUIEventService','_disableEditing','JOIN','[CollaborationSessionService]:\x20socket\x20error','SessionStatus','objectID','SYNCED','kdf','random','setConfig','collabWebSocketUrl','getOwnPropertyDescriptor','LIVESHARE_TERMINATE','forEach','_getLoginPath','sessionStatus','_ENC_XFORM_MODE','[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.','roles','LICENSE_EXPORT_SIZE_EXCEEDED','UnitSnapshot','_state$','/object/','_nRounds','_createInitialStateImpl','Workbook','YUUMI_TABLE_NOT_FOUND_IN_UNIT','AES','ThresholdInterceptorFactory','_remoteChangesetQueue','generateRandomId','_initCloseConn','list','_prevBlock','onTransformIME','textEncoder','setCurrentUser','_queuedRemoteChangesets','set','Injector','OTHER_CLIENT_EDITING','IImageIoService','_process','clear','hasOwnProperty','HEARTBEAT_INTERVAL','processBlock','onlyLocal','open$','NOT_FOUND','FETCH_MISSING','_config','shareReplay','onRemoteRej','APPLY_DUPLICATED','image/gif','Encryptor','RevisionService','228mXznMb','_scheduleCompleteTimestamp','encrypt','IConfigService','collaborators','fetch_missing','href','_onUserJoin','_fetchMissChangesets','_onMessage','failed\x20to\x20apply\x20missed\x20changesets!','leaveEvent','UnitEmbedded','padding','_initUnitPermissionChange','findIndex','_lockTransition','CollaborationImageIoService','HmacSHA1','[CollaborationEntity]','POST','encryptBlock','uploadFileServerUrl','isTransformMutationsWithChangesetSuccess','type','[PendingState]:\x20received\x20rejection.','createIdentifier','_keySchedule','ALREADY_EXISTS','__esModule','body','_sendHeartbeatTimer','@univerjs/telemetry','_updateStatus','_getCtorByUniverType','unitInfo$','_changesetReqId','incrementRevOfUnit','_minBufferSize','BlockCipher','Undefined','sendChangesetTimeout','_HTTPService','firstValueFrom','updateCollaborator','_loadDoc','downloadEndpointUrl','getConfig','_syncEditingCollabCursor','getUnitOnRev','members$','reqId','send','FetchingMissState','?url=','parse','infoRsp','m2Prime','PSEUDO_FETCH_MISSING_RESULT','Tools','AwaitingState','ISingleActiveUnitService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','SheetsSelectionsService','blockSize','\x0aCurrent:\x20','_createSocket','_updateState','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','&assign=','CHANGESET_REJ','transformSelections','toLowerCase','CHANGESET_ACK','/universer-api/user/session-ticket','ceil','LIVESHARE_NEW_HOST','PERMISSION_REJ','getWorkbookSelections','APPLY_REVISION_CONFILICT','interceptor','getTypeOfUnitDisposed$','_collaborationSessionService','hostname','transformUndoRedo','onSyncEditingCollabCursor','[CollaborationState]:\x20apply\x20error!','&to=','IUndoRedoService','event$','ciphertext','unitId','_cipher','WorkbookEditablePermission','collaboration-client.local-cache-service','_userManagerService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_key','file','_joinRoom','EvpKDF','origin','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_state','concatMap','DependentOn','debug','getFocusedUnit','rxjs','LICENSE_DISTRO_REJECTED','Could\x20not\x20dynamically\x20require\x20\x22','[UniverCollaborationClientPlugin]','CollaborationSessionService','concat','byteLength','push','sigBytes','_getSignURL','APPLY_NON_SEQUENTIAL_REVISION','_mode','isInternalEditorID','_toggleOffline','INVALID_ARGUMENT','INVITE_CODE_REQUIRED','MUTATION','getImage','keySize','onMissedChangesetFetched','_change$','createSocket','IMentionIOService','_isPermissionRej','onRemoteRetry','MD5','getCurrentRevOfUnit','_transformRemoteChangesetByStateCache','onStateChange','delay','csShouldRetryEvent','CLOSE_ROOM','cmd','_commandService','loadOfflineData','_applyRemoteChangeset','online$','_invKeySchedule','readInt32LE','APPLY_REJECT','_nDataBytes','_resendTimer','_clearTimeoutTimer','_timeoutTimer','MOBILE_HAS_BEEN_BOUND','_candidateSocket','size','_roomMembers','YUUMI_RATE_OVER_LIMIT','\x20to\x20','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','YUUMI_ASYNCIO_CANCELLED','COMPRESS_MUTATION_APPLY','ImageUploadStatusType','transformStack\x20failed!','DisposableCollection','fromCharCode','_memberService','_doFinalize'];_0x1c2c=function(){return _0xce0541;};return _0x1c2c();}var Ci=Object[_0x288b20(0x284)],We=(_0x383463,_0x48126b,_0x1fcdd5,_0x47be64)=>{var _0x10d236=_0x288b20;for(var _0x418edb=_0x47be64>0x1?void 0x0:_0x47be64?Ci(_0x48126b,_0x1fcdd5):_0x48126b,_0x3f7010=_0x383463[_0x10d236(0x23a)]-0x1,_0x92e1ac;_0x3f7010>=0x0;_0x3f7010--)(_0x92e1ac=_0x383463[_0x3f7010])&&(_0x418edb=_0x92e1ac(_0x418edb)||_0x418edb);return _0x418edb;},$=(_0x3ddb21,_0x179873)=>(_0x19b559,_0x3d1b9b)=>_0x179873(_0x19b559,_0x3d1b9b,_0x3ddb21);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x21fa1e,_0x47b8c4,_0xfc61b1,_0x59dd77,_0x311e7b,_0x24492b,_0x5296f7,_0x5beac1,_0x154d30,_0x17047e,_0x15b934,_0x40c170,_0x209c8e){var _0x276566=_0x288b20;super(),A(this,'_state$',new j[(_0x276566(0x421))](null)),A(this,_0x276566(0x1de),this[_0x276566(0x28e)][_0x276566(0x3da)]()),A(this,'_state'),A(this,_0x276566(0x4b9),!0x1),A(this,_0x276566(0x1ff),''),A(this,_0x276566(0x2d7),0x0),A(this,'status$',this[_0x276566(0x1de)][_0x276566(0x40c)](j['map'](_0x37e914=>_0x37e914?_0x37e914[_0x276566(0x4e9)]:Ve[_0x276566(0x1fa)]),j[_0x276566(0x2ad)](0x1))),A(this,_0x276566(0x438),!0x1),A(this,_0x276566(0x296),[]),(this[_0x276566(0x1d3)]=_0x21fa1e,this[_0x276566(0x478)]=_0x47b8c4,this['_type']=_0xfc61b1,this[_0x276566(0x3b1)]=_0x59dd77,this['_compressMutationService']=_0x311e7b,this[_0x276566(0x4a8)]=_0x24492b,this[_0x276566(0x510)]=_0x5296f7,this['_eventService']=_0x5beac1,this[_0x276566(0x484)]=_0x154d30,this['_commandService']=_0x17047e,this['_permissionService']=_0x15b934,this[_0x276566(0x236)]=_0x40c170,this[_0x276566(0x225)]=_0x209c8e);}get[_0x288b20(0x49c)](){return this['_state'];}async[_0x288b20(0x51c)](){var _0x3dc7cc=_0x288b20;if(this[_0x3dc7cc(0x49c)])throw new Error(_0x3dc7cc(0x439));await this[_0x3dc7cc(0x50d)]();}[_0x288b20(0x4f1)](){var _0x4d3c58=_0x288b20;return this[_0x4d3c58(0x4b9)]=!0x0,a['toDisposable'](()=>{var _0x133ab9=_0x4d3c58;this[_0x133ab9(0x4b9)]=!0x1,this[_0x133ab9(0x3c1)]();});}[_0x288b20(0x447)](_0x4854c3){var _0x1ec388=_0x288b20;this[_0x1ec388(0x211)](_0x4854c3);}[_0x288b20(0x2f7)](_0x4bc7f9){var _0x4e7ed2=_0x288b20;this[_0x4e7ed2(0x31c)]=_0x4bc7f9,this[_0x4e7ed2(0x28e)][_0x4e7ed2(0x479)](_0x4bc7f9);}async[_0x288b20(0x50d)](){var _0x352112=_0x288b20,_0xb50010;this[_0x352112(0x2f7)](await this[_0x352112(0x23f)]()),this[_0x352112(0x236)]&&((_0xb50010=this[_0x352112(0x236)])==null||_0xb50010[_0x352112(0x1d5)](this['unitID']),this[_0x352112(0x202)](this[_0x352112(0x236)][_0x352112(0x3cc)](this['unitID'])[_0x352112(0x405)](_0x4ef9e2=>{var _0x745b99=_0x352112;this[_0x745b99(0x484)][_0x745b99(0x31f)](_0x745b99(0x2c6),_0x745b99(0x1e7),_0x4ef9e2),_0x4ef9e2===Fe[_0x745b99(0x4d4)]?(this['_eventService'][_0x745b99(0x1d4)]({'id':Q[_0x745b99(0x2a1)]}),this[_0x745b99(0x4b6)]['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0x745b99(0x1d3)])['id'],!0x1),this[_0x745b99(0x4b6)][_0x745b99(0x3ca)](!0x1)):(this[_0x745b99(0x4b6)][_0x745b99(0x540)](new Z[(_0x745b99(0x311))](this[_0x745b99(0x1d3)])['id'],!0x0),this[_0x745b99(0x4b6)][_0x745b99(0x3ca)](!0x0));})));let _0x19bee6=!0x1;return this['disposeWithMe'](this[_0x352112(0x478)][_0x352112(0x1bd)]['subscribe'](_0x2863bb=>{var _0x1fd67b=_0x352112;_0x2863bb===se[_0x1fd67b(0x4c4)]?this['_toggleOnline'](_0x19bee6):_0x2863bb===se[_0x1fd67b(0x1fa)]&&(_0x19bee6=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x352112(0x478)][_0x352112(0x30d)][_0x352112(0x405)](_0x1273bc=>{var _0x49de5a=_0x352112;try{switch(_0x1273bc[_0x49de5a(0x265)]){case g[_0x49de5a(0x21e)][_0x49de5a(0x1bf)]:{this[_0x49de5a(0x4d6)](g[_0x49de5a(0x45c)](_0x1273bc[_0x49de5a(0x3d8)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x1273bc[_0x49de5a(0x3d8)]);break;}case g[_0x49de5a(0x21e)][_0x49de5a(0x2fa)]:{this[_0x49de5a(0x3bd)]();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x49de5a(0x440)](_0x1273bc[_0x49de5a(0x3d8)]);break;}case g[_0x49de5a(0x21e)][_0x49de5a(0x2ed)]:{this[_0x49de5a(0x36b)](_0x1273bc[_0x49de5a(0x3d8)][_0x49de5a(0x3fd)][_0x49de5a(0x430)](_0x5d9704=>g['parseProtocolChangeset'](_0x5d9704)));break;}case g[_0x49de5a(0x21e)][_0x49de5a(0x301)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x49de5a(0x21e)][_0x49de5a(0x4fa)]:break;}}catch(_0x59fa82){throw console[_0x49de5a(0x3b2)](_0x49de5a(0x443),_0x59fa82),_0x59fa82;}})),this[_0x352112(0x31c)];}[_0x288b20(0x42a)](){var _0x492f1e=_0x288b20;this[_0x492f1e(0x438)]=!0x1;}[_0x288b20(0x2c3)](){var _0x589f74=_0x288b20;if(this['_transitionLocked'])throw new Error(_0x589f74(0x28a));this[_0x589f74(0x438)]=!0x0;}['_onLocalMutation'](_0x4f5457){var _0x3ed1f9=_0x288b20;this['_lockTransition'](),this[_0x3ed1f9(0x2f7)](this[_0x3ed1f9(0x31c)][_0x3ed1f9(0x4e8)](_0x4f5457)),this[_0x3ed1f9(0x42a)]();}['_onRemoteChangeset'](_0x45d511){var _0x15bc8f=_0x288b20;if(!(_0x45d511[_0x15bc8f(0x4cb)]<=this[_0x15bc8f(0x510)][_0x15bc8f(0x33b)](this['unitID']))){if(this[_0x15bc8f(0x4b9)]){this['_remoteChangesetQueue'][_0x15bc8f(0x328)](_0x45d511);return;}this[_0x15bc8f(0x344)](_0x45d511);}}['_exhaustRemoteChangesetQueue'](){var _0xf8338f=_0x288b20;this[_0xf8338f(0x296)][_0xf8338f(0x286)](_0x3f0ecf=>this[_0xf8338f(0x344)](_0x3f0ecf)),this[_0xf8338f(0x296)]=[];}[_0x288b20(0x344)](_0x49ab61){var _0x105e09=_0x288b20;const _0x152c71=this[_0x105e09(0x3c7)][_0x105e09(0x304)][_0x105e09(0x4df)](this[_0x105e09(0x3c7)][_0x105e09(0x304)]['getInterceptPoints']()[_0x105e09(0x355)])(_0x49ab61['mutations'],null)||_0x49ab61[_0x105e09(0x1f5)],_0x17ecaa={..._0x49ab61,'mutations':_0x152c71};this[_0x105e09(0x2c3)](),this[_0x105e09(0x2f7)](this[_0x105e09(0x31c)][_0x105e09(0x47e)](_0x17ecaa)),this['_unlockTransition']();}[_0x288b20(0x1b3)](_0x34f2e5){var _0x60ee64=_0x288b20;this[_0x60ee64(0x2c3)](),this[_0x60ee64(0x2f7)](this[_0x60ee64(0x31c)][_0x60ee64(0x1e6)](_0x34f2e5)),this[_0x60ee64(0x42a)]();}[_0x288b20(0x3bd)](_0x2bb973){var _0x3e7d84=_0x288b20;this[_0x3e7d84(0x2c3)](),this[_0x3e7d84(0x2f7)](this[_0x3e7d84(0x31c)][_0x3e7d84(0x2ae)](_0x2bb973)),this[_0x3e7d84(0x42a)]();}['_onRemoteRetry'](_0x40011c){var _0x1648f2=_0x288b20;this[_0x1648f2(0x2c3)](),this[_0x1648f2(0x2f7)](this[_0x1648f2(0x31c)]['onRemoteRetry'](_0x40011c)),this[_0x1648f2(0x42a)]();}['_onFetchMissResult'](_0x41d55e){var _0x188fac=_0x288b20;if(!(this[_0x188fac(0x31c)]instanceof exports['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3fd357=_0x41d55e[_0x188fac(0x430)](_0x235293=>{var _0x56652a=_0x188fac;const _0x2e5c73=this[_0x56652a(0x3c7)][_0x56652a(0x304)][_0x56652a(0x4df)](this['_compressMutationService'][_0x56652a(0x304)][_0x56652a(0x3a5)]()[_0x56652a(0x355)])(_0x235293['mutations'],null)||_0x235293[_0x56652a(0x1f5)];return{..._0x235293,'mutations':_0x2e5c73};});this[_0x188fac(0x2c3)](),this['_updateState'](this[_0x188fac(0x31c)][_0x188fac(0x334)](_0x3fd357)),this[_0x188fac(0x42a)]();}[_0x288b20(0x32e)](){var _0x44e150=_0x288b20;this['_lockTransition'](),this[_0x44e150(0x2f7)](this[_0x44e150(0x31c)][_0x44e150(0x4ce)]()),this[_0x44e150(0x42a)]();}[_0x288b20(0x3c4)](_0x1fde0a=!0x1){var _0x5321e1=_0x288b20;this['_lockTransition'](),this[_0x5321e1(0x2f7)](this[_0x5321e1(0x31c)][_0x5321e1(0x490)]()),this[_0x5321e1(0x42a)]();const _0x43c23d=this['_state'];_0x1fde0a&&_0x43c23d instanceof exports['SyncedState']&&(this[_0x5321e1(0x2c3)](),this['_updateState'](_0x43c23d['fetchMiss']()),this[_0x5321e1(0x42a)]());}async[_0x288b20(0x23f)](){return new Promise(_0x433b1b=>{var _0x4a3c09=_0x3744;this[_0x4a3c09(0x478)][_0x4a3c09(0x1bd)][_0x4a3c09(0x40c)](j[_0x4a3c09(0x4ec)](0x1))['subscribe'](async _0x276370=>{var _0x510b9c=_0x4a3c09;_0x433b1b(await this[_0x510b9c(0x291)](_0x276370===se[_0x510b9c(0x4c4)]));});});}['_createHandler'](){var _0x1c76f5=_0x288b20;const _0x260321=this[_0x1c76f5(0x1d3)];return{'onStateChange':(_0x30023e,_0x4d9741)=>{var _0x3a4802=_0x1c76f5;if(_0x30023e!==this[_0x3a4802(0x31c)])throw new Error(_0x3a4802(0x247)+_0x30023e[_0x3a4802(0x4e9)]+'\x0aAfter:\x20'+_0x4d9741[_0x3a4802(0x4e9)]+_0x3a4802(0x2f5)+this[_0x3a4802(0x31c)][_0x3a4802(0x4e9)]);this[_0x3a4802(0x2f7)](_0x4d9741);},'onSendChangeset':_0x454e4d=>{var _0x514db0=_0x1c76f5;_0x454e4d[_0x514db0(0x267)]||(_0x454e4d['sid']=this[_0x514db0(0x1ff)],_0x454e4d['reqId']=++this['_changesetReqId']);const _0xf250a1={'eventID':g[_0x514db0(0x21e)][_0x514db0(0x461)],'data':{'unitID':_0x454e4d[_0x514db0(0x1d3)],'unitType':this[_0x514db0(0x4e7)],'changeset':_0x454e4d,'memberID':this['session']['getMemberID']()}};this[_0x514db0(0x478)][_0x514db0(0x2e7)](_0xf250a1,this[_0x514db0(0x1d3)]);},'onMissingChangesets':({from:_0x107ca2,to:_0x3d22c8})=>{var _0x3df160=_0x1c76f5;this[_0x3df160(0x484)][_0x3df160(0x31f)]('[CollaborationEntity]',_0x3df160(0x388)+_0x107ca2+_0x3df160(0x352)+_0x3d22c8);const _0x5aefe2={'eventID':g[_0x3df160(0x21e)]['FETCH_MISSING'],'data':{'unitID':_0x260321,'unitType':this[_0x3df160(0x4e7)],'from':_0x107ca2,'to':_0x3d22c8}};this[_0x3df160(0x478)][_0x3df160(0x2e7)](_0x5aefe2,this[_0x3df160(0x1d3)]);}};}async[_0x288b20(0x291)](_0x33e198){var _0x2cb3bf=_0x288b20,_0x35d655,_0x5f1534,_0x2da1a9;const _0x59960e=await((_0x35d655=this['_localCacheService'])==null?void 0x0:_0x35d655['loadOfflineData'](this[_0x2cb3bf(0x1d3)])),_0x2c506c=(_0x5f1534=_0x59960e==null?void 0x0:_0x59960e[_0x2cb3bf(0x1f5)])!=null?_0x5f1534:[],_0x4a2529=(_0x2da1a9=_0x59960e==null?void 0x0:_0x59960e[_0x2cb3bf(0x25b)])!=null?_0x2da1a9:null,_0x2372b4=!!(_0x4a2529!=null&&_0x4a2529[_0x2cb3bf(0x267)])&&!!(_0x4a2529!=null&&_0x4a2529['reqId']);this[_0x2cb3bf(0x1ff)]=_0x2372b4?_0x4a2529[_0x2cb3bf(0x267)]:di(),this[_0x2cb3bf(0x2d7)]=_0x2372b4?_0x4a2529[_0x2cb3bf(0x2e6)]:0x0;const _0x4a6d60=this['unitID'];try{this[_0x2cb3bf(0x360)](_0x4a2529,_0x2c506c);}catch(_0x57a206){this[_0x2cb3bf(0x484)]['error'](_0x57a206);}const _0x13b29c=this['_createHandler']();if(_0x33e198){const _0x1b6192=Ut(this['_injector'],_0x4a6d60,this[_0x2cb3bf(0x4e7)],_0x4a2529,_0x2c506c,_0x13b29c);return _0x1b6192 instanceof exports['PendingState']?_0x1b6192['_schedule']():(_0x1b6192 instanceof exports['AwaitingWithPendingState']||_0x1b6192 instanceof exports[_0x2cb3bf(0x2ef)])&&_0x1b6192[_0x2cb3bf(0x429)](),_0x1b6192;}return this[_0x2cb3bf(0x3b1)]['createInstance'](exports['OfflineState'],_0x4a6d60,this[_0x2cb3bf(0x4e7)],_0x4a2529,_0x2c506c,_0x13b29c);}[_0x288b20(0x360)](_0x2a1d7e,_0xbcf4d2){var _0x24254d=_0x288b20,_0x234b13,_0x5a1bf8;const _0x2c689a=this[_0x24254d(0x3c7)]['interceptor'][_0x24254d(0x4df)](this[_0x24254d(0x3c7)][_0x24254d(0x304)]['getInterceptPoints']()[_0x24254d(0x355)]);(_0x234b13=_0x2c689a((_0x2a1d7e==null?void 0x0:_0x2a1d7e[_0x24254d(0x1f5)])||[],null))==null||_0x234b13['forEach'](_0x3e9758=>this[_0x24254d(0x342)][_0x24254d(0x42e)](_0x3e9758['id'],_0x3e9758['params'])),(_0x5a1bf8=_0x2c689a(_0xbcf4d2||[],null))==null||_0x5a1bf8[_0x24254d(0x286)](_0x2efabb=>this[_0x24254d(0x342)][_0x24254d(0x42e)](_0x2efabb['id'],_0x2efabb['params']));}},exports['CollaborationEntity']=We([$(0x3,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),$(0x4,a[_0x288b20(0x257)](g['CompressMutationService'])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x288b20(0x257)](g['RevisionService'])),$(0x7,a[_0x288b20(0x257)](te)),$(0x8,a[_0x288b20(0x401)]),$(0x9,a[_0x288b20(0x37a)]),$(0xa,a[_0x288b20(0x409)]),$(0xb,a[_0x288b20(0x3d7)](ve)),$(0xc,a['Optional'](z))],exports[_0x288b20(0x253)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x438c2d,_0x1c8e3b,_0x4613b0,_0x572010,_0x456ee1,_0x3c2a30,_0x555782,_0x3b9d10,_0x150fe1,_0x18119e,_0x444d56,_0x39c68b,_0x17d3c7){var _0x929ee4=_0x288b20;super(_0x438c2d,_0x4613b0,_0x1c8e3b,_0x572010,_0x456ee1,_0x3c2a30,_0x555782,_0x3b9d10,_0x150fe1,_0x18119e,_0x444d56,_0x39c68b,_0x17d3c7),A(this,_0x929ee4(0x35e),null),(this[_0x929ee4(0x1d3)]=_0x438c2d,this[_0x929ee4(0x2cb)]=_0x1c8e3b);}['addHandlerCallback'](_0x1b7f1a){this['_handlerCallback']=_0x1b7f1a;}[_0x288b20(0x418)](){var _0x430d94=_0x288b20;this[_0x430d94(0x35e)]=null,super[_0x430d94(0x418)]();}[_0x288b20(0x45f)](){var _0x14d490=_0x288b20;const _0x4d8c2b=super[_0x14d490(0x45f)]();return _0x4d8c2b[_0x14d490(0x29b)]=_0x3d1959=>{var _0x4b26fb=_0x14d490,_0x361476,_0x397403;return(_0x397403=(_0x361476=this[_0x4b26fb(0x35e)])==null?void 0x0:_0x361476[_0x4b26fb(0x29b)])==null?void 0x0:_0x397403['call'](_0x361476,_0x3d1959);},_0x4d8c2b[_0x14d490(0x3b6)]=_0x559a81=>{var _0x4d9cbe=_0x14d490,_0x460a42,_0x43b82f;return(_0x43b82f=(_0x460a42=this[_0x4d9cbe(0x35e)])==null?void 0x0:_0x460a42[_0x4d9cbe(0x3b6)])==null?void 0x0:_0x43b82f[_0x4d9cbe(0x4ba)](_0x460a42,_0x559a81);},_0x4d8c2b[_0x14d490(0x1c8)]=_0x292a97=>{var _0x4ebc16=_0x14d490,_0x11567f,_0x3dae03;return(_0x3dae03=(_0x11567f=this[_0x4ebc16(0x35e)])==null?void 0x0:_0x11567f[_0x4ebc16(0x1c8)])==null?void 0x0:_0x3dae03['call'](_0x11567f,_0x292a97);},_0x4d8c2b['onSyncEditingCollabCursor']=_0x3b979a=>{var _0x401af4=_0x14d490,_0x279f79,_0x29d695;return(_0x29d695=(_0x279f79=this['_handlerCallback'])==null?void 0x0:_0x279f79['onSyncEditingCollabCursor'])==null?void 0x0:_0x29d695[_0x401af4(0x4ba)](_0x279f79,_0x3b979a);},_0x4d8c2b['onTransformRemoteChangesetByIMECache']=_0x32f30d=>{var _0x21007c=_0x14d490,_0x562f39,_0x563713,_0x5aec8e;if(!((_0x562f39=this[_0x21007c(0x35e)])!=null&&_0x562f39['onTransformRemoteChangesetByIMECache']))throw new Error(_0x21007c(0x353));return(_0x5aec8e=(_0x563713=this['_handlerCallback'])==null?void 0x0:_0x563713[_0x21007c(0x387)])==null?void 0x0:_0x5aec8e[_0x21007c(0x4ba)](_0x563713,_0x32f30d);},_0x4d8c2b[_0x14d490(0x3ea)]=_0x3be6f6=>{var _0x6879d=_0x14d490,_0xd7acd5,_0x563eab,_0x50c0c9;if(!((_0xd7acd5=this['_handlerCallback'])!=null&&_0xd7acd5['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x50c0c9=(_0x563eab=this[_0x6879d(0x35e)])==null?void 0x0:_0x563eab[_0x6879d(0x3ea)])==null?void 0x0:_0x50c0c9[_0x6879d(0x4ba)](_0x563eab,_0x3be6f6);},_0x4d8c2b;}async['_init'](){var _0x2539a3=_0x288b20;const _0x2c6971=await super[_0x2539a3(0x50d)]();return this[_0x2539a3(0x202)](this[_0x2539a3(0x342)][_0x2539a3(0x39b)]((_0x454f3f,_0x295fdf)=>{var _0x2ec6ea=_0x2539a3;if(_0x454f3f[_0x2ec6ea(0x2cb)]!==a[_0x2ec6ea(0x50c)][_0x2ec6ea(0x331)]||_0x295fdf!=null&&_0x295fdf['fromCollab']||_0x295fdf!=null&&_0x295fdf[_0x2ec6ea(0x2a8)]||_0x454f3f['id']===ut[_0x2ec6ea(0x35f)]['id'])return;const _0x1a152b=_0x454f3f[_0x2ec6ea(0x53c)];if((_0x1a152b==null?void 0x0:_0x1a152b['unitId'])!==this['unitID'])return;const _0x414dc5=_0x454f3f,_0x4b5295=this[_0x2ec6ea(0x3c7)][_0x2ec6ea(0x304)]['fetchThroughInterceptors'](this[_0x2ec6ea(0x3c7)]['interceptor'][_0x2ec6ea(0x3a5)]()[_0x2ec6ea(0x3c9)])([_0x414dc5],null)||[_0x414dc5];this['_onLocalMutation'](_0x4b5295[0x0]);})),_0x2c6971;}},exports[_0x288b20(0x24d)]=We([$(0x3,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),$(0x4,a[_0x288b20(0x257)](g['CompressMutationService'])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x288b20(0x257)](g[_0x288b20(0x2b2)])),$(0x7,a[_0x288b20(0x257)](te)),$(0x8,a[_0x288b20(0x401)]),$(0x9,a[_0x288b20(0x37a)]),$(0xa,a[_0x288b20(0x409)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x288b20(0x3d7)](z))],exports[_0x288b20(0x24d)]),exports['SheetCollaborationEntity']=class extends exports[_0x288b20(0x253)]{constructor(_0x1710c1,_0x27fd13,_0xdd7010,_0x16e89d,_0x53ba99,_0x3e7c59,_0x2bd276,_0x2b2037,_0x142916,_0x3e9b6c,_0xcf9003,_0x4a301e,_0x36e19a,_0xa80a78){var _0x1d67c7=_0x288b20;super(_0x1710c1,_0xdd7010,_0x27fd13,_0x16e89d,_0x53ba99,_0x3e7c59,_0x2bd276,_0x142916,_0x3e9b6c,_0xcf9003,_0x4a301e,_0x36e19a,_0xa80a78),this[_0x1d67c7(0x1d3)]=_0x1710c1,this[_0x1d67c7(0x2cb)]=_0x27fd13,this[_0x1d67c7(0x4d1)]=_0x2b2037;}[_0x288b20(0x45f)](){var _0x47695d=_0x288b20;const _0x3cc1c7=super[_0x47695d(0x45f)]();return _0x3cc1c7[_0x47695d(0x1c8)]=_0x22cf26=>this['_sheetTransformSelectionsService'][_0x47695d(0x2fb)](_0x22cf26),_0x3cc1c7;}async[_0x288b20(0x50d)](){var _0x142955=_0x288b20;const _0x4f7bde=await super['_init']();return this[_0x142955(0x202)](this[_0x142955(0x342)][_0x142955(0x39b)]((_0x56f24a,_0x221fe4)=>{var _0x34e6ef=_0x142955;if(_0x56f24a[_0x34e6ef(0x2cb)]!==a['CommandType']['MUTATION']||_0x221fe4!=null&&_0x221fe4['fromCollab']||_0x221fe4!=null&&_0x221fe4[_0x34e6ef(0x2a8)])return;const _0x2ea518=_0x56f24a[_0x34e6ef(0x53c)];if((_0x2ea518==null?void 0x0:_0x2ea518['unitId'])!==this[_0x34e6ef(0x1d3)])return;const _0x91d53=_0x56f24a,_0x4937b1=this[_0x34e6ef(0x3c7)][_0x34e6ef(0x304)][_0x34e6ef(0x4df)](this[_0x34e6ef(0x3c7)][_0x34e6ef(0x304)][_0x34e6ef(0x3a5)]()[_0x34e6ef(0x3c9)])([_0x91d53],null)||[_0x91d53];this[_0x34e6ef(0x211)](_0x4937b1[0x0]);})),_0x4f7bde;}},exports[_0x288b20(0x3cb)]=We([$(0x3,a[_0x288b20(0x257)](a['Injector'])),$(0x4,a[_0x288b20(0x257)](g[_0x288b20(0x38e)])),$(0x5,a[_0x288b20(0x257)](a[_0x288b20(0x4b4)])),$(0x6,a[_0x288b20(0x257)](g['RevisionService'])),$(0x7,a[_0x288b20(0x257)](exports[_0x288b20(0x386)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x288b20(0x401)]),$(0xa,a[_0x288b20(0x37a)]),$(0xb,a[_0x288b20(0x409)]),$(0xc,a[_0x288b20(0x3d7)](ve)),$(0xd,a[_0x288b20(0x3d7)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x288b20(0x284)],bi=(_0x2ab5f4,_0x4b9648,_0x5def7a,_0x1e7332)=>{for(var _0x7bb2a3=_0x1e7332>0x1?void 0x0:_0x1e7332?Ti(_0x4b9648,_0x5def7a):_0x4b9648,_0x30a5ad=_0x2ab5f4['length']-0x1,_0x53a1ca;_0x30a5ad>=0x0;_0x30a5ad--)(_0x53a1ca=_0x2ab5f4[_0x30a5ad])&&(_0x7bb2a3=_0x53a1ca(_0x7bb2a3)||_0x7bb2a3);return _0x7bb2a3;},Pe=(_0x4941ee,_0x470360)=>(_0x4a6214,_0x5ead37)=>_0x470360(_0x4a6214,_0x5ead37,_0x4941ee);exports[_0x288b20(0x367)]=class extends a['RxDisposable']{constructor(_0x17bf83,_0x557435,_0x5336e7){var _0x3e3c3e=_0x288b20;super(),A(this,_0x3e3c3e(0x4fd),new Map()),A(this,_0x3e3c3e(0x532),new j[(_0x3e3c3e(0x389))]()),A(this,_0x3e3c3e(0x36d),this[_0x3e3c3e(0x532)][_0x3e3c3e(0x3da)]()),(this['_injector']=_0x17bf83,this['_collabSessionService']=_0x557435,this[_0x3e3c3e(0x4a4)]=_0x5336e7,this['_init']());}[_0x288b20(0x418)](){var _0x3f8ce0=_0x288b20;super[_0x3f8ce0(0x418)](),this[_0x3f8ce0(0x4fd)][_0x3f8ce0(0x286)](_0x3b22c1=>_0x3b22c1[_0x3f8ce0(0x418)]()),this[_0x3f8ce0(0x4fd)]['clear']();}[_0x288b20(0x453)](_0x591cf3){var _0x15c730=_0x288b20,_0x5efb9d;return(_0x5efb9d=this[_0x15c730(0x4fd)][_0x15c730(0x1bb)](_0x591cf3))!=null?_0x5efb9d:null;}[_0x288b20(0x3ac)](_0x1fb061){var _0x2acc38=_0x288b20;const _0xeed37f=this[_0x2acc38(0x453)](_0x1fb061);return _0xeed37f?j['of'](_0xeed37f):this[_0x2acc38(0x532)][_0x2acc38(0x40c)](V[_0x2acc38(0x4de)](_0x3ff6e2=>_0x3ff6e2[_0x2acc38(0x1d3)]===_0x1fb061));}[_0x288b20(0x537)](_0x33b642){var _0x2f0223=_0x288b20;return j[_0x2f0223(0x2de)](this[_0x2f0223(0x3ac)](_0x33b642)[_0x2f0223(0x40c)](V['map'](()=>{})));}[_0x288b20(0x50d)](){var _0x4178a6=_0x288b20;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4178a6(0x232)][_0x4178a6(0x517)])[_0x4178a6(0x40c)](j['takeUntil'](this[_0x4178a6(0x201)]),V[_0x4178a6(0x33e)](0x10))['subscribe'](async _0x553eff=>{var _0x5a7107=_0x4178a6;const _0x180914=_0x553eff[_0x5a7107(0x362)](),_0x49d31a=await this[_0x5a7107(0x52c)](_0x180914,X['UNIVER_SHEET']);this['_entities']['set'](_0x180914,_0x49d31a);}),this[_0x4178a6(0x4a4)]['getTypeOfUnitAdded$'](a[_0x4178a6(0x232)][_0x4178a6(0x1cf)])[_0x4178a6(0x40c)](j[_0x4178a6(0x1b9)](this[_0x4178a6(0x201)]),V[_0x4178a6(0x33e)](0x10))[_0x4178a6(0x40c)](V[_0x4178a6(0x4de)](_0x5c67af=>!_0x5c67af[_0x4178a6(0x362)]()[_0x4178a6(0x44b)]('__')))[_0x4178a6(0x405)](async _0x1b4e1a=>{var _0x221b42=_0x4178a6;const _0x5b50f3=_0x1b4e1a['getUnitId'](),_0x3e06d5=await this['_startCollaboration'](_0x5b50f3,X[_0x221b42(0x1cf)]);this[_0x221b42(0x4fd)][_0x221b42(0x29f)](_0x5b50f3,_0x3e06d5);}),j[_0x4178a6(0x420)](this[_0x4178a6(0x4a4)][_0x4178a6(0x305)](a[_0x4178a6(0x232)][_0x4178a6(0x517)]),this[_0x4178a6(0x4a4)][_0x4178a6(0x305)](a[_0x4178a6(0x232)][_0x4178a6(0x1cf)]))['pipe'](j[_0x4178a6(0x1b9)](this[_0x4178a6(0x201)]))[_0x4178a6(0x405)](_0x4d4bcc=>{var _0x550e87=_0x4178a6;const _0x539245=_0x4d4bcc[_0x550e87(0x362)](),_0x141dfd=this[_0x550e87(0x4fd)][_0x550e87(0x1bb)](_0x539245);_0x141dfd&&(_0x141dfd[_0x550e87(0x418)](),this[_0x550e87(0x4fd)][_0x550e87(0x4c6)](_0x539245));});}async[_0x288b20(0x52c)](_0x4056f7,_0xe13ce7){var _0x3a26e2=_0x288b20;const _0x1b8733=await this[_0x3a26e2(0x25a)][_0x3a26e2(0x48c)](_0x4056f7),_0x377344=this['_injector'][_0x3a26e2(0x415)](this[_0x3a26e2(0x2d5)](_0xe13ce7),_0x4056f7,_0xe13ce7,_0x1b8733);return await _0x377344[_0x3a26e2(0x51c)](),this[_0x3a26e2(0x532)][_0x3a26e2(0x479)](_0x377344),_0x377344;}[_0x288b20(0x2d5)](_0x22e50b){var _0x470340=_0x288b20;switch(_0x22e50b){case X[_0x470340(0x1cf)]:return exports['DocCollaborationEntity'];case X[_0x470340(0x517)]:return exports[_0x470340(0x3cb)];default:throw new Error(_0x470340(0x314)+_0x22e50b);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),Pe(0x1,a['Inject'](exports[_0x288b20(0x325)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x288b20(0x367)]);var Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x3b548e,_0x244cb4,_0x2e11e2,_0x6749d4)=>{var _0x4454db=_0x288b20;for(var _0x31fe84=_0x6749d4>0x1?void 0x0:_0x6749d4?Ri(_0x244cb4,_0x2e11e2):_0x244cb4,_0x4f4414=_0x3b548e[_0x4454db(0x23a)]-0x1,_0x16a14d;_0x4f4414>=0x0;_0x4f4414--)(_0x16a14d=_0x3b548e[_0x4f4414])&&(_0x31fe84=_0x16a14d(_0x31fe84)||_0x31fe84);return _0x31fe84;},Je=(_0x1d54ec,_0x57e0dc)=>(_0x167080,_0x276815)=>_0x57e0dc(_0x167080,_0x276815,_0x1d54ec);const yi='DEFAULT_FILE_NAME',Ni='Univer';let He=class extends a[_0x288b20(0x205)]{constructor(_0x209653,_0x2474d4){var _0x541268=_0x288b20;super(),this[_0x541268(0x4a4)]=_0x209653,this[_0x541268(0x268)]=_0x2474d4,this[_0x541268(0x50d)]();}[_0x288b20(0x50d)](){var _0x3e6d74=_0x288b20;this[_0x3e6d74(0x202)](this['_univerInstanceService']['focused$'][_0x3e6d74(0x405)](()=>{var _0x2c516d=_0x3e6d74,_0x59b95e;const _0x4cebe7=this[_0x2c516d(0x4a4)][_0x2c516d(0x320)]();let _0x1df430=(_0x59b95e=this[_0x2c516d(0x268)][_0x2c516d(0x2e2)](yi))!=null?_0x59b95e:Ni;_0x4cebe7 instanceof a[_0x2c516d(0x292)]&&(_0x1df430=_0x4cebe7['name']),document['title']=_0x1df430;}));}};He=Oi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x288b20(0x2b6)])],He);var Ui=Object[_0x288b20(0x284)],Di=(_0x329bbc,_0x3eaf8f,_0x542bff,_0x64543e)=>{var _0x3ae822=_0x288b20;for(var _0x74a45d=_0x64543e>0x1?void 0x0:_0x64543e?Ui(_0x3eaf8f,_0x542bff):_0x3eaf8f,_0x2253cb=_0x329bbc[_0x3ae822(0x23a)]-0x1,_0x5d61f6;_0x2253cb>=0x0;_0x2253cb--)(_0x5d61f6=_0x329bbc[_0x2253cb])&&(_0x74a45d=_0x5d61f6(_0x74a45d)||_0x74a45d);return _0x74a45d;},we=(_0x4d137e,_0x2f9f31)=>(_0x3890ed,_0x48c481)=>_0x2f9f31(_0x3890ed,_0x48c481,_0x4d137e);let ye=class{constructor(_0x458fa3,_0x3ec86e,_0x345937){var _0x543c32=_0x288b20;this[_0x543c32(0x268)]=_0x458fa3,this[_0x543c32(0x213)]=_0x3ec86e,this['localeService']=_0x345937,this[_0x543c32(0x51c)]();}['init'](){var _0x90f912=_0x288b20;this[_0x90f912(0x213)][_0x90f912(0x264)]({'priority':0x1,'interceptor':(_0x47ccbe,_0x5ab124)=>_0x5ab124(_0x47ccbe)[_0x90f912(0x40c)](j[_0x90f912(0x31d)](async _0x25a17f=>{var _0xc7fb42=_0x90f912;const _0x431af5=_0x25a17f;if(_0x431af5[_0xc7fb42(0x4e9)]===0x191){if(typeof window>'u')throw new Error(_0xc7fb42(0x3fe));if(window[_0xc7fb42(0x224)](this[_0xc7fb42(0x4c5)]['t'](_0xc7fb42(0x463)))){const _0x58e5fe=window[_0xc7fb42(0x228)](window[_0xc7fb42(0x3af)][_0xc7fb42(0x2b9)]);window[_0xc7fb42(0x3af)][_0xc7fb42(0x2b9)]=this[_0xc7fb42(0x287)]()+_0xc7fb42(0x2e9)+_0x58e5fe;}}return _0x431af5;}))});}[_0x288b20(0x287)](){var _0x1d19c5=_0x288b20,_0x210874,_0x3175c0;const _0x42aa64=this[_0x1d19c5(0x268)]['getConfig'](Et),_0x3f9955=this['_configService'][_0x1d19c5(0x2e2)](Y);return(_0x3175c0=(_0x210874=_0x3f9955==null?void 0x0:_0x3f9955[_0x1d19c5(0x4ab)])!=null?_0x210874:_0x42aa64)!=null?_0x3175c0:Yt;}};ye=Di([we(0x0,a[_0x288b20(0x2b6)]),we(0x1,a[_0x288b20(0x257)](q[_0x288b20(0x4c8)])),we(0x2,a[_0x288b20(0x257)](a[_0x288b20(0x4b4)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x51e9d2,_0x17aa7a,_0x3730c5,_0x35ceba)=>{var _0x3ba9ed=_0x288b20;for(var _0x3ed641=_0x35ceba>0x1?void 0x0:_0x35ceba?Ai(_0x17aa7a,_0x3730c5):_0x17aa7a,_0x57a652=_0x51e9d2[_0x3ba9ed(0x23a)]-0x1,_0x2f3705;_0x57a652>=0x0;_0x57a652--)(_0x2f3705=_0x51e9d2[_0x57a652])&&(_0x3ed641=_0x2f3705(_0x3ed641)||_0x3ed641);return _0x3ed641;},Xe=(_0x50f595,_0x5a7b95)=>(_0x460893,_0x19996f)=>_0x5a7b95(_0x460893,_0x19996f,_0x50f595);const Ge=_0x288b20(0x502),wi=_0x288b20(0x23c);exports[_0x288b20(0x42c)]=class extends a['Disposable']{constructor(_0x30b27e,_0x25f099){var _0x218754=_0x288b20;super(),this[_0x218754(0x2dd)]=_0x30b27e,this['_configService']=_0x25f099,this[_0x218754(0x382)]();}['_initMergeInterceptor'](){var _0x1f6d5f=_0x288b20;const _0x4c9970=this;this['disposeWithMe'](this['_HTTPService'][_0x1f6d5f(0x264)]({'priority':0x3e7,'interceptor':q[_0x1f6d5f(0x374)]({'isMatch'(_0x1f8884){var _0x21eee7=_0x1f6d5f,_0x442e3b;if(_0x1f8884[_0x21eee7(0x1d7)]===_0x21eee7(0x2c7)&&((_0x442e3b=_0x1f8884[_0x21eee7(0x47c)])!=null&&_0x442e3b['body'])){const {objectID:_0x3e8455,objectType:_0x590494}=_0x1f8884['requestParams'][_0x21eee7(0x2d1)]||{};if(!_0x3e8455||_0x590494===void 0x0)return!0x1;const _0xa01826=_0x4c9970[_0x21eee7(0x255)]()+'/'+_0x590494+'/object/'+_0x3e8455+_0x21eee7(0x452);if(_0x1f8884[_0x21eee7(0x38d)]===_0xa01826)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5feea1){var _0xf490e4=_0x1f6d5f,_0x3be3cb;return(_0x3be3cb=_0x5feea1[_0xf490e4(0x47c)])==null?void 0x0:_0x3be3cb['body'];},'mergeParamsToRequest'(_0x1c4378,_0x35c8ac){var _0x2b241c=_0x1f6d5f;const _0x267984=_0x4c9970[_0x2b241c(0x255)]()+'/-/object/-/batch_allowed',_0x5ecd92=_0x1c4378[_0x2b241c(0x4c3)]((_0x10c444,_0x5cacfa)=>{var _0x167370=_0x2b241c;const {unitID:_0x959bcb,objectID:_0x5399a5,objectType:_0x55196e,actions:_0x2595dc}=_0x5cacfa;return _0x10c444[_0x959bcb]||(_0x10c444[_0x959bcb]={}),_0x10c444[_0x959bcb][_0x5399a5]||(_0x10c444[_0x959bcb][_0x5399a5]={'objectID':_0x5399a5,'objectType':_0x55196e,'actions':[]}),_0x10c444[_0x959bcb][_0x5399a5][_0x167370(0x514)][_0x167370(0x328)](..._0x2595dc),_0x10c444;},{}),_0x53ff5b=[];for(const _0xea979f in _0x5ecd92)for(const _0x1fe5a9 in _0x5ecd92[_0xea979f]){const {actions:_0x19e861,objectType:_0x584c25}=_0x5ecd92[_0xea979f][_0x1fe5a9],_0x56cde5=[...new Set(_0x19e861)];_0x53ff5b['push']({'unitID':_0xea979f,'objectID':_0x1fe5a9,'objectType':_0x584c25,'actions':_0x56cde5});}return new q[(_0x2b241c(0x1ca))](_0x2b241c(0x2c7),_0x267984,{'headers':_0x35c8ac[_0x2b241c(0x4cf)],'withCredentials':_0x35c8ac['withCredentials'],'responseType':_0x35c8ac['responseType'],'body':{'requests':_0x53ff5b}});}},{'distributeResult'(_0x16789d,_0x5697f5){var _0x44c2d4=_0x1f6d5f;const {objectActions:_0x1168af}=_0x16789d;return _0x5697f5[_0x44c2d4(0x430)](_0x454088=>{var _0xd2ff98=_0x44c2d4;const {unitID:_0x2d26da,objectID:_0x120920,actions:_0x4f9154}=_0x454088,_0x3e01bf=_0x1168af[_0xd2ff98(0x3d6)](_0x53a119=>_0x53a119[_0xd2ff98(0x1d3)]===_0x2d26da&&_0x53a119[_0xd2ff98(0x27e)]===_0x120920),_0x4940ce=_0x4f9154[_0xd2ff98(0x430)](_0x1737e1=>_0x3e01bf==null?void 0x0:_0x3e01bf[_0xd2ff98(0x514)][_0xd2ff98(0x3d6)](_0x50be8f=>_0x50be8f['action']===_0x1737e1))[_0xd2ff98(0x4de)](_0x27f1d4=>!!_0x27f1d4);return{'config':_0x454088,'result':{'actions':_0x4940ce,'error':_0x16789d[_0xd2ff98(0x3b2)]}};});}})}));}[_0x288b20(0x255)](){var _0xd93ad3=_0x288b20,_0x3ede3a,_0xe99331;const _0xaecae6=this[_0xd93ad3(0x268)][_0xd93ad3(0x2e2)](Ge),_0x46cd9e=this[_0xd93ad3(0x268)][_0xd93ad3(0x2e2)](Y);return(_0xe99331=(_0x3ede3a=_0x46cd9e==null?void 0x0:_0x46cd9e['authzUrl'])!=null?_0x3ede3a:_0xaecae6)!=null?_0xe99331:wi;}async['create'](_0x5b5306){var _0x2d4b7a=_0x288b20;const _0x42f1f0=this['_getAPIPrefixPath']()+'/'+_0x5b5306[_0x2d4b7a(0x417)]+_0x2d4b7a(0x1b5);return(await this['_HTTPService'][_0x2d4b7a(0x3d0)](_0x42f1f0,{'body':_0x5b5306}))['body'][_0x2d4b7a(0x27e)]||'';}async[_0x288b20(0x299)](_0x20e2c9){var _0x547efa=_0x288b20;const _0x5de354=this[_0x547efa(0x255)]()+'/-/object/list';return(await this[_0x547efa(0x2dd)]['post'](_0x5de354,{'body':_0x20e2c9}))[_0x547efa(0x2d1)][_0x547efa(0x50a)];}async['update'](_0xd9780f){var _0x45e246=_0x288b20,_0x4c7636,_0x439c0f;const _0x26d35f=this[_0x45e246(0x255)]()+'/'+_0xd9780f['objectType']+_0x45e246(0x28f)+_0xd9780f[_0x45e246(0x27e)],_0x4101ed=await this[_0x45e246(0x2dd)]['put'](_0x26d35f,{'body':_0xd9780f});if(((_0x439c0f=(_0x4c7636=_0x4101ed==null?void 0x0:_0x4101ed[_0x45e246(0x2d1)])==null?void 0x0:_0x4c7636[_0x45e246(0x3b2)])==null?void 0x0:_0x439c0f['code'])!==0x1)throw new Error(_0x45e246(0x4e1));}async[_0x288b20(0x200)](_0x39671c){var _0x136707=_0x288b20;const _0x536ad3=this[_0x136707(0x255)]()+'/'+_0x39671c[_0x136707(0x417)]+_0x136707(0x28f)+_0x39671c[_0x136707(0x27e)]+_0x136707(0x452);return(await this[_0x136707(0x2dd)]['post'](_0x536ad3,{'body':_0x39671c}))[_0x136707(0x2d1)][_0x136707(0x514)];}async[_0x288b20(0x4f2)](_0x313e12){var _0x1ba6d0=_0x288b20;const _0x51ab4e=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x1ba6d0(0x3d0)](_0x51ab4e,{'body':{'requests':_0x313e12}}))[_0x1ba6d0(0x2d1)][_0x1ba6d0(0x3bf)];}async[_0x288b20(0x379)](_0x20a34b){var _0x2a798d=_0x288b20;const _0xccf9bb=this[_0x2a798d(0x255)]()+'/'+_0x20a34b[_0x2a798d(0x417)]+'/role',_0x2da935=await this[_0x2a798d(0x2dd)]['post'](_0xccf9bb,{'body':_0x20a34b});return{'roles':_0x2da935[_0x2a798d(0x2d1)][_0x2a798d(0x28b)],'actions':_0x2da935[_0x2a798d(0x2d1)]['actions']};}async[_0x288b20(0x1b8)](_0x3beff9){var _0x36fcb8=_0x288b20;const _0x15a640=this['_getAPIPrefixPath']()+_0x36fcb8(0x541);await this['_HTTPService'][_0x36fcb8(0x4c6)](_0x15a640,{'params':{'collaboratorID':_0x3beff9[_0x36fcb8(0x4e5)],'objectID':_0x3beff9['objectID'],'unitID':_0x3beff9['unitID']}});}async[_0x288b20(0x2df)](_0x9fa489){var _0x48f07f=_0x288b20;const _0x46753c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x48f07f(0x2dd)][_0x48f07f(0x49a)](_0x46753c,{'body':_0x9fa489});}async[_0x288b20(0x408)](_0x263c23){var _0x328b52=_0x288b20;const _0x7b76d8=this[_0x328b52(0x255)]()+_0x328b52(0x541);await this[_0x328b52(0x2dd)][_0x328b52(0x3d0)](_0x7b76d8,{'body':_0x263c23});}async[_0x288b20(0x23e)](_0x43f2bc){var _0x3a2a23=_0x288b20;const _0x5429a6=this['_getAPIPrefixPath']()+_0x3a2a23(0x541);return(await this['_HTTPService'][_0x3a2a23(0x1bb)](_0x5429a6,{'params':{'objectID':_0x43f2bc['objectID'],'unitID':_0x43f2bc['unitID']}}))[_0x3a2a23(0x2d1)]['collaborators'];}async[_0x288b20(0x4f4)](_0x4a82ae){var _0x12d14d=_0x288b20;const _0x5ace43=this[_0x12d14d(0x255)]()+_0x12d14d(0x541);await this['_HTTPService']['put'](_0x5ace43,{'body':_0x4a82ae});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x288b20(0x257)](q[_0x288b20(0x4c8)])),Xe(0x1,a[_0x288b20(0x257)](a[_0x288b20(0x2b6)]))],exports[_0x288b20(0x42c)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x20ce1c){var _0x359aa9=_0x288b20;return _0x20ce1c&&_0x20ce1c[_0x359aa9(0x2d0)]&&Object[_0x359aa9(0x3dd)][_0x359aa9(0x2a5)][_0x359aa9(0x4ba)](_0x20ce1c,_0x359aa9(0x1c9))?_0x20ce1c[_0x359aa9(0x1c9)]:_0x20ce1c;}var fe={'exports':{}};function Li(_0x1ec7b5){var _0x4effa4=_0x288b20;throw new Error(_0x4effa4(0x323)+_0x1ec7b5+_0x4effa4(0x41b));}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){return Ze||(Ze=0x1,function(_0x3b911e,_0x7a5c9e){(function(_0x6f5351,_0x137f96){_0x3b911e['exports']=_0x137f96();}(Mi,function(){var _0x1bc22c=_0x1bc22c||function(_0x101cd8,_0x1e1c8e){var _0x1b75b7=_0x3744,_0xd3799b;if(typeof window<'u'&&window['crypto']&&(_0xd3799b=window['crypto']),typeof self<'u'&&self[_0x1b75b7(0x4f0)]&&(_0xd3799b=self[_0x1b75b7(0x4f0)]),typeof globalThis<'u'&&globalThis[_0x1b75b7(0x4f0)]&&(_0xd3799b=globalThis['crypto']),!_0xd3799b&&typeof window<'u'&&window[_0x1b75b7(0x427)]&&(_0xd3799b=window[_0x1b75b7(0x427)]),!_0xd3799b&&typeof Le<'u'&&Le[_0x1b75b7(0x4f0)]&&(_0xd3799b=Le[_0x1b75b7(0x4f0)]),!_0xd3799b&&typeof Li==_0x1b75b7(0x4a2))try{_0xd3799b=require('crypto');}catch{}var _0x1d0b5e=function(){var _0x3cf6d7=_0x1b75b7;if(_0xd3799b){if(typeof _0xd3799b[_0x3cf6d7(0x3c0)]==_0x3cf6d7(0x4a2))try{return _0xd3799b[_0x3cf6d7(0x3c0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd3799b[_0x3cf6d7(0x501)]==_0x3cf6d7(0x4a2))try{return _0xd3799b[_0x3cf6d7(0x501)](0x4)[_0x3cf6d7(0x347)]();}catch{}}throw new Error(_0x3cf6d7(0x31b));},_0x5a1f00=Object[_0x1b75b7(0x41c)]||(function(){function _0x4ccc4f(){}return function(_0x268be3){var _0x5d9341=_0x3744,_0x1d5ea1;return _0x4ccc4f[_0x5d9341(0x3dd)]=_0x268be3,_0x1d5ea1=new _0x4ccc4f(),_0x4ccc4f['prototype']=null,_0x1d5ea1;};}()),_0x318df2={},_0x23f815=_0x318df2[_0x1b75b7(0x53d)]={},_0x3815c1=_0x23f815['Base']=(function(){return{'extend':function(_0x237c4c){var _0x1506b1=_0x3744,_0x2a0f40=_0x5a1f00(this);return _0x237c4c&&_0x2a0f40[_0x1506b1(0x22a)](_0x237c4c),(!_0x2a0f40[_0x1506b1(0x2a5)]('init')||this[_0x1506b1(0x51c)]===_0x2a0f40[_0x1506b1(0x51c)])&&(_0x2a0f40['init']=function(){var _0x319504=_0x1506b1;_0x2a0f40[_0x319504(0x278)][_0x319504(0x51c)][_0x319504(0x246)](this,arguments);}),_0x2a0f40[_0x1506b1(0x51c)][_0x1506b1(0x3dd)]=_0x2a0f40,_0x2a0f40[_0x1506b1(0x278)]=this,_0x2a0f40;},'create':function(){var _0x2f9d71=_0x3744,_0x482bd3=this[_0x2f9d71(0x507)]();return _0x482bd3[_0x2f9d71(0x51c)][_0x2f9d71(0x246)](_0x482bd3,arguments),_0x482bd3;},'init':function(){},'mixIn':function(_0x341840){var _0x52c614=_0x3744;for(var _0x412863 in _0x341840)_0x341840['hasOwnProperty'](_0x412863)&&(this[_0x412863]=_0x341840[_0x412863]);_0x341840[_0x52c614(0x2a5)](_0x52c614(0x377))&&(this[_0x52c614(0x377)]=_0x341840[_0x52c614(0x377)]);},'clone':function(){var _0x375d7b=_0x3744;return this[_0x375d7b(0x51c)]['prototype']['extend'](this);}};}()),_0x3e893a=_0x23f815[_0x1b75b7(0x1c6)]=_0x3815c1[_0x1b75b7(0x507)]({'init':function(_0x4dbbaf,_0x20121e){var _0x3290f8=_0x1b75b7;_0x4dbbaf=this['words']=_0x4dbbaf||[],_0x20121e!=_0x1e1c8e?this[_0x3290f8(0x329)]=_0x20121e:this['sigBytes']=_0x4dbbaf[_0x3290f8(0x23a)]*0x4;},'toString':function(_0x241513){var _0xa401de=_0x1b75b7;return(_0x241513||_0x495ffe)[_0xa401de(0x4f8)](this);},'concat':function(_0x5cd208){var _0x567378=_0x1b75b7,_0xab7532=this[_0x567378(0x4bd)],_0x30375e=_0x5cd208[_0x567378(0x4bd)],_0x3d8fe5=this['sigBytes'],_0x4e1adc=_0x5cd208[_0x567378(0x329)];if(this['clamp'](),_0x3d8fe5%0x4)for(var _0x2d715b=0x0;_0x2d715b<_0x4e1adc;_0x2d715b++){var _0x57cf08=_0x30375e[_0x2d715b>>>0x2]>>>0x18-_0x2d715b%0x4*0x8&0xff;_0xab7532[_0x3d8fe5+_0x2d715b>>>0x2]|=_0x57cf08<<0x18-(_0x3d8fe5+_0x2d715b)%0x4*0x8;}else{for(var _0xe8964=0x0;_0xe8964<_0x4e1adc;_0xe8964+=0x4)_0xab7532[_0x3d8fe5+_0xe8964>>>0x2]=_0x30375e[_0xe8964>>>0x2];}return this[_0x567378(0x329)]+=_0x4e1adc,this;},'clamp':function(){var _0x5e4825=_0x1b75b7,_0x15fd8e=this['words'],_0x25436c=this[_0x5e4825(0x329)];_0x15fd8e[_0x25436c>>>0x2]&=0xffffffff<<0x20-_0x25436c%0x4*0x8,_0x15fd8e[_0x5e4825(0x23a)]=_0x101cd8[_0x5e4825(0x2ff)](_0x25436c/0x4);},'clone':function(){var _0xc69486=_0x1b75b7,_0x536720=_0x3815c1['clone'][_0xc69486(0x4ba)](this);return _0x536720[_0xc69486(0x4bd)]=this[_0xc69486(0x4bd)]['slice'](0x0),_0x536720;},'random':function(_0x5610e3){var _0x270b55=_0x1b75b7;for(var _0xcc453d=[],_0x4810e8=0x0;_0x4810e8<_0x5610e3;_0x4810e8+=0x4)_0xcc453d[_0x270b55(0x328)](_0x1d0b5e());return new _0x3e893a[(_0x270b55(0x51c))](_0xcc453d,_0x5610e3);}}),_0x5a6d46=_0x318df2[_0x1b75b7(0x492)]={},_0x495ffe=_0x5a6d46['Hex']={'stringify':function(_0x526dbe){var _0x332849=_0x1b75b7;for(var _0x5535af=_0x526dbe[_0x332849(0x4bd)],_0x531d37=_0x526dbe['sigBytes'],_0x442c2d=[],_0x16c058=0x0;_0x16c058<_0x531d37;_0x16c058++){var _0x415cde=_0x5535af[_0x16c058>>>0x2]>>>0x18-_0x16c058%0x4*0x8&0xff;_0x442c2d[_0x332849(0x328)]((_0x415cde>>>0x4)[_0x332849(0x377)](0x10)),_0x442c2d[_0x332849(0x328)]((_0x415cde&0xf)[_0x332849(0x377)](0x10));}return _0x442c2d[_0x332849(0x3ed)]('');},'parse':function(_0x4b80e2){var _0x5ac8b9=_0x1b75b7;for(var _0xa0df44=_0x4b80e2[_0x5ac8b9(0x23a)],_0x4a4f3c=[],_0x551bf2=0x0;_0x551bf2<_0xa0df44;_0x551bf2+=0x2)_0x4a4f3c[_0x551bf2>>>0x3]|=parseInt(_0x4b80e2['substr'](_0x551bf2,0x2),0x10)<<0x18-_0x551bf2%0x8*0x4;return new _0x3e893a[(_0x5ac8b9(0x51c))](_0x4a4f3c,_0xa0df44/0x2);}},_0x39a7ca=_0x5a6d46['Latin1']={'stringify':function(_0x4a35fa){var _0x2a756f=_0x1b75b7;for(var _0x5062b8=_0x4a35fa['words'],_0x3cac1a=_0x4a35fa[_0x2a756f(0x329)],_0x299d47=[],_0x16bcdd=0x0;_0x16bcdd<_0x3cac1a;_0x16bcdd++){var _0x524ae8=_0x5062b8[_0x16bcdd>>>0x2]>>>0x18-_0x16bcdd%0x4*0x8&0xff;_0x299d47[_0x2a756f(0x328)](String[_0x2a756f(0x359)](_0x524ae8));}return _0x299d47[_0x2a756f(0x3ed)]('');},'parse':function(_0x5b4281){var _0x58d4d2=_0x1b75b7;for(var _0x1572d9=_0x5b4281['length'],_0x482839=[],_0x4d28aa=0x0;_0x4d28aa<_0x1572d9;_0x4d28aa++)_0x482839[_0x4d28aa>>>0x2]|=(_0x5b4281[_0x58d4d2(0x493)](_0x4d28aa)&0xff)<<0x18-_0x4d28aa%0x4*0x8;return new _0x3e893a[(_0x58d4d2(0x51c))](_0x482839,_0x1572d9);}},_0x335299=_0x5a6d46[_0x1b75b7(0x40e)]={'stringify':function(_0x43db1a){var _0x1288fd=_0x1b75b7;try{return decodeURIComponent(escape(_0x39a7ca[_0x1288fd(0x4f8)](_0x43db1a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x323cca){var _0x1f5bb1=_0x1b75b7;return _0x39a7ca[_0x1f5bb1(0x2ea)](unescape(encodeURIComponent(_0x323cca)));}},_0x241356=_0x23f815['BufferedBlockAlgorithm']=_0x3815c1[_0x1b75b7(0x507)]({'reset':function(){var _0x58572f=_0x1b75b7;this[_0x58572f(0x24a)]=new _0x3e893a[(_0x58572f(0x51c))](),this['_nDataBytes']=0x0;},'_append':function(_0x14c63b){var _0x522483=_0x1b75b7;typeof _0x14c63b==_0x522483(0x488)&&(_0x14c63b=_0x335299[_0x522483(0x2ea)](_0x14c63b)),this[_0x522483(0x24a)][_0x522483(0x326)](_0x14c63b),this[_0x522483(0x349)]+=_0x14c63b['sigBytes'];},'_process':function(_0x1fa39b){var _0x2dc435=_0x1b75b7,_0x5dab2f,_0x20cce2=this[_0x2dc435(0x24a)],_0xe5f37a=_0x20cce2[_0x2dc435(0x4bd)],_0x366050=_0x20cce2[_0x2dc435(0x329)],_0x219341=this['blockSize'],_0x5d364d=_0x219341*0x4,_0x29e33f=_0x366050/_0x5d364d;_0x1fa39b?_0x29e33f=_0x101cd8[_0x2dc435(0x2ff)](_0x29e33f):_0x29e33f=_0x101cd8[_0x2dc435(0x20a)]((_0x29e33f|0x0)-this[_0x2dc435(0x2d9)],0x0);var _0x5d21a6=_0x29e33f*_0x219341,_0x1f9843=_0x101cd8[_0x2dc435(0x516)](_0x5d21a6*0x4,_0x366050);if(_0x5d21a6){for(var _0x1768a4=0x0;_0x1768a4<_0x5d21a6;_0x1768a4+=_0x219341)this[_0x2dc435(0x1ba)](_0xe5f37a,_0x1768a4);_0x5dab2f=_0xe5f37a[_0x2dc435(0x42d)](0x0,_0x5d21a6),_0x20cce2[_0x2dc435(0x329)]-=_0x1f9843;}return new _0x3e893a[(_0x2dc435(0x51c))](_0x5dab2f,_0x1f9843);},'clone':function(){var _0x50bd43=_0x1b75b7,_0x102db0=_0x3815c1[_0x50bd43(0x52f)][_0x50bd43(0x4ba)](this);return _0x102db0[_0x50bd43(0x24a)]=this[_0x50bd43(0x24a)][_0x50bd43(0x52f)](),_0x102db0;},'_minBufferSize':0x0});_0x23f815[_0x1b75b7(0x37f)]=_0x241356['extend']({'cfg':_0x3815c1['extend'](),'init':function(_0x4d7f51){var _0xd961d=_0x1b75b7;this['cfg']=this[_0xd961d(0x25e)][_0xd961d(0x507)](_0x4d7f51),this[_0xd961d(0x40a)]();},'reset':function(){var _0x33201f=_0x1b75b7;_0x241356[_0x33201f(0x40a)][_0x33201f(0x4ba)](this),this[_0x33201f(0x26a)]();},'update':function(_0x3a8397){var _0x2b0680=_0x1b75b7;return this['_append'](_0x3a8397),this[_0x2b0680(0x2a3)](),this;},'finalize':function(_0x2da986){var _0x4df700=_0x1b75b7;_0x2da986&&this[_0x4df700(0x1b7)](_0x2da986);var _0x566c78=this[_0x4df700(0x35b)]();return _0x566c78;},'blockSize':0x10,'_createHelper':function(_0x35a4f9){return function(_0x926dae,_0x42d0b9){var _0x12d98f=_0x3744;return new _0x35a4f9[(_0x12d98f(0x51c))](_0x42d0b9)['finalize'](_0x926dae);};},'_createHmacHelper':function(_0x34db76){return function(_0x499a47,_0x49b44e){var _0x4c96c6=_0x3744;return new _0x572462[(_0x4c96c6(0x4a1))][(_0x4c96c6(0x51c))](_0x34db76,_0x49b44e)[_0x4c96c6(0x384)](_0x499a47);};}});var _0x572462=_0x318df2['algo']={};return _0x318df2;}(Math);return _0x1bc22c;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x288b20(0x243)],Qe;function Dt(){var _0x1ab1a5=_0x288b20;return Qe||(Qe=0x1,function(_0x1f23c2,_0x2676f2){(function(_0x323f97,_0x484fd0){var _0x2d518a=_0x3744;_0x1f23c2[_0x2d518a(0x243)]=_0x484fd0(ee());}(xi,function(_0x166480){var _0x43b151=_0x3744;return(function(){var _0x3ed85e=_0x3744,_0x3ef0ae=_0x166480,_0x5b3502=_0x3ef0ae[_0x3ed85e(0x53d)],_0x13e7ac=_0x5b3502['WordArray'],_0x28a45b=_0x3ef0ae[_0x3ed85e(0x492)];_0x28a45b[_0x3ed85e(0x425)]={'stringify':function(_0x1d0e17){var _0x264daa=_0x3ed85e,_0x37be1b=_0x1d0e17[_0x264daa(0x4bd)],_0x358d4c=_0x1d0e17['sigBytes'],_0xae77b6=this['_map'];_0x1d0e17['clamp']();for(var _0x2c4cf=[],_0x19907d=0x0;_0x19907d<_0x358d4c;_0x19907d+=0x3)for(var _0x8455d2=_0x37be1b[_0x19907d>>>0x2]>>>0x18-_0x19907d%0x4*0x8&0xff,_0x5e8364=_0x37be1b[_0x19907d+0x1>>>0x2]>>>0x18-(_0x19907d+0x1)%0x4*0x8&0xff,_0x16344b=_0x37be1b[_0x19907d+0x2>>>0x2]>>>0x18-(_0x19907d+0x2)%0x4*0x8&0xff,_0x242657=_0x8455d2<<0x10|_0x5e8364<<0x8|_0x16344b,_0x46ec2f=0x0;_0x46ec2f<0x4&&_0x19907d+_0x46ec2f*0.75<_0x358d4c;_0x46ec2f++)_0x2c4cf[_0x264daa(0x328)](_0xae77b6[_0x264daa(0x239)](_0x242657>>>0x6*(0x3-_0x46ec2f)&0x3f));var _0x130c97=_0xae77b6[_0x264daa(0x239)](0x40);if(_0x130c97){for(;_0x2c4cf['length']%0x4;)_0x2c4cf[_0x264daa(0x328)](_0x130c97);}return _0x2c4cf[_0x264daa(0x3ed)]('');},'parse':function(_0x34b45c){var _0x247652=_0x3ed85e,_0x2b2c91=_0x34b45c[_0x247652(0x23a)],_0x522637=this['_map'],_0x5610ad=this[_0x247652(0x4be)];if(!_0x5610ad){_0x5610ad=this[_0x247652(0x4be)]=[];for(var _0x15c8df=0x0;_0x15c8df<_0x522637[_0x247652(0x23a)];_0x15c8df++)_0x5610ad[_0x522637['charCodeAt'](_0x15c8df)]=_0x15c8df;}var _0x34a620=_0x522637['charAt'](0x40);if(_0x34a620){var _0x1f1cbc=_0x34b45c[_0x247652(0x3b8)](_0x34a620);_0x1f1cbc!==-0x1&&(_0x2b2c91=_0x1f1cbc);}return _0x30943d(_0x34b45c,_0x2b2c91,_0x5610ad);},'_map':_0x3ed85e(0x274)};function _0x30943d(_0x2cbe6f,_0x386466,_0x150e5c){var _0x3664ab=_0x3ed85e;for(var _0x1155e3=[],_0x5bd16b=0x0,_0x4f48f5=0x0;_0x4f48f5<_0x386466;_0x4f48f5++)if(_0x4f48f5%0x4){var _0x11956c=_0x150e5c[_0x2cbe6f[_0x3664ab(0x493)](_0x4f48f5-0x1)]<<_0x4f48f5%0x4*0x2,_0x355bb9=_0x150e5c[_0x2cbe6f[_0x3664ab(0x493)](_0x4f48f5)]>>>0x6-_0x4f48f5%0x4*0x2,_0xf074c3=_0x11956c|_0x355bb9;_0x1155e3[_0x5bd16b>>>0x2]|=_0xf074c3<<0x18-_0x5bd16b%0x4*0x8,_0x5bd16b++;}return _0x13e7ac[_0x3664ab(0x41c)](_0x1155e3,_0x5bd16b);}}()),_0x166480[_0x43b151(0x492)][_0x43b151(0x425)];}));}(ge)),ge[_0x1ab1a5(0x243)];}var Ie={'exports':{}},ki=Ie[_0x288b20(0x243)],et;function Hi(){var _0x3a71da=_0x288b20;return et||(et=0x1,function(_0x1738a2,_0x947ef6){(function(_0x1cc86f,_0x20691c){var _0x12bb67=_0x3744;_0x1738a2[_0x12bb67(0x243)]=_0x20691c(ee());}(ki,function(_0x401e2e){return function(_0x49ae48){var _0x29ede9=_0x3744,_0x5ad450=_0x401e2e,_0x5de332=_0x5ad450['lib'],_0x221b05=_0x5de332[_0x29ede9(0x1c6)],_0x218d12=_0x5de332[_0x29ede9(0x37f)],_0x41832a=_0x5ad450[_0x29ede9(0x256)],_0x390597=[];(function(){var _0x5a6e3e=_0x29ede9;for(var _0x99fffa=0x0;_0x99fffa<0x40;_0x99fffa++)_0x390597[_0x99fffa]=_0x49ae48[_0x5a6e3e(0x530)](_0x49ae48[_0x5a6e3e(0x230)](_0x99fffa+0x1))*0x100000000|0x0;}());var _0x1e93b2=_0x41832a[_0x29ede9(0x33a)]=_0x218d12[_0x29ede9(0x507)]({'_doReset':function(){var _0x2f8acd=_0x29ede9;this[_0x2f8acd(0x237)]=new _0x221b05['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x561df9,_0x5c9d9a){var _0xda356=_0x29ede9;for(var _0x336178=0x0;_0x336178<0x10;_0x336178++){var _0x45a86d=_0x5c9d9a+_0x336178,_0x494dce=_0x561df9[_0x45a86d];_0x561df9[_0x45a86d]=(_0x494dce<<0x8|_0x494dce>>>0x18)&0xff00ff|(_0x494dce<<0x18|_0x494dce>>>0x8)&0xff00ff00;}var _0x583873=this['_hash'][_0xda356(0x4bd)],_0x17c7e4=_0x561df9[_0x5c9d9a+0x0],_0x210f42=_0x561df9[_0x5c9d9a+0x1],_0x2bebfa=_0x561df9[_0x5c9d9a+0x2],_0x3672bb=_0x561df9[_0x5c9d9a+0x3],_0x4db83d=_0x561df9[_0x5c9d9a+0x4],_0x2efee2=_0x561df9[_0x5c9d9a+0x5],_0x12c190=_0x561df9[_0x5c9d9a+0x6],_0x3283d5=_0x561df9[_0x5c9d9a+0x7],_0x359334=_0x561df9[_0x5c9d9a+0x8],_0xf9362e=_0x561df9[_0x5c9d9a+0x9],_0x809605=_0x561df9[_0x5c9d9a+0xa],_0x17f4b7=_0x561df9[_0x5c9d9a+0xb],_0x5a4991=_0x561df9[_0x5c9d9a+0xc],_0x5705d2=_0x561df9[_0x5c9d9a+0xd],_0x2c5622=_0x561df9[_0x5c9d9a+0xe],_0x222c86=_0x561df9[_0x5c9d9a+0xf],_0x5787de=_0x583873[0x0],_0x2bf04c=_0x583873[0x1],_0x3a6883=_0x583873[0x2],_0x3c615f=_0x583873[0x3];_0x5787de=_0x690e83(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x17c7e4,0x7,_0x390597[0x0]),_0x3c615f=_0x690e83(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x210f42,0xc,_0x390597[0x1]),_0x3a6883=_0x690e83(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x2bebfa,0x11,_0x390597[0x2]),_0x2bf04c=_0x690e83(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x3672bb,0x16,_0x390597[0x3]),_0x5787de=_0x690e83(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x4db83d,0x7,_0x390597[0x4]),_0x3c615f=_0x690e83(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x2efee2,0xc,_0x390597[0x5]),_0x3a6883=_0x690e83(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x12c190,0x11,_0x390597[0x6]),_0x2bf04c=_0x690e83(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x3283d5,0x16,_0x390597[0x7]),_0x5787de=_0x690e83(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x359334,0x7,_0x390597[0x8]),_0x3c615f=_0x690e83(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0xf9362e,0xc,_0x390597[0x9]),_0x3a6883=_0x690e83(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x809605,0x11,_0x390597[0xa]),_0x2bf04c=_0x690e83(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x17f4b7,0x16,_0x390597[0xb]),_0x5787de=_0x690e83(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x5a4991,0x7,_0x390597[0xc]),_0x3c615f=_0x690e83(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x5705d2,0xc,_0x390597[0xd]),_0x3a6883=_0x690e83(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x2c5622,0x11,_0x390597[0xe]),_0x2bf04c=_0x690e83(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x222c86,0x16,_0x390597[0xf]),_0x5787de=_0x55726b(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x210f42,0x5,_0x390597[0x10]),_0x3c615f=_0x55726b(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x12c190,0x9,_0x390597[0x11]),_0x3a6883=_0x55726b(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x17f4b7,0xe,_0x390597[0x12]),_0x2bf04c=_0x55726b(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x17c7e4,0x14,_0x390597[0x13]),_0x5787de=_0x55726b(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x2efee2,0x5,_0x390597[0x14]),_0x3c615f=_0x55726b(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x809605,0x9,_0x390597[0x15]),_0x3a6883=_0x55726b(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x222c86,0xe,_0x390597[0x16]),_0x2bf04c=_0x55726b(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x4db83d,0x14,_0x390597[0x17]),_0x5787de=_0x55726b(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0xf9362e,0x5,_0x390597[0x18]),_0x3c615f=_0x55726b(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x2c5622,0x9,_0x390597[0x19]),_0x3a6883=_0x55726b(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x3672bb,0xe,_0x390597[0x1a]),_0x2bf04c=_0x55726b(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x359334,0x14,_0x390597[0x1b]),_0x5787de=_0x55726b(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x5705d2,0x5,_0x390597[0x1c]),_0x3c615f=_0x55726b(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x2bebfa,0x9,_0x390597[0x1d]),_0x3a6883=_0x55726b(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x3283d5,0xe,_0x390597[0x1e]),_0x2bf04c=_0x55726b(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x5a4991,0x14,_0x390597[0x1f]),_0x5787de=_0x43fd78(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x2efee2,0x4,_0x390597[0x20]),_0x3c615f=_0x43fd78(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x359334,0xb,_0x390597[0x21]),_0x3a6883=_0x43fd78(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x17f4b7,0x10,_0x390597[0x22]),_0x2bf04c=_0x43fd78(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x2c5622,0x17,_0x390597[0x23]),_0x5787de=_0x43fd78(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x210f42,0x4,_0x390597[0x24]),_0x3c615f=_0x43fd78(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x4db83d,0xb,_0x390597[0x25]),_0x3a6883=_0x43fd78(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x3283d5,0x10,_0x390597[0x26]),_0x2bf04c=_0x43fd78(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x809605,0x17,_0x390597[0x27]),_0x5787de=_0x43fd78(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x5705d2,0x4,_0x390597[0x28]),_0x3c615f=_0x43fd78(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x17c7e4,0xb,_0x390597[0x29]),_0x3a6883=_0x43fd78(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x3672bb,0x10,_0x390597[0x2a]),_0x2bf04c=_0x43fd78(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x12c190,0x17,_0x390597[0x2b]),_0x5787de=_0x43fd78(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0xf9362e,0x4,_0x390597[0x2c]),_0x3c615f=_0x43fd78(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x5a4991,0xb,_0x390597[0x2d]),_0x3a6883=_0x43fd78(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x222c86,0x10,_0x390597[0x2e]),_0x2bf04c=_0x43fd78(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x2bebfa,0x17,_0x390597[0x2f]),_0x5787de=_0x10c789(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x17c7e4,0x6,_0x390597[0x30]),_0x3c615f=_0x10c789(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x3283d5,0xa,_0x390597[0x31]),_0x3a6883=_0x10c789(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x2c5622,0xf,_0x390597[0x32]),_0x2bf04c=_0x10c789(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x2efee2,0x15,_0x390597[0x33]),_0x5787de=_0x10c789(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x5a4991,0x6,_0x390597[0x34]),_0x3c615f=_0x10c789(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x3672bb,0xa,_0x390597[0x35]),_0x3a6883=_0x10c789(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x809605,0xf,_0x390597[0x36]),_0x2bf04c=_0x10c789(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x210f42,0x15,_0x390597[0x37]),_0x5787de=_0x10c789(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x359334,0x6,_0x390597[0x38]),_0x3c615f=_0x10c789(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x222c86,0xa,_0x390597[0x39]),_0x3a6883=_0x10c789(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x12c190,0xf,_0x390597[0x3a]),_0x2bf04c=_0x10c789(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0x5705d2,0x15,_0x390597[0x3b]),_0x5787de=_0x10c789(_0x5787de,_0x2bf04c,_0x3a6883,_0x3c615f,_0x4db83d,0x6,_0x390597[0x3c]),_0x3c615f=_0x10c789(_0x3c615f,_0x5787de,_0x2bf04c,_0x3a6883,_0x17f4b7,0xa,_0x390597[0x3d]),_0x3a6883=_0x10c789(_0x3a6883,_0x3c615f,_0x5787de,_0x2bf04c,_0x2bebfa,0xf,_0x390597[0x3e]),_0x2bf04c=_0x10c789(_0x2bf04c,_0x3a6883,_0x3c615f,_0x5787de,_0xf9362e,0x15,_0x390597[0x3f]),_0x583873[0x0]=_0x583873[0x0]+_0x5787de|0x0,_0x583873[0x1]=_0x583873[0x1]+_0x2bf04c|0x0,_0x583873[0x2]=_0x583873[0x2]+_0x3a6883|0x0,_0x583873[0x3]=_0x583873[0x3]+_0x3c615f|0x0;},'_doFinalize':function(){var _0x472734=_0x29ede9,_0x1fa58a=this[_0x472734(0x24a)],_0x59a19d=_0x1fa58a[_0x472734(0x4bd)],_0x434691=this[_0x472734(0x349)]*0x8,_0x4dadfd=_0x1fa58a['sigBytes']*0x8;_0x59a19d[_0x4dadfd>>>0x5]|=0x80<<0x18-_0x4dadfd%0x20;var _0xcfd0d7=_0x49ae48[_0x472734(0x39e)](_0x434691/0x100000000),_0x21a98f=_0x434691;_0x59a19d[(_0x4dadfd+0x40>>>0x9<<0x4)+0xf]=(_0xcfd0d7<<0x8|_0xcfd0d7>>>0x18)&0xff00ff|(_0xcfd0d7<<0x18|_0xcfd0d7>>>0x8)&0xff00ff00,_0x59a19d[(_0x4dadfd+0x40>>>0x9<<0x4)+0xe]=(_0x21a98f<<0x8|_0x21a98f>>>0x18)&0xff00ff|(_0x21a98f<<0x18|_0x21a98f>>>0x8)&0xff00ff00,_0x1fa58a[_0x472734(0x329)]=(_0x59a19d['length']+0x1)*0x4,this['_process']();for(var _0x2295b0=this[_0x472734(0x237)],_0xd404a7=_0x2295b0[_0x472734(0x4bd)],_0xf1476=0x0;_0xf1476<0x4;_0xf1476++){var _0x458d77=_0xd404a7[_0xf1476];_0xd404a7[_0xf1476]=(_0x458d77<<0x8|_0x458d77>>>0x18)&0xff00ff|(_0x458d77<<0x18|_0x458d77>>>0x8)&0xff00ff00;}return _0x2295b0;},'clone':function(){var _0x8fe31d=_0x29ede9,_0xadecf7=_0x218d12[_0x8fe31d(0x52f)][_0x8fe31d(0x4ba)](this);return _0xadecf7[_0x8fe31d(0x237)]=this['_hash'][_0x8fe31d(0x52f)](),_0xadecf7;}});function _0x690e83(_0x2a0d76,_0x3218df,_0x2ece85,_0x1c859f,_0x58a25e,_0x3eb135,_0x14e6fb){var _0x4957a3=_0x2a0d76+(_0x3218df&_0x2ece85|~_0x3218df&_0x1c859f)+_0x58a25e+_0x14e6fb;return(_0x4957a3<<_0x3eb135|_0x4957a3>>>0x20-_0x3eb135)+_0x3218df;}function _0x55726b(_0x2bea8b,_0x2b6d2e,_0x2ee58f,_0x5e58d1,_0x8d856,_0x487c8b,_0x5581fc){var _0xb968c6=_0x2bea8b+(_0x2b6d2e&_0x5e58d1|_0x2ee58f&~_0x5e58d1)+_0x8d856+_0x5581fc;return(_0xb968c6<<_0x487c8b|_0xb968c6>>>0x20-_0x487c8b)+_0x2b6d2e;}function _0x43fd78(_0x5a6574,_0x4d3a64,_0x2690d5,_0x77e3c0,_0x768407,_0x1e7f43,_0x1cc6d7){var _0x3d8fbb=_0x5a6574+(_0x4d3a64^_0x2690d5^_0x77e3c0)+_0x768407+_0x1cc6d7;return(_0x3d8fbb<<_0x1e7f43|_0x3d8fbb>>>0x20-_0x1e7f43)+_0x4d3a64;}function _0x10c789(_0x10bcc4,_0x41c0ff,_0x9b0c9a,_0x56b523,_0x5f1e97,_0x5869e3,_0x10f671){var _0x2242fa=_0x10bcc4+(_0x9b0c9a^(_0x41c0ff|~_0x56b523))+_0x5f1e97+_0x10f671;return(_0x2242fa<<_0x5869e3|_0x2242fa>>>0x20-_0x5869e3)+_0x41c0ff;}_0x5ad450[_0x29ede9(0x33a)]=_0x218d12['_createHelper'](_0x1e93b2),_0x5ad450['HmacMD5']=_0x218d12['_createHmacHelper'](_0x1e93b2);}(Math),_0x401e2e['MD5'];}));}(Ie)),Ie[_0x3a71da(0x243)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x288b20(0x243)],tt;function $i(){var _0x38bbd4=_0x288b20;return tt||(tt=0x1,function(_0x30e596,_0x5ce8a3){(function(_0x2634c7,_0x51703f){_0x30e596['exports']=_0x51703f(ee());}(ji,function(_0x52088f){var _0x23164c=_0x3744;return(function(){var _0x35784d=_0x3744,_0x2a03ac=_0x52088f,_0x2fb545=_0x2a03ac['lib'],_0x25a3ac=_0x2fb545['WordArray'],_0x1018ba=_0x2fb545[_0x35784d(0x37f)],_0x35676a=_0x2a03ac[_0x35784d(0x256)],_0x1a7a45=[],_0x3494ae=_0x35676a[_0x35784d(0x3f6)]=_0x1018ba[_0x35784d(0x507)]({'_doReset':function(){var _0x4f1c73=_0x35784d;this[_0x4f1c73(0x237)]=new _0x25a3ac[(_0x4f1c73(0x51c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36b541,_0x4fb3b9){var _0x23675b=_0x35784d;for(var _0x472fc5=this['_hash'][_0x23675b(0x4bd)],_0x4c5c85=_0x472fc5[0x0],_0x59afcb=_0x472fc5[0x1],_0x406b00=_0x472fc5[0x2],_0x282235=_0x472fc5[0x3],_0x517899=_0x472fc5[0x4],_0x118948=0x0;_0x118948<0x50;_0x118948++){if(_0x118948<0x10)_0x1a7a45[_0x118948]=_0x36b541[_0x4fb3b9+_0x118948]|0x0;else{var _0x37a4d0=_0x1a7a45[_0x118948-0x3]^_0x1a7a45[_0x118948-0x8]^_0x1a7a45[_0x118948-0xe]^_0x1a7a45[_0x118948-0x10];_0x1a7a45[_0x118948]=_0x37a4d0<<0x1|_0x37a4d0>>>0x1f;}var _0x56adee=(_0x4c5c85<<0x5|_0x4c5c85>>>0x1b)+_0x517899+_0x1a7a45[_0x118948];_0x118948<0x14?_0x56adee+=(_0x59afcb&_0x406b00|~_0x59afcb&_0x282235)+0x5a827999:_0x118948<0x28?_0x56adee+=(_0x59afcb^_0x406b00^_0x282235)+0x6ed9eba1:_0x118948<0x3c?_0x56adee+=(_0x59afcb&_0x406b00|_0x59afcb&_0x282235|_0x406b00&_0x282235)-0x70e44324:_0x56adee+=(_0x59afcb^_0x406b00^_0x282235)-0x359d3e2a,_0x517899=_0x282235,_0x282235=_0x406b00,_0x406b00=_0x59afcb<<0x1e|_0x59afcb>>>0x2,_0x59afcb=_0x4c5c85,_0x4c5c85=_0x56adee;}_0x472fc5[0x0]=_0x472fc5[0x0]+_0x4c5c85|0x0,_0x472fc5[0x1]=_0x472fc5[0x1]+_0x59afcb|0x0,_0x472fc5[0x2]=_0x472fc5[0x2]+_0x406b00|0x0,_0x472fc5[0x3]=_0x472fc5[0x3]+_0x282235|0x0,_0x472fc5[0x4]=_0x472fc5[0x4]+_0x517899|0x0;},'_doFinalize':function(){var _0x10882b=_0x35784d,_0x2f82f6=this[_0x10882b(0x24a)],_0x5ec588=_0x2f82f6[_0x10882b(0x4bd)],_0x5c8ff3=this[_0x10882b(0x349)]*0x8,_0x32e9d1=_0x2f82f6[_0x10882b(0x329)]*0x8;return _0x5ec588[_0x32e9d1>>>0x5]|=0x80<<0x18-_0x32e9d1%0x20,_0x5ec588[(_0x32e9d1+0x40>>>0x9<<0x4)+0xe]=Math[_0x10882b(0x39e)](_0x5c8ff3/0x100000000),_0x5ec588[(_0x32e9d1+0x40>>>0x9<<0x4)+0xf]=_0x5c8ff3,_0x2f82f6['sigBytes']=_0x5ec588[_0x10882b(0x23a)]*0x4,this[_0x10882b(0x2a3)](),this[_0x10882b(0x237)];},'clone':function(){var _0x27c8e3=_0x35784d,_0xe5543e=_0x1018ba[_0x27c8e3(0x52f)]['call'](this);return _0xe5543e[_0x27c8e3(0x237)]=this[_0x27c8e3(0x237)][_0x27c8e3(0x52f)](),_0xe5543e;}});_0x2a03ac[_0x35784d(0x3f6)]=_0x1018ba[_0x35784d(0x26b)](_0x3494ae),_0x2a03ac[_0x35784d(0x2c5)]=_0x1018ba[_0x35784d(0x3ba)](_0x3494ae);}()),_0x52088f[_0x23164c(0x3f6)];}));}(Ee)),Ee[_0x38bbd4(0x243)];}var Ce={'exports':{}},Bi=Ce[_0x288b20(0x243)],it;function Fi(){return it||(it=0x1,function(_0x5c14cf,_0x4c7b97){(function(_0x49a194,_0x6890c3){var _0x20b167=_0x3744;_0x5c14cf[_0x20b167(0x243)]=_0x6890c3(ee());}(Bi,function(_0x87bcc4){(function(){var _0x5a5dbe=_0x3744,_0x1fc708=_0x87bcc4,_0x48ee74=_0x1fc708['lib'],_0x157345=_0x48ee74['Base'],_0x2c4582=_0x1fc708[_0x5a5dbe(0x492)],_0xfc26e0=_0x2c4582[_0x5a5dbe(0x40e)],_0x566050=_0x1fc708['algo'];_0x566050[_0x5a5dbe(0x4a1)]=_0x157345[_0x5a5dbe(0x507)]({'init':function(_0x4b579c,_0x690498){var _0x1f8ca9=_0x5a5dbe;_0x4b579c=this['_hasher']=new _0x4b579c[(_0x1f8ca9(0x51c))](),typeof _0x690498==_0x1f8ca9(0x488)&&(_0x690498=_0xfc26e0[_0x1f8ca9(0x2ea)](_0x690498));var _0x1bf399=_0x4b579c[_0x1f8ca9(0x2f4)],_0x4cf71d=_0x1bf399*0x4;_0x690498[_0x1f8ca9(0x329)]>_0x4cf71d&&(_0x690498=_0x4b579c['finalize'](_0x690498)),_0x690498[_0x1f8ca9(0x527)]();for(var _0x4a81a9=this[_0x1f8ca9(0x273)]=_0x690498['clone'](),_0x2f4537=this[_0x1f8ca9(0x3e0)]=_0x690498[_0x1f8ca9(0x52f)](),_0x58de94=_0x4a81a9[_0x1f8ca9(0x4bd)],_0x44bfc9=_0x2f4537['words'],_0x4c05e2=0x0;_0x4c05e2<_0x1bf399;_0x4c05e2++)_0x58de94[_0x4c05e2]^=0x5c5c5c5c,_0x44bfc9[_0x4c05e2]^=0x36363636;_0x4a81a9['sigBytes']=_0x2f4537[_0x1f8ca9(0x329)]=_0x4cf71d,this[_0x1f8ca9(0x40a)]();},'reset':function(){var _0x1ac4db=_0x5a5dbe,_0x31720d=this['_hasher'];_0x31720d['reset'](),_0x31720d[_0x1ac4db(0x423)](this[_0x1ac4db(0x3e0)]);},'update':function(_0x4ec00){var _0x1c0135=_0x5a5dbe;return this['_hasher'][_0x1c0135(0x423)](_0x4ec00),this;},'finalize':function(_0x1c74ac){var _0x344007=_0x5a5dbe,_0x322086=this[_0x344007(0x1df)],_0x3642da=_0x322086[_0x344007(0x384)](_0x1c74ac);_0x322086[_0x344007(0x40a)]();var _0x2bceda=_0x322086[_0x344007(0x384)](this['_oKey'][_0x344007(0x52f)]()[_0x344007(0x326)](_0x3642da));return _0x2bceda;}});}());}));}(Ce)),Ce['exports'];}var Vi=me['exports'],nt;function _0x3744(_0x515f87,_0x39f71a){var _0x1c2c4c=_0x1c2c();return _0x3744=function(_0x3744ef,_0x481799){_0x3744ef=_0x3744ef-0x1ae;var _0x4fbc74=_0x1c2c4c[_0x3744ef];return _0x4fbc74;},_0x3744(_0x515f87,_0x39f71a);}function At(){var _0x2a96ba=_0x288b20;return nt||(nt=0x1,function(_0x1d121e,_0x34999c){(function(_0x14cd8c,_0x2cad27,_0x4bb454){_0x1d121e['exports']=_0x2cad27(ee(),$i(),Fi());}(Vi,function(_0x1716d6){var _0x2b289d=_0x3744;return(function(){var _0x17c9a4=_0x3744,_0x98a694=_0x1716d6,_0x1f4a28=_0x98a694[_0x17c9a4(0x53d)],_0x1136ee=_0x1f4a28['Base'],_0x2fb955=_0x1f4a28[_0x17c9a4(0x1c6)],_0x1de659=_0x98a694[_0x17c9a4(0x256)],_0x5c6ab3=_0x1de659[_0x17c9a4(0x33a)],_0x5a11d7=_0x1de659['EvpKDF']=_0x1136ee[_0x17c9a4(0x507)]({'cfg':_0x1136ee[_0x17c9a4(0x507)]({'keySize':0x80/0x20,'hasher':_0x5c6ab3,'iterations':0x1}),'init':function(_0x1b6ab1){var _0x2de481=_0x17c9a4;this['cfg']=this['cfg'][_0x2de481(0x507)](_0x1b6ab1);},'compute':function(_0x127d25,_0x10872d){var _0x2b1fd5=_0x17c9a4;for(var _0x38d845,_0x2cab6e=this[_0x2b1fd5(0x25e)],_0x3b04f6=_0x2cab6e[_0x2b1fd5(0x369)][_0x2b1fd5(0x41c)](),_0x3017e5=_0x2fb955[_0x2b1fd5(0x41c)](),_0x23a400=_0x3017e5[_0x2b1fd5(0x4bd)],_0xb8a567=_0x2cab6e[_0x2b1fd5(0x333)],_0x4661c7=_0x2cab6e[_0x2b1fd5(0x1d8)];_0x23a400[_0x2b1fd5(0x23a)]<_0xb8a567;){_0x38d845&&_0x3b04f6[_0x2b1fd5(0x423)](_0x38d845),_0x38d845=_0x3b04f6[_0x2b1fd5(0x423)](_0x127d25)[_0x2b1fd5(0x384)](_0x10872d),_0x3b04f6['reset']();for(var _0x34842c=0x1;_0x34842c<_0x4661c7;_0x34842c++)_0x38d845=_0x3b04f6[_0x2b1fd5(0x384)](_0x38d845),_0x3b04f6[_0x2b1fd5(0x40a)]();_0x3017e5['concat'](_0x38d845);}return _0x3017e5[_0x2b1fd5(0x329)]=_0xb8a567*0x4,_0x3017e5;}});_0x98a694[_0x17c9a4(0x318)]=function(_0x49cb4f,_0xe2f41,_0x3c5b15){var _0x4990a8=_0x17c9a4;return _0x5a11d7[_0x4990a8(0x41c)](_0x3c5b15)['compute'](_0x49cb4f,_0xe2f41);};}()),_0x1716d6[_0x2b289d(0x318)];}));}(me)),me[_0x2a96ba(0x243)];}var Te={'exports':{}},Wi=Te[_0x288b20(0x243)],rt;function Pt(){return rt||(rt=0x1,function(_0x2ac454,_0x50714e){(function(_0x5e32c6,_0x5de947,_0x30dc90){_0x2ac454['exports']=_0x5de947(ee(),At());}(Wi,function(_0x322ce6){var _0x4de5a2=_0x3744;_0x322ce6[_0x4de5a2(0x53d)][_0x4de5a2(0x43d)]||function(_0x4085ca){var _0x3312d4=_0x4de5a2,_0x5a23e6=_0x322ce6,_0x3cdf10=_0x5a23e6[_0x3312d4(0x53d)],_0x3a3435=_0x3cdf10[_0x3312d4(0x4ff)],_0x5c4be8=_0x3cdf10[_0x3312d4(0x1c6)],_0x46b7f3=_0x3cdf10['BufferedBlockAlgorithm'],_0x58c8a3=_0x5a23e6[_0x3312d4(0x492)];_0x58c8a3['Utf8'];var _0x316faf=_0x58c8a3[_0x3312d4(0x425)],_0x4f59ac=_0x5a23e6[_0x3312d4(0x256)],_0x4f1096=_0x4f59ac[_0x3312d4(0x318)],_0x1e10f7=_0x3cdf10['Cipher']=_0x46b7f3['extend']({'cfg':_0x3a3435[_0x3312d4(0x507)](),'createEncryptor':function(_0x52a2a0,_0x1852d8){var _0x25092a=_0x3312d4;return this[_0x25092a(0x41c)](this[_0x25092a(0x289)],_0x52a2a0,_0x1852d8);},'createDecryptor':function(_0x1e336e,_0x5d09cc){var _0x272bd9=_0x3312d4;return this['create'](this[_0x272bd9(0x3a7)],_0x1e336e,_0x5d09cc);},'init':function(_0x5781c9,_0x2ac369,_0x26f7b4){var _0xfaece6=_0x3312d4;this[_0xfaece6(0x25e)]=this['cfg'][_0xfaece6(0x507)](_0x26f7b4),this[_0xfaece6(0x4a9)]=_0x5781c9,this[_0xfaece6(0x315)]=_0x2ac369,this['reset']();},'reset':function(){var _0x18b511=_0x3312d4;_0x46b7f3[_0x18b511(0x40a)]['call'](this),this[_0x18b511(0x26a)]();},'process':function(_0x20c8f2){var _0x2f991a=_0x3312d4;return this[_0x2f991a(0x1b7)](_0x20c8f2),this[_0x2f991a(0x2a3)]();},'finalize':function(_0x583e83){var _0x40ca21=_0x3312d4;_0x583e83&&this['_append'](_0x583e83);var _0x36ba74=this[_0x40ca21(0x35b)]();return _0x36ba74;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2646bc(_0x2951d6){var _0x1add66=_0x3744;return typeof _0x2951d6==_0x1add66(0x488)?_0x2a1a1c:_0x20945e;}return function(_0x263914){return{'encrypt':function(_0x4bae7f,_0x43ade8,_0x124732){var _0x2832a0=_0x3744;return _0x2646bc(_0x43ade8)[_0x2832a0(0x2b5)](_0x263914,_0x4bae7f,_0x43ade8,_0x124732);},'decrypt':function(_0x45d748,_0x773137,_0x27dbc8){var _0x5032da=_0x3744;return _0x2646bc(_0x773137)[_0x5032da(0x474)](_0x263914,_0x45d748,_0x773137,_0x27dbc8);}};};}())});_0x3cdf10[_0x3312d4(0x215)]=_0x1e10f7[_0x3312d4(0x507)]({'_doFinalize':function(){var _0x53e050=_0x3312d4,_0x303070=this[_0x53e050(0x2a3)](!0x0);return _0x303070;},'blockSize':0x1});var _0x4e119a=_0x5a23e6[_0x3312d4(0x1ef)]={},_0x467ad4=_0x3cdf10['BlockCipherMode']=_0x3a3435[_0x3312d4(0x507)]({'createEncryptor':function(_0xddcb5e,_0x2e2c1b){var _0x8524f8=_0x3312d4;return this['Encryptor'][_0x8524f8(0x41c)](_0xddcb5e,_0x2e2c1b);},'createDecryptor':function(_0x3bb490,_0x3c61f7){var _0x2d1357=_0x3312d4;return this[_0x2d1357(0x275)][_0x2d1357(0x41c)](_0x3bb490,_0x3c61f7);},'init':function(_0x36492f,_0x41a600){var _0x3512c3=_0x3312d4;this[_0x3512c3(0x310)]=_0x36492f,this[_0x3512c3(0x459)]=_0x41a600;}}),_0x33eff1=_0x4e119a['CBC']=(function(){var _0x33400d=_0x3312d4,_0xb810f2=_0x467ad4[_0x33400d(0x507)]();_0xb810f2[_0x33400d(0x2b1)]=_0xb810f2[_0x33400d(0x507)]({'processBlock':function(_0x4af942,_0x34f1ed){var _0x560eb9=_0x33400d,_0x2e368a=this[_0x560eb9(0x310)],_0x1a5339=_0x2e368a[_0x560eb9(0x2f4)];_0x32c2b1[_0x560eb9(0x4ba)](this,_0x4af942,_0x34f1ed,_0x1a5339),_0x2e368a[_0x560eb9(0x2c8)](_0x4af942,_0x34f1ed),this['_prevBlock']=_0x4af942[_0x560eb9(0x4e6)](_0x34f1ed,_0x34f1ed+_0x1a5339);}}),_0xb810f2['Decryptor']=_0xb810f2[_0x33400d(0x507)]({'processBlock':function(_0x48d2eb,_0x1be056){var _0x2562b6=_0x33400d,_0x30dad7=this[_0x2562b6(0x310)],_0xf3af4c=_0x30dad7['blockSize'],_0x44d0fd=_0x48d2eb[_0x2562b6(0x4e6)](_0x1be056,_0x1be056+_0xf3af4c);_0x30dad7[_0x2562b6(0x444)](_0x48d2eb,_0x1be056),_0x32c2b1[_0x2562b6(0x4ba)](this,_0x48d2eb,_0x1be056,_0xf3af4c),this['_prevBlock']=_0x44d0fd;}});function _0x32c2b1(_0x1b3f8c,_0x19f545,_0x88367d){var _0x27757a=_0x33400d,_0x2796a7,_0x36a189=this[_0x27757a(0x459)];_0x36a189?(_0x2796a7=_0x36a189,this[_0x27757a(0x459)]=_0x4085ca):_0x2796a7=this[_0x27757a(0x29a)];for(var _0x1dae64=0x0;_0x1dae64<_0x88367d;_0x1dae64++)_0x1b3f8c[_0x19f545+_0x1dae64]^=_0x2796a7[_0x1dae64];}return _0xb810f2;}()),_0x1c1545=_0x5a23e6['pad']={},_0x1d5092=_0x1c1545['Pkcs7']={'pad':function(_0x562cfc,_0x1a1151){var _0x5ecdf2=_0x3312d4;for(var _0x36c11f=_0x1a1151*0x4,_0x2f9aa4=_0x36c11f-_0x562cfc[_0x5ecdf2(0x329)]%_0x36c11f,_0x3599d4=_0x2f9aa4<<0x18|_0x2f9aa4<<0x10|_0x2f9aa4<<0x8|_0x2f9aa4,_0x20771a=[],_0x5c30c7=0x0;_0x5c30c7<_0x2f9aa4;_0x5c30c7+=0x4)_0x20771a[_0x5ecdf2(0x328)](_0x3599d4);var _0x7898f7=_0x5c4be8['create'](_0x20771a,_0x2f9aa4);_0x562cfc['concat'](_0x7898f7);},'unpad':function(_0x3d595f){var _0x4a8091=_0x3312d4,_0x19c5c8=_0x3d595f[_0x4a8091(0x4bd)][_0x3d595f['sigBytes']-0x1>>>0x2]&0xff;_0x3d595f[_0x4a8091(0x329)]-=_0x19c5c8;}};_0x3cdf10[_0x3312d4(0x2da)]=_0x1e10f7[_0x3312d4(0x507)]({'cfg':_0x1e10f7[_0x3312d4(0x25e)][_0x3312d4(0x507)]({'mode':_0x33eff1,'padding':_0x1d5092}),'reset':function(){var _0x202d99=_0x3312d4,_0x3245c7;_0x1e10f7[_0x202d99(0x40a)][_0x202d99(0x4ba)](this);var _0x5bc77d=this[_0x202d99(0x25e)],_0x2317c3=_0x5bc77d['iv'],_0x194901=_0x5bc77d[_0x202d99(0x1ef)];this['_xformMode']==this[_0x202d99(0x289)]?_0x3245c7=_0x194901[_0x202d99(0x465)]:(_0x3245c7=_0x194901[_0x202d99(0x483)],this[_0x202d99(0x2d9)]=0x1),this[_0x202d99(0x32c)]&&this['_mode'][_0x202d99(0x4af)]==_0x3245c7?this[_0x202d99(0x32c)]['init'](this,_0x2317c3&&_0x2317c3[_0x202d99(0x4bd)]):(this[_0x202d99(0x32c)]=_0x3245c7['call'](_0x194901,this,_0x2317c3&&_0x2317c3[_0x202d99(0x4bd)]),this[_0x202d99(0x32c)][_0x202d99(0x4af)]=_0x3245c7);},'_doProcessBlock':function(_0x116e86,_0x597675){var _0x46cb5c=_0x3312d4;this['_mode'][_0x46cb5c(0x2a7)](_0x116e86,_0x597675);},'_doFinalize':function(){var _0x5ddea9=_0x3312d4,_0x438060,_0x274691=this['cfg'][_0x5ddea9(0x2c0)];return this['_xformMode']==this[_0x5ddea9(0x289)]?(_0x274691['pad'](this['_data'],this[_0x5ddea9(0x2f4)]),_0x438060=this[_0x5ddea9(0x2a3)](!0x0)):(_0x438060=this['_process'](!0x0),_0x274691[_0x5ddea9(0x208)](_0x438060)),_0x438060;},'blockSize':0x80/0x20});var _0x561962=_0x3cdf10[_0x3312d4(0x381)]=_0x3a3435[_0x3312d4(0x507)]({'init':function(_0x572b7a){this['mixIn'](_0x572b7a);},'toString':function(_0x366503){var _0x553b33=_0x3312d4;return(_0x366503||this[_0x553b33(0x4c2)])['stringify'](this);}}),_0x5e8c8b=_0x5a23e6[_0x3312d4(0x3b9)]={},_0x583279=_0x5e8c8b[_0x3312d4(0x47b)]={'stringify':function(_0x2a9f49){var _0x291881=_0x3312d4,_0x55789f,_0x1b40bf=_0x2a9f49[_0x291881(0x30e)],_0x29e86a=_0x2a9f49[_0x291881(0x4c9)];return _0x29e86a?_0x55789f=_0x5c4be8['create']([0x53616c74,0x65645f5f])[_0x291881(0x326)](_0x29e86a)['concat'](_0x1b40bf):_0x55789f=_0x1b40bf,_0x55789f['toString'](_0x316faf);},'parse':function(_0x24b706){var _0x2829a1=_0x3312d4,_0x3f7fa4,_0x242bed=_0x316faf[_0x2829a1(0x2ea)](_0x24b706),_0x63ca7c=_0x242bed['words'];return _0x63ca7c[0x0]==0x53616c74&&_0x63ca7c[0x1]==0x65645f5f&&(_0x3f7fa4=_0x5c4be8[_0x2829a1(0x41c)](_0x63ca7c[_0x2829a1(0x4e6)](0x2,0x4)),_0x63ca7c[_0x2829a1(0x42d)](0x0,0x4),_0x242bed[_0x2829a1(0x329)]-=0x10),_0x561962[_0x2829a1(0x41c)]({'ciphertext':_0x242bed,'salt':_0x3f7fa4});}},_0x20945e=_0x3cdf10[_0x3312d4(0x44e)]=_0x3a3435[_0x3312d4(0x507)]({'cfg':_0x3a3435[_0x3312d4(0x507)]({'format':_0x583279}),'encrypt':function(_0x12358a,_0x38e27c,_0x5dab1e,_0x277520){var _0x11232c=_0x3312d4;_0x277520=this[_0x11232c(0x25e)]['extend'](_0x277520);var _0x3ffa3b=_0x12358a[_0x11232c(0x465)](_0x5dab1e,_0x277520),_0x181493=_0x3ffa3b[_0x11232c(0x384)](_0x38e27c),_0x4e6325=_0x3ffa3b[_0x11232c(0x25e)];return _0x561962[_0x11232c(0x41c)]({'ciphertext':_0x181493,'key':_0x5dab1e,'iv':_0x4e6325['iv'],'algorithm':_0x12358a,'mode':_0x4e6325[_0x11232c(0x1ef)],'padding':_0x4e6325['padding'],'blockSize':_0x12358a['blockSize'],'formatter':_0x277520[_0x11232c(0x3b9)]});},'decrypt':function(_0x5848ec,_0x52b7c0,_0x29c2d3,_0x3a1d20){var _0x21f53c=_0x3312d4;_0x3a1d20=this[_0x21f53c(0x25e)][_0x21f53c(0x507)](_0x3a1d20),_0x52b7c0=this[_0x21f53c(0x49f)](_0x52b7c0,_0x3a1d20[_0x21f53c(0x3b9)]);var _0x2d69cc=_0x5848ec[_0x21f53c(0x483)](_0x29c2d3,_0x3a1d20)['finalize'](_0x52b7c0[_0x21f53c(0x30e)]);return _0x2d69cc;},'_parse':function(_0x2adbd3,_0x23f26d){var _0x245f75=_0x3312d4;return typeof _0x2adbd3==_0x245f75(0x488)?_0x23f26d[_0x245f75(0x2ea)](_0x2adbd3,this):_0x2adbd3;}}),_0x5bb192=_0x5a23e6['kdf']={},_0xee4ad8=_0x5bb192['OpenSSL']={'execute':function(_0x4b8db0,_0x3ce885,_0x59ec2e,_0x5108a4,_0x19777f){var _0x2754d1=_0x3312d4;if(_0x5108a4||(_0x5108a4=_0x5c4be8[_0x2754d1(0x281)](0x40/0x8)),_0x19777f)var _0x30ce9c=_0x4f1096['create']({'keySize':_0x3ce885+_0x59ec2e,'hasher':_0x19777f})[_0x2754d1(0x3f7)](_0x4b8db0,_0x5108a4);else var _0x30ce9c=_0x4f1096['create']({'keySize':_0x3ce885+_0x59ec2e})[_0x2754d1(0x3f7)](_0x4b8db0,_0x5108a4);var _0x58b7b4=_0x5c4be8[_0x2754d1(0x41c)](_0x30ce9c[_0x2754d1(0x4bd)][_0x2754d1(0x4e6)](_0x3ce885),_0x59ec2e*0x4);return _0x30ce9c[_0x2754d1(0x329)]=_0x3ce885*0x4,_0x561962[_0x2754d1(0x41c)]({'key':_0x30ce9c,'iv':_0x58b7b4,'salt':_0x5108a4});}},_0x2a1a1c=_0x3cdf10[_0x3312d4(0x4a7)]=_0x20945e['extend']({'cfg':_0x20945e[_0x3312d4(0x25e)][_0x3312d4(0x507)]({'kdf':_0xee4ad8}),'encrypt':function(_0x1aac0c,_0x447902,_0xe6b4aa,_0x441a08){var _0x17bdf6=_0x3312d4;_0x441a08=this['cfg'][_0x17bdf6(0x507)](_0x441a08);var _0x183041=_0x441a08['kdf'][_0x17bdf6(0x4d5)](_0xe6b4aa,_0x1aac0c[_0x17bdf6(0x333)],_0x1aac0c[_0x17bdf6(0x4cc)],_0x441a08[_0x17bdf6(0x4c9)],_0x441a08[_0x17bdf6(0x369)]);_0x441a08['iv']=_0x183041['iv'];var _0x2b97e3=_0x20945e[_0x17bdf6(0x2b5)][_0x17bdf6(0x4ba)](this,_0x1aac0c,_0x447902,_0x183041['key'],_0x441a08);return _0x2b97e3[_0x17bdf6(0x22a)](_0x183041),_0x2b97e3;},'decrypt':function(_0x2ed7ce,_0x135a1c,_0xce9460,_0x563f65){var _0x3b7276=_0x3312d4;_0x563f65=this[_0x3b7276(0x25e)][_0x3b7276(0x507)](_0x563f65),_0x135a1c=this[_0x3b7276(0x49f)](_0x135a1c,_0x563f65['format']);var _0x2868bd=_0x563f65[_0x3b7276(0x280)][_0x3b7276(0x4d5)](_0xce9460,_0x2ed7ce[_0x3b7276(0x333)],_0x2ed7ce[_0x3b7276(0x4cc)],_0x135a1c[_0x3b7276(0x4c9)],_0x563f65[_0x3b7276(0x369)]);_0x563f65['iv']=_0x2868bd['iv'];var _0x5375e0=_0x20945e[_0x3b7276(0x474)][_0x3b7276(0x4ba)](this,_0x2ed7ce,_0x135a1c,_0x2868bd[_0x3b7276(0x4f6)],_0x563f65);return _0x5375e0;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x288b20(0x243)],st;function Ki(){var _0x16f493=_0x288b20;return st||(st=0x1,function(_0x1cb6c3,_0x1e594f){(function(_0x2afedb,_0x5c6003,_0x6d22b2){_0x1cb6c3['exports']=_0x5c6003(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x541966){var _0x4c5228=_0x3744;return(function(){var _0x3cd71a=_0x3744,_0x33c9fc=_0x541966,_0x5d2359=_0x33c9fc[_0x3cd71a(0x53d)],_0x42deae=_0x5d2359[_0x3cd71a(0x2da)],_0x5e5af5=_0x33c9fc[_0x3cd71a(0x256)],_0xcc0b90=[],_0x14b98f=[],_0x4434c8=[],_0x249afc=[],_0x382822=[],_0x3a6e29=[],_0x43d652=[],_0x13d2ce=[],_0x53f5fe=[],_0x5a18ae=[];(function(){for(var _0x34b072=[],_0x4f6128=0x0;_0x4f6128<0x100;_0x4f6128++)_0x4f6128<0x80?_0x34b072[_0x4f6128]=_0x4f6128<<0x1:_0x34b072[_0x4f6128]=_0x4f6128<<0x1^0x11b;for(var _0x5659bf=0x0,_0x5c4ce3=0x0,_0x4f6128=0x0;_0x4f6128<0x100;_0x4f6128++){var _0x2c8630=_0x5c4ce3^_0x5c4ce3<<0x1^_0x5c4ce3<<0x2^_0x5c4ce3<<0x3^_0x5c4ce3<<0x4;_0x2c8630=_0x2c8630>>>0x8^_0x2c8630&0xff^0x63,_0xcc0b90[_0x5659bf]=_0x2c8630,_0x14b98f[_0x2c8630]=_0x5659bf;var _0x3d4aff=_0x34b072[_0x5659bf],_0x3185f0=_0x34b072[_0x3d4aff],_0x3c5d8c=_0x34b072[_0x3185f0],_0x394830=_0x34b072[_0x2c8630]*0x101^_0x2c8630*0x1010100;_0x4434c8[_0x5659bf]=_0x394830<<0x18|_0x394830>>>0x8,_0x249afc[_0x5659bf]=_0x394830<<0x10|_0x394830>>>0x10,_0x382822[_0x5659bf]=_0x394830<<0x8|_0x394830>>>0x18,_0x3a6e29[_0x5659bf]=_0x394830;var _0x394830=_0x3c5d8c*0x1010101^_0x3185f0*0x10001^_0x3d4aff*0x101^_0x5659bf*0x1010100;_0x43d652[_0x2c8630]=_0x394830<<0x18|_0x394830>>>0x8,_0x13d2ce[_0x2c8630]=_0x394830<<0x10|_0x394830>>>0x10,_0x53f5fe[_0x2c8630]=_0x394830<<0x8|_0x394830>>>0x18,_0x5a18ae[_0x2c8630]=_0x394830,_0x5659bf?(_0x5659bf=_0x3d4aff^_0x34b072[_0x34b072[_0x34b072[_0x3c5d8c^_0x3d4aff]]],_0x5c4ce3^=_0x34b072[_0x34b072[_0x5c4ce3]]):_0x5659bf=_0x5c4ce3=0x1;}}());var _0x466526=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x439437=_0x5e5af5[_0x3cd71a(0x294)]=_0x42deae[_0x3cd71a(0x507)]({'_doReset':function(){var _0x394a55=_0x3cd71a,_0x4fbef2;if(!(this[_0x394a55(0x290)]&&this['_keyPriorReset']===this[_0x394a55(0x315)])){for(var _0x101f07=this[_0x394a55(0x410)]=this[_0x394a55(0x315)],_0x24c24a=_0x101f07[_0x394a55(0x4bd)],_0x13f6a3=_0x101f07['sigBytes']/0x4,_0x42eca3=this[_0x394a55(0x290)]=_0x13f6a3+0x6,_0x44faff=(_0x42eca3+0x1)*0x4,_0x2edda2=this[_0x394a55(0x2ce)]=[],_0x356e16=0x0;_0x356e16<_0x44faff;_0x356e16++)_0x356e16<_0x13f6a3?_0x2edda2[_0x356e16]=_0x24c24a[_0x356e16]:(_0x4fbef2=_0x2edda2[_0x356e16-0x1],_0x356e16%_0x13f6a3?_0x13f6a3>0x6&&_0x356e16%_0x13f6a3==0x4&&(_0x4fbef2=_0xcc0b90[_0x4fbef2>>>0x18]<<0x18|_0xcc0b90[_0x4fbef2>>>0x10&0xff]<<0x10|_0xcc0b90[_0x4fbef2>>>0x8&0xff]<<0x8|_0xcc0b90[_0x4fbef2&0xff]):(_0x4fbef2=_0x4fbef2<<0x8|_0x4fbef2>>>0x18,_0x4fbef2=_0xcc0b90[_0x4fbef2>>>0x18]<<0x18|_0xcc0b90[_0x4fbef2>>>0x10&0xff]<<0x10|_0xcc0b90[_0x4fbef2>>>0x8&0xff]<<0x8|_0xcc0b90[_0x4fbef2&0xff],_0x4fbef2^=_0x466526[_0x356e16/_0x13f6a3|0x0]<<0x18),_0x2edda2[_0x356e16]=_0x2edda2[_0x356e16-_0x13f6a3]^_0x4fbef2);for(var _0x27f805=this['_invKeySchedule']=[],_0x56f8ab=0x0;_0x56f8ab<_0x44faff;_0x56f8ab++){var _0x356e16=_0x44faff-_0x56f8ab;if(_0x56f8ab%0x4)var _0x4fbef2=_0x2edda2[_0x356e16];else var _0x4fbef2=_0x2edda2[_0x356e16-0x4];_0x56f8ab<0x4||_0x356e16<=0x4?_0x27f805[_0x56f8ab]=_0x4fbef2:_0x27f805[_0x56f8ab]=_0x43d652[_0xcc0b90[_0x4fbef2>>>0x18]]^_0x13d2ce[_0xcc0b90[_0x4fbef2>>>0x10&0xff]]^_0x53f5fe[_0xcc0b90[_0x4fbef2>>>0x8&0xff]]^_0x5a18ae[_0xcc0b90[_0x4fbef2&0xff]];}}},'encryptBlock':function(_0x12f96d,_0x23037f){var _0x2765bd=_0x3cd71a;this[_0x2765bd(0x46d)](_0x12f96d,_0x23037f,this[_0x2765bd(0x2ce)],_0x4434c8,_0x249afc,_0x382822,_0x3a6e29,_0xcc0b90);},'decryptBlock':function(_0x2d5727,_0x37d68e){var _0x1eb2d0=_0x3cd71a,_0x19f22d=_0x2d5727[_0x37d68e+0x1];_0x2d5727[_0x37d68e+0x1]=_0x2d5727[_0x37d68e+0x3],_0x2d5727[_0x37d68e+0x3]=_0x19f22d,this[_0x1eb2d0(0x46d)](_0x2d5727,_0x37d68e,this[_0x1eb2d0(0x346)],_0x43d652,_0x13d2ce,_0x53f5fe,_0x5a18ae,_0x14b98f);var _0x19f22d=_0x2d5727[_0x37d68e+0x1];_0x2d5727[_0x37d68e+0x1]=_0x2d5727[_0x37d68e+0x3],_0x2d5727[_0x37d68e+0x3]=_0x19f22d;},'_doCryptBlock':function(_0x515a76,_0x496f14,_0x3bd176,_0x5d7d11,_0x58df6d,_0x3956f0,_0x3a4408,_0x35f9d){var _0x3e35d4=_0x3cd71a;for(var _0x37c098=this[_0x3e35d4(0x290)],_0x3095b6=_0x515a76[_0x496f14]^_0x3bd176[0x0],_0x1ccaaf=_0x515a76[_0x496f14+0x1]^_0x3bd176[0x1],_0x1d98f9=_0x515a76[_0x496f14+0x2]^_0x3bd176[0x2],_0x31d4ab=_0x515a76[_0x496f14+0x3]^_0x3bd176[0x3],_0x2a05e7=0x4,_0x3b64d9=0x1;_0x3b64d9<_0x37c098;_0x3b64d9++){var _0x2c9b2e=_0x5d7d11[_0x3095b6>>>0x18]^_0x58df6d[_0x1ccaaf>>>0x10&0xff]^_0x3956f0[_0x1d98f9>>>0x8&0xff]^_0x3a4408[_0x31d4ab&0xff]^_0x3bd176[_0x2a05e7++],_0x5c673d=_0x5d7d11[_0x1ccaaf>>>0x18]^_0x58df6d[_0x1d98f9>>>0x10&0xff]^_0x3956f0[_0x31d4ab>>>0x8&0xff]^_0x3a4408[_0x3095b6&0xff]^_0x3bd176[_0x2a05e7++],_0x5db9a4=_0x5d7d11[_0x1d98f9>>>0x18]^_0x58df6d[_0x31d4ab>>>0x10&0xff]^_0x3956f0[_0x3095b6>>>0x8&0xff]^_0x3a4408[_0x1ccaaf&0xff]^_0x3bd176[_0x2a05e7++],_0x5192fa=_0x5d7d11[_0x31d4ab>>>0x18]^_0x58df6d[_0x3095b6>>>0x10&0xff]^_0x3956f0[_0x1ccaaf>>>0x8&0xff]^_0x3a4408[_0x1d98f9&0xff]^_0x3bd176[_0x2a05e7++];_0x3095b6=_0x2c9b2e,_0x1ccaaf=_0x5c673d,_0x1d98f9=_0x5db9a4,_0x31d4ab=_0x5192fa;}var _0x2c9b2e=(_0x35f9d[_0x3095b6>>>0x18]<<0x18|_0x35f9d[_0x1ccaaf>>>0x10&0xff]<<0x10|_0x35f9d[_0x1d98f9>>>0x8&0xff]<<0x8|_0x35f9d[_0x31d4ab&0xff])^_0x3bd176[_0x2a05e7++],_0x5c673d=(_0x35f9d[_0x1ccaaf>>>0x18]<<0x18|_0x35f9d[_0x1d98f9>>>0x10&0xff]<<0x10|_0x35f9d[_0x31d4ab>>>0x8&0xff]<<0x8|_0x35f9d[_0x3095b6&0xff])^_0x3bd176[_0x2a05e7++],_0x5db9a4=(_0x35f9d[_0x1d98f9>>>0x18]<<0x18|_0x35f9d[_0x31d4ab>>>0x10&0xff]<<0x10|_0x35f9d[_0x3095b6>>>0x8&0xff]<<0x8|_0x35f9d[_0x1ccaaf&0xff])^_0x3bd176[_0x2a05e7++],_0x5192fa=(_0x35f9d[_0x31d4ab>>>0x18]<<0x18|_0x35f9d[_0x3095b6>>>0x10&0xff]<<0x10|_0x35f9d[_0x1ccaaf>>>0x8&0xff]<<0x8|_0x35f9d[_0x1d98f9&0xff])^_0x3bd176[_0x2a05e7++];_0x515a76[_0x496f14]=_0x2c9b2e,_0x515a76[_0x496f14+0x1]=_0x5c673d,_0x515a76[_0x496f14+0x2]=_0x5db9a4,_0x515a76[_0x496f14+0x3]=_0x5192fa;},'keySize':0x100/0x20});_0x33c9fc[_0x3cd71a(0x294)]=_0x42deae['_createHelper'](_0x439437);}()),_0x541966[_0x4c5228(0x294)];}));}(fe)),fe[_0x16f493(0x243)];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x1474dd=_0x288b20;return at||(at=0x1,function(_0x285e44,_0x5e2284){(function(_0x17e8a5,_0x4330a6){var _0xe146dc=_0x3744;_0x285e44[_0xe146dc(0x243)]=_0x4330a6(ee());}(Ji,function(_0x83dec0){var _0x5d8222=_0x3744;return _0x83dec0[_0x5d8222(0x492)][_0x5d8222(0x40e)];}));}(be)),be[_0x1474dd(0x243)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x288b20(0x243)],ct;function tn(){var _0x57187c=_0x288b20;return ct||(ct=0x1,function(_0xa63c51,_0x9b06cc){(function(_0x117bb6,_0x17bbb4){var _0x24d961=_0x3744;_0xa63c51[_0x24d961(0x243)]=_0x17bbb4(ee());}(en,function(_0x180c6b){var _0x11067a=_0x3744;return(function(){var _0x30df6d=_0x3744;if(typeof ArrayBuffer==_0x30df6d(0x4a2)){var _0x20c52f=_0x180c6b,_0x53ea92=_0x20c52f[_0x30df6d(0x53d)],_0x26123f=_0x53ea92[_0x30df6d(0x1c6)],_0x405795=_0x26123f['init'],_0x2083a2=_0x26123f[_0x30df6d(0x51c)]=function(_0x3354ce){var _0x3dc29d=_0x30df6d;if(_0x3354ce instanceof ArrayBuffer&&(_0x3354ce=new Uint8Array(_0x3354ce)),(_0x3354ce instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3354ce instanceof Uint8ClampedArray||_0x3354ce instanceof Int16Array||_0x3354ce instanceof Uint16Array||_0x3354ce instanceof Int32Array||_0x3354ce instanceof Uint32Array||_0x3354ce instanceof Float32Array||_0x3354ce instanceof Float64Array)&&(_0x3354ce=new Uint8Array(_0x3354ce[_0x3dc29d(0x39a)],_0x3354ce[_0x3dc29d(0x241)],_0x3354ce[_0x3dc29d(0x327)])),_0x3354ce instanceof Uint8Array){for(var _0x3c6b29=_0x3354ce[_0x3dc29d(0x327)],_0x35902f=[],_0x533d93=0x0;_0x533d93<_0x3c6b29;_0x533d93++)_0x35902f[_0x533d93>>>0x2]|=_0x3354ce[_0x533d93]<<0x18-_0x533d93%0x4*0x8;_0x405795[_0x3dc29d(0x4ba)](this,_0x35902f,_0x3c6b29);}else _0x405795['apply'](this,arguments);};_0x2083a2[_0x30df6d(0x3dd)]=_0x26123f;}}()),_0x180c6b[_0x11067a(0x53d)][_0x11067a(0x1c6)];}));}(Re)),Re[_0x57187c(0x243)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0x5067b2=_0x288b20;return ht||(ht=0x1,function(_0xc058d2,_0x5c5bc7){(function(_0x5864fe,_0x13918d,_0x395aec){_0xc058d2['exports']=_0x13918d(ee(),Pt());}(sn,function(_0x193d38){var _0x17af9d=_0x3744;return _0x193d38[_0x17af9d(0x24c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x193d38['pad'][_0x17af9d(0x4ed)];}));}(Oe)),Oe[_0x5067b2(0x243)];}var an=on();const cn=Se(an);function hn(_0x5ead24,_0x8e9366){var _0x31b78e=_0x288b20;const _0x1421b0=_0x8e9366-_0x5ead24[_0x31b78e(0x23a)]%_0x8e9366,_0x5705ad=String['fromCharCode'](_0x1421b0)[_0x31b78e(0x396)](_0x1421b0);return _0x5ead24+_0x5705ad;}function _n(_0x16c60c,_0x2eb07a){var _0x1c2c39=_0x288b20;const _0x104ac2=rn[_0x1c2c39(0x281)](0x10),_0x4ba915=hn(_0x16c60c,0x10),_0x42f218=qi[_0x1c2c39(0x2b5)](Qi['parse'](_0x4ba915),ot[_0x1c2c39(0x2ea)](_0x2eb07a),{'iv':_0x104ac2,'padding':cn});return _0x104ac2['concat'](_0x42f218[_0x1c2c39(0x30e)])['toString'](ot);}function ln(){var _0x3543e0=_0x288b20;const _0x457fe3=xt[_0x3543e0(0x3e7)]()[_0x3543e0(0x1f7)];if(_0x457fe3){const _0x3bffb4={'time':Math[_0x3543e0(0x39e)](Date[_0x3543e0(0x4e3)]()/0x3e8),'domain':location[_0x3543e0(0x307)]};return _n(JSON[_0x3543e0(0x4f8)](_0x3bffb4),_0x457fe3);}}var un=Object[_0x288b20(0x284)],dn=(_0x1d8be9,_0x250d4e,_0x5d2c6e,_0x5c42d8)=>{for(var _0x39f548=_0x5c42d8>0x1?void 0x0:_0x5c42d8?un(_0x250d4e,_0x5d2c6e):_0x250d4e,_0x84756f=_0x1d8be9['length']-0x1,_0x2c0dd3;_0x84756f>=0x0;_0x84756f--)(_0x2c0dd3=_0x1d8be9[_0x84756f])&&(_0x39f548=_0x2c0dd3(_0x39f548)||_0x39f548);return _0x39f548;},vn=(_0x13b3f7,_0x10e3fa)=>(_0x518882,_0x8d92d0)=>_0x10e3fa(_0x518882,_0x8d92d0,_0x13b3f7);let Ne=class{constructor(_0x1e9a05){var _0x4b208a=_0x288b20;this[_0x4b208a(0x213)]=_0x1e9a05,this[_0x4b208a(0x36e)]();}['_initRequestHeader'](){var _0x1d3888=_0x288b20;this[_0x1d3888(0x213)]['registerHTTPInterceptor']({'interceptor':(_0xc425cb,_0x3d9c9f)=>{var _0x57b7c0=_0x1d3888;const _0x3cf226=_0xc425cb[_0x57b7c0(0x4cf)],_0xe0ee43=ln();return _0xe0ee43&&_0x3cf226[_0x57b7c0(0x29f)](_0x57b7c0(0x485),_0xe0ee43),_0x3d9c9f(_0xc425cb);}});}};Ne=dn([vn(0x0,a[_0x288b20(0x257)](q[_0x288b20(0x4c8)]))],Ne);var Sn=Object[_0x288b20(0x284)],fn=(_0x4d34e8,_0x1dfc3e,_0x208dfc,_0x4d938e)=>{var _0x29159c=_0x288b20;for(var _0x51812e=_0x4d938e>0x1?void 0x0:_0x4d938e?Sn(_0x1dfc3e,_0x208dfc):_0x1dfc3e,_0x2403a3=_0x4d34e8[_0x29159c(0x23a)]-0x1,_0x1b7e72;_0x2403a3>=0x0;_0x2403a3--)(_0x1b7e72=_0x4d34e8[_0x2403a3])&&(_0x51812e=_0x1b7e72(_0x51812e)||_0x51812e);return _0x51812e;},Me=(_0x1a3c3d,_0x1bd679)=>(_0x5b07aa,_0x105b8b)=>_0x1bd679(_0x5b07aa,_0x105b8b,_0x1a3c3d);exports['DataLoaderService']=class extends a[_0x288b20(0x1d2)]{constructor(_0x372618,_0x21bb1e,_0x73b4b7){var _0x1e3c39=_0x288b20;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x1e3c39(0x2d6),this[_0x1e3c39(0x525)][_0x1e3c39(0x3da)]()),(this[_0x1e3c39(0x484)]=_0x372618,this[_0x1e3c39(0x370)]=_0x21bb1e,this[_0x1e3c39(0x225)]=_0x73b4b7);}async['loadUnit'](_0x33a13c,_0x87a54d,_0x152af0){var _0x2e85c6=_0x288b20;this[_0x2e85c6(0x525)][_0x2e85c6(0x479)]({'unitId':_0x33a13c,'type':_0x87a54d,'subUnitId':_0x152af0});let _0x5e6f37=null;switch(_0x87a54d){case X[_0x2e85c6(0x517)]:{_0x5e6f37=await this[_0x2e85c6(0x466)](_0x33a13c);break;}case X['UNIVER_DOC']:{_0x5e6f37=await this[_0x2e85c6(0x2e0)](_0x33a13c);break;}default:{this[_0x2e85c6(0x484)][_0x2e85c6(0x3b2)]('[DataLoaderService]',_0x2e85c6(0x31a));break;}}return _0x5e6f37;}async[_0x288b20(0x466)](_0x6abce4){var _0x30beb3=_0x288b20,_0x572294;let _0x29fe45=0x0;const _0x1d46bc=await((_0x572294=this[_0x30beb3(0x225)])==null?void 0x0:_0x572294[_0x30beb3(0x343)](_0x6abce4));return _0x1d46bc&&(_0x1d46bc['awaitingChangeset']||_0x1d46bc[_0x30beb3(0x1f5)]['length']!==0x0)&&(_0x29fe45=_0x1d46bc[_0x30beb3(0x4d7)]),_0x29fe45===0x0&&this[_0x30beb3(0x484)]['debug'](_0x30beb3(0x21d),_0x30beb3(0x413)),this[_0x30beb3(0x370)][_0x30beb3(0x49b)](_0x6abce4,_0x29fe45);}async[_0x288b20(0x2e0)](_0x56d590){var _0x4753af=_0x288b20,_0xeebd24;let _0x483384=0x0;const _0x2f1fbc=await((_0xeebd24=this[_0x4753af(0x225)])==null?void 0x0:_0xeebd24[_0x4753af(0x343)](_0x56d590));return _0x2f1fbc&&(_0x2f1fbc[_0x4753af(0x25b)]||_0x2f1fbc['mutations']['length']!==0x0)&&(_0x483384=_0x2f1fbc[_0x4753af(0x4d7)]),_0x483384===0x0&&this[_0x4753af(0x484)][_0x4753af(0x31f)](_0x4753af(0x21d),_0x4753af(0x413)),this[_0x4753af(0x370)][_0x4753af(0x539)](_0x56d590,_0x483384);}},exports['DataLoaderService']=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x288b20(0x257)](g[_0x288b20(0x227)])),Me(0x2,a['Optional'](z))],exports['DataLoaderService']);var pn=Object[_0x288b20(0x284)],gn=(_0x55236f,_0x203858,_0x8e99d7,_0x4da289)=>{var _0x4c62bd=_0x288b20;for(var _0x47605e=_0x4da289>0x1?void 0x0:_0x4da289?pn(_0x203858,_0x8e99d7):_0x203858,_0x38a4ae=_0x55236f[_0x4c62bd(0x23a)]-0x1,_0x90c469;_0x38a4ae>=0x0;_0x38a4ae--)(_0x90c469=_0x55236f[_0x38a4ae])&&(_0x47605e=_0x90c469(_0x47605e)||_0x47605e);return _0x47605e;},xe=(_0x3c103c,_0x359313)=>(_0x519d02,_0x345bed)=>_0x359313(_0x519d02,_0x345bed,_0x3c103c);const In=[_0x288b20(0x38f),_0x288b20(0x520),_0x288b20(0x4e2),_0x288b20(0x2b0),'image/bmp'],mn=0x5*0x400*0x400,En=_0x288b20(0x3d1),Cn=_0x288b20(0x261),Tn=_0x288b20(0x50f),bn=_0x288b20(0x4eb);exports[_0x288b20(0x2c4)]=class{constructor(_0xf6b25a,_0x498fd5,_0x176ae9){var _0x5b4824=_0x288b20;A(this,'_waitCount',0x0),A(this,_0x5b4824(0x335),new j[(_0x5b4824(0x389))]()),A(this,'change$',this[_0x5b4824(0x335)]),A(this,'_imageSourceCache',new Map()),(this[_0x5b4824(0x213)]=_0xf6b25a,this[_0x5b4824(0x268)]=_0x498fd5,this[_0x5b4824(0x4a4)]=_0x176ae9);}['setWaitCount'](_0x5b30ec){var _0x18144b=_0x288b20;this[_0x18144b(0x390)]=_0x5b30ec,this[_0x18144b(0x335)]['next'](_0x5b30ec);}[_0x288b20(0x4f5)](_0x8243b8,_0x3e7a16){var _0x3ca79d=_0x288b20;if(_0x3e7a16===J[_0x3ca79d(0x363)]['BASE64']){const _0x1aca44=new Image();return _0x1aca44['src']=_0x8243b8,_0x1aca44;}return this[_0x3ca79d(0x46b)][_0x3ca79d(0x1bb)](_0x8243b8);}[_0x288b20(0x445)](_0x36195c,_0x3f55e4,_0x49a3f3){var _0x4a2c12=_0x288b20;_0x3f55e4===J[_0x4a2c12(0x363)][_0x4a2c12(0x3ad)]||_0x49a3f3==null||this['_imageSourceCache'][_0x4a2c12(0x29f)](_0x36195c,_0x49a3f3);}async[_0x288b20(0x332)](_0x3b5e3e){var _0x383c35=_0x288b20;try{const _0x30f5da=this[_0x383c35(0x538)](this[_0x383c35(0x32a)](),''+_0x3b5e3e),_0x417502=(await this['_httpService'][_0x383c35(0x1bb)](_0x30f5da))[_0x383c35(0x2d1)];if(_0x417502[_0x383c35(0x3b2)]&&_0x417502[_0x383c35(0x3b2)][_0x383c35(0x3b7)]===Ct['OK']){const _0x34e676=new URL(_0x417502[_0x383c35(0x38d)],this[_0x383c35(0x1e5)]())[_0x383c35(0x377)]();return Promise[_0x383c35(0x47d)](_0x34e676);}return Promise[_0x383c35(0x277)](_0x417502['error']);}catch(_0x414539){return Promise[_0x383c35(0x277)](_0x414539);}}async[_0x288b20(0x1d0)](_0x2352bd){var _0x3fbc59=_0x288b20;let _0x1dfa55='';if(!In[_0x3fbc59(0x533)](_0x2352bd[_0x3fbc59(0x2cb)]))return this['_decreaseWaiting'](),Promise[_0x3fbc59(0x277)](new Error(J[_0x3fbc59(0x356)][_0x3fbc59(0x3ab)]));if(_0x2352bd[_0x3fbc59(0x34f)]>mn)return this[_0x3fbc59(0x4bb)](),Promise[_0x3fbc59(0x277)](new Error(J[_0x3fbc59(0x356)][_0x3fbc59(0x4b2)]));try{const _0x512201=new FormData();_0x512201['append'](_0x3fbc59(0x316),_0x2352bd);const _0x40e2d2=this['_univerInstanceService']['getFocusedUnit'](),_0x58e26b=_0x40e2d2==null?void 0x0:_0x40e2d2[_0x3fbc59(0x362)]();if(!_0x58e26b)throw new Error('unitId\x20is\x20not\x20found');const _0x4c8372=this['_getUploadFileURL']()+_0x3fbc59(0x462)+_0x2352bd[_0x3fbc59(0x34f)][_0x3fbc59(0x377)]()+'&source='+Tt[_0x3fbc59(0x2bf)]+_0x3fbc59(0x2f9)+encodeURIComponent(_0x58e26b),_0x4b23eb={'body':_0x512201},_0x259bbf=(await this['_httpService'][_0x3fbc59(0x3d0)](_0x4c8372,_0x4b23eb))[_0x3fbc59(0x2d1)];if(typeof _0x259bbf['FileId']!=_0x3fbc59(0x488))return this[_0x3fbc59(0x4bb)](),Promise[_0x3fbc59(0x277)](new Error(J[_0x3fbc59(0x356)][_0x3fbc59(0x392)]));_0x1dfa55=_0x259bbf[_0x3fbc59(0x3e5)];}catch{return this[_0x3fbc59(0x4bb)](),Promise[_0x3fbc59(0x277)](new Error(J[_0x3fbc59(0x356)]['ERROR_IMAGE']));}return new Promise((_0x3f54fc,_0x604fe6)=>{var _0x53cd92=_0x3fbc59;const _0x2ee7ab=new FileReader();_0x2ee7ab[_0x53cd92(0x468)](_0x2352bd),_0x2ee7ab[_0x53cd92(0x4d9)]=_0x2e4aa7=>{var _0x2da4c5=_0x53cd92,_0x3789e9;const _0x21b39f=(_0x3789e9=_0x2e4aa7[_0x2da4c5(0x22b)])==null?void 0x0:_0x3789e9[_0x2da4c5(0x43c)];if(_0x21b39f==null){this[_0x2da4c5(0x4bb)](),_0x604fe6(new Error(J[_0x2da4c5(0x356)][_0x2da4c5(0x392)]));return;}const _0x316520=a[_0x2da4c5(0x2ee)][_0x2da4c5(0x297)](0x6);_0x3f54fc({'imageId':_0x316520,'imageSourceType':J[_0x2da4c5(0x363)]['UUID'],'source':_0x1dfa55,'base64Cache':_0x21b39f,'status':J[_0x2da4c5(0x356)]['SUCCUSS']}),this[_0x2da4c5(0x4bb)]();};});}['_getUploadFileURL'](){var _0x4dbf74=_0x288b20,_0xf2bc16,_0xc278e2;const _0x31b060=this['_configService'][_0x4dbf74(0x2e2)](En),_0x4b96d4=this[_0x4dbf74(0x268)][_0x4dbf74(0x2e2)](Y);return(_0xc278e2=(_0xf2bc16=_0x4b96d4==null?void 0x0:_0x4b96d4[_0x4dbf74(0x2c9)])!=null?_0xf2bc16:_0x31b060)!=null?_0xc278e2:Cn;}[_0x288b20(0x32a)](){var _0x1ee737=_0x288b20,_0xc22bc1,_0x17a87d;const _0x4a3914=this[_0x1ee737(0x268)][_0x1ee737(0x2e2)](Tn),_0xec6f7e=this['_configService'][_0x1ee737(0x2e2)](Y);return(_0x17a87d=(_0xc22bc1=_0xec6f7e==null?void 0x0:_0xec6f7e[_0x1ee737(0x1f8)])!=null?_0xc22bc1:_0x4a3914)!=null?_0x17a87d:bn;}[_0x288b20(0x1e5)](){var _0x58998a=_0x288b20,_0x101b2e;const _0xd5c04c=this[_0x58998a(0x268)]['getConfig'](Y);return(_0x101b2e=_0xd5c04c==null?void 0x0:_0xd5c04c[_0x58998a(0x2e1)])!=null?_0x101b2e:location[_0x58998a(0x319)];}['_replaceFileID'](_0x5195a0,_0x191a1d){var _0x11e2d4=_0x288b20;return _0x5195a0[_0x11e2d4(0x3dc)](_0x11e2d4(0x4bf),_0x191a1d);}[_0x288b20(0x4bb)](){var _0x19d45f=_0x288b20;this['_waitCount']-=0x1,this[_0x19d45f(0x335)]['next'](this[_0x19d45f(0x390)]);}},exports[_0x288b20(0x2c4)]=gn([xe(0x0,a[_0x288b20(0x257)](q[_0x288b20(0x4c8)])),xe(0x1,a[_0x288b20(0x2b6)]),xe(0x2,a[_0x288b20(0x257)](a['IUniverInstanceService']))],exports[_0x288b20(0x2c4)]);var Rn=Object[_0x288b20(0x284)],On=(_0x3f3d0d,_0xfce511,_0x4098e8,_0xfe1d6b)=>{var _0x16c218=_0x288b20;for(var _0x4416cc=_0xfe1d6b>0x1?void 0x0:_0xfe1d6b?Rn(_0xfce511,_0x4098e8):_0xfce511,_0xec5e3c=_0x3f3d0d[_0x16c218(0x23a)]-0x1,_0x3d1491;_0xec5e3c>=0x0;_0xec5e3c--)(_0x3d1491=_0x3f3d0d[_0xec5e3c])&&(_0x4416cc=_0x3d1491(_0x4416cc)||_0x4416cc);return _0x4416cc;},_t=(_0x1f0c9c,_0x68e37a)=>(_0x406643,_0x4ee1fe)=>_0x68e37a(_0x406643,_0x4ee1fe,_0x1f0c9c);const yn=_0x288b20(0x23c);exports[_0x288b20(0x258)]=class{constructor(_0x75a7a1,_0x5b4a15){var _0x57491e=_0x288b20;this[_0x57491e(0x268)]=_0x75a7a1,this[_0x57491e(0x2dd)]=_0x5b4a15;}[_0x288b20(0x255)](){var _0x338202=_0x288b20,_0x1448f4,_0x1a114f;const _0x433a31=this[_0x338202(0x268)]['getConfig'](Ge),_0x4034ce=this[_0x338202(0x268)][_0x338202(0x2e2)](Y);return(_0x1a114f=(_0x1448f4=_0x4034ce==null?void 0x0:_0x4034ce[_0x338202(0x3e6)])!=null?_0x1448f4:_0x433a31)!=null?_0x1a114f:yn;}async[_0x288b20(0x299)](_0x5affa6){var _0x1570b1=_0x288b20;const _0x2d926e=this['_getAPIPrefixPath']()+_0x1570b1(0x541);return{'list':[{'title':'People','mentions':(await this[_0x1570b1(0x2dd)]['get'](_0x2d926e,{'params':{'objectID':_0x5affa6[_0x1570b1(0x30f)],'unitID':_0x5affa6['unitId']}}))[_0x1570b1(0x2d1)][_0x1570b1(0x2b7)][_0x1570b1(0x430)](_0x18a7ae=>({'objectId':_0x18a7ae['id'],'name':_0x18a7ae[_0x1570b1(0x41a)][_0x1570b1(0x1c7)],'metadata':{'icon':_0x18a7ae[_0x1570b1(0x41a)][_0x1570b1(0x3d2)]},'label':_0x18a7ae['subject']['name'],'objectType':a['MentionType'][_0x1570b1(0x3c8)]})),'metadata':{},'type':a[_0x1570b1(0x391)][_0x1570b1(0x3c8)]}]};}},exports[_0x288b20(0x258)]=On([_t(0x0,a[_0x288b20(0x257)](a[_0x288b20(0x2b6)])),_t(0x1,a['Inject'](q['HTTPService']))],exports['MentionIoHttpService']);var Nn=Object['getOwnPropertyDescriptor'],Un=(_0x453322,_0x2e0ab6,_0x581df8,_0x522f5b)=>{for(var _0x5028c0=_0x522f5b>0x1?void 0x0:_0x522f5b?Nn(_0x2e0ab6,_0x581df8):_0x2e0ab6,_0x1e5341=_0x453322['length']-0x1,_0x21ba9f;_0x1e5341>=0x0;_0x1e5341--)(_0x21ba9f=_0x453322[_0x1e5341])&&(_0x5028c0=_0x21ba9f(_0x5028c0)||_0x5028c0);return _0x5028c0;},ue=(_0x44bf74,_0x20f14e)=>(_0x57cf86,_0x5419da)=>_0x20f14e(_0x57cf86,_0x5419da,_0x44bf74);let Ue=class extends a[_0x288b20(0x1d2)]{constructor(_0x1033ad,_0x4eb76f,_0x2e7396,_0x1d595e,_0x130b29){var _0x5c91d9=_0x288b20;super(),this[_0x5c91d9(0x3b1)]=_0x1033ad,this[_0x5c91d9(0x4a4)]=_0x4eb76f,this[_0x5c91d9(0x4b6)]=_0x2e7396,this[_0x5c91d9(0x306)]=_0x1d595e,this[_0x5c91d9(0x41f)]=_0x130b29,this[_0x5c91d9(0x2c1)](),this[_0x5c91d9(0x298)]();}[_0x288b20(0x298)](){var _0x41f1dc=_0x288b20;const _0x3aefea=async _0x39283b=>{var _0x3a2d6a=_0x3744;(await this[_0x3a2d6a(0x306)][_0x3a2d6a(0x48c)](_0x39283b))['event$'][_0x3a2d6a(0x40c)](V[_0x3a2d6a(0x4de)](_0x395d18=>_0x395d18[_0x3a2d6a(0x265)]===g[_0x3a2d6a(0x21e)][_0x3a2d6a(0x39f)]),V[_0x3a2d6a(0x1b9)](this[_0x3a2d6a(0x201)]))[_0x3a2d6a(0x405)](_0x443c7f=>{var _0x1d4b2e=_0x3a2d6a;const _0x29d412=_0x443c7f,{reason:_0x264231}=_0x29d412[_0x1d4b2e(0x3d8)];this[_0x1d4b2e(0x41f)][_0x1d4b2e(0x1d4)]({'id':Q['CLOSE_ROOM'],'data':_0x264231}),this[_0x1d4b2e(0x4b6)][_0x1d4b2e(0x540)](new Z[(_0x1d4b2e(0x311))](_0x39283b)['id'],!0x1),this[_0x1d4b2e(0x306)]['closeSession'](_0x39283b);});};j[_0x41f1dc(0x420)](this[_0x41f1dc(0x4a4)]['getTypeOfUnitAdded$'](a[_0x41f1dc(0x232)][_0x41f1dc(0x517)]),this[_0x41f1dc(0x4a4)][_0x41f1dc(0x45b)](a[_0x41f1dc(0x232)]['UNIVER_DOC']))['pipe'](V['map'](_0x3081a1=>_0x3081a1[_0x41f1dc(0x362)]()),V['filter'](_0x45989=>!a[_0x41f1dc(0x32d)](_0x45989)),V['takeUntil'](this[_0x41f1dc(0x201)]))[_0x41f1dc(0x405)](_0x18eb46=>{_0x3aefea(_0x18eb46);});}[_0x288b20(0x2c1)](){var _0x6f42a4=_0x288b20;const _0x57d75a=async _0x323cb2=>{var _0xc34ece=_0x3744;const _0x50bb13=await this[_0xc34ece(0x306)]['requireSession'](_0x323cb2),_0x2d1fec=this[_0xc34ece(0x3b1)][_0xc34ece(0x1bb)](Z['SheetPermissionInitController']);_0x50bb13['event$'][_0xc34ece(0x40c)](V[_0xc34ece(0x4de)](_0x2bf2c0=>_0x2bf2c0[_0xc34ece(0x265)]===g[_0xc34ece(0x21e)][_0xc34ece(0x3f8)]),V[_0xc34ece(0x1b9)](this[_0xc34ece(0x201)]))['subscribe'](_0x2546e9=>{var _0x282f65=_0xc34ece;const _0x4017d9=_0x2546e9,{objectId:_0x20e98d}=_0x4017d9[_0x282f65(0x3d8)];_0x20e98d===_0x323cb2?_0x2d1fec[_0x282f65(0x3a3)](_0x323cb2):_0x2d1fec[_0x282f65(0x51d)](_0x323cb2,_0x20e98d);});};j['merge'](this['_univerInstanceService'][_0x6f42a4(0x45b)](a['UniverInstanceType'][_0x6f42a4(0x517)]))[_0x6f42a4(0x40c)](V[_0x6f42a4(0x430)](_0x23889b=>_0x23889b[_0x6f42a4(0x362)]()),V['filter'](_0x4a6564=>!a[_0x6f42a4(0x32d)](_0x4a6564)),V[_0x6f42a4(0x1b9)](this['dispose$']))[_0x6f42a4(0x405)](_0x45252a=>{_0x57d75a(_0x45252a);});}};Ue=Un([ue(0x0,a[_0x288b20(0x257)](a[_0x288b20(0x2a0)])),ue(0x1,a[_0x288b20(0x426)]),ue(0x2,a[_0x288b20(0x409)]),ue(0x3,a[_0x288b20(0x257)](exports[_0x288b20(0x325)])),ue(0x4,a[_0x288b20(0x257)](te))],Ue);var Dn=Object[_0x288b20(0x284)],An=(_0x2e12f1,_0x58c63b,_0x2a0697,_0x1b7e0c)=>{for(var _0x147268=_0x1b7e0c>0x1?void 0x0:_0x1b7e0c?Dn(_0x58c63b,_0x2a0697):_0x58c63b,_0xb7e56a=_0x2e12f1['length']-0x1,_0x1d8b42;_0xb7e56a>=0x0;_0xb7e56a--)(_0x1d8b42=_0x2e12f1[_0xb7e56a])&&(_0x147268=_0x1d8b42(_0x147268)||_0x147268);return _0x147268;},lt=(_0x3da1fb,_0x321f46)=>(_0x4c9214,_0x5eb96a)=>_0x321f46(_0x4c9214,_0x5eb96a,_0x3da1fb);exports[_0x288b20(0x4ac)]=class{constructor(_0x5d42ec,_0x1559cf){var _0x5b9e13=_0x288b20;this[_0x5b9e13(0x268)]=_0x5d42ec,this[_0x5b9e13(0x213)]=_0x1559cf;}async[_0x288b20(0x2e4)](_0x1559f4,_0x51b891){var _0x29dd1e=_0x288b20,_0x7fd0e9;const {unitID:_0x367914,type:_0x416cc0,revision:_0x5bbe91=0x0}=_0x51b891,_0x12f6de=this[_0x29dd1e(0x51f)]()+'/'+_0x416cc0+_0x29dd1e(0x1c4)+_0x367914+_0x29dd1e(0x3bb)+_0x5bbe91,_0x3f5989=(await this[_0x29dd1e(0x213)]['get'](_0x12f6de))['body'],_0x2b319a=(_0x7fd0e9=_0x3f5989[_0x29dd1e(0x4b3)])==null?void 0x0:_0x7fd0e9[_0x29dd1e(0x21b)];if(_0x2b319a){const _0x10bebe=_0x2b319a==null?void 0x0:_0x2b319a[_0x29dd1e(0x216)],_0x45df40=g[_0x29dd1e(0x29c)][_0x29dd1e(0x441)](g['b64DecodeUnicode'](_0x10bebe));_0x2b319a[_0x29dd1e(0x216)]=_0x45df40,Object[_0x29dd1e(0x3d9)](_0x2b319a['sheets'])[_0x29dd1e(0x286)](([,_0x4debee])=>{var _0x251b6d=_0x29dd1e;const _0xe80ec7=_0x4debee[_0x251b6d(0x216)],_0x50f213=g[_0x251b6d(0x29c)][_0x251b6d(0x441)](g[_0x251b6d(0x1e1)](_0xe80ec7));_0x4debee[_0x251b6d(0x216)]=_0x50f213;});}return _0x3f5989;}async[_0x288b20(0x4f7)](_0x46e40e,_0x56f77d){var _0x5f22ab=_0x288b20;const {unitID:_0x461347,type:_0x4dc73b,blockID:_0x3e813b}=_0x56f77d,_0xbdd3cd=this[_0x5f22ab(0x217)]()+'/'+_0x4dc73b+_0x5f22ab(0x1c4)+_0x461347+_0x5f22ab(0x3e2)+_0x3e813b;return(await this[_0x5f22ab(0x213)][_0x5f22ab(0x1bb)](_0xbdd3cd))[_0x5f22ab(0x2d1)];}async[_0x288b20(0x1db)](_0x45ae89,_0x422b65){var _0x3b8b09=_0x288b20;const {unitID:_0x36733d,type:_0x52843b,blockID:_0x3acd51}=_0x422b65,_0x2a421a=this[_0x3b8b09(0x217)]()+_0x3b8b09(0x3e2)+_0x52843b+_0x3b8b09(0x1c4)+_0x36733d+_0x3b8b09(0x3e2)+_0x3acd51;return(await this['_httpService']['get'](_0x2a421a))[_0x3b8b09(0x2d1)];}async[_0x288b20(0x380)](_0x29185a,_0x4ba610){var _0x6e453e=_0x288b20;const {unitID:_0x54a618,type:_0x49bbb4,from:_0x189750,to:_0x280bda}=_0x4ba610,_0x46e39d=this[_0x6e453e(0x217)]()+'/'+_0x49bbb4+'/unit/'+_0x54a618+_0x6e453e(0x35c)+_0x189750+_0x6e453e(0x30b)+_0x280bda;return(await this['_httpService'][_0x6e453e(0x1bb)](_0x46e39d))[_0x6e453e(0x2d1)];}[_0x288b20(0x51f)](){var _0x5039ab=_0x288b20,_0x3bfdeb;return(_0x3bfdeb=this['_configService'][_0x5039ab(0x2e2)](vt))!=null?_0x3bfdeb:this[_0x5039ab(0x217)]();}['_getAPIPrefix'](){var _0x3fcc9f=_0x288b20,_0xabce24,_0x5c78b3;const _0x4fb401=this[_0x3fcc9f(0x268)]['getConfig'](dt),_0x36977b=this[_0x3fcc9f(0x268)][_0x3fcc9f(0x2e2)](Y);return(_0x5c78b3=(_0xabce24=_0x36977b==null?void 0x0:_0x36977b[_0x3fcc9f(0x22f)])!=null?_0xabce24:_0x4fb401)!=null?_0x5c78b3:kt;}async[_0x288b20(0x20c)](_0x1db13b,_0x23d897){var _0x1bb526=_0x288b20;const _0x5039ce='/universer-api/snapshot/'+_0x23d897[_0x1bb526(0x2cb)]+_0x1bb526(0x1c4)+_0x23d897[_0x1bb526(0x1d3)]+_0x1bb526(0x24b);return(await this['_httpService'][_0x1bb526(0x1bb)](_0x5039ce,{'params':{'resourceId':JSON[_0x1bb526(0x4f8)](_0x23d897[_0x1bb526(0x475)])}}))[_0x1bb526(0x2d1)];}[_0x288b20(0x3a6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x288b20(0x24f)](){var _0x5f5a7d=_0x288b20;throw new Error(_0x5f5a7d(0x1c5));}[_0x288b20(0x437)](){var _0x372648=_0x288b20;throw new Error(_0x372648(0x1c5));}[_0x288b20(0x3f4)](){var _0x1e3cf0=_0x288b20;throw new Error(_0x1e3cf0(0x1c5));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x288b20(0x4ac)]=An([lt(0x0,a[_0x288b20(0x2b6)]),lt(0x1,a[_0x288b20(0x257)](q[_0x288b20(0x4c8)]))],exports[_0x288b20(0x4ac)]);var Pn=Object['getOwnPropertyDescriptor'],wn=(_0x47c2e6,_0x40d001,_0x138bce,_0x20b593)=>{var _0x512e42=_0x288b20;for(var _0x57e659=_0x20b593>0x1?void 0x0:_0x20b593?Pn(_0x40d001,_0x138bce):_0x40d001,_0x57eca3=_0x47c2e6[_0x512e42(0x23a)]-0x1,_0x314435;_0x57eca3>=0x0;_0x57eca3--)(_0x314435=_0x47c2e6[_0x57eca3])&&(_0x57e659=_0x314435(_0x57e659)||_0x57e659);return _0x57e659;},de=(_0x441f90,_0x1eb5eb)=>(_0x498bf0,_0x43502d)=>_0x1eb5eb(_0x498bf0,_0x43502d,_0x441f90);exports[_0x288b20(0x38c)]=class extends a['LocalUndoRedoService']{constructor(_0x59676a,_0x19af58,_0x4cfcad,_0x476cd0,_0x2a50d3){var _0x5dde01=_0x288b20;super(_0x59676a,_0x19af58,_0x4cfcad),this[_0x5dde01(0x3cd)]=_0x476cd0,this[_0x5dde01(0x484)]=_0x2a50d3;}[_0x288b20(0x308)](_0x5739f8,_0xa9191d){var _0x159fe5=_0x288b20;const _0x3ef915=this['_getUndoStack'](_0x5739f8);if(_0x3ef915)try{const _0x4d8da=this[_0x159fe5(0x48b)](_0x3ef915,_0xa9191d);this['_substituteUndoStack'](_0x5739f8,_0x4d8da);}catch(_0x19cadd){this[_0x159fe5(0x484)][_0x159fe5(0x3b2)](_0x159fe5(0x375),_0x19cadd),this[_0x159fe5(0x1f6)](_0x5739f8);}const _0x595835=this[_0x159fe5(0x1e9)](_0x5739f8);if(_0x595835)try{const _0xe672dd=this[_0x159fe5(0x48b)](_0x595835,_0xa9191d);this['_substituteRedoStack'](_0x5739f8,_0xe672dd);}catch(_0x5c02ad){this[_0x159fe5(0x484)]['error'](_0x5c02ad),this[_0x159fe5(0x1e3)](_0x5739f8);}}[_0x288b20(0x1f6)](_0x3b857a){var _0x4d3a76=_0x288b20;const _0x5979ba=this[_0x4d3a76(0x372)](_0x3b857a);_0x5979ba&&(_0x5979ba[_0x4d3a76(0x23a)]=0x0,this['_updateStatus']());}[_0x288b20(0x1e3)](_0x39dd8b){var _0x1aafb7=_0x288b20;const _0x2b91b4=this[_0x1aafb7(0x1e9)](_0x39dd8b);_0x2b91b4&&(_0x2b91b4['length']=0x0,this[_0x1aafb7(0x2d4)]());}[_0x288b20(0x1f9)](_0x40644f,_0x2d44ac){var _0x563d7a=_0x288b20;this[_0x563d7a(0x272)][_0x563d7a(0x29f)](_0x40644f,_0x2d44ac),this[_0x563d7a(0x2d4)]();}[_0x288b20(0x499)](_0x30e997,_0x2f2874){var _0x4c2a7a=_0x288b20;this[_0x4c2a7a(0x50e)][_0x4c2a7a(0x29f)](_0x30e997,_0x2f2874),this[_0x4c2a7a(0x2d4)]();}[_0x288b20(0x48b)](_0x396d57,_0x50c647){var _0x424e3e=_0x288b20;const _0x29ea92=[];let _0x445b0a=_0x50c647,_0x4f3b46=_0x50c647;for(let _0x27f6cd=_0x396d57[_0x424e3e(0x23a)]-0x1;_0x27f6cd>=0x0;_0x27f6cd--){const {unitID:_0x42c2b3,undoMutations:_0x3e469e,redoMutations:_0x2c763e}=_0x396d57[_0x27f6cd],_0x5d2cdb=this[_0x424e3e(0x3cd)][_0x424e3e(0x376)](_0x445b0a,_0x3e469e),_0x3c417a=this[_0x424e3e(0x3cd)][_0x424e3e(0x376)](_0x4f3b46,_0x2c763e);if(g[_0x424e3e(0x3d4)](_0x5d2cdb)||g[_0x424e3e(0x3d4)](_0x3c417a)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x424e3e(0x357),_0x5d2cdb,_0x3c417a);break;}_0x445b0a=_0x5d2cdb[_0x424e3e(0x52b)],_0x4f3b46=_0x3c417a[_0x424e3e(0x52b)],_0x29ea92[_0x424e3e(0x328)]({'unitID':_0x42c2b3,'undoMutations':_0x5d2cdb[_0x424e3e(0x2ec)],'redoMutations':_0x3c417a[_0x424e3e(0x2ec)]});}return _0x29ea92[_0x424e3e(0x504)]();}},exports[_0x288b20(0x38c)]=wn([de(0x0,a['IUniverInstanceService']),de(0x1,a['ICommandService']),de(0x2,a[_0x288b20(0x3aa)]),de(0x3,g[_0x288b20(0x1e2)]),de(0x4,a[_0x288b20(0x401)])],exports[_0x288b20(0x38c)]);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x1ba504,_0x2ff902,_0x2bb724)=>_0x2ff902 in _0x1ba504?Ln(_0x1ba504,_0x2ff902,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bb724}):_0x1ba504[_0x2ff902]=_0x2bb724,kn=(_0x526340,_0x5d4b11,_0x478d71,_0x4a01b5)=>{for(var _0x13f7de=_0x4a01b5>0x1?void 0x0:_0x4a01b5?Mn(_0x5d4b11,_0x478d71):_0x5d4b11,_0x18d356=_0x526340['length']-0x1,_0x613655;_0x18d356>=0x0;_0x18d356--)(_0x613655=_0x526340[_0x18d356])&&(_0x13f7de=_0x613655(_0x13f7de)||_0x13f7de);return _0x13f7de;},ke=(_0xd9e0f6,_0x2ed27f)=>(_0x22eff3,_0x17bb20)=>_0x2ed27f(_0x22eff3,_0x17bb20,_0xd9e0f6),Hn=(_0x28cfe8,_0x495188,_0x41e034)=>xn(_0x28cfe8,_0x495188+'',_0x41e034);const jn=_0x288b20(0x1cc);exports[_0x288b20(0x4fe)]=class extends a[_0x288b20(0x419)]{constructor(_0x5d07a9,_0x56332e,_0x2871a7,_0x38b0fc){var _0x27f723=_0x288b20;super(),A(this,_0x27f723(0x2ac)),(this[_0x27f723(0x484)]=_0x56332e,this[_0x27f723(0x3b1)]=_0x2871a7,this[_0x27f723(0x268)]=_0x38b0fc);const {..._0x16420d}=a[_0x27f723(0x420)]({},Jt,_0x5d07a9);if(!_0x16420d[_0x27f723(0x456)])throw new Error(_0x27f723(0x1ea));this[_0x27f723(0x2ac)]=_0x16420d,this['_configService'][_0x27f723(0x282)](Y,_0x16420d);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}['_registerDependencies'](){var _0x52643f=_0x288b20,_0x294eb1,_0x14f930;this[_0x52643f(0x3b1)][_0x52643f(0x498)](a[_0x52643f(0x30c)])&&this[_0x52643f(0x484)]['error'](_0x52643f(0x324),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x197cfb=a[_0x52643f(0x48a)]([[a[_0x52643f(0x30c)],{'useClass':exports[_0x52643f(0x38c)]}],[exports[_0x52643f(0x325)]],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x52643f(0x251)]],[$e,{'useClass':this[_0x52643f(0x2ac)][_0x52643f(0x456)]}],[g[_0x52643f(0x3db)],{'useClass':exports[_0x52643f(0x4ac)]}],[a[_0x52643f(0x3a9)],{'useClass':exports[_0x52643f(0x42c)]}],[J[_0x52643f(0x2a2)],{'useClass':exports[_0x52643f(0x2c4)]}],[a[_0x52643f(0x337)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x52643f(0x367)]],[He]],(_0x294eb1=this[_0x52643f(0x2ac)])==null?void 0x0:_0x294eb1[_0x52643f(0x1f2)]);if(!((_0x14f930=this['_config'])!=null&&_0x14f930[_0x52643f(0x518)])){const _0x58499d=_0x197cfb[_0x52643f(0x2c2)](([_0x3a4ee0])=>_0x3a4ee0===ve);_0x58499d!==-0x1&&_0x197cfb[_0x52643f(0x42d)](_0x58499d,0x1);}a[_0x52643f(0x48f)](this['_injector'],_0x197cfb);}['_initDependencies'](){var _0x38ef7f=_0x288b20,_0x44791d,_0x25c0a2,_0x4e7dac;this['_injector'][_0x38ef7f(0x1bb)](q[_0x38ef7f(0x4c8)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x38ef7f(0x295)]({'maxParallel':0x6})}),(_0x44791d=this[_0x38ef7f(0x2ac)])!=null&&_0x44791d[_0x38ef7f(0x414)]||(_0x25c0a2=this['_injector'][_0x38ef7f(0x1bb)](z,a[_0x38ef7f(0x3bc)][_0x38ef7f(0x1b6)]))==null||_0x25c0a2[_0x38ef7f(0x23d)](),(_0x4e7dac=this[_0x38ef7f(0x2ac)])!=null&&_0x4e7dac[_0x38ef7f(0x49d)]&&a[_0x38ef7f(0x24e)](this[_0x38ef7f(0x3b1)],[[ye]]),a[_0x38ef7f(0x24e)](this[_0x38ef7f(0x3b1)],[[Ne],[exports[_0x38ef7f(0x367)]],[Ue]]);}},Hn(exports[_0x288b20(0x4fe)],_0x288b20(0x36f),jn),exports[_0x288b20(0x4fe)]=kn([a[_0x288b20(0x31e)](g[_0x288b20(0x3c3)],q[_0x288b20(0x1e0)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x288b20(0x257)](a['Injector'])),ke(0x3,a['IConfigService'])],exports[_0x288b20(0x4fe)]),exports[_0x288b20(0x502)]=Ge,exports[_0x288b20(0x450)]=Y,exports[_0x288b20(0x52e)]=mt,exports[_0x288b20(0x248)]=St,exports[_0x288b20(0x25f)]=Ve,exports[_0x288b20(0x36a)]=Q,exports[_0x288b20(0x279)]=te,exports[_0x288b20(0x4c7)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x288b20(0x3d3)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports['ICollaborationSocketService']=$e,exports[_0x288b20(0x46c)]=z,exports[_0x288b20(0x51b)]=bt,exports[_0x288b20(0x2f0)]=ve,exports[_0x288b20(0x41d)]=Gt,exports[_0x288b20(0x4b5)]=Wt,exports[_0x288b20(0x52d)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x288b20(0x523)]=It,exports[_0x288b20(0x4c0)]=Ht,exports[_0x288b20(0x1b2)]=dt,exports[_0x288b20(0x4cd)]=vt,exports[_0x288b20(0x27d)]=se,exports[_0x288b20(0x385)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x288b20(0x469)]=vi,exports['serializeCombRequest']=Ot;
1
+ 'use strict';var _0x1bc887=_0x5233;(function(_0x4a3e3e,_0x59c9ae){var _0x38ea60=_0x5233,_0x13d2b6=_0x4a3e3e();while(!![]){try{var _0x710974=parseInt(_0x38ea60(0x48e))/0x1*(-parseInt(_0x38ea60(0x151))/0x2)+-parseInt(_0x38ea60(0x38c))/0x3+parseInt(_0x38ea60(0x2eb))/0x4+-parseInt(_0x38ea60(0x3a1))/0x5*(parseInt(_0x38ea60(0x19e))/0x6)+-parseInt(_0x38ea60(0x225))/0x7*(-parseInt(_0x38ea60(0x235))/0x8)+-parseInt(_0x38ea60(0x170))/0x9+parseInt(_0x38ea60(0x33f))/0xa;if(_0x710974===_0x59c9ae)break;else _0x13d2b6['push'](_0x13d2b6['shift']());}catch(_0x3cd809){_0x13d2b6['push'](_0x13d2b6['shift']());}}}(_0x3833,0xd742c));var wt=Object['defineProperty'],Lt=(_0x2637e9,_0x189db1,_0x1388a4)=>_0x189db1 in _0x2637e9?wt(_0x2637e9,_0x189db1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1388a4}):_0x2637e9[_0x189db1]=_0x1388a4,A=(_0xc9e28d,_0x2c05ff,_0x39e02d)=>Lt(_0xc9e28d,typeof _0x2c05ff!=_0x1bc887(0x29b)?_0x2c05ff+'':_0x2c05ff,_0x39e02d);Object['defineProperty'](exports,Symbol[_0x1bc887(0x3dd)],{'value':'Module'});const a=require('@univerjs/core'),j=require(_0x1bc887(0x21d)),V=require('rxjs/operators'),g=require(_0x1bc887(0x2c5)),q=require(_0x1bc887(0x25d)),Mt=require(_0x1bc887(0x245)),ut=require(_0x1bc887(0x487)),Z=require(_0x1bc887(0x31b)),J=require('@univerjs/drawing'),xt=require(_0x1bc887(0x337)),dt=_0x1bc887(0x2d7),kt=_0x1bc887(0x14c),vt=_0x1bc887(0x40c),Ht=_0x1bc887(0x1c8),jt=0x7d0,St=_0x1bc887(0x256),ft=_0x1bc887(0x306),$t='/universer-api/user/session-ticket',pt=_0x1bc887(0x154),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,It=_0x1bc887(0x430),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x1bc887(0x3a2),Kt=_0x1bc887(0x1b8),Et=_0x1bc887(0x1aa),Yt=_0x1bc887(0x3b3),qt=_0x1bc887(0x310),zt='/universer-api/uniscript';var Ct=(_0x3bb5db=>(_0x3bb5db[_0x3bb5db[_0x1bc887(0x45d)]=0x0]=_0x1bc887(0x45d),_0x3bb5db[_0x3bb5db['OK']=0x1]='OK',_0x3bb5db[_0x3bb5db['INTERNAL_ERROR']=0x2]=_0x1bc887(0x383),_0x3bb5db[_0x3bb5db[_0x1bc887(0x397)]=0x3]='PERMISSION_DENIED',_0x3bb5db[_0x3bb5db['NOT_FOUND']=0x4]='NOT_FOUND',_0x3bb5db[_0x3bb5db[_0x1bc887(0x3c2)]=0x5]=_0x1bc887(0x3c2),_0x3bb5db[_0x3bb5db[_0x1bc887(0x214)]=0x6]='ALREADY_EXISTS',_0x3bb5db[_0x3bb5db[_0x1bc887(0x360)]=0x7]=_0x1bc887(0x360),_0x3bb5db[_0x3bb5db[_0x1bc887(0x146)]=0x8]='TOO_MANY_REQUESTS',_0x3bb5db[_0x3bb5db[_0x1bc887(0x35f)]=0x9]=_0x1bc887(0x35f),_0x3bb5db[_0x3bb5db['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3bb5db[_0x3bb5db[_0x1bc887(0x271)]=0x1389]=_0x1bc887(0x271),_0x3bb5db[_0x3bb5db[_0x1bc887(0x292)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3bb5db[_0x3bb5db[_0x1bc887(0x481)]=0x1772]=_0x1bc887(0x481),_0x3bb5db[_0x3bb5db[_0x1bc887(0x472)]=0x1773]=_0x1bc887(0x472),_0x3bb5db[_0x3bb5db[_0x1bc887(0x197)]=0x1b59]=_0x1bc887(0x197),_0x3bb5db[_0x3bb5db[_0x1bc887(0x2a9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3bb5db[_0x3bb5db[_0x1bc887(0x3e7)]=0x1b5b]=_0x1bc887(0x3e7),_0x3bb5db[_0x3bb5db[_0x1bc887(0x232)]=0x1b5c]=_0x1bc887(0x232),_0x3bb5db[_0x3bb5db[_0x1bc887(0x29c)]=0x1b5d]='APPLY_DUPLICATED',_0x3bb5db[_0x3bb5db['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3bb5db[_0x3bb5db[_0x1bc887(0x2ed)]=0x2329]=_0x1bc887(0x2ed),_0x3bb5db[_0x3bb5db[_0x1bc887(0x1c1)]=0x232a]=_0x1bc887(0x1c1),_0x3bb5db[_0x3bb5db[_0x1bc887(0x364)]=0x232b]=_0x1bc887(0x364),_0x3bb5db[_0x3bb5db[_0x1bc887(0x362)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bb5db[_0x3bb5db[_0x1bc887(0x35b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bb5db[_0x3bb5db[_0x1bc887(0x3f0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bb5db[_0x3bb5db[_0x1bc887(0x203)]=0x2712]=_0x1bc887(0x203),_0x3bb5db[_0x3bb5db[_0x1bc887(0x444)]=0x2713]=_0x1bc887(0x444),_0x3bb5db[_0x3bb5db[_0x1bc887(0x206)]=0x2714]=_0x1bc887(0x206),_0x3bb5db[_0x3bb5db['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1bc887(0x3ff),_0x3bb5db[_0x3bb5db[_0x1bc887(0x1eb)]=0x271b]=_0x1bc887(0x1eb),_0x3bb5db[_0x3bb5db['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1bc887(0x3e6),_0x3bb5db[_0x3bb5db[_0x1bc887(0x1b1)]=0x271d]=_0x1bc887(0x1b1),_0x3bb5db[_0x3bb5db[_0x1bc887(0x374)]=0x271e]=_0x1bc887(0x374),_0x3bb5db[_0x3bb5db[_0x1bc887(0x15e)]=0x271f]=_0x1bc887(0x15e),_0x3bb5db[_0x3bb5db[_0x1bc887(0x3eb)]=0x2af9]=_0x1bc887(0x3eb),_0x3bb5db[_0x3bb5db[_0x1bc887(0x185)]=0x2ee1]=_0x1bc887(0x185),_0x3bb5db[_0x3bb5db['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x3bb5db[_0x3bb5db[_0x1bc887(0x34a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3bb5db[_0x3bb5db['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1bc887(0x425),_0x3bb5db[_0x3bb5db['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1bc887(0x36d),_0x3bb5db[_0x3bb5db[_0x1bc887(0x169)]=0x32c9]=_0x1bc887(0x169),_0x3bb5db[_0x3bb5db[_0x1bc887(0x208)]=0x32ca]=_0x1bc887(0x208),_0x3bb5db[_0x3bb5db['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1bc887(0x3ab),_0x3bb5db[_0x3bb5db[_0x1bc887(0x2ea)]=-0x1]=_0x1bc887(0x2ea),_0x3bb5db))(Ct||{}),X=(_0x2f83e0=>(_0x2f83e0[_0x2f83e0[_0x1bc887(0x450)]=0x0]=_0x1bc887(0x450),_0x2f83e0[_0x2f83e0[_0x1bc887(0x378)]=0x1]=_0x1bc887(0x378),_0x2f83e0[_0x2f83e0[_0x1bc887(0x320)]=0x2]=_0x1bc887(0x320),_0x2f83e0[_0x2f83e0['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2f83e0[_0x2f83e0[_0x1bc887(0x2a1)]=0x4]=_0x1bc887(0x2a1),_0x2f83e0[_0x2f83e0[_0x1bc887(0x2ea)]=-0x1]=_0x1bc887(0x2ea),_0x2f83e0))(X||{}),W=(_0xdf1ef5=>(_0xdf1ef5[_0xdf1ef5['UNKNOWN_CMD']=0x0]=_0x1bc887(0x488),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x3ba)]=0x1]=_0x1bc887(0x3ba),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x223)]=0x2]=_0x1bc887(0x223),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x396)]=0x3]=_0x1bc887(0x396),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x289)]=0x4]=_0x1bc887(0x289),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x174)]=0x5]=_0x1bc887(0x174),_0xdf1ef5[_0xdf1ef5[_0x1bc887(0x296)]=0x6]=_0x1bc887(0x296),_0xdf1ef5[_0xdf1ef5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xdf1ef5))(W||{}),ae=(_0xabc2ae=>(_0xabc2ae[_0xabc2ae[_0x1bc887(0x2f0)]=0x0]=_0x1bc887(0x2f0),_0xabc2ae[_0xabc2ae['OK']=0x1]='OK',_0xabc2ae[_0xabc2ae[_0x1bc887(0x3a0)]=0x2]=_0x1bc887(0x3a0),_0xabc2ae[_0xabc2ae[_0x1bc887(0x283)]=0x3e9]=_0x1bc887(0x283),_0xabc2ae[_0xabc2ae[_0x1bc887(0x4a1)]=0x3ea]=_0x1bc887(0x4a1),_0xabc2ae[_0xabc2ae[_0x1bc887(0x22c)]=0x3eb]=_0x1bc887(0x22c),_0xabc2ae[_0xabc2ae[_0x1bc887(0x267)]=0x3ec]=_0x1bc887(0x267),_0xabc2ae[_0xabc2ae['UNRECOGNIZED']=-0x1]=_0x1bc887(0x2ea),_0xabc2ae))(ae||{}),Tt=(_0x34d40a=>(_0x34d40a[_0x34d40a['Undefined']=0x0]=_0x1bc887(0x3b4),_0x34d40a[_0x34d40a[_0x1bc887(0x196)]=0x1]=_0x1bc887(0x196),_0x34d40a[_0x34d40a[_0x1bc887(0x443)]=0x2]=_0x1bc887(0x443),_0x34d40a[_0x34d40a[_0x1bc887(0x193)]=0x3]=_0x1bc887(0x193),_0x34d40a[_0x34d40a['UnitSnapshot']=0x4]='UnitSnapshot',_0x34d40a[_0x34d40a[_0x1bc887(0x3f1)]=0x5]=_0x1bc887(0x3f1),_0x34d40a[_0x34d40a[_0x1bc887(0x2ea)]=-0x1]=_0x1bc887(0x2ea),_0x34d40a))(Tt||{});const Y=_0x1bc887(0x3a3),Jt={};var Q=(_0x274eaa=>(_0x274eaa[_0x1bc887(0x183)]=_0x1bc887(0x183),_0x274eaa[_0x1bc887(0x397)]=_0x1bc887(0x397),_0x274eaa[_0x1bc887(0x30f)]=_0x1bc887(0x30f),_0x274eaa[_0x1bc887(0x195)]=_0x1bc887(0x195),_0x274eaa[_0x1bc887(0x28b)]=_0x1bc887(0x28b),_0x274eaa[_0x1bc887(0x43f)]=_0x1bc887(0x43f),_0x274eaa[_0x1bc887(0x424)]='SOCKET_FAILED',_0x274eaa[_0x1bc887(0x30a)]=_0x1bc887(0x30a),_0x274eaa))(Q||{});class te{constructor(){var _0x38df27=_0x1bc887;A(this,_0x38df27(0x3cc),new j[(_0x38df27(0x147))]()),A(this,_0x38df27(0x426),this[_0x38df27(0x3cc)][_0x38df27(0x1a0)]());}['emitEvent'](_0x255d4c){var _0x34b8b5=_0x1bc887;this[_0x34b8b5(0x3cc)][_0x34b8b5(0x3cf)](_0x255d4c);}}const bt=a[_0x1bc887(0x3f6)](_0x1bc887(0x384));function Rt(_0xc87ec7){var _0x3e8d61=_0x1bc887,_0x186353,_0xe95c86,_0x5db6ae,_0x110376,_0x1bbb22;const _0xe25e6e=_0xc87ec7[_0x3e8d61(0x301)],_0x38a95c=JSON['parse'](_0xe25e6e);switch(_0x38a95c[_0x3e8d61(0x3ca)]){case W[_0x3e8d61(0x174)]:case W[_0x3e8d61(0x3ba)]:{const _0x237fe1=_0x38a95c['infoRsp'];return{..._0x38a95c,'data':_0x237fe1,'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};}case W[_0x3e8d61(0x223)]:{const _0x3ede90=_0x38a95c[_0x3e8d61(0x419)];return{..._0x38a95c,'data':_0x3ede90,'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};}case W[_0x3e8d61(0x296)]:{const _0x59c5cf=_0x38a95c[_0x3e8d61(0x339)];switch(_0x59c5cf[_0x3e8d61(0x308)]){case g[_0x3e8d61(0x465)][_0x3e8d61(0x1fc)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':(_0x186353=_0x59c5cf[_0x3e8d61(0x1e3)])==null?void 0x0:_0x186353['cs']},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g['CollaborationEvent'][_0x3e8d61(0x33c)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':(_0xe95c86=_0x59c5cf['csAckEvent'])==null?void 0x0:_0xe95c86['cs']},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x2e4)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':(_0x5db6ae=_0x59c5cf['newCsEvent'])==null?void 0x0:_0x5db6ae['cs']},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x222)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':(_0x110376=_0x59c5cf[_0x3e8d61(0x4b1)])==null?void 0x0:_0x110376['cs']},'cmd':_0x38a95c['cmd']};case g[_0x3e8d61(0x465)][_0x3e8d61(0x24f)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':(_0x1bbb22=_0x59c5cf['csShouldRetryEvent'])==null?void 0x0:_0x1bbb22['cs']},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x493)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf['updateCursorEvent']},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x462)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x1f5)]},'cmd':_0x38a95c['cmd']};case g[_0x3e8d61(0x465)][_0x3e8d61(0x281)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x2fe)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x1c2)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x3d6)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case g['CollaborationEvent'][_0x3e8d61(0x379)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x30e)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)]['LIVESHARE_TERMINATE']:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x3d6)]},'cmd':_0x38a95c['cmd']};case g[_0x3e8d61(0x465)][_0x3e8d61(0x1a3)]:return{..._0x38a95c,'data':_0x59c5cf,'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g['CollaborationEvent'][_0x3e8d61(0x285)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x41e)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)][_0x3e8d61(0x272)]:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf['updatePermissionObjEvent']},'cmd':_0x38a95c['cmd']};case g[_0x3e8d61(0x465)]['SHOULD_CLOSE_CONN']:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x416)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};case g[_0x3e8d61(0x465)]['UNISCRIPT_RUN']:return{..._0x38a95c,'data':{..._0x59c5cf,'data':_0x59c5cf[_0x3e8d61(0x2ab)]},'cmd':_0x38a95c[_0x3e8d61(0x3ca)]};default:return _0x38a95c;}}default:return _0x38a95c;}}function Ot(_0x5b2491){var _0x4becae=_0x1bc887;switch(_0x5b2491[_0x4becae(0x3ca)]){case W[_0x4becae(0x174)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x5b2491[_0x4becae(0x3ca)],'routeKey':_0x5b2491[_0x4becae(0x316)]});case W[_0x4becae(0x289)]:{let _0x1c3752;switch(_0x5b2491[_0x4becae(0x301)][_0x4becae(0x308)]){case g['CollaborationEvent'][_0x4becae(0x493)]:{_0x1c3752={'eventID':g[_0x4becae(0x465)]['UPDATE_CURSOR'],'updateCursorEvent':_0x5b2491['data']['data']};break;}case g['CollaborationEvent']['USERS_LEAVE']:{_0x1c3752={'eventID':g[_0x4becae(0x465)][_0x4becae(0x281)],'leaveEvent':_0x5b2491[_0x4becae(0x301)][_0x4becae(0x301)]};break;}case g[_0x4becae(0x465)]['USERS_ENTER']:{_0x1c3752={'eventID':g['CollaborationEvent'][_0x4becae(0x462)],'joinEvent':_0x5b2491['data']['data']};break;}case g['CollaborationEvent'][_0x4becae(0x1c2)]:{_0x1c3752={'eventID':g[_0x4becae(0x465)][_0x4becae(0x1c2)],'liveShareNewHost':_0x5b2491[_0x4becae(0x301)][_0x4becae(0x301)]};break;}case g[_0x4becae(0x465)]['LIVESHARE_OPERATION']:{_0x1c3752={'eventID':g['CollaborationEvent'][_0x4becae(0x379)],'liveShareOperation':_0x5b2491['data']['data']};break;}case g[_0x4becae(0x465)][_0x4becae(0x230)]:{_0x1c3752={'eventID':g[_0x4becae(0x465)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5b2491[_0x4becae(0x301)]['data']};break;}case g[_0x4becae(0x465)][_0x4becae(0x403)]:{_0x1c3752={'eventID':g[_0x4becae(0x465)][_0x4becae(0x403)],'liveShareRequestHost':_0x5b2491[_0x4becae(0x301)][_0x4becae(0x301)]};break;}case g['CollaborationEvent'][_0x4becae(0x3cb)]:{_0x1c3752={'eventID':g['CollaborationEvent'][_0x4becae(0x3cb)]};break;}default:_0x1c3752={'eventID':_0x5b2491[_0x4becae(0x301)][_0x4becae(0x308)]};}return JSON[_0x4becae(0x323)]({'cmd':_0x5b2491[_0x4becae(0x3ca)],'routeKey':_0x5b2491[_0x4becae(0x316)],'collaMsg':_0x1c3752});}case W['JOIN']:return JSON[_0x4becae(0x323)]({'cmd':_0x5b2491[_0x4becae(0x3ca)],'routeKey':_0x5b2491['routeKey'],'joinReq':_0x5b2491['data']});case W['LEAVE']:return JSON['stringify']({'cmd':_0x5b2491['cmd'],'routeKey':_0x5b2491[_0x4becae(0x316)],'leaveReq':_0x5b2491[_0x4becae(0x301)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x1bc887(0x31c)],Zt=(_0x3feb1a,_0xa89829,_0x2c2b7b,_0x4d2cc9)=>{var _0x1fbc84=_0x1bc887;for(var _0x396fae=_0x4d2cc9>0x1?void 0x0:_0x4d2cc9?Xt(_0xa89829,_0x2c2b7b):_0xa89829,_0x4438a2=_0x3feb1a[_0x1fbc84(0x381)]-0x1,_0x216a34;_0x4438a2>=0x0;_0x4438a2--)(_0x216a34=_0x3feb1a[_0x4438a2])&&(_0x396fae=_0x216a34(_0x396fae)||_0x396fae);return _0x396fae;},le=(_0x1afc38,_0x13e7a9)=>(_0x54f8e4,_0x43c27d)=>_0x13e7a9(_0x54f8e4,_0x43c27d,_0x1afc38);const $e=a['createIdentifier'](_0x1bc887(0x15b));function Qt(_0x2ab8f7,_0x87702,_0x3069e2){var _0x5b8dae=_0x1bc887;return _0x2ab8f7+'/'+_0x87702+_0x5b8dae(0x275)+_0x3069e2+'/new_changes';}exports[_0x1bc887(0x1d1)]=class extends a['Disposable']{constructor(_0x3a123a,_0x4ab2be,_0x475295,_0x16bc3e,_0x4ba41d){var _0x109f21=_0x1bc887;super(),this[_0x109f21(0x2db)]=_0x3a123a,this[_0x109f21(0x138)]=_0x4ab2be,this[_0x109f21(0x4a6)]=_0x475295,this[_0x109f21(0x16a)]=_0x16bc3e,this[_0x109f21(0x1dc)]=_0x4ba41d;}['_doCreateSocket'](_0x2b941a){var _0x5da236=_0x1bc887;const _0x5a9932=this[_0x5da236(0x2db)][_0x5da236(0x29d)](q[_0x5da236(0x48d)]);if(!_0x5a9932)throw new Error(_0x5da236(0x491));const _0x33948c=_0x5a9932[_0x5da236(0x1fa)](_0x2b941a);if(!_0x33948c)throw new Error(_0x5da236(0x454));const _0x38b2eb=new a[(_0x5da236(0x20c))](),_0x2c26e1=new j['Subject']();_0x38b2eb[_0x5da236(0x3ed)](_0x33948c['close$'][_0x5da236(0x2fd)](_0x2a352e=>_0x2c26e1[_0x5da236(0x3cf)](_0x2a352e))),_0x38b2eb[_0x5da236(0x3ed)](a[_0x5da236(0x194)](()=>_0x2c26e1[_0x5da236(0x3c4)]()));const _0x370c4c=new j[(_0x5da236(0x147))]();_0x38b2eb[_0x5da236(0x3ed)](_0x33948c[_0x5da236(0x13c)][_0x5da236(0x2fd)](_0x16226b=>_0x370c4c[_0x5da236(0x3cf)](_0x16226b))),_0x38b2eb[_0x5da236(0x3ed)](a[_0x5da236(0x194)](()=>_0x370c4c[_0x5da236(0x3c4)]()));const _0x1186c1=new j[(_0x5da236(0x147))]();_0x38b2eb[_0x5da236(0x3ed)](_0x33948c[_0x5da236(0x35a)]['subscribe'](_0x4646c2=>{var _0x30884a=_0x5da236;const _0x5c2b3a=Rt(_0x4646c2);_0x1186c1[_0x30884a(0x3cf)](_0x5c2b3a);})),_0x38b2eb[_0x5da236(0x3ed)](a[_0x5da236(0x194)](()=>_0x1186c1[_0x5da236(0x3c4)]()));let _0x1d80de;const _0x34f4ee=()=>{var _0x50d380=_0x5da236;_0x370c4c[_0x50d380(0x3cf)](new Event(_0x50d380(0x23d))),_0x2c26e1[_0x50d380(0x3cf)](new Event(_0x50d380(0x23d))),_0x1d80de['close']();};return _0x1d80de={'memberID':'','close$':_0x2c26e1[_0x5da236(0x1a0)](),'error$':_0x370c4c[_0x5da236(0x1a0)](),'open$':_0x33948c[_0x5da236(0x2b5)],'message$':_0x1186c1[_0x5da236(0x1a0)](),'send':_0x53d0b8=>{var _0x4c2945=_0x5da236;if(_0x53d0b8['cmd']===W[_0x4c2945(0x289)]){if(_0x53d0b8[_0x4c2945(0x301)]['eventID']===g[_0x4c2945(0x465)][_0x4c2945(0x2ba)]){this[_0x4c2945(0x2a2)](_0x1d80de,_0x53d0b8[_0x4c2945(0x301)])['catch'](_0x2f8252=>{var _0x35bcfe=_0x4c2945;this[_0x35bcfe(0x16a)][_0x35bcfe(0x3da)](_0x2f8252),_0x34f4ee();});return;}if(_0x53d0b8['data'][_0x4c2945(0x308)]===g['CollaborationEvent']['FETCH_MISSING']){const _0x2b36a1=_0x53d0b8[_0x4c2945(0x301)];this[_0x4c2945(0x315)](_0x2b36a1)['then'](_0x4355e7=>{var _0x11e76b=_0x4c2945;_0x1186c1[_0x11e76b(0x3cf)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x2b36a1[_0x11e76b(0x301)][_0x11e76b(0x186)],'routeType':'','data':{'eventID':g[_0x11e76b(0x465)][_0x11e76b(0x13f)],'data':{'changesets':_0x4355e7}}});})[_0x4c2945(0x2b8)](_0x32dc91=>{var _0x3f4c13=_0x4c2945;this[_0x3f4c13(0x16a)][_0x3f4c13(0x3da)](_0x32dc91),_0x34f4ee();});return;}}_0x33948c[_0x4c2945(0x1c4)](Ot(_0x53d0b8));},'close':()=>{var _0x2257d4=_0x5da236;_0x33948c[_0x2257d4(0x4a4)](),_0x38b2eb[_0x2257d4(0x392)]();}},_0x1d80de;}async['_submitChangeset'](_0x2e00fe,_0x11061f){var _0x272860=_0x1bc887,_0x1c7da0,_0x44b387;const {unitType:_0x41a7f1,unitID:_0x1fa7cd,changeset:_0x2458c5}=_0x11061f['data'],_0x23098d={'unitID':_0x1fa7cd,'memberID':_0x2e00fe['memberID'],'type':_0x41a7f1,'changeset':g[_0x272860(0x2ca)](_0x2458c5)},_0x2e92f8=this['_configService'][_0x272860(0x19b)](mt),_0xda0b47=this[_0x272860(0x4a6)][_0x272860(0x19b)](Y),_0x286421=Qt((_0x44b387=(_0x1c7da0=_0xda0b47==null?void 0x0:_0xda0b47['collabSubmitChangesetUrl'])!=null?_0x1c7da0:_0x2e92f8)!=null?_0x44b387:Kt,_0x41a7f1,_0x1fa7cd);try{await this[_0x272860(0x138)][_0x272860(0x494)](_0x286421,{'body':_0x23098d});}catch(_0x362b14){throw this[_0x272860(0x16a)][_0x272860(0x3da)](_0x272860(0x1a4),_0x272860(0x172)),_0x362b14;}}async[_0x1bc887(0x315)](_0x1e56a3){var _0x559265=_0x1bc887;const {unitID:_0x44aa55,from:_0x7fb4e2,to:_0x4d27f2,unitType:_0x404511}=_0x1e56a3[_0x559265(0x301)];return(await this[_0x559265(0x1dc)][_0x559265(0x280)]({'metadata':void 0x0},{'unitID':_0x44aa55,'type':_0x404511,'from':_0x7fb4e2,'to':_0x4d27f2}))[_0x559265(0x2be)];}},exports[_0x1bc887(0x1d1)]=Zt([le(0x0,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),le(0x1,a['Inject'](q[_0x1bc887(0x2e3)])),le(0x2,a[_0x1bc887(0x288)]),le(0x3,a[_0x1bc887(0x252)]),le(0x4,g[_0x1bc887(0x3ec)])],exports['CollaborationSocketService']);const ei=_0x1bc887(0x1e7);function ti(_0x3d737f){var _0x5af0e1=_0x1bc887;return JSON[_0x5af0e1(0x323)](_0x3d737f)['length'];}class Be{constructor(){var _0x2137ef=_0x1bc887;A(this,'_commentUpdate$',new j[(_0x2137ef(0x147))]()),A(this,'commentUpdate$',this[_0x2137ef(0x375)][_0x2137ef(0x1a0)]());}[_0x1bc887(0x13a)](_0x24c8c9){var _0x1c20a3=_0x1bc887;this[_0x1c20a3(0x375)][_0x1c20a3(0x3cf)](_0x24c8c9);}}var ii=Object[_0x1bc887(0x31c)],ni=(_0x477eba,_0x1302dd,_0xc01539,_0x19e895)=>{for(var _0x245b81=_0x19e895>0x1?void 0x0:_0x19e895?ii(_0x1302dd,_0xc01539):_0x1302dd,_0xa4ce1a=_0x477eba['length']-0x1,_0x39e68c;_0xa4ce1a>=0x0;_0xa4ce1a--)(_0x39e68c=_0x477eba[_0xa4ce1a])&&(_0x245b81=_0x39e68c(_0x245b81)||_0x245b81);return _0x245b81;},Ke=(_0xb214b2,_0x3674c1)=>(_0x5e3328,_0x1c0fce)=>_0x3674c1(_0x5e3328,_0x1c0fce,_0xb214b2);function _0x3833(){var _0xdad5e6=['_changesetReqId','range','\x20-\x20','ITransformService','_onRemoteRejected','SNAPSHOT_SERVER_URL_KEY','_hash','touchDependencies','CollaborationUIEventId','_injector','UNISCRIPT_RUN','_collaborationPaused','collaboration-client.local-cache-service','conflict','socket\x20close','saveImage','IDLE','HTTPService','NEW_CHANGESETS','SYNCED','_decreaseWaiting','saveChangeset','_getDownloadEndpointURL','b64DecodeUnicode','UNRECOGNIZED','5958500QCwPPc','onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','isTransformChangesetsSuccess','_getLoginPath','UNKNOWN_CODE','_nRounds','failed\x20to\x20apply\x20missed\x20changesets!','onSyncEditingCollabCursor','CollaborationSessionService','_undoRedoService','params','set','readInt32LE','state','_remoteChangesetQueue','COMPRESS_MUTATION_APPLY','encode','subscribe','leaveEvent','setShowComponents','CollaborationEntity','data','CommandType','loadUnit','LocaleService','_substituteRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','_data','eventID','splice','SUBMIT_CHANGESET_TIMEOUT','socket\x20open.','pluginName','_replayCachedMutations','liveShareOperation','CONFLICT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','requireSession','_localeService','actions','MUTATION','_fetchMissChangesets','routeKey','image/gif','_createHandler','_scheduleCompleteTimestamp','snapshotServerUrl','@univerjs/sheets','getOwnPropertyDescriptor','DocCollaborationEntity','charCodeAt','repeat','UNIVER_SHEET','textEncoder','retryConnectingInterval','stringify','DEFAULT_COLLAB_WEB_SOCKET_URL','collabWebSocketUrl','UniverCollaborationClientPlugin','stopTime','cfg','getCollabEntity','not_collab','incrementRevOfUnit','/allowed','_oKey','SheetTransformSelectionsService','find','registerHTTPInterceptor','\x0aAfter:\x20','Univer','_init','_singleActiveUnitService','registerDependencies','_showConflictNotification','@univerjs-pro/license','decryptBlock','collaMsg','SetSelectionsOperation','getCurrentRevOfUnit','CHANGESET_ACK','dispose$','delay','19244380DgpXns','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createCollaborator','close$','getUnitType','_incrementRevisionNumber','_resendTimer','_onConflict','StreamCipher','toggleOffline','/role','INVITE_CODE_REQUIRED','/universer-api/stream/file/upload','session.room-permission-denied','objectID','POST','_acknowledgedAwaitingChangeset','originalMeta','_transformRemoteChangesetByIMECache','_checkMissing','isTransformMutationsWithChangesetSuccess','_createSocket','collaboratorID','encrypt','Latin1','[CollaborationEntity]','reduce','message$','LICENSE_DISTRO_REJECTED','signUrlServerUrl','unit-cache-','EmptyMutation','COMPLETION_FINISHED','INVALID_ARGUMENT','getUnitId','LICENSE_EXPORT_SIZE_EXCEEDED','mapDocumentTypeToUniverType','LICENSE_IMPORT_SIZE_EXCEEDED','FetchingMissState','COMPRESS_MUTATION_SEND','create','result','getValue','_key','FETCH_MISSING','_state','INVITE_CODE_ALREADY_BOUND','_tryEnsureSocket','onTransformRemoteChangesetByStateCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_retryCount','awaiting','default','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_commentUpdate$','_unlockTransition','SnapshotServerOverHTTPService','UNIVER_DOC','LIVESHARE_OPERATION','byteLength','roles','clamp','_getUndoStack','_invKeySchedule','NO_OTHER_CLIENTS_EDITING','createEncryptor','length','_resendTimeout','INTERNAL_ERROR','univer-pro.collaboration-client.network-condition.service','_undoStacks','enableAuthServer','resolve','ciphertext','BlockCipherMode','rev','Hasher','3809136WnMEvb','_executeRemoteChangeset','substr','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_createInitialState','removeMember','dispose','localCacheService','editingUnit','_onUserJoin','LEAVE','PERMISSION_DENIED','session.join-failed','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_pendingMutations','_transformSelections','randomBytes','selections','_onRemoteChangeset','reset','FAIL','40080lsBisG','COLLAB_SUBMIT_CHANGESET_URL','collaboration-client.config','[FetchMissState]','Injector','ConflictState','_applyRemoteChangeset','_roomCreated$','getTime','_clearScheduledTask','EMAIL_HAS_BEEN_BOUND','IUniverInstanceService','interceptor','_onCombEvent','PENDING','_waitForHeartbeatResponse','_telemetryService','crypto','/universer-api/oidc/authpage','Undefined','IContextService','transformSelections','_unitID','ERROR_IMAGE_TYPE','_onMessage','HELLO','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNIVER_COLLABORATION_CLIENT_PLUGIN','url','_lockTransition','createDecryptor','image/bmp','_clearRetryConnectingTimer','UNAUTHENTICATED','mergeOverrideWithDependencies','complete','_createInitialStateImpl','_transitionLocked','sequenceExecute','_instanceService','unitId','cmd','LIVESHARE_FETCH_OPERATIONS','_event$','_onRemoteACK','LOCAL_CACHE_INTERVAL_KEY','next','confirm','getMemberID','_unitInfo$','c1Prime','abs','_doProcessBlock','liveShareNewHost','_socket$','__creator','&assign=','error','getFocusedUnit','prototype','toStringTag','pauseCollaboration','override','withCredentials','_getCtorByUniverType','ERROR_IMAGE','onTransformSelections','readyForCollab','status','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REVISION_CONFILICT','status$','online$','responseType','PY_RUNTIME_SCRIPT_ERROR','ISnapshotServerService','add','_sendingTimer','NoPadding','YUUMI_UNABLE_LOAD_URL','UserProfileImg','code','CollaborationUIEventService','sessionStatus$','sheets','createIdentifier','getCurrentUser','capture','Cipher','RevisionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_disableEditing','apply','Utf8','YUUMI_NO_CUBOID_FOR_QUESTION','LocalUndoRedoService','\x20to\x20','_toggleOnline','LIVESHARE_REQUEST_HOST','_onConnectionFailed','getLatestCsReqIdBySid','InsertSheetMutation','_clearHeartbeatTimer','enableOfflineEditing','baseRev','UniverNetworkPlugin','_collaborationSessionService','SNAPSHOT_URL_KEY','_state$','patch','UnitStatus','fromCollab','_transformStateCache','_startTelemetryCollaborationNewChangeset','m2Prime','_memberService','name','shouldCloseConn','_permissionService','now','joinRsp','isInternalEditorID','_transformUndoredo','_userManagerService','_createHelper','commentUpdateEvent','waitForRoom$','[DataLoaderService]','_isPermissionRej','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','OpenSSL','SOCKET_FAILED','USER_NOT_INVITED_CODE','event$','_transformService','words','_config','_updateStatus','_sessionStatus$','deserializeToCombResponse','_parse','/rev/','update','RETRY_CONNECTING_MAX_COUNT','_clearLocalCache','PendingState','SerializableCipher','IPermissionService','clear','mode','Optional','ICommandService','_onUserLeave','_scheduleCollaborationTimeoutTimer','addHandlerCallback','_shouldReportTelemetry','_resendWithTimeout','/block/','SOCKET_FAILED_RETRY','HmacSHA1','/-/object/list','reqId','HttpExport','YUUMI_RATE_OVER_LIMIT','parseProtocolChangeset','_mode','objectType','_sessions','_createHmacHelper','[CollaborationState]:\x20apply\x20error!','has','roomInfos','DependentOn','getGlobalObject','_univerInstanceService','UNIVER_UNKNOWN','_prevBlock','_handler','FETCH_MISS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','AuthzIoHttpService','onTransformIME','\x20in\x20_schedule.','entries','pending','pipe','onRemoteAck','[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.','UNDEFINED','WordArray','_throwTelemetryCollaborationNewChangeset','initWorkbookPermissionChange','onload','USERS_ENTER','_toggleOffline','updateCollaborator','CollaborationEvent','_revisionService','_compressMutationService','parse','_tryReconnect','unsubscribe','bind','Inject','socketService','_iv','_collaborationTimeoutTimer','[OfflineState]:\x20received\x20rejection.','DEFAULT_WS_SESSION_TICKET_URL','ENSURE_SNAPSHOT_EXECUTION','blockSize','title','_initRequestHeader','equals','reconnect','_initDependencies','appendMutation','unitInfo$','getSnapshotAPIPath','ImageUploadStatusType','awaiting_with_pending','toLowerCase','COLLAB_WEB_SOCKET_URL_KEY','getRoom','SNAPSHOT_HAS_BEEN_REMOVED','_process','offline','onTransformState','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Disposable','@univerjs/docs','UNKNOWN_CMD','_xformMode','AES','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getAPIPrefixPath','ISocketService','1307akQiWt','_initUnitPermissionChange','_onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','onMissedChangesetFetched','UPDATE_CURSOR','post','[CollaborationSessionService]:\x20socket\x20error','finalize','_doFinalize','revision','/fetchmissing?from=','onStateChange','shareReplay','target','execute','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','reverse','ONLINE','JOIN_ROOM_NOT_EXISTS','transformChangesets','ImageSourceType','close','clone','_configService','ThresholdInterceptorFactory','headers','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','exports','session.room-not-exists','MemberService','onSendChangeset','MentionIoHttpService','BufferedBlockAlgorithm','localeService','csRejEvent','extend','_keySchedule','_httpService','resend','onCommentUpdate','takeUntil','error$','BASE64','_socketMessageSubscription','PSEUDO_FETCH_MISSING_RESULT','_clearRedo','compute','byteOffset','auth.needGotoLoginAlert','/universer-api/file/{fileID}/sign-url','_onConnectionOpen','TOO_MANY_REQUESTS','Subject','isTransformMutationsWithChangesetFailure','_awaitingChangeset','&source=','_doCryptBlock','/universer-api/snapshot','_sheetTransformSelectionsService','debug','getUnitOnRev','algo','1186nxwNxv','_initMergeInterceptor','getMember','HEARTBEAT_INTERVAL','_snapshotService','_commentService','HTTPRequest','loadDoc','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Encryptor','univer-pro.collaboration-client-socket-service','Base','image/jpg','YUUMI_AI_RUN_FAILED','Base64','every','OfflineState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_updateLocalCache','IMentionIOService','authzUrl','session','_roomMembers','MentionType','WECHAT_HAS_BEEN_BOUND','_logService','IUndoRedoService','SHOULD_CLOSE_CONN','_loadSheet','synced','_members','15197904iEqmAW','_transformRemoteChangesetByStateCache','submit\x20changeset\x20error!','_waitCount','HEARTBEAT','Plugin','duration','CollaborationController','_sendHeartbeatTimer','DataLoaderService','/object','_entityInit$','listCollaborators','sid','unknown','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','state$','BlockCipher','OTHER_CLIENT_EDITING','avatar','INVITE_CODE_HAS_BEEN_UES','unitID','enc','getUnit','mixIn','reject','salt','concat','_onRecvEvent','Tools','AwaitingWithPendingState','_socket','_ENC_XFORM_MODE','memberID','UnitEmbedded','toDisposable','CLOSE_ROOM','HttpImport','APPLY_REJECT','_exhaustRemoteChangesetQueue','map','_doReset','getConfig','_joinRoom','onMissingChangesets','408XFSbSY','saveSheetBlock','asObservable','keySize','DEFAULT_FILE_NAME','MSG_FOR_ERROR','[CollaborationSession]','toString','_reverseMap','_transformIMECache','fetch_missing','random','LOGIN_URL_KEY','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','unitId\x20is\x20not\x20found','_DEC_XFORM_MODE','CompressMutationService','addImageSourceCache','getTypeOfUnitDisposed$','YUUMI_ALL_TABLES_IS_INVALID','BehaviorSubject','ERROR_EXCEED_SIZE','_startCollaboration','_eventService','encodeURIComponent','processBlock','/universer-api/comb','rng','UniverInstanceType','executeCommand','getLocalCacheKey','lib','ITelemetryService','_clearUndo','fetchThroughInterceptors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LIVESHARE_NEW_HOST','getInterceptPoints','send','_minBufferSize','onRemoteRetry','transformStack\x20failed!','SEND_CHANGESET_TIMEOUT','take','list','_socketReady','[SyncedState]:\x20received\x20acknowledgement.','sigBytes','_HTTPService','filter','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborationSocketService','_loadDoc','_substituteUndoStack','ISingleActiveUnitService','setWaitCount','FileId','toggleOnline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','AWAITING_WITH_PENDING','change$','loginUrlKey','_snapshotServerService','setCurrentUser','_clearTimeoutTimer','userID','setConfig','findIndex','downloadEndpointUrl','permissionRejEvent','OTHER_CLIENTS_EDITING','_hasher','hasOwnProperty','collaboration_new_changeset','OFFLINE','deleteCollaborator','save\x20fail\x20reason\x20is\x20','YUUMI_ASYNCIO_CANCELLED','_schedule','textRanges','getUnitStatus$','join','isPermissionRej','getImage','_entities','_transformStack','LOCAL_CACHE_INTERVAL','joinEvent','_networkConditionService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CommentService','_collabSessionService','createSocket','hasher','PERMISSION_REJ','_candidateSocket','emitEvent','firstValueFrom','getImageSourceCache','getAllMembers','RichTextEditingMutation','YUUMI_URL_COL_OUT_OF_RANGE','/collaborator','function','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','MOBILE_HAS_BEEN_BOUND','updatePermissionPoint','_listenToNetworkCondition','NOT_COLLAB','DisposableCollection','_keyPriorReset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onFetchMissResult','_status$','padding','SheetCollaborationEntity','body','ALREADY_EXISTS','[PendingState]:\x20received\x20acknowledgement.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SHA1','JOINING','RxDisposable','copyFileMeta','key','loadOfflineData','rxjs','Quantity','focused$','_emitMembers','_telemetryInfo','CHANGESET_REJ','JOIN','getRandomValues','3055766bSPZvB','string','_localCacheService','enableSingleActiveInstanceLock','CollaborationImageIoService','_append','_getAPIPrefix','JOIN_ROOM_PERMISSION_DENIED','_map','concatMap','values','LIVESHARE_TERMINATE','workbook','APPLY_PERMISSION_DENIED','call','_getCurrentRevision','32bKAjkN','_removeRoom','WorkbookEditablePermission','decrypt','forEach','_commandService','HMAC','push','connection\x20error','mutations','ivSize','_sender','getCurrentSelections','members$','telemetry\x20info\x20is\x20not\x20initialized','_collaborationUIEventService','@univerjs/telemetry','startsWith','refreshPermission','compose','charAt','AWAITING','_cipher','_change$','[OfflineState]:\x20received\x20changeset.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CHANGESET_SHOULD_RETRY','serializeCombRequest','hostname','ILogService','_timeoutTimer','SEND_CHANGESET_TIMEOUT_KEY','delete','COLLAB_WEB_SOCKET_URL','generateRandomId','HmacMD5','session.room-full','MD5','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_type','@univerjs/network','_sendHeartbeat','disposeWithMe','Decryptor','People','onCommandExecuted','sendChangesetTimeout','_clearCollaborationTimeoutTimer','MergeInterceptorFactory','type','GLOBAL_ROOMS_CNT_EXCEEDS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CollaborativeUndoRedoService','getTypeOfUnitAdded$','[SyncedState]:\x20received\x20rejection.','?url=','[OfflineState]:\x20received\x20acknowledgement.','msCrypto','href','session.room-cnt-exceeds','CHANGESET_REVISION_CONFILICT','UPDATE_PERMISSION_OBJ','getCollabEntity$','getDeserializedSheetBlock','/unit/','ceil','objects','transformMutationsWithChangeset','readAsDataURL','updateMember','_updateState','onStarting','uploadFileServerUrl','_iKey','[CollaborationUndoRedoService]','fetchMissingChangesets','USERS_LEAVE','listRoles','JOIN_ROOM_FULL','merge','COMMENT_UPDATE','collaborators','max','IConfigService','INGEST','$super','JOIN_ROOM_FAILED','editing\x20status\x20changed\x20to','fromCharCode','slice','/object/','SyncedState','SheetPermissionInitController','SNAPSHOT_INVALID_SNAPSHOT','IAuthzIoService','_getSendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL_KEY','RECV','AwaitingState','_members$','members','_retryConnectingTimer','symbol','APPLY_DUPLICATED','get','PERSON','{fileID}','image/png','UNIVER_PROJECT','_submitChangeset','_onOffline','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','EXCHANGE_SIGN_URL_SERVER_URL_KEY','kdf','UserManagerService','_registerDependencies','APPLY_NON_SEQUENTIAL_REVISION','_onLocalMutation','uniscriptRunEvent','getSheetId','/universer-api/authz','_handlerCallback','/-/object/-/batch_allowed','[CollaborationSessionService]','allowed','_queuedRemoteChangesets','_rescheduleHeartbeat','format','open$','requestParams','isArray','catch','awaitingChangeset','SUBMIT_CHANGESET','_replaceFileID','init','onRemoteRej','changesets','loadSheet','subject','_onJoinRoomEvent','randomUUID','UniverCollaborationPlugin','updateOfflineData','@univerjs-pro/collaboration','_getRedoStack','EvpKDF','_nDataBytes','pad','parseChangesetToProtocol','_changesetSessionId','x-univer-host','floor','createInstance','_imageSourceCache','_getUploadFileURL','CollaborationSession'];_0x3833=function(){return _0xdad5e6;};return _0x3833();}exports[_0x1bc887(0x4ac)]=class extends a[_0x1bc887(0x486)]{constructor(_0x5040dc,_0x29c10b){var _0x598acd=_0x1bc887;super(),A(this,'_roomMembers',new Map()),A(this,_0x598acd(0x3a8),new j['Subject']()),(this[_0x598acd(0x44f)]=_0x5040dc,this[_0x598acd(0x41c)]=_0x29c10b,this[_0x598acd(0x25f)](j[_0x598acd(0x284)](this[_0x598acd(0x44f)][_0x598acd(0x1b0)](a[_0x598acd(0x1ba)][_0x598acd(0x320)])[_0x598acd(0x45a)](V[_0x598acd(0x199)](_0x39fb9a=>_0x39fb9a[_0x598acd(0x361)]())),this[_0x598acd(0x44f)]['getTypeOfUnitDisposed$'](a[_0x598acd(0x1ba)][_0x598acd(0x378)])[_0x598acd(0x45a)](V[_0x598acd(0x199)](_0x387f34=>_0x387f34[_0x598acd(0x361)]())),this[_0x598acd(0x44f)]['getTypeOfUnitDisposed$'](a[_0x598acd(0x1ba)]['UNIVER_SLIDE'])[_0x598acd(0x45a)](V[_0x598acd(0x199)](_0xc155d0=>_0xc155d0[_0x598acd(0x361)]())))[_0x598acd(0x2fd)](_0x3823a5=>this[_0x598acd(0x236)](_0x3823a5))));}[_0x1bc887(0x41f)](_0x1d963e){var _0x300be8=_0x1bc887;return this[_0x300be8(0x167)][_0x300be8(0x44b)](_0x1d963e)?j['of'](this[_0x300be8(0x167)][_0x300be8(0x29d)](_0x1d963e)):this['_roomCreated$'][_0x300be8(0x45a)](V[_0x300be8(0x199)](_0x104f12=>{var _0x4904ad=_0x300be8;if(_0x104f12===_0x1d963e)return this[_0x4904ad(0x167)][_0x4904ad(0x29d)](_0x104f12);}));}[_0x1bc887(0x1dd)](_0x542f9f){var _0x4a2e07=_0x1bc887;this[_0x4a2e07(0x41c)]['setCurrentUser'](_0x542f9f);}[_0x1bc887(0x3f7)](){var _0x10832d=_0x1bc887;return this[_0x10832d(0x41c)][_0x10832d(0x3f7)]();}[_0x1bc887(0x27a)](_0x4ef581,_0x1d50df){var _0x65b1d6=_0x1bc887;let _0x413bab=this['_roomMembers']['get'](_0x4ef581);_0x413bab||(_0x413bab=new ri(),this[_0x65b1d6(0x167)][_0x65b1d6(0x2f7)](_0x4ef581,_0x413bab),this[_0x65b1d6(0x3a8)]['next'](_0x4ef581)),_0x413bab[_0x65b1d6(0x27a)](_0x1d50df);}[_0x1bc887(0x391)](_0x35d644,_0x2f0f86){var _0x529a25=_0x1bc887;const _0x307bb6=this[_0x529a25(0x167)][_0x529a25(0x29d)](_0x35d644);_0x307bb6&&_0x307bb6['removeMember'](_0x2f0f86);}[_0x1bc887(0x480)](_0x4eb5fe){var _0x25f338=_0x1bc887;return this[_0x25f338(0x167)][_0x25f338(0x29d)](_0x4eb5fe);}['getMember'](_0x557bdc,_0x446fab){var _0x5797f2=_0x1bc887;const _0x4a5cf3=this[_0x5797f2(0x167)][_0x5797f2(0x29d)](_0x557bdc);if(_0x4a5cf3)return _0x4a5cf3[_0x5797f2(0x153)](_0x446fab);}[_0x1bc887(0x236)](_0x23daaa){var _0x5a4b48=_0x1bc887;const _0x3f25a3=this[_0x5a4b48(0x167)][_0x5a4b48(0x29d)](_0x23daaa);_0x3f25a3&&(_0x3f25a3[_0x5a4b48(0x392)](),this[_0x5a4b48(0x167)][_0x5a4b48(0x255)](_0x23daaa));}[_0x1bc887(0x392)](){var _0x3d652e=_0x1bc887;this['_roomMembers']['forEach'](_0x44faff=>_0x44faff['dispose']()),this['_roomMembers'][_0x3d652e(0x435)](),this[_0x3d652e(0x3a8)]['complete']();}},exports[_0x1bc887(0x4ac)]=ni([Ke(0x0,a[_0x1bc887(0x3ac)]),Ke(0x1,a[_0x1bc887(0x46c)](a[_0x1bc887(0x2a7)]))],exports[_0x1bc887(0x4ac)]);class ri extends a[_0x1bc887(0x486)]{constructor(){var _0x1ce362=_0x1bc887;super(...arguments),A(this,_0x1ce362(0x16f),new Map()),A(this,_0x1ce362(0x298),new j[(_0x1ce362(0x1b2))](this[_0x1ce362(0x16f)])),A(this,_0x1ce362(0x242),this[_0x1ce362(0x298)][_0x1ce362(0x1a0)]());}[_0x1bc887(0x392)](){var _0x1cfebe=_0x1bc887;this[_0x1cfebe(0x16f)][_0x1cfebe(0x435)]();}[_0x1bc887(0x27a)](_0x4d7a1e){var _0x34fb0a=_0x1bc887;this[_0x34fb0a(0x16f)][_0x34fb0a(0x2f7)](_0x4d7a1e[_0x34fb0a(0x192)],_0x4d7a1e),this[_0x34fb0a(0x220)]();}[_0x1bc887(0x391)](_0x27515d){var _0xa20197=_0x1bc887;this[_0xa20197(0x16f)]['delete'](_0x27515d);}[_0x1bc887(0x153)](_0xe3b19e){var _0xce4681=_0x1bc887;return this[_0xce4681(0x16f)][_0xce4681(0x29d)](_0xe3b19e);}[_0x1bc887(0x201)](){var _0x36ef1e=_0x1bc887;return Array['from'](this[_0x36ef1e(0x16f)][_0x36ef1e(0x22f)]());}[_0x1bc887(0x220)](){var _0x99483e=_0x1bc887;this[_0x99483e(0x298)][_0x99483e(0x3cf)](this[_0x99483e(0x16f)]);}}var si=Object[_0x1bc887(0x31c)],oi=(_0xf751d8,_0x13155f,_0x2bb4d0,_0x30638c)=>{var _0x557d77=_0x1bc887;for(var _0x38f5c8=_0x30638c>0x1?void 0x0:_0x30638c?si(_0x13155f,_0x2bb4d0):_0x13155f,_0x3341e1=_0xf751d8[_0x557d77(0x381)]-0x1,_0xf40b54;_0x3341e1>=0x0;_0x3341e1--)(_0xf40b54=_0xf751d8[_0x3341e1])&&(_0x38f5c8=_0xf40b54(_0x38f5c8)||_0x38f5c8);return _0x38f5c8;},oe=(_0x1c14e2,_0x2317ec)=>(_0x17dc32,_0x38120e)=>_0x2317ec(_0x17dc32,_0x38120e,_0x1c14e2),se=(_0x4139de=>(_0x4139de[_0x4139de[_0x1bc887(0x2e2)]=0x0]=_0x1bc887(0x2e2),_0x4139de[_0x4139de[_0x1bc887(0x218)]=0x1]=_0x1bc887(0x218),_0x4139de[_0x4139de[_0x1bc887(0x1e8)]=0x2]=_0x1bc887(0x1e8),_0x4139de[_0x4139de[_0x1bc887(0x4a0)]=0x3]=_0x1bc887(0x4a0),_0x4139de))(se||{});const Ye={[ae[_0x1bc887(0x3a0)]]:_0x1bc887(0x398),[ae[_0x1bc887(0x283)]]:_0x1bc887(0x259),[ae[_0x1bc887(0x4a1)]]:_0x1bc887(0x4ab),[ae[_0x1bc887(0x22c)]]:_0x1bc887(0x34c),[ae[_0x1bc887(0x267)]]:_0x1bc887(0x270)};exports[_0x1bc887(0x2d1)]=class extends a[_0x1bc887(0x219)]{constructor(_0x2652d8,_0x57bec5,_0x5e3898,_0x235424,_0x58b500,_0x40dc15,_0x520675,_0x94d6a6,_0x573ef0){var _0x207b3a=_0x1bc887;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x207b3a(0x42b)][_0x207b3a(0x1a0)]()),A(this,_0x207b3a(0x3cc),new j[(_0x207b3a(0x147))]()),A(this,_0x207b3a(0x426),this[_0x207b3a(0x3cc)]['asObservable']()),A(this,'_socket'),A(this,_0x207b3a(0x13e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x207b3a(0x43c),!0x1),A(this,_0x207b3a(0x221),null),(this['_unitID']=_0x2652d8,this[_0x207b3a(0x16a)]=_0x5e3898,this[_0x207b3a(0x4a6)]=_0x235424,this[_0x207b3a(0x312)]=_0x58b500,this[_0x207b3a(0x414)]=_0x40dc15,this['_commentService']=_0x520675,this[_0x207b3a(0x244)]=_0x94d6a6,this['_telemetryService']=_0x573ef0,this[_0x207b3a(0x43c)]=!!this[_0x207b3a(0x3b1)],_0x57bec5[_0x207b3a(0x45a)](j['takeUntil'](this['dispose$']))[_0x207b3a(0x2fd)](_0x592fca=>{var _0x13adb5=_0x207b3a,_0x23fd32;typeof _0x592fca>'u'||(this[_0x13adb5(0x190)]=_0x592fca,_0x592fca?(this[_0x13adb5(0x19c)](_0x592fca),this[_0x13adb5(0x13e)]=_0x592fca[_0x13adb5(0x35a)]['subscribe'](_0x27956a=>{var _0x16708f=_0x13adb5;_0x27956a[_0x16708f(0x316)]===this[_0x16708f(0x3b7)]&&this[_0x16708f(0x3ae)](_0x27956a);})):(this[_0x13adb5(0x45f)](),this[_0x13adb5(0x42b)][_0x13adb5(0x3cf)](0x2),(_0x23fd32=this[_0x13adb5(0x13e)])==null||_0x23fd32[_0x13adb5(0x46a)](),this[_0x13adb5(0x13e)]=null));}));}get['sessionStatus'](){var _0x167fc6=_0x1bc887;return this[_0x167fc6(0x42b)]['getValue']();}[_0x1bc887(0x3d1)](){var _0x5d53fb,_0x3dab13;return(_0x3dab13=(_0x5d53fb=this['_socket'])==null?void 0x0:_0x5d53fb['memberID'])!=null?_0x3dab13:null;}[_0x1bc887(0x392)](){var _0x223fee=_0x1bc887;super[_0x223fee(0x392)](),this['dispose$'][_0x223fee(0x3cf)](),this[_0x223fee(0x33d)][_0x223fee(0x3c4)]();}[_0x1bc887(0x4a4)](){var _0x36e66a=_0x1bc887,_0x45bc20,_0x1d8d37;this[_0x36e66a(0x45f)](),(_0x45bc20=this[_0x36e66a(0x190)])==null||_0x45bc20[_0x36e66a(0x1c4)]({'cmd':W[_0x36e66a(0x396)],'data':{'roomID':this[_0x36e66a(0x3b7)]}}),(_0x1d8d37=this[_0x36e66a(0x190)])==null||_0x1d8d37[_0x36e66a(0x4a4)](),this[_0x36e66a(0x3cc)]['complete'](),this[_0x36e66a(0x42b)][_0x36e66a(0x3c4)](),this[_0x36e66a(0x392)]();}[_0x1bc887(0x3ae)](_0x2cb3f5){var _0x4b3163=_0x1bc887;_0x2cb3f5[_0x4b3163(0x3ca)]===W['JOIN']?this['_onJoinRoomEvent'](_0x2cb3f5):_0x2cb3f5[_0x4b3163(0x3ca)]===W[_0x4b3163(0x296)]&&this[_0x4b3163(0x18d)](_0x2cb3f5);}[_0x1bc887(0x19c)](_0x36a65f){var _0x3a3d80=_0x1bc887;this[_0x3a3d80(0x42b)][_0x3a3d80(0x3cf)](0x1),_0x36a65f[_0x3a3d80(0x1c4)]({'cmd':W[_0x3a3d80(0x223)],'routeKey':this[_0x3a3d80(0x3b7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3a3d80(0x3b7)]}]}});}[_0x1bc887(0x2c1)](_0x26af7c){var _0x3fe20a=_0x1bc887,_0x23c8f3;if(_0x26af7c[_0x3fe20a(0x3f2)]in Ye){this[_0x3fe20a(0x244)][_0x3fe20a(0x1fe)]({'id':Q[_0x3fe20a(0x28b)],'data':Ye[_0x26af7c[_0x3fe20a(0x3f2)]]}),this['_sessionStatus$'][_0x3fe20a(0x3cf)](0x2);return;}this[_0x3fe20a(0x42b)][_0x3fe20a(0x3cf)](0x3);const _0x5ac79c=(_0x23c8f3=_0x26af7c[_0x3fe20a(0x301)][_0x3fe20a(0x44c)][this[_0x3fe20a(0x3b7)]])==null?void 0x0:_0x23c8f3[_0x3fe20a(0x299)];_0x5ac79c&&_0x5ac79c[_0x3fe20a(0x239)](_0x5cdfc0=>this[_0x3fe20a(0x414)][_0x3fe20a(0x27a)](this['_unitID'],_0x5cdfc0));}[_0x1bc887(0x18d)](_0x426d42){var _0x34f7ac=_0x1bc887;try{const _0x519a70=_0x426d42[_0x34f7ac(0x301)];switch(_0x519a70[_0x34f7ac(0x308)]){case g[_0x34f7ac(0x465)][_0x34f7ac(0x462)]:this[_0x34f7ac(0x395)](_0x519a70),this[_0x34f7ac(0x3cc)][_0x34f7ac(0x3cf)](_0x519a70);break;case g[_0x34f7ac(0x465)][_0x34f7ac(0x281)]:this[_0x34f7ac(0x439)](_0x519a70),this[_0x34f7ac(0x3cc)][_0x34f7ac(0x3cf)](_0x519a70);break;case g[_0x34f7ac(0x465)][_0x34f7ac(0x33c)]:case g[_0x34f7ac(0x465)][_0x34f7ac(0x24f)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x34f7ac(0x264)](),this['_event$']['next'](_0x519a70);break;case g[_0x34f7ac(0x465)]['MSG_FOR_ERROR']:this[_0x34f7ac(0x16a)][_0x34f7ac(0x3da)](_0x34f7ac(0x1ea)+JSON['stringify'](_0x519a70)),this['_event$'][_0x34f7ac(0x3cf)](_0x519a70);break;case g[_0x34f7ac(0x465)][_0x34f7ac(0x285)]:this[_0x34f7ac(0x156)][_0x34f7ac(0x13a)](_0x519a70[_0x34f7ac(0x301)]),this[_0x34f7ac(0x3cc)][_0x34f7ac(0x3cf)](_0x519a70);break;default:this[_0x34f7ac(0x3cc)][_0x34f7ac(0x3cf)](_0x519a70);}}catch(_0x41ff95){this[_0x34f7ac(0x16a)]['error'](_0x41ff95,_0x426d42);}}[_0x1bc887(0x395)](_0x4fcb97){var _0x2c28a0=_0x1bc887;this[_0x2c28a0(0x414)]['updateMember'](this[_0x2c28a0(0x3b7)],_0x4fcb97[_0x2c28a0(0x301)]);}['_onUserLeave'](_0x2d0452){var _0x58b097=_0x1bc887;this[_0x58b097(0x414)][_0x58b097(0x391)](this['_unitID'],_0x2d0452[_0x58b097(0x301)][_0x58b097(0x192)]);}async[_0x1bc887(0x1c4)](_0x45f126,_0x4e16df){var _0x463393=_0x1bc887;if(this['sessionStatus']!==0x3||!this[_0x463393(0x190)])throw new Error(_0x463393(0x48b));try{_0x45f126[_0x463393(0x308)]===g['CollaborationEvent'][_0x463393(0x2ba)]&&(this[_0x463393(0x43a)](),this[_0x463393(0x412)](_0x45f126)),this[_0x463393(0x190)]['send']({'cmd':W[_0x463393(0x289)],'routeKey':_0x4e16df,'routeType':'','data':_0x45f126});}catch(_0x3724e2){this[_0x463393(0x16a)]['error'](_0x3724e2);}}[_0x1bc887(0x43a)](){var _0x5ceb40=_0x1bc887,_0x1fbc3b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x282a52=_0x5233;this['_collaborationTimeoutTimer']=null,this[_0x282a52(0x244)][_0x282a52(0x1fe)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1fbc3b=this[_0x5ceb40(0x4a6)][_0x5ceb40(0x19b)](je))!=null?_0x1fbc3b:gt);}[_0x1bc887(0x264)](){var _0x44510b=_0x1bc887;this[_0x44510b(0x46f)]&&(clearTimeout(this[_0x44510b(0x46f)]),this[_0x44510b(0x46f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x508918){var _0x16ec90=_0x1bc887;if(!this[_0x16ec90(0x43c)])return;const {data:_0x22bacd}=_0x508918,{unitID:_0x99643,changeset:_0x561078}=_0x22bacd,{mutations:_0xe657e7,type:_0x249a90}=_0x561078;this['_telemetryInfo']={'unitId':_0x99643,'type':_0x249a90,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0xe657e7)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x46dea9=_0x1bc887;if(this[_0x46dea9(0x43c)]){if(!this[_0x46dea9(0x221)]){this[_0x46dea9(0x16a)][_0x46dea9(0x3da)](_0x46dea9(0x1a4),_0x46dea9(0x243));return;}this[_0x46dea9(0x221)]['stopTime']=performance[_0x46dea9(0x418)](),this[_0x46dea9(0x221)][_0x46dea9(0x176)]=this['_telemetryInfo'][_0x46dea9(0x327)]-this[_0x46dea9(0x221)]['startTime'],this['_telemetryService'][_0x46dea9(0x3f8)](ei,this[_0x46dea9(0x221)]),this[_0x46dea9(0x221)]=null;}}[_0x1bc887(0x45f)](){var _0x534992=_0x1bc887;this[_0x534992(0x221)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x1bc887(0x288)]),oe(0x4,a[_0x1bc887(0x46c)](a[_0x1bc887(0x304)])),oe(0x5,a[_0x1bc887(0x46c)](exports[_0x1bc887(0x4ac)])),oe(0x6,a[_0x1bc887(0x46c)](Be)),oe(0x7,a[_0x1bc887(0x46c)](te)),oe(0x8,a['Optional'](Mt[_0x1bc887(0x1be)]))],exports[_0x1bc887(0x2d1)]);var ai=Object[_0x1bc887(0x31c)],ci=(_0x338f36,_0x548a7d,_0x85ecfd,_0x9eeae9)=>{var _0x28e393=_0x1bc887;for(var _0x34eb9f=_0x9eeae9>0x1?void 0x0:_0x9eeae9?ai(_0x548a7d,_0x85ecfd):_0x548a7d,_0x3d5cdb=_0x338f36[_0x28e393(0x381)]-0x1,_0x1a2f29;_0x3d5cdb>=0x0;_0x3d5cdb--)(_0x1a2f29=_0x338f36[_0x3d5cdb])&&(_0x34eb9f=_0x1a2f29(_0x34eb9f)||_0x34eb9f);return _0x34eb9f;},_e=(_0x489969,_0x1d120c)=>(_0x5487d4,_0x26d813)=>_0x1d120c(_0x5487d4,_0x26d813,_0x489969);exports[_0x1bc887(0x2f4)]=class extends a[_0x1bc887(0x486)]{constructor(_0x448964,_0x24b67c,_0x35fed7,_0x46e74a,_0x29b6fd,_0x398d4f){var _0x1c753d=_0x1bc887;super(),A(this,_0x1c753d(0x3d7),new j['BehaviorSubject'](void 0x0)),A(this,'socket$',this['_socket$']['asObservable']()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,_0x1c753d(0x210),new j[(_0x1c753d(0x1b2))](se[_0x1c753d(0x2e2)])),A(this,_0x1c753d(0x3e8),this[_0x1c753d(0x210)][_0x1c753d(0x1a0)]()),A(this,_0x1c753d(0x1cb),!0x1),A(this,_0x1c753d(0x29a)),A(this,_0x1c753d(0x371),0x0),A(this,_0x1c753d(0x178)),A(this,_0x1c753d(0x253)),(this[_0x1c753d(0x2db)]=_0x448964,this[_0x1c753d(0x16a)]=_0x24b67c,this['_configService']=_0x35fed7,this['_socketService']=_0x46e74a,this[_0x1c753d(0x244)]=_0x29b6fd,this[_0x1c753d(0x1f6)]=_0x398d4f,this[_0x1c753d(0x20a)]());}get[_0x1bc887(0x190)](){var _0x1c982c=_0x1bc887;return this[_0x1c982c(0x3d7)][_0x1c982c(0x369)]();}['_listenToNetworkCondition'](){var _0x63dd8a=_0x1bc887;this[_0x63dd8a(0x1f6)]&&this[_0x63dd8a(0x25f)](this[_0x63dd8a(0x1f6)][_0x63dd8a(0x3e9)][_0x63dd8a(0x2fd)](_0x32b7d3=>{var _0x5405f3=_0x63dd8a;_0x32b7d3&&!this[_0x5405f3(0x190)]&&this[_0x5405f3(0x477)](),_0x32b7d3||this['_onOffline']();}));}[_0x1bc887(0x392)](){var _0x1fcea1=_0x1bc887;super[_0x1fcea1(0x392)](),this[_0x1fcea1(0x3c1)](),this[_0x1fcea1(0x1de)](),this[_0x1fcea1(0x407)](),this['_sessions'][_0x1fcea1(0x239)](_0x476a1d=>_0x476a1d[_0x1fcea1(0x392)]()),this[_0x1fcea1(0x448)][_0x1fcea1(0x435)](),this[_0x1fcea1(0x210)][_0x1fcea1(0x3c4)]();}async[_0x1bc887(0x311)](_0x573161){var _0x4e758f=_0x1bc887;if(this[_0x4e758f(0x448)][_0x4e758f(0x44b)](_0x573161))return this[_0x4e758f(0x448)][_0x4e758f(0x29d)](_0x573161);this[_0x4e758f(0x36e)]();const _0x37355d=this[_0x4e758f(0x2db)][_0x4e758f(0x2ce)](exports[_0x4e758f(0x2d1)],_0x573161,this[_0x4e758f(0x3d7)][_0x4e758f(0x1a0)]());return this['_sessions'][_0x4e758f(0x2f7)](_0x573161,_0x37355d),_0x37355d;}['closeSession'](_0x1a5a6b){var _0x51a40f=_0x1bc887,_0x165a59;const _0x2aa822=this[_0x51a40f(0x448)][_0x51a40f(0x29d)](_0x1a5a6b);_0x2aa822&&(this[_0x51a40f(0x448)][_0x51a40f(0x255)](_0x1a5a6b),_0x2aa822[_0x51a40f(0x4a4)]()),this['_sessions']['size']||(_0x165a59=this[_0x51a40f(0x190)])==null||_0x165a59['close']();}['reconnect'](){var _0x5ba940=_0x1bc887;this[_0x5ba940(0x371)]=0x0,this[_0x5ba940(0x3c1)](),this[_0x5ba940(0x469)]();}[_0x1bc887(0x3c1)](){var _0x2b549a=_0x1bc887;this[_0x2b549a(0x29a)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2b549a(0x29a)]=null);}async[_0x1bc887(0x354)](){var _0x5a4036=_0x1bc887,_0x3ef9e6,_0x46c467;const _0x407c03=this[_0x5a4036(0x4a6)][_0x5a4036(0x19b)](St),_0x4d5ad5=this[_0x5a4036(0x4a6)][_0x5a4036(0x19b)](Y),_0x5e8dc9=(_0x46c467=(_0x3ef9e6=_0x4d5ad5==null?void 0x0:_0x4d5ad5[_0x5a4036(0x325)])!=null?_0x3ef9e6:_0x407c03)!=null?_0x46c467:ft,_0x1206cb=await this[_0x5a4036(0x207)][_0x5a4036(0x1fa)](_0x5e8dc9);return this[_0x5a4036(0x1fd)]=_0x1206cb,_0x1206cb;}async[_0x1bc887(0x36e)](){var _0x1b78b7=_0x1bc887,_0x2495b6,_0x5118ed;try{const _0x3fc59c=(_0x5118ed=(_0x2495b6=this['_socket'])!=null?_0x2495b6:this[_0x1b78b7(0x1fd)])!=null?_0x5118ed:await this['_createSocket']();if(_0x3fc59c){const _0x2fb8c3=_0x3fc59c[_0x1b78b7(0x1c4)];_0x3fc59c[_0x1b78b7(0x1c4)]=_0x53e067=>(this['_rescheduleHeartbeat'](),_0x2fb8c3['apply'](_0x3fc59c,[_0x53e067])),_0x3fc59c[_0x1b78b7(0x35a)][_0x1b78b7(0x2fd)](_0x479b2c=>this[_0x1b78b7(0x3b9)](_0x3fc59c,_0x479b2c)),_0x3fc59c[_0x1b78b7(0x13c)]['pipe'](V[_0x1b78b7(0x1c9)](0x1))[_0x1b78b7(0x2fd)](_0x252a77=>this['_logService'][_0x1b78b7(0x3da)](_0x1b78b7(0x495),_0x252a77)),_0x3fc59c[_0x1b78b7(0x2b5)]['pipe'](V[_0x1b78b7(0x1c9)](0x1))[_0x1b78b7(0x2fd)](()=>{var _0x58333b=_0x1b78b7;this[_0x58333b(0x145)](_0x3fc59c);}),_0x3fc59c[_0x1b78b7(0x342)][_0x1b78b7(0x45a)](V[_0x1b78b7(0x1c9)](0x1))[_0x1b78b7(0x2fd)](_0x67a65=>{var _0x3f15e2=_0x1b78b7;this[_0x3f15e2(0x16a)]['debug'](_0x3f15e2(0x2b0),_0x3f15e2(0x2e0),_0x67a65),this[_0x3f15e2(0x404)]();});}}catch(_0x3b062f){this['_logService'][_0x1b78b7(0x3da)](_0x3b062f),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0xb63ecd){var _0xa855f5=_0x1bc887;this[_0xa855f5(0x16a)][_0xa855f5(0x14e)]('[CollaborationSessionService]',_0xa855f5(0x30b)),_0xb63ecd[_0xa855f5(0x1c4)]({'cmd':W[_0xa855f5(0x3ba)]}),this['_rescheduleHeartbeat']();}[_0x1bc887(0x2a3)](){var _0x32b466=_0x1bc887;this['_socketReady']=!0x1,this[_0x32b466(0x1fd)]=null,this[_0x32b466(0x210)][_0x32b466(0x3cf)](se[_0x32b466(0x1e8)]),this[_0x32b466(0x3d7)][_0x32b466(0x3cf)](null),this[_0x32b466(0x1de)](),this[_0x32b466(0x407)]();}[_0x1bc887(0x404)](){var _0x2b54e3=_0x1bc887,_0x2238f6;this[_0x2b54e3(0x2a3)](),this[_0x2b54e3(0x371)]<((_0x2238f6=this['_configService'][_0x2b54e3(0x19b)](It))!=null?_0x2238f6:Vt)?(this[_0x2b54e3(0x244)][_0x2b54e3(0x1fe)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x2b54e3(0x469)]()):this[_0x2b54e3(0x244)]['emitEvent']({'id':Q[_0x2b54e3(0x424)]});}[_0x1bc887(0x469)](){var _0x6ae3f1=_0x1bc887,_0x570598;const _0xee3e7a=this[_0x6ae3f1(0x371)],_0xdb0ac9=this[_0x6ae3f1(0x4a6)][_0x6ae3f1(0x19b)](Y),_0x4db573=_0xee3e7a===0x0?0x0:((_0x570598=_0xdb0ac9==null?void 0x0:_0xdb0ac9[_0x6ae3f1(0x322)])!=null?_0x570598:Ft)*0x2**_0xee3e7a;this['_retryConnectingTimer']=setTimeout(()=>{var _0x32e8f2=_0x6ae3f1;clearTimeout(this[_0x32e8f2(0x29a)]),this['_retryConnectingTimer']=null,this[_0x32e8f2(0x36e)]();},_0x4db573),this['_retryCount']+=0x1;}['_onMessage'](_0x3556e0,_0x2c5d49){var _0x16659d=_0x1bc887;const {cmd:_0x20179b}=_0x2c5d49;_0x20179b===W['HELLO']&&!this[_0x16659d(0x1cb)]&&(_0x3556e0[_0x16659d(0x192)]=_0x2c5d49[_0x16659d(0x301)]['memberID'],this[_0x16659d(0x3d7)][_0x16659d(0x3cf)](_0x3556e0),this['_status$'][_0x16659d(0x3cf)](se[_0x16659d(0x4a0)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x20179b===W[_0x16659d(0x174)]&&this[_0x16659d(0x1de)](),this[_0x16659d(0x2b3)]();}[_0x1bc887(0x2b3)](){var _0xdc67c3=_0x1bc887,_0x5fc2e2;this[_0xdc67c3(0x407)](),this[_0xdc67c3(0x178)]=setTimeout(()=>this[_0xdc67c3(0x25e)](),(_0x5fc2e2=this[_0xdc67c3(0x4a6)][_0xdc67c3(0x19b)](pt))!=null?_0x5fc2e2:Bt);}[_0x1bc887(0x25e)](){var _0x4fba9d=_0x1bc887;this['_socket'][_0x4fba9d(0x1c4)]({'cmd':W[_0x4fba9d(0x174)]}),this[_0x4fba9d(0x3b0)]();}[_0x1bc887(0x3b0)](){var _0x38e49d=_0x1bc887,_0x16ca2c;this[_0x38e49d(0x253)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x16ca2c=this[_0x38e49d(0x4a6)]['getConfig'](je))!=null?_0x16ca2c:gt);}['_clearHeartbeatTimer'](){var _0x17f90e=_0x1bc887;this[_0x17f90e(0x178)]!=null&&(clearTimeout(this[_0x17f90e(0x178)]),this['_sendHeartbeatTimer']=null);}[_0x1bc887(0x1de)](){var _0x3a2bfc=_0x1bc887;this[_0x3a2bfc(0x253)]!=null&&(clearTimeout(this[_0x3a2bfc(0x253)]),this[_0x3a2bfc(0x253)]=null);}},exports[_0x1bc887(0x2f4)]=ci([_e(0x0,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),_e(0x1,a[_0x1bc887(0x252)]),_e(0x2,a['IConfigService']),_e(0x3,$e),_e(0x4,a[_0x1bc887(0x46c)](te)),_e(0x5,a['Optional'](bt))],exports[_0x1bc887(0x2f4)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1bc887(0x23c)]((n+0x100)[_0x1bc887(0x1a5)](0x10)[_0x1bc887(0x28e)](0x1));function hi(_0x36ddaf,_0x581a07=0x0){var _0xae9452=_0x1bc887;return(G[_0x36ddaf[_0x581a07+0x0]]+G[_0x36ddaf[_0x581a07+0x1]]+G[_0x36ddaf[_0x581a07+0x2]]+G[_0x36ddaf[_0x581a07+0x3]]+'-'+G[_0x36ddaf[_0x581a07+0x4]]+G[_0x36ddaf[_0x581a07+0x5]]+'-'+G[_0x36ddaf[_0x581a07+0x6]]+G[_0x36ddaf[_0x581a07+0x7]]+'-'+G[_0x36ddaf[_0x581a07+0x8]]+G[_0x36ddaf[_0x581a07+0x9]]+'-'+G[_0x36ddaf[_0x581a07+0xa]]+G[_0x36ddaf[_0x581a07+0xb]]+G[_0x36ddaf[_0x581a07+0xc]]+G[_0x36ddaf[_0x581a07+0xd]]+G[_0x36ddaf[_0x581a07+0xe]]+G[_0x36ddaf[_0x581a07+0xf]])[_0xae9452(0x47e)]();}let De;const _i=new Uint8Array(0x10);function li(){var _0x42f253=_0x1bc887;if(!De){if(typeof crypto>'u'||!crypto[_0x42f253(0x224)])throw new Error(_0x42f253(0x2a4));De=crypto[_0x42f253(0x224)][_0x42f253(0x46b)](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x1bc887(0x2c2)]&&crypto[_0x1bc887(0x2c2)][_0x1bc887(0x46b)](crypto),qe={'randomUUID':ui};function di(_0x10c968,_0x59ec9e,_0x1e3cfc){var _0x84e671=_0x1bc887,_0xeae44c,_0x5735c9,_0x2096db;if(qe[_0x84e671(0x2c2)]&&!_0x10c968)return qe[_0x84e671(0x2c2)]();_0x10c968=_0x10c968||{};const _0x1a8394=(_0x2096db=(_0x5735c9=_0x10c968[_0x84e671(0x1a9)])!=null?_0x5735c9:(_0xeae44c=_0x10c968[_0x84e671(0x1b9)])==null?void 0x0:_0xeae44c[_0x84e671(0x233)](_0x10c968))!=null?_0x2096db:li();if(_0x1a8394[_0x84e671(0x381)]<0x10)throw new Error(_0x84e671(0x1ab));return _0x1a8394[0x6]=_0x1a8394[0x6]&0xf|0x40,_0x1a8394[0x8]=_0x1a8394[0x8]&0x3f|0x80,hi(_0x1a8394);}const z=a[_0x1bc887(0x3f6)](_0x1bc887(0x2de));function vi(_0x34f75f){var _0x1a8319=_0x1bc887;return _0x1a8319(0x35d)+_0x34f75f;}var Si=Object[_0x1bc887(0x31c)],fi=(_0x3bcee9,_0x4e7d0f,_0x1d0889,_0x2d1298)=>{var _0x11cb70=_0x1bc887;for(var _0x1b2264=_0x2d1298>0x1?void 0x0:_0x2d1298?Si(_0x4e7d0f,_0x1d0889):_0x4e7d0f,_0x3521ad=_0x3bcee9[_0x11cb70(0x381)]-0x1,_0x59b4f3;_0x3521ad>=0x0;_0x3521ad--)(_0x59b4f3=_0x3bcee9[_0x3521ad])&&(_0x1b2264=_0x59b4f3(_0x1b2264)||_0x1b2264);return _0x1b2264;},Ae=(_0x443537,_0x5174d0)=>(_0x4c13dd,_0x4afdc7)=>_0x5174d0(_0x4c13dd,_0x4afdc7,_0x443537);function pi(_0x27bb47){var _0x395b00=_0x1bc887;const {unitID:_0x1306cc,mutations:_0x3534a7}=_0x27bb47;return{'unitId':_0x1306cc,'subUnitId':_0x3534a7[0x0][_0x395b00(0x2f6)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x331400,_0x1a76fe,_0x371d9a){var _0x412c34=_0x1bc887;this[_0x412c34(0x2db)]=_0x331400,this[_0x412c34(0x427)]=_0x1a76fe,this[_0x412c34(0x3c8)]=_0x371d9a;}['transformSelections'](_0x57468c){var _0x4ea7ff=_0x1bc887,_0x54c2c7,_0x35ecd4,_0x5b183e,_0x3ea4f1;const _0x1db20d=this[_0x4ea7ff(0x2db)][_0x4ea7ff(0x29d)](Z['SheetsSelectionsService']),{unitId:_0x4ecf74,subUnitId:_0x31b0b8}=pi(_0x57468c),_0x515e25=_0x1db20d==null?void 0x0:_0x1db20d['getWorkbookSelections'](_0x4ecf74)[_0x4ea7ff(0x241)](),_0x2cb501=(_0x35ecd4=(_0x54c2c7=this[_0x4ea7ff(0x3c8)][_0x4ea7ff(0x188)](_0x4ecf74))==null?void 0x0:_0x54c2c7['getActiveSheet']())==null?void 0x0:_0x35ecd4[_0x4ea7ff(0x2ac)]();if(_0x515e25['length']===0x0||!_0x4ecf74||!_0x31b0b8)return;const _0x328809=[{'id':Z[_0x4ea7ff(0x33a)]['id'],'params':{'unitId':_0x4ecf74,'subUnitId':_0x2cb501,'selections':a[_0x4ea7ff(0x18e)]['deepClone'](_0x515e25)}}],_0x51a2d6=this[_0x4ea7ff(0x427)][_0x4ea7ff(0x278)](_0x57468c,_0x328809);if(!g[_0x4ea7ff(0x353)](_0x51a2d6))throw _0x51a2d6['error'];const _0x26c01a=(_0x3ea4f1=(_0x5b183e=_0x51a2d6[_0x4ea7ff(0x413)][0x0])==null?void 0x0:_0x5b183e['params'])==null?void 0x0:_0x3ea4f1[_0x4ea7ff(0x39d)];if(Array['isArray'](_0x26c01a)&&_0x26c01a['length']){if(_0x26c01a['length']===_0x328809[0x0][_0x4ea7ff(0x2f6)][_0x4ea7ff(0x39d)][_0x4ea7ff(0x381)]&&_0x26c01a[_0x4ea7ff(0x160)]((_0x4f14c6,_0x1fed7b)=>a['Rectangle'][_0x4ea7ff(0x476)](_0x4f14c6[_0x4ea7ff(0x2d3)],_0x328809[0x0][_0x4ea7ff(0x2f6)][_0x4ea7ff(0x39d)][_0x1fed7b]['range'])))return;this[_0x4ea7ff(0x2db)]['get'](a[_0x4ea7ff(0x438)])[_0x4ea7ff(0x1bb)](Z[_0x4ea7ff(0x33a)]['id'],{'unitId':_0x4ecf74,'subUnitId':_0x2cb501,'selections':_0x26c01a});}}},exports[_0x1bc887(0x32e)]=fi([Ae(0x0,a[_0x1bc887(0x46c)](a['Injector'])),Ae(0x1,g[_0x1bc887(0x2d5)]),Ae(0x2,a[_0x1bc887(0x3ac)])],exports[_0x1bc887(0x32e)]);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x312957=>(_0x312957[_0x312957[_0x1bc887(0x37f)]=0x0]=_0x1bc887(0x37f),_0x312957[_0x312957[_0x1bc887(0x1e4)]=0x1]=_0x1bc887(0x1e4),_0x312957))(Fe||{});const gi=new Set([Z[_0x1bc887(0x406)]['id']]);function ze(_0xdb5000,_0x3a3cbb,_0x4ac247,_0x959da7,_0x1cdc33){var _0x5d1d51=_0x1bc887,_0x41a71d,_0x9b2b59,_0x332930,_0x57e8b1;const _0x2103cf=[];for(const _0x13d1e0 of _0xdb5000)if(gi[_0x5d1d51(0x44b)](_0x13d1e0['id'])){if(_0x2103cf['length']>0x0)break;_0x2103cf[_0x5d1d51(0x23c)](_0x13d1e0);break;}else _0x2103cf['push'](_0x13d1e0);const _0x459cca=(_0x9b2b59=(_0x41a71d=_0x1cdc33[_0x5d1d51(0x3f7)]())==null?void 0x0:_0x41a71d[_0x5d1d51(0x1df)])!=null?_0x9b2b59:_0x5d1d51(0x17e),_0x41c126=(_0x57e8b1=(_0x332930=_0x1cdc33[_0x5d1d51(0x3f7)]())==null?void 0x0:_0x332930['memberID'])!=null?_0x57e8b1:_0x5d1d51(0x17e);return{'changeset':{'unitID':_0x3a3cbb,'type':g[_0x5d1d51(0x363)](_0x4ac247[_0x5d1d51(0x343)](_0x3a3cbb)),'baseRev':_0x959da7[_0x5d1d51(0x33b)](_0x3a3cbb),'revision':0x0,'userID':_0x459cca,'memberID':_0x41c126,'mutations':_0x2103cf},'pendingMutations':_0xdb5000[_0x5d1d51(0x28e)](_0x2103cf[_0x5d1d51(0x381)])};}function Ii(_0x48bc15,_0x3fc1a0,_0x6e8128,_0x97fb90,_0x3e8726){var _0x4c2c57=_0x1bc887,_0x2a9447,_0x56c103,_0x2a613b,_0x5db856;const _0x62b40c=[_0x48bc15[_0x4c2c57(0x359)]((_0x4b265b,_0x3f7ffb)=>{var _0x31eaa7=_0x4c2c57,_0xa5b5d4;const {id:_0x423a69}=_0x4b265b,{id:_0x2b9a6d,type:_0x5bfe38}=_0x3f7ffb,_0x3e0caa=(_0xa5b5d4=_0x4b265b[_0x31eaa7(0x2f6)])!=null?_0xa5b5d4:{'actions':null},_0x389738=_0x3f7ffb['params'];if(_0x423a69&&_0x423a69!==_0x2b9a6d)throw new Error(_0x31eaa7(0x20e)+_0x423a69+_0x31eaa7(0x2d4)+_0x2b9a6d+'.');return{..._0x4b265b,'id':_0x2b9a6d,'type':_0x5bfe38,'params':{'unitId':_0x389738[_0x31eaa7(0x3c9)],'textRanges':_0x389738[_0x31eaa7(0x1ed)],'actions':a['JSONX'][_0x31eaa7(0x248)](_0x3e0caa['actions'],_0x389738[_0x31eaa7(0x313)])}};},{})],_0x38f163=(_0x56c103=(_0x2a9447=_0x3e8726[_0x4c2c57(0x3f7)]())==null?void 0x0:_0x2a9447[_0x4c2c57(0x1df)])!=null?_0x56c103:_0x4c2c57(0x17e),_0x25b32a=(_0x5db856=(_0x2a613b=_0x3e8726[_0x4c2c57(0x3f7)]())==null?void 0x0:_0x2a613b[_0x4c2c57(0x192)])!=null?_0x5db856:'unknown';return{'changeset':{'unitID':_0x3fc1a0,'type':g[_0x4c2c57(0x363)](_0x6e8128['getUnitType'](_0x3fc1a0)),'baseRev':_0x97fb90['getCurrentRevOfUnit'](_0x3fc1a0),'revision':0x0,'userID':_0x38f163,'memberID':_0x25b32a,'mutations':_0x62b40c},'pendingMutations':[]};}function yt(_0x31e9eb,_0x1edca8){var _0x72a411=_0x1bc887;const _0x51b792=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x51b792[_0x72a411(0x3cf)](_0x1edca8),_0x31e9eb),_0x51b792[_0x72a411(0x1a0)]()[_0x72a411(0x45a)](j[_0x72a411(0x1c9)](0x1));}const mi={'id':Z[_0x1bc887(0x35e)]['id'],'type':a[_0x1bc887(0x302)][_0x1bc887(0x314)],'params':{}};var Ei=Object[_0x1bc887(0x31c)],ce=(_0x55b34b,_0x645e89,_0x2f62b2,_0x42796a)=>{for(var _0x2ec279=_0x42796a>0x1?void 0x0:_0x42796a?Ei(_0x645e89,_0x2f62b2):_0x645e89,_0x141f93=_0x55b34b['length']-0x1,_0x4747eb;_0x141f93>=0x0;_0x141f93--)(_0x4747eb=_0x55b34b[_0x141f93])&&(_0x2ec279=_0x4747eb(_0x2ec279)||_0x2ec279);return _0x2ec279;},w=(_0x6bf5d3,_0x4ca108)=>(_0x57f0ee,_0x13fe37)=>_0x4ca108(_0x57f0ee,_0x13fe37,_0x6bf5d3),Ve=(_0x2828c2=>(_0x2828c2[_0x1bc887(0x20b)]=_0x1bc887(0x32a),_0x2828c2[_0x1bc887(0x2e5)]=_0x1bc887(0x16e),_0x2828c2[_0x1bc887(0x3af)]='pending',_0x2828c2[_0x1bc887(0x24a)]=_0x1bc887(0x372),_0x2828c2[_0x1bc887(0x1d9)]=_0x1bc887(0x47d),_0x2828c2[_0x1bc887(0x453)]=_0x1bc887(0x1a8),_0x2828c2[_0x1bc887(0x30f)]=_0x1bc887(0x2df),_0x2828c2[_0x1bc887(0x1e8)]='offline',_0x2828c2))(Ve||{});const Nt=0xea60;class he{constructor(_0x4e7c34,_0xa56e6,_0x379933,_0xde7f5b,_0x172ea3,_0x148b9f,_0x414efc,_0x23fe27,_0x2ea2eb){var _0x57bb1c=_0x1bc887;A(this,'_awaitingChangeset',null),A(this,_0x57bb1c(0x39a),[]),(this[_0x57bb1c(0x186)]=_0x4e7c34,this[_0x57bb1c(0x266)]=_0xa56e6,this[_0x57bb1c(0x452)]=_0x172ea3,this['_commandService']=_0x148b9f,this[_0x57bb1c(0x2f5)]=_0x414efc,this[_0x57bb1c(0x466)]=_0x23fe27,this[_0x57bb1c(0x227)]=_0x2ea2eb,this[_0x57bb1c(0x149)]=_0x379933,this['_pendingMutations']=_0xde7f5b);}[_0x1bc887(0x352)](_0x2ebc64){var _0x490092=_0x1bc887;const _0x5a3c48=this[_0x490092(0x466)][_0x490092(0x33b)](this[_0x490092(0x186)]);return _0x2ebc64[_0x490092(0x498)]>_0x5a3c48+0x1?(this[_0x490092(0x452)]['onMissingChangesets']({'from':_0x5a3c48,'to':_0x2ebc64[_0x490092(0x498)]-0x1}),!0x0):!0x1;}[_0x1bc887(0x41b)](_0x1db501){var _0x5d4847=_0x1bc887;this[_0x5d4847(0x2f5)]['transformUndoRedo'](this[_0x5d4847(0x186)],_0x1db501);}[_0x1bc887(0x39b)](_0x21595e){var _0x27e24e=_0x1bc887,_0x1e6bbb,_0x8c70f8;(_0x8c70f8=(_0x1e6bbb=this['_handler'])[_0x27e24e(0x3e3)])==null||_0x8c70f8[_0x27e24e(0x233)](_0x1e6bbb,_0x21595e);}[_0x1bc887(0x1a7)](_0x61af88){var _0x379e6c=_0x1bc887,_0x23c3bd,_0x4fa969;return(_0x4fa969=(_0x23c3bd=this[_0x379e6c(0x452)])[_0x379e6c(0x456)])==null?void 0x0:_0x4fa969[_0x379e6c(0x233)](_0x23c3bd,_0x61af88);}[_0x1bc887(0x411)](_0x20d0db){var _0x2204b1=_0x1bc887,_0x4a5bba,_0x840dbc;return(_0x840dbc=(_0x4a5bba=this[_0x2204b1(0x452)])[_0x2204b1(0x484)])==null?void 0x0:_0x840dbc[_0x2204b1(0x233)](_0x4a5bba,_0x20d0db);}[_0x1bc887(0x351)](_0x34bfb2){var _0x5e909a=_0x1bc887,_0x16a8de,_0x5a4a06,_0x1f1f56;return(_0x1f1f56=(_0x5a4a06=(_0x16a8de=this[_0x5e909a(0x452)])[_0x5e909a(0x17f)])==null?void 0x0:_0x5a4a06[_0x5e909a(0x233)](_0x16a8de,_0x34bfb2))!=null?_0x1f1f56:_0x34bfb2;}[_0x1bc887(0x171)](_0x1b1720){var _0x219e71=_0x1bc887,_0x5a4f29,_0x20b220,_0x3bd0e3;return(_0x3bd0e3=(_0x20b220=(_0x5a4f29=this[_0x219e71(0x452)])[_0x219e71(0x36f)])==null?void 0x0:_0x20b220[_0x219e71(0x233)](_0x5a4f29,_0x1b1720))!=null?_0x3bd0e3:_0x1b1720;}['_syncEditingCollabCursor'](_0x4fdebb){var _0x28ee08=_0x1bc887,_0x5e3dca,_0xf5b3a6;if(this[_0x28ee08(0x266)]===X[_0x28ee08(0x378)]){const {unitID:_0x588784,mutations:_0x24a013,memberID:_0x2bcdc1}=_0x4fdebb,_0x2cbea7=_0x24a013[0x0]['params'][_0x28ee08(0x1ed)];Array[_0x28ee08(0x2b7)](_0x2cbea7)&&_0x2cbea7['length']>0x0&&((_0xf5b3a6=(_0x5e3dca=this[_0x28ee08(0x452)])[_0x28ee08(0x2f3)])==null||_0xf5b3a6[_0x28ee08(0x233)](_0x5e3dca,{'unitID':_0x588784,'memberID':_0x2bcdc1,'textRanges':_0x2cbea7}));}}[_0x1bc887(0x163)](){var _0x22f056=_0x1bc887,_0x5e17a6;(_0x5e17a6=this['_localCacheService'])==null||_0x5e17a6[_0x22f056(0x2c4)](this[_0x22f056(0x186)],this[_0x22f056(0x266)],this[_0x22f056(0x149)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x23a2e4=_0x1bc887;return this[_0x23a2e4(0x466)][_0x23a2e4(0x33b)](this[_0x23a2e4(0x186)]);}['_incrementRevisionNumber'](){var _0x3ad265=_0x1bc887;this[_0x3ad265(0x466)][_0x3ad265(0x32b)](this[_0x3ad265(0x186)]);}[_0x1bc887(0x38d)](_0xb60ed4){var _0x54fbbc=_0x1bc887,_0x1619d3;let _0x2f734f=this[_0x54fbbc(0x351)](_0xb60ed4);_0x2f734f=this[_0x54fbbc(0x171)](_0x2f734f);const _0x44fbba=a[_0x54fbbc(0x3c7)](_0x2f734f['mutations'],this[_0x54fbbc(0x23a)],{'fromCollab':!0x0});if(!_0x44fbba[_0x54fbbc(0x368)])throw _0x44fbba[_0x54fbbc(0x3da)]instanceof Error?_0x44fbba[_0x54fbbc(0x3da)]:new Error((_0x1619d3=_0x44fbba[_0x54fbbc(0x3da)])!=null?_0x1619d3:_0x54fbbc(0x44a));this['_transformIMECache'](_0x2f734f),this['_transformStateCache'](_0x2f734f),this['_transformUndoredo'](_0xb60ed4),this[_0x54fbbc(0x39b)](_0x2f734f),this['_syncEditingCollabCursor'](_0x2f734f),this[_0x54fbbc(0x344)]();}}exports[_0x1bc887(0x290)]=class extends he{constructor(_0xb8153,_0x41cc10,_0x59b78a,_0x17d6a7,_0x4b3674,_0x210236,_0x1edade,_0x5753cf,_0x4e33fa,_0x1c9c1a){var _0x4260d9=_0x1bc887;super(_0xb8153,_0x41cc10,null,[],_0x59b78a,_0x1edade,_0x210236,_0x17d6a7,_0x1c9c1a),A(this,_0x4260d9(0x3e5),_0x4260d9(0x16e)),(this[_0x4260d9(0x2db)]=_0x4b3674,this[_0x4260d9(0x16a)]=_0x5753cf,this['_transformService']=_0x4e33fa,this[_0x4260d9(0x393)]=_0x1c9c1a);}['appendMutation'](_0x3a46b5){var _0x102608=_0x1bc887;const _0xfa8f3b=this[_0x102608(0x2db)][_0x102608(0x2ce)](exports[_0x102608(0x432)],this[_0x102608(0x186)],this[_0x102608(0x266)],[_0x3a46b5],this[_0x102608(0x452)]);return _0xfa8f3b[_0x102608(0x1ec)](),_0xfa8f3b['_updateLocalCache'](),_0xfa8f3b;}[_0x1bc887(0x2ec)](_0x1cc3d6){var _0x21f851=_0x1bc887;if(this['_checkMissing'](_0x1cc3d6))return this[_0x21f851(0x2db)][_0x21f851(0x2ce)](exports[_0x21f851(0x365)],this['unitID'],this[_0x21f851(0x266)],null,[],null,[_0x1cc3d6],this[_0x21f851(0x452)]);try{const _0x1d212e=this['_transformService']['transformMutationsWithChangeset'](_0x1cc3d6,[mi]);if(g[_0x21f851(0x353)](_0x1d212e)){const {c1Prime:_0x588e5b}=_0x1d212e;return this[_0x21f851(0x38d)](_0x588e5b),this;}throw _0x1d212e[_0x21f851(0x3da)];}catch(_0x319b97){return this[_0x21f851(0x16a)][_0x21f851(0x3da)](_0x319b97),this[_0x21f851(0x346)](!0x1);}}[_0x1bc887(0x346)](_0x5e02d2){var _0x5be771=_0x1bc887;return this['_injector'][_0x5be771(0x2ce)](exports['ConflictState'],this[_0x5be771(0x186)],this['type'],null,[],this[_0x5be771(0x452)],_0x5e02d2);}[_0x1bc887(0x45b)](){var _0x10447f=_0x1bc887;throw new Error(_0x10447f(0x1cc));}['onRemoteRej'](){var _0x2d8388=_0x1bc887;throw new Error(_0x2d8388(0x26b));}[_0x1bc887(0x1c6)](){return this;}[_0x1bc887(0x348)](){var _0x32a129=_0x1bc887;return this[_0x32a129(0x2db)][_0x32a129(0x2ce)](exports[_0x32a129(0x161)],this['unitID'],this['type'],null,[],this['_handler']);}[_0x1bc887(0x1d7)](){return this;}[_0x1bc887(0x139)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x3db43f=_0x1bc887;const _0x5cf8bd=this[_0x3db43f(0x466)][_0x3db43f(0x33b)](this['unitID']);return this['_handler'][_0x3db43f(0x19d)]({'from':_0x5cf8bd,'to':0x0}),this[_0x3db43f(0x2db)][_0x3db43f(0x2ce)](exports[_0x3db43f(0x365)],this[_0x3db43f(0x186)],this[_0x3db43f(0x266)],null,[],null,[],this[_0x3db43f(0x452)]);}},exports['SyncedState']=ce([w(0x3,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),w(0x4,a[_0x1bc887(0x46c)](a['Injector'])),w(0x5,a[_0x1bc887(0x16b)]),w(0x6,a[_0x1bc887(0x438)]),w(0x7,a['ILogService']),w(0x8,g[_0x1bc887(0x2d5)]),w(0x9,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x290)]),exports[_0x1bc887(0x432)]=class extends he{constructor(_0x468975,_0x1acb70,_0x297930,_0x59941c,_0x3c2cae,_0xd84668,_0x4b5e31,_0x105993,_0x5ed630,_0xb2f6b6,_0x41ad64,_0x342a59,_0xc53cd9,_0xb48a9){var _0x1a68ce=_0x1bc887;super(_0x468975,_0x1acb70,null,_0x297930,_0x59941c,_0x5ed630,_0xc53cd9,_0xd84668,_0xb48a9),A(this,_0x1a68ce(0x3e5),_0x1a68ce(0x459)),A(this,_0x1a68ce(0x319),null),A(this,_0x1a68ce(0x3ee),null),(this['_injector']=_0x3c2cae,this[_0x1a68ce(0x414)]=_0x4b5e31,this[_0x1a68ce(0x16a)]=_0x105993,this[_0x1a68ce(0x4a6)]=_0xb2f6b6,this[_0x1a68ce(0x427)]=_0x41ad64,this[_0x1a68ce(0x44f)]=_0x342a59);}[_0x1bc887(0x479)](_0x3dc821){var _0x24961c=_0x1bc887;return this[_0x24961c(0x39a)][_0x24961c(0x23c)](_0x3dc821),this[_0x24961c(0x163)](),this;}[_0x1bc887(0x2ec)](_0xf9f7ad){var _0x1c4880=_0x1bc887;if(this[_0x1c4880(0x352)](_0xf9f7ad))return this[_0x1c4880(0x3aa)](),this[_0x1c4880(0x2db)][_0x1c4880(0x2ce)](exports[_0x1c4880(0x365)],this['unitID'],this[_0x1c4880(0x266)],null,this[_0x1c4880(0x39a)],null,[_0xf9f7ad],this[_0x1c4880(0x452)]);try{const _0x1c4e2b=this['_transformService'][_0x1c4880(0x278)](_0xf9f7ad,this[_0x1c4880(0x39a)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x1c4e2b)){const {c1Prime:_0x4f2d44,m2Prime:_0x130756}=_0x1c4e2b;this[_0x1c4880(0x38d)](_0x4f2d44);const _0x1404af=this[_0x1c4880(0x2db)][_0x1c4880(0x2ce)](exports[_0x1c4880(0x432)],this[_0x1c4880(0x186)],this[_0x1c4880(0x266)],_0x130756,this[_0x1c4880(0x452)]);this['_clearScheduledTask']();const _0xf17017=new Date()['getTime'](),_0x1fa0d7=this[_0x1c4880(0x319)]?Math['max'](this[_0x1c4880(0x319)]-_0xf17017,0x0):this[_0x1c4880(0x294)]();return _0x1404af['_schedule'](_0x1fa0d7),_0x1404af;}throw _0x1c4e2b[_0x1c4880(0x3da)];}catch(_0x42da31){return this['_logService'][_0x1c4880(0x3da)](_0x42da31),this['_onConflict'](!0x1);}}[_0x1bc887(0x45b)](){var _0x2c19c1=_0x1bc887;throw new Error(_0x2c19c1(0x215));}[_0x1bc887(0x2bd)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1bc887(0x1c6)](){return this;}[_0x1bc887(0x348)](){var _0x41ecef=_0x1bc887;return this[_0x41ecef(0x3aa)](),this[_0x41ecef(0x2db)][_0x41ecef(0x2ce)](exports[_0x41ecef(0x161)],this[_0x41ecef(0x186)],this[_0x41ecef(0x266)],null,this[_0x41ecef(0x39a)],this[_0x41ecef(0x452)]);}[_0x1bc887(0x1d7)](){return this;}[_0x1bc887(0x1ec)](_0xb121ee){var _0xea1c08=_0x1bc887;const _0x9dd999=_0xb121ee!=null?_0xb121ee:this[_0xea1c08(0x294)]();this['_scheduleCompleteTimestamp']=new Date()[_0xea1c08(0x3a9)]()+_0x9dd999,this[_0xea1c08(0x3ee)]=setTimeout(()=>{var _0x450b5e=_0xea1c08;this[_0x450b5e(0x3aa)]();let _0x334b25=null;switch(this['type']){case X[_0x450b5e(0x320)]:{_0x334b25=ze(this[_0x450b5e(0x39a)],this[_0x450b5e(0x186)],this['_univerInstanceService'],this[_0x450b5e(0x466)],this[_0x450b5e(0x414)]);break;}case X[_0x450b5e(0x378)]:{this[_0x450b5e(0x39a)][_0x450b5e(0x160)](_0x3a2280=>_0x3a2280['id']===ut[_0x450b5e(0x202)]['id'])?_0x334b25=Ii(this[_0x450b5e(0x39a)],this[_0x450b5e(0x186)],this[_0x450b5e(0x44f)],this[_0x450b5e(0x466)],this['_memberService']):_0x334b25=ze(this[_0x450b5e(0x39a)],this[_0x450b5e(0x186)],this['_univerInstanceService'],this[_0x450b5e(0x466)],this[_0x450b5e(0x414)]);break;}default:throw new Error(_0x450b5e(0x3fb)+this[_0x450b5e(0x266)]+_0x450b5e(0x457));}const {changeset:_0x43e7d7,pendingMutations:_0x3c4cfc}=_0x334b25;this[_0x450b5e(0x452)][_0x450b5e(0x4ad)](_0x43e7d7);const _0x3082e8=_0x3c4cfc[_0x450b5e(0x381)]?this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x450b5e(0x186)],this[_0x450b5e(0x266)],_0x43e7d7,_0x3c4cfc,this['_handler'],void 0x0):this[_0x450b5e(0x2db)][_0x450b5e(0x2ce)](exports[_0x450b5e(0x297)],this[_0x450b5e(0x186)],this[_0x450b5e(0x266)],_0x43e7d7,this[_0x450b5e(0x452)]);_0x3082e8[_0x450b5e(0x163)](),this['_handler'][_0x450b5e(0x49a)](this,_0x3082e8);},_0x9dd999);}[_0x1bc887(0x294)](){var _0x44d4f6=_0x1bc887,_0x2bff0a;const _0x27ff86=this[_0x44d4f6(0x4a6)][_0x44d4f6(0x19b)](Y);return(_0x2bff0a=_0x27ff86==null?void 0x0:_0x27ff86[_0x44d4f6(0x263)])!=null?_0x2bff0a:jt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bc887(0x3aa)](){var _0x592cf2=_0x1bc887;this[_0x592cf2(0x3ee)]!=null&&(clearTimeout(this[_0x592cf2(0x3ee)]),this[_0x592cf2(0x3ee)]=null);}[_0x1bc887(0x346)](_0x2f061a){var _0x4f6511=_0x1bc887;return this[_0x4f6511(0x3aa)](),this[_0x4f6511(0x2db)][_0x4f6511(0x2ce)](exports[_0x4f6511(0x3a6)],this[_0x4f6511(0x186)],this[_0x4f6511(0x266)],null,this[_0x4f6511(0x39a)],this[_0x4f6511(0x452)],_0x2f061a);}},exports['PendingState']=ce([w(0x4,a['Inject'](a[_0x1bc887(0x3a5)])),w(0x5,a[_0x1bc887(0x46c)](g['RevisionService'])),w(0x6,a[_0x1bc887(0x46c)](exports[_0x1bc887(0x4ac)])),w(0x7,a[_0x1bc887(0x252)]),w(0x8,a[_0x1bc887(0x438)]),w(0x9,a['IConfigService']),w(0xa,g['ITransformService']),w(0xb,a[_0x1bc887(0x3ac)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x432)]),exports[_0x1bc887(0x297)]=class extends he{constructor(_0x247340,_0x23ee34,_0x1128c3,_0x2d0070,_0x2f73e5,_0x4c9147,_0x406688,_0x2b86a4,_0x417c74,_0x422f0b,_0x5aa1e7){var _0x6dc608=_0x1bc887;super(_0x247340,_0x23ee34,_0x1128c3,[],_0x2d0070,_0x406688,_0x422f0b,_0x4c9147,_0x5aa1e7),A(this,_0x6dc608(0x3e5),_0x6dc608(0x372)),A(this,_0x6dc608(0x382),0x0),A(this,'_resendTimer'),A(this,_0x6dc608(0x240)),(this[_0x6dc608(0x2db)]=_0x2f73e5,this['_logService']=_0x2b86a4,this[_0x6dc608(0x427)]=_0x417c74);}[_0x1bc887(0x479)](_0x20bdc7){var _0x59c188=_0x1bc887;this[_0x59c188(0x3aa)]();const _0x485024=this[_0x59c188(0x2db)]['createInstance'](exports[_0x59c188(0x18f)],this[_0x59c188(0x186)],this[_0x59c188(0x266)],this['_awaitingChangeset'],[_0x20bdc7],this['_handler'],this[_0x59c188(0x345)]);return _0x485024[_0x59c188(0x163)](),_0x485024;}['onRemoteChangeset'](_0x1791ce){var _0x3ee323=_0x1bc887;if(this['_checkMissing'](_0x1791ce))return this[_0x3ee323(0x3aa)](),this[_0x3ee323(0x2db)]['createInstance'](exports[_0x3ee323(0x365)],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x1791ce],this[_0x3ee323(0x452)]);try{const _0xa35404=this[_0x3ee323(0x427)][_0x3ee323(0x4a2)]([_0x1791ce],[this[_0x3ee323(0x149)]],!0x1);if(g['isTransformChangesetsSuccess'](_0xa35404)){const {c1Prime:_0x51a45a,c2Prime:_0x281694}=_0xa35404;this[_0x3ee323(0x38d)](_0x51a45a[0x0]),_0x281694[0x0][_0x3ee323(0x409)]=this[_0x3ee323(0x234)](),this[_0x3ee323(0x3aa)]();const _0xcd492e=this[_0x3ee323(0x2db)]['createInstance'](exports[_0x3ee323(0x297)],this[_0x3ee323(0x186)],this['type'],_0x281694[0x0],this[_0x3ee323(0x452)]);return _0xcd492e[_0x3ee323(0x163)](),_0xcd492e;}return this[_0x3ee323(0x346)](!0x1);}catch(_0x506b08){return this[_0x3ee323(0x16a)][_0x3ee323(0x3da)](_0x506b08),this[_0x3ee323(0x346)](!0x1);}}[_0x1bc887(0x45b)](_0xeab063){var _0x5c3179=_0x1bc887;this[_0x5c3179(0x3aa)]();const _0x2c8458=this[_0x5c3179(0x466)]['getCurrentRevOfUnit'](this[_0x5c3179(0x186)]);if(_0xeab063[_0x5c3179(0x498)]<_0x2c8458-0x1)return this;if(this['_checkMissing'](_0xeab063))return this[_0x5c3179(0x2db)][_0x5c3179(0x2ce)](exports['FetchingMissState'],this[_0x5c3179(0x186)],this['type'],null,[],this[_0x5c3179(0x149)],[],this[_0x5c3179(0x452)]);this['_incrementRevisionNumber']();const _0x58b08d=this['_injector'][_0x5c3179(0x2ce)](exports[_0x5c3179(0x290)],this[_0x5c3179(0x186)],this[_0x5c3179(0x266)],this[_0x5c3179(0x452)]);return _0x58b08d['_updateLocalCache'](),_0x58b08d;}[_0x1bc887(0x2bd)](_0x25531d){var _0x408dd4=_0x1bc887;return this['_onConflict'](!!(_0x25531d!=null&&_0x25531d[_0x408dd4(0x1f0)]));}['onRemoteRetry'](_0x18cbd3){var _0x340087=_0x1bc887;return this[_0x340087(0x382)]>Nt?this[_0x340087(0x348)]():(this[_0x340087(0x345)]=yt(this[_0x340087(0x382)],{'timeout':this['_resendTimeout'],'reqId':_0x18cbd3[_0x340087(0x442)]}),this[_0x340087(0x240)]=this[_0x340087(0x345)][_0x340087(0x2fd)](({reqId:_0x11fc18,timeout:_0x4a2de5})=>{var _0xfb102=_0x340087;this[_0xfb102(0x43d)](_0x11fc18,_0x4a2de5);}),this);}[_0x1bc887(0x348)](){var _0xe8b6d1=_0x1bc887;return this[_0xe8b6d1(0x3aa)](),this['_injector'][_0xe8b6d1(0x2ce)](exports[_0xe8b6d1(0x161)],this[_0xe8b6d1(0x186)],this[_0xe8b6d1(0x266)],this[_0xe8b6d1(0x149)],[],this[_0xe8b6d1(0x452)]);}['toggleOnline'](){return this;}[_0x1bc887(0x139)](){var _0x27ac6c=_0x1bc887;this[_0x27ac6c(0x452)]['onSendChangeset'](this[_0x27ac6c(0x149)]);}['_onConflict'](_0x197e4e){var _0x3345e3=_0x1bc887;return this[_0x3345e3(0x3aa)](),this[_0x3345e3(0x2db)][_0x3345e3(0x2ce)](exports[_0x3345e3(0x3a6)],this[_0x3345e3(0x186)],this['type'],this[_0x3345e3(0x149)],[],this[_0x3345e3(0x452)],_0x197e4e);}[_0x1bc887(0x43d)](_0x3c6b76,_0x9c659a){var _0x243eec=_0x1bc887,_0x5385dd;_0x3c6b76===((_0x5385dd=this['_awaitingChangeset'])==null?void 0x0:_0x5385dd[_0x243eec(0x442)])&&(this[_0x243eec(0x139)](),this[_0x243eec(0x382)]=_0x9c659a===0x0?0x3e8:_0x9c659a*0x2);}[_0x1bc887(0x3aa)](){var _0x384b7b=_0x1bc887,_0xa9ed82;(_0xa9ed82=this[_0x384b7b(0x240)])==null||_0xa9ed82['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x1bc887(0x297)]=ce([w(0x4,a['Inject'](a[_0x1bc887(0x3a5)])),w(0x5,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),w(0x6,a[_0x1bc887(0x438)]),w(0x7,a[_0x1bc887(0x252)]),w(0x8,g[_0x1bc887(0x2d5)]),w(0x9,a[_0x1bc887(0x16b)]),w(0xa,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x297)]),exports[_0x1bc887(0x18f)]=class extends he{constructor(_0x219239,_0x4bb6bd,_0x37adbe,_0x3fac3d,_0x5ff81e,_0x13da49,_0x518c20,_0x49a4b7,_0x1e86aa,_0x385929,_0x179104,_0x2e6e52,_0x372fe8){var _0x3deb9f=_0x1bc887;super(_0x219239,_0x4bb6bd,_0x37adbe,_0x3fac3d,_0x5ff81e,_0x1e86aa,_0x2e6e52,_0x49a4b7,_0x372fe8),A(this,'status',_0x3deb9f(0x47d)),A(this,_0x3deb9f(0x382),0x0),A(this,_0x3deb9f(0x345)),A(this,_0x3deb9f(0x240)),(this['_injector']=_0x518c20,this[_0x3deb9f(0x16a)]=_0x385929,this[_0x3deb9f(0x427)]=_0x179104,this['localCacheService']=_0x372fe8,_0x13da49&&(this['_resendTimer']=_0x13da49,this[_0x3deb9f(0x240)]=this[_0x3deb9f(0x345)]['subscribe'](({reqId:_0x5eb8e4,timeout:_0x52fed9})=>{var _0x34de8e=_0x3deb9f;this[_0x34de8e(0x43d)](_0x5eb8e4,_0x52fed9);})));}[_0x1bc887(0x479)](_0xf1e2f){var _0x433c80=_0x1bc887;return this[_0x433c80(0x39a)][_0x433c80(0x23c)](_0xf1e2f),this;}[_0x1bc887(0x2ec)](_0x40963f){var _0x430161=_0x1bc887;if(this[_0x430161(0x352)](_0x40963f))return this[_0x430161(0x3aa)](),this[_0x430161(0x2db)]['createInstance'](exports[_0x430161(0x365)],this[_0x430161(0x186)],this['type'],this[_0x430161(0x149)],this[_0x430161(0x39a)],null,[_0x40963f],this[_0x430161(0x452)]);try{const _0x18e680=this['_transformService']['transformChangesets']([_0x40963f],[this[_0x430161(0x149)]],!0x1);if(g[_0x430161(0x2ee)](_0x18e680)){const {c1Prime:_0x325944,c2Prime:_0x359db6}=_0x18e680,_0x22eb10=this[_0x430161(0x427)][_0x430161(0x278)](_0x325944[0x0],this[_0x430161(0x39a)]);if(g[_0x430161(0x353)](_0x22eb10)){const {c1Prime:_0x167625,m2Prime:_0x49a88c}=_0x22eb10;return this['_executeRemoteChangeset'](_0x167625),_0x359db6[0x0]['baseRev']=this[_0x430161(0x234)](),this['_clearScheduledTask'](),this[_0x430161(0x2db)][_0x430161(0x2ce)](exports[_0x430161(0x18f)],this['unitID'],this[_0x430161(0x266)],_0x359db6[0x0],_0x49a88c,this[_0x430161(0x452)],void 0x0);}throw _0x22eb10['error'];}throw _0x18e680[_0x430161(0x3da)];}catch(_0x4729c2){return this[_0x430161(0x16a)][_0x430161(0x3da)](_0x4729c2),this[_0x430161(0x346)](!0x1);}}[_0x1bc887(0x45b)](_0xbadaa6){var _0x441005=_0x1bc887;if(this[_0x441005(0x3aa)](),this['_checkMissing'](_0xbadaa6))return this[_0x441005(0x2db)][_0x441005(0x2ce)](exports[_0x441005(0x365)],this[_0x441005(0x186)],this['type'],null,this[_0x441005(0x39a)],this[_0x441005(0x149)],[],this[_0x441005(0x452)]);this['_incrementRevisionNumber']();const _0x5ed20a=this[_0x441005(0x2db)][_0x441005(0x2ce)](exports[_0x441005(0x432)],this['unitID'],this[_0x441005(0x266)],this[_0x441005(0x39a)],this[_0x441005(0x452)]);return _0x5ed20a[_0x441005(0x1ec)](),_0x5ed20a['_updateLocalCache'](),_0x5ed20a;}[_0x1bc887(0x2bd)](_0x504529){var _0x20a6ac=_0x1bc887;return this[_0x20a6ac(0x346)](!!(_0x504529!=null&&_0x504529[_0x20a6ac(0x1f0)]));}[_0x1bc887(0x1c6)](_0x290e3d){var _0x52a27e=_0x1bc887;return this[_0x52a27e(0x382)]>Nt?this[_0x52a27e(0x348)]():(this['_resendTimer']=yt(this[_0x52a27e(0x382)],{'timeout':this[_0x52a27e(0x382)],'reqId':_0x290e3d[_0x52a27e(0x442)]}),this[_0x52a27e(0x240)]=this[_0x52a27e(0x345)][_0x52a27e(0x2fd)](({reqId:_0x37b110,timeout:_0x4fc9d0})=>{var _0x2200b3=_0x52a27e;this[_0x2200b3(0x43d)](_0x37b110,_0x4fc9d0);}),this);}['toggleOffline'](){var _0x39f06a=_0x1bc887;return this[_0x39f06a(0x3aa)](),this[_0x39f06a(0x2db)][_0x39f06a(0x2ce)](exports['OfflineState'],this[_0x39f06a(0x186)],this['type'],this[_0x39f06a(0x149)],this[_0x39f06a(0x39a)],this[_0x39f06a(0x452)]);}[_0x1bc887(0x1d7)](){return this;}[_0x1bc887(0x139)](){var _0x5d9c72=_0x1bc887;this[_0x5d9c72(0x452)]['onSendChangeset'](this[_0x5d9c72(0x149)]);}[_0x1bc887(0x346)](_0x1e7cf2){var _0x5c4706=_0x1bc887;return this[_0x5c4706(0x3aa)](),this[_0x5c4706(0x2db)][_0x5c4706(0x2ce)](exports[_0x5c4706(0x3a6)],this[_0x5c4706(0x186)],this[_0x5c4706(0x266)],null,this['_pendingMutations'],this['_handler'],_0x1e7cf2);}[_0x1bc887(0x43d)](_0x7554ee,_0x42d429){var _0xaa5f01=_0x1bc887,_0x76936d;_0x7554ee===((_0x76936d=this[_0xaa5f01(0x149)])==null?void 0x0:_0x76936d[_0xaa5f01(0x442)])&&(this[_0xaa5f01(0x139)](),this[_0xaa5f01(0x382)]=_0x42d429===0x0?0x3e8:_0x42d429*0x2);}[_0x1bc887(0x3aa)](){var _0x92970c=_0x1bc887,_0x1585b6;(_0x1585b6=this['_sender'])==null||_0x1585b6[_0x92970c(0x46a)](),this[_0x92970c(0x382)]=0x0;}},exports[_0x1bc887(0x18f)]=ce([w(0x6,a['Inject'](a[_0x1bc887(0x3a5)])),w(0x7,a[_0x1bc887(0x46c)](g['RevisionService'])),w(0x8,a[_0x1bc887(0x438)]),w(0x9,a[_0x1bc887(0x252)]),w(0xa,g[_0x1bc887(0x2d5)]),w(0xb,a[_0x1bc887(0x16b)]),w(0xc,a['Optional'](z))],exports[_0x1bc887(0x18f)]),exports[_0x1bc887(0x3a6)]=class extends he{constructor(_0x1f67f1,_0x2261f6,_0x46600c,_0x3efcf9,_0x1a52f6,_0x233364=!0x1,_0x497e64,_0x3538bf,_0x156143,_0x37c04f,_0x246c21,_0x4d4b18,_0x397750){var _0x51e11b=_0x1bc887;super(_0x1f67f1,_0x2261f6,_0x46600c,_0x3efcf9,_0x1a52f6,_0x3538bf,_0x156143,_0x37c04f,_0x397750),A(this,_0x51e11b(0x3e5),_0x51e11b(0x2df)),(this['_isPermissionRej']=_0x233364,this['_permissionService']=_0x497e64,this['_localeService']=_0x246c21,this[_0x51e11b(0x244)]=_0x4d4b18,this[_0x51e11b(0x393)]=_0x397750,this[_0x51e11b(0x336)](),this[_0x51e11b(0x431)](),this[_0x51e11b(0x3fc)]());}[_0x1bc887(0x479)](){return this;}[_0x1bc887(0x2ec)](){return this;}[_0x1bc887(0x45b)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1bc887(0x1d7)](){return this;}[_0x1bc887(0x139)](){var _0x27f8f0=_0x1bc887;throw new Error(_0x27f8f0(0x422));}[_0x1bc887(0x431)](){var _0x266bce=_0x1bc887,_0x1cf9f3;(_0x1cf9f3=this['_localCacheService'])==null||_0x1cf9f3[_0x266bce(0x2c4)](this[_0x266bce(0x186)],this[_0x266bce(0x266)],null,[]);}[_0x1bc887(0x336)](){var _0x1e5c2c=_0x1bc887;this[_0x1e5c2c(0x421)]?this[_0x1e5c2c(0x244)][_0x1e5c2c(0x1fe)]({'id':Q[_0x1e5c2c(0x397)]}):this['_collaborationUIEventService'][_0x1e5c2c(0x1fe)]({'id':Q[_0x1e5c2c(0x30f)]});}[_0x1bc887(0x3fc)](){var _0x3200ce=_0x1bc887;this[_0x3200ce(0x417)][_0x3200ce(0x209)](new Z[(_0x3200ce(0x237))](this[_0x3200ce(0x186)])['id'],!0x1);}},exports[_0x1bc887(0x3a6)]=ce([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a['ICommandService']),w(0x8,a[_0x1bc887(0x16b)]),w(0x9,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x1bc887(0x46c)](te)),w(0xc,a[_0x1bc887(0x437)](z))],exports['ConflictState']),exports[_0x1bc887(0x161)]=class extends he{constructor(_0x4833c8,_0x32fee9,_0x2dd9c4,_0x5dcdc7,_0x11b2d4,_0x535744,_0x43f792,_0x4a2792,_0x58b80a,_0x3116b2){var _0x5c7de9=_0x1bc887;super(_0x4833c8,_0x32fee9,_0x2dd9c4,_0x5dcdc7,_0x11b2d4,_0x4a2792,_0x58b80a,_0x43f792,_0x3116b2),A(this,_0x5c7de9(0x3e5),_0x5c7de9(0x483)),this[_0x5c7de9(0x2db)]=_0x535744;}['appendMutation'](_0x19b66f){var _0xae9cc2=_0x1bc887;return this[_0xae9cc2(0x39a)]['push'](_0x19b66f),this['_updateLocalCache'](),this;}[_0x1bc887(0x2ec)](_0x5b5d6d){var _0x52ffc7=_0x1bc887;throw new Error(_0x52ffc7(0x24d));}[_0x1bc887(0x45b)](){var _0x3259e6=_0x1bc887;throw new Error(_0x3259e6(0x26d));}[_0x1bc887(0x2bd)](){var _0x3c69c4=_0x1bc887;throw new Error(_0x3c69c4(0x470));}[_0x1bc887(0x1c6)](){return this;}[_0x1bc887(0x348)](){return this;}[_0x1bc887(0x1d7)](){var _0x24a9f0=_0x1bc887;const {_injector:_0x3276d4,_pendingMutations:_0x4f2a97,_awaitingChangeset:_0x48ba6e,unitID:_0x37f7b2,_handler:_0x2b9c3c,type:_0x113e08}=this,_0x4d79de=Ut(_0x3276d4,_0x37f7b2,_0x113e08,_0x48ba6e,_0x4f2a97,_0x2b9c3c);return _0x4d79de instanceof exports[_0x24a9f0(0x432)]?_0x4d79de[_0x24a9f0(0x1ec)]():(_0x4d79de instanceof exports[_0x24a9f0(0x18f)]||_0x4d79de instanceof exports[_0x24a9f0(0x297)])&&_0x4d79de[_0x24a9f0(0x139)](),_0x4d79de;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports['OfflineState']=ce([w(0x5,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),w(0x6,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),w(0x7,a[_0x1bc887(0x438)]),w(0x8,a[_0x1bc887(0x16b)]),w(0x9,a[_0x1bc887(0x437)](z))],exports['OfflineState']),exports[_0x1bc887(0x365)]=class extends he{constructor(_0x5abdad,_0x480ed8,_0x2bf73a,_0xc49840,_0x45dab1,_0x2535b4,_0x22b88c,_0x577eb0,_0x5e32a0,_0xfc486b,_0x4e2906,_0xb38363,_0x1df49a,_0x545a04){var _0x828bce=_0x1bc887;super(_0x5abdad,_0x480ed8,_0x2bf73a,_0xc49840,_0x22b88c,_0x4e2906,_0xb38363,_0x5e32a0,_0x545a04),A(this,_0x828bce(0x3e5),'fetch_missing'),(this[_0x828bce(0x34f)]=_0x45dab1,this[_0x828bce(0x2b2)]=_0x2535b4,this['_injector']=_0x577eb0,this[_0x828bce(0x16a)]=_0xfc486b,this[_0x828bce(0x427)]=_0x1df49a,this[_0x828bce(0x393)]=_0x545a04);}[_0x1bc887(0x492)](_0x379b96){var _0x5b06e0=_0x1bc887;try{const _0x497f39=[..._0x379b96,...this[_0x5b06e0(0x2b2)]],_0x43f93a=[this['_awaitingChangeset']||this[_0x5b06e0(0x34f)]]['filter'](_0x3b3cf0=>!!_0x3b3cf0);let _0x4cf425,_0x2168e3;if(_0x43f93a[_0x5b06e0(0x381)]){const _0xe775d6=this[_0x5b06e0(0x427)][_0x5b06e0(0x4a2)](_0x497f39,_0x43f93a,!0x1);if(!g[_0x5b06e0(0x2ee)](_0xe775d6))throw _0xe775d6[_0x5b06e0(0x3da)];_0x4cf425=_0xe775d6['c1Prime'],_0x2168e3=_0xe775d6['c2Prime'];}else _0x4cf425=_0x497f39,_0x2168e3=[];let _0x113254=this['_pendingMutations'];_0x4cf425[_0x5b06e0(0x239)](_0x17fb14=>{var _0x2003bb=_0x5b06e0;let _0x228af9;if(_0x113254[_0x2003bb(0x381)]){const _0x339f48=this[_0x2003bb(0x427)][_0x2003bb(0x278)](_0x17fb14,_0x113254);if(!g[_0x2003bb(0x353)](_0x339f48))throw _0x339f48['error'];_0x228af9=_0x339f48[_0x2003bb(0x3d3)],_0x113254=_0x339f48['m2Prime'];}else _0x228af9=_0x17fb14;this[_0x2003bb(0x38d)](_0x228af9);}),this[_0x5b06e0(0x34f)]&&this[_0x5b06e0(0x344)](),this[_0x5b06e0(0x149)]&&_0x2168e3[_0x5b06e0(0x381)]&&(_0x2168e3[0x0][_0x5b06e0(0x409)]=this[_0x5b06e0(0x234)]());let _0x4b749c;if(this[_0x5b06e0(0x149)]&&_0x113254[_0x5b06e0(0x381)]!==0x0)_0x4b749c=this[_0x5b06e0(0x2db)][_0x5b06e0(0x2ce)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5b06e0(0x266)],_0x2168e3[0x0],_0x113254,this[_0x5b06e0(0x452)],void 0x0);else{if(this['_awaitingChangeset']&&_0x113254[_0x5b06e0(0x381)]===0x0)_0x2168e3[0x0][_0x5b06e0(0x409)]=this[_0x5b06e0(0x234)](),_0x4b749c=this[_0x5b06e0(0x2db)][_0x5b06e0(0x2ce)](exports[_0x5b06e0(0x297)],this[_0x5b06e0(0x186)],this[_0x5b06e0(0x266)],_0x2168e3[0x0],this['_handler']);else{if(_0x113254[_0x5b06e0(0x381)]!==0x0){const _0x2de79b=this[_0x5b06e0(0x2db)][_0x5b06e0(0x2ce)](exports[_0x5b06e0(0x432)],this[_0x5b06e0(0x186)],this[_0x5b06e0(0x266)],_0x113254,this[_0x5b06e0(0x452)]);_0x2de79b['_schedule'](),_0x4b749c=_0x2de79b;}else _0x4b749c=this[_0x5b06e0(0x2db)]['createInstance'](exports[_0x5b06e0(0x290)],this[_0x5b06e0(0x186)],this[_0x5b06e0(0x266)],this[_0x5b06e0(0x452)]);}}return _0x4b749c[_0x5b06e0(0x163)](),_0x4b749c;}catch(_0x201729){return this[_0x5b06e0(0x16a)][_0x5b06e0(0x3da)](_0x5b06e0(0x3a4),_0x5b06e0(0x2f2),_0x201729),this[_0x5b06e0(0x2db)]['createInstance'](exports[_0x5b06e0(0x3a6)],this[_0x5b06e0(0x186)],this[_0x5b06e0(0x266)],this[_0x5b06e0(0x149)],this[_0x5b06e0(0x39a)],this[_0x5b06e0(0x452)],!0x1);}}[_0x1bc887(0x139)](){var _0x5b0800=_0x1bc887;throw new Error(_0x5b0800(0x340));}[_0x1bc887(0x479)](_0x3b2bf5){var _0x2a5ee1=_0x1bc887;return this[_0x2a5ee1(0x39a)][_0x2a5ee1(0x23c)](_0x3b2bf5),this;}['onRemoteChangeset'](_0x497d01){var _0x53fef6=_0x1bc887;return this[_0x53fef6(0x2b2)][_0x53fef6(0x23c)](_0x497d01),this;}[_0x1bc887(0x45b)](_0x1a2aa6){var _0x5b5ef8=_0x1bc887;if(this[_0x5b5ef8(0x149)])return this[_0x5b5ef8(0x34f)]=this[_0x5b5ef8(0x149)],this[_0x5b5ef8(0x149)]=null,this;throw new Error(_0x5b5ef8(0x1d0));}['onRemoteRej'](_0x3624b0){var _0x2576ec=_0x1bc887;return this[_0x2576ec(0x346)](!!(_0x3624b0!=null&&_0x3624b0[_0x2576ec(0x1f0)]));}[_0x1bc887(0x1c6)](){return this;}[_0x1bc887(0x348)](){var _0x594a99=_0x1bc887;return this[_0x594a99(0x2db)][_0x594a99(0x2ce)](exports['OfflineState'],this['unitID'],this[_0x594a99(0x266)],this[_0x594a99(0x149)],this[_0x594a99(0x39a)],this[_0x594a99(0x452)]);}['toggleOnline'](){return this;}[_0x1bc887(0x346)](_0x14ba9f){var _0x460518=_0x1bc887;return this[_0x460518(0x2db)]['createInstance'](exports[_0x460518(0x3a6)],this[_0x460518(0x186)],this[_0x460518(0x266)],this[_0x460518(0x149)],this['_pendingMutations'],this[_0x460518(0x452)],_0x14ba9f);}},exports['FetchingMissState']=ce([w(0x7,a['Inject'](a[_0x1bc887(0x3a5)])),w(0x8,a[_0x1bc887(0x46c)](g['RevisionService'])),w(0x9,a[_0x1bc887(0x252)]),w(0xa,a['ICommandService']),w(0xb,a[_0x1bc887(0x16b)]),w(0xc,g[_0x1bc887(0x2d5)]),w(0xd,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x365)]);function Ut(_0x1b80c4,_0x5d4171,_0x12d754,_0x5e8514,_0x1ca7b4,_0x5ac1b1){var _0x371cfc=_0x1bc887;return _0x5e8514&&_0x1ca7b4[_0x371cfc(0x381)]?_0x1b80c4[_0x371cfc(0x2ce)](exports[_0x371cfc(0x18f)],_0x5d4171,_0x12d754,_0x5e8514,_0x1ca7b4,_0x5ac1b1,void 0x0):_0x5e8514?_0x1b80c4[_0x371cfc(0x2ce)](exports[_0x371cfc(0x297)],_0x5d4171,_0x12d754,_0x5e8514,_0x5ac1b1):_0x1ca7b4[_0x371cfc(0x381)]?_0x1b80c4[_0x371cfc(0x2ce)](exports[_0x371cfc(0x432)],_0x5d4171,_0x12d754,_0x1ca7b4,_0x5ac1b1):_0x1b80c4[_0x371cfc(0x2ce)](exports[_0x371cfc(0x290)],_0x5d4171,_0x12d754,_0x5ac1b1);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x439c00,_0x508280,_0x1639d4,_0x167bb0)=>{var _0x4a1467=_0x1bc887;for(var _0x1eb51c=_0x167bb0>0x1?void 0x0:_0x167bb0?Ci(_0x508280,_0x1639d4):_0x508280,_0x77339e=_0x439c00[_0x4a1467(0x381)]-0x1,_0x402e78;_0x77339e>=0x0;_0x77339e--)(_0x402e78=_0x439c00[_0x77339e])&&(_0x1eb51c=_0x402e78(_0x1eb51c)||_0x1eb51c);return _0x1eb51c;},$=(_0x4317a2,_0x13ec94)=>(_0x3643fd,_0x15e778)=>_0x13ec94(_0x3643fd,_0x15e778,_0x4317a2);exports[_0x1bc887(0x300)]=class extends a[_0x1bc887(0x219)]{constructor(_0x15995a,_0x2823ee,_0x36b6be,_0x40ee06,_0x146995,_0x70426c,_0x16c858,_0x259bd6,_0x18d6c1,_0x43beab,_0x211379,_0x537e36,_0x4913fe){var _0x45cc1e=_0x1bc887;super(),A(this,'_state$',new j[(_0x45cc1e(0x1b2))](null)),A(this,_0x45cc1e(0x181),this[_0x45cc1e(0x40d)]['asObservable']()),A(this,_0x45cc1e(0x36c)),A(this,_0x45cc1e(0x2dd),!0x1),A(this,_0x45cc1e(0x2cb),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x45cc1e(0x181)][_0x45cc1e(0x45a)](j[_0x45cc1e(0x199)](_0x6097cc=>_0x6097cc?_0x6097cc[_0x45cc1e(0x3e5)]:Ve[_0x45cc1e(0x1e8)]),j[_0x45cc1e(0x49b)](0x1))),A(this,_0x45cc1e(0x3c6),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x45cc1e(0x186)]=_0x15995a,this[_0x45cc1e(0x166)]=_0x2823ee,this[_0x45cc1e(0x25c)]=_0x36b6be,this[_0x45cc1e(0x2db)]=_0x40ee06,this[_0x45cc1e(0x467)]=_0x146995,this[_0x45cc1e(0x312)]=_0x70426c,this['_revisionService']=_0x16c858,this[_0x45cc1e(0x1b5)]=_0x259bd6,this['_logService']=_0x18d6c1,this[_0x45cc1e(0x23a)]=_0x43beab,this[_0x45cc1e(0x417)]=_0x211379,this[_0x45cc1e(0x334)]=_0x537e36,this[_0x45cc1e(0x227)]=_0x4913fe);}get['state'](){var _0x135437=_0x1bc887;return this[_0x135437(0x36c)];}async['init'](){var _0x3efd82=_0x1bc887;if(this[_0x3efd82(0x2f9)])throw new Error(_0x3efd82(0x1d8));await this[_0x3efd82(0x333)]();}[_0x1bc887(0x3de)](){var _0x476e87=_0x1bc887;return this[_0x476e87(0x2dd)]=!0x0,a[_0x476e87(0x194)](()=>{var _0x4cb6ee=_0x476e87;this[_0x4cb6ee(0x2dd)]=!0x1,this[_0x4cb6ee(0x198)]();});}['onLocalMutation'](_0x757bc5){var _0x9cc596=_0x1bc887;this[_0x9cc596(0x2aa)](_0x757bc5);}[_0x1bc887(0x27b)](_0x541a88){var _0x3aca29=_0x1bc887;this[_0x3aca29(0x36c)]=_0x541a88,this[_0x3aca29(0x40d)][_0x3aca29(0x3cf)](_0x541a88);}async[_0x1bc887(0x333)](){var _0x50503d=_0x1bc887,_0x7b65e5;this[_0x50503d(0x27b)](await this[_0x50503d(0x390)]()),this[_0x50503d(0x334)]&&((_0x7b65e5=this['_singleActiveUnitService'])==null||_0x7b65e5[_0x50503d(0x394)](this[_0x50503d(0x186)]),this[_0x50503d(0x25f)](this[_0x50503d(0x334)][_0x50503d(0x1ee)](this[_0x50503d(0x186)])[_0x50503d(0x2fd)](_0x4dcf0d=>{var _0x1b7c42=_0x50503d;this['_logService'][_0x1b7c42(0x14e)](_0x1b7c42(0x358),_0x1b7c42(0x28c),_0x4dcf0d),_0x4dcf0d===Fe['OTHER_CLIENTS_EDITING']?(this[_0x1b7c42(0x1b5)][_0x1b7c42(0x1fe)]({'id':Q[_0x1b7c42(0x183)]}),this[_0x1b7c42(0x417)][_0x1b7c42(0x209)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x1b7c42(0x417)][_0x1b7c42(0x2ff)](!0x1)):(this[_0x1b7c42(0x417)][_0x1b7c42(0x209)](new Z['WorkbookEditablePermission'](this[_0x1b7c42(0x186)])['id'],!0x0),this['_permissionService'][_0x1b7c42(0x2ff)](!0x0));})));let _0x525ac9=!0x1;return this[_0x50503d(0x25f)](this[_0x50503d(0x166)][_0x50503d(0x3f4)]['subscribe'](_0x3bdd76=>{var _0x1ae877=_0x50503d;_0x3bdd76===se[_0x1ae877(0x4a0)]?this[_0x1ae877(0x402)](_0x525ac9):_0x3bdd76===se[_0x1ae877(0x1e8)]&&(_0x525ac9=!0x0,this[_0x1ae877(0x463)]());})),this['disposeWithMe'](this[_0x50503d(0x166)][_0x50503d(0x426)][_0x50503d(0x2fd)](_0x57729d=>{var _0x4b54ed=_0x50503d;try{switch(_0x57729d['eventID']){case g[_0x4b54ed(0x465)][_0x4b54ed(0x2e4)]:{this[_0x4b54ed(0x39e)](g['parseProtocolChangeset'](_0x57729d['data']));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x4b54ed(0x3cd)](_0x57729d['data']);break;}case g[_0x4b54ed(0x465)][_0x4b54ed(0x222)]:{this[_0x4b54ed(0x2d6)]();break;}case g['CollaborationEvent'][_0x4b54ed(0x24f)]:{this['_onRemoteRetry'](_0x57729d[_0x4b54ed(0x301)]);break;}case g[_0x4b54ed(0x465)][_0x4b54ed(0x13f)]:{this[_0x4b54ed(0x20f)](_0x57729d[_0x4b54ed(0x301)][_0x4b54ed(0x2be)]['map'](_0x17e1d8=>g[_0x4b54ed(0x445)](_0x17e1d8)));break;}case g['CollaborationEvent'][_0x4b54ed(0x1fc)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x4b54ed(0x465)][_0x4b54ed(0x2dc)]:break;}}catch(_0x4666d1){throw console[_0x4b54ed(0x3da)]('Error\x20on\x20receiving\x20event',_0x4666d1),_0x4666d1;}})),this[_0x50503d(0x36c)];}[_0x1bc887(0x376)](){var _0x584efb=_0x1bc887;this[_0x584efb(0x3c6)]=!0x1;}['_lockTransition'](){var _0x4b0887=_0x1bc887;if(this[_0x4b0887(0x3c6)])throw new Error(_0x4b0887(0x45c));this['_transitionLocked']=!0x0;}[_0x1bc887(0x2aa)](_0x29433e){var _0x66a68=_0x1bc887;this[_0x66a68(0x3be)](),this[_0x66a68(0x27b)](this['_state'][_0x66a68(0x479)](_0x29433e)),this[_0x66a68(0x376)]();}[_0x1bc887(0x39e)](_0x193929){var _0x2f3b15=_0x1bc887;if(!(_0x193929[_0x2f3b15(0x498)]<=this[_0x2f3b15(0x466)][_0x2f3b15(0x33b)](this[_0x2f3b15(0x186)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x193929);return;}this[_0x2f3b15(0x3a7)](_0x193929);}}[_0x1bc887(0x198)](){var _0xc76fac=_0x1bc887;this[_0xc76fac(0x2fa)][_0xc76fac(0x239)](_0x1b09af=>this[_0xc76fac(0x3a7)](_0x1b09af)),this[_0xc76fac(0x2fa)]=[];}[_0x1bc887(0x3a7)](_0x3d78b4){var _0x8431dd=_0x1bc887;const _0x244a31=this[_0x8431dd(0x467)][_0x8431dd(0x3ad)][_0x8431dd(0x1c0)](this[_0x8431dd(0x467)][_0x8431dd(0x3ad)][_0x8431dd(0x1c3)]()[_0x8431dd(0x2fb)])(_0x3d78b4[_0x8431dd(0x23e)],null)||_0x3d78b4['mutations'],_0x678622={..._0x3d78b4,'mutations':_0x244a31};this['_lockTransition'](),this[_0x8431dd(0x27b)](this[_0x8431dd(0x36c)][_0x8431dd(0x2ec)](_0x678622)),this['_unlockTransition']();}[_0x1bc887(0x3cd)](_0x1e33bb){var _0x55ecf6=_0x1bc887;this[_0x55ecf6(0x3be)](),this[_0x55ecf6(0x27b)](this[_0x55ecf6(0x36c)][_0x55ecf6(0x45b)](_0x1e33bb)),this[_0x55ecf6(0x376)]();}[_0x1bc887(0x2d6)](_0x3d0286){var _0x3ff4b3=_0x1bc887;this['_lockTransition'](),this[_0x3ff4b3(0x27b)](this[_0x3ff4b3(0x36c)][_0x3ff4b3(0x2bd)](_0x3d0286)),this[_0x3ff4b3(0x376)]();}[_0x1bc887(0x490)](_0x225f79){var _0x3dc9fe=_0x1bc887;this[_0x3dc9fe(0x3be)](),this[_0x3dc9fe(0x27b)](this[_0x3dc9fe(0x36c)][_0x3dc9fe(0x1c6)](_0x225f79)),this['_unlockTransition']();}[_0x1bc887(0x20f)](_0x2e990f){var _0x3b07e9=_0x1bc887;if(!(this[_0x3b07e9(0x36c)]instanceof exports['FetchingMissState']))throw new TypeError(_0x3b07e9(0x4a9));const _0x3fd58f=_0x2e990f[_0x3b07e9(0x199)](_0x3022ad=>{var _0x1d7003=_0x3b07e9;const _0x40d801=this[_0x1d7003(0x467)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x1d7003(0x3ad)]['getInterceptPoints']()[_0x1d7003(0x2fb)])(_0x3022ad[_0x1d7003(0x23e)],null)||_0x3022ad[_0x1d7003(0x23e)];return{..._0x3022ad,'mutations':_0x40d801};});this['_lockTransition'](),this[_0x3b07e9(0x27b)](this['_state']['onMissedChangesetFetched'](_0x3fd58f)),this[_0x3b07e9(0x376)]();}[_0x1bc887(0x463)](){var _0xe33bed=_0x1bc887;this['_lockTransition'](),this['_updateState'](this[_0xe33bed(0x36c)][_0xe33bed(0x348)]()),this[_0xe33bed(0x376)]();}[_0x1bc887(0x402)](_0xd7f807=!0x1){var _0x77f5=_0x1bc887;this['_lockTransition'](),this['_updateState'](this[_0x77f5(0x36c)][_0x77f5(0x1d7)]()),this[_0x77f5(0x376)]();const _0x315f77=this[_0x77f5(0x36c)];_0xd7f807&&_0x315f77 instanceof exports[_0x77f5(0x290)]&&(this[_0x77f5(0x3be)](),this['_updateState'](_0x315f77['fetchMiss']()),this[_0x77f5(0x376)]());}async[_0x1bc887(0x390)](){return new Promise(_0x1b9f33=>{var _0x305740=_0x5233;this['session'][_0x305740(0x3f4)][_0x305740(0x45a)](j[_0x305740(0x1c9)](0x1))[_0x305740(0x2fd)](async _0x303643=>{var _0x3b45cb=_0x305740;_0x1b9f33(await this['_createInitialStateImpl'](_0x303643===se[_0x3b45cb(0x4a0)]));});});}['_createHandler'](){var _0x53fb89=_0x1bc887;const _0x85b074=this[_0x53fb89(0x186)];return{'onStateChange':(_0x3856b5,_0x1d2cd1)=>{var _0xca6607=_0x53fb89;if(_0x3856b5!==this[_0xca6607(0x36c)])throw new Error(_0xca6607(0x485)+_0x3856b5[_0xca6607(0x3e5)]+_0xca6607(0x331)+_0x1d2cd1['status']+'\x0aCurrent:\x20'+this[_0xca6607(0x36c)][_0xca6607(0x3e5)]);this[_0xca6607(0x27b)](_0x1d2cd1);},'onSendChangeset':_0x2d3f7a=>{var _0x360dd0=_0x53fb89;_0x2d3f7a[_0x360dd0(0x17d)]||(_0x2d3f7a[_0x360dd0(0x17d)]=this[_0x360dd0(0x2cb)],_0x2d3f7a[_0x360dd0(0x442)]=++this[_0x360dd0(0x2d2)]);const _0x498586={'eventID':g[_0x360dd0(0x465)][_0x360dd0(0x2ba)],'data':{'unitID':_0x2d3f7a[_0x360dd0(0x186)],'unitType':this['_type'],'changeset':_0x2d3f7a,'memberID':this['session'][_0x360dd0(0x3d1)]()}};this[_0x360dd0(0x166)][_0x360dd0(0x1c4)](_0x498586,this[_0x360dd0(0x186)]);},'onMissingChangesets':({from:_0x25cbb2,to:_0x218f44})=>{var _0x5ef107=_0x53fb89;this[_0x5ef107(0x16a)]['debug'](_0x5ef107(0x358),'fetching\x20missing\x20changesets\x20from\x20'+_0x25cbb2+_0x5ef107(0x401)+_0x218f44);const _0x183d42={'eventID':g[_0x5ef107(0x465)][_0x5ef107(0x36b)],'data':{'unitID':_0x85b074,'unitType':this[_0x5ef107(0x25c)],'from':_0x25cbb2,'to':_0x218f44}};this[_0x5ef107(0x166)][_0x5ef107(0x1c4)](_0x183d42,this[_0x5ef107(0x186)]);}};}async[_0x1bc887(0x3c5)](_0x213263){var _0x49a66f=_0x1bc887,_0x2f3140,_0x3b0b0b,_0x2d80d3;const _0x364e0a=await((_0x2f3140=this[_0x49a66f(0x227)])==null?void 0x0:_0x2f3140[_0x49a66f(0x21c)](this[_0x49a66f(0x186)])),_0x3c7734=(_0x3b0b0b=_0x364e0a==null?void 0x0:_0x364e0a['mutations'])!=null?_0x3b0b0b:[],_0x51bbda=(_0x2d80d3=_0x364e0a==null?void 0x0:_0x364e0a['awaitingChangeset'])!=null?_0x2d80d3:null,_0x3677e9=!!(_0x51bbda!=null&&_0x51bbda[_0x49a66f(0x17d)])&&!!(_0x51bbda!=null&&_0x51bbda['reqId']);this['_changesetSessionId']=_0x3677e9?_0x51bbda[_0x49a66f(0x17d)]:di(),this['_changesetReqId']=_0x3677e9?_0x51bbda[_0x49a66f(0x442)]:0x0;const _0x1d6873=this[_0x49a66f(0x186)];try{this[_0x49a66f(0x30d)](_0x51bbda,_0x3c7734);}catch(_0x269101){this['_logService'][_0x49a66f(0x3da)](_0x269101);}const _0x2c6cf9=this[_0x49a66f(0x318)]();if(_0x213263){const _0x2b4876=Ut(this['_injector'],_0x1d6873,this['_type'],_0x51bbda,_0x3c7734,_0x2c6cf9);return _0x2b4876 instanceof exports[_0x49a66f(0x432)]?_0x2b4876[_0x49a66f(0x1ec)]():(_0x2b4876 instanceof exports[_0x49a66f(0x18f)]||_0x2b4876 instanceof exports[_0x49a66f(0x297)])&&_0x2b4876[_0x49a66f(0x139)](),_0x2b4876;}return this[_0x49a66f(0x2db)][_0x49a66f(0x2ce)](exports[_0x49a66f(0x161)],_0x1d6873,this['_type'],_0x51bbda,_0x3c7734,_0x2c6cf9);}[_0x1bc887(0x30d)](_0x480d83,_0x2ed258){var _0x2c956b=_0x1bc887,_0x3999ab,_0x149177;const _0x2c9013=this[_0x2c956b(0x467)][_0x2c956b(0x3ad)][_0x2c956b(0x1c0)](this[_0x2c956b(0x467)]['interceptor'][_0x2c956b(0x1c3)]()['COMPRESS_MUTATION_APPLY']);(_0x3999ab=_0x2c9013((_0x480d83==null?void 0x0:_0x480d83[_0x2c956b(0x23e)])||[],null))==null||_0x3999ab[_0x2c956b(0x239)](_0x635bfc=>this['_commandService'][_0x2c956b(0x1bb)](_0x635bfc['id'],_0x635bfc[_0x2c956b(0x2f6)])),(_0x149177=_0x2c9013(_0x2ed258||[],null))==null||_0x149177['forEach'](_0x25d89e=>this[_0x2c956b(0x23a)][_0x2c956b(0x1bb)](_0x25d89e['id'],_0x25d89e['params']));}},exports[_0x1bc887(0x300)]=We([$(0x3,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),$(0x4,a[_0x1bc887(0x46c)](g[_0x1bc887(0x1ae)])),$(0x5,a[_0x1bc887(0x46c)](a[_0x1bc887(0x304)])),$(0x6,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),$(0x7,a[_0x1bc887(0x46c)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x1bc887(0x438)]),$(0xa,a[_0x1bc887(0x434)]),$(0xb,a[_0x1bc887(0x437)](ve)),$(0xc,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x300)]),exports[_0x1bc887(0x31d)]=class extends exports[_0x1bc887(0x300)]{constructor(_0x49a41a,_0x1f6756,_0x381b87,_0x3cbb13,_0x167f67,_0x82af69,_0x1c7020,_0xef166d,_0xd163a7,_0x20530a,_0xe882bb,_0x2c2dae,_0x3bd4ef){var _0xdab35e=_0x1bc887;super(_0x49a41a,_0x381b87,_0x1f6756,_0x3cbb13,_0x167f67,_0x82af69,_0x1c7020,_0xef166d,_0xd163a7,_0x20530a,_0xe882bb,_0x2c2dae,_0x3bd4ef),A(this,_0xdab35e(0x2ae),null),(this[_0xdab35e(0x186)]=_0x49a41a,this['type']=_0x1f6756);}[_0x1bc887(0x43b)](_0x52d958){var _0x203ff4=_0x1bc887;this[_0x203ff4(0x2ae)]=_0x52d958;}['dispose'](){var _0x3e5928=_0x1bc887;this['_handlerCallback']=null,super[_0x3e5928(0x392)]();}[_0x1bc887(0x318)](){var _0x3f0220=_0x1bc887;const _0x253edc=super[_0x3f0220(0x318)]();return _0x253edc['onTransformIME']=_0x49819b=>{var _0x576e7f=_0x3f0220,_0x287df8,_0x5354f5;return(_0x5354f5=(_0x287df8=this['_handlerCallback'])==null?void 0x0:_0x287df8[_0x576e7f(0x456)])==null?void 0x0:_0x5354f5[_0x576e7f(0x233)](_0x287df8,_0x49819b);},_0x253edc['onTransformState']=_0x24cbac=>{var _0x4076cf=_0x3f0220,_0xcdad26,_0x3639fc;return(_0x3639fc=(_0xcdad26=this[_0x4076cf(0x2ae)])==null?void 0x0:_0xcdad26['onTransformState'])==null?void 0x0:_0x3639fc[_0x4076cf(0x233)](_0xcdad26,_0x24cbac);},_0x253edc[_0x3f0220(0x3e3)]=_0x30c45e=>{var _0x4941e7=_0x3f0220,_0x2484d9,_0x44c586;return(_0x44c586=(_0x2484d9=this[_0x4941e7(0x2ae)])==null?void 0x0:_0x2484d9[_0x4941e7(0x3e3)])==null?void 0x0:_0x44c586['call'](_0x2484d9,_0x30c45e);},_0x253edc[_0x3f0220(0x2f3)]=_0x1c6125=>{var _0x5f0152=_0x3f0220,_0xe59283,_0x1bd3d9;return(_0x1bd3d9=(_0xe59283=this[_0x5f0152(0x2ae)])==null?void 0x0:_0xe59283[_0x5f0152(0x2f3)])==null?void 0x0:_0x1bd3d9[_0x5f0152(0x233)](_0xe59283,_0x1c6125);},_0x253edc[_0x3f0220(0x17f)]=_0x45177a=>{var _0x560ef1=_0x3f0220,_0x41d35b,_0x3b0b28,_0x4d60e7;if(!((_0x41d35b=this[_0x560ef1(0x2ae)])!=null&&_0x41d35b['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4d60e7=(_0x3b0b28=this[_0x560ef1(0x2ae)])==null?void 0x0:_0x3b0b28[_0x560ef1(0x17f)])==null?void 0x0:_0x4d60e7[_0x560ef1(0x233)](_0x3b0b28,_0x45177a);},_0x253edc[_0x3f0220(0x36f)]=_0x1f0151=>{var _0x593004=_0x3f0220,_0x185a1a,_0x25a13e,_0x461787;if(!((_0x185a1a=this[_0x593004(0x2ae)])!=null&&_0x185a1a[_0x593004(0x36f)]))throw new Error(_0x593004(0x1f7));return(_0x461787=(_0x25a13e=this[_0x593004(0x2ae)])==null?void 0x0:_0x25a13e[_0x593004(0x36f)])==null?void 0x0:_0x461787[_0x593004(0x233)](_0x25a13e,_0x1f0151);},_0x253edc;}async[_0x1bc887(0x333)](){var _0x30badb=_0x1bc887;const _0x59f051=await super[_0x30badb(0x333)]();return this[_0x30badb(0x25f)](this[_0x30badb(0x23a)][_0x30badb(0x262)]((_0x21ee92,_0x4c764d)=>{var _0x5b46e7=_0x30badb;if(_0x21ee92['type']!==a[_0x5b46e7(0x302)][_0x5b46e7(0x314)]||_0x4c764d!=null&&_0x4c764d[_0x5b46e7(0x410)]||_0x4c764d!=null&&_0x4c764d['onlyLocal']||_0x21ee92['id']===ut[_0x5b46e7(0x202)]['id'])return;const _0x5b9ca0=_0x21ee92[_0x5b46e7(0x2f6)];if((_0x5b9ca0==null?void 0x0:_0x5b9ca0[_0x5b46e7(0x3c9)])!==this['unitID'])return;const _0x5b8823=_0x21ee92,_0x40029f=this[_0x5b46e7(0x467)][_0x5b46e7(0x3ad)][_0x5b46e7(0x1c0)](this[_0x5b46e7(0x467)][_0x5b46e7(0x3ad)][_0x5b46e7(0x1c3)]()[_0x5b46e7(0x366)])([_0x5b8823],null)||[_0x5b8823];this['_onLocalMutation'](_0x40029f[0x0]);})),_0x59f051;}},exports[_0x1bc887(0x31d)]=We([$(0x3,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),$(0x4,a[_0x1bc887(0x46c)](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x1bc887(0x304)])),$(0x6,a[_0x1bc887(0x46c)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x1bc887(0x252)]),$(0x9,a['ICommandService']),$(0xa,a[_0x1bc887(0x434)]),$(0xb,a[_0x1bc887(0x437)](ve)),$(0xc,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x31d)]),exports[_0x1bc887(0x212)]=class extends exports['CollaborationEntity']{constructor(_0x1bc034,_0x1a2bab,_0x453a42,_0x3e1d1a,_0x3b2157,_0x1bf8d8,_0x57c7f3,_0x5f24f6,_0x1981b1,_0x5edcba,_0x395352,_0xf5c6ae,_0x4640d5,_0x240a59){var _0x4b9fd6=_0x1bc887;super(_0x1bc034,_0x453a42,_0x1a2bab,_0x3e1d1a,_0x3b2157,_0x1bf8d8,_0x57c7f3,_0x1981b1,_0x5edcba,_0x395352,_0xf5c6ae,_0x4640d5,_0x240a59),this['unitID']=_0x1bc034,this['type']=_0x1a2bab,this[_0x4b9fd6(0x14d)]=_0x5f24f6;}['_createHandler'](){var _0x1b34d1=_0x1bc887;const _0x2d64f1=super[_0x1b34d1(0x318)]();return _0x2d64f1[_0x1b34d1(0x3e3)]=_0x4a217d=>this[_0x1b34d1(0x14d)][_0x1b34d1(0x3b6)](_0x4a217d),_0x2d64f1;}async[_0x1bc887(0x333)](){var _0x41523b=_0x1bc887;const _0x178ad4=await super[_0x41523b(0x333)]();return this[_0x41523b(0x25f)](this[_0x41523b(0x23a)][_0x41523b(0x262)]((_0x526526,_0x1cfc26)=>{var _0x3557f8=_0x41523b;if(_0x526526[_0x3557f8(0x266)]!==a[_0x3557f8(0x302)][_0x3557f8(0x314)]||_0x1cfc26!=null&&_0x1cfc26[_0x3557f8(0x410)]||_0x1cfc26!=null&&_0x1cfc26['onlyLocal'])return;const _0x1d3370=_0x526526[_0x3557f8(0x2f6)];if((_0x1d3370==null?void 0x0:_0x1d3370[_0x3557f8(0x3c9)])!==this['unitID'])return;const _0x20e6ad=_0x526526,_0x524197=this['_compressMutationService'][_0x3557f8(0x3ad)][_0x3557f8(0x1c0)](this['_compressMutationService'][_0x3557f8(0x3ad)][_0x3557f8(0x1c3)]()[_0x3557f8(0x366)])([_0x20e6ad],null)||[_0x20e6ad];this[_0x3557f8(0x2aa)](_0x524197[0x0]);})),_0x178ad4;}},exports[_0x1bc887(0x212)]=We([$(0x3,a[_0x1bc887(0x46c)](a['Injector'])),$(0x4,a[_0x1bc887(0x46c)](g[_0x1bc887(0x1ae)])),$(0x5,a['Inject'](a[_0x1bc887(0x304)])),$(0x6,a[_0x1bc887(0x46c)](g[_0x1bc887(0x3fa)])),$(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x1bc887(0x46c)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x1bc887(0x438)]),$(0xb,a[_0x1bc887(0x434)]),$(0xc,a[_0x1bc887(0x437)](ve)),$(0xd,a[_0x1bc887(0x437)](z))],exports[_0x1bc887(0x212)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x3fd86e,_0x22aceb,_0xc034b2,_0x266543)=>{var _0x3b717c=_0x1bc887;for(var _0x4851e0=_0x266543>0x1?void 0x0:_0x266543?Ti(_0x22aceb,_0xc034b2):_0x22aceb,_0x212935=_0x3fd86e[_0x3b717c(0x381)]-0x1,_0x235b5f;_0x212935>=0x0;_0x212935--)(_0x235b5f=_0x3fd86e[_0x212935])&&(_0x4851e0=_0x235b5f(_0x4851e0)||_0x4851e0);return _0x4851e0;},Pe=(_0x276f74,_0x23a55e)=>(_0x5b8a90,_0x4f13cc)=>_0x23a55e(_0x5b8a90,_0x4f13cc,_0x276f74);function _0x5233(_0x1ccbb7,_0x1bcb11){var _0x383383=_0x3833();return _0x5233=function(_0x5233ca,_0x211003){_0x5233ca=_0x5233ca-0x136;var _0x4762b0=_0x383383[_0x5233ca];return _0x4762b0;},_0x5233(_0x1ccbb7,_0x1bcb11);}exports['CollaborationController']=class extends a[_0x1bc887(0x219)]{constructor(_0x3aca99,_0x5dee5c,_0x2100e3){var _0x25187=_0x1bc887;super(),A(this,_0x25187(0x1f2),new Map()),A(this,_0x25187(0x17b),new j[(_0x25187(0x147))]()),A(this,'entityInit$',this[_0x25187(0x17b)]['asObservable']()),(this[_0x25187(0x2db)]=_0x3aca99,this[_0x25187(0x1f9)]=_0x5dee5c,this[_0x25187(0x44f)]=_0x2100e3,this['_init']());}['dispose'](){var _0x2daf37=_0x1bc887;super['dispose'](),this[_0x2daf37(0x1f2)][_0x2daf37(0x239)](_0x5b5a12=>_0x5b5a12['dispose']()),this[_0x2daf37(0x1f2)][_0x2daf37(0x435)]();}[_0x1bc887(0x329)](_0x348fcb){var _0x48d427=_0x1bc887,_0x592849;return(_0x592849=this['_entities'][_0x48d427(0x29d)](_0x348fcb))!=null?_0x592849:null;}[_0x1bc887(0x273)](_0x282748){var _0x43698a=_0x1bc887;const _0x457aad=this[_0x43698a(0x329)](_0x282748);return _0x457aad?j['of'](_0x457aad):this[_0x43698a(0x17b)][_0x43698a(0x45a)](V[_0x43698a(0x1cf)](_0x29994f=>_0x29994f[_0x43698a(0x186)]===_0x282748));}[_0x1bc887(0x3e4)](_0x3d6d75){var _0xa35c9c=_0x1bc887;return j[_0xa35c9c(0x1ff)](this['getCollabEntity$'](_0x3d6d75)[_0xa35c9c(0x45a)](V[_0xa35c9c(0x199)](()=>{})));}[_0x1bc887(0x333)](){var _0x5ef800=_0x1bc887;this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](j[_0x5ef800(0x13b)](this[_0x5ef800(0x33d)]),V[_0x5ef800(0x33e)](0x10))[_0x5ef800(0x2fd)](async _0x4816c7=>{var _0x204c41=_0x5ef800;const _0x53adde=_0x4816c7[_0x204c41(0x361)](),_0xaa2850=await this[_0x204c41(0x1b4)](_0x53adde,X[_0x204c41(0x320)]);this['_entities'][_0x204c41(0x2f7)](_0x53adde,_0xaa2850);}),this[_0x5ef800(0x44f)][_0x5ef800(0x26a)](a[_0x5ef800(0x1ba)]['UNIVER_DOC'])[_0x5ef800(0x45a)](j[_0x5ef800(0x13b)](this[_0x5ef800(0x33d)]),V[_0x5ef800(0x33e)](0x10))[_0x5ef800(0x45a)](V[_0x5ef800(0x1cf)](_0x2bab9c=>!_0x2bab9c[_0x5ef800(0x361)]()[_0x5ef800(0x246)]('__')))['subscribe'](async _0x8a1d3c=>{var _0x5cd758=_0x5ef800;const _0x5063ee=_0x8a1d3c[_0x5cd758(0x361)](),_0x1a6f10=await this['_startCollaboration'](_0x5063ee,X['UNIVER_DOC']);this[_0x5cd758(0x1f2)]['set'](_0x5063ee,_0x1a6f10);}),j[_0x5ef800(0x284)](this[_0x5ef800(0x44f)][_0x5ef800(0x1b0)](a['UniverInstanceType'][_0x5ef800(0x320)]),this[_0x5ef800(0x44f)][_0x5ef800(0x1b0)](a['UniverInstanceType'][_0x5ef800(0x378)]))[_0x5ef800(0x45a)](j[_0x5ef800(0x13b)](this['dispose$']))['subscribe'](_0x29f4ac=>{var _0x1041e9=_0x5ef800;const _0x34ae7d=_0x29f4ac[_0x1041e9(0x361)](),_0x117d7e=this[_0x1041e9(0x1f2)][_0x1041e9(0x29d)](_0x34ae7d);_0x117d7e&&(_0x117d7e[_0x1041e9(0x392)](),this[_0x1041e9(0x1f2)][_0x1041e9(0x255)](_0x34ae7d));});}async['_startCollaboration'](_0x49c261,_0x4bf66e){var _0x168966=_0x1bc887;const _0x279cec=await this[_0x168966(0x1f9)]['requireSession'](_0x49c261),_0x55da9a=this[_0x168966(0x2db)]['createInstance'](this[_0x168966(0x3e1)](_0x4bf66e),_0x49c261,_0x4bf66e,_0x279cec);return await _0x55da9a[_0x168966(0x2bc)](),this['_entityInit$'][_0x168966(0x3cf)](_0x55da9a),_0x55da9a;}[_0x1bc887(0x3e1)](_0x3b68e4){var _0x1dc176=_0x1bc887;switch(_0x3b68e4){case X[_0x1dc176(0x378)]:return exports[_0x1dc176(0x31d)];case X['UNIVER_SHEET']:return exports[_0x1dc176(0x212)];default:throw new Error(_0x1dc176(0x370)+_0x3b68e4);}}},exports[_0x1bc887(0x177)]=bi([Pe(0x0,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),Pe(0x1,a[_0x1bc887(0x46c)](exports[_0x1bc887(0x2f4)])),Pe(0x2,a[_0x1bc887(0x3ac)])],exports['CollaborationController']);var Ri=Object[_0x1bc887(0x31c)],Oi=(_0x2f264d,_0x4f863,_0x4753c7,_0x41b026)=>{var _0xd781bb=_0x1bc887;for(var _0x2e384a=_0x41b026>0x1?void 0x0:_0x41b026?Ri(_0x4f863,_0x4753c7):_0x4f863,_0x133e6c=_0x2f264d[_0xd781bb(0x381)]-0x1,_0x270517;_0x133e6c>=0x0;_0x133e6c--)(_0x270517=_0x2f264d[_0x133e6c])&&(_0x2e384a=_0x270517(_0x2e384a)||_0x2e384a);return _0x2e384a;},Je=(_0x3a8170,_0x214a20)=>(_0x1b7833,_0xa3ce03)=>_0x214a20(_0x1b7833,_0xa3ce03,_0x3a8170);const yi=_0x1bc887(0x1a2),Ni=_0x1bc887(0x332);let He=class extends a[_0x1bc887(0x486)]{constructor(_0x241c39,_0x368173){var _0xcce7a1=_0x1bc887;super(),this[_0xcce7a1(0x44f)]=_0x241c39,this[_0xcce7a1(0x4a6)]=_0x368173,this['_init']();}[_0x1bc887(0x333)](){var _0x198a53=_0x1bc887;this[_0x198a53(0x25f)](this[_0x198a53(0x44f)][_0x198a53(0x21f)]['subscribe'](()=>{var _0x4a0343=_0x198a53,_0x318682;const _0x37d12f=this[_0x4a0343(0x44f)][_0x4a0343(0x3db)]();let _0x70f47b=(_0x318682=this[_0x4a0343(0x4a6)][_0x4a0343(0x19b)](yi))!=null?_0x318682:Ni;_0x37d12f instanceof a['Workbook']&&(_0x70f47b=_0x37d12f[_0x4a0343(0x415)]),document[_0x4a0343(0x474)]=_0x70f47b;}));}};He=Oi([Je(0x0,a[_0x1bc887(0x3ac)]),Je(0x1,a[_0x1bc887(0x288)])],He);var Ui=Object[_0x1bc887(0x31c)],Di=(_0x2435ce,_0x317094,_0x1f5c3d,_0x3ba4c9)=>{var _0x28eb99=_0x1bc887;for(var _0x3a5fba=_0x3ba4c9>0x1?void 0x0:_0x3ba4c9?Ui(_0x317094,_0x1f5c3d):_0x317094,_0x140ba2=_0x2435ce[_0x28eb99(0x381)]-0x1,_0x1522ed;_0x140ba2>=0x0;_0x140ba2--)(_0x1522ed=_0x2435ce[_0x140ba2])&&(_0x3a5fba=_0x1522ed(_0x3a5fba)||_0x3a5fba);return _0x3a5fba;},we=(_0x1b1326,_0xabf15f)=>(_0x427566,_0x338adc)=>_0xabf15f(_0x427566,_0x338adc,_0x1b1326);let ye=class{constructor(_0x572ebe,_0x354f65,_0x1b69ce){var _0x1c4816=_0x1bc887;this[_0x1c4816(0x4a6)]=_0x572ebe,this[_0x1c4816(0x138)]=_0x354f65,this[_0x1c4816(0x4b0)]=_0x1b69ce,this[_0x1c4816(0x2bc)]();}[_0x1bc887(0x2bc)](){var _0x2b0bf2=_0x1bc887;this[_0x2b0bf2(0x138)][_0x2b0bf2(0x330)]({'priority':0x1,'interceptor':(_0x59aadf,_0x3a2511)=>_0x3a2511(_0x59aadf)[_0x2b0bf2(0x45a)](j[_0x2b0bf2(0x22e)](async _0x266f74=>{var _0x2a150a=_0x2b0bf2;const _0x4a3f50=_0x266f74;if(_0x4a3f50[_0x2a150a(0x3e5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2a150a(0x3d0)](this['localeService']['t'](_0x2a150a(0x143)))){const _0x50bc4b=window[_0x2a150a(0x1b6)](window['location'][_0x2a150a(0x26f)]);window['location'][_0x2a150a(0x26f)]=this['_getLoginPath']()+_0x2a150a(0x26c)+_0x50bc4b;}}return _0x4a3f50;}))});}[_0x1bc887(0x2ef)](){var _0x401e96=_0x1bc887,_0x210e97,_0x11de41;const _0x53eb44=this['_configService'][_0x401e96(0x19b)](Et),_0x1a78a1=this['_configService'][_0x401e96(0x19b)](Y);return(_0x11de41=(_0x210e97=_0x1a78a1==null?void 0x0:_0x1a78a1[_0x401e96(0x1db)])!=null?_0x210e97:_0x53eb44)!=null?_0x11de41:Yt;}};ye=Di([we(0x0,a[_0x1bc887(0x288)]),we(0x1,a['Inject'](q[_0x1bc887(0x2e3)])),we(0x2,a[_0x1bc887(0x46c)](a[_0x1bc887(0x304)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x64f09d,_0x5bc388,_0x53c7e5,_0x1bb155)=>{for(var _0x191434=_0x1bb155>0x1?void 0x0:_0x1bb155?Ai(_0x5bc388,_0x53c7e5):_0x5bc388,_0x58249c=_0x64f09d['length']-0x1,_0x1fb5ef;_0x58249c>=0x0;_0x58249c--)(_0x1fb5ef=_0x64f09d[_0x58249c])&&(_0x191434=_0x1fb5ef(_0x191434)||_0x191434);return _0x191434;},Xe=(_0x495380,_0x5b8566)=>(_0x2f11b2,_0x4a46e5)=>_0x5b8566(_0x2f11b2,_0x4a46e5,_0x495380);const Ge='AUTHZ_URL_KEY',wi=_0x1bc887(0x2ad);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x5d9e6a,_0x2a639b){var _0x4da56e=_0x1bc887;super(),this[_0x4da56e(0x1ce)]=_0x5d9e6a,this['_configService']=_0x2a639b,this[_0x4da56e(0x152)]();}[_0x1bc887(0x152)](){var _0x42cd17=_0x1bc887;const _0x17982b=this;this['disposeWithMe'](this[_0x42cd17(0x1ce)][_0x42cd17(0x330)]({'priority':0x3e7,'interceptor':q[_0x42cd17(0x265)]({'isMatch'(_0xaaf24c){var _0x26578b=_0x42cd17,_0x15c5d0;if(_0xaaf24c['method']===_0x26578b(0x34e)&&((_0x15c5d0=_0xaaf24c[_0x26578b(0x2b6)])!=null&&_0x15c5d0[_0x26578b(0x213)])){const {objectID:_0xf2df43,objectType:_0x3f9f11}=_0xaaf24c[_0x26578b(0x2b6)][_0x26578b(0x213)]||{};if(!_0xf2df43||_0x3f9f11===void 0x0)return!0x1;const _0x1904b8=_0x17982b[_0x26578b(0x48c)]()+'/'+_0x3f9f11+'/object/'+_0xf2df43+_0x26578b(0x32c);if(_0xaaf24c[_0x26578b(0x3bd)]===_0x1904b8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x200fb7){var _0x12fcbe=_0x42cd17,_0x1aeb9a;return(_0x1aeb9a=_0x200fb7[_0x12fcbe(0x2b6)])==null?void 0x0:_0x1aeb9a['body'];},'mergeParamsToRequest'(_0x2ac833,_0x302143){var _0x142372=_0x42cd17;const _0x478104=_0x17982b[_0x142372(0x48c)]()+_0x142372(0x2af),_0x1da3bc=_0x2ac833[_0x142372(0x359)]((_0x53543a,_0x3e44c6)=>{var _0x37a103=_0x142372;const {unitID:_0x159ba9,objectID:_0x27429d,objectType:_0x11240d,actions:_0xeaef3}=_0x3e44c6;return _0x53543a[_0x159ba9]||(_0x53543a[_0x159ba9]={}),_0x53543a[_0x159ba9][_0x27429d]||(_0x53543a[_0x159ba9][_0x27429d]={'objectID':_0x27429d,'objectType':_0x11240d,'actions':[]}),_0x53543a[_0x159ba9][_0x27429d][_0x37a103(0x313)][_0x37a103(0x23c)](..._0xeaef3),_0x53543a;},{}),_0x729b10=[];for(const _0x3fa864 in _0x1da3bc)for(const _0x51e176 in _0x1da3bc[_0x3fa864]){const {actions:_0x28408d,objectType:_0x59c357}=_0x1da3bc[_0x3fa864][_0x51e176],_0x412651=[...new Set(_0x28408d)];_0x729b10[_0x142372(0x23c)]({'unitID':_0x3fa864,'objectID':_0x51e176,'objectType':_0x59c357,'actions':_0x412651});}return new q[(_0x142372(0x157))]('POST',_0x478104,{'headers':_0x302143[_0x142372(0x4a8)],'withCredentials':_0x302143[_0x142372(0x3e0)],'responseType':_0x302143[_0x142372(0x3ea)],'body':{'requests':_0x729b10}});}},{'distributeResult'(_0x187ba9,_0x2c0743){var _0x240c1b=_0x42cd17;const {objectActions:_0x1aa43b}=_0x187ba9;return _0x2c0743[_0x240c1b(0x199)](_0x44ff0c=>{var _0x2d30f9=_0x240c1b;const {unitID:_0xa6b472,objectID:_0x4d2190,actions:_0x399d0f}=_0x44ff0c,_0x239741=_0x1aa43b[_0x2d30f9(0x32f)](_0x278228=>_0x278228[_0x2d30f9(0x186)]===_0xa6b472&&_0x278228[_0x2d30f9(0x34d)]===_0x4d2190),_0x5d7f9d=_0x399d0f[_0x2d30f9(0x199)](_0x55893b=>_0x239741==null?void 0x0:_0x239741[_0x2d30f9(0x313)][_0x2d30f9(0x32f)](_0xa128e6=>_0xa128e6['action']===_0x55893b))[_0x2d30f9(0x1cf)](_0x28e8fd=>!!_0x28e8fd);return{'config':_0x44ff0c,'result':{'actions':_0x5d7f9d,'error':_0x187ba9[_0x2d30f9(0x3da)]}};});}})}));}[_0x1bc887(0x48c)](){var _0x324e80=_0x1bc887,_0x127f53,_0x200a4f;const _0x30da00=this['_configService'][_0x324e80(0x19b)](Ge),_0x3050b2=this[_0x324e80(0x4a6)]['getConfig'](Y);return(_0x200a4f=(_0x127f53=_0x3050b2==null?void 0x0:_0x3050b2['authzUrl'])!=null?_0x127f53:_0x30da00)!=null?_0x200a4f:wi;}async[_0x1bc887(0x367)](_0x205770){var _0x765a81=_0x1bc887;const _0xc28da9=this[_0x765a81(0x48c)]()+'/'+_0x205770[_0x765a81(0x447)]+_0x765a81(0x17a);return(await this[_0x765a81(0x1ce)][_0x765a81(0x494)](_0xc28da9,{'body':_0x205770}))['body'][_0x765a81(0x34d)]||'';}async['list'](_0x205eec){var _0xecfe1b=_0x1bc887;const _0x5e8a41=this[_0xecfe1b(0x48c)]()+_0xecfe1b(0x441);return(await this[_0xecfe1b(0x1ce)]['post'](_0x5e8a41,{'body':_0x205eec}))['body'][_0xecfe1b(0x277)];}async[_0x1bc887(0x42f)](_0x4f896b){var _0x6ecc48=_0x1bc887,_0x63235,_0x2694c8;const _0x3c2ad4=this[_0x6ecc48(0x48c)]()+'/'+_0x4f896b[_0x6ecc48(0x447)]+'/object/'+_0x4f896b['objectID'],_0x3ca4ca=await this[_0x6ecc48(0x1ce)]['put'](_0x3c2ad4,{'body':_0x4f896b});if(((_0x2694c8=(_0x63235=_0x3ca4ca==null?void 0x0:_0x3ca4ca[_0x6ecc48(0x213)])==null?void 0x0:_0x63235[_0x6ecc48(0x3da)])==null?void 0x0:_0x2694c8[_0x6ecc48(0x3f2)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x1bc887(0x2b1)](_0x1729f7){var _0x355a4e=_0x1bc887;const _0x1f95ac=this[_0x355a4e(0x48c)]()+'/'+_0x1729f7[_0x355a4e(0x447)]+_0x355a4e(0x28f)+_0x1729f7['objectID']+_0x355a4e(0x32c);return(await this[_0x355a4e(0x1ce)]['post'](_0x1f95ac,{'body':_0x1729f7}))['body'][_0x355a4e(0x313)];}async['batchAllowed'](_0x12a115){var _0x318906=_0x1bc887;const _0x42f34b=this[_0x318906(0x48c)]()+_0x318906(0x2af);return(await this[_0x318906(0x1ce)][_0x318906(0x494)](_0x42f34b,{'body':{'requests':_0x12a115}}))[_0x318906(0x213)]['objectActions'];}async[_0x1bc887(0x282)](_0x57bfc3){var _0x907e0f=_0x1bc887;const _0x261dfc=this[_0x907e0f(0x48c)]()+'/'+_0x57bfc3[_0x907e0f(0x447)]+_0x907e0f(0x349),_0x49989a=await this[_0x907e0f(0x1ce)][_0x907e0f(0x494)](_0x261dfc,{'body':_0x57bfc3});return{'roles':_0x49989a['body'][_0x907e0f(0x37b)],'actions':_0x49989a[_0x907e0f(0x213)][_0x907e0f(0x313)]};}async[_0x1bc887(0x1e9)](_0x3b129e){var _0x47a37c=_0x1bc887;const _0x4b3aaf=this[_0x47a37c(0x48c)]()+_0x47a37c(0x204);await this[_0x47a37c(0x1ce)][_0x47a37c(0x255)](_0x4b3aaf,{'params':{'collaboratorID':_0x3b129e[_0x47a37c(0x355)],'objectID':_0x3b129e['objectID'],'unitID':_0x3b129e[_0x47a37c(0x186)]}});}async[_0x1bc887(0x464)](_0x4b5fc7){var _0x101a15=_0x1bc887;const _0x3c6b1a=this[_0x101a15(0x48c)]()+_0x101a15(0x204);await this[_0x101a15(0x1ce)][_0x101a15(0x40e)](_0x3c6b1a,{'body':_0x4b5fc7});}async[_0x1bc887(0x341)](_0xc2bbed){var _0x5e3f0f=_0x1bc887;const _0x481ee0=this[_0x5e3f0f(0x48c)]()+_0x5e3f0f(0x204);await this[_0x5e3f0f(0x1ce)][_0x5e3f0f(0x494)](_0x481ee0,{'body':_0xc2bbed});}async[_0x1bc887(0x17c)](_0x316d4e){var _0x4130c1=_0x1bc887;const _0x58bdd0=this[_0x4130c1(0x48c)]()+_0x4130c1(0x204);return(await this[_0x4130c1(0x1ce)][_0x4130c1(0x29d)](_0x58bdd0,{'params':{'objectID':_0x316d4e['objectID'],'unitID':_0x316d4e[_0x4130c1(0x186)]}}))['body'][_0x4130c1(0x286)];}async['putCollaborators'](_0x29c4e1){var _0xa619e1=_0x1bc887;const _0x27e005=this[_0xa619e1(0x48c)]()+_0xa619e1(0x204);await this['_HTTPService']['put'](_0x27e005,{'body':_0x29c4e1});}},exports[_0x1bc887(0x455)]=Pi([Xe(0x0,a['Inject'](q[_0x1bc887(0x2e3)])),Xe(0x1,a['Inject'](a['IConfigService']))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x1acb8d){var _0x39f656=_0x1bc887;return _0x1acb8d&&_0x1acb8d['__esModule']&&Object['prototype'][_0x39f656(0x1e6)][_0x39f656(0x233)](_0x1acb8d,_0x39f656(0x373))?_0x1acb8d[_0x39f656(0x373)]:_0x1acb8d;}var fe={'exports':{}};function Li(_0x2b9d7c){var _0x473d57=_0x1bc887;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2b9d7c+_0x473d57(0x216));}var pe={'exports':{}},Mi=pe[_0x1bc887(0x4aa)],Ze;function ee(){var _0x5779f3=_0x1bc887;return Ze||(Ze=0x1,function(_0x3469c1,_0x34ed01){(function(_0x5620f1,_0x1f339e){var _0x447b99=_0x5233;_0x3469c1[_0x447b99(0x4aa)]=_0x1f339e();}(Mi,function(){var _0x41f880=_0x41f880||function(_0xdca339,_0xd8f22e){var _0x4e8dc6=_0x5233,_0x38a0d4;if(typeof window<'u'&&window[_0x4e8dc6(0x3b2)]&&(_0x38a0d4=window[_0x4e8dc6(0x3b2)]),typeof self<'u'&&self['crypto']&&(_0x38a0d4=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x38a0d4=globalThis[_0x4e8dc6(0x3b2)]),!_0x38a0d4&&typeof window<'u'&&window['msCrypto']&&(_0x38a0d4=window[_0x4e8dc6(0x26e)]),!_0x38a0d4&&typeof Le<'u'&&Le['crypto']&&(_0x38a0d4=Le[_0x4e8dc6(0x3b2)]),!_0x38a0d4&&typeof Li==_0x4e8dc6(0x205))try{_0x38a0d4=require(_0x4e8dc6(0x3b2));}catch{}var _0xc64ebe=function(){var _0x316e96=_0x4e8dc6;if(_0x38a0d4){if(typeof _0x38a0d4['getRandomValues']==_0x316e96(0x205))try{return _0x38a0d4[_0x316e96(0x224)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x38a0d4[_0x316e96(0x39c)]==_0x316e96(0x205))try{return _0x38a0d4[_0x316e96(0x39c)](0x4)[_0x316e96(0x2f8)]();}catch{}}throw new Error(_0x316e96(0x24e));},_0x11f7e2=Object[_0x4e8dc6(0x367)]||(function(){function _0x283c54(){}return function(_0x55de39){var _0x18a871=_0x5233,_0x1622c4;return _0x283c54[_0x18a871(0x3dc)]=_0x55de39,_0x1622c4=new _0x283c54(),_0x283c54[_0x18a871(0x3dc)]=null,_0x1622c4;};}()),_0x4193aa={},_0x9b077e=_0x4193aa[_0x4e8dc6(0x1bd)]={},_0x5470b8=_0x9b077e[_0x4e8dc6(0x15c)]=(function(){return{'extend':function(_0x563d15){var _0xd396f5=_0x5233,_0x423fab=_0x11f7e2(this);return _0x563d15&&_0x423fab[_0xd396f5(0x189)](_0x563d15),(!_0x423fab[_0xd396f5(0x1e6)](_0xd396f5(0x2bc))||this[_0xd396f5(0x2bc)]===_0x423fab[_0xd396f5(0x2bc)])&&(_0x423fab[_0xd396f5(0x2bc)]=function(){_0x423fab['$super']['init']['apply'](this,arguments);}),_0x423fab[_0xd396f5(0x2bc)][_0xd396f5(0x3dc)]=_0x423fab,_0x423fab[_0xd396f5(0x28a)]=this,_0x423fab;},'create':function(){var _0x5c64ca=_0x5233,_0x3b4b54=this[_0x5c64ca(0x136)]();return _0x3b4b54['init'][_0x5c64ca(0x3fd)](_0x3b4b54,arguments),_0x3b4b54;},'init':function(){},'mixIn':function(_0x48f8df){var _0x3ff3fe=_0x5233;for(var _0x11eeff in _0x48f8df)_0x48f8df['hasOwnProperty'](_0x11eeff)&&(this[_0x11eeff]=_0x48f8df[_0x11eeff]);_0x48f8df[_0x3ff3fe(0x1e6)](_0x3ff3fe(0x1a5))&&(this[_0x3ff3fe(0x1a5)]=_0x48f8df['toString']);},'clone':function(){var _0x5c632b=_0x5233;return this[_0x5c632b(0x2bc)][_0x5c632b(0x3dc)]['extend'](this);}};}()),_0x167334=_0x9b077e[_0x4e8dc6(0x45e)]=_0x5470b8[_0x4e8dc6(0x136)]({'init':function(_0x33ca97,_0x21dbdf){_0x33ca97=this['words']=_0x33ca97||[],_0x21dbdf!=_0xd8f22e?this['sigBytes']=_0x21dbdf:this['sigBytes']=_0x33ca97['length']*0x4;},'toString':function(_0x39b210){var _0x2894cf=_0x4e8dc6;return(_0x39b210||_0x3ea01d)[_0x2894cf(0x323)](this);},'concat':function(_0x4d0f40){var _0x1f08cd=_0x4e8dc6,_0x2b514a=this[_0x1f08cd(0x428)],_0x23d9ab=_0x4d0f40[_0x1f08cd(0x428)],_0x51b336=this[_0x1f08cd(0x1cd)],_0x298dcb=_0x4d0f40[_0x1f08cd(0x1cd)];if(this[_0x1f08cd(0x37c)](),_0x51b336%0x4)for(var _0x25e1d3=0x0;_0x25e1d3<_0x298dcb;_0x25e1d3++){var _0x304b15=_0x23d9ab[_0x25e1d3>>>0x2]>>>0x18-_0x25e1d3%0x4*0x8&0xff;_0x2b514a[_0x51b336+_0x25e1d3>>>0x2]|=_0x304b15<<0x18-(_0x51b336+_0x25e1d3)%0x4*0x8;}else{for(var _0x59bb17=0x0;_0x59bb17<_0x298dcb;_0x59bb17+=0x4)_0x2b514a[_0x51b336+_0x59bb17>>>0x2]=_0x23d9ab[_0x59bb17>>>0x2];}return this['sigBytes']+=_0x298dcb,this;},'clamp':function(){var _0x36e594=_0x4e8dc6,_0x538d98=this['words'],_0x3c0f13=this[_0x36e594(0x1cd)];_0x538d98[_0x3c0f13>>>0x2]&=0xffffffff<<0x20-_0x3c0f13%0x4*0x8,_0x538d98[_0x36e594(0x381)]=_0xdca339[_0x36e594(0x276)](_0x3c0f13/0x4);},'clone':function(){var _0x5ea65e=_0x4e8dc6,_0x1861bd=_0x5470b8[_0x5ea65e(0x4a5)]['call'](this);return _0x1861bd['words']=this['words'][_0x5ea65e(0x28e)](0x0),_0x1861bd;},'random':function(_0x3b3572){var _0x50ec3c=_0x4e8dc6;for(var _0x15181a=[],_0xcb76eb=0x0;_0xcb76eb<_0x3b3572;_0xcb76eb+=0x4)_0x15181a[_0x50ec3c(0x23c)](_0xc64ebe());return new _0x167334[(_0x50ec3c(0x2bc))](_0x15181a,_0x3b3572);}}),_0x49bbfc=_0x4193aa[_0x4e8dc6(0x187)]={},_0x3ea01d=_0x49bbfc['Hex']={'stringify':function(_0x457d6f){var _0x1382ec=_0x4e8dc6;for(var _0x4144fb=_0x457d6f[_0x1382ec(0x428)],_0x2211d7=_0x457d6f[_0x1382ec(0x1cd)],_0x69d8ae=[],_0x3a43c7=0x0;_0x3a43c7<_0x2211d7;_0x3a43c7++){var _0x5eb7fc=_0x4144fb[_0x3a43c7>>>0x2]>>>0x18-_0x3a43c7%0x4*0x8&0xff;_0x69d8ae[_0x1382ec(0x23c)]((_0x5eb7fc>>>0x4)[_0x1382ec(0x1a5)](0x10)),_0x69d8ae[_0x1382ec(0x23c)]((_0x5eb7fc&0xf)[_0x1382ec(0x1a5)](0x10));}return _0x69d8ae[_0x1382ec(0x1ef)]('');},'parse':function(_0x29b6f5){var _0x5dda2a=_0x4e8dc6;for(var _0x598804=_0x29b6f5[_0x5dda2a(0x381)],_0x391350=[],_0x2ab89b=0x0;_0x2ab89b<_0x598804;_0x2ab89b+=0x2)_0x391350[_0x2ab89b>>>0x3]|=parseInt(_0x29b6f5[_0x5dda2a(0x38e)](_0x2ab89b,0x2),0x10)<<0x18-_0x2ab89b%0x8*0x4;return new _0x167334[(_0x5dda2a(0x2bc))](_0x391350,_0x598804/0x2);}},_0x5aae9c=_0x49bbfc[_0x4e8dc6(0x357)]={'stringify':function(_0x3779ea){var _0x374440=_0x4e8dc6;for(var _0xd207de=_0x3779ea[_0x374440(0x428)],_0x36732f=_0x3779ea[_0x374440(0x1cd)],_0x360e77=[],_0x314b58=0x0;_0x314b58<_0x36732f;_0x314b58++){var _0x57ebb4=_0xd207de[_0x314b58>>>0x2]>>>0x18-_0x314b58%0x4*0x8&0xff;_0x360e77[_0x374440(0x23c)](String[_0x374440(0x28d)](_0x57ebb4));}return _0x360e77[_0x374440(0x1ef)]('');},'parse':function(_0xeb4bfd){var _0x181906=_0x4e8dc6;for(var _0x11848e=_0xeb4bfd[_0x181906(0x381)],_0x7a2b69=[],_0x381a54=0x0;_0x381a54<_0x11848e;_0x381a54++)_0x7a2b69[_0x381a54>>>0x2]|=(_0xeb4bfd['charCodeAt'](_0x381a54)&0xff)<<0x18-_0x381a54%0x4*0x8;return new _0x167334[(_0x181906(0x2bc))](_0x7a2b69,_0x11848e);}},_0x3424dd=_0x49bbfc[_0x4e8dc6(0x3fe)]={'stringify':function(_0x33877a){var _0x5bb002=_0x4e8dc6;try{return decodeURIComponent(escape(_0x5aae9c[_0x5bb002(0x323)](_0x33877a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2c7279){var _0x5be8d3=_0x4e8dc6;return _0x5aae9c[_0x5be8d3(0x468)](unescape(encodeURIComponent(_0x2c7279)));}},_0x176d5f=_0x9b077e['BufferedBlockAlgorithm']=_0x5470b8[_0x4e8dc6(0x136)]({'reset':function(){var _0x3856c3=_0x4e8dc6;this[_0x3856c3(0x307)]=new _0x167334[(_0x3856c3(0x2bc))](),this['_nDataBytes']=0x0;},'_append':function(_0x4b377e){var _0x18b289=_0x4e8dc6;typeof _0x4b377e==_0x18b289(0x226)&&(_0x4b377e=_0x3424dd[_0x18b289(0x468)](_0x4b377e)),this['_data'][_0x18b289(0x18c)](_0x4b377e),this[_0x18b289(0x2c8)]+=_0x4b377e[_0x18b289(0x1cd)];},'_process':function(_0x180e27){var _0x1c8f57=_0x4e8dc6,_0x31334b,_0x2f900f=this['_data'],_0x51e226=_0x2f900f[_0x1c8f57(0x428)],_0x4e0354=_0x2f900f[_0x1c8f57(0x1cd)],_0x30f8bd=this['blockSize'],_0x572bfb=_0x30f8bd*0x4,_0x4c0937=_0x4e0354/_0x572bfb;_0x180e27?_0x4c0937=_0xdca339[_0x1c8f57(0x276)](_0x4c0937):_0x4c0937=_0xdca339[_0x1c8f57(0x287)]((_0x4c0937|0x0)-this[_0x1c8f57(0x1c5)],0x0);var _0x42c4b1=_0x4c0937*_0x30f8bd,_0x314596=_0xdca339['min'](_0x42c4b1*0x4,_0x4e0354);if(_0x42c4b1){for(var _0x51d070=0x0;_0x51d070<_0x42c4b1;_0x51d070+=_0x30f8bd)this[_0x1c8f57(0x3d5)](_0x51e226,_0x51d070);_0x31334b=_0x51e226[_0x1c8f57(0x309)](0x0,_0x42c4b1),_0x2f900f[_0x1c8f57(0x1cd)]-=_0x314596;}return new _0x167334[(_0x1c8f57(0x2bc))](_0x31334b,_0x314596);},'clone':function(){var _0x18de6=_0x4e8dc6,_0x506e85=_0x5470b8[_0x18de6(0x4a5)][_0x18de6(0x233)](this);return _0x506e85[_0x18de6(0x307)]=this[_0x18de6(0x307)][_0x18de6(0x4a5)](),_0x506e85;},'_minBufferSize':0x0});_0x9b077e[_0x4e8dc6(0x38b)]=_0x176d5f[_0x4e8dc6(0x136)]({'cfg':_0x5470b8['extend'](),'init':function(_0xd77a55){var _0x23b45c=_0x4e8dc6;this[_0x23b45c(0x328)]=this[_0x23b45c(0x328)][_0x23b45c(0x136)](_0xd77a55),this[_0x23b45c(0x39f)]();},'reset':function(){var _0x3e66f7=_0x4e8dc6;_0x176d5f[_0x3e66f7(0x39f)]['call'](this),this[_0x3e66f7(0x19a)]();},'update':function(_0x55f03f){var _0x1c01b1=_0x4e8dc6;return this[_0x1c01b1(0x22a)](_0x55f03f),this['_process'](),this;},'finalize':function(_0x10d56){var _0x2d3c5b=_0x4e8dc6;_0x10d56&&this[_0x2d3c5b(0x22a)](_0x10d56);var _0x1b6187=this[_0x2d3c5b(0x497)]();return _0x1b6187;},'blockSize':0x10,'_createHelper':function(_0x26cd9d){return function(_0x269ae7,_0x367141){var _0x266681=_0x5233;return new _0x26cd9d[(_0x266681(0x2bc))](_0x367141)[_0x266681(0x496)](_0x269ae7);};},'_createHmacHelper':function(_0x203649){return function(_0x465426,_0x1ef6df){var _0x1c06f2=_0x5233;return new _0x3034ec[(_0x1c06f2(0x23b))][(_0x1c06f2(0x2bc))](_0x203649,_0x1ef6df)[_0x1c06f2(0x496)](_0x465426);};}});var _0x3034ec=_0x4193aa[_0x4e8dc6(0x150)]={};return _0x4193aa;}(Math);return _0x41f880;}));}(pe)),pe[_0x5779f3(0x4aa)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Dt(){var _0x1abe5c=_0x1bc887;return Qe||(Qe=0x1,function(_0x38e554,_0x518786){(function(_0x4467e2,_0x254408){_0x38e554['exports']=_0x254408(ee());}(xi,function(_0x1bca02){var _0x8c32f7=_0x5233;return(function(){var _0x358594=_0x5233,_0x2c12be=_0x1bca02,_0x49d0d=_0x2c12be[_0x358594(0x1bd)],_0x587412=_0x49d0d['WordArray'],_0x3466cc=_0x2c12be[_0x358594(0x187)];_0x3466cc[_0x358594(0x15f)]={'stringify':function(_0x43cbf0){var _0x3f2329=_0x358594,_0x34aced=_0x43cbf0[_0x3f2329(0x428)],_0x44eb5c=_0x43cbf0['sigBytes'],_0x808df3=this[_0x3f2329(0x22d)];_0x43cbf0[_0x3f2329(0x37c)]();for(var _0x28398c=[],_0x5e26c7=0x0;_0x5e26c7<_0x44eb5c;_0x5e26c7+=0x3)for(var _0x2259bf=_0x34aced[_0x5e26c7>>>0x2]>>>0x18-_0x5e26c7%0x4*0x8&0xff,_0x5905ea=_0x34aced[_0x5e26c7+0x1>>>0x2]>>>0x18-(_0x5e26c7+0x1)%0x4*0x8&0xff,_0x4ae753=_0x34aced[_0x5e26c7+0x2>>>0x2]>>>0x18-(_0x5e26c7+0x2)%0x4*0x8&0xff,_0x2ea116=_0x2259bf<<0x10|_0x5905ea<<0x8|_0x4ae753,_0x38d729=0x0;_0x38d729<0x4&&_0x5e26c7+_0x38d729*0.75<_0x44eb5c;_0x38d729++)_0x28398c['push'](_0x808df3[_0x3f2329(0x249)](_0x2ea116>>>0x6*(0x3-_0x38d729)&0x3f));var _0x3b7030=_0x808df3['charAt'](0x40);if(_0x3b7030){for(;_0x28398c[_0x3f2329(0x381)]%0x4;)_0x28398c[_0x3f2329(0x23c)](_0x3b7030);}return _0x28398c[_0x3f2329(0x1ef)]('');},'parse':function(_0x3eee86){var _0x3c0760=_0x358594,_0x39643c=_0x3eee86[_0x3c0760(0x381)],_0x18a0c2=this[_0x3c0760(0x22d)],_0x1ef676=this['_reverseMap'];if(!_0x1ef676){_0x1ef676=this[_0x3c0760(0x1a6)]=[];for(var _0x44866a=0x0;_0x44866a<_0x18a0c2['length'];_0x44866a++)_0x1ef676[_0x18a0c2[_0x3c0760(0x31e)](_0x44866a)]=_0x44866a;}var _0x258e52=_0x18a0c2[_0x3c0760(0x249)](0x40);if(_0x258e52){var _0x9e0911=_0x3eee86['indexOf'](_0x258e52);_0x9e0911!==-0x1&&(_0x39643c=_0x9e0911);}return _0x54b53e(_0x3eee86,_0x39643c,_0x1ef676);},'_map':_0x358594(0x38f)};function _0x54b53e(_0x54a337,_0x47205a,_0x33e330){var _0x3b37c2=_0x358594;for(var _0x385881=[],_0x10cfd6=0x0,_0xbeff95=0x0;_0xbeff95<_0x47205a;_0xbeff95++)if(_0xbeff95%0x4){var _0x8a69de=_0x33e330[_0x54a337['charCodeAt'](_0xbeff95-0x1)]<<_0xbeff95%0x4*0x2,_0x38b8f2=_0x33e330[_0x54a337[_0x3b37c2(0x31e)](_0xbeff95)]>>>0x6-_0xbeff95%0x4*0x2,_0x48ed1f=_0x8a69de|_0x38b8f2;_0x385881[_0x10cfd6>>>0x2]|=_0x48ed1f<<0x18-_0x10cfd6%0x4*0x8,_0x10cfd6++;}return _0x587412[_0x3b37c2(0x367)](_0x385881,_0x10cfd6);}}()),_0x1bca02[_0x8c32f7(0x187)]['Base64'];}));}(ge)),ge[_0x1abe5c(0x4aa)];}var Ie={'exports':{}},ki=Ie[_0x1bc887(0x4aa)],et;function Hi(){return et||(et=0x1,function(_0xd933c0,_0x1d9df8){(function(_0x2639ab,_0x2c3c84){var _0x3d4e03=_0x5233;_0xd933c0[_0x3d4e03(0x4aa)]=_0x2c3c84(ee());}(ki,function(_0xf65a3){var _0x12375d=_0x5233;return function(_0x37ca6e){var _0x664fbc=_0x5233,_0x175791=_0xf65a3,_0x24322f=_0x175791[_0x664fbc(0x1bd)],_0x56d84a=_0x24322f[_0x664fbc(0x45e)],_0x4aa661=_0x24322f[_0x664fbc(0x38b)],_0x353157=_0x175791[_0x664fbc(0x150)],_0x3dd1cd=[];(function(){var _0x374b49=_0x664fbc;for(var _0x564eb4=0x0;_0x564eb4<0x40;_0x564eb4++)_0x3dd1cd[_0x564eb4]=_0x37ca6e[_0x374b49(0x3d4)](_0x37ca6e['sin'](_0x564eb4+0x1))*0x100000000|0x0;}());var _0x3e83d2=_0x353157['MD5']=_0x4aa661[_0x664fbc(0x136)]({'_doReset':function(){var _0x2df594=_0x664fbc;this['_hash']=new _0x56d84a[(_0x2df594(0x2bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x27fadf,_0x13169c){var _0x30568a=_0x664fbc;for(var _0x5d23b2=0x0;_0x5d23b2<0x10;_0x5d23b2++){var _0xffd3f2=_0x13169c+_0x5d23b2,_0x295118=_0x27fadf[_0xffd3f2];_0x27fadf[_0xffd3f2]=(_0x295118<<0x8|_0x295118>>>0x18)&0xff00ff|(_0x295118<<0x18|_0x295118>>>0x8)&0xff00ff00;}var _0x5500c2=this[_0x30568a(0x2d8)][_0x30568a(0x428)],_0x35b14a=_0x27fadf[_0x13169c+0x0],_0x2a8ae9=_0x27fadf[_0x13169c+0x1],_0x183faa=_0x27fadf[_0x13169c+0x2],_0x2b2a67=_0x27fadf[_0x13169c+0x3],_0x29ea2c=_0x27fadf[_0x13169c+0x4],_0x116703=_0x27fadf[_0x13169c+0x5],_0x3a3a5a=_0x27fadf[_0x13169c+0x6],_0x484c4e=_0x27fadf[_0x13169c+0x7],_0x7d4dca=_0x27fadf[_0x13169c+0x8],_0x11164a=_0x27fadf[_0x13169c+0x9],_0x30ff92=_0x27fadf[_0x13169c+0xa],_0x34ed21=_0x27fadf[_0x13169c+0xb],_0x403c54=_0x27fadf[_0x13169c+0xc],_0x1bb8cd=_0x27fadf[_0x13169c+0xd],_0x22fcba=_0x27fadf[_0x13169c+0xe],_0xb8c9ba=_0x27fadf[_0x13169c+0xf],_0x47c8ee=_0x5500c2[0x0],_0x20bf71=_0x5500c2[0x1],_0x38386d=_0x5500c2[0x2],_0x202429=_0x5500c2[0x3];_0x47c8ee=_0x1b917e(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x35b14a,0x7,_0x3dd1cd[0x0]),_0x202429=_0x1b917e(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x2a8ae9,0xc,_0x3dd1cd[0x1]),_0x38386d=_0x1b917e(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x183faa,0x11,_0x3dd1cd[0x2]),_0x20bf71=_0x1b917e(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x2b2a67,0x16,_0x3dd1cd[0x3]),_0x47c8ee=_0x1b917e(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x29ea2c,0x7,_0x3dd1cd[0x4]),_0x202429=_0x1b917e(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x116703,0xc,_0x3dd1cd[0x5]),_0x38386d=_0x1b917e(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x3a3a5a,0x11,_0x3dd1cd[0x6]),_0x20bf71=_0x1b917e(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x484c4e,0x16,_0x3dd1cd[0x7]),_0x47c8ee=_0x1b917e(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x7d4dca,0x7,_0x3dd1cd[0x8]),_0x202429=_0x1b917e(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x11164a,0xc,_0x3dd1cd[0x9]),_0x38386d=_0x1b917e(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x30ff92,0x11,_0x3dd1cd[0xa]),_0x20bf71=_0x1b917e(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x34ed21,0x16,_0x3dd1cd[0xb]),_0x47c8ee=_0x1b917e(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x403c54,0x7,_0x3dd1cd[0xc]),_0x202429=_0x1b917e(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x1bb8cd,0xc,_0x3dd1cd[0xd]),_0x38386d=_0x1b917e(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x22fcba,0x11,_0x3dd1cd[0xe]),_0x20bf71=_0x1b917e(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0xb8c9ba,0x16,_0x3dd1cd[0xf]),_0x47c8ee=_0x582b4d(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x2a8ae9,0x5,_0x3dd1cd[0x10]),_0x202429=_0x582b4d(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x3a3a5a,0x9,_0x3dd1cd[0x11]),_0x38386d=_0x582b4d(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x34ed21,0xe,_0x3dd1cd[0x12]),_0x20bf71=_0x582b4d(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x35b14a,0x14,_0x3dd1cd[0x13]),_0x47c8ee=_0x582b4d(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x116703,0x5,_0x3dd1cd[0x14]),_0x202429=_0x582b4d(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x30ff92,0x9,_0x3dd1cd[0x15]),_0x38386d=_0x582b4d(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0xb8c9ba,0xe,_0x3dd1cd[0x16]),_0x20bf71=_0x582b4d(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x29ea2c,0x14,_0x3dd1cd[0x17]),_0x47c8ee=_0x582b4d(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x11164a,0x5,_0x3dd1cd[0x18]),_0x202429=_0x582b4d(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x22fcba,0x9,_0x3dd1cd[0x19]),_0x38386d=_0x582b4d(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x2b2a67,0xe,_0x3dd1cd[0x1a]),_0x20bf71=_0x582b4d(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x7d4dca,0x14,_0x3dd1cd[0x1b]),_0x47c8ee=_0x582b4d(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x1bb8cd,0x5,_0x3dd1cd[0x1c]),_0x202429=_0x582b4d(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x183faa,0x9,_0x3dd1cd[0x1d]),_0x38386d=_0x582b4d(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x484c4e,0xe,_0x3dd1cd[0x1e]),_0x20bf71=_0x582b4d(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x403c54,0x14,_0x3dd1cd[0x1f]),_0x47c8ee=_0x370309(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x116703,0x4,_0x3dd1cd[0x20]),_0x202429=_0x370309(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x7d4dca,0xb,_0x3dd1cd[0x21]),_0x38386d=_0x370309(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x34ed21,0x10,_0x3dd1cd[0x22]),_0x20bf71=_0x370309(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x22fcba,0x17,_0x3dd1cd[0x23]),_0x47c8ee=_0x370309(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x2a8ae9,0x4,_0x3dd1cd[0x24]),_0x202429=_0x370309(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x29ea2c,0xb,_0x3dd1cd[0x25]),_0x38386d=_0x370309(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x484c4e,0x10,_0x3dd1cd[0x26]),_0x20bf71=_0x370309(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x30ff92,0x17,_0x3dd1cd[0x27]),_0x47c8ee=_0x370309(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x1bb8cd,0x4,_0x3dd1cd[0x28]),_0x202429=_0x370309(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x35b14a,0xb,_0x3dd1cd[0x29]),_0x38386d=_0x370309(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x2b2a67,0x10,_0x3dd1cd[0x2a]),_0x20bf71=_0x370309(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x3a3a5a,0x17,_0x3dd1cd[0x2b]),_0x47c8ee=_0x370309(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x11164a,0x4,_0x3dd1cd[0x2c]),_0x202429=_0x370309(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x403c54,0xb,_0x3dd1cd[0x2d]),_0x38386d=_0x370309(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0xb8c9ba,0x10,_0x3dd1cd[0x2e]),_0x20bf71=_0x370309(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x183faa,0x17,_0x3dd1cd[0x2f]),_0x47c8ee=_0x1c7bfc(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x35b14a,0x6,_0x3dd1cd[0x30]),_0x202429=_0x1c7bfc(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x484c4e,0xa,_0x3dd1cd[0x31]),_0x38386d=_0x1c7bfc(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x22fcba,0xf,_0x3dd1cd[0x32]),_0x20bf71=_0x1c7bfc(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x116703,0x15,_0x3dd1cd[0x33]),_0x47c8ee=_0x1c7bfc(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x403c54,0x6,_0x3dd1cd[0x34]),_0x202429=_0x1c7bfc(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x2b2a67,0xa,_0x3dd1cd[0x35]),_0x38386d=_0x1c7bfc(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x30ff92,0xf,_0x3dd1cd[0x36]),_0x20bf71=_0x1c7bfc(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x2a8ae9,0x15,_0x3dd1cd[0x37]),_0x47c8ee=_0x1c7bfc(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x7d4dca,0x6,_0x3dd1cd[0x38]),_0x202429=_0x1c7bfc(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0xb8c9ba,0xa,_0x3dd1cd[0x39]),_0x38386d=_0x1c7bfc(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x3a3a5a,0xf,_0x3dd1cd[0x3a]),_0x20bf71=_0x1c7bfc(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x1bb8cd,0x15,_0x3dd1cd[0x3b]),_0x47c8ee=_0x1c7bfc(_0x47c8ee,_0x20bf71,_0x38386d,_0x202429,_0x29ea2c,0x6,_0x3dd1cd[0x3c]),_0x202429=_0x1c7bfc(_0x202429,_0x47c8ee,_0x20bf71,_0x38386d,_0x34ed21,0xa,_0x3dd1cd[0x3d]),_0x38386d=_0x1c7bfc(_0x38386d,_0x202429,_0x47c8ee,_0x20bf71,_0x183faa,0xf,_0x3dd1cd[0x3e]),_0x20bf71=_0x1c7bfc(_0x20bf71,_0x38386d,_0x202429,_0x47c8ee,_0x11164a,0x15,_0x3dd1cd[0x3f]),_0x5500c2[0x0]=_0x5500c2[0x0]+_0x47c8ee|0x0,_0x5500c2[0x1]=_0x5500c2[0x1]+_0x20bf71|0x0,_0x5500c2[0x2]=_0x5500c2[0x2]+_0x38386d|0x0,_0x5500c2[0x3]=_0x5500c2[0x3]+_0x202429|0x0;},'_doFinalize':function(){var _0x2bb2bc=_0x664fbc,_0x7893f0=this['_data'],_0x4040a2=_0x7893f0[_0x2bb2bc(0x428)],_0x5ea87d=this['_nDataBytes']*0x8,_0x313682=_0x7893f0[_0x2bb2bc(0x1cd)]*0x8;_0x4040a2[_0x313682>>>0x5]|=0x80<<0x18-_0x313682%0x20;var _0x12a9d3=_0x37ca6e['floor'](_0x5ea87d/0x100000000),_0x26c47f=_0x5ea87d;_0x4040a2[(_0x313682+0x40>>>0x9<<0x4)+0xf]=(_0x12a9d3<<0x8|_0x12a9d3>>>0x18)&0xff00ff|(_0x12a9d3<<0x18|_0x12a9d3>>>0x8)&0xff00ff00,_0x4040a2[(_0x313682+0x40>>>0x9<<0x4)+0xe]=(_0x26c47f<<0x8|_0x26c47f>>>0x18)&0xff00ff|(_0x26c47f<<0x18|_0x26c47f>>>0x8)&0xff00ff00,_0x7893f0[_0x2bb2bc(0x1cd)]=(_0x4040a2[_0x2bb2bc(0x381)]+0x1)*0x4,this[_0x2bb2bc(0x482)]();for(var _0xcd09c1=this[_0x2bb2bc(0x2d8)],_0x53d32b=_0xcd09c1['words'],_0x221243=0x0;_0x221243<0x4;_0x221243++){var _0x140163=_0x53d32b[_0x221243];_0x53d32b[_0x221243]=(_0x140163<<0x8|_0x140163>>>0x18)&0xff00ff|(_0x140163<<0x18|_0x140163>>>0x8)&0xff00ff00;}return _0xcd09c1;},'clone':function(){var _0x4937db=_0x664fbc,_0x7934c4=_0x4aa661[_0x4937db(0x4a5)][_0x4937db(0x233)](this);return _0x7934c4[_0x4937db(0x2d8)]=this[_0x4937db(0x2d8)][_0x4937db(0x4a5)](),_0x7934c4;}});function _0x1b917e(_0x11d8da,_0x4e6b6c,_0x6a729a,_0x3d3d08,_0x2cb074,_0x1a3ecb,_0x54bc3c){var _0x2927b3=_0x11d8da+(_0x4e6b6c&_0x6a729a|~_0x4e6b6c&_0x3d3d08)+_0x2cb074+_0x54bc3c;return(_0x2927b3<<_0x1a3ecb|_0x2927b3>>>0x20-_0x1a3ecb)+_0x4e6b6c;}function _0x582b4d(_0x527998,_0x172fdd,_0x45acb5,_0x6b52a1,_0x3898e7,_0x39f96a,_0x54708d){var _0x382963=_0x527998+(_0x172fdd&_0x6b52a1|_0x45acb5&~_0x6b52a1)+_0x3898e7+_0x54708d;return(_0x382963<<_0x39f96a|_0x382963>>>0x20-_0x39f96a)+_0x172fdd;}function _0x370309(_0x1b7383,_0x125372,_0x565064,_0x7b0666,_0x410842,_0x315800,_0x37dd81){var _0xcfe44f=_0x1b7383+(_0x125372^_0x565064^_0x7b0666)+_0x410842+_0x37dd81;return(_0xcfe44f<<_0x315800|_0xcfe44f>>>0x20-_0x315800)+_0x125372;}function _0x1c7bfc(_0x26febd,_0x573c18,_0x48ad7c,_0x9095cf,_0x11154b,_0x28eb94,_0x1a6590){var _0xc0e66d=_0x26febd+(_0x48ad7c^(_0x573c18|~_0x9095cf))+_0x11154b+_0x1a6590;return(_0xc0e66d<<_0x28eb94|_0xc0e66d>>>0x20-_0x28eb94)+_0x573c18;}_0x175791[_0x664fbc(0x25a)]=_0x4aa661[_0x664fbc(0x41d)](_0x3e83d2),_0x175791[_0x664fbc(0x258)]=_0x4aa661[_0x664fbc(0x449)](_0x3e83d2);}(Math),_0xf65a3[_0x12375d(0x25a)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x1bc887(0x4aa)],tt;function $i(){return tt||(tt=0x1,function(_0x5888bf,_0x32e183){(function(_0xc7713c,_0x459815){var _0x35ce2d=_0x5233;_0x5888bf[_0x35ce2d(0x4aa)]=_0x459815(ee());}(ji,function(_0x426ec1){var _0x42d08a=_0x5233;return(function(){var _0x608cc1=_0x5233,_0x31e728=_0x426ec1,_0x32f875=_0x31e728[_0x608cc1(0x1bd)],_0x3c941f=_0x32f875[_0x608cc1(0x45e)],_0xc5fa=_0x32f875[_0x608cc1(0x38b)],_0x58fd78=_0x31e728[_0x608cc1(0x150)],_0x20aaef=[],_0x20fe09=_0x58fd78[_0x608cc1(0x217)]=_0xc5fa[_0x608cc1(0x136)]({'_doReset':function(){var _0x45d2cb=_0x608cc1;this['_hash']=new _0x3c941f[(_0x45d2cb(0x2bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x42b9a3,_0x2e6c7c){var _0xc3c464=_0x608cc1;for(var _0x2ec9bb=this[_0xc3c464(0x2d8)][_0xc3c464(0x428)],_0x49be6f=_0x2ec9bb[0x0],_0x196a75=_0x2ec9bb[0x1],_0x2ab384=_0x2ec9bb[0x2],_0x3accab=_0x2ec9bb[0x3],_0x226b37=_0x2ec9bb[0x4],_0x1b7240=0x0;_0x1b7240<0x50;_0x1b7240++){if(_0x1b7240<0x10)_0x20aaef[_0x1b7240]=_0x42b9a3[_0x2e6c7c+_0x1b7240]|0x0;else{var _0x23e82c=_0x20aaef[_0x1b7240-0x3]^_0x20aaef[_0x1b7240-0x8]^_0x20aaef[_0x1b7240-0xe]^_0x20aaef[_0x1b7240-0x10];_0x20aaef[_0x1b7240]=_0x23e82c<<0x1|_0x23e82c>>>0x1f;}var _0x10c5c1=(_0x49be6f<<0x5|_0x49be6f>>>0x1b)+_0x226b37+_0x20aaef[_0x1b7240];_0x1b7240<0x14?_0x10c5c1+=(_0x196a75&_0x2ab384|~_0x196a75&_0x3accab)+0x5a827999:_0x1b7240<0x28?_0x10c5c1+=(_0x196a75^_0x2ab384^_0x3accab)+0x6ed9eba1:_0x1b7240<0x3c?_0x10c5c1+=(_0x196a75&_0x2ab384|_0x196a75&_0x3accab|_0x2ab384&_0x3accab)-0x70e44324:_0x10c5c1+=(_0x196a75^_0x2ab384^_0x3accab)-0x359d3e2a,_0x226b37=_0x3accab,_0x3accab=_0x2ab384,_0x2ab384=_0x196a75<<0x1e|_0x196a75>>>0x2,_0x196a75=_0x49be6f,_0x49be6f=_0x10c5c1;}_0x2ec9bb[0x0]=_0x2ec9bb[0x0]+_0x49be6f|0x0,_0x2ec9bb[0x1]=_0x2ec9bb[0x1]+_0x196a75|0x0,_0x2ec9bb[0x2]=_0x2ec9bb[0x2]+_0x2ab384|0x0,_0x2ec9bb[0x3]=_0x2ec9bb[0x3]+_0x3accab|0x0,_0x2ec9bb[0x4]=_0x2ec9bb[0x4]+_0x226b37|0x0;},'_doFinalize':function(){var _0x282877=_0x608cc1,_0x38354f=this[_0x282877(0x307)],_0x4eaf5e=_0x38354f[_0x282877(0x428)],_0xe1b803=this[_0x282877(0x2c8)]*0x8,_0x477f08=_0x38354f[_0x282877(0x1cd)]*0x8;return _0x4eaf5e[_0x477f08>>>0x5]|=0x80<<0x18-_0x477f08%0x20,_0x4eaf5e[(_0x477f08+0x40>>>0x9<<0x4)+0xe]=Math[_0x282877(0x2cd)](_0xe1b803/0x100000000),_0x4eaf5e[(_0x477f08+0x40>>>0x9<<0x4)+0xf]=_0xe1b803,_0x38354f[_0x282877(0x1cd)]=_0x4eaf5e[_0x282877(0x381)]*0x4,this[_0x282877(0x482)](),this['_hash'];},'clone':function(){var _0x15796a=_0x608cc1,_0x145c65=_0xc5fa['clone'][_0x15796a(0x233)](this);return _0x145c65[_0x15796a(0x2d8)]=this[_0x15796a(0x2d8)]['clone'](),_0x145c65;}});_0x31e728[_0x608cc1(0x217)]=_0xc5fa[_0x608cc1(0x41d)](_0x20fe09),_0x31e728[_0x608cc1(0x440)]=_0xc5fa[_0x608cc1(0x449)](_0x20fe09);}()),_0x426ec1[_0x42d08a(0x217)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0x1bc887(0x4aa)],it;function Fi(){var _0x5e2d40=_0x1bc887;return it||(it=0x1,function(_0x1d9d21,_0x5c69fc){(function(_0x41a66d,_0x2b9cd3){var _0xcd6767=_0x5233;_0x1d9d21[_0xcd6767(0x4aa)]=_0x2b9cd3(ee());}(Bi,function(_0x3daefa){(function(){var _0x495603=_0x5233,_0x7d6e2d=_0x3daefa,_0x46063a=_0x7d6e2d[_0x495603(0x1bd)],_0x3ad165=_0x46063a[_0x495603(0x15c)],_0x548fc1=_0x7d6e2d[_0x495603(0x187)],_0x539bfc=_0x548fc1[_0x495603(0x3fe)],_0x3ebc8f=_0x7d6e2d['algo'];_0x3ebc8f[_0x495603(0x23b)]=_0x3ad165[_0x495603(0x136)]({'init':function(_0x426f5e,_0x4b05d5){var _0x371d52=_0x495603;_0x426f5e=this[_0x371d52(0x1e5)]=new _0x426f5e['init'](),typeof _0x4b05d5==_0x371d52(0x226)&&(_0x4b05d5=_0x539bfc['parse'](_0x4b05d5));var _0x44e224=_0x426f5e[_0x371d52(0x473)],_0x412a9b=_0x44e224*0x4;_0x4b05d5[_0x371d52(0x1cd)]>_0x412a9b&&(_0x4b05d5=_0x426f5e['finalize'](_0x4b05d5)),_0x4b05d5['clamp']();for(var _0x223710=this['_oKey']=_0x4b05d5[_0x371d52(0x4a5)](),_0x5d454b=this['_iKey']=_0x4b05d5[_0x371d52(0x4a5)](),_0x4465ba=_0x223710[_0x371d52(0x428)],_0x33c4af=_0x5d454b['words'],_0x44f291=0x0;_0x44f291<_0x44e224;_0x44f291++)_0x4465ba[_0x44f291]^=0x5c5c5c5c,_0x33c4af[_0x44f291]^=0x36363636;_0x223710[_0x371d52(0x1cd)]=_0x5d454b[_0x371d52(0x1cd)]=_0x412a9b,this[_0x371d52(0x39f)]();},'reset':function(){var _0x590d84=_0x495603,_0x393a0d=this['_hasher'];_0x393a0d['reset'](),_0x393a0d[_0x590d84(0x42f)](this[_0x590d84(0x27e)]);},'update':function(_0x447a46){var _0x573f05=_0x495603;return this[_0x573f05(0x1e5)][_0x573f05(0x42f)](_0x447a46),this;},'finalize':function(_0x2f64e){var _0x4b9ac5=_0x495603,_0x594f28=this[_0x4b9ac5(0x1e5)],_0x46b8b7=_0x594f28[_0x4b9ac5(0x496)](_0x2f64e);_0x594f28[_0x4b9ac5(0x39f)]();var _0x3adbd8=_0x594f28[_0x4b9ac5(0x496)](this[_0x4b9ac5(0x32d)][_0x4b9ac5(0x4a5)]()[_0x4b9ac5(0x18c)](_0x46b8b7));return _0x3adbd8;}});}());}));}(Ce)),Ce[_0x5e2d40(0x4aa)];}var Vi=me['exports'],nt;function At(){var _0x1de27a=_0x1bc887;return nt||(nt=0x1,function(_0xea032a,_0x10f8f1){(function(_0x523e83,_0x157d3a,_0x3f484a){var _0x4c7789=_0x5233;_0xea032a[_0x4c7789(0x4aa)]=_0x157d3a(ee(),$i(),Fi());}(Vi,function(_0x59bf70){var _0x425063=_0x5233;return(function(){var _0x14463f=_0x5233,_0xa3c3d9=_0x59bf70,_0x2bff34=_0xa3c3d9[_0x14463f(0x1bd)],_0x19957e=_0x2bff34[_0x14463f(0x15c)],_0x445e81=_0x2bff34[_0x14463f(0x45e)],_0xaa8c6c=_0xa3c3d9[_0x14463f(0x150)],_0x55baec=_0xaa8c6c[_0x14463f(0x25a)],_0x3a31cf=_0xaa8c6c['EvpKDF']=_0x19957e[_0x14463f(0x136)]({'cfg':_0x19957e[_0x14463f(0x136)]({'keySize':0x80/0x20,'hasher':_0x55baec,'iterations':0x1}),'init':function(_0x394755){var _0xf6a46=_0x14463f;this[_0xf6a46(0x328)]=this['cfg'][_0xf6a46(0x136)](_0x394755);},'compute':function(_0x3baac0,_0x2930f8){var _0x2d9d06=_0x14463f;for(var _0x493784,_0x279465=this[_0x2d9d06(0x328)],_0x4ac6fe=_0x279465[_0x2d9d06(0x1fb)]['create'](),_0x5eba6d=_0x445e81[_0x2d9d06(0x367)](),_0x5c6bd9=_0x5eba6d[_0x2d9d06(0x428)],_0x3e638a=_0x279465[_0x2d9d06(0x1a1)],_0x22dfe8=_0x279465['iterations'];_0x5c6bd9['length']<_0x3e638a;){_0x493784&&_0x4ac6fe[_0x2d9d06(0x42f)](_0x493784),_0x493784=_0x4ac6fe[_0x2d9d06(0x42f)](_0x3baac0)[_0x2d9d06(0x496)](_0x2930f8),_0x4ac6fe[_0x2d9d06(0x39f)]();for(var _0x150c72=0x1;_0x150c72<_0x22dfe8;_0x150c72++)_0x493784=_0x4ac6fe['finalize'](_0x493784),_0x4ac6fe[_0x2d9d06(0x39f)]();_0x5eba6d[_0x2d9d06(0x18c)](_0x493784);}return _0x5eba6d[_0x2d9d06(0x1cd)]=_0x3e638a*0x4,_0x5eba6d;}});_0xa3c3d9[_0x14463f(0x2c7)]=function(_0xc209d8,_0x17331a,_0x20c088){var _0x3d5f58=_0x14463f;return _0x3a31cf[_0x3d5f58(0x367)](_0x20c088)[_0x3d5f58(0x141)](_0xc209d8,_0x17331a);};}()),_0x59bf70[_0x425063(0x2c7)];}));}(me)),me[_0x1de27a(0x4aa)];}var Te={'exports':{}},Wi=Te[_0x1bc887(0x4aa)],rt;function Pt(){var _0x59df5a=_0x1bc887;return rt||(rt=0x1,function(_0x2dc2f3,_0x2565a9){(function(_0x23669,_0x2feac2,_0x4cd640){var _0x18b059=_0x5233;_0x2dc2f3[_0x18b059(0x4aa)]=_0x2feac2(ee(),At());}(Wi,function(_0x294ff2){var _0x42be0c=_0x5233;_0x294ff2[_0x42be0c(0x1bd)][_0x42be0c(0x3f9)]||function(_0x347736){var _0x5df2bc=_0x42be0c,_0x1396d6=_0x294ff2,_0x4b65a4=_0x1396d6[_0x5df2bc(0x1bd)],_0x147fb5=_0x4b65a4[_0x5df2bc(0x15c)],_0x59d378=_0x4b65a4['WordArray'],_0x4011bd=_0x4b65a4[_0x5df2bc(0x4af)],_0xab0da3=_0x1396d6[_0x5df2bc(0x187)];_0xab0da3[_0x5df2bc(0x3fe)];var _0x4623fb=_0xab0da3[_0x5df2bc(0x15f)],_0x31f057=_0x1396d6[_0x5df2bc(0x150)],_0x52b8e8=_0x31f057[_0x5df2bc(0x2c7)],_0x3375b9=_0x4b65a4[_0x5df2bc(0x3f9)]=_0x4011bd[_0x5df2bc(0x136)]({'cfg':_0x147fb5['extend'](),'createEncryptor':function(_0x3b9695,_0x4dd39c){var _0x3242a5=_0x5df2bc;return this['create'](this[_0x3242a5(0x191)],_0x3b9695,_0x4dd39c);},'createDecryptor':function(_0x848583,_0x2a366c){var _0x27a1a9=_0x5df2bc;return this[_0x27a1a9(0x367)](this[_0x27a1a9(0x1ad)],_0x848583,_0x2a366c);},'init':function(_0x4f3457,_0x5f2380,_0x35df0e){var _0x320152=_0x5df2bc;this['cfg']=this[_0x320152(0x328)]['extend'](_0x35df0e),this[_0x320152(0x489)]=_0x4f3457,this[_0x320152(0x36a)]=_0x5f2380,this[_0x320152(0x39f)]();},'reset':function(){var _0x6cd09e=_0x5df2bc;_0x4011bd[_0x6cd09e(0x39f)][_0x6cd09e(0x233)](this),this['_doReset']();},'process':function(_0x428a4d){var _0x32a71b=_0x5df2bc;return this[_0x32a71b(0x22a)](_0x428a4d),this[_0x32a71b(0x482)]();},'finalize':function(_0xc52337){var _0x37912c=_0x5df2bc;_0xc52337&&this[_0x37912c(0x22a)](_0xc52337);var _0x3220fe=this[_0x37912c(0x497)]();return _0x3220fe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5e842c(_0x114df3){var _0x36331a=_0x5233;return typeof _0x114df3==_0x36331a(0x226)?_0x8a2d1c:_0x2aefee;}return function(_0x1c5e2b){return{'encrypt':function(_0x409b29,_0x574a73,_0x52f7ed){return _0x5e842c(_0x574a73)['encrypt'](_0x1c5e2b,_0x409b29,_0x574a73,_0x52f7ed);},'decrypt':function(_0x31f16b,_0x2679f2,_0x545de6){var _0x6165d8=_0x5233;return _0x5e842c(_0x2679f2)[_0x6165d8(0x238)](_0x1c5e2b,_0x31f16b,_0x2679f2,_0x545de6);}};};}())});_0x4b65a4[_0x5df2bc(0x347)]=_0x3375b9[_0x5df2bc(0x136)]({'_doFinalize':function(){var _0x1a1225=_0x5df2bc,_0x1c1072=this[_0x1a1225(0x482)](!0x0);return _0x1c1072;},'blockSize':0x1});var _0x5a97c2=_0x1396d6[_0x5df2bc(0x436)]={},_0x2f79d8=_0x4b65a4[_0x5df2bc(0x389)]=_0x147fb5[_0x5df2bc(0x136)]({'createEncryptor':function(_0x357e78,_0x4b958c){var _0x3da124=_0x5df2bc;return this[_0x3da124(0x15a)]['create'](_0x357e78,_0x4b958c);},'createDecryptor':function(_0x2afe6f,_0x74ddf){var _0x11117=_0x5df2bc;return this[_0x11117(0x260)]['create'](_0x2afe6f,_0x74ddf);},'init':function(_0xca0f53,_0x1de2d8){var _0x2c48ac=_0x5df2bc;this['_cipher']=_0xca0f53,this[_0x2c48ac(0x46e)]=_0x1de2d8;}}),_0x220385=_0x5a97c2['CBC']=(function(){var _0x4d4611=_0x5df2bc,_0x2e330c=_0x2f79d8[_0x4d4611(0x136)]();_0x2e330c[_0x4d4611(0x15a)]=_0x2e330c['extend']({'processBlock':function(_0x4ce420,_0x2ede96){var _0x372169=_0x4d4611,_0x1c2025=this[_0x372169(0x24b)],_0x2f64d3=_0x1c2025[_0x372169(0x473)];_0x10024e[_0x372169(0x233)](this,_0x4ce420,_0x2ede96,_0x2f64d3),_0x1c2025['encryptBlock'](_0x4ce420,_0x2ede96),this['_prevBlock']=_0x4ce420[_0x372169(0x28e)](_0x2ede96,_0x2ede96+_0x2f64d3);}}),_0x2e330c[_0x4d4611(0x260)]=_0x2e330c[_0x4d4611(0x136)]({'processBlock':function(_0xb86fa,_0x4f2e2d){var _0x18c6f8=_0x4d4611,_0x2b4328=this['_cipher'],_0x2680d7=_0x2b4328[_0x18c6f8(0x473)],_0x187028=_0xb86fa[_0x18c6f8(0x28e)](_0x4f2e2d,_0x4f2e2d+_0x2680d7);_0x2b4328[_0x18c6f8(0x338)](_0xb86fa,_0x4f2e2d),_0x10024e[_0x18c6f8(0x233)](this,_0xb86fa,_0x4f2e2d,_0x2680d7),this[_0x18c6f8(0x451)]=_0x187028;}});function _0x10024e(_0x34268f,_0x2638e8,_0x5729e8){var _0x566120,_0x2ba3ed=this['_iv'];_0x2ba3ed?(_0x566120=_0x2ba3ed,this['_iv']=_0x347736):_0x566120=this['_prevBlock'];for(var _0x45bee7=0x0;_0x45bee7<_0x5729e8;_0x45bee7++)_0x34268f[_0x2638e8+_0x45bee7]^=_0x566120[_0x45bee7];}return _0x2e330c;}()),_0x422bc1=_0x1396d6['pad']={},_0x50ea69=_0x422bc1['Pkcs7']={'pad':function(_0x201a17,_0x1f4d17){var _0x40fe64=_0x5df2bc;for(var _0x19e82a=_0x1f4d17*0x4,_0x32d126=_0x19e82a-_0x201a17[_0x40fe64(0x1cd)]%_0x19e82a,_0x2020d7=_0x32d126<<0x18|_0x32d126<<0x10|_0x32d126<<0x8|_0x32d126,_0x212182=[],_0x43f75a=0x0;_0x43f75a<_0x32d126;_0x43f75a+=0x4)_0x212182[_0x40fe64(0x23c)](_0x2020d7);var _0x49544c=_0x59d378['create'](_0x212182,_0x32d126);_0x201a17[_0x40fe64(0x18c)](_0x49544c);},'unpad':function(_0x37fb01){var _0x553ed9=_0x5df2bc,_0x17ec53=_0x37fb01['words'][_0x37fb01[_0x553ed9(0x1cd)]-0x1>>>0x2]&0xff;_0x37fb01[_0x553ed9(0x1cd)]-=_0x17ec53;}};_0x4b65a4[_0x5df2bc(0x182)]=_0x3375b9['extend']({'cfg':_0x3375b9[_0x5df2bc(0x328)][_0x5df2bc(0x136)]({'mode':_0x220385,'padding':_0x50ea69}),'reset':function(){var _0x92c2e0=_0x5df2bc,_0x3f6046;_0x3375b9['reset'][_0x92c2e0(0x233)](this);var _0x56a824=this[_0x92c2e0(0x328)],_0x45e513=_0x56a824['iv'],_0x20bbe4=_0x56a824[_0x92c2e0(0x436)];this[_0x92c2e0(0x489)]==this[_0x92c2e0(0x191)]?_0x3f6046=_0x20bbe4[_0x92c2e0(0x380)]:(_0x3f6046=_0x20bbe4[_0x92c2e0(0x3bf)],this[_0x92c2e0(0x1c5)]=0x1),this['_mode']&&this[_0x92c2e0(0x446)][_0x92c2e0(0x3d8)]==_0x3f6046?this[_0x92c2e0(0x446)][_0x92c2e0(0x2bc)](this,_0x45e513&&_0x45e513['words']):(this[_0x92c2e0(0x446)]=_0x3f6046[_0x92c2e0(0x233)](_0x20bbe4,this,_0x45e513&&_0x45e513[_0x92c2e0(0x428)]),this['_mode'][_0x92c2e0(0x3d8)]=_0x3f6046);},'_doProcessBlock':function(_0x4a6d6e,_0x20cef2){var _0x1450f8=_0x5df2bc;this[_0x1450f8(0x446)][_0x1450f8(0x1b7)](_0x4a6d6e,_0x20cef2);},'_doFinalize':function(){var _0x1e76b3=_0x5df2bc,_0x1087c3,_0x1c7ec6=this[_0x1e76b3(0x328)][_0x1e76b3(0x211)];return this[_0x1e76b3(0x489)]==this[_0x1e76b3(0x191)]?(_0x1c7ec6[_0x1e76b3(0x2c9)](this[_0x1e76b3(0x307)],this[_0x1e76b3(0x473)]),_0x1087c3=this[_0x1e76b3(0x482)](!0x0)):(_0x1087c3=this['_process'](!0x0),_0x1c7ec6['unpad'](_0x1087c3)),_0x1087c3;},'blockSize':0x80/0x20});var _0x56d4df=_0x4b65a4['CipherParams']=_0x147fb5[_0x5df2bc(0x136)]({'init':function(_0x4b03da){var _0x2c60d8=_0x5df2bc;this[_0x2c60d8(0x189)](_0x4b03da);},'toString':function(_0x57dea1){var _0x12d261=_0x5df2bc;return(_0x57dea1||this['formatter'])[_0x12d261(0x323)](this);}}),_0x286c6a=_0x1396d6['format']={},_0x46ee09=_0x286c6a['OpenSSL']={'stringify':function(_0x50b807){var _0x4e7455=_0x5df2bc,_0xa1b2e1,_0x58494b=_0x50b807[_0x4e7455(0x388)],_0xb4180=_0x50b807['salt'];return _0xb4180?_0xa1b2e1=_0x59d378['create']([0x53616c74,0x65645f5f])[_0x4e7455(0x18c)](_0xb4180)[_0x4e7455(0x18c)](_0x58494b):_0xa1b2e1=_0x58494b,_0xa1b2e1[_0x4e7455(0x1a5)](_0x4623fb);},'parse':function(_0xd9a9e){var _0x12cd00=_0x5df2bc,_0x320ab5,_0x4dd942=_0x4623fb[_0x12cd00(0x468)](_0xd9a9e),_0x1d822d=_0x4dd942[_0x12cd00(0x428)];return _0x1d822d[0x0]==0x53616c74&&_0x1d822d[0x1]==0x65645f5f&&(_0x320ab5=_0x59d378[_0x12cd00(0x367)](_0x1d822d[_0x12cd00(0x28e)](0x2,0x4)),_0x1d822d[_0x12cd00(0x309)](0x0,0x4),_0x4dd942[_0x12cd00(0x1cd)]-=0x10),_0x56d4df['create']({'ciphertext':_0x4dd942,'salt':_0x320ab5});}},_0x2aefee=_0x4b65a4[_0x5df2bc(0x433)]=_0x147fb5[_0x5df2bc(0x136)]({'cfg':_0x147fb5['extend']({'format':_0x46ee09}),'encrypt':function(_0x29ba08,_0x2e3002,_0x48e229,_0x3c5ff7){var _0x1bdb85=_0x5df2bc;_0x3c5ff7=this['cfg'][_0x1bdb85(0x136)](_0x3c5ff7);var _0x57ce97=_0x29ba08[_0x1bdb85(0x380)](_0x48e229,_0x3c5ff7),_0x4be6cf=_0x57ce97[_0x1bdb85(0x496)](_0x2e3002),_0x110acd=_0x57ce97[_0x1bdb85(0x328)];return _0x56d4df[_0x1bdb85(0x367)]({'ciphertext':_0x4be6cf,'key':_0x48e229,'iv':_0x110acd['iv'],'algorithm':_0x29ba08,'mode':_0x110acd[_0x1bdb85(0x436)],'padding':_0x110acd[_0x1bdb85(0x211)],'blockSize':_0x29ba08['blockSize'],'formatter':_0x3c5ff7[_0x1bdb85(0x2b4)]});},'decrypt':function(_0x2be550,_0x2a3dd3,_0x495855,_0x48e8d2){var _0xb2f72=_0x5df2bc;_0x48e8d2=this[_0xb2f72(0x328)][_0xb2f72(0x136)](_0x48e8d2),_0x2a3dd3=this[_0xb2f72(0x42d)](_0x2a3dd3,_0x48e8d2[_0xb2f72(0x2b4)]);var _0x579cb7=_0x2be550[_0xb2f72(0x3bf)](_0x495855,_0x48e8d2)['finalize'](_0x2a3dd3[_0xb2f72(0x388)]);return _0x579cb7;},'_parse':function(_0x2775a3,_0x5a0d43){var _0x26ec5c=_0x5df2bc;return typeof _0x2775a3==_0x26ec5c(0x226)?_0x5a0d43['parse'](_0x2775a3,this):_0x2775a3;}}),_0x46d7c2=_0x1396d6[_0x5df2bc(0x2a6)]={},_0x5b623f=_0x46d7c2[_0x5df2bc(0x423)]={'execute':function(_0x1f6278,_0x56a9cb,_0x4478c7,_0x45a075,_0x211985){var _0x40482c=_0x5df2bc;if(_0x45a075||(_0x45a075=_0x59d378[_0x40482c(0x1a9)](0x40/0x8)),_0x211985)var _0x368280=_0x52b8e8[_0x40482c(0x367)]({'keySize':_0x56a9cb+_0x4478c7,'hasher':_0x211985})['compute'](_0x1f6278,_0x45a075);else var _0x368280=_0x52b8e8['create']({'keySize':_0x56a9cb+_0x4478c7})['compute'](_0x1f6278,_0x45a075);var _0x40b39=_0x59d378[_0x40482c(0x367)](_0x368280[_0x40482c(0x428)][_0x40482c(0x28e)](_0x56a9cb),_0x4478c7*0x4);return _0x368280[_0x40482c(0x1cd)]=_0x56a9cb*0x4,_0x56d4df[_0x40482c(0x367)]({'key':_0x368280,'iv':_0x40b39,'salt':_0x45a075});}},_0x8a2d1c=_0x4b65a4['PasswordBasedCipher']=_0x2aefee['extend']({'cfg':_0x2aefee[_0x5df2bc(0x328)]['extend']({'kdf':_0x5b623f}),'encrypt':function(_0x542c42,_0x2cd670,_0x51bbaa,_0x218d76){var _0x2adfa4=_0x5df2bc;_0x218d76=this[_0x2adfa4(0x328)][_0x2adfa4(0x136)](_0x218d76);var _0x16677d=_0x218d76['kdf']['execute'](_0x51bbaa,_0x542c42['keySize'],_0x542c42['ivSize'],_0x218d76[_0x2adfa4(0x18b)],_0x218d76[_0x2adfa4(0x1fb)]);_0x218d76['iv']=_0x16677d['iv'];var _0x5e8949=_0x2aefee[_0x2adfa4(0x356)][_0x2adfa4(0x233)](this,_0x542c42,_0x2cd670,_0x16677d[_0x2adfa4(0x21b)],_0x218d76);return _0x5e8949[_0x2adfa4(0x189)](_0x16677d),_0x5e8949;},'decrypt':function(_0x4bee11,_0x1ead72,_0x2d3d2d,_0x8ccc99){var _0x51f09d=_0x5df2bc;_0x8ccc99=this['cfg']['extend'](_0x8ccc99),_0x1ead72=this[_0x51f09d(0x42d)](_0x1ead72,_0x8ccc99[_0x51f09d(0x2b4)]);var _0x4b93fb=_0x8ccc99[_0x51f09d(0x2a6)][_0x51f09d(0x49d)](_0x2d3d2d,_0x4bee11[_0x51f09d(0x1a1)],_0x4bee11[_0x51f09d(0x23f)],_0x1ead72['salt'],_0x8ccc99['hasher']);_0x8ccc99['iv']=_0x4b93fb['iv'];var _0x20109f=_0x2aefee[_0x51f09d(0x238)]['call'](this,_0x4bee11,_0x1ead72,_0x4b93fb['key'],_0x8ccc99);return _0x20109f;}});}();}));}(Te)),Te[_0x59df5a(0x4aa)];}var Gi=fe[_0x1bc887(0x4aa)],st;function Ki(){var _0x5c7c0d=_0x1bc887;return st||(st=0x1,function(_0x57117,_0x5a9564){(function(_0x580c63,_0x218b70,_0x1652db){_0x57117['exports']=_0x218b70(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x36938d){var _0x260e9e=_0x5233;return(function(){var _0x3c3dc4=_0x5233,_0x4d2a83=_0x36938d,_0x489bdf=_0x4d2a83[_0x3c3dc4(0x1bd)],_0x4baf1c=_0x489bdf[_0x3c3dc4(0x182)],_0x53a265=_0x4d2a83[_0x3c3dc4(0x150)],_0x2f2f2a=[],_0x1e0dbb=[],_0x2341f0=[],_0x1c7908=[],_0x2e5abb=[],_0x58a128=[],_0x570b68=[],_0x1d4d94=[],_0x334e51=[],_0x3febf7=[];(function(){for(var _0x1e5c8d=[],_0x44f92d=0x0;_0x44f92d<0x100;_0x44f92d++)_0x44f92d<0x80?_0x1e5c8d[_0x44f92d]=_0x44f92d<<0x1:_0x1e5c8d[_0x44f92d]=_0x44f92d<<0x1^0x11b;for(var _0x88b73f=0x0,_0x5b66ed=0x0,_0x44f92d=0x0;_0x44f92d<0x100;_0x44f92d++){var _0x5f2bd3=_0x5b66ed^_0x5b66ed<<0x1^_0x5b66ed<<0x2^_0x5b66ed<<0x3^_0x5b66ed<<0x4;_0x5f2bd3=_0x5f2bd3>>>0x8^_0x5f2bd3&0xff^0x63,_0x2f2f2a[_0x88b73f]=_0x5f2bd3,_0x1e0dbb[_0x5f2bd3]=_0x88b73f;var _0x344924=_0x1e5c8d[_0x88b73f],_0x559f8b=_0x1e5c8d[_0x344924],_0x3e89d7=_0x1e5c8d[_0x559f8b],_0x58b21c=_0x1e5c8d[_0x5f2bd3]*0x101^_0x5f2bd3*0x1010100;_0x2341f0[_0x88b73f]=_0x58b21c<<0x18|_0x58b21c>>>0x8,_0x1c7908[_0x88b73f]=_0x58b21c<<0x10|_0x58b21c>>>0x10,_0x2e5abb[_0x88b73f]=_0x58b21c<<0x8|_0x58b21c>>>0x18,_0x58a128[_0x88b73f]=_0x58b21c;var _0x58b21c=_0x3e89d7*0x1010101^_0x559f8b*0x10001^_0x344924*0x101^_0x88b73f*0x1010100;_0x570b68[_0x5f2bd3]=_0x58b21c<<0x18|_0x58b21c>>>0x8,_0x1d4d94[_0x5f2bd3]=_0x58b21c<<0x10|_0x58b21c>>>0x10,_0x334e51[_0x5f2bd3]=_0x58b21c<<0x8|_0x58b21c>>>0x18,_0x3febf7[_0x5f2bd3]=_0x58b21c,_0x88b73f?(_0x88b73f=_0x344924^_0x1e5c8d[_0x1e5c8d[_0x1e5c8d[_0x3e89d7^_0x344924]]],_0x5b66ed^=_0x1e5c8d[_0x1e5c8d[_0x5b66ed]]):_0x88b73f=_0x5b66ed=0x1;}}());var _0x5479f5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x513bf8=_0x53a265[_0x3c3dc4(0x48a)]=_0x4baf1c[_0x3c3dc4(0x136)]({'_doReset':function(){var _0x512756=_0x3c3dc4,_0x665670;if(!(this[_0x512756(0x2f1)]&&this[_0x512756(0x20d)]===this[_0x512756(0x36a)])){for(var _0x18b14a=this['_keyPriorReset']=this[_0x512756(0x36a)],_0x9cb650=_0x18b14a['words'],_0x267237=_0x18b14a[_0x512756(0x1cd)]/0x4,_0x27982f=this[_0x512756(0x2f1)]=_0x267237+0x6,_0x4c610c=(_0x27982f+0x1)*0x4,_0x249a79=this[_0x512756(0x137)]=[],_0x19859b=0x0;_0x19859b<_0x4c610c;_0x19859b++)_0x19859b<_0x267237?_0x249a79[_0x19859b]=_0x9cb650[_0x19859b]:(_0x665670=_0x249a79[_0x19859b-0x1],_0x19859b%_0x267237?_0x267237>0x6&&_0x19859b%_0x267237==0x4&&(_0x665670=_0x2f2f2a[_0x665670>>>0x18]<<0x18|_0x2f2f2a[_0x665670>>>0x10&0xff]<<0x10|_0x2f2f2a[_0x665670>>>0x8&0xff]<<0x8|_0x2f2f2a[_0x665670&0xff]):(_0x665670=_0x665670<<0x8|_0x665670>>>0x18,_0x665670=_0x2f2f2a[_0x665670>>>0x18]<<0x18|_0x2f2f2a[_0x665670>>>0x10&0xff]<<0x10|_0x2f2f2a[_0x665670>>>0x8&0xff]<<0x8|_0x2f2f2a[_0x665670&0xff],_0x665670^=_0x5479f5[_0x19859b/_0x267237|0x0]<<0x18),_0x249a79[_0x19859b]=_0x249a79[_0x19859b-_0x267237]^_0x665670);for(var _0x365f1a=this[_0x512756(0x37e)]=[],_0x2b64bb=0x0;_0x2b64bb<_0x4c610c;_0x2b64bb++){var _0x19859b=_0x4c610c-_0x2b64bb;if(_0x2b64bb%0x4)var _0x665670=_0x249a79[_0x19859b];else var _0x665670=_0x249a79[_0x19859b-0x4];_0x2b64bb<0x4||_0x19859b<=0x4?_0x365f1a[_0x2b64bb]=_0x665670:_0x365f1a[_0x2b64bb]=_0x570b68[_0x2f2f2a[_0x665670>>>0x18]]^_0x1d4d94[_0x2f2f2a[_0x665670>>>0x10&0xff]]^_0x334e51[_0x2f2f2a[_0x665670>>>0x8&0xff]]^_0x3febf7[_0x2f2f2a[_0x665670&0xff]];}}},'encryptBlock':function(_0x136c82,_0x59b19a){var _0x259bec=_0x3c3dc4;this[_0x259bec(0x14b)](_0x136c82,_0x59b19a,this[_0x259bec(0x137)],_0x2341f0,_0x1c7908,_0x2e5abb,_0x58a128,_0x2f2f2a);},'decryptBlock':function(_0x355122,_0xdc5099){var _0x176494=_0x3c3dc4,_0x376902=_0x355122[_0xdc5099+0x1];_0x355122[_0xdc5099+0x1]=_0x355122[_0xdc5099+0x3],_0x355122[_0xdc5099+0x3]=_0x376902,this[_0x176494(0x14b)](_0x355122,_0xdc5099,this[_0x176494(0x37e)],_0x570b68,_0x1d4d94,_0x334e51,_0x3febf7,_0x1e0dbb);var _0x376902=_0x355122[_0xdc5099+0x1];_0x355122[_0xdc5099+0x1]=_0x355122[_0xdc5099+0x3],_0x355122[_0xdc5099+0x3]=_0x376902;},'_doCryptBlock':function(_0x1d9519,_0x5a87e2,_0x2e267c,_0x7938aa,_0x5283af,_0x2134a7,_0x55a6b5,_0x5cc10e){var _0x5a2b82=_0x3c3dc4;for(var _0x565023=this[_0x5a2b82(0x2f1)],_0x4cc924=_0x1d9519[_0x5a87e2]^_0x2e267c[0x0],_0x3835f9=_0x1d9519[_0x5a87e2+0x1]^_0x2e267c[0x1],_0x111c07=_0x1d9519[_0x5a87e2+0x2]^_0x2e267c[0x2],_0x311522=_0x1d9519[_0x5a87e2+0x3]^_0x2e267c[0x3],_0x4078ac=0x4,_0x561fa2=0x1;_0x561fa2<_0x565023;_0x561fa2++){var _0x3657bc=_0x7938aa[_0x4cc924>>>0x18]^_0x5283af[_0x3835f9>>>0x10&0xff]^_0x2134a7[_0x111c07>>>0x8&0xff]^_0x55a6b5[_0x311522&0xff]^_0x2e267c[_0x4078ac++],_0x9ac65c=_0x7938aa[_0x3835f9>>>0x18]^_0x5283af[_0x111c07>>>0x10&0xff]^_0x2134a7[_0x311522>>>0x8&0xff]^_0x55a6b5[_0x4cc924&0xff]^_0x2e267c[_0x4078ac++],_0x344ec9=_0x7938aa[_0x111c07>>>0x18]^_0x5283af[_0x311522>>>0x10&0xff]^_0x2134a7[_0x4cc924>>>0x8&0xff]^_0x55a6b5[_0x3835f9&0xff]^_0x2e267c[_0x4078ac++],_0x2f4858=_0x7938aa[_0x311522>>>0x18]^_0x5283af[_0x4cc924>>>0x10&0xff]^_0x2134a7[_0x3835f9>>>0x8&0xff]^_0x55a6b5[_0x111c07&0xff]^_0x2e267c[_0x4078ac++];_0x4cc924=_0x3657bc,_0x3835f9=_0x9ac65c,_0x111c07=_0x344ec9,_0x311522=_0x2f4858;}var _0x3657bc=(_0x5cc10e[_0x4cc924>>>0x18]<<0x18|_0x5cc10e[_0x3835f9>>>0x10&0xff]<<0x10|_0x5cc10e[_0x111c07>>>0x8&0xff]<<0x8|_0x5cc10e[_0x311522&0xff])^_0x2e267c[_0x4078ac++],_0x9ac65c=(_0x5cc10e[_0x3835f9>>>0x18]<<0x18|_0x5cc10e[_0x111c07>>>0x10&0xff]<<0x10|_0x5cc10e[_0x311522>>>0x8&0xff]<<0x8|_0x5cc10e[_0x4cc924&0xff])^_0x2e267c[_0x4078ac++],_0x344ec9=(_0x5cc10e[_0x111c07>>>0x18]<<0x18|_0x5cc10e[_0x311522>>>0x10&0xff]<<0x10|_0x5cc10e[_0x4cc924>>>0x8&0xff]<<0x8|_0x5cc10e[_0x3835f9&0xff])^_0x2e267c[_0x4078ac++],_0x2f4858=(_0x5cc10e[_0x311522>>>0x18]<<0x18|_0x5cc10e[_0x4cc924>>>0x10&0xff]<<0x10|_0x5cc10e[_0x3835f9>>>0x8&0xff]<<0x8|_0x5cc10e[_0x111c07&0xff])^_0x2e267c[_0x4078ac++];_0x1d9519[_0x5a87e2]=_0x3657bc,_0x1d9519[_0x5a87e2+0x1]=_0x9ac65c,_0x1d9519[_0x5a87e2+0x2]=_0x344ec9,_0x1d9519[_0x5a87e2+0x3]=_0x2f4858;},'keySize':0x100/0x20});_0x4d2a83[_0x3c3dc4(0x48a)]=_0x4baf1c['_createHelper'](_0x513bf8);}()),_0x36938d[_0x260e9e(0x48a)];}));}(fe)),fe[_0x5c7c0d(0x4aa)];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0xea2e33=_0x1bc887;return at||(at=0x1,function(_0x2f732b,_0x51e8ed){(function(_0x4d7814,_0xcf479d){var _0xb449c7=_0x5233;_0x2f732b[_0xb449c7(0x4aa)]=_0xcf479d(ee());}(Ji,function(_0xbb7d49){var _0x226277=_0x5233;return _0xbb7d49[_0x226277(0x187)][_0x226277(0x3fe)];}));}(be)),be[_0xea2e33(0x4aa)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x1bc887(0x4aa)],ct;function tn(){var _0x3c8fce=_0x1bc887;return ct||(ct=0x1,function(_0x4ce66e,_0x5598fe){(function(_0x273a7b,_0x36e5cb){var _0x25cd3f=_0x5233;_0x4ce66e[_0x25cd3f(0x4aa)]=_0x36e5cb(ee());}(en,function(_0x5b7b56){var _0x5993f4=_0x5233;return(function(){var _0x1260bd=_0x5233;if(typeof ArrayBuffer==_0x1260bd(0x205)){var _0x57b993=_0x5b7b56,_0x305cac=_0x57b993['lib'],_0x5755ad=_0x305cac[_0x1260bd(0x45e)],_0x597a4a=_0x5755ad['init'],_0x35a807=_0x5755ad[_0x1260bd(0x2bc)]=function(_0x31b394){var _0x49394c=_0x1260bd;if(_0x31b394 instanceof ArrayBuffer&&(_0x31b394=new Uint8Array(_0x31b394)),(_0x31b394 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x31b394 instanceof Uint8ClampedArray||_0x31b394 instanceof Int16Array||_0x31b394 instanceof Uint16Array||_0x31b394 instanceof Int32Array||_0x31b394 instanceof Uint32Array||_0x31b394 instanceof Float32Array||_0x31b394 instanceof Float64Array)&&(_0x31b394=new Uint8Array(_0x31b394['buffer'],_0x31b394[_0x49394c(0x142)],_0x31b394[_0x49394c(0x37a)])),_0x31b394 instanceof Uint8Array){for(var _0x39954c=_0x31b394[_0x49394c(0x37a)],_0x171ea6=[],_0x386285=0x0;_0x386285<_0x39954c;_0x386285++)_0x171ea6[_0x386285>>>0x2]|=_0x31b394[_0x386285]<<0x18-_0x386285%0x4*0x8;_0x597a4a[_0x49394c(0x233)](this,_0x171ea6,_0x39954c);}else _0x597a4a[_0x49394c(0x3fd)](this,arguments);};_0x35a807['prototype']=_0x5755ad;}}()),_0x5b7b56[_0x5993f4(0x1bd)][_0x5993f4(0x45e)];}));}(Re)),Re[_0x3c8fce(0x4aa)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x1bc887(0x4aa)],ht;function on(){var _0x4029e1=_0x1bc887;return ht||(ht=0x1,function(_0x3c518f,_0x3bd8bc){(function(_0x3e11db,_0x2bb0ed,_0x19169d){_0x3c518f['exports']=_0x2bb0ed(ee(),Pt());}(sn,function(_0x5265f9){var _0x12c875=_0x5233;return _0x5265f9[_0x12c875(0x2c9)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5265f9[_0x12c875(0x2c9)][_0x12c875(0x3ef)];}));}(Oe)),Oe[_0x4029e1(0x4aa)];}var an=on();const cn=Se(an);function hn(_0x57346b,_0x39e852){var _0x39ceb7=_0x1bc887;const _0x47089a=_0x39e852-_0x57346b[_0x39ceb7(0x381)]%_0x39e852,_0x3fe925=String[_0x39ceb7(0x28d)](_0x47089a)[_0x39ceb7(0x31f)](_0x47089a);return _0x57346b+_0x3fe925;}function _n(_0x5db67b,_0x42efed){var _0x4a8359=_0x1bc887;const _0x2c2dad=rn[_0x4a8359(0x1a9)](0x10),_0x9fa77a=hn(_0x5db67b,0x10),_0x1d3c2a=qi[_0x4a8359(0x356)](Qi[_0x4a8359(0x468)](_0x9fa77a),ot['parse'](_0x42efed),{'iv':_0x2c2dad,'padding':cn});return _0x2c2dad[_0x4a8359(0x18c)](_0x1d3c2a[_0x4a8359(0x388)])['toString'](ot);}function ln(){var _0x4dfdfe=_0x1bc887;const _0x56da46=xt[_0x4dfdfe(0x44e)]()['__Key__'];if(_0x56da46){const _0x448fc9={'time':Math[_0x4dfdfe(0x2cd)](Date[_0x4dfdfe(0x418)]()/0x3e8),'domain':location[_0x4dfdfe(0x251)]};return _n(JSON[_0x4dfdfe(0x323)](_0x448fc9),_0x56da46);}}var un=Object[_0x1bc887(0x31c)],dn=(_0x59a610,_0x4c8ca5,_0x3a3581,_0xde7d05)=>{var _0x1a8f72=_0x1bc887;for(var _0x58f718=_0xde7d05>0x1?void 0x0:_0xde7d05?un(_0x4c8ca5,_0x3a3581):_0x4c8ca5,_0x1db27d=_0x59a610[_0x1a8f72(0x381)]-0x1,_0x580095;_0x1db27d>=0x0;_0x1db27d--)(_0x580095=_0x59a610[_0x1db27d])&&(_0x58f718=_0x580095(_0x58f718)||_0x58f718);return _0x58f718;},vn=(_0xd7cab7,_0x14ee99)=>(_0x5d220a,_0x57eeee)=>_0x14ee99(_0x5d220a,_0x57eeee,_0xd7cab7);let Ne=class{constructor(_0x429d2b){var _0x5ca6cb=_0x1bc887;this[_0x5ca6cb(0x138)]=_0x429d2b,this[_0x5ca6cb(0x475)]();}[_0x1bc887(0x475)](){var _0x5990d9=_0x1bc887;this[_0x5990d9(0x138)][_0x5990d9(0x330)]({'interceptor':(_0x4fddbf,_0x37ea25)=>{var _0x526119=_0x5990d9;const _0x391d67=_0x4fddbf['headers'],_0x16268e=ln();return _0x16268e&&_0x391d67[_0x526119(0x2f7)](_0x526119(0x2cc),_0x16268e),_0x37ea25(_0x4fddbf);}});}};Ne=dn([vn(0x0,a[_0x1bc887(0x46c)](q[_0x1bc887(0x2e3)]))],Ne);var Sn=Object[_0x1bc887(0x31c)],fn=(_0x151d3,_0x273d9e,_0xae8bb2,_0x8f2656)=>{var _0x47d527=_0x1bc887;for(var _0x484695=_0x8f2656>0x1?void 0x0:_0x8f2656?Sn(_0x273d9e,_0xae8bb2):_0x273d9e,_0x129081=_0x151d3[_0x47d527(0x381)]-0x1,_0x125474;_0x129081>=0x0;_0x129081--)(_0x125474=_0x151d3[_0x129081])&&(_0x484695=_0x125474(_0x484695)||_0x484695);return _0x484695;},Me=(_0x167965,_0x3b8f91)=>(_0x2d00ac,_0x4a5bd1)=>_0x3b8f91(_0x2d00ac,_0x4a5bd1,_0x167965);exports[_0x1bc887(0x179)]=class extends a['RxDisposable']{constructor(_0x51540b,_0x2034f1,_0x5c66ee){var _0x5991e7=_0x1bc887;super(),A(this,_0x5991e7(0x3d2),new j[(_0x5991e7(0x1b2))](null)),A(this,_0x5991e7(0x47a),this[_0x5991e7(0x3d2)][_0x5991e7(0x1a0)]()),(this[_0x5991e7(0x16a)]=_0x51540b,this[_0x5991e7(0x155)]=_0x2034f1,this[_0x5991e7(0x227)]=_0x5c66ee);}async[_0x1bc887(0x303)](_0x156435,_0x1e0790,_0x299252){var _0xc7f678=_0x1bc887;this[_0xc7f678(0x3d2)][_0xc7f678(0x3cf)]({'unitId':_0x156435,'type':_0x1e0790,'subUnitId':_0x299252});let _0x4af98f=null;switch(_0x1e0790){case X['UNIVER_SHEET']:{_0x4af98f=await this[_0xc7f678(0x16d)](_0x156435);break;}case X[_0xc7f678(0x378)]:{_0x4af98f=await this['_loadDoc'](_0x156435);break;}default:{this['_logService'][_0xc7f678(0x3da)]('[DataLoaderService]',_0xc7f678(0x3bb));break;}}return _0x4af98f;}async['_loadSheet'](_0x191a8e){var _0x27ae37=_0x1bc887,_0x342c4f;let _0x3d849b=0x0;const _0x536405=await((_0x342c4f=this['_localCacheService'])==null?void 0x0:_0x342c4f[_0x27ae37(0x21c)](_0x191a8e));return _0x536405&&(_0x536405[_0x27ae37(0x2b9)]||_0x536405[_0x27ae37(0x23e)][_0x27ae37(0x381)]!==0x0)&&(_0x3d849b=_0x536405['rev']),_0x3d849b===0x0&&this['_logService'][_0x27ae37(0x14e)](_0x27ae37(0x420),_0x27ae37(0x268)),this[_0x27ae37(0x155)][_0x27ae37(0x2bf)](_0x191a8e,_0x3d849b);}async[_0x1bc887(0x1d2)](_0x4b136c){var _0x51dc84=_0x1bc887,_0xfb60f1;let _0x3248f9=0x0;const _0xd9e868=await((_0xfb60f1=this[_0x51dc84(0x227)])==null?void 0x0:_0xfb60f1[_0x51dc84(0x21c)](_0x4b136c));return _0xd9e868&&(_0xd9e868[_0x51dc84(0x2b9)]||_0xd9e868[_0x51dc84(0x23e)][_0x51dc84(0x381)]!==0x0)&&(_0x3248f9=_0xd9e868[_0x51dc84(0x38a)]),_0x3248f9===0x0&&this[_0x51dc84(0x16a)][_0x51dc84(0x14e)](_0x51dc84(0x420),_0x51dc84(0x268)),this[_0x51dc84(0x155)][_0x51dc84(0x158)](_0x4b136c,_0x3248f9);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x1bc887(0x252)]),Me(0x1,a[_0x1bc887(0x46c)](g['SnapshotService'])),Me(0x2,a[_0x1bc887(0x437)](z))],exports['DataLoaderService']);var pn=Object[_0x1bc887(0x31c)],gn=(_0x182542,_0x2be753,_0x3d040e,_0x88783)=>{var _0x2fc4ec=_0x1bc887;for(var _0x729a1e=_0x88783>0x1?void 0x0:_0x88783?pn(_0x2be753,_0x3d040e):_0x2be753,_0x124783=_0x182542[_0x2fc4ec(0x381)]-0x1,_0x105243;_0x124783>=0x0;_0x124783--)(_0x105243=_0x182542[_0x124783])&&(_0x729a1e=_0x105243(_0x729a1e)||_0x729a1e);return _0x729a1e;},xe=(_0x5d69c8,_0x2f56a2)=>(_0x1ddc98,_0x734d21)=>_0x2f56a2(_0x1ddc98,_0x734d21,_0x5d69c8);const In=[_0x1bc887(0x2a0),'image/jpeg',_0x1bc887(0x15d),_0x1bc887(0x317),_0x1bc887(0x3c0)],mn=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x1bc887(0x34b),Tn=_0x1bc887(0x2a5),bn=_0x1bc887(0x144);exports[_0x1bc887(0x229)]=class{constructor(_0x45c09c,_0x58c582,_0x35bab2){var _0x27aff9=_0x1bc887;A(this,_0x27aff9(0x173),0x0),A(this,'_change$',new j[(_0x27aff9(0x147))]()),A(this,_0x27aff9(0x1da),this[_0x27aff9(0x24c)]),A(this,'_imageSourceCache',new Map()),(this[_0x27aff9(0x138)]=_0x45c09c,this[_0x27aff9(0x4a6)]=_0x58c582,this[_0x27aff9(0x44f)]=_0x35bab2);}[_0x1bc887(0x1d5)](_0x195e55){var _0x2d0b88=_0x1bc887;this[_0x2d0b88(0x173)]=_0x195e55,this[_0x2d0b88(0x24c)][_0x2d0b88(0x3cf)](_0x195e55);}[_0x1bc887(0x200)](_0x41858b,_0x460510){var _0x46ea1b=_0x1bc887;if(_0x460510===J[_0x46ea1b(0x4a3)]['BASE64']){const _0x3386de=new Image();return _0x3386de['src']=_0x41858b,_0x3386de;}return this[_0x46ea1b(0x2cf)][_0x46ea1b(0x29d)](_0x41858b);}[_0x1bc887(0x1af)](_0xf4485f,_0xbacb6b,_0x335c40){var _0x167647=_0x1bc887;_0xbacb6b===J['ImageSourceType'][_0x167647(0x13d)]||_0x335c40==null||this['_imageSourceCache'][_0x167647(0x2f7)](_0xf4485f,_0x335c40);}async[_0x1bc887(0x1f1)](_0x4449c7){var _0x504c47=_0x1bc887;try{const _0xf36850=this['_replaceFileID'](this['_getSignURL'](),''+_0x4449c7),_0x119131=(await this[_0x504c47(0x138)][_0x504c47(0x29d)](_0xf36850))[_0x504c47(0x213)];if(_0x119131['error']&&_0x119131['error'][_0x504c47(0x3f2)]===Ct['OK']){const _0x400725=new URL(_0x119131[_0x504c47(0x3bd)],this[_0x504c47(0x2e8)]())[_0x504c47(0x1a5)]();return Promise[_0x504c47(0x387)](_0x400725);}return Promise[_0x504c47(0x18a)](_0x119131[_0x504c47(0x3da)]);}catch(_0x25985e){return Promise[_0x504c47(0x18a)](_0x25985e);}}async[_0x1bc887(0x2e1)](_0x1bc8ba){var _0xea4fc=_0x1bc887;let _0x5e37b6='';if(!In['includes'](_0x1bc8ba['type']))return this[_0xea4fc(0x2e6)](),Promise[_0xea4fc(0x18a)](new Error(J[_0xea4fc(0x47c)][_0xea4fc(0x3b8)]));if(_0x1bc8ba['size']>mn)return this[_0xea4fc(0x2e6)](),Promise[_0xea4fc(0x18a)](new Error(J[_0xea4fc(0x47c)][_0xea4fc(0x1b3)]));try{const _0x10e8f4=new FormData();_0x10e8f4['append']('file',_0x1bc8ba);const _0x25e32c=this[_0xea4fc(0x44f)][_0xea4fc(0x3db)](),_0xb761ea=_0x25e32c==null?void 0x0:_0x25e32c[_0xea4fc(0x361)]();if(!_0xb761ea)throw new Error(_0xea4fc(0x1ac));const _0x3ff83d=this[_0xea4fc(0x2d0)]()+'?size='+_0x1bc8ba['size'][_0xea4fc(0x1a5)]()+_0xea4fc(0x14a)+Tt[_0xea4fc(0x193)]+_0xea4fc(0x3d9)+encodeURIComponent(_0xb761ea),_0x1645c3={'body':_0x10e8f4},_0x5f54db=(await this[_0xea4fc(0x138)][_0xea4fc(0x494)](_0x3ff83d,_0x1645c3))[_0xea4fc(0x213)];if(typeof _0x5f54db[_0xea4fc(0x1d6)]!='string')return this['_decreaseWaiting'](),Promise[_0xea4fc(0x18a)](new Error(J[_0xea4fc(0x47c)][_0xea4fc(0x3e2)]));_0x5e37b6=_0x5f54db[_0xea4fc(0x1d6)];}catch{return this[_0xea4fc(0x2e6)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0xea4fc(0x3e2)]));}return new Promise((_0x2545ed,_0x504466)=>{var _0x378aaf=_0xea4fc;const _0x17e0d0=new FileReader();_0x17e0d0[_0x378aaf(0x279)](_0x1bc8ba),_0x17e0d0[_0x378aaf(0x461)]=_0x596576=>{var _0x56c3bf=_0x378aaf,_0x573963;const _0x7dde7a=(_0x573963=_0x596576[_0x56c3bf(0x49c)])==null?void 0x0:_0x573963[_0x56c3bf(0x368)];if(_0x7dde7a==null){this[_0x56c3bf(0x2e6)](),_0x504466(new Error(J[_0x56c3bf(0x47c)][_0x56c3bf(0x3e2)]));return;}const _0x10ef42=a['Tools'][_0x56c3bf(0x257)](0x6);_0x2545ed({'imageId':_0x10ef42,'imageSourceType':J[_0x56c3bf(0x4a3)]['UUID'],'source':_0x5e37b6,'base64Cache':_0x7dde7a,'status':J[_0x56c3bf(0x47c)]['SUCCUSS']}),this[_0x56c3bf(0x2e6)]();};});}[_0x1bc887(0x2d0)](){var _0x27d0d6=_0x1bc887,_0x205c3c,_0x42876f;const _0x5c3821=this[_0x27d0d6(0x4a6)][_0x27d0d6(0x19b)](En),_0x40b6c8=this[_0x27d0d6(0x4a6)][_0x27d0d6(0x19b)](Y);return(_0x42876f=(_0x205c3c=_0x40b6c8==null?void 0x0:_0x40b6c8[_0x27d0d6(0x27d)])!=null?_0x205c3c:_0x5c3821)!=null?_0x42876f:Cn;}['_getSignURL'](){var _0x1f7627=_0x1bc887,_0x2f4599,_0xff8db9;const _0x46f324=this[_0x1f7627(0x4a6)][_0x1f7627(0x19b)](Tn),_0x3c2bcd=this['_configService'][_0x1f7627(0x19b)](Y);return(_0xff8db9=(_0x2f4599=_0x3c2bcd==null?void 0x0:_0x3c2bcd[_0x1f7627(0x35c)])!=null?_0x2f4599:_0x46f324)!=null?_0xff8db9:bn;}[_0x1bc887(0x2e8)](){var _0x15d36d=_0x1bc887,_0x323fef;const _0x3861da=this['_configService'][_0x15d36d(0x19b)](Y);return(_0x323fef=_0x3861da==null?void 0x0:_0x3861da[_0x15d36d(0x1e2)])!=null?_0x323fef:location['origin'];}[_0x1bc887(0x2bb)](_0x223c79,_0x3b72ea){var _0x58a96b=_0x1bc887;return _0x223c79['replace'](_0x58a96b(0x29f),_0x3b72ea);}[_0x1bc887(0x2e6)](){var _0x51611c=_0x1bc887;this[_0x51611c(0x173)]-=0x1,this[_0x51611c(0x24c)][_0x51611c(0x3cf)](this[_0x51611c(0x173)]);}},exports[_0x1bc887(0x229)]=gn([xe(0x0,a[_0x1bc887(0x46c)](q[_0x1bc887(0x2e3)])),xe(0x1,a[_0x1bc887(0x288)]),xe(0x2,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3ac)]))],exports[_0x1bc887(0x229)]);var Rn=Object[_0x1bc887(0x31c)],On=(_0x2f675b,_0x5cbfa8,_0x129ae7,_0x40626a)=>{var _0x3d8eb9=_0x1bc887;for(var _0x6bbc2f=_0x40626a>0x1?void 0x0:_0x40626a?Rn(_0x5cbfa8,_0x129ae7):_0x5cbfa8,_0x54f080=_0x2f675b[_0x3d8eb9(0x381)]-0x1,_0x13d2d2;_0x54f080>=0x0;_0x54f080--)(_0x13d2d2=_0x2f675b[_0x54f080])&&(_0x6bbc2f=_0x13d2d2(_0x6bbc2f)||_0x6bbc2f);return _0x6bbc2f;},_t=(_0x4a1624,_0x103795)=>(_0x4e9277,_0x50f8b1)=>_0x103795(_0x4e9277,_0x50f8b1,_0x4a1624);const yn=_0x1bc887(0x2ad);exports[_0x1bc887(0x4ae)]=class{constructor(_0x221e2c,_0x458519){var _0x38c24f=_0x1bc887;this[_0x38c24f(0x4a6)]=_0x221e2c,this[_0x38c24f(0x1ce)]=_0x458519;}[_0x1bc887(0x48c)](){var _0x32d1fc=_0x1bc887,_0x340d77,_0x1e4e06;const _0x5022a3=this['_configService'][_0x32d1fc(0x19b)](Ge),_0xbf7938=this[_0x32d1fc(0x4a6)][_0x32d1fc(0x19b)](Y);return(_0x1e4e06=(_0x340d77=_0xbf7938==null?void 0x0:_0xbf7938[_0x32d1fc(0x165)])!=null?_0x340d77:_0x5022a3)!=null?_0x1e4e06:yn;}async[_0x1bc887(0x1ca)](_0x310ec8){var _0x1c4b0a=_0x1bc887;const _0x24c3c0=this[_0x1c4b0a(0x48c)]()+_0x1c4b0a(0x204);return{'list':[{'title':_0x1c4b0a(0x261),'mentions':(await this['_HTTPService'][_0x1c4b0a(0x29d)](_0x24c3c0,{'params':{'objectID':_0x310ec8['unitId'],'unitID':_0x310ec8[_0x1c4b0a(0x3c9)]}}))[_0x1c4b0a(0x213)][_0x1c4b0a(0x286)]['map'](_0x102fa2=>({'objectId':_0x102fa2['id'],'name':_0x102fa2[_0x1c4b0a(0x2c0)][_0x1c4b0a(0x415)],'metadata':{'icon':_0x102fa2[_0x1c4b0a(0x2c0)][_0x1c4b0a(0x184)]},'label':_0x102fa2['subject'][_0x1c4b0a(0x415)],'objectType':a[_0x1c4b0a(0x168)][_0x1c4b0a(0x29e)]})),'metadata':{},'type':a[_0x1c4b0a(0x168)][_0x1c4b0a(0x29e)]}]};}},exports[_0x1bc887(0x4ae)]=On([_t(0x0,a[_0x1bc887(0x46c)](a[_0x1bc887(0x288)])),_t(0x1,a[_0x1bc887(0x46c)](q[_0x1bc887(0x2e3)]))],exports['MentionIoHttpService']);var Nn=Object[_0x1bc887(0x31c)],Un=(_0x393c9f,_0x564247,_0x599ea1,_0x4ca37a)=>{for(var _0x14968f=_0x4ca37a>0x1?void 0x0:_0x4ca37a?Nn(_0x564247,_0x599ea1):_0x564247,_0x5772ec=_0x393c9f['length']-0x1,_0x1392d7;_0x5772ec>=0x0;_0x5772ec--)(_0x1392d7=_0x393c9f[_0x5772ec])&&(_0x14968f=_0x1392d7(_0x14968f)||_0x14968f);return _0x14968f;},ue=(_0x2fd0ed,_0x5ef35d)=>(_0x13f647,_0x5c289e)=>_0x5ef35d(_0x13f647,_0x5c289e,_0x2fd0ed);let Ue=class extends a[_0x1bc887(0x219)]{constructor(_0x1c82f2,_0x267d5d,_0x32caf5,_0x469799,_0x4ed166){var _0x2bb5cf=_0x1bc887;super(),this[_0x2bb5cf(0x2db)]=_0x1c82f2,this[_0x2bb5cf(0x44f)]=_0x267d5d,this[_0x2bb5cf(0x417)]=_0x32caf5,this[_0x2bb5cf(0x40b)]=_0x469799,this[_0x2bb5cf(0x244)]=_0x4ed166,this[_0x2bb5cf(0x48f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x136f4c=_0x1bc887;const _0x15c2f6=async _0x200aea=>{var _0x6f09e6=_0x5233;(await this[_0x6f09e6(0x40b)][_0x6f09e6(0x311)](_0x200aea))[_0x6f09e6(0x426)][_0x6f09e6(0x45a)](V[_0x6f09e6(0x1cf)](_0x4bee8c=>_0x4bee8c[_0x6f09e6(0x308)]===g[_0x6f09e6(0x465)][_0x6f09e6(0x16c)]),V[_0x6f09e6(0x13b)](this['dispose$']))[_0x6f09e6(0x2fd)](_0x299538=>{var _0xc4f124=_0x6f09e6;const _0x439e3b=_0x299538,{reason:_0x22b4a6}=_0x439e3b[_0xc4f124(0x301)];this[_0xc4f124(0x244)]['emitEvent']({'id':Q[_0xc4f124(0x195)],'data':_0x22b4a6}),this[_0xc4f124(0x417)]['updatePermissionPoint'](new Z[(_0xc4f124(0x237))](_0x200aea)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x200aea);});};j[_0x136f4c(0x284)](this[_0x136f4c(0x44f)][_0x136f4c(0x26a)](a[_0x136f4c(0x1ba)][_0x136f4c(0x320)]),this[_0x136f4c(0x44f)][_0x136f4c(0x26a)](a[_0x136f4c(0x1ba)][_0x136f4c(0x378)]))[_0x136f4c(0x45a)](V[_0x136f4c(0x199)](_0x105e5a=>_0x105e5a[_0x136f4c(0x361)]()),V[_0x136f4c(0x1cf)](_0x398d68=>!a[_0x136f4c(0x41a)](_0x398d68)),V[_0x136f4c(0x13b)](this[_0x136f4c(0x33d)]))[_0x136f4c(0x2fd)](_0x3016f1=>{_0x15c2f6(_0x3016f1);});}[_0x1bc887(0x48f)](){var _0x102da0=_0x1bc887;const _0x483bdc=async _0x12f5ab=>{var _0x2ece2b=_0x5233;const _0x602c1e=await this['_collaborationSessionService']['requireSession'](_0x12f5ab),_0x32c3c6=this[_0x2ece2b(0x2db)][_0x2ece2b(0x29d)](Z[_0x2ece2b(0x291)]);_0x602c1e['event$']['pipe'](V[_0x2ece2b(0x1cf)](_0x2d6d75=>_0x2d6d75[_0x2ece2b(0x308)]===g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x2ece2b(0x13b)](this[_0x2ece2b(0x33d)]))['subscribe'](_0x18786f=>{var _0x38d73c=_0x2ece2b;const _0x5d574e=_0x18786f,{objectId:_0x553eed}=_0x5d574e['data'];_0x553eed===_0x12f5ab?_0x32c3c6[_0x38d73c(0x460)](_0x12f5ab):_0x32c3c6[_0x38d73c(0x247)](_0x12f5ab,_0x553eed);});};j['merge'](this[_0x102da0(0x44f)]['getTypeOfUnitAdded$'](a[_0x102da0(0x1ba)][_0x102da0(0x320)]))[_0x102da0(0x45a)](V[_0x102da0(0x199)](_0x5a5a78=>_0x5a5a78[_0x102da0(0x361)]()),V[_0x102da0(0x1cf)](_0x5d04a8=>!a['isInternalEditorID'](_0x5d04a8)),V[_0x102da0(0x13b)](this[_0x102da0(0x33d)]))[_0x102da0(0x2fd)](_0xdd7398=>{_0x483bdc(_0xdd7398);});}};Ue=Un([ue(0x0,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),ue(0x1,a[_0x1bc887(0x3ac)]),ue(0x2,a[_0x1bc887(0x434)]),ue(0x3,a[_0x1bc887(0x46c)](exports[_0x1bc887(0x2f4)])),ue(0x4,a[_0x1bc887(0x46c)](te))],Ue);var Dn=Object['getOwnPropertyDescriptor'],An=(_0x5d7f63,_0x57a8b6,_0x195b04,_0x3a3579)=>{var _0x5ec86e=_0x1bc887;for(var _0x1617f1=_0x3a3579>0x1?void 0x0:_0x3a3579?Dn(_0x57a8b6,_0x195b04):_0x57a8b6,_0x4cfdbf=_0x5d7f63[_0x5ec86e(0x381)]-0x1,_0x36a70a;_0x4cfdbf>=0x0;_0x4cfdbf--)(_0x36a70a=_0x5d7f63[_0x4cfdbf])&&(_0x1617f1=_0x36a70a(_0x1617f1)||_0x1617f1);return _0x1617f1;},lt=(_0x2f86e8,_0x87ea80)=>(_0x2e2fef,_0x201cb8)=>_0x87ea80(_0x2e2fef,_0x201cb8,_0x2f86e8);exports[_0x1bc887(0x377)]=class{constructor(_0x1b7eac,_0x1edc83){var _0x4fac98=_0x1bc887;this[_0x4fac98(0x4a6)]=_0x1b7eac,this[_0x4fac98(0x138)]=_0x1edc83;}async[_0x1bc887(0x14f)](_0x3072bc,_0x3c8821){var _0x360ef6=_0x1bc887,_0x378a97;const {unitID:_0x2e516d,type:_0x59d32f,revision:_0x4ec1f9=0x0}=_0x3c8821,_0x132bf5=this['getSnapshotAPIPath']()+'/'+_0x59d32f+_0x360ef6(0x275)+_0x2e516d+_0x360ef6(0x42e)+_0x4ec1f9,_0x48f653=(await this['_httpService'][_0x360ef6(0x29d)](_0x132bf5))[_0x360ef6(0x213)],_0x416bef=(_0x378a97=_0x48f653['snapshot'])==null?void 0x0:_0x378a97[_0x360ef6(0x231)];if(_0x416bef){const _0x1f7ea2=_0x416bef==null?void 0x0:_0x416bef[_0x360ef6(0x350)],_0x160e3e=g['textEncoder'][_0x360ef6(0x2fc)](g[_0x360ef6(0x2e9)](_0x1f7ea2));_0x416bef[_0x360ef6(0x350)]=_0x160e3e,Object[_0x360ef6(0x458)](_0x416bef[_0x360ef6(0x3f5)])[_0x360ef6(0x239)](([,_0x5a66e1])=>{var _0x7d1ca5=_0x360ef6;const _0x5571ea=_0x5a66e1[_0x7d1ca5(0x350)],_0x2d1aaf=g[_0x7d1ca5(0x321)][_0x7d1ca5(0x2fc)](g[_0x7d1ca5(0x2e9)](_0x5571ea));_0x5a66e1[_0x7d1ca5(0x350)]=_0x2d1aaf;});}return _0x48f653;}async['getSheetBlock'](_0x313e0d,_0x33d0a1){var _0x1137e1=_0x1bc887;const {unitID:_0x263ff2,type:_0x4bd43f,blockID:_0x19cbba}=_0x33d0a1,_0x27a9ee=this[_0x1137e1(0x22b)]()+'/'+_0x4bd43f+'/unit/'+_0x263ff2+_0x1137e1(0x43e)+_0x19cbba;return(await this[_0x1137e1(0x138)][_0x1137e1(0x29d)](_0x27a9ee))[_0x1137e1(0x213)];}async[_0x1bc887(0x274)](_0x4ce4ee,_0x2d4810){var _0x2e2ea3=_0x1bc887;const {unitID:_0x3eeeba,type:_0x236a8f,blockID:_0x45fab6}=_0x2d4810,_0x4097be=this[_0x2e2ea3(0x22b)]()+_0x2e2ea3(0x43e)+_0x236a8f+_0x2e2ea3(0x275)+_0x3eeeba+_0x2e2ea3(0x43e)+_0x45fab6;return(await this[_0x2e2ea3(0x138)][_0x2e2ea3(0x29d)](_0x4097be))[_0x2e2ea3(0x213)];}async[_0x1bc887(0x280)](_0x252fed,_0x1fd6d2){var _0x5913a8=_0x1bc887;const {unitID:_0x52921e,type:_0x2ee278,from:_0x5eca24,to:_0x37ca6b}=_0x1fd6d2,_0x3db43b=this[_0x5913a8(0x22b)]()+'/'+_0x2ee278+_0x5913a8(0x275)+_0x52921e+_0x5913a8(0x499)+_0x5eca24+'&to='+_0x37ca6b;return(await this['_httpService'][_0x5913a8(0x29d)](_0x3db43b))[_0x5913a8(0x213)];}[_0x1bc887(0x47b)](){var _0x10032c=_0x1bc887,_0x553e96;return(_0x553e96=this[_0x10032c(0x4a6)][_0x10032c(0x19b)](vt))!=null?_0x553e96:this[_0x10032c(0x22b)]();}[_0x1bc887(0x22b)](){var _0x369458=_0x1bc887,_0x2e040c,_0x4753d6;const _0x6f21a4=this[_0x369458(0x4a6)][_0x369458(0x19b)](dt),_0x198ae3=this['_configService'][_0x369458(0x19b)](Y);return(_0x4753d6=(_0x2e040c=_0x198ae3==null?void 0x0:_0x198ae3[_0x369458(0x31a)])!=null?_0x2e040c:_0x6f21a4)!=null?_0x4753d6:kt;}async['getResourcesRequest'](_0x48f08b,_0x15c074){var _0x506aee=_0x1bc887;const _0x49588a='/universer-api/snapshot/'+_0x15c074[_0x506aee(0x266)]+_0x506aee(0x275)+_0x15c074['unitID']+'/resources';return(await this[_0x506aee(0x138)][_0x506aee(0x29d)](_0x49588a,{'params':{'resourceId':JSON['stringify'](_0x15c074['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x23fbbc=_0x1bc887;throw new Error(_0x23fbbc(0x25b));}[_0x1bc887(0x19f)](){var _0x49c408=_0x1bc887;throw new Error(_0x49c408(0x25b));}[_0x1bc887(0x2e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bc887(0x21a)](){var _0x9956b2=_0x1bc887;throw new Error(_0x9956b2(0x25b));}[_0x1bc887(0x405)](){var _0x34d858=_0x1bc887;throw new Error(_0x34d858(0x25b));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0x1bc887(0x288)]),lt(0x1,a['Inject'](q[_0x1bc887(0x2e3)]))],exports[_0x1bc887(0x377)]);var Pn=Object[_0x1bc887(0x31c)],wn=(_0x27dd17,_0x278897,_0x216133,_0x1c4b0c)=>{for(var _0xcbaa57=_0x1c4b0c>0x1?void 0x0:_0x1c4b0c?Pn(_0x278897,_0x216133):_0x278897,_0x1fe609=_0x27dd17['length']-0x1,_0x58577d;_0x1fe609>=0x0;_0x1fe609--)(_0x58577d=_0x27dd17[_0x1fe609])&&(_0xcbaa57=_0x58577d(_0xcbaa57)||_0xcbaa57);return _0xcbaa57;},de=(_0x1b8a5a,_0x3ed829)=>(_0x3bbfd2,_0x569ae7)=>_0x3ed829(_0x3bbfd2,_0x569ae7,_0x1b8a5a);exports[_0x1bc887(0x269)]=class extends a[_0x1bc887(0x400)]{constructor(_0xbb2db1,_0x2e5f6d,_0x56843c,_0x18b895,_0x24c642){var _0x1dd498=_0x1bc887;super(_0xbb2db1,_0x2e5f6d,_0x56843c),this[_0x1dd498(0x427)]=_0x18b895,this[_0x1dd498(0x16a)]=_0x24c642;}['transformUndoRedo'](_0x3b3b0b,_0x11e696){var _0x5f1cef=_0x1bc887;const _0xde3d63=this[_0x5f1cef(0x37d)](_0x3b3b0b);if(_0xde3d63)try{const _0x353c34=this[_0x5f1cef(0x1f3)](_0xde3d63,_0x11e696);this[_0x5f1cef(0x1d3)](_0x3b3b0b,_0x353c34);}catch(_0x23463c){this[_0x5f1cef(0x16a)][_0x5f1cef(0x3da)](_0x5f1cef(0x27f),_0x23463c),this[_0x5f1cef(0x1bf)](_0x3b3b0b);}const _0x33ada8=this[_0x5f1cef(0x2c6)](_0x3b3b0b);if(_0x33ada8)try{const _0x480394=this[_0x5f1cef(0x1f3)](_0x33ada8,_0x11e696);this[_0x5f1cef(0x305)](_0x3b3b0b,_0x480394);}catch(_0x5c7188){this[_0x5f1cef(0x16a)][_0x5f1cef(0x3da)](_0x5c7188),this['_clearRedo'](_0x3b3b0b);}}[_0x1bc887(0x1bf)](_0x226a8a){var _0x1c5351=_0x1bc887;const _0x3a3c5a=this[_0x1c5351(0x37d)](_0x226a8a);_0x3a3c5a&&(_0x3a3c5a[_0x1c5351(0x381)]=0x0,this['_updateStatus']());}[_0x1bc887(0x140)](_0x2836d7){var _0xf56396=_0x1bc887;const _0x5d677a=this[_0xf56396(0x2c6)](_0x2836d7);_0x5d677a&&(_0x5d677a['length']=0x0,this[_0xf56396(0x42a)]());}[_0x1bc887(0x1d3)](_0x97bc16,_0x44fe06){var _0x5d869b=_0x1bc887;this[_0x5d869b(0x385)]['set'](_0x97bc16,_0x44fe06),this[_0x5d869b(0x42a)]();}[_0x1bc887(0x305)](_0x546bba,_0x58339e){var _0x525c84=_0x1bc887;this['_redoStacks'][_0x525c84(0x2f7)](_0x546bba,_0x58339e),this[_0x525c84(0x42a)]();}['_transformStack'](_0xf23eea,_0x2a7857){var _0x45b86f=_0x1bc887;const _0x257d2c=[];let _0x2cfb5b=_0x2a7857,_0x4d64a2=_0x2a7857;for(let _0x513592=_0xf23eea[_0x45b86f(0x381)]-0x1;_0x513592>=0x0;_0x513592--){const {unitID:_0x4f4b5f,undoMutations:_0xac8b16,redoMutations:_0xe97b8}=_0xf23eea[_0x513592],_0x189d7b=this[_0x45b86f(0x427)][_0x45b86f(0x278)](_0x2cfb5b,_0xac8b16),_0x67b483=this[_0x45b86f(0x427)][_0x45b86f(0x278)](_0x4d64a2,_0xe97b8);if(g[_0x45b86f(0x148)](_0x189d7b)||g['isTransformMutationsWithChangesetFailure'](_0x67b483)){this[_0x45b86f(0x16a)][_0x45b86f(0x3da)]('[CollaborationUndoRedoService]',_0x45b86f(0x1c7),_0x189d7b,_0x67b483);break;}_0x2cfb5b=_0x189d7b[_0x45b86f(0x3d3)],_0x4d64a2=_0x67b483[_0x45b86f(0x3d3)],_0x257d2c['push']({'unitID':_0x4f4b5f,'undoMutations':_0x189d7b[_0x45b86f(0x413)],'redoMutations':_0x67b483[_0x45b86f(0x413)]});}return _0x257d2c[_0x45b86f(0x49f)]();}},exports[_0x1bc887(0x269)]=wn([de(0x0,a[_0x1bc887(0x3ac)]),de(0x1,a[_0x1bc887(0x438)]),de(0x2,a[_0x1bc887(0x3b5)]),de(0x3,g['ITransformService']),de(0x4,a[_0x1bc887(0x252)])],exports[_0x1bc887(0x269)]);var Ln=Object['defineProperty'],Mn=Object[_0x1bc887(0x31c)],xn=(_0x2062a6,_0x5a0157,_0x415ba7)=>_0x5a0157 in _0x2062a6?Ln(_0x2062a6,_0x5a0157,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x415ba7}):_0x2062a6[_0x5a0157]=_0x415ba7,kn=(_0x11440a,_0x27a2a4,_0x3abd55,_0x1f667b)=>{var _0x1d3439=_0x1bc887;for(var _0x110082=_0x1f667b>0x1?void 0x0:_0x1f667b?Mn(_0x27a2a4,_0x3abd55):_0x27a2a4,_0x25491f=_0x11440a[_0x1d3439(0x381)]-0x1,_0x5ed2a8;_0x25491f>=0x0;_0x25491f--)(_0x5ed2a8=_0x11440a[_0x25491f])&&(_0x110082=_0x5ed2a8(_0x110082)||_0x110082);return _0x110082;},ke=(_0x1cc1fa,_0x50b5bc)=>(_0x1eacc4,_0x186050)=>_0x50b5bc(_0x1eacc4,_0x186050,_0x1cc1fa),Hn=(_0x4642e0,_0x43ea36,_0x101d75)=>xn(_0x4642e0,_0x43ea36+'',_0x101d75);const jn=_0x1bc887(0x3bc);exports[_0x1bc887(0x326)]=class extends a[_0x1bc887(0x175)]{constructor(_0x2e1c36,_0x570095,_0x7b29c5,_0x24ad1d){var _0x29604c=_0x1bc887;super(),A(this,_0x29604c(0x429)),(this[_0x29604c(0x16a)]=_0x570095,this[_0x29604c(0x2db)]=_0x7b29c5,this['_configService']=_0x24ad1d);const {..._0x21b0a6}=a['merge']({},Jt,_0x2e1c36);if(!_0x21b0a6['socketService'])throw new Error(_0x29604c(0x162));this['_config']=_0x21b0a6,this[_0x29604c(0x4a6)][_0x29604c(0x1e0)](Y,_0x21b0a6);}[_0x1bc887(0x27c)](){var _0x28c60f=_0x1bc887;this[_0x28c60f(0x2a8)](),this[_0x28c60f(0x478)]();}['_registerDependencies'](){var _0x1a2e24=_0x1bc887,_0x22fd6c,_0x27ac0e;this['_injector'][_0x1a2e24(0x44b)](a[_0x1a2e24(0x16b)])&&this[_0x1a2e24(0x16a)]['error']('[UniverCollaborationClientPlugin]',_0x1a2e24(0x399));const _0x21ad8e=a[_0x1a2e24(0x3c3)]([[a[_0x1a2e24(0x16b)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x1a2e24(0x2f4)]],[exports[_0x1a2e24(0x4ac)]],[exports[_0x1a2e24(0x32e)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x1a2e24(0x179)]],[$e,{'useClass':this['_config'][_0x1a2e24(0x46d)]}],[g[_0x1a2e24(0x3ec)],{'useClass':exports[_0x1a2e24(0x377)]}],[a[_0x1a2e24(0x293)],{'useClass':exports['AuthzIoHttpService']}],[J['IImageIoService'],{'useClass':exports[_0x1a2e24(0x229)]}],[a[_0x1a2e24(0x164)],{'useClass':exports[_0x1a2e24(0x4ae)]}],[exports['CollaborationController']],[He]],(_0x22fd6c=this['_config'])==null?void 0x0:_0x22fd6c[_0x1a2e24(0x3df)]);if(!((_0x27ac0e=this[_0x1a2e24(0x429)])!=null&&_0x27ac0e[_0x1a2e24(0x228)])){const _0x3197a4=_0x21ad8e[_0x1a2e24(0x1e1)](([_0x22ad39])=>_0x22ad39===ve);_0x3197a4!==-0x1&&_0x21ad8e[_0x1a2e24(0x309)](_0x3197a4,0x1);}a[_0x1a2e24(0x335)](this[_0x1a2e24(0x2db)],_0x21ad8e);}[_0x1bc887(0x478)](){var _0xd4275a=_0x1bc887,_0x2e12c2,_0x4ea0cc,_0x481e98;this[_0xd4275a(0x2db)][_0xd4275a(0x29d)](q['HTTPService'])[_0xd4275a(0x330)]({'priority':0x14,'interceptor':q[_0xd4275a(0x4a7)]({'maxParallel':0x6})}),(_0x2e12c2=this[_0xd4275a(0x429)])!=null&&_0x2e12c2[_0xd4275a(0x408)]||(_0x4ea0cc=this[_0xd4275a(0x2db)][_0xd4275a(0x29d)](z,a[_0xd4275a(0x21e)]['OPTIONAL']))==null||_0x4ea0cc['disableLocalCache'](),(_0x481e98=this['_config'])!=null&&_0x481e98[_0xd4275a(0x386)]&&a[_0xd4275a(0x2d9)](this[_0xd4275a(0x2db)],[[ye]]),a[_0xd4275a(0x2d9)](this[_0xd4275a(0x2db)],[[Ne],[exports[_0xd4275a(0x177)]],[Ue]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x1bc887(0x30c),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x1bc887(0x44d)](g[_0x1bc887(0x2c3)],q[_0x1bc887(0x40a)]),ke(0x1,a[_0x1bc887(0x252)]),ke(0x2,a[_0x1bc887(0x46c)](a[_0x1bc887(0x3a5)])),ke(0x3,a[_0x1bc887(0x288)])],exports[_0x1bc887(0x326)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x1bc887(0x159)]=Y,exports[_0x1bc887(0x295)]=mt,exports[_0x1bc887(0x47f)]=St,exports['CollaborationStatus']=Ve,exports[_0x1bc887(0x2da)]=Q,exports[_0x1bc887(0x3f3)]=te,exports[_0x1bc887(0x1f8)]=Be,exports[_0x1bc887(0x324)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x1bc887(0x471)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports['ICollaborationSocketService']=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0x1bc887(0x1d4)]=ve,exports[_0x1bc887(0x1f4)]=Gt,exports[_0x1bc887(0x3ce)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x1bc887(0x49e)]=qt,exports[_0x1bc887(0x180)]=It,exports[_0x1bc887(0x254)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x1bc887(0x40c)]=vt,exports['SessionStatus']=se,exports[_0x1bc887(0x40f)]=Fe,exports[_0x1bc887(0x42c)]=Rt,exports[_0x1bc887(0x1bc)]=vi,exports[_0x1bc887(0x250)]=Ot;