@univerjs-pro/collaboration-client 0.8.1-nightly.202506141606 → 0.8.1-nightly.202506161607

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 _0x126d7f=_0x5282;(function(_0x3936ea,_0x49d5c8){var _0xcc9911=_0x5282,_0x2ae5cf=_0x3936ea();while(!![]){try{var _0xff2514=parseInt(_0xcc9911(0x240))/0x1*(-parseInt(_0xcc9911(0x186))/0x2)+-parseInt(_0xcc9911(0x2f5))/0x3*(parseInt(_0xcc9911(0xfe))/0x4)+-parseInt(_0xcc9911(0x141))/0x5+parseInt(_0xcc9911(0x261))/0x6+parseInt(_0xcc9911(0x283))/0x7*(parseInt(_0xcc9911(0x373))/0x8)+-parseInt(_0xcc9911(0x307))/0x9*(-parseInt(_0xcc9911(0x465))/0xa)+-parseInt(_0xcc9911(0x359))/0xb;if(_0xff2514===_0x49d5c8)break;else _0x2ae5cf['push'](_0x2ae5cf['shift']());}catch(_0x8ed32e){_0x2ae5cf['push'](_0x2ae5cf['shift']());}}}(_0x1e63,0x8bf36));var Dt=Object['defineProperty'],At=(_0x552344,_0x546369,_0x5b4628)=>_0x546369 in _0x552344?Dt(_0x552344,_0x546369,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4628}):_0x552344[_0x546369]=_0x5b4628,A=(_0x215bac,_0x2d4694,_0x34044c)=>At(_0x215bac,typeof _0x2d4694!=_0x126d7f(0x1a3)?_0x2d4694+'':_0x2d4694,_0x34044c);Object[_0x126d7f(0x2e8)](exports,Symbol['toStringTag'],{'value':_0x126d7f(0x424)});const a=require(_0x126d7f(0x15a)),$=require(_0x126d7f(0x23f)),V=require(_0x126d7f(0x20e)),I=require(_0x126d7f(0x41a)),Y=require(_0x126d7f(0x320)),Pt=require(_0x126d7f(0x1c0)),ht=require(_0x126d7f(0x1a0)),X=require(_0x126d7f(0x37e)),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x126d7f(0x3c6),Lt='/universer-api/snapshot',lt=_0x126d7f(0x13e),Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x126d7f(0x441),dt=_0x126d7f(0x24a),kt=_0x126d7f(0x35c),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x126d7f(0x1d5),St=0x4e20,$t=0x4e20,ft=_0x126d7f(0x11b),jt=0x3,Bt=_0x126d7f(0x20d),Ft=0x3e8,pt=_0x126d7f(0x35d),Vt=_0x126d7f(0x429),It=_0x126d7f(0x3db),Wt=_0x126d7f(0x32d),Gt=_0x126d7f(0x44e),Kt=_0x126d7f(0x45d);var gt=(_0x37cd64=>(_0x37cd64[_0x37cd64['UNDEFINED']=0x0]='UNDEFINED',_0x37cd64[_0x37cd64['OK']=0x1]='OK',_0x37cd64[_0x37cd64[_0x126d7f(0x1c3)]=0x2]='INTERNAL_ERROR',_0x37cd64[_0x37cd64['PERMISSION_DENIED']=0x3]=_0x126d7f(0x2a7),_0x37cd64[_0x37cd64['NOT_FOUND']=0x4]=_0x126d7f(0x235),_0x37cd64[_0x37cd64[_0x126d7f(0x42f)]=0x5]='UNAUTHENTICATED',_0x37cd64[_0x37cd64['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x37cd64[_0x37cd64[_0x126d7f(0x19e)]=0x7]=_0x126d7f(0x19e),_0x37cd64[_0x37cd64[_0x126d7f(0x15e)]=0x8]=_0x126d7f(0x15e),_0x37cd64[_0x37cd64[_0x126d7f(0x246)]=0x9]=_0x126d7f(0x246),_0x37cd64[_0x37cd64[_0x126d7f(0x302)]=0xa]='LOGIN_FAILED',_0x37cd64[_0x37cd64['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x126d7f(0x32f),_0x37cd64[_0x37cd64['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x37cd64[_0x37cd64[_0x126d7f(0x28c)]=0x1772]=_0x126d7f(0x28c),_0x37cd64[_0x37cd64[_0x126d7f(0x12b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x37cd64[_0x37cd64[_0x126d7f(0x14e)]=0x1b59]=_0x126d7f(0x14e),_0x37cd64[_0x37cd64[_0x126d7f(0x29a)]=0x1b5a]=_0x126d7f(0x29a),_0x37cd64[_0x37cd64['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x126d7f(0x39b),_0x37cd64[_0x37cd64[_0x126d7f(0x401)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x37cd64[_0x37cd64[_0x126d7f(0x31c)]=0x1b5d]='APPLY_DUPLICATED',_0x37cd64[_0x37cd64[_0x126d7f(0x2f8)]=0x1f41]=_0x126d7f(0x2f8),_0x37cd64[_0x37cd64[_0x126d7f(0x1bb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x37cd64[_0x37cd64[_0x126d7f(0x100)]=0x232a]=_0x126d7f(0x100),_0x37cd64[_0x37cd64['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x126d7f(0x436),_0x37cd64[_0x37cd64[_0x126d7f(0x461)]=0x232c]=_0x126d7f(0x461),_0x37cd64[_0x37cd64[_0x126d7f(0x2c2)]=0x232d]=_0x126d7f(0x2c2),_0x37cd64[_0x37cd64['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x126d7f(0x394),_0x37cd64[_0x37cd64[_0x126d7f(0x134)]=0x2712]=_0x126d7f(0x134),_0x37cd64[_0x37cd64['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x37cd64[_0x37cd64['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x126d7f(0x2c6),_0x37cd64[_0x37cd64[_0x126d7f(0x443)]=0x271a]=_0x126d7f(0x443),_0x37cd64[_0x37cd64[_0x126d7f(0x434)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x37cd64[_0x37cd64['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x126d7f(0x2ef),_0x37cd64[_0x37cd64[_0x126d7f(0x1d1)]=0x271d]=_0x126d7f(0x1d1),_0x37cd64[_0x37cd64['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x126d7f(0x16e),_0x37cd64[_0x37cd64['YUUMI_AI_RUN_FAILED']=0x271f]=_0x126d7f(0x1f2),_0x37cd64[_0x37cd64[_0x126d7f(0x1f6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x37cd64[_0x37cd64[_0x126d7f(0x11c)]=0x2ee1]=_0x126d7f(0x11c),_0x37cd64[_0x37cd64[_0x126d7f(0x42d)]=0x2ee2]=_0x126d7f(0x42d),_0x37cd64[_0x37cd64[_0x126d7f(0x200)]=0x2ee3]=_0x126d7f(0x200),_0x37cd64[_0x37cd64[_0x126d7f(0x259)]=0x2ee4]=_0x126d7f(0x259),_0x37cd64[_0x37cd64[_0x126d7f(0x1e8)]=0x2ee5]=_0x126d7f(0x1e8),_0x37cd64[_0x37cd64['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x126d7f(0x41d),_0x37cd64[_0x37cd64['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x37cd64[_0x37cd64[_0x126d7f(0x253)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x37cd64[_0x37cd64[_0x126d7f(0x120)]=-0x1]=_0x126d7f(0x120),_0x37cd64))(gt||{}),J=(_0x42250e=>(_0x42250e[_0x42250e['UNIVER_UNKNOWN']=0x0]=_0x126d7f(0x315),_0x42250e[_0x42250e[_0x126d7f(0x342)]=0x1]=_0x126d7f(0x342),_0x42250e[_0x42250e[_0x126d7f(0x1bd)]=0x2]='UNIVER_SHEET',_0x42250e[_0x42250e['UNIVER_SLIDE']=0x3]=_0x126d7f(0x2ad),_0x42250e[_0x42250e[_0x126d7f(0x1c1)]=0x4]=_0x126d7f(0x1c1),_0x42250e[_0x42250e[_0x126d7f(0x120)]=-0x1]='UNRECOGNIZED',_0x42250e))(J||{}),W=(_0x30b1df=>(_0x30b1df[_0x30b1df[_0x126d7f(0x3d2)]=0x0]=_0x126d7f(0x3d2),_0x30b1df[_0x30b1df[_0x126d7f(0x145)]=0x1]=_0x126d7f(0x145),_0x30b1df[_0x30b1df[_0x126d7f(0x43b)]=0x2]='JOIN',_0x30b1df[_0x30b1df[_0x126d7f(0x29f)]=0x3]=_0x126d7f(0x29f),_0x30b1df[_0x30b1df[_0x126d7f(0x1df)]=0x4]=_0x126d7f(0x1df),_0x30b1df[_0x30b1df[_0x126d7f(0x223)]=0x5]=_0x126d7f(0x223),_0x30b1df[_0x30b1df[_0x126d7f(0x293)]=0x6]=_0x126d7f(0x293),_0x30b1df[_0x30b1df[_0x126d7f(0x120)]=-0x1]=_0x126d7f(0x120),_0x30b1df))(W||{}),oe=(_0x8f52c8=>(_0x8f52c8[_0x8f52c8[_0x126d7f(0x3fb)]=0x0]=_0x126d7f(0x3fb),_0x8f52c8[_0x8f52c8['OK']=0x1]='OK',_0x8f52c8[_0x8f52c8[_0x126d7f(0x147)]=0x2]='FAIL',_0x8f52c8[_0x8f52c8[_0x126d7f(0x101)]=0x3e9]=_0x126d7f(0x101),_0x8f52c8[_0x8f52c8[_0x126d7f(0x1fb)]=0x3ea]=_0x126d7f(0x1fb),_0x8f52c8[_0x8f52c8[_0x126d7f(0x396)]=0x3eb]=_0x126d7f(0x396),_0x8f52c8[_0x8f52c8[_0x126d7f(0x230)]=0x3ec]=_0x126d7f(0x230),_0x8f52c8[_0x8f52c8[_0x126d7f(0x120)]=-0x1]='UNRECOGNIZED',_0x8f52c8))(oe||{}),Et=(_0x9b6eaf=>(_0x9b6eaf[_0x9b6eaf[_0x126d7f(0x172)]=0x0]=_0x126d7f(0x172),_0x9b6eaf[_0x9b6eaf['HttpImport']=0x1]=_0x126d7f(0x332),_0x9b6eaf[_0x9b6eaf[_0x126d7f(0xfb)]=0x2]=_0x126d7f(0xfb),_0x9b6eaf[_0x9b6eaf['UnitEmbedded']=0x3]=_0x126d7f(0x27a),_0x9b6eaf[_0x9b6eaf['UnitSnapshot']=0x4]=_0x126d7f(0x3be),_0x9b6eaf[_0x9b6eaf[_0x126d7f(0x409)]=0x5]='UserProfileImg',_0x9b6eaf[_0x9b6eaf[_0x126d7f(0x120)]=-0x1]='UNRECOGNIZED',_0x9b6eaf))(Et||{});const K=_0x126d7f(0x324),Yt={};var Z=(_0x2e4cca=>(_0x2e4cca['OTHER_CLIENT_EDITING']=_0x126d7f(0x3a6),_0x2e4cca['PERMISSION_DENIED']=_0x126d7f(0x2a7),_0x2e4cca[_0x126d7f(0x28e)]=_0x126d7f(0x28e),_0x2e4cca[_0x126d7f(0x3f1)]=_0x126d7f(0x3f1),_0x2e4cca[_0x126d7f(0x456)]=_0x126d7f(0x456),_0x2e4cca['SOCKET_FAILED_RETRY']=_0x126d7f(0x30c),_0x2e4cca[_0x126d7f(0x265)]=_0x126d7f(0x265),_0x2e4cca['SUBMIT_CHANGESET_TIMEOUT']=_0x126d7f(0x23d),_0x2e4cca))(Z||{});class ee{constructor(){var _0x4a81eb=_0x126d7f;A(this,_0x4a81eb(0x289),new $[(_0x4a81eb(0x1f8))]()),A(this,'event$',this[_0x4a81eb(0x289)]['asObservable']());}[_0x126d7f(0x268)](_0x165513){var _0x4497fd=_0x126d7f;this[_0x4497fd(0x289)]['next'](_0x165513);}}const mt=a[_0x126d7f(0x1ca)](_0x126d7f(0x162));function Ct(_0x2dc8e3){var _0x3e0749=_0x126d7f,_0x297cc1,_0x1c1228,_0x2b4b91,_0x205220,_0x381204;const _0x25f1d4=_0x2dc8e3[_0x3e0749(0x2ce)],_0x3094b9=JSON['parse'](_0x25f1d4);switch(_0x3094b9[_0x3e0749(0x363)]){case W['HEARTBEAT']:case W[_0x3e0749(0x145)]:{const _0x3e05a7=_0x3094b9[_0x3e0749(0x451)];return{..._0x3094b9,'data':_0x3e05a7,'cmd':_0x3094b9[_0x3e0749(0x363)]};}case W[_0x3e0749(0x43b)]:{const _0x360749=_0x3094b9[_0x3e0749(0x175)];return{..._0x3094b9,'data':_0x360749,'cmd':_0x3094b9[_0x3e0749(0x363)]};}case W[_0x3e0749(0x293)]:{const _0x5c9742=_0x3094b9['collaMsg'];switch(_0x5c9742[_0x3e0749(0x2ac)]){case I[_0x3e0749(0x158)]['PERMISSION_REJ']:return{..._0x3094b9,'data':{..._0x5c9742,'data':(_0x297cc1=_0x5c9742['permissionRejEvent'])==null?void 0x0:_0x297cc1['cs']},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)]['CHANGESET_ACK']:return{..._0x3094b9,'data':{..._0x5c9742,'data':(_0x1c1228=_0x5c9742[_0x3e0749(0x16a)])==null?void 0x0:_0x1c1228['cs']},'cmd':_0x3094b9['cmd']};case I[_0x3e0749(0x158)][_0x3e0749(0x395)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':(_0x2b4b91=_0x5c9742[_0x3e0749(0x3f5)])==null?void 0x0:_0x2b4b91['cs']},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)]['CHANGESET_REJ']:return{..._0x3094b9,'data':{..._0x5c9742,'data':(_0x205220=_0x5c9742[_0x3e0749(0x241)])==null?void 0x0:_0x205220['cs']},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)][_0x3e0749(0x3f0)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':(_0x381204=_0x5c9742[_0x3e0749(0x1be)])==null?void 0x0:_0x381204['cs']},'cmd':_0x3094b9['cmd']};case I[_0x3e0749(0x158)][_0x3e0749(0x418)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x18c)]},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)][_0x3e0749(0x244)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x308)]},'cmd':_0x3094b9['cmd']};case I[_0x3e0749(0x158)][_0x3e0749(0x344)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x380)]},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I['CollaborationEvent'][_0x3e0749(0x1f1)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x2b2)]},'cmd':_0x3094b9['cmd']};case I['CollaborationEvent'][_0x3e0749(0x266)]:case I[_0x3e0749(0x158)][_0x3e0749(0x167)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x166)]},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)][_0x3e0749(0x391)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x2b2)]},'cmd':_0x3094b9['cmd']};case I['CollaborationEvent'][_0x3e0749(0x2df)]:return{..._0x3094b9,'data':_0x5c9742,'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)][_0x3e0749(0x1fe)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x1d4)]},'cmd':_0x3094b9['cmd']};case I[_0x3e0749(0x158)][_0x3e0749(0x2e3)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x40a)]},'cmd':_0x3094b9[_0x3e0749(0x363)]};case I[_0x3e0749(0x158)]['SHOULD_CLOSE_CONN']:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x2cd)]},'cmd':_0x3094b9['cmd']};case I['CollaborationEvent'][_0x3e0749(0x111)]:return{..._0x3094b9,'data':{..._0x5c9742,'data':_0x5c9742[_0x3e0749(0x333)]},'cmd':_0x3094b9['cmd']};default:return _0x3094b9;}}default:return _0x3094b9;}}function Tt(_0x551133){var _0x24db3a=_0x126d7f;switch(_0x551133[_0x24db3a(0x363)]){case W[_0x24db3a(0x223)]:case W[_0x24db3a(0x145)]:return JSON[_0x24db3a(0x2b9)]({'cmd':_0x551133['cmd'],'routeKey':_0x551133['routeKey']});case W[_0x24db3a(0x1df)]:{let _0x5d2460;switch(_0x551133[_0x24db3a(0x2ce)][_0x24db3a(0x2ac)]){case I[_0x24db3a(0x158)]['UPDATE_CURSOR']:{_0x5d2460={'eventID':I[_0x24db3a(0x158)]['UPDATE_CURSOR'],'updateCursorEvent':_0x551133[_0x24db3a(0x2ce)][_0x24db3a(0x2ce)]};break;}case I[_0x24db3a(0x158)][_0x24db3a(0x344)]:{_0x5d2460={'eventID':I['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x551133[_0x24db3a(0x2ce)]['data']};break;}case I['CollaborationEvent']['USERS_ENTER']:{_0x5d2460={'eventID':I[_0x24db3a(0x158)][_0x24db3a(0x244)],'joinEvent':_0x551133[_0x24db3a(0x2ce)][_0x24db3a(0x2ce)]};break;}case I['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x5d2460={'eventID':I[_0x24db3a(0x158)][_0x24db3a(0x1f1)],'liveShareNewHost':_0x551133['data']['data']};break;}case I[_0x24db3a(0x158)][_0x24db3a(0x167)]:{_0x5d2460={'eventID':I[_0x24db3a(0x158)][_0x24db3a(0x167)],'liveShareOperation':_0x551133[_0x24db3a(0x2ce)][_0x24db3a(0x2ce)]};break;}case I['CollaborationEvent'][_0x24db3a(0x391)]:{_0x5d2460={'eventID':I[_0x24db3a(0x158)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x551133[_0x24db3a(0x2ce)][_0x24db3a(0x2ce)]};break;}case I[_0x24db3a(0x158)]['LIVESHARE_REQUEST_HOST']:{_0x5d2460={'eventID':I[_0x24db3a(0x158)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x551133[_0x24db3a(0x2ce)]['data']};break;}case I['CollaborationEvent'][_0x24db3a(0x266)]:{_0x5d2460={'eventID':I[_0x24db3a(0x158)][_0x24db3a(0x266)]};break;}default:_0x5d2460={'eventID':_0x551133['data']['eventID']};}return JSON['stringify']({'cmd':_0x551133[_0x24db3a(0x363)],'routeKey':_0x551133['routeKey'],'collaMsg':_0x5d2460});}case W[_0x24db3a(0x43b)]:return JSON[_0x24db3a(0x2b9)]({'cmd':_0x551133[_0x24db3a(0x363)],'routeKey':_0x551133[_0x24db3a(0x191)],'joinReq':_0x551133[_0x24db3a(0x2ce)]});case W[_0x24db3a(0x29f)]:return JSON[_0x24db3a(0x2b9)]({'cmd':_0x551133[_0x24db3a(0x363)],'routeKey':_0x551133[_0x24db3a(0x191)],'leaveReq':_0x551133[_0x24db3a(0x2ce)]});default:throw new Error(_0x24db3a(0x272));}}var qt=Object[_0x126d7f(0x182)],zt=(_0x5da92e,_0x54e238,_0x987b84,_0x2f93ad)=>{for(var _0x5be5ad=_0x2f93ad>0x1?void 0x0:_0x2f93ad?qt(_0x54e238,_0x987b84):_0x54e238,_0x43d3db=_0x5da92e['length']-0x1,_0x4e0573;_0x43d3db>=0x0;_0x43d3db--)(_0x4e0573=_0x5da92e[_0x43d3db])&&(_0x5be5ad=_0x4e0573(_0x5be5ad)||_0x5be5ad);return _0x5be5ad;},_e=(_0x4b22a0,_0x117f4b)=>(_0x45f2b9,_0x1342c5)=>_0x117f4b(_0x45f2b9,_0x1342c5,_0x4b22a0);const He=a[_0x126d7f(0x1ca)](_0x126d7f(0x156));function Jt(_0xd41196,_0x4f3036,_0x302825){var _0x174f12=_0x126d7f;return _0xd41196+'/'+_0x4f3036+_0x174f12(0x1da)+_0x302825+_0x174f12(0x149);}exports[_0x126d7f(0x2b4)]=class extends a[_0x126d7f(0x3f8)]{constructor(_0x21dbfa,_0x270a12,_0x5c5ded,_0x58280c,_0x2f12fc){var _0xbd2373=_0x126d7f;super(),this[_0xbd2373(0x46d)]=_0x21dbfa,this[_0xbd2373(0x115)]=_0x270a12,this['_configService']=_0x5c5ded,this[_0xbd2373(0x352)]=_0x58280c,this[_0xbd2373(0x36f)]=_0x2f12fc;}['_doCreateSocket'](_0x2f60f7){var _0x10c393=_0x126d7f;const _0x45b91f=this[_0x10c393(0x46d)][_0x10c393(0x462)](Y[_0x10c393(0x161)]);if(!_0x45b91f)throw new Error(_0x10c393(0x284));const _0x7a07cc=_0x45b91f[_0x10c393(0x31b)](_0x2f60f7);if(!_0x7a07cc)throw new Error(_0x10c393(0x44d));const _0x3331ea=new a[(_0x10c393(0x415))](),_0xabe20a=new $[(_0x10c393(0x1f8))]();_0x3331ea[_0x10c393(0x108)](_0x7a07cc[_0x10c393(0x36b)][_0x10c393(0x250)](_0x1422ef=>_0xabe20a[_0x10c393(0x38d)](_0x1422ef))),_0x3331ea[_0x10c393(0x108)](a[_0x10c393(0x3ef)](()=>_0xabe20a[_0x10c393(0x3fc)]()));const _0x5a7d37=new $[(_0x10c393(0x1f8))]();_0x3331ea[_0x10c393(0x108)](_0x7a07cc[_0x10c393(0x279)][_0x10c393(0x250)](_0x1a5560=>_0x5a7d37[_0x10c393(0x38d)](_0x1a5560))),_0x3331ea[_0x10c393(0x108)](a[_0x10c393(0x3ef)](()=>_0x5a7d37[_0x10c393(0x3fc)]()));const _0x26a16b=new $[(_0x10c393(0x1f8))]();_0x3331ea[_0x10c393(0x108)](_0x7a07cc['message$'][_0x10c393(0x250)](_0x4c41c4=>{var _0x49e4a5=_0x10c393;const _0x4751b5=Ct(_0x4c41c4);_0x26a16b[_0x49e4a5(0x38d)](_0x4751b5);})),_0x3331ea[_0x10c393(0x108)](a[_0x10c393(0x3ef)](()=>_0x26a16b[_0x10c393(0x3fc)]()));let _0x245cac;const _0x3a64a7=()=>{var _0x1127c4=_0x10c393;_0x5a7d37[_0x1127c4(0x38d)](new Event('connection\x20error')),_0xabe20a[_0x1127c4(0x38d)](new Event('connection\x20error')),_0x245cac[_0x1127c4(0x36c)]();};return _0x245cac={'memberID':'','close$':_0xabe20a[_0x10c393(0x3c7)](),'error$':_0x5a7d37[_0x10c393(0x3c7)](),'open$':_0x7a07cc[_0x10c393(0x1b8)],'message$':_0x26a16b[_0x10c393(0x3c7)](),'send':_0x137633=>{var _0x3b3c28=_0x10c393;if(_0x137633[_0x3b3c28(0x363)]===W[_0x3b3c28(0x1df)]){if(_0x137633[_0x3b3c28(0x2ce)][_0x3b3c28(0x2ac)]===I['CollaborationEvent'][_0x3b3c28(0x26c)]){this[_0x3b3c28(0x249)](_0x245cac,_0x137633[_0x3b3c28(0x2ce)])[_0x3b3c28(0x3a8)](_0x47875f=>{var _0x5acf19=_0x3b3c28;this['_logService'][_0x5acf19(0x2af)](_0x47875f),_0x3a64a7();});return;}if(_0x137633[_0x3b3c28(0x2ce)]['eventID']===I[_0x3b3c28(0x158)][_0x3b3c28(0x38a)]){const _0x7f90d2=_0x137633[_0x3b3c28(0x2ce)];this['_fetchMissChangesets'](_0x7f90d2)[_0x3b3c28(0x2a3)](_0x280ca7=>{var _0x37139c=_0x3b3c28;_0x26a16b['next']({'cmd':W[_0x37139c(0x293)],'code':oe['OK'],'routeKey':_0x7f90d2[_0x37139c(0x2ce)][_0x37139c(0x38f)],'routeType':'','data':{'eventID':I[_0x37139c(0x158)][_0x37139c(0x2d2)],'data':{'changesets':_0x280ca7}}});})[_0x3b3c28(0x3a8)](_0x4ce419=>{var _0x14fbc4=_0x3b3c28;this[_0x14fbc4(0x352)][_0x14fbc4(0x2af)](_0x4ce419),_0x3a64a7();});return;}}_0x7a07cc[_0x3b3c28(0x234)](Tt(_0x137633));},'close':()=>{var _0x381f1a=_0x10c393;_0x7a07cc[_0x381f1a(0x36c)](),_0x3331ea['dispose']();}},_0x245cac;}async[_0x126d7f(0x249)](_0x198b9a,_0x3445da){var _0x12adce=_0x126d7f,_0x4f4b23,_0xcc5134;const {unitType:_0x37533d,unitID:_0x29f108,changeset:_0x45c9f8}=_0x3445da[_0x12adce(0x2ce)],_0x526713={'unitID':_0x29f108,'memberID':_0x198b9a[_0x12adce(0x19b)],'type':_0x37533d,'changeset':I[_0x12adce(0x21e)](_0x45c9f8)},_0x4b3c30=this[_0x12adce(0x165)]['getConfig'](pt),_0x1f2a23=this[_0x12adce(0x165)][_0x12adce(0x198)](K),_0x26fc20=Jt((_0xcc5134=(_0x4f4b23=_0x1f2a23==null?void 0x0:_0x1f2a23[_0x12adce(0x399)])!=null?_0x4f4b23:_0x4b3c30)!=null?_0xcc5134:Vt,_0x37533d,_0x29f108);try{await this[_0x12adce(0x115)][_0x12adce(0x35e)](_0x26fc20,{'body':_0x526713});}catch(_0x5a7154){throw this['_logService'][_0x12adce(0x2af)](_0x12adce(0x40f),'submit\x20changeset\x20error!'),_0x5a7154;}}async['_fetchMissChangesets'](_0x14f9d3){var _0x4f6691=_0x126d7f;const {unitID:_0xbbd141,from:_0x34b8de,to:_0x512d07,unitType:_0x501206}=_0x14f9d3['data'];return(await this[_0x4f6691(0x36f)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xbbd141,'type':_0x501206,'from':_0x34b8de,'to':_0x512d07}))[_0x4f6691(0x431)];}},exports[_0x126d7f(0x2b4)]=zt([_e(0x0,a[_0x126d7f(0x15b)](a['Injector'])),_e(0x1,a[_0x126d7f(0x15b)](Y[_0x126d7f(0x20c)])),_e(0x2,a['IConfigService']),_e(0x3,a['ILogService']),_e(0x4,I[_0x126d7f(0x453)])],exports[_0x126d7f(0x2b4)]);const Xt=_0x126d7f(0x310);function Zt(_0x717dce){var _0x59883b=_0x126d7f;return JSON[_0x59883b(0x2b9)](_0x717dce)[_0x59883b(0x1aa)];}class $e{constructor(){var _0x467b2c=_0x126d7f;A(this,_0x467b2c(0x379),new $['Subject']()),A(this,_0x467b2c(0x32b),this[_0x467b2c(0x379)][_0x467b2c(0x3c7)]());}[_0x126d7f(0x1c5)](_0x24f230){var _0x504bf5=_0x126d7f;this['_commentUpdate$'][_0x504bf5(0x38d)](_0x24f230);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0xf3f254,_0x2d1a1e,_0xc46e82,_0x114d87)=>{var _0x41e7c6=_0x126d7f;for(var _0x3b7170=_0x114d87>0x1?void 0x0:_0x114d87?Qt(_0x2d1a1e,_0xc46e82):_0x2d1a1e,_0x12ebd1=_0xf3f254[_0x41e7c6(0x1aa)]-0x1,_0x5e26b6;_0x12ebd1>=0x0;_0x12ebd1--)(_0x5e26b6=_0xf3f254[_0x12ebd1])&&(_0x3b7170=_0x5e26b6(_0x3b7170)||_0x3b7170);return _0x3b7170;},We=(_0x45e298,_0x46647d)=>(_0x35c024,_0xb51eac)=>_0x46647d(_0x35c024,_0xb51eac,_0x45e298);exports[_0x126d7f(0x34f)]=class extends a['Disposable']{constructor(_0x412556,_0x355bd5){var _0x7ed57e=_0x126d7f;super(),A(this,_0x7ed57e(0x2d7),new Map()),A(this,'_roomCreated$',new $[(_0x7ed57e(0x1f8))]()),(this['_univerInstanceService']=_0x412556,this[_0x7ed57e(0x1b9)]=_0x355bd5,this[_0x7ed57e(0x1d8)]($['merge'](this[_0x7ed57e(0x3e0)][_0x7ed57e(0x2a1)](a['UniverInstanceType'][_0x7ed57e(0x1bd)])[_0x7ed57e(0x1af)](V[_0x7ed57e(0x1ae)](_0x53cce1=>_0x53cce1[_0x7ed57e(0x1d0)]())),this[_0x7ed57e(0x3e0)][_0x7ed57e(0x2a1)](a[_0x7ed57e(0x136)][_0x7ed57e(0x342)])[_0x7ed57e(0x1af)](V['map'](_0xb9d80d=>_0xb9d80d[_0x7ed57e(0x1d0)]())),this[_0x7ed57e(0x3e0)][_0x7ed57e(0x2a1)](a[_0x7ed57e(0x136)]['UNIVER_SLIDE'])[_0x7ed57e(0x1af)](V[_0x7ed57e(0x1ae)](_0x45fec5=>_0x45fec5['getUnitId']())))['subscribe'](_0x568114=>this['_removeRoom'](_0x568114))));}[_0x126d7f(0x3fa)](_0x3ad2ed){var _0x27e5c5=_0x126d7f;return this[_0x27e5c5(0x2d7)][_0x27e5c5(0x46a)](_0x3ad2ed)?$['of'](this[_0x27e5c5(0x2d7)][_0x27e5c5(0x462)](_0x3ad2ed)):this[_0x27e5c5(0x466)]['pipe'](V[_0x27e5c5(0x1ae)](_0x2ae230=>{var _0x15c361=_0x27e5c5;if(_0x2ae230===_0x3ad2ed)return this[_0x15c361(0x2d7)][_0x15c361(0x462)](_0x2ae230);}));}['setCurrentUser'](_0x125706){var _0x315e74=_0x126d7f;this['_userManagerService'][_0x315e74(0x214)](_0x125706);}[_0x126d7f(0x221)](){var _0x7680bb=_0x126d7f;return this[_0x7680bb(0x1b9)][_0x7680bb(0x221)]();}[_0x126d7f(0x32c)](_0x242d00,_0x3d7399){var _0x3539d4=_0x126d7f;let _0x54bab8=this[_0x3539d4(0x2d7)][_0x3539d4(0x462)](_0x242d00);_0x54bab8||(_0x54bab8=new ti(),this['_roomMembers'][_0x3539d4(0x15c)](_0x242d00,_0x54bab8),this[_0x3539d4(0x466)]['next'](_0x242d00)),_0x54bab8['updateMember'](_0x3d7399);}[_0x126d7f(0x2e1)](_0x228396,_0x43b404){var _0x252bfd=_0x126d7f;const _0x3c3f48=this['_roomMembers'][_0x252bfd(0x462)](_0x228396);_0x3c3f48&&_0x3c3f48['removeMember'](_0x43b404);}['getRoom'](_0x2e4eae){var _0x3d36f1=_0x126d7f;return this['_roomMembers'][_0x3d36f1(0x462)](_0x2e4eae);}['getMember'](_0x5ba8c8,_0xca1510){var _0x13f625=_0x126d7f;const _0x557de8=this['_roomMembers'][_0x13f625(0x462)](_0x5ba8c8);if(_0x557de8)return _0x557de8[_0x13f625(0x1b5)](_0xca1510);}[_0x126d7f(0x2a8)](_0x4336e2){var _0x4e4907=_0x126d7f;const _0x1368c5=this[_0x4e4907(0x2d7)][_0x4e4907(0x462)](_0x4336e2);_0x1368c5&&(_0x1368c5[_0x4e4907(0x2eb)](),this[_0x4e4907(0x2d7)][_0x4e4907(0x14c)](_0x4336e2));}[_0x126d7f(0x2eb)](){var _0x56f033=_0x126d7f;this['_roomMembers'][_0x56f033(0x377)](_0x44db80=>_0x44db80['dispose']()),this[_0x56f033(0x2d7)][_0x56f033(0x2ee)](),this['_roomCreated$'][_0x56f033(0x3fc)]();}},exports['MemberService']=ei([We(0x0,a[_0x126d7f(0x196)]),We(0x1,a[_0x126d7f(0x15b)](a['UserManagerService']))],exports[_0x126d7f(0x34f)]);class ti extends a[_0x126d7f(0x3f8)]{constructor(){var _0x4b4b09=_0x126d7f;super(...arguments),A(this,_0x4b4b09(0x264),new Map()),A(this,'_members$',new $[(_0x4b4b09(0x22d))](this['_members'])),A(this,_0x4b4b09(0x168),this[_0x4b4b09(0x341)][_0x4b4b09(0x3c7)]());}['dispose'](){var _0x302b9f=_0x126d7f;this[_0x302b9f(0x264)][_0x302b9f(0x2ee)]();}[_0x126d7f(0x32c)](_0x20501e){var _0x15ade6=_0x126d7f;this[_0x15ade6(0x264)][_0x15ade6(0x15c)](_0x20501e['memberID'],_0x20501e),this['_emitMembers']();}[_0x126d7f(0x2e1)](_0x280d85){var _0x4aa691=_0x126d7f;this[_0x4aa691(0x264)][_0x4aa691(0x14c)](_0x280d85);}['getMember'](_0x554870){var _0x53e7f9=_0x126d7f;return this['_members'][_0x53e7f9(0x462)](_0x554870);}[_0x126d7f(0x1cb)](){var _0x1edafb=_0x126d7f;return Array[_0x1edafb(0x260)](this[_0x1edafb(0x264)][_0x1edafb(0x1c8)]());}[_0x126d7f(0x1f5)](){var _0x1ae8a2=_0x126d7f;this['_members$'][_0x1ae8a2(0x38d)](this[_0x1ae8a2(0x264)]);}}var ii=Object[_0x126d7f(0x182)],ni=(_0x53fbfe,_0x91c143,_0xa9d4b9,_0x2552d4)=>{var _0x2c315c=_0x126d7f;for(var _0x5c2320=_0x2552d4>0x1?void 0x0:_0x2552d4?ii(_0x91c143,_0xa9d4b9):_0x91c143,_0x48accb=_0x53fbfe[_0x2c315c(0x1aa)]-0x1,_0x5eb2be;_0x48accb>=0x0;_0x48accb--)(_0x5eb2be=_0x53fbfe[_0x48accb])&&(_0x5c2320=_0x5eb2be(_0x5c2320)||_0x5c2320);return _0x5c2320;},se=(_0x3dae1a,_0x19b265)=>(_0x1d7d2f,_0x1627f4)=>_0x19b265(_0x1d7d2f,_0x1627f4,_0x3dae1a),re=(_0x371a45=>(_0x371a45[_0x371a45[_0x126d7f(0x23c)]=0x0]='IDLE',_0x371a45[_0x371a45['JOINING']=0x1]=_0x126d7f(0x455),_0x371a45[_0x371a45['OFFLINE']=0x2]=_0x126d7f(0x27b),_0x371a45[_0x371a45[_0x126d7f(0x326)]=0x3]='ONLINE',_0x371a45))(re||{});const Ge={[oe['FAIL']]:_0x126d7f(0x304),[oe[_0x126d7f(0x101)]]:_0x126d7f(0x2de),[oe[_0x126d7f(0x1fb)]]:_0x126d7f(0x2aa),[oe[_0x126d7f(0x396)]]:_0x126d7f(0x40e),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x126d7f(0x13f)};exports[_0x126d7f(0x314)]=class extends a[_0x126d7f(0x224)]{constructor(_0x4dae67,_0x4587ab,_0x51f759,_0x250c4,_0x1c04e8,_0x4aa38f,_0x26fc40,_0x4be16c,_0x42662d){var _0x4b9a58=_0x126d7f;super(),A(this,_0x4b9a58(0x1b3),new $['BehaviorSubject'](0x0)),A(this,_0x4b9a58(0x262),this['_sessionStatus$']['asObservable']()),A(this,_0x4b9a58(0x289),new $[(_0x4b9a58(0x1f8))]()),A(this,'event$',this['_event$']['asObservable']()),A(this,_0x4b9a58(0x128)),A(this,_0x4b9a58(0x36e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x4b9a58(0x32e),!0x1),A(this,_0x4b9a58(0x31e),null),(this[_0x4b9a58(0x313)]=_0x4dae67,this[_0x4b9a58(0x352)]=_0x51f759,this['_configService']=_0x250c4,this[_0x4b9a58(0x1ea)]=_0x1c04e8,this[_0x4b9a58(0x470)]=_0x4aa38f,this['_commentService']=_0x26fc40,this[_0x4b9a58(0x137)]=_0x4be16c,this['_telemetryService']=_0x42662d,this[_0x4b9a58(0x32e)]=!!this[_0x4b9a58(0x378)],_0x4587ab[_0x4b9a58(0x1af)]($['takeUntil'](this[_0x4b9a58(0x248)]))['subscribe'](_0x333559=>{var _0x2667da=_0x4b9a58,_0x239534;typeof _0x333559>'u'||(this['_socket']=_0x333559,_0x333559?(this[_0x2667da(0x404)](_0x333559),this['_socketMessageSubscription']=_0x333559[_0x2667da(0x2bf)][_0x2667da(0x250)](_0x4c5fcd=>{var _0x24a30f=_0x2667da;_0x4c5fcd[_0x24a30f(0x191)]===this[_0x24a30f(0x313)]&&this[_0x24a30f(0x10f)](_0x4c5fcd);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x2667da(0x38d)](0x2),(_0x239534=this['_socketMessageSubscription'])==null||_0x239534['unsubscribe'](),this[_0x2667da(0x36e)]=null));}));}get[_0x126d7f(0x194)](){var _0x5d3bfe=_0x126d7f;return this[_0x5d3bfe(0x1b3)][_0x5d3bfe(0x177)]();}[_0x126d7f(0x237)](){var _0x4a99ad=_0x126d7f,_0x5287ec,_0xc3c7ce;return(_0xc3c7ce=(_0x5287ec=this[_0x4a99ad(0x128)])==null?void 0x0:_0x5287ec[_0x4a99ad(0x19b)])!=null?_0xc3c7ce:null;}[_0x126d7f(0x2eb)](){var _0x394e92=_0x126d7f;super['dispose'](),this[_0x394e92(0x248)][_0x394e92(0x38d)](),this[_0x394e92(0x248)][_0x394e92(0x3fc)]();}[_0x126d7f(0x36c)](){var _0x5b343f=_0x126d7f,_0x3f5f79,_0x24cbeb;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3f5f79=this['_socket'])==null||_0x3f5f79[_0x5b343f(0x234)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x24cbeb=this['_socket'])==null||_0x24cbeb[_0x5b343f(0x36c)](),this[_0x5b343f(0x289)][_0x5b343f(0x3fc)](),this['_sessionStatus$']['complete'](),this[_0x5b343f(0x2eb)]();}['_onCombEvent'](_0x2e53fd){var _0x5a4e2a=_0x126d7f;_0x2e53fd['cmd']===W[_0x5a4e2a(0x43b)]?this[_0x5a4e2a(0x1fa)](_0x2e53fd):_0x2e53fd[_0x5a4e2a(0x363)]===W[_0x5a4e2a(0x293)]&&this[_0x5a4e2a(0x393)](_0x2e53fd);}['_joinRoom'](_0x32645e){var _0x561440=_0x126d7f;this['_sessionStatus$'][_0x561440(0x38d)](0x1),_0x32645e[_0x561440(0x234)]({'cmd':W[_0x561440(0x43b)],'routeKey':this[_0x561440(0x313)],'routeType':'','data':{'rooms':[{'roomID':this[_0x561440(0x313)]}]}});}[_0x126d7f(0x1fa)](_0x309579){var _0x4d79dd=_0x126d7f,_0x1519ee;if(_0x309579[_0x4d79dd(0x2ff)]in Ge){this[_0x4d79dd(0x137)][_0x4d79dd(0x268)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ge[_0x309579[_0x4d79dd(0x2ff)]]}),this['_sessionStatus$'][_0x4d79dd(0x38d)](0x2);return;}this['_sessionStatus$'][_0x4d79dd(0x38d)](0x3);const _0x25d5ec=(_0x1519ee=_0x309579['data'][_0x4d79dd(0x154)][this[_0x4d79dd(0x313)]])==null?void 0x0:_0x1519ee['members'];_0x25d5ec&&_0x25d5ec[_0x4d79dd(0x377)](_0x321918=>this[_0x4d79dd(0x470)][_0x4d79dd(0x32c)](this[_0x4d79dd(0x313)],_0x321918));}[_0x126d7f(0x393)](_0x27b0c6){var _0x31317b=_0x126d7f;try{const _0x5a1c4c=_0x27b0c6[_0x31317b(0x2ce)];switch(_0x5a1c4c['eventID']){case I[_0x31317b(0x158)][_0x31317b(0x244)]:this[_0x31317b(0x176)](_0x5a1c4c),this[_0x31317b(0x289)][_0x31317b(0x38d)](_0x5a1c4c);break;case I[_0x31317b(0x158)][_0x31317b(0x344)]:this[_0x31317b(0x13a)](_0x5a1c4c),this[_0x31317b(0x289)]['next'](_0x5a1c4c);break;case I[_0x31317b(0x158)][_0x31317b(0x38c)]:case I[_0x31317b(0x158)][_0x31317b(0x3f0)]:this[_0x31317b(0x290)](),this[_0x31317b(0x13c)](),this[_0x31317b(0x289)]['next'](_0x5a1c4c);break;case I['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x31317b(0x352)][_0x31317b(0x2af)](_0x31317b(0x16f)+JSON[_0x31317b(0x2b9)](_0x5a1c4c)),this[_0x31317b(0x289)][_0x31317b(0x38d)](_0x5a1c4c);break;case I[_0x31317b(0x158)][_0x31317b(0x1fe)]:this['_commentService'][_0x31317b(0x1c5)](_0x5a1c4c[_0x31317b(0x2ce)]),this['_event$'][_0x31317b(0x38d)](_0x5a1c4c);break;default:this[_0x31317b(0x289)][_0x31317b(0x38d)](_0x5a1c4c);}}catch(_0xbe9df1){this[_0x31317b(0x352)][_0x31317b(0x2af)](_0xbe9df1,_0x27b0c6);}}[_0x126d7f(0x176)](_0x9c38df){var _0x459dc7=_0x126d7f;this[_0x459dc7(0x470)][_0x459dc7(0x32c)](this[_0x459dc7(0x313)],_0x9c38df[_0x459dc7(0x2ce)]);}[_0x126d7f(0x13a)](_0x30a9f8){var _0x2818cd=_0x126d7f;this[_0x2818cd(0x470)]['removeMember'](this[_0x2818cd(0x313)],_0x30a9f8['data'][_0x2818cd(0x19b)]);}async[_0x126d7f(0x234)](_0x389e62,_0x33c4ce){var _0x536a74=_0x126d7f;if(this['sessionStatus']!==0x3||!this[_0x536a74(0x128)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x389e62[_0x536a74(0x2ac)]===I[_0x536a74(0x158)][_0x536a74(0x26c)]&&(this[_0x536a74(0x374)](),this[_0x536a74(0x15f)](_0x389e62)),this['_socket'][_0x536a74(0x234)]({'cmd':W[_0x536a74(0x1df)],'routeKey':_0x33c4ce,'routeType':'','data':_0x389e62});}catch(_0x182961){this['_logService']['error'](_0x182961);}}[_0x126d7f(0x374)](){var _0x2efcb1=_0x126d7f,_0x280156;this[_0x2efcb1(0x1e4)]=setTimeout(()=>{var _0x289001=_0x2efcb1;this[_0x289001(0x1e4)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x289001(0x23d)]});},(_0x280156=this[_0x2efcb1(0x165)]['getConfig'](ke))!=null?_0x280156:St);}[_0x126d7f(0x13c)](){var _0xaaff5d=_0x126d7f;this[_0xaaff5d(0x1e4)]&&(clearTimeout(this[_0xaaff5d(0x1e4)]),this[_0xaaff5d(0x1e4)]=null);}[_0x126d7f(0x15f)](_0x5cabb5){var _0x25e7d4=_0x126d7f;if(!this[_0x25e7d4(0x32e)])return;const {data:_0x8ba392}=_0x5cabb5,{unitID:_0x5774a3,changeset:_0x1ed8cd}=_0x8ba392,{mutations:_0x434f78,type:_0x2ab7cc}=_0x1ed8cd;this['_telemetryInfo']={'unitId':_0x5774a3,'type':_0x2ab7cc,'startTime':performance[_0x25e7d4(0x32a)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x434f78)};}[_0x126d7f(0x290)](){var _0x5abed2=_0x126d7f;if(this[_0x5abed2(0x32e)]){if(!this[_0x5abed2(0x31e)]){this['_logService'][_0x5abed2(0x2af)](_0x5abed2(0x40f),_0x5abed2(0x405));return;}this[_0x5abed2(0x31e)]['stopTime']=performance['now'](),this[_0x5abed2(0x31e)][_0x5abed2(0x277)]=this['_telemetryInfo'][_0x5abed2(0x285)]-this[_0x5abed2(0x31e)][_0x5abed2(0x327)],this[_0x5abed2(0x378)][_0x5abed2(0x29d)](Xt,this[_0x5abed2(0x31e)]),this[_0x5abed2(0x31e)]=null;}}[_0x126d7f(0x206)](){this['_telemetryInfo']=null;}},exports[_0x126d7f(0x314)]=ni([se(0x2,a[_0x126d7f(0x303)]),se(0x3,a['IConfigService']),se(0x4,a[_0x126d7f(0x15b)](a[_0x126d7f(0x2f4)])),se(0x5,a[_0x126d7f(0x15b)](exports[_0x126d7f(0x34f)])),se(0x6,a[_0x126d7f(0x15b)]($e)),se(0x7,a[_0x126d7f(0x15b)](ee)),se(0x8,a[_0x126d7f(0x1ef)](Pt['ITelemetryService']))],exports[_0x126d7f(0x314)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x3a7eaf,_0x109494,_0x1152a9,_0x3c5823)=>{var _0x11b52f=_0x126d7f;for(var _0x374815=_0x3c5823>0x1?void 0x0:_0x3c5823?ri(_0x109494,_0x1152a9):_0x109494,_0x1b1648=_0x3a7eaf[_0x11b52f(0x1aa)]-0x1,_0x22a9d3;_0x1b1648>=0x0;_0x1b1648--)(_0x22a9d3=_0x3a7eaf[_0x1b1648])&&(_0x374815=_0x22a9d3(_0x374815)||_0x374815);return _0x374815;},he=(_0x4cf2f6,_0x528c1f)=>(_0x412f66,_0x3a859a)=>_0x528c1f(_0x412f66,_0x3a859a,_0x4cf2f6);exports[_0x126d7f(0x3d1)]=class extends a[_0x126d7f(0x3f8)]{constructor(_0xbc5f2a,_0x111483,_0x5caae5,_0x6a82cc,_0x177f6a,_0x2841db){var _0x1e1c4a=_0x126d7f;super(),A(this,'_socket$',new $[(_0x1e1c4a(0x22d))](void 0x0)),A(this,_0x1e1c4a(0x225),this['_socket$']['asObservable']()),A(this,_0x1e1c4a(0x43f),null),A(this,_0x1e1c4a(0x1c9),new Map()),A(this,_0x1e1c4a(0x3cc),new $[(_0x1e1c4a(0x22d))](re[_0x1e1c4a(0x23c)])),A(this,'status$',this['_status$'][_0x1e1c4a(0x3c7)]()),A(this,_0x1e1c4a(0x3a5),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x1e1c4a(0x3ed),0x0),A(this,_0x1e1c4a(0x1c2)),A(this,_0x1e1c4a(0x291)),(this['_injector']=_0xbc5f2a,this[_0x1e1c4a(0x352)]=_0x111483,this[_0x1e1c4a(0x165)]=_0x5caae5,this[_0x1e1c4a(0x26b)]=_0x6a82cc,this['_collaborationUIEventService']=_0x177f6a,this['_networkConditionService']=_0x2841db,this['_listenToNetworkCondition']());}get[_0x126d7f(0x128)](){var _0x1e466e=_0x126d7f;return this[_0x1e466e(0x3da)][_0x1e466e(0x177)]();}[_0x126d7f(0x21f)](){var _0x1d362c=_0x126d7f;this[_0x1d362c(0x27c)]&&this[_0x1d362c(0x1d8)](this[_0x1d362c(0x27c)][_0x1d362c(0x375)][_0x1d362c(0x250)](_0x102f57=>{var _0x3184e7=_0x1d362c;_0x102f57&&!this['_socket']&&this[_0x3184e7(0x3a7)](),_0x102f57||this[_0x3184e7(0x1db)]();}));}[_0x126d7f(0x2eb)](){var _0x1634af=_0x126d7f;super[_0x1634af(0x2eb)](),this[_0x1634af(0x46b)](),this[_0x1634af(0x2b6)](),this[_0x1634af(0x34e)](),this[_0x1634af(0x1c9)][_0x1634af(0x377)](_0x547a12=>_0x547a12[_0x1634af(0x2eb)]()),this[_0x1634af(0x1c9)][_0x1634af(0x2ee)](),this[_0x1634af(0x3cc)][_0x1634af(0x3fc)]();}async[_0x126d7f(0x254)](_0x3e46da){var _0x1ed610=_0x126d7f;if(this[_0x1ed610(0x1c9)]['has'](_0x3e46da))return this[_0x1ed610(0x1c9)]['get'](_0x3e46da);this['_tryEnsureSocket']();const _0x5318f1=this['_injector'][_0x1ed610(0x3a9)](exports[_0x1ed610(0x314)],_0x3e46da,this[_0x1ed610(0x3da)][_0x1ed610(0x3c7)]());return this[_0x1ed610(0x1c9)][_0x1ed610(0x15c)](_0x3e46da,_0x5318f1),_0x5318f1;}[_0x126d7f(0x26a)](_0x20c65a){var _0x181db4=_0x126d7f,_0x25a5da;const _0x416078=this[_0x181db4(0x1c9)][_0x181db4(0x462)](_0x20c65a);_0x416078&&(this[_0x181db4(0x1c9)]['delete'](_0x20c65a),_0x416078['close']()),this[_0x181db4(0x1c9)][_0x181db4(0x3d5)]||(_0x25a5da=this[_0x181db4(0x128)])==null||_0x25a5da['close']();}[_0x126d7f(0x3a7)](){var _0x9dbfe6=_0x126d7f;this[_0x9dbfe6(0x3ed)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x126d7f(0x46b)](){var _0x487822=_0x126d7f;this[_0x487822(0x21c)]!=null&&(clearTimeout(this[_0x487822(0x21c)]),this[_0x487822(0x21c)]=null);}async['_createSocket'](){var _0x36d036=_0x126d7f,_0x55f263,_0x49ff4f;const _0x426cba=this['_configService'][_0x36d036(0x198)](ut),_0x3a3bdc=this[_0x36d036(0x165)][_0x36d036(0x198)](K),_0x37c58a=(_0x49ff4f=(_0x55f263=_0x3a3bdc==null?void 0x0:_0x3a3bdc['collabWebSocketUrl'])!=null?_0x55f263:_0x426cba)!=null?_0x49ff4f:dt,_0x2235b6=await this[_0x36d036(0x26b)][_0x36d036(0x31b)](_0x37c58a);return this['_candidateSocket']=_0x2235b6,_0x2235b6;}async[_0x126d7f(0x392)](){var _0x47d1c6=_0x126d7f,_0x4233aa,_0x5793d2;try{const _0x7cdb28=(_0x5793d2=(_0x4233aa=this[_0x47d1c6(0x128)])!=null?_0x4233aa:this[_0x47d1c6(0x43f)])!=null?_0x5793d2:await this['_createSocket']();if(_0x7cdb28){const _0x1a2452=_0x7cdb28[_0x47d1c6(0x234)];_0x7cdb28[_0x47d1c6(0x234)]=_0x1e078e=>(this['_rescheduleHeartbeat'](),_0x1a2452[_0x47d1c6(0x336)](_0x7cdb28,[_0x1e078e])),_0x7cdb28[_0x47d1c6(0x2bf)][_0x47d1c6(0x250)](_0x4384d9=>this[_0x47d1c6(0x25c)](_0x7cdb28,_0x4384d9)),_0x7cdb28[_0x47d1c6(0x279)]['pipe'](V[_0x47d1c6(0x219)](0x1))[_0x47d1c6(0x250)](_0x2f2f75=>this['_logService'][_0x47d1c6(0x2af)](_0x47d1c6(0x146),_0x2f2f75)),_0x7cdb28[_0x47d1c6(0x1b8)][_0x47d1c6(0x1af)](V[_0x47d1c6(0x219)](0x1))[_0x47d1c6(0x250)](()=>{var _0x31454e=_0x47d1c6;this[_0x31454e(0x1b6)](_0x7cdb28);}),_0x7cdb28['close$'][_0x47d1c6(0x1af)](V[_0x47d1c6(0x219)](0x1))[_0x47d1c6(0x250)](_0x4c0134=>{var _0x40292c=_0x47d1c6;this[_0x40292c(0x352)][_0x40292c(0x356)]('[CollaborationSessionService]','socket\x20close',_0x4c0134),this[_0x40292c(0x407)]();});}}catch(_0x671004){this['_logService']['error'](_0x671004),this[_0x47d1c6(0x407)]();}}[_0x126d7f(0x1b6)](_0x18d5fb){var _0x16af7d=_0x126d7f;this[_0x16af7d(0x352)][_0x16af7d(0x356)](_0x16af7d(0x24e),_0x16af7d(0x15d)),_0x18d5fb[_0x16af7d(0x234)]({'cmd':W[_0x16af7d(0x145)]}),this['_rescheduleHeartbeat']();}[_0x126d7f(0x1db)](){var _0x79fe4e=_0x126d7f;this[_0x79fe4e(0x3a5)]=!0x1,this[_0x79fe4e(0x43f)]=null,this[_0x79fe4e(0x3cc)][_0x79fe4e(0x38d)](re[_0x79fe4e(0x27b)]),this['_socket$']['next'](null),this[_0x79fe4e(0x2b6)](),this[_0x79fe4e(0x34e)]();}[_0x126d7f(0x407)](){var _0x2ccda1=_0x126d7f,_0x29e715;this[_0x2ccda1(0x1db)](),this[_0x2ccda1(0x3ed)]<((_0x29e715=this[_0x2ccda1(0x165)][_0x2ccda1(0x198)](ft))!=null?_0x29e715:jt)?(this['_collaborationUIEventService'][_0x2ccda1(0x268)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x2ccda1(0x3eb)]()):this[_0x2ccda1(0x137)][_0x2ccda1(0x268)]({'id':Z[_0x2ccda1(0x265)]});}[_0x126d7f(0x3eb)](){var _0x319d31=_0x126d7f,_0x2e0a86;const _0x312507=this['_retryCount'],_0x5e547d=this['_configService']['getConfig'](K),_0x5d540f=_0x312507===0x0?0x0:((_0x2e0a86=_0x5e547d==null?void 0x0:_0x5e547d[_0x319d31(0x34b)])!=null?_0x2e0a86:$t)*0x2**_0x312507;this[_0x319d31(0x21c)]=setTimeout(()=>{var _0x16443f=_0x319d31;clearTimeout(this[_0x16443f(0x21c)]),this[_0x16443f(0x21c)]=null,this[_0x16443f(0x392)]();},_0x5d540f),this[_0x319d31(0x3ed)]+=0x1;}[_0x126d7f(0x25c)](_0x385311,_0x310c63){var _0x4e2bf2=_0x126d7f;const {cmd:_0x4383fe}=_0x310c63;_0x4383fe===W[_0x4e2bf2(0x145)]&&!this[_0x4e2bf2(0x3a5)]&&(_0x385311['memberID']=_0x310c63[_0x4e2bf2(0x2ce)][_0x4e2bf2(0x19b)],this['_socket$'][_0x4e2bf2(0x38d)](_0x385311),this[_0x4e2bf2(0x3cc)][_0x4e2bf2(0x38d)](re['ONLINE']),this[_0x4e2bf2(0x3a5)]=!0x0,this[_0x4e2bf2(0x43f)]=null),_0x4383fe===W[_0x4e2bf2(0x223)]&&this[_0x4e2bf2(0x2b6)](),this[_0x4e2bf2(0x207)]();}[_0x126d7f(0x207)](){var _0x129925=_0x126d7f,_0x2fce14;this[_0x129925(0x34e)](),this[_0x129925(0x1c2)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2fce14=this[_0x129925(0x165)][_0x129925(0x198)](vt))!=null?_0x2fce14:Ht);}[_0x126d7f(0x346)](){var _0x62e1de=_0x126d7f;this[_0x62e1de(0x128)]['send']({'cmd':W[_0x62e1de(0x223)]}),this[_0x62e1de(0x31f)]();}['_waitForHeartbeatResponse'](){var _0x4b712c=_0x126d7f,_0x319941;this[_0x4b712c(0x291)]=setTimeout(()=>this[_0x4b712c(0x407)](),(_0x319941=this[_0x4b712c(0x165)][_0x4b712c(0x198)](ke))!=null?_0x319941:St);}[_0x126d7f(0x34e)](){var _0x524044=_0x126d7f;this[_0x524044(0x1c2)]!=null&&(clearTimeout(this[_0x524044(0x1c2)]),this[_0x524044(0x1c2)]=null);}[_0x126d7f(0x2b6)](){var _0x1d77fe=_0x126d7f;this[_0x1d77fe(0x291)]!=null&&(clearTimeout(this[_0x1d77fe(0x291)]),this['_timeoutTimer']=null);}},exports[_0x126d7f(0x3d1)]=si([he(0x0,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),he(0x1,a[_0x126d7f(0x303)]),he(0x2,a[_0x126d7f(0x317)]),he(0x3,He),he(0x4,a[_0x126d7f(0x15b)](ee)),he(0x5,a[_0x126d7f(0x1ef)](mt))],exports[_0x126d7f(0x3d1)]);const q=a['createIdentifier'](_0x126d7f(0x387));function oi(_0x2e52fc){var _0x35d401=_0x126d7f;return _0x35d401(0x231)+_0x2e52fc;}var ai=Object[_0x126d7f(0x182)],ci=(_0x22211e,_0x2f9245,_0x4cc47d,_0x12d423)=>{var _0x38cbff=_0x126d7f;for(var _0x21435b=_0x12d423>0x1?void 0x0:_0x12d423?ai(_0x2f9245,_0x4cc47d):_0x2f9245,_0x13ec70=_0x22211e[_0x38cbff(0x1aa)]-0x1,_0x499136;_0x13ec70>=0x0;_0x13ec70--)(_0x499136=_0x22211e[_0x13ec70])&&(_0x21435b=_0x499136(_0x21435b)||_0x21435b);return _0x21435b;},De=(_0x17d0d3,_0x4c3035)=>(_0x28dc17,_0x3a799c)=>_0x4c3035(_0x28dc17,_0x3a799c,_0x17d0d3);function hi(_0x5c0191){var _0x44422b=_0x126d7f;const {unitID:_0x2694a8,mutations:_0x244670}=_0x5c0191;return{'unitId':_0x2694a8,'subUnitId':_0x244670[0x0][_0x44422b(0x331)]['subUnitId']};}function _0x1e63(){var _0x3f0595=['replace','IConfigService','[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.','_executeRemoteChangeset','entries','createSocket','APPLY_DUPLICATED','SheetTransformSelectionsService','_telemetryInfo','_waitForHeartbeatResponse','@univerjs/network','_acknowledgedAwaitingChangeset','function','_collaborationPaused','collaboration-client.config','_applyRemoteChangeset','ONLINE','startTime','_xformMode','format','now','commentUpdate$','updateMember','/universer-api/oidc/authpage','_shouldReportTelemetry','CHANGESET_REVISION_CONFILICT','_transformIMECache','params','HttpImport','uniscriptRunEvent','readInt32LE','addImageSourceCache','apply','univer-pro.collaboration-client.single-active-unit-service','_getRedoStack','CipherParams','objectType','getActiveSheet','confirm','processBlock','baseRev','_remoteChangesetQueue','getTime','_members$','UNIVER_DOC','getCurrentSelections','USERS_LEAVE','encode','_sendHeartbeat','onSyncEditingCollabCursor','_sheetTransformSelectionsService','CollaborationEntity','_isPermissionRej','retryConnectingInterval','_key','/fetchmissing?from=','_clearHeartbeatTimer','MemberService','/-/object/list','transformChangesets','_logService','url','_ENC_XFORM_MODE','toggleOnline','debug','status','AwaitingState','2861012xOaBMr','BlockCipher','/resources','/universer-api/user/session-ticket','COLLAB_SUBMIT_CHANGESET_URL','post','_cipher','CollaborationImageIoService','createEncryptor','fetchMissingChangesets','cmd','c1Prime','transformUndoRedo','charCodeAt','_queuedRemoteChangesets','_transformStateCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CollaborativeUndoRedoService','close$','close','_append','_socketMessageSubscription','_snapshotServerService','_initRequestHeader','People','patch','8umbRoM','_scheduleCollaborationTimeoutTimer','online$','onTransformRemoteChangesetByIMECache','forEach','_telemetryService','_commentUpdate$','synced','SUCCUSS','IPermissionService','Decryptor','@univerjs/sheets','/universer-api/snapshot/','leaveEvent','_toggleOffline','Quantity','/block/','reset','SHA1','_doCryptBlock','collaboration-client.local-cache-service','loadSheet','__creator','FETCH_MISSING','OTHER_CLIENTS_EDITING','CHANGESET_ACK','next','onlyLocal','unitID','INetworkConditionService','LIVESHARE_TERMINATE','_tryEnsureSocket','_onRecvEvent','YUUMI_UNABLE_LOAD_URL','NEW_CHANGESETS','JOIN_ROOM_PERMISSION_DENIED','OpenSSL','_replayCachedMutations','collabSubmitChangesetUrl','_collabSessionService','APPLY_REVISION_CONFILICT','collaborators','slice','_resendTimeout','compute','OfflineState','_onLocalMutation','IContextService','EvpKDF','executeCommand','_socketReady','OTHER_CLIENT_EDITING','reconnect','catch','createInstance','deleteCollaborator','_undoStacks','onRemoteChangeset','LocalUndoRedoService','createDecryptor','init','delay','_redoStacks','UUID','CommandType','_prevBlock','uploadFileServerUrl','pluginName','ERROR_IMAGE_TYPE','startsWith','cfg','_createHelper','pauseCollaboration','_createInitialState','subject','UnitSnapshot','\x0aAfter:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/collaborator','fromCharCode','fromCollab','isInternalEditorID','&assign=','SNAPSHOT_SERVER_URL_KEY','asObservable','BufferedBlockAlgorithm','mutations','?url=','ITransformService','_status$','/object/','ImageUploadStatusType','_handlerCallback','clone','CollaborationSessionService','UNKNOWN_CMD','avatar','decryptBlock','size','salt','resourceIDs','FileId','getUnitType','_socket$','LOGIN_URL_KEY','DEFAULT_FILE_NAME','reject','ImageSourceType','_data','_univerInstanceService','_showConflictNotification','key','list','InsertSheetMutation','SessionStatus','_createHandler','_resendTimer','socketService','SnapshotService','max','_tryReconnect','_transformSelections','_retryCount','type','toDisposable','CHANGESET_SHOULD_RETRY','CLOSE_ROOM','CBC','sid','algo','newCsEvent','conflict','readAsDataURL','Disposable','_incrementRevisionNumber','waitForRoom$','UNKNOWN_CODE','complete','__Key__','RichTextEditingMutation','encryptBlock','MentionType','APPLY_PERMISSION_DENIED','revision','default','_joinRoom','telemetry\x20info\x20is\x20not\x20initialized','IImageIoService','_onConnectionFailed','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UserProfileImg','updatePermissionObjEvent','_getLoginPath','getUnitOnRev','_snapshotService','session.room-permission-denied','[CollaborationSession]','not_collab','_map','Injector','image/jpg','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','DisposableCollection','_initDependencies','mode','UPDATE_CURSOR','[PendingState]:\x20received\x20rejection.','@univerjs-pro/collaboration','_getAPIPrefixPath','onTransformSelections','WECHAT_HAS_BEEN_BOUND','authzUrl','SnapshotServerOverHTTPService','SetSelectionsOperation','requestParams','_sender','image/bmp','Module','exports','selections','[CollaborationEntity]','_iKey','/universer-api/comb','MUTATION','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverNetworkPlugin','INVALID_INVITE_CODE','FetchingMissState','UNAUTHENTICATED','_process','changesets','body','_eventService','YUUMI_ASYNCIO_CANCELLED','_syncEditingCollabCursor','LICENSE_IMPORT_SIZE_EXCEEDED','[OfflineState]:\x20received\x20changeset.','_resendWithTimeout','offline','_replaceFileID','JOIN','_schedule','_transitionLocked','_substituteUndoStack','_candidateSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COLLAB_WEB_SOCKET_URL','editing\x20status\x20changed\x20to','YUUMI_NO_CUBOID_FOR_QUESTION','\x0aCurrent:\x20','/universer-api/stream/file/upload','_undoRedoService','__esModule','PendingState','mergeOverrideWithDependencies','readyForCollab','src','HmacSHA1','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[PendingState]:\x20received\x20acknowledgement.','unitId\x20is\x20not\x20found','infoRsp','DEFAULT_COLLAB_WEB_SOCKET_URL','ISnapshotServerService','ceil','JOINING','JOIN_ROOM_FAILED','collaboratorID','withCredentials','_change$','_keyPriorReset','_handler','addHandlerCallback','/universer-api/uniscript','MD5','COLLAB_SUBMIT_CHANGESET_URL_KEY','_unitInfo$','LICENSE_EXPORT_SIZE_EXCEEDED','get','objects','getRandomValues','3624040voTGwm','_roomCreated$','ERROR_IMAGE','localCacheService','toggleOffline','has','_clearRetryConnectingTimer','PasswordBasedCipher','_injector','onTransformRemoteChangesetByStateCache','LOCAL_CACHE_INTERVAL_KEY','_memberService','HttpExport','onRemoteRej','_collaborationSessionService','24qHhfhY','blockSize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN_ROOM_FULL','[SyncedState]:\x20received\x20rejection.','UniverCollaborationClientPlugin','_waitCount','padding','SEND_CHANGESET_TIMEOUT_KEY','encodeURIComponent','add','_getUndoStack','join','_lockTransition','filter','SerializableCipher','uuidv4','_onCombEvent','concatMap','UNISCRIPT_RUN','hostname','takeUntil','_awaitingChangeset','_httpService','putCollaborators','?size=','_startCollaboration','_onFetchMissResult','_imageSourceCache','RETRY_CONNECTING_MAX_COUNT','INVITE_CODE_HAS_BEEN_UES','ThresholdInterceptorFactory','merge','HMAC','UNRECOGNIZED','_init','AUTHZ_URL_KEY','_unlockTransition','_decreaseWaiting','event$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','call','interceptor','ENSURE_SNAPSHOT_EXECUTION','AuthzIoHttpService','sigBytes','_reverseMap','parse','name','_minBufferSize','fetchMiss','change$','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOnline','UniverInstanceType','_collaborationUIEventService','deserializeToCombResponse','_substituteRedoStack','_onUserLeave','ReplaySubject','_clearCollaborationTimeoutTimer','_permissionService','SNAPSHOT_URL_KEY','session.room-cnt-exceeds','location','2386410Dwazwx','crypto','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','lib','HELLO','[CollaborationSessionService]:\x20socket\x20error','FAIL','awaiting_with_pending','/new_changes','_getSignURL','WorkbookEditablePermission','delete','_parse','APPLY_REJECT','generateRandomId','snapshot','SheetPermissionInitController','focused$','rev','roomInfos','DocCollaborationEntity','univer-pro.collaboration-client-socket-service','onMissedChangesetFetched','CollaborationEvent','_state','@univerjs/core','Inject','set','socket\x20open.','TOO_MANY_REQUESTS','_startTelemetryCollaborationNewChangeset','repeat','ISocketService','univer-pro.collaboration-client.network-condition.service','result','Malformed\x20UTF-8\x20data','_configService','liveShareOperation','LIVESHARE_OPERATION','members$','byteLength','csAckEvent','_entityInit$','randomBytes','enc','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','save\x20fail\x20reason\x20is\x20','_revisionService','/role','Undefined','Could\x20not\x20dynamically\x20require\x20\x22','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','joinRsp','_onUserJoin','getValue','_transformRemoteChangesetByStateCache','isPermissionRej','Base64','[CollaborationUndoRedoService]','findIndex','onTransformIME','HEARTBEAT_TIMEOUT_KEY','isTransformChangesetsSuccess','CollaborationController','_clearUndo','getOwnPropertyDescriptor','_HTTPService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doReset','878CCmRpj','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','override','hasOwnProperty','_createHmacHelper','clamp','updateCursorEvent','appendMutation','mapDocumentTypeToUniverType','getTypeOfUnitAdded$','_disableEditing','routeKey','enableAuthServer','SYNCED','sessionStatus','pad','IUniverInstanceService','fetch_missing','getConfig','encrypt','session','memberID','loadOfflineData','reqId','INVALID_ARGUMENT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','@univerjs/docs','string','_keySchedule','symbol','find','_getDownloadEndpointURL','formatter','getCollabEntity$','floor','SyncedState','length','_changesetReqId','Hasher','_transformStack','map','pipe','msCrypto','getLatestCsReqIdBySid','onMissingChangesets','_sessionStatus$','PENDING','getMember','_onConnectionOpen','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','open$','_userManagerService','_doFinalize','LICENSE_MAX_UNITS_EXCEEDED','_onRemoteRetry','UNIVER_SHEET','csShouldRetryEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','@univerjs/telemetry','UNIVER_PROJECT','_sendHeartbeatTimer','INTERNAL_ERROR','finalize','onCommentUpdate','roles','_transformRemoteChangesetByIMECache','values','_sessions','createIdentifier','getAllMembers','registerHTTPInterceptor','{fileID}','onTransformState','ConflictState','getUnitId','YUUMI_ALL_TABLES_IS_INVALID','serializeCombRequest','shareReplay','commentUpdateEvent','HEARTBEAT_TIMEOUT','DEFAULT_WS_SESSION_TICKET_URL','ICollaborationSocketService','disposeWithMe','_iv','/unit/','_onOffline','keySize','_updateState','includes','INGEST','update','POST','_sendingTimer','getWorkbookSelections','_collaborationTimeoutTimer','pending','_onRemoteChangeset','_instanceService','INVITE_CODE_ALREADY_BOUND','execute','_localeService','BASE64','resend','mixIn','awaitingChangeset','Optional','loadUnitOfRevision','LIVESHARE_NEW_HOST','YUUMI_AI_RUN_FAILED','hasher','listCollaborators','_emitMembers','PY_RUNTIME_SCRIPT_ERROR','_invKeySchedule','Subject','onRemoteRetry','_onJoinRoomEvent','JOIN_ROOM_NOT_EXISTS','decrypt','awaiting','COMMENT_UPDATE','_nDataBytes','INVITE_CODE_REQUIRED','CommentService','_updateStatus','Utf8','title','WordArray','_throwTelemetryCollaborationNewChangeset','_rescheduleHeartbeat','fetching\x20missing\x20changesets\x20from\x20','unpad','_initCloseConn','IMentionIOService','HTTPService','LOCAL_CACHE_INTERVAL','rxjs/operators','_getCurrentRevision','getGlobalObject','getInterceptPoints','_nRounds','headers','setCurrentUser','transformMutationsWithChangeset','UniverCollaborationPlugin','_localCacheService','reduce','take','_updateLocalCache','_clearRedo','_retryConnectingTimer','Workbook','parseChangesetToProtocol','_listenToNetworkCondition','COMPRESS_MUTATION_APPLY','getCurrentUser','_commandService','HEARTBEAT','RxDisposable','socket$','onRemoteAck','[CollaborationState]:\x20apply\x20error!','_type','prototype','byteOffset','NoPadding','JSONX','BehaviorSubject','isTransformMutationsWithChangesetSuccess','words','GLOBAL_ROOMS_CNT_EXCEEDS','unit-cache-','_registerDependencies','c2Prime','send','NOT_FOUND','AWAITING','getMemberID','_getAPIPrefix','[SyncedState]:\x20received\x20acknowledgement.','registerDependencies','_compressMutationService','IDLE','SUBMIT_CHANGESET_TIMEOUT','_config','rxjs','1279yHGNSJ','csRejEvent','state$','_singleActiveUnitService','USERS_ENTER','COMPRESS_MUTATION_SEND','COMPLETION_FINISHED','saveChangeset','dispose$','_submitChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','random','Rectangle','getSnapshotAPIPath','[CollaborationSessionService]','[OfflineState]:\x20received\x20rejection.','subscribe','updatePermissionPoint','CHANGESET_REJ','EMAIL_HAS_BEEN_BOUND','requireSession','_entities','getSheetBlock','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','range','USER_NOT_INVITED_CODE','workbook','/universer-api/authz','_onMessage','_clearLocalCache','actions','SheetCollaborationEntity','from','4456932cvzWtM','sessionStatus$','m2Prime','_members','SOCKET_FAILED','LIVESHARE_FETCH_OPERATIONS','onStarting','emitEvent','fetchThroughInterceptors','closeSession','_socketService','SUBMIT_CHANGESET','buffer','editingUnit','href','_pendingMutations','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','responseType','setWaitCount','_oKey','onCommandExecuted','duration','image/png','error$','UnitEmbedded','OFFLINE','_networkConditionService','$super','concat','objectID','unknown','[PendingState]:\x20unhandled\x20univer\x20type:\x20','enableSingleActiveInstanceLock','6935131KdUSmV','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','stopTime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','method','/allowed','_event$','loadDoc','_getSendChangesetTimeout','SNAPSHOT_HAS_BEEN_REMOVED','PERMISSION_REJ','CONFLICT','push','_stopTelemetryCollaborationNewChangeset','_timeoutTimer','userID','RECV','isTransformMutationsWithChangesetFailure','CollaborationUIEventId','state','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ciphertext','AES','APPLY_NON_SEQUENTIAL_REVISION','kdf','getFocusedUnit','capture','UnitStatus','LEAVE','batchAllowed','getTypeOfUnitDisposed$','Base','then','substr','setShowComponents','unitId','PERMISSION_DENIED','_removeRoom','getCurrentRevOfUnit','session.room-not-exists','SHOULD_CLOSE_CONN','eventID','UNIVER_SLIDE','signUrlServerUrl','error','ivSize','_transformUndoredo','liveShareNewHost','splice','CollaborationSocketService','_onRemoteACK','_clearTimeoutTimer','sin','RETRY_CONNECTING_MAX_COUNT_KEY','stringify','_initMergeInterceptor','textRanges','sheets','StreamCipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','message$','/rev/','transformStack\x20failed!','LICENSE_DISTRO_REJECTED','_hasher','_exhaustRemoteChangesetQueue','image/gif','YUUMI_SUBSCRIPTION_NOT_FOUND','Error\x20on\x20receiving\x20event','_getUploadFileURL','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','action','touchDependencies','DependentOn','shouldCloseConn','data','_createInitialStateImpl','getLocalCacheKey','CompressMutationService','PSEUDO_FETCH_MISSING_RESULT','saveSheetBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','localeService','setConfig','_roomMembers','put','incrementRevOfUnit','DataLoaderService','_onRemoteRejected','_checkMissing','_transformService','session.room-full','MSG_FOR_ERROR','Encryptor','removeMember','origin','UPDATE_PERMISSION_OBJ','[OfflineState]:\x20received\x20acknowledgement.','/universer-api/file/{fileID}/sign-url','originalMeta','firstValueFrom','defineProperty','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','AwaitingWithPendingState','dispose','_clearScheduledTask','ISingleActiveUnitService','clear','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MentionIoHttpService','ICommandService','_hash','\x20-\x20','LocaleService','111933vUuvEQ','extend','_state$','CONNECTOR_DATA_TOO_LARGE','_scheduleCompleteTimestamp','create','NOT_COLLAB','_initUnitPermissionChange','_onConflict','charAt','code','[DataLoaderService]','Failed\x20to\x20update\x20permission\x20point','LOGIN_FAILED','ILogService','session.join-failed','toString','_mode','9SjWgjd','joinEvent','\x20to\x20','getUnitStatus$','reverse','SOCKET_FAILED_RETRY','IUndoRedoService','unitInfo$','target','collaboration_new_changeset','onSendChangeset','RevisionService','_unitID','CollaborationSession','UNIVER_UNKNOWN'];_0x1e63=function(){return _0x3f0595;};return _0x1e63();}exports[_0x126d7f(0x31d)]=class{constructor(_0x551811,_0x4be44e,_0x2bde7a){var _0x36272b=_0x126d7f;this[_0x36272b(0x46d)]=_0x551811,this[_0x36272b(0x2dd)]=_0x4be44e,this[_0x36272b(0x1e7)]=_0x2bde7a;}['transformSelections'](_0x312c11){var _0x5c1c78=_0x126d7f,_0xf8b481,_0x4780e3,_0x3751e1,_0x20ead1;const _0x3d60f1=this[_0x5c1c78(0x46d)][_0x5c1c78(0x462)](X['SheetsSelectionsService']),{unitId:_0x342459,subUnitId:_0x5428f5}=hi(_0x312c11),_0x2738b2=_0x3d60f1==null?void 0x0:_0x3d60f1[_0x5c1c78(0x1e3)](_0x342459)[_0x5c1c78(0x343)](),_0xc63af4=(_0x4780e3=(_0xf8b481=this[_0x5c1c78(0x1e7)]['getUnit'](_0x342459))==null?void 0x0:_0xf8b481[_0x5c1c78(0x33b)]())==null?void 0x0:_0x4780e3['getSheetId']();if(_0x2738b2[_0x5c1c78(0x1aa)]===0x0||!_0x342459||!_0x5428f5)return;const _0x5796af=[{'id':X[_0x5c1c78(0x420)]['id'],'params':{'unitId':_0x342459,'subUnitId':_0xc63af4,'selections':a['Tools']['deepClone'](_0x2738b2)}}],_0x250295=this[_0x5c1c78(0x2dd)][_0x5c1c78(0x215)](_0x312c11,_0x5796af);if(!I[_0x5c1c78(0x22e)](_0x250295))throw _0x250295[_0x5c1c78(0x2af)];const _0x4ce855=(_0x20ead1=(_0x3751e1=_0x250295[_0x5c1c78(0x263)][0x0])==null?void 0x0:_0x3751e1[_0x5c1c78(0x331)])==null?void 0x0:_0x20ead1['selections'];if(Array['isArray'](_0x4ce855)&&_0x4ce855[_0x5c1c78(0x1aa)]){if(_0x4ce855[_0x5c1c78(0x1aa)]===_0x5796af[0x0][_0x5c1c78(0x331)][_0x5c1c78(0x426)][_0x5c1c78(0x1aa)]&&_0x4ce855['every']((_0x5d3006,_0xe22db1)=>a[_0x5c1c78(0x24c)]['equals'](_0x5d3006[_0x5c1c78(0x258)],_0x5796af[0x0][_0x5c1c78(0x331)][_0x5c1c78(0x426)][_0xe22db1][_0x5c1c78(0x258)])))return;this['_injector']['get'](a[_0x5c1c78(0x2f1)])[_0x5c1c78(0x3a4)](X[_0x5c1c78(0x420)]['id'],{'unitId':_0x342459,'subUnitId':_0xc63af4,'selections':_0x4ce855});}}},exports[_0x126d7f(0x31d)]=ci([De(0x0,a[_0x126d7f(0x15b)](a['Injector'])),De(0x1,I[_0x126d7f(0x3cb)]),De(0x2,a['IUniverInstanceService'])],exports[_0x126d7f(0x31d)]);const de=a['createIdentifier'](_0x126d7f(0x337));var je=(_0x18ea0e=>(_0x18ea0e[_0x18ea0e['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x18ea0e[_0x18ea0e[_0x126d7f(0x38b)]=0x1]=_0x126d7f(0x38b),_0x18ea0e))(je||{});const _i=new Set([X[_0x126d7f(0x3e4)]['id']]);function Ke(_0x2df952,_0x387ff0,_0x3a16ab,_0x7e07af,_0xc9abf1){var _0x5ee4e0=_0x126d7f,_0x26d650,_0x45f9b5,_0x92c9b0,_0x5924a4;const _0x3e7687=[];for(const _0x4b56ed of _0x2df952)if(_i[_0x5ee4e0(0x46a)](_0x4b56ed['id'])){if(_0x3e7687[_0x5ee4e0(0x1aa)]>0x0)break;_0x3e7687[_0x5ee4e0(0x28f)](_0x4b56ed);break;}else _0x3e7687[_0x5ee4e0(0x28f)](_0x4b56ed);const _0x39ff2c=(_0x45f9b5=(_0x26d650=_0xc9abf1[_0x5ee4e0(0x221)]())==null?void 0x0:_0x26d650[_0x5ee4e0(0x292)])!=null?_0x45f9b5:_0x5ee4e0(0x280),_0x184136=(_0x5924a4=(_0x92c9b0=_0xc9abf1[_0x5ee4e0(0x221)]())==null?void 0x0:_0x92c9b0[_0x5ee4e0(0x19b)])!=null?_0x5924a4:_0x5ee4e0(0x280);return{'changeset':{'unitID':_0x387ff0,'type':I[_0x5ee4e0(0x18e)](_0x3a16ab['getUnitType'](_0x387ff0)),'baseRev':_0x7e07af[_0x5ee4e0(0x2a9)](_0x387ff0),'revision':0x0,'userID':_0x39ff2c,'memberID':_0x184136,'mutations':_0x3e7687},'pendingMutations':_0x2df952[_0x5ee4e0(0x39d)](_0x3e7687['length'])};}function li(_0x334d9f,_0x2bc7b4,_0x572a5e,_0xeba6b,_0x5af136){var _0x4eb3cf=_0x126d7f,_0x48f8c8,_0x1705b8,_0x46a77d,_0x82028a;const _0x3628e4=[_0x334d9f[_0x4eb3cf(0x218)]((_0x59591f,_0x399607)=>{var _0x2fd4fa=_0x4eb3cf,_0x3c0486;const {id:_0x4f82c4}=_0x59591f,{id:_0x40305e,type:_0x25f6b4}=_0x399607,_0x86c428=(_0x3c0486=_0x59591f['params'])!=null?_0x3c0486:{'actions':null},_0x17717c=_0x399607['params'];if(_0x4f82c4&&_0x4f82c4!==_0x40305e)throw new Error(_0x2fd4fa(0x2e9)+_0x4f82c4+_0x2fd4fa(0x2f3)+_0x40305e+'.');return{..._0x59591f,'id':_0x40305e,'type':_0x25f6b4,'params':{'unitId':_0x17717c[_0x2fd4fa(0x2a6)],'textRanges':_0x17717c[_0x2fd4fa(0x2bb)],'actions':a[_0x2fd4fa(0x22c)]['compose'](_0x86c428[_0x2fd4fa(0x25e)],_0x17717c[_0x2fd4fa(0x25e)])}};},{})],_0x5cd41e=(_0x1705b8=(_0x48f8c8=_0x5af136[_0x4eb3cf(0x221)]())==null?void 0x0:_0x48f8c8[_0x4eb3cf(0x292)])!=null?_0x1705b8:'unknown',_0xad98c3=(_0x82028a=(_0x46a77d=_0x5af136[_0x4eb3cf(0x221)]())==null?void 0x0:_0x46a77d[_0x4eb3cf(0x19b)])!=null?_0x82028a:'unknown';return{'changeset':{'unitID':_0x2bc7b4,'type':I[_0x4eb3cf(0x18e)](_0x572a5e[_0x4eb3cf(0x3d9)](_0x2bc7b4)),'baseRev':_0xeba6b[_0x4eb3cf(0x2a9)](_0x2bc7b4),'revision':0x0,'userID':_0x5cd41e,'memberID':_0xad98c3,'mutations':_0x3628e4},'pendingMutations':[]};}function bt(_0x45ccd5,_0x180426){var _0x4f8cfe=_0x126d7f;const _0x2c2005=new $[(_0x4f8cfe(0x13b))](0x1);return setTimeout(()=>_0x2c2005[_0x4f8cfe(0x38d)](_0x180426),_0x45ccd5),_0x2c2005['asObservable']()[_0x4f8cfe(0x1af)]($[_0x4f8cfe(0x219)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x126d7f(0x3b3)]['MUTATION'],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x5f17fa,_0x37ea0a,_0x19adc9,_0x48cf15)=>{var _0x5b35a0=_0x126d7f;for(var _0x3c5fe0=_0x48cf15>0x1?void 0x0:_0x48cf15?di(_0x37ea0a,_0x19adc9):_0x37ea0a,_0x4a9b4b=_0x5f17fa[_0x5b35a0(0x1aa)]-0x1,_0x112832;_0x4a9b4b>=0x0;_0x4a9b4b--)(_0x112832=_0x5f17fa[_0x4a9b4b])&&(_0x3c5fe0=_0x112832(_0x3c5fe0)||_0x3c5fe0);return _0x3c5fe0;},w=(_0x22a4d5,_0x6e3fd6)=>(_0x426671,_0x4cedb4)=>_0x6e3fd6(_0x426671,_0x4cedb4,_0x22a4d5),Be=(_0x41542d=>(_0x41542d[_0x126d7f(0x2fb)]=_0x126d7f(0x410),_0x41542d[_0x126d7f(0x193)]=_0x126d7f(0x37a),_0x41542d[_0x126d7f(0x1b4)]='pending',_0x41542d[_0x126d7f(0x236)]=_0x126d7f(0x1fd),_0x41542d['AWAITING_WITH_PENDING']=_0x126d7f(0x148),_0x41542d['FETCH_MISS']=_0x126d7f(0x197),_0x41542d['CONFLICT']=_0x126d7f(0x3f6),_0x41542d[_0x126d7f(0x27b)]=_0x126d7f(0x439),_0x41542d))(Be||{});const Rt=0xea60;class ce{constructor(_0x25b6e5,_0x49b8b4,_0xa3e2c2,_0x5acfbb,_0x1b285c,_0x33052c,_0x50a486,_0x278477,_0x28b116){var _0x5d730c=_0x126d7f;A(this,_0x5d730c(0x114),null),A(this,'_pendingMutations',[]),(this[_0x5d730c(0x38f)]=_0x25b6e5,this[_0x5d730c(0x3ee)]=_0x49b8b4,this[_0x5d730c(0x45b)]=_0x1b285c,this[_0x5d730c(0x222)]=_0x33052c,this[_0x5d730c(0x446)]=_0x50a486,this[_0x5d730c(0x170)]=_0x278477,this[_0x5d730c(0x217)]=_0x28b116,this[_0x5d730c(0x114)]=_0xa3e2c2,this[_0x5d730c(0x270)]=_0x5acfbb);}[_0x126d7f(0x2dc)](_0x3bcb7e){var _0x2cd344=_0x126d7f;const _0x2631ab=this['_revisionService'][_0x2cd344(0x2a9)](this[_0x2cd344(0x38f)]);return _0x3bcb7e['revision']>_0x2631ab+0x1?(this[_0x2cd344(0x45b)][_0x2cd344(0x1b2)]({'from':_0x2631ab,'to':_0x3bcb7e[_0x2cd344(0x402)]-0x1}),!0x0):!0x1;}[_0x126d7f(0x2b1)](_0xded9ea){var _0x5e2702=_0x126d7f;this[_0x5e2702(0x446)]['transformUndoRedo'](this[_0x5e2702(0x38f)],_0xded9ea);}[_0x126d7f(0x3ec)](_0x36ffe3){var _0x33aa3f=_0x126d7f,_0x295e05,_0x39525f;(_0x39525f=(_0x295e05=this[_0x33aa3f(0x45b)])[_0x33aa3f(0x41c)])==null||_0x39525f[_0x33aa3f(0x129)](_0x295e05,_0x36ffe3);}[_0x126d7f(0x330)](_0x4d0aed){var _0x4f9984=_0x126d7f,_0x3ed9ff,_0x2e48ab;return(_0x2e48ab=(_0x3ed9ff=this[_0x4f9984(0x45b)])[_0x4f9984(0x17d)])==null?void 0x0:_0x2e48ab[_0x4f9984(0x129)](_0x3ed9ff,_0x4d0aed);}[_0x126d7f(0x368)](_0x577e15){var _0xfb7611=_0x126d7f,_0xf98db2,_0x5064a4;return(_0x5064a4=(_0xf98db2=this[_0xfb7611(0x45b)])[_0xfb7611(0x1ce)])==null?void 0x0:_0x5064a4['call'](_0xf98db2,_0x577e15);}[_0x126d7f(0x1c7)](_0x1f7c14){var _0x3b3b8f=_0x126d7f,_0x54b92c,_0x536b37,_0x43a633;return(_0x43a633=(_0x536b37=(_0x54b92c=this[_0x3b3b8f(0x45b)])[_0x3b3b8f(0x376)])==null?void 0x0:_0x536b37['call'](_0x54b92c,_0x1f7c14))!=null?_0x43a633:_0x1f7c14;}[_0x126d7f(0x178)](_0x4e6280){var _0x47a433=_0x126d7f,_0x262667,_0x1278c1,_0x1aba17;return(_0x1aba17=(_0x1278c1=(_0x262667=this[_0x47a433(0x45b)])[_0x47a433(0x46e)])==null?void 0x0:_0x1278c1[_0x47a433(0x129)](_0x262667,_0x4e6280))!=null?_0x1aba17:_0x4e6280;}[_0x126d7f(0x435)](_0x62544f){var _0x263d9a=_0x126d7f,_0x37d2ec,_0x57dca0;if(this[_0x263d9a(0x3ee)]===J['UNIVER_DOC']){const {unitID:_0x30524d,mutations:_0x3798b1,memberID:_0x2f059b}=_0x62544f,_0x47843f=_0x3798b1[0x0][_0x263d9a(0x331)]['textRanges'];Array['isArray'](_0x47843f)&&_0x47843f['length']>0x0&&((_0x57dca0=(_0x37d2ec=this[_0x263d9a(0x45b)])[_0x263d9a(0x347)])==null||_0x57dca0['call'](_0x37d2ec,{'unitID':_0x30524d,'memberID':_0x2f059b,'textRanges':_0x47843f}));}}[_0x126d7f(0x21a)](){var _0x5b28e7=_0x126d7f,_0xf10109;(_0xf10109=this[_0x5b28e7(0x217)])==null||_0xf10109['updateOfflineData'](this[_0x5b28e7(0x38f)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x126d7f(0x20f)](){var _0x3db806=_0x126d7f;return this['_revisionService'][_0x3db806(0x2a9)](this['unitID']);}[_0x126d7f(0x3f9)](){var _0x1c50d5=_0x126d7f;this[_0x1c50d5(0x170)][_0x1c50d5(0x2d9)](this[_0x1c50d5(0x38f)]);}[_0x126d7f(0x319)](_0x162b1b){var _0x3698bd=_0x126d7f,_0x431e0b;let _0x13d98e=this[_0x3698bd(0x1c7)](_0x162b1b);_0x13d98e=this[_0x3698bd(0x178)](_0x13d98e);const _0x497ae7=a['sequenceExecute'](_0x13d98e[_0x3698bd(0x3c9)],this[_0x3698bd(0x222)],{'fromCollab':!0x0});if(!_0x497ae7[_0x3698bd(0x163)])throw _0x497ae7[_0x3698bd(0x2af)]instanceof Error?_0x497ae7[_0x3698bd(0x2af)]:new Error((_0x431e0b=_0x497ae7['error'])!=null?_0x431e0b:_0x3698bd(0x227));this[_0x3698bd(0x330)](_0x13d98e),this[_0x3698bd(0x368)](_0x13d98e),this['_transformUndoredo'](_0x162b1b),this[_0x3698bd(0x3ec)](_0x13d98e),this[_0x3698bd(0x435)](_0x13d98e),this[_0x3698bd(0x3f9)]();}}exports[_0x126d7f(0x1a9)]=class extends ce{constructor(_0x4a34a6,_0x141373,_0x59affb,_0x47cbf3,_0xe46b58,_0x3ed66a,_0x30330a,_0x163d90,_0x3e5ffb,_0xb63156){var _0x44b111=_0x126d7f;super(_0x4a34a6,_0x141373,null,[],_0x59affb,_0x30330a,_0x3ed66a,_0x47cbf3,_0xb63156),A(this,_0x44b111(0x357),_0x44b111(0x37a)),(this[_0x44b111(0x46d)]=_0xe46b58,this['_logService']=_0x163d90,this[_0x44b111(0x2dd)]=_0x3e5ffb,this[_0x44b111(0x468)]=_0xb63156);}[_0x126d7f(0x18d)](_0x11fa05){var _0x38ff33=_0x126d7f;const _0x195fa2=this[_0x38ff33(0x46d)][_0x38ff33(0x3a9)](exports[_0x38ff33(0x448)],this[_0x38ff33(0x38f)],this[_0x38ff33(0x3ee)],[_0x11fa05],this['_handler']);return _0x195fa2[_0x38ff33(0x43c)](),_0x195fa2[_0x38ff33(0x21a)](),_0x195fa2;}[_0x126d7f(0x3ac)](_0x44b2c6){var _0x538af6=_0x126d7f;if(this[_0x538af6(0x2dc)](_0x44b2c6))return this[_0x538af6(0x46d)]['createInstance'](exports[_0x538af6(0x42e)],this[_0x538af6(0x38f)],this[_0x538af6(0x3ee)],null,[],null,[_0x44b2c6],this[_0x538af6(0x45b)]);try{const _0x517aa3=this[_0x538af6(0x2dd)][_0x538af6(0x215)](_0x44b2c6,[ui]);if(I[_0x538af6(0x22e)](_0x517aa3)){const {c1Prime:_0x263ca1}=_0x517aa3;return this[_0x538af6(0x319)](_0x263ca1),this;}throw _0x517aa3[_0x538af6(0x2af)];}catch(_0x5d4485){return this[_0x538af6(0x352)][_0x538af6(0x2af)](_0x5d4485),this['_onConflict'](!0x1);}}[_0x126d7f(0x2fd)](_0x4195a0){var _0x5c39f3=_0x126d7f;return this['_injector'][_0x5c39f3(0x3a9)](exports[_0x5c39f3(0x1cf)],this[_0x5c39f3(0x38f)],this['type'],null,[],this[_0x5c39f3(0x45b)],_0x4195a0);}['onRemoteAck'](){var _0x4e5079=_0x126d7f;throw new Error(_0x4e5079(0x239));}[_0x126d7f(0xfc)](){var _0x590d75=_0x126d7f;throw new Error(_0x590d75(0x102));}[_0x126d7f(0x1f9)](){return this;}[_0x126d7f(0x469)](){var _0x1508af=_0x126d7f;return this[_0x1508af(0x46d)][_0x1508af(0x3a9)](exports[_0x1508af(0x3a0)],this['unitID'],this[_0x1508af(0x3ee)],null,[],this['_handler']);}[_0x126d7f(0x355)](){return this;}['resend'](){var _0x35c8a4=_0x126d7f;throw new Error(_0x35c8a4(0x174));}[_0x126d7f(0x132)](){var _0x1f933a=_0x126d7f;const _0x4e7836=this[_0x1f933a(0x170)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x1f933a(0x45b)][_0x1f933a(0x1b2)]({'from':_0x4e7836,'to':0x0}),this[_0x1f933a(0x46d)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this[_0x1f933a(0x45b)]);}},exports['SyncedState']=ae([w(0x3,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),w(0x4,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),w(0x5,a[_0x126d7f(0x30d)]),w(0x6,a[_0x126d7f(0x2f1)]),w(0x7,a[_0x126d7f(0x303)]),w(0x8,I['ITransformService']),w(0x9,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x1a9)]),exports['PendingState']=class extends ce{constructor(_0x27146f,_0x4914d3,_0x45a220,_0x20f62,_0x16f358,_0x40d87d,_0x494ae2,_0x5a5982,_0x230e28,_0x4bf0e7,_0x446d8a,_0x3369fd,_0x1ef70f,_0x3eeb36){var _0x8164fa=_0x126d7f;super(_0x27146f,_0x4914d3,null,_0x45a220,_0x20f62,_0x230e28,_0x1ef70f,_0x40d87d,_0x3eeb36),A(this,_0x8164fa(0x357),_0x8164fa(0x1e5)),A(this,_0x8164fa(0x2f9),null),A(this,_0x8164fa(0x1e2),null),(this['_injector']=_0x16f358,this[_0x8164fa(0x470)]=_0x494ae2,this['_logService']=_0x5a5982,this[_0x8164fa(0x165)]=_0x4bf0e7,this[_0x8164fa(0x2dd)]=_0x446d8a,this[_0x8164fa(0x3e0)]=_0x3369fd);}['appendMutation'](_0x36c43e){var _0x1cb12a=_0x126d7f;return this[_0x1cb12a(0x270)][_0x1cb12a(0x28f)](_0x36c43e),this[_0x1cb12a(0x21a)](),this;}['onRemoteChangeset'](_0x33d317){var _0x453737=_0x126d7f;if(this['_checkMissing'](_0x33d317))return this[_0x453737(0x2ec)](),this['_injector'][_0x453737(0x3a9)](exports[_0x453737(0x42e)],this[_0x453737(0x38f)],this['type'],null,this[_0x453737(0x270)],null,[_0x33d317],this[_0x453737(0x45b)]);try{const _0xcc1f1a=this['_transformService']['transformMutationsWithChangeset'](_0x33d317,this[_0x453737(0x270)]);if(I[_0x453737(0x22e)](_0xcc1f1a)){const {c1Prime:_0x55c59d,m2Prime:_0x1a4e8c}=_0xcc1f1a;this[_0x453737(0x319)](_0x55c59d);const _0x429e20=this[_0x453737(0x46d)][_0x453737(0x3a9)](exports[_0x453737(0x448)],this[_0x453737(0x38f)],this[_0x453737(0x3ee)],_0x1a4e8c,this[_0x453737(0x45b)]);this['_clearScheduledTask']();const _0x2b871a=new Date()[_0x453737(0x340)](),_0x1ec7e2=this[_0x453737(0x2f9)]?Math[_0x453737(0x3ea)](this['_scheduleCompleteTimestamp']-_0x2b871a,0x0):this[_0x453737(0x28b)]();return _0x429e20['_schedule'](_0x1ec7e2),_0x429e20;}throw _0xcc1f1a[_0x453737(0x2af)];}catch(_0x2977a1){return this[_0x453737(0x352)][_0x453737(0x2af)](_0x2977a1),this[_0x453737(0x2fd)](!0x1);}}['onRemoteAck'](){var _0x4cab89=_0x126d7f;throw new Error(_0x4cab89(0x44f));}[_0x126d7f(0xfc)](){var _0x20e8bc=_0x126d7f;throw new Error(_0x20e8bc(0x419));}[_0x126d7f(0x1f9)](){return this;}[_0x126d7f(0x469)](){var _0x4257dd=_0x126d7f;return this[_0x4257dd(0x2ec)](),this[_0x4257dd(0x46d)][_0x4257dd(0x3a9)](exports['OfflineState'],this[_0x4257dd(0x38f)],this[_0x4257dd(0x3ee)],null,this['_pendingMutations'],this['_handler']);}[_0x126d7f(0x355)](){return this;}[_0x126d7f(0x43c)](_0x565163){var _0x5dc861=_0x126d7f;const _0x49353a=_0x565163!=null?_0x565163:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x5dc861(0x340)]()+_0x49353a,this[_0x5dc861(0x1e2)]=setTimeout(()=>{var _0x3635b0=_0x5dc861;this[_0x3635b0(0x2ec)]();let _0x389d36=null;switch(this['type']){case J[_0x3635b0(0x1bd)]:{_0x389d36=Ke(this[_0x3635b0(0x270)],this[_0x3635b0(0x38f)],this['_univerInstanceService'],this['_revisionService'],this[_0x3635b0(0x470)]);break;}case J[_0x3635b0(0x342)]:{this['_pendingMutations']['every'](_0x2186a0=>_0x2186a0['id']===ht[_0x3635b0(0x3fe)]['id'])?_0x389d36=li(this[_0x3635b0(0x270)],this[_0x3635b0(0x38f)],this[_0x3635b0(0x3e0)],this['_revisionService'],this[_0x3635b0(0x470)]):_0x389d36=Ke(this[_0x3635b0(0x270)],this[_0x3635b0(0x38f)],this[_0x3635b0(0x3e0)],this[_0x3635b0(0x170)],this[_0x3635b0(0x470)]);break;}default:throw new Error(_0x3635b0(0x281)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0xea9a83,pendingMutations:_0x2aa99d}=_0x389d36;this[_0x3635b0(0x45b)]['onSendChangeset'](_0xea9a83);const _0x179771=_0x2aa99d['length']?this[_0x3635b0(0x46d)][_0x3635b0(0x3a9)](exports[_0x3635b0(0x2ea)],this[_0x3635b0(0x38f)],this['type'],_0xea9a83,_0x2aa99d,this[_0x3635b0(0x45b)],void 0x0):this[_0x3635b0(0x46d)][_0x3635b0(0x3a9)](exports['AwaitingState'],this[_0x3635b0(0x38f)],this['type'],_0xea9a83,this[_0x3635b0(0x45b)]);_0x179771[_0x3635b0(0x21a)](),this['_handler']['onStateChange'](this,_0x179771);},_0x49353a);}[_0x126d7f(0x28b)](){var _0x5a410f=_0x126d7f,_0x4bb0f3;const _0xd5a8ce=this['_configService'][_0x5a410f(0x198)](K);return(_0x4bb0f3=_0xd5a8ce==null?void 0x0:_0xd5a8ce['sendChangesetTimeout'])!=null?_0x4bb0f3:xt;}[_0x126d7f(0x1ec)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x126d7f(0x2ec)](){var _0x289b24=_0x126d7f;this[_0x289b24(0x1e2)]!=null&&(clearTimeout(this[_0x289b24(0x1e2)]),this[_0x289b24(0x1e2)]=null);}[_0x126d7f(0x2fd)](_0x424b2a){var _0x11e1ad=_0x126d7f;return this[_0x11e1ad(0x2ec)](),this[_0x11e1ad(0x46d)][_0x11e1ad(0x3a9)](exports[_0x11e1ad(0x1cf)],this[_0x11e1ad(0x38f)],this[_0x11e1ad(0x3ee)],null,this[_0x11e1ad(0x270)],this[_0x11e1ad(0x45b)],_0x424b2a);}},exports[_0x126d7f(0x448)]=ae([w(0x4,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),w(0x5,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),w(0x6,a[_0x126d7f(0x15b)](exports['MemberService'])),w(0x7,a[_0x126d7f(0x303)]),w(0x8,a[_0x126d7f(0x2f1)]),w(0x9,a[_0x126d7f(0x317)]),w(0xa,I[_0x126d7f(0x3cb)]),w(0xb,a[_0x126d7f(0x196)]),w(0xc,a[_0x126d7f(0x30d)]),w(0xd,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x448)]),exports['AwaitingState']=class extends ce{constructor(_0x41f435,_0x2c98af,_0xc8f1ba,_0xc20690,_0x1d55fa,_0x2cc705,_0x2aaf67,_0x513729,_0x9a0d73,_0x5351c2,_0x5d91f5){var _0x42ba43=_0x126d7f;super(_0x41f435,_0x2c98af,_0xc8f1ba,[],_0xc20690,_0x2aaf67,_0x5351c2,_0x2cc705,_0x5d91f5),A(this,'status','awaiting'),A(this,_0x42ba43(0x39e),0x0),A(this,_0x42ba43(0x3e7)),A(this,'_sender'),(this[_0x42ba43(0x46d)]=_0x1d55fa,this['_logService']=_0x513729,this[_0x42ba43(0x2dd)]=_0x9a0d73);}['appendMutation'](_0x421a37){var _0x52f113=_0x126d7f;this[_0x52f113(0x2ec)]();const _0x163921=this[_0x52f113(0x46d)]['createInstance'](exports[_0x52f113(0x2ea)],this[_0x52f113(0x38f)],this[_0x52f113(0x3ee)],this['_awaitingChangeset'],[_0x421a37],this[_0x52f113(0x45b)],this[_0x52f113(0x3e7)]);return _0x163921[_0x52f113(0x21a)](),_0x163921;}[_0x126d7f(0x3ac)](_0x403c89){var _0x78fa84=_0x126d7f;if(this[_0x78fa84(0x2dc)](_0x403c89))return this['_clearScheduledTask'](),this[_0x78fa84(0x46d)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x78fa84(0x3ee)],this[_0x78fa84(0x114)],[],null,[_0x403c89],this[_0x78fa84(0x45b)]);try{const _0x361eaa=this['_transformService'][_0x78fa84(0x351)]([_0x403c89],[this[_0x78fa84(0x114)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x361eaa)){const {c1Prime:_0x34d6e4,c2Prime:_0x1afcfc}=_0x361eaa;this[_0x78fa84(0x319)](_0x34d6e4[0x0]),_0x1afcfc[0x0][_0x78fa84(0x33e)]=this[_0x78fa84(0x20f)](),this['_clearScheduledTask']();const _0x4e0caf=this[_0x78fa84(0x46d)]['createInstance'](exports[_0x78fa84(0x358)],this[_0x78fa84(0x38f)],this[_0x78fa84(0x3ee)],_0x1afcfc[0x0],this[_0x78fa84(0x45b)]);return _0x4e0caf[_0x78fa84(0x21a)](),_0x4e0caf;}return this[_0x78fa84(0x2fd)](!0x1);}catch(_0x267194){return this[_0x78fa84(0x352)][_0x78fa84(0x2af)](_0x267194),this['_onConflict'](!0x1);}}[_0x126d7f(0x226)](_0x30223c){var _0x4020d8=_0x126d7f;this['_clearScheduledTask']();const _0x2d5c85=this[_0x4020d8(0x170)][_0x4020d8(0x2a9)](this[_0x4020d8(0x38f)]);if(_0x30223c['revision']<_0x2d5c85-0x1)return this;if(this['_checkMissing'](_0x30223c))return this['_injector'][_0x4020d8(0x3a9)](exports[_0x4020d8(0x42e)],this[_0x4020d8(0x38f)],this[_0x4020d8(0x3ee)],null,[],this[_0x4020d8(0x114)],[],this[_0x4020d8(0x45b)]);this['_incrementRevisionNumber']();const _0x567982=this['_injector'][_0x4020d8(0x3a9)](exports[_0x4020d8(0x1a9)],this[_0x4020d8(0x38f)],this[_0x4020d8(0x3ee)],this[_0x4020d8(0x45b)]);return _0x567982['_updateLocalCache'](),_0x567982;}['onRemoteRej'](_0x141a63){var _0x4829ee=_0x126d7f;return this['_onConflict'](!!(_0x141a63!=null&&_0x141a63[_0x4829ee(0x179)]));}[_0x126d7f(0x1f9)](_0x57eb4f){var _0x1c6c45=_0x126d7f;return this[_0x1c6c45(0x39e)]>Rt?this[_0x1c6c45(0x469)]():(this[_0x1c6c45(0x3e7)]=bt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x57eb4f[_0x1c6c45(0x19d)]}),this['_sender']=this[_0x1c6c45(0x3e7)][_0x1c6c45(0x250)](({reqId:_0x567da7,timeout:_0x581c1f})=>{var _0x2851a9=_0x1c6c45;this[_0x2851a9(0x438)](_0x567da7,_0x581c1f);}),this);}[_0x126d7f(0x469)](){var _0x3bb0e5=_0x126d7f;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x3bb0e5(0x3ee)],this['_awaitingChangeset'],[],this[_0x3bb0e5(0x45b)]);}[_0x126d7f(0x355)](){return this;}['resend'](){var _0xd724db=_0x126d7f;this[_0xd724db(0x45b)]['onSendChangeset'](this[_0xd724db(0x114)]);}[_0x126d7f(0x2fd)](_0x37d50d){var _0x2638cc=_0x126d7f;return this[_0x2638cc(0x2ec)](),this[_0x2638cc(0x46d)][_0x2638cc(0x3a9)](exports['ConflictState'],this[_0x2638cc(0x38f)],this[_0x2638cc(0x3ee)],this[_0x2638cc(0x114)],[],this[_0x2638cc(0x45b)],_0x37d50d);}[_0x126d7f(0x438)](_0x683e08,_0x192ea3){var _0x3b0189=_0x126d7f,_0x129f6e;_0x683e08===((_0x129f6e=this[_0x3b0189(0x114)])==null?void 0x0:_0x129f6e[_0x3b0189(0x19d)])&&(this[_0x3b0189(0x1ec)](),this[_0x3b0189(0x39e)]=_0x192ea3===0x0?0x3e8:_0x192ea3*0x2);}['_clearScheduledTask'](){var _0x359554=_0x126d7f,_0x492b27;(_0x492b27=this[_0x359554(0x422)])==null||_0x492b27['unsubscribe'](),this['_resendTimeout']=0x0;}},exports['AwaitingState']=ae([w(0x4,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),w(0x5,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),w(0x6,a[_0x126d7f(0x2f1)]),w(0x7,a[_0x126d7f(0x303)]),w(0x8,I[_0x126d7f(0x3cb)]),w(0x9,a[_0x126d7f(0x30d)]),w(0xa,a[_0x126d7f(0x1ef)](q))],exports['AwaitingState']),exports[_0x126d7f(0x2ea)]=class extends ce{constructor(_0x45c9e3,_0xb311cd,_0x41f571,_0xc727ab,_0x353509,_0x2f5628,_0x59f58c,_0x36bcad,_0x2d5e19,_0x5955d4,_0x51f6d1,_0x435f2f,_0x3dfcf7){var _0x18e633=_0x126d7f;super(_0x45c9e3,_0xb311cd,_0x41f571,_0xc727ab,_0x353509,_0x2d5e19,_0x435f2f,_0x36bcad,_0x3dfcf7),A(this,_0x18e633(0x357),_0x18e633(0x148)),A(this,_0x18e633(0x39e),0x0),A(this,'_resendTimer'),A(this,_0x18e633(0x422)),(this['_injector']=_0x59f58c,this[_0x18e633(0x352)]=_0x5955d4,this['_transformService']=_0x51f6d1,this['localCacheService']=_0x3dfcf7,_0x2f5628&&(this[_0x18e633(0x3e7)]=_0x2f5628,this[_0x18e633(0x422)]=this[_0x18e633(0x3e7)][_0x18e633(0x250)](({reqId:_0x572480,timeout:_0x319234})=>{this['_resendWithTimeout'](_0x572480,_0x319234);})));}[_0x126d7f(0x18d)](_0x5382e2){var _0x2a16e7=_0x126d7f;return this[_0x2a16e7(0x270)]['push'](_0x5382e2),this;}[_0x126d7f(0x3ac)](_0xe78a0c){var _0x111acc=_0x126d7f;if(this[_0x111acc(0x2dc)](_0xe78a0c))return this['_clearScheduledTask'](),this[_0x111acc(0x46d)][_0x111acc(0x3a9)](exports[_0x111acc(0x42e)],this['unitID'],this[_0x111acc(0x3ee)],this[_0x111acc(0x114)],this['_pendingMutations'],null,[_0xe78a0c],this[_0x111acc(0x45b)]);try{const _0x4f2155=this[_0x111acc(0x2dd)]['transformChangesets']([_0xe78a0c],[this[_0x111acc(0x114)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x4f2155)){const {c1Prime:_0xc94c7a,c2Prime:_0x5b53b6}=_0x4f2155,_0xf76314=this[_0x111acc(0x2dd)][_0x111acc(0x215)](_0xc94c7a[0x0],this[_0x111acc(0x270)]);if(I[_0x111acc(0x22e)](_0xf76314)){const {c1Prime:_0x8a0b5a,m2Prime:_0x3a8418}=_0xf76314;return this[_0x111acc(0x319)](_0x8a0b5a),_0x5b53b6[0x0][_0x111acc(0x33e)]=this['_getCurrentRevision'](),this[_0x111acc(0x2ec)](),this[_0x111acc(0x46d)][_0x111acc(0x3a9)](exports[_0x111acc(0x2ea)],this[_0x111acc(0x38f)],this[_0x111acc(0x3ee)],_0x5b53b6[0x0],_0x3a8418,this['_handler'],void 0x0);}throw _0xf76314[_0x111acc(0x2af)];}throw _0x4f2155[_0x111acc(0x2af)];}catch(_0x53d13e){return this['_logService'][_0x111acc(0x2af)](_0x53d13e),this['_onConflict'](!0x1);}}[_0x126d7f(0x226)](_0x4b642e){var _0x222478=_0x126d7f;if(this[_0x222478(0x2ec)](),this['_checkMissing'](_0x4b642e))return this[_0x222478(0x46d)][_0x222478(0x3a9)](exports[_0x222478(0x42e)],this['unitID'],this[_0x222478(0x3ee)],null,this[_0x222478(0x270)],this[_0x222478(0x114)],[],this[_0x222478(0x45b)]);this[_0x222478(0x3f9)]();const _0x5eb0f7=this[_0x222478(0x46d)][_0x222478(0x3a9)](exports[_0x222478(0x448)],this[_0x222478(0x38f)],this[_0x222478(0x3ee)],this[_0x222478(0x270)],this[_0x222478(0x45b)]);return _0x5eb0f7[_0x222478(0x43c)](),_0x5eb0f7[_0x222478(0x21a)](),_0x5eb0f7;}[_0x126d7f(0xfc)](_0x4e7d07){var _0x5fadf5=_0x126d7f;return this['_onConflict'](!!(_0x4e7d07!=null&&_0x4e7d07[_0x5fadf5(0x179)]));}['onRemoteRetry'](_0x39fdf5){var _0x2582d8=_0x126d7f;return this['_resendTimeout']>Rt?this[_0x2582d8(0x469)]():(this[_0x2582d8(0x3e7)]=bt(this[_0x2582d8(0x39e)],{'timeout':this['_resendTimeout'],'reqId':_0x39fdf5['reqId']}),this[_0x2582d8(0x422)]=this['_resendTimer'][_0x2582d8(0x250)](({reqId:_0x2decb0,timeout:_0xff06bc})=>{var _0x5f3df5=_0x2582d8;this[_0x5f3df5(0x438)](_0x2decb0,_0xff06bc);}),this);}[_0x126d7f(0x469)](){var _0x124e6d=_0x126d7f;return this[_0x124e6d(0x2ec)](),this[_0x124e6d(0x46d)][_0x124e6d(0x3a9)](exports['OfflineState'],this[_0x124e6d(0x38f)],this[_0x124e6d(0x3ee)],this['_awaitingChangeset'],this[_0x124e6d(0x270)],this[_0x124e6d(0x45b)]);}[_0x126d7f(0x355)](){return this;}['resend'](){var _0x3f4830=_0x126d7f;this['_handler'][_0x3f4830(0x311)](this[_0x3f4830(0x114)]);}[_0x126d7f(0x2fd)](_0x563e3a){var _0x583584=_0x126d7f;return this[_0x583584(0x2ec)](),this[_0x583584(0x46d)][_0x583584(0x3a9)](exports[_0x583584(0x1cf)],this['unitID'],this[_0x583584(0x3ee)],null,this['_pendingMutations'],this[_0x583584(0x45b)],_0x563e3a);}['_resendWithTimeout'](_0x17ee49,_0x264f38){var _0x105420=_0x126d7f,_0x45159b;_0x17ee49===((_0x45159b=this[_0x105420(0x114)])==null?void 0x0:_0x45159b[_0x105420(0x19d)])&&(this[_0x105420(0x1ec)](),this[_0x105420(0x39e)]=_0x264f38===0x0?0x3e8:_0x264f38*0x2);}[_0x126d7f(0x2ec)](){var _0xc176e3=_0x126d7f,_0x58606c;(_0x58606c=this[_0xc176e3(0x422)])==null||_0x58606c['unsubscribe'](),this[_0xc176e3(0x39e)]=0x0;}},exports[_0x126d7f(0x2ea)]=ae([w(0x6,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),w(0x7,a['Inject'](I[_0x126d7f(0x312)])),w(0x8,a[_0x126d7f(0x2f1)]),w(0x9,a['ILogService']),w(0xa,I[_0x126d7f(0x3cb)]),w(0xb,a[_0x126d7f(0x30d)]),w(0xc,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x2ea)]),exports['ConflictState']=class extends ce{constructor(_0x808537,_0x22f719,_0x42509a,_0x6d2916,_0xff9a55,_0x4dbfdd=!0x1,_0x55e26b,_0x1b535a,_0x117849,_0x241d95,_0x1b7e10,_0xd48fa6,_0x1c303c){var _0x3804e1=_0x126d7f;super(_0x808537,_0x22f719,_0x42509a,_0x6d2916,_0xff9a55,_0x1b535a,_0x117849,_0x241d95,_0x1c303c),A(this,_0x3804e1(0x357),'conflict'),(this['_isPermissionRej']=_0x4dbfdd,this[_0x3804e1(0x13d)]=_0x55e26b,this[_0x3804e1(0x1ea)]=_0x1b7e10,this['_collaborationUIEventService']=_0xd48fa6,this['localCacheService']=_0x1c303c,this[_0x3804e1(0x3e1)](),this[_0x3804e1(0x25d)](),this[_0x3804e1(0x190)]());}[_0x126d7f(0x18d)](){return this;}[_0x126d7f(0x3ac)](){return this;}[_0x126d7f(0x226)](){return this;}[_0x126d7f(0xfc)](){return this;}[_0x126d7f(0x1f9)](){return this;}['toggleOffline'](){return this;}[_0x126d7f(0x355)](){return this;}[_0x126d7f(0x1ec)](){var _0x44e1e2=_0x126d7f;throw new Error(_0x44e1e2(0x127));}[_0x126d7f(0x25d)](){var _0x4fb7f4=_0x126d7f,_0x40cbaa;(_0x40cbaa=this[_0x4fb7f4(0x217)])==null||_0x40cbaa['updateOfflineData'](this[_0x4fb7f4(0x38f)],this[_0x4fb7f4(0x3ee)],null,[]);}['_showConflictNotification'](){var _0x5af0ae=_0x126d7f;this[_0x5af0ae(0x34a)]?this[_0x5af0ae(0x137)]['emitEvent']({'id':Z['PERMISSION_DENIED']}):this[_0x5af0ae(0x137)][_0x5af0ae(0x268)]({'id':Z[_0x5af0ae(0x28e)]});}[_0x126d7f(0x190)](){var _0x45430d=_0x126d7f;this['_permissionService'][_0x45430d(0x251)](new X[(_0x45430d(0x14b))](this[_0x45430d(0x38f)])['id'],!0x1);}},exports[_0x126d7f(0x1cf)]=ae([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x126d7f(0x2f1)]),w(0x8,a[_0x126d7f(0x30d)]),w(0x9,a[_0x126d7f(0x15b)](I['RevisionService'])),w(0xa,a[_0x126d7f(0x15b)](a[_0x126d7f(0x2f4)])),w(0xb,a[_0x126d7f(0x15b)](ee)),w(0xc,a['Optional'](q))],exports['ConflictState']),exports[_0x126d7f(0x3a0)]=class extends ce{constructor(_0x11fba5,_0x103ecd,_0x14e4d0,_0x27d053,_0x374c5d,_0xbcbec4,_0xa0e35d,_0x3982af,_0x16c219,_0xe8af82){var _0x1cb71e=_0x126d7f;super(_0x11fba5,_0x103ecd,_0x14e4d0,_0x27d053,_0x374c5d,_0x3982af,_0x16c219,_0xa0e35d,_0xe8af82),A(this,_0x1cb71e(0x357),_0x1cb71e(0x439)),this[_0x1cb71e(0x46d)]=_0xbcbec4;}[_0x126d7f(0x18d)](_0x3f9ca9){var _0x288dc2=_0x126d7f;return this[_0x288dc2(0x270)][_0x288dc2(0x28f)](_0x3f9ca9),this[_0x288dc2(0x21a)](),this;}['onRemoteChangeset'](_0x1b0726){var _0x18190a=_0x126d7f;throw new Error(_0x18190a(0x437));}[_0x126d7f(0x226)](){var _0x35351=_0x126d7f;throw new Error(_0x35351(0x2e4));}[_0x126d7f(0xfc)](){var _0x351343=_0x126d7f;throw new Error(_0x351343(0x24f));}[_0x126d7f(0x1f9)](){return this;}[_0x126d7f(0x469)](){return this;}[_0x126d7f(0x355)](){var _0x29648b=_0x126d7f;const {_injector:_0x172f91,_pendingMutations:_0x20bad7,_awaitingChangeset:_0xe13974,unitID:_0x573f87,_handler:_0x257360,type:_0x5ecd45}=this,_0x495e2e=Ot(_0x172f91,_0x573f87,_0x5ecd45,_0xe13974,_0x20bad7,_0x257360);return _0x495e2e instanceof exports[_0x29648b(0x448)]?_0x495e2e['_schedule']():(_0x495e2e instanceof exports[_0x29648b(0x2ea)]||_0x495e2e instanceof exports['AwaitingState'])&&_0x495e2e[_0x29648b(0x1ec)](),_0x495e2e;}[_0x126d7f(0x1ec)](){var _0x4ea596=_0x126d7f;throw new Error(_0x4ea596(0x143));}},exports[_0x126d7f(0x3a0)]=ae([w(0x5,a['Inject'](a[_0x126d7f(0x412)])),w(0x6,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),w(0x7,a[_0x126d7f(0x2f1)]),w(0x8,a[_0x126d7f(0x30d)]),w(0x9,a['Optional'](q))],exports['OfflineState']),exports[_0x126d7f(0x42e)]=class extends ce{constructor(_0x3ddfa3,_0x40e179,_0x21b647,_0x4935cd,_0x3de3f3,_0x24984f,_0x255cb5,_0x56fb3d,_0x4411c0,_0x5348c7,_0xd7159e,_0x178fd1,_0xb03056,_0x58985e){var _0x29e999=_0x126d7f;super(_0x3ddfa3,_0x40e179,_0x21b647,_0x4935cd,_0x255cb5,_0xd7159e,_0x178fd1,_0x4411c0,_0x58985e),A(this,_0x29e999(0x357),_0x29e999(0x197)),(this['_acknowledgedAwaitingChangeset']=_0x3de3f3,this['_queuedRemoteChangesets']=_0x24984f,this[_0x29e999(0x46d)]=_0x56fb3d,this[_0x29e999(0x352)]=_0x5348c7,this['_transformService']=_0xb03056,this[_0x29e999(0x468)]=_0x58985e);}[_0x126d7f(0x157)](_0x591c0a){var _0x2ea317=_0x126d7f;try{const _0x363433=[..._0x591c0a,...this[_0x2ea317(0x367)]],_0x1e9736=[this['_awaitingChangeset']||this[_0x2ea317(0x321)]][_0x2ea317(0x10c)](_0x27a2c0=>!!_0x27a2c0);let _0x27e617,_0x2c5f58;if(_0x1e9736[_0x2ea317(0x1aa)]){const _0x851027=this[_0x2ea317(0x2dd)][_0x2ea317(0x351)](_0x363433,_0x1e9736,!0x1);if(!I[_0x2ea317(0x17f)](_0x851027))throw _0x851027[_0x2ea317(0x2af)];_0x27e617=_0x851027[_0x2ea317(0x364)],_0x2c5f58=_0x851027[_0x2ea317(0x233)];}else _0x27e617=_0x363433,_0x2c5f58=[];let _0x19d58d=this[_0x2ea317(0x270)];_0x27e617[_0x2ea317(0x377)](_0x1c0979=>{var _0x50dac9=_0x2ea317;let _0x3f7bc5;if(_0x19d58d['length']){const _0x571677=this[_0x50dac9(0x2dd)]['transformMutationsWithChangeset'](_0x1c0979,_0x19d58d);if(!I['isTransformMutationsWithChangesetSuccess'](_0x571677))throw _0x571677[_0x50dac9(0x2af)];_0x3f7bc5=_0x571677[_0x50dac9(0x364)],_0x19d58d=_0x571677[_0x50dac9(0x263)];}else _0x3f7bc5=_0x1c0979;this[_0x50dac9(0x319)](_0x3f7bc5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2ea317(0x3f9)](),this[_0x2ea317(0x114)]&&_0x2c5f58['length']&&(_0x2c5f58[0x0][_0x2ea317(0x33e)]=this[_0x2ea317(0x20f)]());let _0x326984;if(this['_awaitingChangeset']&&_0x19d58d[_0x2ea317(0x1aa)]!==0x0)_0x326984=this[_0x2ea317(0x46d)][_0x2ea317(0x3a9)](exports['AwaitingWithPendingState'],this[_0x2ea317(0x38f)],this['type'],_0x2c5f58[0x0],_0x19d58d,this[_0x2ea317(0x45b)],void 0x0);else{if(this[_0x2ea317(0x114)]&&_0x19d58d['length']===0x0)_0x2c5f58[0x0][_0x2ea317(0x33e)]=this[_0x2ea317(0x20f)](),_0x326984=this[_0x2ea317(0x46d)]['createInstance'](exports[_0x2ea317(0x358)],this[_0x2ea317(0x38f)],this[_0x2ea317(0x3ee)],_0x2c5f58[0x0],this[_0x2ea317(0x45b)]);else{if(_0x19d58d['length']!==0x0){const _0x418567=this[_0x2ea317(0x46d)][_0x2ea317(0x3a9)](exports[_0x2ea317(0x448)],this['unitID'],this['type'],_0x19d58d,this[_0x2ea317(0x45b)]);_0x418567[_0x2ea317(0x43c)](),_0x326984=_0x418567;}else _0x326984=this[_0x2ea317(0x46d)][_0x2ea317(0x3a9)](exports[_0x2ea317(0x1a9)],this['unitID'],this[_0x2ea317(0x3ee)],this['_handler']);}}return _0x326984[_0x2ea317(0x21a)](),_0x326984;}catch(_0x4e7797){return this[_0x2ea317(0x352)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x4e7797),this['_injector'][_0x2ea317(0x3a9)](exports[_0x2ea317(0x1cf)],this[_0x2ea317(0x38f)],this[_0x2ea317(0x3ee)],this[_0x2ea317(0x114)],this['_pendingMutations'],this[_0x2ea317(0x45b)],!0x1);}}[_0x126d7f(0x1ec)](){var _0xf59807=_0x126d7f;throw new Error(_0xf59807(0x1b7));}['appendMutation'](_0x5dbf2a){var _0x145336=_0x126d7f;return this[_0x145336(0x270)][_0x145336(0x28f)](_0x5dbf2a),this;}[_0x126d7f(0x3ac)](_0x5e08c9){var _0xe6da9e=_0x126d7f;return this['_queuedRemoteChangesets'][_0xe6da9e(0x28f)](_0x5e08c9),this;}[_0x126d7f(0x226)](_0x557a2c){var _0x2f59c7=_0x126d7f;if(this[_0x2f59c7(0x114)])return this['_acknowledgedAwaitingChangeset']=this[_0x2f59c7(0x114)],this[_0x2f59c7(0x114)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x126d7f(0xfc)](_0x3aaae5){var _0x5b0047=_0x126d7f;return this[_0x5b0047(0x2fd)](!!(_0x3aaae5!=null&&_0x3aaae5[_0x5b0047(0x179)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x403e83=_0x126d7f;return this[_0x403e83(0x46d)][_0x403e83(0x3a9)](exports['OfflineState'],this[_0x403e83(0x38f)],this[_0x403e83(0x3ee)],this[_0x403e83(0x114)],this[_0x403e83(0x270)],this[_0x403e83(0x45b)]);}[_0x126d7f(0x355)](){return this;}[_0x126d7f(0x2fd)](_0x2f54e3){var _0x4102a7=_0x126d7f;return this[_0x4102a7(0x46d)][_0x4102a7(0x3a9)](exports[_0x4102a7(0x1cf)],this[_0x4102a7(0x38f)],this[_0x4102a7(0x3ee)],this[_0x4102a7(0x114)],this['_pendingMutations'],this[_0x4102a7(0x45b)],_0x2f54e3);}},exports['FetchingMissState']=ae([w(0x7,a['Inject'](a[_0x126d7f(0x412)])),w(0x8,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),w(0x9,a['ILogService']),w(0xa,a[_0x126d7f(0x2f1)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x126d7f(0x3cb)]),w(0xd,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x42e)]);function Ot(_0x41e661,_0x1fe9d9,_0x9649b6,_0x5d982b,_0x267369,_0x23a053){var _0x160e84=_0x126d7f;return _0x5d982b&&_0x267369[_0x160e84(0x1aa)]?_0x41e661[_0x160e84(0x3a9)](exports[_0x160e84(0x2ea)],_0x1fe9d9,_0x9649b6,_0x5d982b,_0x267369,_0x23a053,void 0x0):_0x5d982b?_0x41e661[_0x160e84(0x3a9)](exports[_0x160e84(0x358)],_0x1fe9d9,_0x9649b6,_0x5d982b,_0x23a053):_0x267369[_0x160e84(0x1aa)]?_0x41e661[_0x160e84(0x3a9)](exports[_0x160e84(0x448)],_0x1fe9d9,_0x9649b6,_0x267369,_0x23a053):_0x41e661[_0x160e84(0x3a9)](exports[_0x160e84(0x1a9)],_0x1fe9d9,_0x9649b6,_0x23a053);}var vi=Object[_0x126d7f(0x182)],Fe=(_0x5135f5,_0x10d2b8,_0x1c3079,_0xe9b936)=>{var _0x2c75fc=_0x126d7f;for(var _0x8aaa25=_0xe9b936>0x1?void 0x0:_0xe9b936?vi(_0x10d2b8,_0x1c3079):_0x10d2b8,_0x4a7950=_0x5135f5[_0x2c75fc(0x1aa)]-0x1,_0x590d31;_0x4a7950>=0x0;_0x4a7950--)(_0x590d31=_0x5135f5[_0x4a7950])&&(_0x8aaa25=_0x590d31(_0x8aaa25)||_0x8aaa25);return _0x8aaa25;},j=(_0x3a5863,_0x183afd)=>(_0x40a38f,_0x58237d)=>_0x183afd(_0x40a38f,_0x58237d,_0x3a5863);exports[_0x126d7f(0x349)]=class extends a[_0x126d7f(0x224)]{constructor(_0x17c467,_0x5de182,_0x51bba3,_0x2f82f6,_0x3c386e,_0xcfdb82,_0x1f97f9,_0x1aac6f,_0x2f7231,_0x2892e8,_0x5af85a,_0x33238f,_0xa5053d){var _0x34972d=_0x126d7f;super(),A(this,_0x34972d(0x2f7),new $['BehaviorSubject'](null)),A(this,'state$',this[_0x34972d(0x2f7)][_0x34972d(0x3c7)]()),A(this,_0x34972d(0x159)),A(this,_0x34972d(0x323),!0x1),A(this,'_changesetSessionId',''),A(this,_0x34972d(0x1ab),0x0),A(this,'status$',this[_0x34972d(0x242)]['pipe']($[_0x34972d(0x1ae)](_0x25b350=>_0x25b350?_0x25b350[_0x34972d(0x357)]:Be[_0x34972d(0x27b)]),$[_0x34972d(0x1d3)](0x1))),A(this,_0x34972d(0x43d),!0x1),A(this,_0x34972d(0x33f),[]),(this[_0x34972d(0x38f)]=_0x17c467,this['session']=_0x5de182,this[_0x34972d(0x228)]=_0x51bba3,this[_0x34972d(0x46d)]=_0x2f82f6,this[_0x34972d(0x23b)]=_0x3c386e,this[_0x34972d(0x1ea)]=_0xcfdb82,this[_0x34972d(0x170)]=_0x1f97f9,this[_0x34972d(0x433)]=_0x1aac6f,this['_logService']=_0x2f7231,this[_0x34972d(0x222)]=_0x2892e8,this[_0x34972d(0x13d)]=_0x5af85a,this[_0x34972d(0x243)]=_0x33238f,this[_0x34972d(0x217)]=_0xa5053d);}get[_0x126d7f(0x296)](){return this['_state'];}async[_0x126d7f(0x3af)](){var _0x45791a=_0x126d7f;if(this[_0x45791a(0x296)])throw new Error(_0x45791a(0x257));await this['_init']();}[_0x126d7f(0x3bb)](){var _0x434a6e=_0x126d7f;return this[_0x434a6e(0x323)]=!0x0,a[_0x434a6e(0x3ef)](()=>{var _0xf91005=_0x434a6e;this['_collaborationPaused']=!0x1,this[_0xf91005(0x2c4)]();});}['onLocalMutation'](_0x175ce0){this['_onLocalMutation'](_0x175ce0);}[_0x126d7f(0x1dd)](_0x38eaac){var _0x200ba6=_0x126d7f;this['_state']=_0x38eaac,this[_0x200ba6(0x2f7)][_0x200ba6(0x38d)](_0x38eaac);}async['_init'](){var _0x58e6d=_0x126d7f,_0xc8b0b4;this[_0x58e6d(0x1dd)](await this[_0x58e6d(0x3bc)]()),this['_singleActiveUnitService']&&((_0xc8b0b4=this[_0x58e6d(0x243)])==null||_0xc8b0b4[_0x58e6d(0x26e)](this[_0x58e6d(0x38f)]),this[_0x58e6d(0x1d8)](this['_singleActiveUnitService'][_0x58e6d(0x30a)](this['unitID'])['subscribe'](_0x181381=>{var _0x38e213=_0x58e6d;this['_logService']['debug']('[CollaborationEntity]',_0x38e213(0x442),_0x181381),_0x181381===je[_0x38e213(0x38b)]?(this[_0x38e213(0x433)]['emitEvent']({'id':Z[_0x38e213(0x3a6)]}),this[_0x38e213(0x13d)][_0x38e213(0x251)](new X['WorkbookEditablePermission'](this[_0x38e213(0x38f)])['id'],!0x1),this[_0x38e213(0x13d)]['setShowComponents'](!0x1)):(this[_0x38e213(0x13d)][_0x38e213(0x251)](new X[(_0x38e213(0x14b))](this[_0x38e213(0x38f)])['id'],!0x0),this[_0x38e213(0x13d)][_0x38e213(0x2a5)](!0x0));})));let _0x452446=!0x1;return this[_0x58e6d(0x1d8)](this[_0x58e6d(0x19a)]['sessionStatus$']['subscribe'](_0x575834=>{var _0x80a655=_0x58e6d;_0x575834===re['ONLINE']?this[_0x80a655(0x135)](_0x452446):_0x575834===re[_0x80a655(0x27b)]&&(_0x452446=!0x0,this[_0x80a655(0x381)]());})),this[_0x58e6d(0x1d8)](this[_0x58e6d(0x19a)][_0x58e6d(0x125)]['subscribe'](_0x4cd7b1=>{var _0x1aa550=_0x58e6d;try{switch(_0x4cd7b1[_0x1aa550(0x2ac)]){case I['CollaborationEvent'][_0x1aa550(0x395)]:{this[_0x1aa550(0x1e6)](I['parseProtocolChangeset'](_0x4cd7b1[_0x1aa550(0x2ce)]));break;}case I[_0x1aa550(0x158)][_0x1aa550(0x38c)]:{this[_0x1aa550(0x2b5)](_0x4cd7b1[_0x1aa550(0x2ce)]);break;}case I[_0x1aa550(0x158)][_0x1aa550(0x252)]:{this[_0x1aa550(0x2db)]();break;}case I['CollaborationEvent'][_0x1aa550(0x3f0)]:{this[_0x1aa550(0x1bc)](_0x4cd7b1[_0x1aa550(0x2ce)]);break;}case I[_0x1aa550(0x158)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1aa550(0x119)](_0x4cd7b1[_0x1aa550(0x2ce)][_0x1aa550(0x431)][_0x1aa550(0x1ae)](_0x4fb223=>I['parseProtocolChangeset'](_0x4fb223)));break;}case I['CollaborationEvent'][_0x1aa550(0x28d)]:{this[_0x1aa550(0x2db)]({'isPermissionRej':!0x0});break;}case I['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x31d561){throw console[_0x1aa550(0x2af)](_0x1aa550(0x2c7),_0x31d561),_0x31d561;}})),this[_0x58e6d(0x159)];}[_0x126d7f(0x123)](){var _0x3807f5=_0x126d7f;this[_0x3807f5(0x43d)]=!0x1;}[_0x126d7f(0x10b)](){var _0x378e9c=_0x126d7f;if(this[_0x378e9c(0x43d)])throw new Error(_0x378e9c(0x318));this[_0x378e9c(0x43d)]=!0x0;}[_0x126d7f(0x3a1)](_0x2cf0e3){var _0x3ccd1c=_0x126d7f;this[_0x3ccd1c(0x10b)](),this[_0x3ccd1c(0x1dd)](this[_0x3ccd1c(0x159)][_0x3ccd1c(0x18d)](_0x2cf0e3)),this[_0x3ccd1c(0x123)]();}[_0x126d7f(0x1e6)](_0xc626af){var _0x588f93=_0x126d7f;if(!(_0xc626af[_0x588f93(0x402)]<=this[_0x588f93(0x170)][_0x588f93(0x2a9)](this[_0x588f93(0x38f)]))){if(this[_0x588f93(0x323)]){this['_remoteChangesetQueue'][_0x588f93(0x28f)](_0xc626af);return;}this[_0x588f93(0x325)](_0xc626af);}}[_0x126d7f(0x2c4)](){var _0x5368d0=_0x126d7f;this[_0x5368d0(0x33f)][_0x5368d0(0x377)](_0x1a5686=>this[_0x5368d0(0x325)](_0x1a5686)),this['_remoteChangesetQueue']=[];}[_0x126d7f(0x325)](_0x313c03){var _0x35c2fc=_0x126d7f;const _0x5aef75=this[_0x35c2fc(0x23b)][_0x35c2fc(0x12a)][_0x35c2fc(0x269)](this[_0x35c2fc(0x23b)][_0x35c2fc(0x12a)][_0x35c2fc(0x211)]()['COMPRESS_MUTATION_APPLY'])(_0x313c03['mutations'],null)||_0x313c03[_0x35c2fc(0x3c9)],_0x225732={..._0x313c03,'mutations':_0x5aef75};this['_lockTransition'](),this[_0x35c2fc(0x1dd)](this[_0x35c2fc(0x159)][_0x35c2fc(0x3ac)](_0x225732)),this[_0x35c2fc(0x123)]();}['_onRemoteACK'](_0xbd9c86){var _0x143aa7=_0x126d7f;this['_lockTransition'](),this[_0x143aa7(0x1dd)](this['_state'][_0x143aa7(0x226)](_0xbd9c86)),this[_0x143aa7(0x123)]();}['_onRemoteRejected'](_0x1212bd){var _0x124e96=_0x126d7f;this[_0x124e96(0x10b)](),this[_0x124e96(0x1dd)](this[_0x124e96(0x159)][_0x124e96(0xfc)](_0x1212bd)),this[_0x124e96(0x123)]();}[_0x126d7f(0x1bc)](_0x519fd1){var _0x55ed51=_0x126d7f;this[_0x55ed51(0x10b)](),this[_0x55ed51(0x1dd)](this[_0x55ed51(0x159)]['onRemoteRetry'](_0x519fd1)),this['_unlockTransition']();}[_0x126d7f(0x119)](_0x5ea3a4){var _0x1efb8c=_0x126d7f;if(!(this['_state']instanceof exports[_0x1efb8c(0x42e)]))throw new TypeError(_0x1efb8c(0x440));const _0x38542c=_0x5ea3a4['map'](_0x37948b=>{var _0x1b6e34=_0x1efb8c;const _0x3c1c6f=this[_0x1b6e34(0x23b)][_0x1b6e34(0x12a)][_0x1b6e34(0x269)](this['_compressMutationService'][_0x1b6e34(0x12a)]['getInterceptPoints']()[_0x1b6e34(0x220)])(_0x37948b[_0x1b6e34(0x3c9)],null)||_0x37948b[_0x1b6e34(0x3c9)];return{..._0x37948b,'mutations':_0x3c1c6f};});this[_0x1efb8c(0x10b)](),this['_updateState'](this['_state'][_0x1efb8c(0x157)](_0x38542c)),this[_0x1efb8c(0x123)]();}[_0x126d7f(0x381)](){var _0x44f7a0=_0x126d7f;this[_0x44f7a0(0x10b)](),this[_0x44f7a0(0x1dd)](this[_0x44f7a0(0x159)][_0x44f7a0(0x469)]()),this['_unlockTransition']();}[_0x126d7f(0x135)](_0x6edafb=!0x1){var _0x3b627a=_0x126d7f;this[_0x3b627a(0x10b)](),this[_0x3b627a(0x1dd)](this[_0x3b627a(0x159)]['toggleOnline']()),this[_0x3b627a(0x123)]();const _0x1a0c5d=this['_state'];_0x6edafb&&_0x1a0c5d instanceof exports[_0x3b627a(0x1a9)]&&(this['_lockTransition'](),this[_0x3b627a(0x1dd)](_0x1a0c5d[_0x3b627a(0x132)]()),this[_0x3b627a(0x123)]());}async[_0x126d7f(0x3bc)](){return new Promise(_0x5be9c4=>{var _0x3b60c7=_0x5282;this[_0x3b60c7(0x19a)][_0x3b60c7(0x262)][_0x3b60c7(0x1af)]($[_0x3b60c7(0x219)](0x1))[_0x3b60c7(0x250)](async _0xa91d42=>{var _0x3d03e8=_0x3b60c7;_0x5be9c4(await this['_createInitialStateImpl'](_0xa91d42===re[_0x3d03e8(0x326)]));});});}[_0x126d7f(0x3e6)](){var _0x50a598=_0x126d7f;const _0x1e01dc=this[_0x50a598(0x38f)];return{'onStateChange':(_0x150ddb,_0x8567df)=>{var _0x490587=_0x50a598;if(_0x150ddb!==this['_state'])throw new Error(_0x490587(0x2d4)+_0x150ddb['status']+_0x490587(0x3bf)+_0x8567df['status']+_0x490587(0x444)+this[_0x490587(0x159)][_0x490587(0x357)]);this['_updateState'](_0x8567df);},'onSendChangeset':_0x1f6f1e=>{var _0x5cf7fc=_0x50a598;_0x1f6f1e['sid']||(_0x1f6f1e[_0x5cf7fc(0x3f3)]=this['_changesetSessionId'],_0x1f6f1e[_0x5cf7fc(0x19d)]=++this[_0x5cf7fc(0x1ab)]);const _0x3d11cf={'eventID':I[_0x5cf7fc(0x158)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1f6f1e['unitID'],'unitType':this['_type'],'changeset':_0x1f6f1e,'memberID':this['session']['getMemberID']()}};this[_0x5cf7fc(0x19a)][_0x5cf7fc(0x234)](_0x3d11cf,this['unitID']);},'onMissingChangesets':({from:_0x314388,to:_0x2d1d82})=>{var _0x17851f=_0x50a598;this[_0x17851f(0x352)][_0x17851f(0x356)](_0x17851f(0x427),_0x17851f(0x208)+_0x314388+_0x17851f(0x309)+_0x2d1d82);const _0x5161b2={'eventID':I['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x1e01dc,'unitType':this['_type'],'from':_0x314388,'to':_0x2d1d82}};this['session'][_0x17851f(0x234)](_0x5161b2,this[_0x17851f(0x38f)]);}};}async[_0x126d7f(0x2cf)](_0x5dd58f){var _0x1d247b=_0x126d7f,_0x56d014,_0x5c7c74,_0x105d3b;const _0x2468a4=await((_0x56d014=this[_0x1d247b(0x217)])==null?void 0x0:_0x56d014[_0x1d247b(0x19c)](this[_0x1d247b(0x38f)])),_0x34b67b=(_0x5c7c74=_0x2468a4==null?void 0x0:_0x2468a4[_0x1d247b(0x3c9)])!=null?_0x5c7c74:[],_0x2069d7=(_0x105d3b=_0x2468a4==null?void 0x0:_0x2468a4['awaitingChangeset'])!=null?_0x105d3b:null,_0x3d70ef=!!(_0x2069d7!=null&&_0x2069d7[_0x1d247b(0x3f3)])&&!!(_0x2069d7!=null&&_0x2069d7[_0x1d247b(0x19d)]);this['_changesetSessionId']=_0x3d70ef?_0x2069d7['sid']:I[_0x1d247b(0x10e)](),this[_0x1d247b(0x1ab)]=_0x3d70ef?_0x2069d7[_0x1d247b(0x19d)]:0x0;const _0x589e69=this[_0x1d247b(0x38f)];try{this[_0x1d247b(0x398)](_0x2069d7,_0x34b67b);}catch(_0x2e9024){this[_0x1d247b(0x352)][_0x1d247b(0x2af)](_0x2e9024);}const _0x72c7bd=this[_0x1d247b(0x3e6)]();if(_0x5dd58f){const _0x4d755f=Ot(this['_injector'],_0x589e69,this['_type'],_0x2069d7,_0x34b67b,_0x72c7bd);return _0x4d755f instanceof exports[_0x1d247b(0x448)]?_0x4d755f[_0x1d247b(0x43c)]():(_0x4d755f instanceof exports[_0x1d247b(0x2ea)]||_0x4d755f instanceof exports['AwaitingState'])&&_0x4d755f['resend'](),_0x4d755f;}return this[_0x1d247b(0x46d)][_0x1d247b(0x3a9)](exports['OfflineState'],_0x589e69,this[_0x1d247b(0x228)],_0x2069d7,_0x34b67b,_0x72c7bd);}[_0x126d7f(0x398)](_0x195a48,_0x69f923){var _0x21675b=_0x126d7f,_0x103e3e,_0xacbe31;const _0x4a45f1=this['_compressMutationService'][_0x21675b(0x12a)][_0x21675b(0x269)](this[_0x21675b(0x23b)][_0x21675b(0x12a)][_0x21675b(0x211)]()[_0x21675b(0x220)]);(_0x103e3e=_0x4a45f1((_0x195a48==null?void 0x0:_0x195a48[_0x21675b(0x3c9)])||[],null))==null||_0x103e3e[_0x21675b(0x377)](_0x373222=>this[_0x21675b(0x222)][_0x21675b(0x3a4)](_0x373222['id'],_0x373222[_0x21675b(0x331)])),(_0xacbe31=_0x4a45f1(_0x69f923||[],null))==null||_0xacbe31[_0x21675b(0x377)](_0x1389db=>this[_0x21675b(0x222)][_0x21675b(0x3a4)](_0x1389db['id'],_0x1389db['params']));}},exports[_0x126d7f(0x349)]=Fe([j(0x3,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),j(0x4,a[_0x126d7f(0x15b)](I[_0x126d7f(0x2d1)])),j(0x5,a[_0x126d7f(0x15b)](a['LocaleService'])),j(0x6,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x126d7f(0x303)]),j(0x9,a[_0x126d7f(0x2f1)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x349)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x17a36b,_0x1834d7,_0x80d006,_0x562d5e,_0x5946d9,_0x5aa2bb,_0x398c33,_0x29a1f3,_0x51d5e0,_0x2458ec,_0x3a8fad,_0x18f5fa,_0x479ce0){var _0x2c8733=_0x126d7f;super(_0x17a36b,_0x80d006,_0x1834d7,_0x562d5e,_0x5946d9,_0x5aa2bb,_0x398c33,_0x29a1f3,_0x51d5e0,_0x2458ec,_0x3a8fad,_0x18f5fa,_0x479ce0),A(this,'_handlerCallback',null),(this['unitID']=_0x17a36b,this[_0x2c8733(0x3ee)]=_0x1834d7);}[_0x126d7f(0x45c)](_0xf5f996){var _0x3634e6=_0x126d7f;this[_0x3634e6(0x3cf)]=_0xf5f996;}[_0x126d7f(0x2eb)](){var _0x4a0b1d=_0x126d7f;this[_0x4a0b1d(0x3cf)]=null,super[_0x4a0b1d(0x2eb)]();}[_0x126d7f(0x3e6)](){var _0x110740=_0x126d7f;const _0x49e6cb=super['_createHandler']();return _0x49e6cb['onTransformIME']=_0x14d2b0=>{var _0x8f3339=_0x5282,_0x2fd1a2,_0x1ac837;return(_0x1ac837=(_0x2fd1a2=this[_0x8f3339(0x3cf)])==null?void 0x0:_0x2fd1a2[_0x8f3339(0x17d)])==null?void 0x0:_0x1ac837['call'](_0x2fd1a2,_0x14d2b0);},_0x49e6cb[_0x110740(0x1ce)]=_0xaa4bcb=>{var _0xe0097f=_0x110740,_0x49ba16,_0x18aa71;return(_0x18aa71=(_0x49ba16=this[_0xe0097f(0x3cf)])==null?void 0x0:_0x49ba16[_0xe0097f(0x1ce)])==null?void 0x0:_0x18aa71[_0xe0097f(0x129)](_0x49ba16,_0xaa4bcb);},_0x49e6cb[_0x110740(0x41c)]=_0x2b1e56=>{var _0x25e02e=_0x110740,_0x5a9467,_0x59381e;return(_0x59381e=(_0x5a9467=this[_0x25e02e(0x3cf)])==null?void 0x0:_0x5a9467['onTransformSelections'])==null?void 0x0:_0x59381e[_0x25e02e(0x129)](_0x5a9467,_0x2b1e56);},_0x49e6cb['onSyncEditingCollabCursor']=_0x220091=>{var _0x86040d=_0x110740,_0x4ea559,_0x4a9105;return(_0x4a9105=(_0x4ea559=this[_0x86040d(0x3cf)])==null?void 0x0:_0x4ea559[_0x86040d(0x347)])==null?void 0x0:_0x4a9105[_0x86040d(0x129)](_0x4ea559,_0x220091);},_0x49e6cb[_0x110740(0x376)]=_0x45a64d=>{var _0x40c53d=_0x110740,_0x758467,_0x7be702,_0x4ba5d6;if(!((_0x758467=this[_0x40c53d(0x3cf)])!=null&&_0x758467[_0x40c53d(0x376)]))throw new Error(_0x40c53d(0x408));return(_0x4ba5d6=(_0x7be702=this[_0x40c53d(0x3cf)])==null?void 0x0:_0x7be702['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4ba5d6[_0x40c53d(0x129)](_0x7be702,_0x45a64d);},_0x49e6cb[_0x110740(0x46e)]=_0x5b37ed=>{var _0x17d719=_0x110740,_0x278c44,_0x3231f1,_0x499501;if(!((_0x278c44=this[_0x17d719(0x3cf)])!=null&&_0x278c44['onTransformRemoteChangesetByStateCache']))throw new Error(_0x17d719(0x414));return(_0x499501=(_0x3231f1=this[_0x17d719(0x3cf)])==null?void 0x0:_0x3231f1[_0x17d719(0x46e)])==null?void 0x0:_0x499501['call'](_0x3231f1,_0x5b37ed);},_0x49e6cb;}async['_init'](){var _0x56129e=_0x126d7f;const _0x4b2e9e=await super[_0x56129e(0x121)]();return this[_0x56129e(0x1d8)](this[_0x56129e(0x222)][_0x56129e(0x276)]((_0x38d54e,_0x406f23)=>{var _0x384dc9=_0x56129e;if(_0x38d54e[_0x384dc9(0x3ee)]!==a['CommandType'][_0x384dc9(0x42a)]||_0x406f23!=null&&_0x406f23[_0x384dc9(0x3c3)]||_0x406f23!=null&&_0x406f23['onlyLocal']||_0x38d54e['id']===ht['RichTextEditingMutation']['id'])return;const _0x37038f=_0x38d54e[_0x384dc9(0x331)];if((_0x37038f==null?void 0x0:_0x37038f[_0x384dc9(0x2a6)])!==this['unitID'])return;const _0x19a79f=_0x38d54e,_0xc10a99=this[_0x384dc9(0x23b)][_0x384dc9(0x12a)]['fetchThroughInterceptors'](this[_0x384dc9(0x23b)]['interceptor'][_0x384dc9(0x211)]()[_0x384dc9(0x245)])([_0x19a79f],null)||[_0x19a79f];this['_onLocalMutation'](_0xc10a99[0x0]);})),_0x4b2e9e;}},exports[_0x126d7f(0x155)]=Fe([j(0x3,a[_0x126d7f(0x15b)](a['Injector'])),j(0x4,a[_0x126d7f(0x15b)](I['CompressMutationService'])),j(0x5,a[_0x126d7f(0x15b)](a[_0x126d7f(0x2f4)])),j(0x6,a[_0x126d7f(0x15b)](I[_0x126d7f(0x312)])),j(0x7,a[_0x126d7f(0x15b)](ee)),j(0x8,a[_0x126d7f(0x303)]),j(0x9,a[_0x126d7f(0x2f1)]),j(0xa,a[_0x126d7f(0x37c)]),j(0xb,a[_0x126d7f(0x1ef)](de)),j(0xc,a[_0x126d7f(0x1ef)](q))],exports['DocCollaborationEntity']),exports[_0x126d7f(0x25f)]=class extends exports[_0x126d7f(0x349)]{constructor(_0x348d32,_0x1839e0,_0x55b634,_0x585f68,_0x252b06,_0x2afafc,_0x2ff560,_0x38fe40,_0x4eeeaf,_0x1c9beb,_0x3164dd,_0x2acdb7,_0x99e443,_0x39875e){var _0x3ba937=_0x126d7f;super(_0x348d32,_0x55b634,_0x1839e0,_0x585f68,_0x252b06,_0x2afafc,_0x2ff560,_0x4eeeaf,_0x1c9beb,_0x3164dd,_0x2acdb7,_0x99e443,_0x39875e),this['unitID']=_0x348d32,this[_0x3ba937(0x3ee)]=_0x1839e0,this[_0x3ba937(0x348)]=_0x38fe40;}[_0x126d7f(0x3e6)](){var _0x35a696=_0x126d7f;const _0x2046ee=super[_0x35a696(0x3e6)]();return _0x2046ee[_0x35a696(0x41c)]=_0x225e6f=>this[_0x35a696(0x348)]['transformSelections'](_0x225e6f),_0x2046ee;}async[_0x126d7f(0x121)](){var _0x1827d8=_0x126d7f;const _0x2c5262=await super[_0x1827d8(0x121)]();return this[_0x1827d8(0x1d8)](this['_commandService'][_0x1827d8(0x276)]((_0x12f78f,_0x29bdcb)=>{var _0xa51c3c=_0x1827d8;if(_0x12f78f[_0xa51c3c(0x3ee)]!==a[_0xa51c3c(0x3b3)][_0xa51c3c(0x42a)]||_0x29bdcb!=null&&_0x29bdcb[_0xa51c3c(0x3c3)]||_0x29bdcb!=null&&_0x29bdcb[_0xa51c3c(0x38e)])return;const _0xe2e36a=_0x12f78f[_0xa51c3c(0x331)];if((_0xe2e36a==null?void 0x0:_0xe2e36a[_0xa51c3c(0x2a6)])!==this[_0xa51c3c(0x38f)])return;const _0x5597d7=_0x12f78f,_0x343cc7=this[_0xa51c3c(0x23b)][_0xa51c3c(0x12a)][_0xa51c3c(0x269)](this[_0xa51c3c(0x23b)][_0xa51c3c(0x12a)][_0xa51c3c(0x211)]()['COMPRESS_MUTATION_SEND'])([_0x5597d7],null)||[_0x5597d7];this[_0xa51c3c(0x3a1)](_0x343cc7[0x0]);})),_0x2c5262;}},exports[_0x126d7f(0x25f)]=Fe([j(0x3,a[_0x126d7f(0x15b)](a[_0x126d7f(0x412)])),j(0x4,a[_0x126d7f(0x15b)](I[_0x126d7f(0x2d1)])),j(0x5,a[_0x126d7f(0x15b)](a[_0x126d7f(0x2f4)])),j(0x6,a['Inject'](I[_0x126d7f(0x312)])),j(0x7,a[_0x126d7f(0x15b)](exports[_0x126d7f(0x31d)])),j(0x8,a[_0x126d7f(0x15b)](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x126d7f(0x2f1)]),j(0xb,a[_0x126d7f(0x37c)]),j(0xc,a[_0x126d7f(0x1ef)](de)),j(0xd,a['Optional'](q))],exports[_0x126d7f(0x25f)]);var Si=Object[_0x126d7f(0x182)],fi=(_0x42b2b0,_0x3fadc3,_0x3f64dc,_0x1546cb)=>{for(var _0x2dece3=_0x1546cb>0x1?void 0x0:_0x1546cb?Si(_0x3fadc3,_0x3f64dc):_0x3fadc3,_0x10d3be=_0x42b2b0['length']-0x1,_0x4f383b;_0x10d3be>=0x0;_0x10d3be--)(_0x4f383b=_0x42b2b0[_0x10d3be])&&(_0x2dece3=_0x4f383b(_0x2dece3)||_0x2dece3);return _0x2dece3;},Se=(_0x51dc9a,_0x3e855a)=>(_0xd68575,_0x34f57d)=>_0x3e855a(_0xd68575,_0x34f57d,_0x51dc9a);exports['CollaborationController']=class extends a[_0x126d7f(0x224)]{constructor(_0x471078,_0x1ac811,_0x1b151f,_0x407371){var _0x3bb3f3=_0x126d7f,_0x5955c;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new $[(_0x3bb3f3(0x1f8))]()),A(this,'entityInit$',this[_0x3bb3f3(0x16b)][_0x3bb3f3(0x3c7)]()),(this[_0x3bb3f3(0x46d)]=_0x471078,this[_0x3bb3f3(0x39a)]=_0x1ac811,this[_0x3bb3f3(0x165)]=_0x1b151f,this[_0x3bb3f3(0x3e0)]=_0x407371,((_0x5955c=this[_0x3bb3f3(0x165)][_0x3bb3f3(0x198)](K))==null?void 0x0:_0x5955c['enableCollaboration'])!==!0x1&&this['_init']());}[_0x126d7f(0x2eb)](){var _0x396617=_0x126d7f;super[_0x396617(0x2eb)](),this[_0x396617(0x255)][_0x396617(0x377)](_0x2c5cfa=>_0x2c5cfa[_0x396617(0x2eb)]()),this[_0x396617(0x255)][_0x396617(0x2ee)]();}['getCollabEntity'](_0x4851ff){var _0x14fb5e=_0x126d7f,_0x2a702e;return(_0x2a702e=this[_0x14fb5e(0x255)][_0x14fb5e(0x462)](_0x4851ff))!=null?_0x2a702e:null;}[_0x126d7f(0x1a7)](_0x4994d2){var _0x4cc525=_0x126d7f;const _0x2cec69=this['getCollabEntity'](_0x4994d2);return _0x2cec69?$['of'](_0x2cec69):this['_entityInit$']['pipe'](V[_0x4cc525(0x10c)](_0x225268=>_0x225268[_0x4cc525(0x38f)]===_0x4994d2));}[_0x126d7f(0x44a)](_0x31d995){var _0x57ab77=_0x126d7f;return $[_0x57ab77(0x2e7)](this[_0x57ab77(0x1a7)](_0x31d995)[_0x57ab77(0x1af)](V[_0x57ab77(0x1ae)](()=>{})));}['_init'](){var _0x412cb7=_0x126d7f;this[_0x412cb7(0x3e0)]['getTypeOfUnitAdded$'](a[_0x412cb7(0x136)][_0x412cb7(0x1bd)])[_0x412cb7(0x1af)]($[_0x412cb7(0x113)](this[_0x412cb7(0x248)]),V['delay'](0x10))['subscribe'](async _0x57b0bb=>{var _0x2302b9=_0x412cb7;const _0x20e2de=_0x57b0bb[_0x2302b9(0x1d0)](),_0x36c831=await this[_0x2302b9(0x118)](_0x20e2de,J['UNIVER_SHEET']);this[_0x2302b9(0x255)][_0x2302b9(0x15c)](_0x20e2de,_0x36c831);}),this[_0x412cb7(0x3e0)]['getTypeOfUnitAdded$'](a[_0x412cb7(0x136)][_0x412cb7(0x342)])[_0x412cb7(0x1af)]($['takeUntil'](this[_0x412cb7(0x248)]),V[_0x412cb7(0x3b0)](0x10))['pipe'](V[_0x412cb7(0x10c)](_0x2400fd=>!_0x2400fd[_0x412cb7(0x1d0)]()[_0x412cb7(0x3b8)]('__')))['subscribe'](async _0x383dc8=>{var _0x199bcb=_0x412cb7;const _0x493990=_0x383dc8[_0x199bcb(0x1d0)](),_0x4a8583=await this[_0x199bcb(0x118)](_0x493990,J[_0x199bcb(0x342)]);this[_0x199bcb(0x255)][_0x199bcb(0x15c)](_0x493990,_0x4a8583);}),$[_0x412cb7(0x11e)](this[_0x412cb7(0x3e0)]['getTypeOfUnitDisposed$'](a[_0x412cb7(0x136)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x412cb7(0x342)]))[_0x412cb7(0x1af)]($['takeUntil'](this['dispose$']))[_0x412cb7(0x250)](_0xdc1b7c=>{var _0x16bdcb=_0x412cb7;const _0x21a46d=_0xdc1b7c[_0x16bdcb(0x1d0)](),_0xf54d16=this[_0x16bdcb(0x255)]['get'](_0x21a46d);_0xf54d16&&(_0xf54d16[_0x16bdcb(0x2eb)](),this[_0x16bdcb(0x255)]['delete'](_0x21a46d));});}async[_0x126d7f(0x118)](_0x58f3c1,_0x3f8626){var _0x3de1a6=_0x126d7f;const _0x128247=await this[_0x3de1a6(0x39a)][_0x3de1a6(0x254)](_0x58f3c1),_0xbfe5f4=this[_0x3de1a6(0x46d)][_0x3de1a6(0x3a9)](this['_getCtorByUniverType'](_0x3f8626),_0x58f3c1,_0x3f8626,_0x128247);return await _0xbfe5f4[_0x3de1a6(0x3af)](),this[_0x3de1a6(0x16b)][_0x3de1a6(0x38d)](_0xbfe5f4),_0xbfe5f4;}['_getCtorByUniverType'](_0x39eea6){var _0x4d751f=_0x126d7f;switch(_0x39eea6){case J[_0x4d751f(0x342)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x4d751f(0x25f)];default:throw new Error(_0x4d751f(0x187)+_0x39eea6);}}},exports['CollaborationController']=fi([Se(0x0,a[_0x126d7f(0x15b)](a['Injector'])),Se(0x1,a[_0x126d7f(0x15b)](exports[_0x126d7f(0x3d1)])),Se(0x2,a[_0x126d7f(0x317)]),Se(0x3,a[_0x126d7f(0x196)])],exports[_0x126d7f(0x180)]);var pi=Object[_0x126d7f(0x182)],Ii=(_0x1419d0,_0x2b100d,_0x4f1e67,_0x47b170)=>{var _0x3c6fe8=_0x126d7f;for(var _0x38721b=_0x47b170>0x1?void 0x0:_0x47b170?pi(_0x2b100d,_0x4f1e67):_0x2b100d,_0x27c2a1=_0x1419d0[_0x3c6fe8(0x1aa)]-0x1,_0x492beb;_0x27c2a1>=0x0;_0x27c2a1--)(_0x492beb=_0x1419d0[_0x27c2a1])&&(_0x38721b=_0x492beb(_0x38721b)||_0x38721b);return _0x38721b;},Ye=(_0xec1695,_0x593d91)=>(_0x38a056,_0x469d96)=>_0x593d91(_0x38a056,_0x469d96,_0xec1695);const gi=_0x126d7f(0x3dc),Ei='Univer';let xe=class extends a[_0x126d7f(0x3f8)]{constructor(_0x1f0dea,_0x5ea5f0){var _0x4fd388=_0x126d7f;super(),this[_0x4fd388(0x3e0)]=_0x1f0dea,this['_configService']=_0x5ea5f0,this['_init']();}['_init'](){var _0x2c63c3=_0x126d7f;this[_0x2c63c3(0x1d8)](this[_0x2c63c3(0x3e0)][_0x2c63c3(0x152)][_0x2c63c3(0x250)](()=>{var _0x5e27b9=_0x2c63c3,_0x1e284b;const _0x4b9fa8=this['_univerInstanceService'][_0x5e27b9(0x29c)]();let _0x6f62a=(_0x1e284b=this[_0x5e27b9(0x165)][_0x5e27b9(0x198)](gi))!=null?_0x1e284b:Ei;_0x4b9fa8 instanceof a[_0x5e27b9(0x21d)]&&(_0x6f62a=_0x4b9fa8['name']),document[_0x5e27b9(0x204)]=_0x6f62a;}));}};xe=Ii([Ye(0x0,a[_0x126d7f(0x196)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x126d7f(0x182)],Ci=(_0x198984,_0x218662,_0x392b61,_0x16312b)=>{for(var _0x3f672a=_0x16312b>0x1?void 0x0:_0x16312b?mi(_0x218662,_0x392b61):_0x218662,_0x17e0e5=_0x198984['length']-0x1,_0x210492;_0x17e0e5>=0x0;_0x17e0e5--)(_0x210492=_0x198984[_0x17e0e5])&&(_0x3f672a=_0x210492(_0x3f672a)||_0x3f672a);return _0x3f672a;},Ae=(_0x3e1030,_0x580122)=>(_0xa46fe2,_0x48e7db)=>_0x580122(_0xa46fe2,_0x48e7db,_0x3e1030);let ye=class{constructor(_0x12b736,_0x1e7f82,_0x2e034e){var _0x4ad9cc=_0x126d7f;this[_0x4ad9cc(0x165)]=_0x12b736,this[_0x4ad9cc(0x115)]=_0x1e7f82,this['localeService']=_0x2e034e,this[_0x4ad9cc(0x3af)]();}[_0x126d7f(0x3af)](){var _0x166547=_0x126d7f;this['_httpService'][_0x166547(0x1cc)]({'priority':0x1,'interceptor':(_0x5d43a9,_0x522cc7)=>_0x522cc7(_0x5d43a9)['pipe']($[_0x166547(0x110)](async _0xd87861=>{var _0x1b1b08=_0x166547;const _0x403d4a=_0xd87861;if(_0x403d4a[_0x1b1b08(0x357)]===0x191){if(typeof window>'u')throw new Error(_0x1b1b08(0x3c0));if(window[_0x1b1b08(0x33c)](this[_0x1b1b08(0x2d5)]['t']('auth.needGotoLoginAlert'))){const _0x3b0fca=window[_0x1b1b08(0x107)](window[_0x1b1b08(0x140)][_0x1b1b08(0x26f)]);window['location'][_0x1b1b08(0x26f)]=this[_0x1b1b08(0x40b)]()+_0x1b1b08(0x3ca)+_0x3b0fca;}}return _0x403d4a;}))});}[_0x126d7f(0x40b)](){var _0x4ae82e=_0x126d7f,_0x48ac17,_0x1f8b1a;const _0x57261d=this['_configService'][_0x4ae82e(0x198)](It),_0x418858=this['_configService'][_0x4ae82e(0x198)](K);return(_0x1f8b1a=(_0x48ac17=_0x418858==null?void 0x0:_0x418858['loginUrlKey'])!=null?_0x48ac17:_0x57261d)!=null?_0x1f8b1a:Wt;}};ye=Ci([Ae(0x0,a[_0x126d7f(0x317)]),Ae(0x1,a[_0x126d7f(0x15b)](Y[_0x126d7f(0x20c)])),Ae(0x2,a[_0x126d7f(0x15b)](a[_0x126d7f(0x2f4)]))],ye);var Ti=Object[_0x126d7f(0x182)],bi=(_0x56776d,_0x5145bc,_0x421317,_0x27bc8e)=>{var _0x1d39b6=_0x126d7f;for(var _0x5ef081=_0x27bc8e>0x1?void 0x0:_0x27bc8e?Ti(_0x5145bc,_0x421317):_0x5145bc,_0x563e12=_0x56776d[_0x1d39b6(0x1aa)]-0x1,_0x3c7796;_0x563e12>=0x0;_0x563e12--)(_0x3c7796=_0x56776d[_0x563e12])&&(_0x5ef081=_0x3c7796(_0x5ef081)||_0x5ef081);return _0x5ef081;},qe=(_0x54c060,_0x5e1514)=>(_0x571f68,_0x2608c0)=>_0x5e1514(_0x571f68,_0x2608c0,_0x54c060);const Ve=_0x126d7f(0x122),Ri=_0x126d7f(0x25b);exports[_0x126d7f(0x12c)]=class extends a[_0x126d7f(0x3f8)]{constructor(_0x2a104a,_0x4d7313){var _0x3875ce=_0x126d7f;super(),this[_0x3875ce(0x183)]=_0x2a104a,this[_0x3875ce(0x165)]=_0x4d7313,this[_0x3875ce(0x2ba)]();}['_initMergeInterceptor'](){var _0x77c3b=_0x126d7f;const _0x2d1fed=this;this[_0x77c3b(0x1d8)](this[_0x77c3b(0x183)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x54856c){var _0x47d666=_0x77c3b,_0x19b26d;if(_0x54856c[_0x47d666(0x287)]===_0x47d666(0x1e1)&&((_0x19b26d=_0x54856c[_0x47d666(0x421)])!=null&&_0x19b26d['body'])){const {objectID:_0x348872,objectType:_0x219020}=_0x54856c[_0x47d666(0x421)][_0x47d666(0x432)]||{};if(!_0x348872||_0x219020===void 0x0)return!0x1;const _0x502c5c=_0x2d1fed[_0x47d666(0x41b)]()+'/'+_0x219020+'/object/'+_0x348872+_0x47d666(0x288);if(_0x54856c[_0x47d666(0x353)]===_0x502c5c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2911fe){var _0x5cc418=_0x77c3b,_0x408a8c;return(_0x408a8c=_0x2911fe[_0x5cc418(0x421)])==null?void 0x0:_0x408a8c[_0x5cc418(0x432)];},'mergeParamsToRequest'(_0x24095c,_0x5efe4b){var _0x35197f=_0x77c3b;const _0x567539=_0x2d1fed[_0x35197f(0x41b)]()+'/-/object/-/batch_allowed',_0x381861=_0x24095c[_0x35197f(0x218)]((_0x907e1c,_0x554a39)=>{var _0x47e466=_0x35197f;const {unitID:_0x36d18f,objectID:_0x54a656,objectType:_0x34b240,actions:_0x53fbd4}=_0x554a39;return _0x907e1c[_0x36d18f]||(_0x907e1c[_0x36d18f]={}),_0x907e1c[_0x36d18f][_0x54a656]||(_0x907e1c[_0x36d18f][_0x54a656]={'objectID':_0x54a656,'objectType':_0x34b240,'actions':[]}),_0x907e1c[_0x36d18f][_0x54a656][_0x47e466(0x25e)][_0x47e466(0x28f)](..._0x53fbd4),_0x907e1c;},{}),_0x38db95=[];for(const _0x33b8d4 in _0x381861)for(const _0x856f49 in _0x381861[_0x33b8d4]){const {actions:_0x47b02b,objectType:_0x39c785}=_0x381861[_0x33b8d4][_0x856f49],_0x28fd37=[...new Set(_0x47b02b)];_0x38db95[_0x35197f(0x28f)]({'unitID':_0x33b8d4,'objectID':_0x856f49,'objectType':_0x39c785,'actions':_0x28fd37});}return new Y['HTTPRequest'](_0x35197f(0x1e1),_0x567539,{'headers':_0x5efe4b[_0x35197f(0x213)],'withCredentials':_0x5efe4b[_0x35197f(0x458)],'responseType':_0x5efe4b[_0x35197f(0x273)],'body':{'requests':_0x38db95}});}},{'distributeResult'(_0x4acf6a,_0x1adfd2){var _0x5c3b52=_0x77c3b;const {objectActions:_0x27884c}=_0x4acf6a;return _0x1adfd2[_0x5c3b52(0x1ae)](_0x232173=>{var _0xf866ca=_0x5c3b52;const {unitID:_0x1810f0,objectID:_0x1f0f43,actions:_0x5e8a71}=_0x232173,_0x224600=_0x27884c['find'](_0x293401=>_0x293401['unitID']===_0x1810f0&&_0x293401[_0xf866ca(0x27f)]===_0x1f0f43),_0x4f5466=_0x5e8a71[_0xf866ca(0x1ae)](_0x530ca5=>_0x224600==null?void 0x0:_0x224600[_0xf866ca(0x25e)][_0xf866ca(0x1a4)](_0x17f8a7=>_0x17f8a7[_0xf866ca(0x2ca)]===_0x530ca5))['filter'](_0x1fe3ae=>!!_0x1fe3ae);return{'config':_0x232173,'result':{'actions':_0x4f5466,'error':_0x4acf6a[_0xf866ca(0x2af)]}};});}})}));}[_0x126d7f(0x41b)](){var _0xc4ba05=_0x126d7f,_0x49987b,_0xcafeca;const _0x5286bc=this[_0xc4ba05(0x165)][_0xc4ba05(0x198)](Ve),_0x5b940c=this[_0xc4ba05(0x165)][_0xc4ba05(0x198)](K);return(_0xcafeca=(_0x49987b=_0x5b940c==null?void 0x0:_0x5b940c['authzUrl'])!=null?_0x49987b:_0x5286bc)!=null?_0xcafeca:Ri;}async['create'](_0x2f37cd){var _0x3e07d0=_0x126d7f;const _0x3b3a59=this[_0x3e07d0(0x41b)]()+'/'+_0x2f37cd[_0x3e07d0(0x33a)]+'/object';return(await this['_HTTPService'][_0x3e07d0(0x35e)](_0x3b3a59,{'body':_0x2f37cd}))[_0x3e07d0(0x432)]['objectID']||'';}async[_0x126d7f(0x3e3)](_0x41ccb3){var _0x67dab=_0x126d7f;const _0x181b25=this[_0x67dab(0x41b)]()+_0x67dab(0x350);return(await this[_0x67dab(0x183)]['post'](_0x181b25,{'body':_0x41ccb3}))[_0x67dab(0x432)][_0x67dab(0x463)];}async[_0x126d7f(0x1e0)](_0x379dda){var _0x368e89=_0x126d7f,_0x293c5a,_0xc443bc;const _0x360058=this[_0x368e89(0x41b)]()+'/'+_0x379dda[_0x368e89(0x33a)]+_0x368e89(0x3cd)+_0x379dda[_0x368e89(0x27f)],_0x56f6e3=await this[_0x368e89(0x183)]['put'](_0x360058,{'body':_0x379dda});if(((_0xc443bc=(_0x293c5a=_0x56f6e3==null?void 0x0:_0x56f6e3[_0x368e89(0x432)])==null?void 0x0:_0x293c5a[_0x368e89(0x2af)])==null?void 0x0:_0xc443bc['code'])!==0x1)throw new Error(_0x368e89(0x301));}async['allowed'](_0x4632e1){var _0x3ace3a=_0x126d7f;const _0x27114c=this[_0x3ace3a(0x41b)]()+'/'+_0x4632e1[_0x3ace3a(0x33a)]+_0x3ace3a(0x3cd)+_0x4632e1[_0x3ace3a(0x27f)]+_0x3ace3a(0x288);return(await this['_HTTPService'][_0x3ace3a(0x35e)](_0x27114c,{'body':_0x4632e1}))['body'][_0x3ace3a(0x25e)];}async[_0x126d7f(0x2a0)](_0x511cad){var _0x536f43=_0x126d7f;const _0x27036d=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x536f43(0x183)]['post'](_0x27036d,{'body':{'requests':_0x511cad}}))[_0x536f43(0x432)]['objectActions'];}async['listRoles'](_0x29b9f2){var _0x5191ef=_0x126d7f;const _0x553cab=this['_getAPIPrefixPath']()+'/'+_0x29b9f2[_0x5191ef(0x33a)]+_0x5191ef(0x171),_0x57d1bb=await this[_0x5191ef(0x183)][_0x5191ef(0x35e)](_0x553cab,{'body':_0x29b9f2});return{'roles':_0x57d1bb[_0x5191ef(0x432)][_0x5191ef(0x1c6)],'actions':_0x57d1bb['body'][_0x5191ef(0x25e)]};}async[_0x126d7f(0x3aa)](_0x2b1c7d){var _0x256e34=_0x126d7f;const _0x38e098=this['_getAPIPrefixPath']()+_0x256e34(0x3c1);await this[_0x256e34(0x183)][_0x256e34(0x14c)](_0x38e098,{'params':{'collaboratorID':_0x2b1c7d[_0x256e34(0x457)],'objectID':_0x2b1c7d[_0x256e34(0x27f)],'unitID':_0x2b1c7d[_0x256e34(0x38f)]}});}async['updateCollaborator'](_0x406fbf){var _0x358220=_0x126d7f;const _0x1ce366=this[_0x358220(0x41b)]()+'/collaborator';await this[_0x358220(0x183)][_0x358220(0x372)](_0x1ce366,{'body':_0x406fbf});}async['createCollaborator'](_0x5591b5){var _0x14dc42=_0x126d7f;const _0x46389b=this[_0x14dc42(0x41b)]()+_0x14dc42(0x3c1);await this['_HTTPService'][_0x14dc42(0x35e)](_0x46389b,{'body':_0x5591b5});}async[_0x126d7f(0x1f4)](_0x11baff){var _0x3be4cb=_0x126d7f;const _0x1e4148=this[_0x3be4cb(0x41b)]()+_0x3be4cb(0x3c1);return(await this[_0x3be4cb(0x183)][_0x3be4cb(0x462)](_0x1e4148,{'params':{'objectID':_0x11baff[_0x3be4cb(0x27f)],'unitID':_0x11baff[_0x3be4cb(0x38f)]}}))[_0x3be4cb(0x432)]['collaborators'];}async[_0x126d7f(0x116)](_0x176427){var _0x58dbfa=_0x126d7f;const _0x49c97e=this[_0x58dbfa(0x41b)]()+_0x58dbfa(0x3c1);await this['_HTTPService'][_0x58dbfa(0x2d8)](_0x49c97e,{'body':_0x176427});}},exports[_0x126d7f(0x12c)]=bi([qe(0x0,a[_0x126d7f(0x15b)](Y[_0x126d7f(0x20c)])),qe(0x1,a[_0x126d7f(0x15b)](a[_0x126d7f(0x317)]))],exports[_0x126d7f(0x12c)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x2af31b){var _0x16173b=_0x126d7f;return _0x2af31b&&_0x2af31b[_0x16173b(0x447)]&&Object[_0x16173b(0x229)]['hasOwnProperty'][_0x16173b(0x129)](_0x2af31b,_0x16173b(0x403))?_0x2af31b['default']:_0x2af31b;}var fe={'exports':{}};function Oi(_0xf84477){var _0xa5bb3d=_0x126d7f;throw new Error(_0xa5bb3d(0x173)+_0xf84477+_0xa5bb3d(0x2c9));}var pe={'exports':{}},yi=pe[_0x126d7f(0x425)],ze;function Q(){var _0x5209a1=_0x126d7f;return ze||(ze=0x1,function(_0x97fcf1,_0x11de17){(function(_0x4814c3,_0x22afc8){var _0x150800=_0x5282;_0x97fcf1[_0x150800(0x425)]=_0x22afc8();}(yi,function(){var _0x3a0581=_0x3a0581||function(_0x51af25,_0x50fff4){var _0x499a17=_0x5282,_0xef9fc;if(typeof window<'u'&&window[_0x499a17(0x142)]&&(_0xef9fc=window[_0x499a17(0x142)]),typeof self<'u'&&self[_0x499a17(0x142)]&&(_0xef9fc=self[_0x499a17(0x142)]),typeof globalThis<'u'&&globalThis[_0x499a17(0x142)]&&(_0xef9fc=globalThis[_0x499a17(0x142)]),!_0xef9fc&&typeof window<'u'&&window['msCrypto']&&(_0xef9fc=window[_0x499a17(0x1b0)]),!_0xef9fc&&typeof Pe<'u'&&Pe[_0x499a17(0x142)]&&(_0xef9fc=Pe[_0x499a17(0x142)]),!_0xef9fc&&typeof Oi=='function')try{_0xef9fc=require(_0x499a17(0x142));}catch{}var _0x2599ac=function(){var _0x59002e=_0x499a17;if(_0xef9fc){if(typeof _0xef9fc[_0x59002e(0x464)]==_0x59002e(0x322))try{return _0xef9fc['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xef9fc[_0x59002e(0x16c)]=='function')try{return _0xef9fc['randomBytes'](0x4)[_0x59002e(0x334)]();}catch{}}throw new Error(_0x59002e(0x271));},_0x574a93=Object[_0x499a17(0x2fa)]||(function(){function _0x504577(){}return function(_0xd7ba0){var _0x5b6429=_0x5282,_0xe03bd1;return _0x504577[_0x5b6429(0x229)]=_0xd7ba0,_0xe03bd1=new _0x504577(),_0x504577[_0x5b6429(0x229)]=null,_0xe03bd1;};}()),_0x41c1e9={},_0x5b2c14=_0x41c1e9['lib']={},_0x49c917=_0x5b2c14[_0x499a17(0x2a2)]=(function(){return{'extend':function(_0x5afdaa){var _0x531f2e=_0x5282,_0x3d85ef=_0x574a93(this);return _0x5afdaa&&_0x3d85ef[_0x531f2e(0x1ed)](_0x5afdaa),(!_0x3d85ef[_0x531f2e(0x189)](_0x531f2e(0x3af))||this[_0x531f2e(0x3af)]===_0x3d85ef[_0x531f2e(0x3af)])&&(_0x3d85ef[_0x531f2e(0x3af)]=function(){var _0x3cc5ca=_0x531f2e;_0x3d85ef[_0x3cc5ca(0x27d)][_0x3cc5ca(0x3af)][_0x3cc5ca(0x336)](this,arguments);}),_0x3d85ef[_0x531f2e(0x3af)][_0x531f2e(0x229)]=_0x3d85ef,_0x3d85ef[_0x531f2e(0x27d)]=this,_0x3d85ef;},'create':function(){var _0x141de7=_0x5282,_0x37060d=this[_0x141de7(0x2f6)]();return _0x37060d[_0x141de7(0x3af)][_0x141de7(0x336)](_0x37060d,arguments),_0x37060d;},'init':function(){},'mixIn':function(_0x5668c2){var _0x5227e0=_0x5282;for(var _0x100489 in _0x5668c2)_0x5668c2[_0x5227e0(0x189)](_0x100489)&&(this[_0x100489]=_0x5668c2[_0x100489]);_0x5668c2[_0x5227e0(0x189)]('toString')&&(this[_0x5227e0(0x305)]=_0x5668c2[_0x5227e0(0x305)]);},'clone':function(){var _0xb170dc=_0x5282;return this[_0xb170dc(0x3af)][_0xb170dc(0x229)][_0xb170dc(0x2f6)](this);}};}()),_0x417dbb=_0x5b2c14[_0x499a17(0x205)]=_0x49c917['extend']({'init':function(_0x5f2593,_0x49c277){var _0x293d58=_0x499a17;_0x5f2593=this[_0x293d58(0x22f)]=_0x5f2593||[],_0x49c277!=_0x50fff4?this[_0x293d58(0x12d)]=_0x49c277:this[_0x293d58(0x12d)]=_0x5f2593[_0x293d58(0x1aa)]*0x4;},'toString':function(_0x5d52fb){var _0x243d42=_0x499a17;return(_0x5d52fb||_0x46d150)[_0x243d42(0x2b9)](this);},'concat':function(_0x451244){var _0x1a7990=_0x499a17,_0x30e454=this[_0x1a7990(0x22f)],_0x209728=_0x451244[_0x1a7990(0x22f)],_0xfd4f20=this[_0x1a7990(0x12d)],_0x202301=_0x451244[_0x1a7990(0x12d)];if(this['clamp'](),_0xfd4f20%0x4)for(var _0x1909ce=0x0;_0x1909ce<_0x202301;_0x1909ce++){var _0x63604d=_0x209728[_0x1909ce>>>0x2]>>>0x18-_0x1909ce%0x4*0x8&0xff;_0x30e454[_0xfd4f20+_0x1909ce>>>0x2]|=_0x63604d<<0x18-(_0xfd4f20+_0x1909ce)%0x4*0x8;}else{for(var _0x159d20=0x0;_0x159d20<_0x202301;_0x159d20+=0x4)_0x30e454[_0xfd4f20+_0x159d20>>>0x2]=_0x209728[_0x159d20>>>0x2];}return this[_0x1a7990(0x12d)]+=_0x202301,this;},'clamp':function(){var _0x462dcf=_0x499a17,_0x3f3f9c=this[_0x462dcf(0x22f)],_0x49f30d=this[_0x462dcf(0x12d)];_0x3f3f9c[_0x49f30d>>>0x2]&=0xffffffff<<0x20-_0x49f30d%0x4*0x8,_0x3f3f9c[_0x462dcf(0x1aa)]=_0x51af25['ceil'](_0x49f30d/0x4);},'clone':function(){var _0x3a5775=_0x499a17,_0xa5d818=_0x49c917[_0x3a5775(0x3d0)][_0x3a5775(0x129)](this);return _0xa5d818[_0x3a5775(0x22f)]=this[_0x3a5775(0x22f)][_0x3a5775(0x39d)](0x0),_0xa5d818;},'random':function(_0x512f27){var _0x3fe4ad=_0x499a17;for(var _0x4808b9=[],_0x55e28d=0x0;_0x55e28d<_0x512f27;_0x55e28d+=0x4)_0x4808b9[_0x3fe4ad(0x28f)](_0x2599ac());return new _0x417dbb['init'](_0x4808b9,_0x512f27);}}),_0xc11b07=_0x41c1e9[_0x499a17(0x16d)]={},_0x46d150=_0xc11b07['Hex']={'stringify':function(_0x3f7bc7){var _0x30281e=_0x499a17;for(var _0x37180a=_0x3f7bc7[_0x30281e(0x22f)],_0x28a951=_0x3f7bc7[_0x30281e(0x12d)],_0x5c9c09=[],_0x4875d1=0x0;_0x4875d1<_0x28a951;_0x4875d1++){var _0x2dbe10=_0x37180a[_0x4875d1>>>0x2]>>>0x18-_0x4875d1%0x4*0x8&0xff;_0x5c9c09[_0x30281e(0x28f)]((_0x2dbe10>>>0x4)['toString'](0x10)),_0x5c9c09['push']((_0x2dbe10&0xf)[_0x30281e(0x305)](0x10));}return _0x5c9c09[_0x30281e(0x10a)]('');},'parse':function(_0x26c1cd){var _0x5c7cf7=_0x499a17;for(var _0x649d6d=_0x26c1cd[_0x5c7cf7(0x1aa)],_0xf32103=[],_0x2c39cd=0x0;_0x2c39cd<_0x649d6d;_0x2c39cd+=0x2)_0xf32103[_0x2c39cd>>>0x3]|=parseInt(_0x26c1cd[_0x5c7cf7(0x2a4)](_0x2c39cd,0x2),0x10)<<0x18-_0x2c39cd%0x8*0x4;return new _0x417dbb[(_0x5c7cf7(0x3af))](_0xf32103,_0x649d6d/0x2);}},_0x460e8c=_0xc11b07['Latin1']={'stringify':function(_0x2af9e5){var _0x59537e=_0x499a17;for(var _0x2cd613=_0x2af9e5[_0x59537e(0x22f)],_0x204ee3=_0x2af9e5[_0x59537e(0x12d)],_0xcafdea=[],_0x337201=0x0;_0x337201<_0x204ee3;_0x337201++){var _0x318157=_0x2cd613[_0x337201>>>0x2]>>>0x18-_0x337201%0x4*0x8&0xff;_0xcafdea[_0x59537e(0x28f)](String[_0x59537e(0x3c2)](_0x318157));}return _0xcafdea[_0x59537e(0x10a)]('');},'parse':function(_0x1d5ffa){var _0x4e2913=_0x499a17;for(var _0x14ba93=_0x1d5ffa[_0x4e2913(0x1aa)],_0x2e273f=[],_0x310f0e=0x0;_0x310f0e<_0x14ba93;_0x310f0e++)_0x2e273f[_0x310f0e>>>0x2]|=(_0x1d5ffa['charCodeAt'](_0x310f0e)&0xff)<<0x18-_0x310f0e%0x4*0x8;return new _0x417dbb['init'](_0x2e273f,_0x14ba93);}},_0x1d0812=_0xc11b07[_0x499a17(0x203)]={'stringify':function(_0x4443f0){var _0x4b96c8=_0x499a17;try{return decodeURIComponent(escape(_0x460e8c[_0x4b96c8(0x2b9)](_0x4443f0)));}catch{throw new Error(_0x4b96c8(0x164));}},'parse':function(_0x50bfc4){var _0x36449c=_0x499a17;return _0x460e8c[_0x36449c(0x12f)](unescape(encodeURIComponent(_0x50bfc4)));}},_0xe1c288=_0x5b2c14['BufferedBlockAlgorithm']=_0x49c917[_0x499a17(0x2f6)]({'reset':function(){var _0xdd1c40=_0x499a17;this[_0xdd1c40(0x3df)]=new _0x417dbb[(_0xdd1c40(0x3af))](),this[_0xdd1c40(0x1ff)]=0x0;},'_append':function(_0x292fbd){var _0x61057f=_0x499a17;typeof _0x292fbd==_0x61057f(0x1a1)&&(_0x292fbd=_0x1d0812['parse'](_0x292fbd)),this[_0x61057f(0x3df)][_0x61057f(0x27e)](_0x292fbd),this[_0x61057f(0x1ff)]+=_0x292fbd[_0x61057f(0x12d)];},'_process':function(_0x4ae5ed){var _0x5a3faf=_0x499a17,_0x5d93a6,_0x164f22=this[_0x5a3faf(0x3df)],_0x1d64b2=_0x164f22['words'],_0x2e0902=_0x164f22[_0x5a3faf(0x12d)],_0x13fbfd=this[_0x5a3faf(0xff)],_0x291e02=_0x13fbfd*0x4,_0x20beca=_0x2e0902/_0x291e02;_0x4ae5ed?_0x20beca=_0x51af25[_0x5a3faf(0x454)](_0x20beca):_0x20beca=_0x51af25['max']((_0x20beca|0x0)-this[_0x5a3faf(0x131)],0x0);var _0x459901=_0x20beca*_0x13fbfd,_0x75d085=_0x51af25['min'](_0x459901*0x4,_0x2e0902);if(_0x459901){for(var _0x4f920c=0x0;_0x4f920c<_0x459901;_0x4f920c+=_0x13fbfd)this['_doProcessBlock'](_0x1d64b2,_0x4f920c);_0x5d93a6=_0x1d64b2[_0x5a3faf(0x2b3)](0x0,_0x459901),_0x164f22['sigBytes']-=_0x75d085;}return new _0x417dbb[(_0x5a3faf(0x3af))](_0x5d93a6,_0x75d085);},'clone':function(){var _0x479b89=_0x499a17,_0x3cded0=_0x49c917[_0x479b89(0x3d0)][_0x479b89(0x129)](this);return _0x3cded0[_0x479b89(0x3df)]=this[_0x479b89(0x3df)][_0x479b89(0x3d0)](),_0x3cded0;},'_minBufferSize':0x0});_0x5b2c14[_0x499a17(0x1ac)]=_0xe1c288['extend']({'cfg':_0x49c917[_0x499a17(0x2f6)](),'init':function(_0xa74d11){var _0x5f0ce4=_0x499a17;this['cfg']=this[_0x5f0ce4(0x3b9)][_0x5f0ce4(0x2f6)](_0xa74d11),this[_0x5f0ce4(0x384)]();},'reset':function(){var _0x38bf6d=_0x499a17;_0xe1c288['reset']['call'](this),this[_0x38bf6d(0x185)]();},'update':function(_0x561a6a){var _0x4914e3=_0x499a17;return this['_append'](_0x561a6a),this[_0x4914e3(0x430)](),this;},'finalize':function(_0x369b9d){var _0xb1c2a1=_0x499a17;_0x369b9d&&this['_append'](_0x369b9d);var _0x3a9029=this[_0xb1c2a1(0x1ba)]();return _0x3a9029;},'blockSize':0x10,'_createHelper':function(_0x38e301){return function(_0x56194e,_0x3c64ee){var _0x2ed710=_0x5282;return new _0x38e301[(_0x2ed710(0x3af))](_0x3c64ee)['finalize'](_0x56194e);};},'_createHmacHelper':function(_0x3d1eed){return function(_0x33c733,_0x10f3d8){var _0x20d914=_0x5282;return new _0xb53cf5['HMAC'][(_0x20d914(0x3af))](_0x3d1eed,_0x10f3d8)[_0x20d914(0x1c4)](_0x33c733);};}});var _0xb53cf5=_0x41c1e9['algo']={};return _0x41c1e9;}(Math);return _0x3a0581;}));}(pe)),pe[_0x5209a1(0x425)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x47665a=_0x126d7f;return Je||(Je=0x1,function(_0x4d67b2,_0x29c540){(function(_0x1deda3,_0x52d031){var _0x2319e6=_0x5282;_0x4d67b2[_0x2319e6(0x425)]=_0x52d031(Q());}(Ni,function(_0x218899){var _0x4a69e2=_0x5282;return(function(){var _0x4a4fd1=_0x5282,_0x2f65c3=_0x218899,_0x2d07e1=_0x2f65c3[_0x4a4fd1(0x144)],_0x5c4ec9=_0x2d07e1['WordArray'],_0x2ea73c=_0x2f65c3[_0x4a4fd1(0x16d)];_0x2ea73c[_0x4a4fd1(0x17a)]={'stringify':function(_0x4ab0fa){var _0x1bb825=_0x4a4fd1,_0x19f023=_0x4ab0fa[_0x1bb825(0x22f)],_0x4536be=_0x4ab0fa[_0x1bb825(0x12d)],_0x5f1fd5=this[_0x1bb825(0x411)];_0x4ab0fa[_0x1bb825(0x18b)]();for(var _0x298208=[],_0x246b35=0x0;_0x246b35<_0x4536be;_0x246b35+=0x3)for(var _0x3f4767=_0x19f023[_0x246b35>>>0x2]>>>0x18-_0x246b35%0x4*0x8&0xff,_0x482a7b=_0x19f023[_0x246b35+0x1>>>0x2]>>>0x18-(_0x246b35+0x1)%0x4*0x8&0xff,_0x4a9755=_0x19f023[_0x246b35+0x2>>>0x2]>>>0x18-(_0x246b35+0x2)%0x4*0x8&0xff,_0x3f3cfb=_0x3f4767<<0x10|_0x482a7b<<0x8|_0x4a9755,_0x454b59=0x0;_0x454b59<0x4&&_0x246b35+_0x454b59*0.75<_0x4536be;_0x454b59++)_0x298208[_0x1bb825(0x28f)](_0x5f1fd5[_0x1bb825(0x2fe)](_0x3f3cfb>>>0x6*(0x3-_0x454b59)&0x3f));var _0x2e6a5b=_0x5f1fd5['charAt'](0x40);if(_0x2e6a5b){for(;_0x298208[_0x1bb825(0x1aa)]%0x4;)_0x298208['push'](_0x2e6a5b);}return _0x298208['join']('');},'parse':function(_0x101d43){var _0x407096=_0x4a4fd1,_0x13b5e4=_0x101d43[_0x407096(0x1aa)],_0x2ef990=this[_0x407096(0x411)],_0x3fd0f0=this[_0x407096(0x12e)];if(!_0x3fd0f0){_0x3fd0f0=this[_0x407096(0x12e)]=[];for(var _0x4880d5=0x0;_0x4880d5<_0x2ef990[_0x407096(0x1aa)];_0x4880d5++)_0x3fd0f0[_0x2ef990[_0x407096(0x366)](_0x4880d5)]=_0x4880d5;}var _0x5c05f3=_0x2ef990[_0x407096(0x2fe)](0x40);if(_0x5c05f3){var _0x27802b=_0x101d43['indexOf'](_0x5c05f3);_0x27802b!==-0x1&&(_0x13b5e4=_0x27802b);}return _0x17d0fb(_0x101d43,_0x13b5e4,_0x3fd0f0);},'_map':_0x4a4fd1(0x184)};function _0x17d0fb(_0x30d54d,_0x139e90,_0x42e352){var _0x55ec73=_0x4a4fd1;for(var _0x1a5d36=[],_0x40a10d=0x0,_0x367ec4=0x0;_0x367ec4<_0x139e90;_0x367ec4++)if(_0x367ec4%0x4){var _0x3cfb38=_0x42e352[_0x30d54d[_0x55ec73(0x366)](_0x367ec4-0x1)]<<_0x367ec4%0x4*0x2,_0x544296=_0x42e352[_0x30d54d[_0x55ec73(0x366)](_0x367ec4)]>>>0x6-_0x367ec4%0x4*0x2,_0x1e85c2=_0x3cfb38|_0x544296;_0x1a5d36[_0x40a10d>>>0x2]|=_0x1e85c2<<0x18-_0x40a10d%0x4*0x8,_0x40a10d++;}return _0x5c4ec9[_0x55ec73(0x2fa)](_0x1a5d36,_0x40a10d);}}()),_0x218899[_0x4a69e2(0x16d)][_0x4a69e2(0x17a)];}));}(Ie)),Ie[_0x47665a(0x425)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){var _0x567dee=_0x126d7f;return Xe||(Xe=0x1,function(_0x408eec,_0x38318a){(function(_0x3ea533,_0x1c9a9f){var _0x5ec042=_0x5282;_0x408eec[_0x5ec042(0x425)]=_0x1c9a9f(Q());}(Ui,function(_0xecf99f){var _0x548f03=_0x5282;return function(_0x4f218d){var _0x5875c4=_0x5282,_0x168ae7=_0xecf99f,_0x2b75e0=_0x168ae7[_0x5875c4(0x144)],_0x22b224=_0x2b75e0[_0x5875c4(0x205)],_0x323f41=_0x2b75e0[_0x5875c4(0x1ac)],_0x46055d=_0x168ae7[_0x5875c4(0x3f4)],_0xbb43f=[];(function(){var _0x5959c5=_0x5875c4;for(var _0x1d5c87=0x0;_0x1d5c87<0x40;_0x1d5c87++)_0xbb43f[_0x1d5c87]=_0x4f218d['abs'](_0x4f218d[_0x5959c5(0x2b7)](_0x1d5c87+0x1))*0x100000000|0x0;}());var _0x5ad008=_0x46055d[_0x5875c4(0x45e)]=_0x323f41[_0x5875c4(0x2f6)]({'_doReset':function(){var _0x57e729=_0x5875c4;this[_0x57e729(0x2f2)]=new _0x22b224['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x452e9b,_0x5522e4){var _0x36460c=_0x5875c4;for(var _0x3fcb11=0x0;_0x3fcb11<0x10;_0x3fcb11++){var _0x419ae1=_0x5522e4+_0x3fcb11,_0x5e3e9d=_0x452e9b[_0x419ae1];_0x452e9b[_0x419ae1]=(_0x5e3e9d<<0x8|_0x5e3e9d>>>0x18)&0xff00ff|(_0x5e3e9d<<0x18|_0x5e3e9d>>>0x8)&0xff00ff00;}var _0x2819d4=this['_hash'][_0x36460c(0x22f)],_0x34eea0=_0x452e9b[_0x5522e4+0x0],_0x2f2834=_0x452e9b[_0x5522e4+0x1],_0x885991=_0x452e9b[_0x5522e4+0x2],_0x5495cb=_0x452e9b[_0x5522e4+0x3],_0x309964=_0x452e9b[_0x5522e4+0x4],_0x2d1f9b=_0x452e9b[_0x5522e4+0x5],_0x2d013d=_0x452e9b[_0x5522e4+0x6],_0x587de9=_0x452e9b[_0x5522e4+0x7],_0x2109e2=_0x452e9b[_0x5522e4+0x8],_0x1f20ae=_0x452e9b[_0x5522e4+0x9],_0x2bc8cc=_0x452e9b[_0x5522e4+0xa],_0x5f4245=_0x452e9b[_0x5522e4+0xb],_0x271560=_0x452e9b[_0x5522e4+0xc],_0x56fb82=_0x452e9b[_0x5522e4+0xd],_0x415484=_0x452e9b[_0x5522e4+0xe],_0x42c167=_0x452e9b[_0x5522e4+0xf],_0x30af4a=_0x2819d4[0x0],_0x184372=_0x2819d4[0x1],_0x166810=_0x2819d4[0x2],_0x24086a=_0x2819d4[0x3];_0x30af4a=_0x2aaf31(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x34eea0,0x7,_0xbb43f[0x0]),_0x24086a=_0x2aaf31(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x2f2834,0xc,_0xbb43f[0x1]),_0x166810=_0x2aaf31(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x885991,0x11,_0xbb43f[0x2]),_0x184372=_0x2aaf31(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x5495cb,0x16,_0xbb43f[0x3]),_0x30af4a=_0x2aaf31(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x309964,0x7,_0xbb43f[0x4]),_0x24086a=_0x2aaf31(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x2d1f9b,0xc,_0xbb43f[0x5]),_0x166810=_0x2aaf31(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x2d013d,0x11,_0xbb43f[0x6]),_0x184372=_0x2aaf31(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x587de9,0x16,_0xbb43f[0x7]),_0x30af4a=_0x2aaf31(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2109e2,0x7,_0xbb43f[0x8]),_0x24086a=_0x2aaf31(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x1f20ae,0xc,_0xbb43f[0x9]),_0x166810=_0x2aaf31(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x2bc8cc,0x11,_0xbb43f[0xa]),_0x184372=_0x2aaf31(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x5f4245,0x16,_0xbb43f[0xb]),_0x30af4a=_0x2aaf31(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x271560,0x7,_0xbb43f[0xc]),_0x24086a=_0x2aaf31(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x56fb82,0xc,_0xbb43f[0xd]),_0x166810=_0x2aaf31(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x415484,0x11,_0xbb43f[0xe]),_0x184372=_0x2aaf31(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x42c167,0x16,_0xbb43f[0xf]),_0x30af4a=_0x58083c(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2f2834,0x5,_0xbb43f[0x10]),_0x24086a=_0x58083c(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x2d013d,0x9,_0xbb43f[0x11]),_0x166810=_0x58083c(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x5f4245,0xe,_0xbb43f[0x12]),_0x184372=_0x58083c(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x34eea0,0x14,_0xbb43f[0x13]),_0x30af4a=_0x58083c(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2d1f9b,0x5,_0xbb43f[0x14]),_0x24086a=_0x58083c(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x2bc8cc,0x9,_0xbb43f[0x15]),_0x166810=_0x58083c(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x42c167,0xe,_0xbb43f[0x16]),_0x184372=_0x58083c(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x309964,0x14,_0xbb43f[0x17]),_0x30af4a=_0x58083c(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x1f20ae,0x5,_0xbb43f[0x18]),_0x24086a=_0x58083c(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x415484,0x9,_0xbb43f[0x19]),_0x166810=_0x58083c(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x5495cb,0xe,_0xbb43f[0x1a]),_0x184372=_0x58083c(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x2109e2,0x14,_0xbb43f[0x1b]),_0x30af4a=_0x58083c(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x56fb82,0x5,_0xbb43f[0x1c]),_0x24086a=_0x58083c(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x885991,0x9,_0xbb43f[0x1d]),_0x166810=_0x58083c(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x587de9,0xe,_0xbb43f[0x1e]),_0x184372=_0x58083c(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x271560,0x14,_0xbb43f[0x1f]),_0x30af4a=_0x10bc21(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2d1f9b,0x4,_0xbb43f[0x20]),_0x24086a=_0x10bc21(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x2109e2,0xb,_0xbb43f[0x21]),_0x166810=_0x10bc21(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x5f4245,0x10,_0xbb43f[0x22]),_0x184372=_0x10bc21(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x415484,0x17,_0xbb43f[0x23]),_0x30af4a=_0x10bc21(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2f2834,0x4,_0xbb43f[0x24]),_0x24086a=_0x10bc21(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x309964,0xb,_0xbb43f[0x25]),_0x166810=_0x10bc21(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x587de9,0x10,_0xbb43f[0x26]),_0x184372=_0x10bc21(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x2bc8cc,0x17,_0xbb43f[0x27]),_0x30af4a=_0x10bc21(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x56fb82,0x4,_0xbb43f[0x28]),_0x24086a=_0x10bc21(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x34eea0,0xb,_0xbb43f[0x29]),_0x166810=_0x10bc21(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x5495cb,0x10,_0xbb43f[0x2a]),_0x184372=_0x10bc21(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x2d013d,0x17,_0xbb43f[0x2b]),_0x30af4a=_0x10bc21(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x1f20ae,0x4,_0xbb43f[0x2c]),_0x24086a=_0x10bc21(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x271560,0xb,_0xbb43f[0x2d]),_0x166810=_0x10bc21(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x42c167,0x10,_0xbb43f[0x2e]),_0x184372=_0x10bc21(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x885991,0x17,_0xbb43f[0x2f]),_0x30af4a=_0x57b250(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x34eea0,0x6,_0xbb43f[0x30]),_0x24086a=_0x57b250(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x587de9,0xa,_0xbb43f[0x31]),_0x166810=_0x57b250(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x415484,0xf,_0xbb43f[0x32]),_0x184372=_0x57b250(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x2d1f9b,0x15,_0xbb43f[0x33]),_0x30af4a=_0x57b250(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x271560,0x6,_0xbb43f[0x34]),_0x24086a=_0x57b250(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x5495cb,0xa,_0xbb43f[0x35]),_0x166810=_0x57b250(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x2bc8cc,0xf,_0xbb43f[0x36]),_0x184372=_0x57b250(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x2f2834,0x15,_0xbb43f[0x37]),_0x30af4a=_0x57b250(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x2109e2,0x6,_0xbb43f[0x38]),_0x24086a=_0x57b250(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x42c167,0xa,_0xbb43f[0x39]),_0x166810=_0x57b250(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x2d013d,0xf,_0xbb43f[0x3a]),_0x184372=_0x57b250(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x56fb82,0x15,_0xbb43f[0x3b]),_0x30af4a=_0x57b250(_0x30af4a,_0x184372,_0x166810,_0x24086a,_0x309964,0x6,_0xbb43f[0x3c]),_0x24086a=_0x57b250(_0x24086a,_0x30af4a,_0x184372,_0x166810,_0x5f4245,0xa,_0xbb43f[0x3d]),_0x166810=_0x57b250(_0x166810,_0x24086a,_0x30af4a,_0x184372,_0x885991,0xf,_0xbb43f[0x3e]),_0x184372=_0x57b250(_0x184372,_0x166810,_0x24086a,_0x30af4a,_0x1f20ae,0x15,_0xbb43f[0x3f]),_0x2819d4[0x0]=_0x2819d4[0x0]+_0x30af4a|0x0,_0x2819d4[0x1]=_0x2819d4[0x1]+_0x184372|0x0,_0x2819d4[0x2]=_0x2819d4[0x2]+_0x166810|0x0,_0x2819d4[0x3]=_0x2819d4[0x3]+_0x24086a|0x0;},'_doFinalize':function(){var _0x3af668=_0x5875c4,_0x550f48=this['_data'],_0xa55ef5=_0x550f48[_0x3af668(0x22f)],_0x38cedc=this[_0x3af668(0x1ff)]*0x8,_0x317159=_0x550f48[_0x3af668(0x12d)]*0x8;_0xa55ef5[_0x317159>>>0x5]|=0x80<<0x18-_0x317159%0x20;var _0x568364=_0x4f218d[_0x3af668(0x1a8)](_0x38cedc/0x100000000),_0x3b4cfc=_0x38cedc;_0xa55ef5[(_0x317159+0x40>>>0x9<<0x4)+0xf]=(_0x568364<<0x8|_0x568364>>>0x18)&0xff00ff|(_0x568364<<0x18|_0x568364>>>0x8)&0xff00ff00,_0xa55ef5[(_0x317159+0x40>>>0x9<<0x4)+0xe]=(_0x3b4cfc<<0x8|_0x3b4cfc>>>0x18)&0xff00ff|(_0x3b4cfc<<0x18|_0x3b4cfc>>>0x8)&0xff00ff00,_0x550f48[_0x3af668(0x12d)]=(_0xa55ef5[_0x3af668(0x1aa)]+0x1)*0x4,this[_0x3af668(0x430)]();for(var _0x3b4051=this[_0x3af668(0x2f2)],_0x3d777f=_0x3b4051[_0x3af668(0x22f)],_0x4dca6a=0x0;_0x4dca6a<0x4;_0x4dca6a++){var _0x59bf49=_0x3d777f[_0x4dca6a];_0x3d777f[_0x4dca6a]=(_0x59bf49<<0x8|_0x59bf49>>>0x18)&0xff00ff|(_0x59bf49<<0x18|_0x59bf49>>>0x8)&0xff00ff00;}return _0x3b4051;},'clone':function(){var _0x46a715=_0x5875c4,_0x32e039=_0x323f41[_0x46a715(0x3d0)][_0x46a715(0x129)](this);return _0x32e039[_0x46a715(0x2f2)]=this[_0x46a715(0x2f2)][_0x46a715(0x3d0)](),_0x32e039;}});function _0x2aaf31(_0x813823,_0x49ffb6,_0x1da196,_0x433c93,_0x148993,_0x8d0bc1,_0x1a1509){var _0x3fa33d=_0x813823+(_0x49ffb6&_0x1da196|~_0x49ffb6&_0x433c93)+_0x148993+_0x1a1509;return(_0x3fa33d<<_0x8d0bc1|_0x3fa33d>>>0x20-_0x8d0bc1)+_0x49ffb6;}function _0x58083c(_0x3b31ae,_0x596afe,_0x570eef,_0x4e2d8e,_0x3497fe,_0xc83f59,_0x24bd4b){var _0x376ae1=_0x3b31ae+(_0x596afe&_0x4e2d8e|_0x570eef&~_0x4e2d8e)+_0x3497fe+_0x24bd4b;return(_0x376ae1<<_0xc83f59|_0x376ae1>>>0x20-_0xc83f59)+_0x596afe;}function _0x10bc21(_0xd847ed,_0x312b1e,_0x16a002,_0x35882a,_0x498e61,_0x335095,_0x2c61e9){var _0x4430c0=_0xd847ed+(_0x312b1e^_0x16a002^_0x35882a)+_0x498e61+_0x2c61e9;return(_0x4430c0<<_0x335095|_0x4430c0>>>0x20-_0x335095)+_0x312b1e;}function _0x57b250(_0x2fb8ce,_0x525ca8,_0x293b99,_0x205889,_0x37c5eb,_0x545476,_0x1c3796){var _0x11857b=_0x2fb8ce+(_0x293b99^(_0x525ca8|~_0x205889))+_0x37c5eb+_0x1c3796;return(_0x11857b<<_0x545476|_0x11857b>>>0x20-_0x545476)+_0x525ca8;}_0x168ae7[_0x5875c4(0x45e)]=_0x323f41[_0x5875c4(0x3ba)](_0x5ad008),_0x168ae7['HmacMD5']=_0x323f41[_0x5875c4(0x18a)](_0x5ad008);}(Math),_0xecf99f[_0x548f03(0x45e)];}));}(ge)),ge[_0x567dee(0x425)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x126d7f(0x425)],Ze;function Pi(){var _0x59df67=_0x126d7f;return Ze||(Ze=0x1,function(_0x2d100a,_0x4f10cb){(function(_0x139a64,_0x5c3a75){var _0x3e4e57=_0x5282;_0x2d100a[_0x3e4e57(0x425)]=_0x5c3a75(Q());}(Ai,function(_0x4edcc1){var _0x39ca85=_0x5282;return(function(){var _0x5aa5e3=_0x5282,_0xdb9be9=_0x4edcc1,_0x441af1=_0xdb9be9['lib'],_0xad888a=_0x441af1['WordArray'],_0x4188a8=_0x441af1[_0x5aa5e3(0x1ac)],_0x434590=_0xdb9be9[_0x5aa5e3(0x3f4)],_0x3f8e92=[],_0x3e27dc=_0x434590['SHA1']=_0x4188a8[_0x5aa5e3(0x2f6)]({'_doReset':function(){var _0x594175=_0x5aa5e3;this[_0x594175(0x2f2)]=new _0xad888a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e212e,_0x2dc98a){var _0x17b427=_0x5aa5e3;for(var _0x434fb3=this['_hash'][_0x17b427(0x22f)],_0x4d8f8a=_0x434fb3[0x0],_0x2c6a40=_0x434fb3[0x1],_0x5c67cc=_0x434fb3[0x2],_0x369e15=_0x434fb3[0x3],_0x18eb5f=_0x434fb3[0x4],_0xbb08aa=0x0;_0xbb08aa<0x50;_0xbb08aa++){if(_0xbb08aa<0x10)_0x3f8e92[_0xbb08aa]=_0x4e212e[_0x2dc98a+_0xbb08aa]|0x0;else{var _0x1512eb=_0x3f8e92[_0xbb08aa-0x3]^_0x3f8e92[_0xbb08aa-0x8]^_0x3f8e92[_0xbb08aa-0xe]^_0x3f8e92[_0xbb08aa-0x10];_0x3f8e92[_0xbb08aa]=_0x1512eb<<0x1|_0x1512eb>>>0x1f;}var _0x11e0bd=(_0x4d8f8a<<0x5|_0x4d8f8a>>>0x1b)+_0x18eb5f+_0x3f8e92[_0xbb08aa];_0xbb08aa<0x14?_0x11e0bd+=(_0x2c6a40&_0x5c67cc|~_0x2c6a40&_0x369e15)+0x5a827999:_0xbb08aa<0x28?_0x11e0bd+=(_0x2c6a40^_0x5c67cc^_0x369e15)+0x6ed9eba1:_0xbb08aa<0x3c?_0x11e0bd+=(_0x2c6a40&_0x5c67cc|_0x2c6a40&_0x369e15|_0x5c67cc&_0x369e15)-0x70e44324:_0x11e0bd+=(_0x2c6a40^_0x5c67cc^_0x369e15)-0x359d3e2a,_0x18eb5f=_0x369e15,_0x369e15=_0x5c67cc,_0x5c67cc=_0x2c6a40<<0x1e|_0x2c6a40>>>0x2,_0x2c6a40=_0x4d8f8a,_0x4d8f8a=_0x11e0bd;}_0x434fb3[0x0]=_0x434fb3[0x0]+_0x4d8f8a|0x0,_0x434fb3[0x1]=_0x434fb3[0x1]+_0x2c6a40|0x0,_0x434fb3[0x2]=_0x434fb3[0x2]+_0x5c67cc|0x0,_0x434fb3[0x3]=_0x434fb3[0x3]+_0x369e15|0x0,_0x434fb3[0x4]=_0x434fb3[0x4]+_0x18eb5f|0x0;},'_doFinalize':function(){var _0x2d93be=_0x5aa5e3,_0x41617f=this['_data'],_0x50c29c=_0x41617f['words'],_0x5cd524=this[_0x2d93be(0x1ff)]*0x8,_0x3808ea=_0x41617f['sigBytes']*0x8;return _0x50c29c[_0x3808ea>>>0x5]|=0x80<<0x18-_0x3808ea%0x20,_0x50c29c[(_0x3808ea+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d93be(0x1a8)](_0x5cd524/0x100000000),_0x50c29c[(_0x3808ea+0x40>>>0x9<<0x4)+0xf]=_0x5cd524,_0x41617f[_0x2d93be(0x12d)]=_0x50c29c[_0x2d93be(0x1aa)]*0x4,this[_0x2d93be(0x430)](),this['_hash'];},'clone':function(){var _0x118941=_0x5aa5e3,_0x13513c=_0x4188a8[_0x118941(0x3d0)][_0x118941(0x129)](this);return _0x13513c[_0x118941(0x2f2)]=this[_0x118941(0x2f2)]['clone'](),_0x13513c;}});_0xdb9be9[_0x5aa5e3(0x385)]=_0x4188a8[_0x5aa5e3(0x3ba)](_0x3e27dc),_0xdb9be9[_0x5aa5e3(0x44c)]=_0x4188a8['_createHmacHelper'](_0x3e27dc);}()),_0x4edcc1[_0x39ca85(0x385)];}));}(me)),me[_0x59df67(0x425)];}var Ce={'exports':{}},wi=Ce[_0x126d7f(0x425)],Qe;function Li(){var _0x4f408c=_0x126d7f;return Qe||(Qe=0x1,function(_0x319cf4,_0x14ad28){(function(_0x579afe,_0x431f58){var _0x18c519=_0x5282;_0x319cf4[_0x18c519(0x425)]=_0x431f58(Q());}(wi,function(_0xdd3106){(function(){var _0x94f535=_0x5282,_0x378bd7=_0xdd3106,_0x4fe262=_0x378bd7[_0x94f535(0x144)],_0x200485=_0x4fe262[_0x94f535(0x2a2)],_0x265f7e=_0x378bd7[_0x94f535(0x16d)],_0x5d0891=_0x265f7e['Utf8'],_0x24f658=_0x378bd7[_0x94f535(0x3f4)];_0x24f658[_0x94f535(0x11f)]=_0x200485['extend']({'init':function(_0xd89ceb,_0x3c7ae7){var _0x2db134=_0x94f535;_0xd89ceb=this['_hasher']=new _0xd89ceb[(_0x2db134(0x3af))](),typeof _0x3c7ae7==_0x2db134(0x1a1)&&(_0x3c7ae7=_0x5d0891[_0x2db134(0x12f)](_0x3c7ae7));var _0x3e726e=_0xd89ceb[_0x2db134(0xff)],_0x2dd321=_0x3e726e*0x4;_0x3c7ae7['sigBytes']>_0x2dd321&&(_0x3c7ae7=_0xd89ceb['finalize'](_0x3c7ae7)),_0x3c7ae7[_0x2db134(0x18b)]();for(var _0x504b1a=this['_oKey']=_0x3c7ae7[_0x2db134(0x3d0)](),_0x257429=this[_0x2db134(0x428)]=_0x3c7ae7['clone'](),_0x14df9b=_0x504b1a[_0x2db134(0x22f)],_0x54578b=_0x257429['words'],_0x5a0cf7=0x0;_0x5a0cf7<_0x3e726e;_0x5a0cf7++)_0x14df9b[_0x5a0cf7]^=0x5c5c5c5c,_0x54578b[_0x5a0cf7]^=0x36363636;_0x504b1a[_0x2db134(0x12d)]=_0x257429[_0x2db134(0x12d)]=_0x2dd321,this['reset']();},'reset':function(){var _0x376c0b=_0x94f535,_0x387939=this[_0x376c0b(0x2c3)];_0x387939[_0x376c0b(0x384)](),_0x387939[_0x376c0b(0x1e0)](this[_0x376c0b(0x428)]);},'update':function(_0x1d3c83){var _0x1d372d=_0x94f535;return this[_0x1d372d(0x2c3)][_0x1d372d(0x1e0)](_0x1d3c83),this;},'finalize':function(_0x2302ed){var _0x26522e=_0x94f535,_0x5cffec=this[_0x26522e(0x2c3)],_0x52e9a3=_0x5cffec[_0x26522e(0x1c4)](_0x2302ed);_0x5cffec['reset']();var _0x59d730=_0x5cffec[_0x26522e(0x1c4)](this[_0x26522e(0x275)][_0x26522e(0x3d0)]()[_0x26522e(0x27e)](_0x52e9a3));return _0x59d730;}});}());}));}(Ce)),Ce[_0x4f408c(0x425)];}var Mi=Ee[_0x126d7f(0x425)],et;function Nt(){var _0x526f24=_0x126d7f;return et||(et=0x1,function(_0x4d84b9,_0x196611){(function(_0x16a209,_0x11b329,_0x284c9a){var _0xa1047e=_0x5282;_0x4d84b9[_0xa1047e(0x425)]=_0x11b329(Q(),Pi(),Li());}(Mi,function(_0x4fb5fd){var _0x593416=_0x5282;return(function(){var _0x4322ab=_0x5282,_0x1afc27=_0x4fb5fd,_0x9b0a4=_0x1afc27[_0x4322ab(0x144)],_0x3b3d3c=_0x9b0a4[_0x4322ab(0x2a2)],_0x6e6b88=_0x9b0a4[_0x4322ab(0x205)],_0x21996f=_0x1afc27[_0x4322ab(0x3f4)],_0x34d069=_0x21996f[_0x4322ab(0x45e)],_0x3aedf1=_0x21996f[_0x4322ab(0x3a3)]=_0x3b3d3c['extend']({'cfg':_0x3b3d3c[_0x4322ab(0x2f6)]({'keySize':0x80/0x20,'hasher':_0x34d069,'iterations':0x1}),'init':function(_0x4afe93){var _0x3a22ac=_0x4322ab;this[_0x3a22ac(0x3b9)]=this[_0x3a22ac(0x3b9)][_0x3a22ac(0x2f6)](_0x4afe93);},'compute':function(_0xbb364,_0x34a331){var _0x1b9809=_0x4322ab;for(var _0x5c038b,_0x325641=this[_0x1b9809(0x3b9)],_0x4b4ae9=_0x325641[_0x1b9809(0x1f3)][_0x1b9809(0x2fa)](),_0x5838f2=_0x6e6b88[_0x1b9809(0x2fa)](),_0x4964d6=_0x5838f2['words'],_0x429e55=_0x325641['keySize'],_0x26b06f=_0x325641['iterations'];_0x4964d6[_0x1b9809(0x1aa)]<_0x429e55;){_0x5c038b&&_0x4b4ae9[_0x1b9809(0x1e0)](_0x5c038b),_0x5c038b=_0x4b4ae9[_0x1b9809(0x1e0)](_0xbb364)[_0x1b9809(0x1c4)](_0x34a331),_0x4b4ae9[_0x1b9809(0x384)]();for(var _0xa4b987=0x1;_0xa4b987<_0x26b06f;_0xa4b987++)_0x5c038b=_0x4b4ae9['finalize'](_0x5c038b),_0x4b4ae9[_0x1b9809(0x384)]();_0x5838f2[_0x1b9809(0x27e)](_0x5c038b);}return _0x5838f2['sigBytes']=_0x429e55*0x4,_0x5838f2;}});_0x1afc27[_0x4322ab(0x3a3)]=function(_0x5cff7a,_0x429a60,_0x502ee9){var _0x3b2f6c=_0x4322ab;return _0x3aedf1[_0x3b2f6c(0x2fa)](_0x502ee9)[_0x3b2f6c(0x39f)](_0x5cff7a,_0x429a60);};}()),_0x4fb5fd[_0x593416(0x3a3)];}));}(Ee)),Ee[_0x526f24(0x425)];}var Te={'exports':{}},xi=Te['exports'],tt;function Ut(){return tt||(tt=0x1,function(_0x437cdb,_0x225f4f){(function(_0x16a18e,_0x4552e3,_0x20d14b){var _0x4d1a49=_0x5282;_0x437cdb[_0x4d1a49(0x425)]=_0x4552e3(Q(),Nt());}(xi,function(_0x5bdfd6){var _0x3fe162=_0x5282;_0x5bdfd6[_0x3fe162(0x144)]['Cipher']||function(_0x35e8d3){var _0x3a7f4e=_0x3fe162,_0x13895f=_0x5bdfd6,_0x10dcb7=_0x13895f[_0x3a7f4e(0x144)],_0x5f23a1=_0x10dcb7[_0x3a7f4e(0x2a2)],_0x24b357=_0x10dcb7[_0x3a7f4e(0x205)],_0x3851a4=_0x10dcb7[_0x3a7f4e(0x3c8)],_0x3e1596=_0x13895f[_0x3a7f4e(0x16d)];_0x3e1596[_0x3a7f4e(0x203)];var _0x22fe64=_0x3e1596[_0x3a7f4e(0x17a)],_0x18cace=_0x13895f[_0x3a7f4e(0x3f4)],_0x5ce396=_0x18cace[_0x3a7f4e(0x3a3)],_0x43f11e=_0x10dcb7['Cipher']=_0x3851a4[_0x3a7f4e(0x2f6)]({'cfg':_0x5f23a1[_0x3a7f4e(0x2f6)](),'createEncryptor':function(_0x3ef363,_0x1a82df){var _0x48f648=_0x3a7f4e;return this['create'](this[_0x48f648(0x354)],_0x3ef363,_0x1a82df);},'createDecryptor':function(_0x2f2ee3,_0x2b537f){var _0xf82a11=_0x3a7f4e;return this[_0xf82a11(0x2fa)](this['_DEC_XFORM_MODE'],_0x2f2ee3,_0x2b537f);},'init':function(_0x44cfa8,_0x311d50,_0x331927){var _0x1fff31=_0x3a7f4e;this['cfg']=this[_0x1fff31(0x3b9)][_0x1fff31(0x2f6)](_0x331927),this[_0x1fff31(0x328)]=_0x44cfa8,this[_0x1fff31(0x34c)]=_0x311d50,this[_0x1fff31(0x384)]();},'reset':function(){var _0x26613a=_0x3a7f4e;_0x3851a4[_0x26613a(0x384)][_0x26613a(0x129)](this),this[_0x26613a(0x185)]();},'process':function(_0x5d3de8){var _0xab14f0=_0x3a7f4e;return this['_append'](_0x5d3de8),this[_0xab14f0(0x430)]();},'finalize':function(_0x143b05){var _0x16f528=_0x3a7f4e;_0x143b05&&this[_0x16f528(0x36d)](_0x143b05);var _0xf97bf2=this['_doFinalize']();return _0xf97bf2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x552d89(_0x1dd3ca){var _0x3d8e6a=_0x5282;return typeof _0x1dd3ca==_0x3d8e6a(0x1a1)?_0x1c8f6e:_0x2d2d38;}return function(_0x5ce448){return{'encrypt':function(_0x287d27,_0x1a553b,_0x1be01a){return _0x552d89(_0x1a553b)['encrypt'](_0x5ce448,_0x287d27,_0x1a553b,_0x1be01a);},'decrypt':function(_0x22193d,_0xe00c55,_0x1dce14){var _0x495381=_0x5282;return _0x552d89(_0xe00c55)[_0x495381(0x1fc)](_0x5ce448,_0x22193d,_0xe00c55,_0x1dce14);}};};}())});_0x10dcb7[_0x3a7f4e(0x2bd)]=_0x43f11e[_0x3a7f4e(0x2f6)]({'_doFinalize':function(){var _0x16d788=_0x3a7f4e,_0x5a9afa=this[_0x16d788(0x430)](!0x0);return _0x5a9afa;},'blockSize':0x1});var _0x23c602=_0x13895f[_0x3a7f4e(0x417)]={},_0x5cc743=_0x10dcb7['BlockCipherMode']=_0x5f23a1['extend']({'createEncryptor':function(_0x299118,_0x32db1a){var _0x4e02c7=_0x3a7f4e;return this[_0x4e02c7(0x2e0)]['create'](_0x299118,_0x32db1a);},'createDecryptor':function(_0x226196,_0x430c2a){var _0x2aa3c5=_0x3a7f4e;return this[_0x2aa3c5(0x37d)][_0x2aa3c5(0x2fa)](_0x226196,_0x430c2a);},'init':function(_0xaaa9b8,_0x5f1b56){var _0x82a306=_0x3a7f4e;this[_0x82a306(0x35f)]=_0xaaa9b8,this[_0x82a306(0x1d9)]=_0x5f1b56;}}),_0x227da5=_0x23c602[_0x3a7f4e(0x3f2)]=(function(){var _0x357978=_0x3a7f4e,_0x3404ba=_0x5cc743['extend']();_0x3404ba[_0x357978(0x2e0)]=_0x3404ba[_0x357978(0x2f6)]({'processBlock':function(_0x6d447f,_0x3f3aea){var _0x31f1b8=_0x357978,_0x33e542=this[_0x31f1b8(0x35f)],_0x42f2db=_0x33e542[_0x31f1b8(0xff)];_0x2f217f[_0x31f1b8(0x129)](this,_0x6d447f,_0x3f3aea,_0x42f2db),_0x33e542[_0x31f1b8(0x3ff)](_0x6d447f,_0x3f3aea),this[_0x31f1b8(0x3b4)]=_0x6d447f['slice'](_0x3f3aea,_0x3f3aea+_0x42f2db);}}),_0x3404ba[_0x357978(0x37d)]=_0x3404ba['extend']({'processBlock':function(_0x17c23b,_0x26fafe){var _0x17a3b2=_0x357978,_0x1cb1d2=this[_0x17a3b2(0x35f)],_0x56af69=_0x1cb1d2[_0x17a3b2(0xff)],_0x3f5954=_0x17c23b[_0x17a3b2(0x39d)](_0x26fafe,_0x26fafe+_0x56af69);_0x1cb1d2[_0x17a3b2(0x3d4)](_0x17c23b,_0x26fafe),_0x2f217f[_0x17a3b2(0x129)](this,_0x17c23b,_0x26fafe,_0x56af69),this[_0x17a3b2(0x3b4)]=_0x3f5954;}});function _0x2f217f(_0x1018db,_0x3eebde,_0x2fc9bf){var _0x50f6d4=_0x357978,_0x11a920,_0x3ccdd7=this[_0x50f6d4(0x1d9)];_0x3ccdd7?(_0x11a920=_0x3ccdd7,this[_0x50f6d4(0x1d9)]=_0x35e8d3):_0x11a920=this[_0x50f6d4(0x3b4)];for(var _0x4077e7=0x0;_0x4077e7<_0x2fc9bf;_0x4077e7++)_0x1018db[_0x3eebde+_0x4077e7]^=_0x11a920[_0x4077e7];}return _0x3404ba;}()),_0xc1c2d5=_0x13895f['pad']={},_0x2c1cf7=_0xc1c2d5['Pkcs7']={'pad':function(_0x456050,_0x182802){var _0x38f1bf=_0x3a7f4e;for(var _0x2ffb7e=_0x182802*0x4,_0x5b6c91=_0x2ffb7e-_0x456050[_0x38f1bf(0x12d)]%_0x2ffb7e,_0x23e96f=_0x5b6c91<<0x18|_0x5b6c91<<0x10|_0x5b6c91<<0x8|_0x5b6c91,_0x4fc840=[],_0x8dc2d8=0x0;_0x8dc2d8<_0x5b6c91;_0x8dc2d8+=0x4)_0x4fc840[_0x38f1bf(0x28f)](_0x23e96f);var _0x5e9bd9=_0x24b357[_0x38f1bf(0x2fa)](_0x4fc840,_0x5b6c91);_0x456050['concat'](_0x5e9bd9);},'unpad':function(_0x2607b2){var _0xc3efbb=_0x3a7f4e,_0x4586c0=_0x2607b2[_0xc3efbb(0x22f)][_0x2607b2['sigBytes']-0x1>>>0x2]&0xff;_0x2607b2[_0xc3efbb(0x12d)]-=_0x4586c0;}};_0x10dcb7[_0x3a7f4e(0x35a)]=_0x43f11e[_0x3a7f4e(0x2f6)]({'cfg':_0x43f11e[_0x3a7f4e(0x3b9)][_0x3a7f4e(0x2f6)]({'mode':_0x227da5,'padding':_0x2c1cf7}),'reset':function(){var _0x57f6cf=_0x3a7f4e,_0x26105d;_0x43f11e[_0x57f6cf(0x384)]['call'](this);var _0x5bcb5e=this[_0x57f6cf(0x3b9)],_0x261913=_0x5bcb5e['iv'],_0x2b709b=_0x5bcb5e[_0x57f6cf(0x417)];this[_0x57f6cf(0x328)]==this[_0x57f6cf(0x354)]?_0x26105d=_0x2b709b[_0x57f6cf(0x361)]:(_0x26105d=_0x2b709b[_0x57f6cf(0x3ae)],this[_0x57f6cf(0x131)]=0x1),this[_0x57f6cf(0x306)]&&this['_mode'][_0x57f6cf(0x389)]==_0x26105d?this[_0x57f6cf(0x306)][_0x57f6cf(0x3af)](this,_0x261913&&_0x261913[_0x57f6cf(0x22f)]):(this[_0x57f6cf(0x306)]=_0x26105d['call'](_0x2b709b,this,_0x261913&&_0x261913[_0x57f6cf(0x22f)]),this[_0x57f6cf(0x306)][_0x57f6cf(0x389)]=_0x26105d);},'_doProcessBlock':function(_0x5b2119,_0x5f283e){var _0x36786e=_0x3a7f4e;this[_0x36786e(0x306)][_0x36786e(0x33d)](_0x5b2119,_0x5f283e);},'_doFinalize':function(){var _0x5f2f3b=_0x3a7f4e,_0x2a38cf,_0x3517c2=this[_0x5f2f3b(0x3b9)][_0x5f2f3b(0x105)];return this[_0x5f2f3b(0x328)]==this[_0x5f2f3b(0x354)]?(_0x3517c2[_0x5f2f3b(0x195)](this['_data'],this['blockSize']),_0x2a38cf=this[_0x5f2f3b(0x430)](!0x0)):(_0x2a38cf=this[_0x5f2f3b(0x430)](!0x0),_0x3517c2[_0x5f2f3b(0x209)](_0x2a38cf)),_0x2a38cf;},'blockSize':0x80/0x20});var _0x2b447a=_0x10dcb7[_0x3a7f4e(0x339)]=_0x5f23a1[_0x3a7f4e(0x2f6)]({'init':function(_0x527ade){var _0x344404=_0x3a7f4e;this[_0x344404(0x1ed)](_0x527ade);},'toString':function(_0xd722eb){var _0x22fbe2=_0x3a7f4e;return(_0xd722eb||this[_0x22fbe2(0x1a6)])['stringify'](this);}}),_0x414f56=_0x13895f[_0x3a7f4e(0x329)]={},_0x57cc1a=_0x414f56[_0x3a7f4e(0x397)]={'stringify':function(_0x42ffb0){var _0x15f4c5=_0x3a7f4e,_0x4e5d4e,_0x29aa9d=_0x42ffb0[_0x15f4c5(0x298)],_0x184e04=_0x42ffb0[_0x15f4c5(0x3d6)];return _0x184e04?_0x4e5d4e=_0x24b357['create']([0x53616c74,0x65645f5f])[_0x15f4c5(0x27e)](_0x184e04)[_0x15f4c5(0x27e)](_0x29aa9d):_0x4e5d4e=_0x29aa9d,_0x4e5d4e[_0x15f4c5(0x305)](_0x22fe64);},'parse':function(_0x3b71a7){var _0x1c3ae0=_0x3a7f4e,_0x1b97f9,_0x4ffc26=_0x22fe64['parse'](_0x3b71a7),_0x49e23a=_0x4ffc26[_0x1c3ae0(0x22f)];return _0x49e23a[0x0]==0x53616c74&&_0x49e23a[0x1]==0x65645f5f&&(_0x1b97f9=_0x24b357[_0x1c3ae0(0x2fa)](_0x49e23a[_0x1c3ae0(0x39d)](0x2,0x4)),_0x49e23a[_0x1c3ae0(0x2b3)](0x0,0x4),_0x4ffc26[_0x1c3ae0(0x12d)]-=0x10),_0x2b447a[_0x1c3ae0(0x2fa)]({'ciphertext':_0x4ffc26,'salt':_0x1b97f9});}},_0x2d2d38=_0x10dcb7[_0x3a7f4e(0x10d)]=_0x5f23a1[_0x3a7f4e(0x2f6)]({'cfg':_0x5f23a1['extend']({'format':_0x57cc1a}),'encrypt':function(_0x5052c6,_0x30e418,_0x235c80,_0x4db015){var _0x39f42a=_0x3a7f4e;_0x4db015=this[_0x39f42a(0x3b9)][_0x39f42a(0x2f6)](_0x4db015);var _0x1ded78=_0x5052c6[_0x39f42a(0x361)](_0x235c80,_0x4db015),_0x141de1=_0x1ded78[_0x39f42a(0x1c4)](_0x30e418),_0x6b9b1b=_0x1ded78['cfg'];return _0x2b447a[_0x39f42a(0x2fa)]({'ciphertext':_0x141de1,'key':_0x235c80,'iv':_0x6b9b1b['iv'],'algorithm':_0x5052c6,'mode':_0x6b9b1b['mode'],'padding':_0x6b9b1b[_0x39f42a(0x105)],'blockSize':_0x5052c6['blockSize'],'formatter':_0x4db015[_0x39f42a(0x329)]});},'decrypt':function(_0x4b3592,_0xb2b491,_0x2e0e64,_0x601181){var _0x20206c=_0x3a7f4e;_0x601181=this[_0x20206c(0x3b9)][_0x20206c(0x2f6)](_0x601181),_0xb2b491=this[_0x20206c(0x14d)](_0xb2b491,_0x601181['format']);var _0x337d81=_0x4b3592[_0x20206c(0x3ae)](_0x2e0e64,_0x601181)[_0x20206c(0x1c4)](_0xb2b491['ciphertext']);return _0x337d81;},'_parse':function(_0x4cfbc4,_0x35acf4){var _0x39842c=_0x3a7f4e;return typeof _0x4cfbc4==_0x39842c(0x1a1)?_0x35acf4['parse'](_0x4cfbc4,this):_0x4cfbc4;}}),_0x15b1ca=_0x13895f[_0x3a7f4e(0x29b)]={},_0x1bd213=_0x15b1ca[_0x3a7f4e(0x397)]={'execute':function(_0x4daf29,_0x48536d,_0x1e8de0,_0x2821bd,_0x36738d){var _0x1a0df6=_0x3a7f4e;if(_0x2821bd||(_0x2821bd=_0x24b357[_0x1a0df6(0x24b)](0x40/0x8)),_0x36738d)var _0x177a89=_0x5ce396[_0x1a0df6(0x2fa)]({'keySize':_0x48536d+_0x1e8de0,'hasher':_0x36738d})['compute'](_0x4daf29,_0x2821bd);else var _0x177a89=_0x5ce396['create']({'keySize':_0x48536d+_0x1e8de0})['compute'](_0x4daf29,_0x2821bd);var _0x56bbc3=_0x24b357['create'](_0x177a89[_0x1a0df6(0x22f)][_0x1a0df6(0x39d)](_0x48536d),_0x1e8de0*0x4);return _0x177a89['sigBytes']=_0x48536d*0x4,_0x2b447a['create']({'key':_0x177a89,'iv':_0x56bbc3,'salt':_0x2821bd});}},_0x1c8f6e=_0x10dcb7[_0x3a7f4e(0x46c)]=_0x2d2d38[_0x3a7f4e(0x2f6)]({'cfg':_0x2d2d38['cfg']['extend']({'kdf':_0x1bd213}),'encrypt':function(_0xfc5a91,_0x505ceb,_0x5d70c2,_0x2f77ed){var _0x38896a=_0x3a7f4e;_0x2f77ed=this[_0x38896a(0x3b9)][_0x38896a(0x2f6)](_0x2f77ed);var _0x2ace80=_0x2f77ed[_0x38896a(0x29b)]['execute'](_0x5d70c2,_0xfc5a91[_0x38896a(0x1dc)],_0xfc5a91[_0x38896a(0x2b0)],_0x2f77ed[_0x38896a(0x3d6)],_0x2f77ed[_0x38896a(0x1f3)]);_0x2f77ed['iv']=_0x2ace80['iv'];var _0x54d190=_0x2d2d38[_0x38896a(0x199)]['call'](this,_0xfc5a91,_0x505ceb,_0x2ace80['key'],_0x2f77ed);return _0x54d190['mixIn'](_0x2ace80),_0x54d190;},'decrypt':function(_0x91f127,_0x3da62f,_0xf2739e,_0x45f9f8){var _0x3b4ced=_0x3a7f4e;_0x45f9f8=this['cfg']['extend'](_0x45f9f8),_0x3da62f=this['_parse'](_0x3da62f,_0x45f9f8[_0x3b4ced(0x329)]);var _0xa92b14=_0x45f9f8['kdf'][_0x3b4ced(0x1e9)](_0xf2739e,_0x91f127[_0x3b4ced(0x1dc)],_0x91f127[_0x3b4ced(0x2b0)],_0x3da62f[_0x3b4ced(0x3d6)],_0x45f9f8[_0x3b4ced(0x1f3)]);_0x45f9f8['iv']=_0xa92b14['iv'];var _0x564aa3=_0x2d2d38[_0x3b4ced(0x1fc)]['call'](this,_0x91f127,_0x3da62f,_0xa92b14[_0x3b4ced(0x3e2)],_0x45f9f8);return _0x564aa3;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x126d7f(0x425)],it;function Hi(){var _0x3255f3=_0x126d7f;return it||(it=0x1,function(_0xc89721,_0x29c432){(function(_0x4544db,_0x3710bc,_0x26f0a6){var _0x54118a=_0x5282;_0xc89721[_0x54118a(0x425)]=_0x3710bc(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x294d54){var _0x110f0d=_0x5282;return(function(){var _0x99d300=_0x5282,_0x13ef09=_0x294d54,_0x198d83=_0x13ef09[_0x99d300(0x144)],_0x207b1b=_0x198d83['BlockCipher'],_0x1143a2=_0x13ef09[_0x99d300(0x3f4)],_0x2b53f2=[],_0x43e50d=[],_0x3e334a=[],_0x5e6230=[],_0x522ef7=[],_0x29fde4=[],_0x37645e=[],_0x471991=[],_0x49dc74=[],_0x4fb43f=[];(function(){for(var _0xd296dc=[],_0x54ca54=0x0;_0x54ca54<0x100;_0x54ca54++)_0x54ca54<0x80?_0xd296dc[_0x54ca54]=_0x54ca54<<0x1:_0xd296dc[_0x54ca54]=_0x54ca54<<0x1^0x11b;for(var _0x8b6a5=0x0,_0x4b1db3=0x0,_0x54ca54=0x0;_0x54ca54<0x100;_0x54ca54++){var _0x40da40=_0x4b1db3^_0x4b1db3<<0x1^_0x4b1db3<<0x2^_0x4b1db3<<0x3^_0x4b1db3<<0x4;_0x40da40=_0x40da40>>>0x8^_0x40da40&0xff^0x63,_0x2b53f2[_0x8b6a5]=_0x40da40,_0x43e50d[_0x40da40]=_0x8b6a5;var _0x4a7f71=_0xd296dc[_0x8b6a5],_0x4fc763=_0xd296dc[_0x4a7f71],_0xabab74=_0xd296dc[_0x4fc763],_0x473eec=_0xd296dc[_0x40da40]*0x101^_0x40da40*0x1010100;_0x3e334a[_0x8b6a5]=_0x473eec<<0x18|_0x473eec>>>0x8,_0x5e6230[_0x8b6a5]=_0x473eec<<0x10|_0x473eec>>>0x10,_0x522ef7[_0x8b6a5]=_0x473eec<<0x8|_0x473eec>>>0x18,_0x29fde4[_0x8b6a5]=_0x473eec;var _0x473eec=_0xabab74*0x1010101^_0x4fc763*0x10001^_0x4a7f71*0x101^_0x8b6a5*0x1010100;_0x37645e[_0x40da40]=_0x473eec<<0x18|_0x473eec>>>0x8,_0x471991[_0x40da40]=_0x473eec<<0x10|_0x473eec>>>0x10,_0x49dc74[_0x40da40]=_0x473eec<<0x8|_0x473eec>>>0x18,_0x4fb43f[_0x40da40]=_0x473eec,_0x8b6a5?(_0x8b6a5=_0x4a7f71^_0xd296dc[_0xd296dc[_0xd296dc[_0xabab74^_0x4a7f71]]],_0x4b1db3^=_0xd296dc[_0xd296dc[_0x4b1db3]]):_0x8b6a5=_0x4b1db3=0x1;}}());var _0x56ab6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1fad08=_0x1143a2[_0x99d300(0x299)]=_0x207b1b[_0x99d300(0x2f6)]({'_doReset':function(){var _0x308990=_0x99d300,_0x173e54;if(!(this[_0x308990(0x212)]&&this[_0x308990(0x45a)]===this[_0x308990(0x34c)])){for(var _0x49d41d=this['_keyPriorReset']=this[_0x308990(0x34c)],_0x4213fc=_0x49d41d[_0x308990(0x22f)],_0x308825=_0x49d41d[_0x308990(0x12d)]/0x4,_0x2f573b=this[_0x308990(0x212)]=_0x308825+0x6,_0x469c02=(_0x2f573b+0x1)*0x4,_0x15fa6f=this[_0x308990(0x1a2)]=[],_0x2848d1=0x0;_0x2848d1<_0x469c02;_0x2848d1++)_0x2848d1<_0x308825?_0x15fa6f[_0x2848d1]=_0x4213fc[_0x2848d1]:(_0x173e54=_0x15fa6f[_0x2848d1-0x1],_0x2848d1%_0x308825?_0x308825>0x6&&_0x2848d1%_0x308825==0x4&&(_0x173e54=_0x2b53f2[_0x173e54>>>0x18]<<0x18|_0x2b53f2[_0x173e54>>>0x10&0xff]<<0x10|_0x2b53f2[_0x173e54>>>0x8&0xff]<<0x8|_0x2b53f2[_0x173e54&0xff]):(_0x173e54=_0x173e54<<0x8|_0x173e54>>>0x18,_0x173e54=_0x2b53f2[_0x173e54>>>0x18]<<0x18|_0x2b53f2[_0x173e54>>>0x10&0xff]<<0x10|_0x2b53f2[_0x173e54>>>0x8&0xff]<<0x8|_0x2b53f2[_0x173e54&0xff],_0x173e54^=_0x56ab6b[_0x2848d1/_0x308825|0x0]<<0x18),_0x15fa6f[_0x2848d1]=_0x15fa6f[_0x2848d1-_0x308825]^_0x173e54);for(var _0x2ad314=this[_0x308990(0x1f7)]=[],_0x3ee0f8=0x0;_0x3ee0f8<_0x469c02;_0x3ee0f8++){var _0x2848d1=_0x469c02-_0x3ee0f8;if(_0x3ee0f8%0x4)var _0x173e54=_0x15fa6f[_0x2848d1];else var _0x173e54=_0x15fa6f[_0x2848d1-0x4];_0x3ee0f8<0x4||_0x2848d1<=0x4?_0x2ad314[_0x3ee0f8]=_0x173e54:_0x2ad314[_0x3ee0f8]=_0x37645e[_0x2b53f2[_0x173e54>>>0x18]]^_0x471991[_0x2b53f2[_0x173e54>>>0x10&0xff]]^_0x49dc74[_0x2b53f2[_0x173e54>>>0x8&0xff]]^_0x4fb43f[_0x2b53f2[_0x173e54&0xff]];}}},'encryptBlock':function(_0x11da33,_0x41c6cc){var _0x4ef578=_0x99d300;this['_doCryptBlock'](_0x11da33,_0x41c6cc,this[_0x4ef578(0x1a2)],_0x3e334a,_0x5e6230,_0x522ef7,_0x29fde4,_0x2b53f2);},'decryptBlock':function(_0x218067,_0x206699){var _0xff579e=_0x99d300,_0x24aba7=_0x218067[_0x206699+0x1];_0x218067[_0x206699+0x1]=_0x218067[_0x206699+0x3],_0x218067[_0x206699+0x3]=_0x24aba7,this[_0xff579e(0x386)](_0x218067,_0x206699,this['_invKeySchedule'],_0x37645e,_0x471991,_0x49dc74,_0x4fb43f,_0x43e50d);var _0x24aba7=_0x218067[_0x206699+0x1];_0x218067[_0x206699+0x1]=_0x218067[_0x206699+0x3],_0x218067[_0x206699+0x3]=_0x24aba7;},'_doCryptBlock':function(_0x3395b7,_0x4da03a,_0x264044,_0x23ce6f,_0x51a4ef,_0x41639a,_0x32d8c2,_0xd4e492){var _0x455497=_0x99d300;for(var _0x5ce56c=this[_0x455497(0x212)],_0x11da59=_0x3395b7[_0x4da03a]^_0x264044[0x0],_0x8e86e0=_0x3395b7[_0x4da03a+0x1]^_0x264044[0x1],_0x521589=_0x3395b7[_0x4da03a+0x2]^_0x264044[0x2],_0x57dfd2=_0x3395b7[_0x4da03a+0x3]^_0x264044[0x3],_0x20b32e=0x4,_0x3d5e9b=0x1;_0x3d5e9b<_0x5ce56c;_0x3d5e9b++){var _0x1dbb3e=_0x23ce6f[_0x11da59>>>0x18]^_0x51a4ef[_0x8e86e0>>>0x10&0xff]^_0x41639a[_0x521589>>>0x8&0xff]^_0x32d8c2[_0x57dfd2&0xff]^_0x264044[_0x20b32e++],_0x203a2a=_0x23ce6f[_0x8e86e0>>>0x18]^_0x51a4ef[_0x521589>>>0x10&0xff]^_0x41639a[_0x57dfd2>>>0x8&0xff]^_0x32d8c2[_0x11da59&0xff]^_0x264044[_0x20b32e++],_0x3b0998=_0x23ce6f[_0x521589>>>0x18]^_0x51a4ef[_0x57dfd2>>>0x10&0xff]^_0x41639a[_0x11da59>>>0x8&0xff]^_0x32d8c2[_0x8e86e0&0xff]^_0x264044[_0x20b32e++],_0xdc51e6=_0x23ce6f[_0x57dfd2>>>0x18]^_0x51a4ef[_0x11da59>>>0x10&0xff]^_0x41639a[_0x8e86e0>>>0x8&0xff]^_0x32d8c2[_0x521589&0xff]^_0x264044[_0x20b32e++];_0x11da59=_0x1dbb3e,_0x8e86e0=_0x203a2a,_0x521589=_0x3b0998,_0x57dfd2=_0xdc51e6;}var _0x1dbb3e=(_0xd4e492[_0x11da59>>>0x18]<<0x18|_0xd4e492[_0x8e86e0>>>0x10&0xff]<<0x10|_0xd4e492[_0x521589>>>0x8&0xff]<<0x8|_0xd4e492[_0x57dfd2&0xff])^_0x264044[_0x20b32e++],_0x203a2a=(_0xd4e492[_0x8e86e0>>>0x18]<<0x18|_0xd4e492[_0x521589>>>0x10&0xff]<<0x10|_0xd4e492[_0x57dfd2>>>0x8&0xff]<<0x8|_0xd4e492[_0x11da59&0xff])^_0x264044[_0x20b32e++],_0x3b0998=(_0xd4e492[_0x521589>>>0x18]<<0x18|_0xd4e492[_0x57dfd2>>>0x10&0xff]<<0x10|_0xd4e492[_0x11da59>>>0x8&0xff]<<0x8|_0xd4e492[_0x8e86e0&0xff])^_0x264044[_0x20b32e++],_0xdc51e6=(_0xd4e492[_0x57dfd2>>>0x18]<<0x18|_0xd4e492[_0x11da59>>>0x10&0xff]<<0x10|_0xd4e492[_0x8e86e0>>>0x8&0xff]<<0x8|_0xd4e492[_0x521589&0xff])^_0x264044[_0x20b32e++];_0x3395b7[_0x4da03a]=_0x1dbb3e,_0x3395b7[_0x4da03a+0x1]=_0x203a2a,_0x3395b7[_0x4da03a+0x2]=_0x3b0998,_0x3395b7[_0x4da03a+0x3]=_0xdc51e6;},'keySize':0x100/0x20});_0x13ef09[_0x99d300(0x299)]=_0x207b1b['_createHelper'](_0x1fad08);}()),_0x294d54[_0x110f0d(0x299)];}));}(fe)),fe[_0x3255f3(0x425)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x102d0=_0x126d7f;return rt||(rt=0x1,function(_0x1ebd7d,_0x391bfe){(function(_0x1b9304,_0x56f2da){_0x1ebd7d['exports']=_0x56f2da(Q());}(Fi,function(_0x3abc59){var _0x3baa89=_0x5282;return _0x3abc59['enc'][_0x3baa89(0x203)];}));}(be)),be[_0x102d0(0x425)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x126d7f(0x425)],st;function Yi(){var _0x4bfa2f=_0x126d7f;return st||(st=0x1,function(_0x1244a9,_0x68ec22){(function(_0x5cd860,_0x76fb43){var _0x4841c9=_0x5282;_0x1244a9[_0x4841c9(0x425)]=_0x76fb43(Q());}(Ki,function(_0x5ce0a9){var _0x72d0a=_0x5282;return(function(){var _0x237ffb=_0x5282;if(typeof ArrayBuffer==_0x237ffb(0x322)){var _0xf13433=_0x5ce0a9,_0x1452c3=_0xf13433[_0x237ffb(0x144)],_0x2f1206=_0x1452c3['WordArray'],_0x347b87=_0x2f1206[_0x237ffb(0x3af)],_0x1ed0b7=_0x2f1206[_0x237ffb(0x3af)]=function(_0x787fe1){var _0x4c1105=_0x237ffb;if(_0x787fe1 instanceof ArrayBuffer&&(_0x787fe1=new Uint8Array(_0x787fe1)),(_0x787fe1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x787fe1 instanceof Uint8ClampedArray||_0x787fe1 instanceof Int16Array||_0x787fe1 instanceof Uint16Array||_0x787fe1 instanceof Int32Array||_0x787fe1 instanceof Uint32Array||_0x787fe1 instanceof Float32Array||_0x787fe1 instanceof Float64Array)&&(_0x787fe1=new Uint8Array(_0x787fe1[_0x4c1105(0x26d)],_0x787fe1[_0x4c1105(0x22a)],_0x787fe1[_0x4c1105(0x169)])),_0x787fe1 instanceof Uint8Array){for(var _0x3b4d0a=_0x787fe1[_0x4c1105(0x169)],_0x1b66da=[],_0x35c7f4=0x0;_0x35c7f4<_0x3b4d0a;_0x35c7f4++)_0x1b66da[_0x35c7f4>>>0x2]|=_0x787fe1[_0x35c7f4]<<0x18-_0x35c7f4%0x4*0x8;_0x347b87['call'](this,_0x1b66da,_0x3b4d0a);}else _0x347b87[_0x4c1105(0x336)](this,arguments);};_0x1ed0b7[_0x237ffb(0x229)]=_0x2f1206;}}()),_0x5ce0a9[_0x72d0a(0x144)][_0x72d0a(0x205)];}));}(Re)),Re[_0x4bfa2f(0x425)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x126d7f(0x425)],ot;function Xi(){var _0x395cac=_0x126d7f;return ot||(ot=0x1,function(_0x59fb48,_0x5e645d){(function(_0x31c35e,_0x2a84a9,_0x306f98){var _0x181ae6=_0x5282;_0x59fb48[_0x181ae6(0x425)]=_0x2a84a9(Q(),Ut());}(Ji,function(_0x442b3a){var _0x232791=_0x5282;return _0x442b3a[_0x232791(0x195)][_0x232791(0x22b)]={'pad':function(){},'unpad':function(){}},_0x442b3a['pad'][_0x232791(0x22b)];}));}(Oe)),Oe[_0x395cac(0x425)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x58fc18,_0x5bfced){var _0x18245c=_0x126d7f;const _0x564a9b=_0x5bfced-_0x58fc18['length']%_0x5bfced,_0x485900=String['fromCharCode'](_0x564a9b)[_0x18245c(0x160)](_0x564a9b);return _0x58fc18+_0x485900;}function tn(_0x7bd14c,_0xfe74f4){var _0x431ca5=_0x126d7f;const _0x5e7423=zi[_0x431ca5(0x24b)](0x10),_0x1372a2=en(_0x7bd14c,0x10),_0x378691=ji[_0x431ca5(0x199)](Gi[_0x431ca5(0x12f)](_0x1372a2),nt[_0x431ca5(0x12f)](_0xfe74f4),{'iv':_0x5e7423,'padding':Qi});return _0x5e7423['concat'](_0x378691[_0x431ca5(0x298)])[_0x431ca5(0x305)](nt);}function nn(){var _0x234071=_0x126d7f;const _0x32fef4=wt[_0x234071(0x210)]()[_0x234071(0x3fd)];if(_0x32fef4){const _0x451e04={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x234071(0x112)]};return tn(JSON[_0x234071(0x2b9)](_0x451e04),_0x32fef4);}}var rn=Object[_0x126d7f(0x182)],sn=(_0x3a51ff,_0x1cab1e,_0x2af816,_0x1ab7d6)=>{var _0xc6a00f=_0x126d7f;for(var _0x5c0695=_0x1ab7d6>0x1?void 0x0:_0x1ab7d6?rn(_0x1cab1e,_0x2af816):_0x1cab1e,_0x19bd0b=_0x3a51ff[_0xc6a00f(0x1aa)]-0x1,_0x138b58;_0x19bd0b>=0x0;_0x19bd0b--)(_0x138b58=_0x3a51ff[_0x19bd0b])&&(_0x5c0695=_0x138b58(_0x5c0695)||_0x5c0695);return _0x5c0695;},on=(_0x33eaa7,_0x4e5a56)=>(_0x35aa51,_0x5da8b9)=>_0x4e5a56(_0x35aa51,_0x5da8b9,_0x33eaa7);let Ne=class{constructor(_0x51a297){var _0x46c2cb=_0x126d7f;this['_httpService']=_0x51a297,this[_0x46c2cb(0x370)]();}['_initRequestHeader'](){var _0x3aee48=_0x126d7f;this[_0x3aee48(0x115)][_0x3aee48(0x1cc)]({'interceptor':(_0x287c1b,_0x3923cb)=>{var _0x228611=_0x3aee48;const _0x5087d6=_0x287c1b['headers'],_0x1b49b9=nn();return _0x1b49b9&&_0x5087d6[_0x228611(0x15c)]('x-univer-host',_0x1b49b9),_0x3923cb(_0x287c1b);}});}};Ne=sn([on(0x0,a[_0x126d7f(0x15b)](Y['HTTPService']))],Ne);var an=Object[_0x126d7f(0x182)],cn=(_0x3ea294,_0x2ef26b,_0x2e7045,_0x2b3b7d)=>{var _0x44acb3=_0x126d7f;for(var _0x177456=_0x2b3b7d>0x1?void 0x0:_0x2b3b7d?an(_0x2ef26b,_0x2e7045):_0x2ef26b,_0x24ef9d=_0x3ea294[_0x44acb3(0x1aa)]-0x1,_0x464c5c;_0x24ef9d>=0x0;_0x24ef9d--)(_0x464c5c=_0x3ea294[_0x24ef9d])&&(_0x177456=_0x464c5c(_0x177456)||_0x177456);return _0x177456;},we=(_0x404d17,_0x527f03)=>(_0x2b8035,_0x3070bd)=>_0x527f03(_0x2b8035,_0x3070bd,_0x404d17);exports[_0x126d7f(0x2da)]=class extends a[_0x126d7f(0x224)]{constructor(_0x5ce126,_0x292c91,_0x32600a){var _0x44f651=_0x126d7f;super(),A(this,_0x44f651(0x460),new $['BehaviorSubject'](null)),A(this,_0x44f651(0x30e),this['_unitInfo$'][_0x44f651(0x3c7)]()),(this['_logService']=_0x5ce126,this[_0x44f651(0x40d)]=_0x292c91,this[_0x44f651(0x217)]=_0x32600a);}async[_0x126d7f(0x1f0)](_0x3e346a,_0xdb3859,_0xd8cfe){var _0x4c1ea9=_0x126d7f;this[_0x4c1ea9(0x460)][_0x4c1ea9(0x38d)]({'unitId':_0x3e346a,'type':_0xdb3859});let _0x239d08=null;switch(_0xdb3859){case J[_0x4c1ea9(0x1bd)]:{_0x239d08=await this[_0x4c1ea9(0x40d)][_0x4c1ea9(0x388)](_0x3e346a,_0xd8cfe);break;}case J[_0x4c1ea9(0x342)]:{_0x239d08=await this[_0x4c1ea9(0x40d)][_0x4c1ea9(0x28a)](_0x3e346a,_0xd8cfe);break;}default:{this['_logService'][_0x4c1ea9(0x2af)](_0x4c1ea9(0x300),_0x4c1ea9(0x42b));break;}}return _0x239d08;}async['loadUnit'](_0x57a87a,_0x5e6c90,_0x27dee2){var _0x2bc8c9=_0x126d7f,_0x508e03;this['_unitInfo$']['next']({'unitId':_0x57a87a,'type':_0x5e6c90,'subUnitId':_0x27dee2});let _0x5a72e2=0x0;const _0x166486=await((_0x508e03=this[_0x2bc8c9(0x217)])==null?void 0x0:_0x508e03[_0x2bc8c9(0x19c)](_0x57a87a));return _0x166486&&(_0x166486[_0x2bc8c9(0x1ee)]||_0x166486[_0x2bc8c9(0x3c9)][_0x2bc8c9(0x1aa)]!==0x0)&&(_0x5a72e2=_0x166486[_0x2bc8c9(0x153)]),_0x5a72e2===0x0&&this[_0x2bc8c9(0x352)]['debug']('[DataLoaderService]',_0x2bc8c9(0x19f)),this[_0x2bc8c9(0x1f0)](_0x57a87a,_0x5e6c90,_0x5a72e2);}},exports[_0x126d7f(0x2da)]=cn([we(0x0,a[_0x126d7f(0x303)]),we(0x1,a['Inject'](I[_0x126d7f(0x3e9)])),we(0x2,a[_0x126d7f(0x1ef)](q))],exports[_0x126d7f(0x2da)]);var hn=Object[_0x126d7f(0x182)],_n=(_0x449b7f,_0x5e0adf,_0x3e5650,_0x323af7)=>{var _0x174cca=_0x126d7f;for(var _0x351e94=_0x323af7>0x1?void 0x0:_0x323af7?hn(_0x5e0adf,_0x3e5650):_0x5e0adf,_0x25a206=_0x449b7f[_0x174cca(0x1aa)]-0x1,_0x1452c7;_0x25a206>=0x0;_0x25a206--)(_0x1452c7=_0x449b7f[_0x25a206])&&(_0x351e94=_0x1452c7(_0x351e94)||_0x351e94);return _0x351e94;},Le=(_0x5dc233,_0x66e63c)=>(_0x56a717,_0x1ab899)=>_0x66e63c(_0x56a717,_0x1ab899,_0x5dc233);const ln=[_0x126d7f(0x278),'image/jpeg',_0x126d7f(0x413),_0x126d7f(0x2c5),_0x126d7f(0x423)],un=0x5*0x400*0x400,dn=_0x126d7f(0x369),vn=_0x126d7f(0x445),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x126d7f(0x2e5);exports[_0x126d7f(0x360)]=class{constructor(_0x49966f,_0x158d59,_0x56d79a){var _0x30c140=_0x126d7f;A(this,_0x30c140(0x104),0x0),A(this,_0x30c140(0x459),new $[(_0x30c140(0x1f8))]()),A(this,_0x30c140(0x133),this[_0x30c140(0x459)]),A(this,_0x30c140(0x11a),new Map()),(this['_httpService']=_0x49966f,this[_0x30c140(0x165)]=_0x158d59,this[_0x30c140(0x3e0)]=_0x56d79a);}[_0x126d7f(0x274)](_0x76fab9){var _0xcc8023=_0x126d7f;this[_0xcc8023(0x104)]=_0x76fab9,this[_0xcc8023(0x459)]['next'](_0x76fab9);}['getImageSourceCache'](_0x30f59a,_0x2dba2a){var _0x58fc7e=_0x126d7f;if(_0x2dba2a===z[_0x58fc7e(0x3de)][_0x58fc7e(0x1eb)]){const _0x4ba15f=new Image();return _0x4ba15f[_0x58fc7e(0x44b)]=_0x30f59a,_0x4ba15f;}return this[_0x58fc7e(0x11a)]['get'](_0x30f59a);}[_0x126d7f(0x335)](_0x530211,_0x57081b,_0x5af4f9){var _0x4dc442=_0x126d7f;_0x57081b===z[_0x4dc442(0x3de)]['BASE64']||_0x5af4f9==null||this[_0x4dc442(0x11a)]['set'](_0x530211,_0x5af4f9);}async['getImage'](_0xc2446e){var _0x11303c=_0x126d7f;try{const _0x431fd2=this['_replaceFileID'](this[_0x11303c(0x14a)](),''+_0xc2446e),_0x28cc46=(await this[_0x11303c(0x115)][_0x11303c(0x462)](_0x431fd2))[_0x11303c(0x432)];if(_0x28cc46[_0x11303c(0x2af)]&&_0x28cc46['error'][_0x11303c(0x2ff)]===gt['OK']){const _0x4b933b=new URL(_0x28cc46[_0x11303c(0x353)],this['_getDownloadEndpointURL']())[_0x11303c(0x305)]();return Promise['resolve'](_0x4b933b);}return Promise[_0x11303c(0x3dd)](_0x28cc46['error']);}catch(_0x1e375c){return Promise[_0x11303c(0x3dd)](_0x1e375c);}}async['saveImage'](_0x5371c5){var _0x6b9b9e=_0x126d7f;let _0x26ab12='';if(!ln[_0x6b9b9e(0x1de)](_0x5371c5[_0x6b9b9e(0x3ee)]))return this[_0x6b9b9e(0x124)](),Promise[_0x6b9b9e(0x3dd)](new Error(z[_0x6b9b9e(0x3ce)][_0x6b9b9e(0x3b7)]));if(_0x5371c5[_0x6b9b9e(0x3d5)]>un)return this[_0x6b9b9e(0x124)](),Promise[_0x6b9b9e(0x3dd)](new Error(z[_0x6b9b9e(0x3ce)]['ERROR_EXCEED_SIZE']));try{const _0x4390da=new FormData();_0x4390da['append']('file',_0x5371c5);const _0x2ba1f3=this[_0x6b9b9e(0x3e0)][_0x6b9b9e(0x29c)](),_0x55f468=_0x2ba1f3==null?void 0x0:_0x2ba1f3['getUnitId']();if(!_0x55f468)throw new Error(_0x6b9b9e(0x450));const _0x317529=this['_getUploadFileURL']()+_0x6b9b9e(0x117)+_0x5371c5[_0x6b9b9e(0x3d5)][_0x6b9b9e(0x305)]()+'&source='+Et['UnitEmbedded']+_0x6b9b9e(0x3c5)+encodeURIComponent(_0x55f468),_0x229d0b={'body':_0x4390da},_0x43ffeb=(await this[_0x6b9b9e(0x115)][_0x6b9b9e(0x35e)](_0x317529,_0x229d0b))[_0x6b9b9e(0x432)];if(typeof _0x43ffeb[_0x6b9b9e(0x3d8)]!=_0x6b9b9e(0x1a1))return this[_0x6b9b9e(0x124)](),Promise[_0x6b9b9e(0x3dd)](new Error(z[_0x6b9b9e(0x3ce)][_0x6b9b9e(0x467)]));_0x26ab12=_0x43ffeb[_0x6b9b9e(0x3d8)];}catch{return this[_0x6b9b9e(0x124)](),Promise['reject'](new Error(z[_0x6b9b9e(0x3ce)][_0x6b9b9e(0x467)]));}return new Promise((_0x227d42,_0x12881d)=>{var _0x5404b5=_0x6b9b9e;const _0x429fc8=new FileReader();_0x429fc8[_0x5404b5(0x3f7)](_0x5371c5),_0x429fc8['onload']=_0x20e2f7=>{var _0x28c6f6=_0x5404b5,_0x59295c;const _0x22169d=(_0x59295c=_0x20e2f7[_0x28c6f6(0x30f)])==null?void 0x0:_0x59295c[_0x28c6f6(0x163)];if(_0x22169d==null){this[_0x28c6f6(0x124)](),_0x12881d(new Error(z[_0x28c6f6(0x3ce)]['ERROR_IMAGE']));return;}const _0x115195=a['Tools'][_0x28c6f6(0x14f)](0x6);_0x227d42({'imageId':_0x115195,'imageSourceType':z[_0x28c6f6(0x3de)][_0x28c6f6(0x3b2)],'source':_0x26ab12,'base64Cache':_0x22169d,'status':z[_0x28c6f6(0x3ce)][_0x28c6f6(0x37b)]}),this[_0x28c6f6(0x124)]();};});}[_0x126d7f(0x2c8)](){var _0x24a700=_0x126d7f,_0x5a7acd,_0x1c35dc;const _0x41fada=this[_0x24a700(0x165)][_0x24a700(0x198)](dn),_0x2d1224=this[_0x24a700(0x165)][_0x24a700(0x198)](K);return(_0x1c35dc=(_0x5a7acd=_0x2d1224==null?void 0x0:_0x2d1224[_0x24a700(0x3b5)])!=null?_0x5a7acd:_0x41fada)!=null?_0x1c35dc:vn;}[_0x126d7f(0x14a)](){var _0x4af49f=_0x126d7f,_0x97e8b,_0x2ddbd1;const _0x3b0a5e=this[_0x4af49f(0x165)][_0x4af49f(0x198)](Sn),_0x2c3000=this[_0x4af49f(0x165)][_0x4af49f(0x198)](K);return(_0x2ddbd1=(_0x97e8b=_0x2c3000==null?void 0x0:_0x2c3000[_0x4af49f(0x2ae)])!=null?_0x97e8b:_0x3b0a5e)!=null?_0x2ddbd1:fn;}[_0x126d7f(0x1a5)](){var _0x5f14e4=_0x126d7f,_0x15d05c;const _0x263a10=this[_0x5f14e4(0x165)][_0x5f14e4(0x198)](K);return(_0x15d05c=_0x263a10==null?void 0x0:_0x263a10['downloadEndpointUrl'])!=null?_0x15d05c:location[_0x5f14e4(0x2e2)];}[_0x126d7f(0x43a)](_0x154a27,_0x40ea40){var _0x578d04=_0x126d7f;return _0x154a27[_0x578d04(0x316)](_0x578d04(0x1cd),_0x40ea40);}[_0x126d7f(0x124)](){var _0x294eec=_0x126d7f;this[_0x294eec(0x104)]-=0x1,this['_change$'][_0x294eec(0x38d)](this[_0x294eec(0x104)]);}},exports[_0x126d7f(0x360)]=_n([Le(0x0,a[_0x126d7f(0x15b)](Y[_0x126d7f(0x20c)])),Le(0x1,a[_0x126d7f(0x317)]),Le(0x2,a['Inject'](a[_0x126d7f(0x196)]))],exports[_0x126d7f(0x360)]);var pn=Object[_0x126d7f(0x182)],In=(_0x38405d,_0x10406e,_0x32ccd9,_0x4d16ad)=>{var _0x374a76=_0x126d7f;for(var _0x349083=_0x4d16ad>0x1?void 0x0:_0x4d16ad?pn(_0x10406e,_0x32ccd9):_0x10406e,_0x3f3f13=_0x38405d[_0x374a76(0x1aa)]-0x1,_0x3debe7;_0x3f3f13>=0x0;_0x3f3f13--)(_0x3debe7=_0x38405d[_0x3f3f13])&&(_0x349083=_0x3debe7(_0x349083)||_0x349083);return _0x349083;},at=(_0x915fa9,_0xdcece5)=>(_0x23e652,_0x153401)=>_0xdcece5(_0x23e652,_0x153401,_0x915fa9);const gn=_0x126d7f(0x25b);exports['MentionIoHttpService']=class{constructor(_0x4ecbe5,_0x16e88d){var _0x5a370a=_0x126d7f;this[_0x5a370a(0x165)]=_0x4ecbe5,this['_HTTPService']=_0x16e88d;}[_0x126d7f(0x41b)](){var _0x170880=_0x126d7f,_0x87de7f,_0x5b5d0d;const _0x462568=this[_0x170880(0x165)][_0x170880(0x198)](Ve),_0x3b47f7=this[_0x170880(0x165)]['getConfig'](K);return(_0x5b5d0d=(_0x87de7f=_0x3b47f7==null?void 0x0:_0x3b47f7[_0x170880(0x41e)])!=null?_0x87de7f:_0x462568)!=null?_0x5b5d0d:gn;}async['list'](_0x4d98f8){var _0x51c712=_0x126d7f;const _0xd7558c=this['_getAPIPrefixPath']()+_0x51c712(0x3c1);return{'list':[{'title':_0x51c712(0x371),'mentions':(await this[_0x51c712(0x183)][_0x51c712(0x462)](_0xd7558c,{'params':{'objectID':_0x4d98f8['unitId'],'unitID':_0x4d98f8[_0x51c712(0x2a6)]}}))[_0x51c712(0x432)][_0x51c712(0x39c)][_0x51c712(0x1ae)](_0x5b2c45=>({'objectId':_0x5b2c45['id'],'name':_0x5b2c45[_0x51c712(0x3bd)][_0x51c712(0x130)],'metadata':{'icon':_0x5b2c45[_0x51c712(0x3bd)][_0x51c712(0x3d3)]},'label':_0x5b2c45[_0x51c712(0x3bd)][_0x51c712(0x130)],'objectType':a[_0x51c712(0x400)]['PERSON']})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x126d7f(0x2f0)]=In([at(0x0,a[_0x126d7f(0x15b)](a[_0x126d7f(0x317)])),at(0x1,a[_0x126d7f(0x15b)](Y[_0x126d7f(0x20c)]))],exports[_0x126d7f(0x2f0)]);function _0x5282(_0x198af,_0x374e32){var _0x1e63a6=_0x1e63();return _0x5282=function(_0x5282fd,_0x4e8c60){_0x5282fd=_0x5282fd-0xfb;var _0x59aec2=_0x1e63a6[_0x5282fd];return _0x59aec2;},_0x5282(_0x198af,_0x374e32);}var En=Object['getOwnPropertyDescriptor'],mn=(_0x313678,_0x3b57f5,_0x259470,_0x3f29a1)=>{var _0x3f3e47=_0x126d7f;for(var _0x15aed6=_0x3f29a1>0x1?void 0x0:_0x3f29a1?En(_0x3b57f5,_0x259470):_0x3b57f5,_0x3d57fe=_0x313678[_0x3f3e47(0x1aa)]-0x1,_0x4be489;_0x3d57fe>=0x0;_0x3d57fe--)(_0x4be489=_0x313678[_0x3d57fe])&&(_0x15aed6=_0x4be489(_0x15aed6)||_0x15aed6);return _0x15aed6;},le=(_0x459e85,_0x56659f)=>(_0x3e31de,_0x43d57a)=>_0x56659f(_0x3e31de,_0x43d57a,_0x459e85);let Ue=class extends a['RxDisposable']{constructor(_0x4c4fbe,_0x3e0bd4,_0x3045c7,_0x36a497,_0x4d8dcd){var _0x56766d=_0x126d7f;super(),this[_0x56766d(0x46d)]=_0x4c4fbe,this[_0x56766d(0x3e0)]=_0x3e0bd4,this[_0x56766d(0x13d)]=_0x3045c7,this[_0x56766d(0xfd)]=_0x36a497,this[_0x56766d(0x137)]=_0x4d8dcd,this[_0x56766d(0x2fc)](),this[_0x56766d(0x20a)]();}[_0x126d7f(0x20a)](){var _0x2ca74d=_0x126d7f;const _0x4f5b25=async _0x354c3e=>{var _0x291eb9=_0x5282;(await this[_0x291eb9(0xfd)]['requireSession'](_0x354c3e))[_0x291eb9(0x125)][_0x291eb9(0x1af)](V['filter'](_0x247a9b=>_0x247a9b[_0x291eb9(0x2ac)]===I[_0x291eb9(0x158)][_0x291eb9(0x2ab)]),V[_0x291eb9(0x113)](this['dispose$']))['subscribe'](_0x28f20d=>{var _0x27e969=_0x291eb9;const _0x2bd338=_0x28f20d,{reason:_0x4ea0b6}=_0x2bd338[_0x27e969(0x2ce)];this[_0x27e969(0x137)][_0x27e969(0x268)]({'id':Z['CLOSE_ROOM'],'data':_0x4ea0b6}),this[_0x27e969(0x13d)][_0x27e969(0x251)](new X[(_0x27e969(0x14b))](_0x354c3e)['id'],!0x1),this['_collaborationSessionService'][_0x27e969(0x26a)](_0x354c3e);});};$['merge'](this['_univerInstanceService'][_0x2ca74d(0x18f)](a[_0x2ca74d(0x136)][_0x2ca74d(0x1bd)]),this[_0x2ca74d(0x3e0)][_0x2ca74d(0x18f)](a['UniverInstanceType'][_0x2ca74d(0x342)]))[_0x2ca74d(0x1af)](V[_0x2ca74d(0x1ae)](_0x71ad40=>_0x71ad40[_0x2ca74d(0x1d0)]()),V['filter'](_0x4dd255=>!a[_0x2ca74d(0x3c4)](_0x4dd255)),V[_0x2ca74d(0x113)](this[_0x2ca74d(0x248)]))['subscribe'](_0x4c08d0=>{_0x4f5b25(_0x4c08d0);});}[_0x126d7f(0x2fc)](){var _0x16e495=_0x126d7f;const _0x22badb=async _0x569897=>{var _0x2d789c=_0x5282;const _0x16f04c=await this[_0x2d789c(0xfd)][_0x2d789c(0x254)](_0x569897),_0x290ad6=this[_0x2d789c(0x46d)][_0x2d789c(0x462)](X[_0x2d789c(0x151)]);_0x16f04c[_0x2d789c(0x125)][_0x2d789c(0x1af)](V[_0x2d789c(0x10c)](_0x3620e3=>_0x3620e3[_0x2d789c(0x2ac)]===I[_0x2d789c(0x158)]['UPDATE_PERMISSION_OBJ']),V[_0x2d789c(0x113)](this[_0x2d789c(0x248)]))[_0x2d789c(0x250)](_0xd56ff0=>{var _0x3b3411=_0x2d789c;const _0x43acc7=_0xd56ff0,{objectId:_0x9adb83}=_0x43acc7[_0x3b3411(0x2ce)];_0x9adb83===_0x569897?_0x290ad6['initWorkbookPermissionChange'](_0x569897):_0x290ad6['refreshPermission'](_0x569897,_0x9adb83);});};$[_0x16e495(0x11e)](this[_0x16e495(0x3e0)][_0x16e495(0x18f)](a[_0x16e495(0x136)][_0x16e495(0x1bd)]))[_0x16e495(0x1af)](V['map'](_0x2947da=>_0x2947da[_0x16e495(0x1d0)]()),V[_0x16e495(0x10c)](_0x29582c=>!a[_0x16e495(0x3c4)](_0x29582c)),V[_0x16e495(0x113)](this[_0x16e495(0x248)]))[_0x16e495(0x250)](_0x4d9edf=>{_0x22badb(_0x4d9edf);});}};Ue=mn([le(0x0,a['Inject'](a[_0x126d7f(0x412)])),le(0x1,a[_0x126d7f(0x196)]),le(0x2,a[_0x126d7f(0x37c)]),le(0x3,a[_0x126d7f(0x15b)](exports['CollaborationSessionService'])),le(0x4,a[_0x126d7f(0x15b)](ee))],Ue);var Cn=Object[_0x126d7f(0x182)],Tn=(_0xdb62b0,_0x5d31b7,_0x1193ac,_0xdb79c)=>{var _0x8dc83f=_0x126d7f;for(var _0x132555=_0xdb79c>0x1?void 0x0:_0xdb79c?Cn(_0x5d31b7,_0x1193ac):_0x5d31b7,_0x5d32ce=_0xdb62b0[_0x8dc83f(0x1aa)]-0x1,_0x1a8ddf;_0x5d32ce>=0x0;_0x5d32ce--)(_0x1a8ddf=_0xdb62b0[_0x5d32ce])&&(_0x132555=_0x1a8ddf(_0x132555)||_0x132555);return _0x132555;},ct=(_0x3a09df,_0x38b3d5)=>(_0x4b5266,_0x50414e)=>_0x38b3d5(_0x4b5266,_0x50414e,_0x3a09df);exports[_0x126d7f(0x41f)]=class{constructor(_0x596e80,_0x1fe6c2){var _0x297a83=_0x126d7f;this[_0x297a83(0x165)]=_0x596e80,this[_0x297a83(0x115)]=_0x1fe6c2;}async[_0x126d7f(0x40c)](_0x57dcb3,_0x3a331c){var _0x13d1e1=_0x126d7f,_0x1db462;const {unitID:_0xd2de0c,type:_0x1c4af7,revision:_0x2e7c06=0x0}=_0x3a331c,_0xffc0ca=this[_0x13d1e1(0x24d)]()+'/'+_0x1c4af7+_0x13d1e1(0x1da)+_0xd2de0c+_0x13d1e1(0x2c0)+_0x2e7c06,_0x43d89d=(await this[_0x13d1e1(0x115)][_0x13d1e1(0x462)](_0xffc0ca))[_0x13d1e1(0x432)],_0x19a761=(_0x1db462=_0x43d89d[_0x13d1e1(0x150)])==null?void 0x0:_0x1db462[_0x13d1e1(0x25a)];if(_0x19a761){const _0x106b71=_0x19a761==null?void 0x0:_0x19a761[_0x13d1e1(0x2e6)],_0x992051=I['textEncoder'][_0x13d1e1(0x345)](I['b64DecodeUnicode'](_0x106b71));_0x19a761[_0x13d1e1(0x2e6)]=_0x992051,Object[_0x13d1e1(0x31a)](_0x19a761[_0x13d1e1(0x2bc)])[_0x13d1e1(0x377)](([,_0x209301])=>{var _0x1f96e0=_0x13d1e1;const _0x214431=_0x209301[_0x1f96e0(0x2e6)],_0xa1fd3f=I['textEncoder'][_0x1f96e0(0x345)](I['b64DecodeUnicode'](_0x214431));_0x209301['originalMeta']=_0xa1fd3f;});}return _0x43d89d;}async[_0x126d7f(0x256)](_0x30bc66,_0x48ebc5){var _0x447fb1=_0x126d7f;const {unitID:_0xa9a823,type:_0x4cf209,blockID:_0x27c3d4}=_0x48ebc5,_0x2f4017=this[_0x447fb1(0x238)]()+'/'+_0x4cf209+_0x447fb1(0x1da)+_0xa9a823+_0x447fb1(0x383)+_0x27c3d4;return(await this[_0x447fb1(0x115)][_0x447fb1(0x462)](_0x2f4017))[_0x447fb1(0x432)];}async['getDeserializedSheetBlock'](_0x285fa9,_0x452d23){var _0x444fa8=_0x126d7f;const {unitID:_0x26afb9,type:_0x287217,blockID:_0x2aa5eb}=_0x452d23,_0x3955f9=this[_0x444fa8(0x238)]()+_0x444fa8(0x383)+_0x287217+_0x444fa8(0x1da)+_0x26afb9+_0x444fa8(0x383)+_0x2aa5eb;return(await this['_httpService']['get'](_0x3955f9))['body'];}async[_0x126d7f(0x362)](_0x2e6a63,_0x4ff6ac){var _0x1ae743=_0x126d7f;const {unitID:_0x36d870,type:_0x1abc93,from:_0x8bc434,to:_0x1b6b3e}=_0x4ff6ac,_0x2cfe6e=this['_getAPIPrefix']()+'/'+_0x1abc93+_0x1ae743(0x1da)+_0x36d870+_0x1ae743(0x34d)+_0x8bc434+'&to='+_0x1b6b3e;return(await this[_0x1ae743(0x115)][_0x1ae743(0x462)](_0x2cfe6e))[_0x1ae743(0x432)];}['getSnapshotAPIPath'](){var _0x260efe=_0x126d7f,_0x2a4738;return(_0x2a4738=this[_0x260efe(0x165)]['getConfig'](lt))!=null?_0x2a4738:this[_0x260efe(0x238)]();}[_0x126d7f(0x238)](){var _0x2cb212=_0x126d7f,_0x1a2a74,_0x595ba4;const _0x1bd0e4=this[_0x2cb212(0x165)][_0x2cb212(0x198)](_t),_0x37014a=this[_0x2cb212(0x165)][_0x2cb212(0x198)](K);return(_0x595ba4=(_0x1a2a74=_0x37014a==null?void 0x0:_0x37014a['snapshotServerUrl'])!=null?_0x1a2a74:_0x1bd0e4)!=null?_0x595ba4:Lt;}async['getResourcesRequest'](_0x2449f,_0x54e3ed){var _0x166f4c=_0x126d7f;const _0x5b7191=_0x166f4c(0x37f)+_0x54e3ed['type']+_0x166f4c(0x1da)+_0x54e3ed[_0x166f4c(0x38f)]+_0x166f4c(0x35b);return(await this[_0x166f4c(0x115)][_0x166f4c(0x462)](_0x5b7191,{'params':{'resourceId':JSON['stringify'](_0x54e3ed[_0x166f4c(0x3d7)])}}))[_0x166f4c(0x432)];}['saveSnapshot'](){var _0x428704=_0x126d7f;throw new Error(_0x428704(0x2be));}['updateSnapshot'](){var _0x367cf9=_0x126d7f;throw new Error(_0x367cf9(0x2be));}[_0x126d7f(0x2d3)](){var _0x3cc48d=_0x126d7f;throw new Error(_0x3cc48d(0x2be));}[_0x126d7f(0x247)](){var _0x1da6c1=_0x126d7f;throw new Error(_0x1da6c1(0x2be));}['copyFileMeta'](){var _0x57dc38=_0x126d7f;throw new Error(_0x57dc38(0x2be));}[_0x126d7f(0x1b1)](){var _0xd1d362=_0x126d7f;throw new Error(_0xd1d362(0x2be));}},exports[_0x126d7f(0x41f)]=Tn([ct(0x0,a[_0x126d7f(0x317)]),ct(0x1,a[_0x126d7f(0x15b)](Y['HTTPService']))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x126d7f(0x182)],Rn=(_0x18188d,_0x35cb6e,_0x39a3ca,_0xe4980d)=>{var _0x48a5e7=_0x126d7f;for(var _0x533840=_0xe4980d>0x1?void 0x0:_0xe4980d?bn(_0x35cb6e,_0x39a3ca):_0x35cb6e,_0x164b30=_0x18188d[_0x48a5e7(0x1aa)]-0x1,_0x53a90e;_0x164b30>=0x0;_0x164b30--)(_0x53a90e=_0x18188d[_0x164b30])&&(_0x533840=_0x53a90e(_0x533840)||_0x533840);return _0x533840;},ue=(_0x84e3d8,_0x115121)=>(_0x289658,_0x6b988)=>_0x115121(_0x289658,_0x6b988,_0x84e3d8);exports[_0x126d7f(0x36a)]=class extends a[_0x126d7f(0x3ad)]{constructor(_0x38a264,_0xdc5349,_0x1c6789,_0x2df55e,_0x1adcf5){var _0x235f4f=_0x126d7f;super(_0x38a264,_0xdc5349,_0x1c6789),this[_0x235f4f(0x2dd)]=_0x2df55e,this[_0x235f4f(0x352)]=_0x1adcf5;}[_0x126d7f(0x365)](_0x1ca762,_0xae036f){var _0x1e4e88=_0x126d7f;const _0x5b5f8a=this[_0x1e4e88(0x109)](_0x1ca762);if(_0x5b5f8a)try{const _0x52840=this[_0x1e4e88(0x1ad)](_0x5b5f8a,_0xae036f);this[_0x1e4e88(0x43e)](_0x1ca762,_0x52840);}catch(_0x429fcc){this['_logService'][_0x1e4e88(0x2af)](_0x1e4e88(0x17b),_0x429fcc),this[_0x1e4e88(0x181)](_0x1ca762);}const _0x216602=this['_getRedoStack'](_0x1ca762);if(_0x216602)try{const _0x10b933=this[_0x1e4e88(0x1ad)](_0x216602,_0xae036f);this[_0x1e4e88(0x139)](_0x1ca762,_0x10b933);}catch(_0x372cc3){this[_0x1e4e88(0x352)][_0x1e4e88(0x2af)](_0x372cc3),this[_0x1e4e88(0x21b)](_0x1ca762);}}[_0x126d7f(0x181)](_0x22e158){var _0x203489=_0x126d7f;const _0x3a67a3=this['_getUndoStack'](_0x22e158);_0x3a67a3&&(_0x3a67a3[_0x203489(0x1aa)]=0x0,this[_0x203489(0x202)]());}['_clearRedo'](_0x32cbe0){var _0x44d6f0=_0x126d7f;const _0x2ca0ed=this[_0x44d6f0(0x338)](_0x32cbe0);_0x2ca0ed&&(_0x2ca0ed['length']=0x0,this[_0x44d6f0(0x202)]());}[_0x126d7f(0x43e)](_0x3d7606,_0x4ab374){var _0xe4caee=_0x126d7f;this[_0xe4caee(0x3ab)]['set'](_0x3d7606,_0x4ab374),this['_updateStatus']();}['_substituteRedoStack'](_0x5ba1ef,_0x1616d4){var _0x407b50=_0x126d7f;this[_0x407b50(0x3b1)][_0x407b50(0x15c)](_0x5ba1ef,_0x1616d4),this[_0x407b50(0x202)]();}['_transformStack'](_0x4b4380,_0x3bbb61){var _0x349e26=_0x126d7f;const _0x447046=[];let _0x1a4f1a=_0x3bbb61,_0x284953=_0x3bbb61;for(let _0x5daa3e=_0x4b4380[_0x349e26(0x1aa)]-0x1;_0x5daa3e>=0x0;_0x5daa3e--){const {unitID:_0x4bd45a,undoMutations:_0x3da79b,redoMutations:_0x138e84}=_0x4b4380[_0x5daa3e],_0x4246d6=this[_0x349e26(0x2dd)]['transformMutationsWithChangeset'](_0x1a4f1a,_0x3da79b),_0x14c01c=this['_transformService'][_0x349e26(0x215)](_0x284953,_0x138e84);if(I[_0x349e26(0x294)](_0x4246d6)||I[_0x349e26(0x294)](_0x14c01c)){this[_0x349e26(0x352)][_0x349e26(0x2af)]('[CollaborationUndoRedoService]',_0x349e26(0x2c1),_0x4246d6,_0x14c01c);break;}_0x1a4f1a=_0x4246d6[_0x349e26(0x364)],_0x284953=_0x14c01c[_0x349e26(0x364)],_0x447046[_0x349e26(0x28f)]({'unitID':_0x4bd45a,'undoMutations':_0x4246d6[_0x349e26(0x263)],'redoMutations':_0x14c01c['m2Prime']});}return _0x447046[_0x349e26(0x30b)]();}},exports[_0x126d7f(0x36a)]=Rn([ue(0x0,a[_0x126d7f(0x196)]),ue(0x1,a[_0x126d7f(0x2f1)]),ue(0x2,a[_0x126d7f(0x3a2)]),ue(0x3,I[_0x126d7f(0x3cb)]),ue(0x4,a[_0x126d7f(0x303)])],exports['CollaborativeUndoRedoService']);var On=Object[_0x126d7f(0x2e8)],yn=Object[_0x126d7f(0x182)],Nn=(_0x3208f0,_0x16c9d3,_0x4c27fc)=>_0x16c9d3 in _0x3208f0?On(_0x3208f0,_0x16c9d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c27fc}):_0x3208f0[_0x16c9d3]=_0x4c27fc,Un=(_0x4e9519,_0xdf9bf9,_0xfe54bb,_0x1d907a)=>{var _0x295425=_0x126d7f;for(var _0x314d0a=_0x1d907a>0x1?void 0x0:_0x1d907a?yn(_0xdf9bf9,_0xfe54bb):_0xdf9bf9,_0x47476d=_0x4e9519[_0x295425(0x1aa)]-0x1,_0x3e3611;_0x47476d>=0x0;_0x47476d--)(_0x3e3611=_0x4e9519[_0x47476d])&&(_0x314d0a=_0x3e3611(_0x314d0a)||_0x314d0a);return _0x314d0a;},Me=(_0x16888c,_0x215be3)=>(_0x29b7d6,_0x32ec8f)=>_0x215be3(_0x29b7d6,_0x32ec8f,_0x16888c),Dn=(_0x1735cd,_0x2c7d9a,_0x473f10)=>Nn(_0x1735cd,_0x2c7d9a+'',_0x473f10);const An=_0x126d7f(0x1bf);exports[_0x126d7f(0x103)]=class extends a['Plugin']{constructor(_0x4b9be7,_0x52470c,_0x57ca4f,_0x13b8ef){var _0x27f3c9=_0x126d7f;super(),A(this,'_config'),(this['_logService']=_0x52470c,this[_0x27f3c9(0x46d)]=_0x57ca4f,this['_configService']=_0x13b8ef);const {..._0x208fb9}=a[_0x27f3c9(0x11e)]({},Yt,_0x4b9be7);if(!_0x208fb9[_0x27f3c9(0x3e8)])throw new Error(_0x27f3c9(0x126));this[_0x27f3c9(0x23e)]=_0x208fb9,this[_0x27f3c9(0x165)][_0x27f3c9(0x2d6)](K,_0x208fb9);}[_0x126d7f(0x267)](){var _0x3b39b6=_0x126d7f;this['_registerDependencies'](),this[_0x3b39b6(0x416)]();}[_0x126d7f(0x232)](){var _0x211eb1=_0x126d7f,_0x4a8cee,_0x1a9fee;this[_0x211eb1(0x46d)][_0x211eb1(0x46a)](a['IUndoRedoService'])&&this[_0x211eb1(0x352)][_0x211eb1(0x2af)]('[UniverCollaborationClientPlugin]',_0x211eb1(0x286));const _0x1f8214=a[_0x211eb1(0x449)]([[a[_0x211eb1(0x30d)],{'useClass':exports[_0x211eb1(0x36a)]}],[exports['CollaborationSessionService']],[exports[_0x211eb1(0x34f)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x211eb1(0x2da)]],[He,{'useClass':this[_0x211eb1(0x23e)]['socketService']}],[I[_0x211eb1(0x453)],{'useClass':exports[_0x211eb1(0x41f)]}],[a['IAuthzIoService'],{'useClass':exports[_0x211eb1(0x12c)]}],[z[_0x211eb1(0x406)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x211eb1(0x20b)],{'useClass':exports[_0x211eb1(0x2f0)]}],[exports[_0x211eb1(0x180)]],[xe]],(_0x4a8cee=this[_0x211eb1(0x23e)])==null?void 0x0:_0x4a8cee[_0x211eb1(0x188)]);if(!((_0x1a9fee=this[_0x211eb1(0x23e)])!=null&&_0x1a9fee[_0x211eb1(0x282)])){const _0x5c12d3=_0x1f8214[_0x211eb1(0x17c)](([_0x328f81])=>_0x328f81===de);_0x5c12d3!==-0x1&&_0x1f8214[_0x211eb1(0x2b3)](_0x5c12d3,0x1);}a[_0x211eb1(0x23a)](this['_injector'],_0x1f8214);}[_0x126d7f(0x416)](){var _0x14e701=_0x126d7f,_0x4d8600,_0x151863,_0x1a7410;this[_0x14e701(0x46d)][_0x14e701(0x462)](Y[_0x14e701(0x20c)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Y[_0x14e701(0x11d)]({'maxParallel':0x6})}),(_0x4d8600=this[_0x14e701(0x23e)])!=null&&_0x4d8600['enableOfflineEditing']||(_0x151863=this[_0x14e701(0x46d)][_0x14e701(0x462)](q,a[_0x14e701(0x382)]['OPTIONAL']))==null||_0x151863['disableLocalCache'](),(_0x1a7410=this[_0x14e701(0x23e)])!=null&&_0x1a7410[_0x14e701(0x192)]&&a['touchDependencies'](this[_0x14e701(0x46d)],[[ye]]),a[_0x14e701(0x2cb)](this[_0x14e701(0x46d)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x126d7f(0x103)],_0x126d7f(0x3b6),An),exports[_0x126d7f(0x103)]=Un([a[_0x126d7f(0x2cc)](I[_0x126d7f(0x216)],Y[_0x126d7f(0x42c)]),Me(0x1,a[_0x126d7f(0x303)]),Me(0x2,a[_0x126d7f(0x15b)](a['Injector'])),Me(0x3,a[_0x126d7f(0x317)])],exports[_0x126d7f(0x103)]),exports[_0x126d7f(0x122)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0x126d7f(0x45f)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports['CollaborationStatus']=Be,exports[_0x126d7f(0x295)]=Z,exports['CollaborationUIEventService']=ee,exports[_0x126d7f(0x201)]=$e,exports[_0x126d7f(0x452)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Kt,exports[_0x126d7f(0x1d6)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports[_0x126d7f(0x17e)]=ke,exports[_0x126d7f(0x1d7)]=He,exports['ILocalCacheService']=q,exports[_0x126d7f(0x390)]=mt,exports[_0x126d7f(0x2ed)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x126d7f(0x46f)]=Bt,exports[_0x126d7f(0x3db)]=It,exports[_0x126d7f(0x297)]=Gt,exports[_0x126d7f(0x2b8)]=ft,exports[_0x126d7f(0x106)]=Mt,exports[_0x126d7f(0x3c6)]=_t,exports[_0x126d7f(0x13e)]=lt,exports[_0x126d7f(0x3e5)]=re,exports[_0x126d7f(0x29e)]=je,exports[_0x126d7f(0x138)]=Ct,exports[_0x126d7f(0x2d0)]=oi,exports[_0x126d7f(0x1d2)]=Tt;
1
+ 'use strict';var _0x55ff74=_0x3571;(function(_0x21976c,_0x5b1392){var _0x1a7966=_0x3571,_0x37b4d2=_0x21976c();while(!![]){try{var _0x55a522=-parseInt(_0x1a7966(0x2cd))/0x1*(-parseInt(_0x1a7966(0x236))/0x2)+-parseInt(_0x1a7966(0x248))/0x3+parseInt(_0x1a7966(0x28b))/0x4+-parseInt(_0x1a7966(0x383))/0x5*(parseInt(_0x1a7966(0x46b))/0x6)+parseInt(_0x1a7966(0x23c))/0x7*(parseInt(_0x1a7966(0x2a7))/0x8)+parseInt(_0x1a7966(0x18e))/0x9*(parseInt(_0x1a7966(0x47f))/0xa)+parseInt(_0x1a7966(0x313))/0xb;if(_0x55a522===_0x5b1392)break;else _0x37b4d2['push'](_0x37b4d2['shift']());}catch(_0xe20b6b){_0x37b4d2['push'](_0x37b4d2['shift']());}}}(_0x12dd,0x884c2));var Dt=Object['defineProperty'],At=(_0x20aaed,_0x27087d,_0x5f59ac)=>_0x27087d in _0x20aaed?Dt(_0x20aaed,_0x27087d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f59ac}):_0x20aaed[_0x27087d]=_0x5f59ac,A=(_0x4e5b6e,_0x4d2b26,_0x35d25b)=>At(_0x4e5b6e,typeof _0x4d2b26!=_0x55ff74(0x3f0)?_0x4d2b26+'':_0x4d2b26,_0x35d25b);Object[_0x55ff74(0x1c9)](exports,Symbol[_0x55ff74(0x321)],{'value':'Module'});const a=require(_0x55ff74(0x3bf)),$=require(_0x55ff74(0x25f)),V=require(_0x55ff74(0x39c)),I=require(_0x55ff74(0x3ea)),Y=require('@univerjs/network'),Pt=require(_0x55ff74(0x168)),ht=require('@univerjs/docs'),X=require(_0x55ff74(0x1cb)),z=require('@univerjs/drawing'),wt=require(_0x55ff74(0x1d7)),_t=_0x55ff74(0x103),Lt=_0x55ff74(0x3f8),lt=_0x55ff74(0x1eb),Mt=_0x55ff74(0x3b4),xt=0x7d0,ut=_0x55ff74(0x1b5),dt=_0x55ff74(0x210),kt=_0x55ff74(0x298),vt=_0x55ff74(0x464),Ht=0x7530,ke=_0x55ff74(0x15e),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x55ff74(0x41e),Ft=0x3e8,pt=_0x55ff74(0x3fb),Vt=_0x55ff74(0x2ed),It='LOGIN_URL_KEY',Wt=_0x55ff74(0x184),Gt=_0x55ff74(0x1cd),Kt=_0x55ff74(0x405);var gt=(_0x30eb44=>(_0x30eb44[_0x30eb44[_0x55ff74(0x3d4)]=0x0]=_0x55ff74(0x3d4),_0x30eb44[_0x30eb44['OK']=0x1]='OK',_0x30eb44[_0x30eb44[_0x55ff74(0x312)]=0x2]='INTERNAL_ERROR',_0x30eb44[_0x30eb44[_0x55ff74(0x337)]=0x3]='PERMISSION_DENIED',_0x30eb44[_0x30eb44[_0x55ff74(0x282)]=0x4]=_0x55ff74(0x282),_0x30eb44[_0x30eb44[_0x55ff74(0x3c6)]=0x5]=_0x55ff74(0x3c6),_0x30eb44[_0x30eb44['ALREADY_EXISTS']=0x6]=_0x55ff74(0x129),_0x30eb44[_0x30eb44['INVALID_ARGUMENT']=0x7]=_0x55ff74(0x29d),_0x30eb44[_0x30eb44[_0x55ff74(0x410)]=0x8]=_0x55ff74(0x410),_0x30eb44[_0x30eb44['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x30eb44[_0x30eb44[_0x55ff74(0x2ac)]=0xa]=_0x55ff74(0x2ac),_0x30eb44[_0x30eb44[_0x55ff74(0x11c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x30eb44[_0x30eb44['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x55ff74(0x110),_0x30eb44[_0x30eb44['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x55ff74(0x351),_0x30eb44[_0x30eb44[_0x55ff74(0x3cc)]=0x1773]=_0x55ff74(0x3cc),_0x30eb44[_0x30eb44[_0x55ff74(0x2c3)]=0x1b59]=_0x55ff74(0x2c3),_0x30eb44[_0x30eb44[_0x55ff74(0x301)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30eb44[_0x30eb44[_0x55ff74(0x19e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x30eb44[_0x30eb44[_0x55ff74(0x21b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x30eb44[_0x30eb44[_0x55ff74(0x1f1)]=0x1b5d]=_0x55ff74(0x1f1),_0x30eb44[_0x30eb44[_0x55ff74(0x154)]=0x1f41]=_0x55ff74(0x154),_0x30eb44[_0x30eb44[_0x55ff74(0x304)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x30eb44[_0x30eb44[_0x55ff74(0x33b)]=0x232a]=_0x55ff74(0x33b),_0x30eb44[_0x30eb44[_0x55ff74(0x3af)]=0x232b]=_0x55ff74(0x3af),_0x30eb44[_0x30eb44[_0x55ff74(0x3cd)]=0x232c]=_0x55ff74(0x3cd),_0x30eb44[_0x30eb44[_0x55ff74(0x17b)]=0x232d]=_0x55ff74(0x17b),_0x30eb44[_0x30eb44['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x55ff74(0x278),_0x30eb44[_0x30eb44[_0x55ff74(0x415)]=0x2712]=_0x55ff74(0x415),_0x30eb44[_0x30eb44[_0x55ff74(0x203)]=0x2713]=_0x55ff74(0x203),_0x30eb44[_0x30eb44['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x55ff74(0x479),_0x30eb44[_0x30eb44['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x55ff74(0x237),_0x30eb44[_0x30eb44['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x55ff74(0x3b8),_0x30eb44[_0x30eb44[_0x55ff74(0x3c4)]=0x271c]=_0x55ff74(0x3c4),_0x30eb44[_0x30eb44[_0x55ff74(0x356)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x30eb44[_0x30eb44[_0x55ff74(0x10f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x30eb44[_0x30eb44[_0x55ff74(0x1db)]=0x271f]=_0x55ff74(0x1db),_0x30eb44[_0x30eb44[_0x55ff74(0x322)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x30eb44[_0x30eb44[_0x55ff74(0x3c0)]=0x2ee1]=_0x55ff74(0x3c0),_0x30eb44[_0x30eb44[_0x55ff74(0x431)]=0x2ee2]=_0x55ff74(0x431),_0x30eb44[_0x30eb44[_0x55ff74(0x13a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x30eb44[_0x30eb44[_0x55ff74(0x32b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x30eb44[_0x30eb44[_0x55ff74(0x2e3)]=0x2ee5]=_0x55ff74(0x2e3),_0x30eb44[_0x30eb44['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x55ff74(0x45e),_0x30eb44[_0x30eb44[_0x55ff74(0x397)]=0x32ca]=_0x55ff74(0x397),_0x30eb44[_0x30eb44[_0x55ff74(0x228)]=0x32cb]=_0x55ff74(0x228),_0x30eb44[_0x30eb44[_0x55ff74(0xf5)]=-0x1]=_0x55ff74(0xf5),_0x30eb44))(gt||{}),J=(_0x5527b1=>(_0x5527b1[_0x5527b1['UNIVER_UNKNOWN']=0x0]=_0x55ff74(0x30a),_0x5527b1[_0x5527b1['UNIVER_DOC']=0x1]=_0x55ff74(0x43e),_0x5527b1[_0x5527b1[_0x55ff74(0x209)]=0x2]=_0x55ff74(0x209),_0x5527b1[_0x5527b1[_0x55ff74(0x3b3)]=0x3]=_0x55ff74(0x3b3),_0x5527b1[_0x5527b1[_0x55ff74(0x125)]=0x4]=_0x55ff74(0x125),_0x5527b1[_0x5527b1[_0x55ff74(0xf5)]=-0x1]='UNRECOGNIZED',_0x5527b1))(J||{}),W=(_0xd85859=>(_0xd85859[_0xd85859[_0x55ff74(0x204)]=0x0]=_0x55ff74(0x204),_0xd85859[_0xd85859[_0x55ff74(0x426)]=0x1]='HELLO',_0xd85859[_0xd85859[_0x55ff74(0x3c3)]=0x2]=_0x55ff74(0x3c3),_0xd85859[_0xd85859['LEAVE']=0x3]=_0x55ff74(0x420),_0xd85859[_0xd85859[_0x55ff74(0x3e5)]=0x4]=_0x55ff74(0x3e5),_0xd85859[_0xd85859[_0x55ff74(0x102)]=0x5]=_0x55ff74(0x102),_0xd85859[_0xd85859[_0x55ff74(0x185)]=0x6]='RECV',_0xd85859[_0xd85859['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xd85859))(W||{}),oe=(_0x9ef1d8=>(_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x18d)]=0x0]=_0x55ff74(0x18d),_0x9ef1d8[_0x9ef1d8['OK']=0x1]='OK',_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x40b)]=0x2]=_0x55ff74(0x40b),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x36f)]=0x3e9]=_0x55ff74(0x36f),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x333)]=0x3ea]=_0x55ff74(0x333),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x143)]=0x3eb]=_0x55ff74(0x143),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x1df)]=0x3ec]=_0x55ff74(0x1df),_0x9ef1d8[_0x9ef1d8['UNRECOGNIZED']=-0x1]=_0x55ff74(0xf5),_0x9ef1d8))(oe||{}),Et=(_0xf27c92=>(_0xf27c92[_0xf27c92['Undefined']=0x0]=_0x55ff74(0x2d8),_0xf27c92[_0xf27c92[_0x55ff74(0x44a)]=0x1]=_0x55ff74(0x44a),_0xf27c92[_0xf27c92[_0x55ff74(0x3fe)]=0x2]='HttpExport',_0xf27c92[_0xf27c92[_0x55ff74(0x352)]=0x3]='UnitEmbedded',_0xf27c92[_0xf27c92[_0x55ff74(0x145)]=0x4]=_0x55ff74(0x145),_0xf27c92[_0xf27c92[_0x55ff74(0x1c6)]=0x5]=_0x55ff74(0x1c6),_0xf27c92[_0xf27c92[_0x55ff74(0xf5)]=-0x1]=_0x55ff74(0xf5),_0xf27c92))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x1a9611=>(_0x1a9611[_0x55ff74(0x1d1)]=_0x55ff74(0x1d1),_0x1a9611['PERMISSION_DENIED']=_0x55ff74(0x337),_0x1a9611[_0x55ff74(0x147)]=_0x55ff74(0x147),_0x1a9611[_0x55ff74(0x3c5)]='CLOSE_ROOM',_0x1a9611[_0x55ff74(0x288)]=_0x55ff74(0x288),_0x1a9611[_0x55ff74(0x214)]=_0x55ff74(0x214),_0x1a9611[_0x55ff74(0x20c)]=_0x55ff74(0x20c),_0x1a9611['SUBMIT_CHANGESET_TIMEOUT']=_0x55ff74(0x28d),_0x1a9611))(Z||{});class ee{constructor(){var _0x4e7e40=_0x55ff74;A(this,_0x4e7e40(0x37b),new $[(_0x4e7e40(0x16b))]()),A(this,_0x4e7e40(0x1f9),this[_0x4e7e40(0x37b)][_0x4e7e40(0x37f)]());}[_0x55ff74(0x25d)](_0x40891e){var _0x5d2df9=_0x55ff74;this[_0x5d2df9(0x37b)]['next'](_0x40891e);}}const mt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2091f3){var _0x548ca7=_0x55ff74,_0x4360db,_0x4483ff,_0x7320a2,_0x46bbe8,_0x3d3061;const _0x342d38=_0x2091f3[_0x548ca7(0x13e)],_0x20fbb5=JSON[_0x548ca7(0x29b)](_0x342d38);switch(_0x20fbb5['cmd']){case W[_0x548ca7(0x102)]:case W[_0x548ca7(0x426)]:{const _0x3fdead=_0x20fbb5[_0x548ca7(0x3f6)];return{..._0x20fbb5,'data':_0x3fdead,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};}case W['JOIN']:{const _0x1688f4=_0x20fbb5['joinRsp'];return{..._0x20fbb5,'data':_0x1688f4,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};}case W[_0x548ca7(0x185)]:{const _0x482c3b=_0x20fbb5[_0x548ca7(0x3c9)];switch(_0x482c3b[_0x548ca7(0x46c)]){case I['CollaborationEvent'][_0x548ca7(0x345)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x4360db=_0x482c3b[_0x548ca7(0x47d)])==null?void 0x0:_0x4360db['cs']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)]['CHANGESET_ACK']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x4483ff=_0x482c3b[_0x548ca7(0x2db)])==null?void 0x0:_0x4483ff['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x279)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x7320a2=_0x482c3b['newCsEvent'])==null?void 0x0:_0x7320a2['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x17e)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x46bbe8=_0x482c3b[_0x548ca7(0x22d)])==null?void 0x0:_0x46bbe8['cs']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x3fc)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x3d3061=_0x482c3b[_0x548ca7(0x2fa)])==null?void 0x0:_0x3d3061['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x32d)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['updateCursorEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent']['USERS_ENTER']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x144)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)]['USERS_LEAVE']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x1c5)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x3b0)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x146)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x462)]:case I[_0x548ca7(0x208)]['LIVESHARE_OPERATION']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['liveShareOperation']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)]['LIVESHARE_TERMINATE']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x146)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x249)]:return{..._0x20fbb5,'data':_0x482c3b,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x369)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['commentUpdateEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x22f)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x28f)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x389)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x2ad)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x219)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['uniscriptRunEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};default:return _0x20fbb5;}}default:return _0x20fbb5;}}function Tt(_0x2e172a){var _0x1655b9=_0x55ff74;switch(_0x2e172a[_0x1655b9(0x1e2)]){case W[_0x1655b9(0x102)]:case W[_0x1655b9(0x426)]:return JSON[_0x1655b9(0x2bc)]({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)]});case W[_0x1655b9(0x3e5)]:{let _0x38d7c0;switch(_0x2e172a[_0x1655b9(0x13e)]['eventID']){case I[_0x1655b9(0x208)][_0x1655b9(0x32d)]:{_0x38d7c0={'eventID':I['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x37a)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x37a)],'leaveEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I['CollaborationEvent'][_0x1655b9(0x1b6)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x1b6)],'joinEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I['CollaborationEvent'][_0x1655b9(0x3b0)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x3b0)],'liveShareNewHost':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x36d)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x36d)],'liveShareOperation':_0x2e172a[_0x1655b9(0x13e)]['data']};break;}case I['CollaborationEvent'][_0x1655b9(0x3fa)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x3fa)],'liveShareTerminate':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x2c4)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e172a['data'][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x462)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x38d7c0={'eventID':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x46c)]};}return JSON['stringify']({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)],'collaMsg':_0x38d7c0});}case W[_0x1655b9(0x3c3)]:return JSON[_0x1655b9(0x2bc)]({'cmd':_0x2e172a['cmd'],'routeKey':_0x2e172a[_0x1655b9(0x238)],'joinReq':_0x2e172a[_0x1655b9(0x13e)]});case W[_0x1655b9(0x420)]:return JSON['stringify']({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)],'leaveReq':_0x2e172a[_0x1655b9(0x13e)]});default:throw new Error(_0x1655b9(0x432));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x32d896,_0x232ebc,_0x3f7370,_0x66305)=>{var _0x1ac11d=_0x55ff74;for(var _0x3d28f9=_0x66305>0x1?void 0x0:_0x66305?qt(_0x232ebc,_0x3f7370):_0x232ebc,_0x3f1594=_0x32d896[_0x1ac11d(0x305)]-0x1,_0x20a29e;_0x3f1594>=0x0;_0x3f1594--)(_0x20a29e=_0x32d896[_0x3f1594])&&(_0x3d28f9=_0x20a29e(_0x3d28f9)||_0x3d28f9);return _0x3d28f9;},_e=(_0x249e8f,_0x53ab6d)=>(_0x4a5c29,_0x5852a0)=>_0x53ab6d(_0x4a5c29,_0x5852a0,_0x249e8f);const He=a[_0x55ff74(0x23a)](_0x55ff74(0x297));function Jt(_0x4036f2,_0x427895,_0x283f42){var _0x42d487=_0x55ff74;return _0x4036f2+'/'+_0x427895+_0x42d487(0x26b)+_0x283f42+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0x55ff74(0x2f0)]{constructor(_0x759068,_0xc026d4,_0x2f2dd6,_0x506429,_0x2ad403){var _0x5903d9=_0x55ff74;super(),this[_0x5903d9(0x423)]=_0x759068,this[_0x5903d9(0x1e7)]=_0xc026d4,this[_0x5903d9(0x26e)]=_0x2f2dd6,this[_0x5903d9(0x24d)]=_0x506429,this['_snapshotServerService']=_0x2ad403;}[_0x55ff74(0x2c8)](_0x3f9283){var _0xf5a9d2=_0x55ff74;const _0x295465=this[_0xf5a9d2(0x423)][_0xf5a9d2(0x128)](Y[_0xf5a9d2(0x382)]);if(!_0x295465)throw new Error(_0xf5a9d2(0x196));const _0x1c02d6=_0x295465['createSocket'](_0x3f9283);if(!_0x1c02d6)throw new Error(_0xf5a9d2(0x435));const _0x3278b7=new a[(_0xf5a9d2(0x211))](),_0x286271=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6[_0xf5a9d2(0x30e)][_0xf5a9d2(0x259)](_0x43573e=>_0x286271[_0xf5a9d2(0x1f3)](_0x43573e))),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x286271[_0xf5a9d2(0x191)]()));const _0x4d6fd4=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6['error$'][_0xf5a9d2(0x259)](_0x4a43b8=>_0x4d6fd4[_0xf5a9d2(0x1f3)](_0x4a43b8))),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x4d6fd4[_0xf5a9d2(0x191)]()));const _0x55a586=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6[_0xf5a9d2(0x475)][_0xf5a9d2(0x259)](_0x302dec=>{var _0x493e00=_0xf5a9d2;const _0x37a31d=Ct(_0x302dec);_0x55a586[_0x493e00(0x1f3)](_0x37a31d);})),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x55a586['complete']()));let _0xd2037;const _0x3e1a9c=()=>{var _0x4886cf=_0xf5a9d2;_0x4d6fd4[_0x4886cf(0x1f3)](new Event('connection\x20error')),_0x286271[_0x4886cf(0x1f3)](new Event(_0x4886cf(0x2b4))),_0xd2037[_0x4886cf(0x3b2)]();};return _0xd2037={'memberID':'','close$':_0x286271[_0xf5a9d2(0x37f)](),'error$':_0x4d6fd4[_0xf5a9d2(0x37f)](),'open$':_0x1c02d6[_0xf5a9d2(0x408)],'message$':_0x55a586['asObservable'](),'send':_0x30697b=>{var _0x163ee5=_0xf5a9d2;if(_0x30697b[_0x163ee5(0x1e2)]===W[_0x163ee5(0x3e5)]){if(_0x30697b['data']['eventID']===I[_0x163ee5(0x208)]['SUBMIT_CHANGESET']){this[_0x163ee5(0x445)](_0xd2037,_0x30697b[_0x163ee5(0x13e)])[_0x163ee5(0x1ff)](_0x48604=>{var _0x3b9484=_0x163ee5;this[_0x3b9484(0x24d)]['error'](_0x48604),_0x3e1a9c();});return;}if(_0x30697b['data'][_0x163ee5(0x46c)]===I[_0x163ee5(0x208)]['FETCH_MISSING']){const _0x3a5cd6=_0x30697b[_0x163ee5(0x13e)];this[_0x163ee5(0x3b5)](_0x3a5cd6)['then'](_0x41036a=>{var _0x8b7da3=_0x163ee5;_0x55a586['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x3a5cd6[_0x8b7da3(0x13e)][_0x8b7da3(0x20f)],'routeType':'','data':{'eventID':I[_0x8b7da3(0x208)][_0x8b7da3(0x1af)],'data':{'changesets':_0x41036a}}});})[_0x163ee5(0x1ff)](_0x5c2b6e=>{var _0x1edb20=_0x163ee5;this[_0x1edb20(0x24d)][_0x1edb20(0x35e)](_0x5c2b6e),_0x3e1a9c();});return;}}_0x1c02d6[_0x163ee5(0x20b)](Tt(_0x30697b));},'close':()=>{var _0xecb2bb=_0xf5a9d2;_0x1c02d6['close'](),_0x3278b7[_0xecb2bb(0x174)]();}},_0xd2037;}async[_0x55ff74(0x445)](_0x10ce5d,_0x40a229){var _0x4fb8f7=_0x55ff74,_0x20499a,_0x422544;const {unitType:_0x4372d7,unitID:_0xa161c0,changeset:_0x1dcd1b}=_0x40a229['data'],_0x12c8e5={'unitID':_0xa161c0,'memberID':_0x10ce5d[_0x4fb8f7(0x1e3)],'type':_0x4372d7,'changeset':I[_0x4fb8f7(0x386)](_0x1dcd1b)},_0x478b54=this['_configService'][_0x4fb8f7(0x388)](pt),_0x5d51f4=this[_0x4fb8f7(0x26e)][_0x4fb8f7(0x388)](K),_0x2b0536=Jt((_0x422544=(_0x20499a=_0x5d51f4==null?void 0x0:_0x5d51f4['collabSubmitChangesetUrl'])!=null?_0x20499a:_0x478b54)!=null?_0x422544:Vt,_0x4372d7,_0xa161c0);try{await this['_httpService'][_0x4fb8f7(0x252)](_0x2b0536,{'body':_0x12c8e5});}catch(_0x42edcb){throw this[_0x4fb8f7(0x24d)][_0x4fb8f7(0x35e)](_0x4fb8f7(0x307),'submit\x20changeset\x20error!'),_0x42edcb;}}async[_0x55ff74(0x3b5)](_0x429590){var _0x1023e1=_0x55ff74;const {unitID:_0x1cc422,from:_0x32e337,to:_0x8ddef9,unitType:_0x39950e}=_0x429590[_0x1023e1(0x13e)];return(await this[_0x1023e1(0x47a)][_0x1023e1(0x280)]({'metadata':void 0x0},{'unitID':_0x1cc422,'type':_0x39950e,'from':_0x32e337,'to':_0x8ddef9}))['changesets'];}},exports['CollaborationSocketService']=zt([_e(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),_e(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)])),_e(0x2,a[_0x55ff74(0x133)]),_e(0x3,a[_0x55ff74(0x469)]),_e(0x4,I[_0x55ff74(0x38e)])],exports[_0x55ff74(0x253)]);const Xt=_0x55ff74(0x1a7);function Zt(_0x413197){var _0xc0e8f=_0x55ff74;return JSON[_0xc0e8f(0x2bc)](_0x413197)['length'];}class $e{constructor(){var _0x18cdd7=_0x55ff74;A(this,_0x18cdd7(0x160),new $[(_0x18cdd7(0x16b))]()),A(this,_0x18cdd7(0x42e),this[_0x18cdd7(0x160)]['asObservable']());}['onCommentUpdate'](_0x10abf9){var _0x583131=_0x55ff74;this['_commentUpdate$'][_0x583131(0x1f3)](_0x10abf9);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x1f898e,_0x87714c,_0x682a13,_0x33370b)=>{for(var _0xa68244=_0x33370b>0x1?void 0x0:_0x33370b?Qt(_0x87714c,_0x682a13):_0x87714c,_0x541185=_0x1f898e['length']-0x1,_0x2243f2;_0x541185>=0x0;_0x541185--)(_0x2243f2=_0x1f898e[_0x541185])&&(_0xa68244=_0x2243f2(_0xa68244)||_0xa68244);return _0xa68244;},We=(_0x472852,_0x5e65f0)=>(_0x20cb8d,_0x4032d4)=>_0x5e65f0(_0x20cb8d,_0x4032d4,_0x472852);exports[_0x55ff74(0x148)]=class extends a[_0x55ff74(0x2f0)]{constructor(_0x9e7a78,_0x4a7bc1){var _0x1eb16c=_0x55ff74;super(),A(this,_0x1eb16c(0x12e),new Map()),A(this,'_roomCreated$',new $[(_0x1eb16c(0x16b))]()),(this[_0x1eb16c(0x449)]=_0x9e7a78,this[_0x1eb16c(0x2e1)]=_0x4a7bc1,this[_0x1eb16c(0x2a4)]($[_0x1eb16c(0x1cc)](this['_univerInstanceService'][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)][_0x1eb16c(0x209)])['pipe'](V['map'](_0x5f3494=>_0x5f3494[_0x1eb16c(0x186)]())),this[_0x1eb16c(0x449)][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)][_0x1eb16c(0x43e)])[_0x1eb16c(0x33c)](V[_0x1eb16c(0x40e)](_0x1dce3c=>_0x1dce3c[_0x1eb16c(0x186)]())),this[_0x1eb16c(0x449)][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)]['UNIVER_SLIDE'])[_0x1eb16c(0x33c)](V[_0x1eb16c(0x40e)](_0x281e19=>_0x281e19[_0x1eb16c(0x186)]())))[_0x1eb16c(0x259)](_0x49d39a=>this[_0x1eb16c(0x23b)](_0x49d39a))));}['waitForRoom$'](_0x186254){var _0x55ce3d=_0x55ff74;return this[_0x55ce3d(0x12e)][_0x55ce3d(0x14a)](_0x186254)?$['of'](this[_0x55ce3d(0x12e)][_0x55ce3d(0x128)](_0x186254)):this['_roomCreated$'][_0x55ce3d(0x33c)](V[_0x55ce3d(0x40e)](_0x5bfde6=>{var _0x314ca2=_0x55ce3d;if(_0x5bfde6===_0x186254)return this[_0x314ca2(0x12e)][_0x314ca2(0x128)](_0x5bfde6);}));}[_0x55ff74(0x447)](_0x14516d){var _0x50a3a7=_0x55ff74;this[_0x50a3a7(0x2e1)]['setCurrentUser'](_0x14516d);}[_0x55ff74(0x3f4)](){var _0x32b9cb=_0x55ff74;return this[_0x32b9cb(0x2e1)][_0x32b9cb(0x3f4)]();}['updateMember'](_0x2d90fb,_0x5194e9){var _0x172423=_0x55ff74;let _0x40f1c4=this[_0x172423(0x12e)]['get'](_0x2d90fb);_0x40f1c4||(_0x40f1c4=new ti(),this[_0x172423(0x12e)]['set'](_0x2d90fb,_0x40f1c4),this[_0x172423(0x398)][_0x172423(0x1f3)](_0x2d90fb)),_0x40f1c4[_0x172423(0x300)](_0x5194e9);}[_0x55ff74(0x478)](_0x57a5c7,_0x5a1efc){var _0x162738=_0x55ff74;const _0x2835ce=this[_0x162738(0x12e)]['get'](_0x57a5c7);_0x2835ce&&_0x2835ce[_0x162738(0x478)](_0x5a1efc);}[_0x55ff74(0x283)](_0x297634){var _0x5d67d9=_0x55ff74;return this[_0x5d67d9(0x12e)][_0x5d67d9(0x128)](_0x297634);}['getMember'](_0x4e510d,_0x4728d7){var _0x5ec8ff=_0x55ff74;const _0x2d6eb8=this[_0x5ec8ff(0x12e)]['get'](_0x4e510d);if(_0x2d6eb8)return _0x2d6eb8[_0x5ec8ff(0x2c9)](_0x4728d7);}[_0x55ff74(0x23b)](_0xdb8b10){var _0x3d466b=_0x55ff74;const _0x5f378f=this[_0x3d466b(0x12e)][_0x3d466b(0x128)](_0xdb8b10);_0x5f378f&&(_0x5f378f[_0x3d466b(0x174)](),this[_0x3d466b(0x12e)][_0x3d466b(0x413)](_0xdb8b10));}['dispose'](){var _0x5aa77a=_0x55ff74;this[_0x5aa77a(0x12e)][_0x5aa77a(0x41f)](_0x260901=>_0x260901[_0x5aa77a(0x174)]()),this['_roomMembers']['clear'](),this[_0x5aa77a(0x398)][_0x5aa77a(0x191)]();}},exports[_0x55ff74(0x148)]=ei([We(0x0,a[_0x55ff74(0x35a)]),We(0x1,a['Inject'](a['UserManagerService']))],exports[_0x55ff74(0x148)]);class ti extends a['Disposable']{constructor(){var _0x1b3c4a=_0x55ff74;super(...arguments),A(this,_0x1b3c4a(0x2c0),new Map()),A(this,_0x1b3c4a(0x2c7),new $['BehaviorSubject'](this[_0x1b3c4a(0x2c0)])),A(this,_0x1b3c4a(0x439),this[_0x1b3c4a(0x2c7)][_0x1b3c4a(0x37f)]());}[_0x55ff74(0x174)](){var _0x3a549b=_0x55ff74;this[_0x3a549b(0x2c0)][_0x3a549b(0x28a)]();}[_0x55ff74(0x300)](_0xcaba45){var _0x37fe9e=_0x55ff74;this[_0x37fe9e(0x2c0)][_0x37fe9e(0x41c)](_0xcaba45['memberID'],_0xcaba45),this[_0x37fe9e(0x3c2)]();}[_0x55ff74(0x478)](_0x2adc0a){var _0x7f3310=_0x55ff74;this[_0x7f3310(0x2c0)][_0x7f3310(0x413)](_0x2adc0a);}[_0x55ff74(0x2c9)](_0x2e4ea8){var _0x2bf601=_0x55ff74;return this[_0x2bf601(0x2c0)]['get'](_0x2e4ea8);}[_0x55ff74(0x124)](){var _0xc75820=_0x55ff74;return Array[_0xc75820(0x318)](this[_0xc75820(0x2c0)]['values']());}[_0x55ff74(0x3c2)](){var _0x14fc65=_0x55ff74;this[_0x14fc65(0x2c7)][_0x14fc65(0x1f3)](this[_0x14fc65(0x2c0)]);}}var ii=Object[_0x55ff74(0x224)],ni=(_0x5a8d6e,_0x3ea8cc,_0x5ee0a2,_0x3c8f39)=>{var _0x28bde9=_0x55ff74;for(var _0x52537b=_0x3c8f39>0x1?void 0x0:_0x3c8f39?ii(_0x3ea8cc,_0x5ee0a2):_0x3ea8cc,_0x4d89cf=_0x5a8d6e[_0x28bde9(0x305)]-0x1,_0x471fc2;_0x4d89cf>=0x0;_0x4d89cf--)(_0x471fc2=_0x5a8d6e[_0x4d89cf])&&(_0x52537b=_0x471fc2(_0x52537b)||_0x52537b);return _0x52537b;},se=(_0x98357e,_0x329fc3)=>(_0x10950d,_0x420208)=>_0x329fc3(_0x10950d,_0x420208,_0x98357e),re=(_0x47ad72=>(_0x47ad72[_0x47ad72['IDLE']=0x0]=_0x55ff74(0x35d),_0x47ad72[_0x47ad72[_0x55ff74(0x3f1)]=0x1]='JOINING',_0x47ad72[_0x47ad72[_0x55ff74(0x3d0)]=0x2]=_0x55ff74(0x3d0),_0x47ad72[_0x47ad72[_0x55ff74(0x115)]=0x3]=_0x55ff74(0x115),_0x47ad72))(re||{});const Ge={[oe[_0x55ff74(0x40b)]]:_0x55ff74(0x1a5),[oe[_0x55ff74(0x36f)]]:_0x55ff74(0x309),[oe[_0x55ff74(0x333)]]:_0x55ff74(0x257),[oe[_0x55ff74(0x143)]]:_0x55ff74(0x289),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0x55ff74(0x3d7)]=class extends a[_0x55ff74(0x139)]{constructor(_0x2c310a,_0x125396,_0x1c60ec,_0x263d9f,_0x2598e4,_0x5945dc,_0x1011c6,_0x35dce9,_0x544ac3){var _0x4b006f=_0x55ff74;super(),A(this,_0x4b006f(0x36a),new $[(_0x4b006f(0x265))](0x0)),A(this,_0x4b006f(0x326),this[_0x4b006f(0x36a)][_0x4b006f(0x37f)]()),A(this,_0x4b006f(0x37b),new $[(_0x4b006f(0x16b))]()),A(this,_0x4b006f(0x1f9),this['_event$']['asObservable']()),A(this,_0x4b006f(0x1b7)),A(this,_0x4b006f(0x261)),A(this,_0x4b006f(0x2da)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x4b006f(0x409),null),(this[_0x4b006f(0x205)]=_0x2c310a,this[_0x4b006f(0x24d)]=_0x1c60ec,this[_0x4b006f(0x26e)]=_0x263d9f,this[_0x4b006f(0x285)]=_0x2598e4,this['_memberService']=_0x5945dc,this['_commentService']=_0x1011c6,this[_0x4b006f(0x170)]=_0x35dce9,this[_0x4b006f(0x1c7)]=_0x544ac3,this[_0x4b006f(0xfe)]=!!this[_0x4b006f(0x1c7)],_0x125396[_0x4b006f(0x33c)]($[_0x4b006f(0x336)](this[_0x4b006f(0x1ca)]))[_0x4b006f(0x259)](_0x340323=>{var _0x2a669d=_0x4b006f,_0x5ca0d;typeof _0x340323>'u'||(this[_0x2a669d(0x1b7)]=_0x340323,_0x340323?(this[_0x2a669d(0x294)](_0x340323),this[_0x2a669d(0x261)]=_0x340323['message$'][_0x2a669d(0x259)](_0xa798bd=>{var _0x6900e6=_0x2a669d;_0xa798bd['routeKey']===this[_0x6900e6(0x205)]&&this[_0x6900e6(0x3b1)](_0xa798bd);})):(this[_0x2a669d(0x19c)](),this['_sessionStatus$'][_0x2a669d(0x1f3)](0x2),(_0x5ca0d=this[_0x2a669d(0x261)])==null||_0x5ca0d[_0x2a669d(0x3b7)](),this['_socketMessageSubscription']=null));}));}get[_0x55ff74(0x362)](){var _0x964f94=_0x55ff74;return this[_0x964f94(0x36a)][_0x964f94(0x2a8)]();}[_0x55ff74(0x26a)](){var _0x31abf0=_0x55ff74,_0x17b3b6,_0x4e66d8;return(_0x4e66d8=(_0x17b3b6=this[_0x31abf0(0x1b7)])==null?void 0x0:_0x17b3b6[_0x31abf0(0x1e3)])!=null?_0x4e66d8:null;}[_0x55ff74(0x174)](){var _0x4ed02a=_0x55ff74;super['dispose'](),this['dispose$'][_0x4ed02a(0x1f3)](),this['dispose$'][_0x4ed02a(0x191)]();}[_0x55ff74(0x3b2)](){var _0x2e05d2=_0x55ff74,_0x2fa17b,_0x8efccd;this[_0x2e05d2(0x19c)](),(_0x2fa17b=this['_socket'])==null||_0x2fa17b[_0x2e05d2(0x20b)]({'cmd':W[_0x2e05d2(0x420)],'data':{'roomID':this['_unitID']}}),(_0x8efccd=this['_socket'])==null||_0x8efccd[_0x2e05d2(0x3b2)](),this[_0x2e05d2(0x37b)][_0x2e05d2(0x191)](),this[_0x2e05d2(0x36a)][_0x2e05d2(0x191)](),this['dispose']();}[_0x55ff74(0x3b1)](_0x11da6b){var _0xfe8ebe=_0x55ff74;_0x11da6b[_0xfe8ebe(0x1e2)]===W['JOIN']?this[_0xfe8ebe(0x188)](_0x11da6b):_0x11da6b[_0xfe8ebe(0x1e2)]===W['RECV']&&this[_0xfe8ebe(0x391)](_0x11da6b);}[_0x55ff74(0x294)](_0x3e38cf){var _0x203e58=_0x55ff74;this['_sessionStatus$']['next'](0x1),_0x3e38cf[_0x203e58(0x20b)]({'cmd':W[_0x203e58(0x3c3)],'routeKey':this[_0x203e58(0x205)],'routeType':'','data':{'rooms':[{'roomID':this[_0x203e58(0x205)]}]}});}[_0x55ff74(0x188)](_0x43574d){var _0x3c0960=_0x55ff74,_0x15cb13;if(_0x43574d[_0x3c0960(0x433)]in Ge){this[_0x3c0960(0x170)][_0x3c0960(0x25d)]({'id':Z[_0x3c0960(0x288)],'data':Ge[_0x43574d[_0x3c0960(0x433)]]}),this[_0x3c0960(0x36a)][_0x3c0960(0x1f3)](0x2);return;}this[_0x3c0960(0x36a)][_0x3c0960(0x1f3)](0x3);const _0x45ab9d=(_0x15cb13=_0x43574d['data']['roomInfos'][this[_0x3c0960(0x205)]])==null?void 0x0:_0x15cb13[_0x3c0960(0x269)];_0x45ab9d&&_0x45ab9d[_0x3c0960(0x41f)](_0x1d1803=>this[_0x3c0960(0x134)][_0x3c0960(0x300)](this[_0x3c0960(0x205)],_0x1d1803));}['_onRecvEvent'](_0x40d5b9){var _0x1541fa=_0x55ff74;try{const _0x2576c9=_0x40d5b9[_0x1541fa(0x13e)];switch(_0x2576c9[_0x1541fa(0x46c)]){case I[_0x1541fa(0x208)]['USERS_ENTER']:this[_0x1541fa(0x11e)](_0x2576c9),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x37a)]:this[_0x1541fa(0xff)](_0x2576c9),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x2df)]:case I['CollaborationEvent'][_0x1541fa(0x3fc)]:this[_0x1541fa(0x135)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x249)]:this[_0x1541fa(0x24d)][_0x1541fa(0x35e)](_0x1541fa(0x276)+JSON[_0x1541fa(0x2bc)](_0x2576c9)),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x369)]:this[_0x1541fa(0x240)]['onCommentUpdate'](_0x2576c9[_0x1541fa(0x13e)]),this[_0x1541fa(0x37b)]['next'](_0x2576c9);break;default:this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);}}catch(_0x20e9c1){this['_logService'][_0x1541fa(0x35e)](_0x20e9c1,_0x40d5b9);}}['_onUserJoin'](_0x9063dc){var _0xb64968=_0x55ff74;this[_0xb64968(0x134)][_0xb64968(0x300)](this[_0xb64968(0x205)],_0x9063dc[_0xb64968(0x13e)]);}[_0x55ff74(0xff)](_0x8ebdbd){var _0x325009=_0x55ff74;this['_memberService'][_0x325009(0x478)](this[_0x325009(0x205)],_0x8ebdbd['data'][_0x325009(0x1e3)]);}async['send'](_0x145588,_0x33d201){var _0x268656=_0x55ff74;if(this['sessionStatus']!==0x3||!this[_0x268656(0x1b7)])throw new Error(_0x268656(0x406));try{_0x145588['eventID']===I[_0x268656(0x208)][_0x268656(0x473)]&&(this[_0x268656(0x2e7)](),this[_0x268656(0x11d)](_0x145588)),this['_socket'][_0x268656(0x20b)]({'cmd':W[_0x268656(0x3e5)],'routeKey':_0x33d201,'routeType':'','data':_0x145588});}catch(_0x3e9059){this[_0x268656(0x24d)][_0x268656(0x35e)](_0x3e9059);}}[_0x55ff74(0x2e7)](){var _0x39c87d=_0x55ff74,_0x435cd7;this[_0x39c87d(0x2da)]=setTimeout(()=>{var _0x590a3d=_0x39c87d;this[_0x590a3d(0x2da)]=null,this[_0x590a3d(0x170)][_0x590a3d(0x25d)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x435cd7=this[_0x39c87d(0x26e)]['getConfig'](ke))!=null?_0x435cd7:St);}[_0x55ff74(0x2a6)](){var _0x1a2579=_0x55ff74;this[_0x1a2579(0x2da)]&&(clearTimeout(this[_0x1a2579(0x2da)]),this['_collaborationTimeoutTimer']=null);}[_0x55ff74(0x11d)](_0xa718a3){var _0x5b89ac=_0x55ff74;if(!this[_0x5b89ac(0xfe)])return;const {data:_0x16e025}=_0xa718a3,{unitID:_0x45d4d6,changeset:_0x5d0c4a}=_0x16e025,{mutations:_0x17f7ce,type:_0x35c328}=_0x5d0c4a;this[_0x5b89ac(0x409)]={'unitId':_0x45d4d6,'type':_0x35c328,'startTime':performance[_0x5b89ac(0x1e0)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x17f7ce)};}[_0x55ff74(0x135)](){var _0x142f14=_0x55ff74;if(this[_0x142f14(0xfe)]){if(!this['_telemetryInfo']){this[_0x142f14(0x24d)][_0x142f14(0x35e)](_0x142f14(0x307),_0x142f14(0x1ee));return;}this[_0x142f14(0x409)]['stopTime']=performance[_0x142f14(0x1e0)](),this[_0x142f14(0x409)]['duration']=this[_0x142f14(0x409)][_0x142f14(0x2b9)]-this[_0x142f14(0x409)][_0x142f14(0x14f)],this['_telemetryService']['capture'](Xt,this[_0x142f14(0x409)]),this[_0x142f14(0x409)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x210077=_0x55ff74;this[_0x210077(0x409)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x55ff74(0x469)]),se(0x3,a['IConfigService']),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x55ff74(0x221)](exports[_0x55ff74(0x148)])),se(0x6,a[_0x55ff74(0x221)]($e)),se(0x7,a[_0x55ff74(0x221)](ee)),se(0x8,a[_0x55ff74(0x299)](Pt[_0x55ff74(0x37e)]))],exports[_0x55ff74(0x3d7)]);var ri=Object[_0x55ff74(0x224)],si=(_0x4181f9,_0xd38396,_0xdd3b,_0x3a1131)=>{for(var _0x2a2bcb=_0x3a1131>0x1?void 0x0:_0x3a1131?ri(_0xd38396,_0xdd3b):_0xd38396,_0x57a858=_0x4181f9['length']-0x1,_0x36be71;_0x57a858>=0x0;_0x57a858--)(_0x36be71=_0x4181f9[_0x57a858])&&(_0x2a2bcb=_0x36be71(_0x2a2bcb)||_0x2a2bcb);return _0x2a2bcb;},he=(_0x568e03,_0xcb9b1d)=>(_0x3aa8a7,_0x862592)=>_0xcb9b1d(_0x3aa8a7,_0x862592,_0x568e03);exports[_0x55ff74(0x40d)]=class extends a[_0x55ff74(0x2f0)]{constructor(_0x27dcf8,_0x48d343,_0x5f2401,_0x3ac83c,_0xc8f967,_0x5ae618){var _0x3460e8=_0x55ff74;super(),A(this,_0x3460e8(0x1a6),new $[(_0x3460e8(0x265))](void 0x0)),A(this,'socket$',this['_socket$'][_0x3460e8(0x37f)]()),A(this,_0x3460e8(0x153),null),A(this,_0x3460e8(0x364),new Map()),A(this,_0x3460e8(0x169),new $[(_0x3460e8(0x265))](re[_0x3460e8(0x35d)])),A(this,_0x3460e8(0x311),this[_0x3460e8(0x169)]['asObservable']()),A(this,_0x3460e8(0x181),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x3460e8(0x3d9),0x0),A(this,_0x3460e8(0x459)),A(this,_0x3460e8(0x2a1)),(this[_0x3460e8(0x423)]=_0x27dcf8,this[_0x3460e8(0x24d)]=_0x48d343,this['_configService']=_0x5f2401,this[_0x3460e8(0x30b)]=_0x3ac83c,this['_collaborationUIEventService']=_0xc8f967,this['_networkConditionService']=_0x5ae618,this[_0x3460e8(0x100)]());}get[_0x55ff74(0x1b7)](){var _0x4308c0=_0x55ff74;return this[_0x4308c0(0x1a6)][_0x4308c0(0x2a8)]();}[_0x55ff74(0x100)](){var _0x21eeee=_0x55ff74;this[_0x21eeee(0x3a9)]&&this['disposeWithMe'](this['_networkConditionService'][_0x21eeee(0x2f7)][_0x21eeee(0x259)](_0x4b1af5=>{var _0x3d96c5=_0x21eeee;_0x4b1af5&&!this[_0x3d96c5(0x1b7)]&&this[_0x3d96c5(0x15f)](),_0x4b1af5||this[_0x3d96c5(0x195)]();}));}['dispose'](){var _0x4d495f=_0x55ff74;super[_0x4d495f(0x174)](),this[_0x4d495f(0x363)](),this['_clearTimeoutTimer'](),this[_0x4d495f(0x3bc)](),this[_0x4d495f(0x364)][_0x4d495f(0x41f)](_0x5631bb=>_0x5631bb[_0x4d495f(0x174)]()),this[_0x4d495f(0x364)][_0x4d495f(0x28a)](),this[_0x4d495f(0x169)][_0x4d495f(0x191)]();}async[_0x55ff74(0x239)](_0x4b39a4){var _0x4597c3=_0x55ff74;if(this['_sessions'][_0x4597c3(0x14a)](_0x4b39a4))return this[_0x4597c3(0x364)][_0x4597c3(0x128)](_0x4b39a4);this[_0x4597c3(0x14e)]();const _0x4551a4=this[_0x4597c3(0x423)]['createInstance'](exports['CollaborationSession'],_0x4b39a4,this[_0x4597c3(0x1a6)][_0x4597c3(0x37f)]());return this[_0x4597c3(0x364)]['set'](_0x4b39a4,_0x4551a4),_0x4551a4;}[_0x55ff74(0x430)](_0x52cc85){var _0x55746a=_0x55ff74,_0x5e44dc;const _0x48276a=this[_0x55746a(0x364)][_0x55746a(0x128)](_0x52cc85);_0x48276a&&(this[_0x55746a(0x364)]['delete'](_0x52cc85),_0x48276a[_0x55746a(0x3b2)]()),this[_0x55746a(0x364)]['size']||(_0x5e44dc=this[_0x55746a(0x1b7)])==null||_0x5e44dc[_0x55746a(0x3b2)]();}['reconnect'](){var _0x382812=_0x55ff74;this['_retryCount']=0x0,this[_0x382812(0x363)](),this[_0x382812(0x384)]();}[_0x55ff74(0x363)](){var _0x4a8c58=_0x55ff74;this[_0x4a8c58(0x371)]!=null&&(clearTimeout(this[_0x4a8c58(0x371)]),this[_0x4a8c58(0x371)]=null);}async[_0x55ff74(0x22e)](){var _0x54477d=_0x55ff74,_0x24ba07,_0xdd486e;const _0x4ac500=this[_0x54477d(0x26e)][_0x54477d(0x388)](ut),_0x3d2a0c=this[_0x54477d(0x26e)][_0x54477d(0x388)](K),_0x96c621=(_0xdd486e=(_0x24ba07=_0x3d2a0c==null?void 0x0:_0x3d2a0c[_0x54477d(0x335)])!=null?_0x24ba07:_0x4ac500)!=null?_0xdd486e:dt,_0x1a0a7e=await this[_0x54477d(0x30b)]['createSocket'](_0x96c621);return this[_0x54477d(0x153)]=_0x1a0a7e,_0x1a0a7e;}async[_0x55ff74(0x14e)](){var _0x15339a=_0x55ff74,_0x255af0,_0x52797a;try{const _0x1cbc4e=(_0x52797a=(_0x255af0=this[_0x15339a(0x1b7)])!=null?_0x255af0:this[_0x15339a(0x153)])!=null?_0x52797a:await this[_0x15339a(0x22e)]();if(_0x1cbc4e){const _0xef0321=_0x1cbc4e['send'];_0x1cbc4e[_0x15339a(0x20b)]=_0x39bff1=>(this[_0x15339a(0x3a1)](),_0xef0321[_0x15339a(0x2f1)](_0x1cbc4e,[_0x39bff1])),_0x1cbc4e[_0x15339a(0x475)]['subscribe'](_0x3ee04c=>this[_0x15339a(0x20d)](_0x1cbc4e,_0x3ee04c)),_0x1cbc4e[_0x15339a(0x354)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](_0x5143cd=>this[_0x15339a(0x24d)][_0x15339a(0x35e)](_0x15339a(0x1e9),_0x5143cd)),_0x1cbc4e[_0x15339a(0x408)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](()=>{var _0x14fbe8=_0x15339a;this[_0x14fbe8(0x2d0)](_0x1cbc4e);}),_0x1cbc4e[_0x15339a(0x30e)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](_0x56bf65=>{var _0x1fde43=_0x15339a;this[_0x1fde43(0x24d)][_0x1fde43(0x2f8)](_0x1fde43(0x293),_0x1fde43(0xf9),_0x56bf65),this['_onConnectionFailed']();});}}catch(_0x318a05){this[_0x15339a(0x24d)]['error'](_0x318a05),this[_0x15339a(0x421)]();}}[_0x55ff74(0x2d0)](_0x1e6658){var _0x36d13c=_0x55ff74;this[_0x36d13c(0x24d)][_0x36d13c(0x2f8)](_0x36d13c(0x293),'socket\x20open.'),_0x1e6658[_0x36d13c(0x20b)]({'cmd':W[_0x36d13c(0x426)]}),this[_0x36d13c(0x3a1)]();}[_0x55ff74(0x195)](){var _0x2c7146=_0x55ff74;this['_socketReady']=!0x1,this[_0x2c7146(0x153)]=null,this['_status$'][_0x2c7146(0x1f3)](re[_0x2c7146(0x3d0)]),this[_0x2c7146(0x1a6)]['next'](null),this[_0x2c7146(0x26d)](),this['_clearHeartbeatTimer']();}[_0x55ff74(0x421)](){var _0x4b2338=_0x55ff74,_0x440dab;this[_0x4b2338(0x195)](),this[_0x4b2338(0x3d9)]<((_0x440dab=this[_0x4b2338(0x26e)][_0x4b2338(0x388)](ft))!=null?_0x440dab:jt)?(this[_0x4b2338(0x170)][_0x4b2338(0x25d)]({'id':Z[_0x4b2338(0x214)]}),this[_0x4b2338(0x384)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x4b2338(0x20c)]});}['_tryReconnect'](){var _0x4b6958=_0x55ff74,_0x3a08c2;const _0x5af377=this['_retryCount'],_0x2e8f62=this[_0x4b6958(0x26e)]['getConfig'](K),_0x18062f=_0x5af377===0x0?0x0:((_0x3a08c2=_0x2e8f62==null?void 0x0:_0x2e8f62[_0x4b6958(0x3be)])!=null?_0x3a08c2:$t)*0x2**_0x5af377;this[_0x4b6958(0x371)]=setTimeout(()=>{var _0x12361d=_0x4b6958;clearTimeout(this[_0x12361d(0x371)]),this[_0x12361d(0x371)]=null,this[_0x12361d(0x14e)]();},_0x18062f),this['_retryCount']+=0x1;}['_onMessage'](_0x1d0d85,_0x5b6b3e){var _0x599825=_0x55ff74;const {cmd:_0x1d5da4}=_0x5b6b3e;_0x1d5da4===W[_0x599825(0x426)]&&!this[_0x599825(0x181)]&&(_0x1d0d85[_0x599825(0x1e3)]=_0x5b6b3e[_0x599825(0x13e)]['memberID'],this['_socket$'][_0x599825(0x1f3)](_0x1d0d85),this[_0x599825(0x169)]['next'](re[_0x599825(0x115)]),this[_0x599825(0x181)]=!0x0,this[_0x599825(0x153)]=null),_0x1d5da4===W[_0x599825(0x102)]&&this[_0x599825(0x26d)](),this[_0x599825(0x3a1)]();}[_0x55ff74(0x3a1)](){var _0x184c72=_0x55ff74,_0x309e9a;this['_clearHeartbeatTimer'](),this[_0x184c72(0x459)]=setTimeout(()=>this[_0x184c72(0x368)](),(_0x309e9a=this[_0x184c72(0x26e)][_0x184c72(0x388)](vt))!=null?_0x309e9a:Ht);}['_sendHeartbeat'](){var _0x5e92b0=_0x55ff74;this[_0x5e92b0(0x1b7)][_0x5e92b0(0x20b)]({'cmd':W[_0x5e92b0(0x102)]}),this[_0x5e92b0(0x175)]();}[_0x55ff74(0x175)](){var _0x5ee66f=_0x55ff74,_0x2da745;this[_0x5ee66f(0x2a1)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2da745=this[_0x5ee66f(0x26e)]['getConfig'](ke))!=null?_0x2da745:St);}[_0x55ff74(0x3bc)](){var _0xed32cb=_0x55ff74;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xed32cb(0x459)]),this[_0xed32cb(0x459)]=null);}[_0x55ff74(0x26d)](){var _0x43b52b=_0x55ff74;this[_0x43b52b(0x2a1)]!=null&&(clearTimeout(this[_0x43b52b(0x2a1)]),this['_timeoutTimer']=null);}},exports[_0x55ff74(0x40d)]=si([he(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),he(0x1,a[_0x55ff74(0x469)]),he(0x2,a[_0x55ff74(0x133)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x55ff74(0x299)](mt))],exports[_0x55ff74(0x40d)]);const q=a[_0x55ff74(0x23a)](_0x55ff74(0x399));function oi(_0x53f38a){var _0x2f4e63=_0x55ff74;return _0x2f4e63(0x13f)+_0x53f38a;}var ai=Object[_0x55ff74(0x224)],ci=(_0x127263,_0x1dbaea,_0x4724ab,_0x49862d)=>{var _0x5ed87d=_0x55ff74;for(var _0x564d46=_0x49862d>0x1?void 0x0:_0x49862d?ai(_0x1dbaea,_0x4724ab):_0x1dbaea,_0x57256b=_0x127263[_0x5ed87d(0x305)]-0x1,_0x50a0f2;_0x57256b>=0x0;_0x57256b--)(_0x50a0f2=_0x127263[_0x57256b])&&(_0x564d46=_0x50a0f2(_0x564d46)||_0x564d46);return _0x564d46;},De=(_0x3970f4,_0xdc4adc)=>(_0x4d5942,_0x3b12a4)=>_0xdc4adc(_0x4d5942,_0x3b12a4,_0x3970f4);function hi(_0x7d8e90){var _0x2738de=_0x55ff74;const {unitID:_0x28b4f8,mutations:_0x350053}=_0x7d8e90;return{'unitId':_0x28b4f8,'subUnitId':_0x350053[0x0]['params'][_0x2738de(0x424)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x136d21,_0xad2b2e,_0x26c5d5){var _0x48ab42=_0x55ff74;this[_0x48ab42(0x423)]=_0x136d21,this[_0x48ab42(0x402)]=_0xad2b2e,this[_0x48ab42(0x1bd)]=_0x26c5d5;}[_0x55ff74(0x314)](_0x283406){var _0x1aa236=_0x55ff74,_0x3bd586,_0x20cba0,_0x29d9b9,_0x1f1cbe;const _0x120f2f=this['_injector'][_0x1aa236(0x128)](X[_0x1aa236(0x151)]),{unitId:_0x14de19,subUnitId:_0x5b041d}=hi(_0x283406),_0x3ccdc6=_0x120f2f==null?void 0x0:_0x120f2f['getWorkbookSelections'](_0x14de19)['getCurrentSelections'](),_0x4c53f0=(_0x20cba0=(_0x3bd586=this['_instanceService'][_0x1aa236(0x1e6)](_0x14de19))==null?void 0x0:_0x3bd586[_0x1aa236(0x310)]())==null?void 0x0:_0x20cba0['getSheetId']();if(_0x3ccdc6[_0x1aa236(0x305)]===0x0||!_0x14de19||!_0x5b041d)return;const _0xbd9bad=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x14de19,'subUnitId':_0x4c53f0,'selections':a[_0x1aa236(0x3b9)]['deepClone'](_0x3ccdc6)}}],_0x51c34f=this[_0x1aa236(0x402)]['transformMutationsWithChangeset'](_0x283406,_0xbd9bad);if(!I[_0x1aa236(0x3e3)](_0x51c34f))throw _0x51c34f[_0x1aa236(0x35e)];const _0x401ab2=(_0x1f1cbe=(_0x29d9b9=_0x51c34f[_0x1aa236(0x295)][0x0])==null?void 0x0:_0x29d9b9['params'])==null?void 0x0:_0x1f1cbe[_0x1aa236(0x1b9)];if(Array['isArray'](_0x401ab2)&&_0x401ab2[_0x1aa236(0x305)]){if(_0x401ab2[_0x1aa236(0x305)]===_0xbd9bad[0x0][_0x1aa236(0x105)][_0x1aa236(0x1b9)]['length']&&_0x401ab2[_0x1aa236(0x1bf)]((_0x5a7504,_0x53fab6)=>a[_0x1aa236(0x268)][_0x1aa236(0x31f)](_0x5a7504[_0x1aa236(0x131)],_0xbd9bad[0x0][_0x1aa236(0x105)][_0x1aa236(0x1b9)][_0x53fab6][_0x1aa236(0x131)])))return;this[_0x1aa236(0x423)][_0x1aa236(0x128)](a[_0x1aa236(0x393)])['executeCommand'](X[_0x1aa236(0x2f5)]['id'],{'unitId':_0x14de19,'subUnitId':_0x4c53f0,'selections':_0x401ab2});}}},exports[_0x55ff74(0x3a2)]=ci([De(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),De(0x1,I[_0x55ff74(0x1fc)]),De(0x2,a[_0x55ff74(0x35a)])],exports[_0x55ff74(0x3a2)]);const de=a[_0x55ff74(0x23a)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x104cf5=>(_0x104cf5[_0x104cf5[_0x55ff74(0x3e8)]=0x0]=_0x55ff74(0x3e8),_0x104cf5[_0x104cf5[_0x55ff74(0x327)]=0x1]=_0x55ff74(0x327),_0x104cf5))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x5ba6bc,_0x512f56,_0x4edda0,_0x59d79c,_0x119a0b){var _0x560a0c=_0x55ff74,_0x49962e,_0x16c644,_0x3937f1,_0x35bc4d;const _0x377bc9=[];for(const _0x5b8e0b of _0x5ba6bc)if(_i[_0x560a0c(0x14a)](_0x5b8e0b['id'])){if(_0x377bc9[_0x560a0c(0x305)]>0x0)break;_0x377bc9[_0x560a0c(0x395)](_0x5b8e0b);break;}else _0x377bc9[_0x560a0c(0x395)](_0x5b8e0b);const _0x50f653=(_0x16c644=(_0x49962e=_0x119a0b[_0x560a0c(0x3f4)]())==null?void 0x0:_0x49962e[_0x560a0c(0x118)])!=null?_0x16c644:_0x560a0c(0x227),_0x4572df=(_0x35bc4d=(_0x3937f1=_0x119a0b['getCurrentUser']())==null?void 0x0:_0x3937f1['memberID'])!=null?_0x35bc4d:_0x560a0c(0x227);return{'changeset':{'unitID':_0x512f56,'type':I['mapDocumentTypeToUniverType'](_0x4edda0[_0x560a0c(0x106)](_0x512f56)),'baseRev':_0x59d79c[_0x560a0c(0x172)](_0x512f56),'revision':0x0,'userID':_0x50f653,'memberID':_0x4572df,'mutations':_0x377bc9},'pendingMutations':_0x5ba6bc['slice'](_0x377bc9[_0x560a0c(0x305)])};}function li(_0x173518,_0xa28790,_0x574fed,_0x5ee0f6,_0x1d93ea){var _0x29ee4b=_0x55ff74,_0x3927a1,_0x5a9c87,_0x1ca598,_0x17b886;const _0x1282af=[_0x173518[_0x29ee4b(0x11b)]((_0x3d008c,_0x5be68a)=>{var _0x5ef80e=_0x29ee4b,_0x3d88ee;const {id:_0x25561c}=_0x3d008c,{id:_0x862351,type:_0x14e6fd}=_0x5be68a,_0x11e07d=(_0x3d88ee=_0x3d008c['params'])!=null?_0x3d88ee:{'actions':null},_0x1a556e=_0x5be68a['params'];if(_0x25561c&&_0x25561c!==_0x862351)throw new Error(_0x5ef80e(0x42c)+_0x25561c+_0x5ef80e(0x18f)+_0x862351+'.');return{..._0x3d008c,'id':_0x862351,'type':_0x14e6fd,'params':{'unitId':_0x1a556e[_0x5ef80e(0x411)],'textRanges':_0x1a556e[_0x5ef80e(0x1b4)],'actions':a['JSONX'][_0x5ef80e(0x1a3)](_0x11e07d[_0x5ef80e(0x182)],_0x1a556e[_0x5ef80e(0x182)])}};},{})],_0x46f4dd=(_0x5a9c87=(_0x3927a1=_0x1d93ea[_0x29ee4b(0x3f4)]())==null?void 0x0:_0x3927a1[_0x29ee4b(0x118)])!=null?_0x5a9c87:_0x29ee4b(0x227),_0xc816dc=(_0x17b886=(_0x1ca598=_0x1d93ea['getCurrentUser']())==null?void 0x0:_0x1ca598[_0x29ee4b(0x1e3)])!=null?_0x17b886:_0x29ee4b(0x227);return{'changeset':{'unitID':_0xa28790,'type':I[_0x29ee4b(0x15c)](_0x574fed['getUnitType'](_0xa28790)),'baseRev':_0x5ee0f6[_0x29ee4b(0x172)](_0xa28790),'revision':0x0,'userID':_0x46f4dd,'memberID':_0xc816dc,'mutations':_0x1282af},'pendingMutations':[]};}function bt(_0x307ac9,_0x289d4e){var _0x37d3d0=_0x55ff74;const _0x5eb472=new $[(_0x37d3d0(0x42b))](0x1);return setTimeout(()=>_0x5eb472['next'](_0x289d4e),_0x307ac9),_0x5eb472[_0x37d3d0(0x37f)]()[_0x37d3d0(0x33c)]($[_0x37d3d0(0x418)](0x1));}const ui={'id':X[_0x55ff74(0xf7)]['id'],'type':a['CommandType'][_0x55ff74(0x31b)],'params':{}};var di=Object[_0x55ff74(0x224)],ae=(_0x3e2087,_0xd19f6f,_0x19bbf2,_0x75c356)=>{var _0x5ef8ac=_0x55ff74;for(var _0x4f114f=_0x75c356>0x1?void 0x0:_0x75c356?di(_0xd19f6f,_0x19bbf2):_0xd19f6f,_0x179e34=_0x3e2087[_0x5ef8ac(0x305)]-0x1,_0x5f1e65;_0x179e34>=0x0;_0x179e34--)(_0x5f1e65=_0x3e2087[_0x179e34])&&(_0x4f114f=_0x5f1e65(_0x4f114f)||_0x4f114f);return _0x4f114f;},w=(_0x4cc30d,_0x86a3a3)=>(_0x3fc2ba,_0x84e777)=>_0x86a3a3(_0x3fc2ba,_0x84e777,_0x4cc30d),Be=(_0x1473b1=>(_0x1473b1[_0x55ff74(0x39e)]=_0x55ff74(0x2f3),_0x1473b1[_0x55ff74(0x262)]=_0x55ff74(0x2f9),_0x1473b1[_0x55ff74(0x338)]=_0x55ff74(0x10a),_0x1473b1[_0x55ff74(0x34e)]='awaiting',_0x1473b1[_0x55ff74(0x2f4)]=_0x55ff74(0x442),_0x1473b1[_0x55ff74(0x2ea)]=_0x55ff74(0x37d),_0x1473b1[_0x55ff74(0x147)]='conflict',_0x1473b1[_0x55ff74(0x3d0)]=_0x55ff74(0x390),_0x1473b1))(Be||{});const Rt=0xea60;class ce{constructor(_0xdf95af,_0x267478,_0x3aa027,_0x2d2a38,_0x2e5cf5,_0x32fee5,_0x10cc96,_0x5551c3,_0x3c0972){var _0x532db6=_0x55ff74;A(this,'_awaitingChangeset',null),A(this,_0x532db6(0x290),[]),(this[_0x532db6(0x20f)]=_0xdf95af,this['type']=_0x267478,this['_handler']=_0x2e5cf5,this[_0x532db6(0x29c)]=_0x32fee5,this['_undoRedoService']=_0x10cc96,this['_revisionService']=_0x5551c3,this['_localCacheService']=_0x3c0972,this[_0x532db6(0x32e)]=_0x3aa027,this[_0x532db6(0x290)]=_0x2d2a38);}[_0x55ff74(0x1fd)](_0x91058){var _0x74ce3c=_0x55ff74;const _0x55fbf5=this[_0x74ce3c(0x3d6)][_0x74ce3c(0x172)](this[_0x74ce3c(0x20f)]);return _0x91058[_0x74ce3c(0x29f)]>_0x55fbf5+0x1?(this[_0x74ce3c(0x1d2)][_0x74ce3c(0x453)]({'from':_0x55fbf5,'to':_0x91058[_0x74ce3c(0x29f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5ad5c8){var _0x175fba=_0x55ff74;this[_0x175fba(0x2b3)][_0x175fba(0x247)](this['unitID'],_0x5ad5c8);}[_0x55ff74(0x41a)](_0x43c325){var _0x2b07a2=_0x55ff74,_0x4b596d,_0x1dff75;(_0x1dff75=(_0x4b596d=this[_0x2b07a2(0x1d2)])[_0x2b07a2(0x177)])==null||_0x1dff75[_0x2b07a2(0x12c)](_0x4b596d,_0x43c325);}[_0x55ff74(0x1a4)](_0x21e2b0){var _0x6cedca=_0x55ff74,_0x5698b4,_0x15b38e;return(_0x15b38e=(_0x5698b4=this[_0x6cedca(0x1d2)])[_0x6cedca(0x3ad)])==null?void 0x0:_0x15b38e[_0x6cedca(0x12c)](_0x5698b4,_0x21e2b0);}[_0x55ff74(0x3f7)](_0x3e80d3){var _0x14b343=_0x55ff74,_0x8bc772,_0x545f42;return(_0x545f42=(_0x8bc772=this[_0x14b343(0x1d2)])[_0x14b343(0x291)])==null?void 0x0:_0x545f42[_0x14b343(0x12c)](_0x8bc772,_0x3e80d3);}[_0x55ff74(0x1aa)](_0x1565fe){var _0x7a9f6c=_0x55ff74,_0x51ba00,_0x4a6ae5,_0x1c9e58;return(_0x1c9e58=(_0x4a6ae5=(_0x51ba00=this['_handler'])[_0x7a9f6c(0x43a)])==null?void 0x0:_0x4a6ae5[_0x7a9f6c(0x12c)](_0x51ba00,_0x1565fe))!=null?_0x1c9e58:_0x1565fe;}[_0x55ff74(0x38f)](_0x40cc5a){var _0x467afb=_0x55ff74,_0x263fd7,_0x4f7524,_0x20b66f;return(_0x20b66f=(_0x4f7524=(_0x263fd7=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4f7524[_0x467afb(0x12c)](_0x263fd7,_0x40cc5a))!=null?_0x20b66f:_0x40cc5a;}['_syncEditingCollabCursor'](_0x160ce1){var _0x201f68=_0x55ff74,_0x4ae025,_0x39de38;if(this[_0x201f68(0x255)]===J[_0x201f68(0x43e)]){const {unitID:_0x3f260e,mutations:_0x45fecf,memberID:_0x55ef75}=_0x160ce1,_0x213f7a=_0x45fecf[0x0]['params'][_0x201f68(0x1b4)];Array[_0x201f68(0x11a)](_0x213f7a)&&_0x213f7a[_0x201f68(0x305)]>0x0&&((_0x39de38=(_0x4ae025=this[_0x201f68(0x1d2)])['onSyncEditingCollabCursor'])==null||_0x39de38[_0x201f68(0x12c)](_0x4ae025,{'unitID':_0x3f260e,'memberID':_0x55ef75,'textRanges':_0x213f7a}));}}[_0x55ff74(0x286)](){var _0x30b2b0=_0x55ff74,_0x38c100;(_0x38c100=this['_localCacheService'])==null||_0x38c100[_0x30b2b0(0x23d)](this[_0x30b2b0(0x20f)],this[_0x30b2b0(0x255)],this[_0x30b2b0(0x32e)],this[_0x30b2b0(0x290)]);}[_0x55ff74(0x267)](){var _0x51f1a0=_0x55ff74;return this[_0x51f1a0(0x3d6)][_0x51f1a0(0x172)](this['unitID']);}[_0x55ff74(0x429)](){var _0x2e4eaa=_0x55ff74;this['_revisionService'][_0x2e4eaa(0x325)](this[_0x2e4eaa(0x20f)]);}[_0x55ff74(0x2ca)](_0x1bdd83){var _0x592ace=_0x55ff74,_0x51141d;let _0x33d10c=this['_transformRemoteChangesetByIMECache'](_0x1bdd83);_0x33d10c=this[_0x592ace(0x38f)](_0x33d10c);const _0x312c51=a['sequenceExecute'](_0x33d10c[_0x592ace(0x47e)],this[_0x592ace(0x29c)],{'fromCollab':!0x0});if(!_0x312c51['result'])throw _0x312c51[_0x592ace(0x35e)]instanceof Error?_0x312c51[_0x592ace(0x35e)]:new Error((_0x51141d=_0x312c51[_0x592ace(0x35e)])!=null?_0x51141d:_0x592ace(0x130));this[_0x592ace(0x1a4)](_0x33d10c),this[_0x592ace(0x3f7)](_0x33d10c),this[_0x592ace(0x27c)](_0x1bdd83),this[_0x592ace(0x41a)](_0x33d10c),this[_0x592ace(0x36c)](_0x33d10c),this[_0x592ace(0x429)]();}}exports[_0x55ff74(0x39a)]=class extends ce{constructor(_0x3c9cf1,_0x2252ca,_0x54799e,_0x3d812d,_0xc276db,_0x22f212,_0x1082a3,_0x2eca2d,_0x43873f,_0x5bec98){var _0x296680=_0x55ff74;super(_0x3c9cf1,_0x2252ca,null,[],_0x54799e,_0x1082a3,_0x22f212,_0x3d812d,_0x5bec98),A(this,_0x296680(0x463),_0x296680(0x2f9)),(this[_0x296680(0x423)]=_0xc276db,this[_0x296680(0x24d)]=_0x2eca2d,this['_transformService']=_0x43873f,this[_0x296680(0x2e8)]=_0x5bec98);}[_0x55ff74(0x3f3)](_0x55617a){var _0x2e2c1f=_0x55ff74;const _0x38cd48=this['_injector'][_0x2e2c1f(0x380)](exports[_0x2e2c1f(0xfa)],this[_0x2e2c1f(0x20f)],this['type'],[_0x55617a],this[_0x2e2c1f(0x1d2)]);return _0x38cd48[_0x2e2c1f(0x15a)](),_0x38cd48[_0x2e2c1f(0x286)](),_0x38cd48;}[_0x55ff74(0x2ab)](_0x2a81eb){var _0x2f94c5=_0x55ff74;if(this[_0x2f94c5(0x1fd)](_0x2a81eb))return this[_0x2f94c5(0x423)][_0x2f94c5(0x380)](exports['FetchingMissState'],this[_0x2f94c5(0x20f)],this[_0x2f94c5(0x255)],null,[],null,[_0x2a81eb],this[_0x2f94c5(0x1d2)]);try{const _0xd79442=this[_0x2f94c5(0x402)][_0x2f94c5(0x1e8)](_0x2a81eb,[ui]);if(I[_0x2f94c5(0x3e3)](_0xd79442)){const {c1Prime:_0x266234}=_0xd79442;return this['_executeRemoteChangeset'](_0x266234),this;}throw _0xd79442[_0x2f94c5(0x35e)];}catch(_0x5db910){return this[_0x2f94c5(0x24d)]['error'](_0x5db910),this[_0x2f94c5(0x444)](!0x1);}}[_0x55ff74(0x444)](_0x3b84d6){var _0x21e8a6=_0x55ff74;return this[_0x21e8a6(0x423)]['createInstance'](exports[_0x21e8a6(0x1b2)],this[_0x21e8a6(0x20f)],this[_0x21e8a6(0x255)],null,[],this[_0x21e8a6(0x1d2)],_0x3b84d6);}[_0x55ff74(0x140)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x55ff74(0x2cc)](){var _0x3636e1=_0x55ff74;throw new Error(_0x3636e1(0x2d5));}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){var _0x50989a=_0x55ff74;return this['_injector'][_0x50989a(0x380)](exports[_0x50989a(0x2b0)],this[_0x50989a(0x20f)],this[_0x50989a(0x255)],null,[],this['_handler']);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x136238=_0x55ff74;throw new Error(_0x136238(0x2fc));}[_0x55ff74(0x22c)](){var _0x3db9de=_0x55ff74;const _0x24b21e=this[_0x3db9de(0x3d6)][_0x3db9de(0x172)](this[_0x3db9de(0x20f)]);return this[_0x3db9de(0x1d2)][_0x3db9de(0x453)]({'from':_0x24b21e,'to':0x0}),this[_0x3db9de(0x423)][_0x3db9de(0x380)](exports[_0x3db9de(0x437)],this[_0x3db9de(0x20f)],this['type'],null,[],null,[],this[_0x3db9de(0x1d2)]);}},exports[_0x55ff74(0x39a)]=ae([w(0x3,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x4,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x5,a[_0x55ff74(0x2fb)]),w(0x6,a[_0x55ff74(0x393)]),w(0x7,a[_0x55ff74(0x469)]),w(0x8,I[_0x55ff74(0x1fc)]),w(0x9,a['Optional'](q))],exports[_0x55ff74(0x39a)]),exports['PendingState']=class extends ce{constructor(_0x25ebbe,_0x3ae23d,_0x520556,_0x314616,_0x601dec,_0x9c277c,_0x4a978c,_0x1b61c2,_0x77d0b2,_0x40c4c3,_0x32dd09,_0x478c7a,_0x5df200,_0x1c39ba){var _0x37928b=_0x55ff74;super(_0x25ebbe,_0x3ae23d,null,_0x520556,_0x314616,_0x77d0b2,_0x5df200,_0x9c277c,_0x1c39ba),A(this,_0x37928b(0x463),_0x37928b(0x10a)),A(this,_0x37928b(0xfc),null),A(this,_0x37928b(0x1c4),null),(this[_0x37928b(0x423)]=_0x601dec,this['_memberService']=_0x4a978c,this[_0x37928b(0x24d)]=_0x1b61c2,this[_0x37928b(0x26e)]=_0x40c4c3,this[_0x37928b(0x402)]=_0x32dd09,this[_0x37928b(0x449)]=_0x478c7a);}['appendMutation'](_0x2d9079){var _0x50c61d=_0x55ff74;return this['_pendingMutations']['push'](_0x2d9079),this[_0x50c61d(0x286)](),this;}[_0x55ff74(0x2ab)](_0x28684e){var _0x38e161=_0x55ff74;if(this[_0x38e161(0x1fd)](_0x28684e))return this['_clearScheduledTask'](),this['_injector'][_0x38e161(0x380)](exports[_0x38e161(0x437)],this['unitID'],this['type'],null,this[_0x38e161(0x290)],null,[_0x28684e],this[_0x38e161(0x1d2)]);try{const _0x426198=this[_0x38e161(0x402)][_0x38e161(0x1e8)](_0x28684e,this[_0x38e161(0x290)]);if(I[_0x38e161(0x3e3)](_0x426198)){const {c1Prime:_0x430210,m2Prime:_0x48e679}=_0x426198;this[_0x38e161(0x2ca)](_0x430210);const _0x22df45=this[_0x38e161(0x423)][_0x38e161(0x380)](exports[_0x38e161(0xfa)],this[_0x38e161(0x20f)],this[_0x38e161(0x255)],_0x48e679,this[_0x38e161(0x1d2)]);this[_0x38e161(0x2e5)]();const _0x33f1d4=new Date()[_0x38e161(0x417)](),_0x19df10=this[_0x38e161(0xfc)]?Math['max'](this[_0x38e161(0xfc)]-_0x33f1d4,0x0):this[_0x38e161(0x2c5)]();return _0x22df45[_0x38e161(0x15a)](_0x19df10),_0x22df45;}throw _0x426198[_0x38e161(0x35e)];}catch(_0x4b75a2){return this[_0x38e161(0x24d)][_0x38e161(0x35e)](_0x4b75a2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x4c2866=_0x55ff74;throw new Error(_0x4c2866(0x2eb));}[_0x55ff74(0x2cc)](){var _0xba6906=_0x55ff74;throw new Error(_0xba6906(0x2cf));}[_0x55ff74(0x303)](){return this;}[_0x55ff74(0x448)](){var _0x32ed3d=_0x55ff74;return this[_0x32ed3d(0x2e5)](),this[_0x32ed3d(0x423)][_0x32ed3d(0x380)](exports['OfflineState'],this['unitID'],this[_0x32ed3d(0x255)],null,this[_0x32ed3d(0x290)],this[_0x32ed3d(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}['_schedule'](_0x596513){var _0x18a331=_0x55ff74;const _0x1d90dc=_0x596513!=null?_0x596513:this['_getSendChangesetTimeout']();this[_0x18a331(0xfc)]=new Date()[_0x18a331(0x417)]()+_0x1d90dc,this[_0x18a331(0x1c4)]=setTimeout(()=>{var _0x21a0e5=_0x18a331;this[_0x21a0e5(0x2e5)]();let _0x4161d9=null;switch(this['type']){case J[_0x21a0e5(0x209)]:{_0x4161d9=Ke(this[_0x21a0e5(0x290)],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x449)],this[_0x21a0e5(0x3d6)],this[_0x21a0e5(0x134)]);break;}case J['UNIVER_DOC']:{this[_0x21a0e5(0x290)]['every'](_0xca6667=>_0xca6667['id']===ht[_0x21a0e5(0x30d)]['id'])?_0x4161d9=li(this[_0x21a0e5(0x290)],this[_0x21a0e5(0x20f)],this['_univerInstanceService'],this[_0x21a0e5(0x3d6)],this['_memberService']):_0x4161d9=Ke(this['_pendingMutations'],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x449)],this['_revisionService'],this[_0x21a0e5(0x134)]);break;}default:throw new Error(_0x21a0e5(0x296)+this['type']+_0x21a0e5(0x16f));}const {changeset:_0x51ff54,pendingMutations:_0x131ad4}=_0x4161d9;this[_0x21a0e5(0x1d2)]['onSendChangeset'](_0x51ff54);const _0x13099f=_0x131ad4['length']?this[_0x21a0e5(0x423)][_0x21a0e5(0x380)](exports[_0x21a0e5(0x202)],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x255)],_0x51ff54,_0x131ad4,this['_handler'],void 0x0):this[_0x21a0e5(0x423)]['createInstance'](exports['AwaitingState'],this['unitID'],this['type'],_0x51ff54,this['_handler']);_0x13099f[_0x21a0e5(0x286)](),this[_0x21a0e5(0x1d2)][_0x21a0e5(0x1d0)](this,_0x13099f);},_0x1d90dc);}[_0x55ff74(0x2c5)](){var _0x1f4fe5=_0x55ff74,_0x411096;const _0x138b60=this[_0x1f4fe5(0x26e)][_0x1f4fe5(0x388)](K);return(_0x411096=_0x138b60==null?void 0x0:_0x138b60[_0x1f4fe5(0x3da)])!=null?_0x411096:xt;}['resend'](){var _0x26e41b=_0x55ff74;throw new Error(_0x26e41b(0x347));}[_0x55ff74(0x2e5)](){var _0x384e1c=_0x55ff74;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x384e1c(0x1c4)]=null);}[_0x55ff74(0x444)](_0x47dd65){var _0x437ec5=_0x55ff74;return this[_0x437ec5(0x2e5)](),this[_0x437ec5(0x423)][_0x437ec5(0x380)](exports['ConflictState'],this[_0x437ec5(0x20f)],this['type'],null,this[_0x437ec5(0x290)],this[_0x437ec5(0x1d2)],_0x47dd65);}},exports[_0x55ff74(0xfa)]=ae([w(0x4,a[_0x55ff74(0x221)](a['Injector'])),w(0x5,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x6,a['Inject'](exports[_0x55ff74(0x148)])),w(0x7,a['ILogService']),w(0x8,a[_0x55ff74(0x393)]),w(0x9,a['IConfigService']),w(0xa,I[_0x55ff74(0x1fc)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x55ff74(0x2fb)]),w(0xd,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0xfa)]),exports[_0x55ff74(0x256)]=class extends ce{constructor(_0x2c4fb0,_0x2ac6d1,_0x412eb6,_0x5b5aa6,_0x15c448,_0x9bfbee,_0xc5ca7d,_0x18b164,_0x3c491c,_0x1e91b5,_0x573dc6){var _0x40324b=_0x55ff74;super(_0x2c4fb0,_0x2ac6d1,_0x412eb6,[],_0x5b5aa6,_0xc5ca7d,_0x1e91b5,_0x9bfbee,_0x573dc6),A(this,_0x40324b(0x463),_0x40324b(0x1d9)),A(this,_0x40324b(0x157),0x0),A(this,_0x40324b(0x3db)),A(this,'_sender'),(this['_injector']=_0x15c448,this[_0x40324b(0x24d)]=_0x18b164,this['_transformService']=_0x3c491c);}[_0x55ff74(0x3f3)](_0x57ff55){var _0x186264=_0x55ff74;this[_0x186264(0x2e5)]();const _0x487108=this['_injector'][_0x186264(0x380)](exports[_0x186264(0x202)],this[_0x186264(0x20f)],this['type'],this[_0x186264(0x32e)],[_0x57ff55],this['_handler'],this[_0x186264(0x3db)]);return _0x487108[_0x186264(0x286)](),_0x487108;}[_0x55ff74(0x2ab)](_0x54903a){var _0x34c166=_0x55ff74;if(this[_0x34c166(0x1fd)](_0x54903a))return this[_0x34c166(0x2e5)](),this['_injector']['createInstance'](exports[_0x34c166(0x437)],this[_0x34c166(0x20f)],this[_0x34c166(0x255)],this[_0x34c166(0x32e)],[],null,[_0x54903a],this[_0x34c166(0x1d2)]);try{const _0x3dc27d=this['_transformService'][_0x34c166(0x378)]([_0x54903a],[this[_0x34c166(0x32e)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x3dc27d)){const {c1Prime:_0x4c4cf2,c2Prime:_0x34510b}=_0x3dc27d;this[_0x34c166(0x2ca)](_0x4c4cf2[0x0]),_0x34510b[0x0][_0x34c166(0x3c7)]=this[_0x34c166(0x267)](),this[_0x34c166(0x2e5)]();const _0x529c48=this[_0x34c166(0x423)][_0x34c166(0x380)](exports['AwaitingState'],this[_0x34c166(0x20f)],this[_0x34c166(0x255)],_0x34510b[0x0],this[_0x34c166(0x1d2)]);return _0x529c48['_updateLocalCache'](),_0x529c48;}return this[_0x34c166(0x444)](!0x1);}catch(_0x416fbb){return this[_0x34c166(0x24d)][_0x34c166(0x35e)](_0x416fbb),this[_0x34c166(0x444)](!0x1);}}[_0x55ff74(0x140)](_0x13cac1){var _0x327e2d=_0x55ff74;this[_0x327e2d(0x2e5)]();const _0x3d3001=this['_revisionService'][_0x327e2d(0x172)](this[_0x327e2d(0x20f)]);if(_0x13cac1[_0x327e2d(0x29f)]<_0x3d3001-0x1)return this;if(this[_0x327e2d(0x1fd)](_0x13cac1))return this[_0x327e2d(0x423)][_0x327e2d(0x380)](exports['FetchingMissState'],this[_0x327e2d(0x20f)],this[_0x327e2d(0x255)],null,[],this[_0x327e2d(0x32e)],[],this['_handler']);this[_0x327e2d(0x429)]();const _0x475458=this['_injector'][_0x327e2d(0x380)](exports[_0x327e2d(0x39a)],this['unitID'],this[_0x327e2d(0x255)],this[_0x327e2d(0x1d2)]);return _0x475458[_0x327e2d(0x286)](),_0x475458;}[_0x55ff74(0x2cc)](_0x445b35){var _0x230aa1=_0x55ff74;return this[_0x230aa1(0x444)](!!(_0x445b35!=null&&_0x445b35[_0x230aa1(0x1ed)]));}['onRemoteRetry'](_0x3e926d){var _0x16d4a8=_0x55ff74;return this[_0x16d4a8(0x157)]>Rt?this[_0x16d4a8(0x448)]():(this['_resendTimer']=bt(this[_0x16d4a8(0x157)],{'timeout':this[_0x16d4a8(0x157)],'reqId':_0x3e926d['reqId']}),this['_sender']=this[_0x16d4a8(0x3db)][_0x16d4a8(0x259)](({reqId:_0x322d81,timeout:_0x2ac45d})=>{var _0x3d5511=_0x16d4a8;this[_0x3d5511(0x47c)](_0x322d81,_0x2ac45d);}),this);}['toggleOffline'](){var _0x16ebbc=_0x55ff74;return this[_0x16ebbc(0x2e5)](),this[_0x16ebbc(0x423)][_0x16ebbc(0x380)](exports[_0x16ebbc(0x2b0)],this[_0x16ebbc(0x20f)],this[_0x16ebbc(0x255)],this[_0x16ebbc(0x32e)],[],this[_0x16ebbc(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x4d128a=_0x55ff74;this[_0x4d128a(0x1d2)]['onSendChangeset'](this[_0x4d128a(0x32e)]);}[_0x55ff74(0x444)](_0x5c644e){var _0x3cb08d=_0x55ff74;return this['_clearScheduledTask'](),this[_0x3cb08d(0x423)][_0x3cb08d(0x380)](exports[_0x3cb08d(0x1b2)],this[_0x3cb08d(0x20f)],this[_0x3cb08d(0x255)],this[_0x3cb08d(0x32e)],[],this[_0x3cb08d(0x1d2)],_0x5c644e);}[_0x55ff74(0x47c)](_0x463b1c,_0x21b6e3){var _0x275baf=_0x55ff74,_0x130e82;_0x463b1c===((_0x130e82=this[_0x275baf(0x32e)])==null?void 0x0:_0x130e82[_0x275baf(0x1ae)])&&(this[_0x275baf(0x1dc)](),this['_resendTimeout']=_0x21b6e3===0x0?0x3e8:_0x21b6e3*0x2);}[_0x55ff74(0x2e5)](){var _0x11934a=_0x55ff74,_0xced343;(_0xced343=this[_0x11934a(0x201)])==null||_0xced343[_0x11934a(0x3b7)](),this[_0x11934a(0x157)]=0x0;}},exports['AwaitingState']=ae([w(0x4,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x5,a[_0x55ff74(0x221)](I['RevisionService'])),w(0x6,a[_0x55ff74(0x393)]),w(0x7,a['ILogService']),w(0x8,I[_0x55ff74(0x1fc)]),w(0x9,a[_0x55ff74(0x2fb)]),w(0xa,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x256)]),exports[_0x55ff74(0x202)]=class extends ce{constructor(_0x3daadf,_0x2e7cff,_0x1603f8,_0x39080a,_0x8ada34,_0x285170,_0x280f84,_0x5706df,_0xfccd29,_0x5139ca,_0x3f507e,_0x5c7ed9,_0x199da2){var _0x21357c=_0x55ff74;super(_0x3daadf,_0x2e7cff,_0x1603f8,_0x39080a,_0x8ada34,_0xfccd29,_0x5c7ed9,_0x5706df,_0x199da2),A(this,_0x21357c(0x463),_0x21357c(0x442)),A(this,_0x21357c(0x157),0x0),A(this,_0x21357c(0x3db)),A(this,_0x21357c(0x201)),(this[_0x21357c(0x423)]=_0x280f84,this[_0x21357c(0x24d)]=_0x5139ca,this[_0x21357c(0x402)]=_0x3f507e,this[_0x21357c(0x2e8)]=_0x199da2,_0x285170&&(this['_resendTimer']=_0x285170,this[_0x21357c(0x201)]=this['_resendTimer'][_0x21357c(0x259)](({reqId:_0x243dbe,timeout:_0x40a7f0})=>{var _0x11ec78=_0x21357c;this[_0x11ec78(0x47c)](_0x243dbe,_0x40a7f0);})));}['appendMutation'](_0x437d6e){var _0x765c1a=_0x55ff74;return this['_pendingMutations'][_0x765c1a(0x395)](_0x437d6e),this;}[_0x55ff74(0x2ab)](_0x2da76c){var _0x38c946=_0x55ff74;if(this[_0x38c946(0x1fd)](_0x2da76c))return this[_0x38c946(0x2e5)](),this[_0x38c946(0x423)][_0x38c946(0x380)](exports[_0x38c946(0x437)],this[_0x38c946(0x20f)],this[_0x38c946(0x255)],this['_awaitingChangeset'],this[_0x38c946(0x290)],null,[_0x2da76c],this[_0x38c946(0x1d2)]);try{const _0x3ac0ef=this[_0x38c946(0x402)][_0x38c946(0x378)]([_0x2da76c],[this[_0x38c946(0x32e)]],!0x1);if(I[_0x38c946(0x26f)](_0x3ac0ef)){const {c1Prime:_0xcd64b8,c2Prime:_0x1854f9}=_0x3ac0ef,_0x284320=this['_transformService'][_0x38c946(0x1e8)](_0xcd64b8[0x0],this[_0x38c946(0x290)]);if(I[_0x38c946(0x3e3)](_0x284320)){const {c1Prime:_0x15a096,m2Prime:_0x551e4a}=_0x284320;return this[_0x38c946(0x2ca)](_0x15a096),_0x1854f9[0x0][_0x38c946(0x3c7)]=this[_0x38c946(0x267)](),this[_0x38c946(0x2e5)](),this[_0x38c946(0x423)][_0x38c946(0x380)](exports[_0x38c946(0x202)],this['unitID'],this[_0x38c946(0x255)],_0x1854f9[0x0],_0x551e4a,this[_0x38c946(0x1d2)],void 0x0);}throw _0x284320[_0x38c946(0x35e)];}throw _0x3ac0ef[_0x38c946(0x35e)];}catch(_0x766f80){return this[_0x38c946(0x24d)][_0x38c946(0x35e)](_0x766f80),this[_0x38c946(0x444)](!0x1);}}['onRemoteAck'](_0x1a0d7d){var _0x26a0f0=_0x55ff74;if(this[_0x26a0f0(0x2e5)](),this[_0x26a0f0(0x1fd)](_0x1a0d7d))return this[_0x26a0f0(0x423)][_0x26a0f0(0x380)](exports[_0x26a0f0(0x437)],this[_0x26a0f0(0x20f)],this[_0x26a0f0(0x255)],null,this[_0x26a0f0(0x290)],this[_0x26a0f0(0x32e)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x940e88=this['_injector'][_0x26a0f0(0x380)](exports[_0x26a0f0(0xfa)],this['unitID'],this['type'],this['_pendingMutations'],this[_0x26a0f0(0x1d2)]);return _0x940e88['_schedule'](),_0x940e88[_0x26a0f0(0x286)](),_0x940e88;}['onRemoteRej'](_0x299386){return this['_onConflict'](!!(_0x299386!=null&&_0x299386['isPermissionRej']));}[_0x55ff74(0x303)](_0x5ade51){var _0x3fd7e3=_0x55ff74;return this['_resendTimeout']>Rt?this[_0x3fd7e3(0x448)]():(this[_0x3fd7e3(0x3db)]=bt(this['_resendTimeout'],{'timeout':this[_0x3fd7e3(0x157)],'reqId':_0x5ade51[_0x3fd7e3(0x1ae)]}),this[_0x3fd7e3(0x201)]=this['_resendTimer'][_0x3fd7e3(0x259)](({reqId:_0xfcb0a,timeout:_0x2dcaca})=>{var _0x1a373a=_0x3fd7e3;this[_0x1a373a(0x47c)](_0xfcb0a,_0x2dcaca);}),this);}[_0x55ff74(0x448)](){var _0x259183=_0x55ff74;return this[_0x259183(0x2e5)](),this[_0x259183(0x423)][_0x259183(0x380)](exports[_0x259183(0x2b0)],this[_0x259183(0x20f)],this[_0x259183(0x255)],this[_0x259183(0x32e)],this[_0x259183(0x290)],this[_0x259183(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}['resend'](){var _0x33f2c1=_0x55ff74;this[_0x33f2c1(0x1d2)][_0x33f2c1(0x242)](this['_awaitingChangeset']);}[_0x55ff74(0x444)](_0x4f0bd3){var _0x427652=_0x55ff74;return this[_0x427652(0x2e5)](),this['_injector']['createInstance'](exports[_0x427652(0x1b2)],this[_0x427652(0x20f)],this[_0x427652(0x255)],null,this['_pendingMutations'],this[_0x427652(0x1d2)],_0x4f0bd3);}[_0x55ff74(0x47c)](_0x4b2117,_0x59f4a3){var _0x49cd4f=_0x55ff74,_0x3fde18;_0x4b2117===((_0x3fde18=this[_0x49cd4f(0x32e)])==null?void 0x0:_0x3fde18[_0x49cd4f(0x1ae)])&&(this[_0x49cd4f(0x1dc)](),this['_resendTimeout']=_0x59f4a3===0x0?0x3e8:_0x59f4a3*0x2);}[_0x55ff74(0x2e5)](){var _0x583d13=_0x55ff74,_0x43fb77;(_0x43fb77=this['_sender'])==null||_0x43fb77[_0x583d13(0x3b7)](),this[_0x583d13(0x157)]=0x0;}},exports[_0x55ff74(0x202)]=ae([w(0x6,a['Inject'](a[_0x55ff74(0x19b)])),w(0x7,a[_0x55ff74(0x221)](I['RevisionService'])),w(0x8,a[_0x55ff74(0x393)]),w(0x9,a[_0x55ff74(0x469)]),w(0xa,I[_0x55ff74(0x1fc)]),w(0xb,a[_0x55ff74(0x2fb)]),w(0xc,a[_0x55ff74(0x299)](q))],exports['AwaitingWithPendingState']),exports[_0x55ff74(0x1b2)]=class extends ce{constructor(_0x58408c,_0x178cd6,_0x58f799,_0x463893,_0x644318,_0x4c87fb=!0x1,_0x21449b,_0x1207d7,_0x254ede,_0x357924,_0x37e015,_0x931e03,_0x15bae0){var _0x371cbb=_0x55ff74;super(_0x58408c,_0x178cd6,_0x58f799,_0x463893,_0x644318,_0x1207d7,_0x254ede,_0x357924,_0x15bae0),A(this,'status',_0x371cbb(0x21a)),(this[_0x371cbb(0x1d4)]=_0x4c87fb,this[_0x371cbb(0x178)]=_0x21449b,this[_0x371cbb(0x285)]=_0x37e015,this[_0x371cbb(0x170)]=_0x931e03,this[_0x371cbb(0x2e8)]=_0x15bae0,this[_0x371cbb(0x379)](),this[_0x371cbb(0x275)](),this[_0x371cbb(0x1be)]());}[_0x55ff74(0x3f3)](){return this;}[_0x55ff74(0x2ab)](){return this;}[_0x55ff74(0x140)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){return this;}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x6581ae=_0x55ff74;throw new Error(_0x6581ae(0x33f));}[_0x55ff74(0x275)](){var _0x309bda=_0x55ff74,_0x53232d;(_0x53232d=this[_0x309bda(0x1ec)])==null||_0x53232d[_0x309bda(0x23d)](this[_0x309bda(0x20f)],this['type'],null,[]);}[_0x55ff74(0x379)](){var _0x496736=_0x55ff74;this[_0x496736(0x1d4)]?this[_0x496736(0x170)]['emitEvent']({'id':Z['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x496736(0x25d)]({'id':Z[_0x496736(0x147)]});}[_0x55ff74(0x1be)](){var _0x3a840c=_0x55ff74;this[_0x3a840c(0x178)][_0x3a840c(0x251)](new X[(_0x3a840c(0x460))](this[_0x3a840c(0x20f)])['id'],!0x1);}},exports[_0x55ff74(0x1b2)]=ae([w(0x6,a[_0x55ff74(0x221)](a[_0x55ff74(0x3fd)])),w(0x7,a[_0x55ff74(0x393)]),w(0x8,a[_0x55ff74(0x2fb)]),w(0x9,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0xa,a['Inject'](a[_0x55ff74(0x164)])),w(0xb,a[_0x55ff74(0x221)](ee)),w(0xc,a['Optional'](q))],exports['ConflictState']),exports[_0x55ff74(0x2b0)]=class extends ce{constructor(_0x23b5c,_0x1ddbff,_0x189b13,_0x4f31cf,_0x11df04,_0x3f9c89,_0x1d7efa,_0x1c95b0,_0x245315,_0x5827c1){var _0x428a28=_0x55ff74;super(_0x23b5c,_0x1ddbff,_0x189b13,_0x4f31cf,_0x11df04,_0x1c95b0,_0x245315,_0x1d7efa,_0x5827c1),A(this,_0x428a28(0x463),_0x428a28(0x390)),this['_injector']=_0x3f9c89;}[_0x55ff74(0x3f3)](_0x10f0db){var _0x47d9b8=_0x55ff74;return this[_0x47d9b8(0x290)][_0x47d9b8(0x395)](_0x10f0db),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2b39e8){var _0x14dae0=_0x55ff74;throw new Error(_0x14dae0(0x113));}[_0x55ff74(0x140)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x55ff74(0x2cc)](){var _0x512b63=_0x55ff74;throw new Error(_0x512b63(0x1ba));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x55ff74(0x15d)](){var _0x2d9f10=_0x55ff74;const {_injector:_0x34fb67,_pendingMutations:_0x3b9544,_awaitingChangeset:_0x6353dc,unitID:_0x49c54c,_handler:_0x576966,type:_0xa95ee8}=this,_0x1d05e4=Ot(_0x34fb67,_0x49c54c,_0xa95ee8,_0x6353dc,_0x3b9544,_0x576966);return _0x1d05e4 instanceof exports['PendingState']?_0x1d05e4[_0x2d9f10(0x15a)]():(_0x1d05e4 instanceof exports[_0x2d9f10(0x202)]||_0x1d05e4 instanceof exports['AwaitingState'])&&_0x1d05e4[_0x2d9f10(0x1dc)](),_0x1d05e4;}['resend'](){var _0x4cbba8=_0x55ff74;throw new Error(_0x4cbba8(0x36b));}},exports['OfflineState']=ae([w(0x5,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x7,a[_0x55ff74(0x393)]),w(0x8,a[_0x55ff74(0x2fb)]),w(0x9,a['Optional'](q))],exports[_0x55ff74(0x2b0)]),exports[_0x55ff74(0x437)]=class extends ce{constructor(_0x2d3a20,_0x2e0a46,_0x65d155,_0x5324df,_0x83cd33,_0x18b9eb,_0x69cae8,_0x14026c,_0x168f2d,_0x15cbea,_0x36e053,_0x5de276,_0x2dac05,_0x257f2f){var _0x7882fd=_0x55ff74;super(_0x2d3a20,_0x2e0a46,_0x65d155,_0x5324df,_0x69cae8,_0x36e053,_0x5de276,_0x168f2d,_0x257f2f),A(this,'status',_0x7882fd(0x37d)),(this[_0x7882fd(0x339)]=_0x83cd33,this[_0x7882fd(0x2ef)]=_0x18b9eb,this[_0x7882fd(0x423)]=_0x14026c,this[_0x7882fd(0x24d)]=_0x15cbea,this[_0x7882fd(0x402)]=_0x2dac05,this[_0x7882fd(0x2e8)]=_0x257f2f);}[_0x55ff74(0x349)](_0x4a7238){var _0x1d996d=_0x55ff74;try{const _0x4d251b=[..._0x4a7238,...this[_0x1d996d(0x2ef)]],_0x51e016=[this[_0x1d996d(0x32e)]||this[_0x1d996d(0x339)]][_0x1d996d(0x187)](_0x55ccc3=>!!_0x55ccc3);let _0x56ef6f,_0x59c291;if(_0x51e016[_0x1d996d(0x305)]){const _0x360f2b=this['_transformService']['transformChangesets'](_0x4d251b,_0x51e016,!0x1);if(!I[_0x1d996d(0x26f)](_0x360f2b))throw _0x360f2b[_0x1d996d(0x35e)];_0x56ef6f=_0x360f2b[_0x1d996d(0x44f)],_0x59c291=_0x360f2b[_0x1d996d(0x141)];}else _0x56ef6f=_0x4d251b,_0x59c291=[];let _0x52c3fc=this[_0x1d996d(0x290)];_0x56ef6f[_0x1d996d(0x41f)](_0xfd8026=>{var _0x431fdc=_0x1d996d;let _0x4dc276;if(_0x52c3fc[_0x431fdc(0x305)]){const _0x2b1734=this[_0x431fdc(0x402)][_0x431fdc(0x1e8)](_0xfd8026,_0x52c3fc);if(!I['isTransformMutationsWithChangesetSuccess'](_0x2b1734))throw _0x2b1734[_0x431fdc(0x35e)];_0x4dc276=_0x2b1734[_0x431fdc(0x44f)],_0x52c3fc=_0x2b1734['m2Prime'];}else _0x4dc276=_0xfd8026;this['_executeRemoteChangeset'](_0x4dc276);}),this[_0x1d996d(0x339)]&&this[_0x1d996d(0x429)](),this['_awaitingChangeset']&&_0x59c291[_0x1d996d(0x305)]&&(_0x59c291[0x0][_0x1d996d(0x3c7)]=this[_0x1d996d(0x267)]());let _0x13b803;if(this['_awaitingChangeset']&&_0x52c3fc[_0x1d996d(0x305)]!==0x0)_0x13b803=this[_0x1d996d(0x423)][_0x1d996d(0x380)](exports[_0x1d996d(0x202)],this['unitID'],this[_0x1d996d(0x255)],_0x59c291[0x0],_0x52c3fc,this[_0x1d996d(0x1d2)],void 0x0);else{if(this[_0x1d996d(0x32e)]&&_0x52c3fc[_0x1d996d(0x305)]===0x0)_0x59c291[0x0]['baseRev']=this['_getCurrentRevision'](),_0x13b803=this[_0x1d996d(0x423)][_0x1d996d(0x380)](exports[_0x1d996d(0x256)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],_0x59c291[0x0],this[_0x1d996d(0x1d2)]);else{if(_0x52c3fc[_0x1d996d(0x305)]!==0x0){const _0x1f17ed=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x1d996d(0x255)],_0x52c3fc,this['_handler']);_0x1f17ed[_0x1d996d(0x15a)](),_0x13b803=_0x1f17ed;}else _0x13b803=this[_0x1d996d(0x423)]['createInstance'](exports[_0x1d996d(0x39a)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],this['_handler']);}}return _0x13b803[_0x1d996d(0x286)](),_0x13b803;}catch(_0x100d60){return this[_0x1d996d(0x24d)]['error'](_0x1d996d(0x127),_0x1d996d(0x348),_0x100d60),this['_injector'][_0x1d996d(0x380)](exports[_0x1d996d(0x1b2)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],this[_0x1d996d(0x32e)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x55ff74(0x1dc)](){var _0x3834ad=_0x55ff74;throw new Error(_0x3834ad(0x1a9));}[_0x55ff74(0x3f3)](_0x1d8ea8){var _0x28ef4e=_0x55ff74;return this[_0x28ef4e(0x290)][_0x28ef4e(0x395)](_0x1d8ea8),this;}[_0x55ff74(0x2ab)](_0x3a8df2){var _0xb4b779=_0x55ff74;return this[_0xb4b779(0x2ef)][_0xb4b779(0x395)](_0x3a8df2),this;}[_0x55ff74(0x140)](_0x580aec){var _0x2a6956=_0x55ff74;if(this[_0x2a6956(0x32e)])return this[_0x2a6956(0x339)]=this[_0x2a6956(0x32e)],this[_0x2a6956(0x32e)]=null,this;throw new Error(_0x2a6956(0x3a0));}['onRemoteRej'](_0x3e4587){var _0x43aae3=_0x55ff74;return this[_0x43aae3(0x444)](!!(_0x3e4587!=null&&_0x3e4587[_0x43aae3(0x1ed)]));}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){var _0x73459b=_0x55ff74;return this[_0x73459b(0x423)]['createInstance'](exports['OfflineState'],this[_0x73459b(0x20f)],this[_0x73459b(0x255)],this['_awaitingChangeset'],this[_0x73459b(0x290)],this[_0x73459b(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x444)](_0x4597d7){var _0x312944=_0x55ff74;return this[_0x312944(0x423)]['createInstance'](exports['ConflictState'],this[_0x312944(0x20f)],this['type'],this[_0x312944(0x32e)],this[_0x312944(0x290)],this[_0x312944(0x1d2)],_0x4597d7);}},exports[_0x55ff74(0x437)]=ae([w(0x7,a['Inject'](a[_0x55ff74(0x19b)])),w(0x8,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x9,a[_0x55ff74(0x469)]),w(0xa,a[_0x55ff74(0x393)]),w(0xb,a[_0x55ff74(0x2fb)]),w(0xc,I[_0x55ff74(0x1fc)]),w(0xd,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x437)]);function Ot(_0x484abe,_0x51024b,_0x3f29ef,_0x55b1df,_0x2565c7,_0x34a15e){var _0x47bc53=_0x55ff74;return _0x55b1df&&_0x2565c7[_0x47bc53(0x305)]?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0x202)],_0x51024b,_0x3f29ef,_0x55b1df,_0x2565c7,_0x34a15e,void 0x0):_0x55b1df?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0x256)],_0x51024b,_0x3f29ef,_0x55b1df,_0x34a15e):_0x2565c7[_0x47bc53(0x305)]?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0xfa)],_0x51024b,_0x3f29ef,_0x2565c7,_0x34a15e):_0x484abe['createInstance'](exports[_0x47bc53(0x39a)],_0x51024b,_0x3f29ef,_0x34a15e);}var vi=Object[_0x55ff74(0x224)],Fe=(_0x3acb1a,_0x39674b,_0x166edf,_0x31ad87)=>{var _0x7a42e8=_0x55ff74;for(var _0x3c7c2f=_0x31ad87>0x1?void 0x0:_0x31ad87?vi(_0x39674b,_0x166edf):_0x39674b,_0x5b7f2e=_0x3acb1a[_0x7a42e8(0x305)]-0x1,_0xc49b19;_0x5b7f2e>=0x0;_0x5b7f2e--)(_0xc49b19=_0x3acb1a[_0x5b7f2e])&&(_0x3c7c2f=_0xc49b19(_0x3c7c2f)||_0x3c7c2f);return _0x3c7c2f;},j=(_0x231a85,_0x5e3b9c)=>(_0x34c60a,_0x58adc0)=>_0x5e3b9c(_0x34c60a,_0x58adc0,_0x231a85);exports['CollaborationEntity']=class extends a[_0x55ff74(0x139)]{constructor(_0x374cd7,_0x1e934d,_0xf43d7,_0xcdac3e,_0x211f6d,_0x108bc1,_0x8285bb,_0x1c4b84,_0x1b8e79,_0x2f2451,_0x1e244d,_0x3c308d,_0x539ec9){var _0x3799ac=_0x55ff74;super(),A(this,_0x3799ac(0x2ec),new $[(_0x3799ac(0x265))](null)),A(this,_0x3799ac(0x176),this['_state$'][_0x3799ac(0x37f)]()),A(this,_0x3799ac(0x123)),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x3799ac(0x311),this[_0x3799ac(0x176)][_0x3799ac(0x33c)]($[_0x3799ac(0x40e)](_0xedf5d1=>_0xedf5d1?_0xedf5d1['status']:Be['OFFLINE']),$[_0x3799ac(0x46e)](0x1))),A(this,_0x3799ac(0x29e),!0x1),A(this,_0x3799ac(0x43f),[]),(this[_0x3799ac(0x20f)]=_0x374cd7,this[_0x3799ac(0x31d)]=_0x1e934d,this['_type']=_0xf43d7,this[_0x3799ac(0x423)]=_0xcdac3e,this[_0x3799ac(0x179)]=_0x211f6d,this[_0x3799ac(0x285)]=_0x108bc1,this[_0x3799ac(0x3d6)]=_0x8285bb,this[_0x3799ac(0x400)]=_0x1c4b84,this[_0x3799ac(0x24d)]=_0x1b8e79,this[_0x3799ac(0x29c)]=_0x2f2451,this[_0x3799ac(0x178)]=_0x1e244d,this['_singleActiveUnitService']=_0x3c308d,this['_localCacheService']=_0x539ec9);}get[_0x55ff74(0x3f2)](){return this['_state'];}async[_0x55ff74(0x17f)](){var _0x4bbd84=_0x55ff74;if(this[_0x4bbd84(0x3f2)])throw new Error(_0x4bbd84(0x101));await this[_0x4bbd84(0x223)]();}[_0x55ff74(0x1fe)](){var _0x5ce8c9=_0x55ff74;return this[_0x5ce8c9(0x2e9)]=!0x0,a[_0x5ce8c9(0x287)](()=>{var _0x225d7f=_0x5ce8c9;this['_collaborationPaused']=!0x1,this[_0x225d7f(0x1b0)]();});}[_0x55ff74(0x38a)](_0x4deca7){var _0xe01296=_0x55ff74;this[_0xe01296(0x183)](_0x4deca7);}[_0x55ff74(0x200)](_0x594645){var _0x52b542=_0x55ff74;this['_state']=_0x594645,this[_0x52b542(0x2ec)]['next'](_0x594645);}async[_0x55ff74(0x223)](){var _0x19f417=_0x55ff74,_0xf469dc;this['_updateState'](await this[_0x19f417(0x3ab)]()),this[_0x19f417(0x35b)]&&((_0xf469dc=this['_singleActiveUnitService'])==null||_0xf469dc[_0x19f417(0x375)](this[_0x19f417(0x20f)]),this['disposeWithMe'](this[_0x19f417(0x35b)]['getUnitStatus$'](this[_0x19f417(0x20f)])[_0x19f417(0x259)](_0x1fcd96=>{var _0x189f60=_0x19f417;this[_0x189f60(0x24d)][_0x189f60(0x2f8)](_0x189f60(0x25a),_0x189f60(0x121),_0x1fcd96),_0x1fcd96===je[_0x189f60(0x327)]?(this[_0x189f60(0x400)][_0x189f60(0x25d)]({'id':Z[_0x189f60(0x1d1)]}),this[_0x189f60(0x178)][_0x189f60(0x251)](new X[(_0x189f60(0x460))](this[_0x189f60(0x20f)])['id'],!0x1),this[_0x189f60(0x178)]['setShowComponents'](!0x1)):(this[_0x189f60(0x178)][_0x189f60(0x251)](new X[(_0x189f60(0x460))](this[_0x189f60(0x20f)])['id'],!0x0),this[_0x189f60(0x178)][_0x189f60(0x42d)](!0x0));})));let _0xbf9964=!0x1;return this['disposeWithMe'](this[_0x19f417(0x31d)][_0x19f417(0x326)][_0x19f417(0x259)](_0x176a67=>{var _0x11eacf=_0x19f417;_0x176a67===re[_0x11eacf(0x115)]?this[_0x11eacf(0x40f)](_0xbf9964):_0x176a67===re[_0x11eacf(0x3d0)]&&(_0xbf9964=!0x0,this['_toggleOffline']());})),this[_0x19f417(0x2a4)](this['session'][_0x19f417(0x1f9)][_0x19f417(0x259)](_0x16a26f=>{var _0x441aa4=_0x19f417;try{switch(_0x16a26f[_0x441aa4(0x46c)]){case I[_0x441aa4(0x208)][_0x441aa4(0x279)]:{this[_0x441aa4(0x2a5)](I[_0x441aa4(0x10b)](_0x16a26f[_0x441aa4(0x13e)]));break;}case I[_0x441aa4(0x208)][_0x441aa4(0x2df)]:{this[_0x441aa4(0x3c8)](_0x16a26f[_0x441aa4(0x13e)]);break;}case I[_0x441aa4(0x208)][_0x441aa4(0x17e)]:{this[_0x441aa4(0x19d)]();break;}case I[_0x441aa4(0x208)][_0x441aa4(0x3fc)]:{this[_0x441aa4(0x104)](_0x16a26f[_0x441aa4(0x13e)]);break;}case I[_0x441aa4(0x208)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x441aa4(0xf4)](_0x16a26f[_0x441aa4(0x13e)][_0x441aa4(0x3dc)]['map'](_0x4eb358=>I[_0x441aa4(0x10b)](_0x4eb358)));break;}case I[_0x441aa4(0x208)][_0x441aa4(0x345)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x441aa4(0x208)]['UNISCRIPT_RUN']:break;}}catch(_0x50fe98){throw console[_0x441aa4(0x35e)](_0x441aa4(0x457),_0x50fe98),_0x50fe98;}})),this[_0x19f417(0x123)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x55ff74(0x466)](){var _0x385ed0=_0x55ff74;if(this[_0x385ed0(0x29e)])throw new Error(_0x385ed0(0x14d));this[_0x385ed0(0x29e)]=!0x0;}['_onLocalMutation'](_0x54de7d){var _0x11fe77=_0x55ff74;this[_0x11fe77(0x466)](),this['_updateState'](this[_0x11fe77(0x123)][_0x11fe77(0x3f3)](_0x54de7d)),this['_unlockTransition']();}[_0x55ff74(0x2a5)](_0x20ffdb){var _0x20c00f=_0x55ff74;if(!(_0x20ffdb['revision']<=this[_0x20c00f(0x3d6)][_0x20c00f(0x172)](this[_0x20c00f(0x20f)]))){if(this[_0x20c00f(0x2e9)]){this[_0x20c00f(0x43f)]['push'](_0x20ffdb);return;}this[_0x20c00f(0x12d)](_0x20ffdb);}}[_0x55ff74(0x1b0)](){var _0x248d56=_0x55ff74;this[_0x248d56(0x43f)][_0x248d56(0x41f)](_0x293abf=>this[_0x248d56(0x12d)](_0x293abf)),this[_0x248d56(0x43f)]=[];}['_applyRemoteChangeset'](_0x426871){var _0x2d5f91=_0x55ff74;const _0x117e9d=this[_0x2d5f91(0x179)][_0x2d5f91(0x3ae)]['fetchThroughInterceptors'](this[_0x2d5f91(0x179)][_0x2d5f91(0x3ae)][_0x2d5f91(0x1bc)]()['COMPRESS_MUTATION_APPLY'])(_0x426871['mutations'],null)||_0x426871[_0x2d5f91(0x47e)],_0x2868ad={..._0x426871,'mutations':_0x117e9d};this['_lockTransition'](),this[_0x2d5f91(0x200)](this[_0x2d5f91(0x123)][_0x2d5f91(0x2ab)](_0x2868ad)),this[_0x2d5f91(0x21d)]();}[_0x55ff74(0x3c8)](_0xdc3f88){var _0x15a929=_0x55ff74;this['_lockTransition'](),this[_0x15a929(0x200)](this[_0x15a929(0x123)][_0x15a929(0x140)](_0xdc3f88)),this[_0x15a929(0x21d)]();}[_0x55ff74(0x19d)](_0x1a9d72){var _0xdb4d1f=_0x55ff74;this[_0xdb4d1f(0x466)](),this[_0xdb4d1f(0x200)](this[_0xdb4d1f(0x123)][_0xdb4d1f(0x2cc)](_0x1a9d72)),this[_0xdb4d1f(0x21d)]();}[_0x55ff74(0x104)](_0x47d412){var _0x1c52e6=_0x55ff74;this['_lockTransition'](),this['_updateState'](this['_state'][_0x1c52e6(0x303)](_0x47d412)),this[_0x1c52e6(0x21d)]();}['_onFetchMissResult'](_0x17c471){var _0x480056=_0x55ff74;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x480056(0x206));const _0x6f3c3a=_0x17c471[_0x480056(0x40e)](_0x5323da=>{var _0x221a21=_0x480056;const _0x290b30=this[_0x221a21(0x179)][_0x221a21(0x3ae)][_0x221a21(0x44b)](this[_0x221a21(0x179)][_0x221a21(0x3ae)][_0x221a21(0x1bc)]()[_0x221a21(0x39d)])(_0x5323da[_0x221a21(0x47e)],null)||_0x5323da[_0x221a21(0x47e)];return{..._0x5323da,'mutations':_0x290b30};});this[_0x480056(0x466)](),this[_0x480056(0x200)](this[_0x480056(0x123)][_0x480056(0x349)](_0x6f3c3a)),this[_0x480056(0x21d)]();}[_0x55ff74(0x342)](){var _0x3749e3=_0x55ff74;this[_0x3749e3(0x466)](),this['_updateState'](this['_state'][_0x3749e3(0x448)]()),this[_0x3749e3(0x21d)]();}['_toggleOnline'](_0x351ddb=!0x1){var _0x4785bc=_0x55ff74;this[_0x4785bc(0x466)](),this['_updateState'](this[_0x4785bc(0x123)]['toggleOnline']()),this[_0x4785bc(0x21d)]();const _0x3e07ef=this['_state'];_0x351ddb&&_0x3e07ef instanceof exports[_0x4785bc(0x39a)]&&(this[_0x4785bc(0x466)](),this[_0x4785bc(0x200)](_0x3e07ef[_0x4785bc(0x22c)]()),this[_0x4785bc(0x21d)]());}async[_0x55ff74(0x3ab)](){return new Promise(_0x50ea6d=>{var _0xfbb6a5=_0x3571;this[_0xfbb6a5(0x31d)][_0xfbb6a5(0x326)]['pipe']($[_0xfbb6a5(0x418)](0x1))[_0xfbb6a5(0x259)](async _0x5d85d9=>{var _0x46d864=_0xfbb6a5;_0x50ea6d(await this[_0x46d864(0x1f2)](_0x5d85d9===re[_0x46d864(0x115)]));});});}[_0x55ff74(0x377)](){var _0x4c0b1a=_0x55ff74;const _0x3d2fac=this[_0x4c0b1a(0x20f)];return{'onStateChange':(_0x3937cf,_0x3415f5)=>{var _0x4fc0ca=_0x4c0b1a;if(_0x3937cf!==this[_0x4fc0ca(0x123)])throw new Error(_0x4fc0ca(0x16c)+_0x3937cf[_0x4fc0ca(0x463)]+_0x4fc0ca(0x324)+_0x3415f5['status']+'\x0aCurrent:\x20'+this[_0x4fc0ca(0x123)][_0x4fc0ca(0x463)]);this['_updateState'](_0x3415f5);},'onSendChangeset':_0x3fabf2=>{var _0x2d33e8=_0x4c0b1a;_0x3fabf2[_0x2d33e8(0x1c8)]||(_0x3fabf2[_0x2d33e8(0x1c8)]=this['_changesetSessionId'],_0x3fabf2[_0x2d33e8(0x1ae)]=++this[_0x2d33e8(0x42f)]);const _0x5e51ff={'eventID':I[_0x2d33e8(0x208)][_0x2d33e8(0x473)],'data':{'unitID':_0x3fabf2[_0x2d33e8(0x20f)],'unitType':this[_0x2d33e8(0x231)],'changeset':_0x3fabf2,'memberID':this['session']['getMemberID']()}};this[_0x2d33e8(0x31d)][_0x2d33e8(0x20b)](_0x5e51ff,this[_0x2d33e8(0x20f)]);},'onMissingChangesets':({from:_0x3312e1,to:_0x274377})=>{var _0x2845cf=_0x4c0b1a;this[_0x2845cf(0x24d)][_0x2845cf(0x2f8)](_0x2845cf(0x25a),_0x2845cf(0x2d1)+_0x3312e1+_0x2845cf(0x2dc)+_0x274377);const _0x583461={'eventID':I[_0x2845cf(0x208)]['FETCH_MISSING'],'data':{'unitID':_0x3d2fac,'unitType':this[_0x2845cf(0x231)],'from':_0x3312e1,'to':_0x274377}};this[_0x2845cf(0x31d)][_0x2845cf(0x20b)](_0x583461,this[_0x2845cf(0x20f)]);}};}async[_0x55ff74(0x1f2)](_0x549056){var _0x1ed263=_0x55ff74,_0x21f06a,_0x22ac9f,_0xa200c1;const _0x57f98f=await((_0x21f06a=this[_0x1ed263(0x1ec)])==null?void 0x0:_0x21f06a[_0x1ed263(0x199)](this[_0x1ed263(0x20f)])),_0x35a6a4=(_0x22ac9f=_0x57f98f==null?void 0x0:_0x57f98f[_0x1ed263(0x47e)])!=null?_0x22ac9f:[],_0x3c76db=(_0xa200c1=_0x57f98f==null?void 0x0:_0x57f98f['awaitingChangeset'])!=null?_0xa200c1:null,_0x412cda=!!(_0x3c76db!=null&&_0x3c76db[_0x1ed263(0x1c8)])&&!!(_0x3c76db!=null&&_0x3c76db[_0x1ed263(0x1ae)]);this[_0x1ed263(0xf8)]=_0x412cda?_0x3c76db[_0x1ed263(0x1c8)]:I['uuidv4'](),this[_0x1ed263(0x42f)]=_0x412cda?_0x3c76db[_0x1ed263(0x1ae)]:0x0;const _0x44f113=this[_0x1ed263(0x20f)];try{this[_0x1ed263(0x292)](_0x3c76db,_0x35a6a4);}catch(_0x27fe77){this[_0x1ed263(0x24d)][_0x1ed263(0x35e)](_0x27fe77);}const _0xd7ce93=this[_0x1ed263(0x377)]();if(_0x549056){const _0x1d6915=Ot(this[_0x1ed263(0x423)],_0x44f113,this[_0x1ed263(0x231)],_0x3c76db,_0x35a6a4,_0xd7ce93);return _0x1d6915 instanceof exports[_0x1ed263(0xfa)]?_0x1d6915[_0x1ed263(0x15a)]():(_0x1d6915 instanceof exports[_0x1ed263(0x202)]||_0x1d6915 instanceof exports[_0x1ed263(0x256)])&&_0x1d6915[_0x1ed263(0x1dc)](),_0x1d6915;}return this['_injector'][_0x1ed263(0x380)](exports[_0x1ed263(0x2b0)],_0x44f113,this[_0x1ed263(0x231)],_0x3c76db,_0x35a6a4,_0xd7ce93);}[_0x55ff74(0x292)](_0x1e67de,_0x13f0f0){var _0x350c5c=_0x55ff74,_0xacc5d5,_0x41120b;const _0x10ee69=this['_compressMutationService'][_0x350c5c(0x3ae)][_0x350c5c(0x44b)](this[_0x350c5c(0x179)][_0x350c5c(0x3ae)][_0x350c5c(0x1bc)]()['COMPRESS_MUTATION_APPLY']);(_0xacc5d5=_0x10ee69((_0x1e67de==null?void 0x0:_0x1e67de[_0x350c5c(0x47e)])||[],null))==null||_0xacc5d5[_0x350c5c(0x41f)](_0x579da4=>this[_0x350c5c(0x29c)]['executeCommand'](_0x579da4['id'],_0x579da4[_0x350c5c(0x105)])),(_0x41120b=_0x10ee69(_0x13f0f0||[],null))==null||_0x41120b[_0x350c5c(0x41f)](_0x585bc6=>this[_0x350c5c(0x29c)][_0x350c5c(0x41b)](_0x585bc6['id'],_0x585bc6[_0x350c5c(0x105)]));}},exports[_0x55ff74(0x45a)]=Fe([j(0x3,a[_0x55ff74(0x221)](a['Injector'])),j(0x4,a[_0x55ff74(0x221)](I[_0x55ff74(0x443)])),j(0x5,a[_0x55ff74(0x221)](a['LocaleService'])),j(0x6,a['Inject'](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](ee)),j(0x8,a[_0x55ff74(0x469)]),j(0x9,a[_0x55ff74(0x393)]),j(0xa,a[_0x55ff74(0x3fd)]),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](q))],exports[_0x55ff74(0x45a)]),exports[_0x55ff74(0x10e)]=class extends exports['CollaborationEntity']{constructor(_0x143120,_0x36691d,_0x36f19b,_0x2efe20,_0x3c3b1e,_0x2f3062,_0x573553,_0x207412,_0x5a3729,_0xa0d7b0,_0x20b580,_0xaea5f5,_0x53115e){var _0x3705d0=_0x55ff74;super(_0x143120,_0x36f19b,_0x36691d,_0x2efe20,_0x3c3b1e,_0x2f3062,_0x573553,_0x207412,_0x5a3729,_0xa0d7b0,_0x20b580,_0xaea5f5,_0x53115e),A(this,_0x3705d0(0x161),null),(this[_0x3705d0(0x20f)]=_0x143120,this['type']=_0x36691d);}['addHandlerCallback'](_0x26310c){var _0x47b8fd=_0x55ff74;this[_0x47b8fd(0x161)]=_0x26310c;}[_0x55ff74(0x174)](){var _0x25cc58=_0x55ff74;this[_0x25cc58(0x161)]=null,super[_0x25cc58(0x174)]();}['_createHandler'](){var _0x4e3dba=_0x55ff74;const _0x42ac7e=super[_0x4e3dba(0x377)]();return _0x42ac7e[_0x4e3dba(0x3ad)]=_0x47a632=>{var _0x4b87c0=_0x4e3dba,_0x5234bb,_0xeedbdd;return(_0xeedbdd=(_0x5234bb=this[_0x4b87c0(0x161)])==null?void 0x0:_0x5234bb['onTransformIME'])==null?void 0x0:_0xeedbdd[_0x4b87c0(0x12c)](_0x5234bb,_0x47a632);},_0x42ac7e[_0x4e3dba(0x291)]=_0x407434=>{var _0x2a8ec2,_0x569812;return(_0x569812=(_0x2a8ec2=this['_handlerCallback'])==null?void 0x0:_0x2a8ec2['onTransformState'])==null?void 0x0:_0x569812['call'](_0x2a8ec2,_0x407434);},_0x42ac7e['onTransformSelections']=_0x50ac8c=>{var _0x5bb471=_0x4e3dba,_0x2d1a3b,_0x513eab;return(_0x513eab=(_0x2d1a3b=this[_0x5bb471(0x161)])==null?void 0x0:_0x2d1a3b['onTransformSelections'])==null?void 0x0:_0x513eab['call'](_0x2d1a3b,_0x50ac8c);},_0x42ac7e['onSyncEditingCollabCursor']=_0x70c43f=>{var _0x252487=_0x4e3dba,_0x541b43,_0x331252;return(_0x331252=(_0x541b43=this['_handlerCallback'])==null?void 0x0:_0x541b43[_0x252487(0x340)])==null?void 0x0:_0x331252[_0x252487(0x12c)](_0x541b43,_0x70c43f);},_0x42ac7e['onTransformRemoteChangesetByIMECache']=_0x642fbf=>{var _0x59b8ad=_0x4e3dba,_0x30ac50,_0x221059,_0x5f3656;if(!((_0x30ac50=this[_0x59b8ad(0x161)])!=null&&_0x30ac50['onTransformRemoteChangesetByIMECache']))throw new Error(_0x59b8ad(0x454));return(_0x5f3656=(_0x221059=this[_0x59b8ad(0x161)])==null?void 0x0:_0x221059['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5f3656[_0x59b8ad(0x12c)](_0x221059,_0x642fbf);},_0x42ac7e[_0x4e3dba(0x1fb)]=_0x5f4fc2=>{var _0x5e8aeb=_0x4e3dba,_0x4dbbd5,_0x38753b,_0x130676;if(!((_0x4dbbd5=this[_0x5e8aeb(0x161)])!=null&&_0x4dbbd5['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5e8aeb(0x341));return(_0x130676=(_0x38753b=this[_0x5e8aeb(0x161)])==null?void 0x0:_0x38753b[_0x5e8aeb(0x1fb)])==null?void 0x0:_0x130676[_0x5e8aeb(0x12c)](_0x38753b,_0x5f4fc2);},_0x42ac7e;}async[_0x55ff74(0x223)](){var _0xd51c6a=_0x55ff74;const _0x1c7ec4=await super[_0xd51c6a(0x223)]();return this['disposeWithMe'](this[_0xd51c6a(0x29c)][_0xd51c6a(0x3a3)]((_0x3fca7a,_0x452e93)=>{var _0x5207de=_0xd51c6a;if(_0x3fca7a['type']!==a[_0x5207de(0x1c1)][_0x5207de(0x31b)]||_0x452e93!=null&&_0x452e93[_0x5207de(0x158)]||_0x452e93!=null&&_0x452e93[_0x5207de(0x45c)]||_0x3fca7a['id']===ht['RichTextEditingMutation']['id'])return;const _0x257b2d=_0x3fca7a[_0x5207de(0x105)];if((_0x257b2d==null?void 0x0:_0x257b2d[_0x5207de(0x411)])!==this[_0x5207de(0x20f)])return;const _0x5bee3e=_0x3fca7a,_0x273fea=this[_0x5207de(0x179)][_0x5207de(0x3ae)][_0x5207de(0x44b)](this['_compressMutationService'][_0x5207de(0x3ae)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5bee3e],null)||[_0x5bee3e];this[_0x5207de(0x183)](_0x273fea[0x0]);})),_0x1c7ec4;}},exports[_0x55ff74(0x10e)]=Fe([j(0x3,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),j(0x4,a['Inject'](I[_0x55ff74(0x443)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](ee)),j(0x8,a[_0x55ff74(0x469)]),j(0x9,a[_0x55ff74(0x393)]),j(0xa,a[_0x55ff74(0x3fd)]),j(0xb,a[_0x55ff74(0x299)](de)),j(0xc,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x10e)]),exports[_0x55ff74(0x22a)]=class extends exports[_0x55ff74(0x45a)]{constructor(_0x595cf4,_0x36b16c,_0x2d3cc4,_0x1938c3,_0xe778dc,_0x21f59a,_0x99253,_0xd13f8d,_0x2d6b1c,_0x364247,_0xf645b5,_0x53040d,_0x40f18f,_0x35f81a){var _0x10b464=_0x55ff74;super(_0x595cf4,_0x2d3cc4,_0x36b16c,_0x1938c3,_0xe778dc,_0x21f59a,_0x99253,_0x2d6b1c,_0x364247,_0xf645b5,_0x53040d,_0x40f18f,_0x35f81a),this[_0x10b464(0x20f)]=_0x595cf4,this[_0x10b464(0x255)]=_0x36b16c,this[_0x10b464(0x392)]=_0xd13f8d;}[_0x55ff74(0x377)](){var _0x34aa98=_0x55ff74;const _0x4fe085=super[_0x34aa98(0x377)]();return _0x4fe085[_0x34aa98(0x177)]=_0x560e01=>this[_0x34aa98(0x392)][_0x34aa98(0x314)](_0x560e01),_0x4fe085;}async['_init'](){var _0x1f616e=_0x55ff74;const _0x342537=await super[_0x1f616e(0x223)]();return this[_0x1f616e(0x2a4)](this[_0x1f616e(0x29c)]['onCommandExecuted']((_0x44f366,_0x1b4f0f)=>{var _0x539b7e=_0x1f616e;if(_0x44f366[_0x539b7e(0x255)]!==a[_0x539b7e(0x1c1)][_0x539b7e(0x31b)]||_0x1b4f0f!=null&&_0x1b4f0f[_0x539b7e(0x158)]||_0x1b4f0f!=null&&_0x1b4f0f['onlyLocal'])return;const _0xaf84d8=_0x44f366[_0x539b7e(0x105)];if((_0xaf84d8==null?void 0x0:_0xaf84d8['unitId'])!==this[_0x539b7e(0x20f)])return;const _0x55d259=_0x44f366,_0x571f8e=this[_0x539b7e(0x179)][_0x539b7e(0x3ae)][_0x539b7e(0x44b)](this[_0x539b7e(0x179)][_0x539b7e(0x3ae)][_0x539b7e(0x1bc)]()[_0x539b7e(0x258)])([_0x55d259],null)||[_0x55d259];this[_0x539b7e(0x183)](_0x571f8e[0x0]);})),_0x342537;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a['Inject'](I[_0x55ff74(0x443)])),j(0x5,a[_0x55ff74(0x221)](a['LocaleService'])),j(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x55ff74(0x469)]),j(0xa,a[_0x55ff74(0x393)]),j(0xb,a[_0x55ff74(0x3fd)]),j(0xc,a[_0x55ff74(0x299)](de)),j(0xd,a['Optional'](q))],exports[_0x55ff74(0x22a)]);function _0x3571(_0x49c59e,_0x515686){var _0x12dd79=_0x12dd();return _0x3571=function(_0x35712f,_0x542a36){_0x35712f=_0x35712f-0xf4;var _0x2a63be=_0x12dd79[_0x35712f];return _0x2a63be;},_0x3571(_0x49c59e,_0x515686);}var Si=Object[_0x55ff74(0x224)],fi=(_0x274f9b,_0x36f974,_0x560b62,_0x2ed1ab)=>{var _0x47dc4f=_0x55ff74;for(var _0x3e810f=_0x2ed1ab>0x1?void 0x0:_0x2ed1ab?Si(_0x36f974,_0x560b62):_0x36f974,_0x831ab7=_0x274f9b[_0x47dc4f(0x305)]-0x1,_0x2cb328;_0x831ab7>=0x0;_0x831ab7--)(_0x2cb328=_0x274f9b[_0x831ab7])&&(_0x3e810f=_0x2cb328(_0x3e810f)||_0x3e810f);return _0x3e810f;},Se=(_0x1349f9,_0x2a3bd8)=>(_0x52018f,_0xade45e)=>_0x2a3bd8(_0x52018f,_0xade45e,_0x1349f9);exports[_0x55ff74(0x234)]=class extends a[_0x55ff74(0x139)]{constructor(_0xc6a94b,_0x37d989,_0x1a8a7d,_0x5dd8d1){var _0x3e2f0f=_0x55ff74,_0x5d5511;super(),A(this,_0x3e2f0f(0x1b3),new Map()),A(this,_0x3e2f0f(0x137),new $[(_0x3e2f0f(0x16b))]()),A(this,_0x3e2f0f(0x2b1),this['_entityInit$'][_0x3e2f0f(0x37f)]()),(this[_0x3e2f0f(0x423)]=_0xc6a94b,this[_0x3e2f0f(0x136)]=_0x37d989,this[_0x3e2f0f(0x26e)]=_0x1a8a7d,this[_0x3e2f0f(0x449)]=_0x5dd8d1,((_0x5d5511=this['_configService'][_0x3e2f0f(0x388)](K))==null?void 0x0:_0x5d5511[_0x3e2f0f(0x350)])!==!0x1&&this[_0x3e2f0f(0x223)]());}['dispose'](){var _0x51541a=_0x55ff74;super[_0x51541a(0x174)](),this[_0x51541a(0x1b3)]['forEach'](_0x55e01=>_0x55e01['dispose']()),this[_0x51541a(0x1b3)][_0x51541a(0x28a)]();}['getCollabEntity'](_0x4ac686){var _0x1ec7f6=_0x55ff74,_0x401cba;return(_0x401cba=this[_0x1ec7f6(0x1b3)][_0x1ec7f6(0x128)](_0x4ac686))!=null?_0x401cba:null;}['getCollabEntity$'](_0x88bd60){var _0x366035=_0x55ff74;const _0x20961b=this['getCollabEntity'](_0x88bd60);return _0x20961b?$['of'](_0x20961b):this['_entityInit$'][_0x366035(0x33c)](V['filter'](_0x154d87=>_0x154d87[_0x366035(0x20f)]===_0x88bd60));}['readyForCollab'](_0x3f9a5a){var _0x44bf97=_0x55ff74;return $[_0x44bf97(0x21c)](this['getCollabEntity$'](_0x3f9a5a)[_0x44bf97(0x33c)](V['map'](()=>{})));}[_0x55ff74(0x223)](){var _0x3b58c9=_0x55ff74;this[_0x3b58c9(0x449)][_0x3b58c9(0x12f)](a[_0x3b58c9(0x272)]['UNIVER_SHEET'])[_0x3b58c9(0x33c)]($['takeUntil'](this[_0x3b58c9(0x1ca)]),V[_0x3b58c9(0x370)](0x10))[_0x3b58c9(0x259)](async _0x495fcc=>{var _0x492477=_0x3b58c9;const _0x37f951=_0x495fcc['getUnitId'](),_0x44f936=await this[_0x492477(0x44c)](_0x37f951,J[_0x492477(0x209)]);this[_0x492477(0x1b3)][_0x492477(0x41c)](_0x37f951,_0x44f936);}),this[_0x3b58c9(0x449)]['getTypeOfUnitAdded$'](a[_0x3b58c9(0x272)][_0x3b58c9(0x43e)])[_0x3b58c9(0x33c)]($[_0x3b58c9(0x336)](this[_0x3b58c9(0x1ca)]),V['delay'](0x10))[_0x3b58c9(0x33c)](V['filter'](_0x2bc051=>!_0x2bc051['getUnitId']()[_0x3b58c9(0x18a)]('__')))[_0x3b58c9(0x259)](async _0x30a5b5=>{var _0x4573d3=_0x3b58c9;const _0x2ffe34=_0x30a5b5[_0x4573d3(0x186)](),_0x12834d=await this[_0x4573d3(0x44c)](_0x2ffe34,J[_0x4573d3(0x43e)]);this['_entities'][_0x4573d3(0x41c)](_0x2ffe34,_0x12834d);}),$[_0x3b58c9(0x1cc)](this[_0x3b58c9(0x449)]['getTypeOfUnitDisposed$'](a[_0x3b58c9(0x272)][_0x3b58c9(0x209)]),this[_0x3b58c9(0x449)][_0x3b58c9(0x428)](a[_0x3b58c9(0x272)][_0x3b58c9(0x43e)]))[_0x3b58c9(0x33c)]($[_0x3b58c9(0x336)](this[_0x3b58c9(0x1ca)]))[_0x3b58c9(0x259)](_0x301883=>{var _0x1ebf6b=_0x3b58c9;const _0xb3330f=_0x301883[_0x1ebf6b(0x186)](),_0x291d1c=this[_0x1ebf6b(0x1b3)]['get'](_0xb3330f);_0x291d1c&&(_0x291d1c[_0x1ebf6b(0x174)](),this[_0x1ebf6b(0x1b3)][_0x1ebf6b(0x413)](_0xb3330f));});}async['_startCollaboration'](_0x405f1b,_0xffaedf){var _0x84848b=_0x55ff74;const _0xa8d327=await this[_0x84848b(0x136)]['requireSession'](_0x405f1b),_0x10c36a=this[_0x84848b(0x423)][_0x84848b(0x380)](this['_getCtorByUniverType'](_0xffaedf),_0x405f1b,_0xffaedf,_0xa8d327);return await _0x10c36a['init'](),this['_entityInit$'][_0x84848b(0x1f3)](_0x10c36a),_0x10c36a;}[_0x55ff74(0x343)](_0x5b5d60){var _0x23163d=_0x55ff74;switch(_0x5b5d60){case J[_0x23163d(0x43e)]:return exports[_0x23163d(0x10e)];case J[_0x23163d(0x209)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x23163d(0x470)+_0x5b5d60);}}},exports['CollaborationController']=fi([Se(0x0,a['Inject'](a[_0x55ff74(0x19b)])),Se(0x1,a[_0x55ff74(0x221)](exports['CollaborationSessionService'])),Se(0x2,a[_0x55ff74(0x133)]),Se(0x3,a[_0x55ff74(0x35a)])],exports[_0x55ff74(0x234)]);var pi=Object[_0x55ff74(0x224)],Ii=(_0x47140f,_0x2a3b22,_0x37e7b6,_0xacd665)=>{var _0x2f450d=_0x55ff74;for(var _0x3fb688=_0xacd665>0x1?void 0x0:_0xacd665?pi(_0x2a3b22,_0x37e7b6):_0x2a3b22,_0x17a1e7=_0x47140f[_0x2f450d(0x305)]-0x1,_0x38640c;_0x17a1e7>=0x0;_0x17a1e7--)(_0x38640c=_0x47140f[_0x17a1e7])&&(_0x3fb688=_0x38640c(_0x3fb688)||_0x3fb688);return _0x3fb688;},Ye=(_0x506bc2,_0x16c3fb)=>(_0x52a4c0,_0x295203)=>_0x16c3fb(_0x52a4c0,_0x295203,_0x506bc2);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x55ff74(0x2f0)]{constructor(_0x348efa,_0x431bb8){var _0x3759e8=_0x55ff74;super(),this[_0x3759e8(0x449)]=_0x348efa,this[_0x3759e8(0x26e)]=_0x431bb8,this['_init']();}['_init'](){var _0x205401=_0x55ff74;this[_0x205401(0x2a4)](this[_0x205401(0x449)][_0x205401(0x33e)][_0x205401(0x259)](()=>{var _0xa7043=_0x205401,_0x59dccc;const _0x414c7e=this[_0xa7043(0x449)][_0xa7043(0x108)]();let _0x4ac74a=(_0x59dccc=this[_0xa7043(0x26e)][_0xa7043(0x388)](gi))!=null?_0x59dccc:Ei;_0x414c7e instanceof a[_0xa7043(0x254)]&&(_0x4ac74a=_0x414c7e[_0xa7043(0x218)]),document[_0xa7043(0x422)]=_0x4ac74a;}));}};xe=Ii([Ye(0x0,a[_0x55ff74(0x35a)]),Ye(0x1,a[_0x55ff74(0x133)])],xe);var mi=Object[_0x55ff74(0x224)],Ci=(_0x123f21,_0x5da65e,_0xbe7373,_0x2fcd3b)=>{var _0x44a47a=_0x55ff74;for(var _0x3399a0=_0x2fcd3b>0x1?void 0x0:_0x2fcd3b?mi(_0x5da65e,_0xbe7373):_0x5da65e,_0xbf3121=_0x123f21[_0x44a47a(0x305)]-0x1,_0x18a4ea;_0xbf3121>=0x0;_0xbf3121--)(_0x18a4ea=_0x123f21[_0xbf3121])&&(_0x3399a0=_0x18a4ea(_0x3399a0)||_0x3399a0);return _0x3399a0;},Ae=(_0x3568ba,_0x1be26c)=>(_0x1ed026,_0x30e492)=>_0x1be26c(_0x1ed026,_0x30e492,_0x3568ba);let ye=class{constructor(_0x5e8f10,_0x447971,_0x3e044e){var _0x12449a=_0x55ff74;this['_configService']=_0x5e8f10,this[_0x12449a(0x1e7)]=_0x447971,this[_0x12449a(0x1ad)]=_0x3e044e,this[_0x12449a(0x17f)]();}[_0x55ff74(0x17f)](){var _0x20fa21=_0x55ff74;this[_0x20fa21(0x1e7)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x7e07d3,_0x5e2527)=>_0x5e2527(_0x7e07d3)[_0x20fa21(0x33c)]($['concatMap'](async _0x2c68e4=>{var _0x175679=_0x20fa21;const _0x4280d0=_0x2c68e4;if(_0x4280d0['status']===0x191){if(typeof window>'u')throw new Error(_0x175679(0x40a));if(window[_0x175679(0x150)](this[_0x175679(0x1ad)]['t'](_0x175679(0x264)))){const _0x54907e=window['encodeURIComponent'](window[_0x175679(0x23f)]['href']);window[_0x175679(0x23f)][_0x175679(0x2b7)]=this[_0x175679(0x461)]()+_0x175679(0x1f8)+_0x54907e;}}return _0x4280d0;}))});}[_0x55ff74(0x461)](){var _0x292560=_0x55ff74,_0xbff059,_0x325e11;const _0x3209ca=this[_0x292560(0x26e)][_0x292560(0x388)](It),_0x23b2b8=this[_0x292560(0x26e)]['getConfig'](K);return(_0x325e11=(_0xbff059=_0x23b2b8==null?void 0x0:_0x23b2b8[_0x292560(0x427)])!=null?_0xbff059:_0x3209ca)!=null?_0x325e11:Wt;}};ye=Ci([Ae(0x0,a[_0x55ff74(0x133)]),Ae(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)])),Ae(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x164)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x18bca5,_0x3fb978,_0x59afe0,_0x2089d9)=>{var _0x1ee3e3=_0x55ff74;for(var _0x588ffb=_0x2089d9>0x1?void 0x0:_0x2089d9?Ti(_0x3fb978,_0x59afe0):_0x3fb978,_0x9fc6e0=_0x18bca5[_0x1ee3e3(0x305)]-0x1,_0x2aa668;_0x9fc6e0>=0x0;_0x9fc6e0--)(_0x2aa668=_0x18bca5[_0x9fc6e0])&&(_0x588ffb=_0x2aa668(_0x588ffb)||_0x588ffb);return _0x588ffb;},qe=(_0x1f1d72,_0x2e06a6)=>(_0x1a0f1e,_0x4916cf)=>_0x2e06a6(_0x1a0f1e,_0x4916cf,_0x1f1d72);const Ve='AUTHZ_URL_KEY',Ri=_0x55ff74(0x215);exports['AuthzIoHttpService']=class extends a[_0x55ff74(0x2f0)]{constructor(_0x4c7b3f,_0x14dcec){var _0xe1caed=_0x55ff74;super(),this[_0xe1caed(0x2dd)]=_0x4c7b3f,this['_configService']=_0x14dcec,this[_0xe1caed(0x2ff)]();}['_initMergeInterceptor'](){var _0x480911=_0x55ff74;const _0xa87e5e=this;this[_0x480911(0x2a4)](this[_0x480911(0x2dd)][_0x480911(0x357)]({'priority':0x3e7,'interceptor':Y[_0x480911(0x2b8)]({'isMatch'(_0x4f88ca){var _0x2a5c0b=_0x480911,_0x50d52e;if(_0x4f88ca[_0x2a5c0b(0x245)]===_0x2a5c0b(0x436)&&((_0x50d52e=_0x4f88ca[_0x2a5c0b(0x3e1)])!=null&&_0x50d52e[_0x2a5c0b(0x43b)])){const {objectID:_0x5affdb,objectType:_0x209a41}=_0x4f88ca['requestParams'][_0x2a5c0b(0x43b)]||{};if(!_0x5affdb||_0x209a41===void 0x0)return!0x1;const _0x31d522=_0xa87e5e[_0x2a5c0b(0x328)]()+'/'+_0x209a41+_0x2a5c0b(0x244)+_0x5affdb+'/allowed';if(_0x4f88ca[_0x2a5c0b(0x192)]===_0x31d522)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x64c4db){var _0x699b9f=_0x480911,_0xd93cca;return(_0xd93cca=_0x64c4db[_0x699b9f(0x3e1)])==null?void 0x0:_0xd93cca[_0x699b9f(0x43b)];},'mergeParamsToRequest'(_0x5966aa,_0x21ee5d){var _0x488d0a=_0x480911;const _0x32448c=_0xa87e5e['_getAPIPrefixPath']()+_0x488d0a(0x2e6),_0x11282a=_0x5966aa[_0x488d0a(0x11b)]((_0x3d0f85,_0x4c2c34)=>{var _0x464196=_0x488d0a;const {unitID:_0x46e51a,objectID:_0x29d565,objectType:_0x5cd5e6,actions:_0x2ebfd5}=_0x4c2c34;return _0x3d0f85[_0x46e51a]||(_0x3d0f85[_0x46e51a]={}),_0x3d0f85[_0x46e51a][_0x29d565]||(_0x3d0f85[_0x46e51a][_0x29d565]={'objectID':_0x29d565,'objectType':_0x5cd5e6,'actions':[]}),_0x3d0f85[_0x46e51a][_0x29d565]['actions'][_0x464196(0x395)](..._0x2ebfd5),_0x3d0f85;},{}),_0x1a794d=[];for(const _0x3f055b in _0x11282a)for(const _0x1b941e in _0x11282a[_0x3f055b]){const {actions:_0x38fcf4,objectType:_0x32c947}=_0x11282a[_0x3f055b][_0x1b941e],_0x5ad992=[...new Set(_0x38fcf4)];_0x1a794d['push']({'unitID':_0x3f055b,'objectID':_0x1b941e,'objectType':_0x32c947,'actions':_0x5ad992});}return new Y[(_0x488d0a(0x361))](_0x488d0a(0x436),_0x32448c,{'headers':_0x21ee5d[_0x488d0a(0x2fe)],'withCredentials':_0x21ee5d[_0x488d0a(0x1c2)],'responseType':_0x21ee5d[_0x488d0a(0x281)],'body':{'requests':_0x1a794d}});}},{'distributeResult'(_0x25c776,_0x310edd){var _0x362d93=_0x480911;const {objectActions:_0x12a345}=_0x25c776;return _0x310edd[_0x362d93(0x40e)](_0x54c1a0=>{var _0x3fb9c2=_0x362d93;const {unitID:_0x4ed8ea,objectID:_0x45dea0,actions:_0xdf6b87}=_0x54c1a0,_0x41df92=_0x12a345[_0x3fb9c2(0x1f0)](_0x201761=>_0x201761[_0x3fb9c2(0x20f)]===_0x4ed8ea&&_0x201761[_0x3fb9c2(0x45b)]===_0x45dea0),_0x120b5d=_0xdf6b87[_0x3fb9c2(0x40e)](_0x32b3fc=>_0x41df92==null?void 0x0:_0x41df92[_0x3fb9c2(0x182)]['find'](_0x693e34=>_0x693e34[_0x3fb9c2(0x1ce)]===_0x32b3fc))['filter'](_0x19d82b=>!!_0x19d82b);return{'config':_0x54c1a0,'result':{'actions':_0x120b5d,'error':_0x25c776[_0x3fb9c2(0x35e)]}};});}})}));}[_0x55ff74(0x328)](){var _0x1444d6=_0x55ff74,_0x5c3762,_0xfdae8f;const _0x2b2c87=this[_0x1444d6(0x26e)][_0x1444d6(0x388)](Ve),_0x3e60e6=this['_configService'][_0x1444d6(0x388)](K);return(_0xfdae8f=(_0x5c3762=_0x3e60e6==null?void 0x0:_0x3e60e6['authzUrl'])!=null?_0x5c3762:_0x2b2c87)!=null?_0xfdae8f:Ri;}async[_0x55ff74(0x274)](_0x38e23a){var _0x6e95dd=_0x55ff74;const _0x1eb6aa=this[_0x6e95dd(0x328)]()+'/'+_0x38e23a[_0x6e95dd(0x3ca)]+_0x6e95dd(0x229);return(await this[_0x6e95dd(0x2dd)][_0x6e95dd(0x252)](_0x1eb6aa,{'body':_0x38e23a}))['body']['objectID']||'';}async[_0x55ff74(0x44d)](_0xe76116){var _0x3e6209=_0x55ff74;const _0x39dd9f=this[_0x3e6209(0x328)]()+'/-/object/list';return(await this[_0x3e6209(0x2dd)][_0x3e6209(0x252)](_0x39dd9f,{'body':_0xe76116}))[_0x3e6209(0x43b)]['objects'];}async[_0x55ff74(0x2fd)](_0x1abc2b){var _0x5d691b=_0x55ff74,_0x2e4422,_0x2421f5;const _0x58a096=this[_0x5d691b(0x328)]()+'/'+_0x1abc2b[_0x5d691b(0x3ca)]+_0x5d691b(0x244)+_0x1abc2b[_0x5d691b(0x45b)],_0x16874d=await this['_HTTPService'][_0x5d691b(0x31c)](_0x58a096,{'body':_0x1abc2b});if(((_0x2421f5=(_0x2e4422=_0x16874d==null?void 0x0:_0x16874d[_0x5d691b(0x43b)])==null?void 0x0:_0x2e4422[_0x5d691b(0x35e)])==null?void 0x0:_0x2421f5[_0x5d691b(0x433)])!==0x1)throw new Error(_0x5d691b(0x3d2));}async[_0x55ff74(0x3c1)](_0xfdd49f){var _0x47fa53=_0x55ff74;const _0x85562b=this[_0x47fa53(0x328)]()+'/'+_0xfdd49f[_0x47fa53(0x3ca)]+'/object/'+_0xfdd49f[_0x47fa53(0x45b)]+_0x47fa53(0x465);return(await this['_HTTPService'][_0x47fa53(0x252)](_0x85562b,{'body':_0xfdd49f}))['body'][_0x47fa53(0x182)];}async[_0x55ff74(0x394)](_0x4ffcfe){var _0x38a0cb=_0x55ff74;const _0x180d38=this[_0x38a0cb(0x328)]()+'/-/object/-/batch_allowed';return(await this[_0x38a0cb(0x2dd)][_0x38a0cb(0x252)](_0x180d38,{'body':{'requests':_0x4ffcfe}}))[_0x38a0cb(0x43b)][_0x38a0cb(0x156)];}async[_0x55ff74(0x2cb)](_0x4716df){var _0x51b194=_0x55ff74;const _0xdab08d=this['_getAPIPrefixPath']()+'/'+_0x4716df[_0x51b194(0x3ca)]+_0x51b194(0x3e0),_0x2dc6fa=await this[_0x51b194(0x2dd)][_0x51b194(0x252)](_0xdab08d,{'body':_0x4716df});return{'roles':_0x2dc6fa[_0x51b194(0x43b)][_0x51b194(0x32a)],'actions':_0x2dc6fa[_0x51b194(0x43b)]['actions']};}async[_0x55ff74(0x270)](_0x13647f){var _0x331861=_0x55ff74;const _0x1f3d8d=this[_0x331861(0x328)]()+_0x331861(0x441);await this['_HTTPService'][_0x331861(0x413)](_0x1f3d8d,{'params':{'collaboratorID':_0x13647f[_0x331861(0x2aa)],'objectID':_0x13647f[_0x331861(0x45b)],'unitID':_0x13647f[_0x331861(0x20f)]}});}async[_0x55ff74(0x3df)](_0x283c33){var _0x3fdef0=_0x55ff74;const _0x53b6c3=this['_getAPIPrefixPath']()+_0x3fdef0(0x441);await this[_0x3fdef0(0x2dd)][_0x3fdef0(0x2d3)](_0x53b6c3,{'body':_0x283c33});}async[_0x55ff74(0x112)](_0x392af7){var _0x4708a8=_0x55ff74;const _0x586041=this[_0x4708a8(0x328)]()+_0x4708a8(0x441);await this[_0x4708a8(0x2dd)]['post'](_0x586041,{'body':_0x392af7});}async['listCollaborators'](_0x59c71b){var _0x35be1b=_0x55ff74;const _0x4ede37=this['_getAPIPrefixPath']()+_0x35be1b(0x441);return(await this[_0x35be1b(0x2dd)][_0x35be1b(0x128)](_0x4ede37,{'params':{'objectID':_0x59c71b['objectID'],'unitID':_0x59c71b[_0x35be1b(0x20f)]}}))['body'][_0x35be1b(0x3d8)];}async[_0x55ff74(0x3ba)](_0x5a1e5b){var _0x6aca30=_0x55ff74;const _0x2072a8=this[_0x6aca30(0x328)]()+'/collaborator';await this['_HTTPService'][_0x6aca30(0x31c)](_0x2072a8,{'body':_0x5a1e5b});}},exports[_0x55ff74(0x3a8)]=bi([qe(0x0,a['Inject'](Y['HTTPService'])),qe(0x1,a[_0x55ff74(0x221)](a[_0x55ff74(0x133)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x25b9c0){var _0x2bfc78=_0x55ff74;return _0x25b9c0&&_0x25b9c0[_0x2bfc78(0x474)]&&Object[_0x2bfc78(0x198)][_0x2bfc78(0xfb)][_0x2bfc78(0x12c)](_0x25b9c0,_0x2bfc78(0x2d6))?_0x25b9c0[_0x2bfc78(0x2d6)]:_0x25b9c0;}var fe={'exports':{}};function Oi(_0x456913){var _0x174a59=_0x55ff74;throw new Error(_0x174a59(0x1a8)+_0x456913+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},yi=pe[_0x55ff74(0x1c3)],ze;function Q(){var _0x2b13c0=_0x55ff74;return ze||(ze=0x1,function(_0x75345f,_0x1557d2){(function(_0x2b5004,_0x484929){var _0x50cf21=_0x3571;_0x75345f[_0x50cf21(0x1c3)]=_0x484929();}(yi,function(){var _0x1bbd77=_0x1bbd77||function(_0x305c6e,_0x15fc25){var _0x56493e=_0x3571,_0xc4996a;if(typeof window<'u'&&window[_0x56493e(0x246)]&&(_0xc4996a=window[_0x56493e(0x246)]),typeof self<'u'&&self[_0x56493e(0x246)]&&(_0xc4996a=self[_0x56493e(0x246)]),typeof globalThis<'u'&&globalThis[_0x56493e(0x246)]&&(_0xc4996a=globalThis[_0x56493e(0x246)]),!_0xc4996a&&typeof window<'u'&&window[_0x56493e(0x34f)]&&(_0xc4996a=window[_0x56493e(0x34f)]),!_0xc4996a&&typeof Pe<'u'&&Pe[_0x56493e(0x246)]&&(_0xc4996a=Pe[_0x56493e(0x246)]),!_0xc4996a&&typeof Oi==_0x56493e(0x2a0))try{_0xc4996a=require(_0x56493e(0x246));}catch{}var _0x1a1c84=function(){var _0x31e509=_0x56493e;if(_0xc4996a){if(typeof _0xc4996a[_0x31e509(0x27f)]==_0x31e509(0x2a0))try{return _0xc4996a[_0x31e509(0x27f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc4996a[_0x31e509(0x412)]==_0x31e509(0x2a0))try{return _0xc4996a[_0x31e509(0x412)](0x4)[_0x31e509(0x111)]();}catch{}}throw new Error(_0x31e509(0x117));},_0x259114=Object[_0x56493e(0x274)]||(function(){function _0x24e903(){}return function(_0x10f457){var _0x4cc4cb=_0x3571,_0x40d999;return _0x24e903[_0x4cc4cb(0x198)]=_0x10f457,_0x40d999=new _0x24e903(),_0x24e903[_0x4cc4cb(0x198)]=null,_0x40d999;};}()),_0x40e8a3={},_0x53d082=_0x40e8a3[_0x56493e(0x20a)]={},_0x27680e=_0x53d082['Base']=(function(){return{'extend':function(_0x4f1847){var _0x3e095c=_0x3571,_0x7fdc6c=_0x259114(this);return _0x4f1847&&_0x7fdc6c[_0x3e095c(0x163)](_0x4f1847),(!_0x7fdc6c['hasOwnProperty']('init')||this[_0x3e095c(0x17f)]===_0x7fdc6c['init'])&&(_0x7fdc6c[_0x3e095c(0x17f)]=function(){var _0x222df0=_0x3e095c;_0x7fdc6c['$super']['init'][_0x222df0(0x2f1)](this,arguments);}),_0x7fdc6c['init']['prototype']=_0x7fdc6c,_0x7fdc6c['$super']=this,_0x7fdc6c;},'create':function(){var _0x45c2f8=_0x3571,_0x487629=this[_0x45c2f8(0x2e4)]();return _0x487629[_0x45c2f8(0x17f)][_0x45c2f8(0x2f1)](_0x487629,arguments),_0x487629;},'init':function(){},'mixIn':function(_0x4737d2){var _0x142212=_0x3571;for(var _0x100614 in _0x4737d2)_0x4737d2['hasOwnProperty'](_0x100614)&&(this[_0x100614]=_0x4737d2[_0x100614]);_0x4737d2['hasOwnProperty'](_0x142212(0x17d))&&(this[_0x142212(0x17d)]=_0x4737d2[_0x142212(0x17d)]);},'clone':function(){var _0x200d86=_0x3571;return this['init'][_0x200d86(0x198)][_0x200d86(0x2e4)](this);}};}()),_0x3ee900=_0x53d082[_0x56493e(0x396)]=_0x27680e['extend']({'init':function(_0x573b3f,_0x28724a){var _0x58d530=_0x56493e;_0x573b3f=this['words']=_0x573b3f||[],_0x28724a!=_0x15fc25?this[_0x58d530(0x18c)]=_0x28724a:this[_0x58d530(0x18c)]=_0x573b3f[_0x58d530(0x305)]*0x4;},'toString':function(_0x34b026){return(_0x34b026||_0x5376de)['stringify'](this);},'concat':function(_0xba9bc5){var _0x2615e9=_0x56493e,_0x78d355=this[_0x2615e9(0x21e)],_0x37f60e=_0xba9bc5['words'],_0x37e702=this[_0x2615e9(0x18c)],_0x17ecb4=_0xba9bc5['sigBytes'];if(this[_0x2615e9(0x346)](),_0x37e702%0x4)for(var _0x113d18=0x0;_0x113d18<_0x17ecb4;_0x113d18++){var _0x5c4b48=_0x37f60e[_0x113d18>>>0x2]>>>0x18-_0x113d18%0x4*0x8&0xff;_0x78d355[_0x37e702+_0x113d18>>>0x2]|=_0x5c4b48<<0x18-(_0x37e702+_0x113d18)%0x4*0x8;}else{for(var _0x34c4da=0x0;_0x34c4da<_0x17ecb4;_0x34c4da+=0x4)_0x78d355[_0x37e702+_0x34c4da>>>0x2]=_0x37f60e[_0x34c4da>>>0x2];}return this[_0x2615e9(0x18c)]+=_0x17ecb4,this;},'clamp':function(){var _0xa287c6=_0x56493e,_0x498217=this[_0xa287c6(0x21e)],_0x2cbebe=this[_0xa287c6(0x18c)];_0x498217[_0x2cbebe>>>0x2]&=0xffffffff<<0x20-_0x2cbebe%0x4*0x8,_0x498217[_0xa287c6(0x305)]=_0x305c6e[_0xa287c6(0x446)](_0x2cbebe/0x4);},'clone':function(){var _0x23542c=_0x56493e,_0x5f4803=_0x27680e[_0x23542c(0x330)][_0x23542c(0x12c)](this);return _0x5f4803[_0x23542c(0x21e)]=this[_0x23542c(0x21e)][_0x23542c(0x472)](0x0),_0x5f4803;},'random':function(_0x1fb56e){for(var _0x432131=[],_0x450810=0x0;_0x450810<_0x1fb56e;_0x450810+=0x4)_0x432131['push'](_0x1a1c84());return new _0x3ee900['init'](_0x432131,_0x1fb56e);}}),_0x532733=_0x40e8a3[_0x56493e(0x19a)]={},_0x5376de=_0x532733[_0x56493e(0x3f5)]={'stringify':function(_0x1eb840){var _0x591991=_0x56493e;for(var _0x594ca9=_0x1eb840[_0x591991(0x21e)],_0x4ff791=_0x1eb840[_0x591991(0x18c)],_0x5ed5b4=[],_0x368923=0x0;_0x368923<_0x4ff791;_0x368923++){var _0x47bcf3=_0x594ca9[_0x368923>>>0x2]>>>0x18-_0x368923%0x4*0x8&0xff;_0x5ed5b4[_0x591991(0x395)]((_0x47bcf3>>>0x4)[_0x591991(0x17d)](0x10)),_0x5ed5b4[_0x591991(0x395)]((_0x47bcf3&0xf)[_0x591991(0x17d)](0x10));}return _0x5ed5b4[_0x591991(0x308)]('');},'parse':function(_0x5156e0){var _0x15501e=_0x56493e;for(var _0x72185d=_0x5156e0[_0x15501e(0x305)],_0x2caf11=[],_0x29f1c5=0x0;_0x29f1c5<_0x72185d;_0x29f1c5+=0x2)_0x2caf11[_0x29f1c5>>>0x3]|=parseInt(_0x5156e0[_0x15501e(0x142)](_0x29f1c5,0x2),0x10)<<0x18-_0x29f1c5%0x8*0x4;return new _0x3ee900['init'](_0x2caf11,_0x72185d/0x2);}},_0x54a9b4=_0x532733['Latin1']={'stringify':function(_0x223c9d){var _0x57ce07=_0x56493e;for(var _0xeacc61=_0x223c9d[_0x57ce07(0x21e)],_0x25eb55=_0x223c9d[_0x57ce07(0x18c)],_0x27bbf2=[],_0x52aa04=0x0;_0x52aa04<_0x25eb55;_0x52aa04++){var _0x1b2556=_0xeacc61[_0x52aa04>>>0x2]>>>0x18-_0x52aa04%0x4*0x8&0xff;_0x27bbf2[_0x57ce07(0x395)](String['fromCharCode'](_0x1b2556));}return _0x27bbf2[_0x57ce07(0x308)]('');},'parse':function(_0x3219ee){var _0x42b48c=_0x56493e;for(var _0x2e7650=_0x3219ee[_0x42b48c(0x305)],_0x4204bc=[],_0x8ce6e2=0x0;_0x8ce6e2<_0x2e7650;_0x8ce6e2++)_0x4204bc[_0x8ce6e2>>>0x2]|=(_0x3219ee[_0x42b48c(0x38b)](_0x8ce6e2)&0xff)<<0x18-_0x8ce6e2%0x4*0x8;return new _0x3ee900[(_0x42b48c(0x17f))](_0x4204bc,_0x2e7650);}},_0x4a117d=_0x532733['Utf8']={'stringify':function(_0x172070){var _0x443a6e=_0x56493e;try{return decodeURIComponent(escape(_0x54a9b4[_0x443a6e(0x2bc)](_0x172070)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x992ac9){var _0x34e42b=_0x56493e;return _0x54a9b4[_0x34e42b(0x29b)](unescape(encodeURIComponent(_0x992ac9)));}},_0x3a65c8=_0x53d082[_0x56493e(0x319)]=_0x27680e['extend']({'reset':function(){var _0x9b4912=_0x56493e;this[_0x9b4912(0x155)]=new _0x3ee900[(_0x9b4912(0x17f))](),this[_0x9b4912(0x230)]=0x0;},'_append':function(_0x1fcfbe){var _0x45c0aa=_0x56493e;typeof _0x1fcfbe==_0x45c0aa(0x10c)&&(_0x1fcfbe=_0x4a117d[_0x45c0aa(0x29b)](_0x1fcfbe)),this[_0x45c0aa(0x155)]['concat'](_0x1fcfbe),this[_0x45c0aa(0x230)]+=_0x1fcfbe[_0x45c0aa(0x18c)];},'_process':function(_0xf78b75){var _0x492d30=_0x56493e,_0x26e2b7,_0x5617e9=this[_0x492d30(0x155)],_0x1e35a2=_0x5617e9[_0x492d30(0x21e)],_0x15f5d8=_0x5617e9[_0x492d30(0x18c)],_0x20b1c2=this['blockSize'],_0x3ff7c3=_0x20b1c2*0x4,_0x4dc556=_0x15f5d8/_0x3ff7c3;_0xf78b75?_0x4dc556=_0x305c6e[_0x492d30(0x446)](_0x4dc556):_0x4dc556=_0x305c6e[_0x492d30(0x1e4)]((_0x4dc556|0x0)-this[_0x492d30(0x1f7)],0x0);var _0x5e58e0=_0x4dc556*_0x20b1c2,_0x3e593b=_0x305c6e['min'](_0x5e58e0*0x4,_0x15f5d8);if(_0x5e58e0){for(var _0x4c1d83=0x0;_0x4c1d83<_0x5e58e0;_0x4c1d83+=_0x20b1c2)this[_0x492d30(0x46f)](_0x1e35a2,_0x4c1d83);_0x26e2b7=_0x1e35a2[_0x492d30(0x2f6)](0x0,_0x5e58e0),_0x5617e9[_0x492d30(0x18c)]-=_0x3e593b;}return new _0x3ee900['init'](_0x26e2b7,_0x3e593b);},'clone':function(){var _0x4125ad=_0x56493e,_0xcb3fea=_0x27680e[_0x4125ad(0x330)][_0x4125ad(0x12c)](this);return _0xcb3fea['_data']=this['_data']['clone'](),_0xcb3fea;},'_minBufferSize':0x0});_0x53d082[_0x56493e(0x35f)]=_0x3a65c8[_0x56493e(0x2e4)]({'cfg':_0x27680e[_0x56493e(0x2e4)](),'init':function(_0x5b3c0a){var _0x3aafb2=_0x56493e;this[_0x3aafb2(0x20e)]=this[_0x3aafb2(0x20e)][_0x3aafb2(0x2e4)](_0x5b3c0a),this[_0x3aafb2(0x12b)]();},'reset':function(){var _0x3212fa=_0x56493e;_0x3a65c8['reset'][_0x3212fa(0x12c)](this),this['_doReset']();},'update':function(_0x343965){var _0x437858=_0x56493e;return this[_0x437858(0x365)](_0x343965),this[_0x437858(0x1c0)](),this;},'finalize':function(_0x2edd34){var _0x57ffe4=_0x56493e;_0x2edd34&&this[_0x57ffe4(0x365)](_0x2edd34);var _0x4d3509=this[_0x57ffe4(0x2af)]();return _0x4d3509;},'blockSize':0x10,'_createHelper':function(_0x5e844e){return function(_0xe61fd6,_0x49cb35){var _0x5e1342=_0x3571;return new _0x5e844e[(_0x5e1342(0x17f))](_0x49cb35)[_0x5e1342(0x17c)](_0xe61fd6);};},'_createHmacHelper':function(_0x4ce5ab){return function(_0x504aef,_0x29db72){var _0x20cad=_0x3571;return new _0x4021a4[(_0x20cad(0x1de))][(_0x20cad(0x17f))](_0x4ce5ab,_0x29db72)[_0x20cad(0x17c)](_0x504aef);};}});var _0x4021a4=_0x40e8a3[_0x56493e(0x10d)]={};return _0x40e8a3;}(Math);return _0x1bbd77;}));}(pe)),pe[_0x2b13c0(0x1c3)];}var Ie={'exports':{}},Ni=Ie[_0x55ff74(0x1c3)],Je;function yt(){return Je||(Je=0x1,function(_0x194f18,_0x3160d7){(function(_0x2e5c12,_0x14c2f5){var _0x13e1fd=_0x3571;_0x194f18[_0x13e1fd(0x1c3)]=_0x14c2f5(Q());}(Ni,function(_0x524bd7){var _0x4821d7=_0x3571;return(function(){var _0x219168=_0x3571,_0x37c8d0=_0x524bd7,_0x5e9257=_0x37c8d0['lib'],_0x17a8d8=_0x5e9257[_0x219168(0x396)],_0x1567e9=_0x37c8d0[_0x219168(0x19a)];_0x1567e9[_0x219168(0x360)]={'stringify':function(_0x48631b){var _0x5865bd=_0x219168,_0x771f1=_0x48631b['words'],_0xe26d2a=_0x48631b[_0x5865bd(0x18c)],_0x19d94e=this[_0x5865bd(0x24f)];_0x48631b['clamp']();for(var _0x4eb0ed=[],_0x72cde6=0x0;_0x72cde6<_0xe26d2a;_0x72cde6+=0x3)for(var _0x4ba91e=_0x771f1[_0x72cde6>>>0x2]>>>0x18-_0x72cde6%0x4*0x8&0xff,_0x2caf2c=_0x771f1[_0x72cde6+0x1>>>0x2]>>>0x18-(_0x72cde6+0x1)%0x4*0x8&0xff,_0x5b8fbc=_0x771f1[_0x72cde6+0x2>>>0x2]>>>0x18-(_0x72cde6+0x2)%0x4*0x8&0xff,_0xc0eb71=_0x4ba91e<<0x10|_0x2caf2c<<0x8|_0x5b8fbc,_0x29d2bd=0x0;_0x29d2bd<0x4&&_0x72cde6+_0x29d2bd*0.75<_0xe26d2a;_0x29d2bd++)_0x4eb0ed['push'](_0x19d94e[_0x5865bd(0x2c6)](_0xc0eb71>>>0x6*(0x3-_0x29d2bd)&0x3f));var _0x5059c7=_0x19d94e[_0x5865bd(0x2c6)](0x40);if(_0x5059c7){for(;_0x4eb0ed['length']%0x4;)_0x4eb0ed['push'](_0x5059c7);}return _0x4eb0ed['join']('');},'parse':function(_0x4f9c06){var _0x5a9376=_0x219168,_0x4c2c33=_0x4f9c06[_0x5a9376(0x305)],_0x2a4e10=this[_0x5a9376(0x24f)],_0x17397d=this[_0x5a9376(0x2d4)];if(!_0x17397d){_0x17397d=this[_0x5a9376(0x2d4)]=[];for(var _0x678824=0x0;_0x678824<_0x2a4e10[_0x5a9376(0x305)];_0x678824++)_0x17397d[_0x2a4e10[_0x5a9376(0x38b)](_0x678824)]=_0x678824;}var _0x275f47=_0x2a4e10[_0x5a9376(0x2c6)](0x40);if(_0x275f47){var _0x2a2210=_0x4f9c06[_0x5a9376(0x24b)](_0x275f47);_0x2a2210!==-0x1&&(_0x4c2c33=_0x2a2210);}return _0x4b97f0(_0x4f9c06,_0x4c2c33,_0x17397d);},'_map':_0x219168(0x11f)};function _0x4b97f0(_0x4e82e5,_0x50daa8,_0x1c8355){var _0x5451e7=_0x219168;for(var _0x41c379=[],_0xba8275=0x0,_0x166d26=0x0;_0x166d26<_0x50daa8;_0x166d26++)if(_0x166d26%0x4){var _0x475cb0=_0x1c8355[_0x4e82e5['charCodeAt'](_0x166d26-0x1)]<<_0x166d26%0x4*0x2,_0x3476ca=_0x1c8355[_0x4e82e5[_0x5451e7(0x38b)](_0x166d26)]>>>0x6-_0x166d26%0x4*0x2,_0xf25747=_0x475cb0|_0x3476ca;_0x41c379[_0xba8275>>>0x2]|=_0xf25747<<0x18-_0xba8275%0x4*0x8,_0xba8275++;}return _0x17a8d8[_0x5451e7(0x274)](_0x41c379,_0xba8275);}}()),_0x524bd7[_0x4821d7(0x19a)][_0x4821d7(0x360)];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge[_0x55ff74(0x1c3)],Xe;function Di(){var _0x142db2=_0x55ff74;return Xe||(Xe=0x1,function(_0x1c6b06,_0x352ae3){(function(_0x42f366,_0x1cd5e5){_0x1c6b06['exports']=_0x1cd5e5(Q());}(Ui,function(_0xede1fe){return function(_0x51ba53){var _0x4ca7e5=_0x3571,_0x276b36=_0xede1fe,_0x32f7eb=_0x276b36[_0x4ca7e5(0x20a)],_0x167f08=_0x32f7eb['WordArray'],_0x42381c=_0x32f7eb[_0x4ca7e5(0x35f)],_0x3602aa=_0x276b36[_0x4ca7e5(0x10d)],_0x197f72=[];(function(){var _0x3a7e02=_0x4ca7e5;for(var _0x3a16b1=0x0;_0x3a16b1<0x40;_0x3a16b1++)_0x197f72[_0x3a16b1]=_0x51ba53[_0x3a7e02(0x180)](_0x51ba53['sin'](_0x3a16b1+0x1))*0x100000000|0x0;}());var _0x508745=_0x3602aa[_0x4ca7e5(0x2d7)]=_0x42381c['extend']({'_doReset':function(){var _0x3066a2=_0x4ca7e5;this[_0x3066a2(0x452)]=new _0x167f08['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5ea5f4,_0x173fee){var _0x369700=_0x4ca7e5;for(var _0x51589a=0x0;_0x51589a<0x10;_0x51589a++){var _0x221554=_0x173fee+_0x51589a,_0x3ee5ee=_0x5ea5f4[_0x221554];_0x5ea5f4[_0x221554]=(_0x3ee5ee<<0x8|_0x3ee5ee>>>0x18)&0xff00ff|(_0x3ee5ee<<0x18|_0x3ee5ee>>>0x8)&0xff00ff00;}var _0x12ae27=this[_0x369700(0x452)][_0x369700(0x21e)],_0x11433b=_0x5ea5f4[_0x173fee+0x0],_0x5ba404=_0x5ea5f4[_0x173fee+0x1],_0x1b1932=_0x5ea5f4[_0x173fee+0x2],_0x50c51f=_0x5ea5f4[_0x173fee+0x3],_0x188be7=_0x5ea5f4[_0x173fee+0x4],_0x41fc04=_0x5ea5f4[_0x173fee+0x5],_0x576171=_0x5ea5f4[_0x173fee+0x6],_0x17005d=_0x5ea5f4[_0x173fee+0x7],_0x4e8d0f=_0x5ea5f4[_0x173fee+0x8],_0x50f618=_0x5ea5f4[_0x173fee+0x9],_0x4bc7a7=_0x5ea5f4[_0x173fee+0xa],_0x44edbd=_0x5ea5f4[_0x173fee+0xb],_0x6ea662=_0x5ea5f4[_0x173fee+0xc],_0x36ac2f=_0x5ea5f4[_0x173fee+0xd],_0x2200af=_0x5ea5f4[_0x173fee+0xe],_0x38c7c2=_0x5ea5f4[_0x173fee+0xf],_0x3ad0cd=_0x12ae27[0x0],_0x223d08=_0x12ae27[0x1],_0x3b246f=_0x12ae27[0x2],_0x4942ca=_0x12ae27[0x3];_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x11433b,0x7,_0x197f72[0x0]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x5ba404,0xc,_0x197f72[0x1]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x1b1932,0x11,_0x197f72[0x2]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x50c51f,0x16,_0x197f72[0x3]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x188be7,0x7,_0x197f72[0x4]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x41fc04,0xc,_0x197f72[0x5]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x576171,0x11,_0x197f72[0x6]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x17005d,0x16,_0x197f72[0x7]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x4e8d0f,0x7,_0x197f72[0x8]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x50f618,0xc,_0x197f72[0x9]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x4bc7a7,0x11,_0x197f72[0xa]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x44edbd,0x16,_0x197f72[0xb]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x6ea662,0x7,_0x197f72[0xc]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x36ac2f,0xc,_0x197f72[0xd]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x2200af,0x11,_0x197f72[0xe]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x38c7c2,0x16,_0x197f72[0xf]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x5ba404,0x5,_0x197f72[0x10]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x576171,0x9,_0x197f72[0x11]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x44edbd,0xe,_0x197f72[0x12]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x11433b,0x14,_0x197f72[0x13]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x41fc04,0x5,_0x197f72[0x14]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x4bc7a7,0x9,_0x197f72[0x15]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x38c7c2,0xe,_0x197f72[0x16]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x188be7,0x14,_0x197f72[0x17]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x50f618,0x5,_0x197f72[0x18]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x2200af,0x9,_0x197f72[0x19]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x50c51f,0xe,_0x197f72[0x1a]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x4e8d0f,0x14,_0x197f72[0x1b]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x36ac2f,0x5,_0x197f72[0x1c]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x1b1932,0x9,_0x197f72[0x1d]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x17005d,0xe,_0x197f72[0x1e]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x6ea662,0x14,_0x197f72[0x1f]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x41fc04,0x4,_0x197f72[0x20]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x4e8d0f,0xb,_0x197f72[0x21]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x44edbd,0x10,_0x197f72[0x22]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x2200af,0x17,_0x197f72[0x23]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x5ba404,0x4,_0x197f72[0x24]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x188be7,0xb,_0x197f72[0x25]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x17005d,0x10,_0x197f72[0x26]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x4bc7a7,0x17,_0x197f72[0x27]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x36ac2f,0x4,_0x197f72[0x28]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x11433b,0xb,_0x197f72[0x29]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x50c51f,0x10,_0x197f72[0x2a]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x576171,0x17,_0x197f72[0x2b]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x50f618,0x4,_0x197f72[0x2c]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x6ea662,0xb,_0x197f72[0x2d]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x38c7c2,0x10,_0x197f72[0x2e]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x1b1932,0x17,_0x197f72[0x2f]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x11433b,0x6,_0x197f72[0x30]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x17005d,0xa,_0x197f72[0x31]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x2200af,0xf,_0x197f72[0x32]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x41fc04,0x15,_0x197f72[0x33]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x6ea662,0x6,_0x197f72[0x34]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x50c51f,0xa,_0x197f72[0x35]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x4bc7a7,0xf,_0x197f72[0x36]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x5ba404,0x15,_0x197f72[0x37]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x4e8d0f,0x6,_0x197f72[0x38]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x38c7c2,0xa,_0x197f72[0x39]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x576171,0xf,_0x197f72[0x3a]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x36ac2f,0x15,_0x197f72[0x3b]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x188be7,0x6,_0x197f72[0x3c]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x44edbd,0xa,_0x197f72[0x3d]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x1b1932,0xf,_0x197f72[0x3e]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x50f618,0x15,_0x197f72[0x3f]),_0x12ae27[0x0]=_0x12ae27[0x0]+_0x3ad0cd|0x0,_0x12ae27[0x1]=_0x12ae27[0x1]+_0x223d08|0x0,_0x12ae27[0x2]=_0x12ae27[0x2]+_0x3b246f|0x0,_0x12ae27[0x3]=_0x12ae27[0x3]+_0x4942ca|0x0;},'_doFinalize':function(){var _0x4326e6=_0x4ca7e5,_0x9d950a=this['_data'],_0x26a616=_0x9d950a['words'],_0x4283b0=this[_0x4326e6(0x230)]*0x8,_0x49a759=_0x9d950a['sigBytes']*0x8;_0x26a616[_0x49a759>>>0x5]|=0x80<<0x18-_0x49a759%0x20;var _0x3b4db2=_0x51ba53[_0x4326e6(0x2a3)](_0x4283b0/0x100000000),_0x528685=_0x4283b0;_0x26a616[(_0x49a759+0x40>>>0x9<<0x4)+0xf]=(_0x3b4db2<<0x8|_0x3b4db2>>>0x18)&0xff00ff|(_0x3b4db2<<0x18|_0x3b4db2>>>0x8)&0xff00ff00,_0x26a616[(_0x49a759+0x40>>>0x9<<0x4)+0xe]=(_0x528685<<0x8|_0x528685>>>0x18)&0xff00ff|(_0x528685<<0x18|_0x528685>>>0x8)&0xff00ff00,_0x9d950a['sigBytes']=(_0x26a616[_0x4326e6(0x305)]+0x1)*0x4,this[_0x4326e6(0x1c0)]();for(var _0x46c21c=this['_hash'],_0x10fb7f=_0x46c21c['words'],_0x18239e=0x0;_0x18239e<0x4;_0x18239e++){var _0x3b6792=_0x10fb7f[_0x18239e];_0x10fb7f[_0x18239e]=(_0x3b6792<<0x8|_0x3b6792>>>0x18)&0xff00ff|(_0x3b6792<<0x18|_0x3b6792>>>0x8)&0xff00ff00;}return _0x46c21c;},'clone':function(){var _0xc9850f=_0x4ca7e5,_0x200951=_0x42381c[_0xc9850f(0x330)]['call'](this);return _0x200951['_hash']=this[_0xc9850f(0x452)][_0xc9850f(0x330)](),_0x200951;}});function _0x31993e(_0x5adcd3,_0x1dbabf,_0x513ba5,_0x362714,_0x583014,_0x1242cc,_0x4d2d59){var _0x1ae7ff=_0x5adcd3+(_0x1dbabf&_0x513ba5|~_0x1dbabf&_0x362714)+_0x583014+_0x4d2d59;return(_0x1ae7ff<<_0x1242cc|_0x1ae7ff>>>0x20-_0x1242cc)+_0x1dbabf;}function _0x5927e4(_0x3fc373,_0x244a63,_0xdace2c,_0x40f116,_0x5672f1,_0x4baf78,_0x2f01e3){var _0x57f8d5=_0x3fc373+(_0x244a63&_0x40f116|_0xdace2c&~_0x40f116)+_0x5672f1+_0x2f01e3;return(_0x57f8d5<<_0x4baf78|_0x57f8d5>>>0x20-_0x4baf78)+_0x244a63;}function _0x37d02f(_0x3214ce,_0x2f99ea,_0x1f0057,_0x2d1d92,_0x110674,_0x333b70,_0x4c4098){var _0x27200f=_0x3214ce+(_0x2f99ea^_0x1f0057^_0x2d1d92)+_0x110674+_0x4c4098;return(_0x27200f<<_0x333b70|_0x27200f>>>0x20-_0x333b70)+_0x2f99ea;}function _0x5dc31a(_0xa1ea65,_0x1fb250,_0x2429eb,_0xc11b0d,_0xbd1e47,_0x27012b,_0x1e0104){var _0x3a9493=_0xa1ea65+(_0x2429eb^(_0x1fb250|~_0xc11b0d))+_0xbd1e47+_0x1e0104;return(_0x3a9493<<_0x27012b|_0x3a9493>>>0x20-_0x27012b)+_0x1fb250;}_0x276b36[_0x4ca7e5(0x2d7)]=_0x42381c[_0x4ca7e5(0x316)](_0x508745),_0x276b36[_0x4ca7e5(0x2ae)]=_0x42381c[_0x4ca7e5(0x226)](_0x508745);}(Math),_0xede1fe['MD5'];}));}(ge)),ge[_0x142db2(0x1c3)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x18b798=_0x55ff74;return Ze||(Ze=0x1,function(_0x2fa467,_0x4154f2){(function(_0x2882b4,_0x5b82f6){var _0x11dde7=_0x3571;_0x2fa467[_0x11dde7(0x1c3)]=_0x5b82f6(Q());}(Ai,function(_0x543ef1){var _0x155cea=_0x3571;return(function(){var _0x1d54ab=_0x3571,_0x4e776f=_0x543ef1,_0x462e02=_0x4e776f['lib'],_0x55c9be=_0x462e02[_0x1d54ab(0x396)],_0x4aa5=_0x462e02[_0x1d54ab(0x35f)],_0x1b02f8=_0x4e776f[_0x1d54ab(0x10d)],_0x40d549=[],_0x53bd35=_0x1b02f8[_0x1d54ab(0x207)]=_0x4aa5[_0x1d54ab(0x2e4)]({'_doReset':function(){var _0x1c03c6=_0x1d54ab;this[_0x1c03c6(0x452)]=new _0x55c9be[(_0x1c03c6(0x17f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x130a3b,_0xb5f745){var _0x3d7476=_0x1d54ab;for(var _0x5a5a58=this['_hash'][_0x3d7476(0x21e)],_0x305088=_0x5a5a58[0x0],_0x46e329=_0x5a5a58[0x1],_0x3d56ee=_0x5a5a58[0x2],_0xc77eb4=_0x5a5a58[0x3],_0x5ce69a=_0x5a5a58[0x4],_0x3cb87c=0x0;_0x3cb87c<0x50;_0x3cb87c++){if(_0x3cb87c<0x10)_0x40d549[_0x3cb87c]=_0x130a3b[_0xb5f745+_0x3cb87c]|0x0;else{var _0x9e6782=_0x40d549[_0x3cb87c-0x3]^_0x40d549[_0x3cb87c-0x8]^_0x40d549[_0x3cb87c-0xe]^_0x40d549[_0x3cb87c-0x10];_0x40d549[_0x3cb87c]=_0x9e6782<<0x1|_0x9e6782>>>0x1f;}var _0x3c4fec=(_0x305088<<0x5|_0x305088>>>0x1b)+_0x5ce69a+_0x40d549[_0x3cb87c];_0x3cb87c<0x14?_0x3c4fec+=(_0x46e329&_0x3d56ee|~_0x46e329&_0xc77eb4)+0x5a827999:_0x3cb87c<0x28?_0x3c4fec+=(_0x46e329^_0x3d56ee^_0xc77eb4)+0x6ed9eba1:_0x3cb87c<0x3c?_0x3c4fec+=(_0x46e329&_0x3d56ee|_0x46e329&_0xc77eb4|_0x3d56ee&_0xc77eb4)-0x70e44324:_0x3c4fec+=(_0x46e329^_0x3d56ee^_0xc77eb4)-0x359d3e2a,_0x5ce69a=_0xc77eb4,_0xc77eb4=_0x3d56ee,_0x3d56ee=_0x46e329<<0x1e|_0x46e329>>>0x2,_0x46e329=_0x305088,_0x305088=_0x3c4fec;}_0x5a5a58[0x0]=_0x5a5a58[0x0]+_0x305088|0x0,_0x5a5a58[0x1]=_0x5a5a58[0x1]+_0x46e329|0x0,_0x5a5a58[0x2]=_0x5a5a58[0x2]+_0x3d56ee|0x0,_0x5a5a58[0x3]=_0x5a5a58[0x3]+_0xc77eb4|0x0,_0x5a5a58[0x4]=_0x5a5a58[0x4]+_0x5ce69a|0x0;},'_doFinalize':function(){var _0x569ed5=_0x1d54ab,_0x4355cb=this[_0x569ed5(0x155)],_0x165058=_0x4355cb[_0x569ed5(0x21e)],_0x46fdae=this[_0x569ed5(0x230)]*0x8,_0x1d153c=_0x4355cb[_0x569ed5(0x18c)]*0x8;return _0x165058[_0x1d153c>>>0x5]|=0x80<<0x18-_0x1d153c%0x20,_0x165058[(_0x1d153c+0x40>>>0x9<<0x4)+0xe]=Math[_0x569ed5(0x2a3)](_0x46fdae/0x100000000),_0x165058[(_0x1d153c+0x40>>>0x9<<0x4)+0xf]=_0x46fdae,_0x4355cb[_0x569ed5(0x18c)]=_0x165058['length']*0x4,this['_process'](),this[_0x569ed5(0x452)];},'clone':function(){var _0xee81f1=_0x1d54ab,_0x56c492=_0x4aa5[_0xee81f1(0x330)]['call'](this);return _0x56c492[_0xee81f1(0x452)]=this['_hash'][_0xee81f1(0x330)](),_0x56c492;}});_0x4e776f[_0x1d54ab(0x207)]=_0x4aa5['_createHelper'](_0x53bd35),_0x4e776f[_0x1d54ab(0x373)]=_0x4aa5['_createHmacHelper'](_0x53bd35);}()),_0x543ef1[_0x155cea(0x207)];}));}(me)),me[_0x18b798(0x1c3)];}var Ce={'exports':{}},wi=Ce['exports'],Qe;function Li(){var _0x533e74=_0x55ff74;return Qe||(Qe=0x1,function(_0x4dce8c,_0x36120b){(function(_0x1d4a16,_0xc6fddf){var _0x56f3b5=_0x3571;_0x4dce8c[_0x56f3b5(0x1c3)]=_0xc6fddf(Q());}(wi,function(_0x1ffecf){(function(){var _0xa59814=_0x3571,_0x31a1dc=_0x1ffecf,_0x189b42=_0x31a1dc[_0xa59814(0x20a)],_0xc9a959=_0x189b42[_0xa59814(0x387)],_0x202e3e=_0x31a1dc[_0xa59814(0x19a)],_0x4ab9dc=_0x202e3e[_0xa59814(0x455)],_0x421719=_0x31a1dc[_0xa59814(0x10d)];_0x421719[_0xa59814(0x1de)]=_0xc9a959[_0xa59814(0x2e4)]({'init':function(_0x17c5dc,_0x301ef8){var _0x4fd815=_0xa59814;_0x17c5dc=this['_hasher']=new _0x17c5dc[(_0x4fd815(0x17f))](),typeof _0x301ef8==_0x4fd815(0x10c)&&(_0x301ef8=_0x4ab9dc[_0x4fd815(0x29b)](_0x301ef8));var _0x39f344=_0x17c5dc[_0x4fd815(0x1ac)],_0x177c42=_0x39f344*0x4;_0x301ef8[_0x4fd815(0x18c)]>_0x177c42&&(_0x301ef8=_0x17c5dc[_0x4fd815(0x17c)](_0x301ef8)),_0x301ef8[_0x4fd815(0x346)]();for(var _0x5f4b94=this[_0x4fd815(0x3e9)]=_0x301ef8['clone'](),_0x290e9e=this[_0x4fd815(0x42a)]=_0x301ef8[_0x4fd815(0x330)](),_0x2a3bdb=_0x5f4b94[_0x4fd815(0x21e)],_0x28a0ee=_0x290e9e[_0x4fd815(0x21e)],_0x9d6dbf=0x0;_0x9d6dbf<_0x39f344;_0x9d6dbf++)_0x2a3bdb[_0x9d6dbf]^=0x5c5c5c5c,_0x28a0ee[_0x9d6dbf]^=0x36363636;_0x5f4b94[_0x4fd815(0x18c)]=_0x290e9e[_0x4fd815(0x18c)]=_0x177c42,this['reset']();},'reset':function(){var _0x4f2df3=_0xa59814,_0x4ad4e3=this['_hasher'];_0x4ad4e3[_0x4f2df3(0x12b)](),_0x4ad4e3[_0x4f2df3(0x2fd)](this[_0x4f2df3(0x42a)]);},'update':function(_0x3e62e2){var _0x5b141e=_0xa59814;return this[_0x5b141e(0x38d)][_0x5b141e(0x2fd)](_0x3e62e2),this;},'finalize':function(_0x45ae00){var _0x5372c8=_0xa59814,_0x41ff56=this[_0x5372c8(0x38d)],_0x2d57c9=_0x41ff56[_0x5372c8(0x17c)](_0x45ae00);_0x41ff56[_0x5372c8(0x12b)]();var _0x5bedc6=_0x41ff56[_0x5372c8(0x17c)](this[_0x5372c8(0x3e9)]['clone']()['concat'](_0x2d57c9));return _0x5bedc6;}});}());}));}(Ce)),Ce[_0x533e74(0x1c3)];}var Mi=Ee['exports'],et;function Nt(){return et||(et=0x1,function(_0x1c0212,_0x1e4e31){(function(_0x1e087e,_0x4840a7,_0x154c03){var _0x468b52=_0x3571;_0x1c0212[_0x468b52(0x1c3)]=_0x4840a7(Q(),Pi(),Li());}(Mi,function(_0x2c41d7){var _0x3e42f6=_0x3571;return(function(){var _0x715387=_0x3571,_0x25b436=_0x2c41d7,_0x420c73=_0x25b436[_0x715387(0x20a)],_0x4df6c7=_0x420c73[_0x715387(0x387)],_0x15ef06=_0x420c73[_0x715387(0x396)],_0x4ba802=_0x25b436[_0x715387(0x10d)],_0x22f231=_0x4ba802[_0x715387(0x2d7)],_0x3c5eb6=_0x4ba802['EvpKDF']=_0x4df6c7['extend']({'cfg':_0x4df6c7[_0x715387(0x2e4)]({'keySize':0x80/0x20,'hasher':_0x22f231,'iterations':0x1}),'init':function(_0x425d05){var _0x56f094=_0x715387;this[_0x56f094(0x20e)]=this[_0x56f094(0x20e)]['extend'](_0x425d05);},'compute':function(_0x3cfa37,_0x55ac35){var _0x1f3bbe=_0x715387;for(var _0x59e345,_0xb52d8c=this[_0x1f3bbe(0x20e)],_0x4f6866=_0xb52d8c[_0x1f3bbe(0x3ee)][_0x1f3bbe(0x274)](),_0x4641ae=_0x15ef06[_0x1f3bbe(0x274)](),_0x615ed=_0x4641ae[_0x1f3bbe(0x21e)],_0x14717a=_0xb52d8c['keySize'],_0x5c8be6=_0xb52d8c[_0x1f3bbe(0x3d5)];_0x615ed['length']<_0x14717a;){_0x59e345&&_0x4f6866[_0x1f3bbe(0x2fd)](_0x59e345),_0x59e345=_0x4f6866[_0x1f3bbe(0x2fd)](_0x3cfa37)[_0x1f3bbe(0x17c)](_0x55ac35),_0x4f6866[_0x1f3bbe(0x12b)]();for(var _0x1b0c1a=0x1;_0x1b0c1a<_0x5c8be6;_0x1b0c1a++)_0x59e345=_0x4f6866['finalize'](_0x59e345),_0x4f6866['reset']();_0x4641ae[_0x1f3bbe(0x263)](_0x59e345);}return _0x4641ae['sigBytes']=_0x14717a*0x4,_0x4641ae;}});_0x25b436[_0x715387(0x260)]=function(_0x27a9f2,_0x4a637c,_0x50c6ca){var _0x2dd02b=_0x715387;return _0x3c5eb6[_0x2dd02b(0x274)](_0x50c6ca)[_0x2dd02b(0x17a)](_0x27a9f2,_0x4a637c);};}()),_0x2c41d7[_0x3e42f6(0x260)];}));}(Ee)),Ee['exports'];}function _0x12dd(){var _0x241630=['retryConnectingInterval','@univerjs/core','INVITE_CODE_HAS_BEEN_UES','allowed','_emitMembers','JOIN','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CLOSE_ROOM','UNAUTHENTICATED','baseRev','_onRemoteACK','collaMsg','objectType','image/jpg','ENSURE_SNAPSHOT_EXECUTION','LICENSE_EXPORT_SIZE_EXCEEDED','NoPadding','__Key__','OFFLINE','PERSON','Failed\x20to\x20update\x20permission\x20point','resolve','UNDEFINED','iterations','_revisionService','CollaborationSession','collaborators','_retryCount','sendChangesetTimeout','_resendTimer','changesets','Plugin','encryptBlock','updateCollaborator','/role','requestParams','encode','isTransformMutationsWithChangesetSuccess','decrypt','INGEST','&source=','PasswordBasedCipher','NO_OTHER_CLIENTS_EDITING','_oKey','@univerjs-pro/collaboration','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','image/jpeg','hasher','?size=','symbol','JOINING','state','appendMutation','getCurrentUser','Hex','infoRsp','_transformStateCache','/universer-api/snapshot','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LIVESHARE_TERMINATE','COLLAB_SUBMIT_CHANGESET_URL','CHANGESET_SHOULD_RETRY','IPermissionService','HttpExport','getLatestCsReqIdBySid','_eventService','sheets','_transformService','ERROR_EXCEED_SIZE','_getUndoStack','/universer-api/uniscript','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','serializeCombRequest','open$','_telemetryInfo','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','FAIL','[DataLoaderService]','CollaborationSessionService','map','_toggleOnline','TOO_MANY_REQUESTS','unitId','randomBytes','delete','unpad','YUUMI_URL_COL_OUT_OF_RANGE','ivSize','getTime','take','_initUnitPermissionChange','_transformSelections','executeCommand','set','keySize','LOCAL_CACHE_INTERVAL','forEach','LEAVE','_onConnectionFailed','title','_injector','subUnitId','_getRedoStack','HELLO','loginUrlKey','getTypeOfUnitDisposed$','_incrementRevisionNumber','_iKey','ReplaySubject','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','setShowComponents','commentUpdate$','_changesetReqId','closeSession','INVALID_INVITE_CODE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','code','UniverNetworkPlugin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','POST','FetchingMissState','INetworkConditionService','members$','onTransformRemoteChangesetByIMECache','body','image/gif','workbook','UNIVER_DOC','_remoteChangesetQueue','subject','/collaborator','awaiting_with_pending','CompressMutationService','_onConflict','_submitChangeset','ceil','setCurrentUser','toggleOffline','_univerInstanceService','HttpImport','fetchThroughInterceptors','_startCollaboration','list','append','c1Prime','getSnapshotAPIPath','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_hash','onMissingChangesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Utf8','copyFileMeta','Error\x20on\x20receiving\x20event','_doReset','_sendHeartbeatTimer','CollaborationEntity','objectID','onlyLocal','_prevBlock','WECHAT_HAS_BEEN_BOUND','b64DecodeUnicode','WorkbookEditablePermission','_getLoginPath','LIVESHARE_FETCH_OPERATIONS','status','HEARTBEAT_INTERVAL','/allowed','_lockTransition','_nRounds','_substituteUndoStack','ILogService','_keySchedule','42DJDNvQ','eventID','ILocalCacheService','shareReplay','_doProcessBlock','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SUCCUSS','slice','SUBMIT_CHANGESET','__esModule','message$','{fileID}','reverse','removeMember','YUUMI_SUBSCRIPTION_NOT_FOUND','_snapshotServerService','CommentService','_resendWithTimeout','permissionRejEvent','mutations','40utTDCk','_onFetchMissResult','UNRECOGNIZED','processBlock','EmptyMutation','_changesetSessionId','socket\x20close','PendingState','hasOwnProperty','_scheduleCompleteTimestamp','_updateStatus','_shouldReportTelemetry','_onUserLeave','_listenToNetworkCondition','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HEARTBEAT','SNAPSHOT_SERVER_URL_KEY','_onRemoteRetry','params','getUnitType','_key','getFocusedUnit','DEFAULT_WS_SESSION_TICKET_URL','pending','parseProtocolChangeset','string','algo','DocCollaborationEntity','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','readInt32LE','createCollaborator','[OfflineState]:\x20received\x20changeset.','x-univer-host','ONLINE','_parse','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','userID','IImageIoService','isArray','reduce','CHANGESET_REVISION_CONFILICT','_startTelemetryCollaborationNewChangeset','_onUserJoin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COLLAB_WEB_SOCKET_URL_KEY','editing\x20status\x20changed\x20to','_initRequestHeader','_state','getAllMembers','UNIVER_PROJECT','salt','[FetchMissState]','get','ALREADY_EXISTS','/universer-api/snapshot/','reset','call','_applyRemoteChangeset','_roomMembers','getTypeOfUnitAdded$','[CollaborationState]:\x20apply\x20error!','range','Cipher','IConfigService','_memberService','_stopTelemetryCollaborationNewChangeset','_collabSessionService','_entityInit$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RxDisposable','INVITE_CODE_REQUIRED','registerDependencies','format','reject','data','unit-cache-','onRemoteAck','c2Prime','substr','JOIN_ROOM_PERMISSION_DENIED','joinEvent','UnitSnapshot','liveShareNewHost','CONFLICT','MemberService','setConfig','has','snapshotServerUrl','result','[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.','_tryEnsureSocket','startTime','confirm','SheetsSelectionsService','DataLoaderService','_candidateSocket','CONNECTOR_DATA_TOO_LARGE','_data','objectActions','_resendTimeout','fromCollab','_keyPriorReset','_schedule','_replaceFileID','mapDocumentTypeToUniverType','toggleOnline','HEARTBEAT_TIMEOUT','reconnect','_commentUpdate$','_handlerCallback','HTTPService','mixIn','LocaleService','FileId','replace','[CollaborationUndoRedoService]','@univerjs/telemetry','_status$','createDecryptor','Subject','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','repeat','add','\x20in\x20_schedule.','_collaborationUIEventService','CollaborativeUndoRedoService','getCurrentRevOfUnit','_redoStacks','dispose','_waitForHeartbeatResponse','state$','onTransformSelections','_permissionService','_compressMutationService','compute','LICENSE_DISTRO_REJECTED','finalize','toString','CHANGESET_REJ','init','abs','_socketReady','actions','_onLocalMutation','/universer-api/oidc/authpage','RECV','getUnitId','filter','_onJoinRoomEvent','_getSignURL','startsWith','padding','sigBytes','UNKNOWN_CODE','101646VwagjU','\x20-\x20','_ENC_XFORM_MODE','complete','url','ERROR_IMAGE','_substituteRedoStack','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UnitStatus','prototype','loadOfflineData','enc','Injector','_throwTelemetryCollaborationNewChangeset','_onRemoteRejected','APPLY_REVISION_CONFILICT','random','_config','Encryptor','image/png','compose','_transformIMECache','session.join-failed','_socket$','collaboration_new_changeset','Could\x20not\x20dynamically\x20require\x20\x22','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformRemoteChangesetByIMECache','rev','blockSize','localeService','reqId','PSEUDO_FETCH_MISSING_RESULT','_exhaustRemoteChangesetQueue','_getAPIPrefix','ConflictState','_entities','textRanges','COLLAB_WEB_SOCKET_URL','USERS_ENTER','_socket','IAuthzIoService','selections','[OfflineState]:\x20received\x20rejection.','ThresholdInterceptorFactory','getInterceptPoints','_instanceService','_disableEditing','every','_process','CommandType','withCredentials','exports','_sendingTimer','leaveEvent','UserProfileImg','_telemetryService','sid','defineProperty','dispose$','@univerjs/sheets','merge','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','action','AES','onStateChange','OTHER_CLIENT_EDITING','_handler','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_isPermissionRej','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','touchDependencies','@univerjs-pro/license','SessionStatus','awaiting','IMentionIOService','YUUMI_AI_RUN_FAILED','resend','CollaborationImageIoService','HMAC','GLOBAL_ROOMS_CNT_EXCEEDS','now','size','cmd','memberID','max','getImage','getUnit','_httpService','transformMutationsWithChangeset','[CollaborationSessionService]:\x20socket\x20error','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_URL_KEY','_localCacheService','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','unitId\x20is\x20not\x20found','find','APPLY_DUPLICATED','_createInitialStateImpl','next','refreshPermission','deserializeToCombResponse','SerializableCipher','_minBufferSize','?url=','event$','_initCloseConn','onTransformRemoteChangesetByStateCache','ITransformService','_checkMissing','pauseCollaboration','catch','_updateState','_sender','AwaitingWithPendingState','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CMD','_unitID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SHA1','CollaborationEvent','UNIVER_SHEET','lib','send','SOCKET_FAILED','_onMessage','cfg','unitID','ws://127.0.0.1:8000/universer-api/comb/connect','DisposableCollection','RETRY_CONNECTING_MAX_COUNT_KEY','CollaborationUIEventId','SOCKET_FAILED_RETRY','/universer-api/authz','isInternalEditorID','_doCryptBlock','name','UNISCRIPT_RUN','conflict','APPLY_PERMISSION_DENIED','firstValueFrom','_unlockTransition','words','originalMeta','signUrlServerUrl','Inject','saveImage','_init','getOwnPropertyDescriptor','loadDoc','_createHmacHelper','unknown','EMAIL_HAS_BEEN_BOUND','/object','SheetCollaborationEntity','CBC','fetchMiss','csRejEvent','_createSocket','UPDATE_PERMISSION_OBJ','_nDataBytes','_type','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ICollaborationSocketService','CollaborationController','People','275254warvsI','YUUMI_NO_CUBOID_FOR_QUESTION','routeKey','requireSession','createIdentifier','_removeRoom','97846NkUMhI','updateOfflineData','_DEC_XFORM_MODE','location','_commentService','ImageUploadStatusType','onSendChangeset','mode','/object/','method','crypto','transformUndoRedo','97986yNgeWA','MSG_FOR_ERROR','BASE64','indexOf','_clearUndo','_logService','SnapshotServerOverHTTPService','_map','mergeOverrideWithDependencies','updatePermissionPoint','post','CollaborationSocketService','Workbook','type','AwaitingState','session.room-not-exists','COMPRESS_MUTATION_SEND','subscribe','[CollaborationEntity]','_imageSourceCache','change$','emitEvent','LOGIN_URL_KEY','rxjs','EvpKDF','_socketMessageSubscription','SYNCED','concat','auth.needGotoLoginAlert','BehaviorSubject','CollaborationUIEventService','_getCurrentRevision','Rectangle','members','getMemberID','/unit/','transformStack\x20failed!','_clearTimeoutTimer','_configService','isTransformChangesetsSuccess','deleteCollaborator','/universer-api/file/{fileID}/sign-url','UniverInstanceType','_transformStack','create','_clearLocalCache','save\x20fail\x20reason\x20is\x20','setWaitCount','YUUMI_UNABLE_LOAD_URL','NEW_CHANGESETS','StreamCipher','enableAuthServer','_transformUndoredo','_clearRedo','ImageSourceType','getRandomValues','fetchMissingChangesets','responseType','NOT_FOUND','getRoom','_invKeySchedule','_localeService','_updateLocalCache','toDisposable','JOIN_ROOM_FAILED','session.room-permission-denied','clear','4005056BWADBs','_registerDependencies','SUBMIT_CHANGESET_TIMEOUT','getDeserializedSheetBlock','updatePermissionObjEvent','_pendingMutations','onTransformState','_replayCachedMutations','[CollaborationSessionService]','_joinRoom','m2Prime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client-socket-service','/universer-api/user/session-ticket','Optional','saveSheetBlock','parse','_commandService','INVALID_ARGUMENT','_transitionLocked','revision','function','_timeoutTimer','includes','floor','disposeWithMe','_onRemoteChangeset','_clearCollaborationTimeoutTimer','16SliOsn','getValue','encrypt','collaboratorID','onRemoteChangeset','LOGIN_FAILED','shouldCloseConn','HmacMD5','_doFinalize','OfflineState','entityInit$','SnapshotService','_undoRedoService','connection\x20error','SEND_CHANGESET_TIMEOUT_KEY','override','href','MergeInterceptorFactory','stopTime','createEncryptor','CipherParams','stringify','MentionIoHttpService','ciphertext','enableOfflineEditing','_members','key','UniverCollaborationPlugin','APPLY_REJECT','LIVESHARE_REQUEST_HOST','_getSendChangesetTimeout','charAt','_members$','_doCreateSocket','getMember','_executeRemoteChangeset','listRoles','onRemoteRej','2YMFrIJ','_getUploadFileURL','[PendingState]:\x20received\x20rejection.','_onConnectionOpen','fetching\x20missing\x20changesets\x20from\x20','pad','patch','_reverseMap','[SyncedState]:\x20received\x20rejection.','default','MD5','Undefined','_collaborationSessionService','_collaborationTimeoutTimer','csAckEvent','\x20to\x20','_HTTPService','_mode','CHANGESET_ACK','_waitCount','_userManagerService','src','INVITE_CODE_ALREADY_BOUND','extend','_clearScheduledTask','/-/object/-/batch_allowed','_scheduleCollaborationTimeoutTimer','localCacheService','_collaborationPaused','FETCH_MISS','[PendingState]:\x20received\x20acknowledgement.','_state$','/universer-api/comb','getGlobalObject','_queuedRemoteChangesets','Disposable','apply','downloadEndpointUrl','not_collab','AWAITING_WITH_PENDING','SetSelectionsOperation','splice','online$','debug','synced','csShouldRetryEvent','IUndoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','update','headers','_initMergeInterceptor','updateMember','APPLY_NON_SEQUENTIAL_REVISION','avatar','onRemoteRetry','LICENSE_MAX_UNITS_EXCEEDED','length','Quantity','[CollaborationSession]','join','session.room-full','UNIVER_UNKNOWN','_socketService','getUnitOnRev','RichTextEditingMutation','close$','/block/','getActiveSheet','status$','INTERNAL_ERROR','2184897vbxGQm','transformSelections','uploadFileServerUrl','_createHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','from','BufferedBlockAlgorithm','UniverCollaborationClientPlugin','MUTATION','put','session','_cipher','equals','isTransformMutationsWithChangesetFailure','toStringTag','PY_RUNTIME_SCRIPT_ERROR','_initDependencies','\x0aAfter:\x20','incrementRevOfUnit','sessionStatus$','OTHER_CLIENTS_EDITING','_getAPIPrefixPath','RevisionService','roles','USER_NOT_INVITED_CODE','hostname','UPDATE_CURSOR','_awaitingChangeset','enableSingleActiveInstanceLock','clone','kdf','unitInfo$','JOIN_ROOM_NOT_EXISTS','fromCharCode','collabWebSocketUrl','takeUntil','PERMISSION_DENIED','PENDING','_acknowledgedAwaitingChangeset','_change$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pipe','target','focused$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onSyncEditingCollabCursor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_toggleOffline','_getCtorByUniverType','/fetchmissing?from=','PERMISSION_REJ','clamp','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','failed\x20to\x20apply\x20missed\x20changesets!','onMissedChangesetFetched','awaitingChangeset','getResourcesRequest','socketService','origin','AWAITING','msCrypto','enableCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','UnitEmbedded','_unitInfo$','error$','MentionType','YUUMI_ALL_TABLES_IS_INVALID','registerHTTPInterceptor','pluginName','&to=','IUniverInstanceService','_singleActiveUnitService','execute','IDLE','error','Hasher','Base64','HTTPRequest','sessionStatus','_clearRetryConnectingTimer','_sessions','_append','_xformMode','buffer','_sendHeartbeat','COMMENT_UPDATE','_sessionStatus$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_syncEditingCollabCursor','LIVESHARE_OPERATION','_getDownloadEndpointURL','JOIN_ROOM_FULL','delay','_retryConnectingTimer','saveSnapshot','HmacSHA1','IContextService','editingUnit','updateSnapshot','_createHandler','transformChangesets','_showConflictNotification','USERS_LEAVE','_event$','Pkcs7','fetch_missing','ITelemetryService','asObservable','createInstance','initWorkbookPermissionChange','ISocketService','683815ANgkwK','_tryReconnect','AUTHZ_URL_KEY','parseChangesetToProtocol','Base','getConfig','SHOULD_CLOSE_CONN','onLocalMutation','charCodeAt','_iv','_hasher','ISnapshotServerService','_transformRemoteChangesetByStateCache','offline','_onRecvEvent','_sheetTransformSelectionsService','ICommandService','batchAllowed','push','WordArray','MOBILE_HAS_BEEN_BOUND','_roomCreated$','collaboration-client.local-cache-service','SyncedState','onStarting','rxjs/operators','COMPRESS_MUTATION_APPLY','NOT_COLLAB','textEncoder','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_rescheduleHeartbeat','SheetTransformSelectionsService','onCommandExecuted','_decreaseWaiting','_snapshotService','[UniverCollaborationClientPlugin]','generateRandomId','AuthzIoHttpService','_networkConditionService','ERROR_IMAGE_TYPE','_createInitialState','__creator','onTransformIME','interceptor','LICENSE_IMPORT_SIZE_EXCEEDED','LIVESHARE_NEW_HOST','_onCombEvent','close','UNIVER_SLIDE','SEND_CHANGESET_TIMEOUT','_fetchMissChangesets','decryptBlock','unsubscribe','YUUMI_ASYNCIO_CANCELLED','Tools','putCollaborators','getImageSourceCache','_clearHeartbeatTimer','OpenSSL'];_0x12dd=function(){return _0x241630;};return _0x12dd();}var Te={'exports':{}},xi=Te[_0x55ff74(0x1c3)],tt;function Ut(){var _0x1b7054=_0x55ff74;return tt||(tt=0x1,function(_0x195e21,_0x501721){(function(_0x25c7ff,_0x56baa5,_0x1f04c4){var _0x20094b=_0x3571;_0x195e21[_0x20094b(0x1c3)]=_0x56baa5(Q(),Nt());}(xi,function(_0x52fcdb){var _0x2d9687=_0x3571;_0x52fcdb[_0x2d9687(0x20a)][_0x2d9687(0x132)]||function(_0x18900c){var _0x213dcd=_0x2d9687,_0x32355b=_0x52fcdb,_0x1b5193=_0x32355b[_0x213dcd(0x20a)],_0x20f151=_0x1b5193[_0x213dcd(0x387)],_0x1222ad=_0x1b5193[_0x213dcd(0x396)],_0x5b7e25=_0x1b5193[_0x213dcd(0x319)],_0x39977c=_0x32355b[_0x213dcd(0x19a)];_0x39977c[_0x213dcd(0x455)];var _0x367484=_0x39977c[_0x213dcd(0x360)],_0x1b6ea8=_0x32355b[_0x213dcd(0x10d)],_0x4133cb=_0x1b6ea8[_0x213dcd(0x260)],_0x139f91=_0x1b5193['Cipher']=_0x5b7e25[_0x213dcd(0x2e4)]({'cfg':_0x20f151[_0x213dcd(0x2e4)](),'createEncryptor':function(_0x2d4572,_0x3f7041){var _0x4d9a11=_0x213dcd;return this['create'](this[_0x4d9a11(0x190)],_0x2d4572,_0x3f7041);},'createDecryptor':function(_0x17356f,_0x21963f){var _0x12b0a1=_0x213dcd;return this['create'](this[_0x12b0a1(0x23e)],_0x17356f,_0x21963f);},'init':function(_0x52b21e,_0x57bd77,_0x11208c){var _0x222e2a=_0x213dcd;this[_0x222e2a(0x20e)]=this[_0x222e2a(0x20e)][_0x222e2a(0x2e4)](_0x11208c),this[_0x222e2a(0x366)]=_0x52b21e,this['_key']=_0x57bd77,this[_0x222e2a(0x12b)]();},'reset':function(){var _0x30fbcf=_0x213dcd;_0x5b7e25[_0x30fbcf(0x12b)][_0x30fbcf(0x12c)](this),this[_0x30fbcf(0x458)]();},'process':function(_0xfe8ae1){var _0x5e6ee3=_0x213dcd;return this[_0x5e6ee3(0x365)](_0xfe8ae1),this[_0x5e6ee3(0x1c0)]();},'finalize':function(_0x40685e){var _0x3f9a78=_0x213dcd;_0x40685e&&this[_0x3f9a78(0x365)](_0x40685e);var _0x12a6d1=this['_doFinalize']();return _0x12a6d1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ffd9b(_0x1f6205){var _0x1b580e=_0x3571;return typeof _0x1f6205==_0x1b580e(0x10c)?_0x4dad1a:_0x19d47b;}return function(_0x55873e){return{'encrypt':function(_0x106c23,_0x4f0745,_0x2b570f){var _0x39ca05=_0x3571;return _0x2ffd9b(_0x4f0745)[_0x39ca05(0x2a9)](_0x55873e,_0x106c23,_0x4f0745,_0x2b570f);},'decrypt':function(_0x7138e7,_0x5a3482,_0x33b8e7){var _0xf2d533=_0x3571;return _0x2ffd9b(_0x5a3482)[_0xf2d533(0x3e4)](_0x55873e,_0x7138e7,_0x5a3482,_0x33b8e7);}};};}())});_0x1b5193[_0x213dcd(0x27a)]=_0x139f91['extend']({'_doFinalize':function(){var _0x2d623a=_0x213dcd,_0x203cb7=this[_0x2d623a(0x1c0)](!0x0);return _0x203cb7;},'blockSize':0x1});var _0x12b0b4=_0x32355b[_0x213dcd(0x243)]={},_0x152da1=_0x1b5193['BlockCipherMode']=_0x20f151[_0x213dcd(0x2e4)]({'createEncryptor':function(_0x951972,_0x1833c8){var _0x5e99d7=_0x213dcd;return this['Encryptor'][_0x5e99d7(0x274)](_0x951972,_0x1833c8);},'createDecryptor':function(_0x2a44fd,_0x28f15c){var _0x160cde=_0x213dcd;return this['Decryptor'][_0x160cde(0x274)](_0x2a44fd,_0x28f15c);},'init':function(_0x37192f,_0x49fadb){var _0x443339=_0x213dcd;this[_0x443339(0x31e)]=_0x37192f,this['_iv']=_0x49fadb;}}),_0x526969=_0x12b0b4[_0x213dcd(0x22b)]=(function(){var _0x2858e9=_0x213dcd,_0x2b796d=_0x152da1[_0x2858e9(0x2e4)]();_0x2b796d[_0x2858e9(0x1a1)]=_0x2b796d['extend']({'processBlock':function(_0x5cdd87,_0xa87621){var _0x1bb816=_0x2858e9,_0x129169=this[_0x1bb816(0x31e)],_0x1de35c=_0x129169[_0x1bb816(0x1ac)];_0x47081b['call'](this,_0x5cdd87,_0xa87621,_0x1de35c),_0x129169[_0x1bb816(0x3de)](_0x5cdd87,_0xa87621),this['_prevBlock']=_0x5cdd87[_0x1bb816(0x472)](_0xa87621,_0xa87621+_0x1de35c);}}),_0x2b796d[_0x2858e9(0x3ec)]=_0x2b796d[_0x2858e9(0x2e4)]({'processBlock':function(_0x43ab3a,_0x3be9cf){var _0x3a440f=_0x2858e9,_0x325c70=this[_0x3a440f(0x31e)],_0x514a06=_0x325c70[_0x3a440f(0x1ac)],_0x3cd222=_0x43ab3a[_0x3a440f(0x472)](_0x3be9cf,_0x3be9cf+_0x514a06);_0x325c70[_0x3a440f(0x3b6)](_0x43ab3a,_0x3be9cf),_0x47081b[_0x3a440f(0x12c)](this,_0x43ab3a,_0x3be9cf,_0x514a06),this[_0x3a440f(0x45d)]=_0x3cd222;}});function _0x47081b(_0x4574c2,_0x3ff15d,_0x3c1e93){var _0x4935e3=_0x2858e9,_0x4b6523,_0x1bed96=this['_iv'];_0x1bed96?(_0x4b6523=_0x1bed96,this[_0x4935e3(0x38c)]=_0x18900c):_0x4b6523=this[_0x4935e3(0x45d)];for(var _0x19728a=0x0;_0x19728a<_0x3c1e93;_0x19728a++)_0x4574c2[_0x3ff15d+_0x19728a]^=_0x4b6523[_0x19728a];}return _0x2b796d;}()),_0xe8a7dc=_0x32355b['pad']={},_0x1f7460=_0xe8a7dc[_0x213dcd(0x37c)]={'pad':function(_0x397d80,_0x10cc4f){var _0x340659=_0x213dcd;for(var _0x318f80=_0x10cc4f*0x4,_0x361498=_0x318f80-_0x397d80[_0x340659(0x18c)]%_0x318f80,_0x2bb931=_0x361498<<0x18|_0x361498<<0x10|_0x361498<<0x8|_0x361498,_0x2d3899=[],_0x2b6d2d=0x0;_0x2b6d2d<_0x361498;_0x2b6d2d+=0x4)_0x2d3899['push'](_0x2bb931);var _0x44f6bc=_0x1222ad[_0x340659(0x274)](_0x2d3899,_0x361498);_0x397d80[_0x340659(0x263)](_0x44f6bc);},'unpad':function(_0x1dc94b){var _0x87ec3e=_0x213dcd,_0x4b0a4a=_0x1dc94b[_0x87ec3e(0x21e)][_0x1dc94b[_0x87ec3e(0x18c)]-0x1>>>0x2]&0xff;_0x1dc94b[_0x87ec3e(0x18c)]-=_0x4b0a4a;}};_0x1b5193['BlockCipher']=_0x139f91[_0x213dcd(0x2e4)]({'cfg':_0x139f91[_0x213dcd(0x20e)]['extend']({'mode':_0x526969,'padding':_0x1f7460}),'reset':function(){var _0x1d0e88=_0x213dcd,_0x199306;_0x139f91['reset'][_0x1d0e88(0x12c)](this);var _0x2eec2b=this['cfg'],_0x331724=_0x2eec2b['iv'],_0x1e3823=_0x2eec2b[_0x1d0e88(0x243)];this['_xformMode']==this[_0x1d0e88(0x190)]?_0x199306=_0x1e3823[_0x1d0e88(0x2ba)]:(_0x199306=_0x1e3823['createDecryptor'],this[_0x1d0e88(0x1f7)]=0x1),this['_mode']&&this[_0x1d0e88(0x2de)][_0x1d0e88(0x3ac)]==_0x199306?this[_0x1d0e88(0x2de)][_0x1d0e88(0x17f)](this,_0x331724&&_0x331724[_0x1d0e88(0x21e)]):(this[_0x1d0e88(0x2de)]=_0x199306[_0x1d0e88(0x12c)](_0x1e3823,this,_0x331724&&_0x331724[_0x1d0e88(0x21e)]),this[_0x1d0e88(0x2de)]['__creator']=_0x199306);},'_doProcessBlock':function(_0x19fce1,_0xa24714){var _0x4e75f6=_0x213dcd;this[_0x4e75f6(0x2de)][_0x4e75f6(0xf6)](_0x19fce1,_0xa24714);},'_doFinalize':function(){var _0x48107d=_0x213dcd,_0x3be707,_0x4ef3c6=this['cfg'][_0x48107d(0x18b)];return this[_0x48107d(0x366)]==this[_0x48107d(0x190)]?(_0x4ef3c6[_0x48107d(0x2d2)](this[_0x48107d(0x155)],this['blockSize']),_0x3be707=this[_0x48107d(0x1c0)](!0x0)):(_0x3be707=this[_0x48107d(0x1c0)](!0x0),_0x4ef3c6[_0x48107d(0x414)](_0x3be707)),_0x3be707;},'blockSize':0x80/0x20});var _0x59709e=_0x1b5193[_0x213dcd(0x2bb)]=_0x20f151['extend']({'init':function(_0x51e4e5){var _0x5970df=_0x213dcd;this[_0x5970df(0x163)](_0x51e4e5);},'toString':function(_0x4f307b){var _0xa4dad3=_0x213dcd;return(_0x4f307b||this['formatter'])[_0xa4dad3(0x2bc)](this);}}),_0x42e402=_0x32355b[_0x213dcd(0x13c)]={},_0x344df3=_0x42e402[_0x213dcd(0x3bd)]={'stringify':function(_0x30e7fd){var _0x279739=_0x213dcd,_0x477843,_0x34f779=_0x30e7fd[_0x279739(0x2be)],_0x410e65=_0x30e7fd[_0x279739(0x126)];return _0x410e65?_0x477843=_0x1222ad[_0x279739(0x274)]([0x53616c74,0x65645f5f])['concat'](_0x410e65)['concat'](_0x34f779):_0x477843=_0x34f779,_0x477843[_0x279739(0x17d)](_0x367484);},'parse':function(_0x1bf0e6){var _0x236e65=_0x213dcd,_0x16a6ca,_0x46b380=_0x367484[_0x236e65(0x29b)](_0x1bf0e6),_0x14c7c7=_0x46b380[_0x236e65(0x21e)];return _0x14c7c7[0x0]==0x53616c74&&_0x14c7c7[0x1]==0x65645f5f&&(_0x16a6ca=_0x1222ad[_0x236e65(0x274)](_0x14c7c7[_0x236e65(0x472)](0x2,0x4)),_0x14c7c7[_0x236e65(0x2f6)](0x0,0x4),_0x46b380['sigBytes']-=0x10),_0x59709e[_0x236e65(0x274)]({'ciphertext':_0x46b380,'salt':_0x16a6ca});}},_0x19d47b=_0x1b5193[_0x213dcd(0x1f6)]=_0x20f151[_0x213dcd(0x2e4)]({'cfg':_0x20f151['extend']({'format':_0x344df3}),'encrypt':function(_0x32d65f,_0x383cc6,_0x5504b6,_0x224b56){var _0x5b7727=_0x213dcd;_0x224b56=this[_0x5b7727(0x20e)][_0x5b7727(0x2e4)](_0x224b56);var _0x8f11f9=_0x32d65f[_0x5b7727(0x2ba)](_0x5504b6,_0x224b56),_0x2b9f36=_0x8f11f9[_0x5b7727(0x17c)](_0x383cc6),_0x253527=_0x8f11f9[_0x5b7727(0x20e)];return _0x59709e[_0x5b7727(0x274)]({'ciphertext':_0x2b9f36,'key':_0x5504b6,'iv':_0x253527['iv'],'algorithm':_0x32d65f,'mode':_0x253527[_0x5b7727(0x243)],'padding':_0x253527[_0x5b7727(0x18b)],'blockSize':_0x32d65f[_0x5b7727(0x1ac)],'formatter':_0x224b56[_0x5b7727(0x13c)]});},'decrypt':function(_0x101664,_0x5e9fdd,_0x1006fa,_0x4621fc){var _0x48aea8=_0x213dcd;_0x4621fc=this['cfg'][_0x48aea8(0x2e4)](_0x4621fc),_0x5e9fdd=this[_0x48aea8(0x116)](_0x5e9fdd,_0x4621fc[_0x48aea8(0x13c)]);var _0x24ad1a=_0x101664[_0x48aea8(0x16a)](_0x1006fa,_0x4621fc)[_0x48aea8(0x17c)](_0x5e9fdd[_0x48aea8(0x2be)]);return _0x24ad1a;},'_parse':function(_0x4dcbc9,_0x5e7121){var _0x4903f8=_0x213dcd;return typeof _0x4dcbc9==_0x4903f8(0x10c)?_0x5e7121[_0x4903f8(0x29b)](_0x4dcbc9,this):_0x4dcbc9;}}),_0x587e51=_0x32355b[_0x213dcd(0x331)]={},_0x5e89b7=_0x587e51[_0x213dcd(0x3bd)]={'execute':function(_0x47838c,_0x41e1a5,_0x40b2d7,_0x2be1cf,_0x466c68){var _0x23209a=_0x213dcd;if(_0x2be1cf||(_0x2be1cf=_0x1222ad[_0x23209a(0x19f)](0x40/0x8)),_0x466c68)var _0x416744=_0x4133cb[_0x23209a(0x274)]({'keySize':_0x41e1a5+_0x40b2d7,'hasher':_0x466c68})[_0x23209a(0x17a)](_0x47838c,_0x2be1cf);else var _0x416744=_0x4133cb[_0x23209a(0x274)]({'keySize':_0x41e1a5+_0x40b2d7})[_0x23209a(0x17a)](_0x47838c,_0x2be1cf);var _0x3e5b16=_0x1222ad['create'](_0x416744[_0x23209a(0x21e)][_0x23209a(0x472)](_0x41e1a5),_0x40b2d7*0x4);return _0x416744[_0x23209a(0x18c)]=_0x41e1a5*0x4,_0x59709e['create']({'key':_0x416744,'iv':_0x3e5b16,'salt':_0x2be1cf});}},_0x4dad1a=_0x1b5193[_0x213dcd(0x3e7)]=_0x19d47b[_0x213dcd(0x2e4)]({'cfg':_0x19d47b[_0x213dcd(0x20e)][_0x213dcd(0x2e4)]({'kdf':_0x5e89b7}),'encrypt':function(_0x2eee4e,_0x28cc71,_0x1d7c5c,_0x37c3ee){var _0x54d2c6=_0x213dcd;_0x37c3ee=this[_0x54d2c6(0x20e)][_0x54d2c6(0x2e4)](_0x37c3ee);var _0x26f2ad=_0x37c3ee[_0x54d2c6(0x331)][_0x54d2c6(0x35c)](_0x1d7c5c,_0x2eee4e[_0x54d2c6(0x41d)],_0x2eee4e[_0x54d2c6(0x416)],_0x37c3ee['salt'],_0x37c3ee[_0x54d2c6(0x3ee)]);_0x37c3ee['iv']=_0x26f2ad['iv'];var _0x4e4aa4=_0x19d47b[_0x54d2c6(0x2a9)]['call'](this,_0x2eee4e,_0x28cc71,_0x26f2ad[_0x54d2c6(0x2c1)],_0x37c3ee);return _0x4e4aa4[_0x54d2c6(0x163)](_0x26f2ad),_0x4e4aa4;},'decrypt':function(_0x44360a,_0x25dd01,_0x58dc71,_0x1e9942){var _0x8fb35=_0x213dcd;_0x1e9942=this[_0x8fb35(0x20e)][_0x8fb35(0x2e4)](_0x1e9942),_0x25dd01=this[_0x8fb35(0x116)](_0x25dd01,_0x1e9942[_0x8fb35(0x13c)]);var _0x464736=_0x1e9942['kdf'][_0x8fb35(0x35c)](_0x58dc71,_0x44360a[_0x8fb35(0x41d)],_0x44360a[_0x8fb35(0x416)],_0x25dd01[_0x8fb35(0x126)],_0x1e9942['hasher']);_0x1e9942['iv']=_0x464736['iv'];var _0x2b686b=_0x19d47b[_0x8fb35(0x3e4)][_0x8fb35(0x12c)](this,_0x44360a,_0x25dd01,_0x464736[_0x8fb35(0x2c1)],_0x1e9942);return _0x2b686b;}});}();}));}(Te)),Te[_0x1b7054(0x1c3)];}var ki=fe[_0x55ff74(0x1c3)],it;function Hi(){var _0x16d0e7=_0x55ff74;return it||(it=0x1,function(_0x52e640,_0x285a32){(function(_0x10ced2,_0x3f0b8d,_0x5b7af6){_0x52e640['exports']=_0x3f0b8d(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x53265){var _0x3a92ba=_0x3571;return(function(){var _0x4e8682=_0x3571,_0xf1c505=_0x53265,_0x510bbb=_0xf1c505[_0x4e8682(0x20a)],_0x19a9b8=_0x510bbb['BlockCipher'],_0x20cfca=_0xf1c505[_0x4e8682(0x10d)],_0x3592d9=[],_0x605548=[],_0x44cac1=[],_0x2bc784=[],_0x3991bf=[],_0x1befcb=[],_0x3ab72f=[],_0x31e3a4=[],_0x19e4a3=[],_0x543303=[];(function(){for(var _0x1dcaea=[],_0x159d05=0x0;_0x159d05<0x100;_0x159d05++)_0x159d05<0x80?_0x1dcaea[_0x159d05]=_0x159d05<<0x1:_0x1dcaea[_0x159d05]=_0x159d05<<0x1^0x11b;for(var _0x1f5338=0x0,_0x3282cb=0x0,_0x159d05=0x0;_0x159d05<0x100;_0x159d05++){var _0x52d5df=_0x3282cb^_0x3282cb<<0x1^_0x3282cb<<0x2^_0x3282cb<<0x3^_0x3282cb<<0x4;_0x52d5df=_0x52d5df>>>0x8^_0x52d5df&0xff^0x63,_0x3592d9[_0x1f5338]=_0x52d5df,_0x605548[_0x52d5df]=_0x1f5338;var _0x2f1649=_0x1dcaea[_0x1f5338],_0x5e00df=_0x1dcaea[_0x2f1649],_0x1287c4=_0x1dcaea[_0x5e00df],_0x4eae40=_0x1dcaea[_0x52d5df]*0x101^_0x52d5df*0x1010100;_0x44cac1[_0x1f5338]=_0x4eae40<<0x18|_0x4eae40>>>0x8,_0x2bc784[_0x1f5338]=_0x4eae40<<0x10|_0x4eae40>>>0x10,_0x3991bf[_0x1f5338]=_0x4eae40<<0x8|_0x4eae40>>>0x18,_0x1befcb[_0x1f5338]=_0x4eae40;var _0x4eae40=_0x1287c4*0x1010101^_0x5e00df*0x10001^_0x2f1649*0x101^_0x1f5338*0x1010100;_0x3ab72f[_0x52d5df]=_0x4eae40<<0x18|_0x4eae40>>>0x8,_0x31e3a4[_0x52d5df]=_0x4eae40<<0x10|_0x4eae40>>>0x10,_0x19e4a3[_0x52d5df]=_0x4eae40<<0x8|_0x4eae40>>>0x18,_0x543303[_0x52d5df]=_0x4eae40,_0x1f5338?(_0x1f5338=_0x2f1649^_0x1dcaea[_0x1dcaea[_0x1dcaea[_0x1287c4^_0x2f1649]]],_0x3282cb^=_0x1dcaea[_0x1dcaea[_0x3282cb]]):_0x1f5338=_0x3282cb=0x1;}}());var _0x4dd73d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aa67c=_0x20cfca[_0x4e8682(0x1cf)]=_0x19a9b8[_0x4e8682(0x2e4)]({'_doReset':function(){var _0x5a9db6=_0x4e8682,_0x42f886;if(!(this[_0x5a9db6(0x467)]&&this[_0x5a9db6(0x159)]===this[_0x5a9db6(0x107)])){for(var _0x5c75e9=this['_keyPriorReset']=this[_0x5a9db6(0x107)],_0x206d51=_0x5c75e9['words'],_0x20c2c8=_0x5c75e9['sigBytes']/0x4,_0x3490f3=this[_0x5a9db6(0x467)]=_0x20c2c8+0x6,_0x4e4f5c=(_0x3490f3+0x1)*0x4,_0x47cef2=this[_0x5a9db6(0x46a)]=[],_0x3cb472=0x0;_0x3cb472<_0x4e4f5c;_0x3cb472++)_0x3cb472<_0x20c2c8?_0x47cef2[_0x3cb472]=_0x206d51[_0x3cb472]:(_0x42f886=_0x47cef2[_0x3cb472-0x1],_0x3cb472%_0x20c2c8?_0x20c2c8>0x6&&_0x3cb472%_0x20c2c8==0x4&&(_0x42f886=_0x3592d9[_0x42f886>>>0x18]<<0x18|_0x3592d9[_0x42f886>>>0x10&0xff]<<0x10|_0x3592d9[_0x42f886>>>0x8&0xff]<<0x8|_0x3592d9[_0x42f886&0xff]):(_0x42f886=_0x42f886<<0x8|_0x42f886>>>0x18,_0x42f886=_0x3592d9[_0x42f886>>>0x18]<<0x18|_0x3592d9[_0x42f886>>>0x10&0xff]<<0x10|_0x3592d9[_0x42f886>>>0x8&0xff]<<0x8|_0x3592d9[_0x42f886&0xff],_0x42f886^=_0x4dd73d[_0x3cb472/_0x20c2c8|0x0]<<0x18),_0x47cef2[_0x3cb472]=_0x47cef2[_0x3cb472-_0x20c2c8]^_0x42f886);for(var _0x574d75=this[_0x5a9db6(0x284)]=[],_0x2fac8c=0x0;_0x2fac8c<_0x4e4f5c;_0x2fac8c++){var _0x3cb472=_0x4e4f5c-_0x2fac8c;if(_0x2fac8c%0x4)var _0x42f886=_0x47cef2[_0x3cb472];else var _0x42f886=_0x47cef2[_0x3cb472-0x4];_0x2fac8c<0x4||_0x3cb472<=0x4?_0x574d75[_0x2fac8c]=_0x42f886:_0x574d75[_0x2fac8c]=_0x3ab72f[_0x3592d9[_0x42f886>>>0x18]]^_0x31e3a4[_0x3592d9[_0x42f886>>>0x10&0xff]]^_0x19e4a3[_0x3592d9[_0x42f886>>>0x8&0xff]]^_0x543303[_0x3592d9[_0x42f886&0xff]];}}},'encryptBlock':function(_0x1b8011,_0x514093){var _0x2ff1c7=_0x4e8682;this[_0x2ff1c7(0x217)](_0x1b8011,_0x514093,this[_0x2ff1c7(0x46a)],_0x44cac1,_0x2bc784,_0x3991bf,_0x1befcb,_0x3592d9);},'decryptBlock':function(_0x8810db,_0x185759){var _0x28a0df=_0x8810db[_0x185759+0x1];_0x8810db[_0x185759+0x1]=_0x8810db[_0x185759+0x3],_0x8810db[_0x185759+0x3]=_0x28a0df,this['_doCryptBlock'](_0x8810db,_0x185759,this['_invKeySchedule'],_0x3ab72f,_0x31e3a4,_0x19e4a3,_0x543303,_0x605548);var _0x28a0df=_0x8810db[_0x185759+0x1];_0x8810db[_0x185759+0x1]=_0x8810db[_0x185759+0x3],_0x8810db[_0x185759+0x3]=_0x28a0df;},'_doCryptBlock':function(_0x38b858,_0x27a949,_0x25b874,_0xb1a20e,_0x5be870,_0x536df1,_0x156d29,_0x6b254){var _0x1bbeaa=_0x4e8682;for(var _0x569c39=this[_0x1bbeaa(0x467)],_0x295ec6=_0x38b858[_0x27a949]^_0x25b874[0x0],_0x2065bd=_0x38b858[_0x27a949+0x1]^_0x25b874[0x1],_0x71509c=_0x38b858[_0x27a949+0x2]^_0x25b874[0x2],_0x173933=_0x38b858[_0x27a949+0x3]^_0x25b874[0x3],_0x4e6da0=0x4,_0x1545cb=0x1;_0x1545cb<_0x569c39;_0x1545cb++){var _0x7bde05=_0xb1a20e[_0x295ec6>>>0x18]^_0x5be870[_0x2065bd>>>0x10&0xff]^_0x536df1[_0x71509c>>>0x8&0xff]^_0x156d29[_0x173933&0xff]^_0x25b874[_0x4e6da0++],_0x2afedc=_0xb1a20e[_0x2065bd>>>0x18]^_0x5be870[_0x71509c>>>0x10&0xff]^_0x536df1[_0x173933>>>0x8&0xff]^_0x156d29[_0x295ec6&0xff]^_0x25b874[_0x4e6da0++],_0x5a57cd=_0xb1a20e[_0x71509c>>>0x18]^_0x5be870[_0x173933>>>0x10&0xff]^_0x536df1[_0x295ec6>>>0x8&0xff]^_0x156d29[_0x2065bd&0xff]^_0x25b874[_0x4e6da0++],_0x243a0b=_0xb1a20e[_0x173933>>>0x18]^_0x5be870[_0x295ec6>>>0x10&0xff]^_0x536df1[_0x2065bd>>>0x8&0xff]^_0x156d29[_0x71509c&0xff]^_0x25b874[_0x4e6da0++];_0x295ec6=_0x7bde05,_0x2065bd=_0x2afedc,_0x71509c=_0x5a57cd,_0x173933=_0x243a0b;}var _0x7bde05=(_0x6b254[_0x295ec6>>>0x18]<<0x18|_0x6b254[_0x2065bd>>>0x10&0xff]<<0x10|_0x6b254[_0x71509c>>>0x8&0xff]<<0x8|_0x6b254[_0x173933&0xff])^_0x25b874[_0x4e6da0++],_0x2afedc=(_0x6b254[_0x2065bd>>>0x18]<<0x18|_0x6b254[_0x71509c>>>0x10&0xff]<<0x10|_0x6b254[_0x173933>>>0x8&0xff]<<0x8|_0x6b254[_0x295ec6&0xff])^_0x25b874[_0x4e6da0++],_0x5a57cd=(_0x6b254[_0x71509c>>>0x18]<<0x18|_0x6b254[_0x173933>>>0x10&0xff]<<0x10|_0x6b254[_0x295ec6>>>0x8&0xff]<<0x8|_0x6b254[_0x2065bd&0xff])^_0x25b874[_0x4e6da0++],_0x243a0b=(_0x6b254[_0x173933>>>0x18]<<0x18|_0x6b254[_0x295ec6>>>0x10&0xff]<<0x10|_0x6b254[_0x2065bd>>>0x8&0xff]<<0x8|_0x6b254[_0x71509c&0xff])^_0x25b874[_0x4e6da0++];_0x38b858[_0x27a949]=_0x7bde05,_0x38b858[_0x27a949+0x1]=_0x2afedc,_0x38b858[_0x27a949+0x2]=_0x5a57cd,_0x38b858[_0x27a949+0x3]=_0x243a0b;},'keySize':0x100/0x20});_0xf1c505['AES']=_0x19a9b8[_0x4e8682(0x316)](_0x5aa67c);}()),_0x53265[_0x3a92ba(0x1cf)];}));}(fe)),fe[_0x16d0e7(0x1c3)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x1fa170=_0x55ff74;return rt||(rt=0x1,function(_0x480bae,_0x540d37){(function(_0x43d5be,_0x34c0e7){var _0x5d1fa9=_0x3571;_0x480bae[_0x5d1fa9(0x1c3)]=_0x34c0e7(Q());}(Fi,function(_0x10355d){var _0x3c6797=_0x3571;return _0x10355d['enc'][_0x3c6797(0x455)];}));}(be)),be[_0x1fa170(0x1c3)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){var _0x5a107d=_0x55ff74;return st||(st=0x1,function(_0x1cb449,_0x3adb46){(function(_0xfc9d49,_0x222c44){var _0x4facf0=_0x3571;_0x1cb449[_0x4facf0(0x1c3)]=_0x222c44(Q());}(Ki,function(_0x582cba){var _0x90a24b=_0x3571;return(function(){var _0x6cd2eb=_0x3571;if(typeof ArrayBuffer==_0x6cd2eb(0x2a0)){var _0x3842b2=_0x582cba,_0x1b84c7=_0x3842b2[_0x6cd2eb(0x20a)],_0x31a8b2=_0x1b84c7['WordArray'],_0x4433eb=_0x31a8b2[_0x6cd2eb(0x17f)],_0x552b9b=_0x31a8b2['init']=function(_0x547267){var _0x3e168c=_0x6cd2eb;if(_0x547267 instanceof ArrayBuffer&&(_0x547267=new Uint8Array(_0x547267)),(_0x547267 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x547267 instanceof Uint8ClampedArray||_0x547267 instanceof Int16Array||_0x547267 instanceof Uint16Array||_0x547267 instanceof Int32Array||_0x547267 instanceof Uint32Array||_0x547267 instanceof Float32Array||_0x547267 instanceof Float64Array)&&(_0x547267=new Uint8Array(_0x547267[_0x3e168c(0x367)],_0x547267['byteOffset'],_0x547267['byteLength'])),_0x547267 instanceof Uint8Array){for(var _0x50c2ad=_0x547267['byteLength'],_0x3e7f02=[],_0x1f9a3a=0x0;_0x1f9a3a<_0x50c2ad;_0x1f9a3a++)_0x3e7f02[_0x1f9a3a>>>0x2]|=_0x547267[_0x1f9a3a]<<0x18-_0x1f9a3a%0x4*0x8;_0x4433eb[_0x3e168c(0x12c)](this,_0x3e7f02,_0x50c2ad);}else _0x4433eb[_0x3e168c(0x2f1)](this,arguments);};_0x552b9b[_0x6cd2eb(0x198)]=_0x31a8b2;}}()),_0x582cba[_0x90a24b(0x20a)][_0x90a24b(0x396)];}));}(Re)),Re[_0x5a107d(0x1c3)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x55ff74(0x1c3)],ot;function Xi(){var _0x227c62=_0x55ff74;return ot||(ot=0x1,function(_0x4b54bf,_0x1d37fd){(function(_0xf92dae,_0x4c38b7,_0x33b12f){var _0x2f7ff8=_0x3571;_0x4b54bf[_0x2f7ff8(0x1c3)]=_0x4c38b7(Q(),Ut());}(Ji,function(_0x5b7948){var _0x5a11ec=_0x3571;return _0x5b7948[_0x5a11ec(0x2d2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5b7948[_0x5a11ec(0x2d2)][_0x5a11ec(0x3ce)];}));}(Oe)),Oe[_0x227c62(0x1c3)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x4e572d,_0x436bb8){var _0xeecf3f=_0x55ff74;const _0x2b2b7d=_0x436bb8-_0x4e572d[_0xeecf3f(0x305)]%_0x436bb8,_0x1a618c=String[_0xeecf3f(0x334)](_0x2b2b7d)[_0xeecf3f(0x16d)](_0x2b2b7d);return _0x4e572d+_0x1a618c;}function tn(_0x49b69e,_0x6f64bf){var _0xa532e0=_0x55ff74;const _0x4634e0=zi[_0xa532e0(0x19f)](0x10),_0x4defb0=en(_0x49b69e,0x10),_0x14bba1=ji[_0xa532e0(0x2a9)](Gi[_0xa532e0(0x29b)](_0x4defb0),nt['parse'](_0x6f64bf),{'iv':_0x4634e0,'padding':Qi});return _0x4634e0['concat'](_0x14bba1['ciphertext'])[_0xa532e0(0x17d)](nt);}function nn(){var _0x1052f5=_0x55ff74;const _0x38e0f0=wt[_0x1052f5(0x2ee)]()[_0x1052f5(0x3cf)];if(_0x38e0f0){const _0x4efd4c={'time':Math[_0x1052f5(0x2a3)](Date['now']()/0x3e8),'domain':location[_0x1052f5(0x32c)]};return tn(JSON[_0x1052f5(0x2bc)](_0x4efd4c),_0x38e0f0);}}var rn=Object[_0x55ff74(0x224)],sn=(_0x22d5c2,_0x1a004c,_0x37f691,_0x568430)=>{var _0x27ae9f=_0x55ff74;for(var _0x1519b6=_0x568430>0x1?void 0x0:_0x568430?rn(_0x1a004c,_0x37f691):_0x1a004c,_0x16b5f5=_0x22d5c2[_0x27ae9f(0x305)]-0x1,_0x4049fa;_0x16b5f5>=0x0;_0x16b5f5--)(_0x4049fa=_0x22d5c2[_0x16b5f5])&&(_0x1519b6=_0x4049fa(_0x1519b6)||_0x1519b6);return _0x1519b6;},on=(_0x7a0689,_0x513a18)=>(_0x40ca86,_0x591806)=>_0x513a18(_0x40ca86,_0x591806,_0x7a0689);let Ne=class{constructor(_0x22edd3){this['_httpService']=_0x22edd3,this['_initRequestHeader']();}[_0x55ff74(0x122)](){var _0x263d72=_0x55ff74;this[_0x263d72(0x1e7)]['registerHTTPInterceptor']({'interceptor':(_0x37ee1b,_0x366da1)=>{var _0x52e3f9=_0x263d72;const _0x26dbe6=_0x37ee1b[_0x52e3f9(0x2fe)],_0x40c867=nn();return _0x40c867&&_0x26dbe6[_0x52e3f9(0x41c)](_0x52e3f9(0x114),_0x40c867),_0x366da1(_0x37ee1b);}});}};Ne=sn([on(0x0,a[_0x55ff74(0x221)](Y['HTTPService']))],Ne);var an=Object[_0x55ff74(0x224)],cn=(_0x196d29,_0x2b192d,_0x46cfa6,_0x12f370)=>{var _0x555135=_0x55ff74;for(var _0x12b0a7=_0x12f370>0x1?void 0x0:_0x12f370?an(_0x2b192d,_0x46cfa6):_0x2b192d,_0x369093=_0x196d29[_0x555135(0x305)]-0x1,_0x49a8df;_0x369093>=0x0;_0x369093--)(_0x49a8df=_0x196d29[_0x369093])&&(_0x12b0a7=_0x49a8df(_0x12b0a7)||_0x12b0a7);return _0x12b0a7;},we=(_0x3bab8c,_0x5e6d24)=>(_0x2fd4b4,_0x5e737f)=>_0x5e6d24(_0x2fd4b4,_0x5e737f,_0x3bab8c);exports[_0x55ff74(0x152)]=class extends a['RxDisposable']{constructor(_0xc9bd66,_0x29c088,_0x3d1df7){var _0x13cc63=_0x55ff74;super(),A(this,_0x13cc63(0x353),new $['BehaviorSubject'](null)),A(this,_0x13cc63(0x332),this[_0x13cc63(0x353)]['asObservable']()),(this[_0x13cc63(0x24d)]=_0xc9bd66,this[_0x13cc63(0x3a5)]=_0x29c088,this['_localCacheService']=_0x3d1df7);}async['loadUnitOfRevision'](_0x4dc47d,_0x1ffea8,_0x4d4d09){var _0x47129f=_0x55ff74;this['_unitInfo$'][_0x47129f(0x1f3)]({'unitId':_0x4dc47d,'type':_0x1ffea8});let _0x1247bc=null;switch(_0x1ffea8){case J[_0x47129f(0x209)]:{_0x1247bc=await this['_snapshotService']['loadSheet'](_0x4dc47d,_0x4d4d09);break;}case J[_0x47129f(0x43e)]:{_0x1247bc=await this['_snapshotService'][_0x47129f(0x225)](_0x4dc47d,_0x4d4d09);break;}default:{this['_logService'][_0x47129f(0x35e)](_0x47129f(0x40c),_0x47129f(0x3f9));break;}}return _0x1247bc;}async['loadUnit'](_0x43fc3a,_0x1cd990,_0x526a37){var _0x5ad86e=_0x55ff74,_0x5d488a;this[_0x5ad86e(0x353)][_0x5ad86e(0x1f3)]({'unitId':_0x43fc3a,'type':_0x1cd990,'subUnitId':_0x526a37});let _0x9b0e39=0x0;const _0x3c88c5=await((_0x5d488a=this['_localCacheService'])==null?void 0x0:_0x5d488a['loadOfflineData'](_0x43fc3a));return _0x3c88c5&&(_0x3c88c5[_0x5ad86e(0x34a)]||_0x3c88c5[_0x5ad86e(0x47e)][_0x5ad86e(0x305)]!==0x0)&&(_0x9b0e39=_0x3c88c5[_0x5ad86e(0x1ab)]),_0x9b0e39===0x0&&this['_logService'][_0x5ad86e(0x2f8)](_0x5ad86e(0x40c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x43fc3a,_0x1cd990,_0x9b0e39);}},exports['DataLoaderService']=cn([we(0x0,a[_0x55ff74(0x469)]),we(0x1,a[_0x55ff74(0x221)](I[_0x55ff74(0x2b2)])),we(0x2,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x152)]);var hn=Object[_0x55ff74(0x224)],_n=(_0x527ede,_0x28861c,_0x32dd4a,_0x661c34)=>{var _0x4bb06c=_0x55ff74;for(var _0x282d99=_0x661c34>0x1?void 0x0:_0x661c34?hn(_0x28861c,_0x32dd4a):_0x28861c,_0x3aee95=_0x527ede[_0x4bb06c(0x305)]-0x1,_0xbe3ccf;_0x3aee95>=0x0;_0x3aee95--)(_0xbe3ccf=_0x527ede[_0x3aee95])&&(_0x282d99=_0xbe3ccf(_0x282d99)||_0x282d99);return _0x282d99;},Le=(_0x8af5a5,_0xb9efdc)=>(_0x65c113,_0x59ff91)=>_0xb9efdc(_0x65c113,_0x59ff91,_0x8af5a5);const ln=[_0x55ff74(0x1a2),_0x55ff74(0x3ed),_0x55ff74(0x3cb),_0x55ff74(0x43c),'image/bmp'],un=0x5*0x400*0x400,dn=_0x55ff74(0x1d5),vn='/universer-api/stream/file/upload',Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x55ff74(0x271);exports[_0x55ff74(0x1dd)]=class{constructor(_0x10e777,_0x378c82,_0x2a7d97){var _0x257c20=_0x55ff74;A(this,_0x257c20(0x2e0),0x0),A(this,_0x257c20(0x33a),new $[(_0x257c20(0x16b))]()),A(this,_0x257c20(0x25c),this[_0x257c20(0x33a)]),A(this,_0x257c20(0x25b),new Map()),(this[_0x257c20(0x1e7)]=_0x10e777,this[_0x257c20(0x26e)]=_0x378c82,this[_0x257c20(0x449)]=_0x2a7d97);}[_0x55ff74(0x277)](_0x5a116d){var _0x595e2f=_0x55ff74;this['_waitCount']=_0x5a116d,this[_0x595e2f(0x33a)][_0x595e2f(0x1f3)](_0x5a116d);}[_0x55ff74(0x3bb)](_0x27fd02,_0x168609){var _0x469470=_0x55ff74;if(_0x168609===z[_0x469470(0x27e)][_0x469470(0x24a)]){const _0x5b49ac=new Image();return _0x5b49ac[_0x469470(0x2e2)]=_0x27fd02,_0x5b49ac;}return this[_0x469470(0x25b)][_0x469470(0x128)](_0x27fd02);}['addImageSourceCache'](_0x18218c,_0x504e52,_0x161d1d){var _0x40b3f7=_0x55ff74;_0x504e52===z[_0x40b3f7(0x27e)]['BASE64']||_0x161d1d==null||this[_0x40b3f7(0x25b)][_0x40b3f7(0x41c)](_0x18218c,_0x161d1d);}async[_0x55ff74(0x1e5)](_0x23c5f3){var _0x424b99=_0x55ff74;try{const _0xb2a345=this[_0x424b99(0x15b)](this[_0x424b99(0x189)](),''+_0x23c5f3),_0x4b488e=(await this['_httpService'][_0x424b99(0x128)](_0xb2a345))[_0x424b99(0x43b)];if(_0x4b488e['error']&&_0x4b488e[_0x424b99(0x35e)][_0x424b99(0x433)]===gt['OK']){const _0x5c46b5=new URL(_0x4b488e[_0x424b99(0x192)],this[_0x424b99(0x36e)]())[_0x424b99(0x17d)]();return Promise[_0x424b99(0x3d3)](_0x5c46b5);}return Promise[_0x424b99(0x13d)](_0x4b488e['error']);}catch(_0x4da059){return Promise[_0x424b99(0x13d)](_0x4da059);}}async[_0x55ff74(0x222)](_0x1ee1b2){var _0x22b6ab=_0x55ff74;let _0x19ec94='';if(!ln[_0x22b6ab(0x2a2)](_0x1ee1b2['type']))return this[_0x22b6ab(0x3a4)](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x3aa)]));if(_0x1ee1b2[_0x22b6ab(0x1e1)]>un)return this['_decreaseWaiting'](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x403)]));try{const _0x3cc8e9=new FormData();_0x3cc8e9[_0x22b6ab(0x44e)]('file',_0x1ee1b2);const _0xc1e868=this[_0x22b6ab(0x449)][_0x22b6ab(0x108)](),_0x46a5d1=_0xc1e868==null?void 0x0:_0xc1e868[_0x22b6ab(0x186)]();if(!_0x46a5d1)throw new Error(_0x22b6ab(0x1ef));const _0x2e4131=this[_0x22b6ab(0x2ce)]()+_0x22b6ab(0x3ef)+_0x1ee1b2[_0x22b6ab(0x1e1)][_0x22b6ab(0x17d)]()+_0x22b6ab(0x3e6)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x46a5d1),_0x41d4cb={'body':_0x3cc8e9},_0x1af12b=(await this['_httpService']['post'](_0x2e4131,_0x41d4cb))[_0x22b6ab(0x43b)];if(typeof _0x1af12b[_0x22b6ab(0x165)]!=_0x22b6ab(0x10c))return this[_0x22b6ab(0x3a4)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x22b6ab(0x193)]));_0x19ec94=_0x1af12b[_0x22b6ab(0x165)];}catch{return this[_0x22b6ab(0x3a4)](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x193)]));}return new Promise((_0x285110,_0x1a7fcb)=>{const _0x228bea=new FileReader();_0x228bea['readAsDataURL'](_0x1ee1b2),_0x228bea['onload']=_0x20162b=>{var _0x573d4e=_0x3571,_0x4540b5;const _0x747577=(_0x4540b5=_0x20162b[_0x573d4e(0x33d)])==null?void 0x0:_0x4540b5[_0x573d4e(0x14c)];if(_0x747577==null){this[_0x573d4e(0x3a4)](),_0x1a7fcb(new Error(z[_0x573d4e(0x241)][_0x573d4e(0x193)]));return;}const _0x170197=a['Tools'][_0x573d4e(0x3a7)](0x6);_0x285110({'imageId':_0x170197,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x19ec94,'base64Cache':_0x747577,'status':z[_0x573d4e(0x241)][_0x573d4e(0x471)]}),this['_decreaseWaiting']();};});}[_0x55ff74(0x2ce)](){var _0x24cc80=_0x55ff74,_0x5bd52c,_0x1840b0;const _0x5e3ee3=this[_0x24cc80(0x26e)]['getConfig'](dn),_0x55aed3=this[_0x24cc80(0x26e)][_0x24cc80(0x388)](K);return(_0x1840b0=(_0x5bd52c=_0x55aed3==null?void 0x0:_0x55aed3[_0x24cc80(0x315)])!=null?_0x5bd52c:_0x5e3ee3)!=null?_0x1840b0:vn;}[_0x55ff74(0x189)](){var _0x35d540=_0x55ff74,_0x1582fa,_0x21ed42;const _0x473f56=this[_0x35d540(0x26e)][_0x35d540(0x388)](Sn),_0x2704d5=this[_0x35d540(0x26e)][_0x35d540(0x388)](K);return(_0x21ed42=(_0x1582fa=_0x2704d5==null?void 0x0:_0x2704d5[_0x35d540(0x220)])!=null?_0x1582fa:_0x473f56)!=null?_0x21ed42:fn;}['_getDownloadEndpointURL'](){var _0x202496=_0x55ff74,_0x34b336;const _0x4c5fe3=this[_0x202496(0x26e)][_0x202496(0x388)](K);return(_0x34b336=_0x4c5fe3==null?void 0x0:_0x4c5fe3[_0x202496(0x2f2)])!=null?_0x34b336:location[_0x202496(0x34d)];}['_replaceFileID'](_0x2c7e38,_0x1af29a){var _0x5886c6=_0x55ff74;return _0x2c7e38[_0x5886c6(0x166)](_0x5886c6(0x476),_0x1af29a);}[_0x55ff74(0x3a4)](){var _0x1332d5=_0x55ff74;this[_0x1332d5(0x2e0)]-=0x1,this[_0x1332d5(0x33a)][_0x1332d5(0x1f3)](this[_0x1332d5(0x2e0)]);}},exports[_0x55ff74(0x1dd)]=_n([Le(0x0,a['Inject'](Y[_0x55ff74(0x162)])),Le(0x1,a[_0x55ff74(0x133)]),Le(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x35a)]))],exports[_0x55ff74(0x1dd)]);var pn=Object[_0x55ff74(0x224)],In=(_0x108cc8,_0x2f994c,_0x30ffc2,_0x4c8984)=>{var _0x45145e=_0x55ff74;for(var _0x55836c=_0x4c8984>0x1?void 0x0:_0x4c8984?pn(_0x2f994c,_0x30ffc2):_0x2f994c,_0x95a056=_0x108cc8[_0x45145e(0x305)]-0x1,_0x6bf019;_0x95a056>=0x0;_0x95a056--)(_0x6bf019=_0x108cc8[_0x95a056])&&(_0x55836c=_0x6bf019(_0x55836c)||_0x55836c);return _0x55836c;},at=(_0x417f19,_0x2edc6a)=>(_0x1d267a,_0x14d795)=>_0x2edc6a(_0x1d267a,_0x14d795,_0x417f19);const gn=_0x55ff74(0x215);exports[_0x55ff74(0x2bd)]=class{constructor(_0x3427d0,_0x4e0a44){var _0x3ca854=_0x55ff74;this[_0x3ca854(0x26e)]=_0x3427d0,this['_HTTPService']=_0x4e0a44;}['_getAPIPrefixPath'](){var _0x4e8fa1=_0x55ff74,_0x3e1a05,_0x4296a4;const _0x3fc489=this[_0x4e8fa1(0x26e)][_0x4e8fa1(0x388)](Ve),_0x368605=this[_0x4e8fa1(0x26e)][_0x4e8fa1(0x388)](K);return(_0x4296a4=(_0x3e1a05=_0x368605==null?void 0x0:_0x368605['authzUrl'])!=null?_0x3e1a05:_0x3fc489)!=null?_0x4296a4:gn;}async[_0x55ff74(0x44d)](_0x5b0cdf){var _0x1c3190=_0x55ff74;const _0x15b48e=this['_getAPIPrefixPath']()+_0x1c3190(0x441);return{'list':[{'title':_0x1c3190(0x235),'mentions':(await this['_HTTPService']['get'](_0x15b48e,{'params':{'objectID':_0x5b0cdf[_0x1c3190(0x411)],'unitID':_0x5b0cdf['unitId']}}))['body'][_0x1c3190(0x3d8)][_0x1c3190(0x40e)](_0x3fc509=>({'objectId':_0x3fc509['id'],'name':_0x3fc509[_0x1c3190(0x440)][_0x1c3190(0x218)],'metadata':{'icon':_0x3fc509['subject'][_0x1c3190(0x302)]},'label':_0x3fc509[_0x1c3190(0x440)][_0x1c3190(0x218)],'objectType':a[_0x1c3190(0x355)][_0x1c3190(0x3d1)]})),'metadata':{},'type':a[_0x1c3190(0x355)]['PERSON']}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x133)])),at(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)]))],exports['MentionIoHttpService']);var En=Object[_0x55ff74(0x224)],mn=(_0x43a441,_0x375338,_0x1fdaab,_0x746afe)=>{var _0x1cb226=_0x55ff74;for(var _0x37fb76=_0x746afe>0x1?void 0x0:_0x746afe?En(_0x375338,_0x1fdaab):_0x375338,_0x807b4e=_0x43a441[_0x1cb226(0x305)]-0x1,_0x4a94fa;_0x807b4e>=0x0;_0x807b4e--)(_0x4a94fa=_0x43a441[_0x807b4e])&&(_0x37fb76=_0x4a94fa(_0x37fb76)||_0x37fb76);return _0x37fb76;},le=(_0x6ed4b5,_0x4c7245)=>(_0x428fcb,_0x5dcd27)=>_0x4c7245(_0x428fcb,_0x5dcd27,_0x6ed4b5);let Ue=class extends a['RxDisposable']{constructor(_0x47e2e3,_0x5a4c7d,_0x26f9fa,_0x4cbccc,_0x10c789){var _0x5bc716=_0x55ff74;super(),this['_injector']=_0x47e2e3,this[_0x5bc716(0x449)]=_0x5a4c7d,this['_permissionService']=_0x26f9fa,this['_collaborationSessionService']=_0x4cbccc,this['_collaborationUIEventService']=_0x10c789,this[_0x5bc716(0x419)](),this[_0x5bc716(0x1fa)]();}[_0x55ff74(0x1fa)](){var _0x5092cd=_0x55ff74;const _0x2c7b5f=async _0x25d85f=>{var _0x4e8bd1=_0x3571;(await this['_collaborationSessionService'][_0x4e8bd1(0x239)](_0x25d85f))[_0x4e8bd1(0x1f9)][_0x4e8bd1(0x33c)](V[_0x4e8bd1(0x187)](_0x33c23c=>_0x33c23c[_0x4e8bd1(0x46c)]===I[_0x4e8bd1(0x208)][_0x4e8bd1(0x389)]),V[_0x4e8bd1(0x336)](this['dispose$']))[_0x4e8bd1(0x259)](_0x3d7396=>{var _0x2b7a12=_0x4e8bd1;const _0x4a0fdb=_0x3d7396,{reason:_0x5bc416}=_0x4a0fdb['data'];this['_collaborationUIEventService'][_0x2b7a12(0x25d)]({'id':Z['CLOSE_ROOM'],'data':_0x5bc416}),this['_permissionService'][_0x2b7a12(0x251)](new X['WorkbookEditablePermission'](_0x25d85f)['id'],!0x1),this[_0x2b7a12(0x2d9)]['closeSession'](_0x25d85f);});};$[_0x5092cd(0x1cc)](this[_0x5092cd(0x449)][_0x5092cd(0x12f)](a[_0x5092cd(0x272)]['UNIVER_SHEET']),this[_0x5092cd(0x449)][_0x5092cd(0x12f)](a[_0x5092cd(0x272)][_0x5092cd(0x43e)]))[_0x5092cd(0x33c)](V[_0x5092cd(0x40e)](_0x1b4426=>_0x1b4426[_0x5092cd(0x186)]()),V[_0x5092cd(0x187)](_0x42bebf=>!a[_0x5092cd(0x216)](_0x42bebf)),V['takeUntil'](this[_0x5092cd(0x1ca)]))[_0x5092cd(0x259)](_0x136681=>{_0x2c7b5f(_0x136681);});}['_initUnitPermissionChange'](){var _0x486e60=_0x55ff74;const _0x38f5e1=async _0x5c6807=>{var _0x57100e=_0x3571;const _0x4e7ca7=await this[_0x57100e(0x2d9)][_0x57100e(0x239)](_0x5c6807),_0x51b363=this[_0x57100e(0x423)][_0x57100e(0x128)](X['SheetPermissionInitController']);_0x4e7ca7[_0x57100e(0x1f9)][_0x57100e(0x33c)](V['filter'](_0x5a51ba=>_0x5a51ba[_0x57100e(0x46c)]===I[_0x57100e(0x208)][_0x57100e(0x22f)]),V[_0x57100e(0x336)](this[_0x57100e(0x1ca)]))['subscribe'](_0x1a01c3=>{var _0x3b9381=_0x57100e;const _0x3b0eea=_0x1a01c3,{objectId:_0x337a86}=_0x3b0eea[_0x3b9381(0x13e)];_0x337a86===_0x5c6807?_0x51b363[_0x3b9381(0x381)](_0x5c6807):_0x51b363[_0x3b9381(0x1f4)](_0x5c6807,_0x337a86);});};$[_0x486e60(0x1cc)](this[_0x486e60(0x449)][_0x486e60(0x12f)](a['UniverInstanceType']['UNIVER_SHEET']))['pipe'](V[_0x486e60(0x40e)](_0x332acb=>_0x332acb[_0x486e60(0x186)]()),V['filter'](_0xa8f0f3=>!a['isInternalEditorID'](_0xa8f0f3)),V[_0x486e60(0x336)](this['dispose$']))[_0x486e60(0x259)](_0x57f8e5=>{_0x38f5e1(_0x57f8e5);});}};Ue=mn([le(0x0,a['Inject'](a[_0x55ff74(0x19b)])),le(0x1,a[_0x55ff74(0x35a)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x55ff74(0x221)](exports['CollaborationSessionService'])),le(0x4,a[_0x55ff74(0x221)](ee))],Ue);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x4f2299,_0x51b7bf,_0x3fdf6c,_0x2d024b)=>{var _0x294124=_0x55ff74;for(var _0x1ffd6d=_0x2d024b>0x1?void 0x0:_0x2d024b?Cn(_0x51b7bf,_0x3fdf6c):_0x51b7bf,_0x529c55=_0x4f2299[_0x294124(0x305)]-0x1,_0x1627ac;_0x529c55>=0x0;_0x529c55--)(_0x1627ac=_0x4f2299[_0x529c55])&&(_0x1ffd6d=_0x1627ac(_0x1ffd6d)||_0x1ffd6d);return _0x1ffd6d;},ct=(_0x15040e,_0x2de723)=>(_0x7645cc,_0x52c6a5)=>_0x2de723(_0x7645cc,_0x52c6a5,_0x15040e);exports[_0x55ff74(0x24e)]=class{constructor(_0x575ab9,_0x1ab1e6){var _0x1cc3d0=_0x55ff74;this['_configService']=_0x575ab9,this[_0x1cc3d0(0x1e7)]=_0x1ab1e6;}async[_0x55ff74(0x30c)](_0x269ca9,_0x2911cc){var _0x4c65aa=_0x55ff74,_0x36dd44;const {unitID:_0x31607e,type:_0x152417,revision:_0x171124=0x0}=_0x2911cc,_0x1dd98a=this[_0x4c65aa(0x450)]()+'/'+_0x152417+'/unit/'+_0x31607e+'/rev/'+_0x171124,_0x59ceb9=(await this[_0x4c65aa(0x1e7)][_0x4c65aa(0x128)](_0x1dd98a))[_0x4c65aa(0x43b)],_0x2e1bc3=(_0x36dd44=_0x59ceb9['snapshot'])==null?void 0x0:_0x36dd44[_0x4c65aa(0x43d)];if(_0x2e1bc3){const _0x251222=_0x2e1bc3==null?void 0x0:_0x2e1bc3[_0x4c65aa(0x21f)],_0x20f660=I[_0x4c65aa(0x39f)][_0x4c65aa(0x3e2)](I[_0x4c65aa(0x45f)](_0x251222));_0x2e1bc3['originalMeta']=_0x20f660,Object['entries'](_0x2e1bc3[_0x4c65aa(0x401)])[_0x4c65aa(0x41f)](([,_0x3e55c5])=>{var _0x1487b6=_0x4c65aa;const _0x130b54=_0x3e55c5[_0x1487b6(0x21f)],_0x4914ce=I[_0x1487b6(0x39f)][_0x1487b6(0x3e2)](I[_0x1487b6(0x45f)](_0x130b54));_0x3e55c5[_0x1487b6(0x21f)]=_0x4914ce;});}return _0x59ceb9;}async['getSheetBlock'](_0xb2f248,_0x24b5be){var _0x53b3bc=_0x55ff74;const {unitID:_0x5cff52,type:_0x5b1077,blockID:_0x5001e1}=_0x24b5be,_0x3b56f6=this[_0x53b3bc(0x1b1)]()+'/'+_0x5b1077+_0x53b3bc(0x26b)+_0x5cff52+_0x53b3bc(0x30f)+_0x5001e1;return(await this[_0x53b3bc(0x1e7)][_0x53b3bc(0x128)](_0x3b56f6))[_0x53b3bc(0x43b)];}async[_0x55ff74(0x28e)](_0x153380,_0x20f388){var _0x512a08=_0x55ff74;const {unitID:_0x13399f,type:_0xd7c180,blockID:_0x4da468}=_0x20f388,_0xfa314=this[_0x512a08(0x1b1)]()+_0x512a08(0x30f)+_0xd7c180+'/unit/'+_0x13399f+'/block/'+_0x4da468;return(await this[_0x512a08(0x1e7)][_0x512a08(0x128)](_0xfa314))[_0x512a08(0x43b)];}async[_0x55ff74(0x280)](_0x932a2f,_0x362cf9){var _0x4cc9ea=_0x55ff74;const {unitID:_0x108af8,type:_0x41e536,from:_0x5db265,to:_0x4ed6e1}=_0x362cf9,_0x1cf5fd=this[_0x4cc9ea(0x1b1)]()+'/'+_0x41e536+_0x4cc9ea(0x26b)+_0x108af8+_0x4cc9ea(0x344)+_0x5db265+_0x4cc9ea(0x359)+_0x4ed6e1;return(await this[_0x4cc9ea(0x1e7)][_0x4cc9ea(0x128)](_0x1cf5fd))[_0x4cc9ea(0x43b)];}[_0x55ff74(0x450)](){var _0x10ffe9=_0x55ff74,_0x292f28;return(_0x292f28=this['_configService'][_0x10ffe9(0x388)](lt))!=null?_0x292f28:this['_getAPIPrefix']();}[_0x55ff74(0x1b1)](){var _0x4c20d1=_0x55ff74,_0x10fc07,_0x2cac7a;const _0x4f24f9=this[_0x4c20d1(0x26e)][_0x4c20d1(0x388)](_t),_0x28f0e6=this['_configService']['getConfig'](K);return(_0x2cac7a=(_0x10fc07=_0x28f0e6==null?void 0x0:_0x28f0e6[_0x4c20d1(0x14b)])!=null?_0x10fc07:_0x4f24f9)!=null?_0x2cac7a:Lt;}async[_0x55ff74(0x34b)](_0x5ecd1e,_0x2f3cf3){var _0x425a0c=_0x55ff74;const _0x399479=_0x425a0c(0x12a)+_0x2f3cf3[_0x425a0c(0x255)]+'/unit/'+_0x2f3cf3[_0x425a0c(0x20f)]+'/resources';return(await this[_0x425a0c(0x1e7)][_0x425a0c(0x128)](_0x399479,{'params':{'resourceId':JSON[_0x425a0c(0x2bc)](_0x2f3cf3['resourceIDs'])}}))[_0x425a0c(0x43b)];}[_0x55ff74(0x372)](){var _0x3c8093=_0x55ff74;throw new Error(_0x3c8093(0x451));}[_0x55ff74(0x376)](){var _0x2059d3=_0x55ff74;throw new Error(_0x2059d3(0x451));}[_0x55ff74(0x29a)](){var _0x103732=_0x55ff74;throw new Error(_0x103732(0x451));}['saveChangeset'](){var _0x2c2b22=_0x55ff74;throw new Error(_0x2c2b22(0x451));}[_0x55ff74(0x456)](){var _0x2741bd=_0x55ff74;throw new Error(_0x2741bd(0x451));}[_0x55ff74(0x3ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x55ff74(0x24e)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)]))],exports[_0x55ff74(0x24e)]);var bn=Object[_0x55ff74(0x224)],Rn=(_0x22a706,_0x4ca3f3,_0x44815b,_0x4154da)=>{var _0x2724c2=_0x55ff74;for(var _0x490b09=_0x4154da>0x1?void 0x0:_0x4154da?bn(_0x4ca3f3,_0x44815b):_0x4ca3f3,_0x5bc81c=_0x22a706[_0x2724c2(0x305)]-0x1,_0x5f4f99;_0x5bc81c>=0x0;_0x5bc81c--)(_0x5f4f99=_0x22a706[_0x5bc81c])&&(_0x490b09=_0x5f4f99(_0x490b09)||_0x490b09);return _0x490b09;},ue=(_0x9a4949,_0x2d759f)=>(_0x14ec46,_0xae8dd3)=>_0x2d759f(_0x14ec46,_0xae8dd3,_0x9a4949);exports[_0x55ff74(0x171)]=class extends a['LocalUndoRedoService']{constructor(_0x4e8f78,_0x50f7ab,_0x560710,_0x312f93,_0x43a375){var _0x48c2ad=_0x55ff74;super(_0x4e8f78,_0x50f7ab,_0x560710),this[_0x48c2ad(0x402)]=_0x312f93,this[_0x48c2ad(0x24d)]=_0x43a375;}['transformUndoRedo'](_0x15abe2,_0x250aad){var _0x3aa279=_0x55ff74;const _0x3dedae=this[_0x3aa279(0x404)](_0x15abe2);if(_0x3dedae)try{const _0x2d23c5=this[_0x3aa279(0x273)](_0x3dedae,_0x250aad);this[_0x3aa279(0x468)](_0x15abe2,_0x2d23c5);}catch(_0x5c0a9e){this[_0x3aa279(0x24d)][_0x3aa279(0x35e)](_0x3aa279(0x167),_0x5c0a9e),this[_0x3aa279(0x24c)](_0x15abe2);}const _0x1c7c36=this[_0x3aa279(0x425)](_0x15abe2);if(_0x1c7c36)try{const _0x410678=this['_transformStack'](_0x1c7c36,_0x250aad);this[_0x3aa279(0x194)](_0x15abe2,_0x410678);}catch(_0x422d55){this[_0x3aa279(0x24d)]['error'](_0x422d55),this[_0x3aa279(0x27d)](_0x15abe2);}}[_0x55ff74(0x24c)](_0x113641){var _0x18c01f=_0x55ff74;const _0x4c67c1=this[_0x18c01f(0x404)](_0x113641);_0x4c67c1&&(_0x4c67c1['length']=0x0,this[_0x18c01f(0xfd)]());}[_0x55ff74(0x27d)](_0x39830e){var _0x5d6400=_0x55ff74;const _0x31db25=this['_getRedoStack'](_0x39830e);_0x31db25&&(_0x31db25['length']=0x0,this[_0x5d6400(0xfd)]());}[_0x55ff74(0x468)](_0x18377f,_0x555ccb){var _0x1d7e06=_0x55ff74;this['_undoStacks'][_0x1d7e06(0x41c)](_0x18377f,_0x555ccb),this[_0x1d7e06(0xfd)]();}[_0x55ff74(0x194)](_0x3251f6,_0x47f8ca){var _0xcefd17=_0x55ff74;this[_0xcefd17(0x173)][_0xcefd17(0x41c)](_0x3251f6,_0x47f8ca),this[_0xcefd17(0xfd)]();}[_0x55ff74(0x273)](_0x3d19b7,_0xa5944c){var _0x5e7e35=_0x55ff74;const _0x5bb763=[];let _0xa82f5b=_0xa5944c,_0x3cb8e3=_0xa5944c;for(let _0xf83cca=_0x3d19b7[_0x5e7e35(0x305)]-0x1;_0xf83cca>=0x0;_0xf83cca--){const {unitID:_0x334620,undoMutations:_0x7c2630,redoMutations:_0x54cc9a}=_0x3d19b7[_0xf83cca],_0x4da633=this['_transformService']['transformMutationsWithChangeset'](_0xa82f5b,_0x7c2630),_0x15a623=this[_0x5e7e35(0x402)][_0x5e7e35(0x1e8)](_0x3cb8e3,_0x54cc9a);if(I['isTransformMutationsWithChangesetFailure'](_0x4da633)||I[_0x5e7e35(0x320)](_0x15a623)){this[_0x5e7e35(0x24d)][_0x5e7e35(0x35e)](_0x5e7e35(0x167),_0x5e7e35(0x26c),_0x4da633,_0x15a623);break;}_0xa82f5b=_0x4da633[_0x5e7e35(0x44f)],_0x3cb8e3=_0x15a623[_0x5e7e35(0x44f)],_0x5bb763[_0x5e7e35(0x395)]({'unitID':_0x334620,'undoMutations':_0x4da633[_0x5e7e35(0x295)],'redoMutations':_0x15a623[_0x5e7e35(0x295)]});}return _0x5bb763[_0x5e7e35(0x477)]();}},exports[_0x55ff74(0x171)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x55ff74(0x393)]),ue(0x2,a[_0x55ff74(0x374)]),ue(0x3,I[_0x55ff74(0x1fc)]),ue(0x4,a[_0x55ff74(0x469)])],exports[_0x55ff74(0x171)]);var On=Object[_0x55ff74(0x1c9)],yn=Object[_0x55ff74(0x224)],Nn=(_0x380420,_0x330aba,_0x1becdd)=>_0x330aba in _0x380420?On(_0x380420,_0x330aba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1becdd}):_0x380420[_0x330aba]=_0x1becdd,Un=(_0x2d8fc1,_0x44051e,_0x345f46,_0x1d4d89)=>{var _0x1da245=_0x55ff74;for(var _0x4130dd=_0x1d4d89>0x1?void 0x0:_0x1d4d89?yn(_0x44051e,_0x345f46):_0x44051e,_0x3d4c9a=_0x2d8fc1[_0x1da245(0x305)]-0x1,_0x4caf25;_0x3d4c9a>=0x0;_0x3d4c9a--)(_0x4caf25=_0x2d8fc1[_0x3d4c9a])&&(_0x4130dd=_0x4caf25(_0x4130dd)||_0x4130dd);return _0x4130dd;},Me=(_0x3b1e5b,_0x484a07)=>(_0x410582,_0x2d6533)=>_0x484a07(_0x410582,_0x2d6533,_0x3b1e5b),Dn=(_0x4e26ca,_0x2a94b4,_0x327089)=>Nn(_0x4e26ca,_0x2a94b4+'',_0x327089);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x55ff74(0x31a)]=class extends a[_0x55ff74(0x3dd)]{constructor(_0x136596,_0x2ae1f6,_0x221996,_0x24f01b){var _0x2b88d2=_0x55ff74;super(),A(this,'_config'),(this[_0x2b88d2(0x24d)]=_0x2ae1f6,this[_0x2b88d2(0x423)]=_0x221996,this[_0x2b88d2(0x26e)]=_0x24f01b);const {..._0x48ecf5}=a[_0x2b88d2(0x1cc)]({},Yt,_0x136596);if(!_0x48ecf5['socketService'])throw new Error(_0x2b88d2(0x3eb));this[_0x2b88d2(0x1a0)]=_0x48ecf5,this[_0x2b88d2(0x26e)][_0x2b88d2(0x149)](K,_0x48ecf5);}[_0x55ff74(0x39b)](){var _0x4d7884=_0x55ff74;this[_0x4d7884(0x28c)](),this[_0x4d7884(0x323)]();}[_0x55ff74(0x28c)](){var _0x936729=_0x55ff74,_0xfab48a,_0x37b5a7;this['_injector'][_0x936729(0x14a)](a[_0x936729(0x2fb)])&&this[_0x936729(0x24d)]['error'](_0x936729(0x3a6),_0x936729(0x317));const _0x2d0fd3=a[_0x936729(0x250)]([[a['IUndoRedoService'],{'useClass':exports[_0x936729(0x171)]}],[exports[_0x936729(0x40d)]],[exports[_0x936729(0x148)]],[exports[_0x936729(0x3a2)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x936729(0x152)]],[He,{'useClass':this[_0x936729(0x1a0)][_0x936729(0x34c)]}],[I[_0x936729(0x38e)],{'useClass':exports[_0x936729(0x24e)]}],[a[_0x936729(0x1b8)],{'useClass':exports[_0x936729(0x3a8)]}],[z[_0x936729(0x119)],{'useClass':exports[_0x936729(0x1dd)]}],[a[_0x936729(0x1da)],{'useClass':exports[_0x936729(0x2bd)]}],[exports[_0x936729(0x234)]],[xe]],(_0xfab48a=this[_0x936729(0x1a0)])==null?void 0x0:_0xfab48a[_0x936729(0x2b6)]);if(!((_0x37b5a7=this[_0x936729(0x1a0)])!=null&&_0x37b5a7[_0x936729(0x32f)])){const _0x34ebcb=_0x2d0fd3['findIndex'](([_0x4ad411])=>_0x4ad411===de);_0x34ebcb!==-0x1&&_0x2d0fd3['splice'](_0x34ebcb,0x1);}a[_0x936729(0x13b)](this[_0x936729(0x423)],_0x2d0fd3);}[_0x55ff74(0x323)](){var _0x43f27b=_0x55ff74,_0x449020,_0x4b2738,_0x300dfb;this['_injector'][_0x43f27b(0x128)](Y[_0x43f27b(0x162)])[_0x43f27b(0x357)]({'priority':0x14,'interceptor':Y[_0x43f27b(0x1bb)]({'maxParallel':0x6})}),(_0x449020=this[_0x43f27b(0x1a0)])!=null&&_0x449020[_0x43f27b(0x2bf)]||(_0x4b2738=this['_injector']['get'](q,a[_0x43f27b(0x306)]['OPTIONAL']))==null||_0x4b2738['disableLocalCache'](),(_0x300dfb=this[_0x43f27b(0x1a0)])!=null&&_0x300dfb[_0x43f27b(0x27b)]&&a[_0x43f27b(0x1d6)](this[_0x43f27b(0x423)],[[ye]]),a[_0x43f27b(0x1d6)](this[_0x43f27b(0x423)],[[Ne],[exports[_0x43f27b(0x234)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],_0x55ff74(0x358),An),exports[_0x55ff74(0x31a)]=Un([a['DependentOn'](I[_0x55ff74(0x2c2)],Y[_0x55ff74(0x434)]),Me(0x1,a[_0x55ff74(0x469)]),Me(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),Me(0x3,a[_0x55ff74(0x133)])],exports[_0x55ff74(0x31a)]),exports[_0x55ff74(0x385)]=Ve,exports[_0x55ff74(0x138)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports[_0x55ff74(0x120)]=ut,exports['CollaborationStatus']=Be,exports[_0x55ff74(0x213)]=Z,exports[_0x55ff74(0x266)]=ee,exports[_0x55ff74(0x47b)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x55ff74(0x232)]=Kt,exports[_0x55ff74(0x109)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x55ff74(0x233)]=He,exports[_0x55ff74(0x46d)]=q,exports[_0x55ff74(0x438)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x55ff74(0x1ea)]=Bt,exports[_0x55ff74(0x25e)]=It,exports[_0x55ff74(0x1d3)]=Gt,exports[_0x55ff74(0x212)]=ft,exports[_0x55ff74(0x2b5)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x55ff74(0x1eb)]=lt,exports[_0x55ff74(0x1d8)]=re,exports[_0x55ff74(0x197)]=je,exports[_0x55ff74(0x1f5)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x55ff74(0x407)]=Tt;