@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6-experimental.20250317-28d180b

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 _0x10759f=_0x3e40;(function(_0x2a247a,_0x26ebb9){var _0x2193df=_0x3e40,_0x27e3da=_0x2a247a();while(!![]){try{var _0x58fe75=parseInt(_0x2193df(0x499))/0x1+parseInt(_0x2193df(0x34c))/0x2+-parseInt(_0x2193df(0x17b))/0x3*(-parseInt(_0x2193df(0x33e))/0x4)+-parseInt(_0x2193df(0x2ae))/0x5+-parseInt(_0x2193df(0x40b))/0x6*(parseInt(_0x2193df(0x4cb))/0x7)+parseInt(_0x2193df(0x49e))/0x8*(parseInt(_0x2193df(0x438))/0x9)+parseInt(_0x2193df(0x407))/0xa*(parseInt(_0x2193df(0x34a))/0xb);if(_0x58fe75===_0x26ebb9)break;else _0x27e3da['push'](_0x27e3da['shift']());}catch(_0x23eba0){_0x27e3da['push'](_0x27e3da['shift']());}}}(_0x5c4c,0x9c879));var wt=Object[_0x10759f(0x2fa)],Lt=(_0x21c385,_0x18ea02,_0x331cc2)=>_0x18ea02 in _0x21c385?wt(_0x21c385,_0x18ea02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x331cc2}):_0x21c385[_0x18ea02]=_0x331cc2,P=(_0x5022d,_0x4bc858,_0x5a3cda)=>Lt(_0x5022d,typeof _0x4bc858!='symbol'?_0x4bc858+'':_0x4bc858,_0x5a3cda);Object[_0x10759f(0x2fa)](exports,Symbol['toStringTag'],{'value':_0x10759f(0x446)});const a=require(_0x10759f(0x4ab)),j=require('rxjs'),W=require(_0x10759f(0x349)),g=require(_0x10759f(0x267)),q=require(_0x10759f(0x180)),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require('@univerjs/sheets'),J=require(_0x10759f(0x46a)),xt=require(_0x10759f(0x355)),dt=_0x10759f(0x400),kt=_0x10759f(0x4d9),vt=_0x10759f(0x3b2),Ht=_0x10759f(0x37a),jt=0x7d0,St=_0x10759f(0x3cc),ft=_0x10759f(0x231),$t=_0x10759f(0x18a),pt=_0x10759f(0x342),Bt=0x7530,je=_0x10759f(0x2e8),gt=0x4e20,Ft=0x4e20,mt=_0x10759f(0x3e0),Wt=0x3,Gt=_0x10759f(0x285),Vt=0x3e8,It=_0x10759f(0x339),Kt='/universer-api/comb',Et=_0x10759f(0x367),Yt='/universer-api/oidc/authpage',qt=_0x10759f(0x1e6),zt=_0x10759f(0x1b6);var Ct=(_0x5736ae=>(_0x5736ae[_0x5736ae[_0x10759f(0x45c)]=0x0]='UNDEFINED',_0x5736ae[_0x5736ae['OK']=0x1]='OK',_0x5736ae[_0x5736ae[_0x10759f(0x379)]=0x2]=_0x10759f(0x379),_0x5736ae[_0x5736ae[_0x10759f(0x2d1)]=0x3]=_0x10759f(0x2d1),_0x5736ae[_0x5736ae[_0x10759f(0x4a6)]=0x4]=_0x10759f(0x4a6),_0x5736ae[_0x5736ae['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5736ae[_0x5736ae[_0x10759f(0x4bc)]=0x6]=_0x10759f(0x4bc),_0x5736ae[_0x5736ae[_0x10759f(0x1fc)]=0x7]=_0x10759f(0x1fc),_0x5736ae[_0x5736ae[_0x10759f(0x209)]=0x8]=_0x10759f(0x209),_0x5736ae[_0x5736ae[_0x10759f(0x2f6)]=0x9]=_0x10759f(0x2f6),_0x5736ae[_0x5736ae['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5736ae[_0x5736ae[_0x10759f(0x48d)]=0x1771]=_0x10759f(0x48d),_0x5736ae[_0x5736ae[_0x10759f(0x4e2)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5736ae[_0x5736ae[_0x10759f(0x3f7)]=0x1773]=_0x10759f(0x3f7),_0x5736ae[_0x5736ae['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5736ae[_0x5736ae[_0x10759f(0x206)]=0x1b5a]=_0x10759f(0x206),_0x5736ae[_0x5736ae[_0x10759f(0x3d2)]=0x1b5b]=_0x10759f(0x3d2),_0x5736ae[_0x5736ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x10759f(0x2eb),_0x5736ae[_0x5736ae['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5736ae[_0x5736ae[_0x10759f(0x25b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5736ae[_0x5736ae['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x10759f(0x293),_0x5736ae[_0x5736ae[_0x10759f(0x4c3)]=0x232a]=_0x10759f(0x4c3),_0x5736ae[_0x5736ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x10759f(0x306),_0x5736ae[_0x5736ae[_0x10759f(0x327)]=0x232c]=_0x10759f(0x327),_0x5736ae[_0x5736ae[_0x10759f(0x2c8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5736ae[_0x5736ae[_0x10759f(0x249)]=0x2711]=_0x10759f(0x249),_0x5736ae[_0x5736ae['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x10759f(0x441),_0x5736ae[_0x5736ae['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x10759f(0x387),_0x5736ae[_0x5736ae[_0x10759f(0x1bb)]=0x2714]=_0x10759f(0x1bb),_0x5736ae[_0x5736ae[_0x10759f(0x1a9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5736ae[_0x5736ae[_0x10759f(0x3d1)]=-0x1]=_0x10759f(0x3d1),_0x5736ae))(Ct||{}),X=(_0x36f732=>(_0x36f732[_0x36f732[_0x10759f(0x256)]=0x0]=_0x10759f(0x256),_0x36f732[_0x36f732[_0x10759f(0x19e)]=0x1]='UNIVER_DOC',_0x36f732[_0x36f732[_0x10759f(0x21b)]=0x2]=_0x10759f(0x21b),_0x36f732[_0x36f732[_0x10759f(0x32f)]=0x3]=_0x10759f(0x32f),_0x36f732[_0x36f732[_0x10759f(0x244)]=0x4]=_0x10759f(0x244),_0x36f732[_0x36f732['UNRECOGNIZED']=-0x1]=_0x10759f(0x3d1),_0x36f732))(X||{}),G=(_0x264220=>(_0x264220[_0x264220[_0x10759f(0x22f)]=0x0]='UNKNOWN_CMD',_0x264220[_0x264220[_0x10759f(0x485)]=0x1]=_0x10759f(0x485),_0x264220[_0x264220[_0x10759f(0x399)]=0x2]=_0x10759f(0x399),_0x264220[_0x264220[_0x10759f(0x32a)]=0x3]=_0x10759f(0x32a),_0x264220[_0x264220[_0x10759f(0x393)]=0x4]=_0x10759f(0x393),_0x264220[_0x264220[_0x10759f(0x4af)]=0x5]=_0x10759f(0x4af),_0x264220[_0x264220[_0x10759f(0x3b7)]=0x6]='RECV',_0x264220[_0x264220[_0x10759f(0x3d1)]=-0x1]='UNRECOGNIZED',_0x264220))(G||{}),ae=(_0x378fb3=>(_0x378fb3[_0x378fb3['UNKNOWN_CODE']=0x0]=_0x10759f(0x17d),_0x378fb3[_0x378fb3['OK']=0x1]='OK',_0x378fb3[_0x378fb3['FAIL']=0x2]=_0x10759f(0x434),_0x378fb3[_0x378fb3['JOIN_ROOM_FULL']=0x3e9]=_0x10759f(0x283),_0x378fb3[_0x378fb3['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x10759f(0x190),_0x378fb3[_0x378fb3['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x10759f(0x254),_0x378fb3[_0x378fb3[_0x10759f(0x1e5)]=0x3ec]=_0x10759f(0x1e5),_0x378fb3[_0x378fb3[_0x10759f(0x3d1)]=-0x1]=_0x10759f(0x3d1),_0x378fb3))(ae||{}),Tt=(_0xf47c2a=>(_0xf47c2a[_0xf47c2a['Undefined']=0x0]=_0x10759f(0x1c1),_0xf47c2a[_0xf47c2a['HttpImport']=0x1]=_0x10759f(0x2b6),_0xf47c2a[_0xf47c2a[_0x10759f(0x24a)]=0x2]=_0x10759f(0x24a),_0xf47c2a[_0xf47c2a[_0x10759f(0x3a9)]=0x3]='UnitEmbedded',_0xf47c2a[_0xf47c2a[_0x10759f(0x386)]=0x4]='UnitSnapshot',_0xf47c2a[_0xf47c2a[_0x10759f(0x3d1)]=-0x1]='UNRECOGNIZED',_0xf47c2a))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x14a400=>(_0x14a400[_0x10759f(0x41d)]=_0x10759f(0x41d),_0x14a400['PERMISSION_DENIED']=_0x10759f(0x2d1),_0x14a400[_0x10759f(0x2f8)]=_0x10759f(0x2f8),_0x14a400[_0x10759f(0x1a5)]=_0x10759f(0x1a5),_0x14a400[_0x10759f(0x3ca)]='JOIN_ROOM_FAILED',_0x14a400[_0x10759f(0x204)]=_0x10759f(0x204),_0x14a400[_0x10759f(0x2fb)]=_0x10759f(0x2fb),_0x14a400['SUBMIT_CHANGESET_TIMEOUT']=_0x10759f(0x4d3),_0x14a400))(Q||{});class te{constructor(){var _0x2f881e=_0x10759f;P(this,_0x2f881e(0x49b),new j[(_0x2f881e(0x36c))]()),P(this,_0x2f881e(0x3b9),this[_0x2f881e(0x49b)][_0x2f881e(0x2d6)]());}[_0x10759f(0x325)](_0x32b583){var _0x504740=_0x10759f;this['_event$'][_0x504740(0x326)](_0x32b583);}}const bt=a[_0x10759f(0x449)](_0x10759f(0x313));function Rt(_0x1d34e4){var _0x2e7838=_0x10759f,_0x40ad9f,_0x5a3364,_0x14cdc1,_0x42b9c8,_0x4e0615;const _0x297dcb=_0x1d34e4[_0x2e7838(0x472)],_0x2d8dcf=JSON[_0x2e7838(0x19f)](_0x297dcb);switch(_0x2d8dcf['cmd']){case G[_0x2e7838(0x4af)]:case G[_0x2e7838(0x485)]:{const _0x3616b7=_0x2d8dcf['infoRsp'];return{..._0x2d8dcf,'data':_0x3616b7,'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};}case G['JOIN']:{const _0x1ae656=_0x2d8dcf[_0x2e7838(0x39c)];return{..._0x2d8dcf,'data':_0x1ae656,'cmd':_0x2d8dcf['cmd']};}case G['RECV']:{const _0x4d4155=_0x2d8dcf[_0x2e7838(0x1bd)];switch(_0x4d4155[_0x2e7838(0x3fe)]){case g[_0x2e7838(0x2ac)][_0x2e7838(0x347)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':(_0x40ad9f=_0x4d4155[_0x2e7838(0x17e)])==null?void 0x0:_0x40ad9f['cs']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x1d3)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':(_0x5a3364=_0x4d4155[_0x2e7838(0x44d)])==null?void 0x0:_0x5a3364['cs']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x320)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':(_0x14cdc1=_0x4d4155[_0x2e7838(0x1d9)])==null?void 0x0:_0x14cdc1['cs']},'cmd':_0x2d8dcf['cmd']};case g[_0x2e7838(0x2ac)][_0x2e7838(0x319)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':(_0x42b9c8=_0x4d4155[_0x2e7838(0x42c)])==null?void 0x0:_0x42b9c8['cs']},'cmd':_0x2d8dcf['cmd']};case g[_0x2e7838(0x2ac)][_0x2e7838(0x4a4)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':(_0x4e0615=_0x4d4155[_0x2e7838(0x3ec)])==null?void 0x0:_0x4e0615['cs']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x33f)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x423)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x300)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155['joinEvent']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x3ed)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x23c)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x2cd)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155['liveShareNewHost']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x44a)]:case g[_0x2e7838(0x2ac)]['LIVESHARE_OPERATION']:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x473)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x309)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x3bd)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x3d3)]:return{..._0x2d8dcf,'data':_0x4d4155,'cmd':_0x2d8dcf['cmd']};case g['CollaborationEvent'][_0x2e7838(0x476)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x4be)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x21d)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155['updatePermissionObjEvent']},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)]['SHOULD_CLOSE_CONN']:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x33c)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};case g[_0x2e7838(0x2ac)][_0x2e7838(0x2f9)]:return{..._0x2d8dcf,'data':{..._0x4d4155,'data':_0x4d4155[_0x2e7838(0x27f)]},'cmd':_0x2d8dcf[_0x2e7838(0x2cb)]};default:return _0x2d8dcf;}}default:return _0x2d8dcf;}}function _0x3e40(_0x35c335,_0x282216){var _0x5c4c2a=_0x5c4c();return _0x3e40=function(_0x3e4063,_0xc073ea){_0x3e4063=_0x3e4063-0x176;var _0x24ee98=_0x5c4c2a[_0x3e4063];return _0x24ee98;},_0x3e40(_0x35c335,_0x282216);}function yt(_0x529349){var _0x2647be=_0x10759f;switch(_0x529349[_0x2647be(0x2cb)]){case G[_0x2647be(0x4af)]:case G[_0x2647be(0x485)]:return JSON[_0x2647be(0x1ce)]({'cmd':_0x529349[_0x2647be(0x2cb)],'routeKey':_0x529349[_0x2647be(0x39a)]});case G[_0x2647be(0x393)]:{let _0x4a7486;switch(_0x529349[_0x2647be(0x472)]['eventID']){case g[_0x2647be(0x2ac)][_0x2647be(0x33f)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)]['UPDATE_CURSOR'],'updateCursorEvent':_0x529349[_0x2647be(0x472)][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x3ed)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x3ed)],'leaveEvent':_0x529349[_0x2647be(0x472)]['data']};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x300)]:{_0x4a7486={'eventID':g['CollaborationEvent'][_0x2647be(0x300)],'joinEvent':_0x529349['data'][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)]['LIVESHARE_NEW_HOST']:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x2cd)],'liveShareNewHost':_0x529349[_0x2647be(0x472)][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x1b0)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x1b0)],'liveShareOperation':_0x529349[_0x2647be(0x472)][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x309)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x309)],'liveShareTerminate':_0x529349[_0x2647be(0x472)][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x46e)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x46e)],'liveShareRequestHost':_0x529349[_0x2647be(0x472)][_0x2647be(0x472)]};break;}case g[_0x2647be(0x2ac)][_0x2647be(0x44a)]:{_0x4a7486={'eventID':g[_0x2647be(0x2ac)][_0x2647be(0x44a)]};break;}default:_0x4a7486={'eventID':_0x529349[_0x2647be(0x472)][_0x2647be(0x3fe)]};}return JSON['stringify']({'cmd':_0x529349[_0x2647be(0x2cb)],'routeKey':_0x529349[_0x2647be(0x39a)],'collaMsg':_0x4a7486});}case G[_0x2647be(0x399)]:return JSON[_0x2647be(0x1ce)]({'cmd':_0x529349[_0x2647be(0x2cb)],'routeKey':_0x529349[_0x2647be(0x39a)],'joinReq':_0x529349[_0x2647be(0x472)]});case G[_0x2647be(0x32a)]:return JSON[_0x2647be(0x1ce)]({'cmd':_0x529349['cmd'],'routeKey':_0x529349[_0x2647be(0x39a)],'leaveReq':_0x529349[_0x2647be(0x472)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x10759f(0x273)],Zt=(_0x7489fa,_0x417653,_0x2725a9,_0x19d436)=>{for(var _0x36bdb3=_0x19d436>0x1?void 0x0:_0x19d436?Xt(_0x417653,_0x2725a9):_0x417653,_0x3145aa=_0x7489fa['length']-0x1,_0x21acbc;_0x3145aa>=0x0;_0x3145aa--)(_0x21acbc=_0x7489fa[_0x3145aa])&&(_0x36bdb3=_0x21acbc(_0x36bdb3)||_0x36bdb3);return _0x36bdb3;},_e=(_0x21c431,_0x12aff5)=>(_0x3beeb8,_0x2018a8)=>_0x12aff5(_0x3beeb8,_0x2018a8,_0x21c431);const $e=a['createIdentifier'](_0x10759f(0x38b));function Qt(_0x4b2ff,_0x38d373,_0x2cc64d){var _0x399698=_0x10759f;return _0x4b2ff+'/'+_0x38d373+_0x399698(0x494)+_0x2cc64d+_0x399698(0x3dd);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x2b64e9,_0x32bfe0,_0x32fe18,_0x59eb97,_0x4421cf){var _0x4511c8=_0x10759f;super(),this[_0x4511c8(0x30c)]=_0x2b64e9,this[_0x4511c8(0x46b)]=_0x32bfe0,this[_0x4511c8(0x3a1)]=_0x32fe18,this[_0x4511c8(0x297)]=_0x59eb97,this['_snapshotServerService']=_0x4421cf;}[_0x10759f(0x46c)](_0x2f8047){var _0x5155cf=_0x10759f;const _0xdc475d=this[_0x5155cf(0x30c)][_0x5155cf(0x23b)](q[_0x5155cf(0x240)]);if(!_0xdc475d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x258b10=_0xdc475d[_0x5155cf(0x2df)](_0x2f8047);if(!_0x258b10)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x36b7ab=new a[(_0x5155cf(0x377))](),_0x2119ee=new j[(_0x5155cf(0x36c))]();_0x36b7ab[_0x5155cf(0x329)](_0x258b10[_0x5155cf(0x47f)]['subscribe'](_0x447064=>_0x2119ee[_0x5155cf(0x326)](_0x447064))),_0x36b7ab[_0x5155cf(0x329)](a[_0x5155cf(0x34b)](()=>_0x2119ee[_0x5155cf(0x452)]()));const _0xded34b=new j[(_0x5155cf(0x36c))]();_0x36b7ab[_0x5155cf(0x329)](_0x258b10[_0x5155cf(0x388)][_0x5155cf(0x49a)](_0x57cdd7=>_0xded34b['next'](_0x57cdd7))),_0x36b7ab['add'](a[_0x5155cf(0x34b)](()=>_0xded34b[_0x5155cf(0x452)]()));const _0x2a48c4=new j[(_0x5155cf(0x36c))]();_0x36b7ab[_0x5155cf(0x329)](_0x258b10[_0x5155cf(0x471)]['subscribe'](_0x123cf5=>{const _0x108de5=Rt(_0x123cf5);_0x2a48c4['next'](_0x108de5);})),_0x36b7ab['add'](a[_0x5155cf(0x34b)](()=>_0x2a48c4[_0x5155cf(0x452)]()));let _0x3d5619;const _0x767c2=()=>{var _0x327d82=_0x5155cf;_0xded34b[_0x327d82(0x326)](new Event(_0x327d82(0x458))),_0x2119ee['next'](new Event('connection\x20error')),_0x3d5619[_0x327d82(0x28d)]();};return _0x3d5619={'memberID':'','close$':_0x2119ee[_0x5155cf(0x2d6)](),'error$':_0xded34b['asObservable'](),'open$':_0x258b10['open$'],'message$':_0x2a48c4[_0x5155cf(0x2d6)](),'send':_0x22c37d=>{var _0x15292b=_0x5155cf;if(_0x22c37d[_0x15292b(0x2cb)]===G[_0x15292b(0x393)]){if(_0x22c37d[_0x15292b(0x472)][_0x15292b(0x3fe)]===g[_0x15292b(0x2ac)][_0x15292b(0x274)]){this[_0x15292b(0x20a)](_0x3d5619,_0x22c37d['data'])[_0x15292b(0x18f)](_0x3124b1=>{var _0x3331fc=_0x15292b;this[_0x3331fc(0x297)]['error'](_0x3124b1),_0x767c2();});return;}if(_0x22c37d[_0x15292b(0x472)][_0x15292b(0x3fe)]===g[_0x15292b(0x2ac)]['FETCH_MISSING']){const _0x21f160=_0x22c37d['data'];this[_0x15292b(0x199)](_0x21f160)[_0x15292b(0x2ed)](_0x5ba7b1=>{var _0x2601d0=_0x15292b;_0x2a48c4[_0x2601d0(0x326)]({'cmd':G['RECV'],'code':ae['OK'],'routeKey':_0x21f160['data'][_0x2601d0(0x34e)],'routeType':'','data':{'eventID':g[_0x2601d0(0x2ac)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5ba7b1}}});})['catch'](_0x337d6f=>{var _0x50e367=_0x15292b;this[_0x50e367(0x297)]['error'](_0x337d6f),_0x767c2();});return;}}_0x258b10[_0x15292b(0x406)](yt(_0x22c37d));},'close':()=>{var _0x1c54bb=_0x5155cf;_0x258b10[_0x1c54bb(0x28d)](),_0x36b7ab[_0x1c54bb(0x250)]();}},_0x3d5619;}async['_submitChangeset'](_0x4dbc4b,_0x11a46e){var _0x4113d7=_0x10759f,_0x34b59b,_0x57b221;const {unitType:_0x305d76,unitID:_0x59db73,changeset:_0x5dc45c}=_0x11a46e['data'],_0x440c06={'unitID':_0x59db73,'memberID':_0x4dbc4b[_0x4113d7(0x1f0)],'type':_0x305d76,'changeset':g['parseChangesetToProtocol'](_0x5dc45c)},_0x2fa76b=this[_0x4113d7(0x3a1)][_0x4113d7(0x444)](It),_0x3cd5f3=this[_0x4113d7(0x3a1)][_0x4113d7(0x444)](Y),_0x105928=Qt((_0x57b221=(_0x34b59b=_0x3cd5f3==null?void 0x0:_0x3cd5f3[_0x4113d7(0x1ee)])!=null?_0x34b59b:_0x2fa76b)!=null?_0x57b221:Kt,_0x305d76,_0x59db73);try{await this[_0x4113d7(0x46b)][_0x4113d7(0x25c)](_0x105928,{'body':_0x440c06});}catch(_0x469cae){throw this[_0x4113d7(0x297)][_0x4113d7(0x238)](_0x4113d7(0x2b0),'submit\x20changeset\x20error!'),_0x469cae;}}async[_0x10759f(0x199)](_0x5bcaa2){var _0x26b37c=_0x10759f;const {unitID:_0x4d8a62,from:_0x5e7af5,to:_0x413fc9,unitType:_0x302bf1}=_0x5bcaa2['data'];return(await this[_0x26b37c(0x3ee)][_0x26b37c(0x245)]({'metadata':void 0x0},{'unitID':_0x4d8a62,'type':_0x302bf1,'from':_0x5e7af5,'to':_0x413fc9}))['changesets'];}},exports[_0x10759f(0x218)]=Zt([_e(0x0,a[_0x10759f(0x1a7)](a['Injector'])),_e(0x1,a[_0x10759f(0x1a7)](q[_0x10759f(0x18d)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x10759f(0x45e)]),_e(0x4,g['ISnapshotServerService'])],exports[_0x10759f(0x218)]);const ei=_0x10759f(0x38f);function ti(_0x49dc1e){var _0x417c36=_0x10759f;return JSON['stringify'](_0x49dc1e)[_0x417c36(0x36b)];}class Be{constructor(){var _0x12cd96=_0x10759f;P(this,_0x12cd96(0x2dc),new j['Subject']()),P(this,_0x12cd96(0x31a),this['_commentUpdate$'][_0x12cd96(0x2d6)]());}['onCommentUpdate'](_0xb465ad){var _0x10a15d=_0x10759f;this['_commentUpdate$'][_0x10a15d(0x326)](_0xb465ad);}}var ii=Object[_0x10759f(0x273)],ni=(_0x5d81ee,_0x5f1a57,_0x1b583f,_0x5cf067)=>{var _0x4beb00=_0x10759f;for(var _0xedb1f7=_0x5cf067>0x1?void 0x0:_0x5cf067?ii(_0x5f1a57,_0x1b583f):_0x5f1a57,_0x34d854=_0x5d81ee[_0x4beb00(0x36b)]-0x1,_0x36335b;_0x34d854>=0x0;_0x34d854--)(_0x36335b=_0x5d81ee[_0x34d854])&&(_0xedb1f7=_0x36335b(_0xedb1f7)||_0xedb1f7);return _0xedb1f7;},Ke=(_0x29a3b2,_0x216180)=>(_0x5e8d7d,_0xd41197)=>_0x216180(_0x5e8d7d,_0xd41197,_0x29a3b2);exports[_0x10759f(0x1a4)]=class extends a['Disposable']{constructor(_0x5725c2,_0x5446a2){var _0x5da21b=_0x10759f;super(),P(this,_0x5da21b(0x42f),new Map()),P(this,_0x5da21b(0x37b),new j[(_0x5da21b(0x36c))]()),(this['_univerInstanceService']=_0x5725c2,this[_0x5da21b(0x385)]=_0x5446a2,this[_0x5da21b(0x1d1)](j[_0x5da21b(0x442)](this[_0x5da21b(0x414)][_0x5da21b(0x2b5)](a[_0x5da21b(0x30d)]['UNIVER_SHEET'])[_0x5da21b(0x191)](W['map'](_0x8ba2c4=>_0x8ba2c4[_0x5da21b(0x456)]())),this[_0x5da21b(0x414)]['getTypeOfUnitDisposed$'](a[_0x5da21b(0x30d)][_0x5da21b(0x19e)])['pipe'](W[_0x5da21b(0x18c)](_0x4df06c=>_0x4df06c[_0x5da21b(0x456)]())),this[_0x5da21b(0x414)][_0x5da21b(0x2b5)](a[_0x5da21b(0x30d)][_0x5da21b(0x32f)])[_0x5da21b(0x191)](W[_0x5da21b(0x18c)](_0x9b7d6b=>_0x9b7d6b[_0x5da21b(0x456)]())))[_0x5da21b(0x49a)](_0x395ec7=>this[_0x5da21b(0x214)](_0x395ec7))));}['waitForRoom$'](_0x573016){var _0x319d11=_0x10759f;return this[_0x319d11(0x42f)][_0x319d11(0x395)](_0x573016)?j['of'](this[_0x319d11(0x42f)][_0x319d11(0x23b)](_0x573016)):this[_0x319d11(0x37b)][_0x319d11(0x191)](W[_0x319d11(0x18c)](_0x5026ca=>{var _0x4c93da=_0x319d11;if(_0x5026ca===_0x573016)return this['_roomMembers'][_0x4c93da(0x23b)](_0x5026ca);}));}[_0x10759f(0x4c0)](_0x4721e9){var _0x1a3bfc=_0x10759f;this['_userManagerService'][_0x1a3bfc(0x4c0)](_0x4721e9);}[_0x10759f(0x200)](){var _0x5c23d3=_0x10759f;return this[_0x5c23d3(0x385)][_0x5c23d3(0x200)]();}[_0x10759f(0x3a2)](_0x52140a,_0x57679e){var _0x15d4b2=_0x10759f;let _0x2db505=this[_0x15d4b2(0x42f)]['get'](_0x52140a);_0x2db505||(_0x2db505=new ri(),this[_0x15d4b2(0x42f)]['set'](_0x52140a,_0x2db505),this[_0x15d4b2(0x37b)][_0x15d4b2(0x326)](_0x52140a)),_0x2db505[_0x15d4b2(0x3a2)](_0x57679e);}[_0x10759f(0x359)](_0x1e0613,_0xd3e3b4){var _0x57ce83=_0x10759f;const _0x253668=this[_0x57ce83(0x42f)][_0x57ce83(0x23b)](_0x1e0613);_0x253668&&_0x253668[_0x57ce83(0x359)](_0xd3e3b4);}[_0x10759f(0x3e6)](_0x4f5482){var _0x3b2410=_0x10759f;return this[_0x3b2410(0x42f)][_0x3b2410(0x23b)](_0x4f5482);}[_0x10759f(0x433)](_0x1d34b0,_0x23d8ad){var _0x15ec45=_0x10759f;const _0xe0f354=this[_0x15ec45(0x42f)]['get'](_0x1d34b0);if(_0xe0f354)return _0xe0f354[_0x15ec45(0x433)](_0x23d8ad);}[_0x10759f(0x214)](_0x1aea01){var _0x1882d1=_0x10759f;const _0x1af94e=this[_0x1882d1(0x42f)]['get'](_0x1aea01);_0x1af94e&&(_0x1af94e[_0x1882d1(0x250)](),this[_0x1882d1(0x42f)][_0x1882d1(0x296)](_0x1aea01));}[_0x10759f(0x250)](){var _0x4a2ad1=_0x10759f;this[_0x4a2ad1(0x42f)][_0x4a2ad1(0x4a1)](_0xda854a=>_0xda854a[_0x4a2ad1(0x250)]()),this[_0x4a2ad1(0x42f)]['clear'](),this[_0x4a2ad1(0x37b)][_0x4a2ad1(0x452)]();}},exports[_0x10759f(0x1a4)]=ni([Ke(0x0,a[_0x10759f(0x30b)]),Ke(0x1,a[_0x10759f(0x1a7)](a['UserManagerService']))],exports[_0x10759f(0x1a4)]);class ri extends a[_0x10759f(0x4a0)]{constructor(){var _0xf6725c=_0x10759f;super(...arguments),P(this,_0xf6725c(0x210),new Map()),P(this,_0xf6725c(0x4d6),new j[(_0xf6725c(0x302))](this[_0xf6725c(0x210)])),P(this,_0xf6725c(0x29c),this[_0xf6725c(0x4d6)][_0xf6725c(0x2d6)]());}['dispose'](){var _0x67204d=_0x10759f;this[_0x67204d(0x210)][_0x67204d(0x42e)]();}[_0x10759f(0x3a2)](_0x105847){var _0x166342=_0x10759f;this[_0x166342(0x210)]['set'](_0x105847[_0x166342(0x1f0)],_0x105847),this[_0x166342(0x281)]();}[_0x10759f(0x359)](_0x3b544e){var _0x12b847=_0x10759f;this[_0x12b847(0x210)]['delete'](_0x3b544e);}[_0x10759f(0x433)](_0x2b12fa){var _0xf29955=_0x10759f;return this[_0xf29955(0x210)][_0xf29955(0x23b)](_0x2b12fa);}[_0x10759f(0x389)](){var _0x3dbab5=_0x10759f;return Array[_0x3dbab5(0x1f8)](this[_0x3dbab5(0x210)][_0x3dbab5(0x1f5)]());}['_emitMembers'](){var _0x3499be=_0x10759f;this[_0x3499be(0x4d6)][_0x3499be(0x326)](this[_0x3499be(0x210)]);}}var si=Object[_0x10759f(0x273)],oi=(_0x8284e,_0x23299e,_0x32df5a,_0x20dd25)=>{var _0x41e998=_0x10759f;for(var _0x56b9b4=_0x20dd25>0x1?void 0x0:_0x20dd25?si(_0x23299e,_0x32df5a):_0x23299e,_0x11cad4=_0x8284e[_0x41e998(0x36b)]-0x1,_0x1af8b2;_0x11cad4>=0x0;_0x11cad4--)(_0x1af8b2=_0x8284e[_0x11cad4])&&(_0x56b9b4=_0x1af8b2(_0x56b9b4)||_0x56b9b4);return _0x56b9b4;},oe=(_0x3b3fdb,_0x494bc0)=>(_0x2f65d2,_0x10add6)=>_0x494bc0(_0x2f65d2,_0x10add6,_0x3b3fdb),se=(_0x338a22=>(_0x338a22[_0x338a22[_0x10759f(0x3c9)]=0x0]=_0x10759f(0x3c9),_0x338a22[_0x338a22[_0x10759f(0x2a5)]=0x1]=_0x10759f(0x2a5),_0x338a22[_0x338a22[_0x10759f(0x3f0)]=0x2]='OFFLINE',_0x338a22[_0x338a22[_0x10759f(0x311)]=0x3]=_0x10759f(0x311),_0x338a22))(se||{});const Ye={[ae[_0x10759f(0x434)]]:'session.join-failed',[ae[_0x10759f(0x283)]]:'session.room-full',[ae[_0x10759f(0x190)]]:'session.room-not-exists',[ae[_0x10759f(0x254)]]:_0x10759f(0x205),[ae[_0x10759f(0x1e5)]]:'session.room-cnt-exceeds'};exports[_0x10759f(0x3f1)]=class extends a[_0x10759f(0x1de)]{constructor(_0x215cfb,_0x55352d,_0x9e1f2b,_0x121277,_0x3ef928,_0x45d5cc,_0x4b0cd7,_0x8ebc11,_0x5baeef){var _0x7e8e0a=_0x10759f;super(),P(this,_0x7e8e0a(0x2af),new j[(_0x7e8e0a(0x302))](0x0)),P(this,_0x7e8e0a(0x27e),this[_0x7e8e0a(0x2af)]['asObservable']()),P(this,_0x7e8e0a(0x49b),new j[(_0x7e8e0a(0x36c))]()),P(this,_0x7e8e0a(0x3b9),this[_0x7e8e0a(0x49b)][_0x7e8e0a(0x2d6)]()),P(this,_0x7e8e0a(0x290)),P(this,_0x7e8e0a(0x383)),P(this,'_collaborationTimeoutTimer'),P(this,_0x7e8e0a(0x19a),!0x1),P(this,_0x7e8e0a(0x447),null),(this['_unitID']=_0x215cfb,this[_0x7e8e0a(0x297)]=_0x9e1f2b,this[_0x7e8e0a(0x3a1)]=_0x121277,this[_0x7e8e0a(0x42a)]=_0x3ef928,this['_memberService']=_0x45d5cc,this[_0x7e8e0a(0x29b)]=_0x4b0cd7,this[_0x7e8e0a(0x1e2)]=_0x8ebc11,this[_0x7e8e0a(0x42b)]=_0x5baeef,this[_0x7e8e0a(0x19a)]=!!this[_0x7e8e0a(0x42b)],_0x55352d['pipe'](j['takeUntil'](this['dispose$']))[_0x7e8e0a(0x49a)](_0x4e2fcb=>{var _0x1a8c7d=_0x7e8e0a,_0x39aa8f;typeof _0x4e2fcb>'u'||(this['_socket']=_0x4e2fcb,_0x4e2fcb?(this[_0x1a8c7d(0x298)](_0x4e2fcb),this[_0x1a8c7d(0x383)]=_0x4e2fcb[_0x1a8c7d(0x471)]['subscribe'](_0x1d5ed1=>{var _0x5963f1=_0x1a8c7d;_0x1d5ed1[_0x5963f1(0x39a)]===this['_unitID']&&this['_onCombEvent'](_0x1d5ed1);})):(this[_0x1a8c7d(0x1d5)](),this[_0x1a8c7d(0x2af)]['next'](0x2),(_0x39aa8f=this[_0x1a8c7d(0x383)])==null||_0x39aa8f[_0x1a8c7d(0x364)](),this[_0x1a8c7d(0x383)]=null));}));}get[_0x10759f(0x33b)](){var _0x2683e=_0x10759f;return this[_0x2683e(0x2af)][_0x2683e(0x220)]();}[_0x10759f(0x2e7)](){var _0x112005=_0x10759f,_0x3d0dc1,_0x4105a5;return(_0x4105a5=(_0x3d0dc1=this[_0x112005(0x290)])==null?void 0x0:_0x3d0dc1[_0x112005(0x1f0)])!=null?_0x4105a5:null;}[_0x10759f(0x250)](){var _0x40fd6c=_0x10759f;super[_0x40fd6c(0x250)](),this[_0x40fd6c(0x1ac)][_0x40fd6c(0x326)](),this[_0x40fd6c(0x1ac)][_0x40fd6c(0x452)]();}[_0x10759f(0x28d)](){var _0x335dd9=_0x10759f,_0x561a3e,_0x32faca;this[_0x335dd9(0x1d5)](),(_0x561a3e=this[_0x335dd9(0x290)])==null||_0x561a3e[_0x335dd9(0x406)]({'cmd':G[_0x335dd9(0x32a)],'data':{'roomID':this[_0x335dd9(0x299)]}}),(_0x32faca=this['_socket'])==null||_0x32faca[_0x335dd9(0x28d)](),this[_0x335dd9(0x49b)]['complete'](),this[_0x335dd9(0x2af)][_0x335dd9(0x452)](),this[_0x335dd9(0x250)]();}[_0x10759f(0x22b)](_0x23ee98){var _0x4b35a0=_0x10759f;_0x23ee98['cmd']===G['JOIN']?this[_0x4b35a0(0x3d4)](_0x23ee98):_0x23ee98[_0x4b35a0(0x2cb)]===G['RECV']&&this['_onRecvEvent'](_0x23ee98);}['_joinRoom'](_0x459802){var _0x48e2c9=_0x10759f;this[_0x48e2c9(0x2af)][_0x48e2c9(0x326)](0x1),_0x459802[_0x48e2c9(0x406)]({'cmd':G['JOIN'],'routeKey':this[_0x48e2c9(0x299)],'routeType':'','data':{'rooms':[{'roomID':this[_0x48e2c9(0x299)]}]}});}[_0x10759f(0x3d4)](_0x3935e4){var _0x1473de=_0x10759f,_0x44c038;if(_0x3935e4['code']in Ye){this[_0x1473de(0x1e2)][_0x1473de(0x325)]({'id':Q[_0x1473de(0x3ca)],'data':Ye[_0x3935e4[_0x1473de(0x3e2)]]}),this[_0x1473de(0x2af)][_0x1473de(0x326)](0x2);return;}this[_0x1473de(0x2af)][_0x1473de(0x326)](0x3);const _0x44a239=(_0x44c038=_0x3935e4[_0x1473de(0x472)]['roomInfos'][this[_0x1473de(0x299)]])==null?void 0x0:_0x44c038['members'];_0x44a239&&_0x44a239['forEach'](_0x5f50bd=>this[_0x1473de(0x239)]['updateMember'](this[_0x1473de(0x299)],_0x5f50bd));}[_0x10759f(0x1c8)](_0x343d9f){var _0x2e782d=_0x10759f;try{const _0x3a820b=_0x343d9f[_0x2e782d(0x472)];switch(_0x3a820b[_0x2e782d(0x3fe)]){case g['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x3a820b),this['_event$'][_0x2e782d(0x326)](_0x3a820b);break;case g[_0x2e782d(0x2ac)][_0x2e782d(0x3ed)]:this[_0x2e782d(0x3ef)](_0x3a820b),this[_0x2e782d(0x49b)][_0x2e782d(0x326)](_0x3a820b);break;case g[_0x2e782d(0x2ac)][_0x2e782d(0x1d3)]:case g[_0x2e782d(0x2ac)][_0x2e782d(0x4a4)]:this[_0x2e782d(0x498)](),this[_0x2e782d(0x1cc)](),this[_0x2e782d(0x49b)][_0x2e782d(0x326)](_0x3a820b);break;case g[_0x2e782d(0x2ac)][_0x2e782d(0x3d3)]:this[_0x2e782d(0x297)][_0x2e782d(0x238)](_0x2e782d(0x2de)+JSON[_0x2e782d(0x1ce)](_0x3a820b)),this[_0x2e782d(0x49b)][_0x2e782d(0x326)](_0x3a820b);break;case g[_0x2e782d(0x2ac)][_0x2e782d(0x476)]:this[_0x2e782d(0x29b)][_0x2e782d(0x4b3)](_0x3a820b[_0x2e782d(0x472)]),this[_0x2e782d(0x49b)][_0x2e782d(0x326)](_0x3a820b);break;default:this[_0x2e782d(0x49b)][_0x2e782d(0x326)](_0x3a820b);}}catch(_0x1abf4b){this[_0x2e782d(0x297)][_0x2e782d(0x238)](_0x1abf4b,_0x343d9f);}}[_0x10759f(0x1e7)](_0x56c9eb){var _0x4483cb=_0x10759f;this[_0x4483cb(0x239)][_0x4483cb(0x3a2)](this[_0x4483cb(0x299)],_0x56c9eb['data']);}[_0x10759f(0x3ef)](_0x473ce1){var _0x5196cf=_0x10759f;this[_0x5196cf(0x239)][_0x5196cf(0x359)](this[_0x5196cf(0x299)],_0x473ce1['data'][_0x5196cf(0x1f0)]);}async[_0x10759f(0x406)](_0x3a0015,_0x5282d4){var _0x40e046=_0x10759f;if(this[_0x40e046(0x33b)]!==0x3||!this[_0x40e046(0x290)])throw new Error(_0x40e046(0x1a1));try{_0x3a0015[_0x40e046(0x3fe)]===g[_0x40e046(0x2ac)][_0x40e046(0x274)]&&(this[_0x40e046(0x22c)](),this['_startTelemetryCollaborationNewChangeset'](_0x3a0015)),this[_0x40e046(0x290)][_0x40e046(0x406)]({'cmd':G[_0x40e046(0x393)],'routeKey':_0x5282d4,'routeType':'','data':_0x3a0015});}catch(_0x3a2a1f){this['_logService'][_0x40e046(0x238)](_0x3a2a1f);}}[_0x10759f(0x22c)](){var _0x545cc2=_0x10759f,_0x5aee9b;this[_0x545cc2(0x4cc)]=setTimeout(()=>{var _0x429ce4=_0x545cc2;this[_0x429ce4(0x4cc)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x429ce4(0x4d3)]});},(_0x5aee9b=this[_0x545cc2(0x3a1)][_0x545cc2(0x444)](je))!=null?_0x5aee9b:gt);}[_0x10759f(0x1cc)](){var _0x557126=_0x10759f;this[_0x557126(0x4cc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x10759f(0x294)](_0x899e5b){var _0x542946=_0x10759f;if(!this[_0x542946(0x19a)])return;const {data:_0x1bf217}=_0x899e5b,{unitID:_0x211dd4,changeset:_0x40f82d}=_0x1bf217,{mutations:_0xc18b71,type:_0x5d2962}=_0x40f82d;this[_0x542946(0x447)]={'unitId':_0x211dd4,'type':_0x5d2962,'startTime':performance[_0x542946(0x411)](),'stopTime':0x0,'duration':0x0,'size':ti(_0xc18b71)};}[_0x10759f(0x498)](){var _0x30495d=_0x10759f;if(this['_shouldReportTelemetry']){if(!this[_0x30495d(0x447)]){this[_0x30495d(0x297)][_0x30495d(0x238)](_0x30495d(0x2b0),_0x30495d(0x286));return;}this[_0x30495d(0x447)][_0x30495d(0x378)]=performance['now'](),this[_0x30495d(0x447)][_0x30495d(0x372)]=this[_0x30495d(0x447)][_0x30495d(0x378)]-this[_0x30495d(0x447)]['startTime'],this[_0x30495d(0x42b)][_0x30495d(0x229)](ei,this[_0x30495d(0x447)]),this[_0x30495d(0x447)]=null;}}[_0x10759f(0x1d5)](){var _0x2e4787=_0x10759f;this[_0x2e4787(0x447)]=null;}},exports[_0x10759f(0x3f1)]=oi([oe(0x2,a[_0x10759f(0x45e)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x10759f(0x1a7)](a[_0x10759f(0x2e3)])),oe(0x5,a['Inject'](exports[_0x10759f(0x1a4)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x10759f(0x1a7)](te)),oe(0x8,a[_0x10759f(0x262)](Mt[_0x10759f(0x497)]))],exports[_0x10759f(0x3f1)]);var ai=Object[_0x10759f(0x273)],ci=(_0x54b333,_0x1fc091,_0xfec455,_0x307d13)=>{var _0x48263a=_0x10759f;for(var _0x508d06=_0x307d13>0x1?void 0x0:_0x307d13?ai(_0x1fc091,_0xfec455):_0x1fc091,_0xa68de5=_0x54b333[_0x48263a(0x36b)]-0x1,_0x375858;_0xa68de5>=0x0;_0xa68de5--)(_0x375858=_0x54b333[_0xa68de5])&&(_0x508d06=_0x375858(_0x508d06)||_0x508d06);return _0x508d06;},le=(_0x1183ce,_0x327b8b)=>(_0x261c96,_0x465b9a)=>_0x327b8b(_0x261c96,_0x465b9a,_0x1183ce);exports[_0x10759f(0x263)]=class extends a[_0x10759f(0x4a0)]{constructor(_0x4c3dfc,_0x3b8ee3,_0x2708f6,_0x56be66,_0x5f52d9,_0x396b0a){var _0x208221=_0x10759f;super(),P(this,_0x208221(0x439),new j[(_0x208221(0x302))](void 0x0)),P(this,'socket$',this[_0x208221(0x439)][_0x208221(0x2d6)]()),P(this,_0x208221(0x2cc),null),P(this,'_sessions',new Map()),P(this,_0x208221(0x40d),new j['BehaviorSubject'](se['IDLE'])),P(this,_0x208221(0x3b6),this[_0x208221(0x40d)][_0x208221(0x2d6)]()),P(this,'_socketReady',!0x1),P(this,_0x208221(0x1fb)),P(this,_0x208221(0x2a1),0x0),P(this,_0x208221(0x1c7)),P(this,_0x208221(0x479)),(this['_injector']=_0x4c3dfc,this[_0x208221(0x297)]=_0x3b8ee3,this[_0x208221(0x3a1)]=_0x2708f6,this[_0x208221(0x43f)]=_0x56be66,this[_0x208221(0x1e2)]=_0x5f52d9,this['_networkConditionService']=_0x396b0a,this[_0x208221(0x1c0)]());}get[_0x10759f(0x290)](){var _0x4dadc1=_0x10759f;return this['_socket$'][_0x4dadc1(0x220)]();}['_listenToNetworkCondition'](){var _0x51eabb=_0x10759f;this[_0x51eabb(0x259)]&&this['disposeWithMe'](this[_0x51eabb(0x259)][_0x51eabb(0x197)]['subscribe'](_0x165360=>{var _0x5616cd=_0x51eabb;_0x165360&&!this['_socket']&&this[_0x5616cd(0x44b)](),_0x165360||this[_0x5616cd(0x4d5)]();}));}[_0x10759f(0x250)](){var _0x2d46f5=_0x10759f;super[_0x2d46f5(0x250)](),this[_0x2d46f5(0x2da)](),this[_0x2d46f5(0x4c8)](),this[_0x2d46f5(0x3f8)](),this[_0x2d46f5(0x187)][_0x2d46f5(0x4a1)](_0x51c5e0=>_0x51c5e0[_0x2d46f5(0x250)]()),this[_0x2d46f5(0x187)][_0x2d46f5(0x42e)](),this[_0x2d46f5(0x40d)][_0x2d46f5(0x452)]();}async[_0x10759f(0x3ba)](_0x89fca8){var _0x2a8480=_0x10759f;if(this['_sessions'][_0x2a8480(0x395)](_0x89fca8))return this[_0x2a8480(0x187)][_0x2a8480(0x23b)](_0x89fca8);this[_0x2a8480(0x207)]();const _0x3fd033=this[_0x2a8480(0x30c)][_0x2a8480(0x26a)](exports['CollaborationSession'],_0x89fca8,this[_0x2a8480(0x439)][_0x2a8480(0x2d6)]());return this['_sessions'][_0x2a8480(0x41e)](_0x89fca8,_0x3fd033),_0x3fd033;}[_0x10759f(0x1b1)](_0x525b48){var _0x416bb6=_0x10759f,_0x6ce2e;const _0x27f907=this[_0x416bb6(0x187)][_0x416bb6(0x23b)](_0x525b48);_0x27f907&&(this['_sessions'][_0x416bb6(0x296)](_0x525b48),_0x27f907[_0x416bb6(0x28d)]()),this[_0x416bb6(0x187)][_0x416bb6(0x358)]||(_0x6ce2e=this[_0x416bb6(0x290)])==null||_0x6ce2e[_0x416bb6(0x28d)]();}[_0x10759f(0x44b)](){var _0x23527f=_0x10759f;this['_retryCount']=0x0,this[_0x23527f(0x2da)](),this[_0x23527f(0x255)]();}['_clearRetryConnectingTimer'](){var _0x24f444=_0x10759f;this[_0x24f444(0x1fb)]!=null&&(clearTimeout(this[_0x24f444(0x1fb)]),this[_0x24f444(0x1fb)]=null);}async['_createSocket'](){var _0x377d2a=_0x10759f,_0x41c355,_0x23a534;const _0x5cd929=this['_configService'][_0x377d2a(0x444)](St),_0x3cc75b=this[_0x377d2a(0x3a1)]['getConfig'](Y),_0xdb1275=(_0x23a534=(_0x41c355=_0x3cc75b==null?void 0x0:_0x3cc75b[_0x377d2a(0x396)])!=null?_0x41c355:_0x5cd929)!=null?_0x23a534:ft,_0x5846ea=await this[_0x377d2a(0x43f)][_0x377d2a(0x2df)](_0xdb1275);return this['_candidateSocket']=_0x5846ea,_0x5846ea;}async[_0x10759f(0x207)](){var _0x1b5969=_0x10759f,_0x578742,_0x2735ac;try{const _0x330fdb=(_0x2735ac=(_0x578742=this[_0x1b5969(0x290)])!=null?_0x578742:this[_0x1b5969(0x2cc)])!=null?_0x2735ac:await this[_0x1b5969(0x3b3)]();if(_0x330fdb){const _0x35bfa5=_0x330fdb[_0x1b5969(0x406)];_0x330fdb[_0x1b5969(0x406)]=_0xe11e77=>(this[_0x1b5969(0x43e)](),_0x35bfa5['apply'](_0x330fdb,[_0xe11e77])),_0x330fdb[_0x1b5969(0x471)]['subscribe'](_0x640f3d=>this['_onMessage'](_0x330fdb,_0x640f3d)),_0x330fdb[_0x1b5969(0x388)]['pipe'](W['take'](0x1))[_0x1b5969(0x49a)](_0x4ae1ca=>this[_0x1b5969(0x297)][_0x1b5969(0x238)]('[CollaborationSessionService]:\x20socket\x20error',_0x4ae1ca)),_0x330fdb['open$']['pipe'](W[_0x1b5969(0x2a0)](0x1))[_0x1b5969(0x49a)](()=>{var _0x1e02bf=_0x1b5969;this[_0x1e02bf(0x409)](_0x330fdb);}),_0x330fdb[_0x1b5969(0x47f)][_0x1b5969(0x191)](W['take'](0x1))[_0x1b5969(0x49a)](_0x1e435b=>{var _0x46a501=_0x1b5969;this[_0x46a501(0x297)][_0x46a501(0x3c5)](_0x46a501(0x289),_0x46a501(0x2c2),_0x1e435b),this['_onConnectionFailed']();});}}catch(_0x4161e4){this[_0x1b5969(0x297)][_0x1b5969(0x238)](_0x4161e4),this[_0x1b5969(0x198)]();}}[_0x10759f(0x409)](_0x3771b1){var _0x4fd3e2=_0x10759f;this[_0x4fd3e2(0x297)][_0x4fd3e2(0x3c5)]('[CollaborationSessionService]',_0x4fd3e2(0x322)),_0x3771b1[_0x4fd3e2(0x406)]({'cmd':G[_0x4fd3e2(0x485)]}),this[_0x4fd3e2(0x43e)]();}[_0x10759f(0x4d5)](){var _0x4b7038=_0x10759f;this[_0x4b7038(0x2d4)]=!0x1,this[_0x4b7038(0x2cc)]=null,this['_status$'][_0x4b7038(0x326)](se['OFFLINE']),this[_0x4b7038(0x439)]['next'](null),this[_0x4b7038(0x4c8)](),this['_clearHeartbeatTimer']();}[_0x10759f(0x198)](){var _0x4563ba=_0x10759f,_0x425064;this[_0x4563ba(0x4d5)](),this['_retryCount']<((_0x425064=this[_0x4563ba(0x3a1)]['getConfig'](mt))!=null?_0x425064:Wt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x4563ba(0x204)]}),this[_0x4563ba(0x255)]()):this['_collaborationUIEventService'][_0x4563ba(0x325)]({'id':Q[_0x4563ba(0x2fb)]});}[_0x10759f(0x255)](){var _0x3cfef5=_0x10759f,_0x4f8c17;const _0x502016=this['_retryCount'],_0x2d51b5=this[_0x3cfef5(0x3a1)][_0x3cfef5(0x444)](Y),_0x12607f=_0x502016===0x0?0x0:((_0x4f8c17=_0x2d51b5==null?void 0x0:_0x2d51b5[_0x3cfef5(0x3a0)])!=null?_0x4f8c17:Ft)*0x2**_0x502016;this[_0x3cfef5(0x1fb)]=setTimeout(()=>{var _0x5490e2=_0x3cfef5;clearTimeout(this[_0x5490e2(0x1fb)]),this['_retryConnectingTimer']=null,this[_0x5490e2(0x207)]();},_0x12607f),this[_0x3cfef5(0x2a1)]+=0x1;}[_0x10759f(0x1cf)](_0xbf79d0,_0x959b5b){var _0x70b0a3=_0x10759f;const {cmd:_0x1a12b7}=_0x959b5b;_0x1a12b7===G[_0x70b0a3(0x485)]&&!this[_0x70b0a3(0x2d4)]&&(_0xbf79d0[_0x70b0a3(0x1f0)]=_0x959b5b[_0x70b0a3(0x472)][_0x70b0a3(0x1f0)],this[_0x70b0a3(0x439)][_0x70b0a3(0x326)](_0xbf79d0),this[_0x70b0a3(0x40d)][_0x70b0a3(0x326)](se['ONLINE']),this[_0x70b0a3(0x2d4)]=!0x0,this[_0x70b0a3(0x2cc)]=null),_0x1a12b7===G['HEARTBEAT']&&this[_0x70b0a3(0x4c8)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x397961=_0x10759f,_0x21a51a;this[_0x397961(0x3f8)](),this[_0x397961(0x1c7)]=setTimeout(()=>this[_0x397961(0x469)](),(_0x21a51a=this[_0x397961(0x3a1)]['getConfig'](pt))!=null?_0x21a51a:Bt);}[_0x10759f(0x469)](){var _0x1920f9=_0x10759f;this[_0x1920f9(0x290)][_0x1920f9(0x406)]({'cmd':G[_0x1920f9(0x4af)]}),this[_0x1920f9(0x203)]();}[_0x10759f(0x203)](){var _0xebaa49=_0x10759f,_0x3cb868;this['_timeoutTimer']=setTimeout(()=>this[_0xebaa49(0x198)](),(_0x3cb868=this[_0xebaa49(0x3a1)]['getConfig'](je))!=null?_0x3cb868:gt);}[_0x10759f(0x3f8)](){var _0x1af62e=_0x10759f;this[_0x1af62e(0x1c7)]!=null&&(clearTimeout(this[_0x1af62e(0x1c7)]),this[_0x1af62e(0x1c7)]=null);}[_0x10759f(0x4c8)](){var _0x5bf7a6=_0x10759f;this[_0x5bf7a6(0x479)]!=null&&(clearTimeout(this[_0x5bf7a6(0x479)]),this[_0x5bf7a6(0x479)]=null);}},exports[_0x10759f(0x263)]=ci([le(0x0,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),le(0x1,a['ILogService']),le(0x2,a[_0x10759f(0x467)]),le(0x3,$e),le(0x4,a['Inject'](te)),le(0x5,a['Optional'](bt))],exports[_0x10759f(0x263)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x10759f(0x490)]((n+0x100)['toString'](0x10)['slice'](0x1));function hi(_0x2b50c7,_0x598e28=0x0){return(V[_0x2b50c7[_0x598e28+0x0]]+V[_0x2b50c7[_0x598e28+0x1]]+V[_0x2b50c7[_0x598e28+0x2]]+V[_0x2b50c7[_0x598e28+0x3]]+'-'+V[_0x2b50c7[_0x598e28+0x4]]+V[_0x2b50c7[_0x598e28+0x5]]+'-'+V[_0x2b50c7[_0x598e28+0x6]]+V[_0x2b50c7[_0x598e28+0x7]]+'-'+V[_0x2b50c7[_0x598e28+0x8]]+V[_0x2b50c7[_0x598e28+0x9]]+'-'+V[_0x2b50c7[_0x598e28+0xa]]+V[_0x2b50c7[_0x598e28+0xb]]+V[_0x2b50c7[_0x598e28+0xc]]+V[_0x2b50c7[_0x598e28+0xd]]+V[_0x2b50c7[_0x598e28+0xe]]+V[_0x2b50c7[_0x598e28+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x51d2dc=_0x10759f;if(!Ue){if(typeof crypto>'u'||!crypto[_0x51d2dc(0x2bf)])throw new Error(_0x51d2dc(0x1aa));Ue=crypto[_0x51d2dc(0x2bf)][_0x51d2dc(0x370)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x10759f(0x408)]&&crypto[_0x10759f(0x408)][_0x10759f(0x370)](crypto),qe={'randomUUID':ui};function di(_0x493e99,_0x3b9d82,_0x4f3e9c){var _0x449e06=_0x10759f,_0x4eefc8,_0xee7c32,_0x108461;if(qe[_0x449e06(0x408)]&&!_0x493e99)return qe['randomUUID']();_0x493e99=_0x493e99||{};const _0x5479b0=(_0x108461=(_0xee7c32=_0x493e99[_0x449e06(0x27d)])!=null?_0xee7c32:(_0x4eefc8=_0x493e99[_0x449e06(0x404)])==null?void 0x0:_0x4eefc8[_0x449e06(0x2b4)](_0x493e99))!=null?_0x108461:_i();if(_0x5479b0[_0x449e06(0x36b)]<0x10)throw new Error(_0x449e06(0x344));return _0x5479b0[0x6]=_0x5479b0[0x6]&0xf|0x40,_0x5479b0[0x8]=_0x5479b0[0x8]&0x3f|0x80,hi(_0x5479b0);}const z=a[_0x10759f(0x449)](_0x10759f(0x39f));function vi(_0x451864){var _0x2fbdf3=_0x10759f;return _0x2fbdf3(0x2c7)+_0x451864;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x2be535,_0x573a41,_0x29c8c4,_0x1679c5)=>{var _0x54677b=_0x10759f;for(var _0x343a7a=_0x1679c5>0x1?void 0x0:_0x1679c5?Si(_0x573a41,_0x29c8c4):_0x573a41,_0x3bd179=_0x2be535[_0x54677b(0x36b)]-0x1,_0xf8f172;_0x3bd179>=0x0;_0x3bd179--)(_0xf8f172=_0x2be535[_0x3bd179])&&(_0x343a7a=_0xf8f172(_0x343a7a)||_0x343a7a);return _0x343a7a;},Pe=(_0x2e197a,_0x3e196c)=>(_0x440de9,_0x1053cd)=>_0x3e196c(_0x440de9,_0x1053cd,_0x2e197a);function pi(_0x49b990){var _0x283ac7=_0x10759f;const {unitID:_0x2fe050,mutations:_0x50073a}=_0x49b990;return{'unitId':_0x2fe050,'subUnitId':_0x50073a[0x0][_0x283ac7(0x1fd)][_0x283ac7(0x3c4)]};}exports[_0x10759f(0x3c3)]=class{constructor(_0x446c60,_0x3f9742,_0x415820){this['_injector']=_0x446c60,this['_transformService']=_0x3f9742,this['_instanceService']=_0x415820;}['transformSelections'](_0x562bba){var _0x2b76af=_0x10759f,_0x4bcf75,_0x1ce69a,_0x567633,_0x3255d6;const _0x1e6c5f=this[_0x2b76af(0x30c)][_0x2b76af(0x23b)](Z[_0x2b76af(0x496)]),{unitId:_0x33f7e2,subUnitId:_0x560e8e}=pi(_0x562bba),_0x345b73=_0x1e6c5f==null?void 0x0:_0x1e6c5f[_0x2b76af(0x2e9)](_0x33f7e2)[_0x2b76af(0x1b3)](),_0x3946c0=(_0x1ce69a=(_0x4bcf75=this[_0x2b76af(0x1f4)]['getUnit'](_0x33f7e2))==null?void 0x0:_0x4bcf75[_0x2b76af(0x1eb)]())==null?void 0x0:_0x1ce69a[_0x2b76af(0x20e)]();if(_0x345b73[_0x2b76af(0x36b)]===0x0||!_0x33f7e2||!_0x560e8e)return;const _0x214b87=[{'id':Z[_0x2b76af(0x312)]['id'],'params':{'unitId':_0x33f7e2,'subUnitId':_0x3946c0,'selections':a[_0x2b76af(0x25f)][_0x2b76af(0x421)](_0x345b73)}}],_0x456206=this[_0x2b76af(0x432)][_0x2b76af(0x276)](_0x562bba,_0x214b87);if(!g[_0x2b76af(0x1e3)](_0x456206))throw _0x456206['error'];const _0x339497=(_0x3255d6=(_0x567633=_0x456206[_0x2b76af(0x1e1)][0x0])==null?void 0x0:_0x567633[_0x2b76af(0x1fd)])==null?void 0x0:_0x3255d6['selections'];if(Array[_0x2b76af(0x4c9)](_0x339497)&&_0x339497[_0x2b76af(0x36b)]){if(_0x339497[_0x2b76af(0x36b)]===_0x214b87[0x0][_0x2b76af(0x1fd)]['selections'][_0x2b76af(0x36b)]&&_0x339497[_0x2b76af(0x3ab)]((_0x298e9b,_0x5f557c)=>a[_0x2b76af(0x29a)][_0x2b76af(0x4b2)](_0x298e9b[_0x2b76af(0x317)],_0x214b87[0x0][_0x2b76af(0x1fd)][_0x2b76af(0x455)][_0x5f557c][_0x2b76af(0x317)])))return;this['_injector'][_0x2b76af(0x23b)](a[_0x2b76af(0x4c4)])[_0x2b76af(0x1cb)](Z[_0x2b76af(0x312)]['id'],{'unitId':_0x33f7e2,'subUnitId':_0x3946c0,'selections':_0x339497});}}},exports[_0x10759f(0x3c3)]=fi([Pe(0x0,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),Pe(0x1,g[_0x10759f(0x2c9)]),Pe(0x2,a[_0x10759f(0x30b)])],exports[_0x10759f(0x3c3)]);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x2683b6=>(_0x2683b6[_0x2683b6[_0x10759f(0x186)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2683b6[_0x2683b6[_0x10759f(0x31e)]=0x1]=_0x10759f(0x31e),_0x2683b6))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x2c8e40,_0x1a7c8c,_0x51482f,_0x3f6b11,_0x5a904e){var _0x144ba5=_0x10759f,_0x5d6486,_0x2e7cf7,_0x533d25,_0x1f7ecb;const _0x2196f8=[];for(const _0x34ea8d of _0x2c8e40)if(gi[_0x144ba5(0x395)](_0x34ea8d['id'])){if(_0x2196f8[_0x144ba5(0x36b)]>0x0)break;_0x2196f8[_0x144ba5(0x490)](_0x34ea8d);break;}else _0x2196f8[_0x144ba5(0x490)](_0x34ea8d);const _0x5c66b0=(_0x2e7cf7=(_0x5d6486=_0x5a904e[_0x144ba5(0x200)]())==null?void 0x0:_0x5d6486[_0x144ba5(0x3e5)])!=null?_0x2e7cf7:_0x144ba5(0x40a),_0x129351=(_0x1f7ecb=(_0x533d25=_0x5a904e[_0x144ba5(0x200)]())==null?void 0x0:_0x533d25[_0x144ba5(0x1f0)])!=null?_0x1f7ecb:'unknown';return{'changeset':{'unitID':_0x1a7c8c,'type':g['mapDocumentTypeToUniverType'](_0x51482f[_0x144ba5(0x284)](_0x1a7c8c)),'baseRev':_0x3f6b11[_0x144ba5(0x2a2)](_0x1a7c8c),'revision':0x0,'userID':_0x5c66b0,'memberID':_0x129351,'mutations':_0x2196f8},'pendingMutations':_0x2c8e40[_0x144ba5(0x4b8)](_0x2196f8[_0x144ba5(0x36b)])};}function mi(_0x1ab6a9,_0x4c0e42,_0x1ae57d,_0x39a337,_0x2c88de){var _0x2ceef2=_0x10759f,_0x40fb44,_0x46d5bd,_0x3e3f19,_0x253500;const _0x38aa80=[_0x1ab6a9[_0x2ceef2(0x3f3)]((_0x43e617,_0x50ad08)=>{var _0x93fe58=_0x2ceef2,_0x442e9c;const {id:_0x1474c9}=_0x43e617,{id:_0x35b212,type:_0x474298}=_0x50ad08,_0x239ea7=(_0x442e9c=_0x43e617[_0x93fe58(0x1fd)])!=null?_0x442e9c:{'actions':null},_0x54081e=_0x50ad08[_0x93fe58(0x1fd)];if(_0x1474c9&&_0x1474c9!==_0x35b212)throw new Error(_0x93fe58(0x462)+_0x1474c9+_0x93fe58(0x1da)+_0x35b212+'.');return{..._0x43e617,'id':_0x35b212,'type':_0x474298,'params':{'unitId':_0x54081e[_0x93fe58(0x380)],'textRanges':_0x54081e[_0x93fe58(0x215)],'actions':a[_0x93fe58(0x315)][_0x93fe58(0x182)](_0x239ea7[_0x93fe58(0x2c5)],_0x54081e[_0x93fe58(0x2c5)])}};},{})],_0x1de8b9=(_0x46d5bd=(_0x40fb44=_0x2c88de[_0x2ceef2(0x200)]())==null?void 0x0:_0x40fb44[_0x2ceef2(0x3e5)])!=null?_0x46d5bd:_0x2ceef2(0x40a),_0x545b8b=(_0x253500=(_0x3e3f19=_0x2c88de['getCurrentUser']())==null?void 0x0:_0x3e3f19[_0x2ceef2(0x1f0)])!=null?_0x253500:_0x2ceef2(0x40a);return{'changeset':{'unitID':_0x4c0e42,'type':g[_0x2ceef2(0x457)](_0x1ae57d[_0x2ceef2(0x284)](_0x4c0e42)),'baseRev':_0x39a337['getCurrentRevOfUnit'](_0x4c0e42),'revision':0x0,'userID':_0x1de8b9,'memberID':_0x545b8b,'mutations':_0x38aa80},'pendingMutations':[]};}function Ot(_0x2e33dc,_0x103ce9){var _0x4768b7=_0x10759f;const _0x5cb9af=new j[(_0x4768b7(0x28c))](0x1);return setTimeout(()=>_0x5cb9af['next'](_0x103ce9),_0x2e33dc),_0x5cb9af[_0x4768b7(0x2d6)]()[_0x4768b7(0x191)](j['take'](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x10759f(0x4b5)]['MUTATION'],'params':{}};var Ei=Object[_0x10759f(0x273)],ce=(_0x510bdd,_0x34e801,_0x14725f,_0x9271f4)=>{for(var _0x24ded9=_0x9271f4>0x1?void 0x0:_0x9271f4?Ei(_0x34e801,_0x14725f):_0x34e801,_0x26ff3a=_0x510bdd['length']-0x1,_0x432597;_0x26ff3a>=0x0;_0x26ff3a--)(_0x432597=_0x510bdd[_0x26ff3a])&&(_0x24ded9=_0x432597(_0x24ded9)||_0x24ded9);return _0x24ded9;},w=(_0x2c24e2,_0x437c71)=>(_0x14434f,_0x2e33ba)=>_0x437c71(_0x14434f,_0x2e33ba,_0x2c24e2),We=(_0x4b8239=>(_0x4b8239[_0x10759f(0x4aa)]=_0x10759f(0x2e0),_0x4b8239[_0x10759f(0x3af)]=_0x10759f(0x31d),_0x4b8239[_0x10759f(0x213)]='pending',_0x4b8239[_0x10759f(0x1b9)]='awaiting',_0x4b8239[_0x10759f(0x1ab)]=_0x10759f(0x41c),_0x4b8239[_0x10759f(0x22e)]=_0x10759f(0x47a),_0x4b8239[_0x10759f(0x2f8)]=_0x10759f(0x340),_0x4b8239[_0x10759f(0x3f0)]=_0x10759f(0x39b),_0x4b8239))(We||{});const Nt=0xea60;class he{constructor(_0x1f042e,_0x1507e1,_0x3e3530,_0x2fc014,_0x5cca5c,_0x379167,_0x37bd49,_0x3011e2,_0x2d9b82){var _0x429a16=_0x10759f;P(this,_0x429a16(0x208),null),P(this,'_pendingMutations',[]),(this[_0x429a16(0x34e)]=_0x1f042e,this[_0x429a16(0x2ad)]=_0x1507e1,this[_0x429a16(0x1ad)]=_0x5cca5c,this['_commandService']=_0x379167,this[_0x429a16(0x183)]=_0x37bd49,this[_0x429a16(0x27b)]=_0x3011e2,this[_0x429a16(0x295)]=_0x2d9b82,this[_0x429a16(0x208)]=_0x3e3530,this[_0x429a16(0x232)]=_0x2fc014);}[_0x10759f(0x20b)](_0x2b643e){var _0x3c22cd=_0x10759f;const _0x4de7cf=this['_revisionService'][_0x3c22cd(0x2a2)](this[_0x3c22cd(0x34e)]);return _0x2b643e[_0x3c22cd(0x357)]>_0x4de7cf+0x1?(this[_0x3c22cd(0x1ad)][_0x3c22cd(0x373)]({'from':_0x4de7cf,'to':_0x2b643e[_0x3c22cd(0x357)]-0x1}),!0x0):!0x1;}[_0x10759f(0x305)](_0x3dfe98){var _0x50e36e=_0x10759f;this[_0x50e36e(0x183)][_0x50e36e(0x391)](this[_0x50e36e(0x34e)],_0x3dfe98);}['_transformSelections'](_0x5d5aba){var _0x4bb5c9=_0x10759f,_0x214e76,_0x5db0ef;(_0x5db0ef=(_0x214e76=this[_0x4bb5c9(0x1ad)])[_0x4bb5c9(0x241)])==null||_0x5db0ef[_0x4bb5c9(0x2b4)](_0x214e76,_0x5d5aba);}[_0x10759f(0x1db)](_0x26de16){var _0xd1f9d9=_0x10759f,_0x163cf4,_0x4cb7d2;return(_0x4cb7d2=(_0x163cf4=this[_0xd1f9d9(0x1ad)])['onTransformIME'])==null?void 0x0:_0x4cb7d2['call'](_0x163cf4,_0x26de16);}[_0x10759f(0x360)](_0x896bbd){var _0x1c4819=_0x10759f,_0x328b58,_0x40db57;return(_0x40db57=(_0x328b58=this[_0x1c4819(0x1ad)])[_0x1c4819(0x1d6)])==null?void 0x0:_0x40db57[_0x1c4819(0x2b4)](_0x328b58,_0x896bbd);}[_0x10759f(0x1a6)](_0x202886){var _0x9ca884=_0x10759f,_0x1e69c0,_0x225dc1,_0x38aa69;return(_0x38aa69=(_0x225dc1=(_0x1e69c0=this[_0x9ca884(0x1ad)])[_0x9ca884(0x48e)])==null?void 0x0:_0x225dc1[_0x9ca884(0x2b4)](_0x1e69c0,_0x202886))!=null?_0x38aa69:_0x202886;}[_0x10759f(0x227)](_0x10625a){var _0x32e113=_0x10759f,_0x5ae9f9,_0x18eccc,_0x22870b;return(_0x22870b=(_0x18eccc=(_0x5ae9f9=this['_handler'])[_0x32e113(0x266)])==null?void 0x0:_0x18eccc['call'](_0x5ae9f9,_0x10625a))!=null?_0x22870b:_0x10625a;}['_syncEditingCollabCursor'](_0x4a8db2){var _0x1c62ff=_0x10759f,_0x5a0ff3,_0x526524;if(this[_0x1c62ff(0x2ad)]===X[_0x1c62ff(0x19e)]){const {unitID:_0x5e0b93,mutations:_0x5770d5,memberID:_0x1c2038}=_0x4a8db2,_0x5d99fb=_0x5770d5[0x0][_0x1c62ff(0x1fd)]['textRanges'];Array['isArray'](_0x5d99fb)&&_0x5d99fb[_0x1c62ff(0x36b)]>0x0&&((_0x526524=(_0x5a0ff3=this[_0x1c62ff(0x1ad)])['onSyncEditingCollabCursor'])==null||_0x526524[_0x1c62ff(0x2b4)](_0x5a0ff3,{'unitID':_0x5e0b93,'memberID':_0x1c2038,'textRanges':_0x5d99fb}));}}[_0x10759f(0x321)](){var _0x36450d=_0x10759f,_0x35c115;(_0x35c115=this[_0x36450d(0x295)])==null||_0x35c115[_0x36450d(0x3e4)](this[_0x36450d(0x34e)],this[_0x36450d(0x2ad)],this['_awaitingChangeset'],this[_0x36450d(0x232)]);}[_0x10759f(0x32d)](){var _0x3fe6f2=_0x10759f;return this[_0x3fe6f2(0x27b)]['getCurrentRevOfUnit'](this[_0x3fe6f2(0x34e)]);}[_0x10759f(0x1bc)](){var _0x3ff368=_0x10759f;this[_0x3ff368(0x27b)][_0x3ff368(0x1e0)](this['unitID']);}[_0x10759f(0x4b6)](_0x4989ba){var _0x4ab1c0=_0x10759f,_0x3c5bdc;let _0x1a81d2=this[_0x4ab1c0(0x1a6)](_0x4989ba);_0x1a81d2=this[_0x4ab1c0(0x227)](_0x1a81d2);const _0x1d95f2=a[_0x4ab1c0(0x427)](_0x1a81d2['mutations'],this[_0x4ab1c0(0x201)],{'fromCollab':!0x0});if(!_0x1d95f2[_0x4ab1c0(0x1bf)])throw _0x1d95f2[_0x4ab1c0(0x238)]instanceof Error?_0x1d95f2['error']:new Error((_0x3c5bdc=_0x1d95f2[_0x4ab1c0(0x238)])!=null?_0x3c5bdc:'[CollaborationState]:\x20apply\x20error!');this[_0x4ab1c0(0x1db)](_0x1a81d2),this[_0x4ab1c0(0x360)](_0x1a81d2),this[_0x4ab1c0(0x305)](_0x4989ba),this[_0x4ab1c0(0x2a7)](_0x1a81d2),this['_syncEditingCollabCursor'](_0x1a81d2),this[_0x4ab1c0(0x1bc)]();}}exports[_0x10759f(0x24c)]=class extends he{constructor(_0x568463,_0xa783cf,_0x570606,_0x62590f,_0x42e066,_0x4d678c,_0x1c976c,_0x2149ba,_0x48ccf8,_0x48a32f){var _0x2a4acc=_0x10759f;super(_0x568463,_0xa783cf,null,[],_0x570606,_0x1c976c,_0x4d678c,_0x62590f,_0x48a32f),P(this,_0x2a4acc(0x419),_0x2a4acc(0x31d)),(this['_injector']=_0x42e066,this[_0x2a4acc(0x297)]=_0x2149ba,this[_0x2a4acc(0x432)]=_0x48ccf8,this[_0x2a4acc(0x22a)]=_0x48a32f);}[_0x10759f(0x226)](_0x5aff65){var _0x5439ca=_0x10759f;const _0x40ff74=this[_0x5439ca(0x30c)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x5439ca(0x2ad)],[_0x5aff65],this[_0x5439ca(0x1ad)]);return _0x40ff74['_schedule'](),_0x40ff74[_0x5439ca(0x321)](),_0x40ff74;}[_0x10759f(0x44e)](_0x222187){var _0x504262=_0x10759f;if(this['_checkMissing'](_0x222187))return this[_0x504262(0x30c)][_0x504262(0x26a)](exports[_0x504262(0x211)],this[_0x504262(0x34e)],this[_0x504262(0x2ad)],null,[],null,[_0x222187],this[_0x504262(0x1ad)]);try{const _0x564e03=this['_transformService'][_0x504262(0x276)](_0x222187,[Ii]);if(g[_0x504262(0x1e3)](_0x564e03)){const {c1Prime:_0x2ef201}=_0x564e03;return this[_0x504262(0x4b6)](_0x2ef201),this;}throw _0x564e03[_0x504262(0x238)];}catch(_0x3d49a5){return this[_0x504262(0x297)][_0x504262(0x238)](_0x3d49a5),this['_onConflict'](!0x1);}}[_0x10759f(0x219)](_0x488a3c){var _0x9f7d5a=_0x10759f;return this[_0x9f7d5a(0x30c)][_0x9f7d5a(0x26a)](exports[_0x9f7d5a(0x351)],this[_0x9f7d5a(0x34e)],this['type'],null,[],this[_0x9f7d5a(0x1ad)],_0x488a3c);}['onRemoteAck'](){var _0x133b4a=_0x10759f;throw new Error(_0x133b4a(0x3cd));}[_0x10759f(0x343)](){var _0x5b6de8=_0x10759f;throw new Error(_0x5b6de8(0x3de));}[_0x10759f(0x4e0)](){return this;}[_0x10759f(0x374)](){var _0x55ba0b=_0x10759f;return this[_0x55ba0b(0x30c)][_0x55ba0b(0x26a)](exports[_0x55ba0b(0x352)],this['unitID'],this[_0x55ba0b(0x2ad)],null,[],this['_handler']);}[_0x10759f(0x445)](){return this;}[_0x10759f(0x4d4)](){var _0x3bb6cf=_0x10759f;throw new Error(_0x3bb6cf(0x2c1));}[_0x10759f(0x328)](){var _0x582f5f=_0x10759f;const _0x755963=this[_0x582f5f(0x27b)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x582f5f(0x1ad)][_0x582f5f(0x373)]({'from':_0x755963,'to':0x0}),this['_injector'][_0x582f5f(0x26a)](exports[_0x582f5f(0x211)],this['unitID'],this[_0x582f5f(0x2ad)],null,[],null,[],this[_0x582f5f(0x1ad)]);}},exports[_0x10759f(0x24c)]=ce([w(0x3,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),w(0x4,a[_0x10759f(0x1a7)](a['Injector'])),w(0x5,a[_0x10759f(0x488)]),w(0x6,a['ICommandService']),w(0x7,a[_0x10759f(0x45e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x10759f(0x262)](z))],exports[_0x10759f(0x24c)]),exports['PendingState']=class extends he{constructor(_0x2ed945,_0x3fb00b,_0x2899cd,_0x51a7be,_0xadd361,_0x1d30f4,_0x2c1062,_0x490833,_0x53641e,_0x4533d1,_0x36eb87,_0x54b098,_0x38acb9,_0x757b47){var _0x12a5b9=_0x10759f;super(_0x2ed945,_0x3fb00b,null,_0x2899cd,_0x51a7be,_0x53641e,_0x38acb9,_0x1d30f4,_0x757b47),P(this,_0x12a5b9(0x419),_0x12a5b9(0x47d)),P(this,_0x12a5b9(0x178),null),P(this,_0x12a5b9(0x3c1),null),(this[_0x12a5b9(0x30c)]=_0xadd361,this[_0x12a5b9(0x239)]=_0x2c1062,this[_0x12a5b9(0x297)]=_0x490833,this[_0x12a5b9(0x3a1)]=_0x4533d1,this[_0x12a5b9(0x432)]=_0x36eb87,this[_0x12a5b9(0x414)]=_0x54b098);}[_0x10759f(0x226)](_0x306489){var _0x11aeb3=_0x10759f;return this[_0x11aeb3(0x232)]['push'](_0x306489),this[_0x11aeb3(0x321)](),this;}[_0x10759f(0x44e)](_0x37916a){var _0x3ff6f4=_0x10759f;if(this['_checkMissing'](_0x37916a))return this[_0x3ff6f4(0x4c5)](),this[_0x3ff6f4(0x30c)][_0x3ff6f4(0x26a)](exports[_0x3ff6f4(0x211)],this[_0x3ff6f4(0x34e)],this[_0x3ff6f4(0x2ad)],null,this[_0x3ff6f4(0x232)],null,[_0x37916a],this['_handler']);try{const _0x4ab294=this['_transformService'][_0x3ff6f4(0x276)](_0x37916a,this[_0x3ff6f4(0x232)]);if(g[_0x3ff6f4(0x1e3)](_0x4ab294)){const {c1Prime:_0x1afa6d,m2Prime:_0x47ae6c}=_0x4ab294;this[_0x3ff6f4(0x4b6)](_0x1afa6d);const _0x21c7cd=this[_0x3ff6f4(0x30c)][_0x3ff6f4(0x26a)](exports[_0x3ff6f4(0x368)],this[_0x3ff6f4(0x34e)],this[_0x3ff6f4(0x2ad)],_0x47ae6c,this[_0x3ff6f4(0x1ad)]);this['_clearScheduledTask']();const _0x2be86d=new Date()[_0x3ff6f4(0x288)](),_0x47c94e=this[_0x3ff6f4(0x178)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x2be86d,0x0):this[_0x3ff6f4(0x242)]();return _0x21c7cd[_0x3ff6f4(0x318)](_0x47c94e),_0x21c7cd;}throw _0x4ab294[_0x3ff6f4(0x238)];}catch(_0xded9d8){return this[_0x3ff6f4(0x297)][_0x3ff6f4(0x238)](_0xded9d8),this[_0x3ff6f4(0x219)](!0x1);}}[_0x10759f(0x40c)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x10759f(0x343)](){var _0x1d8308=_0x10759f;throw new Error(_0x1d8308(0x35e));}[_0x10759f(0x4e0)](){return this;}[_0x10759f(0x374)](){var _0x367ec9=_0x10759f;return this['_clearScheduledTask'](),this[_0x367ec9(0x30c)]['createInstance'](exports[_0x367ec9(0x352)],this['unitID'],this[_0x367ec9(0x2ad)],null,this[_0x367ec9(0x232)],this[_0x367ec9(0x1ad)]);}[_0x10759f(0x445)](){return this;}['_schedule'](_0x318d41){var _0x107d0f=_0x10759f;const _0x1d3aa1=_0x318d41!=null?_0x318d41:this[_0x107d0f(0x242)]();this[_0x107d0f(0x178)]=new Date()[_0x107d0f(0x288)]()+_0x1d3aa1,this[_0x107d0f(0x3c1)]=setTimeout(()=>{var _0x29e2be=_0x107d0f;this[_0x29e2be(0x4c5)]();let _0x5156fe=null;switch(this[_0x29e2be(0x2ad)]){case X[_0x29e2be(0x21b)]:{_0x5156fe=ze(this[_0x29e2be(0x232)],this[_0x29e2be(0x34e)],this[_0x29e2be(0x414)],this[_0x29e2be(0x27b)],this['_memberService']);break;}case X[_0x29e2be(0x19e)]:{this['_pendingMutations'][_0x29e2be(0x3ab)](_0x2a7e60=>_0x2a7e60['id']===ut[_0x29e2be(0x361)]['id'])?_0x5156fe=mi(this[_0x29e2be(0x232)],this['unitID'],this[_0x29e2be(0x414)],this['_revisionService'],this[_0x29e2be(0x239)]):_0x5156fe=ze(this[_0x29e2be(0x232)],this[_0x29e2be(0x34e)],this[_0x29e2be(0x414)],this[_0x29e2be(0x27b)],this[_0x29e2be(0x239)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x29e2be(0x2ad)]+_0x29e2be(0x1ed));}const {changeset:_0x25ff79,pendingMutations:_0x30e4d9}=_0x5156fe;this[_0x29e2be(0x1ad)][_0x29e2be(0x314)](_0x25ff79);const _0x2563d8=_0x30e4d9[_0x29e2be(0x36b)]?this[_0x29e2be(0x30c)][_0x29e2be(0x26a)](exports['AwaitingWithPendingState'],this[_0x29e2be(0x34e)],this['type'],_0x25ff79,_0x30e4d9,this[_0x29e2be(0x1ad)],void 0x0):this[_0x29e2be(0x30c)]['createInstance'](exports[_0x29e2be(0x346)],this[_0x29e2be(0x34e)],this[_0x29e2be(0x2ad)],_0x25ff79,this[_0x29e2be(0x1ad)]);_0x2563d8[_0x29e2be(0x321)](),this[_0x29e2be(0x1ad)][_0x29e2be(0x1c5)](this,_0x2563d8);},_0x1d3aa1);}['_getSendChangesetTimeout'](){var _0x3a6960=_0x10759f,_0x2ec85d;const _0x54af90=this[_0x3a6960(0x3a1)]['getConfig'](Y);return(_0x2ec85d=_0x54af90==null?void 0x0:_0x54af90['sendChangesetTimeout'])!=null?_0x2ec85d:jt;}[_0x10759f(0x4d4)](){var _0xd38a7f=_0x10759f;throw new Error(_0xd38a7f(0x26c));}[_0x10759f(0x4c5)](){var _0x52ba20=_0x10759f;this[_0x52ba20(0x3c1)]!=null&&(clearTimeout(this[_0x52ba20(0x3c1)]),this[_0x52ba20(0x3c1)]=null);}[_0x10759f(0x219)](_0x4c3096){var _0x220939=_0x10759f;return this[_0x220939(0x4c5)](),this['_injector'][_0x220939(0x26a)](exports[_0x220939(0x351)],this['unitID'],this[_0x220939(0x2ad)],null,this[_0x220939(0x232)],this['_handler'],_0x4c3096);}},exports[_0x10759f(0x368)]=ce([w(0x4,a['Inject'](a[_0x10759f(0x1b8)])),w(0x5,a['Inject'](g[_0x10759f(0x412)])),w(0x6,a[_0x10759f(0x1a7)](exports[_0x10759f(0x1a4)])),w(0x7,a[_0x10759f(0x45e)]),w(0x8,a[_0x10759f(0x4c4)]),w(0x9,a[_0x10759f(0x467)]),w(0xa,g[_0x10759f(0x2c9)]),w(0xb,a[_0x10759f(0x30b)]),w(0xc,a[_0x10759f(0x488)]),w(0xd,a[_0x10759f(0x262)](z))],exports['PendingState']),exports[_0x10759f(0x346)]=class extends he{constructor(_0x5798a2,_0x575ab5,_0x135c31,_0x123a24,_0x33ce65,_0x1f90b7,_0x313752,_0x18ff80,_0x4cc41b,_0x41e743,_0x22bebe){var _0x5cff70=_0x10759f;super(_0x5798a2,_0x575ab5,_0x135c31,[],_0x123a24,_0x313752,_0x41e743,_0x1f90b7,_0x22bebe),P(this,_0x5cff70(0x419),_0x5cff70(0x37d)),P(this,_0x5cff70(0x3fc),0x0),P(this,'_resendTimer'),P(this,'_sender'),(this[_0x5cff70(0x30c)]=_0x33ce65,this[_0x5cff70(0x297)]=_0x18ff80,this['_transformService']=_0x4cc41b);}[_0x10759f(0x226)](_0x522428){var _0x111ca6=_0x10759f;this[_0x111ca6(0x4c5)]();const _0x416ec5=this[_0x111ca6(0x30c)][_0x111ca6(0x26a)](exports['AwaitingWithPendingState'],this[_0x111ca6(0x34e)],this[_0x111ca6(0x2ad)],this['_awaitingChangeset'],[_0x522428],this[_0x111ca6(0x1ad)],this['_resendTimer']);return _0x416ec5[_0x111ca6(0x321)](),_0x416ec5;}[_0x10759f(0x44e)](_0x45a41b){var _0x443d65=_0x10759f;if(this[_0x443d65(0x20b)](_0x45a41b))return this[_0x443d65(0x4c5)](),this['_injector'][_0x443d65(0x26a)](exports['FetchingMissState'],this[_0x443d65(0x34e)],this[_0x443d65(0x2ad)],this[_0x443d65(0x208)],[],null,[_0x45a41b],this['_handler']);try{const _0x16e9c8=this[_0x443d65(0x432)][_0x443d65(0x2fc)]([_0x45a41b],[this[_0x443d65(0x208)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x16e9c8)){const {c1Prime:_0x1bde81,c2Prime:_0x2255cd}=_0x16e9c8;this[_0x443d65(0x4b6)](_0x1bde81[0x0]),_0x2255cd[0x0][_0x443d65(0x41f)]=this[_0x443d65(0x32d)](),this['_clearScheduledTask']();const _0x2f8a9f=this[_0x443d65(0x30c)][_0x443d65(0x26a)](exports['AwaitingState'],this[_0x443d65(0x34e)],this[_0x443d65(0x2ad)],_0x2255cd[0x0],this[_0x443d65(0x1ad)]);return _0x2f8a9f['_updateLocalCache'](),_0x2f8a9f;}return this[_0x443d65(0x219)](!0x1);}catch(_0x3c3ab0){return this['_logService']['error'](_0x3c3ab0),this[_0x443d65(0x219)](!0x1);}}['onRemoteAck'](_0x6c3416){var _0x7e5f02=_0x10759f;this[_0x7e5f02(0x4c5)]();const _0x2915ba=this[_0x7e5f02(0x27b)][_0x7e5f02(0x2a2)](this['unitID']);if(_0x6c3416[_0x7e5f02(0x357)]<_0x2915ba-0x1)return this;if(this[_0x7e5f02(0x20b)](_0x6c3416))return this[_0x7e5f02(0x30c)][_0x7e5f02(0x26a)](exports[_0x7e5f02(0x211)],this[_0x7e5f02(0x34e)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x7e5f02(0x1ad)]);this['_incrementRevisionNumber']();const _0x1351c8=this[_0x7e5f02(0x30c)][_0x7e5f02(0x26a)](exports[_0x7e5f02(0x24c)],this[_0x7e5f02(0x34e)],this['type'],this[_0x7e5f02(0x1ad)]);return _0x1351c8['_updateLocalCache'](),_0x1351c8;}[_0x10759f(0x343)](_0x2ada23){var _0x3fca22=_0x10759f;return this[_0x3fca22(0x219)](!!(_0x2ada23!=null&&_0x2ada23[_0x3fca22(0x292)]));}[_0x10759f(0x4e0)](_0x395792){var _0x4f52bb=_0x10759f;return this[_0x4f52bb(0x3fc)]>Nt?this['toggleOffline']():(this[_0x4f52bb(0x475)]=Ot(this[_0x4f52bb(0x3fc)],{'timeout':this[_0x4f52bb(0x3fc)],'reqId':_0x395792[_0x4f52bb(0x275)]}),this['_sender']=this['_resendTimer'][_0x4f52bb(0x49a)](({reqId:_0xf91541,timeout:_0x5d1865})=>{this['_resendWithTimeout'](_0xf91541,_0x5d1865);}),this);}[_0x10759f(0x374)](){var _0x40e35f=_0x10759f;return this[_0x40e35f(0x4c5)](),this[_0x40e35f(0x30c)][_0x40e35f(0x26a)](exports[_0x40e35f(0x352)],this[_0x40e35f(0x34e)],this['type'],this[_0x40e35f(0x208)],[],this['_handler']);}[_0x10759f(0x445)](){return this;}[_0x10759f(0x4d4)](){var _0x46b8d6=_0x10759f;this[_0x46b8d6(0x1ad)][_0x46b8d6(0x314)](this[_0x46b8d6(0x208)]);}[_0x10759f(0x219)](_0x58c158){var _0x4e55a1=_0x10759f;return this[_0x4e55a1(0x4c5)](),this[_0x4e55a1(0x30c)]['createInstance'](exports['ConflictState'],this[_0x4e55a1(0x34e)],this[_0x4e55a1(0x2ad)],this[_0x4e55a1(0x208)],[],this[_0x4e55a1(0x1ad)],_0x58c158);}[_0x10759f(0x32c)](_0x40f524,_0x38c0e8){var _0x4883ad=_0x10759f,_0x590cda;_0x40f524===((_0x590cda=this[_0x4883ad(0x208)])==null?void 0x0:_0x590cda[_0x4883ad(0x275)])&&(this[_0x4883ad(0x4d4)](),this[_0x4883ad(0x3fc)]=_0x38c0e8===0x0?0x3e8:_0x38c0e8*0x2);}['_clearScheduledTask'](){var _0x223e0d=_0x10759f,_0x226d13;(_0x226d13=this[_0x223e0d(0x45b)])==null||_0x226d13[_0x223e0d(0x364)](),this[_0x223e0d(0x3fc)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a['Inject'](a[_0x10759f(0x1b8)])),w(0x5,a[_0x10759f(0x1a7)](g['RevisionService'])),w(0x6,a[_0x10759f(0x4c4)]),w(0x7,a['ILogService']),w(0x8,g[_0x10759f(0x2c9)]),w(0x9,a[_0x10759f(0x488)]),w(0xa,a[_0x10759f(0x262)](z))],exports[_0x10759f(0x346)]),exports[_0x10759f(0x2a9)]=class extends he{constructor(_0x44f350,_0x57f17f,_0x2c0a7e,_0x54203e,_0x55e2df,_0x897d29,_0x28d704,_0x472610,_0x62de97,_0x16ff95,_0x1245e0,_0x4c7552,_0x218ab1){var _0x13d8da=_0x10759f;super(_0x44f350,_0x57f17f,_0x2c0a7e,_0x54203e,_0x55e2df,_0x62de97,_0x4c7552,_0x472610,_0x218ab1),P(this,_0x13d8da(0x419),'awaiting_with_pending'),P(this,_0x13d8da(0x3fc),0x0),P(this,'_resendTimer'),P(this,_0x13d8da(0x45b)),(this[_0x13d8da(0x30c)]=_0x28d704,this[_0x13d8da(0x297)]=_0x16ff95,this['_transformService']=_0x1245e0,this[_0x13d8da(0x22a)]=_0x218ab1,_0x897d29&&(this[_0x13d8da(0x475)]=_0x897d29,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x1a57d7,timeout:_0x5e20a2})=>{var _0x7cd1a0=_0x13d8da;this[_0x7cd1a0(0x32c)](_0x1a57d7,_0x5e20a2);})));}[_0x10759f(0x226)](_0x4f769e){var _0x220c76=_0x10759f;return this[_0x220c76(0x232)][_0x220c76(0x490)](_0x4f769e),this;}[_0x10759f(0x44e)](_0x393d6c){var _0x3c8043=_0x10759f;if(this[_0x3c8043(0x20b)](_0x393d6c))return this['_clearScheduledTask'](),this['_injector'][_0x3c8043(0x26a)](exports[_0x3c8043(0x211)],this['unitID'],this['type'],this[_0x3c8043(0x208)],this[_0x3c8043(0x232)],null,[_0x393d6c],this[_0x3c8043(0x1ad)]);try{const _0x5e4f91=this['_transformService'][_0x3c8043(0x2fc)]([_0x393d6c],[this[_0x3c8043(0x208)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x5e4f91)){const {c1Prime:_0x20f510,c2Prime:_0x165f0e}=_0x5e4f91,_0x3fb52f=this[_0x3c8043(0x432)][_0x3c8043(0x276)](_0x20f510[0x0],this[_0x3c8043(0x232)]);if(g[_0x3c8043(0x1e3)](_0x3fb52f)){const {c1Prime:_0x5fa291,m2Prime:_0x343169}=_0x3fb52f;return this['_executeRemoteChangeset'](_0x5fa291),_0x165f0e[0x0][_0x3c8043(0x41f)]=this[_0x3c8043(0x32d)](),this[_0x3c8043(0x4c5)](),this[_0x3c8043(0x30c)][_0x3c8043(0x26a)](exports[_0x3c8043(0x2a9)],this['unitID'],this[_0x3c8043(0x2ad)],_0x165f0e[0x0],_0x343169,this[_0x3c8043(0x1ad)],void 0x0);}throw _0x3fb52f[_0x3c8043(0x238)];}throw _0x5e4f91[_0x3c8043(0x238)];}catch(_0x1fa9cd){return this[_0x3c8043(0x297)][_0x3c8043(0x238)](_0x1fa9cd),this[_0x3c8043(0x219)](!0x1);}}[_0x10759f(0x40c)](_0x124fd4){var _0x13e00d=_0x10759f;if(this[_0x13e00d(0x4c5)](),this[_0x13e00d(0x20b)](_0x124fd4))return this[_0x13e00d(0x30c)][_0x13e00d(0x26a)](exports[_0x13e00d(0x211)],this['unitID'],this[_0x13e00d(0x2ad)],null,this[_0x13e00d(0x232)],this[_0x13e00d(0x208)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x164b77=this[_0x13e00d(0x30c)][_0x13e00d(0x26a)](exports[_0x13e00d(0x368)],this[_0x13e00d(0x34e)],this[_0x13e00d(0x2ad)],this[_0x13e00d(0x232)],this[_0x13e00d(0x1ad)]);return _0x164b77[_0x13e00d(0x318)](),_0x164b77[_0x13e00d(0x321)](),_0x164b77;}['onRemoteRej'](_0x863708){var _0x1cdbc8=_0x10759f;return this['_onConflict'](!!(_0x863708!=null&&_0x863708[_0x1cdbc8(0x292)]));}[_0x10759f(0x4e0)](_0x3825e3){var _0x3c7ada=_0x10759f;return this[_0x3c7ada(0x3fc)]>Nt?this['toggleOffline']():(this[_0x3c7ada(0x475)]=Ot(this['_resendTimeout'],{'timeout':this[_0x3c7ada(0x3fc)],'reqId':_0x3825e3['reqId']}),this[_0x3c7ada(0x45b)]=this[_0x3c7ada(0x475)][_0x3c7ada(0x49a)](({reqId:_0x1eb415,timeout:_0x49b014})=>{var _0x5b3762=_0x3c7ada;this[_0x5b3762(0x32c)](_0x1eb415,_0x49b014);}),this);}[_0x10759f(0x374)](){var _0x1cc069=_0x10759f;return this['_clearScheduledTask'](),this[_0x1cc069(0x30c)][_0x1cc069(0x26a)](exports[_0x1cc069(0x352)],this[_0x1cc069(0x34e)],this[_0x1cc069(0x2ad)],this[_0x1cc069(0x208)],this[_0x1cc069(0x232)],this[_0x1cc069(0x1ad)]);}['toggleOnline'](){return this;}[_0x10759f(0x4d4)](){var _0x5ce3bc=_0x10759f;this[_0x5ce3bc(0x1ad)][_0x5ce3bc(0x314)](this[_0x5ce3bc(0x208)]);}[_0x10759f(0x219)](_0xc2b027){var _0x58fd9f=_0x10759f;return this[_0x58fd9f(0x4c5)](),this[_0x58fd9f(0x30c)][_0x58fd9f(0x26a)](exports[_0x58fd9f(0x351)],this['unitID'],this[_0x58fd9f(0x2ad)],null,this[_0x58fd9f(0x232)],this[_0x58fd9f(0x1ad)],_0xc2b027);}['_resendWithTimeout'](_0xdd3928,_0x31c66f){var _0x184f6d=_0x10759f,_0x377a55;_0xdd3928===((_0x377a55=this[_0x184f6d(0x208)])==null?void 0x0:_0x377a55['reqId'])&&(this[_0x184f6d(0x4d4)](),this[_0x184f6d(0x3fc)]=_0x31c66f===0x0?0x3e8:_0x31c66f*0x2);}[_0x10759f(0x4c5)](){var _0x1d17ec=_0x10759f,_0x669dcf;(_0x669dcf=this[_0x1d17ec(0x45b)])==null||_0x669dcf[_0x1d17ec(0x364)](),this[_0x1d17ec(0x3fc)]=0x0;}},exports[_0x10759f(0x2a9)]=ce([w(0x6,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),w(0x7,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),w(0x8,a[_0x10759f(0x4c4)]),w(0x9,a[_0x10759f(0x45e)]),w(0xa,g[_0x10759f(0x2c9)]),w(0xb,a[_0x10759f(0x488)]),w(0xc,a[_0x10759f(0x262)](z))],exports[_0x10759f(0x2a9)]),exports[_0x10759f(0x351)]=class extends he{constructor(_0x91417c,_0x482158,_0x3ca027,_0x5db4c2,_0x5c58dc,_0x5c976e=!0x1,_0x2202fd,_0xb29669,_0x95dc9a,_0x57a5c5,_0x48c28b,_0x568ce0,_0x18327e){var _0x8df028=_0x10759f;super(_0x91417c,_0x482158,_0x3ca027,_0x5db4c2,_0x5c58dc,_0xb29669,_0x95dc9a,_0x57a5c5,_0x18327e),P(this,_0x8df028(0x419),_0x8df028(0x340)),(this[_0x8df028(0x4bf)]=_0x5c976e,this[_0x8df028(0x28a)]=_0x2202fd,this[_0x8df028(0x42a)]=_0x48c28b,this[_0x8df028(0x1e2)]=_0x568ce0,this[_0x8df028(0x22a)]=_0x18327e,this[_0x8df028(0x243)](),this['_clearLocalCache'](),this[_0x8df028(0x464)]());}[_0x10759f(0x226)](){return this;}['onRemoteChangeset'](){return this;}[_0x10759f(0x40c)](){return this;}[_0x10759f(0x343)](){return this;}[_0x10759f(0x4e0)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x10759f(0x4d4)](){var _0x45c6ac=_0x10759f;throw new Error(_0x45c6ac(0x465));}[_0x10759f(0x277)](){var _0x3b4002=_0x10759f,_0x4fef63;(_0x4fef63=this['_localCacheService'])==null||_0x4fef63[_0x3b4002(0x3e4)](this['unitID'],this[_0x3b4002(0x2ad)],null,[]);}[_0x10759f(0x243)](){var _0x41a202=_0x10759f;this[_0x41a202(0x4bf)]?this[_0x41a202(0x1e2)][_0x41a202(0x325)]({'id':Q['PERMISSION_DENIED']}):this[_0x41a202(0x1e2)][_0x41a202(0x325)]({'id':Q[_0x41a202(0x2f8)]});}[_0x10759f(0x464)](){var _0x312c47=_0x10759f;this[_0x312c47(0x28a)][_0x312c47(0x29f)](new Z[(_0x312c47(0x348))](this[_0x312c47(0x34e)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a['Inject'](a[_0x10759f(0x4ba)])),w(0x7,a[_0x10759f(0x4c4)]),w(0x8,a[_0x10759f(0x488)]),w(0x9,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),w(0xa,a[_0x10759f(0x1a7)](a['LocaleService'])),w(0xb,a['Inject'](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x10759f(0x352)]=class extends he{constructor(_0x4c74c7,_0x313611,_0x4e42e0,_0x119c27,_0x3613c9,_0x2b3335,_0x34dda7,_0x21a2dc,_0x368730,_0x2c8dce){var _0x1fb5e5=_0x10759f;super(_0x4c74c7,_0x313611,_0x4e42e0,_0x119c27,_0x3613c9,_0x21a2dc,_0x368730,_0x34dda7,_0x2c8dce),P(this,_0x1fb5e5(0x419),_0x1fb5e5(0x39b)),this['_injector']=_0x2b3335;}[_0x10759f(0x226)](_0x2f7dd1){var _0x2bb533=_0x10759f;return this['_pendingMutations']['push'](_0x2f7dd1),this[_0x2bb533(0x321)](),this;}[_0x10759f(0x44e)](_0xa5d770){var _0x4d8945=_0x10759f;throw new Error(_0x4d8945(0x33a));}[_0x10759f(0x40c)](){var _0x1b1495=_0x10759f;throw new Error(_0x1b1495(0x3d8));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x10759f(0x4e0)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x4da68f=_0x10759f;const {_injector:_0x4e08e4,_pendingMutations:_0x1b1f5f,_awaitingChangeset:_0x330cae,unitID:_0x2b101a,_handler:_0xdd7d75,type:_0x111df8}=this,_0x2f0419=Dt(_0x4e08e4,_0x2b101a,_0x111df8,_0x330cae,_0x1b1f5f,_0xdd7d75);return _0x2f0419 instanceof exports[_0x4da68f(0x368)]?_0x2f0419[_0x4da68f(0x318)]():(_0x2f0419 instanceof exports['AwaitingWithPendingState']||_0x2f0419 instanceof exports['AwaitingState'])&&_0x2f0419[_0x4da68f(0x4d4)](),_0x2f0419;}[_0x10759f(0x4d4)](){var _0x532caf=_0x10759f;throw new Error(_0x532caf(0x4d2));}},exports[_0x10759f(0x352)]=ce([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),w(0x7,a[_0x10759f(0x4c4)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x10759f(0x262)](z))],exports['OfflineState']),exports[_0x10759f(0x211)]=class extends he{constructor(_0x5508e2,_0x1f0b5c,_0x14bf5f,_0x50b15a,_0x3922ac,_0x92e0fa,_0x13288f,_0x319743,_0x210fe1,_0x36c9e7,_0x6d12c0,_0x10f9d4,_0x2b57ce,_0x567bcc){var _0x5bad1e=_0x10759f;super(_0x5508e2,_0x1f0b5c,_0x14bf5f,_0x50b15a,_0x13288f,_0x6d12c0,_0x10f9d4,_0x210fe1,_0x567bcc),P(this,_0x5bad1e(0x419),'fetch_missing'),(this[_0x5bad1e(0x3db)]=_0x3922ac,this[_0x5bad1e(0x212)]=_0x92e0fa,this[_0x5bad1e(0x30c)]=_0x319743,this['_logService']=_0x36c9e7,this[_0x5bad1e(0x432)]=_0x2b57ce,this[_0x5bad1e(0x22a)]=_0x567bcc);}[_0x10759f(0x2f1)](_0x3f3461){var _0x598e1c=_0x10759f;try{const _0x3ce92f=[..._0x3f3461,...this[_0x598e1c(0x212)]],_0x19b330=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x598e1c(0x26e)](_0x752751=>!!_0x752751);let _0x23e28a,_0x40249a;if(_0x19b330[_0x598e1c(0x36b)]){const _0x34afdd=this[_0x598e1c(0x432)][_0x598e1c(0x2fc)](_0x3ce92f,_0x19b330,!0x1);if(!g['isTransformChangesetsSuccess'](_0x34afdd))throw _0x34afdd[_0x598e1c(0x238)];_0x23e28a=_0x34afdd[_0x598e1c(0x316)],_0x40249a=_0x34afdd['c2Prime'];}else _0x23e28a=_0x3ce92f,_0x40249a=[];let _0x5a21e3=this[_0x598e1c(0x232)];_0x23e28a[_0x598e1c(0x4a1)](_0x12ef71=>{var _0x55a3c8=_0x598e1c;let _0x106be6;if(_0x5a21e3[_0x55a3c8(0x36b)]){const _0x55c7e8=this[_0x55a3c8(0x432)]['transformMutationsWithChangeset'](_0x12ef71,_0x5a21e3);if(!g[_0x55a3c8(0x1e3)](_0x55c7e8))throw _0x55c7e8['error'];_0x106be6=_0x55c7e8['c1Prime'],_0x5a21e3=_0x55c7e8['m2Prime'];}else _0x106be6=_0x12ef71;this['_executeRemoteChangeset'](_0x106be6);}),this[_0x598e1c(0x3db)]&&this[_0x598e1c(0x1bc)](),this[_0x598e1c(0x208)]&&_0x40249a[_0x598e1c(0x36b)]&&(_0x40249a[0x0]['baseRev']=this['_getCurrentRevision']());let _0x242605;if(this[_0x598e1c(0x208)]&&_0x5a21e3[_0x598e1c(0x36b)]!==0x0)_0x242605=this['_injector'][_0x598e1c(0x26a)](exports[_0x598e1c(0x2a9)],this[_0x598e1c(0x34e)],this[_0x598e1c(0x2ad)],_0x40249a[0x0],_0x5a21e3,this[_0x598e1c(0x1ad)],void 0x0);else{if(this[_0x598e1c(0x208)]&&_0x5a21e3['length']===0x0)_0x40249a[0x0][_0x598e1c(0x41f)]=this['_getCurrentRevision'](),_0x242605=this[_0x598e1c(0x30c)][_0x598e1c(0x26a)](exports[_0x598e1c(0x346)],this[_0x598e1c(0x34e)],this[_0x598e1c(0x2ad)],_0x40249a[0x0],this[_0x598e1c(0x1ad)]);else{if(_0x5a21e3[_0x598e1c(0x36b)]!==0x0){const _0x39a50f=this[_0x598e1c(0x30c)][_0x598e1c(0x26a)](exports[_0x598e1c(0x368)],this[_0x598e1c(0x34e)],this[_0x598e1c(0x2ad)],_0x5a21e3,this[_0x598e1c(0x1ad)]);_0x39a50f[_0x598e1c(0x318)](),_0x242605=_0x39a50f;}else _0x242605=this[_0x598e1c(0x30c)][_0x598e1c(0x26a)](exports[_0x598e1c(0x24c)],this[_0x598e1c(0x34e)],this[_0x598e1c(0x2ad)],this[_0x598e1c(0x1ad)]);}}return _0x242605[_0x598e1c(0x321)](),_0x242605;}catch(_0x1b1038){return this[_0x598e1c(0x297)]['error'](_0x598e1c(0x1c2),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1b1038),this[_0x598e1c(0x30c)][_0x598e1c(0x26a)](exports[_0x598e1c(0x351)],this[_0x598e1c(0x34e)],this['type'],this['_awaitingChangeset'],this[_0x598e1c(0x232)],this[_0x598e1c(0x1ad)],!0x1);}}[_0x10759f(0x4d4)](){var _0x10f92a=_0x10759f;throw new Error(_0x10f92a(0x1f6));}['appendMutation'](_0x96eea7){var _0x1ca4a2=_0x10759f;return this[_0x1ca4a2(0x232)][_0x1ca4a2(0x490)](_0x96eea7),this;}[_0x10759f(0x44e)](_0x3864ac){var _0xe0cef6=_0x10759f;return this[_0xe0cef6(0x212)]['push'](_0x3864ac),this;}['onRemoteAck'](_0x4307e6){var _0x12e463=_0x10759f;if(this[_0x12e463(0x208)])return this[_0x12e463(0x3db)]=this['_awaitingChangeset'],this[_0x12e463(0x208)]=null,this;throw new Error(_0x12e463(0x403));}[_0x10759f(0x343)](_0xa54500){var _0x395e35=_0x10759f;return this[_0x395e35(0x219)](!!(_0xa54500!=null&&_0xa54500[_0x395e35(0x292)]));}[_0x10759f(0x4e0)](){return this;}[_0x10759f(0x374)](){var _0x2ac9ec=_0x10759f;return this[_0x2ac9ec(0x30c)][_0x2ac9ec(0x26a)](exports[_0x2ac9ec(0x352)],this['unitID'],this[_0x2ac9ec(0x2ad)],this['_awaitingChangeset'],this[_0x2ac9ec(0x232)],this[_0x2ac9ec(0x1ad)]);}['toggleOnline'](){return this;}['_onConflict'](_0xd9bc54){var _0x51db20=_0x10759f;return this[_0x51db20(0x30c)][_0x51db20(0x26a)](exports[_0x51db20(0x351)],this[_0x51db20(0x34e)],this[_0x51db20(0x2ad)],this[_0x51db20(0x208)],this[_0x51db20(0x232)],this[_0x51db20(0x1ad)],_0xd9bc54);}},exports['FetchingMissState']=ce([w(0x7,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),w(0x8,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),w(0x9,a[_0x10759f(0x45e)]),w(0xa,a[_0x10759f(0x4c4)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x10759f(0x2c9)]),w(0xd,a['Optional'](z))],exports[_0x10759f(0x211)]);function Dt(_0xaa2a7c,_0x5a01e,_0x2d445d,_0x4e35ad,_0x1ecd15,_0x47155a){var _0x1eaa5f=_0x10759f;return _0x4e35ad&&_0x1ecd15[_0x1eaa5f(0x36b)]?_0xaa2a7c['createInstance'](exports['AwaitingWithPendingState'],_0x5a01e,_0x2d445d,_0x4e35ad,_0x1ecd15,_0x47155a,void 0x0):_0x4e35ad?_0xaa2a7c[_0x1eaa5f(0x26a)](exports[_0x1eaa5f(0x346)],_0x5a01e,_0x2d445d,_0x4e35ad,_0x47155a):_0x1ecd15['length']?_0xaa2a7c[_0x1eaa5f(0x26a)](exports[_0x1eaa5f(0x368)],_0x5a01e,_0x2d445d,_0x1ecd15,_0x47155a):_0xaa2a7c['createInstance'](exports[_0x1eaa5f(0x24c)],_0x5a01e,_0x2d445d,_0x47155a);}var Ci=Object[_0x10759f(0x273)],Ge=(_0x51a956,_0x225682,_0x5ae02b,_0x482423)=>{var _0x3b77ba=_0x10759f;for(var _0x310211=_0x482423>0x1?void 0x0:_0x482423?Ci(_0x225682,_0x5ae02b):_0x225682,_0x51546f=_0x51a956[_0x3b77ba(0x36b)]-0x1,_0x204cb8;_0x51546f>=0x0;_0x51546f--)(_0x204cb8=_0x51a956[_0x51546f])&&(_0x310211=_0x204cb8(_0x310211)||_0x310211);return _0x310211;},$=(_0x2c1300,_0x3f91ff)=>(_0x1f1f45,_0x368156)=>_0x3f91ff(_0x1f1f45,_0x368156,_0x2c1300);exports[_0x10759f(0x426)]=class extends a['RxDisposable']{constructor(_0x4cf44d,_0x1a76cf,_0x5b8019,_0x552d3e,_0x8f4cac,_0x4e033c,_0x2ee62a,_0x55493f,_0x176b44,_0x441969,_0x212c02,_0x5a837f,_0xa111fb){var _0x12df9e=_0x10759f;super(),P(this,_0x12df9e(0x279),new j['BehaviorSubject'](null)),P(this,_0x12df9e(0x258),this[_0x12df9e(0x279)][_0x12df9e(0x2d6)]()),P(this,_0x12df9e(0x282)),P(this,_0x12df9e(0x2f2),!0x1),P(this,_0x12df9e(0x18b),''),P(this,_0x12df9e(0x48b),0x0),P(this,'status$',this[_0x12df9e(0x258)][_0x12df9e(0x191)](j['map'](_0xe1d35b=>_0xe1d35b?_0xe1d35b[_0x12df9e(0x419)]:We[_0x12df9e(0x3f0)]),j[_0x12df9e(0x216)](0x1))),P(this,_0x12df9e(0x451),!0x1),P(this,_0x12df9e(0x4bd),[]),(this[_0x12df9e(0x34e)]=_0x4cf44d,this['session']=_0x1a76cf,this[_0x12df9e(0x1a8)]=_0x5b8019,this[_0x12df9e(0x30c)]=_0x552d3e,this[_0x12df9e(0x49d)]=_0x8f4cac,this[_0x12df9e(0x42a)]=_0x4e033c,this[_0x12df9e(0x27b)]=_0x2ee62a,this[_0x12df9e(0x23a)]=_0x55493f,this[_0x12df9e(0x297)]=_0x176b44,this[_0x12df9e(0x201)]=_0x441969,this['_permissionService']=_0x212c02,this[_0x12df9e(0x3b0)]=_0x5a837f,this[_0x12df9e(0x295)]=_0xa111fb);}get[_0x10759f(0x356)](){var _0x1cb90d=_0x10759f;return this[_0x1cb90d(0x282)];}async[_0x10759f(0x376)](){var _0x14d768=_0x10759f;if(this[_0x14d768(0x356)])throw new Error(_0x14d768(0x2fd));await this[_0x14d768(0x17f)]();}['pauseCollaboration'](){var _0x267473=_0x10759f;return this[_0x267473(0x2f2)]=!0x0,a[_0x267473(0x34b)](()=>{var _0x485abe=_0x267473;this[_0x485abe(0x2f2)]=!0x1,this[_0x485abe(0x1ae)]();});}['onLocalMutation'](_0x228996){var _0x403c1f=_0x10759f;this[_0x403c1f(0x416)](_0x228996);}[_0x10759f(0x43c)](_0x2e2cd0){var _0x485377=_0x10759f;this['_state']=_0x2e2cd0,this[_0x485377(0x279)][_0x485377(0x326)](_0x2e2cd0);}async[_0x10759f(0x17f)](){var _0x36bf13=_0x10759f,_0x49b57d;this['_updateState'](await this['_createInitialState']()),this[_0x36bf13(0x3b0)]&&((_0x49b57d=this['_singleActiveUnitService'])==null||_0x49b57d[_0x36bf13(0x26b)](this[_0x36bf13(0x34e)]),this[_0x36bf13(0x1d1)](this[_0x36bf13(0x3b0)][_0x36bf13(0x18e)](this['unitID'])['subscribe'](_0x11bdd1=>{var _0x57f807=_0x36bf13;this[_0x57f807(0x297)][_0x57f807(0x3c5)]('[CollaborationEntity]',_0x57f807(0x48f),_0x11bdd1),_0x11bdd1===Fe['OTHER_CLIENTS_EDITING']?(this[_0x57f807(0x23a)][_0x57f807(0x325)]({'id':Q[_0x57f807(0x41d)]}),this[_0x57f807(0x28a)]['updatePermissionPoint'](new Z[(_0x57f807(0x348))](this[_0x57f807(0x34e)])['id'],!0x1),this[_0x57f807(0x28a)][_0x57f807(0x390)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x57f807(0x348))](this['unitID'])['id'],!0x0),this[_0x57f807(0x28a)][_0x57f807(0x390)](!0x0));})));let _0x4bf702=!0x1;return this[_0x36bf13(0x1d1)](this[_0x36bf13(0x436)][_0x36bf13(0x27e)][_0x36bf13(0x49a)](_0x3f7cf8=>{var _0x9b9a12=_0x36bf13;_0x3f7cf8===se['ONLINE']?this[_0x9b9a12(0x478)](_0x4bf702):_0x3f7cf8===se[_0x9b9a12(0x3f0)]&&(_0x4bf702=!0x0,this['_toggleOffline']());})),this[_0x36bf13(0x1d1)](this[_0x36bf13(0x436)]['event$'][_0x36bf13(0x49a)](_0x3661e0=>{var _0x48b16a=_0x36bf13;try{switch(_0x3661e0[_0x48b16a(0x3fe)]){case g['CollaborationEvent'][_0x48b16a(0x320)]:{this[_0x48b16a(0x2bc)](g[_0x48b16a(0x179)](_0x3661e0[_0x48b16a(0x472)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x48b16a(0x350)](_0x3661e0[_0x48b16a(0x472)]);break;}case g['CollaborationEvent']['CHANGESET_REJ']:{this[_0x48b16a(0x43a)]();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x48b16a(0x3d5)](_0x3661e0['data']);break;}case g[_0x48b16a(0x2ac)][_0x48b16a(0x308)]:{this[_0x48b16a(0x2f4)](_0x3661e0[_0x48b16a(0x472)][_0x48b16a(0x443)]['map'](_0x381854=>g[_0x48b16a(0x179)](_0x381854)));break;}case g[_0x48b16a(0x2ac)][_0x48b16a(0x347)]:{this[_0x48b16a(0x43a)]({'isPermissionRej':!0x0});break;}case g[_0x48b16a(0x2ac)][_0x48b16a(0x2f9)]:break;}}catch(_0x47770d){throw console[_0x48b16a(0x238)](_0x48b16a(0x303),_0x47770d),_0x47770d;}})),this['_state'];}[_0x10759f(0x2bd)](){var _0x22d00f=_0x10759f;this[_0x22d00f(0x451)]=!0x1;}[_0x10759f(0x3f4)](){var _0x285e75=_0x10759f;if(this['_transitionLocked'])throw new Error(_0x285e75(0x192));this[_0x285e75(0x451)]=!0x0;}[_0x10759f(0x416)](_0x1f499c){var _0x2a06d6=_0x10759f;this[_0x2a06d6(0x3f4)](),this[_0x2a06d6(0x43c)](this[_0x2a06d6(0x282)][_0x2a06d6(0x226)](_0x1f499c)),this[_0x2a06d6(0x2bd)]();}['_onRemoteChangeset'](_0x15bc60){var _0x57ff58=_0x10759f;if(!(_0x15bc60[_0x57ff58(0x357)]<=this[_0x57ff58(0x27b)][_0x57ff58(0x2a2)](this[_0x57ff58(0x34e)]))){if(this['_collaborationPaused']){this[_0x57ff58(0x4bd)][_0x57ff58(0x490)](_0x15bc60);return;}this[_0x57ff58(0x20f)](_0x15bc60);}}[_0x10759f(0x1ae)](){var _0x45f310=_0x10759f;this[_0x45f310(0x4bd)][_0x45f310(0x4a1)](_0xaf2cdb=>this[_0x45f310(0x20f)](_0xaf2cdb)),this['_remoteChangesetQueue']=[];}[_0x10759f(0x20f)](_0x3ed487){var _0x377e61=_0x10759f;const _0x84ec2b=this[_0x377e61(0x49d)][_0x377e61(0x1e8)][_0x377e61(0x35d)](this[_0x377e61(0x49d)][_0x377e61(0x1e8)]['getInterceptPoints']()[_0x377e61(0x2dd)])(_0x3ed487[_0x377e61(0x474)],null)||_0x3ed487[_0x377e61(0x474)],_0x5903ce={..._0x3ed487,'mutations':_0x84ec2b};this[_0x377e61(0x3f4)](),this['_updateState'](this[_0x377e61(0x282)][_0x377e61(0x44e)](_0x5903ce)),this[_0x377e61(0x2bd)]();}[_0x10759f(0x350)](_0xa2091f){var _0x4d9931=_0x10759f;this['_lockTransition'](),this['_updateState'](this[_0x4d9931(0x282)]['onRemoteAck'](_0xa2091f)),this[_0x4d9931(0x2bd)]();}['_onRemoteRejected'](_0x39648c){var _0x31c333=_0x10759f;this[_0x31c333(0x3f4)](),this['_updateState'](this[_0x31c333(0x282)][_0x31c333(0x343)](_0x39648c)),this[_0x31c333(0x2bd)]();}['_onRemoteRetry'](_0x50b112){var _0x5244bd=_0x10759f;this[_0x5244bd(0x3f4)](),this[_0x5244bd(0x43c)](this[_0x5244bd(0x282)][_0x5244bd(0x4e0)](_0x50b112)),this[_0x5244bd(0x2bd)]();}['_onFetchMissResult'](_0x4cab96){var _0x5179f7=_0x10759f;if(!(this['_state']instanceof exports[_0x5179f7(0x211)]))throw new TypeError(_0x5179f7(0x398));const _0x2db5d8=_0x4cab96[_0x5179f7(0x18c)](_0x47c8ae=>{var _0x4b2f9c=_0x5179f7;const _0x2c08b8=this['_compressMutationService'][_0x4b2f9c(0x1e8)][_0x4b2f9c(0x35d)](this['_compressMutationService'][_0x4b2f9c(0x1e8)][_0x4b2f9c(0x435)]()['COMPRESS_MUTATION_APPLY'])(_0x47c8ae[_0x4b2f9c(0x474)],null)||_0x47c8ae[_0x4b2f9c(0x474)];return{..._0x47c8ae,'mutations':_0x2c08b8};});this[_0x5179f7(0x3f4)](),this[_0x5179f7(0x43c)](this['_state'][_0x5179f7(0x2f1)](_0x2db5d8)),this[_0x5179f7(0x2bd)]();}[_0x10759f(0x480)](){var _0x305778=_0x10759f;this[_0x305778(0x3f4)](),this[_0x305778(0x43c)](this[_0x305778(0x282)]['toggleOffline']()),this['_unlockTransition']();}[_0x10759f(0x478)](_0x58b894=!0x1){var _0x58a65c=_0x10759f;this['_lockTransition'](),this[_0x58a65c(0x43c)](this['_state']['toggleOnline']()),this[_0x58a65c(0x2bd)]();const _0x43ec19=this[_0x58a65c(0x282)];_0x58b894&&_0x43ec19 instanceof exports[_0x58a65c(0x24c)]&&(this[_0x58a65c(0x3f4)](),this[_0x58a65c(0x43c)](_0x43ec19[_0x58a65c(0x328)]()),this[_0x58a65c(0x2bd)]());}async['_createInitialState'](){return new Promise(_0x2285a6=>{var _0x45500e=_0x3e40;this['session'][_0x45500e(0x27e)][_0x45500e(0x191)](j[_0x45500e(0x2a0)](0x1))[_0x45500e(0x49a)](async _0x55a607=>{var _0xe40e63=_0x45500e;_0x2285a6(await this[_0xe40e63(0x23f)](_0x55a607===se['ONLINE']));});});}[_0x10759f(0x4ca)](){var _0x39f609=_0x10759f;const _0x15a987=this[_0x39f609(0x34e)];return{'onStateChange':(_0x426d42,_0x304b70)=>{var _0x398ab5=_0x39f609;if(_0x426d42!==this['_state'])throw new Error(_0x398ab5(0x330)+_0x426d42[_0x398ab5(0x419)]+'\x0aAfter:\x20'+_0x304b70['status']+_0x398ab5(0x39d)+this['_state']['status']);this['_updateState'](_0x304b70);},'onSendChangeset':_0x1dc357=>{var _0x2fa64e=_0x39f609;_0x1dc357[_0x2fa64e(0x28e)]||(_0x1dc357[_0x2fa64e(0x28e)]=this['_changesetSessionId'],_0x1dc357[_0x2fa64e(0x275)]=++this[_0x2fa64e(0x48b)]);const _0x36b3b1={'eventID':g[_0x2fa64e(0x2ac)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1dc357[_0x2fa64e(0x34e)],'unitType':this[_0x2fa64e(0x1a8)],'changeset':_0x1dc357,'memberID':this[_0x2fa64e(0x436)]['getMemberID']()}};this['session']['send'](_0x36b3b1,this[_0x2fa64e(0x34e)]);},'onMissingChangesets':({from:_0x45d49b,to:_0x5aae3f})=>{var _0x2b95ab=_0x39f609;this[_0x2b95ab(0x297)][_0x2b95ab(0x3c5)](_0x2b95ab(0x1ef),_0x2b95ab(0x3f6)+_0x45d49b+_0x2b95ab(0x37c)+_0x5aae3f);const _0x16d69a={'eventID':g[_0x2b95ab(0x2ac)][_0x2b95ab(0x425)],'data':{'unitID':_0x15a987,'unitType':this['_type'],'from':_0x45d49b,'to':_0x5aae3f}};this[_0x2b95ab(0x436)][_0x2b95ab(0x406)](_0x16d69a,this[_0x2b95ab(0x34e)]);}};}async[_0x10759f(0x23f)](_0x297719){var _0x568292=_0x10759f,_0x62128b,_0xc3f1a5,_0x2f7886;const _0x374875=await((_0x62128b=this[_0x568292(0x295)])==null?void 0x0:_0x62128b[_0x568292(0x17c)](this[_0x568292(0x34e)])),_0x82bc42=(_0xc3f1a5=_0x374875==null?void 0x0:_0x374875[_0x568292(0x474)])!=null?_0xc3f1a5:[],_0x1fe08c=(_0x2f7886=_0x374875==null?void 0x0:_0x374875[_0x568292(0x2f5)])!=null?_0x2f7886:null,_0x5ba234=!!(_0x1fe08c!=null&&_0x1fe08c[_0x568292(0x28e)])&&!!(_0x1fe08c!=null&&_0x1fe08c[_0x568292(0x275)]);this['_changesetSessionId']=_0x5ba234?_0x1fe08c['sid']:di(),this[_0x568292(0x48b)]=_0x5ba234?_0x1fe08c[_0x568292(0x275)]:0x0;const _0x30718f=this['unitID'];try{this[_0x568292(0x3b1)](_0x1fe08c,_0x82bc42);}catch(_0x17d858){this[_0x568292(0x297)][_0x568292(0x238)](_0x17d858);}const _0x1ea696=this['_createHandler']();if(_0x297719){const _0x1e96fb=Dt(this[_0x568292(0x30c)],_0x30718f,this['_type'],_0x1fe08c,_0x82bc42,_0x1ea696);return _0x1e96fb instanceof exports[_0x568292(0x368)]?_0x1e96fb[_0x568292(0x318)]():(_0x1e96fb instanceof exports['AwaitingWithPendingState']||_0x1e96fb instanceof exports[_0x568292(0x346)])&&_0x1e96fb['resend'](),_0x1e96fb;}return this[_0x568292(0x30c)][_0x568292(0x26a)](exports[_0x568292(0x352)],_0x30718f,this[_0x568292(0x1a8)],_0x1fe08c,_0x82bc42,_0x1ea696);}[_0x10759f(0x3b1)](_0x13620c,_0xacb055){var _0x2fd320=_0x10759f,_0x30d033,_0x389df4;const _0x22bd8d=this[_0x2fd320(0x49d)]['interceptor'][_0x2fd320(0x35d)](this[_0x2fd320(0x49d)]['interceptor'][_0x2fd320(0x435)]()[_0x2fd320(0x2dd)]);(_0x30d033=_0x22bd8d((_0x13620c==null?void 0x0:_0x13620c[_0x2fd320(0x474)])||[],null))==null||_0x30d033[_0x2fd320(0x4a1)](_0x3ab81c=>this[_0x2fd320(0x201)][_0x2fd320(0x1cb)](_0x3ab81c['id'],_0x3ab81c[_0x2fd320(0x1fd)])),(_0x389df4=_0x22bd8d(_0xacb055||[],null))==null||_0x389df4['forEach'](_0x3ee32d=>this[_0x2fd320(0x201)][_0x2fd320(0x1cb)](_0x3ee32d['id'],_0x3ee32d[_0x2fd320(0x1fd)]));}},exports['CollaborationEntity']=Ge([$(0x3,a['Inject'](a[_0x10759f(0x1b8)])),$(0x4,a['Inject'](g[_0x10759f(0x176)])),$(0x5,a[_0x10759f(0x1a7)](a[_0x10759f(0x2e3)])),$(0x6,a['Inject'](g[_0x10759f(0x412)])),$(0x7,a[_0x10759f(0x1a7)](te)),$(0x8,a[_0x10759f(0x45e)]),$(0x9,a[_0x10759f(0x4c4)]),$(0xa,a[_0x10759f(0x4ba)]),$(0xb,a[_0x10759f(0x262)](ve)),$(0xc,a[_0x10759f(0x262)](z))],exports['CollaborationEntity']),exports[_0x10759f(0x230)]=class extends exports[_0x10759f(0x426)]{constructor(_0x1697a1,_0x2754d6,_0x514df7,_0x4cd0a1,_0x3c87c8,_0x3c3025,_0x5089f9,_0x2719ae,_0x1540bd,_0x2089ae,_0x42652a,_0x467ba8,_0x353f6c){var _0x35e7e3=_0x10759f;super(_0x1697a1,_0x514df7,_0x2754d6,_0x4cd0a1,_0x3c87c8,_0x3c3025,_0x5089f9,_0x2719ae,_0x1540bd,_0x2089ae,_0x42652a,_0x467ba8,_0x353f6c),P(this,'_handlerCallback',null),(this[_0x35e7e3(0x34e)]=_0x1697a1,this[_0x35e7e3(0x2ad)]=_0x2754d6);}[_0x10759f(0x1dc)](_0x524650){var _0x164142=_0x10759f;this[_0x164142(0x3e7)]=_0x524650;}[_0x10759f(0x250)](){var _0x116785=_0x10759f;this[_0x116785(0x3e7)]=null,super[_0x116785(0x250)]();}['_createHandler'](){var _0x18ceae=_0x10759f;const _0x56e4b0=super[_0x18ceae(0x4ca)]();return _0x56e4b0['onTransformIME']=_0x1b721c=>{var _0xdd721c=_0x18ceae,_0xdae76a,_0x29e653;return(_0x29e653=(_0xdae76a=this[_0xdd721c(0x3e7)])==null?void 0x0:_0xdae76a[_0xdd721c(0x222)])==null?void 0x0:_0x29e653['call'](_0xdae76a,_0x1b721c);},_0x56e4b0['onTransformState']=_0x569639=>{var _0x429095=_0x18ceae,_0x71bb85,_0x473779;return(_0x473779=(_0x71bb85=this[_0x429095(0x3e7)])==null?void 0x0:_0x71bb85['onTransformState'])==null?void 0x0:_0x473779['call'](_0x71bb85,_0x569639);},_0x56e4b0[_0x18ceae(0x241)]=_0x375cf2=>{var _0x4722c1=_0x18ceae,_0x424dee,_0x2f69d7;return(_0x2f69d7=(_0x424dee=this[_0x4722c1(0x3e7)])==null?void 0x0:_0x424dee[_0x4722c1(0x241)])==null?void 0x0:_0x2f69d7[_0x4722c1(0x2b4)](_0x424dee,_0x375cf2);},_0x56e4b0[_0x18ceae(0x31f)]=_0x2bd6ec=>{var _0x2515c1=_0x18ceae,_0x3a9a3c,_0x36e4cb;return(_0x36e4cb=(_0x3a9a3c=this['_handlerCallback'])==null?void 0x0:_0x3a9a3c['onSyncEditingCollabCursor'])==null?void 0x0:_0x36e4cb[_0x2515c1(0x2b4)](_0x3a9a3c,_0x2bd6ec);},_0x56e4b0[_0x18ceae(0x48e)]=_0x27520a=>{var _0x2ff93b=_0x18ceae,_0x5baef2,_0x25ee43,_0x2947d7;if(!((_0x5baef2=this[_0x2ff93b(0x3e7)])!=null&&_0x5baef2['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2ff93b(0x4d1));return(_0x2947d7=(_0x25ee43=this[_0x2ff93b(0x3e7)])==null?void 0x0:_0x25ee43[_0x2ff93b(0x48e)])==null?void 0x0:_0x2947d7[_0x2ff93b(0x2b4)](_0x25ee43,_0x27520a);},_0x56e4b0[_0x18ceae(0x266)]=_0x22184e=>{var _0x3a1a54=_0x18ceae,_0x590400,_0x2b12c7,_0x439f2e;if(!((_0x590400=this[_0x3a1a54(0x3e7)])!=null&&_0x590400[_0x3a1a54(0x266)]))throw new Error(_0x3a1a54(0x1af));return(_0x439f2e=(_0x2b12c7=this['_handlerCallback'])==null?void 0x0:_0x2b12c7[_0x3a1a54(0x266)])==null?void 0x0:_0x439f2e[_0x3a1a54(0x2b4)](_0x2b12c7,_0x22184e);},_0x56e4b0;}async[_0x10759f(0x17f)](){var _0x1a1775=_0x10759f;const _0x420ccc=await super['_init']();return this[_0x1a1775(0x1d1)](this['_commandService'][_0x1a1775(0x291)]((_0x1194c0,_0x3442a6)=>{var _0x3221d0=_0x1a1775;if(_0x1194c0[_0x3221d0(0x2ad)]!==a['CommandType'][_0x3221d0(0x4de)]||_0x3442a6!=null&&_0x3442a6[_0x3221d0(0x2bb)]||_0x3442a6!=null&&_0x3442a6[_0x3221d0(0x2b3)]||_0x1194c0['id']===ut[_0x3221d0(0x361)]['id'])return;const _0x394729=_0x1194c0['params'];if((_0x394729==null?void 0x0:_0x394729[_0x3221d0(0x380)])!==this[_0x3221d0(0x34e)])return;const _0x124a4e=_0x1194c0,_0x5a6dbf=this[_0x3221d0(0x49d)][_0x3221d0(0x1e8)][_0x3221d0(0x35d)](this[_0x3221d0(0x49d)][_0x3221d0(0x1e8)][_0x3221d0(0x435)]()[_0x3221d0(0x3cf)])([_0x124a4e],null)||[_0x124a4e];this[_0x3221d0(0x416)](_0x5a6dbf[0x0]);})),_0x420ccc;}},exports[_0x10759f(0x230)]=Ge([$(0x3,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),$(0x4,a[_0x10759f(0x1a7)](g[_0x10759f(0x176)])),$(0x5,a[_0x10759f(0x1a7)](a[_0x10759f(0x2e3)])),$(0x6,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),$(0x7,a[_0x10759f(0x1a7)](te)),$(0x8,a[_0x10759f(0x45e)]),$(0x9,a[_0x10759f(0x4c4)]),$(0xa,a[_0x10759f(0x4ba)]),$(0xb,a[_0x10759f(0x262)](ve)),$(0xc,a[_0x10759f(0x262)](z))],exports['DocCollaborationEntity']),exports[_0x10759f(0x1f2)]=class extends exports[_0x10759f(0x426)]{constructor(_0x12bada,_0x2acf19,_0x1ab263,_0x46d8db,_0x25fe59,_0x2a56cc,_0x4626ec,_0x4cd80d,_0x5d74d8,_0xbfb6ee,_0x332ca0,_0x2f7b3e,_0x5490b9,_0x1ca7ad){var _0x1745f3=_0x10759f;super(_0x12bada,_0x1ab263,_0x2acf19,_0x46d8db,_0x25fe59,_0x2a56cc,_0x4626ec,_0x5d74d8,_0xbfb6ee,_0x332ca0,_0x2f7b3e,_0x5490b9,_0x1ca7ad),this['unitID']=_0x12bada,this['type']=_0x2acf19,this[_0x1745f3(0x38e)]=_0x4cd80d;}['_createHandler'](){var _0x532d57=_0x10759f;const _0x24d1f9=super[_0x532d57(0x4ca)]();return _0x24d1f9['onTransformSelections']=_0x33e5ba=>this[_0x532d57(0x38e)][_0x532d57(0x2d5)](_0x33e5ba),_0x24d1f9;}async[_0x10759f(0x17f)](){var _0xd845dc=_0x10759f;const _0x4bfd83=await super['_init']();return this[_0xd845dc(0x1d1)](this[_0xd845dc(0x201)]['onCommandExecuted']((_0x3377da,_0x5e81f5)=>{var _0x36f068=_0xd845dc;if(_0x3377da[_0x36f068(0x2ad)]!==a[_0x36f068(0x4b5)][_0x36f068(0x4de)]||_0x5e81f5!=null&&_0x5e81f5[_0x36f068(0x2bb)]||_0x5e81f5!=null&&_0x5e81f5[_0x36f068(0x2b3)])return;const _0x5ee5b4=_0x3377da[_0x36f068(0x1fd)];if((_0x5ee5b4==null?void 0x0:_0x5ee5b4[_0x36f068(0x380)])!==this[_0x36f068(0x34e)])return;const _0x55e341=_0x3377da,_0x4c578f=this['_compressMutationService'][_0x36f068(0x1e8)][_0x36f068(0x35d)](this[_0x36f068(0x49d)][_0x36f068(0x1e8)][_0x36f068(0x435)]()[_0x36f068(0x3cf)])([_0x55e341],null)||[_0x55e341];this['_onLocalMutation'](_0x4c578f[0x0]);})),_0x4bfd83;}},exports[_0x10759f(0x1f2)]=Ge([$(0x3,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),$(0x4,a[_0x10759f(0x1a7)](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x10759f(0x2e3)])),$(0x6,a[_0x10759f(0x1a7)](g[_0x10759f(0x412)])),$(0x7,a[_0x10759f(0x1a7)](exports[_0x10759f(0x3c3)])),$(0x8,a[_0x10759f(0x1a7)](te)),$(0x9,a[_0x10759f(0x45e)]),$(0xa,a['ICommandService']),$(0xb,a[_0x10759f(0x4ba)]),$(0xc,a[_0x10759f(0x262)](ve)),$(0xd,a[_0x10759f(0x262)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x10759f(0x273)],bi=(_0x5edfb5,_0x42d0ca,_0x4a17df,_0x51a634)=>{for(var _0x1ef3f5=_0x51a634>0x1?void 0x0:_0x51a634?Ti(_0x42d0ca,_0x4a17df):_0x42d0ca,_0x49a9fa=_0x5edfb5['length']-0x1,_0x4214a7;_0x49a9fa>=0x0;_0x49a9fa--)(_0x4214a7=_0x5edfb5[_0x49a9fa])&&(_0x1ef3f5=_0x4214a7(_0x1ef3f5)||_0x1ef3f5);return _0x1ef3f5;},Ae=(_0x6ff45,_0x325c75)=>(_0x4432e0,_0x522514)=>_0x325c75(_0x4432e0,_0x522514,_0x6ff45);exports['CollaborationController']=class extends a[_0x10759f(0x1de)]{constructor(_0x139149,_0x385536,_0x4958e8){var _0x46ac7a=_0x10759f;super(),P(this,_0x46ac7a(0x4e1),new Map()),P(this,_0x46ac7a(0x1d4),new j[(_0x46ac7a(0x36c))]()),P(this,_0x46ac7a(0x454),this['_entityInit$'][_0x46ac7a(0x2d6)]()),(this[_0x46ac7a(0x30c)]=_0x139149,this[_0x46ac7a(0x2f7)]=_0x385536,this['_univerInstanceService']=_0x4958e8,this[_0x46ac7a(0x17f)]());}[_0x10759f(0x250)](){var _0x5ce6c2=_0x10759f;super[_0x5ce6c2(0x250)](),this[_0x5ce6c2(0x4e1)][_0x5ce6c2(0x4a1)](_0x52080e=>_0x52080e['dispose']()),this[_0x5ce6c2(0x4e1)][_0x5ce6c2(0x42e)]();}['getCollabEntity'](_0x4ba0bc){var _0x3bfcf8=_0x10759f,_0x58b1f1;return(_0x58b1f1=this[_0x3bfcf8(0x4e1)][_0x3bfcf8(0x23b)](_0x4ba0bc))!=null?_0x58b1f1:null;}[_0x10759f(0x1dd)](_0x51dd75){var _0x24cc65=_0x10759f;const _0x1da68c=this['getCollabEntity'](_0x51dd75);return _0x1da68c?j['of'](_0x1da68c):this[_0x24cc65(0x1d4)][_0x24cc65(0x191)](W[_0x24cc65(0x26e)](_0x5bced2=>_0x5bced2[_0x24cc65(0x34e)]===_0x51dd75));}[_0x10759f(0x47c)](_0x1189f6){var _0x4c8a76=_0x10759f;return j[_0x4c8a76(0x365)](this['getCollabEntity$'](_0x1189f6)[_0x4c8a76(0x191)](W[_0x4c8a76(0x18c)](()=>{})));}[_0x10759f(0x17f)](){var _0x4738ba=_0x10759f;this[_0x4738ba(0x414)][_0x4738ba(0x1d0)](a[_0x4738ba(0x30d)][_0x4738ba(0x21b)])[_0x4738ba(0x191)](j[_0x4738ba(0x22d)](this[_0x4738ba(0x1ac)]),W[_0x4738ba(0x45f)](0x10))[_0x4738ba(0x49a)](async _0x37e0ac=>{var _0x5f2922=_0x4738ba;const _0x293144=_0x37e0ac[_0x5f2922(0x456)](),_0x20c46b=await this[_0x5f2922(0x331)](_0x293144,X['UNIVER_SHEET']);this['_entities'][_0x5f2922(0x41e)](_0x293144,_0x20c46b);}),this[_0x4738ba(0x414)][_0x4738ba(0x1d0)](a[_0x4738ba(0x30d)][_0x4738ba(0x19e)])[_0x4738ba(0x191)](j[_0x4738ba(0x22d)](this['dispose$']),W['delay'](0x10))[_0x4738ba(0x191)](W[_0x4738ba(0x26e)](_0x580690=>!_0x580690[_0x4738ba(0x456)]()['startsWith']('__')))[_0x4738ba(0x49a)](async _0x136cf4=>{var _0x48f657=_0x4738ba;const _0xb7c130=_0x136cf4[_0x48f657(0x456)](),_0x40e814=await this[_0x48f657(0x331)](_0xb7c130,X['UNIVER_DOC']);this[_0x48f657(0x4e1)]['set'](_0xb7c130,_0x40e814);}),j[_0x4738ba(0x442)](this[_0x4738ba(0x414)][_0x4738ba(0x2b5)](a[_0x4738ba(0x30d)][_0x4738ba(0x21b)]),this[_0x4738ba(0x414)]['getTypeOfUnitDisposed$'](a[_0x4738ba(0x30d)][_0x4738ba(0x19e)]))[_0x4738ba(0x191)](j[_0x4738ba(0x22d)](this[_0x4738ba(0x1ac)]))['subscribe'](_0x4e7684=>{var _0x4183a7=_0x4738ba;const _0xd3e77d=_0x4e7684[_0x4183a7(0x456)](),_0x24f03c=this['_entities']['get'](_0xd3e77d);_0x24f03c&&(_0x24f03c['dispose'](),this['_entities'][_0x4183a7(0x296)](_0xd3e77d));});}async['_startCollaboration'](_0x29b9f3,_0x50becc){var _0x3fb264=_0x10759f;const _0x1ce887=await this['_collabSessionService']['requireSession'](_0x29b9f3),_0x3b0930=this[_0x3fb264(0x30c)]['createInstance'](this[_0x3fb264(0x26f)](_0x50becc),_0x29b9f3,_0x50becc,_0x1ce887);return await _0x3b0930['init'](),this['_entityInit$'][_0x3fb264(0x326)](_0x3b0930),_0x3b0930;}['_getCtorByUniverType'](_0x5dea47){var _0x5b78af=_0x10759f;switch(_0x5dea47){case X[_0x5b78af(0x19e)]:return exports[_0x5b78af(0x230)];case X[_0x5b78af(0x21b)]:return exports[_0x5b78af(0x1f2)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5dea47);}}},exports[_0x10759f(0x253)]=bi([Ae(0x0,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),Ae(0x1,a[_0x10759f(0x1a7)](exports[_0x10759f(0x263)])),Ae(0x2,a[_0x10759f(0x30b)])],exports[_0x10759f(0x253)]);var Ri=Object[_0x10759f(0x273)],yi=(_0xead627,_0x1a45e2,_0xda1474,_0x54b8bb)=>{var _0x7964a3=_0x10759f;for(var _0x4b1370=_0x54b8bb>0x1?void 0x0:_0x54b8bb?Ri(_0x1a45e2,_0xda1474):_0x1a45e2,_0xea4ae4=_0xead627[_0x7964a3(0x36b)]-0x1,_0xe5bbe7;_0xea4ae4>=0x0;_0xea4ae4--)(_0xe5bbe7=_0xead627[_0xea4ae4])&&(_0x4b1370=_0xe5bbe7(_0x4b1370)||_0x4b1370);return _0x4b1370;},Je=(_0x4cdf68,_0x332612)=>(_0x20b027,_0xc3af80)=>_0x332612(_0x20b027,_0xc3af80,_0x4cdf68);const Oi='DEFAULT_FILE_NAME',Ni='Univer';let He=class extends a[_0x10759f(0x4a0)]{constructor(_0x321f34,_0x76259e){var _0x3b4a5c=_0x10759f;super(),this[_0x3b4a5c(0x414)]=_0x321f34,this[_0x3b4a5c(0x3a1)]=_0x76259e,this[_0x3b4a5c(0x17f)]();}[_0x10759f(0x17f)](){var _0x23d1b8=_0x10759f;this[_0x23d1b8(0x1d1)](this[_0x23d1b8(0x414)][_0x23d1b8(0x1c9)][_0x23d1b8(0x49a)](()=>{var _0x5c98b1=_0x23d1b8,_0x55c33c;const _0x5ebd85=this[_0x5c98b1(0x414)][_0x5c98b1(0x3e9)]();let _0x221eb6=(_0x55c33c=this['_configService'][_0x5c98b1(0x444)](Oi))!=null?_0x55c33c:Ni;_0x5ebd85 instanceof a[_0x5c98b1(0x225)]&&(_0x221eb6=_0x5ebd85[_0x5c98b1(0x2ba)]),document[_0x5c98b1(0x4e3)]=_0x221eb6;}));}};He=yi([Je(0x0,a[_0x10759f(0x30b)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x10759f(0x273)],Ui=(_0x46d0c7,_0x57be16,_0x27664b,_0x1aec4d)=>{var _0x194039=_0x10759f;for(var _0x583cd8=_0x1aec4d>0x1?void 0x0:_0x1aec4d?Di(_0x57be16,_0x27664b):_0x57be16,_0x315335=_0x46d0c7[_0x194039(0x36b)]-0x1,_0x3cef6c;_0x315335>=0x0;_0x315335--)(_0x3cef6c=_0x46d0c7[_0x315335])&&(_0x583cd8=_0x3cef6c(_0x583cd8)||_0x583cd8);return _0x583cd8;},we=(_0x2abe60,_0x19283e)=>(_0x22ab7c,_0x4c70fb)=>_0x19283e(_0x22ab7c,_0x4c70fb,_0x2abe60);let Oe=class{constructor(_0x205db2,_0x9a2e21,_0x29abb3){var _0x1a1cd7=_0x10759f;this[_0x1a1cd7(0x3a1)]=_0x205db2,this[_0x1a1cd7(0x46b)]=_0x9a2e21,this[_0x1a1cd7(0x2e5)]=_0x29abb3,this[_0x1a1cd7(0x376)]();}['init'](){var _0x683f26=_0x10759f;this[_0x683f26(0x46b)][_0x683f26(0x1ec)]({'priority':0x1,'interceptor':(_0x498e55,_0x559efc)=>_0x559efc(_0x498e55)[_0x683f26(0x191)](j['concatMap'](async _0x2313e2=>{var _0x2f8e42=_0x683f26;const _0x3b3538=_0x2313e2;if(_0x3b3538[_0x2f8e42(0x419)]===0x191){if(typeof window>'u')throw new Error(_0x2f8e42(0x2d2));if(window[_0x2f8e42(0x48a)](this[_0x2f8e42(0x2e5)]['t'](_0x2f8e42(0x3c0)))){const _0x3152bf=window[_0x2f8e42(0x4d0)](window[_0x2f8e42(0x2d3)][_0x2f8e42(0x236)]);window[_0x2f8e42(0x2d3)][_0x2f8e42(0x236)]=this['_getLoginPath']()+_0x2f8e42(0x31c)+_0x3152bf;}}return _0x3b3538;}))});}[_0x10759f(0x470)](){var _0x18987c=_0x10759f,_0x2857de,_0x146bc9;const _0x539f28=this[_0x18987c(0x3a1)][_0x18987c(0x444)](Et),_0x399719=this['_configService'][_0x18987c(0x444)](Y);return(_0x146bc9=(_0x2857de=_0x399719==null?void 0x0:_0x399719[_0x18987c(0x265)])!=null?_0x2857de:_0x539f28)!=null?_0x146bc9:Yt;}};Oe=Ui([we(0x0,a[_0x10759f(0x467)]),we(0x1,a[_0x10759f(0x1a7)](q[_0x10759f(0x18d)])),we(0x2,a[_0x10759f(0x1a7)](a[_0x10759f(0x2e3)]))],Oe);var Pi=Object[_0x10759f(0x273)],Ai=(_0x349a3a,_0x5a4da1,_0x2d44a6,_0x271ef9)=>{var _0xa0816=_0x10759f;for(var _0x3fabac=_0x271ef9>0x1?void 0x0:_0x271ef9?Pi(_0x5a4da1,_0x2d44a6):_0x5a4da1,_0x213e06=_0x349a3a[_0xa0816(0x36b)]-0x1,_0x2420cc;_0x213e06>=0x0;_0x213e06--)(_0x2420cc=_0x349a3a[_0x213e06])&&(_0x3fabac=_0x2420cc(_0x3fabac)||_0x3fabac);return _0x3fabac;},Xe=(_0x1afe39,_0x20afd2)=>(_0x475696,_0x463450)=>_0x20afd2(_0x475696,_0x463450,_0x1afe39);const Ve=_0x10759f(0x189),wi='/universer-api/authz';exports[_0x10759f(0x1d8)]=class extends a['Disposable']{constructor(_0x4e817a,_0x4afafd){var _0x5eec44=_0x10759f;super(),this['_HTTPService']=_0x4e817a,this['_configService']=_0x4afafd,this[_0x5eec44(0x194)]();}['_initMergeInterceptor'](){var _0x43e34e=_0x10759f;const _0x4e8b02=this;this[_0x43e34e(0x1d1)](this[_0x43e34e(0x450)][_0x43e34e(0x1ec)]({'priority':0x3e7,'interceptor':q[_0x43e34e(0x448)]({'isMatch'(_0x4c604d){var _0x593b95=_0x43e34e,_0x26be7b;if(_0x4c604d['method']===_0x593b95(0x45a)&&((_0x26be7b=_0x4c604d[_0x593b95(0x35f)])!=null&&_0x26be7b[_0x593b95(0x39e)])){const {objectID:_0x17b140,objectType:_0x547169}=_0x4c604d['requestParams'][_0x593b95(0x39e)]||{};if(!_0x17b140||_0x547169===void 0x0)return!0x1;const _0x19cfa5=_0x4e8b02['_getAPIPrefixPath']()+'/'+_0x547169+_0x593b95(0x394)+_0x17b140+_0x593b95(0x21e);if(_0x4c604d[_0x593b95(0x459)]===_0x19cfa5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b022e){var _0x329756=_0x43e34e,_0x422bbb;return(_0x422bbb=_0x2b022e[_0x329756(0x35f)])==null?void 0x0:_0x422bbb[_0x329756(0x39e)];},'mergeParamsToRequest'(_0x30ee3e,_0x577c32){var _0x215070=_0x43e34e;const _0x1a72b7=_0x4e8b02[_0x215070(0x228)]()+'/-/object/-/batch_allowed',_0x6f3048=_0x30ee3e[_0x215070(0x3f3)]((_0x55390d,_0x2d5c85)=>{var _0x1f1f03=_0x215070;const {unitID:_0x538c2a,objectID:_0x4bc896,objectType:_0x4516de,actions:_0x24e4b0}=_0x2d5c85;return _0x55390d[_0x538c2a]||(_0x55390d[_0x538c2a]={}),_0x55390d[_0x538c2a][_0x4bc896]||(_0x55390d[_0x538c2a][_0x4bc896]={'objectID':_0x4bc896,'objectType':_0x4516de,'actions':[]}),_0x55390d[_0x538c2a][_0x4bc896]['actions'][_0x1f1f03(0x490)](..._0x24e4b0),_0x55390d;},{}),_0x660faa=[];for(const _0x5c434a in _0x6f3048)for(const _0x34d2d4 in _0x6f3048[_0x5c434a]){const {actions:_0x4f7653,objectType:_0xd2cec9}=_0x6f3048[_0x5c434a][_0x34d2d4],_0x4692a6=[...new Set(_0x4f7653)];_0x660faa[_0x215070(0x490)]({'unitID':_0x5c434a,'objectID':_0x34d2d4,'objectType':_0xd2cec9,'actions':_0x4692a6});}return new q['HTTPRequest']('POST',_0x1a72b7,{'headers':_0x577c32[_0x215070(0x261)],'withCredentials':_0x577c32[_0x215070(0x4a3)],'responseType':_0x577c32['responseType'],'body':{'requests':_0x660faa}});}},{'distributeResult'(_0x3df6bf,_0x385a7){var _0x1a9838=_0x43e34e;const {objectActions:_0x47110b}=_0x3df6bf;return _0x385a7[_0x1a9838(0x18c)](_0x358ef8=>{var _0x35aa37=_0x1a9838;const {unitID:_0x4ac7ed,objectID:_0x19b9a1,actions:_0x3915c9}=_0x358ef8,_0x4698ab=_0x47110b[_0x35aa37(0x196)](_0x3500a9=>_0x3500a9[_0x35aa37(0x34e)]===_0x4ac7ed&&_0x3500a9[_0x35aa37(0x270)]===_0x19b9a1),_0xab6ce1=_0x3915c9[_0x35aa37(0x18c)](_0x555a08=>_0x4698ab==null?void 0x0:_0x4698ab[_0x35aa37(0x2c5)][_0x35aa37(0x196)](_0x72521f=>_0x72521f[_0x35aa37(0x463)]===_0x555a08))[_0x35aa37(0x26e)](_0x21370f=>!!_0x21370f);return{'config':_0x358ef8,'result':{'actions':_0xab6ce1,'error':_0x3df6bf[_0x35aa37(0x238)]}};});}})}));}[_0x10759f(0x228)](){var _0x4ec143=_0x10759f,_0x256165,_0x41a287;const _0x4d4068=this[_0x4ec143(0x3a1)][_0x4ec143(0x444)](Ve),_0x125129=this[_0x4ec143(0x3a1)][_0x4ec143(0x444)](Y);return(_0x41a287=(_0x256165=_0x125129==null?void 0x0:_0x125129[_0x4ec143(0x1df)])!=null?_0x256165:_0x4d4068)!=null?_0x41a287:wi;}async[_0x10759f(0x2d0)](_0x21f85f){var _0x2efce9=_0x10759f;const _0x46afb4=this[_0x2efce9(0x228)]()+'/'+_0x21f85f[_0x2efce9(0x26d)]+_0x2efce9(0x3ad);return(await this[_0x2efce9(0x450)][_0x2efce9(0x25c)](_0x46afb4,{'body':_0x21f85f}))[_0x2efce9(0x39e)][_0x2efce9(0x270)]||'';}async[_0x10759f(0x402)](_0x11017c){var _0x25e7e8=_0x10759f;const _0x1c0e58=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x25e7e8(0x450)]['post'](_0x1c0e58,{'body':_0x11017c}))[_0x25e7e8(0x39e)][_0x25e7e8(0x1fe)];}async['update'](_0x45c0e3){var _0x29dd4b=_0x10759f;const _0x2c8681=this['_getAPIPrefixPath']()+'/'+_0x45c0e3['objectType']+_0x29dd4b(0x394)+_0x45c0e3['objectID'];await this[_0x29dd4b(0x450)][_0x29dd4b(0x2e2)](_0x2c8681,{'body':_0x45c0e3});}async[_0x10759f(0x184)](_0x1649eb){var _0x53c750=_0x10759f;const _0x1ec135=this[_0x53c750(0x228)]()+'/'+_0x1649eb[_0x53c750(0x26d)]+_0x53c750(0x394)+_0x1649eb[_0x53c750(0x270)]+'/allowed';return(await this[_0x53c750(0x450)][_0x53c750(0x25c)](_0x1ec135,{'body':_0x1649eb}))[_0x53c750(0x39e)][_0x53c750(0x2c5)];}async[_0x10759f(0x4d8)](_0x25cbea){var _0x573115=_0x10759f;const _0x4ac47b=this[_0x573115(0x228)]()+_0x573115(0x3ce);return(await this[_0x573115(0x450)][_0x573115(0x25c)](_0x4ac47b,{'body':{'requests':_0x25cbea}}))[_0x573115(0x39e)]['objectActions'];}async[_0x10759f(0x353)](_0xb8bc28){var _0x109342=_0x10759f;const _0x10313a=this[_0x109342(0x228)]()+'/'+_0xb8bc28[_0x109342(0x26d)]+_0x109342(0x405),_0x554f16=await this[_0x109342(0x450)][_0x109342(0x25c)](_0x10313a,{'body':_0xb8bc28});return{'roles':_0x554f16[_0x109342(0x39e)]['roles'],'actions':_0x554f16[_0x109342(0x39e)][_0x109342(0x2c5)]};}async[_0x10759f(0x4dc)](_0x20543b){var _0x14ae91=_0x10759f;const _0x268a60=this[_0x14ae91(0x228)]()+_0x14ae91(0x3da);await this['_HTTPService'][_0x14ae91(0x296)](_0x268a60,{'params':{'collaboratorID':_0x20543b[_0x14ae91(0x3c2)],'objectID':_0x20543b[_0x14ae91(0x270)],'unitID':_0x20543b[_0x14ae91(0x34e)]}});}async[_0x10759f(0x3d7)](_0x2ae012){var _0x8ee56e=_0x10759f;const _0x1dbbf5=this['_getAPIPrefixPath']()+_0x8ee56e(0x3da);await this['_HTTPService']['patch'](_0x1dbbf5,{'body':_0x2ae012});}async[_0x10759f(0x4a2)](_0xdcdd79){var _0x51d3ec=_0x10759f;const _0x18ef42=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x51d3ec(0x450)][_0x51d3ec(0x25c)](_0x18ef42,{'body':_0xdcdd79});}async[_0x10759f(0x32b)](_0x4be9a5){var _0x22aa87=_0x10759f;const _0x487a2d=this[_0x22aa87(0x228)]()+_0x22aa87(0x3da);return(await this[_0x22aa87(0x450)]['get'](_0x487a2d,{'params':{'objectID':_0x4be9a5[_0x22aa87(0x270)],'unitID':_0x4be9a5[_0x22aa87(0x34e)]}}))[_0x22aa87(0x39e)]['collaborators'];}async[_0x10759f(0x47e)](_0x18c455){var _0x6916ea=_0x10759f;const _0x2e1b89=this['_getAPIPrefixPath']()+_0x6916ea(0x3da);await this[_0x6916ea(0x450)][_0x6916ea(0x2e2)](_0x2e1b89,{'body':_0x18c455});}},exports[_0x10759f(0x1d8)]=Ai([Xe(0x0,a[_0x10759f(0x1a7)](q[_0x10759f(0x18d)])),Xe(0x1,a[_0x10759f(0x1a7)](a[_0x10759f(0x467)]))],exports[_0x10759f(0x1d8)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x51928f){var _0x49da74=_0x10759f;return _0x51928f&&_0x51928f[_0x49da74(0x336)]&&Object[_0x49da74(0x415)][_0x49da74(0x36d)]['call'](_0x51928f,'default')?_0x51928f[_0x49da74(0x397)]:_0x51928f;}var fe={'exports':{}};function Li(_0x211a5c){var _0x35f1ba=_0x10759f;throw new Error(_0x35f1ba(0x19d)+_0x211a5c+'\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['exports'],Ze;function ee(){var _0x51ef54=_0x10759f;return Ze||(Ze=0x1,function(_0x1e12bc,_0x509d12){(function(_0x4c6f3e,_0x11c320){var _0x2461d8=_0x3e40;_0x1e12bc[_0x2461d8(0x3be)]=_0x11c320();}(Mi,function(){var _0x1b564a=_0x1b564a||function(_0x1ea686,_0x11be66){var _0x2fd56b=_0x3e40,_0x444cd2;if(typeof window<'u'&&window[_0x2fd56b(0x24d)]&&(_0x444cd2=window[_0x2fd56b(0x24d)]),typeof self<'u'&&self['crypto']&&(_0x444cd2=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2fd56b(0x24d)]&&(_0x444cd2=globalThis[_0x2fd56b(0x24d)]),!_0x444cd2&&typeof window<'u'&&window[_0x2fd56b(0x46d)]&&(_0x444cd2=window[_0x2fd56b(0x46d)]),!_0x444cd2&&typeof Le<'u'&&Le[_0x2fd56b(0x24d)]&&(_0x444cd2=Le[_0x2fd56b(0x24d)]),!_0x444cd2&&typeof Li=='function')try{_0x444cd2=require(_0x2fd56b(0x24d));}catch{}var _0xc90b6=function(){var _0xa554f6=_0x2fd56b;if(_0x444cd2){if(typeof _0x444cd2[_0xa554f6(0x2bf)]==_0xa554f6(0x237))try{return _0x444cd2[_0xa554f6(0x2bf)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x444cd2[_0xa554f6(0x30f)]==_0xa554f6(0x237))try{return _0x444cd2[_0xa554f6(0x30f)](0x4)[_0xa554f6(0x2c0)]();}catch{}}throw new Error(_0xa554f6(0x4c6));},_0x51b779=Object[_0x2fd56b(0x2d0)]||(function(){function _0x40e9f6(){}return function(_0x66885e){var _0x504618=_0x3e40,_0x796c01;return _0x40e9f6[_0x504618(0x415)]=_0x66885e,_0x796c01=new _0x40e9f6(),_0x40e9f6[_0x504618(0x415)]=null,_0x796c01;};}()),_0x24dc85={},_0x52cefe=_0x24dc85[_0x2fd56b(0x272)]={},_0x22e611=_0x52cefe[_0x2fd56b(0x1ff)]=(function(){return{'extend':function(_0x2425bf){var _0x12306d=_0x3e40,_0xcaefee=_0x51b779(this);return _0x2425bf&&_0xcaefee[_0x12306d(0x287)](_0x2425bf),(!_0xcaefee[_0x12306d(0x36d)]('init')||this['init']===_0xcaefee[_0x12306d(0x376)])&&(_0xcaefee[_0x12306d(0x376)]=function(){var _0x2509cc=_0x12306d;_0xcaefee['$super'][_0x2509cc(0x376)][_0x2509cc(0x3a6)](this,arguments);}),_0xcaefee[_0x12306d(0x376)][_0x12306d(0x415)]=_0xcaefee,_0xcaefee[_0x12306d(0x3e8)]=this,_0xcaefee;},'create':function(){var _0x4820a7=_0x3e40,_0xf74d87=this['extend']();return _0xf74d87['init'][_0x4820a7(0x3a6)](_0xf74d87,arguments),_0xf74d87;},'init':function(){},'mixIn':function(_0x1b2dfb){var _0x526900=_0x3e40;for(var _0x7e706c in _0x1b2dfb)_0x1b2dfb[_0x526900(0x36d)](_0x7e706c)&&(this[_0x7e706c]=_0x1b2dfb[_0x7e706c]);_0x1b2dfb[_0x526900(0x36d)](_0x526900(0x2b7))&&(this[_0x526900(0x2b7)]=_0x1b2dfb[_0x526900(0x2b7)]);},'clone':function(){var _0xa2609b=_0x3e40;return this[_0xa2609b(0x376)]['prototype'][_0xa2609b(0x4a7)](this);}};}()),_0x3d5fb4=_0x52cefe['WordArray']=_0x22e611['extend']({'init':function(_0x176e70,_0x9d28c5){var _0x728a0c=_0x2fd56b;_0x176e70=this['words']=_0x176e70||[],_0x9d28c5!=_0x11be66?this[_0x728a0c(0x2db)]=_0x9d28c5:this[_0x728a0c(0x2db)]=_0x176e70[_0x728a0c(0x36b)]*0x4;},'toString':function(_0x127c6b){var _0x20c6cc=_0x2fd56b;return(_0x127c6b||_0x58ed86)[_0x20c6cc(0x1ce)](this);},'concat':function(_0x10230a){var _0xbc6f37=_0x2fd56b,_0x1f1e4f=this[_0xbc6f37(0x2c6)],_0x243a46=_0x10230a[_0xbc6f37(0x2c6)],_0x35784f=this[_0xbc6f37(0x2db)],_0x360bb2=_0x10230a['sigBytes'];if(this['clamp'](),_0x35784f%0x4)for(var _0xd5612=0x0;_0xd5612<_0x360bb2;_0xd5612++){var _0x45be89=_0x243a46[_0xd5612>>>0x2]>>>0x18-_0xd5612%0x4*0x8&0xff;_0x1f1e4f[_0x35784f+_0xd5612>>>0x2]|=_0x45be89<<0x18-(_0x35784f+_0xd5612)%0x4*0x8;}else{for(var _0x251dc5=0x0;_0x251dc5<_0x360bb2;_0x251dc5+=0x4)_0x1f1e4f[_0x35784f+_0x251dc5>>>0x2]=_0x243a46[_0x251dc5>>>0x2];}return this[_0xbc6f37(0x2db)]+=_0x360bb2,this;},'clamp':function(){var _0x5e8dea=_0x2fd56b,_0x53d115=this[_0x5e8dea(0x2c6)],_0x43ce2b=this['sigBytes'];_0x53d115[_0x43ce2b>>>0x2]&=0xffffffff<<0x20-_0x43ce2b%0x4*0x8,_0x53d115[_0x5e8dea(0x36b)]=_0x1ea686[_0x5e8dea(0x384)](_0x43ce2b/0x4);},'clone':function(){var _0x2413a1=_0x2fd56b,_0x3f9be7=_0x22e611[_0x2413a1(0x19c)]['call'](this);return _0x3f9be7['words']=this[_0x2413a1(0x2c6)][_0x2413a1(0x4b8)](0x0),_0x3f9be7;},'random':function(_0x42b4de){var _0x36a479=_0x2fd56b;for(var _0x1c0ad8=[],_0x25abc5=0x0;_0x25abc5<_0x42b4de;_0x25abc5+=0x4)_0x1c0ad8[_0x36a479(0x490)](_0xc90b6());return new _0x3d5fb4[(_0x36a479(0x376))](_0x1c0ad8,_0x42b4de);}}),_0x9fc212=_0x24dc85[_0x2fd56b(0x460)]={},_0x58ed86=_0x9fc212[_0x2fd56b(0x223)]={'stringify':function(_0x5e0807){var _0x39fb02=_0x2fd56b;for(var _0x5f0f5a=_0x5e0807[_0x39fb02(0x2c6)],_0x24b6a0=_0x5e0807[_0x39fb02(0x2db)],_0x21dc7a=[],_0x5840e0=0x0;_0x5840e0<_0x24b6a0;_0x5840e0++){var _0x118946=_0x5f0f5a[_0x5840e0>>>0x2]>>>0x18-_0x5840e0%0x4*0x8&0xff;_0x21dc7a[_0x39fb02(0x490)]((_0x118946>>>0x4)[_0x39fb02(0x2b7)](0x10)),_0x21dc7a['push']((_0x118946&0xf)[_0x39fb02(0x2b7)](0x10));}return _0x21dc7a[_0x39fb02(0x195)]('');},'parse':function(_0x15e38d){var _0x46e2b4=_0x2fd56b;for(var _0x5c2690=_0x15e38d[_0x46e2b4(0x36b)],_0x22886f=[],_0x50477a=0x0;_0x50477a<_0x5c2690;_0x50477a+=0x2)_0x22886f[_0x50477a>>>0x3]|=parseInt(_0x15e38d[_0x46e2b4(0x4df)](_0x50477a,0x2),0x10)<<0x18-_0x50477a%0x8*0x4;return new _0x3d5fb4[(_0x46e2b4(0x376))](_0x22886f,_0x5c2690/0x2);}},_0x2f1bdf=_0x9fc212[_0x2fd56b(0x3a3)]={'stringify':function(_0x31a5c7){var _0x2ec240=_0x2fd56b;for(var _0x126445=_0x31a5c7[_0x2ec240(0x2c6)],_0x3ea67a=_0x31a5c7[_0x2ec240(0x2db)],_0x3bcf73=[],_0x1029ce=0x0;_0x1029ce<_0x3ea67a;_0x1029ce++){var _0x4125dc=_0x126445[_0x1029ce>>>0x2]>>>0x18-_0x1029ce%0x4*0x8&0xff;_0x3bcf73[_0x2ec240(0x490)](String[_0x2ec240(0x1a0)](_0x4125dc));}return _0x3bcf73[_0x2ec240(0x195)]('');},'parse':function(_0x30f923){var _0x261e17=_0x2fd56b;for(var _0x468e13=_0x30f923[_0x261e17(0x36b)],_0x4a6289=[],_0x64e332=0x0;_0x64e332<_0x468e13;_0x64e332++)_0x4a6289[_0x64e332>>>0x2]|=(_0x30f923[_0x261e17(0x38d)](_0x64e332)&0xff)<<0x18-_0x64e332%0x4*0x8;return new _0x3d5fb4[(_0x261e17(0x376))](_0x4a6289,_0x468e13);}},_0x3933ce=_0x9fc212[_0x2fd56b(0x37e)]={'stringify':function(_0x2971d6){var _0x5a469a=_0x2fd56b;try{return decodeURIComponent(escape(_0x2f1bdf['stringify'](_0x2971d6)));}catch{throw new Error(_0x5a469a(0x493));}},'parse':function(_0x539e95){return _0x2f1bdf['parse'](unescape(encodeURIComponent(_0x539e95)));}},_0x5ac0d0=_0x52cefe[_0x2fd56b(0x3a4)]=_0x22e611['extend']({'reset':function(){var _0x52dd8f=_0x2fd56b;this[_0x52dd8f(0x4b4)]=new _0x3d5fb4['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x58721a){var _0x8ebe4c=_0x2fd56b;typeof _0x58721a=='string'&&(_0x58721a=_0x3933ce['parse'](_0x58721a)),this[_0x8ebe4c(0x4b4)][_0x8ebe4c(0x38c)](_0x58721a),this['_nDataBytes']+=_0x58721a['sigBytes'];},'_process':function(_0x596205){var _0x187787=_0x2fd56b,_0x4d1aeb,_0x140723=this['_data'],_0x162cb2=_0x140723[_0x187787(0x2c6)],_0x32049b=_0x140723[_0x187787(0x2db)],_0x5e4b4a=this['blockSize'],_0x5ca11e=_0x5e4b4a*0x4,_0x57af5e=_0x32049b/_0x5ca11e;_0x596205?_0x57af5e=_0x1ea686[_0x187787(0x384)](_0x57af5e):_0x57af5e=_0x1ea686['max']((_0x57af5e|0x0)-this[_0x187787(0x3a8)],0x0);var _0x3bca98=_0x57af5e*_0x5e4b4a,_0x112ab4=_0x1ea686['min'](_0x3bca98*0x4,_0x32049b);if(_0x3bca98){for(var _0x15e120=0x0;_0x15e120<_0x3bca98;_0x15e120+=_0x5e4b4a)this['_doProcessBlock'](_0x162cb2,_0x15e120);_0x4d1aeb=_0x162cb2[_0x187787(0x422)](0x0,_0x3bca98),_0x140723[_0x187787(0x2db)]-=_0x112ab4;}return new _0x3d5fb4[(_0x187787(0x376))](_0x4d1aeb,_0x112ab4);},'clone':function(){var _0x22e4d1=_0x2fd56b,_0x5ea989=_0x22e611[_0x22e4d1(0x19c)]['call'](this);return _0x5ea989[_0x22e4d1(0x4b4)]=this['_data'][_0x22e4d1(0x19c)](),_0x5ea989;},'_minBufferSize':0x0});_0x52cefe[_0x2fd56b(0x44c)]=_0x5ac0d0[_0x2fd56b(0x4a7)]({'cfg':_0x22e611[_0x2fd56b(0x4a7)](),'init':function(_0x23142e){var _0xe2b01=_0x2fd56b;this['cfg']=this[_0xe2b01(0x2b8)]['extend'](_0x23142e),this[_0xe2b01(0x483)]();},'reset':function(){var _0x24b490=_0x2fd56b;_0x5ac0d0[_0x24b490(0x483)][_0x24b490(0x2b4)](this),this[_0x24b490(0x1f3)]();},'update':function(_0x564131){var _0x5cc4c8=_0x2fd56b;return this[_0x5cc4c8(0x301)](_0x564131),this[_0x5cc4c8(0x1b2)](),this;},'finalize':function(_0x5a38c1){var _0x4a7966=_0x2fd56b;_0x5a38c1&&this[_0x4a7966(0x301)](_0x5a38c1);var _0x5341ad=this[_0x4a7966(0x2e4)]();return _0x5341ad;},'blockSize':0x10,'_createHelper':function(_0x56060f){return function(_0x44f199,_0x2a1baf){var _0x6aa558=_0x3e40;return new _0x56060f[(_0x6aa558(0x376))](_0x2a1baf)[_0x6aa558(0x3ac)](_0x44f199);};},'_createHmacHelper':function(_0x24eabc){return function(_0x186594,_0x3b5fe8){var _0x5564b5=_0x3e40;return new _0x5dfaba[(_0x5564b5(0x46f))][(_0x5564b5(0x376))](_0x24eabc,_0x3b5fe8)['finalize'](_0x186594);};}});var _0x5dfaba=_0x24dc85[_0x2fd56b(0x25d)]={};return _0x24dc85;}(Math);return _0x1b564a;}));}(pe)),pe[_0x51ef54(0x3be)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x26777f,_0x5b81dc){(function(_0x10dbf7,_0xe72839){_0x26777f['exports']=_0xe72839(ee());}(xi,function(_0x23b29c){var _0xcede5c=_0x3e40;return(function(){var _0x247fb0=_0x3e40,_0xd63631=_0x23b29c,_0x265f05=_0xd63631['lib'],_0x5bea16=_0x265f05[_0x247fb0(0x2c4)],_0x10cab4=_0xd63631['enc'];_0x10cab4[_0x247fb0(0x34d)]={'stringify':function(_0x2e1c27){var _0x46531e=_0x247fb0,_0xd60855=_0x2e1c27['words'],_0x5bbdb6=_0x2e1c27[_0x46531e(0x2db)],_0x74d112=this[_0x46531e(0x217)];_0x2e1c27[_0x46531e(0x44f)]();for(var _0xddb002=[],_0x1e0ba8=0x0;_0x1e0ba8<_0x5bbdb6;_0x1e0ba8+=0x3)for(var _0x44156f=_0xd60855[_0x1e0ba8>>>0x2]>>>0x18-_0x1e0ba8%0x4*0x8&0xff,_0x56308f=_0xd60855[_0x1e0ba8+0x1>>>0x2]>>>0x18-(_0x1e0ba8+0x1)%0x4*0x8&0xff,_0x122030=_0xd60855[_0x1e0ba8+0x2>>>0x2]>>>0x18-(_0x1e0ba8+0x2)%0x4*0x8&0xff,_0x49b710=_0x44156f<<0x10|_0x56308f<<0x8|_0x122030,_0x4109bb=0x0;_0x4109bb<0x4&&_0x1e0ba8+_0x4109bb*0.75<_0x5bbdb6;_0x4109bb++)_0xddb002[_0x46531e(0x490)](_0x74d112['charAt'](_0x49b710>>>0x6*(0x3-_0x4109bb)&0x3f));var _0x335a37=_0x74d112[_0x46531e(0x257)](0x40);if(_0x335a37){for(;_0xddb002[_0x46531e(0x36b)]%0x4;)_0xddb002[_0x46531e(0x490)](_0x335a37);}return _0xddb002['join']('');},'parse':function(_0x4849c6){var _0x2aacdb=_0x247fb0,_0x448923=_0x4849c6[_0x2aacdb(0x36b)],_0x55ba48=this[_0x2aacdb(0x217)],_0x101a81=this[_0x2aacdb(0x417)];if(!_0x101a81){_0x101a81=this[_0x2aacdb(0x417)]=[];for(var _0x5e4b74=0x0;_0x5e4b74<_0x55ba48['length'];_0x5e4b74++)_0x101a81[_0x55ba48[_0x2aacdb(0x38d)](_0x5e4b74)]=_0x5e4b74;}var _0xf7487c=_0x55ba48[_0x2aacdb(0x257)](0x40);if(_0xf7487c){var _0x3e1042=_0x4849c6['indexOf'](_0xf7487c);_0x3e1042!==-0x1&&(_0x448923=_0x3e1042);}return _0x4e2b61(_0x4849c6,_0x448923,_0x101a81);},'_map':_0x247fb0(0x4c7)};function _0x4e2b61(_0x90ed4f,_0xfa590b,_0x99ed29){var _0x463f0e=_0x247fb0;for(var _0x1de1bd=[],_0xd84634=0x0,_0x1d1d73=0x0;_0x1d1d73<_0xfa590b;_0x1d1d73++)if(_0x1d1d73%0x4){var _0x1c2ba1=_0x99ed29[_0x90ed4f[_0x463f0e(0x38d)](_0x1d1d73-0x1)]<<_0x1d1d73%0x4*0x2,_0x1c0b94=_0x99ed29[_0x90ed4f[_0x463f0e(0x38d)](_0x1d1d73)]>>>0x6-_0x1d1d73%0x4*0x2,_0x490b9f=_0x1c2ba1|_0x1c0b94;_0x1de1bd[_0xd84634>>>0x2]|=_0x490b9f<<0x18-_0xd84634%0x4*0x8,_0xd84634++;}return _0x5bea16['create'](_0x1de1bd,_0xd84634);}}()),_0x23b29c[_0xcede5c(0x460)]['Base64'];}));}(ge)),ge['exports'];}var me={'exports':{}},ki=me[_0x10759f(0x3be)],et;function Hi(){var _0xa5063f=_0x10759f;return et||(et=0x1,function(_0x4b4638,_0x11ab53){(function(_0x314fe0,_0x2d11e1){var _0x1d8daf=_0x3e40;_0x4b4638[_0x1d8daf(0x3be)]=_0x2d11e1(ee());}(ki,function(_0x49c623){return function(_0x39c7d3){var _0x1bab1b=_0x3e40,_0x22e7fb=_0x49c623,_0x3e0f81=_0x22e7fb[_0x1bab1b(0x272)],_0x5c375b=_0x3e0f81[_0x1bab1b(0x2c4)],_0x2bcefd=_0x3e0f81[_0x1bab1b(0x44c)],_0x54d781=_0x22e7fb[_0x1bab1b(0x25d)],_0x184c2d=[];(function(){var _0x3db3e7=_0x1bab1b;for(var _0x1f70e1=0x0;_0x1f70e1<0x40;_0x1f70e1++)_0x184c2d[_0x1f70e1]=_0x39c7d3[_0x3db3e7(0x2f3)](_0x39c7d3[_0x3db3e7(0x4d7)](_0x1f70e1+0x1))*0x100000000|0x0;}());var _0x3cf19f=_0x54d781[_0x1bab1b(0x23d)]=_0x2bcefd[_0x1bab1b(0x4a7)]({'_doReset':function(){this['_hash']=new _0x5c375b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ab725,_0x9ee2a3){var _0x5a348f=_0x1bab1b;for(var _0x5b50a8=0x0;_0x5b50a8<0x10;_0x5b50a8++){var _0x55f09a=_0x9ee2a3+_0x5b50a8,_0x1d41e4=_0x4ab725[_0x55f09a];_0x4ab725[_0x55f09a]=(_0x1d41e4<<0x8|_0x1d41e4>>>0x18)&0xff00ff|(_0x1d41e4<<0x18|_0x1d41e4>>>0x8)&0xff00ff00;}var _0x16de5f=this[_0x5a348f(0x43d)][_0x5a348f(0x2c6)],_0x482cd0=_0x4ab725[_0x9ee2a3+0x0],_0x352ce1=_0x4ab725[_0x9ee2a3+0x1],_0x16ace1=_0x4ab725[_0x9ee2a3+0x2],_0x48daae=_0x4ab725[_0x9ee2a3+0x3],_0xd20e2e=_0x4ab725[_0x9ee2a3+0x4],_0x403eb3=_0x4ab725[_0x9ee2a3+0x5],_0x7dc8d4=_0x4ab725[_0x9ee2a3+0x6],_0x13b34d=_0x4ab725[_0x9ee2a3+0x7],_0x5cdde0=_0x4ab725[_0x9ee2a3+0x8],_0x2c2300=_0x4ab725[_0x9ee2a3+0x9],_0x142c29=_0x4ab725[_0x9ee2a3+0xa],_0x34b421=_0x4ab725[_0x9ee2a3+0xb],_0x262e91=_0x4ab725[_0x9ee2a3+0xc],_0x5fb042=_0x4ab725[_0x9ee2a3+0xd],_0xd369b0=_0x4ab725[_0x9ee2a3+0xe],_0x2b8d63=_0x4ab725[_0x9ee2a3+0xf],_0x468389=_0x16de5f[0x0],_0x96dc8=_0x16de5f[0x1],_0x240b93=_0x16de5f[0x2],_0xe01b0=_0x16de5f[0x3];_0x468389=_0xd54c3c(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x482cd0,0x7,_0x184c2d[0x0]),_0xe01b0=_0xd54c3c(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x352ce1,0xc,_0x184c2d[0x1]),_0x240b93=_0xd54c3c(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x16ace1,0x11,_0x184c2d[0x2]),_0x96dc8=_0xd54c3c(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x48daae,0x16,_0x184c2d[0x3]),_0x468389=_0xd54c3c(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0xd20e2e,0x7,_0x184c2d[0x4]),_0xe01b0=_0xd54c3c(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x403eb3,0xc,_0x184c2d[0x5]),_0x240b93=_0xd54c3c(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x7dc8d4,0x11,_0x184c2d[0x6]),_0x96dc8=_0xd54c3c(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x13b34d,0x16,_0x184c2d[0x7]),_0x468389=_0xd54c3c(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x5cdde0,0x7,_0x184c2d[0x8]),_0xe01b0=_0xd54c3c(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x2c2300,0xc,_0x184c2d[0x9]),_0x240b93=_0xd54c3c(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x142c29,0x11,_0x184c2d[0xa]),_0x96dc8=_0xd54c3c(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x34b421,0x16,_0x184c2d[0xb]),_0x468389=_0xd54c3c(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x262e91,0x7,_0x184c2d[0xc]),_0xe01b0=_0xd54c3c(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x5fb042,0xc,_0x184c2d[0xd]),_0x240b93=_0xd54c3c(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0xd369b0,0x11,_0x184c2d[0xe]),_0x96dc8=_0xd54c3c(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x2b8d63,0x16,_0x184c2d[0xf]),_0x468389=_0x2eb108(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x352ce1,0x5,_0x184c2d[0x10]),_0xe01b0=_0x2eb108(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x7dc8d4,0x9,_0x184c2d[0x11]),_0x240b93=_0x2eb108(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x34b421,0xe,_0x184c2d[0x12]),_0x96dc8=_0x2eb108(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x482cd0,0x14,_0x184c2d[0x13]),_0x468389=_0x2eb108(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x403eb3,0x5,_0x184c2d[0x14]),_0xe01b0=_0x2eb108(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x142c29,0x9,_0x184c2d[0x15]),_0x240b93=_0x2eb108(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x2b8d63,0xe,_0x184c2d[0x16]),_0x96dc8=_0x2eb108(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0xd20e2e,0x14,_0x184c2d[0x17]),_0x468389=_0x2eb108(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x2c2300,0x5,_0x184c2d[0x18]),_0xe01b0=_0x2eb108(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0xd369b0,0x9,_0x184c2d[0x19]),_0x240b93=_0x2eb108(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x48daae,0xe,_0x184c2d[0x1a]),_0x96dc8=_0x2eb108(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x5cdde0,0x14,_0x184c2d[0x1b]),_0x468389=_0x2eb108(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x5fb042,0x5,_0x184c2d[0x1c]),_0xe01b0=_0x2eb108(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x16ace1,0x9,_0x184c2d[0x1d]),_0x240b93=_0x2eb108(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x13b34d,0xe,_0x184c2d[0x1e]),_0x96dc8=_0x2eb108(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x262e91,0x14,_0x184c2d[0x1f]),_0x468389=_0x36a123(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x403eb3,0x4,_0x184c2d[0x20]),_0xe01b0=_0x36a123(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x5cdde0,0xb,_0x184c2d[0x21]),_0x240b93=_0x36a123(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x34b421,0x10,_0x184c2d[0x22]),_0x96dc8=_0x36a123(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0xd369b0,0x17,_0x184c2d[0x23]),_0x468389=_0x36a123(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x352ce1,0x4,_0x184c2d[0x24]),_0xe01b0=_0x36a123(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0xd20e2e,0xb,_0x184c2d[0x25]),_0x240b93=_0x36a123(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x13b34d,0x10,_0x184c2d[0x26]),_0x96dc8=_0x36a123(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x142c29,0x17,_0x184c2d[0x27]),_0x468389=_0x36a123(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x5fb042,0x4,_0x184c2d[0x28]),_0xe01b0=_0x36a123(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x482cd0,0xb,_0x184c2d[0x29]),_0x240b93=_0x36a123(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x48daae,0x10,_0x184c2d[0x2a]),_0x96dc8=_0x36a123(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x7dc8d4,0x17,_0x184c2d[0x2b]),_0x468389=_0x36a123(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x2c2300,0x4,_0x184c2d[0x2c]),_0xe01b0=_0x36a123(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x262e91,0xb,_0x184c2d[0x2d]),_0x240b93=_0x36a123(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x2b8d63,0x10,_0x184c2d[0x2e]),_0x96dc8=_0x36a123(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x16ace1,0x17,_0x184c2d[0x2f]),_0x468389=_0x386113(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x482cd0,0x6,_0x184c2d[0x30]),_0xe01b0=_0x386113(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x13b34d,0xa,_0x184c2d[0x31]),_0x240b93=_0x386113(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0xd369b0,0xf,_0x184c2d[0x32]),_0x96dc8=_0x386113(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x403eb3,0x15,_0x184c2d[0x33]),_0x468389=_0x386113(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x262e91,0x6,_0x184c2d[0x34]),_0xe01b0=_0x386113(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x48daae,0xa,_0x184c2d[0x35]),_0x240b93=_0x386113(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x142c29,0xf,_0x184c2d[0x36]),_0x96dc8=_0x386113(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x352ce1,0x15,_0x184c2d[0x37]),_0x468389=_0x386113(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0x5cdde0,0x6,_0x184c2d[0x38]),_0xe01b0=_0x386113(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x2b8d63,0xa,_0x184c2d[0x39]),_0x240b93=_0x386113(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x7dc8d4,0xf,_0x184c2d[0x3a]),_0x96dc8=_0x386113(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x5fb042,0x15,_0x184c2d[0x3b]),_0x468389=_0x386113(_0x468389,_0x96dc8,_0x240b93,_0xe01b0,_0xd20e2e,0x6,_0x184c2d[0x3c]),_0xe01b0=_0x386113(_0xe01b0,_0x468389,_0x96dc8,_0x240b93,_0x34b421,0xa,_0x184c2d[0x3d]),_0x240b93=_0x386113(_0x240b93,_0xe01b0,_0x468389,_0x96dc8,_0x16ace1,0xf,_0x184c2d[0x3e]),_0x96dc8=_0x386113(_0x96dc8,_0x240b93,_0xe01b0,_0x468389,_0x2c2300,0x15,_0x184c2d[0x3f]),_0x16de5f[0x0]=_0x16de5f[0x0]+_0x468389|0x0,_0x16de5f[0x1]=_0x16de5f[0x1]+_0x96dc8|0x0,_0x16de5f[0x2]=_0x16de5f[0x2]+_0x240b93|0x0,_0x16de5f[0x3]=_0x16de5f[0x3]+_0xe01b0|0x0;},'_doFinalize':function(){var _0x206bd7=_0x1bab1b,_0x25161f=this[_0x206bd7(0x4b4)],_0xcd9975=_0x25161f['words'],_0x18f190=this[_0x206bd7(0x28b)]*0x8,_0x53fadd=_0x25161f['sigBytes']*0x8;_0xcd9975[_0x53fadd>>>0x5]|=0x80<<0x18-_0x53fadd%0x20;var _0x238b36=_0x39c7d3[_0x206bd7(0x269)](_0x18f190/0x100000000),_0x27a864=_0x18f190;_0xcd9975[(_0x53fadd+0x40>>>0x9<<0x4)+0xf]=(_0x238b36<<0x8|_0x238b36>>>0x18)&0xff00ff|(_0x238b36<<0x18|_0x238b36>>>0x8)&0xff00ff00,_0xcd9975[(_0x53fadd+0x40>>>0x9<<0x4)+0xe]=(_0x27a864<<0x8|_0x27a864>>>0x18)&0xff00ff|(_0x27a864<<0x18|_0x27a864>>>0x8)&0xff00ff00,_0x25161f[_0x206bd7(0x2db)]=(_0xcd9975[_0x206bd7(0x36b)]+0x1)*0x4,this[_0x206bd7(0x1b2)]();for(var _0x3e0d34=this['_hash'],_0x3670d8=_0x3e0d34[_0x206bd7(0x2c6)],_0x23abca=0x0;_0x23abca<0x4;_0x23abca++){var _0x324142=_0x3670d8[_0x23abca];_0x3670d8[_0x23abca]=(_0x324142<<0x8|_0x324142>>>0x18)&0xff00ff|(_0x324142<<0x18|_0x324142>>>0x8)&0xff00ff00;}return _0x3e0d34;},'clone':function(){var _0x552e07=_0x1bab1b,_0x10c6ba=_0x2bcefd['clone'][_0x552e07(0x2b4)](this);return _0x10c6ba[_0x552e07(0x43d)]=this[_0x552e07(0x43d)][_0x552e07(0x19c)](),_0x10c6ba;}});function _0xd54c3c(_0x9a2376,_0x3e352b,_0x1b7343,_0x259b03,_0x1604d6,_0x584298,_0x3ff030){var _0x2e355d=_0x9a2376+(_0x3e352b&_0x1b7343|~_0x3e352b&_0x259b03)+_0x1604d6+_0x3ff030;return(_0x2e355d<<_0x584298|_0x2e355d>>>0x20-_0x584298)+_0x3e352b;}function _0x2eb108(_0x3a9d3c,_0x1ff331,_0x46cfc9,_0x2e79bb,_0x3e61f6,_0x16e7b3,_0x29739b){var _0x19c49e=_0x3a9d3c+(_0x1ff331&_0x2e79bb|_0x46cfc9&~_0x2e79bb)+_0x3e61f6+_0x29739b;return(_0x19c49e<<_0x16e7b3|_0x19c49e>>>0x20-_0x16e7b3)+_0x1ff331;}function _0x36a123(_0x3e72cd,_0x468fdf,_0x156078,_0x335928,_0xd93a0b,_0x125196,_0x48cc40){var _0x5cf42a=_0x3e72cd+(_0x468fdf^_0x156078^_0x335928)+_0xd93a0b+_0x48cc40;return(_0x5cf42a<<_0x125196|_0x5cf42a>>>0x20-_0x125196)+_0x468fdf;}function _0x386113(_0x2910eb,_0x2cd05a,_0x3d370a,_0x2eb4e6,_0x18ad71,_0x52f0c4,_0x5096c2){var _0x535627=_0x2910eb+(_0x3d370a^(_0x2cd05a|~_0x2eb4e6))+_0x18ad71+_0x5096c2;return(_0x535627<<_0x52f0c4|_0x535627>>>0x20-_0x52f0c4)+_0x2cd05a;}_0x22e7fb['MD5']=_0x2bcefd[_0x1bab1b(0x24b)](_0x3cf19f),_0x22e7fb['HmacMD5']=_0x2bcefd['_createHmacHelper'](_0x3cf19f);}(Math),_0x49c623['MD5'];}));}(me)),me[_0xa5063f(0x3be)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x10759f(0x3be)],tt;function $i(){var _0x4c7d03=_0x10759f;return tt||(tt=0x1,function(_0x3bb603,_0x1f7917){(function(_0x493c68,_0xa46d38){var _0x543e85=_0x3e40;_0x3bb603[_0x543e85(0x3be)]=_0xa46d38(ee());}(ji,function(_0x485eec){var _0x11e049=_0x3e40;return(function(){var _0xb92d8=_0x3e40,_0x10a911=_0x485eec,_0x539a7c=_0x10a911[_0xb92d8(0x272)],_0x538788=_0x539a7c[_0xb92d8(0x2c4)],_0x5358ef=_0x539a7c[_0xb92d8(0x44c)],_0x4c85eb=_0x10a911[_0xb92d8(0x25d)],_0x5a1c15=[],_0xd735dd=_0x4c85eb[_0xb92d8(0x4cf)]=_0x5358ef[_0xb92d8(0x4a7)]({'_doReset':function(){var _0x48572a=_0xb92d8;this[_0x48572a(0x43d)]=new _0x538788[(_0x48572a(0x376))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a2514,_0x4fd917){for(var _0x515e55=this['_hash']['words'],_0x25c1fc=_0x515e55[0x0],_0x3489bc=_0x515e55[0x1],_0x3daf01=_0x515e55[0x2],_0x5e8fb1=_0x515e55[0x3],_0xe877c0=_0x515e55[0x4],_0x17a2b3=0x0;_0x17a2b3<0x50;_0x17a2b3++){if(_0x17a2b3<0x10)_0x5a1c15[_0x17a2b3]=_0x3a2514[_0x4fd917+_0x17a2b3]|0x0;else{var _0x333d7e=_0x5a1c15[_0x17a2b3-0x3]^_0x5a1c15[_0x17a2b3-0x8]^_0x5a1c15[_0x17a2b3-0xe]^_0x5a1c15[_0x17a2b3-0x10];_0x5a1c15[_0x17a2b3]=_0x333d7e<<0x1|_0x333d7e>>>0x1f;}var _0x4d3ca7=(_0x25c1fc<<0x5|_0x25c1fc>>>0x1b)+_0xe877c0+_0x5a1c15[_0x17a2b3];_0x17a2b3<0x14?_0x4d3ca7+=(_0x3489bc&_0x3daf01|~_0x3489bc&_0x5e8fb1)+0x5a827999:_0x17a2b3<0x28?_0x4d3ca7+=(_0x3489bc^_0x3daf01^_0x5e8fb1)+0x6ed9eba1:_0x17a2b3<0x3c?_0x4d3ca7+=(_0x3489bc&_0x3daf01|_0x3489bc&_0x5e8fb1|_0x3daf01&_0x5e8fb1)-0x70e44324:_0x4d3ca7+=(_0x3489bc^_0x3daf01^_0x5e8fb1)-0x359d3e2a,_0xe877c0=_0x5e8fb1,_0x5e8fb1=_0x3daf01,_0x3daf01=_0x3489bc<<0x1e|_0x3489bc>>>0x2,_0x3489bc=_0x25c1fc,_0x25c1fc=_0x4d3ca7;}_0x515e55[0x0]=_0x515e55[0x0]+_0x25c1fc|0x0,_0x515e55[0x1]=_0x515e55[0x1]+_0x3489bc|0x0,_0x515e55[0x2]=_0x515e55[0x2]+_0x3daf01|0x0,_0x515e55[0x3]=_0x515e55[0x3]+_0x5e8fb1|0x0,_0x515e55[0x4]=_0x515e55[0x4]+_0xe877c0|0x0;},'_doFinalize':function(){var _0x1f89bc=_0xb92d8,_0xf9adbe=this['_data'],_0x23ded9=_0xf9adbe[_0x1f89bc(0x2c6)],_0x518156=this['_nDataBytes']*0x8,_0x531344=_0xf9adbe[_0x1f89bc(0x2db)]*0x8;return _0x23ded9[_0x531344>>>0x5]|=0x80<<0x18-_0x531344%0x20,_0x23ded9[(_0x531344+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f89bc(0x269)](_0x518156/0x100000000),_0x23ded9[(_0x531344+0x40>>>0x9<<0x4)+0xf]=_0x518156,_0xf9adbe['sigBytes']=_0x23ded9[_0x1f89bc(0x36b)]*0x4,this[_0x1f89bc(0x1b2)](),this['_hash'];},'clone':function(){var _0x3be567=_0xb92d8,_0x2d7a2f=_0x5358ef['clone'][_0x3be567(0x2b4)](this);return _0x2d7a2f[_0x3be567(0x43d)]=this[_0x3be567(0x43d)][_0x3be567(0x19c)](),_0x2d7a2f;}});_0x10a911[_0xb92d8(0x4cf)]=_0x5358ef['_createHelper'](_0xd735dd),_0x10a911[_0xb92d8(0x453)]=_0x5358ef[_0xb92d8(0x1f7)](_0xd735dd);}()),_0x485eec[_0x11e049(0x4cf)];}));}(Ee)),Ee[_0x4c7d03(0x3be)];}var Ce={'exports':{}},Bi=Ce[_0x10759f(0x3be)],it;function Fi(){var _0x20b0ca=_0x10759f;return it||(it=0x1,function(_0x2eb7c5,_0x3b017d){(function(_0x29a0c0,_0x110af9){_0x2eb7c5['exports']=_0x110af9(ee());}(Bi,function(_0x559e68){(function(){var _0x2ed973=_0x3e40,_0x505099=_0x559e68,_0x4ee8ca=_0x505099[_0x2ed973(0x272)],_0x29b2bf=_0x4ee8ca[_0x2ed973(0x1ff)],_0x25ae61=_0x505099[_0x2ed973(0x460)],_0x53447a=_0x25ae61[_0x2ed973(0x37e)],_0x56d552=_0x505099[_0x2ed973(0x25d)];_0x56d552[_0x2ed973(0x46f)]=_0x29b2bf[_0x2ed973(0x4a7)]({'init':function(_0xd97d3d,_0x3aaefe){var _0x23c4e8=_0x2ed973;_0xd97d3d=this[_0x23c4e8(0x3f5)]=new _0xd97d3d['init'](),typeof _0x3aaefe==_0x23c4e8(0x477)&&(_0x3aaefe=_0x53447a[_0x23c4e8(0x19f)](_0x3aaefe));var _0x3b5a52=_0xd97d3d[_0x23c4e8(0x251)],_0x4c84c8=_0x3b5a52*0x4;_0x3aaefe[_0x23c4e8(0x2db)]>_0x4c84c8&&(_0x3aaefe=_0xd97d3d[_0x23c4e8(0x3ac)](_0x3aaefe)),_0x3aaefe[_0x23c4e8(0x44f)]();for(var _0x5ecf17=this['_oKey']=_0x3aaefe[_0x23c4e8(0x19c)](),_0x1614dd=this[_0x23c4e8(0x260)]=_0x3aaefe[_0x23c4e8(0x19c)](),_0x354d68=_0x5ecf17[_0x23c4e8(0x2c6)],_0xee3b9e=_0x1614dd['words'],_0x37db92=0x0;_0x37db92<_0x3b5a52;_0x37db92++)_0x354d68[_0x37db92]^=0x5c5c5c5c,_0xee3b9e[_0x37db92]^=0x36363636;_0x5ecf17[_0x23c4e8(0x2db)]=_0x1614dd[_0x23c4e8(0x2db)]=_0x4c84c8,this[_0x23c4e8(0x483)]();},'reset':function(){var _0x4c2ed2=_0x2ed973,_0x39c15=this['_hasher'];_0x39c15[_0x4c2ed2(0x483)](),_0x39c15[_0x4c2ed2(0x324)](this[_0x4c2ed2(0x260)]);},'update':function(_0x4743de){var _0x27b73d=_0x2ed973;return this[_0x27b73d(0x3f5)][_0x27b73d(0x324)](_0x4743de),this;},'finalize':function(_0x90b15b){var _0x5ebaf8=_0x2ed973,_0x4c6ae5=this['_hasher'],_0x4a0ddd=_0x4c6ae5[_0x5ebaf8(0x3ac)](_0x90b15b);_0x4c6ae5[_0x5ebaf8(0x483)]();var _0x4210cd=_0x4c6ae5['finalize'](this[_0x5ebaf8(0x486)][_0x5ebaf8(0x19c)]()[_0x5ebaf8(0x38c)](_0x4a0ddd));return _0x4210cd;}});}());}));}(Ce)),Ce[_0x20b0ca(0x3be)];}var Wi=Ie['exports'],nt;function Pt(){return nt||(nt=0x1,function(_0x40fba9,_0x4f85eb){(function(_0x20e1bf,_0xe4caa4,_0x1d8c30){var _0x1fee88=_0x3e40;_0x40fba9[_0x1fee88(0x3be)]=_0xe4caa4(ee(),$i(),Fi());}(Wi,function(_0x337cd7){return(function(){var _0x534a64=_0x3e40,_0x5edee3=_0x337cd7,_0x3d59ea=_0x5edee3[_0x534a64(0x272)],_0x24eb4d=_0x3d59ea['Base'],_0x3388ea=_0x3d59ea[_0x534a64(0x2c4)],_0x90540=_0x5edee3['algo'],_0x2a2b50=_0x90540['MD5'],_0x1c60bd=_0x90540[_0x534a64(0x30a)]=_0x24eb4d[_0x534a64(0x4a7)]({'cfg':_0x24eb4d[_0x534a64(0x4a7)]({'keySize':0x80/0x20,'hasher':_0x2a2b50,'iterations':0x1}),'init':function(_0x1bb0b7){var _0x426a9a=_0x534a64;this[_0x426a9a(0x2b8)]=this[_0x426a9a(0x2b8)][_0x426a9a(0x4a7)](_0x1bb0b7);},'compute':function(_0x575d74,_0x5aba5e){var _0x229c44=_0x534a64;for(var _0x1d2503,_0x51bed3=this[_0x229c44(0x2b8)],_0x52e081=_0x51bed3[_0x229c44(0x181)][_0x229c44(0x2d0)](),_0x2feebf=_0x3388ea[_0x229c44(0x2d0)](),_0x35a8d9=_0x2feebf['words'],_0x55bf7c=_0x51bed3[_0x229c44(0x43b)],_0x589ed5=_0x51bed3[_0x229c44(0x392)];_0x35a8d9[_0x229c44(0x36b)]<_0x55bf7c;){_0x1d2503&&_0x52e081['update'](_0x1d2503),_0x1d2503=_0x52e081[_0x229c44(0x324)](_0x575d74)[_0x229c44(0x3ac)](_0x5aba5e),_0x52e081['reset']();for(var _0x23114e=0x1;_0x23114e<_0x589ed5;_0x23114e++)_0x1d2503=_0x52e081[_0x229c44(0x3ac)](_0x1d2503),_0x52e081[_0x229c44(0x483)]();_0x2feebf[_0x229c44(0x38c)](_0x1d2503);}return _0x2feebf[_0x229c44(0x2db)]=_0x55bf7c*0x4,_0x2feebf;}});_0x5edee3['EvpKDF']=function(_0x1e7132,_0x1fe9e9,_0x2b1887){var _0x1ff3ca=_0x534a64;return _0x1c60bd[_0x1ff3ca(0x2d0)](_0x2b1887)['compute'](_0x1e7132,_0x1fe9e9);};}()),_0x337cd7['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Gi=Te[_0x10759f(0x3be)],rt;function At(){var _0x657bc6=_0x10759f;return rt||(rt=0x1,function(_0x1f06d7,_0x226a59){(function(_0x3472dc,_0x35bc65,_0x2a4e24){var _0x5b51b5=_0x3e40;_0x1f06d7[_0x5b51b5(0x3be)]=_0x35bc65(ee(),Pt());}(Gi,function(_0x56f46d){var _0x7f6dd4=_0x3e40;_0x56f46d[_0x7f6dd4(0x272)]['Cipher']||function(_0x3ace8b){var _0x4f4511=_0x7f6dd4,_0x30b9c4=_0x56f46d,_0x4d8e25=_0x30b9c4[_0x4f4511(0x272)],_0x147ecd=_0x4d8e25[_0x4f4511(0x1ff)],_0x2e9a81=_0x4d8e25[_0x4f4511(0x2c4)],_0x2edc71=_0x4d8e25[_0x4f4511(0x3a4)],_0x473ed9=_0x30b9c4[_0x4f4511(0x460)];_0x473ed9['Utf8'];var _0x36f2d6=_0x473ed9[_0x4f4511(0x34d)],_0x19b16f=_0x30b9c4['algo'],_0x44ac11=_0x19b16f['EvpKDF'],_0x43e7b0=_0x4d8e25[_0x4f4511(0x410)]=_0x2edc71['extend']({'cfg':_0x147ecd[_0x4f4511(0x4a7)](),'createEncryptor':function(_0x570555,_0x3bdbaa){var _0x2f881f=_0x4f4511;return this[_0x2f881f(0x2d0)](this[_0x2f881f(0x36f)],_0x570555,_0x3bdbaa);},'createDecryptor':function(_0x22c217,_0x14b2f7){var _0x399022=_0x4f4511;return this[_0x399022(0x2d0)](this['_DEC_XFORM_MODE'],_0x22c217,_0x14b2f7);},'init':function(_0x2d4bf4,_0x5f4990,_0x489082){var _0x55cc69=_0x4f4511;this['cfg']=this[_0x55cc69(0x2b8)]['extend'](_0x489082),this[_0x55cc69(0x3cb)]=_0x2d4bf4,this[_0x55cc69(0x21a)]=_0x5f4990,this[_0x55cc69(0x483)]();},'reset':function(){var _0x18fbf7=_0x4f4511;_0x2edc71[_0x18fbf7(0x483)][_0x18fbf7(0x2b4)](this),this[_0x18fbf7(0x1f3)]();},'process':function(_0x3aa063){var _0x4e90ce=_0x4f4511;return this['_append'](_0x3aa063),this[_0x4e90ce(0x1b2)]();},'finalize':function(_0x143f75){var _0x254517=_0x4f4511;_0x143f75&&this['_append'](_0x143f75);var _0x2ae025=this[_0x254517(0x2e4)]();return _0x2ae025;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x271e3f(_0x26683d){var _0x184603=_0x3e40;return typeof _0x26683d==_0x184603(0x477)?_0x33717c:_0x2604d6;}return function(_0x4c1e7c){return{'encrypt':function(_0x404a05,_0x26afc5,_0x523337){var _0x25ac4a=_0x3e40;return _0x271e3f(_0x26afc5)[_0x25ac4a(0x4c2)](_0x4c1e7c,_0x404a05,_0x26afc5,_0x523337);},'decrypt':function(_0x48a2bc,_0x5ebf95,_0x32e8ac){var _0x13e9a=_0x3e40;return _0x271e3f(_0x5ebf95)[_0x13e9a(0x1b7)](_0x4c1e7c,_0x48a2bc,_0x5ebf95,_0x32e8ac);}};};}())});_0x4d8e25[_0x4f4511(0x2aa)]=_0x43e7b0[_0x4f4511(0x4a7)]({'_doFinalize':function(){var _0x3fb0f8=_0x4f4511,_0x3885d4=this[_0x3fb0f8(0x1b2)](!0x0);return _0x3885d4;},'blockSize':0x1});var _0x194e3e=_0x30b9c4['mode']={},_0x347722=_0x4d8e25[_0x4f4511(0x268)]=_0x147ecd[_0x4f4511(0x4a7)]({'createEncryptor':function(_0x19122a,_0x4bc37a){var _0x1986c1=_0x4f4511;return this[_0x1986c1(0x341)][_0x1986c1(0x2d0)](_0x19122a,_0x4bc37a);},'createDecryptor':function(_0x560e0e,_0x24ce03){var _0x5dbb92=_0x4f4511;return this[_0x5dbb92(0x428)]['create'](_0x560e0e,_0x24ce03);},'init':function(_0xcc2e06,_0x96ca03){var _0x546b5f=_0x4f4511;this[_0x546b5f(0x335)]=_0xcc2e06,this[_0x546b5f(0x2be)]=_0x96ca03;}}),_0x56f73a=_0x194e3e[_0x4f4511(0x2a6)]=(function(){var _0x1ca89d=_0x4f4511,_0x1751db=_0x347722['extend']();_0x1751db['Encryptor']=_0x1751db['extend']({'processBlock':function(_0x5da5de,_0x4b3229){var _0x4fbcbb=_0x3e40,_0xc33afd=this[_0x4fbcbb(0x335)],_0x557bf4=_0xc33afd['blockSize'];_0x1d28fb[_0x4fbcbb(0x2b4)](this,_0x5da5de,_0x4b3229,_0x557bf4),_0xc33afd[_0x4fbcbb(0x4ac)](_0x5da5de,_0x4b3229),this[_0x4fbcbb(0x4a8)]=_0x5da5de['slice'](_0x4b3229,_0x4b3229+_0x557bf4);}}),_0x1751db['Decryptor']=_0x1751db[_0x1ca89d(0x4a7)]({'processBlock':function(_0x57a58c,_0x24e8e9){var _0x260ee1=_0x1ca89d,_0x2f9d30=this['_cipher'],_0x39f642=_0x2f9d30['blockSize'],_0x33bafb=_0x57a58c[_0x260ee1(0x4b8)](_0x24e8e9,_0x24e8e9+_0x39f642);_0x2f9d30[_0x260ee1(0x4ad)](_0x57a58c,_0x24e8e9),_0x1d28fb[_0x260ee1(0x2b4)](this,_0x57a58c,_0x24e8e9,_0x39f642),this[_0x260ee1(0x4a8)]=_0x33bafb;}});function _0x1d28fb(_0x462ea9,_0x77ac6e,_0x344e7f){var _0x4684b5=_0x1ca89d,_0x5b0046,_0x4fa2ba=this[_0x4684b5(0x2be)];_0x4fa2ba?(_0x5b0046=_0x4fa2ba,this[_0x4684b5(0x2be)]=_0x3ace8b):_0x5b0046=this[_0x4684b5(0x4a8)];for(var _0x5816b0=0x0;_0x5816b0<_0x344e7f;_0x5816b0++)_0x462ea9[_0x77ac6e+_0x5816b0]^=_0x5b0046[_0x5816b0];}return _0x1751db;}()),_0x1056ae=_0x30b9c4[_0x4f4511(0x2f0)]={},_0x5de1fb=_0x1056ae[_0x4f4511(0x1c3)]={'pad':function(_0x282b3f,_0x10bf87){var _0x4432bc=_0x4f4511;for(var _0x58fc92=_0x10bf87*0x4,_0x1fee30=_0x58fc92-_0x282b3f[_0x4432bc(0x2db)]%_0x58fc92,_0xfaaa9b=_0x1fee30<<0x18|_0x1fee30<<0x10|_0x1fee30<<0x8|_0x1fee30,_0x4d5f5b=[],_0x3c0f70=0x0;_0x3c0f70<_0x1fee30;_0x3c0f70+=0x4)_0x4d5f5b['push'](_0xfaaa9b);var _0x12b230=_0x2e9a81[_0x4432bc(0x2d0)](_0x4d5f5b,_0x1fee30);_0x282b3f['concat'](_0x12b230);},'unpad':function(_0x239e4b){var _0x3fc6cc=_0x4f4511,_0x45f892=_0x239e4b[_0x3fc6cc(0x2c6)][_0x239e4b[_0x3fc6cc(0x2db)]-0x1>>>0x2]&0xff;_0x239e4b[_0x3fc6cc(0x2db)]-=_0x45f892;}};_0x4d8e25[_0x4f4511(0x2ea)]=_0x43e7b0['extend']({'cfg':_0x43e7b0[_0x4f4511(0x2b8)][_0x4f4511(0x4a7)]({'mode':_0x56f73a,'padding':_0x5de1fb}),'reset':function(){var _0x3b440c=_0x4f4511,_0x5025cb;_0x43e7b0[_0x3b440c(0x483)]['call'](this);var _0x1b555f=this[_0x3b440c(0x2b8)],_0x340cbe=_0x1b555f['iv'],_0x3e42c5=_0x1b555f[_0x3b440c(0x233)];this[_0x3b440c(0x3cb)]==this[_0x3b440c(0x36f)]?_0x5025cb=_0x3e42c5[_0x3b440c(0x177)]:(_0x5025cb=_0x3e42c5[_0x3b440c(0x2ca)],this[_0x3b440c(0x3a8)]=0x1),this[_0x3b440c(0x2a4)]&&this[_0x3b440c(0x2a4)][_0x3b440c(0x30e)]==_0x5025cb?this[_0x3b440c(0x2a4)][_0x3b440c(0x376)](this,_0x340cbe&&_0x340cbe[_0x3b440c(0x2c6)]):(this[_0x3b440c(0x2a4)]=_0x5025cb['call'](_0x3e42c5,this,_0x340cbe&&_0x340cbe[_0x3b440c(0x2c6)]),this[_0x3b440c(0x2a4)]['__creator']=_0x5025cb);},'_doProcessBlock':function(_0x1149da,_0x5b9bbd){var _0x1c84cf=_0x4f4511;this[_0x1c84cf(0x2a4)]['processBlock'](_0x1149da,_0x5b9bbd);},'_doFinalize':function(){var _0x2e1570=_0x4f4511,_0x22f8d0,_0x5c3b88=this[_0x2e1570(0x2b8)][_0x2e1570(0x252)];return this[_0x2e1570(0x3cb)]==this[_0x2e1570(0x36f)]?(_0x5c3b88[_0x2e1570(0x2f0)](this[_0x2e1570(0x4b4)],this[_0x2e1570(0x251)]),_0x22f8d0=this[_0x2e1570(0x1b2)](!0x0)):(_0x22f8d0=this[_0x2e1570(0x1b2)](!0x0),_0x5c3b88[_0x2e1570(0x25e)](_0x22f8d0)),_0x22f8d0;},'blockSize':0x80/0x20});var _0x850ae4=_0x4d8e25['CipherParams']=_0x147ecd[_0x4f4511(0x4a7)]({'init':function(_0x153591){var _0x2df2d0=_0x4f4511;this[_0x2df2d0(0x287)](_0x153591);},'toString':function(_0x3f58bc){var _0x5c2bce=_0x4f4511;return(_0x3f58bc||this[_0x5c2bce(0x34f)])[_0x5c2bce(0x1ce)](this);}}),_0x510c50=_0x30b9c4['format']={},_0xe03c01=_0x510c50['OpenSSL']={'stringify':function(_0x4f5381){var _0x16ba76=_0x4f4511,_0x124f9e,_0x40bd20=_0x4f5381[_0x16ba76(0x481)],_0x72f98d=_0x4f5381[_0x16ba76(0x2d9)];return _0x72f98d?_0x124f9e=_0x2e9a81[_0x16ba76(0x2d0)]([0x53616c74,0x65645f5f])[_0x16ba76(0x38c)](_0x72f98d)['concat'](_0x40bd20):_0x124f9e=_0x40bd20,_0x124f9e[_0x16ba76(0x2b7)](_0x36f2d6);},'parse':function(_0x308dc9){var _0x33fc7d=_0x4f4511,_0x28e905,_0xc61b43=_0x36f2d6['parse'](_0x308dc9),_0xfb0925=_0xc61b43['words'];return _0xfb0925[0x0]==0x53616c74&&_0xfb0925[0x1]==0x65645f5f&&(_0x28e905=_0x2e9a81[_0x33fc7d(0x2d0)](_0xfb0925['slice'](0x2,0x4)),_0xfb0925[_0x33fc7d(0x422)](0x0,0x4),_0xc61b43[_0x33fc7d(0x2db)]-=0x10),_0x850ae4[_0x33fc7d(0x2d0)]({'ciphertext':_0xc61b43,'salt':_0x28e905});}},_0x2604d6=_0x4d8e25[_0x4f4511(0x3bb)]=_0x147ecd[_0x4f4511(0x4a7)]({'cfg':_0x147ecd[_0x4f4511(0x4a7)]({'format':_0xe03c01}),'encrypt':function(_0x4fb3c2,_0x3c4a77,_0x371d54,_0x4222d7){var _0x422d6a=_0x4f4511;_0x4222d7=this['cfg']['extend'](_0x4222d7);var _0x32ad2a=_0x4fb3c2['createEncryptor'](_0x371d54,_0x4222d7),_0x19e70a=_0x32ad2a[_0x422d6a(0x3ac)](_0x3c4a77),_0x29c15d=_0x32ad2a[_0x422d6a(0x2b8)];return _0x850ae4[_0x422d6a(0x2d0)]({'ciphertext':_0x19e70a,'key':_0x371d54,'iv':_0x29c15d['iv'],'algorithm':_0x4fb3c2,'mode':_0x29c15d[_0x422d6a(0x233)],'padding':_0x29c15d['padding'],'blockSize':_0x4fb3c2[_0x422d6a(0x251)],'formatter':_0x4222d7[_0x422d6a(0x484)]});},'decrypt':function(_0x47eafe,_0x2d8836,_0x192d4e,_0x53ce33){var _0x11df08=_0x4f4511;_0x53ce33=this[_0x11df08(0x2b8)][_0x11df08(0x4a7)](_0x53ce33),_0x2d8836=this[_0x11df08(0x333)](_0x2d8836,_0x53ce33[_0x11df08(0x484)]);var _0x2d5d20=_0x47eafe[_0x11df08(0x2ca)](_0x192d4e,_0x53ce33)[_0x11df08(0x3ac)](_0x2d8836[_0x11df08(0x481)]);return _0x2d5d20;},'_parse':function(_0x1772e3,_0x164e1a){var _0x11cc05=_0x4f4511;return typeof _0x1772e3==_0x11cc05(0x477)?_0x164e1a[_0x11cc05(0x19f)](_0x1772e3,this):_0x1772e3;}}),_0x1610fc=_0x30b9c4['kdf']={},_0x3f7f03=_0x1610fc[_0x4f4511(0x21f)]={'execute':function(_0x42b29b,_0x49bb5f,_0x4b239a,_0x463ad4,_0x35d287){var _0x43962d=_0x4f4511;if(_0x463ad4||(_0x463ad4=_0x2e9a81[_0x43962d(0x27d)](0x40/0x8)),_0x35d287)var _0x13e151=_0x44ac11[_0x43962d(0x2d0)]({'keySize':_0x49bb5f+_0x4b239a,'hasher':_0x35d287})[_0x43962d(0x1b5)](_0x42b29b,_0x463ad4);else var _0x13e151=_0x44ac11[_0x43962d(0x2d0)]({'keySize':_0x49bb5f+_0x4b239a})[_0x43962d(0x1b5)](_0x42b29b,_0x463ad4);var _0x4ce967=_0x2e9a81[_0x43962d(0x2d0)](_0x13e151[_0x43962d(0x2c6)][_0x43962d(0x4b8)](_0x49bb5f),_0x4b239a*0x4);return _0x13e151['sigBytes']=_0x49bb5f*0x4,_0x850ae4[_0x43962d(0x2d0)]({'key':_0x13e151,'iv':_0x4ce967,'salt':_0x463ad4});}},_0x33717c=_0x4d8e25[_0x4f4511(0x32e)]=_0x2604d6[_0x4f4511(0x4a7)]({'cfg':_0x2604d6[_0x4f4511(0x2b8)]['extend']({'kdf':_0x3f7f03}),'encrypt':function(_0x442521,_0x52c47c,_0x12e95d,_0x2af3eb){var _0x353915=_0x4f4511;_0x2af3eb=this[_0x353915(0x2b8)][_0x353915(0x4a7)](_0x2af3eb);var _0x38c131=_0x2af3eb[_0x353915(0x430)][_0x353915(0x1c4)](_0x12e95d,_0x442521[_0x353915(0x43b)],_0x442521[_0x353915(0x29e)],_0x2af3eb[_0x353915(0x2d9)],_0x2af3eb['hasher']);_0x2af3eb['iv']=_0x38c131['iv'];var _0x33b296=_0x2604d6['encrypt']['call'](this,_0x442521,_0x52c47c,_0x38c131[_0x353915(0x2ef)],_0x2af3eb);return _0x33b296[_0x353915(0x287)](_0x38c131),_0x33b296;},'decrypt':function(_0x22d9cf,_0x1b4b7f,_0x1b7346,_0x30708f){var _0x25bbb6=_0x4f4511;_0x30708f=this[_0x25bbb6(0x2b8)][_0x25bbb6(0x4a7)](_0x30708f),_0x1b4b7f=this['_parse'](_0x1b4b7f,_0x30708f[_0x25bbb6(0x484)]);var _0x502fd5=_0x30708f[_0x25bbb6(0x430)]['execute'](_0x1b7346,_0x22d9cf[_0x25bbb6(0x43b)],_0x22d9cf['ivSize'],_0x1b4b7f[_0x25bbb6(0x2d9)],_0x30708f[_0x25bbb6(0x181)]);_0x30708f['iv']=_0x502fd5['iv'];var _0x248cc1=_0x2604d6['decrypt'][_0x25bbb6(0x2b4)](this,_0x22d9cf,_0x1b4b7f,_0x502fd5[_0x25bbb6(0x2ef)],_0x30708f);return _0x248cc1;}});}();}));}(Te)),Te[_0x657bc6(0x3be)];}var Vi=fe[_0x10759f(0x3be)],st;function Ki(){return st||(st=0x1,function(_0x44b6ae,_0x5b7c87){(function(_0x419b06,_0x23ec72,_0x546c84){var _0x4c1011=_0x3e40;_0x44b6ae[_0x4c1011(0x3be)]=_0x23ec72(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x243ca9){var _0x5aacee=_0x3e40;return(function(){var _0x3e3144=_0x3e40,_0x4f3f1d=_0x243ca9,_0x4fbb73=_0x4f3f1d[_0x3e3144(0x272)],_0xa757af=_0x4fbb73['BlockCipher'],_0x1e5f60=_0x4f3f1d[_0x3e3144(0x25d)],_0x15e386=[],_0x323c4c=[],_0x2fa1dd=[],_0x1b459b=[],_0x5e1fee=[],_0x3aed6d=[],_0x1f78f1=[],_0x244c9c=[],_0x6bcaae=[],_0xbc98db=[];(function(){for(var _0x499136=[],_0x41fbd4=0x0;_0x41fbd4<0x100;_0x41fbd4++)_0x41fbd4<0x80?_0x499136[_0x41fbd4]=_0x41fbd4<<0x1:_0x499136[_0x41fbd4]=_0x41fbd4<<0x1^0x11b;for(var _0x2367c9=0x0,_0x41723c=0x0,_0x41fbd4=0x0;_0x41fbd4<0x100;_0x41fbd4++){var _0x440890=_0x41723c^_0x41723c<<0x1^_0x41723c<<0x2^_0x41723c<<0x3^_0x41723c<<0x4;_0x440890=_0x440890>>>0x8^_0x440890&0xff^0x63,_0x15e386[_0x2367c9]=_0x440890,_0x323c4c[_0x440890]=_0x2367c9;var _0x4a1c8b=_0x499136[_0x2367c9],_0x9c50d7=_0x499136[_0x4a1c8b],_0x77dd4=_0x499136[_0x9c50d7],_0x2c8f66=_0x499136[_0x440890]*0x101^_0x440890*0x1010100;_0x2fa1dd[_0x2367c9]=_0x2c8f66<<0x18|_0x2c8f66>>>0x8,_0x1b459b[_0x2367c9]=_0x2c8f66<<0x10|_0x2c8f66>>>0x10,_0x5e1fee[_0x2367c9]=_0x2c8f66<<0x8|_0x2c8f66>>>0x18,_0x3aed6d[_0x2367c9]=_0x2c8f66;var _0x2c8f66=_0x77dd4*0x1010101^_0x9c50d7*0x10001^_0x4a1c8b*0x101^_0x2367c9*0x1010100;_0x1f78f1[_0x440890]=_0x2c8f66<<0x18|_0x2c8f66>>>0x8,_0x244c9c[_0x440890]=_0x2c8f66<<0x10|_0x2c8f66>>>0x10,_0x6bcaae[_0x440890]=_0x2c8f66<<0x8|_0x2c8f66>>>0x18,_0xbc98db[_0x440890]=_0x2c8f66,_0x2367c9?(_0x2367c9=_0x4a1c8b^_0x499136[_0x499136[_0x499136[_0x77dd4^_0x4a1c8b]]],_0x41723c^=_0x499136[_0x499136[_0x41723c]]):_0x2367c9=_0x41723c=0x1;}}());var _0x5b1b00=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a2b7e=_0x1e5f60['AES']=_0xa757af['extend']({'_doReset':function(){var _0x12e1d7=_0x3e3144,_0xeb274;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x138107=this[_0x12e1d7(0x424)]=this[_0x12e1d7(0x21a)],_0x28f4c3=_0x138107['words'],_0x5151cc=_0x138107[_0x12e1d7(0x2db)]/0x4,_0x39f9d5=this[_0x12e1d7(0x2a3)]=_0x5151cc+0x6,_0x1a0286=(_0x39f9d5+0x1)*0x4,_0x252927=this[_0x12e1d7(0x4b7)]=[],_0x1a7ec2=0x0;_0x1a7ec2<_0x1a0286;_0x1a7ec2++)_0x1a7ec2<_0x5151cc?_0x252927[_0x1a7ec2]=_0x28f4c3[_0x1a7ec2]:(_0xeb274=_0x252927[_0x1a7ec2-0x1],_0x1a7ec2%_0x5151cc?_0x5151cc>0x6&&_0x1a7ec2%_0x5151cc==0x4&&(_0xeb274=_0x15e386[_0xeb274>>>0x18]<<0x18|_0x15e386[_0xeb274>>>0x10&0xff]<<0x10|_0x15e386[_0xeb274>>>0x8&0xff]<<0x8|_0x15e386[_0xeb274&0xff]):(_0xeb274=_0xeb274<<0x8|_0xeb274>>>0x18,_0xeb274=_0x15e386[_0xeb274>>>0x18]<<0x18|_0x15e386[_0xeb274>>>0x10&0xff]<<0x10|_0x15e386[_0xeb274>>>0x8&0xff]<<0x8|_0x15e386[_0xeb274&0xff],_0xeb274^=_0x5b1b00[_0x1a7ec2/_0x5151cc|0x0]<<0x18),_0x252927[_0x1a7ec2]=_0x252927[_0x1a7ec2-_0x5151cc]^_0xeb274);for(var _0x46bc25=this[_0x12e1d7(0x1ba)]=[],_0x135273=0x0;_0x135273<_0x1a0286;_0x135273++){var _0x1a7ec2=_0x1a0286-_0x135273;if(_0x135273%0x4)var _0xeb274=_0x252927[_0x1a7ec2];else var _0xeb274=_0x252927[_0x1a7ec2-0x4];_0x135273<0x4||_0x1a7ec2<=0x4?_0x46bc25[_0x135273]=_0xeb274:_0x46bc25[_0x135273]=_0x1f78f1[_0x15e386[_0xeb274>>>0x18]]^_0x244c9c[_0x15e386[_0xeb274>>>0x10&0xff]]^_0x6bcaae[_0x15e386[_0xeb274>>>0x8&0xff]]^_0xbc98db[_0x15e386[_0xeb274&0xff]];}}},'encryptBlock':function(_0x7677bf,_0x4de26c){var _0x40268e=_0x3e3144;this[_0x40268e(0x3dc)](_0x7677bf,_0x4de26c,this['_keySchedule'],_0x2fa1dd,_0x1b459b,_0x5e1fee,_0x3aed6d,_0x15e386);},'decryptBlock':function(_0x1c3205,_0x2b3391){var _0x182d70=_0x3e3144,_0x112aab=_0x1c3205[_0x2b3391+0x1];_0x1c3205[_0x2b3391+0x1]=_0x1c3205[_0x2b3391+0x3],_0x1c3205[_0x2b3391+0x3]=_0x112aab,this['_doCryptBlock'](_0x1c3205,_0x2b3391,this[_0x182d70(0x1ba)],_0x1f78f1,_0x244c9c,_0x6bcaae,_0xbc98db,_0x323c4c);var _0x112aab=_0x1c3205[_0x2b3391+0x1];_0x1c3205[_0x2b3391+0x1]=_0x1c3205[_0x2b3391+0x3],_0x1c3205[_0x2b3391+0x3]=_0x112aab;},'_doCryptBlock':function(_0x347b6c,_0x10221c,_0x27cbce,_0x24120e,_0x19a80b,_0x314953,_0x145863,_0x26576a){var _0x52ee6f=_0x3e3144;for(var _0x3e8578=this[_0x52ee6f(0x2a3)],_0x27d185=_0x347b6c[_0x10221c]^_0x27cbce[0x0],_0xb2de8e=_0x347b6c[_0x10221c+0x1]^_0x27cbce[0x1],_0x114e85=_0x347b6c[_0x10221c+0x2]^_0x27cbce[0x2],_0x393287=_0x347b6c[_0x10221c+0x3]^_0x27cbce[0x3],_0x5189c5=0x4,_0x182a8c=0x1;_0x182a8c<_0x3e8578;_0x182a8c++){var _0x25f7dc=_0x24120e[_0x27d185>>>0x18]^_0x19a80b[_0xb2de8e>>>0x10&0xff]^_0x314953[_0x114e85>>>0x8&0xff]^_0x145863[_0x393287&0xff]^_0x27cbce[_0x5189c5++],_0xcb790b=_0x24120e[_0xb2de8e>>>0x18]^_0x19a80b[_0x114e85>>>0x10&0xff]^_0x314953[_0x393287>>>0x8&0xff]^_0x145863[_0x27d185&0xff]^_0x27cbce[_0x5189c5++],_0xb9ff81=_0x24120e[_0x114e85>>>0x18]^_0x19a80b[_0x393287>>>0x10&0xff]^_0x314953[_0x27d185>>>0x8&0xff]^_0x145863[_0xb2de8e&0xff]^_0x27cbce[_0x5189c5++],_0xd0bc44=_0x24120e[_0x393287>>>0x18]^_0x19a80b[_0x27d185>>>0x10&0xff]^_0x314953[_0xb2de8e>>>0x8&0xff]^_0x145863[_0x114e85&0xff]^_0x27cbce[_0x5189c5++];_0x27d185=_0x25f7dc,_0xb2de8e=_0xcb790b,_0x114e85=_0xb9ff81,_0x393287=_0xd0bc44;}var _0x25f7dc=(_0x26576a[_0x27d185>>>0x18]<<0x18|_0x26576a[_0xb2de8e>>>0x10&0xff]<<0x10|_0x26576a[_0x114e85>>>0x8&0xff]<<0x8|_0x26576a[_0x393287&0xff])^_0x27cbce[_0x5189c5++],_0xcb790b=(_0x26576a[_0xb2de8e>>>0x18]<<0x18|_0x26576a[_0x114e85>>>0x10&0xff]<<0x10|_0x26576a[_0x393287>>>0x8&0xff]<<0x8|_0x26576a[_0x27d185&0xff])^_0x27cbce[_0x5189c5++],_0xb9ff81=(_0x26576a[_0x114e85>>>0x18]<<0x18|_0x26576a[_0x393287>>>0x10&0xff]<<0x10|_0x26576a[_0x27d185>>>0x8&0xff]<<0x8|_0x26576a[_0xb2de8e&0xff])^_0x27cbce[_0x5189c5++],_0xd0bc44=(_0x26576a[_0x393287>>>0x18]<<0x18|_0x26576a[_0x27d185>>>0x10&0xff]<<0x10|_0x26576a[_0xb2de8e>>>0x8&0xff]<<0x8|_0x26576a[_0x114e85&0xff])^_0x27cbce[_0x5189c5++];_0x347b6c[_0x10221c]=_0x25f7dc,_0x347b6c[_0x10221c+0x1]=_0xcb790b,_0x347b6c[_0x10221c+0x2]=_0xb9ff81,_0x347b6c[_0x10221c+0x3]=_0xd0bc44;},'keySize':0x100/0x20});_0x4f3f1d[_0x3e3144(0x3e3)]=_0xa757af[_0x3e3144(0x24b)](_0x1a2b7e);}()),_0x243ca9[_0x5aacee(0x3e3)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x10759f(0x3be)],at;function Xi(){var _0x5aba68=_0x10759f;return at||(at=0x1,function(_0x3ca48d,_0x3171ee){(function(_0x5e1a3c,_0x1d1dd2){var _0x509b4e=_0x3e40;_0x3ca48d[_0x509b4e(0x3be)]=_0x1d1dd2(ee());}(Ji,function(_0x142f84){var _0x2a56c7=_0x3e40;return _0x142f84[_0x2a56c7(0x460)][_0x2a56c7(0x37e)];}));}(be)),be[_0x5aba68(0x3be)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x10759f(0x3be)],ct;function tn(){return ct||(ct=0x1,function(_0x4d792f,_0x1dc784){(function(_0x1b834d,_0xbf28b8){var _0x5b6611=_0x3e40;_0x4d792f[_0x5b6611(0x3be)]=_0xbf28b8(ee());}(en,function(_0x2b4b87){var _0x38df43=_0x3e40;return(function(){var _0x586282=_0x3e40;if(typeof ArrayBuffer=='function'){var _0x36fff3=_0x2b4b87,_0x545ce7=_0x36fff3[_0x586282(0x272)],_0x4a5039=_0x545ce7[_0x586282(0x2c4)],_0x4f9917=_0x4a5039[_0x586282(0x376)],_0xc7cac4=_0x4a5039[_0x586282(0x376)]=function(_0x35738f){var _0xa556fc=_0x586282;if(_0x35738f instanceof ArrayBuffer&&(_0x35738f=new Uint8Array(_0x35738f)),(_0x35738f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35738f instanceof Uint8ClampedArray||_0x35738f instanceof Int16Array||_0x35738f instanceof Uint16Array||_0x35738f instanceof Int32Array||_0x35738f instanceof Uint32Array||_0x35738f instanceof Float32Array||_0x35738f instanceof Float64Array)&&(_0x35738f=new Uint8Array(_0x35738f[_0xa556fc(0x3f2)],_0x35738f[_0xa556fc(0x3fd)],_0x35738f[_0xa556fc(0x193)])),_0x35738f instanceof Uint8Array){for(var _0x37dfe6=_0x35738f[_0xa556fc(0x193)],_0x4e2ec9=[],_0x390ad2=0x0;_0x390ad2<_0x37dfe6;_0x390ad2++)_0x4e2ec9[_0x390ad2>>>0x2]|=_0x35738f[_0x390ad2]<<0x18-_0x390ad2%0x4*0x8;_0x4f9917[_0xa556fc(0x2b4)](this,_0x4e2ec9,_0x37dfe6);}else _0x4f9917[_0xa556fc(0x3a6)](this,arguments);};_0xc7cac4['prototype']=_0x4a5039;}}()),_0x2b4b87[_0x38df43(0x272)][_0x38df43(0x2c4)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x10759f(0x3be)],ht;function on(){var _0x4d2678=_0x10759f;return ht||(ht=0x1,function(_0x291a79,_0x7641a4){(function(_0x4ae66d,_0x35835f,_0x395624){var _0x30c830=_0x3e40;_0x291a79[_0x30c830(0x3be)]=_0x35835f(ee(),At());}(sn,function(_0x5507f4){var _0x353afe=_0x3e40;return _0x5507f4[_0x353afe(0x2f0)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5507f4[_0x353afe(0x2f0)]['NoPadding'];}));}(ye)),ye[_0x4d2678(0x3be)];}var an=on();const cn=Se(an);function hn(_0x4f70af,_0x46ac9e){var _0x4590d8=_0x10759f;const _0x279744=_0x46ac9e-_0x4f70af[_0x4590d8(0x36b)]%_0x46ac9e,_0x20509d=String['fromCharCode'](_0x279744)['repeat'](_0x279744);return _0x4f70af+_0x20509d;}function _0x5c4c(){var _0x2c2003=['PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_TERMINATE','EvpKDF','IUniverInstanceService','_injector','UniverInstanceType','__creator','randomBytes','includes','ONLINE','SetSelectionsOperation','univer-pro.collaboration-client.network-condition.service','onSendChangeset','JSONX','c1Prime','range','_schedule','CHANGESET_REJ','commentUpdate$','getUnitOnRev','?url=','synced','OTHER_CLIENTS_EDITING','onSyncEditingCollabCursor','NEW_CHANGESETS','_updateLocalCache','socket\x20open.','UniverNetworkPlugin','update','emitEvent','next','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMiss','add','LEAVE','listCollaborators','_resendWithTimeout','_getCurrentRevision','PasswordBasedCipher','UNIVER_SLIDE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startCollaboration','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_parse','/resources','_cipher','__esModule','COLLAB_WEB_SOCKET_URL_KEY','ISnapshotServerService','COLLAB_SUBMIT_CHANGESET_URL','[OfflineState]:\x20received\x20changeset.','sessionStatus','shouldCloseConn','CollaborationUIEventId','3749908FVKUhg','UPDATE_CURSOR','conflict','Encryptor','HEARTBEAT_INTERVAL','onRemoteRej','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','replace','AwaitingState','PERMISSION_REJ','WorkbookEditablePermission','rxjs/operators','275hslEoG','toDisposable','242778iWamfv','Base64','unitID','formatter','_onRemoteACK','ConflictState','OfflineState','listRoles','socketService','@univerjs-pro/license','state','revision','size','removeMember','SnapshotService','CommentService','override','fetchThroughInterceptors','[PendingState]:\x20received\x20rejection.','requestParams','_transformStateCache','RichTextEditingMutation','ImageUploadStatusType','copyFileMeta','unsubscribe','firstValueFrom','getLatestCsReqIdBySid','LOGIN_URL_KEY','PendingState','IContextService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','length','Subject','hasOwnProperty','_getDownloadEndpointURL','_ENC_XFORM_MODE','bind','ERROR_EXCEED_SIZE','duration','onMissingChangesets','toggleOffline','DEFAULT_WS_SESSION_TICKET_URL','init','DisposableCollection','stopTime','INTERNAL_ERROR','SEND_CHANGESET_TIMEOUT','_roomCreated$','\x20to\x20','awaiting','Utf8','_initCloseConn','unitId','avatar','IMentionIOService','_socketMessageSubscription','ceil','_userManagerService','UnitSnapshot','YUUMI_RATE_OVER_LIMIT','error$','getAllMembers','_initUnitPermissionChange','univer-pro.collaboration-client-socket-service','concat','charCodeAt','_sheetTransformSelectionsService','collaboration_new_changeset','setShowComponents','transformUndoRedo','iterations','INGEST','/object/','has','collabWebSocketUrl','default','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','JOIN','routeKey','offline','joinRsp','\x0aCurrent:\x20','body','collaboration-client.local-cache-service','retryConnectingInterval','_configService','updateMember','Latin1','BufferedBlockAlgorithm','_redoStacks','apply','unitInfo$','_minBufferSize','UnitEmbedded','{fileID}','every','finalize','/object','reject','SYNCED','_singleActiveUnitService','_replayCachedMutations','SNAPSHOT_URL_KEY','_createSocket','reverse','src','status$','RECV','saveChangeset','event$','requireSession','SerializableCipher','_snapshotService','liveShareNewHost','exports','registerDependencies','auth.needGotoLoginAlert','_sendingTimer','collaboratorID','SheetTransformSelectionsService','subUnitId','debug','enableOfflineEditing','_substituteRedoStack','_loadSheet','IDLE','JOIN_ROOM_FAILED','_xformMode','COLLAB_WEB_SOCKET_URL','[SyncedState]:\x20received\x20acknowledgement.','/-/object/-/batch_allowed','COMPRESS_MUTATION_SEND','/universer-api/stream/file/upload','UNRECOGNIZED','APPLY_REVISION_CONFILICT','MSG_FOR_ERROR','_onJoinRoomEvent','_onRemoteRetry','_getAPIPrefix','updateCollaborator','[OfflineState]:\x20received\x20acknowledgement.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/collaborator','_acknowledgedAwaitingChangeset','_doCryptBlock','/new_changes','[SyncedState]:\x20received\x20rejection.','signUrlServerUrl','RETRY_CONNECTING_MAX_COUNT','UnitStatus','code','AES','updateOfflineData','userID','getRoom','_handlerCallback','$super','getFocusedUnit','/rev/','_replaceFileID','csShouldRetryEvent','USERS_LEAVE','_snapshotServerService','_onUserLeave','OFFLINE','CollaborationSession','buffer','reduce','_lockTransition','_hasher','fetching\x20missing\x20changesets\x20from\x20','ENSURE_SNAPSHOT_EXECUTION','_clearHeartbeatTimer','transformStack\x20failed!','UniverCollaborationClientPlugin','/universer-api/authz','_resendTimeout','byteOffset','eventID','CollaborativeUndoRedoService','SNAPSHOT_SERVER_URL_KEY','image/jpeg','list','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','rng','/role','send','369350dsxhRh','randomUUID','_onConnectionOpen','unknown','60Qpowfi','onRemoteAck','_status$','textEncoder','_transformStack','Cipher','now','RevisionService','loadUnit','_univerInstanceService','prototype','_onLocalMutation','_reverseMap','image/png','status','json','ERROR_IMAGE_TYPE','awaiting_with_pending','OTHER_CLIENT_EDITING','set','baseRev','downloadEndpointUrl','deepClone','splice','updateCursorEvent','_keyPriorReset','FETCH_MISSING','CollaborationEntity','sequenceExecute','Decryptor','subject','_localeService','_telemetryService','csRejEvent','hostname','clear','_roomMembers','kdf','ThresholdInterceptorFactory','_transformService','getMember','FAIL','getInterceptPoints','session','SUCCUSS','2385kuZksU','_socket$','_onRemoteRejected','keySize','_updateState','_hash','_rescheduleHeartbeat','_socketService','UniverCollaborationPlugin','YUUMI_URL_COL_OUT_OF_RANGE','merge','changesets','getConfig','toggleOnline','Module','_telemetryInfo','MergeInterceptorFactory','createIdentifier','LIVESHARE_FETCH_OPERATIONS','reconnect','Hasher','csAckEvent','onRemoteChangeset','clamp','_HTTPService','_transitionLocked','complete','HmacSHA1','entityInit$','selections','getUnitId','mapDocumentTypeToUniverType','connection\x20error','url','POST','_sender','UNDEFINED','_updateStatus','ILogService','delay','enc','SHOULD_CLOSE_CONN','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','action','_disableEditing','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getSnapshotAPIPath','IConfigService','FileId','_sendHeartbeat','@univerjs/drawing','_httpService','_doCreateSocket','msCrypto','LIVESHARE_REQUEST_HOST','HMAC','_getLoginPath','message$','data','liveShareOperation','mutations','_resendTimer','COMMENT_UPDATE','string','_toggleOnline','_timeoutTimer','fetch_missing','_initDependencies','readyForCollab','pending','putCollaborators','close$','_toggleOffline','ciphertext','getImage','reset','format','HELLO','_oKey','People','IUndoRedoService','_registerDependencies','confirm','_changesetReqId','_clearRedo','SNAPSHOT_INVALID_SNAPSHOT','onTransformRemoteChangesetByIMECache','editing\x20status\x20changed\x20to','push','RETRY_CONNECTING_MAX_COUNT_KEY','_config','Malformed\x20UTF-8\x20data','/unit/','/universer-api/file/{fileID}/sign-url','SheetsSelectionsService','ITelemetryService','_stopTelemetryCollaborationNewChangeset','339137XQTBWv','subscribe','_event$','CollaborationImageIoService','_compressMutationService','9224UnInNB','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Disposable','forEach','createCollaborator','withCredentials','CHANGESET_SHOULD_RETRY','getGlobalObject','NOT_FOUND','extend','_prevBlock','deserializeToCombResponse','NOT_COLLAB','@univerjs/core','encryptBlock','decryptBlock','saveImage','HEARTBEAT','touchDependencies','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','equals','onCommentUpdate','_data','CommandType','_executeRemoteChangeset','_keySchedule','slice','_change$','IPermissionService','image/gif','ALREADY_EXISTS','_remoteChangesetQueue','commentUpdateEvent','_isPermissionRej','setCurrentUser','MentionIoHttpService','encrypt','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ICommandService','_clearScheduledTask','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearTimeoutTimer','isArray','_createHandler','680008hSpYHO','_collaborationTimeoutTimer','addImageSourceCache','_collaborationSessionService','SHA1','encodeURIComponent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SUBMIT_CHANGESET_TIMEOUT','resend','_onOffline','_members$','sin','batchAllowed','/universer-api/snapshot','SnapshotServerOverHTTPService','ISingleActiveUnitService','deleteCollaborator','isTransformMutationsWithChangesetFailure','MUTATION','substr','onRemoteRetry','_entities','SNAPSHOT_HAS_BEEN_REMOVED','title','CompressMutationService','createEncryptor','_scheduleCompleteTimestamp','parseProtocolChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','3OgMpTK','loadOfflineData','UNKNOWN_CODE','permissionRejEvent','_init','@univerjs/network','hasher','compose','_undoRedoService','allowed','&assign=','NO_OTHER_CLIENTS_EDITING','_sessions','change$','AUTHZ_URL_KEY','/universer-api/user/session-ticket','_changesetSessionId','map','HTTPService','getUnitStatus$','catch','JOIN_ROOM_NOT_EXISTS','pipe','[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.','byteLength','_initMergeInterceptor','join','find','online$','_onConnectionFailed','_fetchMissChangesets','_shouldReportTelemetry','/block/','clone','Could\x20not\x20dynamically\x20require\x20\x22','UNIVER_DOC','parse','fromCharCode','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/fetchmissing?from=','SessionStatus','MemberService','CLOSE_ROOM','_transformRemoteChangesetByIMECache','Inject','_type','PY_RUNTIME_SCRIPT_ERROR','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AWAITING_WITH_PENDING','dispose$','_handler','_exhaustRemoteChangesetQueue','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LIVESHARE_OPERATION','closeSession','_process','getCurrentSelections','PERSON','compute','/universer-api/uniscript','decrypt','Injector','AWAITING','_invKeySchedule','YUUMI_SUBSCRIPTION_NOT_FOUND','_incrementRevisionNumber','collaMsg','initWorkbookPermissionChange','result','_listenToNetworkCondition','Undefined','[FetchMissState]','Pkcs7','execute','onStateChange','originalMeta','_sendHeartbeatTimer','_onRecvEvent','focused$','resourceIDs','executeCommand','_clearCollaborationTimeoutTimer','onStarting','stringify','_onMessage','getTypeOfUnitAdded$','disposeWithMe','getImageSourceCache','CHANGESET_ACK','_entityInit$','_throwTelemetryCollaborationNewChangeset','onTransformState','isInternalEditorID','AuthzIoHttpService','newCsEvent','\x20-\x20','_transformIMECache','addHandlerCallback','getCollabEntity$','RxDisposable','authzUrl','incrementRevOfUnit','m2Prime','_collaborationUIEventService','isTransformMutationsWithChangesetSuccess','unitId\x20is\x20not\x20found','GLOBAL_ROOMS_CNT_EXCEEDS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onUserJoin','interceptor','saveSheetBlock','b64DecodeUnicode','getActiveSheet','registerHTTPInterceptor','\x20in\x20_schedule.','collabSubmitChangesetUrl','[CollaborationEntity]','memberID','setConfig','SheetCollaborationEntity','_doReset','_instanceService','values','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHmacHelper','from','&source=','&to=','_retryConnectingTimer','INVALID_ARGUMENT','params','objects','Base','getCurrentUser','_commandService','encode','_waitForHeartbeatResponse','SOCKET_FAILED_RETRY','session.room-permission-denied','APPLY_NON_SEQUENTIAL_REVISION','_tryEnsureSocket','_awaitingChangeset','TOO_MANY_REQUESTS','_submitChangeset','_checkMissing','_getRedoStack','BASE64','getSheetId','_applyRemoteChangeset','_members','FetchingMissState','_queuedRemoteChangesets','PENDING','_removeRoom','textRanges','shareReplay','_map','CollaborationSocketService','_onConflict','_key','UNIVER_SHEET','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UPDATE_PERMISSION_OBJ','/allowed','OpenSSL','getValue','ICollaborationSocketService','onTransformIME','Hex','INetworkConditionService','Workbook','appendMutation','_transformRemoteChangesetByStateCache','_getAPIPrefixPath','capture','localCacheService','_onCombEvent','_scheduleCollaborationTimeoutTimer','takeUntil','FETCH_MISS','UNKNOWN_CMD','DocCollaborationEntity','ws://127.0.0.1:8000/universer-api/comb/connect','_pendingMutations','mode','[DataLoaderService]','enableSingleActiveInstanceLock','href','function','error','_memberService','_eventService','get','leaveEvent','MD5','append','_createInitialStateImpl','ISocketService','onTransformSelections','_getSendChangesetTimeout','_showConflictNotification','UNIVER_PROJECT','fetchMissingChangesets','DataLoaderService','ImageSourceType','loadSheet','YUUMI_UNABLE_LOAD_URL','HttpExport','_createHelper','SyncedState','crypto','_initRequestHeader','_unitInfo$','dispose','blockSize','padding','CollaborationController','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','UNIVER_UNKNOWN','charAt','state$','_networkConditionService','collaborators','CONNECTOR_DATA_TOO_LARGE','post','algo','unpad','Tools','_iKey','headers','Optional','CollaborationSessionService','_loadDoc','loginUrlKey','onTransformRemoteChangesetByStateCache','@univerjs-pro/collaboration','BlockCipherMode','floor','createInstance','editingUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','filter','_getCtorByUniverType','objectID','DependentOn','lib','getOwnPropertyDescriptor','SUBMIT_CHANGESET','reqId','transformMutationsWithChangeset','_clearLocalCache','LOCAL_CACHE_INTERVAL_KEY','_state$','SEND_CHANGESET_TIMEOUT_KEY','_revisionService','pluginName','random','sessionStatus$','uniscriptRunEvent','SheetPermissionInitController','_emitMembers','_state','JOIN_ROOM_FULL','getUnitType','LOCAL_CACHE_INTERVAL','telemetry\x20info\x20is\x20not\x20initialized','mixIn','getTime','[CollaborationSessionService]','_permissionService','_nDataBytes','ReplaySubject','close','sid','_waitCount','_socket','onCommandExecuted','isPermissionRej','LICENSE_MAX_UNITS_EXCEEDED','_startTelemetryCollaborationNewChangeset','_localCacheService','delete','_logService','_joinRoom','_unitID','Rectangle','_commentService','members$','loadDoc','ivSize','updatePermissionPoint','take','_retryCount','getCurrentRevOfUnit','_nRounds','_mode','JOINING','CBC','_transformSelections','COLLAB_SUBMIT_CHANGESET_URL_KEY','AwaitingWithPendingState','StreamCipher','_decreaseWaiting','CollaborationEvent','type','5071690jfGtDi','_sessionStatus$','[CollaborationSession]','_imageSourceCache','HEARTBEAT_TIMEOUT_KEY','onlyLocal','call','getTypeOfUnitDisposed$','HttpImport','toString','cfg','getResourcesRequest','name','fromCollab','_onRemoteChangeset','_unlockTransition','_iv','getRandomValues','readInt32LE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','WordArray','actions','words','unit-cache-','LICENSE_DISTRO_REJECTED','ITransformService','createDecryptor','cmd','_candidateSocket','LIVESHARE_NEW_HOST','[CollaborationUndoRedoService]','findIndex','create','PERMISSION_DENIED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','location','_socketReady','transformSelections','asObservable','_substituteUndoStack','disableLocalCache','salt','_clearRetryConnectingTimer','sigBytes','_commentUpdate$','COMPRESS_MUTATION_APPLY','save\x20fail\x20reason\x20is\x20','createSocket','not_collab','MentionType','put','LocaleService','_doFinalize','localeService','getSheetBlock','getMemberID','HEARTBEAT_TIMEOUT','getWorkbookSelections','BlockCipher','APPLY_PERMISSION_DENIED','IAuthzIoService','then','_clearUndo','key','pad','onMissedChangesetFetched','_collaborationPaused','abs','_onFetchMissResult','awaitingChangeset','COMPLETION_FINISHED','_collabSessionService','CONFLICT','UNISCRIPT_RUN','defineProperty','SOCKET_FAILED','transformChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','file','_undoStacks','USERS_ENTER','_append','BehaviorSubject','Error\x20on\x20receiving\x20event','rev','_transformUndoredo','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE'];_0x5c4c=function(){return _0x2c2003;};return _0x5c4c();}function ln(_0x7357fa,_0x54f118){var _0x877ff3=_0x10759f;const _0x333ac2=rn['random'](0x10),_0x3d6672=hn(_0x7357fa,0x10),_0x20a362=qi['encrypt'](Qi[_0x877ff3(0x19f)](_0x3d6672),ot['parse'](_0x54f118),{'iv':_0x333ac2,'padding':cn});return _0x333ac2[_0x877ff3(0x38c)](_0x20a362[_0x877ff3(0x481)])['toString'](ot);}function _n(){var _0x536694=_0x10759f;const _0x2f1549=xt[_0x536694(0x4a5)]()['__Key__'];if(_0x2f1549){const _0x4faa7e={'time':Math[_0x536694(0x269)](Date[_0x536694(0x411)]()/0x3e8),'domain':location[_0x536694(0x42d)]};return ln(JSON[_0x536694(0x1ce)](_0x4faa7e),_0x2f1549);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x5dd1c5,_0x25dc26,_0x48fb25,_0x1af35f)=>{var _0x4872ee=_0x10759f;for(var _0x3584bc=_0x1af35f>0x1?void 0x0:_0x1af35f?un(_0x25dc26,_0x48fb25):_0x25dc26,_0x1ae494=_0x5dd1c5[_0x4872ee(0x36b)]-0x1,_0x3e47d2;_0x1ae494>=0x0;_0x1ae494--)(_0x3e47d2=_0x5dd1c5[_0x1ae494])&&(_0x3584bc=_0x3e47d2(_0x3584bc)||_0x3584bc);return _0x3584bc;},vn=(_0x32bdd8,_0x2386b3)=>(_0xf31f70,_0x3018f9)=>_0x2386b3(_0xf31f70,_0x3018f9,_0x32bdd8);let Ne=class{constructor(_0x3b898c){var _0x4ffbd6=_0x10759f;this[_0x4ffbd6(0x46b)]=_0x3b898c,this[_0x4ffbd6(0x24e)]();}[_0x10759f(0x24e)](){var _0x421a55=_0x10759f;this['_httpService'][_0x421a55(0x1ec)]({'interceptor':(_0x1c52fd,_0x56434d)=>{var _0x16d86e=_0x421a55;const _0xf06d5a=_0x1c52fd['headers'],_0x45bf03=_n();return _0x45bf03&&_0xf06d5a[_0x16d86e(0x41e)]('x-univer-host',_0x45bf03),_0x56434d(_0x1c52fd);}});}};Ne=dn([vn(0x0,a[_0x10759f(0x1a7)](q['HTTPService']))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x34d178,_0x3fdb33,_0x403717,_0x571da3)=>{var _0x30bf37=_0x10759f;for(var _0x56f13c=_0x571da3>0x1?void 0x0:_0x571da3?Sn(_0x3fdb33,_0x403717):_0x3fdb33,_0x57265a=_0x34d178[_0x30bf37(0x36b)]-0x1,_0x74e098;_0x57265a>=0x0;_0x57265a--)(_0x74e098=_0x34d178[_0x57265a])&&(_0x56f13c=_0x74e098(_0x56f13c)||_0x56f13c);return _0x56f13c;},Me=(_0x2d6c35,_0x45f72e)=>(_0x61d8,_0x14ca1d)=>_0x45f72e(_0x61d8,_0x14ca1d,_0x2d6c35);exports['DataLoaderService']=class extends a[_0x10759f(0x1de)]{constructor(_0x591227,_0x421563,_0x134fe6){var _0x49f2f2=_0x10759f;super(),P(this,_0x49f2f2(0x24f),new j['BehaviorSubject'](null)),P(this,_0x49f2f2(0x3a7),this['_unitInfo$'][_0x49f2f2(0x2d6)]()),(this[_0x49f2f2(0x297)]=_0x591227,this[_0x49f2f2(0x3bc)]=_0x421563,this[_0x49f2f2(0x295)]=_0x134fe6);}async[_0x10759f(0x413)](_0x52fe1d,_0x5865e7,_0x4ba36a){var _0x195327=_0x10759f;this[_0x195327(0x24f)][_0x195327(0x326)]({'unitId':_0x52fe1d,'type':_0x5865e7,'subUnitId':_0x4ba36a});let _0x44bcda=null;switch(_0x5865e7){case X[_0x195327(0x21b)]:{_0x44bcda=await this[_0x195327(0x3c8)](_0x52fe1d);break;}case X['UNIVER_DOC']:{_0x44bcda=await this[_0x195327(0x264)](_0x52fe1d);break;}default:{this['_logService'][_0x195327(0x238)](_0x195327(0x234),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x44bcda;}async[_0x10759f(0x3c8)](_0x42ac68){var _0x3a3131=_0x10759f,_0x29932a;let _0x397097=0x0;const _0x1ac273=await((_0x29932a=this[_0x3a3131(0x295)])==null?void 0x0:_0x29932a[_0x3a3131(0x17c)](_0x42ac68));return _0x1ac273&&(_0x1ac273['awaitingChangeset']||_0x1ac273[_0x3a3131(0x474)][_0x3a3131(0x36b)]!==0x0)&&(_0x397097=_0x1ac273['rev']),_0x397097===0x0&&this['_logService'][_0x3a3131(0x3c5)](_0x3a3131(0x234),_0x3a3131(0x2c3)),this[_0x3a3131(0x3bc)][_0x3a3131(0x248)](_0x42ac68,_0x397097);}async['_loadDoc'](_0x18bf4d){var _0x24902e=_0x10759f,_0x460d49;let _0x1ea694=0x0;const _0x3ff8a6=await((_0x460d49=this[_0x24902e(0x295)])==null?void 0x0:_0x460d49[_0x24902e(0x17c)](_0x18bf4d));return _0x3ff8a6&&(_0x3ff8a6['awaitingChangeset']||_0x3ff8a6[_0x24902e(0x474)][_0x24902e(0x36b)]!==0x0)&&(_0x1ea694=_0x3ff8a6[_0x24902e(0x304)]),_0x1ea694===0x0&&this[_0x24902e(0x297)][_0x24902e(0x3c5)]('[DataLoaderService]',_0x24902e(0x2c3)),this['_snapshotService'][_0x24902e(0x29d)](_0x18bf4d,_0x1ea694);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x10759f(0x45e)]),Me(0x1,a[_0x10759f(0x1a7)](g[_0x10759f(0x35a)])),Me(0x2,a['Optional'](z))],exports[_0x10759f(0x246)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x5c2f3d,_0x2f66e9,_0x49a2f1,_0x3add25)=>{var _0x44ff98=_0x10759f;for(var _0x493f60=_0x3add25>0x1?void 0x0:_0x3add25?pn(_0x2f66e9,_0x49a2f1):_0x2f66e9,_0x3797c3=_0x5c2f3d[_0x44ff98(0x36b)]-0x1,_0x446e76;_0x3797c3>=0x0;_0x3797c3--)(_0x446e76=_0x5c2f3d[_0x3797c3])&&(_0x493f60=_0x446e76(_0x493f60)||_0x493f60);return _0x493f60;},xe=(_0x32cf11,_0x4e5df2)=>(_0x5de502,_0x1feaf6)=>_0x4e5df2(_0x5de502,_0x1feaf6,_0x32cf11);const mn=[_0x10759f(0x418),_0x10759f(0x401),'image/jpg',_0x10759f(0x4bb),'image/bmp'],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x10759f(0x3d0),Tn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',bn=_0x10759f(0x495);exports['CollaborationImageIoService']=class{constructor(_0x36483a,_0x4d7278,_0x1b5362){var _0x34f6bd=_0x10759f;P(this,_0x34f6bd(0x28f),0x0),P(this,'_change$',new j[(_0x34f6bd(0x36c))]()),P(this,_0x34f6bd(0x188),this[_0x34f6bd(0x4b9)]),P(this,_0x34f6bd(0x2b1),new Map()),(this[_0x34f6bd(0x46b)]=_0x36483a,this[_0x34f6bd(0x3a1)]=_0x4d7278,this[_0x34f6bd(0x414)]=_0x1b5362);}['setWaitCount'](_0x5d5085){var _0x298b86=_0x10759f;this['_waitCount']=_0x5d5085,this[_0x298b86(0x4b9)][_0x298b86(0x326)](_0x5d5085);}[_0x10759f(0x1d2)](_0x13479e,_0x2fba2a){var _0x1d228c=_0x10759f;if(_0x2fba2a===J['ImageSourceType'][_0x1d228c(0x20d)]){const _0x49a26b=new Image();return _0x49a26b[_0x1d228c(0x3b5)]=_0x13479e,_0x49a26b;}return this['_imageSourceCache'][_0x1d228c(0x23b)](_0x13479e);}[_0x10759f(0x4cd)](_0x5680b8,_0x47156b,_0x30471d){var _0x23f50c=_0x10759f;_0x47156b===J[_0x23f50c(0x247)]['BASE64']||_0x30471d==null||this[_0x23f50c(0x2b1)][_0x23f50c(0x41e)](_0x5680b8,_0x30471d);}async[_0x10759f(0x482)](_0x43aa23){var _0x4cccf4=_0x10759f;try{const _0x2e7bd4=this[_0x4cccf4(0x3eb)](this['_getSignURL'](),''+_0x43aa23),_0x51ca96=(await this['_httpService'][_0x4cccf4(0x23b)](_0x2e7bd4))[_0x4cccf4(0x39e)];if(_0x51ca96[_0x4cccf4(0x238)]&&_0x51ca96[_0x4cccf4(0x238)][_0x4cccf4(0x3e2)]===Ct['OK']){const _0x4cdef6=new URL(_0x51ca96[_0x4cccf4(0x459)],this[_0x4cccf4(0x36e)]())['toString']();return Promise['resolve'](_0x4cdef6);}return Promise[_0x4cccf4(0x3ae)](_0x51ca96['error']);}catch(_0x6305e3){return Promise[_0x4cccf4(0x3ae)](_0x6305e3);}}async[_0x10759f(0x4ae)](_0x28621c){var _0x38d043=_0x10759f;let _0x55d870='';if(!mn[_0x38d043(0x310)](_0x28621c[_0x38d043(0x2ad)]))return this[_0x38d043(0x2ab)](),Promise[_0x38d043(0x3ae)](new Error(J['ImageUploadStatusType'][_0x38d043(0x41b)]));if(_0x28621c[_0x38d043(0x358)]>In)return this[_0x38d043(0x2ab)](),Promise[_0x38d043(0x3ae)](new Error(J[_0x38d043(0x362)][_0x38d043(0x371)]));try{const _0x2f2856=new FormData();_0x2f2856[_0x38d043(0x23e)](_0x38d043(0x2fe),_0x28621c);const _0x2e322c=this[_0x38d043(0x414)][_0x38d043(0x3e9)](),_0x90886=_0x2e322c==null?void 0x0:_0x2e322c['getUnitId']();if(!_0x90886)throw new Error(_0x38d043(0x1e4));const _0xc7412b=this['_getUploadFileURL']()+'?size='+_0x28621c[_0x38d043(0x358)][_0x38d043(0x2b7)]()+_0x38d043(0x1f9)+Tt[_0x38d043(0x3a9)]+_0x38d043(0x185)+encodeURIComponent(_0x90886),_0x10a93f=await(await fetch(_0xc7412b,{'method':_0x38d043(0x45a),'body':_0x2f2856}))[_0x38d043(0x41a)]();if(typeof _0x10a93f[_0x38d043(0x468)]!=_0x38d043(0x477))return this[_0x38d043(0x2ab)](),Promise[_0x38d043(0x3ae)](new Error(J['ImageUploadStatusType'][_0x38d043(0x307)]));_0x55d870=_0x10a93f[_0x38d043(0x468)];}catch{return this[_0x38d043(0x2ab)](),Promise[_0x38d043(0x3ae)](new Error(J[_0x38d043(0x362)]['ERROR_IMAGE']));}return new Promise((_0x2756e1,_0x50452c)=>{const _0x5dcc7d=new FileReader();_0x5dcc7d['readAsDataURL'](_0x28621c),_0x5dcc7d['onload']=_0x1c9b9b=>{var _0x374a3e=_0x3e40,_0x4fadbe;const _0x351428=(_0x4fadbe=_0x1c9b9b['target'])==null?void 0x0:_0x4fadbe[_0x374a3e(0x1bf)];if(_0x351428==null){this[_0x374a3e(0x2ab)](),_0x50452c(new Error(J['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x232a1e=a[_0x374a3e(0x25f)]['generateRandomId'](0x6);_0x2756e1({'imageId':_0x232a1e,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x55d870,'base64Cache':_0x351428,'status':J[_0x374a3e(0x362)][_0x374a3e(0x437)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x588607=_0x10759f,_0x383138,_0x89ecdd;const _0x90588a=this[_0x588607(0x3a1)]['getConfig'](En),_0x1ffe21=this[_0x588607(0x3a1)][_0x588607(0x444)](Y);return(_0x89ecdd=(_0x383138=_0x1ffe21==null?void 0x0:_0x1ffe21['uploadFileServerUrl'])!=null?_0x383138:_0x90588a)!=null?_0x89ecdd:Cn;}['_getSignURL'](){var _0x5f4834=_0x10759f,_0xcf7acc,_0x270de4;const _0x7c1931=this[_0x5f4834(0x3a1)][_0x5f4834(0x444)](Tn),_0x531b25=this[_0x5f4834(0x3a1)]['getConfig'](Y);return(_0x270de4=(_0xcf7acc=_0x531b25==null?void 0x0:_0x531b25[_0x5f4834(0x3df)])!=null?_0xcf7acc:_0x7c1931)!=null?_0x270de4:bn;}[_0x10759f(0x36e)](){var _0x25e601=_0x10759f,_0x544e27;const _0x3c5c2e=this['_configService'][_0x25e601(0x444)](Y);return(_0x544e27=_0x3c5c2e==null?void 0x0:_0x3c5c2e[_0x25e601(0x420)])!=null?_0x544e27:location['origin'];}[_0x10759f(0x3eb)](_0x41ec3b,_0x5d2e7a){var _0x78df3d=_0x10759f;return _0x41ec3b[_0x78df3d(0x345)](_0x78df3d(0x3aa),_0x5d2e7a);}[_0x10759f(0x2ab)](){var _0x496ba1=_0x10759f;this[_0x496ba1(0x28f)]-=0x1,this['_change$'][_0x496ba1(0x326)](this[_0x496ba1(0x28f)]);}},exports[_0x10759f(0x49c)]=gn([xe(0x0,a[_0x10759f(0x1a7)](q[_0x10759f(0x18d)])),xe(0x1,a[_0x10759f(0x467)]),xe(0x2,a[_0x10759f(0x1a7)](a[_0x10759f(0x30b)]))],exports[_0x10759f(0x49c)]);var Rn=Object[_0x10759f(0x273)],yn=(_0x28aea3,_0x1f9901,_0x2d4008,_0x1fc22a)=>{var _0x13569d=_0x10759f;for(var _0x39653a=_0x1fc22a>0x1?void 0x0:_0x1fc22a?Rn(_0x1f9901,_0x2d4008):_0x1f9901,_0x159292=_0x28aea3[_0x13569d(0x36b)]-0x1,_0x94ddbf;_0x159292>=0x0;_0x159292--)(_0x94ddbf=_0x28aea3[_0x159292])&&(_0x39653a=_0x94ddbf(_0x39653a)||_0x39653a);return _0x39653a;},lt=(_0x353d21,_0x5627dc)=>(_0x554ecc,_0xfeffd)=>_0x5627dc(_0x554ecc,_0xfeffd,_0x353d21);const On=_0x10759f(0x3fb);exports['MentionIoHttpService']=class{constructor(_0x22ca87,_0x588b96){var _0x2e45ee=_0x10759f;this[_0x2e45ee(0x3a1)]=_0x22ca87,this[_0x2e45ee(0x450)]=_0x588b96;}[_0x10759f(0x228)](){var _0x468811=_0x10759f,_0x565e1b,_0x2626d4;const _0x3cc293=this[_0x468811(0x3a1)][_0x468811(0x444)](Ve),_0x20c5c3=this['_configService'][_0x468811(0x444)](Y);return(_0x2626d4=(_0x565e1b=_0x20c5c3==null?void 0x0:_0x20c5c3[_0x468811(0x1df)])!=null?_0x565e1b:_0x3cc293)!=null?_0x2626d4:On;}async['list'](_0x99a1ee){var _0x1cc023=_0x10759f;const _0x53e182=this[_0x1cc023(0x228)]()+_0x1cc023(0x3da);return{'list':[{'title':_0x1cc023(0x487),'mentions':(await this['_HTTPService']['get'](_0x53e182,{'params':{'objectID':_0x99a1ee['unitId'],'unitID':_0x99a1ee[_0x1cc023(0x380)]}}))[_0x1cc023(0x39e)][_0x1cc023(0x25a)][_0x1cc023(0x18c)](_0x561639=>({'objectId':_0x561639['id'],'name':_0x561639['subject'][_0x1cc023(0x2ba)],'metadata':{'icon':_0x561639['subject'][_0x1cc023(0x381)]},'label':_0x561639[_0x1cc023(0x429)][_0x1cc023(0x2ba)],'objectType':a[_0x1cc023(0x2e1)][_0x1cc023(0x1b4)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports['MentionIoHttpService']=yn([lt(0x0,a[_0x10759f(0x1a7)](a[_0x10759f(0x467)])),lt(0x1,a['Inject'](q[_0x10759f(0x18d)]))],exports[_0x10759f(0x4c1)]);var Nn=Object[_0x10759f(0x273)],Dn=(_0x12e999,_0x3dcb73,_0x57cd49,_0x538b7f)=>{for(var _0x3a7eeb=_0x538b7f>0x1?void 0x0:_0x538b7f?Nn(_0x3dcb73,_0x57cd49):_0x3dcb73,_0x37f011=_0x12e999['length']-0x1,_0x13ebb3;_0x37f011>=0x0;_0x37f011--)(_0x13ebb3=_0x12e999[_0x37f011])&&(_0x3a7eeb=_0x13ebb3(_0x3a7eeb)||_0x3a7eeb);return _0x3a7eeb;},ue=(_0x257937,_0x3733a8)=>(_0x1d20d5,_0x3c53ab)=>_0x3733a8(_0x1d20d5,_0x3c53ab,_0x257937);let De=class extends a['RxDisposable']{constructor(_0x4a68eb,_0x1f4bae,_0x33e4e3,_0x417892,_0x51b858){var _0x3d22b9=_0x10759f;super(),this[_0x3d22b9(0x30c)]=_0x4a68eb,this[_0x3d22b9(0x414)]=_0x1f4bae,this[_0x3d22b9(0x28a)]=_0x33e4e3,this['_collaborationSessionService']=_0x417892,this[_0x3d22b9(0x1e2)]=_0x51b858,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x10759f(0x37f)](){var _0x5af0f3=_0x10759f;const _0x59a0e3=async _0x3e23e0=>{var _0x198cbf=_0x3e40;(await this[_0x198cbf(0x4ce)][_0x198cbf(0x3ba)](_0x3e23e0))[_0x198cbf(0x3b9)][_0x198cbf(0x191)](W[_0x198cbf(0x26e)](_0x52b7d1=>_0x52b7d1[_0x198cbf(0x3fe)]===g[_0x198cbf(0x2ac)][_0x198cbf(0x461)]),W[_0x198cbf(0x22d)](this[_0x198cbf(0x1ac)]))[_0x198cbf(0x49a)](_0x47b5ed=>{var _0x4e8a63=_0x198cbf;const _0x5293de=_0x47b5ed,{reason:_0x27dded}=_0x5293de[_0x4e8a63(0x472)];this[_0x4e8a63(0x1e2)][_0x4e8a63(0x325)]({'id':Q[_0x4e8a63(0x1a5)],'data':_0x27dded}),this[_0x4e8a63(0x28a)][_0x4e8a63(0x29f)](new Z[(_0x4e8a63(0x348))](_0x3e23e0)['id'],!0x1),this[_0x4e8a63(0x4ce)]['closeSession'](_0x3e23e0);});};j[_0x5af0f3(0x442)](this[_0x5af0f3(0x414)]['getTypeOfUnitAdded$'](a[_0x5af0f3(0x30d)][_0x5af0f3(0x21b)]),this[_0x5af0f3(0x414)][_0x5af0f3(0x1d0)](a[_0x5af0f3(0x30d)][_0x5af0f3(0x19e)]))[_0x5af0f3(0x191)](W[_0x5af0f3(0x18c)](_0x3ba352=>_0x3ba352[_0x5af0f3(0x456)]()),W['filter'](_0x357e5c=>!a[_0x5af0f3(0x1d7)](_0x357e5c)),W[_0x5af0f3(0x22d)](this[_0x5af0f3(0x1ac)]))[_0x5af0f3(0x49a)](_0xce3b12=>{_0x59a0e3(_0xce3b12);});}[_0x10759f(0x38a)](){var _0x41ff21=_0x10759f;const _0x108970=async _0x5e8680=>{var _0x329080=_0x3e40;const _0x1cbb58=await this['_collaborationSessionService']['requireSession'](_0x5e8680),_0x4019c8=this['_injector'][_0x329080(0x23b)](Z[_0x329080(0x280)]);_0x1cbb58[_0x329080(0x3b9)][_0x329080(0x191)](W[_0x329080(0x26e)](_0xb02999=>_0xb02999[_0x329080(0x3fe)]===g[_0x329080(0x2ac)][_0x329080(0x21d)]),W[_0x329080(0x22d)](this['dispose$']))[_0x329080(0x49a)](_0x470110=>{var _0x4c2af1=_0x329080;const _0x4ca073=_0x470110,{objectId:_0x4a762e}=_0x4ca073[_0x4c2af1(0x472)];_0x4a762e===_0x5e8680?_0x4019c8[_0x4c2af1(0x1be)](_0x5e8680):_0x4019c8['refreshPermission'](_0x5e8680,_0x4a762e);});};j[_0x41ff21(0x442)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x41ff21(0x21b)]))['pipe'](W['map'](_0x373924=>_0x373924[_0x41ff21(0x456)]()),W[_0x41ff21(0x26e)](_0x439fe4=>!a[_0x41ff21(0x1d7)](_0x439fe4)),W[_0x41ff21(0x22d)](this[_0x41ff21(0x1ac)]))[_0x41ff21(0x49a)](_0x93bd12=>{_0x108970(_0x93bd12);});}};De=Dn([ue(0x0,a[_0x10759f(0x1a7)](a['Injector'])),ue(0x1,a[_0x10759f(0x30b)]),ue(0x2,a[_0x10759f(0x4ba)]),ue(0x3,a[_0x10759f(0x1a7)](exports['CollaborationSessionService'])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x10759f(0x273)],Pn=(_0x91c964,_0x3a713e,_0x27bd67,_0x5029f0)=>{for(var _0x3d36e9=_0x5029f0>0x1?void 0x0:_0x5029f0?Un(_0x3a713e,_0x27bd67):_0x3a713e,_0x2748b2=_0x91c964['length']-0x1,_0x1b1096;_0x2748b2>=0x0;_0x2748b2--)(_0x1b1096=_0x91c964[_0x2748b2])&&(_0x3d36e9=_0x1b1096(_0x3d36e9)||_0x3d36e9);return _0x3d36e9;},_t=(_0x1edae1,_0x12c33b)=>(_0x33e3a5,_0xb8ded)=>_0x12c33b(_0x33e3a5,_0xb8ded,_0x1edae1);exports[_0x10759f(0x4da)]=class{constructor(_0x302741,_0x3af799){var _0x49493f=_0x10759f;this[_0x49493f(0x3a1)]=_0x302741,this[_0x49493f(0x46b)]=_0x3af799;}async[_0x10759f(0x31b)](_0x23bd86,_0x1de725){var _0xaea94d=_0x10759f,_0x178b88;const {unitID:_0x15b45a,type:_0x3755ff,revision:_0x432a6f=0x0}=_0x1de725,_0x350fa4=this[_0xaea94d(0x466)]()+'/'+_0x3755ff+_0xaea94d(0x494)+_0x15b45a+_0xaea94d(0x3ea)+_0x432a6f,_0x5db34c=(await this['_httpService'][_0xaea94d(0x23b)](_0x350fa4))[_0xaea94d(0x39e)],_0x4fd230=(_0x178b88=_0x5db34c['snapshot'])==null?void 0x0:_0x178b88['workbook'];if(_0x4fd230){const _0xa5bfa9=_0x4fd230==null?void 0x0:_0x4fd230['originalMeta'],_0xdbedb0=g[_0xaea94d(0x40e)][_0xaea94d(0x202)](g[_0xaea94d(0x1ea)](_0xa5bfa9));_0x4fd230['originalMeta']=_0xdbedb0,Object['entries'](_0x4fd230['sheets'])[_0xaea94d(0x4a1)](([,_0x45a1a1])=>{var _0x3359fe=_0xaea94d;const _0x155647=_0x45a1a1[_0x3359fe(0x1c6)],_0x5dc857=g['textEncoder'][_0x3359fe(0x202)](g[_0x3359fe(0x1ea)](_0x155647));_0x45a1a1[_0x3359fe(0x1c6)]=_0x5dc857;});}return _0x5db34c;}async[_0x10759f(0x2e6)](_0x10f6c6,_0x213012){var _0x190d30=_0x10759f;const {unitID:_0x99af5d,type:_0x15471d,blockID:_0x2ed6b5}=_0x213012,_0x421ad0=this[_0x190d30(0x3d6)]()+'/'+_0x15471d+'/unit/'+_0x99af5d+'/block/'+_0x2ed6b5;return(await this[_0x190d30(0x46b)][_0x190d30(0x23b)](_0x421ad0))[_0x190d30(0x39e)];}async['getDeserializedSheetBlock'](_0x1b2214,_0x2b78b7){var _0x3a8d5e=_0x10759f;const {unitID:_0x57f540,type:_0x1b94fa,blockID:_0x3bfcdd}=_0x2b78b7,_0x4261ac=this[_0x3a8d5e(0x3d6)]()+_0x3a8d5e(0x19b)+_0x1b94fa+_0x3a8d5e(0x494)+_0x57f540+'/block/'+_0x3bfcdd;return(await this[_0x3a8d5e(0x46b)][_0x3a8d5e(0x23b)](_0x4261ac))['body'];}async['fetchMissingChangesets'](_0x1454b2,_0x1e067a){var _0x3b41c9=_0x10759f;const {unitID:_0x442f77,type:_0x401acd,from:_0x4920d7,to:_0x30f111}=_0x1e067a,_0x208a41=this['_getAPIPrefix']()+'/'+_0x401acd+_0x3b41c9(0x494)+_0x442f77+_0x3b41c9(0x1a2)+_0x4920d7+_0x3b41c9(0x1fa)+_0x30f111;return(await this[_0x3b41c9(0x46b)]['get'](_0x208a41))[_0x3b41c9(0x39e)];}[_0x10759f(0x466)](){var _0xbf875a=_0x10759f,_0x232aa7;return(_0x232aa7=this[_0xbf875a(0x3a1)][_0xbf875a(0x444)](vt))!=null?_0x232aa7:this[_0xbf875a(0x3d6)]();}[_0x10759f(0x3d6)](){var _0x5af036=_0x10759f,_0x20e3a0,_0x1e821c;const _0x4a0c4e=this[_0x5af036(0x3a1)][_0x5af036(0x444)](dt),_0x47f9e7=this[_0x5af036(0x3a1)]['getConfig'](Y);return(_0x1e821c=(_0x20e3a0=_0x47f9e7==null?void 0x0:_0x47f9e7['snapshotServerUrl'])!=null?_0x20e3a0:_0x4a0c4e)!=null?_0x1e821c:kt;}async[_0x10759f(0x2b9)](_0xca5e8,_0x39cdcf){var _0x5ba4d0=_0x10759f;const _0x41dca4='/universer-api/snapshot/'+_0x39cdcf[_0x5ba4d0(0x2ad)]+'/unit/'+_0x39cdcf[_0x5ba4d0(0x34e)]+_0x5ba4d0(0x334);return(await this[_0x5ba4d0(0x46b)]['get'](_0x41dca4,{'params':{'resourceId':JSON[_0x5ba4d0(0x1ce)](_0x39cdcf[_0x5ba4d0(0x1ca)])}}))[_0x5ba4d0(0x39e)];}['saveSnapshot'](){var _0x3f9422=_0x10759f;throw new Error(_0x3f9422(0x21c));}[_0x10759f(0x1e9)](){var _0x21c4da=_0x10759f;throw new Error(_0x21c4da(0x21c));}[_0x10759f(0x3b8)](){var _0x25b1f1=_0x10759f;throw new Error(_0x25b1f1(0x21c));}[_0x10759f(0x363)](){var _0x3b0782=_0x10759f;throw new Error(_0x3b0782(0x21c));}[_0x10759f(0x366)](){var _0x5cbf17=_0x10759f;throw new Error(_0x5cbf17(0x21c));}},exports[_0x10759f(0x4da)]=Pn([_t(0x0,a[_0x10759f(0x467)]),_t(0x1,a['Inject'](q[_0x10759f(0x18d)]))],exports['SnapshotServerOverHTTPService']);var An=Object[_0x10759f(0x273)],wn=(_0x5ebffb,_0x5f0776,_0x31fd4f,_0x44d18f)=>{for(var _0x19bb56=_0x44d18f>0x1?void 0x0:_0x44d18f?An(_0x5f0776,_0x31fd4f):_0x5f0776,_0x43a15d=_0x5ebffb['length']-0x1,_0x41eebd;_0x43a15d>=0x0;_0x43a15d--)(_0x41eebd=_0x5ebffb[_0x43a15d])&&(_0x19bb56=_0x41eebd(_0x19bb56)||_0x19bb56);return _0x19bb56;},de=(_0x2981e1,_0x334c5d)=>(_0x17997a,_0x5e2f97)=>_0x334c5d(_0x17997a,_0x5e2f97,_0x2981e1);exports[_0x10759f(0x3ff)]=class extends a['LocalUndoRedoService']{constructor(_0x41279e,_0x4d9f1c,_0x2bbe4d,_0x4ceb84,_0x37e487){var _0x341fb8=_0x10759f;super(_0x41279e,_0x4d9f1c,_0x2bbe4d),this[_0x341fb8(0x432)]=_0x4ceb84,this['_logService']=_0x37e487;}[_0x10759f(0x391)](_0x3266ad,_0x41ac9f){var _0x44d6d7=_0x10759f;const _0x492f06=this['_getUndoStack'](_0x3266ad);if(_0x492f06)try{const _0x52e8c1=this[_0x44d6d7(0x40f)](_0x492f06,_0x41ac9f);this['_substituteUndoStack'](_0x3266ad,_0x52e8c1);}catch(_0xb90a63){this[_0x44d6d7(0x297)][_0x44d6d7(0x238)](_0x44d6d7(0x2ce),_0xb90a63),this[_0x44d6d7(0x2ee)](_0x3266ad);}const _0xb58f0e=this['_getRedoStack'](_0x3266ad);if(_0xb58f0e)try{const _0x48895c=this[_0x44d6d7(0x40f)](_0xb58f0e,_0x41ac9f);this[_0x44d6d7(0x3c7)](_0x3266ad,_0x48895c);}catch(_0x324c31){this['_logService']['error'](_0x324c31),this[_0x44d6d7(0x48c)](_0x3266ad);}}['_clearUndo'](_0x12a562){var _0x2e6f64=_0x10759f;const _0x467e63=this['_getUndoStack'](_0x12a562);_0x467e63&&(_0x467e63[_0x2e6f64(0x36b)]=0x0,this[_0x2e6f64(0x45d)]());}[_0x10759f(0x48c)](_0x4169f5){var _0x5475a4=_0x10759f;const _0x1c0145=this[_0x5475a4(0x20c)](_0x4169f5);_0x1c0145&&(_0x1c0145[_0x5475a4(0x36b)]=0x0,this[_0x5475a4(0x45d)]());}[_0x10759f(0x2d7)](_0x43c896,_0x1e2dca){var _0x59d3b4=_0x10759f;this[_0x59d3b4(0x2ff)][_0x59d3b4(0x41e)](_0x43c896,_0x1e2dca),this[_0x59d3b4(0x45d)]();}[_0x10759f(0x3c7)](_0x601170,_0x41dab6){var _0x2ea1e1=_0x10759f;this[_0x2ea1e1(0x3a5)][_0x2ea1e1(0x41e)](_0x601170,_0x41dab6),this[_0x2ea1e1(0x45d)]();}['_transformStack'](_0x45660d,_0x574024){var _0x2d7680=_0x10759f;const _0x531b6a=[];let _0x51e4a0=_0x574024,_0xbbb207=_0x574024;for(let _0x256f2b=_0x45660d['length']-0x1;_0x256f2b>=0x0;_0x256f2b--){const {unitID:_0x584ab4,undoMutations:_0x2550a8,redoMutations:_0x6f0c7a}=_0x45660d[_0x256f2b],_0x4d9e4f=this['_transformService'][_0x2d7680(0x276)](_0x51e4a0,_0x2550a8),_0xbf6b5=this['_transformService'][_0x2d7680(0x276)](_0xbbb207,_0x6f0c7a);if(g[_0x2d7680(0x4dd)](_0x4d9e4f)||g[_0x2d7680(0x4dd)](_0xbf6b5)){this[_0x2d7680(0x297)][_0x2d7680(0x238)](_0x2d7680(0x2ce),_0x2d7680(0x3f9),_0x4d9e4f,_0xbf6b5);break;}_0x51e4a0=_0x4d9e4f['c1Prime'],_0xbbb207=_0xbf6b5[_0x2d7680(0x316)],_0x531b6a[_0x2d7680(0x490)]({'unitID':_0x584ab4,'undoMutations':_0x4d9e4f['m2Prime'],'redoMutations':_0xbf6b5[_0x2d7680(0x1e1)]});}return _0x531b6a[_0x2d7680(0x3b4)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x10759f(0x30b)]),de(0x1,a[_0x10759f(0x4c4)]),de(0x2,a[_0x10759f(0x369)]),de(0x3,g[_0x10759f(0x2c9)]),de(0x4,a[_0x10759f(0x45e)])],exports[_0x10759f(0x3ff)]);var Ln=Object[_0x10759f(0x2fa)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x351b57,_0x3f21f0,_0x189b5b)=>_0x3f21f0 in _0x351b57?Ln(_0x351b57,_0x3f21f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x189b5b}):_0x351b57[_0x3f21f0]=_0x189b5b,kn=(_0x3c405b,_0x33c4ad,_0x114d11,_0x55b2fa)=>{var _0x23ea07=_0x10759f;for(var _0x301a83=_0x55b2fa>0x1?void 0x0:_0x55b2fa?Mn(_0x33c4ad,_0x114d11):_0x33c4ad,_0x22b8de=_0x3c405b[_0x23ea07(0x36b)]-0x1,_0x4eaf2e;_0x22b8de>=0x0;_0x22b8de--)(_0x4eaf2e=_0x3c405b[_0x22b8de])&&(_0x301a83=_0x4eaf2e(_0x301a83)||_0x301a83);return _0x301a83;},ke=(_0x149e32,_0x2398a9)=>(_0x9870b1,_0x241ff0)=>_0x2398a9(_0x9870b1,_0x241ff0,_0x149e32),Hn=(_0x2efdd4,_0x43966e,_0x263a64)=>xn(_0x2efdd4,_0x43966e+'',_0x263a64);const jn=_0x10759f(0x17a);exports[_0x10759f(0x3fa)]=class extends a['Plugin']{constructor(_0x3469e8,_0x5abe82,_0x49432b,_0x494998){var _0x2d449c=_0x10759f;super(),P(this,_0x2d449c(0x492)),(this[_0x2d449c(0x297)]=_0x5abe82,this[_0x2d449c(0x30c)]=_0x49432b,this[_0x2d449c(0x3a1)]=_0x494998);const {..._0x4d7505}=a[_0x2d449c(0x442)]({},Jt,_0x3469e8);if(!_0x4d7505[_0x2d449c(0x354)])throw new Error(_0x2d449c(0x36a));this[_0x2d449c(0x492)]=_0x4d7505,this[_0x2d449c(0x3a1)][_0x2d449c(0x1f1)](Y,_0x4d7505);}[_0x10759f(0x1cd)](){var _0x29a544=_0x10759f;this[_0x29a544(0x489)](),this['_initDependencies']();}[_0x10759f(0x489)](){var _0x3d4d69=_0x10759f,_0xd84f0e,_0xf1a2c9;this[_0x3d4d69(0x30c)][_0x3d4d69(0x395)](a['IUndoRedoService'])&&this[_0x3d4d69(0x297)][_0x3d4d69(0x238)]('[UniverCollaborationClientPlugin]',_0x3d4d69(0x4b1));const _0x336dcc=a['mergeOverrideWithDependencies']([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports[_0x3d4d69(0x1a4)]],[exports[_0x3d4d69(0x3c3)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x3d4d69(0x246)]],[$e,{'useClass':this[_0x3d4d69(0x492)][_0x3d4d69(0x354)]}],[g[_0x3d4d69(0x338)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x3d4d69(0x2ec)],{'useClass':exports[_0x3d4d69(0x1d8)]}],[J['IImageIoService'],{'useClass':exports[_0x3d4d69(0x49c)]}],[a[_0x3d4d69(0x382)],{'useClass':exports[_0x3d4d69(0x4c1)]}],[exports['CollaborationController']],[He]],(_0xd84f0e=this['_config'])==null?void 0x0:_0xd84f0e[_0x3d4d69(0x35c)]);if(!((_0xf1a2c9=this[_0x3d4d69(0x492)])!=null&&_0xf1a2c9[_0x3d4d69(0x235)])){const _0x4f780a=_0x336dcc[_0x3d4d69(0x2cf)](([_0x2df95c])=>_0x2df95c===ve);_0x4f780a!==-0x1&&_0x336dcc[_0x3d4d69(0x422)](_0x4f780a,0x1);}a[_0x3d4d69(0x3bf)](this[_0x3d4d69(0x30c)],_0x336dcc);}[_0x10759f(0x47b)](){var _0x24427c=_0x10759f,_0x4b8d50,_0x47e726,_0xa26912;this[_0x24427c(0x30c)][_0x24427c(0x23b)](q[_0x24427c(0x18d)])[_0x24427c(0x1ec)]({'priority':0x14,'interceptor':q[_0x24427c(0x431)]({'maxParallel':0x6})}),(_0x4b8d50=this[_0x24427c(0x492)])!=null&&_0x4b8d50[_0x24427c(0x3c6)]||(_0x47e726=this['_injector'][_0x24427c(0x23b)](z,a['Quantity']['OPTIONAL']))==null||_0x47e726[_0x24427c(0x2d8)](),(_0xa26912=this[_0x24427c(0x492)])!=null&&_0xa26912['enableAuthServer']&&a[_0x24427c(0x4b0)](this[_0x24427c(0x30c)],[[Oe]]),a[_0x24427c(0x4b0)](this[_0x24427c(0x30c)],[[Ne],[exports[_0x24427c(0x253)]],[De]]);}},Hn(exports[_0x10759f(0x3fa)],_0x10759f(0x27c),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x10759f(0x271)](g[_0x10759f(0x440)],q[_0x10759f(0x323)]),ke(0x1,a[_0x10759f(0x45e)]),ke(0x2,a[_0x10759f(0x1a7)](a[_0x10759f(0x1b8)])),ke(0x3,a['IConfigService'])],exports[_0x10759f(0x3fa)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x10759f(0x49f)]=Y,exports[_0x10759f(0x2a8)]=It,exports[_0x10759f(0x337)]=St,exports['CollaborationStatus']=We,exports[_0x10759f(0x33d)]=Q,exports['CollaborationUIEventService']=te,exports[_0x10759f(0x35b)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x10759f(0x3d9)]=zt,exports[_0x10759f(0x375)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x10759f(0x2b2)]=je,exports[_0x10759f(0x221)]=$e,exports['ILocalCacheService']=z,exports[_0x10759f(0x224)]=bt,exports[_0x10759f(0x4db)]=ve,exports['LOCAL_CACHE_INTERVAL']=Vt,exports[_0x10759f(0x278)]=Gt,exports[_0x10759f(0x367)]=Et,exports[_0x10759f(0x332)]=qt,exports[_0x10759f(0x491)]=mt,exports[_0x10759f(0x27a)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x10759f(0x3b2)]=vt,exports[_0x10759f(0x1a3)]=se,exports[_0x10759f(0x3e1)]=Fe,exports[_0x10759f(0x4a9)]=Rt,exports['getLocalCacheKey']=vi,exports['serializeCombRequest']=yt;