@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6

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 _0x491a6f=_0x2315;(function(_0x435b41,_0xbb5738){var _0xf218c4=_0x2315,_0x1db926=_0x435b41();while(!![]){try{var _0x573893=parseInt(_0xf218c4(0x3ac))/0x1+-parseInt(_0xf218c4(0x17f))/0x2*(parseInt(_0xf218c4(0x27e))/0x3)+parseInt(_0xf218c4(0x43b))/0x4+-parseInt(_0xf218c4(0x3b1))/0x5+parseInt(_0xf218c4(0x3f3))/0x6+parseInt(_0xf218c4(0x2a8))/0x7+-parseInt(_0xf218c4(0x130))/0x8;if(_0x573893===_0xbb5738)break;else _0x1db926['push'](_0x1db926['shift']());}catch(_0x4d4548){_0x1db926['push'](_0x1db926['shift']());}}}(_0x352e,0x7c108));var wt=Object[_0x491a6f(0x41a)],Lt=(_0x2a9a3f,_0x6c7ac2,_0x2c370d)=>_0x6c7ac2 in _0x2a9a3f?wt(_0x2a9a3f,_0x6c7ac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c370d}):_0x2a9a3f[_0x6c7ac2]=_0x2c370d,P=(_0x59da76,_0x432a69,_0x2d7a61)=>Lt(_0x59da76,typeof _0x432a69!=_0x491a6f(0x481)?_0x432a69+'':_0x432a69,_0x2d7a61);Object[_0x491a6f(0x41a)](exports,Symbol['toStringTag'],{'value':_0x491a6f(0x18e)});const a=require(_0x491a6f(0x323)),j=require('rxjs'),W=require(_0x491a6f(0x230)),g=require(_0x491a6f(0x2e5)),q=require(_0x491a6f(0x310)),Mt=require('@univerjs/telemetry'),ut=require(_0x491a6f(0x1f6)),Z=require(_0x491a6f(0x3c2)),J=require('@univerjs/drawing'),xt=require('@univerjs-pro/license'),dt=_0x491a6f(0x458),kt='/universer-api/snapshot',vt=_0x491a6f(0x268),Ht=_0x491a6f(0x2eb),jt=0x7d0,St=_0x491a6f(0x23e),ft=_0x491a6f(0x42a),$t=_0x491a6f(0x225),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x491a6f(0x283),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Wt=0x3,Gt=_0x491a6f(0x1b8),Vt=0x3e8,It=_0x491a6f(0x32d),Kt=_0x491a6f(0x389),Et='LOGIN_URL_KEY',Yt=_0x491a6f(0x31a),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x491a6f(0x22c);var Ct=(_0xf49d62=>(_0xf49d62[_0xf49d62['UNDEFINED']=0x0]='UNDEFINED',_0xf49d62[_0xf49d62['OK']=0x1]='OK',_0xf49d62[_0xf49d62[_0x491a6f(0x1cf)]=0x2]=_0x491a6f(0x1cf),_0xf49d62[_0xf49d62['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xf49d62[_0xf49d62[_0x491a6f(0x2f1)]=0x4]='NOT_FOUND',_0xf49d62[_0xf49d62[_0x491a6f(0x2c3)]=0x5]='UNAUTHENTICATED',_0xf49d62[_0xf49d62['ALREADY_EXISTS']=0x6]=_0x491a6f(0x40d),_0xf49d62[_0xf49d62[_0x491a6f(0x3a9)]=0x7]=_0x491a6f(0x3a9),_0xf49d62[_0xf49d62['TOO_MANY_REQUESTS']=0x8]=_0x491a6f(0x3da),_0xf49d62[_0xf49d62[_0x491a6f(0x2df)]=0x9]=_0x491a6f(0x2df),_0xf49d62[_0xf49d62[_0x491a6f(0x42c)]=0x1389]=_0x491a6f(0x42c),_0xf49d62[_0xf49d62[_0x491a6f(0x38d)]=0x1771]=_0x491a6f(0x38d),_0xf49d62[_0xf49d62['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x491a6f(0x222),_0xf49d62[_0xf49d62[_0x491a6f(0x132)]=0x1773]=_0x491a6f(0x132),_0xf49d62[_0xf49d62[_0x491a6f(0x356)]=0x1b59]=_0x491a6f(0x356),_0xf49d62[_0xf49d62[_0x491a6f(0x3b8)]=0x1b5a]=_0x491a6f(0x3b8),_0xf49d62[_0xf49d62[_0x491a6f(0x446)]=0x1b5b]=_0x491a6f(0x446),_0xf49d62[_0xf49d62[_0x491a6f(0x338)]=0x1b5c]=_0x491a6f(0x338),_0xf49d62[_0xf49d62[_0x491a6f(0x270)]=0x1b5d]=_0x491a6f(0x270),_0xf49d62[_0xf49d62['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x491a6f(0x465),_0xf49d62[_0xf49d62[_0x491a6f(0x467)]=0x2329]=_0x491a6f(0x467),_0xf49d62[_0xf49d62[_0x491a6f(0x379)]=0x232a]=_0x491a6f(0x379),_0xf49d62[_0xf49d62['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf49d62[_0xf49d62[_0x491a6f(0x3bf)]=0x232c]=_0x491a6f(0x3bf),_0xf49d62[_0xf49d62['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf49d62[_0xf49d62[_0x491a6f(0x2ff)]=0x2711]=_0x491a6f(0x2ff),_0xf49d62[_0xf49d62['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xf49d62[_0xf49d62[_0x491a6f(0x1b7)]=0x2713]=_0x491a6f(0x1b7),_0xf49d62[_0xf49d62['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xf49d62[_0xf49d62[_0x491a6f(0x275)]=0x2af9]=_0x491a6f(0x275),_0xf49d62[_0xf49d62[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0xf49d62))(Ct||{}),X=(_0x7522ac=>(_0x7522ac[_0x7522ac[_0x491a6f(0x276)]=0x0]=_0x491a6f(0x276),_0x7522ac[_0x7522ac[_0x491a6f(0x341)]=0x1]='UNIVER_DOC',_0x7522ac[_0x7522ac['UNIVER_SHEET']=0x2]=_0x491a6f(0x2fc),_0x7522ac[_0x7522ac[_0x491a6f(0x1e0)]=0x3]=_0x491a6f(0x1e0),_0x7522ac[_0x7522ac['UNIVER_PROJECT']=0x4]=_0x491a6f(0x17e),_0x7522ac[_0x7522ac[_0x491a6f(0x35b)]=-0x1]=_0x491a6f(0x35b),_0x7522ac))(X||{}),G=(_0x45eb8c=>(_0x45eb8c[_0x45eb8c['UNKNOWN_CMD']=0x0]=_0x491a6f(0x1a5),_0x45eb8c[_0x45eb8c[_0x491a6f(0x416)]=0x1]=_0x491a6f(0x416),_0x45eb8c[_0x45eb8c[_0x491a6f(0x158)]=0x2]='JOIN',_0x45eb8c[_0x45eb8c[_0x491a6f(0x281)]=0x3]=_0x491a6f(0x281),_0x45eb8c[_0x45eb8c[_0x491a6f(0x2cb)]=0x4]=_0x491a6f(0x2cb),_0x45eb8c[_0x45eb8c[_0x491a6f(0x15a)]=0x5]=_0x491a6f(0x15a),_0x45eb8c[_0x45eb8c[_0x491a6f(0x28b)]=0x6]=_0x491a6f(0x28b),_0x45eb8c[_0x45eb8c[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0x45eb8c))(G||{}),ae=(_0x5a7ec0=>(_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x302)]=0x0]=_0x491a6f(0x302),_0x5a7ec0[_0x5a7ec0['OK']=0x1]='OK',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x12e)]=0x2]='FAIL',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x257)]=0x3e9]='JOIN_ROOM_FULL',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x17c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x3d3)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x40c)]=0x3ec]=_0x491a6f(0x40c),_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x35b)]=-0x1]=_0x491a6f(0x35b),_0x5a7ec0))(ae||{}),Tt=(_0x443f22=>(_0x443f22[_0x443f22['Undefined']=0x0]=_0x491a6f(0x425),_0x443f22[_0x443f22[_0x491a6f(0x146)]=0x1]=_0x491a6f(0x146),_0x443f22[_0x443f22['HttpExport']=0x2]='HttpExport',_0x443f22[_0x443f22[_0x491a6f(0x1e2)]=0x3]=_0x491a6f(0x1e2),_0x443f22[_0x443f22[_0x491a6f(0x177)]=0x4]=_0x491a6f(0x177),_0x443f22[_0x443f22[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0x443f22))(Tt||{});const Y=_0x491a6f(0x2c6),Jt={};var Q=(_0x2c5780=>(_0x2c5780[_0x491a6f(0x3c5)]=_0x491a6f(0x3c5),_0x2c5780['PERMISSION_DENIED']=_0x491a6f(0x351),_0x2c5780['CONFLICT']='CONFLICT',_0x2c5780[_0x491a6f(0x384)]=_0x491a6f(0x384),_0x2c5780['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2c5780[_0x491a6f(0x288)]='SOCKET_FAILED_RETRY',_0x2c5780[_0x491a6f(0x2c2)]=_0x491a6f(0x2c2),_0x2c5780['SUBMIT_CHANGESET_TIMEOUT']=_0x491a6f(0x145),_0x2c5780))(Q||{});class te{constructor(){var _0x11ccc8=_0x491a6f;P(this,_0x11ccc8(0x344),new j[(_0x11ccc8(0x477))]()),P(this,_0x11ccc8(0x1a0),this[_0x11ccc8(0x344)][_0x11ccc8(0x3b0)]());}[_0x491a6f(0x126)](_0xc93edd){var _0x2f5872=_0x491a6f;this[_0x2f5872(0x344)][_0x2f5872(0x480)](_0xc93edd);}}const bt=a[_0x491a6f(0x2f0)](_0x491a6f(0x198));function Rt(_0x4c237f){var _0x3097b2=_0x491a6f,_0x49b74e,_0x2709cf,_0x5a377c,_0x20d37b,_0x1b03b6;const _0x480756=_0x4c237f['data'],_0x13cb87=JSON[_0x3097b2(0x3b5)](_0x480756);switch(_0x13cb87[_0x3097b2(0x11f)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x502804=_0x13cb87[_0x3097b2(0x277)];return{..._0x13cb87,'data':_0x502804,'cmd':_0x13cb87[_0x3097b2(0x11f)]};}case G['JOIN']:{const _0x348996=_0x13cb87['joinRsp'];return{..._0x13cb87,'data':_0x348996,'cmd':_0x13cb87['cmd']};}case G[_0x3097b2(0x28b)]:{const _0x485c6e=_0x13cb87[_0x3097b2(0x19c)];switch(_0x485c6e['eventID']){case g['CollaborationEvent'][_0x3097b2(0x451)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x49b74e=_0x485c6e[_0x3097b2(0x28f)])==null?void 0x0:_0x49b74e['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x38c)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x2709cf=_0x485c6e[_0x3097b2(0x424)])==null?void 0x0:_0x2709cf['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x197)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x5a377c=_0x485c6e[_0x3097b2(0x44d)])==null?void 0x0:_0x5a377c['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1f7)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x20d37b=_0x485c6e[_0x3097b2(0x342)])==null?void 0x0:_0x20d37b['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1aa)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x1b03b6=_0x485c6e[_0x3097b2(0x216)])==null?void 0x0:_0x1b03b6['cs']},'cmd':_0x13cb87['cmd']};case g['CollaborationEvent'][_0x3097b2(0x47f)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x3b9)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x3d4)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x340)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1fe)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x343)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g['CollaborationEvent'][_0x3097b2(0x460)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x24f)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x3097b2(0x361)][_0x3097b2(0x321)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e['liveShareOperation']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x11c)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x24f)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x38e)]:return{..._0x13cb87,'data':_0x485c6e,'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g['CollaborationEvent'][_0x3097b2(0x3c0)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x28a)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x315)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x298)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x399)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x249)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x358)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x35f)]},'cmd':_0x13cb87['cmd']};default:return _0x13cb87;}}default:return _0x13cb87;}}function yt(_0x268f77){var _0xdadce1=_0x491a6f;switch(_0x268f77[_0xdadce1(0x11f)]){case G[_0xdadce1(0x15a)]:case G['HELLO']:return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77['cmd'],'routeKey':_0x268f77[_0xdadce1(0x385)]});case G['INGEST']:{let _0x171f37;switch(_0x268f77['data'][_0xdadce1(0x2e0)]){case g['CollaborationEvent'][_0xdadce1(0x47f)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x47f)],'updateCursorEvent':_0x268f77[_0xdadce1(0x368)]['data']};break;}case g[_0xdadce1(0x361)]['USERS_LEAVE']:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x1fe)],'leaveEvent':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g['CollaborationEvent'][_0xdadce1(0x3d4)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x3d4)],'joinEvent':_0x268f77['data']['data']};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x460)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x460)],'liveShareNewHost':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x321)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x321)],'liveShareOperation':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x11c)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x268f77[_0xdadce1(0x368)]['data']};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x185)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x185)],'liveShareRequestHost':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x2ae)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x2ae)]};break;}default:_0x171f37={'eventID':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x2e0)]};}return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77[_0xdadce1(0x11f)],'routeKey':_0x268f77[_0xdadce1(0x385)],'collaMsg':_0x171f37});}case G['JOIN']:return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77[_0xdadce1(0x11f)],'routeKey':_0x268f77['routeKey'],'joinReq':_0x268f77[_0xdadce1(0x368)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x268f77['cmd'],'routeKey':_0x268f77[_0xdadce1(0x385)],'leaveReq':_0x268f77['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x4274e0,_0x34b401,_0x1f3b41,_0x45d82b)=>{var _0xfa322d=_0x491a6f;for(var _0x3225ee=_0x45d82b>0x1?void 0x0:_0x45d82b?Xt(_0x34b401,_0x1f3b41):_0x34b401,_0x11e56b=_0x4274e0[_0xfa322d(0x182)]-0x1,_0x1df8d1;_0x11e56b>=0x0;_0x11e56b--)(_0x1df8d1=_0x4274e0[_0x11e56b])&&(_0x3225ee=_0x1df8d1(_0x3225ee)||_0x3225ee);return _0x3225ee;},_e=(_0x3c52fa,_0x1c5d14)=>(_0x5666f4,_0x1a0e9c)=>_0x1c5d14(_0x5666f4,_0x1a0e9c,_0x3c52fa);const $e=a[_0x491a6f(0x2f0)](_0x491a6f(0x39b));function Qt(_0xbf9fdd,_0x49457f,_0x2f8f3a){var _0x13f541=_0x491a6f;return _0xbf9fdd+'/'+_0x49457f+'/unit/'+_0x2f8f3a+_0x13f541(0x303);}exports[_0x491a6f(0x144)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x43ddb4,_0x4bd862,_0x5d3fd2,_0x27d482,_0x4e05d6){var _0x39e452=_0x491a6f;super(),this['_injector']=_0x43ddb4,this['_httpService']=_0x4bd862,this[_0x39e452(0x13d)]=_0x5d3fd2,this['_logService']=_0x27d482,this[_0x39e452(0x11e)]=_0x4e05d6;}[_0x491a6f(0x1f2)](_0x2522cb){var _0x1d9650=_0x491a6f;const _0xcd166c=this[_0x1d9650(0x488)][_0x1d9650(0x33b)](q[_0x1d9650(0x3f0)]);if(!_0xcd166c)throw new Error(_0x1d9650(0x272));const _0x237084=_0xcd166c[_0x1d9650(0x363)](_0x2522cb);if(!_0x237084)throw new Error(_0x1d9650(0x2f8));const _0x28ffa4=new a[(_0x1d9650(0x413))](),_0x4e51d1=new j['Subject']();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084[_0x1d9650(0x348)][_0x1d9650(0x148)](_0x31aa5f=>_0x4e51d1[_0x1d9650(0x480)](_0x31aa5f))),_0x28ffa4[_0x1d9650(0x1e3)](a[_0x1d9650(0x1cb)](()=>_0x4e51d1[_0x1d9650(0x203)]()));const _0x43e698=new j[(_0x1d9650(0x477))]();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084[_0x1d9650(0x3e6)][_0x1d9650(0x148)](_0x3deef7=>_0x43e698[_0x1d9650(0x480)](_0x3deef7))),_0x28ffa4['add'](a['toDisposable'](()=>_0x43e698['complete']()));const _0x174380=new j[(_0x1d9650(0x477))]();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084['message$'][_0x1d9650(0x148)](_0x5455bb=>{var _0x8435d5=_0x1d9650;const _0x14bfed=Rt(_0x5455bb);_0x174380[_0x8435d5(0x480)](_0x14bfed);})),_0x28ffa4[_0x1d9650(0x1e3)](a[_0x1d9650(0x1cb)](()=>_0x174380['complete']()));let _0x57e868;const _0x294a6f=()=>{var _0x5b41db=_0x1d9650;_0x43e698['next'](new Event('connection\x20error')),_0x4e51d1['next'](new Event(_0x5b41db(0x1e8))),_0x57e868['close']();};return _0x57e868={'memberID':'','close$':_0x4e51d1[_0x1d9650(0x3b0)](),'error$':_0x43e698[_0x1d9650(0x3b0)](),'open$':_0x237084[_0x1d9650(0x41d)],'message$':_0x174380[_0x1d9650(0x3b0)](),'send':_0x3dc092=>{var _0xf8dc9=_0x1d9650;if(_0x3dc092['cmd']===G[_0xf8dc9(0x2cb)]){if(_0x3dc092[_0xf8dc9(0x368)][_0xf8dc9(0x2e0)]===g['CollaborationEvent'][_0xf8dc9(0x43a)]){this['_submitChangeset'](_0x57e868,_0x3dc092['data'])[_0xf8dc9(0x224)](_0x456556=>{var _0x4a2aaf=_0xf8dc9;this['_logService'][_0x4a2aaf(0x1a7)](_0x456556),_0x294a6f();});return;}if(_0x3dc092[_0xf8dc9(0x368)][_0xf8dc9(0x2e0)]===g['CollaborationEvent'][_0xf8dc9(0x29e)]){const _0x7ae7d6=_0x3dc092[_0xf8dc9(0x368)];this['_fetchMissChangesets'](_0x7ae7d6)[_0xf8dc9(0x3dd)](_0x44b10c=>{var _0x1fc1a5=_0xf8dc9;_0x174380[_0x1fc1a5(0x480)]({'cmd':G[_0x1fc1a5(0x28b)],'code':ae['OK'],'routeKey':_0x7ae7d6[_0x1fc1a5(0x368)][_0x1fc1a5(0x408)],'routeType':'','data':{'eventID':g[_0x1fc1a5(0x361)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x44b10c}}});})[_0xf8dc9(0x224)](_0x4ee0e4=>{var _0x3dee2e=_0xf8dc9;this[_0x3dee2e(0x403)][_0x3dee2e(0x1a7)](_0x4ee0e4),_0x294a6f();});return;}}_0x237084[_0xf8dc9(0x1bf)](yt(_0x3dc092));},'close':()=>{var _0x3cdcb8=_0x1d9650;_0x237084[_0x3cdcb8(0x420)](),_0x28ffa4['dispose']();}},_0x57e868;}async[_0x491a6f(0x176)](_0x56807a,_0x59bfc7){var _0x2ceec0=_0x491a6f,_0x10ada9,_0x10a6fe;const {unitType:_0x1e1f12,unitID:_0x88d586,changeset:_0x248d9e}=_0x59bfc7[_0x2ceec0(0x368)],_0x44189c={'unitID':_0x88d586,'memberID':_0x56807a[_0x2ceec0(0x364)],'type':_0x1e1f12,'changeset':g[_0x2ceec0(0x40b)](_0x248d9e)},_0x3cc50f=this['_configService'][_0x2ceec0(0x167)](It),_0x1a5e05=this[_0x2ceec0(0x13d)][_0x2ceec0(0x167)](Y),_0x2a05f9=Qt((_0x10a6fe=(_0x10ada9=_0x1a5e05==null?void 0x0:_0x1a5e05['collabSubmitChangesetUrl'])!=null?_0x10ada9:_0x3cc50f)!=null?_0x10a6fe:Kt,_0x1e1f12,_0x88d586);try{await this[_0x2ceec0(0x2b7)]['post'](_0x2a05f9,{'body':_0x44189c});}catch(_0x5e51a0){throw this['_logService'][_0x2ceec0(0x1a7)]('[CollaborationSession]',_0x2ceec0(0x3ea)),_0x5e51a0;}}async[_0x491a6f(0x218)](_0x310224){var _0x351103=_0x491a6f;const {unitID:_0x52eb2e,from:_0x383143,to:_0x3b6607,unitType:_0x5a1b3b}=_0x310224[_0x351103(0x368)];return(await this[_0x351103(0x11e)][_0x351103(0x46b)]({'metadata':void 0x0},{'unitID':_0x52eb2e,'type':_0x5a1b3b,'from':_0x383143,'to':_0x3b6607}))[_0x351103(0x12c)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),_e(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)])),_e(0x2,a[_0x491a6f(0x3db)]),_e(0x3,a[_0x491a6f(0x3c8)]),_e(0x4,g[_0x491a6f(0x210)])],exports[_0x491a6f(0x144)]);const ei=_0x491a6f(0x459);function ti(_0x1b1853){var _0x23139f=_0x491a6f;return JSON[_0x23139f(0x2bd)](_0x1b1853)[_0x23139f(0x182)];}class Be{constructor(){var _0x3e5dd2=_0x491a6f;P(this,_0x3e5dd2(0x431),new j[(_0x3e5dd2(0x477))]()),P(this,'commentUpdate$',this[_0x3e5dd2(0x431)][_0x3e5dd2(0x3b0)]());}[_0x491a6f(0x392)](_0x3ae077){this['_commentUpdate$']['next'](_0x3ae077);}}var ii=Object[_0x491a6f(0x316)],ni=(_0x5877ab,_0x70415a,_0x4eb32f,_0xc460c2)=>{for(var _0x15ebca=_0xc460c2>0x1?void 0x0:_0xc460c2?ii(_0x70415a,_0x4eb32f):_0x70415a,_0xe1cec1=_0x5877ab['length']-0x1,_0x56fb63;_0xe1cec1>=0x0;_0xe1cec1--)(_0x56fb63=_0x5877ab[_0xe1cec1])&&(_0x15ebca=_0x56fb63(_0x15ebca)||_0x15ebca);return _0x15ebca;},Ke=(_0x16f766,_0x19407f)=>(_0x147b2c,_0x4fa32b)=>_0x19407f(_0x147b2c,_0x4fa32b,_0x16f766);exports[_0x491a6f(0x3cf)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x12cda6,_0x2f107e){var _0x138987=_0x491a6f;super(),P(this,_0x138987(0x350),new Map()),P(this,_0x138987(0x1ea),new j['Subject']()),(this['_univerInstanceService']=_0x12cda6,this[_0x138987(0x13b)]=_0x2f107e,this[_0x138987(0x15d)](j[_0x138987(0x37a)](this[_0x138987(0x192)][_0x138987(0x181)](a[_0x138987(0x397)][_0x138987(0x2fc)])[_0x138987(0x3c4)](W[_0x138987(0x48d)](_0x352906=>_0x352906['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x138987(0x397)]['UNIVER_DOC'])[_0x138987(0x3c4)](W[_0x138987(0x48d)](_0x40c1ed=>_0x40c1ed[_0x138987(0x14f)]())),this['_univerInstanceService'][_0x138987(0x181)](a[_0x138987(0x397)][_0x138987(0x1e0)])[_0x138987(0x3c4)](W['map'](_0x588c39=>_0x588c39[_0x138987(0x14f)]())))[_0x138987(0x148)](_0x328386=>this[_0x138987(0x172)](_0x328386))));}['waitForRoom$'](_0x107600){var _0x1705f1=_0x491a6f;return this['_roomMembers'][_0x1705f1(0x410)](_0x107600)?j['of'](this[_0x1705f1(0x350)][_0x1705f1(0x33b)](_0x107600)):this[_0x1705f1(0x1ea)]['pipe'](W['map'](_0x1f1bd9=>{var _0x536081=_0x1705f1;if(_0x1f1bd9===_0x107600)return this['_roomMembers'][_0x536081(0x33b)](_0x1f1bd9);}));}[_0x491a6f(0x3d1)](_0x51d7ae){var _0x1bc571=_0x491a6f;this[_0x1bc571(0x13b)][_0x1bc571(0x3d1)](_0x51d7ae);}['getCurrentUser'](){var _0x5e468a=_0x491a6f;return this['_userManagerService'][_0x5e468a(0x2c8)]();}[_0x491a6f(0x3aa)](_0x3315c1,_0x31b4ab){var _0x4e0077=_0x491a6f;let _0x57037f=this[_0x4e0077(0x350)][_0x4e0077(0x33b)](_0x3315c1);_0x57037f||(_0x57037f=new ri(),this[_0x4e0077(0x350)][_0x4e0077(0x318)](_0x3315c1,_0x57037f),this['_roomCreated$']['next'](_0x3315c1)),_0x57037f[_0x4e0077(0x3aa)](_0x31b4ab);}['removeMember'](_0x3a5bd3,_0x53a96b){var _0x1a5823=_0x491a6f;const _0x167343=this[_0x1a5823(0x350)]['get'](_0x3a5bd3);_0x167343&&_0x167343[_0x1a5823(0x335)](_0x53a96b);}[_0x491a6f(0x3ce)](_0x6f9c37){var _0x4c460e=_0x491a6f;return this['_roomMembers'][_0x4c460e(0x33b)](_0x6f9c37);}['getMember'](_0x398f30,_0x71879b){var _0xe9c048=_0x491a6f;const _0x3bd45f=this[_0xe9c048(0x350)][_0xe9c048(0x33b)](_0x398f30);if(_0x3bd45f)return _0x3bd45f[_0xe9c048(0x226)](_0x71879b);}[_0x491a6f(0x172)](_0x69d985){var _0x2092ef=_0x491a6f;const _0x4f7f98=this[_0x2092ef(0x350)][_0x2092ef(0x33b)](_0x69d985);_0x4f7f98&&(_0x4f7f98['dispose'](),this['_roomMembers']['delete'](_0x69d985));}['dispose'](){var _0x68dde6=_0x491a6f;this[_0x68dde6(0x350)]['forEach'](_0x39bf48=>_0x39bf48['dispose']()),this[_0x68dde6(0x350)][_0x68dde6(0x428)](),this['_roomCreated$'][_0x68dde6(0x203)]();}},exports[_0x491a6f(0x3cf)]=ni([Ke(0x0,a[_0x491a6f(0x312)]),Ke(0x1,a['Inject'](a[_0x491a6f(0x2cf)]))],exports[_0x491a6f(0x3cf)]);class ri extends a['Disposable']{constructor(){var _0x2a98c9=_0x491a6f;super(...arguments),P(this,'_members',new Map()),P(this,_0x2a98c9(0x163),new j[(_0x2a98c9(0x456))](this[_0x2a98c9(0x131)])),P(this,'members$',this['_members$']['asObservable']());}[_0x491a6f(0x21e)](){var _0x374d39=_0x491a6f;this[_0x374d39(0x131)][_0x374d39(0x428)]();}['updateMember'](_0x3d6ec7){var _0xa516d3=_0x491a6f;this[_0xa516d3(0x131)][_0xa516d3(0x318)](_0x3d6ec7[_0xa516d3(0x364)],_0x3d6ec7),this['_emitMembers']();}[_0x491a6f(0x335)](_0x1b54ed){var _0x5f002e=_0x491a6f;this[_0x5f002e(0x131)]['delete'](_0x1b54ed);}[_0x491a6f(0x226)](_0x44776a){var _0x5cb2c3=_0x491a6f;return this['_members'][_0x5cb2c3(0x33b)](_0x44776a);}[_0x491a6f(0x406)](){var _0x5cd486=_0x491a6f;return Array[_0x5cd486(0x1ae)](this[_0x5cd486(0x131)][_0x5cd486(0x1b2)]());}['_emitMembers'](){var _0x2e7a17=_0x491a6f;this['_members$']['next'](this[_0x2e7a17(0x131)]);}}var si=Object[_0x491a6f(0x316)],oi=(_0xa216a0,_0x28634e,_0x1a76e7,_0x55f750)=>{var _0x57098e=_0x491a6f;for(var _0x311775=_0x55f750>0x1?void 0x0:_0x55f750?si(_0x28634e,_0x1a76e7):_0x28634e,_0x3fd595=_0xa216a0[_0x57098e(0x182)]-0x1,_0x14d45b;_0x3fd595>=0x0;_0x3fd595--)(_0x14d45b=_0xa216a0[_0x3fd595])&&(_0x311775=_0x14d45b(_0x311775)||_0x311775);return _0x311775;},oe=(_0x49c995,_0x3b6e3f)=>(_0x20842e,_0x3245b2)=>_0x3b6e3f(_0x20842e,_0x3245b2,_0x49c995),se=(_0x46a16d=>(_0x46a16d[_0x46a16d[_0x491a6f(0x39f)]=0x0]=_0x491a6f(0x39f),_0x46a16d[_0x46a16d[_0x491a6f(0x2ee)]=0x1]=_0x491a6f(0x2ee),_0x46a16d[_0x46a16d['OFFLINE']=0x2]=_0x491a6f(0x1da),_0x46a16d[_0x46a16d[_0x491a6f(0x2d4)]=0x3]=_0x491a6f(0x2d4),_0x46a16d))(se||{});const Ye={[ae[_0x491a6f(0x12e)]]:'session.join-failed',[ae[_0x491a6f(0x257)]]:_0x491a6f(0x301),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x491a6f(0x19f),[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x491a6f(0x217),[ae[_0x491a6f(0x40c)]]:_0x491a6f(0x471)};exports[_0x491a6f(0x180)]=class extends a['RxDisposable']{constructor(_0xf3adea,_0x326ab8,_0x12cc79,_0x28dfba,_0x3e6884,_0x41f901,_0x454982,_0x2e913b,_0x52eb2d){var _0x3dfcfc=_0x491a6f;super(),P(this,_0x3dfcfc(0x1ac),new j[(_0x3dfcfc(0x456))](0x0)),P(this,_0x3dfcfc(0x16e),this[_0x3dfcfc(0x1ac)][_0x3dfcfc(0x3b0)]()),P(this,_0x3dfcfc(0x344),new j[(_0x3dfcfc(0x477))]()),P(this,_0x3dfcfc(0x1a0),this[_0x3dfcfc(0x344)][_0x3dfcfc(0x3b0)]()),P(this,_0x3dfcfc(0x3bb)),P(this,_0x3dfcfc(0x3ef)),P(this,'_collaborationTimeoutTimer'),P(this,_0x3dfcfc(0x448),!0x1),P(this,_0x3dfcfc(0x25f),null),(this[_0x3dfcfc(0x33d)]=_0xf3adea,this[_0x3dfcfc(0x403)]=_0x12cc79,this['_configService']=_0x28dfba,this[_0x3dfcfc(0x2fe)]=_0x3e6884,this[_0x3dfcfc(0x27f)]=_0x41f901,this[_0x3dfcfc(0x377)]=_0x454982,this[_0x3dfcfc(0x219)]=_0x2e913b,this['_telemetryService']=_0x52eb2d,this[_0x3dfcfc(0x448)]=!!this['_telemetryService'],_0x326ab8[_0x3dfcfc(0x3c4)](j['takeUntil'](this[_0x3dfcfc(0x242)]))[_0x3dfcfc(0x148)](_0x162b0a=>{var _0x180b5b=_0x3dfcfc,_0x55760c;typeof _0x162b0a>'u'||(this['_socket']=_0x162b0a,_0x162b0a?(this['_joinRoom'](_0x162b0a),this['_socketMessageSubscription']=_0x162b0a['message$']['subscribe'](_0x3ecfaa=>{var _0x376c4a=_0x2315;_0x3ecfaa[_0x376c4a(0x385)]===this[_0x376c4a(0x33d)]&&this['_onCombEvent'](_0x3ecfaa);})):(this[_0x180b5b(0x44b)](),this[_0x180b5b(0x1ac)][_0x180b5b(0x480)](0x2),(_0x55760c=this['_socketMessageSubscription'])==null||_0x55760c[_0x180b5b(0x3ae)](),this[_0x180b5b(0x3ef)]=null));}));}get[_0x491a6f(0x14b)](){var _0x37032b=_0x491a6f;return this['_sessionStatus$'][_0x37032b(0x201)]();}[_0x491a6f(0x284)](){var _0x383ca4=_0x491a6f,_0x2654e4,_0x4e514e;return(_0x4e514e=(_0x2654e4=this[_0x383ca4(0x3bb)])==null?void 0x0:_0x2654e4[_0x383ca4(0x364)])!=null?_0x4e514e:null;}['dispose'](){var _0x1ed243=_0x491a6f;super[_0x1ed243(0x21e)](),this['dispose$']['next'](),this[_0x1ed243(0x242)][_0x1ed243(0x203)]();}['close'](){var _0x3df260=_0x491a6f,_0x3a7178,_0x475082;this[_0x3df260(0x44b)](),(_0x3a7178=this[_0x3df260(0x3bb)])==null||_0x3a7178[_0x3df260(0x1bf)]({'cmd':G[_0x3df260(0x281)],'data':{'roomID':this[_0x3df260(0x33d)]}}),(_0x475082=this[_0x3df260(0x3bb)])==null||_0x475082['close'](),this[_0x3df260(0x344)]['complete'](),this['_sessionStatus$'][_0x3df260(0x203)](),this[_0x3df260(0x21e)]();}[_0x491a6f(0x220)](_0x14afea){var _0xe55cad=_0x491a6f;_0x14afea['cmd']===G[_0xe55cad(0x158)]?this[_0xe55cad(0x411)](_0x14afea):_0x14afea['cmd']===G[_0xe55cad(0x28b)]&&this[_0xe55cad(0x294)](_0x14afea);}['_joinRoom'](_0x1d53bc){var _0x5e2ae2=_0x491a6f;this['_sessionStatus$']['next'](0x1),_0x1d53bc[_0x5e2ae2(0x1bf)]({'cmd':G[_0x5e2ae2(0x158)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5e2ae2(0x33d)]}]}});}[_0x491a6f(0x411)](_0x24c0fe){var _0x54c29d=_0x491a6f,_0x165fcb;if(_0x24c0fe[_0x54c29d(0x209)]in Ye){this['_collaborationUIEventService'][_0x54c29d(0x126)]({'id':Q[_0x54c29d(0x362)],'data':Ye[_0x24c0fe[_0x54c29d(0x209)]]}),this['_sessionStatus$'][_0x54c29d(0x480)](0x2);return;}this[_0x54c29d(0x1ac)][_0x54c29d(0x480)](0x3);const _0x550f68=(_0x165fcb=_0x24c0fe[_0x54c29d(0x368)][_0x54c29d(0x129)][this['_unitID']])==null?void 0x0:_0x165fcb[_0x54c29d(0x2a3)];_0x550f68&&_0x550f68[_0x54c29d(0x18d)](_0x5f13b2=>this['_memberService'][_0x54c29d(0x3aa)](this[_0x54c29d(0x33d)],_0x5f13b2));}[_0x491a6f(0x294)](_0x43972f){var _0x38efb2=_0x491a6f;try{const _0x359500=_0x43972f[_0x38efb2(0x368)];switch(_0x359500[_0x38efb2(0x2e0)]){case g[_0x38efb2(0x361)]['USERS_ENTER']:this[_0x38efb2(0x20a)](_0x359500),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x1fe)]:this['_onUserLeave'](_0x359500),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x38c)]:case g[_0x38efb2(0x361)][_0x38efb2(0x1aa)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x38e)]:this[_0x38efb2(0x403)][_0x38efb2(0x1a7)](_0x38efb2(0x48f)+JSON['stringify'](_0x359500)),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x3c0)]:this[_0x38efb2(0x377)][_0x38efb2(0x392)](_0x359500['data']),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;default:this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);}}catch(_0x90aaac){this['_logService'][_0x38efb2(0x1a7)](_0x90aaac,_0x43972f);}}[_0x491a6f(0x20a)](_0x449876){var _0x13e897=_0x491a6f;this[_0x13e897(0x27f)][_0x13e897(0x3aa)](this[_0x13e897(0x33d)],_0x449876[_0x13e897(0x368)]);}[_0x491a6f(0x421)](_0x4eae6b){var _0x1518a4=_0x491a6f;this[_0x1518a4(0x27f)][_0x1518a4(0x335)](this[_0x1518a4(0x33d)],_0x4eae6b['data']['memberID']);}async['send'](_0x4cf333,_0x4836c4){var _0x4c883d=_0x491a6f;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4c883d(0x1c5));try{_0x4cf333[_0x4c883d(0x2e0)]===g[_0x4c883d(0x361)]['SUBMIT_CHANGESET']&&(this[_0x4c883d(0x402)](),this[_0x4c883d(0x161)](_0x4cf333)),this['_socket'][_0x4c883d(0x1bf)]({'cmd':G[_0x4c883d(0x2cb)],'routeKey':_0x4836c4,'routeType':'','data':_0x4cf333});}catch(_0x595cef){this['_logService'][_0x4c883d(0x1a7)](_0x595cef);}}[_0x491a6f(0x402)](){var _0xe73362=_0x491a6f,_0x182396;this[_0xe73362(0x33f)]=setTimeout(()=>{var _0xdc9f16=_0xe73362;this[_0xdc9f16(0x33f)]=null,this[_0xdc9f16(0x219)]['emitEvent']({'id':Q[_0xdc9f16(0x145)]});},(_0x182396=this[_0xe73362(0x13d)]['getConfig'](je))!=null?_0x182396:gt);}[_0x491a6f(0x42e)](){var _0x448fb7=_0x491a6f;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x448fb7(0x33f)]),this['_collaborationTimeoutTimer']=null);}[_0x491a6f(0x161)](_0x205aa7){var _0x30b4e7=_0x491a6f;if(!this[_0x30b4e7(0x448)])return;const {data:_0xc421b7}=_0x205aa7,{unitID:_0x5304e3,changeset:_0x53435a}=_0xc421b7,{mutations:_0x581749,type:_0x1792aa}=_0x53435a;this[_0x30b4e7(0x25f)]={'unitId':_0x5304e3,'type':_0x1792aa,'startTime':performance[_0x30b4e7(0x443)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x581749)};}[_0x491a6f(0x2fd)](){var _0x26d5eb=_0x491a6f;if(this[_0x26d5eb(0x448)]){if(!this['_telemetryInfo']){this[_0x26d5eb(0x403)]['error'](_0x26d5eb(0x41c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x26d5eb(0x426)]=performance['now'](),this[_0x26d5eb(0x25f)][_0x26d5eb(0x160)]=this[_0x26d5eb(0x25f)][_0x26d5eb(0x426)]-this[_0x26d5eb(0x25f)][_0x26d5eb(0x254)],this[_0x26d5eb(0x3e5)][_0x26d5eb(0x159)](ei,this[_0x26d5eb(0x25f)]),this[_0x26d5eb(0x25f)]=null;}}[_0x491a6f(0x44b)](){var _0x4dc295=_0x491a6f;this[_0x4dc295(0x25f)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x491a6f(0x3c8)]),oe(0x3,a[_0x491a6f(0x3db)]),oe(0x4,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),oe(0x5,a['Inject'](exports['MemberService'])),oe(0x6,a[_0x491a6f(0x1a1)](Be)),oe(0x7,a[_0x491a6f(0x1a1)](te)),oe(0x8,a[_0x491a6f(0x30e)](Mt[_0x491a6f(0x1d9)]))],exports[_0x491a6f(0x180)]);var ai=Object[_0x491a6f(0x316)],ci=(_0x2dca85,_0x17c500,_0x5f149e,_0x501315)=>{var _0x245bae=_0x491a6f;for(var _0xc9929b=_0x501315>0x1?void 0x0:_0x501315?ai(_0x17c500,_0x5f149e):_0x17c500,_0x1a5677=_0x2dca85[_0x245bae(0x182)]-0x1,_0x284d61;_0x1a5677>=0x0;_0x1a5677--)(_0x284d61=_0x2dca85[_0x1a5677])&&(_0xc9929b=_0x284d61(_0xc9929b)||_0xc9929b);return _0xc9929b;},le=(_0x352a31,_0x24b883)=>(_0x52c41d,_0x57d166)=>_0x24b883(_0x52c41d,_0x57d166,_0x352a31);exports[_0x491a6f(0x36f)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x1cd8fd,_0x212b09,_0xc58a7c,_0x4d29ba,_0x432617,_0x5dce2d){var _0x4f8e3f=_0x491a6f;super(),P(this,'_socket$',new j[(_0x4f8e3f(0x456))](void 0x0)),P(this,_0x4f8e3f(0x415),this[_0x4f8e3f(0x3ad)][_0x4f8e3f(0x3b0)]()),P(this,_0x4f8e3f(0x291),null),P(this,'_sessions',new Map()),P(this,'_status$',new j[(_0x4f8e3f(0x456))](se['IDLE'])),P(this,_0x4f8e3f(0x383),this[_0x4f8e3f(0x37d)]['asObservable']()),P(this,'_socketReady',!0x1),P(this,'_retryConnectingTimer'),P(this,_0x4f8e3f(0x152),0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x4f8e3f(0x386)),(this['_injector']=_0x1cd8fd,this[_0x4f8e3f(0x403)]=_0x212b09,this[_0x4f8e3f(0x13d)]=_0xc58a7c,this['_socketService']=_0x4d29ba,this[_0x4f8e3f(0x219)]=_0x432617,this[_0x4f8e3f(0x44c)]=_0x5dce2d,this[_0x4f8e3f(0x378)]());}get[_0x491a6f(0x3bb)](){var _0x543bb4=_0x491a6f;return this[_0x543bb4(0x3ad)]['getValue']();}[_0x491a6f(0x378)](){var _0x40a706=_0x491a6f;this['_networkConditionService']&&this[_0x40a706(0x15d)](this[_0x40a706(0x44c)]['online$'][_0x40a706(0x148)](_0x251e14=>{var _0x40258d=_0x40a706;_0x251e14&&!this['_socket']&&this[_0x40258d(0x40a)](),_0x251e14||this[_0x40258d(0x1c8)]();}));}[_0x491a6f(0x21e)](){var _0x5908f1=_0x491a6f;super[_0x5908f1(0x21e)](),this['_clearRetryConnectingTimer'](),this[_0x5908f1(0x32a)](),this['_clearHeartbeatTimer'](),this[_0x5908f1(0x314)]['forEach'](_0x1e8516=>_0x1e8516[_0x5908f1(0x21e)]()),this[_0x5908f1(0x314)]['clear'](),this[_0x5908f1(0x37d)][_0x5908f1(0x203)]();}async[_0x491a6f(0x23a)](_0x53dfe3){var _0x316f22=_0x491a6f;if(this['_sessions'][_0x316f22(0x410)](_0x53dfe3))return this['_sessions'][_0x316f22(0x33b)](_0x53dfe3);this[_0x316f22(0x3ca)]();const _0x17b7a7=this['_injector']['createInstance'](exports[_0x316f22(0x180)],_0x53dfe3,this[_0x316f22(0x3ad)][_0x316f22(0x3b0)]());return this[_0x316f22(0x314)]['set'](_0x53dfe3,_0x17b7a7),_0x17b7a7;}['closeSession'](_0x52defe){var _0x1bce0a=_0x491a6f,_0x2d665d;const _0x5ee1ae=this['_sessions'][_0x1bce0a(0x33b)](_0x52defe);_0x5ee1ae&&(this['_sessions'][_0x1bce0a(0x479)](_0x52defe),_0x5ee1ae[_0x1bce0a(0x420)]()),this[_0x1bce0a(0x314)][_0x1bce0a(0x2f5)]||(_0x2d665d=this[_0x1bce0a(0x3bb)])==null||_0x2d665d[_0x1bce0a(0x420)]();}['reconnect'](){var _0x2c3c1b=_0x491a6f;this[_0x2c3c1b(0x152)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2c3c1b(0x3fb)]();}[_0x491a6f(0x427)](){var _0x4fe360=_0x491a6f;this[_0x4fe360(0x127)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x491a6f(0x243)](){var _0x353410=_0x491a6f,_0x50afec,_0x3d5480;const _0x213ff8=this['_configService'][_0x353410(0x167)](St),_0x324aaf=this[_0x353410(0x13d)][_0x353410(0x167)](Y),_0x13f0db=(_0x3d5480=(_0x50afec=_0x324aaf==null?void 0x0:_0x324aaf['collabWebSocketUrl'])!=null?_0x50afec:_0x213ff8)!=null?_0x3d5480:ft,_0x341b16=await this[_0x353410(0x2c0)][_0x353410(0x363)](_0x13f0db);return this[_0x353410(0x291)]=_0x341b16,_0x341b16;}async[_0x491a6f(0x3ca)](){var _0x4f2509=_0x491a6f,_0x584d2b,_0x337e55;try{const _0x259bdb=(_0x337e55=(_0x584d2b=this[_0x4f2509(0x3bb)])!=null?_0x584d2b:this[_0x4f2509(0x291)])!=null?_0x337e55:await this[_0x4f2509(0x243)]();if(_0x259bdb){const _0x37351f=_0x259bdb[_0x4f2509(0x1bf)];_0x259bdb[_0x4f2509(0x1bf)]=_0xc4a399=>(this['_rescheduleHeartbeat'](),_0x37351f[_0x4f2509(0x3ed)](_0x259bdb,[_0xc4a399])),_0x259bdb[_0x4f2509(0x2e1)][_0x4f2509(0x148)](_0x5f0040=>this['_onMessage'](_0x259bdb,_0x5f0040)),_0x259bdb[_0x4f2509(0x3e6)][_0x4f2509(0x3c4)](W[_0x4f2509(0x490)](0x1))[_0x4f2509(0x148)](_0x6ab744=>this['_logService'][_0x4f2509(0x1a7)](_0x4f2509(0x137),_0x6ab744)),_0x259bdb[_0x4f2509(0x41d)][_0x4f2509(0x3c4)](W['take'](0x1))['subscribe'](()=>{var _0x45bff7=_0x4f2509;this[_0x45bff7(0x3cb)](_0x259bdb);}),_0x259bdb['close$']['pipe'](W['take'](0x1))[_0x4f2509(0x148)](_0x41c3b6=>{var _0x469c85=_0x4f2509;this[_0x469c85(0x403)]['debug'](_0x469c85(0x43c),_0x469c85(0x367),_0x41c3b6),this[_0x469c85(0x3b3)]();});}}catch(_0x47792d){this[_0x4f2509(0x403)]['error'](_0x47792d),this[_0x4f2509(0x3b3)]();}}[_0x491a6f(0x3cb)](_0x3797c8){var _0x3c36fa=_0x491a6f;this[_0x3c36fa(0x403)][_0x3c36fa(0x11d)](_0x3c36fa(0x43c),_0x3c36fa(0x3d6)),_0x3797c8[_0x3c36fa(0x1bf)]({'cmd':G[_0x3c36fa(0x416)]}),this[_0x3c36fa(0x305)]();}[_0x491a6f(0x1c8)](){var _0x17767a=_0x491a6f;this[_0x17767a(0x274)]=!0x1,this[_0x17767a(0x291)]=null,this['_status$'][_0x17767a(0x480)](se[_0x17767a(0x1da)]),this[_0x17767a(0x3ad)][_0x17767a(0x480)](null),this[_0x17767a(0x32a)](),this[_0x17767a(0x39a)]();}['_onConnectionFailed'](){var _0x56b2c2=_0x491a6f,_0x2cbd91;this[_0x56b2c2(0x1c8)](),this[_0x56b2c2(0x152)]<((_0x2cbd91=this[_0x56b2c2(0x13d)]['getConfig'](mt))!=null?_0x2cbd91:Wt)?(this[_0x56b2c2(0x219)][_0x56b2c2(0x126)]({'id':Q[_0x56b2c2(0x288)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x56b2c2(0x126)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x192b10=_0x491a6f,_0x40aa9b;const _0x24cb7d=this[_0x192b10(0x152)],_0x430f45=this[_0x192b10(0x13d)][_0x192b10(0x167)](Y),_0x260bb2=_0x24cb7d===0x0?0x0:((_0x40aa9b=_0x430f45==null?void 0x0:_0x430f45['retryConnectingInterval'])!=null?_0x40aa9b:Ft)*0x2**_0x24cb7d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5518b0=_0x192b10;clearTimeout(this[_0x5518b0(0x127)]),this['_retryConnectingTimer']=null,this[_0x5518b0(0x3ca)]();},_0x260bb2),this[_0x192b10(0x152)]+=0x1;}[_0x491a6f(0x376)](_0x18fbaf,_0x19955a){var _0x12f900=_0x491a6f;const {cmd:_0xfcb1e2}=_0x19955a;_0xfcb1e2===G[_0x12f900(0x416)]&&!this[_0x12f900(0x274)]&&(_0x18fbaf[_0x12f900(0x364)]=_0x19955a['data']['memberID'],this[_0x12f900(0x3ad)][_0x12f900(0x480)](_0x18fbaf),this[_0x12f900(0x37d)][_0x12f900(0x480)](se[_0x12f900(0x2d4)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0xfcb1e2===G[_0x12f900(0x15a)]&&this['_clearTimeoutTimer'](),this[_0x12f900(0x305)]();}[_0x491a6f(0x305)](){var _0x3de498=_0x491a6f,_0x1e803d;this[_0x3de498(0x39a)](),this[_0x3de498(0x140)]=setTimeout(()=>this[_0x3de498(0x236)](),(_0x1e803d=this['_configService']['getConfig'](pt))!=null?_0x1e803d:Bt);}[_0x491a6f(0x236)](){var _0xbda2df=_0x491a6f;this[_0xbda2df(0x3bb)]['send']({'cmd':G[_0xbda2df(0x15a)]}),this[_0xbda2df(0x455)]();}['_waitForHeartbeatResponse'](){var _0x59aa29=_0x491a6f,_0x2f3564;this['_timeoutTimer']=setTimeout(()=>this[_0x59aa29(0x3b3)](),(_0x2f3564=this[_0x59aa29(0x13d)][_0x59aa29(0x167)](je))!=null?_0x2f3564:gt);}[_0x491a6f(0x39a)](){var _0x18151f=_0x491a6f;this[_0x18151f(0x140)]!=null&&(clearTimeout(this[_0x18151f(0x140)]),this[_0x18151f(0x140)]=null);}[_0x491a6f(0x32a)](){var _0x133c7e=_0x491a6f;this[_0x133c7e(0x386)]!=null&&(clearTimeout(this[_0x133c7e(0x386)]),this[_0x133c7e(0x386)]=null);}},exports[_0x491a6f(0x36f)]=ci([le(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),le(0x1,a[_0x491a6f(0x3c8)]),le(0x2,a[_0x491a6f(0x3db)]),le(0x3,$e),le(0x4,a[_0x491a6f(0x1a1)](te)),le(0x5,a['Optional'](bt))],exports[_0x491a6f(0x36f)]);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x491a6f(0x295)](0x10)[_0x491a6f(0x489)](0x1));function hi(_0x30ee64,_0x5f4ab3=0x0){var _0x567140=_0x491a6f;return(V[_0x30ee64[_0x5f4ab3+0x0]]+V[_0x30ee64[_0x5f4ab3+0x1]]+V[_0x30ee64[_0x5f4ab3+0x2]]+V[_0x30ee64[_0x5f4ab3+0x3]]+'-'+V[_0x30ee64[_0x5f4ab3+0x4]]+V[_0x30ee64[_0x5f4ab3+0x5]]+'-'+V[_0x30ee64[_0x5f4ab3+0x6]]+V[_0x30ee64[_0x5f4ab3+0x7]]+'-'+V[_0x30ee64[_0x5f4ab3+0x8]]+V[_0x30ee64[_0x5f4ab3+0x9]]+'-'+V[_0x30ee64[_0x5f4ab3+0xa]]+V[_0x30ee64[_0x5f4ab3+0xb]]+V[_0x30ee64[_0x5f4ab3+0xc]]+V[_0x30ee64[_0x5f4ab3+0xd]]+V[_0x30ee64[_0x5f4ab3+0xe]]+V[_0x30ee64[_0x5f4ab3+0xf]])[_0x567140(0x2e6)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3ea2d6=_0x491a6f;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3ea2d6(0x3f2)])throw new Error(_0x3ea2d6(0x31f));Ue=crypto[_0x3ea2d6(0x3f2)][_0x3ea2d6(0x2f6)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x491a6f(0x1de)]&&crypto[_0x491a6f(0x1de)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x4ebdac,_0x1a4c65,_0x3e3578){var _0x52508f=_0x491a6f,_0x1305b4,_0x5a9ec,_0x5d6792;if(qe[_0x52508f(0x1de)]&&!_0x4ebdac)return qe[_0x52508f(0x1de)]();_0x4ebdac=_0x4ebdac||{};const _0x5a3989=(_0x5d6792=(_0x5a9ec=_0x4ebdac['random'])!=null?_0x5a9ec:(_0x1305b4=_0x4ebdac[_0x52508f(0x388)])==null?void 0x0:_0x1305b4[_0x52508f(0x21a)](_0x4ebdac))!=null?_0x5d6792:_i();if(_0x5a3989['length']<0x10)throw new Error(_0x52508f(0x3ec));return _0x5a3989[0x6]=_0x5a3989[0x6]&0xf|0x40,_0x5a3989[0x8]=_0x5a3989[0x8]&0x3f|0x80,hi(_0x5a3989);}const z=a[_0x491a6f(0x2f0)]('collaboration-client.local-cache-service');function vi(_0x5ab5e0){var _0x50d5af=_0x491a6f;return _0x50d5af(0x2d2)+_0x5ab5e0;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x3b9dc8,_0xc9816c,_0xcb893,_0x517860)=>{for(var _0x99bf2a=_0x517860>0x1?void 0x0:_0x517860?Si(_0xc9816c,_0xcb893):_0xc9816c,_0x493ff4=_0x3b9dc8['length']-0x1,_0x5e26a7;_0x493ff4>=0x0;_0x493ff4--)(_0x5e26a7=_0x3b9dc8[_0x493ff4])&&(_0x99bf2a=_0x5e26a7(_0x99bf2a)||_0x99bf2a);return _0x99bf2a;},Pe=(_0x300a1d,_0x2e1de1)=>(_0x1f1f5b,_0x5eedcb)=>_0x2e1de1(_0x1f1f5b,_0x5eedcb,_0x300a1d);function pi(_0x1e15c7){var _0x435df2=_0x491a6f;const {unitID:_0x490c63,mutations:_0x5a2dec}=_0x1e15c7;return{'unitId':_0x490c63,'subUnitId':_0x5a2dec[0x0][_0x435df2(0x292)][_0x435df2(0x407)]};}exports[_0x491a6f(0x153)]=class{constructor(_0x3d98f1,_0x59fbfb,_0xe7bebc){var _0x4ddf70=_0x491a6f;this[_0x4ddf70(0x488)]=_0x3d98f1,this[_0x4ddf70(0x21c)]=_0x59fbfb,this[_0x4ddf70(0x1bd)]=_0xe7bebc;}[_0x491a6f(0x48e)](_0x6e042a){var _0x4df32c=_0x491a6f,_0x550582,_0x39da6e,_0x57a99c,_0xd9c179;const _0x34c5b2=this[_0x4df32c(0x488)][_0x4df32c(0x33b)](Z[_0x4df32c(0x3a3)]),{unitId:_0x20075b,subUnitId:_0x1ae1ee}=pi(_0x6e042a),_0x3b8e3c=_0x34c5b2==null?void 0x0:_0x34c5b2[_0x4df32c(0x45a)](_0x20075b)[_0x4df32c(0x3be)](),_0x3b3c51=(_0x39da6e=(_0x550582=this[_0x4df32c(0x1bd)]['getUnit'](_0x20075b))==null?void 0x0:_0x550582[_0x4df32c(0x326)]())==null?void 0x0:_0x39da6e[_0x4df32c(0x26c)]();if(_0x3b8e3c[_0x4df32c(0x182)]===0x0||!_0x20075b||!_0x1ae1ee)return;const _0x1c7e40=[{'id':Z[_0x4df32c(0x17d)]['id'],'params':{'unitId':_0x20075b,'subUnitId':_0x3b3c51,'selections':a[_0x4df32c(0x46f)][_0x4df32c(0x164)](_0x3b8e3c)}}],_0x4628f3=this['_transformService'][_0x4df32c(0x1ca)](_0x6e042a,_0x1c7e40);if(!g[_0x4df32c(0x29c)](_0x4628f3))throw _0x4628f3[_0x4df32c(0x1a7)];const _0x1a63cb=(_0xd9c179=(_0x57a99c=_0x4628f3[_0x4df32c(0x1f3)][0x0])==null?void 0x0:_0x57a99c[_0x4df32c(0x292)])==null?void 0x0:_0xd9c179['selections'];if(Array[_0x4df32c(0x1ba)](_0x1a63cb)&&_0x1a63cb[_0x4df32c(0x182)]){if(_0x1a63cb['length']===_0x1c7e40[0x0][_0x4df32c(0x292)]['selections'][_0x4df32c(0x182)]&&_0x1a63cb['every']((_0x534ff7,_0x462ff5)=>a['Rectangle']['equals'](_0x534ff7['range'],_0x1c7e40[0x0][_0x4df32c(0x292)][_0x4df32c(0x266)][_0x462ff5]['range'])))return;this[_0x4df32c(0x488)]['get'](a[_0x4df32c(0x2ce)])[_0x4df32c(0x453)](Z[_0x4df32c(0x17d)]['id'],{'unitId':_0x20075b,'subUnitId':_0x3b3c51,'selections':_0x1a63cb});}}},exports[_0x491a6f(0x153)]=fi([Pe(0x0,a['Inject'](a[_0x491a6f(0x400)])),Pe(0x1,g['ITransformService']),Pe(0x2,a[_0x491a6f(0x312)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x36cb30=>(_0x36cb30[_0x36cb30[_0x491a6f(0x33a)]=0x0]=_0x491a6f(0x33a),_0x36cb30[_0x36cb30[_0x491a6f(0x227)]=0x1]='OTHER_CLIENTS_EDITING',_0x36cb30))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x3352c0,_0xdfe883,_0x1f3ac9,_0xd4b8da,_0x176b0d){var _0x23c6db=_0x491a6f,_0x3c1e1f,_0x48adbd,_0x4e6688,_0x3e4d0d;const _0x551f11=[];for(const _0x165ecc of _0x3352c0)if(gi[_0x23c6db(0x410)](_0x165ecc['id'])){if(_0x551f11[_0x23c6db(0x182)]>0x0)break;_0x551f11[_0x23c6db(0x3c3)](_0x165ecc);break;}else _0x551f11['push'](_0x165ecc);const _0x30fbaf=(_0x48adbd=(_0x3c1e1f=_0x176b0d[_0x23c6db(0x2c8)]())==null?void 0x0:_0x3c1e1f[_0x23c6db(0x485)])!=null?_0x48adbd:_0x23c6db(0x432),_0x4dca80=(_0x3e4d0d=(_0x4e6688=_0x176b0d[_0x23c6db(0x2c8)]())==null?void 0x0:_0x4e6688[_0x23c6db(0x364)])!=null?_0x3e4d0d:_0x23c6db(0x432);return{'changeset':{'unitID':_0xdfe883,'type':g[_0x23c6db(0x2ef)](_0x1f3ac9[_0x23c6db(0x3e2)](_0xdfe883)),'baseRev':_0xd4b8da[_0x23c6db(0x26b)](_0xdfe883),'revision':0x0,'userID':_0x30fbaf,'memberID':_0x4dca80,'mutations':_0x551f11},'pendingMutations':_0x3352c0[_0x23c6db(0x489)](_0x551f11[_0x23c6db(0x182)])};}function mi(_0x1e496e,_0x29a521,_0x3491d0,_0x567166,_0x42e2d5){var _0x5da9e4=_0x491a6f,_0x3db608,_0x634622,_0x43be58,_0x3aaeaf;const _0x14d4ba=[_0x1e496e[_0x5da9e4(0x200)]((_0x16b20d,_0x5db9cc)=>{var _0x2f357f=_0x5da9e4,_0x5130c2;const {id:_0x444f77}=_0x16b20d,{id:_0x2d822b,type:_0x3b5558}=_0x5db9cc,_0x5c5b87=(_0x5130c2=_0x16b20d[_0x2f357f(0x292)])!=null?_0x5130c2:{'actions':null},_0x3cfd67=_0x5db9cc['params'];if(_0x444f77&&_0x444f77!==_0x2d822b)throw new Error(_0x2f357f(0x12d)+_0x444f77+_0x2f357f(0x1f0)+_0x2d822b+'.');return{..._0x16b20d,'id':_0x2d822b,'type':_0x3b5558,'params':{'unitId':_0x3cfd67[_0x2f357f(0x3f9)],'textRanges':_0x3cfd67['textRanges'],'actions':a[_0x2f357f(0x246)]['compose'](_0x5c5b87[_0x2f357f(0x2b9)],_0x3cfd67[_0x2f357f(0x2b9)])}};},{})],_0x4250ee=(_0x634622=(_0x3db608=_0x42e2d5[_0x5da9e4(0x2c8)]())==null?void 0x0:_0x3db608['userID'])!=null?_0x634622:_0x5da9e4(0x432),_0x5dadd2=(_0x3aaeaf=(_0x43be58=_0x42e2d5[_0x5da9e4(0x2c8)]())==null?void 0x0:_0x43be58[_0x5da9e4(0x364)])!=null?_0x3aaeaf:_0x5da9e4(0x432);return{'changeset':{'unitID':_0x29a521,'type':g[_0x5da9e4(0x2ef)](_0x3491d0[_0x5da9e4(0x3e2)](_0x29a521)),'baseRev':_0x567166['getCurrentRevOfUnit'](_0x29a521),'revision':0x0,'userID':_0x4250ee,'memberID':_0x5dadd2,'mutations':_0x14d4ba},'pendingMutations':[]};}function Ot(_0x368f8b,_0x5741f7){var _0x527093=_0x491a6f;const _0x3bfd0a=new j[(_0x527093(0x13e))](0x1);return setTimeout(()=>_0x3bfd0a[_0x527093(0x480)](_0x5741f7),_0x368f8b),_0x3bfd0a['asObservable']()['pipe'](j[_0x527093(0x490)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x491a6f(0x349)][_0x491a6f(0x2a0)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x433910,_0x52b7ef,_0x544490,_0x202513)=>{var _0x26a52a=_0x491a6f;for(var _0x330627=_0x202513>0x1?void 0x0:_0x202513?Ei(_0x52b7ef,_0x544490):_0x52b7ef,_0x46ea2a=_0x433910[_0x26a52a(0x182)]-0x1,_0x5336fe;_0x46ea2a>=0x0;_0x46ea2a--)(_0x5336fe=_0x433910[_0x46ea2a])&&(_0x330627=_0x5336fe(_0x330627)||_0x330627);return _0x330627;},w=(_0x4de63a,_0x418328)=>(_0x192280,_0xbefb9)=>_0x418328(_0x192280,_0xbefb9,_0x4de63a),We=(_0x1787de=>(_0x1787de['NOT_COLLAB']='not_collab',_0x1787de[_0x491a6f(0x290)]='synced',_0x1787de['PENDING']=_0x491a6f(0x214),_0x1787de[_0x491a6f(0x1b6)]=_0x491a6f(0x45c),_0x1787de[_0x491a6f(0x373)]='awaiting_with_pending',_0x1787de[_0x491a6f(0x34e)]=_0x491a6f(0x29b),_0x1787de[_0x491a6f(0x187)]=_0x491a6f(0x2ad),_0x1787de[_0x491a6f(0x1da)]=_0x491a6f(0x189),_0x1787de))(We||{});const Nt=0xea60;class he{constructor(_0x39b77b,_0x2a58af,_0x294a4e,_0x290764,_0x201028,_0x130b5f,_0x204362,_0x12f13f,_0x58981b){var _0x2812a2=_0x491a6f;P(this,_0x2812a2(0x41f),null),P(this,_0x2812a2(0x3a8),[]),(this['unitID']=_0x39b77b,this['type']=_0x2a58af,this[_0x2812a2(0x2af)]=_0x201028,this[_0x2812a2(0x296)]=_0x130b5f,this[_0x2812a2(0x24b)]=_0x204362,this[_0x2812a2(0x3fa)]=_0x12f13f,this[_0x2812a2(0x345)]=_0x58981b,this[_0x2812a2(0x41f)]=_0x294a4e,this['_pendingMutations']=_0x290764);}[_0x491a6f(0x371)](_0x2a8847){var _0x8e18c9=_0x491a6f;const _0x4794cb=this[_0x8e18c9(0x3fa)][_0x8e18c9(0x26b)](this[_0x8e18c9(0x408)]);return _0x2a8847[_0x8e18c9(0x186)]>_0x4794cb+0x1?(this[_0x8e18c9(0x2af)]['onMissingChangesets']({'from':_0x4794cb,'to':_0x2a8847['revision']-0x1}),!0x0):!0x1;}[_0x491a6f(0x2a6)](_0x2d1cc0){var _0x4eda04=_0x491a6f;this['_undoRedoService']['transformUndoRedo'](this[_0x4eda04(0x408)],_0x2d1cc0);}[_0x491a6f(0x14e)](_0x3f884c){var _0x5d9146=_0x491a6f,_0x349b65,_0x64ea6f;(_0x64ea6f=(_0x349b65=this[_0x5d9146(0x2af)])[_0x5d9146(0x36e)])==null||_0x64ea6f[_0x5d9146(0x21a)](_0x349b65,_0x3f884c);}['_transformIMECache'](_0x2a5c1f){var _0x1eebbd=_0x491a6f,_0x5eea6f,_0x3d55c1;return(_0x3d55c1=(_0x5eea6f=this['_handler'])[_0x1eebbd(0x308)])==null?void 0x0:_0x3d55c1[_0x1eebbd(0x21a)](_0x5eea6f,_0x2a5c1f);}[_0x491a6f(0x35d)](_0x44e952){var _0x2a02d4=_0x491a6f,_0x297bb6,_0x488699;return(_0x488699=(_0x297bb6=this[_0x2a02d4(0x2af)])[_0x2a02d4(0x28c)])==null?void 0x0:_0x488699[_0x2a02d4(0x21a)](_0x297bb6,_0x44e952);}[_0x491a6f(0x1e5)](_0xd6c7b9){var _0x41aab2=_0x491a6f,_0x2bea92,_0xb307ad,_0x43b38b;return(_0x43b38b=(_0xb307ad=(_0x2bea92=this[_0x41aab2(0x2af)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb307ad[_0x41aab2(0x21a)](_0x2bea92,_0xd6c7b9))!=null?_0x43b38b:_0xd6c7b9;}['_transformRemoteChangesetByStateCache'](_0x5ed725){var _0x59e480=_0x491a6f,_0x139b7b,_0x793b47,_0x58f4f9;return(_0x58f4f9=(_0x793b47=(_0x139b7b=this[_0x59e480(0x2af)])[_0x59e480(0x1c9)])==null?void 0x0:_0x793b47[_0x59e480(0x21a)](_0x139b7b,_0x5ed725))!=null?_0x58f4f9:_0x5ed725;}[_0x491a6f(0x2b0)](_0x462a6d){var _0x37d03d=_0x491a6f,_0x1fc94d,_0x3b9c08;if(this[_0x37d03d(0x325)]===X['UNIVER_DOC']){const {unitID:_0x4f8763,mutations:_0x75f2f4,memberID:_0x266332}=_0x462a6d,_0x17d69c=_0x75f2f4[0x0][_0x37d03d(0x292)]['textRanges'];Array[_0x37d03d(0x1ba)](_0x17d69c)&&_0x17d69c[_0x37d03d(0x182)]>0x0&&((_0x3b9c08=(_0x1fc94d=this[_0x37d03d(0x2af)])[_0x37d03d(0x44f)])==null||_0x3b9c08[_0x37d03d(0x21a)](_0x1fc94d,{'unitID':_0x4f8763,'memberID':_0x266332,'textRanges':_0x17d69c}));}}[_0x491a6f(0x466)](){var _0x291b2e=_0x491a6f,_0x5a77c7;(_0x5a77c7=this[_0x291b2e(0x345)])==null||_0x5a77c7['updateOfflineData'](this[_0x291b2e(0x408)],this[_0x291b2e(0x325)],this[_0x291b2e(0x41f)],this[_0x291b2e(0x3a8)]);}[_0x491a6f(0x2bb)](){var _0x3e9e47=_0x491a6f;return this['_revisionService'][_0x3e9e47(0x26b)](this[_0x3e9e47(0x408)]);}[_0x491a6f(0x47b)](){var _0x3e7114=_0x491a6f;this[_0x3e7114(0x3fa)][_0x3e7114(0x405)](this['unitID']);}[_0x491a6f(0x128)](_0x4ca716){var _0x31ff68=_0x491a6f,_0x5f309d;let _0x2c3887=this[_0x31ff68(0x1e5)](_0x4ca716);_0x2c3887=this[_0x31ff68(0x475)](_0x2c3887);const _0x47cc6a=a['sequenceExecute'](_0x2c3887[_0x31ff68(0x35a)],this[_0x31ff68(0x296)],{'fromCollab':!0x0});if(!_0x47cc6a[_0x31ff68(0x24a)])throw _0x47cc6a[_0x31ff68(0x1a7)]instanceof Error?_0x47cc6a[_0x31ff68(0x1a7)]:new Error((_0x5f309d=_0x47cc6a[_0x31ff68(0x1a7)])!=null?_0x5f309d:_0x31ff68(0x37e));this[_0x31ff68(0x2dd)](_0x2c3887),this[_0x31ff68(0x35d)](_0x2c3887),this['_transformUndoredo'](_0x4ca716),this[_0x31ff68(0x14e)](_0x2c3887),this['_syncEditingCollabCursor'](_0x2c3887),this[_0x31ff68(0x47b)]();}}exports['SyncedState']=class extends he{constructor(_0x5111ae,_0xe72a03,_0x3246c1,_0x450e7b,_0xe27caa,_0x2eb304,_0x1b67f1,_0x3fd2dd,_0x1640c5,_0x41302b){var _0x2c9713=_0x491a6f;super(_0x5111ae,_0xe72a03,null,[],_0x3246c1,_0x1b67f1,_0x2eb304,_0x450e7b,_0x41302b),P(this,_0x2c9713(0x1ad),_0x2c9713(0x23b)),(this[_0x2c9713(0x488)]=_0xe27caa,this['_logService']=_0x3fd2dd,this[_0x2c9713(0x21c)]=_0x1640c5,this[_0x2c9713(0x2d1)]=_0x41302b);}[_0x491a6f(0x166)](_0x4e8f0c){var _0x2ece33=_0x491a6f;const _0x1c476c=this[_0x2ece33(0x488)][_0x2ece33(0x125)](exports[_0x2ece33(0x35e)],this[_0x2ece33(0x408)],this[_0x2ece33(0x325)],[_0x4e8f0c],this['_handler']);return _0x1c476c[_0x2ece33(0x120)](),_0x1c476c['_updateLocalCache'](),_0x1c476c;}[_0x491a6f(0x267)](_0x2c8378){var _0x39c7c8=_0x491a6f;if(this[_0x39c7c8(0x371)](_0x2c8378))return this[_0x39c7c8(0x488)][_0x39c7c8(0x125)](exports['FetchingMissState'],this[_0x39c7c8(0x408)],this[_0x39c7c8(0x325)],null,[],null,[_0x2c8378],this[_0x39c7c8(0x2af)]);try{const _0x1ea78e=this[_0x39c7c8(0x21c)][_0x39c7c8(0x1ca)](_0x2c8378,[Ii]);if(g[_0x39c7c8(0x29c)](_0x1ea78e)){const {c1Prime:_0x1a5ca1}=_0x1ea78e;return this[_0x39c7c8(0x128)](_0x1a5ca1),this;}throw _0x1ea78e[_0x39c7c8(0x1a7)];}catch(_0x20d2a7){return this[_0x39c7c8(0x403)][_0x39c7c8(0x1a7)](_0x20d2a7),this[_0x39c7c8(0x380)](!0x1);}}['_onConflict'](_0x2c270a){var _0x1f4e44=_0x491a6f;return this[_0x1f4e44(0x488)][_0x1f4e44(0x125)](exports[_0x1f4e44(0x2d3)],this['unitID'],this[_0x1f4e44(0x325)],null,[],this['_handler'],_0x2c270a);}[_0x491a6f(0x2b8)](){var _0xb499d5=_0x491a6f;throw new Error(_0xb499d5(0x21d));}['onRemoteRej'](){var _0x140471=_0x491a6f;throw new Error(_0x140471(0x15f));}['onRemoteRetry'](){return this;}[_0x491a6f(0x473)](){var _0x1e520a=_0x491a6f;return this[_0x1e520a(0x488)][_0x1e520a(0x125)](exports[_0x1e520a(0x252)],this[_0x1e520a(0x408)],this[_0x1e520a(0x325)],null,[],this['_handler']);}[_0x491a6f(0x238)](){return this;}['resend'](){var _0x20a965=_0x491a6f;throw new Error(_0x20a965(0x419));}[_0x491a6f(0x3f4)](){var _0x2b4a86=_0x491a6f;const _0x4ef155=this['_revisionService'][_0x2b4a86(0x26b)](this['unitID']);return this[_0x2b4a86(0x2af)][_0x2b4a86(0x232)]({'from':_0x4ef155,'to':0x0}),this[_0x2b4a86(0x488)]['createInstance'](exports['FetchingMissState'],this[_0x2b4a86(0x408)],this[_0x2b4a86(0x325)],null,[],null,[],this[_0x2b4a86(0x2af)]);}},exports[_0x491a6f(0x1ec)]=ce([w(0x3,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x4,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x5,a[_0x491a6f(0x287)]),w(0x6,a['ICommandService']),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,g['ITransformService']),w(0x9,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x1ec)]),exports['PendingState']=class extends he{constructor(_0x2061a7,_0x257a70,_0x5d77c6,_0x425b63,_0x14dd71,_0xe35d90,_0x42be3f,_0x5d0e1a,_0x323718,_0x263b14,_0x1265bf,_0x45786d,_0x283f0e,_0x445c9b){var _0xfa949d=_0x491a6f;super(_0x2061a7,_0x257a70,null,_0x5d77c6,_0x425b63,_0x323718,_0x283f0e,_0xe35d90,_0x445c9b),P(this,_0xfa949d(0x1ad),_0xfa949d(0x214)),P(this,_0xfa949d(0x409),null),P(this,_0xfa949d(0x27d),null),(this[_0xfa949d(0x488)]=_0x14dd71,this[_0xfa949d(0x27f)]=_0x42be3f,this[_0xfa949d(0x403)]=_0x5d0e1a,this[_0xfa949d(0x13d)]=_0x263b14,this[_0xfa949d(0x21c)]=_0x1265bf,this['_univerInstanceService']=_0x45786d);}['appendMutation'](_0x5ec5cb){var _0x4ceee0=_0x491a6f;return this[_0x4ceee0(0x3a8)]['push'](_0x5ec5cb),this[_0x4ceee0(0x466)](),this;}[_0x491a6f(0x267)](_0x3796e5){var _0x19d7a5=_0x491a6f;if(this[_0x19d7a5(0x371)](_0x3796e5))return this['_clearScheduledTask'](),this[_0x19d7a5(0x488)][_0x19d7a5(0x125)](exports[_0x19d7a5(0x191)],this[_0x19d7a5(0x408)],this['type'],null,this[_0x19d7a5(0x3a8)],null,[_0x3796e5],this[_0x19d7a5(0x2af)]);try{const _0xb29d80=this[_0x19d7a5(0x21c)][_0x19d7a5(0x1ca)](_0x3796e5,this['_pendingMutations']);if(g['isTransformMutationsWithChangesetSuccess'](_0xb29d80)){const {c1Prime:_0x110d77,m2Prime:_0x55af5b}=_0xb29d80;this[_0x19d7a5(0x128)](_0x110d77);const _0x1fc380=this[_0x19d7a5(0x488)][_0x19d7a5(0x125)](exports['PendingState'],this['unitID'],this[_0x19d7a5(0x325)],_0x55af5b,this[_0x19d7a5(0x2af)]);this[_0x19d7a5(0x2fb)]();const _0x510eb3=new Date()[_0x19d7a5(0x20d)](),_0x40953e=this[_0x19d7a5(0x409)]?Math[_0x19d7a5(0x250)](this['_scheduleCompleteTimestamp']-_0x510eb3,0x0):this['_getSendChangesetTimeout']();return _0x1fc380[_0x19d7a5(0x120)](_0x40953e),_0x1fc380;}throw _0xb29d80[_0x19d7a5(0x1a7)];}catch(_0x362dd8){return this[_0x19d7a5(0x403)][_0x19d7a5(0x1a7)](_0x362dd8),this[_0x19d7a5(0x380)](!0x1);}}[_0x491a6f(0x2b8)](){var _0x31d9dc=_0x491a6f;throw new Error(_0x31d9dc(0x328));}[_0x491a6f(0x233)](){var _0x4bbe5e=_0x491a6f;throw new Error(_0x4bbe5e(0x18b));}['onRemoteRetry'](){return this;}[_0x491a6f(0x473)](){var _0xeab27=_0x491a6f;return this[_0xeab27(0x2fb)](),this[_0xeab27(0x488)]['createInstance'](exports['OfflineState'],this[_0xeab27(0x408)],this[_0xeab27(0x325)],null,this[_0xeab27(0x3a8)],this[_0xeab27(0x2af)]);}['toggleOnline'](){return this;}[_0x491a6f(0x120)](_0x58271){var _0xb41442=_0x491a6f;const _0x50ee16=_0x58271!=null?_0x58271:this[_0xb41442(0x1db)]();this['_scheduleCompleteTimestamp']=new Date()[_0xb41442(0x20d)]()+_0x50ee16,this[_0xb41442(0x27d)]=setTimeout(()=>{var _0x5db6d3=_0xb41442;this['_clearScheduledTask']();let _0x29614e=null;switch(this[_0x5db6d3(0x325)]){case X[_0x5db6d3(0x2fc)]:{_0x29614e=ze(this['_pendingMutations'],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this[_0x5db6d3(0x3fa)],this[_0x5db6d3(0x27f)]);break;}case X['UNIVER_DOC']:{this[_0x5db6d3(0x3a8)][_0x5db6d3(0x476)](_0x361f67=>_0x361f67['id']===ut[_0x5db6d3(0x13a)]['id'])?_0x29614e=mi(this[_0x5db6d3(0x3a8)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this['_revisionService'],this[_0x5db6d3(0x27f)]):_0x29614e=ze(this[_0x5db6d3(0x3a8)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this[_0x5db6d3(0x3fa)],this[_0x5db6d3(0x27f)]);break;}default:throw new Error(_0x5db6d3(0x47e)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x56106a,pendingMutations:_0x4f4fd5}=_0x29614e;this[_0x5db6d3(0x2af)][_0x5db6d3(0x2ec)](_0x56106a);const _0x1a57ba=_0x4f4fd5[_0x5db6d3(0x182)]?this['_injector'][_0x5db6d3(0x125)](exports[_0x5db6d3(0x239)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x325)],_0x56106a,_0x4f4fd5,this[_0x5db6d3(0x2af)],void 0x0):this[_0x5db6d3(0x488)][_0x5db6d3(0x125)](exports[_0x5db6d3(0x28e)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x325)],_0x56106a,this[_0x5db6d3(0x2af)]);_0x1a57ba[_0x5db6d3(0x466)](),this[_0x5db6d3(0x2af)][_0x5db6d3(0x23f)](this,_0x1a57ba);},_0x50ee16);}[_0x491a6f(0x1db)](){var _0x9ae08b=_0x491a6f,_0x417940;const _0x3fc57e=this[_0x9ae08b(0x13d)][_0x9ae08b(0x167)](Y);return(_0x417940=_0x3fc57e==null?void 0x0:_0x3fc57e['sendChangesetTimeout'])!=null?_0x417940:jt;}[_0x491a6f(0x36b)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x491a6f(0x2fb)](){var _0x3403d9=_0x491a6f;this[_0x3403d9(0x27d)]!=null&&(clearTimeout(this[_0x3403d9(0x27d)]),this[_0x3403d9(0x27d)]=null);}['_onConflict'](_0x5068a7){var _0x1f79af=_0x491a6f;return this[_0x1f79af(0x2fb)](),this[_0x1f79af(0x488)][_0x1f79af(0x125)](exports[_0x1f79af(0x2d3)],this[_0x1f79af(0x408)],this['type'],null,this[_0x1f79af(0x3a8)],this[_0x1f79af(0x2af)],_0x5068a7);}},exports[_0x491a6f(0x35e)]=ce([w(0x4,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x5,a['Inject'](g[_0x491a6f(0x3c6)])),w(0x6,a[_0x491a6f(0x1a1)](exports[_0x491a6f(0x3cf)])),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,a[_0x491a6f(0x2ce)]),w(0x9,a['IConfigService']),w(0xa,g[_0x491a6f(0x2b1)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x491a6f(0x287)]),w(0xd,a['Optional'](z))],exports[_0x491a6f(0x35e)]),exports[_0x491a6f(0x28e)]=class extends he{constructor(_0x137075,_0x369d2a,_0x115eed,_0x183727,_0x106fd3,_0x4a8e76,_0x1a92ca,_0x212403,_0x3d52a6,_0x48c50a,_0xab1d1f){var _0x4a210e=_0x491a6f;super(_0x137075,_0x369d2a,_0x115eed,[],_0x183727,_0x1a92ca,_0x48c50a,_0x4a8e76,_0xab1d1f),P(this,'status',_0x4a210e(0x45c)),P(this,_0x4a210e(0x27c),0x0),P(this,'_resendTimer'),P(this,_0x4a210e(0x1dc)),(this[_0x4a210e(0x488)]=_0x106fd3,this[_0x4a210e(0x403)]=_0x212403,this[_0x4a210e(0x21c)]=_0x3d52a6);}['appendMutation'](_0xc50bc3){var _0x4eb629=_0x491a6f;this[_0x4eb629(0x2fb)]();const _0x177ec3=this[_0x4eb629(0x488)][_0x4eb629(0x125)](exports[_0x4eb629(0x239)],this[_0x4eb629(0x408)],this['type'],this[_0x4eb629(0x41f)],[_0xc50bc3],this[_0x4eb629(0x2af)],this['_resendTimer']);return _0x177ec3['_updateLocalCache'](),_0x177ec3;}[_0x491a6f(0x267)](_0x4eb764){var _0x594465=_0x491a6f;if(this['_checkMissing'](_0x4eb764))return this[_0x594465(0x2fb)](),this[_0x594465(0x488)]['createInstance'](exports[_0x594465(0x191)],this[_0x594465(0x408)],this[_0x594465(0x325)],this['_awaitingChangeset'],[],null,[_0x4eb764],this[_0x594465(0x2af)]);try{const _0x31e4db=this[_0x594465(0x21c)][_0x594465(0x139)]([_0x4eb764],[this[_0x594465(0x41f)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x31e4db)){const {c1Prime:_0x562d6f,c2Prime:_0x264f3c}=_0x31e4db;this['_executeRemoteChangeset'](_0x562d6f[0x0]),_0x264f3c[0x0][_0x594465(0x1dd)]=this['_getCurrentRevision'](),this[_0x594465(0x2fb)]();const _0x4e3b2a=this[_0x594465(0x488)]['createInstance'](exports[_0x594465(0x28e)],this[_0x594465(0x408)],this[_0x594465(0x325)],_0x264f3c[0x0],this[_0x594465(0x2af)]);return _0x4e3b2a[_0x594465(0x466)](),_0x4e3b2a;}return this[_0x594465(0x380)](!0x1);}catch(_0x1ada7e){return this[_0x594465(0x403)][_0x594465(0x1a7)](_0x1ada7e),this[_0x594465(0x380)](!0x1);}}[_0x491a6f(0x2b8)](_0x52b7e8){var _0x329b4e=_0x491a6f;this['_clearScheduledTask']();const _0x167a28=this[_0x329b4e(0x3fa)]['getCurrentRevOfUnit'](this[_0x329b4e(0x408)]);if(_0x52b7e8[_0x329b4e(0x186)]<_0x167a28-0x1)return this;if(this[_0x329b4e(0x371)](_0x52b7e8))return this[_0x329b4e(0x488)]['createInstance'](exports['FetchingMissState'],this[_0x329b4e(0x408)],this['type'],null,[],this[_0x329b4e(0x41f)],[],this['_handler']);this[_0x329b4e(0x47b)]();const _0xd7a7d8=this['_injector'][_0x329b4e(0x125)](exports[_0x329b4e(0x1ec)],this[_0x329b4e(0x408)],this[_0x329b4e(0x325)],this[_0x329b4e(0x2af)]);return _0xd7a7d8[_0x329b4e(0x466)](),_0xd7a7d8;}[_0x491a6f(0x233)](_0x533d8f){var _0x201a21=_0x491a6f;return this[_0x201a21(0x380)](!!(_0x533d8f!=null&&_0x533d8f[_0x201a21(0x14c)]));}[_0x491a6f(0x35c)](_0x5606e2){var _0x4ff1bc=_0x491a6f;return this[_0x4ff1bc(0x27c)]>Nt?this[_0x4ff1bc(0x473)]():(this[_0x4ff1bc(0x454)]=Ot(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5606e2[_0x4ff1bc(0x19a)]}),this[_0x4ff1bc(0x1dc)]=this[_0x4ff1bc(0x454)][_0x4ff1bc(0x148)](({reqId:_0x53a5e0,timeout:_0x4985e6})=>{var _0x216c7e=_0x4ff1bc;this[_0x216c7e(0x2a1)](_0x53a5e0,_0x4985e6);}),this);}[_0x491a6f(0x473)](){var _0x5407ab=_0x491a6f;return this['_clearScheduledTask'](),this[_0x5407ab(0x488)][_0x5407ab(0x125)](exports[_0x5407ab(0x252)],this[_0x5407ab(0x408)],this['type'],this[_0x5407ab(0x41f)],[],this[_0x5407ab(0x2af)]);}[_0x491a6f(0x238)](){return this;}['resend'](){var _0x26917a=_0x491a6f;this[_0x26917a(0x2af)]['onSendChangeset'](this[_0x26917a(0x41f)]);}['_onConflict'](_0x5c3788){var _0x1674a1=_0x491a6f;return this[_0x1674a1(0x2fb)](),this['_injector']['createInstance'](exports[_0x1674a1(0x2d3)],this['unitID'],this[_0x1674a1(0x325)],this['_awaitingChangeset'],[],this['_handler'],_0x5c3788);}[_0x491a6f(0x2a1)](_0x5a7d7f,_0x24733d){var _0x42fdfc=_0x491a6f,_0x3182fa;_0x5a7d7f===((_0x3182fa=this[_0x42fdfc(0x41f)])==null?void 0x0:_0x3182fa[_0x42fdfc(0x19a)])&&(this['resend'](),this[_0x42fdfc(0x27c)]=_0x24733d===0x0?0x3e8:_0x24733d*0x2);}['_clearScheduledTask'](){var _0x53e697=_0x491a6f,_0x562c96;(_0x562c96=this[_0x53e697(0x1dc)])==null||_0x562c96[_0x53e697(0x3ae)](),this[_0x53e697(0x27c)]=0x0;}},exports[_0x491a6f(0x28e)]=ce([w(0x4,a['Inject'](a[_0x491a6f(0x400)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x491a6f(0x2ce)]),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,g[_0x491a6f(0x2b1)]),w(0x9,a[_0x491a6f(0x287)]),w(0xa,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x28e)]),exports[_0x491a6f(0x239)]=class extends he{constructor(_0x4418e8,_0x2e60af,_0x120ad6,_0x14f7e3,_0x5b03d0,_0x4d72cf,_0x331b17,_0x2998d4,_0x4fccfb,_0x54e91f,_0x32d99a,_0x4abac4,_0x40906d){var _0x5def1f=_0x491a6f;super(_0x4418e8,_0x2e60af,_0x120ad6,_0x14f7e3,_0x5b03d0,_0x4fccfb,_0x4abac4,_0x2998d4,_0x40906d),P(this,_0x5def1f(0x1ad),_0x5def1f(0x435)),P(this,_0x5def1f(0x27c),0x0),P(this,_0x5def1f(0x454)),P(this,_0x5def1f(0x1dc)),(this[_0x5def1f(0x488)]=_0x331b17,this[_0x5def1f(0x403)]=_0x54e91f,this['_transformService']=_0x32d99a,this[_0x5def1f(0x2d1)]=_0x40906d,_0x4d72cf&&(this[_0x5def1f(0x454)]=_0x4d72cf,this[_0x5def1f(0x1dc)]=this['_resendTimer'][_0x5def1f(0x148)](({reqId:_0x40a32e,timeout:_0x493d00})=>{this['_resendWithTimeout'](_0x40a32e,_0x493d00);})));}[_0x491a6f(0x166)](_0x8a7b23){var _0x5c5a93=_0x491a6f;return this['_pendingMutations'][_0x5c5a93(0x3c3)](_0x8a7b23),this;}['onRemoteChangeset'](_0x452119){var _0x56e5ed=_0x491a6f;if(this[_0x56e5ed(0x371)](_0x452119))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x56e5ed(0x191)],this[_0x56e5ed(0x408)],this[_0x56e5ed(0x325)],this['_awaitingChangeset'],this[_0x56e5ed(0x3a8)],null,[_0x452119],this['_handler']);try{const _0x337626=this[_0x56e5ed(0x21c)][_0x56e5ed(0x139)]([_0x452119],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0x337626)){const {c1Prime:_0xb6fe79,c2Prime:_0x387041}=_0x337626,_0x27ea18=this[_0x56e5ed(0x21c)][_0x56e5ed(0x1ca)](_0xb6fe79[0x0],this[_0x56e5ed(0x3a8)]);if(g[_0x56e5ed(0x29c)](_0x27ea18)){const {c1Prime:_0x105175,m2Prime:_0x114054}=_0x27ea18;return this[_0x56e5ed(0x128)](_0x105175),_0x387041[0x0][_0x56e5ed(0x1dd)]=this[_0x56e5ed(0x2bb)](),this[_0x56e5ed(0x2fb)](),this[_0x56e5ed(0x488)]['createInstance'](exports[_0x56e5ed(0x239)],this[_0x56e5ed(0x408)],this['type'],_0x387041[0x0],_0x114054,this[_0x56e5ed(0x2af)],void 0x0);}throw _0x27ea18['error'];}throw _0x337626[_0x56e5ed(0x1a7)];}catch(_0x4b09a2){return this[_0x56e5ed(0x403)]['error'](_0x4b09a2),this[_0x56e5ed(0x380)](!0x1);}}['onRemoteAck'](_0x2e1841){var _0x34eaaa=_0x491a6f;if(this[_0x34eaaa(0x2fb)](),this[_0x34eaaa(0x371)](_0x2e1841))return this[_0x34eaaa(0x488)][_0x34eaaa(0x125)](exports[_0x34eaaa(0x191)],this[_0x34eaaa(0x408)],this[_0x34eaaa(0x325)],null,this[_0x34eaaa(0x3a8)],this[_0x34eaaa(0x41f)],[],this[_0x34eaaa(0x2af)]);this[_0x34eaaa(0x47b)]();const _0x6f514f=this[_0x34eaaa(0x488)][_0x34eaaa(0x125)](exports[_0x34eaaa(0x35e)],this[_0x34eaaa(0x408)],this[_0x34eaaa(0x325)],this[_0x34eaaa(0x3a8)],this['_handler']);return _0x6f514f[_0x34eaaa(0x120)](),_0x6f514f['_updateLocalCache'](),_0x6f514f;}[_0x491a6f(0x233)](_0x548731){var _0x3ace5b=_0x491a6f;return this[_0x3ace5b(0x380)](!!(_0x548731!=null&&_0x548731[_0x3ace5b(0x14c)]));}[_0x491a6f(0x35c)](_0x360d8b){var _0x558427=_0x491a6f;return this[_0x558427(0x27c)]>Nt?this[_0x558427(0x473)]():(this[_0x558427(0x454)]=Ot(this[_0x558427(0x27c)],{'timeout':this[_0x558427(0x27c)],'reqId':_0x360d8b['reqId']}),this[_0x558427(0x1dc)]=this[_0x558427(0x454)]['subscribe'](({reqId:_0x262c3b,timeout:_0x54718a})=>{var _0x1e8651=_0x558427;this[_0x1e8651(0x2a1)](_0x262c3b,_0x54718a);}),this);}[_0x491a6f(0x473)](){var _0x99565e=_0x491a6f;return this[_0x99565e(0x2fb)](),this[_0x99565e(0x488)][_0x99565e(0x125)](exports[_0x99565e(0x252)],this['unitID'],this[_0x99565e(0x325)],this[_0x99565e(0x41f)],this['_pendingMutations'],this[_0x99565e(0x2af)]);}['toggleOnline'](){return this;}[_0x491a6f(0x36b)](){var _0x2cc617=_0x491a6f;this[_0x2cc617(0x2af)][_0x2cc617(0x2ec)](this[_0x2cc617(0x41f)]);}[_0x491a6f(0x380)](_0x2505a8){var _0xe42f0f=_0x491a6f;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0xe42f0f(0x2d3)],this[_0xe42f0f(0x408)],this[_0xe42f0f(0x325)],null,this[_0xe42f0f(0x3a8)],this['_handler'],_0x2505a8);}[_0x491a6f(0x2a1)](_0x59b46c,_0x513df4){var _0x50b7ce=_0x491a6f,_0x238a30;_0x59b46c===((_0x238a30=this[_0x50b7ce(0x41f)])==null?void 0x0:_0x238a30['reqId'])&&(this[_0x50b7ce(0x36b)](),this[_0x50b7ce(0x27c)]=_0x513df4===0x0?0x3e8:_0x513df4*0x2);}[_0x491a6f(0x2fb)](){var _0x15422d=_0x491a6f,_0x4d9c8d;(_0x4d9c8d=this[_0x15422d(0x1dc)])==null||_0x4d9c8d[_0x15422d(0x3ae)](),this[_0x15422d(0x27c)]=0x0;}},exports[_0x491a6f(0x239)]=ce([w(0x6,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x7,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x8,a[_0x491a6f(0x2ce)]),w(0x9,a['ILogService']),w(0xa,g[_0x491a6f(0x2b1)]),w(0xb,a[_0x491a6f(0x287)]),w(0xc,a['Optional'](z))],exports[_0x491a6f(0x239)]),exports[_0x491a6f(0x2d3)]=class extends he{constructor(_0x3c3042,_0x2c2e98,_0x27c310,_0xcca496,_0x31d83c,_0x408911=!0x1,_0x105cfd,_0x1f609a,_0x190296,_0x5db221,_0xee36a5,_0x3dc91e,_0x3f15c9){var _0x2552b4=_0x491a6f;super(_0x3c3042,_0x2c2e98,_0x27c310,_0xcca496,_0x31d83c,_0x1f609a,_0x190296,_0x5db221,_0x3f15c9),P(this,_0x2552b4(0x1ad),'conflict'),(this['_isPermissionRej']=_0x408911,this['_permissionService']=_0x105cfd,this[_0x2552b4(0x2fe)]=_0xee36a5,this[_0x2552b4(0x219)]=_0x3dc91e,this[_0x2552b4(0x2d1)]=_0x3f15c9,this['_showConflictNotification'](),this[_0x2552b4(0x259)](),this[_0x2552b4(0x1fd)]());}[_0x491a6f(0x166)](){return this;}[_0x491a6f(0x267)](){return this;}[_0x491a6f(0x2b8)](){return this;}['onRemoteRej'](){return this;}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){return this;}[_0x491a6f(0x238)](){return this;}[_0x491a6f(0x36b)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xf7f39c=_0x491a6f,_0x596f12;(_0x596f12=this[_0xf7f39c(0x345)])==null||_0x596f12[_0xf7f39c(0x3b2)](this['unitID'],this[_0xf7f39c(0x325)],null,[]);}[_0x491a6f(0x382)](){var _0x18f396=_0x491a6f;this['_isPermissionRej']?this[_0x18f396(0x219)][_0x18f396(0x126)]({'id':Q['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x18f396(0x126)]({'id':Q['CONFLICT']});}[_0x491a6f(0x1fd)](){var _0x5a3d9c=_0x491a6f;this[_0x5a3d9c(0x29a)]['updatePermissionPoint'](new Z[(_0x5a3d9c(0x156))](this[_0x5a3d9c(0x408)])['id'],!0x1);}},exports[_0x491a6f(0x2d3)]=ce([w(0x6,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x1f4)])),w(0x7,a[_0x491a6f(0x2ce)]),w(0x8,a[_0x491a6f(0x287)]),w(0x9,a['Inject'](g[_0x491a6f(0x3c6)])),w(0xa,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),w(0xb,a[_0x491a6f(0x1a1)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x491a6f(0x252)]=class extends he{constructor(_0x57685f,_0xa6fe04,_0x39a304,_0x2f4242,_0x1c8612,_0x2c93dd,_0x5d18e6,_0x43ab08,_0x60cfb7,_0x57b01d){var _0x2cf0ed=_0x491a6f;super(_0x57685f,_0xa6fe04,_0x39a304,_0x2f4242,_0x1c8612,_0x43ab08,_0x60cfb7,_0x5d18e6,_0x57b01d),P(this,_0x2cf0ed(0x1ad),_0x2cf0ed(0x189)),this[_0x2cf0ed(0x488)]=_0x2c93dd;}[_0x491a6f(0x166)](_0x2e00ee){var _0x1f4311=_0x491a6f;return this['_pendingMutations'][_0x1f4311(0x3c3)](_0x2e00ee),this[_0x1f4311(0x466)](),this;}[_0x491a6f(0x267)](_0x1dcc9c){var _0x370804=_0x491a6f;throw new Error(_0x370804(0x208));}[_0x491a6f(0x2b8)](){var _0x5afed9=_0x491a6f;throw new Error(_0x5afed9(0x37f));}['onRemoteRej'](){var _0x13c927=_0x491a6f;throw new Error(_0x13c927(0x3a4));}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){return this;}['toggleOnline'](){var _0x4b30a0=_0x491a6f;const {_injector:_0xea76d8,_pendingMutations:_0x1a695d,_awaitingChangeset:_0x366921,unitID:_0x34ef55,_handler:_0x152e91,type:_0x4cf036}=this,_0x78cdfc=Dt(_0xea76d8,_0x34ef55,_0x4cf036,_0x366921,_0x1a695d,_0x152e91);return _0x78cdfc instanceof exports['PendingState']?_0x78cdfc['_schedule']():(_0x78cdfc instanceof exports[_0x4b30a0(0x239)]||_0x78cdfc instanceof exports[_0x4b30a0(0x28e)])&&_0x78cdfc[_0x4b30a0(0x36b)](),_0x78cdfc;}['resend'](){var _0x4105ee=_0x491a6f;throw new Error(_0x4105ee(0x17a));}},exports[_0x491a6f(0x252)]=ce([w(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),w(0x6,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x7,a[_0x491a6f(0x2ce)]),w(0x8,a[_0x491a6f(0x287)]),w(0x9,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x252)]),exports[_0x491a6f(0x191)]=class extends he{constructor(_0x4d10dc,_0x4b8bd0,_0x3ff984,_0xf588a6,_0x50c6ec,_0x458559,_0x46d921,_0x4b8fef,_0x1a93f9,_0x52061c,_0x4c24fa,_0x5d4c25,_0x302031,_0x4667f3){var _0x8c903=_0x491a6f;super(_0x4d10dc,_0x4b8bd0,_0x3ff984,_0xf588a6,_0x46d921,_0x4c24fa,_0x5d4c25,_0x1a93f9,_0x4667f3),P(this,_0x8c903(0x1ad),_0x8c903(0x29b)),(this[_0x8c903(0x44e)]=_0x50c6ec,this['_queuedRemoteChangesets']=_0x458559,this['_injector']=_0x4b8fef,this[_0x8c903(0x403)]=_0x52061c,this[_0x8c903(0x21c)]=_0x302031,this[_0x8c903(0x2d1)]=_0x4667f3);}[_0x491a6f(0x211)](_0x1656ca){var _0x410d69=_0x491a6f;try{const _0x2b8259=[..._0x1656ca,...this[_0x410d69(0x193)]],_0x2bec48=[this['_awaitingChangeset']||this[_0x410d69(0x44e)]][_0x410d69(0x3af)](_0x115d07=>!!_0x115d07);let _0x5eec2c,_0x52c487;if(_0x2bec48[_0x410d69(0x182)]){const _0x449662=this[_0x410d69(0x21c)]['transformChangesets'](_0x2b8259,_0x2bec48,!0x1);if(!g['isTransformChangesetsSuccess'](_0x449662))throw _0x449662['error'];_0x5eec2c=_0x449662['c1Prime'],_0x52c487=_0x449662[_0x410d69(0x472)];}else _0x5eec2c=_0x2b8259,_0x52c487=[];let _0x4e5a70=this[_0x410d69(0x3a8)];_0x5eec2c[_0x410d69(0x18d)](_0x2538cb=>{var _0x45bf04=_0x410d69;let _0x474a;if(_0x4e5a70[_0x45bf04(0x182)]){const _0x487b4d=this['_transformService'][_0x45bf04(0x1ca)](_0x2538cb,_0x4e5a70);if(!g[_0x45bf04(0x29c)](_0x487b4d))throw _0x487b4d[_0x45bf04(0x1a7)];_0x474a=_0x487b4d[_0x45bf04(0x1d6)],_0x4e5a70=_0x487b4d[_0x45bf04(0x1f3)];}else _0x474a=_0x2538cb;this[_0x45bf04(0x128)](_0x474a);}),this[_0x410d69(0x44e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x52c487[_0x410d69(0x182)]&&(_0x52c487[0x0][_0x410d69(0x1dd)]=this[_0x410d69(0x2bb)]());let _0x29f812;if(this[_0x410d69(0x41f)]&&_0x4e5a70[_0x410d69(0x182)]!==0x0)_0x29f812=this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x239)],this['unitID'],this['type'],_0x52c487[0x0],_0x4e5a70,this[_0x410d69(0x2af)],void 0x0);else{if(this[_0x410d69(0x41f)]&&_0x4e5a70[_0x410d69(0x182)]===0x0)_0x52c487[0x0]['baseRev']=this[_0x410d69(0x2bb)](),_0x29f812=this[_0x410d69(0x488)][_0x410d69(0x125)](exports['AwaitingState'],this['unitID'],this[_0x410d69(0x325)],_0x52c487[0x0],this[_0x410d69(0x2af)]);else{if(_0x4e5a70[_0x410d69(0x182)]!==0x0){const _0x361e95=this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x35e)],this[_0x410d69(0x408)],this[_0x410d69(0x325)],_0x4e5a70,this[_0x410d69(0x2af)]);_0x361e95[_0x410d69(0x120)](),_0x29f812=_0x361e95;}else _0x29f812=this[_0x410d69(0x488)]['createInstance'](exports[_0x410d69(0x1ec)],this[_0x410d69(0x408)],this[_0x410d69(0x325)],this[_0x410d69(0x2af)]);}}return _0x29f812[_0x410d69(0x466)](),_0x29f812;}catch(_0x2fdd2a){return this['_logService'][_0x410d69(0x1a7)](_0x410d69(0x2be),_0x410d69(0x317),_0x2fdd2a),this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x2d3)],this['unitID'],this[_0x410d69(0x325)],this[_0x410d69(0x41f)],this[_0x410d69(0x3a8)],this['_handler'],!0x1);}}[_0x491a6f(0x36b)](){var _0x2c5678=_0x491a6f;throw new Error(_0x2c5678(0x150));}[_0x491a6f(0x166)](_0x519c3e){var _0x2441dc=_0x491a6f;return this['_pendingMutations'][_0x2441dc(0x3c3)](_0x519c3e),this;}[_0x491a6f(0x267)](_0x38f69d){var _0x507226=_0x491a6f;return this[_0x507226(0x193)][_0x507226(0x3c3)](_0x38f69d),this;}[_0x491a6f(0x2b8)](_0xd1286c){var _0x22a7a1=_0x491a6f;if(this[_0x22a7a1(0x41f)])return this[_0x22a7a1(0x44e)]=this[_0x22a7a1(0x41f)],this[_0x22a7a1(0x41f)]=null,this;throw new Error(_0x22a7a1(0x293));}[_0x491a6f(0x233)](_0x570725){var _0x3b68ce=_0x491a6f;return this[_0x3b68ce(0x380)](!!(_0x570725!=null&&_0x570725[_0x3b68ce(0x14c)]));}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){var _0x6230eb=_0x491a6f;return this[_0x6230eb(0x488)][_0x6230eb(0x125)](exports[_0x6230eb(0x252)],this[_0x6230eb(0x408)],this[_0x6230eb(0x325)],this[_0x6230eb(0x41f)],this['_pendingMutations'],this[_0x6230eb(0x2af)]);}[_0x491a6f(0x238)](){return this;}[_0x491a6f(0x380)](_0x54e6fd){var _0x24d9bb=_0x491a6f;return this[_0x24d9bb(0x488)][_0x24d9bb(0x125)](exports[_0x24d9bb(0x2d3)],this['unitID'],this[_0x24d9bb(0x325)],this[_0x24d9bb(0x41f)],this[_0x24d9bb(0x3a8)],this[_0x24d9bb(0x2af)],_0x54e6fd);}},exports[_0x491a6f(0x191)]=ce([w(0x7,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),w(0x8,a[_0x491a6f(0x1a1)](g['RevisionService'])),w(0x9,a[_0x491a6f(0x3c8)]),w(0xa,a[_0x491a6f(0x2ce)]),w(0xb,a[_0x491a6f(0x287)]),w(0xc,g[_0x491a6f(0x2b1)]),w(0xd,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x191)]);function Dt(_0x182f72,_0x546340,_0x1fad34,_0x1b9037,_0x582e3c,_0x19b37e){var _0x23363c=_0x491a6f;return _0x1b9037&&_0x582e3c[_0x23363c(0x182)]?_0x182f72['createInstance'](exports[_0x23363c(0x239)],_0x546340,_0x1fad34,_0x1b9037,_0x582e3c,_0x19b37e,void 0x0):_0x1b9037?_0x182f72[_0x23363c(0x125)](exports[_0x23363c(0x28e)],_0x546340,_0x1fad34,_0x1b9037,_0x19b37e):_0x582e3c[_0x23363c(0x182)]?_0x182f72[_0x23363c(0x125)](exports[_0x23363c(0x35e)],_0x546340,_0x1fad34,_0x582e3c,_0x19b37e):_0x182f72['createInstance'](exports['SyncedState'],_0x546340,_0x1fad34,_0x19b37e);}var Ci=Object['getOwnPropertyDescriptor'],Ge=(_0x573d79,_0x3ba0d8,_0xd58920,_0x58526f)=>{for(var _0x159291=_0x58526f>0x1?void 0x0:_0x58526f?Ci(_0x3ba0d8,_0xd58920):_0x3ba0d8,_0x4c72ad=_0x573d79['length']-0x1,_0x25c174;_0x4c72ad>=0x0;_0x4c72ad--)(_0x25c174=_0x573d79[_0x4c72ad])&&(_0x159291=_0x25c174(_0x159291)||_0x159291);return _0x159291;},$=(_0x5dc4b1,_0x1f7eea)=>(_0x51552a,_0x4467d6)=>_0x1f7eea(_0x51552a,_0x4467d6,_0x5dc4b1);exports[_0x491a6f(0x2d9)]=class extends a[_0x491a6f(0x245)]{constructor(_0x262046,_0x5ebc3f,_0x46aaac,_0x4064b8,_0x449638,_0x293b0d,_0x30dd5b,_0x1d3fcd,_0x2f704b,_0x408870,_0x29328f,_0x228d3c,_0x52b7a2){var _0x32915b=_0x491a6f;super(),P(this,_0x32915b(0x1c2),new j['BehaviorSubject'](null)),P(this,_0x32915b(0x141),this['_state$'][_0x32915b(0x3b0)]()),P(this,_0x32915b(0x289)),P(this,_0x32915b(0x1c4),!0x1),P(this,_0x32915b(0x2f9),''),P(this,_0x32915b(0x261),0x0),P(this,_0x32915b(0x383),this[_0x32915b(0x141)][_0x32915b(0x3c4)](j['map'](_0x16e57b=>_0x16e57b?_0x16e57b[_0x32915b(0x1ad)]:We[_0x32915b(0x1da)]),j[_0x32915b(0x359)](0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x32915b(0x178),[]),(this[_0x32915b(0x408)]=_0x262046,this[_0x32915b(0x162)]=_0x5ebc3f,this[_0x32915b(0x205)]=_0x46aaac,this[_0x32915b(0x488)]=_0x4064b8,this[_0x32915b(0x486)]=_0x449638,this[_0x32915b(0x2fe)]=_0x293b0d,this[_0x32915b(0x3fa)]=_0x30dd5b,this[_0x32915b(0x2c7)]=_0x1d3fcd,this[_0x32915b(0x403)]=_0x2f704b,this[_0x32915b(0x296)]=_0x408870,this[_0x32915b(0x29a)]=_0x29328f,this[_0x32915b(0x42d)]=_0x228d3c,this['_localCacheService']=_0x52b7a2);}get[_0x491a6f(0x434)](){var _0x515dce=_0x491a6f;return this[_0x515dce(0x289)];}async[_0x491a6f(0x124)](){var _0x570626=_0x491a6f;if(this[_0x570626(0x434)])throw new Error(_0x570626(0x3f5));await this[_0x570626(0x3a5)]();}[_0x491a6f(0x202)](){var _0x51b7d6=_0x491a6f;return this[_0x51b7d6(0x1c4)]=!0x0,a[_0x51b7d6(0x1cb)](()=>{var _0x1fdd90=_0x51b7d6;this[_0x1fdd90(0x1c4)]=!0x1,this[_0x1fdd90(0x258)]();});}['onLocalMutation'](_0x5c3905){var _0x2748b2=_0x491a6f;this[_0x2748b2(0x207)](_0x5c3905);}['_updateState'](_0x47f5a7){var _0x176d9a=_0x491a6f;this['_state']=_0x47f5a7,this[_0x176d9a(0x1c2)]['next'](_0x47f5a7);}async['_init'](){var _0x5c9d72=_0x491a6f,_0x179230;this[_0x5c9d72(0x19b)](await this[_0x5c9d72(0x48a)]()),this['_singleActiveUnitService']&&((_0x179230=this['_singleActiveUnitService'])==null||_0x179230[_0x5c9d72(0x3fc)](this[_0x5c9d72(0x408)]),this['disposeWithMe'](this[_0x5c9d72(0x42d)][_0x5c9d72(0x20c)](this[_0x5c9d72(0x408)])[_0x5c9d72(0x148)](_0x51eefd=>{var _0x4ca446=_0x5c9d72;this[_0x4ca446(0x403)][_0x4ca446(0x11d)](_0x4ca446(0x1be),'editing\x20status\x20changed\x20to',_0x51eefd),_0x51eefd===Fe[_0x4ca446(0x227)]?(this[_0x4ca446(0x2c7)][_0x4ca446(0x126)]({'id':Q[_0x4ca446(0x3c5)]}),this[_0x4ca446(0x29a)][_0x4ca446(0x3a7)](new Z['WorkbookEditablePermission'](this[_0x4ca446(0x408)])['id'],!0x1),this['_permissionService'][_0x4ca446(0x168)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x4ca446(0x156))](this['unitID'])['id'],!0x0),this[_0x4ca446(0x29a)][_0x4ca446(0x168)](!0x0));})));let _0x14d252=!0x1;return this[_0x5c9d72(0x15d)](this['session']['sessionStatus$'][_0x5c9d72(0x148)](_0x390743=>{var _0x25b4fc=_0x5c9d72;_0x390743===se[_0x25b4fc(0x2d4)]?this[_0x25b4fc(0x3c9)](_0x14d252):_0x390743===se['OFFLINE']&&(_0x14d252=!0x0,this[_0x25b4fc(0x462)]());})),this[_0x5c9d72(0x15d)](this[_0x5c9d72(0x162)][_0x5c9d72(0x1a0)]['subscribe'](_0x43c9cd=>{var _0x556281=_0x5c9d72;try{switch(_0x43c9cd[_0x556281(0x2e0)]){case g[_0x556281(0x361)][_0x556281(0x197)]:{this[_0x556281(0x1b5)](g[_0x556281(0x169)](_0x43c9cd[_0x556281(0x368)]));break;}case g[_0x556281(0x361)][_0x556281(0x38c)]:{this[_0x556281(0x3ee)](_0x43c9cd[_0x556281(0x368)]);break;}case g[_0x556281(0x361)]['CHANGESET_REJ']:{this[_0x556281(0x15e)]();break;}case g[_0x556281(0x361)][_0x556281(0x1aa)]:{this[_0x556281(0x418)](_0x43c9cd[_0x556281(0x368)]);break;}case g[_0x556281(0x361)][_0x556281(0x357)]:{this[_0x556281(0x309)](_0x43c9cd['data']['changesets'][_0x556281(0x48d)](_0x2b74cb=>g['parseProtocolChangeset'](_0x2b74cb)));break;}case g[_0x556281(0x361)][_0x556281(0x451)]:{this[_0x556281(0x15e)]({'isPermissionRej':!0x0});break;}case g[_0x556281(0x361)][_0x556281(0x358)]:break;}}catch(_0x190078){throw console['error'](_0x556281(0x483),_0x190078),_0x190078;}})),this['_state'];}[_0x491a6f(0x2db)](){var _0xe0dc0a=_0x491a6f;this[_0xe0dc0a(0x1fa)]=!0x1;}[_0x491a6f(0x173)](){var _0x4602e3=_0x491a6f;if(this['_transitionLocked'])throw new Error(_0x4602e3(0x1d7));this['_transitionLocked']=!0x0;}[_0x491a6f(0x207)](_0x3a56b8){var _0x1f5ef9=_0x491a6f;this['_lockTransition'](),this[_0x1f5ef9(0x19b)](this[_0x1f5ef9(0x289)][_0x1f5ef9(0x166)](_0x3a56b8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4e2a2e){var _0x45f70f=_0x491a6f;if(!(_0x4e2a2e[_0x45f70f(0x186)]<=this[_0x45f70f(0x3fa)][_0x45f70f(0x26b)](this['unitID']))){if(this[_0x45f70f(0x1c4)]){this[_0x45f70f(0x178)][_0x45f70f(0x3c3)](_0x4e2a2e);return;}this['_applyRemoteChangeset'](_0x4e2a2e);}}[_0x491a6f(0x258)](){var _0x40c926=_0x491a6f;this[_0x40c926(0x178)][_0x40c926(0x18d)](_0x204532=>this[_0x40c926(0x260)](_0x204532)),this[_0x40c926(0x178)]=[];}['_applyRemoteChangeset'](_0x72aec2){var _0x2ec3e5=_0x491a6f;const _0x2e49eb=this['_compressMutationService'][_0x2ec3e5(0x429)][_0x2ec3e5(0x2e9)](this[_0x2ec3e5(0x486)]['interceptor']['getInterceptPoints']()[_0x2ec3e5(0x206)])(_0x72aec2[_0x2ec3e5(0x35a)],null)||_0x72aec2[_0x2ec3e5(0x35a)],_0x1b8bc6={..._0x72aec2,'mutations':_0x2e49eb};this[_0x2ec3e5(0x173)](),this[_0x2ec3e5(0x19b)](this[_0x2ec3e5(0x289)]['onRemoteChangeset'](_0x1b8bc6)),this['_unlockTransition']();}['_onRemoteACK'](_0x46d35a){var _0x3edcad=_0x491a6f;this['_lockTransition'](),this[_0x3edcad(0x19b)](this['_state'][_0x3edcad(0x2b8)](_0x46d35a)),this['_unlockTransition']();}[_0x491a6f(0x15e)](_0x464b8a){var _0x55f8b8=_0x491a6f;this[_0x55f8b8(0x173)](),this['_updateState'](this['_state']['onRemoteRej'](_0x464b8a)),this[_0x55f8b8(0x2db)]();}[_0x491a6f(0x418)](_0x44bd11){var _0x2e9acc=_0x491a6f;this[_0x2e9acc(0x173)](),this['_updateState'](this[_0x2e9acc(0x289)][_0x2e9acc(0x35c)](_0x44bd11)),this[_0x2e9acc(0x2db)]();}[_0x491a6f(0x309)](_0x2df997){var _0x2c0ff4=_0x491a6f;if(!(this['_state']instanceof exports[_0x2c0ff4(0x191)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x19302c=_0x2df997['map'](_0x21635d=>{var _0x49fba1=_0x2c0ff4;const _0x181f4f=this[_0x49fba1(0x486)][_0x49fba1(0x429)][_0x49fba1(0x2e9)](this[_0x49fba1(0x486)][_0x49fba1(0x429)][_0x49fba1(0x2e2)]()['COMPRESS_MUTATION_APPLY'])(_0x21635d[_0x49fba1(0x35a)],null)||_0x21635d[_0x49fba1(0x35a)];return{..._0x21635d,'mutations':_0x181f4f};});this[_0x2c0ff4(0x173)](),this['_updateState'](this[_0x2c0ff4(0x289)]['onMissedChangesetFetched'](_0x19302c)),this[_0x2c0ff4(0x2db)]();}[_0x491a6f(0x462)](){var _0x4252ae=_0x491a6f;this[_0x4252ae(0x173)](),this[_0x4252ae(0x19b)](this['_state'][_0x4252ae(0x473)]()),this[_0x4252ae(0x2db)]();}[_0x491a6f(0x3c9)](_0x1a7c1d=!0x1){var _0x5f4154=_0x491a6f;this[_0x5f4154(0x173)](),this[_0x5f4154(0x19b)](this[_0x5f4154(0x289)][_0x5f4154(0x238)]()),this[_0x5f4154(0x2db)]();const _0x55ddf8=this['_state'];_0x1a7c1d&&_0x55ddf8 instanceof exports['SyncedState']&&(this[_0x5f4154(0x173)](),this[_0x5f4154(0x19b)](_0x55ddf8[_0x5f4154(0x3f4)]()),this[_0x5f4154(0x2db)]());}async['_createInitialState'](){return new Promise(_0xfef37a=>{var _0x345f06=_0x2315;this[_0x345f06(0x162)][_0x345f06(0x16e)][_0x345f06(0x3c4)](j[_0x345f06(0x490)](0x1))[_0x345f06(0x148)](async _0x1047ab=>{var _0x2c54f0=_0x345f06;_0xfef37a(await this[_0x2c54f0(0x138)](_0x1047ab===se[_0x2c54f0(0x2d4)]));});});}['_createHandler'](){var _0x2adbbb=_0x491a6f;const _0x45b286=this[_0x2adbbb(0x408)];return{'onStateChange':(_0x29b9d4,_0xd23672)=>{var _0x5665f1=_0x2adbbb;if(_0x29b9d4!==this[_0x5665f1(0x289)])throw new Error(_0x5665f1(0x13f)+_0x29b9d4[_0x5665f1(0x1ad)]+_0x5665f1(0x170)+_0xd23672[_0x5665f1(0x1ad)]+_0x5665f1(0x32b)+this[_0x5665f1(0x289)][_0x5665f1(0x1ad)]);this['_updateState'](_0xd23672);},'onSendChangeset':_0x147a6a=>{var _0x4d569e=_0x2adbbb;_0x147a6a[_0x4d569e(0x433)]||(_0x147a6a[_0x4d569e(0x433)]=this['_changesetSessionId'],_0x147a6a[_0x4d569e(0x19a)]=++this[_0x4d569e(0x261)]);const _0x262452={'eventID':g[_0x4d569e(0x361)][_0x4d569e(0x43a)],'data':{'unitID':_0x147a6a[_0x4d569e(0x408)],'unitType':this[_0x4d569e(0x205)],'changeset':_0x147a6a,'memberID':this[_0x4d569e(0x162)][_0x4d569e(0x284)]()}};this['session'][_0x4d569e(0x1bf)](_0x262452,this['unitID']);},'onMissingChangesets':({from:_0x415781,to:_0x509bcf})=>{var _0x1a1724=_0x2adbbb;this[_0x1a1724(0x403)]['debug'](_0x1a1724(0x1be),_0x1a1724(0x38b)+_0x415781+_0x1a1724(0x1a6)+_0x509bcf);const _0x289d23={'eventID':g[_0x1a1724(0x361)][_0x1a1724(0x29e)],'data':{'unitID':_0x45b286,'unitType':this[_0x1a1724(0x205)],'from':_0x415781,'to':_0x509bcf}};this[_0x1a1724(0x162)][_0x1a1724(0x1bf)](_0x289d23,this[_0x1a1724(0x408)]);}};}async['_createInitialStateImpl'](_0x21c63c){var _0xfaa966=_0x491a6f,_0x45fc5b,_0xd9d6f1,_0x496b7b;const _0x27eb60=await((_0x45fc5b=this[_0xfaa966(0x345)])==null?void 0x0:_0x45fc5b[_0xfaa966(0x228)](this[_0xfaa966(0x408)])),_0x78b520=(_0xd9d6f1=_0x27eb60==null?void 0x0:_0x27eb60[_0xfaa966(0x35a)])!=null?_0xd9d6f1:[],_0x2a35dd=(_0x496b7b=_0x27eb60==null?void 0x0:_0x27eb60[_0xfaa966(0x16f)])!=null?_0x496b7b:null,_0x757a5a=!!(_0x2a35dd!=null&&_0x2a35dd[_0xfaa966(0x433)])&&!!(_0x2a35dd!=null&&_0x2a35dd[_0xfaa966(0x19a)]);this[_0xfaa966(0x2f9)]=_0x757a5a?_0x2a35dd[_0xfaa966(0x433)]:di(),this[_0xfaa966(0x261)]=_0x757a5a?_0x2a35dd[_0xfaa966(0x19a)]:0x0;const _0x208ea3=this[_0xfaa966(0x408)];try{this[_0xfaa966(0x3e7)](_0x2a35dd,_0x78b520);}catch(_0x852393){this['_logService']['error'](_0x852393);}const _0x1a6875=this[_0xfaa966(0x3fd)]();if(_0x21c63c){const _0x4156bf=Dt(this[_0xfaa966(0x488)],_0x208ea3,this[_0xfaa966(0x205)],_0x2a35dd,_0x78b520,_0x1a6875);return _0x4156bf instanceof exports['PendingState']?_0x4156bf[_0xfaa966(0x120)]():(_0x4156bf instanceof exports['AwaitingWithPendingState']||_0x4156bf instanceof exports[_0xfaa966(0x28e)])&&_0x4156bf['resend'](),_0x4156bf;}return this[_0xfaa966(0x488)][_0xfaa966(0x125)](exports[_0xfaa966(0x252)],_0x208ea3,this['_type'],_0x2a35dd,_0x78b520,_0x1a6875);}[_0x491a6f(0x3e7)](_0x55c34b,_0x525c41){var _0x483733=_0x491a6f,_0x1522d2,_0x56a3bf;const _0x143911=this[_0x483733(0x486)][_0x483733(0x429)]['fetchThroughInterceptors'](this[_0x483733(0x486)][_0x483733(0x429)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1522d2=_0x143911((_0x55c34b==null?void 0x0:_0x55c34b['mutations'])||[],null))==null||_0x1522d2['forEach'](_0x2d2aa7=>this[_0x483733(0x296)]['executeCommand'](_0x2d2aa7['id'],_0x2d2aa7[_0x483733(0x292)])),(_0x56a3bf=_0x143911(_0x525c41||[],null))==null||_0x56a3bf[_0x483733(0x18d)](_0x1def52=>this[_0x483733(0x296)][_0x483733(0x453)](_0x1def52['id'],_0x1def52[_0x483733(0x292)]));}},exports[_0x491a6f(0x2d9)]=Ge([$(0x3,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),$(0x4,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a[_0x491a6f(0x1a1)](g['RevisionService'])),$(0x7,a[_0x491a6f(0x1a1)](te)),$(0x8,a[_0x491a6f(0x3c8)]),$(0x9,a['ICommandService']),$(0xa,a[_0x491a6f(0x1f4)]),$(0xb,a[_0x491a6f(0x30e)](ve)),$(0xc,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x2d9)]),exports[_0x491a6f(0x3de)]=class extends exports[_0x491a6f(0x2d9)]{constructor(_0x41b64e,_0x3d99ec,_0x4498de,_0x29f4bb,_0xa1bfa7,_0x4b5313,_0x47f217,_0x4ef9bc,_0x55edea,_0x4e2dbe,_0x3f0ecc,_0xb9a72a,_0x5cff9c){var _0x2b1826=_0x491a6f;super(_0x41b64e,_0x4498de,_0x3d99ec,_0x29f4bb,_0xa1bfa7,_0x4b5313,_0x47f217,_0x4ef9bc,_0x55edea,_0x4e2dbe,_0x3f0ecc,_0xb9a72a,_0x5cff9c),P(this,_0x2b1826(0x44a),null),(this[_0x2b1826(0x408)]=_0x41b64e,this[_0x2b1826(0x325)]=_0x3d99ec);}[_0x491a6f(0x47c)](_0x66cb0b){var _0x5b0dbe=_0x491a6f;this[_0x5b0dbe(0x44a)]=_0x66cb0b;}['dispose'](){var _0x137a09=_0x491a6f;this[_0x137a09(0x44a)]=null,super[_0x137a09(0x21e)]();}['_createHandler'](){var _0x44ead0=_0x491a6f;const _0x40ad9b=super[_0x44ead0(0x3fd)]();return _0x40ad9b[_0x44ead0(0x308)]=_0x17be9c=>{var _0x4b93d2=_0x44ead0,_0xaf8119,_0x21c149;return(_0x21c149=(_0xaf8119=this[_0x4b93d2(0x44a)])==null?void 0x0:_0xaf8119[_0x4b93d2(0x308)])==null?void 0x0:_0x21c149[_0x4b93d2(0x21a)](_0xaf8119,_0x17be9c);},_0x40ad9b[_0x44ead0(0x28c)]=_0x160f15=>{var _0x367f5d=_0x44ead0,_0x1c5667,_0x5aabb5;return(_0x5aabb5=(_0x1c5667=this[_0x367f5d(0x44a)])==null?void 0x0:_0x1c5667['onTransformState'])==null?void 0x0:_0x5aabb5['call'](_0x1c5667,_0x160f15);},_0x40ad9b['onTransformSelections']=_0x104247=>{var _0x308d81=_0x44ead0,_0x2f60fb,_0x2b62fb;return(_0x2b62fb=(_0x2f60fb=this['_handlerCallback'])==null?void 0x0:_0x2f60fb[_0x308d81(0x36e)])==null?void 0x0:_0x2b62fb[_0x308d81(0x21a)](_0x2f60fb,_0x104247);},_0x40ad9b[_0x44ead0(0x44f)]=_0x11de17=>{var _0x4bbb3b=_0x44ead0,_0x5b3157,_0x1c450a;return(_0x1c450a=(_0x5b3157=this['_handlerCallback'])==null?void 0x0:_0x5b3157[_0x4bbb3b(0x44f)])==null?void 0x0:_0x1c450a[_0x4bbb3b(0x21a)](_0x5b3157,_0x11de17);},_0x40ad9b['onTransformRemoteChangesetByIMECache']=_0x5c05b2=>{var _0x44ee33=_0x44ead0,_0x333a24,_0x3fd5e5,_0x29e602;if(!((_0x333a24=this['_handlerCallback'])!=null&&_0x333a24[_0x44ee33(0x30a)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x29e602=(_0x3fd5e5=this[_0x44ee33(0x44a)])==null?void 0x0:_0x3fd5e5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x29e602[_0x44ee33(0x21a)](_0x3fd5e5,_0x5c05b2);},_0x40ad9b['onTransformRemoteChangesetByStateCache']=_0x551f09=>{var _0x2d0f60=_0x44ead0,_0x2618a5,_0x3ee547,_0x553edc;if(!((_0x2618a5=this[_0x2d0f60(0x44a)])!=null&&_0x2618a5[_0x2d0f60(0x1c9)]))throw new Error(_0x2d0f60(0x2f4));return(_0x553edc=(_0x3ee547=this[_0x2d0f60(0x44a)])==null?void 0x0:_0x3ee547[_0x2d0f60(0x1c9)])==null?void 0x0:_0x553edc[_0x2d0f60(0x21a)](_0x3ee547,_0x551f09);},_0x40ad9b;}async[_0x491a6f(0x3a5)](){var _0x383c78=_0x491a6f;const _0x54c932=await super[_0x383c78(0x3a5)]();return this[_0x383c78(0x15d)](this[_0x383c78(0x296)][_0x383c78(0x46e)]((_0x343a8c,_0x1a1ff3)=>{var _0x2cd677=_0x383c78;if(_0x343a8c[_0x2cd677(0x325)]!==a[_0x2cd677(0x349)][_0x2cd677(0x2a0)]||_0x1a1ff3!=null&&_0x1a1ff3[_0x2cd677(0x1af)]||_0x1a1ff3!=null&&_0x1a1ff3[_0x2cd677(0x423)]||_0x343a8c['id']===ut['RichTextEditingMutation']['id'])return;const _0x433594=_0x343a8c[_0x2cd677(0x292)];if((_0x433594==null?void 0x0:_0x433594[_0x2cd677(0x3f9)])!==this['unitID'])return;const _0xff8640=_0x343a8c,_0x3d9be0=this['_compressMutationService'][_0x2cd677(0x429)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2cd677(0x429)][_0x2cd677(0x2e2)]()[_0x2cd677(0x14a)])([_0xff8640],null)||[_0xff8640];this[_0x2cd677(0x207)](_0x3d9be0[0x0]);})),_0x54c932;}},exports[_0x491a6f(0x3de)]=Ge([$(0x3,a[_0x491a6f(0x1a1)](a['Injector'])),$(0x4,a['Inject'](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a['Inject'](g[_0x491a6f(0x3c6)])),$(0x7,a[_0x491a6f(0x1a1)](te)),$(0x8,a[_0x491a6f(0x3c8)]),$(0x9,a['ICommandService']),$(0xa,a[_0x491a6f(0x1f4)]),$(0xb,a[_0x491a6f(0x30e)](ve)),$(0xc,a[_0x491a6f(0x30e)](z))],exports['DocCollaborationEntity']),exports[_0x491a6f(0x1ab)]=class extends exports[_0x491a6f(0x2d9)]{constructor(_0x2e62c8,_0x286c75,_0x541d17,_0x194dad,_0x37da5c,_0x2d5b72,_0x37023a,_0x5755f6,_0x422251,_0x1c3988,_0x32bfa5,_0xce1baa,_0x30a650,_0x5e3493){var _0xcc25a9=_0x491a6f;super(_0x2e62c8,_0x541d17,_0x286c75,_0x194dad,_0x37da5c,_0x2d5b72,_0x37023a,_0x422251,_0x1c3988,_0x32bfa5,_0xce1baa,_0x30a650,_0x5e3493),this[_0xcc25a9(0x408)]=_0x2e62c8,this[_0xcc25a9(0x325)]=_0x286c75,this[_0xcc25a9(0x171)]=_0x5755f6;}[_0x491a6f(0x3fd)](){var _0x348e81=_0x491a6f;const _0x4fcfd9=super[_0x348e81(0x3fd)]();return _0x4fcfd9[_0x348e81(0x36e)]=_0x40fbed=>this[_0x348e81(0x171)][_0x348e81(0x48e)](_0x40fbed),_0x4fcfd9;}async[_0x491a6f(0x3a5)](){var _0xad29b4=_0x491a6f;const _0x301b1d=await super['_init']();return this[_0xad29b4(0x15d)](this[_0xad29b4(0x296)][_0xad29b4(0x46e)]((_0x2258a3,_0x5b7b59)=>{var _0x1c5c08=_0xad29b4;if(_0x2258a3[_0x1c5c08(0x325)]!==a[_0x1c5c08(0x349)]['MUTATION']||_0x5b7b59!=null&&_0x5b7b59['fromCollab']||_0x5b7b59!=null&&_0x5b7b59[_0x1c5c08(0x423)])return;const _0x24f004=_0x2258a3['params'];if((_0x24f004==null?void 0x0:_0x24f004['unitId'])!==this[_0x1c5c08(0x408)])return;const _0x4040e2=_0x2258a3,_0x449400=this[_0x1c5c08(0x486)]['interceptor']['fetchThroughInterceptors'](this[_0x1c5c08(0x486)]['interceptor'][_0x1c5c08(0x2e2)]()['COMPRESS_MUTATION_SEND'])([_0x4040e2],null)||[_0x4040e2];this[_0x1c5c08(0x207)](_0x449400[0x0]);})),_0x301b1d;}},exports[_0x491a6f(0x1ab)]=Ge([$(0x3,a['Inject'](a[_0x491a6f(0x400)])),$(0x4,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),$(0x7,a['Inject'](exports[_0x491a6f(0x153)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x491a6f(0x3c8)]),$(0xa,a[_0x491a6f(0x2ce)]),$(0xb,a[_0x491a6f(0x1f4)]),$(0xc,a[_0x491a6f(0x30e)](ve)),$(0xd,a[_0x491a6f(0x30e)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x491a6f(0x316)],bi=(_0x1c3d03,_0x1023dd,_0x570967,_0x3d7e13)=>{var _0x1a94db=_0x491a6f;for(var _0x37b1b6=_0x3d7e13>0x1?void 0x0:_0x3d7e13?Ti(_0x1023dd,_0x570967):_0x1023dd,_0x7b31bd=_0x1c3d03[_0x1a94db(0x182)]-0x1,_0x4652c;_0x7b31bd>=0x0;_0x7b31bd--)(_0x4652c=_0x1c3d03[_0x7b31bd])&&(_0x37b1b6=_0x4652c(_0x37b1b6)||_0x37b1b6);return _0x37b1b6;},Ae=(_0x5ddbc3,_0x1445e7)=>(_0x156731,_0x14f83f)=>_0x1445e7(_0x156731,_0x14f83f,_0x5ddbc3);exports[_0x491a6f(0x196)]=class extends a['RxDisposable']{constructor(_0x33c581,_0x3b9332,_0xfba1c1){var _0x4d5655=_0x491a6f;super(),P(this,_0x4d5655(0x346),new Map()),P(this,_0x4d5655(0x1a9),new j[(_0x4d5655(0x477))]()),P(this,_0x4d5655(0x464),this['_entityInit$'][_0x4d5655(0x3b0)]()),(this[_0x4d5655(0x488)]=_0x33c581,this[_0x4d5655(0x441)]=_0x3b9332,this[_0x4d5655(0x192)]=_0xfba1c1,this['_init']());}[_0x491a6f(0x21e)](){var _0x1f8652=_0x491a6f;super['dispose'](),this[_0x1f8652(0x346)][_0x1f8652(0x18d)](_0x245641=>_0x245641[_0x1f8652(0x21e)]()),this[_0x1f8652(0x346)]['clear']();}[_0x491a6f(0x1a4)](_0x13ad74){var _0x69cdff=_0x491a6f,_0x440026;return(_0x440026=this[_0x69cdff(0x346)][_0x69cdff(0x33b)](_0x13ad74))!=null?_0x440026:null;}[_0x491a6f(0x25b)](_0xcba594){var _0x317e29=_0x491a6f;const _0xfd8642=this[_0x317e29(0x1a4)](_0xcba594);return _0xfd8642?j['of'](_0xfd8642):this[_0x317e29(0x1a9)][_0x317e29(0x3c4)](W[_0x317e29(0x3af)](_0x20e876=>_0x20e876[_0x317e29(0x408)]===_0xcba594));}[_0x491a6f(0x2c9)](_0x31d8d0){var _0x271cad=_0x491a6f;return j[_0x271cad(0x37c)](this[_0x271cad(0x25b)](_0x31d8d0)[_0x271cad(0x3c4)](W[_0x271cad(0x48d)](()=>{})));}[_0x491a6f(0x3a5)](){var _0x44d427=_0x491a6f;this[_0x44d427(0x192)][_0x44d427(0x33c)](a[_0x44d427(0x397)][_0x44d427(0x2fc)])[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this[_0x44d427(0x242)]),W[_0x44d427(0x1eb)](0x10))[_0x44d427(0x148)](async _0x27ad94=>{var _0x3aa4f6=_0x44d427;const _0x48fc46=_0x27ad94[_0x3aa4f6(0x14f)](),_0x2188ba=await this[_0x3aa4f6(0x333)](_0x48fc46,X['UNIVER_SHEET']);this[_0x3aa4f6(0x346)][_0x3aa4f6(0x318)](_0x48fc46,_0x2188ba);}),this['_univerInstanceService'][_0x44d427(0x33c)](a[_0x44d427(0x397)][_0x44d427(0x341)])[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this['dispose$']),W['delay'](0x10))['pipe'](W[_0x44d427(0x3af)](_0x448488=>!_0x448488[_0x44d427(0x14f)]()['startsWith']('__')))[_0x44d427(0x148)](async _0x2c04f6=>{var _0x53e45a=_0x44d427;const _0x48314b=_0x2c04f6[_0x53e45a(0x14f)](),_0x2559b6=await this['_startCollaboration'](_0x48314b,X['UNIVER_DOC']);this[_0x53e45a(0x346)][_0x53e45a(0x318)](_0x48314b,_0x2559b6);}),j[_0x44d427(0x37a)](this['_univerInstanceService'][_0x44d427(0x181)](a[_0x44d427(0x397)]['UNIVER_SHEET']),this[_0x44d427(0x192)][_0x44d427(0x181)](a[_0x44d427(0x397)][_0x44d427(0x341)]))[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this['dispose$']))['subscribe'](_0x198035=>{var _0x57e88b=_0x44d427;const _0x1a6776=_0x198035[_0x57e88b(0x14f)](),_0x35c85f=this[_0x57e88b(0x346)][_0x57e88b(0x33b)](_0x1a6776);_0x35c85f&&(_0x35c85f[_0x57e88b(0x21e)](),this[_0x57e88b(0x346)]['delete'](_0x1a6776));});}async['_startCollaboration'](_0x4b7e9d,_0x3d4852){var _0xb3f209=_0x491a6f;const _0x2e1fd6=await this['_collabSessionService'][_0xb3f209(0x23a)](_0x4b7e9d),_0x54967d=this[_0xb3f209(0x488)]['createInstance'](this[_0xb3f209(0x2ac)](_0x3d4852),_0x4b7e9d,_0x3d4852,_0x2e1fd6);return await _0x54967d[_0xb3f209(0x124)](),this[_0xb3f209(0x1a9)][_0xb3f209(0x480)](_0x54967d),_0x54967d;}[_0x491a6f(0x2ac)](_0x4d4e38){var _0x3870e5=_0x491a6f;switch(_0x4d4e38){case X['UNIVER_DOC']:return exports[_0x3870e5(0x3de)];case X[_0x3870e5(0x2fc)]:return exports[_0x3870e5(0x1ab)];default:throw new Error(_0x3870e5(0x1df)+_0x4d4e38);}}},exports['CollaborationController']=bi([Ae(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),Ae(0x1,a['Inject'](exports['CollaborationSessionService'])),Ae(0x2,a[_0x491a6f(0x312)])],exports['CollaborationController']);function _0x2315(_0x192d26,_0x4df31c){var _0x352ef1=_0x352e();return _0x2315=function(_0x231505,_0x8b50){_0x231505=_0x231505-0x11a;var _0x33c8ea=_0x352ef1[_0x231505];return _0x33c8ea;},_0x2315(_0x192d26,_0x4df31c);}var Ri=Object[_0x491a6f(0x316)],yi=(_0x136db4,_0x4d5731,_0x259725,_0x3fa829)=>{var _0x2e7c8e=_0x491a6f;for(var _0x75a7c7=_0x3fa829>0x1?void 0x0:_0x3fa829?Ri(_0x4d5731,_0x259725):_0x4d5731,_0x599b5e=_0x136db4[_0x2e7c8e(0x182)]-0x1,_0x33b646;_0x599b5e>=0x0;_0x599b5e--)(_0x33b646=_0x136db4[_0x599b5e])&&(_0x75a7c7=_0x33b646(_0x75a7c7)||_0x75a7c7);return _0x75a7c7;},Je=(_0x4ce1f7,_0x4d0189)=>(_0x38ea28,_0x2eebcd)=>_0x4d0189(_0x38ea28,_0x2eebcd,_0x4ce1f7);const Oi='DEFAULT_FILE_NAME',Ni='Univer';let He=class extends a['Disposable']{constructor(_0x502588,_0x5902f2){var _0x4db935=_0x491a6f;super(),this[_0x4db935(0x192)]=_0x502588,this[_0x4db935(0x13d)]=_0x5902f2,this[_0x4db935(0x3a5)]();}['_init'](){var _0x33a49d=_0x491a6f;this[_0x33a49d(0x15d)](this[_0x33a49d(0x192)]['focused$'][_0x33a49d(0x148)](()=>{var _0xc169b8=_0x33a49d,_0x3e61a7;const _0x525100=this[_0xc169b8(0x192)][_0xc169b8(0x336)]();let _0x5d3aba=(_0x3e61a7=this[_0xc169b8(0x13d)][_0xc169b8(0x167)](Oi))!=null?_0x3e61a7:Ni;_0x525100 instanceof a[_0xc169b8(0x3df)]&&(_0x5d3aba=_0x525100[_0xc169b8(0x122)]),document[_0xc169b8(0x151)]=_0x5d3aba;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x491a6f(0x3db)])],He);var Di=Object[_0x491a6f(0x316)],Ui=(_0x53d932,_0x19a167,_0x413ce6,_0x2bafde)=>{var _0x8c183d=_0x491a6f;for(var _0x550052=_0x2bafde>0x1?void 0x0:_0x2bafde?Di(_0x19a167,_0x413ce6):_0x19a167,_0x49a614=_0x53d932[_0x8c183d(0x182)]-0x1,_0x12a4ed;_0x49a614>=0x0;_0x49a614--)(_0x12a4ed=_0x53d932[_0x49a614])&&(_0x550052=_0x12a4ed(_0x550052)||_0x550052);return _0x550052;},we=(_0x213f6c,_0x14c3fe)=>(_0x3ff1b1,_0x500980)=>_0x14c3fe(_0x3ff1b1,_0x500980,_0x213f6c);let Oe=class{constructor(_0x3a1315,_0x2a3fab,_0x19a03b){var _0x10cfe8=_0x491a6f;this[_0x10cfe8(0x13d)]=_0x3a1315,this[_0x10cfe8(0x2b7)]=_0x2a3fab,this[_0x10cfe8(0x3a0)]=_0x19a03b,this['init']();}['init'](){var _0x4ef60e=_0x491a6f;this[_0x4ef60e(0x2b7)][_0x4ef60e(0x3bd)]({'priority':0x1,'interceptor':(_0x11b395,_0x311507)=>_0x311507(_0x11b395)[_0x4ef60e(0x3c4)](j[_0x4ef60e(0x136)](async _0x45ac29=>{var _0x5925ea=_0x4ef60e;const _0x1a04ab=_0x45ac29;if(_0x1a04ab[_0x5925ea(0x1ad)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5925ea(0x174)](this['localeService']['t'](_0x5925ea(0x452)))){const _0x7ba025=window['encodeURIComponent'](window[_0x5925ea(0x3f1)]['href']);window[_0x5925ea(0x3f1)][_0x5925ea(0x256)]=this['_getLoginPath']()+_0x5925ea(0x347)+_0x7ba025;}}return _0x1a04ab;}))});}[_0x491a6f(0x16c)](){var _0x49c5ed=_0x491a6f,_0x398643,_0x559e7f;const _0x356fb4=this[_0x49c5ed(0x13d)][_0x49c5ed(0x167)](Et),_0x5d037c=this['_configService']['getConfig'](Y);return(_0x559e7f=(_0x398643=_0x5d037c==null?void 0x0:_0x5d037c['loginUrlKey'])!=null?_0x398643:_0x356fb4)!=null?_0x559e7f:Yt;}};Oe=Ui([we(0x0,a[_0x491a6f(0x3db)]),we(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)])),we(0x2,a['Inject'](a[_0x491a6f(0x440)]))],Oe);var Pi=Object['getOwnPropertyDescriptor'],Ai=(_0x2636be,_0x2dc108,_0x399f99,_0x1f71b0)=>{for(var _0x1b0435=_0x1f71b0>0x1?void 0x0:_0x1f71b0?Pi(_0x2dc108,_0x399f99):_0x2dc108,_0x519c4b=_0x2636be['length']-0x1,_0x732fcd;_0x519c4b>=0x0;_0x519c4b--)(_0x732fcd=_0x2636be[_0x519c4b])&&(_0x1b0435=_0x732fcd(_0x1b0435)||_0x1b0435);return _0x1b0435;},Xe=(_0x4b9d4a,_0x3f111e)=>(_0x2673aa,_0x4a18c1)=>_0x3f111e(_0x2673aa,_0x4a18c1,_0x4b9d4a);const Ve=_0x491a6f(0x412),wi=_0x491a6f(0x17b);exports['AuthzIoHttpService']=class extends a[_0x491a6f(0x3f8)]{constructor(_0x10dbbe,_0x2a9faa){var _0x4bbc3f=_0x491a6f;super(),this[_0x4bbc3f(0x2d5)]=_0x10dbbe,this[_0x4bbc3f(0x13d)]=_0x2a9faa,this[_0x4bbc3f(0x3dc)]();}[_0x491a6f(0x3dc)](){var _0x43bf4c=_0x491a6f;const _0x4cf6ba=this;this[_0x43bf4c(0x15d)](this[_0x43bf4c(0x2d5)][_0x43bf4c(0x3bd)]({'priority':0x3e7,'interceptor':q[_0x43bf4c(0x487)]({'isMatch'(_0x45435c){var _0x46a353=_0x43bf4c,_0x1080ee;if(_0x45435c[_0x46a353(0x12a)]==='POST'&&((_0x1080ee=_0x45435c[_0x46a353(0x1a3)])!=null&&_0x1080ee[_0x46a353(0x320)])){const {objectID:_0x4b5800,objectType:_0x5e45c1}=_0x45435c['requestParams'][_0x46a353(0x320)]||{};if(!_0x4b5800||_0x5e45c1===void 0x0)return!0x1;const _0x195b83=_0x4cf6ba[_0x46a353(0x18a)]()+'/'+_0x5e45c1+_0x46a353(0x262)+_0x4b5800+_0x46a353(0x16b);if(_0x45435c[_0x46a353(0x30b)]===_0x195b83)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x136165){var _0x5b5907=_0x43bf4c,_0x4d4f23;return(_0x4d4f23=_0x136165[_0x5b5907(0x1a3)])==null?void 0x0:_0x4d4f23['body'];},'mergeParamsToRequest'(_0x10e0aa,_0x33efaf){var _0x2c1333=_0x43bf4c;const _0x10509e=_0x4cf6ba['_getAPIPrefixPath']()+_0x2c1333(0x2f7),_0xa75dd7=_0x10e0aa[_0x2c1333(0x200)]((_0x14983a,_0xa71344)=>{const {unitID:_0x2660d6,objectID:_0x48f3fd,objectType:_0x1e3510,actions:_0x5f3e97}=_0xa71344;return _0x14983a[_0x2660d6]||(_0x14983a[_0x2660d6]={}),_0x14983a[_0x2660d6][_0x48f3fd]||(_0x14983a[_0x2660d6][_0x48f3fd]={'objectID':_0x48f3fd,'objectType':_0x1e3510,'actions':[]}),_0x14983a[_0x2660d6][_0x48f3fd]['actions']['push'](..._0x5f3e97),_0x14983a;},{}),_0xd46aa=[];for(const _0x5eef72 in _0xa75dd7)for(const _0x4b27b0 in _0xa75dd7[_0x5eef72]){const {actions:_0xf6242d,objectType:_0x44c0cf}=_0xa75dd7[_0x5eef72][_0x4b27b0],_0x3f1436=[...new Set(_0xf6242d)];_0xd46aa['push']({'unitID':_0x5eef72,'objectID':_0x4b27b0,'objectType':_0x44c0cf,'actions':_0x3f1436});}return new q[(_0x2c1333(0x31c))](_0x2c1333(0x3c1),_0x10509e,{'headers':_0x33efaf[_0x2c1333(0x3c7)],'withCredentials':_0x33efaf['withCredentials'],'responseType':_0x33efaf['responseType'],'body':{'requests':_0xd46aa}});}},{'distributeResult'(_0x54aeda,_0x3cdb9d){var _0x7c52a3=_0x43bf4c;const {objectActions:_0x15cfca}=_0x54aeda;return _0x3cdb9d[_0x7c52a3(0x48d)](_0x3990a0=>{var _0x2df687=_0x7c52a3;const {unitID:_0x2062f9,objectID:_0x1e1c03,actions:_0x1aa11c}=_0x3990a0,_0x4ec788=_0x15cfca[_0x2df687(0x121)](_0x584b1c=>_0x584b1c[_0x2df687(0x408)]===_0x2062f9&&_0x584b1c[_0x2df687(0x15c)]===_0x1e1c03),_0x2d05d1=_0x1aa11c[_0x2df687(0x48d)](_0x13a77a=>_0x4ec788==null?void 0x0:_0x4ec788['actions'][_0x2df687(0x121)](_0x3fa9c0=>_0x3fa9c0[_0x2df687(0x2dc)]===_0x13a77a))['filter'](_0x2f4077=>!!_0x2f4077);return{'config':_0x3990a0,'result':{'actions':_0x2d05d1,'error':_0x54aeda[_0x2df687(0x1a7)]}};});}})}));}[_0x491a6f(0x18a)](){var _0x6d84f9=_0x491a6f,_0x14f6f5,_0x49c188;const _0x4877a1=this['_configService']['getConfig'](Ve),_0x5486a0=this[_0x6d84f9(0x13d)][_0x6d84f9(0x167)](Y);return(_0x49c188=(_0x14f6f5=_0x5486a0==null?void 0x0:_0x5486a0[_0x6d84f9(0x1bc)])!=null?_0x14f6f5:_0x4877a1)!=null?_0x49c188:wi;}async[_0x491a6f(0x307)](_0x126a04){var _0x31a9c2=_0x491a6f;const _0x4517ea=this['_getAPIPrefixPath']()+'/'+_0x126a04['objectType']+_0x31a9c2(0x352);return(await this['_HTTPService']['post'](_0x4517ea,{'body':_0x126a04}))['body'][_0x31a9c2(0x15c)]||'';}async[_0x491a6f(0x1f5)](_0x379aa6){var _0x178c8a=_0x491a6f;const _0x568c69=this[_0x178c8a(0x18a)]()+'/-/object/list';return(await this[_0x178c8a(0x2d5)][_0x178c8a(0x2f2)](_0x568c69,{'body':_0x379aa6}))[_0x178c8a(0x320)][_0x178c8a(0x45b)];}async[_0x491a6f(0x25d)](_0x38f5c8){var _0x4b4c77=_0x491a6f;const _0xeb5798=this[_0x4b4c77(0x18a)]()+'/'+_0x38f5c8[_0x4b4c77(0x3e0)]+_0x4b4c77(0x262)+_0x38f5c8[_0x4b4c77(0x15c)];await this['_HTTPService'][_0x4b4c77(0x43e)](_0xeb5798,{'body':_0x38f5c8});}async[_0x491a6f(0x3d8)](_0x423fd7){var _0x550eb4=_0x491a6f;const _0x11abf7=this[_0x550eb4(0x18a)]()+'/'+_0x423fd7[_0x550eb4(0x3e0)]+_0x550eb4(0x262)+_0x423fd7[_0x550eb4(0x15c)]+_0x550eb4(0x16b);return(await this[_0x550eb4(0x2d5)][_0x550eb4(0x2f2)](_0x11abf7,{'body':_0x423fd7}))[_0x550eb4(0x320)]['actions'];}async[_0x491a6f(0x30c)](_0x59db3d){var _0x473a6c=_0x491a6f;const _0xc0576=this[_0x473a6c(0x18a)]()+'/-/object/-/batch_allowed';return(await this[_0x473a6c(0x2d5)]['post'](_0xc0576,{'body':{'requests':_0x59db3d}}))[_0x473a6c(0x320)][_0x473a6c(0x1d3)];}async['listRoles'](_0x5854a0){var _0x2bd1a9=_0x491a6f;const _0x3c8d4e=this[_0x2bd1a9(0x18a)]()+'/'+_0x5854a0['objectType']+'/role',_0x5b8643=await this[_0x2bd1a9(0x2d5)]['post'](_0x3c8d4e,{'body':_0x5854a0});return{'roles':_0x5b8643['body']['roles'],'actions':_0x5b8643[_0x2bd1a9(0x320)][_0x2bd1a9(0x2b9)]};}async[_0x491a6f(0x240)](_0x412b74){var _0x2dd8be=_0x491a6f;const _0x43a387=this[_0x2dd8be(0x18a)]()+'/collaborator';await this['_HTTPService'][_0x2dd8be(0x479)](_0x43a387,{'params':{'collaboratorID':_0x412b74['collaboratorID'],'objectID':_0x412b74['objectID'],'unitID':_0x412b74[_0x2dd8be(0x408)]}});}async[_0x491a6f(0x38f)](_0x7a5cfc){var _0x992d58=_0x491a6f;const _0x570a1c=this[_0x992d58(0x18a)]()+_0x992d58(0x29f);await this[_0x992d58(0x2d5)][_0x992d58(0x23d)](_0x570a1c,{'body':_0x7a5cfc});}async[_0x491a6f(0x324)](_0x342a76){var _0x475c5b=_0x491a6f;const _0xec20a=this[_0x475c5b(0x18a)]()+_0x475c5b(0x29f);await this[_0x475c5b(0x2d5)][_0x475c5b(0x2f2)](_0xec20a,{'body':_0x342a76});}async[_0x491a6f(0x22e)](_0x11dbda){var _0x109db8=_0x491a6f;const _0x6f7db2=this[_0x109db8(0x18a)]()+'/collaborator';return(await this[_0x109db8(0x2d5)]['get'](_0x6f7db2,{'params':{'objectID':_0x11dbda['objectID'],'unitID':_0x11dbda[_0x109db8(0x408)]}}))[_0x109db8(0x320)][_0x109db8(0x188)];}async['putCollaborators'](_0x1df6eb){var _0x37890a=_0x491a6f;const _0x3e8c2c=this[_0x37890a(0x18a)]()+_0x37890a(0x29f);await this[_0x37890a(0x2d5)][_0x37890a(0x43e)](_0x3e8c2c,{'body':_0x1df6eb});}},exports[_0x491a6f(0x395)]=Ai([Xe(0x0,a[_0x491a6f(0x1a1)](q['HTTPService'])),Xe(0x1,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x3db)]))],exports[_0x491a6f(0x395)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x16cb35){var _0x59953e=_0x491a6f;return _0x16cb35&&_0x16cb35[_0x59953e(0x372)]&&Object[_0x59953e(0x135)][_0x59953e(0x2b5)]['call'](_0x16cb35,_0x59953e(0x2d8))?_0x16cb35[_0x59953e(0x2d8)]:_0x16cb35;}var fe={'exports':{}};function Li(_0x248bd6){var _0x2da504=_0x491a6f;throw new Error(_0x2da504(0x469)+_0x248bd6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x491a6f(0x3cd)],Ze;function ee(){var _0x1f7db5=_0x491a6f;return Ze||(Ze=0x1,function(_0x367591,_0x15c525){(function(_0x51ec04,_0xe991f3){var _0x5ade4e=_0x2315;_0x367591[_0x5ade4e(0x3cd)]=_0xe991f3();}(Mi,function(){var _0x588dc3=_0x588dc3||function(_0x1f74cb,_0x4fd3bd){var _0x5a5b50=_0x2315,_0x2b959f;if(typeof window<'u'&&window[_0x5a5b50(0x1fb)]&&(_0x2b959f=window[_0x5a5b50(0x1fb)]),typeof self<'u'&&self[_0x5a5b50(0x1fb)]&&(_0x2b959f=self[_0x5a5b50(0x1fb)]),typeof globalThis<'u'&&globalThis[_0x5a5b50(0x1fb)]&&(_0x2b959f=globalThis[_0x5a5b50(0x1fb)]),!_0x2b959f&&typeof window<'u'&&window[_0x5a5b50(0x25e)]&&(_0x2b959f=window[_0x5a5b50(0x25e)]),!_0x2b959f&&typeof Le<'u'&&Le[_0x5a5b50(0x1fb)]&&(_0x2b959f=Le[_0x5a5b50(0x1fb)]),!_0x2b959f&&typeof Li=='function')try{_0x2b959f=require(_0x5a5b50(0x1fb));}catch{}var _0xac3d98=function(){var _0x472f1f=_0x5a5b50;if(_0x2b959f){if(typeof _0x2b959f[_0x472f1f(0x3f2)]=='function')try{return _0x2b959f['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b959f[_0x472f1f(0x1ce)]==_0x472f1f(0x1e7))try{return _0x2b959f[_0x472f1f(0x1ce)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x472f1f(0x369));},_0x214f99=Object[_0x5a5b50(0x307)]||(function(){function _0x22ee4e(){}return function(_0x3abef6){var _0x48b757=_0x2315,_0x5a07f9;return _0x22ee4e[_0x48b757(0x135)]=_0x3abef6,_0x5a07f9=new _0x22ee4e(),_0x22ee4e[_0x48b757(0x135)]=null,_0x5a07f9;};}()),_0x5b5c18={},_0x339442=_0x5b5c18[_0x5a5b50(0x40e)]={},_0x4d82c7=_0x339442[_0x5a5b50(0x447)]=(function(){return{'extend':function(_0x3bf997){var _0x4cd5a6=_0x2315,_0x282aca=_0x214f99(this);return _0x3bf997&&_0x282aca[_0x4cd5a6(0x39d)](_0x3bf997),(!_0x282aca['hasOwnProperty'](_0x4cd5a6(0x124))||this['init']===_0x282aca[_0x4cd5a6(0x124)])&&(_0x282aca[_0x4cd5a6(0x124)]=function(){var _0x248f1b=_0x4cd5a6;_0x282aca[_0x248f1b(0x175)][_0x248f1b(0x124)][_0x248f1b(0x3ed)](this,arguments);}),_0x282aca['init'][_0x4cd5a6(0x135)]=_0x282aca,_0x282aca['$super']=this,_0x282aca;},'create':function(){var _0x475110=_0x2315,_0xbde988=this[_0x475110(0x143)]();return _0xbde988[_0x475110(0x124)][_0x475110(0x3ed)](_0xbde988,arguments),_0xbde988;},'init':function(){},'mixIn':function(_0x4e888b){var _0x20a5d0=_0x2315;for(var _0xb28a9a in _0x4e888b)_0x4e888b['hasOwnProperty'](_0xb28a9a)&&(this[_0xb28a9a]=_0x4e888b[_0xb28a9a]);_0x4e888b[_0x20a5d0(0x2b5)](_0x20a5d0(0x295))&&(this[_0x20a5d0(0x295)]=_0x4e888b[_0x20a5d0(0x295)]);},'clone':function(){var _0x2b565b=_0x2315;return this[_0x2b565b(0x124)][_0x2b565b(0x135)]['extend'](this);}};}()),_0x58f195=_0x339442[_0x5a5b50(0x2ed)]=_0x4d82c7[_0x5a5b50(0x143)]({'init':function(_0x6a6d9f,_0x431e00){var _0x45382b=_0x5a5b50;_0x6a6d9f=this['words']=_0x6a6d9f||[],_0x431e00!=_0x4fd3bd?this[_0x45382b(0x1c7)]=_0x431e00:this[_0x45382b(0x1c7)]=_0x6a6d9f[_0x45382b(0x182)]*0x4;},'toString':function(_0x5d19dd){var _0xf2b8de=_0x5a5b50;return(_0x5d19dd||_0x3f2410)[_0xf2b8de(0x2bd)](this);},'concat':function(_0x51c5f7){var _0x54ce76=_0x5a5b50,_0x1d9dc6=this[_0x54ce76(0x381)],_0x2c7c53=_0x51c5f7[_0x54ce76(0x381)],_0x186e81=this[_0x54ce76(0x1c7)],_0x27bf01=_0x51c5f7[_0x54ce76(0x1c7)];if(this[_0x54ce76(0x2c4)](),_0x186e81%0x4)for(var _0x24c517=0x0;_0x24c517<_0x27bf01;_0x24c517++){var _0x189b80=_0x2c7c53[_0x24c517>>>0x2]>>>0x18-_0x24c517%0x4*0x8&0xff;_0x1d9dc6[_0x186e81+_0x24c517>>>0x2]|=_0x189b80<<0x18-(_0x186e81+_0x24c517)%0x4*0x8;}else{for(var _0x136126=0x0;_0x136126<_0x27bf01;_0x136126+=0x4)_0x1d9dc6[_0x186e81+_0x136126>>>0x2]=_0x2c7c53[_0x136126>>>0x2];}return this['sigBytes']+=_0x27bf01,this;},'clamp':function(){var _0xb45114=_0x5a5b50,_0x4f1898=this[_0xb45114(0x381)],_0xed4462=this[_0xb45114(0x1c7)];_0x4f1898[_0xed4462>>>0x2]&=0xffffffff<<0x20-_0xed4462%0x4*0x8,_0x4f1898['length']=_0x1f74cb[_0xb45114(0x255)](_0xed4462/0x4);},'clone':function(){var _0x4fe5e4=_0x5a5b50,_0x1664e7=_0x4d82c7['clone']['call'](this);return _0x1664e7[_0x4fe5e4(0x381)]=this['words'][_0x4fe5e4(0x489)](0x0),_0x1664e7;},'random':function(_0x19c8c8){var _0x115286=_0x5a5b50;for(var _0x16533f=[],_0x46d640=0x0;_0x46d640<_0x19c8c8;_0x46d640+=0x4)_0x16533f[_0x115286(0x3c3)](_0xac3d98());return new _0x58f195['init'](_0x16533f,_0x19c8c8);}}),_0x48f7ea=_0x5b5c18[_0x5a5b50(0x32c)]={},_0x3f2410=_0x48f7ea[_0x5a5b50(0x263)]={'stringify':function(_0x1abbe5){var _0x37b197=_0x5a5b50;for(var _0x16478f=_0x1abbe5['words'],_0x10a2b6=_0x1abbe5['sigBytes'],_0x382521=[],_0x2aee2f=0x0;_0x2aee2f<_0x10a2b6;_0x2aee2f++){var _0x337528=_0x16478f[_0x2aee2f>>>0x2]>>>0x18-_0x2aee2f%0x4*0x8&0xff;_0x382521[_0x37b197(0x3c3)]((_0x337528>>>0x4)[_0x37b197(0x295)](0x10)),_0x382521[_0x37b197(0x3c3)]((_0x337528&0xf)[_0x37b197(0x295)](0x10));}return _0x382521[_0x37b197(0x43f)]('');},'parse':function(_0x103f2c){var _0x3996dc=_0x5a5b50;for(var _0x49fcae=_0x103f2c[_0x3996dc(0x182)],_0x5a04ac=[],_0x925a64=0x0;_0x925a64<_0x49fcae;_0x925a64+=0x2)_0x5a04ac[_0x925a64>>>0x3]|=parseInt(_0x103f2c[_0x3996dc(0x31e)](_0x925a64,0x2),0x10)<<0x18-_0x925a64%0x8*0x4;return new _0x58f195[(_0x3996dc(0x124))](_0x5a04ac,_0x49fcae/0x2);}},_0x408e5d=_0x48f7ea[_0x5a5b50(0x37b)]={'stringify':function(_0x2be9d0){var _0x3c64e9=_0x5a5b50;for(var _0xd40d3d=_0x2be9d0[_0x3c64e9(0x381)],_0x22438b=_0x2be9d0[_0x3c64e9(0x1c7)],_0x38028d=[],_0x402d25=0x0;_0x402d25<_0x22438b;_0x402d25++){var _0x268879=_0xd40d3d[_0x402d25>>>0x2]>>>0x18-_0x402d25%0x4*0x8&0xff;_0x38028d[_0x3c64e9(0x3c3)](String[_0x3c64e9(0x1d0)](_0x268879));}return _0x38028d[_0x3c64e9(0x43f)]('');},'parse':function(_0x5ecb57){var _0x1df1c6=_0x5a5b50;for(var _0x1cb104=_0x5ecb57[_0x1df1c6(0x182)],_0x24ccfc=[],_0x46456b=0x0;_0x46456b<_0x1cb104;_0x46456b++)_0x24ccfc[_0x46456b>>>0x2]|=(_0x5ecb57[_0x1df1c6(0x41e)](_0x46456b)&0xff)<<0x18-_0x46456b%0x4*0x8;return new _0x58f195[(_0x1df1c6(0x124))](_0x24ccfc,_0x1cb104);}},_0xe6696=_0x48f7ea[_0x5a5b50(0x2b2)]={'stringify':function(_0x13c5c1){var _0x3ed0fd=_0x5a5b50;try{return decodeURIComponent(escape(_0x408e5d[_0x3ed0fd(0x2bd)](_0x13c5c1)));}catch{throw new Error(_0x3ed0fd(0x1ff));}},'parse':function(_0x299b17){var _0x383098=_0x5a5b50;return _0x408e5d[_0x383098(0x3b5)](unescape(encodeURIComponent(_0x299b17)));}},_0x52ff96=_0x339442[_0x5a5b50(0x282)]=_0x4d82c7[_0x5a5b50(0x143)]({'reset':function(){var _0x249825=_0x5a5b50;this[_0x249825(0x439)]=new _0x58f195[(_0x249825(0x124))](),this[_0x249825(0x404)]=0x0;},'_append':function(_0x28810a){var _0x37963c=_0x5a5b50;typeof _0x28810a=='string'&&(_0x28810a=_0xe6696['parse'](_0x28810a)),this[_0x37963c(0x439)][_0x37963c(0x199)](_0x28810a),this[_0x37963c(0x404)]+=_0x28810a[_0x37963c(0x1c7)];},'_process':function(_0x370ca0){var _0x4301ce=_0x5a5b50,_0x3456ee,_0x2bae04=this['_data'],_0x3715e0=_0x2bae04[_0x4301ce(0x381)],_0x3a9a80=_0x2bae04[_0x4301ce(0x1c7)],_0x57d873=this['blockSize'],_0x2a2b81=_0x57d873*0x4,_0x3aa30c=_0x3a9a80/_0x2a2b81;_0x370ca0?_0x3aa30c=_0x1f74cb[_0x4301ce(0x255)](_0x3aa30c):_0x3aa30c=_0x1f74cb[_0x4301ce(0x250)]((_0x3aa30c|0x0)-this['_minBufferSize'],0x0);var _0x19293c=_0x3aa30c*_0x57d873,_0xdadc2d=_0x1f74cb[_0x4301ce(0x28d)](_0x19293c*0x4,_0x3a9a80);if(_0x19293c){for(var _0x4c9d03=0x0;_0x4c9d03<_0x19293c;_0x4c9d03+=_0x57d873)this[_0x4301ce(0x29d)](_0x3715e0,_0x4c9d03);_0x3456ee=_0x3715e0[_0x4301ce(0x422)](0x0,_0x19293c),_0x2bae04[_0x4301ce(0x1c7)]-=_0xdadc2d;}return new _0x58f195['init'](_0x3456ee,_0xdadc2d);},'clone':function(){var _0x43a65c=_0x5a5b50,_0x207391=_0x4d82c7['clone'][_0x43a65c(0x21a)](this);return _0x207391[_0x43a65c(0x439)]=this['_data']['clone'](),_0x207391;},'_minBufferSize':0x0});_0x339442[_0x5a5b50(0x2b6)]=_0x52ff96[_0x5a5b50(0x143)]({'cfg':_0x4d82c7['extend'](),'init':function(_0x293e1){var _0x3d59a7=_0x5a5b50;this['cfg']=this['cfg'][_0x3d59a7(0x143)](_0x293e1),this[_0x3d59a7(0x27b)]();},'reset':function(){var _0x4b4bd2=_0x5a5b50;_0x52ff96[_0x4b4bd2(0x27b)][_0x4b4bd2(0x21a)](this),this[_0x4b4bd2(0x12f)]();},'update':function(_0x2cef87){var _0xe315f1=_0x5a5b50;return this['_append'](_0x2cef87),this[_0xe315f1(0x133)](),this;},'finalize':function(_0x27b632){var _0x5312ed=_0x5a5b50;_0x27b632&&this[_0x5312ed(0x27a)](_0x27b632);var _0x5ab332=this[_0x5312ed(0x2a7)]();return _0x5ab332;},'blockSize':0x10,'_createHelper':function(_0x138295){return function(_0x44db69,_0x31754b){var _0x227910=_0x2315;return new _0x138295[(_0x227910(0x124))](_0x31754b)[_0x227910(0x34d)](_0x44db69);};},'_createHmacHelper':function(_0x2dfa5f){return function(_0x31785c,_0x169fb5){var _0x4c7009=_0x2315;return new _0x11eb9e[(_0x4c7009(0x417))][(_0x4c7009(0x124))](_0x2dfa5f,_0x169fb5)[_0x4c7009(0x34d)](_0x31785c);};}});var _0x11eb9e=_0x5b5c18[_0x5a5b50(0x436)]={};return _0x5b5c18;}(Math);return _0x588dc3;}));}(pe)),pe[_0x1f7db5(0x3cd)];}var ge={'exports':{}},xi=ge[_0x491a6f(0x3cd)],Qe;function Ut(){var _0x178d61=_0x491a6f;return Qe||(Qe=0x1,function(_0x26bbae,_0x27e5f2){(function(_0x513e05,_0x18aa98){var _0x49d848=_0x2315;_0x26bbae[_0x49d848(0x3cd)]=_0x18aa98(ee());}(xi,function(_0x4faba1){var _0x38ecb1=_0x2315;return(function(){var _0x470382=_0x2315,_0x5aef01=_0x4faba1,_0x328684=_0x5aef01['lib'],_0x862149=_0x328684[_0x470382(0x2ed)],_0x55949c=_0x5aef01[_0x470382(0x32c)];_0x55949c['Base64']={'stringify':function(_0xee1033){var _0x28a2fb=_0x470382,_0x448efc=_0xee1033[_0x28a2fb(0x381)],_0x1e5f34=_0xee1033[_0x28a2fb(0x1c7)],_0x27606=this[_0x28a2fb(0x269)];_0xee1033[_0x28a2fb(0x2c4)]();for(var _0x25d9d1=[],_0x2a16a3=0x0;_0x2a16a3<_0x1e5f34;_0x2a16a3+=0x3)for(var _0x584daa=_0x448efc[_0x2a16a3>>>0x2]>>>0x18-_0x2a16a3%0x4*0x8&0xff,_0x11294d=_0x448efc[_0x2a16a3+0x1>>>0x2]>>>0x18-(_0x2a16a3+0x1)%0x4*0x8&0xff,_0x2c02b0=_0x448efc[_0x2a16a3+0x2>>>0x2]>>>0x18-(_0x2a16a3+0x2)%0x4*0x8&0xff,_0x2b1e47=_0x584daa<<0x10|_0x11294d<<0x8|_0x2c02b0,_0x2fa51d=0x0;_0x2fa51d<0x4&&_0x2a16a3+_0x2fa51d*0.75<_0x1e5f34;_0x2fa51d++)_0x25d9d1[_0x28a2fb(0x3c3)](_0x27606[_0x28a2fb(0x370)](_0x2b1e47>>>0x6*(0x3-_0x2fa51d)&0x3f));var _0x504bd5=_0x27606[_0x28a2fb(0x370)](0x40);if(_0x504bd5){for(;_0x25d9d1[_0x28a2fb(0x182)]%0x4;)_0x25d9d1['push'](_0x504bd5);}return _0x25d9d1[_0x28a2fb(0x43f)]('');},'parse':function(_0x59e38e){var _0x1cdcf8=_0x470382,_0x4c316e=_0x59e38e[_0x1cdcf8(0x182)],_0x1ef991=this['_map'],_0x4f3282=this['_reverseMap'];if(!_0x4f3282){_0x4f3282=this[_0x1cdcf8(0x337)]=[];for(var _0x2b5066=0x0;_0x2b5066<_0x1ef991['length'];_0x2b5066++)_0x4f3282[_0x1ef991[_0x1cdcf8(0x41e)](_0x2b5066)]=_0x2b5066;}var _0x227628=_0x1ef991[_0x1cdcf8(0x370)](0x40);if(_0x227628){var _0x4c40c9=_0x59e38e[_0x1cdcf8(0x3d7)](_0x227628);_0x4c40c9!==-0x1&&(_0x4c316e=_0x4c40c9);}return _0x47ce7a(_0x59e38e,_0x4c316e,_0x4f3282);},'_map':_0x470382(0x3e8)};function _0x47ce7a(_0x1eeb3f,_0x33c06b,_0x21ae5d){var _0x3b0eb8=_0x470382;for(var _0x2ba50c=[],_0xc52d28=0x0,_0x57f32f=0x0;_0x57f32f<_0x33c06b;_0x57f32f++)if(_0x57f32f%0x4){var _0x22d1ac=_0x21ae5d[_0x1eeb3f[_0x3b0eb8(0x41e)](_0x57f32f-0x1)]<<_0x57f32f%0x4*0x2,_0x43f180=_0x21ae5d[_0x1eeb3f[_0x3b0eb8(0x41e)](_0x57f32f)]>>>0x6-_0x57f32f%0x4*0x2,_0x3ff8b9=_0x22d1ac|_0x43f180;_0x2ba50c[_0xc52d28>>>0x2]|=_0x3ff8b9<<0x18-_0xc52d28%0x4*0x8,_0xc52d28++;}return _0x862149[_0x3b0eb8(0x307)](_0x2ba50c,_0xc52d28);}}()),_0x4faba1['enc'][_0x38ecb1(0x355)];}));}(ge)),ge[_0x178d61(0x3cd)];}var me={'exports':{}},ki=me[_0x491a6f(0x3cd)],et;function Hi(){var _0x1d7165=_0x491a6f;return et||(et=0x1,function(_0x481c21,_0x4201e4){(function(_0x2e34c7,_0x4d2c28){var _0x4a8661=_0x2315;_0x481c21[_0x4a8661(0x3cd)]=_0x4d2c28(ee());}(ki,function(_0x2a73ae){var _0x4c7299=_0x2315;return function(_0x35d5d6){var _0x20a2f3=_0x2315,_0x4850c0=_0x2a73ae,_0x3310c6=_0x4850c0[_0x20a2f3(0x40e)],_0x58ab8e=_0x3310c6[_0x20a2f3(0x2ed)],_0x18a5dd=_0x3310c6[_0x20a2f3(0x2b6)],_0x5c3be4=_0x4850c0[_0x20a2f3(0x436)],_0x271f5f=[];(function(){for(var _0x4245a1=0x0;_0x4245a1<0x40;_0x4245a1++)_0x271f5f[_0x4245a1]=_0x35d5d6['abs'](_0x35d5d6['sin'](_0x4245a1+0x1))*0x100000000|0x0;}());var _0x2a46f3=_0x5c3be4[_0x20a2f3(0x25a)]=_0x18a5dd[_0x20a2f3(0x143)]({'_doReset':function(){this['_hash']=new _0x58ab8e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x521f2a,_0x168d07){var _0x55f460=_0x20a2f3;for(var _0x3279c1=0x0;_0x3279c1<0x10;_0x3279c1++){var _0x74c19b=_0x168d07+_0x3279c1,_0x53f8e7=_0x521f2a[_0x74c19b];_0x521f2a[_0x74c19b]=(_0x53f8e7<<0x8|_0x53f8e7>>>0x18)&0xff00ff|(_0x53f8e7<<0x18|_0x53f8e7>>>0x8)&0xff00ff00;}var _0x5535c0=this[_0x55f460(0x2e7)][_0x55f460(0x381)],_0x532d88=_0x521f2a[_0x168d07+0x0],_0x406900=_0x521f2a[_0x168d07+0x1],_0x2b9f33=_0x521f2a[_0x168d07+0x2],_0x2a5d87=_0x521f2a[_0x168d07+0x3],_0x4d0339=_0x521f2a[_0x168d07+0x4],_0x86490=_0x521f2a[_0x168d07+0x5],_0x41bda5=_0x521f2a[_0x168d07+0x6],_0x379c49=_0x521f2a[_0x168d07+0x7],_0x14c9b1=_0x521f2a[_0x168d07+0x8],_0xed17d7=_0x521f2a[_0x168d07+0x9],_0x7e849b=_0x521f2a[_0x168d07+0xa],_0xb5d667=_0x521f2a[_0x168d07+0xb],_0x3b6398=_0x521f2a[_0x168d07+0xc],_0x43a1d9=_0x521f2a[_0x168d07+0xd],_0x19f00a=_0x521f2a[_0x168d07+0xe],_0x9635b7=_0x521f2a[_0x168d07+0xf],_0x4e1be3=_0x5535c0[0x0],_0x1ae49f=_0x5535c0[0x1],_0x46b950=_0x5535c0[0x2],_0x1883f4=_0x5535c0[0x3];_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x532d88,0x7,_0x271f5f[0x0]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x406900,0xc,_0x271f5f[0x1]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2b9f33,0x11,_0x271f5f[0x2]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x2a5d87,0x16,_0x271f5f[0x3]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x4d0339,0x7,_0x271f5f[0x4]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x86490,0xc,_0x271f5f[0x5]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x41bda5,0x11,_0x271f5f[0x6]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x379c49,0x16,_0x271f5f[0x7]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x14c9b1,0x7,_0x271f5f[0x8]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0xed17d7,0xc,_0x271f5f[0x9]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x7e849b,0x11,_0x271f5f[0xa]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0xb5d667,0x16,_0x271f5f[0xb]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x3b6398,0x7,_0x271f5f[0xc]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x43a1d9,0xc,_0x271f5f[0xd]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x19f00a,0x11,_0x271f5f[0xe]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x9635b7,0x16,_0x271f5f[0xf]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x406900,0x5,_0x271f5f[0x10]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x41bda5,0x9,_0x271f5f[0x11]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0xb5d667,0xe,_0x271f5f[0x12]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x532d88,0x14,_0x271f5f[0x13]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x86490,0x5,_0x271f5f[0x14]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x7e849b,0x9,_0x271f5f[0x15]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x9635b7,0xe,_0x271f5f[0x16]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x4d0339,0x14,_0x271f5f[0x17]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0xed17d7,0x5,_0x271f5f[0x18]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x19f00a,0x9,_0x271f5f[0x19]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2a5d87,0xe,_0x271f5f[0x1a]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x14c9b1,0x14,_0x271f5f[0x1b]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x43a1d9,0x5,_0x271f5f[0x1c]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x2b9f33,0x9,_0x271f5f[0x1d]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x379c49,0xe,_0x271f5f[0x1e]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x3b6398,0x14,_0x271f5f[0x1f]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x86490,0x4,_0x271f5f[0x20]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x14c9b1,0xb,_0x271f5f[0x21]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0xb5d667,0x10,_0x271f5f[0x22]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x19f00a,0x17,_0x271f5f[0x23]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x406900,0x4,_0x271f5f[0x24]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x4d0339,0xb,_0x271f5f[0x25]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x379c49,0x10,_0x271f5f[0x26]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x7e849b,0x17,_0x271f5f[0x27]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x43a1d9,0x4,_0x271f5f[0x28]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x532d88,0xb,_0x271f5f[0x29]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2a5d87,0x10,_0x271f5f[0x2a]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x41bda5,0x17,_0x271f5f[0x2b]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0xed17d7,0x4,_0x271f5f[0x2c]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x3b6398,0xb,_0x271f5f[0x2d]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x9635b7,0x10,_0x271f5f[0x2e]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x2b9f33,0x17,_0x271f5f[0x2f]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x532d88,0x6,_0x271f5f[0x30]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x379c49,0xa,_0x271f5f[0x31]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x19f00a,0xf,_0x271f5f[0x32]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x86490,0x15,_0x271f5f[0x33]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x3b6398,0x6,_0x271f5f[0x34]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x2a5d87,0xa,_0x271f5f[0x35]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x7e849b,0xf,_0x271f5f[0x36]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x406900,0x15,_0x271f5f[0x37]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x14c9b1,0x6,_0x271f5f[0x38]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x9635b7,0xa,_0x271f5f[0x39]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x41bda5,0xf,_0x271f5f[0x3a]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x43a1d9,0x15,_0x271f5f[0x3b]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x4d0339,0x6,_0x271f5f[0x3c]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0xb5d667,0xa,_0x271f5f[0x3d]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2b9f33,0xf,_0x271f5f[0x3e]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0xed17d7,0x15,_0x271f5f[0x3f]),_0x5535c0[0x0]=_0x5535c0[0x0]+_0x4e1be3|0x0,_0x5535c0[0x1]=_0x5535c0[0x1]+_0x1ae49f|0x0,_0x5535c0[0x2]=_0x5535c0[0x2]+_0x46b950|0x0,_0x5535c0[0x3]=_0x5535c0[0x3]+_0x1883f4|0x0;},'_doFinalize':function(){var _0x369a34=_0x20a2f3,_0x23f7f7=this[_0x369a34(0x439)],_0x49f499=_0x23f7f7[_0x369a34(0x381)],_0xf0ee9b=this[_0x369a34(0x404)]*0x8,_0x1a5fd4=_0x23f7f7[_0x369a34(0x1c7)]*0x8;_0x49f499[_0x1a5fd4>>>0x5]|=0x80<<0x18-_0x1a5fd4%0x20;var _0x2a7a93=_0x35d5d6[_0x369a34(0x34a)](_0xf0ee9b/0x100000000),_0x5b5d47=_0xf0ee9b;_0x49f499[(_0x1a5fd4+0x40>>>0x9<<0x4)+0xf]=(_0x2a7a93<<0x8|_0x2a7a93>>>0x18)&0xff00ff|(_0x2a7a93<<0x18|_0x2a7a93>>>0x8)&0xff00ff00,_0x49f499[(_0x1a5fd4+0x40>>>0x9<<0x4)+0xe]=(_0x5b5d47<<0x8|_0x5b5d47>>>0x18)&0xff00ff|(_0x5b5d47<<0x18|_0x5b5d47>>>0x8)&0xff00ff00,_0x23f7f7[_0x369a34(0x1c7)]=(_0x49f499[_0x369a34(0x182)]+0x1)*0x4,this[_0x369a34(0x133)]();for(var _0x5b3890=this[_0x369a34(0x2e7)],_0x572a20=_0x5b3890[_0x369a34(0x381)],_0x2430e8=0x0;_0x2430e8<0x4;_0x2430e8++){var _0xdce38=_0x572a20[_0x2430e8];_0x572a20[_0x2430e8]=(_0xdce38<<0x8|_0xdce38>>>0x18)&0xff00ff|(_0xdce38<<0x18|_0xdce38>>>0x8)&0xff00ff00;}return _0x5b3890;},'clone':function(){var _0x4edbc4=_0x20a2f3,_0x1f335c=_0x18a5dd[_0x4edbc4(0x21b)]['call'](this);return _0x1f335c['_hash']=this[_0x4edbc4(0x2e7)]['clone'](),_0x1f335c;}});function _0x179425(_0x5939a5,_0xa6f055,_0x57220c,_0x4707d7,_0x5ba4d7,_0x13d267,_0x5651ec){var _0xde2cea=_0x5939a5+(_0xa6f055&_0x57220c|~_0xa6f055&_0x4707d7)+_0x5ba4d7+_0x5651ec;return(_0xde2cea<<_0x13d267|_0xde2cea>>>0x20-_0x13d267)+_0xa6f055;}function _0x4598c5(_0x4c6fd9,_0x40de78,_0x3bcf12,_0x501baf,_0x4d034d,_0x14a6e2,_0x203bb6){var _0x3ab699=_0x4c6fd9+(_0x40de78&_0x501baf|_0x3bcf12&~_0x501baf)+_0x4d034d+_0x203bb6;return(_0x3ab699<<_0x14a6e2|_0x3ab699>>>0x20-_0x14a6e2)+_0x40de78;}function _0x8b193e(_0x3dfabb,_0x4aee81,_0x150c15,_0x2bbbdf,_0x2e0adc,_0xdc7bd5,_0x33b0fb){var _0x3deb4c=_0x3dfabb+(_0x4aee81^_0x150c15^_0x2bbbdf)+_0x2e0adc+_0x33b0fb;return(_0x3deb4c<<_0xdc7bd5|_0x3deb4c>>>0x20-_0xdc7bd5)+_0x4aee81;}function _0x106fa3(_0x20b859,_0x36d81d,_0x5dd52d,_0x4db948,_0x45fdbd,_0x30bc01,_0x53716e){var _0x238792=_0x20b859+(_0x5dd52d^(_0x36d81d|~_0x4db948))+_0x45fdbd+_0x53716e;return(_0x238792<<_0x30bc01|_0x238792>>>0x20-_0x30bc01)+_0x36d81d;}_0x4850c0['MD5']=_0x18a5dd[_0x20a2f3(0x394)](_0x2a46f3),_0x4850c0[_0x20a2f3(0x1e1)]=_0x18a5dd['_createHmacHelper'](_0x2a46f3);}(Math),_0x2a73ae[_0x4c7299(0x25a)];}));}(me)),me[_0x1d7165(0x3cd)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x1aab8d=_0x491a6f;return tt||(tt=0x1,function(_0x2fa1be,_0x3af76c){(function(_0x251b44,_0x10852c){var _0x107f54=_0x2315;_0x2fa1be[_0x107f54(0x3cd)]=_0x10852c(ee());}(ji,function(_0x4d368d){return(function(){var _0x3c7dfb=_0x2315,_0x178d4f=_0x4d368d,_0x411b07=_0x178d4f[_0x3c7dfb(0x40e)],_0x15f7cf=_0x411b07['WordArray'],_0x31e849=_0x411b07[_0x3c7dfb(0x2b6)],_0x15f3b1=_0x178d4f[_0x3c7dfb(0x436)],_0xe4c44e=[],_0x290bc9=_0x15f3b1[_0x3c7dfb(0x2a4)]=_0x31e849['extend']({'_doReset':function(){var _0x25f2f7=_0x3c7dfb;this['_hash']=new _0x15f7cf[(_0x25f2f7(0x124))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f63e9,_0x31db2c){var _0x144825=_0x3c7dfb;for(var _0x18843d=this[_0x144825(0x2e7)][_0x144825(0x381)],_0x41bf6e=_0x18843d[0x0],_0x1a58f8=_0x18843d[0x1],_0x4548f9=_0x18843d[0x2],_0xf8d853=_0x18843d[0x3],_0x49e185=_0x18843d[0x4],_0xd83b02=0x0;_0xd83b02<0x50;_0xd83b02++){if(_0xd83b02<0x10)_0xe4c44e[_0xd83b02]=_0x2f63e9[_0x31db2c+_0xd83b02]|0x0;else{var _0x217e49=_0xe4c44e[_0xd83b02-0x3]^_0xe4c44e[_0xd83b02-0x8]^_0xe4c44e[_0xd83b02-0xe]^_0xe4c44e[_0xd83b02-0x10];_0xe4c44e[_0xd83b02]=_0x217e49<<0x1|_0x217e49>>>0x1f;}var _0x59b01c=(_0x41bf6e<<0x5|_0x41bf6e>>>0x1b)+_0x49e185+_0xe4c44e[_0xd83b02];_0xd83b02<0x14?_0x59b01c+=(_0x1a58f8&_0x4548f9|~_0x1a58f8&_0xf8d853)+0x5a827999:_0xd83b02<0x28?_0x59b01c+=(_0x1a58f8^_0x4548f9^_0xf8d853)+0x6ed9eba1:_0xd83b02<0x3c?_0x59b01c+=(_0x1a58f8&_0x4548f9|_0x1a58f8&_0xf8d853|_0x4548f9&_0xf8d853)-0x70e44324:_0x59b01c+=(_0x1a58f8^_0x4548f9^_0xf8d853)-0x359d3e2a,_0x49e185=_0xf8d853,_0xf8d853=_0x4548f9,_0x4548f9=_0x1a58f8<<0x1e|_0x1a58f8>>>0x2,_0x1a58f8=_0x41bf6e,_0x41bf6e=_0x59b01c;}_0x18843d[0x0]=_0x18843d[0x0]+_0x41bf6e|0x0,_0x18843d[0x1]=_0x18843d[0x1]+_0x1a58f8|0x0,_0x18843d[0x2]=_0x18843d[0x2]+_0x4548f9|0x0,_0x18843d[0x3]=_0x18843d[0x3]+_0xf8d853|0x0,_0x18843d[0x4]=_0x18843d[0x4]+_0x49e185|0x0;},'_doFinalize':function(){var _0xc18c41=_0x3c7dfb,_0x444952=this[_0xc18c41(0x439)],_0x214c5d=_0x444952[_0xc18c41(0x381)],_0x2c1415=this[_0xc18c41(0x404)]*0x8,_0x2a6fec=_0x444952[_0xc18c41(0x1c7)]*0x8;return _0x214c5d[_0x2a6fec>>>0x5]|=0x80<<0x18-_0x2a6fec%0x20,_0x214c5d[(_0x2a6fec+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2c1415/0x100000000),_0x214c5d[(_0x2a6fec+0x40>>>0x9<<0x4)+0xf]=_0x2c1415,_0x444952[_0xc18c41(0x1c7)]=_0x214c5d['length']*0x4,this[_0xc18c41(0x133)](),this[_0xc18c41(0x2e7)];},'clone':function(){var _0x2fc5f7=_0x3c7dfb,_0xe0db38=_0x31e849[_0x2fc5f7(0x21b)][_0x2fc5f7(0x21a)](this);return _0xe0db38['_hash']=this['_hash'][_0x2fc5f7(0x21b)](),_0xe0db38;}});_0x178d4f['SHA1']=_0x31e849[_0x3c7dfb(0x394)](_0x290bc9),_0x178d4f[_0x3c7dfb(0x12b)]=_0x31e849[_0x3c7dfb(0x34c)](_0x290bc9);}()),_0x4d368d['SHA1'];}));}(Ee)),Ee[_0x1aab8d(0x3cd)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x2a7b0b=_0x491a6f;return it||(it=0x1,function(_0x39cbf8,_0x5bd96a){(function(_0x5dc61a,_0x3aee7d){_0x39cbf8['exports']=_0x3aee7d(ee());}(Bi,function(_0x2b7c11){(function(){var _0x9a072f=_0x2315,_0x5624ba=_0x2b7c11,_0x156ce9=_0x5624ba[_0x9a072f(0x40e)],_0x178dca=_0x156ce9['Base'],_0x6e4e26=_0x5624ba[_0x9a072f(0x32c)],_0x2a2ad4=_0x6e4e26[_0x9a072f(0x2b2)],_0x547739=_0x5624ba[_0x9a072f(0x436)];_0x547739[_0x9a072f(0x417)]=_0x178dca[_0x9a072f(0x143)]({'init':function(_0x56261e,_0x3cd249){var _0x946253=_0x9a072f;_0x56261e=this['_hasher']=new _0x56261e['init'](),typeof _0x3cd249==_0x946253(0x478)&&(_0x3cd249=_0x2a2ad4[_0x946253(0x3b5)](_0x3cd249));var _0x4269cd=_0x56261e[_0x946253(0x264)],_0x1ef462=_0x4269cd*0x4;_0x3cd249['sigBytes']>_0x1ef462&&(_0x3cd249=_0x56261e[_0x946253(0x34d)](_0x3cd249)),_0x3cd249[_0x946253(0x2c4)]();for(var _0x158f35=this[_0x946253(0x45e)]=_0x3cd249[_0x946253(0x21b)](),_0x1e54cb=this['_iKey']=_0x3cd249[_0x946253(0x21b)](),_0x202d65=_0x158f35[_0x946253(0x381)],_0x59aed3=_0x1e54cb[_0x946253(0x381)],_0x38cc1c=0x0;_0x38cc1c<_0x4269cd;_0x38cc1c++)_0x202d65[_0x38cc1c]^=0x5c5c5c5c,_0x59aed3[_0x38cc1c]^=0x36363636;_0x158f35[_0x946253(0x1c7)]=_0x1e54cb['sigBytes']=_0x1ef462,this[_0x946253(0x27b)]();},'reset':function(){var _0x45186e=_0x9a072f,_0x1919ce=this['_hasher'];_0x1919ce['reset'](),_0x1919ce[_0x45186e(0x25d)](this[_0x45186e(0x414)]);},'update':function(_0x85044f){var _0x3c1349=_0x9a072f;return this[_0x3c1349(0x390)][_0x3c1349(0x25d)](_0x85044f),this;},'finalize':function(_0x3ef809){var _0xf6fe3a=_0x9a072f,_0x5c51a5=this[_0xf6fe3a(0x390)],_0x346eee=_0x5c51a5[_0xf6fe3a(0x34d)](_0x3ef809);_0x5c51a5[_0xf6fe3a(0x27b)]();var _0x3928cf=_0x5c51a5['finalize'](this[_0xf6fe3a(0x45e)]['clone']()[_0xf6fe3a(0x199)](_0x346eee));return _0x3928cf;}});}());}));}(Ce)),Ce[_0x2a7b0b(0x3cd)];}var Wi=Ie[_0x491a6f(0x3cd)],nt;function Pt(){return nt||(nt=0x1,function(_0x33f165,_0x1f7b3b){(function(_0x4a54df,_0x3ca94b,_0x376d9f){_0x33f165['exports']=_0x3ca94b(ee(),$i(),Fi());}(Wi,function(_0x413af2){var _0x2da0ac=_0x2315;return(function(){var _0x18bd12=_0x2315,_0x570fd2=_0x413af2,_0x127108=_0x570fd2[_0x18bd12(0x40e)],_0x3c5418=_0x127108[_0x18bd12(0x447)],_0x4b1cb0=_0x127108[_0x18bd12(0x2ed)],_0x11f5c6=_0x570fd2[_0x18bd12(0x436)],_0x5aa3e6=_0x11f5c6[_0x18bd12(0x25a)],_0x3e5a5c=_0x11f5c6[_0x18bd12(0x213)]=_0x3c5418['extend']({'cfg':_0x3c5418[_0x18bd12(0x143)]({'keySize':0x80/0x20,'hasher':_0x5aa3e6,'iterations':0x1}),'init':function(_0x2611c0){var _0x5b35d3=_0x18bd12;this['cfg']=this[_0x5b35d3(0x280)][_0x5b35d3(0x143)](_0x2611c0);},'compute':function(_0x1d9cb2,_0x1d558f){var _0x51a1cd=_0x18bd12;for(var _0x348bfb,_0x52893f=this[_0x51a1cd(0x280)],_0x34f52d=_0x52893f[_0x51a1cd(0x33e)][_0x51a1cd(0x307)](),_0x539c1e=_0x4b1cb0[_0x51a1cd(0x307)](),_0x1b8f37=_0x539c1e['words'],_0x1d05e2=_0x52893f[_0x51a1cd(0x3b4)],_0x34fcf8=_0x52893f[_0x51a1cd(0x36a)];_0x1b8f37[_0x51a1cd(0x182)]<_0x1d05e2;){_0x348bfb&&_0x34f52d[_0x51a1cd(0x25d)](_0x348bfb),_0x348bfb=_0x34f52d[_0x51a1cd(0x25d)](_0x1d9cb2)['finalize'](_0x1d558f),_0x34f52d[_0x51a1cd(0x27b)]();for(var _0x1982f8=0x1;_0x1982f8<_0x34fcf8;_0x1982f8++)_0x348bfb=_0x34f52d['finalize'](_0x348bfb),_0x34f52d['reset']();_0x539c1e['concat'](_0x348bfb);}return _0x539c1e['sigBytes']=_0x1d05e2*0x4,_0x539c1e;}});_0x570fd2['EvpKDF']=function(_0x411cbb,_0x59a275,_0x4937e1){var _0x30050a=_0x18bd12;return _0x3e5a5c[_0x30050a(0x307)](_0x4937e1)[_0x30050a(0x2da)](_0x411cbb,_0x59a275);};}()),_0x413af2[_0x2da0ac(0x213)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Gi=Te[_0x491a6f(0x3cd)],rt;function At(){var _0x4a329e=_0x491a6f;return rt||(rt=0x1,function(_0x4d282d,_0x586057){(function(_0x41484d,_0x4f3241,_0x58ea56){var _0x13d50b=_0x2315;_0x4d282d[_0x13d50b(0x3cd)]=_0x4f3241(ee(),Pt());}(Gi,function(_0xf0789c){var _0x3bb6c4=_0x2315;_0xf0789c[_0x3bb6c4(0x40e)][_0x3bb6c4(0x2ea)]||function(_0x44ebc2){var _0x571f70=_0x3bb6c4,_0x5d92e7=_0xf0789c,_0xff69b2=_0x5d92e7['lib'],_0x51c9a7=_0xff69b2[_0x571f70(0x447)],_0x572c97=_0xff69b2[_0x571f70(0x2ed)],_0xd0f10f=_0xff69b2[_0x571f70(0x282)],_0x4f5aea=_0x5d92e7[_0x571f70(0x32c)];_0x4f5aea[_0x571f70(0x2b2)];var _0x22f392=_0x4f5aea['Base64'],_0x304a87=_0x5d92e7[_0x571f70(0x436)],_0x133f0a=_0x304a87['EvpKDF'],_0x3dbb4e=_0xff69b2[_0x571f70(0x2ea)]=_0xd0f10f[_0x571f70(0x143)]({'cfg':_0x51c9a7['extend'](),'createEncryptor':function(_0x361591,_0x116eb1){var _0x438c44=_0x571f70;return this[_0x438c44(0x307)](this['_ENC_XFORM_MODE'],_0x361591,_0x116eb1);},'createDecryptor':function(_0x267e4e,_0x483b78){var _0x227ecb=_0x571f70;return this[_0x227ecb(0x307)](this[_0x227ecb(0x1c6)],_0x267e4e,_0x483b78);},'init':function(_0x1dbf10,_0x5346f1,_0x1bca41){var _0xd15495=_0x571f70;this['cfg']=this['cfg'][_0xd15495(0x143)](_0x1bca41),this[_0xd15495(0x20b)]=_0x1dbf10,this[_0xd15495(0x304)]=_0x5346f1,this[_0xd15495(0x27b)]();},'reset':function(){var _0x46a70e=_0x571f70;_0xd0f10f[_0x46a70e(0x27b)][_0x46a70e(0x21a)](this),this[_0x46a70e(0x12f)]();},'process':function(_0x1e8cef){var _0x4e9354=_0x571f70;return this[_0x4e9354(0x27a)](_0x1e8cef),this[_0x4e9354(0x133)]();},'finalize':function(_0x4332c8){var _0x18307a=_0x571f70;_0x4332c8&&this[_0x18307a(0x27a)](_0x4332c8);var _0x3c71e0=this['_doFinalize']();return _0x3c71e0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1046b2(_0x5441fe){var _0x5d98e6=_0x2315;return typeof _0x5441fe==_0x5d98e6(0x478)?_0x133e9c:_0x2e03e2;}return function(_0x5e9bf5){return{'encrypt':function(_0x32bd33,_0x3b774e,_0xa8b58c){return _0x1046b2(_0x3b774e)['encrypt'](_0x5e9bf5,_0x32bd33,_0x3b774e,_0xa8b58c);},'decrypt':function(_0x16a796,_0x30926a,_0x41bb55){var _0x56d0db=_0x2315;return _0x1046b2(_0x30926a)[_0x56d0db(0x24d)](_0x5e9bf5,_0x16a796,_0x30926a,_0x41bb55);}};};}())});_0xff69b2['StreamCipher']=_0x3dbb4e['extend']({'_doFinalize':function(){var _0x55c11e=this['_process'](!0x0);return _0x55c11e;},'blockSize':0x1});var _0x58c3c1=_0x5d92e7[_0x571f70(0x2d6)]={},_0x5bcfb7=_0xff69b2[_0x571f70(0x360)]=_0x51c9a7[_0x571f70(0x143)]({'createEncryptor':function(_0x1f1bd7,_0x238581){var _0x543517=_0x571f70;return this[_0x543517(0x16d)]['create'](_0x1f1bd7,_0x238581);},'createDecryptor':function(_0x262a07,_0x5c3f10){var _0x30f9c5=_0x571f70;return this['Decryptor'][_0x30f9c5(0x307)](_0x262a07,_0x5c3f10);},'init':function(_0x25e67f,_0x56d31f){var _0x737b86=_0x571f70;this['_cipher']=_0x25e67f,this[_0x737b86(0x2ca)]=_0x56d31f;}}),_0x28ac9b=_0x58c3c1[_0x571f70(0x2a9)]=(function(){var _0x550743=_0x571f70,_0xc73f4f=_0x5bcfb7[_0x550743(0x143)]();_0xc73f4f['Encryptor']=_0xc73f4f[_0x550743(0x143)]({'processBlock':function(_0x27c8e0,_0x47050b){var _0x2af3f4=_0x550743,_0x456746=this[_0x2af3f4(0x279)],_0x4cfe96=_0x456746[_0x2af3f4(0x264)];_0xb27a47[_0x2af3f4(0x21a)](this,_0x27c8e0,_0x47050b,_0x4cfe96),_0x456746[_0x2af3f4(0x1d1)](_0x27c8e0,_0x47050b),this[_0x2af3f4(0x23c)]=_0x27c8e0['slice'](_0x47050b,_0x47050b+_0x4cfe96);}}),_0xc73f4f[_0x550743(0x26a)]=_0xc73f4f[_0x550743(0x143)]({'processBlock':function(_0x84c184,_0x1d47c1){var _0x39a319=_0x550743,_0x1c993d=this[_0x39a319(0x279)],_0x109efc=_0x1c993d[_0x39a319(0x264)],_0x46ec56=_0x84c184[_0x39a319(0x489)](_0x1d47c1,_0x1d47c1+_0x109efc);_0x1c993d['decryptBlock'](_0x84c184,_0x1d47c1),_0xb27a47[_0x39a319(0x21a)](this,_0x84c184,_0x1d47c1,_0x109efc),this[_0x39a319(0x23c)]=_0x46ec56;}});function _0xb27a47(_0x2a6194,_0x111118,_0x2b9cb4){var _0x43557e=_0x550743,_0x1482ed,_0x521ea1=this[_0x43557e(0x2ca)];_0x521ea1?(_0x1482ed=_0x521ea1,this[_0x43557e(0x2ca)]=_0x44ebc2):_0x1482ed=this[_0x43557e(0x23c)];for(var _0x46041e=0x0;_0x46041e<_0x2b9cb4;_0x46041e++)_0x2a6194[_0x111118+_0x46041e]^=_0x1482ed[_0x46041e];}return _0xc73f4f;}()),_0x2a8e62=_0x5d92e7[_0x571f70(0x330)]={},_0x3822be=_0x2a8e62[_0x571f70(0x1d5)]={'pad':function(_0x18c211,_0x45943c){var _0xcf15ad=_0x571f70;for(var _0x5524a7=_0x45943c*0x4,_0x42c11a=_0x5524a7-_0x18c211[_0xcf15ad(0x1c7)]%_0x5524a7,_0xb91deb=_0x42c11a<<0x18|_0x42c11a<<0x10|_0x42c11a<<0x8|_0x42c11a,_0x4fee32=[],_0xe7939=0x0;_0xe7939<_0x42c11a;_0xe7939+=0x4)_0x4fee32[_0xcf15ad(0x3c3)](_0xb91deb);var _0x1af6b2=_0x572c97['create'](_0x4fee32,_0x42c11a);_0x18c211[_0xcf15ad(0x199)](_0x1af6b2);},'unpad':function(_0x46884b){var _0x174ea3=_0x571f70,_0x39c9f4=_0x46884b[_0x174ea3(0x381)][_0x46884b[_0x174ea3(0x1c7)]-0x1>>>0x2]&0xff;_0x46884b[_0x174ea3(0x1c7)]-=_0x39c9f4;}};_0xff69b2[_0x571f70(0x21f)]=_0x3dbb4e['extend']({'cfg':_0x3dbb4e[_0x571f70(0x280)]['extend']({'mode':_0x28ac9b,'padding':_0x3822be}),'reset':function(){var _0x130376=_0x571f70,_0x1ef3c2;_0x3dbb4e[_0x130376(0x27b)][_0x130376(0x21a)](this);var _0xc80ba7=this[_0x130376(0x280)],_0x596fb8=_0xc80ba7['iv'],_0x556ff6=_0xc80ba7[_0x130376(0x2d6)];this[_0x130376(0x20b)]==this[_0x130376(0x1ef)]?_0x1ef3c2=_0x556ff6[_0x130376(0x26d)]:(_0x1ef3c2=_0x556ff6[_0x130376(0x299)],this['_minBufferSize']=0x1),this[_0x130376(0x1d4)]&&this[_0x130376(0x1d4)][_0x130376(0x24e)]==_0x1ef3c2?this[_0x130376(0x1d4)][_0x130376(0x124)](this,_0x596fb8&&_0x596fb8[_0x130376(0x381)]):(this[_0x130376(0x1d4)]=_0x1ef3c2[_0x130376(0x21a)](_0x556ff6,this,_0x596fb8&&_0x596fb8['words']),this[_0x130376(0x1d4)]['__creator']=_0x1ef3c2);},'_doProcessBlock':function(_0xa38551,_0x5a3b41){var _0x468926=_0x571f70;this['_mode'][_0x468926(0x165)](_0xa38551,_0x5a3b41);},'_doFinalize':function(){var _0xda4787=_0x571f70,_0x35d454,_0x5d1157=this[_0xda4787(0x280)]['padding'];return this[_0xda4787(0x20b)]==this['_ENC_XFORM_MODE']?(_0x5d1157[_0xda4787(0x330)](this[_0xda4787(0x439)],this['blockSize']),_0x35d454=this[_0xda4787(0x133)](!0x0)):(_0x35d454=this[_0xda4787(0x133)](!0x0),_0x5d1157[_0xda4787(0x463)](_0x35d454)),_0x35d454;},'blockSize':0x80/0x20});var _0x3cf752=_0xff69b2[_0x571f70(0x445)]=_0x51c9a7[_0x571f70(0x143)]({'init':function(_0x1c55fb){var _0x30372a=_0x571f70;this[_0x30372a(0x39d)](_0x1c55fb);},'toString':function(_0x1c75da){var _0x2d627f=_0x571f70;return(_0x1c75da||this[_0x2d627f(0x42f)])[_0x2d627f(0x2bd)](this);}}),_0x3cb777=_0x5d92e7[_0x571f70(0x1f1)]={},_0xcb5a31=_0x3cb777[_0x571f70(0x223)]={'stringify':function(_0x55fe25){var _0x2a74da=_0x571f70,_0x755c12,_0x2addf6=_0x55fe25[_0x2a74da(0x3ba)],_0x59e79d=_0x55fe25[_0x2a74da(0x47d)];return _0x59e79d?_0x755c12=_0x572c97[_0x2a74da(0x307)]([0x53616c74,0x65645f5f])[_0x2a74da(0x199)](_0x59e79d)[_0x2a74da(0x199)](_0x2addf6):_0x755c12=_0x2addf6,_0x755c12[_0x2a74da(0x295)](_0x22f392);},'parse':function(_0x1b3796){var _0x4aec93=_0x571f70,_0x289d01,_0x7943f6=_0x22f392[_0x4aec93(0x3b5)](_0x1b3796),_0x5a494d=_0x7943f6['words'];return _0x5a494d[0x0]==0x53616c74&&_0x5a494d[0x1]==0x65645f5f&&(_0x289d01=_0x572c97[_0x4aec93(0x307)](_0x5a494d[_0x4aec93(0x489)](0x2,0x4)),_0x5a494d[_0x4aec93(0x422)](0x0,0x4),_0x7943f6[_0x4aec93(0x1c7)]-=0x10),_0x3cf752[_0x4aec93(0x307)]({'ciphertext':_0x7943f6,'salt':_0x289d01});}},_0x2e03e2=_0xff69b2[_0x571f70(0x334)]=_0x51c9a7[_0x571f70(0x143)]({'cfg':_0x51c9a7[_0x571f70(0x143)]({'format':_0xcb5a31}),'encrypt':function(_0x828cbe,_0xa4fc0d,_0x149b01,_0x13515e){var _0x144d44=_0x571f70;_0x13515e=this['cfg'][_0x144d44(0x143)](_0x13515e);var _0x3ff00e=_0x828cbe[_0x144d44(0x26d)](_0x149b01,_0x13515e),_0x33d295=_0x3ff00e[_0x144d44(0x34d)](_0xa4fc0d),_0x90f12=_0x3ff00e[_0x144d44(0x280)];return _0x3cf752[_0x144d44(0x307)]({'ciphertext':_0x33d295,'key':_0x149b01,'iv':_0x90f12['iv'],'algorithm':_0x828cbe,'mode':_0x90f12[_0x144d44(0x2d6)],'padding':_0x90f12[_0x144d44(0x300)],'blockSize':_0x828cbe[_0x144d44(0x264)],'formatter':_0x13515e[_0x144d44(0x1f1)]});},'decrypt':function(_0x3210bd,_0xee2ec2,_0x10c728,_0x1b1204){var _0x4b7faa=_0x571f70;_0x1b1204=this[_0x4b7faa(0x280)][_0x4b7faa(0x143)](_0x1b1204),_0xee2ec2=this[_0x4b7faa(0x1cd)](_0xee2ec2,_0x1b1204[_0x4b7faa(0x1f1)]);var _0x110886=_0x3210bd[_0x4b7faa(0x299)](_0x10c728,_0x1b1204)[_0x4b7faa(0x34d)](_0xee2ec2[_0x4b7faa(0x3ba)]);return _0x110886;},'_parse':function(_0x154903,_0x5e8739){var _0x86993c=_0x571f70;return typeof _0x154903==_0x86993c(0x478)?_0x5e8739[_0x86993c(0x3b5)](_0x154903,this):_0x154903;}}),_0xa4395=_0x5d92e7[_0x571f70(0x179)]={},_0x45caa2=_0xa4395[_0x571f70(0x223)]={'execute':function(_0x3b64b7,_0x3ac4bf,_0x1970cc,_0x3ed849,_0x313fa1){var _0x358bd1=_0x571f70;if(_0x3ed849||(_0x3ed849=_0x572c97['random'](0x40/0x8)),_0x313fa1)var _0x5041bd=_0x133f0a[_0x358bd1(0x307)]({'keySize':_0x3ac4bf+_0x1970cc,'hasher':_0x313fa1})['compute'](_0x3b64b7,_0x3ed849);else var _0x5041bd=_0x133f0a['create']({'keySize':_0x3ac4bf+_0x1970cc})[_0x358bd1(0x2da)](_0x3b64b7,_0x3ed849);var _0x22feab=_0x572c97[_0x358bd1(0x307)](_0x5041bd['words'][_0x358bd1(0x489)](_0x3ac4bf),_0x1970cc*0x4);return _0x5041bd[_0x358bd1(0x1c7)]=_0x3ac4bf*0x4,_0x3cf752[_0x358bd1(0x307)]({'key':_0x5041bd,'iv':_0x22feab,'salt':_0x3ed849});}},_0x133e9c=_0xff69b2[_0x571f70(0x2fa)]=_0x2e03e2[_0x571f70(0x143)]({'cfg':_0x2e03e2[_0x571f70(0x280)]['extend']({'kdf':_0x45caa2}),'encrypt':function(_0x4535f7,_0x27d99b,_0x450b10,_0x4a3f9a){var _0x1343fd=_0x571f70;_0x4a3f9a=this[_0x1343fd(0x280)][_0x1343fd(0x143)](_0x4a3f9a);var _0x3eaabf=_0x4a3f9a[_0x1343fd(0x179)][_0x1343fd(0x2cd)](_0x450b10,_0x4535f7[_0x1343fd(0x3b4)],_0x4535f7[_0x1343fd(0x393)],_0x4a3f9a[_0x1343fd(0x47d)],_0x4a3f9a[_0x1343fd(0x33e)]);_0x4a3f9a['iv']=_0x3eaabf['iv'];var _0x547d1e=_0x2e03e2[_0x1343fd(0x278)][_0x1343fd(0x21a)](this,_0x4535f7,_0x27d99b,_0x3eaabf['key'],_0x4a3f9a);return _0x547d1e[_0x1343fd(0x39d)](_0x3eaabf),_0x547d1e;},'decrypt':function(_0x526824,_0x128667,_0x1bd524,_0x2e4127){var _0x46d95f=_0x571f70;_0x2e4127=this[_0x46d95f(0x280)][_0x46d95f(0x143)](_0x2e4127),_0x128667=this[_0x46d95f(0x1cd)](_0x128667,_0x2e4127['format']);var _0x5afdd8=_0x2e4127['kdf'][_0x46d95f(0x2cd)](_0x1bd524,_0x526824['keySize'],_0x526824[_0x46d95f(0x393)],_0x128667[_0x46d95f(0x47d)],_0x2e4127[_0x46d95f(0x33e)]);_0x2e4127['iv']=_0x5afdd8['iv'];var _0x404f43=_0x2e03e2[_0x46d95f(0x24d)][_0x46d95f(0x21a)](this,_0x526824,_0x128667,_0x5afdd8[_0x46d95f(0x286)],_0x2e4127);return _0x404f43;}});}();}));}(Te)),Te[_0x4a329e(0x3cd)];}var Vi=fe[_0x491a6f(0x3cd)],st;function Ki(){return st||(st=0x1,function(_0x378e1a,_0x746399){(function(_0x3fd0c,_0x39fa3d,_0x59c972){_0x378e1a['exports']=_0x39fa3d(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0xcf2d18){var _0x336c5d=_0x2315;return(function(){var _0x1b50dc=_0x2315,_0xfce76d=_0xcf2d18,_0x36f198=_0xfce76d[_0x1b50dc(0x40e)],_0x4efee2=_0x36f198[_0x1b50dc(0x21f)],_0x41d2f3=_0xfce76d['algo'],_0x57df9f=[],_0x29f00b=[],_0x35c314=[],_0x4c8e76=[],_0x503489=[],_0x2a38a7=[],_0x2b2d97=[],_0x11fed9=[],_0x28d050=[],_0x51b4ff=[];(function(){for(var _0x115d64=[],_0x221f8a=0x0;_0x221f8a<0x100;_0x221f8a++)_0x221f8a<0x80?_0x115d64[_0x221f8a]=_0x221f8a<<0x1:_0x115d64[_0x221f8a]=_0x221f8a<<0x1^0x11b;for(var _0x3b1eb3=0x0,_0x409ecc=0x0,_0x221f8a=0x0;_0x221f8a<0x100;_0x221f8a++){var _0x2191dc=_0x409ecc^_0x409ecc<<0x1^_0x409ecc<<0x2^_0x409ecc<<0x3^_0x409ecc<<0x4;_0x2191dc=_0x2191dc>>>0x8^_0x2191dc&0xff^0x63,_0x57df9f[_0x3b1eb3]=_0x2191dc,_0x29f00b[_0x2191dc]=_0x3b1eb3;var _0x4c6033=_0x115d64[_0x3b1eb3],_0x456a76=_0x115d64[_0x4c6033],_0x3bc696=_0x115d64[_0x456a76],_0x3632db=_0x115d64[_0x2191dc]*0x101^_0x2191dc*0x1010100;_0x35c314[_0x3b1eb3]=_0x3632db<<0x18|_0x3632db>>>0x8,_0x4c8e76[_0x3b1eb3]=_0x3632db<<0x10|_0x3632db>>>0x10,_0x503489[_0x3b1eb3]=_0x3632db<<0x8|_0x3632db>>>0x18,_0x2a38a7[_0x3b1eb3]=_0x3632db;var _0x3632db=_0x3bc696*0x1010101^_0x456a76*0x10001^_0x4c6033*0x101^_0x3b1eb3*0x1010100;_0x2b2d97[_0x2191dc]=_0x3632db<<0x18|_0x3632db>>>0x8,_0x11fed9[_0x2191dc]=_0x3632db<<0x10|_0x3632db>>>0x10,_0x28d050[_0x2191dc]=_0x3632db<<0x8|_0x3632db>>>0x18,_0x51b4ff[_0x2191dc]=_0x3632db,_0x3b1eb3?(_0x3b1eb3=_0x4c6033^_0x115d64[_0x115d64[_0x115d64[_0x3bc696^_0x4c6033]]],_0x409ecc^=_0x115d64[_0x115d64[_0x409ecc]]):_0x3b1eb3=_0x409ecc=0x1;}}());var _0x1f2a0d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x566130=_0x41d2f3[_0x1b50dc(0x1e6)]=_0x4efee2[_0x1b50dc(0x143)]({'_doReset':function(){var _0x11ef14=_0x1b50dc,_0x4a3c76;if(!(this['_nRounds']&&this[_0x11ef14(0x438)]===this[_0x11ef14(0x304)])){for(var _0xb1189c=this[_0x11ef14(0x438)]=this['_key'],_0x51d77d=_0xb1189c[_0x11ef14(0x381)],_0x75dde3=_0xb1189c['sigBytes']/0x4,_0x4bfebc=this[_0x11ef14(0x1c1)]=_0x75dde3+0x6,_0x13d3c8=(_0x4bfebc+0x1)*0x4,_0x5c66c8=this[_0x11ef14(0x39c)]=[],_0x2c8028=0x0;_0x2c8028<_0x13d3c8;_0x2c8028++)_0x2c8028<_0x75dde3?_0x5c66c8[_0x2c8028]=_0x51d77d[_0x2c8028]:(_0x4a3c76=_0x5c66c8[_0x2c8028-0x1],_0x2c8028%_0x75dde3?_0x75dde3>0x6&&_0x2c8028%_0x75dde3==0x4&&(_0x4a3c76=_0x57df9f[_0x4a3c76>>>0x18]<<0x18|_0x57df9f[_0x4a3c76>>>0x10&0xff]<<0x10|_0x57df9f[_0x4a3c76>>>0x8&0xff]<<0x8|_0x57df9f[_0x4a3c76&0xff]):(_0x4a3c76=_0x4a3c76<<0x8|_0x4a3c76>>>0x18,_0x4a3c76=_0x57df9f[_0x4a3c76>>>0x18]<<0x18|_0x57df9f[_0x4a3c76>>>0x10&0xff]<<0x10|_0x57df9f[_0x4a3c76>>>0x8&0xff]<<0x8|_0x57df9f[_0x4a3c76&0xff],_0x4a3c76^=_0x1f2a0d[_0x2c8028/_0x75dde3|0x0]<<0x18),_0x5c66c8[_0x2c8028]=_0x5c66c8[_0x2c8028-_0x75dde3]^_0x4a3c76);for(var _0x27b6d7=this[_0x11ef14(0x234)]=[],_0x1cccc1=0x0;_0x1cccc1<_0x13d3c8;_0x1cccc1++){var _0x2c8028=_0x13d3c8-_0x1cccc1;if(_0x1cccc1%0x4)var _0x4a3c76=_0x5c66c8[_0x2c8028];else var _0x4a3c76=_0x5c66c8[_0x2c8028-0x4];_0x1cccc1<0x4||_0x2c8028<=0x4?_0x27b6d7[_0x1cccc1]=_0x4a3c76:_0x27b6d7[_0x1cccc1]=_0x2b2d97[_0x57df9f[_0x4a3c76>>>0x18]]^_0x11fed9[_0x57df9f[_0x4a3c76>>>0x10&0xff]]^_0x28d050[_0x57df9f[_0x4a3c76>>>0x8&0xff]]^_0x51b4ff[_0x57df9f[_0x4a3c76&0xff]];}}},'encryptBlock':function(_0x169459,_0x1ec756){var _0x2fc2c8=_0x1b50dc;this[_0x2fc2c8(0x32e)](_0x169459,_0x1ec756,this[_0x2fc2c8(0x39c)],_0x35c314,_0x4c8e76,_0x503489,_0x2a38a7,_0x57df9f);},'decryptBlock':function(_0x1853b0,_0x2b4ac8){var _0x276942=_0x1b50dc,_0x422c91=_0x1853b0[_0x2b4ac8+0x1];_0x1853b0[_0x2b4ac8+0x1]=_0x1853b0[_0x2b4ac8+0x3],_0x1853b0[_0x2b4ac8+0x3]=_0x422c91,this[_0x276942(0x32e)](_0x1853b0,_0x2b4ac8,this['_invKeySchedule'],_0x2b2d97,_0x11fed9,_0x28d050,_0x51b4ff,_0x29f00b);var _0x422c91=_0x1853b0[_0x2b4ac8+0x1];_0x1853b0[_0x2b4ac8+0x1]=_0x1853b0[_0x2b4ac8+0x3],_0x1853b0[_0x2b4ac8+0x3]=_0x422c91;},'_doCryptBlock':function(_0x41e273,_0x151f45,_0x3c207a,_0x208561,_0x5a8ef1,_0x35beec,_0x446f9c,_0x1107d6){for(var _0x6fa0a3=this['_nRounds'],_0x144715=_0x41e273[_0x151f45]^_0x3c207a[0x0],_0x4e29de=_0x41e273[_0x151f45+0x1]^_0x3c207a[0x1],_0x5d7b75=_0x41e273[_0x151f45+0x2]^_0x3c207a[0x2],_0x133bd3=_0x41e273[_0x151f45+0x3]^_0x3c207a[0x3],_0xe3fee8=0x4,_0x5de38e=0x1;_0x5de38e<_0x6fa0a3;_0x5de38e++){var _0x2099ab=_0x208561[_0x144715>>>0x18]^_0x5a8ef1[_0x4e29de>>>0x10&0xff]^_0x35beec[_0x5d7b75>>>0x8&0xff]^_0x446f9c[_0x133bd3&0xff]^_0x3c207a[_0xe3fee8++],_0x3a1a12=_0x208561[_0x4e29de>>>0x18]^_0x5a8ef1[_0x5d7b75>>>0x10&0xff]^_0x35beec[_0x133bd3>>>0x8&0xff]^_0x446f9c[_0x144715&0xff]^_0x3c207a[_0xe3fee8++],_0x901084=_0x208561[_0x5d7b75>>>0x18]^_0x5a8ef1[_0x133bd3>>>0x10&0xff]^_0x35beec[_0x144715>>>0x8&0xff]^_0x446f9c[_0x4e29de&0xff]^_0x3c207a[_0xe3fee8++],_0x6d8f9c=_0x208561[_0x133bd3>>>0x18]^_0x5a8ef1[_0x144715>>>0x10&0xff]^_0x35beec[_0x4e29de>>>0x8&0xff]^_0x446f9c[_0x5d7b75&0xff]^_0x3c207a[_0xe3fee8++];_0x144715=_0x2099ab,_0x4e29de=_0x3a1a12,_0x5d7b75=_0x901084,_0x133bd3=_0x6d8f9c;}var _0x2099ab=(_0x1107d6[_0x144715>>>0x18]<<0x18|_0x1107d6[_0x4e29de>>>0x10&0xff]<<0x10|_0x1107d6[_0x5d7b75>>>0x8&0xff]<<0x8|_0x1107d6[_0x133bd3&0xff])^_0x3c207a[_0xe3fee8++],_0x3a1a12=(_0x1107d6[_0x4e29de>>>0x18]<<0x18|_0x1107d6[_0x5d7b75>>>0x10&0xff]<<0x10|_0x1107d6[_0x133bd3>>>0x8&0xff]<<0x8|_0x1107d6[_0x144715&0xff])^_0x3c207a[_0xe3fee8++],_0x901084=(_0x1107d6[_0x5d7b75>>>0x18]<<0x18|_0x1107d6[_0x133bd3>>>0x10&0xff]<<0x10|_0x1107d6[_0x144715>>>0x8&0xff]<<0x8|_0x1107d6[_0x4e29de&0xff])^_0x3c207a[_0xe3fee8++],_0x6d8f9c=(_0x1107d6[_0x133bd3>>>0x18]<<0x18|_0x1107d6[_0x144715>>>0x10&0xff]<<0x10|_0x1107d6[_0x4e29de>>>0x8&0xff]<<0x8|_0x1107d6[_0x5d7b75&0xff])^_0x3c207a[_0xe3fee8++];_0x41e273[_0x151f45]=_0x2099ab,_0x41e273[_0x151f45+0x1]=_0x3a1a12,_0x41e273[_0x151f45+0x2]=_0x901084,_0x41e273[_0x151f45+0x3]=_0x6d8f9c;},'keySize':0x100/0x20});_0xfce76d['AES']=_0x4efee2[_0x1b50dc(0x394)](_0x566130);}()),_0xcf2d18[_0x336c5d(0x1e6)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x206078=_0x491a6f;return at||(at=0x1,function(_0x2124dc,_0x5a7c72){(function(_0x430de7,_0x3edfe2){var _0x27499b=_0x2315;_0x2124dc[_0x27499b(0x3cd)]=_0x3edfe2(ee());}(Ji,function(_0x36c898){var _0x56b375=_0x2315;return _0x36c898[_0x56b375(0x32c)][_0x56b375(0x2b2)];}));}(be)),be[_0x206078(0x3cd)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x491a6f(0x3cd)],ct;function tn(){return ct||(ct=0x1,function(_0x1c587f,_0x5fd900){(function(_0x17d578,_0x2ba640){var _0x17310d=_0x2315;_0x1c587f[_0x17310d(0x3cd)]=_0x2ba640(ee());}(en,function(_0xb76d3){var _0x1a5ef6=_0x2315;return(function(){var _0x4e2221=_0x2315;if(typeof ArrayBuffer==_0x4e2221(0x1e7)){var _0x448664=_0xb76d3,_0x427b69=_0x448664['lib'],_0x316e9e=_0x427b69[_0x4e2221(0x2ed)],_0x20e77d=_0x316e9e[_0x4e2221(0x124)],_0x36867d=_0x316e9e[_0x4e2221(0x124)]=function(_0x16de79){var _0x2b55b5=_0x4e2221;if(_0x16de79 instanceof ArrayBuffer&&(_0x16de79=new Uint8Array(_0x16de79)),(_0x16de79 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x16de79 instanceof Uint8ClampedArray||_0x16de79 instanceof Int16Array||_0x16de79 instanceof Uint16Array||_0x16de79 instanceof Int32Array||_0x16de79 instanceof Uint32Array||_0x16de79 instanceof Float32Array||_0x16de79 instanceof Float64Array)&&(_0x16de79=new Uint8Array(_0x16de79[_0x2b55b5(0x442)],_0x16de79[_0x2b55b5(0x2d7)],_0x16de79[_0x2b55b5(0x40f)])),_0x16de79 instanceof Uint8Array){for(var _0x1083c5=_0x16de79['byteLength'],_0x4be6a6=[],_0x17b562=0x0;_0x17b562<_0x1083c5;_0x17b562++)_0x4be6a6[_0x17b562>>>0x2]|=_0x16de79[_0x17b562]<<0x18-_0x17b562%0x4*0x8;_0x20e77d['call'](this,_0x4be6a6,_0x1083c5);}else _0x20e77d['apply'](this,arguments);};_0x36867d[_0x4e2221(0x135)]=_0x316e9e;}}()),_0xb76d3[_0x1a5ef6(0x40e)][_0x1a5ef6(0x2ed)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye['exports'],ht;function on(){var _0x6e2555=_0x491a6f;return ht||(ht=0x1,function(_0x26a416,_0x19c5d7){(function(_0x47ba78,_0x58f1c7,_0x5594f2){_0x26a416['exports']=_0x58f1c7(ee(),At());}(sn,function(_0x431613){var _0x45de2d=_0x2315;return _0x431613['pad'][_0x45de2d(0x237)]={'pad':function(){},'unpad':function(){}},_0x431613[_0x45de2d(0x330)][_0x45de2d(0x237)];}));}(ye)),ye[_0x6e2555(0x3cd)];}var an=on();const cn=Se(an);function hn(_0x481f65,_0x4cc70e){var _0x5035ab=_0x491a6f;const _0x312501=_0x4cc70e-_0x481f65[_0x5035ab(0x182)]%_0x4cc70e,_0x762e58=String[_0x5035ab(0x1d0)](_0x312501)[_0x5035ab(0x2a5)](_0x312501);return _0x481f65+_0x762e58;}function ln(_0x259a3c,_0x5ee4ef){var _0x598433=_0x491a6f;const _0x31941b=rn[_0x598433(0x30d)](0x10),_0x191755=hn(_0x259a3c,0x10),_0x582bd0=qi[_0x598433(0x278)](Qi['parse'](_0x191755),ot[_0x598433(0x3b5)](_0x5ee4ef),{'iv':_0x31941b,'padding':cn});return _0x31941b['concat'](_0x582bd0[_0x598433(0x3ba)])[_0x598433(0x295)](ot);}function _n(){var _0x4a1ab9=_0x491a6f;const _0x3660ca=xt[_0x4a1ab9(0x14d)]()[_0x4a1ab9(0x3fe)];if(_0x3660ca){const _0x37c52d={'time':Math[_0x4a1ab9(0x34a)](Date[_0x4a1ab9(0x443)]()/0x3e8),'domain':location['hostname']};return ln(JSON[_0x4a1ab9(0x2bd)](_0x37c52d),_0x3660ca);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x24be60,_0x13a66a,_0x46f58d,_0x2db1dd)=>{for(var _0x3ad41b=_0x2db1dd>0x1?void 0x0:_0x2db1dd?un(_0x13a66a,_0x46f58d):_0x13a66a,_0x2424bf=_0x24be60['length']-0x1,_0xeb7213;_0x2424bf>=0x0;_0x2424bf--)(_0xeb7213=_0x24be60[_0x2424bf])&&(_0x3ad41b=_0xeb7213(_0x3ad41b)||_0x3ad41b);return _0x3ad41b;},vn=(_0x28765d,_0x281106)=>(_0x42d6d0,_0x47f577)=>_0x281106(_0x42d6d0,_0x47f577,_0x28765d);let Ne=class{constructor(_0x207414){var _0x5d3fef=_0x491a6f;this['_httpService']=_0x207414,this[_0x5d3fef(0x42b)]();}[_0x491a6f(0x42b)](){var _0x51ac56=_0x491a6f;this['_httpService'][_0x51ac56(0x3bd)]({'interceptor':(_0x58c439,_0x2312ab)=>{var _0x17a291=_0x51ac56;const _0x1985eb=_0x58c439['headers'],_0x153e40=_n();return _0x153e40&&_0x1985eb[_0x17a291(0x318)](_0x17a291(0x20f),_0x153e40),_0x2312ab(_0x58c439);}});}};Ne=dn([vn(0x0,a[_0x491a6f(0x1a1)](q['HTTPService']))],Ne);var Sn=Object[_0x491a6f(0x316)],fn=(_0x3ad464,_0x31f998,_0xe836ad,_0x382a15)=>{var _0x1e0ac1=_0x491a6f;for(var _0x45fd81=_0x382a15>0x1?void 0x0:_0x382a15?Sn(_0x31f998,_0xe836ad):_0x31f998,_0x2f76b7=_0x3ad464[_0x1e0ac1(0x182)]-0x1,_0x3efbd7;_0x2f76b7>=0x0;_0x2f76b7--)(_0x3efbd7=_0x3ad464[_0x2f76b7])&&(_0x45fd81=_0x3efbd7(_0x45fd81)||_0x45fd81);return _0x45fd81;},Me=(_0x1be6ce,_0x47658e)=>(_0x53ca6c,_0x376339)=>_0x47658e(_0x53ca6c,_0x376339,_0x1be6ce);exports[_0x491a6f(0x184)]=class extends a[_0x491a6f(0x245)]{constructor(_0x33bb5a,_0x22a314,_0x530ecc){var _0x2c0c6d=_0x491a6f;super(),P(this,'_unitInfo$',new j['BehaviorSubject'](null)),P(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x2c0c6d(0x403)]=_0x33bb5a,this[_0x2c0c6d(0x3eb)]=_0x22a314,this[_0x2c0c6d(0x345)]=_0x530ecc);}async[_0x491a6f(0x2b3)](_0x5ee91f,_0x381ecd,_0x159e44){var _0x3953a2=_0x491a6f;this['_unitInfo$'][_0x3953a2(0x480)]({'unitId':_0x5ee91f,'type':_0x381ecd,'subUnitId':_0x159e44});let _0x45189f=null;switch(_0x381ecd){case X[_0x3953a2(0x2fc)]:{_0x45189f=await this['_loadSheet'](_0x5ee91f);break;}case X[_0x3953a2(0x341)]:{_0x45189f=await this[_0x3953a2(0x3f6)](_0x5ee91f);break;}default:{this[_0x3953a2(0x403)]['error'](_0x3953a2(0x1b9),_0x3953a2(0x48c));break;}}return _0x45189f;}async[_0x491a6f(0x391)](_0x19b7d9){var _0x10626f=_0x491a6f,_0x18c2a2;let _0x1500d1=0x0;const _0x34e12a=await((_0x18c2a2=this[_0x10626f(0x345)])==null?void 0x0:_0x18c2a2[_0x10626f(0x228)](_0x19b7d9));return _0x34e12a&&(_0x34e12a[_0x10626f(0x16f)]||_0x34e12a[_0x10626f(0x35a)][_0x10626f(0x182)]!==0x0)&&(_0x1500d1=_0x34e12a['rev']),_0x1500d1===0x0&&this['_logService'][_0x10626f(0x11d)](_0x10626f(0x1b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x10626f(0x3eb)][_0x10626f(0x375)](_0x19b7d9,_0x1500d1);}async[_0x491a6f(0x3f6)](_0x4c02cf){var _0x4558a2=_0x491a6f,_0x572c95;let _0x29b4e0=0x0;const _0x523740=await((_0x572c95=this[_0x4558a2(0x345)])==null?void 0x0:_0x572c95[_0x4558a2(0x228)](_0x4c02cf));return _0x523740&&(_0x523740['awaitingChangeset']||_0x523740[_0x4558a2(0x35a)]['length']!==0x0)&&(_0x29b4e0=_0x523740[_0x4558a2(0x1a2)]),_0x29b4e0===0x0&&this['_logService'][_0x4558a2(0x11d)](_0x4558a2(0x1b9),_0x4558a2(0x401)),this[_0x4558a2(0x3eb)][_0x4558a2(0x31b)](_0x4c02cf,_0x29b4e0);}},exports[_0x491a6f(0x184)]=fn([Me(0x0,a[_0x491a6f(0x3c8)]),Me(0x1,a['Inject'](g[_0x491a6f(0x3e9)])),Me(0x2,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x184)]);var pn=Object[_0x491a6f(0x316)],gn=(_0x319e3e,_0x3b02e5,_0x4ac2b6,_0x51fe3a)=>{var _0xd8e02a=_0x491a6f;for(var _0x3bb63c=_0x51fe3a>0x1?void 0x0:_0x51fe3a?pn(_0x3b02e5,_0x4ac2b6):_0x3b02e5,_0x39472e=_0x319e3e[_0xd8e02a(0x182)]-0x1,_0x31ed54;_0x39472e>=0x0;_0x39472e--)(_0x31ed54=_0x319e3e[_0x39472e])&&(_0x3bb63c=_0x31ed54(_0x3bb63c)||_0x3bb63c);return _0x3bb63c;},xe=(_0x68558a,_0x6900bb)=>(_0x99ae4b,_0x80383e)=>_0x6900bb(_0x99ae4b,_0x80383e,_0x68558a);const mn=['image/png',_0x491a6f(0x248),_0x491a6f(0x468),_0x491a6f(0x253),_0x491a6f(0x1c3)],In=0x5*0x400*0x400,En=_0x491a6f(0x26f),Cn='/universer-api/stream/file/upload',Tn=_0x491a6f(0x2c5),bn=_0x491a6f(0x3f7);exports[_0x491a6f(0x19d)]=class{constructor(_0x195873,_0x4f435c,_0x136105){var _0xfea9a8=_0x491a6f;P(this,_0xfea9a8(0x1e4),0x0),P(this,_0xfea9a8(0x430),new j[(_0xfea9a8(0x477))]()),P(this,_0xfea9a8(0x3d0),this[_0xfea9a8(0x430)]),P(this,'_imageSourceCache',new Map()),(this[_0xfea9a8(0x2b7)]=_0x195873,this[_0xfea9a8(0x13d)]=_0x4f435c,this[_0xfea9a8(0x192)]=_0x136105);}[_0x491a6f(0x297)](_0x2a1e85){var _0x895439=_0x491a6f;this[_0x895439(0x1e4)]=_0x2a1e85,this['_change$'][_0x895439(0x480)](_0x2a1e85);}[_0x491a6f(0x461)](_0x1ee3ea,_0x4b7bac){var _0x875cc2=_0x491a6f;if(_0x4b7bac===J[_0x875cc2(0x313)][_0x875cc2(0x39e)]){const _0x5c10c9=new Image();return _0x5c10c9[_0x875cc2(0x134)]=_0x1ee3ea,_0x5c10c9;}return this[_0x875cc2(0x3ab)][_0x875cc2(0x33b)](_0x1ee3ea);}[_0x491a6f(0x244)](_0x41f308,_0x54ab15,_0x165edb){var _0x1b6bb8=_0x491a6f;_0x54ab15===J['ImageSourceType'][_0x1b6bb8(0x39e)]||_0x165edb==null||this['_imageSourceCache']['set'](_0x41f308,_0x165edb);}async[_0x491a6f(0x311)](_0x528c05){var _0x2798dc=_0x491a6f;try{const _0x5ae395=this['_replaceFileID'](this[_0x2798dc(0x3ff)](),''+_0x528c05),_0x4e9238=(await this[_0x2798dc(0x2b7)][_0x2798dc(0x33b)](_0x5ae395))['body'];if(_0x4e9238[_0x2798dc(0x1a7)]&&_0x4e9238[_0x2798dc(0x1a7)]['code']===Ct['OK']){const _0x229c13=new URL(_0x4e9238[_0x2798dc(0x30b)],this[_0x2798dc(0x1bb)]())[_0x2798dc(0x295)]();return Promise[_0x2798dc(0x2f3)](_0x229c13);}return Promise[_0x2798dc(0x3a6)](_0x4e9238[_0x2798dc(0x1a7)]);}catch(_0x1a2385){return Promise['reject'](_0x1a2385);}}async[_0x491a6f(0x235)](_0x40f5ad){var _0x49ed56=_0x491a6f;let _0xb5fa8e='';if(!mn[_0x49ed56(0x18f)](_0x40f5ad[_0x49ed56(0x325)]))return this[_0x49ed56(0x3d9)](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x331)]));if(_0x40f5ad[_0x49ed56(0x2f5)]>In)return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x470)]));try{const _0xa68b37=new FormData();_0xa68b37[_0x49ed56(0x319)]('file',_0x40f5ad);const _0x452a74=this[_0x49ed56(0x192)]['getFocusedUnit'](),_0x24fe63=_0x452a74==null?void 0x0:_0x452a74[_0x49ed56(0x14f)]();if(!_0x24fe63)throw new Error(_0x49ed56(0x2a2));const _0x2ef8f0=this['_getUploadFileURL']()+_0x49ed56(0x30f)+_0x40f5ad['size']['toString']()+'&source='+Tt[_0x49ed56(0x1e2)]+_0x49ed56(0x1a8)+encodeURIComponent(_0x24fe63),_0x18bdb7=await(await fetch(_0x2ef8f0,{'method':_0x49ed56(0x3c1),'body':_0xa68b37}))[_0x49ed56(0x3e1)]();if(typeof _0x18bdb7[_0x49ed56(0x215)]!=_0x49ed56(0x478))return this['_decreaseWaiting'](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x2bc)]));_0xb5fa8e=_0x18bdb7[_0x49ed56(0x215)];}catch{return this['_decreaseWaiting'](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x2bc)]));}return new Promise((_0x555de2,_0x174359)=>{var _0x31faeb=_0x49ed56;const _0x4f30e0=new FileReader();_0x4f30e0['readAsDataURL'](_0x40f5ad),_0x4f30e0[_0x31faeb(0x2ba)]=_0x535712=>{var _0x1087e8=_0x31faeb,_0x1bcfea;const _0x186769=(_0x1bcfea=_0x535712[_0x1087e8(0x3d2)])==null?void 0x0:_0x1bcfea[_0x1087e8(0x24a)];if(_0x186769==null){this[_0x1087e8(0x3d9)](),_0x174359(new Error(J['ImageUploadStatusType'][_0x1087e8(0x2bc)]));return;}const _0x2a0eac=a['Tools'][_0x1087e8(0x2e8)](0x6);_0x555de2({'imageId':_0x2a0eac,'imageSourceType':J[_0x1087e8(0x313)][_0x1087e8(0x46a)],'source':_0xb5fa8e,'base64Cache':_0x186769,'status':J[_0x1087e8(0x332)]['SUCCUSS']}),this[_0x1087e8(0x3d9)]();};});}[_0x491a6f(0x48b)](){var _0x5f4d4f=_0x491a6f,_0x17d66b,_0x55a065;const _0x587c28=this[_0x5f4d4f(0x13d)][_0x5f4d4f(0x167)](En),_0x548444=this[_0x5f4d4f(0x13d)][_0x5f4d4f(0x167)](Y);return(_0x55a065=(_0x17d66b=_0x548444==null?void 0x0:_0x548444['uploadFileServerUrl'])!=null?_0x17d66b:_0x587c28)!=null?_0x55a065:Cn;}[_0x491a6f(0x3ff)](){var _0x36792f=_0x491a6f,_0x2cba62,_0x2529ec;const _0x3ccaf5=this[_0x36792f(0x13d)][_0x36792f(0x167)](Tn),_0x1ac18f=this[_0x36792f(0x13d)]['getConfig'](Y);return(_0x2529ec=(_0x2cba62=_0x1ac18f==null?void 0x0:_0x1ac18f[_0x36792f(0x194)])!=null?_0x2cba62:_0x3ccaf5)!=null?_0x2529ec:bn;}[_0x491a6f(0x1bb)](){var _0x714d19=_0x491a6f,_0x382ad6;const _0x361331=this[_0x714d19(0x13d)][_0x714d19(0x167)](Y);return(_0x382ad6=_0x361331==null?void 0x0:_0x361331['downloadEndpointUrl'])!=null?_0x382ad6:location[_0x714d19(0x437)];}['_replaceFileID'](_0x801cd6,_0x18fe37){var _0x21c63a=_0x491a6f;return _0x801cd6[_0x21c63a(0x354)](_0x21c63a(0x2d0),_0x18fe37);}[_0x491a6f(0x3d9)](){var _0x1be308=_0x491a6f;this[_0x1be308(0x1e4)]-=0x1,this[_0x1be308(0x430)]['next'](this['_waitCount']);}},exports[_0x491a6f(0x19d)]=gn([xe(0x0,a[_0x491a6f(0x1a1)](q['HTTPService'])),xe(0x1,a[_0x491a6f(0x3db)]),xe(0x2,a['Inject'](a[_0x491a6f(0x312)]))],exports[_0x491a6f(0x19d)]);var Rn=Object[_0x491a6f(0x316)],yn=(_0x38d84e,_0x1965ae,_0x3aff4a,_0x36286e)=>{var _0x40c9be=_0x491a6f;for(var _0x468ce6=_0x36286e>0x1?void 0x0:_0x36286e?Rn(_0x1965ae,_0x3aff4a):_0x1965ae,_0x3f7b9c=_0x38d84e[_0x40c9be(0x182)]-0x1,_0x6ff424;_0x3f7b9c>=0x0;_0x3f7b9c--)(_0x6ff424=_0x38d84e[_0x3f7b9c])&&(_0x468ce6=_0x6ff424(_0x468ce6)||_0x468ce6);return _0x468ce6;},lt=(_0x403b54,_0x13f964)=>(_0x57c1d5,_0x584bf5)=>_0x13f964(_0x57c1d5,_0x584bf5,_0x403b54);const On=_0x491a6f(0x17b);exports['MentionIoHttpService']=class{constructor(_0x27bb3a,_0x447dc0){var _0x1cb17a=_0x491a6f;this['_configService']=_0x27bb3a,this[_0x1cb17a(0x2d5)]=_0x447dc0;}[_0x491a6f(0x18a)](){var _0x1dbf75=_0x491a6f,_0x495735,_0x1703a6;const _0x149bf4=this[_0x1dbf75(0x13d)][_0x1dbf75(0x167)](Ve),_0x9eb2c5=this[_0x1dbf75(0x13d)][_0x1dbf75(0x167)](Y);return(_0x1703a6=(_0x495735=_0x9eb2c5==null?void 0x0:_0x9eb2c5[_0x1dbf75(0x1bc)])!=null?_0x495735:_0x149bf4)!=null?_0x1703a6:On;}async[_0x491a6f(0x1f5)](_0x4772dd){var _0x23b6ed=_0x491a6f;const _0x25ff42=this['_getAPIPrefixPath']()+_0x23b6ed(0x29f);return{'list':[{'title':_0x23b6ed(0x3cc),'mentions':(await this[_0x23b6ed(0x2d5)]['get'](_0x25ff42,{'params':{'objectID':_0x4772dd[_0x23b6ed(0x3f9)],'unitID':_0x4772dd['unitId']}}))[_0x23b6ed(0x320)][_0x23b6ed(0x188)][_0x23b6ed(0x48d)](_0x5790d0=>({'objectId':_0x5790d0['id'],'name':_0x5790d0['subject']['name'],'metadata':{'icon':_0x5790d0['subject']['avatar']},'label':_0x5790d0[_0x23b6ed(0x231)][_0x23b6ed(0x122)],'objectType':a['MentionType'][_0x23b6ed(0x322)]})),'metadata':{},'type':a[_0x23b6ed(0x387)]['PERSON']}]};}},exports[_0x491a6f(0x285)]=yn([lt(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x3db)])),lt(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)]))],exports[_0x491a6f(0x285)]);var Nn=Object[_0x491a6f(0x316)],Dn=(_0x31c1b4,_0x1f6f5a,_0x3c0545,_0x425199)=>{var _0x3aa713=_0x491a6f;for(var _0x56ba29=_0x425199>0x1?void 0x0:_0x425199?Nn(_0x1f6f5a,_0x3c0545):_0x1f6f5a,_0x21e5fc=_0x31c1b4[_0x3aa713(0x182)]-0x1,_0x82e799;_0x21e5fc>=0x0;_0x21e5fc--)(_0x82e799=_0x31c1b4[_0x21e5fc])&&(_0x56ba29=_0x82e799(_0x56ba29)||_0x56ba29);return _0x56ba29;},ue=(_0x3389eb,_0x51cde9)=>(_0x209350,_0x3f223f)=>_0x51cde9(_0x209350,_0x3f223f,_0x3389eb);let De=class extends a[_0x491a6f(0x245)]{constructor(_0x5f330e,_0xa80f42,_0x403276,_0x49a528,_0x486d3c){var _0x304e9e=_0x491a6f;super(),this[_0x304e9e(0x488)]=_0x5f330e,this[_0x304e9e(0x192)]=_0xa80f42,this[_0x304e9e(0x29a)]=_0x403276,this[_0x304e9e(0x396)]=_0x49a528,this[_0x304e9e(0x219)]=_0x486d3c,this[_0x304e9e(0x47a)](),this[_0x304e9e(0x251)]();}[_0x491a6f(0x251)](){var _0x593976=_0x491a6f;const _0x4c746b=async _0x5f39a8=>{var _0x22f85f=_0x2315;(await this[_0x22f85f(0x396)][_0x22f85f(0x23a)](_0x5f39a8))[_0x22f85f(0x1a0)][_0x22f85f(0x3c4)](W['filter'](_0x308f0e=>_0x308f0e[_0x22f85f(0x2e0)]===g['CollaborationEvent'][_0x22f85f(0x399)]),W['takeUntil'](this['dispose$']))[_0x22f85f(0x148)](_0x5d5c99=>{var _0x36d698=_0x22f85f;const _0x46a24c=_0x5d5c99,{reason:_0x24ab68}=_0x46a24c[_0x36d698(0x368)];this[_0x36d698(0x219)][_0x36d698(0x126)]({'id':Q[_0x36d698(0x384)],'data':_0x24ab68}),this[_0x36d698(0x29a)][_0x36d698(0x3a7)](new Z[(_0x36d698(0x156))](_0x5f39a8)['id'],!0x1),this[_0x36d698(0x396)][_0x36d698(0x1b4)](_0x5f39a8);});};j['merge'](this['_univerInstanceService'][_0x593976(0x33c)](a[_0x593976(0x397)]['UNIVER_SHEET']),this[_0x593976(0x192)]['getTypeOfUnitAdded$'](a[_0x593976(0x397)][_0x593976(0x341)]))[_0x593976(0x3c4)](W[_0x593976(0x48d)](_0x4a002c=>_0x4a002c['getUnitId']()),W[_0x593976(0x3af)](_0x2beee4=>!a[_0x593976(0x26e)](_0x2beee4)),W[_0x593976(0x374)](this[_0x593976(0x242)]))['subscribe'](_0x38e522=>{_0x4c746b(_0x38e522);});}['_initUnitPermissionChange'](){var _0x589a01=_0x491a6f;const _0x3fe6fc=async _0x215196=>{var _0x19d968=_0x2315;const _0x23790a=await this['_collaborationSessionService']['requireSession'](_0x215196),_0x22ad6c=this[_0x19d968(0x488)][_0x19d968(0x33b)](Z[_0x19d968(0x190)]);_0x23790a['event$'][_0x19d968(0x3c4)](W[_0x19d968(0x3af)](_0x56f664=>_0x56f664[_0x19d968(0x2e0)]===g[_0x19d968(0x361)][_0x19d968(0x315)]),W[_0x19d968(0x374)](this[_0x19d968(0x242)]))[_0x19d968(0x148)](_0x4473cb=>{var _0x5b34f5=_0x19d968;const _0x45d06b=_0x4473cb,{objectId:_0xbc3dae}=_0x45d06b[_0x5b34f5(0x368)];_0xbc3dae===_0x215196?_0x22ad6c[_0x5b34f5(0x32f)](_0x215196):_0x22ad6c[_0x5b34f5(0x3d5)](_0x215196,_0xbc3dae);});};j[_0x589a01(0x37a)](this[_0x589a01(0x192)][_0x589a01(0x33c)](a[_0x589a01(0x397)]['UNIVER_SHEET']))['pipe'](W[_0x589a01(0x48d)](_0x18ec51=>_0x18ec51[_0x589a01(0x14f)]()),W[_0x589a01(0x3af)](_0x1ada39=>!a[_0x589a01(0x26e)](_0x1ada39)),W[_0x589a01(0x374)](this[_0x589a01(0x242)]))[_0x589a01(0x148)](_0xa954c7=>{_0x3fe6fc(_0xa954c7);});}};De=Dn([ue(0x0,a[_0x491a6f(0x1a1)](a['Injector'])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x491a6f(0x1f4)]),ue(0x3,a[_0x491a6f(0x1a1)](exports[_0x491a6f(0x36f)])),ue(0x4,a[_0x491a6f(0x1a1)](te))],De);var Un=Object[_0x491a6f(0x316)],Pn=(_0x2d0e17,_0x5bf550,_0x29412d,_0x124327)=>{var _0x4b83dd=_0x491a6f;for(var _0x2c0035=_0x124327>0x1?void 0x0:_0x124327?Un(_0x5bf550,_0x29412d):_0x5bf550,_0x552bc7=_0x2d0e17[_0x4b83dd(0x182)]-0x1,_0x3214ee;_0x552bc7>=0x0;_0x552bc7--)(_0x3214ee=_0x2d0e17[_0x552bc7])&&(_0x2c0035=_0x3214ee(_0x2c0035)||_0x2c0035);return _0x2c0035;},_t=(_0x4d8fa4,_0x229c05)=>(_0x1074c2,_0x30593a)=>_0x229c05(_0x1074c2,_0x30593a,_0x4d8fa4);exports[_0x491a6f(0x482)]=class{constructor(_0x479252,_0x310649){var _0x581202=_0x491a6f;this[_0x581202(0x13d)]=_0x479252,this['_httpService']=_0x310649;}async[_0x491a6f(0x22d)](_0x5586c2,_0x29b9ba){var _0x2634aa=_0x491a6f,_0x581f2a;const {unitID:_0x4a8c5d,type:_0x97d6f9,revision:_0x2e3ed1=0x0}=_0x29b9ba,_0x19fb5b=this['getSnapshotAPIPath']()+'/'+_0x97d6f9+'/unit/'+_0x4a8c5d+_0x2634aa(0x2bf)+_0x2e3ed1,_0x4a7605=(await this['_httpService'][_0x2634aa(0x33b)](_0x19fb5b))[_0x2634aa(0x320)],_0x285013=(_0x581f2a=_0x4a7605[_0x2634aa(0x46d)])==null?void 0x0:_0x581f2a[_0x2634aa(0x157)];if(_0x285013){const _0x489602=_0x285013==null?void 0x0:_0x285013['originalMeta'],_0x337d42=g[_0x2634aa(0x147)][_0x2634aa(0x241)](g['b64DecodeUnicode'](_0x489602));_0x285013[_0x2634aa(0x123)]=_0x337d42,Object[_0x2634aa(0x34f)](_0x285013[_0x2634aa(0x1b3)])[_0x2634aa(0x18d)](([,_0x190263])=>{var _0x2cae53=_0x2634aa;const _0x5c787e=_0x190263['originalMeta'],_0x40a983=g[_0x2cae53(0x147)][_0x2cae53(0x241)](g[_0x2cae53(0x229)](_0x5c787e));_0x190263[_0x2cae53(0x123)]=_0x40a983;});}return _0x4a7605;}async[_0x491a6f(0x1ee)](_0x440de2,_0x225f97){var _0x79e343=_0x491a6f;const {unitID:_0x495248,type:_0x39ec5d,blockID:_0x5311e8}=_0x225f97,_0x278468=this[_0x79e343(0x3a1)]()+'/'+_0x39ec5d+'/unit/'+_0x495248+_0x79e343(0x366)+_0x5311e8;return(await this['_httpService']['get'](_0x278468))['body'];}async['getDeserializedSheetBlock'](_0x59127f,_0x7940bc){var _0x57cfb4=_0x491a6f;const {unitID:_0x300a24,type:_0x25d1f8,blockID:_0x187725}=_0x7940bc,_0x47dacb=this[_0x57cfb4(0x3a1)]()+'/block/'+_0x25d1f8+_0x57cfb4(0x271)+_0x300a24+_0x57cfb4(0x366)+_0x187725;return(await this[_0x57cfb4(0x2b7)][_0x57cfb4(0x33b)](_0x47dacb))['body'];}async[_0x491a6f(0x46b)](_0x5b5805,_0x1c71cf){var _0xd8e82=_0x491a6f;const {unitID:_0x294a8b,type:_0x23c42f,from:_0x7f8c6d,to:_0x5b0349}=_0x1c71cf,_0x508290=this[_0xd8e82(0x3a1)]()+'/'+_0x23c42f+_0xd8e82(0x271)+_0x294a8b+_0xd8e82(0x45d)+_0x7f8c6d+'&to='+_0x5b0349;return(await this[_0xd8e82(0x2b7)][_0xd8e82(0x33b)](_0x508290))[_0xd8e82(0x320)];}[_0x491a6f(0x11b)](){var _0x11097f=_0x491a6f,_0x888154;return(_0x888154=this['_configService'][_0x11097f(0x167)](vt))!=null?_0x888154:this[_0x11097f(0x3a1)]();}[_0x491a6f(0x3a1)](){var _0x52f2ce=_0x491a6f,_0x503ff7,_0x4f72b3;const _0x14a8f3=this['_configService'][_0x52f2ce(0x167)](dt),_0x170bb5=this[_0x52f2ce(0x13d)][_0x52f2ce(0x167)](Y);return(_0x4f72b3=(_0x503ff7=_0x170bb5==null?void 0x0:_0x170bb5[_0x52f2ce(0x2c1)])!=null?_0x503ff7:_0x14a8f3)!=null?_0x4f72b3:kt;}async[_0x491a6f(0x46c)](_0x141693,_0x31dc14){var _0x3c8049=_0x491a6f;const _0x34f7dd=_0x3c8049(0x15b)+_0x31dc14[_0x3c8049(0x325)]+_0x3c8049(0x271)+_0x31dc14[_0x3c8049(0x408)]+_0x3c8049(0x2b4);return(await this['_httpService'][_0x3c8049(0x33b)](_0x34f7dd,{'params':{'resourceId':JSON[_0x3c8049(0x2bd)](_0x31dc14[_0x3c8049(0x1f8)])}}))[_0x3c8049(0x320)];}[_0x491a6f(0x2e4)](){var _0x4ff01e=_0x491a6f;throw new Error(_0x4ff01e(0x38a));}[_0x491a6f(0x221)](){var _0x268ae7=_0x491a6f;throw new Error(_0x268ae7(0x38a));}[_0x491a6f(0x1d2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x491a6f(0x183)](){var _0x5318fb=_0x491a6f;throw new Error(_0x5318fb(0x38a));}[_0x491a6f(0x36d)](){var _0x370412=_0x491a6f;throw new Error(_0x370412(0x38a));}},exports[_0x491a6f(0x482)]=Pn([_t(0x0,a[_0x491a6f(0x3db)]),_t(0x1,a[_0x491a6f(0x1a1)](q['HTTPService']))],exports[_0x491a6f(0x482)]);function _0x352e(){var _0x15c6d6=['indexOf','allowed','_decreaseWaiting','TOO_MANY_REQUESTS','IConfigService','_initMergeInterceptor','then','DocCollaborationEntity','Workbook','objectType','json','getUnitType','CollaborationStatus','_clearRedo','_telemetryService','error$','_replayCachedMutations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SnapshotService','submit\x20changeset\x20error!','_snapshotService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','apply','_onRemoteACK','_socketMessageSubscription','ISocketService','location','getRandomValues','4122018yaNnsg','fetchMiss','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadDoc','/universer-api/file/{fileID}/sign-url','Disposable','unitId','_revisionService','_tryReconnect','editingUnit','_createHandler','__Key__','_getSignURL','Injector','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_scheduleCollaborationTimeoutTimer','_logService','_nDataBytes','incrementRevOfUnit','getAllMembers','subUnitId','unitID','_scheduleCompleteTimestamp','reconnect','parseChangesetToProtocol','GLOBAL_ROOMS_CNT_EXCEEDS','ALREADY_EXISTS','lib','byteLength','has','_onJoinRoomEvent','AUTHZ_URL_KEY','DisposableCollection','_iKey','socket$','HELLO','HMAC','_onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSession]','open$','charCodeAt','_awaitingChangeset','close','_onUserLeave','splice','onlyLocal','csAckEvent','Undefined','stopTime','_clearRetryConnectingTimer','clear','interceptor','ws://127.0.0.1:8000/universer-api/comb/connect','_initRequestHeader','CHANGESET_REVISION_CONFILICT','_singleActiveUnitService','_clearCollaborationTimeoutTimer','formatter','_change$','_commentUpdate$','unknown','sid','state','awaiting_with_pending','algo','origin','_keyPriorReset','_data','SUBMIT_CHANGESET','3093924oYMjOo','[CollaborationSessionService]','DEFAULT_WS_SESSION_TICKET_URL','put','join','LocaleService','_collabSessionService','buffer','now','_undoStacks','CipherParams','APPLY_REVISION_CONFILICT','Base','_shouldReportTelemetry','OPTIONAL','_handlerCallback','_throwTelemetryCollaborationNewChangeset','_networkConditionService','newCsEvent','_acknowledgedAwaitingChangeset','onSyncEditingCollabCursor','_substituteRedoStack','PERMISSION_REJ','auth.needGotoLoginAlert','executeCommand','_resendTimer','_waitForHeartbeatResponse','BehaviorSubject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_SERVER_URL_KEY','collaboration_new_changeset','getWorkbookSelections','objects','awaiting','/fetchmissing?from=','_oKey','HEARTBEAT_TIMEOUT_KEY','LIVESHARE_NEW_HOST','getImageSourceCache','_toggleOffline','unpad','entityInit$','CONNECTOR_DATA_TOO_LARGE','_updateLocalCache','LICENSE_MAX_UNITS_EXCEEDED','image/jpg','Could\x20not\x20dynamically\x20require\x20\x22','UUID','fetchMissingChangesets','getResourcesRequest','snapshot','onCommandExecuted','Tools','ERROR_EXCEED_SIZE','session.room-cnt-exceeds','c2Prime','toggleOffline','touchDependencies','_transformRemoteChangesetByStateCache','every','Subject','string','delete','_initUnitPermissionChange','_incrementRevisionNumber','addHandlerCallback','salt','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UPDATE_CURSOR','next','symbol','SnapshotServerOverHTTPService','Error\x20on\x20receiving\x20event','enableOfflineEditing','userID','_compressMutationService','MergeInterceptorFactory','_injector','slice','_createInitialState','_getUploadFileURL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','map','transformSelections','save\x20fail\x20reason\x20is\x20','take','_clearUndo','HEARTBEAT_INTERVAL_KEY','getSnapshotAPIPath','LIVESHARE_TERMINATE','debug','_snapshotServerService','cmd','_schedule','find','name','originalMeta','init','createInstance','emitEvent','_retryConnectingTimer','_executeRemoteChangeset','roomInfos','method','HmacSHA1','changesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FAIL','_doReset','2695816BmcPdX','_members','ENSURE_SNAPSHOT_EXECUTION','_process','src','prototype','concatMap','[CollaborationSessionService]:\x20socket\x20error','_createInitialStateImpl','transformChangesets','RichTextEditingMutation','_userManagerService','override','_configService','ReplaySubject','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendHeartbeatTimer','state$','IContextService','extend','CollaborationSocketService','SUBMIT_CHANGESET_TIMEOUT','HttpImport','textEncoder','subscribe','IAuthzIoService','COMPRESS_MUTATION_SEND','sessionStatus','isPermissionRej','getGlobalObject','_transformSelections','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','title','_retryCount','SheetTransformSelectionsService','pluginName','serializeCombRequest','WorkbookEditablePermission','workbook','JOIN','capture','HEARTBEAT','/universer-api/snapshot/','objectID','disposeWithMe','_onRemoteRejected','[SyncedState]:\x20received\x20rejection.','duration','_startTelemetryCollaborationNewChangeset','session','_members$','deepClone','processBlock','appendMutation','getConfig','setShowComponents','parseProtocolChangeset','CollaborativeUndoRedoService','/allowed','_getLoginPath','Encryptor','sessionStatus$','awaitingChangeset','\x0aAfter:\x20','_sheetTransformSelectionsService','_removeRoom','_lockTransition','confirm','$super','_submitChangeset','UnitSnapshot','_remoteChangesetQueue','kdf','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/authz','JOIN_ROOM_NOT_EXISTS','SetSelectionsOperation','UNIVER_PROJECT','12wFNvhr','CollaborationSession','getTypeOfUnitDisposed$','length','copyFileMeta','DataLoaderService','LIVESHARE_REQUEST_HOST','revision','CONFLICT','collaborators','offline','_getAPIPrefixPath','[PendingState]:\x20received\x20rejection.','disableLocalCache','forEach','Module','includes','SheetPermissionInitController','FetchingMissState','_univerInstanceService','_queuedRemoteChangesets','signUrlServerUrl','LOGIN_URL_KEY','CollaborationController','NEW_CHANGESETS','univer-pro.collaboration-client.network-condition.service','concat','reqId','_updateState','collaMsg','CollaborationImageIoService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','session.room-not-exists','event$','Inject','rev','requestParams','getCollabEntity','UNKNOWN_CMD','\x20to\x20','error','&assign=','_entityInit$','CHANGESET_SHOULD_RETRY','SheetCollaborationEntity','_sessionStatus$','status','from','fromCollab','_config','ISingleActiveUnitService','values','sheets','closeSession','_onRemoteChangeset','AWAITING','YUUMI_RATE_OVER_LIMIT','LOCAL_CACHE_INTERVAL','[DataLoaderService]','isArray','_getDownloadEndpointURL','authzUrl','_instanceService','[CollaborationEntity]','send','_getUndoStack','_nRounds','_state$','image/bmp','_collaborationPaused','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_DEC_XFORM_MODE','sigBytes','_onOffline','onTransformRemoteChangesetByStateCache','transformMutationsWithChangeset','toDisposable','registerDependencies','_parse','randomBytes','INTERNAL_ERROR','fromCharCode','encryptBlock','saveChangeset','objectActions','_mode','Pkcs7','c1Prime','[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.','SEND_CHANGESET_TIMEOUT_KEY','ITelemetryService','OFFLINE','_getSendChangesetTimeout','_sender','baseRev','randomUUID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNIVER_SLIDE','HmacMD5','UnitEmbedded','add','_waitCount','_transformRemoteChangesetByIMECache','AES','function','connection\x20error','CollaborationUIEventId','_roomCreated$','delay','SyncedState','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getSheetBlock','_ENC_XFORM_MODE','\x20-\x20','format','_doCreateSocket','m2Prime','IPermissionService','list','@univerjs/docs','CHANGESET_REJ','resourceIDs','UnitStatus','_transitionLocked','crypto','getLocalCacheKey','_disableEditing','USERS_LEAVE','Malformed\x20UTF-8\x20data','reduce','getValue','pauseCollaboration','complete','CommentService','_type','COMPRESS_MUTATION_APPLY','_onLocalMutation','[OfflineState]:\x20received\x20changeset.','code','_onUserJoin','_xformMode','getUnitStatus$','getTime','DEFAULT_COLLAB_WEB_SOCKET_URL','x-univer-host','ISnapshotServerService','onMissedChangesetFetched','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','EvpKDF','pending','FileId','csShouldRetryEvent','session.room-permission-denied','_fetchMissChangesets','_collaborationUIEventService','call','clone','_transformService','[SyncedState]:\x20received\x20acknowledgement.','dispose','BlockCipher','_onCombEvent','saveSheetBlock','SNAPSHOT_HAS_BEEN_REMOVED','OpenSSL','catch','/universer-api/user/session-ticket','getMember','OTHER_CLIENTS_EDITING','loadOfflineData','b64DecodeUnicode','_transformStack','transformStack\x20failed!','/universer-api/uniscript','getUnitOnRev','listCollaborators','_getRedoStack','rxjs/operators','subject','onMissingChangesets','onRemoteRej','_invKeySchedule','saveImage','_sendHeartbeat','NoPadding','toggleOnline','AwaitingWithPendingState','requireSession','synced','_prevBlock','patch','COLLAB_WEB_SOCKET_URL','onStateChange','deleteCollaborator','encode','dispose$','_createSocket','addImageSourceCache','RxDisposable','JSONX','UniverNetworkPlugin','image/jpeg','shouldCloseConn','result','_undoRedoService','HTTPService','decrypt','__creator','liveShareNewHost','max','_initCloseConn','OfflineState','image/gif','startTime','ceil','href','JOIN_ROOM_FULL','_exhaustRemoteChangesetQueue','_clearLocalCache','MD5','getCollabEntity$','IImageIoService','update','msCrypto','_telemetryInfo','_applyRemoteChangeset','_changesetReqId','/object/','Hex','blockSize','_registerDependencies','selections','onRemoteChangeset','SNAPSHOT_URL_KEY','_map','Decryptor','getCurrentRevOfUnit','getSheetId','createEncryptor','isInternalEditorID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_DUPLICATED','/unit/','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','RETRY_CONNECTING_MAX_COUNT_KEY','_socketReady','PY_RUNTIME_SCRIPT_ERROR','UNIVER_UNKNOWN','infoRsp','encrypt','_cipher','_append','reset','_resendTimeout','_sendingTimer','428001UUyUwv','_memberService','cfg','LEAVE','BufferedBlockAlgorithm','HEARTBEAT_TIMEOUT','getMemberID','MentionIoHttpService','key','IUndoRedoService','SOCKET_FAILED_RETRY','_state','commentUpdateEvent','RECV','onTransformState','min','AwaitingState','permissionRejEvent','SYNCED','_candidateSocket','params','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRecvEvent','toString','_commandService','setWaitCount','updatePermissionObjEvent','createDecryptor','_permissionService','fetch_missing','isTransformMutationsWithChangesetSuccess','_doProcessBlock','FETCH_MISSING','/collaborator','MUTATION','_resendWithTimeout','unitId\x20is\x20not\x20found','members','SHA1','repeat','_transformUndoredo','_doFinalize','1743385HpcESn','CBC','ICollaborationSocketService','Plugin','_getCtorByUniverType','conflict','LIVESHARE_FETCH_OPERATIONS','_handler','_syncEditingCollabCursor','ITransformService','Utf8','loadUnit','/resources','hasOwnProperty','Hasher','_httpService','onRemoteAck','actions','onload','_getCurrentRevision','ERROR_IMAGE','stringify','[FetchMissState]','/rev/','_socketService','snapshotServerUrl','SOCKET_FAILED','UNAUTHENTICATED','clamp','EXCHANGE_SIGN_URL_SERVER_URL_KEY','collaboration-client.config','_eventService','getCurrentUser','readyForCollab','_iv','INGEST','LocalUndoRedoService','execute','ICommandService','UserManagerService','{fileID}','localCacheService','unit-cache-','ConflictState','ONLINE','_HTTPService','mode','byteOffset','default','CollaborationEntity','compute','_unlockTransition','action','_transformIMECache','socketService','COMPLETION_FINISHED','eventID','message$','getInterceptPoints','reverse','saveSnapshot','@univerjs-pro/collaboration','toLowerCase','_hash','generateRandomId','fetchThroughInterceptors','Cipher','SEND_CHANGESET_TIMEOUT','onSendChangeset','WordArray','JOINING','mapDocumentTypeToUniverType','createIdentifier','NOT_FOUND','post','resolve','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','size','bind','/-/object/-/batch_allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_changesetSessionId','PasswordBasedCipher','_clearScheduledTask','UNIVER_SHEET','_stopTelemetryCollaborationNewChangeset','_localeService','YUUMI_UNABLE_LOAD_URL','padding','session.room-full','UNKNOWN_CODE','/new_changes','_key','_rescheduleHeartbeat','CompressMutationService','create','onTransformIME','_onFetchMissResult','onTransformRemoteChangesetByIMECache','url','batchAllowed','random','Optional','?size=','@univerjs/network','getImage','IUniverInstanceService','ImageSourceType','_sessions','UPDATE_PERMISSION_OBJ','getOwnPropertyDescriptor','failed\x20to\x20apply\x20missed\x20changesets!','set','append','/universer-api/oidc/authpage','loadDoc','HTTPRequest','isTransformMutationsWithChangesetFailure','substr','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','body','LIVESHARE_OPERATION','PERSON','@univerjs/core','createCollaborator','type','getActiveSheet','COLLAB_SUBMIT_CHANGESET_URL_KEY','[PendingState]:\x20received\x20acknowledgement.','findIndex','_clearTimeoutTimer','\x0aCurrent:\x20','enc','COLLAB_SUBMIT_CHANGESET_URL','_doCryptBlock','initWorkbookPermissionChange','pad','ERROR_IMAGE_TYPE','ImageUploadStatusType','_startCollaboration','SerializableCipher','removeMember','getFocusedUnit','_reverseMap','APPLY_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','get','getTypeOfUnitAdded$','_unitID','hasher','_collaborationTimeoutTimer','joinEvent','UNIVER_DOC','csRejEvent','leaveEvent','_event$','_localCacheService','_entities','?url=','close$','CommandType','floor','IMentionIOService','_createHmacHelper','finalize','FETCH_MISS','entries','_roomMembers','PERMISSION_DENIED','/object','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','replace','Base64','APPLY_REJECT','PSEUDO_FETCH_MISSING_RESULT','UNISCRIPT_RUN','shareReplay','mutations','UNRECOGNIZED','onRemoteRetry','_transformStateCache','PendingState','uniscriptRunEvent','BlockCipherMode','CollaborationEvent','JOIN_ROOM_FAILED','createSocket','memberID','_substituteUndoStack','/block/','socket\x20close','data','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','iterations','resend','transformUndoRedo','getLatestCsReqIdBySid','onTransformSelections','CollaborationSessionService','charAt','_checkMissing','__esModule','AWAITING_WITH_PENDING','takeUntil','loadSheet','_onMessage','_commentService','_listenToNetworkCondition','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','merge','Latin1','firstValueFrom','_status$','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','_onConflict','words','_showConflictNotification','status$','CLOSE_ROOM','routeKey','_timeoutTimer','MentionType','rng','/universer-api/comb','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetching\x20missing\x20changesets\x20from\x20','CHANGESET_ACK','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','updateCollaborator','_hasher','_loadSheet','onCommentUpdate','ivSize','_createHelper','AuthzIoHttpService','_collaborationSessionService','UniverInstanceType','[CollaborationUndoRedoService]','SHOULD_CLOSE_CONN','_clearHeartbeatTimer','univer-pro.collaboration-client-socket-service','_keySchedule','mixIn','BASE64','IDLE','localeService','_getAPIPrefix','_updateStatus','SheetsSelectionsService','[OfflineState]:\x20received\x20rejection.','_init','reject','updatePermissionPoint','_pendingMutations','INVALID_ARGUMENT','updateMember','_imageSourceCache','998606ytKdcR','_socket$','unsubscribe','filter','asObservable','5034990QspMdA','updateOfflineData','_onConnectionFailed','keySize','parse','UniverCollaborationClientPlugin','CollaborationUIEventService','APPLY_NON_SEQUENTIAL_REVISION','updateCursorEvent','ciphertext','_socket','mergeOverrideWithDependencies','registerHTTPInterceptor','getCurrentSelections','LICENSE_EXPORT_SIZE_EXCEEDED','COMMENT_UPDATE','POST','@univerjs/sheets','push','pipe','OTHER_CLIENT_EDITING','RevisionService','headers','ILogService','_toggleOnline','_tryEnsureSocket','_onConnectionOpen','People','exports','getRoom','MemberService','change$','setCurrentUser','target','JOIN_ROOM_PERMISSION_DENIED','USERS_ENTER','refreshPermission','socket\x20open.'];_0x352e=function(){return _0x15c6d6;};return _0x352e();}var An=Object[_0x491a6f(0x316)],wn=(_0x21e7d4,_0x490321,_0x2e66f2,_0xca8c25)=>{var _0x36b2a0=_0x491a6f;for(var _0x31e06d=_0xca8c25>0x1?void 0x0:_0xca8c25?An(_0x490321,_0x2e66f2):_0x490321,_0x374a2d=_0x21e7d4[_0x36b2a0(0x182)]-0x1,_0x1b2fe3;_0x374a2d>=0x0;_0x374a2d--)(_0x1b2fe3=_0x21e7d4[_0x374a2d])&&(_0x31e06d=_0x1b2fe3(_0x31e06d)||_0x31e06d);return _0x31e06d;},de=(_0x417b54,_0x2d4cff)=>(_0x3d9bea,_0x15c5c1)=>_0x2d4cff(_0x3d9bea,_0x15c5c1,_0x417b54);exports[_0x491a6f(0x16a)]=class extends a[_0x491a6f(0x2cc)]{constructor(_0x2b9e60,_0x4cb8ea,_0x21942d,_0x28a8f3,_0x18dce5){var _0x118eab=_0x491a6f;super(_0x2b9e60,_0x4cb8ea,_0x21942d),this[_0x118eab(0x21c)]=_0x28a8f3,this[_0x118eab(0x403)]=_0x18dce5;}[_0x491a6f(0x36c)](_0x1afba1,_0x143d8f){var _0x256e63=_0x491a6f;const _0x3d5b2c=this[_0x256e63(0x1c0)](_0x1afba1);if(_0x3d5b2c)try{const _0x3aa6f=this[_0x256e63(0x22a)](_0x3d5b2c,_0x143d8f);this['_substituteUndoStack'](_0x1afba1,_0x3aa6f);}catch(_0x393d9d){this[_0x256e63(0x403)][_0x256e63(0x1a7)](_0x256e63(0x398),_0x393d9d),this[_0x256e63(0x491)](_0x1afba1);}const _0x1919db=this[_0x256e63(0x22f)](_0x1afba1);if(_0x1919db)try{const _0x43a346=this[_0x256e63(0x22a)](_0x1919db,_0x143d8f);this[_0x256e63(0x450)](_0x1afba1,_0x43a346);}catch(_0x593f5b){this[_0x256e63(0x403)]['error'](_0x593f5b),this[_0x256e63(0x3e4)](_0x1afba1);}}[_0x491a6f(0x491)](_0x1b3e17){var _0x4f8cb5=_0x491a6f;const _0x4b205=this[_0x4f8cb5(0x1c0)](_0x1b3e17);_0x4b205&&(_0x4b205[_0x4f8cb5(0x182)]=0x0,this['_updateStatus']());}[_0x491a6f(0x3e4)](_0x3cc9a8){var _0x530236=_0x491a6f;const _0x3eccfe=this[_0x530236(0x22f)](_0x3cc9a8);_0x3eccfe&&(_0x3eccfe[_0x530236(0x182)]=0x0,this[_0x530236(0x3a2)]());}[_0x491a6f(0x365)](_0x2bcb4f,_0x1ef031){var _0x10fe37=_0x491a6f;this[_0x10fe37(0x444)][_0x10fe37(0x318)](_0x2bcb4f,_0x1ef031),this['_updateStatus']();}[_0x491a6f(0x450)](_0x3aea88,_0x560c3c){var _0x5a4307=_0x491a6f;this['_redoStacks']['set'](_0x3aea88,_0x560c3c),this[_0x5a4307(0x3a2)]();}[_0x491a6f(0x22a)](_0x57c0c4,_0x593feb){var _0x5a71d9=_0x491a6f;const _0x47e445=[];let _0x384c00=_0x593feb,_0x450376=_0x593feb;for(let _0x120d82=_0x57c0c4[_0x5a71d9(0x182)]-0x1;_0x120d82>=0x0;_0x120d82--){const {unitID:_0x30a216,undoMutations:_0x21142f,redoMutations:_0xc12e00}=_0x57c0c4[_0x120d82],_0x1bc515=this[_0x5a71d9(0x21c)][_0x5a71d9(0x1ca)](_0x384c00,_0x21142f),_0x12c2b4=this[_0x5a71d9(0x21c)][_0x5a71d9(0x1ca)](_0x450376,_0xc12e00);if(g[_0x5a71d9(0x31d)](_0x1bc515)||g[_0x5a71d9(0x31d)](_0x12c2b4)){this['_logService'][_0x5a71d9(0x1a7)]('[CollaborationUndoRedoService]',_0x5a71d9(0x22b),_0x1bc515,_0x12c2b4);break;}_0x384c00=_0x1bc515['c1Prime'],_0x450376=_0x12c2b4[_0x5a71d9(0x1d6)],_0x47e445[_0x5a71d9(0x3c3)]({'unitID':_0x30a216,'undoMutations':_0x1bc515[_0x5a71d9(0x1f3)],'redoMutations':_0x12c2b4['m2Prime']});}return _0x47e445[_0x5a71d9(0x2e3)]();}},exports[_0x491a6f(0x16a)]=wn([de(0x0,a[_0x491a6f(0x312)]),de(0x1,a[_0x491a6f(0x2ce)]),de(0x2,a[_0x491a6f(0x142)]),de(0x3,g['ITransformService']),de(0x4,a[_0x491a6f(0x3c8)])],exports[_0x491a6f(0x16a)]);var Ln=Object[_0x491a6f(0x41a)],Mn=Object[_0x491a6f(0x316)],xn=(_0x45d4cb,_0x48bc3d,_0x43c1ec)=>_0x48bc3d in _0x45d4cb?Ln(_0x45d4cb,_0x48bc3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c1ec}):_0x45d4cb[_0x48bc3d]=_0x43c1ec,kn=(_0x36011c,_0x4b31b1,_0x86d47f,_0x42b942)=>{var _0x11bfc2=_0x491a6f;for(var _0x5545aa=_0x42b942>0x1?void 0x0:_0x42b942?Mn(_0x4b31b1,_0x86d47f):_0x4b31b1,_0x2c0131=_0x36011c[_0x11bfc2(0x182)]-0x1,_0x11bc3e;_0x2c0131>=0x0;_0x2c0131--)(_0x11bc3e=_0x36011c[_0x2c0131])&&(_0x5545aa=_0x11bc3e(_0x5545aa)||_0x5545aa);return _0x5545aa;},ke=(_0x1ca8fd,_0x2f6d62)=>(_0x5d4e43,_0x47c8b9)=>_0x2f6d62(_0x5d4e43,_0x47c8b9,_0x1ca8fd),Hn=(_0x5a7680,_0x446cf0,_0x161976)=>xn(_0x5a7680,_0x446cf0+'',_0x161976);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x491a6f(0x3b6)]=class extends a[_0x491a6f(0x2ab)]{constructor(_0x330a64,_0x25a14b,_0x3e2a77,_0x1faead){var _0x1c51e7=_0x491a6f;super(),P(this,_0x1c51e7(0x1b0)),(this['_logService']=_0x25a14b,this['_injector']=_0x3e2a77,this[_0x1c51e7(0x13d)]=_0x1faead);const {..._0x11b755}=a[_0x1c51e7(0x37a)]({},Jt,_0x330a64);if(!_0x11b755[_0x1c51e7(0x2de)])throw new Error(_0x1c51e7(0x212));this[_0x1c51e7(0x1b0)]=_0x11b755,this[_0x1c51e7(0x13d)]['setConfig'](Y,_0x11b755);}['onStarting'](){var _0x3419cc=_0x491a6f;this[_0x3419cc(0x265)](),this['_initDependencies']();}['_registerDependencies'](){var _0x2f1123=_0x491a6f,_0x7ea95f,_0x243d25;this[_0x2f1123(0x488)][_0x2f1123(0x410)](a['IUndoRedoService'])&&this[_0x2f1123(0x403)][_0x2f1123(0x1a7)]('[UniverCollaborationClientPlugin]',_0x2f1123(0x19e));const _0x8b64e6=a[_0x2f1123(0x3bc)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2f1123(0x36f)]],[exports[_0x2f1123(0x3cf)]],[exports[_0x2f1123(0x153)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x2f1123(0x1b0)]['socketService']}],[g[_0x2f1123(0x210)],{'useClass':exports[_0x2f1123(0x482)]}],[a[_0x2f1123(0x149)],{'useClass':exports[_0x2f1123(0x395)]}],[J[_0x2f1123(0x25c)],{'useClass':exports[_0x2f1123(0x19d)]}],[a[_0x2f1123(0x34b)],{'useClass':exports[_0x2f1123(0x285)]}],[exports['CollaborationController']],[He]],(_0x7ea95f=this[_0x2f1123(0x1b0)])==null?void 0x0:_0x7ea95f[_0x2f1123(0x13c)]);if(!((_0x243d25=this['_config'])!=null&&_0x243d25['enableSingleActiveInstanceLock'])){const _0x3c7fc4=_0x8b64e6[_0x2f1123(0x329)](([_0x3e28a2])=>_0x3e28a2===ve);_0x3c7fc4!==-0x1&&_0x8b64e6['splice'](_0x3c7fc4,0x1);}a[_0x2f1123(0x1cc)](this[_0x2f1123(0x488)],_0x8b64e6);}['_initDependencies'](){var _0x3d7c58=_0x491a6f,_0x5276a1,_0x19b0b6,_0x1e60ed;this[_0x3d7c58(0x488)][_0x3d7c58(0x33b)](q[_0x3d7c58(0x24c)])[_0x3d7c58(0x3bd)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5276a1=this[_0x3d7c58(0x1b0)])!=null&&_0x5276a1[_0x3d7c58(0x484)]||(_0x19b0b6=this[_0x3d7c58(0x488)][_0x3d7c58(0x33b)](z,a['Quantity'][_0x3d7c58(0x449)]))==null||_0x19b0b6[_0x3d7c58(0x18c)](),(_0x1e60ed=this[_0x3d7c58(0x1b0)])!=null&&_0x1e60ed['enableAuthServer']&&a[_0x3d7c58(0x474)](this['_injector'],[[Oe]]),a[_0x3d7c58(0x474)](this['_injector'],[[Ne],[exports[_0x3d7c58(0x196)]],[De]]);}},Hn(exports[_0x491a6f(0x3b6)],_0x491a6f(0x154),jn),exports[_0x491a6f(0x3b6)]=kn([a['DependentOn'](g['UniverCollaborationPlugin'],q[_0x491a6f(0x247)]),ke(0x1,a[_0x491a6f(0x3c8)]),ke(0x2,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),ke(0x3,a['IConfigService'])],exports[_0x491a6f(0x3b6)]),exports[_0x491a6f(0x412)]=Ve,exports[_0x491a6f(0x1ed)]=Y,exports[_0x491a6f(0x327)]=It,exports[_0x491a6f(0x41b)]=St,exports[_0x491a6f(0x3e3)]=We,exports[_0x491a6f(0x1e9)]=Q,exports[_0x491a6f(0x3b7)]=te,exports[_0x491a6f(0x204)]=Be,exports[_0x491a6f(0x20e)]=ft,exports[_0x491a6f(0x353)]=zt,exports[_0x491a6f(0x43d)]=$t,exports[_0x491a6f(0x11a)]=pt,exports[_0x491a6f(0x45f)]=je,exports[_0x491a6f(0x2aa)]=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0x491a6f(0x1b1)]=ve,exports[_0x491a6f(0x1b8)]=Vt,exports[_0x491a6f(0x339)]=Gt,exports[_0x491a6f(0x195)]=Et,exports[_0x491a6f(0x457)]=qt,exports[_0x491a6f(0x273)]=mt,exports[_0x491a6f(0x1d8)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x491a6f(0x268)]=vt,exports['SessionStatus']=se,exports[_0x491a6f(0x1f9)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x491a6f(0x1fc)]=vi,exports[_0x491a6f(0x155)]=yt;
1
+ 'use strict';var _0x42575d=_0x1588;(function(_0x3ee69e,_0x4412cb){var _0x26636b=_0x1588,_0x5dff3e=_0x3ee69e();while(!![]){try{var _0x268937=parseInt(_0x26636b(0x1b9))/0x1+parseInt(_0x26636b(0x3a9))/0x2+parseInt(_0x26636b(0x438))/0x3*(-parseInt(_0x26636b(0x15b))/0x4)+parseInt(_0x26636b(0x291))/0x5+-parseInt(_0x26636b(0x184))/0x6+parseInt(_0x26636b(0x47e))/0x7*(parseInt(_0x26636b(0x3db))/0x8)+-parseInt(_0x26636b(0x38d))/0x9*(-parseInt(_0x26636b(0x261))/0xa);if(_0x268937===_0x4412cb)break;else _0x5dff3e['push'](_0x5dff3e['shift']());}catch(_0x4f36a7){_0x5dff3e['push'](_0x5dff3e['shift']());}}}(_0x34c0,0xa7021));var wt=Object[_0x42575d(0x445)],Lt=(_0x30f3c6,_0x2772fc,_0x433388)=>_0x2772fc in _0x30f3c6?wt(_0x30f3c6,_0x2772fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x433388}):_0x30f3c6[_0x2772fc]=_0x433388,P=(_0xbf23e3,_0x325b62,_0x85ae)=>Lt(_0xbf23e3,typeof _0x325b62!=_0x42575d(0x3fb)?_0x325b62+'':_0x325b62,_0x85ae);Object[_0x42575d(0x445)](exports,Symbol[_0x42575d(0x1a7)],{'value':_0x42575d(0x311)});const a=require(_0x42575d(0x152)),j=require(_0x42575d(0x2b4)),W=require(_0x42575d(0x165)),g=require(_0x42575d(0x397)),q=require(_0x42575d(0x2b7)),Mt=require('@univerjs/telemetry'),ut=require(_0x42575d(0x1cf)),Z=require(_0x42575d(0x3b6)),J=require('@univerjs/drawing'),xt=require(_0x42575d(0x43c)),dt=_0x42575d(0x3bc),kt=_0x42575d(0x32f),vt=_0x42575d(0x316),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x42575d(0x3d9),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t='/universer-api/user/session-ticket',pt=_0x42575d(0x2c7),Bt=0x7530,je=_0x42575d(0x1ed),gt=0x4e20,Ft=0x4e20,mt=_0x42575d(0x1e1),Wt=0x3,Gt=_0x42575d(0x444),Vt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Kt='/universer-api/comb',Et=_0x42575d(0x1ca),Yt=_0x42575d(0x294),qt=_0x42575d(0x151),zt='/universer-api/uniscript';var Ct=(_0x25c01c=>(_0x25c01c[_0x25c01c['UNDEFINED']=0x0]='UNDEFINED',_0x25c01c[_0x25c01c['OK']=0x1]='OK',_0x25c01c[_0x25c01c['INTERNAL_ERROR']=0x2]=_0x42575d(0x2ef),_0x25c01c[_0x25c01c[_0x42575d(0x332)]=0x3]=_0x42575d(0x332),_0x25c01c[_0x25c01c[_0x42575d(0x3bf)]=0x4]='NOT_FOUND',_0x25c01c[_0x25c01c[_0x42575d(0x2f3)]=0x5]=_0x42575d(0x2f3),_0x25c01c[_0x25c01c[_0x42575d(0x433)]=0x6]=_0x42575d(0x433),_0x25c01c[_0x25c01c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x25c01c[_0x25c01c[_0x42575d(0x430)]=0x8]='TOO_MANY_REQUESTS',_0x25c01c[_0x25c01c[_0x42575d(0x223)]=0x9]=_0x42575d(0x223),_0x25c01c[_0x25c01c[_0x42575d(0x197)]=0x1389]=_0x42575d(0x197),_0x25c01c[_0x25c01c[_0x42575d(0x255)]=0x1771]=_0x42575d(0x255),_0x25c01c[_0x25c01c[_0x42575d(0x3b4)]=0x1772]=_0x42575d(0x3b4),_0x25c01c[_0x25c01c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x25c01c[_0x25c01c['APPLY_REJECT']=0x1b59]=_0x42575d(0x455),_0x25c01c[_0x25c01c[_0x42575d(0x224)]=0x1b5a]=_0x42575d(0x224),_0x25c01c[_0x25c01c[_0x42575d(0x379)]=0x1b5b]=_0x42575d(0x379),_0x25c01c[_0x25c01c[_0x42575d(0x432)]=0x1b5c]=_0x42575d(0x432),_0x25c01c[_0x25c01c[_0x42575d(0x33d)]=0x1b5d]=_0x42575d(0x33d),_0x25c01c[_0x25c01c[_0x42575d(0x3c6)]=0x1f41]=_0x42575d(0x3c6),_0x25c01c[_0x25c01c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x42575d(0x2c9),_0x25c01c[_0x25c01c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x42575d(0x39f),_0x25c01c[_0x25c01c[_0x42575d(0x475)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x25c01c[_0x25c01c[_0x42575d(0x26f)]=0x232c]=_0x42575d(0x26f),_0x25c01c[_0x25c01c[_0x42575d(0x1a2)]=0x232d]=_0x42575d(0x1a2),_0x25c01c[_0x25c01c[_0x42575d(0x4b7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x25c01c[_0x25c01c[_0x42575d(0x1cd)]=0x2712]=_0x42575d(0x1cd),_0x25c01c[_0x25c01c[_0x42575d(0x2d8)]=0x2713]=_0x42575d(0x2d8),_0x25c01c[_0x25c01c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x42575d(0x198),_0x25c01c[_0x25c01c[_0x42575d(0x2d7)]=0x2af9]=_0x42575d(0x2d7),_0x25c01c[_0x25c01c[_0x42575d(0x220)]=-0x1]=_0x42575d(0x220),_0x25c01c))(Ct||{}),X=(_0x4e591f=>(_0x4e591f[_0x4e591f[_0x42575d(0x271)]=0x0]=_0x42575d(0x271),_0x4e591f[_0x4e591f[_0x42575d(0x338)]=0x1]=_0x42575d(0x338),_0x4e591f[_0x4e591f['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4e591f[_0x4e591f[_0x42575d(0x36d)]=0x3]=_0x42575d(0x36d),_0x4e591f[_0x4e591f[_0x42575d(0x238)]=0x4]=_0x42575d(0x238),_0x4e591f[_0x4e591f[_0x42575d(0x220)]=-0x1]=_0x42575d(0x220),_0x4e591f))(X||{}),G=(_0x1e5a25=>(_0x1e5a25[_0x1e5a25[_0x42575d(0x484)]=0x0]=_0x42575d(0x484),_0x1e5a25[_0x1e5a25[_0x42575d(0x234)]=0x1]=_0x42575d(0x234),_0x1e5a25[_0x1e5a25[_0x42575d(0x34c)]=0x2]=_0x42575d(0x34c),_0x1e5a25[_0x1e5a25['LEAVE']=0x3]=_0x42575d(0x2a7),_0x1e5a25[_0x1e5a25[_0x42575d(0x319)]=0x4]=_0x42575d(0x319),_0x1e5a25[_0x1e5a25[_0x42575d(0x202)]=0x5]=_0x42575d(0x202),_0x1e5a25[_0x1e5a25[_0x42575d(0x3fc)]=0x6]=_0x42575d(0x3fc),_0x1e5a25[_0x1e5a25['UNRECOGNIZED']=-0x1]=_0x42575d(0x220),_0x1e5a25))(G||{}),ae=(_0x1bd701=>(_0x1bd701[_0x1bd701['UNKNOWN_CODE']=0x0]=_0x42575d(0x378),_0x1bd701[_0x1bd701['OK']=0x1]='OK',_0x1bd701[_0x1bd701['FAIL']=0x2]=_0x42575d(0x401),_0x1bd701[_0x1bd701[_0x42575d(0x2a2)]=0x3e9]='JOIN_ROOM_FULL',_0x1bd701[_0x1bd701['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x42575d(0x1ba),_0x1bd701[_0x1bd701[_0x42575d(0x327)]=0x3eb]=_0x42575d(0x327),_0x1bd701[_0x1bd701[_0x42575d(0x372)]=0x3ec]=_0x42575d(0x372),_0x1bd701[_0x1bd701[_0x42575d(0x220)]=-0x1]=_0x42575d(0x220),_0x1bd701))(ae||{}),Tt=(_0x1687d1=>(_0x1687d1[_0x1687d1['Undefined']=0x0]=_0x42575d(0x453),_0x1687d1[_0x1687d1['HttpImport']=0x1]=_0x42575d(0x3f4),_0x1687d1[_0x1687d1['HttpExport']=0x2]=_0x42575d(0x178),_0x1687d1[_0x1687d1[_0x42575d(0x2f9)]=0x3]=_0x42575d(0x2f9),_0x1687d1[_0x1687d1[_0x42575d(0x19c)]=0x4]=_0x42575d(0x19c),_0x1687d1[_0x1687d1[_0x42575d(0x220)]=-0x1]=_0x42575d(0x220),_0x1687d1))(Tt||{});const Y=_0x42575d(0x265),Jt={};var Q=(_0x33ad9e=>(_0x33ad9e[_0x42575d(0x360)]=_0x42575d(0x360),_0x33ad9e[_0x42575d(0x332)]=_0x42575d(0x332),_0x33ad9e[_0x42575d(0x352)]=_0x42575d(0x352),_0x33ad9e[_0x42575d(0x1ab)]=_0x42575d(0x1ab),_0x33ad9e[_0x42575d(0x21b)]=_0x42575d(0x21b),_0x33ad9e[_0x42575d(0x1a0)]=_0x42575d(0x1a0),_0x33ad9e[_0x42575d(0x17f)]=_0x42575d(0x17f),_0x33ad9e['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x33ad9e))(Q||{});class te{constructor(){var _0x28ce1b=_0x42575d;P(this,_0x28ce1b(0x3c0),new j[(_0x28ce1b(0x400))]()),P(this,_0x28ce1b(0x415),this['_event$'][_0x28ce1b(0x1bf)]());}['emitEvent'](_0x10e4c4){var _0x2ed38a=_0x42575d;this[_0x2ed38a(0x3c0)][_0x2ed38a(0x364)](_0x10e4c4);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0x4a1b00){var _0x250143=_0x42575d,_0x32aa02,_0x22b906,_0x18c17d,_0xa32489,_0x2c1adb;const _0x2d5fad=_0x4a1b00[_0x250143(0x45c)],_0x371231=JSON[_0x250143(0x3eb)](_0x2d5fad);switch(_0x371231[_0x250143(0x405)]){case G[_0x250143(0x202)]:case G[_0x250143(0x234)]:{const _0x5d921d=_0x371231[_0x250143(0x414)];return{..._0x371231,'data':_0x5d921d,'cmd':_0x371231[_0x250143(0x405)]};}case G['JOIN']:{const _0x235376=_0x371231[_0x250143(0x3fd)];return{..._0x371231,'data':_0x235376,'cmd':_0x371231[_0x250143(0x405)]};}case G[_0x250143(0x3fc)]:{const _0x271e77=_0x371231['collaMsg'];switch(_0x271e77[_0x250143(0x36a)]){case g[_0x250143(0x36f)][_0x250143(0x480)]:return{..._0x371231,'data':{..._0x271e77,'data':(_0x32aa02=_0x271e77[_0x250143(0x2f8)])==null?void 0x0:_0x32aa02['cs']},'cmd':_0x371231['cmd']};case g[_0x250143(0x36f)][_0x250143(0x3b1)]:return{..._0x371231,'data':{..._0x271e77,'data':(_0x22b906=_0x271e77['csAckEvent'])==null?void 0x0:_0x22b906['cs']},'cmd':_0x371231['cmd']};case g[_0x250143(0x36f)][_0x250143(0x43f)]:return{..._0x371231,'data':{..._0x271e77,'data':(_0x18c17d=_0x271e77[_0x250143(0x43b)])==null?void 0x0:_0x18c17d['cs']},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x299)]:return{..._0x371231,'data':{..._0x271e77,'data':(_0xa32489=_0x271e77[_0x250143(0x377)])==null?void 0x0:_0xa32489['cs']},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x30d)]:return{..._0x371231,'data':{..._0x271e77,'data':(_0x2c1adb=_0x271e77[_0x250143(0x27b)])==null?void 0x0:_0x2c1adb['cs']},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x1a9)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77[_0x250143(0x32a)]},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x4a3)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77['joinEvent']},'cmd':_0x371231['cmd']};case g['CollaborationEvent'][_0x250143(0x24f)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77[_0x250143(0x37d)]},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x30e)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77['liveShareNewHost']},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x362)]:case g[_0x250143(0x36f)][_0x250143(0x174)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77['liveShareOperation']},'cmd':_0x371231[_0x250143(0x405)]};case g[_0x250143(0x36f)][_0x250143(0x330)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77['liveShareNewHost']},'cmd':_0x371231[_0x250143(0x405)]};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x371231,'data':_0x271e77,'cmd':_0x371231['cmd']};case g[_0x250143(0x36f)][_0x250143(0x4a7)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77['commentUpdateEvent']},'cmd':_0x371231['cmd']};case g[_0x250143(0x36f)]['UPDATE_PERMISSION_OBJ']:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77[_0x250143(0x462)]},'cmd':_0x371231[_0x250143(0x405)]};case g['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77[_0x250143(0x411)]},'cmd':_0x371231[_0x250143(0x405)]};case g['CollaborationEvent'][_0x250143(0x195)]:return{..._0x371231,'data':{..._0x271e77,'data':_0x271e77[_0x250143(0x43a)]},'cmd':_0x371231[_0x250143(0x405)]};default:return _0x371231;}}default:return _0x371231;}}function yt(_0x38656f){var _0x33a007=_0x42575d;switch(_0x38656f[_0x33a007(0x405)]){case G[_0x33a007(0x202)]:case G['HELLO']:return JSON[_0x33a007(0x389)]({'cmd':_0x38656f[_0x33a007(0x405)],'routeKey':_0x38656f['routeKey']});case G['INGEST']:{let _0x200652;switch(_0x38656f['data'][_0x33a007(0x36a)]){case g[_0x33a007(0x36f)][_0x33a007(0x1a9)]:{_0x200652={'eventID':g[_0x33a007(0x36f)][_0x33a007(0x1a9)],'updateCursorEvent':_0x38656f[_0x33a007(0x45c)]['data']};break;}case g[_0x33a007(0x36f)][_0x33a007(0x24f)]:{_0x200652={'eventID':g[_0x33a007(0x36f)][_0x33a007(0x24f)],'leaveEvent':_0x38656f['data'][_0x33a007(0x45c)]};break;}case g[_0x33a007(0x36f)][_0x33a007(0x4a3)]:{_0x200652={'eventID':g[_0x33a007(0x36f)]['USERS_ENTER'],'joinEvent':_0x38656f['data'][_0x33a007(0x45c)]};break;}case g[_0x33a007(0x36f)][_0x33a007(0x30e)]:{_0x200652={'eventID':g['CollaborationEvent'][_0x33a007(0x30e)],'liveShareNewHost':_0x38656f[_0x33a007(0x45c)]['data']};break;}case g[_0x33a007(0x36f)][_0x33a007(0x174)]:{_0x200652={'eventID':g['CollaborationEvent'][_0x33a007(0x174)],'liveShareOperation':_0x38656f[_0x33a007(0x45c)][_0x33a007(0x45c)]};break;}case g['CollaborationEvent'][_0x33a007(0x330)]:{_0x200652={'eventID':g['CollaborationEvent'][_0x33a007(0x330)],'liveShareTerminate':_0x38656f[_0x33a007(0x45c)][_0x33a007(0x45c)]};break;}case g[_0x33a007(0x36f)][_0x33a007(0x3c3)]:{_0x200652={'eventID':g['CollaborationEvent'][_0x33a007(0x3c3)],'liveShareRequestHost':_0x38656f[_0x33a007(0x45c)][_0x33a007(0x45c)]};break;}case g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x200652={'eventID':g[_0x33a007(0x36f)][_0x33a007(0x362)]};break;}default:_0x200652={'eventID':_0x38656f[_0x33a007(0x45c)]['eventID']};}return JSON[_0x33a007(0x389)]({'cmd':_0x38656f['cmd'],'routeKey':_0x38656f[_0x33a007(0x1fe)],'collaMsg':_0x200652});}case G['JOIN']:return JSON[_0x33a007(0x389)]({'cmd':_0x38656f[_0x33a007(0x405)],'routeKey':_0x38656f['routeKey'],'joinReq':_0x38656f[_0x33a007(0x45c)]});case G[_0x33a007(0x2a7)]:return JSON[_0x33a007(0x389)]({'cmd':_0x38656f['cmd'],'routeKey':_0x38656f[_0x33a007(0x1fe)],'leaveReq':_0x38656f[_0x33a007(0x45c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x42575d(0x493)],Zt=(_0x392711,_0x5ca37b,_0x81a5e7,_0xc58f61)=>{var _0x126f82=_0x42575d;for(var _0x2af260=_0xc58f61>0x1?void 0x0:_0xc58f61?Xt(_0x5ca37b,_0x81a5e7):_0x5ca37b,_0x299326=_0x392711[_0x126f82(0x2e6)]-0x1,_0x59b2fc;_0x299326>=0x0;_0x299326--)(_0x59b2fc=_0x392711[_0x299326])&&(_0x2af260=_0x59b2fc(_0x2af260)||_0x2af260);return _0x2af260;},_e=(_0x416722,_0x570da8)=>(_0x3a4e0d,_0x10604a)=>_0x570da8(_0x3a4e0d,_0x10604a,_0x416722);const $e=a[_0x42575d(0x2a1)](_0x42575d(0x485));function Qt(_0x321ea,_0xc64547,_0x910043){var _0x4cc5de=_0x42575d;return _0x321ea+'/'+_0xc64547+_0x4cc5de(0x46c)+_0x910043+_0x4cc5de(0x40f);}exports[_0x42575d(0x2d2)]=class extends a[_0x42575d(0x350)]{constructor(_0x197c6d,_0x27eb5c,_0x2a1700,_0xd4b469,_0x8ba7ac){var _0x180bfb=_0x42575d;super(),this[_0x180bfb(0x1c7)]=_0x197c6d,this[_0x180bfb(0x2c5)]=_0x27eb5c,this['_configService']=_0x2a1700,this[_0x180bfb(0x1db)]=_0xd4b469,this[_0x180bfb(0x1b1)]=_0x8ba7ac;}['_doCreateSocket'](_0xa6a3a1){var _0x119e16=_0x42575d;const _0x3db911=this[_0x119e16(0x1c7)][_0x119e16(0x2ba)](q['ISocketService']);if(!_0x3db911)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x196fd8=_0x3db911['createSocket'](_0xa6a3a1);if(!_0x196fd8)throw new Error(_0x119e16(0x49e));const _0x28cdad=new a[(_0x119e16(0x3b7))](),_0x4b2373=new j[(_0x119e16(0x400))]();_0x28cdad[_0x119e16(0x4ac)](_0x196fd8[_0x119e16(0x44d)]['subscribe'](_0x28b030=>_0x4b2373[_0x119e16(0x364)](_0x28b030))),_0x28cdad[_0x119e16(0x4ac)](a[_0x119e16(0x1a4)](()=>_0x4b2373['complete']()));const _0x4132bf=new j[(_0x119e16(0x400))]();_0x28cdad[_0x119e16(0x4ac)](_0x196fd8[_0x119e16(0x391)][_0x119e16(0x298)](_0x407255=>_0x4132bf[_0x119e16(0x364)](_0x407255))),_0x28cdad[_0x119e16(0x4ac)](a[_0x119e16(0x1a4)](()=>_0x4132bf[_0x119e16(0x383)]()));const _0x2dd9f5=new j[(_0x119e16(0x400))]();_0x28cdad[_0x119e16(0x4ac)](_0x196fd8[_0x119e16(0x343)]['subscribe'](_0x7f399f=>{var _0x4a0f97=_0x119e16;const _0x847f47=Rt(_0x7f399f);_0x2dd9f5[_0x4a0f97(0x364)](_0x847f47);})),_0x28cdad[_0x119e16(0x4ac)](a[_0x119e16(0x1a4)](()=>_0x2dd9f5['complete']()));let _0x4fa2fe;const _0x24d1b6=()=>{var _0x182d50=_0x119e16;_0x4132bf[_0x182d50(0x364)](new Event(_0x182d50(0x47f))),_0x4b2373[_0x182d50(0x364)](new Event(_0x182d50(0x47f))),_0x4fa2fe[_0x182d50(0x205)]();};return _0x4fa2fe={'memberID':'','close$':_0x4b2373[_0x119e16(0x1bf)](),'error$':_0x4132bf[_0x119e16(0x1bf)](),'open$':_0x196fd8['open$'],'message$':_0x2dd9f5[_0x119e16(0x1bf)](),'send':_0x518553=>{var _0x1abf06=_0x119e16;if(_0x518553[_0x1abf06(0x405)]===G['INGEST']){if(_0x518553[_0x1abf06(0x45c)][_0x1abf06(0x36a)]===g[_0x1abf06(0x36f)]['SUBMIT_CHANGESET']){this[_0x1abf06(0x2d5)](_0x4fa2fe,_0x518553[_0x1abf06(0x45c)])[_0x1abf06(0x4aa)](_0x4203b4=>{var _0x4e32e5=_0x1abf06;this[_0x4e32e5(0x1db)][_0x4e32e5(0x1c8)](_0x4203b4),_0x24d1b6();});return;}if(_0x518553['data'][_0x1abf06(0x36a)]===g['CollaborationEvent'][_0x1abf06(0x15f)]){const _0x69067=_0x518553['data'];this[_0x1abf06(0x39b)](_0x69067)[_0x1abf06(0x20a)](_0x3e8060=>{var _0x4ee5ce=_0x1abf06;_0x2dd9f5['next']({'cmd':G[_0x4ee5ce(0x3fc)],'code':ae['OK'],'routeKey':_0x69067[_0x4ee5ce(0x45c)]['unitID'],'routeType':'','data':{'eventID':g[_0x4ee5ce(0x36f)][_0x4ee5ce(0x459)],'data':{'changesets':_0x3e8060}}});})[_0x1abf06(0x4aa)](_0x37699f=>{var _0x48f0f6=_0x1abf06;this[_0x48f0f6(0x1db)][_0x48f0f6(0x1c8)](_0x37699f),_0x24d1b6();});return;}}_0x196fd8[_0x1abf06(0x41f)](yt(_0x518553));},'close':()=>{var _0x17c1f4=_0x119e16;_0x196fd8[_0x17c1f4(0x205)](),_0x28cdad['dispose']();}},_0x4fa2fe;}async[_0x42575d(0x2d5)](_0x323a1d,_0x2eceb8){var _0x290253=_0x42575d,_0x2c1d42,_0x315fdf;const {unitType:_0x120661,unitID:_0x1ffebd,changeset:_0x1e0375}=_0x2eceb8[_0x290253(0x45c)],_0x121bd8={'unitID':_0x1ffebd,'memberID':_0x323a1d[_0x290253(0x2ac)],'type':_0x120661,'changeset':g[_0x290253(0x3df)](_0x1e0375)},_0x23969a=this[_0x290253(0x1aa)][_0x290253(0x4b5)](It),_0x36e801=this[_0x290253(0x1aa)][_0x290253(0x4b5)](Y),_0x285145=Qt((_0x315fdf=(_0x2c1d42=_0x36e801==null?void 0x0:_0x36e801[_0x290253(0x2c0)])!=null?_0x2c1d42:_0x23969a)!=null?_0x315fdf:Kt,_0x120661,_0x1ffebd);try{await this['_httpService'][_0x290253(0x257)](_0x285145,{'body':_0x121bd8});}catch(_0x5103d6){throw this[_0x290253(0x1db)][_0x290253(0x1c8)](_0x290253(0x26e),_0x290253(0x325)),_0x5103d6;}}async['_fetchMissChangesets'](_0x3f5d47){var _0x38eec2=_0x42575d;const {unitID:_0x51be09,from:_0x53cb98,to:_0x469992,unitType:_0x4bfeae}=_0x3f5d47[_0x38eec2(0x45c)];return(await this[_0x38eec2(0x1b1)][_0x38eec2(0x4b0)]({'metadata':void 0x0},{'unitID':_0x51be09,'type':_0x4bfeae,'from':_0x53cb98,'to':_0x469992}))[_0x38eec2(0x2d1)];}},exports[_0x42575d(0x2d2)]=Zt([_e(0x0,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),_e(0x1,a['Inject'](q[_0x42575d(0x35c)])),_e(0x2,a[_0x42575d(0x1f8)]),_e(0x3,a[_0x42575d(0x3d7)]),_e(0x4,g[_0x42575d(0x281)])],exports[_0x42575d(0x2d2)]);const ei=_0x42575d(0x3bd);function ti(_0x21546a){var _0x5e375f=_0x42575d;return JSON[_0x5e375f(0x389)](_0x21546a)[_0x5e375f(0x2e6)];}class Be{constructor(){var _0x3ed2f9=_0x42575d;P(this,'_commentUpdate$',new j[(_0x3ed2f9(0x400))]()),P(this,_0x3ed2f9(0x14d),this[_0x3ed2f9(0x3cd)][_0x3ed2f9(0x1bf)]());}['onCommentUpdate'](_0x424130){var _0x2c6652=_0x42575d;this[_0x2c6652(0x3cd)][_0x2c6652(0x364)](_0x424130);}}var ii=Object[_0x42575d(0x493)],ni=(_0x9b7bf2,_0x51e576,_0x30f808,_0x3117cd)=>{var _0x1746a8=_0x42575d;for(var _0x29e0c2=_0x3117cd>0x1?void 0x0:_0x3117cd?ii(_0x51e576,_0x30f808):_0x51e576,_0x138401=_0x9b7bf2[_0x1746a8(0x2e6)]-0x1,_0x11f62b;_0x138401>=0x0;_0x138401--)(_0x11f62b=_0x9b7bf2[_0x138401])&&(_0x29e0c2=_0x11f62b(_0x29e0c2)||_0x29e0c2);return _0x29e0c2;},Ke=(_0x529445,_0x3f7842)=>(_0x2e56d9,_0x3483cc)=>_0x3f7842(_0x2e56d9,_0x3483cc,_0x529445);exports[_0x42575d(0x191)]=class extends a[_0x42575d(0x350)]{constructor(_0x210a64,_0x14dd09){var _0x534316=_0x42575d;super(),P(this,_0x534316(0x24c),new Map()),P(this,'_roomCreated$',new j[(_0x534316(0x400))]()),(this[_0x534316(0x1c6)]=_0x210a64,this[_0x534316(0x276)]=_0x14dd09,this[_0x534316(0x279)](j[_0x534316(0x1ad)](this['_univerInstanceService'][_0x534316(0x3dd)](a[_0x534316(0x1c1)][_0x534316(0x2ad)])[_0x534316(0x3b2)](W['map'](_0x5de043=>_0x5de043['getUnitId']())),this[_0x534316(0x1c6)][_0x534316(0x3dd)](a[_0x534316(0x1c1)]['UNIVER_DOC'])[_0x534316(0x3b2)](W[_0x534316(0x2d0)](_0x5b38ee=>_0x5b38ee[_0x534316(0x301)]())),this[_0x534316(0x1c6)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x534316(0x36d)])[_0x534316(0x3b2)](W[_0x534316(0x2d0)](_0x223ee4=>_0x223ee4[_0x534316(0x301)]())))[_0x534316(0x298)](_0x24c044=>this[_0x534316(0x366)](_0x24c044))));}[_0x42575d(0x1c5)](_0x554143){var _0x31cd76=_0x42575d;return this['_roomMembers'][_0x31cd76(0x3d3)](_0x554143)?j['of'](this[_0x31cd76(0x24c)]['get'](_0x554143)):this[_0x31cd76(0x3af)][_0x31cd76(0x3b2)](W[_0x31cd76(0x2d0)](_0x181c96=>{if(_0x181c96===_0x554143)return this['_roomMembers']['get'](_0x181c96);}));}[_0x42575d(0x320)](_0x4603d2){var _0x3ccda1=_0x42575d;this[_0x3ccda1(0x276)][_0x3ccda1(0x320)](_0x4603d2);}[_0x42575d(0x49c)](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0x35e626,_0x4030d0){var _0x1746d4=_0x42575d;let _0x379609=this['_roomMembers'][_0x1746d4(0x2ba)](_0x35e626);_0x379609||(_0x379609=new ri(),this[_0x1746d4(0x24c)][_0x1746d4(0x33c)](_0x35e626,_0x379609),this[_0x1746d4(0x3af)]['next'](_0x35e626)),_0x379609[_0x1746d4(0x406)](_0x4030d0);}[_0x42575d(0x42b)](_0x316aec,_0x18862a){var _0x3d6d3c=_0x42575d;const _0x34ea50=this[_0x3d6d3c(0x24c)][_0x3d6d3c(0x2ba)](_0x316aec);_0x34ea50&&_0x34ea50[_0x3d6d3c(0x42b)](_0x18862a);}[_0x42575d(0x1dc)](_0x3859fb){var _0x23001b=_0x42575d;return this[_0x23001b(0x24c)][_0x23001b(0x2ba)](_0x3859fb);}[_0x42575d(0x4a8)](_0x491c7f,_0x59603b){var _0x470dd6=_0x42575d;const _0x70bb38=this[_0x470dd6(0x24c)]['get'](_0x491c7f);if(_0x70bb38)return _0x70bb38['getMember'](_0x59603b);}[_0x42575d(0x366)](_0x3b2415){var _0x415826=_0x42575d;const _0x2e9e63=this[_0x415826(0x24c)]['get'](_0x3b2415);_0x2e9e63&&(_0x2e9e63[_0x415826(0x1e5)](),this[_0x415826(0x24c)]['delete'](_0x3b2415));}[_0x42575d(0x1e5)](){var _0x3d71d9=_0x42575d;this[_0x3d71d9(0x24c)]['forEach'](_0x3a9b33=>_0x3a9b33[_0x3d71d9(0x1e5)]()),this['_roomMembers'][_0x3d71d9(0x409)](),this[_0x3d71d9(0x3af)][_0x3d71d9(0x383)]();}},exports[_0x42575d(0x191)]=ni([Ke(0x0,a[_0x42575d(0x376)]),Ke(0x1,a['Inject'](a[_0x42575d(0x3a0)]))],exports[_0x42575d(0x191)]);class ri extends a['Disposable']{constructor(){var _0x44ae71=_0x42575d;super(...arguments),P(this,_0x44ae71(0x38a),new Map()),P(this,'_members$',new j['BehaviorSubject'](this[_0x44ae71(0x38a)])),P(this,'members$',this[_0x44ae71(0x186)][_0x44ae71(0x1bf)]());}[_0x42575d(0x1e5)](){var _0x49002f=_0x42575d;this[_0x49002f(0x38a)][_0x49002f(0x409)]();}[_0x42575d(0x406)](_0x2af6d4){var _0x393564=_0x42575d;this[_0x393564(0x38a)]['set'](_0x2af6d4[_0x393564(0x2ac)],_0x2af6d4),this['_emitMembers']();}[_0x42575d(0x42b)](_0x39553e){var _0x572403=_0x42575d;this[_0x572403(0x38a)]['delete'](_0x39553e);}[_0x42575d(0x4a8)](_0x18e642){var _0x288436=_0x42575d;return this[_0x288436(0x38a)]['get'](_0x18e642);}[_0x42575d(0x3ed)](){var _0x166d97=_0x42575d;return Array[_0x166d97(0x2ec)](this[_0x166d97(0x38a)]['values']());}['_emitMembers'](){var _0x5bdf91=_0x42575d;this[_0x5bdf91(0x186)][_0x5bdf91(0x364)](this[_0x5bdf91(0x38a)]);}}var si=Object[_0x42575d(0x493)],oi=(_0x34e2cd,_0x377b36,_0x2e1550,_0x521c4e)=>{var _0x405ed6=_0x42575d;for(var _0x2c7e20=_0x521c4e>0x1?void 0x0:_0x521c4e?si(_0x377b36,_0x2e1550):_0x377b36,_0x373a9d=_0x34e2cd[_0x405ed6(0x2e6)]-0x1,_0x4f6ac8;_0x373a9d>=0x0;_0x373a9d--)(_0x4f6ac8=_0x34e2cd[_0x373a9d])&&(_0x2c7e20=_0x4f6ac8(_0x2c7e20)||_0x2c7e20);return _0x2c7e20;},oe=(_0x10eb94,_0x20f3e8)=>(_0x5bea2d,_0x3e5219)=>_0x20f3e8(_0x5bea2d,_0x3e5219,_0x10eb94),se=(_0x3c6981=>(_0x3c6981[_0x3c6981['IDLE']=0x0]=_0x42575d(0x23d),_0x3c6981[_0x3c6981[_0x42575d(0x3fe)]=0x1]='JOINING',_0x3c6981[_0x3c6981['OFFLINE']=0x2]=_0x42575d(0x1e6),_0x3c6981[_0x3c6981[_0x42575d(0x274)]=0x3]=_0x42575d(0x274),_0x3c6981))(se||{});const Ye={[ae['FAIL']]:_0x42575d(0x44c),[ae[_0x42575d(0x2a2)]]:'session.room-full',[ae[_0x42575d(0x1ba)]]:_0x42575d(0x463),[ae[_0x42575d(0x327)]]:'session.room-permission-denied',[ae[_0x42575d(0x372)]]:_0x42575d(0x194)};exports[_0x42575d(0x2a5)]=class extends a[_0x42575d(0x18f)]{constructor(_0x1aecea,_0x212896,_0x373b9d,_0x1265f8,_0x46063d,_0x7f3d2a,_0x290152,_0x16612b,_0x282f17){var _0x3e2ed4=_0x42575d;super(),P(this,_0x3e2ed4(0x162),new j[(_0x3e2ed4(0x1d2))](0x0)),P(this,_0x3e2ed4(0x426),this[_0x3e2ed4(0x162)][_0x3e2ed4(0x1bf)]()),P(this,_0x3e2ed4(0x3c0),new j[(_0x3e2ed4(0x400))]()),P(this,'event$',this[_0x3e2ed4(0x3c0)]['asObservable']()),P(this,'_socket'),P(this,_0x3e2ed4(0x214)),P(this,'_collaborationTimeoutTimer'),P(this,_0x3e2ed4(0x28b),!0x1),P(this,_0x3e2ed4(0x428),null),(this['_unitID']=_0x1aecea,this[_0x3e2ed4(0x1db)]=_0x373b9d,this[_0x3e2ed4(0x1aa)]=_0x1265f8,this[_0x3e2ed4(0x2ff)]=_0x46063d,this['_memberService']=_0x7f3d2a,this[_0x3e2ed4(0x4a1)]=_0x290152,this[_0x3e2ed4(0x390)]=_0x16612b,this[_0x3e2ed4(0x34e)]=_0x282f17,this['_shouldReportTelemetry']=!!this[_0x3e2ed4(0x34e)],_0x212896[_0x3e2ed4(0x3b2)](j[_0x3e2ed4(0x290)](this['dispose$']))[_0x3e2ed4(0x298)](_0x346e18=>{var _0x28808c=_0x3e2ed4,_0x358fef;typeof _0x346e18>'u'||(this[_0x28808c(0x456)]=_0x346e18,_0x346e18?(this[_0x28808c(0x396)](_0x346e18),this[_0x28808c(0x214)]=_0x346e18[_0x28808c(0x343)]['subscribe'](_0x1cf214=>{var _0x1847db=_0x28808c;_0x1cf214[_0x1847db(0x1fe)]===this[_0x1847db(0x1d8)]&&this['_onCombEvent'](_0x1cf214);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x28808c(0x364)](0x2),(_0x358fef=this[_0x28808c(0x214)])==null||_0x358fef[_0x28808c(0x1ea)](),this['_socketMessageSubscription']=null));}));}get[_0x42575d(0x36c)](){var _0x2e2085=_0x42575d;return this['_sessionStatus$'][_0x2e2085(0x2a9)]();}[_0x42575d(0x45d)](){var _0xf3fe40=_0x42575d,_0x3305c9,_0x33e3a4;return(_0x33e3a4=(_0x3305c9=this[_0xf3fe40(0x456)])==null?void 0x0:_0x3305c9[_0xf3fe40(0x2ac)])!=null?_0x33e3a4:null;}[_0x42575d(0x1e5)](){var _0x3fca9e=_0x42575d;super['dispose'](),this[_0x3fca9e(0x156)][_0x3fca9e(0x364)](),this[_0x3fca9e(0x156)][_0x3fca9e(0x383)]();}[_0x42575d(0x205)](){var _0xbe7c5b=_0x42575d,_0x3fffb0,_0x581e9f;this[_0xbe7c5b(0x336)](),(_0x3fffb0=this[_0xbe7c5b(0x456)])==null||_0x3fffb0[_0xbe7c5b(0x41f)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0xbe7c5b(0x1d8)]}}),(_0x581e9f=this['_socket'])==null||_0x581e9f['close'](),this[_0xbe7c5b(0x3c0)]['complete'](),this[_0xbe7c5b(0x162)]['complete'](),this['dispose']();}[_0x42575d(0x1f9)](_0x3d99fb){var _0xcde989=_0x42575d;_0x3d99fb[_0xcde989(0x405)]===G[_0xcde989(0x34c)]?this[_0xcde989(0x486)](_0x3d99fb):_0x3d99fb[_0xcde989(0x405)]===G[_0xcde989(0x3fc)]&&this[_0xcde989(0x4b6)](_0x3d99fb);}['_joinRoom'](_0x42acca){var _0x58ab07=_0x42575d;this[_0x58ab07(0x162)][_0x58ab07(0x364)](0x1),_0x42acca[_0x58ab07(0x41f)]({'cmd':G['JOIN'],'routeKey':this[_0x58ab07(0x1d8)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x42575d(0x486)](_0x546210){var _0x5b630c=_0x42575d,_0x364590;if(_0x546210[_0x5b630c(0x2eb)]in Ye){this['_collaborationUIEventService'][_0x5b630c(0x2c8)]({'id':Q[_0x5b630c(0x21b)],'data':Ye[_0x546210[_0x5b630c(0x2eb)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x5b630c(0x162)][_0x5b630c(0x364)](0x3);const _0x2a5b9c=(_0x364590=_0x546210['data'][_0x5b630c(0x23c)][this[_0x5b630c(0x1d8)]])==null?void 0x0:_0x364590[_0x5b630c(0x46e)];_0x2a5b9c&&_0x2a5b9c[_0x5b630c(0x28c)](_0x452ac1=>this['_memberService'][_0x5b630c(0x406)](this['_unitID'],_0x452ac1));}[_0x42575d(0x4b6)](_0x34d5ac){var _0x2a3a75=_0x42575d;try{const _0x3ccd33=_0x34d5ac[_0x2a3a75(0x45c)];switch(_0x3ccd33[_0x2a3a75(0x36a)]){case g[_0x2a3a75(0x36f)]['USERS_ENTER']:this['_onUserJoin'](_0x3ccd33),this[_0x2a3a75(0x3c0)][_0x2a3a75(0x364)](_0x3ccd33);break;case g[_0x2a3a75(0x36f)][_0x2a3a75(0x24f)]:this[_0x2a3a75(0x471)](_0x3ccd33),this['_event$']['next'](_0x3ccd33);break;case g[_0x2a3a75(0x36f)][_0x2a3a75(0x3b1)]:case g[_0x2a3a75(0x36f)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x2a3a75(0x364)](_0x3ccd33);break;case g['CollaborationEvent'][_0x2a3a75(0x4b4)]:this[_0x2a3a75(0x1db)][_0x2a3a75(0x1c8)](_0x2a3a75(0x496)+JSON[_0x2a3a75(0x389)](_0x3ccd33)),this[_0x2a3a75(0x3c0)]['next'](_0x3ccd33);break;case g[_0x2a3a75(0x36f)]['COMMENT_UPDATE']:this[_0x2a3a75(0x4a1)]['onCommentUpdate'](_0x3ccd33[_0x2a3a75(0x45c)]),this[_0x2a3a75(0x3c0)]['next'](_0x3ccd33);break;default:this['_event$'][_0x2a3a75(0x364)](_0x3ccd33);}}catch(_0x302ecf){this[_0x2a3a75(0x1db)][_0x2a3a75(0x1c8)](_0x302ecf,_0x34d5ac);}}[_0x42575d(0x32d)](_0xe24472){var _0x427192=_0x42575d;this[_0x427192(0x24a)][_0x427192(0x406)](this[_0x427192(0x1d8)],_0xe24472['data']);}[_0x42575d(0x471)](_0x121f27){var _0x1a4a5d=_0x42575d;this[_0x1a4a5d(0x24a)][_0x1a4a5d(0x42b)](this['_unitID'],_0x121f27[_0x1a4a5d(0x45c)]['memberID']);}async[_0x42575d(0x41f)](_0xfc7ec3,_0x27801e){var _0x95cece=_0x42575d;if(this[_0x95cece(0x36c)]!==0x3||!this[_0x95cece(0x456)])throw new Error(_0x95cece(0x37a));try{_0xfc7ec3[_0x95cece(0x36a)]===g[_0x95cece(0x36f)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x95cece(0x4ad)](_0xfc7ec3)),this[_0x95cece(0x456)][_0x95cece(0x41f)]({'cmd':G[_0x95cece(0x319)],'routeKey':_0x27801e,'routeType':'','data':_0xfc7ec3});}catch(_0x42245b){this['_logService'][_0x95cece(0x1c8)](_0x42245b);}}[_0x42575d(0x30a)](){var _0x49a173=_0x42575d,_0x157281;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3c67f7=_0x1588;this['_collaborationTimeoutTimer']=null,this[_0x3c67f7(0x390)][_0x3c67f7(0x2c8)]({'id':Q[_0x3c67f7(0x209)]});},(_0x157281=this[_0x49a173(0x1aa)][_0x49a173(0x4b5)](je))!=null?_0x157281:gt);}[_0x42575d(0x46b)](){var _0x25832a=_0x42575d;this[_0x25832a(0x418)]&&(clearTimeout(this[_0x25832a(0x418)]),this[_0x25832a(0x418)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x333b52){var _0x44df9e=_0x42575d;if(!this[_0x44df9e(0x28b)])return;const {data:_0x27424b}=_0x333b52,{unitID:_0x2e0c3c,changeset:_0x71d28}=_0x27424b,{mutations:_0x41acbc,type:_0x24399f}=_0x71d28;this[_0x44df9e(0x428)]={'unitId':_0x2e0c3c,'type':_0x24399f,'startTime':performance[_0x44df9e(0x2df)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x41acbc)};}[_0x42575d(0x454)](){var _0xddb548=_0x42575d;if(this['_shouldReportTelemetry']){if(!this[_0xddb548(0x428)]){this[_0xddb548(0x1db)]['error']('[CollaborationSession]',_0xddb548(0x221));return;}this['_telemetryInfo'][_0xddb548(0x2fe)]=performance['now'](),this['_telemetryInfo'][_0xddb548(0x15a)]=this['_telemetryInfo'][_0xddb548(0x2fe)]-this[_0xddb548(0x428)][_0xddb548(0x44f)],this[_0xddb548(0x34e)][_0xddb548(0x239)](ei,this[_0xddb548(0x428)]),this[_0xddb548(0x428)]=null;}}[_0x42575d(0x336)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x42575d(0x1f8)]),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a[_0x42575d(0x254)](exports[_0x42575d(0x191)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x42575d(0x254)](te)),oe(0x8,a[_0x42575d(0x473)](Mt[_0x42575d(0x2bc)]))],exports[_0x42575d(0x2a5)]);var ai=Object[_0x42575d(0x493)],ci=(_0x53068d,_0x2629bd,_0x301359,_0x141574)=>{for(var _0x412205=_0x141574>0x1?void 0x0:_0x141574?ai(_0x2629bd,_0x301359):_0x2629bd,_0x2d7fb3=_0x53068d['length']-0x1,_0x1083b4;_0x2d7fb3>=0x0;_0x2d7fb3--)(_0x1083b4=_0x53068d[_0x2d7fb3])&&(_0x412205=_0x1083b4(_0x412205)||_0x412205);return _0x412205;},le=(_0x2c1b96,_0x2f2d1b)=>(_0x247dfc,_0x75cf41)=>_0x2f2d1b(_0x247dfc,_0x75cf41,_0x2c1b96);exports[_0x42575d(0x264)]=class extends a[_0x42575d(0x350)]{constructor(_0xc544e7,_0x5e8e06,_0x1ede03,_0x12e871,_0x5310fa,_0x21d344){var _0x5c83cf=_0x42575d;super(),P(this,'_socket$',new j[(_0x5c83cf(0x1d2))](void 0x0)),P(this,_0x5c83cf(0x404),this['_socket$'][_0x5c83cf(0x1bf)]()),P(this,_0x5c83cf(0x1cc),null),P(this,_0x5c83cf(0x392),new Map()),P(this,'_status$',new j['BehaviorSubject'](se['IDLE'])),P(this,_0x5c83cf(0x46a),this[_0x5c83cf(0x304)]['asObservable']()),P(this,_0x5c83cf(0x4a5),!0x1),P(this,_0x5c83cf(0x159)),P(this,_0x5c83cf(0x192),0x0),P(this,_0x5c83cf(0x1b6)),P(this,_0x5c83cf(0x22d)),(this['_injector']=_0xc544e7,this[_0x5c83cf(0x1db)]=_0x5e8e06,this[_0x5c83cf(0x1aa)]=_0x1ede03,this['_socketService']=_0x12e871,this[_0x5c83cf(0x390)]=_0x5310fa,this[_0x5c83cf(0x317)]=_0x21d344,this['_listenToNetworkCondition']());}get[_0x42575d(0x456)](){var _0x5f5c08=_0x42575d;return this[_0x5f5c08(0x1fd)]['getValue']();}[_0x42575d(0x2e4)](){var _0x28cd54=_0x42575d;this[_0x28cd54(0x317)]&&this[_0x28cd54(0x279)](this['_networkConditionService']['online$'][_0x28cd54(0x298)](_0x3a057d=>{var _0x2985cf=_0x28cd54;_0x3a057d&&!this[_0x2985cf(0x456)]&&this[_0x2985cf(0x1ef)](),_0x3a057d||this[_0x2985cf(0x4a2)]();}));}[_0x42575d(0x1e5)](){var _0x35724d=_0x42575d;super[_0x35724d(0x1e5)](),this[_0x35724d(0x258)](),this[_0x35724d(0x468)](),this[_0x35724d(0x296)](),this[_0x35724d(0x392)][_0x35724d(0x28c)](_0x26a262=>_0x26a262[_0x35724d(0x1e5)]()),this[_0x35724d(0x392)][_0x35724d(0x409)](),this[_0x35724d(0x304)]['complete']();}async[_0x42575d(0x44e)](_0x5e8624){var _0x4b2afc=_0x42575d;if(this[_0x4b2afc(0x392)][_0x4b2afc(0x3d3)](_0x5e8624))return this[_0x4b2afc(0x392)][_0x4b2afc(0x2ba)](_0x5e8624);this[_0x4b2afc(0x247)]();const _0x461356=this['_injector'][_0x4b2afc(0x3d1)](exports[_0x4b2afc(0x2a5)],_0x5e8624,this['_socket$'][_0x4b2afc(0x1bf)]());return this[_0x4b2afc(0x392)][_0x4b2afc(0x33c)](_0x5e8624,_0x461356),_0x461356;}[_0x42575d(0x1a1)](_0x4c7563){var _0x40358d=_0x42575d,_0x101ec0;const _0x3ed422=this['_sessions'][_0x40358d(0x2ba)](_0x4c7563);_0x3ed422&&(this[_0x40358d(0x392)][_0x40358d(0x29b)](_0x4c7563),_0x3ed422['close']()),this['_sessions'][_0x40358d(0x242)]||(_0x101ec0=this[_0x40358d(0x456)])==null||_0x101ec0[_0x40358d(0x205)]();}[_0x42575d(0x1ef)](){var _0x5c44bb=_0x42575d;this[_0x5c44bb(0x192)]=0x0,this[_0x5c44bb(0x258)](),this[_0x5c44bb(0x235)]();}[_0x42575d(0x258)](){var _0x210183=_0x42575d;this[_0x210183(0x159)]!=null&&(clearTimeout(this[_0x210183(0x159)]),this['_retryConnectingTimer']=null);}async[_0x42575d(0x34d)](){var _0xd68de7=_0x42575d,_0x4ebc22,_0x254b0e;const _0x5884c8=this[_0xd68de7(0x1aa)][_0xd68de7(0x4b5)](St),_0x2547d1=this[_0xd68de7(0x1aa)][_0xd68de7(0x4b5)](Y),_0x4423b3=(_0x254b0e=(_0x4ebc22=_0x2547d1==null?void 0x0:_0x2547d1['collabWebSocketUrl'])!=null?_0x4ebc22:_0x5884c8)!=null?_0x254b0e:ft,_0x1fad34=await this[_0xd68de7(0x17c)][_0xd68de7(0x467)](_0x4423b3);return this[_0xd68de7(0x1cc)]=_0x1fad34,_0x1fad34;}async[_0x42575d(0x247)](){var _0x426e60=_0x42575d,_0x2b403d,_0x59b68c;try{const _0x500505=(_0x59b68c=(_0x2b403d=this[_0x426e60(0x456)])!=null?_0x2b403d:this[_0x426e60(0x1cc)])!=null?_0x59b68c:await this[_0x426e60(0x34d)]();if(_0x500505){const _0x31c959=_0x500505[_0x426e60(0x41f)];_0x500505[_0x426e60(0x41f)]=_0x3c5c84=>(this['_rescheduleHeartbeat'](),_0x31c959['apply'](_0x500505,[_0x3c5c84])),_0x500505[_0x426e60(0x343)]['subscribe'](_0x4aa9c3=>this['_onMessage'](_0x500505,_0x4aa9c3)),_0x500505[_0x426e60(0x391)]['pipe'](W['take'](0x1))['subscribe'](_0x4009ec=>this[_0x426e60(0x1db)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4009ec)),_0x500505[_0x426e60(0x272)]['pipe'](W['take'](0x1))[_0x426e60(0x298)](()=>{this['_onConnectionOpen'](_0x500505);}),_0x500505[_0x426e60(0x44d)]['pipe'](W['take'](0x1))['subscribe'](_0x4ddf71=>{var _0x15a03b=_0x426e60;this[_0x15a03b(0x1db)]['debug']('[CollaborationSessionService]','socket\x20close',_0x4ddf71),this[_0x15a03b(0x32e)]();});}}catch(_0xdcd452){this[_0x426e60(0x1db)][_0x426e60(0x1c8)](_0xdcd452),this[_0x426e60(0x32e)]();}}[_0x42575d(0x29f)](_0xa45066){var _0x19688f=_0x42575d;this[_0x19688f(0x1db)]['debug']('[CollaborationSessionService]',_0x19688f(0x2f2)),_0xa45066[_0x19688f(0x41f)]({'cmd':G[_0x19688f(0x234)]}),this[_0x19688f(0x417)]();}[_0x42575d(0x4a2)](){var _0x38f49f=_0x42575d;this[_0x38f49f(0x4a5)]=!0x1,this[_0x38f49f(0x1cc)]=null,this[_0x38f49f(0x304)][_0x38f49f(0x364)](se['OFFLINE']),this[_0x38f49f(0x1fd)][_0x38f49f(0x364)](null),this[_0x38f49f(0x468)](),this[_0x38f49f(0x296)]();}[_0x42575d(0x32e)](){var _0x3e7477=_0x42575d,_0x536042;this[_0x3e7477(0x4a2)](),this['_retryCount']<((_0x536042=this[_0x3e7477(0x1aa)][_0x3e7477(0x4b5)](mt))!=null?_0x536042:Wt)?(this[_0x3e7477(0x390)][_0x3e7477(0x2c8)]({'id':Q[_0x3e7477(0x1a0)]}),this[_0x3e7477(0x235)]()):this[_0x3e7477(0x390)]['emitEvent']({'id':Q[_0x3e7477(0x17f)]});}[_0x42575d(0x235)](){var _0x5e5b4f=_0x42575d,_0x15b311;const _0x29fa42=this[_0x5e5b4f(0x192)],_0x4b5a7b=this[_0x5e5b4f(0x1aa)][_0x5e5b4f(0x4b5)](Y),_0x4ee4c7=_0x29fa42===0x0?0x0:((_0x15b311=_0x4b5a7b==null?void 0x0:_0x4b5a7b['retryConnectingInterval'])!=null?_0x15b311:Ft)*0x2**_0x29fa42;this[_0x5e5b4f(0x159)]=setTimeout(()=>{var _0x18ee44=_0x5e5b4f;clearTimeout(this[_0x18ee44(0x159)]),this[_0x18ee44(0x159)]=null,this[_0x18ee44(0x247)]();},_0x4ee4c7),this[_0x5e5b4f(0x192)]+=0x1;}[_0x42575d(0x1e0)](_0x44de28,_0x3c9b0b){var _0x29c92f=_0x42575d;const {cmd:_0x4548f5}=_0x3c9b0b;_0x4548f5===G['HELLO']&&!this[_0x29c92f(0x4a5)]&&(_0x44de28['memberID']=_0x3c9b0b[_0x29c92f(0x45c)][_0x29c92f(0x2ac)],this[_0x29c92f(0x1fd)]['next'](_0x44de28),this[_0x29c92f(0x304)][_0x29c92f(0x364)](se[_0x29c92f(0x274)]),this[_0x29c92f(0x4a5)]=!0x0,this[_0x29c92f(0x1cc)]=null),_0x4548f5===G[_0x29c92f(0x202)]&&this[_0x29c92f(0x468)](),this[_0x29c92f(0x417)]();}[_0x42575d(0x417)](){var _0x3167ca=_0x42575d,_0x2d917d;this[_0x3167ca(0x296)](),this[_0x3167ca(0x1b6)]=setTimeout(()=>this[_0x3167ca(0x46d)](),(_0x2d917d=this['_configService'][_0x3167ca(0x4b5)](pt))!=null?_0x2d917d:Bt);}[_0x42575d(0x46d)](){var _0xcee7cb=_0x42575d;this[_0xcee7cb(0x456)][_0xcee7cb(0x41f)]({'cmd':G['HEARTBEAT']}),this[_0xcee7cb(0x446)]();}[_0x42575d(0x446)](){var _0x5dbcfb=_0x42575d,_0xf1db6e;this[_0x5dbcfb(0x22d)]=setTimeout(()=>this[_0x5dbcfb(0x32e)](),(_0xf1db6e=this[_0x5dbcfb(0x1aa)]['getConfig'](je))!=null?_0xf1db6e:gt);}[_0x42575d(0x296)](){var _0x55b84=_0x42575d;this[_0x55b84(0x1b6)]!=null&&(clearTimeout(this[_0x55b84(0x1b6)]),this['_sendHeartbeatTimer']=null);}[_0x42575d(0x468)](){var _0x9bec6f=_0x42575d;this[_0x9bec6f(0x22d)]!=null&&(clearTimeout(this[_0x9bec6f(0x22d)]),this['_timeoutTimer']=null);}},exports[_0x42575d(0x264)]=ci([le(0x0,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),le(0x1,a[_0x42575d(0x3d7)]),le(0x2,a[_0x42575d(0x1f8)]),le(0x3,$e),le(0x4,a[_0x42575d(0x254)](te)),le(0x5,a[_0x42575d(0x473)](bt))],exports[_0x42575d(0x264)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x42575d(0x21e)]((n+0x100)[_0x42575d(0x22c)](0x10)[_0x42575d(0x4b2)](0x1));function hi(_0x278cb3,_0x2f8bf3=0x0){var _0x1bf1f8=_0x42575d;return(V[_0x278cb3[_0x2f8bf3+0x0]]+V[_0x278cb3[_0x2f8bf3+0x1]]+V[_0x278cb3[_0x2f8bf3+0x2]]+V[_0x278cb3[_0x2f8bf3+0x3]]+'-'+V[_0x278cb3[_0x2f8bf3+0x4]]+V[_0x278cb3[_0x2f8bf3+0x5]]+'-'+V[_0x278cb3[_0x2f8bf3+0x6]]+V[_0x278cb3[_0x2f8bf3+0x7]]+'-'+V[_0x278cb3[_0x2f8bf3+0x8]]+V[_0x278cb3[_0x2f8bf3+0x9]]+'-'+V[_0x278cb3[_0x2f8bf3+0xa]]+V[_0x278cb3[_0x2f8bf3+0xb]]+V[_0x278cb3[_0x2f8bf3+0xc]]+V[_0x278cb3[_0x2f8bf3+0xd]]+V[_0x278cb3[_0x2f8bf3+0xe]]+V[_0x278cb3[_0x2f8bf3+0xf]])[_0x1bf1f8(0x43d)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x2a6a37=_0x42575d;if(!Ue){if(typeof crypto>'u'||!crypto[_0x2a6a37(0x15c)])throw new Error(_0x2a6a37(0x3f5));Ue=crypto['getRandomValues'][_0x2a6a37(0x237)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x42575d(0x3ab)]&&crypto[_0x42575d(0x3ab)][_0x42575d(0x237)](crypto),qe={'randomUUID':ui};function di(_0x2bd8be,_0x247edf,_0x7dacd3){var _0x3567ab=_0x42575d,_0x3bf6c0,_0x267037,_0x3da921;if(qe[_0x3567ab(0x3ab)]&&!_0x2bd8be)return qe[_0x3567ab(0x3ab)]();_0x2bd8be=_0x2bd8be||{};const _0x156e4a=(_0x3da921=(_0x267037=_0x2bd8be[_0x3567ab(0x3e7)])!=null?_0x267037:(_0x3bf6c0=_0x2bd8be[_0x3567ab(0x448)])==null?void 0x0:_0x3bf6c0['call'](_0x2bd8be))!=null?_0x3da921:_i();if(_0x156e4a[_0x3567ab(0x2e6)]<0x10)throw new Error(_0x3567ab(0x16e));return _0x156e4a[0x6]=_0x156e4a[0x6]&0xf|0x40,_0x156e4a[0x8]=_0x156e4a[0x8]&0x3f|0x80,hi(_0x156e4a);}const z=a['createIdentifier'](_0x42575d(0x2b0));function vi(_0x33359a){var _0x196dc3=_0x42575d;return _0x196dc3(0x498)+_0x33359a;}var Si=Object[_0x42575d(0x493)],fi=(_0xcef308,_0x485c91,_0x38bd1f,_0x32318e)=>{var _0x3b5a23=_0x42575d;for(var _0x1de102=_0x32318e>0x1?void 0x0:_0x32318e?Si(_0x485c91,_0x38bd1f):_0x485c91,_0x2bc8d2=_0xcef308[_0x3b5a23(0x2e6)]-0x1,_0x5c3c94;_0x2bc8d2>=0x0;_0x2bc8d2--)(_0x5c3c94=_0xcef308[_0x2bc8d2])&&(_0x1de102=_0x5c3c94(_0x1de102)||_0x1de102);return _0x1de102;},Pe=(_0x2999ce,_0x392156)=>(_0x2523b4,_0x1eced7)=>_0x392156(_0x2523b4,_0x1eced7,_0x2999ce);function pi(_0x483ecb){var _0x38f05b=_0x42575d;const {unitID:_0x133312,mutations:_0x2ce0ae}=_0x483ecb;return{'unitId':_0x133312,'subUnitId':_0x2ce0ae[0x0][_0x38f05b(0x403)][_0x38f05b(0x1f5)]};}exports[_0x42575d(0x183)]=class{constructor(_0x4608e0,_0x16c459,_0x3ddbda){var _0x21ec19=_0x42575d;this[_0x21ec19(0x1c7)]=_0x4608e0,this[_0x21ec19(0x3c9)]=_0x16c459,this[_0x21ec19(0x1a5)]=_0x3ddbda;}['transformSelections'](_0x19d6cb){var _0xbe0b5c=_0x42575d,_0x2631bc,_0x5d4b77,_0x1b6ea0,_0x1070ed;const _0x34d806=this[_0xbe0b5c(0x1c7)][_0xbe0b5c(0x2ba)](Z[_0xbe0b5c(0x1c4)]),{unitId:_0x375a53,subUnitId:_0x5d9009}=pi(_0x19d6cb),_0x462d8b=_0x34d806==null?void 0x0:_0x34d806['getWorkbookSelections'](_0x375a53)[_0xbe0b5c(0x168)](),_0x17d817=(_0x5d4b77=(_0x2631bc=this[_0xbe0b5c(0x1a5)][_0xbe0b5c(0x22b)](_0x375a53))==null?void 0x0:_0x2631bc['getActiveSheet']())==null?void 0x0:_0x5d4b77[_0xbe0b5c(0x47a)]();if(_0x462d8b['length']===0x0||!_0x375a53||!_0x5d9009)return;const _0x543ec0=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x375a53,'subUnitId':_0x17d817,'selections':a[_0xbe0b5c(0x34b)][_0xbe0b5c(0x347)](_0x462d8b)}}],_0x171579=this[_0xbe0b5c(0x3c9)][_0xbe0b5c(0x34f)](_0x19d6cb,_0x543ec0);if(!g[_0xbe0b5c(0x2a4)](_0x171579))throw _0x171579[_0xbe0b5c(0x1c8)];const _0x110703=(_0x1070ed=(_0x1b6ea0=_0x171579[_0xbe0b5c(0x19a)][0x0])==null?void 0x0:_0x1b6ea0[_0xbe0b5c(0x403)])==null?void 0x0:_0x1070ed[_0xbe0b5c(0x3d2)];if(Array[_0xbe0b5c(0x200)](_0x110703)&&_0x110703[_0xbe0b5c(0x2e6)]){if(_0x110703[_0xbe0b5c(0x2e6)]===_0x543ec0[0x0][_0xbe0b5c(0x403)][_0xbe0b5c(0x3d2)][_0xbe0b5c(0x2e6)]&&_0x110703['every']((_0x52fb9c,_0x1c13b1)=>a['Rectangle'][_0xbe0b5c(0x1d9)](_0x52fb9c[_0xbe0b5c(0x37b)],_0x543ec0[0x0]['params'][_0xbe0b5c(0x3d2)][_0x1c13b1][_0xbe0b5c(0x37b)])))return;this[_0xbe0b5c(0x1c7)][_0xbe0b5c(0x2ba)](a[_0xbe0b5c(0x2e8)])[_0xbe0b5c(0x222)](Z[_0xbe0b5c(0x346)]['id'],{'unitId':_0x375a53,'subUnitId':_0x17d817,'selections':_0x110703});}}},exports[_0x42575d(0x183)]=fi([Pe(0x0,a['Inject'](a[_0x42575d(0x2b8)])),Pe(0x1,g[_0x42575d(0x206)]),Pe(0x2,a[_0x42575d(0x376)])],exports[_0x42575d(0x183)]);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x119b80=>(_0x119b80[_0x119b80['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x42575d(0x284),_0x119b80[_0x119b80[_0x42575d(0x3aa)]=0x1]=_0x42575d(0x3aa),_0x119b80))(Fe||{});const gi=new Set([Z[_0x42575d(0x32c)]['id']]);function ze(_0x3ecce0,_0x5e4147,_0x5d653c,_0x44d899,_0x53c8e1){var _0x1e2ee4=_0x42575d,_0x85a068,_0x3633f0,_0x5a6df6,_0x23cf16;const _0x3739f4=[];for(const _0x1c9d0a of _0x3ecce0)if(gi[_0x1e2ee4(0x3d3)](_0x1c9d0a['id'])){if(_0x3739f4[_0x1e2ee4(0x2e6)]>0x0)break;_0x3739f4[_0x1e2ee4(0x21e)](_0x1c9d0a);break;}else _0x3739f4[_0x1e2ee4(0x21e)](_0x1c9d0a);const _0x274329=(_0x3633f0=(_0x85a068=_0x53c8e1[_0x1e2ee4(0x49c)]())==null?void 0x0:_0x85a068[_0x1e2ee4(0x17d)])!=null?_0x3633f0:_0x1e2ee4(0x357),_0x16b7f4=(_0x23cf16=(_0x5a6df6=_0x53c8e1[_0x1e2ee4(0x49c)]())==null?void 0x0:_0x5a6df6[_0x1e2ee4(0x2ac)])!=null?_0x23cf16:_0x1e2ee4(0x357);return{'changeset':{'unitID':_0x5e4147,'type':g[_0x1e2ee4(0x259)](_0x5d653c[_0x1e2ee4(0x22e)](_0x5e4147)),'baseRev':_0x44d899[_0x1e2ee4(0x3a4)](_0x5e4147),'revision':0x0,'userID':_0x274329,'memberID':_0x16b7f4,'mutations':_0x3739f4},'pendingMutations':_0x3ecce0[_0x1e2ee4(0x4b2)](_0x3739f4[_0x1e2ee4(0x2e6)])};}function mi(_0x1abd08,_0x171714,_0x5f0f11,_0x1789ca,_0x494ca0){var _0x123a70=_0x42575d,_0x36d950,_0x345c72,_0x59ee76,_0x731a2f;const _0x38539a=[_0x1abd08[_0x123a70(0x408)]((_0x5b55a3,_0x255acc)=>{var _0x593e90=_0x123a70,_0xa90824;const {id:_0x15281f}=_0x5b55a3,{id:_0x457f8c,type:_0x28ea47}=_0x255acc,_0x23e2be=(_0xa90824=_0x5b55a3[_0x593e90(0x403)])!=null?_0xa90824:{'actions':null},_0x4182ea=_0x255acc['params'];if(_0x15281f&&_0x15281f!==_0x457f8c)throw new Error(_0x593e90(0x226)+_0x15281f+_0x593e90(0x326)+_0x457f8c+'.');return{..._0x5b55a3,'id':_0x457f8c,'type':_0x28ea47,'params':{'unitId':_0x4182ea[_0x593e90(0x361)],'textRanges':_0x4182ea[_0x593e90(0x1a8)],'actions':a[_0x593e90(0x2e1)][_0x593e90(0x1b5)](_0x23e2be[_0x593e90(0x27f)],_0x4182ea['actions'])}};},{})],_0x43227a=(_0x345c72=(_0x36d950=_0x494ca0[_0x123a70(0x49c)]())==null?void 0x0:_0x36d950['userID'])!=null?_0x345c72:_0x123a70(0x357),_0x1a9b55=(_0x731a2f=(_0x59ee76=_0x494ca0[_0x123a70(0x49c)]())==null?void 0x0:_0x59ee76[_0x123a70(0x2ac)])!=null?_0x731a2f:_0x123a70(0x357);return{'changeset':{'unitID':_0x171714,'type':g[_0x123a70(0x259)](_0x5f0f11[_0x123a70(0x22e)](_0x171714)),'baseRev':_0x1789ca[_0x123a70(0x3a4)](_0x171714),'revision':0x0,'userID':_0x43227a,'memberID':_0x1a9b55,'mutations':_0x38539a},'pendingMutations':[]};}function Ot(_0x1f945c,_0x4fb5dc){var _0xdc7165=_0x42575d;const _0x35dce5=new j[(_0xdc7165(0x157))](0x1);return setTimeout(()=>_0x35dce5[_0xdc7165(0x364)](_0x4fb5dc),_0x1f945c),_0x35dce5[_0xdc7165(0x1bf)]()[_0xdc7165(0x3b2)](j[_0xdc7165(0x17a)](0x1));}const Ii={'id':Z[_0x42575d(0x30c)]['id'],'type':a[_0x42575d(0x1b4)][_0x42575d(0x437)],'params':{}};var Ei=Object[_0x42575d(0x493)],ce=(_0xffb0a,_0x406a86,_0x3370e1,_0x3dfe97)=>{var _0x208227=_0x42575d;for(var _0x24b983=_0x3dfe97>0x1?void 0x0:_0x3dfe97?Ei(_0x406a86,_0x3370e1):_0x406a86,_0x3e4efa=_0xffb0a[_0x208227(0x2e6)]-0x1,_0xe85720;_0x3e4efa>=0x0;_0x3e4efa--)(_0xe85720=_0xffb0a[_0x3e4efa])&&(_0x24b983=_0xe85720(_0x24b983)||_0x24b983);return _0x24b983;},w=(_0x3bc8ab,_0x1dfe5e)=>(_0x300d25,_0x4061f6)=>_0x1dfe5e(_0x300d25,_0x4061f6,_0x3bc8ab),We=(_0x318f64=>(_0x318f64['NOT_COLLAB']=_0x42575d(0x250),_0x318f64['SYNCED']=_0x42575d(0x348),_0x318f64[_0x42575d(0x340)]='pending',_0x318f64[_0x42575d(0x158)]=_0x42575d(0x303),_0x318f64[_0x42575d(0x449)]=_0x42575d(0x1ec),_0x318f64[_0x42575d(0x1c9)]=_0x42575d(0x28e),_0x318f64[_0x42575d(0x352)]=_0x42575d(0x386),_0x318f64[_0x42575d(0x1e6)]='offline',_0x318f64))(We||{});const Nt=0xea60;class he{constructor(_0xdb6eaf,_0x22dece,_0x495b76,_0x25b654,_0x242939,_0xfa7748,_0x3e0c5c,_0x2a919b,_0x16e4fe){var _0x581b84=_0x42575d;P(this,_0x581b84(0x2dd),null),P(this,'_pendingMutations',[]),(this[_0x581b84(0x1cb)]=_0xdb6eaf,this[_0x581b84(0x14c)]=_0x22dece,this[_0x581b84(0x33a)]=_0x242939,this[_0x581b84(0x1d1)]=_0xfa7748,this['_undoRedoService']=_0x3e0c5c,this[_0x581b84(0x225)]=_0x2a919b,this['_localCacheService']=_0x16e4fe,this[_0x581b84(0x2dd)]=_0x495b76,this['_pendingMutations']=_0x25b654);}[_0x42575d(0x2a3)](_0xa70916){var _0x51540b=_0x42575d;const _0x221511=this[_0x51540b(0x225)][_0x51540b(0x3a4)](this[_0x51540b(0x1cb)]);return _0xa70916['revision']>_0x221511+0x1?(this[_0x51540b(0x33a)]['onMissingChangesets']({'from':_0x221511,'to':_0xa70916[_0x51540b(0x18d)]-0x1}),!0x0):!0x1;}[_0x42575d(0x3d8)](_0x23c61f){var _0x345239=_0x42575d;this[_0x345239(0x380)]['transformUndoRedo'](this[_0x345239(0x1cb)],_0x23c61f);}[_0x42575d(0x4a6)](_0x3e88eb){var _0x29dcd8=_0x42575d,_0x352117,_0x3e4237;(_0x3e4237=(_0x352117=this[_0x29dcd8(0x33a)])[_0x29dcd8(0x41b)])==null||_0x3e4237[_0x29dcd8(0x26a)](_0x352117,_0x3e88eb);}['_transformIMECache'](_0x5d962b){var _0xde766c=_0x42575d,_0x42b9cf,_0x5ad30a;return(_0x5ad30a=(_0x42b9cf=this['_handler'])[_0xde766c(0x394)])==null?void 0x0:_0x5ad30a[_0xde766c(0x26a)](_0x42b9cf,_0x5d962b);}['_transformStateCache'](_0x526635){var _0x229f3e=_0x42575d,_0x3a7ed8,_0x32ca5f;return(_0x32ca5f=(_0x3a7ed8=this[_0x229f3e(0x33a)])[_0x229f3e(0x19e)])==null?void 0x0:_0x32ca5f[_0x229f3e(0x26a)](_0x3a7ed8,_0x526635);}[_0x42575d(0x3e5)](_0x17d826){var _0x4a9b86=_0x42575d,_0x156931,_0x23b9a4,_0x150423;return(_0x150423=(_0x23b9a4=(_0x156931=this[_0x4a9b86(0x33a)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x23b9a4['call'](_0x156931,_0x17d826))!=null?_0x150423:_0x17d826;}[_0x42575d(0x45a)](_0x51e3c9){var _0x5206cf=_0x42575d,_0x11d6b0,_0x41d04a,_0x28f72d;return(_0x28f72d=(_0x41d04a=(_0x11d6b0=this[_0x5206cf(0x33a)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x41d04a[_0x5206cf(0x26a)](_0x11d6b0,_0x51e3c9))!=null?_0x28f72d:_0x51e3c9;}[_0x42575d(0x2d3)](_0x113213){var _0x563763=_0x42575d,_0xfa5b67,_0x257a31;if(this[_0x563763(0x14c)]===X[_0x563763(0x338)]){const {unitID:_0x1cd980,mutations:_0x2fe7d4,memberID:_0x46698d}=_0x113213,_0x51954a=_0x2fe7d4[0x0]['params'][_0x563763(0x1a8)];Array[_0x563763(0x200)](_0x51954a)&&_0x51954a[_0x563763(0x2e6)]>0x0&&((_0x257a31=(_0xfa5b67=this[_0x563763(0x33a)])[_0x563763(0x412)])==null||_0x257a31[_0x563763(0x26a)](_0xfa5b67,{'unitID':_0x1cd980,'memberID':_0x46698d,'textRanges':_0x51954a}));}}['_updateLocalCache'](){var _0x6c0622=_0x42575d,_0x36bdc8;(_0x36bdc8=this['_localCacheService'])==null||_0x36bdc8[_0x6c0622(0x41c)](this[_0x6c0622(0x1cb)],this[_0x6c0622(0x14c)],this[_0x6c0622(0x2dd)],this[_0x6c0622(0x1c3)]);}[_0x42575d(0x369)](){var _0x33ac1c=_0x42575d;return this['_revisionService'][_0x33ac1c(0x3a4)](this[_0x33ac1c(0x1cb)]);}['_incrementRevisionNumber'](){var _0x37a79d=_0x42575d;this[_0x37a79d(0x225)][_0x37a79d(0x499)](this[_0x37a79d(0x1cb)]);}[_0x42575d(0x3da)](_0x456fe9){var _0x38bb4a=_0x42575d,_0x15b18a;let _0x4a9310=this['_transformRemoteChangesetByIMECache'](_0x456fe9);_0x4a9310=this[_0x38bb4a(0x45a)](_0x4a9310);const _0x62c493=a[_0x38bb4a(0x288)](_0x4a9310[_0x38bb4a(0x2cc)],this[_0x38bb4a(0x1d1)],{'fromCollab':!0x0});if(!_0x62c493['result'])throw _0x62c493[_0x38bb4a(0x1c8)]instanceof Error?_0x62c493[_0x38bb4a(0x1c8)]:new Error((_0x15b18a=_0x62c493[_0x38bb4a(0x1c8)])!=null?_0x15b18a:'[CollaborationState]:\x20apply\x20error!');this[_0x38bb4a(0x1ff)](_0x4a9310),this[_0x38bb4a(0x1e8)](_0x4a9310),this['_transformUndoredo'](_0x456fe9),this[_0x38bb4a(0x4a6)](_0x4a9310),this[_0x38bb4a(0x2d3)](_0x4a9310),this['_incrementRevisionNumber']();}}exports[_0x42575d(0x33b)]=class extends he{constructor(_0x17468d,_0x100029,_0x5519d5,_0x23f770,_0x23736f,_0x3fc3b3,_0x2b7857,_0x1b62f5,_0xbde827,_0x353ab2){var _0x157d5d=_0x42575d;super(_0x17468d,_0x100029,null,[],_0x5519d5,_0x2b7857,_0x3fc3b3,_0x23f770,_0x353ab2),P(this,_0x157d5d(0x4b8),_0x157d5d(0x348)),(this[_0x157d5d(0x1c7)]=_0x23736f,this['_logService']=_0x1b62f5,this[_0x157d5d(0x3c9)]=_0xbde827,this['localCacheService']=_0x353ab2);}[_0x42575d(0x3ec)](_0x4370fb){var _0x3f6b49=_0x42575d;const _0x3cced7=this[_0x3f6b49(0x1c7)][_0x3f6b49(0x3d1)](exports[_0x3f6b49(0x42c)],this[_0x3f6b49(0x1cb)],this[_0x3f6b49(0x14c)],[_0x4370fb],this['_handler']);return _0x3cced7[_0x3f6b49(0x37e)](),_0x3cced7[_0x3f6b49(0x23b)](),_0x3cced7;}[_0x42575d(0x245)](_0x1a9f3c){var _0x32d756=_0x42575d;if(this[_0x32d756(0x2a3)](_0x1a9f3c))return this[_0x32d756(0x1c7)][_0x32d756(0x3d1)](exports[_0x32d756(0x24d)],this[_0x32d756(0x1cb)],this[_0x32d756(0x14c)],null,[],null,[_0x1a9f3c],this[_0x32d756(0x33a)]);try{const _0xa52c71=this[_0x32d756(0x3c9)][_0x32d756(0x34f)](_0x1a9f3c,[Ii]);if(g[_0x32d756(0x2a4)](_0xa52c71)){const {c1Prime:_0x5631b7}=_0xa52c71;return this[_0x32d756(0x3da)](_0x5631b7),this;}throw _0xa52c71[_0x32d756(0x1c8)];}catch(_0x36ade0){return this['_logService'][_0x32d756(0x1c8)](_0x36ade0),this[_0x32d756(0x35d)](!0x1);}}[_0x42575d(0x35d)](_0x28a369){var _0x54bf49=_0x42575d;return this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this[_0x54bf49(0x14c)],null,[],this[_0x54bf49(0x33a)],_0x28a369);}['onRemoteAck'](){var _0x58735e=_0x42575d;throw new Error(_0x58735e(0x33f));}[_0x42575d(0x490)](){var _0x21fae5=_0x42575d;throw new Error(_0x21fae5(0x3f1));}[_0x42575d(0x1d6)](){return this;}[_0x42575d(0x307)](){var _0x412fcd=_0x42575d;return this[_0x412fcd(0x1c7)][_0x412fcd(0x3d1)](exports[_0x412fcd(0x14e)],this[_0x412fcd(0x1cb)],this[_0x412fcd(0x14c)],null,[],this[_0x412fcd(0x33a)]);}[_0x42575d(0x31c)](){return this;}['resend'](){var _0x30a53c=_0x42575d;throw new Error(_0x30a53c(0x434));}[_0x42575d(0x1b2)](){var _0x3820d1=_0x42575d;const _0x1d182f=this[_0x3820d1(0x225)][_0x3820d1(0x3a4)](this['unitID']);return this[_0x3820d1(0x33a)][_0x3820d1(0x423)]({'from':_0x1d182f,'to':0x0}),this[_0x3820d1(0x1c7)][_0x3820d1(0x3d1)](exports[_0x3820d1(0x24d)],this[_0x3820d1(0x1cb)],this[_0x3820d1(0x14c)],null,[],null,[],this['_handler']);}},exports[_0x42575d(0x33b)]=ce([w(0x3,a['Inject'](g[_0x42575d(0x388)])),w(0x4,a[_0x42575d(0x254)](a['Injector'])),w(0x5,a[_0x42575d(0x3c8)]),w(0x6,a[_0x42575d(0x2e8)]),w(0x7,a[_0x42575d(0x3d7)]),w(0x8,g[_0x42575d(0x206)]),w(0x9,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x33b)]),exports[_0x42575d(0x42c)]=class extends he{constructor(_0x488408,_0xb6dc21,_0x14813b,_0x3b8bfc,_0x4ceb61,_0x49b860,_0x4dc5e1,_0x357620,_0x5df9b4,_0x339d8a,_0x3f15bf,_0x8ff6dc,_0x4ebd9b,_0x2fd4d1){var _0x12fb90=_0x42575d;super(_0x488408,_0xb6dc21,null,_0x14813b,_0x3b8bfc,_0x5df9b4,_0x4ebd9b,_0x49b860,_0x2fd4d1),P(this,_0x12fb90(0x4b8),_0x12fb90(0x2e3)),P(this,'_scheduleCompleteTimestamp',null),P(this,_0x12fb90(0x4b9),null),(this['_injector']=_0x4ceb61,this[_0x12fb90(0x24a)]=_0x4dc5e1,this['_logService']=_0x357620,this[_0x12fb90(0x1aa)]=_0x339d8a,this[_0x12fb90(0x3c9)]=_0x3f15bf,this['_univerInstanceService']=_0x8ff6dc);}[_0x42575d(0x3ec)](_0xf383be){var _0x340028=_0x42575d;return this[_0x340028(0x1c3)]['push'](_0xf383be),this[_0x340028(0x23b)](),this;}['onRemoteChangeset'](_0x4f067d){var _0x1a0bd6=_0x42575d;if(this[_0x1a0bd6(0x2a3)](_0x4f067d))return this[_0x1a0bd6(0x2e9)](),this[_0x1a0bd6(0x1c7)][_0x1a0bd6(0x3d1)](exports['FetchingMissState'],this[_0x1a0bd6(0x1cb)],this[_0x1a0bd6(0x14c)],null,this['_pendingMutations'],null,[_0x4f067d],this[_0x1a0bd6(0x33a)]);try{const _0x4fcdbe=this[_0x1a0bd6(0x3c9)][_0x1a0bd6(0x34f)](_0x4f067d,this[_0x1a0bd6(0x1c3)]);if(g[_0x1a0bd6(0x2a4)](_0x4fcdbe)){const {c1Prime:_0x1e4279,m2Prime:_0x5cb7f4}=_0x4fcdbe;this[_0x1a0bd6(0x3da)](_0x1e4279);const _0x14712d=this[_0x1a0bd6(0x1c7)][_0x1a0bd6(0x3d1)](exports[_0x1a0bd6(0x42c)],this[_0x1a0bd6(0x1cb)],this[_0x1a0bd6(0x14c)],_0x5cb7f4,this[_0x1a0bd6(0x33a)]);this[_0x1a0bd6(0x2e9)]();const _0x5a485d=new Date()[_0x1a0bd6(0x275)](),_0x5845a0=this[_0x1a0bd6(0x3e9)]?Math[_0x1a0bd6(0x241)](this[_0x1a0bd6(0x3e9)]-_0x5a485d,0x0):this['_getSendChangesetTimeout']();return _0x14712d[_0x1a0bd6(0x37e)](_0x5845a0),_0x14712d;}throw _0x4fcdbe[_0x1a0bd6(0x1c8)];}catch(_0x1dd9c1){return this[_0x1a0bd6(0x1db)][_0x1a0bd6(0x1c8)](_0x1dd9c1),this[_0x1a0bd6(0x35d)](!0x1);}}[_0x42575d(0x45b)](){var _0x16889a=_0x42575d;throw new Error(_0x16889a(0x4bc));}[_0x42575d(0x490)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x42575d(0x1d6)](){return this;}['toggleOffline'](){var _0x202904=_0x42575d;return this[_0x202904(0x2e9)](),this['_injector'][_0x202904(0x3d1)](exports[_0x202904(0x14e)],this['unitID'],this[_0x202904(0x14c)],null,this['_pendingMutations'],this[_0x202904(0x33a)]);}['toggleOnline'](){return this;}[_0x42575d(0x37e)](_0x8941bb){var _0x116df4=_0x42575d;const _0x5e7790=_0x8941bb!=null?_0x8941bb:this[_0x116df4(0x23a)]();this[_0x116df4(0x3e9)]=new Date()['getTime']()+_0x5e7790,this[_0x116df4(0x4b9)]=setTimeout(()=>{var _0xa7b51f=_0x116df4;this[_0xa7b51f(0x2e9)]();let _0x72ca6=null;switch(this[_0xa7b51f(0x14c)]){case X[_0xa7b51f(0x2ad)]:{_0x72ca6=ze(this[_0xa7b51f(0x1c3)],this[_0xa7b51f(0x1cb)],this[_0xa7b51f(0x1c6)],this[_0xa7b51f(0x225)],this['_memberService']);break;}case X[_0xa7b51f(0x338)]:{this[_0xa7b51f(0x1c3)]['every'](_0x496aeb=>_0x496aeb['id']===ut[_0xa7b51f(0x393)]['id'])?_0x72ca6=mi(this[_0xa7b51f(0x1c3)],this[_0xa7b51f(0x1cb)],this['_univerInstanceService'],this[_0xa7b51f(0x225)],this[_0xa7b51f(0x24a)]):_0x72ca6=ze(this[_0xa7b51f(0x1c3)],this['unitID'],this[_0xa7b51f(0x1c6)],this['_revisionService'],this[_0xa7b51f(0x24a)]);break;}default:throw new Error(_0xa7b51f(0x153)+this['type']+_0xa7b51f(0x31b));}const {changeset:_0x466324,pendingMutations:_0x219d66}=_0x72ca6;this['_handler']['onSendChangeset'](_0x466324);const _0x34a317=_0x219d66['length']?this[_0xa7b51f(0x1c7)][_0xa7b51f(0x3d1)](exports[_0xa7b51f(0x2ca)],this[_0xa7b51f(0x1cb)],this[_0xa7b51f(0x14c)],_0x466324,_0x219d66,this[_0xa7b51f(0x33a)],void 0x0):this[_0xa7b51f(0x1c7)]['createInstance'](exports['AwaitingState'],this[_0xa7b51f(0x1cb)],this[_0xa7b51f(0x14c)],_0x466324,this['_handler']);_0x34a317[_0xa7b51f(0x23b)](),this['_handler'][_0xa7b51f(0x2ea)](this,_0x34a317);},_0x5e7790);}[_0x42575d(0x23a)](){var _0x4eff04=_0x42575d,_0x28fcae;const _0x426a6d=this[_0x4eff04(0x1aa)]['getConfig'](Y);return(_0x28fcae=_0x426a6d==null?void 0x0:_0x426a6d[_0x4eff04(0x3c2)])!=null?_0x28fcae:jt;}['resend'](){var _0x2b27b4=_0x42575d;throw new Error(_0x2b27b4(0x16f));}[_0x42575d(0x2e9)](){var _0x2234fc=_0x42575d;this[_0x2234fc(0x4b9)]!=null&&(clearTimeout(this[_0x2234fc(0x4b9)]),this[_0x2234fc(0x4b9)]=null);}[_0x42575d(0x35d)](_0x2ac3f6){var _0x411082=_0x42575d;return this[_0x411082(0x2e9)](),this['_injector'][_0x411082(0x3d1)](exports[_0x411082(0x219)],this['unitID'],this[_0x411082(0x14c)],null,this[_0x411082(0x1c3)],this[_0x411082(0x33a)],_0x2ac3f6);}},exports[_0x42575d(0x42c)]=ce([w(0x4,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x42575d(0x254)](exports['MemberService'])),w(0x7,a[_0x42575d(0x3d7)]),w(0x8,a['ICommandService']),w(0x9,a[_0x42575d(0x1f8)]),w(0xa,g[_0x42575d(0x206)]),w(0xb,a[_0x42575d(0x376)]),w(0xc,a[_0x42575d(0x3c8)]),w(0xd,a['Optional'](z))],exports[_0x42575d(0x42c)]),exports[_0x42575d(0x30f)]=class extends he{constructor(_0x16cfaf,_0x28ceb8,_0x3b7b49,_0x5d51f9,_0x41970a,_0x39afe6,_0x47040d,_0x450c65,_0x58b397,_0x13243d,_0x1d52d0){var _0x1846d9=_0x42575d;super(_0x16cfaf,_0x28ceb8,_0x3b7b49,[],_0x5d51f9,_0x47040d,_0x13243d,_0x39afe6,_0x1d52d0),P(this,'status',_0x1846d9(0x303)),P(this,_0x1846d9(0x49b),0x0),P(this,_0x1846d9(0x410)),P(this,'_sender'),(this[_0x1846d9(0x1c7)]=_0x41970a,this[_0x1846d9(0x1db)]=_0x450c65,this['_transformService']=_0x58b397);}[_0x42575d(0x3ec)](_0x7eee27){var _0x4eb28e=_0x42575d;this[_0x4eb28e(0x2e9)]();const _0x5682d7=this['_injector'][_0x4eb28e(0x3d1)](exports[_0x4eb28e(0x2ca)],this[_0x4eb28e(0x1cb)],this[_0x4eb28e(0x14c)],this[_0x4eb28e(0x2dd)],[_0x7eee27],this[_0x4eb28e(0x33a)],this[_0x4eb28e(0x410)]);return _0x5682d7[_0x4eb28e(0x23b)](),_0x5682d7;}[_0x42575d(0x245)](_0x3c91e1){var _0x5848ae=_0x42575d;if(this[_0x5848ae(0x2a3)](_0x3c91e1))return this[_0x5848ae(0x2e9)](),this[_0x5848ae(0x1c7)][_0x5848ae(0x3d1)](exports[_0x5848ae(0x24d)],this['unitID'],this[_0x5848ae(0x14c)],this[_0x5848ae(0x2dd)],[],null,[_0x3c91e1],this[_0x5848ae(0x33a)]);try{const _0xa50a6e=this['_transformService']['transformChangesets']([_0x3c91e1],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0xa50a6e)){const {c1Prime:_0x284989,c2Prime:_0x3c8eda}=_0xa50a6e;this[_0x5848ae(0x3da)](_0x284989[0x0]),_0x3c8eda[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x327e0d=this['_injector'][_0x5848ae(0x3d1)](exports[_0x5848ae(0x30f)],this[_0x5848ae(0x1cb)],this[_0x5848ae(0x14c)],_0x3c8eda[0x0],this['_handler']);return _0x327e0d['_updateLocalCache'](),_0x327e0d;}return this[_0x5848ae(0x35d)](!0x1);}catch(_0x5c155a){return this['_logService'][_0x5848ae(0x1c8)](_0x5c155a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x2c5816){var _0x43ec70=_0x42575d;this[_0x43ec70(0x2e9)]();const _0x27cb15=this[_0x43ec70(0x225)][_0x43ec70(0x3a4)](this[_0x43ec70(0x1cb)]);if(_0x2c5816[_0x43ec70(0x18d)]<_0x27cb15-0x1)return this;if(this[_0x43ec70(0x2a3)](_0x2c5816))return this[_0x43ec70(0x1c7)]['createInstance'](exports['FetchingMissState'],this[_0x43ec70(0x1cb)],this['type'],null,[],this[_0x43ec70(0x2dd)],[],this[_0x43ec70(0x33a)]);this[_0x43ec70(0x310)]();const _0x2f188a=this[_0x43ec70(0x1c7)][_0x43ec70(0x3d1)](exports['SyncedState'],this[_0x43ec70(0x1cb)],this[_0x43ec70(0x14c)],this[_0x43ec70(0x33a)]);return _0x2f188a[_0x43ec70(0x23b)](),_0x2f188a;}[_0x42575d(0x490)](_0x4299b1){var _0x425bd7=_0x42575d;return this[_0x425bd7(0x35d)](!!(_0x4299b1!=null&&_0x4299b1[_0x425bd7(0x16a)]));}['onRemoteRetry'](_0x3852da){var _0x2b7f50=_0x42575d;return this[_0x2b7f50(0x49b)]>Nt?this[_0x2b7f50(0x307)]():(this[_0x2b7f50(0x410)]=Ot(this[_0x2b7f50(0x49b)],{'timeout':this[_0x2b7f50(0x49b)],'reqId':_0x3852da[_0x2b7f50(0x2fa)]}),this['_sender']=this[_0x2b7f50(0x410)][_0x2b7f50(0x298)](({reqId:_0x373103,timeout:_0x5bf871})=>{var _0x1632bb=_0x2b7f50;this[_0x1632bb(0x25a)](_0x373103,_0x5bf871);}),this);}[_0x42575d(0x307)](){var _0x44596e=_0x42575d;return this['_clearScheduledTask'](),this[_0x44596e(0x1c7)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x44596e(0x14c)],this[_0x44596e(0x2dd)],[],this[_0x44596e(0x33a)]);}[_0x42575d(0x31c)](){return this;}['resend'](){var _0x985a88=_0x42575d;this[_0x985a88(0x33a)][_0x985a88(0x312)](this[_0x985a88(0x2dd)]);}[_0x42575d(0x35d)](_0x53b347){var _0x3f24bd=_0x42575d;return this['_clearScheduledTask'](),this['_injector'][_0x3f24bd(0x3d1)](exports[_0x3f24bd(0x219)],this['unitID'],this[_0x3f24bd(0x14c)],this[_0x3f24bd(0x2dd)],[],this[_0x3f24bd(0x33a)],_0x53b347);}[_0x42575d(0x25a)](_0x37ac13,_0x3d2ed6){var _0x15e431=_0x42575d,_0x5b3f85;_0x37ac13===((_0x5b3f85=this[_0x15e431(0x2dd)])==null?void 0x0:_0x5b3f85[_0x15e431(0x2fa)])&&(this[_0x15e431(0x2cd)](),this[_0x15e431(0x49b)]=_0x3d2ed6===0x0?0x3e8:_0x3d2ed6*0x2);}[_0x42575d(0x2e9)](){var _0x3e9f06=_0x42575d,_0x5d0ffd;(_0x5d0ffd=this[_0x3e9f06(0x460)])==null||_0x5d0ffd[_0x3e9f06(0x1ea)](),this[_0x3e9f06(0x49b)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x42575d(0x254)](a['Injector'])),w(0x5,a[_0x42575d(0x254)](g[_0x42575d(0x388)])),w(0x6,a[_0x42575d(0x2e8)]),w(0x7,a[_0x42575d(0x3d7)]),w(0x8,g[_0x42575d(0x206)]),w(0x9,a[_0x42575d(0x3c8)]),w(0xa,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x30f)]),exports[_0x42575d(0x2ca)]=class extends he{constructor(_0x5c8fe8,_0x207ef8,_0x85ce5f,_0x4a226d,_0x15d5ac,_0x1b4fa4,_0x1c5218,_0x5a296c,_0x1f1ee7,_0x41a95f,_0x30b3f3,_0xa50d9f,_0xbdd47a){var _0x1e3b8b=_0x42575d;super(_0x5c8fe8,_0x207ef8,_0x85ce5f,_0x4a226d,_0x15d5ac,_0x1f1ee7,_0xa50d9f,_0x5a296c,_0xbdd47a),P(this,_0x1e3b8b(0x4b8),_0x1e3b8b(0x1ec)),P(this,_0x1e3b8b(0x49b),0x0),P(this,_0x1e3b8b(0x410)),P(this,_0x1e3b8b(0x460)),(this[_0x1e3b8b(0x1c7)]=_0x1c5218,this[_0x1e3b8b(0x1db)]=_0x41a95f,this[_0x1e3b8b(0x3c9)]=_0x30b3f3,this[_0x1e3b8b(0x1d0)]=_0xbdd47a,_0x1b4fa4&&(this[_0x1e3b8b(0x410)]=_0x1b4fa4,this[_0x1e3b8b(0x460)]=this[_0x1e3b8b(0x410)][_0x1e3b8b(0x298)](({reqId:_0x13a30c,timeout:_0x1061c1})=>{this['_resendWithTimeout'](_0x13a30c,_0x1061c1);})));}['appendMutation'](_0x2169f2){var _0x51539f=_0x42575d;return this[_0x51539f(0x1c3)][_0x51539f(0x21e)](_0x2169f2),this;}[_0x42575d(0x245)](_0x4e2d91){var _0x4b88b4=_0x42575d;if(this[_0x4b88b4(0x2a3)](_0x4e2d91))return this[_0x4b88b4(0x2e9)](),this[_0x4b88b4(0x1c7)][_0x4b88b4(0x3d1)](exports[_0x4b88b4(0x24d)],this['unitID'],this[_0x4b88b4(0x14c)],this[_0x4b88b4(0x2dd)],this[_0x4b88b4(0x1c3)],null,[_0x4e2d91],this[_0x4b88b4(0x33a)]);try{const _0x3033d0=this[_0x4b88b4(0x3c9)][_0x4b88b4(0x3e1)]([_0x4e2d91],[this[_0x4b88b4(0x2dd)]],!0x1);if(g[_0x4b88b4(0x240)](_0x3033d0)){const {c1Prime:_0x2f186f,c2Prime:_0x50784a}=_0x3033d0,_0x49d2ad=this['_transformService'][_0x4b88b4(0x34f)](_0x2f186f[0x0],this['_pendingMutations']);if(g[_0x4b88b4(0x2a4)](_0x49d2ad)){const {c1Prime:_0x58db51,m2Prime:_0x31d805}=_0x49d2ad;return this[_0x4b88b4(0x3da)](_0x58db51),_0x50784a[0x0]['baseRev']=this[_0x4b88b4(0x369)](),this['_clearScheduledTask'](),this['_injector'][_0x4b88b4(0x3d1)](exports[_0x4b88b4(0x2ca)],this[_0x4b88b4(0x1cb)],this['type'],_0x50784a[0x0],_0x31d805,this[_0x4b88b4(0x33a)],void 0x0);}throw _0x49d2ad[_0x4b88b4(0x1c8)];}throw _0x3033d0[_0x4b88b4(0x1c8)];}catch(_0x310335){return this['_logService'][_0x4b88b4(0x1c8)](_0x310335),this['_onConflict'](!0x1);}}[_0x42575d(0x45b)](_0x2779a9){var _0x16fa60=_0x42575d;if(this['_clearScheduledTask'](),this[_0x16fa60(0x2a3)](_0x2779a9))return this[_0x16fa60(0x1c7)][_0x16fa60(0x3d1)](exports[_0x16fa60(0x24d)],this[_0x16fa60(0x1cb)],this[_0x16fa60(0x14c)],null,this[_0x16fa60(0x1c3)],this[_0x16fa60(0x2dd)],[],this[_0x16fa60(0x33a)]);this[_0x16fa60(0x310)]();const _0xb97264=this[_0x16fa60(0x1c7)][_0x16fa60(0x3d1)](exports[_0x16fa60(0x42c)],this['unitID'],this[_0x16fa60(0x14c)],this['_pendingMutations'],this[_0x16fa60(0x33a)]);return _0xb97264[_0x16fa60(0x37e)](),_0xb97264[_0x16fa60(0x23b)](),_0xb97264;}[_0x42575d(0x490)](_0x28fd99){var _0xd196e5=_0x42575d;return this['_onConflict'](!!(_0x28fd99!=null&&_0x28fd99[_0xd196e5(0x16a)]));}[_0x42575d(0x1d6)](_0x5ac6b4){var _0x54a01b=_0x42575d;return this['_resendTimeout']>Nt?this[_0x54a01b(0x307)]():(this[_0x54a01b(0x410)]=Ot(this[_0x54a01b(0x49b)],{'timeout':this[_0x54a01b(0x49b)],'reqId':_0x5ac6b4[_0x54a01b(0x2fa)]}),this[_0x54a01b(0x460)]=this[_0x54a01b(0x410)][_0x54a01b(0x298)](({reqId:_0x3ab19a,timeout:_0x16a172})=>{var _0x2a93f3=_0x54a01b;this[_0x2a93f3(0x25a)](_0x3ab19a,_0x16a172);}),this);}['toggleOffline'](){var _0x4964f2=_0x42575d;return this['_clearScheduledTask'](),this['_injector'][_0x4964f2(0x3d1)](exports[_0x4964f2(0x14e)],this[_0x4964f2(0x1cb)],this[_0x4964f2(0x14c)],this[_0x4964f2(0x2dd)],this[_0x4964f2(0x1c3)],this[_0x4964f2(0x33a)]);}[_0x42575d(0x31c)](){return this;}[_0x42575d(0x2cd)](){var _0x495792=_0x42575d;this[_0x495792(0x33a)]['onSendChangeset'](this[_0x495792(0x2dd)]);}[_0x42575d(0x35d)](_0x7eda28){var _0x29189a=_0x42575d;return this[_0x29189a(0x2e9)](),this[_0x29189a(0x1c7)]['createInstance'](exports['ConflictState'],this[_0x29189a(0x1cb)],this['type'],null,this[_0x29189a(0x1c3)],this['_handler'],_0x7eda28);}[_0x42575d(0x25a)](_0x3cff58,_0x23468e){var _0x5753cd=_0x42575d,_0x174fa1;_0x3cff58===((_0x174fa1=this['_awaitingChangeset'])==null?void 0x0:_0x174fa1[_0x5753cd(0x2fa)])&&(this[_0x5753cd(0x2cd)](),this[_0x5753cd(0x49b)]=_0x23468e===0x0?0x3e8:_0x23468e*0x2);}[_0x42575d(0x2e9)](){var _0x48006e=_0x42575d,_0xd2df34;(_0xd2df34=this['_sender'])==null||_0xd2df34[_0x48006e(0x1ea)](),this[_0x48006e(0x49b)]=0x0;}},exports[_0x42575d(0x2ca)]=ce([w(0x6,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),w(0x7,a[_0x42575d(0x254)](g['RevisionService'])),w(0x8,a[_0x42575d(0x2e8)]),w(0x9,a[_0x42575d(0x3d7)]),w(0xa,g['ITransformService']),w(0xb,a[_0x42575d(0x3c8)]),w(0xc,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x2ca)]),exports[_0x42575d(0x219)]=class extends he{constructor(_0x6c3fad,_0x1f5eb1,_0x40532d,_0x578051,_0x5ea492,_0x1742a1=!0x1,_0x1a7c08,_0x3e8954,_0x1d54a9,_0x5962a4,_0x1a1a74,_0x31b6c1,_0x52a301){var _0x403d60=_0x42575d;super(_0x6c3fad,_0x1f5eb1,_0x40532d,_0x578051,_0x5ea492,_0x3e8954,_0x1d54a9,_0x5962a4,_0x52a301),P(this,_0x403d60(0x4b8),_0x403d60(0x386)),(this[_0x403d60(0x2cb)]=_0x1742a1,this[_0x403d60(0x49f)]=_0x1a7c08,this[_0x403d60(0x2ff)]=_0x1a1a74,this[_0x403d60(0x390)]=_0x31b6c1,this['localCacheService']=_0x52a301,this[_0x403d60(0x3be)](),this[_0x403d60(0x270)](),this[_0x403d60(0x3b9)]());}['appendMutation'](){return this;}[_0x42575d(0x245)](){return this;}[_0x42575d(0x45b)](){return this;}[_0x42575d(0x490)](){return this;}[_0x42575d(0x1d6)](){return this;}['toggleOffline'](){return this;}[_0x42575d(0x31c)](){return this;}[_0x42575d(0x2cd)](){var _0x44f809=_0x42575d;throw new Error(_0x44f809(0x331));}['_clearLocalCache'](){var _0x5c70d1=_0x42575d,_0x3ca21c;(_0x3ca21c=this[_0x5c70d1(0x370)])==null||_0x3ca21c[_0x5c70d1(0x41c)](this[_0x5c70d1(0x1cb)],this['type'],null,[]);}['_showConflictNotification'](){var _0x6ddc88=_0x42575d;this[_0x6ddc88(0x2cb)]?this[_0x6ddc88(0x390)][_0x6ddc88(0x2c8)]({'id':Q[_0x6ddc88(0x332)]}):this[_0x6ddc88(0x390)][_0x6ddc88(0x2c8)]({'id':Q[_0x6ddc88(0x352)]});}[_0x42575d(0x3b9)](){var _0x6b91b8=_0x42575d;this['_permissionService'][_0x6b91b8(0x41d)](new Z[(_0x6b91b8(0x2e0))](this['unitID'])['id'],!0x1);}},exports[_0x42575d(0x219)]=ce([w(0x6,a['Inject'](a[_0x42575d(0x21a)])),w(0x7,a['ICommandService']),w(0x8,a[_0x42575d(0x3c8)]),w(0x9,a[_0x42575d(0x254)](g[_0x42575d(0x388)])),w(0xa,a[_0x42575d(0x254)](a[_0x42575d(0x40d)])),w(0xb,a[_0x42575d(0x254)](te)),w(0xc,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x219)]),exports[_0x42575d(0x14e)]=class extends he{constructor(_0x3e2426,_0x772166,_0x47b475,_0x2cab66,_0x40ac90,_0x1c6033,_0x43a325,_0x5a3f05,_0x1504d9,_0xab121f){var _0x4ee4f6=_0x42575d;super(_0x3e2426,_0x772166,_0x47b475,_0x2cab66,_0x40ac90,_0x5a3f05,_0x1504d9,_0x43a325,_0xab121f),P(this,_0x4ee4f6(0x4b8),_0x4ee4f6(0x26d)),this[_0x4ee4f6(0x1c7)]=_0x1c6033;}[_0x42575d(0x3ec)](_0x3d5d63){var _0x36f33e=_0x42575d;return this[_0x36f33e(0x1c3)][_0x36f33e(0x21e)](_0x3d5d63),this[_0x36f33e(0x23b)](),this;}['onRemoteChangeset'](_0x16facc){var _0x3607a2=_0x42575d;throw new Error(_0x3607a2(0x31e));}[_0x42575d(0x45b)](){var _0x1b6d9d=_0x42575d;throw new Error(_0x1b6d9d(0x3c5));}[_0x42575d(0x490)](){var _0x10de1b=_0x42575d;throw new Error(_0x10de1b(0x25c));}[_0x42575d(0x1d6)](){return this;}[_0x42575d(0x307)](){return this;}[_0x42575d(0x31c)](){var _0x3bd4c7=_0x42575d;const {_injector:_0x380c03,_pendingMutations:_0xc75df0,_awaitingChangeset:_0x523949,unitID:_0x592665,_handler:_0x35507c,type:_0x57cdc5}=this,_0x121a5f=Dt(_0x380c03,_0x592665,_0x57cdc5,_0x523949,_0xc75df0,_0x35507c);return _0x121a5f instanceof exports[_0x3bd4c7(0x42c)]?_0x121a5f[_0x3bd4c7(0x37e)]():(_0x121a5f instanceof exports[_0x3bd4c7(0x2ca)]||_0x121a5f instanceof exports[_0x3bd4c7(0x30f)])&&_0x121a5f[_0x3bd4c7(0x2cd)](),_0x121a5f;}[_0x42575d(0x2cd)](){var _0x264aea=_0x42575d;throw new Error(_0x264aea(0x465));}},exports[_0x42575d(0x14e)]=ce([w(0x5,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),w(0x6,a['Inject'](g['RevisionService'])),w(0x7,a[_0x42575d(0x2e8)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x14e)]),exports[_0x42575d(0x24d)]=class extends he{constructor(_0x1891a3,_0xc1a57,_0x1a2c20,_0x51cec2,_0x1b4153,_0x36cdd9,_0x32b036,_0x76653d,_0x2c0f57,_0x321531,_0x1e8b42,_0x308d79,_0x54bd10,_0x4799b0){var _0x521489=_0x42575d;super(_0x1891a3,_0xc1a57,_0x1a2c20,_0x51cec2,_0x32b036,_0x1e8b42,_0x308d79,_0x2c0f57,_0x4799b0),P(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x1b4153,this['_queuedRemoteChangesets']=_0x36cdd9,this[_0x521489(0x1c7)]=_0x76653d,this['_logService']=_0x321531,this[_0x521489(0x3c9)]=_0x54bd10,this[_0x521489(0x1d0)]=_0x4799b0);}['onMissedChangesetFetched'](_0x553789){var _0x492984=_0x42575d;try{const _0x5d1eaf=[..._0x553789,...this[_0x492984(0x3d6)]],_0x22a822=[this[_0x492984(0x2dd)]||this[_0x492984(0x44a)]][_0x492984(0x1f6)](_0x2341d7=>!!_0x2341d7);let _0x272dc5,_0x57d8ca;if(_0x22a822[_0x492984(0x2e6)]){const _0x321f82=this[_0x492984(0x3c9)][_0x492984(0x3e1)](_0x5d1eaf,_0x22a822,!0x1);if(!g[_0x492984(0x240)](_0x321f82))throw _0x321f82[_0x492984(0x1c8)];_0x272dc5=_0x321f82['c1Prime'],_0x57d8ca=_0x321f82['c2Prime'];}else _0x272dc5=_0x5d1eaf,_0x57d8ca=[];let _0xbc2f6e=this[_0x492984(0x1c3)];_0x272dc5[_0x492984(0x28c)](_0x358582=>{var _0x487189=_0x492984;let _0x1679e8;if(_0xbc2f6e[_0x487189(0x2e6)]){const _0x36232b=this[_0x487189(0x3c9)]['transformMutationsWithChangeset'](_0x358582,_0xbc2f6e);if(!g[_0x487189(0x2a4)](_0x36232b))throw _0x36232b['error'];_0x1679e8=_0x36232b[_0x487189(0x387)],_0xbc2f6e=_0x36232b['m2Prime'];}else _0x1679e8=_0x358582;this[_0x487189(0x3da)](_0x1679e8);}),this[_0x492984(0x44a)]&&this[_0x492984(0x310)](),this[_0x492984(0x2dd)]&&_0x57d8ca['length']&&(_0x57d8ca[0x0][_0x492984(0x175)]=this[_0x492984(0x369)]());let _0x49c166;if(this[_0x492984(0x2dd)]&&_0xbc2f6e['length']!==0x0)_0x49c166=this[_0x492984(0x1c7)][_0x492984(0x3d1)](exports[_0x492984(0x2ca)],this[_0x492984(0x1cb)],this[_0x492984(0x14c)],_0x57d8ca[0x0],_0xbc2f6e,this[_0x492984(0x33a)],void 0x0);else{if(this[_0x492984(0x2dd)]&&_0xbc2f6e[_0x492984(0x2e6)]===0x0)_0x57d8ca[0x0]['baseRev']=this['_getCurrentRevision'](),_0x49c166=this['_injector'][_0x492984(0x3d1)](exports[_0x492984(0x30f)],this[_0x492984(0x1cb)],this[_0x492984(0x14c)],_0x57d8ca[0x0],this[_0x492984(0x33a)]);else{if(_0xbc2f6e[_0x492984(0x2e6)]!==0x0){const _0x2aa2ed=this[_0x492984(0x1c7)]['createInstance'](exports[_0x492984(0x42c)],this[_0x492984(0x1cb)],this[_0x492984(0x14c)],_0xbc2f6e,this['_handler']);_0x2aa2ed['_schedule'](),_0x49c166=_0x2aa2ed;}else _0x49c166=this['_injector'][_0x492984(0x3d1)](exports['SyncedState'],this['unitID'],this[_0x492984(0x14c)],this[_0x492984(0x33a)]);}}return _0x49c166[_0x492984(0x23b)](),_0x49c166;}catch(_0x2a0fb7){return this['_logService'][_0x492984(0x1c8)]('[FetchMissState]',_0x492984(0x21d),_0x2a0fb7),this['_injector'][_0x492984(0x3d1)](exports['ConflictState'],this[_0x492984(0x1cb)],this[_0x492984(0x14c)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x492984(0x33a)],!0x1);}}[_0x42575d(0x2cd)](){var _0x40f9d0=_0x42575d;throw new Error(_0x40f9d0(0x161));}['appendMutation'](_0x1acb7e){var _0xb6fa00=_0x42575d;return this[_0xb6fa00(0x1c3)][_0xb6fa00(0x21e)](_0x1acb7e),this;}[_0x42575d(0x245)](_0x220877){var _0x484cfd=_0x42575d;return this[_0x484cfd(0x3d6)][_0x484cfd(0x21e)](_0x220877),this;}['onRemoteAck'](_0x1d703b){var _0x1ba883=_0x42575d;if(this[_0x1ba883(0x2dd)])return this[_0x1ba883(0x44a)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x1ba883(0x212));}[_0x42575d(0x490)](_0x4ebcea){var _0x2101e6=_0x42575d;return this[_0x2101e6(0x35d)](!!(_0x4ebcea!=null&&_0x4ebcea[_0x2101e6(0x16a)]));}['onRemoteRetry'](){return this;}[_0x42575d(0x307)](){var _0x1c10d1=_0x42575d;return this[_0x1c10d1(0x1c7)][_0x1c10d1(0x3d1)](exports[_0x1c10d1(0x14e)],this['unitID'],this[_0x1c10d1(0x14c)],this[_0x1c10d1(0x2dd)],this[_0x1c10d1(0x1c3)],this[_0x1c10d1(0x33a)]);}[_0x42575d(0x31c)](){return this;}[_0x42575d(0x35d)](_0x2bc1e6){var _0x12acd0=_0x42575d;return this[_0x12acd0(0x1c7)][_0x12acd0(0x3d1)](exports[_0x12acd0(0x219)],this[_0x12acd0(0x1cb)],this['type'],this[_0x12acd0(0x2dd)],this[_0x12acd0(0x1c3)],this[_0x12acd0(0x33a)],_0x2bc1e6);}},exports[_0x42575d(0x24d)]=ce([w(0x7,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),w(0x8,a[_0x42575d(0x254)](g[_0x42575d(0x388)])),w(0x9,a['ILogService']),w(0xa,a[_0x42575d(0x2e8)]),w(0xb,a[_0x42575d(0x3c8)]),w(0xc,g[_0x42575d(0x206)]),w(0xd,a['Optional'](z))],exports[_0x42575d(0x24d)]);function Dt(_0x598a02,_0x25de2e,_0x20470,_0x3e5fdc,_0x4a8221,_0x55d585){var _0x20e838=_0x42575d;return _0x3e5fdc&&_0x4a8221[_0x20e838(0x2e6)]?_0x598a02[_0x20e838(0x3d1)](exports[_0x20e838(0x2ca)],_0x25de2e,_0x20470,_0x3e5fdc,_0x4a8221,_0x55d585,void 0x0):_0x3e5fdc?_0x598a02[_0x20e838(0x3d1)](exports['AwaitingState'],_0x25de2e,_0x20470,_0x3e5fdc,_0x55d585):_0x4a8221['length']?_0x598a02['createInstance'](exports[_0x20e838(0x42c)],_0x25de2e,_0x20470,_0x4a8221,_0x55d585):_0x598a02[_0x20e838(0x3d1)](exports[_0x20e838(0x33b)],_0x25de2e,_0x20470,_0x55d585);}var Ci=Object[_0x42575d(0x493)],Ge=(_0x27cd38,_0x6821e8,_0x410130,_0x3fcc0a)=>{var _0x9a7d95=_0x42575d;for(var _0x3fb319=_0x3fcc0a>0x1?void 0x0:_0x3fcc0a?Ci(_0x6821e8,_0x410130):_0x6821e8,_0x18ec66=_0x27cd38[_0x9a7d95(0x2e6)]-0x1,_0x43ed50;_0x18ec66>=0x0;_0x18ec66--)(_0x43ed50=_0x27cd38[_0x18ec66])&&(_0x3fb319=_0x43ed50(_0x3fb319)||_0x3fb319);return _0x3fb319;},$=(_0x4c0187,_0x33fb5b)=>(_0x595432,_0x371902)=>_0x33fb5b(_0x595432,_0x371902,_0x4c0187);function _0x1588(_0x20f66a,_0x2e64ab){var _0x34c00f=_0x34c0();return _0x1588=function(_0x1588ef,_0x396017){_0x1588ef=_0x1588ef-0x14b;var _0x11d5fc=_0x34c00f[_0x1588ef];return _0x11d5fc;},_0x1588(_0x20f66a,_0x2e64ab);}exports[_0x42575d(0x2b1)]=class extends a[_0x42575d(0x18f)]{constructor(_0x3d7356,_0x5a02f5,_0x4977d7,_0x26ff80,_0x43fdc5,_0xd2f34b,_0x1ae61c,_0x3dc1c8,_0x2be4fa,_0xe4254,_0x44d8bc,_0x201a21,_0xcd2bcf){var _0x4abbcd=_0x42575d;super(),P(this,_0x4abbcd(0x1ee),new j[(_0x4abbcd(0x1d2))](null)),P(this,_0x4abbcd(0x416),this[_0x4abbcd(0x1ee)][_0x4abbcd(0x1bf)]()),P(this,_0x4abbcd(0x297)),P(this,_0x4abbcd(0x1af),!0x1),P(this,_0x4abbcd(0x18c),''),P(this,_0x4abbcd(0x1f3),0x0),P(this,'status$',this[_0x4abbcd(0x416)][_0x4abbcd(0x3b2)](j[_0x4abbcd(0x2d0)](_0x9baaab=>_0x9baaab?_0x9baaab[_0x4abbcd(0x4b8)]:We[_0x4abbcd(0x1e6)]),j['shareReplay'](0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x4abbcd(0x213),[]),(this[_0x4abbcd(0x1cb)]=_0x3d7356,this[_0x4abbcd(0x2b5)]=_0x5a02f5,this['_type']=_0x4977d7,this[_0x4abbcd(0x1c7)]=_0x26ff80,this[_0x4abbcd(0x363)]=_0x43fdc5,this[_0x4abbcd(0x2ff)]=_0xd2f34b,this[_0x4abbcd(0x225)]=_0x1ae61c,this[_0x4abbcd(0x2d4)]=_0x3dc1c8,this[_0x4abbcd(0x1db)]=_0x2be4fa,this[_0x4abbcd(0x1d1)]=_0xe4254,this[_0x4abbcd(0x49f)]=_0x44d8bc,this[_0x4abbcd(0x42a)]=_0x201a21,this[_0x4abbcd(0x370)]=_0xcd2bcf);}get['state'](){var _0x284739=_0x42575d;return this[_0x284739(0x297)];}async[_0x42575d(0x375)](){var _0x46a858=_0x42575d;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x46a858(0x263)]();}[_0x42575d(0x36e)](){var _0x10deec=_0x42575d;return this['_collaborationPaused']=!0x0,a[_0x10deec(0x1a4)](()=>{var _0x1b7d5f=_0x10deec;this['_collaborationPaused']=!0x1,this[_0x1b7d5f(0x3f2)]();});}[_0x42575d(0x2f4)](_0x458958){var _0x3df434=_0x42575d;this[_0x3df434(0x260)](_0x458958);}['_updateState'](_0x264508){var _0x32a076=_0x42575d;this['_state']=_0x264508,this[_0x32a076(0x1ee)][_0x32a076(0x364)](_0x264508);}async[_0x42575d(0x263)](){var _0xeb6ead=_0x42575d,_0x15e229;this[_0xeb6ead(0x266)](await this[_0xeb6ead(0x268)]()),this[_0xeb6ead(0x42a)]&&((_0x15e229=this[_0xeb6ead(0x42a)])==null||_0x15e229['editingUnit'](this['unitID']),this[_0xeb6ead(0x279)](this[_0xeb6ead(0x42a)][_0xeb6ead(0x173)](this[_0xeb6ead(0x1cb)])[_0xeb6ead(0x298)](_0x8b9f44=>{var _0x2991cd=_0xeb6ead;this[_0x2991cd(0x1db)][_0x2991cd(0x1fb)]('[CollaborationEntity]',_0x2991cd(0x2e7),_0x8b9f44),_0x8b9f44===Fe['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x2991cd(0x2c8)]({'id':Q[_0x2991cd(0x360)]}),this[_0x2991cd(0x49f)]['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0x2991cd(0x1cb)])['id'],!0x1),this[_0x2991cd(0x49f)][_0x2991cd(0x2dc)](!0x1)):(this['_permissionService'][_0x2991cd(0x41d)](new Z[(_0x2991cd(0x2e0))](this[_0x2991cd(0x1cb)])['id'],!0x0),this[_0x2991cd(0x49f)][_0x2991cd(0x2dc)](!0x0));})));let _0x53e4fe=!0x1;return this[_0xeb6ead(0x279)](this[_0xeb6ead(0x2b5)][_0xeb6ead(0x426)][_0xeb6ead(0x298)](_0x20bf78=>{var _0x27ec10=_0xeb6ead;_0x20bf78===se[_0x27ec10(0x274)]?this[_0x27ec10(0x15d)](_0x53e4fe):_0x20bf78===se[_0x27ec10(0x1e6)]&&(_0x53e4fe=!0x0,this[_0x27ec10(0x18b)]());})),this[_0xeb6ead(0x279)](this[_0xeb6ead(0x2b5)][_0xeb6ead(0x415)][_0xeb6ead(0x298)](_0xe6b054=>{var _0x54dc78=_0xeb6ead;try{switch(_0xe6b054[_0x54dc78(0x36a)]){case g[_0x54dc78(0x36f)]['NEW_CHANGESETS']:{this[_0x54dc78(0x451)](g['parseProtocolChangeset'](_0xe6b054['data']));break;}case g['CollaborationEvent'][_0x54dc78(0x3b1)]:{this[_0x54dc78(0x3e6)](_0xe6b054[_0x54dc78(0x45c)]);break;}case g[_0x54dc78(0x36f)]['CHANGESET_REJ']:{this[_0x54dc78(0x442)]();break;}case g[_0x54dc78(0x36f)][_0x54dc78(0x30d)]:{this[_0x54dc78(0x2fb)](_0xe6b054[_0x54dc78(0x45c)]);break;}case g[_0x54dc78(0x36f)][_0x54dc78(0x459)]:{this[_0x54dc78(0x248)](_0xe6b054['data'][_0x54dc78(0x2d1)]['map'](_0x508db6=>g['parseProtocolChangeset'](_0x508db6)));break;}case g[_0x54dc78(0x36f)][_0x54dc78(0x480)]:{this[_0x54dc78(0x442)]({'isPermissionRej':!0x0});break;}case g[_0x54dc78(0x36f)][_0x54dc78(0x195)]:break;}}catch(_0x1adf31){throw console['error'](_0x54dc78(0x22f),_0x1adf31),_0x1adf31;}})),this[_0xeb6ead(0x297)];}['_unlockTransition'](){var _0x54e37b=_0x42575d;this[_0x54e37b(0x3cb)]=!0x1;}[_0x42575d(0x4a4)](){var _0x473209=_0x42575d;if(this[_0x473209(0x3cb)])throw new Error(_0x473209(0x2be));this[_0x473209(0x3cb)]=!0x0;}[_0x42575d(0x260)](_0x4e5e61){var _0x2b2d19=_0x42575d;this[_0x2b2d19(0x4a4)](),this['_updateState'](this[_0x2b2d19(0x297)][_0x2b2d19(0x3ec)](_0x4e5e61)),this[_0x2b2d19(0x23e)]();}[_0x42575d(0x451)](_0x43a342){var _0x82658b=_0x42575d;if(!(_0x43a342[_0x82658b(0x18d)]<=this[_0x82658b(0x225)][_0x82658b(0x3a4)](this['unitID']))){if(this[_0x82658b(0x1af)]){this[_0x82658b(0x213)]['push'](_0x43a342);return;}this['_applyRemoteChangeset'](_0x43a342);}}[_0x42575d(0x3f2)](){var _0x13b126=_0x42575d;this[_0x13b126(0x213)][_0x13b126(0x28c)](_0x571fe4=>this[_0x13b126(0x3d0)](_0x571fe4)),this[_0x13b126(0x213)]=[];}['_applyRemoteChangeset'](_0x188838){var _0x40c2b5=_0x42575d;const _0xca7512=this[_0x40c2b5(0x363)][_0x40c2b5(0x382)][_0x40c2b5(0x20e)](this['_compressMutationService'][_0x40c2b5(0x382)][_0x40c2b5(0x413)]()[_0x40c2b5(0x402)])(_0x188838[_0x40c2b5(0x2cc)],null)||_0x188838[_0x40c2b5(0x2cc)],_0x17e2e7={..._0x188838,'mutations':_0xca7512};this[_0x40c2b5(0x4a4)](),this['_updateState'](this[_0x40c2b5(0x297)][_0x40c2b5(0x245)](_0x17e2e7)),this[_0x40c2b5(0x23e)]();}[_0x42575d(0x3e6)](_0x5afe82){var _0x3d523f=_0x42575d;this['_lockTransition'](),this[_0x3d523f(0x266)](this['_state'][_0x3d523f(0x45b)](_0x5afe82)),this[_0x3d523f(0x23e)]();}[_0x42575d(0x442)](_0x50ebcd){var _0x17de46=_0x42575d;this['_lockTransition'](),this[_0x17de46(0x266)](this['_state'][_0x17de46(0x490)](_0x50ebcd)),this[_0x17de46(0x23e)]();}[_0x42575d(0x2fb)](_0x975907){var _0x16a190=_0x42575d;this[_0x16a190(0x4a4)](),this['_updateState'](this['_state'][_0x16a190(0x1d6)](_0x975907)),this[_0x16a190(0x23e)]();}['_onFetchMissResult'](_0x233690){var _0x15d860=_0x42575d;if(!(this[_0x15d860(0x297)]instanceof exports['FetchingMissState']))throw new TypeError(_0x15d860(0x384));const _0x1e9174=_0x233690[_0x15d860(0x2d0)](_0x367f60=>{var _0x2677c8=_0x15d860;const _0x35addf=this['_compressMutationService'][_0x2677c8(0x382)][_0x2677c8(0x20e)](this['_compressMutationService'][_0x2677c8(0x382)]['getInterceptPoints']()[_0x2677c8(0x402)])(_0x367f60[_0x2677c8(0x2cc)],null)||_0x367f60[_0x2677c8(0x2cc)];return{..._0x367f60,'mutations':_0x35addf};});this['_lockTransition'](),this[_0x15d860(0x266)](this[_0x15d860(0x297)][_0x15d860(0x472)](_0x1e9174)),this['_unlockTransition']();}[_0x42575d(0x18b)](){var _0x5b66f0=_0x42575d;this['_lockTransition'](),this[_0x5b66f0(0x266)](this[_0x5b66f0(0x297)][_0x5b66f0(0x307)]()),this[_0x5b66f0(0x23e)]();}[_0x42575d(0x15d)](_0x49e1c4=!0x1){var _0x390251=_0x42575d;this[_0x390251(0x4a4)](),this[_0x390251(0x266)](this[_0x390251(0x297)]['toggleOnline']()),this['_unlockTransition']();const _0x348901=this[_0x390251(0x297)];_0x49e1c4&&_0x348901 instanceof exports[_0x390251(0x33b)]&&(this[_0x390251(0x4a4)](),this['_updateState'](_0x348901['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x549910=>{var _0x3df4cf=_0x1588;this[_0x3df4cf(0x2b5)][_0x3df4cf(0x426)]['pipe'](j[_0x3df4cf(0x17a)](0x1))['subscribe'](async _0x44932c=>{var _0x28594a=_0x3df4cf;_0x549910(await this[_0x28594a(0x285)](_0x44932c===se[_0x28594a(0x274)]));});});}[_0x42575d(0x1c0)](){var _0x5b4ad4=_0x42575d;const _0xb10779=this[_0x5b4ad4(0x1cb)];return{'onStateChange':(_0x42e5df,_0x307afe)=>{var _0x5a0258=_0x5b4ad4;if(_0x42e5df!==this[_0x5a0258(0x297)])throw new Error(_0x5a0258(0x286)+_0x42e5df[_0x5a0258(0x4b8)]+'\x0aAfter:\x20'+_0x307afe[_0x5a0258(0x4b8)]+_0x5a0258(0x2d9)+this[_0x5a0258(0x297)][_0x5a0258(0x4b8)]);this['_updateState'](_0x307afe);},'onSendChangeset':_0x18e695=>{var _0x188d50=_0x5b4ad4;_0x18e695[_0x188d50(0x2da)]||(_0x18e695[_0x188d50(0x2da)]=this[_0x188d50(0x18c)],_0x18e695[_0x188d50(0x2fa)]=++this['_changesetReqId']);const _0x5c18f1={'eventID':g[_0x188d50(0x36f)][_0x188d50(0x29d)],'data':{'unitID':_0x18e695[_0x188d50(0x1cb)],'unitType':this[_0x188d50(0x4ae)],'changeset':_0x18e695,'memberID':this[_0x188d50(0x2b5)][_0x188d50(0x45d)]()}};this[_0x188d50(0x2b5)][_0x188d50(0x41f)](_0x5c18f1,this[_0x188d50(0x1cb)]);},'onMissingChangesets':({from:_0x330239,to:_0x1622c8})=>{var _0x527f50=_0x5b4ad4;this[_0x527f50(0x1db)]['debug'](_0x527f50(0x3b8),_0x527f50(0x1f4)+_0x330239+_0x527f50(0x1be)+_0x1622c8);const _0x27a607={'eventID':g[_0x527f50(0x36f)][_0x527f50(0x15f)],'data':{'unitID':_0xb10779,'unitType':this['_type'],'from':_0x330239,'to':_0x1622c8}};this[_0x527f50(0x2b5)]['send'](_0x27a607,this[_0x527f50(0x1cb)]);}};}async[_0x42575d(0x285)](_0x5eacf4){var _0x30ed33=_0x42575d,_0x11cb33,_0x23105d,_0x1cc69d;const _0x338690=await((_0x11cb33=this[_0x30ed33(0x370)])==null?void 0x0:_0x11cb33['loadOfflineData'](this[_0x30ed33(0x1cb)])),_0x5117ac=(_0x23105d=_0x338690==null?void 0x0:_0x338690[_0x30ed33(0x2cc)])!=null?_0x23105d:[],_0x317e12=(_0x1cc69d=_0x338690==null?void 0x0:_0x338690['awaitingChangeset'])!=null?_0x1cc69d:null,_0x32f62d=!!(_0x317e12!=null&&_0x317e12[_0x30ed33(0x2da)])&&!!(_0x317e12!=null&&_0x317e12[_0x30ed33(0x2fa)]);this['_changesetSessionId']=_0x32f62d?_0x317e12[_0x30ed33(0x2da)]:di(),this[_0x30ed33(0x1f3)]=_0x32f62d?_0x317e12[_0x30ed33(0x2fa)]:0x0;const _0x5c288c=this['unitID'];try{this[_0x30ed33(0x441)](_0x317e12,_0x5117ac);}catch(_0x39439b){this[_0x30ed33(0x1db)][_0x30ed33(0x1c8)](_0x39439b);}const _0x39ea96=this['_createHandler']();if(_0x5eacf4){const _0x35f0cc=Dt(this[_0x30ed33(0x1c7)],_0x5c288c,this['_type'],_0x317e12,_0x5117ac,_0x39ea96);return _0x35f0cc instanceof exports[_0x30ed33(0x42c)]?_0x35f0cc[_0x30ed33(0x37e)]():(_0x35f0cc instanceof exports[_0x30ed33(0x2ca)]||_0x35f0cc instanceof exports[_0x30ed33(0x30f)])&&_0x35f0cc['resend'](),_0x35f0cc;}return this[_0x30ed33(0x1c7)]['createInstance'](exports['OfflineState'],_0x5c288c,this[_0x30ed33(0x4ae)],_0x317e12,_0x5117ac,_0x39ea96);}['_replayCachedMutations'](_0x19183e,_0x37c3c3){var _0x4cfd7a=_0x42575d,_0x472478,_0xcc9a29;const _0x455dbe=this['_compressMutationService'][_0x4cfd7a(0x382)]['fetchThroughInterceptors'](this[_0x4cfd7a(0x363)][_0x4cfd7a(0x382)]['getInterceptPoints']()[_0x4cfd7a(0x402)]);(_0x472478=_0x455dbe((_0x19183e==null?void 0x0:_0x19183e[_0x4cfd7a(0x2cc)])||[],null))==null||_0x472478[_0x4cfd7a(0x28c)](_0x1fff04=>this[_0x4cfd7a(0x1d1)][_0x4cfd7a(0x222)](_0x1fff04['id'],_0x1fff04[_0x4cfd7a(0x403)])),(_0xcc9a29=_0x455dbe(_0x37c3c3||[],null))==null||_0xcc9a29['forEach'](_0x31304a=>this[_0x4cfd7a(0x1d1)][_0x4cfd7a(0x222)](_0x31304a['id'],_0x31304a[_0x4cfd7a(0x403)]));}},exports[_0x42575d(0x2b1)]=Ge([$(0x3,a['Inject'](a[_0x42575d(0x2b8)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x42575d(0x40d)])),$(0x6,a['Inject'](g[_0x42575d(0x388)])),$(0x7,a[_0x42575d(0x254)](te)),$(0x8,a[_0x42575d(0x3d7)]),$(0x9,a[_0x42575d(0x2e8)]),$(0xa,a[_0x42575d(0x21a)]),$(0xb,a[_0x42575d(0x473)](ve)),$(0xc,a['Optional'](z))],exports[_0x42575d(0x2b1)]),exports[_0x42575d(0x181)]=class extends exports['CollaborationEntity']{constructor(_0x329f5a,_0x39d405,_0x5bf843,_0x217e4c,_0xf9576a,_0xc819f4,_0x5820f3,_0x388a77,_0xdb9c6e,_0xb9cd7b,_0x5afdc7,_0x3e721b,_0x46ddba){var _0x48e3a2=_0x42575d;super(_0x329f5a,_0x5bf843,_0x39d405,_0x217e4c,_0xf9576a,_0xc819f4,_0x5820f3,_0x388a77,_0xdb9c6e,_0xb9cd7b,_0x5afdc7,_0x3e721b,_0x46ddba),P(this,_0x48e3a2(0x196),null),(this[_0x48e3a2(0x1cb)]=_0x329f5a,this['type']=_0x39d405);}['addHandlerCallback'](_0x5532e4){var _0x40ed43=_0x42575d;this[_0x40ed43(0x196)]=_0x5532e4;}[_0x42575d(0x1e5)](){var _0x58f3de=_0x42575d;this['_handlerCallback']=null,super[_0x58f3de(0x1e5)]();}['_createHandler'](){var _0x33bc52=_0x42575d;const _0x25f712=super['_createHandler']();return _0x25f712[_0x33bc52(0x394)]=_0x2d7744=>{var _0x4979db=_0x33bc52,_0x319f7a,_0x1d3005;return(_0x1d3005=(_0x319f7a=this[_0x4979db(0x196)])==null?void 0x0:_0x319f7a['onTransformIME'])==null?void 0x0:_0x1d3005[_0x4979db(0x26a)](_0x319f7a,_0x2d7744);},_0x25f712['onTransformState']=_0xb84747=>{var _0x23fcb3=_0x33bc52,_0x103962,_0x40aa43;return(_0x40aa43=(_0x103962=this[_0x23fcb3(0x196)])==null?void 0x0:_0x103962['onTransformState'])==null?void 0x0:_0x40aa43['call'](_0x103962,_0xb84747);},_0x25f712[_0x33bc52(0x41b)]=_0x1825d4=>{var _0x400d45=_0x33bc52,_0x19beb0,_0x17a1d8;return(_0x17a1d8=(_0x19beb0=this[_0x400d45(0x196)])==null?void 0x0:_0x19beb0[_0x400d45(0x41b)])==null?void 0x0:_0x17a1d8['call'](_0x19beb0,_0x1825d4);},_0x25f712[_0x33bc52(0x412)]=_0x322902=>{var _0x420893=_0x33bc52,_0x4792fd,_0x22e83d;return(_0x22e83d=(_0x4792fd=this[_0x420893(0x196)])==null?void 0x0:_0x4792fd['onSyncEditingCollabCursor'])==null?void 0x0:_0x22e83d[_0x420893(0x26a)](_0x4792fd,_0x322902);},_0x25f712[_0x33bc52(0x2c1)]=_0x1cf0a5=>{var _0x39c3fa=_0x33bc52,_0x21c942,_0x110229,_0x49bf88;if(!((_0x21c942=this['_handlerCallback'])!=null&&_0x21c942['onTransformRemoteChangesetByIMECache']))throw new Error(_0x39c3fa(0x3fa));return(_0x49bf88=(_0x110229=this['_handlerCallback'])==null?void 0x0:_0x110229[_0x39c3fa(0x2c1)])==null?void 0x0:_0x49bf88['call'](_0x110229,_0x1cf0a5);},_0x25f712[_0x33bc52(0x253)]=_0x49c644=>{var _0x20501e=_0x33bc52,_0x5e64ba,_0x1db05d,_0x56ac9a;if(!((_0x5e64ba=this[_0x20501e(0x196)])!=null&&_0x5e64ba[_0x20501e(0x253)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x56ac9a=(_0x1db05d=this[_0x20501e(0x196)])==null?void 0x0:_0x1db05d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x56ac9a['call'](_0x1db05d,_0x49c644);},_0x25f712;}async['_init'](){var _0x2f2b2f=_0x42575d;const _0xb70c03=await super[_0x2f2b2f(0x263)]();return this[_0x2f2b2f(0x279)](this[_0x2f2b2f(0x1d1)][_0x2f2b2f(0x40e)]((_0xa0f7d9,_0x1176d0)=>{var _0x3b9cd2=_0x2f2b2f;if(_0xa0f7d9[_0x3b9cd2(0x14c)]!==a[_0x3b9cd2(0x1b4)][_0x3b9cd2(0x437)]||_0x1176d0!=null&&_0x1176d0[_0x3b9cd2(0x4ab)]||_0x1176d0!=null&&_0x1176d0[_0x3b9cd2(0x457)]||_0xa0f7d9['id']===ut[_0x3b9cd2(0x393)]['id'])return;const _0x5c2fbf=_0xa0f7d9['params'];if((_0x5c2fbf==null?void 0x0:_0x5c2fbf[_0x3b9cd2(0x361)])!==this[_0x3b9cd2(0x1cb)])return;const _0x466491=_0xa0f7d9,_0x3dec72=this[_0x3b9cd2(0x363)]['interceptor'][_0x3b9cd2(0x20e)](this[_0x3b9cd2(0x363)][_0x3b9cd2(0x382)][_0x3b9cd2(0x413)]()[_0x3b9cd2(0x2c6)])([_0x466491],null)||[_0x466491];this[_0x3b9cd2(0x260)](_0x3dec72[0x0]);})),_0xb70c03;}},exports[_0x42575d(0x181)]=Ge([$(0x3,a['Inject'](a['Injector'])),$(0x4,a[_0x42575d(0x254)](g[_0x42575d(0x3ba)])),$(0x5,a[_0x42575d(0x254)](a[_0x42575d(0x40d)])),$(0x6,a['Inject'](g[_0x42575d(0x388)])),$(0x7,a[_0x42575d(0x254)](te)),$(0x8,a[_0x42575d(0x3d7)]),$(0x9,a[_0x42575d(0x2e8)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x42575d(0x473)](ve)),$(0xc,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x181)]),exports[_0x42575d(0x35f)]=class extends exports[_0x42575d(0x2b1)]{constructor(_0x1dbef6,_0x1048d2,_0x28284b,_0x109ad0,_0x3eea2c,_0xb5b5e8,_0x39e45c,_0x54ba53,_0xed4e79,_0x118fd8,_0x8e6709,_0x448cc9,_0x4a7bb2,_0x4a27bd){var _0x232c59=_0x42575d;super(_0x1dbef6,_0x28284b,_0x1048d2,_0x109ad0,_0x3eea2c,_0xb5b5e8,_0x39e45c,_0xed4e79,_0x118fd8,_0x8e6709,_0x448cc9,_0x4a7bb2,_0x4a27bd),this[_0x232c59(0x1cb)]=_0x1dbef6,this[_0x232c59(0x14c)]=_0x1048d2,this[_0x232c59(0x203)]=_0x54ba53;}[_0x42575d(0x1c0)](){var _0x5e2040=_0x42575d;const _0x3e08f1=super['_createHandler']();return _0x3e08f1[_0x5e2040(0x41b)]=_0x5db27e=>this[_0x5e2040(0x203)]['transformSelections'](_0x5db27e),_0x3e08f1;}async['_init'](){var _0x3f90f1=_0x42575d;const _0x338d41=await super[_0x3f90f1(0x263)]();return this[_0x3f90f1(0x279)](this[_0x3f90f1(0x1d1)]['onCommandExecuted']((_0x26ef85,_0x37641d)=>{var _0x574c07=_0x3f90f1;if(_0x26ef85['type']!==a['CommandType'][_0x574c07(0x437)]||_0x37641d!=null&&_0x37641d['fromCollab']||_0x37641d!=null&&_0x37641d[_0x574c07(0x457)])return;const _0x564212=_0x26ef85[_0x574c07(0x403)];if((_0x564212==null?void 0x0:_0x564212['unitId'])!==this[_0x574c07(0x1cb)])return;const _0x3dfd5d=_0x26ef85,_0x22e4bd=this[_0x574c07(0x363)]['interceptor'][_0x574c07(0x20e)](this['_compressMutationService'][_0x574c07(0x382)][_0x574c07(0x413)]()[_0x574c07(0x2c6)])([_0x3dfd5d],null)||[_0x3dfd5d];this[_0x574c07(0x260)](_0x22e4bd[0x0]);})),_0x338d41;}},exports[_0x42575d(0x35f)]=Ge([$(0x3,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),$(0x4,a[_0x42575d(0x254)](g['CompressMutationService'])),$(0x5,a[_0x42575d(0x254)](a[_0x42575d(0x40d)])),$(0x6,a[_0x42575d(0x254)](g[_0x42575d(0x388)])),$(0x7,a[_0x42575d(0x254)](exports[_0x42575d(0x183)])),$(0x8,a[_0x42575d(0x254)](te)),$(0x9,a[_0x42575d(0x3d7)]),$(0xa,a['ICommandService']),$(0xb,a[_0x42575d(0x21a)]),$(0xc,a[_0x42575d(0x473)](ve)),$(0xd,a[_0x42575d(0x473)](z))],exports[_0x42575d(0x35f)]);var Ti=Object[_0x42575d(0x493)],bi=(_0x983919,_0x2f0189,_0x46c4fd,_0x3d4250)=>{for(var _0x338300=_0x3d4250>0x1?void 0x0:_0x3d4250?Ti(_0x2f0189,_0x46c4fd):_0x2f0189,_0x30a2fa=_0x983919['length']-0x1,_0x5e1976;_0x30a2fa>=0x0;_0x30a2fa--)(_0x5e1976=_0x983919[_0x30a2fa])&&(_0x338300=_0x5e1976(_0x338300)||_0x338300);return _0x338300;},Ae=(_0x4f3e6f,_0x5f3cba)=>(_0x12b4ad,_0x5212c6)=>_0x5f3cba(_0x12b4ad,_0x5212c6,_0x4f3e6f);exports['CollaborationController']=class extends a[_0x42575d(0x18f)]{constructor(_0x180f40,_0x245c1f,_0x10917b){var _0x7a3226=_0x42575d;super(),P(this,_0x7a3226(0x2ed),new Map()),P(this,'_entityInit$',new j['Subject']()),P(this,'entityInit$',this['_entityInit$'][_0x7a3226(0x1bf)]()),(this[_0x7a3226(0x1c7)]=_0x180f40,this['_collabSessionService']=_0x245c1f,this[_0x7a3226(0x1c6)]=_0x10917b,this[_0x7a3226(0x263)]());}[_0x42575d(0x1e5)](){var _0x4ce9df=_0x42575d;super['dispose'](),this['_entities'][_0x4ce9df(0x28c)](_0x2eff2b=>_0x2eff2b[_0x4ce9df(0x1e5)]()),this[_0x4ce9df(0x2ed)]['clear']();}[_0x42575d(0x37f)](_0x1893ec){var _0x1b6145=_0x42575d,_0x3fbc81;return(_0x3fbc81=this[_0x1b6145(0x2ed)][_0x1b6145(0x2ba)](_0x1893ec))!=null?_0x3fbc81:null;}[_0x42575d(0x399)](_0x5eca67){var _0x24391d=_0x42575d;const _0x28d94a=this[_0x24391d(0x37f)](_0x5eca67);return _0x28d94a?j['of'](_0x28d94a):this[_0x24391d(0x1f7)]['pipe'](W[_0x24391d(0x1f6)](_0x437cad=>_0x437cad['unitID']===_0x5eca67));}[_0x42575d(0x236)](_0x22cfff){var _0x418aad=_0x42575d;return j['firstValueFrom'](this[_0x418aad(0x399)](_0x22cfff)[_0x418aad(0x3b2)](W[_0x418aad(0x2d0)](()=>{})));}['_init'](){var _0x46b7ca=_0x42575d;this[_0x46b7ca(0x1c6)][_0x46b7ca(0x21c)](a[_0x46b7ca(0x1c1)]['UNIVER_SHEET'])['pipe'](j['takeUntil'](this[_0x46b7ca(0x156)]),W['delay'](0x10))[_0x46b7ca(0x298)](async _0x7341f3=>{var _0x342e51=_0x46b7ca;const _0x11bc8e=_0x7341f3['getUnitId'](),_0xe04a64=await this[_0x342e51(0x2bd)](_0x11bc8e,X['UNIVER_SHEET']);this[_0x342e51(0x2ed)][_0x342e51(0x33c)](_0x11bc8e,_0xe04a64);}),this['_univerInstanceService'][_0x46b7ca(0x21c)](a['UniverInstanceType'][_0x46b7ca(0x338)])[_0x46b7ca(0x3b2)](j['takeUntil'](this[_0x46b7ca(0x156)]),W['delay'](0x10))[_0x46b7ca(0x3b2)](W[_0x46b7ca(0x1f6)](_0x1fd5dd=>!_0x1fd5dd[_0x46b7ca(0x301)]()[_0x46b7ca(0x429)]('__')))['subscribe'](async _0x4214b5=>{var _0x160304=_0x46b7ca;const _0x5b18b6=_0x4214b5[_0x160304(0x301)](),_0x1a1eb5=await this[_0x160304(0x2bd)](_0x5b18b6,X[_0x160304(0x338)]);this[_0x160304(0x2ed)][_0x160304(0x33c)](_0x5b18b6,_0x1a1eb5);}),j['merge'](this['_univerInstanceService'][_0x46b7ca(0x3dd)](a[_0x46b7ca(0x1c1)][_0x46b7ca(0x2ad)]),this[_0x46b7ca(0x1c6)]['getTypeOfUnitDisposed$'](a[_0x46b7ca(0x1c1)][_0x46b7ca(0x338)]))[_0x46b7ca(0x3b2)](j[_0x46b7ca(0x290)](this[_0x46b7ca(0x156)]))[_0x46b7ca(0x298)](_0xf1b6bb=>{var _0x15c6b2=_0x46b7ca;const _0x540d1c=_0xf1b6bb['getUnitId'](),_0x43a30f=this['_entities'][_0x15c6b2(0x2ba)](_0x540d1c);_0x43a30f&&(_0x43a30f['dispose'](),this[_0x15c6b2(0x2ed)][_0x15c6b2(0x29b)](_0x540d1c));});}async['_startCollaboration'](_0x584de0,_0x5201fd){var _0x11f108=_0x42575d;const _0x16bb8c=await this[_0x11f108(0x24b)]['requireSession'](_0x584de0),_0x11d4a4=this['_injector']['createInstance'](this[_0x11f108(0x395)](_0x5201fd),_0x584de0,_0x5201fd,_0x16bb8c);return await _0x11d4a4['init'](),this[_0x11f108(0x1f7)][_0x11f108(0x364)](_0x11d4a4),_0x11d4a4;}[_0x42575d(0x395)](_0x20dd98){var _0x5f11b5=_0x42575d;switch(_0x20dd98){case X[_0x5f11b5(0x338)]:return exports[_0x5f11b5(0x181)];case X[_0x5f11b5(0x2ad)]:return exports[_0x5f11b5(0x35f)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x20dd98);}}},exports[_0x42575d(0x337)]=bi([Ae(0x0,a[_0x42575d(0x254)](a['Injector'])),Ae(0x1,a[_0x42575d(0x254)](exports[_0x42575d(0x264)])),Ae(0x2,a[_0x42575d(0x376)])],exports[_0x42575d(0x337)]);var Ri=Object[_0x42575d(0x493)],yi=(_0x2c7e0b,_0x13fc17,_0x33d3bd,_0x1edd89)=>{for(var _0x35e6a0=_0x1edd89>0x1?void 0x0:_0x1edd89?Ri(_0x13fc17,_0x33d3bd):_0x13fc17,_0x4e805f=_0x2c7e0b['length']-0x1,_0x142529;_0x4e805f>=0x0;_0x4e805f--)(_0x142529=_0x2c7e0b[_0x4e805f])&&(_0x35e6a0=_0x142529(_0x35e6a0)||_0x35e6a0);return _0x35e6a0;},Je=(_0x52c7d0,_0x36204c)=>(_0x45c16b,_0xfbd3f9)=>_0x36204c(_0x45c16b,_0xfbd3f9,_0x52c7d0);const Oi=_0x42575d(0x458),Ni=_0x42575d(0x282);let He=class extends a[_0x42575d(0x350)]{constructor(_0x2418e7,_0x4b8d24){var _0x1241ac=_0x42575d;super(),this[_0x1241ac(0x1c6)]=_0x2418e7,this[_0x1241ac(0x1aa)]=_0x4b8d24,this['_init']();}[_0x42575d(0x263)](){var _0x3f620=_0x42575d;this[_0x3f620(0x279)](this[_0x3f620(0x1c6)][_0x3f620(0x1bd)][_0x3f620(0x298)](()=>{var _0x41bf9b=_0x3f620,_0x260d89;const _0x741c1b=this['_univerInstanceService'][_0x41bf9b(0x210)]();let _0x3de86d=(_0x260d89=this[_0x41bf9b(0x1aa)][_0x41bf9b(0x4b5)](Oi))!=null?_0x260d89:Ni;_0x741c1b instanceof a['Workbook']&&(_0x3de86d=_0x741c1b[_0x41bf9b(0x228)]),document[_0x41bf9b(0x249)]=_0x3de86d;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x42575d(0x1f8)])],He);var Di=Object[_0x42575d(0x493)],Ui=(_0xd120f2,_0x306966,_0xc24b54,_0x13598b)=>{var _0x36d841=_0x42575d;for(var _0x17b339=_0x13598b>0x1?void 0x0:_0x13598b?Di(_0x306966,_0xc24b54):_0x306966,_0x3308a8=_0xd120f2[_0x36d841(0x2e6)]-0x1,_0x4d334f;_0x3308a8>=0x0;_0x3308a8--)(_0x4d334f=_0xd120f2[_0x3308a8])&&(_0x17b339=_0x4d334f(_0x17b339)||_0x17b339);return _0x17b339;},we=(_0x391ec8,_0x1d3c74)=>(_0x24e869,_0x1cb760)=>_0x1d3c74(_0x24e869,_0x1cb760,_0x391ec8);let Oe=class{constructor(_0x43aab3,_0x3fd87d,_0x281810){var _0x3f039e=_0x42575d;this[_0x3f039e(0x1aa)]=_0x43aab3,this[_0x3f039e(0x2c5)]=_0x3fd87d,this[_0x3f039e(0x1fc)]=_0x281810,this[_0x3f039e(0x375)]();}[_0x42575d(0x375)](){var _0x24ea19=_0x42575d;this['_httpService'][_0x24ea19(0x4bb)]({'priority':0x1,'interceptor':(_0x5b1c9a,_0x111aef)=>_0x111aef(_0x5b1c9a)['pipe'](j[_0x24ea19(0x1bc)](async _0x1b3e5b=>{var _0x3e90b0=_0x24ea19;const _0x10bde2=_0x1b3e5b;if(_0x10bde2['status']===0x191){if(typeof window>'u')throw new Error(_0x3e90b0(0x47b));if(window[_0x3e90b0(0x440)](this[_0x3e90b0(0x1fc)]['t'](_0x3e90b0(0x3d4)))){const _0x513f92=window['encodeURIComponent'](window[_0x3e90b0(0x42f)][_0x3e90b0(0x422)]);window[_0x3e90b0(0x42f)][_0x3e90b0(0x422)]=this[_0x3e90b0(0x1d4)]()+_0x3e90b0(0x2a6)+_0x513f92;}}return _0x10bde2;}))});}[_0x42575d(0x1d4)](){var _0x286e10=_0x42575d,_0x534f49,_0x4354a5;const _0x45d03c=this[_0x286e10(0x1aa)][_0x286e10(0x4b5)](Et),_0x4e94b3=this[_0x286e10(0x1aa)]['getConfig'](Y);return(_0x4354a5=(_0x534f49=_0x4e94b3==null?void 0x0:_0x4e94b3[_0x286e10(0x488)])!=null?_0x534f49:_0x45d03c)!=null?_0x4354a5:Yt;}};Oe=Ui([we(0x0,a[_0x42575d(0x1f8)]),we(0x1,a[_0x42575d(0x254)](q[_0x42575d(0x35c)])),we(0x2,a['Inject'](a[_0x42575d(0x40d)]))],Oe);var Pi=Object[_0x42575d(0x493)],Ai=(_0x44e674,_0x1b0ab1,_0x1412ad,_0x49944d)=>{var _0x54acec=_0x42575d;for(var _0x47ddbb=_0x49944d>0x1?void 0x0:_0x49944d?Pi(_0x1b0ab1,_0x1412ad):_0x1b0ab1,_0x1c9573=_0x44e674[_0x54acec(0x2e6)]-0x1,_0xedf745;_0x1c9573>=0x0;_0x1c9573--)(_0xedf745=_0x44e674[_0x1c9573])&&(_0x47ddbb=_0xedf745(_0x47ddbb)||_0x47ddbb);return _0x47ddbb;},Xe=(_0x79d44a,_0x7e0c05)=>(_0x78da11,_0x2bd634)=>_0x7e0c05(_0x78da11,_0x2bd634,_0x79d44a);const Ve='AUTHZ_URL_KEY',wi=_0x42575d(0x48c);exports[_0x42575d(0x1bb)]=class extends a[_0x42575d(0x350)]{constructor(_0x228bde,_0x22f395){var _0x46df6d=_0x42575d;super(),this[_0x46df6d(0x368)]=_0x228bde,this[_0x46df6d(0x1aa)]=_0x22f395,this[_0x46df6d(0x163)]();}['_initMergeInterceptor'](){var _0x3e41a4=_0x42575d;const _0x36b58d=this;this[_0x3e41a4(0x279)](this['_HTTPService'][_0x3e41a4(0x4bb)]({'priority':0x3e7,'interceptor':q[_0x3e41a4(0x466)]({'isMatch'(_0x4f5746){var _0x3ec0ac=_0x3e41a4,_0x3e753e;if(_0x4f5746[_0x3ec0ac(0x439)]===_0x3ec0ac(0x407)&&((_0x3e753e=_0x4f5746[_0x3ec0ac(0x20d)])!=null&&_0x3e753e[_0x3ec0ac(0x355)])){const {objectID:_0x51e7c4,objectType:_0x5693bd}=_0x4f5746[_0x3ec0ac(0x20d)][_0x3ec0ac(0x355)]||{};if(!_0x51e7c4||_0x5693bd===void 0x0)return!0x1;const _0x464306=_0x36b58d['_getAPIPrefixPath']()+'/'+_0x5693bd+_0x3ec0ac(0x2bf)+_0x51e7c4+'/allowed';if(_0x4f5746[_0x3ec0ac(0x49d)]===_0x464306)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23b732){var _0x27d8bb=_0x3e41a4,_0x418d9d;return(_0x418d9d=_0x23b732[_0x27d8bb(0x20d)])==null?void 0x0:_0x418d9d[_0x27d8bb(0x355)];},'mergeParamsToRequest'(_0x20bbbd,_0x46a376){var _0x31a879=_0x3e41a4;const _0x5e7887=_0x36b58d[_0x31a879(0x323)]()+'/-/object/-/batch_allowed',_0x33257e=_0x20bbbd[_0x31a879(0x408)]((_0x3388f9,_0x4751c1)=>{const {unitID:_0x519c98,objectID:_0x115921,objectType:_0x1330bd,actions:_0x522c18}=_0x4751c1;return _0x3388f9[_0x519c98]||(_0x3388f9[_0x519c98]={}),_0x3388f9[_0x519c98][_0x115921]||(_0x3388f9[_0x519c98][_0x115921]={'objectID':_0x115921,'objectType':_0x1330bd,'actions':[]}),_0x3388f9[_0x519c98][_0x115921]['actions']['push'](..._0x522c18),_0x3388f9;},{}),_0x12cbf1=[];for(const _0x370701 in _0x33257e)for(const _0xbba530 in _0x33257e[_0x370701]){const {actions:_0xd7cbd8,objectType:_0x562697}=_0x33257e[_0x370701][_0xbba530],_0x19a82e=[...new Set(_0xd7cbd8)];_0x12cbf1['push']({'unitID':_0x370701,'objectID':_0xbba530,'objectType':_0x562697,'actions':_0x19a82e});}return new q[(_0x31a879(0x177))](_0x31a879(0x407),_0x5e7887,{'headers':_0x46a376[_0x31a879(0x436)],'withCredentials':_0x46a376['withCredentials'],'responseType':_0x46a376[_0x31a879(0x20c)],'body':{'requests':_0x12cbf1}});}},{'distributeResult'(_0x10bef2,_0x4e1a3a){const {objectActions:_0x3cff22}=_0x10bef2;return _0x4e1a3a['map'](_0x1bc841=>{var _0x831f88=_0x1588;const {unitID:_0x3eadd9,objectID:_0x909f3a,actions:_0x110b5d}=_0x1bc841,_0xcd470d=_0x3cff22[_0x831f88(0x40c)](_0x14d7d2=>_0x14d7d2[_0x831f88(0x1cb)]===_0x3eadd9&&_0x14d7d2[_0x831f88(0x309)]===_0x909f3a),_0x19e516=_0x110b5d[_0x831f88(0x2d0)](_0x21fe26=>_0xcd470d==null?void 0x0:_0xcd470d[_0x831f88(0x27f)][_0x831f88(0x40c)](_0x297e2d=>_0x297e2d[_0x831f88(0x2ab)]===_0x21fe26))[_0x831f88(0x1f6)](_0x4f8dc7=>!!_0x4f8dc7);return{'config':_0x1bc841,'result':{'actions':_0x19e516,'error':_0x10bef2['error']}};});}})}));}[_0x42575d(0x323)](){var _0x1d07e1=_0x42575d,_0x390b46,_0x53e84c;const _0x5bfd28=this[_0x1d07e1(0x1aa)]['getConfig'](Ve),_0x5d8007=this[_0x1d07e1(0x1aa)][_0x1d07e1(0x4b5)](Y);return(_0x53e84c=(_0x390b46=_0x5d8007==null?void 0x0:_0x5d8007[_0x1d07e1(0x269)])!=null?_0x390b46:_0x5bfd28)!=null?_0x53e84c:wi;}async[_0x42575d(0x1a3)](_0x5c0a63){var _0x39242d=_0x42575d;const _0x2b3020=this[_0x39242d(0x323)]()+'/'+_0x5c0a63[_0x39242d(0x479)]+'/object';return(await this[_0x39242d(0x368)][_0x39242d(0x257)](_0x2b3020,{'body':_0x5c0a63}))[_0x39242d(0x355)]['objectID']||'';}async['list'](_0xb5e45f){var _0x55d9cc=_0x42575d;const _0x2f153d=this[_0x55d9cc(0x323)]()+_0x55d9cc(0x211);return(await this[_0x55d9cc(0x368)][_0x55d9cc(0x257)](_0x2f153d,{'body':_0xb5e45f}))[_0x55d9cc(0x355)]['objects'];}async[_0x42575d(0x491)](_0x46a480){var _0x1bf28b=_0x42575d;const _0x73a871=this[_0x1bf28b(0x323)]()+'/'+_0x46a480['objectType']+_0x1bf28b(0x2bf)+_0x46a480['objectID'];await this[_0x1bf28b(0x368)]['put'](_0x73a871,{'body':_0x46a480});}async[_0x42575d(0x3f6)](_0x145cbe){var _0x3f9daa=_0x42575d;const _0x5063db=this[_0x3f9daa(0x323)]()+'/'+_0x145cbe[_0x3f9daa(0x479)]+_0x3f9daa(0x2bf)+_0x145cbe['objectID']+_0x3f9daa(0x344);return(await this[_0x3f9daa(0x368)][_0x3f9daa(0x257)](_0x5063db,{'body':_0x145cbe}))[_0x3f9daa(0x355)][_0x3f9daa(0x27f)];}async[_0x42575d(0x43e)](_0x4020b6){var _0x361ce4=_0x42575d;const _0x19b64a=this[_0x361ce4(0x323)]()+_0x361ce4(0x4b1);return(await this[_0x361ce4(0x368)][_0x361ce4(0x257)](_0x19b64a,{'body':{'requests':_0x4020b6}}))[_0x361ce4(0x355)][_0x361ce4(0x3a1)];}async[_0x42575d(0x230)](_0xed3e4){var _0x426a3a=_0x42575d;const _0xb0186b=this[_0x426a3a(0x323)]()+'/'+_0xed3e4['objectType']+'/role',_0x26bb23=await this[_0x426a3a(0x368)]['post'](_0xb0186b,{'body':_0xed3e4});return{'roles':_0x26bb23['body'][_0x426a3a(0x18a)],'actions':_0x26bb23[_0x426a3a(0x355)][_0x426a3a(0x27f)]};}async[_0x42575d(0x31a)](_0x3f3d72){var _0x15f860=_0x42575d;const _0x543803=this[_0x15f860(0x323)]()+'/collaborator';await this[_0x15f860(0x368)][_0x15f860(0x29b)](_0x543803,{'params':{'collaboratorID':_0x3f3d72[_0x15f860(0x24e)],'objectID':_0x3f3d72['objectID'],'unitID':_0x3f3d72[_0x15f860(0x1cb)]}});}async[_0x42575d(0x48e)](_0x5eb26e){var _0x5f033a=_0x42575d;const _0xa493d8=this[_0x5f033a(0x323)]()+_0x5f033a(0x48d);await this[_0x5f033a(0x368)][_0x5f033a(0x47c)](_0xa493d8,{'body':_0x5eb26e});}async[_0x42575d(0x169)](_0x5d3512){var _0x2f5ab5=_0x42575d;const _0xd80395=this[_0x2f5ab5(0x323)]()+_0x2f5ab5(0x48d);await this[_0x2f5ab5(0x368)][_0x2f5ab5(0x257)](_0xd80395,{'body':_0x5d3512});}async[_0x42575d(0x2f0)](_0x18e9e3){var _0x183b8c=_0x42575d;const _0x26f354=this[_0x183b8c(0x323)]()+_0x183b8c(0x48d);return(await this['_HTTPService']['get'](_0x26f354,{'params':{'objectID':_0x18e9e3['objectID'],'unitID':_0x18e9e3['unitID']}}))[_0x183b8c(0x355)][_0x183b8c(0x477)];}async[_0x42575d(0x371)](_0x37e5d2){var _0x1f7014=_0x42575d;const _0x2b02b7=this[_0x1f7014(0x323)]()+'/collaborator';await this['_HTTPService']['put'](_0x2b02b7,{'body':_0x37e5d2});}},exports[_0x42575d(0x1bb)]=Ai([Xe(0x0,a[_0x42575d(0x254)](q[_0x42575d(0x35c)])),Xe(0x1,a[_0x42575d(0x254)](a[_0x42575d(0x1f8)]))],exports[_0x42575d(0x1bb)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x5b77d3){var _0x464461=_0x42575d;return _0x5b77d3&&_0x5b77d3['__esModule']&&Object['prototype']['hasOwnProperty']['call'](_0x5b77d3,_0x464461(0x3c1))?_0x5b77d3['default']:_0x5b77d3;}var fe={'exports':{}};function Li(_0x52c95e){var _0x3c5458=_0x42575d;throw new Error(_0x3c5458(0x4ba)+_0x52c95e+_0x3c5458(0x314));}var pe={'exports':{}},Mi=pe[_0x42575d(0x3e2)],Ze;function ee(){var _0x5976da=_0x42575d;return Ze||(Ze=0x1,function(_0x445748,_0xa0e527){(function(_0x59b91a,_0x3d16ab){_0x445748['exports']=_0x3d16ab();}(Mi,function(){var _0x26bffa=_0x26bffa||function(_0x373f28,_0x5a9400){var _0x23538c=_0x1588,_0x1c17db;if(typeof window<'u'&&window['crypto']&&(_0x1c17db=window['crypto']),typeof self<'u'&&self[_0x23538c(0x42d)]&&(_0x1c17db=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1c17db=globalThis['crypto']),!_0x1c17db&&typeof window<'u'&&window['msCrypto']&&(_0x1c17db=window[_0x23538c(0x3e0)]),!_0x1c17db&&typeof Le<'u'&&Le[_0x23538c(0x42d)]&&(_0x1c17db=Le['crypto']),!_0x1c17db&&typeof Li==_0x23538c(0x185))try{_0x1c17db=require('crypto');}catch{}var _0x4b0091=function(){var _0x1479ec=_0x23538c;if(_0x1c17db){if(typeof _0x1c17db[_0x1479ec(0x15c)]==_0x1479ec(0x185))try{return _0x1c17db[_0x1479ec(0x15c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1c17db['randomBytes']==_0x1479ec(0x185))try{return _0x1c17db[_0x1479ec(0x193)](0x4)[_0x1479ec(0x2a8)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x221942=Object[_0x23538c(0x1a3)]||(function(){function _0x11a015(){}return function(_0x59318d){var _0x28350b=_0x1588,_0x1c9865;return _0x11a015[_0x28350b(0x227)]=_0x59318d,_0x1c9865=new _0x11a015(),_0x11a015['prototype']=null,_0x1c9865;};}()),_0x4bf6ce={},_0x5448df=_0x4bf6ce[_0x23538c(0x1a6)]={},_0x4c14ba=_0x5448df['Base']=(function(){return{'extend':function(_0x4f03c4){var _0x282da5=_0x1588,_0x3df607=_0x221942(this);return _0x4f03c4&&_0x3df607[_0x282da5(0x292)](_0x4f03c4),(!_0x3df607[_0x282da5(0x1f0)](_0x282da5(0x375))||this[_0x282da5(0x375)]===_0x3df607[_0x282da5(0x375)])&&(_0x3df607[_0x282da5(0x375)]=function(){var _0x4ef8eb=_0x282da5;_0x3df607[_0x4ef8eb(0x45e)]['init'][_0x4ef8eb(0x28a)](this,arguments);}),_0x3df607[_0x282da5(0x375)][_0x282da5(0x227)]=_0x3df607,_0x3df607['$super']=this,_0x3df607;},'create':function(){var _0x11a9c6=_0x1588,_0xfab6cd=this[_0x11a9c6(0x41e)]();return _0xfab6cd[_0x11a9c6(0x375)]['apply'](_0xfab6cd,arguments),_0xfab6cd;},'init':function(){},'mixIn':function(_0x399e1a){var _0x4d0525=_0x1588;for(var _0x42e079 in _0x399e1a)_0x399e1a[_0x4d0525(0x1f0)](_0x42e079)&&(this[_0x42e079]=_0x399e1a[_0x42e079]);_0x399e1a[_0x4d0525(0x1f0)](_0x4d0525(0x22c))&&(this[_0x4d0525(0x22c)]=_0x399e1a[_0x4d0525(0x22c)]);},'clone':function(){var _0x1fcaf3=_0x1588;return this[_0x1fcaf3(0x375)]['prototype'][_0x1fcaf3(0x41e)](this);}};}()),_0xf19ee=_0x5448df[_0x23538c(0x16d)]=_0x4c14ba[_0x23538c(0x41e)]({'init':function(_0x4a76f2,_0x2b103f){var _0xd17ea9=_0x23538c;_0x4a76f2=this[_0xd17ea9(0x2cf)]=_0x4a76f2||[],_0x2b103f!=_0x5a9400?this[_0xd17ea9(0x356)]=_0x2b103f:this[_0xd17ea9(0x356)]=_0x4a76f2['length']*0x4;},'toString':function(_0x17aefc){return(_0x17aefc||_0x11df0c)['stringify'](this);},'concat':function(_0x982741){var _0x1f6df7=_0x23538c,_0x3646e3=this[_0x1f6df7(0x2cf)],_0x2e6fa9=_0x982741[_0x1f6df7(0x2cf)],_0x113422=this['sigBytes'],_0x1c7823=_0x982741[_0x1f6df7(0x356)];if(this[_0x1f6df7(0x481)](),_0x113422%0x4)for(var _0x12314e=0x0;_0x12314e<_0x1c7823;_0x12314e++){var _0x5f1c97=_0x2e6fa9[_0x12314e>>>0x2]>>>0x18-_0x12314e%0x4*0x8&0xff;_0x3646e3[_0x113422+_0x12314e>>>0x2]|=_0x5f1c97<<0x18-(_0x113422+_0x12314e)%0x4*0x8;}else{for(var _0x29573f=0x0;_0x29573f<_0x1c7823;_0x29573f+=0x4)_0x3646e3[_0x113422+_0x29573f>>>0x2]=_0x2e6fa9[_0x29573f>>>0x2];}return this[_0x1f6df7(0x356)]+=_0x1c7823,this;},'clamp':function(){var _0x3f1d31=_0x23538c,_0x1a398d=this[_0x3f1d31(0x2cf)],_0x28bdfd=this[_0x3f1d31(0x356)];_0x1a398d[_0x28bdfd>>>0x2]&=0xffffffff<<0x20-_0x28bdfd%0x4*0x8,_0x1a398d[_0x3f1d31(0x2e6)]=_0x373f28['ceil'](_0x28bdfd/0x4);},'clone':function(){var _0x3f5d7e=_0x23538c,_0x3ed740=_0x4c14ba['clone'][_0x3f5d7e(0x26a)](this);return _0x3ed740[_0x3f5d7e(0x2cf)]=this[_0x3f5d7e(0x2cf)]['slice'](0x0),_0x3ed740;},'random':function(_0x260f59){var _0x27e0ce=_0x23538c;for(var _0xb74fe0=[],_0x1ac4aa=0x0;_0x1ac4aa<_0x260f59;_0x1ac4aa+=0x4)_0xb74fe0[_0x27e0ce(0x21e)](_0x4b0091());return new _0xf19ee[(_0x27e0ce(0x375))](_0xb74fe0,_0x260f59);}}),_0x40a954=_0x4bf6ce[_0x23538c(0x483)]={},_0x11df0c=_0x40a954[_0x23538c(0x495)]={'stringify':function(_0x7671ef){var _0x4d8c76=_0x23538c;for(var _0x1218f9=_0x7671ef[_0x4d8c76(0x2cf)],_0xef8f31=_0x7671ef['sigBytes'],_0x16c8ad=[],_0x26743f=0x0;_0x26743f<_0xef8f31;_0x26743f++){var _0x7aa47b=_0x1218f9[_0x26743f>>>0x2]>>>0x18-_0x26743f%0x4*0x8&0xff;_0x16c8ad[_0x4d8c76(0x21e)]((_0x7aa47b>>>0x4)[_0x4d8c76(0x22c)](0x10)),_0x16c8ad[_0x4d8c76(0x21e)]((_0x7aa47b&0xf)[_0x4d8c76(0x22c)](0x10));}return _0x16c8ad[_0x4d8c76(0x150)]('');},'parse':function(_0x48e585){var _0x567ed2=_0x23538c;for(var _0x5aceb8=_0x48e585[_0x567ed2(0x2e6)],_0x318ec9=[],_0x5e06ee=0x0;_0x5e06ee<_0x5aceb8;_0x5e06ee+=0x2)_0x318ec9[_0x5e06ee>>>0x3]|=parseInt(_0x48e585['substr'](_0x5e06ee,0x2),0x10)<<0x18-_0x5e06ee%0x8*0x4;return new _0xf19ee[(_0x567ed2(0x375))](_0x318ec9,_0x5aceb8/0x2);}},_0x5179d1=_0x40a954[_0x23538c(0x3ef)]={'stringify':function(_0x36910d){var _0x23525d=_0x23538c;for(var _0x284dc5=_0x36910d[_0x23525d(0x2cf)],_0x50f0ea=_0x36910d['sigBytes'],_0x4051ed=[],_0x4f7135=0x0;_0x4f7135<_0x50f0ea;_0x4f7135++){var _0x1f95bc=_0x284dc5[_0x4f7135>>>0x2]>>>0x18-_0x4f7135%0x4*0x8&0xff;_0x4051ed[_0x23525d(0x21e)](String[_0x23525d(0x29e)](_0x1f95bc));}return _0x4051ed[_0x23525d(0x150)]('');},'parse':function(_0x1b722a){var _0x14186c=_0x23538c;for(var _0x7b981a=_0x1b722a['length'],_0x476bb1=[],_0x45ee22=0x0;_0x45ee22<_0x7b981a;_0x45ee22++)_0x476bb1[_0x45ee22>>>0x2]|=(_0x1b722a[_0x14186c(0x25f)](_0x45ee22)&0xff)<<0x18-_0x45ee22%0x4*0x8;return new _0xf19ee['init'](_0x476bb1,_0x7b981a);}},_0x3c0fe2=_0x40a954['Utf8']={'stringify':function(_0x93d2be){var _0x2beb8c=_0x23538c;try{return decodeURIComponent(escape(_0x5179d1[_0x2beb8c(0x389)](_0x93d2be)));}catch{throw new Error(_0x2beb8c(0x3a2));}},'parse':function(_0x16280d){var _0x2b6a36=_0x23538c;return _0x5179d1[_0x2b6a36(0x3eb)](unescape(encodeURIComponent(_0x16280d)));}},_0x110e03=_0x5448df['BufferedBlockAlgorithm']=_0x4c14ba[_0x23538c(0x41e)]({'reset':function(){var _0x483a2a=_0x23538c;this['_data']=new _0xf19ee[(_0x483a2a(0x375))](),this[_0x483a2a(0x2bb)]=0x0;},'_append':function(_0xe92b33){var _0x2b43d6=_0x23538c;typeof _0xe92b33==_0x2b43d6(0x2ee)&&(_0xe92b33=_0x3c0fe2[_0x2b43d6(0x3eb)](_0xe92b33)),this['_data'][_0x2b43d6(0x45f)](_0xe92b33),this[_0x2b43d6(0x2bb)]+=_0xe92b33[_0x2b43d6(0x356)];},'_process':function(_0x3c6524){var _0x3ec8f1=_0x23538c,_0x47530f,_0x45ea5f=this[_0x3ec8f1(0x233)],_0x88bdc1=_0x45ea5f[_0x3ec8f1(0x2cf)],_0x17bf37=_0x45ea5f[_0x3ec8f1(0x356)],_0x2035ad=this[_0x3ec8f1(0x3f9)],_0x5444b2=_0x2035ad*0x4,_0x5484dd=_0x17bf37/_0x5444b2;_0x3c6524?_0x5484dd=_0x373f28[_0x3ec8f1(0x3ca)](_0x5484dd):_0x5484dd=_0x373f28[_0x3ec8f1(0x241)]((_0x5484dd|0x0)-this['_minBufferSize'],0x0);var _0x5c99c8=_0x5484dd*_0x2035ad,_0x2f9272=_0x373f28[_0x3ec8f1(0x39a)](_0x5c99c8*0x4,_0x17bf37);if(_0x5c99c8){for(var _0x2ffbae=0x0;_0x2ffbae<_0x5c99c8;_0x2ffbae+=_0x2035ad)this[_0x3ec8f1(0x424)](_0x88bdc1,_0x2ffbae);_0x47530f=_0x88bdc1['splice'](0x0,_0x5c99c8),_0x45ea5f[_0x3ec8f1(0x356)]-=_0x2f9272;}return new _0xf19ee['init'](_0x47530f,_0x2f9272);},'clone':function(){var _0x46907e=_0x23538c,_0x37dede=_0x4c14ba[_0x46907e(0x179)]['call'](this);return _0x37dede[_0x46907e(0x233)]=this[_0x46907e(0x233)]['clone'](),_0x37dede;},'_minBufferSize':0x0});_0x5448df['Hasher']=_0x110e03['extend']({'cfg':_0x4c14ba[_0x23538c(0x41e)](),'init':function(_0x23eda2){var _0x398b61=_0x23538c;this[_0x398b61(0x3ad)]=this[_0x398b61(0x3ad)][_0x398b61(0x41e)](_0x23eda2),this[_0x398b61(0x3a6)]();},'reset':function(){var _0x342694=_0x23538c;_0x110e03[_0x342694(0x3a6)][_0x342694(0x26a)](this),this[_0x342694(0x3a8)]();},'update':function(_0x49d8f0){var _0x3d3652=_0x23538c;return this['_append'](_0x49d8f0),this[_0x3d3652(0x47d)](),this;},'finalize':function(_0xe8a390){var _0x2b5a9d=_0x23538c;_0xe8a390&&this[_0x2b5a9d(0x216)](_0xe8a390);var _0xac8bcf=this['_doFinalize']();return _0xac8bcf;},'blockSize':0x10,'_createHelper':function(_0x17307c){return function(_0x424e5b,_0x14cf7f){var _0x3e3329=_0x1588;return new _0x17307c['init'](_0x14cf7f)[_0x3e3329(0x2a0)](_0x424e5b);};},'_createHmacHelper':function(_0x261ef4){return function(_0x32d921,_0x3a41e6){var _0x4fc09f=_0x1588;return new _0x317ec3['HMAC'][(_0x4fc09f(0x375))](_0x261ef4,_0x3a41e6)[_0x4fc09f(0x2a0)](_0x32d921);};}});var _0x317ec3=_0x4bf6ce['algo']={};return _0x4bf6ce;}(Math);return _0x26bffa;}));}(pe)),pe[_0x5976da(0x3e2)];}var ge={'exports':{}},xi=ge[_0x42575d(0x3e2)],Qe;function Ut(){var _0x25b24b=_0x42575d;return Qe||(Qe=0x1,function(_0xddc51a,_0x3702f3){(function(_0x47ff4d,_0xa344a5){var _0xe7bfe0=_0x1588;_0xddc51a[_0xe7bfe0(0x3e2)]=_0xa344a5(ee());}(xi,function(_0x22f499){return(function(){var _0x340306=_0x1588,_0x3ff2ab=_0x22f499,_0x487e45=_0x3ff2ab['lib'],_0x16bdc2=_0x487e45[_0x340306(0x16d)],_0x4419fd=_0x3ff2ab[_0x340306(0x483)];_0x4419fd[_0x340306(0x342)]={'stringify':function(_0x31913f){var _0x4644fb=_0x340306,_0x1f47f6=_0x31913f[_0x4644fb(0x2cf)],_0x5438e2=_0x31913f['sigBytes'],_0x3d27e5=this[_0x4644fb(0x2ce)];_0x31913f[_0x4644fb(0x481)]();for(var _0x3b5b18=[],_0x5ac127=0x0;_0x5ac127<_0x5438e2;_0x5ac127+=0x3)for(var _0x450c7b=_0x1f47f6[_0x5ac127>>>0x2]>>>0x18-_0x5ac127%0x4*0x8&0xff,_0x1a7216=_0x1f47f6[_0x5ac127+0x1>>>0x2]>>>0x18-(_0x5ac127+0x1)%0x4*0x8&0xff,_0x3c0942=_0x1f47f6[_0x5ac127+0x2>>>0x2]>>>0x18-(_0x5ac127+0x2)%0x4*0x8&0xff,_0x377b2b=_0x450c7b<<0x10|_0x1a7216<<0x8|_0x3c0942,_0x11496c=0x0;_0x11496c<0x4&&_0x5ac127+_0x11496c*0.75<_0x5438e2;_0x11496c++)_0x3b5b18['push'](_0x3d27e5[_0x4644fb(0x367)](_0x377b2b>>>0x6*(0x3-_0x11496c)&0x3f));var _0x5c4efb=_0x3d27e5['charAt'](0x40);if(_0x5c4efb){for(;_0x3b5b18[_0x4644fb(0x2e6)]%0x4;)_0x3b5b18['push'](_0x5c4efb);}return _0x3b5b18[_0x4644fb(0x150)]('');},'parse':function(_0x2fdc2a){var _0x550933=_0x340306,_0x414605=_0x2fdc2a[_0x550933(0x2e6)],_0x2184a7=this[_0x550933(0x2ce)],_0x464195=this[_0x550933(0x487)];if(!_0x464195){_0x464195=this['_reverseMap']=[];for(var _0x38a944=0x0;_0x38a944<_0x2184a7[_0x550933(0x2e6)];_0x38a944++)_0x464195[_0x2184a7[_0x550933(0x25f)](_0x38a944)]=_0x38a944;}var _0x3e94cb=_0x2184a7['charAt'](0x40);if(_0x3e94cb){var _0x4bae3e=_0x2fdc2a[_0x550933(0x30b)](_0x3e94cb);_0x4bae3e!==-0x1&&(_0x414605=_0x4bae3e);}return _0x3dec12(_0x2fdc2a,_0x414605,_0x464195);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3dec12(_0x58db31,_0x5a6588,_0x45efb7){var _0x5eadc9=_0x340306;for(var _0x4020b0=[],_0x3c5ac1=0x0,_0x5519c8=0x0;_0x5519c8<_0x5a6588;_0x5519c8++)if(_0x5519c8%0x4){var _0x15a157=_0x45efb7[_0x58db31['charCodeAt'](_0x5519c8-0x1)]<<_0x5519c8%0x4*0x2,_0x983dbf=_0x45efb7[_0x58db31[_0x5eadc9(0x25f)](_0x5519c8)]>>>0x6-_0x5519c8%0x4*0x2,_0x4d92d6=_0x15a157|_0x983dbf;_0x4020b0[_0x3c5ac1>>>0x2]|=_0x4d92d6<<0x18-_0x3c5ac1%0x4*0x8,_0x3c5ac1++;}return _0x16bdc2[_0x5eadc9(0x1a3)](_0x4020b0,_0x3c5ac1);}}()),_0x22f499['enc']['Base64'];}));}(ge)),ge[_0x25b24b(0x3e2)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x1c3d50=_0x42575d;return et||(et=0x1,function(_0xc94f16,_0x2081e9){(function(_0x28fe1c,_0x230464){var _0x36880c=_0x1588;_0xc94f16[_0x36880c(0x3e2)]=_0x230464(ee());}(ki,function(_0x4baa3c){return function(_0x129cca){var _0x281505=_0x1588,_0x29ffeb=_0x4baa3c,_0x107e90=_0x29ffeb[_0x281505(0x1a6)],_0x283c8d=_0x107e90[_0x281505(0x16d)],_0x370446=_0x107e90[_0x281505(0x358)],_0xa3ef62=_0x29ffeb[_0x281505(0x2aa)],_0x40241f=[];(function(){for(var _0x1dcafe=0x0;_0x1dcafe<0x40;_0x1dcafe++)_0x40241f[_0x1dcafe]=_0x129cca['abs'](_0x129cca['sin'](_0x1dcafe+0x1))*0x100000000|0x0;}());var _0x3aeead=_0xa3ef62[_0x281505(0x218)]=_0x370446[_0x281505(0x41e)]({'_doReset':function(){var _0x45327d=_0x281505;this[_0x45327d(0x3a7)]=new _0x283c8d[(_0x45327d(0x375))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x520782,_0x3b6a7d){var _0x44d0ab=_0x281505;for(var _0xf87358=0x0;_0xf87358<0x10;_0xf87358++){var _0x303d56=_0x3b6a7d+_0xf87358,_0x5c85d6=_0x520782[_0x303d56];_0x520782[_0x303d56]=(_0x5c85d6<<0x8|_0x5c85d6>>>0x18)&0xff00ff|(_0x5c85d6<<0x18|_0x5c85d6>>>0x8)&0xff00ff00;}var _0x5b2d7f=this[_0x44d0ab(0x3a7)]['words'],_0x41531d=_0x520782[_0x3b6a7d+0x0],_0x3215d5=_0x520782[_0x3b6a7d+0x1],_0x29fd40=_0x520782[_0x3b6a7d+0x2],_0x46b254=_0x520782[_0x3b6a7d+0x3],_0xb2d443=_0x520782[_0x3b6a7d+0x4],_0x25824c=_0x520782[_0x3b6a7d+0x5],_0x10f49f=_0x520782[_0x3b6a7d+0x6],_0xa97f47=_0x520782[_0x3b6a7d+0x7],_0x1aaf20=_0x520782[_0x3b6a7d+0x8],_0x5e58a9=_0x520782[_0x3b6a7d+0x9],_0x572cb7=_0x520782[_0x3b6a7d+0xa],_0x4a976a=_0x520782[_0x3b6a7d+0xb],_0x5adee7=_0x520782[_0x3b6a7d+0xc],_0x43de43=_0x520782[_0x3b6a7d+0xd],_0x2ebcd4=_0x520782[_0x3b6a7d+0xe],_0x3ae69a=_0x520782[_0x3b6a7d+0xf],_0x22006a=_0x5b2d7f[0x0],_0x14be0d=_0x5b2d7f[0x1],_0x5de19d=_0x5b2d7f[0x2],_0x5e55ed=_0x5b2d7f[0x3];_0x22006a=_0x3d2979(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x41531d,0x7,_0x40241f[0x0]),_0x5e55ed=_0x3d2979(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x3215d5,0xc,_0x40241f[0x1]),_0x5de19d=_0x3d2979(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x29fd40,0x11,_0x40241f[0x2]),_0x14be0d=_0x3d2979(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x46b254,0x16,_0x40241f[0x3]),_0x22006a=_0x3d2979(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0xb2d443,0x7,_0x40241f[0x4]),_0x5e55ed=_0x3d2979(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x25824c,0xc,_0x40241f[0x5]),_0x5de19d=_0x3d2979(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x10f49f,0x11,_0x40241f[0x6]),_0x14be0d=_0x3d2979(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0xa97f47,0x16,_0x40241f[0x7]),_0x22006a=_0x3d2979(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x1aaf20,0x7,_0x40241f[0x8]),_0x5e55ed=_0x3d2979(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x5e58a9,0xc,_0x40241f[0x9]),_0x5de19d=_0x3d2979(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x572cb7,0x11,_0x40241f[0xa]),_0x14be0d=_0x3d2979(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x4a976a,0x16,_0x40241f[0xb]),_0x22006a=_0x3d2979(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x5adee7,0x7,_0x40241f[0xc]),_0x5e55ed=_0x3d2979(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x43de43,0xc,_0x40241f[0xd]),_0x5de19d=_0x3d2979(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x2ebcd4,0x11,_0x40241f[0xe]),_0x14be0d=_0x3d2979(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x3ae69a,0x16,_0x40241f[0xf]),_0x22006a=_0x6a3ecd(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x3215d5,0x5,_0x40241f[0x10]),_0x5e55ed=_0x6a3ecd(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x10f49f,0x9,_0x40241f[0x11]),_0x5de19d=_0x6a3ecd(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x4a976a,0xe,_0x40241f[0x12]),_0x14be0d=_0x6a3ecd(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x41531d,0x14,_0x40241f[0x13]),_0x22006a=_0x6a3ecd(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x25824c,0x5,_0x40241f[0x14]),_0x5e55ed=_0x6a3ecd(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x572cb7,0x9,_0x40241f[0x15]),_0x5de19d=_0x6a3ecd(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x3ae69a,0xe,_0x40241f[0x16]),_0x14be0d=_0x6a3ecd(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0xb2d443,0x14,_0x40241f[0x17]),_0x22006a=_0x6a3ecd(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x5e58a9,0x5,_0x40241f[0x18]),_0x5e55ed=_0x6a3ecd(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x2ebcd4,0x9,_0x40241f[0x19]),_0x5de19d=_0x6a3ecd(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x46b254,0xe,_0x40241f[0x1a]),_0x14be0d=_0x6a3ecd(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x1aaf20,0x14,_0x40241f[0x1b]),_0x22006a=_0x6a3ecd(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x43de43,0x5,_0x40241f[0x1c]),_0x5e55ed=_0x6a3ecd(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x29fd40,0x9,_0x40241f[0x1d]),_0x5de19d=_0x6a3ecd(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0xa97f47,0xe,_0x40241f[0x1e]),_0x14be0d=_0x6a3ecd(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x5adee7,0x14,_0x40241f[0x1f]),_0x22006a=_0x52335a(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x25824c,0x4,_0x40241f[0x20]),_0x5e55ed=_0x52335a(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x1aaf20,0xb,_0x40241f[0x21]),_0x5de19d=_0x52335a(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x4a976a,0x10,_0x40241f[0x22]),_0x14be0d=_0x52335a(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x2ebcd4,0x17,_0x40241f[0x23]),_0x22006a=_0x52335a(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x3215d5,0x4,_0x40241f[0x24]),_0x5e55ed=_0x52335a(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0xb2d443,0xb,_0x40241f[0x25]),_0x5de19d=_0x52335a(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0xa97f47,0x10,_0x40241f[0x26]),_0x14be0d=_0x52335a(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x572cb7,0x17,_0x40241f[0x27]),_0x22006a=_0x52335a(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x43de43,0x4,_0x40241f[0x28]),_0x5e55ed=_0x52335a(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x41531d,0xb,_0x40241f[0x29]),_0x5de19d=_0x52335a(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x46b254,0x10,_0x40241f[0x2a]),_0x14be0d=_0x52335a(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x10f49f,0x17,_0x40241f[0x2b]),_0x22006a=_0x52335a(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x5e58a9,0x4,_0x40241f[0x2c]),_0x5e55ed=_0x52335a(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x5adee7,0xb,_0x40241f[0x2d]),_0x5de19d=_0x52335a(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x3ae69a,0x10,_0x40241f[0x2e]),_0x14be0d=_0x52335a(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x29fd40,0x17,_0x40241f[0x2f]),_0x22006a=_0x2773bb(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x41531d,0x6,_0x40241f[0x30]),_0x5e55ed=_0x2773bb(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0xa97f47,0xa,_0x40241f[0x31]),_0x5de19d=_0x2773bb(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x2ebcd4,0xf,_0x40241f[0x32]),_0x14be0d=_0x2773bb(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x25824c,0x15,_0x40241f[0x33]),_0x22006a=_0x2773bb(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x5adee7,0x6,_0x40241f[0x34]),_0x5e55ed=_0x2773bb(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x46b254,0xa,_0x40241f[0x35]),_0x5de19d=_0x2773bb(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x572cb7,0xf,_0x40241f[0x36]),_0x14be0d=_0x2773bb(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x3215d5,0x15,_0x40241f[0x37]),_0x22006a=_0x2773bb(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0x1aaf20,0x6,_0x40241f[0x38]),_0x5e55ed=_0x2773bb(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x3ae69a,0xa,_0x40241f[0x39]),_0x5de19d=_0x2773bb(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x10f49f,0xf,_0x40241f[0x3a]),_0x14be0d=_0x2773bb(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x43de43,0x15,_0x40241f[0x3b]),_0x22006a=_0x2773bb(_0x22006a,_0x14be0d,_0x5de19d,_0x5e55ed,_0xb2d443,0x6,_0x40241f[0x3c]),_0x5e55ed=_0x2773bb(_0x5e55ed,_0x22006a,_0x14be0d,_0x5de19d,_0x4a976a,0xa,_0x40241f[0x3d]),_0x5de19d=_0x2773bb(_0x5de19d,_0x5e55ed,_0x22006a,_0x14be0d,_0x29fd40,0xf,_0x40241f[0x3e]),_0x14be0d=_0x2773bb(_0x14be0d,_0x5de19d,_0x5e55ed,_0x22006a,_0x5e58a9,0x15,_0x40241f[0x3f]),_0x5b2d7f[0x0]=_0x5b2d7f[0x0]+_0x22006a|0x0,_0x5b2d7f[0x1]=_0x5b2d7f[0x1]+_0x14be0d|0x0,_0x5b2d7f[0x2]=_0x5b2d7f[0x2]+_0x5de19d|0x0,_0x5b2d7f[0x3]=_0x5b2d7f[0x3]+_0x5e55ed|0x0;},'_doFinalize':function(){var _0x5c78de=_0x281505,_0x4db882=this[_0x5c78de(0x233)],_0x44bccd=_0x4db882[_0x5c78de(0x2cf)],_0x39c284=this[_0x5c78de(0x2bb)]*0x8,_0x360cbe=_0x4db882[_0x5c78de(0x356)]*0x8;_0x44bccd[_0x360cbe>>>0x5]|=0x80<<0x18-_0x360cbe%0x20;var _0x232a24=_0x129cca[_0x5c78de(0x3cc)](_0x39c284/0x100000000),_0x49a075=_0x39c284;_0x44bccd[(_0x360cbe+0x40>>>0x9<<0x4)+0xf]=(_0x232a24<<0x8|_0x232a24>>>0x18)&0xff00ff|(_0x232a24<<0x18|_0x232a24>>>0x8)&0xff00ff00,_0x44bccd[(_0x360cbe+0x40>>>0x9<<0x4)+0xe]=(_0x49a075<<0x8|_0x49a075>>>0x18)&0xff00ff|(_0x49a075<<0x18|_0x49a075>>>0x8)&0xff00ff00,_0x4db882[_0x5c78de(0x356)]=(_0x44bccd[_0x5c78de(0x2e6)]+0x1)*0x4,this[_0x5c78de(0x47d)]();for(var _0x48134b=this[_0x5c78de(0x3a7)],_0x399f5a=_0x48134b[_0x5c78de(0x2cf)],_0x4ba07a=0x0;_0x4ba07a<0x4;_0x4ba07a++){var _0x4753e7=_0x399f5a[_0x4ba07a];_0x399f5a[_0x4ba07a]=(_0x4753e7<<0x8|_0x4753e7>>>0x18)&0xff00ff|(_0x4753e7<<0x18|_0x4753e7>>>0x8)&0xff00ff00;}return _0x48134b;},'clone':function(){var _0x1950e4=_0x281505,_0x38f524=_0x370446[_0x1950e4(0x179)][_0x1950e4(0x26a)](this);return _0x38f524['_hash']=this[_0x1950e4(0x3a7)][_0x1950e4(0x179)](),_0x38f524;}});function _0x3d2979(_0x2f6dd7,_0x543dcb,_0x505e03,_0x5bf029,_0x20ad5f,_0x4dcec0,_0x589223){var _0x4a3719=_0x2f6dd7+(_0x543dcb&_0x505e03|~_0x543dcb&_0x5bf029)+_0x20ad5f+_0x589223;return(_0x4a3719<<_0x4dcec0|_0x4a3719>>>0x20-_0x4dcec0)+_0x543dcb;}function _0x6a3ecd(_0x5e86dc,_0x44dd53,_0x558bd4,_0x1237de,_0x465199,_0x48cdb0,_0x206388){var _0x173683=_0x5e86dc+(_0x44dd53&_0x1237de|_0x558bd4&~_0x1237de)+_0x465199+_0x206388;return(_0x173683<<_0x48cdb0|_0x173683>>>0x20-_0x48cdb0)+_0x44dd53;}function _0x52335a(_0x546e9a,_0x4042ae,_0x26ec7c,_0x291e4d,_0x39eadb,_0x41afbe,_0x5bab35){var _0x481d18=_0x546e9a+(_0x4042ae^_0x26ec7c^_0x291e4d)+_0x39eadb+_0x5bab35;return(_0x481d18<<_0x41afbe|_0x481d18>>>0x20-_0x41afbe)+_0x4042ae;}function _0x2773bb(_0x203fe0,_0x27e16e,_0x470f20,_0x361f51,_0x4fd03e,_0x4cccff,_0x276e81){var _0x4b8b98=_0x203fe0+(_0x470f20^(_0x27e16e|~_0x361f51))+_0x4fd03e+_0x276e81;return(_0x4b8b98<<_0x4cccff|_0x4b8b98>>>0x20-_0x4cccff)+_0x27e16e;}_0x29ffeb[_0x281505(0x218)]=_0x370446[_0x281505(0x3ac)](_0x3aeead),_0x29ffeb[_0x281505(0x164)]=_0x370446[_0x281505(0x40a)](_0x3aeead);}(Math),_0x4baa3c['MD5'];}));}(me)),me[_0x1c3d50(0x3e2)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x42575d(0x3e2)],tt;function $i(){var _0x3a76d4=_0x42575d;return tt||(tt=0x1,function(_0x1a0199,_0x53ef31){(function(_0x2b22b7,_0x1c1ab3){var _0x2648e2=_0x1588;_0x1a0199[_0x2648e2(0x3e2)]=_0x1c1ab3(ee());}(ji,function(_0x519bd2){var _0x2f46d7=_0x1588;return(function(){var _0x417ce5=_0x1588,_0x2fc85f=_0x519bd2,_0x1a0223=_0x2fc85f[_0x417ce5(0x1a6)],_0x21a87b=_0x1a0223['WordArray'],_0x844c85=_0x1a0223[_0x417ce5(0x358)],_0x534d91=_0x2fc85f[_0x417ce5(0x2aa)],_0x25d45a=[],_0x39002a=_0x534d91[_0x417ce5(0x3c4)]=_0x844c85['extend']({'_doReset':function(){var _0x192b8d=_0x417ce5;this[_0x192b8d(0x3a7)]=new _0x21a87b[(_0x192b8d(0x375))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x97f7ec,_0x255b72){var _0x7706c=_0x417ce5;for(var _0x2d9ec1=this['_hash'][_0x7706c(0x2cf)],_0x116460=_0x2d9ec1[0x0],_0x486d44=_0x2d9ec1[0x1],_0x37eda4=_0x2d9ec1[0x2],_0x46e0fe=_0x2d9ec1[0x3],_0x41a6ba=_0x2d9ec1[0x4],_0x514aa9=0x0;_0x514aa9<0x50;_0x514aa9++){if(_0x514aa9<0x10)_0x25d45a[_0x514aa9]=_0x97f7ec[_0x255b72+_0x514aa9]|0x0;else{var _0x1b757f=_0x25d45a[_0x514aa9-0x3]^_0x25d45a[_0x514aa9-0x8]^_0x25d45a[_0x514aa9-0xe]^_0x25d45a[_0x514aa9-0x10];_0x25d45a[_0x514aa9]=_0x1b757f<<0x1|_0x1b757f>>>0x1f;}var _0xf583ec=(_0x116460<<0x5|_0x116460>>>0x1b)+_0x41a6ba+_0x25d45a[_0x514aa9];_0x514aa9<0x14?_0xf583ec+=(_0x486d44&_0x37eda4|~_0x486d44&_0x46e0fe)+0x5a827999:_0x514aa9<0x28?_0xf583ec+=(_0x486d44^_0x37eda4^_0x46e0fe)+0x6ed9eba1:_0x514aa9<0x3c?_0xf583ec+=(_0x486d44&_0x37eda4|_0x486d44&_0x46e0fe|_0x37eda4&_0x46e0fe)-0x70e44324:_0xf583ec+=(_0x486d44^_0x37eda4^_0x46e0fe)-0x359d3e2a,_0x41a6ba=_0x46e0fe,_0x46e0fe=_0x37eda4,_0x37eda4=_0x486d44<<0x1e|_0x486d44>>>0x2,_0x486d44=_0x116460,_0x116460=_0xf583ec;}_0x2d9ec1[0x0]=_0x2d9ec1[0x0]+_0x116460|0x0,_0x2d9ec1[0x1]=_0x2d9ec1[0x1]+_0x486d44|0x0,_0x2d9ec1[0x2]=_0x2d9ec1[0x2]+_0x37eda4|0x0,_0x2d9ec1[0x3]=_0x2d9ec1[0x3]+_0x46e0fe|0x0,_0x2d9ec1[0x4]=_0x2d9ec1[0x4]+_0x41a6ba|0x0;},'_doFinalize':function(){var _0x36ac05=_0x417ce5,_0x5afc93=this[_0x36ac05(0x233)],_0x55762c=_0x5afc93['words'],_0x537a83=this['_nDataBytes']*0x8,_0x1c5d82=_0x5afc93[_0x36ac05(0x356)]*0x8;return _0x55762c[_0x1c5d82>>>0x5]|=0x80<<0x18-_0x1c5d82%0x20,_0x55762c[(_0x1c5d82+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x537a83/0x100000000),_0x55762c[(_0x1c5d82+0x40>>>0x9<<0x4)+0xf]=_0x537a83,_0x5afc93[_0x36ac05(0x356)]=_0x55762c[_0x36ac05(0x2e6)]*0x4,this[_0x36ac05(0x47d)](),this[_0x36ac05(0x3a7)];},'clone':function(){var _0x2c5b22=_0x417ce5,_0x110146=_0x844c85[_0x2c5b22(0x179)][_0x2c5b22(0x26a)](this);return _0x110146['_hash']=this[_0x2c5b22(0x3a7)][_0x2c5b22(0x179)](),_0x110146;}});_0x2fc85f[_0x417ce5(0x3c4)]=_0x844c85[_0x417ce5(0x3ac)](_0x39002a),_0x2fc85f[_0x417ce5(0x494)]=_0x844c85[_0x417ce5(0x40a)](_0x39002a);}()),_0x519bd2[_0x2f46d7(0x3c4)];}));}(Ee)),Ee[_0x3a76d4(0x3e2)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x135483=_0x42575d;return it||(it=0x1,function(_0xb0c23b,_0x28e0a1){(function(_0x1425ab,_0x1aa4f8){var _0x53a964=_0x1588;_0xb0c23b[_0x53a964(0x3e2)]=_0x1aa4f8(ee());}(Bi,function(_0x2d71ec){(function(){var _0x56148e=_0x1588,_0x3b0717=_0x2d71ec,_0x20ea8b=_0x3b0717[_0x56148e(0x1a6)],_0x241cd7=_0x20ea8b[_0x56148e(0x171)],_0x2f346f=_0x3b0717[_0x56148e(0x483)],_0x3bd5ba=_0x2f346f['Utf8'],_0x3879a0=_0x3b0717[_0x56148e(0x2aa)];_0x3879a0[_0x56148e(0x33e)]=_0x241cd7[_0x56148e(0x41e)]({'init':function(_0x876ce1,_0x33dd0a){var _0xb83608=_0x56148e;_0x876ce1=this[_0xb83608(0x160)]=new _0x876ce1[(_0xb83608(0x375))](),typeof _0x33dd0a==_0xb83608(0x2ee)&&(_0x33dd0a=_0x3bd5ba[_0xb83608(0x3eb)](_0x33dd0a));var _0x2afc4a=_0x876ce1[_0xb83608(0x3f9)],_0x45131e=_0x2afc4a*0x4;_0x33dd0a[_0xb83608(0x356)]>_0x45131e&&(_0x33dd0a=_0x876ce1['finalize'](_0x33dd0a)),_0x33dd0a[_0xb83608(0x481)]();for(var _0xae297f=this[_0xb83608(0x19b)]=_0x33dd0a['clone'](),_0x4c220a=this[_0xb83608(0x44b)]=_0x33dd0a[_0xb83608(0x179)](),_0x334553=_0xae297f[_0xb83608(0x2cf)],_0x2b0aa2=_0x4c220a[_0xb83608(0x2cf)],_0x6c3057=0x0;_0x6c3057<_0x2afc4a;_0x6c3057++)_0x334553[_0x6c3057]^=0x5c5c5c5c,_0x2b0aa2[_0x6c3057]^=0x36363636;_0xae297f['sigBytes']=_0x4c220a[_0xb83608(0x356)]=_0x45131e,this[_0xb83608(0x3a6)]();},'reset':function(){var _0xa10a93=_0x56148e,_0x333b72=this[_0xa10a93(0x160)];_0x333b72['reset'](),_0x333b72[_0xa10a93(0x491)](this['_iKey']);},'update':function(_0x1c6688){var _0x30fee5=_0x56148e;return this['_hasher'][_0x30fee5(0x491)](_0x1c6688),this;},'finalize':function(_0x37c912){var _0x43274f=_0x56148e,_0x371d45=this[_0x43274f(0x160)],_0x50c844=_0x371d45[_0x43274f(0x2a0)](_0x37c912);_0x371d45['reset']();var _0x352fe1=_0x371d45[_0x43274f(0x2a0)](this['_oKey'][_0x43274f(0x179)]()[_0x43274f(0x45f)](_0x50c844));return _0x352fe1;}});}());}));}(Ce)),Ce[_0x135483(0x3e2)];}var Wi=Ie[_0x42575d(0x3e2)],nt;function Pt(){var _0x4794db=_0x42575d;return nt||(nt=0x1,function(_0x2cd36a,_0x28b504){(function(_0x138d4a,_0x329910,_0x4ebd54){var _0x1e03e4=_0x1588;_0x2cd36a[_0x1e03e4(0x3e2)]=_0x329910(ee(),$i(),Fi());}(Wi,function(_0x30ca92){var _0x6e489a=_0x1588;return(function(){var _0x47d6dc=_0x1588,_0x32be7a=_0x30ca92,_0x1e0619=_0x32be7a[_0x47d6dc(0x1a6)],_0x9abe0c=_0x1e0619[_0x47d6dc(0x171)],_0x2435fa=_0x1e0619[_0x47d6dc(0x16d)],_0x4c27b9=_0x32be7a[_0x47d6dc(0x2aa)],_0x215821=_0x4c27b9[_0x47d6dc(0x218)],_0x20a351=_0x4c27b9[_0x47d6dc(0x1e3)]=_0x9abe0c[_0x47d6dc(0x41e)]({'cfg':_0x9abe0c['extend']({'keySize':0x80/0x20,'hasher':_0x215821,'iterations':0x1}),'init':function(_0x1ebf71){var _0x2809c6=_0x47d6dc;this[_0x2809c6(0x3ad)]=this[_0x2809c6(0x3ad)][_0x2809c6(0x41e)](_0x1ebf71);},'compute':function(_0x8f39d2,_0x50c855){var _0x3d24ab=_0x47d6dc;for(var _0x391c63,_0x395aee=this['cfg'],_0x59fb77=_0x395aee[_0x3d24ab(0x267)][_0x3d24ab(0x1a3)](),_0x299f2c=_0x2435fa[_0x3d24ab(0x1a3)](),_0x44e1aa=_0x299f2c['words'],_0x7b344=_0x395aee[_0x3d24ab(0x335)],_0x422aaf=_0x395aee[_0x3d24ab(0x207)];_0x44e1aa['length']<_0x7b344;){_0x391c63&&_0x59fb77[_0x3d24ab(0x491)](_0x391c63),_0x391c63=_0x59fb77[_0x3d24ab(0x491)](_0x8f39d2)['finalize'](_0x50c855),_0x59fb77[_0x3d24ab(0x3a6)]();for(var _0x292fea=0x1;_0x292fea<_0x422aaf;_0x292fea++)_0x391c63=_0x59fb77[_0x3d24ab(0x2a0)](_0x391c63),_0x59fb77[_0x3d24ab(0x3a6)]();_0x299f2c['concat'](_0x391c63);}return _0x299f2c[_0x3d24ab(0x356)]=_0x7b344*0x4,_0x299f2c;}});_0x32be7a[_0x47d6dc(0x1e3)]=function(_0x1ee1ca,_0x119a9a,_0x9a86e3){var _0x526551=_0x47d6dc;return _0x20a351[_0x526551(0x1a3)](_0x9a86e3)[_0x526551(0x25e)](_0x1ee1ca,_0x119a9a);};}()),_0x30ca92[_0x6e489a(0x1e3)];}));}(Ie)),Ie[_0x4794db(0x3e2)];}var Te={'exports':{}},Gi=Te[_0x42575d(0x3e2)],rt;function At(){return rt||(rt=0x1,function(_0x5975e4,_0x5b0325){(function(_0x5ef984,_0x4a8b16,_0x331371){var _0x10516a=_0x1588;_0x5975e4[_0x10516a(0x3e2)]=_0x4a8b16(ee(),Pt());}(Gi,function(_0x96362e){var _0x35a23b=_0x1588;_0x96362e[_0x35a23b(0x1a6)][_0x35a23b(0x3d5)]||function(_0x5f0e77){var _0x7f3de8=_0x35a23b,_0x3480ce=_0x96362e,_0x4e9b9f=_0x3480ce['lib'],_0x243263=_0x4e9b9f[_0x7f3de8(0x171)],_0x58f332=_0x4e9b9f[_0x7f3de8(0x16d)],_0x337f21=_0x4e9b9f[_0x7f3de8(0x1da)],_0x91cb71=_0x3480ce['enc'];_0x91cb71['Utf8'];var _0x5ad5fc=_0x91cb71[_0x7f3de8(0x342)],_0x500a6e=_0x3480ce[_0x7f3de8(0x2aa)],_0x248ec0=_0x500a6e['EvpKDF'],_0x5ad616=_0x4e9b9f[_0x7f3de8(0x3d5)]=_0x337f21[_0x7f3de8(0x41e)]({'cfg':_0x243263[_0x7f3de8(0x41e)](),'createEncryptor':function(_0x2a6d06,_0x5cd948){var _0x3f615d=_0x7f3de8;return this[_0x3f615d(0x1a3)](this[_0x3f615d(0x2b2)],_0x2a6d06,_0x5cd948);},'createDecryptor':function(_0x26e9e8,_0x4e650b){var _0x2a11e1=_0x7f3de8;return this[_0x2a11e1(0x1a3)](this[_0x2a11e1(0x25d)],_0x26e9e8,_0x4e650b);},'init':function(_0x454738,_0x242532,_0x50e8ed){var _0x25ad70=_0x7f3de8;this[_0x25ad70(0x3ad)]=this[_0x25ad70(0x3ad)][_0x25ad70(0x41e)](_0x50e8ed),this['_xformMode']=_0x454738,this[_0x25ad70(0x3de)]=_0x242532,this[_0x25ad70(0x3a6)]();},'reset':function(){var _0x37ca7a=_0x7f3de8;_0x337f21[_0x37ca7a(0x3a6)][_0x37ca7a(0x26a)](this),this['_doReset']();},'process':function(_0x2159f8){var _0x51892f=_0x7f3de8;return this['_append'](_0x2159f8),this[_0x51892f(0x47d)]();},'finalize':function(_0x32bb0e){var _0x480748=_0x7f3de8;_0x32bb0e&&this[_0x480748(0x216)](_0x32bb0e);var _0x5a32e5=this[_0x480748(0x373)]();return _0x5a32e5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c4698(_0x2d9d7b){return typeof _0x2d9d7b=='string'?_0x1476f9:_0x26c5d9;}return function(_0x349747){return{'encrypt':function(_0x897bf6,_0x1b56f6,_0x537aeb){return _0x1c4698(_0x1b56f6)['encrypt'](_0x349747,_0x897bf6,_0x1b56f6,_0x537aeb);},'decrypt':function(_0x55209a,_0x48793a,_0x2416a8){var _0x34c356=_0x1588;return _0x1c4698(_0x48793a)[_0x34c356(0x1ac)](_0x349747,_0x55209a,_0x48793a,_0x2416a8);}};};}())});_0x4e9b9f[_0x7f3de8(0x359)]=_0x5ad616['extend']({'_doFinalize':function(){var _0x30aa97=this['_process'](!0x0);return _0x30aa97;},'blockSize':0x1});var _0x14cd31=_0x3480ce[_0x7f3de8(0x40b)]={},_0x1055a7=_0x4e9b9f['BlockCipherMode']=_0x243263[_0x7f3de8(0x41e)]({'createEncryptor':function(_0x110f09,_0x4d58f7){var _0x15e509=_0x7f3de8;return this[_0x15e509(0x431)][_0x15e509(0x1a3)](_0x110f09,_0x4d58f7);},'createDecryptor':function(_0x2f9d0e,_0x367c9c){var _0x4ed507=_0x7f3de8;return this[_0x4ed507(0x339)][_0x4ed507(0x1a3)](_0x2f9d0e,_0x367c9c);},'init':function(_0x193677,_0xd169e2){var _0x557cf5=_0x7f3de8;this['_cipher']=_0x193677,this[_0x557cf5(0x1c2)]=_0xd169e2;}}),_0x3be531=_0x14cd31[_0x7f3de8(0x2c2)]=(function(){var _0x4c377d=_0x7f3de8,_0x1d4a03=_0x1055a7[_0x4c377d(0x41e)]();_0x1d4a03[_0x4c377d(0x431)]=_0x1d4a03[_0x4c377d(0x41e)]({'processBlock':function(_0x55f9e5,_0x2e4572){var _0x575e17=_0x4c377d,_0xda8551=this[_0x575e17(0x447)],_0x2850dd=_0xda8551[_0x575e17(0x3f9)];_0x27c227[_0x575e17(0x26a)](this,_0x55f9e5,_0x2e4572,_0x2850dd),_0xda8551[_0x575e17(0x1d7)](_0x55f9e5,_0x2e4572),this[_0x575e17(0x204)]=_0x55f9e5[_0x575e17(0x4b2)](_0x2e4572,_0x2e4572+_0x2850dd);}}),_0x1d4a03[_0x4c377d(0x339)]=_0x1d4a03['extend']({'processBlock':function(_0x262786,_0x2bf03c){var _0xfab1c6=_0x4c377d,_0x4191be=this[_0xfab1c6(0x447)],_0x3de24b=_0x4191be[_0xfab1c6(0x3f9)],_0x276c88=_0x262786[_0xfab1c6(0x4b2)](_0x2bf03c,_0x2bf03c+_0x3de24b);_0x4191be['decryptBlock'](_0x262786,_0x2bf03c),_0x27c227[_0xfab1c6(0x26a)](this,_0x262786,_0x2bf03c,_0x3de24b),this['_prevBlock']=_0x276c88;}});function _0x27c227(_0x356e64,_0x1109eb,_0x87fa74){var _0x14ca30=_0x4c377d,_0x5c185f,_0x5d6948=this[_0x14ca30(0x1c2)];_0x5d6948?(_0x5c185f=_0x5d6948,this[_0x14ca30(0x1c2)]=_0x5f0e77):_0x5c185f=this[_0x14ca30(0x204)];for(var _0x3451e1=0x0;_0x3451e1<_0x87fa74;_0x3451e1++)_0x356e64[_0x1109eb+_0x3451e1]^=_0x5c185f[_0x3451e1];}return _0x1d4a03;}()),_0x3c2cb7=_0x3480ce[_0x7f3de8(0x287)]={},_0x45c991=_0x3c2cb7[_0x7f3de8(0x21f)]={'pad':function(_0x2279fc,_0x2c541b){var _0x27ad34=_0x7f3de8;for(var _0x1d54e1=_0x2c541b*0x4,_0x2c0f52=_0x1d54e1-_0x2279fc['sigBytes']%_0x1d54e1,_0x11420d=_0x2c0f52<<0x18|_0x2c0f52<<0x10|_0x2c0f52<<0x8|_0x2c0f52,_0x213550=[],_0x35a58d=0x0;_0x35a58d<_0x2c0f52;_0x35a58d+=0x4)_0x213550[_0x27ad34(0x21e)](_0x11420d);var _0x4ce0d6=_0x58f332['create'](_0x213550,_0x2c0f52);_0x2279fc[_0x27ad34(0x45f)](_0x4ce0d6);},'unpad':function(_0x4483d5){var _0x5d760d=_0x7f3de8,_0x3fd95a=_0x4483d5[_0x5d760d(0x2cf)][_0x4483d5[_0x5d760d(0x356)]-0x1>>>0x2]&0xff;_0x4483d5[_0x5d760d(0x356)]-=_0x3fd95a;}};_0x4e9b9f['BlockCipher']=_0x5ad616[_0x7f3de8(0x41e)]({'cfg':_0x5ad616[_0x7f3de8(0x3ad)][_0x7f3de8(0x41e)]({'mode':_0x3be531,'padding':_0x45c991}),'reset':function(){var _0x590502=_0x7f3de8,_0x5dbcf6;_0x5ad616['reset'][_0x590502(0x26a)](this);var _0x5609bd=this[_0x590502(0x3ad)],_0x5c6572=_0x5609bd['iv'],_0x1bad53=_0x5609bd[_0x590502(0x40b)];this[_0x590502(0x38b)]==this['_ENC_XFORM_MODE']?_0x5dbcf6=_0x1bad53[_0x590502(0x1f2)]:(_0x5dbcf6=_0x1bad53[_0x590502(0x278)],this[_0x590502(0x41a)]=0x1),this[_0x590502(0x365)]&&this['_mode']['__creator']==_0x5dbcf6?this['_mode'][_0x590502(0x375)](this,_0x5c6572&&_0x5c6572[_0x590502(0x2cf)]):(this['_mode']=_0x5dbcf6[_0x590502(0x26a)](_0x1bad53,this,_0x5c6572&&_0x5c6572[_0x590502(0x2cf)]),this['_mode'][_0x590502(0x4af)]=_0x5dbcf6);},'_doProcessBlock':function(_0x14d324,_0x389457){var _0x3e833d=_0x7f3de8;this[_0x3e833d(0x365)][_0x3e833d(0x1e9)](_0x14d324,_0x389457);},'_doFinalize':function(){var _0x301acb=_0x7f3de8,_0x1a92a1,_0x9ef237=this[_0x301acb(0x3ad)][_0x301acb(0x256)];return this[_0x301acb(0x38b)]==this[_0x301acb(0x2b2)]?(_0x9ef237[_0x301acb(0x287)](this[_0x301acb(0x233)],this['blockSize']),_0x1a92a1=this['_process'](!0x0)):(_0x1a92a1=this[_0x301acb(0x47d)](!0x0),_0x9ef237['unpad'](_0x1a92a1)),_0x1a92a1;},'blockSize':0x80/0x20});var _0x276dbb=_0x4e9b9f[_0x7f3de8(0x3ee)]=_0x243263[_0x7f3de8(0x41e)]({'init':function(_0x19ffad){var _0x5de080=_0x7f3de8;this[_0x5de080(0x292)](_0x19ffad);},'toString':function(_0x38dd41){var _0x28b4ed=_0x7f3de8;return(_0x38dd41||this['formatter'])[_0x28b4ed(0x389)](this);}}),_0x4fe2e7=_0x3480ce[_0x7f3de8(0x3ae)]={},_0x23a7c8=_0x4fe2e7[_0x7f3de8(0x3f8)]={'stringify':function(_0x41223f){var _0x3d117c=_0x7f3de8,_0x2f0684,_0x115ad5=_0x41223f[_0x3d117c(0x354)],_0x4a978d=_0x41223f[_0x3d117c(0x182)];return _0x4a978d?_0x2f0684=_0x58f332['create']([0x53616c74,0x65645f5f])['concat'](_0x4a978d)[_0x3d117c(0x45f)](_0x115ad5):_0x2f0684=_0x115ad5,_0x2f0684[_0x3d117c(0x22c)](_0x5ad5fc);},'parse':function(_0x26fc6b){var _0x512229=_0x7f3de8,_0x25b790,_0x162069=_0x5ad5fc[_0x512229(0x3eb)](_0x26fc6b),_0x4d097f=_0x162069[_0x512229(0x2cf)];return _0x4d097f[0x0]==0x53616c74&&_0x4d097f[0x1]==0x65645f5f&&(_0x25b790=_0x58f332[_0x512229(0x1a3)](_0x4d097f['slice'](0x2,0x4)),_0x4d097f[_0x512229(0x341)](0x0,0x4),_0x162069[_0x512229(0x356)]-=0x10),_0x276dbb[_0x512229(0x1a3)]({'ciphertext':_0x162069,'salt':_0x25b790});}},_0x26c5d9=_0x4e9b9f[_0x7f3de8(0x328)]=_0x243263[_0x7f3de8(0x41e)]({'cfg':_0x243263[_0x7f3de8(0x41e)]({'format':_0x23a7c8}),'encrypt':function(_0x3aa8d9,_0xa445fc,_0x1b89bc,_0x275b32){var _0x4f6ac7=_0x7f3de8;_0x275b32=this[_0x4f6ac7(0x3ad)][_0x4f6ac7(0x41e)](_0x275b32);var _0x54bf0f=_0x3aa8d9[_0x4f6ac7(0x1f2)](_0x1b89bc,_0x275b32),_0x1e97ba=_0x54bf0f[_0x4f6ac7(0x2a0)](_0xa445fc),_0xba1eef=_0x54bf0f[_0x4f6ac7(0x3ad)];return _0x276dbb[_0x4f6ac7(0x1a3)]({'ciphertext':_0x1e97ba,'key':_0x1b89bc,'iv':_0xba1eef['iv'],'algorithm':_0x3aa8d9,'mode':_0xba1eef['mode'],'padding':_0xba1eef[_0x4f6ac7(0x256)],'blockSize':_0x3aa8d9[_0x4f6ac7(0x3f9)],'formatter':_0x275b32[_0x4f6ac7(0x3ae)]});},'decrypt':function(_0x8948d5,_0x2d986b,_0x1f00f5,_0x270d07){var _0x26f0fd=_0x7f3de8;_0x270d07=this['cfg']['extend'](_0x270d07),_0x2d986b=this['_parse'](_0x2d986b,_0x270d07[_0x26f0fd(0x3ae)]);var _0x22ef1e=_0x8948d5[_0x26f0fd(0x278)](_0x1f00f5,_0x270d07)[_0x26f0fd(0x2a0)](_0x2d986b[_0x26f0fd(0x354)]);return _0x22ef1e;},'_parse':function(_0x2200fa,_0x207af9){var _0x2df6bb=_0x7f3de8;return typeof _0x2200fa==_0x2df6bb(0x2ee)?_0x207af9[_0x2df6bb(0x3eb)](_0x2200fa,this):_0x2200fa;}}),_0x3ce552=_0x3480ce['kdf']={},_0x567e12=_0x3ce552[_0x7f3de8(0x3f8)]={'execute':function(_0x268439,_0x15d0a3,_0x317013,_0x27614c,_0x48c002){var _0x122ff0=_0x7f3de8;if(_0x27614c||(_0x27614c=_0x58f332[_0x122ff0(0x3e7)](0x40/0x8)),_0x48c002)var _0x127f93=_0x248ec0[_0x122ff0(0x1a3)]({'keySize':_0x15d0a3+_0x317013,'hasher':_0x48c002})[_0x122ff0(0x25e)](_0x268439,_0x27614c);else var _0x127f93=_0x248ec0[_0x122ff0(0x1a3)]({'keySize':_0x15d0a3+_0x317013})[_0x122ff0(0x25e)](_0x268439,_0x27614c);var _0xec0644=_0x58f332[_0x122ff0(0x1a3)](_0x127f93[_0x122ff0(0x2cf)]['slice'](_0x15d0a3),_0x317013*0x4);return _0x127f93['sigBytes']=_0x15d0a3*0x4,_0x276dbb[_0x122ff0(0x1a3)]({'key':_0x127f93,'iv':_0xec0644,'salt':_0x27614c});}},_0x1476f9=_0x4e9b9f[_0x7f3de8(0x1eb)]=_0x26c5d9[_0x7f3de8(0x41e)]({'cfg':_0x26c5d9[_0x7f3de8(0x3ad)]['extend']({'kdf':_0x567e12}),'encrypt':function(_0x3eb612,_0x217b75,_0x3bd039,_0x41d434){var _0x3ca398=_0x7f3de8;_0x41d434=this[_0x3ca398(0x3ad)][_0x3ca398(0x41e)](_0x41d434);var _0x3b3731=_0x41d434['kdf'][_0x3ca398(0x28f)](_0x3bd039,_0x3eb612['keySize'],_0x3eb612['ivSize'],_0x41d434[_0x3ca398(0x182)],_0x41d434[_0x3ca398(0x267)]);_0x41d434['iv']=_0x3b3731['iv'];var _0xb46068=_0x26c5d9[_0x3ca398(0x334)][_0x3ca398(0x26a)](this,_0x3eb612,_0x217b75,_0x3b3731[_0x3ca398(0x232)],_0x41d434);return _0xb46068[_0x3ca398(0x292)](_0x3b3731),_0xb46068;},'decrypt':function(_0x71d0eb,_0x1e8502,_0x3abbf4,_0x3f70b6){var _0x54e2ec=_0x7f3de8;_0x3f70b6=this[_0x54e2ec(0x3ad)]['extend'](_0x3f70b6),_0x1e8502=this[_0x54e2ec(0x3b0)](_0x1e8502,_0x3f70b6[_0x54e2ec(0x3ae)]);var _0x392c77=_0x3f70b6[_0x54e2ec(0x28d)][_0x54e2ec(0x28f)](_0x3abbf4,_0x71d0eb[_0x54e2ec(0x335)],_0x71d0eb[_0x54e2ec(0x2f7)],_0x1e8502['salt'],_0x3f70b6[_0x54e2ec(0x267)]);_0x3f70b6['iv']=_0x392c77['iv'];var _0x424791=_0x26c5d9[_0x54e2ec(0x1ac)][_0x54e2ec(0x26a)](this,_0x71d0eb,_0x1e8502,_0x392c77['key'],_0x3f70b6);return _0x424791;}});}();}));}(Te)),Te['exports'];}var Vi=fe[_0x42575d(0x3e2)],st;function Ki(){var _0x1e0757=_0x42575d;return st||(st=0x1,function(_0x20fa13,_0x1dc358){(function(_0xfe9050,_0x5cad20,_0x47af14){var _0x42b75a=_0x1588;_0x20fa13[_0x42b75a(0x3e2)]=_0x5cad20(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0xb6c226){var _0x459c0e=_0x1588;return(function(){var _0x18def=_0x1588,_0x395190=_0xb6c226,_0x1d6405=_0x395190['lib'],_0x3cff33=_0x1d6405['BlockCipher'],_0x13ac82=_0x395190['algo'],_0x391b13=[],_0xa6d651=[],_0x2d75fa=[],_0x404df1=[],_0x4b9b98=[],_0x5ac01e=[],_0x5cfeee=[],_0x4f93a7=[],_0x59cb1f=[],_0x5ab453=[];(function(){for(var _0x2216a1=[],_0x55f867=0x0;_0x55f867<0x100;_0x55f867++)_0x55f867<0x80?_0x2216a1[_0x55f867]=_0x55f867<<0x1:_0x2216a1[_0x55f867]=_0x55f867<<0x1^0x11b;for(var _0x5a7e01=0x0,_0x1eccd3=0x0,_0x55f867=0x0;_0x55f867<0x100;_0x55f867++){var _0x117c8e=_0x1eccd3^_0x1eccd3<<0x1^_0x1eccd3<<0x2^_0x1eccd3<<0x3^_0x1eccd3<<0x4;_0x117c8e=_0x117c8e>>>0x8^_0x117c8e&0xff^0x63,_0x391b13[_0x5a7e01]=_0x117c8e,_0xa6d651[_0x117c8e]=_0x5a7e01;var _0x5f45a9=_0x2216a1[_0x5a7e01],_0x369ac2=_0x2216a1[_0x5f45a9],_0x153f35=_0x2216a1[_0x369ac2],_0x3107f0=_0x2216a1[_0x117c8e]*0x101^_0x117c8e*0x1010100;_0x2d75fa[_0x5a7e01]=_0x3107f0<<0x18|_0x3107f0>>>0x8,_0x404df1[_0x5a7e01]=_0x3107f0<<0x10|_0x3107f0>>>0x10,_0x4b9b98[_0x5a7e01]=_0x3107f0<<0x8|_0x3107f0>>>0x18,_0x5ac01e[_0x5a7e01]=_0x3107f0;var _0x3107f0=_0x153f35*0x1010101^_0x369ac2*0x10001^_0x5f45a9*0x101^_0x5a7e01*0x1010100;_0x5cfeee[_0x117c8e]=_0x3107f0<<0x18|_0x3107f0>>>0x8,_0x4f93a7[_0x117c8e]=_0x3107f0<<0x10|_0x3107f0>>>0x10,_0x59cb1f[_0x117c8e]=_0x3107f0<<0x8|_0x3107f0>>>0x18,_0x5ab453[_0x117c8e]=_0x3107f0,_0x5a7e01?(_0x5a7e01=_0x5f45a9^_0x2216a1[_0x2216a1[_0x2216a1[_0x153f35^_0x5f45a9]]],_0x1eccd3^=_0x2216a1[_0x2216a1[_0x1eccd3]]):_0x5a7e01=_0x1eccd3=0x1;}}());var _0x2adb2d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x62a7cf=_0x13ac82['AES']=_0x3cff33[_0x18def(0x41e)]({'_doReset':function(){var _0x39f244=_0x18def,_0x446ded;if(!(this[_0x39f244(0x3b3)]&&this[_0x39f244(0x2b9)]===this[_0x39f244(0x3de)])){for(var _0x12b096=this['_keyPriorReset']=this[_0x39f244(0x3de)],_0x464072=_0x12b096[_0x39f244(0x2cf)],_0x1d3ed5=_0x12b096[_0x39f244(0x356)]/0x4,_0x5ccac8=this['_nRounds']=_0x1d3ed5+0x6,_0xf25a3e=(_0x5ccac8+0x1)*0x4,_0x202abd=this[_0x39f244(0x17e)]=[],_0x457d9c=0x0;_0x457d9c<_0xf25a3e;_0x457d9c++)_0x457d9c<_0x1d3ed5?_0x202abd[_0x457d9c]=_0x464072[_0x457d9c]:(_0x446ded=_0x202abd[_0x457d9c-0x1],_0x457d9c%_0x1d3ed5?_0x1d3ed5>0x6&&_0x457d9c%_0x1d3ed5==0x4&&(_0x446ded=_0x391b13[_0x446ded>>>0x18]<<0x18|_0x391b13[_0x446ded>>>0x10&0xff]<<0x10|_0x391b13[_0x446ded>>>0x8&0xff]<<0x8|_0x391b13[_0x446ded&0xff]):(_0x446ded=_0x446ded<<0x8|_0x446ded>>>0x18,_0x446ded=_0x391b13[_0x446ded>>>0x18]<<0x18|_0x391b13[_0x446ded>>>0x10&0xff]<<0x10|_0x391b13[_0x446ded>>>0x8&0xff]<<0x8|_0x391b13[_0x446ded&0xff],_0x446ded^=_0x2adb2d[_0x457d9c/_0x1d3ed5|0x0]<<0x18),_0x202abd[_0x457d9c]=_0x202abd[_0x457d9c-_0x1d3ed5]^_0x446ded);for(var _0x21a34d=this[_0x39f244(0x32b)]=[],_0x547dfd=0x0;_0x547dfd<_0xf25a3e;_0x547dfd++){var _0x457d9c=_0xf25a3e-_0x547dfd;if(_0x547dfd%0x4)var _0x446ded=_0x202abd[_0x457d9c];else var _0x446ded=_0x202abd[_0x457d9c-0x4];_0x547dfd<0x4||_0x457d9c<=0x4?_0x21a34d[_0x547dfd]=_0x446ded:_0x21a34d[_0x547dfd]=_0x5cfeee[_0x391b13[_0x446ded>>>0x18]]^_0x4f93a7[_0x391b13[_0x446ded>>>0x10&0xff]]^_0x59cb1f[_0x391b13[_0x446ded>>>0x8&0xff]]^_0x5ab453[_0x391b13[_0x446ded&0xff]];}}},'encryptBlock':function(_0x3ad9cb,_0xcabac9){var _0x2e408d=_0x18def;this[_0x2e408d(0x324)](_0x3ad9cb,_0xcabac9,this[_0x2e408d(0x17e)],_0x2d75fa,_0x404df1,_0x4b9b98,_0x5ac01e,_0x391b13);},'decryptBlock':function(_0x4f43fc,_0x4a365c){var _0x3a6ea2=_0x18def,_0x450d7b=_0x4f43fc[_0x4a365c+0x1];_0x4f43fc[_0x4a365c+0x1]=_0x4f43fc[_0x4a365c+0x3],_0x4f43fc[_0x4a365c+0x3]=_0x450d7b,this['_doCryptBlock'](_0x4f43fc,_0x4a365c,this[_0x3a6ea2(0x32b)],_0x5cfeee,_0x4f93a7,_0x59cb1f,_0x5ab453,_0xa6d651);var _0x450d7b=_0x4f43fc[_0x4a365c+0x1];_0x4f43fc[_0x4a365c+0x1]=_0x4f43fc[_0x4a365c+0x3],_0x4f43fc[_0x4a365c+0x3]=_0x450d7b;},'_doCryptBlock':function(_0x34ffed,_0x40f4c4,_0x2ac269,_0x3db9be,_0xc60b2b,_0x46e476,_0x2f9ef1,_0x2d28e2){var _0x58bc93=_0x18def;for(var _0x35bf94=this[_0x58bc93(0x3b3)],_0x481221=_0x34ffed[_0x40f4c4]^_0x2ac269[0x0],_0x557bbc=_0x34ffed[_0x40f4c4+0x1]^_0x2ac269[0x1],_0x5c684a=_0x34ffed[_0x40f4c4+0x2]^_0x2ac269[0x2],_0x576020=_0x34ffed[_0x40f4c4+0x3]^_0x2ac269[0x3],_0x1560b9=0x4,_0x9d8c36=0x1;_0x9d8c36<_0x35bf94;_0x9d8c36++){var _0x2f1f71=_0x3db9be[_0x481221>>>0x18]^_0xc60b2b[_0x557bbc>>>0x10&0xff]^_0x46e476[_0x5c684a>>>0x8&0xff]^_0x2f9ef1[_0x576020&0xff]^_0x2ac269[_0x1560b9++],_0x20fc40=_0x3db9be[_0x557bbc>>>0x18]^_0xc60b2b[_0x5c684a>>>0x10&0xff]^_0x46e476[_0x576020>>>0x8&0xff]^_0x2f9ef1[_0x481221&0xff]^_0x2ac269[_0x1560b9++],_0xf95983=_0x3db9be[_0x5c684a>>>0x18]^_0xc60b2b[_0x576020>>>0x10&0xff]^_0x46e476[_0x481221>>>0x8&0xff]^_0x2f9ef1[_0x557bbc&0xff]^_0x2ac269[_0x1560b9++],_0x37d4cb=_0x3db9be[_0x576020>>>0x18]^_0xc60b2b[_0x481221>>>0x10&0xff]^_0x46e476[_0x557bbc>>>0x8&0xff]^_0x2f9ef1[_0x5c684a&0xff]^_0x2ac269[_0x1560b9++];_0x481221=_0x2f1f71,_0x557bbc=_0x20fc40,_0x5c684a=_0xf95983,_0x576020=_0x37d4cb;}var _0x2f1f71=(_0x2d28e2[_0x481221>>>0x18]<<0x18|_0x2d28e2[_0x557bbc>>>0x10&0xff]<<0x10|_0x2d28e2[_0x5c684a>>>0x8&0xff]<<0x8|_0x2d28e2[_0x576020&0xff])^_0x2ac269[_0x1560b9++],_0x20fc40=(_0x2d28e2[_0x557bbc>>>0x18]<<0x18|_0x2d28e2[_0x5c684a>>>0x10&0xff]<<0x10|_0x2d28e2[_0x576020>>>0x8&0xff]<<0x8|_0x2d28e2[_0x481221&0xff])^_0x2ac269[_0x1560b9++],_0xf95983=(_0x2d28e2[_0x5c684a>>>0x18]<<0x18|_0x2d28e2[_0x576020>>>0x10&0xff]<<0x10|_0x2d28e2[_0x481221>>>0x8&0xff]<<0x8|_0x2d28e2[_0x557bbc&0xff])^_0x2ac269[_0x1560b9++],_0x37d4cb=(_0x2d28e2[_0x576020>>>0x18]<<0x18|_0x2d28e2[_0x481221>>>0x10&0xff]<<0x10|_0x2d28e2[_0x557bbc>>>0x8&0xff]<<0x8|_0x2d28e2[_0x5c684a&0xff])^_0x2ac269[_0x1560b9++];_0x34ffed[_0x40f4c4]=_0x2f1f71,_0x34ffed[_0x40f4c4+0x1]=_0x20fc40,_0x34ffed[_0x40f4c4+0x2]=_0xf95983,_0x34ffed[_0x40f4c4+0x3]=_0x37d4cb;},'keySize':0x100/0x20});_0x395190['AES']=_0x3cff33[_0x18def(0x3ac)](_0x62a7cf);}()),_0xb6c226[_0x459c0e(0x46f)];}));}(fe)),fe[_0x1e0757(0x3e2)];}var Yi=Ki();function _0x34c0(){var _0x2ada3c=['createInstance','selections','has','auth.needGotoLoginAlert','Cipher','_queuedRemoteChangesets','ILogService','_transformUndoredo','COLLAB_WEB_SOCKET_URL','_executeRemoteChangeset','1264gHcDqQ','INetworkConditionService','getTypeOfUnitDisposed$','_key','parseChangesetToProtocol','msCrypto','transformChangesets','exports','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HEARTBEAT_TIMEOUT_KEY','_transformRemoteChangesetByIMECache','_onRemoteACK','random','json','_scheduleCompleteTimestamp','_getUndoStack','parse','appendMutation','getAllMembers','CipherParams','Latin1','originalMeta','[SyncedState]:\x20received\x20rejection.','_exhaustRemoteChangesetQueue','_initRequestHeader','HttpImport','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','allowed','hostname','OpenSSL','blockSize','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','symbol','RECV','joinRsp','JOINING','snapshotServerUrl','Subject','FAIL','COMPRESS_MUTATION_APPLY','params','socket$','cmd','updateMember','POST','reduce','clear','_createHmacHelper','mode','find','LocaleService','onCommandExecuted','/new_changes','_resendTimer','shouldCloseConn','onSyncEditingCollabCursor','getInterceptPoints','infoRsp','event$','state$','_rescheduleHeartbeat','_collaborationTimeoutTimer','ISingleActiveUnitService','_minBufferSize','onTransformSelections','updateOfflineData','updatePermissionPoint','extend','send','/universer-api/stream/file/upload','ERROR_IMAGE_TYPE','href','onMissingChangesets','_doProcessBlock','_imageSourceCache','sessionStatus$','HEARTBEAT_INTERVAL_KEY','_telemetryInfo','startsWith','_singleActiveUnitService','removeMember','PendingState','crypto','_getSignURL','location','TOO_MANY_REQUESTS','Encryptor','APPLY_PERMISSION_DENIED','ALREADY_EXISTS','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','headers','MUTATION','2342217myKzTg','method','uniscriptRunEvent','newCsEvent','@univerjs-pro/license','toLowerCase','batchAllowed','NEW_CHANGESETS','confirm','_replayCachedMutations','_onRemoteRejected','_getDownloadEndpointURL','LOCAL_CACHE_INTERVAL','defineProperty','_waitForHeartbeatResponse','_cipher','rng','AWAITING_WITH_PENDING','_acknowledgedAwaitingChangeset','_iKey','session.join-failed','close$','requireSession','startTime','ERROR_IMAGE','_onRemoteChangeset','SessionStatus','Undefined','_stopTelemetryCollaborationNewChangeset','APPLY_REJECT','_socket','onlyLocal','DEFAULT_FILE_NAME','PSEUDO_FETCH_MISSING_RESULT','_transformRemoteChangesetByStateCache','onRemoteAck','data','getMemberID','$super','concat','_sender','uploadFileServerUrl','updatePermissionObjEvent','session.room-not-exists','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','MergeInterceptorFactory','createSocket','_clearTimeoutTimer','_updateStatus','status$','_clearCollaborationTimeoutTimer','/unit/','_sendHeartbeat','members','AES','enableOfflineEditing','_onUserLeave','onMissedChangesetFetched','Optional','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','LICENSE_IMPORT_SIZE_EXCEEDED','_undoStacks','collaborators','entries','objectType','getSheetId','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','patch','_process','15666TYUJOb','connection\x20error','PERMISSION_REJ','clamp','DataLoaderService','enc','UNKNOWN_CMD','univer-pro.collaboration-client-socket-service','_onJoinRoomEvent','_reverseMap','loginUrlKey','IAuthzIoService','UniverCollaborationClientPlugin','_loadSheet','/universer-api/authz','/collaborator','updateCollaborator','subject','onRemoteRej','update','_snapshotService','getOwnPropertyDescriptor','HmacSHA1','Hex','save\x20fail\x20reason\x20is\x20','COLLAB_WEB_SOCKET_URL_KEY','unit-cache-','incrementRevOfUnit','getDeserializedSheetBlock','_resendTimeout','getCurrentUser','url','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_permissionService','snapshot','_commentService','_onOffline','USERS_ENTER','_lockTransition','_socketReady','_transformSelections','COMMENT_UPDATE','getMember','OPTIONAL','catch','fromCollab','add','_startTelemetryCollaborationNewChangeset','_type','__creator','fetchMissingChangesets','/-/object/-/batch_allowed','slice','byteOffset','MSG_FOR_ERROR','getConfig','_onRecvEvent','YUUMI_UNABLE_LOAD_URL','status','_sendingTimer','Could\x20not\x20dynamically\x20require\x20\x22','registerHTTPInterceptor','[PendingState]:\x20received\x20acknowledgement.','COLLAB_SUBMIT_CHANGESET_URL_KEY','replace','type','commentUpdate$','OfflineState','image/jpeg','join','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/core','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_clearRedo','{fileID}','dispose$','ReplaySubject','AWAITING','_retryConnectingTimer','duration','4pGXUSX','getRandomValues','_toggleOnline','SnapshotServerOverHTTPService','FETCH_MISSING','_hasher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessionStatus$','_initMergeInterceptor','HmacMD5','rxjs/operators','IMentionIOService','ICollaborationSocketService','getCurrentSelections','createCollaborator','isPermissionRej','_clearUndo','_registerDependencies','WordArray','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','encode','Base','onload','getUnitStatus$','LIVESHARE_OPERATION','baseRev','rev','HTTPRequest','HttpExport','clone','take','sheets','_socketService','userID','_keySchedule','SOCKET_FAILED','src','DocCollaborationEntity','salt','SheetTransformSelectionsService','805626dGlaoG','function','_members$','_redoStacks','textEncoder','DependentOn','roles','_toggleOffline','_changesetSessionId','revision','x-univer-host','RxDisposable','getImageSourceCache','MemberService','_retryCount','randomBytes','session.room-cnt-exceeds','UNISCRIPT_RUN','_handlerCallback','CHANGESET_REVISION_CONFILICT','YUUMI_SUBSCRIPTION_NOT_FOUND','CollaborationStatus','m2Prime','_oKey','UnitSnapshot','setWaitCount','onTransformState','_substituteRedoStack','SOCKET_FAILED_RETRY','closeSession','LICENSE_DISTRO_REJECTED','create','toDisposable','_instanceService','lib','toStringTag','textRanges','UPDATE_CURSOR','_configService','CLOSE_ROOM','decrypt','merge','CommentService','_collaborationPaused','/fetchmissing?from=','_snapshotServerService','fetchMiss','SHOULD_CLOSE_CONN','CommandType','compose','_sendHeartbeatTimer','_config','buffer','270793cyBqnL','JOIN_ROOM_NOT_EXISTS','AuthzIoHttpService','concatMap','focused$','\x20to\x20','asObservable','_createHandler','UniverInstanceType','_iv','_pendingMutations','SheetsSelectionsService','waitForRoom$','_univerInstanceService','_injector','error','FETCH_MISS','LOGIN_URL_KEY','unitID','_candidateSocket','YUUMI_URL_COL_OUT_OF_RANGE','getSheetBlock','@univerjs/docs','localCacheService','_commandService','BehaviorSubject','pluginName','_getLoginPath','_initUnitPermissionChange','onRemoteRetry','encryptBlock','_unitID','equals','BufferedBlockAlgorithm','_logService','getRoom','[DataLoaderService]','downloadEndpointUrl','initWorkbookPermissionChange','_onMessage','RETRY_CONNECTING_MAX_COUNT','BASE64','EvpKDF','NoPadding','dispose','OFFLINE','includes','_transformStateCache','processBlock','unsubscribe','PasswordBasedCipher','awaiting_with_pending','HEARTBEAT_TIMEOUT','_state$','reconnect','hasOwnProperty','unitInfo$','createEncryptor','_changesetReqId','fetching\x20missing\x20changesets\x20from\x20','subUnitId','filter','_entityInit$','IConfigService','_onCombEvent','deserializeToCombResponse','debug','localeService','_socket$','routeKey','_transformIMECache','isArray','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEARTBEAT','_sheetTransformSelectionsService','_prevBlock','close','ITransformService','iterations','ImageUploadStatusType','SUBMIT_CHANGESET_TIMEOUT','then','&source=','responseType','requestParams','fetchThroughInterceptors','ERROR_EXCEED_SIZE','getFocusedUnit','/-/object/list','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_remoteChangesetQueue','_socketMessageSubscription','_replaceFileID','_append','avatar','MD5','ConflictState','IPermissionService','JOIN_ROOM_FAILED','getTypeOfUnitAdded$','failed\x20to\x20apply\x20missed\x20changesets!','push','Pkcs7','UNRECOGNIZED','telemetry\x20info\x20is\x20not\x20initialized','executeCommand','COMPLETION_FINISHED','APPLY_NON_SEQUENTIAL_REVISION','_revisionService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','prototype','name','loadOfflineData','reverse','getUnit','toString','_timeoutTimer','getUnitType','Error\x20on\x20receiving\x20event','listRoles','_change$','key','_data','HELLO','_tryReconnect','readyForCollab','bind','UNIVER_PROJECT','capture','_getSendChangesetTimeout','_updateLocalCache','roomInfos','IDLE','_unlockTransition','enableSingleActiveInstanceLock','isTransformChangesetsSuccess','max','size','_getRedoStack','__Key__','onRemoteChangeset','file','_tryEnsureSocket','_onFetchMissResult','title','_memberService','_collabSessionService','_roomMembers','FetchingMissState','collaboratorID','USERS_LEAVE','not_collab','touchDependencies','workbook','onTransformRemoteChangesetByStateCache','Inject','SNAPSHOT_INVALID_SNAPSHOT','padding','post','_clearRetryConnectingTimer','mapDocumentTypeToUniverType','_resendWithTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[OfflineState]:\x20received\x20rejection.','_DEC_XFORM_MODE','compute','charCodeAt','_onLocalMutation','3328530pbKzig','_initCloseConn','_init','CollaborationSessionService','collaboration-client.config','_updateState','hasher','_createInitialState','authzUrl','call','[UniverCollaborationClientPlugin]','unitId\x20is\x20not\x20found','offline','[CollaborationSession]','LICENSE_EXPORT_SIZE_EXCEEDED','_clearLocalCache','UNIVER_UNKNOWN','open$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ONLINE','getTime','_userManagerService','MentionType','createDecryptor','disposeWithMe','append','csShouldRetryEvent','_unitInfo$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UniverCollaborationPlugin','actions','_initDependencies','ISnapshotServerService','Univer','UnitStatus','NO_OTHER_CLIENTS_EDITING','_createInitialStateImpl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','pad','sequenceExecute','UUID','apply','_shouldReportTelemetry','forEach','kdf','fetch_missing','execute','takeUntil','3093460jdpKpT','mixIn','_getUploadFileURL','/universer-api/oidc/authpage','mergeOverrideWithDependencies','_clearHeartbeatTimer','_state','subscribe','CHANGESET_REJ','list','delete','_getAPIPrefix','SUBMIT_CHANGESET','fromCharCode','_onConnectionOpen','finalize','createIdentifier','JOIN_ROOM_FULL','_checkMissing','isTransformMutationsWithChangesetSuccess','CollaborationSession','?url=','LEAVE','readInt32LE','getValue','algo','action','memberID','UNIVER_SHEET','image/png','/universer-api/file/{fileID}/sign-url','collaboration-client.local-cache-service','CollaborationEntity','_ENC_XFORM_MODE','_collaborationSessionService','rxjs','session','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/network','Injector','_keyPriorReset','get','_nDataBytes','ITelemetryService','_startCollaboration','[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.','/object/','collabSubmitChangesetUrl','onTransformRemoteChangesetByIMECache','CBC','b64DecodeUnicode','socketService','_httpService','COMPRESS_MUTATION_SEND','HEARTBEAT_INTERVAL','emitEvent','LICENSE_MAX_UNITS_EXCEEDED','AwaitingWithPendingState','_isPermissionRej','mutations','resend','_map','words','map','changesets','CollaborationSocketService','_syncEditingCollabCursor','_eventService','_submitChangeset','awaitingChangeset','PY_RUNTIME_SCRIPT_ERROR','YUUMI_RATE_OVER_LIMIT','\x0aCurrent:\x20','sid','/rev/','setShowComponents','_awaitingChangeset','MentionIoHttpService','now','WorkbookEditablePermission','JSONX','AUTHZ_URL_KEY','pending','_listenToNetworkCondition','origin','length','editing\x20status\x20changed\x20to','ICommandService','_clearScheduledTask','onStateChange','code','from','_entities','string','INTERNAL_ERROR','listCollaborators','UPDATE_PERMISSION_OBJ','socket\x20open.','UNAUTHENTICATED','onLocalMutation','_loadDoc','loadUnit','ivSize','permissionRejEvent','UnitEmbedded','reqId','_onRemoteRetry','getImage','byteLength','stopTime','_localeService','setConfig','getUnitId','&to=','awaiting','_status$','getResourcesRequest','Quantity','toggleOffline','SUCCUSS','objectID','_scheduleCollaborationTimeoutTimer','indexOf','EmptyMutation','CHANGESET_SHOULD_RETRY','LIVESHARE_NEW_HOST','AwaitingState','_incrementRevisionNumber','Module','onSendChangeset','isInternalEditorID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','PERSON','SNAPSHOT_URL_KEY','_networkConditionService','SnapshotService','INGEST','deleteCollaborator','\x20in\x20_schedule.','toggleOnline','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[OfflineState]:\x20received\x20changeset.','getUnitOnRev','setCurrentUser','registerDependencies','transformUndoRedo','_getAPIPrefixPath','_doCryptBlock','submit\x20changeset\x20error!','\x20-\x20','JOIN_ROOM_PERMISSION_DENIED','SerializableCipher','result','updateCursorEvent','_invKeySchedule','InsertSheetMutation','_onUserJoin','_onConnectionFailed','/universer-api/snapshot','LIVESHARE_TERMINATE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_DENIED','resolve','encrypt','keySize','_throwTelemetryCollaborationNewChangeset','CollaborationController','UNIVER_DOC','Decryptor','_handler','SyncedState','set','APPLY_DUPLICATED','HMAC','[SyncedState]:\x20received\x20acknowledgement.','PENDING','splice','Base64','message$','/allowed','getSnapshotAPIPath','SetSelectionsOperation','deepClone','synced','ILocalCacheService','/block/','Tools','JOIN','_createSocket','_telemetryService','transformMutationsWithChangeset','Disposable','IContextService','CONFLICT','CollaborationImageIoService','ciphertext','body','sigBytes','unknown','Hasher','StreamCipher','override','generateRandomId','HTTPService','_onConflict','CollaborationUIEventService','SheetCollaborationEntity','OTHER_CLIENT_EDITING','unitId','LIVESHARE_FETCH_OPERATIONS','_compressMutationService','next','_mode','_removeRoom','charAt','_HTTPService','_getCurrentRevision','eventID','addImageSourceCache','sessionStatus','UNIVER_SLIDE','pauseCollaboration','CollaborationEvent','_localCacheService','putCollaborators','GLOBAL_ROOMS_CNT_EXCEEDS','_doFinalize','RETRY_CONNECTING_MAX_COUNT_KEY','init','IUniverInstanceService','csRejEvent','UNKNOWN_CODE','APPLY_REVISION_CONFILICT','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','range','image/gif','leaveEvent','_schedule','getCollabEntity','_undoRedoService','_substituteUndoStack','interceptor','complete','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_decreaseWaiting','conflict','c1Prime','RevisionService','stringify','_members','_xformMode','reject','9jGjPlu','CollaborativeUndoRedoService','saveSnapshot','_collaborationUIEventService','error$','_sessions','RichTextEditingMutation','onTransformIME','_getCtorByUniverType','_joinRoom','@univerjs-pro/collaboration','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCollabEntity$','min','_fetchMissChangesets','ImageSourceType','LocalUndoRedoService','repeat','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UserManagerService','objectActions','Malformed\x20UTF-8\x20data','saveSheetBlock','getCurrentRevOfUnit','UniverNetworkPlugin','reset','_hash','_doReset','46266utMuHO','OTHER_CLIENTS_EDITING','randomUUID','_createHelper','cfg','format','_roomCreated$','_parse','CHANGESET_ACK','pipe','_nRounds','SNAPSHOT_HAS_BEEN_REMOVED','FileId','@univerjs/sheets','DisposableCollection','[CollaborationEntity]','_disableEditing','CompressMutationService','target','SNAPSHOT_SERVER_URL_KEY','collaboration_new_changeset','_showConflictNotification','NOT_FOUND','_event$','default','sendChangesetTimeout','LIVESHARE_REQUEST_HOST','SHA1','[OfflineState]:\x20received\x20acknowledgement.','CONNECTOR_DATA_TOO_LARGE','resourceIDs','IUndoRedoService','_transformService','ceil','_transitionLocked','floor','_commentUpdate$','getLatestCsReqIdBySid','image/bmp','_applyRemoteChangeset'];_0x34c0=function(){return _0x2ada3c;};return _0x34c0();}const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x42575d(0x3e2)],at;function Xi(){var _0x550f05=_0x42575d;return at||(at=0x1,function(_0x472160,_0x1690a1){(function(_0x3bef37,_0x20e915){var _0x1aa208=_0x1588;_0x472160[_0x1aa208(0x3e2)]=_0x20e915(ee());}(Ji,function(_0xdddf8c){var _0x51e1e6=_0x1588;return _0xdddf8c[_0x51e1e6(0x483)]['Utf8'];}));}(be)),be[_0x550f05(0x3e2)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x42575d(0x3e2)],ct;function tn(){return ct||(ct=0x1,function(_0x52d4dc,_0x52ffdd){(function(_0x4a4961,_0x2c0bad){var _0x1b18ac=_0x1588;_0x52d4dc[_0x1b18ac(0x3e2)]=_0x2c0bad(ee());}(en,function(_0x2c6170){var _0x3db914=_0x1588;return(function(){var _0x1a877f=_0x1588;if(typeof ArrayBuffer==_0x1a877f(0x185)){var _0x424cf8=_0x2c6170,_0x5141cd=_0x424cf8['lib'],_0x281682=_0x5141cd[_0x1a877f(0x16d)],_0xb03ca4=_0x281682[_0x1a877f(0x375)],_0xd1411=_0x281682[_0x1a877f(0x375)]=function(_0x8c506d){var _0x4ea0a7=_0x1a877f;if(_0x8c506d instanceof ArrayBuffer&&(_0x8c506d=new Uint8Array(_0x8c506d)),(_0x8c506d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x8c506d instanceof Uint8ClampedArray||_0x8c506d instanceof Int16Array||_0x8c506d instanceof Uint16Array||_0x8c506d instanceof Int32Array||_0x8c506d instanceof Uint32Array||_0x8c506d instanceof Float32Array||_0x8c506d instanceof Float64Array)&&(_0x8c506d=new Uint8Array(_0x8c506d[_0x4ea0a7(0x1b8)],_0x8c506d[_0x4ea0a7(0x4b3)],_0x8c506d[_0x4ea0a7(0x2fd)])),_0x8c506d instanceof Uint8Array){for(var _0x2b4bfa=_0x8c506d[_0x4ea0a7(0x2fd)],_0xed480f=[],_0x21d678=0x0;_0x21d678<_0x2b4bfa;_0x21d678++)_0xed480f[_0x21d678>>>0x2]|=_0x8c506d[_0x21d678]<<0x18-_0x21d678%0x4*0x8;_0xb03ca4['call'](this,_0xed480f,_0x2b4bfa);}else _0xb03ca4[_0x4ea0a7(0x28a)](this,arguments);};_0xd1411[_0x1a877f(0x227)]=_0x281682;}}()),_0x2c6170[_0x3db914(0x1a6)]['WordArray'];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x42575d(0x3e2)],ht;function on(){var _0x119dfb=_0x42575d;return ht||(ht=0x1,function(_0x4979be,_0x44429e){(function(_0xb30f84,_0x50c8a5,_0x3fd36e){var _0x279a7c=_0x1588;_0x4979be[_0x279a7c(0x3e2)]=_0x50c8a5(ee(),At());}(sn,function(_0x1b8134){var _0x3e0cef=_0x1588;return _0x1b8134[_0x3e0cef(0x287)][_0x3e0cef(0x1e4)]={'pad':function(){},'unpad':function(){}},_0x1b8134[_0x3e0cef(0x287)][_0x3e0cef(0x1e4)];}));}(ye)),ye[_0x119dfb(0x3e2)];}var an=on();const cn=Se(an);function hn(_0x2a8bbb,_0x36e02a){var _0x5eff0e=_0x42575d;const _0x176633=_0x36e02a-_0x2a8bbb['length']%_0x36e02a,_0x5cb74d=String[_0x5eff0e(0x29e)](_0x176633)[_0x5eff0e(0x39e)](_0x176633);return _0x2a8bbb+_0x5cb74d;}function ln(_0x3ba6ad,_0x51bac1){var _0x5d97c5=_0x42575d;const _0x32716b=rn[_0x5d97c5(0x3e7)](0x10),_0x2944fd=hn(_0x3ba6ad,0x10),_0x226316=qi[_0x5d97c5(0x334)](Qi[_0x5d97c5(0x3eb)](_0x2944fd),ot['parse'](_0x51bac1),{'iv':_0x32716b,'padding':cn});return _0x32716b['concat'](_0x226316[_0x5d97c5(0x354)])[_0x5d97c5(0x22c)](ot);}function _n(){var _0x26e515=_0x42575d;const _0x62cc1=xt['getGlobalObject']()[_0x26e515(0x244)];if(_0x62cc1){const _0x164b94={'time':Math[_0x26e515(0x3cc)](Date['now']()/0x3e8),'domain':location[_0x26e515(0x3f7)]};return ln(JSON[_0x26e515(0x389)](_0x164b94),_0x62cc1);}}var un=Object[_0x42575d(0x493)],dn=(_0x27ab76,_0x445bc8,_0x1f8872,_0x47aea2)=>{var _0x1ba9f5=_0x42575d;for(var _0x38b5e5=_0x47aea2>0x1?void 0x0:_0x47aea2?un(_0x445bc8,_0x1f8872):_0x445bc8,_0x2d4ada=_0x27ab76[_0x1ba9f5(0x2e6)]-0x1,_0x457876;_0x2d4ada>=0x0;_0x2d4ada--)(_0x457876=_0x27ab76[_0x2d4ada])&&(_0x38b5e5=_0x457876(_0x38b5e5)||_0x38b5e5);return _0x38b5e5;},vn=(_0x5859e4,_0x40bd50)=>(_0x4d6558,_0x4d5367)=>_0x40bd50(_0x4d6558,_0x4d5367,_0x5859e4);let Ne=class{constructor(_0x56c784){var _0x1067a5=_0x42575d;this[_0x1067a5(0x2c5)]=_0x56c784,this['_initRequestHeader']();}[_0x42575d(0x3f3)](){var _0x45f4bb=_0x42575d;this[_0x45f4bb(0x2c5)][_0x45f4bb(0x4bb)]({'interceptor':(_0x468fb4,_0xbf2364)=>{var _0x516b87=_0x45f4bb;const _0xfe1264=_0x468fb4[_0x516b87(0x436)],_0x162651=_n();return _0x162651&&_0xfe1264['set'](_0x516b87(0x18e),_0x162651),_0xbf2364(_0x468fb4);}});}};Ne=dn([vn(0x0,a[_0x42575d(0x254)](q[_0x42575d(0x35c)]))],Ne);var Sn=Object[_0x42575d(0x493)],fn=(_0x3c3bef,_0x11c172,_0x538212,_0x26eb56)=>{for(var _0x46b90c=_0x26eb56>0x1?void 0x0:_0x26eb56?Sn(_0x11c172,_0x538212):_0x11c172,_0x12bd36=_0x3c3bef['length']-0x1,_0x84c3ad;_0x12bd36>=0x0;_0x12bd36--)(_0x84c3ad=_0x3c3bef[_0x12bd36])&&(_0x46b90c=_0x84c3ad(_0x46b90c)||_0x46b90c);return _0x46b90c;},Me=(_0x5270eb,_0x313b5c)=>(_0x116ca5,_0x566bd0)=>_0x313b5c(_0x116ca5,_0x566bd0,_0x5270eb);exports[_0x42575d(0x482)]=class extends a['RxDisposable']{constructor(_0xcb7f08,_0x26ce34,_0x4d047b){var _0x1e1366=_0x42575d;super(),P(this,_0x1e1366(0x27c),new j[(_0x1e1366(0x1d2))](null)),P(this,_0x1e1366(0x1f1),this[_0x1e1366(0x27c)]['asObservable']()),(this[_0x1e1366(0x1db)]=_0xcb7f08,this[_0x1e1366(0x492)]=_0x26ce34,this['_localCacheService']=_0x4d047b);}async[_0x42575d(0x2f6)](_0x40cb1b,_0x456237,_0x185ec7){var _0x48ff45=_0x42575d;this['_unitInfo$'][_0x48ff45(0x364)]({'unitId':_0x40cb1b,'type':_0x456237,'subUnitId':_0x185ec7});let _0x3c26ec=null;switch(_0x456237){case X[_0x48ff45(0x2ad)]:{_0x3c26ec=await this[_0x48ff45(0x48b)](_0x40cb1b);break;}case X['UNIVER_DOC']:{_0x3c26ec=await this['_loadDoc'](_0x40cb1b);break;}default:{this[_0x48ff45(0x1db)]['error'](_0x48ff45(0x1dd),_0x48ff45(0x2b6));break;}}return _0x3c26ec;}async['_loadSheet'](_0x428d95){var _0x29f044=_0x42575d,_0x1acab3;let _0x20782f=0x0;const _0x5b60a6=await((_0x1acab3=this[_0x29f044(0x370)])==null?void 0x0:_0x1acab3['loadOfflineData'](_0x428d95));return _0x5b60a6&&(_0x5b60a6[_0x29f044(0x2d6)]||_0x5b60a6['mutations'][_0x29f044(0x2e6)]!==0x0)&&(_0x20782f=_0x5b60a6[_0x29f044(0x176)]),_0x20782f===0x0&&this['_logService'][_0x29f044(0x1fb)]('[DataLoaderService]',_0x29f044(0x464)),this[_0x29f044(0x492)]['loadSheet'](_0x428d95,_0x20782f);}async[_0x42575d(0x2f5)](_0x22c391){var _0x150d1c=_0x42575d,_0xcf4a;let _0x3990f=0x0;const _0x44af56=await((_0xcf4a=this[_0x150d1c(0x370)])==null?void 0x0:_0xcf4a[_0x150d1c(0x229)](_0x22c391));return _0x44af56&&(_0x44af56[_0x150d1c(0x2d6)]||_0x44af56[_0x150d1c(0x2cc)][_0x150d1c(0x2e6)]!==0x0)&&(_0x3990f=_0x44af56[_0x150d1c(0x176)]),_0x3990f===0x0&&this[_0x150d1c(0x1db)][_0x150d1c(0x1fb)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x150d1c(0x492)]['loadDoc'](_0x22c391,_0x3990f);}},exports[_0x42575d(0x482)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x42575d(0x254)](g[_0x42575d(0x318)])),Me(0x2,a[_0x42575d(0x473)](z))],exports['DataLoaderService']);var pn=Object[_0x42575d(0x493)],gn=(_0x4a704,_0xe547c,_0x16e848,_0x2201dc)=>{var _0xe40896=_0x42575d;for(var _0x28b91d=_0x2201dc>0x1?void 0x0:_0x2201dc?pn(_0xe547c,_0x16e848):_0xe547c,_0x27a953=_0x4a704[_0xe40896(0x2e6)]-0x1,_0xeae32f;_0x27a953>=0x0;_0x27a953--)(_0xeae32f=_0x4a704[_0x27a953])&&(_0x28b91d=_0xeae32f(_0x28b91d)||_0x28b91d);return _0x28b91d;},xe=(_0xf153a7,_0x3ee178)=>(_0x537fde,_0x10309c)=>_0x3ee178(_0x537fde,_0x10309c,_0xf153a7);const mn=[_0x42575d(0x2ae),_0x42575d(0x14f),'image/jpg',_0x42575d(0x37c),_0x42575d(0x3cf)],In=0x5*0x400*0x400,En=_0x42575d(0x27d),Cn=_0x42575d(0x420),Tn=_0x42575d(0x398),bn=_0x42575d(0x2af);exports[_0x42575d(0x353)]=class{constructor(_0x3c45d0,_0x5f1447,_0x4759be){var _0x2227e3=_0x42575d;P(this,_0x2227e3(0x435),0x0),P(this,'_change$',new j[(_0x2227e3(0x400))]()),P(this,'change$',this[_0x2227e3(0x231)]),P(this,_0x2227e3(0x425),new Map()),(this[_0x2227e3(0x2c5)]=_0x3c45d0,this[_0x2227e3(0x1aa)]=_0x5f1447,this['_univerInstanceService']=_0x4759be);}[_0x42575d(0x19d)](_0x27f892){var _0x1fa450=_0x42575d;this[_0x1fa450(0x435)]=_0x27f892,this[_0x1fa450(0x231)][_0x1fa450(0x364)](_0x27f892);}[_0x42575d(0x190)](_0x4282dd,_0x65114e){var _0x7abd0=_0x42575d;if(_0x65114e===J[_0x7abd0(0x39c)]['BASE64']){const _0x35124e=new Image();return _0x35124e[_0x7abd0(0x180)]=_0x4282dd,_0x35124e;}return this['_imageSourceCache'][_0x7abd0(0x2ba)](_0x4282dd);}[_0x42575d(0x36b)](_0x1524c7,_0x32dc1c,_0x4e5043){var _0x506e5a=_0x42575d;_0x32dc1c===J['ImageSourceType'][_0x506e5a(0x1e2)]||_0x4e5043==null||this['_imageSourceCache'][_0x506e5a(0x33c)](_0x1524c7,_0x4e5043);}async[_0x42575d(0x2fc)](_0x57fa00){var _0x1aa9b6=_0x42575d;try{const _0x46d1ba=this['_replaceFileID'](this[_0x1aa9b6(0x42e)](),''+_0x57fa00),_0x46e741=(await this[_0x1aa9b6(0x2c5)][_0x1aa9b6(0x2ba)](_0x46d1ba))[_0x1aa9b6(0x355)];if(_0x46e741[_0x1aa9b6(0x1c8)]&&_0x46e741[_0x1aa9b6(0x1c8)][_0x1aa9b6(0x2eb)]===Ct['OK']){const _0x2610cb=new URL(_0x46e741[_0x1aa9b6(0x49d)],this[_0x1aa9b6(0x443)]())['toString']();return Promise[_0x1aa9b6(0x333)](_0x2610cb);}return Promise[_0x1aa9b6(0x38c)](_0x46e741[_0x1aa9b6(0x1c8)]);}catch(_0x43bd6e){return Promise['reject'](_0x43bd6e);}}async['saveImage'](_0x2ce460){var _0x4404f8=_0x42575d;let _0x19ac3b='';if(!mn[_0x4404f8(0x1e7)](_0x2ce460['type']))return this[_0x4404f8(0x385)](),Promise[_0x4404f8(0x38c)](new Error(J['ImageUploadStatusType'][_0x4404f8(0x421)]));if(_0x2ce460['size']>In)return this[_0x4404f8(0x385)](),Promise[_0x4404f8(0x38c)](new Error(J[_0x4404f8(0x208)][_0x4404f8(0x20f)]));try{const _0x47146e=new FormData();_0x47146e[_0x4404f8(0x27a)](_0x4404f8(0x246),_0x2ce460);const _0x22b925=this[_0x4404f8(0x1c6)][_0x4404f8(0x210)](),_0x4e845a=_0x22b925==null?void 0x0:_0x22b925[_0x4404f8(0x301)]();if(!_0x4e845a)throw new Error(_0x4404f8(0x26c));const _0x20a7b9=this[_0x4404f8(0x293)]()+'?size='+_0x2ce460[_0x4404f8(0x242)][_0x4404f8(0x22c)]()+_0x4404f8(0x20b)+Tt[_0x4404f8(0x2f9)]+'&assign='+encodeURIComponent(_0x4e845a),_0x429acb=await(await fetch(_0x20a7b9,{'method':'POST','body':_0x47146e}))[_0x4404f8(0x3e8)]();if(typeof _0x429acb[_0x4404f8(0x3b5)]!=_0x4404f8(0x2ee))return this[_0x4404f8(0x385)](),Promise['reject'](new Error(J[_0x4404f8(0x208)]['ERROR_IMAGE']));_0x19ac3b=_0x429acb[_0x4404f8(0x3b5)];}catch{return this[_0x4404f8(0x385)](),Promise[_0x4404f8(0x38c)](new Error(J[_0x4404f8(0x208)][_0x4404f8(0x450)]));}return new Promise((_0x34dc40,_0x18bb75)=>{var _0x551cff=_0x4404f8;const _0x2ef5ea=new FileReader();_0x2ef5ea['readAsDataURL'](_0x2ce460),_0x2ef5ea[_0x551cff(0x172)]=_0x30ae9a=>{var _0x383c29=_0x551cff,_0x220569;const _0x3ecc16=(_0x220569=_0x30ae9a[_0x383c29(0x3bb)])==null?void 0x0:_0x220569[_0x383c29(0x329)];if(_0x3ecc16==null){this[_0x383c29(0x385)](),_0x18bb75(new Error(J[_0x383c29(0x208)][_0x383c29(0x450)]));return;}const _0x3988b2=a[_0x383c29(0x34b)][_0x383c29(0x35b)](0x6);_0x34dc40({'imageId':_0x3988b2,'imageSourceType':J[_0x383c29(0x39c)][_0x383c29(0x289)],'source':_0x19ac3b,'base64Cache':_0x3ecc16,'status':J[_0x383c29(0x208)][_0x383c29(0x308)]}),this[_0x383c29(0x385)]();};});}[_0x42575d(0x293)](){var _0x2c133a=_0x42575d,_0x2b4720,_0x25cc07;const _0x3244d6=this[_0x2c133a(0x1aa)]['getConfig'](En),_0x193a5b=this[_0x2c133a(0x1aa)][_0x2c133a(0x4b5)](Y);return(_0x25cc07=(_0x2b4720=_0x193a5b==null?void 0x0:_0x193a5b[_0x2c133a(0x461)])!=null?_0x2b4720:_0x3244d6)!=null?_0x25cc07:Cn;}[_0x42575d(0x42e)](){var _0x3ffdfa=_0x42575d,_0x3bcfcb,_0x198727;const _0x17041e=this[_0x3ffdfa(0x1aa)][_0x3ffdfa(0x4b5)](Tn),_0x38e27e=this[_0x3ffdfa(0x1aa)]['getConfig'](Y);return(_0x198727=(_0x3bcfcb=_0x38e27e==null?void 0x0:_0x38e27e['signUrlServerUrl'])!=null?_0x3bcfcb:_0x17041e)!=null?_0x198727:bn;}[_0x42575d(0x443)](){var _0x113c8d=_0x42575d,_0x23f784;const _0x105ec5=this[_0x113c8d(0x1aa)][_0x113c8d(0x4b5)](Y);return(_0x23f784=_0x105ec5==null?void 0x0:_0x105ec5[_0x113c8d(0x1de)])!=null?_0x23f784:location[_0x113c8d(0x2e5)];}[_0x42575d(0x215)](_0x16929a,_0x9b8a0b){var _0x707e4b=_0x42575d;return _0x16929a[_0x707e4b(0x14b)](_0x707e4b(0x155),_0x9b8a0b);}[_0x42575d(0x385)](){var _0x481030=_0x42575d;this[_0x481030(0x435)]-=0x1,this[_0x481030(0x231)][_0x481030(0x364)](this['_waitCount']);}},exports[_0x42575d(0x353)]=gn([xe(0x0,a[_0x42575d(0x254)](q[_0x42575d(0x35c)])),xe(0x1,a[_0x42575d(0x1f8)]),xe(0x2,a['Inject'](a[_0x42575d(0x376)]))],exports[_0x42575d(0x353)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x2766ba,_0x30a931,_0x39d800,_0x4cd141)=>{for(var _0x13d92b=_0x4cd141>0x1?void 0x0:_0x4cd141?Rn(_0x30a931,_0x39d800):_0x30a931,_0x32d52a=_0x2766ba['length']-0x1,_0x37a8c2;_0x32d52a>=0x0;_0x32d52a--)(_0x37a8c2=_0x2766ba[_0x32d52a])&&(_0x13d92b=_0x37a8c2(_0x13d92b)||_0x13d92b);return _0x13d92b;},lt=(_0x27a813,_0x341adf)=>(_0xcc9245,_0x522550)=>_0x341adf(_0xcc9245,_0x522550,_0x27a813);const On=_0x42575d(0x48c);exports[_0x42575d(0x2de)]=class{constructor(_0x163be9,_0xb9513c){var _0x289e0e=_0x42575d;this['_configService']=_0x163be9,this[_0x289e0e(0x368)]=_0xb9513c;}[_0x42575d(0x323)](){var _0x4d804e=_0x42575d,_0x557662,_0x578d30;const _0x17fb79=this[_0x4d804e(0x1aa)][_0x4d804e(0x4b5)](Ve),_0x1b7cbc=this[_0x4d804e(0x1aa)]['getConfig'](Y);return(_0x578d30=(_0x557662=_0x1b7cbc==null?void 0x0:_0x1b7cbc[_0x4d804e(0x269)])!=null?_0x557662:_0x17fb79)!=null?_0x578d30:On;}async[_0x42575d(0x29a)](_0x5395ea){var _0x45bf21=_0x42575d;const _0x508803=this['_getAPIPrefixPath']()+_0x45bf21(0x48d);return{'list':[{'title':'People','mentions':(await this[_0x45bf21(0x368)][_0x45bf21(0x2ba)](_0x508803,{'params':{'objectID':_0x5395ea[_0x45bf21(0x361)],'unitID':_0x5395ea[_0x45bf21(0x361)]}}))[_0x45bf21(0x355)][_0x45bf21(0x477)][_0x45bf21(0x2d0)](_0x1ac714=>({'objectId':_0x1ac714['id'],'name':_0x1ac714[_0x45bf21(0x48f)][_0x45bf21(0x228)],'metadata':{'icon':_0x1ac714[_0x45bf21(0x48f)][_0x45bf21(0x217)]},'label':_0x1ac714[_0x45bf21(0x48f)][_0x45bf21(0x228)],'objectType':a['MentionType'][_0x45bf21(0x315)]})),'metadata':{},'type':a[_0x45bf21(0x277)][_0x45bf21(0x315)]}]};}},exports['MentionIoHttpService']=yn([lt(0x0,a[_0x42575d(0x254)](a[_0x42575d(0x1f8)])),lt(0x1,a[_0x42575d(0x254)](q[_0x42575d(0x35c)]))],exports[_0x42575d(0x2de)]);var Nn=Object[_0x42575d(0x493)],Dn=(_0x22dad8,_0x17c85b,_0x3bdf20,_0x2aa6ce)=>{var _0x3b2948=_0x42575d;for(var _0xae46ad=_0x2aa6ce>0x1?void 0x0:_0x2aa6ce?Nn(_0x17c85b,_0x3bdf20):_0x17c85b,_0x41d903=_0x22dad8[_0x3b2948(0x2e6)]-0x1,_0x3b5ef4;_0x41d903>=0x0;_0x41d903--)(_0x3b5ef4=_0x22dad8[_0x41d903])&&(_0xae46ad=_0x3b5ef4(_0xae46ad)||_0xae46ad);return _0xae46ad;},ue=(_0x4d0022,_0x5a935e)=>(_0x38b89e,_0x2e7170)=>_0x5a935e(_0x38b89e,_0x2e7170,_0x4d0022);let De=class extends a[_0x42575d(0x18f)]{constructor(_0x14798a,_0x4ad2a0,_0x21909e,_0x28b56e,_0x5eb2f8){var _0x1cd4d7=_0x42575d;super(),this[_0x1cd4d7(0x1c7)]=_0x14798a,this[_0x1cd4d7(0x1c6)]=_0x4ad2a0,this[_0x1cd4d7(0x49f)]=_0x21909e,this[_0x1cd4d7(0x2b3)]=_0x28b56e,this[_0x1cd4d7(0x390)]=_0x5eb2f8,this[_0x1cd4d7(0x1d5)](),this[_0x1cd4d7(0x262)]();}[_0x42575d(0x262)](){var _0x2c225e=_0x42575d;const _0x315c96=async _0x22a87d=>{var _0x2409ac=_0x1588;(await this[_0x2409ac(0x2b3)]['requireSession'](_0x22a87d))[_0x2409ac(0x415)][_0x2409ac(0x3b2)](W[_0x2409ac(0x1f6)](_0x4472b3=>_0x4472b3[_0x2409ac(0x36a)]===g['CollaborationEvent'][_0x2409ac(0x1b3)]),W[_0x2409ac(0x290)](this[_0x2409ac(0x156)]))[_0x2409ac(0x298)](_0x1be242=>{var _0x4b609f=_0x2409ac;const _0x2a304c=_0x1be242,{reason:_0x16a1a1}=_0x2a304c['data'];this[_0x4b609f(0x390)]['emitEvent']({'id':Q[_0x4b609f(0x1ab)],'data':_0x16a1a1}),this[_0x4b609f(0x49f)]['updatePermissionPoint'](new Z[(_0x4b609f(0x2e0))](_0x22a87d)['id'],!0x1),this[_0x4b609f(0x2b3)][_0x4b609f(0x1a1)](_0x22a87d);});};j[_0x2c225e(0x1ad)](this[_0x2c225e(0x1c6)][_0x2c225e(0x21c)](a[_0x2c225e(0x1c1)][_0x2c225e(0x2ad)]),this[_0x2c225e(0x1c6)]['getTypeOfUnitAdded$'](a[_0x2c225e(0x1c1)][_0x2c225e(0x338)]))['pipe'](W[_0x2c225e(0x2d0)](_0x5f213a=>_0x5f213a[_0x2c225e(0x301)]()),W[_0x2c225e(0x1f6)](_0x4afff5=>!a['isInternalEditorID'](_0x4afff5)),W[_0x2c225e(0x290)](this['dispose$']))['subscribe'](_0x162769=>{_0x315c96(_0x162769);});}[_0x42575d(0x1d5)](){var _0xf63af1=_0x42575d;const _0x3badf8=async _0x1c1fe1=>{var _0x1c8525=_0x1588;const _0x39c9b2=await this[_0x1c8525(0x2b3)][_0x1c8525(0x44e)](_0x1c1fe1),_0xce0fc5=this['_injector']['get'](Z['SheetPermissionInitController']);_0x39c9b2['event$'][_0x1c8525(0x3b2)](W['filter'](_0x3709c4=>_0x3709c4['eventID']===g[_0x1c8525(0x36f)][_0x1c8525(0x2f1)]),W[_0x1c8525(0x290)](this[_0x1c8525(0x156)]))[_0x1c8525(0x298)](_0x5abf57=>{var _0x55829b=_0x1c8525;const _0x4c63f2=_0x5abf57,{objectId:_0x2ccf82}=_0x4c63f2[_0x55829b(0x45c)];_0x2ccf82===_0x1c1fe1?_0xce0fc5[_0x55829b(0x1df)](_0x1c1fe1):_0xce0fc5['refreshPermission'](_0x1c1fe1,_0x2ccf82);});};j[_0xf63af1(0x1ad)](this[_0xf63af1(0x1c6)][_0xf63af1(0x21c)](a[_0xf63af1(0x1c1)][_0xf63af1(0x2ad)]))[_0xf63af1(0x3b2)](W[_0xf63af1(0x2d0)](_0xb79e83=>_0xb79e83[_0xf63af1(0x301)]()),W[_0xf63af1(0x1f6)](_0x17996b=>!a[_0xf63af1(0x313)](_0x17996b)),W[_0xf63af1(0x290)](this[_0xf63af1(0x156)]))[_0xf63af1(0x298)](_0x5e3158=>{_0x3badf8(_0x5e3158);});}};De=Dn([ue(0x0,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),ue(0x1,a[_0x42575d(0x376)]),ue(0x2,a[_0x42575d(0x21a)]),ue(0x3,a[_0x42575d(0x254)](exports[_0x42575d(0x264)])),ue(0x4,a[_0x42575d(0x254)](te))],De);var Un=Object[_0x42575d(0x493)],Pn=(_0x58ca61,_0x1de2e3,_0x571201,_0x551007)=>{var _0x36f375=_0x42575d;for(var _0xfba8e8=_0x551007>0x1?void 0x0:_0x551007?Un(_0x1de2e3,_0x571201):_0x1de2e3,_0x329ebe=_0x58ca61[_0x36f375(0x2e6)]-0x1,_0x23687e;_0x329ebe>=0x0;_0x329ebe--)(_0x23687e=_0x58ca61[_0x329ebe])&&(_0xfba8e8=_0x23687e(_0xfba8e8)||_0xfba8e8);return _0xfba8e8;},_t=(_0x3db4a5,_0x4eb5c7)=>(_0x5a19b6,_0x30f75c)=>_0x4eb5c7(_0x5a19b6,_0x30f75c,_0x3db4a5);exports[_0x42575d(0x15e)]=class{constructor(_0x1d8a92,_0x5ba26a){var _0x43781c=_0x42575d;this['_configService']=_0x1d8a92,this[_0x43781c(0x2c5)]=_0x5ba26a;}async[_0x42575d(0x31f)](_0x30afba,_0x56a1ef){var _0x4c5ee5=_0x42575d,_0x6f540b;const {unitID:_0xeaef9c,type:_0x32a58c,revision:_0x1f9e30=0x0}=_0x56a1ef,_0x5e9f8c=this[_0x4c5ee5(0x345)]()+'/'+_0x32a58c+'/unit/'+_0xeaef9c+_0x4c5ee5(0x2db)+_0x1f9e30,_0x473eeb=(await this[_0x4c5ee5(0x2c5)]['get'](_0x5e9f8c))[_0x4c5ee5(0x355)],_0xa4fe52=(_0x6f540b=_0x473eeb[_0x4c5ee5(0x4a0)])==null?void 0x0:_0x6f540b[_0x4c5ee5(0x252)];if(_0xa4fe52){const _0xf91af=_0xa4fe52==null?void 0x0:_0xa4fe52['originalMeta'],_0x34dd36=g[_0x4c5ee5(0x188)]['encode'](g[_0x4c5ee5(0x2c3)](_0xf91af));_0xa4fe52[_0x4c5ee5(0x3f0)]=_0x34dd36,Object[_0x4c5ee5(0x478)](_0xa4fe52[_0x4c5ee5(0x17b)])['forEach'](([,_0x42500b])=>{var _0xd238ab=_0x4c5ee5;const _0x2fc68e=_0x42500b['originalMeta'],_0x7f2c62=g['textEncoder'][_0xd238ab(0x170)](g['b64DecodeUnicode'](_0x2fc68e));_0x42500b[_0xd238ab(0x3f0)]=_0x7f2c62;});}return _0x473eeb;}async[_0x42575d(0x1ce)](_0x285642,_0x3ad552){var _0x4acc94=_0x42575d;const {unitID:_0x5b9a3d,type:_0x39b9c1,blockID:_0xb705a5}=_0x3ad552,_0x30e830=this[_0x4acc94(0x29c)]()+'/'+_0x39b9c1+'/unit/'+_0x5b9a3d+'/block/'+_0xb705a5;return(await this[_0x4acc94(0x2c5)][_0x4acc94(0x2ba)](_0x30e830))['body'];}async[_0x42575d(0x49a)](_0x3d65bb,_0x5b808f){var _0xf2a886=_0x42575d;const {unitID:_0x4f10ce,type:_0x48759d,blockID:_0x2ad7d9}=_0x5b808f,_0x386598=this[_0xf2a886(0x29c)]()+_0xf2a886(0x34a)+_0x48759d+_0xf2a886(0x46c)+_0x4f10ce+_0xf2a886(0x34a)+_0x2ad7d9;return(await this[_0xf2a886(0x2c5)]['get'](_0x386598))[_0xf2a886(0x355)];}async['fetchMissingChangesets'](_0x95d624,_0x5a27e0){var _0xebfe3e=_0x42575d;const {unitID:_0x1c3326,type:_0x396276,from:_0x428e40,to:_0x5e3ff6}=_0x5a27e0,_0x3d8678=this[_0xebfe3e(0x29c)]()+'/'+_0x396276+_0xebfe3e(0x46c)+_0x1c3326+_0xebfe3e(0x1b0)+_0x428e40+_0xebfe3e(0x302)+_0x5e3ff6;return(await this[_0xebfe3e(0x2c5)][_0xebfe3e(0x2ba)](_0x3d8678))['body'];}[_0x42575d(0x345)](){var _0x2089ee=_0x42575d,_0x457d9f;return(_0x457d9f=this['_configService'][_0x2089ee(0x4b5)](vt))!=null?_0x457d9f:this[_0x2089ee(0x29c)]();}[_0x42575d(0x29c)](){var _0x10b556=_0x42575d,_0x1aa69c,_0x4815bc;const _0x439b44=this[_0x10b556(0x1aa)][_0x10b556(0x4b5)](dt),_0x7a3c39=this[_0x10b556(0x1aa)]['getConfig'](Y);return(_0x4815bc=(_0x1aa69c=_0x7a3c39==null?void 0x0:_0x7a3c39[_0x10b556(0x3ff)])!=null?_0x1aa69c:_0x439b44)!=null?_0x4815bc:kt;}async[_0x42575d(0x305)](_0xc2cf6f,_0x5d8281){var _0x4a3a32=_0x42575d;const _0x3a6545='/universer-api/snapshot/'+_0x5d8281[_0x4a3a32(0x14c)]+'/unit/'+_0x5d8281[_0x4a3a32(0x1cb)]+'/resources';return(await this[_0x4a3a32(0x2c5)][_0x4a3a32(0x2ba)](_0x3a6545,{'params':{'resourceId':JSON[_0x4a3a32(0x389)](_0x5d8281[_0x4a3a32(0x3c7)])}}))[_0x4a3a32(0x355)];}[_0x42575d(0x38f)](){var _0x46dd33=_0x42575d;throw new Error(_0x46dd33(0x273));}[_0x42575d(0x3a3)](){var _0xbb4619=_0x42575d;throw new Error(_0xbb4619(0x273));}['saveChangeset'](){var _0x5a20f9=_0x42575d;throw new Error(_0x5a20f9(0x273));}['copyFileMeta'](){var _0x3d5c2d=_0x42575d;throw new Error(_0x3d5c2d(0x273));}[_0x42575d(0x3ce)](){var _0x8931e2=_0x42575d;throw new Error(_0x8931e2(0x273));}},exports[_0x42575d(0x15e)]=Pn([_t(0x0,a[_0x42575d(0x1f8)]),_t(0x1,a['Inject'](q[_0x42575d(0x35c)]))],exports['SnapshotServerOverHTTPService']);var An=Object[_0x42575d(0x493)],wn=(_0x507ff3,_0x332001,_0x48755d,_0x6046c3)=>{var _0x37146e=_0x42575d;for(var _0x16e369=_0x6046c3>0x1?void 0x0:_0x6046c3?An(_0x332001,_0x48755d):_0x332001,_0x376335=_0x507ff3[_0x37146e(0x2e6)]-0x1,_0x10c1cb;_0x376335>=0x0;_0x376335--)(_0x10c1cb=_0x507ff3[_0x376335])&&(_0x16e369=_0x10c1cb(_0x16e369)||_0x16e369);return _0x16e369;},de=(_0x1eed4d,_0x49c9a6)=>(_0x5ba88d,_0x424917)=>_0x49c9a6(_0x5ba88d,_0x424917,_0x1eed4d);exports[_0x42575d(0x38e)]=class extends a[_0x42575d(0x39d)]{constructor(_0x155c6e,_0x5c25a6,_0xec4f07,_0x3386f2,_0x5c392b){var _0x21ffd0=_0x42575d;super(_0x155c6e,_0x5c25a6,_0xec4f07),this[_0x21ffd0(0x3c9)]=_0x3386f2,this[_0x21ffd0(0x1db)]=_0x5c392b;}[_0x42575d(0x322)](_0x268b73,_0xc012e0){var _0x4fb25d=_0x42575d;const _0x56d6a1=this[_0x4fb25d(0x3ea)](_0x268b73);if(_0x56d6a1)try{const _0x3565bd=this['_transformStack'](_0x56d6a1,_0xc012e0);this[_0x4fb25d(0x381)](_0x268b73,_0x3565bd);}catch(_0x2cede3){this[_0x4fb25d(0x1db)][_0x4fb25d(0x1c8)]('[CollaborationUndoRedoService]',_0x2cede3),this[_0x4fb25d(0x16b)](_0x268b73);}const _0x3228a4=this[_0x4fb25d(0x243)](_0x268b73);if(_0x3228a4)try{const _0x2503e2=this['_transformStack'](_0x3228a4,_0xc012e0);this[_0x4fb25d(0x19f)](_0x268b73,_0x2503e2);}catch(_0x35d232){this[_0x4fb25d(0x1db)]['error'](_0x35d232),this[_0x4fb25d(0x154)](_0x268b73);}}['_clearUndo'](_0xec6d49){var _0x121067=_0x42575d;const _0x5edc55=this['_getUndoStack'](_0xec6d49);_0x5edc55&&(_0x5edc55[_0x121067(0x2e6)]=0x0,this[_0x121067(0x469)]());}[_0x42575d(0x154)](_0x7cf517){var _0x43a14a=_0x42575d;const _0x538b53=this[_0x43a14a(0x243)](_0x7cf517);_0x538b53&&(_0x538b53[_0x43a14a(0x2e6)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x4d6bcf,_0x18b187){var _0x58f445=_0x42575d;this[_0x58f445(0x476)][_0x58f445(0x33c)](_0x4d6bcf,_0x18b187),this[_0x58f445(0x469)]();}['_substituteRedoStack'](_0x1b0177,_0x363a2f){var _0x1a84fa=_0x42575d;this[_0x1a84fa(0x187)][_0x1a84fa(0x33c)](_0x1b0177,_0x363a2f),this[_0x1a84fa(0x469)]();}['_transformStack'](_0xc54fae,_0x2946b2){var _0x1a338f=_0x42575d;const _0xb86959=[];let _0x4b85db=_0x2946b2,_0x45164c=_0x2946b2;for(let _0xe8df9d=_0xc54fae[_0x1a338f(0x2e6)]-0x1;_0xe8df9d>=0x0;_0xe8df9d--){const {unitID:_0x14ede0,undoMutations:_0x3dc684,redoMutations:_0x17d9fa}=_0xc54fae[_0xe8df9d],_0x1a2d58=this[_0x1a338f(0x3c9)][_0x1a338f(0x34f)](_0x4b85db,_0x3dc684),_0x385303=this['_transformService']['transformMutationsWithChangeset'](_0x45164c,_0x17d9fa);if(g['isTransformMutationsWithChangesetFailure'](_0x1a2d58)||g['isTransformMutationsWithChangesetFailure'](_0x385303)){this[_0x1a338f(0x1db)][_0x1a338f(0x1c8)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x1a2d58,_0x385303);break;}_0x4b85db=_0x1a2d58[_0x1a338f(0x387)],_0x45164c=_0x385303[_0x1a338f(0x387)],_0xb86959[_0x1a338f(0x21e)]({'unitID':_0x14ede0,'undoMutations':_0x1a2d58[_0x1a338f(0x19a)],'redoMutations':_0x385303[_0x1a338f(0x19a)]});}return _0xb86959[_0x1a338f(0x22a)]();}},exports[_0x42575d(0x38e)]=wn([de(0x0,a[_0x42575d(0x376)]),de(0x1,a[_0x42575d(0x2e8)]),de(0x2,a[_0x42575d(0x351)]),de(0x3,g[_0x42575d(0x206)]),de(0x4,a[_0x42575d(0x3d7)])],exports[_0x42575d(0x38e)]);var Ln=Object[_0x42575d(0x445)],Mn=Object[_0x42575d(0x493)],xn=(_0x56160f,_0x33a86b,_0x4c8f26)=>_0x33a86b in _0x56160f?Ln(_0x56160f,_0x33a86b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c8f26}):_0x56160f[_0x33a86b]=_0x4c8f26,kn=(_0x42cb9b,_0x3621df,_0x38eb20,_0x510204)=>{for(var _0x3037a6=_0x510204>0x1?void 0x0:_0x510204?Mn(_0x3621df,_0x38eb20):_0x3621df,_0x548256=_0x42cb9b['length']-0x1,_0x24173d;_0x548256>=0x0;_0x548256--)(_0x24173d=_0x42cb9b[_0x548256])&&(_0x3037a6=_0x24173d(_0x3037a6)||_0x3037a6);return _0x3037a6;},ke=(_0x5815c6,_0x5707e4)=>(_0x42b594,_0x109f60)=>_0x5707e4(_0x42b594,_0x109f60,_0x5815c6),Hn=(_0xd497c,_0x263d44,_0xb97e24)=>xn(_0xd497c,_0x263d44+'',_0xb97e24);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x42575d(0x48a)]=class extends a['Plugin']{constructor(_0x23b476,_0x51d8c3,_0x3df9ea,_0x4cef29){var _0x476b02=_0x42575d;super(),P(this,_0x476b02(0x1b7)),(this[_0x476b02(0x1db)]=_0x51d8c3,this['_injector']=_0x3df9ea,this[_0x476b02(0x1aa)]=_0x4cef29);const {..._0x403939}=a['merge']({},Jt,_0x23b476);if(!_0x403939[_0x476b02(0x2c4)])throw new Error(_0x476b02(0x474));this[_0x476b02(0x1b7)]=_0x403939,this['_configService'][_0x476b02(0x300)](Y,_0x403939);}['onStarting'](){var _0x600397=_0x42575d;this[_0x600397(0x16c)](),this[_0x600397(0x280)]();}[_0x42575d(0x16c)](){var _0x419870=_0x42575d,_0x2cad3d,_0x2da4b5;this['_injector'][_0x419870(0x3d3)](a[_0x419870(0x3c8)])&&this[_0x419870(0x1db)]['error'](_0x419870(0x26b),_0x419870(0x31d));const _0x227ca4=a[_0x419870(0x295)]([[a[_0x419870(0x3c8)],{'useClass':exports[_0x419870(0x38e)]}],[exports[_0x419870(0x264)]],[exports[_0x419870(0x191)]],[exports[_0x419870(0x183)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x419870(0x482)]],[$e,{'useClass':this['_config'][_0x419870(0x2c4)]}],[g[_0x419870(0x281)],{'useClass':exports[_0x419870(0x15e)]}],[a[_0x419870(0x489)],{'useClass':exports[_0x419870(0x1bb)]}],[J['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x419870(0x166)],{'useClass':exports[_0x419870(0x2de)]}],[exports['CollaborationController']],[He]],(_0x2cad3d=this['_config'])==null?void 0x0:_0x2cad3d[_0x419870(0x35a)]);if(!((_0x2da4b5=this[_0x419870(0x1b7)])!=null&&_0x2da4b5[_0x419870(0x23f)])){const _0x25ca9d=_0x227ca4['findIndex'](([_0x4359f7])=>_0x4359f7===ve);_0x25ca9d!==-0x1&&_0x227ca4[_0x419870(0x341)](_0x25ca9d,0x1);}a[_0x419870(0x321)](this[_0x419870(0x1c7)],_0x227ca4);}['_initDependencies'](){var _0x40291d=_0x42575d,_0x2646b7,_0x14fcce,_0x5a611a;this['_injector'][_0x40291d(0x2ba)](q[_0x40291d(0x35c)])[_0x40291d(0x4bb)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2646b7=this[_0x40291d(0x1b7)])!=null&&_0x2646b7[_0x40291d(0x470)]||(_0x14fcce=this[_0x40291d(0x1c7)][_0x40291d(0x2ba)](z,a[_0x40291d(0x306)][_0x40291d(0x4a9)]))==null||_0x14fcce['disableLocalCache'](),(_0x5a611a=this[_0x40291d(0x1b7)])!=null&&_0x5a611a['enableAuthServer']&&a[_0x40291d(0x251)](this[_0x40291d(0x1c7)],[[Oe]]),a[_0x40291d(0x251)](this[_0x40291d(0x1c7)],[[Ne],[exports[_0x40291d(0x337)]],[De]]);}},Hn(exports[_0x42575d(0x48a)],_0x42575d(0x1d3),jn),exports[_0x42575d(0x48a)]=kn([a[_0x42575d(0x189)](g[_0x42575d(0x27e)],q[_0x42575d(0x3a5)]),ke(0x1,a[_0x42575d(0x3d7)]),ke(0x2,a[_0x42575d(0x254)](a[_0x42575d(0x2b8)])),ke(0x3,a['IConfigService'])],exports[_0x42575d(0x48a)]),exports[_0x42575d(0x2e2)]=Ve,exports[_0x42575d(0x201)]=Y,exports[_0x42575d(0x4bd)]=It,exports[_0x42575d(0x497)]=St,exports[_0x42575d(0x199)]=We,exports['CollaborationUIEventId']=Q,exports[_0x42575d(0x35e)]=te,exports[_0x42575d(0x1ae)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x42575d(0x25b)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x42575d(0x427)]=pt,exports[_0x42575d(0x3e4)]=je,exports[_0x42575d(0x167)]=$e,exports[_0x42575d(0x349)]=z,exports[_0x42575d(0x3dc)]=bt,exports[_0x42575d(0x419)]=ve,exports[_0x42575d(0x444)]=Vt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports[_0x42575d(0x1ca)]=Et,exports[_0x42575d(0x3e3)]=qt,exports[_0x42575d(0x374)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x42575d(0x3bc)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x42575d(0x452)]=se,exports[_0x42575d(0x283)]=Fe,exports[_0x42575d(0x1fa)]=Rt,exports['getLocalCacheKey']=vi,exports['serializeCombRequest']=yt;