@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6-nightly.202503141606
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
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 _0x4f5e26=_0x1b53;(function(_0x39a229,_0x367ab3){var _0xfdd869=_0x1b53,_0x518272=_0x39a229();while(!![]){try{var _0x444206=parseInt(_0xfdd869(0x516))/0x1*(-parseInt(_0xfdd869(0x3c2))/0x2)+parseInt(_0xfdd869(0x3af))/0x3+parseInt(_0xfdd869(0x4e6))/0x4*(-parseInt(_0xfdd869(0x423))/0x5)+-parseInt(_0xfdd869(0x434))/0x6+parseInt(_0xfdd869(0x49e))/0x7*(-parseInt(_0xfdd869(0x426))/0x8)+-parseInt(_0xfdd869(0x1e0))/0x9*(parseInt(_0xfdd869(0x309))/0xa)+parseInt(_0xfdd869(0x279))/0xb;if(_0x444206===_0x367ab3)break;else _0x518272['push'](_0x518272['shift']());}catch(_0xce2a8a){_0x518272['push'](_0x518272['shift']());}}}(_0x3d6c,0x2562a));var wt=Object[_0x4f5e26(0x440)],Lt=(_0x5b2d24,_0x1c64ee,_0x498101)=>_0x1c64ee in _0x5b2d24?wt(_0x5b2d24,_0x1c64ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x498101}):_0x5b2d24[_0x1c64ee]=_0x498101,P=(_0x3987d0,_0x124237,_0x1ea4d9)=>Lt(_0x3987d0,typeof _0x124237!=_0x4f5e26(0x222)?_0x124237+'':_0x124237,_0x1ea4d9);Object[_0x4f5e26(0x440)](exports,Symbol[_0x4f5e26(0x4f4)],{'value':'Module'});const a=require('@univerjs/core'),j=require(_0x4f5e26(0x1e8)),W=require('rxjs/operators'),g=require(_0x4f5e26(0x393)),q=require(_0x4f5e26(0x23c)),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require(_0x4f5e26(0x36d)),J=require(_0x4f5e26(0x33f)),xt=require('@univerjs-pro/license'),dt=_0x4f5e26(0x388),kt=_0x4f5e26(0x251),vt=_0x4f5e26(0x1db),Ht=_0x4f5e26(0x22c),jt=0x7d0,St=_0x4f5e26(0x34e),ft=_0x4f5e26(0x3f4),$t='/universer-api/user/session-ticket',pt=_0x4f5e26(0x414),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x4f5e26(0x453),Wt=0x3,Gt=_0x4f5e26(0x2fe),Vt=0x3e8,It=_0x4f5e26(0x489),Kt=_0x4f5e26(0x4b0),Et=_0x4f5e26(0x507),Yt=_0x4f5e26(0x296),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt='/universer-api/uniscript';var Ct=(_0x4993b5=>(_0x4993b5[_0x4993b5[_0x4f5e26(0x292)]=0x0]='UNDEFINED',_0x4993b5[_0x4993b5['OK']=0x1]='OK',_0x4993b5[_0x4993b5[_0x4f5e26(0x307)]=0x2]=_0x4f5e26(0x307),_0x4993b5[_0x4993b5[_0x4f5e26(0x261)]=0x3]='PERMISSION_DENIED',_0x4993b5[_0x4993b5[_0x4f5e26(0x301)]=0x4]='NOT_FOUND',_0x4993b5[_0x4993b5[_0x4f5e26(0x1e6)]=0x5]=_0x4f5e26(0x1e6),_0x4993b5[_0x4993b5[_0x4f5e26(0x2c0)]=0x6]=_0x4f5e26(0x2c0),_0x4993b5[_0x4993b5[_0x4f5e26(0x299)]=0x7]=_0x4f5e26(0x299),_0x4993b5[_0x4993b5[_0x4f5e26(0x23f)]=0x8]=_0x4f5e26(0x23f),_0x4993b5[_0x4993b5[_0x4f5e26(0x4d4)]=0x9]='COMPLETION_FINISHED',_0x4993b5[_0x4993b5[_0x4f5e26(0x4b4)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4993b5[_0x4993b5[_0x4f5e26(0x2e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4993b5[_0x4993b5['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4993b5[_0x4993b5[_0x4f5e26(0x3ce)]=0x1773]=_0x4f5e26(0x3ce),_0x4993b5[_0x4993b5[_0x4f5e26(0x3e8)]=0x1b59]='APPLY_REJECT',_0x4993b5[_0x4993b5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4993b5[_0x4993b5['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4f5e26(0x464),_0x4993b5[_0x4993b5[_0x4f5e26(0x4ad)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4993b5[_0x4993b5[_0x4f5e26(0x2b9)]=0x1b5d]=_0x4f5e26(0x2b9),_0x4993b5[_0x4993b5[_0x4f5e26(0x1f6)]=0x1f41]=_0x4f5e26(0x1f6),_0x4993b5[_0x4993b5[_0x4f5e26(0x430)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4993b5[_0x4993b5[_0x4f5e26(0x3b0)]=0x232a]=_0x4f5e26(0x3b0),_0x4993b5[_0x4993b5[_0x4f5e26(0x272)]=0x232b]=_0x4f5e26(0x272),_0x4993b5[_0x4993b5[_0x4f5e26(0x2ee)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4993b5[_0x4993b5[_0x4f5e26(0x21b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4993b5[_0x4993b5['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4f5e26(0x498),_0x4993b5[_0x4993b5[_0x4f5e26(0x2c6)]=0x2712]=_0x4f5e26(0x2c6),_0x4993b5[_0x4993b5[_0x4f5e26(0x46a)]=0x2713]=_0x4f5e26(0x46a),_0x4993b5[_0x4993b5[_0x4f5e26(0x455)]=0x2714]=_0x4f5e26(0x455),_0x4993b5[_0x4993b5[_0x4f5e26(0x268)]=0x2af9]=_0x4f5e26(0x268),_0x4993b5[_0x4993b5[_0x4f5e26(0x416)]=-0x1]=_0x4f5e26(0x416),_0x4993b5))(Ct||{}),X=(_0x83d4bc=>(_0x83d4bc[_0x83d4bc[_0x4f5e26(0x3ca)]=0x0]=_0x4f5e26(0x3ca),_0x83d4bc[_0x83d4bc[_0x4f5e26(0x4eb)]=0x1]='UNIVER_DOC',_0x83d4bc[_0x83d4bc[_0x4f5e26(0x363)]=0x2]=_0x4f5e26(0x363),_0x83d4bc[_0x83d4bc['UNIVER_SLIDE']=0x3]=_0x4f5e26(0x4e5),_0x83d4bc[_0x83d4bc['UNIVER_PROJECT']=0x4]=_0x4f5e26(0x48d),_0x83d4bc[_0x83d4bc['UNRECOGNIZED']=-0x1]=_0x4f5e26(0x416),_0x83d4bc))(X||{}),G=(_0x4c246c=>(_0x4c246c[_0x4c246c[_0x4f5e26(0x2bf)]=0x0]=_0x4f5e26(0x2bf),_0x4c246c[_0x4c246c[_0x4f5e26(0x289)]=0x1]='HELLO',_0x4c246c[_0x4c246c['JOIN']=0x2]='JOIN',_0x4c246c[_0x4c246c[_0x4f5e26(0x3bd)]=0x3]=_0x4f5e26(0x3bd),_0x4c246c[_0x4c246c[_0x4f5e26(0x2cb)]=0x4]=_0x4f5e26(0x2cb),_0x4c246c[_0x4c246c[_0x4f5e26(0x4db)]=0x5]='HEARTBEAT',_0x4c246c[_0x4c246c[_0x4f5e26(0x519)]=0x6]=_0x4f5e26(0x519),_0x4c246c[_0x4c246c[_0x4f5e26(0x416)]=-0x1]=_0x4f5e26(0x416),_0x4c246c))(G||{}),ae=(_0x47e0d5=>(_0x47e0d5[_0x47e0d5[_0x4f5e26(0x325)]=0x0]='UNKNOWN_CODE',_0x47e0d5[_0x47e0d5['OK']=0x1]='OK',_0x47e0d5[_0x47e0d5[_0x4f5e26(0x522)]=0x2]=_0x4f5e26(0x522),_0x47e0d5[_0x47e0d5[_0x4f5e26(0x4ff)]=0x3e9]=_0x4f5e26(0x4ff),_0x47e0d5[_0x47e0d5[_0x4f5e26(0x52b)]=0x3ea]=_0x4f5e26(0x52b),_0x47e0d5[_0x47e0d5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4f5e26(0x42e),_0x47e0d5[_0x47e0d5[_0x4f5e26(0x3bc)]=0x3ec]=_0x4f5e26(0x3bc),_0x47e0d5[_0x47e0d5[_0x4f5e26(0x416)]=-0x1]='UNRECOGNIZED',_0x47e0d5))(ae||{}),Tt=(_0x1b6c1f=>(_0x1b6c1f[_0x1b6c1f[_0x4f5e26(0x3d8)]=0x0]=_0x4f5e26(0x3d8),_0x1b6c1f[_0x1b6c1f[_0x4f5e26(0x1df)]=0x1]='HttpImport',_0x1b6c1f[_0x1b6c1f[_0x4f5e26(0x487)]=0x2]='HttpExport',_0x1b6c1f[_0x1b6c1f['UnitEmbedded']=0x3]='UnitEmbedded',_0x1b6c1f[_0x1b6c1f[_0x4f5e26(0x316)]=0x4]=_0x4f5e26(0x316),_0x1b6c1f[_0x1b6c1f['UNRECOGNIZED']=-0x1]=_0x4f5e26(0x416),_0x1b6c1f))(Tt||{});const Y=_0x4f5e26(0x402),Jt={};var Q=(_0x641035=>(_0x641035[_0x4f5e26(0x3d4)]=_0x4f5e26(0x3d4),_0x641035[_0x4f5e26(0x261)]=_0x4f5e26(0x261),_0x641035[_0x4f5e26(0x3a4)]=_0x4f5e26(0x3a4),_0x641035[_0x4f5e26(0x3f2)]='CLOSE_ROOM',_0x641035[_0x4f5e26(0x4c1)]='JOIN_ROOM_FAILED',_0x641035[_0x4f5e26(0x46e)]=_0x4f5e26(0x46e),_0x641035[_0x4f5e26(0x34f)]=_0x4f5e26(0x34f),_0x641035[_0x4f5e26(0x330)]=_0x4f5e26(0x330),_0x641035))(Q||{});class te{constructor(){var _0x472e7f=_0x4f5e26;P(this,_0x472e7f(0x332),new j[(_0x472e7f(0x45e))]()),P(this,_0x472e7f(0x4ca),this['_event$'][_0x472e7f(0x34d)]());}[_0x4f5e26(0x323)](_0x168991){var _0x443019=_0x4f5e26;this[_0x443019(0x332)][_0x443019(0x322)](_0x168991);}}const bt=a[_0x4f5e26(0x340)]('univer-pro.collaboration-client.network-condition.service');function Rt(_0x1abaf4){var _0x12c551=_0x4f5e26,_0x3a9349,_0x54bb3d,_0x1b849c,_0x242ebc,_0x47d9cd;const _0x86f66d=_0x1abaf4['data'],_0x5cd991=JSON[_0x12c551(0x42b)](_0x86f66d);switch(_0x5cd991[_0x12c551(0x2ea)]){case G['HEARTBEAT']:case G[_0x12c551(0x289)]:{const _0x5f42e4=_0x5cd991[_0x12c551(0x43c)];return{..._0x5cd991,'data':_0x5f42e4,'cmd':_0x5cd991[_0x12c551(0x2ea)]};}case G[_0x12c551(0x471)]:{const _0x2b831d=_0x5cd991['joinRsp'];return{..._0x5cd991,'data':_0x2b831d,'cmd':_0x5cd991['cmd']};}case G['RECV']:{const _0x3086be=_0x5cd991[_0x12c551(0x1d7)];switch(_0x3086be[_0x12c551(0x3d7)]){case g[_0x12c551(0x47d)][_0x12c551(0x288)]:return{..._0x5cd991,'data':{..._0x3086be,'data':(_0x3a9349=_0x3086be['permissionRejEvent'])==null?void 0x0:_0x3a9349['cs']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)]['CHANGESET_ACK']:return{..._0x5cd991,'data':{..._0x3086be,'data':(_0x54bb3d=_0x3086be[_0x12c551(0x321)])==null?void 0x0:_0x54bb3d['cs']},'cmd':_0x5cd991['cmd']};case g[_0x12c551(0x47d)][_0x12c551(0x286)]:return{..._0x5cd991,'data':{..._0x3086be,'data':(_0x1b849c=_0x3086be[_0x12c551(0x270)])==null?void 0x0:_0x1b849c['cs']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x5cd991,'data':{..._0x3086be,'data':(_0x242ebc=_0x3086be[_0x12c551(0x490)])==null?void 0x0:_0x242ebc['cs']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)]['CHANGESET_SHOULD_RETRY']:return{..._0x5cd991,'data':{..._0x3086be,'data':(_0x47d9cd=_0x3086be[_0x12c551(0x1d9)])==null?void 0x0:_0x47d9cd['cs']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g['CollaborationEvent'][_0x12c551(0x439)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x533)]},'cmd':_0x5cd991['cmd']};case g['CollaborationEvent'][_0x12c551(0x52f)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be['joinEvent']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x479)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x2b7)]},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x505)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x2a5)]},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x400)]:case g[_0x12c551(0x47d)][_0x12c551(0x2b4)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x476)]},'cmd':_0x5cd991['cmd']};case g[_0x12c551(0x47d)][_0x12c551(0x1ff)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x2a5)]},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x1f7)]:return{..._0x5cd991,'data':_0x3086be,'cmd':_0x5cd991['cmd']};case g[_0x12c551(0x47d)][_0x12c551(0x2de)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x24d)]},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x239)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be['updatePermissionObjEvent']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)][_0x12c551(0x49f)]:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be['shouldCloseConn']},'cmd':_0x5cd991[_0x12c551(0x2ea)]};case g[_0x12c551(0x47d)]['UNISCRIPT_RUN']:return{..._0x5cd991,'data':{..._0x3086be,'data':_0x3086be[_0x12c551(0x204)]},'cmd':_0x5cd991[_0x12c551(0x2ea)]};default:return _0x5cd991;}}default:return _0x5cd991;}}function yt(_0x31ecf1){var _0x4794e8=_0x4f5e26;switch(_0x31ecf1[_0x4794e8(0x2ea)]){case G[_0x4794e8(0x4db)]:case G[_0x4794e8(0x289)]:return JSON[_0x4794e8(0x4f5)]({'cmd':_0x31ecf1[_0x4794e8(0x2ea)],'routeKey':_0x31ecf1[_0x4794e8(0x2c2)]});case G[_0x4794e8(0x2cb)]:{let _0xc99a1;switch(_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x3d7)]){case g[_0x4794e8(0x47d)][_0x4794e8(0x439)]:{_0xc99a1={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)][_0x4794e8(0x479)]:{_0xc99a1={'eventID':g['CollaborationEvent'][_0x4794e8(0x479)],'leaveEvent':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)][_0x4794e8(0x52f)]:{_0xc99a1={'eventID':g[_0x4794e8(0x47d)][_0x4794e8(0x52f)],'joinEvent':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)]['LIVESHARE_NEW_HOST']:{_0xc99a1={'eventID':g[_0x4794e8(0x47d)][_0x4794e8(0x505)],'liveShareNewHost':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)][_0x4794e8(0x2b4)]:{_0xc99a1={'eventID':g[_0x4794e8(0x47d)][_0x4794e8(0x2b4)],'liveShareOperation':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)][_0x4794e8(0x1ff)]:{_0xc99a1={'eventID':g[_0x4794e8(0x47d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31ecf1[_0x4794e8(0x469)][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)]['LIVESHARE_REQUEST_HOST']:{_0xc99a1={'eventID':g[_0x4794e8(0x47d)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x31ecf1['data'][_0x4794e8(0x469)]};break;}case g[_0x4794e8(0x47d)][_0x4794e8(0x400)]:{_0xc99a1={'eventID':g['CollaborationEvent'][_0x4794e8(0x400)]};break;}default:_0xc99a1={'eventID':_0x31ecf1['data'][_0x4794e8(0x3d7)]};}return JSON[_0x4794e8(0x4f5)]({'cmd':_0x31ecf1[_0x4794e8(0x2ea)],'routeKey':_0x31ecf1[_0x4794e8(0x2c2)],'collaMsg':_0xc99a1});}case G[_0x4794e8(0x471)]:return JSON['stringify']({'cmd':_0x31ecf1[_0x4794e8(0x2ea)],'routeKey':_0x31ecf1[_0x4794e8(0x2c2)],'joinReq':_0x31ecf1[_0x4794e8(0x469)]});case G[_0x4794e8(0x3bd)]:return JSON[_0x4794e8(0x4f5)]({'cmd':_0x31ecf1[_0x4794e8(0x2ea)],'routeKey':_0x31ecf1[_0x4794e8(0x2c2)],'leaveReq':_0x31ecf1[_0x4794e8(0x469)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x1c322d,_0x4fc24b,_0xd6b53e,_0x21e26a)=>{for(var _0x5d4215=_0x21e26a>0x1?void 0x0:_0x21e26a?Xt(_0x4fc24b,_0xd6b53e):_0x4fc24b,_0x235d45=_0x1c322d['length']-0x1,_0x2ff6a2;_0x235d45>=0x0;_0x235d45--)(_0x2ff6a2=_0x1c322d[_0x235d45])&&(_0x5d4215=_0x2ff6a2(_0x5d4215)||_0x5d4215);return _0x5d4215;},_e=(_0x5dfdd7,_0x479a40)=>(_0x35cfcc,_0x5aafd8)=>_0x479a40(_0x35cfcc,_0x5aafd8,_0x5dfdd7);const $e=a[_0x4f5e26(0x340)]('univer-pro.collaboration-client-socket-service');function Qt(_0x201996,_0x34be0f,_0x3f7e85){var _0x52ea0d=_0x4f5e26;return _0x201996+'/'+_0x34be0f+_0x52ea0d(0x40c)+_0x3f7e85+_0x52ea0d(0x25b);}exports[_0x4f5e26(0x30e)]=class extends a[_0x4f5e26(0x4f6)]{constructor(_0x2a4080,_0x504c14,_0xf95d1c,_0x55153c,_0x3279f6){var _0x3e676b=_0x4f5e26;super(),this[_0x3e676b(0x4f7)]=_0x2a4080,this[_0x3e676b(0x28f)]=_0x504c14,this[_0x3e676b(0x3eb)]=_0xf95d1c,this[_0x3e676b(0x2e9)]=_0x55153c,this[_0x3e676b(0x1f5)]=_0x3279f6;}[_0x4f5e26(0x389)](_0x2f2630){var _0x33d189=_0x4f5e26;const _0x226138=this[_0x33d189(0x4f7)][_0x33d189(0x46b)](q[_0x33d189(0x336)]);if(!_0x226138)throw new Error(_0x33d189(0x27e));const _0x146319=_0x226138[_0x33d189(0x1fd)](_0x2f2630);if(!_0x146319)throw new Error(_0x33d189(0x1f4));const _0x237484=new a[(_0x33d189(0x31f))](),_0x2b1107=new j['Subject']();_0x237484[_0x33d189(0x36b)](_0x146319[_0x33d189(0x3b9)]['subscribe'](_0x418802=>_0x2b1107[_0x33d189(0x322)](_0x418802))),_0x237484[_0x33d189(0x36b)](a['toDisposable'](()=>_0x2b1107[_0x33d189(0x491)]()));const _0x3e0b48=new j[(_0x33d189(0x45e))]();_0x237484['add'](_0x146319[_0x33d189(0x2e4)][_0x33d189(0x396)](_0x449354=>_0x3e0b48[_0x33d189(0x322)](_0x449354))),_0x237484[_0x33d189(0x36b)](a['toDisposable'](()=>_0x3e0b48['complete']()));const _0x312973=new j['Subject']();_0x237484['add'](_0x146319[_0x33d189(0x41d)][_0x33d189(0x396)](_0x56a2b6=>{const _0x3f88be=Rt(_0x56a2b6);_0x312973['next'](_0x3f88be);})),_0x237484['add'](a[_0x33d189(0x256)](()=>_0x312973['complete']()));let _0x42d062;const _0x42f698=()=>{var _0x50165a=_0x33d189;_0x3e0b48[_0x50165a(0x322)](new Event(_0x50165a(0x228))),_0x2b1107[_0x50165a(0x322)](new Event(_0x50165a(0x228))),_0x42d062[_0x50165a(0x448)]();};return _0x42d062={'memberID':'','close$':_0x2b1107[_0x33d189(0x34d)](),'error$':_0x3e0b48[_0x33d189(0x34d)](),'open$':_0x146319['open$'],'message$':_0x312973['asObservable'](),'send':_0x2d4a8a=>{var _0x3bb6d6=_0x33d189;if(_0x2d4a8a[_0x3bb6d6(0x2ea)]===G['INGEST']){if(_0x2d4a8a[_0x3bb6d6(0x469)][_0x3bb6d6(0x3d7)]===g['CollaborationEvent'][_0x3bb6d6(0x4ac)]){this[_0x3bb6d6(0x306)](_0x42d062,_0x2d4a8a[_0x3bb6d6(0x469)])[_0x3bb6d6(0x39f)](_0x1098a8=>{var _0xef8e5d=_0x3bb6d6;this[_0xef8e5d(0x2e9)][_0xef8e5d(0x457)](_0x1098a8),_0x42f698();});return;}if(_0x2d4a8a[_0x3bb6d6(0x469)]['eventID']===g[_0x3bb6d6(0x47d)][_0x3bb6d6(0x297)]){const _0x304730=_0x2d4a8a['data'];this[_0x3bb6d6(0x425)](_0x304730)[_0x3bb6d6(0x493)](_0x16534b=>{var _0x2fae3f=_0x3bb6d6;_0x312973[_0x2fae3f(0x322)]({'cmd':G[_0x2fae3f(0x519)],'code':ae['OK'],'routeKey':_0x304730[_0x2fae3f(0x469)][_0x2fae3f(0x4b7)],'routeType':'','data':{'eventID':g[_0x2fae3f(0x47d)][_0x2fae3f(0x2e7)],'data':{'changesets':_0x16534b}}});})[_0x3bb6d6(0x39f)](_0x1a3caf=>{var _0x505301=_0x3bb6d6;this[_0x505301(0x2e9)][_0x505301(0x457)](_0x1a3caf),_0x42f698();});return;}}_0x146319[_0x3bb6d6(0x38d)](yt(_0x2d4a8a));},'close':()=>{var _0x19a3f6=_0x33d189;_0x146319[_0x19a3f6(0x448)](),_0x237484['dispose']();}},_0x42d062;}async[_0x4f5e26(0x306)](_0x1cf957,_0x38d731){var _0x1018a7=_0x4f5e26,_0x184b4c,_0x5b9f56;const {unitType:_0x3251da,unitID:_0x518add,changeset:_0x4ca10a}=_0x38d731[_0x1018a7(0x469)],_0x7b5f50={'unitID':_0x518add,'memberID':_0x1cf957['memberID'],'type':_0x3251da,'changeset':g['parseChangesetToProtocol'](_0x4ca10a)},_0x52ad2f=this[_0x1018a7(0x3eb)][_0x1018a7(0x2dc)](It),_0xd5a4fd=this[_0x1018a7(0x3eb)][_0x1018a7(0x2dc)](Y),_0x2793f7=Qt((_0x5b9f56=(_0x184b4c=_0xd5a4fd==null?void 0x0:_0xd5a4fd[_0x1018a7(0x40d)])!=null?_0x184b4c:_0x52ad2f)!=null?_0x5b9f56:Kt,_0x3251da,_0x518add);try{await this[_0x1018a7(0x28f)][_0x1018a7(0x530)](_0x2793f7,{'body':_0x7b5f50});}catch(_0x3e618e){throw this[_0x1018a7(0x2e9)][_0x1018a7(0x457)](_0x1018a7(0x1e5),'submit\x20changeset\x20error!'),_0x3e618e;}}async[_0x4f5e26(0x425)](_0x3753da){var _0x1b569b=_0x4f5e26;const {unitID:_0x43ddea,from:_0x234453,to:_0xaf02b7,unitType:_0x27a093}=_0x3753da[_0x1b569b(0x469)];return(await this['_snapshotServerService'][_0x1b569b(0x528)]({'metadata':void 0x0},{'unitID':_0x43ddea,'type':_0x27a093,'from':_0x234453,'to':_0xaf02b7}))[_0x1b569b(0x2eb)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),_e(0x1,a[_0x4f5e26(0x47f)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x4f5e26(0x29b)]),_e(0x4,g[_0x4f5e26(0x32e)])],exports[_0x4f5e26(0x30e)]);const ei=_0x4f5e26(0x2b8);function ti(_0x46e232){return JSON['stringify'](_0x46e232)['length'];}class Be{constructor(){var _0x15d224=_0x4f5e26;P(this,_0x15d224(0x380),new j[(_0x15d224(0x45e))]()),P(this,_0x15d224(0x4ed),this[_0x15d224(0x380)]['asObservable']());}['onCommentUpdate'](_0x427404){var _0x420359=_0x4f5e26;this[_0x420359(0x380)]['next'](_0x427404);}}var ii=Object[_0x4f5e26(0x2ef)],ni=(_0x56c096,_0x218ff5,_0x319526,_0x3dc595)=>{for(var _0x8386d2=_0x3dc595>0x1?void 0x0:_0x3dc595?ii(_0x218ff5,_0x319526):_0x218ff5,_0x31f941=_0x56c096['length']-0x1,_0x4ae56b;_0x31f941>=0x0;_0x31f941--)(_0x4ae56b=_0x56c096[_0x31f941])&&(_0x8386d2=_0x4ae56b(_0x8386d2)||_0x8386d2);return _0x8386d2;},Ke=(_0x48c5ec,_0x3e1002)=>(_0x19f6ef,_0x566cc8)=>_0x3e1002(_0x19f6ef,_0x566cc8,_0x48c5ec);exports['MemberService']=class extends a[_0x4f5e26(0x4f6)]{constructor(_0x50172d,_0x5d119d){var _0x325296=_0x4f5e26;super(),P(this,_0x325296(0x45c),new Map()),P(this,_0x325296(0x3fd),new j[(_0x325296(0x45e))]()),(this[_0x325296(0x459)]=_0x50172d,this[_0x325296(0x2b0)]=_0x5d119d,this[_0x325296(0x238)](j[_0x325296(0x515)](this['_univerInstanceService'][_0x325296(0x2e0)](a[_0x325296(0x39d)]['UNIVER_SHEET'])[_0x325296(0x26d)](W[_0x325296(0x355)](_0x28ecc8=>_0x28ecc8['getUnitId']())),this[_0x325296(0x459)][_0x325296(0x2e0)](a[_0x325296(0x39d)][_0x325296(0x4eb)])[_0x325296(0x26d)](W['map'](_0x443b18=>_0x443b18[_0x325296(0x24a)]())),this[_0x325296(0x459)][_0x325296(0x2e0)](a[_0x325296(0x39d)][_0x325296(0x4e5)])[_0x325296(0x26d)](W[_0x325296(0x355)](_0x6601c4=>_0x6601c4[_0x325296(0x24a)]())))['subscribe'](_0x354e38=>this[_0x325296(0x1e9)](_0x354e38))));}['waitForRoom$'](_0x4a983d){var _0x2c8fdf=_0x4f5e26;return this[_0x2c8fdf(0x45c)][_0x2c8fdf(0x4ee)](_0x4a983d)?j['of'](this[_0x2c8fdf(0x45c)][_0x2c8fdf(0x46b)](_0x4a983d)):this[_0x2c8fdf(0x3fd)][_0x2c8fdf(0x26d)](W[_0x2c8fdf(0x355)](_0x1a9a63=>{var _0x76e5ba=_0x2c8fdf;if(_0x1a9a63===_0x4a983d)return this['_roomMembers'][_0x76e5ba(0x46b)](_0x1a9a63);}));}['setCurrentUser'](_0x1bb740){var _0x4432ee=_0x4f5e26;this[_0x4432ee(0x2b0)]['setCurrentUser'](_0x1bb740);}[_0x4f5e26(0x3c6)](){var _0x2f6a4a=_0x4f5e26;return this[_0x2f6a4a(0x2b0)]['getCurrentUser']();}[_0x4f5e26(0x357)](_0x26b177,_0x4fe412){var _0x463347=_0x4f5e26;let _0x1c998b=this[_0x463347(0x45c)]['get'](_0x26b177);_0x1c998b||(_0x1c998b=new ri(),this[_0x463347(0x45c)][_0x463347(0x237)](_0x26b177,_0x1c998b),this['_roomCreated$'][_0x463347(0x322)](_0x26b177)),_0x1c998b[_0x463347(0x357)](_0x4fe412);}[_0x4f5e26(0x29e)](_0x3be87c,_0x508144){var _0x1eb347=_0x4f5e26;const _0x15f4ab=this[_0x1eb347(0x45c)][_0x1eb347(0x46b)](_0x3be87c);_0x15f4ab&&_0x15f4ab['removeMember'](_0x508144);}[_0x4f5e26(0x484)](_0x171276){var _0xebacb0=_0x4f5e26;return this[_0xebacb0(0x45c)][_0xebacb0(0x46b)](_0x171276);}['getMember'](_0x1adfc6,_0x8cb254){var _0x2fed74=_0x4f5e26;const _0x359910=this[_0x2fed74(0x45c)][_0x2fed74(0x46b)](_0x1adfc6);if(_0x359910)return _0x359910['getMember'](_0x8cb254);}[_0x4f5e26(0x1e9)](_0x58e655){var _0x2f717e=_0x4f5e26;const _0x2db7cd=this[_0x2f717e(0x45c)][_0x2f717e(0x46b)](_0x58e655);_0x2db7cd&&(_0x2db7cd[_0x2f717e(0x374)](),this[_0x2f717e(0x45c)]['delete'](_0x58e655));}[_0x4f5e26(0x374)](){var _0x558fe0=_0x4f5e26;this[_0x558fe0(0x45c)][_0x558fe0(0x37d)](_0x2f3e9a=>_0x2f3e9a['dispose']()),this[_0x558fe0(0x45c)][_0x558fe0(0x2a0)](),this[_0x558fe0(0x3fd)][_0x558fe0(0x491)]();}},exports[_0x4f5e26(0x518)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x3e0)]))],exports[_0x4f5e26(0x518)]);class ri extends a['Disposable']{constructor(){var _0x3d25e8=_0x4f5e26;super(...arguments),P(this,_0x3d25e8(0x2fc),new Map()),P(this,_0x3d25e8(0x254),new j[(_0x3d25e8(0x48c))](this['_members'])),P(this,_0x3d25e8(0x45d),this[_0x3d25e8(0x254)][_0x3d25e8(0x34d)]());}['dispose'](){var _0x6a306f=_0x4f5e26;this[_0x6a306f(0x2fc)][_0x6a306f(0x2a0)]();}[_0x4f5e26(0x357)](_0x3ee888){var _0x1c8edd=_0x4f5e26;this[_0x1c8edd(0x2fc)][_0x1c8edd(0x237)](_0x3ee888[_0x1c8edd(0x361)],_0x3ee888),this['_emitMembers']();}[_0x4f5e26(0x29e)](_0x3ad78c){var _0x198abf=_0x4f5e26;this[_0x198abf(0x2fc)][_0x198abf(0x4da)](_0x3ad78c);}[_0x4f5e26(0x2cf)](_0x535ab1){var _0xc69b1a=_0x4f5e26;return this[_0xc69b1a(0x2fc)]['get'](_0x535ab1);}[_0x4f5e26(0x3f0)](){var _0x46cf6e=_0x4f5e26;return Array[_0x46cf6e(0x43d)](this[_0x46cf6e(0x2fc)]['values']());}['_emitMembers'](){var _0x4e1584=_0x4f5e26;this[_0x4e1584(0x254)]['next'](this[_0x4e1584(0x2fc)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x2e851d,_0x196bf1,_0x2eaf64,_0x247cc9)=>{var _0xca6f7=_0x4f5e26;for(var _0x370e15=_0x247cc9>0x1?void 0x0:_0x247cc9?si(_0x196bf1,_0x2eaf64):_0x196bf1,_0x252087=_0x2e851d[_0xca6f7(0x531)]-0x1,_0x45d35d;_0x252087>=0x0;_0x252087--)(_0x45d35d=_0x2e851d[_0x252087])&&(_0x370e15=_0x45d35d(_0x370e15)||_0x370e15);return _0x370e15;},oe=(_0x246f16,_0x98fc6a)=>(_0x14b73a,_0x4c1819)=>_0x98fc6a(_0x14b73a,_0x4c1819,_0x246f16),se=(_0x21378d=>(_0x21378d[_0x21378d[_0x4f5e26(0x1f0)]=0x0]=_0x4f5e26(0x1f0),_0x21378d[_0x21378d['JOINING']=0x1]=_0x4f5e26(0x4e2),_0x21378d[_0x21378d[_0x4f5e26(0x2b5)]=0x2]=_0x4f5e26(0x2b5),_0x21378d[_0x21378d['ONLINE']=0x3]='ONLINE',_0x21378d))(se||{});const Ye={[ae[_0x4f5e26(0x522)]]:'session.join-failed',[ae[_0x4f5e26(0x4ff)]]:_0x4f5e26(0x4a7),[ae[_0x4f5e26(0x52b)]]:_0x4f5e26(0x413),[ae[_0x4f5e26(0x42e)]]:_0x4f5e26(0x41b),[ae[_0x4f5e26(0x3bc)]]:'session.room-cnt-exceeds'};exports[_0x4f5e26(0x50c)]=class extends a[_0x4f5e26(0x343)]{constructor(_0x2509c7,_0x5049cb,_0x10a350,_0x24ed2d,_0x359936,_0x2e0174,_0x1e76c6,_0x327752,_0x3996e8){var _0x5169a9=_0x4f5e26;super(),P(this,_0x5169a9(0x2bc),new j['BehaviorSubject'](0x0)),P(this,'sessionStatus$',this['_sessionStatus$'][_0x5169a9(0x34d)]()),P(this,_0x5169a9(0x332),new j['Subject']()),P(this,_0x5169a9(0x4ca),this[_0x5169a9(0x332)][_0x5169a9(0x34d)]()),P(this,_0x5169a9(0x3a7)),P(this,'_socketMessageSubscription'),P(this,'_collaborationTimeoutTimer'),P(this,_0x5169a9(0x215),!0x1),P(this,_0x5169a9(0x283),null),(this[_0x5169a9(0x502)]=_0x2509c7,this['_logService']=_0x10a350,this[_0x5169a9(0x3eb)]=_0x24ed2d,this[_0x5169a9(0x1ee)]=_0x359936,this[_0x5169a9(0x2c3)]=_0x2e0174,this[_0x5169a9(0x327)]=_0x1e76c6,this[_0x5169a9(0x445)]=_0x327752,this[_0x5169a9(0x3b8)]=_0x3996e8,this['_shouldReportTelemetry']=!!this[_0x5169a9(0x3b8)],_0x5049cb[_0x5169a9(0x26d)](j[_0x5169a9(0x1d3)](this[_0x5169a9(0x365)]))[_0x5169a9(0x396)](_0x3b170e=>{var _0x5ebe5b=_0x5169a9,_0x46418c;typeof _0x3b170e>'u'||(this['_socket']=_0x3b170e,_0x3b170e?(this[_0x5ebe5b(0x452)](_0x3b170e),this[_0x5ebe5b(0x3c7)]=_0x3b170e[_0x5ebe5b(0x41d)][_0x5ebe5b(0x396)](_0xf94b13=>{var _0xa79318=_0x5ebe5b;_0xf94b13[_0xa79318(0x2c2)]===this[_0xa79318(0x502)]&&this['_onCombEvent'](_0xf94b13);})):(this[_0x5ebe5b(0x2ac)](),this[_0x5ebe5b(0x2bc)][_0x5ebe5b(0x322)](0x2),(_0x46418c=this['_socketMessageSubscription'])==null||_0x46418c['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x4f5e26(0x4ec)](){var _0x2883bb=_0x4f5e26;return this['_sessionStatus$'][_0x2883bb(0x3db)]();}['getMemberID'](){var _0xd61eb=_0x4f5e26,_0x434498,_0x23c246;return(_0x23c246=(_0x434498=this[_0xd61eb(0x3a7)])==null?void 0x0:_0x434498[_0xd61eb(0x361)])!=null?_0x23c246:null;}[_0x4f5e26(0x374)](){var _0x13db33=_0x4f5e26;super['dispose'](),this[_0x13db33(0x365)][_0x13db33(0x322)](),this[_0x13db33(0x365)][_0x13db33(0x491)]();}[_0x4f5e26(0x448)](){var _0x36226d=_0x4f5e26,_0x559214,_0x4b5064;this[_0x36226d(0x2ac)](),(_0x559214=this[_0x36226d(0x3a7)])==null||_0x559214[_0x36226d(0x38d)]({'cmd':G[_0x36226d(0x3bd)],'data':{'roomID':this[_0x36226d(0x502)]}}),(_0x4b5064=this[_0x36226d(0x3a7)])==null||_0x4b5064[_0x36226d(0x448)](),this[_0x36226d(0x332)][_0x36226d(0x491)](),this[_0x36226d(0x2bc)][_0x36226d(0x491)](),this[_0x36226d(0x374)]();}['_onCombEvent'](_0x4fc70a){var _0x4c0ff7=_0x4f5e26;_0x4fc70a[_0x4c0ff7(0x2ea)]===G[_0x4c0ff7(0x471)]?this[_0x4c0ff7(0x4f1)](_0x4fc70a):_0x4fc70a[_0x4c0ff7(0x2ea)]===G[_0x4c0ff7(0x519)]&&this[_0x4c0ff7(0x33c)](_0x4fc70a);}[_0x4f5e26(0x452)](_0x15bb4c){var _0x1617bd=_0x4f5e26;this['_sessionStatus$'][_0x1617bd(0x322)](0x1),_0x15bb4c[_0x1617bd(0x38d)]({'cmd':G[_0x1617bd(0x471)],'routeKey':this[_0x1617bd(0x502)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4f5e26(0x4f1)](_0x530d2b){var _0x21919f=_0x4f5e26,_0x1d37d3;if(_0x530d2b['code']in Ye){this[_0x21919f(0x445)]['emitEvent']({'id':Q[_0x21919f(0x4c1)],'data':Ye[_0x530d2b['code']]}),this['_sessionStatus$'][_0x21919f(0x322)](0x2);return;}this[_0x21919f(0x2bc)][_0x21919f(0x322)](0x3);const _0x582634=(_0x1d37d3=_0x530d2b['data'][_0x21919f(0x33d)][this[_0x21919f(0x502)]])==null?void 0x0:_0x1d37d3[_0x21919f(0x1ea)];_0x582634&&_0x582634['forEach'](_0x144b90=>this[_0x21919f(0x2c3)][_0x21919f(0x357)](this[_0x21919f(0x502)],_0x144b90));}[_0x4f5e26(0x33c)](_0x2dfc79){var _0x5e3cd9=_0x4f5e26;try{const _0x2ba09f=_0x2dfc79['data'];switch(_0x2ba09f['eventID']){case g[_0x5e3cd9(0x47d)][_0x5e3cd9(0x52f)]:this[_0x5e3cd9(0x3e3)](_0x2ba09f),this[_0x5e3cd9(0x332)]['next'](_0x2ba09f);break;case g[_0x5e3cd9(0x47d)][_0x5e3cd9(0x479)]:this[_0x5e3cd9(0x2a3)](_0x2ba09f),this[_0x5e3cd9(0x332)][_0x5e3cd9(0x322)](_0x2ba09f);break;case g[_0x5e3cd9(0x47d)][_0x5e3cd9(0x3b4)]:case g[_0x5e3cd9(0x47d)][_0x5e3cd9(0x28c)]:this[_0x5e3cd9(0x3f8)](),this[_0x5e3cd9(0x1e1)](),this[_0x5e3cd9(0x332)]['next'](_0x2ba09f);break;case g[_0x5e3cd9(0x47d)][_0x5e3cd9(0x1f7)]:this['_logService'][_0x5e3cd9(0x457)](_0x5e3cd9(0x4c2)+JSON[_0x5e3cd9(0x4f5)](_0x2ba09f)),this[_0x5e3cd9(0x332)]['next'](_0x2ba09f);break;case g[_0x5e3cd9(0x47d)]['COMMENT_UPDATE']:this[_0x5e3cd9(0x327)]['onCommentUpdate'](_0x2ba09f[_0x5e3cd9(0x469)]),this[_0x5e3cd9(0x332)][_0x5e3cd9(0x322)](_0x2ba09f);break;default:this['_event$']['next'](_0x2ba09f);}}catch(_0x28afe5){this['_logService'][_0x5e3cd9(0x457)](_0x28afe5,_0x2dfc79);}}['_onUserJoin'](_0x4253fe){var _0x1a2450=_0x4f5e26;this[_0x1a2450(0x2c3)][_0x1a2450(0x357)](this[_0x1a2450(0x502)],_0x4253fe[_0x1a2450(0x469)]);}[_0x4f5e26(0x2a3)](_0x553ded){var _0x1ce6f3=_0x4f5e26;this[_0x1ce6f3(0x2c3)]['removeMember'](this['_unitID'],_0x553ded[_0x1ce6f3(0x469)][_0x1ce6f3(0x361)]);}async[_0x4f5e26(0x38d)](_0x3fc99d,_0x1cc295){var _0x596586=_0x4f5e26;if(this[_0x596586(0x4ec)]!==0x3||!this['_socket'])throw new Error(_0x596586(0x431));try{_0x3fc99d[_0x596586(0x3d7)]===g[_0x596586(0x47d)][_0x596586(0x4ac)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x596586(0x524)](_0x3fc99d)),this['_socket'][_0x596586(0x38d)]({'cmd':G[_0x596586(0x2cb)],'routeKey':_0x1cc295,'routeType':'','data':_0x3fc99d});}catch(_0x35efbd){this[_0x596586(0x2e9)]['error'](_0x35efbd);}}['_scheduleCollaborationTimeoutTimer'](){var _0x365e82=_0x4f5e26,_0x12e29e;this[_0x365e82(0x2f3)]=setTimeout(()=>{var _0x302734=_0x365e82;this[_0x302734(0x2f3)]=null,this[_0x302734(0x445)][_0x302734(0x323)]({'id':Q[_0x302734(0x330)]});},(_0x12e29e=this['_configService'][_0x365e82(0x2dc)](je))!=null?_0x12e29e:gt);}[_0x4f5e26(0x1e1)](){var _0x34f673=_0x4f5e26;this[_0x34f673(0x2f3)]&&(clearTimeout(this[_0x34f673(0x2f3)]),this[_0x34f673(0x2f3)]=null);}[_0x4f5e26(0x524)](_0x1d9e54){var _0x114917=_0x4f5e26;if(!this[_0x114917(0x215)])return;const {data:_0xf83a01}=_0x1d9e54,{unitID:_0x5a7a4c,changeset:_0x5a1b21}=_0xf83a01,{mutations:_0x3fe680,type:_0x3dc103}=_0x5a1b21;this['_telemetryInfo']={'unitId':_0x5a7a4c,'type':_0x3dc103,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x3fe680)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x46fdcc=_0x4f5e26;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x46fdcc(0x2e9)][_0x46fdcc(0x457)](_0x46fdcc(0x1e5),_0x46fdcc(0x3aa));return;}this['_telemetryInfo'][_0x46fdcc(0x32c)]=performance[_0x46fdcc(0x213)](),this[_0x46fdcc(0x283)][_0x46fdcc(0x1f3)]=this['_telemetryInfo'][_0x46fdcc(0x32c)]-this[_0x46fdcc(0x283)][_0x46fdcc(0x422)],this[_0x46fdcc(0x3b8)][_0x46fdcc(0x474)](ei,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x4f5e26(0x2ac)](){var _0x444638=_0x4f5e26;this[_0x444638(0x283)]=null;}},exports[_0x4f5e26(0x50c)]=oi([oe(0x2,a[_0x4f5e26(0x29b)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x3c0)])),oe(0x5,a[_0x4f5e26(0x47f)](exports[_0x4f5e26(0x518)])),oe(0x6,a[_0x4f5e26(0x47f)](Be)),oe(0x7,a[_0x4f5e26(0x47f)](te)),oe(0x8,a['Optional'](Mt['ITelemetryService']))],exports['CollaborationSession']);var ai=Object[_0x4f5e26(0x2ef)],ci=(_0x4856fa,_0x1af97b,_0x17cc5b,_0xfca0e6)=>{var _0x1c6d0b=_0x4f5e26;for(var _0x34a67c=_0xfca0e6>0x1?void 0x0:_0xfca0e6?ai(_0x1af97b,_0x17cc5b):_0x1af97b,_0x18ee0b=_0x4856fa[_0x1c6d0b(0x531)]-0x1,_0x18fddd;_0x18ee0b>=0x0;_0x18ee0b--)(_0x18fddd=_0x4856fa[_0x18ee0b])&&(_0x34a67c=_0x18fddd(_0x34a67c)||_0x34a67c);return _0x34a67c;},le=(_0x4d6a89,_0x51a691)=>(_0x5cefcc,_0x2867cf)=>_0x51a691(_0x5cefcc,_0x2867cf,_0x4d6a89);exports['CollaborationSessionService']=class extends a[_0x4f5e26(0x4f6)]{constructor(_0x4456d7,_0x33f740,_0x48eff9,_0x308e7a,_0x3981c2,_0x124a37){var _0x18c5b2=_0x4f5e26;super(),P(this,_0x18c5b2(0x3e9),new j[(_0x18c5b2(0x48c))](void 0x0)),P(this,_0x18c5b2(0x1f9),this[_0x18c5b2(0x3e9)][_0x18c5b2(0x34d)]()),P(this,_0x18c5b2(0x532),null),P(this,_0x18c5b2(0x458),new Map()),P(this,'_status$',new j[(_0x18c5b2(0x48c))](se['IDLE'])),P(this,_0x18c5b2(0x48f),this[_0x18c5b2(0x404)][_0x18c5b2(0x34d)]()),P(this,_0x18c5b2(0x3ea),!0x1),P(this,_0x18c5b2(0x4dd)),P(this,'_retryCount',0x0),P(this,_0x18c5b2(0x282)),P(this,'_timeoutTimer'),(this[_0x18c5b2(0x4f7)]=_0x4456d7,this[_0x18c5b2(0x2e9)]=_0x33f740,this[_0x18c5b2(0x3eb)]=_0x48eff9,this['_socketService']=_0x308e7a,this[_0x18c5b2(0x445)]=_0x3981c2,this[_0x18c5b2(0x51c)]=_0x124a37,this['_listenToNetworkCondition']());}get[_0x4f5e26(0x3a7)](){var _0x414730=_0x4f5e26;return this[_0x414730(0x3e9)]['getValue']();}[_0x4f5e26(0x32b)](){var _0x55d53d=_0x4f5e26;this[_0x55d53d(0x51c)]&&this['disposeWithMe'](this[_0x55d53d(0x51c)][_0x55d53d(0x42d)]['subscribe'](_0x1263e9=>{var _0x2d9854=_0x55d53d;_0x1263e9&&!this[_0x2d9854(0x3a7)]&&this[_0x2d9854(0x364)](),_0x1263e9||this[_0x2d9854(0x30b)]();}));}['dispose'](){var _0x2ee3ce=_0x4f5e26;super[_0x2ee3ce(0x374)](),this[_0x2ee3ce(0x3ed)](),this[_0x2ee3ce(0x3d1)](),this[_0x2ee3ce(0x44f)](),this['_sessions'][_0x2ee3ce(0x37d)](_0x39a572=>_0x39a572[_0x2ee3ce(0x374)]()),this['_sessions']['clear'](),this[_0x2ee3ce(0x404)][_0x2ee3ce(0x491)]();}async[_0x4f5e26(0x481)](_0x3647e2){var _0xb19342=_0x4f5e26;if(this[_0xb19342(0x458)][_0xb19342(0x4ee)](_0x3647e2))return this[_0xb19342(0x458)][_0xb19342(0x46b)](_0x3647e2);this[_0xb19342(0x2da)]();const _0x5dc56e=this[_0xb19342(0x4f7)]['createInstance'](exports[_0xb19342(0x50c)],_0x3647e2,this[_0xb19342(0x3e9)][_0xb19342(0x34d)]());return this[_0xb19342(0x458)][_0xb19342(0x237)](_0x3647e2,_0x5dc56e),_0x5dc56e;}[_0x4f5e26(0x2d4)](_0x146284){var _0x4366db=_0x4f5e26,_0x391f85;const _0x2bb8bc=this[_0x4366db(0x458)][_0x4366db(0x46b)](_0x146284);_0x2bb8bc&&(this[_0x4366db(0x458)][_0x4366db(0x4da)](_0x146284),_0x2bb8bc['close']()),this[_0x4366db(0x458)][_0x4366db(0x4c9)]||(_0x391f85=this[_0x4366db(0x3a7)])==null||_0x391f85['close']();}[_0x4f5e26(0x364)](){var _0x3e5b29=_0x4f5e26;this['_retryCount']=0x0,this[_0x3e5b29(0x3ed)](),this[_0x3e5b29(0x26f)]();}[_0x4f5e26(0x3ed)](){var _0x16af71=_0x4f5e26;this[_0x16af71(0x4dd)]!=null&&(clearTimeout(this[_0x16af71(0x4dd)]),this[_0x16af71(0x4dd)]=null);}async[_0x4f5e26(0x281)](){var _0x27eb24=_0x4f5e26,_0x56292f,_0x3e6dcc;const _0x6a78fb=this['_configService'][_0x27eb24(0x2dc)](St),_0x24f3ce=this[_0x27eb24(0x3eb)][_0x27eb24(0x2dc)](Y),_0x54927f=(_0x3e6dcc=(_0x56292f=_0x24f3ce==null?void 0x0:_0x24f3ce[_0x27eb24(0x359)])!=null?_0x56292f:_0x6a78fb)!=null?_0x3e6dcc:ft,_0x44a5a1=await this['_socketService'][_0x27eb24(0x1fd)](_0x54927f);return this[_0x27eb24(0x532)]=_0x44a5a1,_0x44a5a1;}async[_0x4f5e26(0x2da)](){var _0xf61c77=_0x4f5e26,_0x3a5b16,_0x3b4637;try{const _0x38acd6=(_0x3b4637=(_0x3a5b16=this['_socket'])!=null?_0x3a5b16:this['_candidateSocket'])!=null?_0x3b4637:await this[_0xf61c77(0x281)]();if(_0x38acd6){const _0x175eef=_0x38acd6[_0xf61c77(0x38d)];_0x38acd6[_0xf61c77(0x38d)]=_0x21df55=>(this[_0xf61c77(0x217)](),_0x175eef[_0xf61c77(0x3cc)](_0x38acd6,[_0x21df55])),_0x38acd6[_0xf61c77(0x41d)][_0xf61c77(0x396)](_0x232f7c=>this[_0xf61c77(0x534)](_0x38acd6,_0x232f7c)),_0x38acd6[_0xf61c77(0x2e4)][_0xf61c77(0x26d)](W['take'](0x1))[_0xf61c77(0x396)](_0x23920c=>this[_0xf61c77(0x2e9)][_0xf61c77(0x457)]('[CollaborationSessionService]:\x20socket\x20error',_0x23920c)),_0x38acd6[_0xf61c77(0x3dd)]['pipe'](W[_0xf61c77(0x21a)](0x1))['subscribe'](()=>{var _0x29d3bc=_0xf61c77;this[_0x29d3bc(0x47b)](_0x38acd6);}),_0x38acd6[_0xf61c77(0x3b9)][_0xf61c77(0x26d)](W[_0xf61c77(0x21a)](0x1))['subscribe'](_0x1102fe=>{var _0x54a370=_0xf61c77;this[_0x54a370(0x2e9)]['debug'](_0x54a370(0x41e),_0x54a370(0x232),_0x1102fe),this[_0x54a370(0x497)]();});}}catch(_0x1b0078){this[_0xf61c77(0x2e9)][_0xf61c77(0x457)](_0x1b0078),this[_0xf61c77(0x497)]();}}[_0x4f5e26(0x47b)](_0x1f8c45){var _0x3f2dcd=_0x4f5e26;this[_0x3f2dcd(0x2e9)][_0x3f2dcd(0x42f)]('[CollaborationSessionService]',_0x3f2dcd(0x3d3)),_0x1f8c45[_0x3f2dcd(0x38d)]({'cmd':G[_0x3f2dcd(0x289)]}),this[_0x3f2dcd(0x217)]();}['_onOffline'](){var _0x51fcfc=_0x4f5e26;this[_0x51fcfc(0x3ea)]=!0x1,this['_candidateSocket']=null,this[_0x51fcfc(0x404)]['next'](se[_0x51fcfc(0x2b5)]),this[_0x51fcfc(0x3e9)][_0x51fcfc(0x322)](null),this[_0x51fcfc(0x3d1)](),this['_clearHeartbeatTimer']();}[_0x4f5e26(0x497)](){var _0x5bcace=_0x4f5e26,_0x107997;this[_0x5bcace(0x30b)](),this[_0x5bcace(0x499)]<((_0x107997=this['_configService'][_0x5bcace(0x2dc)](mt))!=null?_0x107997:Wt)?(this[_0x5bcace(0x445)][_0x5bcace(0x323)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x5bcace(0x26f)]()):this[_0x5bcace(0x445)][_0x5bcace(0x323)]({'id':Q[_0x5bcace(0x34f)]});}[_0x4f5e26(0x26f)](){var _0x3affb3=_0x4f5e26,_0x357800;const _0x38ce6c=this[_0x3affb3(0x499)],_0x4a9d1d=this[_0x3affb3(0x3eb)][_0x3affb3(0x2dc)](Y),_0x468d01=_0x38ce6c===0x0?0x0:((_0x357800=_0x4a9d1d==null?void 0x0:_0x4a9d1d[_0x3affb3(0x29d)])!=null?_0x357800:Ft)*0x2**_0x38ce6c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3397be=_0x3affb3;clearTimeout(this[_0x3397be(0x4dd)]),this[_0x3397be(0x4dd)]=null,this['_tryEnsureSocket']();},_0x468d01),this[_0x3affb3(0x499)]+=0x1;}[_0x4f5e26(0x534)](_0x14e71b,_0x2a61cb){var _0x28c61e=_0x4f5e26;const {cmd:_0x413636}=_0x2a61cb;_0x413636===G[_0x28c61e(0x289)]&&!this[_0x28c61e(0x3ea)]&&(_0x14e71b[_0x28c61e(0x361)]=_0x2a61cb[_0x28c61e(0x469)]['memberID'],this[_0x28c61e(0x3e9)][_0x28c61e(0x322)](_0x14e71b),this['_status$'][_0x28c61e(0x322)](se[_0x28c61e(0x335)]),this[_0x28c61e(0x3ea)]=!0x0,this['_candidateSocket']=null),_0x413636===G[_0x28c61e(0x4db)]&&this['_clearTimeoutTimer'](),this[_0x28c61e(0x217)]();}[_0x4f5e26(0x217)](){var _0x50a400=_0x4f5e26,_0x180efc;this[_0x50a400(0x44f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x50a400(0x49d)](),(_0x180efc=this['_configService'][_0x50a400(0x2dc)](pt))!=null?_0x180efc:Bt);}['_sendHeartbeat'](){var _0x4161ba=_0x4f5e26;this[_0x4161ba(0x3a7)]['send']({'cmd':G[_0x4161ba(0x4db)]}),this['_waitForHeartbeatResponse']();}[_0x4f5e26(0x227)](){var _0x43db4b=_0x4f5e26,_0x5ad587;this['_timeoutTimer']=setTimeout(()=>this[_0x43db4b(0x497)](),(_0x5ad587=this['_configService']['getConfig'](je))!=null?_0x5ad587:gt);}[_0x4f5e26(0x44f)](){var _0x567534=_0x4f5e26;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x567534(0x282)]),this[_0x567534(0x282)]=null);}[_0x4f5e26(0x3d1)](){var _0x342f23=_0x4f5e26;this[_0x342f23(0x1ec)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x342f23(0x1ec)]=null);}},exports[_0x4f5e26(0x52d)]=ci([le(0x0,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),le(0x1,a[_0x4f5e26(0x29b)]),le(0x2,a[_0x4f5e26(0x347)]),le(0x3,$e),le(0x4,a['Inject'](te)),le(0x5,a[_0x4f5e26(0x3b5)](bt))],exports[_0x4f5e26(0x52d)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x4f5e26(0x20c)]((n+0x100)['toString'](0x10)[_0x4f5e26(0x3fe)](0x1));function hi(_0x444968,_0x5715b8=0x0){var _0x313366=_0x4f5e26;return(V[_0x444968[_0x5715b8+0x0]]+V[_0x444968[_0x5715b8+0x1]]+V[_0x444968[_0x5715b8+0x2]]+V[_0x444968[_0x5715b8+0x3]]+'-'+V[_0x444968[_0x5715b8+0x4]]+V[_0x444968[_0x5715b8+0x5]]+'-'+V[_0x444968[_0x5715b8+0x6]]+V[_0x444968[_0x5715b8+0x7]]+'-'+V[_0x444968[_0x5715b8+0x8]]+V[_0x444968[_0x5715b8+0x9]]+'-'+V[_0x444968[_0x5715b8+0xa]]+V[_0x444968[_0x5715b8+0xb]]+V[_0x444968[_0x5715b8+0xc]]+V[_0x444968[_0x5715b8+0xd]]+V[_0x444968[_0x5715b8+0xe]]+V[_0x444968[_0x5715b8+0xf]])[_0x313366(0x2df)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x2351b7=_0x4f5e26;if(!Ue){if(typeof crypto>'u'||!crypto[_0x2351b7(0x525)])throw new Error(_0x2351b7(0x44c));Ue=crypto[_0x2351b7(0x525)][_0x2351b7(0x200)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x4f5e26(0x3e7)]&&crypto[_0x4f5e26(0x3e7)][_0x4f5e26(0x200)](crypto),qe={'randomUUID':ui};function di(_0x57bb41,_0x4cd830,_0x27b125){var _0xe9e3dd=_0x4f5e26,_0x1bc8e0,_0x3da681,_0x2bc4fb;if(qe[_0xe9e3dd(0x3e7)]&&!_0x57bb41)return qe[_0xe9e3dd(0x3e7)]();_0x57bb41=_0x57bb41||{};const _0x1695fc=(_0x2bc4fb=(_0x3da681=_0x57bb41['random'])!=null?_0x3da681:(_0x1bc8e0=_0x57bb41['rng'])==null?void 0x0:_0x1bc8e0[_0xe9e3dd(0x424)](_0x57bb41))!=null?_0x2bc4fb:_i();if(_0x1695fc[_0xe9e3dd(0x531)]<0x10)throw new Error(_0xe9e3dd(0x3e1));return _0x1695fc[0x6]=_0x1695fc[0x6]&0xf|0x40,_0x1695fc[0x8]=_0x1695fc[0x8]&0x3f|0x80,hi(_0x1695fc);}const z=a[_0x4f5e26(0x340)](_0x4f5e26(0x4a9));function vi(_0xe1370d){var _0x199548=_0x4f5e26;return _0x199548(0x4ea)+_0xe1370d;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x41d454,_0x4c726c,_0x2884e8,_0x52aa84)=>{for(var _0xbdfb33=_0x52aa84>0x1?void 0x0:_0x52aa84?Si(_0x4c726c,_0x2884e8):_0x4c726c,_0x25e354=_0x41d454['length']-0x1,_0x49e966;_0x25e354>=0x0;_0x25e354--)(_0x49e966=_0x41d454[_0x25e354])&&(_0xbdfb33=_0x49e966(_0xbdfb33)||_0xbdfb33);return _0xbdfb33;},Pe=(_0x1199b1,_0x18a850)=>(_0x12bdcb,_0x966db5)=>_0x18a850(_0x12bdcb,_0x966db5,_0x1199b1);function pi(_0x3c32dc){var _0x1b0a12=_0x4f5e26;const {unitID:_0x12f7a5,mutations:_0x3b351a}=_0x3c32dc;return{'unitId':_0x12f7a5,'subUnitId':_0x3b351a[0x0][_0x1b0a12(0x521)][_0x1b0a12(0x397)]};}exports[_0x4f5e26(0x27a)]=class{constructor(_0x44c14e,_0x2f75dd,_0x358df0){var _0x476957=_0x4f5e26;this[_0x476957(0x4f7)]=_0x44c14e,this[_0x476957(0x350)]=_0x2f75dd,this[_0x476957(0x351)]=_0x358df0;}[_0x4f5e26(0x274)](_0x409ac8){var _0x495d9d=_0x4f5e26,_0x573ede,_0x41c588,_0x2405db,_0x518bd7;const _0xe56169=this[_0x495d9d(0x4f7)][_0x495d9d(0x46b)](Z[_0x495d9d(0x375)]),{unitId:_0x4d0664,subUnitId:_0x5f1ef6}=pi(_0x409ac8),_0x3d7479=_0xe56169==null?void 0x0:_0xe56169[_0x495d9d(0x255)](_0x4d0664)[_0x495d9d(0x51e)](),_0xd38b4b=(_0x41c588=(_0x573ede=this[_0x495d9d(0x351)][_0x495d9d(0x488)](_0x4d0664))==null?void 0x0:_0x573ede['getActiveSheet']())==null?void 0x0:_0x41c588[_0x495d9d(0x32d)]();if(_0x3d7479[_0x495d9d(0x531)]===0x0||!_0x4d0664||!_0x5f1ef6)return;const _0x5b52a6=[{'id':Z[_0x495d9d(0x2fa)]['id'],'params':{'unitId':_0x4d0664,'subUnitId':_0xd38b4b,'selections':a['Tools']['deepClone'](_0x3d7479)}}],_0x493f98=this[_0x495d9d(0x350)]['transformMutationsWithChangeset'](_0x409ac8,_0x5b52a6);if(!g['isTransformMutationsWithChangesetSuccess'](_0x493f98))throw _0x493f98[_0x495d9d(0x457)];const _0x14f418=(_0x518bd7=(_0x2405db=_0x493f98[_0x495d9d(0x3a9)][0x0])==null?void 0x0:_0x2405db[_0x495d9d(0x521)])==null?void 0x0:_0x518bd7[_0x495d9d(0x284)];if(Array[_0x495d9d(0x38a)](_0x14f418)&&_0x14f418['length']){if(_0x14f418[_0x495d9d(0x531)]===_0x5b52a6[0x0][_0x495d9d(0x521)]['selections']['length']&&_0x14f418[_0x495d9d(0x411)]((_0xd5b473,_0x42bcaa)=>a[_0x495d9d(0x2f6)][_0x495d9d(0x2c4)](_0xd5b473[_0x495d9d(0x2a6)],_0x5b52a6[0x0][_0x495d9d(0x521)][_0x495d9d(0x284)][_0x42bcaa][_0x495d9d(0x2a6)])))return;this[_0x495d9d(0x4f7)][_0x495d9d(0x46b)](a[_0x495d9d(0x43f)])['executeCommand'](Z[_0x495d9d(0x2fa)]['id'],{'unitId':_0x4d0664,'subUnitId':_0xd38b4b,'selections':_0x14f418});}}},exports['SheetTransformSelectionsService']=fi([Pe(0x0,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),Pe(0x1,g['ITransformService']),Pe(0x2,a[_0x4f5e26(0x509)])],exports[_0x4f5e26(0x27a)]);const ve=a[_0x4f5e26(0x340)](_0x4f5e26(0x4c7));var Fe=(_0x297b31=>(_0x297b31[_0x297b31['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4f5e26(0x4d2),_0x297b31[_0x297b31[_0x4f5e26(0x304)]=0x1]=_0x4f5e26(0x304),_0x297b31))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x5efb07,_0x66408d,_0x3743fd,_0xcd0d8b,_0x27b60c){var _0x5cbbdc=_0x4f5e26,_0x5cf469,_0x4eafe6,_0x53e8eb,_0x345abe;const _0xa5e5ec=[];for(const _0x306e9d of _0x5efb07)if(gi['has'](_0x306e9d['id'])){if(_0xa5e5ec['length']>0x0)break;_0xa5e5ec[_0x5cbbdc(0x20c)](_0x306e9d);break;}else _0xa5e5ec[_0x5cbbdc(0x20c)](_0x306e9d);const _0x2bf431=(_0x4eafe6=(_0x5cf469=_0x27b60c[_0x5cbbdc(0x3c6)]())==null?void 0x0:_0x5cf469[_0x5cbbdc(0x3b7)])!=null?_0x4eafe6:_0x5cbbdc(0x278),_0x476cdb=(_0x345abe=(_0x53e8eb=_0x27b60c['getCurrentUser']())==null?void 0x0:_0x53e8eb[_0x5cbbdc(0x361)])!=null?_0x345abe:_0x5cbbdc(0x278);return{'changeset':{'unitID':_0x66408d,'type':g[_0x5cbbdc(0x51f)](_0x3743fd[_0x5cbbdc(0x4bb)](_0x66408d)),'baseRev':_0xcd0d8b[_0x5cbbdc(0x512)](_0x66408d),'revision':0x0,'userID':_0x2bf431,'memberID':_0x476cdb,'mutations':_0xa5e5ec},'pendingMutations':_0x5efb07['slice'](_0xa5e5ec[_0x5cbbdc(0x531)])};}function mi(_0x5513bc,_0x33265c,_0x188b5c,_0x2e8921,_0x1a8ccc){var _0x488dad=_0x4f5e26,_0x13f9e9,_0x3c38a2,_0x20ac01,_0x70aaac;const _0xbb98c4=[_0x5513bc[_0x488dad(0x370)]((_0x5d16a3,_0x1daabb)=>{var _0x4dc2d1=_0x488dad,_0x2d9ab7;const {id:_0x4f1a63}=_0x5d16a3,{id:_0x3e54e1,type:_0x35627b}=_0x1daabb,_0x385e6b=(_0x2d9ab7=_0x5d16a3['params'])!=null?_0x2d9ab7:{'actions':null},_0x214152=_0x1daabb['params'];if(_0x4f1a63&&_0x4f1a63!==_0x3e54e1)throw new Error(_0x4dc2d1(0x293)+_0x4f1a63+_0x4dc2d1(0x510)+_0x3e54e1+'.');return{..._0x5d16a3,'id':_0x3e54e1,'type':_0x35627b,'params':{'unitId':_0x214152['unitId'],'textRanges':_0x214152[_0x4dc2d1(0x4b8)],'actions':a['JSONX'][_0x4dc2d1(0x2c1)](_0x385e6b['actions'],_0x214152['actions'])}};},{})],_0x221786=(_0x3c38a2=(_0x13f9e9=_0x1a8ccc['getCurrentUser']())==null?void 0x0:_0x13f9e9[_0x488dad(0x3b7)])!=null?_0x3c38a2:_0x488dad(0x278),_0x10525e=(_0x70aaac=(_0x20ac01=_0x1a8ccc[_0x488dad(0x3c6)]())==null?void 0x0:_0x20ac01[_0x488dad(0x361)])!=null?_0x70aaac:_0x488dad(0x278);return{'changeset':{'unitID':_0x33265c,'type':g[_0x488dad(0x51f)](_0x188b5c[_0x488dad(0x4bb)](_0x33265c)),'baseRev':_0x2e8921['getCurrentRevOfUnit'](_0x33265c),'revision':0x0,'userID':_0x221786,'memberID':_0x10525e,'mutations':_0xbb98c4},'pendingMutations':[]};}function Ot(_0x16c0f8,_0x5672e0){var _0x1d9310=_0x4f5e26;const _0x419acf=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x419acf[_0x1d9310(0x322)](_0x5672e0),_0x16c0f8),_0x419acf['asObservable']()[_0x1d9310(0x26d)](j['take'](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x4f5e26(0x494)][_0x4f5e26(0x224)],'params':{}};var Ei=Object[_0x4f5e26(0x2ef)],ce=(_0x4794af,_0x2d6a88,_0x3a3a17,_0x59e1ec)=>{var _0x11182a=_0x4f5e26;for(var _0x2dbbd6=_0x59e1ec>0x1?void 0x0:_0x59e1ec?Ei(_0x2d6a88,_0x3a3a17):_0x2d6a88,_0x4ce5e9=_0x4794af[_0x11182a(0x531)]-0x1,_0x1566a5;_0x4ce5e9>=0x0;_0x4ce5e9--)(_0x1566a5=_0x4794af[_0x4ce5e9])&&(_0x2dbbd6=_0x1566a5(_0x2dbbd6)||_0x2dbbd6);return _0x2dbbd6;},w=(_0x49ed32,_0x45dca8)=>(_0x75252d,_0x397fdb)=>_0x45dca8(_0x75252d,_0x397fdb,_0x49ed32),We=(_0x13ed07=>(_0x13ed07[_0x4f5e26(0x470)]=_0x4f5e26(0x33a),_0x13ed07[_0x4f5e26(0x21d)]=_0x4f5e26(0x2f8),_0x13ed07['PENDING']=_0x4f5e26(0x526),_0x13ed07['AWAITING']=_0x4f5e26(0x2a1),_0x13ed07[_0x4f5e26(0x4e0)]='awaiting_with_pending',_0x13ed07[_0x4f5e26(0x475)]=_0x4f5e26(0x21f),_0x13ed07[_0x4f5e26(0x3a4)]=_0x4f5e26(0x4f2),_0x13ed07['OFFLINE']='offline',_0x13ed07))(We||{});const Nt=0xea60;class he{constructor(_0x506d92,_0x2b594b,_0x527672,_0x5f0a43,_0x395ebf,_0x1e84e0,_0x16578f,_0x41f66d,_0x467639){var _0x1ff951=_0x4f5e26;P(this,_0x1ff951(0x4a3),null),P(this,'_pendingMutations',[]),(this[_0x1ff951(0x4b7)]=_0x506d92,this['type']=_0x2b594b,this[_0x1ff951(0x45b)]=_0x395ebf,this[_0x1ff951(0x3ad)]=_0x1e84e0,this['_undoRedoService']=_0x16578f,this[_0x1ff951(0x28e)]=_0x41f66d,this[_0x1ff951(0x49c)]=_0x467639,this[_0x1ff951(0x4a3)]=_0x527672,this[_0x1ff951(0x41f)]=_0x5f0a43);}[_0x4f5e26(0x4bc)](_0xa74803){var _0x47d27a=_0x4f5e26;const _0x338c59=this[_0x47d27a(0x28e)]['getCurrentRevOfUnit'](this[_0x47d27a(0x4b7)]);return _0xa74803['revision']>_0x338c59+0x1?(this['_handler'][_0x47d27a(0x338)]({'from':_0x338c59,'to':_0xa74803[_0x47d27a(0x4ae)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29cf78){var _0xd7a902=_0x4f5e26;this['_undoRedoService']['transformUndoRedo'](this[_0xd7a902(0x4b7)],_0x29cf78);}[_0x4f5e26(0x392)](_0xba3fa5){var _0xac86e3=_0x4f5e26,_0x226e4c,_0x5a52ee;(_0x5a52ee=(_0x226e4c=this[_0xac86e3(0x45b)])[_0xac86e3(0x4cd)])==null||_0x5a52ee[_0xac86e3(0x424)](_0x226e4c,_0xba3fa5);}[_0x4f5e26(0x435)](_0x1043c3){var _0x333aed=_0x4f5e26,_0x1dfd1c,_0x1263da;return(_0x1263da=(_0x1dfd1c=this[_0x333aed(0x45b)])['onTransformIME'])==null?void 0x0:_0x1263da[_0x333aed(0x424)](_0x1dfd1c,_0x1043c3);}[_0x4f5e26(0x3c8)](_0x47ba37){var _0x92dea3=_0x4f5e26,_0x4446dd,_0x46c14a;return(_0x46c14a=(_0x4446dd=this[_0x92dea3(0x45b)])[_0x92dea3(0x269)])==null?void 0x0:_0x46c14a[_0x92dea3(0x424)](_0x4446dd,_0x47ba37);}[_0x4f5e26(0x318)](_0x55615b){var _0x2d3cbd=_0x4f5e26,_0x3cafd8,_0x15591a,_0x48b80a;return(_0x48b80a=(_0x15591a=(_0x3cafd8=this[_0x2d3cbd(0x45b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15591a[_0x2d3cbd(0x424)](_0x3cafd8,_0x55615b))!=null?_0x48b80a:_0x55615b;}[_0x4f5e26(0x45f)](_0x4d8943){var _0x44f724=_0x4f5e26,_0x232c44,_0x41dfd2,_0x48d990;return(_0x48d990=(_0x41dfd2=(_0x232c44=this['_handler'])[_0x44f724(0x511)])==null?void 0x0:_0x41dfd2[_0x44f724(0x424)](_0x232c44,_0x4d8943))!=null?_0x48d990:_0x4d8943;}[_0x4f5e26(0x4a4)](_0x2d81b7){var _0x2c7244=_0x4f5e26,_0x4c6c1e,_0x4cd4fc;if(this[_0x2c7244(0x310)]===X[_0x2c7244(0x4eb)]){const {unitID:_0xb27a35,mutations:_0x39d486,memberID:_0x20cfb7}=_0x2d81b7,_0x4f1677=_0x39d486[0x0][_0x2c7244(0x521)]['textRanges'];Array[_0x2c7244(0x38a)](_0x4f1677)&&_0x4f1677[_0x2c7244(0x531)]>0x0&&((_0x4cd4fc=(_0x4c6c1e=this[_0x2c7244(0x45b)])[_0x2c7244(0x1dc)])==null||_0x4cd4fc[_0x2c7244(0x424)](_0x4c6c1e,{'unitID':_0xb27a35,'memberID':_0x20cfb7,'textRanges':_0x4f1677}));}}[_0x4f5e26(0x385)](){var _0xdd4a58=_0x4f5e26,_0x3d73ba;(_0x3d73ba=this[_0xdd4a58(0x49c)])==null||_0x3d73ba['updateOfflineData'](this[_0xdd4a58(0x4b7)],this['type'],this[_0xdd4a58(0x4a3)],this[_0xdd4a58(0x41f)]);}[_0x4f5e26(0x36c)](){var _0x1de664=_0x4f5e26;return this[_0x1de664(0x28e)][_0x1de664(0x512)](this[_0x1de664(0x4b7)]);}['_incrementRevisionNumber'](){var _0x4c698e=_0x4f5e26;this[_0x4c698e(0x28e)]['incrementRevOfUnit'](this[_0x4c698e(0x4b7)]);}[_0x4f5e26(0x461)](_0x54ad5d){var _0x139c87=_0x4f5e26,_0x30fdd1;let _0x169213=this[_0x139c87(0x318)](_0x54ad5d);_0x169213=this['_transformRemoteChangesetByStateCache'](_0x169213);const _0x3f486d=a['sequenceExecute'](_0x169213[_0x139c87(0x4f9)],this[_0x139c87(0x3ad)],{'fromCollab':!0x0});if(!_0x3f486d[_0x139c87(0x22d)])throw _0x3f486d['error']instanceof Error?_0x3f486d['error']:new Error((_0x30fdd1=_0x3f486d[_0x139c87(0x457)])!=null?_0x30fdd1:_0x139c87(0x303));this[_0x139c87(0x435)](_0x169213),this[_0x139c87(0x3c8)](_0x169213),this[_0x139c87(0x4b3)](_0x54ad5d),this['_transformSelections'](_0x169213),this[_0x139c87(0x4a4)](_0x169213),this[_0x139c87(0x508)]();}}exports['SyncedState']=class extends he{constructor(_0x1cb43d,_0x822f69,_0x2572ed,_0xce60b3,_0x21a72e,_0x56f923,_0x4b268a,_0x1978db,_0x282496,_0x214f44){super(_0x1cb43d,_0x822f69,null,[],_0x2572ed,_0x4b268a,_0x56f923,_0xce60b3,_0x214f44),P(this,'status','synced'),(this['_injector']=_0x21a72e,this['_logService']=_0x1978db,this['_transformService']=_0x282496,this['localCacheService']=_0x214f44);}[_0x4f5e26(0x28d)](_0x147e93){var _0x1df717=_0x4f5e26;const _0x7510cd=this[_0x1df717(0x4f7)][_0x1df717(0x2d6)](exports[_0x1df717(0x345)],this['unitID'],this[_0x1df717(0x310)],[_0x147e93],this['_handler']);return _0x7510cd['_schedule'](),_0x7510cd[_0x1df717(0x385)](),_0x7510cd;}[_0x4f5e26(0x4d5)](_0x5a73c7){var _0x59ef67=_0x4f5e26;if(this['_checkMissing'](_0x5a73c7))return this[_0x59ef67(0x4f7)][_0x59ef67(0x2d6)](exports[_0x59ef67(0x25c)],this[_0x59ef67(0x4b7)],this[_0x59ef67(0x310)],null,[],null,[_0x5a73c7],this[_0x59ef67(0x45b)]);try{const _0x3d0d72=this[_0x59ef67(0x350)][_0x59ef67(0x1fb)](_0x5a73c7,[Ii]);if(g[_0x59ef67(0x47c)](_0x3d0d72)){const {c1Prime:_0x33e49b}=_0x3d0d72;return this[_0x59ef67(0x461)](_0x33e49b),this;}throw _0x3d0d72['error'];}catch(_0x248868){return this[_0x59ef67(0x2e9)][_0x59ef67(0x457)](_0x248868),this['_onConflict'](!0x1);}}[_0x4f5e26(0x419)](_0x48457e){var _0x49de86=_0x4f5e26;return this[_0x49de86(0x4f7)][_0x49de86(0x2d6)](exports[_0x49de86(0x2ed)],this['unitID'],this[_0x49de86(0x310)],null,[],this['_handler'],_0x48457e);}[_0x4f5e26(0x480)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x30607d=_0x4f5e26;throw new Error(_0x30607d(0x354));}[_0x4f5e26(0x2d2)](){return this;}['toggleOffline'](){var _0xcd7498=_0x4f5e26;return this[_0xcd7498(0x4f7)][_0xcd7498(0x2d6)](exports[_0xcd7498(0x384)],this[_0xcd7498(0x4b7)],this[_0xcd7498(0x310)],null,[],this[_0xcd7498(0x45b)]);}['toggleOnline'](){return this;}['resend'](){var _0x4bc284=_0x4f5e26;throw new Error(_0x4bc284(0x3be));}[_0x4f5e26(0x38f)](){var _0x11860f=_0x4f5e26;const _0x11d50a=this[_0x11860f(0x28e)][_0x11860f(0x512)](this[_0x11860f(0x4b7)]);return this[_0x11860f(0x45b)][_0x11860f(0x338)]({'from':_0x11d50a,'to':0x0}),this[_0x11860f(0x4f7)]['createInstance'](exports[_0x11860f(0x25c)],this['unitID'],this[_0x11860f(0x310)],null,[],null,[],this[_0x11860f(0x45b)]);}},exports[_0x4f5e26(0x4e1)]=ce([w(0x3,a[_0x4f5e26(0x47f)](g['RevisionService'])),w(0x4,a[_0x4f5e26(0x47f)](a['Injector'])),w(0x5,a[_0x4f5e26(0x331)]),w(0x6,a['ICommandService']),w(0x7,a[_0x4f5e26(0x29b)]),w(0x8,g[_0x4f5e26(0x302)]),w(0x9,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x4e1)]),exports[_0x4f5e26(0x345)]=class extends he{constructor(_0x39073d,_0x3d0bbd,_0x92410c,_0x312427,_0x231cc2,_0xb4147e,_0x4a1401,_0x20ece9,_0x3e47b0,_0x517148,_0x54955a,_0x4410e2,_0x4b5fe6,_0xf611d7){var _0x28d4b0=_0x4f5e26;super(_0x39073d,_0x3d0bbd,null,_0x92410c,_0x312427,_0x3e47b0,_0x4b5fe6,_0xb4147e,_0xf611d7),P(this,_0x28d4b0(0x2d9),_0x28d4b0(0x526)),P(this,_0x28d4b0(0x3f6),null),P(this,_0x28d4b0(0x3df),null),(this[_0x28d4b0(0x4f7)]=_0x231cc2,this[_0x28d4b0(0x2c3)]=_0x4a1401,this['_logService']=_0x20ece9,this['_configService']=_0x517148,this[_0x28d4b0(0x350)]=_0x54955a,this[_0x28d4b0(0x459)]=_0x4410e2);}[_0x4f5e26(0x28d)](_0x224cb5){var _0x1469d4=_0x4f5e26;return this[_0x1469d4(0x41f)][_0x1469d4(0x20c)](_0x224cb5),this[_0x1469d4(0x385)](),this;}[_0x4f5e26(0x4d5)](_0x402539){var _0x161f91=_0x4f5e26;if(this[_0x161f91(0x4bc)](_0x402539))return this['_clearScheduledTask'](),this[_0x161f91(0x4f7)][_0x161f91(0x2d6)](exports['FetchingMissState'],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x402539],this[_0x161f91(0x45b)]);try{const _0x5d1a8e=this[_0x161f91(0x350)][_0x161f91(0x1fb)](_0x402539,this[_0x161f91(0x41f)]);if(g[_0x161f91(0x47c)](_0x5d1a8e)){const {c1Prime:_0x659732,m2Prime:_0x56677e}=_0x5d1a8e;this[_0x161f91(0x461)](_0x659732);const _0x3ef2bc=this[_0x161f91(0x4f7)]['createInstance'](exports['PendingState'],this[_0x161f91(0x4b7)],this['type'],_0x56677e,this['_handler']);this[_0x161f91(0x230)]();const _0x536b46=new Date()[_0x161f91(0x456)](),_0x500b77=this[_0x161f91(0x3f6)]?Math[_0x161f91(0x449)](this['_scheduleCompleteTimestamp']-_0x536b46,0x0):this[_0x161f91(0x220)]();return _0x3ef2bc['_schedule'](_0x500b77),_0x3ef2bc;}throw _0x5d1a8e[_0x161f91(0x457)];}catch(_0x580045){return this[_0x161f91(0x2e9)][_0x161f91(0x457)](_0x580045),this[_0x161f91(0x419)](!0x1);}}[_0x4f5e26(0x480)](){var _0x32ba0c=_0x4f5e26;throw new Error(_0x32ba0c(0x3c4));}[_0x4f5e26(0x51b)](){var _0x1e6e1b=_0x4f5e26;throw new Error(_0x1e6e1b(0x20e));}[_0x4f5e26(0x2d2)](){return this;}[_0x4f5e26(0x50a)](){var _0x40e4ba=_0x4f5e26;return this[_0x40e4ba(0x230)](),this[_0x40e4ba(0x4f7)][_0x40e4ba(0x2d6)](exports[_0x40e4ba(0x384)],this[_0x40e4ba(0x4b7)],this[_0x40e4ba(0x310)],null,this[_0x40e4ba(0x41f)],this[_0x40e4ba(0x45b)]);}[_0x4f5e26(0x243)](){return this;}[_0x4f5e26(0x3dc)](_0x4af2a4){var _0x4e92ee=_0x4f5e26;const _0xbcb02e=_0x4af2a4!=null?_0x4af2a4:this[_0x4e92ee(0x220)]();this[_0x4e92ee(0x3f6)]=new Date()[_0x4e92ee(0x456)]()+_0xbcb02e,this[_0x4e92ee(0x3df)]=setTimeout(()=>{var _0x54e30d=_0x4e92ee;this[_0x54e30d(0x230)]();let _0x49b6e6=null;switch(this[_0x54e30d(0x310)]){case X[_0x54e30d(0x363)]:{_0x49b6e6=ze(this[_0x54e30d(0x41f)],this[_0x54e30d(0x4b7)],this[_0x54e30d(0x459)],this[_0x54e30d(0x28e)],this[_0x54e30d(0x2c3)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0x54e30d(0x411)](_0x145f82=>_0x145f82['id']===ut[_0x54e30d(0x429)]['id'])?_0x49b6e6=mi(this[_0x54e30d(0x41f)],this['unitID'],this[_0x54e30d(0x459)],this[_0x54e30d(0x28e)],this['_memberService']):_0x49b6e6=ze(this[_0x54e30d(0x41f)],this['unitID'],this[_0x54e30d(0x459)],this['_revisionService'],this[_0x54e30d(0x2c3)]);break;}default:throw new Error(_0x54e30d(0x337)+this[_0x54e30d(0x310)]+_0x54e30d(0x34c));}const {changeset:_0x33df11,pendingMutations:_0x559834}=_0x49b6e6;this[_0x54e30d(0x45b)][_0x54e30d(0x29f)](_0x33df11);const _0x439a64=_0x559834['length']?this[_0x54e30d(0x4f7)][_0x54e30d(0x2d6)](exports[_0x54e30d(0x206)],this['unitID'],this[_0x54e30d(0x310)],_0x33df11,_0x559834,this[_0x54e30d(0x45b)],void 0x0):this[_0x54e30d(0x4f7)][_0x54e30d(0x2d6)](exports['AwaitingState'],this[_0x54e30d(0x4b7)],this[_0x54e30d(0x310)],_0x33df11,this[_0x54e30d(0x45b)]);_0x439a64['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x439a64);},_0xbcb02e);}[_0x4f5e26(0x220)](){var _0x10db7d=_0x4f5e26,_0x78ecde;const _0x1dc236=this['_configService'][_0x10db7d(0x2dc)](Y);return(_0x78ecde=_0x1dc236==null?void 0x0:_0x1dc236[_0x10db7d(0x4cf)])!=null?_0x78ecde:jt;}[_0x4f5e26(0x473)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4f5e26(0x230)](){var _0x3eddbf=_0x4f5e26;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3eddbf(0x3df)]),this['_sendingTimer']=null);}['_onConflict'](_0xe86608){var _0x2ee944=_0x4f5e26;return this[_0x2ee944(0x230)](),this[_0x2ee944(0x4f7)][_0x2ee944(0x2d6)](exports[_0x2ee944(0x2ed)],this[_0x2ee944(0x4b7)],this[_0x2ee944(0x310)],null,this[_0x2ee944(0x41f)],this[_0x2ee944(0x45b)],_0xe86608);}},exports[_0x4f5e26(0x345)]=ce([w(0x4,a[_0x4f5e26(0x47f)](a['Injector'])),w(0x5,a[_0x4f5e26(0x47f)](g['RevisionService'])),w(0x6,a[_0x4f5e26(0x47f)](exports[_0x4f5e26(0x518)])),w(0x7,a[_0x4f5e26(0x29b)]),w(0x8,a[_0x4f5e26(0x43f)]),w(0x9,a['IConfigService']),w(0xa,g['ITransformService']),w(0xb,a[_0x4f5e26(0x509)]),w(0xc,a[_0x4f5e26(0x331)]),w(0xd,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x345)]),exports[_0x4f5e26(0x2fb)]=class extends he{constructor(_0x5a3cd0,_0x4ed1fa,_0x4da0e3,_0x91a4d8,_0x27df37,_0x1f3ad2,_0x1a345d,_0x1b15e9,_0x568d7f,_0x333371,_0x3b4cb0){var _0x23b9e4=_0x4f5e26;super(_0x5a3cd0,_0x4ed1fa,_0x4da0e3,[],_0x91a4d8,_0x1a345d,_0x333371,_0x1f3ad2,_0x3b4cb0),P(this,'status',_0x23b9e4(0x2a1)),P(this,_0x23b9e4(0x367),0x0),P(this,_0x23b9e4(0x444)),P(this,_0x23b9e4(0x42a)),(this[_0x23b9e4(0x4f7)]=_0x27df37,this[_0x23b9e4(0x2e9)]=_0x1b15e9,this[_0x23b9e4(0x350)]=_0x568d7f);}[_0x4f5e26(0x28d)](_0x44e54e){var _0x4c39df=_0x4f5e26;this[_0x4c39df(0x230)]();const _0x842f93=this[_0x4c39df(0x4f7)][_0x4c39df(0x2d6)](exports['AwaitingWithPendingState'],this[_0x4c39df(0x4b7)],this[_0x4c39df(0x310)],this[_0x4c39df(0x4a3)],[_0x44e54e],this['_handler'],this['_resendTimer']);return _0x842f93[_0x4c39df(0x385)](),_0x842f93;}[_0x4f5e26(0x4d5)](_0x1975c9){var _0x586a45=_0x4f5e26;if(this[_0x586a45(0x4bc)](_0x1975c9))return this[_0x586a45(0x230)](),this['_injector'][_0x586a45(0x2d6)](exports[_0x586a45(0x25c)],this[_0x586a45(0x4b7)],this[_0x586a45(0x310)],this[_0x586a45(0x4a3)],[],null,[_0x1975c9],this[_0x586a45(0x45b)]);try{const _0x231632=this[_0x586a45(0x350)][_0x586a45(0x2cd)]([_0x1975c9],[this[_0x586a45(0x4a3)]],!0x1);if(g[_0x586a45(0x2a9)](_0x231632)){const {c1Prime:_0xf8be50,c2Prime:_0x5564eb}=_0x231632;this[_0x586a45(0x461)](_0xf8be50[0x0]),_0x5564eb[0x0][_0x586a45(0x3e4)]=this[_0x586a45(0x36c)](),this[_0x586a45(0x230)]();const _0xdd0fc=this[_0x586a45(0x4f7)][_0x586a45(0x2d6)](exports[_0x586a45(0x2fb)],this[_0x586a45(0x4b7)],this[_0x586a45(0x310)],_0x5564eb[0x0],this[_0x586a45(0x45b)]);return _0xdd0fc['_updateLocalCache'](),_0xdd0fc;}return this['_onConflict'](!0x1);}catch(_0x2b3c2a){return this[_0x586a45(0x2e9)][_0x586a45(0x457)](_0x2b3c2a),this[_0x586a45(0x419)](!0x1);}}[_0x4f5e26(0x480)](_0x398c6d){var _0x45066c=_0x4f5e26;this[_0x45066c(0x230)]();const _0x413639=this[_0x45066c(0x28e)][_0x45066c(0x512)](this[_0x45066c(0x4b7)]);if(_0x398c6d[_0x45066c(0x4ae)]<_0x413639-0x1)return this;if(this[_0x45066c(0x4bc)](_0x398c6d))return this['_injector'][_0x45066c(0x2d6)](exports[_0x45066c(0x25c)],this[_0x45066c(0x4b7)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x45066c(0x45b)]);this[_0x45066c(0x508)]();const _0x3b0caf=this[_0x45066c(0x4f7)][_0x45066c(0x2d6)](exports[_0x45066c(0x4e1)],this[_0x45066c(0x4b7)],this[_0x45066c(0x310)],this[_0x45066c(0x45b)]);return _0x3b0caf['_updateLocalCache'](),_0x3b0caf;}[_0x4f5e26(0x51b)](_0x7dade3){var _0x135116=_0x4f5e26;return this[_0x135116(0x419)](!!(_0x7dade3!=null&&_0x7dade3[_0x135116(0x38b)]));}[_0x4f5e26(0x2d2)](_0x2d8143){var _0x934405=_0x4f5e26;return this[_0x934405(0x367)]>Nt?this[_0x934405(0x50a)]():(this[_0x934405(0x444)]=Ot(this['_resendTimeout'],{'timeout':this[_0x934405(0x367)],'reqId':_0x2d8143['reqId']}),this[_0x934405(0x42a)]=this['_resendTimer'][_0x934405(0x396)](({reqId:_0x3fe556,timeout:_0x4ac6b7})=>{var _0x3d61df=_0x934405;this[_0x3d61df(0x483)](_0x3fe556,_0x4ac6b7);}),this);}[_0x4f5e26(0x50a)](){var _0x2dbbfc=_0x4f5e26;return this[_0x2dbbfc(0x230)](),this[_0x2dbbfc(0x4f7)]['createInstance'](exports['OfflineState'],this[_0x2dbbfc(0x4b7)],this[_0x2dbbfc(0x310)],this[_0x2dbbfc(0x4a3)],[],this['_handler']);}[_0x4f5e26(0x243)](){return this;}[_0x4f5e26(0x473)](){var _0x16fe78=_0x4f5e26;this[_0x16fe78(0x45b)]['onSendChangeset'](this[_0x16fe78(0x4a3)]);}[_0x4f5e26(0x419)](_0x24d362){var _0x259a10=_0x4f5e26;return this[_0x259a10(0x230)](),this[_0x259a10(0x4f7)][_0x259a10(0x2d6)](exports[_0x259a10(0x2ed)],this[_0x259a10(0x4b7)],this['type'],this[_0x259a10(0x4a3)],[],this[_0x259a10(0x45b)],_0x24d362);}[_0x4f5e26(0x483)](_0x1e2f41,_0x4be693){var _0x1f7bb9=_0x4f5e26,_0x3c05c4;_0x1e2f41===((_0x3c05c4=this['_awaitingChangeset'])==null?void 0x0:_0x3c05c4[_0x1f7bb9(0x218)])&&(this[_0x1f7bb9(0x473)](),this[_0x1f7bb9(0x367)]=_0x4be693===0x0?0x3e8:_0x4be693*0x2);}[_0x4f5e26(0x230)](){var _0x1bd495=_0x4f5e26,_0x158636;(_0x158636=this[_0x1bd495(0x42a)])==null||_0x158636[_0x1bd495(0x2f4)](),this[_0x1bd495(0x367)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x4f5e26(0x43f)]),w(0x7,a[_0x4f5e26(0x29b)]),w(0x8,g[_0x4f5e26(0x302)]),w(0x9,a[_0x4f5e26(0x331)]),w(0xa,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x2fb)]),exports[_0x4f5e26(0x206)]=class extends he{constructor(_0x7af62a,_0x520409,_0x5917d8,_0x4f34fb,_0x3c5f26,_0x19dc11,_0x2cbe51,_0xdb5314,_0x24d637,_0x195414,_0x2b433e,_0x514114,_0x19dcdc){var _0x21b387=_0x4f5e26;super(_0x7af62a,_0x520409,_0x5917d8,_0x4f34fb,_0x3c5f26,_0x24d637,_0x514114,_0xdb5314,_0x19dcdc),P(this,'status',_0x21b387(0x4f0)),P(this,_0x21b387(0x367),0x0),P(this,_0x21b387(0x444)),P(this,_0x21b387(0x42a)),(this[_0x21b387(0x4f7)]=_0x2cbe51,this[_0x21b387(0x2e9)]=_0x195414,this['_transformService']=_0x2b433e,this[_0x21b387(0x51d)]=_0x19dcdc,_0x19dc11&&(this['_resendTimer']=_0x19dc11,this[_0x21b387(0x42a)]=this[_0x21b387(0x444)][_0x21b387(0x396)](({reqId:_0x29c021,timeout:_0x161777})=>{var _0x2a200b=_0x21b387;this[_0x2a200b(0x483)](_0x29c021,_0x161777);})));}[_0x4f5e26(0x28d)](_0x39dfd3){var _0x25c72e=_0x4f5e26;return this['_pendingMutations'][_0x25c72e(0x20c)](_0x39dfd3),this;}[_0x4f5e26(0x4d5)](_0x3d3f9c){var _0x360fe7=_0x4f5e26;if(this[_0x360fe7(0x4bc)](_0x3d3f9c))return this[_0x360fe7(0x230)](),this[_0x360fe7(0x4f7)]['createInstance'](exports[_0x360fe7(0x25c)],this[_0x360fe7(0x4b7)],this[_0x360fe7(0x310)],this[_0x360fe7(0x4a3)],this[_0x360fe7(0x41f)],null,[_0x3d3f9c],this[_0x360fe7(0x45b)]);try{const _0x3c2b53=this['_transformService'][_0x360fe7(0x2cd)]([_0x3d3f9c],[this[_0x360fe7(0x4a3)]],!0x1);if(g[_0x360fe7(0x2a9)](_0x3c2b53)){const {c1Prime:_0x503b90,c2Prime:_0x826236}=_0x3c2b53,_0x200f43=this[_0x360fe7(0x350)][_0x360fe7(0x1fb)](_0x503b90[0x0],this[_0x360fe7(0x41f)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x200f43)){const {c1Prime:_0x35ad26,m2Prime:_0x13912d}=_0x200f43;return this[_0x360fe7(0x461)](_0x35ad26),_0x826236[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x360fe7(0x230)](),this['_injector'][_0x360fe7(0x2d6)](exports[_0x360fe7(0x206)],this[_0x360fe7(0x4b7)],this[_0x360fe7(0x310)],_0x826236[0x0],_0x13912d,this['_handler'],void 0x0);}throw _0x200f43['error'];}throw _0x3c2b53[_0x360fe7(0x457)];}catch(_0x4a1a8a){return this[_0x360fe7(0x2e9)][_0x360fe7(0x457)](_0x4a1a8a),this[_0x360fe7(0x419)](!0x1);}}[_0x4f5e26(0x480)](_0x3f3b04){var _0x41cd25=_0x4f5e26;if(this[_0x41cd25(0x230)](),this[_0x41cd25(0x4bc)](_0x3f3b04))return this[_0x41cd25(0x4f7)][_0x41cd25(0x2d6)](exports[_0x41cd25(0x25c)],this[_0x41cd25(0x4b7)],this[_0x41cd25(0x310)],null,this[_0x41cd25(0x41f)],this['_awaitingChangeset'],[],this[_0x41cd25(0x45b)]);this['_incrementRevisionNumber']();const _0x8077e3=this[_0x41cd25(0x4f7)]['createInstance'](exports[_0x41cd25(0x345)],this[_0x41cd25(0x4b7)],this[_0x41cd25(0x310)],this[_0x41cd25(0x41f)],this[_0x41cd25(0x45b)]);return _0x8077e3['_schedule'](),_0x8077e3[_0x41cd25(0x385)](),_0x8077e3;}[_0x4f5e26(0x51b)](_0x575aec){var _0x453ddb=_0x4f5e26;return this[_0x453ddb(0x419)](!!(_0x575aec!=null&&_0x575aec[_0x453ddb(0x38b)]));}[_0x4f5e26(0x2d2)](_0x451fb1){var _0x1c653a=_0x4f5e26;return this['_resendTimeout']>Nt?this[_0x1c653a(0x50a)]():(this[_0x1c653a(0x444)]=Ot(this[_0x1c653a(0x367)],{'timeout':this[_0x1c653a(0x367)],'reqId':_0x451fb1[_0x1c653a(0x218)]}),this[_0x1c653a(0x42a)]=this[_0x1c653a(0x444)][_0x1c653a(0x396)](({reqId:_0x105476,timeout:_0x33ec57})=>{var _0x279ebc=_0x1c653a;this[_0x279ebc(0x483)](_0x105476,_0x33ec57);}),this);}[_0x4f5e26(0x50a)](){var _0xf7d772=_0x4f5e26;return this[_0xf7d772(0x230)](),this[_0xf7d772(0x4f7)][_0xf7d772(0x2d6)](exports[_0xf7d772(0x384)],this[_0xf7d772(0x4b7)],this[_0xf7d772(0x310)],this['_awaitingChangeset'],this[_0xf7d772(0x41f)],this[_0xf7d772(0x45b)]);}[_0x4f5e26(0x243)](){return this;}['resend'](){var _0x579801=_0x4f5e26;this[_0x579801(0x45b)][_0x579801(0x29f)](this[_0x579801(0x4a3)]);}[_0x4f5e26(0x419)](_0x2dd5ca){var _0x1f4d97=_0x4f5e26;return this[_0x1f4d97(0x230)](),this[_0x1f4d97(0x4f7)][_0x1f4d97(0x2d6)](exports[_0x1f4d97(0x2ed)],this[_0x1f4d97(0x4b7)],this[_0x1f4d97(0x310)],null,this[_0x1f4d97(0x41f)],this[_0x1f4d97(0x45b)],_0x2dd5ca);}[_0x4f5e26(0x483)](_0x5f39a7,_0x9fcc60){var _0x4d3fb6=_0x4f5e26,_0x4226cb;_0x5f39a7===((_0x4226cb=this[_0x4d3fb6(0x4a3)])==null?void 0x0:_0x4226cb[_0x4d3fb6(0x218)])&&(this['resend'](),this['_resendTimeout']=_0x9fcc60===0x0?0x3e8:_0x9fcc60*0x2);}['_clearScheduledTask'](){var _0x32e8e1=_0x4f5e26,_0x10b585;(_0x10b585=this['_sender'])==null||_0x10b585[_0x32e8e1(0x2f4)](),this['_resendTimeout']=0x0;}},exports[_0x4f5e26(0x206)]=ce([w(0x6,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),w(0x7,a['Inject'](g[_0x4f5e26(0x2a2)])),w(0x8,a[_0x4f5e26(0x43f)]),w(0x9,a[_0x4f5e26(0x29b)]),w(0xa,g['ITransformService']),w(0xb,a[_0x4f5e26(0x331)]),w(0xc,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x206)]),exports[_0x4f5e26(0x2ed)]=class extends he{constructor(_0x241b30,_0x20fca1,_0x17671e,_0x16a2a0,_0x14f123,_0x3b094a=!0x1,_0x276d7d,_0xbc0316,_0x132e89,_0x50613f,_0x31e999,_0x91a502,_0x18be92){var _0x4d1c06=_0x4f5e26;super(_0x241b30,_0x20fca1,_0x17671e,_0x16a2a0,_0x14f123,_0xbc0316,_0x132e89,_0x50613f,_0x18be92),P(this,_0x4d1c06(0x2d9),_0x4d1c06(0x4f2)),(this['_isPermissionRej']=_0x3b094a,this[_0x4d1c06(0x219)]=_0x276d7d,this['_localeService']=_0x31e999,this[_0x4d1c06(0x445)]=_0x91a502,this['localCacheService']=_0x18be92,this[_0x4d1c06(0x31e)](),this[_0x4d1c06(0x500)](),this[_0x4d1c06(0x26b)]());}[_0x4f5e26(0x28d)](){return this;}[_0x4f5e26(0x4d5)](){return this;}[_0x4f5e26(0x480)](){return this;}[_0x4f5e26(0x51b)](){return this;}[_0x4f5e26(0x2d2)](){return this;}['toggleOffline'](){return this;}[_0x4f5e26(0x243)](){return this;}[_0x4f5e26(0x473)](){var _0x12692f=_0x4f5e26;throw new Error(_0x12692f(0x3ab));}[_0x4f5e26(0x500)](){var _0x42d34f=_0x4f5e26,_0x144967;(_0x144967=this[_0x42d34f(0x49c)])==null||_0x144967[_0x42d34f(0x1ef)](this['unitID'],this[_0x42d34f(0x310)],null,[]);}[_0x4f5e26(0x31e)](){var _0x39312c=_0x4f5e26;this['_isPermissionRej']?this[_0x39312c(0x445)][_0x39312c(0x323)]({'id':Q[_0x39312c(0x261)]}):this[_0x39312c(0x445)][_0x39312c(0x323)]({'id':Q[_0x39312c(0x3a4)]});}['_disableEditing'](){var _0xc1b3c5=_0x4f5e26;this[_0xc1b3c5(0x219)][_0xc1b3c5(0x4bf)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x4f5e26(0x2ed)]=ce([w(0x6,a['Inject'](a[_0x4f5e26(0x339)])),w(0x7,a['ICommandService']),w(0x8,a[_0x4f5e26(0x331)]),w(0x9,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x2a2)])),w(0xa,a['Inject'](a[_0x4f5e26(0x3c0)])),w(0xb,a[_0x4f5e26(0x47f)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x4f5e26(0x384)]=class extends he{constructor(_0x1756c6,_0x39796b,_0x179c4e,_0x99c178,_0x10af8c,_0x40ce3e,_0x4dd841,_0x573e8b,_0x46a802,_0x70fb79){var _0x52497c=_0x4f5e26;super(_0x1756c6,_0x39796b,_0x179c4e,_0x99c178,_0x10af8c,_0x573e8b,_0x46a802,_0x4dd841,_0x70fb79),P(this,_0x52497c(0x2d9),'offline'),this[_0x52497c(0x4f7)]=_0x40ce3e;}[_0x4f5e26(0x28d)](_0x4aff68){var _0x11ba42=_0x4f5e26;return this['_pendingMutations'][_0x11ba42(0x20c)](_0x4aff68),this[_0x11ba42(0x385)](),this;}[_0x4f5e26(0x4d5)](_0x1978ca){var _0x3826c7=_0x4f5e26;throw new Error(_0x3826c7(0x40b));}[_0x4f5e26(0x480)](){var _0x5b12f3=_0x4f5e26;throw new Error(_0x5b12f3(0x3ff));}['onRemoteRej'](){var _0x2d4428=_0x4f5e26;throw new Error(_0x2d4428(0x37e));}['onRemoteRetry'](){return this;}[_0x4f5e26(0x50a)](){return this;}['toggleOnline'](){var _0x3ea64e=_0x4f5e26;const {_injector:_0x50317f,_pendingMutations:_0x4dfb19,_awaitingChangeset:_0xbce14d,unitID:_0x215944,_handler:_0x4d095a,type:_0x33cb1d}=this,_0x6f679b=Dt(_0x50317f,_0x215944,_0x33cb1d,_0xbce14d,_0x4dfb19,_0x4d095a);return _0x6f679b instanceof exports['PendingState']?_0x6f679b[_0x3ea64e(0x3dc)]():(_0x6f679b instanceof exports[_0x3ea64e(0x206)]||_0x6f679b instanceof exports[_0x3ea64e(0x2fb)])&&_0x6f679b[_0x3ea64e(0x473)](),_0x6f679b;}['resend'](){var _0x5d2bd0=_0x4f5e26;throw new Error(_0x5d2bd0(0x2c7));}},exports[_0x4f5e26(0x384)]=ce([w(0x5,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),w(0x6,a['Inject'](g[_0x4f5e26(0x2a2)])),w(0x7,a[_0x4f5e26(0x43f)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x384)]),exports['FetchingMissState']=class extends he{constructor(_0x204953,_0x27008c,_0x386aef,_0x17a6af,_0x235687,_0x581829,_0x356c64,_0x7716b4,_0x290381,_0x3e495f,_0x221052,_0x2a860f,_0x20d8e3,_0xf1009){var _0x18161f=_0x4f5e26;super(_0x204953,_0x27008c,_0x386aef,_0x17a6af,_0x356c64,_0x221052,_0x2a860f,_0x290381,_0xf1009),P(this,'status',_0x18161f(0x21f)),(this[_0x18161f(0x2d5)]=_0x235687,this['_queuedRemoteChangesets']=_0x581829,this[_0x18161f(0x4f7)]=_0x7716b4,this['_logService']=_0x3e495f,this[_0x18161f(0x350)]=_0x20d8e3,this[_0x18161f(0x51d)]=_0xf1009);}[_0x4f5e26(0x4bd)](_0x1a1818){var _0x37e26a=_0x4f5e26;try{const _0x2550d1=[..._0x1a1818,...this[_0x37e26a(0x244)]],_0x3bbbfb=[this[_0x37e26a(0x4a3)]||this['_acknowledgedAwaitingChangeset']][_0x37e26a(0x208)](_0x287b9=>!!_0x287b9);let _0x23c112,_0x29ea1a;if(_0x3bbbfb[_0x37e26a(0x531)]){const _0x2b48dd=this['_transformService'][_0x37e26a(0x2cd)](_0x2550d1,_0x3bbbfb,!0x1);if(!g[_0x37e26a(0x2a9)](_0x2b48dd))throw _0x2b48dd['error'];_0x23c112=_0x2b48dd['c1Prime'],_0x29ea1a=_0x2b48dd[_0x37e26a(0x387)];}else _0x23c112=_0x2550d1,_0x29ea1a=[];let _0x1e23f6=this[_0x37e26a(0x41f)];_0x23c112[_0x37e26a(0x37d)](_0x35a954=>{var _0xf26823=_0x37e26a;let _0x5e8840;if(_0x1e23f6['length']){const _0x434d7c=this[_0xf26823(0x350)][_0xf26823(0x1fb)](_0x35a954,_0x1e23f6);if(!g[_0xf26823(0x47c)](_0x434d7c))throw _0x434d7c['error'];_0x5e8840=_0x434d7c[_0xf26823(0x31c)],_0x1e23f6=_0x434d7c[_0xf26823(0x3a9)];}else _0x5e8840=_0x35a954;this[_0xf26823(0x461)](_0x5e8840);}),this[_0x37e26a(0x2d5)]&&this['_incrementRevisionNumber'](),this[_0x37e26a(0x4a3)]&&_0x29ea1a['length']&&(_0x29ea1a[0x0][_0x37e26a(0x3e4)]=this[_0x37e26a(0x36c)]());let _0x434b5a;if(this['_awaitingChangeset']&&_0x1e23f6['length']!==0x0)_0x434b5a=this[_0x37e26a(0x4f7)][_0x37e26a(0x2d6)](exports[_0x37e26a(0x206)],this[_0x37e26a(0x4b7)],this[_0x37e26a(0x310)],_0x29ea1a[0x0],_0x1e23f6,this[_0x37e26a(0x45b)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1e23f6[_0x37e26a(0x531)]===0x0)_0x29ea1a[0x0][_0x37e26a(0x3e4)]=this[_0x37e26a(0x36c)](),_0x434b5a=this[_0x37e26a(0x4f7)][_0x37e26a(0x2d6)](exports[_0x37e26a(0x2fb)],this['unitID'],this[_0x37e26a(0x310)],_0x29ea1a[0x0],this[_0x37e26a(0x45b)]);else{if(_0x1e23f6[_0x37e26a(0x531)]!==0x0){const _0x1bb693=this['_injector'][_0x37e26a(0x2d6)](exports['PendingState'],this[_0x37e26a(0x4b7)],this[_0x37e26a(0x310)],_0x1e23f6,this['_handler']);_0x1bb693[_0x37e26a(0x3dc)](),_0x434b5a=_0x1bb693;}else _0x434b5a=this['_injector'][_0x37e26a(0x2d6)](exports[_0x37e26a(0x4e1)],this['unitID'],this[_0x37e26a(0x310)],this[_0x37e26a(0x45b)]);}}return _0x434b5a[_0x37e26a(0x385)](),_0x434b5a;}catch(_0x14c8b8){return this[_0x37e26a(0x2e9)][_0x37e26a(0x457)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x14c8b8),this[_0x37e26a(0x4f7)][_0x37e26a(0x2d6)](exports[_0x37e26a(0x2ed)],this['unitID'],this[_0x37e26a(0x310)],this[_0x37e26a(0x4a3)],this['_pendingMutations'],this[_0x37e26a(0x45b)],!0x1);}}['resend'](){var _0x464247=_0x4f5e26;throw new Error(_0x464247(0x4c6));}['appendMutation'](_0x246f4f){var _0x3110ff=_0x4f5e26;return this[_0x3110ff(0x41f)]['push'](_0x246f4f),this;}[_0x4f5e26(0x4d5)](_0x4edac5){var _0x328b57=_0x4f5e26;return this[_0x328b57(0x244)][_0x328b57(0x20c)](_0x4edac5),this;}[_0x4f5e26(0x480)](_0x2f1deb){var _0x3755c5=_0x4f5e26;if(this['_awaitingChangeset'])return this[_0x3755c5(0x2d5)]=this[_0x3755c5(0x4a3)],this['_awaitingChangeset']=null,this;throw new Error(_0x3755c5(0x39e));}[_0x4f5e26(0x51b)](_0x15a543){var _0x401e24=_0x4f5e26;return this[_0x401e24(0x419)](!!(_0x15a543!=null&&_0x15a543[_0x401e24(0x38b)]));}['onRemoteRetry'](){return this;}[_0x4f5e26(0x50a)](){var _0x193f21=_0x4f5e26;return this['_injector'][_0x193f21(0x2d6)](exports[_0x193f21(0x384)],this[_0x193f21(0x4b7)],this[_0x193f21(0x310)],this[_0x193f21(0x4a3)],this[_0x193f21(0x41f)],this[_0x193f21(0x45b)]);}['toggleOnline'](){return this;}[_0x4f5e26(0x419)](_0xbd22d2){var _0xe88048=_0x4f5e26;return this[_0xe88048(0x4f7)][_0xe88048(0x2d6)](exports[_0xe88048(0x2ed)],this[_0xe88048(0x4b7)],this[_0xe88048(0x310)],this[_0xe88048(0x4a3)],this[_0xe88048(0x41f)],this[_0xe88048(0x45b)],_0xbd22d2);}},exports[_0x4f5e26(0x25c)]=ce([w(0x7,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),w(0x8,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x2a2)])),w(0x9,a['ILogService']),w(0xa,a['ICommandService']),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x4f5e26(0x302)]),w(0xd,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x25c)]);function Dt(_0x207bb3,_0x49b46f,_0x585f2f,_0x178f37,_0x4b1cbd,_0x4cfdc1){var _0x5de6c1=_0x4f5e26;return _0x178f37&&_0x4b1cbd[_0x5de6c1(0x531)]?_0x207bb3['createInstance'](exports[_0x5de6c1(0x206)],_0x49b46f,_0x585f2f,_0x178f37,_0x4b1cbd,_0x4cfdc1,void 0x0):_0x178f37?_0x207bb3[_0x5de6c1(0x2d6)](exports[_0x5de6c1(0x2fb)],_0x49b46f,_0x585f2f,_0x178f37,_0x4cfdc1):_0x4b1cbd[_0x5de6c1(0x531)]?_0x207bb3[_0x5de6c1(0x2d6)](exports[_0x5de6c1(0x345)],_0x49b46f,_0x585f2f,_0x4b1cbd,_0x4cfdc1):_0x207bb3[_0x5de6c1(0x2d6)](exports[_0x5de6c1(0x4e1)],_0x49b46f,_0x585f2f,_0x4cfdc1);}var Ci=Object[_0x4f5e26(0x2ef)],Ge=(_0x1e445e,_0x2ab16c,_0x498964,_0x25bcfb)=>{var _0x4371b4=_0x4f5e26;for(var _0x513cec=_0x25bcfb>0x1?void 0x0:_0x25bcfb?Ci(_0x2ab16c,_0x498964):_0x2ab16c,_0x42019b=_0x1e445e[_0x4371b4(0x531)]-0x1,_0x1f1a53;_0x42019b>=0x0;_0x42019b--)(_0x1f1a53=_0x1e445e[_0x42019b])&&(_0x513cec=_0x1f1a53(_0x513cec)||_0x513cec);return _0x513cec;},$=(_0x25c14b,_0x50261c)=>(_0x5d4bed,_0x4fdb2f)=>_0x50261c(_0x5d4bed,_0x4fdb2f,_0x25c14b);exports[_0x4f5e26(0x3a2)]=class extends a[_0x4f5e26(0x343)]{constructor(_0x26e274,_0x47541d,_0x3aeef9,_0x5f0658,_0x2e4d76,_0x4ea90a,_0xdb6b47,_0x46e230,_0x50a678,_0x2c76bf,_0x4b91ca,_0xd0674,_0x409ee8){var _0xa5c8c2=_0x4f5e26;super(),P(this,_0xa5c8c2(0x31b),new j[(_0xa5c8c2(0x48c))](null)),P(this,_0xa5c8c2(0x3b3),this[_0xa5c8c2(0x31b)][_0xa5c8c2(0x34d)]()),P(this,_0xa5c8c2(0x395)),P(this,_0xa5c8c2(0x420),!0x1),P(this,_0xa5c8c2(0x1e7),''),P(this,'_changesetReqId',0x0),P(this,_0xa5c8c2(0x48f),this[_0xa5c8c2(0x3b3)][_0xa5c8c2(0x26d)](j['map'](_0x3ec1d9=>_0x3ec1d9?_0x3ec1d9[_0xa5c8c2(0x2d9)]:We['OFFLINE']),j[_0xa5c8c2(0x37b)](0x1))),P(this,_0xa5c8c2(0x501),!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0xa5c8c2(0x4b7)]=_0x26e274,this[_0xa5c8c2(0x403)]=_0x47541d,this[_0xa5c8c2(0x46c)]=_0x3aeef9,this[_0xa5c8c2(0x4f7)]=_0x5f0658,this[_0xa5c8c2(0x4b2)]=_0x2e4d76,this[_0xa5c8c2(0x1ee)]=_0x4ea90a,this[_0xa5c8c2(0x28e)]=_0xdb6b47,this[_0xa5c8c2(0x2be)]=_0x46e230,this[_0xa5c8c2(0x2e9)]=_0x50a678,this[_0xa5c8c2(0x3ad)]=_0x2c76bf,this[_0xa5c8c2(0x219)]=_0x4b91ca,this[_0xa5c8c2(0x273)]=_0xd0674,this[_0xa5c8c2(0x49c)]=_0x409ee8);}get['state'](){var _0x3f21d5=_0x4f5e26;return this[_0x3f21d5(0x395)];}async[_0x4f5e26(0x520)](){var _0x542fd3=_0x4f5e26;if(this[_0x542fd3(0x294)])throw new Error(_0x542fd3(0x3cd));await this[_0x542fd3(0x447)]();}[_0x4f5e26(0x4be)](){var _0x56cac3=_0x4f5e26;return this[_0x56cac3(0x420)]=!0x0,a[_0x56cac3(0x256)](()=>{var _0x7f53f6=_0x56cac3;this[_0x7f53f6(0x420)]=!0x1,this[_0x7f53f6(0x2db)]();});}[_0x4f5e26(0x36f)](_0x5db448){var _0x52910c=_0x4f5e26;this[_0x52910c(0x37f)](_0x5db448);}['_updateState'](_0x508a61){var _0x42b846=_0x4f5e26;this['_state']=_0x508a61,this[_0x42b846(0x31b)][_0x42b846(0x322)](_0x508a61);}async[_0x4f5e26(0x447)](){var _0x213856=_0x4f5e26,_0x4ddfac;this[_0x213856(0x513)](await this[_0x213856(0x4d3)]()),this['_singleActiveUnitService']&&((_0x4ddfac=this[_0x213856(0x273)])==null||_0x4ddfac[_0x213856(0x4ce)](this[_0x213856(0x4b7)]),this[_0x213856(0x238)](this[_0x213856(0x273)]['getUnitStatus$'](this[_0x213856(0x4b7)])[_0x213856(0x396)](_0x450fbb=>{var _0x3d6885=_0x213856;this[_0x3d6885(0x2e9)][_0x3d6885(0x42f)](_0x3d6885(0x44d),'editing\x20status\x20changed\x20to',_0x450fbb),_0x450fbb===Fe[_0x3d6885(0x304)]?(this[_0x3d6885(0x2be)]['emitEvent']({'id':Q[_0x3d6885(0x3d4)]}),this['_permissionService'][_0x3d6885(0x4bf)](new Z['WorkbookEditablePermission'](this[_0x3d6885(0x4b7)])['id'],!0x1),this[_0x3d6885(0x219)][_0x3d6885(0x417)](!0x1)):(this[_0x3d6885(0x219)][_0x3d6885(0x4bf)](new Z['WorkbookEditablePermission'](this[_0x3d6885(0x4b7)])['id'],!0x0),this[_0x3d6885(0x219)]['setShowComponents'](!0x0));})));let _0x5f714a=!0x1;return this[_0x213856(0x238)](this[_0x213856(0x403)]['sessionStatus$'][_0x213856(0x396)](_0x13f363=>{var _0xc83d0f=_0x213856;_0x13f363===se[_0xc83d0f(0x335)]?this[_0xc83d0f(0x277)](_0x5f714a):_0x13f363===se[_0xc83d0f(0x2b5)]&&(_0x5f714a=!0x0,this['_toggleOffline']());})),this[_0x213856(0x238)](this[_0x213856(0x403)][_0x213856(0x4ca)][_0x213856(0x396)](_0x381e14=>{var _0x1ed51a=_0x213856;try{switch(_0x381e14[_0x1ed51a(0x3d7)]){case g['CollaborationEvent'][_0x1ed51a(0x286)]:{this['_onRemoteChangeset'](g[_0x1ed51a(0x369)](_0x381e14[_0x1ed51a(0x469)]));break;}case g[_0x1ed51a(0x47d)][_0x1ed51a(0x3b4)]:{this['_onRemoteACK'](_0x381e14['data']);break;}case g[_0x1ed51a(0x47d)][_0x1ed51a(0x240)]:{this['_onRemoteRejected']();break;}case g[_0x1ed51a(0x47d)][_0x1ed51a(0x28c)]:{this['_onRemoteRetry'](_0x381e14[_0x1ed51a(0x469)]);break;}case g['CollaborationEvent'][_0x1ed51a(0x2e7)]:{this[_0x1ed51a(0x2b2)](_0x381e14['data'][_0x1ed51a(0x2eb)]['map'](_0x145459=>g[_0x1ed51a(0x369)](_0x145459)));break;}case g[_0x1ed51a(0x47d)]['PERMISSION_REJ']:{this[_0x1ed51a(0x300)]({'isPermissionRej':!0x0});break;}case g[_0x1ed51a(0x47d)][_0x1ed51a(0x409)]:break;}}catch(_0x32a3b4){throw console[_0x1ed51a(0x457)](_0x1ed51a(0x311),_0x32a3b4),_0x32a3b4;}})),this[_0x213856(0x395)];}[_0x4f5e26(0x49b)](){var _0x1c7695=_0x4f5e26;this[_0x1c7695(0x501)]=!0x1;}[_0x4f5e26(0x25e)](){var _0x57383f=_0x4f5e26;if(this[_0x57383f(0x501)])throw new Error(_0x57383f(0x4c4));this[_0x57383f(0x501)]=!0x0;}[_0x4f5e26(0x37f)](_0x36c61e){var _0x2d60ca=_0x4f5e26;this[_0x2d60ca(0x25e)](),this[_0x2d60ca(0x513)](this[_0x2d60ca(0x395)][_0x2d60ca(0x28d)](_0x36c61e)),this[_0x2d60ca(0x49b)]();}[_0x4f5e26(0x362)](_0x18bf07){var _0x1844e2=_0x4f5e26;if(!(_0x18bf07[_0x1844e2(0x4ae)]<=this['_revisionService'][_0x1844e2(0x512)](this[_0x1844e2(0x4b7)]))){if(this[_0x1844e2(0x420)]){this[_0x1844e2(0x308)][_0x1844e2(0x20c)](_0x18bf07);return;}this['_applyRemoteChangeset'](_0x18bf07);}}['_exhaustRemoteChangesetQueue'](){var _0x413f9f=_0x4f5e26;this[_0x413f9f(0x308)]['forEach'](_0x106fba=>this['_applyRemoteChangeset'](_0x106fba)),this['_remoteChangesetQueue']=[];}[_0x4f5e26(0x341)](_0x5849c3){var _0x326b48=_0x4f5e26;const _0x54f8b6=this[_0x326b48(0x4b2)]['interceptor'][_0x326b48(0x48a)](this[_0x326b48(0x4b2)][_0x326b48(0x356)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5849c3['mutations'],null)||_0x5849c3[_0x326b48(0x4f9)],_0x71c09d={..._0x5849c3,'mutations':_0x54f8b6};this[_0x326b48(0x25e)](),this[_0x326b48(0x513)](this[_0x326b48(0x395)][_0x326b48(0x4d5)](_0x71c09d)),this[_0x326b48(0x49b)]();}[_0x4f5e26(0x250)](_0x326f2c){var _0x1bc92b=_0x4f5e26;this[_0x1bc92b(0x25e)](),this['_updateState'](this['_state'][_0x1bc92b(0x480)](_0x326f2c)),this[_0x1bc92b(0x49b)]();}[_0x4f5e26(0x300)](_0x3de3a0){var _0x460b4a=_0x4f5e26;this[_0x460b4a(0x25e)](),this['_updateState'](this[_0x460b4a(0x395)][_0x460b4a(0x51b)](_0x3de3a0)),this[_0x460b4a(0x49b)]();}[_0x4f5e26(0x259)](_0x3ae4e5){var _0x3f7c7a=_0x4f5e26;this['_lockTransition'](),this['_updateState'](this[_0x3f7c7a(0x395)][_0x3f7c7a(0x2d2)](_0x3ae4e5)),this['_unlockTransition']();}[_0x4f5e26(0x2b2)](_0x2b0261){var _0x2050a5=_0x4f5e26;if(!(this[_0x2050a5(0x395)]instanceof exports['FetchingMissState']))throw new TypeError(_0x2050a5(0x24f));const _0x121578=_0x2b0261[_0x2050a5(0x355)](_0x577cda=>{var _0x3a49d9=_0x2050a5;const _0x4141bb=this[_0x3a49d9(0x4b2)][_0x3a49d9(0x356)]['fetchThroughInterceptors'](this[_0x3a49d9(0x4b2)][_0x3a49d9(0x356)][_0x3a49d9(0x25d)]()['COMPRESS_MUTATION_APPLY'])(_0x577cda['mutations'],null)||_0x577cda['mutations'];return{..._0x577cda,'mutations':_0x4141bb};});this[_0x2050a5(0x25e)](),this['_updateState'](this[_0x2050a5(0x395)][_0x2050a5(0x4bd)](_0x121578)),this[_0x2050a5(0x49b)]();}[_0x4f5e26(0x2b1)](){var _0x4526a8=_0x4f5e26;this[_0x4526a8(0x25e)](),this[_0x4526a8(0x513)](this[_0x4526a8(0x395)][_0x4526a8(0x50a)]()),this[_0x4526a8(0x49b)]();}['_toggleOnline'](_0xa2d99a=!0x1){var _0x5ea765=_0x4f5e26;this[_0x5ea765(0x25e)](),this[_0x5ea765(0x513)](this[_0x5ea765(0x395)][_0x5ea765(0x243)]()),this['_unlockTransition']();const _0x32e543=this[_0x5ea765(0x395)];_0xa2d99a&&_0x32e543 instanceof exports[_0x5ea765(0x4e1)]&&(this[_0x5ea765(0x25e)](),this[_0x5ea765(0x513)](_0x32e543[_0x5ea765(0x38f)]()),this[_0x5ea765(0x49b)]());}async[_0x4f5e26(0x4d3)](){return new Promise(_0x399a1f=>{var _0x2f1bd3=_0x1b53;this[_0x2f1bd3(0x403)][_0x2f1bd3(0x24e)]['pipe'](j['take'](0x1))['subscribe'](async _0x2951aa=>{var _0x550c89=_0x2f1bd3;_0x399a1f(await this[_0x550c89(0x315)](_0x2951aa===se['ONLINE']));});});}[_0x4f5e26(0x46f)](){var _0x432d4a=_0x4f5e26;const _0x55baa8=this[_0x432d4a(0x4b7)];return{'onStateChange':(_0x10585e,_0x4be9fd)=>{var _0x37126b=_0x432d4a;if(_0x10585e!==this[_0x37126b(0x395)])throw new Error(_0x37126b(0x265)+_0x10585e[_0x37126b(0x2d9)]+_0x37126b(0x4a5)+_0x4be9fd['status']+'\x0aCurrent:\x20'+this[_0x37126b(0x395)][_0x37126b(0x2d9)]);this[_0x37126b(0x513)](_0x4be9fd);},'onSendChangeset':_0x2b7a31=>{var _0x480ffd=_0x432d4a;_0x2b7a31['sid']||(_0x2b7a31['sid']=this['_changesetSessionId'],_0x2b7a31['reqId']=++this['_changesetReqId']);const _0x3617fc={'eventID':g[_0x480ffd(0x47d)][_0x480ffd(0x4ac)],'data':{'unitID':_0x2b7a31['unitID'],'unitType':this['_type'],'changeset':_0x2b7a31,'memberID':this[_0x480ffd(0x403)][_0x480ffd(0x32a)]()}};this[_0x480ffd(0x403)]['send'](_0x3617fc,this['unitID']);},'onMissingChangesets':({from:_0x9a68fa,to:_0x55b3c4})=>{var _0x1a8f90=_0x432d4a;this[_0x1a8f90(0x2e9)][_0x1a8f90(0x42f)]('[CollaborationEntity]',_0x1a8f90(0x30c)+_0x9a68fa+'\x20to\x20'+_0x55b3c4);const _0x274774={'eventID':g[_0x1a8f90(0x47d)][_0x1a8f90(0x297)],'data':{'unitID':_0x55baa8,'unitType':this[_0x1a8f90(0x46c)],'from':_0x9a68fa,'to':_0x55b3c4}};this['session']['send'](_0x274774,this[_0x1a8f90(0x4b7)]);}};}async['_createInitialStateImpl'](_0x57c5ba){var _0x1a7cce=_0x4f5e26,_0x514108,_0x3783d8,_0x53dd91;const _0x2a8380=await((_0x514108=this[_0x1a7cce(0x49c)])==null?void 0x0:_0x514108[_0x1a7cce(0x443)](this[_0x1a7cce(0x4b7)])),_0x36db77=(_0x3783d8=_0x2a8380==null?void 0x0:_0x2a8380[_0x1a7cce(0x4f9)])!=null?_0x3783d8:[],_0x290c85=(_0x53dd91=_0x2a8380==null?void 0x0:_0x2a8380[_0x1a7cce(0x1fe)])!=null?_0x53dd91:null,_0x34db2a=!!(_0x290c85!=null&&_0x290c85[_0x1a7cce(0x324)])&&!!(_0x290c85!=null&&_0x290c85[_0x1a7cce(0x218)]);this[_0x1a7cce(0x1e7)]=_0x34db2a?_0x290c85['sid']:di(),this['_changesetReqId']=_0x34db2a?_0x290c85[_0x1a7cce(0x218)]:0x0;const _0x4be2de=this[_0x1a7cce(0x4b7)];try{this[_0x1a7cce(0x234)](_0x290c85,_0x36db77);}catch(_0x3f55fc){this[_0x1a7cce(0x2e9)][_0x1a7cce(0x457)](_0x3f55fc);}const _0x414a48=this[_0x1a7cce(0x46f)]();if(_0x57c5ba){const _0x5ed319=Dt(this[_0x1a7cce(0x4f7)],_0x4be2de,this['_type'],_0x290c85,_0x36db77,_0x414a48);return _0x5ed319 instanceof exports[_0x1a7cce(0x345)]?_0x5ed319['_schedule']():(_0x5ed319 instanceof exports[_0x1a7cce(0x206)]||_0x5ed319 instanceof exports['AwaitingState'])&&_0x5ed319[_0x1a7cce(0x473)](),_0x5ed319;}return this[_0x1a7cce(0x4f7)][_0x1a7cce(0x2d6)](exports['OfflineState'],_0x4be2de,this[_0x1a7cce(0x46c)],_0x290c85,_0x36db77,_0x414a48);}['_replayCachedMutations'](_0x59afae,_0x1879c0){var _0x554d42=_0x4f5e26,_0x5c87d0,_0x52253a;const _0x33cbc8=this[_0x554d42(0x4b2)]['interceptor'][_0x554d42(0x48a)](this[_0x554d42(0x4b2)][_0x554d42(0x356)][_0x554d42(0x25d)]()[_0x554d42(0x27d)]);(_0x5c87d0=_0x33cbc8((_0x59afae==null?void 0x0:_0x59afae[_0x554d42(0x4f9)])||[],null))==null||_0x5c87d0[_0x554d42(0x37d)](_0x192883=>this['_commandService'][_0x554d42(0x3d6)](_0x192883['id'],_0x192883[_0x554d42(0x521)])),(_0x52253a=_0x33cbc8(_0x1879c0||[],null))==null||_0x52253a[_0x554d42(0x37d)](_0x3e17f6=>this[_0x554d42(0x3ad)][_0x554d42(0x3d6)](_0x3e17f6['id'],_0x3e17f6[_0x554d42(0x521)]));}},exports[_0x4f5e26(0x3a2)]=Ge([$(0x3,a['Inject'](a['Injector'])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x4f5e26(0x47f)](a['LocaleService'])),$(0x6,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x2a2)])),$(0x7,a[_0x4f5e26(0x47f)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x4f5e26(0x43f)]),$(0xa,a[_0x4f5e26(0x339)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x3a2)]),exports['DocCollaborationEntity']=class extends exports[_0x4f5e26(0x3a2)]{constructor(_0x37bf63,_0x214278,_0xda533d,_0x59a1b0,_0x8dd40e,_0x3bf2a3,_0x2375fa,_0x511090,_0x690929,_0x2eadbd,_0x1455ba,_0xc403c1,_0x30740a){var _0x1779fc=_0x4f5e26;super(_0x37bf63,_0xda533d,_0x214278,_0x59a1b0,_0x8dd40e,_0x3bf2a3,_0x2375fa,_0x511090,_0x690929,_0x2eadbd,_0x1455ba,_0xc403c1,_0x30740a),P(this,'_handlerCallback',null),(this[_0x1779fc(0x4b7)]=_0x37bf63,this[_0x1779fc(0x310)]=_0x214278);}[_0x4f5e26(0x2e6)](_0x33de33){var _0x4b8b53=_0x4f5e26;this[_0x4b8b53(0x2ca)]=_0x33de33;}[_0x4f5e26(0x374)](){var _0x3be0de=_0x4f5e26;this['_handlerCallback']=null,super[_0x3be0de(0x374)]();}[_0x4f5e26(0x46f)](){var _0x24f881=_0x4f5e26;const _0xbdf5d3=super['_createHandler']();return _0xbdf5d3['onTransformIME']=_0x2d898e=>{var _0x502d54=_0x1b53,_0x1482a6,_0x25f601;return(_0x25f601=(_0x1482a6=this[_0x502d54(0x2ca)])==null?void 0x0:_0x1482a6[_0x502d54(0x2f5)])==null?void 0x0:_0x25f601[_0x502d54(0x424)](_0x1482a6,_0x2d898e);},_0xbdf5d3[_0x24f881(0x269)]=_0x40536d=>{var _0x24a207=_0x24f881,_0x38a0f6,_0x50c932;return(_0x50c932=(_0x38a0f6=this[_0x24a207(0x2ca)])==null?void 0x0:_0x38a0f6[_0x24a207(0x269)])==null?void 0x0:_0x50c932[_0x24a207(0x424)](_0x38a0f6,_0x40536d);},_0xbdf5d3['onTransformSelections']=_0x227579=>{var _0x4f5f48=_0x24f881,_0x44012c,_0xaac05e;return(_0xaac05e=(_0x44012c=this['_handlerCallback'])==null?void 0x0:_0x44012c['onTransformSelections'])==null?void 0x0:_0xaac05e[_0x4f5f48(0x424)](_0x44012c,_0x227579);},_0xbdf5d3['onSyncEditingCollabCursor']=_0x53e5fa=>{var _0x455f71=_0x24f881,_0x347fd7,_0x2645e1;return(_0x2645e1=(_0x347fd7=this[_0x455f71(0x2ca)])==null?void 0x0:_0x347fd7[_0x455f71(0x1dc)])==null?void 0x0:_0x2645e1['call'](_0x347fd7,_0x53e5fa);},_0xbdf5d3[_0x24f881(0x2ff)]=_0x1f08d6=>{var _0x31450e=_0x24f881,_0x2bf518,_0x383361,_0x51574a;if(!((_0x2bf518=this[_0x31450e(0x2ca)])!=null&&_0x2bf518[_0x31450e(0x2ff)]))throw new Error(_0x31450e(0x415));return(_0x51574a=(_0x383361=this[_0x31450e(0x2ca)])==null?void 0x0:_0x383361['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x51574a[_0x31450e(0x424)](_0x383361,_0x1f08d6);},_0xbdf5d3[_0x24f881(0x511)]=_0xce6278=>{var _0x40206d=_0x24f881,_0x9ffff4,_0xc074bf,_0x278176;if(!((_0x9ffff4=this[_0x40206d(0x2ca)])!=null&&_0x9ffff4['onTransformRemoteChangesetByStateCache']))throw new Error(_0x40206d(0x35c));return(_0x278176=(_0xc074bf=this[_0x40206d(0x2ca)])==null?void 0x0:_0xc074bf['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x278176[_0x40206d(0x424)](_0xc074bf,_0xce6278);},_0xbdf5d3;}async['_init'](){var _0x168127=_0x4f5e26;const _0x5a77b8=await super['_init']();return this[_0x168127(0x238)](this[_0x168127(0x3ad)][_0x168127(0x31d)]((_0x2059f6,_0x156921)=>{var _0x57eddf=_0x168127;if(_0x2059f6['type']!==a[_0x57eddf(0x494)]['MUTATION']||_0x156921!=null&&_0x156921[_0x57eddf(0x3d2)]||_0x156921!=null&&_0x156921[_0x57eddf(0x3a8)]||_0x2059f6['id']===ut[_0x57eddf(0x429)]['id'])return;const _0x21fe4c=_0x2059f6['params'];if((_0x21fe4c==null?void 0x0:_0x21fe4c['unitId'])!==this['unitID'])return;const _0x13d401=_0x2059f6,_0x364b3a=this[_0x57eddf(0x4b2)][_0x57eddf(0x356)][_0x57eddf(0x48a)](this[_0x57eddf(0x4b2)][_0x57eddf(0x356)][_0x57eddf(0x25d)]()[_0x57eddf(0x314)])([_0x13d401],null)||[_0x13d401];this[_0x57eddf(0x37f)](_0x364b3a[0x0]);})),_0x5a77b8;}},exports[_0x4f5e26(0x378)]=Ge([$(0x3,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),$(0x4,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x383)])),$(0x5,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x3c0)])),$(0x6,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x2a2)])),$(0x7,a[_0x4f5e26(0x47f)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x4f5e26(0x43f)]),$(0xa,a[_0x4f5e26(0x339)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x378)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x4a9cc8,_0x50c704,_0x3d49ea,_0x2cb6a7,_0x552cd6,_0x1e3a08,_0x37e2fe,_0x42cbc5,_0x15d48a,_0x344dc0,_0x543d7b,_0x1b5aa2,_0x5a990e,_0x5e1ae8){var _0x5e67e1=_0x4f5e26;super(_0x4a9cc8,_0x3d49ea,_0x50c704,_0x2cb6a7,_0x552cd6,_0x1e3a08,_0x37e2fe,_0x15d48a,_0x344dc0,_0x543d7b,_0x1b5aa2,_0x5a990e,_0x5e1ae8),this[_0x5e67e1(0x4b7)]=_0x4a9cc8,this[_0x5e67e1(0x310)]=_0x50c704,this[_0x5e67e1(0x2ba)]=_0x42cbc5;}[_0x4f5e26(0x46f)](){var _0x15f4ca=_0x4f5e26;const _0xc86592=super[_0x15f4ca(0x46f)]();return _0xc86592[_0x15f4ca(0x4cd)]=_0x4724ee=>this[_0x15f4ca(0x2ba)][_0x15f4ca(0x274)](_0x4724ee),_0xc86592;}async[_0x4f5e26(0x447)](){var _0x7d66e=_0x4f5e26;const _0x2f5bf2=await super['_init']();return this[_0x7d66e(0x238)](this[_0x7d66e(0x3ad)][_0x7d66e(0x31d)]((_0x288919,_0x2788a2)=>{var _0x15ebe2=_0x7d66e;if(_0x288919[_0x15ebe2(0x310)]!==a[_0x15ebe2(0x494)][_0x15ebe2(0x224)]||_0x2788a2!=null&&_0x2788a2[_0x15ebe2(0x3d2)]||_0x2788a2!=null&&_0x2788a2[_0x15ebe2(0x3a8)])return;const _0x4a897b=_0x288919[_0x15ebe2(0x521)];if((_0x4a897b==null?void 0x0:_0x4a897b['unitId'])!==this[_0x15ebe2(0x4b7)])return;const _0x1e61b7=_0x288919,_0x465d83=this[_0x15ebe2(0x4b2)][_0x15ebe2(0x356)][_0x15ebe2(0x48a)](this[_0x15ebe2(0x4b2)]['interceptor'][_0x15ebe2(0x25d)]()['COMPRESS_MUTATION_SEND'])([_0x1e61b7],null)||[_0x1e61b7];this[_0x15ebe2(0x37f)](_0x465d83[0x0]);})),_0x2f5bf2;}},exports[_0x4f5e26(0x46d)]=Ge([$(0x3,a['Inject'](a[_0x4f5e26(0x438)])),$(0x4,a[_0x4f5e26(0x47f)](g[_0x4f5e26(0x383)])),$(0x5,a['Inject'](a[_0x4f5e26(0x3c0)])),$(0x6,a[_0x4f5e26(0x47f)](g['RevisionService'])),$(0x7,a[_0x4f5e26(0x47f)](exports[_0x4f5e26(0x27a)])),$(0x8,a[_0x4f5e26(0x47f)](te)),$(0x9,a[_0x4f5e26(0x29b)]),$(0xa,a[_0x4f5e26(0x43f)]),$(0xb,a[_0x4f5e26(0x339)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x4f5e26(0x3b5)](z))],exports[_0x4f5e26(0x46d)]);var Ti=Object[_0x4f5e26(0x2ef)],bi=(_0x5776bc,_0x3f1487,_0x284fca,_0x672358)=>{var _0x3e5f84=_0x4f5e26;for(var _0x4e911c=_0x672358>0x1?void 0x0:_0x672358?Ti(_0x3f1487,_0x284fca):_0x3f1487,_0x34d46e=_0x5776bc[_0x3e5f84(0x531)]-0x1,_0x3a7d63;_0x34d46e>=0x0;_0x34d46e--)(_0x3a7d63=_0x5776bc[_0x34d46e])&&(_0x4e911c=_0x3a7d63(_0x4e911c)||_0x4e911c);return _0x4e911c;},Ae=(_0x1db7bc,_0x4cdf89)=>(_0x2235ac,_0x51fe6e)=>_0x4cdf89(_0x2235ac,_0x51fe6e,_0x1db7bc);exports['CollaborationController']=class extends a[_0x4f5e26(0x343)]{constructor(_0x4bdc0b,_0x1c1350,_0x529f46){var _0x3f11c4=_0x4f5e26;super(),P(this,_0x3f11c4(0x231),new Map()),P(this,_0x3f11c4(0x263),new j[(_0x3f11c4(0x45e))]()),P(this,'entityInit$',this[_0x3f11c4(0x263)][_0x3f11c4(0x34d)]()),(this[_0x3f11c4(0x4f7)]=_0x4bdc0b,this[_0x3f11c4(0x3cb)]=_0x1c1350,this[_0x3f11c4(0x459)]=_0x529f46,this[_0x3f11c4(0x447)]());}[_0x4f5e26(0x374)](){var _0x5087f7=_0x4f5e26;super[_0x5087f7(0x374)](),this[_0x5087f7(0x231)][_0x5087f7(0x37d)](_0x473779=>_0x473779[_0x5087f7(0x374)]()),this[_0x5087f7(0x231)]['clear']();}[_0x4f5e26(0x398)](_0x3f4332){var _0x5b43a7=_0x4f5e26,_0x4ed4bb;return(_0x4ed4bb=this['_entities'][_0x5b43a7(0x46b)](_0x3f4332))!=null?_0x4ed4bb:null;}[_0x4f5e26(0x2f0)](_0x5dcb8f){var _0x327ddf=_0x4f5e26;const _0x6fae93=this['getCollabEntity'](_0x5dcb8f);return _0x6fae93?j['of'](_0x6fae93):this[_0x327ddf(0x263)][_0x327ddf(0x26d)](W[_0x327ddf(0x208)](_0x1d94b3=>_0x1d94b3[_0x327ddf(0x4b7)]===_0x5dcb8f));}[_0x4f5e26(0x313)](_0x117319){var _0x5bf9c2=_0x4f5e26;return j[_0x5bf9c2(0x47e)](this[_0x5bf9c2(0x2f0)](_0x117319)[_0x5bf9c2(0x26d)](W[_0x5bf9c2(0x355)](()=>{})));}[_0x4f5e26(0x447)](){var _0x206ddd=_0x4f5e26;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x206ddd(0x39d)][_0x206ddd(0x363)])[_0x206ddd(0x26d)](j[_0x206ddd(0x1d3)](this[_0x206ddd(0x365)]),W['delay'](0x10))['subscribe'](async _0x2efa08=>{var _0x6fa04b=_0x206ddd;const _0x2e63e1=_0x2efa08[_0x6fa04b(0x24a)](),_0x4c5e43=await this[_0x6fa04b(0x468)](_0x2e63e1,X['UNIVER_SHEET']);this['_entities'][_0x6fa04b(0x237)](_0x2e63e1,_0x4c5e43);}),this[_0x206ddd(0x459)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x206ddd(0x4eb)])[_0x206ddd(0x26d)](j['takeUntil'](this['dispose$']),W[_0x206ddd(0x4e9)](0x10))[_0x206ddd(0x26d)](W[_0x206ddd(0x208)](_0x287469=>!_0x287469[_0x206ddd(0x24a)]()['startsWith']('__')))[_0x206ddd(0x396)](async _0xb7f2c2=>{var _0x2e7349=_0x206ddd;const _0x45ac04=_0xb7f2c2[_0x2e7349(0x24a)](),_0x72d901=await this[_0x2e7349(0x468)](_0x45ac04,X['UNIVER_DOC']);this[_0x2e7349(0x231)][_0x2e7349(0x237)](_0x45ac04,_0x72d901);}),j['merge'](this[_0x206ddd(0x459)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x206ddd(0x363)]),this[_0x206ddd(0x459)][_0x206ddd(0x2e0)](a[_0x206ddd(0x39d)][_0x206ddd(0x4eb)]))[_0x206ddd(0x26d)](j['takeUntil'](this[_0x206ddd(0x365)]))[_0x206ddd(0x396)](_0x3eb740=>{var _0x4e6187=_0x206ddd;const _0x11e090=_0x3eb740['getUnitId'](),_0x4f09b5=this[_0x4e6187(0x231)]['get'](_0x11e090);_0x4f09b5&&(_0x4f09b5['dispose'](),this[_0x4e6187(0x231)][_0x4e6187(0x4da)](_0x11e090));});}async[_0x4f5e26(0x468)](_0x20977d,_0x114a48){var _0x9bee9=_0x4f5e26;const _0x5d1506=await this['_collabSessionService'][_0x9bee9(0x481)](_0x20977d),_0x3f0845=this[_0x9bee9(0x4f7)][_0x9bee9(0x2d6)](this['_getCtorByUniverType'](_0x114a48),_0x20977d,_0x114a48,_0x5d1506);return await _0x3f0845[_0x9bee9(0x520)](),this[_0x9bee9(0x263)][_0x9bee9(0x322)](_0x3f0845),_0x3f0845;}[_0x4f5e26(0x4f8)](_0x283d04){var _0x1b8917=_0x4f5e26;switch(_0x283d04){case X[_0x1b8917(0x4eb)]:return exports[_0x1b8917(0x378)];case X[_0x1b8917(0x363)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x1b8917(0x271)+_0x283d04);}}},exports[_0x4f5e26(0x4e4)]=bi([Ae(0x0,a['Inject'](a[_0x4f5e26(0x438)])),Ae(0x1,a['Inject'](exports[_0x4f5e26(0x52d)])),Ae(0x2,a[_0x4f5e26(0x509)])],exports[_0x4f5e26(0x4e4)]);var Ri=Object['getOwnPropertyDescriptor'],yi=(_0x21d6d0,_0x1883a0,_0x53b7e4,_0x3d5882)=>{var _0x130e1d=_0x4f5e26;for(var _0x4e6c03=_0x3d5882>0x1?void 0x0:_0x3d5882?Ri(_0x1883a0,_0x53b7e4):_0x1883a0,_0x402592=_0x21d6d0[_0x130e1d(0x531)]-0x1,_0x263a71;_0x402592>=0x0;_0x402592--)(_0x263a71=_0x21d6d0[_0x402592])&&(_0x4e6c03=_0x263a71(_0x4e6c03)||_0x4e6c03);return _0x4e6c03;},Je=(_0x48ef03,_0x3e7db2)=>(_0x12f7df,_0x4989fe)=>_0x3e7db2(_0x12f7df,_0x4989fe,_0x48ef03);const Oi=_0x4f5e26(0x2bd),Ni=_0x4f5e26(0x4a0);let He=class extends a[_0x4f5e26(0x4f6)]{constructor(_0xdbb9fe,_0x439990){var _0x4efce8=_0x4f5e26;super(),this[_0x4efce8(0x459)]=_0xdbb9fe,this[_0x4efce8(0x3eb)]=_0x439990,this[_0x4efce8(0x447)]();}[_0x4f5e26(0x447)](){var _0x15d607=_0x4f5e26;this[_0x15d607(0x238)](this[_0x15d607(0x459)][_0x15d607(0x50d)][_0x15d607(0x396)](()=>{var _0x377b93=_0x15d607,_0x15ffac;const _0x333b18=this[_0x377b93(0x459)][_0x377b93(0x24b)]();let _0x240472=(_0x15ffac=this[_0x377b93(0x3eb)][_0x377b93(0x2dc)](Oi))!=null?_0x15ffac:Ni;_0x333b18 instanceof a[_0x377b93(0x4c0)]&&(_0x240472=_0x333b18['name']),document['title']=_0x240472;}));}};He=yi([Je(0x0,a[_0x4f5e26(0x509)]),Je(0x1,a[_0x4f5e26(0x347)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x5ab963,_0x5c8f51,_0x1dceca,_0x5125d0)=>{for(var _0x3d482e=_0x5125d0>0x1?void 0x0:_0x5125d0?Di(_0x5c8f51,_0x1dceca):_0x5c8f51,_0x40d9bc=_0x5ab963['length']-0x1,_0x23cff4;_0x40d9bc>=0x0;_0x40d9bc--)(_0x23cff4=_0x5ab963[_0x40d9bc])&&(_0x3d482e=_0x23cff4(_0x3d482e)||_0x3d482e);return _0x3d482e;},we=(_0x24b9e1,_0x1fcd00)=>(_0x51d0a7,_0x306678)=>_0x1fcd00(_0x51d0a7,_0x306678,_0x24b9e1);let Oe=class{constructor(_0x490b9e,_0x107a0f,_0x3a3022){var _0x16bb2b=_0x4f5e26;this['_configService']=_0x490b9e,this[_0x16bb2b(0x28f)]=_0x107a0f,this['localeService']=_0x3a3022,this[_0x16bb2b(0x520)]();}[_0x4f5e26(0x520)](){var _0x15eea7=_0x4f5e26;this[_0x15eea7(0x28f)][_0x15eea7(0x287)]({'priority':0x1,'interceptor':(_0x1883d5,_0x1e9c98)=>_0x1e9c98(_0x1883d5)['pipe'](j[_0x15eea7(0x29c)](async _0x156872=>{var _0x151cf0=_0x15eea7;const _0x5e168c=_0x156872;if(_0x5e168c['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x151cf0(0x432)](this['localeService']['t'](_0x151cf0(0x3a5)))){const _0x54d41f=window['encodeURIComponent'](window[_0x151cf0(0x2ae)]['href']);window[_0x151cf0(0x2ae)][_0x151cf0(0x4d1)]=this[_0x151cf0(0x2b6)]()+_0x151cf0(0x2d8)+_0x54d41f;}}return _0x5e168c;}))});}[_0x4f5e26(0x2b6)](){var _0x5d68e7=_0x4f5e26,_0x535fa4,_0x474df9;const _0x15ba88=this[_0x5d68e7(0x3eb)][_0x5d68e7(0x2dc)](Et),_0x21469b=this[_0x5d68e7(0x3eb)][_0x5d68e7(0x2dc)](Y);return(_0x474df9=(_0x535fa4=_0x21469b==null?void 0x0:_0x21469b[_0x5d68e7(0x486)])!=null?_0x535fa4:_0x15ba88)!=null?_0x474df9:Yt;}};Oe=Ui([we(0x0,a[_0x4f5e26(0x347)]),we(0x1,a[_0x4f5e26(0x47f)](q['HTTPService'])),we(0x2,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x3c0)]))],Oe);var Pi=Object[_0x4f5e26(0x2ef)],Ai=(_0x373c3c,_0x59b934,_0x15cae6,_0x364b68)=>{for(var _0x135708=_0x364b68>0x1?void 0x0:_0x364b68?Pi(_0x59b934,_0x15cae6):_0x59b934,_0x4ada5f=_0x373c3c['length']-0x1,_0x25a743;_0x4ada5f>=0x0;_0x4ada5f--)(_0x25a743=_0x373c3c[_0x4ada5f])&&(_0x135708=_0x25a743(_0x135708)||_0x135708);return _0x135708;},Xe=(_0x1a53e4,_0x83866e)=>(_0x2da415,_0x378886)=>_0x83866e(_0x2da415,_0x378886,_0x1a53e4);const Ve=_0x4f5e26(0x344),wi=_0x4f5e26(0x1e4);exports[_0x4f5e26(0x2aa)]=class extends a['Disposable']{constructor(_0x5a6380,_0x3377c0){var _0x26b012=_0x4f5e26;super(),this['_HTTPService']=_0x5a6380,this[_0x26b012(0x3eb)]=_0x3377c0,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2746ae=_0x4f5e26;const _0x3e3808=this;this['disposeWithMe'](this[_0x2746ae(0x4e7)][_0x2746ae(0x287)]({'priority':0x3e7,'interceptor':q[_0x2746ae(0x436)]({'isMatch'(_0x2a1d6d){var _0x45b401=_0x2746ae,_0x39d128;if(_0x2a1d6d[_0x45b401(0x28b)]==='POST'&&((_0x39d128=_0x2a1d6d[_0x45b401(0x26a)])!=null&&_0x39d128[_0x45b401(0x527)])){const {objectID:_0x4ddc4a,objectType:_0x1f9456}=_0x2a1d6d[_0x45b401(0x26a)][_0x45b401(0x527)]||{};if(!_0x4ddc4a||_0x1f9456===void 0x0)return!0x1;const _0x3cba05=_0x3e3808[_0x45b401(0x22a)]()+'/'+_0x1f9456+_0x45b401(0x52e)+_0x4ddc4a+_0x45b401(0x203);if(_0x2a1d6d[_0x45b401(0x22b)]===_0x3cba05)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xa9062b){var _0x412ad9=_0x2746ae,_0x38d494;return(_0x38d494=_0xa9062b[_0x412ad9(0x26a)])==null?void 0x0:_0x38d494[_0x412ad9(0x527)];},'mergeParamsToRequest'(_0x280b15,_0x515cb0){var _0x330170=_0x2746ae;const _0x3a1335=_0x3e3808['_getAPIPrefixPath']()+_0x330170(0x3ba),_0x502032=_0x280b15[_0x330170(0x370)]((_0x2a8710,_0x562e45)=>{var _0x518e8e=_0x330170;const {unitID:_0x276613,objectID:_0x34ff6,objectType:_0x3742ca,actions:_0x920f9f}=_0x562e45;return _0x2a8710[_0x276613]||(_0x2a8710[_0x276613]={}),_0x2a8710[_0x276613][_0x34ff6]||(_0x2a8710[_0x276613][_0x34ff6]={'objectID':_0x34ff6,'objectType':_0x3742ca,'actions':[]}),_0x2a8710[_0x276613][_0x34ff6][_0x518e8e(0x50f)]['push'](..._0x920f9f),_0x2a8710;},{}),_0x40cd7f=[];for(const _0x392dc3 in _0x502032)for(const _0x26af39 in _0x502032[_0x392dc3]){const {actions:_0x6f7e0f,objectType:_0x298798}=_0x502032[_0x392dc3][_0x26af39],_0x42660e=[...new Set(_0x6f7e0f)];_0x40cd7f[_0x330170(0x20c)]({'unitID':_0x392dc3,'objectID':_0x26af39,'objectType':_0x298798,'actions':_0x42660e});}return new q['HTTPRequest'](_0x330170(0x39c),_0x3a1335,{'headers':_0x515cb0[_0x330170(0x433)],'withCredentials':_0x515cb0['withCredentials'],'responseType':_0x515cb0[_0x330170(0x4d9)],'body':{'requests':_0x40cd7f}});}},{'distributeResult'(_0x32c432,_0x3553a9){var _0x5171fc=_0x2746ae;const {objectActions:_0x122121}=_0x32c432;return _0x3553a9[_0x5171fc(0x355)](_0x4468c1=>{var _0x141827=_0x5171fc;const {unitID:_0x25cdd5,objectID:_0x42a3e7,actions:_0x2a6dc6}=_0x4468c1,_0x2515e5=_0x122121[_0x141827(0x1d6)](_0x209dde=>_0x209dde[_0x141827(0x4b7)]===_0x25cdd5&&_0x209dde['objectID']===_0x42a3e7),_0x5b3f70=_0x2a6dc6[_0x141827(0x355)](_0x11e722=>_0x2515e5==null?void 0x0:_0x2515e5['actions'][_0x141827(0x1d6)](_0x29251c=>_0x29251c[_0x141827(0x428)]===_0x11e722))[_0x141827(0x208)](_0x21fcb4=>!!_0x21fcb4);return{'config':_0x4468c1,'result':{'actions':_0x5b3f70,'error':_0x32c432['error']}};});}})}));}[_0x4f5e26(0x22a)](){var _0x1fb73f=_0x4f5e26,_0x2d21a3,_0x461023;const _0x2b24db=this[_0x1fb73f(0x3eb)]['getConfig'](Ve),_0x3eb3f1=this[_0x1fb73f(0x3eb)][_0x1fb73f(0x2dc)](Y);return(_0x461023=(_0x2d21a3=_0x3eb3f1==null?void 0x0:_0x3eb3f1['authzUrl'])!=null?_0x2d21a3:_0x2b24db)!=null?_0x461023:wi;}async[_0x4f5e26(0x1e2)](_0x552c51){var _0x52d957=_0x4f5e26;const _0x55bc9f=this[_0x52d957(0x22a)]()+'/'+_0x552c51[_0x52d957(0x3c5)]+_0x52d957(0x209);return(await this[_0x52d957(0x4e7)][_0x52d957(0x530)](_0x55bc9f,{'body':_0x552c51}))[_0x52d957(0x527)]['objectID']||'';}async[_0x4f5e26(0x366)](_0x7074a1){var _0x4d15a2=_0x4f5e26;const _0x527fea=this[_0x4d15a2(0x22a)]()+'/-/object/list';return(await this['_HTTPService'][_0x4d15a2(0x530)](_0x527fea,{'body':_0x7074a1}))['body'][_0x4d15a2(0x50b)];}async[_0x4f5e26(0x1f8)](_0x417808){var _0x1929d7=_0x4f5e26;const _0x5a33af=this[_0x1929d7(0x22a)]()+'/'+_0x417808[_0x1929d7(0x3c5)]+_0x1929d7(0x52e)+_0x417808['objectID'];await this[_0x1929d7(0x4e7)]['put'](_0x5a33af,{'body':_0x417808});}async['allowed'](_0x92c9f){var _0x65bb53=_0x4f5e26;const _0x4ad6b5=this['_getAPIPrefixPath']()+'/'+_0x92c9f['objectType']+'/object/'+_0x92c9f[_0x65bb53(0x2cc)]+_0x65bb53(0x203);return(await this['_HTTPService'][_0x65bb53(0x530)](_0x4ad6b5,{'body':_0x92c9f}))[_0x65bb53(0x527)][_0x65bb53(0x50f)];}async[_0x4f5e26(0x2e8)](_0x1f72d4){var _0x51b068=_0x4f5e26;const _0x27a346=this['_getAPIPrefixPath']()+_0x51b068(0x3ba);return(await this['_HTTPService'][_0x51b068(0x530)](_0x27a346,{'body':{'requests':_0x1f72d4}}))[_0x51b068(0x527)][_0x51b068(0x333)];}async[_0x4f5e26(0x21c)](_0x3f8382){var _0x22eb0b=_0x4f5e26;const _0x318bd1=this['_getAPIPrefixPath']()+'/'+_0x3f8382[_0x22eb0b(0x3c5)]+_0x22eb0b(0x27b),_0x306d5c=await this[_0x22eb0b(0x4e7)][_0x22eb0b(0x530)](_0x318bd1,{'body':_0x3f8382});return{'roles':_0x306d5c[_0x22eb0b(0x527)][_0x22eb0b(0x3f1)],'actions':_0x306d5c[_0x22eb0b(0x527)][_0x22eb0b(0x50f)]};}async['deleteCollaborator'](_0x5a71d6){var _0x7193a=_0x4f5e26;const _0x2232fa=this[_0x7193a(0x22a)]()+_0x7193a(0x317);await this[_0x7193a(0x4e7)][_0x7193a(0x4da)](_0x2232fa,{'params':{'collaboratorID':_0x5a71d6[_0x7193a(0x391)],'objectID':_0x5a71d6[_0x7193a(0x2cc)],'unitID':_0x5a71d6[_0x7193a(0x4b7)]}});}async[_0x4f5e26(0x3b6)](_0x5becc1){var _0xe7bbd3=_0x4f5e26;const _0x316fb8=this['_getAPIPrefixPath']()+_0xe7bbd3(0x317);await this['_HTTPService'][_0xe7bbd3(0x4c3)](_0x316fb8,{'body':_0x5becc1});}async['createCollaborator'](_0x5ad54c){var _0x19e1d0=_0x4f5e26;const _0x1375ff=this['_getAPIPrefixPath']()+_0x19e1d0(0x317);await this['_HTTPService']['post'](_0x1375ff,{'body':_0x5ad54c});}async[_0x4f5e26(0x376)](_0x509d36){var _0x5d068a=_0x4f5e26;const _0x289da5=this[_0x5d068a(0x22a)]()+_0x5d068a(0x317);return(await this[_0x5d068a(0x4e7)][_0x5d068a(0x46b)](_0x289da5,{'params':{'objectID':_0x509d36['objectID'],'unitID':_0x509d36[_0x5d068a(0x4b7)]}}))[_0x5d068a(0x527)][_0x5d068a(0x29a)];}async[_0x4f5e26(0x4e3)](_0x3ed8aa){var _0x23bef8=_0x4f5e26;const _0x5768b7=this[_0x23bef8(0x22a)]()+_0x23bef8(0x317);await this['_HTTPService'][_0x23bef8(0x49a)](_0x5768b7,{'body':_0x3ed8aa});}},exports[_0x4f5e26(0x2aa)]=Ai([Xe(0x0,a[_0x4f5e26(0x47f)](q[_0x4f5e26(0x427)])),Xe(0x1,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x347)]))],exports[_0x4f5e26(0x2aa)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x3fec95){var _0x505296=_0x4f5e26;return _0x3fec95&&_0x3fec95[_0x505296(0x381)]&&Object[_0x505296(0x3d0)][_0x505296(0x33b)][_0x505296(0x424)](_0x3fec95,_0x505296(0x36e))?_0x3fec95['default']:_0x3fec95;}var fe={'exports':{}};function Li(_0x2dac3e){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2dac3e+'\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[_0x4f5e26(0x4e8)],Ze;function ee(){var _0x2be412=_0x4f5e26;return Ze||(Ze=0x1,function(_0x109905,_0x2029d8){(function(_0x167209,_0x1f2656){var _0x2ac2cf=_0x1b53;_0x109905[_0x2ac2cf(0x4e8)]=_0x1f2656();}(Mi,function(){var _0x3958de=_0x3958de||function(_0x15c521,_0x3a7ea6){var _0x1d789b=_0x1b53,_0x1d7c8d;if(typeof window<'u'&&window[_0x1d789b(0x44e)]&&(_0x1d7c8d=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d7c8d=self[_0x1d789b(0x44e)]),typeof globalThis<'u'&&globalThis[_0x1d789b(0x44e)]&&(_0x1d7c8d=globalThis[_0x1d789b(0x44e)]),!_0x1d7c8d&&typeof window<'u'&&window[_0x1d789b(0x312)]&&(_0x1d7c8d=window[_0x1d789b(0x312)]),!_0x1d7c8d&&typeof Le<'u'&&Le[_0x1d789b(0x44e)]&&(_0x1d7c8d=Le['crypto']),!_0x1d7c8d&&typeof Li==_0x1d789b(0x412))try{_0x1d7c8d=require(_0x1d789b(0x44e));}catch{}var _0xbd3fb7=function(){var _0x3431d8=_0x1d789b;if(_0x1d7c8d){if(typeof _0x1d7c8d[_0x3431d8(0x525)]==_0x3431d8(0x412))try{return _0x1d7c8d[_0x3431d8(0x525)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d7c8d[_0x3431d8(0x373)]==_0x3431d8(0x412))try{return _0x1d7c8d['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3431d8(0x529));},_0x57abc1=Object[_0x1d789b(0x1e2)]||(function(){function _0x3b87de(){}return function(_0x484ded){var _0x5cc34c=_0x1b53,_0x4f9719;return _0x3b87de[_0x5cc34c(0x3d0)]=_0x484ded,_0x4f9719=new _0x3b87de(),_0x3b87de[_0x5cc34c(0x3d0)]=null,_0x4f9719;};}()),_0x186598={},_0x23051a=_0x186598[_0x1d789b(0x258)]={},_0x561bd6=_0x23051a['Base']=(function(){return{'extend':function(_0x37bf34){var _0x5bd285=_0x1b53,_0x5cc724=_0x57abc1(this);return _0x37bf34&&_0x5cc724[_0x5bd285(0x35b)](_0x37bf34),(!_0x5cc724['hasOwnProperty'](_0x5bd285(0x520))||this[_0x5bd285(0x520)]===_0x5cc724[_0x5bd285(0x520)])&&(_0x5cc724[_0x5bd285(0x520)]=function(){var _0x32eda1=_0x5bd285;_0x5cc724['$super']['init'][_0x32eda1(0x3cc)](this,arguments);}),_0x5cc724[_0x5bd285(0x520)][_0x5bd285(0x3d0)]=_0x5cc724,_0x5cc724['$super']=this,_0x5cc724;},'create':function(){var _0x30ebb7=_0x1b53,_0x1d078a=this[_0x30ebb7(0x257)]();return _0x1d078a[_0x30ebb7(0x520)][_0x30ebb7(0x3cc)](_0x1d078a,arguments),_0x1d078a;},'init':function(){},'mixIn':function(_0x4e54e1){var _0x18300a=_0x1b53;for(var _0x3ae9ae in _0x4e54e1)_0x4e54e1[_0x18300a(0x33b)](_0x3ae9ae)&&(this[_0x3ae9ae]=_0x4e54e1[_0x3ae9ae]);_0x4e54e1[_0x18300a(0x33b)](_0x18300a(0x242))&&(this[_0x18300a(0x242)]=_0x4e54e1[_0x18300a(0x242)]);},'clone':function(){var _0x3b555e=_0x1b53;return this[_0x3b555e(0x520)][_0x3b555e(0x3d0)][_0x3b555e(0x257)](this);}};}()),_0x4c6557=_0x23051a[_0x1d789b(0x451)]=_0x561bd6[_0x1d789b(0x257)]({'init':function(_0x5735c2,_0x139bee){var _0x348a0d=_0x1d789b;_0x5735c2=this[_0x348a0d(0x503)]=_0x5735c2||[],_0x139bee!=_0x3a7ea6?this[_0x348a0d(0x295)]=_0x139bee:this[_0x348a0d(0x295)]=_0x5735c2['length']*0x4;},'toString':function(_0x5033b0){return(_0x5033b0||_0x4e60d1)['stringify'](this);},'concat':function(_0x2830a8){var _0x20ec77=_0x1d789b,_0x1af06b=this[_0x20ec77(0x503)],_0x39a5ba=_0x2830a8['words'],_0x1cde43=this[_0x20ec77(0x295)],_0x566713=_0x2830a8[_0x20ec77(0x295)];if(this[_0x20ec77(0x3f7)](),_0x1cde43%0x4)for(var _0x27a1ad=0x0;_0x27a1ad<_0x566713;_0x27a1ad++){var _0x5d123d=_0x39a5ba[_0x27a1ad>>>0x2]>>>0x18-_0x27a1ad%0x4*0x8&0xff;_0x1af06b[_0x1cde43+_0x27a1ad>>>0x2]|=_0x5d123d<<0x18-(_0x1cde43+_0x27a1ad)%0x4*0x8;}else{for(var _0x3bcb43=0x0;_0x3bcb43<_0x566713;_0x3bcb43+=0x4)_0x1af06b[_0x1cde43+_0x3bcb43>>>0x2]=_0x39a5ba[_0x3bcb43>>>0x2];}return this['sigBytes']+=_0x566713,this;},'clamp':function(){var _0x5f206c=_0x1d789b,_0x40cf58=this['words'],_0x505f31=this[_0x5f206c(0x295)];_0x40cf58[_0x505f31>>>0x2]&=0xffffffff<<0x20-_0x505f31%0x4*0x8,_0x40cf58[_0x5f206c(0x531)]=_0x15c521[_0x5f206c(0x298)](_0x505f31/0x4);},'clone':function(){var _0x5bcc71=_0x1d789b,_0x13405f=_0x561bd6['clone'][_0x5bcc71(0x424)](this);return _0x13405f[_0x5bcc71(0x503)]=this[_0x5bcc71(0x503)]['slice'](0x0),_0x13405f;},'random':function(_0x210142){var _0x4b1371=_0x1d789b;for(var _0x52e53a=[],_0x3a29bf=0x0;_0x3a29bf<_0x210142;_0x3a29bf+=0x4)_0x52e53a[_0x4b1371(0x20c)](_0xbd3fb7());return new _0x4c6557[(_0x4b1371(0x520))](_0x52e53a,_0x210142);}}),_0x4afee3=_0x186598['enc']={},_0x4e60d1=_0x4afee3[_0x1d789b(0x25f)]={'stringify':function(_0x2dac74){var _0x27f00e=_0x1d789b;for(var _0x2e26c5=_0x2dac74['words'],_0x21bf78=_0x2dac74[_0x27f00e(0x295)],_0x50d0d1=[],_0x1e5a5a=0x0;_0x1e5a5a<_0x21bf78;_0x1e5a5a++){var _0x1face7=_0x2e26c5[_0x1e5a5a>>>0x2]>>>0x18-_0x1e5a5a%0x4*0x8&0xff;_0x50d0d1['push']((_0x1face7>>>0x4)[_0x27f00e(0x242)](0x10)),_0x50d0d1[_0x27f00e(0x20c)]((_0x1face7&0xf)['toString'](0x10));}return _0x50d0d1['join']('');},'parse':function(_0x4f4bea){var _0x3eeede=_0x1d789b;for(var _0x50c106=_0x4f4bea[_0x3eeede(0x531)],_0xc25e58=[],_0x1e4abb=0x0;_0x1e4abb<_0x50c106;_0x1e4abb+=0x2)_0xc25e58[_0x1e4abb>>>0x3]|=parseInt(_0x4f4bea[_0x3eeede(0x248)](_0x1e4abb,0x2),0x10)<<0x18-_0x1e4abb%0x8*0x4;return new _0x4c6557[(_0x3eeede(0x520))](_0xc25e58,_0x50c106/0x2);}},_0x1d1bd4=_0x4afee3[_0x1d789b(0x34b)]={'stringify':function(_0x3748a8){var _0x47a07c=_0x1d789b;for(var _0x18a0fe=_0x3748a8['words'],_0x2ebcab=_0x3748a8['sigBytes'],_0x3d9a72=[],_0x51d30a=0x0;_0x51d30a<_0x2ebcab;_0x51d30a++){var _0x5d489c=_0x18a0fe[_0x51d30a>>>0x2]>>>0x18-_0x51d30a%0x4*0x8&0xff;_0x3d9a72['push'](String[_0x47a07c(0x1da)](_0x5d489c));}return _0x3d9a72[_0x47a07c(0x214)]('');},'parse':function(_0x5850c8){var _0x1a2e4b=_0x1d789b;for(var _0x147a7a=_0x5850c8['length'],_0x5b68e7=[],_0x106665=0x0;_0x106665<_0x147a7a;_0x106665++)_0x5b68e7[_0x106665>>>0x2]|=(_0x5850c8['charCodeAt'](_0x106665)&0xff)<<0x18-_0x106665%0x4*0x8;return new _0x4c6557[(_0x1a2e4b(0x520))](_0x5b68e7,_0x147a7a);}},_0xcf8b9e=_0x4afee3[_0x1d789b(0x4fb)]={'stringify':function(_0x1f6252){var _0x4000f3=_0x1d789b;try{return decodeURIComponent(escape(_0x1d1bd4[_0x4000f3(0x4f5)](_0x1f6252)));}catch{throw new Error(_0x4000f3(0x3fa));}},'parse':function(_0x6ec292){var _0x5d5a7e=_0x1d789b;return _0x1d1bd4[_0x5d5a7e(0x42b)](unescape(encodeURIComponent(_0x6ec292)));}},_0x749185=_0x23051a[_0x1d789b(0x2a4)]=_0x561bd6[_0x1d789b(0x257)]({'reset':function(){var _0x2e0fd6=_0x1d789b;this[_0x2e0fd6(0x51a)]=new _0x4c6557[(_0x2e0fd6(0x520))](),this['_nDataBytes']=0x0;},'_append':function(_0x17d2f4){var _0x25c78e=_0x1d789b;typeof _0x17d2f4==_0x25c78e(0x42c)&&(_0x17d2f4=_0xcf8b9e[_0x25c78e(0x42b)](_0x17d2f4)),this[_0x25c78e(0x51a)]['concat'](_0x17d2f4),this[_0x25c78e(0x4af)]+=_0x17d2f4[_0x25c78e(0x295)];},'_process':function(_0x11d647){var _0x46c824=_0x1d789b,_0x44d13b,_0x466228=this[_0x46c824(0x51a)],_0x11d8ac=_0x466228[_0x46c824(0x503)],_0x5c2af2=_0x466228['sigBytes'],_0x57e1bd=this[_0x46c824(0x3a1)],_0x5822ba=_0x57e1bd*0x4,_0x369ce8=_0x5c2af2/_0x5822ba;_0x11d647?_0x369ce8=_0x15c521['ceil'](_0x369ce8):_0x369ce8=_0x15c521['max']((_0x369ce8|0x0)-this['_minBufferSize'],0x0);var _0x46d553=_0x369ce8*_0x57e1bd,_0x19ac46=_0x15c521[_0x46c824(0x3e5)](_0x46d553*0x4,_0x5c2af2);if(_0x46d553){for(var _0x4b43cd=0x0;_0x4b43cd<_0x46d553;_0x4b43cd+=_0x57e1bd)this[_0x46c824(0x40a)](_0x11d8ac,_0x4b43cd);_0x44d13b=_0x11d8ac[_0x46c824(0x504)](0x0,_0x46d553),_0x466228[_0x46c824(0x295)]-=_0x19ac46;}return new _0x4c6557[(_0x46c824(0x520))](_0x44d13b,_0x19ac46);},'clone':function(){var _0xba5831=_0x1d789b,_0x4f5eec=_0x561bd6[_0xba5831(0x264)][_0xba5831(0x424)](this);return _0x4f5eec['_data']=this[_0xba5831(0x51a)][_0xba5831(0x264)](),_0x4f5eec;},'_minBufferSize':0x0});_0x23051a[_0x1d789b(0x27c)]=_0x749185[_0x1d789b(0x257)]({'cfg':_0x561bd6[_0x1d789b(0x257)](),'init':function(_0x232479){var _0x56e14c=_0x1d789b;this[_0x56e14c(0x377)]=this[_0x56e14c(0x377)][_0x56e14c(0x257)](_0x232479),this[_0x56e14c(0x23a)]();},'reset':function(){var _0x5149e9=_0x1d789b;_0x749185[_0x5149e9(0x23a)]['call'](this),this[_0x5149e9(0x43e)]();},'update':function(_0x14b9ad){return this['_append'](_0x14b9ad),this['_process'](),this;},'finalize':function(_0x5c2960){var _0x5b06de=_0x1d789b;_0x5c2960&&this[_0x5b06de(0x495)](_0x5c2960);var _0x177f9c=this[_0x5b06de(0x1d5)]();return _0x177f9c;},'blockSize':0x10,'_createHelper':function(_0x1e4cf3){return function(_0x32e21a,_0x42a900){var _0x1951dc=_0x1b53;return new _0x1e4cf3[(_0x1951dc(0x520))](_0x42a900)[_0x1951dc(0x3ae)](_0x32e21a);};},'_createHmacHelper':function(_0x530264){return function(_0x503a03,_0x248dc3){var _0x1fd37f=_0x1b53;return new _0x3d7077[(_0x1fd37f(0x485))]['init'](_0x530264,_0x248dc3)[_0x1fd37f(0x3ae)](_0x503a03);};}});var _0x3d7077=_0x186598[_0x1d789b(0x221)]={};return _0x186598;}(Math);return _0x3958de;}));}(pe)),pe[_0x2be412(0x4e8)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x5c32d6=_0x4f5e26;return Qe||(Qe=0x1,function(_0x2027e6,_0x93687f){(function(_0x4be060,_0x49e490){var _0xd70a3c=_0x1b53;_0x2027e6[_0xd70a3c(0x4e8)]=_0x49e490(ee());}(xi,function(_0x3c1721){var _0x284d50=_0x1b53;return(function(){var _0x1e3ce4=_0x1b53,_0x15b3a0=_0x3c1721,_0x33277e=_0x15b3a0[_0x1e3ce4(0x258)],_0xf84ef8=_0x33277e[_0x1e3ce4(0x451)],_0x598e9b=_0x15b3a0[_0x1e3ce4(0x2b3)];_0x598e9b[_0x1e3ce4(0x41c)]={'stringify':function(_0x3edc13){var _0x7076b4=_0x1e3ce4,_0x5bc2cb=_0x3edc13['words'],_0x12e1e7=_0x3edc13['sigBytes'],_0x1b1747=this[_0x7076b4(0x4fd)];_0x3edc13[_0x7076b4(0x3f7)]();for(var _0xc7ad06=[],_0x4095e9=0x0;_0x4095e9<_0x12e1e7;_0x4095e9+=0x3)for(var _0x168c9f=_0x5bc2cb[_0x4095e9>>>0x2]>>>0x18-_0x4095e9%0x4*0x8&0xff,_0xd4c0da=_0x5bc2cb[_0x4095e9+0x1>>>0x2]>>>0x18-(_0x4095e9+0x1)%0x4*0x8&0xff,_0x226730=_0x5bc2cb[_0x4095e9+0x2>>>0x2]>>>0x18-(_0x4095e9+0x2)%0x4*0x8&0xff,_0x3081f4=_0x168c9f<<0x10|_0xd4c0da<<0x8|_0x226730,_0x43745d=0x0;_0x43745d<0x4&&_0x4095e9+_0x43745d*0.75<_0x12e1e7;_0x43745d++)_0xc7ad06[_0x7076b4(0x20c)](_0x1b1747[_0x7076b4(0x31a)](_0x3081f4>>>0x6*(0x3-_0x43745d)&0x3f));var _0xcd3601=_0x1b1747['charAt'](0x40);if(_0xcd3601){for(;_0xc7ad06[_0x7076b4(0x531)]%0x4;)_0xc7ad06[_0x7076b4(0x20c)](_0xcd3601);}return _0xc7ad06[_0x7076b4(0x214)]('');},'parse':function(_0x383f3b){var _0x2e5e25=_0x1e3ce4,_0x5ed1bd=_0x383f3b[_0x2e5e25(0x531)],_0x2b4396=this[_0x2e5e25(0x4fd)],_0xa46934=this['_reverseMap'];if(!_0xa46934){_0xa46934=this['_reverseMap']=[];for(var _0x21dd8c=0x0;_0x21dd8c<_0x2b4396[_0x2e5e25(0x531)];_0x21dd8c++)_0xa46934[_0x2b4396[_0x2e5e25(0x2ab)](_0x21dd8c)]=_0x21dd8c;}var _0x5917ca=_0x2b4396[_0x2e5e25(0x31a)](0x40);if(_0x5917ca){var _0x3adcbf=_0x383f3b['indexOf'](_0x5917ca);_0x3adcbf!==-0x1&&(_0x5ed1bd=_0x3adcbf);}return _0x3c67ce(_0x383f3b,_0x5ed1bd,_0xa46934);},'_map':_0x1e3ce4(0x21e)};function _0x3c67ce(_0x280274,_0x5a21da,_0x42fe65){var _0x3d3c85=_0x1e3ce4;for(var _0x476d20=[],_0x1f43b3=0x0,_0x903a99=0x0;_0x903a99<_0x5a21da;_0x903a99++)if(_0x903a99%0x4){var _0x372c3c=_0x42fe65[_0x280274['charCodeAt'](_0x903a99-0x1)]<<_0x903a99%0x4*0x2,_0x4df2e2=_0x42fe65[_0x280274[_0x3d3c85(0x2ab)](_0x903a99)]>>>0x6-_0x903a99%0x4*0x2,_0x1ab561=_0x372c3c|_0x4df2e2;_0x476d20[_0x1f43b3>>>0x2]|=_0x1ab561<<0x18-_0x1f43b3%0x4*0x8,_0x1f43b3++;}return _0xf84ef8[_0x3d3c85(0x1e2)](_0x476d20,_0x1f43b3);}}()),_0x3c1721[_0x284d50(0x2b3)]['Base64'];}));}(ge)),ge[_0x5c32d6(0x4e8)];}var me={'exports':{}},ki=me[_0x4f5e26(0x4e8)],et;function Hi(){var _0x2ce375=_0x4f5e26;return et||(et=0x1,function(_0x11d66f,_0x2f2af4){(function(_0x1c32a8,_0x359fb3){var _0x2757fb=_0x1b53;_0x11d66f[_0x2757fb(0x4e8)]=_0x359fb3(ee());}(ki,function(_0xb37cc4){var _0x21014d=_0x1b53;return function(_0x377a00){var _0x2f9051=_0x1b53,_0x428483=_0xb37cc4,_0x5bc9fa=_0x428483['lib'],_0x1198c7=_0x5bc9fa[_0x2f9051(0x451)],_0x30fc08=_0x5bc9fa['Hasher'],_0x1fa1ec=_0x428483[_0x2f9051(0x221)],_0xf32a47=[];(function(){var _0x3e1175=_0x2f9051;for(var _0x6c391f=0x0;_0x6c391f<0x40;_0x6c391f++)_0xf32a47[_0x6c391f]=_0x377a00['abs'](_0x377a00[_0x3e1175(0x3ec)](_0x6c391f+0x1))*0x100000000|0x0;}());var _0x502b97=_0x1fa1ec[_0x2f9051(0x2ad)]=_0x30fc08[_0x2f9051(0x257)]({'_doReset':function(){var _0x4bac5b=_0x2f9051;this[_0x4bac5b(0x4aa)]=new _0x1198c7[(_0x4bac5b(0x520))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe1a21d,_0x36afb0){var _0x123048=_0x2f9051;for(var _0x22dc65=0x0;_0x22dc65<0x10;_0x22dc65++){var _0x3b572a=_0x36afb0+_0x22dc65,_0x1fea72=_0xe1a21d[_0x3b572a];_0xe1a21d[_0x3b572a]=(_0x1fea72<<0x8|_0x1fea72>>>0x18)&0xff00ff|(_0x1fea72<<0x18|_0x1fea72>>>0x8)&0xff00ff00;}var _0x27c3fd=this[_0x123048(0x4aa)][_0x123048(0x503)],_0x4ecba2=_0xe1a21d[_0x36afb0+0x0],_0x3829c3=_0xe1a21d[_0x36afb0+0x1],_0x1ba5be=_0xe1a21d[_0x36afb0+0x2],_0x238b18=_0xe1a21d[_0x36afb0+0x3],_0x1fc6b4=_0xe1a21d[_0x36afb0+0x4],_0x239481=_0xe1a21d[_0x36afb0+0x5],_0x1bcd97=_0xe1a21d[_0x36afb0+0x6],_0x440e13=_0xe1a21d[_0x36afb0+0x7],_0x1b4bf1=_0xe1a21d[_0x36afb0+0x8],_0x4ebed6=_0xe1a21d[_0x36afb0+0x9],_0x5167af=_0xe1a21d[_0x36afb0+0xa],_0x3b1aff=_0xe1a21d[_0x36afb0+0xb],_0x4d668a=_0xe1a21d[_0x36afb0+0xc],_0x2f66b1=_0xe1a21d[_0x36afb0+0xd],_0x5ed2f7=_0xe1a21d[_0x36afb0+0xe],_0x361921=_0xe1a21d[_0x36afb0+0xf],_0x520128=_0x27c3fd[0x0],_0x24363a=_0x27c3fd[0x1],_0x2229d3=_0x27c3fd[0x2],_0x2233b3=_0x27c3fd[0x3];_0x520128=_0x4e41ce(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4ecba2,0x7,_0xf32a47[0x0]),_0x2233b3=_0x4e41ce(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x3829c3,0xc,_0xf32a47[0x1]),_0x2229d3=_0x4e41ce(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x1ba5be,0x11,_0xf32a47[0x2]),_0x24363a=_0x4e41ce(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x238b18,0x16,_0xf32a47[0x3]),_0x520128=_0x4e41ce(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x1fc6b4,0x7,_0xf32a47[0x4]),_0x2233b3=_0x4e41ce(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x239481,0xc,_0xf32a47[0x5]),_0x2229d3=_0x4e41ce(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x1bcd97,0x11,_0xf32a47[0x6]),_0x24363a=_0x4e41ce(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x440e13,0x16,_0xf32a47[0x7]),_0x520128=_0x4e41ce(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x1b4bf1,0x7,_0xf32a47[0x8]),_0x2233b3=_0x4e41ce(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x4ebed6,0xc,_0xf32a47[0x9]),_0x2229d3=_0x4e41ce(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x5167af,0x11,_0xf32a47[0xa]),_0x24363a=_0x4e41ce(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x3b1aff,0x16,_0xf32a47[0xb]),_0x520128=_0x4e41ce(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4d668a,0x7,_0xf32a47[0xc]),_0x2233b3=_0x4e41ce(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x2f66b1,0xc,_0xf32a47[0xd]),_0x2229d3=_0x4e41ce(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x5ed2f7,0x11,_0xf32a47[0xe]),_0x24363a=_0x4e41ce(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x361921,0x16,_0xf32a47[0xf]),_0x520128=_0x4cb746(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x3829c3,0x5,_0xf32a47[0x10]),_0x2233b3=_0x4cb746(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x1bcd97,0x9,_0xf32a47[0x11]),_0x2229d3=_0x4cb746(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x3b1aff,0xe,_0xf32a47[0x12]),_0x24363a=_0x4cb746(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x4ecba2,0x14,_0xf32a47[0x13]),_0x520128=_0x4cb746(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x239481,0x5,_0xf32a47[0x14]),_0x2233b3=_0x4cb746(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x5167af,0x9,_0xf32a47[0x15]),_0x2229d3=_0x4cb746(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x361921,0xe,_0xf32a47[0x16]),_0x24363a=_0x4cb746(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x1fc6b4,0x14,_0xf32a47[0x17]),_0x520128=_0x4cb746(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4ebed6,0x5,_0xf32a47[0x18]),_0x2233b3=_0x4cb746(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x5ed2f7,0x9,_0xf32a47[0x19]),_0x2229d3=_0x4cb746(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x238b18,0xe,_0xf32a47[0x1a]),_0x24363a=_0x4cb746(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x1b4bf1,0x14,_0xf32a47[0x1b]),_0x520128=_0x4cb746(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x2f66b1,0x5,_0xf32a47[0x1c]),_0x2233b3=_0x4cb746(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x1ba5be,0x9,_0xf32a47[0x1d]),_0x2229d3=_0x4cb746(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x440e13,0xe,_0xf32a47[0x1e]),_0x24363a=_0x4cb746(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x4d668a,0x14,_0xf32a47[0x1f]),_0x520128=_0x21c159(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x239481,0x4,_0xf32a47[0x20]),_0x2233b3=_0x21c159(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x1b4bf1,0xb,_0xf32a47[0x21]),_0x2229d3=_0x21c159(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x3b1aff,0x10,_0xf32a47[0x22]),_0x24363a=_0x21c159(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x5ed2f7,0x17,_0xf32a47[0x23]),_0x520128=_0x21c159(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x3829c3,0x4,_0xf32a47[0x24]),_0x2233b3=_0x21c159(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x1fc6b4,0xb,_0xf32a47[0x25]),_0x2229d3=_0x21c159(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x440e13,0x10,_0xf32a47[0x26]),_0x24363a=_0x21c159(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x5167af,0x17,_0xf32a47[0x27]),_0x520128=_0x21c159(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x2f66b1,0x4,_0xf32a47[0x28]),_0x2233b3=_0x21c159(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x4ecba2,0xb,_0xf32a47[0x29]),_0x2229d3=_0x21c159(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x238b18,0x10,_0xf32a47[0x2a]),_0x24363a=_0x21c159(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x1bcd97,0x17,_0xf32a47[0x2b]),_0x520128=_0x21c159(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4ebed6,0x4,_0xf32a47[0x2c]),_0x2233b3=_0x21c159(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x4d668a,0xb,_0xf32a47[0x2d]),_0x2229d3=_0x21c159(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x361921,0x10,_0xf32a47[0x2e]),_0x24363a=_0x21c159(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x1ba5be,0x17,_0xf32a47[0x2f]),_0x520128=_0x5e21c2(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4ecba2,0x6,_0xf32a47[0x30]),_0x2233b3=_0x5e21c2(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x440e13,0xa,_0xf32a47[0x31]),_0x2229d3=_0x5e21c2(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x5ed2f7,0xf,_0xf32a47[0x32]),_0x24363a=_0x5e21c2(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x239481,0x15,_0xf32a47[0x33]),_0x520128=_0x5e21c2(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x4d668a,0x6,_0xf32a47[0x34]),_0x2233b3=_0x5e21c2(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x238b18,0xa,_0xf32a47[0x35]),_0x2229d3=_0x5e21c2(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x5167af,0xf,_0xf32a47[0x36]),_0x24363a=_0x5e21c2(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x3829c3,0x15,_0xf32a47[0x37]),_0x520128=_0x5e21c2(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x1b4bf1,0x6,_0xf32a47[0x38]),_0x2233b3=_0x5e21c2(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x361921,0xa,_0xf32a47[0x39]),_0x2229d3=_0x5e21c2(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x1bcd97,0xf,_0xf32a47[0x3a]),_0x24363a=_0x5e21c2(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x2f66b1,0x15,_0xf32a47[0x3b]),_0x520128=_0x5e21c2(_0x520128,_0x24363a,_0x2229d3,_0x2233b3,_0x1fc6b4,0x6,_0xf32a47[0x3c]),_0x2233b3=_0x5e21c2(_0x2233b3,_0x520128,_0x24363a,_0x2229d3,_0x3b1aff,0xa,_0xf32a47[0x3d]),_0x2229d3=_0x5e21c2(_0x2229d3,_0x2233b3,_0x520128,_0x24363a,_0x1ba5be,0xf,_0xf32a47[0x3e]),_0x24363a=_0x5e21c2(_0x24363a,_0x2229d3,_0x2233b3,_0x520128,_0x4ebed6,0x15,_0xf32a47[0x3f]),_0x27c3fd[0x0]=_0x27c3fd[0x0]+_0x520128|0x0,_0x27c3fd[0x1]=_0x27c3fd[0x1]+_0x24363a|0x0,_0x27c3fd[0x2]=_0x27c3fd[0x2]+_0x2229d3|0x0,_0x27c3fd[0x3]=_0x27c3fd[0x3]+_0x2233b3|0x0;},'_doFinalize':function(){var _0x26e6af=_0x2f9051,_0x145c51=this[_0x26e6af(0x51a)],_0x322ffe=_0x145c51[_0x26e6af(0x503)],_0x5c016c=this[_0x26e6af(0x4af)]*0x8,_0x50fabe=_0x145c51['sigBytes']*0x8;_0x322ffe[_0x50fabe>>>0x5]|=0x80<<0x18-_0x50fabe%0x20;var _0x38c149=_0x377a00['floor'](_0x5c016c/0x100000000),_0x43e9c2=_0x5c016c;_0x322ffe[(_0x50fabe+0x40>>>0x9<<0x4)+0xf]=(_0x38c149<<0x8|_0x38c149>>>0x18)&0xff00ff|(_0x38c149<<0x18|_0x38c149>>>0x8)&0xff00ff00,_0x322ffe[(_0x50fabe+0x40>>>0x9<<0x4)+0xe]=(_0x43e9c2<<0x8|_0x43e9c2>>>0x18)&0xff00ff|(_0x43e9c2<<0x18|_0x43e9c2>>>0x8)&0xff00ff00,_0x145c51['sigBytes']=(_0x322ffe['length']+0x1)*0x4,this['_process']();for(var _0x2945f5=this[_0x26e6af(0x4aa)],_0xf89ce4=_0x2945f5[_0x26e6af(0x503)],_0x224d05=0x0;_0x224d05<0x4;_0x224d05++){var _0x4b1ea7=_0xf89ce4[_0x224d05];_0xf89ce4[_0x224d05]=(_0x4b1ea7<<0x8|_0x4b1ea7>>>0x18)&0xff00ff|(_0x4b1ea7<<0x18|_0x4b1ea7>>>0x8)&0xff00ff00;}return _0x2945f5;},'clone':function(){var _0x4c933a=_0x2f9051,_0x3e928f=_0x30fc08[_0x4c933a(0x264)][_0x4c933a(0x424)](this);return _0x3e928f['_hash']=this[_0x4c933a(0x4aa)][_0x4c933a(0x264)](),_0x3e928f;}});function _0x4e41ce(_0x16975d,_0x74a016,_0x78b4af,_0x2f13f5,_0x1b59d1,_0x56a60a,_0x4e827c){var _0x3675cc=_0x16975d+(_0x74a016&_0x78b4af|~_0x74a016&_0x2f13f5)+_0x1b59d1+_0x4e827c;return(_0x3675cc<<_0x56a60a|_0x3675cc>>>0x20-_0x56a60a)+_0x74a016;}function _0x4cb746(_0x445eb1,_0x2ea787,_0x2c4ed8,_0x25cf64,_0x1e252e,_0x21f450,_0x57a15d){var _0x3c8fe9=_0x445eb1+(_0x2ea787&_0x25cf64|_0x2c4ed8&~_0x25cf64)+_0x1e252e+_0x57a15d;return(_0x3c8fe9<<_0x21f450|_0x3c8fe9>>>0x20-_0x21f450)+_0x2ea787;}function _0x21c159(_0x1bfc5c,_0x24fd47,_0x24c1e8,_0x48539a,_0x45d2b7,_0x34852e,_0x4e8539){var _0xa99238=_0x1bfc5c+(_0x24fd47^_0x24c1e8^_0x48539a)+_0x45d2b7+_0x4e8539;return(_0xa99238<<_0x34852e|_0xa99238>>>0x20-_0x34852e)+_0x24fd47;}function _0x5e21c2(_0x94de36,_0xbc654f,_0x523c0e,_0x2bc83d,_0x9e20f6,_0x1e37fd,_0x2f561d){var _0x1c599a=_0x94de36+(_0x523c0e^(_0xbc654f|~_0x2bc83d))+_0x9e20f6+_0x2f561d;return(_0x1c599a<<_0x1e37fd|_0x1c599a>>>0x20-_0x1e37fd)+_0xbc654f;}_0x428483[_0x2f9051(0x2ad)]=_0x30fc08[_0x2f9051(0x465)](_0x502b97),_0x428483['HmacMD5']=_0x30fc08[_0x2f9051(0x35e)](_0x502b97);}(Math),_0xb37cc4[_0x21014d(0x2ad)];}));}(me)),me[_0x2ce375(0x4e8)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x4f5e26(0x4e8)],tt;function $i(){var _0x4c1d26=_0x4f5e26;return tt||(tt=0x1,function(_0x46c36f,_0x3ae12a){(function(_0x1b3420,_0x5de6ed){_0x46c36f['exports']=_0x5de6ed(ee());}(ji,function(_0x1eeb62){var _0x4949a0=_0x1b53;return(function(){var _0x5168e9=_0x1b53,_0x59d294=_0x1eeb62,_0x5dd6ae=_0x59d294[_0x5168e9(0x258)],_0x4140a3=_0x5dd6ae[_0x5168e9(0x451)],_0x274938=_0x5dd6ae[_0x5168e9(0x27c)],_0x1c82ba=_0x59d294[_0x5168e9(0x221)],_0xf1ad26=[],_0x216650=_0x1c82ba[_0x5168e9(0x1d8)]=_0x274938[_0x5168e9(0x257)]({'_doReset':function(){var _0x405269=_0x5168e9;this[_0x405269(0x4aa)]=new _0x4140a3[(_0x405269(0x520))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x14057c,_0x3e5a91){var _0x585e00=_0x5168e9;for(var _0x594fc6=this[_0x585e00(0x4aa)][_0x585e00(0x503)],_0x53de99=_0x594fc6[0x0],_0x407965=_0x594fc6[0x1],_0x3ea27f=_0x594fc6[0x2],_0x45cd30=_0x594fc6[0x3],_0x1b1dd4=_0x594fc6[0x4],_0x1555cc=0x0;_0x1555cc<0x50;_0x1555cc++){if(_0x1555cc<0x10)_0xf1ad26[_0x1555cc]=_0x14057c[_0x3e5a91+_0x1555cc]|0x0;else{var _0x4d5d99=_0xf1ad26[_0x1555cc-0x3]^_0xf1ad26[_0x1555cc-0x8]^_0xf1ad26[_0x1555cc-0xe]^_0xf1ad26[_0x1555cc-0x10];_0xf1ad26[_0x1555cc]=_0x4d5d99<<0x1|_0x4d5d99>>>0x1f;}var _0x1021ff=(_0x53de99<<0x5|_0x53de99>>>0x1b)+_0x1b1dd4+_0xf1ad26[_0x1555cc];_0x1555cc<0x14?_0x1021ff+=(_0x407965&_0x3ea27f|~_0x407965&_0x45cd30)+0x5a827999:_0x1555cc<0x28?_0x1021ff+=(_0x407965^_0x3ea27f^_0x45cd30)+0x6ed9eba1:_0x1555cc<0x3c?_0x1021ff+=(_0x407965&_0x3ea27f|_0x407965&_0x45cd30|_0x3ea27f&_0x45cd30)-0x70e44324:_0x1021ff+=(_0x407965^_0x3ea27f^_0x45cd30)-0x359d3e2a,_0x1b1dd4=_0x45cd30,_0x45cd30=_0x3ea27f,_0x3ea27f=_0x407965<<0x1e|_0x407965>>>0x2,_0x407965=_0x53de99,_0x53de99=_0x1021ff;}_0x594fc6[0x0]=_0x594fc6[0x0]+_0x53de99|0x0,_0x594fc6[0x1]=_0x594fc6[0x1]+_0x407965|0x0,_0x594fc6[0x2]=_0x594fc6[0x2]+_0x3ea27f|0x0,_0x594fc6[0x3]=_0x594fc6[0x3]+_0x45cd30|0x0,_0x594fc6[0x4]=_0x594fc6[0x4]+_0x1b1dd4|0x0;},'_doFinalize':function(){var _0x4ec030=_0x5168e9,_0x294fbd=this[_0x4ec030(0x51a)],_0xbf16b=_0x294fbd[_0x4ec030(0x503)],_0x146346=this[_0x4ec030(0x4af)]*0x8,_0x1b06e3=_0x294fbd[_0x4ec030(0x295)]*0x8;return _0xbf16b[_0x1b06e3>>>0x5]|=0x80<<0x18-_0x1b06e3%0x20,_0xbf16b[(_0x1b06e3+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ec030(0x3ef)](_0x146346/0x100000000),_0xbf16b[(_0x1b06e3+0x40>>>0x9<<0x4)+0xf]=_0x146346,_0x294fbd[_0x4ec030(0x295)]=_0xbf16b['length']*0x4,this[_0x4ec030(0x27f)](),this['_hash'];},'clone':function(){var _0x5b23ca=_0x5168e9,_0x5a9b89=_0x274938[_0x5b23ca(0x264)]['call'](this);return _0x5a9b89[_0x5b23ca(0x4aa)]=this['_hash'][_0x5b23ca(0x264)](),_0x5a9b89;}});_0x59d294[_0x5168e9(0x1d8)]=_0x274938[_0x5168e9(0x465)](_0x216650),_0x59d294[_0x5168e9(0x43b)]=_0x274938[_0x5168e9(0x35e)](_0x216650);}()),_0x1eeb62[_0x4949a0(0x1d8)];}));}(Ee)),Ee[_0x4c1d26(0x4e8)];}var Ce={'exports':{}},Bi=Ce[_0x4f5e26(0x4e8)],it;function Fi(){var _0x10232d=_0x4f5e26;return it||(it=0x1,function(_0x27ea1b,_0x4fc986){(function(_0x173421,_0x3c4e50){_0x27ea1b['exports']=_0x3c4e50(ee());}(Bi,function(_0x5bd670){(function(){var _0x17bdee=_0x1b53,_0x404dc0=_0x5bd670,_0x1b36da=_0x404dc0[_0x17bdee(0x258)],_0x4be6e9=_0x1b36da[_0x17bdee(0x22f)],_0x561e84=_0x404dc0[_0x17bdee(0x2b3)],_0x4bdc1f=_0x561e84[_0x17bdee(0x4fb)],_0x557218=_0x404dc0[_0x17bdee(0x221)];_0x557218[_0x17bdee(0x485)]=_0x4be6e9[_0x17bdee(0x257)]({'init':function(_0x27db8a,_0x320129){var _0x4f2ff1=_0x17bdee;_0x27db8a=this[_0x4f2ff1(0x4b9)]=new _0x27db8a[(_0x4f2ff1(0x520))](),typeof _0x320129=='string'&&(_0x320129=_0x4bdc1f[_0x4f2ff1(0x42b)](_0x320129));var _0x45adb3=_0x27db8a[_0x4f2ff1(0x3a1)],_0x39df06=_0x45adb3*0x4;_0x320129[_0x4f2ff1(0x295)]>_0x39df06&&(_0x320129=_0x27db8a['finalize'](_0x320129)),_0x320129[_0x4f2ff1(0x3f7)]();for(var _0x217f68=this[_0x4f2ff1(0x260)]=_0x320129[_0x4f2ff1(0x264)](),_0x200770=this[_0x4f2ff1(0x3bf)]=_0x320129[_0x4f2ff1(0x264)](),_0x182a7c=_0x217f68[_0x4f2ff1(0x503)],_0x1cb951=_0x200770['words'],_0x40b783=0x0;_0x40b783<_0x45adb3;_0x40b783++)_0x182a7c[_0x40b783]^=0x5c5c5c5c,_0x1cb951[_0x40b783]^=0x36363636;_0x217f68[_0x4f2ff1(0x295)]=_0x200770['sigBytes']=_0x39df06,this[_0x4f2ff1(0x23a)]();},'reset':function(){var _0x3e5e83=_0x17bdee,_0xdc5f8b=this[_0x3e5e83(0x4b9)];_0xdc5f8b[_0x3e5e83(0x23a)](),_0xdc5f8b[_0x3e5e83(0x1f8)](this['_iKey']);},'update':function(_0x22a3c9){var _0x3f8cbd=_0x17bdee;return this[_0x3f8cbd(0x4b9)][_0x3f8cbd(0x1f8)](_0x22a3c9),this;},'finalize':function(_0x3b1704){var _0xaed8d1=_0x17bdee,_0x348441=this[_0xaed8d1(0x4b9)],_0x16f0de=_0x348441[_0xaed8d1(0x3ae)](_0x3b1704);_0x348441[_0xaed8d1(0x23a)]();var _0x142b85=_0x348441[_0xaed8d1(0x3ae)](this['_oKey']['clone']()[_0xaed8d1(0x4cc)](_0x16f0de));return _0x142b85;}});}());}));}(Ce)),Ce[_0x10232d(0x4e8)];}var Wi=Ie['exports'],nt;function Pt(){var _0x68586f=_0x4f5e26;return nt||(nt=0x1,function(_0x505218,_0x2dc6fd){(function(_0x1992b9,_0x1f197b,_0x5adb9f){var _0x3cb357=_0x1b53;_0x505218[_0x3cb357(0x4e8)]=_0x1f197b(ee(),$i(),Fi());}(Wi,function(_0x3470fd){return(function(){var _0x5bd242=_0x1b53,_0x11a67e=_0x3470fd,_0x54a43b=_0x11a67e[_0x5bd242(0x258)],_0x3b7caa=_0x54a43b[_0x5bd242(0x22f)],_0x5384bf=_0x54a43b['WordArray'],_0x13f26c=_0x11a67e[_0x5bd242(0x221)],_0x5de9bd=_0x13f26c[_0x5bd242(0x2ad)],_0x88beb5=_0x13f26c[_0x5bd242(0x3f5)]=_0x3b7caa['extend']({'cfg':_0x3b7caa[_0x5bd242(0x257)]({'keySize':0x80/0x20,'hasher':_0x5de9bd,'iterations':0x1}),'init':function(_0x114ce1){this['cfg']=this['cfg']['extend'](_0x114ce1);},'compute':function(_0x2d9b13,_0x5e9f4f){var _0x3a2194=_0x5bd242;for(var _0x3ecc42,_0x5ac232=this[_0x3a2194(0x377)],_0x1559e8=_0x5ac232[_0x3a2194(0x399)][_0x3a2194(0x1e2)](),_0x2a69e3=_0x5384bf[_0x3a2194(0x1e2)](),_0x16b327=_0x2a69e3['words'],_0x2b2511=_0x5ac232['keySize'],_0x591845=_0x5ac232[_0x3a2194(0x52a)];_0x16b327[_0x3a2194(0x531)]<_0x2b2511;){_0x3ecc42&&_0x1559e8[_0x3a2194(0x1f8)](_0x3ecc42),_0x3ecc42=_0x1559e8[_0x3a2194(0x1f8)](_0x2d9b13)['finalize'](_0x5e9f4f),_0x1559e8[_0x3a2194(0x23a)]();for(var _0x6cf373=0x1;_0x6cf373<_0x591845;_0x6cf373++)_0x3ecc42=_0x1559e8[_0x3a2194(0x3ae)](_0x3ecc42),_0x1559e8[_0x3a2194(0x23a)]();_0x2a69e3[_0x3a2194(0x4cc)](_0x3ecc42);}return _0x2a69e3[_0x3a2194(0x295)]=_0x2b2511*0x4,_0x2a69e3;}});_0x11a67e['EvpKDF']=function(_0x1c0016,_0x33f633,_0x5a1e8a){var _0x565a80=_0x5bd242;return _0x88beb5[_0x565a80(0x1e2)](_0x5a1e8a)[_0x565a80(0x223)](_0x1c0016,_0x33f633);};}()),_0x3470fd['EvpKDF'];}));}(Ie)),Ie[_0x68586f(0x4e8)];}var Te={'exports':{}},Gi=Te[_0x4f5e26(0x4e8)],rt;function At(){var _0xc2a6cf=_0x4f5e26;return rt||(rt=0x1,function(_0x128cad,_0x2fd738){(function(_0x5160cf,_0x58bc49,_0x5c4189){_0x128cad['exports']=_0x58bc49(ee(),Pt());}(Gi,function(_0xcd29ab){var _0x5d5bf9=_0x1b53;_0xcd29ab[_0x5d5bf9(0x258)][_0x5d5bf9(0x517)]||function(_0x3dff05){var _0x124bf0=_0x5d5bf9,_0x77614e=_0xcd29ab,_0x5d12dd=_0x77614e[_0x124bf0(0x258)],_0x3a3904=_0x5d12dd[_0x124bf0(0x22f)],_0x50e7e7=_0x5d12dd[_0x124bf0(0x451)],_0x31d2b7=_0x5d12dd['BufferedBlockAlgorithm'],_0x4e8fef=_0x77614e[_0x124bf0(0x2b3)];_0x4e8fef['Utf8'];var _0x2c5dfb=_0x4e8fef[_0x124bf0(0x41c)],_0x2a4cfc=_0x77614e[_0x124bf0(0x221)],_0x323039=_0x2a4cfc[_0x124bf0(0x3f5)],_0x3acc96=_0x5d12dd[_0x124bf0(0x517)]=_0x31d2b7[_0x124bf0(0x257)]({'cfg':_0x3a3904[_0x124bf0(0x257)](),'createEncryptor':function(_0x372fc8,_0x2cda44){var _0xc336b4=_0x124bf0;return this[_0xc336b4(0x1e2)](this[_0xc336b4(0x3d5)],_0x372fc8,_0x2cda44);},'createDecryptor':function(_0x5f4648,_0x2b8ba1){return this['create'](this['_DEC_XFORM_MODE'],_0x5f4648,_0x2b8ba1);},'init':function(_0x1d7e97,_0x503453,_0x2eb90c){var _0x465975=_0x124bf0;this[_0x465975(0x377)]=this[_0x465975(0x377)][_0x465975(0x257)](_0x2eb90c),this[_0x465975(0x40f)]=_0x1d7e97,this[_0x465975(0x38c)]=_0x503453,this[_0x465975(0x23a)]();},'reset':function(){var _0x5b39e5=_0x124bf0;_0x31d2b7[_0x5b39e5(0x23a)][_0x5b39e5(0x424)](this),this['_doReset']();},'process':function(_0x19a3e0){var _0x459176=_0x124bf0;return this[_0x459176(0x495)](_0x19a3e0),this[_0x459176(0x27f)]();},'finalize':function(_0x439333){var _0x4da28d=_0x124bf0;_0x439333&&this[_0x4da28d(0x495)](_0x439333);var _0x535fb1=this[_0x4da28d(0x1d5)]();return _0x535fb1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51ae09(_0x2c2f91){var _0x1e7f5d=_0x1b53;return typeof _0x2c2f91==_0x1e7f5d(0x42c)?_0x422820:_0x11fb1a;}return function(_0x2210fa){return{'encrypt':function(_0x50e9f4,_0x1600f4,_0xad2041){return _0x51ae09(_0x1600f4)['encrypt'](_0x2210fa,_0x50e9f4,_0x1600f4,_0xad2041);},'decrypt':function(_0xa22035,_0x305ea4,_0x1fb57d){var _0x223898=_0x1b53;return _0x51ae09(_0x305ea4)[_0x223898(0x441)](_0x2210fa,_0xa22035,_0x305ea4,_0x1fb57d);}};};}())});_0x5d12dd[_0x124bf0(0x275)]=_0x3acc96[_0x124bf0(0x257)]({'_doFinalize':function(){var _0x35bc95=_0x124bf0,_0x166d65=this[_0x35bc95(0x27f)](!0x0);return _0x166d65;},'blockSize':0x1});var _0x4f8196=_0x77614e['mode']={},_0x4066a5=_0x5d12dd[_0x124bf0(0x24c)]=_0x3a3904[_0x124bf0(0x257)]({'createEncryptor':function(_0x184170,_0x59fe56){var _0x3449a6=_0x124bf0;return this[_0x3449a6(0x233)][_0x3449a6(0x1e2)](_0x184170,_0x59fe56);},'createDecryptor':function(_0x41b971,_0x4d45f9){var _0x4831d1=_0x124bf0;return this[_0x4831d1(0x39b)][_0x4831d1(0x1e2)](_0x41b971,_0x4d45f9);},'init':function(_0x10637a,_0x279391){var _0x153efa=_0x124bf0;this[_0x153efa(0x48b)]=_0x10637a,this[_0x153efa(0x360)]=_0x279391;}}),_0x15dada=_0x4f8196['CBC']=(function(){var _0x5df7c8=_0x124bf0,_0x381c2d=_0x4066a5[_0x5df7c8(0x257)]();_0x381c2d[_0x5df7c8(0x233)]=_0x381c2d[_0x5df7c8(0x257)]({'processBlock':function(_0x19fa61,_0x366dc2){var _0x103f0c=_0x5df7c8,_0x3f00e0=this['_cipher'],_0x41d41b=_0x3f00e0[_0x103f0c(0x3a1)];_0x982214['call'](this,_0x19fa61,_0x366dc2,_0x41d41b),_0x3f00e0['encryptBlock'](_0x19fa61,_0x366dc2),this['_prevBlock']=_0x19fa61[_0x103f0c(0x3fe)](_0x366dc2,_0x366dc2+_0x41d41b);}}),_0x381c2d[_0x5df7c8(0x39b)]=_0x381c2d['extend']({'processBlock':function(_0x3efb6c,_0x181cb3){var _0x5ed988=_0x5df7c8,_0x4870df=this[_0x5ed988(0x48b)],_0x2974ef=_0x4870df['blockSize'],_0x12884c=_0x3efb6c[_0x5ed988(0x3fe)](_0x181cb3,_0x181cb3+_0x2974ef);_0x4870df[_0x5ed988(0x352)](_0x3efb6c,_0x181cb3),_0x982214[_0x5ed988(0x424)](this,_0x3efb6c,_0x181cb3,_0x2974ef),this[_0x5ed988(0x241)]=_0x12884c;}});function _0x982214(_0x5c18b2,_0xdc19f0,_0xb8b3df){var _0x8becf2=_0x5df7c8,_0x4a238b,_0x57829b=this[_0x8becf2(0x360)];_0x57829b?(_0x4a238b=_0x57829b,this['_iv']=_0x3dff05):_0x4a238b=this[_0x8becf2(0x241)];for(var _0x2d0fbb=0x0;_0x2d0fbb<_0xb8b3df;_0x2d0fbb++)_0x5c18b2[_0xdc19f0+_0x2d0fbb]^=_0x4a238b[_0x2d0fbb];}return _0x381c2d;}()),_0x148746=_0x77614e[_0x124bf0(0x506)]={},_0x3d546c=_0x148746[_0x124bf0(0x20d)]={'pad':function(_0x145778,_0x28a64){var _0x3271ec=_0x124bf0;for(var _0x5e1281=_0x28a64*0x4,_0x13dc8a=_0x5e1281-_0x145778[_0x3271ec(0x295)]%_0x5e1281,_0x13db12=_0x13dc8a<<0x18|_0x13dc8a<<0x10|_0x13dc8a<<0x8|_0x13dc8a,_0x1245e0=[],_0x48f84b=0x0;_0x48f84b<_0x13dc8a;_0x48f84b+=0x4)_0x1245e0[_0x3271ec(0x20c)](_0x13db12);var _0x392532=_0x50e7e7[_0x3271ec(0x1e2)](_0x1245e0,_0x13dc8a);_0x145778[_0x3271ec(0x4cc)](_0x392532);},'unpad':function(_0x472340){var _0x1a6a5d=_0x124bf0,_0x22510f=_0x472340[_0x1a6a5d(0x503)][_0x472340['sigBytes']-0x1>>>0x2]&0xff;_0x472340['sigBytes']-=_0x22510f;}};_0x5d12dd[_0x124bf0(0x305)]=_0x3acc96[_0x124bf0(0x257)]({'cfg':_0x3acc96[_0x124bf0(0x377)][_0x124bf0(0x257)]({'mode':_0x15dada,'padding':_0x3d546c}),'reset':function(){var _0x5de99a=_0x124bf0,_0x57765f;_0x3acc96[_0x5de99a(0x23a)][_0x5de99a(0x424)](this);var _0x134b0d=this[_0x5de99a(0x377)],_0x36362d=_0x134b0d['iv'],_0x4a6517=_0x134b0d['mode'];this[_0x5de99a(0x40f)]==this['_ENC_XFORM_MODE']?_0x57765f=_0x4a6517[_0x5de99a(0x450)]:(_0x57765f=_0x4a6517[_0x5de99a(0x371)],this['_minBufferSize']=0x1),this[_0x5de99a(0x225)]&&this[_0x5de99a(0x225)][_0x5de99a(0x266)]==_0x57765f?this[_0x5de99a(0x225)][_0x5de99a(0x520)](this,_0x36362d&&_0x36362d[_0x5de99a(0x503)]):(this[_0x5de99a(0x225)]=_0x57765f['call'](_0x4a6517,this,_0x36362d&&_0x36362d[_0x5de99a(0x503)]),this[_0x5de99a(0x225)][_0x5de99a(0x266)]=_0x57765f);},'_doProcessBlock':function(_0x2252bb,_0x3fde8a){var _0x7036bd=_0x124bf0;this['_mode'][_0x7036bd(0x235)](_0x2252bb,_0x3fde8a);},'_doFinalize':function(){var _0x5b5915=_0x124bf0,_0x28e2d2,_0x5d3879=this[_0x5b5915(0x377)]['padding'];return this[_0x5b5915(0x40f)]==this[_0x5b5915(0x3d5)]?(_0x5d3879['pad'](this[_0x5b5915(0x51a)],this['blockSize']),_0x28e2d2=this['_process'](!0x0)):(_0x28e2d2=this[_0x5b5915(0x27f)](!0x0),_0x5d3879[_0x5b5915(0x253)](_0x28e2d2)),_0x28e2d2;},'blockSize':0x80/0x20});var _0x5cb0f1=_0x5d12dd['CipherParams']=_0x3a3904[_0x124bf0(0x257)]({'init':function(_0x36121c){var _0x49803b=_0x124bf0;this[_0x49803b(0x35b)](_0x36121c);},'toString':function(_0x31e864){var _0x3b04a1=_0x124bf0;return(_0x31e864||this[_0x3b04a1(0x262)])[_0x3b04a1(0x4f5)](this);}}),_0xe7f949=_0x77614e[_0x124bf0(0x407)]={},_0x308a0a=_0xe7f949['OpenSSL']={'stringify':function(_0x20e8e3){var _0x12d1ce=_0x124bf0,_0x57abd6,_0x428733=_0x20e8e3[_0x12d1ce(0x472)],_0x302aa5=_0x20e8e3['salt'];return _0x302aa5?_0x57abd6=_0x50e7e7['create']([0x53616c74,0x65645f5f])['concat'](_0x302aa5)[_0x12d1ce(0x4cc)](_0x428733):_0x57abd6=_0x428733,_0x57abd6[_0x12d1ce(0x242)](_0x2c5dfb);},'parse':function(_0x48c996){var _0xe05295=_0x124bf0,_0x70b019,_0x103869=_0x2c5dfb['parse'](_0x48c996),_0x246cd3=_0x103869[_0xe05295(0x503)];return _0x246cd3[0x0]==0x53616c74&&_0x246cd3[0x1]==0x65645f5f&&(_0x70b019=_0x50e7e7[_0xe05295(0x1e2)](_0x246cd3[_0xe05295(0x3fe)](0x2,0x4)),_0x246cd3[_0xe05295(0x504)](0x0,0x4),_0x103869[_0xe05295(0x295)]-=0x10),_0x5cb0f1[_0xe05295(0x1e2)]({'ciphertext':_0x103869,'salt':_0x70b019});}},_0x11fb1a=_0x5d12dd[_0x124bf0(0x342)]=_0x3a3904['extend']({'cfg':_0x3a3904[_0x124bf0(0x257)]({'format':_0x308a0a}),'encrypt':function(_0x327d1e,_0x1b5509,_0x14f2b7,_0x13520b){var _0x4da714=_0x124bf0;_0x13520b=this[_0x4da714(0x377)]['extend'](_0x13520b);var _0x24482b=_0x327d1e['createEncryptor'](_0x14f2b7,_0x13520b),_0x523d7d=_0x24482b[_0x4da714(0x3ae)](_0x1b5509),_0x51d887=_0x24482b[_0x4da714(0x377)];return _0x5cb0f1[_0x4da714(0x1e2)]({'ciphertext':_0x523d7d,'key':_0x14f2b7,'iv':_0x51d887['iv'],'algorithm':_0x327d1e,'mode':_0x51d887[_0x4da714(0x442)],'padding':_0x51d887['padding'],'blockSize':_0x327d1e[_0x4da714(0x3a1)],'formatter':_0x13520b[_0x4da714(0x407)]});},'decrypt':function(_0x11e69f,_0x108d53,_0x228c02,_0xa76b78){var _0x291a4b=_0x124bf0;_0xa76b78=this['cfg'][_0x291a4b(0x257)](_0xa76b78),_0x108d53=this[_0x291a4b(0x38e)](_0x108d53,_0xa76b78[_0x291a4b(0x407)]);var _0x1517a0=_0x11e69f[_0x291a4b(0x371)](_0x228c02,_0xa76b78)[_0x291a4b(0x3ae)](_0x108d53[_0x291a4b(0x472)]);return _0x1517a0;},'_parse':function(_0x33fd98,_0xfd31ac){var _0x21cc01=_0x124bf0;return typeof _0x33fd98==_0x21cc01(0x42c)?_0xfd31ac['parse'](_0x33fd98,this):_0x33fd98;}}),_0x17b8cd=_0x77614e[_0x124bf0(0x368)]={},_0x33ff04=_0x17b8cd['OpenSSL']={'execute':function(_0x467ed7,_0x16a4ef,_0x30c9ff,_0x306484,_0x42bd9d){var _0x502e39=_0x124bf0;if(_0x306484||(_0x306484=_0x50e7e7[_0x502e39(0x30f)](0x40/0x8)),_0x42bd9d)var _0x1c7da7=_0x323039[_0x502e39(0x1e2)]({'keySize':_0x16a4ef+_0x30c9ff,'hasher':_0x42bd9d})[_0x502e39(0x223)](_0x467ed7,_0x306484);else var _0x1c7da7=_0x323039[_0x502e39(0x1e2)]({'keySize':_0x16a4ef+_0x30c9ff})[_0x502e39(0x223)](_0x467ed7,_0x306484);var _0x57c9e7=_0x50e7e7[_0x502e39(0x1e2)](_0x1c7da7[_0x502e39(0x503)][_0x502e39(0x3fe)](_0x16a4ef),_0x30c9ff*0x4);return _0x1c7da7[_0x502e39(0x295)]=_0x16a4ef*0x4,_0x5cb0f1[_0x502e39(0x1e2)]({'key':_0x1c7da7,'iv':_0x57c9e7,'salt':_0x306484});}},_0x422820=_0x5d12dd[_0x124bf0(0x1f2)]=_0x11fb1a['extend']({'cfg':_0x11fb1a[_0x124bf0(0x377)][_0x124bf0(0x257)]({'kdf':_0x33ff04}),'encrypt':function(_0x3826fd,_0xbe970b,_0x258302,_0x13f815){var _0x3e0478=_0x124bf0;_0x13f815=this[_0x3e0478(0x377)][_0x3e0478(0x257)](_0x13f815);var _0x4b6325=_0x13f815[_0x3e0478(0x368)][_0x3e0478(0x20a)](_0x258302,_0x3826fd[_0x3e0478(0x3fb)],_0x3826fd[_0x3e0478(0x36a)],_0x13f815[_0x3e0478(0x2d7)],_0x13f815[_0x3e0478(0x399)]);_0x13f815['iv']=_0x4b6325['iv'];var _0x53ca51=_0x11fb1a[_0x3e0478(0x236)][_0x3e0478(0x424)](this,_0x3826fd,_0xbe970b,_0x4b6325[_0x3e0478(0x4c8)],_0x13f815);return _0x53ca51[_0x3e0478(0x35b)](_0x4b6325),_0x53ca51;},'decrypt':function(_0x2b4c93,_0x28a5d7,_0x26df5f,_0x2d4bff){var _0x10558f=_0x124bf0;_0x2d4bff=this[_0x10558f(0x377)]['extend'](_0x2d4bff),_0x28a5d7=this[_0x10558f(0x38e)](_0x28a5d7,_0x2d4bff[_0x10558f(0x407)]);var _0x3931de=_0x2d4bff['kdf'][_0x10558f(0x20a)](_0x26df5f,_0x2b4c93[_0x10558f(0x3fb)],_0x2b4c93[_0x10558f(0x36a)],_0x28a5d7[_0x10558f(0x2d7)],_0x2d4bff[_0x10558f(0x399)]);_0x2d4bff['iv']=_0x3931de['iv'];var _0x101aef=_0x11fb1a[_0x10558f(0x441)][_0x10558f(0x424)](this,_0x2b4c93,_0x28a5d7,_0x3931de[_0x10558f(0x4c8)],_0x2d4bff);return _0x101aef;}});}();}));}(Te)),Te[_0xc2a6cf(0x4e8)];}var Vi=fe[_0x4f5e26(0x4e8)],st;function Ki(){return st||(st=0x1,function(_0x49acf2,_0x1804f5){(function(_0x2aeef2,_0x2e549c,_0x19f0ee){_0x49acf2['exports']=_0x2e549c(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x4a65e0){return(function(){var _0x581d3c=_0x1b53,_0x5f1a16=_0x4a65e0,_0x465859=_0x5f1a16['lib'],_0x20c1ca=_0x465859['BlockCipher'],_0x2abc13=_0x5f1a16[_0x581d3c(0x221)],_0x283b5c=[],_0x2016da=[],_0x3ef330=[],_0x582260=[],_0x51f4e4=[],_0x49c827=[],_0x105cb5=[],_0x537795=[],_0x3f6e54=[],_0xdf8461=[];(function(){for(var _0x1b1fa7=[],_0x465f3e=0x0;_0x465f3e<0x100;_0x465f3e++)_0x465f3e<0x80?_0x1b1fa7[_0x465f3e]=_0x465f3e<<0x1:_0x1b1fa7[_0x465f3e]=_0x465f3e<<0x1^0x11b;for(var _0x4a58d7=0x0,_0x2e1f48=0x0,_0x465f3e=0x0;_0x465f3e<0x100;_0x465f3e++){var _0x1a5194=_0x2e1f48^_0x2e1f48<<0x1^_0x2e1f48<<0x2^_0x2e1f48<<0x3^_0x2e1f48<<0x4;_0x1a5194=_0x1a5194>>>0x8^_0x1a5194&0xff^0x63,_0x283b5c[_0x4a58d7]=_0x1a5194,_0x2016da[_0x1a5194]=_0x4a58d7;var _0x4b8ccb=_0x1b1fa7[_0x4a58d7],_0x3a13e6=_0x1b1fa7[_0x4b8ccb],_0x23ecea=_0x1b1fa7[_0x3a13e6],_0xc0ed3f=_0x1b1fa7[_0x1a5194]*0x101^_0x1a5194*0x1010100;_0x3ef330[_0x4a58d7]=_0xc0ed3f<<0x18|_0xc0ed3f>>>0x8,_0x582260[_0x4a58d7]=_0xc0ed3f<<0x10|_0xc0ed3f>>>0x10,_0x51f4e4[_0x4a58d7]=_0xc0ed3f<<0x8|_0xc0ed3f>>>0x18,_0x49c827[_0x4a58d7]=_0xc0ed3f;var _0xc0ed3f=_0x23ecea*0x1010101^_0x3a13e6*0x10001^_0x4b8ccb*0x101^_0x4a58d7*0x1010100;_0x105cb5[_0x1a5194]=_0xc0ed3f<<0x18|_0xc0ed3f>>>0x8,_0x537795[_0x1a5194]=_0xc0ed3f<<0x10|_0xc0ed3f>>>0x10,_0x3f6e54[_0x1a5194]=_0xc0ed3f<<0x8|_0xc0ed3f>>>0x18,_0xdf8461[_0x1a5194]=_0xc0ed3f,_0x4a58d7?(_0x4a58d7=_0x4b8ccb^_0x1b1fa7[_0x1b1fa7[_0x1b1fa7[_0x23ecea^_0x4b8ccb]]],_0x2e1f48^=_0x1b1fa7[_0x1b1fa7[_0x2e1f48]]):_0x4a58d7=_0x2e1f48=0x1;}}());var _0x5c428e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3367ee=_0x2abc13[_0x581d3c(0x37c)]=_0x20c1ca[_0x581d3c(0x257)]({'_doReset':function(){var _0x58a5d0=_0x581d3c,_0x10b923;if(!(this[_0x58a5d0(0x30d)]&&this[_0x58a5d0(0x3c3)]===this[_0x58a5d0(0x38c)])){for(var _0x2c471d=this[_0x58a5d0(0x3c3)]=this['_key'],_0x25350f=_0x2c471d[_0x58a5d0(0x503)],_0x870519=_0x2c471d['sigBytes']/0x4,_0x4a7515=this[_0x58a5d0(0x30d)]=_0x870519+0x6,_0x30c65c=(_0x4a7515+0x1)*0x4,_0x5511e7=this[_0x58a5d0(0x2bb)]=[],_0x58d158=0x0;_0x58d158<_0x30c65c;_0x58d158++)_0x58d158<_0x870519?_0x5511e7[_0x58d158]=_0x25350f[_0x58d158]:(_0x10b923=_0x5511e7[_0x58d158-0x1],_0x58d158%_0x870519?_0x870519>0x6&&_0x58d158%_0x870519==0x4&&(_0x10b923=_0x283b5c[_0x10b923>>>0x18]<<0x18|_0x283b5c[_0x10b923>>>0x10&0xff]<<0x10|_0x283b5c[_0x10b923>>>0x8&0xff]<<0x8|_0x283b5c[_0x10b923&0xff]):(_0x10b923=_0x10b923<<0x8|_0x10b923>>>0x18,_0x10b923=_0x283b5c[_0x10b923>>>0x18]<<0x18|_0x283b5c[_0x10b923>>>0x10&0xff]<<0x10|_0x283b5c[_0x10b923>>>0x8&0xff]<<0x8|_0x283b5c[_0x10b923&0xff],_0x10b923^=_0x5c428e[_0x58d158/_0x870519|0x0]<<0x18),_0x5511e7[_0x58d158]=_0x5511e7[_0x58d158-_0x870519]^_0x10b923);for(var _0x162a3c=this[_0x58a5d0(0x4fa)]=[],_0x3c32aa=0x0;_0x3c32aa<_0x30c65c;_0x3c32aa++){var _0x58d158=_0x30c65c-_0x3c32aa;if(_0x3c32aa%0x4)var _0x10b923=_0x5511e7[_0x58d158];else var _0x10b923=_0x5511e7[_0x58d158-0x4];_0x3c32aa<0x4||_0x58d158<=0x4?_0x162a3c[_0x3c32aa]=_0x10b923:_0x162a3c[_0x3c32aa]=_0x105cb5[_0x283b5c[_0x10b923>>>0x18]]^_0x537795[_0x283b5c[_0x10b923>>>0x10&0xff]]^_0x3f6e54[_0x283b5c[_0x10b923>>>0x8&0xff]]^_0xdf8461[_0x283b5c[_0x10b923&0xff]];}}},'encryptBlock':function(_0x57e297,_0x3f94c1){var _0x31d645=_0x581d3c;this[_0x31d645(0x2d3)](_0x57e297,_0x3f94c1,this[_0x31d645(0x2bb)],_0x3ef330,_0x582260,_0x51f4e4,_0x49c827,_0x283b5c);},'decryptBlock':function(_0x438415,_0x30668d){var _0x3481aa=_0x581d3c,_0x3b9be6=_0x438415[_0x30668d+0x1];_0x438415[_0x30668d+0x1]=_0x438415[_0x30668d+0x3],_0x438415[_0x30668d+0x3]=_0x3b9be6,this[_0x3481aa(0x2d3)](_0x438415,_0x30668d,this[_0x3481aa(0x4fa)],_0x105cb5,_0x537795,_0x3f6e54,_0xdf8461,_0x2016da);var _0x3b9be6=_0x438415[_0x30668d+0x1];_0x438415[_0x30668d+0x1]=_0x438415[_0x30668d+0x3],_0x438415[_0x30668d+0x3]=_0x3b9be6;},'_doCryptBlock':function(_0x59e979,_0x1c59ad,_0x3dfbbd,_0x501418,_0x407c42,_0x571ed0,_0x478da5,_0x4a0c2a){var _0x402dfd=_0x581d3c;for(var _0x34b131=this[_0x402dfd(0x30d)],_0x3ca690=_0x59e979[_0x1c59ad]^_0x3dfbbd[0x0],_0x5d2276=_0x59e979[_0x1c59ad+0x1]^_0x3dfbbd[0x1],_0x46b1a0=_0x59e979[_0x1c59ad+0x2]^_0x3dfbbd[0x2],_0x153272=_0x59e979[_0x1c59ad+0x3]^_0x3dfbbd[0x3],_0x10ff65=0x4,_0x19314a=0x1;_0x19314a<_0x34b131;_0x19314a++){var _0x446287=_0x501418[_0x3ca690>>>0x18]^_0x407c42[_0x5d2276>>>0x10&0xff]^_0x571ed0[_0x46b1a0>>>0x8&0xff]^_0x478da5[_0x153272&0xff]^_0x3dfbbd[_0x10ff65++],_0x18b0ec=_0x501418[_0x5d2276>>>0x18]^_0x407c42[_0x46b1a0>>>0x10&0xff]^_0x571ed0[_0x153272>>>0x8&0xff]^_0x478da5[_0x3ca690&0xff]^_0x3dfbbd[_0x10ff65++],_0x5a35c6=_0x501418[_0x46b1a0>>>0x18]^_0x407c42[_0x153272>>>0x10&0xff]^_0x571ed0[_0x3ca690>>>0x8&0xff]^_0x478da5[_0x5d2276&0xff]^_0x3dfbbd[_0x10ff65++],_0x5f25c5=_0x501418[_0x153272>>>0x18]^_0x407c42[_0x3ca690>>>0x10&0xff]^_0x571ed0[_0x5d2276>>>0x8&0xff]^_0x478da5[_0x46b1a0&0xff]^_0x3dfbbd[_0x10ff65++];_0x3ca690=_0x446287,_0x5d2276=_0x18b0ec,_0x46b1a0=_0x5a35c6,_0x153272=_0x5f25c5;}var _0x446287=(_0x4a0c2a[_0x3ca690>>>0x18]<<0x18|_0x4a0c2a[_0x5d2276>>>0x10&0xff]<<0x10|_0x4a0c2a[_0x46b1a0>>>0x8&0xff]<<0x8|_0x4a0c2a[_0x153272&0xff])^_0x3dfbbd[_0x10ff65++],_0x18b0ec=(_0x4a0c2a[_0x5d2276>>>0x18]<<0x18|_0x4a0c2a[_0x46b1a0>>>0x10&0xff]<<0x10|_0x4a0c2a[_0x153272>>>0x8&0xff]<<0x8|_0x4a0c2a[_0x3ca690&0xff])^_0x3dfbbd[_0x10ff65++],_0x5a35c6=(_0x4a0c2a[_0x46b1a0>>>0x18]<<0x18|_0x4a0c2a[_0x153272>>>0x10&0xff]<<0x10|_0x4a0c2a[_0x3ca690>>>0x8&0xff]<<0x8|_0x4a0c2a[_0x5d2276&0xff])^_0x3dfbbd[_0x10ff65++],_0x5f25c5=(_0x4a0c2a[_0x153272>>>0x18]<<0x18|_0x4a0c2a[_0x3ca690>>>0x10&0xff]<<0x10|_0x4a0c2a[_0x5d2276>>>0x8&0xff]<<0x8|_0x4a0c2a[_0x46b1a0&0xff])^_0x3dfbbd[_0x10ff65++];_0x59e979[_0x1c59ad]=_0x446287,_0x59e979[_0x1c59ad+0x1]=_0x18b0ec,_0x59e979[_0x1c59ad+0x2]=_0x5a35c6,_0x59e979[_0x1c59ad+0x3]=_0x5f25c5;},'keySize':0x100/0x20});_0x5f1a16['AES']=_0x20c1ca[_0x581d3c(0x465)](_0x3367ee);}()),_0x4a65e0['AES'];}));}(fe)),fe['exports'];}var Yi=Ki();function _0x1b53(_0x188577,_0x2bf943){var _0x3d6c4a=_0x3d6c();return _0x1b53=function(_0x1b53dd,_0x189eec){_0x1b53dd=_0x1b53dd-0x1d3;var _0x56c75f=_0x3d6c4a[_0x1b53dd];return _0x56c75f;},_0x1b53(_0x188577,_0x2bf943);}const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x4f5e26(0x4e8)],at;function Xi(){var _0x37071b=_0x4f5e26;return at||(at=0x1,function(_0x3dfbcf,_0x5c8829){(function(_0x4725df,_0x344f54){var _0x42f31c=_0x1b53;_0x3dfbcf[_0x42f31c(0x4e8)]=_0x344f54(ee());}(Ji,function(_0x433178){var _0x7b5ca5=_0x1b53;return _0x433178[_0x7b5ca5(0x2b3)][_0x7b5ca5(0x4fb)];}));}(be)),be[_0x37071b(0x4e8)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x4f5e26(0x4e8)],ct;function tn(){var _0x24ef4f=_0x4f5e26;return ct||(ct=0x1,function(_0x1117e8,_0x7d87f2){(function(_0x2301b8,_0x23201f){_0x1117e8['exports']=_0x23201f(ee());}(en,function(_0x1acb1d){var _0x293047=_0x1b53;return(function(){var _0x1fec7d=_0x1b53;if(typeof ArrayBuffer==_0x1fec7d(0x412)){var _0x5c9215=_0x1acb1d,_0x4add02=_0x5c9215[_0x1fec7d(0x258)],_0x54017c=_0x4add02[_0x1fec7d(0x451)],_0x3674a7=_0x54017c[_0x1fec7d(0x520)],_0x508fa6=_0x54017c[_0x1fec7d(0x520)]=function(_0x4aef0f){var _0x47d8c7=_0x1fec7d;if(_0x4aef0f instanceof ArrayBuffer&&(_0x4aef0f=new Uint8Array(_0x4aef0f)),(_0x4aef0f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4aef0f instanceof Uint8ClampedArray||_0x4aef0f instanceof Int16Array||_0x4aef0f instanceof Uint16Array||_0x4aef0f instanceof Int32Array||_0x4aef0f instanceof Uint32Array||_0x4aef0f instanceof Float32Array||_0x4aef0f instanceof Float64Array)&&(_0x4aef0f=new Uint8Array(_0x4aef0f[_0x47d8c7(0x3b1)],_0x4aef0f['byteOffset'],_0x4aef0f[_0x47d8c7(0x4b6)])),_0x4aef0f instanceof Uint8Array){for(var _0xe92fa8=_0x4aef0f[_0x47d8c7(0x4b6)],_0x4f2c06=[],_0x21218f=0x0;_0x21218f<_0xe92fa8;_0x21218f++)_0x4f2c06[_0x21218f>>>0x2]|=_0x4aef0f[_0x21218f]<<0x18-_0x21218f%0x4*0x8;_0x3674a7[_0x47d8c7(0x424)](this,_0x4f2c06,_0xe92fa8);}else _0x3674a7[_0x47d8c7(0x3cc)](this,arguments);};_0x508fa6[_0x1fec7d(0x3d0)]=_0x54017c;}}()),_0x1acb1d[_0x293047(0x258)][_0x293047(0x451)];}));}(Re)),Re[_0x24ef4f(0x4e8)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x4f5e26(0x4e8)],ht;function on(){return ht||(ht=0x1,function(_0x83321a,_0x433a5f){(function(_0x11c7ef,_0x420da1,_0xf36f56){var _0x1f6fcf=_0x1b53;_0x83321a[_0x1f6fcf(0x4e8)]=_0x420da1(ee(),At());}(sn,function(_0x41b9b8){var _0x50f996=_0x1b53;return _0x41b9b8[_0x50f996(0x506)][_0x50f996(0x2ec)]={'pad':function(){},'unpad':function(){}},_0x41b9b8[_0x50f996(0x506)][_0x50f996(0x2ec)];}));}(ye)),ye['exports'];}var an=on();const cn=Se(an);function hn(_0x21d427,_0x58f613){var _0x1b0e09=_0x4f5e26;const _0x19440f=_0x58f613-_0x21d427[_0x1b0e09(0x531)]%_0x58f613,_0x1f58e1=String[_0x1b0e09(0x1da)](_0x19440f)[_0x1b0e09(0x2c5)](_0x19440f);return _0x21d427+_0x1f58e1;}function ln(_0x510e69,_0x48c3f0){var _0x309045=_0x4f5e26;const _0x250b43=rn[_0x309045(0x30f)](0x10),_0x3e303d=hn(_0x510e69,0x10),_0x35b355=qi[_0x309045(0x236)](Qi[_0x309045(0x42b)](_0x3e303d),ot['parse'](_0x48c3f0),{'iv':_0x250b43,'padding':cn});return _0x250b43[_0x309045(0x4cc)](_0x35b355[_0x309045(0x472)])['toString'](ot);}function _n(){var _0x20a6d7=_0x4f5e26;const _0x2edef8=xt[_0x20a6d7(0x437)]()[_0x20a6d7(0x3de)];if(_0x2edef8){const _0x17044a={'time':Math[_0x20a6d7(0x3ef)](Date[_0x20a6d7(0x213)]()/0x3e8),'domain':location[_0x20a6d7(0x3ac)]};return ln(JSON['stringify'](_0x17044a),_0x2edef8);}}var un=Object[_0x4f5e26(0x2ef)],dn=(_0x260bc1,_0x4c141a,_0x221ce5,_0x84b31)=>{var _0x396c84=_0x4f5e26;for(var _0x5408bd=_0x84b31>0x1?void 0x0:_0x84b31?un(_0x4c141a,_0x221ce5):_0x4c141a,_0x1f4708=_0x260bc1[_0x396c84(0x531)]-0x1,_0x321a4d;_0x1f4708>=0x0;_0x1f4708--)(_0x321a4d=_0x260bc1[_0x1f4708])&&(_0x5408bd=_0x321a4d(_0x5408bd)||_0x5408bd);return _0x5408bd;},vn=(_0x3dcea1,_0xdf07db)=>(_0x246fdd,_0x257015)=>_0xdf07db(_0x246fdd,_0x257015,_0x3dcea1);let Ne=class{constructor(_0xe4f44){var _0x5e00b9=_0x4f5e26;this[_0x5e00b9(0x28f)]=_0xe4f44,this[_0x5e00b9(0x52c)]();}[_0x4f5e26(0x52c)](){var _0x255c2d=_0x4f5e26;this[_0x255c2d(0x28f)]['registerHTTPInterceptor']({'interceptor':(_0x82136,_0x53d4ea)=>{var _0x2cb519=_0x255c2d;const _0x4fb235=_0x82136[_0x2cb519(0x433)],_0xa4fc1e=_n();return _0xa4fc1e&&_0x4fb235[_0x2cb519(0x237)](_0x2cb519(0x26c),_0xa4fc1e),_0x53d4ea(_0x82136);}});}};Ne=dn([vn(0x0,a[_0x4f5e26(0x47f)](q[_0x4f5e26(0x427)]))],Ne);var Sn=Object[_0x4f5e26(0x2ef)],fn=(_0x170048,_0x56969c,_0x1a5942,_0x5518ee)=>{for(var _0x3e945c=_0x5518ee>0x1?void 0x0:_0x5518ee?Sn(_0x56969c,_0x1a5942):_0x56969c,_0x3b0376=_0x170048['length']-0x1,_0x35c177;_0x3b0376>=0x0;_0x3b0376--)(_0x35c177=_0x170048[_0x3b0376])&&(_0x3e945c=_0x35c177(_0x3e945c)||_0x3e945c);return _0x3e945c;},Me=(_0x1442db,_0x18aee3)=>(_0x2fb259,_0x240461)=>_0x18aee3(_0x2fb259,_0x240461,_0x1442db);exports[_0x4f5e26(0x37a)]=class extends a[_0x4f5e26(0x343)]{constructor(_0x3c7d3f,_0x13e14b,_0x2e6956){var _0x90ee65=_0x4f5e26;super(),P(this,_0x90ee65(0x496),new j[(_0x90ee65(0x48c))](null)),P(this,_0x90ee65(0x3e2),this[_0x90ee65(0x496)][_0x90ee65(0x34d)]()),(this[_0x90ee65(0x2e9)]=_0x3c7d3f,this[_0x90ee65(0x4d0)]=_0x13e14b,this[_0x90ee65(0x49c)]=_0x2e6956);}async[_0x4f5e26(0x523)](_0x2a6e7d,_0x164b55,_0x528fe7){var _0x23517c=_0x4f5e26;this['_unitInfo$'][_0x23517c(0x322)]({'unitId':_0x2a6e7d,'type':_0x164b55,'subUnitId':_0x528fe7});let _0x356c10=null;switch(_0x164b55){case X['UNIVER_SHEET']:{_0x356c10=await this[_0x23517c(0x1fc)](_0x2a6e7d);break;}case X[_0x23517c(0x4eb)]:{_0x356c10=await this[_0x23517c(0x2d0)](_0x2a6e7d);break;}default:{this['_logService'][_0x23517c(0x457)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x356c10;}async['_loadSheet'](_0x58df99){var _0x5efa3a=_0x4f5e26,_0x2a0049;let _0x1c7fe0=0x0;const _0x1543f3=await((_0x2a0049=this[_0x5efa3a(0x49c)])==null?void 0x0:_0x2a0049['loadOfflineData'](_0x58df99));return _0x1543f3&&(_0x1543f3[_0x5efa3a(0x1fe)]||_0x1543f3[_0x5efa3a(0x4f9)][_0x5efa3a(0x531)]!==0x0)&&(_0x1c7fe0=_0x1543f3[_0x5efa3a(0x48e)]),_0x1c7fe0===0x0&&this[_0x5efa3a(0x2e9)]['debug'](_0x5efa3a(0x252),_0x5efa3a(0x4df)),this[_0x5efa3a(0x4d0)][_0x5efa3a(0x23b)](_0x58df99,_0x1c7fe0);}async['_loadDoc'](_0x45548b){var _0x5d661e=_0x4f5e26,_0x4a48a7;let _0x42f64d=0x0;const _0x1fe205=await((_0x4a48a7=this[_0x5d661e(0x49c)])==null?void 0x0:_0x4a48a7['loadOfflineData'](_0x45548b));return _0x1fe205&&(_0x1fe205['awaitingChangeset']||_0x1fe205[_0x5d661e(0x4f9)][_0x5d661e(0x531)]!==0x0)&&(_0x42f64d=_0x1fe205['rev']),_0x42f64d===0x0&&this[_0x5d661e(0x2e9)][_0x5d661e(0x42f)](_0x5d661e(0x252),_0x5d661e(0x4df)),this[_0x5d661e(0x4d0)][_0x5d661e(0x290)](_0x45548b,_0x42f64d);}},exports[_0x4f5e26(0x37a)]=fn([Me(0x0,a[_0x4f5e26(0x29b)]),Me(0x1,a[_0x4f5e26(0x47f)](g['SnapshotService'])),Me(0x2,a['Optional'](z))],exports[_0x4f5e26(0x37a)]);var pn=Object[_0x4f5e26(0x2ef)],gn=(_0x137d0a,_0x1f72f2,_0x277450,_0x364516)=>{for(var _0x4ace4f=_0x364516>0x1?void 0x0:_0x364516?pn(_0x1f72f2,_0x277450):_0x1f72f2,_0x58647e=_0x137d0a['length']-0x1,_0x2a06ea;_0x58647e>=0x0;_0x58647e--)(_0x2a06ea=_0x137d0a[_0x58647e])&&(_0x4ace4f=_0x2a06ea(_0x4ace4f)||_0x4ace4f);return _0x4ace4f;},xe=(_0x2ba40c,_0x352526)=>(_0x4b3286,_0x413565)=>_0x352526(_0x4b3286,_0x413565,_0x2ba40c);const mn=[_0x4f5e26(0x2f1),_0x4f5e26(0x23d),_0x4f5e26(0x1ed),_0x4f5e26(0x1eb),_0x4f5e26(0x35f)],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x4f5e26(0x3a0),Tn=_0x4f5e26(0x2e1),bn=_0x4f5e26(0x349);exports['CollaborationImageIoService']=class{constructor(_0x19f91b,_0x570019,_0x2a1492){var _0x1dfd43=_0x4f5e26;P(this,'_waitCount',0x0),P(this,_0x1dfd43(0x45a),new j[(_0x1dfd43(0x45e))]()),P(this,_0x1dfd43(0x20b),this[_0x1dfd43(0x45a)]),P(this,'_imageSourceCache',new Map()),(this[_0x1dfd43(0x28f)]=_0x19f91b,this[_0x1dfd43(0x3eb)]=_0x570019,this[_0x1dfd43(0x459)]=_0x2a1492);}[_0x4f5e26(0x3da)](_0x24d8c7){var _0x3c1de7=_0x4f5e26;this['_waitCount']=_0x24d8c7,this[_0x3c1de7(0x45a)][_0x3c1de7(0x322)](_0x24d8c7);}[_0x4f5e26(0x226)](_0x110a0a,_0x3d60ec){var _0x1418cc=_0x4f5e26;if(_0x3d60ec===J[_0x1418cc(0x406)][_0x1418cc(0x4a1)]){const _0x6529c5=new Image();return _0x6529c5[_0x1418cc(0x43a)]=_0x110a0a,_0x6529c5;}return this['_imageSourceCache'][_0x1418cc(0x46b)](_0x110a0a);}[_0x4f5e26(0x3a6)](_0x26d8b4,_0x5ba619,_0xd10abf){var _0x15c641=_0x4f5e26;_0x5ba619===J['ImageSourceType'][_0x15c641(0x4a1)]||_0xd10abf==null||this['_imageSourceCache'][_0x15c641(0x237)](_0x26d8b4,_0xd10abf);}async[_0x4f5e26(0x32f)](_0x3709a8){var _0x5236d6=_0x4f5e26;try{const _0xff4c7f=this[_0x5236d6(0x25a)](this[_0x5236d6(0x446)](),''+_0x3709a8),_0x572d97=(await this[_0x5236d6(0x28f)][_0x5236d6(0x46b)](_0xff4c7f))['body'];if(_0x572d97['error']&&_0x572d97['error'][_0x5236d6(0x35a)]===Ct['OK']){const _0x10e436=new URL(_0x572d97['url'],this[_0x5236d6(0x267)]())['toString']();return Promise[_0x5236d6(0x22e)](_0x10e436);}return Promise[_0x5236d6(0x334)](_0x572d97[_0x5236d6(0x457)]);}catch(_0x13f1a0){return Promise['reject'](_0x13f1a0);}}async[_0x4f5e26(0x202)](_0x362f32){var _0x4c9131=_0x4f5e26;let _0x2dc5ac='';if(!mn['includes'](_0x362f32[_0x4c9131(0x310)]))return this[_0x4c9131(0x44b)](),Promise['reject'](new Error(J[_0x4c9131(0x382)][_0x4c9131(0x390)]));if(_0x362f32[_0x4c9131(0x4c9)]>In)return this[_0x4c9131(0x44b)](),Promise[_0x4c9131(0x334)](new Error(J[_0x4c9131(0x382)]['ERROR_EXCEED_SIZE']));try{const _0x5786c0=new FormData();_0x5786c0[_0x4c9131(0x207)]('file',_0x362f32);const _0x718e9c=this['_univerInstanceService']['getFocusedUnit'](),_0x1761e7=_0x718e9c==null?void 0x0:_0x718e9c[_0x4c9131(0x24a)]();if(!_0x1761e7)throw new Error(_0x4c9131(0x3c9));const _0x3fb46f=this['_getUploadFileURL']()+_0x4c9131(0x328)+_0x362f32[_0x4c9131(0x4c9)][_0x4c9131(0x242)]()+_0x4c9131(0x4c5)+Tt['UnitEmbedded']+_0x4c9131(0x2a7)+encodeURIComponent(_0x1761e7),_0x2b8a59=await(await fetch(_0x3fb46f,{'method':'POST','body':_0x5786c0}))['json']();if(typeof _0x2b8a59[_0x4c9131(0x358)]!='string')return this[_0x4c9131(0x44b)](),Promise['reject'](new Error(J[_0x4c9131(0x382)][_0x4c9131(0x1de)]));_0x2dc5ac=_0x2b8a59[_0x4c9131(0x358)];}catch{return this[_0x4c9131(0x44b)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x4c9131(0x1de)]));}return new Promise((_0x50b602,_0x2ddadf)=>{var _0x34ca06=_0x4c9131;const _0x33aa63=new FileReader();_0x33aa63['readAsDataURL'](_0x362f32),_0x33aa63[_0x34ca06(0x418)]=_0x1a41d2=>{var _0x42975a=_0x34ca06,_0x516cff;const _0x23f9dc=(_0x516cff=_0x1a41d2[_0x42975a(0x249)])==null?void 0x0:_0x516cff['result'];if(_0x23f9dc==null){this[_0x42975a(0x44b)](),_0x2ddadf(new Error(J[_0x42975a(0x382)][_0x42975a(0x1de)]));return;}const _0x53eec1=a[_0x42975a(0x4d8)]['generateRandomId'](0x6);_0x50b602({'imageId':_0x53eec1,'imageSourceType':J[_0x42975a(0x406)]['UUID'],'source':_0x2dc5ac,'base64Cache':_0x23f9dc,'status':J[_0x42975a(0x382)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x4f5e26(0x39a)](){var _0x25bc24=_0x4f5e26,_0x4c944c,_0x14efe8;const _0x3a005a=this[_0x25bc24(0x3eb)]['getConfig'](En),_0x2340a2=this[_0x25bc24(0x3eb)][_0x25bc24(0x2dc)](Y);return(_0x14efe8=(_0x4c944c=_0x2340a2==null?void 0x0:_0x2340a2['uploadFileServerUrl'])!=null?_0x4c944c:_0x3a005a)!=null?_0x14efe8:Cn;}[_0x4f5e26(0x446)](){var _0x29d0c7=_0x4f5e26,_0x53d23f,_0x355e1b;const _0xd37f4b=this[_0x29d0c7(0x3eb)][_0x29d0c7(0x2dc)](Tn),_0x39a639=this[_0x29d0c7(0x3eb)][_0x29d0c7(0x2dc)](Y);return(_0x355e1b=(_0x53d23f=_0x39a639==null?void 0x0:_0x39a639['signUrlServerUrl'])!=null?_0x53d23f:_0xd37f4b)!=null?_0x355e1b:bn;}['_getDownloadEndpointURL'](){var _0x135a3e=_0x4f5e26,_0x2601a8;const _0x9c2dd1=this['_configService'][_0x135a3e(0x2dc)](Y);return(_0x2601a8=_0x9c2dd1==null?void 0x0:_0x9c2dd1['downloadEndpointUrl'])!=null?_0x2601a8:location['origin'];}['_replaceFileID'](_0x1e1cda,_0x1dd9ec){var _0x5c8e87=_0x4f5e26;return _0x1e1cda['replace'](_0x5c8e87(0x3a3),_0x1dd9ec);}['_decreaseWaiting'](){var _0x17d55f=_0x4f5e26;this[_0x17d55f(0x44a)]-=0x1,this[_0x17d55f(0x45a)][_0x17d55f(0x322)](this[_0x17d55f(0x44a)]);}},exports[_0x4f5e26(0x33e)]=gn([xe(0x0,a[_0x4f5e26(0x47f)](q[_0x4f5e26(0x427)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x4f5e26(0x47f)](a['IUniverInstanceService']))],exports[_0x4f5e26(0x33e)]);function _0x3d6c(){var _0x17fa2f=['UPDATE_CURSOR','src','HmacSHA1','infoRsp','from','_doReset','ICommandService','defineProperty','decrypt','mode','loadOfflineData','_resendTimer','_collaborationUIEventService','_getSignURL','_init','close','max','_waitCount','_decreaseWaiting','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationEntity]','crypto','_clearHeartbeatTimer','createEncryptor','WordArray','_joinRoom','RETRY_CONNECTING_MAX_COUNT','saveChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','getTime','error','_sessions','_univerInstanceService','_change$','_handler','_roomMembers','members$','Subject','_transformRemoteChangesetByStateCache','OPTIONAL','_executeRemoteChangeset','saveSnapshot','CollaborationStatus','APPLY_REVISION_CONFILICT','_createHelper','enableOfflineEditing','refreshPermission','_startCollaboration','data','YUUMI_RATE_OVER_LIMIT','get','_type','SheetCollaborationEntity','SOCKET_FAILED_RETRY','_createHandler','NOT_COLLAB','JOIN','ciphertext','resend','capture','FETCH_MISS','liveShareOperation','_substituteUndoStack','findIndex','USERS_LEAVE','_config','_onConnectionOpen','isTransformMutationsWithChangesetSuccess','CollaborationEvent','firstValueFrom','Inject','onRemoteAck','requireSession','LOCAL_CACHE_INTERVAL_KEY','_resendWithTimeout','getRoom','HMAC','loginUrlKey','HttpExport','getUnit','COLLAB_SUBMIT_CHANGESET_URL','fetchThroughInterceptors','_cipher','BehaviorSubject','UNIVER_PROJECT','rev','status$','csRejEvent','complete','reverse','then','CommandType','_append','_unitInfo$','_onConnectionFailed','YUUMI_UNABLE_LOAD_URL','_retryCount','put','_unlockTransition','_localCacheService','_sendHeartbeat','202839bVtntY','SHOULD_CLOSE_CONN','Univer','BASE64','DEFAULT_WS_SESSION_TICKET_URL','_awaitingChangeset','_syncEditingCollabCursor','\x0aAfter:\x20','encode','session.room-full','CollaborationUIEventService','collaboration-client.local-cache-service','_hash','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SUBMIT_CHANGESET','APPLY_PERMISSION_DENIED','revision','_nDataBytes','/universer-api/comb','enableSingleActiveInstanceLock','_compressMutationService','_transformUndoredo','CHANGESET_REVISION_CONFILICT','WorkbookEditablePermission','byteLength','unitID','textRanges','_hasher','Quantity','getUnitType','_checkMissing','onMissedChangesetFetched','pauseCollaboration','updatePermissionPoint','Workbook','JOIN_ROOM_FAILED','save\x20fail\x20reason\x20is\x20','patch','[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.','&source=','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-pro.collaboration-client.single-active-unit-service','key','size','event$','CommentService','concat','onTransformSelections','editingUnit','sendChangesetTimeout','_snapshotService','href','NO_OTHER_CLIENTS_EDITING','_createInitialState','COMPLETION_FINISHED','onRemoteChangeset','CollaborativeUndoRedoService','_clearRedo','Tools','responseType','delete','HEARTBEAT','touchDependencies','_retryConnectingTimer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AWAITING_WITH_PENDING','SyncedState','JOINING','putCollaborators','CollaborationController','UNIVER_SLIDE','576868iJbSFu','_HTTPService','exports','delay','unit-cache-','UNIVER_DOC','sessionStatus','commentUpdate$','has','disableLocalCache','awaiting_with_pending','_onJoinRoomEvent','conflict','isTransformMutationsWithChangesetFailure','toStringTag','stringify','Disposable','_injector','_getCtorByUniverType','mutations','_invKeySchedule','Utf8','PERSON','_map','_collaborationSessionService','JOIN_ROOM_FULL','_clearLocalCache','_transitionLocked','_unitID','words','splice','LIVESHARE_NEW_HOST','pad','LOGIN_URL_KEY','_incrementRevisionNumber','IUniverInstanceService','toggleOffline','objects','CollaborationSession','focused$','subject','actions','\x20-\x20','onTransformRemoteChangesetByStateCache','getCurrentRevOfUnit','_updateState','MentionIoHttpService','merge','274867efIsgp','Cipher','MemberService','RECV','_data','onRemoteRej','_networkConditionService','localCacheService','getCurrentSelections','mapDocumentTypeToUniverType','init','params','FAIL','loadUnit','_startTelemetryCollaborationNewChangeset','getRandomValues','pending','body','fetchMissingChangesets','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','iterations','JOIN_ROOM_NOT_EXISTS','_initRequestHeader','CollaborationSessionService','/object/','USERS_ENTER','post','length','_candidateSocket','updateCursorEvent','_onMessage','takeUntil','mergeOverrideWithDependencies','_doFinalize','find','collaMsg','SHA1','csShouldRetryEvent','fromCharCode','SNAPSHOT_URL_KEY','onSyncEditingCollabCursor','originalMeta','ERROR_IMAGE','HttpImport','43839AKrftj','_clearCollaborationTimeoutTimer','create','_getAPIPrefix','/universer-api/authz','[CollaborationSession]','UNAUTHENTICATED','_changesetSessionId','rxjs','_removeRoom','members','image/gif','_timeoutTimer','image/jpg','_localeService','updateOfflineData','IDLE','_getUndoStack','PasswordBasedCipher','duration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_snapshotServerService','CONNECTOR_DATA_TOO_LARGE','MSG_FOR_ERROR','update','socket$','_undoStacks','transformMutationsWithChangeset','_loadSheet','createSocket','awaitingChangeset','LIVESHARE_TERMINATE','bind','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','saveImage','/allowed','uniscriptRunEvent','transformUndoRedo','AwaitingWithPendingState','append','filter','/object','execute','change$','push','Pkcs7','[PendingState]:\x20received\x20rejection.','MentionType','SnapshotServerOverHTTPService','registerDependencies','unitId','now','join','_shouldReportTelemetry','IContextService','_rescheduleHeartbeat','reqId','_permissionService','take','LICENSE_DISTRO_REJECTED','listRoles','SYNCED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fetch_missing','_getSendChangesetTimeout','algo','symbol','compute','MUTATION','_mode','getImageSourceCache','_waitForHeartbeatResponse','connection\x20error','UniverNetworkPlugin','_getAPIPrefixPath','url','SEND_CHANGESET_TIMEOUT','result','resolve','Base','_clearScheduledTask','_entities','socket\x20close','Encryptor','_replayCachedMutations','processBlock','encrypt','set','disposeWithMe','UPDATE_PERMISSION_OBJ','reset','loadSheet','@univerjs/network','image/jpeg','_transformStack','TOO_MANY_REQUESTS','CHANGESET_REJ','_prevBlock','toString','toggleOnline','_queuedRemoteChangesets','name','_getRedoStack','avatar','substr','target','getUnitId','getFocusedUnit','BlockCipherMode','commentUpdateEvent','sessionStatus$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_onRemoteACK','/universer-api/snapshot','[DataLoaderService]','unpad','_members$','getWorkbookSelections','toDisposable','extend','lib','_onRemoteRetry','_replaceFileID','/new_changes','FetchingMissState','getInterceptPoints','_lockTransition','Hex','_oKey','PERMISSION_DENIED','formatter','_entityInit$','clone','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','__creator','_getDownloadEndpointURL','PY_RUNTIME_SCRIPT_ERROR','onTransformState','requestParams','_disableEditing','x-univer-host','pipe','INetworkConditionService','_tryReconnect','newCsEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','_singleActiveUnitService','transformSelections','StreamCipher','SEND_CHANGESET_TIMEOUT_KEY','_toggleOnline','unknown','13195908wSbaBk','SheetTransformSelectionsService','/role','Hasher','COMPRESS_MUTATION_APPLY','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_process','enableAuthServer','_createSocket','_sendHeartbeatTimer','_telemetryInfo','selections','CollaborationUIEventId','NEW_CHANGESETS','registerHTTPInterceptor','PERMISSION_REJ','HELLO','[CollaborationUndoRedoService]','method','CHANGESET_SHOULD_RETRY','appendMutation','_revisionService','_httpService','loadDoc','isInternalEditorID','UNDEFINED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','state','sigBytes','/universer-api/oidc/authpage','FETCH_MISSING','ceil','INVALID_ARGUMENT','collaborators','ILogService','concatMap','retryConnectingInterval','removeMember','onSendChangeset','clear','awaiting','RevisionService','_onUserLeave','BufferedBlockAlgorithm','liveShareNewHost','range','&assign=','getUnitOnRev','isTransformChangesetsSuccess','AuthzIoHttpService','charCodeAt','_throwTelemetryCollaborationNewChangeset','MD5','location','onStarting','_userManagerService','_toggleOffline','_onFetchMissResult','enc','LIVESHARE_OPERATION','OFFLINE','_getLoginPath','leaveEvent','collaboration_new_changeset','APPLY_DUPLICATED','_sheetTransformSelectionsService','_keySchedule','_sessionStatus$','DEFAULT_FILE_NAME','_eventService','UNKNOWN_CMD','ALREADY_EXISTS','compose','routeKey','_memberService','equals','repeat','YUUMI_URL_COL_OUT_OF_RANGE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getTypeOfUnitAdded$','_handlerCallback','INGEST','objectID','transformChangesets','ISingleActiveUnitService','getMember','_loadDoc','ThresholdInterceptorFactory','onRemoteRetry','_doCryptBlock','closeSession','_acknowledgedAwaitingChangeset','createInstance','salt','?url=','status','_tryEnsureSocket','_exhaustRemoteChangesetQueue','getConfig','getSheetBlock','COMMENT_UPDATE','toLowerCase','getTypeOfUnitDisposed$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SNAPSHOT_INVALID_SNAPSHOT','transformStack\x20failed!','error$','snapshot','addHandlerCallback','PSEUDO_FETCH_MISSING_RESULT','batchAllowed','_logService','cmd','changesets','NoPadding','ConflictState','LICENSE_EXPORT_SIZE_EXCEEDED','getOwnPropertyDescriptor','getCollabEntity$','image/png','pluginName','_collaborationTimeoutTimer','unsubscribe','onTransformIME','Rectangle','b64DecodeUnicode','synced','ICollaborationSocketService','SetSelectionsOperation','AwaitingState','_members','_updateStatus','LOCAL_CACHE_INTERVAL','onTransformRemoteChangesetByIMECache','_onRemoteRejected','NOT_FOUND','ITransformService','[CollaborationState]:\x20apply\x20error!','OTHER_CLIENTS_EDITING','BlockCipher','_submitChangeset','INTERNAL_ERROR','_remoteChangesetQueue','490uPYLiM','/resources','_onOffline','fetching\x20missing\x20changesets\x20from\x20','_nRounds','CollaborationSocketService','random','type','Error\x20on\x20receiving\x20event','msCrypto','readyForCollab','COMPRESS_MUTATION_SEND','_createInitialStateImpl','UnitSnapshot','/collaborator','_transformRemoteChangesetByIMECache','textEncoder','charAt','_state$','c1Prime','onCommandExecuted','_showConflictNotification','DisposableCollection','_substituteRedoStack','csAckEvent','next','emitEvent','sid','UNKNOWN_CODE','getSnapshotAPIPath','_commentService','?size=','saveSheetBlock','getMemberID','_listenToNetworkCondition','stopTime','getSheetId','ISnapshotServerService','getImage','SUBMIT_CHANGESET_TIMEOUT','IUndoRedoService','_event$','objectActions','reject','ONLINE','ISocketService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onMissingChangesets','IPermissionService','not_collab','hasOwnProperty','_onRecvEvent','roomInfos','CollaborationImageIoService','@univerjs/drawing','createIdentifier','_applyRemoteChangeset','SerializableCipher','RxDisposable','AUTHZ_URL_KEY','PendingState','LocalUndoRedoService','IConfigService','IMentionIOService','/universer-api/file/{fileID}/sign-url','_initDependencies','Latin1','\x20in\x20_schedule.','asObservable','COLLAB_WEB_SOCKET_URL','SOCKET_FAILED','_transformService','_instanceService','decryptBlock','_clearUndo','[SyncedState]:\x20received\x20rejection.','map','interceptor','updateMember','FileId','collabWebSocketUrl','code','mixIn','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','socketService','_createHmacHelper','image/bmp','_iv','memberID','_onRemoteChangeset','UNIVER_SHEET','reconnect','dispose$','list','_resendTimeout','kdf','parseProtocolChangeset','ivSize','add','_getCurrentRevision','@univerjs/sheets','default','onLocalMutation','reduce','createDecryptor','IImageIoService','randomBytes','dispose','SheetsSelectionsService','listCollaborators','cfg','DocCollaborationEntity','COLLAB_SUBMIT_CHANGESET_URL_KEY','DataLoaderService','shareReplay','AES','forEach','[OfflineState]:\x20received\x20rejection.','_onLocalMutation','_commentUpdate$','__esModule','ImageUploadStatusType','CompressMutationService','OfflineState','_updateLocalCache','override','c2Prime','SNAPSHOT_SERVER_URL_KEY','_doCreateSocket','isArray','isPermissionRej','_key','send','_parse','fetchMiss','ERROR_IMAGE_TYPE','collaboratorID','_transformSelections','@univerjs-pro/collaboration','copyFileMeta','_state','subscribe','subUnitId','getCollabEntity','hasher','_getUploadFileURL','Decryptor','POST','UniverInstanceType','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','catch','/universer-api/stream/file/upload','blockSize','CollaborationEntity','{fileID}','CONFLICT','auth.needGotoLoginAlert','addImageSourceCache','_socket','onlyLocal','m2Prime','telemetry\x20info\x20is\x20not\x20initialized','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','hostname','_commandService','finalize','477837Jzkwim','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','buffer','&to=','state$','CHANGESET_ACK','Optional','updateCollaborator','userID','_telemetryService','close$','/-/object/-/batch_allowed','_initUnitPermissionChange','GLOBAL_ROOMS_CNT_EXCEEDS','LEAVE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_iKey','LocaleService','_initCloseConn','2tpAvZv','_keyPriorReset','[PendingState]:\x20received\x20acknowledgement.','objectType','getCurrentUser','_socketMessageSubscription','_transformStateCache','unitId\x20is\x20not\x20found','UNIVER_UNKNOWN','_collabSessionService','apply','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ENSURE_SNAPSHOT_EXECUTION','UniverCollaborationClientPlugin','prototype','_clearTimeoutTimer','fromCollab','socket\x20open.','OTHER_CLIENT_EDITING','_ENC_XFORM_MODE','executeCommand','eventID','Undefined','DependentOn','setWaitCount','getValue','_schedule','open$','__Key__','_sendingTimer','UserManagerService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','unitInfo$','_onUserJoin','baseRev','min','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','randomUUID','APPLY_REJECT','_socket$','_socketReady','_configService','sin','_clearRetryConnectingTimer','HEARTBEAT_INTERVAL_KEY','floor','getAllMembers','roles','CLOSE_ROOM','getDeserializedSheetBlock','ws://127.0.0.1:8000/universer-api/comb/connect','EvpKDF','_scheduleCompleteTimestamp','clamp','_stopTelemetryCollaborationNewChangeset','/block/','Malformed\x20UTF-8\x20data','keySize','deserializeToCombResponse','_roomCreated$','slice','[OfflineState]:\x20received\x20acknowledgement.','LIVESHARE_FETCH_OPERATIONS','UnitStatus','collaboration-client.config','session','_status$','DEFAULT_COLLAB_WEB_SOCKET_URL','ImageSourceType','format','COLLAB_WEB_SOCKET_URL_KEY','UNISCRIPT_RUN','_doProcessBlock','[OfflineState]:\x20received\x20changeset.','/unit/','collabSubmitChangesetUrl','ILocalCacheService','_xformMode','authzUrl','every','function','session.room-not-exists','HEARTBEAT_INTERVAL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UNRECOGNIZED','setShowComponents','onload','_onConflict','People','session.room-permission-denied','Base64','message$','[CollaborationSessionService]','_pendingMutations','_collaborationPaused','snapshotServerUrl','startTime','10WSvRzI','call','_fetchMissChangesets','72COJqtJ','HTTPService','action','RichTextEditingMutation','_sender','parse','string','online$','JOIN_ROOM_PERMISSION_DENIED','debug','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','confirm','headers','858024ZErAGO','_transformIMECache','MergeInterceptorFactory','getGlobalObject','Injector'];_0x3d6c=function(){return _0x17fa2f;};return _0x3d6c();}var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x1154ef,_0x301c50,_0x58d06,_0x4c524c)=>{for(var _0xdb2a2d=_0x4c524c>0x1?void 0x0:_0x4c524c?Rn(_0x301c50,_0x58d06):_0x301c50,_0x986ac2=_0x1154ef['length']-0x1,_0x3489cc;_0x986ac2>=0x0;_0x986ac2--)(_0x3489cc=_0x1154ef[_0x986ac2])&&(_0xdb2a2d=_0x3489cc(_0xdb2a2d)||_0xdb2a2d);return _0xdb2a2d;},lt=(_0x1a70b6,_0x35e855)=>(_0x2cf913,_0x15d409)=>_0x35e855(_0x2cf913,_0x15d409,_0x1a70b6);const On='/universer-api/authz';exports[_0x4f5e26(0x514)]=class{constructor(_0x3c88f1,_0x1fade0){var _0x382a8f=_0x4f5e26;this[_0x382a8f(0x3eb)]=_0x3c88f1,this[_0x382a8f(0x4e7)]=_0x1fade0;}[_0x4f5e26(0x22a)](){var _0x404865=_0x4f5e26,_0x19b231,_0x1579d6;const _0x5de014=this['_configService'][_0x404865(0x2dc)](Ve),_0x1d3ff5=this[_0x404865(0x3eb)]['getConfig'](Y);return(_0x1579d6=(_0x19b231=_0x1d3ff5==null?void 0x0:_0x1d3ff5[_0x404865(0x410)])!=null?_0x19b231:_0x5de014)!=null?_0x1579d6:On;}async[_0x4f5e26(0x366)](_0x39a8e9){var _0x167840=_0x4f5e26;const _0x5c5655=this[_0x167840(0x22a)]()+'/collaborator';return{'list':[{'title':_0x167840(0x41a),'mentions':(await this[_0x167840(0x4e7)]['get'](_0x5c5655,{'params':{'objectID':_0x39a8e9['unitId'],'unitID':_0x39a8e9[_0x167840(0x212)]}}))[_0x167840(0x527)][_0x167840(0x29a)][_0x167840(0x355)](_0x1111eb=>({'objectId':_0x1111eb['id'],'name':_0x1111eb[_0x167840(0x50e)][_0x167840(0x245)],'metadata':{'icon':_0x1111eb[_0x167840(0x50e)][_0x167840(0x247)]},'label':_0x1111eb['subject'][_0x167840(0x245)],'objectType':a['MentionType'][_0x167840(0x4fc)]})),'metadata':{},'type':a[_0x167840(0x20f)][_0x167840(0x4fc)]}]};}},exports[_0x4f5e26(0x514)]=yn([lt(0x0,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x347)])),lt(0x1,a[_0x4f5e26(0x47f)](q['HTTPService']))],exports[_0x4f5e26(0x514)]);var Nn=Object[_0x4f5e26(0x2ef)],Dn=(_0x3dd28f,_0xb64b4f,_0x31ef3e,_0x3318d0)=>{for(var _0xf18738=_0x3318d0>0x1?void 0x0:_0x3318d0?Nn(_0xb64b4f,_0x31ef3e):_0xb64b4f,_0x1e8a70=_0x3dd28f['length']-0x1,_0x16d7e8;_0x1e8a70>=0x0;_0x1e8a70--)(_0x16d7e8=_0x3dd28f[_0x1e8a70])&&(_0xf18738=_0x16d7e8(_0xf18738)||_0xf18738);return _0xf18738;},ue=(_0x3b49b6,_0x3b4b2d)=>(_0x1fd3b5,_0x160224)=>_0x3b4b2d(_0x1fd3b5,_0x160224,_0x3b49b6);let De=class extends a[_0x4f5e26(0x343)]{constructor(_0x4ea5a7,_0x35d953,_0x4028a7,_0x5401a2,_0x218c2e){var _0x3fe19b=_0x4f5e26;super(),this[_0x3fe19b(0x4f7)]=_0x4ea5a7,this[_0x3fe19b(0x459)]=_0x35d953,this[_0x3fe19b(0x219)]=_0x4028a7,this[_0x3fe19b(0x4fe)]=_0x5401a2,this['_collaborationUIEventService']=_0x218c2e,this[_0x3fe19b(0x3bb)](),this[_0x3fe19b(0x3c1)]();}[_0x4f5e26(0x3c1)](){var _0x23d8bd=_0x4f5e26;const _0xb95594=async _0x179d5d=>{var _0xdd349e=_0x1b53;(await this[_0xdd349e(0x4fe)][_0xdd349e(0x481)](_0x179d5d))['event$']['pipe'](W[_0xdd349e(0x208)](_0x5260b5=>_0x5260b5[_0xdd349e(0x3d7)]===g[_0xdd349e(0x47d)][_0xdd349e(0x49f)]),W[_0xdd349e(0x1d3)](this[_0xdd349e(0x365)]))[_0xdd349e(0x396)](_0x3f8b5f=>{var _0x147c93=_0xdd349e;const _0x2d8a9a=_0x3f8b5f,{reason:_0x18db92}=_0x2d8a9a[_0x147c93(0x469)];this['_collaborationUIEventService'][_0x147c93(0x323)]({'id':Q[_0x147c93(0x3f2)],'data':_0x18db92}),this[_0x147c93(0x219)][_0x147c93(0x4bf)](new Z[(_0x147c93(0x4b5))](_0x179d5d)['id'],!0x1),this[_0x147c93(0x4fe)]['closeSession'](_0x179d5d);});};j[_0x23d8bd(0x515)](this[_0x23d8bd(0x459)][_0x23d8bd(0x2c9)](a[_0x23d8bd(0x39d)][_0x23d8bd(0x363)]),this[_0x23d8bd(0x459)]['getTypeOfUnitAdded$'](a[_0x23d8bd(0x39d)]['UNIVER_DOC']))['pipe'](W['map'](_0x13b666=>_0x13b666[_0x23d8bd(0x24a)]()),W[_0x23d8bd(0x208)](_0x3f1574=>!a[_0x23d8bd(0x291)](_0x3f1574)),W[_0x23d8bd(0x1d3)](this[_0x23d8bd(0x365)]))[_0x23d8bd(0x396)](_0x1c453a=>{_0xb95594(_0x1c453a);});}['_initUnitPermissionChange'](){var _0x1e3c32=_0x4f5e26;const _0x1fcaa9=async _0x3d790d=>{var _0x45a3ea=_0x1b53;const _0x224c85=await this[_0x45a3ea(0x4fe)]['requireSession'](_0x3d790d),_0x3318c2=this['_injector'][_0x45a3ea(0x46b)](Z['SheetPermissionInitController']);_0x224c85['event$']['pipe'](W['filter'](_0x1937af=>_0x1937af['eventID']===g[_0x45a3ea(0x47d)]['UPDATE_PERMISSION_OBJ']),W[_0x45a3ea(0x1d3)](this[_0x45a3ea(0x365)]))[_0x45a3ea(0x396)](_0x36c08a=>{var _0x419cbe=_0x45a3ea;const _0x2565c7=_0x36c08a,{objectId:_0x2104a7}=_0x2565c7[_0x419cbe(0x469)];_0x2104a7===_0x3d790d?_0x3318c2['initWorkbookPermissionChange'](_0x3d790d):_0x3318c2[_0x419cbe(0x467)](_0x3d790d,_0x2104a7);});};j['merge'](this[_0x1e3c32(0x459)][_0x1e3c32(0x2c9)](a[_0x1e3c32(0x39d)][_0x1e3c32(0x363)]))[_0x1e3c32(0x26d)](W['map'](_0x162145=>_0x162145[_0x1e3c32(0x24a)]()),W[_0x1e3c32(0x208)](_0x1bf33=>!a['isInternalEditorID'](_0x1bf33)),W[_0x1e3c32(0x1d3)](this[_0x1e3c32(0x365)]))['subscribe'](_0x17a2ac=>{_0x1fcaa9(_0x17a2ac);});}};De=Dn([ue(0x0,a[_0x4f5e26(0x47f)](a['Injector'])),ue(0x1,a[_0x4f5e26(0x509)]),ue(0x2,a[_0x4f5e26(0x339)]),ue(0x3,a[_0x4f5e26(0x47f)](exports['CollaborationSessionService'])),ue(0x4,a[_0x4f5e26(0x47f)](te))],De);var Un=Object[_0x4f5e26(0x2ef)],Pn=(_0xdb205,_0x1d4026,_0x14321e,_0x350cbb)=>{for(var _0x482822=_0x350cbb>0x1?void 0x0:_0x350cbb?Un(_0x1d4026,_0x14321e):_0x1d4026,_0x172d89=_0xdb205['length']-0x1,_0x57712e;_0x172d89>=0x0;_0x172d89--)(_0x57712e=_0xdb205[_0x172d89])&&(_0x482822=_0x57712e(_0x482822)||_0x482822);return _0x482822;},_t=(_0x11bcda,_0x2e1e16)=>(_0x14cd2c,_0xaa04f9)=>_0x2e1e16(_0x14cd2c,_0xaa04f9,_0x11bcda);exports[_0x4f5e26(0x210)]=class{constructor(_0x37c385,_0xdaa344){this['_configService']=_0x37c385,this['_httpService']=_0xdaa344;}async[_0x4f5e26(0x2a8)](_0x4841aa,_0x229b31){var _0x3133ec=_0x4f5e26,_0x5ce6bd;const {unitID:_0x19cbe9,type:_0x5e4ab0,revision:_0x34b10f=0x0}=_0x229b31,_0x2b33da=this[_0x3133ec(0x326)]()+'/'+_0x5e4ab0+'/unit/'+_0x19cbe9+'/rev/'+_0x34b10f,_0x102597=(await this[_0x3133ec(0x28f)]['get'](_0x2b33da))['body'],_0x59766e=(_0x5ce6bd=_0x102597[_0x3133ec(0x2e5)])==null?void 0x0:_0x5ce6bd['workbook'];if(_0x59766e){const _0x491b30=_0x59766e==null?void 0x0:_0x59766e[_0x3133ec(0x1dd)],_0x2eaa2c=g['textEncoder'][_0x3133ec(0x4a6)](g['b64DecodeUnicode'](_0x491b30));_0x59766e[_0x3133ec(0x1dd)]=_0x2eaa2c,Object['entries'](_0x59766e['sheets'])[_0x3133ec(0x37d)](([,_0xe66da])=>{var _0x1d78e6=_0x3133ec;const _0x47262c=_0xe66da['originalMeta'],_0x3760bb=g[_0x1d78e6(0x319)][_0x1d78e6(0x4a6)](g[_0x1d78e6(0x2f7)](_0x47262c));_0xe66da[_0x1d78e6(0x1dd)]=_0x3760bb;});}return _0x102597;}async[_0x4f5e26(0x2dd)](_0x552ea9,_0x80dce6){var _0x22fe84=_0x4f5e26;const {unitID:_0x237327,type:_0x48eee4,blockID:_0x609a83}=_0x80dce6,_0xf6a7e7=this[_0x22fe84(0x1e3)]()+'/'+_0x48eee4+'/unit/'+_0x237327+_0x22fe84(0x3f9)+_0x609a83;return(await this[_0x22fe84(0x28f)]['get'](_0xf6a7e7))['body'];}async[_0x4f5e26(0x3f3)](_0x288761,_0x5b29df){var _0x118089=_0x4f5e26;const {unitID:_0x23a388,type:_0x597884,blockID:_0x25f8e0}=_0x5b29df,_0x88645=this[_0x118089(0x1e3)]()+_0x118089(0x3f9)+_0x597884+_0x118089(0x40c)+_0x23a388+_0x118089(0x3f9)+_0x25f8e0;return(await this['_httpService'][_0x118089(0x46b)](_0x88645))[_0x118089(0x527)];}async['fetchMissingChangesets'](_0x577f6b,_0x5a79b0){var _0x47e8d7=_0x4f5e26;const {unitID:_0x3eeafc,type:_0x447a5c,from:_0x355b90,to:_0x89c8c7}=_0x5a79b0,_0x167248=this['_getAPIPrefix']()+'/'+_0x447a5c+'/unit/'+_0x3eeafc+'/fetchmissing?from='+_0x355b90+_0x47e8d7(0x3b2)+_0x89c8c7;return(await this[_0x47e8d7(0x28f)]['get'](_0x167248))['body'];}[_0x4f5e26(0x326)](){var _0x2ebe6c=_0x4f5e26,_0x42a063;return(_0x42a063=this[_0x2ebe6c(0x3eb)]['getConfig'](vt))!=null?_0x42a063:this[_0x2ebe6c(0x1e3)]();}[_0x4f5e26(0x1e3)](){var _0x54e5aa=_0x4f5e26,_0x591a68,_0x1342ca;const _0x165175=this['_configService']['getConfig'](dt),_0x48a1e7=this[_0x54e5aa(0x3eb)][_0x54e5aa(0x2dc)](Y);return(_0x1342ca=(_0x591a68=_0x48a1e7==null?void 0x0:_0x48a1e7[_0x54e5aa(0x421)])!=null?_0x591a68:_0x165175)!=null?_0x1342ca:kt;}async['getResourcesRequest'](_0x410836,_0xd1d3e9){var _0x5212fb=_0x4f5e26;const _0x549305='/universer-api/snapshot/'+_0xd1d3e9[_0x5212fb(0x310)]+'/unit/'+_0xd1d3e9[_0x5212fb(0x4b7)]+_0x5212fb(0x30a);return(await this[_0x5212fb(0x28f)]['get'](_0x549305,{'params':{'resourceId':JSON[_0x5212fb(0x4f5)](_0xd1d3e9['resourceIDs'])}}))[_0x5212fb(0x527)];}[_0x4f5e26(0x462)](){var _0x3e978b=_0x4f5e26;throw new Error(_0x3e978b(0x4ab));}[_0x4f5e26(0x329)](){var _0x1ef7c6=_0x4f5e26;throw new Error(_0x1ef7c6(0x4ab));}[_0x4f5e26(0x454)](){var _0x1b5dfc=_0x4f5e26;throw new Error(_0x1b5dfc(0x4ab));}[_0x4f5e26(0x394)](){var _0x51fb5a=_0x4f5e26;throw new Error(_0x51fb5a(0x4ab));}['getLatestCsReqIdBySid'](){var _0x4bf8c5=_0x4f5e26;throw new Error(_0x4bf8c5(0x4ab));}},exports[_0x4f5e26(0x210)]=Pn([_t(0x0,a[_0x4f5e26(0x347)]),_t(0x1,a[_0x4f5e26(0x47f)](q[_0x4f5e26(0x427)]))],exports[_0x4f5e26(0x210)]);var An=Object[_0x4f5e26(0x2ef)],wn=(_0x25eb1d,_0x2b3e1e,_0x469f7d,_0x17c366)=>{for(var _0x2c7510=_0x17c366>0x1?void 0x0:_0x17c366?An(_0x2b3e1e,_0x469f7d):_0x2b3e1e,_0x120c85=_0x25eb1d['length']-0x1,_0x3a65ee;_0x120c85>=0x0;_0x120c85--)(_0x3a65ee=_0x25eb1d[_0x120c85])&&(_0x2c7510=_0x3a65ee(_0x2c7510)||_0x2c7510);return _0x2c7510;},de=(_0x5192af,_0x3d7d08)=>(_0x4edb80,_0x127102)=>_0x3d7d08(_0x4edb80,_0x127102,_0x5192af);exports[_0x4f5e26(0x4d6)]=class extends a[_0x4f5e26(0x346)]{constructor(_0x186406,_0x538f30,_0x25e6eb,_0x15dd9f,_0x46d2d6){var _0x28ca5a=_0x4f5e26;super(_0x186406,_0x538f30,_0x25e6eb),this[_0x28ca5a(0x350)]=_0x15dd9f,this[_0x28ca5a(0x2e9)]=_0x46d2d6;}[_0x4f5e26(0x205)](_0x54bab2,_0x4329a4){var _0x1dd198=_0x4f5e26;const _0x395ef9=this[_0x1dd198(0x1f1)](_0x54bab2);if(_0x395ef9)try{const _0x5509cb=this[_0x1dd198(0x23e)](_0x395ef9,_0x4329a4);this[_0x1dd198(0x477)](_0x54bab2,_0x5509cb);}catch(_0x43e8fd){this[_0x1dd198(0x2e9)][_0x1dd198(0x457)](_0x1dd198(0x28a),_0x43e8fd),this['_clearUndo'](_0x54bab2);}const _0x2b2185=this[_0x1dd198(0x246)](_0x54bab2);if(_0x2b2185)try{const _0x383ae4=this['_transformStack'](_0x2b2185,_0x4329a4);this[_0x1dd198(0x320)](_0x54bab2,_0x383ae4);}catch(_0x5960da){this['_logService']['error'](_0x5960da),this[_0x1dd198(0x4d7)](_0x54bab2);}}[_0x4f5e26(0x353)](_0x54008d){var _0x26475f=_0x4f5e26;const _0x14fbc7=this[_0x26475f(0x1f1)](_0x54008d);_0x14fbc7&&(_0x14fbc7[_0x26475f(0x531)]=0x0,this[_0x26475f(0x2fd)]());}['_clearRedo'](_0x1dc174){var _0x541b06=_0x4f5e26;const _0x54898a=this[_0x541b06(0x246)](_0x1dc174);_0x54898a&&(_0x54898a['length']=0x0,this[_0x541b06(0x2fd)]());}[_0x4f5e26(0x477)](_0x40ce70,_0x6aa979){var _0x3418fb=_0x4f5e26;this[_0x3418fb(0x1fa)]['set'](_0x40ce70,_0x6aa979),this[_0x3418fb(0x2fd)]();}['_substituteRedoStack'](_0x1a29ec,_0x55018e){var _0x17e340=_0x4f5e26;this['_redoStacks'][_0x17e340(0x237)](_0x1a29ec,_0x55018e),this[_0x17e340(0x2fd)]();}[_0x4f5e26(0x23e)](_0x495035,_0x461404){var _0x45e0ad=_0x4f5e26;const _0x181eff=[];let _0x49f2e0=_0x461404,_0x21281f=_0x461404;for(let _0x2dc0e4=_0x495035[_0x45e0ad(0x531)]-0x1;_0x2dc0e4>=0x0;_0x2dc0e4--){const {unitID:_0x4db84f,undoMutations:_0x549243,redoMutations:_0x1441a5}=_0x495035[_0x2dc0e4],_0xd17f3f=this['_transformService'][_0x45e0ad(0x1fb)](_0x49f2e0,_0x549243),_0x16ebd3=this['_transformService'][_0x45e0ad(0x1fb)](_0x21281f,_0x1441a5);if(g[_0x45e0ad(0x4f3)](_0xd17f3f)||g[_0x45e0ad(0x4f3)](_0x16ebd3)){this['_logService'][_0x45e0ad(0x457)](_0x45e0ad(0x28a),_0x45e0ad(0x2e3),_0xd17f3f,_0x16ebd3);break;}_0x49f2e0=_0xd17f3f[_0x45e0ad(0x31c)],_0x21281f=_0x16ebd3['c1Prime'],_0x181eff[_0x45e0ad(0x20c)]({'unitID':_0x4db84f,'undoMutations':_0xd17f3f[_0x45e0ad(0x3a9)],'redoMutations':_0x16ebd3[_0x45e0ad(0x3a9)]});}return _0x181eff[_0x45e0ad(0x492)]();}},exports[_0x4f5e26(0x4d6)]=wn([de(0x0,a[_0x4f5e26(0x509)]),de(0x1,a[_0x4f5e26(0x43f)]),de(0x2,a[_0x4f5e26(0x216)]),de(0x3,g[_0x4f5e26(0x302)]),de(0x4,a['ILogService'])],exports[_0x4f5e26(0x4d6)]);var Ln=Object[_0x4f5e26(0x440)],Mn=Object[_0x4f5e26(0x2ef)],xn=(_0x39e681,_0x3fa1a4,_0x471458)=>_0x3fa1a4 in _0x39e681?Ln(_0x39e681,_0x3fa1a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x471458}):_0x39e681[_0x3fa1a4]=_0x471458,kn=(_0x2c9083,_0x219e1d,_0x5a05dd,_0x1c6a4d)=>{var _0x4916a9=_0x4f5e26;for(var _0x506017=_0x1c6a4d>0x1?void 0x0:_0x1c6a4d?Mn(_0x219e1d,_0x5a05dd):_0x219e1d,_0xc8502d=_0x2c9083[_0x4916a9(0x531)]-0x1,_0x25bbca;_0xc8502d>=0x0;_0xc8502d--)(_0x25bbca=_0x2c9083[_0xc8502d])&&(_0x506017=_0x25bbca(_0x506017)||_0x506017);return _0x506017;},ke=(_0x5cf0e8,_0x3ffb33)=>(_0x38f73a,_0xbba53e)=>_0x3ffb33(_0x38f73a,_0xbba53e,_0x5cf0e8),Hn=(_0x23287a,_0x10649f,_0x55153f)=>xn(_0x23287a,_0x10649f+'',_0x55153f);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x4f5e26(0x3cf)]=class extends a['Plugin']{constructor(_0x44cc03,_0x12d73a,_0x541130,_0x23d1fd){var _0x3825ab=_0x4f5e26;super(),P(this,_0x3825ab(0x47a)),(this[_0x3825ab(0x2e9)]=_0x12d73a,this[_0x3825ab(0x4f7)]=_0x541130,this['_configService']=_0x23d1fd);const {..._0x28501a}=a[_0x3825ab(0x515)]({},Jt,_0x44cc03);if(!_0x28501a[_0x3825ab(0x35d)])throw new Error(_0x3825ab(0x3e6));this[_0x3825ab(0x47a)]=_0x28501a,this['_configService']['setConfig'](Y,_0x28501a);}[_0x4f5e26(0x2af)](){this['_registerDependencies'](),this['_initDependencies']();}['_registerDependencies'](){var _0x588fa8=_0x4f5e26,_0xbaced,_0x2ad86e;this[_0x588fa8(0x4f7)][_0x588fa8(0x4ee)](a['IUndoRedoService'])&&this[_0x588fa8(0x2e9)][_0x588fa8(0x457)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x550b35=a[_0x588fa8(0x1d4)]([[a['IUndoRedoService'],{'useClass':exports[_0x588fa8(0x4d6)]}],[exports[_0x588fa8(0x52d)]],[exports[_0x588fa8(0x518)]],[exports['SheetTransformSelectionsService']],[Oe],[Ne],[Be],[De],[te],[exports[_0x588fa8(0x37a)]],[$e,{'useClass':this[_0x588fa8(0x47a)]['socketService']}],[g[_0x588fa8(0x32e)],{'useClass':exports[_0x588fa8(0x210)]}],[a['IAuthzIoService'],{'useClass':exports[_0x588fa8(0x2aa)]}],[J[_0x588fa8(0x372)],{'useClass':exports[_0x588fa8(0x33e)]}],[a[_0x588fa8(0x348)],{'useClass':exports[_0x588fa8(0x514)]}],[exports['CollaborationController']],[He]],(_0xbaced=this[_0x588fa8(0x47a)])==null?void 0x0:_0xbaced[_0x588fa8(0x386)]);if(!((_0x2ad86e=this[_0x588fa8(0x47a)])!=null&&_0x2ad86e[_0x588fa8(0x4b1)])){const _0x1a7a25=_0x550b35[_0x588fa8(0x478)](([_0x5364a7])=>_0x5364a7===ve);_0x1a7a25!==-0x1&&_0x550b35[_0x588fa8(0x504)](_0x1a7a25,0x1);}a[_0x588fa8(0x211)](this[_0x588fa8(0x4f7)],_0x550b35);}[_0x4f5e26(0x34a)](){var _0x1aeeca=_0x4f5e26,_0x514ac9,_0x582989,_0x14fc0c;this['_injector'][_0x1aeeca(0x46b)](q[_0x1aeeca(0x427)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x1aeeca(0x2d1)]({'maxParallel':0x6})}),(_0x514ac9=this[_0x1aeeca(0x47a)])!=null&&_0x514ac9[_0x1aeeca(0x466)]||(_0x582989=this[_0x1aeeca(0x4f7)][_0x1aeeca(0x46b)](z,a[_0x1aeeca(0x4ba)][_0x1aeeca(0x460)]))==null||_0x582989[_0x1aeeca(0x4ef)](),(_0x14fc0c=this[_0x1aeeca(0x47a)])!=null&&_0x14fc0c[_0x1aeeca(0x280)]&&a[_0x1aeeca(0x4dc)](this[_0x1aeeca(0x4f7)],[[Oe]]),a[_0x1aeeca(0x4dc)](this[_0x1aeeca(0x4f7)],[[Ne],[exports[_0x1aeeca(0x4e4)]],[De]]);}},Hn(exports[_0x4f5e26(0x3cf)],_0x4f5e26(0x2f2),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x4f5e26(0x3d9)](g['UniverCollaborationPlugin'],q[_0x4f5e26(0x229)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x4f5e26(0x47f)](a[_0x4f5e26(0x438)])),ke(0x3,a['IConfigService'])],exports[_0x4f5e26(0x3cf)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x4f5e26(0x4de)]=Y,exports[_0x4f5e26(0x379)]=It,exports[_0x4f5e26(0x408)]=St,exports[_0x4f5e26(0x463)]=We,exports[_0x4f5e26(0x285)]=Q,exports[_0x4f5e26(0x4a8)]=te,exports[_0x4f5e26(0x4cb)]=Be,exports[_0x4f5e26(0x405)]=ft,exports[_0x4f5e26(0x2c8)]=zt,exports[_0x4f5e26(0x4a2)]=$t,exports[_0x4f5e26(0x3ee)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x4f5e26(0x2f9)]=$e,exports[_0x4f5e26(0x40e)]=z,exports[_0x4f5e26(0x26e)]=bt,exports[_0x4f5e26(0x2ce)]=ve,exports[_0x4f5e26(0x2fe)]=Vt,exports[_0x4f5e26(0x482)]=Gt,exports[_0x4f5e26(0x507)]=Et,exports[_0x4f5e26(0x201)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x4f5e26(0x276)]=Ht,exports[_0x4f5e26(0x388)]=dt,exports[_0x4f5e26(0x1db)]=vt,exports['SessionStatus']=se,exports[_0x4f5e26(0x401)]=Fe,exports[_0x4f5e26(0x3fc)]=Rt,exports['getLocalCacheKey']=vi,exports['serializeCombRequest']=yt;
|