@univerjs-pro/collaboration-client 0.6.6-nightly.202503221606 → 0.6.6-nightly.202503241607
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 +11 -11
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x54a041=_0x741b;(function(_0x702664,_0x79546c){var _0x592b39=_0x741b,_0x3a655a=_0x702664();while(!![]){try{var _0x5a4384=parseInt(_0x592b39(0x15c))/0x1*(parseInt(_0x592b39(0x456))/0x2)+parseInt(_0x592b39(0x47a))/0x3+-parseInt(_0x592b39(0x15f))/0x4+-parseInt(_0x592b39(0x480))/0x5+parseInt(_0x592b39(0x27e))/0x6+parseInt(_0x592b39(0x3b7))/0x7+parseInt(_0x592b39(0x37b))/0x8;if(_0x5a4384===_0x79546c)break;else _0x3a655a['push'](_0x3a655a['shift']());}catch(_0x77524f){_0x3a655a['push'](_0x3a655a['shift']());}}}(_0x5e18,0xa4ca4));var wt=Object[_0x54a041(0x2fd)],Lt=(_0x22d1c4,_0x4e603b,_0x24b62b)=>_0x4e603b in _0x22d1c4?wt(_0x22d1c4,_0x4e603b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b62b}):_0x22d1c4[_0x4e603b]=_0x24b62b,P=(_0x3f3f2f,_0x4b7bea,_0x356079)=>Lt(_0x3f3f2f,typeof _0x4b7bea!=_0x54a041(0x3ba)?_0x4b7bea+'':_0x4b7bea,_0x356079);Object[_0x54a041(0x2fd)](exports,Symbol['toStringTag'],{'value':_0x54a041(0x1ec)});const a=require(_0x54a041(0x482)),j=require(_0x54a041(0x1e9)),W=require(_0x54a041(0x373)),g=require(_0x54a041(0x2a3)),q=require(_0x54a041(0x3ef)),Mt=require(_0x54a041(0x481)),ut=require(_0x54a041(0x3d2)),Z=require(_0x54a041(0x406)),J=require('@univerjs/drawing'),xt=require(_0x54a041(0x3da)),dt='SNAPSHOT_SERVER_URL_KEY',kt=_0x54a041(0x3c6),vt='SNAPSHOT_URL_KEY',Ht=_0x54a041(0x121),jt=0x7d0,St=_0x54a041(0x202),ft=_0x54a041(0x334),$t=_0x54a041(0x394),pt=_0x54a041(0x2bf),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x54a041(0x1a2),Wt=0x3,Gt=_0x54a041(0x2e8),Vt=0x3e8,It=_0x54a041(0x22d),Kt='/universer-api/comb',Et='LOGIN_URL_KEY',Yt=_0x54a041(0x489),qt=_0x54a041(0x397),zt=_0x54a041(0x380);var Ct=(_0x1ad892=>(_0x1ad892[_0x1ad892[_0x54a041(0x20a)]=0x0]=_0x54a041(0x20a),_0x1ad892[_0x1ad892['OK']=0x1]='OK',_0x1ad892[_0x1ad892[_0x54a041(0x2cb)]=0x2]=_0x54a041(0x2cb),_0x1ad892[_0x1ad892[_0x54a041(0x3e9)]=0x3]=_0x54a041(0x3e9),_0x1ad892[_0x1ad892[_0x54a041(0x163)]=0x4]=_0x54a041(0x163),_0x1ad892[_0x1ad892[_0x54a041(0x1bf)]=0x5]=_0x54a041(0x1bf),_0x1ad892[_0x1ad892['ALREADY_EXISTS']=0x6]=_0x54a041(0x3a0),_0x1ad892[_0x1ad892[_0x54a041(0x2ea)]=0x7]=_0x54a041(0x2ea),_0x1ad892[_0x1ad892[_0x54a041(0x2fa)]=0x8]=_0x54a041(0x2fa),_0x1ad892[_0x1ad892[_0x54a041(0x354)]=0x9]='COMPLETION_FINISHED',_0x1ad892[_0x1ad892['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1ad892[_0x1ad892[_0x54a041(0x399)]=0x1771]=_0x54a041(0x399),_0x1ad892[_0x1ad892[_0x54a041(0x369)]=0x1772]=_0x54a041(0x369),_0x1ad892[_0x1ad892[_0x54a041(0x2f7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1ad892[_0x1ad892['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1ad892[_0x1ad892[_0x54a041(0x424)]=0x1b5a]=_0x54a041(0x424),_0x1ad892[_0x1ad892[_0x54a041(0x309)]=0x1b5b]=_0x54a041(0x309),_0x1ad892[_0x1ad892[_0x54a041(0x3af)]=0x1b5c]=_0x54a041(0x3af),_0x1ad892[_0x1ad892[_0x54a041(0x470)]=0x1b5d]=_0x54a041(0x470),_0x1ad892[_0x1ad892[_0x54a041(0x1e1)]=0x1f41]=_0x54a041(0x1e1),_0x1ad892[_0x1ad892[_0x54a041(0x239)]=0x2329]=_0x54a041(0x239),_0x1ad892[_0x1ad892[_0x54a041(0x47f)]=0x232a]=_0x54a041(0x47f),_0x1ad892[_0x1ad892[_0x54a041(0x197)]=0x232b]=_0x54a041(0x197),_0x1ad892[_0x1ad892[_0x54a041(0x223)]=0x232c]=_0x54a041(0x223),_0x1ad892[_0x1ad892['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1ad892[_0x1ad892['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x54a041(0x207),_0x1ad892[_0x1ad892['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x54a041(0x3d0),_0x1ad892[_0x1ad892[_0x54a041(0x26e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1ad892[_0x1ad892[_0x54a041(0x138)]=0x2714]=_0x54a041(0x138),_0x1ad892[_0x1ad892[_0x54a041(0x26d)]=0x2af9]=_0x54a041(0x26d),_0x1ad892[_0x1ad892[_0x54a041(0x2e2)]=-0x1]=_0x54a041(0x2e2),_0x1ad892))(Ct||{}),X=(_0x5c9442=>(_0x5c9442[_0x5c9442[_0x54a041(0x129)]=0x0]='UNIVER_UNKNOWN',_0x5c9442[_0x5c9442[_0x54a041(0x40f)]=0x1]='UNIVER_DOC',_0x5c9442[_0x5c9442[_0x54a041(0x2cc)]=0x2]=_0x54a041(0x2cc),_0x5c9442[_0x5c9442['UNIVER_SLIDE']=0x3]=_0x54a041(0x1b4),_0x5c9442[_0x5c9442[_0x54a041(0x408)]=0x4]=_0x54a041(0x408),_0x5c9442[_0x5c9442[_0x54a041(0x2e2)]=-0x1]=_0x54a041(0x2e2),_0x5c9442))(X||{}),G=(_0x10931a=>(_0x10931a[_0x10931a[_0x54a041(0x3c2)]=0x0]=_0x54a041(0x3c2),_0x10931a[_0x10931a['HELLO']=0x1]=_0x54a041(0x2ee),_0x10931a[_0x10931a[_0x54a041(0x282)]=0x2]=_0x54a041(0x282),_0x10931a[_0x10931a[_0x54a041(0x378)]=0x3]=_0x54a041(0x378),_0x10931a[_0x10931a[_0x54a041(0x3ab)]=0x4]=_0x54a041(0x3ab),_0x10931a[_0x10931a[_0x54a041(0x3f0)]=0x5]=_0x54a041(0x3f0),_0x10931a[_0x10931a[_0x54a041(0x3bf)]=0x6]=_0x54a041(0x3bf),_0x10931a[_0x10931a['UNRECOGNIZED']=-0x1]=_0x54a041(0x2e2),_0x10931a))(G||{}),ae=(_0x1196a6=>(_0x1196a6[_0x1196a6['UNKNOWN_CODE']=0x0]=_0x54a041(0x44c),_0x1196a6[_0x1196a6['OK']=0x1]='OK',_0x1196a6[_0x1196a6[_0x54a041(0x243)]=0x2]=_0x54a041(0x243),_0x1196a6[_0x1196a6[_0x54a041(0x22f)]=0x3e9]=_0x54a041(0x22f),_0x1196a6[_0x1196a6[_0x54a041(0x1b9)]=0x3ea]=_0x54a041(0x1b9),_0x1196a6[_0x1196a6[_0x54a041(0x1e6)]=0x3eb]=_0x54a041(0x1e6),_0x1196a6[_0x1196a6[_0x54a041(0x228)]=0x3ec]=_0x54a041(0x228),_0x1196a6[_0x1196a6[_0x54a041(0x2e2)]=-0x1]='UNRECOGNIZED',_0x1196a6))(ae||{}),Tt=(_0x566df4=>(_0x566df4[_0x566df4['Undefined']=0x0]=_0x54a041(0x2ce),_0x566df4[_0x566df4[_0x54a041(0x40d)]=0x1]=_0x54a041(0x40d),_0x566df4[_0x566df4['HttpExport']=0x2]='HttpExport',_0x566df4[_0x566df4[_0x54a041(0x166)]=0x3]=_0x54a041(0x166),_0x566df4[_0x566df4['UnitSnapshot']=0x4]='UnitSnapshot',_0x566df4[_0x566df4['UNRECOGNIZED']=-0x1]=_0x54a041(0x2e2),_0x566df4))(Tt||{});const Y=_0x54a041(0x22a),Jt={};var Q=(_0x5aae99=>(_0x5aae99[_0x54a041(0x232)]='OTHER_CLIENT_EDITING',_0x5aae99[_0x54a041(0x3e9)]=_0x54a041(0x3e9),_0x5aae99[_0x54a041(0x35f)]=_0x54a041(0x35f),_0x5aae99[_0x54a041(0x1d8)]=_0x54a041(0x1d8),_0x5aae99['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x5aae99[_0x54a041(0x2ed)]=_0x54a041(0x2ed),_0x5aae99[_0x54a041(0x13d)]=_0x54a041(0x13d),_0x5aae99[_0x54a041(0x469)]=_0x54a041(0x469),_0x5aae99))(Q||{});class te{constructor(){var _0x3da9cb=_0x54a041;P(this,_0x3da9cb(0x483),new j[(_0x3da9cb(0x33b))]()),P(this,_0x3da9cb(0x247),this[_0x3da9cb(0x483)][_0x3da9cb(0x2df)]());}[_0x54a041(0x27b)](_0x1dbea2){var _0x5bb914=_0x54a041;this[_0x5bb914(0x483)][_0x5bb914(0x2db)](_0x1dbea2);}}const bt=a[_0x54a041(0x36a)](_0x54a041(0x36d));function Rt(_0x302630){var _0x1ede54=_0x54a041,_0x201a87,_0x504b0a,_0x3d701a,_0x3e13cb,_0x44fd5c;const _0x8a58d3=_0x302630[_0x1ede54(0x276)],_0x20a820=JSON['parse'](_0x8a58d3);switch(_0x20a820['cmd']){case G[_0x1ede54(0x3f0)]:case G['HELLO']:{const _0x20c17f=_0x20a820[_0x1ede54(0x3f2)];return{..._0x20a820,'data':_0x20c17f,'cmd':_0x20a820[_0x1ede54(0x214)]};}case G[_0x1ede54(0x282)]:{const _0x361fad=_0x20a820[_0x1ede54(0x315)];return{..._0x20a820,'data':_0x361fad,'cmd':_0x20a820['cmd']};}case G['RECV']:{const _0x5af475=_0x20a820[_0x1ede54(0x1fd)];switch(_0x5af475['eventID']){case g[_0x1ede54(0x252)][_0x1ede54(0x303)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x201a87=_0x5af475['permissionRejEvent'])==null?void 0x0:_0x201a87['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x311)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x504b0a=_0x5af475[_0x1ede54(0x467)])==null?void 0x0:_0x504b0a['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x1a5)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x3d701a=_0x5af475[_0x1ede54(0x2b9)])==null?void 0x0:_0x3d701a['cs']},'cmd':_0x20a820['cmd']};case g['CollaborationEvent'][_0x1ede54(0x2d4)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x3e13cb=_0x5af475[_0x1ede54(0x275)])==null?void 0x0:_0x3e13cb['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x269)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x44fd5c=_0x5af475['csShouldRetryEvent'])==null?void 0x0:_0x44fd5c['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)]['UPDATE_CURSOR']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x2cf)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x32b)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x368)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x135)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x206)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x307)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475['liveShareNewHost']},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['LIVESHARE_FETCH_OPERATIONS']:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x212)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x220)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x28b)]},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['MSG_FOR_ERROR']:return{..._0x20a820,'data':_0x5af475,'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['COMMENT_UPDATE']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x286)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)]['UPDATE_PERMISSION_OBJ']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475['updatePermissionObjEvent']},'cmd':_0x20a820['cmd']};case g['CollaborationEvent'][_0x1ede54(0x331)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x215)]},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)][_0x1ede54(0x337)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x266)]},'cmd':_0x20a820['cmd']};default:return _0x20a820;}}default:return _0x20a820;}}function yt(_0x3493ce){var _0x27dfb8=_0x54a041;switch(_0x3493ce[_0x27dfb8(0x214)]){case G[_0x27dfb8(0x3f0)]:case G[_0x27dfb8(0x2ee)]:return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce['cmd'],'routeKey':_0x3493ce[_0x27dfb8(0x20e)]});case G[_0x27dfb8(0x3ab)]:{let _0x1ab161;switch(_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x392)]){case g[_0x27dfb8(0x252)][_0x27dfb8(0x478)]:{_0x1ab161={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g['CollaborationEvent'][_0x27dfb8(0x135)]:{_0x1ab161={'eventID':g['CollaborationEvent'][_0x27dfb8(0x135)],'leaveEvent':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x32b)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x32b)],'joinEvent':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x307)]:{_0x1ab161={'eventID':g['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x24b)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g['CollaborationEvent'][_0x27dfb8(0x220)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x220)],'liveShareTerminate':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g['CollaborationEvent'][_0x27dfb8(0x196)]:{_0x1ab161={'eventID':g['CollaborationEvent'][_0x27dfb8(0x196)],'liveShareRequestHost':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g['CollaborationEvent'][_0x27dfb8(0x1c6)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x1c6)]};break;}default:_0x1ab161={'eventID':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x392)]};}return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce[_0x27dfb8(0x214)],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'collaMsg':_0x1ab161});}case G[_0x27dfb8(0x282)]:return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce[_0x27dfb8(0x214)],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'joinReq':_0x3493ce[_0x27dfb8(0x276)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x3493ce['cmd'],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'leaveReq':_0x3493ce[_0x27dfb8(0x276)]});default:throw new Error(_0x27dfb8(0x2dd));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x55b20e,_0x189139,_0x3c95ec,_0x43d696)=>{var _0x15ab50=_0x54a041;for(var _0x1a907f=_0x43d696>0x1?void 0x0:_0x43d696?Xt(_0x189139,_0x3c95ec):_0x189139,_0x585dc0=_0x55b20e[_0x15ab50(0x389)]-0x1,_0x2a90e5;_0x585dc0>=0x0;_0x585dc0--)(_0x2a90e5=_0x55b20e[_0x585dc0])&&(_0x1a907f=_0x2a90e5(_0x1a907f)||_0x1a907f);return _0x1a907f;},_e=(_0x3b2766,_0x6527ff)=>(_0x88e4ef,_0x3c817c)=>_0x6527ff(_0x88e4ef,_0x3c817c,_0x3b2766);const $e=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Qt(_0xd32d2,_0x4aa4be,_0x2a6996){var _0x19f20d=_0x54a041;return _0xd32d2+'/'+_0x4aa4be+'/unit/'+_0x2a6996+_0x19f20d(0x242);}exports['CollaborationSocketService']=class extends a[_0x54a041(0x1e8)]{constructor(_0x1287a2,_0x33c473,_0x35ef86,_0x572d00,_0x20ce9a){var _0x30b758=_0x54a041;super(),this['_injector']=_0x1287a2,this[_0x30b758(0x44f)]=_0x33c473,this[_0x30b758(0x221)]=_0x35ef86,this[_0x30b758(0x40c)]=_0x572d00,this[_0x30b758(0x386)]=_0x20ce9a;}[_0x54a041(0x268)](_0x1090fc){var _0x30ad49=_0x54a041;const _0x1a4854=this[_0x30ad49(0x411)][_0x30ad49(0x1f4)](q[_0x30ad49(0x175)]);if(!_0x1a4854)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1eebb5=_0x1a4854[_0x30ad49(0x329)](_0x1090fc);if(!_0x1eebb5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x59e3a0=new a['DisposableCollection'](),_0x1d6d31=new j['Subject']();_0x59e3a0[_0x30ad49(0x2c0)](_0x1eebb5[_0x30ad49(0x1fe)][_0x30ad49(0x383)](_0x21a72d=>_0x1d6d31['next'](_0x21a72d))),_0x59e3a0[_0x30ad49(0x2c0)](a[_0x30ad49(0x256)](()=>_0x1d6d31[_0x30ad49(0x31e)]()));const _0x21e739=new j[(_0x30ad49(0x33b))]();_0x59e3a0[_0x30ad49(0x2c0)](_0x1eebb5[_0x30ad49(0x226)][_0x30ad49(0x383)](_0x1d4536=>_0x21e739['next'](_0x1d4536))),_0x59e3a0[_0x30ad49(0x2c0)](a['toDisposable'](()=>_0x21e739['complete']()));const _0x4f2dc5=new j[(_0x30ad49(0x33b))]();_0x59e3a0['add'](_0x1eebb5[_0x30ad49(0x338)][_0x30ad49(0x383)](_0x1526be=>{var _0x250107=_0x30ad49;const _0x1c0e52=Rt(_0x1526be);_0x4f2dc5[_0x250107(0x2db)](_0x1c0e52);})),_0x59e3a0[_0x30ad49(0x2c0)](a['toDisposable'](()=>_0x4f2dc5[_0x30ad49(0x31e)]()));let _0x23b8d7;const _0x590103=()=>{var _0x101eee=_0x30ad49;_0x21e739[_0x101eee(0x2db)](new Event(_0x101eee(0x1c7))),_0x1d6d31[_0x101eee(0x2db)](new Event('connection\x20error')),_0x23b8d7['close']();};return _0x23b8d7={'memberID':'','close$':_0x1d6d31[_0x30ad49(0x2df)](),'error$':_0x21e739[_0x30ad49(0x2df)](),'open$':_0x1eebb5[_0x30ad49(0x3f4)],'message$':_0x4f2dc5[_0x30ad49(0x2df)](),'send':_0x18cb10=>{var _0x523dcd=_0x30ad49;if(_0x18cb10[_0x523dcd(0x214)]===G[_0x523dcd(0x3ab)]){if(_0x18cb10[_0x523dcd(0x276)][_0x523dcd(0x392)]===g[_0x523dcd(0x252)][_0x523dcd(0x344)]){this[_0x523dcd(0x305)](_0x23b8d7,_0x18cb10[_0x523dcd(0x276)])[_0x523dcd(0x156)](_0xe7831a=>{var _0x21b1d1=_0x523dcd;this[_0x21b1d1(0x40c)][_0x21b1d1(0x425)](_0xe7831a),_0x590103();});return;}if(_0x18cb10[_0x523dcd(0x276)]['eventID']===g[_0x523dcd(0x252)]['FETCH_MISSING']){const _0x53d477=_0x18cb10[_0x523dcd(0x276)];this[_0x523dcd(0x264)](_0x53d477)[_0x523dcd(0x1e0)](_0x1f4e66=>{var _0x1f17d0=_0x523dcd;_0x4f2dc5[_0x1f17d0(0x2db)]({'cmd':G[_0x1f17d0(0x3bf)],'code':ae['OK'],'routeKey':_0x53d477[_0x1f17d0(0x276)][_0x1f17d0(0x326)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x1f17d0(0x396)],'data':{'changesets':_0x1f4e66}}});})[_0x523dcd(0x156)](_0x5bade0=>{var _0x3a8611=_0x523dcd;this[_0x3a8611(0x40c)][_0x3a8611(0x425)](_0x5bade0),_0x590103();});return;}}_0x1eebb5[_0x523dcd(0x132)](yt(_0x18cb10));},'close':()=>{var _0x323ebf=_0x30ad49;_0x1eebb5[_0x323ebf(0x1f8)](),_0x59e3a0[_0x323ebf(0x123)]();}},_0x23b8d7;}async[_0x54a041(0x305)](_0x69cc01,_0x1357aa){var _0x4d9f42=_0x54a041,_0x47172c,_0x271f35;const {unitType:_0x1587e4,unitID:_0x23192d,changeset:_0xbfc915}=_0x1357aa[_0x4d9f42(0x276)],_0xa0edc3={'unitID':_0x23192d,'memberID':_0x69cc01[_0x4d9f42(0x12c)],'type':_0x1587e4,'changeset':g[_0x4d9f42(0x23e)](_0xbfc915)},_0x21dfcb=this[_0x4d9f42(0x221)][_0x4d9f42(0x33f)](It),_0x2b68f8=this[_0x4d9f42(0x221)][_0x4d9f42(0x33f)](Y),_0x830e14=Qt((_0x271f35=(_0x47172c=_0x2b68f8==null?void 0x0:_0x2b68f8[_0x4d9f42(0x296)])!=null?_0x47172c:_0x21dfcb)!=null?_0x271f35:Kt,_0x1587e4,_0x23192d);try{await this[_0x4d9f42(0x44f)]['post'](_0x830e14,{'body':_0xa0edc3});}catch(_0x49095e){throw this['_logService'][_0x4d9f42(0x425)](_0x4d9f42(0x21a),_0x4d9f42(0x3eb)),_0x49095e;}}async['_fetchMissChangesets'](_0x43f2df){var _0xc0f758=_0x54a041;const {unitID:_0xed13e7,from:_0x464d6b,to:_0x4d096e,unitType:_0x2359fb}=_0x43f2df['data'];return(await this[_0xc0f758(0x386)][_0xc0f758(0x162)]({'metadata':void 0x0},{'unitID':_0xed13e7,'type':_0x2359fb,'from':_0x464d6b,'to':_0x4d096e}))['changesets'];}},exports['CollaborationSocketService']=Zt([_e(0x0,a['Inject'](a[_0x54a041(0x3d4)])),_e(0x1,a[_0x54a041(0x3fe)](q['HTTPService'])),_e(0x2,a[_0x54a041(0x2ca)]),_e(0x3,a[_0x54a041(0x388)]),_e(0x4,g[_0x54a041(0x1bd)])],exports[_0x54a041(0x44a)]);const ei=_0x54a041(0x20b);function ti(_0x3d8c58){var _0x4d03d0=_0x54a041;return JSON[_0x4d03d0(0x3d5)](_0x3d8c58)['length'];}class Be{constructor(){var _0x49a36b=_0x54a041;P(this,_0x49a36b(0x16d),new j[(_0x49a36b(0x33b))]()),P(this,_0x49a36b(0x336),this[_0x49a36b(0x16d)]['asObservable']());}[_0x54a041(0x148)](_0x19ed1a){var _0x150909=_0x54a041;this['_commentUpdate$'][_0x150909(0x2db)](_0x19ed1a);}}var ii=Object[_0x54a041(0x2be)],ni=(_0x23b076,_0x6bd3ec,_0xd3efac,_0x2a4a12)=>{for(var _0x19b58=_0x2a4a12>0x1?void 0x0:_0x2a4a12?ii(_0x6bd3ec,_0xd3efac):_0x6bd3ec,_0x27a28c=_0x23b076['length']-0x1,_0x1f98fb;_0x27a28c>=0x0;_0x27a28c--)(_0x1f98fb=_0x23b076[_0x27a28c])&&(_0x19b58=_0x1f98fb(_0x19b58)||_0x19b58);return _0x19b58;},Ke=(_0x115360,_0x3fbad4)=>(_0x16c837,_0x580731)=>_0x3fbad4(_0x16c837,_0x580731,_0x115360);exports[_0x54a041(0x289)]=class extends a[_0x54a041(0x1e8)]{constructor(_0x3cbc78,_0x3e19d3){var _0x4f5720=_0x54a041;super(),P(this,_0x4f5720(0x2bd),new Map()),P(this,_0x4f5720(0x357),new j[(_0x4f5720(0x33b))]()),(this[_0x4f5720(0x2a4)]=_0x3cbc78,this[_0x4f5720(0x310)]=_0x3e19d3,this[_0x4f5720(0x182)](j[_0x4f5720(0x21b)](this[_0x4f5720(0x2a4)][_0x4f5720(0x204)](a[_0x4f5720(0x128)]['UNIVER_SHEET'])['pipe'](W[_0x4f5720(0x332)](_0x32dee5=>_0x32dee5[_0x4f5720(0x3d8)]())),this[_0x4f5720(0x2a4)][_0x4f5720(0x204)](a[_0x4f5720(0x128)][_0x4f5720(0x40f)])[_0x4f5720(0x13f)](W['map'](_0x5d1bbf=>_0x5d1bbf['getUnitId']())),this[_0x4f5720(0x2a4)]['getTypeOfUnitDisposed$'](a[_0x4f5720(0x128)][_0x4f5720(0x1b4)])[_0x4f5720(0x13f)](W[_0x4f5720(0x332)](_0x2e00b0=>_0x2e00b0[_0x4f5720(0x3d8)]())))[_0x4f5720(0x383)](_0x57eb3a=>this[_0x4f5720(0x3c5)](_0x57eb3a))));}[_0x54a041(0x3df)](_0x3f994e){var _0x54ddf1=_0x54a041;return this[_0x54ddf1(0x2bd)][_0x54ddf1(0x169)](_0x3f994e)?j['of'](this['_roomMembers'][_0x54ddf1(0x1f4)](_0x3f994e)):this[_0x54ddf1(0x357)][_0x54ddf1(0x13f)](W['map'](_0x862105=>{var _0x71e00c=_0x54ddf1;if(_0x862105===_0x3f994e)return this['_roomMembers'][_0x71e00c(0x1f4)](_0x862105);}));}[_0x54a041(0x2a7)](_0x4f4253){var _0x134740=_0x54a041;this[_0x134740(0x310)][_0x134740(0x2a7)](_0x4f4253);}[_0x54a041(0x28d)](){var _0x558238=_0x54a041;return this[_0x558238(0x310)][_0x558238(0x28d)]();}[_0x54a041(0x36e)](_0x232141,_0x3405c1){var _0x51f6c2=_0x54a041;let _0x6670cf=this[_0x51f6c2(0x2bd)][_0x51f6c2(0x1f4)](_0x232141);_0x6670cf||(_0x6670cf=new ri(),this[_0x51f6c2(0x2bd)][_0x51f6c2(0x164)](_0x232141,_0x6670cf),this[_0x51f6c2(0x357)][_0x51f6c2(0x2db)](_0x232141)),_0x6670cf[_0x51f6c2(0x36e)](_0x3405c1);}['removeMember'](_0x2deca6,_0x16595){var _0x257adf=_0x54a041;const _0x125c82=this[_0x257adf(0x2bd)][_0x257adf(0x1f4)](_0x2deca6);_0x125c82&&_0x125c82[_0x257adf(0x449)](_0x16595);}[_0x54a041(0x1be)](_0x84a842){var _0x12c89f=_0x54a041;return this[_0x12c89f(0x2bd)][_0x12c89f(0x1f4)](_0x84a842);}[_0x54a041(0x171)](_0x8b66b1,_0x207ce1){var _0x72e45a=_0x54a041;const _0x23d1a5=this[_0x72e45a(0x2bd)][_0x72e45a(0x1f4)](_0x8b66b1);if(_0x23d1a5)return _0x23d1a5['getMember'](_0x207ce1);}[_0x54a041(0x3c5)](_0x553b0f){var _0x1142ca=_0x54a041;const _0x2584d2=this[_0x1142ca(0x2bd)]['get'](_0x553b0f);_0x2584d2&&(_0x2584d2[_0x1142ca(0x123)](),this[_0x1142ca(0x2bd)][_0x1142ca(0x11e)](_0x553b0f));}[_0x54a041(0x123)](){var _0xacea4f=_0x54a041;this[_0xacea4f(0x2bd)][_0xacea4f(0x176)](_0x5eb1d7=>_0x5eb1d7['dispose']()),this[_0xacea4f(0x2bd)][_0xacea4f(0x140)](),this[_0xacea4f(0x357)]['complete']();}},exports[_0x54a041(0x289)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x54a041(0x3fe)](a[_0x54a041(0x15e)]))],exports[_0x54a041(0x289)]);class ri extends a[_0x54a041(0x1e8)]{constructor(){super(...arguments),P(this,'_members',new Map()),P(this,'_members$',new j['BehaviorSubject'](this['_members'])),P(this,'members$',this['_members$']['asObservable']());}[_0x54a041(0x123)](){var _0x466a70=_0x54a041;this[_0x466a70(0x3ad)][_0x466a70(0x140)]();}[_0x54a041(0x36e)](_0x59ee93){var _0x1c659e=_0x54a041;this[_0x1c659e(0x3ad)][_0x1c659e(0x164)](_0x59ee93[_0x1c659e(0x12c)],_0x59ee93),this[_0x1c659e(0x2da)]();}[_0x54a041(0x449)](_0x38f9d9){var _0xf393b2=_0x54a041;this[_0xf393b2(0x3ad)]['delete'](_0x38f9d9);}[_0x54a041(0x171)](_0x42a6a6){var _0x5b71cd=_0x54a041;return this[_0x5b71cd(0x3ad)][_0x5b71cd(0x1f4)](_0x42a6a6);}[_0x54a041(0x3a3)](){var _0x3b39bb=_0x54a041;return Array[_0x3b39bb(0x3c8)](this[_0x3b39bb(0x3ad)][_0x3b39bb(0x33e)]());}[_0x54a041(0x2da)](){var _0x3bd470=_0x54a041;this['_members$'][_0x3bd470(0x2db)](this[_0x3bd470(0x3ad)]);}}var si=Object[_0x54a041(0x2be)],oi=(_0x477bef,_0x117972,_0x2b6ae5,_0x3ac48b)=>{var _0x3bc3b5=_0x54a041;for(var _0x51f299=_0x3ac48b>0x1?void 0x0:_0x3ac48b?si(_0x117972,_0x2b6ae5):_0x117972,_0x36bb93=_0x477bef[_0x3bc3b5(0x389)]-0x1,_0x46043f;_0x36bb93>=0x0;_0x36bb93--)(_0x46043f=_0x477bef[_0x36bb93])&&(_0x51f299=_0x46043f(_0x51f299)||_0x51f299);return _0x51f299;},oe=(_0x297079,_0x48f5c8)=>(_0x1e28b5,_0x1c2bd1)=>_0x48f5c8(_0x1e28b5,_0x1c2bd1,_0x297079),se=(_0x4578e6=>(_0x4578e6[_0x4578e6[_0x54a041(0x3ee)]=0x0]='IDLE',_0x4578e6[_0x4578e6[_0x54a041(0x300)]=0x1]=_0x54a041(0x300),_0x4578e6[_0x4578e6[_0x54a041(0x1cc)]=0x2]=_0x54a041(0x1cc),_0x4578e6[_0x4578e6[_0x54a041(0x2e5)]=0x3]=_0x54a041(0x2e5),_0x4578e6))(se||{});const Ye={[ae['FAIL']]:_0x54a041(0x366),[ae[_0x54a041(0x22f)]]:'session.room-full',[ae[_0x54a041(0x1b9)]]:'session.room-not-exists',[ae[_0x54a041(0x1e6)]]:'session.room-permission-denied',[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x54a041(0x168)};exports['CollaborationSession']=class extends a[_0x54a041(0x3d1)]{constructor(_0x3b5f6c,_0x2071c9,_0x3eb846,_0x2ab59f,_0x3a09e1,_0x5e6fe1,_0x487d4a,_0x5ebe89,_0x1a11a3){var _0x5add83=_0x54a041;super(),P(this,_0x5add83(0x216),new j[(_0x5add83(0x458))](0x0)),P(this,_0x5add83(0x328),this['_sessionStatus$'][_0x5add83(0x2df)]()),P(this,_0x5add83(0x483),new j[(_0x5add83(0x33b))]()),P(this,'event$',this[_0x5add83(0x483)]['asObservable']()),P(this,'_socket'),P(this,_0x5add83(0x30a)),P(this,'_collaborationTimeoutTimer'),P(this,_0x5add83(0x325),!0x1),P(this,_0x5add83(0x298),null),(this[_0x5add83(0x143)]=_0x3b5f6c,this['_logService']=_0x3eb846,this['_configService']=_0x2ab59f,this[_0x5add83(0x34f)]=_0x3a09e1,this[_0x5add83(0x353)]=_0x5e6fe1,this['_commentService']=_0x487d4a,this[_0x5add83(0x259)]=_0x5ebe89,this[_0x5add83(0x43d)]=_0x1a11a3,this['_shouldReportTelemetry']=!!this[_0x5add83(0x43d)],_0x2071c9[_0x5add83(0x13f)](j[_0x5add83(0x314)](this['dispose$']))[_0x5add83(0x383)](_0x4f656f=>{var _0x2bd352=_0x5add83,_0x56572c;typeof _0x4f656f>'u'||(this[_0x2bd352(0x211)]=_0x4f656f,_0x4f656f?(this[_0x2bd352(0x222)](_0x4f656f),this[_0x2bd352(0x30a)]=_0x4f656f[_0x2bd352(0x338)][_0x2bd352(0x383)](_0x570162=>{var _0x5943f0=_0x2bd352;_0x570162[_0x5943f0(0x20e)]===this['_unitID']&&this[_0x5943f0(0x161)](_0x570162);})):(this[_0x2bd352(0x3c3)](),this['_sessionStatus$'][_0x2bd352(0x2db)](0x2),(_0x56572c=this[_0x2bd352(0x30a)])==null||_0x56572c[_0x2bd352(0x2a0)](),this[_0x2bd352(0x30a)]=null));}));}get[_0x54a041(0x1d3)](){return this['_sessionStatus$']['getValue']();}[_0x54a041(0x437)](){var _0x397cd5=_0x54a041,_0x4ca06e,_0x478a2d;return(_0x478a2d=(_0x4ca06e=this[_0x397cd5(0x211)])==null?void 0x0:_0x4ca06e[_0x397cd5(0x12c)])!=null?_0x478a2d:null;}[_0x54a041(0x123)](){var _0x45ce10=_0x54a041;super[_0x45ce10(0x123)](),this['dispose$'][_0x45ce10(0x2db)](),this[_0x45ce10(0x29e)][_0x45ce10(0x31e)]();}[_0x54a041(0x1f8)](){var _0x1b24c2=_0x54a041,_0x3bacdf,_0x296387;this[_0x1b24c2(0x3c3)](),(_0x3bacdf=this[_0x1b24c2(0x211)])==null||_0x3bacdf['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x1b24c2(0x143)]}}),(_0x296387=this[_0x1b24c2(0x211)])==null||_0x296387[_0x1b24c2(0x1f8)](),this[_0x1b24c2(0x483)][_0x1b24c2(0x31e)](),this[_0x1b24c2(0x216)][_0x1b24c2(0x31e)](),this[_0x1b24c2(0x123)]();}[_0x54a041(0x161)](_0x247139){var _0x50556d=_0x54a041;_0x247139[_0x50556d(0x214)]===G['JOIN']?this[_0x50556d(0x30d)](_0x247139):_0x247139[_0x50556d(0x214)]===G[_0x50556d(0x3bf)]&&this['_onRecvEvent'](_0x247139);}[_0x54a041(0x222)](_0xe400b5){var _0x1b794d=_0x54a041;this[_0x1b794d(0x216)][_0x1b794d(0x2db)](0x1),_0xe400b5[_0x1b794d(0x132)]({'cmd':G['JOIN'],'routeKey':this[_0x1b794d(0x143)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b794d(0x143)]}]}});}[_0x54a041(0x30d)](_0x4d68e4){var _0x4559d4=_0x54a041,_0x12c9a5;if(_0x4d68e4[_0x4559d4(0x1fb)]in Ye){this[_0x4559d4(0x259)][_0x4559d4(0x27b)]({'id':Q[_0x4559d4(0x3f9)],'data':Ye[_0x4d68e4[_0x4559d4(0x1fb)]]}),this[_0x4559d4(0x216)]['next'](0x2);return;}this[_0x4559d4(0x216)][_0x4559d4(0x2db)](0x3);const _0x4d65a9=(_0x12c9a5=_0x4d68e4[_0x4559d4(0x276)][_0x4559d4(0x475)][this['_unitID']])==null?void 0x0:_0x12c9a5['members'];_0x4d65a9&&_0x4d65a9[_0x4559d4(0x176)](_0x412f4f=>this[_0x4559d4(0x353)][_0x4559d4(0x36e)](this['_unitID'],_0x412f4f));}[_0x54a041(0x36c)](_0x29c248){var _0x29a02e=_0x54a041;try{const _0x1171d6=_0x29c248[_0x29a02e(0x276)];switch(_0x1171d6['eventID']){case g[_0x29a02e(0x252)][_0x29a02e(0x32b)]:this[_0x29a02e(0x398)](_0x1171d6),this[_0x29a02e(0x483)]['next'](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x135)]:this['_onUserLeave'](_0x1171d6),this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);break;case g['CollaborationEvent'][_0x29a02e(0x311)]:case g[_0x29a02e(0x252)][_0x29a02e(0x269)]:this[_0x29a02e(0x14c)](),this[_0x29a02e(0x1a9)](),this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x34c)]:this['_logService'][_0x29a02e(0x425)](_0x29a02e(0x1e5)+JSON[_0x29a02e(0x3d5)](_0x1171d6)),this[_0x29a02e(0x483)]['next'](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x1ea)]:this['_commentService'][_0x29a02e(0x148)](_0x1171d6[_0x29a02e(0x276)]),this['_event$']['next'](_0x1171d6);break;default:this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);}}catch(_0x3ad6b2){this[_0x29a02e(0x40c)]['error'](_0x3ad6b2,_0x29c248);}}[_0x54a041(0x398)](_0x4c849d){var _0x530ac0=_0x54a041;this[_0x530ac0(0x353)]['updateMember'](this['_unitID'],_0x4c849d['data']);}[_0x54a041(0x2ef)](_0x3ac9d1){var _0x23bd2c=_0x54a041;this[_0x23bd2c(0x353)][_0x23bd2c(0x449)](this['_unitID'],_0x3ac9d1[_0x23bd2c(0x276)][_0x23bd2c(0x12c)]);}async[_0x54a041(0x132)](_0x24e395,_0x439e9f){var _0x39e4c2=_0x54a041;if(this[_0x39e4c2(0x1d3)]!==0x3||!this[_0x39e4c2(0x211)])throw new Error(_0x39e4c2(0x15a));try{_0x24e395[_0x39e4c2(0x392)]===g[_0x39e4c2(0x252)][_0x39e4c2(0x344)]&&(this[_0x39e4c2(0x193)](),this[_0x39e4c2(0x14a)](_0x24e395)),this[_0x39e4c2(0x211)][_0x39e4c2(0x132)]({'cmd':G[_0x39e4c2(0x3ab)],'routeKey':_0x439e9f,'routeType':'','data':_0x24e395});}catch(_0x5e1eba){this[_0x39e4c2(0x40c)][_0x39e4c2(0x425)](_0x5e1eba);}}['_scheduleCollaborationTimeoutTimer'](){var _0x357fda=_0x54a041,_0x394fea;this[_0x357fda(0x1c1)]=setTimeout(()=>{var _0xd7ddae=_0x357fda;this[_0xd7ddae(0x1c1)]=null,this['_collaborationUIEventService'][_0xd7ddae(0x27b)]({'id':Q[_0xd7ddae(0x469)]});},(_0x394fea=this[_0x357fda(0x221)]['getConfig'](je))!=null?_0x394fea:gt);}[_0x54a041(0x1a9)](){var _0x2a6b1e=_0x54a041;this[_0x2a6b1e(0x1c1)]&&(clearTimeout(this[_0x2a6b1e(0x1c1)]),this[_0x2a6b1e(0x1c1)]=null);}[_0x54a041(0x14a)](_0x3f7441){var _0x59aa9b=_0x54a041;if(!this[_0x59aa9b(0x325)])return;const {data:_0x1d73b0}=_0x3f7441,{unitID:_0x2399fd,changeset:_0x116fec}=_0x1d73b0,{mutations:_0x1c85dc,type:_0xe090f0}=_0x116fec;this[_0x59aa9b(0x298)]={'unitId':_0x2399fd,'type':_0xe090f0,'startTime':performance[_0x59aa9b(0x24c)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1c85dc)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x9b9c23=_0x54a041;if(this[_0x9b9c23(0x325)]){if(!this['_telemetryInfo']){this[_0x9b9c23(0x40c)][_0x9b9c23(0x425)](_0x9b9c23(0x21a),_0x9b9c23(0x23c));return;}this[_0x9b9c23(0x298)][_0x9b9c23(0x295)]=performance[_0x9b9c23(0x24c)](),this['_telemetryInfo']['duration']=this[_0x9b9c23(0x298)]['stopTime']-this['_telemetryInfo'][_0x9b9c23(0x24f)],this[_0x9b9c23(0x43d)][_0x9b9c23(0x127)](ei,this[_0x9b9c23(0x298)]),this[_0x9b9c23(0x298)]=null;}}[_0x54a041(0x3c3)](){this['_telemetryInfo']=null;}},exports[_0x54a041(0x34d)]=oi([oe(0x2,a[_0x54a041(0x388)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a[_0x54a041(0x3fe)](exports[_0x54a041(0x289)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a['Optional'](Mt['ITelemetryService']))],exports[_0x54a041(0x34d)]);var ai=Object[_0x54a041(0x2be)],ci=(_0x4556c4,_0x5c759d,_0xfcb57e,_0x35c147)=>{var _0x56c816=_0x54a041;for(var _0x710f09=_0x35c147>0x1?void 0x0:_0x35c147?ai(_0x5c759d,_0xfcb57e):_0x5c759d,_0x5b3be9=_0x4556c4[_0x56c816(0x389)]-0x1,_0x21a6d8;_0x5b3be9>=0x0;_0x5b3be9--)(_0x21a6d8=_0x4556c4[_0x5b3be9])&&(_0x710f09=_0x21a6d8(_0x710f09)||_0x710f09);return _0x710f09;},le=(_0x4770db,_0x2c4587)=>(_0xbdb49e,_0xc64a0d)=>_0x2c4587(_0xbdb49e,_0xc64a0d,_0x4770db);exports[_0x54a041(0x31a)]=class extends a[_0x54a041(0x1e8)]{constructor(_0x34b619,_0x45248e,_0x6d2850,_0x746e45,_0x12afa7,_0xaca487){var _0x7579e1=_0x54a041;super(),P(this,_0x7579e1(0x412),new j[(_0x7579e1(0x458))](void 0x0)),P(this,_0x7579e1(0x1ed),this[_0x7579e1(0x412)][_0x7579e1(0x2df)]()),P(this,_0x7579e1(0x167),null),P(this,_0x7579e1(0x35b),new Map()),P(this,_0x7579e1(0x139),new j['BehaviorSubject'](se[_0x7579e1(0x3ee)])),P(this,'status$',this[_0x7579e1(0x139)][_0x7579e1(0x2df)]()),P(this,_0x7579e1(0x1e4),!0x1),P(this,_0x7579e1(0x186)),P(this,_0x7579e1(0x1f3),0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x7579e1(0x343)),(this[_0x7579e1(0x411)]=_0x34b619,this[_0x7579e1(0x40c)]=_0x45248e,this[_0x7579e1(0x221)]=_0x6d2850,this[_0x7579e1(0x46a)]=_0x746e45,this['_collaborationUIEventService']=_0x12afa7,this[_0x7579e1(0x453)]=_0xaca487,this[_0x7579e1(0x3d9)]());}get[_0x54a041(0x211)](){var _0x652b05=_0x54a041;return this[_0x652b05(0x412)][_0x652b05(0x364)]();}[_0x54a041(0x3d9)](){var _0x5637ad=_0x54a041;this[_0x5637ad(0x453)]&&this['disposeWithMe'](this[_0x5637ad(0x453)]['online$'][_0x5637ad(0x383)](_0x4112f9=>{var _0x4413c8=_0x5637ad;_0x4112f9&&!this['_socket']&&this[_0x4413c8(0x184)](),_0x4112f9||this[_0x4413c8(0x287)]();}));}[_0x54a041(0x123)](){var _0x376c8a=_0x54a041;super[_0x376c8a(0x123)](),this[_0x376c8a(0x39b)](),this[_0x376c8a(0x1c4)](),this['_clearHeartbeatTimer'](),this[_0x376c8a(0x35b)][_0x376c8a(0x176)](_0x5add7c=>_0x5add7c[_0x376c8a(0x123)]()),this[_0x376c8a(0x35b)][_0x376c8a(0x140)](),this[_0x376c8a(0x139)][_0x376c8a(0x31e)]();}async[_0x54a041(0x3a1)](_0x2f7e8d){var _0x38566d=_0x54a041;if(this[_0x38566d(0x35b)][_0x38566d(0x169)](_0x2f7e8d))return this[_0x38566d(0x35b)][_0x38566d(0x1f4)](_0x2f7e8d);this['_tryEnsureSocket']();const _0x231f00=this['_injector'][_0x38566d(0x1a4)](exports[_0x38566d(0x34d)],_0x2f7e8d,this['_socket$'][_0x38566d(0x2df)]());return this[_0x38566d(0x35b)][_0x38566d(0x164)](_0x2f7e8d,_0x231f00),_0x231f00;}['closeSession'](_0x4a72ee){var _0x3638cf=_0x54a041,_0x1da570;const _0x51e93c=this[_0x3638cf(0x35b)][_0x3638cf(0x1f4)](_0x4a72ee);_0x51e93c&&(this[_0x3638cf(0x35b)]['delete'](_0x4a72ee),_0x51e93c[_0x3638cf(0x1f8)]()),this[_0x3638cf(0x35b)][_0x3638cf(0x429)]||(_0x1da570=this[_0x3638cf(0x211)])==null||_0x1da570[_0x3638cf(0x1f8)]();}[_0x54a041(0x184)](){var _0x5cafc0=_0x54a041;this[_0x5cafc0(0x1f3)]=0x0,this[_0x5cafc0(0x39b)](),this[_0x5cafc0(0x28a)]();}[_0x54a041(0x39b)](){var _0x59e771=_0x54a041;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x59e771(0x186)]),this[_0x59e771(0x186)]=null);}async[_0x54a041(0x372)](){var _0x2e2688=_0x54a041,_0x58c697,_0x129a4a;const _0x178db5=this[_0x2e2688(0x221)][_0x2e2688(0x33f)](St),_0x1a508e=this[_0x2e2688(0x221)]['getConfig'](Y),_0x4415f0=(_0x129a4a=(_0x58c697=_0x1a508e==null?void 0x0:_0x1a508e[_0x2e2688(0x3e2)])!=null?_0x58c697:_0x178db5)!=null?_0x129a4a:ft,_0x257e23=await this[_0x2e2688(0x46a)][_0x2e2688(0x329)](_0x4415f0);return this[_0x2e2688(0x167)]=_0x257e23,_0x257e23;}async[_0x54a041(0x37a)](){var _0x5ea467=_0x54a041,_0x5b9617,_0x49de27;try{const _0x46a399=(_0x49de27=(_0x5b9617=this[_0x5ea467(0x211)])!=null?_0x5b9617:this[_0x5ea467(0x167)])!=null?_0x49de27:await this[_0x5ea467(0x372)]();if(_0x46a399){const _0x51a289=_0x46a399['send'];_0x46a399['send']=_0x3621db=>(this[_0x5ea467(0x36f)](),_0x51a289['apply'](_0x46a399,[_0x3621db])),_0x46a399[_0x5ea467(0x338)][_0x5ea467(0x383)](_0x308053=>this['_onMessage'](_0x46a399,_0x308053)),_0x46a399[_0x5ea467(0x226)][_0x5ea467(0x13f)](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](_0x1cf708=>this['_logService'][_0x5ea467(0x425)]('[CollaborationSessionService]:\x20socket\x20error',_0x1cf708)),_0x46a399[_0x5ea467(0x3f4)]['pipe'](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](()=>{this['_onConnectionOpen'](_0x46a399);}),_0x46a399[_0x5ea467(0x1fe)][_0x5ea467(0x13f)](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](_0x2a5a32=>{var _0x296ea8=_0x5ea467;this[_0x296ea8(0x40c)][_0x296ea8(0x402)](_0x296ea8(0x2b4),'socket\x20close',_0x2a5a32),this[_0x296ea8(0x432)]();});}}catch(_0x4b8cab){this['_logService'][_0x5ea467(0x425)](_0x4b8cab),this[_0x5ea467(0x432)]();}}['_onConnectionOpen'](_0x3faf21){var _0x60d47c=_0x54a041;this[_0x60d47c(0x40c)][_0x60d47c(0x402)]('[CollaborationSessionService]','socket\x20open.'),_0x3faf21[_0x60d47c(0x132)]({'cmd':G[_0x60d47c(0x2ee)]}),this[_0x60d47c(0x36f)]();}[_0x54a041(0x287)](){var _0x3134ea=_0x54a041;this[_0x3134ea(0x1e4)]=!0x1,this['_candidateSocket']=null,this[_0x3134ea(0x139)][_0x3134ea(0x2db)](se[_0x3134ea(0x1cc)]),this['_socket$']['next'](null),this[_0x3134ea(0x1c4)](),this[_0x3134ea(0x240)]();}[_0x54a041(0x432)](){var _0x1fb968=_0x54a041,_0x7f3ead;this[_0x1fb968(0x287)](),this[_0x1fb968(0x1f3)]<((_0x7f3ead=this[_0x1fb968(0x221)][_0x1fb968(0x33f)](mt))!=null?_0x7f3ead:Wt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x1fb968(0x2ed)]}),this[_0x1fb968(0x28a)]()):this[_0x1fb968(0x259)]['emitEvent']({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x3a4d0f=_0x54a041,_0x4d9f74;const _0x1f02e0=this[_0x3a4d0f(0x1f3)],_0xd68717=this['_configService'][_0x3a4d0f(0x33f)](Y),_0x428fb1=_0x1f02e0===0x0?0x0:((_0x4d9f74=_0xd68717==null?void 0x0:_0xd68717[_0x3a4d0f(0x333)])!=null?_0x4d9f74:Ft)*0x2**_0x1f02e0;this[_0x3a4d0f(0x186)]=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x428fb1),this['_retryCount']+=0x1;}[_0x54a041(0x302)](_0x2a6586,_0x4e1d8f){var _0x23dc1c=_0x54a041;const {cmd:_0x1c9dad}=_0x4e1d8f;_0x1c9dad===G[_0x23dc1c(0x2ee)]&&!this[_0x23dc1c(0x1e4)]&&(_0x2a6586['memberID']=_0x4e1d8f[_0x23dc1c(0x276)]['memberID'],this['_socket$']['next'](_0x2a6586),this[_0x23dc1c(0x139)]['next'](se[_0x23dc1c(0x2e5)]),this[_0x23dc1c(0x1e4)]=!0x0,this[_0x23dc1c(0x167)]=null),_0x1c9dad===G[_0x23dc1c(0x3f0)]&&this['_clearTimeoutTimer'](),this[_0x23dc1c(0x36f)]();}[_0x54a041(0x36f)](){var _0x17804c=_0x54a041,_0x530f46;this[_0x17804c(0x240)](),this[_0x17804c(0x322)]=setTimeout(()=>this[_0x17804c(0x18b)](),(_0x530f46=this['_configService'][_0x17804c(0x33f)](pt))!=null?_0x530f46:Bt);}[_0x54a041(0x18b)](){var _0x58929b=_0x54a041;this['_socket'][_0x58929b(0x132)]({'cmd':G[_0x58929b(0x3f0)]}),this[_0x58929b(0x3e4)]();}[_0x54a041(0x3e4)](){var _0x315e17=_0x54a041,_0x3805e5;this[_0x315e17(0x343)]=setTimeout(()=>this[_0x315e17(0x432)](),(_0x3805e5=this[_0x315e17(0x221)]['getConfig'](je))!=null?_0x3805e5:gt);}[_0x54a041(0x240)](){var _0x8d826b=_0x54a041;this[_0x8d826b(0x322)]!=null&&(clearTimeout(this[_0x8d826b(0x322)]),this[_0x8d826b(0x322)]=null);}[_0x54a041(0x1c4)](){var _0x2d8b5c=_0x54a041;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2d8b5c(0x343)]=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),le(0x1,a[_0x54a041(0x388)]),le(0x2,a[_0x54a041(0x2ca)]),le(0x3,$e),le(0x4,a[_0x54a041(0x3fe)](te)),le(0x5,a[_0x54a041(0x30b)](bt))],exports['CollaborationSessionService']);const V=[];for(let n=0x0;n<0x100;++n)V[_0x54a041(0x473)]((n+0x100)['toString'](0x10)[_0x54a041(0x165)](0x1));function hi(_0x31493b,_0x311462=0x0){var _0x4f3655=_0x54a041;return(V[_0x31493b[_0x311462+0x0]]+V[_0x31493b[_0x311462+0x1]]+V[_0x31493b[_0x311462+0x2]]+V[_0x31493b[_0x311462+0x3]]+'-'+V[_0x31493b[_0x311462+0x4]]+V[_0x31493b[_0x311462+0x5]]+'-'+V[_0x31493b[_0x311462+0x6]]+V[_0x31493b[_0x311462+0x7]]+'-'+V[_0x31493b[_0x311462+0x8]]+V[_0x31493b[_0x311462+0x9]]+'-'+V[_0x31493b[_0x311462+0xa]]+V[_0x31493b[_0x311462+0xb]]+V[_0x31493b[_0x311462+0xc]]+V[_0x31493b[_0x311462+0xd]]+V[_0x31493b[_0x311462+0xe]]+V[_0x31493b[_0x311462+0xf]])[_0x4f3655(0x267)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x464003=_0x54a041;if(!Ue){if(typeof crypto>'u'||!crypto[_0x464003(0x1a8)])throw new Error(_0x464003(0x126));Ue=crypto[_0x464003(0x1a8)][_0x464003(0x479)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x54a041(0x25a)][_0x54a041(0x479)](crypto),qe={'randomUUID':ui};function di(_0x324601,_0x340188,_0x1fecef){var _0x272302=_0x54a041,_0xcc3a30,_0x4f23be,_0x90921a;if(qe[_0x272302(0x25a)]&&!_0x324601)return qe[_0x272302(0x25a)]();_0x324601=_0x324601||{};const _0x1cdae4=(_0x90921a=(_0x4f23be=_0x324601[_0x272302(0x279)])!=null?_0x4f23be:(_0xcc3a30=_0x324601[_0x272302(0x137)])==null?void 0x0:_0xcc3a30[_0x272302(0x1ae)](_0x324601))!=null?_0x90921a:_i();if(_0x1cdae4['length']<0x10)throw new Error(_0x272302(0x136));return _0x1cdae4[0x6]=_0x1cdae4[0x6]&0xf|0x40,_0x1cdae4[0x8]=_0x1cdae4[0x8]&0x3f|0x80,hi(_0x1cdae4);}const z=a[_0x54a041(0x36a)](_0x54a041(0x393));function vi(_0x2e5083){var _0x770653=_0x54a041;return _0x770653(0x39e)+_0x2e5083;}var Si=Object[_0x54a041(0x2be)],fi=(_0x3a1453,_0x3c31c6,_0x1bc79a,_0xd2724b)=>{for(var _0xfef1c7=_0xd2724b>0x1?void 0x0:_0xd2724b?Si(_0x3c31c6,_0x1bc79a):_0x3c31c6,_0x3846fa=_0x3a1453['length']-0x1,_0x287343;_0x3846fa>=0x0;_0x3846fa--)(_0x287343=_0x3a1453[_0x3846fa])&&(_0xfef1c7=_0x287343(_0xfef1c7)||_0xfef1c7);return _0xfef1c7;},Pe=(_0x469403,_0x19402e)=>(_0x2499b4,_0x27351d)=>_0x19402e(_0x2499b4,_0x27351d,_0x469403);function pi(_0x4b5c42){var _0x378ce0=_0x54a041;const {unitID:_0x168b5e,mutations:_0x400ca3}=_0x4b5c42;return{'unitId':_0x168b5e,'subUnitId':_0x400ca3[0x0][_0x378ce0(0x124)][_0x378ce0(0x218)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x5b30a6,_0x2601d6,_0x32baf3){var _0x571737=_0x54a041;this[_0x571737(0x411)]=_0x5b30a6,this[_0x571737(0x430)]=_0x2601d6,this[_0x571737(0x2f3)]=_0x32baf3;}[_0x54a041(0x3ca)](_0x50aebe){var _0x3bc2bf=_0x54a041,_0x2967f6,_0x4d8d7c,_0x5ce2b3,_0x1557d5;const _0x54df51=this[_0x3bc2bf(0x411)][_0x3bc2bf(0x1f4)](Z[_0x3bc2bf(0x26f)]),{unitId:_0x4646d8,subUnitId:_0x5ddc79}=pi(_0x50aebe),_0x27dada=_0x54df51==null?void 0x0:_0x54df51[_0x3bc2bf(0x460)](_0x4646d8)[_0x3bc2bf(0x1d6)](),_0x445110=(_0x4d8d7c=(_0x2967f6=this[_0x3bc2bf(0x2f3)][_0x3bc2bf(0x23f)](_0x4646d8))==null?void 0x0:_0x2967f6[_0x3bc2bf(0x443)]())==null?void 0x0:_0x4d8d7c[_0x3bc2bf(0x1ac)]();if(_0x27dada[_0x3bc2bf(0x389)]===0x0||!_0x4646d8||!_0x5ddc79)return;const _0x5ad6fd=[{'id':Z[_0x3bc2bf(0x327)]['id'],'params':{'unitId':_0x4646d8,'subUnitId':_0x445110,'selections':a[_0x3bc2bf(0x1f2)][_0x3bc2bf(0x1aa)](_0x27dada)}}],_0xcb7f61=this[_0x3bc2bf(0x430)][_0x3bc2bf(0x3f7)](_0x50aebe,_0x5ad6fd);if(!g[_0x3bc2bf(0x38a)](_0xcb7f61))throw _0xcb7f61[_0x3bc2bf(0x425)];const _0x2e2fd9=(_0x1557d5=(_0x5ce2b3=_0xcb7f61[_0x3bc2bf(0x1d2)][0x0])==null?void 0x0:_0x5ce2b3[_0x3bc2bf(0x124)])==null?void 0x0:_0x1557d5[_0x3bc2bf(0x484)];if(Array[_0x3bc2bf(0x291)](_0x2e2fd9)&&_0x2e2fd9[_0x3bc2bf(0x389)]){if(_0x2e2fd9['length']===_0x5ad6fd[0x0][_0x3bc2bf(0x124)][_0x3bc2bf(0x484)][_0x3bc2bf(0x389)]&&_0x2e2fd9[_0x3bc2bf(0x23a)]((_0x437311,_0x5e1511)=>a[_0x3bc2bf(0x387)][_0x3bc2bf(0x25b)](_0x437311['range'],_0x5ad6fd[0x0][_0x3bc2bf(0x124)][_0x3bc2bf(0x484)][_0x5e1511][_0x3bc2bf(0x181)])))return;this[_0x3bc2bf(0x411)][_0x3bc2bf(0x1f4)](a[_0x3bc2bf(0x1ce)])[_0x3bc2bf(0x19e)](Z['SetSelectionsOperation']['id'],{'unitId':_0x4646d8,'subUnitId':_0x445110,'selections':_0x2e2fd9});}}},exports[_0x54a041(0x274)]=fi([Pe(0x0,a['Inject'](a[_0x54a041(0x3d4)])),Pe(0x1,g[_0x54a041(0x438)]),Pe(0x2,a[_0x54a041(0x30e)])],exports[_0x54a041(0x274)]);const ve=a[_0x54a041(0x36a)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x29f0bd=>(_0x29f0bd[_0x29f0bd[_0x54a041(0x2f0)]=0x0]=_0x54a041(0x2f0),_0x29f0bd[_0x29f0bd[_0x54a041(0x3d7)]=0x1]='OTHER_CLIENTS_EDITING',_0x29f0bd))(Fe||{});const gi=new Set([Z[_0x54a041(0x2ae)]['id']]);function ze(_0x3c3636,_0x531351,_0x1dfb29,_0x5de46b,_0x136f43){var _0x4563df=_0x54a041,_0xf868a5,_0x31bb76,_0x3ee788,_0x1785a5;const _0x1a530c=[];for(const _0x33b5df of _0x3c3636)if(gi[_0x4563df(0x169)](_0x33b5df['id'])){if(_0x1a530c[_0x4563df(0x389)]>0x0)break;_0x1a530c['push'](_0x33b5df);break;}else _0x1a530c[_0x4563df(0x473)](_0x33b5df);const _0x33547c=(_0x31bb76=(_0xf868a5=_0x136f43[_0x4563df(0x28d)]())==null?void 0x0:_0xf868a5[_0x4563df(0x255)])!=null?_0x31bb76:_0x4563df(0x454),_0x44c7c3=(_0x1785a5=(_0x3ee788=_0x136f43[_0x4563df(0x28d)]())==null?void 0x0:_0x3ee788[_0x4563df(0x12c)])!=null?_0x1785a5:_0x4563df(0x454);return{'changeset':{'unitID':_0x531351,'type':g[_0x4563df(0x3e7)](_0x1dfb29[_0x4563df(0x134)](_0x531351)),'baseRev':_0x5de46b[_0x4563df(0x217)](_0x531351),'revision':0x0,'userID':_0x33547c,'memberID':_0x44c7c3,'mutations':_0x1a530c},'pendingMutations':_0x3c3636[_0x4563df(0x165)](_0x1a530c[_0x4563df(0x389)])};}function mi(_0x44f509,_0x5f5850,_0x76510,_0x3c951a,_0x495a85){var _0x5879f3=_0x54a041,_0x118b3e,_0x4b4c0b,_0x53766f,_0x4440a4;const _0x3c2e79=[_0x44f509[_0x5879f3(0x45b)]((_0x3c0754,_0x5dd3fe)=>{var _0x9ae501=_0x5879f3,_0x18138e;const {id:_0xbee40}=_0x3c0754,{id:_0x1d2a75,type:_0x3b6aea}=_0x5dd3fe,_0x53e616=(_0x18138e=_0x3c0754[_0x9ae501(0x124)])!=null?_0x18138e:{'actions':null},_0x342d5b=_0x5dd3fe['params'];if(_0xbee40&&_0xbee40!==_0x1d2a75)throw new Error(_0x9ae501(0x288)+_0xbee40+_0x9ae501(0x235)+_0x1d2a75+'.');return{..._0x3c0754,'id':_0x1d2a75,'type':_0x3b6aea,'params':{'unitId':_0x342d5b[_0x9ae501(0x382)],'textRanges':_0x342d5b['textRanges'],'actions':a[_0x9ae501(0x1ef)][_0x9ae501(0x11d)](_0x53e616['actions'],_0x342d5b[_0x9ae501(0x133)])}};},{})],_0x5a1268=(_0x4b4c0b=(_0x118b3e=_0x495a85[_0x5879f3(0x28d)]())==null?void 0x0:_0x118b3e[_0x5879f3(0x255)])!=null?_0x4b4c0b:'unknown',_0x379daf=(_0x4440a4=(_0x53766f=_0x495a85[_0x5879f3(0x28d)]())==null?void 0x0:_0x53766f[_0x5879f3(0x12c)])!=null?_0x4440a4:_0x5879f3(0x454);return{'changeset':{'unitID':_0x5f5850,'type':g[_0x5879f3(0x3e7)](_0x76510[_0x5879f3(0x134)](_0x5f5850)),'baseRev':_0x3c951a[_0x5879f3(0x217)](_0x5f5850),'revision':0x0,'userID':_0x5a1268,'memberID':_0x379daf,'mutations':_0x3c2e79},'pendingMutations':[]};}function Ot(_0x151c49,_0x5fa535){var _0x9bda=_0x54a041;const _0x436b07=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x436b07[_0x9bda(0x2db)](_0x5fa535),_0x151c49),_0x436b07[_0x9bda(0x2df)]()['pipe'](j[_0x9bda(0x2cd)](0x1));}const Ii={'id':Z[_0x54a041(0x153)]['id'],'type':a[_0x54a041(0x3a9)][_0x54a041(0x1b6)],'params':{}};var Ei=Object[_0x54a041(0x2be)],ce=(_0x382d5c,_0x430177,_0xf38194,_0x33d48f)=>{for(var _0x3baab8=_0x33d48f>0x1?void 0x0:_0x33d48f?Ei(_0x430177,_0xf38194):_0x430177,_0x5b2c20=_0x382d5c['length']-0x1,_0x27f027;_0x5b2c20>=0x0;_0x5b2c20--)(_0x27f027=_0x382d5c[_0x5b2c20])&&(_0x3baab8=_0x27f027(_0x3baab8)||_0x3baab8);return _0x3baab8;},w=(_0x3b1235,_0x2ee177)=>(_0x105fba,_0x1fb197)=>_0x2ee177(_0x105fba,_0x1fb197,_0x3b1235),We=(_0xdcd7cc=>(_0xdcd7cc[_0x54a041(0x440)]=_0x54a041(0x30f),_0xdcd7cc['SYNCED']=_0x54a041(0x471),_0xdcd7cc[_0x54a041(0x2d1)]=_0x54a041(0x3b2),_0xdcd7cc[_0x54a041(0x13e)]='awaiting',_0xdcd7cc[_0x54a041(0x43b)]=_0x54a041(0x154),_0xdcd7cc['FETCH_MISS']='fetch_missing',_0xdcd7cc[_0x54a041(0x35f)]=_0x54a041(0x363),_0xdcd7cc[_0x54a041(0x1cc)]='offline',_0xdcd7cc))(We||{});const Nt=0xea60;class he{constructor(_0x30b600,_0x46925a,_0x2a11ef,_0x20377c,_0x3639e9,_0x5cad1a,_0x36a74b,_0x291e95,_0x3fb5cc){var _0x24f6b4=_0x54a041;P(this,_0x24f6b4(0x3ff),null),P(this,_0x24f6b4(0x294),[]),(this['unitID']=_0x30b600,this['type']=_0x46925a,this[_0x24f6b4(0x434)]=_0x3639e9,this['_commandService']=_0x5cad1a,this[_0x24f6b4(0x188)]=_0x36a74b,this[_0x24f6b4(0x3c1)]=_0x291e95,this[_0x24f6b4(0x18e)]=_0x3fb5cc,this[_0x24f6b4(0x3ff)]=_0x2a11ef,this[_0x24f6b4(0x294)]=_0x20377c);}['_checkMissing'](_0x32b9e3){var _0x2538ec=_0x54a041;const _0x4d0a26=this[_0x2538ec(0x3c1)][_0x2538ec(0x217)](this[_0x2538ec(0x326)]);return _0x32b9e3[_0x2538ec(0x2f8)]>_0x4d0a26+0x1?(this[_0x2538ec(0x434)]['onMissingChangesets']({'from':_0x4d0a26,'to':_0x32b9e3[_0x2538ec(0x2f8)]-0x1}),!0x0):!0x1;}[_0x54a041(0x265)](_0x580a9e){var _0x20a3f6=_0x54a041;this[_0x20a3f6(0x188)][_0x20a3f6(0x3e3)](this[_0x20a3f6(0x326)],_0x580a9e);}[_0x54a041(0x47e)](_0x410a47){var _0x396f55=_0x54a041,_0x2152cf,_0x14fec8;(_0x14fec8=(_0x2152cf=this[_0x396f55(0x434)])[_0x396f55(0x1ad)])==null||_0x14fec8[_0x396f55(0x1ae)](_0x2152cf,_0x410a47);}[_0x54a041(0x446)](_0x542fb0){var _0x42f47c=_0x54a041,_0x3f9408,_0x3c95d2;return(_0x3c95d2=(_0x3f9408=this[_0x42f47c(0x434)])[_0x42f47c(0x12b)])==null?void 0x0:_0x3c95d2[_0x42f47c(0x1ae)](_0x3f9408,_0x542fb0);}[_0x54a041(0x199)](_0x5cd937){var _0x393d84=_0x54a041,_0x2071e5,_0x54d4fa;return(_0x54d4fa=(_0x2071e5=this['_handler'])['onTransformState'])==null?void 0x0:_0x54d4fa[_0x393d84(0x1ae)](_0x2071e5,_0x5cd937);}[_0x54a041(0x14d)](_0x5bd710){var _0x574826=_0x54a041,_0x37f38b,_0xe5d600,_0x28de94;return(_0x28de94=(_0xe5d600=(_0x37f38b=this[_0x574826(0x434)])[_0x574826(0x16a)])==null?void 0x0:_0xe5d600[_0x574826(0x1ae)](_0x37f38b,_0x5bd710))!=null?_0x28de94:_0x5bd710;}[_0x54a041(0x32d)](_0x56a2f6){var _0x207649=_0x54a041,_0x439d7d,_0x2846bb,_0x423c8a;return(_0x423c8a=(_0x2846bb=(_0x439d7d=this[_0x207649(0x434)])[_0x207649(0x1db)])==null?void 0x0:_0x2846bb['call'](_0x439d7d,_0x56a2f6))!=null?_0x423c8a:_0x56a2f6;}[_0x54a041(0x3aa)](_0x10aa4c){var _0xc01698=_0x54a041,_0x5f35e4,_0x1e746f;if(this[_0xc01698(0x15b)]===X[_0xc01698(0x40f)]){const {unitID:_0x2960ef,mutations:_0x5d5a73,memberID:_0x4b9e89}=_0x10aa4c,_0x4e1bba=_0x5d5a73[0x0][_0xc01698(0x124)][_0xc01698(0x444)];Array[_0xc01698(0x291)](_0x4e1bba)&&_0x4e1bba[_0xc01698(0x389)]>0x0&&((_0x1e746f=(_0x5f35e4=this[_0xc01698(0x434)])[_0xc01698(0x426)])==null||_0x1e746f['call'](_0x5f35e4,{'unitID':_0x2960ef,'memberID':_0x4b9e89,'textRanges':_0x4e1bba}));}}[_0x54a041(0x1dd)](){var _0x5eed2e=_0x54a041,_0x589c3b;(_0x589c3b=this[_0x5eed2e(0x18e)])==null||_0x589c3b[_0x5eed2e(0x15d)](this[_0x5eed2e(0x326)],this[_0x5eed2e(0x15b)],this['_awaitingChangeset'],this[_0x5eed2e(0x294)]);}['_getCurrentRevision'](){var _0x33250b=_0x54a041;return this[_0x33250b(0x3c1)][_0x33250b(0x217)](this[_0x33250b(0x326)]);}[_0x54a041(0x1c9)](){var _0x218f71=_0x54a041;this[_0x218f71(0x3c1)][_0x218f71(0x39f)](this[_0x218f71(0x326)]);}[_0x54a041(0x125)](_0x2de980){var _0x15fd4c=_0x54a041,_0x3b0b46;let _0x45fbc8=this[_0x15fd4c(0x14d)](_0x2de980);_0x45fbc8=this[_0x15fd4c(0x32d)](_0x45fbc8);const _0x49490f=a[_0x15fd4c(0x149)](_0x45fbc8[_0x15fd4c(0x41b)],this[_0x15fd4c(0x172)],{'fromCollab':!0x0});if(!_0x49490f['result'])throw _0x49490f[_0x15fd4c(0x425)]instanceof Error?_0x49490f[_0x15fd4c(0x425)]:new Error((_0x3b0b46=_0x49490f[_0x15fd4c(0x425)])!=null?_0x3b0b46:_0x15fd4c(0x3fc));this[_0x15fd4c(0x446)](_0x45fbc8),this[_0x15fd4c(0x199)](_0x45fbc8),this[_0x15fd4c(0x265)](_0x2de980),this[_0x15fd4c(0x47e)](_0x45fbc8),this['_syncEditingCollabCursor'](_0x45fbc8),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends he{constructor(_0x16863e,_0x1d0548,_0xd7584c,_0x4ac531,_0x15eae3,_0x553225,_0x1f1ae6,_0x982ae8,_0x46ac53,_0x504202){var _0x3fc363=_0x54a041;super(_0x16863e,_0x1d0548,null,[],_0xd7584c,_0x1f1ae6,_0x553225,_0x4ac531,_0x504202),P(this,'status','synced'),(this[_0x3fc363(0x411)]=_0x15eae3,this[_0x3fc363(0x40c)]=_0x982ae8,this[_0x3fc363(0x430)]=_0x46ac53,this['localCacheService']=_0x504202);}[_0x54a041(0x19b)](_0x4d5439){var _0x496264=_0x54a041;const _0xa1aba9=this['_injector'][_0x496264(0x1a4)](exports[_0x496264(0x1a6)],this['unitID'],this[_0x496264(0x15b)],[_0x4d5439],this[_0x496264(0x434)]);return _0xa1aba9[_0x496264(0x316)](),_0xa1aba9[_0x496264(0x1dd)](),_0xa1aba9;}['onRemoteChangeset'](_0x393256){var _0x4e6c62=_0x54a041;if(this[_0x4e6c62(0x2ba)](_0x393256))return this[_0x4e6c62(0x411)][_0x4e6c62(0x1a4)](exports['FetchingMissState'],this[_0x4e6c62(0x326)],this['type'],null,[],null,[_0x393256],this[_0x4e6c62(0x434)]);try{const _0x4bc3b4=this['_transformService'][_0x4e6c62(0x3f7)](_0x393256,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x4bc3b4)){const {c1Prime:_0x26c2a9}=_0x4bc3b4;return this[_0x4e6c62(0x125)](_0x26c2a9),this;}throw _0x4bc3b4[_0x4e6c62(0x425)];}catch(_0x43d4f6){return this['_logService'][_0x4e6c62(0x425)](_0x43d4f6),this[_0x4e6c62(0x271)](!0x1);}}[_0x54a041(0x271)](_0x3ac39f){var _0x13b8dd=_0x54a041;return this[_0x13b8dd(0x411)][_0x13b8dd(0x1a4)](exports[_0x13b8dd(0x2ab)],this[_0x13b8dd(0x326)],this['type'],null,[],this['_handler'],_0x3ac39f);}[_0x54a041(0x146)](){var _0x59cea4=_0x54a041;throw new Error(_0x59cea4(0x320));}[_0x54a041(0x42b)](){var _0x4dc910=_0x54a041;throw new Error(_0x4dc910(0x1a0));}['onRemoteRetry'](){return this;}[_0x54a041(0x439)](){var _0x18f0cf=_0x54a041;return this['_injector'][_0x18f0cf(0x1a4)](exports[_0x18f0cf(0x18a)],this['unitID'],this[_0x18f0cf(0x15b)],null,[],this[_0x18f0cf(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x18998d=_0x54a041;throw new Error(_0x18998d(0x185));}[_0x54a041(0x2f2)](){var _0x4a1ca3=_0x54a041;const _0x27ccaa=this['_revisionService'][_0x4a1ca3(0x217)](this[_0x4a1ca3(0x326)]);return this[_0x4a1ca3(0x434)][_0x4a1ca3(0x3ac)]({'from':_0x27ccaa,'to':0x0}),this['_injector']['createInstance'](exports[_0x4a1ca3(0x477)],this[_0x4a1ca3(0x326)],this[_0x4a1ca3(0x15b)],null,[],null,[],this['_handler']);}},exports['SyncedState']=ce([w(0x3,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a[_0x54a041(0x249)]),w(0x6,a[_0x54a041(0x1ce)]),w(0x7,a[_0x54a041(0x388)]),w(0x8,g[_0x54a041(0x438)]),w(0x9,a['Optional'](z))],exports[_0x54a041(0x346)]),exports[_0x54a041(0x1a6)]=class extends he{constructor(_0x33b889,_0x4b351b,_0x597c30,_0x5512b1,_0x1f698b,_0x1e3670,_0x2be41e,_0x410596,_0x2a212e,_0x3b8a1e,_0x48efc7,_0x7e8f52,_0x5b90a0,_0x1b8c3e){var _0x34ada9=_0x54a041;super(_0x33b889,_0x4b351b,null,_0x597c30,_0x5512b1,_0x2a212e,_0x5b90a0,_0x1e3670,_0x1b8c3e),P(this,_0x34ada9(0x335),_0x34ada9(0x3b2)),P(this,_0x34ada9(0x2a2),null),P(this,'_sendingTimer',null),(this[_0x34ada9(0x411)]=_0x1f698b,this['_memberService']=_0x2be41e,this[_0x34ada9(0x40c)]=_0x410596,this['_configService']=_0x3b8a1e,this['_transformService']=_0x48efc7,this['_univerInstanceService']=_0x7e8f52);}['appendMutation'](_0x5c11b5){var _0x37b567=_0x54a041;return this[_0x37b567(0x294)]['push'](_0x5c11b5),this[_0x37b567(0x1dd)](),this;}[_0x54a041(0x403)](_0xfd63ff){var _0x46642c=_0x54a041;if(this[_0x46642c(0x2ba)](_0xfd63ff))return this[_0x46642c(0x1b3)](),this[_0x46642c(0x411)][_0x46642c(0x1a4)](exports[_0x46642c(0x477)],this[_0x46642c(0x326)],this[_0x46642c(0x15b)],null,this[_0x46642c(0x294)],null,[_0xfd63ff],this['_handler']);try{const _0xe1036c=this['_transformService'][_0x46642c(0x3f7)](_0xfd63ff,this[_0x46642c(0x294)]);if(g['isTransformMutationsWithChangesetSuccess'](_0xe1036c)){const {c1Prime:_0x5094fe,m2Prime:_0x30fa3a}=_0xe1036c;this['_executeRemoteChangeset'](_0x5094fe);const _0x55fd50=this[_0x46642c(0x411)][_0x46642c(0x1a4)](exports[_0x46642c(0x1a6)],this['unitID'],this[_0x46642c(0x15b)],_0x30fa3a,this['_handler']);this[_0x46642c(0x1b3)]();const _0x1016f2=new Date()[_0x46642c(0x34b)](),_0x437fef=this[_0x46642c(0x2a2)]?Math[_0x46642c(0x1d5)](this[_0x46642c(0x2a2)]-_0x1016f2,0x0):this[_0x46642c(0x3b1)]();return _0x55fd50['_schedule'](_0x437fef),_0x55fd50;}throw _0xe1036c[_0x46642c(0x425)];}catch(_0x59df36){return this['_logService']['error'](_0x59df36),this[_0x46642c(0x271)](!0x1);}}['onRemoteAck'](){var _0x580b82=_0x54a041;throw new Error(_0x580b82(0x441));}[_0x54a041(0x42b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){var _0x37316d=_0x54a041;return this[_0x37316d(0x1b3)](),this['_injector'][_0x37316d(0x1a4)](exports[_0x37316d(0x18a)],this['unitID'],this[_0x37316d(0x15b)],null,this[_0x37316d(0x294)],this[_0x37316d(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x316)](_0x3b2415){var _0x53947d=_0x54a041;const _0x5c7ccb=_0x3b2415!=null?_0x3b2415:this[_0x53947d(0x3b1)]();this[_0x53947d(0x2a2)]=new Date()[_0x53947d(0x34b)]()+_0x5c7ccb,this['_sendingTimer']=setTimeout(()=>{var _0x216230=_0x53947d;this[_0x216230(0x1b3)]();let _0x5c0007=null;switch(this[_0x216230(0x15b)]){case X['UNIVER_SHEET']:{_0x5c0007=ze(this[_0x216230(0x294)],this['unitID'],this['_univerInstanceService'],this[_0x216230(0x3c1)],this[_0x216230(0x353)]);break;}case X['UNIVER_DOC']:{this[_0x216230(0x294)][_0x216230(0x23a)](_0x202170=>_0x202170['id']===ut[_0x216230(0x391)]['id'])?_0x5c0007=mi(this[_0x216230(0x294)],this[_0x216230(0x326)],this['_univerInstanceService'],this[_0x216230(0x3c1)],this['_memberService']):_0x5c0007=ze(this[_0x216230(0x294)],this[_0x216230(0x326)],this['_univerInstanceService'],this['_revisionService'],this[_0x216230(0x353)]);break;}default:throw new Error(_0x216230(0x46c)+this[_0x216230(0x15b)]+_0x216230(0x2b1));}const {changeset:_0x392472,pendingMutations:_0x347a3f}=_0x5c0007;this[_0x216230(0x434)]['onSendChangeset'](_0x392472);const _0x12b0d3=_0x347a3f[_0x216230(0x389)]?this['_injector'][_0x216230(0x1a4)](exports['AwaitingWithPendingState'],this[_0x216230(0x326)],this[_0x216230(0x15b)],_0x392472,_0x347a3f,this[_0x216230(0x434)],void 0x0):this[_0x216230(0x411)][_0x216230(0x1a4)](exports[_0x216230(0x122)],this[_0x216230(0x326)],this['type'],_0x392472,this[_0x216230(0x434)]);_0x12b0d3[_0x216230(0x1dd)](),this[_0x216230(0x434)]['onStateChange'](this,_0x12b0d3);},_0x5c7ccb);}[_0x54a041(0x3b1)](){var _0x464618=_0x54a041,_0x191c9f;const _0x166e7c=this['_configService'][_0x464618(0x33f)](Y);return(_0x191c9f=_0x166e7c==null?void 0x0:_0x166e7c['sendChangesetTimeout'])!=null?_0x191c9f:jt;}[_0x54a041(0x431)](){var _0x5d2b98=_0x54a041;throw new Error(_0x5d2b98(0x3e1));}[_0x54a041(0x1b3)](){var _0x4320ea=_0x54a041;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4320ea(0x2b3)]),this[_0x4320ea(0x2b3)]=null);}[_0x54a041(0x271)](_0x59967e){var _0x2c7932=_0x54a041;return this[_0x2c7932(0x1b3)](),this['_injector']['createInstance'](exports[_0x2c7932(0x2ab)],this[_0x2c7932(0x326)],this[_0x2c7932(0x15b)],null,this[_0x2c7932(0x294)],this['_handler'],_0x59967e);}},exports[_0x54a041(0x1a6)]=ce([w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x6,a['Inject'](exports[_0x54a041(0x289)])),w(0x7,a[_0x54a041(0x388)]),w(0x8,a[_0x54a041(0x1ce)]),w(0x9,a[_0x54a041(0x2ca)]),w(0xa,g[_0x54a041(0x438)]),w(0xb,a[_0x54a041(0x30e)]),w(0xc,a[_0x54a041(0x249)]),w(0xd,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x1a6)]),exports[_0x54a041(0x122)]=class extends he{constructor(_0x36d0ed,_0x3582fc,_0x41c03b,_0x151a73,_0x4360aa,_0x817c9e,_0x5d92fc,_0x26700e,_0x527c00,_0x80e0a5,_0x4f8374){var _0x336144=_0x54a041;super(_0x36d0ed,_0x3582fc,_0x41c03b,[],_0x151a73,_0x5d92fc,_0x80e0a5,_0x817c9e,_0x4f8374),P(this,_0x336144(0x335),'awaiting'),P(this,_0x336144(0x142),0x0),P(this,_0x336144(0x194)),P(this,_0x336144(0x421)),(this[_0x336144(0x411)]=_0x4360aa,this['_logService']=_0x26700e,this[_0x336144(0x430)]=_0x527c00);}[_0x54a041(0x19b)](_0x39cc6c){var _0x2fc66f=_0x54a041;this['_clearScheduledTask']();const _0x27a862=this['_injector']['createInstance'](exports[_0x2fc66f(0x356)],this[_0x2fc66f(0x326)],this[_0x2fc66f(0x15b)],this['_awaitingChangeset'],[_0x39cc6c],this[_0x2fc66f(0x434)],this[_0x2fc66f(0x194)]);return _0x27a862['_updateLocalCache'](),_0x27a862;}['onRemoteChangeset'](_0x1a3c5b){var _0x440153=_0x54a041;if(this[_0x440153(0x2ba)](_0x1a3c5b))return this[_0x440153(0x1b3)](),this['_injector'][_0x440153(0x1a4)](exports[_0x440153(0x477)],this[_0x440153(0x326)],this[_0x440153(0x15b)],this[_0x440153(0x3ff)],[],null,[_0x1a3c5b],this['_handler']);try{const _0x533853=this[_0x440153(0x430)][_0x440153(0x179)]([_0x1a3c5b],[this['_awaitingChangeset']],!0x1);if(g[_0x440153(0x3a8)](_0x533853)){const {c1Prime:_0x327b18,c2Prime:_0x5c5057}=_0x533853;this[_0x440153(0x125)](_0x327b18[0x0]),_0x5c5057[0x0]['baseRev']=this[_0x440153(0x488)](),this['_clearScheduledTask']();const _0x3cf07f=this[_0x440153(0x411)][_0x440153(0x1a4)](exports['AwaitingState'],this[_0x440153(0x326)],this[_0x440153(0x15b)],_0x5c5057[0x0],this[_0x440153(0x434)]);return _0x3cf07f[_0x440153(0x1dd)](),_0x3cf07f;}return this[_0x440153(0x271)](!0x1);}catch(_0x5701dd){return this['_logService'][_0x440153(0x425)](_0x5701dd),this['_onConflict'](!0x1);}}[_0x54a041(0x146)](_0x408cb8){var _0x28f2f3=_0x54a041;this[_0x28f2f3(0x1b3)]();const _0x3347b2=this[_0x28f2f3(0x3c1)]['getCurrentRevOfUnit'](this[_0x28f2f3(0x326)]);if(_0x408cb8[_0x28f2f3(0x2f8)]<_0x3347b2-0x1)return this;if(this[_0x28f2f3(0x2ba)](_0x408cb8))return this[_0x28f2f3(0x411)][_0x28f2f3(0x1a4)](exports[_0x28f2f3(0x477)],this[_0x28f2f3(0x326)],this[_0x28f2f3(0x15b)],null,[],this[_0x28f2f3(0x3ff)],[],this[_0x28f2f3(0x434)]);this[_0x28f2f3(0x1c9)]();const _0x450dec=this[_0x28f2f3(0x411)]['createInstance'](exports[_0x28f2f3(0x346)],this['unitID'],this[_0x28f2f3(0x15b)],this[_0x28f2f3(0x434)]);return _0x450dec[_0x28f2f3(0x1dd)](),_0x450dec;}[_0x54a041(0x42b)](_0x154f84){var _0x25c27d=_0x54a041;return this['_onConflict'](!!(_0x154f84!=null&&_0x154f84[_0x25c27d(0x2c4)]));}[_0x54a041(0x39c)](_0x18e329){var _0x20cb47=_0x54a041;return this[_0x20cb47(0x142)]>Nt?this['toggleOffline']():(this[_0x20cb47(0x194)]=Ot(this['_resendTimeout'],{'timeout':this[_0x20cb47(0x142)],'reqId':_0x18e329[_0x20cb47(0x306)]}),this[_0x20cb47(0x421)]=this['_resendTimer'][_0x20cb47(0x383)](({reqId:_0x53f5c2,timeout:_0xf92452})=>{var _0x202b32=_0x20cb47;this[_0x202b32(0x27c)](_0x53f5c2,_0xf92452);}),this);}[_0x54a041(0x439)](){var _0xeabc9d=_0x54a041;return this[_0xeabc9d(0x1b3)](),this[_0xeabc9d(0x411)][_0xeabc9d(0x1a4)](exports[_0xeabc9d(0x18a)],this[_0xeabc9d(0x326)],this[_0xeabc9d(0x15b)],this[_0xeabc9d(0x3ff)],[],this[_0xeabc9d(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x579f75=_0x54a041;this[_0x579f75(0x434)]['onSendChangeset'](this[_0x579f75(0x3ff)]);}[_0x54a041(0x271)](_0x255ff4){var _0x121b9b=_0x54a041;return this[_0x121b9b(0x1b3)](),this['_injector'][_0x121b9b(0x1a4)](exports[_0x121b9b(0x2ab)],this[_0x121b9b(0x326)],this[_0x121b9b(0x15b)],this[_0x121b9b(0x3ff)],[],this[_0x121b9b(0x434)],_0x255ff4);}[_0x54a041(0x27c)](_0x4b7747,_0x4a960f){var _0x1d97bd=_0x54a041,_0x1fa455;_0x4b7747===((_0x1fa455=this[_0x1d97bd(0x3ff)])==null?void 0x0:_0x1fa455['reqId'])&&(this[_0x1d97bd(0x431)](),this['_resendTimeout']=_0x4a960f===0x0?0x3e8:_0x4a960f*0x2);}['_clearScheduledTask'](){var _0x1f2cb6=_0x54a041,_0x5abe15;(_0x5abe15=this[_0x1f2cb6(0x421)])==null||_0x5abe15[_0x1f2cb6(0x2a0)](),this['_resendTimeout']=0x0;}},exports[_0x54a041(0x122)]=ce([w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x54a041(0x1ce)]),w(0x7,a[_0x54a041(0x388)]),w(0x8,g[_0x54a041(0x438)]),w(0x9,a[_0x54a041(0x249)]),w(0xa,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x122)]),exports[_0x54a041(0x356)]=class extends he{constructor(_0xc3d0c4,_0x17c270,_0x3dec93,_0x4c6539,_0x197438,_0x2b0029,_0x15a9da,_0x42d139,_0xce36fa,_0x2e1b62,_0x1b8e8d,_0x246fbf,_0x233ec0){var _0x32b3eb=_0x54a041;super(_0xc3d0c4,_0x17c270,_0x3dec93,_0x4c6539,_0x197438,_0xce36fa,_0x246fbf,_0x42d139,_0x233ec0),P(this,_0x32b3eb(0x335),_0x32b3eb(0x154)),P(this,_0x32b3eb(0x142),0x0),P(this,_0x32b3eb(0x194)),P(this,_0x32b3eb(0x421)),(this['_injector']=_0x15a9da,this[_0x32b3eb(0x40c)]=_0x2e1b62,this[_0x32b3eb(0x430)]=_0x1b8e8d,this[_0x32b3eb(0x262)]=_0x233ec0,_0x2b0029&&(this[_0x32b3eb(0x194)]=_0x2b0029,this['_sender']=this[_0x32b3eb(0x194)][_0x32b3eb(0x383)](({reqId:_0x5eaf31,timeout:_0x56818e})=>{var _0x45cc80=_0x32b3eb;this[_0x45cc80(0x27c)](_0x5eaf31,_0x56818e);})));}[_0x54a041(0x19b)](_0x134c15){var _0x4116e1=_0x54a041;return this[_0x4116e1(0x294)][_0x4116e1(0x473)](_0x134c15),this;}['onRemoteChangeset'](_0x1c08f9){var _0x5bdbf8=_0x54a041;if(this[_0x5bdbf8(0x2ba)](_0x1c08f9))return this[_0x5bdbf8(0x1b3)](),this[_0x5bdbf8(0x411)][_0x5bdbf8(0x1a4)](exports[_0x5bdbf8(0x477)],this['unitID'],this[_0x5bdbf8(0x15b)],this[_0x5bdbf8(0x3ff)],this[_0x5bdbf8(0x294)],null,[_0x1c08f9],this[_0x5bdbf8(0x434)]);try{const _0x1a44bf=this['_transformService'][_0x5bdbf8(0x179)]([_0x1c08f9],[this[_0x5bdbf8(0x3ff)]],!0x1);if(g[_0x5bdbf8(0x3a8)](_0x1a44bf)){const {c1Prime:_0x5087fb,c2Prime:_0xe4214f}=_0x1a44bf,_0x485ff5=this[_0x5bdbf8(0x430)]['transformMutationsWithChangeset'](_0x5087fb[0x0],this[_0x5bdbf8(0x294)]);if(g[_0x5bdbf8(0x38a)](_0x485ff5)){const {c1Prime:_0x1880a9,m2Prime:_0x2709c2}=_0x485ff5;return this[_0x5bdbf8(0x125)](_0x1880a9),_0xe4214f[0x0][_0x5bdbf8(0x219)]=this[_0x5bdbf8(0x488)](),this[_0x5bdbf8(0x1b3)](),this[_0x5bdbf8(0x411)][_0x5bdbf8(0x1a4)](exports['AwaitingWithPendingState'],this[_0x5bdbf8(0x326)],this[_0x5bdbf8(0x15b)],_0xe4214f[0x0],_0x2709c2,this[_0x5bdbf8(0x434)],void 0x0);}throw _0x485ff5[_0x5bdbf8(0x425)];}throw _0x1a44bf['error'];}catch(_0x3792e7){return this['_logService'][_0x5bdbf8(0x425)](_0x3792e7),this[_0x5bdbf8(0x271)](!0x1);}}[_0x54a041(0x146)](_0x26ee89){var _0x2a6a84=_0x54a041;if(this[_0x2a6a84(0x1b3)](),this[_0x2a6a84(0x2ba)](_0x26ee89))return this[_0x2a6a84(0x411)][_0x2a6a84(0x1a4)](exports[_0x2a6a84(0x477)],this['unitID'],this[_0x2a6a84(0x15b)],null,this[_0x2a6a84(0x294)],this['_awaitingChangeset'],[],this['_handler']);this[_0x2a6a84(0x1c9)]();const _0x1fa4f6=this[_0x2a6a84(0x411)][_0x2a6a84(0x1a4)](exports[_0x2a6a84(0x1a6)],this[_0x2a6a84(0x326)],this['type'],this[_0x2a6a84(0x294)],this[_0x2a6a84(0x434)]);return _0x1fa4f6[_0x2a6a84(0x316)](),_0x1fa4f6['_updateLocalCache'](),_0x1fa4f6;}[_0x54a041(0x42b)](_0x16837c){var _0x59bad2=_0x54a041;return this['_onConflict'](!!(_0x16837c!=null&&_0x16837c[_0x59bad2(0x2c4)]));}[_0x54a041(0x39c)](_0x303d53){var _0x3c1289=_0x54a041;return this['_resendTimeout']>Nt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x3c1289(0x142)],{'timeout':this[_0x3c1289(0x142)],'reqId':_0x303d53[_0x3c1289(0x306)]}),this['_sender']=this[_0x3c1289(0x194)]['subscribe'](({reqId:_0x77a3a9,timeout:_0x4e60df})=>{this['_resendWithTimeout'](_0x77a3a9,_0x4e60df);}),this);}[_0x54a041(0x439)](){var _0x259a88=_0x54a041;return this[_0x259a88(0x1b3)](),this[_0x259a88(0x411)][_0x259a88(0x1a4)](exports[_0x259a88(0x18a)],this['unitID'],this[_0x259a88(0x15b)],this[_0x259a88(0x3ff)],this['_pendingMutations'],this[_0x259a88(0x434)]);}[_0x54a041(0x486)](){return this;}['resend'](){var _0x174ac7=_0x54a041;this[_0x174ac7(0x434)][_0x174ac7(0x292)](this[_0x174ac7(0x3ff)]);}[_0x54a041(0x271)](_0x3317a2){var _0x314b4d=_0x54a041;return this['_clearScheduledTask'](),this['_injector'][_0x314b4d(0x1a4)](exports[_0x314b4d(0x2ab)],this[_0x314b4d(0x326)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x3317a2);}[_0x54a041(0x27c)](_0x1a6a4b,_0xd690ee){var _0x292491=_0x54a041,_0x33cba6;_0x1a6a4b===((_0x33cba6=this[_0x292491(0x3ff)])==null?void 0x0:_0x33cba6['reqId'])&&(this[_0x292491(0x431)](),this[_0x292491(0x142)]=_0xd690ee===0x0?0x3e8:_0xd690ee*0x2);}['_clearScheduledTask'](){var _0xa7f920=_0x54a041,_0x16a966;(_0x16a966=this[_0xa7f920(0x421)])==null||_0x16a966[_0xa7f920(0x2a0)](),this[_0xa7f920(0x142)]=0x0;}},exports[_0x54a041(0x356)]=ce([w(0x6,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x7,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x8,a[_0x54a041(0x1ce)]),w(0x9,a[_0x54a041(0x388)]),w(0xa,g[_0x54a041(0x438)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x356)]),exports[_0x54a041(0x2ab)]=class extends he{constructor(_0x305799,_0x3e5547,_0x32c621,_0x344cc7,_0x137b5b,_0x4513e9=!0x1,_0x1d9136,_0x4914d9,_0x1b8b02,_0x516a88,_0x17c93e,_0x38add5,_0x1d74cd){var _0x28f20f=_0x54a041;super(_0x305799,_0x3e5547,_0x32c621,_0x344cc7,_0x137b5b,_0x4914d9,_0x1b8b02,_0x516a88,_0x1d74cd),P(this,_0x28f20f(0x335),_0x28f20f(0x363)),(this[_0x28f20f(0x284)]=_0x4513e9,this['_permissionService']=_0x1d9136,this['_localeService']=_0x17c93e,this[_0x28f20f(0x259)]=_0x38add5,this[_0x28f20f(0x262)]=_0x1d74cd,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x54a041(0x19b)](){return this;}[_0x54a041(0x403)](){return this;}[_0x54a041(0x146)](){return this;}[_0x54a041(0x42b)](){return this;}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){return this;}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x11da85=_0x54a041;throw new Error(_0x11da85(0x16c));}[_0x54a041(0x203)](){var _0x520516=_0x54a041,_0x5897b6;(_0x5897b6=this[_0x520516(0x18e)])==null||_0x5897b6[_0x520516(0x15d)](this[_0x520516(0x326)],this[_0x520516(0x15b)],null,[]);}[_0x54a041(0x342)](){var _0x382fc0=_0x54a041;this[_0x382fc0(0x284)]?this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x382fc0(0x3e9)]}):this[_0x382fc0(0x259)][_0x382fc0(0x27b)]({'id':Q[_0x382fc0(0x35f)]});}['_disableEditing'](){var _0x444fab=_0x54a041;this['_permissionService'][_0x444fab(0x43c)](new Z[(_0x444fab(0x21f))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a['Inject'](a[_0x54a041(0x1ab)])),w(0x7,a[_0x54a041(0x1ce)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a['Inject'](te)),w(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x2ab)]),exports[_0x54a041(0x18a)]=class extends he{constructor(_0x3d3c81,_0x1c0477,_0x20d394,_0x3a2b3d,_0x2c15f3,_0x3f45cf,_0x3436f2,_0x2aefcd,_0x4dcc43,_0x44d4c9){var _0x42ffa6=_0x54a041;super(_0x3d3c81,_0x1c0477,_0x20d394,_0x3a2b3d,_0x2c15f3,_0x2aefcd,_0x4dcc43,_0x3436f2,_0x44d4c9),P(this,'status',_0x42ffa6(0x1ba)),this[_0x42ffa6(0x411)]=_0x3f45cf;}[_0x54a041(0x19b)](_0x3f5ca7){var _0x3bee23=_0x54a041;return this[_0x3bee23(0x294)][_0x3bee23(0x473)](_0x3f5ca7),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5cd0fe){var _0x490942=_0x54a041;throw new Error(_0x490942(0x1a7));}[_0x54a041(0x146)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x54a041(0x42b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){return this;}[_0x54a041(0x486)](){var _0x4e8d1b=_0x54a041;const {_injector:_0x5e3d27,_pendingMutations:_0x265fb3,_awaitingChangeset:_0x558d3d,unitID:_0x7feec8,_handler:_0x5b30c8,type:_0x2e29bd}=this,_0x562869=Dt(_0x5e3d27,_0x7feec8,_0x2e29bd,_0x558d3d,_0x265fb3,_0x5b30c8);return _0x562869 instanceof exports[_0x4e8d1b(0x1a6)]?_0x562869[_0x4e8d1b(0x316)]():(_0x562869 instanceof exports[_0x4e8d1b(0x356)]||_0x562869 instanceof exports['AwaitingState'])&&_0x562869['resend'](),_0x562869;}['resend'](){var _0x4d9f49=_0x54a041;throw new Error(_0x4d9f49(0x2e4));}},exports[_0x54a041(0x18a)]=ce([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x7,a[_0x54a041(0x1ce)]),w(0x8,a[_0x54a041(0x249)]),w(0x9,a[_0x54a041(0x30b)](z))],exports['OfflineState']),exports[_0x54a041(0x477)]=class extends he{constructor(_0x5050a4,_0x30102b,_0x299ce3,_0x3c57ad,_0x19fcc0,_0x52fa62,_0x543c76,_0x16ec67,_0x28dac0,_0x2fbf07,_0x18f579,_0x21f201,_0x5b948b,_0x9af21b){var _0x1a62ce=_0x54a041;super(_0x5050a4,_0x30102b,_0x299ce3,_0x3c57ad,_0x543c76,_0x18f579,_0x21f201,_0x28dac0,_0x9af21b),P(this,_0x1a62ce(0x335),_0x1a62ce(0x2de)),(this[_0x1a62ce(0x3db)]=_0x19fcc0,this['_queuedRemoteChangesets']=_0x52fa62,this[_0x1a62ce(0x411)]=_0x16ec67,this['_logService']=_0x2fbf07,this[_0x1a62ce(0x430)]=_0x5b948b,this['localCacheService']=_0x9af21b);}[_0x54a041(0x370)](_0x1ec6ac){var _0x42757f=_0x54a041;try{const _0x3846ad=[..._0x1ec6ac,...this[_0x42757f(0x41c)]],_0x2ab81c=[this[_0x42757f(0x3ff)]||this[_0x42757f(0x3db)]][_0x42757f(0x27d)](_0x292e14=>!!_0x292e14);let _0x1e878a,_0x2015b8;if(_0x2ab81c[_0x42757f(0x389)]){const _0x271774=this['_transformService']['transformChangesets'](_0x3846ad,_0x2ab81c,!0x1);if(!g[_0x42757f(0x3a8)](_0x271774))throw _0x271774[_0x42757f(0x425)];_0x1e878a=_0x271774['c1Prime'],_0x2015b8=_0x271774['c2Prime'];}else _0x1e878a=_0x3846ad,_0x2015b8=[];let _0x295c0a=this[_0x42757f(0x294)];_0x1e878a[_0x42757f(0x176)](_0x3dfcf9=>{var _0x181b9f=_0x42757f;let _0x20923b;if(_0x295c0a[_0x181b9f(0x389)]){const _0x111165=this[_0x181b9f(0x430)][_0x181b9f(0x3f7)](_0x3dfcf9,_0x295c0a);if(!g[_0x181b9f(0x38a)](_0x111165))throw _0x111165['error'];_0x20923b=_0x111165[_0x181b9f(0x38d)],_0x295c0a=_0x111165[_0x181b9f(0x1d2)];}else _0x20923b=_0x3dfcf9;this[_0x181b9f(0x125)](_0x20923b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x42757f(0x1c9)](),this[_0x42757f(0x3ff)]&&_0x2015b8['length']&&(_0x2015b8[0x0]['baseRev']=this[_0x42757f(0x488)]());let _0x2457a4;if(this[_0x42757f(0x3ff)]&&_0x295c0a[_0x42757f(0x389)]!==0x0)_0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x356)],this['unitID'],this[_0x42757f(0x15b)],_0x2015b8[0x0],_0x295c0a,this[_0x42757f(0x434)],void 0x0);else{if(this['_awaitingChangeset']&&_0x295c0a['length']===0x0)_0x2015b8[0x0][_0x42757f(0x219)]=this[_0x42757f(0x488)](),_0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x122)],this['unitID'],this[_0x42757f(0x15b)],_0x2015b8[0x0],this[_0x42757f(0x434)]);else{if(_0x295c0a[_0x42757f(0x389)]!==0x0){const _0x2a468c=this[_0x42757f(0x411)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x42757f(0x15b)],_0x295c0a,this[_0x42757f(0x434)]);_0x2a468c[_0x42757f(0x316)](),_0x2457a4=_0x2a468c;}else _0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x346)],this[_0x42757f(0x326)],this[_0x42757f(0x15b)],this[_0x42757f(0x434)]);}}return _0x2457a4[_0x42757f(0x1dd)](),_0x2457a4;}catch(_0x25edee){return this[_0x42757f(0x40c)][_0x42757f(0x425)](_0x42757f(0x457),'failed\x20to\x20apply\x20missed\x20changesets!',_0x25edee),this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x2ab)],this[_0x42757f(0x326)],this[_0x42757f(0x15b)],this[_0x42757f(0x3ff)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x54a041(0x431)](){var _0x5a911b=_0x54a041;throw new Error(_0x5a911b(0x40e));}[_0x54a041(0x19b)](_0x26f5b6){var _0x467650=_0x54a041;return this[_0x467650(0x294)][_0x467650(0x473)](_0x26f5b6),this;}[_0x54a041(0x403)](_0x210ef6){var _0x552c04=_0x54a041;return this[_0x552c04(0x41c)][_0x552c04(0x473)](_0x210ef6),this;}[_0x54a041(0x146)](_0x45611e){var _0x81deef=_0x54a041;if(this[_0x81deef(0x3ff)])return this[_0x81deef(0x3db)]=this[_0x81deef(0x3ff)],this[_0x81deef(0x3ff)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x54a041(0x42b)](_0x4cad5f){var _0x13cbd7=_0x54a041;return this[_0x13cbd7(0x271)](!!(_0x4cad5f!=null&&_0x4cad5f[_0x13cbd7(0x2c4)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x37f312=_0x54a041;return this[_0x37f312(0x411)][_0x37f312(0x1a4)](exports[_0x37f312(0x18a)],this[_0x37f312(0x326)],this[_0x37f312(0x15b)],this[_0x37f312(0x3ff)],this[_0x37f312(0x294)],this[_0x37f312(0x434)]);}[_0x54a041(0x486)](){return this;}['_onConflict'](_0x231403){var _0x8c1fb0=_0x54a041;return this[_0x8c1fb0(0x411)][_0x8c1fb0(0x1a4)](exports[_0x8c1fb0(0x2ab)],this[_0x8c1fb0(0x326)],this[_0x8c1fb0(0x15b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x8c1fb0(0x434)],_0x231403);}},exports[_0x54a041(0x477)]=ce([w(0x7,a['Inject'](a[_0x54a041(0x3d4)])),w(0x8,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x9,a[_0x54a041(0x388)]),w(0xa,a[_0x54a041(0x1ce)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x54a041(0x438)]),w(0xd,a['Optional'](z))],exports[_0x54a041(0x477)]);function Dt(_0xbe8504,_0x3c5717,_0x2cdf88,_0x57b4d0,_0x81d486,_0xf98a){var _0x4e7b67=_0x54a041;return _0x57b4d0&&_0x81d486[_0x4e7b67(0x389)]?_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x356)],_0x3c5717,_0x2cdf88,_0x57b4d0,_0x81d486,_0xf98a,void 0x0):_0x57b4d0?_0xbe8504['createInstance'](exports['AwaitingState'],_0x3c5717,_0x2cdf88,_0x57b4d0,_0xf98a):_0x81d486[_0x4e7b67(0x389)]?_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x1a6)],_0x3c5717,_0x2cdf88,_0x81d486,_0xf98a):_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x346)],_0x3c5717,_0x2cdf88,_0xf98a);}var Ci=Object[_0x54a041(0x2be)],Ge=(_0xd27664,_0x540538,_0x524635,_0x5aac61)=>{var _0x3be1fd=_0x54a041;for(var _0x32d7f5=_0x5aac61>0x1?void 0x0:_0x5aac61?Ci(_0x540538,_0x524635):_0x540538,_0x1daba4=_0xd27664[_0x3be1fd(0x389)]-0x1,_0x1b9039;_0x1daba4>=0x0;_0x1daba4--)(_0x1b9039=_0xd27664[_0x1daba4])&&(_0x32d7f5=_0x1b9039(_0x32d7f5)||_0x32d7f5);return _0x32d7f5;},$=(_0x4dff7b,_0x55e547)=>(_0x308196,_0x35a72c)=>_0x55e547(_0x308196,_0x35a72c,_0x4dff7b);exports[_0x54a041(0x41f)]=class extends a[_0x54a041(0x3d1)]{constructor(_0x3b049c,_0x205ca8,_0x283c80,_0x2e0fe6,_0x450afc,_0x6926f4,_0x5aed7c,_0x175795,_0x325b17,_0x424440,_0x5b4dd7,_0x5469b2,_0x575b62){var _0xdedb4c=_0x54a041;super(),P(this,_0xdedb4c(0x34a),new j[(_0xdedb4c(0x458))](null)),P(this,'state$',this[_0xdedb4c(0x34a)][_0xdedb4c(0x2df)]()),P(this,_0xdedb4c(0x1cb)),P(this,_0xdedb4c(0x151),!0x1),P(this,_0xdedb4c(0x41d),''),P(this,_0xdedb4c(0x2fc),0x0),P(this,'status$',this[_0xdedb4c(0x1c0)][_0xdedb4c(0x13f)](j[_0xdedb4c(0x332)](_0x1d2f5f=>_0x1d2f5f?_0x1d2f5f[_0xdedb4c(0x335)]:We[_0xdedb4c(0x1cc)]),j[_0xdedb4c(0x17d)](0x1))),P(this,_0xdedb4c(0x1b7),!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0xdedb4c(0x326)]=_0x3b049c,this[_0xdedb4c(0x2e6)]=_0x205ca8,this[_0xdedb4c(0x2f4)]=_0x283c80,this['_injector']=_0x2e0fe6,this[_0xdedb4c(0x405)]=_0x450afc,this['_localeService']=_0x6926f4,this[_0xdedb4c(0x3c1)]=_0x5aed7c,this[_0xdedb4c(0x3f6)]=_0x175795,this['_logService']=_0x325b17,this[_0xdedb4c(0x172)]=_0x424440,this[_0xdedb4c(0x227)]=_0x5b4dd7,this[_0xdedb4c(0x183)]=_0x5469b2,this[_0xdedb4c(0x18e)]=_0x575b62);}get[_0x54a041(0x26a)](){var _0x4d7870=_0x54a041;return this[_0x4d7870(0x1cb)];}async['init'](){var _0x512e63=_0x54a041;if(this['state'])throw new Error(_0x512e63(0x3e8));await this['_init']();}['pauseCollaboration'](){var _0xed7c71=_0x54a041;return this[_0xed7c71(0x151)]=!0x0,a[_0xed7c71(0x256)](()=>{var _0x55f944=_0xed7c71;this[_0x55f944(0x151)]=!0x1,this[_0x55f944(0x330)]();});}[_0x54a041(0x237)](_0x6c3ca1){var _0x2c6f1f=_0x54a041;this[_0x2c6f1f(0x23d)](_0x6c3ca1);}['_updateState'](_0x4f37a1){var _0x45a663=_0x54a041;this[_0x45a663(0x1cb)]=_0x4f37a1,this['_state$'][_0x45a663(0x2db)](_0x4f37a1);}async[_0x54a041(0x45d)](){var _0x3adde2=_0x54a041,_0x10246a;this[_0x3adde2(0x400)](await this[_0x3adde2(0x157)]()),this[_0x3adde2(0x183)]&&((_0x10246a=this[_0x3adde2(0x183)])==null||_0x10246a[_0x3adde2(0x358)](this[_0x3adde2(0x326)]),this[_0x3adde2(0x182)](this[_0x3adde2(0x183)]['getUnitStatus$'](this[_0x3adde2(0x326)])[_0x3adde2(0x383)](_0x19c70a=>{var _0x4011f4=_0x3adde2;this[_0x4011f4(0x40c)][_0x4011f4(0x402)](_0x4011f4(0x35a),'editing\x20status\x20changed\x20to',_0x19c70a),_0x19c70a===Fe[_0x4011f4(0x3d7)]?(this['_eventService'][_0x4011f4(0x27b)]({'id':Q[_0x4011f4(0x232)]}),this[_0x4011f4(0x227)][_0x4011f4(0x43c)](new Z[(_0x4011f4(0x21f))](this['unitID'])['id'],!0x1),this[_0x4011f4(0x227)][_0x4011f4(0x416)](!0x1)):(this['_permissionService'][_0x4011f4(0x43c)](new Z[(_0x4011f4(0x21f))](this[_0x4011f4(0x326)])['id'],!0x0),this[_0x4011f4(0x227)][_0x4011f4(0x416)](!0x0));})));let _0xb96418=!0x1;return this[_0x3adde2(0x182)](this[_0x3adde2(0x2e6)][_0x3adde2(0x328)]['subscribe'](_0x2fe764=>{var _0x55bfc4=_0x3adde2;_0x2fe764===se[_0x55bfc4(0x2e5)]?this[_0x55bfc4(0x1b5)](_0xb96418):_0x2fe764===se['OFFLINE']&&(_0xb96418=!0x0,this[_0x55bfc4(0x1e3)]());})),this[_0x3adde2(0x182)](this[_0x3adde2(0x2e6)][_0x3adde2(0x247)][_0x3adde2(0x383)](_0x4d8577=>{var _0x7dda48=_0x3adde2;try{switch(_0x4d8577[_0x7dda48(0x392)]){case g[_0x7dda48(0x252)][_0x7dda48(0x1a5)]:{this[_0x7dda48(0x2f6)](g[_0x7dda48(0x231)](_0x4d8577[_0x7dda48(0x276)]));break;}case g[_0x7dda48(0x252)][_0x7dda48(0x311)]:{this[_0x7dda48(0x3b6)](_0x4d8577['data']);break;}case g[_0x7dda48(0x252)]['CHANGESET_REJ']:{this[_0x7dda48(0x3bb)]();break;}case g[_0x7dda48(0x252)]['CHANGESET_SHOULD_RETRY']:{this[_0x7dda48(0x2a5)](_0x4d8577['data']);break;}case g[_0x7dda48(0x252)][_0x7dda48(0x396)]:{this['_onFetchMissResult'](_0x4d8577[_0x7dda48(0x276)]['changesets']['map'](_0x2984a7=>g[_0x7dda48(0x231)](_0x2984a7)));break;}case g['CollaborationEvent'][_0x7dda48(0x303)]:{this[_0x7dda48(0x3bb)]({'isPermissionRej':!0x0});break;}case g[_0x7dda48(0x252)][_0x7dda48(0x337)]:break;}}catch(_0x68b94c){throw console[_0x7dda48(0x425)](_0x7dda48(0x3fb),_0x68b94c),_0x68b94c;}})),this['_state'];}[_0x54a041(0x3d6)](){var _0x38ef86=_0x54a041;this[_0x38ef86(0x1b7)]=!0x1;}[_0x54a041(0x2e9)](){var _0x12742b=_0x54a041;if(this[_0x12742b(0x1b7)])throw new Error(_0x12742b(0x285));this[_0x12742b(0x1b7)]=!0x0;}[_0x54a041(0x23d)](_0x2be3f6){var _0x20908e=_0x54a041;this[_0x20908e(0x2e9)](),this[_0x20908e(0x400)](this['_state'][_0x20908e(0x19b)](_0x2be3f6)),this[_0x20908e(0x3d6)]();}[_0x54a041(0x2f6)](_0x3b41c2){var _0x1d292e=_0x54a041;if(!(_0x3b41c2[_0x1d292e(0x2f8)]<=this[_0x1d292e(0x3c1)][_0x1d292e(0x217)](this[_0x1d292e(0x326)]))){if(this['_collaborationPaused']){this[_0x1d292e(0x1eb)][_0x1d292e(0x473)](_0x3b41c2);return;}this['_applyRemoteChangeset'](_0x3b41c2);}}['_exhaustRemoteChangesetQueue'](){var _0x37085c=_0x54a041;this[_0x37085c(0x1eb)]['forEach'](_0x2faab8=>this[_0x37085c(0x2c6)](_0x2faab8)),this[_0x37085c(0x1eb)]=[];}[_0x54a041(0x2c6)](_0x2a1181){var _0x53352d=_0x54a041;const _0x47ffad=this['_compressMutationService'][_0x53352d(0x409)]['fetchThroughInterceptors'](this[_0x53352d(0x405)]['interceptor']['getInterceptPoints']()[_0x53352d(0x245)])(_0x2a1181[_0x53352d(0x41b)],null)||_0x2a1181[_0x53352d(0x41b)],_0x1e0414={..._0x2a1181,'mutations':_0x47ffad};this[_0x53352d(0x2e9)](),this[_0x53352d(0x400)](this['_state']['onRemoteChangeset'](_0x1e0414)),this[_0x53352d(0x3d6)]();}[_0x54a041(0x3b6)](_0x182061){var _0x10108a=_0x54a041;this[_0x10108a(0x2e9)](),this[_0x10108a(0x400)](this[_0x10108a(0x1cb)][_0x10108a(0x146)](_0x182061)),this['_unlockTransition']();}[_0x54a041(0x3bb)](_0x1fe3e4){var _0x372354=_0x54a041;this['_lockTransition'](),this[_0x372354(0x400)](this[_0x372354(0x1cb)][_0x372354(0x42b)](_0x1fe3e4)),this['_unlockTransition']();}['_onRemoteRetry'](_0x192b91){var _0x54d8fa=_0x54a041;this[_0x54d8fa(0x2e9)](),this[_0x54d8fa(0x400)](this[_0x54d8fa(0x1cb)]['onRemoteRetry'](_0x192b91)),this[_0x54d8fa(0x3d6)]();}['_onFetchMissResult'](_0x908809){var _0x523614=_0x54a041;if(!(this['_state']instanceof exports[_0x523614(0x477)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x55ce4d=_0x908809['map'](_0x1f03b8=>{var _0x558373=_0x523614;const _0x2280fa=this['_compressMutationService'][_0x558373(0x409)][_0x558373(0x1c5)](this[_0x558373(0x405)][_0x558373(0x409)][_0x558373(0x180)]()[_0x558373(0x245)])(_0x1f03b8[_0x558373(0x41b)],null)||_0x1f03b8[_0x558373(0x41b)];return{..._0x1f03b8,'mutations':_0x2280fa};});this[_0x523614(0x2e9)](),this[_0x523614(0x400)](this[_0x523614(0x1cb)][_0x523614(0x370)](_0x55ce4d)),this[_0x523614(0x3d6)]();}[_0x54a041(0x1e3)](){var _0x282084=_0x54a041;this[_0x282084(0x2e9)](),this[_0x282084(0x400)](this[_0x282084(0x1cb)][_0x282084(0x439)]()),this[_0x282084(0x3d6)]();}[_0x54a041(0x1b5)](_0x2fee28=!0x1){var _0x22cfbb=_0x54a041;this[_0x22cfbb(0x2e9)](),this[_0x22cfbb(0x400)](this[_0x22cfbb(0x1cb)]['toggleOnline']()),this['_unlockTransition']();const _0xc216ac=this['_state'];_0x2fee28&&_0xc216ac instanceof exports['SyncedState']&&(this[_0x22cfbb(0x2e9)](),this[_0x22cfbb(0x400)](_0xc216ac[_0x22cfbb(0x2f2)]()),this['_unlockTransition']());}async[_0x54a041(0x157)](){return new Promise(_0x2e182a=>{var _0x3f1c6e=_0x741b;this[_0x3f1c6e(0x2e6)][_0x3f1c6e(0x328)][_0x3f1c6e(0x13f)](j['take'](0x1))[_0x3f1c6e(0x383)](async _0x1d7a16=>{var _0x157122=_0x3f1c6e;_0x2e182a(await this[_0x157122(0x2bc)](_0x1d7a16===se[_0x157122(0x2e5)]));});});}[_0x54a041(0x177)](){var _0x10c220=_0x54a041;const _0x43a0b1=this[_0x10c220(0x326)];return{'onStateChange':(_0x1078fc,_0xc3a81c)=>{var _0x35ce12=_0x10c220;if(_0x1078fc!==this[_0x35ce12(0x1cb)])throw new Error(_0x35ce12(0x40a)+_0x1078fc[_0x35ce12(0x335)]+_0x35ce12(0x1ff)+_0xc3a81c[_0x35ce12(0x335)]+_0x35ce12(0x3cc)+this[_0x35ce12(0x1cb)][_0x35ce12(0x335)]);this['_updateState'](_0xc3a81c);},'onSendChangeset':_0x48feff=>{var _0x563aa6=_0x10c220;_0x48feff['sid']||(_0x48feff['sid']=this[_0x563aa6(0x41d)],_0x48feff[_0x563aa6(0x306)]=++this['_changesetReqId']);const _0x4ede04={'eventID':g[_0x563aa6(0x252)][_0x563aa6(0x344)],'data':{'unitID':_0x48feff[_0x563aa6(0x326)],'unitType':this['_type'],'changeset':_0x48feff,'memberID':this[_0x563aa6(0x2e6)][_0x563aa6(0x437)]()}};this['session'][_0x563aa6(0x132)](_0x4ede04,this['unitID']);},'onMissingChangesets':({from:_0x3ac5dd,to:_0x119d7b})=>{var _0x488f85=_0x10c220;this['_logService']['debug'](_0x488f85(0x35a),_0x488f85(0x130)+_0x3ac5dd+'\x20to\x20'+_0x119d7b);const _0x35210c={'eventID':g[_0x488f85(0x252)][_0x488f85(0x395)],'data':{'unitID':_0x43a0b1,'unitType':this[_0x488f85(0x2f4)],'from':_0x3ac5dd,'to':_0x119d7b}};this[_0x488f85(0x2e6)][_0x488f85(0x132)](_0x35210c,this[_0x488f85(0x326)]);}};}async['_createInitialStateImpl'](_0x5ece8e){var _0x44e362=_0x54a041,_0x4688d3,_0x23b035,_0x36d754;const _0x21320a=await((_0x4688d3=this[_0x44e362(0x18e)])==null?void 0x0:_0x4688d3[_0x44e362(0x42c)](this[_0x44e362(0x326)])),_0x295ddc=(_0x23b035=_0x21320a==null?void 0x0:_0x21320a[_0x44e362(0x41b)])!=null?_0x23b035:[],_0xd3cc0=(_0x36d754=_0x21320a==null?void 0x0:_0x21320a[_0x44e362(0x11f)])!=null?_0x36d754:null,_0x225093=!!(_0xd3cc0!=null&&_0xd3cc0['sid'])&&!!(_0xd3cc0!=null&&_0xd3cc0[_0x44e362(0x306)]);this[_0x44e362(0x41d)]=_0x225093?_0xd3cc0[_0x44e362(0x31c)]:di(),this[_0x44e362(0x2fc)]=_0x225093?_0xd3cc0[_0x44e362(0x306)]:0x0;const _0xb449da=this['unitID'];try{this[_0x44e362(0x38f)](_0xd3cc0,_0x295ddc);}catch(_0x2a6969){this[_0x44e362(0x40c)][_0x44e362(0x425)](_0x2a6969);}const _0xaf4e0c=this[_0x44e362(0x177)]();if(_0x5ece8e){const _0x46fe76=Dt(this[_0x44e362(0x411)],_0xb449da,this['_type'],_0xd3cc0,_0x295ddc,_0xaf4e0c);return _0x46fe76 instanceof exports[_0x44e362(0x1a6)]?_0x46fe76[_0x44e362(0x316)]():(_0x46fe76 instanceof exports[_0x44e362(0x356)]||_0x46fe76 instanceof exports[_0x44e362(0x122)])&&_0x46fe76[_0x44e362(0x431)](),_0x46fe76;}return this[_0x44e362(0x411)][_0x44e362(0x1a4)](exports[_0x44e362(0x18a)],_0xb449da,this[_0x44e362(0x2f4)],_0xd3cc0,_0x295ddc,_0xaf4e0c);}[_0x54a041(0x38f)](_0x1debc8,_0x276558){var _0x4c990a=_0x54a041,_0x31ff2f,_0x45b50e;const _0x2d324b=this[_0x4c990a(0x405)][_0x4c990a(0x409)]['fetchThroughInterceptors'](this[_0x4c990a(0x405)][_0x4c990a(0x409)]['getInterceptPoints']()[_0x4c990a(0x245)]);(_0x31ff2f=_0x2d324b((_0x1debc8==null?void 0x0:_0x1debc8['mutations'])||[],null))==null||_0x31ff2f['forEach'](_0x25b955=>this[_0x4c990a(0x172)]['executeCommand'](_0x25b955['id'],_0x25b955[_0x4c990a(0x124)])),(_0x45b50e=_0x2d324b(_0x276558||[],null))==null||_0x45b50e[_0x4c990a(0x176)](_0x49cab9=>this[_0x4c990a(0x172)][_0x4c990a(0x19e)](_0x49cab9['id'],_0x49cab9[_0x4c990a(0x124)]));}},exports[_0x54a041(0x41f)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),$(0x4,a[_0x54a041(0x3fe)](g[_0x54a041(0x2b6)])),$(0x5,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)])),$(0x6,a[_0x54a041(0x3fe)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x54a041(0x388)]),$(0x9,a['ICommandService']),$(0xa,a[_0x54a041(0x1ab)]),$(0xb,a[_0x54a041(0x30b)](ve)),$(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x41f)]),exports[_0x54a041(0x45a)]=class extends exports[_0x54a041(0x41f)]{constructor(_0x7683cd,_0x1ad898,_0x56f1ec,_0x74ff3e,_0x1adf89,_0x7bbc8a,_0xbaccce,_0x565b35,_0x4f1767,_0x459546,_0x131ecb,_0x256cd6,_0x107032){var _0xca9bd6=_0x54a041;super(_0x7683cd,_0x56f1ec,_0x1ad898,_0x74ff3e,_0x1adf89,_0x7bbc8a,_0xbaccce,_0x565b35,_0x4f1767,_0x459546,_0x131ecb,_0x256cd6,_0x107032),P(this,_0xca9bd6(0x258),null),(this[_0xca9bd6(0x326)]=_0x7683cd,this['type']=_0x1ad898);}[_0x54a041(0x2c1)](_0x542fea){var _0x569d7d=_0x54a041;this[_0x569d7d(0x258)]=_0x542fea;}[_0x54a041(0x123)](){var _0x794709=_0x54a041;this['_handlerCallback']=null,super[_0x794709(0x123)]();}[_0x54a041(0x177)](){var _0x310d48=_0x54a041;const _0x554b94=super['_createHandler']();return _0x554b94[_0x310d48(0x12b)]=_0x25df05=>{var _0x592312=_0x310d48,_0x426301,_0x374fcd;return(_0x374fcd=(_0x426301=this[_0x592312(0x258)])==null?void 0x0:_0x426301[_0x592312(0x12b)])==null?void 0x0:_0x374fcd[_0x592312(0x1ae)](_0x426301,_0x25df05);},_0x554b94['onTransformState']=_0x5f4a1c=>{var _0x7b63ac=_0x310d48,_0x2760c9,_0x4266f0;return(_0x4266f0=(_0x2760c9=this['_handlerCallback'])==null?void 0x0:_0x2760c9[_0x7b63ac(0x37f)])==null?void 0x0:_0x4266f0[_0x7b63ac(0x1ae)](_0x2760c9,_0x5f4a1c);},_0x554b94[_0x310d48(0x1ad)]=_0x4c58fd=>{var _0x25d51f=_0x310d48,_0x4edb52,_0x267ec8;return(_0x267ec8=(_0x4edb52=this[_0x25d51f(0x258)])==null?void 0x0:_0x4edb52[_0x25d51f(0x1ad)])==null?void 0x0:_0x267ec8[_0x25d51f(0x1ae)](_0x4edb52,_0x4c58fd);},_0x554b94[_0x310d48(0x426)]=_0x5c4f70=>{var _0x2c2d8f=_0x310d48,_0x2a30ac,_0x5c9eda;return(_0x5c9eda=(_0x2a30ac=this[_0x2c2d8f(0x258)])==null?void 0x0:_0x2a30ac[_0x2c2d8f(0x426)])==null?void 0x0:_0x5c9eda[_0x2c2d8f(0x1ae)](_0x2a30ac,_0x5c4f70);},_0x554b94[_0x310d48(0x16a)]=_0x592cee=>{var _0x43665a=_0x310d48,_0x14c462,_0x3eee2a,_0xb16169;if(!((_0x14c462=this[_0x43665a(0x258)])!=null&&_0x14c462[_0x43665a(0x16a)]))throw new Error(_0x43665a(0x428));return(_0xb16169=(_0x3eee2a=this['_handlerCallback'])==null?void 0x0:_0x3eee2a[_0x43665a(0x16a)])==null?void 0x0:_0xb16169[_0x43665a(0x1ae)](_0x3eee2a,_0x592cee);},_0x554b94[_0x310d48(0x1db)]=_0x4034e6=>{var _0x37a2ef=_0x310d48,_0x578473,_0x5c86bf,_0xaeb76f;if(!((_0x578473=this[_0x37a2ef(0x258)])!=null&&_0x578473['onTransformRemoteChangesetByStateCache']))throw new Error(_0x37a2ef(0x2d5));return(_0xaeb76f=(_0x5c86bf=this[_0x37a2ef(0x258)])==null?void 0x0:_0x5c86bf['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xaeb76f['call'](_0x5c86bf,_0x4034e6);},_0x554b94;}async['_init'](){var _0x16a7d0=_0x54a041;const _0x368882=await super[_0x16a7d0(0x45d)]();return this['disposeWithMe'](this[_0x16a7d0(0x172)][_0x16a7d0(0x3ec)]((_0x544b37,_0x37f68d)=>{var _0x8db6c9=_0x16a7d0;if(_0x544b37['type']!==a['CommandType']['MUTATION']||_0x37f68d!=null&&_0x37f68d[_0x8db6c9(0x1a3)]||_0x37f68d!=null&&_0x37f68d[_0x8db6c9(0x32c)]||_0x544b37['id']===ut[_0x8db6c9(0x391)]['id'])return;const _0x462e66=_0x544b37[_0x8db6c9(0x124)];if((_0x462e66==null?void 0x0:_0x462e66[_0x8db6c9(0x382)])!==this['unitID'])return;const _0x4bfe7f=_0x544b37,_0x47e875=this[_0x8db6c9(0x405)][_0x8db6c9(0x409)][_0x8db6c9(0x1c5)](this[_0x8db6c9(0x405)][_0x8db6c9(0x409)][_0x8db6c9(0x180)]()['COMPRESS_MUTATION_SEND'])([_0x4bfe7f],null)||[_0x4bfe7f];this[_0x8db6c9(0x23d)](_0x47e875[0x0]);})),_0x368882;}},exports[_0x54a041(0x45a)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a['Injector'])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x54a041(0x3fe)](a['LocaleService'])),$(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),$(0x7,a[_0x54a041(0x3fe)](te)),$(0x8,a[_0x54a041(0x388)]),$(0x9,a[_0x54a041(0x1ce)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x54a041(0x30b)](ve)),$(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x45a)]),exports['SheetCollaborationEntity']=class extends exports[_0x54a041(0x41f)]{constructor(_0x289ace,_0x4186d9,_0x32f74d,_0x3c98a2,_0xa3f964,_0xffb393,_0x20736d,_0x51476c,_0x4989e,_0x19ef51,_0x574266,_0x185933,_0x241a59,_0x260178){var _0x1af840=_0x54a041;super(_0x289ace,_0x32f74d,_0x4186d9,_0x3c98a2,_0xa3f964,_0xffb393,_0x20736d,_0x4989e,_0x19ef51,_0x574266,_0x185933,_0x241a59,_0x260178),this['unitID']=_0x289ace,this['type']=_0x4186d9,this[_0x1af840(0x12a)]=_0x51476c;}[_0x54a041(0x177)](){var _0x582b6c=_0x54a041;const _0x23090d=super[_0x582b6c(0x177)]();return _0x23090d[_0x582b6c(0x1ad)]=_0x500731=>this[_0x582b6c(0x12a)][_0x582b6c(0x3ca)](_0x500731),_0x23090d;}async[_0x54a041(0x45d)](){var _0x9e230a=_0x54a041;const _0x13d33a=await super[_0x9e230a(0x45d)]();return this[_0x9e230a(0x182)](this[_0x9e230a(0x172)]['onCommandExecuted']((_0x5bf8bb,_0x2e5108)=>{var _0x5db7e2=_0x9e230a;if(_0x5bf8bb['type']!==a[_0x5db7e2(0x3a9)][_0x5db7e2(0x1b6)]||_0x2e5108!=null&&_0x2e5108['fromCollab']||_0x2e5108!=null&&_0x2e5108['onlyLocal'])return;const _0x263ebd=_0x5bf8bb[_0x5db7e2(0x124)];if((_0x263ebd==null?void 0x0:_0x263ebd[_0x5db7e2(0x382)])!==this[_0x5db7e2(0x326)])return;const _0x429bfd=_0x5bf8bb,_0x520a4f=this[_0x5db7e2(0x405)]['interceptor']['fetchThroughInterceptors'](this[_0x5db7e2(0x405)][_0x5db7e2(0x409)][_0x5db7e2(0x180)]()[_0x5db7e2(0x210)])([_0x429bfd],null)||[_0x429bfd];this['_onLocalMutation'](_0x520a4f[0x0]);})),_0x13d33a;}},exports[_0x54a041(0x155)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),$(0x4,a['Inject'](g[_0x54a041(0x2b6)])),$(0x5,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)])),$(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),$(0x7,a[_0x54a041(0x3fe)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x54a041(0x3fe)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x54a041(0x1ce)]),$(0xb,a[_0x54a041(0x1ab)]),$(0xc,a[_0x54a041(0x30b)](ve)),$(0xd,a['Optional'](z))],exports[_0x54a041(0x155)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xd0e944,_0x35324d,_0x22d7d4,_0x3e41b8)=>{var _0x2caee2=_0x54a041;for(var _0x5c6ef1=_0x3e41b8>0x1?void 0x0:_0x3e41b8?Ti(_0x35324d,_0x22d7d4):_0x35324d,_0x1126ba=_0xd0e944[_0x2caee2(0x389)]-0x1,_0x4347ad;_0x1126ba>=0x0;_0x1126ba--)(_0x4347ad=_0xd0e944[_0x1126ba])&&(_0x5c6ef1=_0x4347ad(_0x5c6ef1)||_0x5c6ef1);return _0x5c6ef1;},Ae=(_0x4343bc,_0xf80efa)=>(_0x15d2b4,_0x196ab7)=>_0xf80efa(_0x15d2b4,_0x196ab7,_0x4343bc);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x22aeaa,_0x22587f,_0x518ac4){var _0x1c73db=_0x54a041;super(),P(this,_0x1c73db(0x48a),new Map()),P(this,_0x1c73db(0x280),new j[(_0x1c73db(0x33b))]()),P(this,_0x1c73db(0x22b),this[_0x1c73db(0x280)]['asObservable']()),(this[_0x1c73db(0x411)]=_0x22aeaa,this[_0x1c73db(0x33d)]=_0x22587f,this[_0x1c73db(0x2a4)]=_0x518ac4,this[_0x1c73db(0x45d)]());}['dispose'](){var _0x184ae5=_0x54a041;super[_0x184ae5(0x123)](),this[_0x184ae5(0x48a)]['forEach'](_0x541af3=>_0x541af3[_0x184ae5(0x123)]()),this['_entities'][_0x184ae5(0x140)]();}[_0x54a041(0x3be)](_0x146ba0){var _0x1c41dc=_0x54a041,_0x431995;return(_0x431995=this[_0x1c41dc(0x48a)][_0x1c41dc(0x1f4)](_0x146ba0))!=null?_0x431995:null;}['getCollabEntity$'](_0x3e6901){var _0x2bc43c=_0x54a041;const _0xce7e10=this['getCollabEntity'](_0x3e6901);return _0xce7e10?j['of'](_0xce7e10):this[_0x2bc43c(0x280)][_0x2bc43c(0x13f)](W[_0x2bc43c(0x27d)](_0x43c539=>_0x43c539[_0x2bc43c(0x326)]===_0x3e6901));}[_0x54a041(0x17a)](_0x566604){var _0x1ab452=_0x54a041;return j[_0x1ab452(0x2f5)](this[_0x1ab452(0x2b8)](_0x566604)[_0x1ab452(0x13f)](W[_0x1ab452(0x332)](()=>{})));}[_0x54a041(0x45d)](){var _0x5cfdcc=_0x54a041;this[_0x5cfdcc(0x2a4)][_0x5cfdcc(0x3cf)](a['UniverInstanceType'][_0x5cfdcc(0x2cc)])[_0x5cfdcc(0x13f)](j[_0x5cfdcc(0x314)](this[_0x5cfdcc(0x29e)]),W['delay'](0x10))[_0x5cfdcc(0x383)](async _0x99689a=>{var _0x2030c6=_0x5cfdcc;const _0x2122a3=_0x99689a[_0x2030c6(0x3d8)](),_0x48c585=await this[_0x2030c6(0x2ff)](_0x2122a3,X[_0x2030c6(0x2cc)]);this['_entities'][_0x2030c6(0x164)](_0x2122a3,_0x48c585);}),this['_univerInstanceService'][_0x5cfdcc(0x3cf)](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x40f)])[_0x5cfdcc(0x13f)](j[_0x5cfdcc(0x314)](this[_0x5cfdcc(0x29e)]),W['delay'](0x10))[_0x5cfdcc(0x13f)](W['filter'](_0xd5e9a6=>!_0xd5e9a6[_0x5cfdcc(0x3d8)]()[_0x5cfdcc(0x448)]('__')))['subscribe'](async _0xddabbe=>{var _0x3e913f=_0x5cfdcc;const _0x22908d=_0xddabbe['getUnitId'](),_0x2a7009=await this[_0x3e913f(0x2ff)](_0x22908d,X[_0x3e913f(0x40f)]);this['_entities'][_0x3e913f(0x164)](_0x22908d,_0x2a7009);}),j[_0x5cfdcc(0x21b)](this[_0x5cfdcc(0x2a4)]['getTypeOfUnitDisposed$'](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x2cc)]),this[_0x5cfdcc(0x2a4)][_0x5cfdcc(0x204)](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x40f)]))[_0x5cfdcc(0x13f)](j['takeUntil'](this['dispose$']))[_0x5cfdcc(0x383)](_0x24098b=>{var _0x41bab1=_0x5cfdcc;const _0x25bd75=_0x24098b[_0x41bab1(0x3d8)](),_0x55c28b=this[_0x41bab1(0x48a)][_0x41bab1(0x1f4)](_0x25bd75);_0x55c28b&&(_0x55c28b['dispose'](),this['_entities'][_0x41bab1(0x11e)](_0x25bd75));});}async[_0x54a041(0x2ff)](_0x5752ba,_0x155142){var _0x107c71=_0x54a041;const _0x18b62a=await this[_0x107c71(0x33d)][_0x107c71(0x3a1)](_0x5752ba),_0x330d8f=this[_0x107c71(0x411)][_0x107c71(0x1a4)](this[_0x107c71(0x2d9)](_0x155142),_0x5752ba,_0x155142,_0x18b62a);return await _0x330d8f[_0x107c71(0x459)](),this[_0x107c71(0x280)][_0x107c71(0x2db)](_0x330d8f),_0x330d8f;}[_0x54a041(0x2d9)](_0x4d0066){var _0x536ea5=_0x54a041;switch(_0x4d0066){case X[_0x536ea5(0x40f)]:return exports['DocCollaborationEntity'];case X[_0x536ea5(0x2cc)]:return exports[_0x536ea5(0x155)];default:throw new Error(_0x536ea5(0x312)+_0x4d0066);}}},exports['CollaborationController']=bi([Ae(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),Ae(0x1,a[_0x54a041(0x3fe)](exports['CollaborationSessionService'])),Ae(0x2,a[_0x54a041(0x30e)])],exports['CollaborationController']);var Ri=Object['getOwnPropertyDescriptor'],yi=(_0x3aebc8,_0x1ee5dd,_0x5464af,_0x58107b)=>{var _0x243d50=_0x54a041;for(var _0x4671b6=_0x58107b>0x1?void 0x0:_0x58107b?Ri(_0x1ee5dd,_0x5464af):_0x1ee5dd,_0x5d0190=_0x3aebc8[_0x243d50(0x389)]-0x1,_0x58b25c;_0x5d0190>=0x0;_0x5d0190--)(_0x58b25c=_0x3aebc8[_0x5d0190])&&(_0x4671b6=_0x58b25c(_0x4671b6)||_0x4671b6);return _0x4671b6;},Je=(_0x4a2f20,_0x111345)=>(_0x57a40e,_0x5d6982)=>_0x111345(_0x57a40e,_0x5d6982,_0x4a2f20);const Oi=_0x54a041(0x17f),Ni=_0x54a041(0x1bc);let He=class extends a[_0x54a041(0x1e8)]{constructor(_0x1d007a,_0x1b94c6){var _0x2bdb30=_0x54a041;super(),this['_univerInstanceService']=_0x1d007a,this[_0x2bdb30(0x221)]=_0x1b94c6,this['_init']();}[_0x54a041(0x45d)](){var _0xec838a=_0x54a041;this[_0xec838a(0x182)](this[_0xec838a(0x2a4)][_0xec838a(0x35c)][_0xec838a(0x383)](()=>{var _0x15d5ef=_0xec838a,_0x21f819;const _0x34620a=this[_0x15d5ef(0x2a4)]['getFocusedUnit']();let _0x31fb40=(_0x21f819=this[_0x15d5ef(0x221)][_0x15d5ef(0x33f)](Oi))!=null?_0x21f819:Ni;_0x34620a instanceof a[_0x15d5ef(0x21c)]&&(_0x31fb40=_0x34620a[_0x15d5ef(0x40b)]),document[_0x15d5ef(0x44d)]=_0x31fb40;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x54a041(0x2be)],Ui=(_0x21236e,_0x1b3a24,_0x497d44,_0x1fff23)=>{var _0x5117cf=_0x54a041;for(var _0x6ad03d=_0x1fff23>0x1?void 0x0:_0x1fff23?Di(_0x1b3a24,_0x497d44):_0x1b3a24,_0x41b872=_0x21236e[_0x5117cf(0x389)]-0x1,_0x309a45;_0x41b872>=0x0;_0x41b872--)(_0x309a45=_0x21236e[_0x41b872])&&(_0x6ad03d=_0x309a45(_0x6ad03d)||_0x6ad03d);return _0x6ad03d;},we=(_0x33382e,_0x1d63d2)=>(_0x32c44c,_0x293425)=>_0x1d63d2(_0x32c44c,_0x293425,_0x33382e);let Oe=class{constructor(_0x2bb1a0,_0x2b6947,_0x9c93e1){var _0x3a3f9f=_0x54a041;this[_0x3a3f9f(0x221)]=_0x2bb1a0,this['_httpService']=_0x2b6947,this[_0x3a3f9f(0x323)]=_0x9c93e1,this[_0x3a3f9f(0x459)]();}[_0x54a041(0x459)](){var _0x2fe20c=_0x54a041;this['_httpService'][_0x2fe20c(0x26b)]({'priority':0x1,'interceptor':(_0x335487,_0x12f24e)=>_0x12f24e(_0x335487)[_0x2fe20c(0x13f)](j['concatMap'](async _0x10700a=>{var _0x1b462a=_0x2fe20c;const _0xbbf363=_0x10700a;if(_0xbbf363[_0x1b462a(0x335)]===0x191){if(typeof window>'u')throw new Error(_0x1b462a(0x293));if(window[_0x1b462a(0x244)](this[_0x1b462a(0x323)]['t']('auth.needGotoLoginAlert'))){const _0x13b5e3=window['encodeURIComponent'](window['location'][_0x1b462a(0x41a)]);window[_0x1b462a(0x201)][_0x1b462a(0x41a)]=this['_getLoginPath']()+_0x1b462a(0x349)+_0x13b5e3;}}return _0xbbf363;}))});}['_getLoginPath'](){var _0x2bf95b=_0x54a041,_0x41f70b,_0x441da6;const _0x4f2b82=this[_0x2bf95b(0x221)][_0x2bf95b(0x33f)](Et),_0x4d5245=this['_configService'][_0x2bf95b(0x33f)](Y);return(_0x441da6=(_0x41f70b=_0x4d5245==null?void 0x0:_0x4d5245[_0x2bf95b(0x270)])!=null?_0x41f70b:_0x4f2b82)!=null?_0x441da6:Yt;}};Oe=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),we(0x2,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)]))],Oe);var Pi=Object[_0x54a041(0x2be)],Ai=(_0x49b332,_0x4ed205,_0x1d0858,_0x3ada4d)=>{var _0x3ec043=_0x54a041;for(var _0x39bbb7=_0x3ada4d>0x1?void 0x0:_0x3ada4d?Pi(_0x4ed205,_0x1d0858):_0x4ed205,_0x4e3d56=_0x49b332[_0x3ec043(0x389)]-0x1,_0xf93114;_0x4e3d56>=0x0;_0x4e3d56--)(_0xf93114=_0x49b332[_0x4e3d56])&&(_0x39bbb7=_0xf93114(_0x39bbb7)||_0x39bbb7);return _0x39bbb7;},Xe=(_0x4c0537,_0x2efe02)=>(_0x16e03c,_0xd7d565)=>_0x2efe02(_0x16e03c,_0xd7d565,_0x4c0537);const Ve='AUTHZ_URL_KEY',wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x54a041(0x1e8)]{constructor(_0x42cbe8,_0x1fa9d8){var _0xfcf813=_0x54a041;super(),this['_HTTPService']=_0x42cbe8,this[_0xfcf813(0x221)]=_0x1fa9d8,this[_0xfcf813(0x463)]();}[_0x54a041(0x463)](){var _0x776dbd=_0x54a041;const _0x1a3e99=this;this['disposeWithMe'](this[_0x776dbd(0x22c)][_0x776dbd(0x26b)]({'priority':0x3e7,'interceptor':q[_0x776dbd(0x1f0)]({'isMatch'(_0x30e97d){var _0x6531cf=_0x776dbd,_0x36e852;if(_0x30e97d[_0x6531cf(0x417)]===_0x6531cf(0x42a)&&((_0x36e852=_0x30e97d[_0x6531cf(0x422)])!=null&&_0x36e852['body'])){const {objectID:_0x294fdb,objectType:_0xe19f1c}=_0x30e97d[_0x6531cf(0x422)][_0x6531cf(0x3dd)]||{};if(!_0x294fdb||_0xe19f1c===void 0x0)return!0x1;const _0x5d2267=_0x1a3e99[_0x6531cf(0x1df)]()+'/'+_0xe19f1c+_0x6531cf(0x238)+_0x294fdb+_0x6531cf(0x361);if(_0x30e97d['url']===_0x5d2267)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x44d39a){var _0x4285e4=_0x776dbd,_0x6bad27;return(_0x6bad27=_0x44d39a[_0x4285e4(0x422)])==null?void 0x0:_0x6bad27[_0x4285e4(0x3dd)];},'mergeParamsToRequest'(_0x35160c,_0x26eeef){var _0x52c707=_0x776dbd;const _0x11da1d=_0x1a3e99[_0x52c707(0x1df)]()+_0x52c707(0x3b3),_0x125926=_0x35160c[_0x52c707(0x45b)]((_0x55978e,_0x1eecc0)=>{const {unitID:_0x201fce,objectID:_0x339648,objectType:_0x135628,actions:_0x5a2792}=_0x1eecc0;return _0x55978e[_0x201fce]||(_0x55978e[_0x201fce]={}),_0x55978e[_0x201fce][_0x339648]||(_0x55978e[_0x201fce][_0x339648]={'objectID':_0x339648,'objectType':_0x135628,'actions':[]}),_0x55978e[_0x201fce][_0x339648]['actions']['push'](..._0x5a2792),_0x55978e;},{}),_0x1c025c=[];for(const _0x1ffb23 in _0x125926)for(const _0x22fed4 in _0x125926[_0x1ffb23]){const {actions:_0x1cffab,objectType:_0x627feb}=_0x125926[_0x1ffb23][_0x22fed4],_0x4ad246=[...new Set(_0x1cffab)];_0x1c025c[_0x52c707(0x473)]({'unitID':_0x1ffb23,'objectID':_0x22fed4,'objectType':_0x627feb,'actions':_0x4ad246});}return new q[(_0x52c707(0x3de))](_0x52c707(0x42a),_0x11da1d,{'headers':_0x26eeef[_0x52c707(0x38e)],'withCredentials':_0x26eeef['withCredentials'],'responseType':_0x26eeef[_0x52c707(0x35d)],'body':{'requests':_0x1c025c}});}},{'distributeResult'(_0x33a3ac,_0x354692){const {objectActions:_0x279a72}=_0x33a3ac;return _0x354692['map'](_0x8b1b5e=>{var _0x5ec23c=_0x741b;const {unitID:_0x58cc86,objectID:_0x55efe2,actions:_0x2c123a}=_0x8b1b5e,_0x483205=_0x279a72[_0x5ec23c(0x2aa)](_0x3e58f5=>_0x3e58f5[_0x5ec23c(0x326)]===_0x58cc86&&_0x3e58f5[_0x5ec23c(0x410)]===_0x55efe2),_0x1a2e27=_0x2c123a[_0x5ec23c(0x332)](_0x45be90=>_0x483205==null?void 0x0:_0x483205[_0x5ec23c(0x133)][_0x5ec23c(0x2aa)](_0x5aded0=>_0x5aded0['action']===_0x45be90))[_0x5ec23c(0x27d)](_0x418108=>!!_0x418108);return{'config':_0x8b1b5e,'result':{'actions':_0x1a2e27,'error':_0x33a3ac['error']}};});}})}));}[_0x54a041(0x1df)](){var _0x5e00c0=_0x54a041,_0x2fdfcf,_0x42d6a7;const _0x4a8992=this[_0x5e00c0(0x221)]['getConfig'](Ve),_0x59c039=this[_0x5e00c0(0x221)][_0x5e00c0(0x33f)](Y);return(_0x42d6a7=(_0x2fdfcf=_0x59c039==null?void 0x0:_0x59c039[_0x5e00c0(0x379)])!=null?_0x2fdfcf:_0x4a8992)!=null?_0x42d6a7:wi;}async[_0x54a041(0x3e6)](_0x537d59){var _0x5b711f=_0x54a041;const _0x469d3d=this[_0x5b711f(0x1df)]()+'/'+_0x537d59[_0x5b711f(0x351)]+'/object';return(await this[_0x5b711f(0x22c)]['post'](_0x469d3d,{'body':_0x537d59}))[_0x5b711f(0x3dd)][_0x5b711f(0x410)]||'';}async[_0x54a041(0x3b4)](_0x31a133){var _0x5ae690=_0x54a041;const _0x2e4f5d=this[_0x5ae690(0x1df)]()+_0x5ae690(0x35e);return(await this[_0x5ae690(0x22c)][_0x5ae690(0x17c)](_0x2e4f5d,{'body':_0x31a133}))['body']['objects'];}async['update'](_0x49d8a5){var _0x89cf58=_0x54a041,_0x155b14,_0x32c713;const _0x3e3388=this[_0x89cf58(0x1df)]()+'/'+_0x49d8a5['objectType']+_0x89cf58(0x238)+_0x49d8a5[_0x89cf58(0x410)],_0x134d0f=await this[_0x89cf58(0x22c)]['put'](_0x3e3388,{'body':_0x49d8a5});if(((_0x32c713=(_0x155b14=_0x134d0f==null?void 0x0:_0x134d0f[_0x89cf58(0x3dd)])==null?void 0x0:_0x155b14[_0x89cf58(0x425)])==null?void 0x0:_0x32c713[_0x89cf58(0x1fb)])!==0x0)throw new Error(_0x89cf58(0x350));}async[_0x54a041(0x3dc)](_0x570410){var _0x67b0b0=_0x54a041;const _0x3aab67=this[_0x67b0b0(0x1df)]()+'/'+_0x570410[_0x67b0b0(0x351)]+'/object/'+_0x570410[_0x67b0b0(0x410)]+_0x67b0b0(0x361);return(await this['_HTTPService'][_0x67b0b0(0x17c)](_0x3aab67,{'body':_0x570410}))[_0x67b0b0(0x3dd)][_0x67b0b0(0x133)];}async[_0x54a041(0x43f)](_0x4eff46){var _0x429d95=_0x54a041;const _0x1fe5b7=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x429d95(0x22c)][_0x429d95(0x17c)](_0x1fe5b7,{'body':{'requests':_0x4eff46}}))['body'][_0x429d95(0x1c3)];}async['listRoles'](_0x39d373){var _0x27b8cd=_0x54a041;const _0x5eef22=this[_0x27b8cd(0x1df)]()+'/'+_0x39d373['objectType']+'/role',_0x3cef19=await this[_0x27b8cd(0x22c)][_0x27b8cd(0x17c)](_0x5eef22,{'body':_0x39d373});return{'roles':_0x3cef19[_0x27b8cd(0x3dd)][_0x27b8cd(0x263)],'actions':_0x3cef19['body'][_0x27b8cd(0x133)]};}async[_0x54a041(0x25e)](_0x445375){var _0x4c172d=_0x54a041;const _0x171693=this[_0x4c172d(0x1df)]()+_0x4c172d(0x348);await this[_0x4c172d(0x22c)][_0x4c172d(0x11e)](_0x171693,{'params':{'collaboratorID':_0x445375[_0x4c172d(0x44e)],'objectID':_0x445375[_0x4c172d(0x410)],'unitID':_0x445375[_0x4c172d(0x326)]}});}async['updateCollaborator'](_0x34d884){var _0x58ed45=_0x54a041;const _0x30f5f9=this[_0x58ed45(0x1df)]()+_0x58ed45(0x348);await this[_0x58ed45(0x22c)][_0x58ed45(0x321)](_0x30f5f9,{'body':_0x34d884});}async[_0x54a041(0x17b)](_0x22344e){var _0x4e99ad=_0x54a041;const _0x2ddd09=this['_getAPIPrefixPath']()+_0x4e99ad(0x348);await this[_0x4e99ad(0x22c)][_0x4e99ad(0x17c)](_0x2ddd09,{'body':_0x22344e});}async[_0x54a041(0x3a5)](_0x339724){var _0x391e7e=_0x54a041;const _0x2b2ff1=this[_0x391e7e(0x1df)]()+_0x391e7e(0x348);return(await this[_0x391e7e(0x22c)][_0x391e7e(0x1f4)](_0x2b2ff1,{'params':{'objectID':_0x339724[_0x391e7e(0x410)],'unitID':_0x339724[_0x391e7e(0x326)]}}))[_0x391e7e(0x3dd)][_0x391e7e(0x28f)];}async['putCollaborators'](_0xffa340){var _0x2e1547=_0x54a041;const _0x139e27=this[_0x2e1547(0x1df)]()+'/collaborator';await this[_0x2e1547(0x22c)][_0x2e1547(0x462)](_0x139e27,{'body':_0xffa340});}},exports['AuthzIoHttpService']=Ai([Xe(0x0,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),Xe(0x1,a['Inject'](a[_0x54a041(0x2ca)]))],exports[_0x54a041(0x1af)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x19aaa3){var _0x404eec=_0x54a041;return _0x19aaa3&&_0x19aaa3['__esModule']&&Object['prototype'][_0x404eec(0x2af)]['call'](_0x19aaa3,_0x404eec(0x1e2))?_0x19aaa3['default']:_0x19aaa3;}var fe={'exports':{}};function Li(_0x5c234e){var _0x2078ad=_0x54a041;throw new Error(_0x2078ad(0x1fc)+_0x5c234e+'\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[_0x54a041(0x376)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x197541,_0x13ab0c){(function(_0x2edf6c,_0x3085ff){var _0x284a53=_0x741b;_0x197541[_0x284a53(0x376)]=_0x3085ff();}(Mi,function(){var _0x117398=_0x117398||function(_0x1643e9,_0x5bce2d){var _0x448657=_0x741b,_0x65972b;if(typeof window<'u'&&window[_0x448657(0x1d4)]&&(_0x65972b=window[_0x448657(0x1d4)]),typeof self<'u'&&self[_0x448657(0x1d4)]&&(_0x65972b=self[_0x448657(0x1d4)]),typeof globalThis<'u'&&globalThis[_0x448657(0x1d4)]&&(_0x65972b=globalThis['crypto']),!_0x65972b&&typeof window<'u'&&window[_0x448657(0x272)]&&(_0x65972b=window[_0x448657(0x272)]),!_0x65972b&&typeof Le<'u'&&Le[_0x448657(0x1d4)]&&(_0x65972b=Le[_0x448657(0x1d4)]),!_0x65972b&&typeof Li=='function')try{_0x65972b=require('crypto');}catch{}var _0x5c451f=function(){var _0x2ae6a1=_0x448657;if(_0x65972b){if(typeof _0x65972b[_0x2ae6a1(0x1a8)]==_0x2ae6a1(0x3ed))try{return _0x65972b[_0x2ae6a1(0x1a8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x65972b[_0x2ae6a1(0x12d)]=='function')try{return _0x65972b[_0x2ae6a1(0x12d)](0x4)[_0x2ae6a1(0x2d7)]();}catch{}}throw new Error(_0x2ae6a1(0x407));},_0x4afff7=Object[_0x448657(0x3e6)]||(function(){function _0x17c4db(){}return function(_0x434860){var _0x2791d9=_0x741b,_0x2bd5f3;return _0x17c4db[_0x2791d9(0x2a9)]=_0x434860,_0x2bd5f3=new _0x17c4db(),_0x17c4db[_0x2791d9(0x2a9)]=null,_0x2bd5f3;};}()),_0x2189d9={},_0x4d1a8a=_0x2189d9[_0x448657(0x1b0)]={},_0x23857e=_0x4d1a8a['Base']=(function(){return{'extend':function(_0x46b02c){var _0x43ef5f=_0x741b,_0x5384bf=_0x4afff7(this);return _0x46b02c&&_0x5384bf[_0x43ef5f(0x3a6)](_0x46b02c),(!_0x5384bf['hasOwnProperty']('init')||this[_0x43ef5f(0x459)]===_0x5384bf[_0x43ef5f(0x459)])&&(_0x5384bf[_0x43ef5f(0x459)]=function(){var _0x42bae7=_0x43ef5f;_0x5384bf[_0x42bae7(0x304)][_0x42bae7(0x459)]['apply'](this,arguments);}),_0x5384bf['init'][_0x43ef5f(0x2a9)]=_0x5384bf,_0x5384bf[_0x43ef5f(0x304)]=this,_0x5384bf;},'create':function(){var _0x12d01d=_0x741b,_0x2bbd1f=this['extend']();return _0x2bbd1f[_0x12d01d(0x459)][_0x12d01d(0x21e)](_0x2bbd1f,arguments),_0x2bbd1f;},'init':function(){},'mixIn':function(_0x525df3){var _0x4d4843=_0x741b;for(var _0x4c0921 in _0x525df3)_0x525df3[_0x4d4843(0x2af)](_0x4c0921)&&(this[_0x4c0921]=_0x525df3[_0x4c0921]);_0x525df3['hasOwnProperty'](_0x4d4843(0x160))&&(this[_0x4d4843(0x160)]=_0x525df3[_0x4d4843(0x160)]);},'clone':function(){var _0x3801fb=_0x741b;return this[_0x3801fb(0x459)][_0x3801fb(0x2a9)][_0x3801fb(0x377)](this);}};}()),_0x2e6930=_0x4d1a8a[_0x448657(0x26c)]=_0x23857e[_0x448657(0x377)]({'init':function(_0x3ec6e8,_0x173fd6){var _0x5485fb=_0x448657;_0x3ec6e8=this[_0x5485fb(0x233)]=_0x3ec6e8||[],_0x173fd6!=_0x5bce2d?this[_0x5485fb(0x1da)]=_0x173fd6:this['sigBytes']=_0x3ec6e8[_0x5485fb(0x389)]*0x4;},'toString':function(_0x4dec60){return(_0x4dec60||_0x96519c)['stringify'](this);},'concat':function(_0x226dc7){var _0x4f87ed=_0x448657,_0x4e30a3=this[_0x4f87ed(0x233)],_0x393a17=_0x226dc7[_0x4f87ed(0x233)],_0x24ffc3=this[_0x4f87ed(0x1da)],_0x5760ac=_0x226dc7[_0x4f87ed(0x1da)];if(this[_0x4f87ed(0x1dc)](),_0x24ffc3%0x4)for(var _0x1055c1=0x0;_0x1055c1<_0x5760ac;_0x1055c1++){var _0x352c71=_0x393a17[_0x1055c1>>>0x2]>>>0x18-_0x1055c1%0x4*0x8&0xff;_0x4e30a3[_0x24ffc3+_0x1055c1>>>0x2]|=_0x352c71<<0x18-(_0x24ffc3+_0x1055c1)%0x4*0x8;}else{for(var _0x4558c1=0x0;_0x4558c1<_0x5760ac;_0x4558c1+=0x4)_0x4e30a3[_0x24ffc3+_0x4558c1>>>0x2]=_0x393a17[_0x4558c1>>>0x2];}return this[_0x4f87ed(0x1da)]+=_0x5760ac,this;},'clamp':function(){var _0x2e7713=_0x448657,_0x5e8bd1=this[_0x2e7713(0x233)],_0x40beab=this[_0x2e7713(0x1da)];_0x5e8bd1[_0x40beab>>>0x2]&=0xffffffff<<0x20-_0x40beab%0x4*0x8,_0x5e8bd1[_0x2e7713(0x389)]=_0x1643e9[_0x2e7713(0x2d3)](_0x40beab/0x4);},'clone':function(){var _0x4b4de6=_0x448657,_0x2ca85d=_0x23857e[_0x4b4de6(0x442)][_0x4b4de6(0x1ae)](this);return _0x2ca85d['words']=this[_0x4b4de6(0x233)]['slice'](0x0),_0x2ca85d;},'random':function(_0x23ffd4){var _0x48b5e1=_0x448657;for(var _0x2f2a1d=[],_0x17de8a=0x0;_0x17de8a<_0x23ffd4;_0x17de8a+=0x4)_0x2f2a1d[_0x48b5e1(0x473)](_0x5c451f());return new _0x2e6930[(_0x48b5e1(0x459))](_0x2f2a1d,_0x23ffd4);}}),_0xb0b9d9=_0x2189d9[_0x448657(0x45f)]={},_0x96519c=_0xb0b9d9[_0x448657(0x2d0)]={'stringify':function(_0x545a76){var _0x50449c=_0x448657;for(var _0x53b5ea=_0x545a76['words'],_0x49b521=_0x545a76[_0x50449c(0x1da)],_0x2d2e67=[],_0x38d560=0x0;_0x38d560<_0x49b521;_0x38d560++){var _0x29d5fb=_0x53b5ea[_0x38d560>>>0x2]>>>0x18-_0x38d560%0x4*0x8&0xff;_0x2d2e67[_0x50449c(0x473)]((_0x29d5fb>>>0x4)[_0x50449c(0x160)](0x10)),_0x2d2e67[_0x50449c(0x473)]((_0x29d5fb&0xf)[_0x50449c(0x160)](0x10));}return _0x2d2e67[_0x50449c(0x45e)]('');},'parse':function(_0x5746b8){var _0x22bf5f=_0x448657;for(var _0x4f87de=_0x5746b8[_0x22bf5f(0x389)],_0x367034=[],_0x5386c5=0x0;_0x5386c5<_0x4f87de;_0x5386c5+=0x2)_0x367034[_0x5386c5>>>0x3]|=parseInt(_0x5746b8[_0x22bf5f(0x2e0)](_0x5386c5,0x2),0x10)<<0x18-_0x5386c5%0x8*0x4;return new _0x2e6930[(_0x22bf5f(0x459))](_0x367034,_0x4f87de/0x2);}},_0x567e48=_0xb0b9d9[_0x448657(0x189)]={'stringify':function(_0x452371){var _0xc1b1c1=_0x448657;for(var _0xa5495f=_0x452371[_0xc1b1c1(0x233)],_0x29b477=_0x452371[_0xc1b1c1(0x1da)],_0x428290=[],_0x38ead2=0x0;_0x38ead2<_0x29b477;_0x38ead2++){var _0x50f3c5=_0xa5495f[_0x38ead2>>>0x2]>>>0x18-_0x38ead2%0x4*0x8&0xff;_0x428290[_0xc1b1c1(0x473)](String[_0xc1b1c1(0x18d)](_0x50f3c5));}return _0x428290['join']('');},'parse':function(_0x4bc57b){var _0x8effe0=_0x448657;for(var _0x46c6d2=_0x4bc57b[_0x8effe0(0x389)],_0x15b713=[],_0x115f78=0x0;_0x115f78<_0x46c6d2;_0x115f78++)_0x15b713[_0x115f78>>>0x2]|=(_0x4bc57b[_0x8effe0(0x419)](_0x115f78)&0xff)<<0x18-_0x115f78%0x4*0x8;return new _0x2e6930['init'](_0x15b713,_0x46c6d2);}},_0x35ad50=_0xb0b9d9['Utf8']={'stringify':function(_0x6582a6){var _0x8f583e=_0x448657;try{return decodeURIComponent(escape(_0x567e48[_0x8f583e(0x3d5)](_0x6582a6)));}catch{throw new Error(_0x8f583e(0x362));}},'parse':function(_0x1b699c){return _0x567e48['parse'](unescape(encodeURIComponent(_0x1b699c)));}},_0x107295=_0x4d1a8a['BufferedBlockAlgorithm']=_0x23857e['extend']({'reset':function(){var _0x43d2a6=_0x448657;this[_0x43d2a6(0x277)]=new _0x2e6930['init'](),this[_0x43d2a6(0x1b2)]=0x0;},'_append':function(_0x1c53ce){var _0x524c49=_0x448657;typeof _0x1c53ce=='string'&&(_0x1c53ce=_0x35ad50[_0x524c49(0x25f)](_0x1c53ce)),this['_data'][_0x524c49(0x3cd)](_0x1c53ce),this[_0x524c49(0x1b2)]+=_0x1c53ce[_0x524c49(0x1da)];},'_process':function(_0x2667bd){var _0x530e28=_0x448657,_0x575de4,_0x33efd9=this[_0x530e28(0x277)],_0xaf9520=_0x33efd9[_0x530e28(0x233)],_0x3f320e=_0x33efd9[_0x530e28(0x1da)],_0xd362a3=this[_0x530e28(0x22e)],_0x4f8e9a=_0xd362a3*0x4,_0x564075=_0x3f320e/_0x4f8e9a;_0x2667bd?_0x564075=_0x1643e9[_0x530e28(0x2d3)](_0x564075):_0x564075=_0x1643e9[_0x530e28(0x1d5)]((_0x564075|0x0)-this['_minBufferSize'],0x0);var _0x58375f=_0x564075*_0xd362a3,_0x4b4d69=_0x1643e9[_0x530e28(0x340)](_0x58375f*0x4,_0x3f320e);if(_0x58375f){for(var _0x277d3e=0x0;_0x277d3e<_0x58375f;_0x277d3e+=_0xd362a3)this[_0x530e28(0x36b)](_0xaf9520,_0x277d3e);_0x575de4=_0xaf9520[_0x530e28(0x374)](0x0,_0x58375f),_0x33efd9[_0x530e28(0x1da)]-=_0x4b4d69;}return new _0x2e6930['init'](_0x575de4,_0x4b4d69);},'clone':function(){var _0x58a282=_0x448657,_0x32ab2b=_0x23857e[_0x58a282(0x442)][_0x58a282(0x1ae)](this);return _0x32ab2b[_0x58a282(0x277)]=this[_0x58a282(0x277)][_0x58a282(0x442)](),_0x32ab2b;},'_minBufferSize':0x0});_0x4d1a8a[_0x448657(0x3f8)]=_0x107295['extend']({'cfg':_0x23857e[_0x448657(0x377)](),'init':function(_0x3a4abb){var _0x2d316=_0x448657;this[_0x2d316(0x230)]=this[_0x2d316(0x230)][_0x2d316(0x377)](_0x3a4abb),this[_0x2d316(0x3fa)]();},'reset':function(){var _0x16de62=_0x448657;_0x107295['reset'][_0x16de62(0x1ae)](this),this[_0x16de62(0x2c8)]();},'update':function(_0x525e18){var _0x365a63=_0x448657;return this[_0x365a63(0x1fa)](_0x525e18),this[_0x365a63(0x347)](),this;},'finalize':function(_0x1360bc){var _0x3ee2b7=_0x448657;_0x1360bc&&this[_0x3ee2b7(0x1fa)](_0x1360bc);var _0x4f5876=this['_doFinalize']();return _0x4f5876;},'blockSize':0x10,'_createHelper':function(_0x1c1f3b){return function(_0xc98ea1,_0x1caffa){var _0x318cc1=_0x741b;return new _0x1c1f3b[(_0x318cc1(0x459))](_0x1caffa)[_0x318cc1(0x3d3)](_0xc98ea1);};},'_createHmacHelper':function(_0x11af3a){return function(_0x360019,_0x35dbe4){var _0x1fc01f=_0x741b;return new _0x351895[(_0x1fc01f(0x21d))]['init'](_0x11af3a,_0x35dbe4)['finalize'](_0x360019);};}});var _0x351895=_0x2189d9[_0x448657(0x2d8)]={};return _0x2189d9;}(Math);return _0x117398;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x54a041(0x376)],Qe;function Ut(){var _0x3d8220=_0x54a041;return Qe||(Qe=0x1,function(_0x535a92,_0x569bdf){(function(_0x17d438,_0x3ee3ef){_0x535a92['exports']=_0x3ee3ef(ee());}(xi,function(_0x1a84c7){var _0x5b2147=_0x741b;return(function(){var _0xda510f=_0x741b,_0x2c508e=_0x1a84c7,_0x49f1c2=_0x2c508e[_0xda510f(0x1b0)],_0x2be21d=_0x49f1c2[_0xda510f(0x26c)],_0x180995=_0x2c508e[_0xda510f(0x45f)];_0x180995[_0xda510f(0x359)]={'stringify':function(_0xf4da86){var _0x1eb8c4=_0xda510f,_0x4cde7f=_0xf4da86['words'],_0x19b4a5=_0xf4da86[_0x1eb8c4(0x1da)],_0x436933=this['_map'];_0xf4da86[_0x1eb8c4(0x1dc)]();for(var _0x31f028=[],_0x5f1d4e=0x0;_0x5f1d4e<_0x19b4a5;_0x5f1d4e+=0x3)for(var _0x5d2791=_0x4cde7f[_0x5f1d4e>>>0x2]>>>0x18-_0x5f1d4e%0x4*0x8&0xff,_0x1fe499=_0x4cde7f[_0x5f1d4e+0x1>>>0x2]>>>0x18-(_0x5f1d4e+0x1)%0x4*0x8&0xff,_0xd122b2=_0x4cde7f[_0x5f1d4e+0x2>>>0x2]>>>0x18-(_0x5f1d4e+0x2)%0x4*0x8&0xff,_0x5eccf1=_0x5d2791<<0x10|_0x1fe499<<0x8|_0xd122b2,_0x48f8c9=0x0;_0x48f8c9<0x4&&_0x5f1d4e+_0x48f8c9*0.75<_0x19b4a5;_0x48f8c9++)_0x31f028[_0x1eb8c4(0x473)](_0x436933[_0x1eb8c4(0x42f)](_0x5eccf1>>>0x6*(0x3-_0x48f8c9)&0x3f));var _0x4ced08=_0x436933[_0x1eb8c4(0x42f)](0x40);if(_0x4ced08){for(;_0x31f028['length']%0x4;)_0x31f028[_0x1eb8c4(0x473)](_0x4ced08);}return _0x31f028[_0x1eb8c4(0x45e)]('');},'parse':function(_0x101bd8){var _0x332cf7=_0xda510f,_0x22af47=_0x101bd8[_0x332cf7(0x389)],_0x257110=this[_0x332cf7(0x43a)],_0x1e7e9=this['_reverseMap'];if(!_0x1e7e9){_0x1e7e9=this[_0x332cf7(0x308)]=[];for(var _0x1ebbf5=0x0;_0x1ebbf5<_0x257110[_0x332cf7(0x389)];_0x1ebbf5++)_0x1e7e9[_0x257110[_0x332cf7(0x419)](_0x1ebbf5)]=_0x1ebbf5;}var _0x16e769=_0x257110[_0x332cf7(0x42f)](0x40);if(_0x16e769){var _0x2c9321=_0x101bd8[_0x332cf7(0x1e7)](_0x16e769);_0x2c9321!==-0x1&&(_0x22af47=_0x2c9321);}return _0x356d2f(_0x101bd8,_0x22af47,_0x1e7e9);},'_map':_0xda510f(0x3a2)};function _0x356d2f(_0x1fc481,_0x6485b4,_0x3192e1){var _0x44f3b0=_0xda510f;for(var _0x2255fd=[],_0x11be4f=0x0,_0x25f564=0x0;_0x25f564<_0x6485b4;_0x25f564++)if(_0x25f564%0x4){var _0x3d8330=_0x3192e1[_0x1fc481[_0x44f3b0(0x419)](_0x25f564-0x1)]<<_0x25f564%0x4*0x2,_0x5ee1d5=_0x3192e1[_0x1fc481['charCodeAt'](_0x25f564)]>>>0x6-_0x25f564%0x4*0x2,_0x46b743=_0x3d8330|_0x5ee1d5;_0x2255fd[_0x11be4f>>>0x2]|=_0x46b743<<0x18-_0x11be4f%0x4*0x8,_0x11be4f++;}return _0x2be21d['create'](_0x2255fd,_0x11be4f);}}()),_0x1a84c7[_0x5b2147(0x45f)]['Base64'];}));}(ge)),ge[_0x3d8220(0x376)];}var me={'exports':{}},ki=me[_0x54a041(0x376)],et;function _0x5e18(){var _0x505612=['JOIN_ROOM_FAILED','reset','Error\x20on\x20receiving\x20event','[CollaborationState]:\x20apply\x20error!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Inject','_awaitingChangeset','_updateState','_DEC_XFORM_MODE','debug','onRemoteChangeset','uploadFileServerUrl','_compressMutationService','@univerjs/sheets','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_PROJECT','interceptor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','name','_logService','HttpImport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','objectID','_injector','_socket$','Cipher','OpenSSL','_nRounds','setShowComponents','method','encrypt','charCodeAt','href','mutations','_queuedRemoteChangesets','_changesetSessionId','_loadSheet','CollaborationEntity','UUID','_sender','requestParams','reject','APPLY_NON_SEQUENTIAL_REVISION','error','onSyncEditingCollabCursor','Encryptor','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','size','POST','onRemoteRej','loadOfflineData','_clearUndo','_hasher','charAt','_transformService','resend','_onConnectionFailed','LocaleService','_handler','ivSize','Utf8','getMemberID','ITransformService','toggleOffline','_map','AWAITING_WITH_PENDING','updatePermissionPoint','_telemetryService','pluginName','batchAllowed','NOT_COLLAB','[PendingState]:\x20received\x20acknowledgement.','clone','getActiveSheet','textRanges','Base','_transformIMECache','override','startsWith','removeMember','CollaborationSocketService','image/gif','UNKNOWN_CODE','title','collaboratorID','_httpService','_ENC_XFORM_MODE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','saveImage','_networkConditionService','unknown','resourceIDs','26914FNNpmZ','[FetchMissState]','BehaviorSubject','init','DocCollaborationEntity','reduce','encode','_init','join','enc','getWorkbookSelections','createEncryptor','put','_initMergeInterceptor','unitInfo$','CollaborationUIEventId','entries','csAckEvent','salt','SUBMIT_CHANGESET_TIMEOUT','_socketService','getSnapshotAPIPath','[PendingState]:\x20unhandled\x20univer\x20type:\x20','saveSnapshot','subject','_waitCount','APPLY_DUPLICATED','synced','_initUnitPermissionChange','push','Decryptor','roomInfos','/rev/','FetchingMissState','UPDATE_CURSOR','bind','1562457XqYklm','CollaborationImageIoService','BlockCipherMode','COLLAB_WEB_SOCKET_URL_KEY','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','73220KrBJLE','@univerjs/telemetry','@univerjs/core','_event$','selections','getLocalCacheKey','toggleOnline','[CollaborationUndoRedoService]','_getCurrentRevision','/universer-api/oidc/authpage','_entities','compose','delete','awaitingChangeset','_unitInfo$','SEND_CHANGESET_TIMEOUT','AwaitingState','dispose','params','_executeRemoteChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','capture','UniverInstanceType','UNIVER_UNKNOWN','_sheetTransformSelectionsService','onTransformIME','memberID','randomBytes','_invKeySchedule','RevisionService','fetching\x20missing\x20changesets\x20from\x20','/universer-api/stream/file/upload','send','actions','getUnitType','USERS_LEAVE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','rng','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','_getUploadFileURL','setConfig','OPTIONAL','SOCKET_FAILED','AWAITING','pipe','clear','/universer-api/snapshot/','_resendTimeout','_unitID','_keySchedule','_collaborationSessionService','onRemoteAck','IMentionIOService','onCommentUpdate','sequenceExecute','_startTelemetryCollaborationNewChangeset','_config','_stopTelemetryCollaborationNewChangeset','_transformRemoteChangesetByIMECache','readAsDataURL','UPDATE_PERMISSION_OBJ','IImageIoService','_collaborationPaused','kdf','EmptyMutation','awaiting_with_pending','SheetCollaborationEntity','catch','_createInitialState','MD5','UniverNetworkPlugin','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','type','1beRooL','updateOfflineData','UserManagerService','4417892YhyfbW','toString','_onCombEvent','fetchMissingChangesets','NOT_FOUND','set','slice','UnitEmbedded','_candidateSocket','session.room-cnt-exceeds','has','onTransformRemoteChangesetByIMECache','disableLocalCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','string','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ICollaborationSocketService','getMember','_commandService','_createHmacHelper','HmacMD5','ISocketService','forEach','_createHandler','getSheetBlock','transformChangesets','readyForCollab','createCollaborator','post','shareReplay','BlockCipher','DEFAULT_FILE_NAME','getInterceptPoints','range','disposeWithMe','_singleActiveUnitService','reconnect','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_retryConnectingTimer','AES','_undoRedoService','Latin1','OfflineState','_sendHeartbeat','change$','fromCharCode','_localCacheService','closeSession','_keyPriorReset','DependentOn','UniverCollaborationClientPlugin','_scheduleCollaborationTimeoutTimer','_resendTimer','[DataLoaderService]','LIVESHARE_REQUEST_HOST','LICENSE_IMPORT_SIZE_EXCEEDED','execute','_transformStateCache','ImageSourceType','appendMutation','byteLength','loadDoc','executeCommand','getImageSourceCache','[SyncedState]:\x20received\x20rejection.','CommentService','RETRY_CONNECTING_MAX_COUNT','fromCollab','createInstance','NEW_CHANGESETS','PendingState','[OfflineState]:\x20received\x20changeset.','getRandomValues','_clearCollaborationTimeoutTimer','deepClone','IPermissionService','getSheetId','onTransformSelections','call','AuthzIoHttpService','lib','_clearRedo','_nDataBytes','_clearScheduledTask','UNIVER_SLIDE','_toggleOnline','MUTATION','_transitionLocked','rev','JOIN_ROOM_NOT_EXISTS','offline','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Univer','ISnapshotServerService','getRoom','UNAUTHENTICATED','state$','_collaborationTimeoutTimer','_doCryptBlock','objectActions','_clearTimeoutTimer','fetchThroughInterceptors','LIVESHARE_FETCH_OPERATIONS','connection\x20error','hasher','_incrementRevisionNumber','HEARTBEAT_TIMEOUT_KEY','_state','OFFLINE','&to=','ICommandService','json','Pkcs7','snapshot','m2Prime','sessionStatus','crypto','max','getCurrentSelections','__creator','CLOSE_ROOM','_initRequestHeader','sigBytes','onTransformRemoteChangesetByStateCache','clamp','_updateLocalCache','serializeCombRequest','_getAPIPrefixPath','then','CONNECTOR_DATA_TOO_LARGE','default','_toggleOffline','_socketReady','save\x20fail\x20reason\x20is\x20','JOIN_ROOM_PERMISSION_DENIED','indexOf','Disposable','rxjs','COMMENT_UPDATE','_remoteChangesetQueue','Module','socket$','_doFinalize','JSONX','MergeInterceptorFactory','INetworkConditionService','Tools','_retryCount','get','_change$','HmacSHA1','_iv','close','sheets','_append','code','Could\x20not\x20dynamically\x20require\x20\x22','collaMsg','close$','\x0aAfter:\x20','LocalUndoRedoService','location','COLLAB_WEB_SOCKET_URL','_clearLocalCache','getTypeOfUnitDisposed$','_prevBlock','leaveEvent','YUUMI_UNABLE_LOAD_URL','_substituteRedoStack','deserializeToCombResponse','UNDEFINED','collaboration_new_changeset','getImage','UnitStatus','routeKey','getResourcesRequest','COMPRESS_MUTATION_SEND','_socket','liveShareOperation','NoPadding','cmd','shouldCloseConn','_sessionStatus$','getCurrentRevOfUnit','subUnitId','baseRev','[CollaborationSession]','merge','Workbook','HMAC','apply','WorkbookEditablePermission','LIVESHARE_TERMINATE','_configService','_joinRoom','LICENSE_EXPORT_SIZE_EXCEEDED','_undoStacks','_cipher','error$','_permissionService','GLOBAL_ROOMS_CNT_EXCEEDS','_createHelper','collaboration-client.config','entityInit$','_HTTPService','COLLAB_SUBMIT_CHANGESET_URL','blockSize','JOIN_ROOM_FULL','cfg','parseProtocolChangeset','OTHER_CLIENT_EDITING','words','resolve','\x20-\x20','_registerDependencies','onLocalMutation','/object/','LICENSE_MAX_UNITS_EXCEEDED','every','_xformMode','telemetry\x20info\x20is\x20not\x20initialized','_onLocalMutation','parseChangesetToProtocol','getUnit','_clearHeartbeatTimer','unpad','/new_changes','FAIL','confirm','COMPRESS_MUTATION_APPLY','includes','event$','_initDependencies','IUndoRedoService','key','LIVESHARE_OPERATION','now','mode','CBC','startTime','loadSheet','format','CollaborationEvent','abs','_replaceFileID','userID','toDisposable','snapshotServerUrl','_handlerCallback','_collaborationUIEventService','randomUUID','equals','image/png','processBlock','deleteCollaborator','parse','downloadEndpointUrl','MentionIoHttpService','localCacheService','roles','_fetchMissChangesets','_transformUndoredo','uniscriptRunEvent','toLowerCase','_doCreateSocket','CHANGESET_SHOULD_RETRY','state','registerHTTPInterceptor','WordArray','PY_RUNTIME_SCRIPT_ERROR','YUUMI_RATE_OVER_LIMIT','SheetsSelectionsService','loginUrlKey','_onConflict','msCrypto','_key','SheetTransformSelectionsService','csRejEvent','data','_data','_mode','random','COLLAB_SUBMIT_CHANGESET_URL_KEY','emitEvent','_resendWithTimeout','filter','2699472IfNBao','ImageUploadStatusType','_entityInit$','encryptBlock','JOIN','_imageSourceCache','_isPermissionRej','[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.','commentUpdateEvent','_onOffline','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','MemberService','_tryReconnect','liveShareNewHost','&assign=','getCurrentUser','onload','collaborators','/universer-api/authz','isArray','onSendChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_pendingMutations','stopTime','collabSubmitChangesetUrl','_getUndoStack','_telemetryInfo','padding','DEFAULT_COLLAB_WEB_SOCKET_URL','_getRedoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','/resources','dispose$','initWorkbookPermissionChange','unsubscribe','_loadDoc','_scheduleCompleteTimestamp','@univerjs-pro/collaboration','_univerInstanceService','_onRemoteRetry','/universer-api/file/{fileID}/sign-url','setCurrentUser','pad','prototype','find','ConflictState','CollaborationController','update','InsertSheetMutation','hasOwnProperty','sin','\x20in\x20_schedule.','MentionType','_sendingTimer','[CollaborationSessionService]','refreshPermission','CompressMutationService','iterations','getCollabEntity$','newCsEvent','_checkMissing','SheetPermissionInitController','_createInitialStateImpl','_roomMembers','getOwnPropertyDescriptor','HEARTBEAT_INTERVAL','add','addHandlerCallback','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SerializableCipher','isPermissionRej','getGlobalObject','_applyRemoteChangeset','_oKey','_doReset','_substituteUndoStack','IConfigService','INTERNAL_ERROR','UNIVER_SHEET','take','Undefined','updateCursorEvent','Hex','PENDING','origin','ceil','CHANGESET_REJ','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','readInt32LE','algo','_getCtorByUniverType','_emitMembers','next','SnapshotServerOverHTTPService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fetch_missing','asObservable','substr','CollaborationUIEventService','UNRECOGNIZED','_updateStatus','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ONLINE','session','/unit/','LOCAL_CACHE_INTERVAL','_lockTransition','INVALID_ARGUMENT','isTransformMutationsWithChangesetFailure','socketService','SOCKET_FAILED_RETRY','HELLO','_onUserLeave','NO_OTHER_CLIENTS_EDITING','[UniverCollaborationClientPlugin]','fetchMiss','_instanceService','_type','firstValueFrom','_onRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','revision','originalMeta','TOO_MANY_REQUESTS','textEncoder','_changesetReqId','defineProperty','SessionStatus','_startCollaboration','JOINING','_getSignURL','_onMessage','PERMISSION_REJ','$super','_submitChangeset','reqId','LIVESHARE_NEW_HOST','_reverseMap','APPLY_REVISION_CONFILICT','_socketMessageSubscription','Optional','SUCCUSS','_onJoinRoomEvent','IUniverInstanceService','not_collab','_userManagerService','CHANGESET_ACK','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/block/','takeUntil','joinRsp','_schedule','target','IAuthzIoService','buffer','CollaborationSessionService','_parse','sid','?size=','complete','HTTPService','[SyncedState]:\x20received\x20acknowledgement.','patch','_sendHeartbeatTimer','localeService','floor','_shouldReportTelemetry','unitID','SetSelectionsOperation','sessionStatus$','createSocket','touchDependencies','USERS_ENTER','onlyLocal','_transformRemoteChangesetByStateCache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_hash','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','map','retryConnectingInterval','ws://127.0.0.1:8000/universer-api/comb/connect','status','commentUpdate$','UNISCRIPT_RUN','message$','HEARTBEAT_INTERVAL_KEY','ciphertext','Subject','enableAuthServer','_collabSessionService','values','getConfig','min','_initCloseConn','_showConflictNotification','_timeoutTimer','SUBMIT_CHANGESET','DataLoaderService','SyncedState','_process','/collaborator','?url=','_state$','getTime','MSG_FOR_ERROR','CollaborationSession','_decreaseWaiting','_localeService','Failed\x20to\x20update\x20permission\x20point','objectType','StreamCipher','_memberService','COMPLETION_FINISHED','_snapshotService','AwaitingWithPendingState','_roomCreated$','editingUnit','Base64','[CollaborationEntity]','_sessions','focused$','responseType','/-/object/list','CONFLICT','replace','/allowed','Malformed\x20UTF-8\x20data','conflict','getValue','formatter','session.join-failed','SNAPSHOT_SERVER_URL_KEY','joinEvent','SNAPSHOT_HAS_BEEN_REMOVED','createIdentifier','_doProcessBlock','_onRecvEvent','univer-pro.collaboration-client.network-condition.service','updateMember','_rescheduleHeartbeat','onMissedChangesetFetched','hostname','_createSocket','rxjs/operators','splice','generateRandomId','exports','extend','LEAVE','authzUrl','_tryEnsureSocket','113624ntrsZM','saveSheetBlock','EvpKDF','CollaborativeUndoRedoService','onTransformState','/universer-api/uniscript','__Key__','unitId','subscribe','PERSON','image/jpeg','_snapshotServerService','Rectangle','ILogService','length','isTransformMutationsWithChangesetSuccess','unitId\x20is\x20not\x20found','DEFAULT_WS_SESSION_TICKET_URL','c1Prime','headers','_replayCachedMutations','_transformStack','RichTextEditingMutation','eventID','collaboration-client.local-cache-service','/universer-api/user/session-ticket','FETCH_MISSING','PSEUDO_FETCH_MISSING_RESULT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onUserJoin','SNAPSHOT_INVALID_SNAPSHOT','mergeOverrideWithDependencies','_clearRetryConnectingTimer','onRemoteRetry','{fileID}','unit-cache-','incrementRevOfUnit','ALREADY_EXISTS','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getAllMembers','addImageSourceCache','listCollaborators','mixIn','keySize','isTransformChangesetsSuccess','CommandType','_syncEditingCollabCursor','INGEST','onMissingChangesets','_members','avatar','APPLY_PERMISSION_DENIED','repeat','_getSendChangesetTimeout','pending','/-/object/-/batch_allowed','list','ERROR_EXCEED_SIZE','_onRemoteACK','5569942jMcqij','SNAPSHOT_URL_KEY','SHA1','symbol','_onRemoteRejected','_iKey','ERROR_IMAGE','getCollabEntity','RECV','CollaborationStatus','_revisionService','UNKNOWN_CMD','_throwTelemetryCollaborationNewChangeset','_redoStacks','_removeRoom','/universer-api/snapshot','isInternalEditorID','from','_getDownloadEndpointURL','transformSelections','compute','\x0aCurrent:\x20','concat','findIndex','getTypeOfUnitAdded$','YUUMI_URL_COL_OUT_OF_RANGE','RxDisposable','@univerjs/docs','finalize','Injector','stringify','_unlockTransition','OTHER_CLIENTS_EDITING','getUnitId','_listenToNetworkCondition','@univerjs-pro/license','_acknowledgedAwaitingChangeset','allowed','body','HTTPRequest','waitForRoom$','_getAPIPrefix','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','collabWebSocketUrl','transformUndoRedo','_waitForHeartbeatResponse','b64DecodeUnicode','create','mapDocumentTypeToUniverType','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERMISSION_DENIED','ThresholdInterceptorFactory','submit\x20changeset\x20error!','onCommandExecuted','function','IDLE','@univerjs/network','HEARTBEAT','transformStack\x20failed!','infoRsp','createDecryptor','open$','FileId','_eventService','transformMutationsWithChangeset','Hasher'];_0x5e18=function(){return _0x505612;};return _0x5e18();}function Hi(){var _0x4d3cfe=_0x54a041;return et||(et=0x1,function(_0x490aeb,_0x29e160){(function(_0x579876,_0x4bf66d){var _0x1522ec=_0x741b;_0x490aeb[_0x1522ec(0x376)]=_0x4bf66d(ee());}(ki,function(_0x14eae7){var _0x56fc3e=_0x741b;return function(_0x54d372){var _0x1d0d04=_0x741b,_0x478961=_0x14eae7,_0x14d93d=_0x478961[_0x1d0d04(0x1b0)],_0x11af02=_0x14d93d['WordArray'],_0x30fef9=_0x14d93d[_0x1d0d04(0x3f8)],_0x553d20=_0x478961['algo'],_0x2e277e=[];(function(){var _0x35f4de=_0x1d0d04;for(var _0x4cfdf4=0x0;_0x4cfdf4<0x40;_0x4cfdf4++)_0x2e277e[_0x4cfdf4]=_0x54d372[_0x35f4de(0x253)](_0x54d372[_0x35f4de(0x2b0)](_0x4cfdf4+0x1))*0x100000000|0x0;}());var _0x1e2c89=_0x553d20[_0x1d0d04(0x158)]=_0x30fef9[_0x1d0d04(0x377)]({'_doReset':function(){var _0x2bc5ba=_0x1d0d04;this[_0x2bc5ba(0x32f)]=new _0x11af02['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x88a45d,_0xa7c382){var _0x588869=_0x1d0d04;for(var _0x13aa80=0x0;_0x13aa80<0x10;_0x13aa80++){var _0x3bf915=_0xa7c382+_0x13aa80,_0x381605=_0x88a45d[_0x3bf915];_0x88a45d[_0x3bf915]=(_0x381605<<0x8|_0x381605>>>0x18)&0xff00ff|(_0x381605<<0x18|_0x381605>>>0x8)&0xff00ff00;}var _0x3330ab=this[_0x588869(0x32f)][_0x588869(0x233)],_0x534b8b=_0x88a45d[_0xa7c382+0x0],_0x26be2e=_0x88a45d[_0xa7c382+0x1],_0x3cfe8e=_0x88a45d[_0xa7c382+0x2],_0x29ed0e=_0x88a45d[_0xa7c382+0x3],_0x32358a=_0x88a45d[_0xa7c382+0x4],_0x12baa0=_0x88a45d[_0xa7c382+0x5],_0x1125d1=_0x88a45d[_0xa7c382+0x6],_0x18eedd=_0x88a45d[_0xa7c382+0x7],_0x309737=_0x88a45d[_0xa7c382+0x8],_0x37c086=_0x88a45d[_0xa7c382+0x9],_0x2f5855=_0x88a45d[_0xa7c382+0xa],_0x547009=_0x88a45d[_0xa7c382+0xb],_0x2dbf2a=_0x88a45d[_0xa7c382+0xc],_0x1ce89b=_0x88a45d[_0xa7c382+0xd],_0x1a6b69=_0x88a45d[_0xa7c382+0xe],_0x4c8ea6=_0x88a45d[_0xa7c382+0xf],_0x29020b=_0x3330ab[0x0],_0x556b21=_0x3330ab[0x1],_0x5c4a22=_0x3330ab[0x2],_0x2e1510=_0x3330ab[0x3];_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x534b8b,0x7,_0x2e277e[0x0]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x26be2e,0xc,_0x2e277e[0x1]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x3cfe8e,0x11,_0x2e277e[0x2]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x29ed0e,0x16,_0x2e277e[0x3]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x32358a,0x7,_0x2e277e[0x4]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x12baa0,0xc,_0x2e277e[0x5]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1125d1,0x11,_0x2e277e[0x6]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x18eedd,0x16,_0x2e277e[0x7]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x309737,0x7,_0x2e277e[0x8]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x37c086,0xc,_0x2e277e[0x9]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x2f5855,0x11,_0x2e277e[0xa]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x547009,0x16,_0x2e277e[0xb]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x2dbf2a,0x7,_0x2e277e[0xc]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1ce89b,0xc,_0x2e277e[0xd]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1a6b69,0x11,_0x2e277e[0xe]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x4c8ea6,0x16,_0x2e277e[0xf]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x26be2e,0x5,_0x2e277e[0x10]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1125d1,0x9,_0x2e277e[0x11]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x547009,0xe,_0x2e277e[0x12]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x534b8b,0x14,_0x2e277e[0x13]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x12baa0,0x5,_0x2e277e[0x14]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x2f5855,0x9,_0x2e277e[0x15]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x4c8ea6,0xe,_0x2e277e[0x16]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x32358a,0x14,_0x2e277e[0x17]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x37c086,0x5,_0x2e277e[0x18]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1a6b69,0x9,_0x2e277e[0x19]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x29ed0e,0xe,_0x2e277e[0x1a]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x309737,0x14,_0x2e277e[0x1b]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x1ce89b,0x5,_0x2e277e[0x1c]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x3cfe8e,0x9,_0x2e277e[0x1d]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x18eedd,0xe,_0x2e277e[0x1e]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x2dbf2a,0x14,_0x2e277e[0x1f]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x12baa0,0x4,_0x2e277e[0x20]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x309737,0xb,_0x2e277e[0x21]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x547009,0x10,_0x2e277e[0x22]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1a6b69,0x17,_0x2e277e[0x23]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x26be2e,0x4,_0x2e277e[0x24]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x32358a,0xb,_0x2e277e[0x25]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x18eedd,0x10,_0x2e277e[0x26]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x2f5855,0x17,_0x2e277e[0x27]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x1ce89b,0x4,_0x2e277e[0x28]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x534b8b,0xb,_0x2e277e[0x29]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x29ed0e,0x10,_0x2e277e[0x2a]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1125d1,0x17,_0x2e277e[0x2b]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x37c086,0x4,_0x2e277e[0x2c]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x2dbf2a,0xb,_0x2e277e[0x2d]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x4c8ea6,0x10,_0x2e277e[0x2e]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x3cfe8e,0x17,_0x2e277e[0x2f]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x534b8b,0x6,_0x2e277e[0x30]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x18eedd,0xa,_0x2e277e[0x31]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1a6b69,0xf,_0x2e277e[0x32]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x12baa0,0x15,_0x2e277e[0x33]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x2dbf2a,0x6,_0x2e277e[0x34]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x29ed0e,0xa,_0x2e277e[0x35]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x2f5855,0xf,_0x2e277e[0x36]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x26be2e,0x15,_0x2e277e[0x37]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x309737,0x6,_0x2e277e[0x38]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x4c8ea6,0xa,_0x2e277e[0x39]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1125d1,0xf,_0x2e277e[0x3a]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1ce89b,0x15,_0x2e277e[0x3b]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x32358a,0x6,_0x2e277e[0x3c]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x547009,0xa,_0x2e277e[0x3d]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x3cfe8e,0xf,_0x2e277e[0x3e]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x37c086,0x15,_0x2e277e[0x3f]),_0x3330ab[0x0]=_0x3330ab[0x0]+_0x29020b|0x0,_0x3330ab[0x1]=_0x3330ab[0x1]+_0x556b21|0x0,_0x3330ab[0x2]=_0x3330ab[0x2]+_0x5c4a22|0x0,_0x3330ab[0x3]=_0x3330ab[0x3]+_0x2e1510|0x0;},'_doFinalize':function(){var _0x46f6bf=_0x1d0d04,_0x582b74=this[_0x46f6bf(0x277)],_0x4454b3=_0x582b74['words'],_0x33b420=this[_0x46f6bf(0x1b2)]*0x8,_0x2757aa=_0x582b74['sigBytes']*0x8;_0x4454b3[_0x2757aa>>>0x5]|=0x80<<0x18-_0x2757aa%0x20;var _0x1a5257=_0x54d372['floor'](_0x33b420/0x100000000),_0x2dcbcf=_0x33b420;_0x4454b3[(_0x2757aa+0x40>>>0x9<<0x4)+0xf]=(_0x1a5257<<0x8|_0x1a5257>>>0x18)&0xff00ff|(_0x1a5257<<0x18|_0x1a5257>>>0x8)&0xff00ff00,_0x4454b3[(_0x2757aa+0x40>>>0x9<<0x4)+0xe]=(_0x2dcbcf<<0x8|_0x2dcbcf>>>0x18)&0xff00ff|(_0x2dcbcf<<0x18|_0x2dcbcf>>>0x8)&0xff00ff00,_0x582b74['sigBytes']=(_0x4454b3[_0x46f6bf(0x389)]+0x1)*0x4,this[_0x46f6bf(0x347)]();for(var _0x3783e9=this[_0x46f6bf(0x32f)],_0xf6a8ff=_0x3783e9[_0x46f6bf(0x233)],_0x496860=0x0;_0x496860<0x4;_0x496860++){var _0x35ad09=_0xf6a8ff[_0x496860];_0xf6a8ff[_0x496860]=(_0x35ad09<<0x8|_0x35ad09>>>0x18)&0xff00ff|(_0x35ad09<<0x18|_0x35ad09>>>0x8)&0xff00ff00;}return _0x3783e9;},'clone':function(){var _0x41291c=_0x1d0d04,_0x40feaf=_0x30fef9[_0x41291c(0x442)][_0x41291c(0x1ae)](this);return _0x40feaf[_0x41291c(0x32f)]=this[_0x41291c(0x32f)][_0x41291c(0x442)](),_0x40feaf;}});function _0x3f68b9(_0x25bc15,_0x19be86,_0xf4e783,_0x4c7c26,_0x4fd878,_0x5f4602,_0x2b5ad6){var _0x5b236e=_0x25bc15+(_0x19be86&_0xf4e783|~_0x19be86&_0x4c7c26)+_0x4fd878+_0x2b5ad6;return(_0x5b236e<<_0x5f4602|_0x5b236e>>>0x20-_0x5f4602)+_0x19be86;}function _0x4f7021(_0x8aa67,_0x50d954,_0x6fccd4,_0x269753,_0x447561,_0x5d057a,_0x27a2d2){var _0x52b59c=_0x8aa67+(_0x50d954&_0x269753|_0x6fccd4&~_0x269753)+_0x447561+_0x27a2d2;return(_0x52b59c<<_0x5d057a|_0x52b59c>>>0x20-_0x5d057a)+_0x50d954;}function _0x20fc57(_0x454754,_0x79932b,_0xa864b4,_0x2a1c29,_0x3db4cb,_0x322971,_0xdaa1f1){var _0x80de95=_0x454754+(_0x79932b^_0xa864b4^_0x2a1c29)+_0x3db4cb+_0xdaa1f1;return(_0x80de95<<_0x322971|_0x80de95>>>0x20-_0x322971)+_0x79932b;}function _0x41a26d(_0x5f2d3f,_0x474a8b,_0x14542a,_0x2de4d5,_0x306f67,_0x380567,_0x1f9c61){var _0x114d41=_0x5f2d3f+(_0x14542a^(_0x474a8b|~_0x2de4d5))+_0x306f67+_0x1f9c61;return(_0x114d41<<_0x380567|_0x114d41>>>0x20-_0x380567)+_0x474a8b;}_0x478961[_0x1d0d04(0x158)]=_0x30fef9[_0x1d0d04(0x229)](_0x1e2c89),_0x478961[_0x1d0d04(0x174)]=_0x30fef9[_0x1d0d04(0x173)](_0x1e2c89);}(Math),_0x14eae7[_0x56fc3e(0x158)];}));}(me)),me[_0x4d3cfe(0x376)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x54a041(0x376)],tt;function $i(){var _0x21be44=_0x54a041;return tt||(tt=0x1,function(_0x488952,_0x3cc435){(function(_0x1acf12,_0x57afc2){var _0x5bdccd=_0x741b;_0x488952[_0x5bdccd(0x376)]=_0x57afc2(ee());}(ji,function(_0x85820d){return(function(){var _0x18c59b=_0x741b,_0x21636e=_0x85820d,_0x1bd3e8=_0x21636e[_0x18c59b(0x1b0)],_0x2de1de=_0x1bd3e8[_0x18c59b(0x26c)],_0x3465b1=_0x1bd3e8[_0x18c59b(0x3f8)],_0x3c5eb1=_0x21636e['algo'],_0x2ec71e=[],_0x26558f=_0x3c5eb1[_0x18c59b(0x3b9)]=_0x3465b1[_0x18c59b(0x377)]({'_doReset':function(){var _0x1d107d=_0x18c59b;this['_hash']=new _0x2de1de[(_0x1d107d(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a7c8a,_0x21d85f){var _0x3bbc01=_0x18c59b;for(var _0x1758a5=this[_0x3bbc01(0x32f)][_0x3bbc01(0x233)],_0x1cddf2=_0x1758a5[0x0],_0x2077a4=_0x1758a5[0x1],_0x390259=_0x1758a5[0x2],_0x3eed35=_0x1758a5[0x3],_0x42f942=_0x1758a5[0x4],_0x53050c=0x0;_0x53050c<0x50;_0x53050c++){if(_0x53050c<0x10)_0x2ec71e[_0x53050c]=_0x1a7c8a[_0x21d85f+_0x53050c]|0x0;else{var _0x4fa525=_0x2ec71e[_0x53050c-0x3]^_0x2ec71e[_0x53050c-0x8]^_0x2ec71e[_0x53050c-0xe]^_0x2ec71e[_0x53050c-0x10];_0x2ec71e[_0x53050c]=_0x4fa525<<0x1|_0x4fa525>>>0x1f;}var _0x1e2a4c=(_0x1cddf2<<0x5|_0x1cddf2>>>0x1b)+_0x42f942+_0x2ec71e[_0x53050c];_0x53050c<0x14?_0x1e2a4c+=(_0x2077a4&_0x390259|~_0x2077a4&_0x3eed35)+0x5a827999:_0x53050c<0x28?_0x1e2a4c+=(_0x2077a4^_0x390259^_0x3eed35)+0x6ed9eba1:_0x53050c<0x3c?_0x1e2a4c+=(_0x2077a4&_0x390259|_0x2077a4&_0x3eed35|_0x390259&_0x3eed35)-0x70e44324:_0x1e2a4c+=(_0x2077a4^_0x390259^_0x3eed35)-0x359d3e2a,_0x42f942=_0x3eed35,_0x3eed35=_0x390259,_0x390259=_0x2077a4<<0x1e|_0x2077a4>>>0x2,_0x2077a4=_0x1cddf2,_0x1cddf2=_0x1e2a4c;}_0x1758a5[0x0]=_0x1758a5[0x0]+_0x1cddf2|0x0,_0x1758a5[0x1]=_0x1758a5[0x1]+_0x2077a4|0x0,_0x1758a5[0x2]=_0x1758a5[0x2]+_0x390259|0x0,_0x1758a5[0x3]=_0x1758a5[0x3]+_0x3eed35|0x0,_0x1758a5[0x4]=_0x1758a5[0x4]+_0x42f942|0x0;},'_doFinalize':function(){var _0x28539a=_0x18c59b,_0x3259c4=this[_0x28539a(0x277)],_0xdc9c54=_0x3259c4[_0x28539a(0x233)],_0xb66520=this[_0x28539a(0x1b2)]*0x8,_0x56520=_0x3259c4[_0x28539a(0x1da)]*0x8;return _0xdc9c54[_0x56520>>>0x5]|=0x80<<0x18-_0x56520%0x20,_0xdc9c54[(_0x56520+0x40>>>0x9<<0x4)+0xe]=Math[_0x28539a(0x324)](_0xb66520/0x100000000),_0xdc9c54[(_0x56520+0x40>>>0x9<<0x4)+0xf]=_0xb66520,_0x3259c4[_0x28539a(0x1da)]=_0xdc9c54[_0x28539a(0x389)]*0x4,this[_0x28539a(0x347)](),this[_0x28539a(0x32f)];},'clone':function(){var _0x5bc046=_0x18c59b,_0x5ea666=_0x3465b1[_0x5bc046(0x442)][_0x5bc046(0x1ae)](this);return _0x5ea666[_0x5bc046(0x32f)]=this[_0x5bc046(0x32f)][_0x5bc046(0x442)](),_0x5ea666;}});_0x21636e[_0x18c59b(0x3b9)]=_0x3465b1['_createHelper'](_0x26558f),_0x21636e[_0x18c59b(0x1f6)]=_0x3465b1['_createHmacHelper'](_0x26558f);}()),_0x85820d['SHA1'];}));}(Ee)),Ee[_0x21be44(0x376)];}var Ce={'exports':{}},Bi=Ce[_0x54a041(0x376)],it;function Fi(){var _0x45c314=_0x54a041;return it||(it=0x1,function(_0x37b7bd,_0x1b5ec9){(function(_0x51033b,_0x2ba79a){var _0x402913=_0x741b;_0x37b7bd[_0x402913(0x376)]=_0x2ba79a(ee());}(Bi,function(_0x4fc867){(function(){var _0x252e77=_0x741b,_0x256d93=_0x4fc867,_0x44730e=_0x256d93[_0x252e77(0x1b0)],_0x4a3152=_0x44730e['Base'],_0x47dbcd=_0x256d93['enc'],_0x20cca0=_0x47dbcd['Utf8'],_0x2eec34=_0x256d93[_0x252e77(0x2d8)];_0x2eec34[_0x252e77(0x21d)]=_0x4a3152[_0x252e77(0x377)]({'init':function(_0x11b624,_0xd727a7){var _0x149cf3=_0x252e77;_0x11b624=this['_hasher']=new _0x11b624['init'](),typeof _0xd727a7=='string'&&(_0xd727a7=_0x20cca0['parse'](_0xd727a7));var _0x249ac0=_0x11b624[_0x149cf3(0x22e)],_0xefbb7f=_0x249ac0*0x4;_0xd727a7[_0x149cf3(0x1da)]>_0xefbb7f&&(_0xd727a7=_0x11b624[_0x149cf3(0x3d3)](_0xd727a7)),_0xd727a7[_0x149cf3(0x1dc)]();for(var _0x33ac39=this[_0x149cf3(0x2c7)]=_0xd727a7[_0x149cf3(0x442)](),_0x2b8c78=this[_0x149cf3(0x3bc)]=_0xd727a7['clone'](),_0x160e43=_0x33ac39['words'],_0x351ed0=_0x2b8c78[_0x149cf3(0x233)],_0x4bf3bd=0x0;_0x4bf3bd<_0x249ac0;_0x4bf3bd++)_0x160e43[_0x4bf3bd]^=0x5c5c5c5c,_0x351ed0[_0x4bf3bd]^=0x36363636;_0x33ac39[_0x149cf3(0x1da)]=_0x2b8c78['sigBytes']=_0xefbb7f,this['reset']();},'reset':function(){var _0x534ab2=_0x252e77,_0x58f301=this['_hasher'];_0x58f301['reset'](),_0x58f301['update'](this[_0x534ab2(0x3bc)]);},'update':function(_0x5aa761){var _0x42caaf=_0x252e77;return this[_0x42caaf(0x42e)]['update'](_0x5aa761),this;},'finalize':function(_0x3e7943){var _0x26b280=_0x252e77,_0x9f2546=this[_0x26b280(0x42e)],_0x4c97b4=_0x9f2546['finalize'](_0x3e7943);_0x9f2546[_0x26b280(0x3fa)]();var _0x10f0d0=_0x9f2546[_0x26b280(0x3d3)](this[_0x26b280(0x2c7)][_0x26b280(0x442)]()[_0x26b280(0x3cd)](_0x4c97b4));return _0x10f0d0;}});}());}));}(Ce)),Ce[_0x45c314(0x376)];}var Wi=Ie[_0x54a041(0x376)],nt;function Pt(){var _0x671eb0=_0x54a041;return nt||(nt=0x1,function(_0x2574d1,_0x2023c7){(function(_0x5a56bb,_0x38274e,_0x4c3cea){var _0x261cfb=_0x741b;_0x2574d1[_0x261cfb(0x376)]=_0x38274e(ee(),$i(),Fi());}(Wi,function(_0x304696){var _0x280440=_0x741b;return(function(){var _0x5226ef=_0x741b,_0x470981=_0x304696,_0x321820=_0x470981[_0x5226ef(0x1b0)],_0x395a0e=_0x321820[_0x5226ef(0x445)],_0x1b69e8=_0x321820[_0x5226ef(0x26c)],_0x4f24f1=_0x470981[_0x5226ef(0x2d8)],_0x13b418=_0x4f24f1[_0x5226ef(0x158)],_0x4bc08a=_0x4f24f1[_0x5226ef(0x37d)]=_0x395a0e[_0x5226ef(0x377)]({'cfg':_0x395a0e[_0x5226ef(0x377)]({'keySize':0x80/0x20,'hasher':_0x13b418,'iterations':0x1}),'init':function(_0x49667e){var _0x53d3a3=_0x5226ef;this[_0x53d3a3(0x230)]=this[_0x53d3a3(0x230)]['extend'](_0x49667e);},'compute':function(_0x2af084,_0x2055db){var _0x514b42=_0x5226ef;for(var _0xe8cb32,_0x191346=this[_0x514b42(0x230)],_0x9edb8a=_0x191346[_0x514b42(0x1c8)][_0x514b42(0x3e6)](),_0x263e92=_0x1b69e8[_0x514b42(0x3e6)](),_0xcaced0=_0x263e92[_0x514b42(0x233)],_0x32180a=_0x191346['keySize'],_0x256e57=_0x191346[_0x514b42(0x2b7)];_0xcaced0['length']<_0x32180a;){_0xe8cb32&&_0x9edb8a[_0x514b42(0x2ad)](_0xe8cb32),_0xe8cb32=_0x9edb8a[_0x514b42(0x2ad)](_0x2af084)[_0x514b42(0x3d3)](_0x2055db),_0x9edb8a[_0x514b42(0x3fa)]();for(var _0x46d8f0=0x1;_0x46d8f0<_0x256e57;_0x46d8f0++)_0xe8cb32=_0x9edb8a['finalize'](_0xe8cb32),_0x9edb8a[_0x514b42(0x3fa)]();_0x263e92['concat'](_0xe8cb32);}return _0x263e92['sigBytes']=_0x32180a*0x4,_0x263e92;}});_0x470981['EvpKDF']=function(_0x40ad3f,_0x22a202,_0x29ce28){var _0xe2b457=_0x5226ef;return _0x4bc08a[_0xe2b457(0x3e6)](_0x29ce28)[_0xe2b457(0x3cb)](_0x40ad3f,_0x22a202);};}()),_0x304696[_0x280440(0x37d)];}));}(Ie)),Ie[_0x671eb0(0x376)];}var Te={'exports':{}},Gi=Te[_0x54a041(0x376)],rt;function At(){var _0x2b47e6=_0x54a041;return rt||(rt=0x1,function(_0x21b562,_0x4e373f){(function(_0x55cb3c,_0x173826,_0x17b0b7){var _0x2b15d5=_0x741b;_0x21b562[_0x2b15d5(0x376)]=_0x173826(ee(),Pt());}(Gi,function(_0xb4485){var _0x1a8cb0=_0x741b;_0xb4485['lib'][_0x1a8cb0(0x413)]||function(_0x3386e0){var _0x502a46=_0x1a8cb0,_0x5f5cca=_0xb4485,_0x5aece7=_0x5f5cca[_0x502a46(0x1b0)],_0x1e4fba=_0x5aece7[_0x502a46(0x445)],_0x560152=_0x5aece7[_0x502a46(0x26c)],_0x3b2d34=_0x5aece7['BufferedBlockAlgorithm'],_0xddb75=_0x5f5cca[_0x502a46(0x45f)];_0xddb75['Utf8'];var _0x250339=_0xddb75[_0x502a46(0x359)],_0x58aac6=_0x5f5cca[_0x502a46(0x2d8)],_0x575b81=_0x58aac6[_0x502a46(0x37d)],_0x204132=_0x5aece7[_0x502a46(0x413)]=_0x3b2d34['extend']({'cfg':_0x1e4fba[_0x502a46(0x377)](),'createEncryptor':function(_0x2b0a43,_0x3f3739){var _0x18fb35=_0x502a46;return this['create'](this[_0x18fb35(0x450)],_0x2b0a43,_0x3f3739);},'createDecryptor':function(_0x16be65,_0x5d357e){var _0x30ae9e=_0x502a46;return this[_0x30ae9e(0x3e6)](this[_0x30ae9e(0x401)],_0x16be65,_0x5d357e);},'init':function(_0x15b79a,_0x35d421,_0x1d2453){var _0xc5f22f=_0x502a46;this[_0xc5f22f(0x230)]=this['cfg'][_0xc5f22f(0x377)](_0x1d2453),this['_xformMode']=_0x15b79a,this['_key']=_0x35d421,this[_0xc5f22f(0x3fa)]();},'reset':function(){var _0x47927b=_0x502a46;_0x3b2d34[_0x47927b(0x3fa)][_0x47927b(0x1ae)](this),this['_doReset']();},'process':function(_0x5451cc){var _0x25c7cf=_0x502a46;return this[_0x25c7cf(0x1fa)](_0x5451cc),this[_0x25c7cf(0x347)]();},'finalize':function(_0x496220){var _0x269dc7=_0x502a46;_0x496220&&this[_0x269dc7(0x1fa)](_0x496220);var _0x25be11=this[_0x269dc7(0x1ee)]();return _0x25be11;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5f0905(_0x29f1ce){var _0x2b80a4=_0x741b;return typeof _0x29f1ce==_0x2b80a4(0x16e)?_0x117079:_0x195352;}return function(_0x4f71a2){return{'encrypt':function(_0x53f6c8,_0x584bc5,_0x411f56){return _0x5f0905(_0x584bc5)['encrypt'](_0x4f71a2,_0x53f6c8,_0x584bc5,_0x411f56);},'decrypt':function(_0x581594,_0x1a8fc8,_0x4350fa){return _0x5f0905(_0x1a8fc8)['decrypt'](_0x4f71a2,_0x581594,_0x1a8fc8,_0x4350fa);}};};}())});_0x5aece7[_0x502a46(0x352)]=_0x204132[_0x502a46(0x377)]({'_doFinalize':function(){var _0xb893e7=_0x502a46,_0xbad8a1=this[_0xb893e7(0x347)](!0x0);return _0xbad8a1;},'blockSize':0x1});var _0xe8ccee=_0x5f5cca['mode']={},_0x543b47=_0x5aece7[_0x502a46(0x47c)]=_0x1e4fba[_0x502a46(0x377)]({'createEncryptor':function(_0x5c2074,_0x1823fc){var _0x1a01d0=_0x502a46;return this[_0x1a01d0(0x427)]['create'](_0x5c2074,_0x1823fc);},'createDecryptor':function(_0x44cdfa,_0x31db80){var _0x2268f3=_0x502a46;return this['Decryptor'][_0x2268f3(0x3e6)](_0x44cdfa,_0x31db80);},'init':function(_0x55c9b1,_0x1068a5){var _0x4d8d51=_0x502a46;this['_cipher']=_0x55c9b1,this[_0x4d8d51(0x1f7)]=_0x1068a5;}}),_0xe00a0f=_0xe8ccee[_0x502a46(0x24e)]=(function(){var _0x486c37=_0x502a46,_0x271779=_0x543b47[_0x486c37(0x377)]();_0x271779[_0x486c37(0x427)]=_0x271779[_0x486c37(0x377)]({'processBlock':function(_0x6346c1,_0x254bf9){var _0x2c454e=_0x486c37,_0x1513c9=this[_0x2c454e(0x225)],_0x25210a=_0x1513c9[_0x2c454e(0x22e)];_0x3c0ef8['call'](this,_0x6346c1,_0x254bf9,_0x25210a),_0x1513c9[_0x2c454e(0x281)](_0x6346c1,_0x254bf9),this[_0x2c454e(0x205)]=_0x6346c1[_0x2c454e(0x165)](_0x254bf9,_0x254bf9+_0x25210a);}}),_0x271779[_0x486c37(0x474)]=_0x271779[_0x486c37(0x377)]({'processBlock':function(_0x4b6efb,_0x153c73){var _0x4dd7b8=_0x486c37,_0x2585fe=this[_0x4dd7b8(0x225)],_0x33da2f=_0x2585fe[_0x4dd7b8(0x22e)],_0x1f041c=_0x4b6efb[_0x4dd7b8(0x165)](_0x153c73,_0x153c73+_0x33da2f);_0x2585fe['decryptBlock'](_0x4b6efb,_0x153c73),_0x3c0ef8[_0x4dd7b8(0x1ae)](this,_0x4b6efb,_0x153c73,_0x33da2f),this[_0x4dd7b8(0x205)]=_0x1f041c;}});function _0x3c0ef8(_0x1593aa,_0x52439c,_0x3ebfc2){var _0x185406=_0x486c37,_0x4a4ab3,_0x10c7f5=this[_0x185406(0x1f7)];_0x10c7f5?(_0x4a4ab3=_0x10c7f5,this['_iv']=_0x3386e0):_0x4a4ab3=this[_0x185406(0x205)];for(var _0x40635a=0x0;_0x40635a<_0x3ebfc2;_0x40635a++)_0x1593aa[_0x52439c+_0x40635a]^=_0x4a4ab3[_0x40635a];}return _0x271779;}()),_0x481047=_0x5f5cca[_0x502a46(0x2a8)]={},_0x53befd=_0x481047[_0x502a46(0x1d0)]={'pad':function(_0x2d3c2b,_0x66b10b){var _0x25aa5d=_0x502a46;for(var _0x50c116=_0x66b10b*0x4,_0x47a993=_0x50c116-_0x2d3c2b[_0x25aa5d(0x1da)]%_0x50c116,_0x574197=_0x47a993<<0x18|_0x47a993<<0x10|_0x47a993<<0x8|_0x47a993,_0x4e6c88=[],_0x4d8ca4=0x0;_0x4d8ca4<_0x47a993;_0x4d8ca4+=0x4)_0x4e6c88['push'](_0x574197);var _0x5c7805=_0x560152[_0x25aa5d(0x3e6)](_0x4e6c88,_0x47a993);_0x2d3c2b['concat'](_0x5c7805);},'unpad':function(_0xe3efb9){var _0x2fdaea=_0x502a46,_0x565f8d=_0xe3efb9[_0x2fdaea(0x233)][_0xe3efb9[_0x2fdaea(0x1da)]-0x1>>>0x2]&0xff;_0xe3efb9[_0x2fdaea(0x1da)]-=_0x565f8d;}};_0x5aece7[_0x502a46(0x17e)]=_0x204132['extend']({'cfg':_0x204132[_0x502a46(0x230)][_0x502a46(0x377)]({'mode':_0xe00a0f,'padding':_0x53befd}),'reset':function(){var _0x3fded1=_0x502a46,_0xb2ec81;_0x204132['reset'][_0x3fded1(0x1ae)](this);var _0x35ebdd=this[_0x3fded1(0x230)],_0x2e9cc4=_0x35ebdd['iv'],_0x521128=_0x35ebdd['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xb2ec81=_0x521128['createEncryptor']:(_0xb2ec81=_0x521128[_0x3fded1(0x3f3)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x3fded1(0x1d7)]==_0xb2ec81?this[_0x3fded1(0x278)]['init'](this,_0x2e9cc4&&_0x2e9cc4['words']):(this['_mode']=_0xb2ec81['call'](_0x521128,this,_0x2e9cc4&&_0x2e9cc4[_0x3fded1(0x233)]),this[_0x3fded1(0x278)][_0x3fded1(0x1d7)]=_0xb2ec81);},'_doProcessBlock':function(_0x1a7a41,_0x35271e){var _0x28a66e=_0x502a46;this[_0x28a66e(0x278)][_0x28a66e(0x25d)](_0x1a7a41,_0x35271e);},'_doFinalize':function(){var _0x24e206=_0x502a46,_0x2b4271,_0x1a1701=this[_0x24e206(0x230)][_0x24e206(0x299)];return this[_0x24e206(0x23b)]==this[_0x24e206(0x450)]?(_0x1a1701[_0x24e206(0x2a8)](this['_data'],this[_0x24e206(0x22e)]),_0x2b4271=this['_process'](!0x0)):(_0x2b4271=this[_0x24e206(0x347)](!0x0),_0x1a1701[_0x24e206(0x241)](_0x2b4271)),_0x2b4271;},'blockSize':0x80/0x20});var _0x401330=_0x5aece7['CipherParams']=_0x1e4fba[_0x502a46(0x377)]({'init':function(_0x59ef5a){this['mixIn'](_0x59ef5a);},'toString':function(_0x5a0886){var _0x50b8ab=_0x502a46;return(_0x5a0886||this[_0x50b8ab(0x365)])[_0x50b8ab(0x3d5)](this);}}),_0x459b7a=_0x5f5cca[_0x502a46(0x251)]={},_0x3c7bc2=_0x459b7a[_0x502a46(0x414)]={'stringify':function(_0x493b80){var _0x2e811b=_0x502a46,_0x15ed1e,_0x2610ba=_0x493b80['ciphertext'],_0x2987e9=_0x493b80[_0x2e811b(0x468)];return _0x2987e9?_0x15ed1e=_0x560152[_0x2e811b(0x3e6)]([0x53616c74,0x65645f5f])['concat'](_0x2987e9)[_0x2e811b(0x3cd)](_0x2610ba):_0x15ed1e=_0x2610ba,_0x15ed1e[_0x2e811b(0x160)](_0x250339);},'parse':function(_0x3d229e){var _0x4c7cc1=_0x502a46,_0xb8f8f3,_0x5cb057=_0x250339[_0x4c7cc1(0x25f)](_0x3d229e),_0x15ff33=_0x5cb057[_0x4c7cc1(0x233)];return _0x15ff33[0x0]==0x53616c74&&_0x15ff33[0x1]==0x65645f5f&&(_0xb8f8f3=_0x560152[_0x4c7cc1(0x3e6)](_0x15ff33['slice'](0x2,0x4)),_0x15ff33[_0x4c7cc1(0x374)](0x0,0x4),_0x5cb057[_0x4c7cc1(0x1da)]-=0x10),_0x401330[_0x4c7cc1(0x3e6)]({'ciphertext':_0x5cb057,'salt':_0xb8f8f3});}},_0x195352=_0x5aece7[_0x502a46(0x2c3)]=_0x1e4fba[_0x502a46(0x377)]({'cfg':_0x1e4fba[_0x502a46(0x377)]({'format':_0x3c7bc2}),'encrypt':function(_0x3aa980,_0x1783f3,_0x51fcc2,_0x132103){var _0x4b7227=_0x502a46;_0x132103=this[_0x4b7227(0x230)][_0x4b7227(0x377)](_0x132103);var _0x2763d8=_0x3aa980[_0x4b7227(0x461)](_0x51fcc2,_0x132103),_0x51aec8=_0x2763d8[_0x4b7227(0x3d3)](_0x1783f3),_0x43c033=_0x2763d8[_0x4b7227(0x230)];return _0x401330[_0x4b7227(0x3e6)]({'ciphertext':_0x51aec8,'key':_0x51fcc2,'iv':_0x43c033['iv'],'algorithm':_0x3aa980,'mode':_0x43c033[_0x4b7227(0x24d)],'padding':_0x43c033['padding'],'blockSize':_0x3aa980[_0x4b7227(0x22e)],'formatter':_0x132103[_0x4b7227(0x251)]});},'decrypt':function(_0x29129e,_0x25640d,_0x513153,_0x1a5ab1){var _0x2982ac=_0x502a46;_0x1a5ab1=this[_0x2982ac(0x230)][_0x2982ac(0x377)](_0x1a5ab1),_0x25640d=this[_0x2982ac(0x31b)](_0x25640d,_0x1a5ab1[_0x2982ac(0x251)]);var _0x1314d1=_0x29129e[_0x2982ac(0x3f3)](_0x513153,_0x1a5ab1)[_0x2982ac(0x3d3)](_0x25640d['ciphertext']);return _0x1314d1;},'_parse':function(_0x1589eb,_0x5c5661){var _0x54f6d5=_0x502a46;return typeof _0x1589eb==_0x54f6d5(0x16e)?_0x5c5661['parse'](_0x1589eb,this):_0x1589eb;}}),_0x4787bc=_0x5f5cca['kdf']={},_0xa6f056=_0x4787bc[_0x502a46(0x414)]={'execute':function(_0x182671,_0x331aa9,_0x5311bb,_0x43cd3d,_0x423646){var _0x192c07=_0x502a46;if(_0x43cd3d||(_0x43cd3d=_0x560152[_0x192c07(0x279)](0x40/0x8)),_0x423646)var _0x5c04a0=_0x575b81[_0x192c07(0x3e6)]({'keySize':_0x331aa9+_0x5311bb,'hasher':_0x423646})['compute'](_0x182671,_0x43cd3d);else var _0x5c04a0=_0x575b81[_0x192c07(0x3e6)]({'keySize':_0x331aa9+_0x5311bb})[_0x192c07(0x3cb)](_0x182671,_0x43cd3d);var _0x23f946=_0x560152['create'](_0x5c04a0[_0x192c07(0x233)]['slice'](_0x331aa9),_0x5311bb*0x4);return _0x5c04a0[_0x192c07(0x1da)]=_0x331aa9*0x4,_0x401330[_0x192c07(0x3e6)]({'key':_0x5c04a0,'iv':_0x23f946,'salt':_0x43cd3d});}},_0x117079=_0x5aece7['PasswordBasedCipher']=_0x195352[_0x502a46(0x377)]({'cfg':_0x195352[_0x502a46(0x230)]['extend']({'kdf':_0xa6f056}),'encrypt':function(_0x2996cb,_0x198be2,_0x3a2f20,_0x4c7a62){var _0x15f638=_0x502a46;_0x4c7a62=this[_0x15f638(0x230)][_0x15f638(0x377)](_0x4c7a62);var _0x30aa6c=_0x4c7a62[_0x15f638(0x152)][_0x15f638(0x198)](_0x3a2f20,_0x2996cb['keySize'],_0x2996cb[_0x15f638(0x435)],_0x4c7a62[_0x15f638(0x468)],_0x4c7a62[_0x15f638(0x1c8)]);_0x4c7a62['iv']=_0x30aa6c['iv'];var _0x4ffc54=_0x195352[_0x15f638(0x418)][_0x15f638(0x1ae)](this,_0x2996cb,_0x198be2,_0x30aa6c['key'],_0x4c7a62);return _0x4ffc54[_0x15f638(0x3a6)](_0x30aa6c),_0x4ffc54;},'decrypt':function(_0x355047,_0x228148,_0x21fdfd,_0x1c39d9){var _0x38c72a=_0x502a46;_0x1c39d9=this[_0x38c72a(0x230)]['extend'](_0x1c39d9),_0x228148=this[_0x38c72a(0x31b)](_0x228148,_0x1c39d9[_0x38c72a(0x251)]);var _0x7a6684=_0x1c39d9[_0x38c72a(0x152)]['execute'](_0x21fdfd,_0x355047[_0x38c72a(0x3a7)],_0x355047[_0x38c72a(0x435)],_0x228148['salt'],_0x1c39d9[_0x38c72a(0x1c8)]);_0x1c39d9['iv']=_0x7a6684['iv'];var _0x253654=_0x195352['decrypt'][_0x38c72a(0x1ae)](this,_0x355047,_0x228148,_0x7a6684[_0x38c72a(0x24a)],_0x1c39d9);return _0x253654;}});}();}));}(Te)),Te[_0x2b47e6(0x376)];}var Vi=fe[_0x54a041(0x376)],st;function Ki(){var _0x2725f1=_0x54a041;return st||(st=0x1,function(_0x2231fc,_0x3166af){(function(_0x3f6de9,_0x2edda4,_0x762463){_0x2231fc['exports']=_0x2edda4(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0xc4363){var _0x420f51=_0x741b;return(function(){var _0x4a3017=_0x741b,_0x5eede1=_0xc4363,_0x45c36d=_0x5eede1[_0x4a3017(0x1b0)],_0x966cd2=_0x45c36d[_0x4a3017(0x17e)],_0x5bb37c=_0x5eede1['algo'],_0x184fd1=[],_0x38c32f=[],_0x1aec43=[],_0x5ec885=[],_0x2f6bf1=[],_0x197b2d=[],_0x5359af=[],_0x3d9e22=[],_0x4ae96b=[],_0x3de689=[];(function(){for(var _0x19e756=[],_0x16ded3=0x0;_0x16ded3<0x100;_0x16ded3++)_0x16ded3<0x80?_0x19e756[_0x16ded3]=_0x16ded3<<0x1:_0x19e756[_0x16ded3]=_0x16ded3<<0x1^0x11b;for(var _0x26ac9a=0x0,_0xeb6d43=0x0,_0x16ded3=0x0;_0x16ded3<0x100;_0x16ded3++){var _0x2b1111=_0xeb6d43^_0xeb6d43<<0x1^_0xeb6d43<<0x2^_0xeb6d43<<0x3^_0xeb6d43<<0x4;_0x2b1111=_0x2b1111>>>0x8^_0x2b1111&0xff^0x63,_0x184fd1[_0x26ac9a]=_0x2b1111,_0x38c32f[_0x2b1111]=_0x26ac9a;var _0x230b5b=_0x19e756[_0x26ac9a],_0x1862f6=_0x19e756[_0x230b5b],_0x509418=_0x19e756[_0x1862f6],_0x125c9c=_0x19e756[_0x2b1111]*0x101^_0x2b1111*0x1010100;_0x1aec43[_0x26ac9a]=_0x125c9c<<0x18|_0x125c9c>>>0x8,_0x5ec885[_0x26ac9a]=_0x125c9c<<0x10|_0x125c9c>>>0x10,_0x2f6bf1[_0x26ac9a]=_0x125c9c<<0x8|_0x125c9c>>>0x18,_0x197b2d[_0x26ac9a]=_0x125c9c;var _0x125c9c=_0x509418*0x1010101^_0x1862f6*0x10001^_0x230b5b*0x101^_0x26ac9a*0x1010100;_0x5359af[_0x2b1111]=_0x125c9c<<0x18|_0x125c9c>>>0x8,_0x3d9e22[_0x2b1111]=_0x125c9c<<0x10|_0x125c9c>>>0x10,_0x4ae96b[_0x2b1111]=_0x125c9c<<0x8|_0x125c9c>>>0x18,_0x3de689[_0x2b1111]=_0x125c9c,_0x26ac9a?(_0x26ac9a=_0x230b5b^_0x19e756[_0x19e756[_0x19e756[_0x509418^_0x230b5b]]],_0xeb6d43^=_0x19e756[_0x19e756[_0xeb6d43]]):_0x26ac9a=_0xeb6d43=0x1;}}());var _0xf114ca=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3c79d9=_0x5bb37c[_0x4a3017(0x187)]=_0x966cd2['extend']({'_doReset':function(){var _0x330223=_0x4a3017,_0xe2a995;if(!(this[_0x330223(0x415)]&&this[_0x330223(0x190)]===this['_key'])){for(var _0xc44acf=this[_0x330223(0x190)]=this[_0x330223(0x273)],_0x492dc7=_0xc44acf['words'],_0x537d94=_0xc44acf['sigBytes']/0x4,_0x32c603=this[_0x330223(0x415)]=_0x537d94+0x6,_0x2b2524=(_0x32c603+0x1)*0x4,_0x5e3472=this[_0x330223(0x144)]=[],_0xd643c3=0x0;_0xd643c3<_0x2b2524;_0xd643c3++)_0xd643c3<_0x537d94?_0x5e3472[_0xd643c3]=_0x492dc7[_0xd643c3]:(_0xe2a995=_0x5e3472[_0xd643c3-0x1],_0xd643c3%_0x537d94?_0x537d94>0x6&&_0xd643c3%_0x537d94==0x4&&(_0xe2a995=_0x184fd1[_0xe2a995>>>0x18]<<0x18|_0x184fd1[_0xe2a995>>>0x10&0xff]<<0x10|_0x184fd1[_0xe2a995>>>0x8&0xff]<<0x8|_0x184fd1[_0xe2a995&0xff]):(_0xe2a995=_0xe2a995<<0x8|_0xe2a995>>>0x18,_0xe2a995=_0x184fd1[_0xe2a995>>>0x18]<<0x18|_0x184fd1[_0xe2a995>>>0x10&0xff]<<0x10|_0x184fd1[_0xe2a995>>>0x8&0xff]<<0x8|_0x184fd1[_0xe2a995&0xff],_0xe2a995^=_0xf114ca[_0xd643c3/_0x537d94|0x0]<<0x18),_0x5e3472[_0xd643c3]=_0x5e3472[_0xd643c3-_0x537d94]^_0xe2a995);for(var _0x5bb915=this[_0x330223(0x12e)]=[],_0x1afcd4=0x0;_0x1afcd4<_0x2b2524;_0x1afcd4++){var _0xd643c3=_0x2b2524-_0x1afcd4;if(_0x1afcd4%0x4)var _0xe2a995=_0x5e3472[_0xd643c3];else var _0xe2a995=_0x5e3472[_0xd643c3-0x4];_0x1afcd4<0x4||_0xd643c3<=0x4?_0x5bb915[_0x1afcd4]=_0xe2a995:_0x5bb915[_0x1afcd4]=_0x5359af[_0x184fd1[_0xe2a995>>>0x18]]^_0x3d9e22[_0x184fd1[_0xe2a995>>>0x10&0xff]]^_0x4ae96b[_0x184fd1[_0xe2a995>>>0x8&0xff]]^_0x3de689[_0x184fd1[_0xe2a995&0xff]];}}},'encryptBlock':function(_0x115317,_0x2491da){var _0x2b13a3=_0x4a3017;this[_0x2b13a3(0x1c2)](_0x115317,_0x2491da,this['_keySchedule'],_0x1aec43,_0x5ec885,_0x2f6bf1,_0x197b2d,_0x184fd1);},'decryptBlock':function(_0xfafcd9,_0x579a32){var _0x554e7a=_0x4a3017,_0x366793=_0xfafcd9[_0x579a32+0x1];_0xfafcd9[_0x579a32+0x1]=_0xfafcd9[_0x579a32+0x3],_0xfafcd9[_0x579a32+0x3]=_0x366793,this[_0x554e7a(0x1c2)](_0xfafcd9,_0x579a32,this[_0x554e7a(0x12e)],_0x5359af,_0x3d9e22,_0x4ae96b,_0x3de689,_0x38c32f);var _0x366793=_0xfafcd9[_0x579a32+0x1];_0xfafcd9[_0x579a32+0x1]=_0xfafcd9[_0x579a32+0x3],_0xfafcd9[_0x579a32+0x3]=_0x366793;},'_doCryptBlock':function(_0x4d8b2d,_0x49e67a,_0x713db0,_0xee5590,_0x43c861,_0x5eb590,_0x2779c5,_0x43d294){var _0x40426f=_0x4a3017;for(var _0x37d172=this[_0x40426f(0x415)],_0x16de94=_0x4d8b2d[_0x49e67a]^_0x713db0[0x0],_0x4793cb=_0x4d8b2d[_0x49e67a+0x1]^_0x713db0[0x1],_0x1f9ca6=_0x4d8b2d[_0x49e67a+0x2]^_0x713db0[0x2],_0x28b500=_0x4d8b2d[_0x49e67a+0x3]^_0x713db0[0x3],_0x39d328=0x4,_0x286513=0x1;_0x286513<_0x37d172;_0x286513++){var _0x292283=_0xee5590[_0x16de94>>>0x18]^_0x43c861[_0x4793cb>>>0x10&0xff]^_0x5eb590[_0x1f9ca6>>>0x8&0xff]^_0x2779c5[_0x28b500&0xff]^_0x713db0[_0x39d328++],_0x594c9d=_0xee5590[_0x4793cb>>>0x18]^_0x43c861[_0x1f9ca6>>>0x10&0xff]^_0x5eb590[_0x28b500>>>0x8&0xff]^_0x2779c5[_0x16de94&0xff]^_0x713db0[_0x39d328++],_0x4ab355=_0xee5590[_0x1f9ca6>>>0x18]^_0x43c861[_0x28b500>>>0x10&0xff]^_0x5eb590[_0x16de94>>>0x8&0xff]^_0x2779c5[_0x4793cb&0xff]^_0x713db0[_0x39d328++],_0x2b3613=_0xee5590[_0x28b500>>>0x18]^_0x43c861[_0x16de94>>>0x10&0xff]^_0x5eb590[_0x4793cb>>>0x8&0xff]^_0x2779c5[_0x1f9ca6&0xff]^_0x713db0[_0x39d328++];_0x16de94=_0x292283,_0x4793cb=_0x594c9d,_0x1f9ca6=_0x4ab355,_0x28b500=_0x2b3613;}var _0x292283=(_0x43d294[_0x16de94>>>0x18]<<0x18|_0x43d294[_0x4793cb>>>0x10&0xff]<<0x10|_0x43d294[_0x1f9ca6>>>0x8&0xff]<<0x8|_0x43d294[_0x28b500&0xff])^_0x713db0[_0x39d328++],_0x594c9d=(_0x43d294[_0x4793cb>>>0x18]<<0x18|_0x43d294[_0x1f9ca6>>>0x10&0xff]<<0x10|_0x43d294[_0x28b500>>>0x8&0xff]<<0x8|_0x43d294[_0x16de94&0xff])^_0x713db0[_0x39d328++],_0x4ab355=(_0x43d294[_0x1f9ca6>>>0x18]<<0x18|_0x43d294[_0x28b500>>>0x10&0xff]<<0x10|_0x43d294[_0x16de94>>>0x8&0xff]<<0x8|_0x43d294[_0x4793cb&0xff])^_0x713db0[_0x39d328++],_0x2b3613=(_0x43d294[_0x28b500>>>0x18]<<0x18|_0x43d294[_0x16de94>>>0x10&0xff]<<0x10|_0x43d294[_0x4793cb>>>0x8&0xff]<<0x8|_0x43d294[_0x1f9ca6&0xff])^_0x713db0[_0x39d328++];_0x4d8b2d[_0x49e67a]=_0x292283,_0x4d8b2d[_0x49e67a+0x1]=_0x594c9d,_0x4d8b2d[_0x49e67a+0x2]=_0x4ab355,_0x4d8b2d[_0x49e67a+0x3]=_0x2b3613;},'keySize':0x100/0x20});_0x5eede1['AES']=_0x966cd2['_createHelper'](_0x3c79d9);}()),_0xc4363[_0x420f51(0x187)];}));}(fe)),fe[_0x2725f1(0x376)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x54a041(0x376)],at;function Xi(){var _0x2d7a46=_0x54a041;return at||(at=0x1,function(_0x3c0b32,_0x24e818){(function(_0x4f1034,_0xbb3a95){var _0x4f40b6=_0x741b;_0x3c0b32[_0x4f40b6(0x376)]=_0xbb3a95(ee());}(Ji,function(_0x54e9f1){var _0x4298b6=_0x741b;return _0x54e9f1[_0x4298b6(0x45f)][_0x4298b6(0x436)];}));}(be)),be[_0x2d7a46(0x376)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x54a041(0x376)],ct;function _0x741b(_0x3cd879,_0x56c939){var _0x5e1806=_0x5e18();return _0x741b=function(_0x741b62,_0x34c7ba){_0x741b62=_0x741b62-0x11d;var _0x10fb99=_0x5e1806[_0x741b62];return _0x10fb99;},_0x741b(_0x3cd879,_0x56c939);}function tn(){var _0x5939d4=_0x54a041;return ct||(ct=0x1,function(_0x1f0c1f,_0x2c7f2d){(function(_0x6f62fc,_0x3e8387){var _0x515ce2=_0x741b;_0x1f0c1f[_0x515ce2(0x376)]=_0x3e8387(ee());}(en,function(_0x5c4eff){return(function(){var _0xc02eeb=_0x741b;if(typeof ArrayBuffer=='function'){var _0x302d6c=_0x5c4eff,_0x5c5492=_0x302d6c[_0xc02eeb(0x1b0)],_0x3f4782=_0x5c5492[_0xc02eeb(0x26c)],_0x40dc18=_0x3f4782[_0xc02eeb(0x459)],_0x59c489=_0x3f4782[_0xc02eeb(0x459)]=function(_0xf9e49b){var _0x24a535=_0xc02eeb;if(_0xf9e49b instanceof ArrayBuffer&&(_0xf9e49b=new Uint8Array(_0xf9e49b)),(_0xf9e49b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf9e49b instanceof Uint8ClampedArray||_0xf9e49b instanceof Int16Array||_0xf9e49b instanceof Uint16Array||_0xf9e49b instanceof Int32Array||_0xf9e49b instanceof Uint32Array||_0xf9e49b instanceof Float32Array||_0xf9e49b instanceof Float64Array)&&(_0xf9e49b=new Uint8Array(_0xf9e49b[_0x24a535(0x319)],_0xf9e49b['byteOffset'],_0xf9e49b[_0x24a535(0x19c)])),_0xf9e49b instanceof Uint8Array){for(var _0x3bb442=_0xf9e49b[_0x24a535(0x19c)],_0x529d46=[],_0x3cca0b=0x0;_0x3cca0b<_0x3bb442;_0x3cca0b++)_0x529d46[_0x3cca0b>>>0x2]|=_0xf9e49b[_0x3cca0b]<<0x18-_0x3cca0b%0x4*0x8;_0x40dc18['call'](this,_0x529d46,_0x3bb442);}else _0x40dc18[_0x24a535(0x21e)](this,arguments);};_0x59c489['prototype']=_0x3f4782;}}()),_0x5c4eff['lib']['WordArray'];}));}(Re)),Re[_0x5939d4(0x376)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x54a041(0x376)],ht;function on(){var _0xd53e2d=_0x54a041;return ht||(ht=0x1,function(_0x1ea1b7,_0x366100){(function(_0x5d133b,_0x26b941,_0x4dad4b){var _0x12eec1=_0x741b;_0x1ea1b7[_0x12eec1(0x376)]=_0x26b941(ee(),At());}(sn,function(_0x188cd6){var _0x25b01b=_0x741b;return _0x188cd6[_0x25b01b(0x2a8)][_0x25b01b(0x213)]={'pad':function(){},'unpad':function(){}},_0x188cd6[_0x25b01b(0x2a8)][_0x25b01b(0x213)];}));}(ye)),ye[_0xd53e2d(0x376)];}var an=on();const cn=Se(an);function hn(_0x2ac413,_0x35a72e){var _0x3bfa3c=_0x54a041;const _0x41bad8=_0x35a72e-_0x2ac413[_0x3bfa3c(0x389)]%_0x35a72e,_0xd75004=String['fromCharCode'](_0x41bad8)[_0x3bfa3c(0x3b0)](_0x41bad8);return _0x2ac413+_0xd75004;}function ln(_0x5cd7cb,_0x4455c5){var _0x5abe6c=_0x54a041;const _0x3643a4=rn[_0x5abe6c(0x279)](0x10),_0x10963a=hn(_0x5cd7cb,0x10),_0xdc72f9=qi[_0x5abe6c(0x418)](Qi[_0x5abe6c(0x25f)](_0x10963a),ot[_0x5abe6c(0x25f)](_0x4455c5),{'iv':_0x3643a4,'padding':cn});return _0x3643a4[_0x5abe6c(0x3cd)](_0xdc72f9[_0x5abe6c(0x33a)])['toString'](ot);}function _n(){var _0x5e47eb=_0x54a041;const _0x2a5d6e=xt[_0x5e47eb(0x2c5)]()[_0x5e47eb(0x381)];if(_0x2a5d6e){const _0x1b736d={'time':Math['floor'](Date[_0x5e47eb(0x24c)]()/0x3e8),'domain':location[_0x5e47eb(0x371)]};return ln(JSON[_0x5e47eb(0x3d5)](_0x1b736d),_0x2a5d6e);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x637adc,_0x567195,_0x384d6d,_0x49cce3)=>{var _0x4ee0b1=_0x54a041;for(var _0xddf99f=_0x49cce3>0x1?void 0x0:_0x49cce3?un(_0x567195,_0x384d6d):_0x567195,_0x26737e=_0x637adc[_0x4ee0b1(0x389)]-0x1,_0x53b5ad;_0x26737e>=0x0;_0x26737e--)(_0x53b5ad=_0x637adc[_0x26737e])&&(_0xddf99f=_0x53b5ad(_0xddf99f)||_0xddf99f);return _0xddf99f;},vn=(_0x23ce76,_0x203a03)=>(_0x1f8505,_0x94549c)=>_0x203a03(_0x1f8505,_0x94549c,_0x23ce76);let Ne=class{constructor(_0x5efd76){var _0x2b1132=_0x54a041;this[_0x2b1132(0x44f)]=_0x5efd76,this[_0x2b1132(0x1d9)]();}['_initRequestHeader'](){var _0x419417=_0x54a041;this[_0x419417(0x44f)][_0x419417(0x26b)]({'interceptor':(_0x55e1eb,_0x150a77)=>{const _0x1f7465=_0x55e1eb['headers'],_0x59db97=_n();return _0x59db97&&_0x1f7465['set']('x-univer-host',_0x59db97),_0x150a77(_0x55e1eb);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x54a041(0x31f)]))],Ne);var Sn=Object[_0x54a041(0x2be)],fn=(_0x440abb,_0x3b2cd1,_0x228d8c,_0x40c93e)=>{for(var _0x2d657d=_0x40c93e>0x1?void 0x0:_0x40c93e?Sn(_0x3b2cd1,_0x228d8c):_0x3b2cd1,_0x33851d=_0x440abb['length']-0x1,_0x9b8206;_0x33851d>=0x0;_0x33851d--)(_0x9b8206=_0x440abb[_0x33851d])&&(_0x2d657d=_0x9b8206(_0x2d657d)||_0x2d657d);return _0x2d657d;},Me=(_0x56acb8,_0x367f14)=>(_0x15b592,_0x89e83)=>_0x367f14(_0x15b592,_0x89e83,_0x56acb8);exports['DataLoaderService']=class extends a[_0x54a041(0x3d1)]{constructor(_0x2ff159,_0x28c81b,_0x497b6c){var _0x5c895c=_0x54a041;super(),P(this,_0x5c895c(0x120),new j[(_0x5c895c(0x458))](null)),P(this,_0x5c895c(0x464),this[_0x5c895c(0x120)][_0x5c895c(0x2df)]()),(this[_0x5c895c(0x40c)]=_0x2ff159,this[_0x5c895c(0x355)]=_0x28c81b,this[_0x5c895c(0x18e)]=_0x497b6c);}async['loadUnit'](_0x1c5ef3,_0xd6276d,_0x51c381){var _0x266084=_0x54a041;this[_0x266084(0x120)][_0x266084(0x2db)]({'unitId':_0x1c5ef3,'type':_0xd6276d,'subUnitId':_0x51c381});let _0x978703=null;switch(_0xd6276d){case X[_0x266084(0x2cc)]:{_0x978703=await this[_0x266084(0x41e)](_0x1c5ef3);break;}case X[_0x266084(0x40f)]:{_0x978703=await this[_0x266084(0x2a1)](_0x1c5ef3);break;}default:{this[_0x266084(0x40c)][_0x266084(0x425)](_0x266084(0x195),_0x266084(0x32e));break;}}return _0x978703;}async['_loadSheet'](_0x3a9caf){var _0x250cfa=_0x54a041,_0x5a7ceb;let _0x2a29d6=0x0;const _0x3000c7=await((_0x5a7ceb=this['_localCacheService'])==null?void 0x0:_0x5a7ceb[_0x250cfa(0x42c)](_0x3a9caf));return _0x3000c7&&(_0x3000c7['awaitingChangeset']||_0x3000c7['mutations'][_0x250cfa(0x389)]!==0x0)&&(_0x2a29d6=_0x3000c7[_0x250cfa(0x1b8)]),_0x2a29d6===0x0&&this[_0x250cfa(0x40c)][_0x250cfa(0x402)](_0x250cfa(0x195),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x250cfa(0x250)](_0x3a9caf,_0x2a29d6);}async[_0x54a041(0x2a1)](_0x297768){var _0x441642=_0x54a041,_0x4d5a10;let _0x51131b=0x0;const _0xc932e7=await((_0x4d5a10=this['_localCacheService'])==null?void 0x0:_0x4d5a10[_0x441642(0x42c)](_0x297768));return _0xc932e7&&(_0xc932e7[_0x441642(0x11f)]||_0xc932e7['mutations']['length']!==0x0)&&(_0x51131b=_0xc932e7[_0x441642(0x1b8)]),_0x51131b===0x0&&this[_0x441642(0x40c)][_0x441642(0x402)]('[DataLoaderService]',_0x441642(0x3fd)),this[_0x441642(0x355)][_0x441642(0x19d)](_0x297768,_0x51131b);}},exports[_0x54a041(0x345)]=fn([Me(0x0,a[_0x54a041(0x388)]),Me(0x1,a[_0x54a041(0x3fe)](g['SnapshotService'])),Me(0x2,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x345)]);var pn=Object[_0x54a041(0x2be)],gn=(_0x956452,_0x134b59,_0x4ff600,_0x3d401c)=>{var _0x3df872=_0x54a041;for(var _0x42f211=_0x3d401c>0x1?void 0x0:_0x3d401c?pn(_0x134b59,_0x4ff600):_0x134b59,_0x23c943=_0x956452[_0x3df872(0x389)]-0x1,_0x2f30d9;_0x23c943>=0x0;_0x23c943--)(_0x2f30d9=_0x956452[_0x23c943])&&(_0x42f211=_0x2f30d9(_0x42f211)||_0x42f211);return _0x42f211;},xe=(_0x364df8,_0x29dfe4)=>(_0x31313c,_0x2b25ed)=>_0x29dfe4(_0x31313c,_0x2b25ed,_0x364df8);const mn=[_0x54a041(0x25c),_0x54a041(0x385),'image/jpg',_0x54a041(0x44b),'image/bmp'],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x54a041(0x131),Tn=_0x54a041(0x2d6),bn=_0x54a041(0x2a6);exports[_0x54a041(0x47b)]=class{constructor(_0x2e0db3,_0x28baef,_0x307471){var _0x1ea8ef=_0x54a041;P(this,_0x1ea8ef(0x46f),0x0),P(this,_0x1ea8ef(0x1f5),new j[(_0x1ea8ef(0x33b))]()),P(this,_0x1ea8ef(0x18c),this[_0x1ea8ef(0x1f5)]),P(this,_0x1ea8ef(0x283),new Map()),(this[_0x1ea8ef(0x44f)]=_0x2e0db3,this[_0x1ea8ef(0x221)]=_0x28baef,this[_0x1ea8ef(0x2a4)]=_0x307471);}['setWaitCount'](_0x33d86f){var _0xa7baf8=_0x54a041;this[_0xa7baf8(0x46f)]=_0x33d86f,this[_0xa7baf8(0x1f5)][_0xa7baf8(0x2db)](_0x33d86f);}[_0x54a041(0x19f)](_0x5d9f4c,_0x2ddcb0){var _0x16bbf9=_0x54a041;if(_0x2ddcb0===J[_0x16bbf9(0x19a)]['BASE64']){const _0xe8ab7b=new Image();return _0xe8ab7b['src']=_0x5d9f4c,_0xe8ab7b;}return this['_imageSourceCache'][_0x16bbf9(0x1f4)](_0x5d9f4c);}[_0x54a041(0x3a4)](_0x5d4355,_0x3f088b,_0x19f04e){var _0x4c6f09=_0x54a041;_0x3f088b===J[_0x4c6f09(0x19a)]['BASE64']||_0x19f04e==null||this[_0x4c6f09(0x283)][_0x4c6f09(0x164)](_0x5d4355,_0x19f04e);}async[_0x54a041(0x20c)](_0x315a8a){var _0x2bff21=_0x54a041;try{const _0x3397a2=this[_0x2bff21(0x254)](this[_0x2bff21(0x301)](),''+_0x315a8a),_0x464986=(await this[_0x2bff21(0x44f)][_0x2bff21(0x1f4)](_0x3397a2))['body'];if(_0x464986[_0x2bff21(0x425)]&&_0x464986[_0x2bff21(0x425)][_0x2bff21(0x1fb)]===Ct['OK']){const _0x37cdc7=new URL(_0x464986['url'],this[_0x2bff21(0x3c9)]())[_0x2bff21(0x160)]();return Promise[_0x2bff21(0x234)](_0x37cdc7);}return Promise['reject'](_0x464986[_0x2bff21(0x425)]);}catch(_0x1b727a){return Promise['reject'](_0x1b727a);}}async[_0x54a041(0x452)](_0x91ce03){var _0x1f1a60=_0x54a041;let _0x52c0e8='';if(!mn[_0x1f1a60(0x246)](_0x91ce03[_0x1f1a60(0x15b)]))return this['_decreaseWaiting'](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)]['ERROR_IMAGE_TYPE']));if(_0x91ce03['size']>In)return this[_0x1f1a60(0x34e)](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3b5)]));try{const _0x2b692e=new FormData();_0x2b692e['append']('file',_0x91ce03);const _0x5cb8b9=this[_0x1f1a60(0x2a4)]['getFocusedUnit'](),_0x273760=_0x5cb8b9==null?void 0x0:_0x5cb8b9[_0x1f1a60(0x3d8)]();if(!_0x273760)throw new Error(_0x1f1a60(0x38b));const _0x558427=this['_getUploadFileURL']()+_0x1f1a60(0x31d)+_0x91ce03[_0x1f1a60(0x429)][_0x1f1a60(0x160)]()+'&source='+Tt[_0x1f1a60(0x166)]+_0x1f1a60(0x28c)+encodeURIComponent(_0x273760),_0x27e93a=await(await fetch(_0x558427,{'method':_0x1f1a60(0x42a),'body':_0x2b692e}))[_0x1f1a60(0x1cf)]();if(typeof _0x27e93a[_0x1f1a60(0x3f5)]!=_0x1f1a60(0x16e))return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3bd)]));_0x52c0e8=_0x27e93a[_0x1f1a60(0x3f5)];}catch{return this['_decreaseWaiting'](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3bd)]));}return new Promise((_0x8d0a18,_0x5121bf)=>{var _0x3000e5=_0x1f1a60;const _0x17f359=new FileReader();_0x17f359[_0x3000e5(0x14e)](_0x91ce03),_0x17f359[_0x3000e5(0x28e)]=_0x31647f=>{var _0x1cf21c=_0x3000e5,_0x289f7b;const _0x4d5795=(_0x289f7b=_0x31647f[_0x1cf21c(0x317)])==null?void 0x0:_0x289f7b['result'];if(_0x4d5795==null){this['_decreaseWaiting'](),_0x5121bf(new Error(J[_0x1cf21c(0x27f)][_0x1cf21c(0x3bd)]));return;}const _0x4b7569=a[_0x1cf21c(0x1f2)][_0x1cf21c(0x375)](0x6);_0x8d0a18({'imageId':_0x4b7569,'imageSourceType':J['ImageSourceType'][_0x1cf21c(0x420)],'source':_0x52c0e8,'base64Cache':_0x4d5795,'status':J[_0x1cf21c(0x27f)][_0x1cf21c(0x30c)]}),this[_0x1cf21c(0x34e)]();};});}[_0x54a041(0x13a)](){var _0x23fbf2=_0x54a041,_0x9310e4,_0x166f3b;const _0x445bc3=this[_0x23fbf2(0x221)][_0x23fbf2(0x33f)](En),_0x5df58c=this[_0x23fbf2(0x221)]['getConfig'](Y);return(_0x166f3b=(_0x9310e4=_0x5df58c==null?void 0x0:_0x5df58c[_0x23fbf2(0x404)])!=null?_0x9310e4:_0x445bc3)!=null?_0x166f3b:Cn;}['_getSignURL'](){var _0x6efe6d=_0x54a041,_0x14e1ea,_0xdd026b;const _0x4b2d31=this[_0x6efe6d(0x221)][_0x6efe6d(0x33f)](Tn),_0x2660f8=this[_0x6efe6d(0x221)]['getConfig'](Y);return(_0xdd026b=(_0x14e1ea=_0x2660f8==null?void 0x0:_0x2660f8['signUrlServerUrl'])!=null?_0x14e1ea:_0x4b2d31)!=null?_0xdd026b:bn;}[_0x54a041(0x3c9)](){var _0x425dbb=_0x54a041,_0x144bb4;const _0x5ec813=this[_0x425dbb(0x221)][_0x425dbb(0x33f)](Y);return(_0x144bb4=_0x5ec813==null?void 0x0:_0x5ec813[_0x425dbb(0x260)])!=null?_0x144bb4:location[_0x425dbb(0x2d2)];}[_0x54a041(0x254)](_0x9034db,_0x3310e8){var _0x231a43=_0x54a041;return _0x9034db[_0x231a43(0x360)](_0x231a43(0x39d),_0x3310e8);}[_0x54a041(0x34e)](){var _0x80eca8=_0x54a041;this[_0x80eca8(0x46f)]-=0x1,this[_0x80eca8(0x1f5)][_0x80eca8(0x2db)](this[_0x80eca8(0x46f)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),xe(0x1,a[_0x54a041(0x2ca)]),xe(0x2,a[_0x54a041(0x3fe)](a[_0x54a041(0x30e)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x54a041(0x2be)],yn=(_0x1f0085,_0x3ce13a,_0x59e9e1,_0x1355c9)=>{var _0x18a76d=_0x54a041;for(var _0x21918c=_0x1355c9>0x1?void 0x0:_0x1355c9?Rn(_0x3ce13a,_0x59e9e1):_0x3ce13a,_0x361424=_0x1f0085[_0x18a76d(0x389)]-0x1,_0x30ab47;_0x361424>=0x0;_0x361424--)(_0x30ab47=_0x1f0085[_0x361424])&&(_0x21918c=_0x30ab47(_0x21918c)||_0x21918c);return _0x21918c;},lt=(_0x303e57,_0x300141)=>(_0x4c973f,_0x3ec24d)=>_0x300141(_0x4c973f,_0x3ec24d,_0x303e57);const On=_0x54a041(0x290);exports[_0x54a041(0x261)]=class{constructor(_0xaf95d8,_0x1eabe3){var _0x58402d=_0x54a041;this['_configService']=_0xaf95d8,this[_0x58402d(0x22c)]=_0x1eabe3;}['_getAPIPrefixPath'](){var _0x2a46f4=_0x54a041,_0x5ee46e,_0x44cdb7;const _0xa85894=this['_configService'][_0x2a46f4(0x33f)](Ve),_0x2eed8b=this['_configService']['getConfig'](Y);return(_0x44cdb7=(_0x5ee46e=_0x2eed8b==null?void 0x0:_0x2eed8b[_0x2a46f4(0x379)])!=null?_0x5ee46e:_0xa85894)!=null?_0x44cdb7:On;}async[_0x54a041(0x3b4)](_0x143105){var _0x997f51=_0x54a041;const _0x544d4b=this[_0x997f51(0x1df)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x997f51(0x22c)][_0x997f51(0x1f4)](_0x544d4b,{'params':{'objectID':_0x143105[_0x997f51(0x382)],'unitID':_0x143105[_0x997f51(0x382)]}}))[_0x997f51(0x3dd)][_0x997f51(0x28f)][_0x997f51(0x332)](_0xd9133d=>({'objectId':_0xd9133d['id'],'name':_0xd9133d['subject'][_0x997f51(0x40b)],'metadata':{'icon':_0xd9133d[_0x997f51(0x46e)][_0x997f51(0x3ae)]},'label':_0xd9133d[_0x997f51(0x46e)][_0x997f51(0x40b)],'objectType':a[_0x997f51(0x2b2)][_0x997f51(0x384)]})),'metadata':{},'type':a[_0x997f51(0x2b2)][_0x997f51(0x384)]}]};}},exports[_0x54a041(0x261)]=yn([lt(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x2ca)])),lt(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)]))],exports[_0x54a041(0x261)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0x1bc76c,_0x11e85a,_0x1074c7,_0x356007)=>{var _0x6c20e9=_0x54a041;for(var _0x22320b=_0x356007>0x1?void 0x0:_0x356007?Nn(_0x11e85a,_0x1074c7):_0x11e85a,_0x3cefa8=_0x1bc76c[_0x6c20e9(0x389)]-0x1,_0x37b063;_0x3cefa8>=0x0;_0x3cefa8--)(_0x37b063=_0x1bc76c[_0x3cefa8])&&(_0x22320b=_0x37b063(_0x22320b)||_0x22320b);return _0x22320b;},ue=(_0x58bfc6,_0x229593)=>(_0x24c129,_0x31c44a)=>_0x229593(_0x24c129,_0x31c44a,_0x58bfc6);let De=class extends a['RxDisposable']{constructor(_0x1d1cc8,_0x6145bd,_0x465eec,_0x4a9045,_0x427208){var _0x44b0f7=_0x54a041;super(),this[_0x44b0f7(0x411)]=_0x1d1cc8,this[_0x44b0f7(0x2a4)]=_0x6145bd,this['_permissionService']=_0x465eec,this[_0x44b0f7(0x145)]=_0x4a9045,this[_0x44b0f7(0x259)]=_0x427208,this[_0x44b0f7(0x472)](),this[_0x44b0f7(0x341)]();}[_0x54a041(0x341)](){var _0x30ae4b=_0x54a041;const _0x4246ae=async _0x14671c=>{var _0x4cc621=_0x741b;(await this[_0x4cc621(0x145)]['requireSession'](_0x14671c))['event$'][_0x4cc621(0x13f)](W[_0x4cc621(0x27d)](_0x2bd199=>_0x2bd199[_0x4cc621(0x392)]===g[_0x4cc621(0x252)][_0x4cc621(0x331)]),W['takeUntil'](this[_0x4cc621(0x29e)]))[_0x4cc621(0x383)](_0x543831=>{var _0x3b25ec=_0x4cc621;const _0x42256a=_0x543831,{reason:_0x3765e1}=_0x42256a[_0x3b25ec(0x276)];this[_0x3b25ec(0x259)][_0x3b25ec(0x27b)]({'id':Q['CLOSE_ROOM'],'data':_0x3765e1}),this[_0x3b25ec(0x227)][_0x3b25ec(0x43c)](new Z[(_0x3b25ec(0x21f))](_0x14671c)['id'],!0x1),this['_collaborationSessionService'][_0x3b25ec(0x18f)](_0x14671c);});};j[_0x30ae4b(0x21b)](this['_univerInstanceService'][_0x30ae4b(0x3cf)](a[_0x30ae4b(0x128)][_0x30ae4b(0x2cc)]),this[_0x30ae4b(0x2a4)][_0x30ae4b(0x3cf)](a[_0x30ae4b(0x128)][_0x30ae4b(0x40f)]))['pipe'](W[_0x30ae4b(0x332)](_0x4525a9=>_0x4525a9['getUnitId']()),W['filter'](_0x1a4ffd=>!a['isInternalEditorID'](_0x1a4ffd)),W[_0x30ae4b(0x314)](this['dispose$']))['subscribe'](_0x1b5d75=>{_0x4246ae(_0x1b5d75);});}[_0x54a041(0x472)](){var _0x388e91=_0x54a041;const _0x37483e=async _0x13e82a=>{var _0xe0f3e6=_0x741b;const _0x36e776=await this[_0xe0f3e6(0x145)]['requireSession'](_0x13e82a),_0x45a1c7=this['_injector'][_0xe0f3e6(0x1f4)](Z[_0xe0f3e6(0x2bb)]);_0x36e776[_0xe0f3e6(0x247)][_0xe0f3e6(0x13f)](W['filter'](_0x4eb90c=>_0x4eb90c['eventID']===g['CollaborationEvent'][_0xe0f3e6(0x14f)]),W[_0xe0f3e6(0x314)](this[_0xe0f3e6(0x29e)]))[_0xe0f3e6(0x383)](_0x50a85a=>{var _0x49564b=_0xe0f3e6;const _0x43f2b9=_0x50a85a,{objectId:_0x41a364}=_0x43f2b9[_0x49564b(0x276)];_0x41a364===_0x13e82a?_0x45a1c7[_0x49564b(0x29f)](_0x13e82a):_0x45a1c7[_0x49564b(0x2b5)](_0x13e82a,_0x41a364);});};j[_0x388e91(0x21b)](this[_0x388e91(0x2a4)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x388e91(0x2cc)]))[_0x388e91(0x13f)](W[_0x388e91(0x332)](_0x10e92a=>_0x10e92a[_0x388e91(0x3d8)]()),W[_0x388e91(0x27d)](_0x50934c=>!a[_0x388e91(0x3c7)](_0x50934c)),W['takeUntil'](this[_0x388e91(0x29e)]))[_0x388e91(0x383)](_0x144d01=>{_0x37483e(_0x144d01);});}};De=Dn([ue(0x0,a['Inject'](a[_0x54a041(0x3d4)])),ue(0x1,a[_0x54a041(0x30e)]),ue(0x2,a[_0x54a041(0x1ab)]),ue(0x3,a[_0x54a041(0x3fe)](exports[_0x54a041(0x31a)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x54a041(0x2be)],Pn=(_0x14015f,_0x13f14f,_0x15529e,_0x221c3b)=>{for(var _0x5bfc5b=_0x221c3b>0x1?void 0x0:_0x221c3b?Un(_0x13f14f,_0x15529e):_0x13f14f,_0x94cf07=_0x14015f['length']-0x1,_0x3c826b;_0x94cf07>=0x0;_0x94cf07--)(_0x3c826b=_0x14015f[_0x94cf07])&&(_0x5bfc5b=_0x3c826b(_0x5bfc5b)||_0x5bfc5b);return _0x5bfc5b;},_t=(_0x408526,_0x3fad14)=>(_0x2a63b8,_0x231778)=>_0x3fad14(_0x2a63b8,_0x231778,_0x408526);exports[_0x54a041(0x2dc)]=class{constructor(_0x30dcbc,_0x34c5b0){var _0x5a214a=_0x54a041;this['_configService']=_0x30dcbc,this[_0x5a214a(0x44f)]=_0x34c5b0;}async['getUnitOnRev'](_0x148066,_0x5522e0){var _0x202898=_0x54a041,_0x263c78;const {unitID:_0x7afe8d,type:_0x2628a0,revision:_0x545741=0x0}=_0x5522e0,_0x100e7d=this[_0x202898(0x46b)]()+'/'+_0x2628a0+_0x202898(0x2e7)+_0x7afe8d+_0x202898(0x476)+_0x545741,_0x1b19ad=(await this[_0x202898(0x44f)]['get'](_0x100e7d))[_0x202898(0x3dd)],_0x5e2d01=(_0x263c78=_0x1b19ad[_0x202898(0x1d1)])==null?void 0x0:_0x263c78['workbook'];if(_0x5e2d01){const _0x475987=_0x5e2d01==null?void 0x0:_0x5e2d01[_0x202898(0x2f9)],_0x11ca2e=g[_0x202898(0x2fb)]['encode'](g[_0x202898(0x3e5)](_0x475987));_0x5e2d01[_0x202898(0x2f9)]=_0x11ca2e,Object[_0x202898(0x466)](_0x5e2d01[_0x202898(0x1f9)])[_0x202898(0x176)](([,_0x1afc29])=>{var _0x193b35=_0x202898;const _0x59545e=_0x1afc29[_0x193b35(0x2f9)],_0x1008e4=g[_0x193b35(0x2fb)][_0x193b35(0x45c)](g[_0x193b35(0x3e5)](_0x59545e));_0x1afc29[_0x193b35(0x2f9)]=_0x1008e4;});}return _0x1b19ad;}async[_0x54a041(0x178)](_0x3b01a0,_0x275696){var _0x207751=_0x54a041;const {unitID:_0x4def9b,type:_0x31a7e4,blockID:_0x365802}=_0x275696,_0x2b6db8=this[_0x207751(0x3e0)]()+'/'+_0x31a7e4+_0x207751(0x2e7)+_0x4def9b+'/block/'+_0x365802;return(await this['_httpService'][_0x207751(0x1f4)](_0x2b6db8))['body'];}async['getDeserializedSheetBlock'](_0x17d697,_0x4b6038){var _0x44d9fb=_0x54a041;const {unitID:_0x265320,type:_0x33e121,blockID:_0x2a969e}=_0x4b6038,_0x46330c=this[_0x44d9fb(0x3e0)]()+_0x44d9fb(0x313)+_0x33e121+'/unit/'+_0x265320+_0x44d9fb(0x313)+_0x2a969e;return(await this[_0x44d9fb(0x44f)]['get'](_0x46330c))['body'];}async[_0x54a041(0x162)](_0x53818f,_0x3dfef5){var _0x2d19cf=_0x54a041;const {unitID:_0x1f796,type:_0x57dda0,from:_0x1a6656,to:_0x115d11}=_0x3dfef5,_0x46d896=this[_0x2d19cf(0x3e0)]()+'/'+_0x57dda0+'/unit/'+_0x1f796+'/fetchmissing?from='+_0x1a6656+_0x2d19cf(0x1cd)+_0x115d11;return(await this['_httpService'][_0x2d19cf(0x1f4)](_0x46d896))[_0x2d19cf(0x3dd)];}[_0x54a041(0x46b)](){var _0x550eb3=_0x54a041,_0x1f71b4;return(_0x1f71b4=this[_0x550eb3(0x221)][_0x550eb3(0x33f)](vt))!=null?_0x1f71b4:this[_0x550eb3(0x3e0)]();}[_0x54a041(0x3e0)](){var _0x321344=_0x54a041,_0x2e3498,_0xeebdef;const _0x59cd58=this[_0x321344(0x221)][_0x321344(0x33f)](dt),_0x2c8355=this[_0x321344(0x221)]['getConfig'](Y);return(_0xeebdef=(_0x2e3498=_0x2c8355==null?void 0x0:_0x2c8355[_0x321344(0x257)])!=null?_0x2e3498:_0x59cd58)!=null?_0xeebdef:kt;}async[_0x54a041(0x20f)](_0x59bc97,_0x5c4ffc){var _0x72f099=_0x54a041;const _0x57d153=_0x72f099(0x141)+_0x5c4ffc[_0x72f099(0x15b)]+'/unit/'+_0x5c4ffc[_0x72f099(0x326)]+_0x72f099(0x29d);return(await this['_httpService'][_0x72f099(0x1f4)](_0x57d153,{'params':{'resourceId':JSON[_0x72f099(0x3d5)](_0x5c4ffc[_0x72f099(0x455)])}}))[_0x72f099(0x3dd)];}[_0x54a041(0x46d)](){var _0x164d32=_0x54a041;throw new Error(_0x164d32(0x2c2));}[_0x54a041(0x37c)](){var _0x5eaf09=_0x54a041;throw new Error(_0x5eaf09(0x2c2));}['saveChangeset'](){var _0x426a98=_0x54a041;throw new Error(_0x426a98(0x2c2));}['copyFileMeta'](){var _0x4ebf89=_0x54a041;throw new Error(_0x4ebf89(0x2c2));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x54a041(0x2dc)]=Pn([_t(0x0,a[_0x54a041(0x2ca)]),_t(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)]))],exports[_0x54a041(0x2dc)]);var An=Object[_0x54a041(0x2be)],wn=(_0x3505bc,_0x133c42,_0x443fed,_0xc677bb)=>{var _0x3c25eb=_0x54a041;for(var _0x248e8c=_0xc677bb>0x1?void 0x0:_0xc677bb?An(_0x133c42,_0x443fed):_0x133c42,_0x23970=_0x3505bc[_0x3c25eb(0x389)]-0x1,_0xd4993c;_0x23970>=0x0;_0x23970--)(_0xd4993c=_0x3505bc[_0x23970])&&(_0x248e8c=_0xd4993c(_0x248e8c)||_0x248e8c);return _0x248e8c;},de=(_0x367340,_0x3b70c0)=>(_0x1d6940,_0x5e224a)=>_0x3b70c0(_0x1d6940,_0x5e224a,_0x367340);exports[_0x54a041(0x37e)]=class extends a[_0x54a041(0x200)]{constructor(_0x31cac6,_0x5dad45,_0x41b2e6,_0x420eed,_0x1f92d6){var _0xd4fb37=_0x54a041;super(_0x31cac6,_0x5dad45,_0x41b2e6),this[_0xd4fb37(0x430)]=_0x420eed,this[_0xd4fb37(0x40c)]=_0x1f92d6;}[_0x54a041(0x3e3)](_0x4d275b,_0x5d66f2){var _0x159b03=_0x54a041;const _0x28d482=this[_0x159b03(0x297)](_0x4d275b);if(_0x28d482)try{const _0x58c743=this[_0x159b03(0x390)](_0x28d482,_0x5d66f2);this[_0x159b03(0x2c9)](_0x4d275b,_0x58c743);}catch(_0x2992a7){this['_logService']['error'](_0x159b03(0x487),_0x2992a7),this[_0x159b03(0x42d)](_0x4d275b);}const _0x2bd939=this[_0x159b03(0x29b)](_0x4d275b);if(_0x2bd939)try{const _0x14888f=this[_0x159b03(0x390)](_0x2bd939,_0x5d66f2);this[_0x159b03(0x208)](_0x4d275b,_0x14888f);}catch(_0xd97efd){this[_0x159b03(0x40c)][_0x159b03(0x425)](_0xd97efd),this[_0x159b03(0x1b1)](_0x4d275b);}}['_clearUndo'](_0x29f19e){var _0x42bc02=_0x54a041;const _0xad0ab6=this['_getUndoStack'](_0x29f19e);_0xad0ab6&&(_0xad0ab6[_0x42bc02(0x389)]=0x0,this[_0x42bc02(0x2e3)]());}[_0x54a041(0x1b1)](_0x2346a0){var _0x2f43e2=_0x54a041;const _0x2803f9=this[_0x2f43e2(0x29b)](_0x2346a0);_0x2803f9&&(_0x2803f9['length']=0x0,this['_updateStatus']());}[_0x54a041(0x2c9)](_0x35b34c,_0x1b6b07){var _0x3c4279=_0x54a041;this[_0x3c4279(0x224)]['set'](_0x35b34c,_0x1b6b07),this[_0x3c4279(0x2e3)]();}['_substituteRedoStack'](_0x2e79c1,_0x1b464d){var _0xaeebc5=_0x54a041;this[_0xaeebc5(0x3c4)]['set'](_0x2e79c1,_0x1b464d),this[_0xaeebc5(0x2e3)]();}[_0x54a041(0x390)](_0x34290f,_0x1a3786){var _0x4af0d2=_0x54a041;const _0x30772e=[];let _0x50680f=_0x1a3786,_0x4e2cf3=_0x1a3786;for(let _0x4eac2b=_0x34290f['length']-0x1;_0x4eac2b>=0x0;_0x4eac2b--){const {unitID:_0xd54456,undoMutations:_0x17f067,redoMutations:_0x5a2948}=_0x34290f[_0x4eac2b],_0x50ce6e=this[_0x4af0d2(0x430)][_0x4af0d2(0x3f7)](_0x50680f,_0x17f067),_0x54af8d=this['_transformService'][_0x4af0d2(0x3f7)](_0x4e2cf3,_0x5a2948);if(g[_0x4af0d2(0x2eb)](_0x50ce6e)||g[_0x4af0d2(0x2eb)](_0x54af8d)){this['_logService'][_0x4af0d2(0x425)](_0x4af0d2(0x487),_0x4af0d2(0x3f1),_0x50ce6e,_0x54af8d);break;}_0x50680f=_0x50ce6e[_0x4af0d2(0x38d)],_0x4e2cf3=_0x54af8d[_0x4af0d2(0x38d)],_0x30772e[_0x4af0d2(0x473)]({'unitID':_0xd54456,'undoMutations':_0x50ce6e['m2Prime'],'redoMutations':_0x54af8d[_0x4af0d2(0x1d2)]});}return _0x30772e['reverse']();}},exports[_0x54a041(0x37e)]=wn([de(0x0,a[_0x54a041(0x30e)]),de(0x1,a[_0x54a041(0x1ce)]),de(0x2,a['IContextService']),de(0x3,g[_0x54a041(0x438)]),de(0x4,a[_0x54a041(0x388)])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0x54a041(0x2fd)],Mn=Object[_0x54a041(0x2be)],xn=(_0x5920a4,_0x55bc46,_0x2d25a0)=>_0x55bc46 in _0x5920a4?Ln(_0x5920a4,_0x55bc46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d25a0}):_0x5920a4[_0x55bc46]=_0x2d25a0,kn=(_0x256614,_0x52db8d,_0x290eb5,_0x3a9de1)=>{for(var _0x23aade=_0x3a9de1>0x1?void 0x0:_0x3a9de1?Mn(_0x52db8d,_0x290eb5):_0x52db8d,_0x588b19=_0x256614['length']-0x1,_0x565ec7;_0x588b19>=0x0;_0x588b19--)(_0x565ec7=_0x256614[_0x588b19])&&(_0x23aade=_0x565ec7(_0x23aade)||_0x23aade);return _0x23aade;},ke=(_0x30b28e,_0x237e9d)=>(_0x3994d6,_0x4b9748)=>_0x237e9d(_0x3994d6,_0x4b9748,_0x30b28e),Hn=(_0x7dbcfc,_0x55e7b5,_0x4efd59)=>xn(_0x7dbcfc,_0x55e7b5+'',_0x4efd59);const jn=_0x54a041(0x29c);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x5c1662,_0x3e73d5,_0x2de3f0,_0x54d8b7){var _0x4a2654=_0x54a041;super(),P(this,_0x4a2654(0x14b)),(this[_0x4a2654(0x40c)]=_0x3e73d5,this[_0x4a2654(0x411)]=_0x2de3f0,this[_0x4a2654(0x221)]=_0x54d8b7);const {..._0x3a89ca}=a[_0x4a2654(0x21b)]({},Jt,_0x5c1662);if(!_0x3a89ca[_0x4a2654(0x2ec)])throw new Error(_0x4a2654(0x1bb));this[_0x4a2654(0x14b)]=_0x3a89ca,this[_0x4a2654(0x221)][_0x4a2654(0x13b)](Y,_0x3a89ca);}['onStarting'](){var _0x358d61=_0x54a041;this[_0x358d61(0x236)](),this[_0x358d61(0x248)]();}[_0x54a041(0x236)](){var _0x5e8cbf=_0x54a041,_0x29fccc,_0x558439;this[_0x5e8cbf(0x411)][_0x5e8cbf(0x169)](a[_0x5e8cbf(0x249)])&&this[_0x5e8cbf(0x40c)]['error'](_0x5e8cbf(0x2f1),_0x5e8cbf(0x16f));const _0x4cab99=a[_0x5e8cbf(0x39a)]([[a[_0x5e8cbf(0x249)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x5e8cbf(0x274)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x5e8cbf(0x345)]],[$e,{'useClass':this['_config'][_0x5e8cbf(0x2ec)]}],[g[_0x5e8cbf(0x1bd)],{'useClass':exports[_0x5e8cbf(0x2dc)]}],[a[_0x5e8cbf(0x318)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x5e8cbf(0x150)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x5e8cbf(0x147)],{'useClass':exports[_0x5e8cbf(0x261)]}],[exports['CollaborationController']],[He]],(_0x29fccc=this[_0x5e8cbf(0x14b)])==null?void 0x0:_0x29fccc[_0x5e8cbf(0x447)]);if(!((_0x558439=this[_0x5e8cbf(0x14b)])!=null&&_0x558439['enableSingleActiveInstanceLock'])){const _0x30ce6d=_0x4cab99[_0x5e8cbf(0x3ce)](([_0x539b81])=>_0x539b81===ve);_0x30ce6d!==-0x1&&_0x4cab99['splice'](_0x30ce6d,0x1);}a['registerDependencies'](this[_0x5e8cbf(0x411)],_0x4cab99);}[_0x54a041(0x248)](){var _0xa2280a=_0x54a041,_0x329c33,_0x30805c,_0x3cf465;this[_0xa2280a(0x411)][_0xa2280a(0x1f4)](q[_0xa2280a(0x31f)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0xa2280a(0x3ea)]({'maxParallel':0x6})}),(_0x329c33=this[_0xa2280a(0x14b)])!=null&&_0x329c33['enableOfflineEditing']||(_0x30805c=this['_injector'][_0xa2280a(0x1f4)](z,a['Quantity'][_0xa2280a(0x13c)]))==null||_0x30805c[_0xa2280a(0x16b)](),(_0x3cf465=this[_0xa2280a(0x14b)])!=null&&_0x3cf465[_0xa2280a(0x33c)]&&a[_0xa2280a(0x32a)](this[_0xa2280a(0x411)],[[Oe]]),a[_0xa2280a(0x32a)](this[_0xa2280a(0x411)],[[Ne],[exports[_0xa2280a(0x2ac)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x54a041(0x43e),jn),exports[_0x54a041(0x192)]=kn([a[_0x54a041(0x191)](g['UniverCollaborationPlugin'],q[_0x54a041(0x159)]),ke(0x1,a[_0x54a041(0x388)]),ke(0x2,a['Inject'](a[_0x54a041(0x3d4)])),ke(0x3,a[_0x54a041(0x2ca)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports[_0x54a041(0x451)]=Y,exports[_0x54a041(0x27a)]=It,exports[_0x54a041(0x47d)]=St,exports[_0x54a041(0x3c0)]=We,exports[_0x54a041(0x465)]=Q,exports[_0x54a041(0x2e1)]=te,exports[_0x54a041(0x1a1)]=Be,exports[_0x54a041(0x29a)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x54a041(0x38c)]=$t,exports[_0x54a041(0x339)]=pt,exports[_0x54a041(0x1ca)]=je,exports[_0x54a041(0x170)]=$e,exports['ILocalCacheService']=z,exports[_0x54a041(0x1f1)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Vt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports['LOGIN_URL_KEY']=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x54a041(0x367)]=dt,exports[_0x54a041(0x3b8)]=vt,exports[_0x54a041(0x2fe)]=se,exports[_0x54a041(0x20d)]=Fe,exports[_0x54a041(0x209)]=Rt,exports[_0x54a041(0x485)]=vi,exports[_0x54a041(0x1de)]=yt;
|
1
|
+
'use strict';var _0x1f47c0=_0x5763;(function(_0x501b75,_0x5459ed){var _0x54bbbb=_0x5763,_0x5d21ad=_0x501b75();while(!![]){try{var _0x35b62b=parseInt(_0x54bbbb(0x1ef))/0x1*(parseInt(_0x54bbbb(0x2d1))/0x2)+parseInt(_0x54bbbb(0x34a))/0x3+parseInt(_0x54bbbb(0x1fe))/0x4+-parseInt(_0x54bbbb(0x435))/0x5*(-parseInt(_0x54bbbb(0x19b))/0x6)+parseInt(_0x54bbbb(0x14d))/0x7+parseInt(_0x54bbbb(0x221))/0x8+-parseInt(_0x54bbbb(0x348))/0x9;if(_0x35b62b===_0x5459ed)break;else _0x5d21ad['push'](_0x5d21ad['shift']());}catch(_0x310b5d){_0x5d21ad['push'](_0x5d21ad['shift']());}}}(_0x13f8,0x79b87));var wt=Object['defineProperty'],Lt=(_0x3ddc77,_0x3c5e07,_0x4b8792)=>_0x3c5e07 in _0x3ddc77?wt(_0x3ddc77,_0x3c5e07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b8792}):_0x3ddc77[_0x3c5e07]=_0x4b8792,P=(_0xc3ebd8,_0xd55294,_0x84dec3)=>Lt(_0xc3ebd8,typeof _0xd55294!=_0x1f47c0(0x417)?_0xd55294+'':_0xd55294,_0x84dec3);Object[_0x1f47c0(0x294)](exports,Symbol[_0x1f47c0(0x196)],{'value':'Module'});const a=require('@univerjs/core'),j=require(_0x1f47c0(0x3c7)),W=require(_0x1f47c0(0xfd)),g=require(_0x1f47c0(0x1db)),q=require(_0x1f47c0(0x287)),Mt=require(_0x1f47c0(0x25f)),ut=require('@univerjs/docs'),Z=require(_0x1f47c0(0x2e2)),J=require(_0x1f47c0(0x360)),xt=require(_0x1f47c0(0x43f)),dt=_0x1f47c0(0x332),kt=_0x1f47c0(0x10e),vt=_0x1f47c0(0x1e7),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x1f47c0(0x2e9),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x1f47c0(0x3df),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x1f47c0(0xf8),gt=0x4e20,Ft=0x4e20,mt=_0x1f47c0(0x41e),Wt=0x3,Gt='LOCAL_CACHE_INTERVAL',Vt=0x3e8,It=_0x1f47c0(0x2da),Kt=_0x1f47c0(0x2d9),Et=_0x1f47c0(0x455),Yt=_0x1f47c0(0x1a0),qt=_0x1f47c0(0x132),zt='/universer-api/uniscript';var Ct=(_0xa4e3b5=>(_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x16b)]=0x0]=_0x1f47c0(0x16b),_0xa4e3b5[_0xa4e3b5['OK']=0x1]='OK',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x195)]=0x2]=_0x1f47c0(0x195),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x2a3)]=0x3]='PERMISSION_DENIED',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x410)]=0x4]=_0x1f47c0(0x410),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x27e)]=0x5]='UNAUTHENTICATED',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x28e)]=0x6]=_0x1f47c0(0x28e),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x1fc)]=0x7]='INVALID_ARGUMENT',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x153)]=0x8]=_0x1f47c0(0x153),_0xa4e3b5[_0xa4e3b5['COMPLETION_FINISHED']=0x9]=_0x1f47c0(0x1ad),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x197)]=0x1389]=_0x1f47c0(0x197),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x137)]=0x1771]=_0x1f47c0(0x137),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x34d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x43e)]=0x1773]=_0x1f47c0(0x43e),_0xa4e3b5[_0xa4e3b5['APPLY_REJECT']=0x1b59]=_0x1f47c0(0x233),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x385)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x108)]=0x1b5b]=_0x1f47c0(0x108),_0xa4e3b5[_0xa4e3b5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1f47c0(0x1e1),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x10f)]=0x1b5d]=_0x1f47c0(0x10f),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x407)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x3fb)]=0x2329]=_0x1f47c0(0x3fb),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x337)]=0x232a]=_0x1f47c0(0x337),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0xfb)]=0x232b]=_0x1f47c0(0xfb),_0xa4e3b5[_0xa4e3b5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa4e3b5[_0xa4e3b5['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1f47c0(0x35f),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x131)]=0x2711]=_0x1f47c0(0x131),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x357)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x1c3)]=0x2713]=_0x1f47c0(0x1c3),_0xa4e3b5[_0xa4e3b5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa4e3b5[_0xa4e3b5['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1f47c0(0x2ff),_0xa4e3b5[_0xa4e3b5[_0x1f47c0(0x3fa)]=-0x1]=_0x1f47c0(0x3fa),_0xa4e3b5))(Ct||{}),X=(_0x5c666d=>(_0x5c666d[_0x5c666d[_0x1f47c0(0x11a)]=0x0]=_0x1f47c0(0x11a),_0x5c666d[_0x5c666d[_0x1f47c0(0x1ac)]=0x1]=_0x1f47c0(0x1ac),_0x5c666d[_0x5c666d['UNIVER_SHEET']=0x2]=_0x1f47c0(0x1fd),_0x5c666d[_0x5c666d[_0x1f47c0(0x2dd)]=0x3]=_0x1f47c0(0x2dd),_0x5c666d[_0x5c666d['UNIVER_PROJECT']=0x4]=_0x1f47c0(0xf5),_0x5c666d[_0x5c666d[_0x1f47c0(0x3fa)]=-0x1]='UNRECOGNIZED',_0x5c666d))(X||{}),G=(_0x5d649b=>(_0x5d649b[_0x5d649b[_0x1f47c0(0x229)]=0x0]=_0x1f47c0(0x229),_0x5d649b[_0x5d649b[_0x1f47c0(0x2f8)]=0x1]=_0x1f47c0(0x2f8),_0x5d649b[_0x5d649b[_0x1f47c0(0x29f)]=0x2]=_0x1f47c0(0x29f),_0x5d649b[_0x5d649b[_0x1f47c0(0x2c1)]=0x3]=_0x1f47c0(0x2c1),_0x5d649b[_0x5d649b[_0x1f47c0(0xef)]=0x4]='INGEST',_0x5d649b[_0x5d649b[_0x1f47c0(0x228)]=0x5]=_0x1f47c0(0x228),_0x5d649b[_0x5d649b['RECV']=0x6]='RECV',_0x5d649b[_0x5d649b[_0x1f47c0(0x3fa)]=-0x1]=_0x1f47c0(0x3fa),_0x5d649b))(G||{}),ae=(_0x576348=>(_0x576348[_0x576348[_0x1f47c0(0x15e)]=0x0]=_0x1f47c0(0x15e),_0x576348[_0x576348['OK']=0x1]='OK',_0x576348[_0x576348[_0x1f47c0(0x245)]=0x2]=_0x1f47c0(0x245),_0x576348[_0x576348[_0x1f47c0(0x393)]=0x3e9]=_0x1f47c0(0x393),_0x576348[_0x576348['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1f47c0(0x278),_0x576348[_0x576348[_0x1f47c0(0x316)]=0x3eb]=_0x1f47c0(0x316),_0x576348[_0x576348[_0x1f47c0(0x42a)]=0x3ec]=_0x1f47c0(0x42a),_0x576348[_0x576348[_0x1f47c0(0x3fa)]=-0x1]=_0x1f47c0(0x3fa),_0x576348))(ae||{}),Tt=(_0x469fbc=>(_0x469fbc[_0x469fbc['Undefined']=0x0]='Undefined',_0x469fbc[_0x469fbc['HttpImport']=0x1]='HttpImport',_0x469fbc[_0x469fbc[_0x1f47c0(0x1f7)]=0x2]=_0x1f47c0(0x1f7),_0x469fbc[_0x469fbc[_0x1f47c0(0x2f9)]=0x3]=_0x1f47c0(0x2f9),_0x469fbc[_0x469fbc[_0x1f47c0(0x3e4)]=0x4]=_0x1f47c0(0x3e4),_0x469fbc[_0x469fbc[_0x1f47c0(0x3fa)]=-0x1]=_0x1f47c0(0x3fa),_0x469fbc))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x4b6c51=>(_0x4b6c51[_0x1f47c0(0x3f4)]=_0x1f47c0(0x3f4),_0x4b6c51['PERMISSION_DENIED']=_0x1f47c0(0x2a3),_0x4b6c51['CONFLICT']=_0x1f47c0(0x105),_0x4b6c51['CLOSE_ROOM']=_0x1f47c0(0x38e),_0x4b6c51[_0x1f47c0(0xe4)]=_0x1f47c0(0xe4),_0x4b6c51[_0x1f47c0(0x3cb)]='SOCKET_FAILED_RETRY',_0x4b6c51[_0x1f47c0(0x154)]='SOCKET_FAILED',_0x4b6c51[_0x1f47c0(0x421)]=_0x1f47c0(0x421),_0x4b6c51))(Q||{});class te{constructor(){var _0x289e26=_0x1f47c0;P(this,_0x289e26(0x411),new j[(_0x289e26(0x42e))]()),P(this,_0x289e26(0x370),this[_0x289e26(0x411)][_0x289e26(0x258)]());}[_0x1f47c0(0x10c)](_0x3adedb){var _0x27794c=_0x1f47c0;this[_0x27794c(0x411)]['next'](_0x3adedb);}}const bt=a[_0x1f47c0(0x1f0)](_0x1f47c0(0x1eb));function Rt(_0x212aa3){var _0x2d7729=_0x1f47c0,_0x2c4981,_0x48febc,_0x1fc1c2,_0x5018cb,_0x19aca7;const _0x1ee40a=_0x212aa3[_0x2d7729(0x10a)],_0x420ec4=JSON[_0x2d7729(0x11b)](_0x1ee40a);switch(_0x420ec4[_0x2d7729(0x2b0)]){case G[_0x2d7729(0x228)]:case G[_0x2d7729(0x2f8)]:{const _0x2549f1=_0x420ec4[_0x2d7729(0x11c)];return{..._0x420ec4,'data':_0x2549f1,'cmd':_0x420ec4['cmd']};}case G['JOIN']:{const _0x2ea8f6=_0x420ec4['joinRsp'];return{..._0x420ec4,'data':_0x2ea8f6,'cmd':_0x420ec4['cmd']};}case G[_0x2d7729(0x363)]:{const _0x31838d=_0x420ec4[_0x2d7729(0x306)];switch(_0x31838d[_0x2d7729(0x171)]){case g[_0x2d7729(0x352)][_0x2d7729(0x430)]:return{..._0x420ec4,'data':{..._0x31838d,'data':(_0x2c4981=_0x31838d[_0x2d7729(0x309)])==null?void 0x0:_0x2c4981['cs']},'cmd':_0x420ec4['cmd']};case g[_0x2d7729(0x352)][_0x2d7729(0x19f)]:return{..._0x420ec4,'data':{..._0x31838d,'data':(_0x48febc=_0x31838d[_0x2d7729(0x3a9)])==null?void 0x0:_0x48febc['cs']},'cmd':_0x420ec4['cmd']};case g[_0x2d7729(0x352)][_0x2d7729(0x319)]:return{..._0x420ec4,'data':{..._0x31838d,'data':(_0x1fc1c2=_0x31838d['newCsEvent'])==null?void 0x0:_0x1fc1c2['cs']},'cmd':_0x420ec4['cmd']};case g[_0x2d7729(0x352)]['CHANGESET_REJ']:return{..._0x420ec4,'data':{..._0x31838d,'data':(_0x5018cb=_0x31838d['csRejEvent'])==null?void 0x0:_0x5018cb['cs']},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)]['CHANGESET_SHOULD_RETRY']:return{..._0x420ec4,'data':{..._0x31838d,'data':(_0x19aca7=_0x31838d[_0x2d7729(0x37c)])==null?void 0x0:_0x19aca7['cs']},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)][_0x2d7729(0x28b)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x23b)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)]['USERS_ENTER']:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d['joinEvent']},'cmd':_0x420ec4['cmd']};case g[_0x2d7729(0x352)]['USERS_LEAVE']:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x3c9)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)][_0x2d7729(0x3c8)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x3c2)]},'cmd':_0x420ec4['cmd']};case g['CollaborationEvent'][_0x2d7729(0x2ac)]:case g[_0x2d7729(0x352)]['LIVESHARE_OPERATION']:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x1b2)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)][_0x2d7729(0x2f6)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x3c2)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)][_0x2d7729(0x27a)]:return{..._0x420ec4,'data':_0x31838d,'cmd':_0x420ec4['cmd']};case g[_0x2d7729(0x352)][_0x2d7729(0x33d)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x320)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g[_0x2d7729(0x352)][_0x2d7729(0x375)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d['updatePermissionObjEvent']},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};case g['CollaborationEvent'][_0x2d7729(0x34f)]:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d['shouldCloseConn']},'cmd':_0x420ec4['cmd']};case g['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x420ec4,'data':{..._0x31838d,'data':_0x31838d[_0x2d7729(0x3f1)]},'cmd':_0x420ec4[_0x2d7729(0x2b0)]};default:return _0x420ec4;}}default:return _0x420ec4;}}function yt(_0x4f6218){var _0x20d23e=_0x1f47c0;switch(_0x4f6218['cmd']){case G[_0x20d23e(0x228)]:case G[_0x20d23e(0x2f8)]:return JSON['stringify']({'cmd':_0x4f6218['cmd'],'routeKey':_0x4f6218[_0x20d23e(0x2a2)]});case G[_0x20d23e(0xef)]:{let _0x459e73;switch(_0x4f6218[_0x20d23e(0x10a)]['eventID']){case g[_0x20d23e(0x352)][_0x20d23e(0x28b)]:{_0x459e73={'eventID':g['CollaborationEvent'][_0x20d23e(0x28b)],'updateCursorEvent':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x10a)]};break;}case g[_0x20d23e(0x352)][_0x20d23e(0x1dd)]:{_0x459e73={'eventID':g[_0x20d23e(0x352)][_0x20d23e(0x1dd)],'leaveEvent':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x10a)]};break;}case g[_0x20d23e(0x352)]['USERS_ENTER']:{_0x459e73={'eventID':g[_0x20d23e(0x352)]['USERS_ENTER'],'joinEvent':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x10a)]};break;}case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x459e73={'eventID':g[_0x20d23e(0x352)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x10a)]};break;}case g[_0x20d23e(0x352)][_0x20d23e(0x291)]:{_0x459e73={'eventID':g[_0x20d23e(0x352)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4f6218[_0x20d23e(0x10a)]['data']};break;}case g['CollaborationEvent'][_0x20d23e(0x2f6)]:{_0x459e73={'eventID':g[_0x20d23e(0x352)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x10a)]};break;}case g['CollaborationEvent'][_0x20d23e(0x2d2)]:{_0x459e73={'eventID':g[_0x20d23e(0x352)][_0x20d23e(0x2d2)],'liveShareRequestHost':_0x4f6218['data'][_0x20d23e(0x10a)]};break;}case g[_0x20d23e(0x352)]['LIVESHARE_FETCH_OPERATIONS']:{_0x459e73={'eventID':g['CollaborationEvent'][_0x20d23e(0x2ac)]};break;}default:_0x459e73={'eventID':_0x4f6218[_0x20d23e(0x10a)][_0x20d23e(0x171)]};}return JSON[_0x20d23e(0x1e9)]({'cmd':_0x4f6218['cmd'],'routeKey':_0x4f6218[_0x20d23e(0x2a2)],'collaMsg':_0x459e73});}case G[_0x20d23e(0x29f)]:return JSON['stringify']({'cmd':_0x4f6218[_0x20d23e(0x2b0)],'routeKey':_0x4f6218[_0x20d23e(0x2a2)],'joinReq':_0x4f6218[_0x20d23e(0x10a)]});case G['LEAVE']:return JSON[_0x20d23e(0x1e9)]({'cmd':_0x4f6218[_0x20d23e(0x2b0)],'routeKey':_0x4f6218[_0x20d23e(0x2a2)],'leaveReq':_0x4f6218[_0x20d23e(0x10a)]});default:throw new Error(_0x20d23e(0x308));}}var Xt=Object[_0x1f47c0(0x269)],Zt=(_0x2ae994,_0x3b2f0c,_0x1943fe,_0x2ee984)=>{for(var _0x2dac67=_0x2ee984>0x1?void 0x0:_0x2ee984?Xt(_0x3b2f0c,_0x1943fe):_0x3b2f0c,_0x9cf81e=_0x2ae994['length']-0x1,_0x4e2c87;_0x9cf81e>=0x0;_0x9cf81e--)(_0x4e2c87=_0x2ae994[_0x9cf81e])&&(_0x2dac67=_0x4e2c87(_0x2dac67)||_0x2dac67);return _0x2dac67;},_e=(_0xb6bf3f,_0x52b75c)=>(_0xe4270f,_0x301cea)=>_0x52b75c(_0xe4270f,_0x301cea,_0xb6bf3f);const $e=a[_0x1f47c0(0x1f0)]('univer-pro.collaboration-client-socket-service');function Qt(_0x5ec81d,_0x190885,_0x116917){var _0x25de37=_0x1f47c0;return _0x5ec81d+'/'+_0x190885+_0x25de37(0x1c2)+_0x116917+_0x25de37(0x3e5);}exports['CollaborationSocketService']=class extends a[_0x1f47c0(0x2ee)]{constructor(_0x5acfa1,_0x102c74,_0x53d3b3,_0x134558,_0x41eb9e){var _0x1bf410=_0x1f47c0;super(),this[_0x1bf410(0x3ce)]=_0x5acfa1,this['_httpService']=_0x102c74,this['_configService']=_0x53d3b3,this[_0x1bf410(0x325)]=_0x134558,this[_0x1bf410(0x3fe)]=_0x41eb9e;}[_0x1f47c0(0x259)](_0x465179){var _0x47e459=_0x1f47c0;const _0x250bd6=this[_0x47e459(0x3ce)][_0x47e459(0x15f)](q['ISocketService']);if(!_0x250bd6)throw new Error(_0x47e459(0x346));const _0x1a91c1=_0x250bd6[_0x47e459(0x2b9)](_0x465179);if(!_0x1a91c1)throw new Error(_0x47e459(0x301));const _0x9d1ae=new a[(_0x47e459(0x133))](),_0x1c1603=new j[(_0x47e459(0x42e))]();_0x9d1ae[_0x47e459(0x335)](_0x1a91c1['close$'][_0x47e459(0x305)](_0x3f839d=>_0x1c1603[_0x47e459(0x166)](_0x3f839d))),_0x9d1ae['add'](a[_0x47e459(0x3a6)](()=>_0x1c1603[_0x47e459(0x3f3)]()));const _0x1770c4=new j[(_0x47e459(0x42e))]();_0x9d1ae[_0x47e459(0x335)](_0x1a91c1[_0x47e459(0x3f0)][_0x47e459(0x305)](_0x408c89=>_0x1770c4[_0x47e459(0x166)](_0x408c89))),_0x9d1ae[_0x47e459(0x335)](a[_0x47e459(0x3a6)](()=>_0x1770c4['complete']()));const _0x475946=new j[(_0x47e459(0x42e))]();_0x9d1ae[_0x47e459(0x335)](_0x1a91c1[_0x47e459(0x34b)][_0x47e459(0x305)](_0x2fa05a=>{var _0x45b58c=_0x47e459;const _0x3d2319=Rt(_0x2fa05a);_0x475946[_0x45b58c(0x166)](_0x3d2319);})),_0x9d1ae[_0x47e459(0x335)](a[_0x47e459(0x3a6)](()=>_0x475946[_0x47e459(0x3f3)]()));let _0x24919b;const _0x555d33=()=>{var _0x4785c3=_0x47e459;_0x1770c4[_0x4785c3(0x166)](new Event(_0x4785c3(0x148))),_0x1c1603[_0x4785c3(0x166)](new Event(_0x4785c3(0x148))),_0x24919b['close']();};return _0x24919b={'memberID':'','close$':_0x1c1603[_0x47e459(0x258)](),'error$':_0x1770c4[_0x47e459(0x258)](),'open$':_0x1a91c1[_0x47e459(0x14f)],'message$':_0x475946[_0x47e459(0x258)](),'send':_0x2a93a5=>{var _0x38fe5f=_0x47e459;if(_0x2a93a5[_0x38fe5f(0x2b0)]===G[_0x38fe5f(0xef)]){if(_0x2a93a5[_0x38fe5f(0x10a)][_0x38fe5f(0x171)]===g['CollaborationEvent'][_0x38fe5f(0x136)]){this[_0x38fe5f(0x1e6)](_0x24919b,_0x2a93a5[_0x38fe5f(0x10a)])[_0x38fe5f(0x394)](_0x13919b=>{var _0x2914f4=_0x38fe5f;this[_0x2914f4(0x325)][_0x2914f4(0x13e)](_0x13919b),_0x555d33();});return;}if(_0x2a93a5[_0x38fe5f(0x10a)][_0x38fe5f(0x171)]===g['CollaborationEvent'][_0x38fe5f(0x1e5)]){const _0xb11509=_0x2a93a5['data'];this['_fetchMissChangesets'](_0xb11509)[_0x38fe5f(0x1ce)](_0x5d8d8e=>{var _0x3cff3d=_0x38fe5f;_0x475946[_0x3cff3d(0x166)]({'cmd':G[_0x3cff3d(0x363)],'code':ae['OK'],'routeKey':_0xb11509['data'][_0x3cff3d(0x1ea)],'routeType':'','data':{'eventID':g[_0x3cff3d(0x352)][_0x3cff3d(0xeb)],'data':{'changesets':_0x5d8d8e}}});})['catch'](_0x1a928b=>{var _0x403ea3=_0x38fe5f;this[_0x403ea3(0x325)]['error'](_0x1a928b),_0x555d33();});return;}}_0x1a91c1[_0x38fe5f(0x42c)](yt(_0x2a93a5));},'close':()=>{var _0x13845f=_0x47e459;_0x1a91c1['close'](),_0x9d1ae[_0x13845f(0x2ef)]();}},_0x24919b;}async['_submitChangeset'](_0x5bd2fb,_0x52abb0){var _0x429c7b=_0x1f47c0,_0xf359b9,_0x49c1ea;const {unitType:_0x14254f,unitID:_0x2f754b,changeset:_0x70cc7f}=_0x52abb0['data'],_0x259d80={'unitID':_0x2f754b,'memberID':_0x5bd2fb['memberID'],'type':_0x14254f,'changeset':g[_0x429c7b(0x447)](_0x70cc7f)},_0x1e7bdb=this[_0x429c7b(0x295)][_0x429c7b(0x37b)](It),_0x2d24ab=this[_0x429c7b(0x295)]['getConfig'](Y),_0x268c0b=Qt((_0x49c1ea=(_0xf359b9=_0x2d24ab==null?void 0x0:_0x2d24ab[_0x429c7b(0x102)])!=null?_0xf359b9:_0x1e7bdb)!=null?_0x49c1ea:Kt,_0x14254f,_0x2f754b);try{await this[_0x429c7b(0x345)][_0x429c7b(0x3f9)](_0x268c0b,{'body':_0x259d80});}catch(_0x30284d){throw this['_logService']['error'](_0x429c7b(0x3fc),_0x429c7b(0x1d4)),_0x30284d;}}async[_0x1f47c0(0x32a)](_0x33ceec){var _0x4615f=_0x1f47c0;const {unitID:_0x50c057,from:_0x5d1724,to:_0x29535b,unitType:_0x4f1bf7}=_0x33ceec[_0x4615f(0x10a)];return(await this[_0x4615f(0x3fe)][_0x4615f(0x116)]({'metadata':void 0x0},{'unitID':_0x50c057,'type':_0x4f1bf7,'from':_0x5d1724,'to':_0x29535b}))[_0x4615f(0x397)];}},exports[_0x1f47c0(0x177)]=Zt([_e(0x0,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),_e(0x1,a['Inject'](q[_0x1f47c0(0x120)])),_e(0x2,a[_0x1f47c0(0x26a)]),_e(0x3,a[_0x1f47c0(0x380)]),_e(0x4,g[_0x1f47c0(0x29e)])],exports[_0x1f47c0(0x177)]);const ei='collaboration_new_changeset';function ti(_0x28e65f){var _0x4e1cf2=_0x1f47c0;return JSON[_0x4e1cf2(0x1e9)](_0x28e65f)[_0x4e1cf2(0x43c)];}class Be{constructor(){var _0x233582=_0x1f47c0;P(this,_0x233582(0x134),new j[(_0x233582(0x42e))]()),P(this,_0x233582(0x169),this[_0x233582(0x134)][_0x233582(0x258)]());}[_0x1f47c0(0x1e2)](_0x4584cb){var _0x12db5f=_0x1f47c0;this['_commentUpdate$'][_0x12db5f(0x166)](_0x4584cb);}}function _0x5763(_0x408ae5,_0x2ae0aa){var _0x13f8d3=_0x13f8();return _0x5763=function(_0x576376,_0x10f72e){_0x576376=_0x576376-0xe4;var _0x10ea22=_0x13f8d3[_0x576376];return _0x10ea22;},_0x5763(_0x408ae5,_0x2ae0aa);}var ii=Object[_0x1f47c0(0x269)],ni=(_0x142757,_0x5c761b,_0x2f68d8,_0x44d8e5)=>{for(var _0x5f1685=_0x44d8e5>0x1?void 0x0:_0x44d8e5?ii(_0x5c761b,_0x2f68d8):_0x5c761b,_0x2b9430=_0x142757['length']-0x1,_0x27f388;_0x2b9430>=0x0;_0x2b9430--)(_0x27f388=_0x142757[_0x2b9430])&&(_0x5f1685=_0x27f388(_0x5f1685)||_0x5f1685);return _0x5f1685;},Ke=(_0x3553de,_0x18ff0b)=>(_0x2b3f3e,_0x44f4be)=>_0x18ff0b(_0x2b3f3e,_0x44f4be,_0x3553de);exports['MemberService']=class extends a[_0x1f47c0(0x2ee)]{constructor(_0x30477,_0x444981){var _0x10d78e=_0x1f47c0;super(),P(this,_0x10d78e(0x30c),new Map()),P(this,_0x10d78e(0x1bb),new j[(_0x10d78e(0x42e))]()),(this[_0x10d78e(0x37e)]=_0x30477,this['_userManagerService']=_0x444981,this[_0x10d78e(0x423)](j['merge'](this[_0x10d78e(0x37e)][_0x10d78e(0x1a6)](a[_0x10d78e(0x3a1)]['UNIVER_SHEET'])[_0x10d78e(0x40e)](W['map'](_0x27fbcf=>_0x27fbcf[_0x10d78e(0x31e)]())),this[_0x10d78e(0x37e)][_0x10d78e(0x1a6)](a[_0x10d78e(0x3a1)][_0x10d78e(0x1ac)])[_0x10d78e(0x40e)](W[_0x10d78e(0x191)](_0x1552ee=>_0x1552ee[_0x10d78e(0x31e)]())),this[_0x10d78e(0x37e)][_0x10d78e(0x1a6)](a['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](W['map'](_0x59b024=>_0x59b024[_0x10d78e(0x31e)]())))[_0x10d78e(0x305)](_0x40cce2=>this[_0x10d78e(0x182)](_0x40cce2))));}[_0x1f47c0(0x1ae)](_0x537493){var _0xaebd0c=_0x1f47c0;return this[_0xaebd0c(0x30c)]['has'](_0x537493)?j['of'](this[_0xaebd0c(0x30c)][_0xaebd0c(0x15f)](_0x537493)):this[_0xaebd0c(0x1bb)][_0xaebd0c(0x40e)](W[_0xaebd0c(0x191)](_0x51e17e=>{var _0x5dd0bc=_0xaebd0c;if(_0x51e17e===_0x537493)return this['_roomMembers'][_0x5dd0bc(0x15f)](_0x51e17e);}));}['setCurrentUser'](_0xedbec5){var _0x31f697=_0x1f47c0;this[_0x31f697(0xf9)]['setCurrentUser'](_0xedbec5);}[_0x1f47c0(0x3b1)](){var _0x58db27=_0x1f47c0;return this[_0x58db27(0xf9)][_0x58db27(0x3b1)]();}[_0x1f47c0(0x1d3)](_0x563e54,_0x405a81){var _0x221833=_0x1f47c0;let _0x56121d=this[_0x221833(0x30c)][_0x221833(0x15f)](_0x563e54);_0x56121d||(_0x56121d=new ri(),this[_0x221833(0x30c)]['set'](_0x563e54,_0x56121d),this['_roomCreated$'][_0x221833(0x166)](_0x563e54)),_0x56121d['updateMember'](_0x405a81);}[_0x1f47c0(0x209)](_0x3313db,_0x358830){var _0x5affe9=_0x1f47c0;const _0x463898=this['_roomMembers'][_0x5affe9(0x15f)](_0x3313db);_0x463898&&_0x463898[_0x5affe9(0x209)](_0x358830);}[_0x1f47c0(0x326)](_0x43dfc0){var _0x19e292=_0x1f47c0;return this[_0x19e292(0x30c)][_0x19e292(0x15f)](_0x43dfc0);}['getMember'](_0x3e8d04,_0x35a78f){var _0xfba763=_0x1f47c0;const _0x1bf96b=this[_0xfba763(0x30c)][_0xfba763(0x15f)](_0x3e8d04);if(_0x1bf96b)return _0x1bf96b['getMember'](_0x35a78f);}[_0x1f47c0(0x182)](_0x336ea8){var _0x59e5e4=_0x1f47c0;const _0x1f83ea=this[_0x59e5e4(0x30c)]['get'](_0x336ea8);_0x1f83ea&&(_0x1f83ea[_0x59e5e4(0x2ef)](),this['_roomMembers'][_0x59e5e4(0x164)](_0x336ea8));}[_0x1f47c0(0x2ef)](){var _0xa10959=_0x1f47c0;this[_0xa10959(0x30c)][_0xa10959(0x300)](_0x3db258=>_0x3db258[_0xa10959(0x2ef)]()),this[_0xa10959(0x30c)][_0xa10959(0x15a)](),this[_0xa10959(0x1bb)][_0xa10959(0x3f3)]();}},exports[_0x1f47c0(0x127)]=ni([Ke(0x0,a[_0x1f47c0(0x3c1)]),Ke(0x1,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x140)]))],exports['MemberService']);class ri extends a[_0x1f47c0(0x2ee)]{constructor(){var _0x193c74=_0x1f47c0;super(...arguments),P(this,_0x193c74(0x181),new Map()),P(this,'_members$',new j[(_0x193c74(0x23f))](this['_members'])),P(this,'members$',this['_members$'][_0x193c74(0x258)]());}[_0x1f47c0(0x2ef)](){var _0x58599f=_0x1f47c0;this[_0x58599f(0x181)][_0x58599f(0x15a)]();}[_0x1f47c0(0x1d3)](_0x5e63fd){var _0x51e482=_0x1f47c0;this[_0x51e482(0x181)][_0x51e482(0x41b)](_0x5e63fd[_0x51e482(0x297)],_0x5e63fd),this[_0x51e482(0x328)]();}[_0x1f47c0(0x209)](_0x2c7f09){var _0x129a1d=_0x1f47c0;this[_0x129a1d(0x181)][_0x129a1d(0x164)](_0x2c7f09);}[_0x1f47c0(0x2b8)](_0xcfbd8b){var _0x433bad=_0x1f47c0;return this[_0x433bad(0x181)][_0x433bad(0x15f)](_0xcfbd8b);}[_0x1f47c0(0x168)](){var _0x1af301=_0x1f47c0;return Array[_0x1af301(0x2ed)](this['_members'][_0x1af301(0x25d)]());}[_0x1f47c0(0x328)](){var _0x48ac0d=_0x1f47c0;this[_0x48ac0d(0x283)][_0x48ac0d(0x166)](this[_0x48ac0d(0x181)]);}}var si=Object[_0x1f47c0(0x269)],oi=(_0x3d0c62,_0x5e7481,_0x3a19e3,_0x534113)=>{for(var _0x297d07=_0x534113>0x1?void 0x0:_0x534113?si(_0x5e7481,_0x3a19e3):_0x5e7481,_0xe8dcb4=_0x3d0c62['length']-0x1,_0x35993a;_0xe8dcb4>=0x0;_0xe8dcb4--)(_0x35993a=_0x3d0c62[_0xe8dcb4])&&(_0x297d07=_0x35993a(_0x297d07)||_0x297d07);return _0x297d07;},oe=(_0x4b034e,_0x3d85a2)=>(_0x53cd6a,_0xf080ee)=>_0x3d85a2(_0x53cd6a,_0xf080ee,_0x4b034e),se=(_0x4e9943=>(_0x4e9943[_0x4e9943[_0x1f47c0(0x1d7)]=0x0]=_0x1f47c0(0x1d7),_0x4e9943[_0x4e9943['JOINING']=0x1]=_0x1f47c0(0x165),_0x4e9943[_0x4e9943[_0x1f47c0(0x255)]=0x2]=_0x1f47c0(0x255),_0x4e9943[_0x4e9943['ONLINE']=0x3]=_0x1f47c0(0x16e),_0x4e9943))(se||{});const Ye={[ae[_0x1f47c0(0x245)]]:_0x1f47c0(0x36c),[ae[_0x1f47c0(0x393)]]:_0x1f47c0(0x3ff),[ae[_0x1f47c0(0x278)]]:'session.room-not-exists',[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x1f47c0(0x218),[ae[_0x1f47c0(0x42a)]]:_0x1f47c0(0x147)};exports[_0x1f47c0(0x3bd)]=class extends a[_0x1f47c0(0x433)]{constructor(_0x516041,_0x4914ed,_0x170fa1,_0x1932b9,_0x420f84,_0x48243c,_0x14b52d,_0x12f713,_0x2cc1a4){var _0x521bb8=_0x1f47c0;super(),P(this,'_sessionStatus$',new j[(_0x521bb8(0x23f))](0x0)),P(this,_0x521bb8(0x178),this[_0x521bb8(0x263)]['asObservable']()),P(this,_0x521bb8(0x411),new j['Subject']()),P(this,'event$',this[_0x521bb8(0x411)][_0x521bb8(0x258)]()),P(this,_0x521bb8(0x456)),P(this,_0x521bb8(0x25a)),P(this,_0x521bb8(0x12e)),P(this,_0x521bb8(0x13b),!0x1),P(this,_0x521bb8(0x32b),null),(this['_unitID']=_0x516041,this[_0x521bb8(0x325)]=_0x170fa1,this[_0x521bb8(0x295)]=_0x1932b9,this['_localeService']=_0x420f84,this[_0x521bb8(0x109)]=_0x48243c,this[_0x521bb8(0x215)]=_0x14b52d,this[_0x521bb8(0x16a)]=_0x12f713,this[_0x521bb8(0x285)]=_0x2cc1a4,this[_0x521bb8(0x13b)]=!!this[_0x521bb8(0x285)],_0x4914ed[_0x521bb8(0x40e)](j[_0x521bb8(0x2b4)](this[_0x521bb8(0x3ab)]))[_0x521bb8(0x305)](_0x35af18=>{var _0x35585c=_0x521bb8,_0x54140d;typeof _0x35af18>'u'||(this['_socket']=_0x35af18,_0x35af18?(this[_0x35585c(0x1b7)](_0x35af18),this[_0x35585c(0x25a)]=_0x35af18[_0x35585c(0x34b)]['subscribe'](_0x4be6e7=>{var _0x341c70=_0x35585c;_0x4be6e7['routeKey']===this[_0x341c70(0x336)]&&this[_0x341c70(0x175)](_0x4be6e7);})):(this[_0x35585c(0x1f8)](),this[_0x35585c(0x263)][_0x35585c(0x166)](0x2),(_0x54140d=this[_0x35585c(0x25a)])==null||_0x54140d[_0x35585c(0x444)](),this[_0x35585c(0x25a)]=null));}));}get[_0x1f47c0(0x12b)](){var _0x114dd5=_0x1f47c0;return this[_0x114dd5(0x263)]['getValue']();}[_0x1f47c0(0x1f5)](){var _0xe3a840=_0x1f47c0,_0x5a8519,_0x57e320;return(_0x57e320=(_0x5a8519=this[_0xe3a840(0x456)])==null?void 0x0:_0x5a8519[_0xe3a840(0x297)])!=null?_0x57e320:null;}[_0x1f47c0(0x2ef)](){var _0x421bda=_0x1f47c0;super[_0x421bda(0x2ef)](),this[_0x421bda(0x3ab)][_0x421bda(0x166)](),this[_0x421bda(0x3ab)][_0x421bda(0x3f3)]();}[_0x1f47c0(0x28d)](){var _0x29c88b=_0x1f47c0,_0x3098b2,_0x66585c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3098b2=this[_0x29c88b(0x456)])==null||_0x3098b2['send']({'cmd':G[_0x29c88b(0x2c1)],'data':{'roomID':this[_0x29c88b(0x336)]}}),(_0x66585c=this[_0x29c88b(0x456)])==null||_0x66585c[_0x29c88b(0x28d)](),this[_0x29c88b(0x411)][_0x29c88b(0x3f3)](),this[_0x29c88b(0x263)][_0x29c88b(0x3f3)](),this['dispose']();}[_0x1f47c0(0x175)](_0x5ae7c3){var _0x49bd63=_0x1f47c0;_0x5ae7c3[_0x49bd63(0x2b0)]===G[_0x49bd63(0x29f)]?this[_0x49bd63(0x409)](_0x5ae7c3):_0x5ae7c3[_0x49bd63(0x2b0)]===G[_0x49bd63(0x363)]&&this[_0x49bd63(0x39c)](_0x5ae7c3);}['_joinRoom'](_0x42d28f){var _0xb2e625=_0x1f47c0;this['_sessionStatus$'][_0xb2e625(0x166)](0x1),_0x42d28f[_0xb2e625(0x42c)]({'cmd':G[_0xb2e625(0x29f)],'routeKey':this[_0xb2e625(0x336)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb2e625(0x336)]}]}});}[_0x1f47c0(0x409)](_0x4c2d76){var _0xd17d61=_0x1f47c0,_0x26fd8b;if(_0x4c2d76[_0xd17d61(0x213)]in Ye){this[_0xd17d61(0x16a)]['emitEvent']({'id':Q[_0xd17d61(0xe4)],'data':Ye[_0x4c2d76[_0xd17d61(0x213)]]}),this[_0xd17d61(0x263)]['next'](0x2);return;}this[_0xd17d61(0x263)]['next'](0x3);const _0x3cda34=(_0x26fd8b=_0x4c2d76[_0xd17d61(0x10a)][_0xd17d61(0x35a)][this[_0xd17d61(0x336)]])==null?void 0x0:_0x26fd8b['members'];_0x3cda34&&_0x3cda34[_0xd17d61(0x300)](_0x5edc52=>this[_0xd17d61(0x109)][_0xd17d61(0x1d3)](this[_0xd17d61(0x336)],_0x5edc52));}[_0x1f47c0(0x39c)](_0x29ebbe){var _0x3d55f6=_0x1f47c0;try{const _0x55e3f4=_0x29ebbe['data'];switch(_0x55e3f4[_0x3d55f6(0x171)]){case g[_0x3d55f6(0x352)][_0x3d55f6(0x1b5)]:this[_0x3d55f6(0x173)](_0x55e3f4),this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);break;case g[_0x3d55f6(0x352)][_0x3d55f6(0x1dd)]:this['_onUserLeave'](_0x55e3f4),this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);break;case g[_0x3d55f6(0x352)][_0x3d55f6(0x19f)]:case g['CollaborationEvent'][_0x3d55f6(0x351)]:this[_0x3d55f6(0x1d1)](),this[_0x3d55f6(0x1ab)](),this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);break;case g[_0x3d55f6(0x352)][_0x3d55f6(0x27a)]:this[_0x3d55f6(0x325)]['error'](_0x3d55f6(0x203)+JSON['stringify'](_0x55e3f4)),this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);break;case g[_0x3d55f6(0x352)][_0x3d55f6(0x33d)]:this['_commentService'][_0x3d55f6(0x1e2)](_0x55e3f4[_0x3d55f6(0x10a)]),this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);break;default:this[_0x3d55f6(0x411)][_0x3d55f6(0x166)](_0x55e3f4);}}catch(_0x290ae9){this['_logService']['error'](_0x290ae9,_0x29ebbe);}}['_onUserJoin'](_0x491dab){var _0x3cd631=_0x1f47c0;this[_0x3cd631(0x109)][_0x3cd631(0x1d3)](this['_unitID'],_0x491dab[_0x3cd631(0x10a)]);}[_0x1f47c0(0x22c)](_0x3ec2ef){var _0x15a8ed=_0x1f47c0;this[_0x15a8ed(0x109)][_0x15a8ed(0x209)](this[_0x15a8ed(0x336)],_0x3ec2ef[_0x15a8ed(0x10a)]['memberID']);}async[_0x1f47c0(0x42c)](_0x4b2d3d,_0x1fee13){var _0x137128=_0x1f47c0;if(this[_0x137128(0x12b)]!==0x3||!this[_0x137128(0x456)])throw new Error(_0x137128(0x220));try{_0x4b2d3d['eventID']===g[_0x137128(0x352)]['SUBMIT_CHANGESET']&&(this[_0x137128(0x18a)](),this['_startTelemetryCollaborationNewChangeset'](_0x4b2d3d)),this[_0x137128(0x456)][_0x137128(0x42c)]({'cmd':G[_0x137128(0xef)],'routeKey':_0x1fee13,'routeType':'','data':_0x4b2d3d});}catch(_0x450521){this['_logService'][_0x137128(0x13e)](_0x450521);}}[_0x1f47c0(0x18a)](){var _0x37b621=_0x1f47c0,_0x57f600;this[_0x37b621(0x12e)]=setTimeout(()=>{var _0x1329ea=_0x37b621;this[_0x1329ea(0x12e)]=null,this['_collaborationUIEventService'][_0x1329ea(0x10c)]({'id':Q[_0x1329ea(0x421)]});},(_0x57f600=this[_0x37b621(0x295)][_0x37b621(0x37b)](je))!=null?_0x57f600:gt);}[_0x1f47c0(0x1ab)](){var _0x42afb5=_0x1f47c0;this[_0x42afb5(0x12e)]&&(clearTimeout(this[_0x42afb5(0x12e)]),this[_0x42afb5(0x12e)]=null);}[_0x1f47c0(0x3aa)](_0x2dc9fa){var _0xb7013c=_0x1f47c0;if(!this['_shouldReportTelemetry'])return;const {data:_0x2493ce}=_0x2dc9fa,{unitID:_0x207bd1,changeset:_0x408e20}=_0x2493ce,{mutations:_0x1b3f5f,type:_0xadfc77}=_0x408e20;this[_0xb7013c(0x32b)]={'unitId':_0x207bd1,'type':_0xadfc77,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1b3f5f)};}[_0x1f47c0(0x1d1)](){var _0x482d9e=_0x1f47c0;if(this[_0x482d9e(0x13b)]){if(!this['_telemetryInfo']){this['_logService'][_0x482d9e(0x13e)](_0x482d9e(0x3fc),_0x482d9e(0x18b));return;}this['_telemetryInfo'][_0x482d9e(0x18c)]=performance[_0x482d9e(0x2a7)](),this[_0x482d9e(0x32b)][_0x482d9e(0x20d)]=this[_0x482d9e(0x32b)][_0x482d9e(0x18c)]-this[_0x482d9e(0x32b)]['startTime'],this[_0x482d9e(0x285)][_0x482d9e(0x311)](ei,this[_0x482d9e(0x32b)]),this[_0x482d9e(0x32b)]=null;}}[_0x1f47c0(0x1f8)](){var _0x5ac350=_0x1f47c0;this[_0x5ac350(0x32b)]=null;}},exports[_0x1f47c0(0x3bd)]=oi([oe(0x2,a[_0x1f47c0(0x380)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x3ae)])),oe(0x5,a['Inject'](exports[_0x1f47c0(0x127)])),oe(0x6,a[_0x1f47c0(0x273)](Be)),oe(0x7,a[_0x1f47c0(0x273)](te)),oe(0x8,a[_0x1f47c0(0x18f)](Mt['ITelemetryService']))],exports[_0x1f47c0(0x3bd)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x4085e4,_0x41e640,_0x13fa25,_0x577a06)=>{var _0xd96fc0=_0x1f47c0;for(var _0x127389=_0x577a06>0x1?void 0x0:_0x577a06?ai(_0x41e640,_0x13fa25):_0x41e640,_0x5de9c6=_0x4085e4[_0xd96fc0(0x43c)]-0x1,_0xbaccdd;_0x5de9c6>=0x0;_0x5de9c6--)(_0xbaccdd=_0x4085e4[_0x5de9c6])&&(_0x127389=_0xbaccdd(_0x127389)||_0x127389);return _0x127389;},le=(_0x484c6e,_0x363da5)=>(_0x55e33d,_0x4e17c5)=>_0x363da5(_0x55e33d,_0x4e17c5,_0x484c6e);exports['CollaborationSessionService']=class extends a[_0x1f47c0(0x2ee)]{constructor(_0x557ae6,_0x3024f5,_0x19d175,_0x17c519,_0x38e25b,_0x292023){var _0x2c5679=_0x1f47c0;super(),P(this,_0x2c5679(0x24c),new j[(_0x2c5679(0x23f))](void 0x0)),P(this,_0x2c5679(0x113),this[_0x2c5679(0x24c)][_0x2c5679(0x258)]()),P(this,_0x2c5679(0x2d8),null),P(this,_0x2c5679(0x2aa),new Map()),P(this,_0x2c5679(0x36a),new j[(_0x2c5679(0x23f))](se[_0x2c5679(0x1d7)])),P(this,_0x2c5679(0x161),this[_0x2c5679(0x36a)][_0x2c5679(0x258)]()),P(this,_0x2c5679(0x356),!0x1),P(this,_0x2c5679(0x20a)),P(this,_0x2c5679(0x111),0x0),P(this,_0x2c5679(0x1cf)),P(this,_0x2c5679(0x26e)),(this['_injector']=_0x557ae6,this[_0x2c5679(0x325)]=_0x3024f5,this[_0x2c5679(0x295)]=_0x19d175,this[_0x2c5679(0x2e1)]=_0x17c519,this[_0x2c5679(0x16a)]=_0x38e25b,this['_networkConditionService']=_0x292023,this[_0x2c5679(0x15c)]());}get[_0x1f47c0(0x456)](){var _0x25feda=_0x1f47c0;return this[_0x25feda(0x24c)][_0x25feda(0x22e)]();}[_0x1f47c0(0x15c)](){var _0x1c783a=_0x1f47c0;this['_networkConditionService']&&this[_0x1c783a(0x423)](this[_0x1c783a(0x361)][_0x1c783a(0x296)][_0x1c783a(0x305)](_0x181cc4=>{var _0x4592f6=_0x1c783a;_0x181cc4&&!this[_0x4592f6(0x456)]&&this[_0x4592f6(0x303)](),_0x181cc4||this[_0x4592f6(0x1a1)]();}));}[_0x1f47c0(0x2ef)](){var _0x10e26e=_0x1f47c0;super[_0x10e26e(0x2ef)](),this['_clearRetryConnectingTimer'](),this[_0x10e26e(0x42b)](),this[_0x10e26e(0x2f7)](),this[_0x10e26e(0x2aa)][_0x10e26e(0x300)](_0x542a34=>_0x542a34[_0x10e26e(0x2ef)]()),this[_0x10e26e(0x2aa)][_0x10e26e(0x15a)](),this[_0x10e26e(0x36a)][_0x10e26e(0x3f3)]();}async['requireSession'](_0x391a81){var _0x298bb0=_0x1f47c0;if(this['_sessions'][_0x298bb0(0x3f8)](_0x391a81))return this[_0x298bb0(0x2aa)][_0x298bb0(0x15f)](_0x391a81);this[_0x298bb0(0x160)]();const _0x348a3e=this['_injector']['createInstance'](exports['CollaborationSession'],_0x391a81,this[_0x298bb0(0x24c)]['asObservable']());return this[_0x298bb0(0x2aa)][_0x298bb0(0x41b)](_0x391a81,_0x348a3e),_0x348a3e;}[_0x1f47c0(0x1bf)](_0x1da601){var _0x12473a=_0x1f47c0,_0x39d2c8;const _0xf838f3=this[_0x12473a(0x2aa)][_0x12473a(0x15f)](_0x1da601);_0xf838f3&&(this[_0x12473a(0x2aa)][_0x12473a(0x164)](_0x1da601),_0xf838f3['close']()),this[_0x12473a(0x2aa)]['size']||(_0x39d2c8=this[_0x12473a(0x456)])==null||_0x39d2c8[_0x12473a(0x28d)]();}[_0x1f47c0(0x303)](){var _0x584e56=_0x1f47c0;this[_0x584e56(0x111)]=0x0,this[_0x584e56(0x314)](),this['_tryReconnect']();}[_0x1f47c0(0x314)](){var _0x401cc0=_0x1f47c0;this[_0x401cc0(0x20a)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x401cc0(0x20a)]=null);}async[_0x1f47c0(0x355)](){var _0x3ccffb=_0x1f47c0,_0x3b28a2,_0x43067f;const _0xe5bb09=this['_configService'][_0x3ccffb(0x37b)](St),_0xf40613=this[_0x3ccffb(0x295)]['getConfig'](Y),_0x1cf11b=(_0x43067f=(_0x3b28a2=_0xf40613==null?void 0x0:_0xf40613[_0x3ccffb(0x2f5)])!=null?_0x3b28a2:_0xe5bb09)!=null?_0x43067f:ft,_0x4a5ac3=await this['_socketService']['createSocket'](_0x1cf11b);return this[_0x3ccffb(0x2d8)]=_0x4a5ac3,_0x4a5ac3;}async[_0x1f47c0(0x160)](){var _0x30fb40=_0x1f47c0,_0x1b3db9,_0xadf8fb;try{const _0x58acb5=(_0xadf8fb=(_0x1b3db9=this[_0x30fb40(0x456)])!=null?_0x1b3db9:this[_0x30fb40(0x2d8)])!=null?_0xadf8fb:await this[_0x30fb40(0x355)]();if(_0x58acb5){const _0x4986b9=_0x58acb5[_0x30fb40(0x42c)];_0x58acb5[_0x30fb40(0x42c)]=_0x17babb=>(this['_rescheduleHeartbeat'](),_0x4986b9['apply'](_0x58acb5,[_0x17babb])),_0x58acb5[_0x30fb40(0x34b)][_0x30fb40(0x305)](_0x17a7b4=>this[_0x30fb40(0x406)](_0x58acb5,_0x17a7b4)),_0x58acb5[_0x30fb40(0x3f0)][_0x30fb40(0x40e)](W[_0x30fb40(0x19c)](0x1))[_0x30fb40(0x305)](_0x22d982=>this[_0x30fb40(0x325)][_0x30fb40(0x13e)](_0x30fb40(0x284),_0x22d982)),_0x58acb5[_0x30fb40(0x14f)][_0x30fb40(0x40e)](W['take'](0x1))[_0x30fb40(0x305)](()=>{var _0x233054=_0x30fb40;this[_0x233054(0x13c)](_0x58acb5);}),_0x58acb5['close$'][_0x30fb40(0x40e)](W[_0x30fb40(0x19c)](0x1))['subscribe'](_0x230d33=>{var _0x2447f2=_0x30fb40;this[_0x2447f2(0x325)]['debug'](_0x2447f2(0xe9),_0x2447f2(0x39a),_0x230d33),this[_0x2447f2(0x2e4)]();});}}catch(_0x1bd991){this[_0x30fb40(0x325)][_0x30fb40(0x13e)](_0x1bd991),this[_0x30fb40(0x2e4)]();}}[_0x1f47c0(0x13c)](_0x11272d){var _0x18cf7f=_0x1f47c0;this['_logService'][_0x18cf7f(0x443)](_0x18cf7f(0xe9),_0x18cf7f(0x426)),_0x11272d[_0x18cf7f(0x42c)]({'cmd':G[_0x18cf7f(0x2f8)]}),this[_0x18cf7f(0xee)]();}[_0x1f47c0(0x1a1)](){var _0x5d4532=_0x1f47c0;this[_0x5d4532(0x356)]=!0x1,this[_0x5d4532(0x2d8)]=null,this[_0x5d4532(0x36a)][_0x5d4532(0x166)](se[_0x5d4532(0x255)]),this['_socket$'][_0x5d4532(0x166)](null),this[_0x5d4532(0x42b)](),this[_0x5d4532(0x2f7)]();}[_0x1f47c0(0x2e4)](){var _0x153257=_0x1f47c0,_0x2c5e71;this[_0x153257(0x1a1)](),this[_0x153257(0x111)]<((_0x2c5e71=this['_configService'][_0x153257(0x37b)](mt))!=null?_0x2c5e71:Wt)?(this['_collaborationUIEventService'][_0x153257(0x10c)]({'id':Q[_0x153257(0x3cb)]}),this[_0x153257(0x3f7)]()):this[_0x153257(0x16a)][_0x153257(0x10c)]({'id':Q[_0x153257(0x154)]});}[_0x1f47c0(0x3f7)](){var _0x4d0bae=_0x1f47c0,_0x588600;const _0x5e43a0=this[_0x4d0bae(0x111)],_0x48c0c4=this[_0x4d0bae(0x295)][_0x4d0bae(0x37b)](Y),_0x4e1a8d=_0x5e43a0===0x0?0x0:((_0x588600=_0x48c0c4==null?void 0x0:_0x48c0c4[_0x4d0bae(0x3dc)])!=null?_0x588600:Ft)*0x2**_0x5e43a0;this[_0x4d0bae(0x20a)]=setTimeout(()=>{var _0x20c964=_0x4d0bae;clearTimeout(this[_0x20c964(0x20a)]),this[_0x20c964(0x20a)]=null,this['_tryEnsureSocket']();},_0x4e1a8d),this[_0x4d0bae(0x111)]+=0x1;}['_onMessage'](_0x47b1b4,_0x5e1810){var _0x32860b=_0x1f47c0;const {cmd:_0x4411d2}=_0x5e1810;_0x4411d2===G[_0x32860b(0x2f8)]&&!this[_0x32860b(0x356)]&&(_0x47b1b4[_0x32860b(0x297)]=_0x5e1810[_0x32860b(0x10a)][_0x32860b(0x297)],this[_0x32860b(0x24c)]['next'](_0x47b1b4),this[_0x32860b(0x36a)][_0x32860b(0x166)](se[_0x32860b(0x16e)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x4411d2===G[_0x32860b(0x228)]&&this[_0x32860b(0x42b)](),this[_0x32860b(0xee)]();}[_0x1f47c0(0xee)](){var _0x127181=_0x1f47c0,_0x271586;this[_0x127181(0x2f7)](),this[_0x127181(0x1cf)]=setTimeout(()=>this[_0x127181(0x35b)](),(_0x271586=this['_configService']['getConfig'](pt))!=null?_0x271586:Bt);}[_0x1f47c0(0x35b)](){var _0x23612f=_0x1f47c0;this[_0x23612f(0x456)]['send']({'cmd':G['HEARTBEAT']}),this[_0x23612f(0x3e1)]();}[_0x1f47c0(0x3e1)](){var _0x157518=_0x1f47c0,_0x663ac7;this[_0x157518(0x26e)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x663ac7=this[_0x157518(0x295)][_0x157518(0x37b)](je))!=null?_0x663ac7:gt);}[_0x1f47c0(0x2f7)](){var _0x5bdb5b=_0x1f47c0;this[_0x5bdb5b(0x1cf)]!=null&&(clearTimeout(this[_0x5bdb5b(0x1cf)]),this[_0x5bdb5b(0x1cf)]=null);}[_0x1f47c0(0x42b)](){var _0x32b516=_0x1f47c0;this[_0x32b516(0x26e)]!=null&&(clearTimeout(this[_0x32b516(0x26e)]),this[_0x32b516(0x26e)]=null);}},exports[_0x1f47c0(0x2b5)]=ci([le(0x0,a['Inject'](a[_0x1f47c0(0x21e)])),le(0x1,a['ILogService']),le(0x2,a[_0x1f47c0(0x26a)]),le(0x3,$e),le(0x4,a[_0x1f47c0(0x273)](te)),le(0x5,a[_0x1f47c0(0x18f)](bt))],exports[_0x1f47c0(0x2b5)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1f47c0(0x1b6)]((n+0x100)['toString'](0x10)[_0x1f47c0(0x193)](0x1));function hi(_0x4d2eb2,_0x1ad989=0x0){var _0x5434c8=_0x1f47c0;return(V[_0x4d2eb2[_0x1ad989+0x0]]+V[_0x4d2eb2[_0x1ad989+0x1]]+V[_0x4d2eb2[_0x1ad989+0x2]]+V[_0x4d2eb2[_0x1ad989+0x3]]+'-'+V[_0x4d2eb2[_0x1ad989+0x4]]+V[_0x4d2eb2[_0x1ad989+0x5]]+'-'+V[_0x4d2eb2[_0x1ad989+0x6]]+V[_0x4d2eb2[_0x1ad989+0x7]]+'-'+V[_0x4d2eb2[_0x1ad989+0x8]]+V[_0x4d2eb2[_0x1ad989+0x9]]+'-'+V[_0x4d2eb2[_0x1ad989+0xa]]+V[_0x4d2eb2[_0x1ad989+0xb]]+V[_0x4d2eb2[_0x1ad989+0xc]]+V[_0x4d2eb2[_0x1ad989+0xd]]+V[_0x4d2eb2[_0x1ad989+0xe]]+V[_0x4d2eb2[_0x1ad989+0xf]])[_0x5434c8(0xf2)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x240eee=_0x1f47c0;if(!Ue){if(typeof crypto>'u'||!crypto[_0x240eee(0x3b0)])throw new Error(_0x240eee(0x339));Ue=crypto[_0x240eee(0x3b0)]['bind'](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x1f47c0(0x1ff)]&&crypto[_0x1f47c0(0x1ff)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x5d8290,_0x1c40e8,_0xeb91d4){var _0x3f66ff=_0x1f47c0,_0x4fca7d,_0x18f504,_0x56c5a6;if(qe[_0x3f66ff(0x1ff)]&&!_0x5d8290)return qe[_0x3f66ff(0x1ff)]();_0x5d8290=_0x5d8290||{};const _0x3bce27=(_0x56c5a6=(_0x18f504=_0x5d8290[_0x3f66ff(0x321)])!=null?_0x18f504:(_0x4fca7d=_0x5d8290['rng'])==null?void 0x0:_0x4fca7d['call'](_0x5d8290))!=null?_0x56c5a6:_i();if(_0x3bce27[_0x3f66ff(0x43c)]<0x10)throw new Error(_0x3f66ff(0x395));return _0x3bce27[0x6]=_0x3bce27[0x6]&0xf|0x40,_0x3bce27[0x8]=_0x3bce27[0x8]&0x3f|0x80,hi(_0x3bce27);}const z=a[_0x1f47c0(0x1f0)](_0x1f47c0(0x186));function vi(_0x65185c){var _0x3f96cb=_0x1f47c0;return _0x3f96cb(0x3a0)+_0x65185c;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x53daf3,_0x4f8fb6,_0x30ab51,_0x3702f8)=>{var _0x54971d=_0x1f47c0;for(var _0x28caef=_0x3702f8>0x1?void 0x0:_0x3702f8?Si(_0x4f8fb6,_0x30ab51):_0x4f8fb6,_0x1d9127=_0x53daf3[_0x54971d(0x43c)]-0x1,_0x41a138;_0x1d9127>=0x0;_0x1d9127--)(_0x41a138=_0x53daf3[_0x1d9127])&&(_0x28caef=_0x41a138(_0x28caef)||_0x28caef);return _0x28caef;},Pe=(_0x2531e2,_0x24f3b4)=>(_0x2cf67c,_0x399ddf)=>_0x24f3b4(_0x2cf67c,_0x399ddf,_0x2531e2);function pi(_0xf5c288){const {unitID:_0x43f2fd,mutations:_0x3a198b}=_0xf5c288;return{'unitId':_0x43f2fd,'subUnitId':_0x3a198b[0x0]['params']['subUnitId']};}exports[_0x1f47c0(0x359)]=class{constructor(_0x517129,_0x213dee,_0x12bd4b){var _0x3d8633=_0x1f47c0;this['_injector']=_0x517129,this['_transformService']=_0x213dee,this[_0x3d8633(0x29b)]=_0x12bd4b;}['transformSelections'](_0x49af02){var _0xb9db87=_0x1f47c0,_0xd6239e,_0x2444b9,_0x551538,_0x4378b3;const _0x594868=this['_injector'][_0xb9db87(0x15f)](Z[_0xb9db87(0x3d3)]),{unitId:_0x107383,subUnitId:_0x384bb6}=pi(_0x49af02),_0x53e016=_0x594868==null?void 0x0:_0x594868['getWorkbookSelections'](_0x107383)[_0xb9db87(0x199)](),_0x45b5b7=(_0x2444b9=(_0xd6239e=this['_instanceService'][_0xb9db87(0x298)](_0x107383))==null?void 0x0:_0xd6239e[_0xb9db87(0x429)]())==null?void 0x0:_0x2444b9[_0xb9db87(0x302)]();if(_0x53e016[_0xb9db87(0x43c)]===0x0||!_0x107383||!_0x384bb6)return;const _0x118e08=[{'id':Z[_0xb9db87(0x1b0)]['id'],'params':{'unitId':_0x107383,'subUnitId':_0x45b5b7,'selections':a['Tools']['deepClone'](_0x53e016)}}],_0x53dccf=this['_transformService'][_0xb9db87(0x103)](_0x49af02,_0x118e08);if(!g[_0xb9db87(0x40c)](_0x53dccf))throw _0x53dccf[_0xb9db87(0x13e)];const _0x66c49c=(_0x4378b3=(_0x551538=_0x53dccf[_0xb9db87(0x1a7)][0x0])==null?void 0x0:_0x551538[_0xb9db87(0x414)])==null?void 0x0:_0x4378b3[_0xb9db87(0x2ea)];if(Array['isArray'](_0x66c49c)&&_0x66c49c[_0xb9db87(0x43c)]){if(_0x66c49c[_0xb9db87(0x43c)]===_0x118e08[0x0]['params']['selections'][_0xb9db87(0x43c)]&&_0x66c49c[_0xb9db87(0x100)]((_0x3b201d,_0x35f744)=>a[_0xb9db87(0x3ad)][_0xb9db87(0x22f)](_0x3b201d['range'],_0x118e08[0x0][_0xb9db87(0x414)][_0xb9db87(0x2ea)][_0x35f744]['range'])))return;this[_0xb9db87(0x3ce)][_0xb9db87(0x15f)](a[_0xb9db87(0x35c)])[_0xb9db87(0x170)](Z[_0xb9db87(0x1b0)]['id'],{'unitId':_0x107383,'subUnitId':_0x45b5b7,'selections':_0x66c49c});}}},exports['SheetTransformSelectionsService']=fi([Pe(0x0,a['Inject'](a[_0x1f47c0(0x21e)])),Pe(0x1,g[_0x1f47c0(0x424)]),Pe(0x2,a[_0x1f47c0(0x3c1)])],exports[_0x1f47c0(0x359)]);const ve=a[_0x1f47c0(0x1f0)](_0x1f47c0(0x1c4));var Fe=(_0x27e142=>(_0x27e142[_0x27e142['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x27e142[_0x27e142['OTHER_CLIENTS_EDITING']=0x1]=_0x1f47c0(0x139),_0x27e142))(Fe||{});const gi=new Set([Z[_0x1f47c0(0x1e0)]['id']]);function ze(_0x12d2ae,_0x1f9020,_0x46cc39,_0x3a2526,_0x1b5ef9){var _0x8b8b6c=_0x1f47c0,_0x148249,_0x56ec3b,_0x3feea6,_0x7cd964;const _0x11a275=[];for(const _0x5f3d48 of _0x12d2ae)if(gi[_0x8b8b6c(0x3f8)](_0x5f3d48['id'])){if(_0x11a275[_0x8b8b6c(0x43c)]>0x0)break;_0x11a275['push'](_0x5f3d48);break;}else _0x11a275[_0x8b8b6c(0x1b6)](_0x5f3d48);const _0x3b373c=(_0x56ec3b=(_0x148249=_0x1b5ef9['getCurrentUser']())==null?void 0x0:_0x148249['userID'])!=null?_0x56ec3b:_0x8b8b6c(0x251),_0x150af0=(_0x7cd964=(_0x3feea6=_0x1b5ef9[_0x8b8b6c(0x3b1)]())==null?void 0x0:_0x3feea6[_0x8b8b6c(0x297)])!=null?_0x7cd964:'unknown';return{'changeset':{'unitID':_0x1f9020,'type':g[_0x8b8b6c(0x3d4)](_0x46cc39['getUnitType'](_0x1f9020)),'baseRev':_0x3a2526[_0x8b8b6c(0x211)](_0x1f9020),'revision':0x0,'userID':_0x3b373c,'memberID':_0x150af0,'mutations':_0x11a275},'pendingMutations':_0x12d2ae[_0x8b8b6c(0x193)](_0x11a275['length'])};}function mi(_0x31a648,_0x4f7687,_0x531da1,_0xef1b32,_0x57cd13){var _0x30ac17=_0x1f47c0,_0x49d87f,_0x43c847,_0x12d3ec,_0x591f66;const _0x2e0a5f=[_0x31a648[_0x30ac17(0x3af)]((_0x46b7eb,_0x91abd)=>{var _0x3ef3a3=_0x30ac17,_0x39a703;const {id:_0x27fe77}=_0x46b7eb,{id:_0x4f047,type:_0x4d942e}=_0x91abd,_0xffa4d0=(_0x39a703=_0x46b7eb[_0x3ef3a3(0x414)])!=null?_0x39a703:{'actions':null},_0x12fdd6=_0x91abd['params'];if(_0x27fe77&&_0x27fe77!==_0x4f047)throw new Error(_0x3ef3a3(0x37a)+_0x27fe77+'\x20-\x20'+_0x4f047+'.');return{..._0x46b7eb,'id':_0x4f047,'type':_0x4d942e,'params':{'unitId':_0x12fdd6['unitId'],'textRanges':_0x12fdd6[_0x3ef3a3(0x39f)],'actions':a[_0x3ef3a3(0x162)]['compose'](_0xffa4d0[_0x3ef3a3(0x2b2)],_0x12fdd6['actions'])}};},{})],_0xd6669=(_0x43c847=(_0x49d87f=_0x57cd13[_0x30ac17(0x3b1)]())==null?void 0x0:_0x49d87f['userID'])!=null?_0x43c847:'unknown',_0xc7a360=(_0x591f66=(_0x12d3ec=_0x57cd13[_0x30ac17(0x3b1)]())==null?void 0x0:_0x12d3ec[_0x30ac17(0x297)])!=null?_0x591f66:'unknown';return{'changeset':{'unitID':_0x4f7687,'type':g[_0x30ac17(0x3d4)](_0x531da1[_0x30ac17(0x20c)](_0x4f7687)),'baseRev':_0xef1b32[_0x30ac17(0x211)](_0x4f7687),'revision':0x0,'userID':_0xd6669,'memberID':_0xc7a360,'mutations':_0x2e0a5f},'pendingMutations':[]};}function Ot(_0x2fe4c1,_0x22fddf){var _0x5618d6=_0x1f47c0;const _0xb4980b=new j[(_0x5618d6(0x2c5))](0x1);return setTimeout(()=>_0xb4980b[_0x5618d6(0x166)](_0x22fddf),_0x2fe4c1),_0xb4980b[_0x5618d6(0x258)]()[_0x5618d6(0x40e)](j[_0x5618d6(0x19c)](0x1));}const Ii={'id':Z[_0x1f47c0(0x2d0)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Ei=Object[_0x1f47c0(0x269)],ce=(_0x1f6c88,_0x250459,_0x5d5cda,_0x46043b)=>{var _0x41ff96=_0x1f47c0;for(var _0x418f25=_0x46043b>0x1?void 0x0:_0x46043b?Ei(_0x250459,_0x5d5cda):_0x250459,_0x3f4c8c=_0x1f6c88[_0x41ff96(0x43c)]-0x1,_0x17cd48;_0x3f4c8c>=0x0;_0x3f4c8c--)(_0x17cd48=_0x1f6c88[_0x3f4c8c])&&(_0x418f25=_0x17cd48(_0x418f25)||_0x418f25);return _0x418f25;},w=(_0x517463,_0x39b330)=>(_0x27cc5f,_0x35b26f)=>_0x39b330(_0x27cc5f,_0x35b26f,_0x517463),We=(_0x53a74f=>(_0x53a74f[_0x1f47c0(0x38f)]=_0x1f47c0(0x358),_0x53a74f[_0x1f47c0(0xe5)]=_0x1f47c0(0x29a),_0x53a74f['PENDING']=_0x1f47c0(0x37d),_0x53a74f[_0x1f47c0(0x378)]='awaiting',_0x53a74f[_0x1f47c0(0x23e)]=_0x1f47c0(0x143),_0x53a74f[_0x1f47c0(0xed)]=_0x1f47c0(0x25b),_0x53a74f[_0x1f47c0(0x105)]='conflict',_0x53a74f[_0x1f47c0(0x255)]=_0x1f47c0(0xf1),_0x53a74f))(We||{});const Nt=0xea60;class he{constructor(_0x1b25c5,_0x29fba9,_0x324d0b,_0x4e2647,_0x36d0d9,_0x49782e,_0x1d2f2e,_0x31e3e0,_0x56e264){var _0x565cc9=_0x1f47c0;P(this,_0x565cc9(0x26d),null),P(this,_0x565cc9(0x36f),[]),(this[_0x565cc9(0x1ea)]=_0x1b25c5,this[_0x565cc9(0x41a)]=_0x29fba9,this[_0x565cc9(0x10b)]=_0x36d0d9,this[_0x565cc9(0x31f)]=_0x49782e,this[_0x565cc9(0x157)]=_0x1d2f2e,this[_0x565cc9(0x17f)]=_0x31e3e0,this[_0x565cc9(0x38a)]=_0x56e264,this[_0x565cc9(0x26d)]=_0x324d0b,this[_0x565cc9(0x36f)]=_0x4e2647);}[_0x1f47c0(0x425)](_0x355a42){var _0x5b4586=_0x1f47c0;const _0x2c2670=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b4586(0x1ea)]);return _0x355a42[_0x5b4586(0x2bc)]>_0x2c2670+0x1?(this[_0x5b4586(0x10b)][_0x5b4586(0x29c)]({'from':_0x2c2670,'to':_0x355a42[_0x5b4586(0x2bc)]-0x1}),!0x0):!0x1;}[_0x1f47c0(0x402)](_0x349e2c){var _0x3e2fcb=_0x1f47c0;this[_0x3e2fcb(0x157)][_0x3e2fcb(0x257)](this['unitID'],_0x349e2c);}[_0x1f47c0(0x260)](_0x169885){var _0x36b24e=_0x1f47c0,_0x42f01c,_0x49cfd5;(_0x49cfd5=(_0x42f01c=this[_0x36b24e(0x10b)])['onTransformSelections'])==null||_0x49cfd5[_0x36b24e(0x24d)](_0x42f01c,_0x169885);}['_transformIMECache'](_0x1e0f07){var _0x352706=_0x1f47c0,_0x556e41,_0x31ed9f;return(_0x31ed9f=(_0x556e41=this[_0x352706(0x10b)])[_0x352706(0x27d)])==null?void 0x0:_0x31ed9f[_0x352706(0x24d)](_0x556e41,_0x1e0f07);}[_0x1f47c0(0x391)](_0x5cd256){var _0xfcf7f5=_0x1f47c0,_0x4691b9,_0x56f8ef;return(_0x56f8ef=(_0x4691b9=this[_0xfcf7f5(0x10b)])[_0xfcf7f5(0x2c6)])==null?void 0x0:_0x56f8ef[_0xfcf7f5(0x24d)](_0x4691b9,_0x5cd256);}[_0x1f47c0(0x39e)](_0xca7a61){var _0x542c93=_0x1f47c0,_0x42f2aa,_0x19426f,_0x28de95;return(_0x28de95=(_0x19426f=(_0x42f2aa=this[_0x542c93(0x10b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x19426f[_0x542c93(0x24d)](_0x42f2aa,_0xca7a61))!=null?_0x28de95:_0xca7a61;}[_0x1f47c0(0x248)](_0x390dcb){var _0x4273de=_0x1f47c0,_0x491ee1,_0x4f53e6,_0x2aa15d;return(_0x2aa15d=(_0x4f53e6=(_0x491ee1=this[_0x4273de(0x10b)])[_0x4273de(0x262)])==null?void 0x0:_0x4f53e6[_0x4273de(0x24d)](_0x491ee1,_0x390dcb))!=null?_0x2aa15d:_0x390dcb;}[_0x1f47c0(0x31a)](_0x470717){var _0x27f5b0=_0x1f47c0,_0x10d402,_0x228150;if(this[_0x27f5b0(0x41a)]===X[_0x27f5b0(0x1ac)]){const {unitID:_0x1f81ff,mutations:_0x1eb250,memberID:_0x3ff913}=_0x470717,_0x67a8c9=_0x1eb250[0x0]['params'][_0x27f5b0(0x39f)];Array[_0x27f5b0(0x3a7)](_0x67a8c9)&&_0x67a8c9[_0x27f5b0(0x43c)]>0x0&&((_0x228150=(_0x10d402=this[_0x27f5b0(0x10b)])['onSyncEditingCollabCursor'])==null||_0x228150[_0x27f5b0(0x24d)](_0x10d402,{'unitID':_0x1f81ff,'memberID':_0x3ff913,'textRanges':_0x67a8c9}));}}[_0x1f47c0(0x1fb)](){var _0x165e42=_0x1f47c0,_0x1a14dd;(_0x1a14dd=this['_localCacheService'])==null||_0x1a14dd['updateOfflineData'](this[_0x165e42(0x1ea)],this[_0x165e42(0x41a)],this['_awaitingChangeset'],this[_0x165e42(0x36f)]);}['_getCurrentRevision'](){var _0x5b8ca7=_0x1f47c0;return this[_0x5b8ca7(0x17f)][_0x5b8ca7(0x211)](this[_0x5b8ca7(0x1ea)]);}[_0x1f47c0(0x313)](){var _0x5765c1=_0x1f47c0;this[_0x5765c1(0x17f)]['incrementRevOfUnit'](this[_0x5765c1(0x1ea)]);}[_0x1f47c0(0x230)](_0x3c42c0){var _0x16bd63=_0x1f47c0,_0x81481c;let _0x429e2d=this['_transformRemoteChangesetByIMECache'](_0x3c42c0);_0x429e2d=this[_0x16bd63(0x248)](_0x429e2d);const _0x7e6c64=a['sequenceExecute'](_0x429e2d['mutations'],this[_0x16bd63(0x31f)],{'fromCollab':!0x0});if(!_0x7e6c64[_0x16bd63(0x1f4)])throw _0x7e6c64[_0x16bd63(0x13e)]instanceof Error?_0x7e6c64[_0x16bd63(0x13e)]:new Error((_0x81481c=_0x7e6c64[_0x16bd63(0x13e)])!=null?_0x81481c:'[CollaborationState]:\x20apply\x20error!');this[_0x16bd63(0x431)](_0x429e2d),this[_0x16bd63(0x391)](_0x429e2d),this[_0x16bd63(0x402)](_0x3c42c0),this[_0x16bd63(0x260)](_0x429e2d),this[_0x16bd63(0x31a)](_0x429e2d),this[_0x16bd63(0x313)]();}}exports['SyncedState']=class extends he{constructor(_0x17f1c8,_0xe10271,_0x25f3b1,_0x40d523,_0x4fa968,_0x14b760,_0x4cdba4,_0x36fe98,_0x3d2a13,_0x154da2){var _0x3caba6=_0x1f47c0;super(_0x17f1c8,_0xe10271,null,[],_0x25f3b1,_0x4cdba4,_0x14b760,_0x40d523,_0x154da2),P(this,_0x3caba6(0x451),_0x3caba6(0x29a)),(this['_injector']=_0x4fa968,this[_0x3caba6(0x325)]=_0x36fe98,this[_0x3caba6(0x299)]=_0x3d2a13,this[_0x3caba6(0x212)]=_0x154da2);}['appendMutation'](_0x4a5a74){var _0xed1eb8=_0x1f47c0;const _0x5f082d=this['_injector'][_0xed1eb8(0x145)](exports['PendingState'],this['unitID'],this[_0xed1eb8(0x41a)],[_0x4a5a74],this[_0xed1eb8(0x10b)]);return _0x5f082d[_0xed1eb8(0x2d6)](),_0x5f082d[_0xed1eb8(0x1fb)](),_0x5f082d;}[_0x1f47c0(0x304)](_0x4ef646){var _0x8abb36=_0x1f47c0;if(this[_0x8abb36(0x425)](_0x4ef646))return this[_0x8abb36(0x3ce)][_0x8abb36(0x145)](exports['FetchingMissState'],this[_0x8abb36(0x1ea)],this[_0x8abb36(0x41a)],null,[],null,[_0x4ef646],this[_0x8abb36(0x10b)]);try{const _0x2ccb80=this[_0x8abb36(0x299)][_0x8abb36(0x103)](_0x4ef646,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x2ccb80)){const {c1Prime:_0x382737}=_0x2ccb80;return this[_0x8abb36(0x230)](_0x382737),this;}throw _0x2ccb80[_0x8abb36(0x13e)];}catch(_0x55c16f){return this[_0x8abb36(0x325)][_0x8abb36(0x13e)](_0x55c16f),this[_0x8abb36(0x3cf)](!0x1);}}[_0x1f47c0(0x3cf)](_0x5bd851){var _0x5cefde=_0x1f47c0;return this[_0x5cefde(0x3ce)][_0x5cefde(0x145)](exports[_0x5cefde(0x17d)],this[_0x5cefde(0x1ea)],this[_0x5cefde(0x41a)],null,[],this[_0x5cefde(0x10b)],_0x5bd851);}[_0x1f47c0(0x22b)](){var _0x2e788e=_0x1f47c0;throw new Error(_0x2e788e(0x208));}[_0x1f47c0(0x452)](){var _0x14f538=_0x1f47c0;throw new Error(_0x14f538(0x388));}[_0x1f47c0(0x180)](){return this;}['toggleOffline'](){var _0xbc9972=_0x1f47c0;return this['_injector'][_0xbc9972(0x145)](exports[_0xbc9972(0x42f)],this[_0xbc9972(0x1ea)],this['type'],null,[],this[_0xbc9972(0x10b)]);}[_0x1f47c0(0x1ba)](){return this;}['resend'](){var _0xd49dd3=_0x1f47c0;throw new Error(_0xd49dd3(0x372));}['fetchMiss'](){var _0x2fd690=_0x1f47c0;const _0x5ab2f=this[_0x2fd690(0x17f)][_0x2fd690(0x211)](this[_0x2fd690(0x1ea)]);return this[_0x2fd690(0x10b)]['onMissingChangesets']({'from':_0x5ab2f,'to':0x0}),this['_injector'][_0x2fd690(0x145)](exports[_0x2fd690(0x1af)],this[_0x2fd690(0x1ea)],this[_0x2fd690(0x41a)],null,[],null,[],this[_0x2fd690(0x10b)]);}},exports[_0x1f47c0(0x2e5)]=ce([w(0x3,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x149)])),w(0x4,a['Inject'](a[_0x1f47c0(0x21e)])),w(0x5,a[_0x1f47c0(0x13a)]),w(0x6,a[_0x1f47c0(0x35c)]),w(0x7,a[_0x1f47c0(0x380)]),w(0x8,g[_0x1f47c0(0x424)]),w(0x9,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x2e5)]),exports['PendingState']=class extends he{constructor(_0x4ea15c,_0x23cc14,_0x43a5fb,_0x13301e,_0x534d9f,_0x303ca3,_0xf2d8ff,_0x7fff56,_0x3dc21e,_0x4f83a8,_0x50e5f4,_0x460270,_0x4b1c16,_0x40e491){var _0x4ef995=_0x1f47c0;super(_0x4ea15c,_0x23cc14,null,_0x43a5fb,_0x13301e,_0x3dc21e,_0x4b1c16,_0x303ca3,_0x40e491),P(this,_0x4ef995(0x451),'pending'),P(this,_0x4ef995(0x3c0),null),P(this,_0x4ef995(0x39b),null),(this[_0x4ef995(0x3ce)]=_0x534d9f,this[_0x4ef995(0x109)]=_0xf2d8ff,this['_logService']=_0x7fff56,this[_0x4ef995(0x295)]=_0x4f83a8,this['_transformService']=_0x50e5f4,this['_univerInstanceService']=_0x460270);}[_0x1f47c0(0x3c3)](_0x426252){var _0x2c3016=_0x1f47c0;return this[_0x2c3016(0x36f)][_0x2c3016(0x1b6)](_0x426252),this[_0x2c3016(0x1fb)](),this;}[_0x1f47c0(0x304)](_0x52f445){var _0x597884=_0x1f47c0;if(this[_0x597884(0x425)](_0x52f445))return this[_0x597884(0x2e3)](),this[_0x597884(0x3ce)]['createInstance'](exports[_0x597884(0x1af)],this[_0x597884(0x1ea)],this['type'],null,this['_pendingMutations'],null,[_0x52f445],this[_0x597884(0x10b)]);try{const _0x14b3a0=this[_0x597884(0x299)][_0x597884(0x103)](_0x52f445,this[_0x597884(0x36f)]);if(g[_0x597884(0x40c)](_0x14b3a0)){const {c1Prime:_0x1f2dc2,m2Prime:_0x291c32}=_0x14b3a0;this[_0x597884(0x230)](_0x1f2dc2);const _0x306606=this['_injector'][_0x597884(0x145)](exports[_0x597884(0x184)],this['unitID'],this['type'],_0x291c32,this['_handler']);this[_0x597884(0x2e3)]();const _0x492fdd=new Date()[_0x597884(0x266)](),_0x1769c4=this[_0x597884(0x3c0)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x492fdd,0x0):this[_0x597884(0x1cd)]();return _0x306606[_0x597884(0x2d6)](_0x1769c4),_0x306606;}throw _0x14b3a0[_0x597884(0x13e)];}catch(_0x3d5140){return this[_0x597884(0x325)][_0x597884(0x13e)](_0x3d5140),this[_0x597884(0x3cf)](!0x1);}}[_0x1f47c0(0x22b)](){var _0x5d328f=_0x1f47c0;throw new Error(_0x5d328f(0x250));}[_0x1f47c0(0x452)](){var _0x121431=_0x1f47c0;throw new Error(_0x121431(0x1ca));}[_0x1f47c0(0x180)](){return this;}[_0x1f47c0(0x10d)](){var _0x10e55e=_0x1f47c0;return this[_0x10e55e(0x2e3)](),this[_0x10e55e(0x3ce)][_0x10e55e(0x145)](exports[_0x10e55e(0x42f)],this[_0x10e55e(0x1ea)],this[_0x10e55e(0x41a)],null,this[_0x10e55e(0x36f)],this[_0x10e55e(0x10b)]);}['toggleOnline'](){return this;}[_0x1f47c0(0x2d6)](_0x8adadb){var _0x23ef03=_0x1f47c0;const _0xf2ada4=_0x8adadb!=null?_0x8adadb:this[_0x23ef03(0x1cd)]();this[_0x23ef03(0x3c0)]=new Date()[_0x23ef03(0x266)]()+_0xf2ada4,this['_sendingTimer']=setTimeout(()=>{var _0x21a3f7=_0x23ef03;this[_0x21a3f7(0x2e3)]();let _0xfd3b74=null;switch(this[_0x21a3f7(0x41a)]){case X[_0x21a3f7(0x1fd)]:{_0xfd3b74=ze(this[_0x21a3f7(0x36f)],this['unitID'],this[_0x21a3f7(0x37e)],this[_0x21a3f7(0x17f)],this['_memberService']);break;}case X[_0x21a3f7(0x1ac)]:{this[_0x21a3f7(0x36f)]['every'](_0x1f5c80=>_0x1f5c80['id']===ut['RichTextEditingMutation']['id'])?_0xfd3b74=mi(this['_pendingMutations'],this[_0x21a3f7(0x1ea)],this[_0x21a3f7(0x37e)],this['_revisionService'],this[_0x21a3f7(0x109)]):_0xfd3b74=ze(this[_0x21a3f7(0x36f)],this['unitID'],this['_univerInstanceService'],this[_0x21a3f7(0x17f)],this[_0x21a3f7(0x109)]);break;}default:throw new Error(_0x21a3f7(0x3e0)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x17f9a4,pendingMutations:_0x567ffd}=_0xfd3b74;this['_handler'][_0x21a3f7(0x206)](_0x17f9a4);const _0x4adf63=_0x567ffd[_0x21a3f7(0x43c)]?this[_0x21a3f7(0x3ce)]['createInstance'](exports[_0x21a3f7(0x32e)],this[_0x21a3f7(0x1ea)],this['type'],_0x17f9a4,_0x567ffd,this['_handler'],void 0x0):this[_0x21a3f7(0x3ce)][_0x21a3f7(0x145)](exports[_0x21a3f7(0x261)],this[_0x21a3f7(0x1ea)],this[_0x21a3f7(0x41a)],_0x17f9a4,this['_handler']);_0x4adf63[_0x21a3f7(0x1fb)](),this[_0x21a3f7(0x10b)][_0x21a3f7(0x442)](this,_0x4adf63);},_0xf2ada4);}['_getSendChangesetTimeout'](){var _0x374aad=_0x1f47c0,_0x3668a2;const _0x32516a=this['_configService'][_0x374aad(0x37b)](Y);return(_0x3668a2=_0x32516a==null?void 0x0:_0x32516a['sendChangesetTimeout'])!=null?_0x3668a2:jt;}[_0x1f47c0(0x1ee)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f47c0(0x2e3)](){var _0x217e01=_0x1f47c0;this[_0x217e01(0x39b)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x217e01(0x39b)]=null);}['_onConflict'](_0x32f718){var _0x71cc38=_0x1f47c0;return this[_0x71cc38(0x2e3)](),this[_0x71cc38(0x3ce)][_0x71cc38(0x145)](exports['ConflictState'],this[_0x71cc38(0x1ea)],this['type'],null,this[_0x71cc38(0x36f)],this['_handler'],_0x32f718);}},exports[_0x1f47c0(0x184)]=ce([w(0x4,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),w(0x5,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x149)])),w(0x6,a['Inject'](exports[_0x1f47c0(0x127)])),w(0x7,a[_0x1f47c0(0x380)]),w(0x8,a['ICommandService']),w(0x9,a[_0x1f47c0(0x26a)]),w(0xa,g[_0x1f47c0(0x424)]),w(0xb,a[_0x1f47c0(0x3c1)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x184)]),exports[_0x1f47c0(0x261)]=class extends he{constructor(_0x1e9c8a,_0x50c4e0,_0x17a434,_0x2413f0,_0x3575c0,_0x5b741c,_0x269d79,_0x54d88d,_0x4f16a6,_0x550d95,_0x500c12){var _0x2c043b=_0x1f47c0;super(_0x1e9c8a,_0x50c4e0,_0x17a434,[],_0x2413f0,_0x269d79,_0x550d95,_0x5b741c,_0x500c12),P(this,_0x2c043b(0x451),_0x2c043b(0x13f)),P(this,_0x2c043b(0x19a),0x0),P(this,_0x2c043b(0x256)),P(this,_0x2c043b(0x445)),(this[_0x2c043b(0x3ce)]=_0x3575c0,this[_0x2c043b(0x325)]=_0x54d88d,this[_0x2c043b(0x299)]=_0x4f16a6);}[_0x1f47c0(0x3c3)](_0x1b25b9){var _0x4544c0=_0x1f47c0;this[_0x4544c0(0x2e3)]();const _0x5bff37=this[_0x4544c0(0x3ce)]['createInstance'](exports[_0x4544c0(0x32e)],this[_0x4544c0(0x1ea)],this['type'],this[_0x4544c0(0x26d)],[_0x1b25b9],this['_handler'],this[_0x4544c0(0x256)]);return _0x5bff37[_0x4544c0(0x1fb)](),_0x5bff37;}[_0x1f47c0(0x304)](_0x17d7c2){var _0x56d67d=_0x1f47c0;if(this[_0x56d67d(0x425)](_0x17d7c2))return this[_0x56d67d(0x2e3)](),this[_0x56d67d(0x3ce)][_0x56d67d(0x145)](exports[_0x56d67d(0x1af)],this['unitID'],this[_0x56d67d(0x41a)],this[_0x56d67d(0x26d)],[],null,[_0x17d7c2],this[_0x56d67d(0x10b)]);try{const _0x530c26=this['_transformService'][_0x56d67d(0x185)]([_0x17d7c2],[this[_0x56d67d(0x26d)]],!0x1);if(g[_0x56d67d(0x25c)](_0x530c26)){const {c1Prime:_0x26370a,c2Prime:_0x49bb53}=_0x530c26;this[_0x56d67d(0x230)](_0x26370a[0x0]),_0x49bb53[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5bf12e=this[_0x56d67d(0x3ce)][_0x56d67d(0x145)](exports[_0x56d67d(0x261)],this[_0x56d67d(0x1ea)],this[_0x56d67d(0x41a)],_0x49bb53[0x0],this['_handler']);return _0x5bf12e[_0x56d67d(0x1fb)](),_0x5bf12e;}return this[_0x56d67d(0x3cf)](!0x1);}catch(_0x27bf88){return this[_0x56d67d(0x325)][_0x56d67d(0x13e)](_0x27bf88),this['_onConflict'](!0x1);}}[_0x1f47c0(0x22b)](_0x20391d){var _0x49be25=_0x1f47c0;this[_0x49be25(0x2e3)]();const _0x5b5b96=this['_revisionService'][_0x49be25(0x211)](this[_0x49be25(0x1ea)]);if(_0x20391d[_0x49be25(0x2bc)]<_0x5b5b96-0x1)return this;if(this['_checkMissing'](_0x20391d))return this['_injector']['createInstance'](exports[_0x49be25(0x1af)],this[_0x49be25(0x1ea)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x49be25(0x313)]();const _0x426d59=this[_0x49be25(0x3ce)][_0x49be25(0x145)](exports['SyncedState'],this[_0x49be25(0x1ea)],this[_0x49be25(0x41a)],this[_0x49be25(0x10b)]);return _0x426d59[_0x49be25(0x1fb)](),_0x426d59;}[_0x1f47c0(0x452)](_0xde559e){var _0x4d7b0b=_0x1f47c0;return this[_0x4d7b0b(0x3cf)](!!(_0xde559e!=null&&_0xde559e[_0x4d7b0b(0x33f)]));}[_0x1f47c0(0x180)](_0x56e13b){var _0x2968cf=_0x1f47c0;return this[_0x2968cf(0x19a)]>Nt?this[_0x2968cf(0x10d)]():(this[_0x2968cf(0x256)]=Ot(this[_0x2968cf(0x19a)],{'timeout':this[_0x2968cf(0x19a)],'reqId':_0x56e13b[_0x2968cf(0x183)]}),this['_sender']=this[_0x2968cf(0x256)]['subscribe'](({reqId:_0x4685c0,timeout:_0x1d513e})=>{this['_resendWithTimeout'](_0x4685c0,_0x1d513e);}),this);}[_0x1f47c0(0x10d)](){var _0x36d1f7=_0x1f47c0;return this['_clearScheduledTask'](),this[_0x36d1f7(0x3ce)][_0x36d1f7(0x145)](exports[_0x36d1f7(0x42f)],this[_0x36d1f7(0x1ea)],this[_0x36d1f7(0x41a)],this[_0x36d1f7(0x26d)],[],this[_0x36d1f7(0x10b)]);}['toggleOnline'](){return this;}['resend'](){var _0x39852b=_0x1f47c0;this['_handler'][_0x39852b(0x206)](this[_0x39852b(0x26d)]);}[_0x1f47c0(0x3cf)](_0xb325b4){var _0x496828=_0x1f47c0;return this['_clearScheduledTask'](),this['_injector'][_0x496828(0x145)](exports[_0x496828(0x17d)],this[_0x496828(0x1ea)],this[_0x496828(0x41a)],this[_0x496828(0x26d)],[],this[_0x496828(0x10b)],_0xb325b4);}['_resendWithTimeout'](_0x58e4e0,_0xe8da70){var _0x2ccb3a=_0x1f47c0,_0x44defc;_0x58e4e0===((_0x44defc=this[_0x2ccb3a(0x26d)])==null?void 0x0:_0x44defc['reqId'])&&(this[_0x2ccb3a(0x1ee)](),this['_resendTimeout']=_0xe8da70===0x0?0x3e8:_0xe8da70*0x2);}['_clearScheduledTask'](){var _0x30fe15=_0x1f47c0,_0x1dfed4;(_0x1dfed4=this['_sender'])==null||_0x1dfed4['unsubscribe'](),this[_0x30fe15(0x19a)]=0x0;}},exports[_0x1f47c0(0x261)]=ce([w(0x4,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),w(0x5,a['Inject'](g[_0x1f47c0(0x149)])),w(0x6,a[_0x1f47c0(0x35c)]),w(0x7,a[_0x1f47c0(0x380)]),w(0x8,g[_0x1f47c0(0x424)]),w(0x9,a[_0x1f47c0(0x13a)]),w(0xa,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x261)]),exports[_0x1f47c0(0x32e)]=class extends he{constructor(_0x5beb25,_0x4ea671,_0x32107a,_0x3d1258,_0x1ed582,_0x25063a,_0x51524a,_0x424a16,_0x39fcc1,_0x12ebd8,_0x53c1a2,_0x1e042f,_0x296d52){var _0x4e925f=_0x1f47c0;super(_0x5beb25,_0x4ea671,_0x32107a,_0x3d1258,_0x1ed582,_0x39fcc1,_0x1e042f,_0x424a16,_0x296d52),P(this,_0x4e925f(0x451),_0x4e925f(0x143)),P(this,_0x4e925f(0x19a),0x0),P(this,_0x4e925f(0x256)),P(this,'_sender'),(this[_0x4e925f(0x3ce)]=_0x51524a,this[_0x4e925f(0x325)]=_0x12ebd8,this[_0x4e925f(0x299)]=_0x53c1a2,this[_0x4e925f(0x212)]=_0x296d52,_0x25063a&&(this[_0x4e925f(0x256)]=_0x25063a,this[_0x4e925f(0x445)]=this[_0x4e925f(0x256)]['subscribe'](({reqId:_0x332d86,timeout:_0xda9e70})=>{var _0x1384f5=_0x4e925f;this[_0x1384f5(0x290)](_0x332d86,_0xda9e70);})));}[_0x1f47c0(0x3c3)](_0x3e9cca){var _0x1826cd=_0x1f47c0;return this[_0x1826cd(0x36f)][_0x1826cd(0x1b6)](_0x3e9cca),this;}[_0x1f47c0(0x304)](_0x558f5f){var _0x5076cd=_0x1f47c0;if(this[_0x5076cd(0x425)](_0x558f5f))return this[_0x5076cd(0x2e3)](),this[_0x5076cd(0x3ce)][_0x5076cd(0x145)](exports['FetchingMissState'],this[_0x5076cd(0x1ea)],this[_0x5076cd(0x41a)],this[_0x5076cd(0x26d)],this['_pendingMutations'],null,[_0x558f5f],this['_handler']);try{const _0x563572=this[_0x5076cd(0x299)][_0x5076cd(0x185)]([_0x558f5f],[this[_0x5076cd(0x26d)]],!0x1);if(g[_0x5076cd(0x25c)](_0x563572)){const {c1Prime:_0x2ae23d,c2Prime:_0x368fe0}=_0x563572,_0x5be95f=this[_0x5076cd(0x299)][_0x5076cd(0x103)](_0x2ae23d[0x0],this[_0x5076cd(0x36f)]);if(g[_0x5076cd(0x40c)](_0x5be95f)){const {c1Prime:_0x1221ac,m2Prime:_0x14acef}=_0x5be95f;return this[_0x5076cd(0x230)](_0x1221ac),_0x368fe0[0x0][_0x5076cd(0x1d2)]=this['_getCurrentRevision'](),this[_0x5076cd(0x2e3)](),this['_injector'][_0x5076cd(0x145)](exports[_0x5076cd(0x32e)],this[_0x5076cd(0x1ea)],this[_0x5076cd(0x41a)],_0x368fe0[0x0],_0x14acef,this[_0x5076cd(0x10b)],void 0x0);}throw _0x5be95f[_0x5076cd(0x13e)];}throw _0x563572[_0x5076cd(0x13e)];}catch(_0x1146f6){return this[_0x5076cd(0x325)]['error'](_0x1146f6),this['_onConflict'](!0x1);}}[_0x1f47c0(0x22b)](_0x32d30f){var _0x5254a0=_0x1f47c0;if(this['_clearScheduledTask'](),this[_0x5254a0(0x425)](_0x32d30f))return this[_0x5254a0(0x3ce)][_0x5254a0(0x145)](exports[_0x5254a0(0x1af)],this[_0x5254a0(0x1ea)],this[_0x5254a0(0x41a)],null,this[_0x5254a0(0x36f)],this[_0x5254a0(0x26d)],[],this[_0x5254a0(0x10b)]);this[_0x5254a0(0x313)]();const _0x35d6bc=this[_0x5254a0(0x3ce)][_0x5254a0(0x145)](exports[_0x5254a0(0x184)],this[_0x5254a0(0x1ea)],this[_0x5254a0(0x41a)],this[_0x5254a0(0x36f)],this[_0x5254a0(0x10b)]);return _0x35d6bc[_0x5254a0(0x2d6)](),_0x35d6bc[_0x5254a0(0x1fb)](),_0x35d6bc;}[_0x1f47c0(0x452)](_0x472313){return this['_onConflict'](!!(_0x472313!=null&&_0x472313['isPermissionRej']));}['onRemoteRetry'](_0x5e6df2){var _0x5e8ec4=_0x1f47c0;return this[_0x5e8ec4(0x19a)]>Nt?this[_0x5e8ec4(0x10d)]():(this[_0x5e8ec4(0x256)]=Ot(this['_resendTimeout'],{'timeout':this[_0x5e8ec4(0x19a)],'reqId':_0x5e6df2[_0x5e8ec4(0x183)]}),this['_sender']=this[_0x5e8ec4(0x256)][_0x5e8ec4(0x305)](({reqId:_0x13e3ad,timeout:_0x20483b})=>{var _0x1baf8b=_0x5e8ec4;this[_0x1baf8b(0x290)](_0x13e3ad,_0x20483b);}),this);}[_0x1f47c0(0x10d)](){var _0xfe320=_0x1f47c0;return this[_0xfe320(0x2e3)](),this[_0xfe320(0x3ce)][_0xfe320(0x145)](exports[_0xfe320(0x42f)],this[_0xfe320(0x1ea)],this[_0xfe320(0x41a)],this[_0xfe320(0x26d)],this['_pendingMutations'],this[_0xfe320(0x10b)]);}['toggleOnline'](){return this;}[_0x1f47c0(0x1ee)](){var _0x313f03=_0x1f47c0;this[_0x313f03(0x10b)][_0x313f03(0x206)](this[_0x313f03(0x26d)]);}['_onConflict'](_0x5b31cc){var _0x31c007=_0x1f47c0;return this[_0x31c007(0x2e3)](),this[_0x31c007(0x3ce)][_0x31c007(0x145)](exports[_0x31c007(0x17d)],this[_0x31c007(0x1ea)],this[_0x31c007(0x41a)],null,this['_pendingMutations'],this[_0x31c007(0x10b)],_0x5b31cc);}['_resendWithTimeout'](_0x1ee921,_0x3b8e88){var _0x44fd31=_0x1f47c0,_0x278928;_0x1ee921===((_0x278928=this[_0x44fd31(0x26d)])==null?void 0x0:_0x278928['reqId'])&&(this[_0x44fd31(0x1ee)](),this[_0x44fd31(0x19a)]=_0x3b8e88===0x0?0x3e8:_0x3b8e88*0x2);}[_0x1f47c0(0x2e3)](){var _0x550080=_0x1f47c0,_0x5489fd;(_0x5489fd=this[_0x550080(0x445)])==null||_0x5489fd[_0x550080(0x444)](),this[_0x550080(0x19a)]=0x0;}},exports[_0x1f47c0(0x32e)]=ce([w(0x6,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),w(0x7,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x149)])),w(0x8,a[_0x1f47c0(0x35c)]),w(0x9,a[_0x1f47c0(0x380)]),w(0xa,g[_0x1f47c0(0x424)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x32e)]),exports['ConflictState']=class extends he{constructor(_0x19399f,_0x53d048,_0x1f6f05,_0x2eaf85,_0x528825,_0x5d6b8e=!0x1,_0x3d0c46,_0x419983,_0x3df42e,_0x1b3e78,_0x26b110,_0x2f8713,_0x360ed3){var _0x285613=_0x1f47c0;super(_0x19399f,_0x53d048,_0x1f6f05,_0x2eaf85,_0x528825,_0x419983,_0x3df42e,_0x1b3e78,_0x360ed3),P(this,_0x285613(0x451),'conflict'),(this[_0x285613(0x135)]=_0x5d6b8e,this[_0x285613(0x399)]=_0x3d0c46,this['_localeService']=_0x26b110,this[_0x285613(0x16a)]=_0x2f8713,this[_0x285613(0x212)]=_0x360ed3,this[_0x285613(0x449)](),this[_0x285613(0x3b2)](),this['_disableEditing']());}[_0x1f47c0(0x3c3)](){return this;}[_0x1f47c0(0x304)](){return this;}[_0x1f47c0(0x22b)](){return this;}[_0x1f47c0(0x452)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1f47c0(0x1ba)](){return this;}['resend'](){var _0x378cdd=_0x1f47c0;throw new Error(_0x378cdd(0x289));}[_0x1f47c0(0x3b2)](){var _0x12c5a8=_0x1f47c0,_0x947adb;(_0x947adb=this['_localCacheService'])==null||_0x947adb[_0x12c5a8(0x231)](this[_0x12c5a8(0x1ea)],this[_0x12c5a8(0x41a)],null,[]);}['_showConflictNotification'](){var _0x8ddf=_0x1f47c0;this[_0x8ddf(0x135)]?this[_0x8ddf(0x16a)][_0x8ddf(0x10c)]({'id':Q['PERMISSION_DENIED']}):this[_0x8ddf(0x16a)]['emitEvent']({'id':Q[_0x8ddf(0x105)]});}[_0x1f47c0(0x158)](){var _0x2e01f4=_0x1f47c0;this[_0x2e01f4(0x399)][_0x2e01f4(0x377)](new Z[(_0x2e01f4(0x362))](this[_0x2e01f4(0x1ea)])['id'],!0x1);}},exports[_0x1f47c0(0x17d)]=ce([w(0x6,a[_0x1f47c0(0x273)](a['IPermissionService'])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](g[_0x1f47c0(0x149)])),w(0xa,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x3ae)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x17d)]),exports[_0x1f47c0(0x42f)]=class extends he{constructor(_0x11ab21,_0x94bb28,_0x115f87,_0x270634,_0xa5d1f,_0x151abe,_0x10f0de,_0x184008,_0x327b3d,_0x3907a7){var _0x5e333a=_0x1f47c0;super(_0x11ab21,_0x94bb28,_0x115f87,_0x270634,_0xa5d1f,_0x184008,_0x327b3d,_0x10f0de,_0x3907a7),P(this,'status',_0x5e333a(0xf1)),this['_injector']=_0x151abe;}[_0x1f47c0(0x3c3)](_0xbbbc94){var _0x1570a4=_0x1f47c0;return this['_pendingMutations'][_0x1570a4(0x1b6)](_0xbbbc94),this[_0x1570a4(0x1fb)](),this;}[_0x1f47c0(0x304)](_0x2e289e){var _0x2c4f58=_0x1f47c0;throw new Error(_0x2c4f58(0x2eb));}[_0x1f47c0(0x22b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1f47c0(0x452)](){var _0x2bfee4=_0x1f47c0;throw new Error(_0x2bfee4(0x128));}[_0x1f47c0(0x180)](){return this;}[_0x1f47c0(0x10d)](){return this;}[_0x1f47c0(0x1ba)](){var _0x5bfe06=_0x1f47c0;const {_injector:_0x3c0d6b,_pendingMutations:_0x40e46e,_awaitingChangeset:_0x408d74,unitID:_0x3dca66,_handler:_0x4fa74e,type:_0x144481}=this,_0x81d41c=Dt(_0x3c0d6b,_0x3dca66,_0x144481,_0x408d74,_0x40e46e,_0x4fa74e);return _0x81d41c instanceof exports[_0x5bfe06(0x184)]?_0x81d41c[_0x5bfe06(0x2d6)]():(_0x81d41c instanceof exports[_0x5bfe06(0x32e)]||_0x81d41c instanceof exports[_0x5bfe06(0x261)])&&_0x81d41c['resend'](),_0x81d41c;}[_0x1f47c0(0x1ee)](){var _0x2a39ff=_0x1f47c0;throw new Error(_0x2a39ff(0x286));}},exports[_0x1f47c0(0x42f)]=ce([w(0x5,a['Inject'](a[_0x1f47c0(0x21e)])),w(0x6,a['Inject'](g[_0x1f47c0(0x149)])),w(0x7,a[_0x1f47c0(0x35c)]),w(0x8,a[_0x1f47c0(0x13a)]),w(0x9,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x42f)]),exports[_0x1f47c0(0x1af)]=class extends he{constructor(_0x3d85bb,_0x256d3a,_0x225d20,_0x3d21d3,_0x444549,_0x29947a,_0x252f99,_0x453be7,_0x3e2452,_0x5ae698,_0x4074d6,_0x163b7e,_0x11bc6e,_0x1e3867){var _0x4860d5=_0x1f47c0;super(_0x3d85bb,_0x256d3a,_0x225d20,_0x3d21d3,_0x252f99,_0x4074d6,_0x163b7e,_0x3e2452,_0x1e3867),P(this,_0x4860d5(0x451),_0x4860d5(0x25b)),(this['_acknowledgedAwaitingChangeset']=_0x444549,this[_0x4860d5(0x1cc)]=_0x29947a,this['_injector']=_0x453be7,this[_0x4860d5(0x325)]=_0x5ae698,this[_0x4860d5(0x299)]=_0x11bc6e,this[_0x4860d5(0x212)]=_0x1e3867);}['onMissedChangesetFetched'](_0x2d4dfd){var _0x1739ef=_0x1f47c0;try{const _0x4ef731=[..._0x2d4dfd,...this['_queuedRemoteChangesets']],_0x553dd8=[this[_0x1739ef(0x26d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1f3a24=>!!_0x1f3a24);let _0x4995fe,_0x42de06;if(_0x553dd8[_0x1739ef(0x43c)]){const _0x23b353=this['_transformService'][_0x1739ef(0x185)](_0x4ef731,_0x553dd8,!0x1);if(!g[_0x1739ef(0x25c)](_0x23b353))throw _0x23b353[_0x1739ef(0x13e)];_0x4995fe=_0x23b353['c1Prime'],_0x42de06=_0x23b353[_0x1739ef(0x384)];}else _0x4995fe=_0x4ef731,_0x42de06=[];let _0x8bb69b=this[_0x1739ef(0x36f)];_0x4995fe[_0x1739ef(0x300)](_0x4662b7=>{var _0x45e705=_0x1739ef;let _0x541d03;if(_0x8bb69b[_0x45e705(0x43c)]){const _0xf33ee1=this[_0x45e705(0x299)][_0x45e705(0x103)](_0x4662b7,_0x8bb69b);if(!g[_0x45e705(0x40c)](_0xf33ee1))throw _0xf33ee1[_0x45e705(0x13e)];_0x541d03=_0xf33ee1[_0x45e705(0x2ce)],_0x8bb69b=_0xf33ee1[_0x45e705(0x1a7)];}else _0x541d03=_0x4662b7;this[_0x45e705(0x230)](_0x541d03);}),this[_0x1739ef(0x34c)]&&this[_0x1739ef(0x313)](),this[_0x1739ef(0x26d)]&&_0x42de06[_0x1739ef(0x43c)]&&(_0x42de06[0x0][_0x1739ef(0x1d2)]=this['_getCurrentRevision']());let _0x4be8e2;if(this['_awaitingChangeset']&&_0x8bb69b[_0x1739ef(0x43c)]!==0x0)_0x4be8e2=this[_0x1739ef(0x3ce)][_0x1739ef(0x145)](exports[_0x1739ef(0x32e)],this['unitID'],this['type'],_0x42de06[0x0],_0x8bb69b,this['_handler'],void 0x0);else{if(this[_0x1739ef(0x26d)]&&_0x8bb69b['length']===0x0)_0x42de06[0x0][_0x1739ef(0x1d2)]=this[_0x1739ef(0x2c0)](),_0x4be8e2=this['_injector'][_0x1739ef(0x145)](exports[_0x1739ef(0x261)],this[_0x1739ef(0x1ea)],this['type'],_0x42de06[0x0],this[_0x1739ef(0x10b)]);else{if(_0x8bb69b['length']!==0x0){const _0x13bca9=this[_0x1739ef(0x3ce)][_0x1739ef(0x145)](exports[_0x1739ef(0x184)],this[_0x1739ef(0x1ea)],this[_0x1739ef(0x41a)],_0x8bb69b,this[_0x1739ef(0x10b)]);_0x13bca9[_0x1739ef(0x2d6)](),_0x4be8e2=_0x13bca9;}else _0x4be8e2=this[_0x1739ef(0x3ce)][_0x1739ef(0x145)](exports['SyncedState'],this[_0x1739ef(0x1ea)],this[_0x1739ef(0x41a)],this[_0x1739ef(0x10b)]);}}return _0x4be8e2[_0x1739ef(0x1fb)](),_0x4be8e2;}catch(_0x533213){return this['_logService']['error'](_0x1739ef(0x14a),'failed\x20to\x20apply\x20missed\x20changesets!',_0x533213),this[_0x1739ef(0x3ce)][_0x1739ef(0x145)](exports[_0x1739ef(0x17d)],this['unitID'],this[_0x1739ef(0x41a)],this[_0x1739ef(0x26d)],this[_0x1739ef(0x36f)],this[_0x1739ef(0x10b)],!0x1);}}[_0x1f47c0(0x1ee)](){var _0x40e51c=_0x1f47c0;throw new Error(_0x40e51c(0x2cd));}[_0x1f47c0(0x3c3)](_0x324f3b){var _0x56aa80=_0x1f47c0;return this['_pendingMutations'][_0x56aa80(0x1b6)](_0x324f3b),this;}[_0x1f47c0(0x304)](_0x2062ff){var _0x1ad8b1=_0x1f47c0;return this[_0x1ad8b1(0x1cc)][_0x1ad8b1(0x1b6)](_0x2062ff),this;}[_0x1f47c0(0x22b)](_0x435d9c){var _0x328f07=_0x1f47c0;if(this[_0x328f07(0x26d)])return this[_0x328f07(0x34c)]=this[_0x328f07(0x26d)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x53ac8a){return this['_onConflict'](!!(_0x53ac8a!=null&&_0x53ac8a['isPermissionRej']));}[_0x1f47c0(0x180)](){return this;}[_0x1f47c0(0x10d)](){var _0x4a2e7c=_0x1f47c0;return this[_0x4a2e7c(0x3ce)][_0x4a2e7c(0x145)](exports[_0x4a2e7c(0x42f)],this[_0x4a2e7c(0x1ea)],this[_0x4a2e7c(0x41a)],this[_0x4a2e7c(0x26d)],this[_0x4a2e7c(0x36f)],this[_0x4a2e7c(0x10b)]);}[_0x1f47c0(0x1ba)](){return this;}[_0x1f47c0(0x3cf)](_0x1ef7ce){var _0x48f9cc=_0x1f47c0;return this[_0x48f9cc(0x3ce)][_0x48f9cc(0x145)](exports[_0x48f9cc(0x17d)],this[_0x48f9cc(0x1ea)],this[_0x48f9cc(0x41a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x48f9cc(0x10b)],_0x1ef7ce);}},exports[_0x1f47c0(0x1af)]=ce([w(0x7,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),w(0x8,a[_0x1f47c0(0x273)](g['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x1f47c0(0x35c)]),w(0xb,a['IUndoRedoService']),w(0xc,g['ITransformService']),w(0xd,a[_0x1f47c0(0x18f)](z))],exports['FetchingMissState']);function Dt(_0x25021a,_0xa1b900,_0x1f5028,_0x51d711,_0x31183d,_0x169fe6){var _0x323de2=_0x1f47c0;return _0x51d711&&_0x31183d[_0x323de2(0x43c)]?_0x25021a[_0x323de2(0x145)](exports[_0x323de2(0x32e)],_0xa1b900,_0x1f5028,_0x51d711,_0x31183d,_0x169fe6,void 0x0):_0x51d711?_0x25021a['createInstance'](exports['AwaitingState'],_0xa1b900,_0x1f5028,_0x51d711,_0x169fe6):_0x31183d['length']?_0x25021a[_0x323de2(0x145)](exports[_0x323de2(0x184)],_0xa1b900,_0x1f5028,_0x31183d,_0x169fe6):_0x25021a['createInstance'](exports['SyncedState'],_0xa1b900,_0x1f5028,_0x169fe6);}var Ci=Object[_0x1f47c0(0x269)],Ge=(_0x5971b6,_0x3c80dc,_0x23de7e,_0x3cc4f5)=>{for(var _0x3da6fd=_0x3cc4f5>0x1?void 0x0:_0x3cc4f5?Ci(_0x3c80dc,_0x23de7e):_0x3c80dc,_0x5ea407=_0x5971b6['length']-0x1,_0x137440;_0x5ea407>=0x0;_0x5ea407--)(_0x137440=_0x5971b6[_0x5ea407])&&(_0x3da6fd=_0x137440(_0x3da6fd)||_0x3da6fd);return _0x3da6fd;},$=(_0x22e8ae,_0x3bf239)=>(_0xca73da,_0x180786)=>_0x3bf239(_0xca73da,_0x180786,_0x22e8ae);exports[_0x1f47c0(0x240)]=class extends a[_0x1f47c0(0x433)]{constructor(_0x883db,_0x45b6aa,_0x302594,_0x2995ff,_0x1963ef,_0x20650c,_0x4e46c4,_0x1fcfc8,_0x6e331d,_0x4c4879,_0xb4135a,_0x178ba1,_0x441a00){var _0x1da9c2=_0x1f47c0;super(),P(this,_0x1da9c2(0x2cb),new j['BehaviorSubject'](null)),P(this,_0x1da9c2(0x3bb),this[_0x1da9c2(0x2cb)][_0x1da9c2(0x258)]()),P(this,_0x1da9c2(0x413)),P(this,_0x1da9c2(0x41c),!0x1),P(this,'_changesetSessionId',''),P(this,_0x1da9c2(0x1c0),0x0),P(this,'status$',this[_0x1da9c2(0x3bb)][_0x1da9c2(0x40e)](j[_0x1da9c2(0x191)](_0x2a5bf=>_0x2a5bf?_0x2a5bf[_0x1da9c2(0x451)]:We[_0x1da9c2(0x255)]),j[_0x1da9c2(0x439)](0x1))),P(this,_0x1da9c2(0x432),!0x1),P(this,_0x1da9c2(0x3f5),[]),(this['unitID']=_0x883db,this[_0x1da9c2(0x31c)]=_0x45b6aa,this['_type']=_0x302594,this[_0x1da9c2(0x3ce)]=_0x2995ff,this[_0x1da9c2(0x383)]=_0x1963ef,this['_localeService']=_0x20650c,this[_0x1da9c2(0x17f)]=_0x4e46c4,this[_0x1da9c2(0x2f1)]=_0x1fcfc8,this[_0x1da9c2(0x325)]=_0x6e331d,this['_commandService']=_0x4c4879,this['_permissionService']=_0xb4135a,this['_singleActiveUnitService']=_0x178ba1,this[_0x1da9c2(0x38a)]=_0x441a00);}get['state'](){return this['_state'];}async['init'](){var _0x48348c=_0x1f47c0;if(this[_0x48348c(0x267)])throw new Error(_0x48348c(0x28a));await this[_0x48348c(0x334)]();}[_0x1f47c0(0x1a4)](){var _0x2794e0=_0x1f47c0;return this[_0x2794e0(0x41c)]=!0x0,a[_0x2794e0(0x3a6)](()=>{var _0x4b29e6=_0x2794e0;this[_0x4b29e6(0x41c)]=!0x1,this[_0x4b29e6(0x403)]();});}['onLocalMutation'](_0x1b34cf){this['_onLocalMutation'](_0x1b34cf);}[_0x1f47c0(0x310)](_0x492d0e){var _0x1ed94d=_0x1f47c0;this[_0x1ed94d(0x413)]=_0x492d0e,this['_state$']['next'](_0x492d0e);}async[_0x1f47c0(0x334)](){var _0x37884d=_0x1f47c0,_0x2bf934;this['_updateState'](await this[_0x37884d(0xe7)]()),this['_singleActiveUnitService']&&((_0x2bf934=this[_0x37884d(0x368)])==null||_0x2bf934[_0x37884d(0x1f1)](this[_0x37884d(0x1ea)]),this[_0x37884d(0x423)](this[_0x37884d(0x368)][_0x37884d(0x396)](this['unitID'])[_0x37884d(0x305)](_0xd84eb=>{var _0x175b97=_0x37884d;this[_0x175b97(0x325)][_0x175b97(0x443)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xd84eb),_0xd84eb===Fe[_0x175b97(0x139)]?(this[_0x175b97(0x2f1)]['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x175b97(0x399)][_0x175b97(0x377)](new Z[(_0x175b97(0x362))](this['unitID'])['id'],!0x1),this[_0x175b97(0x399)]['setShowComponents'](!0x1)):(this[_0x175b97(0x399)][_0x175b97(0x377)](new Z['WorkbookEditablePermission'](this[_0x175b97(0x1ea)])['id'],!0x0),this[_0x175b97(0x399)][_0x175b97(0x3d9)](!0x0));})));let _0xd09d86=!0x1;return this[_0x37884d(0x423)](this[_0x37884d(0x31c)]['sessionStatus$'][_0x37884d(0x305)](_0x52b1af=>{var _0x59e60a=_0x37884d;_0x52b1af===se[_0x59e60a(0x16e)]?this[_0x59e60a(0x3b4)](_0xd09d86):_0x52b1af===se[_0x59e60a(0x255)]&&(_0xd09d86=!0x0,this[_0x59e60a(0x2ba)]());})),this[_0x37884d(0x423)](this['session'][_0x37884d(0x370)][_0x37884d(0x305)](_0x283b35=>{var _0x9b69ba=_0x37884d;try{switch(_0x283b35[_0x9b69ba(0x171)]){case g[_0x9b69ba(0x352)]['NEW_CHANGESETS']:{this[_0x9b69ba(0x159)](g['parseProtocolChangeset'](_0x283b35[_0x9b69ba(0x10a)]));break;}case g['CollaborationEvent'][_0x9b69ba(0x19f)]:{this[_0x9b69ba(0x44d)](_0x283b35[_0x9b69ba(0x10a)]);break;}case g[_0x9b69ba(0x352)][_0x9b69ba(0x1a9)]:{this['_onRemoteRejected']();break;}case g[_0x9b69ba(0x352)][_0x9b69ba(0x351)]:{this[_0x9b69ba(0x400)](_0x283b35['data']);break;}case g[_0x9b69ba(0x352)][_0x9b69ba(0xeb)]:{this[_0x9b69ba(0x392)](_0x283b35['data']['changesets']['map'](_0x128582=>g[_0x9b69ba(0xf6)](_0x128582)));break;}case g[_0x9b69ba(0x352)][_0x9b69ba(0x430)]:{this[_0x9b69ba(0x114)]({'isPermissionRej':!0x0});break;}case g[_0x9b69ba(0x352)][_0x9b69ba(0x3ee)]:break;}}catch(_0x2d3c7e){throw console[_0x9b69ba(0x13e)]('Error\x20on\x20receiving\x20event',_0x2d3c7e),_0x2d3c7e;}})),this[_0x37884d(0x413)];}[_0x1f47c0(0x12a)](){var _0x5a6f4a=_0x1f47c0;this[_0x5a6f4a(0x432)]=!0x1;}['_lockTransition'](){var _0x44ca86=_0x1f47c0;if(this['_transitionLocked'])throw new Error(_0x44ca86(0x373));this[_0x44ca86(0x432)]=!0x0;}['_onLocalMutation'](_0x144953){var _0x352230=_0x1f47c0;this[_0x352230(0x11f)](),this[_0x352230(0x310)](this[_0x352230(0x413)][_0x352230(0x3c3)](_0x144953)),this[_0x352230(0x12a)]();}[_0x1f47c0(0x159)](_0x248bbd){var _0x85cf1f=_0x1f47c0;if(!(_0x248bbd[_0x85cf1f(0x2bc)]<=this[_0x85cf1f(0x17f)][_0x85cf1f(0x211)](this[_0x85cf1f(0x1ea)]))){if(this[_0x85cf1f(0x41c)]){this['_remoteChangesetQueue'][_0x85cf1f(0x1b6)](_0x248bbd);return;}this[_0x85cf1f(0x405)](_0x248bbd);}}[_0x1f47c0(0x403)](){var _0x1be8a6=_0x1f47c0;this[_0x1be8a6(0x3f5)][_0x1be8a6(0x300)](_0xdb64b0=>this[_0x1be8a6(0x405)](_0xdb64b0)),this['_remoteChangesetQueue']=[];}[_0x1f47c0(0x405)](_0x592471){var _0x3a6d33=_0x1f47c0;const _0x4cb8cd=this[_0x3a6d33(0x383)][_0x3a6d33(0x2d5)]['fetchThroughInterceptors'](this[_0x3a6d33(0x383)][_0x3a6d33(0x2d5)]['getInterceptPoints']()[_0x3a6d33(0x3ba)])(_0x592471[_0x3a6d33(0x26f)],null)||_0x592471[_0x3a6d33(0x26f)],_0x23a2e8={..._0x592471,'mutations':_0x4cb8cd};this['_lockTransition'](),this[_0x3a6d33(0x310)](this[_0x3a6d33(0x413)][_0x3a6d33(0x304)](_0x23a2e8)),this[_0x3a6d33(0x12a)]();}[_0x1f47c0(0x44d)](_0x1f80a6){var _0x225c82=_0x1f47c0;this[_0x225c82(0x11f)](),this[_0x225c82(0x310)](this['_state'][_0x225c82(0x22b)](_0x1f80a6)),this[_0x225c82(0x12a)]();}[_0x1f47c0(0x114)](_0x216734){var _0x4ecb39=_0x1f47c0;this[_0x4ecb39(0x11f)](),this[_0x4ecb39(0x310)](this['_state']['onRemoteRej'](_0x216734)),this['_unlockTransition']();}[_0x1f47c0(0x400)](_0x32b5b9){var _0x4d6253=_0x1f47c0;this[_0x4d6253(0x11f)](),this[_0x4d6253(0x310)](this[_0x4d6253(0x413)][_0x4d6253(0x180)](_0x32b5b9)),this[_0x4d6253(0x12a)]();}[_0x1f47c0(0x392)](_0x15e7c4){var _0x28470f=_0x1f47c0;if(!(this[_0x28470f(0x413)]instanceof exports['FetchingMissState']))throw new TypeError(_0x28470f(0x427));const _0x1dae82=_0x15e7c4[_0x28470f(0x191)](_0x4705b7=>{var _0x55c821=_0x28470f;const _0x27daed=this[_0x55c821(0x383)][_0x55c821(0x2d5)][_0x55c821(0x434)](this['_compressMutationService']['interceptor'][_0x55c821(0x2af)]()[_0x55c821(0x3ba)])(_0x4705b7[_0x55c821(0x26f)],null)||_0x4705b7['mutations'];return{..._0x4705b7,'mutations':_0x27daed};});this[_0x28470f(0x11f)](),this['_updateState'](this[_0x28470f(0x413)][_0x28470f(0xe8)](_0x1dae82)),this[_0x28470f(0x12a)]();}[_0x1f47c0(0x2ba)](){var _0x4c3ba4=_0x1f47c0;this[_0x4c3ba4(0x11f)](),this[_0x4c3ba4(0x310)](this['_state']['toggleOffline']()),this[_0x4c3ba4(0x12a)]();}[_0x1f47c0(0x3b4)](_0x2717d7=!0x1){var _0x7a6aae=_0x1f47c0;this[_0x7a6aae(0x11f)](),this['_updateState'](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x530e0f=this[_0x7a6aae(0x413)];_0x2717d7&&_0x530e0f instanceof exports['SyncedState']&&(this[_0x7a6aae(0x11f)](),this[_0x7a6aae(0x310)](_0x530e0f[_0x7a6aae(0x275)]()),this['_unlockTransition']());}async[_0x1f47c0(0xe7)](){return new Promise(_0x4f5801=>{var _0x4e8721=_0x5763;this[_0x4e8721(0x31c)][_0x4e8721(0x178)]['pipe'](j[_0x4e8721(0x19c)](0x1))[_0x4e8721(0x305)](async _0x19e71d=>{var _0x364e5b=_0x4e8721;_0x4f5801(await this[_0x364e5b(0x253)](_0x19e71d===se[_0x364e5b(0x16e)]));});});}[_0x1f47c0(0x31b)](){var _0x5a6872=_0x1f47c0;const _0x45704d=this[_0x5a6872(0x1ea)];return{'onStateChange':(_0xd2edc5,_0x43a353)=>{var _0x4bb077=_0x5a6872;if(_0xd2edc5!==this['_state'])throw new Error(_0x4bb077(0x268)+_0xd2edc5[_0x4bb077(0x451)]+_0x4bb077(0x342)+_0x43a353[_0x4bb077(0x451)]+_0x4bb077(0x2d4)+this[_0x4bb077(0x413)][_0x4bb077(0x451)]);this[_0x4bb077(0x310)](_0x43a353);},'onSendChangeset':_0x41e0c9=>{var _0x1114fa=_0x5a6872;_0x41e0c9[_0x1114fa(0x438)]||(_0x41e0c9['sid']=this['_changesetSessionId'],_0x41e0c9[_0x1114fa(0x183)]=++this[_0x1114fa(0x1c0)]);const _0x17527d={'eventID':g[_0x1114fa(0x352)][_0x1114fa(0x136)],'data':{'unitID':_0x41e0c9[_0x1114fa(0x1ea)],'unitType':this['_type'],'changeset':_0x41e0c9,'memberID':this['session']['getMemberID']()}};this['session'][_0x1114fa(0x42c)](_0x17527d,this[_0x1114fa(0x1ea)]);},'onMissingChangesets':({from:_0x55f11b,to:_0xc2a0e4})=>{var _0x3a217f=_0x5a6872;this['_logService']['debug']('[CollaborationEntity]',_0x3a217f(0x2c9)+_0x55f11b+_0x3a217f(0x27c)+_0xc2a0e4);const _0x47d512={'eventID':g[_0x3a217f(0x352)][_0x3a217f(0x1e5)],'data':{'unitID':_0x45704d,'unitType':this[_0x3a217f(0x365)],'from':_0x55f11b,'to':_0xc2a0e4}};this[_0x3a217f(0x31c)][_0x3a217f(0x42c)](_0x47d512,this[_0x3a217f(0x1ea)]);}};}async['_createInitialStateImpl'](_0x3d11b5){var _0x3083f4=_0x1f47c0,_0x13deae,_0xe6710b,_0x3e4bb1;const _0x28faf1=await((_0x13deae=this['_localCacheService'])==null?void 0x0:_0x13deae[_0x3083f4(0x26b)](this[_0x3083f4(0x1ea)])),_0x4b9e01=(_0xe6710b=_0x28faf1==null?void 0x0:_0x28faf1['mutations'])!=null?_0xe6710b:[],_0x21d3ef=(_0x3e4bb1=_0x28faf1==null?void 0x0:_0x28faf1['awaitingChangeset'])!=null?_0x3e4bb1:null,_0x39323c=!!(_0x21d3ef!=null&&_0x21d3ef['sid'])&&!!(_0x21d3ef!=null&&_0x21d3ef['reqId']);this[_0x3083f4(0x200)]=_0x39323c?_0x21d3ef['sid']:di(),this[_0x3083f4(0x1c0)]=_0x39323c?_0x21d3ef[_0x3083f4(0x183)]:0x0;const _0x56b678=this['unitID'];try{this['_replayCachedMutations'](_0x21d3ef,_0x4b9e01);}catch(_0x307dbd){this[_0x3083f4(0x325)]['error'](_0x307dbd);}const _0x2d3fa6=this[_0x3083f4(0x31b)]();if(_0x3d11b5){const _0x3472b5=Dt(this[_0x3083f4(0x3ce)],_0x56b678,this[_0x3083f4(0x365)],_0x21d3ef,_0x4b9e01,_0x2d3fa6);return _0x3472b5 instanceof exports[_0x3083f4(0x184)]?_0x3472b5['_schedule']():(_0x3472b5 instanceof exports[_0x3083f4(0x32e)]||_0x3472b5 instanceof exports['AwaitingState'])&&_0x3472b5[_0x3083f4(0x1ee)](),_0x3472b5;}return this[_0x3083f4(0x3ce)][_0x3083f4(0x145)](exports[_0x3083f4(0x42f)],_0x56b678,this[_0x3083f4(0x365)],_0x21d3ef,_0x4b9e01,_0x2d3fa6);}[_0x1f47c0(0x1b4)](_0x322d4b,_0x516e4a){var _0x46df4b=_0x1f47c0,_0x3f35f9,_0x4a1add;const _0x27cb30=this['_compressMutationService'][_0x46df4b(0x2d5)][_0x46df4b(0x434)](this[_0x46df4b(0x383)][_0x46df4b(0x2d5)][_0x46df4b(0x2af)]()[_0x46df4b(0x3ba)]);(_0x3f35f9=_0x27cb30((_0x322d4b==null?void 0x0:_0x322d4b['mutations'])||[],null))==null||_0x3f35f9[_0x46df4b(0x300)](_0x10175c=>this['_commandService'][_0x46df4b(0x170)](_0x10175c['id'],_0x10175c[_0x46df4b(0x414)])),(_0x4a1add=_0x27cb30(_0x516e4a||[],null))==null||_0x4a1add[_0x46df4b(0x300)](_0x346aac=>this[_0x46df4b(0x31f)][_0x46df4b(0x170)](_0x346aac['id'],_0x346aac[_0x46df4b(0x414)]));}},exports['CollaborationEntity']=Ge([$(0x3,a[_0x1f47c0(0x273)](a['Injector'])),$(0x4,a['Inject'](g[_0x1f47c0(0x156)])),$(0x5,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x3ae)])),$(0x6,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x149)])),$(0x7,a[_0x1f47c0(0x273)](te)),$(0x8,a[_0x1f47c0(0x380)]),$(0x9,a[_0x1f47c0(0x35c)]),$(0xa,a[_0x1f47c0(0x2db)]),$(0xb,a['Optional'](ve)),$(0xc,a['Optional'](z))],exports[_0x1f47c0(0x240)]),exports[_0x1f47c0(0x3d5)]=class extends exports[_0x1f47c0(0x240)]{constructor(_0x2186fa,_0x746691,_0x4d6b10,_0x5b623f,_0x34c8f9,_0x4e51c4,_0x3c101c,_0x2b698b,_0x3c4e5b,_0x197cb1,_0x1ec751,_0x190904,_0x38f81f){var _0x407b90=_0x1f47c0;super(_0x2186fa,_0x4d6b10,_0x746691,_0x5b623f,_0x34c8f9,_0x4e51c4,_0x3c101c,_0x2b698b,_0x3c4e5b,_0x197cb1,_0x1ec751,_0x190904,_0x38f81f),P(this,'_handlerCallback',null),(this[_0x407b90(0x1ea)]=_0x2186fa,this[_0x407b90(0x41a)]=_0x746691);}[_0x1f47c0(0x1a5)](_0x47814b){this['_handlerCallback']=_0x47814b;}[_0x1f47c0(0x2ef)](){var _0x153296=_0x1f47c0;this[_0x153296(0x389)]=null,super['dispose']();}['_createHandler'](){var _0x46d7fe=_0x1f47c0;const _0x23c0c8=super[_0x46d7fe(0x31b)]();return _0x23c0c8[_0x46d7fe(0x27d)]=_0x24b584=>{var _0x6a162b=_0x46d7fe,_0x3b621b,_0xfe39a2;return(_0xfe39a2=(_0x3b621b=this[_0x6a162b(0x389)])==null?void 0x0:_0x3b621b[_0x6a162b(0x27d)])==null?void 0x0:_0xfe39a2[_0x6a162b(0x24d)](_0x3b621b,_0x24b584);},_0x23c0c8[_0x46d7fe(0x2c6)]=_0x3c4531=>{var _0xd6ffaa=_0x46d7fe,_0x3a5e9a,_0x1560ce;return(_0x1560ce=(_0x3a5e9a=this[_0xd6ffaa(0x389)])==null?void 0x0:_0x3a5e9a[_0xd6ffaa(0x2c6)])==null?void 0x0:_0x1560ce['call'](_0x3a5e9a,_0x3c4531);},_0x23c0c8['onTransformSelections']=_0x3a6574=>{var _0x19a011=_0x46d7fe,_0xa91db7,_0x579b46;return(_0x579b46=(_0xa91db7=this[_0x19a011(0x389)])==null?void 0x0:_0xa91db7['onTransformSelections'])==null?void 0x0:_0x579b46[_0x19a011(0x24d)](_0xa91db7,_0x3a6574);},_0x23c0c8[_0x46d7fe(0x30f)]=_0x740cbe=>{var _0x22b7dc=_0x46d7fe,_0x83af25,_0x26ad0a;return(_0x26ad0a=(_0x83af25=this[_0x22b7dc(0x389)])==null?void 0x0:_0x83af25[_0x22b7dc(0x30f)])==null?void 0x0:_0x26ad0a[_0x22b7dc(0x24d)](_0x83af25,_0x740cbe);},_0x23c0c8[_0x46d7fe(0x1e3)]=_0x23f7f1=>{var _0xa29d2d=_0x46d7fe,_0xc6c4c3,_0x580a3c,_0xf0792c;if(!((_0xc6c4c3=this[_0xa29d2d(0x389)])!=null&&_0xc6c4c3['onTransformRemoteChangesetByIMECache']))throw new Error(_0xa29d2d(0x226));return(_0xf0792c=(_0x580a3c=this[_0xa29d2d(0x389)])==null?void 0x0:_0x580a3c[_0xa29d2d(0x1e3)])==null?void 0x0:_0xf0792c[_0xa29d2d(0x24d)](_0x580a3c,_0x23f7f1);},_0x23c0c8['onTransformRemoteChangesetByStateCache']=_0x1c5f72=>{var _0x2ec3d9=_0x46d7fe,_0x129667,_0x575ff7,_0x19d25a;if(!((_0x129667=this[_0x2ec3d9(0x389)])!=null&&_0x129667['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x19d25a=(_0x575ff7=this[_0x2ec3d9(0x389)])==null?void 0x0:_0x575ff7['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x19d25a['call'](_0x575ff7,_0x1c5f72);},_0x23c0c8;}async[_0x1f47c0(0x334)](){var _0x461892=_0x1f47c0;const _0x26881a=await super[_0x461892(0x334)]();return this['disposeWithMe'](this[_0x461892(0x31f)][_0x461892(0x329)]((_0xf53b3e,_0x30bc8e)=>{var _0x3c7464=_0x461892;if(_0xf53b3e[_0x3c7464(0x41a)]!==a[_0x3c7464(0x2b1)]['MUTATION']||_0x30bc8e!=null&&_0x30bc8e[_0x3c7464(0x1f9)]||_0x30bc8e!=null&&_0x30bc8e[_0x3c7464(0x272)]||_0xf53b3e['id']===ut[_0x3c7464(0x214)]['id'])return;const _0x3431b7=_0xf53b3e[_0x3c7464(0x414)];if((_0x3431b7==null?void 0x0:_0x3431b7[_0x3c7464(0x1ec)])!==this[_0x3c7464(0x1ea)])return;const _0x1fe779=_0xf53b3e,_0x460773=this[_0x3c7464(0x383)][_0x3c7464(0x2d5)][_0x3c7464(0x434)](this[_0x3c7464(0x383)]['interceptor'][_0x3c7464(0x2af)]()[_0x3c7464(0x1c1)])([_0x1fe779],null)||[_0x1fe779];this[_0x3c7464(0x239)](_0x460773[0x0]);})),_0x26881a;}},exports[_0x1f47c0(0x3d5)]=Ge([$(0x3,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),$(0x4,a['Inject'](g[_0x1f47c0(0x156)])),$(0x5,a[_0x1f47c0(0x273)](a['LocaleService'])),$(0x6,a['Inject'](g[_0x1f47c0(0x149)])),$(0x7,a[_0x1f47c0(0x273)](te)),$(0x8,a[_0x1f47c0(0x380)]),$(0x9,a[_0x1f47c0(0x35c)]),$(0xa,a[_0x1f47c0(0x2db)]),$(0xb,a[_0x1f47c0(0x18f)](ve)),$(0xc,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x3d5)]),exports[_0x1f47c0(0x1a2)]=class extends exports[_0x1f47c0(0x240)]{constructor(_0x1a62f2,_0x251e3b,_0x37b30d,_0x56d8e4,_0x19c2f9,_0x41559a,_0x5ba2f1,_0x19a505,_0xf68c66,_0x3912c1,_0x2c2c41,_0x4ce765,_0x121f2f,_0x30c4fd){var _0xa5ec7d=_0x1f47c0;super(_0x1a62f2,_0x37b30d,_0x251e3b,_0x56d8e4,_0x19c2f9,_0x41559a,_0x5ba2f1,_0xf68c66,_0x3912c1,_0x2c2c41,_0x4ce765,_0x121f2f,_0x30c4fd),this[_0xa5ec7d(0x1ea)]=_0x1a62f2,this[_0xa5ec7d(0x41a)]=_0x251e3b,this['_sheetTransformSelectionsService']=_0x19a505;}[_0x1f47c0(0x31b)](){var _0x30acf=_0x1f47c0;const _0x367727=super[_0x30acf(0x31b)]();return _0x367727[_0x30acf(0xff)]=_0x4a6503=>this[_0x30acf(0x41f)]['transformSelections'](_0x4a6503),_0x367727;}async[_0x1f47c0(0x334)](){var _0x34bb5f=_0x1f47c0;const _0x2a08d0=await super[_0x34bb5f(0x334)]();return this[_0x34bb5f(0x423)](this[_0x34bb5f(0x31f)][_0x34bb5f(0x329)]((_0x85909d,_0x532717)=>{var _0x105d3d=_0x34bb5f;if(_0x85909d['type']!==a['CommandType'][_0x105d3d(0x210)]||_0x532717!=null&&_0x532717[_0x105d3d(0x1f9)]||_0x532717!=null&&_0x532717['onlyLocal'])return;const _0x129a37=_0x85909d[_0x105d3d(0x414)];if((_0x129a37==null?void 0x0:_0x129a37[_0x105d3d(0x1ec)])!==this[_0x105d3d(0x1ea)])return;const _0x34e473=_0x85909d,_0x409b1b=this[_0x105d3d(0x383)][_0x105d3d(0x2d5)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x105d3d(0x2d5)][_0x105d3d(0x2af)]()[_0x105d3d(0x1c1)])([_0x34e473],null)||[_0x34e473];this[_0x105d3d(0x239)](_0x409b1b[0x0]);})),_0x2a08d0;}},exports[_0x1f47c0(0x1a2)]=Ge([$(0x3,a['Inject'](a['Injector'])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x1f47c0(0x3ae)])),$(0x6,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x149)])),$(0x7,a[_0x1f47c0(0x273)](exports[_0x1f47c0(0x359)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x1f47c0(0x380)]),$(0xa,a[_0x1f47c0(0x35c)]),$(0xb,a[_0x1f47c0(0x2db)]),$(0xc,a[_0x1f47c0(0x18f)](ve)),$(0xd,a[_0x1f47c0(0x18f)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x5cf1f8,_0x40ab6d,_0x353d66,_0x1f79c3)=>{var _0x5250c6=_0x1f47c0;for(var _0x553037=_0x1f79c3>0x1?void 0x0:_0x1f79c3?Ti(_0x40ab6d,_0x353d66):_0x40ab6d,_0x585d71=_0x5cf1f8[_0x5250c6(0x43c)]-0x1,_0x37dbda;_0x585d71>=0x0;_0x585d71--)(_0x37dbda=_0x5cf1f8[_0x585d71])&&(_0x553037=_0x37dbda(_0x553037)||_0x553037);return _0x553037;},Ae=(_0x3aa9ed,_0x45c825)=>(_0x52a887,_0x40240f)=>_0x45c825(_0x52a887,_0x40240f,_0x3aa9ed);exports[_0x1f47c0(0x3ca)]=class extends a[_0x1f47c0(0x433)]{constructor(_0x31abdd,_0x2e1819,_0x54517f){var _0x332f40=_0x1f47c0;super(),P(this,'_entities',new Map()),P(this,_0x332f40(0x3d1),new j[(_0x332f40(0x42e))]()),P(this,_0x332f40(0x38c),this[_0x332f40(0x3d1)]['asObservable']()),(this[_0x332f40(0x3ce)]=_0x31abdd,this[_0x332f40(0x315)]=_0x2e1819,this[_0x332f40(0x37e)]=_0x54517f,this[_0x332f40(0x334)]());}[_0x1f47c0(0x2ef)](){var _0x24a300=_0x1f47c0;super['dispose'](),this[_0x24a300(0x40b)][_0x24a300(0x300)](_0xeaf94a=>_0xeaf94a[_0x24a300(0x2ef)]()),this[_0x24a300(0x40b)][_0x24a300(0x15a)]();}['getCollabEntity'](_0x44bfff){var _0x329680=_0x1f47c0,_0x2b9550;return(_0x2b9550=this['_entities'][_0x329680(0x15f)](_0x44bfff))!=null?_0x2b9550:null;}[_0x1f47c0(0x354)](_0x32a6cc){var _0x46e1be=_0x1f47c0;const _0x5973a6=this[_0x46e1be(0x2a6)](_0x32a6cc);return _0x5973a6?j['of'](_0x5973a6):this[_0x46e1be(0x3d1)][_0x46e1be(0x40e)](W[_0x46e1be(0x318)](_0x323c9f=>_0x323c9f['unitID']===_0x32a6cc));}['readyForCollab'](_0x25e73d){var _0x5af5ba=_0x1f47c0;return j['firstValueFrom'](this['getCollabEntity$'](_0x25e73d)[_0x5af5ba(0x40e)](W[_0x5af5ba(0x191)](()=>{})));}[_0x1f47c0(0x334)](){var _0x2fa207=_0x1f47c0;this[_0x2fa207(0x37e)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x2fa207(0x1fd)])['pipe'](j[_0x2fa207(0x2b4)](this[_0x2fa207(0x3ab)]),W[_0x2fa207(0x379)](0x10))[_0x2fa207(0x305)](async _0x32406a=>{var _0x4f7fd1=_0x2fa207;const _0x3cfa8b=_0x32406a[_0x4f7fd1(0x31e)](),_0x2ff4df=await this[_0x4f7fd1(0x1f6)](_0x3cfa8b,X[_0x4f7fd1(0x1fd)]);this[_0x4f7fd1(0x40b)][_0x4f7fd1(0x41b)](_0x3cfa8b,_0x2ff4df);}),this[_0x2fa207(0x37e)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x2fa207(0x1ac)])[_0x2fa207(0x40e)](j[_0x2fa207(0x2b4)](this[_0x2fa207(0x3ab)]),W[_0x2fa207(0x379)](0x10))['pipe'](W['filter'](_0x53e08c=>!_0x53e08c[_0x2fa207(0x31e)]()[_0x2fa207(0x29d)]('__')))[_0x2fa207(0x305)](async _0xd5febb=>{var _0x5992c2=_0x2fa207;const _0x166544=_0xd5febb[_0x5992c2(0x31e)](),_0x16bad3=await this[_0x5992c2(0x1f6)](_0x166544,X[_0x5992c2(0x1ac)]);this[_0x5992c2(0x40b)][_0x5992c2(0x41b)](_0x166544,_0x16bad3);}),j[_0x2fa207(0x1b9)](this[_0x2fa207(0x37e)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x2fa207(0x1fd)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x2fa207(0x3a1)]['UNIVER_DOC']))[_0x2fa207(0x40e)](j[_0x2fa207(0x2b4)](this['dispose$']))['subscribe'](_0x747e6d=>{var _0x53d07f=_0x2fa207;const _0x1a260e=_0x747e6d[_0x53d07f(0x31e)](),_0x342575=this[_0x53d07f(0x40b)][_0x53d07f(0x15f)](_0x1a260e);_0x342575&&(_0x342575[_0x53d07f(0x2ef)](),this[_0x53d07f(0x40b)][_0x53d07f(0x164)](_0x1a260e));});}async['_startCollaboration'](_0x170176,_0x20372d){var _0x2d562a=_0x1f47c0;const _0x31136a=await this[_0x2d562a(0x315)]['requireSession'](_0x170176),_0x287092=this[_0x2d562a(0x3ce)]['createInstance'](this[_0x2d562a(0x367)](_0x20372d),_0x170176,_0x20372d,_0x31136a);return await _0x287092[_0x2d562a(0x150)](),this['_entityInit$'][_0x2d562a(0x166)](_0x287092),_0x287092;}[_0x1f47c0(0x367)](_0x4a4abe){var _0x25923b=_0x1f47c0;switch(_0x4a4abe){case X['UNIVER_DOC']:return exports[_0x25923b(0x3d5)];case X[_0x25923b(0x1fd)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x25923b(0x2bf)+_0x4a4abe);}}},exports[_0x1f47c0(0x3ca)]=bi([Ae(0x0,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),Ae(0x1,a[_0x1f47c0(0x273)](exports[_0x1f47c0(0x2b5)])),Ae(0x2,a[_0x1f47c0(0x3c1)])],exports['CollaborationController']);var Ri=Object[_0x1f47c0(0x269)],yi=(_0x9e5b21,_0x54f08e,_0x52badb,_0x3f5bd0)=>{for(var _0x28d3eb=_0x3f5bd0>0x1?void 0x0:_0x3f5bd0?Ri(_0x54f08e,_0x52badb):_0x54f08e,_0x417647=_0x9e5b21['length']-0x1,_0x5c335f;_0x417647>=0x0;_0x417647--)(_0x5c335f=_0x9e5b21[_0x417647])&&(_0x28d3eb=_0x5c335f(_0x28d3eb)||_0x28d3eb);return _0x28d3eb;},Je=(_0x3ed5f4,_0x20072b)=>(_0x30e5a0,_0x1e46ed)=>_0x20072b(_0x30e5a0,_0x1e46ed,_0x3ed5f4);const Oi=_0x1f47c0(0x1f3),Ni=_0x1f47c0(0x22a);let He=class extends a[_0x1f47c0(0x2ee)]{constructor(_0x7a8473,_0x256eb7){var _0x2bc68a=_0x1f47c0;super(),this[_0x2bc68a(0x37e)]=_0x7a8473,this[_0x2bc68a(0x295)]=_0x256eb7,this[_0x2bc68a(0x334)]();}[_0x1f47c0(0x334)](){var _0x49b6f5=_0x1f47c0;this[_0x49b6f5(0x423)](this[_0x49b6f5(0x37e)][_0x49b6f5(0x1be)]['subscribe'](()=>{var _0x4bec46=_0x49b6f5,_0x4c72b3;const _0x4c60c2=this['_univerInstanceService'][_0x4bec46(0x198)]();let _0x1fdce8=(_0x4c72b3=this[_0x4bec46(0x295)]['getConfig'](Oi))!=null?_0x4c72b3:Ni;_0x4c60c2 instanceof a['Workbook']&&(_0x1fdce8=_0x4c60c2[_0x4bec46(0x20b)]),document[_0x4bec46(0x235)]=_0x1fdce8;}));}};He=yi([Je(0x0,a[_0x1f47c0(0x3c1)]),Je(0x1,a[_0x1f47c0(0x26a)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x59fd90,_0x406407,_0x2520dc,_0xc29512)=>{var _0x571fbe=_0x1f47c0;for(var _0x141bd1=_0xc29512>0x1?void 0x0:_0xc29512?Di(_0x406407,_0x2520dc):_0x406407,_0x3716d4=_0x59fd90[_0x571fbe(0x43c)]-0x1,_0x464b73;_0x3716d4>=0x0;_0x3716d4--)(_0x464b73=_0x59fd90[_0x3716d4])&&(_0x141bd1=_0x464b73(_0x141bd1)||_0x141bd1);return _0x141bd1;},we=(_0x608c0e,_0xf02049)=>(_0x57e368,_0x55f859)=>_0xf02049(_0x57e368,_0x55f859,_0x608c0e);let Oe=class{constructor(_0x534bdb,_0x5c90ae,_0x266acc){var _0x25ecdf=_0x1f47c0;this[_0x25ecdf(0x295)]=_0x534bdb,this[_0x25ecdf(0x345)]=_0x5c90ae,this[_0x25ecdf(0x330)]=_0x266acc,this[_0x25ecdf(0x150)]();}[_0x1f47c0(0x150)](){var _0x1f5544=_0x1f47c0;this['_httpService'][_0x1f5544(0x2f4)]({'priority':0x1,'interceptor':(_0x41aec9,_0x157910)=>_0x157910(_0x41aec9)[_0x1f5544(0x40e)](j[_0x1f5544(0x117)](async _0x10f929=>{var _0x3aab58=_0x1f5544;const _0x2e7a98=_0x10f929;if(_0x2e7a98['status']===0x191){if(typeof window>'u')throw new Error(_0x3aab58(0x202));if(window[_0x3aab58(0x3ef)](this[_0x3aab58(0x330)]['t'](_0x3aab58(0x32d)))){const _0x3359de=window[_0x3aab58(0x28c)](window['location']['href']);window['location'][_0x3aab58(0x12d)]=this[_0x3aab58(0x420)]()+_0x3aab58(0x16d)+_0x3359de;}}return _0x2e7a98;}))});}[_0x1f47c0(0x420)](){var _0x4d5de9=_0x1f47c0,_0x1c66b0,_0x368ffb;const _0x4eaa9d=this[_0x4d5de9(0x295)][_0x4d5de9(0x37b)](Et),_0xfbc3e2=this['_configService']['getConfig'](Y);return(_0x368ffb=(_0x1c66b0=_0xfbc3e2==null?void 0x0:_0xfbc3e2[_0x4d5de9(0xf0)])!=null?_0x1c66b0:_0x4eaa9d)!=null?_0x368ffb:Yt;}};Oe=Ui([we(0x0,a[_0x1f47c0(0x26a)]),we(0x1,a[_0x1f47c0(0x273)](q[_0x1f47c0(0x120)])),we(0x2,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x3ae)]))],Oe);var Pi=Object[_0x1f47c0(0x269)],Ai=(_0x588556,_0x41ef39,_0x506996,_0x268a10)=>{for(var _0x5681eb=_0x268a10>0x1?void 0x0:_0x268a10?Pi(_0x41ef39,_0x506996):_0x41ef39,_0x170b79=_0x588556['length']-0x1,_0xe0b6ef;_0x170b79>=0x0;_0x170b79--)(_0xe0b6ef=_0x588556[_0x170b79])&&(_0x5681eb=_0xe0b6ef(_0x5681eb)||_0x5681eb);return _0x5681eb;},Xe=(_0x447ee4,_0x4e4b70)=>(_0x15e539,_0x4bdb2a)=>_0x4e4b70(_0x15e539,_0x4bdb2a,_0x447ee4);const Ve=_0x1f47c0(0x2bb),wi=_0x1f47c0(0x1da);exports[_0x1f47c0(0x26c)]=class extends a[_0x1f47c0(0x2ee)]{constructor(_0x371c85,_0xde5204){var _0xe836a6=_0x1f47c0;super(),this['_HTTPService']=_0x371c85,this[_0xe836a6(0x295)]=_0xde5204,this[_0xe836a6(0x2bd)]();}[_0x1f47c0(0x2bd)](){var _0xb4076c=_0x1f47c0;const _0x29156c=this;this[_0xb4076c(0x423)](this['_HTTPService'][_0xb4076c(0x2f4)]({'priority':0x3e7,'interceptor':q[_0xb4076c(0x2fb)]({'isMatch'(_0x4dc96f){var _0x4c2ee0=_0xb4076c,_0x1deac4;if(_0x4dc96f[_0x4c2ee0(0x364)]===_0x4c2ee0(0x144)&&((_0x1deac4=_0x4dc96f['requestParams'])!=null&&_0x1deac4[_0x4c2ee0(0x3b8)])){const {objectID:_0x542b65,objectType:_0x38ccc6}=_0x4dc96f[_0x4c2ee0(0x3dd)][_0x4c2ee0(0x3b8)]||{};if(!_0x542b65||_0x38ccc6===void 0x0)return!0x1;const _0x1100f7=_0x29156c[_0x4c2ee0(0x219)]()+'/'+_0x38ccc6+_0x4c2ee0(0x1df)+_0x542b65+_0x4c2ee0(0x1e8);if(_0x4dc96f['url']===_0x1100f7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x47bf4a){var _0x52154c=_0xb4076c,_0x2b3296;return(_0x2b3296=_0x47bf4a[_0x52154c(0x3dd)])==null?void 0x0:_0x2b3296[_0x52154c(0x3b8)];},'mergeParamsToRequest'(_0x3df2a7,_0x466b47){var _0x4b383f=_0xb4076c;const _0x789814=_0x29156c[_0x4b383f(0x219)]()+'/-/object/-/batch_allowed',_0x1b6b7c=_0x3df2a7[_0x4b383f(0x3af)]((_0x36756a,_0x3bde7c)=>{var _0x3e18a1=_0x4b383f;const {unitID:_0x52d03f,objectID:_0x228917,objectType:_0x5cec57,actions:_0x48ea99}=_0x3bde7c;return _0x36756a[_0x52d03f]||(_0x36756a[_0x52d03f]={}),_0x36756a[_0x52d03f][_0x228917]||(_0x36756a[_0x52d03f][_0x228917]={'objectID':_0x228917,'objectType':_0x5cec57,'actions':[]}),_0x36756a[_0x52d03f][_0x228917][_0x3e18a1(0x2b2)][_0x3e18a1(0x1b6)](..._0x48ea99),_0x36756a;},{}),_0x4f40e9=[];for(const _0x13e269 in _0x1b6b7c)for(const _0x18cd21 in _0x1b6b7c[_0x13e269]){const {actions:_0x893d43,objectType:_0x4366fd}=_0x1b6b7c[_0x13e269][_0x18cd21],_0x131953=[...new Set(_0x893d43)];_0x4f40e9[_0x4b383f(0x1b6)]({'unitID':_0x13e269,'objectID':_0x18cd21,'objectType':_0x4366fd,'actions':_0x131953});}return new q['HTTPRequest'](_0x4b383f(0x144),_0x789814,{'headers':_0x466b47[_0x4b383f(0x276)],'withCredentials':_0x466b47[_0x4b383f(0x341)],'responseType':_0x466b47[_0x4b383f(0x3b9)],'body':{'requests':_0x4f40e9}});}},{'distributeResult'(_0x5d3873,_0x5cb1bf){var _0x30bdea=_0xb4076c;const {objectActions:_0x38bd0d}=_0x5d3873;return _0x5cb1bf[_0x30bdea(0x191)](_0x4f367b=>{var _0x339642=_0x30bdea;const {unitID:_0x334261,objectID:_0x50b280,actions:_0x5eaf40}=_0x4f367b,_0x233d8e=_0x38bd0d[_0x339642(0x24b)](_0x3a2bf8=>_0x3a2bf8[_0x339642(0x1ea)]===_0x334261&&_0x3a2bf8[_0x339642(0x2be)]===_0x50b280),_0x3786d9=_0x5eaf40[_0x339642(0x191)](_0x2f4d22=>_0x233d8e==null?void 0x0:_0x233d8e['actions'][_0x339642(0x24b)](_0x1c5e10=>_0x1c5e10['action']===_0x2f4d22))['filter'](_0x382bcf=>!!_0x382bcf);return{'config':_0x4f367b,'result':{'actions':_0x3786d9,'error':_0x5d3873['error']}};});}})}));}[_0x1f47c0(0x219)](){var _0xb51412=_0x1f47c0,_0x185197,_0x518b81;const _0x4de65a=this[_0xb51412(0x295)][_0xb51412(0x37b)](Ve),_0x3e97ac=this[_0xb51412(0x295)][_0xb51412(0x37b)](Y);return(_0x518b81=(_0x185197=_0x3e97ac==null?void 0x0:_0x3e97ac[_0xb51412(0x428)])!=null?_0x185197:_0x4de65a)!=null?_0x518b81:wi;}async[_0x1f47c0(0x172)](_0x53d569){var _0x563b11=_0x1f47c0;const _0x5aa44c=this[_0x563b11(0x219)]()+'/'+_0x53d569[_0x563b11(0x1a8)]+_0x563b11(0x205);return(await this[_0x563b11(0x163)]['post'](_0x5aa44c,{'body':_0x53d569}))['body']['objectID']||'';}async[_0x1f47c0(0x390)](_0x38121f){var _0x597c24=_0x1f47c0;const _0x38bd3f=this[_0x597c24(0x219)]()+_0x597c24(0x3a3);return(await this[_0x597c24(0x163)][_0x597c24(0x3f9)](_0x38bd3f,{'body':_0x38121f}))['body']['objects'];}async[_0x1f47c0(0x450)](_0x5747d2){var _0x3245fe=_0x1f47c0,_0xe8b0,_0x37a8d0;const _0xf067bd=this[_0x3245fe(0x219)]()+'/'+_0x5747d2[_0x3245fe(0x1a8)]+_0x3245fe(0x1df)+_0x5747d2['objectID'],_0x324abe=await this[_0x3245fe(0x163)][_0x3245fe(0x2ae)](_0xf067bd,{'body':_0x5747d2});if(((_0x37a8d0=(_0xe8b0=_0x324abe==null?void 0x0:_0x324abe['body'])==null?void 0x0:_0xe8b0[_0x3245fe(0x13e)])==null?void 0x0:_0x37a8d0[_0x3245fe(0x213)])!==0x0)throw new Error(_0x3245fe(0x238));}async[_0x1f47c0(0x279)](_0x272955){var _0x2f6a58=_0x1f47c0;const _0x4cf25c=this['_getAPIPrefixPath']()+'/'+_0x272955[_0x2f6a58(0x1a8)]+'/object/'+_0x272955[_0x2f6a58(0x2be)]+_0x2f6a58(0x1e8);return(await this['_HTTPService'][_0x2f6a58(0x3f9)](_0x4cf25c,{'body':_0x272955}))[_0x2f6a58(0x3b8)][_0x2f6a58(0x2b2)];}async[_0x1f47c0(0x382)](_0x33b300){var _0x3ef91c=_0x1f47c0;const _0x26acb2=this['_getAPIPrefixPath']()+_0x3ef91c(0x11e);return(await this['_HTTPService'][_0x3ef91c(0x3f9)](_0x26acb2,{'body':{'requests':_0x33b300}}))[_0x3ef91c(0x3b8)][_0x3ef91c(0x350)];}async['listRoles'](_0x1f328a){var _0x10ae4e=_0x1f47c0;const _0x1ea6b9=this['_getAPIPrefixPath']()+'/'+_0x1f328a[_0x10ae4e(0x1a8)]+'/role',_0x39381f=await this[_0x10ae4e(0x163)]['post'](_0x1ea6b9,{'body':_0x1f328a});return{'roles':_0x39381f[_0x10ae4e(0x3b8)]['roles'],'actions':_0x39381f[_0x10ae4e(0x3b8)]['actions']};}async[_0x1f47c0(0x387)](_0x2600b1){var _0x140275=_0x1f47c0;const _0xaa0319=this[_0x140275(0x219)]()+'/collaborator';await this[_0x140275(0x163)][_0x140275(0x164)](_0xaa0319,{'params':{'collaboratorID':_0x2600b1[_0x140275(0x33c)],'objectID':_0x2600b1[_0x140275(0x2be)],'unitID':_0x2600b1[_0x140275(0x1ea)]}});}async[_0x1f47c0(0x19d)](_0x54d255){var _0x4489b4=_0x1f47c0;const _0x4a5e62=this['_getAPIPrefixPath']()+_0x4489b4(0x416);await this[_0x4489b4(0x163)]['patch'](_0x4a5e62,{'body':_0x54d255});}async[_0x1f47c0(0x2fa)](_0xf6c773){var _0x3b5d49=_0x1f47c0;const _0x57a9c5=this[_0x3b5d49(0x219)]()+_0x3b5d49(0x416);await this[_0x3b5d49(0x163)][_0x3b5d49(0x3f9)](_0x57a9c5,{'body':_0xf6c773});}async[_0x1f47c0(0x19e)](_0x27cced){var _0x396423=_0x1f47c0;const _0x3c6f60=this[_0x396423(0x219)]()+_0x396423(0x416);return(await this[_0x396423(0x163)][_0x396423(0x15f)](_0x3c6f60,{'params':{'objectID':_0x27cced[_0x396423(0x2be)],'unitID':_0x27cced[_0x396423(0x1ea)]}}))[_0x396423(0x3b8)]['collaborators'];}async[_0x1f47c0(0x174)](_0x56d943){var _0x23b1f7=_0x1f47c0;const _0x4df96d=this[_0x23b1f7(0x219)]()+_0x23b1f7(0x416);await this[_0x23b1f7(0x163)][_0x23b1f7(0x2ae)](_0x4df96d,{'body':_0x56d943});}},exports[_0x1f47c0(0x26c)]=Ai([Xe(0x0,a[_0x1f47c0(0x273)](q['HTTPService'])),Xe(0x1,a['Inject'](a['IConfigService']))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x162a64){var _0x119d34=_0x1f47c0;return _0x162a64&&_0x162a64[_0x119d34(0x101)]&&Object[_0x119d34(0x2a8)][_0x119d34(0x15d)]['call'](_0x162a64,'default')?_0x162a64[_0x119d34(0x2f0)]:_0x162a64;}var fe={'exports':{}};function Li(_0x29cf79){var _0x37fa9d=_0x1f47c0;throw new Error(_0x37fa9d(0x204)+_0x29cf79+_0x37fa9d(0x254));}var pe={'exports':{}},Mi=pe[_0x1f47c0(0x17c)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x1dbc74,_0x1d8f8d){(function(_0x4cf8aa,_0x2139cf){var _0xe3741a=_0x5763;_0x1dbc74[_0xe3741a(0x17c)]=_0x2139cf();}(Mi,function(){var _0x4a1017=_0x4a1017||function(_0x1ddd39,_0x198caf){var _0x17c4af=_0x5763,_0x4206de;if(typeof window<'u'&&window[_0x17c4af(0x412)]&&(_0x4206de=window['crypto']),typeof self<'u'&&self[_0x17c4af(0x412)]&&(_0x4206de=self[_0x17c4af(0x412)]),typeof globalThis<'u'&&globalThis[_0x17c4af(0x412)]&&(_0x4206de=globalThis[_0x17c4af(0x412)]),!_0x4206de&&typeof window<'u'&&window[_0x17c4af(0x419)]&&(_0x4206de=window[_0x17c4af(0x419)]),!_0x4206de&&typeof Le<'u'&&Le[_0x17c4af(0x412)]&&(_0x4206de=Le[_0x17c4af(0x412)]),!_0x4206de&&typeof Li==_0x17c4af(0x347))try{_0x4206de=require(_0x17c4af(0x412));}catch{}var _0xaa2b90=function(){var _0x1313ca=_0x17c4af;if(_0x4206de){if(typeof _0x4206de[_0x1313ca(0x3b0)]==_0x1313ca(0x347))try{return _0x4206de['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4206de[_0x1313ca(0x3bf)]==_0x1313ca(0x347))try{return _0x4206de[_0x1313ca(0x3bf)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5c95cd=Object[_0x17c4af(0x172)]||(function(){function _0x3e545e(){}return function(_0x2c2f62){var _0x2599d1=_0x5763,_0x612d03;return _0x3e545e[_0x2599d1(0x2a8)]=_0x2c2f62,_0x612d03=new _0x3e545e(),_0x3e545e['prototype']=null,_0x612d03;};}()),_0x1311fa={},_0x445495=_0x1311fa[_0x17c4af(0x30d)]={},_0xdbac72=_0x445495[_0x17c4af(0x247)]=(function(){return{'extend':function(_0x277bc9){var _0x4d2913=_0x5763,_0xb65977=_0x5c95cd(this);return _0x277bc9&&_0xb65977['mixIn'](_0x277bc9),(!_0xb65977[_0x4d2913(0x15d)](_0x4d2913(0x150))||this[_0x4d2913(0x150)]===_0xb65977[_0x4d2913(0x150)])&&(_0xb65977[_0x4d2913(0x150)]=function(){var _0x11478f=_0x4d2913;_0xb65977[_0x11478f(0x33b)]['init'][_0x11478f(0x23c)](this,arguments);}),_0xb65977[_0x4d2913(0x150)][_0x4d2913(0x2a8)]=_0xb65977,_0xb65977['$super']=this,_0xb65977;},'create':function(){var _0x3b9114=_0x5763,_0x30b50a=this[_0x3b9114(0x16f)]();return _0x30b50a[_0x3b9114(0x150)][_0x3b9114(0x23c)](_0x30b50a,arguments),_0x30b50a;},'init':function(){},'mixIn':function(_0x4d4692){var _0x52b2a2=_0x5763;for(var _0x121991 in _0x4d4692)_0x4d4692[_0x52b2a2(0x15d)](_0x121991)&&(this[_0x121991]=_0x4d4692[_0x121991]);_0x4d4692[_0x52b2a2(0x15d)](_0x52b2a2(0x21b))&&(this[_0x52b2a2(0x21b)]=_0x4d4692[_0x52b2a2(0x21b)]);},'clone':function(){var _0x2bc37c=_0x5763;return this['init'][_0x2bc37c(0x2a8)][_0x2bc37c(0x16f)](this);}};}()),_0x56c6a1=_0x445495['WordArray']=_0xdbac72[_0x17c4af(0x16f)]({'init':function(_0x237b74,_0x10203e){var _0x1e97b7=_0x17c4af;_0x237b74=this[_0x1e97b7(0x376)]=_0x237b74||[],_0x10203e!=_0x198caf?this[_0x1e97b7(0x44a)]=_0x10203e:this['sigBytes']=_0x237b74[_0x1e97b7(0x43c)]*0x4;},'toString':function(_0x123bc7){var _0xa2dcf4=_0x17c4af;return(_0x123bc7||_0x45d9ce)[_0xa2dcf4(0x1e9)](this);},'concat':function(_0x3eb17d){var _0x2e40b3=_0x17c4af,_0x15dce0=this[_0x2e40b3(0x376)],_0x2fa681=_0x3eb17d[_0x2e40b3(0x376)],_0x3ec578=this[_0x2e40b3(0x44a)],_0x28f3c1=_0x3eb17d['sigBytes'];if(this['clamp'](),_0x3ec578%0x4)for(var _0x4694cf=0x0;_0x4694cf<_0x28f3c1;_0x4694cf++){var _0xc278d=_0x2fa681[_0x4694cf>>>0x2]>>>0x18-_0x4694cf%0x4*0x8&0xff;_0x15dce0[_0x3ec578+_0x4694cf>>>0x2]|=_0xc278d<<0x18-(_0x3ec578+_0x4694cf)%0x4*0x8;}else{for(var _0x2a5aa7=0x0;_0x2a5aa7<_0x28f3c1;_0x2a5aa7+=0x4)_0x15dce0[_0x3ec578+_0x2a5aa7>>>0x2]=_0x2fa681[_0x2a5aa7>>>0x2];}return this[_0x2e40b3(0x44a)]+=_0x28f3c1,this;},'clamp':function(){var _0x26cc05=_0x17c4af,_0x474e43=this[_0x26cc05(0x376)],_0x466ace=this[_0x26cc05(0x44a)];_0x474e43[_0x466ace>>>0x2]&=0xffffffff<<0x20-_0x466ace%0x4*0x8,_0x474e43['length']=_0x1ddd39['ceil'](_0x466ace/0x4);},'clone':function(){var _0x4c447b=_0x17c4af,_0x448d60=_0xdbac72[_0x4c447b(0x11d)]['call'](this);return _0x448d60[_0x4c447b(0x376)]=this['words'][_0x4c447b(0x193)](0x0),_0x448d60;},'random':function(_0xf3bd8e){var _0x28d244=_0x17c4af;for(var _0x1d2698=[],_0x2b517d=0x0;_0x2b517d<_0xf3bd8e;_0x2b517d+=0x4)_0x1d2698[_0x28d244(0x1b6)](_0xaa2b90());return new _0x56c6a1[(_0x28d244(0x150))](_0x1d2698,_0xf3bd8e);}}),_0x3b48b8=_0x1311fa[_0x17c4af(0x374)]={},_0x45d9ce=_0x3b48b8['Hex']={'stringify':function(_0x4495c0){var _0x5db4da=_0x17c4af;for(var _0x449c8b=_0x4495c0[_0x5db4da(0x376)],_0x5841b6=_0x4495c0[_0x5db4da(0x44a)],_0x1fd17a=[],_0x3ecc2e=0x0;_0x3ecc2e<_0x5841b6;_0x3ecc2e++){var _0x5668c9=_0x449c8b[_0x3ecc2e>>>0x2]>>>0x18-_0x3ecc2e%0x4*0x8&0xff;_0x1fd17a[_0x5db4da(0x1b6)]((_0x5668c9>>>0x4)['toString'](0x10)),_0x1fd17a[_0x5db4da(0x1b6)]((_0x5668c9&0xf)[_0x5db4da(0x21b)](0x10));}return _0x1fd17a[_0x5db4da(0x3e2)]('');},'parse':function(_0x4ced4d){var _0x2bf903=_0x17c4af;for(var _0x3640b9=_0x4ced4d[_0x2bf903(0x43c)],_0xa18822=[],_0x285107=0x0;_0x285107<_0x3640b9;_0x285107+=0x2)_0xa18822[_0x285107>>>0x3]|=parseInt(_0x4ced4d[_0x2bf903(0x3a2)](_0x285107,0x2),0x10)<<0x18-_0x285107%0x8*0x4;return new _0x56c6a1[(_0x2bf903(0x150))](_0xa18822,_0x3640b9/0x2);}},_0x231941=_0x3b48b8[_0x17c4af(0x3b6)]={'stringify':function(_0x95c4b3){var _0x392ee9=_0x17c4af;for(var _0x379379=_0x95c4b3[_0x392ee9(0x376)],_0x2211e6=_0x95c4b3[_0x392ee9(0x44a)],_0x855238=[],_0x28c15e=0x0;_0x28c15e<_0x2211e6;_0x28c15e++){var _0x5c7850=_0x379379[_0x28c15e>>>0x2]>>>0x18-_0x28c15e%0x4*0x8&0xff;_0x855238[_0x392ee9(0x1b6)](String[_0x392ee9(0x39d)](_0x5c7850));}return _0x855238[_0x392ee9(0x3e2)]('');},'parse':function(_0x20f112){var _0x3a26a1=_0x17c4af;for(var _0x43219c=_0x20f112[_0x3a26a1(0x43c)],_0x411ece=[],_0x40434e=0x0;_0x40434e<_0x43219c;_0x40434e++)_0x411ece[_0x40434e>>>0x2]|=(_0x20f112[_0x3a26a1(0x2e7)](_0x40434e)&0xff)<<0x18-_0x40434e%0x4*0x8;return new _0x56c6a1[(_0x3a26a1(0x150))](_0x411ece,_0x43219c);}},_0xf93a52=_0x3b48b8[_0x17c4af(0x3b3)]={'stringify':function(_0x21bb59){var _0x30898=_0x17c4af;try{return decodeURIComponent(escape(_0x231941[_0x30898(0x1e9)](_0x21bb59)));}catch{throw new Error(_0x30898(0x323));}},'parse':function(_0x580934){var _0xaebfa9=_0x17c4af;return _0x231941[_0xaebfa9(0x11b)](unescape(encodeURIComponent(_0x580934)));}},_0x524e93=_0x445495['BufferedBlockAlgorithm']=_0xdbac72[_0x17c4af(0x16f)]({'reset':function(){var _0x3f6fd8=_0x17c4af;this['_data']=new _0x56c6a1[(_0x3f6fd8(0x150))](),this[_0x3f6fd8(0x25e)]=0x0;},'_append':function(_0x53dac1){var _0xa920a1=_0x17c4af;typeof _0x53dac1=='string'&&(_0x53dac1=_0xf93a52['parse'](_0x53dac1)),this[_0xa920a1(0x2a9)][_0xa920a1(0x446)](_0x53dac1),this[_0xa920a1(0x25e)]+=_0x53dac1['sigBytes'];},'_process':function(_0x6e0a85){var _0xb50a65=_0x17c4af,_0x5d0829,_0x4f0c0a=this[_0xb50a65(0x2a9)],_0x482764=_0x4f0c0a['words'],_0x1a9092=_0x4f0c0a[_0xb50a65(0x44a)],_0x346dca=this['blockSize'],_0x34bfed=_0x346dca*0x4,_0x4e73db=_0x1a9092/_0x34bfed;_0x6e0a85?_0x4e73db=_0x1ddd39[_0xb50a65(0x241)](_0x4e73db):_0x4e73db=_0x1ddd39['max']((_0x4e73db|0x0)-this[_0xb50a65(0x192)],0x0);var _0x45f9f0=_0x4e73db*_0x346dca,_0x532548=_0x1ddd39[_0xb50a65(0x167)](_0x45f9f0*0x4,_0x1a9092);if(_0x45f9f0){for(var _0x8f7cdb=0x0;_0x8f7cdb<_0x45f9f0;_0x8f7cdb+=_0x346dca)this['_doProcessBlock'](_0x482764,_0x8f7cdb);_0x5d0829=_0x482764['splice'](0x0,_0x45f9f0),_0x4f0c0a['sigBytes']-=_0x532548;}return new _0x56c6a1[(_0xb50a65(0x150))](_0x5d0829,_0x532548);},'clone':function(){var _0xe8ec48=_0x17c4af,_0x4c2851=_0xdbac72['clone'][_0xe8ec48(0x24d)](this);return _0x4c2851[_0xe8ec48(0x2a9)]=this[_0xe8ec48(0x2a9)][_0xe8ec48(0x11d)](),_0x4c2851;},'_minBufferSize':0x0});_0x445495[_0x17c4af(0x232)]=_0x524e93['extend']({'cfg':_0xdbac72['extend'](),'init':function(_0x3380a1){var _0x1cace0=_0x17c4af;this['cfg']=this[_0x1cace0(0x30a)][_0x1cace0(0x16f)](_0x3380a1),this[_0x1cace0(0x2cf)]();},'reset':function(){var _0x27d856=_0x17c4af;_0x524e93['reset'][_0x27d856(0x24d)](this),this[_0x27d856(0x1d8)]();},'update':function(_0x12a764){return this['_append'](_0x12a764),this['_process'](),this;},'finalize':function(_0x3a035f){var _0x386343=_0x17c4af;_0x3a035f&&this['_append'](_0x3a035f);var _0x1f3811=this[_0x386343(0x42d)]();return _0x1f3811;},'blockSize':0x10,'_createHelper':function(_0x4fd488){return function(_0x5a4b06,_0x127e13){var _0x10532a=_0x5763;return new _0x4fd488[(_0x10532a(0x150))](_0x127e13)[_0x10532a(0x2c3)](_0x5a4b06);};},'_createHmacHelper':function(_0x4d13da){return function(_0x324b8b,_0x5c5923){var _0x1819ea=_0x5763;return new _0x1e3d4e[(_0x1819ea(0x1cb))]['init'](_0x4d13da,_0x5c5923)[_0x1819ea(0x2c3)](_0x324b8b);};}});var _0x1e3d4e=_0x1311fa[_0x17c4af(0x36e)]={};return _0x1311fa;}(Math);return _0x4a1017;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x1f47c0(0x17c)],Qe;function Ut(){var _0x4ceefc=_0x1f47c0;return Qe||(Qe=0x1,function(_0x3457d4,_0x1b0492){(function(_0x374ef1,_0x3166de){var _0x4533d3=_0x5763;_0x3457d4[_0x4533d3(0x17c)]=_0x3166de(ee());}(xi,function(_0x2a36e8){var _0x2f47d7=_0x5763;return(function(){var _0x55d645=_0x5763,_0x2907e0=_0x2a36e8,_0x439ad8=_0x2907e0[_0x55d645(0x30d)],_0x39850b=_0x439ad8[_0x55d645(0x40a)],_0x52e94d=_0x2907e0[_0x55d645(0x374)];_0x52e94d['Base64']={'stringify':function(_0x546790){var _0x5a97c0=_0x55d645,_0x3e0e37=_0x546790[_0x5a97c0(0x376)],_0x405ed3=_0x546790[_0x5a97c0(0x44a)],_0x25a288=this[_0x5a97c0(0x112)];_0x546790['clamp']();for(var _0x12fafc=[],_0x35cc47=0x0;_0x35cc47<_0x405ed3;_0x35cc47+=0x3)for(var _0x406f33=_0x3e0e37[_0x35cc47>>>0x2]>>>0x18-_0x35cc47%0x4*0x8&0xff,_0x55e0b5=_0x3e0e37[_0x35cc47+0x1>>>0x2]>>>0x18-(_0x35cc47+0x1)%0x4*0x8&0xff,_0x3d7a47=_0x3e0e37[_0x35cc47+0x2>>>0x2]>>>0x18-(_0x35cc47+0x2)%0x4*0x8&0xff,_0x22c5de=_0x406f33<<0x10|_0x55e0b5<<0x8|_0x3d7a47,_0x1f09e4=0x0;_0x1f09e4<0x4&&_0x35cc47+_0x1f09e4*0.75<_0x405ed3;_0x1f09e4++)_0x12fafc[_0x5a97c0(0x1b6)](_0x25a288[_0x5a97c0(0x422)](_0x22c5de>>>0x6*(0x3-_0x1f09e4)&0x3f));var _0x263109=_0x25a288[_0x5a97c0(0x422)](0x40);if(_0x263109){for(;_0x12fafc[_0x5a97c0(0x43c)]%0x4;)_0x12fafc['push'](_0x263109);}return _0x12fafc['join']('');},'parse':function(_0x53e1e3){var _0x132f1e=_0x55d645,_0x204b4f=_0x53e1e3[_0x132f1e(0x43c)],_0x377540=this[_0x132f1e(0x112)],_0x1d111e=this[_0x132f1e(0x2d3)];if(!_0x1d111e){_0x1d111e=this['_reverseMap']=[];for(var _0x492a6b=0x0;_0x492a6b<_0x377540['length'];_0x492a6b++)_0x1d111e[_0x377540[_0x132f1e(0x2e7)](_0x492a6b)]=_0x492a6b;}var _0x5cb9fa=_0x377540[_0x132f1e(0x422)](0x40);if(_0x5cb9fa){var _0x4de5b5=_0x53e1e3[_0x132f1e(0x119)](_0x5cb9fa);_0x4de5b5!==-0x1&&(_0x204b4f=_0x4de5b5);}return _0x57e595(_0x53e1e3,_0x204b4f,_0x1d111e);},'_map':_0x55d645(0x2fe)};function _0x57e595(_0x2a3ff3,_0x47b67e,_0x14f224){var _0x2d7ec4=_0x55d645;for(var _0x46279e=[],_0x31328d=0x0,_0x3a76a2=0x0;_0x3a76a2<_0x47b67e;_0x3a76a2++)if(_0x3a76a2%0x4){var _0x226e8a=_0x14f224[_0x2a3ff3[_0x2d7ec4(0x2e7)](_0x3a76a2-0x1)]<<_0x3a76a2%0x4*0x2,_0x5c0d74=_0x14f224[_0x2a3ff3[_0x2d7ec4(0x2e7)](_0x3a76a2)]>>>0x6-_0x3a76a2%0x4*0x2,_0x457036=_0x226e8a|_0x5c0d74;_0x46279e[_0x31328d>>>0x2]|=_0x457036<<0x18-_0x31328d%0x4*0x8,_0x31328d++;}return _0x39850b[_0x2d7ec4(0x172)](_0x46279e,_0x31328d);}}()),_0x2a36e8[_0x2f47d7(0x374)]['Base64'];}));}(ge)),ge[_0x4ceefc(0x17c)];}var me={'exports':{}},ki=me[_0x1f47c0(0x17c)],et;function Hi(){return et||(et=0x1,function(_0x3e8cba,_0x50662c){(function(_0x2b0308,_0x46827f){_0x3e8cba['exports']=_0x46827f(ee());}(ki,function(_0x1d2f8e){return function(_0x124ea3){var _0x1fe417=_0x5763,_0x39e586=_0x1d2f8e,_0x328f30=_0x39e586['lib'],_0x40d83=_0x328f30[_0x1fe417(0x40a)],_0x379921=_0x328f30[_0x1fe417(0x232)],_0x58c6a4=_0x39e586[_0x1fe417(0x36e)],_0x3922b6=[];(function(){var _0x53af86=_0x1fe417;for(var _0x45652b=0x0;_0x45652b<0x40;_0x45652b++)_0x3922b6[_0x45652b]=_0x124ea3[_0x53af86(0x1d6)](_0x124ea3[_0x53af86(0x124)](_0x45652b+0x1))*0x100000000|0x0;}());var _0x3166f1=_0x58c6a4[_0x1fe417(0x3e3)]=_0x379921['extend']({'_doReset':function(){var _0x2228f2=_0x1fe417;this[_0x2228f2(0x14e)]=new _0x40d83[(_0x2228f2(0x150))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56d052,_0x1ee583){var _0x5b4933=_0x1fe417;for(var _0x1be98d=0x0;_0x1be98d<0x10;_0x1be98d++){var _0x3d81b3=_0x1ee583+_0x1be98d,_0x399bcc=_0x56d052[_0x3d81b3];_0x56d052[_0x3d81b3]=(_0x399bcc<<0x8|_0x399bcc>>>0x18)&0xff00ff|(_0x399bcc<<0x18|_0x399bcc>>>0x8)&0xff00ff00;}var _0x2e1b63=this[_0x5b4933(0x14e)]['words'],_0x1b4307=_0x56d052[_0x1ee583+0x0],_0x10615e=_0x56d052[_0x1ee583+0x1],_0x3ca2b8=_0x56d052[_0x1ee583+0x2],_0x231aa4=_0x56d052[_0x1ee583+0x3],_0x2e81ac=_0x56d052[_0x1ee583+0x4],_0x24d4fd=_0x56d052[_0x1ee583+0x5],_0x3c1662=_0x56d052[_0x1ee583+0x6],_0xa567b3=_0x56d052[_0x1ee583+0x7],_0x52941b=_0x56d052[_0x1ee583+0x8],_0x595116=_0x56d052[_0x1ee583+0x9],_0x55dc83=_0x56d052[_0x1ee583+0xa],_0x1e707f=_0x56d052[_0x1ee583+0xb],_0x29bfb5=_0x56d052[_0x1ee583+0xc],_0x4a423d=_0x56d052[_0x1ee583+0xd],_0x2d6322=_0x56d052[_0x1ee583+0xe],_0x3199b2=_0x56d052[_0x1ee583+0xf],_0x30fb13=_0x2e1b63[0x0],_0x20ea8a=_0x2e1b63[0x1],_0x16fd9c=_0x2e1b63[0x2],_0x61da5c=_0x2e1b63[0x3];_0x30fb13=_0x1a131a(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x1b4307,0x7,_0x3922b6[0x0]),_0x61da5c=_0x1a131a(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x10615e,0xc,_0x3922b6[0x1]),_0x16fd9c=_0x1a131a(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3ca2b8,0x11,_0x3922b6[0x2]),_0x20ea8a=_0x1a131a(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x231aa4,0x16,_0x3922b6[0x3]),_0x30fb13=_0x1a131a(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x2e81ac,0x7,_0x3922b6[0x4]),_0x61da5c=_0x1a131a(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x24d4fd,0xc,_0x3922b6[0x5]),_0x16fd9c=_0x1a131a(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3c1662,0x11,_0x3922b6[0x6]),_0x20ea8a=_0x1a131a(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0xa567b3,0x16,_0x3922b6[0x7]),_0x30fb13=_0x1a131a(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x52941b,0x7,_0x3922b6[0x8]),_0x61da5c=_0x1a131a(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x595116,0xc,_0x3922b6[0x9]),_0x16fd9c=_0x1a131a(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x55dc83,0x11,_0x3922b6[0xa]),_0x20ea8a=_0x1a131a(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x1e707f,0x16,_0x3922b6[0xb]),_0x30fb13=_0x1a131a(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x29bfb5,0x7,_0x3922b6[0xc]),_0x61da5c=_0x1a131a(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x4a423d,0xc,_0x3922b6[0xd]),_0x16fd9c=_0x1a131a(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x2d6322,0x11,_0x3922b6[0xe]),_0x20ea8a=_0x1a131a(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x3199b2,0x16,_0x3922b6[0xf]),_0x30fb13=_0x3d0719(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x10615e,0x5,_0x3922b6[0x10]),_0x61da5c=_0x3d0719(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x3c1662,0x9,_0x3922b6[0x11]),_0x16fd9c=_0x3d0719(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x1e707f,0xe,_0x3922b6[0x12]),_0x20ea8a=_0x3d0719(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x1b4307,0x14,_0x3922b6[0x13]),_0x30fb13=_0x3d0719(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x24d4fd,0x5,_0x3922b6[0x14]),_0x61da5c=_0x3d0719(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x55dc83,0x9,_0x3922b6[0x15]),_0x16fd9c=_0x3d0719(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3199b2,0xe,_0x3922b6[0x16]),_0x20ea8a=_0x3d0719(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x2e81ac,0x14,_0x3922b6[0x17]),_0x30fb13=_0x3d0719(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x595116,0x5,_0x3922b6[0x18]),_0x61da5c=_0x3d0719(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x2d6322,0x9,_0x3922b6[0x19]),_0x16fd9c=_0x3d0719(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x231aa4,0xe,_0x3922b6[0x1a]),_0x20ea8a=_0x3d0719(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x52941b,0x14,_0x3922b6[0x1b]),_0x30fb13=_0x3d0719(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x4a423d,0x5,_0x3922b6[0x1c]),_0x61da5c=_0x3d0719(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x3ca2b8,0x9,_0x3922b6[0x1d]),_0x16fd9c=_0x3d0719(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0xa567b3,0xe,_0x3922b6[0x1e]),_0x20ea8a=_0x3d0719(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x29bfb5,0x14,_0x3922b6[0x1f]),_0x30fb13=_0x53b4cb(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x24d4fd,0x4,_0x3922b6[0x20]),_0x61da5c=_0x53b4cb(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x52941b,0xb,_0x3922b6[0x21]),_0x16fd9c=_0x53b4cb(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x1e707f,0x10,_0x3922b6[0x22]),_0x20ea8a=_0x53b4cb(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x2d6322,0x17,_0x3922b6[0x23]),_0x30fb13=_0x53b4cb(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x10615e,0x4,_0x3922b6[0x24]),_0x61da5c=_0x53b4cb(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x2e81ac,0xb,_0x3922b6[0x25]),_0x16fd9c=_0x53b4cb(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0xa567b3,0x10,_0x3922b6[0x26]),_0x20ea8a=_0x53b4cb(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x55dc83,0x17,_0x3922b6[0x27]),_0x30fb13=_0x53b4cb(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x4a423d,0x4,_0x3922b6[0x28]),_0x61da5c=_0x53b4cb(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x1b4307,0xb,_0x3922b6[0x29]),_0x16fd9c=_0x53b4cb(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x231aa4,0x10,_0x3922b6[0x2a]),_0x20ea8a=_0x53b4cb(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x3c1662,0x17,_0x3922b6[0x2b]),_0x30fb13=_0x53b4cb(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x595116,0x4,_0x3922b6[0x2c]),_0x61da5c=_0x53b4cb(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x29bfb5,0xb,_0x3922b6[0x2d]),_0x16fd9c=_0x53b4cb(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3199b2,0x10,_0x3922b6[0x2e]),_0x20ea8a=_0x53b4cb(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x3ca2b8,0x17,_0x3922b6[0x2f]),_0x30fb13=_0x129f49(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x1b4307,0x6,_0x3922b6[0x30]),_0x61da5c=_0x129f49(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0xa567b3,0xa,_0x3922b6[0x31]),_0x16fd9c=_0x129f49(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x2d6322,0xf,_0x3922b6[0x32]),_0x20ea8a=_0x129f49(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x24d4fd,0x15,_0x3922b6[0x33]),_0x30fb13=_0x129f49(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x29bfb5,0x6,_0x3922b6[0x34]),_0x61da5c=_0x129f49(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x231aa4,0xa,_0x3922b6[0x35]),_0x16fd9c=_0x129f49(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x55dc83,0xf,_0x3922b6[0x36]),_0x20ea8a=_0x129f49(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x10615e,0x15,_0x3922b6[0x37]),_0x30fb13=_0x129f49(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x52941b,0x6,_0x3922b6[0x38]),_0x61da5c=_0x129f49(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x3199b2,0xa,_0x3922b6[0x39]),_0x16fd9c=_0x129f49(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3c1662,0xf,_0x3922b6[0x3a]),_0x20ea8a=_0x129f49(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x4a423d,0x15,_0x3922b6[0x3b]),_0x30fb13=_0x129f49(_0x30fb13,_0x20ea8a,_0x16fd9c,_0x61da5c,_0x2e81ac,0x6,_0x3922b6[0x3c]),_0x61da5c=_0x129f49(_0x61da5c,_0x30fb13,_0x20ea8a,_0x16fd9c,_0x1e707f,0xa,_0x3922b6[0x3d]),_0x16fd9c=_0x129f49(_0x16fd9c,_0x61da5c,_0x30fb13,_0x20ea8a,_0x3ca2b8,0xf,_0x3922b6[0x3e]),_0x20ea8a=_0x129f49(_0x20ea8a,_0x16fd9c,_0x61da5c,_0x30fb13,_0x595116,0x15,_0x3922b6[0x3f]),_0x2e1b63[0x0]=_0x2e1b63[0x0]+_0x30fb13|0x0,_0x2e1b63[0x1]=_0x2e1b63[0x1]+_0x20ea8a|0x0,_0x2e1b63[0x2]=_0x2e1b63[0x2]+_0x16fd9c|0x0,_0x2e1b63[0x3]=_0x2e1b63[0x3]+_0x61da5c|0x0;},'_doFinalize':function(){var _0x50b4bd=_0x1fe417,_0x4514cf=this[_0x50b4bd(0x2a9)],_0x2d2e4c=_0x4514cf[_0x50b4bd(0x376)],_0x2a7251=this[_0x50b4bd(0x25e)]*0x8,_0x2eadc6=_0x4514cf[_0x50b4bd(0x44a)]*0x8;_0x2d2e4c[_0x2eadc6>>>0x5]|=0x80<<0x18-_0x2eadc6%0x20;var _0x4c344d=_0x124ea3[_0x50b4bd(0x366)](_0x2a7251/0x100000000),_0x1e09d8=_0x2a7251;_0x2d2e4c[(_0x2eadc6+0x40>>>0x9<<0x4)+0xf]=(_0x4c344d<<0x8|_0x4c344d>>>0x18)&0xff00ff|(_0x4c344d<<0x18|_0x4c344d>>>0x8)&0xff00ff00,_0x2d2e4c[(_0x2eadc6+0x40>>>0x9<<0x4)+0xe]=(_0x1e09d8<<0x8|_0x1e09d8>>>0x18)&0xff00ff|(_0x1e09d8<<0x18|_0x1e09d8>>>0x8)&0xff00ff00,_0x4514cf['sigBytes']=(_0x2d2e4c[_0x50b4bd(0x43c)]+0x1)*0x4,this[_0x50b4bd(0x3d7)]();for(var _0x56e45d=this[_0x50b4bd(0x14e)],_0x2e9f13=_0x56e45d[_0x50b4bd(0x376)],_0xf5ded8=0x0;_0xf5ded8<0x4;_0xf5ded8++){var _0x2f6492=_0x2e9f13[_0xf5ded8];_0x2e9f13[_0xf5ded8]=(_0x2f6492<<0x8|_0x2f6492>>>0x18)&0xff00ff|(_0x2f6492<<0x18|_0x2f6492>>>0x8)&0xff00ff00;}return _0x56e45d;},'clone':function(){var _0x253d61=_0x1fe417,_0x1ed1cc=_0x379921[_0x253d61(0x11d)]['call'](this);return _0x1ed1cc[_0x253d61(0x14e)]=this['_hash']['clone'](),_0x1ed1cc;}});function _0x1a131a(_0x438eee,_0x35fc03,_0x4303d1,_0x16eda5,_0x25257b,_0x44ab94,_0x8da6d7){var _0x4530b6=_0x438eee+(_0x35fc03&_0x4303d1|~_0x35fc03&_0x16eda5)+_0x25257b+_0x8da6d7;return(_0x4530b6<<_0x44ab94|_0x4530b6>>>0x20-_0x44ab94)+_0x35fc03;}function _0x3d0719(_0x2c0fea,_0x37cdf5,_0x2e3c20,_0x39b01e,_0x4361b2,_0x5ecf8b,_0x111d3f){var _0xf7d513=_0x2c0fea+(_0x37cdf5&_0x39b01e|_0x2e3c20&~_0x39b01e)+_0x4361b2+_0x111d3f;return(_0xf7d513<<_0x5ecf8b|_0xf7d513>>>0x20-_0x5ecf8b)+_0x37cdf5;}function _0x53b4cb(_0x3d6a99,_0x48e082,_0x1dad18,_0x15058f,_0xaeb8e0,_0x567823,_0x2bdf01){var _0x20642a=_0x3d6a99+(_0x48e082^_0x1dad18^_0x15058f)+_0xaeb8e0+_0x2bdf01;return(_0x20642a<<_0x567823|_0x20642a>>>0x20-_0x567823)+_0x48e082;}function _0x129f49(_0x28300d,_0x319af3,_0x22e5a7,_0x500b83,_0x13a586,_0x4fc9a0,_0x4c3217){var _0x5e2b38=_0x28300d+(_0x22e5a7^(_0x319af3|~_0x500b83))+_0x13a586+_0x4c3217;return(_0x5e2b38<<_0x4fc9a0|_0x5e2b38>>>0x20-_0x4fc9a0)+_0x319af3;}_0x39e586[_0x1fe417(0x3e3)]=_0x379921[_0x1fe417(0x17b)](_0x3166f1),_0x39e586['HmacMD5']=_0x379921['_createHmacHelper'](_0x3166f1);}(Math),_0x1d2f8e['MD5'];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x375ef2=_0x1f47c0;return tt||(tt=0x1,function(_0x13a9a6,_0x4685d6){(function(_0x193c57,_0x10a4f9){var _0x1bb4bb=_0x5763;_0x13a9a6[_0x1bb4bb(0x17c)]=_0x10a4f9(ee());}(ji,function(_0x134ff8){return(function(){var _0x171948=_0x5763,_0x2f8057=_0x134ff8,_0x5779f1=_0x2f8057[_0x171948(0x30d)],_0x262181=_0x5779f1['WordArray'],_0x4009df=_0x5779f1[_0x171948(0x232)],_0x38b308=_0x2f8057[_0x171948(0x36e)],_0x2fcf28=[],_0x168f27=_0x38b308[_0x171948(0x151)]=_0x4009df['extend']({'_doReset':function(){var _0x36a145=_0x171948;this[_0x36a145(0x14e)]=new _0x262181[(_0x36a145(0x150))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a0254,_0x542560){var _0x564796=_0x171948;for(var _0x568741=this[_0x564796(0x14e)]['words'],_0x19b4e6=_0x568741[0x0],_0x2a0f32=_0x568741[0x1],_0xa7ca73=_0x568741[0x2],_0xf06df7=_0x568741[0x3],_0x3b493c=_0x568741[0x4],_0x41248a=0x0;_0x41248a<0x50;_0x41248a++){if(_0x41248a<0x10)_0x2fcf28[_0x41248a]=_0x1a0254[_0x542560+_0x41248a]|0x0;else{var _0x2218a1=_0x2fcf28[_0x41248a-0x3]^_0x2fcf28[_0x41248a-0x8]^_0x2fcf28[_0x41248a-0xe]^_0x2fcf28[_0x41248a-0x10];_0x2fcf28[_0x41248a]=_0x2218a1<<0x1|_0x2218a1>>>0x1f;}var _0x5e7c1c=(_0x19b4e6<<0x5|_0x19b4e6>>>0x1b)+_0x3b493c+_0x2fcf28[_0x41248a];_0x41248a<0x14?_0x5e7c1c+=(_0x2a0f32&_0xa7ca73|~_0x2a0f32&_0xf06df7)+0x5a827999:_0x41248a<0x28?_0x5e7c1c+=(_0x2a0f32^_0xa7ca73^_0xf06df7)+0x6ed9eba1:_0x41248a<0x3c?_0x5e7c1c+=(_0x2a0f32&_0xa7ca73|_0x2a0f32&_0xf06df7|_0xa7ca73&_0xf06df7)-0x70e44324:_0x5e7c1c+=(_0x2a0f32^_0xa7ca73^_0xf06df7)-0x359d3e2a,_0x3b493c=_0xf06df7,_0xf06df7=_0xa7ca73,_0xa7ca73=_0x2a0f32<<0x1e|_0x2a0f32>>>0x2,_0x2a0f32=_0x19b4e6,_0x19b4e6=_0x5e7c1c;}_0x568741[0x0]=_0x568741[0x0]+_0x19b4e6|0x0,_0x568741[0x1]=_0x568741[0x1]+_0x2a0f32|0x0,_0x568741[0x2]=_0x568741[0x2]+_0xa7ca73|0x0,_0x568741[0x3]=_0x568741[0x3]+_0xf06df7|0x0,_0x568741[0x4]=_0x568741[0x4]+_0x3b493c|0x0;},'_doFinalize':function(){var _0x421825=_0x171948,_0x525100=this['_data'],_0x41515e=_0x525100['words'],_0x251ad6=this[_0x421825(0x25e)]*0x8,_0x36418b=_0x525100[_0x421825(0x44a)]*0x8;return _0x41515e[_0x36418b>>>0x5]|=0x80<<0x18-_0x36418b%0x20,_0x41515e[(_0x36418b+0x40>>>0x9<<0x4)+0xe]=Math[_0x421825(0x366)](_0x251ad6/0x100000000),_0x41515e[(_0x36418b+0x40>>>0x9<<0x4)+0xf]=_0x251ad6,_0x525100[_0x421825(0x44a)]=_0x41515e[_0x421825(0x43c)]*0x4,this[_0x421825(0x3d7)](),this[_0x421825(0x14e)];},'clone':function(){var _0xfe1926=_0x171948,_0x19c4b5=_0x4009df[_0xfe1926(0x11d)][_0xfe1926(0x24d)](this);return _0x19c4b5[_0xfe1926(0x14e)]=this['_hash'][_0xfe1926(0x11d)](),_0x19c4b5;}});_0x2f8057['SHA1']=_0x4009df[_0x171948(0x17b)](_0x168f27),_0x2f8057['HmacSHA1']=_0x4009df[_0x171948(0x249)](_0x168f27);}()),_0x134ff8['SHA1'];}));}(Ee)),Ee[_0x375ef2(0x17c)];}var Ce={'exports':{}},Bi=Ce[_0x1f47c0(0x17c)],it;function _0x13f8(){var _0x568f2d=['retryConnectingInterval','requestParams','getLatestCsReqIdBySid','/universer-api/user/session-ticket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_waitForHeartbeatResponse','join','MD5','UnitSnapshot','/new_changes','_parse','image/gif','ISingleActiveUnitService','SnapshotServerOverHTTPService','getImage','&to=','isTransformMutationsWithChangesetFailure','AES','UNISCRIPT_RUN','confirm','error$','uniscriptRunEvent','_imageSourceCache','complete','OTHER_CLIENT_EDITING','_remoteChangesetQueue','__Key__','_tryReconnect','has','post','UNRECOGNIZED','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationSession]','_decreaseWaiting','_snapshotServerService','session.room-full','_onRemoteRetry','unitId\x20is\x20not\x20found','_transformUndoredo','_exhaustRemoteChangesetQueue','setConfig','_applyRemoteChangeset','_onMessage','CONNECTOR_DATA_TOO_LARGE','_loadDoc','_onJoinRoomEvent','WordArray','_entities','isTransformMutationsWithChangesetSuccess','_getUploadFileURL','pipe','HEARTBEAT_INTERVAL_KEY','NOT_FOUND','_event$','crypto','_state','params','PasswordBasedCipher','/collaborator','symbol','Encryptor','msCrypto','type','set','_collaborationPaused','_initRequestHeader','RETRY_CONNECTING_MAX_COUNT','_sheetTransformSelectionsService','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','charAt','disposeWithMe','ITransformService','_checkMissing','socket\x20open.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','authzUrl','getActiveSheet','GLOBAL_ROOMS_CNT_EXCEEDS','_clearTimeoutTimer','send','_doFinalize','Subject','OfflineState','PERMISSION_REJ','_transformIMECache','_transitionLocked','RxDisposable','fetchThroughInterceptors','30255oTydRg','IContextService','snapshot','sid','shareReplay','IAuthzIoService','serializeCombRequest','length','findIndex','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/license','StreamCipher','_unitInfo$','onStateChange','debug','unsubscribe','_sender','concat','parseChangesetToProtocol','_DEC_XFORM_MODE','_showConflictNotification','sigBytes','decrypt','CollaborationImageIoService','_onRemoteACK','SUCCUSS','padding','update','status','onRemoteRej','/universer-api/snapshot/','getResourcesRequest','LOGIN_URL_KEY','_socket','JOIN_ROOM_FAILED','SYNCED','includes','_createInitialState','onMissedChangesetFetched','[CollaborationSessionService]','encrypt','PSEUDO_FETCH_MISSING_RESULT','CollaborationUIEventId','FETCH_MISS','_rescheduleHeartbeat','INGEST','loginUrlKey','offline','toLowerCase','mode','override','UNIVER_PROJECT','parseProtocolChangeset','reject','HEARTBEAT_TIMEOUT','_userManagerService','rev','LICENSE_IMPORT_SIZE_EXCEEDED','COLLAB_WEB_SOCKET_URL_KEY','rxjs/operators','splice','onTransformSelections','every','__esModule','collabSubmitChangesetUrl','transformMutationsWithChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CONFLICT','saveImage','getDeserializedSheetBlock','APPLY_REVISION_CONFILICT','_memberService','data','_handler','emitEvent','toggleOffline','/universer-api/snapshot','APPLY_DUPLICATED','resourceIDs','_retryCount','_map','socket$','_onRemoteRejected','UniverCollaborationPlugin','fetchMissingChangesets','concatMap','_oKey','indexOf','UNIVER_UNKNOWN','parse','infoRsp','clone','/-/object/-/batch_allowed','_lockTransition','HTTPService','pad','keySize','FileId','sin','loadUnit','enableAuthServer','MemberService','[OfflineState]:\x20received\x20rejection.','CommentService','_unlockTransition','sessionStatus','OpenSSL','href','_collaborationTimeoutTimer','kdf','saveChangeset','YUUMI_UNABLE_LOAD_URL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DisposableCollection','_commentUpdate$','_isPermissionRej','SUBMIT_CHANGESET','SNAPSHOT_INVALID_SNAPSHOT','/rev/','OTHER_CLIENTS_EDITING','IUndoRedoService','_shouldReportTelemetry','_onConnectionOpen','onStarting','error','awaiting','UserManagerService','_initUnitPermissionChange','buffer','awaiting_with_pending','POST','createInstance','url','session.room-cnt-exceeds','connection\x20error','RevisionService','[FetchMissState]','_xformMode','_redoStacks','653849ALWWhj','_hash','open$','init','SHA1','ImageSourceType','TOO_MANY_REQUESTS','SOCKET_FAILED','_collaborationSessionService','CompressMutationService','_undoRedoService','_disableEditing','_onRemoteChangeset','clear','MentionIoHttpService','_listenToNetworkCondition','hasOwnProperty','UNKNOWN_CODE','get','_tryEnsureSocket','status$','JSONX','_HTTPService','delete','JOINING','next','min','getAllMembers','commentUpdate$','_collaborationUIEventService','UNDEFINED','_updateStatus','?url=','ONLINE','extend','executeCommand','eventID','create','_onUserJoin','putCollaborators','_onCombEvent','processBlock','CollaborationSocketService','sessionStatus$','_hasher','UniverCollaborationClientPlugin','_createHelper','exports','ConflictState','EvpKDF','_revisionService','onRemoteRetry','_members','_removeRoom','reqId','PendingState','transformChangesets','collaboration-client.local-cache-service','loadDoc','transformStack\x20failed!','LOCAL_CACHE_INTERVAL','_scheduleCollaborationTimeoutTimer','telemetry\x20info\x20is\x20not\x20initialized','stopTime','deserializeToCombResponse','SessionStatus','Optional','ImageUploadStatusType','map','_minBufferSize','slice','hostname','INTERNAL_ERROR','toStringTag','CHANGESET_REVISION_CONFILICT','getFocusedUnit','getCurrentSelections','_resendTimeout','60XXubXH','take','updateCollaborator','listCollaborators','CHANGESET_ACK','/universer-api/oidc/authpage','_onOffline','SheetCollaborationEntity','_keySchedule','pauseCollaboration','addHandlerCallback','getTypeOfUnitDisposed$','m2Prime','objectType','CHANGESET_REJ','ciphertext','_clearCollaborationTimeoutTimer','UNIVER_DOC','COMPLETION_FINISHED','waitForRoom$','FetchingMissState','SetSelectionsOperation','hasher','liveShareOperation','decryptBlock','_replayCachedMutations','USERS_ENTER','push','_joinRoom','originalMeta','merge','toggleOnline','_roomCreated$','UnitStatus','b64DecodeUnicode','focused$','closeSession','_changesetReqId','COMPRESS_MUTATION_SEND','/unit/','YUUMI_RATE_OVER_LIMIT','univer-pro.collaboration-client.single-active-unit-service','_substituteUndoStack','clamp','enableOfflineEditing','_cipher','byteLength','[PendingState]:\x20received\x20rejection.','HMAC','_queuedRemoteChangesets','_getSendChangesetTimeout','then','_sendHeartbeatTimer','ILocalCacheService','_stopTelemetryCollaborationNewChangeset','baseRev','updateMember','submit\x20changeset\x20error!','CipherParams','abs','IDLE','_doReset','UNIVER_COLLABORATION_CLIENT_PLUGIN','/universer-api/authz','@univerjs-pro/collaboration','_nRounds','USERS_LEAVE','loadSheet','/object/','InsertSheetMutation','APPLY_PERMISSION_DENIED','onCommentUpdate','onTransformRemoteChangesetByIMECache','CBC','FETCH_MISSING','_submitChangeset','SNAPSHOT_URL_KEY','/allowed','stringify','unitID','univer-pro.collaboration-client.network-condition.service','unitId','_initCloseConn','resend','1wGYzMN','createIdentifier','editingUnit','mergeOverrideWithDependencies','DEFAULT_FILE_NAME','result','getMemberID','_startCollaboration','HttpExport','_throwTelemetryCollaborationNewChangeset','fromCollab','image/jpeg','_updateLocalCache','INVALID_ARGUMENT','UNIVER_SHEET','1527052kzMtpK','randomUUID','_changesetSessionId','onload','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','save\x20fail\x20reason\x20is\x20','Could\x20not\x20dynamically\x20require\x20\x22','/object','onSendChangeset','OPTIONAL','[SyncedState]:\x20received\x20acknowledgement.','removeMember','_retryConnectingTimer','name','getUnitType','duration','signUrlServerUrl','formatter','MUTATION','getCurrentRevOfUnit','localCacheService','code','RichTextEditingMutation','_commentService','?size=','_ENC_XFORM_MODE','session.room-permission-denied','_getAPIPrefixPath','resolve','toString','_append','unitInfo$','Injector','SnapshotService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','4532232WjpXqz','_iKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSnapshot','LOCAL_CACHE_INTERVAL_KEY','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','generateRandomId','HEARTBEAT','UNKNOWN_CMD','Univer','onRemoteAck','_onUserLeave','DEFAULT_COLLAB_WEB_SOCKET_URL','getValue','equals','_executeRemoteChangeset','updateOfflineData','Hasher','APPLY_REJECT','_waitCount','title','Quantity','_doCryptBlock','Failed\x20to\x20update\x20permission\x20point','_onLocalMutation','encode','updateCursorEvent','apply','BlockCipher','AWAITING_WITH_PENDING','BehaviorSubject','CollaborationEntity','ceil','setWaitCount','_invKeySchedule','registerDependencies','FAIL','getImageSourceCache','Base','_transformRemoteChangesetByStateCache','_createHmacHelper','IImageIoService','find','_socket$','call','_transformStack','_snapshotService','[PendingState]:\x20received\x20acknowledgement.','unknown','string','_createInitialStateImpl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','OFFLINE','_resendTimer','transformUndoRedo','asObservable','_doCreateSocket','_socketMessageSubscription','fetch_missing','isTransformChangesetsSuccess','values','_nDataBytes','@univerjs/telemetry','_transformSelections','AwaitingState','onTransformRemoteChangesetByStateCache','_sessionStatus$','requireSession','awaitingChangeset','getTime','state','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getOwnPropertyDescriptor','IConfigService','loadOfflineData','AuthzIoHttpService','_awaitingChangeset','_timeoutTimer','mutations','format','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onlyLocal','Inject','getGlobalObject','fetchMiss','headers','CollaborativeUndoRedoService','JOIN_ROOM_NOT_EXISTS','allowed','MSG_FOR_ERROR','SheetPermissionInitController','\x20to\x20','onTransformIME','UNAUTHENTICATED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Decryptor','BASE64','getSheetBlock','_members$','[CollaborationSessionService]:\x20socket\x20error','_telemetryService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs/network','_replaceFileID','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UPDATE_CURSOR','encodeURIComponent','close','ALREADY_EXISTS','/block/','_resendWithTimeout','LIVESHARE_OPERATION','isInternalEditorID','append','defineProperty','_configService','online$','memberID','getUnit','_transformService','synced','_instanceService','onMissingChangesets','startsWith','ISnapshotServerService','JOIN','x-univer-host','image/png','routeKey','PERMISSION_DENIED','&assign=','COLLAB_SUBMIT_CHANGESET_URL_KEY','getCollabEntity','now','prototype','_data','_sessions','LocalUndoRedoService','LIVESHARE_FETCH_OPERATIONS','/resources','put','getInterceptPoints','cmd','CommandType','actions','enableSingleActiveInstanceLock','takeUntil','CollaborationSessionService','_change$','__creator','getMember','createSocket','_toggleOffline','AUTHZ_URL_KEY','revision','_initMergeInterceptor','objectID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getCurrentRevision','LEAVE','replace','finalize','json','ReplaySubject','onTransformState','key','Cipher','fetching\x20missing\x20changesets\x20from\x20','_clearRedo','_state$','createDecryptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','c1Prime','reset','EmptyMutation','1337046TiMLld','LIVESHARE_REQUEST_HOST','_reverseMap','\x0aCurrent:\x20','interceptor','_schedule','getLocalCacheKey','_candidateSocket','/universer-api/comb','COLLAB_SUBMIT_CHANGESET_URL','IPermissionService','disableLocalCache','UNIVER_SLIDE','ERROR_IMAGE','createEncryptor','DataLoaderService','_socketService','@univerjs/sheets','_clearScheduledTask','_onConnectionFailed','SyncedState','_prevBlock','charCodeAt','readAsDataURL','COLLAB_WEB_SOCKET_URL','selections','[OfflineState]:\x20received\x20changeset.','_key','from','Disposable','dispose','default','_eventService','/universer-api/file/{fileID}/sign-url','_getRedoStack','registerHTTPInterceptor','collabWebSocketUrl','LIVESHARE_TERMINATE','_clearHeartbeatTimer','HELLO','UnitEmbedded','createCollaborator','MergeInterceptorFactory','uploadFileServerUrl','blockSize','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','PY_RUNTIME_SCRIPT_ERROR','forEach','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getSheetId','reconnect','onRemoteChangeset','subscribe','collaMsg','_initDependencies','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','permissionRejEvent','cfg','socketService','_roomMembers','lib','SEND_CHANGESET_TIMEOUT_KEY','onSyncEditingCollabCursor','_updateState','capture','_getDownloadEndpointURL','_incrementRevisionNumber','_clearRetryConnectingTimer','_collabSessionService','JOIN_ROOM_PERMISSION_DENIED','reverse','filter','NEW_CHANGESETS','_syncEditingCollabCursor','_createHandler','session','ICollaborationSocketService','getUnitId','_commandService','commentUpdateEvent','random','_getSignURL','Malformed\x20UTF-8\x20data','DependentOn','_logService','getRoom','_loadSheet','_emitMembers','onCommandExecuted','_fetchMissChangesets','_telemetryInfo','SerializableCipher','auth.needGotoLoginAlert','AwaitingWithPendingState','INetworkConditionService','localeService','_getAPIPrefix','SNAPSHOT_SERVER_URL_KEY','repeat','_init','add','_unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','People','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','collaborators','$super','collaboratorID','COMMENT_UPDATE','CollaborationUIEventService','isPermissionRej','NoPadding','withCredentials','\x0aAfter:\x20','file','size','_httpService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','function','13747941mgHKFO','byteOffset','766152UOkRmz','message$','_acknowledgedAwaitingChangeset','SNAPSHOT_HAS_BEEN_REMOVED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SHOULD_CLOSE_CONN','objectActions','CHANGESET_SHOULD_RETRY','CollaborationEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCollabEntity$','_createSocket','_socketReady','YUUMI_URL_COL_OUT_OF_RANGE','not_collab','SheetTransformSelectionsService','roomInfos','_sendHeartbeat','ICommandService','touchDependencies','_registerDependencies','LICENSE_DISTRO_REJECTED','@univerjs/drawing','_networkConditionService','WorkbookEditablePermission','RECV','method','_type','floor','_getCtorByUniverType','_singleActiveUnitService','getTypeOfUnitAdded$','_status$','_substituteRedoStack','session.join-failed','target','algo','_pendingMutations','event$','refreshPermission','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[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.','enc','UPDATE_PERMISSION_OBJ','words','updatePermissionPoint','AWAITING','delay','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getConfig','csShouldRetryEvent','pending','_univerInstanceService','Plugin','ILogService','subject','batchAllowed','_compressMutationService','c2Prime','APPLY_NON_SEQUENTIAL_REVISION','BufferedBlockAlgorithm','deleteCollaborator','[SyncedState]:\x20received\x20rejection.','_handlerCallback','_localCacheService','[DataLoaderService]','entityInit$','[CollaborationUndoRedoService]','CLOSE_ROOM','NOT_COLLAB','list','_transformStateCache','_onFetchMissResult','JOIN_ROOM_FULL','catch','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','getUnitStatus$','changesets','_mode','_permissionService','socket\x20close','_sendingTimer','_onRecvEvent','fromCharCode','_transformRemoteChangesetByIMECache','textRanges','unit-cache-','UniverInstanceType','substr','/-/object/list','ivSize','workbook','toDisposable','isArray','downloadEndpointUrl','csAckEvent','_startTelemetryCollaborationNewChangeset','dispose$','ERROR_IMAGE_TYPE','Rectangle','LocaleService','reduce','getRandomValues','getCurrentUser','_clearLocalCache','Utf8','_toggleOnline','compute','Latin1','salt','body','responseType','COMPRESS_MUTATION_APPLY','state$','Tools','CollaborationSession','MentionType','randomBytes','_scheduleCompleteTimestamp','IUniverInstanceService','liveShareNewHost','appendMutation','Base64','sheets','textEncoder','rxjs','LIVESHARE_NEW_HOST','leaveEvent','CollaborationController','SOCKET_FAILED_RETRY','&source=','addImageSourceCache','_injector','_onConflict','/fetchmissing?from=','_entityInit$','_clearUndo','SheetsSelectionsService','mapDocumentTypeToUniverType','DocCollaborationEntity','_iv','_process','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShowComponents','UniverNetworkPlugin','_config'];_0x13f8=function(){return _0x568f2d;};return _0x13f8();}function Fi(){var _0x469033=_0x1f47c0;return it||(it=0x1,function(_0xd77f74,_0x4da585){(function(_0x2eb18f,_0x167171){var _0x21b534=_0x5763;_0xd77f74[_0x21b534(0x17c)]=_0x167171(ee());}(Bi,function(_0x1f30d0){(function(){var _0x48028c=_0x5763,_0x549842=_0x1f30d0,_0x35397d=_0x549842['lib'],_0xc02dce=_0x35397d[_0x48028c(0x247)],_0x675f3e=_0x549842[_0x48028c(0x374)],_0x3033e4=_0x675f3e[_0x48028c(0x3b3)],_0x55bd72=_0x549842[_0x48028c(0x36e)];_0x55bd72[_0x48028c(0x1cb)]=_0xc02dce['extend']({'init':function(_0xc5c2e6,_0x4e3ab3){var _0x1bf6eb=_0x48028c;_0xc5c2e6=this[_0x1bf6eb(0x179)]=new _0xc5c2e6[(_0x1bf6eb(0x150))](),typeof _0x4e3ab3==_0x1bf6eb(0x252)&&(_0x4e3ab3=_0x3033e4['parse'](_0x4e3ab3));var _0xf1f61e=_0xc5c2e6[_0x1bf6eb(0x2fd)],_0x42c1c8=_0xf1f61e*0x4;_0x4e3ab3['sigBytes']>_0x42c1c8&&(_0x4e3ab3=_0xc5c2e6['finalize'](_0x4e3ab3)),_0x4e3ab3[_0x1bf6eb(0x1c6)]();for(var _0x368a83=this[_0x1bf6eb(0x118)]=_0x4e3ab3[_0x1bf6eb(0x11d)](),_0x5e4f00=this['_iKey']=_0x4e3ab3[_0x1bf6eb(0x11d)](),_0xf5af3c=_0x368a83[_0x1bf6eb(0x376)],_0x2c4145=_0x5e4f00[_0x1bf6eb(0x376)],_0x40b8ac=0x0;_0x40b8ac<_0xf1f61e;_0x40b8ac++)_0xf5af3c[_0x40b8ac]^=0x5c5c5c5c,_0x2c4145[_0x40b8ac]^=0x36363636;_0x368a83['sigBytes']=_0x5e4f00[_0x1bf6eb(0x44a)]=_0x42c1c8,this[_0x1bf6eb(0x2cf)]();},'reset':function(){var _0x24273b=_0x48028c,_0x2de970=this[_0x24273b(0x179)];_0x2de970[_0x24273b(0x2cf)](),_0x2de970[_0x24273b(0x450)](this[_0x24273b(0x222)]);},'update':function(_0x229aed){var _0x52cce4=_0x48028c;return this[_0x52cce4(0x179)][_0x52cce4(0x450)](_0x229aed),this;},'finalize':function(_0x1087a6){var _0x57d315=_0x48028c,_0x4cae58=this['_hasher'],_0x4ed5c8=_0x4cae58[_0x57d315(0x2c3)](_0x1087a6);_0x4cae58[_0x57d315(0x2cf)]();var _0x32a7ff=_0x4cae58[_0x57d315(0x2c3)](this['_oKey'][_0x57d315(0x11d)]()['concat'](_0x4ed5c8));return _0x32a7ff;}});}());}));}(Ce)),Ce[_0x469033(0x17c)];}var Wi=Ie[_0x1f47c0(0x17c)],nt;function Pt(){var _0x21db89=_0x1f47c0;return nt||(nt=0x1,function(_0x360d43,_0x370180){(function(_0x5b6aab,_0x21d4cb,_0x107db4){var _0x1e9791=_0x5763;_0x360d43[_0x1e9791(0x17c)]=_0x21d4cb(ee(),$i(),Fi());}(Wi,function(_0x130187){var _0x2f19eb=_0x5763;return(function(){var _0x19e33a=_0x5763,_0xc13870=_0x130187,_0x27fd7c=_0xc13870[_0x19e33a(0x30d)],_0x189e4c=_0x27fd7c['Base'],_0x5379c9=_0x27fd7c['WordArray'],_0x14ba19=_0xc13870[_0x19e33a(0x36e)],_0x51ba9a=_0x14ba19['MD5'],_0x11827c=_0x14ba19[_0x19e33a(0x17e)]=_0x189e4c[_0x19e33a(0x16f)]({'cfg':_0x189e4c['extend']({'keySize':0x80/0x20,'hasher':_0x51ba9a,'iterations':0x1}),'init':function(_0x3ff31c){var _0x7d4b10=_0x19e33a;this[_0x7d4b10(0x30a)]=this[_0x7d4b10(0x30a)]['extend'](_0x3ff31c);},'compute':function(_0x613f0,_0x5691f2){var _0x51685a=_0x19e33a;for(var _0x4494ac,_0x25db28=this[_0x51685a(0x30a)],_0x481014=_0x25db28[_0x51685a(0x1b1)]['create'](),_0x1b2e77=_0x5379c9[_0x51685a(0x172)](),_0x17eb9b=_0x1b2e77[_0x51685a(0x376)],_0xea9b0f=_0x25db28[_0x51685a(0x122)],_0x3ad3a1=_0x25db28['iterations'];_0x17eb9b[_0x51685a(0x43c)]<_0xea9b0f;){_0x4494ac&&_0x481014[_0x51685a(0x450)](_0x4494ac),_0x4494ac=_0x481014['update'](_0x613f0)[_0x51685a(0x2c3)](_0x5691f2),_0x481014['reset']();for(var _0x3fabcc=0x1;_0x3fabcc<_0x3ad3a1;_0x3fabcc++)_0x4494ac=_0x481014[_0x51685a(0x2c3)](_0x4494ac),_0x481014[_0x51685a(0x2cf)]();_0x1b2e77[_0x51685a(0x446)](_0x4494ac);}return _0x1b2e77['sigBytes']=_0xea9b0f*0x4,_0x1b2e77;}});_0xc13870['EvpKDF']=function(_0x1e2c92,_0x328895,_0x266a8d){var _0x2ed699=_0x19e33a;return _0x11827c[_0x2ed699(0x172)](_0x266a8d)['compute'](_0x1e2c92,_0x328895);};}()),_0x130187[_0x2f19eb(0x17e)];}));}(Ie)),Ie[_0x21db89(0x17c)];}var Te={'exports':{}},Gi=Te[_0x1f47c0(0x17c)],rt;function At(){return rt||(rt=0x1,function(_0x40b072,_0x3cfd0a){(function(_0x15f708,_0x1bd64f,_0x523823){var _0x419943=_0x5763;_0x40b072[_0x419943(0x17c)]=_0x1bd64f(ee(),Pt());}(Gi,function(_0x3bfe6c){var _0x48d1aa=_0x5763;_0x3bfe6c[_0x48d1aa(0x30d)][_0x48d1aa(0x2c8)]||function(_0x52575a){var _0x3d4f51=_0x48d1aa,_0x464d17=_0x3bfe6c,_0x44dd3b=_0x464d17[_0x3d4f51(0x30d)],_0x1b9bb5=_0x44dd3b[_0x3d4f51(0x247)],_0x21ffa9=_0x44dd3b['WordArray'],_0x273828=_0x44dd3b[_0x3d4f51(0x386)],_0x29e849=_0x464d17[_0x3d4f51(0x374)];_0x29e849['Utf8'];var _0x36ce5d=_0x29e849[_0x3d4f51(0x3c4)],_0x458bde=_0x464d17['algo'],_0x2a88b0=_0x458bde[_0x3d4f51(0x17e)],_0x2968b4=_0x44dd3b[_0x3d4f51(0x2c8)]=_0x273828[_0x3d4f51(0x16f)]({'cfg':_0x1b9bb5[_0x3d4f51(0x16f)](),'createEncryptor':function(_0x1193af,_0x40d2c3){var _0x15d28e=_0x3d4f51;return this[_0x15d28e(0x172)](this[_0x15d28e(0x217)],_0x1193af,_0x40d2c3);},'createDecryptor':function(_0x10cb87,_0x786c53){var _0x5c52f9=_0x3d4f51;return this['create'](this[_0x5c52f9(0x448)],_0x10cb87,_0x786c53);},'init':function(_0x171fb8,_0x4ba8f5,_0x22e062){var _0xe8dfbe=_0x3d4f51;this[_0xe8dfbe(0x30a)]=this[_0xe8dfbe(0x30a)][_0xe8dfbe(0x16f)](_0x22e062),this[_0xe8dfbe(0x14b)]=_0x171fb8,this[_0xe8dfbe(0x2ec)]=_0x4ba8f5,this[_0xe8dfbe(0x2cf)]();},'reset':function(){var _0x28e0bb=_0x3d4f51;_0x273828[_0x28e0bb(0x2cf)]['call'](this),this[_0x28e0bb(0x1d8)]();},'process':function(_0x48df00){var _0x323f50=_0x3d4f51;return this[_0x323f50(0x21c)](_0x48df00),this[_0x323f50(0x3d7)]();},'finalize':function(_0x37d614){var _0x24ebe1=_0x3d4f51;_0x37d614&&this[_0x24ebe1(0x21c)](_0x37d614);var _0x415387=this[_0x24ebe1(0x42d)]();return _0x415387;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x581e75(_0x5d9f34){return typeof _0x5d9f34=='string'?_0x424649:_0x4efc97;}return function(_0x4044c8){return{'encrypt':function(_0x276db5,_0x5056c7,_0x20bede){var _0x4db757=_0x5763;return _0x581e75(_0x5056c7)[_0x4db757(0xea)](_0x4044c8,_0x276db5,_0x5056c7,_0x20bede);},'decrypt':function(_0x123245,_0x126283,_0x420901){return _0x581e75(_0x126283)['decrypt'](_0x4044c8,_0x123245,_0x126283,_0x420901);}};};}())});_0x44dd3b[_0x3d4f51(0x440)]=_0x2968b4['extend']({'_doFinalize':function(){var _0x1d26f1=_0x3d4f51,_0x2d05e7=this[_0x1d26f1(0x3d7)](!0x0);return _0x2d05e7;},'blockSize':0x1});var _0x31b32c=_0x464d17[_0x3d4f51(0xf3)]={},_0x56ca53=_0x44dd3b['BlockCipherMode']=_0x1b9bb5['extend']({'createEncryptor':function(_0x343ad9,_0x5882c6){var _0xe2281e=_0x3d4f51;return this[_0xe2281e(0x418)][_0xe2281e(0x172)](_0x343ad9,_0x5882c6);},'createDecryptor':function(_0x53fd81,_0x44e371){var _0x20d7b8=_0x3d4f51;return this[_0x20d7b8(0x280)][_0x20d7b8(0x172)](_0x53fd81,_0x44e371);},'init':function(_0x2313e8,_0x46a1f2){var _0x167c59=_0x3d4f51;this[_0x167c59(0x1c8)]=_0x2313e8,this['_iv']=_0x46a1f2;}}),_0x116b52=_0x31b32c[_0x3d4f51(0x1e4)]=(function(){var _0x3b6364=_0x3d4f51,_0x3190a0=_0x56ca53[_0x3b6364(0x16f)]();_0x3190a0[_0x3b6364(0x418)]=_0x3190a0[_0x3b6364(0x16f)]({'processBlock':function(_0x2399de,_0x3dc81d){var _0x1bd844=_0x3b6364,_0x37926a=this[_0x1bd844(0x1c8)],_0x3bc1c3=_0x37926a['blockSize'];_0x2726d1['call'](this,_0x2399de,_0x3dc81d,_0x3bc1c3),_0x37926a['encryptBlock'](_0x2399de,_0x3dc81d),this[_0x1bd844(0x2e6)]=_0x2399de[_0x1bd844(0x193)](_0x3dc81d,_0x3dc81d+_0x3bc1c3);}}),_0x3190a0[_0x3b6364(0x280)]=_0x3190a0[_0x3b6364(0x16f)]({'processBlock':function(_0x5bb39b,_0x19a96e){var _0x2e99e0=_0x3b6364,_0x514e87=this[_0x2e99e0(0x1c8)],_0x2611ec=_0x514e87[_0x2e99e0(0x2fd)],_0x4afe33=_0x5bb39b[_0x2e99e0(0x193)](_0x19a96e,_0x19a96e+_0x2611ec);_0x514e87[_0x2e99e0(0x1b3)](_0x5bb39b,_0x19a96e),_0x2726d1['call'](this,_0x5bb39b,_0x19a96e,_0x2611ec),this['_prevBlock']=_0x4afe33;}});function _0x2726d1(_0x33fca1,_0x542ceb,_0x432726){var _0x504959=_0x3b6364,_0x2a6ee5,_0x4c33b6=this[_0x504959(0x3d6)];_0x4c33b6?(_0x2a6ee5=_0x4c33b6,this['_iv']=_0x52575a):_0x2a6ee5=this[_0x504959(0x2e6)];for(var _0x512659=0x0;_0x512659<_0x432726;_0x512659++)_0x33fca1[_0x542ceb+_0x512659]^=_0x2a6ee5[_0x512659];}return _0x3190a0;}()),_0x1baacb=_0x464d17[_0x3d4f51(0x121)]={},_0x45bc1e=_0x1baacb['Pkcs7']={'pad':function(_0x24f841,_0x48e120){var _0x4c013a=_0x3d4f51;for(var _0x2ff3dd=_0x48e120*0x4,_0x5dff43=_0x2ff3dd-_0x24f841['sigBytes']%_0x2ff3dd,_0x54c15f=_0x5dff43<<0x18|_0x5dff43<<0x10|_0x5dff43<<0x8|_0x5dff43,_0x3be51d=[],_0x3cdfe3=0x0;_0x3cdfe3<_0x5dff43;_0x3cdfe3+=0x4)_0x3be51d[_0x4c013a(0x1b6)](_0x54c15f);var _0x36c451=_0x21ffa9[_0x4c013a(0x172)](_0x3be51d,_0x5dff43);_0x24f841[_0x4c013a(0x446)](_0x36c451);},'unpad':function(_0x1ee8cb){var _0x43581c=_0x3d4f51,_0x21ff3e=_0x1ee8cb[_0x43581c(0x376)][_0x1ee8cb[_0x43581c(0x44a)]-0x1>>>0x2]&0xff;_0x1ee8cb[_0x43581c(0x44a)]-=_0x21ff3e;}};_0x44dd3b[_0x3d4f51(0x23d)]=_0x2968b4[_0x3d4f51(0x16f)]({'cfg':_0x2968b4[_0x3d4f51(0x30a)][_0x3d4f51(0x16f)]({'mode':_0x116b52,'padding':_0x45bc1e}),'reset':function(){var _0x563755=_0x3d4f51,_0x94511f;_0x2968b4['reset']['call'](this);var _0x6efbb5=this[_0x563755(0x30a)],_0x236e73=_0x6efbb5['iv'],_0x3a85d6=_0x6efbb5[_0x563755(0xf3)];this[_0x563755(0x14b)]==this[_0x563755(0x217)]?_0x94511f=_0x3a85d6[_0x563755(0x2df)]:(_0x94511f=_0x3a85d6[_0x563755(0x2cc)],this['_minBufferSize']=0x1),this[_0x563755(0x398)]&&this[_0x563755(0x398)][_0x563755(0x2b7)]==_0x94511f?this['_mode']['init'](this,_0x236e73&&_0x236e73[_0x563755(0x376)]):(this[_0x563755(0x398)]=_0x94511f[_0x563755(0x24d)](_0x3a85d6,this,_0x236e73&&_0x236e73['words']),this[_0x563755(0x398)][_0x563755(0x2b7)]=_0x94511f);},'_doProcessBlock':function(_0x36933d,_0x439070){var _0x1aadb1=_0x3d4f51;this[_0x1aadb1(0x398)][_0x1aadb1(0x176)](_0x36933d,_0x439070);},'_doFinalize':function(){var _0x164f96=_0x3d4f51,_0x500e23,_0x3e3416=this[_0x164f96(0x30a)][_0x164f96(0x44f)];return this[_0x164f96(0x14b)]==this[_0x164f96(0x217)]?(_0x3e3416[_0x164f96(0x121)](this[_0x164f96(0x2a9)],this[_0x164f96(0x2fd)]),_0x500e23=this[_0x164f96(0x3d7)](!0x0)):(_0x500e23=this[_0x164f96(0x3d7)](!0x0),_0x3e3416['unpad'](_0x500e23)),_0x500e23;},'blockSize':0x80/0x20});var _0x1278be=_0x44dd3b[_0x3d4f51(0x1d5)]=_0x1b9bb5[_0x3d4f51(0x16f)]({'init':function(_0x2d6af5){this['mixIn'](_0x2d6af5);},'toString':function(_0x313011){var _0x5a4592=_0x3d4f51;return(_0x313011||this[_0x5a4592(0x20f)])[_0x5a4592(0x1e9)](this);}}),_0x3af8ab=_0x464d17[_0x3d4f51(0x270)]={},_0x53934e=_0x3af8ab[_0x3d4f51(0x12c)]={'stringify':function(_0x59611b){var _0x15445d=_0x3d4f51,_0x40681b,_0x20b84c=_0x59611b[_0x15445d(0x1aa)],_0x66c345=_0x59611b['salt'];return _0x66c345?_0x40681b=_0x21ffa9[_0x15445d(0x172)]([0x53616c74,0x65645f5f])[_0x15445d(0x446)](_0x66c345)[_0x15445d(0x446)](_0x20b84c):_0x40681b=_0x20b84c,_0x40681b['toString'](_0x36ce5d);},'parse':function(_0x2be836){var _0x2db7b1=_0x3d4f51,_0x2dddf2,_0x1759bc=_0x36ce5d[_0x2db7b1(0x11b)](_0x2be836),_0x2d07ff=_0x1759bc[_0x2db7b1(0x376)];return _0x2d07ff[0x0]==0x53616c74&&_0x2d07ff[0x1]==0x65645f5f&&(_0x2dddf2=_0x21ffa9[_0x2db7b1(0x172)](_0x2d07ff[_0x2db7b1(0x193)](0x2,0x4)),_0x2d07ff[_0x2db7b1(0xfe)](0x0,0x4),_0x1759bc['sigBytes']-=0x10),_0x1278be['create']({'ciphertext':_0x1759bc,'salt':_0x2dddf2});}},_0x4efc97=_0x44dd3b[_0x3d4f51(0x32c)]=_0x1b9bb5[_0x3d4f51(0x16f)]({'cfg':_0x1b9bb5['extend']({'format':_0x53934e}),'encrypt':function(_0x43a545,_0x3701d2,_0x30623f,_0x4c8792){var _0x28e6b0=_0x3d4f51;_0x4c8792=this['cfg'][_0x28e6b0(0x16f)](_0x4c8792);var _0x79140e=_0x43a545[_0x28e6b0(0x2df)](_0x30623f,_0x4c8792),_0x120d8c=_0x79140e[_0x28e6b0(0x2c3)](_0x3701d2),_0x131680=_0x79140e[_0x28e6b0(0x30a)];return _0x1278be[_0x28e6b0(0x172)]({'ciphertext':_0x120d8c,'key':_0x30623f,'iv':_0x131680['iv'],'algorithm':_0x43a545,'mode':_0x131680['mode'],'padding':_0x131680[_0x28e6b0(0x44f)],'blockSize':_0x43a545[_0x28e6b0(0x2fd)],'formatter':_0x4c8792[_0x28e6b0(0x270)]});},'decrypt':function(_0x3c77bd,_0x59fcd9,_0x13d3be,_0x3b302b){var _0x408716=_0x3d4f51;_0x3b302b=this['cfg']['extend'](_0x3b302b),_0x59fcd9=this[_0x408716(0x3e6)](_0x59fcd9,_0x3b302b[_0x408716(0x270)]);var _0x432648=_0x3c77bd[_0x408716(0x2cc)](_0x13d3be,_0x3b302b)[_0x408716(0x2c3)](_0x59fcd9[_0x408716(0x1aa)]);return _0x432648;},'_parse':function(_0x41c9c0,_0x3cc348){var _0x121f56=_0x3d4f51;return typeof _0x41c9c0==_0x121f56(0x252)?_0x3cc348['parse'](_0x41c9c0,this):_0x41c9c0;}}),_0x4a0d86=_0x464d17['kdf']={},_0x5d75d7=_0x4a0d86[_0x3d4f51(0x12c)]={'execute':function(_0x31144e,_0x109d7a,_0x266cbd,_0x441e5b,_0x2b665b){var _0x13face=_0x3d4f51;if(_0x441e5b||(_0x441e5b=_0x21ffa9[_0x13face(0x321)](0x40/0x8)),_0x2b665b)var _0x1bb89e=_0x2a88b0[_0x13face(0x172)]({'keySize':_0x109d7a+_0x266cbd,'hasher':_0x2b665b})[_0x13face(0x3b5)](_0x31144e,_0x441e5b);else var _0x1bb89e=_0x2a88b0[_0x13face(0x172)]({'keySize':_0x109d7a+_0x266cbd})[_0x13face(0x3b5)](_0x31144e,_0x441e5b);var _0xf2dbf4=_0x21ffa9['create'](_0x1bb89e[_0x13face(0x376)][_0x13face(0x193)](_0x109d7a),_0x266cbd*0x4);return _0x1bb89e[_0x13face(0x44a)]=_0x109d7a*0x4,_0x1278be[_0x13face(0x172)]({'key':_0x1bb89e,'iv':_0xf2dbf4,'salt':_0x441e5b});}},_0x424649=_0x44dd3b[_0x3d4f51(0x415)]=_0x4efc97[_0x3d4f51(0x16f)]({'cfg':_0x4efc97[_0x3d4f51(0x30a)][_0x3d4f51(0x16f)]({'kdf':_0x5d75d7}),'encrypt':function(_0x3150fa,_0x18a83c,_0x181cb8,_0x1c8cc6){var _0x25a362=_0x3d4f51;_0x1c8cc6=this['cfg'][_0x25a362(0x16f)](_0x1c8cc6);var _0x34c2b0=_0x1c8cc6[_0x25a362(0x12f)]['execute'](_0x181cb8,_0x3150fa[_0x25a362(0x122)],_0x3150fa[_0x25a362(0x3a4)],_0x1c8cc6[_0x25a362(0x3b7)],_0x1c8cc6[_0x25a362(0x1b1)]);_0x1c8cc6['iv']=_0x34c2b0['iv'];var _0x12df75=_0x4efc97[_0x25a362(0xea)][_0x25a362(0x24d)](this,_0x3150fa,_0x18a83c,_0x34c2b0[_0x25a362(0x2c7)],_0x1c8cc6);return _0x12df75['mixIn'](_0x34c2b0),_0x12df75;},'decrypt':function(_0x2f0164,_0x385db2,_0x195d07,_0x1e3a6a){var _0x32c8a7=_0x3d4f51;_0x1e3a6a=this['cfg'][_0x32c8a7(0x16f)](_0x1e3a6a),_0x385db2=this[_0x32c8a7(0x3e6)](_0x385db2,_0x1e3a6a[_0x32c8a7(0x270)]);var _0x38f8d4=_0x1e3a6a[_0x32c8a7(0x12f)]['execute'](_0x195d07,_0x2f0164[_0x32c8a7(0x122)],_0x2f0164[_0x32c8a7(0x3a4)],_0x385db2[_0x32c8a7(0x3b7)],_0x1e3a6a['hasher']);_0x1e3a6a['iv']=_0x38f8d4['iv'];var _0x500457=_0x4efc97[_0x32c8a7(0x44b)][_0x32c8a7(0x24d)](this,_0x2f0164,_0x385db2,_0x38f8d4['key'],_0x1e3a6a);return _0x500457;}});}();}));}(Te)),Te['exports'];}var Vi=fe[_0x1f47c0(0x17c)],st;function Ki(){return st||(st=0x1,function(_0x45e841,_0x4aae39){(function(_0x543a57,_0x4e2037,_0x36fbbf){var _0x2855c7=_0x5763;_0x45e841[_0x2855c7(0x17c)]=_0x4e2037(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x2cafd1){return(function(){var _0x49ce02=_0x5763,_0x22cbd7=_0x2cafd1,_0x3afe92=_0x22cbd7[_0x49ce02(0x30d)],_0x2e7afd=_0x3afe92[_0x49ce02(0x23d)],_0x266419=_0x22cbd7[_0x49ce02(0x36e)],_0x4996da=[],_0x213de6=[],_0x1113e9=[],_0x218280=[],_0x4044b7=[],_0x45a251=[],_0x3ba266=[],_0x53c3f2=[],_0x592f35=[],_0x1b785e=[];(function(){for(var _0x3dbb19=[],_0x2ec695=0x0;_0x2ec695<0x100;_0x2ec695++)_0x2ec695<0x80?_0x3dbb19[_0x2ec695]=_0x2ec695<<0x1:_0x3dbb19[_0x2ec695]=_0x2ec695<<0x1^0x11b;for(var _0x446b7c=0x0,_0xa6ab65=0x0,_0x2ec695=0x0;_0x2ec695<0x100;_0x2ec695++){var _0x52d01b=_0xa6ab65^_0xa6ab65<<0x1^_0xa6ab65<<0x2^_0xa6ab65<<0x3^_0xa6ab65<<0x4;_0x52d01b=_0x52d01b>>>0x8^_0x52d01b&0xff^0x63,_0x4996da[_0x446b7c]=_0x52d01b,_0x213de6[_0x52d01b]=_0x446b7c;var _0x23a62d=_0x3dbb19[_0x446b7c],_0x830c59=_0x3dbb19[_0x23a62d],_0xd9dba=_0x3dbb19[_0x830c59],_0xaa756d=_0x3dbb19[_0x52d01b]*0x101^_0x52d01b*0x1010100;_0x1113e9[_0x446b7c]=_0xaa756d<<0x18|_0xaa756d>>>0x8,_0x218280[_0x446b7c]=_0xaa756d<<0x10|_0xaa756d>>>0x10,_0x4044b7[_0x446b7c]=_0xaa756d<<0x8|_0xaa756d>>>0x18,_0x45a251[_0x446b7c]=_0xaa756d;var _0xaa756d=_0xd9dba*0x1010101^_0x830c59*0x10001^_0x23a62d*0x101^_0x446b7c*0x1010100;_0x3ba266[_0x52d01b]=_0xaa756d<<0x18|_0xaa756d>>>0x8,_0x53c3f2[_0x52d01b]=_0xaa756d<<0x10|_0xaa756d>>>0x10,_0x592f35[_0x52d01b]=_0xaa756d<<0x8|_0xaa756d>>>0x18,_0x1b785e[_0x52d01b]=_0xaa756d,_0x446b7c?(_0x446b7c=_0x23a62d^_0x3dbb19[_0x3dbb19[_0x3dbb19[_0xd9dba^_0x23a62d]]],_0xa6ab65^=_0x3dbb19[_0x3dbb19[_0xa6ab65]]):_0x446b7c=_0xa6ab65=0x1;}}());var _0x59b34d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f3522=_0x266419[_0x49ce02(0x3ed)]=_0x2e7afd[_0x49ce02(0x16f)]({'_doReset':function(){var _0x5dccf3=_0x49ce02,_0x3b8783;if(!(this[_0x5dccf3(0x1dc)]&&this['_keyPriorReset']===this[_0x5dccf3(0x2ec)])){for(var _0x547146=this['_keyPriorReset']=this[_0x5dccf3(0x2ec)],_0x46b096=_0x547146[_0x5dccf3(0x376)],_0xad9f12=_0x547146[_0x5dccf3(0x44a)]/0x4,_0x436b2a=this[_0x5dccf3(0x1dc)]=_0xad9f12+0x6,_0x339a35=(_0x436b2a+0x1)*0x4,_0x25396c=this[_0x5dccf3(0x1a3)]=[],_0x2b3043=0x0;_0x2b3043<_0x339a35;_0x2b3043++)_0x2b3043<_0xad9f12?_0x25396c[_0x2b3043]=_0x46b096[_0x2b3043]:(_0x3b8783=_0x25396c[_0x2b3043-0x1],_0x2b3043%_0xad9f12?_0xad9f12>0x6&&_0x2b3043%_0xad9f12==0x4&&(_0x3b8783=_0x4996da[_0x3b8783>>>0x18]<<0x18|_0x4996da[_0x3b8783>>>0x10&0xff]<<0x10|_0x4996da[_0x3b8783>>>0x8&0xff]<<0x8|_0x4996da[_0x3b8783&0xff]):(_0x3b8783=_0x3b8783<<0x8|_0x3b8783>>>0x18,_0x3b8783=_0x4996da[_0x3b8783>>>0x18]<<0x18|_0x4996da[_0x3b8783>>>0x10&0xff]<<0x10|_0x4996da[_0x3b8783>>>0x8&0xff]<<0x8|_0x4996da[_0x3b8783&0xff],_0x3b8783^=_0x59b34d[_0x2b3043/_0xad9f12|0x0]<<0x18),_0x25396c[_0x2b3043]=_0x25396c[_0x2b3043-_0xad9f12]^_0x3b8783);for(var _0x4ac4e5=this[_0x5dccf3(0x243)]=[],_0x5689b9=0x0;_0x5689b9<_0x339a35;_0x5689b9++){var _0x2b3043=_0x339a35-_0x5689b9;if(_0x5689b9%0x4)var _0x3b8783=_0x25396c[_0x2b3043];else var _0x3b8783=_0x25396c[_0x2b3043-0x4];_0x5689b9<0x4||_0x2b3043<=0x4?_0x4ac4e5[_0x5689b9]=_0x3b8783:_0x4ac4e5[_0x5689b9]=_0x3ba266[_0x4996da[_0x3b8783>>>0x18]]^_0x53c3f2[_0x4996da[_0x3b8783>>>0x10&0xff]]^_0x592f35[_0x4996da[_0x3b8783>>>0x8&0xff]]^_0x1b785e[_0x4996da[_0x3b8783&0xff]];}}},'encryptBlock':function(_0x4eb565,_0x187599){var _0x2acf27=_0x49ce02;this[_0x2acf27(0x237)](_0x4eb565,_0x187599,this[_0x2acf27(0x1a3)],_0x1113e9,_0x218280,_0x4044b7,_0x45a251,_0x4996da);},'decryptBlock':function(_0x54027b,_0x2466db){var _0x135632=_0x49ce02,_0x3dfe4c=_0x54027b[_0x2466db+0x1];_0x54027b[_0x2466db+0x1]=_0x54027b[_0x2466db+0x3],_0x54027b[_0x2466db+0x3]=_0x3dfe4c,this[_0x135632(0x237)](_0x54027b,_0x2466db,this['_invKeySchedule'],_0x3ba266,_0x53c3f2,_0x592f35,_0x1b785e,_0x213de6);var _0x3dfe4c=_0x54027b[_0x2466db+0x1];_0x54027b[_0x2466db+0x1]=_0x54027b[_0x2466db+0x3],_0x54027b[_0x2466db+0x3]=_0x3dfe4c;},'_doCryptBlock':function(_0x55f4e0,_0x5ac360,_0x122925,_0x2dc178,_0x47f7a8,_0x4bb462,_0x1287aa,_0x621cb1){var _0x7cb22c=_0x49ce02;for(var _0x16a25d=this[_0x7cb22c(0x1dc)],_0x13c3bc=_0x55f4e0[_0x5ac360]^_0x122925[0x0],_0xc55c6e=_0x55f4e0[_0x5ac360+0x1]^_0x122925[0x1],_0x587304=_0x55f4e0[_0x5ac360+0x2]^_0x122925[0x2],_0x4fc568=_0x55f4e0[_0x5ac360+0x3]^_0x122925[0x3],_0x537bcb=0x4,_0x20fef8=0x1;_0x20fef8<_0x16a25d;_0x20fef8++){var _0x20a34e=_0x2dc178[_0x13c3bc>>>0x18]^_0x47f7a8[_0xc55c6e>>>0x10&0xff]^_0x4bb462[_0x587304>>>0x8&0xff]^_0x1287aa[_0x4fc568&0xff]^_0x122925[_0x537bcb++],_0x3ab1ef=_0x2dc178[_0xc55c6e>>>0x18]^_0x47f7a8[_0x587304>>>0x10&0xff]^_0x4bb462[_0x4fc568>>>0x8&0xff]^_0x1287aa[_0x13c3bc&0xff]^_0x122925[_0x537bcb++],_0x5e27b5=_0x2dc178[_0x587304>>>0x18]^_0x47f7a8[_0x4fc568>>>0x10&0xff]^_0x4bb462[_0x13c3bc>>>0x8&0xff]^_0x1287aa[_0xc55c6e&0xff]^_0x122925[_0x537bcb++],_0x41d1f3=_0x2dc178[_0x4fc568>>>0x18]^_0x47f7a8[_0x13c3bc>>>0x10&0xff]^_0x4bb462[_0xc55c6e>>>0x8&0xff]^_0x1287aa[_0x587304&0xff]^_0x122925[_0x537bcb++];_0x13c3bc=_0x20a34e,_0xc55c6e=_0x3ab1ef,_0x587304=_0x5e27b5,_0x4fc568=_0x41d1f3;}var _0x20a34e=(_0x621cb1[_0x13c3bc>>>0x18]<<0x18|_0x621cb1[_0xc55c6e>>>0x10&0xff]<<0x10|_0x621cb1[_0x587304>>>0x8&0xff]<<0x8|_0x621cb1[_0x4fc568&0xff])^_0x122925[_0x537bcb++],_0x3ab1ef=(_0x621cb1[_0xc55c6e>>>0x18]<<0x18|_0x621cb1[_0x587304>>>0x10&0xff]<<0x10|_0x621cb1[_0x4fc568>>>0x8&0xff]<<0x8|_0x621cb1[_0x13c3bc&0xff])^_0x122925[_0x537bcb++],_0x5e27b5=(_0x621cb1[_0x587304>>>0x18]<<0x18|_0x621cb1[_0x4fc568>>>0x10&0xff]<<0x10|_0x621cb1[_0x13c3bc>>>0x8&0xff]<<0x8|_0x621cb1[_0xc55c6e&0xff])^_0x122925[_0x537bcb++],_0x41d1f3=(_0x621cb1[_0x4fc568>>>0x18]<<0x18|_0x621cb1[_0x13c3bc>>>0x10&0xff]<<0x10|_0x621cb1[_0xc55c6e>>>0x8&0xff]<<0x8|_0x621cb1[_0x587304&0xff])^_0x122925[_0x537bcb++];_0x55f4e0[_0x5ac360]=_0x20a34e,_0x55f4e0[_0x5ac360+0x1]=_0x3ab1ef,_0x55f4e0[_0x5ac360+0x2]=_0x5e27b5,_0x55f4e0[_0x5ac360+0x3]=_0x41d1f3;},'keySize':0x100/0x20});_0x22cbd7[_0x49ce02(0x3ed)]=_0x2e7afd[_0x49ce02(0x17b)](_0x2f3522);}()),_0x2cafd1['AES'];}));}(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(){return at||(at=0x1,function(_0x1e6168,_0x357e71){(function(_0x47cc1c,_0x99be87){var _0x34fa42=_0x5763;_0x1e6168[_0x34fa42(0x17c)]=_0x99be87(ee());}(Ji,function(_0x5914e7){var _0xbd36b0=_0x5763;return _0x5914e7[_0xbd36b0(0x374)][_0xbd36b0(0x3b3)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x192676=_0x1f47c0;return ct||(ct=0x1,function(_0x40969a,_0x4b2d70){(function(_0x194f76,_0x43b358){_0x40969a['exports']=_0x43b358(ee());}(en,function(_0x279757){var _0x20d5ff=_0x5763;return(function(){var _0x5ae0a1=_0x5763;if(typeof ArrayBuffer=='function'){var _0x1dcdda=_0x279757,_0x332482=_0x1dcdda[_0x5ae0a1(0x30d)],_0x1384fe=_0x332482[_0x5ae0a1(0x40a)],_0x1fb350=_0x1384fe[_0x5ae0a1(0x150)],_0x5e1ddc=_0x1384fe['init']=function(_0x235c0e){var _0x2b95ca=_0x5ae0a1;if(_0x235c0e instanceof ArrayBuffer&&(_0x235c0e=new Uint8Array(_0x235c0e)),(_0x235c0e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x235c0e instanceof Uint8ClampedArray||_0x235c0e instanceof Int16Array||_0x235c0e instanceof Uint16Array||_0x235c0e instanceof Int32Array||_0x235c0e instanceof Uint32Array||_0x235c0e instanceof Float32Array||_0x235c0e instanceof Float64Array)&&(_0x235c0e=new Uint8Array(_0x235c0e[_0x2b95ca(0x142)],_0x235c0e[_0x2b95ca(0x349)],_0x235c0e[_0x2b95ca(0x1c9)])),_0x235c0e instanceof Uint8Array){for(var _0x10a04b=_0x235c0e[_0x2b95ca(0x1c9)],_0x463f12=[],_0x477963=0x0;_0x477963<_0x10a04b;_0x477963++)_0x463f12[_0x477963>>>0x2]|=_0x235c0e[_0x477963]<<0x18-_0x477963%0x4*0x8;_0x1fb350[_0x2b95ca(0x24d)](this,_0x463f12,_0x10a04b);}else _0x1fb350[_0x2b95ca(0x23c)](this,arguments);};_0x5e1ddc[_0x5ae0a1(0x2a8)]=_0x1384fe;}}()),_0x279757[_0x20d5ff(0x30d)][_0x20d5ff(0x40a)];}));}(Re)),Re[_0x192676(0x17c)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x1f47c0(0x17c)],ht;function on(){var _0x350521=_0x1f47c0;return ht||(ht=0x1,function(_0x180270,_0x5ad569){(function(_0x5bf5da,_0x37375e,_0xead88d){var _0x5f5de5=_0x5763;_0x180270[_0x5f5de5(0x17c)]=_0x37375e(ee(),At());}(sn,function(_0x45ba49){var _0x27a28a=_0x5763;return _0x45ba49[_0x27a28a(0x121)][_0x27a28a(0x340)]={'pad':function(){},'unpad':function(){}},_0x45ba49[_0x27a28a(0x121)][_0x27a28a(0x340)];}));}(ye)),ye[_0x350521(0x17c)];}var an=on();const cn=Se(an);function hn(_0x3e7313,_0x2fb1a9){var _0x403f50=_0x1f47c0;const _0x2b5ba5=_0x2fb1a9-_0x3e7313[_0x403f50(0x43c)]%_0x2fb1a9,_0x2bfeb7=String[_0x403f50(0x39d)](_0x2b5ba5)[_0x403f50(0x333)](_0x2b5ba5);return _0x3e7313+_0x2bfeb7;}function ln(_0x483a13,_0x58dffb){var _0x294ab4=_0x1f47c0;const _0x2951fe=rn[_0x294ab4(0x321)](0x10),_0x16446d=hn(_0x483a13,0x10),_0x3078f2=qi[_0x294ab4(0xea)](Qi['parse'](_0x16446d),ot[_0x294ab4(0x11b)](_0x58dffb),{'iv':_0x2951fe,'padding':cn});return _0x2951fe[_0x294ab4(0x446)](_0x3078f2[_0x294ab4(0x1aa)])[_0x294ab4(0x21b)](ot);}function _n(){var _0x2cb9e6=_0x1f47c0;const _0x5e0498=xt[_0x2cb9e6(0x274)]()[_0x2cb9e6(0x3f6)];if(_0x5e0498){const _0x43196f={'time':Math[_0x2cb9e6(0x366)](Date[_0x2cb9e6(0x2a7)]()/0x3e8),'domain':location[_0x2cb9e6(0x194)]};return ln(JSON[_0x2cb9e6(0x1e9)](_0x43196f),_0x5e0498);}}var un=Object[_0x1f47c0(0x269)],dn=(_0x1b0f3a,_0x3bad1a,_0x27ffaf,_0x1f44f1)=>{for(var _0x5d157a=_0x1f44f1>0x1?void 0x0:_0x1f44f1?un(_0x3bad1a,_0x27ffaf):_0x3bad1a,_0x2ea63c=_0x1b0f3a['length']-0x1,_0x58e9cd;_0x2ea63c>=0x0;_0x2ea63c--)(_0x58e9cd=_0x1b0f3a[_0x2ea63c])&&(_0x5d157a=_0x58e9cd(_0x5d157a)||_0x5d157a);return _0x5d157a;},vn=(_0x2b0f5c,_0x570c18)=>(_0x3559d2,_0x58039f)=>_0x570c18(_0x3559d2,_0x58039f,_0x2b0f5c);let Ne=class{constructor(_0x22db43){var _0x4efa37=_0x1f47c0;this[_0x4efa37(0x345)]=_0x22db43,this[_0x4efa37(0x41d)]();}[_0x1f47c0(0x41d)](){var _0x5d3184=_0x1f47c0;this[_0x5d3184(0x345)][_0x5d3184(0x2f4)]({'interceptor':(_0x4ea89f,_0x113747)=>{var _0x139168=_0x5d3184;const _0x2d9afb=_0x4ea89f[_0x139168(0x276)],_0xa43457=_n();return _0xa43457&&_0x2d9afb[_0x139168(0x41b)](_0x139168(0x2a0),_0xa43457),_0x113747(_0x4ea89f);}});}};Ne=dn([vn(0x0,a[_0x1f47c0(0x273)](q[_0x1f47c0(0x120)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x41d0d7,_0x4958e0,_0x2e34a0,_0xf09c5)=>{for(var _0x5b397d=_0xf09c5>0x1?void 0x0:_0xf09c5?Sn(_0x4958e0,_0x2e34a0):_0x4958e0,_0x4073ce=_0x41d0d7['length']-0x1,_0x145cae;_0x4073ce>=0x0;_0x4073ce--)(_0x145cae=_0x41d0d7[_0x4073ce])&&(_0x5b397d=_0x145cae(_0x5b397d)||_0x5b397d);return _0x5b397d;},Me=(_0x5c7dd2,_0x15a09f)=>(_0x136c30,_0x466797)=>_0x15a09f(_0x136c30,_0x466797,_0x5c7dd2);exports[_0x1f47c0(0x2e0)]=class extends a[_0x1f47c0(0x433)]{constructor(_0x33249f,_0x8215a4,_0x3a9714){var _0x4028c7=_0x1f47c0;super(),P(this,_0x4028c7(0x441),new j[(_0x4028c7(0x23f))](null)),P(this,_0x4028c7(0x21d),this['_unitInfo$']['asObservable']()),(this[_0x4028c7(0x325)]=_0x33249f,this[_0x4028c7(0x24f)]=_0x8215a4,this['_localCacheService']=_0x3a9714);}async[_0x1f47c0(0x125)](_0xa721e,_0x5a8492,_0x23dc28){var _0x19924c=_0x1f47c0;this['_unitInfo$'][_0x19924c(0x166)]({'unitId':_0xa721e,'type':_0x5a8492,'subUnitId':_0x23dc28});let _0x2a7568=null;switch(_0x5a8492){case X[_0x19924c(0x1fd)]:{_0x2a7568=await this[_0x19924c(0x327)](_0xa721e);break;}case X[_0x19924c(0x1ac)]:{_0x2a7568=await this[_0x19924c(0x408)](_0xa721e);break;}default:{this['_logService'][_0x19924c(0x13e)](_0x19924c(0x38b),_0x19924c(0x3d8));break;}}return _0x2a7568;}async['_loadSheet'](_0x279a40){var _0xe3f522=_0x1f47c0,_0x775e45;let _0x25e358=0x0;const _0x3e07ff=await((_0x775e45=this[_0xe3f522(0x38a)])==null?void 0x0:_0x775e45[_0xe3f522(0x26b)](_0x279a40));return _0x3e07ff&&(_0x3e07ff['awaitingChangeset']||_0x3e07ff[_0xe3f522(0x26f)][_0xe3f522(0x43c)]!==0x0)&&(_0x25e358=_0x3e07ff[_0xe3f522(0xfa)]),_0x25e358===0x0&&this[_0xe3f522(0x325)][_0xe3f522(0x443)](_0xe3f522(0x38b),_0xe3f522(0x271)),this[_0xe3f522(0x24f)][_0xe3f522(0x1de)](_0x279a40,_0x25e358);}async[_0x1f47c0(0x408)](_0x25d7ac){var _0x373527=_0x1f47c0,_0x10422b;let _0x515d49=0x0;const _0x5879aa=await((_0x10422b=this[_0x373527(0x38a)])==null?void 0x0:_0x10422b[_0x373527(0x26b)](_0x25d7ac));return _0x5879aa&&(_0x5879aa[_0x373527(0x265)]||_0x5879aa['mutations'][_0x373527(0x43c)]!==0x0)&&(_0x515d49=_0x5879aa['rev']),_0x515d49===0x0&&this['_logService'][_0x373527(0x443)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x373527(0x24f)][_0x373527(0x187)](_0x25d7ac,_0x515d49);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x1f47c0(0x380)]),Me(0x1,a[_0x1f47c0(0x273)](g[_0x1f47c0(0x21f)])),Me(0x2,a[_0x1f47c0(0x18f)](z))],exports[_0x1f47c0(0x2e0)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x5e4836,_0x4480bf,_0x3b9aec,_0x36ac7)=>{var _0x34a430=_0x1f47c0;for(var _0x5100f6=_0x36ac7>0x1?void 0x0:_0x36ac7?pn(_0x4480bf,_0x3b9aec):_0x4480bf,_0x5dfd01=_0x5e4836[_0x34a430(0x43c)]-0x1,_0x3c75eb;_0x5dfd01>=0x0;_0x5dfd01--)(_0x3c75eb=_0x5e4836[_0x5dfd01])&&(_0x5100f6=_0x3c75eb(_0x5100f6)||_0x5100f6);return _0x5100f6;},xe=(_0x443a73,_0x232f75)=>(_0x3c5ee3,_0x5d6f5e)=>_0x232f75(_0x3c5ee3,_0x5d6f5e,_0x443a73);const mn=[_0x1f47c0(0x2a1),_0x1f47c0(0x1fa),'image/jpg',_0x1f47c0(0x3e7),'image/bmp'],In=0x5*0x400*0x400,En=_0x1f47c0(0x34e),Cn='/universer-api/stream/file/upload',Tn=_0x1f47c0(0x353),bn=_0x1f47c0(0x2f2);exports[_0x1f47c0(0x44c)]=class{constructor(_0x556e21,_0x454310,_0x1a2b3b){var _0x1fcb55=_0x1f47c0;P(this,'_waitCount',0x0),P(this,_0x1fcb55(0x2b6),new j['Subject']()),P(this,'change$',this[_0x1fcb55(0x2b6)]),P(this,_0x1fcb55(0x3f2),new Map()),(this['_httpService']=_0x556e21,this[_0x1fcb55(0x295)]=_0x454310,this[_0x1fcb55(0x37e)]=_0x1a2b3b);}[_0x1f47c0(0x242)](_0x2b1e57){var _0x2acfc6=_0x1f47c0;this[_0x2acfc6(0x234)]=_0x2b1e57,this[_0x2acfc6(0x2b6)][_0x2acfc6(0x166)](_0x2b1e57);}[_0x1f47c0(0x246)](_0x5dfdfd,_0x3e8991){var _0x228d11=_0x1f47c0;if(_0x3e8991===J[_0x228d11(0x152)][_0x228d11(0x281)]){const _0xcf1c57=new Image();return _0xcf1c57['src']=_0x5dfdfd,_0xcf1c57;}return this[_0x228d11(0x3f2)][_0x228d11(0x15f)](_0x5dfdfd);}[_0x1f47c0(0x3cd)](_0x1568de,_0x9f3f56,_0x5687dc){var _0x334368=_0x1f47c0;_0x9f3f56===J[_0x334368(0x152)]['BASE64']||_0x5687dc==null||this[_0x334368(0x3f2)][_0x334368(0x41b)](_0x1568de,_0x5687dc);}async[_0x1f47c0(0x3ea)](_0x50a62d){var _0x4714df=_0x1f47c0;try{const _0x469c8d=this['_replaceFileID'](this[_0x4714df(0x322)](),''+_0x50a62d),_0x5d7d66=(await this[_0x4714df(0x345)][_0x4714df(0x15f)](_0x469c8d))[_0x4714df(0x3b8)];if(_0x5d7d66[_0x4714df(0x13e)]&&_0x5d7d66[_0x4714df(0x13e)][_0x4714df(0x213)]===Ct['OK']){const _0x140006=new URL(_0x5d7d66[_0x4714df(0x146)],this[_0x4714df(0x312)]())['toString']();return Promise[_0x4714df(0x21a)](_0x140006);}return Promise['reject'](_0x5d7d66[_0x4714df(0x13e)]);}catch(_0x197928){return Promise[_0x4714df(0xf7)](_0x197928);}}async[_0x1f47c0(0x106)](_0x2fd437){var _0x4074ce=_0x1f47c0;let _0x1346b5='';if(!mn[_0x4074ce(0xe6)](_0x2fd437[_0x4074ce(0x41a)]))return this[_0x4074ce(0x3fd)](),Promise[_0x4074ce(0xf7)](new Error(J[_0x4074ce(0x190)][_0x4074ce(0x3ac)]));if(_0x2fd437[_0x4074ce(0x344)]>In)return this[_0x4074ce(0x3fd)](),Promise[_0x4074ce(0xf7)](new Error(J[_0x4074ce(0x190)]['ERROR_EXCEED_SIZE']));try{const _0x50c911=new FormData();_0x50c911[_0x4074ce(0x293)](_0x4074ce(0x343),_0x2fd437);const _0x19c271=this[_0x4074ce(0x37e)][_0x4074ce(0x198)](),_0x3d4b8c=_0x19c271==null?void 0x0:_0x19c271['getUnitId']();if(!_0x3d4b8c)throw new Error(_0x4074ce(0x401));const _0x5222c8=this[_0x4074ce(0x40d)]()+_0x4074ce(0x216)+_0x2fd437['size'][_0x4074ce(0x21b)]()+_0x4074ce(0x3cc)+Tt[_0x4074ce(0x2f9)]+_0x4074ce(0x2a4)+encodeURIComponent(_0x3d4b8c),_0x1166de=await(await fetch(_0x5222c8,{'method':_0x4074ce(0x144),'body':_0x50c911}))[_0x4074ce(0x2c4)]();if(typeof _0x1166de[_0x4074ce(0x123)]!='string')return this['_decreaseWaiting'](),Promise[_0x4074ce(0xf7)](new Error(J[_0x4074ce(0x190)][_0x4074ce(0x2de)]));_0x1346b5=_0x1166de[_0x4074ce(0x123)];}catch{return this[_0x4074ce(0x3fd)](),Promise['reject'](new Error(J[_0x4074ce(0x190)][_0x4074ce(0x2de)]));}return new Promise((_0x34c40e,_0x5a2d1c)=>{var _0x21f403=_0x4074ce;const _0xfba228=new FileReader();_0xfba228[_0x21f403(0x2e8)](_0x2fd437),_0xfba228[_0x21f403(0x201)]=_0x3732c9=>{var _0x4a8230=_0x21f403,_0x45111c;const _0x46d32f=(_0x45111c=_0x3732c9[_0x4a8230(0x36d)])==null?void 0x0:_0x45111c[_0x4a8230(0x1f4)];if(_0x46d32f==null){this[_0x4a8230(0x3fd)](),_0x5a2d1c(new Error(J['ImageUploadStatusType'][_0x4a8230(0x2de)]));return;}const _0x373d8b=a[_0x4a8230(0x3bc)][_0x4a8230(0x227)](0x6);_0x34c40e({'imageId':_0x373d8b,'imageSourceType':J[_0x4a8230(0x152)]['UUID'],'source':_0x1346b5,'base64Cache':_0x46d32f,'status':J[_0x4a8230(0x190)][_0x4a8230(0x44e)]}),this[_0x4a8230(0x3fd)]();};});}[_0x1f47c0(0x40d)](){var _0x436a4f=_0x1f47c0,_0x490f30,_0x452ef0;const _0x4dab23=this['_configService']['getConfig'](En),_0x4ef974=this['_configService'][_0x436a4f(0x37b)](Y);return(_0x452ef0=(_0x490f30=_0x4ef974==null?void 0x0:_0x4ef974[_0x436a4f(0x2fc)])!=null?_0x490f30:_0x4dab23)!=null?_0x452ef0:Cn;}[_0x1f47c0(0x322)](){var _0x394230=_0x1f47c0,_0x59c94f,_0x24815f;const _0x406a2e=this[_0x394230(0x295)][_0x394230(0x37b)](Tn),_0x30fe18=this[_0x394230(0x295)][_0x394230(0x37b)](Y);return(_0x24815f=(_0x59c94f=_0x30fe18==null?void 0x0:_0x30fe18[_0x394230(0x20e)])!=null?_0x59c94f:_0x406a2e)!=null?_0x24815f:bn;}[_0x1f47c0(0x312)](){var _0xdb2e7a=_0x1f47c0,_0x2c7a44;const _0x241a0c=this[_0xdb2e7a(0x295)]['getConfig'](Y);return(_0x2c7a44=_0x241a0c==null?void 0x0:_0x241a0c[_0xdb2e7a(0x3a8)])!=null?_0x2c7a44:location['origin'];}[_0x1f47c0(0x288)](_0x50b3b3,_0x356134){var _0x1ea875=_0x1f47c0;return _0x50b3b3[_0x1ea875(0x2c2)]('{fileID}',_0x356134);}['_decreaseWaiting'](){var _0x261a4f=_0x1f47c0;this[_0x261a4f(0x234)]-=0x1,this['_change$'][_0x261a4f(0x166)](this['_waitCount']);}},exports[_0x1f47c0(0x44c)]=gn([xe(0x0,a[_0x1f47c0(0x273)](q['HTTPService'])),xe(0x1,a[_0x1f47c0(0x26a)]),xe(0x2,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x3c1)]))],exports[_0x1f47c0(0x44c)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x3083e5,_0x45c639,_0x2f4a60,_0x691c56)=>{for(var _0x428420=_0x691c56>0x1?void 0x0:_0x691c56?Rn(_0x45c639,_0x2f4a60):_0x45c639,_0x46cdd5=_0x3083e5['length']-0x1,_0x5b5b8f;_0x46cdd5>=0x0;_0x46cdd5--)(_0x5b5b8f=_0x3083e5[_0x46cdd5])&&(_0x428420=_0x5b5b8f(_0x428420)||_0x428420);return _0x428420;},lt=(_0x1a25b4,_0x1f743a)=>(_0x411918,_0x5b7d1f)=>_0x1f743a(_0x411918,_0x5b7d1f,_0x1a25b4);const On='/universer-api/authz';exports[_0x1f47c0(0x15b)]=class{constructor(_0x75109d,_0x39b722){var _0x5f382c=_0x1f47c0;this[_0x5f382c(0x295)]=_0x75109d,this[_0x5f382c(0x163)]=_0x39b722;}[_0x1f47c0(0x219)](){var _0x460e97=_0x1f47c0,_0x3ceb2d,_0x5b45aa;const _0x2712fa=this[_0x460e97(0x295)][_0x460e97(0x37b)](Ve),_0x33b44c=this[_0x460e97(0x295)][_0x460e97(0x37b)](Y);return(_0x5b45aa=(_0x3ceb2d=_0x33b44c==null?void 0x0:_0x33b44c[_0x460e97(0x428)])!=null?_0x3ceb2d:_0x2712fa)!=null?_0x5b45aa:On;}async['list'](_0x3e9ccf){var _0x5760a5=_0x1f47c0;const _0x482e70=this[_0x5760a5(0x219)]()+_0x5760a5(0x416);return{'list':[{'title':_0x5760a5(0x338),'mentions':(await this[_0x5760a5(0x163)][_0x5760a5(0x15f)](_0x482e70,{'params':{'objectID':_0x3e9ccf['unitId'],'unitID':_0x3e9ccf[_0x5760a5(0x1ec)]}}))[_0x5760a5(0x3b8)][_0x5760a5(0x33a)][_0x5760a5(0x191)](_0x1cf372=>({'objectId':_0x1cf372['id'],'name':_0x1cf372[_0x5760a5(0x381)][_0x5760a5(0x20b)],'metadata':{'icon':_0x1cf372[_0x5760a5(0x381)]['avatar']},'label':_0x1cf372['subject']['name'],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x5760a5(0x3be)]['PERSON']}]};}},exports[_0x1f47c0(0x15b)]=yn([lt(0x0,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x26a)])),lt(0x1,a['Inject'](q[_0x1f47c0(0x120)]))],exports[_0x1f47c0(0x15b)]);var Nn=Object[_0x1f47c0(0x269)],Dn=(_0x3c88ac,_0x102f31,_0x312918,_0x2ce20e)=>{var _0x1ca25a=_0x1f47c0;for(var _0x20443a=_0x2ce20e>0x1?void 0x0:_0x2ce20e?Nn(_0x102f31,_0x312918):_0x102f31,_0x5c1d83=_0x3c88ac[_0x1ca25a(0x43c)]-0x1,_0x2dd3bf;_0x5c1d83>=0x0;_0x5c1d83--)(_0x2dd3bf=_0x3c88ac[_0x5c1d83])&&(_0x20443a=_0x2dd3bf(_0x20443a)||_0x20443a);return _0x20443a;},ue=(_0x417c76,_0xa81522)=>(_0x1a312d,_0x311e6b)=>_0xa81522(_0x1a312d,_0x311e6b,_0x417c76);let De=class extends a[_0x1f47c0(0x433)]{constructor(_0xb06ef4,_0x5516a0,_0x3c1471,_0x1e0849,_0x3cdb88){var _0x5e6880=_0x1f47c0;super(),this[_0x5e6880(0x3ce)]=_0xb06ef4,this[_0x5e6880(0x37e)]=_0x5516a0,this['_permissionService']=_0x3c1471,this['_collaborationSessionService']=_0x1e0849,this['_collaborationUIEventService']=_0x3cdb88,this[_0x5e6880(0x141)](),this[_0x5e6880(0x1ed)]();}[_0x1f47c0(0x1ed)](){var _0x2637b5=_0x1f47c0;const _0x5bb6c2=async _0x244812=>{var _0x1a5637=_0x5763;(await this[_0x1a5637(0x155)][_0x1a5637(0x264)](_0x244812))[_0x1a5637(0x370)][_0x1a5637(0x40e)](W[_0x1a5637(0x318)](_0x469114=>_0x469114[_0x1a5637(0x171)]===g['CollaborationEvent'][_0x1a5637(0x34f)]),W[_0x1a5637(0x2b4)](this[_0x1a5637(0x3ab)]))[_0x1a5637(0x305)](_0x3c3ac2=>{var _0x593b5a=_0x1a5637;const _0x11c80f=_0x3c3ac2,{reason:_0x484665}=_0x11c80f[_0x593b5a(0x10a)];this[_0x593b5a(0x16a)][_0x593b5a(0x10c)]({'id':Q[_0x593b5a(0x38e)],'data':_0x484665}),this[_0x593b5a(0x399)][_0x593b5a(0x377)](new Z[(_0x593b5a(0x362))](_0x244812)['id'],!0x1),this[_0x593b5a(0x155)][_0x593b5a(0x1bf)](_0x244812);});};j[_0x2637b5(0x1b9)](this[_0x2637b5(0x37e)][_0x2637b5(0x369)](a[_0x2637b5(0x3a1)][_0x2637b5(0x1fd)]),this[_0x2637b5(0x37e)][_0x2637b5(0x369)](a[_0x2637b5(0x3a1)][_0x2637b5(0x1ac)]))[_0x2637b5(0x40e)](W[_0x2637b5(0x191)](_0x103225=>_0x103225[_0x2637b5(0x31e)]()),W[_0x2637b5(0x318)](_0x50ad5a=>!a[_0x2637b5(0x292)](_0x50ad5a)),W['takeUntil'](this['dispose$']))[_0x2637b5(0x305)](_0x41f7a4=>{_0x5bb6c2(_0x41f7a4);});}[_0x1f47c0(0x141)](){var _0x387288=_0x1f47c0;const _0x5f1887=async _0x4a3f43=>{var _0x27d0d6=_0x5763;const _0x57465d=await this[_0x27d0d6(0x155)][_0x27d0d6(0x264)](_0x4a3f43),_0x2c0327=this[_0x27d0d6(0x3ce)][_0x27d0d6(0x15f)](Z[_0x27d0d6(0x27b)]);_0x57465d[_0x27d0d6(0x370)][_0x27d0d6(0x40e)](W[_0x27d0d6(0x318)](_0x27b267=>_0x27b267['eventID']===g[_0x27d0d6(0x352)][_0x27d0d6(0x375)]),W[_0x27d0d6(0x2b4)](this['dispose$']))['subscribe'](_0x2e784d=>{var _0x12f3a7=_0x27d0d6;const _0x1dbb59=_0x2e784d,{objectId:_0x1bf922}=_0x1dbb59[_0x12f3a7(0x10a)];_0x1bf922===_0x4a3f43?_0x2c0327['initWorkbookPermissionChange'](_0x4a3f43):_0x2c0327[_0x12f3a7(0x371)](_0x4a3f43,_0x1bf922);});};j['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x387288(0x3a1)]['UNIVER_SHEET']))[_0x387288(0x40e)](W[_0x387288(0x191)](_0x23aa90=>_0x23aa90['getUnitId']()),W[_0x387288(0x318)](_0x4cb050=>!a[_0x387288(0x292)](_0x4cb050)),W['takeUntil'](this[_0x387288(0x3ab)]))[_0x387288(0x305)](_0x524f64=>{_0x5f1887(_0x524f64);});}};De=Dn([ue(0x0,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),ue(0x1,a[_0x1f47c0(0x3c1)]),ue(0x2,a[_0x1f47c0(0x2db)]),ue(0x3,a[_0x1f47c0(0x273)](exports['CollaborationSessionService'])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x1f47c0(0x269)],Pn=(_0x4a51ee,_0xce6a86,_0x495a39,_0x589171)=>{for(var _0x557abc=_0x589171>0x1?void 0x0:_0x589171?Un(_0xce6a86,_0x495a39):_0xce6a86,_0x911ebc=_0x4a51ee['length']-0x1,_0x5a58ff;_0x911ebc>=0x0;_0x911ebc--)(_0x5a58ff=_0x4a51ee[_0x911ebc])&&(_0x557abc=_0x5a58ff(_0x557abc)||_0x557abc);return _0x557abc;},_t=(_0x2aa77b,_0x3252e3)=>(_0x3b1bb0,_0x43c73a)=>_0x3252e3(_0x3b1bb0,_0x43c73a,_0x2aa77b);exports['SnapshotServerOverHTTPService']=class{constructor(_0x4d6c01,_0x1f47ec){var _0x266724=_0x1f47c0;this[_0x266724(0x295)]=_0x4d6c01,this[_0x266724(0x345)]=_0x1f47ec;}async['getUnitOnRev'](_0x2118fe,_0xe82fb){var _0xf1bd3=_0x1f47c0,_0x3f0776;const {unitID:_0x506330,type:_0x211cbc,revision:_0x10f792=0x0}=_0xe82fb,_0x35a6ef=this['getSnapshotAPIPath']()+'/'+_0x211cbc+'/unit/'+_0x506330+_0xf1bd3(0x138)+_0x10f792,_0x43ffd1=(await this[_0xf1bd3(0x345)][_0xf1bd3(0x15f)](_0x35a6ef))[_0xf1bd3(0x3b8)],_0x5c6c3c=(_0x3f0776=_0x43ffd1[_0xf1bd3(0x437)])==null?void 0x0:_0x3f0776[_0xf1bd3(0x3a5)];if(_0x5c6c3c){const _0x50e092=_0x5c6c3c==null?void 0x0:_0x5c6c3c['originalMeta'],_0x347807=g[_0xf1bd3(0x3c6)][_0xf1bd3(0x23a)](g[_0xf1bd3(0x1bd)](_0x50e092));_0x5c6c3c[_0xf1bd3(0x1b8)]=_0x347807,Object['entries'](_0x5c6c3c[_0xf1bd3(0x3c5)])[_0xf1bd3(0x300)](([,_0x4bac39])=>{var _0x2fa384=_0xf1bd3;const _0x4df15f=_0x4bac39['originalMeta'],_0x47338c=g[_0x2fa384(0x3c6)][_0x2fa384(0x23a)](g['b64DecodeUnicode'](_0x4df15f));_0x4bac39['originalMeta']=_0x47338c;});}return _0x43ffd1;}async[_0x1f47c0(0x282)](_0x3e10d9,_0x5470fd){var _0x192cdd=_0x1f47c0;const {unitID:_0x1ddb59,type:_0x320c85,blockID:_0x2c3268}=_0x5470fd,_0x29165f=this['_getAPIPrefix']()+'/'+_0x320c85+_0x192cdd(0x1c2)+_0x1ddb59+_0x192cdd(0x28f)+_0x2c3268;return(await this[_0x192cdd(0x345)][_0x192cdd(0x15f)](_0x29165f))[_0x192cdd(0x3b8)];}async[_0x1f47c0(0x107)](_0x5d531b,_0x1011ff){var _0x3e6dac=_0x1f47c0;const {unitID:_0x336fb1,type:_0x31d9f9,blockID:_0x228dae}=_0x1011ff,_0x2bace1=this['_getAPIPrefix']()+_0x3e6dac(0x28f)+_0x31d9f9+_0x3e6dac(0x1c2)+_0x336fb1+_0x3e6dac(0x28f)+_0x228dae;return(await this[_0x3e6dac(0x345)][_0x3e6dac(0x15f)](_0x2bace1))['body'];}async['fetchMissingChangesets'](_0x1ec0fe,_0x5bd802){var _0x41f1c3=_0x1f47c0;const {unitID:_0x48056f,type:_0x38ed8f,from:_0x8230dd,to:_0x503220}=_0x5bd802,_0x463fab=this[_0x41f1c3(0x331)]()+'/'+_0x38ed8f+_0x41f1c3(0x1c2)+_0x48056f+_0x41f1c3(0x3d0)+_0x8230dd+_0x41f1c3(0x3eb)+_0x503220;return(await this['_httpService'][_0x41f1c3(0x15f)](_0x463fab))[_0x41f1c3(0x3b8)];}['getSnapshotAPIPath'](){var _0x5bd64e=_0x1f47c0,_0x28f7b9;return(_0x28f7b9=this[_0x5bd64e(0x295)][_0x5bd64e(0x37b)](vt))!=null?_0x28f7b9:this[_0x5bd64e(0x331)]();}['_getAPIPrefix'](){var _0x1c020b=_0x1f47c0,_0x4c43f4,_0x11397d;const _0x39ec5f=this[_0x1c020b(0x295)][_0x1c020b(0x37b)](dt),_0x15e4d8=this[_0x1c020b(0x295)][_0x1c020b(0x37b)](Y);return(_0x11397d=(_0x4c43f4=_0x15e4d8==null?void 0x0:_0x15e4d8['snapshotServerUrl'])!=null?_0x4c43f4:_0x39ec5f)!=null?_0x11397d:kt;}async[_0x1f47c0(0x454)](_0xc44669,_0x38a69c){var _0x1194ea=_0x1f47c0;const _0x4085dd=_0x1194ea(0x453)+_0x38a69c[_0x1194ea(0x41a)]+_0x1194ea(0x1c2)+_0x38a69c[_0x1194ea(0x1ea)]+_0x1194ea(0x2ad);return(await this[_0x1194ea(0x345)][_0x1194ea(0x15f)](_0x4085dd,{'params':{'resourceId':JSON['stringify'](_0x38a69c[_0x1194ea(0x110)])}}))[_0x1194ea(0x3b8)];}[_0x1f47c0(0x224)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f47c0(0x130)](){var _0x4f38f8=_0x1f47c0;throw new Error(_0x4f38f8(0x223));}['copyFileMeta'](){var _0x13581a=_0x1f47c0;throw new Error(_0x13581a(0x223));}[_0x1f47c0(0x3de)](){var _0x81d084=_0x1f47c0;throw new Error(_0x81d084(0x223));}},exports[_0x1f47c0(0x3e9)]=Pn([_t(0x0,a[_0x1f47c0(0x26a)]),_t(0x1,a[_0x1f47c0(0x273)](q[_0x1f47c0(0x120)]))],exports[_0x1f47c0(0x3e9)]);var An=Object['getOwnPropertyDescriptor'],wn=(_0x39f6e2,_0x57a34e,_0x4269a9,_0x4efb37)=>{var _0x3e26b7=_0x1f47c0;for(var _0x2a16d8=_0x4efb37>0x1?void 0x0:_0x4efb37?An(_0x57a34e,_0x4269a9):_0x57a34e,_0x1b5c12=_0x39f6e2[_0x3e26b7(0x43c)]-0x1,_0x2c9e7e;_0x1b5c12>=0x0;_0x1b5c12--)(_0x2c9e7e=_0x39f6e2[_0x1b5c12])&&(_0x2a16d8=_0x2c9e7e(_0x2a16d8)||_0x2a16d8);return _0x2a16d8;},de=(_0x1550cf,_0x4c833f)=>(_0x43b219,_0x18ff3f)=>_0x4c833f(_0x43b219,_0x18ff3f,_0x1550cf);exports[_0x1f47c0(0x277)]=class extends a[_0x1f47c0(0x2ab)]{constructor(_0x554f13,_0x59fb28,_0x4bb87c,_0xaec397,_0x2cf28c){var _0x34a6ac=_0x1f47c0;super(_0x554f13,_0x59fb28,_0x4bb87c),this['_transformService']=_0xaec397,this[_0x34a6ac(0x325)]=_0x2cf28c;}[_0x1f47c0(0x257)](_0x448d81,_0x36839d){var _0x1eb64f=_0x1f47c0;const _0x157b97=this['_getUndoStack'](_0x448d81);if(_0x157b97)try{const _0x8a4fc1=this['_transformStack'](_0x157b97,_0x36839d);this[_0x1eb64f(0x1c5)](_0x448d81,_0x8a4fc1);}catch(_0x5832cc){this[_0x1eb64f(0x325)][_0x1eb64f(0x13e)]('[CollaborationUndoRedoService]',_0x5832cc),this[_0x1eb64f(0x3d2)](_0x448d81);}const _0x2393b5=this['_getRedoStack'](_0x448d81);if(_0x2393b5)try{const _0x5e3b36=this[_0x1eb64f(0x24e)](_0x2393b5,_0x36839d);this[_0x1eb64f(0x36b)](_0x448d81,_0x5e3b36);}catch(_0x1a5051){this['_logService']['error'](_0x1a5051),this[_0x1eb64f(0x2ca)](_0x448d81);}}['_clearUndo'](_0x32fe26){var _0xdef1b2=_0x1f47c0;const _0x3008bb=this['_getUndoStack'](_0x32fe26);_0x3008bb&&(_0x3008bb[_0xdef1b2(0x43c)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3b4a2d){var _0x2b082c=_0x1f47c0;const _0x406653=this[_0x2b082c(0x2f3)](_0x3b4a2d);_0x406653&&(_0x406653[_0x2b082c(0x43c)]=0x0,this[_0x2b082c(0x16c)]());}[_0x1f47c0(0x1c5)](_0x32cd24,_0x4b0add){this['_undoStacks']['set'](_0x32cd24,_0x4b0add),this['_updateStatus']();}[_0x1f47c0(0x36b)](_0x145573,_0x12e9f0){var _0x1fa89d=_0x1f47c0;this[_0x1fa89d(0x14c)][_0x1fa89d(0x41b)](_0x145573,_0x12e9f0),this['_updateStatus']();}[_0x1f47c0(0x24e)](_0x3f276d,_0x4ce65d){var _0x384793=_0x1f47c0;const _0x149544=[];let _0x36dc30=_0x4ce65d,_0x2ef8bd=_0x4ce65d;for(let _0x2d6e18=_0x3f276d['length']-0x1;_0x2d6e18>=0x0;_0x2d6e18--){const {unitID:_0x21202a,undoMutations:_0x105f7b,redoMutations:_0x348671}=_0x3f276d[_0x2d6e18],_0x464d4e=this[_0x384793(0x299)][_0x384793(0x103)](_0x36dc30,_0x105f7b),_0x1d7891=this[_0x384793(0x299)]['transformMutationsWithChangeset'](_0x2ef8bd,_0x348671);if(g[_0x384793(0x3ec)](_0x464d4e)||g[_0x384793(0x3ec)](_0x1d7891)){this[_0x384793(0x325)][_0x384793(0x13e)](_0x384793(0x38d),_0x384793(0x188),_0x464d4e,_0x1d7891);break;}_0x36dc30=_0x464d4e[_0x384793(0x2ce)],_0x2ef8bd=_0x1d7891[_0x384793(0x2ce)],_0x149544[_0x384793(0x1b6)]({'unitID':_0x21202a,'undoMutations':_0x464d4e[_0x384793(0x1a7)],'redoMutations':_0x1d7891[_0x384793(0x1a7)]});}return _0x149544[_0x384793(0x317)]();}},exports[_0x1f47c0(0x277)]=wn([de(0x0,a[_0x1f47c0(0x3c1)]),de(0x1,a['ICommandService']),de(0x2,a[_0x1f47c0(0x436)]),de(0x3,g[_0x1f47c0(0x424)]),de(0x4,a[_0x1f47c0(0x380)])],exports[_0x1f47c0(0x277)]);var Ln=Object[_0x1f47c0(0x294)],Mn=Object[_0x1f47c0(0x269)],xn=(_0x147e8b,_0x5a0db0,_0x3c17d3)=>_0x5a0db0 in _0x147e8b?Ln(_0x147e8b,_0x5a0db0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c17d3}):_0x147e8b[_0x5a0db0]=_0x3c17d3,kn=(_0x5cb30c,_0x29eadb,_0x1c975f,_0x391758)=>{var _0x557225=_0x1f47c0;for(var _0x1963e3=_0x391758>0x1?void 0x0:_0x391758?Mn(_0x29eadb,_0x1c975f):_0x29eadb,_0x16cb72=_0x5cb30c[_0x557225(0x43c)]-0x1,_0x3627af;_0x16cb72>=0x0;_0x16cb72--)(_0x3627af=_0x5cb30c[_0x16cb72])&&(_0x1963e3=_0x3627af(_0x1963e3)||_0x1963e3);return _0x1963e3;},ke=(_0x3fdc3a,_0x408e47)=>(_0x52f4bc,_0xb7bc31)=>_0x408e47(_0x52f4bc,_0xb7bc31,_0x3fdc3a),Hn=(_0x19ff02,_0x4c98af,_0x48aedf)=>xn(_0x19ff02,_0x4c98af+'',_0x48aedf);const jn=_0x1f47c0(0x1d9);exports[_0x1f47c0(0x17a)]=class extends a[_0x1f47c0(0x37f)]{constructor(_0x4c0862,_0xbfee19,_0x3f35fc,_0x4673e9){var _0x2b321d=_0x1f47c0;super(),P(this,_0x2b321d(0x3db)),(this['_logService']=_0xbfee19,this[_0x2b321d(0x3ce)]=_0x3f35fc,this[_0x2b321d(0x295)]=_0x4673e9);const {..._0x1859a5}=a[_0x2b321d(0x1b9)]({},Jt,_0x4c0862);if(!_0x1859a5[_0x2b321d(0x30b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2b321d(0x3db)]=_0x1859a5,this[_0x2b321d(0x295)][_0x2b321d(0x404)](Y,_0x1859a5);}[_0x1f47c0(0x13d)](){var _0xbfc97=_0x1f47c0;this[_0xbfc97(0x35e)](),this[_0xbfc97(0x307)]();}[_0x1f47c0(0x35e)](){var _0x11007d=_0x1f47c0,_0x4c4ad5,_0x22a751;this[_0x11007d(0x3ce)]['has'](a[_0x11007d(0x13a)])&&this['_logService'][_0x11007d(0x13e)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x43a347=a[_0x11007d(0x1f2)]([[a[_0x11007d(0x13a)],{'useClass':exports[_0x11007d(0x277)]}],[exports[_0x11007d(0x2b5)]],[exports['MemberService']],[exports[_0x11007d(0x359)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x11007d(0x2e0)]],[$e,{'useClass':this[_0x11007d(0x3db)]['socketService']}],[g['ISnapshotServerService'],{'useClass':exports[_0x11007d(0x3e9)]}],[a[_0x11007d(0x43a)],{'useClass':exports[_0x11007d(0x26c)]}],[J[_0x11007d(0x24a)],{'useClass':exports[_0x11007d(0x44c)]}],[a['IMentionIOService'],{'useClass':exports[_0x11007d(0x15b)]}],[exports[_0x11007d(0x3ca)]],[He]],(_0x4c4ad5=this[_0x11007d(0x3db)])==null?void 0x0:_0x4c4ad5[_0x11007d(0xf4)]);if(!((_0x22a751=this['_config'])!=null&&_0x22a751[_0x11007d(0x2b3)])){const _0x1d0da5=_0x43a347[_0x11007d(0x43d)](([_0x3b6ed9])=>_0x3b6ed9===ve);_0x1d0da5!==-0x1&&_0x43a347[_0x11007d(0xfe)](_0x1d0da5,0x1);}a[_0x11007d(0x244)](this[_0x11007d(0x3ce)],_0x43a347);}[_0x1f47c0(0x307)](){var _0x4978d0=_0x1f47c0,_0x217f7e,_0x4177a9,_0x3e606f;this[_0x4978d0(0x3ce)]['get'](q[_0x4978d0(0x120)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x217f7e=this[_0x4978d0(0x3db)])!=null&&_0x217f7e[_0x4978d0(0x1c7)]||(_0x4177a9=this[_0x4978d0(0x3ce)]['get'](z,a[_0x4978d0(0x236)][_0x4978d0(0x207)]))==null||_0x4177a9[_0x4978d0(0x2dc)](),(_0x3e606f=this[_0x4978d0(0x3db)])!=null&&_0x3e606f[_0x4978d0(0x126)]&&a[_0x4978d0(0x35d)](this[_0x4978d0(0x3ce)],[[Oe]]),a[_0x4978d0(0x35d)](this['_injector'],[[Ne],[exports[_0x4978d0(0x3ca)]],[De]]);}},Hn(exports[_0x1f47c0(0x17a)],'pluginName',jn),exports[_0x1f47c0(0x17a)]=kn([a[_0x1f47c0(0x324)](g[_0x1f47c0(0x115)],q[_0x1f47c0(0x3da)]),ke(0x1,a[_0x1f47c0(0x380)]),ke(0x2,a[_0x1f47c0(0x273)](a[_0x1f47c0(0x21e)])),ke(0x3,a['IConfigService'])],exports[_0x1f47c0(0x17a)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x1f47c0(0x27f)]=Y,exports[_0x1f47c0(0x2a5)]=It,exports[_0x1f47c0(0xfc)]=St,exports['CollaborationStatus']=We,exports[_0x1f47c0(0xec)]=Q,exports[_0x1f47c0(0x33e)]=te,exports[_0x1f47c0(0x129)]=Be,exports[_0x1f47c0(0x22d)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x1f47c0(0x40f)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x1f47c0(0x31d)]=$e,exports[_0x1f47c0(0x1d0)]=z,exports[_0x1f47c0(0x32f)]=bt,exports[_0x1f47c0(0x3e8)]=ve,exports[_0x1f47c0(0x189)]=Vt,exports[_0x1f47c0(0x225)]=Gt,exports[_0x1f47c0(0x455)]=Et,exports[_0x1f47c0(0x104)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x1f47c0(0x30e)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x1f47c0(0x1e7)]=vt,exports[_0x1f47c0(0x18e)]=se,exports[_0x1f47c0(0x1bc)]=Fe,exports[_0x1f47c0(0x18d)]=Rt,exports[_0x1f47c0(0x2d7)]=vi,exports[_0x1f47c0(0x43b)]=yt;
|