@univerjs-pro/collaboration-client 0.6.5-nightly.202503121607 → 0.6.5-nightly.202503131607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x4dad21=_0x5c5f;(function(_0x50cf00,_0x105c90){var _0x586347=_0x5c5f,_0x45cd8a=_0x50cf00();while(!![]){try{var _0x52731b=-parseInt(_0x586347(0x2cf))/0x1*(-parseInt(_0x586347(0x17e))/0x2)+-parseInt(_0x586347(0x304))/0x3*(-parseInt(_0x586347(0x312))/0x4)+-parseInt(_0x586347(0x1ef))/0x5+parseInt(_0x586347(0x26f))/0x6*(-parseInt(_0x586347(0x3d0))/0x7)+-parseInt(_0x586347(0x276))/0x8+parseInt(_0x586347(0x1df))/0x9+parseInt(_0x586347(0x44d))/0xa;if(_0x52731b===_0x105c90)break;else _0x45cd8a['push'](_0x45cd8a['shift']());}catch(_0x7b8d88){_0x45cd8a['push'](_0x45cd8a['shift']());}}}(_0x2166,0x633d1));var wt=Object[_0x4dad21(0x22c)],Lt=(_0x1e03e7,_0x7f4162,_0x1c1d46)=>_0x7f4162 in _0x1e03e7?wt(_0x1e03e7,_0x7f4162,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c1d46}):_0x1e03e7[_0x7f4162]=_0x1c1d46,P=(_0x409a63,_0x5f2560,_0x4c4552)=>Lt(_0x409a63,typeof _0x5f2560!='symbol'?_0x5f2560+'':_0x5f2560,_0x4c4552);Object[_0x4dad21(0x22c)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x4dad21(0x17a)),j=require(_0x4dad21(0x3d5)),W=require(_0x4dad21(0x394)),g=require(_0x4dad21(0x2a0)),q=require('@univerjs/network'),Mt=require(_0x4dad21(0x383)),ut=require(_0x4dad21(0x28e)),Z=require(_0x4dad21(0x1b9)),J=require(_0x4dad21(0x18a)),xt=require('@univerjs-pro/license'),dt=_0x4dad21(0x16b),kt=_0x4dad21(0x1fc),vt='SNAPSHOT_URL_KEY',Ht=_0x4dad21(0x20c),jt=0x7d0,St=_0x4dad21(0x150),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x4dad21(0x16a),pt=_0x4dad21(0x3a0),Bt=0x7530,je=_0x4dad21(0x38c),gt=0x4e20,Ft=0x4e20,mt=_0x4dad21(0x20d),Wt=0x3,Gt=_0x4dad21(0x275),Vt=0x3e8,It=_0x4dad21(0x461),Kt=_0x4dad21(0x161),Et=_0x4dad21(0x319),Yt=_0x4dad21(0x302),qt=_0x4dad21(0x195),zt=_0x4dad21(0x3c0);var Ct=(_0x5ddf85=>(_0x5ddf85[_0x5ddf85[_0x4dad21(0x201)]=0x0]=_0x4dad21(0x201),_0x5ddf85[_0x5ddf85['OK']=0x1]='OK',_0x5ddf85[_0x5ddf85[_0x4dad21(0x298)]=0x2]=_0x4dad21(0x298),_0x5ddf85[_0x5ddf85[_0x4dad21(0x433)]=0x3]=_0x4dad21(0x433),_0x5ddf85[_0x5ddf85['NOT_FOUND']=0x4]=_0x4dad21(0x165),_0x5ddf85[_0x5ddf85[_0x4dad21(0x38f)]=0x5]=_0x4dad21(0x38f),_0x5ddf85[_0x5ddf85[_0x4dad21(0x231)]=0x6]=_0x4dad21(0x231),_0x5ddf85[_0x5ddf85['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5ddf85[_0x5ddf85['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5ddf85[_0x5ddf85[_0x4dad21(0x217)]=0x9]=_0x4dad21(0x217),_0x5ddf85[_0x5ddf85[_0x4dad21(0x1dc)]=0x1389]=_0x4dad21(0x1dc),_0x5ddf85[_0x5ddf85[_0x4dad21(0x277)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5ddf85[_0x5ddf85['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4dad21(0x2b4),_0x5ddf85[_0x5ddf85['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4dad21(0x439),_0x5ddf85[_0x5ddf85['APPLY_REJECT']=0x1b59]=_0x4dad21(0x38d),_0x5ddf85[_0x5ddf85[_0x4dad21(0x36e)]=0x1b5a]=_0x4dad21(0x36e),_0x5ddf85[_0x5ddf85[_0x4dad21(0x37a)]=0x1b5b]=_0x4dad21(0x37a),_0x5ddf85[_0x5ddf85[_0x4dad21(0x3dd)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ddf85[_0x5ddf85[_0x4dad21(0x10b)]=0x1b5d]=_0x4dad21(0x10b),_0x5ddf85[_0x5ddf85[_0x4dad21(0x24d)]=0x1f41]=_0x4dad21(0x24d),_0x5ddf85[_0x5ddf85[_0x4dad21(0x33e)]=0x2329]=_0x4dad21(0x33e),_0x5ddf85[_0x5ddf85['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4dad21(0x254),_0x5ddf85[_0x5ddf85[_0x4dad21(0x380)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ddf85[_0x5ddf85[_0x4dad21(0x26c)]=0x232c]=_0x4dad21(0x26c),_0x5ddf85[_0x5ddf85['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4dad21(0x279),_0x5ddf85[_0x5ddf85[_0x4dad21(0x158)]=0x2711]=_0x4dad21(0x158),_0x5ddf85[_0x5ddf85[_0x4dad21(0x22f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5ddf85[_0x5ddf85[_0x4dad21(0x2a4)]=0x2713]=_0x4dad21(0x2a4),_0x5ddf85[_0x5ddf85[_0x4dad21(0x39e)]=0x2714]=_0x4dad21(0x39e),_0x5ddf85[_0x5ddf85[_0x4dad21(0x11a)]=0x2af9]=_0x4dad21(0x11a),_0x5ddf85[_0x5ddf85[_0x4dad21(0x22e)]=-0x1]=_0x4dad21(0x22e),_0x5ddf85))(Ct||{}),X=(_0x29466d=>(_0x29466d[_0x29466d[_0x4dad21(0x14c)]=0x0]=_0x4dad21(0x14c),_0x29466d[_0x29466d[_0x4dad21(0x2d2)]=0x1]='UNIVER_DOC',_0x29466d[_0x29466d[_0x4dad21(0x40a)]=0x2]=_0x4dad21(0x40a),_0x29466d[_0x29466d['UNIVER_SLIDE']=0x3]=_0x4dad21(0x109),_0x29466d[_0x29466d[_0x4dad21(0x184)]=0x4]=_0x4dad21(0x184),_0x29466d[_0x29466d[_0x4dad21(0x22e)]=-0x1]=_0x4dad21(0x22e),_0x29466d))(X||{}),G=(_0x5ad07f=>(_0x5ad07f[_0x5ad07f[_0x4dad21(0x15e)]=0x0]='UNKNOWN_CMD',_0x5ad07f[_0x5ad07f[_0x4dad21(0x188)]=0x1]=_0x4dad21(0x188),_0x5ad07f[_0x5ad07f['JOIN']=0x2]='JOIN',_0x5ad07f[_0x5ad07f[_0x4dad21(0x187)]=0x3]=_0x4dad21(0x187),_0x5ad07f[_0x5ad07f[_0x4dad21(0x2bd)]=0x4]=_0x4dad21(0x2bd),_0x5ad07f[_0x5ad07f[_0x4dad21(0x32b)]=0x5]=_0x4dad21(0x32b),_0x5ad07f[_0x5ad07f['RECV']=0x6]=_0x4dad21(0x45b),_0x5ad07f[_0x5ad07f[_0x4dad21(0x22e)]=-0x1]=_0x4dad21(0x22e),_0x5ad07f))(G||{}),ae=(_0x58c283=>(_0x58c283[_0x58c283[_0x4dad21(0x397)]=0x0]='UNKNOWN_CODE',_0x58c283[_0x58c283['OK']=0x1]='OK',_0x58c283[_0x58c283['FAIL']=0x2]=_0x4dad21(0x2e2),_0x58c283[_0x58c283['JOIN_ROOM_FULL']=0x3e9]=_0x4dad21(0x260),_0x58c283[_0x58c283[_0x4dad21(0x27d)]=0x3ea]=_0x4dad21(0x27d),_0x58c283[_0x58c283[_0x4dad21(0x405)]=0x3eb]=_0x4dad21(0x405),_0x58c283[_0x58c283[_0x4dad21(0x23d)]=0x3ec]=_0x4dad21(0x23d),_0x58c283[_0x58c283[_0x4dad21(0x22e)]=-0x1]=_0x4dad21(0x22e),_0x58c283))(ae||{}),Tt=(_0x3f9459=>(_0x3f9459[_0x3f9459[_0x4dad21(0x37d)]=0x0]=_0x4dad21(0x37d),_0x3f9459[_0x3f9459[_0x4dad21(0x34e)]=0x1]=_0x4dad21(0x34e),_0x3f9459[_0x3f9459[_0x4dad21(0x1dd)]=0x2]=_0x4dad21(0x1dd),_0x3f9459[_0x3f9459[_0x4dad21(0x24c)]=0x3]=_0x4dad21(0x24c),_0x3f9459[_0x3f9459[_0x4dad21(0x2aa)]=0x4]=_0x4dad21(0x2aa),_0x3f9459[_0x3f9459[_0x4dad21(0x22e)]=-0x1]=_0x4dad21(0x22e),_0x3f9459))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x958a5f=>(_0x958a5f[_0x4dad21(0x245)]=_0x4dad21(0x245),_0x958a5f['PERMISSION_DENIED']='PERMISSION_DENIED',_0x958a5f['CONFLICT']=_0x4dad21(0x221),_0x958a5f[_0x4dad21(0x3b0)]=_0x4dad21(0x3b0),_0x958a5f['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x958a5f[_0x4dad21(0x2af)]=_0x4dad21(0x2af),_0x958a5f[_0x4dad21(0x3c3)]=_0x4dad21(0x3c3),_0x958a5f['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x958a5f))(Q||{});class te{constructor(){var _0x3a4e1b=_0x4dad21;P(this,_0x3a4e1b(0x390),new j[(_0x3a4e1b(0x19a))]()),P(this,_0x3a4e1b(0x3d3),this[_0x3a4e1b(0x390)]['asObservable']());}['emitEvent'](_0x2dd8d7){var _0x4db58f=_0x4dad21;this[_0x4db58f(0x390)]['next'](_0x2dd8d7);}}const bt=a[_0x4dad21(0x155)](_0x4dad21(0x3a6));function _0x5c5f(_0x3bed87,_0x4f4a13){var _0x216658=_0x2166();return _0x5c5f=function(_0x5c5fa9,_0x5ddd3d){_0x5c5fa9=_0x5c5fa9-0xfb;var _0x4b93b6=_0x216658[_0x5c5fa9];return _0x4b93b6;},_0x5c5f(_0x3bed87,_0x4f4a13);}function Rt(_0x1d15aa){var _0x58f3f5=_0x4dad21,_0x5877d0,_0x4161b9,_0x525130,_0x183845,_0x40b4b9;const _0x3993d7=_0x1d15aa[_0x58f3f5(0x16e)],_0x584ceb=JSON[_0x58f3f5(0x234)](_0x3993d7);switch(_0x584ceb[_0x58f3f5(0x1ce)]){case G[_0x58f3f5(0x32b)]:case G[_0x58f3f5(0x188)]:{const _0xcba928=_0x584ceb['infoRsp'];return{..._0x584ceb,'data':_0xcba928,'cmd':_0x584ceb['cmd']};}case G[_0x58f3f5(0x338)]:{const _0x4d545a=_0x584ceb[_0x58f3f5(0x413)];return{..._0x584ceb,'data':_0x4d545a,'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};}case G[_0x58f3f5(0x45b)]:{const _0x2ada36=_0x584ceb['collaMsg'];switch(_0x2ada36[_0x58f3f5(0x425)]){case g[_0x58f3f5(0x13b)][_0x58f3f5(0x46b)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':(_0x5877d0=_0x2ada36[_0x58f3f5(0x3e2)])==null?void 0x0:_0x5877d0['cs']},'cmd':_0x584ceb['cmd']};case g[_0x58f3f5(0x13b)]['CHANGESET_ACK']:return{..._0x584ceb,'data':{..._0x2ada36,'data':(_0x4161b9=_0x2ada36[_0x58f3f5(0x2c3)])==null?void 0x0:_0x4161b9['cs']},'cmd':_0x584ceb['cmd']};case g[_0x58f3f5(0x13b)][_0x58f3f5(0x33d)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':(_0x525130=_0x2ada36['newCsEvent'])==null?void 0x0:_0x525130['cs']},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)][_0x58f3f5(0x1d5)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':(_0x183845=_0x2ada36[_0x58f3f5(0x1bf)])==null?void 0x0:_0x183845['cs']},'cmd':_0x584ceb['cmd']};case g[_0x58f3f5(0x13b)]['CHANGESET_SHOULD_RETRY']:return{..._0x584ceb,'data':{..._0x2ada36,'data':(_0x40b4b9=_0x2ada36[_0x58f3f5(0x1e2)])==null?void 0x0:_0x40b4b9['cs']},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)][_0x58f3f5(0x15d)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x251)]},'cmd':_0x584ceb['cmd']};case g[_0x58f3f5(0x13b)]['USERS_ENTER']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x39a)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)]['USERS_LEAVE']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x28d)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)]['LIVESHARE_NEW_HOST']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x366)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g['CollaborationEvent'][_0x58f3f5(0x142)]:case g[_0x58f3f5(0x13b)]['LIVESHARE_OPERATION']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x1fb)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)]['LIVESHARE_TERMINATE']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36['liveShareNewHost']},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g['CollaborationEvent'][_0x58f3f5(0x46a)]:return{..._0x584ceb,'data':_0x2ada36,'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)]['COMMENT_UPDATE']:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x43c)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g['CollaborationEvent'][_0x58f3f5(0x1c9)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x305)]},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g[_0x58f3f5(0x13b)][_0x58f3f5(0x131)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36['shouldCloseConn']},'cmd':_0x584ceb[_0x58f3f5(0x1ce)]};case g['CollaborationEvent'][_0x58f3f5(0x348)]:return{..._0x584ceb,'data':{..._0x2ada36,'data':_0x2ada36[_0x58f3f5(0x292)]},'cmd':_0x584ceb['cmd']};default:return _0x584ceb;}}default:return _0x584ceb;}}function yt(_0xbc79bd){var _0x3c02ab=_0x4dad21;switch(_0xbc79bd[_0x3c02ab(0x1ce)]){case G[_0x3c02ab(0x32b)]:case G[_0x3c02ab(0x188)]:return JSON[_0x3c02ab(0x30a)]({'cmd':_0xbc79bd[_0x3c02ab(0x1ce)],'routeKey':_0xbc79bd[_0x3c02ab(0x124)]});case G[_0x3c02ab(0x2bd)]:{let _0x3ca55b;switch(_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x425)]){case g[_0x3c02ab(0x13b)][_0x3c02ab(0x15d)]:{_0x3ca55b={'eventID':g[_0x3c02ab(0x13b)][_0x3c02ab(0x15d)],'updateCursorEvent':_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x16e)]};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x37c)]:{_0x3ca55b={'eventID':g['CollaborationEvent'][_0x3c02ab(0x37c)],'leaveEvent':_0xbc79bd[_0x3c02ab(0x16e)]['data']};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x43a)]:{_0x3ca55b={'eventID':g[_0x3c02ab(0x13b)][_0x3c02ab(0x43a)],'joinEvent':_0xbc79bd['data'][_0x3c02ab(0x16e)]};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x30d)]:{_0x3ca55b={'eventID':g['CollaborationEvent'][_0x3c02ab(0x30d)],'liveShareNewHost':_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x16e)]};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x3f8)]:{_0x3ca55b={'eventID':g[_0x3c02ab(0x13b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x16e)]};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x43f)]:{_0x3ca55b={'eventID':g[_0x3c02ab(0x13b)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xbc79bd['data']['data']};break;}case g['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x3ca55b={'eventID':g[_0x3c02ab(0x13b)][_0x3c02ab(0x458)],'liveShareRequestHost':_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x16e)]};break;}case g[_0x3c02ab(0x13b)][_0x3c02ab(0x142)]:{_0x3ca55b={'eventID':g['CollaborationEvent'][_0x3c02ab(0x142)]};break;}default:_0x3ca55b={'eventID':_0xbc79bd[_0x3c02ab(0x16e)][_0x3c02ab(0x425)]};}return JSON[_0x3c02ab(0x30a)]({'cmd':_0xbc79bd[_0x3c02ab(0x1ce)],'routeKey':_0xbc79bd[_0x3c02ab(0x124)],'collaMsg':_0x3ca55b});}case G[_0x3c02ab(0x338)]:return JSON[_0x3c02ab(0x30a)]({'cmd':_0xbc79bd[_0x3c02ab(0x1ce)],'routeKey':_0xbc79bd[_0x3c02ab(0x124)],'joinReq':_0xbc79bd['data']});case G[_0x3c02ab(0x187)]:return JSON[_0x3c02ab(0x30a)]({'cmd':_0xbc79bd[_0x3c02ab(0x1ce)],'routeKey':_0xbc79bd[_0x3c02ab(0x124)],'leaveReq':_0xbc79bd[_0x3c02ab(0x16e)]});default:throw new Error(_0x3c02ab(0x24a));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x1be4a9,_0x5b3444,_0x1e46be,_0x2a2253)=>{var _0x3c8e93=_0x4dad21;for(var _0x3424a7=_0x2a2253>0x1?void 0x0:_0x2a2253?Xt(_0x5b3444,_0x1e46be):_0x5b3444,_0x80a54f=_0x1be4a9[_0x3c8e93(0x29e)]-0x1,_0x3ad661;_0x80a54f>=0x0;_0x80a54f--)(_0x3ad661=_0x1be4a9[_0x80a54f])&&(_0x3424a7=_0x3ad661(_0x3424a7)||_0x3424a7);return _0x3424a7;},_e=(_0x4e0636,_0x576d0d)=>(_0x5b4bf0,_0x1476d2)=>_0x576d0d(_0x5b4bf0,_0x1476d2,_0x4e0636);const $e=a['createIdentifier'](_0x4dad21(0x2ae));function Qt(_0x455315,_0x1f5949,_0x4d40c1){var _0x16fb73=_0x4dad21;return _0x455315+'/'+_0x1f5949+_0x16fb73(0x42b)+_0x4d40c1+_0x16fb73(0x186);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x213d34,_0x4bd96f,_0x3f65b2,_0x41bef9,_0x253412){var _0x25e183=_0x4dad21;super(),this[_0x25e183(0x3e6)]=_0x213d34,this[_0x25e183(0x1ea)]=_0x4bd96f,this[_0x25e183(0x152)]=_0x3f65b2,this[_0x25e183(0x301)]=_0x41bef9,this[_0x25e183(0x393)]=_0x253412;}[_0x4dad21(0x402)](_0x3c904b){var _0x215281=_0x4dad21;const _0x20e54c=this[_0x215281(0x3e6)][_0x215281(0x1a1)](q[_0x215281(0x3fe)]);if(!_0x20e54c)throw new Error(_0x215281(0x107));const _0x60733a=_0x20e54c[_0x215281(0x37b)](_0x3c904b);if(!_0x60733a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x199c89=new a[(_0x215281(0x1cc))](),_0xeb0d9f=new j['Subject']();_0x199c89[_0x215281(0x253)](_0x60733a['close$']['subscribe'](_0x106c9d=>_0xeb0d9f['next'](_0x106c9d))),_0x199c89['add'](a[_0x215281(0x3e7)](()=>_0xeb0d9f['complete']()));const _0x1215b7=new j[(_0x215281(0x19a))]();_0x199c89[_0x215281(0x253)](_0x60733a['error$'][_0x215281(0x258)](_0x465c63=>_0x1215b7[_0x215281(0x26e)](_0x465c63))),_0x199c89[_0x215281(0x253)](a[_0x215281(0x3e7)](()=>_0x1215b7[_0x215281(0x12f)]()));const _0xa273ea=new j[(_0x215281(0x19a))]();_0x199c89[_0x215281(0x253)](_0x60733a[_0x215281(0x2d6)][_0x215281(0x258)](_0xb98a87=>{const _0x372bbb=Rt(_0xb98a87);_0xa273ea['next'](_0x372bbb);})),_0x199c89[_0x215281(0x253)](a[_0x215281(0x3e7)](()=>_0xa273ea['complete']()));let _0x200372;const _0x2f03a4=()=>{var _0x1e85e8=_0x215281;_0x1215b7[_0x1e85e8(0x26e)](new Event(_0x1e85e8(0x3b7))),_0xeb0d9f[_0x1e85e8(0x26e)](new Event(_0x1e85e8(0x3b7))),_0x200372[_0x1e85e8(0x3e3)]();};return _0x200372={'memberID':'','close$':_0xeb0d9f[_0x215281(0x2fa)](),'error$':_0x1215b7[_0x215281(0x2fa)](),'open$':_0x60733a[_0x215281(0x46d)],'message$':_0xa273ea['asObservable'](),'send':_0xd097ca=>{var _0x155f49=_0x215281;if(_0xd097ca[_0x155f49(0x1ce)]===G['INGEST']){if(_0xd097ca[_0x155f49(0x16e)]['eventID']===g[_0x155f49(0x13b)][_0x155f49(0x2ec)]){this[_0x155f49(0x151)](_0x200372,_0xd097ca[_0x155f49(0x16e)])[_0x155f49(0x36a)](_0x377925=>{var _0x52399e=_0x155f49;this[_0x52399e(0x301)][_0x52399e(0x30b)](_0x377925),_0x2f03a4();});return;}if(_0xd097ca[_0x155f49(0x16e)]['eventID']===g['CollaborationEvent'][_0x155f49(0x414)]){const _0x339436=_0xd097ca[_0x155f49(0x16e)];this['_fetchMissChangesets'](_0x339436)['then'](_0x492fef=>{var _0x3548c1=_0x155f49;_0xa273ea[_0x3548c1(0x26e)]({'cmd':G[_0x3548c1(0x45b)],'code':ae['OK'],'routeKey':_0x339436['data'][_0x3548c1(0x2e6)],'routeType':'','data':{'eventID':g[_0x3548c1(0x13b)][_0x3548c1(0x178)],'data':{'changesets':_0x492fef}}});})[_0x155f49(0x36a)](_0x55165e=>{var _0x2ad97e=_0x155f49;this[_0x2ad97e(0x301)]['error'](_0x55165e),_0x2f03a4();});return;}}_0x60733a[_0x155f49(0x318)](yt(_0xd097ca));},'close':()=>{var _0x22cab2=_0x215281;_0x60733a[_0x22cab2(0x3e3)](),_0x199c89['dispose']();}},_0x200372;}async[_0x4dad21(0x151)](_0x25df77,_0x286bd4){var _0x32d44a=_0x4dad21,_0x543bff,_0x53febc;const {unitType:_0x555d22,unitID:_0x1d1c3c,changeset:_0x59a4c1}=_0x286bd4[_0x32d44a(0x16e)],_0x86d6e9={'unitID':_0x1d1c3c,'memberID':_0x25df77[_0x32d44a(0x329)],'type':_0x555d22,'changeset':g['parseChangesetToProtocol'](_0x59a4c1)},_0x36b974=this['_configService']['getConfig'](It),_0x5e1782=this['_configService']['getConfig'](Y),_0x4df66e=Qt((_0x53febc=(_0x543bff=_0x5e1782==null?void 0x0:_0x5e1782[_0x32d44a(0x2be)])!=null?_0x543bff:_0x36b974)!=null?_0x53febc:Kt,_0x555d22,_0x1d1c3c);try{await this[_0x32d44a(0x1ea)]['post'](_0x4df66e,{'body':_0x86d6e9});}catch(_0x738ea1){throw this[_0x32d44a(0x301)]['error'](_0x32d44a(0x133),_0x32d44a(0x28f)),_0x738ea1;}}async[_0x4dad21(0x3b2)](_0x494611){var _0x284f00=_0x4dad21;const {unitID:_0x63431f,from:_0x10a60b,to:_0x4b0e6d,unitType:_0xc68d4f}=_0x494611[_0x284f00(0x16e)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x63431f,'type':_0xc68d4f,'from':_0x10a60b,'to':_0x4b0e6d}))[_0x284f00(0x140)];}},exports[_0x4dad21(0x3d8)]=Zt([_e(0x0,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),_e(0x1,a[_0x4dad21(0x438)](q[_0x4dad21(0x1cf)])),_e(0x2,a[_0x4dad21(0x431)]),_e(0x3,a[_0x4dad21(0x444)]),_e(0x4,g[_0x4dad21(0x218)])],exports[_0x4dad21(0x3d8)]);const ei=_0x4dad21(0x31c);function ti(_0x1f6c69){var _0x1b38cb=_0x4dad21;return JSON[_0x1b38cb(0x30a)](_0x1f6c69)[_0x1b38cb(0x29e)];}class Be{constructor(){var _0x206bca=_0x4dad21;P(this,_0x206bca(0x10e),new j[(_0x206bca(0x19a))]()),P(this,'commentUpdate$',this[_0x206bca(0x10e)][_0x206bca(0x2fa)]());}[_0x4dad21(0x385)](_0x258c71){var _0x3df093=_0x4dad21;this[_0x3df093(0x10e)][_0x3df093(0x26e)](_0x258c71);}}var ii=Object[_0x4dad21(0x10f)],ni=(_0x170be5,_0x3ae8ad,_0x1be2cf,_0x3bedb7)=>{var _0x156dac=_0x4dad21;for(var _0x3b5abd=_0x3bedb7>0x1?void 0x0:_0x3bedb7?ii(_0x3ae8ad,_0x1be2cf):_0x3ae8ad,_0x1ad1a1=_0x170be5[_0x156dac(0x29e)]-0x1,_0xa9c870;_0x1ad1a1>=0x0;_0x1ad1a1--)(_0xa9c870=_0x170be5[_0x1ad1a1])&&(_0x3b5abd=_0xa9c870(_0x3b5abd)||_0x3b5abd);return _0x3b5abd;},Ke=(_0x863b43,_0x5bed4f)=>(_0x1b1957,_0x479a5f)=>_0x5bed4f(_0x1b1957,_0x479a5f,_0x863b43);exports['MemberService']=class extends a['Disposable']{constructor(_0x54e7ed,_0x553893){var _0x1e9269=_0x4dad21;super(),P(this,_0x1e9269(0x204),new Map()),P(this,'_roomCreated$',new j[(_0x1e9269(0x19a))]()),(this[_0x1e9269(0x3a8)]=_0x54e7ed,this[_0x1e9269(0x2de)]=_0x553893,this[_0x1e9269(0x34c)](j['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SHEET'])[_0x1e9269(0x3f9)](W['map'](_0x326e63=>_0x326e63[_0x1e9269(0x3d2)]())),this[_0x1e9269(0x3a8)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1e9269(0x2d2)])[_0x1e9269(0x3f9)](W[_0x1e9269(0x3d1)](_0x5a5b49=>_0x5a5b49[_0x1e9269(0x3d2)]())),this[_0x1e9269(0x3a8)][_0x1e9269(0x1e6)](a[_0x1e9269(0x2c8)][_0x1e9269(0x109)])[_0x1e9269(0x3f9)](W['map'](_0x5ad094=>_0x5ad094['getUnitId']())))[_0x1e9269(0x258)](_0xbe82db=>this[_0x1e9269(0x3e8)](_0xbe82db))));}[_0x4dad21(0x2a1)](_0x20e77e){var _0xbe5260=_0x4dad21;return this[_0xbe5260(0x204)]['has'](_0x20e77e)?j['of'](this[_0xbe5260(0x204)][_0xbe5260(0x1a1)](_0x20e77e)):this[_0xbe5260(0x462)][_0xbe5260(0x3f9)](W[_0xbe5260(0x3d1)](_0x2dc863=>{var _0x2b8f8f=_0xbe5260;if(_0x2dc863===_0x20e77e)return this[_0x2b8f8f(0x204)][_0x2b8f8f(0x1a1)](_0x2dc863);}));}[_0x4dad21(0x316)](_0x387ce5){var _0x3dbb21=_0x4dad21;this['_userManagerService'][_0x3dbb21(0x316)](_0x387ce5);}[_0x4dad21(0x44e)](){var _0x5607f1=_0x4dad21;return this['_userManagerService'][_0x5607f1(0x44e)]();}[_0x4dad21(0x382)](_0x163b7a,_0x2279a6){var _0x440ca0=_0x4dad21;let _0x5de0ea=this['_roomMembers'][_0x440ca0(0x1a1)](_0x163b7a);_0x5de0ea||(_0x5de0ea=new ri(),this[_0x440ca0(0x204)][_0x440ca0(0x358)](_0x163b7a,_0x5de0ea),this[_0x440ca0(0x462)][_0x440ca0(0x26e)](_0x163b7a)),_0x5de0ea[_0x440ca0(0x382)](_0x2279a6);}[_0x4dad21(0x336)](_0x500b1d,_0x4d1c32){var _0x7513f2=_0x4dad21;const _0x312065=this[_0x7513f2(0x204)][_0x7513f2(0x1a1)](_0x500b1d);_0x312065&&_0x312065[_0x7513f2(0x336)](_0x4d1c32);}['getRoom'](_0x37cfae){return this['_roomMembers']['get'](_0x37cfae);}[_0x4dad21(0x1fe)](_0x4feed2,_0x42f1ca){var _0x355c0a=_0x4dad21;const _0x1cc7f2=this['_roomMembers']['get'](_0x4feed2);if(_0x1cc7f2)return _0x1cc7f2[_0x355c0a(0x1fe)](_0x42f1ca);}[_0x4dad21(0x3e8)](_0x45f21f){var _0x4bd1bf=_0x4dad21;const _0x24149f=this[_0x4bd1bf(0x204)]['get'](_0x45f21f);_0x24149f&&(_0x24149f[_0x4bd1bf(0x12d)](),this[_0x4bd1bf(0x204)][_0x4bd1bf(0x193)](_0x45f21f));}[_0x4dad21(0x12d)](){var _0x351ed2=_0x4dad21;this[_0x351ed2(0x204)][_0x351ed2(0x360)](_0x2983db=>_0x2983db['dispose']()),this['_roomMembers'][_0x351ed2(0x27e)](),this[_0x351ed2(0x462)]['complete']();}},exports[_0x4dad21(0x262)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x4dad21(0x438)](a[_0x4dad21(0x3f7)]))],exports[_0x4dad21(0x262)]);class ri extends a[_0x4dad21(0x235)]{constructor(){var _0x118b89=_0x4dad21;super(...arguments),P(this,_0x118b89(0x42c),new Map()),P(this,'_members$',new j[(_0x118b89(0x432))](this[_0x118b89(0x42c)])),P(this,'members$',this[_0x118b89(0x41e)][_0x118b89(0x2fa)]());}[_0x4dad21(0x12d)](){var _0x25e847=_0x4dad21;this[_0x25e847(0x42c)]['clear']();}['updateMember'](_0x47120f){var _0xdd157b=_0x4dad21;this[_0xdd157b(0x42c)][_0xdd157b(0x358)](_0x47120f['memberID'],_0x47120f),this[_0xdd157b(0x2f3)]();}[_0x4dad21(0x336)](_0x585fb7){var _0x310545=_0x4dad21;this[_0x310545(0x42c)]['delete'](_0x585fb7);}['getMember'](_0x1a746e){return this['_members']['get'](_0x1a746e);}[_0x4dad21(0x1d6)](){var _0x53ba66=_0x4dad21;return Array['from'](this[_0x53ba66(0x42c)][_0x53ba66(0x422)]());}['_emitMembers'](){var _0x5db7f0=_0x4dad21;this[_0x5db7f0(0x41e)][_0x5db7f0(0x26e)](this[_0x5db7f0(0x42c)]);}}var si=Object[_0x4dad21(0x10f)],oi=(_0x228150,_0x5913e9,_0x4dfcd6,_0x1acfc3)=>{var _0x533413=_0x4dad21;for(var _0x108ae4=_0x1acfc3>0x1?void 0x0:_0x1acfc3?si(_0x5913e9,_0x4dfcd6):_0x5913e9,_0x48e0a0=_0x228150[_0x533413(0x29e)]-0x1,_0x16922a;_0x48e0a0>=0x0;_0x48e0a0--)(_0x16922a=_0x228150[_0x48e0a0])&&(_0x108ae4=_0x16922a(_0x108ae4)||_0x108ae4);return _0x108ae4;},oe=(_0x1e1c3a,_0x6e35b7)=>(_0x2ee407,_0x2addba)=>_0x6e35b7(_0x2ee407,_0x2addba,_0x1e1c3a),se=(_0x533a45=>(_0x533a45[_0x533a45[_0x4dad21(0x21c)]=0x0]=_0x4dad21(0x21c),_0x533a45[_0x533a45[_0x4dad21(0x261)]=0x1]=_0x4dad21(0x261),_0x533a45[_0x533a45['OFFLINE']=0x2]='OFFLINE',_0x533a45[_0x533a45[_0x4dad21(0x372)]=0x3]=_0x4dad21(0x372),_0x533a45))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x4dad21(0x260)]]:'session.room-full',[ae[_0x4dad21(0x27d)]]:_0x4dad21(0x3b1),[ae[_0x4dad21(0x405)]]:_0x4dad21(0x278),[ae[_0x4dad21(0x23d)]]:'session.room-cnt-exceeds'};exports[_0x4dad21(0x378)]=class extends a[_0x4dad21(0x211)]{constructor(_0x2270bd,_0x4e6681,_0x522083,_0x5bcb13,_0x4d6858,_0x45d3be,_0x49356e,_0x5e270c,_0x44ae35){var _0x5b43cc=_0x4dad21;super(),P(this,_0x5b43cc(0x447),new j[(_0x5b43cc(0x432))](0x0)),P(this,_0x5b43cc(0x1d4),this[_0x5b43cc(0x447)]['asObservable']()),P(this,_0x5b43cc(0x390),new j[(_0x5b43cc(0x19a))]()),P(this,_0x5b43cc(0x3d3),this['_event$']['asObservable']()),P(this,_0x5b43cc(0x2ba)),P(this,_0x5b43cc(0x2b9)),P(this,_0x5b43cc(0x3df)),P(this,_0x5b43cc(0x3b5),!0x1),P(this,_0x5b43cc(0x171),null),(this[_0x5b43cc(0x1d2)]=_0x2270bd,this[_0x5b43cc(0x301)]=_0x522083,this[_0x5b43cc(0x152)]=_0x5bcb13,this[_0x5b43cc(0x31b)]=_0x4d6858,this[_0x5b43cc(0x2c7)]=_0x45d3be,this[_0x5b43cc(0x265)]=_0x49356e,this[_0x5b43cc(0x3a9)]=_0x5e270c,this[_0x5b43cc(0x24f)]=_0x44ae35,this[_0x5b43cc(0x3b5)]=!!this['_telemetryService'],_0x4e6681[_0x5b43cc(0x3f9)](j[_0x5b43cc(0x203)](this[_0x5b43cc(0x23a)]))['subscribe'](_0x10b65c=>{var _0xfed3af=_0x5b43cc,_0x55cb1a;typeof _0x10b65c>'u'||(this['_socket']=_0x10b65c,_0x10b65c?(this['_joinRoom'](_0x10b65c),this['_socketMessageSubscription']=_0x10b65c[_0xfed3af(0x2d6)][_0xfed3af(0x258)](_0x5259fd=>{var _0x78a3bb=_0xfed3af;_0x5259fd[_0x78a3bb(0x124)]===this[_0x78a3bb(0x1d2)]&&this[_0x78a3bb(0x14a)](_0x5259fd);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xfed3af(0x447)][_0xfed3af(0x26e)](0x2),(_0x55cb1a=this[_0xfed3af(0x2b9)])==null||_0x55cb1a['unsubscribe'](),this[_0xfed3af(0x2b9)]=null));}));}get['sessionStatus'](){var _0x19276d=_0x4dad21;return this[_0x19276d(0x447)]['getValue']();}[_0x4dad21(0x174)](){var _0x5f32f6=_0x4dad21,_0x36004b,_0x9edf56;return(_0x9edf56=(_0x36004b=this[_0x5f32f6(0x2ba)])==null?void 0x0:_0x36004b[_0x5f32f6(0x329)])!=null?_0x9edf56:null;}[_0x4dad21(0x12d)](){var _0x26cdfc=_0x4dad21;super[_0x26cdfc(0x12d)](),this[_0x26cdfc(0x23a)]['next'](),this[_0x26cdfc(0x23a)][_0x26cdfc(0x12f)]();}[_0x4dad21(0x3e3)](){var _0x3215de=_0x4dad21,_0x276232,_0x17e0f3;this[_0x3215de(0x25e)](),(_0x276232=this[_0x3215de(0x2ba)])==null||_0x276232['send']({'cmd':G[_0x3215de(0x187)],'data':{'roomID':this['_unitID']}}),(_0x17e0f3=this[_0x3215de(0x2ba)])==null||_0x17e0f3[_0x3215de(0x3e3)](),this[_0x3215de(0x390)]['complete'](),this[_0x3215de(0x447)]['complete'](),this[_0x3215de(0x12d)]();}['_onCombEvent'](_0x12dbae){var _0x2285a2=_0x4dad21;_0x12dbae[_0x2285a2(0x1ce)]===G['JOIN']?this[_0x2285a2(0x40e)](_0x12dbae):_0x12dbae[_0x2285a2(0x1ce)]===G[_0x2285a2(0x45b)]&&this['_onRecvEvent'](_0x12dbae);}[_0x4dad21(0x26d)](_0x360474){var _0x47f917=_0x4dad21;this[_0x47f917(0x447)][_0x47f917(0x26e)](0x1),_0x360474['send']({'cmd':G[_0x47f917(0x338)],'routeKey':this[_0x47f917(0x1d2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x47f917(0x1d2)]}]}});}[_0x4dad21(0x40e)](_0x90754a){var _0x2386ea=_0x4dad21,_0x37d550;if(_0x90754a[_0x2386ea(0x362)]in Ye){this[_0x2386ea(0x3a9)][_0x2386ea(0x115)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x90754a[_0x2386ea(0x362)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2386ea(0x447)][_0x2386ea(0x26e)](0x3);const _0x267265=(_0x37d550=_0x90754a[_0x2386ea(0x16e)][_0x2386ea(0x1a5)][this[_0x2386ea(0x1d2)]])==null?void 0x0:_0x37d550[_0x2386ea(0x3f6)];_0x267265&&_0x267265[_0x2386ea(0x360)](_0x1df1a6=>this[_0x2386ea(0x2c7)][_0x2386ea(0x382)](this[_0x2386ea(0x1d2)],_0x1df1a6));}[_0x4dad21(0x14f)](_0x1dd888){var _0x272b4a=_0x4dad21;try{const _0x4d3903=_0x1dd888['data'];switch(_0x4d3903[_0x272b4a(0x425)]){case g[_0x272b4a(0x13b)][_0x272b4a(0x43a)]:this[_0x272b4a(0x18d)](_0x4d3903),this['_event$']['next'](_0x4d3903);break;case g[_0x272b4a(0x13b)][_0x272b4a(0x37c)]:this[_0x272b4a(0x27b)](_0x4d3903),this[_0x272b4a(0x390)]['next'](_0x4d3903);break;case g[_0x272b4a(0x13b)][_0x272b4a(0x213)]:case g['CollaborationEvent'][_0x272b4a(0x219)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x272b4a(0x390)][_0x272b4a(0x26e)](_0x4d3903);break;case g[_0x272b4a(0x13b)][_0x272b4a(0x46a)]:this[_0x272b4a(0x301)][_0x272b4a(0x30b)](_0x272b4a(0x2d1)+JSON[_0x272b4a(0x30a)](_0x4d3903)),this['_event$'][_0x272b4a(0x26e)](_0x4d3903);break;case g[_0x272b4a(0x13b)][_0x272b4a(0x452)]:this[_0x272b4a(0x265)][_0x272b4a(0x385)](_0x4d3903['data']),this[_0x272b4a(0x390)][_0x272b4a(0x26e)](_0x4d3903);break;default:this['_event$']['next'](_0x4d3903);}}catch(_0x3a3769){this[_0x272b4a(0x301)][_0x272b4a(0x30b)](_0x3a3769,_0x1dd888);}}[_0x4dad21(0x18d)](_0x2b784a){var _0x55d708=_0x4dad21;this[_0x55d708(0x2c7)][_0x55d708(0x382)](this[_0x55d708(0x1d2)],_0x2b784a[_0x55d708(0x16e)]);}[_0x4dad21(0x27b)](_0xf26651){var _0x2753bf=_0x4dad21;this[_0x2753bf(0x2c7)][_0x2753bf(0x336)](this['_unitID'],_0xf26651[_0x2753bf(0x16e)][_0x2753bf(0x329)]);}async[_0x4dad21(0x318)](_0x12a274,_0x9bcf3a){var _0x21fa22=_0x4dad21;if(this[_0x21fa22(0x215)]!==0x3||!this[_0x21fa22(0x2ba)])throw new Error(_0x21fa22(0x11e));try{_0x12a274['eventID']===g['CollaborationEvent']['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x12a274)),this[_0x21fa22(0x2ba)][_0x21fa22(0x318)]({'cmd':G[_0x21fa22(0x2bd)],'routeKey':_0x9bcf3a,'routeType':'','data':_0x12a274});}catch(_0x5b2a60){this[_0x21fa22(0x301)]['error'](_0x5b2a60);}}[_0x4dad21(0x2b6)](){var _0x1b363e=_0x4dad21,_0x3afb16;this[_0x1b363e(0x3df)]=setTimeout(()=>{var _0x1c9f9c=_0x1b363e;this['_collaborationTimeoutTimer']=null,this[_0x1c9f9c(0x3a9)]['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3afb16=this[_0x1b363e(0x152)][_0x1b363e(0x42e)](je))!=null?_0x3afb16:gt);}[_0x4dad21(0x38b)](){var _0x399b10=_0x4dad21;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x399b10(0x3df)]),this[_0x399b10(0x3df)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x20d186){var _0x50c03b=_0x4dad21;if(!this[_0x50c03b(0x3b5)])return;const {data:_0x5090da}=_0x20d186,{unitID:_0x4753b5,changeset:_0x5c99a3}=_0x5090da,{mutations:_0x583f9e,type:_0x241eb8}=_0x5c99a3;this['_telemetryInfo']={'unitId':_0x4753b5,'type':_0x241eb8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x583f9e)};}[_0x4dad21(0x1af)](){var _0x2e928f=_0x4dad21;if(this[_0x2e928f(0x3b5)]){if(!this[_0x2e928f(0x171)]){this[_0x2e928f(0x301)][_0x2e928f(0x30b)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e928f(0x171)]['stopTime']=performance['now'](),this[_0x2e928f(0x171)]['duration']=this[_0x2e928f(0x171)][_0x2e928f(0x340)]-this[_0x2e928f(0x171)]['startTime'],this[_0x2e928f(0x24f)][_0x2e928f(0x308)](ei,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x4dad21(0x25e)](){var _0x2d37a6=_0x4dad21;this[_0x2d37a6(0x171)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x4dad21(0x444)]),oe(0x3,a[_0x4dad21(0x431)]),oe(0x4,a[_0x4dad21(0x438)](a[_0x4dad21(0x26a)])),oe(0x5,a[_0x4dad21(0x438)](exports[_0x4dad21(0x262)])),oe(0x6,a[_0x4dad21(0x438)](Be)),oe(0x7,a[_0x4dad21(0x438)](te)),oe(0x8,a[_0x4dad21(0x120)](Mt[_0x4dad21(0x3dc)]))],exports[_0x4dad21(0x378)]);var ai=Object[_0x4dad21(0x10f)],ci=(_0x3fc004,_0x1f3548,_0x3cc379,_0x4eeb23)=>{var _0x211946=_0x4dad21;for(var _0x42018e=_0x4eeb23>0x1?void 0x0:_0x4eeb23?ai(_0x1f3548,_0x3cc379):_0x1f3548,_0x5d0602=_0x3fc004[_0x211946(0x29e)]-0x1,_0x37b2e0;_0x5d0602>=0x0;_0x5d0602--)(_0x37b2e0=_0x3fc004[_0x5d0602])&&(_0x42018e=_0x37b2e0(_0x42018e)||_0x42018e);return _0x42018e;},le=(_0x2dcb24,_0xc39c73)=>(_0x12f1f7,_0x450721)=>_0xc39c73(_0x12f1f7,_0x450721,_0x2dcb24);exports[_0x4dad21(0x295)]=class extends a[_0x4dad21(0x235)]{constructor(_0x2012ab,_0x1fa8a0,_0x20ec8f,_0x4fcb8d,_0x428f46,_0x2f1b29){var _0x206827=_0x4dad21;super(),P(this,_0x206827(0x2b2),new j[(_0x206827(0x432))](void 0x0)),P(this,_0x206827(0x270),this[_0x206827(0x2b2)]['asObservable']()),P(this,_0x206827(0x1d7),null),P(this,_0x206827(0x344),new Map()),P(this,_0x206827(0x321),new j['BehaviorSubject'](se[_0x206827(0x21c)])),P(this,_0x206827(0x294),this[_0x206827(0x321)][_0x206827(0x2fa)]()),P(this,'_socketReady',!0x1),P(this,_0x206827(0x114)),P(this,_0x206827(0x361),0x0),P(this,_0x206827(0x1e5)),P(this,_0x206827(0x377)),(this['_injector']=_0x2012ab,this[_0x206827(0x301)]=_0x1fa8a0,this['_configService']=_0x20ec8f,this[_0x206827(0x331)]=_0x4fcb8d,this[_0x206827(0x3a9)]=_0x428f46,this['_networkConditionService']=_0x2f1b29,this[_0x206827(0x441)]());}get[_0x4dad21(0x2ba)](){var _0x5e01db=_0x4dad21;return this[_0x5e01db(0x2b2)]['getValue']();}[_0x4dad21(0x441)](){var _0x172b05=_0x4dad21;this[_0x172b05(0x117)]&&this[_0x172b05(0x34c)](this[_0x172b05(0x117)]['online$'][_0x172b05(0x258)](_0x1402da=>{var _0x5b244f=_0x172b05;_0x1402da&&!this[_0x5b244f(0x2ba)]&&this[_0x5b244f(0x2d3)](),_0x1402da||this[_0x5b244f(0x463)]();}));}[_0x4dad21(0x12d)](){var _0x2e7ae6=_0x4dad21;super[_0x2e7ae6(0x12d)](),this[_0x2e7ae6(0x2eb)](),this[_0x2e7ae6(0x3cc)](),this[_0x2e7ae6(0x313)](),this[_0x2e7ae6(0x344)][_0x2e7ae6(0x360)](_0x114b80=>_0x114b80['dispose']()),this[_0x2e7ae6(0x344)][_0x2e7ae6(0x27e)](),this['_status$'][_0x2e7ae6(0x12f)]();}async[_0x4dad21(0x1f8)](_0x23534e){var _0x2b1bd6=_0x4dad21;if(this[_0x2b1bd6(0x344)][_0x2b1bd6(0x3ea)](_0x23534e))return this['_sessions'][_0x2b1bd6(0x1a1)](_0x23534e);this[_0x2b1bd6(0x39d)]();const _0x4856bd=this[_0x2b1bd6(0x3e6)]['createInstance'](exports['CollaborationSession'],_0x23534e,this[_0x2b1bd6(0x2b2)][_0x2b1bd6(0x2fa)]());return this[_0x2b1bd6(0x344)][_0x2b1bd6(0x358)](_0x23534e,_0x4856bd),_0x4856bd;}[_0x4dad21(0x460)](_0x38e0c4){var _0x52723f=_0x4dad21,_0x270f8f;const _0x647c56=this[_0x52723f(0x344)][_0x52723f(0x1a1)](_0x38e0c4);_0x647c56&&(this['_sessions'][_0x52723f(0x193)](_0x38e0c4),_0x647c56[_0x52723f(0x3e3)]()),this[_0x52723f(0x344)][_0x52723f(0x236)]||(_0x270f8f=this[_0x52723f(0x2ba)])==null||_0x270f8f[_0x52723f(0x3e3)]();}[_0x4dad21(0x2d3)](){var _0x14af81=_0x4dad21;this[_0x14af81(0x361)]=0x0,this[_0x14af81(0x2eb)](),this['_tryReconnect']();}[_0x4dad21(0x2eb)](){var _0x8112d4=_0x4dad21;this[_0x8112d4(0x114)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x8112d4(0x114)]=null);}async['_createSocket'](){var _0x1e25fe=_0x4dad21,_0x3ee543,_0x5446c1;const _0x3274da=this['_configService'][_0x1e25fe(0x42e)](St),_0x21020f=this[_0x1e25fe(0x152)]['getConfig'](Y),_0x1ad7b2=(_0x5446c1=(_0x3ee543=_0x21020f==null?void 0x0:_0x21020f[_0x1e25fe(0x3f5)])!=null?_0x3ee543:_0x3274da)!=null?_0x5446c1:ft,_0x18aedc=await this[_0x1e25fe(0x331)][_0x1e25fe(0x37b)](_0x1ad7b2);return this[_0x1e25fe(0x1d7)]=_0x18aedc,_0x18aedc;}async['_tryEnsureSocket'](){var _0x415f75=_0x4dad21,_0x5e5860,_0xc06ba2;try{const _0x12694e=(_0xc06ba2=(_0x5e5860=this[_0x415f75(0x2ba)])!=null?_0x5e5860:this['_candidateSocket'])!=null?_0xc06ba2:await this[_0x415f75(0x359)]();if(_0x12694e){const _0x1343e0=_0x12694e[_0x415f75(0x318)];_0x12694e[_0x415f75(0x318)]=_0x1b65c8=>(this[_0x415f75(0x189)](),_0x1343e0[_0x415f75(0x263)](_0x12694e,[_0x1b65c8])),_0x12694e['message$'][_0x415f75(0x258)](_0x59131e=>this['_onMessage'](_0x12694e,_0x59131e)),_0x12694e['error$'][_0x415f75(0x3f9)](W[_0x415f75(0x19d)](0x1))[_0x415f75(0x258)](_0x5e5827=>this[_0x415f75(0x301)]['error'](_0x415f75(0x2a9),_0x5e5827)),_0x12694e['open$'][_0x415f75(0x3f9)](W[_0x415f75(0x19d)](0x1))[_0x415f75(0x258)](()=>{var _0x18771e=_0x415f75;this[_0x18771e(0x3d9)](_0x12694e);}),_0x12694e[_0x415f75(0x288)][_0x415f75(0x3f9)](W[_0x415f75(0x19d)](0x1))[_0x415f75(0x258)](_0x4bfec0=>{var _0x11338c=_0x415f75;this[_0x11338c(0x301)][_0x11338c(0x2b7)](_0x11338c(0x368),'socket\x20close',_0x4bfec0),this['_onConnectionFailed']();});}}catch(_0x365050){this[_0x415f75(0x301)][_0x415f75(0x30b)](_0x365050),this[_0x415f75(0x135)]();}}[_0x4dad21(0x3d9)](_0x55b421){var _0x888902=_0x4dad21;this['_logService'][_0x888902(0x2b7)](_0x888902(0x368),_0x888902(0x1a3)),_0x55b421[_0x888902(0x318)]({'cmd':G[_0x888902(0x188)]}),this[_0x888902(0x189)]();}[_0x4dad21(0x463)](){var _0x4c2d23=_0x4dad21;this[_0x4c2d23(0x223)]=!0x1,this['_candidateSocket']=null,this[_0x4c2d23(0x321)]['next'](se['OFFLINE']),this['_socket$']['next'](null),this[_0x4c2d23(0x3cc)](),this[_0x4c2d23(0x313)]();}[_0x4dad21(0x135)](){var _0x209a7d=_0x4dad21,_0x40a9c6;this[_0x209a7d(0x463)](),this[_0x209a7d(0x361)]<((_0x40a9c6=this[_0x209a7d(0x152)][_0x209a7d(0x42e)](mt))!=null?_0x40a9c6:Wt)?(this[_0x209a7d(0x3a9)][_0x209a7d(0x115)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x209a7d(0x418)]()):this[_0x209a7d(0x3a9)]['emitEvent']({'id':Q[_0x209a7d(0x3c3)]});}[_0x4dad21(0x418)](){var _0x5f0257=_0x4dad21,_0xb8b5e3;const _0x5c02d5=this['_retryCount'],_0x2bca9b=this[_0x5f0257(0x152)][_0x5f0257(0x42e)](Y),_0x335687=_0x5c02d5===0x0?0x0:((_0xb8b5e3=_0x2bca9b==null?void 0x0:_0x2bca9b[_0x5f0257(0x20b)])!=null?_0xb8b5e3:Ft)*0x2**_0x5c02d5;this[_0x5f0257(0x114)]=setTimeout(()=>{var _0x3a2017=_0x5f0257;clearTimeout(this['_retryConnectingTimer']),this[_0x3a2017(0x114)]=null,this[_0x3a2017(0x39d)]();},_0x335687),this['_retryCount']+=0x1;}['_onMessage'](_0x222df,_0x4610ca){var _0x237b2b=_0x4dad21;const {cmd:_0x15527f}=_0x4610ca;_0x15527f===G[_0x237b2b(0x188)]&&!this[_0x237b2b(0x223)]&&(_0x222df[_0x237b2b(0x329)]=_0x4610ca[_0x237b2b(0x16e)][_0x237b2b(0x329)],this[_0x237b2b(0x2b2)][_0x237b2b(0x26e)](_0x222df),this[_0x237b2b(0x321)][_0x237b2b(0x26e)](se[_0x237b2b(0x372)]),this[_0x237b2b(0x223)]=!0x0,this[_0x237b2b(0x1d7)]=null),_0x15527f===G[_0x237b2b(0x32b)]&&this[_0x237b2b(0x3cc)](),this[_0x237b2b(0x189)]();}[_0x4dad21(0x189)](){var _0x525b97=_0x4dad21,_0x2baea0;this['_clearHeartbeatTimer'](),this[_0x525b97(0x1e5)]=setTimeout(()=>this[_0x525b97(0x357)](),(_0x2baea0=this[_0x525b97(0x152)][_0x525b97(0x42e)](pt))!=null?_0x2baea0:Bt);}['_sendHeartbeat'](){var _0x533a52=_0x4dad21;this[_0x533a52(0x2ba)]['send']({'cmd':G[_0x533a52(0x32b)]}),this[_0x533a52(0x320)]();}[_0x4dad21(0x320)](){var _0x420fb9=_0x4dad21,_0x3144a9;this[_0x420fb9(0x377)]=setTimeout(()=>this[_0x420fb9(0x135)](),(_0x3144a9=this['_configService']['getConfig'](je))!=null?_0x3144a9:gt);}[_0x4dad21(0x313)](){var _0x128b4d=_0x4dad21;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x128b4d(0x1e5)]),this[_0x128b4d(0x1e5)]=null);}[_0x4dad21(0x3cc)](){var _0x47a0fd=_0x4dad21;this[_0x47a0fd(0x377)]!=null&&(clearTimeout(this[_0x47a0fd(0x377)]),this[_0x47a0fd(0x377)]=null);}},exports[_0x4dad21(0x295)]=ci([le(0x0,a['Inject'](a[_0x4dad21(0x18c)])),le(0x1,a[_0x4dad21(0x444)]),le(0x2,a[_0x4dad21(0x431)]),le(0x3,$e),le(0x4,a[_0x4dad21(0x438)](te)),le(0x5,a[_0x4dad21(0x120)](bt))],exports['CollaborationSessionService']);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4dad21(0x10c)](0x10)[_0x4dad21(0x35e)](0x1));function hi(_0x34d981,_0x5a8f1f=0x0){var _0x2a01e6=_0x4dad21;return(V[_0x34d981[_0x5a8f1f+0x0]]+V[_0x34d981[_0x5a8f1f+0x1]]+V[_0x34d981[_0x5a8f1f+0x2]]+V[_0x34d981[_0x5a8f1f+0x3]]+'-'+V[_0x34d981[_0x5a8f1f+0x4]]+V[_0x34d981[_0x5a8f1f+0x5]]+'-'+V[_0x34d981[_0x5a8f1f+0x6]]+V[_0x34d981[_0x5a8f1f+0x7]]+'-'+V[_0x34d981[_0x5a8f1f+0x8]]+V[_0x34d981[_0x5a8f1f+0x9]]+'-'+V[_0x34d981[_0x5a8f1f+0xa]]+V[_0x34d981[_0x5a8f1f+0xb]]+V[_0x34d981[_0x5a8f1f+0xc]]+V[_0x34d981[_0x5a8f1f+0xd]]+V[_0x34d981[_0x5a8f1f+0xe]]+V[_0x34d981[_0x5a8f1f+0xf]])[_0x2a01e6(0x1bb)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x408571=_0x4dad21;if(!Ue){if(typeof crypto>'u'||!crypto[_0x408571(0x266)])throw new Error(_0x408571(0x19b));Ue=crypto['getRandomValues']['bind'](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x4dad21(0x216)]&&crypto[_0x4dad21(0x216)][_0x4dad21(0x1ff)](crypto),qe={'randomUUID':ui};function di(_0x10eb9e,_0x5a6739,_0x5f273d){var _0x286e53=_0x4dad21,_0x53cf79,_0x1859e0,_0x3a0232;if(qe['randomUUID']&&!_0x10eb9e)return qe[_0x286e53(0x216)]();_0x10eb9e=_0x10eb9e||{};const _0x4318ad=(_0x3a0232=(_0x1859e0=_0x10eb9e['random'])!=null?_0x1859e0:(_0x53cf79=_0x10eb9e[_0x286e53(0x3af)])==null?void 0x0:_0x53cf79[_0x286e53(0x148)](_0x10eb9e))!=null?_0x3a0232:_i();if(_0x4318ad[_0x286e53(0x29e)]<0x10)throw new Error(_0x286e53(0x3fd));return _0x4318ad[0x6]=_0x4318ad[0x6]&0xf|0x40,_0x4318ad[0x8]=_0x4318ad[0x8]&0x3f|0x80,hi(_0x4318ad);}const z=a[_0x4dad21(0x155)](_0x4dad21(0x1e3));function vi(_0x15b171){return'unit-cache-'+_0x15b171;}var Si=Object[_0x4dad21(0x10f)],fi=(_0x1a5222,_0x544bbb,_0x308d24,_0xff2808)=>{var _0x58b810=_0x4dad21;for(var _0x41b156=_0xff2808>0x1?void 0x0:_0xff2808?Si(_0x544bbb,_0x308d24):_0x544bbb,_0x14506a=_0x1a5222[_0x58b810(0x29e)]-0x1,_0x5a006d;_0x14506a>=0x0;_0x14506a--)(_0x5a006d=_0x1a5222[_0x14506a])&&(_0x41b156=_0x5a006d(_0x41b156)||_0x41b156);return _0x41b156;},Pe=(_0x638b56,_0x2085f9)=>(_0x4f6018,_0x4bdd57)=>_0x2085f9(_0x4f6018,_0x4bdd57,_0x638b56);function pi(_0x4fb2c9){var _0x2987ed=_0x4dad21;const {unitID:_0x343caf,mutations:_0x2998e2}=_0x4fb2c9;return{'unitId':_0x343caf,'subUnitId':_0x2998e2[0x0][_0x2987ed(0x11d)][_0x2987ed(0x2e5)]};}exports[_0x4dad21(0x373)]=class{constructor(_0x2c01c1,_0x2e7611,_0x3720f0){var _0x4bd34b=_0x4dad21;this[_0x4bd34b(0x3e6)]=_0x2c01c1,this[_0x4bd34b(0x225)]=_0x2e7611,this[_0x4bd34b(0x30c)]=_0x3720f0;}[_0x4dad21(0x392)](_0x4d51cd){var _0x41ff6c=_0x4dad21,_0x3e46ef,_0xf30d90,_0x10a074,_0x294d13;const _0x1fc609=this[_0x41ff6c(0x3e6)]['get'](Z[_0x41ff6c(0x3c4)]),{unitId:_0x35ac06,subUnitId:_0x368b23}=pi(_0x4d51cd),_0x352c04=_0x1fc609==null?void 0x0:_0x1fc609[_0x41ff6c(0x2bb)](_0x35ac06)[_0x41ff6c(0x2c2)](),_0x39a69b=(_0xf30d90=(_0x3e46ef=this[_0x41ff6c(0x30c)][_0x41ff6c(0x199)](_0x35ac06))==null?void 0x0:_0x3e46ef['getActiveSheet']())==null?void 0x0:_0xf30d90['getSheetId']();if(_0x352c04['length']===0x0||!_0x35ac06||!_0x368b23)return;const _0x12699e=[{'id':Z[_0x41ff6c(0x1c5)]['id'],'params':{'unitId':_0x35ac06,'subUnitId':_0x39a69b,'selections':a[_0x41ff6c(0x1d9)][_0x41ff6c(0x350)](_0x352c04)}}],_0x5829d1=this[_0x41ff6c(0x225)][_0x41ff6c(0x31a)](_0x4d51cd,_0x12699e);if(!g[_0x41ff6c(0x411)](_0x5829d1))throw _0x5829d1[_0x41ff6c(0x30b)];const _0x1785af=(_0x294d13=(_0x10a074=_0x5829d1[_0x41ff6c(0x3f1)][0x0])==null?void 0x0:_0x10a074[_0x41ff6c(0x11d)])==null?void 0x0:_0x294d13[_0x41ff6c(0x2a8)];if(Array[_0x41ff6c(0x1b8)](_0x1785af)&&_0x1785af['length']){if(_0x1785af[_0x41ff6c(0x29e)]===_0x12699e[0x0][_0x41ff6c(0x11d)][_0x41ff6c(0x2a8)]['length']&&_0x1785af[_0x41ff6c(0x423)]((_0x58e4da,_0x534040)=>a['Rectangle'][_0x41ff6c(0x244)](_0x58e4da[_0x41ff6c(0x2c5)],_0x12699e[0x0][_0x41ff6c(0x11d)][_0x41ff6c(0x2a8)][_0x534040][_0x41ff6c(0x2c5)])))return;this['_injector'][_0x41ff6c(0x1a1)](a[_0x41ff6c(0x3e4)])['executeCommand'](Z[_0x41ff6c(0x1c5)]['id'],{'unitId':_0x35ac06,'subUnitId':_0x39a69b,'selections':_0x1785af});}}},exports['SheetTransformSelectionsService']=fi([Pe(0x0,a['Inject'](a[_0x4dad21(0x18c)])),Pe(0x1,g['ITransformService']),Pe(0x2,a['IUniverInstanceService'])],exports[_0x4dad21(0x373)]);const ve=a[_0x4dad21(0x155)](_0x4dad21(0x196));var Fe=(_0x1b2d6d=>(_0x1b2d6d[_0x1b2d6d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4dad21(0x421),_0x1b2d6d[_0x1b2d6d['OTHER_CLIENTS_EDITING']=0x1]=_0x4dad21(0x12b),_0x1b2d6d))(Fe||{});const gi=new Set([Z[_0x4dad21(0x1b3)]['id']]);function ze(_0x1f1409,_0x578c62,_0x460242,_0x560a58,_0x3726b4){var _0x1f3d55=_0x4dad21,_0x4c2dde,_0x25dbc3,_0x53b00d,_0x8e5f10;const _0x901bf=[];for(const _0x3aeee of _0x1f1409)if(gi[_0x1f3d55(0x3ea)](_0x3aeee['id'])){if(_0x901bf['length']>0x0)break;_0x901bf[_0x1f3d55(0x145)](_0x3aeee);break;}else _0x901bf[_0x1f3d55(0x145)](_0x3aeee);const _0x3cdc31=(_0x25dbc3=(_0x4c2dde=_0x3726b4[_0x1f3d55(0x44e)]())==null?void 0x0:_0x4c2dde[_0x1f3d55(0x3a1)])!=null?_0x25dbc3:_0x1f3d55(0x222),_0x3685a3=(_0x8e5f10=(_0x53b00d=_0x3726b4[_0x1f3d55(0x44e)]())==null?void 0x0:_0x53b00d['memberID'])!=null?_0x8e5f10:_0x1f3d55(0x222);return{'changeset':{'unitID':_0x578c62,'type':g[_0x1f3d55(0x426)](_0x460242[_0x1f3d55(0x459)](_0x578c62)),'baseRev':_0x560a58[_0x1f3d55(0x247)](_0x578c62),'revision':0x0,'userID':_0x3cdc31,'memberID':_0x3685a3,'mutations':_0x901bf},'pendingMutations':_0x1f1409[_0x1f3d55(0x35e)](_0x901bf[_0x1f3d55(0x29e)])};}function mi(_0x4f7067,_0x3fcaa0,_0x13f772,_0x3b2a68,_0x1e8ac3){var _0x33825f=_0x4dad21,_0xbed51d,_0x25031d,_0x1cbc5b,_0x31653a;const _0xe24d9c=[_0x4f7067[_0x33825f(0x400)]((_0x5bea55,_0x5483ff)=>{var _0x592223=_0x33825f,_0xbd1d41;const {id:_0x44f3cd}=_0x5bea55,{id:_0x5a3460,type:_0x1102c6}=_0x5483ff,_0x479dd1=(_0xbd1d41=_0x5bea55[_0x592223(0x11d)])!=null?_0xbd1d41:{'actions':null},_0x2e5c5c=_0x5483ff['params'];if(_0x44f3cd&&_0x44f3cd!==_0x5a3460)throw new Error(_0x592223(0x2da)+_0x44f3cd+_0x592223(0x36d)+_0x5a3460+'.');return{..._0x5bea55,'id':_0x5a3460,'type':_0x1102c6,'params':{'unitId':_0x2e5c5c[_0x592223(0x177)],'textRanges':_0x2e5c5c[_0x592223(0x3c2)],'actions':a[_0x592223(0x237)][_0x592223(0x3f0)](_0x479dd1[_0x592223(0x289)],_0x2e5c5c['actions'])}};},{})],_0x4966e3=(_0x25031d=(_0xbed51d=_0x1e8ac3['getCurrentUser']())==null?void 0x0:_0xbed51d[_0x33825f(0x3a1)])!=null?_0x25031d:_0x33825f(0x222),_0x2592d0=(_0x31653a=(_0x1cbc5b=_0x1e8ac3['getCurrentUser']())==null?void 0x0:_0x1cbc5b['memberID'])!=null?_0x31653a:_0x33825f(0x222);return{'changeset':{'unitID':_0x3fcaa0,'type':g[_0x33825f(0x426)](_0x13f772[_0x33825f(0x459)](_0x3fcaa0)),'baseRev':_0x3b2a68[_0x33825f(0x247)](_0x3fcaa0),'revision':0x0,'userID':_0x4966e3,'memberID':_0x2592d0,'mutations':_0xe24d9c},'pendingMutations':[]};}function Ot(_0x3fdacb,_0xa89872){var _0x39025c=_0x4dad21;const _0x1fa163=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x1fa163['next'](_0xa89872),_0x3fdacb),_0x1fa163['asObservable']()[_0x39025c(0x3f9)](j[_0x39025c(0x19d)](0x1));}const Ii={'id':Z[_0x4dad21(0x1eb)]['id'],'type':a[_0x4dad21(0x3bf)][_0x4dad21(0x3b8)],'params':{}};var Ei=Object[_0x4dad21(0x10f)],ce=(_0x224f93,_0x43a422,_0x5db603,_0x77a04)=>{for(var _0x5d1184=_0x77a04>0x1?void 0x0:_0x77a04?Ei(_0x43a422,_0x5db603):_0x43a422,_0x58b92f=_0x224f93['length']-0x1,_0x31b5f6;_0x58b92f>=0x0;_0x58b92f--)(_0x31b5f6=_0x224f93[_0x58b92f])&&(_0x5d1184=_0x31b5f6(_0x5d1184)||_0x5d1184);return _0x5d1184;},w=(_0xe81dcc,_0x411feb)=>(_0x179213,_0x3a7e8e)=>_0x411feb(_0x179213,_0x3a7e8e,_0xe81dcc),We=(_0x4ea9fa=>(_0x4ea9fa[_0x4dad21(0x257)]='not_collab',_0x4ea9fa[_0x4dad21(0x1a2)]=_0x4dad21(0x192),_0x4ea9fa[_0x4dad21(0x2b1)]='pending',_0x4ea9fa['AWAITING']='awaiting',_0x4ea9fa[_0x4dad21(0x44f)]=_0x4dad21(0x456),_0x4ea9fa['FETCH_MISS']=_0x4dad21(0x31d),_0x4ea9fa[_0x4dad21(0x221)]=_0x4dad21(0x3f2),_0x4ea9fa['OFFLINE']=_0x4dad21(0x1da),_0x4ea9fa))(We||{});const Nt=0xea60;class he{constructor(_0x172e47,_0x367c6c,_0x5ecb70,_0x1c31d6,_0xe96bf5,_0x53be00,_0x19cd11,_0x5e34d2,_0xdf4cbd){var _0x4d39dc=_0x4dad21;P(this,_0x4d39dc(0x1c0),null),P(this,'_pendingMutations',[]),(this['unitID']=_0x172e47,this['type']=_0x367c6c,this[_0x4d39dc(0x471)]=_0xe96bf5,this[_0x4d39dc(0x36b)]=_0x53be00,this['_undoRedoService']=_0x19cd11,this[_0x4d39dc(0x457)]=_0x5e34d2,this[_0x4d39dc(0x128)]=_0xdf4cbd,this[_0x4d39dc(0x1c0)]=_0x5ecb70,this[_0x4d39dc(0x1c7)]=_0x1c31d6);}['_checkMissing'](_0x1c3fe4){var _0x2c1011=_0x4dad21;const _0x594394=this[_0x2c1011(0x457)][_0x2c1011(0x247)](this['unitID']);return _0x1c3fe4[_0x2c1011(0x286)]>_0x594394+0x1?(this[_0x2c1011(0x471)][_0x2c1011(0x2b8)]({'from':_0x594394,'to':_0x1c3fe4[_0x2c1011(0x286)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xba0bd){var _0xf6492a=_0x4dad21;this[_0xf6492a(0x333)][_0xf6492a(0xfc)](this[_0xf6492a(0x2e6)],_0xba0bd);}[_0x4dad21(0x1c1)](_0x555a25){var _0x574270=_0x4dad21,_0x5e2297,_0x23481e;(_0x23481e=(_0x5e2297=this['_handler'])[_0x574270(0x2f5)])==null||_0x23481e[_0x574270(0x148)](_0x5e2297,_0x555a25);}[_0x4dad21(0x3e0)](_0xf9d886){var _0x304148=_0x4dad21,_0x4de826,_0x29be93;return(_0x29be93=(_0x4de826=this[_0x304148(0x471)])[_0x304148(0x102)])==null?void 0x0:_0x29be93['call'](_0x4de826,_0xf9d886);}[_0x4dad21(0x2df)](_0x3f4c46){var _0x4d69ea=_0x4dad21,_0x13055a,_0x1fcc61;return(_0x1fcc61=(_0x13055a=this[_0x4d69ea(0x471)])[_0x4d69ea(0x2e7)])==null?void 0x0:_0x1fcc61['call'](_0x13055a,_0x3f4c46);}[_0x4dad21(0x355)](_0x1611f0){var _0x34cb52=_0x4dad21,_0x25eab1,_0x54a2c4,_0x1958b9;return(_0x1958b9=(_0x54a2c4=(_0x25eab1=this[_0x34cb52(0x471)])[_0x34cb52(0x2d7)])==null?void 0x0:_0x54a2c4[_0x34cb52(0x148)](_0x25eab1,_0x1611f0))!=null?_0x1958b9:_0x1611f0;}['_transformRemoteChangesetByStateCache'](_0x11ead1){var _0x2f12cd=_0x4dad21,_0x58f222,_0x1d469f,_0x2aece2;return(_0x2aece2=(_0x1d469f=(_0x58f222=this[_0x2f12cd(0x471)])[_0x2f12cd(0x3ac)])==null?void 0x0:_0x1d469f['call'](_0x58f222,_0x11ead1))!=null?_0x2aece2:_0x11ead1;}['_syncEditingCollabCursor'](_0x574c3b){var _0x44e627=_0x4dad21,_0x28fc28,_0x10854d;if(this[_0x44e627(0x2e8)]===X[_0x44e627(0x2d2)]){const {unitID:_0x1877e0,mutations:_0x1c5ded,memberID:_0x5998bc}=_0x574c3b,_0x37af25=_0x1c5ded[0x0]['params']['textRanges'];Array[_0x44e627(0x1b8)](_0x37af25)&&_0x37af25[_0x44e627(0x29e)]>0x0&&((_0x10854d=(_0x28fc28=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x10854d['call'](_0x28fc28,{'unitID':_0x1877e0,'memberID':_0x5998bc,'textRanges':_0x37af25}));}}[_0x4dad21(0x317)](){var _0x5197e9=_0x4dad21,_0x587af1;(_0x587af1=this[_0x5197e9(0x128)])==null||_0x587af1[_0x5197e9(0x1f0)](this[_0x5197e9(0x2e6)],this[_0x5197e9(0x2e8)],this[_0x5197e9(0x1c0)],this[_0x5197e9(0x1c7)]);}['_getCurrentRevision'](){var _0x1fe508=_0x4dad21;return this[_0x1fe508(0x457)][_0x1fe508(0x247)](this[_0x1fe508(0x2e6)]);}[_0x4dad21(0x3f4)](){var _0x16b8bc=_0x4dad21;this[_0x16b8bc(0x457)][_0x16b8bc(0x130)](this['unitID']);}['_executeRemoteChangeset'](_0x153270){var _0x2e2c0c=_0x4dad21,_0x3cbd4a;let _0x24de60=this[_0x2e2c0c(0x355)](_0x153270);_0x24de60=this['_transformRemoteChangesetByStateCache'](_0x24de60);const _0x1d6874=a[_0x2e2c0c(0x200)](_0x24de60['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1d6874[_0x2e2c0c(0x42a)])throw _0x1d6874[_0x2e2c0c(0x30b)]instanceof Error?_0x1d6874[_0x2e2c0c(0x30b)]:new Error((_0x3cbd4a=_0x1d6874['error'])!=null?_0x3cbd4a:_0x2e2c0c(0xff));this[_0x2e2c0c(0x3e0)](_0x24de60),this[_0x2e2c0c(0x2df)](_0x24de60),this[_0x2e2c0c(0x191)](_0x153270),this[_0x2e2c0c(0x1c1)](_0x24de60),this[_0x2e2c0c(0x35a)](_0x24de60),this[_0x2e2c0c(0x3f4)]();}}exports['SyncedState']=class extends he{constructor(_0x41b374,_0xd261e0,_0x18df9d,_0x488d5c,_0x4f8950,_0x10f99d,_0x4fc883,_0x32a215,_0x275af6,_0x36a921){var _0x83f8d7=_0x4dad21;super(_0x41b374,_0xd261e0,null,[],_0x18df9d,_0x4fc883,_0x10f99d,_0x488d5c,_0x36a921),P(this,_0x83f8d7(0x353),_0x83f8d7(0x192)),(this[_0x83f8d7(0x3e6)]=_0x4f8950,this[_0x83f8d7(0x301)]=_0x32a215,this[_0x83f8d7(0x225)]=_0x275af6,this['localCacheService']=_0x36a921);}[_0x4dad21(0x2f7)](_0x37fe05){var _0x42ed95=_0x4dad21;const _0xebc939=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x42ed95(0x2e8)],[_0x37fe05],this['_handler']);return _0xebc939['_schedule'](),_0xebc939[_0x42ed95(0x317)](),_0xebc939;}[_0x4dad21(0x13e)](_0x15c21b){var _0x1d9efb=_0x4dad21;if(this[_0x1d9efb(0x3ba)](_0x15c21b))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x1d9efb(0x2e6)],this['type'],null,[],null,[_0x15c21b],this[_0x1d9efb(0x471)]);try{const _0x606cd2=this[_0x1d9efb(0x225)][_0x1d9efb(0x31a)](_0x15c21b,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x606cd2)){const {c1Prime:_0x3c87f1}=_0x606cd2;return this[_0x1d9efb(0x206)](_0x3c87f1),this;}throw _0x606cd2[_0x1d9efb(0x30b)];}catch(_0x40e6eb){return this['_logService']['error'](_0x40e6eb),this[_0x1d9efb(0x283)](!0x1);}}[_0x4dad21(0x283)](_0x419639){var _0x390a93=_0x4dad21;return this[_0x390a93(0x3e6)][_0x390a93(0x356)](exports[_0x390a93(0x1f4)],this[_0x390a93(0x2e6)],this[_0x390a93(0x2e8)],null,[],this['_handler'],_0x419639);}[_0x4dad21(0x281)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4dad21(0x41f)](){var _0x14a97e=_0x4dad21;throw new Error(_0x14a97e(0x293));}['onRemoteRetry'](){return this;}[_0x4dad21(0x472)](){var _0x4e4d40=_0x4dad21;return this[_0x4e4d40(0x3e6)][_0x4e4d40(0x356)](exports[_0x4e4d40(0x31f)],this[_0x4e4d40(0x2e6)],this[_0x4e4d40(0x2e8)],null,[],this[_0x4e4d40(0x471)]);}['toggleOnline'](){return this;}[_0x4dad21(0x465)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5adfaf=_0x4dad21;const _0x226547=this[_0x5adfaf(0x457)][_0x5adfaf(0x247)](this['unitID']);return this['_handler'][_0x5adfaf(0x2b8)]({'from':_0x226547,'to':0x0}),this[_0x5adfaf(0x3e6)][_0x5adfaf(0x356)](exports[_0x5adfaf(0x291)],this['unitID'],this['type'],null,[],null,[],this[_0x5adfaf(0x471)]);}},exports[_0x4dad21(0x32d)]=ce([w(0x3,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0x4,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x4dad21(0x3e4)]),w(0x7,a[_0x4dad21(0x444)]),w(0x8,g['ITransformService']),w(0x9,a[_0x4dad21(0x120)](z))],exports['SyncedState']),exports[_0x4dad21(0x3c8)]=class extends he{constructor(_0x1518f5,_0x2f1f21,_0x1e27c0,_0x42123c,_0x62a5a5,_0x19d1e5,_0x1860ce,_0x1f3d06,_0x1b89ea,_0x29ce83,_0x2ea4c5,_0x35a593,_0x40cc35,_0x3897b8){var _0x12528b=_0x4dad21;super(_0x1518f5,_0x2f1f21,null,_0x1e27c0,_0x42123c,_0x1b89ea,_0x40cc35,_0x19d1e5,_0x3897b8),P(this,_0x12528b(0x353),_0x12528b(0x1bc)),P(this,'_scheduleCompleteTimestamp',null),P(this,_0x12528b(0x2c1),null),(this['_injector']=_0x62a5a5,this[_0x12528b(0x2c7)]=_0x1860ce,this[_0x12528b(0x301)]=_0x1f3d06,this['_configService']=_0x29ce83,this[_0x12528b(0x225)]=_0x2ea4c5,this['_univerInstanceService']=_0x35a593);}['appendMutation'](_0x319781){var _0x3715f2=_0x4dad21;return this['_pendingMutations'][_0x3715f2(0x145)](_0x319781),this[_0x3715f2(0x317)](),this;}[_0x4dad21(0x13e)](_0xa7df42){var _0x1d9c1c=_0x4dad21;if(this[_0x1d9c1c(0x3ba)](_0xa7df42))return this[_0x1d9c1c(0x202)](),this['_injector'][_0x1d9c1c(0x356)](exports[_0x1d9c1c(0x291)],this[_0x1d9c1c(0x2e6)],this[_0x1d9c1c(0x2e8)],null,this[_0x1d9c1c(0x1c7)],null,[_0xa7df42],this[_0x1d9c1c(0x471)]);try{const _0x308c60=this['_transformService']['transformMutationsWithChangeset'](_0xa7df42,this[_0x1d9c1c(0x1c7)]);if(g[_0x1d9c1c(0x411)](_0x308c60)){const {c1Prime:_0x56315c,m2Prime:_0x2e7c14}=_0x308c60;this[_0x1d9c1c(0x206)](_0x56315c);const _0x421311=this[_0x1d9c1c(0x3e6)][_0x1d9c1c(0x356)](exports[_0x1d9c1c(0x3c8)],this[_0x1d9c1c(0x2e6)],this[_0x1d9c1c(0x2e8)],_0x2e7c14,this[_0x1d9c1c(0x471)]);this[_0x1d9c1c(0x202)]();const _0x3fc7e1=new Date()[_0x1d9c1c(0x446)](),_0x34afc8=this[_0x1d9c1c(0x13d)]?Math[_0x1d9c1c(0x227)](this[_0x1d9c1c(0x13d)]-_0x3fc7e1,0x0):this[_0x1d9c1c(0x427)]();return _0x421311[_0x1d9c1c(0x40d)](_0x34afc8),_0x421311;}throw _0x308c60[_0x1d9c1c(0x30b)];}catch(_0x59df01){return this['_logService'][_0x1d9c1c(0x30b)](_0x59df01),this[_0x1d9c1c(0x283)](!0x1);}}[_0x4dad21(0x281)](){var _0x457d81=_0x4dad21;throw new Error(_0x457d81(0x364));}[_0x4dad21(0x41f)](){var _0x35b959=_0x4dad21;throw new Error(_0x35b959(0x3fa));}[_0x4dad21(0x1d8)](){return this;}[_0x4dad21(0x472)](){var _0x177b67=_0x4dad21;return this['_clearScheduledTask'](),this[_0x177b67(0x3e6)][_0x177b67(0x356)](exports[_0x177b67(0x31f)],this['unitID'],this[_0x177b67(0x2e8)],null,this[_0x177b67(0x1c7)],this['_handler']);}['toggleOnline'](){return this;}[_0x4dad21(0x40d)](_0x1fa8dd){var _0xb749e0=_0x4dad21;const _0x3c8fee=_0x1fa8dd!=null?_0x1fa8dd:this[_0xb749e0(0x427)]();this[_0xb749e0(0x13d)]=new Date()['getTime']()+_0x3c8fee,this[_0xb749e0(0x2c1)]=setTimeout(()=>{var _0x3e34a4=_0xb749e0;this['_clearScheduledTask']();let _0x261118=null;switch(this['type']){case X[_0x3e34a4(0x40a)]:{_0x261118=ze(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x3e34a4(0x457)],this['_memberService']);break;}case X['UNIVER_DOC']:{this[_0x3e34a4(0x1c7)][_0x3e34a4(0x423)](_0x8d09fd=>_0x8d09fd['id']===ut[_0x3e34a4(0x230)]['id'])?_0x261118=mi(this[_0x3e34a4(0x1c7)],this[_0x3e34a4(0x2e6)],this['_univerInstanceService'],this[_0x3e34a4(0x457)],this[_0x3e34a4(0x2c7)]):_0x261118=ze(this['_pendingMutations'],this[_0x3e34a4(0x2e6)],this['_univerInstanceService'],this[_0x3e34a4(0x457)],this[_0x3e34a4(0x2c7)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3f938f,pendingMutations:_0x243a87}=_0x261118;this[_0x3e34a4(0x471)][_0x3e34a4(0x33b)](_0x3f938f);const _0x4e1ffc=_0x243a87[_0x3e34a4(0x29e)]?this[_0x3e34a4(0x3e6)]['createInstance'](exports[_0x3e34a4(0x15b)],this[_0x3e34a4(0x2e6)],this[_0x3e34a4(0x2e8)],_0x3f938f,_0x243a87,this['_handler'],void 0x0):this['_injector'][_0x3e34a4(0x356)](exports[_0x3e34a4(0x1a4)],this['unitID'],this[_0x3e34a4(0x2e8)],_0x3f938f,this[_0x3e34a4(0x471)]);_0x4e1ffc[_0x3e34a4(0x317)](),this['_handler']['onStateChange'](this,_0x4e1ffc);},_0x3c8fee);}[_0x4dad21(0x427)](){var _0x23621b=_0x4dad21,_0x289f9d;const _0x40f60a=this[_0x23621b(0x152)][_0x23621b(0x42e)](Y);return(_0x289f9d=_0x40f60a==null?void 0x0:_0x40f60a[_0x23621b(0x2c6)])!=null?_0x289f9d:jt;}['resend'](){var _0x2e4601=_0x4dad21;throw new Error(_0x2e4601(0x280));}[_0x4dad21(0x202)](){var _0x3b2f0d=_0x4dad21;this[_0x3b2f0d(0x2c1)]!=null&&(clearTimeout(this[_0x3b2f0d(0x2c1)]),this[_0x3b2f0d(0x2c1)]=null);}[_0x4dad21(0x283)](_0x4c6aa1){var _0x51a6e4=_0x4dad21;return this[_0x51a6e4(0x202)](),this[_0x51a6e4(0x3e6)][_0x51a6e4(0x356)](exports[_0x51a6e4(0x1f4)],this[_0x51a6e4(0x2e6)],this['type'],null,this[_0x51a6e4(0x1c7)],this[_0x51a6e4(0x471)],_0x4c6aa1);}},exports[_0x4dad21(0x3c8)]=ce([w(0x4,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),w(0x5,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0x6,a[_0x4dad21(0x438)](exports[_0x4dad21(0x262)])),w(0x7,a[_0x4dad21(0x444)]),w(0x8,a[_0x4dad21(0x3e4)]),w(0x9,a[_0x4dad21(0x431)]),w(0xa,g[_0x4dad21(0x399)]),w(0xb,a[_0x4dad21(0x13f)]),w(0xc,a[_0x4dad21(0x429)]),w(0xd,a[_0x4dad21(0x120)](z))],exports[_0x4dad21(0x3c8)]),exports['AwaitingState']=class extends he{constructor(_0x4ed1e1,_0x5171cc,_0x388419,_0x5c720d,_0x25375e,_0x1b3f8a,_0xaad1fb,_0xb6fe5e,_0x1a7cb6,_0x1ac466,_0x557e9c){var _0x5784ce=_0x4dad21;super(_0x4ed1e1,_0x5171cc,_0x388419,[],_0x5c720d,_0xaad1fb,_0x1ac466,_0x1b3f8a,_0x557e9c),P(this,_0x5784ce(0x353),_0x5784ce(0x233)),P(this,_0x5784ce(0x10d),0x0),P(this,_0x5784ce(0x28a)),P(this,'_sender'),(this['_injector']=_0x25375e,this[_0x5784ce(0x301)]=_0xb6fe5e,this[_0x5784ce(0x225)]=_0x1a7cb6);}[_0x4dad21(0x2f7)](_0x561f7e){var _0x21a815=_0x4dad21;this['_clearScheduledTask']();const _0x4377ca=this[_0x21a815(0x3e6)][_0x21a815(0x356)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x21a815(0x2e8)],this[_0x21a815(0x1c0)],[_0x561f7e],this['_handler'],this['_resendTimer']);return _0x4377ca[_0x21a815(0x317)](),_0x4377ca;}[_0x4dad21(0x13e)](_0x57086c){var _0x4776db=_0x4dad21;if(this['_checkMissing'](_0x57086c))return this[_0x4776db(0x202)](),this['_injector']['createInstance'](exports[_0x4776db(0x291)],this['unitID'],this[_0x4776db(0x2e8)],this['_awaitingChangeset'],[],null,[_0x57086c],this[_0x4776db(0x471)]);try{const _0x25a0ca=this[_0x4776db(0x225)]['transformChangesets']([_0x57086c],[this['_awaitingChangeset']],!0x1);if(g[_0x4776db(0x3e1)](_0x25a0ca)){const {c1Prime:_0x378377,c2Prime:_0x3e25c8}=_0x25a0ca;this[_0x4776db(0x206)](_0x378377[0x0]),_0x3e25c8[0x0][_0x4776db(0x32f)]=this[_0x4776db(0x430)](),this[_0x4776db(0x202)]();const _0x5d2a8a=this[_0x4776db(0x3e6)][_0x4776db(0x356)](exports['AwaitingState'],this['unitID'],this[_0x4776db(0x2e8)],_0x3e25c8[0x0],this['_handler']);return _0x5d2a8a[_0x4776db(0x317)](),_0x5d2a8a;}return this[_0x4776db(0x283)](!0x1);}catch(_0x4bccd0){return this[_0x4776db(0x301)][_0x4776db(0x30b)](_0x4bccd0),this[_0x4776db(0x283)](!0x1);}}[_0x4dad21(0x281)](_0x56e29e){var _0x476ba9=_0x4dad21;this[_0x476ba9(0x202)]();const _0x4da02a=this['_revisionService'][_0x476ba9(0x247)](this['unitID']);if(_0x56e29e['revision']<_0x4da02a-0x1)return this;if(this[_0x476ba9(0x3ba)](_0x56e29e))return this[_0x476ba9(0x3e6)][_0x476ba9(0x356)](exports[_0x476ba9(0x291)],this[_0x476ba9(0x2e6)],this[_0x476ba9(0x2e8)],null,[],this['_awaitingChangeset'],[],this[_0x476ba9(0x471)]);this[_0x476ba9(0x3f4)]();const _0x444d5c=this[_0x476ba9(0x3e6)][_0x476ba9(0x356)](exports['SyncedState'],this['unitID'],this[_0x476ba9(0x2e8)],this[_0x476ba9(0x471)]);return _0x444d5c[_0x476ba9(0x317)](),_0x444d5c;}['onRemoteRej'](_0x28e46d){var _0x2de7f6=_0x4dad21;return this[_0x2de7f6(0x283)](!!(_0x28e46d!=null&&_0x28e46d[_0x2de7f6(0x3cb)]));}[_0x4dad21(0x1d8)](_0x17397f){var _0x545290=_0x4dad21;return this[_0x545290(0x10d)]>Nt?this[_0x545290(0x472)]():(this[_0x545290(0x28a)]=Ot(this[_0x545290(0x10d)],{'timeout':this['_resendTimeout'],'reqId':_0x17397f[_0x545290(0x3ff)]}),this[_0x545290(0x32c)]=this[_0x545290(0x28a)][_0x545290(0x258)](({reqId:_0x8c85a4,timeout:_0x44ea18})=>{var _0x1bc3e7=_0x545290;this[_0x1bc3e7(0x445)](_0x8c85a4,_0x44ea18);}),this);}['toggleOffline'](){var _0x3aeb6e=_0x4dad21;return this[_0x3aeb6e(0x202)](),this[_0x3aeb6e(0x3e6)][_0x3aeb6e(0x356)](exports[_0x3aeb6e(0x31f)],this[_0x3aeb6e(0x2e6)],this[_0x3aeb6e(0x2e8)],this[_0x3aeb6e(0x1c0)],[],this[_0x3aeb6e(0x471)]);}['toggleOnline'](){return this;}[_0x4dad21(0x465)](){var _0x10d572=_0x4dad21;this[_0x10d572(0x471)]['onSendChangeset'](this[_0x10d572(0x1c0)]);}[_0x4dad21(0x283)](_0x17d66f){var _0xbc01a5=_0x4dad21;return this[_0xbc01a5(0x202)](),this[_0xbc01a5(0x3e6)][_0xbc01a5(0x356)](exports[_0xbc01a5(0x1f4)],this[_0xbc01a5(0x2e6)],this[_0xbc01a5(0x2e8)],this[_0xbc01a5(0x1c0)],[],this['_handler'],_0x17d66f);}[_0x4dad21(0x445)](_0xa73534,_0x26bf49){var _0x198bc6=_0x4dad21,_0x454bda;_0xa73534===((_0x454bda=this[_0x198bc6(0x1c0)])==null?void 0x0:_0x454bda[_0x198bc6(0x3ff)])&&(this[_0x198bc6(0x465)](),this[_0x198bc6(0x10d)]=_0x26bf49===0x0?0x3e8:_0x26bf49*0x2);}[_0x4dad21(0x202)](){var _0x54586e=_0x4dad21,_0x9bc2e8;(_0x9bc2e8=this[_0x54586e(0x32c)])==null||_0x9bc2e8[_0x54586e(0x2ea)](),this[_0x54586e(0x10d)]=0x0;}},exports[_0x4dad21(0x1a4)]=ce([w(0x4,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),w(0x5,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0x6,a['ICommandService']),w(0x7,a[_0x4dad21(0x444)]),w(0x8,g[_0x4dad21(0x399)]),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x4dad21(0x120)](z))],exports[_0x4dad21(0x1a4)]),exports[_0x4dad21(0x15b)]=class extends he{constructor(_0x525cad,_0x1ad1c7,_0x4af027,_0x310c09,_0xd03845,_0x3ff3cb,_0x5cbd20,_0x4bbaa0,_0x260a53,_0x26b07c,_0x1ba0de,_0x556869,_0x102f61){var _0x32e72f=_0x4dad21;super(_0x525cad,_0x1ad1c7,_0x4af027,_0x310c09,_0xd03845,_0x260a53,_0x556869,_0x4bbaa0,_0x102f61),P(this,'status',_0x32e72f(0x456)),P(this,_0x32e72f(0x10d),0x0),P(this,_0x32e72f(0x28a)),P(this,_0x32e72f(0x32c)),(this[_0x32e72f(0x3e6)]=_0x5cbd20,this[_0x32e72f(0x301)]=_0x26b07c,this[_0x32e72f(0x225)]=_0x1ba0de,this['localCacheService']=_0x102f61,_0x3ff3cb&&(this['_resendTimer']=_0x3ff3cb,this[_0x32e72f(0x32c)]=this[_0x32e72f(0x28a)][_0x32e72f(0x258)](({reqId:_0x5c1a99,timeout:_0x2dce6c})=>{var _0x2135e9=_0x32e72f;this[_0x2135e9(0x445)](_0x5c1a99,_0x2dce6c);})));}[_0x4dad21(0x2f7)](_0x410c82){var _0x54641a=_0x4dad21;return this[_0x54641a(0x1c7)][_0x54641a(0x145)](_0x410c82),this;}[_0x4dad21(0x13e)](_0x4305ec){var _0x24bb1d=_0x4dad21;if(this[_0x24bb1d(0x3ba)](_0x4305ec))return this[_0x24bb1d(0x202)](),this['_injector'][_0x24bb1d(0x356)](exports['FetchingMissState'],this['unitID'],this[_0x24bb1d(0x2e8)],this['_awaitingChangeset'],this[_0x24bb1d(0x1c7)],null,[_0x4305ec],this[_0x24bb1d(0x471)]);try{const _0x19a71e=this[_0x24bb1d(0x225)][_0x24bb1d(0x2ca)]([_0x4305ec],[this[_0x24bb1d(0x1c0)]],!0x1);if(g[_0x24bb1d(0x3e1)](_0x19a71e)){const {c1Prime:_0x49f95d,c2Prime:_0x29b8b1}=_0x19a71e,_0x18a2d6=this[_0x24bb1d(0x225)][_0x24bb1d(0x31a)](_0x49f95d[0x0],this[_0x24bb1d(0x1c7)]);if(g[_0x24bb1d(0x411)](_0x18a2d6)){const {c1Prime:_0x29fba5,m2Prime:_0x1ee459}=_0x18a2d6;return this[_0x24bb1d(0x206)](_0x29fba5),_0x29b8b1[0x0][_0x24bb1d(0x32f)]=this[_0x24bb1d(0x430)](),this[_0x24bb1d(0x202)](),this[_0x24bb1d(0x3e6)]['createInstance'](exports[_0x24bb1d(0x15b)],this['unitID'],this[_0x24bb1d(0x2e8)],_0x29b8b1[0x0],_0x1ee459,this[_0x24bb1d(0x471)],void 0x0);}throw _0x18a2d6[_0x24bb1d(0x30b)];}throw _0x19a71e[_0x24bb1d(0x30b)];}catch(_0x421f7f){return this[_0x24bb1d(0x301)][_0x24bb1d(0x30b)](_0x421f7f),this['_onConflict'](!0x1);}}[_0x4dad21(0x281)](_0x420347){var _0x2abfc8=_0x4dad21;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x420347))return this[_0x2abfc8(0x3e6)][_0x2abfc8(0x356)](exports[_0x2abfc8(0x291)],this['unitID'],this[_0x2abfc8(0x2e8)],null,this[_0x2abfc8(0x1c7)],this[_0x2abfc8(0x1c0)],[],this[_0x2abfc8(0x471)]);this[_0x2abfc8(0x3f4)]();const _0x382223=this[_0x2abfc8(0x3e6)][_0x2abfc8(0x356)](exports['PendingState'],this['unitID'],this['type'],this[_0x2abfc8(0x1c7)],this['_handler']);return _0x382223[_0x2abfc8(0x40d)](),_0x382223[_0x2abfc8(0x317)](),_0x382223;}['onRemoteRej'](_0x41cf9f){var _0x139593=_0x4dad21;return this[_0x139593(0x283)](!!(_0x41cf9f!=null&&_0x41cf9f[_0x139593(0x3cb)]));}['onRemoteRetry'](_0x56da64){var _0x5c1bcb=_0x4dad21;return this['_resendTimeout']>Nt?this[_0x5c1bcb(0x472)]():(this[_0x5c1bcb(0x28a)]=Ot(this['_resendTimeout'],{'timeout':this[_0x5c1bcb(0x10d)],'reqId':_0x56da64['reqId']}),this[_0x5c1bcb(0x32c)]=this[_0x5c1bcb(0x28a)][_0x5c1bcb(0x258)](({reqId:_0x30e934,timeout:_0x2d5431})=>{var _0x3115b7=_0x5c1bcb;this[_0x3115b7(0x445)](_0x30e934,_0x2d5431);}),this);}['toggleOffline'](){var _0xe525e3=_0x4dad21;return this['_clearScheduledTask'](),this[_0xe525e3(0x3e6)][_0xe525e3(0x356)](exports[_0xe525e3(0x31f)],this[_0xe525e3(0x2e6)],this[_0xe525e3(0x2e8)],this[_0xe525e3(0x1c0)],this[_0xe525e3(0x1c7)],this[_0xe525e3(0x471)]);}[_0x4dad21(0x36c)](){return this;}[_0x4dad21(0x465)](){var _0x59345a=_0x4dad21;this[_0x59345a(0x471)][_0x59345a(0x33b)](this['_awaitingChangeset']);}[_0x4dad21(0x283)](_0x49cf9f){var _0x441f4b=_0x4dad21;return this[_0x441f4b(0x202)](),this[_0x441f4b(0x3e6)]['createInstance'](exports[_0x441f4b(0x1f4)],this['unitID'],this[_0x441f4b(0x2e8)],null,this[_0x441f4b(0x1c7)],this[_0x441f4b(0x471)],_0x49cf9f);}[_0x4dad21(0x445)](_0x26d0bd,_0x4b0cd7){var _0x2b85a1=_0x4dad21,_0x5a5f29;_0x26d0bd===((_0x5a5f29=this[_0x2b85a1(0x1c0)])==null?void 0x0:_0x5a5f29[_0x2b85a1(0x3ff)])&&(this['resend'](),this[_0x2b85a1(0x10d)]=_0x4b0cd7===0x0?0x3e8:_0x4b0cd7*0x2);}[_0x4dad21(0x202)](){var _0x2b2561=_0x4dad21,_0x37a4b1;(_0x37a4b1=this['_sender'])==null||_0x37a4b1[_0x2b2561(0x2ea)](),this[_0x2b2561(0x10d)]=0x0;}},exports[_0x4dad21(0x15b)]=ce([w(0x6,a['Inject'](a[_0x4dad21(0x18c)])),w(0x7,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0x8,a[_0x4dad21(0x3e4)]),w(0x9,a[_0x4dad21(0x444)]),w(0xa,g[_0x4dad21(0x399)]),w(0xb,a[_0x4dad21(0x429)]),w(0xc,a['Optional'](z))],exports[_0x4dad21(0x15b)]),exports[_0x4dad21(0x1f4)]=class extends he{constructor(_0x4eee15,_0x39842e,_0x3cabcb,_0x3405a9,_0x3a6a9c,_0x27a9a4=!0x1,_0x402ba5,_0x5466bb,_0x728b23,_0xff44f1,_0x40ce32,_0x48128f,_0x4627ed){var _0x5e23a2=_0x4dad21;super(_0x4eee15,_0x39842e,_0x3cabcb,_0x3405a9,_0x3a6a9c,_0x5466bb,_0x728b23,_0xff44f1,_0x4627ed),P(this,_0x5e23a2(0x353),_0x5e23a2(0x3f2)),(this['_isPermissionRej']=_0x27a9a4,this['_permissionService']=_0x402ba5,this[_0x5e23a2(0x31b)]=_0x40ce32,this[_0x5e23a2(0x3a9)]=_0x48128f,this['localCacheService']=_0x4627ed,this[_0x5e23a2(0x3ae)](),this[_0x5e23a2(0x2e0)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x4dad21(0x13e)](){return this;}[_0x4dad21(0x281)](){return this;}[_0x4dad21(0x41f)](){return this;}[_0x4dad21(0x1d8)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x593b50=_0x4dad21;throw new Error(_0x593b50(0x470));}['_clearLocalCache'](){var _0x46c946=_0x4dad21,_0x37383e;(_0x37383e=this['_localCacheService'])==null||_0x37383e['updateOfflineData'](this[_0x46c946(0x2e6)],this[_0x46c946(0x2e8)],null,[]);}[_0x4dad21(0x3ae)](){var _0x38ffdb=_0x4dad21;this[_0x38ffdb(0x19f)]?this[_0x38ffdb(0x3a9)][_0x38ffdb(0x115)]({'id':Q[_0x38ffdb(0x433)]}):this[_0x38ffdb(0x3a9)]['emitEvent']({'id':Q[_0x38ffdb(0x221)]});}['_disableEditing'](){var _0x3baf49=_0x4dad21;this[_0x3baf49(0x1f2)][_0x3baf49(0x40f)](new Z[(_0x3baf49(0x144))](this[_0x3baf49(0x2e6)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x4dad21(0x438)](a[_0x4dad21(0x3c7)])),w(0x7,a[_0x4dad21(0x3e4)]),w(0x8,a[_0x4dad21(0x429)]),w(0x9,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x4dad21(0x438)](te)),w(0xc,a[_0x4dad21(0x120)](z))],exports[_0x4dad21(0x1f4)]),exports['OfflineState']=class extends he{constructor(_0x1bc2a1,_0x2d07d9,_0x23ea92,_0x1d2da8,_0x3409ba,_0x26e0d9,_0x329619,_0x896e9e,_0x344c18,_0x43d1df){var _0x59be19=_0x4dad21;super(_0x1bc2a1,_0x2d07d9,_0x23ea92,_0x1d2da8,_0x3409ba,_0x896e9e,_0x344c18,_0x329619,_0x43d1df),P(this,_0x59be19(0x353),_0x59be19(0x1da)),this[_0x59be19(0x3e6)]=_0x26e0d9;}[_0x4dad21(0x2f7)](_0x1aa09b){var _0x117e39=_0x4dad21;return this[_0x117e39(0x1c7)]['push'](_0x1aa09b),this[_0x117e39(0x317)](),this;}[_0x4dad21(0x13e)](_0xb73650){var _0x31b9b0=_0x4dad21;throw new Error(_0x31b9b0(0x1ee));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4dad21(0x41f)](){var _0x411ad7=_0x4dad21;throw new Error(_0x411ad7(0x2fd));}['onRemoteRetry'](){return this;}[_0x4dad21(0x472)](){return this;}['toggleOnline'](){var _0x3f0942=_0x4dad21;const {_injector:_0x2e08b1,_pendingMutations:_0x570af4,_awaitingChangeset:_0x424856,unitID:_0x32f499,_handler:_0x1d1652,type:_0x4f4330}=this,_0x250892=Dt(_0x2e08b1,_0x32f499,_0x4f4330,_0x424856,_0x570af4,_0x1d1652);return _0x250892 instanceof exports[_0x3f0942(0x3c8)]?_0x250892[_0x3f0942(0x40d)]():(_0x250892 instanceof exports[_0x3f0942(0x15b)]||_0x250892 instanceof exports[_0x3f0942(0x1a4)])&&_0x250892[_0x3f0942(0x465)](),_0x250892;}[_0x4dad21(0x465)](){var _0x168013=_0x4dad21;throw new Error(_0x168013(0x1ae));}},exports['OfflineState']=ce([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),w(0x7,a['ICommandService']),w(0x8,a[_0x4dad21(0x429)]),w(0x9,a[_0x4dad21(0x120)](z))],exports['OfflineState']),exports['FetchingMissState']=class extends he{constructor(_0x4f2fad,_0x476929,_0x2fcab9,_0x23897b,_0x4872ca,_0x4caee9,_0x3297ae,_0x2477fc,_0x31ae2d,_0x3ee297,_0x11abec,_0x238cfd,_0x884f96,_0x441611){var _0xf3565f=_0x4dad21;super(_0x4f2fad,_0x476929,_0x2fcab9,_0x23897b,_0x3297ae,_0x11abec,_0x238cfd,_0x31ae2d,_0x441611),P(this,_0xf3565f(0x353),_0xf3565f(0x31d)),(this[_0xf3565f(0x3bc)]=_0x4872ca,this['_queuedRemoteChangesets']=_0x4caee9,this[_0xf3565f(0x3e6)]=_0x2477fc,this['_logService']=_0x3ee297,this['_transformService']=_0x884f96,this[_0xf3565f(0x437)]=_0x441611);}[_0x4dad21(0x41d)](_0x23a136){var _0x3c5843=_0x4dad21;try{const _0x2bcb04=[..._0x23a136,...this['_queuedRemoteChangesets']],_0x1c730e=[this[_0x3c5843(0x1c0)]||this[_0x3c5843(0x3bc)]][_0x3c5843(0x339)](_0x567ba0=>!!_0x567ba0);let _0x187940,_0x32c99a;if(_0x1c730e[_0x3c5843(0x29e)]){const _0x1d8338=this['_transformService']['transformChangesets'](_0x2bcb04,_0x1c730e,!0x1);if(!g['isTransformChangesetsSuccess'](_0x1d8338))throw _0x1d8338[_0x3c5843(0x30b)];_0x187940=_0x1d8338[_0x3c5843(0x3bb)],_0x32c99a=_0x1d8338[_0x3c5843(0x2b0)];}else _0x187940=_0x2bcb04,_0x32c99a=[];let _0x55f7a6=this[_0x3c5843(0x1c7)];_0x187940[_0x3c5843(0x360)](_0x570b09=>{var _0x4f374c=_0x3c5843;let _0x14f12c;if(_0x55f7a6['length']){const _0x51d1a6=this[_0x4f374c(0x225)]['transformMutationsWithChangeset'](_0x570b09,_0x55f7a6);if(!g[_0x4f374c(0x411)](_0x51d1a6))throw _0x51d1a6[_0x4f374c(0x30b)];_0x14f12c=_0x51d1a6['c1Prime'],_0x55f7a6=_0x51d1a6[_0x4f374c(0x3f1)];}else _0x14f12c=_0x570b09;this[_0x4f374c(0x206)](_0x14f12c);}),this[_0x3c5843(0x3bc)]&&this[_0x3c5843(0x3f4)](),this[_0x3c5843(0x1c0)]&&_0x32c99a[_0x3c5843(0x29e)]&&(_0x32c99a[0x0][_0x3c5843(0x32f)]=this[_0x3c5843(0x430)]());let _0xab90e7;if(this['_awaitingChangeset']&&_0x55f7a6[_0x3c5843(0x29e)]!==0x0)_0xab90e7=this[_0x3c5843(0x3e6)]['createInstance'](exports[_0x3c5843(0x15b)],this[_0x3c5843(0x2e6)],this['type'],_0x32c99a[0x0],_0x55f7a6,this[_0x3c5843(0x471)],void 0x0);else{if(this[_0x3c5843(0x1c0)]&&_0x55f7a6[_0x3c5843(0x29e)]===0x0)_0x32c99a[0x0]['baseRev']=this[_0x3c5843(0x430)](),_0xab90e7=this[_0x3c5843(0x3e6)][_0x3c5843(0x356)](exports[_0x3c5843(0x1a4)],this[_0x3c5843(0x2e6)],this['type'],_0x32c99a[0x0],this[_0x3c5843(0x471)]);else{if(_0x55f7a6['length']!==0x0){const _0x4f7528=this[_0x3c5843(0x3e6)]['createInstance'](exports[_0x3c5843(0x3c8)],this[_0x3c5843(0x2e6)],this['type'],_0x55f7a6,this['_handler']);_0x4f7528[_0x3c5843(0x40d)](),_0xab90e7=_0x4f7528;}else _0xab90e7=this[_0x3c5843(0x3e6)]['createInstance'](exports[_0x3c5843(0x32d)],this[_0x3c5843(0x2e6)],this[_0x3c5843(0x2e8)],this['_handler']);}}return _0xab90e7[_0x3c5843(0x317)](),_0xab90e7;}catch(_0x29ddbf){return this['_logService']['error'](_0x3c5843(0x1f3),_0x3c5843(0x41b),_0x29ddbf),this[_0x3c5843(0x3e6)][_0x3c5843(0x356)](exports['ConflictState'],this[_0x3c5843(0x2e6)],this['type'],this[_0x3c5843(0x1c0)],this[_0x3c5843(0x1c7)],this[_0x3c5843(0x471)],!0x1);}}[_0x4dad21(0x465)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x2abc30){var _0x214a2=_0x4dad21;return this[_0x214a2(0x1c7)][_0x214a2(0x145)](_0x2abc30),this;}[_0x4dad21(0x13e)](_0x41277c){var _0x26ffdb=_0x4dad21;return this[_0x26ffdb(0x284)][_0x26ffdb(0x145)](_0x41277c),this;}['onRemoteAck'](_0x2ffade){var _0x27ee7c=_0x4dad21;if(this[_0x27ee7c(0x1c0)])return this[_0x27ee7c(0x3bc)]=this[_0x27ee7c(0x1c0)],this['_awaitingChangeset']=null,this;throw new Error(_0x27ee7c(0x18e));}[_0x4dad21(0x41f)](_0x256a93){var _0x41c55d=_0x4dad21;return this['_onConflict'](!!(_0x256a93!=null&&_0x256a93[_0x41c55d(0x3cb)]));}[_0x4dad21(0x1d8)](){return this;}['toggleOffline'](){var _0x56c95d=_0x4dad21;return this[_0x56c95d(0x3e6)][_0x56c95d(0x356)](exports[_0x56c95d(0x31f)],this['unitID'],this[_0x56c95d(0x2e8)],this[_0x56c95d(0x1c0)],this[_0x56c95d(0x1c7)],this[_0x56c95d(0x471)]);}['toggleOnline'](){return this;}['_onConflict'](_0x1903f1){var _0x584fca=_0x4dad21;return this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this[_0x584fca(0x2e8)],this[_0x584fca(0x1c0)],this[_0x584fca(0x1c7)],this[_0x584fca(0x471)],_0x1903f1);}},exports[_0x4dad21(0x291)]=ce([w(0x7,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),w(0x8,a['Inject'](g[_0x4dad21(0x474)])),w(0x9,a[_0x4dad21(0x444)]),w(0xa,a[_0x4dad21(0x3e4)]),w(0xb,a[_0x4dad21(0x429)]),w(0xc,g[_0x4dad21(0x399)]),w(0xd,a['Optional'](z))],exports[_0x4dad21(0x291)]);function Dt(_0x599447,_0x229516,_0x1d3572,_0x5052f9,_0x54c827,_0x155045){var _0x15d235=_0x4dad21;return _0x5052f9&&_0x54c827[_0x15d235(0x29e)]?_0x599447['createInstance'](exports[_0x15d235(0x15b)],_0x229516,_0x1d3572,_0x5052f9,_0x54c827,_0x155045,void 0x0):_0x5052f9?_0x599447[_0x15d235(0x356)](exports['AwaitingState'],_0x229516,_0x1d3572,_0x5052f9,_0x155045):_0x54c827[_0x15d235(0x29e)]?_0x599447[_0x15d235(0x356)](exports[_0x15d235(0x3c8)],_0x229516,_0x1d3572,_0x54c827,_0x155045):_0x599447[_0x15d235(0x356)](exports[_0x15d235(0x32d)],_0x229516,_0x1d3572,_0x155045);}var Ci=Object[_0x4dad21(0x10f)],Ge=(_0x39ab40,_0x494a11,_0x492289,_0x5e063f)=>{var _0x366e41=_0x4dad21;for(var _0x3e3492=_0x5e063f>0x1?void 0x0:_0x5e063f?Ci(_0x494a11,_0x492289):_0x494a11,_0x5dbb1d=_0x39ab40[_0x366e41(0x29e)]-0x1,_0x40841b;_0x5dbb1d>=0x0;_0x5dbb1d--)(_0x40841b=_0x39ab40[_0x5dbb1d])&&(_0x3e3492=_0x40841b(_0x3e3492)||_0x3e3492);return _0x3e3492;},$=(_0x62db47,_0x327fe8)=>(_0x5983f4,_0x5d6ce2)=>_0x327fe8(_0x5983f4,_0x5d6ce2,_0x62db47);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x3fad5d,_0x50a958,_0x136b76,_0x50a46e,_0x16fd90,_0x25659e,_0x5415a9,_0x215743,_0x215f68,_0x51ffc4,_0x565b79,_0xbb288d,_0x455718){var _0x273428=_0x4dad21;super(),P(this,'_state$',new j[(_0x273428(0x432))](null)),P(this,_0x273428(0x2cc),this[_0x273428(0x43d)][_0x273428(0x2fa)]()),P(this,_0x273428(0x2f6)),P(this,_0x273428(0x246),!0x1),P(this,_0x273428(0x179),''),P(this,_0x273428(0x240),0x0),P(this,_0x273428(0x294),this[_0x273428(0x2cc)][_0x273428(0x3f9)](j['map'](_0x4f270e=>_0x4f270e?_0x4f270e[_0x273428(0x353)]:We[_0x273428(0x410)]),j[_0x273428(0x134)](0x1))),P(this,_0x273428(0x132),!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0x273428(0x2e6)]=_0x3fad5d,this[_0x273428(0x121)]=_0x50a958,this[_0x273428(0x44a)]=_0x136b76,this[_0x273428(0x3e6)]=_0x50a46e,this[_0x273428(0x25f)]=_0x16fd90,this[_0x273428(0x31b)]=_0x25659e,this[_0x273428(0x457)]=_0x5415a9,this[_0x273428(0x146)]=_0x215743,this['_logService']=_0x215f68,this[_0x273428(0x36b)]=_0x51ffc4,this[_0x273428(0x1f2)]=_0x565b79,this[_0x273428(0x3b4)]=_0xbb288d,this[_0x273428(0x128)]=_0x455718);}get[_0x4dad21(0x198)](){var _0x10988e=_0x4dad21;return this[_0x10988e(0x2f6)];}async[_0x4dad21(0x45a)](){var _0xd57ced=_0x4dad21;if(this[_0xd57ced(0x198)])throw new Error(_0xd57ced(0x23e));await this['_init']();}['pauseCollaboration'](){var _0x30c064=_0x4dad21;return this[_0x30c064(0x246)]=!0x0,a[_0x30c064(0x3e7)](()=>{var _0x35a2c6=_0x30c064;this[_0x35a2c6(0x246)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4dad21(0x29d)](_0x5b088d){var _0x43491e=_0x4dad21;this[_0x43491e(0x27f)](_0x5b088d);}[_0x4dad21(0x43e)](_0x172b00){var _0xa7f411=_0x4dad21;this[_0xa7f411(0x2f6)]=_0x172b00,this[_0xa7f411(0x43d)][_0xa7f411(0x26e)](_0x172b00);}async['_init'](){var _0x1ce390=_0x4dad21,_0x504845;this['_updateState'](await this[_0x1ce390(0x325)]()),this['_singleActiveUnitService']&&((_0x504845=this[_0x1ce390(0x3b4)])==null||_0x504845[_0x1ce390(0x164)](this['unitID']),this[_0x1ce390(0x34c)](this[_0x1ce390(0x3b4)]['getUnitStatus$'](this[_0x1ce390(0x2e6)])[_0x1ce390(0x258)](_0x163f5e=>{var _0x1938b4=_0x1ce390;this[_0x1938b4(0x301)][_0x1938b4(0x2b7)](_0x1938b4(0x16c),_0x1938b4(0x1db),_0x163f5e),_0x163f5e===Fe[_0x1938b4(0x12b)]?(this[_0x1938b4(0x146)][_0x1938b4(0x115)]({'id':Q[_0x1938b4(0x245)]}),this[_0x1938b4(0x1f2)][_0x1938b4(0x40f)](new Z[(_0x1938b4(0x144))](this[_0x1938b4(0x2e6)])['id'],!0x1),this[_0x1938b4(0x1f2)][_0x1938b4(0x31e)](!0x1)):(this[_0x1938b4(0x1f2)]['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0x1938b4(0x2e6)])['id'],!0x0),this[_0x1938b4(0x1f2)]['setShowComponents'](!0x0));})));let _0x3ba17b=!0x1;return this['disposeWithMe'](this[_0x1ce390(0x121)][_0x1ce390(0x1d4)]['subscribe'](_0x47c4d5=>{var _0x95e406=_0x1ce390;_0x47c4d5===se[_0x95e406(0x372)]?this['_toggleOnline'](_0x3ba17b):_0x47c4d5===se['OFFLINE']&&(_0x3ba17b=!0x0,this[_0x95e406(0x1e4)]());})),this[_0x1ce390(0x34c)](this[_0x1ce390(0x121)]['event$'][_0x1ce390(0x258)](_0x282a6a=>{var _0x4c6c8e=_0x1ce390;try{switch(_0x282a6a[_0x4c6c8e(0x425)]){case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x33d)]:{this[_0x4c6c8e(0x2f1)](g[_0x4c6c8e(0x209)](_0x282a6a[_0x4c6c8e(0x16e)]));break;}case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x213)]:{this['_onRemoteACK'](_0x282a6a[_0x4c6c8e(0x16e)]);break;}case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x1d5)]:{this['_onRemoteRejected']();break;}case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x219)]:{this[_0x4c6c8e(0x1ab)](_0x282a6a[_0x4c6c8e(0x16e)]);break;}case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x178)]:{this[_0x4c6c8e(0x2fe)](_0x282a6a[_0x4c6c8e(0x16e)][_0x4c6c8e(0x140)][_0x4c6c8e(0x3d1)](_0x3097fa=>g[_0x4c6c8e(0x209)](_0x3097fa)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this[_0x4c6c8e(0x2f9)]({'isPermissionRej':!0x0});break;}case g[_0x4c6c8e(0x13b)][_0x4c6c8e(0x348)]:break;}}catch(_0x4b7171){throw console[_0x4c6c8e(0x30b)](_0x4c6c8e(0x42d),_0x4b7171),_0x4b7171;}})),this['_state'];}[_0x4dad21(0x386)](){var _0x1021e4=_0x4dad21;this[_0x1021e4(0x132)]=!0x1;}['_lockTransition'](){var _0x5911df=_0x4dad21;if(this[_0x5911df(0x132)])throw new Error(_0x5911df(0x2e4));this['_transitionLocked']=!0x0;}[_0x4dad21(0x27f)](_0x54b9ce){var _0x58c0d2=_0x4dad21;this[_0x58c0d2(0x2fb)](),this[_0x58c0d2(0x43e)](this[_0x58c0d2(0x2f6)]['appendMutation'](_0x54b9ce)),this[_0x58c0d2(0x386)]();}[_0x4dad21(0x2f1)](_0x25ac01){var _0x38d314=_0x4dad21;if(!(_0x25ac01['revision']<=this[_0x38d314(0x457)][_0x38d314(0x247)](this[_0x38d314(0x2e6)]))){if(this[_0x38d314(0x246)]){this[_0x38d314(0x21a)][_0x38d314(0x145)](_0x25ac01);return;}this[_0x38d314(0x1ac)](_0x25ac01);}}[_0x4dad21(0x300)](){var _0x127cad=_0x4dad21;this['_remoteChangesetQueue'][_0x127cad(0x360)](_0x156641=>this[_0x127cad(0x1ac)](_0x156641)),this['_remoteChangesetQueue']=[];}[_0x4dad21(0x1ac)](_0x323907){var _0x216da=_0x4dad21;const _0x41cc80=this[_0x216da(0x25f)][_0x216da(0x212)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x216da(0x1d3)]()[_0x216da(0x3f3)])(_0x323907[_0x216da(0x2d8)],null)||_0x323907['mutations'],_0x456094={..._0x323907,'mutations':_0x41cc80};this[_0x216da(0x2fb)](),this[_0x216da(0x43e)](this[_0x216da(0x2f6)][_0x216da(0x13e)](_0x456094)),this[_0x216da(0x386)]();}[_0x4dad21(0x346)](_0x282d6e){var _0x5a92b6=_0x4dad21;this['_lockTransition'](),this[_0x5a92b6(0x43e)](this['_state'][_0x5a92b6(0x281)](_0x282d6e)),this[_0x5a92b6(0x386)]();}[_0x4dad21(0x2f9)](_0x34fef8){var _0x583c5b=_0x4dad21;this[_0x583c5b(0x2fb)](),this['_updateState'](this[_0x583c5b(0x2f6)]['onRemoteRej'](_0x34fef8)),this[_0x583c5b(0x386)]();}[_0x4dad21(0x1ab)](_0x521954){var _0x50a7f3=_0x4dad21;this[_0x50a7f3(0x2fb)](),this[_0x50a7f3(0x43e)](this['_state'][_0x50a7f3(0x1d8)](_0x521954)),this[_0x50a7f3(0x386)]();}[_0x4dad21(0x2fe)](_0xd7569a){var _0x42093f=_0x4dad21;if(!(this[_0x42093f(0x2f6)]instanceof exports[_0x42093f(0x291)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x142aa0=_0xd7569a[_0x42093f(0x3d1)](_0x280250=>{var _0x2be581=_0x42093f;const _0x3a7ddb=this['_compressMutationService'][_0x2be581(0x212)][_0x2be581(0x35d)](this[_0x2be581(0x25f)][_0x2be581(0x212)][_0x2be581(0x1d3)]()[_0x2be581(0x3f3)])(_0x280250['mutations'],null)||_0x280250[_0x2be581(0x2d8)];return{..._0x280250,'mutations':_0x3a7ddb};});this[_0x42093f(0x2fb)](),this['_updateState'](this['_state'][_0x42093f(0x41d)](_0x142aa0)),this[_0x42093f(0x386)]();}[_0x4dad21(0x1e4)](){var _0x1941f1=_0x4dad21;this[_0x1941f1(0x2fb)](),this[_0x1941f1(0x43e)](this[_0x1941f1(0x2f6)][_0x1941f1(0x472)]()),this['_unlockTransition']();}[_0x4dad21(0x1b2)](_0x2024d0=!0x1){var _0x4dfafa=_0x4dad21;this[_0x4dfafa(0x2fb)](),this['_updateState'](this[_0x4dfafa(0x2f6)]['toggleOnline']()),this['_unlockTransition']();const _0x5607de=this['_state'];_0x2024d0&&_0x5607de instanceof exports[_0x4dfafa(0x32d)]&&(this[_0x4dfafa(0x2fb)](),this[_0x4dfafa(0x43e)](_0x5607de[_0x4dfafa(0x29b)]()),this[_0x4dfafa(0x386)]());}async[_0x4dad21(0x325)](){return new Promise(_0x10e08d=>{var _0x557a1c=_0x5c5f;this[_0x557a1c(0x121)][_0x557a1c(0x1d4)][_0x557a1c(0x3f9)](j['take'](0x1))[_0x557a1c(0x258)](async _0x443bc2=>{var _0x9b754a=_0x557a1c;_0x10e08d(await this[_0x9b754a(0x46e)](_0x443bc2===se[_0x9b754a(0x372)]));});});}[_0x4dad21(0x46c)](){var _0x39e00d=_0x4dad21;const _0x4f24bf=this[_0x39e00d(0x2e6)];return{'onStateChange':(_0x37dc7c,_0x3fca5f)=>{var _0x4be932=_0x39e00d;if(_0x37dc7c!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x37dc7c[_0x4be932(0x353)]+_0x4be932(0x324)+_0x3fca5f[_0x4be932(0x353)]+'\x0aCurrent:\x20'+this['_state'][_0x4be932(0x353)]);this[_0x4be932(0x43e)](_0x3fca5f);},'onSendChangeset':_0x4fa406=>{var _0x693085=_0x39e00d;_0x4fa406['sid']||(_0x4fa406[_0x693085(0x27a)]=this['_changesetSessionId'],_0x4fa406[_0x693085(0x3ff)]=++this[_0x693085(0x240)]);const _0x5b04f0={'eventID':g[_0x693085(0x13b)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x4fa406[_0x693085(0x2e6)],'unitType':this['_type'],'changeset':_0x4fa406,'memberID':this[_0x693085(0x121)][_0x693085(0x174)]()}};this[_0x693085(0x121)][_0x693085(0x318)](_0x5b04f0,this[_0x693085(0x2e6)]);},'onMissingChangesets':({from:_0x161c0e,to:_0x4570b5})=>{var _0x36b26d=_0x39e00d;this[_0x36b26d(0x301)]['debug'](_0x36b26d(0x16c),'fetching\x20missing\x20changesets\x20from\x20'+_0x161c0e+_0x36b26d(0x21e)+_0x4570b5);const _0x508ecd={'eventID':g['CollaborationEvent'][_0x36b26d(0x414)],'data':{'unitID':_0x4f24bf,'unitType':this[_0x36b26d(0x44a)],'from':_0x161c0e,'to':_0x4570b5}};this[_0x36b26d(0x121)][_0x36b26d(0x318)](_0x508ecd,this['unitID']);}};}async[_0x4dad21(0x46e)](_0x1b757f){var _0x39e736=_0x4dad21,_0x36f602,_0x2fe4cc,_0x16fc8;const _0x2ef375=await((_0x36f602=this[_0x39e736(0x128)])==null?void 0x0:_0x36f602[_0x39e736(0x1e9)](this['unitID'])),_0xb764d7=(_0x2fe4cc=_0x2ef375==null?void 0x0:_0x2ef375['mutations'])!=null?_0x2fe4cc:[],_0x2ee38d=(_0x16fc8=_0x2ef375==null?void 0x0:_0x2ef375[_0x39e736(0x3a2)])!=null?_0x16fc8:null,_0x529533=!!(_0x2ee38d!=null&&_0x2ee38d['sid'])&&!!(_0x2ee38d!=null&&_0x2ee38d[_0x39e736(0x3ff)]);this[_0x39e736(0x179)]=_0x529533?_0x2ee38d['sid']:di(),this['_changesetReqId']=_0x529533?_0x2ee38d[_0x39e736(0x3ff)]:0x0;const _0x209be5=this[_0x39e736(0x2e6)];try{this[_0x39e736(0x162)](_0x2ee38d,_0xb764d7);}catch(_0x5e9e55){this[_0x39e736(0x301)][_0x39e736(0x30b)](_0x5e9e55);}const _0x5ca2ce=this[_0x39e736(0x46c)]();if(_0x1b757f){const _0x244bbf=Dt(this[_0x39e736(0x3e6)],_0x209be5,this[_0x39e736(0x44a)],_0x2ee38d,_0xb764d7,_0x5ca2ce);return _0x244bbf instanceof exports[_0x39e736(0x3c8)]?_0x244bbf['_schedule']():(_0x244bbf instanceof exports[_0x39e736(0x15b)]||_0x244bbf instanceof exports[_0x39e736(0x1a4)])&&_0x244bbf[_0x39e736(0x465)](),_0x244bbf;}return this[_0x39e736(0x3e6)][_0x39e736(0x356)](exports[_0x39e736(0x31f)],_0x209be5,this[_0x39e736(0x44a)],_0x2ee38d,_0xb764d7,_0x5ca2ce);}['_replayCachedMutations'](_0x22c9a4,_0x55690c){var _0x367321=_0x4dad21,_0x273e75,_0x43d6ad;const _0x7c25f2=this[_0x367321(0x25f)][_0x367321(0x212)][_0x367321(0x35d)](this[_0x367321(0x25f)][_0x367321(0x212)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x273e75=_0x7c25f2((_0x22c9a4==null?void 0x0:_0x22c9a4[_0x367321(0x2d8)])||[],null))==null||_0x273e75[_0x367321(0x360)](_0xe59098=>this[_0x367321(0x36b)][_0x367321(0x388)](_0xe59098['id'],_0xe59098['params'])),(_0x43d6ad=_0x7c25f2(_0x55690c||[],null))==null||_0x43d6ad['forEach'](_0x129e26=>this[_0x367321(0x36b)][_0x367321(0x388)](_0x129e26['id'],_0x129e26[_0x367321(0x11d)]));}},exports['CollaborationEntity']=Ge([$(0x3,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),$(0x4,a[_0x4dad21(0x438)](g[_0x4dad21(0x271)])),$(0x5,a[_0x4dad21(0x438)](a[_0x4dad21(0x26a)])),$(0x6,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),$(0x7,a[_0x4dad21(0x438)](te)),$(0x8,a[_0x4dad21(0x444)]),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a[_0x4dad21(0x120)](ve)),$(0xc,a[_0x4dad21(0x120)](z))],exports['CollaborationEntity']),exports[_0x4dad21(0x455)]=class extends exports['CollaborationEntity']{constructor(_0x2d3c3f,_0x35a8f8,_0x210f13,_0x34a7d1,_0x460fc0,_0x7e17b2,_0x3b1cd8,_0x22d3c6,_0x52b502,_0x22b618,_0x42f63c,_0x5eebb8,_0x2f779d){var _0x109d9a=_0x4dad21;super(_0x2d3c3f,_0x210f13,_0x35a8f8,_0x34a7d1,_0x460fc0,_0x7e17b2,_0x3b1cd8,_0x22d3c6,_0x52b502,_0x22b618,_0x42f63c,_0x5eebb8,_0x2f779d),P(this,_0x109d9a(0x126),null),(this['unitID']=_0x2d3c3f,this[_0x109d9a(0x2e8)]=_0x35a8f8);}[_0x4dad21(0x19e)](_0x480e5f){var _0x2fbfd1=_0x4dad21;this[_0x2fbfd1(0x126)]=_0x480e5f;}[_0x4dad21(0x12d)](){var _0x46a2e2=_0x4dad21;this[_0x46a2e2(0x126)]=null,super[_0x46a2e2(0x12d)]();}[_0x4dad21(0x46c)](){var _0x577649=_0x4dad21;const _0x4b1a03=super[_0x577649(0x46c)]();return _0x4b1a03['onTransformIME']=_0x595211=>{var _0x1f66e1=_0x577649,_0x195640,_0x2a3f6c;return(_0x2a3f6c=(_0x195640=this['_handlerCallback'])==null?void 0x0:_0x195640['onTransformIME'])==null?void 0x0:_0x2a3f6c[_0x1f66e1(0x148)](_0x195640,_0x595211);},_0x4b1a03[_0x577649(0x2e7)]=_0x434da7=>{var _0x4360fe=_0x577649,_0x502808,_0x374099;return(_0x374099=(_0x502808=this[_0x4360fe(0x126)])==null?void 0x0:_0x502808[_0x4360fe(0x2e7)])==null?void 0x0:_0x374099[_0x4360fe(0x148)](_0x502808,_0x434da7);},_0x4b1a03['onTransformSelections']=_0x23dd25=>{var _0x3dd799=_0x577649,_0x2ec25f,_0x99e4dc;return(_0x99e4dc=(_0x2ec25f=this[_0x3dd799(0x126)])==null?void 0x0:_0x2ec25f['onTransformSelections'])==null?void 0x0:_0x99e4dc[_0x3dd799(0x148)](_0x2ec25f,_0x23dd25);},_0x4b1a03['onSyncEditingCollabCursor']=_0x4b92b6=>{var _0x3e707a=_0x577649,_0x1a2b28,_0x2b4cec;return(_0x2b4cec=(_0x1a2b28=this['_handlerCallback'])==null?void 0x0:_0x1a2b28[_0x3e707a(0x451)])==null?void 0x0:_0x2b4cec['call'](_0x1a2b28,_0x4b92b6);},_0x4b1a03[_0x577649(0x2d7)]=_0x5d3fc8=>{var _0xe96bbb=_0x577649,_0x2cbf42,_0x43eaef,_0x4e095b;if(!((_0x2cbf42=this[_0xe96bbb(0x126)])!=null&&_0x2cbf42[_0xe96bbb(0x2d7)]))throw new Error(_0xe96bbb(0x3a5));return(_0x4e095b=(_0x43eaef=this[_0xe96bbb(0x126)])==null?void 0x0:_0x43eaef['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4e095b[_0xe96bbb(0x148)](_0x43eaef,_0x5d3fc8);},_0x4b1a03['onTransformRemoteChangesetByStateCache']=_0x26fd67=>{var _0x41c07f=_0x577649,_0x3ac3ce,_0x44089e,_0x432ebf;if(!((_0x3ac3ce=this[_0x41c07f(0x126)])!=null&&_0x3ac3ce[_0x41c07f(0x3ac)]))throw new Error(_0x41c07f(0x469));return(_0x432ebf=(_0x44089e=this[_0x41c07f(0x126)])==null?void 0x0:_0x44089e[_0x41c07f(0x3ac)])==null?void 0x0:_0x432ebf[_0x41c07f(0x148)](_0x44089e,_0x26fd67);},_0x4b1a03;}async[_0x4dad21(0x303)](){var _0x4d62ec=_0x4dad21;const _0x55b3d6=await super[_0x4d62ec(0x303)]();return this['disposeWithMe'](this[_0x4d62ec(0x36b)][_0x4d62ec(0x104)]((_0x214209,_0x395276)=>{var _0x50327b=_0x4d62ec;if(_0x214209[_0x50327b(0x2e8)]!==a['CommandType'][_0x50327b(0x3b8)]||_0x395276!=null&&_0x395276[_0x50327b(0x342)]||_0x395276!=null&&_0x395276[_0x50327b(0x141)]||_0x214209['id']===ut[_0x50327b(0x230)]['id'])return;const _0xf2b2d7=_0x214209[_0x50327b(0x11d)];if((_0xf2b2d7==null?void 0x0:_0xf2b2d7[_0x50327b(0x177)])!==this[_0x50327b(0x2e6)])return;const _0x45f7a2=_0x214209,_0x1f6d7e=this[_0x50327b(0x25f)]['interceptor'][_0x50327b(0x35d)](this[_0x50327b(0x25f)]['interceptor'][_0x50327b(0x1d3)]()[_0x50327b(0x23b)])([_0x45f7a2],null)||[_0x45f7a2];this[_0x50327b(0x27f)](_0x1f6d7e[0x0]);})),_0x55b3d6;}},exports['DocCollaborationEntity']=Ge([$(0x3,a[_0x4dad21(0x438)](a['Injector'])),$(0x4,a[_0x4dad21(0x438)](g[_0x4dad21(0x271)])),$(0x5,a[_0x4dad21(0x438)](a[_0x4dad21(0x26a)])),$(0x6,a[_0x4dad21(0x438)](g[_0x4dad21(0x474)])),$(0x7,a[_0x4dad21(0x438)](te)),$(0x8,a[_0x4dad21(0x444)]),$(0x9,a[_0x4dad21(0x3e4)]),$(0xa,a[_0x4dad21(0x3c7)]),$(0xb,a[_0x4dad21(0x120)](ve)),$(0xc,a['Optional'](z))],exports[_0x4dad21(0x455)]),exports['SheetCollaborationEntity']=class extends exports[_0x4dad21(0x20a)]{constructor(_0x278f31,_0x26277c,_0x4da707,_0x57c64b,_0xf292e0,_0x2d98d9,_0xf17568,_0x363485,_0x1619ec,_0xeacd0d,_0x4a495f,_0x22ef66,_0x4c3681,_0x4248b6){var _0x27b769=_0x4dad21;super(_0x278f31,_0x4da707,_0x26277c,_0x57c64b,_0xf292e0,_0x2d98d9,_0xf17568,_0x1619ec,_0xeacd0d,_0x4a495f,_0x22ef66,_0x4c3681,_0x4248b6),this[_0x27b769(0x2e6)]=_0x278f31,this['type']=_0x26277c,this[_0x27b769(0x398)]=_0x363485;}[_0x4dad21(0x46c)](){var _0x4bd377=_0x4dad21;const _0x644c70=super['_createHandler']();return _0x644c70[_0x4bd377(0x2f5)]=_0x2bcb12=>this[_0x4bd377(0x398)][_0x4bd377(0x392)](_0x2bcb12),_0x644c70;}async[_0x4dad21(0x303)](){var _0x5df258=_0x4dad21;const _0xca9211=await super[_0x5df258(0x303)]();return this[_0x5df258(0x34c)](this[_0x5df258(0x36b)][_0x5df258(0x104)]((_0x5bfb9f,_0x41d10a)=>{var _0x51332e=_0x5df258;if(_0x5bfb9f[_0x51332e(0x2e8)]!==a[_0x51332e(0x3bf)][_0x51332e(0x3b8)]||_0x41d10a!=null&&_0x41d10a[_0x51332e(0x342)]||_0x41d10a!=null&&_0x41d10a[_0x51332e(0x141)])return;const _0x3a3f6d=_0x5bfb9f['params'];if((_0x3a3f6d==null?void 0x0:_0x3a3f6d['unitId'])!==this[_0x51332e(0x2e6)])return;const _0x58e470=_0x5bfb9f,_0x11f3a9=this[_0x51332e(0x25f)]['interceptor'][_0x51332e(0x35d)](this['_compressMutationService'][_0x51332e(0x212)][_0x51332e(0x1d3)]()[_0x51332e(0x23b)])([_0x58e470],null)||[_0x58e470];this[_0x51332e(0x27f)](_0x11f3a9[0x0]);})),_0xca9211;}},exports['SheetCollaborationEntity']=Ge([$(0x3,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x4dad21(0x438)](a[_0x4dad21(0x26a)])),$(0x6,a['Inject'](g[_0x4dad21(0x474)])),$(0x7,a[_0x4dad21(0x438)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x4dad21(0x438)](te)),$(0x9,a['ILogService']),$(0xa,a['ICommandService']),$(0xb,a['IPermissionService']),$(0xc,a['Optional'](ve)),$(0xd,a[_0x4dad21(0x120)](z))],exports[_0x4dad21(0x436)]);var Ti=Object[_0x4dad21(0x10f)],bi=(_0x492ad3,_0x13611f,_0x177f88,_0x522c8d)=>{var _0x1f391d=_0x4dad21;for(var _0xa354a4=_0x522c8d>0x1?void 0x0:_0x522c8d?Ti(_0x13611f,_0x177f88):_0x13611f,_0x4c3112=_0x492ad3[_0x1f391d(0x29e)]-0x1,_0x395182;_0x4c3112>=0x0;_0x4c3112--)(_0x395182=_0x492ad3[_0x4c3112])&&(_0xa354a4=_0x395182(_0xa354a4)||_0xa354a4);return _0xa354a4;},Ae=(_0x36f4ff,_0xedac72)=>(_0x16c123,_0x4f7728)=>_0xedac72(_0x16c123,_0x4f7728,_0x36f4ff);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x5b0e5e,_0x7ea0fd,_0x59902d){var _0x30f7f5=_0x4dad21;super(),P(this,_0x30f7f5(0x21b),new Map()),P(this,_0x30f7f5(0x40c),new j['Subject']()),P(this,_0x30f7f5(0x35f),this[_0x30f7f5(0x40c)]['asObservable']()),(this[_0x30f7f5(0x3e6)]=_0x5b0e5e,this[_0x30f7f5(0x29a)]=_0x7ea0fd,this[_0x30f7f5(0x3a8)]=_0x59902d,this['_init']());}[_0x4dad21(0x12d)](){var _0x2a7db5=_0x4dad21;super[_0x2a7db5(0x12d)](),this[_0x2a7db5(0x21b)][_0x2a7db5(0x360)](_0x4da101=>_0x4da101['dispose']()),this[_0x2a7db5(0x21b)][_0x2a7db5(0x27e)]();}[_0x4dad21(0x1e1)](_0x3ec02f){var _0x52d999=_0x4dad21,_0x4cbffe;return(_0x4cbffe=this[_0x52d999(0x21b)][_0x52d999(0x1a1)](_0x3ec02f))!=null?_0x4cbffe:null;}['getCollabEntity$'](_0x1110a0){var _0x4074d3=_0x4dad21;const _0x235a3f=this[_0x4074d3(0x1e1)](_0x1110a0);return _0x235a3f?j['of'](_0x235a3f):this[_0x4074d3(0x40c)][_0x4074d3(0x3f9)](W[_0x4074d3(0x339)](_0x68f3b6=>_0x68f3b6[_0x4074d3(0x2e6)]===_0x1110a0));}[_0x4dad21(0x45d)](_0x374d2f){var _0x45a594=_0x4dad21;return j['firstValueFrom'](this['getCollabEntity$'](_0x374d2f)[_0x45a594(0x3f9)](W[_0x45a594(0x3d1)](()=>{})));}[_0x4dad21(0x303)](){var _0x2c32c7=_0x4dad21;this[_0x2c32c7(0x3a8)]['getTypeOfUnitAdded$'](a[_0x2c32c7(0x2c8)][_0x2c32c7(0x40a)])[_0x2c32c7(0x3f9)](j[_0x2c32c7(0x203)](this[_0x2c32c7(0x23a)]),W[_0x2c32c7(0x256)](0x10))['subscribe'](async _0x543d05=>{var _0x4974f3=_0x2c32c7;const _0x4869db=_0x543d05[_0x4974f3(0x3d2)](),_0x5bb7a6=await this['_startCollaboration'](_0x4869db,X[_0x4974f3(0x40a)]);this[_0x4974f3(0x21b)][_0x4974f3(0x358)](_0x4869db,_0x5bb7a6);}),this[_0x2c32c7(0x3a8)][_0x2c32c7(0x406)](a[_0x2c32c7(0x2c8)][_0x2c32c7(0x2d2)])[_0x2c32c7(0x3f9)](j[_0x2c32c7(0x203)](this['dispose$']),W['delay'](0x10))[_0x2c32c7(0x3f9)](W[_0x2c32c7(0x339)](_0x2c1c54=>!_0x2c1c54['getUnitId']()[_0x2c32c7(0x467)]('__')))[_0x2c32c7(0x258)](async _0x4a84e3=>{var _0x74f085=_0x2c32c7;const _0x18c06e=_0x4a84e3[_0x74f085(0x3d2)](),_0x1e45d6=await this[_0x74f085(0x323)](_0x18c06e,X[_0x74f085(0x2d2)]);this[_0x74f085(0x21b)]['set'](_0x18c06e,_0x1e45d6);}),j[_0x2c32c7(0x269)](this[_0x2c32c7(0x3a8)][_0x2c32c7(0x1e6)](a[_0x2c32c7(0x2c8)]['UNIVER_SHEET']),this[_0x2c32c7(0x3a8)][_0x2c32c7(0x1e6)](a[_0x2c32c7(0x2c8)][_0x2c32c7(0x2d2)]))['pipe'](j[_0x2c32c7(0x203)](this[_0x2c32c7(0x23a)]))[_0x2c32c7(0x258)](_0x8a7a59=>{var _0x19c26e=_0x2c32c7;const _0x2d874b=_0x8a7a59[_0x19c26e(0x3d2)](),_0x25a3e0=this[_0x19c26e(0x21b)][_0x19c26e(0x1a1)](_0x2d874b);_0x25a3e0&&(_0x25a3e0[_0x19c26e(0x12d)](),this[_0x19c26e(0x21b)][_0x19c26e(0x193)](_0x2d874b));});}async[_0x4dad21(0x323)](_0x40b4e0,_0x1cfaf1){var _0x89e174=_0x4dad21;const _0x973b86=await this['_collabSessionService'][_0x89e174(0x1f8)](_0x40b4e0),_0x1efef9=this[_0x89e174(0x3e6)][_0x89e174(0x356)](this[_0x89e174(0x112)](_0x1cfaf1),_0x40b4e0,_0x1cfaf1,_0x973b86);return await _0x1efef9[_0x89e174(0x45a)](),this[_0x89e174(0x40c)][_0x89e174(0x26e)](_0x1efef9),_0x1efef9;}[_0x4dad21(0x112)](_0x4f5830){var _0x4f2459=_0x4dad21;switch(_0x4f5830){case X[_0x4f2459(0x2d2)]:return exports[_0x4f2459(0x455)];case X[_0x4f2459(0x40a)]:return exports[_0x4f2459(0x436)];default:throw new Error(_0x4f2459(0x335)+_0x4f5830);}}},exports[_0x4dad21(0x29c)]=bi([Ae(0x0,a[_0x4dad21(0x438)](a['Injector'])),Ae(0x1,a['Inject'](exports[_0x4dad21(0x295)])),Ae(0x2,a['IUniverInstanceService'])],exports[_0x4dad21(0x29c)]);var Ri=Object[_0x4dad21(0x10f)],yi=(_0x5fb2ea,_0x7c59c8,_0xb9b84,_0x5e7604)=>{var _0x4bada1=_0x4dad21;for(var _0xf762c8=_0x5e7604>0x1?void 0x0:_0x5e7604?Ri(_0x7c59c8,_0xb9b84):_0x7c59c8,_0x3e371=_0x5fb2ea[_0x4bada1(0x29e)]-0x1,_0x5eaae3;_0x3e371>=0x0;_0x3e371--)(_0x5eaae3=_0x5fb2ea[_0x3e371])&&(_0xf762c8=_0x5eaae3(_0xf762c8)||_0xf762c8);return _0xf762c8;},Je=(_0x2fb28e,_0x536077)=>(_0x469bd3,_0x326929)=>_0x536077(_0x469bd3,_0x326929,_0x2fb28e);const Oi=_0x4dad21(0x170),Ni=_0x4dad21(0x241);let He=class extends a[_0x4dad21(0x235)]{constructor(_0x474521,_0x554ead){var _0x244ec3=_0x4dad21;super(),this['_univerInstanceService']=_0x474521,this[_0x244ec3(0x152)]=_0x554ead,this['_init']();}[_0x4dad21(0x303)](){var _0x1ec156=_0x4dad21;this[_0x1ec156(0x34c)](this[_0x1ec156(0x3a8)][_0x1ec156(0x1bd)]['subscribe'](()=>{var _0x47652c=_0x1ec156,_0x1bff16;const _0x2e1bee=this[_0x47652c(0x3a8)][_0x47652c(0x34b)]();let _0x43b6fb=(_0x1bff16=this['_configService'][_0x47652c(0x42e)](Oi))!=null?_0x1bff16:Ni;_0x2e1bee instanceof a[_0x47652c(0x232)]&&(_0x43b6fb=_0x2e1bee[_0x47652c(0x2d9)]),document[_0x47652c(0x125)]=_0x43b6fb;}));}};He=yi([Je(0x0,a[_0x4dad21(0x13f)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x4dad21(0x10f)],Ui=(_0x2d886e,_0x352262,_0x3ac786,_0x48d078)=>{var _0x3d104b=_0x4dad21;for(var _0x4ba2b7=_0x48d078>0x1?void 0x0:_0x48d078?Di(_0x352262,_0x3ac786):_0x352262,_0x5ba6c2=_0x2d886e[_0x3d104b(0x29e)]-0x1,_0x4a3ee3;_0x5ba6c2>=0x0;_0x5ba6c2--)(_0x4a3ee3=_0x2d886e[_0x5ba6c2])&&(_0x4ba2b7=_0x4a3ee3(_0x4ba2b7)||_0x4ba2b7);return _0x4ba2b7;},we=(_0x368170,_0x3404da)=>(_0x109880,_0x28d36c)=>_0x3404da(_0x109880,_0x28d36c,_0x368170);let Oe=class{constructor(_0x634003,_0x340144,_0x4bbe46){var _0x3cc653=_0x4dad21;this[_0x3cc653(0x152)]=_0x634003,this[_0x3cc653(0x1ea)]=_0x340144,this['localeService']=_0x4bbe46,this['init']();}['init'](){var _0x988573=_0x4dad21;this[_0x988573(0x1ea)][_0x988573(0x367)]({'priority':0x1,'interceptor':(_0x3c027c,_0x5a18b1)=>_0x5a18b1(_0x3c027c)[_0x988573(0x3f9)](j[_0x988573(0x2f8)](async _0x2cef2c=>{var _0x2d48c4=_0x988573;const _0x2fc0be=_0x2cef2c;if(_0x2fc0be[_0x2d48c4(0x353)]===0x191){if(typeof window>'u')throw new Error(_0x2d48c4(0x21f));if(window[_0x2d48c4(0x273)](this['localeService']['t'](_0x2d48c4(0x2ed)))){const _0xf2e994=window[_0x2d48c4(0x2ee)](window['location']['href']);window[_0x2d48c4(0x1b5)][_0x2d48c4(0x1a0)]=this['_getLoginPath']()+_0x2d48c4(0x14b)+_0xf2e994;}}return _0x2fc0be;}))});}[_0x4dad21(0x25a)](){var _0x258fcf=_0x4dad21,_0x2e3f22,_0x4981fa;const _0x56c645=this[_0x258fcf(0x152)][_0x258fcf(0x42e)](Et),_0x9bf0c0=this[_0x258fcf(0x152)][_0x258fcf(0x42e)](Y);return(_0x4981fa=(_0x2e3f22=_0x9bf0c0==null?void 0x0:_0x9bf0c0[_0x258fcf(0x3ed)])!=null?_0x2e3f22:_0x56c645)!=null?_0x4981fa:Yt;}};Oe=Ui([we(0x0,a[_0x4dad21(0x431)]),we(0x1,a[_0x4dad21(0x438)](q[_0x4dad21(0x1cf)])),we(0x2,a[_0x4dad21(0x438)](a[_0x4dad21(0x26a)]))],Oe);var Pi=Object[_0x4dad21(0x10f)],Ai=(_0x578a73,_0x586f9a,_0x3a7080,_0x33e8b7)=>{var _0x47366a=_0x4dad21;for(var _0x435d77=_0x33e8b7>0x1?void 0x0:_0x33e8b7?Pi(_0x586f9a,_0x3a7080):_0x586f9a,_0x59c8df=_0x578a73[_0x47366a(0x29e)]-0x1,_0x3963a6;_0x59c8df>=0x0;_0x59c8df--)(_0x3963a6=_0x578a73[_0x59c8df])&&(_0x435d77=_0x3963a6(_0x435d77)||_0x435d77);return _0x435d77;},Xe=(_0x603efb,_0xc73399)=>(_0x4fb53f,_0x178a49)=>_0xc73399(_0x4fb53f,_0x178a49,_0x603efb);function _0x2166(){var _0x5058cb=['members','UserManagerService','LIVESHARE_OPERATION','pipe','[PendingState]:\x20received\x20rejection.','UnitStatus','_keySchedule','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','ISocketService','reqId','reduce','saveChangeset','_doCreateSocket','HEARTBEAT_TIMEOUT_KEY','SHA1','JOIN_ROOM_PERMISSION_DENIED','getTypeOfUnitAdded$','workbook','_getUndoStack','processBlock','UNIVER_SHEET','change$','_entityInit$','_schedule','_onJoinRoomEvent','updatePermissionPoint','OFFLINE','isTransformMutationsWithChangesetSuccess','_initRequestHeader','joinRsp','FETCH_MISSING','byteLength','initWorkbookPermissionChange','listRoles','_tryReconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','&assign=','failed\x20to\x20apply\x20missed\x20changesets!','randomBytes','onMissedChangesetFetched','_members$','onRemoteRej','unitId\x20is\x20not\x20found','NO_OTHER_CLIENTS_EDITING','values','every','CipherParams','eventID','mapDocumentTypeToUniverType','_getSendChangesetTimeout','blockSize','IUndoRedoService','result','/unit/','_members','Error\x20on\x20receiving\x20event','getConfig','loadDoc','_getCurrentRevision','IConfigService','BehaviorSubject','PERMISSION_DENIED','_redoStacks','uploadFileServerUrl','SheetCollaborationEntity','localCacheService','Inject','ENSURE_SNAPSHOT_EXECUTION','USERS_ENTER','image/jpg','commentUpdateEvent','_state$','_updateState','LIVESHARE_TERMINATE','_nRounds','_listenToNetworkCondition','MergeInterceptorFactory','_DEC_XFORM_MODE','ILogService','_resendWithTimeout','getTime','_sessionStatus$','mixIn','encode','_type','target','find','11754680HbaXys','getCurrentUser','AWAITING_WITH_PENDING','encrypt','onSyncEditingCollabCursor','COMMENT_UPDATE','collaboratorID','IImageIoService','DocCollaborationEntity','awaiting_with_pending','_revisionService','LIVESHARE_REQUEST_HOST','getUnitType','init','RECV','Cipher','readyForCollab','image/gif','__esModule','closeSession','COLLAB_SUBMIT_CHANGESET_URL','_roomCreated$','_onOffline','_clearUndo','resend','AES','startsWith','MentionType','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','MSG_FOR_ERROR','PERMISSION_REJ','_createHandler','open$','_createInitialStateImpl','_createHmacHelper','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_handler','toggleOffline','Decryptor','RevisionService','headers','transformUndoRedo','SEND_CHANGESET_TIMEOUT_KEY','src','[CollaborationState]:\x20apply\x20error!','?size=','_createHelper','onTransformIME','COLLAB_SUBMIT_CHANGESET_URL_KEY','onCommandExecuted','mergeOverrideWithDependencies','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_loadSheet','UNIVER_SLIDE','create','APPLY_DUPLICATED','toString','_resendTimeout','_commentUpdate$','getOwnPropertyDescriptor','[CollaborationUndoRedoService]','mode','_getCtorByUniverType','createEncryptor','_retryConnectingTimer','emitEvent','/object','_networkConditionService','_iv','IAuthzIoService','PY_RUNTIME_SCRIPT_ERROR','BlockCipherMode','_collaborationSessionService','params','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cfg','Optional','session','Quantity','$super','routeKey','title','_handlerCallback','join','_localCacheService','clamp','getGlobalObject','OTHER_CLIENTS_EDITING','getDeserializedSheetBlock','dispose','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','complete','incrementRevOfUnit','SHOULD_CLOSE_CONN','_transitionLocked','[CollaborationSession]','shareReplay','_onConnectionFailed','onStarting','HMAC','x-univer-host','unpad','Could\x20not\x20dynamically\x20require\x20\x22','CollaborationEvent','_doCryptBlock','_scheduleCompleteTimestamp','onRemoteChangeset','IUniverInstanceService','changesets','onlyLocal','LIVESHARE_FETCH_OPERATIONS','getLocalCacheKey','WorkbookEditablePermission','push','_eventService','serializeCombRequest','call','kdf','_onCombEvent','?url=','UNIVER_UNKNOWN','putCollaborators','Base','_onRecvEvent','COLLAB_WEB_SOCKET_URL','_submitChangeset','_configService','enableOfflineEditing','_mode','createIdentifier','HmacMD5','_getUploadFileURL','YUUMI_UNABLE_LOAD_URL','OpenSSL','/rev/','AwaitingWithPendingState','_hash','UPDATE_CURSOR','UNKNOWN_CMD','getSnapshotAPIPath','splice','/universer-api/comb','_replayCachedMutations','fromCharCode','editingUnit','NOT_FOUND','readInt32LE','/-/object/-/batch_allowed','updateCollaborator','getLatestCsReqIdBySid','/universer-api/user/session-ticket','SNAPSHOT_SERVER_URL_KEY','[CollaborationEntity]','IMentionIOService','data','abs','DEFAULT_FILE_NAME','_telemetryInfo','/block/','__creator','getMemberID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getAPIPrefix','unitId','PSEUDO_FETCH_MISSING_RESULT','_changesetSessionId','@univerjs/core','enableSingleActiveInstanceLock','method','sin','186AnCXLD','readAsDataURL','_transformStack','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SheetPermissionInitController','hasher','UNIVER_PROJECT','_minBufferSize','/new_changes','LEAVE','HELLO','_rescheduleHeartbeat','@univerjs/drawing','&to=','Injector','_onUserJoin','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','substr','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformUndoredo','synced','delete','Utf8','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-pro.collaboration-client.single-active-unit-service','INetworkConditionService','state','getUnit','Subject','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/object/','take','addHandlerCallback','_isPermissionRej','href','get','SYNCED','socket\x20open.','AwaitingState','roomInfos','clone','BufferedBlockAlgorithm','requestParams','getImageSourceCache','MD5','_onRemoteRetry','_applyRemoteChangeset','deserializeToCombResponse','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_stopTelemetryCollaborationNewChangeset','withCredentials','_initMergeInterceptor','_toggleOnline','InsertSheetMutation','_nDataBytes','location','Encryptor','UniverCollaborationClientPlugin','isArray','@univerjs/sheets','DataLoaderService','toLowerCase','pending','focused$','_undoStacks','csRejEvent','_awaitingChangeset','_transformSelections','IContextService','image/png','snapshotServerUrl','SetSelectionsOperation','ILocalCacheService','_pendingMutations','url','UPDATE_PERMISSION_OBJ','getImage','_doFinalize','DisposableCollection','_invKeySchedule','cmd','HTTPService','/role','POST','_unitID','getInterceptPoints','sessionStatus$','CHANGESET_REJ','getAllMembers','_candidateSocket','onRemoteRetry','Tools','offline','editing\x20status\x20changed\x20to','CHANGESET_REVISION_CONFILICT','HttpExport','formatter','4154346SoKxKv','rev','getCollabEntity','csShouldRetryEvent','collaboration-client.local-cache-service','_toggleOffline','_sendHeartbeatTimer','getTypeOfUnitDisposed$','image/jpeg','isTransformMutationsWithChangesetFailure','loadOfflineData','_httpService','EmptyMutation','_data','UUID','[OfflineState]:\x20received\x20changeset.','3223540AoDiKq','updateOfflineData','&source=','_permissionService','[FetchMissState]','ConflictState','_append','pluginName','PasswordBasedCipher','requireSession','People','action','liveShareOperation','/universer-api/snapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getMember','bind','sequenceExecute','UNDEFINED','_clearScheduledTask','takeUntil','_roomMembers','keySize','_executeRemoteChangeset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','isInternalEditorID','parseProtocolChangeset','CollaborationEntity','retryConnectingInterval','SEND_CHANGESET_TIMEOUT','RETRY_CONNECTING_MAX_COUNT','ciphertext','_replaceFileID','execute','RxDisposable','interceptor','CHANGESET_ACK','objectType','sessionStatus','randomUUID','COMPLETION_FINISHED','ISnapshotServerService','CHANGESET_SHOULD_RETRY','_remoteChangesetQueue','_entities','IDLE','compute','\x20to\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_hasher','CONFLICT','unknown','_socketReady','crypto','_transformService','_keyPriorReset','max','decrypt','_snapshotService','update','string','defineProperty','objects','UNRECOGNIZED','YUUMI_URL_COL_OUT_OF_RANGE','RichTextEditingMutation','ALREADY_EXISTS','Workbook','awaiting','parse','Disposable','size','JSONX','copyFileMeta','UNIVER_COLLABORATION_CLIENT_PLUGIN','dispose$','COMPRESS_MUTATION_SEND','HEARTBEAT_INTERVAL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HmacSHA1','_changesetReqId','Univer','objectID','/collaborator','equals','OTHER_CLIENT_EDITING','_collaborationPaused','getCurrentRevOfUnit','refreshPermission','_config','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','BASE64','UnitEmbedded','CONNECTOR_DATA_TOO_LARGE','hasOwnProperty','_telemetryService','algo','updateCursorEvent','/-/object/list','add','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','delay','NOT_COLLAB','subscribe','encryptBlock','_getLoginPath','saveSheetBlock','COLLAB_WEB_SOCKET_URL_KEY','/allowed','_throwTelemetryCollaborationNewChangeset','_compressMutationService','JOIN_ROOM_FULL','JOINING','MemberService','apply','_HTTPService','_commentService','getRandomValues','_getSignURL','Pkcs7','merge','LocaleService','createDecryptor','LICENSE_EXPORT_SIZE_EXCEEDED','_joinRoom','next','22476BtnPOH','socket$','CompressMutationService','exports','confirm','words','LOCAL_CACHE_INTERVAL','3495392zxaAMt','SNAPSHOT_INVALID_SNAPSHOT','session.room-permission-denied','LICENSE_DISTRO_REJECTED','sid','_onUserLeave','AuthzIoHttpService','JOIN_ROOM_NOT_EXISTS','clear','_onLocalMutation','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteAck','_clearRedo','_onConflict','_queuedRemoteChangesets','_updateStatus','revision','prototype','close$','actions','_resendTimer','CollaborationImageIoService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','leaveEvent','@univerjs/docs','submit\x20changeset\x20error!','ThresholdInterceptorFactory','FetchingMissState','uniscriptRunEvent','[SyncedState]:\x20received\x20rejection.','status$','CollaborationSessionService','loadUnit','lib','INTERNAL_ERROR','AUTHZ_URL_KEY','_collabSessionService','fetchMiss','CollaborationController','onLocalMutation','length','_initUnitPermissionChange','@univerjs-pro/collaboration','waitForRoom$','textEncoder','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_RATE_OVER_LIMIT','fetchMissingChangesets','ICollaborationSocketService','enc','selections','[CollaborationSessionService]:\x20socket\x20error','UnitSnapshot','NoPadding','charCodeAt','FileId','univer-pro.collaboration-client-socket-service','SOCKET_FAILED_RETRY','c2Prime','PENDING','_socket$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SNAPSHOT_HAS_BEEN_REMOVED','LocalUndoRedoService','_scheduleCollaborationTimeoutTimer','debug','onMissingChangesets','_socketMessageSubscription','_socket','getWorkbookSelections','floor','INGEST','collabSubmitChangesetUrl','_oKey','salt','_sendingTimer','getCurrentSelections','csAckEvent','DependentOn','range','sendChangesetTimeout','_memberService','UniverInstanceType','min','transformChangesets','deleteCollaborator','state$','iterations','_change$','6473FuwHLm','_doProcessBlock','save\x20fail\x20reason\x20is\x20','UNIVER_DOC','reconnect','snapshot','post','message$','onTransformRemoteChangesetByIMECache','mutations','name','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','setConfig','includes','byteOffset','_userManagerService','_transformStateCache','_clearLocalCache','key','FAIL','OPTIONAL','[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.','subUnitId','unitID','onTransformState','type','batchAllowed','unsubscribe','_clearRetryConnectingTimer','SUBMIT_CHANGESET','auth.needGotoLoginAlert','encodeURIComponent','SNAPSHOT_URL_KEY','enableAuthServer','_onRemoteChangeset','msCrypto','_emitMembers','CollaborativeUndoRedoService','onTransformSelections','_state','appendMutation','concatMap','_onRemoteRejected','asObservable','_lockTransition','ceil','[OfflineState]:\x20received\x20rejection.','_onFetchMissResult','ivSize','_exhaustRemoteChangesetQueue','_logService','/universer-api/oidc/authpage','_init','62214LkbJpZ','updatePermissionObjEvent','pad','PERSON','capture','DEFAULT_WS_SESSION_TICKET_URL','stringify','error','_instanceService','LIVESHARE_NEW_HOST','HTTPRequest','resourceIDs','_prevBlock','_xformMode','4mBwRxB','_clearHeartbeatTimer','/universer-api/stream/file/upload','_loadDoc','setCurrentUser','_updateLocalCache','send','LOGIN_URL_KEY','transformMutationsWithChangeset','_localeService','collaboration_new_changeset','fetch_missing','setShowComponents','OfflineState','_waitForHeartbeatResponse','_status$','concat','_startCollaboration','\x0aAfter:\x20','_createInitialState','Hex','reset','ImageSourceType','memberID','_waitCount','HEARTBEAT','_sender','SyncedState','avatar','baseRev','UniverCollaborationPlugin','_socketService','socketService','_undoRedoService','collaborators','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','removeMember','disableLocalCache','JOIN','filter','_initCloseConn','onSendChangeset','default','NEW_CHANGESETS','LICENSE_MAX_UNITS_EXCEEDED','image/bmp','stopTime','list','fromCollab','_doReset','_sessions','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onRemoteACK','__Key__','UNISCRIPT_RUN','BlockCipher','SnapshotServerOverHTTPService','getFocusedUnit','disposeWithMe','padding','HttpImport','_parse','deepClone','MentionIoHttpService','format','status','createCollaborator','_transformRemoteChangesetByIMECache','createInstance','_sendHeartbeat','set','_createSocket','_syncEditingCollabCursor','random','_unitInfo$','fetchThroughInterceptors','slice','entityInit$','forEach','_retryCount','code','loadSheet','[PendingState]:\x20received\x20acknowledgement.','file','liveShareNewHost','registerHTTPInterceptor','[CollaborationSessionService]','now','catch','_commandService','toggleOnline','\x20-\x20','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','charAt','{fileID}','ONLINE','SheetTransformSelectionsService','[UniverCollaborationClientPlugin]','ERROR_EXCEED_SIZE','_imageSourceCache','_timeoutTimer','CollaborationSession','ISingleActiveUnitService','APPLY_REVISION_CONFILICT','createSocket','USERS_LEAVE','Undefined','signUrlServerUrl','_reverseMap','LICENSE_IMPORT_SIZE_EXCEEDED','allowed','updateMember','@univerjs/telemetry','EvpKDF','onCommentUpdate','_unlockTransition','_map','executeCommand','SerializableCipher','function','_clearCollaborationTimeoutTimer','HEARTBEAT_TIMEOUT','APPLY_REJECT','_decreaseWaiting','UNAUTHENTICATED','_event$','reject','transformSelections','_snapshotServerService','rxjs/operators','append','_substituteRedoStack','UNKNOWN_CODE','_sheetTransformSelectionsService','ITransformService','joinEvent','authzUrl','ERROR_IMAGE','_tryEnsureSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_COLLAB_WEB_SOCKET_URL','HEARTBEAT_INTERVAL','userID','awaitingChangeset','CollaborationStatus','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','extend','_univerInstanceService','_collaborationUIEventService','touchDependencies','sigBytes','onTransformRemoteChangesetByStateCache','_getDownloadEndpointURL','_showConflictNotification','rng','CLOSE_ROOM','session.room-not-exists','_fetchMissChangesets','_getAPIPrefixPath','_singleActiveUnitService','_shouldReportTelemetry','[DataLoaderService]','connection\x20error','MUTATION','WordArray','_checkMissing','c1Prime','_acknowledgedAwaitingChangeset','body','addImageSourceCache','CommandType','/universer-api/uniscript','_process','textRanges','SOCKET_FAILED','SheetsSelectionsService','originalMeta','sheets','IPermissionService','PendingState','finalize','Base64','isPermissionRej','_clearTimeoutTimer','put','Plugin','_registerDependencies','1442UmFAbU','map','getUnitId','event$','CommentService','rxjs','ImageUploadStatusType','downloadEndpointUrl','CollaborationSocketService','_onConnectionOpen','Hasher','_substituteUndoStack','ITelemetryService','APPLY_PERMISSION_DENIED','transformStack\x20failed!','_collaborationTimeoutTimer','_transformIMECache','isTransformChangesetsSuccess','permissionRejEvent','close','ICommandService','b64DecodeUnicode','_injector','toDisposable','_removeRoom','hostname','has','indexOf','SnapshotService','loginUrlKey','_key','responseType','compose','m2Prime','conflict','COMPRESS_MUTATION_APPLY','_incrementRevisionNumber','collabWebSocketUrl'];_0x2166=function(){return _0x5058cb;};return _0x2166();}const Ve='AUTHZ_URL_KEY',wi='/universer-api/authz';exports[_0x4dad21(0x27c)]=class extends a[_0x4dad21(0x235)]{constructor(_0x3e6ddc,_0x51f017){var _0x495f95=_0x4dad21;super(),this[_0x495f95(0x264)]=_0x3e6ddc,this[_0x495f95(0x152)]=_0x51f017,this[_0x495f95(0x1b1)]();}[_0x4dad21(0x1b1)](){var _0xb90d30=_0x4dad21;const _0x24a561=this;this[_0xb90d30(0x34c)](this[_0xb90d30(0x264)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0xb90d30(0x442)]({'isMatch'(_0x260f81){var _0x3a2b1c=_0xb90d30,_0xc9b8db;if(_0x260f81[_0x3a2b1c(0x17c)]==='POST'&&((_0xc9b8db=_0x260f81[_0x3a2b1c(0x1a8)])!=null&&_0xc9b8db[_0x3a2b1c(0x3bd)])){const {objectID:_0x1fadf1,objectType:_0x569234}=_0x260f81['requestParams'][_0x3a2b1c(0x3bd)]||{};if(!_0x1fadf1||_0x569234===void 0x0)return!0x1;const _0x3fc442=_0x24a561['_getAPIPrefixPath']()+'/'+_0x569234+_0x3a2b1c(0x19c)+_0x1fadf1+_0x3a2b1c(0x25d);if(_0x260f81[_0x3a2b1c(0x1c8)]===_0x3fc442)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c5b7b){var _0x4f9ec7=_0xb90d30,_0x1465a2;return(_0x1465a2=_0x5c5b7b[_0x4f9ec7(0x1a8)])==null?void 0x0:_0x1465a2[_0x4f9ec7(0x3bd)];},'mergeParamsToRequest'(_0x444bd2,_0x4cc98e){var _0x2e2d9c=_0xb90d30;const _0x451555=_0x24a561[_0x2e2d9c(0x3b3)]()+_0x2e2d9c(0x167),_0x3ecd3d=_0x444bd2[_0x2e2d9c(0x400)]((_0x31cf0c,_0x1c1c0e)=>{var _0x4bc1d6=_0x2e2d9c;const {unitID:_0x4214bb,objectID:_0x2a09f0,objectType:_0x16f230,actions:_0x288cce}=_0x1c1c0e;return _0x31cf0c[_0x4214bb]||(_0x31cf0c[_0x4214bb]={}),_0x31cf0c[_0x4214bb][_0x2a09f0]||(_0x31cf0c[_0x4214bb][_0x2a09f0]={'objectID':_0x2a09f0,'objectType':_0x16f230,'actions':[]}),_0x31cf0c[_0x4214bb][_0x2a09f0][_0x4bc1d6(0x289)][_0x4bc1d6(0x145)](..._0x288cce),_0x31cf0c;},{}),_0x405b30=[];for(const _0x3c286e in _0x3ecd3d)for(const _0x337e48 in _0x3ecd3d[_0x3c286e]){const {actions:_0x32a134,objectType:_0x407103}=_0x3ecd3d[_0x3c286e][_0x337e48],_0x3ac090=[...new Set(_0x32a134)];_0x405b30[_0x2e2d9c(0x145)]({'unitID':_0x3c286e,'objectID':_0x337e48,'objectType':_0x407103,'actions':_0x3ac090});}return new q[(_0x2e2d9c(0x30e))]('POST',_0x451555,{'headers':_0x4cc98e['headers'],'withCredentials':_0x4cc98e[_0x2e2d9c(0x1b0)],'responseType':_0x4cc98e[_0x2e2d9c(0x3ef)],'body':{'requests':_0x405b30}});}},{'distributeResult'(_0xe4bd93,_0x2fc0fd){const {objectActions:_0x52e77a}=_0xe4bd93;return _0x2fc0fd['map'](_0x4f407e=>{var _0x3b49a4=_0x5c5f;const {unitID:_0x25d250,objectID:_0xb6fb0c,actions:_0xa7c52}=_0x4f407e,_0x48b03b=_0x52e77a['find'](_0x383ee6=>_0x383ee6['unitID']===_0x25d250&&_0x383ee6['objectID']===_0xb6fb0c),_0x38fc09=_0xa7c52[_0x3b49a4(0x3d1)](_0xbe2a62=>_0x48b03b==null?void 0x0:_0x48b03b[_0x3b49a4(0x289)][_0x3b49a4(0x44c)](_0x27c6ef=>_0x27c6ef[_0x3b49a4(0x1fa)]===_0xbe2a62))['filter'](_0x2deab=>!!_0x2deab);return{'config':_0x4f407e,'result':{'actions':_0x38fc09,'error':_0xe4bd93['error']}};});}})}));}[_0x4dad21(0x3b3)](){var _0x424e5b=_0x4dad21,_0x59666b,_0x38789e;const _0x197358=this['_configService'][_0x424e5b(0x42e)](Ve),_0x22857e=this['_configService']['getConfig'](Y);return(_0x38789e=(_0x59666b=_0x22857e==null?void 0x0:_0x22857e['authzUrl'])!=null?_0x59666b:_0x197358)!=null?_0x38789e:wi;}async[_0x4dad21(0x10a)](_0x202149){var _0x209cda=_0x4dad21;const _0x1bd964=this['_getAPIPrefixPath']()+'/'+_0x202149[_0x209cda(0x214)]+_0x209cda(0x116);return(await this[_0x209cda(0x264)][_0x209cda(0x2d5)](_0x1bd964,{'body':_0x202149}))['body']['objectID']||'';}async[_0x4dad21(0x341)](_0x491623){var _0x346b10=_0x4dad21;const _0x49647e=this['_getAPIPrefixPath']()+_0x346b10(0x252);return(await this[_0x346b10(0x264)][_0x346b10(0x2d5)](_0x49647e,{'body':_0x491623}))['body'][_0x346b10(0x22d)];}async['update'](_0x7a3292){var _0x36da8d=_0x4dad21;const _0x3402bb=this['_getAPIPrefixPath']()+'/'+_0x7a3292[_0x36da8d(0x214)]+_0x36da8d(0x19c)+_0x7a3292[_0x36da8d(0x242)];await this[_0x36da8d(0x264)][_0x36da8d(0x3cd)](_0x3402bb,{'body':_0x7a3292});}async[_0x4dad21(0x381)](_0x118d97){var _0x1e2491=_0x4dad21;const _0x323da8=this['_getAPIPrefixPath']()+'/'+_0x118d97[_0x1e2491(0x214)]+_0x1e2491(0x19c)+_0x118d97[_0x1e2491(0x242)]+_0x1e2491(0x25d);return(await this[_0x1e2491(0x264)][_0x1e2491(0x2d5)](_0x323da8,{'body':_0x118d97}))['body'][_0x1e2491(0x289)];}async[_0x4dad21(0x2e9)](_0x381396){var _0x3fe362=_0x4dad21;const _0x708889=this[_0x3fe362(0x3b3)]()+'/-/object/-/batch_allowed';return(await this[_0x3fe362(0x264)][_0x3fe362(0x2d5)](_0x708889,{'body':{'requests':_0x381396}}))[_0x3fe362(0x3bd)]['objectActions'];}async[_0x4dad21(0x417)](_0x3e8281){var _0x362f95=_0x4dad21;const _0x2228c5=this[_0x362f95(0x3b3)]()+'/'+_0x3e8281['objectType']+_0x362f95(0x1d0),_0x5142d7=await this[_0x362f95(0x264)][_0x362f95(0x2d5)](_0x2228c5,{'body':_0x3e8281});return{'roles':_0x5142d7[_0x362f95(0x3bd)]['roles'],'actions':_0x5142d7[_0x362f95(0x3bd)][_0x362f95(0x289)]};}async[_0x4dad21(0x2cb)](_0x22971c){var _0xc8559=_0x4dad21;const _0x4378d8=this[_0xc8559(0x3b3)]()+'/collaborator';await this[_0xc8559(0x264)][_0xc8559(0x193)](_0x4378d8,{'params':{'collaboratorID':_0x22971c[_0xc8559(0x453)],'objectID':_0x22971c[_0xc8559(0x242)],'unitID':_0x22971c[_0xc8559(0x2e6)]}});}async[_0x4dad21(0x168)](_0x5e5516){var _0x36fbb8=_0x4dad21;const _0x2c5d65=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x36fbb8(0x264)]['patch'](_0x2c5d65,{'body':_0x5e5516});}async[_0x4dad21(0x354)](_0x1de27b){var _0x5cc767=_0x4dad21;const _0x526c50=this[_0x5cc767(0x3b3)]()+_0x5cc767(0x243);await this['_HTTPService'][_0x5cc767(0x2d5)](_0x526c50,{'body':_0x1de27b});}async['listCollaborators'](_0x4e92a1){var _0x1a361e=_0x4dad21;const _0x9c243f=this[_0x1a361e(0x3b3)]()+'/collaborator';return(await this['_HTTPService']['get'](_0x9c243f,{'params':{'objectID':_0x4e92a1[_0x1a361e(0x242)],'unitID':_0x4e92a1[_0x1a361e(0x2e6)]}}))[_0x1a361e(0x3bd)][_0x1a361e(0x334)];}async[_0x4dad21(0x14d)](_0x4c78fa){var _0x12e91a=_0x4dad21;const _0xe70983=this[_0x12e91a(0x3b3)]()+_0x12e91a(0x243);await this[_0x12e91a(0x264)][_0x12e91a(0x3cd)](_0xe70983,{'body':_0x4c78fa});}},exports[_0x4dad21(0x27c)]=Ai([Xe(0x0,a[_0x4dad21(0x438)](q[_0x4dad21(0x1cf)])),Xe(0x1,a['Inject'](a['IConfigService']))],exports[_0x4dad21(0x27c)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x48e037){var _0x13e6e4=_0x4dad21;return _0x48e037&&_0x48e037[_0x13e6e4(0x45f)]&&Object[_0x13e6e4(0x287)]['hasOwnProperty'][_0x13e6e4(0x148)](_0x48e037,_0x13e6e4(0x33c))?_0x48e037[_0x13e6e4(0x33c)]:_0x48e037;}var fe={'exports':{}};function Li(_0x4f7d0b){var _0x4733b5=_0x4dad21;throw new Error(_0x4733b5(0x13a)+_0x4f7d0b+_0x4733b5(0x207));}var pe={'exports':{}},Mi=pe[_0x4dad21(0x272)],Ze;function ee(){var _0x3f9e05=_0x4dad21;return Ze||(Ze=0x1,function(_0x5a6f1f,_0x4eb2d3){(function(_0x3886df,_0x5834fd){var _0x42ef3d=_0x5c5f;_0x5a6f1f[_0x42ef3d(0x272)]=_0x5834fd();}(Mi,function(){var _0x4ad7bc=_0x4ad7bc||function(_0x4c3f7e,_0x5ca12e){var _0x406360=_0x5c5f,_0x120c47;if(typeof window<'u'&&window[_0x406360(0x224)]&&(_0x120c47=window[_0x406360(0x224)]),typeof self<'u'&&self[_0x406360(0x224)]&&(_0x120c47=self[_0x406360(0x224)]),typeof globalThis<'u'&&globalThis[_0x406360(0x224)]&&(_0x120c47=globalThis[_0x406360(0x224)]),!_0x120c47&&typeof window<'u'&&window[_0x406360(0x2f2)]&&(_0x120c47=window[_0x406360(0x2f2)]),!_0x120c47&&typeof Le<'u'&&Le[_0x406360(0x224)]&&(_0x120c47=Le[_0x406360(0x224)]),!_0x120c47&&typeof Li==_0x406360(0x38a))try{_0x120c47=require(_0x406360(0x224));}catch{}var _0x3347ec=function(){var _0x521a67=_0x406360;if(_0x120c47){if(typeof _0x120c47[_0x521a67(0x266)]==_0x521a67(0x38a))try{return _0x120c47[_0x521a67(0x266)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x120c47[_0x521a67(0x41c)]=='function')try{return _0x120c47[_0x521a67(0x41c)](0x4)[_0x521a67(0x166)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x20c1ab=Object[_0x406360(0x10a)]||(function(){function _0x5cccd5(){}return function(_0xebb9f8){var _0x495218=_0x5c5f,_0xf37925;return _0x5cccd5[_0x495218(0x287)]=_0xebb9f8,_0xf37925=new _0x5cccd5(),_0x5cccd5[_0x495218(0x287)]=null,_0xf37925;};}()),_0x2eaffd={},_0x13129a=_0x2eaffd['lib']={},_0x5041ef=_0x13129a[_0x406360(0x14e)]=(function(){return{'extend':function(_0x43fe79){var _0x1690cb=_0x5c5f,_0x156015=_0x20c1ab(this);return _0x43fe79&&_0x156015[_0x1690cb(0x448)](_0x43fe79),(!_0x156015['hasOwnProperty'](_0x1690cb(0x45a))||this[_0x1690cb(0x45a)]===_0x156015[_0x1690cb(0x45a)])&&(_0x156015[_0x1690cb(0x45a)]=function(){var _0x20cddc=_0x1690cb;_0x156015['$super'][_0x20cddc(0x45a)][_0x20cddc(0x263)](this,arguments);}),_0x156015[_0x1690cb(0x45a)][_0x1690cb(0x287)]=_0x156015,_0x156015[_0x1690cb(0x123)]=this,_0x156015;},'create':function(){var _0x24dd50=_0x5c5f,_0x59cb3e=this[_0x24dd50(0x3a7)]();return _0x59cb3e[_0x24dd50(0x45a)][_0x24dd50(0x263)](_0x59cb3e,arguments),_0x59cb3e;},'init':function(){},'mixIn':function(_0x5376fc){var _0x17f58d=_0x5c5f;for(var _0x3f142e in _0x5376fc)_0x5376fc[_0x17f58d(0x24e)](_0x3f142e)&&(this[_0x3f142e]=_0x5376fc[_0x3f142e]);_0x5376fc[_0x17f58d(0x24e)](_0x17f58d(0x10c))&&(this[_0x17f58d(0x10c)]=_0x5376fc[_0x17f58d(0x10c)]);},'clone':function(){var _0x1c4cfa=_0x5c5f;return this[_0x1c4cfa(0x45a)][_0x1c4cfa(0x287)]['extend'](this);}};}()),_0x514752=_0x13129a[_0x406360(0x3b9)]=_0x5041ef[_0x406360(0x3a7)]({'init':function(_0x41372b,_0x3a13fa){var _0x509435=_0x406360;_0x41372b=this[_0x509435(0x274)]=_0x41372b||[],_0x3a13fa!=_0x5ca12e?this[_0x509435(0x3ab)]=_0x3a13fa:this[_0x509435(0x3ab)]=_0x41372b[_0x509435(0x29e)]*0x4;},'toString':function(_0x4e4b8c){var _0x15c75e=_0x406360;return(_0x4e4b8c||_0x14e07a)[_0x15c75e(0x30a)](this);},'concat':function(_0xdaf24){var _0x1e2318=_0x406360,_0x3547fb=this['words'],_0x308ff9=_0xdaf24[_0x1e2318(0x274)],_0x1d92a0=this[_0x1e2318(0x3ab)],_0x37d6b6=_0xdaf24['sigBytes'];if(this[_0x1e2318(0x129)](),_0x1d92a0%0x4)for(var _0x15c53f=0x0;_0x15c53f<_0x37d6b6;_0x15c53f++){var _0xdfde0f=_0x308ff9[_0x15c53f>>>0x2]>>>0x18-_0x15c53f%0x4*0x8&0xff;_0x3547fb[_0x1d92a0+_0x15c53f>>>0x2]|=_0xdfde0f<<0x18-(_0x1d92a0+_0x15c53f)%0x4*0x8;}else{for(var _0x5b94d7=0x0;_0x5b94d7<_0x37d6b6;_0x5b94d7+=0x4)_0x3547fb[_0x1d92a0+_0x5b94d7>>>0x2]=_0x308ff9[_0x5b94d7>>>0x2];}return this[_0x1e2318(0x3ab)]+=_0x37d6b6,this;},'clamp':function(){var _0x1e2842=_0x406360,_0x243dbe=this[_0x1e2842(0x274)],_0x1bccdf=this['sigBytes'];_0x243dbe[_0x1bccdf>>>0x2]&=0xffffffff<<0x20-_0x1bccdf%0x4*0x8,_0x243dbe[_0x1e2842(0x29e)]=_0x4c3f7e[_0x1e2842(0x2fc)](_0x1bccdf/0x4);},'clone':function(){var _0x54236f=_0x406360,_0x2072f3=_0x5041ef[_0x54236f(0x1a6)][_0x54236f(0x148)](this);return _0x2072f3[_0x54236f(0x274)]=this[_0x54236f(0x274)][_0x54236f(0x35e)](0x0),_0x2072f3;},'random':function(_0x27ab48){var _0x25f341=_0x406360;for(var _0x5e534b=[],_0x4964f9=0x0;_0x4964f9<_0x27ab48;_0x4964f9+=0x4)_0x5e534b[_0x25f341(0x145)](_0x3347ec());return new _0x514752[(_0x25f341(0x45a))](_0x5e534b,_0x27ab48);}}),_0x10a657=_0x2eaffd[_0x406360(0x2a7)]={},_0x14e07a=_0x10a657[_0x406360(0x326)]={'stringify':function(_0x249ebd){var _0x20bd11=_0x406360;for(var _0x3f6929=_0x249ebd[_0x20bd11(0x274)],_0x14dd11=_0x249ebd['sigBytes'],_0x301a9a=[],_0x456230=0x0;_0x456230<_0x14dd11;_0x456230++){var _0x58a645=_0x3f6929[_0x456230>>>0x2]>>>0x18-_0x456230%0x4*0x8&0xff;_0x301a9a[_0x20bd11(0x145)]((_0x58a645>>>0x4)[_0x20bd11(0x10c)](0x10)),_0x301a9a[_0x20bd11(0x145)]((_0x58a645&0xf)[_0x20bd11(0x10c)](0x10));}return _0x301a9a[_0x20bd11(0x127)]('');},'parse':function(_0x5f57de){var _0x1ce512=_0x406360;for(var _0x35841b=_0x5f57de[_0x1ce512(0x29e)],_0xdb0791=[],_0x4881d0=0x0;_0x4881d0<_0x35841b;_0x4881d0+=0x2)_0xdb0791[_0x4881d0>>>0x3]|=parseInt(_0x5f57de[_0x1ce512(0x18f)](_0x4881d0,0x2),0x10)<<0x18-_0x4881d0%0x8*0x4;return new _0x514752[(_0x1ce512(0x45a))](_0xdb0791,_0x35841b/0x2);}},_0x29f5a1=_0x10a657['Latin1']={'stringify':function(_0x29c7d4){var _0x57054d=_0x406360;for(var _0x371f76=_0x29c7d4[_0x57054d(0x274)],_0x3b6f6b=_0x29c7d4[_0x57054d(0x3ab)],_0x2f21e0=[],_0xfc5687=0x0;_0xfc5687<_0x3b6f6b;_0xfc5687++){var _0x3bd309=_0x371f76[_0xfc5687>>>0x2]>>>0x18-_0xfc5687%0x4*0x8&0xff;_0x2f21e0[_0x57054d(0x145)](String['fromCharCode'](_0x3bd309));}return _0x2f21e0[_0x57054d(0x127)]('');},'parse':function(_0x216eaa){var _0x4a51b4=_0x406360;for(var _0xd3b38=_0x216eaa['length'],_0x207f0f=[],_0x5b31af=0x0;_0x5b31af<_0xd3b38;_0x5b31af++)_0x207f0f[_0x5b31af>>>0x2]|=(_0x216eaa['charCodeAt'](_0x5b31af)&0xff)<<0x18-_0x5b31af%0x4*0x8;return new _0x514752[(_0x4a51b4(0x45a))](_0x207f0f,_0xd3b38);}},_0x39252d=_0x10a657[_0x406360(0x194)]={'stringify':function(_0x44f142){var _0x5501dd=_0x406360;try{return decodeURIComponent(escape(_0x29f5a1[_0x5501dd(0x30a)](_0x44f142)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5cd589){var _0x434328=_0x406360;return _0x29f5a1[_0x434328(0x234)](unescape(encodeURIComponent(_0x5cd589)));}},_0x5c869c=_0x13129a['BufferedBlockAlgorithm']=_0x5041ef['extend']({'reset':function(){var _0x2fd4c5=_0x406360;this['_data']=new _0x514752[(_0x2fd4c5(0x45a))](),this[_0x2fd4c5(0x1b4)]=0x0;},'_append':function(_0x5c5bf2){var _0x47f688=_0x406360;typeof _0x5c5bf2=='string'&&(_0x5c5bf2=_0x39252d['parse'](_0x5c5bf2)),this[_0x47f688(0x1ec)][_0x47f688(0x322)](_0x5c5bf2),this['_nDataBytes']+=_0x5c5bf2[_0x47f688(0x3ab)];},'_process':function(_0x431858){var _0x3d0690=_0x406360,_0x34a342,_0x4998d9=this[_0x3d0690(0x1ec)],_0x26bfd2=_0x4998d9[_0x3d0690(0x274)],_0x4f841e=_0x4998d9[_0x3d0690(0x3ab)],_0x21a84b=this[_0x3d0690(0x428)],_0x29188e=_0x21a84b*0x4,_0x184147=_0x4f841e/_0x29188e;_0x431858?_0x184147=_0x4c3f7e['ceil'](_0x184147):_0x184147=_0x4c3f7e[_0x3d0690(0x227)]((_0x184147|0x0)-this[_0x3d0690(0x185)],0x0);var _0x503d9a=_0x184147*_0x21a84b,_0x240228=_0x4c3f7e[_0x3d0690(0x2c9)](_0x503d9a*0x4,_0x4f841e);if(_0x503d9a){for(var _0x24b025=0x0;_0x24b025<_0x503d9a;_0x24b025+=_0x21a84b)this[_0x3d0690(0x2d0)](_0x26bfd2,_0x24b025);_0x34a342=_0x26bfd2['splice'](0x0,_0x503d9a),_0x4998d9[_0x3d0690(0x3ab)]-=_0x240228;}return new _0x514752[(_0x3d0690(0x45a))](_0x34a342,_0x240228);},'clone':function(){var _0x3975c4=_0x406360,_0x41c30f=_0x5041ef[_0x3975c4(0x1a6)][_0x3975c4(0x148)](this);return _0x41c30f['_data']=this[_0x3975c4(0x1ec)]['clone'](),_0x41c30f;},'_minBufferSize':0x0});_0x13129a[_0x406360(0x3da)]=_0x5c869c[_0x406360(0x3a7)]({'cfg':_0x5041ef['extend'](),'init':function(_0x4957cf){var _0x3f9f59=_0x406360;this[_0x3f9f59(0x11f)]=this[_0x3f9f59(0x11f)][_0x3f9f59(0x3a7)](_0x4957cf),this[_0x3f9f59(0x327)]();},'reset':function(){var _0x4c93e0=_0x406360;_0x5c869c['reset'][_0x4c93e0(0x148)](this),this[_0x4c93e0(0x343)]();},'update':function(_0x19aa3e){var _0x1f76fd=_0x406360;return this[_0x1f76fd(0x1f5)](_0x19aa3e),this['_process'](),this;},'finalize':function(_0x16c4d7){var _0x34130d=_0x406360;_0x16c4d7&&this[_0x34130d(0x1f5)](_0x16c4d7);var _0x3fef0d=this[_0x34130d(0x1cb)]();return _0x3fef0d;},'blockSize':0x10,'_createHelper':function(_0x20d268){return function(_0x121fd2,_0x1614d2){var _0x2bee60=_0x5c5f;return new _0x20d268[(_0x2bee60(0x45a))](_0x1614d2)[_0x2bee60(0x3c9)](_0x121fd2);};},'_createHmacHelper':function(_0x2867c7){return function(_0x5c6fc5,_0x197aa2){var _0x1328a1=_0x5c5f;return new _0x32aff4[(_0x1328a1(0x137))][(_0x1328a1(0x45a))](_0x2867c7,_0x197aa2)[_0x1328a1(0x3c9)](_0x5c6fc5);};}});var _0x32aff4=_0x2eaffd['algo']={};return _0x2eaffd;}(Math);return _0x4ad7bc;}));}(pe)),pe[_0x3f9e05(0x272)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x2639f3=_0x4dad21;return Qe||(Qe=0x1,function(_0x27c441,_0x42d3cd){(function(_0x1b3142,_0x90d81b){var _0x1e7484=_0x5c5f;_0x27c441[_0x1e7484(0x272)]=_0x90d81b(ee());}(xi,function(_0x13a071){var _0x1c24c3=_0x5c5f;return(function(){var _0x4dfac9=_0x5c5f,_0x1275c1=_0x13a071,_0x5c2e2b=_0x1275c1[_0x4dfac9(0x297)],_0x32318a=_0x5c2e2b['WordArray'],_0x577243=_0x1275c1[_0x4dfac9(0x2a7)];_0x577243[_0x4dfac9(0x3ca)]={'stringify':function(_0x8e9c61){var _0x369441=_0x4dfac9,_0xc3a84c=_0x8e9c61[_0x369441(0x274)],_0x422d0e=_0x8e9c61[_0x369441(0x3ab)],_0x14f417=this['_map'];_0x8e9c61[_0x369441(0x129)]();for(var _0x3a3998=[],_0x306037=0x0;_0x306037<_0x422d0e;_0x306037+=0x3)for(var _0xe130af=_0xc3a84c[_0x306037>>>0x2]>>>0x18-_0x306037%0x4*0x8&0xff,_0x37bf87=_0xc3a84c[_0x306037+0x1>>>0x2]>>>0x18-(_0x306037+0x1)%0x4*0x8&0xff,_0x2ab03e=_0xc3a84c[_0x306037+0x2>>>0x2]>>>0x18-(_0x306037+0x2)%0x4*0x8&0xff,_0x1ed31f=_0xe130af<<0x10|_0x37bf87<<0x8|_0x2ab03e,_0x47fadf=0x0;_0x47fadf<0x4&&_0x306037+_0x47fadf*0.75<_0x422d0e;_0x47fadf++)_0x3a3998[_0x369441(0x145)](_0x14f417[_0x369441(0x370)](_0x1ed31f>>>0x6*(0x3-_0x47fadf)&0x3f));var _0x55013c=_0x14f417['charAt'](0x40);if(_0x55013c){for(;_0x3a3998[_0x369441(0x29e)]%0x4;)_0x3a3998[_0x369441(0x145)](_0x55013c);}return _0x3a3998['join']('');},'parse':function(_0x14276a){var _0x4c4239=_0x4dfac9,_0x4cd5bd=_0x14276a['length'],_0x2cdecb=this[_0x4c4239(0x387)],_0x2905f0=this[_0x4c4239(0x37f)];if(!_0x2905f0){_0x2905f0=this['_reverseMap']=[];for(var _0x126aec=0x0;_0x126aec<_0x2cdecb[_0x4c4239(0x29e)];_0x126aec++)_0x2905f0[_0x2cdecb['charCodeAt'](_0x126aec)]=_0x126aec;}var _0x5e9f55=_0x2cdecb[_0x4c4239(0x370)](0x40);if(_0x5e9f55){var _0x274cb2=_0x14276a[_0x4c4239(0x3eb)](_0x5e9f55);_0x274cb2!==-0x1&&(_0x4cd5bd=_0x274cb2);}return _0x4e063a(_0x14276a,_0x4cd5bd,_0x2905f0);},'_map':_0x4dfac9(0x190)};function _0x4e063a(_0x54a2b7,_0x28846d,_0x240349){var _0x6024f3=_0x4dfac9;for(var _0x3e3c72=[],_0x3743bd=0x0,_0x23d7da=0x0;_0x23d7da<_0x28846d;_0x23d7da++)if(_0x23d7da%0x4){var _0x19b8f5=_0x240349[_0x54a2b7[_0x6024f3(0x2ac)](_0x23d7da-0x1)]<<_0x23d7da%0x4*0x2,_0x13caa8=_0x240349[_0x54a2b7[_0x6024f3(0x2ac)](_0x23d7da)]>>>0x6-_0x23d7da%0x4*0x2,_0x587441=_0x19b8f5|_0x13caa8;_0x3e3c72[_0x3743bd>>>0x2]|=_0x587441<<0x18-_0x3743bd%0x4*0x8,_0x3743bd++;}return _0x32318a[_0x6024f3(0x10a)](_0x3e3c72,_0x3743bd);}}()),_0x13a071[_0x1c24c3(0x2a7)][_0x1c24c3(0x3ca)];}));}(ge)),ge[_0x2639f3(0x272)];}var me={'exports':{}},ki=me[_0x4dad21(0x272)],et;function Hi(){return et||(et=0x1,function(_0x7e86e5,_0x56768d){(function(_0x3cc0a4,_0x2fe808){_0x7e86e5['exports']=_0x2fe808(ee());}(ki,function(_0x5a8c4a){var _0x3c46e8=_0x5c5f;return function(_0x4be26b){var _0x487efb=_0x5c5f,_0xd55a09=_0x5a8c4a,_0x2edbc8=_0xd55a09[_0x487efb(0x297)],_0x2d4ad1=_0x2edbc8[_0x487efb(0x3b9)],_0x50cb76=_0x2edbc8[_0x487efb(0x3da)],_0x5959b7=_0xd55a09['algo'],_0xd93223=[];(function(){var _0x5a8626=_0x487efb;for(var _0x235f52=0x0;_0x235f52<0x40;_0x235f52++)_0xd93223[_0x235f52]=_0x4be26b[_0x5a8626(0x16f)](_0x4be26b[_0x5a8626(0x17d)](_0x235f52+0x1))*0x100000000|0x0;}());var _0x371d7f=_0x5959b7[_0x487efb(0x1aa)]=_0x50cb76[_0x487efb(0x3a7)]({'_doReset':function(){var _0x31ed1b=_0x487efb;this[_0x31ed1b(0x15c)]=new _0x2d4ad1[(_0x31ed1b(0x45a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bdb5e,_0x20b7e8){var _0x1f01e1=_0x487efb;for(var _0x2a07e3=0x0;_0x2a07e3<0x10;_0x2a07e3++){var _0x3d7ce4=_0x20b7e8+_0x2a07e3,_0x21e5ba=_0x4bdb5e[_0x3d7ce4];_0x4bdb5e[_0x3d7ce4]=(_0x21e5ba<<0x8|_0x21e5ba>>>0x18)&0xff00ff|(_0x21e5ba<<0x18|_0x21e5ba>>>0x8)&0xff00ff00;}var _0x1d06b1=this[_0x1f01e1(0x15c)][_0x1f01e1(0x274)],_0x41dd82=_0x4bdb5e[_0x20b7e8+0x0],_0x485d9f=_0x4bdb5e[_0x20b7e8+0x1],_0x54c814=_0x4bdb5e[_0x20b7e8+0x2],_0x179a29=_0x4bdb5e[_0x20b7e8+0x3],_0x14aba3=_0x4bdb5e[_0x20b7e8+0x4],_0x37db5b=_0x4bdb5e[_0x20b7e8+0x5],_0x4909c2=_0x4bdb5e[_0x20b7e8+0x6],_0x18c089=_0x4bdb5e[_0x20b7e8+0x7],_0x1e3861=_0x4bdb5e[_0x20b7e8+0x8],_0x32c490=_0x4bdb5e[_0x20b7e8+0x9],_0x4b47ed=_0x4bdb5e[_0x20b7e8+0xa],_0x906ea0=_0x4bdb5e[_0x20b7e8+0xb],_0x23d543=_0x4bdb5e[_0x20b7e8+0xc],_0x1ea976=_0x4bdb5e[_0x20b7e8+0xd],_0x531cfc=_0x4bdb5e[_0x20b7e8+0xe],_0x894fba=_0x4bdb5e[_0x20b7e8+0xf],_0x3741aa=_0x1d06b1[0x0],_0x53fa1a=_0x1d06b1[0x1],_0x515aba=_0x1d06b1[0x2],_0x12971a=_0x1d06b1[0x3];_0x3741aa=_0x285d6d(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x41dd82,0x7,_0xd93223[0x0]),_0x12971a=_0x285d6d(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x485d9f,0xc,_0xd93223[0x1]),_0x515aba=_0x285d6d(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x54c814,0x11,_0xd93223[0x2]),_0x53fa1a=_0x285d6d(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x179a29,0x16,_0xd93223[0x3]),_0x3741aa=_0x285d6d(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x14aba3,0x7,_0xd93223[0x4]),_0x12971a=_0x285d6d(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x37db5b,0xc,_0xd93223[0x5]),_0x515aba=_0x285d6d(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x4909c2,0x11,_0xd93223[0x6]),_0x53fa1a=_0x285d6d(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x18c089,0x16,_0xd93223[0x7]),_0x3741aa=_0x285d6d(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x1e3861,0x7,_0xd93223[0x8]),_0x12971a=_0x285d6d(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x32c490,0xc,_0xd93223[0x9]),_0x515aba=_0x285d6d(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x4b47ed,0x11,_0xd93223[0xa]),_0x53fa1a=_0x285d6d(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x906ea0,0x16,_0xd93223[0xb]),_0x3741aa=_0x285d6d(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x23d543,0x7,_0xd93223[0xc]),_0x12971a=_0x285d6d(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x1ea976,0xc,_0xd93223[0xd]),_0x515aba=_0x285d6d(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x531cfc,0x11,_0xd93223[0xe]),_0x53fa1a=_0x285d6d(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x894fba,0x16,_0xd93223[0xf]),_0x3741aa=_0x403779(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x485d9f,0x5,_0xd93223[0x10]),_0x12971a=_0x403779(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x4909c2,0x9,_0xd93223[0x11]),_0x515aba=_0x403779(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x906ea0,0xe,_0xd93223[0x12]),_0x53fa1a=_0x403779(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x41dd82,0x14,_0xd93223[0x13]),_0x3741aa=_0x403779(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x37db5b,0x5,_0xd93223[0x14]),_0x12971a=_0x403779(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x4b47ed,0x9,_0xd93223[0x15]),_0x515aba=_0x403779(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x894fba,0xe,_0xd93223[0x16]),_0x53fa1a=_0x403779(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x14aba3,0x14,_0xd93223[0x17]),_0x3741aa=_0x403779(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x32c490,0x5,_0xd93223[0x18]),_0x12971a=_0x403779(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x531cfc,0x9,_0xd93223[0x19]),_0x515aba=_0x403779(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x179a29,0xe,_0xd93223[0x1a]),_0x53fa1a=_0x403779(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x1e3861,0x14,_0xd93223[0x1b]),_0x3741aa=_0x403779(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x1ea976,0x5,_0xd93223[0x1c]),_0x12971a=_0x403779(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x54c814,0x9,_0xd93223[0x1d]),_0x515aba=_0x403779(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x18c089,0xe,_0xd93223[0x1e]),_0x53fa1a=_0x403779(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x23d543,0x14,_0xd93223[0x1f]),_0x3741aa=_0x4ba0ea(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x37db5b,0x4,_0xd93223[0x20]),_0x12971a=_0x4ba0ea(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x1e3861,0xb,_0xd93223[0x21]),_0x515aba=_0x4ba0ea(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x906ea0,0x10,_0xd93223[0x22]),_0x53fa1a=_0x4ba0ea(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x531cfc,0x17,_0xd93223[0x23]),_0x3741aa=_0x4ba0ea(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x485d9f,0x4,_0xd93223[0x24]),_0x12971a=_0x4ba0ea(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x14aba3,0xb,_0xd93223[0x25]),_0x515aba=_0x4ba0ea(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x18c089,0x10,_0xd93223[0x26]),_0x53fa1a=_0x4ba0ea(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x4b47ed,0x17,_0xd93223[0x27]),_0x3741aa=_0x4ba0ea(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x1ea976,0x4,_0xd93223[0x28]),_0x12971a=_0x4ba0ea(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x41dd82,0xb,_0xd93223[0x29]),_0x515aba=_0x4ba0ea(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x179a29,0x10,_0xd93223[0x2a]),_0x53fa1a=_0x4ba0ea(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x4909c2,0x17,_0xd93223[0x2b]),_0x3741aa=_0x4ba0ea(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x32c490,0x4,_0xd93223[0x2c]),_0x12971a=_0x4ba0ea(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x23d543,0xb,_0xd93223[0x2d]),_0x515aba=_0x4ba0ea(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x894fba,0x10,_0xd93223[0x2e]),_0x53fa1a=_0x4ba0ea(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x54c814,0x17,_0xd93223[0x2f]),_0x3741aa=_0x3e09e8(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x41dd82,0x6,_0xd93223[0x30]),_0x12971a=_0x3e09e8(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x18c089,0xa,_0xd93223[0x31]),_0x515aba=_0x3e09e8(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x531cfc,0xf,_0xd93223[0x32]),_0x53fa1a=_0x3e09e8(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x37db5b,0x15,_0xd93223[0x33]),_0x3741aa=_0x3e09e8(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x23d543,0x6,_0xd93223[0x34]),_0x12971a=_0x3e09e8(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x179a29,0xa,_0xd93223[0x35]),_0x515aba=_0x3e09e8(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x4b47ed,0xf,_0xd93223[0x36]),_0x53fa1a=_0x3e09e8(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x485d9f,0x15,_0xd93223[0x37]),_0x3741aa=_0x3e09e8(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x1e3861,0x6,_0xd93223[0x38]),_0x12971a=_0x3e09e8(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x894fba,0xa,_0xd93223[0x39]),_0x515aba=_0x3e09e8(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x4909c2,0xf,_0xd93223[0x3a]),_0x53fa1a=_0x3e09e8(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x1ea976,0x15,_0xd93223[0x3b]),_0x3741aa=_0x3e09e8(_0x3741aa,_0x53fa1a,_0x515aba,_0x12971a,_0x14aba3,0x6,_0xd93223[0x3c]),_0x12971a=_0x3e09e8(_0x12971a,_0x3741aa,_0x53fa1a,_0x515aba,_0x906ea0,0xa,_0xd93223[0x3d]),_0x515aba=_0x3e09e8(_0x515aba,_0x12971a,_0x3741aa,_0x53fa1a,_0x54c814,0xf,_0xd93223[0x3e]),_0x53fa1a=_0x3e09e8(_0x53fa1a,_0x515aba,_0x12971a,_0x3741aa,_0x32c490,0x15,_0xd93223[0x3f]),_0x1d06b1[0x0]=_0x1d06b1[0x0]+_0x3741aa|0x0,_0x1d06b1[0x1]=_0x1d06b1[0x1]+_0x53fa1a|0x0,_0x1d06b1[0x2]=_0x1d06b1[0x2]+_0x515aba|0x0,_0x1d06b1[0x3]=_0x1d06b1[0x3]+_0x12971a|0x0;},'_doFinalize':function(){var _0xe27a25=_0x487efb,_0x137f02=this[_0xe27a25(0x1ec)],_0x426fe8=_0x137f02[_0xe27a25(0x274)],_0x43f50d=this[_0xe27a25(0x1b4)]*0x8,_0x16534d=_0x137f02[_0xe27a25(0x3ab)]*0x8;_0x426fe8[_0x16534d>>>0x5]|=0x80<<0x18-_0x16534d%0x20;var _0x14cd7d=_0x4be26b[_0xe27a25(0x2bc)](_0x43f50d/0x100000000),_0x27e5b6=_0x43f50d;_0x426fe8[(_0x16534d+0x40>>>0x9<<0x4)+0xf]=(_0x14cd7d<<0x8|_0x14cd7d>>>0x18)&0xff00ff|(_0x14cd7d<<0x18|_0x14cd7d>>>0x8)&0xff00ff00,_0x426fe8[(_0x16534d+0x40>>>0x9<<0x4)+0xe]=(_0x27e5b6<<0x8|_0x27e5b6>>>0x18)&0xff00ff|(_0x27e5b6<<0x18|_0x27e5b6>>>0x8)&0xff00ff00,_0x137f02[_0xe27a25(0x3ab)]=(_0x426fe8[_0xe27a25(0x29e)]+0x1)*0x4,this[_0xe27a25(0x3c1)]();for(var _0x19147f=this[_0xe27a25(0x15c)],_0x8eda2e=_0x19147f['words'],_0x4d377f=0x0;_0x4d377f<0x4;_0x4d377f++){var _0x2e6a13=_0x8eda2e[_0x4d377f];_0x8eda2e[_0x4d377f]=(_0x2e6a13<<0x8|_0x2e6a13>>>0x18)&0xff00ff|(_0x2e6a13<<0x18|_0x2e6a13>>>0x8)&0xff00ff00;}return _0x19147f;},'clone':function(){var _0x55075d=_0x487efb,_0x49d3ea=_0x50cb76[_0x55075d(0x1a6)]['call'](this);return _0x49d3ea[_0x55075d(0x15c)]=this[_0x55075d(0x15c)][_0x55075d(0x1a6)](),_0x49d3ea;}});function _0x285d6d(_0x4facb8,_0xb15fbd,_0x5eb7dc,_0x147034,_0xdb91cb,_0x949487,_0x289ac3){var _0x1a93eb=_0x4facb8+(_0xb15fbd&_0x5eb7dc|~_0xb15fbd&_0x147034)+_0xdb91cb+_0x289ac3;return(_0x1a93eb<<_0x949487|_0x1a93eb>>>0x20-_0x949487)+_0xb15fbd;}function _0x403779(_0x43261d,_0x26a30e,_0x3dc7b0,_0x13156a,_0x56c81e,_0x2646a9,_0x22d564){var _0x53a753=_0x43261d+(_0x26a30e&_0x13156a|_0x3dc7b0&~_0x13156a)+_0x56c81e+_0x22d564;return(_0x53a753<<_0x2646a9|_0x53a753>>>0x20-_0x2646a9)+_0x26a30e;}function _0x4ba0ea(_0x4e7210,_0x315c1e,_0x4c8962,_0x2fc066,_0x42ec8f,_0x15cbbf,_0x3d895f){var _0x32792e=_0x4e7210+(_0x315c1e^_0x4c8962^_0x2fc066)+_0x42ec8f+_0x3d895f;return(_0x32792e<<_0x15cbbf|_0x32792e>>>0x20-_0x15cbbf)+_0x315c1e;}function _0x3e09e8(_0x1f6add,_0x45feb4,_0x113b79,_0x4d1465,_0x1c6514,_0x557bad,_0x323982){var _0x3629dd=_0x1f6add+(_0x113b79^(_0x45feb4|~_0x4d1465))+_0x1c6514+_0x323982;return(_0x3629dd<<_0x557bad|_0x3629dd>>>0x20-_0x557bad)+_0x45feb4;}_0xd55a09[_0x487efb(0x1aa)]=_0x50cb76[_0x487efb(0x101)](_0x371d7f),_0xd55a09[_0x487efb(0x156)]=_0x50cb76['_createHmacHelper'](_0x371d7f);}(Math),_0x5a8c4a[_0x3c46e8(0x1aa)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0xb9a0d6=_0x4dad21;return tt||(tt=0x1,function(_0x5069c1,_0x5ca6e4){(function(_0x1df8a0,_0x23964f){var _0x2556c7=_0x5c5f;_0x5069c1[_0x2556c7(0x272)]=_0x23964f(ee());}(ji,function(_0x343de6){var _0x15482d=_0x5c5f;return(function(){var _0x2339a4=_0x5c5f,_0x358df2=_0x343de6,_0x4f7f03=_0x358df2['lib'],_0x570dee=_0x4f7f03[_0x2339a4(0x3b9)],_0xfb6385=_0x4f7f03[_0x2339a4(0x3da)],_0xbc3819=_0x358df2[_0x2339a4(0x250)],_0x2d972c=[],_0x35efc8=_0xbc3819[_0x2339a4(0x404)]=_0xfb6385[_0x2339a4(0x3a7)]({'_doReset':function(){var _0x4da5b8=_0x2339a4;this['_hash']=new _0x570dee[(_0x4da5b8(0x45a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27858c,_0x14d64c){var _0x5a6715=_0x2339a4;for(var _0x10e6d6=this['_hash'][_0x5a6715(0x274)],_0x47b612=_0x10e6d6[0x0],_0x41094a=_0x10e6d6[0x1],_0x436f43=_0x10e6d6[0x2],_0x593440=_0x10e6d6[0x3],_0x131184=_0x10e6d6[0x4],_0x5b8788=0x0;_0x5b8788<0x50;_0x5b8788++){if(_0x5b8788<0x10)_0x2d972c[_0x5b8788]=_0x27858c[_0x14d64c+_0x5b8788]|0x0;else{var _0x2b11b8=_0x2d972c[_0x5b8788-0x3]^_0x2d972c[_0x5b8788-0x8]^_0x2d972c[_0x5b8788-0xe]^_0x2d972c[_0x5b8788-0x10];_0x2d972c[_0x5b8788]=_0x2b11b8<<0x1|_0x2b11b8>>>0x1f;}var _0x24118d=(_0x47b612<<0x5|_0x47b612>>>0x1b)+_0x131184+_0x2d972c[_0x5b8788];_0x5b8788<0x14?_0x24118d+=(_0x41094a&_0x436f43|~_0x41094a&_0x593440)+0x5a827999:_0x5b8788<0x28?_0x24118d+=(_0x41094a^_0x436f43^_0x593440)+0x6ed9eba1:_0x5b8788<0x3c?_0x24118d+=(_0x41094a&_0x436f43|_0x41094a&_0x593440|_0x436f43&_0x593440)-0x70e44324:_0x24118d+=(_0x41094a^_0x436f43^_0x593440)-0x359d3e2a,_0x131184=_0x593440,_0x593440=_0x436f43,_0x436f43=_0x41094a<<0x1e|_0x41094a>>>0x2,_0x41094a=_0x47b612,_0x47b612=_0x24118d;}_0x10e6d6[0x0]=_0x10e6d6[0x0]+_0x47b612|0x0,_0x10e6d6[0x1]=_0x10e6d6[0x1]+_0x41094a|0x0,_0x10e6d6[0x2]=_0x10e6d6[0x2]+_0x436f43|0x0,_0x10e6d6[0x3]=_0x10e6d6[0x3]+_0x593440|0x0,_0x10e6d6[0x4]=_0x10e6d6[0x4]+_0x131184|0x0;},'_doFinalize':function(){var _0x51d7c0=_0x2339a4,_0x5befaa=this[_0x51d7c0(0x1ec)],_0x2418cf=_0x5befaa[_0x51d7c0(0x274)],_0x511a92=this[_0x51d7c0(0x1b4)]*0x8,_0x69f32b=_0x5befaa['sigBytes']*0x8;return _0x2418cf[_0x69f32b>>>0x5]|=0x80<<0x18-_0x69f32b%0x20,_0x2418cf[(_0x69f32b+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x511a92/0x100000000),_0x2418cf[(_0x69f32b+0x40>>>0x9<<0x4)+0xf]=_0x511a92,_0x5befaa[_0x51d7c0(0x3ab)]=_0x2418cf[_0x51d7c0(0x29e)]*0x4,this[_0x51d7c0(0x3c1)](),this['_hash'];},'clone':function(){var _0x58f542=_0x2339a4,_0x50bade=_0xfb6385[_0x58f542(0x1a6)][_0x58f542(0x148)](this);return _0x50bade[_0x58f542(0x15c)]=this['_hash'][_0x58f542(0x1a6)](),_0x50bade;}});_0x358df2[_0x2339a4(0x404)]=_0xfb6385[_0x2339a4(0x101)](_0x35efc8),_0x358df2[_0x2339a4(0x23f)]=_0xfb6385[_0x2339a4(0x46f)](_0x35efc8);}()),_0x343de6[_0x15482d(0x404)];}));}(Ee)),Ee[_0xb9a0d6(0x272)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x22c309,_0x46cd52){(function(_0x4b004d,_0x5b400f){var _0x586d80=_0x5c5f;_0x22c309[_0x586d80(0x272)]=_0x5b400f(ee());}(Bi,function(_0x55837c){(function(){var _0x137a8d=_0x5c5f,_0x10b15c=_0x55837c,_0xf66221=_0x10b15c[_0x137a8d(0x297)],_0xaaabab=_0xf66221['Base'],_0xd27a3=_0x10b15c['enc'],_0x4d3d0a=_0xd27a3[_0x137a8d(0x194)],_0x537b95=_0x10b15c[_0x137a8d(0x250)];_0x537b95[_0x137a8d(0x137)]=_0xaaabab[_0x137a8d(0x3a7)]({'init':function(_0x4365b1,_0x26e25d){var _0x35a34f=_0x137a8d;_0x4365b1=this['_hasher']=new _0x4365b1[(_0x35a34f(0x45a))](),typeof _0x26e25d==_0x35a34f(0x22b)&&(_0x26e25d=_0x4d3d0a[_0x35a34f(0x234)](_0x26e25d));var _0x547a9d=_0x4365b1[_0x35a34f(0x428)],_0xb752fd=_0x547a9d*0x4;_0x26e25d['sigBytes']>_0xb752fd&&(_0x26e25d=_0x4365b1[_0x35a34f(0x3c9)](_0x26e25d)),_0x26e25d[_0x35a34f(0x129)]();for(var _0xf5c340=this[_0x35a34f(0x2bf)]=_0x26e25d[_0x35a34f(0x1a6)](),_0x4319a7=this['_iKey']=_0x26e25d[_0x35a34f(0x1a6)](),_0x40fca0=_0xf5c340['words'],_0x57cd69=_0x4319a7[_0x35a34f(0x274)],_0x1128d1=0x0;_0x1128d1<_0x547a9d;_0x1128d1++)_0x40fca0[_0x1128d1]^=0x5c5c5c5c,_0x57cd69[_0x1128d1]^=0x36363636;_0xf5c340[_0x35a34f(0x3ab)]=_0x4319a7[_0x35a34f(0x3ab)]=_0xb752fd,this[_0x35a34f(0x327)]();},'reset':function(){var _0x1b5dbd=_0x137a8d,_0x23a57e=this['_hasher'];_0x23a57e[_0x1b5dbd(0x327)](),_0x23a57e[_0x1b5dbd(0x22a)](this['_iKey']);},'update':function(_0x21ede5){var _0x38b12e=_0x137a8d;return this[_0x38b12e(0x220)][_0x38b12e(0x22a)](_0x21ede5),this;},'finalize':function(_0xbfc740){var _0x31af80=_0x137a8d,_0x171617=this[_0x31af80(0x220)],_0x31634c=_0x171617[_0x31af80(0x3c9)](_0xbfc740);_0x171617[_0x31af80(0x327)]();var _0x2d647d=_0x171617[_0x31af80(0x3c9)](this[_0x31af80(0x2bf)]['clone']()[_0x31af80(0x322)](_0x31634c));return _0x2d647d;}});}());}));}(Ce)),Ce['exports'];}var Wi=Ie['exports'],nt;function Pt(){var _0x5bc756=_0x4dad21;return nt||(nt=0x1,function(_0xe09655,_0x233db6){(function(_0x158b42,_0x520b04,_0x5c2439){_0xe09655['exports']=_0x520b04(ee(),$i(),Fi());}(Wi,function(_0x3ec145){var _0x425c2b=_0x5c5f;return(function(){var _0x3c5b09=_0x5c5f,_0x262722=_0x3ec145,_0x5f4b20=_0x262722[_0x3c5b09(0x297)],_0x334ca7=_0x5f4b20[_0x3c5b09(0x14e)],_0x46ac08=_0x5f4b20[_0x3c5b09(0x3b9)],_0x1821b8=_0x262722[_0x3c5b09(0x250)],_0x2b49f8=_0x1821b8['MD5'],_0x539ea7=_0x1821b8['EvpKDF']=_0x334ca7[_0x3c5b09(0x3a7)]({'cfg':_0x334ca7[_0x3c5b09(0x3a7)]({'keySize':0x80/0x20,'hasher':_0x2b49f8,'iterations':0x1}),'init':function(_0xdd79c0){var _0x1dac41=_0x3c5b09;this[_0x1dac41(0x11f)]=this['cfg'][_0x1dac41(0x3a7)](_0xdd79c0);},'compute':function(_0x2077fc,_0x569b65){var _0x6b97fd=_0x3c5b09;for(var _0x314506,_0x2c0bee=this[_0x6b97fd(0x11f)],_0x11fd5a=_0x2c0bee['hasher']['create'](),_0x5f000d=_0x46ac08['create'](),_0x32398b=_0x5f000d[_0x6b97fd(0x274)],_0x424298=_0x2c0bee[_0x6b97fd(0x205)],_0x493b89=_0x2c0bee[_0x6b97fd(0x2cd)];_0x32398b['length']<_0x424298;){_0x314506&&_0x11fd5a['update'](_0x314506),_0x314506=_0x11fd5a[_0x6b97fd(0x22a)](_0x2077fc)[_0x6b97fd(0x3c9)](_0x569b65),_0x11fd5a[_0x6b97fd(0x327)]();for(var _0x4a2dd1=0x1;_0x4a2dd1<_0x493b89;_0x4a2dd1++)_0x314506=_0x11fd5a[_0x6b97fd(0x3c9)](_0x314506),_0x11fd5a[_0x6b97fd(0x327)]();_0x5f000d[_0x6b97fd(0x322)](_0x314506);}return _0x5f000d[_0x6b97fd(0x3ab)]=_0x424298*0x4,_0x5f000d;}});_0x262722['EvpKDF']=function(_0x525cf1,_0x25510b,_0x47c21e){var _0xf7bc28=_0x3c5b09;return _0x539ea7[_0xf7bc28(0x10a)](_0x47c21e)[_0xf7bc28(0x21d)](_0x525cf1,_0x25510b);};}()),_0x3ec145[_0x425c2b(0x384)];}));}(Ie)),Ie[_0x5bc756(0x272)];}var Te={'exports':{}},Gi=Te[_0x4dad21(0x272)],rt;function At(){var _0x3e7891=_0x4dad21;return rt||(rt=0x1,function(_0x3cd5dc,_0x5d4852){(function(_0x4917a8,_0x2c04ba,_0x5318ab){var _0x79caed=_0x5c5f;_0x3cd5dc[_0x79caed(0x272)]=_0x2c04ba(ee(),Pt());}(Gi,function(_0x1a866b){_0x1a866b['lib']['Cipher']||function(_0x38f99f){var _0x52eec0=_0x5c5f,_0x2a264b=_0x1a866b,_0x3b5b61=_0x2a264b[_0x52eec0(0x297)],_0x1f905=_0x3b5b61[_0x52eec0(0x14e)],_0x50b006=_0x3b5b61[_0x52eec0(0x3b9)],_0x1e8342=_0x3b5b61[_0x52eec0(0x1a7)],_0x200c8c=_0x2a264b['enc'];_0x200c8c[_0x52eec0(0x194)];var _0x5ef07b=_0x200c8c[_0x52eec0(0x3ca)],_0x1e21cb=_0x2a264b['algo'],_0x1673c3=_0x1e21cb[_0x52eec0(0x384)],_0x37ee99=_0x3b5b61[_0x52eec0(0x45c)]=_0x1e8342[_0x52eec0(0x3a7)]({'cfg':_0x1f905['extend'](),'createEncryptor':function(_0x2aeb21,_0x2c9ea7){var _0x888912=_0x52eec0;return this[_0x888912(0x10a)](this['_ENC_XFORM_MODE'],_0x2aeb21,_0x2c9ea7);},'createDecryptor':function(_0x1fdd19,_0x3310fa){var _0x5cbac8=_0x52eec0;return this[_0x5cbac8(0x10a)](this[_0x5cbac8(0x443)],_0x1fdd19,_0x3310fa);},'init':function(_0x40a05d,_0x27104c,_0x26efce){var _0x2ffe74=_0x52eec0;this[_0x2ffe74(0x11f)]=this[_0x2ffe74(0x11f)][_0x2ffe74(0x3a7)](_0x26efce),this['_xformMode']=_0x40a05d,this[_0x2ffe74(0x3ee)]=_0x27104c,this['reset']();},'reset':function(){var _0x3bd6d=_0x52eec0;_0x1e8342[_0x3bd6d(0x327)]['call'](this),this[_0x3bd6d(0x343)]();},'process':function(_0x3a0b5c){var _0x46cc83=_0x52eec0;return this[_0x46cc83(0x1f5)](_0x3a0b5c),this['_process']();},'finalize':function(_0x11b77f){var _0x28708a=_0x52eec0;_0x11b77f&&this[_0x28708a(0x1f5)](_0x11b77f);var _0x437194=this[_0x28708a(0x1cb)]();return _0x437194;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3527ed(_0x3031ec){var _0x2e06eb=_0x5c5f;return typeof _0x3031ec==_0x2e06eb(0x22b)?_0x365fe9:_0x488ea5;}return function(_0x52fa42){return{'encrypt':function(_0xb74dbd,_0x293231,_0x386a20){var _0x2b57b3=_0x5c5f;return _0x3527ed(_0x293231)[_0x2b57b3(0x450)](_0x52fa42,_0xb74dbd,_0x293231,_0x386a20);},'decrypt':function(_0x1d50b0,_0x21806b,_0x2e072a){var _0x28edee=_0x5c5f;return _0x3527ed(_0x21806b)[_0x28edee(0x228)](_0x52fa42,_0x1d50b0,_0x21806b,_0x2e072a);}};};}())});_0x3b5b61['StreamCipher']=_0x37ee99[_0x52eec0(0x3a7)]({'_doFinalize':function(){var _0x14ddac=_0x52eec0,_0x1ff239=this[_0x14ddac(0x3c1)](!0x0);return _0x1ff239;},'blockSize':0x1});var _0x55e8e9=_0x2a264b['mode']={},_0x33dd7d=_0x3b5b61[_0x52eec0(0x11b)]=_0x1f905[_0x52eec0(0x3a7)]({'createEncryptor':function(_0x2412cd,_0x59133c){var _0x5034e4=_0x52eec0;return this[_0x5034e4(0x1b6)][_0x5034e4(0x10a)](_0x2412cd,_0x59133c);},'createDecryptor':function(_0x342c47,_0xc3838e){var _0x28cce6=_0x52eec0;return this[_0x28cce6(0x473)][_0x28cce6(0x10a)](_0x342c47,_0xc3838e);},'init':function(_0x45e541,_0x4ab09c){var _0x11b4bf=_0x52eec0;this['_cipher']=_0x45e541,this[_0x11b4bf(0x118)]=_0x4ab09c;}}),_0x20b03f=_0x55e8e9['CBC']=(function(){var _0x5ab0e4=_0x52eec0,_0x44e23c=_0x33dd7d['extend']();_0x44e23c[_0x5ab0e4(0x1b6)]=_0x44e23c[_0x5ab0e4(0x3a7)]({'processBlock':function(_0x27537a,_0xb86603){var _0x514361=_0x5ab0e4,_0x294cea=this['_cipher'],_0x5481d8=_0x294cea[_0x514361(0x428)];_0x4ec97b['call'](this,_0x27537a,_0xb86603,_0x5481d8),_0x294cea[_0x514361(0x259)](_0x27537a,_0xb86603),this[_0x514361(0x310)]=_0x27537a[_0x514361(0x35e)](_0xb86603,_0xb86603+_0x5481d8);}}),_0x44e23c['Decryptor']=_0x44e23c[_0x5ab0e4(0x3a7)]({'processBlock':function(_0xe4d67a,_0x2a28fe){var _0x1f7f31=_0x5ab0e4,_0x96e836=this['_cipher'],_0x39d7e1=_0x96e836[_0x1f7f31(0x428)],_0x1b8de0=_0xe4d67a[_0x1f7f31(0x35e)](_0x2a28fe,_0x2a28fe+_0x39d7e1);_0x96e836['decryptBlock'](_0xe4d67a,_0x2a28fe),_0x4ec97b[_0x1f7f31(0x148)](this,_0xe4d67a,_0x2a28fe,_0x39d7e1),this[_0x1f7f31(0x310)]=_0x1b8de0;}});function _0x4ec97b(_0x5204e9,_0x4661e7,_0x614c7c){var _0x14d542=_0x5ab0e4,_0x3f3963,_0xc0bb70=this[_0x14d542(0x118)];_0xc0bb70?(_0x3f3963=_0xc0bb70,this['_iv']=_0x38f99f):_0x3f3963=this['_prevBlock'];for(var _0x4e13a7=0x0;_0x4e13a7<_0x614c7c;_0x4e13a7++)_0x5204e9[_0x4661e7+_0x4e13a7]^=_0x3f3963[_0x4e13a7];}return _0x44e23c;}()),_0x5fb67=_0x2a264b[_0x52eec0(0x306)]={},_0x4586d6=_0x5fb67[_0x52eec0(0x268)]={'pad':function(_0x2065d2,_0x174f1a){var _0x2426ba=_0x52eec0;for(var _0x15c781=_0x174f1a*0x4,_0x2b487d=_0x15c781-_0x2065d2[_0x2426ba(0x3ab)]%_0x15c781,_0x2daf1a=_0x2b487d<<0x18|_0x2b487d<<0x10|_0x2b487d<<0x8|_0x2b487d,_0xfe3791=[],_0x506840=0x0;_0x506840<_0x2b487d;_0x506840+=0x4)_0xfe3791[_0x2426ba(0x145)](_0x2daf1a);var _0xce3f44=_0x50b006[_0x2426ba(0x10a)](_0xfe3791,_0x2b487d);_0x2065d2[_0x2426ba(0x322)](_0xce3f44);},'unpad':function(_0x42981b){var _0x27c7d7=_0x52eec0,_0x41175c=_0x42981b[_0x27c7d7(0x274)][_0x42981b[_0x27c7d7(0x3ab)]-0x1>>>0x2]&0xff;_0x42981b[_0x27c7d7(0x3ab)]-=_0x41175c;}};_0x3b5b61[_0x52eec0(0x349)]=_0x37ee99[_0x52eec0(0x3a7)]({'cfg':_0x37ee99[_0x52eec0(0x11f)]['extend']({'mode':_0x20b03f,'padding':_0x4586d6}),'reset':function(){var _0x342547=_0x52eec0,_0x466345;_0x37ee99[_0x342547(0x327)][_0x342547(0x148)](this);var _0x2056d5=this[_0x342547(0x11f)],_0x2c810c=_0x2056d5['iv'],_0x54dab2=_0x2056d5[_0x342547(0x111)];this[_0x342547(0x311)]==this['_ENC_XFORM_MODE']?_0x466345=_0x54dab2[_0x342547(0x113)]:(_0x466345=_0x54dab2[_0x342547(0x26b)],this[_0x342547(0x185)]=0x1),this['_mode']&&this[_0x342547(0x154)][_0x342547(0x173)]==_0x466345?this['_mode'][_0x342547(0x45a)](this,_0x2c810c&&_0x2c810c[_0x342547(0x274)]):(this[_0x342547(0x154)]=_0x466345[_0x342547(0x148)](_0x54dab2,this,_0x2c810c&&_0x2c810c[_0x342547(0x274)]),this[_0x342547(0x154)]['__creator']=_0x466345);},'_doProcessBlock':function(_0x1362ff,_0x4b1669){var _0x541dcf=_0x52eec0;this[_0x541dcf(0x154)][_0x541dcf(0x409)](_0x1362ff,_0x4b1669);},'_doFinalize':function(){var _0x5c798d=_0x52eec0,_0x2a63c5,_0x518fce=this[_0x5c798d(0x11f)][_0x5c798d(0x34d)];return this[_0x5c798d(0x311)]==this['_ENC_XFORM_MODE']?(_0x518fce[_0x5c798d(0x306)](this[_0x5c798d(0x1ec)],this[_0x5c798d(0x428)]),_0x2a63c5=this[_0x5c798d(0x3c1)](!0x0)):(_0x2a63c5=this[_0x5c798d(0x3c1)](!0x0),_0x518fce[_0x5c798d(0x139)](_0x2a63c5)),_0x2a63c5;},'blockSize':0x80/0x20});var _0x3320eb=_0x3b5b61[_0x52eec0(0x424)]=_0x1f905[_0x52eec0(0x3a7)]({'init':function(_0x8897c7){var _0x197b64=_0x52eec0;this[_0x197b64(0x448)](_0x8897c7);},'toString':function(_0x4800ad){var _0x3b09fa=_0x52eec0;return(_0x4800ad||this[_0x3b09fa(0x1de)])[_0x3b09fa(0x30a)](this);}}),_0x34fe7d=_0x2a264b[_0x52eec0(0x352)]={},_0x4c0db9=_0x34fe7d[_0x52eec0(0x159)]={'stringify':function(_0x21600c){var _0x554e05=_0x52eec0,_0x27d8e5,_0x1deb7a=_0x21600c['ciphertext'],_0x2af144=_0x21600c[_0x554e05(0x2c0)];return _0x2af144?_0x27d8e5=_0x50b006[_0x554e05(0x10a)]([0x53616c74,0x65645f5f])[_0x554e05(0x322)](_0x2af144)[_0x554e05(0x322)](_0x1deb7a):_0x27d8e5=_0x1deb7a,_0x27d8e5[_0x554e05(0x10c)](_0x5ef07b);},'parse':function(_0x35d787){var _0x3ed3e6=_0x52eec0,_0x3d64a7,_0x90f8a7=_0x5ef07b['parse'](_0x35d787),_0x31d6e6=_0x90f8a7[_0x3ed3e6(0x274)];return _0x31d6e6[0x0]==0x53616c74&&_0x31d6e6[0x1]==0x65645f5f&&(_0x3d64a7=_0x50b006['create'](_0x31d6e6[_0x3ed3e6(0x35e)](0x2,0x4)),_0x31d6e6[_0x3ed3e6(0x160)](0x0,0x4),_0x90f8a7[_0x3ed3e6(0x3ab)]-=0x10),_0x3320eb[_0x3ed3e6(0x10a)]({'ciphertext':_0x90f8a7,'salt':_0x3d64a7});}},_0x488ea5=_0x3b5b61[_0x52eec0(0x389)]=_0x1f905['extend']({'cfg':_0x1f905[_0x52eec0(0x3a7)]({'format':_0x4c0db9}),'encrypt':function(_0x158521,_0x55a8c2,_0x1cff2c,_0x1539b6){var _0x2b8c73=_0x52eec0;_0x1539b6=this[_0x2b8c73(0x11f)]['extend'](_0x1539b6);var _0x2fb5a=_0x158521[_0x2b8c73(0x113)](_0x1cff2c,_0x1539b6),_0x232306=_0x2fb5a[_0x2b8c73(0x3c9)](_0x55a8c2),_0x14d932=_0x2fb5a[_0x2b8c73(0x11f)];return _0x3320eb['create']({'ciphertext':_0x232306,'key':_0x1cff2c,'iv':_0x14d932['iv'],'algorithm':_0x158521,'mode':_0x14d932[_0x2b8c73(0x111)],'padding':_0x14d932[_0x2b8c73(0x34d)],'blockSize':_0x158521[_0x2b8c73(0x428)],'formatter':_0x1539b6[_0x2b8c73(0x352)]});},'decrypt':function(_0x56bccd,_0x49c302,_0x2f605e,_0x31a1c6){var _0x316bb1=_0x52eec0;_0x31a1c6=this[_0x316bb1(0x11f)][_0x316bb1(0x3a7)](_0x31a1c6),_0x49c302=this[_0x316bb1(0x34f)](_0x49c302,_0x31a1c6[_0x316bb1(0x352)]);var _0x390e09=_0x56bccd[_0x316bb1(0x26b)](_0x2f605e,_0x31a1c6)['finalize'](_0x49c302[_0x316bb1(0x20e)]);return _0x390e09;},'_parse':function(_0x503e97,_0x1474c1){var _0x4ee360=_0x52eec0;return typeof _0x503e97==_0x4ee360(0x22b)?_0x1474c1['parse'](_0x503e97,this):_0x503e97;}}),_0x1b6efb=_0x2a264b[_0x52eec0(0x149)]={},_0x4c49b7=_0x1b6efb[_0x52eec0(0x159)]={'execute':function(_0x55a0d9,_0x3afd98,_0x41ebab,_0x12470b,_0x1dfd1a){var _0x4036bd=_0x52eec0;if(_0x12470b||(_0x12470b=_0x50b006[_0x4036bd(0x35b)](0x40/0x8)),_0x1dfd1a)var _0x4f5c66=_0x1673c3[_0x4036bd(0x10a)]({'keySize':_0x3afd98+_0x41ebab,'hasher':_0x1dfd1a})[_0x4036bd(0x21d)](_0x55a0d9,_0x12470b);else var _0x4f5c66=_0x1673c3[_0x4036bd(0x10a)]({'keySize':_0x3afd98+_0x41ebab})[_0x4036bd(0x21d)](_0x55a0d9,_0x12470b);var _0x15c1fa=_0x50b006[_0x4036bd(0x10a)](_0x4f5c66[_0x4036bd(0x274)][_0x4036bd(0x35e)](_0x3afd98),_0x41ebab*0x4);return _0x4f5c66['sigBytes']=_0x3afd98*0x4,_0x3320eb[_0x4036bd(0x10a)]({'key':_0x4f5c66,'iv':_0x15c1fa,'salt':_0x12470b});}},_0x365fe9=_0x3b5b61[_0x52eec0(0x1f7)]=_0x488ea5['extend']({'cfg':_0x488ea5[_0x52eec0(0x11f)][_0x52eec0(0x3a7)]({'kdf':_0x4c49b7}),'encrypt':function(_0x331b1f,_0x39bd7b,_0xf69724,_0x592664){var _0x2e7f4e=_0x52eec0;_0x592664=this[_0x2e7f4e(0x11f)][_0x2e7f4e(0x3a7)](_0x592664);var _0x2566d8=_0x592664['kdf'][_0x2e7f4e(0x210)](_0xf69724,_0x331b1f[_0x2e7f4e(0x205)],_0x331b1f[_0x2e7f4e(0x2ff)],_0x592664[_0x2e7f4e(0x2c0)],_0x592664[_0x2e7f4e(0x183)]);_0x592664['iv']=_0x2566d8['iv'];var _0xcfa363=_0x488ea5['encrypt'][_0x2e7f4e(0x148)](this,_0x331b1f,_0x39bd7b,_0x2566d8[_0x2e7f4e(0x2e1)],_0x592664);return _0xcfa363[_0x2e7f4e(0x448)](_0x2566d8),_0xcfa363;},'decrypt':function(_0x22b5c4,_0x5d4e5c,_0x3df969,_0x2a2715){var _0x80c589=_0x52eec0;_0x2a2715=this['cfg'][_0x80c589(0x3a7)](_0x2a2715),_0x5d4e5c=this[_0x80c589(0x34f)](_0x5d4e5c,_0x2a2715[_0x80c589(0x352)]);var _0x1546d1=_0x2a2715['kdf'][_0x80c589(0x210)](_0x3df969,_0x22b5c4[_0x80c589(0x205)],_0x22b5c4[_0x80c589(0x2ff)],_0x5d4e5c['salt'],_0x2a2715[_0x80c589(0x183)]);_0x2a2715['iv']=_0x1546d1['iv'];var _0xd8cfad=_0x488ea5[_0x80c589(0x228)][_0x80c589(0x148)](this,_0x22b5c4,_0x5d4e5c,_0x1546d1[_0x80c589(0x2e1)],_0x2a2715);return _0xd8cfad;}});}();}));}(Te)),Te[_0x3e7891(0x272)];}var Vi=fe[_0x4dad21(0x272)],st;function Ki(){var _0xeff1e6=_0x4dad21;return st||(st=0x1,function(_0x13096c,_0x3bd189){(function(_0x383937,_0x10757c,_0x26c827){var _0x236052=_0x5c5f;_0x13096c[_0x236052(0x272)]=_0x10757c(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x394f24){return(function(){var _0x2db49b=_0x5c5f,_0xa0a21c=_0x394f24,_0x4c5593=_0xa0a21c[_0x2db49b(0x297)],_0x14d62d=_0x4c5593[_0x2db49b(0x349)],_0x1c17b5=_0xa0a21c[_0x2db49b(0x250)],_0x59dcd6=[],_0x7b9546=[],_0x3486d4=[],_0x70c443=[],_0x44b358=[],_0x50bb10=[],_0x3ff0ed=[],_0x126723=[],_0x1e14a1=[],_0x27c800=[];(function(){for(var _0x1983ca=[],_0x15726c=0x0;_0x15726c<0x100;_0x15726c++)_0x15726c<0x80?_0x1983ca[_0x15726c]=_0x15726c<<0x1:_0x1983ca[_0x15726c]=_0x15726c<<0x1^0x11b;for(var _0x2ed298=0x0,_0x3a5e9b=0x0,_0x15726c=0x0;_0x15726c<0x100;_0x15726c++){var _0x30b14c=_0x3a5e9b^_0x3a5e9b<<0x1^_0x3a5e9b<<0x2^_0x3a5e9b<<0x3^_0x3a5e9b<<0x4;_0x30b14c=_0x30b14c>>>0x8^_0x30b14c&0xff^0x63,_0x59dcd6[_0x2ed298]=_0x30b14c,_0x7b9546[_0x30b14c]=_0x2ed298;var _0x39dcf8=_0x1983ca[_0x2ed298],_0x52166e=_0x1983ca[_0x39dcf8],_0x147dc6=_0x1983ca[_0x52166e],_0x348dbf=_0x1983ca[_0x30b14c]*0x101^_0x30b14c*0x1010100;_0x3486d4[_0x2ed298]=_0x348dbf<<0x18|_0x348dbf>>>0x8,_0x70c443[_0x2ed298]=_0x348dbf<<0x10|_0x348dbf>>>0x10,_0x44b358[_0x2ed298]=_0x348dbf<<0x8|_0x348dbf>>>0x18,_0x50bb10[_0x2ed298]=_0x348dbf;var _0x348dbf=_0x147dc6*0x1010101^_0x52166e*0x10001^_0x39dcf8*0x101^_0x2ed298*0x1010100;_0x3ff0ed[_0x30b14c]=_0x348dbf<<0x18|_0x348dbf>>>0x8,_0x126723[_0x30b14c]=_0x348dbf<<0x10|_0x348dbf>>>0x10,_0x1e14a1[_0x30b14c]=_0x348dbf<<0x8|_0x348dbf>>>0x18,_0x27c800[_0x30b14c]=_0x348dbf,_0x2ed298?(_0x2ed298=_0x39dcf8^_0x1983ca[_0x1983ca[_0x1983ca[_0x147dc6^_0x39dcf8]]],_0x3a5e9b^=_0x1983ca[_0x1983ca[_0x3a5e9b]]):_0x2ed298=_0x3a5e9b=0x1;}}());var _0x478a6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x377338=_0x1c17b5[_0x2db49b(0x466)]=_0x14d62d[_0x2db49b(0x3a7)]({'_doReset':function(){var _0x141ffa=_0x2db49b,_0x1dd732;if(!(this['_nRounds']&&this[_0x141ffa(0x226)]===this[_0x141ffa(0x3ee)])){for(var _0x16996b=this[_0x141ffa(0x226)]=this['_key'],_0xf4f23a=_0x16996b[_0x141ffa(0x274)],_0x22b6f1=_0x16996b[_0x141ffa(0x3ab)]/0x4,_0x537e69=this['_nRounds']=_0x22b6f1+0x6,_0x306b0d=(_0x537e69+0x1)*0x4,_0x41e3c5=this['_keySchedule']=[],_0x588c89=0x0;_0x588c89<_0x306b0d;_0x588c89++)_0x588c89<_0x22b6f1?_0x41e3c5[_0x588c89]=_0xf4f23a[_0x588c89]:(_0x1dd732=_0x41e3c5[_0x588c89-0x1],_0x588c89%_0x22b6f1?_0x22b6f1>0x6&&_0x588c89%_0x22b6f1==0x4&&(_0x1dd732=_0x59dcd6[_0x1dd732>>>0x18]<<0x18|_0x59dcd6[_0x1dd732>>>0x10&0xff]<<0x10|_0x59dcd6[_0x1dd732>>>0x8&0xff]<<0x8|_0x59dcd6[_0x1dd732&0xff]):(_0x1dd732=_0x1dd732<<0x8|_0x1dd732>>>0x18,_0x1dd732=_0x59dcd6[_0x1dd732>>>0x18]<<0x18|_0x59dcd6[_0x1dd732>>>0x10&0xff]<<0x10|_0x59dcd6[_0x1dd732>>>0x8&0xff]<<0x8|_0x59dcd6[_0x1dd732&0xff],_0x1dd732^=_0x478a6b[_0x588c89/_0x22b6f1|0x0]<<0x18),_0x41e3c5[_0x588c89]=_0x41e3c5[_0x588c89-_0x22b6f1]^_0x1dd732);for(var _0x5b5a8d=this[_0x141ffa(0x1cd)]=[],_0x2bdaa5=0x0;_0x2bdaa5<_0x306b0d;_0x2bdaa5++){var _0x588c89=_0x306b0d-_0x2bdaa5;if(_0x2bdaa5%0x4)var _0x1dd732=_0x41e3c5[_0x588c89];else var _0x1dd732=_0x41e3c5[_0x588c89-0x4];_0x2bdaa5<0x4||_0x588c89<=0x4?_0x5b5a8d[_0x2bdaa5]=_0x1dd732:_0x5b5a8d[_0x2bdaa5]=_0x3ff0ed[_0x59dcd6[_0x1dd732>>>0x18]]^_0x126723[_0x59dcd6[_0x1dd732>>>0x10&0xff]]^_0x1e14a1[_0x59dcd6[_0x1dd732>>>0x8&0xff]]^_0x27c800[_0x59dcd6[_0x1dd732&0xff]];}}},'encryptBlock':function(_0xae4606,_0x58ab9b){var _0x3762b8=_0x2db49b;this[_0x3762b8(0x13c)](_0xae4606,_0x58ab9b,this[_0x3762b8(0x3fc)],_0x3486d4,_0x70c443,_0x44b358,_0x50bb10,_0x59dcd6);},'decryptBlock':function(_0x1b6d29,_0x3dbd8c){var _0xe659b2=_0x2db49b,_0x9cf7bf=_0x1b6d29[_0x3dbd8c+0x1];_0x1b6d29[_0x3dbd8c+0x1]=_0x1b6d29[_0x3dbd8c+0x3],_0x1b6d29[_0x3dbd8c+0x3]=_0x9cf7bf,this['_doCryptBlock'](_0x1b6d29,_0x3dbd8c,this[_0xe659b2(0x1cd)],_0x3ff0ed,_0x126723,_0x1e14a1,_0x27c800,_0x7b9546);var _0x9cf7bf=_0x1b6d29[_0x3dbd8c+0x1];_0x1b6d29[_0x3dbd8c+0x1]=_0x1b6d29[_0x3dbd8c+0x3],_0x1b6d29[_0x3dbd8c+0x3]=_0x9cf7bf;},'_doCryptBlock':function(_0x1fe895,_0xfdcedb,_0x8ab751,_0x45ab0b,_0x106bd8,_0x1a22ad,_0x4aa811,_0x1897c9){var _0x148473=_0x2db49b;for(var _0x21c82b=this[_0x148473(0x440)],_0x4961ef=_0x1fe895[_0xfdcedb]^_0x8ab751[0x0],_0x3ce993=_0x1fe895[_0xfdcedb+0x1]^_0x8ab751[0x1],_0x200930=_0x1fe895[_0xfdcedb+0x2]^_0x8ab751[0x2],_0x575e57=_0x1fe895[_0xfdcedb+0x3]^_0x8ab751[0x3],_0x5bee77=0x4,_0x2783d5=0x1;_0x2783d5<_0x21c82b;_0x2783d5++){var _0x1cf6d=_0x45ab0b[_0x4961ef>>>0x18]^_0x106bd8[_0x3ce993>>>0x10&0xff]^_0x1a22ad[_0x200930>>>0x8&0xff]^_0x4aa811[_0x575e57&0xff]^_0x8ab751[_0x5bee77++],_0x36a007=_0x45ab0b[_0x3ce993>>>0x18]^_0x106bd8[_0x200930>>>0x10&0xff]^_0x1a22ad[_0x575e57>>>0x8&0xff]^_0x4aa811[_0x4961ef&0xff]^_0x8ab751[_0x5bee77++],_0x38793c=_0x45ab0b[_0x200930>>>0x18]^_0x106bd8[_0x575e57>>>0x10&0xff]^_0x1a22ad[_0x4961ef>>>0x8&0xff]^_0x4aa811[_0x3ce993&0xff]^_0x8ab751[_0x5bee77++],_0x4512f7=_0x45ab0b[_0x575e57>>>0x18]^_0x106bd8[_0x4961ef>>>0x10&0xff]^_0x1a22ad[_0x3ce993>>>0x8&0xff]^_0x4aa811[_0x200930&0xff]^_0x8ab751[_0x5bee77++];_0x4961ef=_0x1cf6d,_0x3ce993=_0x36a007,_0x200930=_0x38793c,_0x575e57=_0x4512f7;}var _0x1cf6d=(_0x1897c9[_0x4961ef>>>0x18]<<0x18|_0x1897c9[_0x3ce993>>>0x10&0xff]<<0x10|_0x1897c9[_0x200930>>>0x8&0xff]<<0x8|_0x1897c9[_0x575e57&0xff])^_0x8ab751[_0x5bee77++],_0x36a007=(_0x1897c9[_0x3ce993>>>0x18]<<0x18|_0x1897c9[_0x200930>>>0x10&0xff]<<0x10|_0x1897c9[_0x575e57>>>0x8&0xff]<<0x8|_0x1897c9[_0x4961ef&0xff])^_0x8ab751[_0x5bee77++],_0x38793c=(_0x1897c9[_0x200930>>>0x18]<<0x18|_0x1897c9[_0x575e57>>>0x10&0xff]<<0x10|_0x1897c9[_0x4961ef>>>0x8&0xff]<<0x8|_0x1897c9[_0x3ce993&0xff])^_0x8ab751[_0x5bee77++],_0x4512f7=(_0x1897c9[_0x575e57>>>0x18]<<0x18|_0x1897c9[_0x4961ef>>>0x10&0xff]<<0x10|_0x1897c9[_0x3ce993>>>0x8&0xff]<<0x8|_0x1897c9[_0x200930&0xff])^_0x8ab751[_0x5bee77++];_0x1fe895[_0xfdcedb]=_0x1cf6d,_0x1fe895[_0xfdcedb+0x1]=_0x36a007,_0x1fe895[_0xfdcedb+0x2]=_0x38793c,_0x1fe895[_0xfdcedb+0x3]=_0x4512f7;},'keySize':0x100/0x20});_0xa0a21c[_0x2db49b(0x466)]=_0x14d62d[_0x2db49b(0x101)](_0x377338);}()),_0x394f24['AES'];}));}(fe)),fe[_0xeff1e6(0x272)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x4dad21(0x272)],at;function Xi(){var _0x558fb8=_0x4dad21;return at||(at=0x1,function(_0xfb6c3c,_0x52d129){(function(_0x36165a,_0x200409){var _0x37c34e=_0x5c5f;_0xfb6c3c[_0x37c34e(0x272)]=_0x200409(ee());}(Ji,function(_0x424a2a){var _0x2cf57d=_0x5c5f;return _0x424a2a[_0x2cf57d(0x2a7)][_0x2cf57d(0x194)];}));}(be)),be[_0x558fb8(0x272)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x4dad21(0x272)],ct;function tn(){return ct||(ct=0x1,function(_0x500d03,_0x134af3){(function(_0x36cae3,_0x9b82ec){_0x500d03['exports']=_0x9b82ec(ee());}(en,function(_0x4b0305){var _0x1e8b4e=_0x5c5f;return(function(){var _0x1360c4=_0x5c5f;if(typeof ArrayBuffer=='function'){var _0x2da250=_0x4b0305,_0x2d7022=_0x2da250['lib'],_0x5f4e63=_0x2d7022['WordArray'],_0x2f3035=_0x5f4e63['init'],_0x26379d=_0x5f4e63[_0x1360c4(0x45a)]=function(_0x12497a){var _0x18d64a=_0x1360c4;if(_0x12497a instanceof ArrayBuffer&&(_0x12497a=new Uint8Array(_0x12497a)),(_0x12497a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12497a instanceof Uint8ClampedArray||_0x12497a instanceof Int16Array||_0x12497a instanceof Uint16Array||_0x12497a instanceof Int32Array||_0x12497a instanceof Uint32Array||_0x12497a instanceof Float32Array||_0x12497a instanceof Float64Array)&&(_0x12497a=new Uint8Array(_0x12497a['buffer'],_0x12497a[_0x18d64a(0x2dd)],_0x12497a[_0x18d64a(0x415)])),_0x12497a instanceof Uint8Array){for(var _0x74625=_0x12497a[_0x18d64a(0x415)],_0x13df49=[],_0x1ec58=0x0;_0x1ec58<_0x74625;_0x1ec58++)_0x13df49[_0x1ec58>>>0x2]|=_0x12497a[_0x1ec58]<<0x18-_0x1ec58%0x4*0x8;_0x2f3035[_0x18d64a(0x148)](this,_0x13df49,_0x74625);}else _0x2f3035[_0x18d64a(0x263)](this,arguments);};_0x26379d['prototype']=_0x5f4e63;}}()),_0x4b0305[_0x1e8b4e(0x297)][_0x1e8b4e(0x3b9)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x4dad21(0x272)],ht;function on(){var _0x39840b=_0x4dad21;return ht||(ht=0x1,function(_0x54b931,_0x327bf3){(function(_0x2ffa17,_0x57b92d,_0x5430af){var _0x2c37bb=_0x5c5f;_0x54b931[_0x2c37bb(0x272)]=_0x57b92d(ee(),At());}(sn,function(_0x1f1ea5){var _0x1a8575=_0x5c5f;return _0x1f1ea5['pad'][_0x1a8575(0x2ab)]={'pad':function(){},'unpad':function(){}},_0x1f1ea5[_0x1a8575(0x306)][_0x1a8575(0x2ab)];}));}(ye)),ye[_0x39840b(0x272)];}var an=on();const cn=Se(an);function hn(_0x1af141,_0x51d97a){var _0x2e53c8=_0x4dad21;const _0x3696cd=_0x51d97a-_0x1af141['length']%_0x51d97a,_0x2d0de1=String[_0x2e53c8(0x163)](_0x3696cd)['repeat'](_0x3696cd);return _0x1af141+_0x2d0de1;}function ln(_0x38f836,_0x176e2a){var _0x26ebe4=_0x4dad21;const _0x1a3f30=rn[_0x26ebe4(0x35b)](0x10),_0x458090=hn(_0x38f836,0x10),_0x357b06=qi['encrypt'](Qi[_0x26ebe4(0x234)](_0x458090),ot[_0x26ebe4(0x234)](_0x176e2a),{'iv':_0x1a3f30,'padding':cn});return _0x1a3f30[_0x26ebe4(0x322)](_0x357b06[_0x26ebe4(0x20e)])[_0x26ebe4(0x10c)](ot);}function _n(){var _0x3e78a9=_0x4dad21;const _0x49ab8d=xt[_0x3e78a9(0x12a)]()[_0x3e78a9(0x347)];if(_0x49ab8d){const _0x17af88={'time':Math[_0x3e78a9(0x2bc)](Date[_0x3e78a9(0x369)]()/0x3e8),'domain':location[_0x3e78a9(0x3e9)]};return ln(JSON[_0x3e78a9(0x30a)](_0x17af88),_0x49ab8d);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x582cc2,_0x50b8af,_0x551efb,_0x245495)=>{var _0x122380=_0x4dad21;for(var _0x5e1676=_0x245495>0x1?void 0x0:_0x245495?un(_0x50b8af,_0x551efb):_0x50b8af,_0x2ecafb=_0x582cc2[_0x122380(0x29e)]-0x1,_0x321ef6;_0x2ecafb>=0x0;_0x2ecafb--)(_0x321ef6=_0x582cc2[_0x2ecafb])&&(_0x5e1676=_0x321ef6(_0x5e1676)||_0x5e1676);return _0x5e1676;},vn=(_0x36d342,_0x431e88)=>(_0x281107,_0x26373)=>_0x431e88(_0x281107,_0x26373,_0x36d342);let Ne=class{constructor(_0x52bfba){var _0x4e1932=_0x4dad21;this['_httpService']=_0x52bfba,this[_0x4e1932(0x412)]();}[_0x4dad21(0x412)](){var _0x28ab6f=_0x4dad21;this[_0x28ab6f(0x1ea)][_0x28ab6f(0x367)]({'interceptor':(_0x2bfa7c,_0x2bcbf0)=>{var _0x102fd3=_0x28ab6f;const _0x48276b=_0x2bfa7c[_0x102fd3(0xfb)],_0x48bc25=_n();return _0x48bc25&&_0x48276b[_0x102fd3(0x358)](_0x102fd3(0x138),_0x48bc25),_0x2bcbf0(_0x2bfa7c);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x4dad21(0x1cf)]))],Ne);var Sn=Object[_0x4dad21(0x10f)],fn=(_0x37312f,_0x593f22,_0x2670ef,_0x2ff495)=>{var _0x24c87f=_0x4dad21;for(var _0x2f25ac=_0x2ff495>0x1?void 0x0:_0x2ff495?Sn(_0x593f22,_0x2670ef):_0x593f22,_0x1a52f1=_0x37312f[_0x24c87f(0x29e)]-0x1,_0x2b4ca1;_0x1a52f1>=0x0;_0x1a52f1--)(_0x2b4ca1=_0x37312f[_0x1a52f1])&&(_0x2f25ac=_0x2b4ca1(_0x2f25ac)||_0x2f25ac);return _0x2f25ac;},Me=(_0x4b6957,_0x4004f1)=>(_0x172ffe,_0x566bfd)=>_0x4004f1(_0x172ffe,_0x566bfd,_0x4b6957);exports[_0x4dad21(0x1ba)]=class extends a[_0x4dad21(0x211)]{constructor(_0xb12afd,_0x1bbbc1,_0x509145){var _0x4f8818=_0x4dad21;super(),P(this,_0x4f8818(0x35c),new j['BehaviorSubject'](null)),P(this,'unitInfo$',this[_0x4f8818(0x35c)]['asObservable']()),(this[_0x4f8818(0x301)]=_0xb12afd,this[_0x4f8818(0x229)]=_0x1bbbc1,this[_0x4f8818(0x128)]=_0x509145);}async[_0x4dad21(0x296)](_0x3fcc2b,_0x4da32f,_0x18b004){var _0x488d2c=_0x4dad21;this[_0x488d2c(0x35c)]['next']({'unitId':_0x3fcc2b,'type':_0x4da32f,'subUnitId':_0x18b004});let _0x139030=null;switch(_0x4da32f){case X[_0x488d2c(0x40a)]:{_0x139030=await this[_0x488d2c(0x108)](_0x3fcc2b);break;}case X['UNIVER_DOC']:{_0x139030=await this[_0x488d2c(0x315)](_0x3fcc2b);break;}default:{this[_0x488d2c(0x301)][_0x488d2c(0x30b)](_0x488d2c(0x3b6),_0x488d2c(0x12e));break;}}return _0x139030;}async['_loadSheet'](_0x189726){var _0x3765bb=_0x4dad21,_0x45600f;let _0x207108=0x0;const _0x49cb4e=await((_0x45600f=this[_0x3765bb(0x128)])==null?void 0x0:_0x45600f['loadOfflineData'](_0x189726));return _0x49cb4e&&(_0x49cb4e[_0x3765bb(0x3a2)]||_0x49cb4e[_0x3765bb(0x2d8)][_0x3765bb(0x29e)]!==0x0)&&(_0x207108=_0x49cb4e[_0x3765bb(0x1e0)]),_0x207108===0x0&&this[_0x3765bb(0x301)][_0x3765bb(0x2b7)](_0x3765bb(0x3b6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3765bb(0x229)][_0x3765bb(0x363)](_0x189726,_0x207108);}async[_0x4dad21(0x315)](_0x5a3865){var _0x148d18=_0x4dad21,_0x31ff7e;let _0x587335=0x0;const _0x3ba560=await((_0x31ff7e=this[_0x148d18(0x128)])==null?void 0x0:_0x31ff7e[_0x148d18(0x1e9)](_0x5a3865));return _0x3ba560&&(_0x3ba560[_0x148d18(0x3a2)]||_0x3ba560[_0x148d18(0x2d8)]['length']!==0x0)&&(_0x587335=_0x3ba560[_0x148d18(0x1e0)]),_0x587335===0x0&&this[_0x148d18(0x301)]['debug'](_0x148d18(0x3b6),_0x148d18(0x3a4)),this[_0x148d18(0x229)][_0x148d18(0x42f)](_0x5a3865,_0x587335);}},exports[_0x4dad21(0x1ba)]=fn([Me(0x0,a[_0x4dad21(0x444)]),Me(0x1,a['Inject'](g[_0x4dad21(0x3ec)])),Me(0x2,a[_0x4dad21(0x120)](z))],exports[_0x4dad21(0x1ba)]);var pn=Object[_0x4dad21(0x10f)],gn=(_0x5f460f,_0x2c50bc,_0x40d9c9,_0x3b49b3)=>{var _0x4298e3=_0x4dad21;for(var _0x57f0ca=_0x3b49b3>0x1?void 0x0:_0x3b49b3?pn(_0x2c50bc,_0x40d9c9):_0x2c50bc,_0xb5c36a=_0x5f460f[_0x4298e3(0x29e)]-0x1,_0x2e2e38;_0xb5c36a>=0x0;_0xb5c36a--)(_0x2e2e38=_0x5f460f[_0xb5c36a])&&(_0x57f0ca=_0x2e2e38(_0x57f0ca)||_0x57f0ca);return _0x57f0ca;},xe=(_0x3fad79,_0x17fa1c)=>(_0x1c8ba8,_0xd8c6b7)=>_0x17fa1c(_0x1c8ba8,_0xd8c6b7,_0x3fad79);const mn=[_0x4dad21(0x1c3),_0x4dad21(0x1e7),_0x4dad21(0x43b),_0x4dad21(0x45e),_0x4dad21(0x33f)],In=0x5*0x400*0x400,En=_0x4dad21(0x2b3),Cn=_0x4dad21(0x314),Tn=_0x4dad21(0x345),bn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0xfdc1c1,_0x21935d,_0x55c3d5){var _0x69ed14=_0x4dad21;P(this,_0x69ed14(0x32a),0x0),P(this,_0x69ed14(0x2ce),new j[(_0x69ed14(0x19a))]()),P(this,_0x69ed14(0x40b),this[_0x69ed14(0x2ce)]),P(this,_0x69ed14(0x376),new Map()),(this[_0x69ed14(0x1ea)]=_0xfdc1c1,this[_0x69ed14(0x152)]=_0x21935d,this[_0x69ed14(0x3a8)]=_0x55c3d5);}['setWaitCount'](_0x5a31a5){var _0x31c89b=_0x4dad21;this['_waitCount']=_0x5a31a5,this[_0x31c89b(0x2ce)][_0x31c89b(0x26e)](_0x5a31a5);}[_0x4dad21(0x1a9)](_0x2a7409,_0x3bd6e0){var _0x2c81b4=_0x4dad21;if(_0x3bd6e0===J[_0x2c81b4(0x328)][_0x2c81b4(0x24b)]){const _0x15d84f=new Image();return _0x15d84f[_0x2c81b4(0xfe)]=_0x2a7409,_0x15d84f;}return this[_0x2c81b4(0x376)][_0x2c81b4(0x1a1)](_0x2a7409);}[_0x4dad21(0x3be)](_0x3d278d,_0x56d028,_0x16f3be){var _0x44366b=_0x4dad21;_0x56d028===J[_0x44366b(0x328)]['BASE64']||_0x16f3be==null||this[_0x44366b(0x376)][_0x44366b(0x358)](_0x3d278d,_0x16f3be);}async[_0x4dad21(0x1ca)](_0x231034){var _0x421af3=_0x4dad21;try{const _0x102eb2=this[_0x421af3(0x20f)](this['_getSignURL'](),''+_0x231034),_0x3079cf=(await this[_0x421af3(0x1ea)][_0x421af3(0x1a1)](_0x102eb2))[_0x421af3(0x3bd)];if(_0x3079cf['error']&&_0x3079cf[_0x421af3(0x30b)]['code']===Ct['OK']){const _0x8c1c71=new URL(_0x3079cf[_0x421af3(0x1c8)],this['_getDownloadEndpointURL']())[_0x421af3(0x10c)]();return Promise['resolve'](_0x8c1c71);}return Promise['reject'](_0x3079cf[_0x421af3(0x30b)]);}catch(_0x1a9c7a){return Promise[_0x421af3(0x391)](_0x1a9c7a);}}async['saveImage'](_0x38d8dd){var _0xb359d1=_0x4dad21;let _0x389365='';if(!mn[_0xb359d1(0x2dc)](_0x38d8dd[_0xb359d1(0x2e8)]))return this[_0xb359d1(0x38e)](),Promise[_0xb359d1(0x391)](new Error(J[_0xb359d1(0x3d6)]['ERROR_IMAGE_TYPE']));if(_0x38d8dd[_0xb359d1(0x236)]>In)return this[_0xb359d1(0x38e)](),Promise[_0xb359d1(0x391)](new Error(J[_0xb359d1(0x3d6)][_0xb359d1(0x375)]));try{const _0x498cc4=new FormData();_0x498cc4[_0xb359d1(0x395)](_0xb359d1(0x365),_0x38d8dd);const _0x685b8=this[_0xb359d1(0x3a8)][_0xb359d1(0x34b)](),_0x8adaa2=_0x685b8==null?void 0x0:_0x685b8['getUnitId']();if(!_0x8adaa2)throw new Error(_0xb359d1(0x420));const _0x5608b9=this[_0xb359d1(0x157)]()+_0xb359d1(0x100)+_0x38d8dd['size']['toString']()+_0xb359d1(0x1f1)+Tt[_0xb359d1(0x24c)]+_0xb359d1(0x41a)+encodeURIComponent(_0x8adaa2),_0x8aaa91=await(await fetch(_0x5608b9,{'method':_0xb359d1(0x1d1),'body':_0x498cc4}))['json']();if(typeof _0x8aaa91[_0xb359d1(0x2ad)]!=_0xb359d1(0x22b))return this[_0xb359d1(0x38e)](),Promise[_0xb359d1(0x391)](new Error(J[_0xb359d1(0x3d6)][_0xb359d1(0x39c)]));_0x389365=_0x8aaa91[_0xb359d1(0x2ad)];}catch{return this['_decreaseWaiting'](),Promise[_0xb359d1(0x391)](new Error(J[_0xb359d1(0x3d6)][_0xb359d1(0x39c)]));}return new Promise((_0x3bbe9a,_0x805a6c)=>{var _0x437858=_0xb359d1;const _0x3f1e43=new FileReader();_0x3f1e43[_0x437858(0x17f)](_0x38d8dd),_0x3f1e43['onload']=_0x2e6729=>{var _0x5856a5=_0x437858,_0x29cd2e;const _0x3622c8=(_0x29cd2e=_0x2e6729[_0x5856a5(0x44b)])==null?void 0x0:_0x29cd2e['result'];if(_0x3622c8==null){this[_0x5856a5(0x38e)](),_0x805a6c(new Error(J[_0x5856a5(0x3d6)][_0x5856a5(0x39c)]));return;}const _0x540bf3=a[_0x5856a5(0x1d9)]['generateRandomId'](0x6);_0x3bbe9a({'imageId':_0x540bf3,'imageSourceType':J[_0x5856a5(0x328)][_0x5856a5(0x1ed)],'source':_0x389365,'base64Cache':_0x3622c8,'status':J[_0x5856a5(0x3d6)]['SUCCUSS']}),this[_0x5856a5(0x38e)]();};});}[_0x4dad21(0x157)](){var _0x4bed86=_0x4dad21,_0x55adc3,_0x267c2b;const _0x696f0b=this[_0x4bed86(0x152)]['getConfig'](En),_0x40ba7e=this[_0x4bed86(0x152)][_0x4bed86(0x42e)](Y);return(_0x267c2b=(_0x55adc3=_0x40ba7e==null?void 0x0:_0x40ba7e[_0x4bed86(0x435)])!=null?_0x55adc3:_0x696f0b)!=null?_0x267c2b:Cn;}[_0x4dad21(0x267)](){var _0x1f8592=_0x4dad21,_0x86859f,_0x5bc9f2;const _0x242de6=this[_0x1f8592(0x152)][_0x1f8592(0x42e)](Tn),_0x3f06f1=this[_0x1f8592(0x152)]['getConfig'](Y);return(_0x5bc9f2=(_0x86859f=_0x3f06f1==null?void 0x0:_0x3f06f1[_0x1f8592(0x37e)])!=null?_0x86859f:_0x242de6)!=null?_0x5bc9f2:bn;}[_0x4dad21(0x3ad)](){var _0xa83a49=_0x4dad21,_0x5aa299;const _0x2389e5=this[_0xa83a49(0x152)][_0xa83a49(0x42e)](Y);return(_0x5aa299=_0x2389e5==null?void 0x0:_0x2389e5[_0xa83a49(0x3d7)])!=null?_0x5aa299:location['origin'];}[_0x4dad21(0x20f)](_0x139e98,_0x33ba60){var _0x4dd8bc=_0x4dad21;return _0x139e98['replace'](_0x4dd8bc(0x371),_0x33ba60);}[_0x4dad21(0x38e)](){var _0x314e7b=_0x4dad21;this[_0x314e7b(0x32a)]-=0x1,this[_0x314e7b(0x2ce)][_0x314e7b(0x26e)](this[_0x314e7b(0x32a)]);}},exports[_0x4dad21(0x28b)]=gn([xe(0x0,a[_0x4dad21(0x438)](q[_0x4dad21(0x1cf)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a[_0x4dad21(0x13f)]))],exports[_0x4dad21(0x28b)]);var Rn=Object[_0x4dad21(0x10f)],yn=(_0x20e930,_0x4dcf85,_0xcf9e4c,_0x145122)=>{var _0x4694a8=_0x4dad21;for(var _0xbdfcb1=_0x145122>0x1?void 0x0:_0x145122?Rn(_0x4dcf85,_0xcf9e4c):_0x4dcf85,_0x4ac17a=_0x20e930[_0x4694a8(0x29e)]-0x1,_0x43977f;_0x4ac17a>=0x0;_0x4ac17a--)(_0x43977f=_0x20e930[_0x4ac17a])&&(_0xbdfcb1=_0x43977f(_0xbdfcb1)||_0xbdfcb1);return _0xbdfcb1;},lt=(_0xc198ae,_0x591a03)=>(_0x4bb7b2,_0x4d57e2)=>_0x591a03(_0x4bb7b2,_0x4d57e2,_0xc198ae);const On='/universer-api/authz';exports[_0x4dad21(0x351)]=class{constructor(_0x28ef0e,_0x4e85f6){var _0x430398=_0x4dad21;this['_configService']=_0x28ef0e,this[_0x430398(0x264)]=_0x4e85f6;}['_getAPIPrefixPath'](){var _0x16caed=_0x4dad21,_0x42996b,_0x8f4ec2;const _0x3d5d4c=this[_0x16caed(0x152)][_0x16caed(0x42e)](Ve),_0x2881f4=this['_configService'][_0x16caed(0x42e)](Y);return(_0x8f4ec2=(_0x42996b=_0x2881f4==null?void 0x0:_0x2881f4[_0x16caed(0x39b)])!=null?_0x42996b:_0x3d5d4c)!=null?_0x8f4ec2:On;}async[_0x4dad21(0x341)](_0x446840){var _0x2ea976=_0x4dad21;const _0x35e34d=this['_getAPIPrefixPath']()+_0x2ea976(0x243);return{'list':[{'title':_0x2ea976(0x1f9),'mentions':(await this[_0x2ea976(0x264)]['get'](_0x35e34d,{'params':{'objectID':_0x446840[_0x2ea976(0x177)],'unitID':_0x446840[_0x2ea976(0x177)]}}))[_0x2ea976(0x3bd)][_0x2ea976(0x334)][_0x2ea976(0x3d1)](_0x2503ab=>({'objectId':_0x2503ab['id'],'name':_0x2503ab['subject'][_0x2ea976(0x2d9)],'metadata':{'icon':_0x2503ab['subject'][_0x2ea976(0x32e)]},'label':_0x2503ab['subject'][_0x2ea976(0x2d9)],'objectType':a[_0x2ea976(0x468)]['PERSON']})),'metadata':{},'type':a[_0x2ea976(0x468)][_0x2ea976(0x307)]}]};}},exports[_0x4dad21(0x351)]=yn([lt(0x0,a['Inject'](a[_0x4dad21(0x431)])),lt(0x1,a['Inject'](q[_0x4dad21(0x1cf)]))],exports[_0x4dad21(0x351)]);var Nn=Object[_0x4dad21(0x10f)],Dn=(_0x4fc9c5,_0xa9cb59,_0x3d544f,_0x5038ff)=>{var _0x8e1d69=_0x4dad21;for(var _0x289e76=_0x5038ff>0x1?void 0x0:_0x5038ff?Nn(_0xa9cb59,_0x3d544f):_0xa9cb59,_0x52a5c4=_0x4fc9c5[_0x8e1d69(0x29e)]-0x1,_0x25a9da;_0x52a5c4>=0x0;_0x52a5c4--)(_0x25a9da=_0x4fc9c5[_0x52a5c4])&&(_0x289e76=_0x25a9da(_0x289e76)||_0x289e76);return _0x289e76;},ue=(_0x591d8c,_0x28104f)=>(_0x36c5bc,_0x4d0cdf)=>_0x28104f(_0x36c5bc,_0x4d0cdf,_0x591d8c);let De=class extends a[_0x4dad21(0x211)]{constructor(_0x4cf746,_0x343808,_0x43b59a,_0x3436d8,_0xd206b1){var _0x28d8ec=_0x4dad21;super(),this['_injector']=_0x4cf746,this['_univerInstanceService']=_0x343808,this['_permissionService']=_0x43b59a,this['_collaborationSessionService']=_0x3436d8,this[_0x28d8ec(0x3a9)]=_0xd206b1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4dad21(0x33a)](){var _0x1da2b1=_0x4dad21;const _0x3b7e5d=async _0x1a6452=>{var _0x3c9f02=_0x5c5f;(await this[_0x3c9f02(0x11c)][_0x3c9f02(0x1f8)](_0x1a6452))[_0x3c9f02(0x3d3)]['pipe'](W[_0x3c9f02(0x339)](_0x4afdda=>_0x4afdda[_0x3c9f02(0x425)]===g[_0x3c9f02(0x13b)][_0x3c9f02(0x131)]),W[_0x3c9f02(0x203)](this['dispose$']))['subscribe'](_0x3c5d01=>{var _0x30942d=_0x3c9f02;const _0x4f1112=_0x3c5d01,{reason:_0x3c7ea2}=_0x4f1112[_0x30942d(0x16e)];this[_0x30942d(0x3a9)][_0x30942d(0x115)]({'id':Q[_0x30942d(0x3b0)],'data':_0x3c7ea2}),this[_0x30942d(0x1f2)][_0x30942d(0x40f)](new Z[(_0x30942d(0x144))](_0x1a6452)['id'],!0x1),this[_0x30942d(0x11c)][_0x30942d(0x460)](_0x1a6452);});};j[_0x1da2b1(0x269)](this['_univerInstanceService'][_0x1da2b1(0x406)](a['UniverInstanceType'][_0x1da2b1(0x40a)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1da2b1(0x2c8)]['UNIVER_DOC']))[_0x1da2b1(0x3f9)](W['map'](_0x406608=>_0x406608[_0x1da2b1(0x3d2)]()),W[_0x1da2b1(0x339)](_0x1d8157=>!a['isInternalEditorID'](_0x1d8157)),W[_0x1da2b1(0x203)](this[_0x1da2b1(0x23a)]))[_0x1da2b1(0x258)](_0x263918=>{_0x3b7e5d(_0x263918);});}[_0x4dad21(0x29f)](){var _0x23d7e6=_0x4dad21;const _0xf5256=async _0x10c04d=>{var _0x5be6b1=_0x5c5f;const _0x152520=await this['_collaborationSessionService']['requireSession'](_0x10c04d),_0x37f9d2=this[_0x5be6b1(0x3e6)]['get'](Z[_0x5be6b1(0x182)]);_0x152520[_0x5be6b1(0x3d3)][_0x5be6b1(0x3f9)](W[_0x5be6b1(0x339)](_0x128a4a=>_0x128a4a[_0x5be6b1(0x425)]===g[_0x5be6b1(0x13b)][_0x5be6b1(0x1c9)]),W[_0x5be6b1(0x203)](this[_0x5be6b1(0x23a)]))['subscribe'](_0x167e6b=>{var _0x1adc9d=_0x5be6b1;const _0x4fe874=_0x167e6b,{objectId:_0x578df3}=_0x4fe874[_0x1adc9d(0x16e)];_0x578df3===_0x10c04d?_0x37f9d2[_0x1adc9d(0x416)](_0x10c04d):_0x37f9d2[_0x1adc9d(0x248)](_0x10c04d,_0x578df3);});};j[_0x23d7e6(0x269)](this[_0x23d7e6(0x3a8)][_0x23d7e6(0x406)](a[_0x23d7e6(0x2c8)][_0x23d7e6(0x40a)]))['pipe'](W[_0x23d7e6(0x3d1)](_0x105a5b=>_0x105a5b['getUnitId']()),W['filter'](_0x47022f=>!a[_0x23d7e6(0x208)](_0x47022f)),W[_0x23d7e6(0x203)](this['dispose$']))['subscribe'](_0x5592e9=>{_0xf5256(_0x5592e9);});}};De=Dn([ue(0x0,a[_0x4dad21(0x438)](a[_0x4dad21(0x18c)])),ue(0x1,a[_0x4dad21(0x13f)]),ue(0x2,a[_0x4dad21(0x3c7)]),ue(0x3,a[_0x4dad21(0x438)](exports[_0x4dad21(0x295)])),ue(0x4,a[_0x4dad21(0x438)](te))],De);var Un=Object['getOwnPropertyDescriptor'],Pn=(_0x16f49b,_0x60754b,_0x4eb190,_0x3ae58d)=>{var _0x42fee2=_0x4dad21;for(var _0x43b193=_0x3ae58d>0x1?void 0x0:_0x3ae58d?Un(_0x60754b,_0x4eb190):_0x60754b,_0xdb8ad7=_0x16f49b[_0x42fee2(0x29e)]-0x1,_0x187daa;_0xdb8ad7>=0x0;_0xdb8ad7--)(_0x187daa=_0x16f49b[_0xdb8ad7])&&(_0x43b193=_0x187daa(_0x43b193)||_0x43b193);return _0x43b193;},_t=(_0x19e5cd,_0x2c8b7b)=>(_0x45084b,_0x5ad4c1)=>_0x2c8b7b(_0x45084b,_0x5ad4c1,_0x19e5cd);exports[_0x4dad21(0x34a)]=class{constructor(_0x13774a,_0x5eef77){var _0x5c3bd3=_0x4dad21;this[_0x5c3bd3(0x152)]=_0x13774a,this['_httpService']=_0x5eef77;}async['getUnitOnRev'](_0x461ef4,_0xf4ac09){var _0x2fbc80=_0x4dad21,_0x377cb6;const {unitID:_0x376653,type:_0x4dbb2e,revision:_0x2c9df0=0x0}=_0xf4ac09,_0x3f2596=this[_0x2fbc80(0x15f)]()+'/'+_0x4dbb2e+_0x2fbc80(0x42b)+_0x376653+_0x2fbc80(0x15a)+_0x2c9df0,_0x3629ab=(await this['_httpService'][_0x2fbc80(0x1a1)](_0x3f2596))[_0x2fbc80(0x3bd)],_0x1cbd33=(_0x377cb6=_0x3629ab[_0x2fbc80(0x2d4)])==null?void 0x0:_0x377cb6[_0x2fbc80(0x407)];if(_0x1cbd33){const _0x13cbe5=_0x1cbd33==null?void 0x0:_0x1cbd33['originalMeta'],_0x32a325=g['textEncoder'][_0x2fbc80(0x449)](g[_0x2fbc80(0x3e5)](_0x13cbe5));_0x1cbd33[_0x2fbc80(0x3c5)]=_0x32a325,Object['entries'](_0x1cbd33[_0x2fbc80(0x3c6)])[_0x2fbc80(0x360)](([,_0x4a0964])=>{var _0x2466e2=_0x2fbc80;const _0x36f290=_0x4a0964['originalMeta'],_0x44c38c=g[_0x2466e2(0x2a2)][_0x2466e2(0x449)](g[_0x2466e2(0x3e5)](_0x36f290));_0x4a0964['originalMeta']=_0x44c38c;});}return _0x3629ab;}async['getSheetBlock'](_0x187113,_0x2e157a){var _0x564788=_0x4dad21;const {unitID:_0x445bbc,type:_0x3197b7,blockID:_0x47b0bd}=_0x2e157a,_0xd8bf62=this[_0x564788(0x176)]()+'/'+_0x3197b7+_0x564788(0x42b)+_0x445bbc+'/block/'+_0x47b0bd;return(await this[_0x564788(0x1ea)][_0x564788(0x1a1)](_0xd8bf62))[_0x564788(0x3bd)];}async[_0x4dad21(0x12c)](_0x3dcc3d,_0x101297){var _0x2b68db=_0x4dad21;const {unitID:_0x4b9704,type:_0x34d58a,blockID:_0x178c8c}=_0x101297,_0x1fabc5=this[_0x2b68db(0x176)]()+'/block/'+_0x34d58a+_0x2b68db(0x42b)+_0x4b9704+_0x2b68db(0x172)+_0x178c8c;return(await this[_0x2b68db(0x1ea)][_0x2b68db(0x1a1)](_0x1fabc5))[_0x2b68db(0x3bd)];}async[_0x4dad21(0x2a5)](_0x1fc5f4,_0x4b297e){var _0x21ea58=_0x4dad21;const {unitID:_0x2b8d85,type:_0x4815e7,from:_0x49202c,to:_0x3cd914}=_0x4b297e,_0x258b75=this['_getAPIPrefix']()+'/'+_0x4815e7+_0x21ea58(0x42b)+_0x2b8d85+'/fetchmissing?from='+_0x49202c+_0x21ea58(0x18b)+_0x3cd914;return(await this[_0x21ea58(0x1ea)]['get'](_0x258b75))[_0x21ea58(0x3bd)];}[_0x4dad21(0x15f)](){var _0x35b8f6=_0x4dad21,_0x86daa;return(_0x86daa=this[_0x35b8f6(0x152)][_0x35b8f6(0x42e)](vt))!=null?_0x86daa:this[_0x35b8f6(0x176)]();}[_0x4dad21(0x176)](){var _0x4e6d3f=_0x4dad21,_0x145c4d,_0x2012f3;const _0xcf9314=this[_0x4e6d3f(0x152)]['getConfig'](dt),_0x18d844=this[_0x4e6d3f(0x152)][_0x4e6d3f(0x42e)](Y);return(_0x2012f3=(_0x145c4d=_0x18d844==null?void 0x0:_0x18d844[_0x4e6d3f(0x1c4)])!=null?_0x145c4d:_0xcf9314)!=null?_0x2012f3:kt;}async[_0x4dad21(0x106)](_0x28b39d,_0x41719b){var _0xfd8d01=_0x4dad21;const _0xbe64c0='/universer-api/snapshot/'+_0x41719b['type']+_0xfd8d01(0x42b)+_0x41719b[_0xfd8d01(0x2e6)]+'/resources';return(await this['_httpService']['get'](_0xbe64c0,{'params':{'resourceId':JSON[_0xfd8d01(0x30a)](_0x41719b[_0xfd8d01(0x30f)])}}))[_0xfd8d01(0x3bd)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4dad21(0x25b)](){var _0x240dca=_0x4dad21;throw new Error(_0x240dca(0x1fd));}[_0x4dad21(0x401)](){var _0x4a4b88=_0x4dad21;throw new Error(_0x4a4b88(0x1fd));}[_0x4dad21(0x238)](){var _0x1cecfe=_0x4dad21;throw new Error(_0x1cecfe(0x1fd));}[_0x4dad21(0x169)](){var _0x5949b4=_0x4dad21;throw new Error(_0x5949b4(0x1fd));}},exports[_0x4dad21(0x34a)]=Pn([_t(0x0,a[_0x4dad21(0x431)]),_t(0x1,a[_0x4dad21(0x438)](q[_0x4dad21(0x1cf)]))],exports[_0x4dad21(0x34a)]);var An=Object[_0x4dad21(0x10f)],wn=(_0x31a032,_0x536d5b,_0x1fc60a,_0x44891f)=>{var _0x767a3f=_0x4dad21;for(var _0x443259=_0x44891f>0x1?void 0x0:_0x44891f?An(_0x536d5b,_0x1fc60a):_0x536d5b,_0xe3acbd=_0x31a032[_0x767a3f(0x29e)]-0x1,_0x4f3d61;_0xe3acbd>=0x0;_0xe3acbd--)(_0x4f3d61=_0x31a032[_0xe3acbd])&&(_0x443259=_0x4f3d61(_0x443259)||_0x443259);return _0x443259;},de=(_0x296b63,_0x362bd7)=>(_0x548e88,_0x336f40)=>_0x362bd7(_0x548e88,_0x336f40,_0x296b63);exports[_0x4dad21(0x2f4)]=class extends a[_0x4dad21(0x2b5)]{constructor(_0x251507,_0x296df1,_0x2110a2,_0x4a9364,_0xaf0f45){var _0x56772a=_0x4dad21;super(_0x251507,_0x296df1,_0x2110a2),this[_0x56772a(0x225)]=_0x4a9364,this['_logService']=_0xaf0f45;}[_0x4dad21(0xfc)](_0xb1c3e3,_0x4831a9){var _0x3ef841=_0x4dad21;const _0x1ae23d=this[_0x3ef841(0x408)](_0xb1c3e3);if(_0x1ae23d)try{const _0x34fafb=this[_0x3ef841(0x180)](_0x1ae23d,_0x4831a9);this[_0x3ef841(0x3db)](_0xb1c3e3,_0x34fafb);}catch(_0x27ddb8){this[_0x3ef841(0x301)]['error'](_0x3ef841(0x110),_0x27ddb8),this[_0x3ef841(0x464)](_0xb1c3e3);}const _0x34cc4d=this['_getRedoStack'](_0xb1c3e3);if(_0x34cc4d)try{const _0x161189=this[_0x3ef841(0x180)](_0x34cc4d,_0x4831a9);this[_0x3ef841(0x396)](_0xb1c3e3,_0x161189);}catch(_0x4bb160){this[_0x3ef841(0x301)][_0x3ef841(0x30b)](_0x4bb160),this[_0x3ef841(0x282)](_0xb1c3e3);}}[_0x4dad21(0x464)](_0x329004){var _0x17d844=_0x4dad21;const _0x997ef7=this[_0x17d844(0x408)](_0x329004);_0x997ef7&&(_0x997ef7['length']=0x0,this[_0x17d844(0x285)]());}['_clearRedo'](_0x26a4e3){var _0x205208=_0x4dad21;const _0x62d4c=this['_getRedoStack'](_0x26a4e3);_0x62d4c&&(_0x62d4c[_0x205208(0x29e)]=0x0,this[_0x205208(0x285)]());}[_0x4dad21(0x3db)](_0x3b64d6,_0x295190){var _0x5a7c10=_0x4dad21;this[_0x5a7c10(0x1be)]['set'](_0x3b64d6,_0x295190),this[_0x5a7c10(0x285)]();}[_0x4dad21(0x396)](_0x4d210f,_0x55567e){var _0x46dab8=_0x4dad21;this[_0x46dab8(0x434)][_0x46dab8(0x358)](_0x4d210f,_0x55567e),this['_updateStatus']();}['_transformStack'](_0x3d4982,_0x3e7474){var _0x4c7203=_0x4dad21;const _0x575bb6=[];let _0x7c8b44=_0x3e7474,_0x4e181b=_0x3e7474;for(let _0xad53ce=_0x3d4982[_0x4c7203(0x29e)]-0x1;_0xad53ce>=0x0;_0xad53ce--){const {unitID:_0x2030f5,undoMutations:_0x2a5d79,redoMutations:_0x4d7df2}=_0x3d4982[_0xad53ce],_0x57133f=this[_0x4c7203(0x225)][_0x4c7203(0x31a)](_0x7c8b44,_0x2a5d79),_0x2a5f8c=this['_transformService'][_0x4c7203(0x31a)](_0x4e181b,_0x4d7df2);if(g['isTransformMutationsWithChangesetFailure'](_0x57133f)||g[_0x4c7203(0x1e8)](_0x2a5f8c)){this[_0x4c7203(0x301)][_0x4c7203(0x30b)](_0x4c7203(0x110),_0x4c7203(0x3de),_0x57133f,_0x2a5f8c);break;}_0x7c8b44=_0x57133f[_0x4c7203(0x3bb)],_0x4e181b=_0x2a5f8c[_0x4c7203(0x3bb)],_0x575bb6[_0x4c7203(0x145)]({'unitID':_0x2030f5,'undoMutations':_0x57133f['m2Prime'],'redoMutations':_0x2a5f8c[_0x4c7203(0x3f1)]});}return _0x575bb6['reverse']();}},exports[_0x4dad21(0x2f4)]=wn([de(0x0,a[_0x4dad21(0x13f)]),de(0x1,a['ICommandService']),de(0x2,a[_0x4dad21(0x1c2)]),de(0x3,g['ITransformService']),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object[_0x4dad21(0x10f)],xn=(_0x58d473,_0x3c54b,_0x57eec6)=>_0x3c54b in _0x58d473?Ln(_0x58d473,_0x3c54b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57eec6}):_0x58d473[_0x3c54b]=_0x57eec6,kn=(_0x682da3,_0x4244aa,_0x569b03,_0x37ec23)=>{var _0x51022c=_0x4dad21;for(var _0x477a18=_0x37ec23>0x1?void 0x0:_0x37ec23?Mn(_0x4244aa,_0x569b03):_0x4244aa,_0x1112ab=_0x682da3[_0x51022c(0x29e)]-0x1,_0x595e95;_0x1112ab>=0x0;_0x1112ab--)(_0x595e95=_0x682da3[_0x1112ab])&&(_0x477a18=_0x595e95(_0x477a18)||_0x477a18);return _0x477a18;},ke=(_0x53ce33,_0x2d6288)=>(_0x491cdb,_0x32bdc9)=>_0x2d6288(_0x491cdb,_0x32bdc9,_0x53ce33),Hn=(_0x2f1b98,_0x434a4d,_0x14838f)=>xn(_0x2f1b98,_0x434a4d+'',_0x14838f);const jn=_0x4dad21(0x239);exports[_0x4dad21(0x1b7)]=class extends a[_0x4dad21(0x3ce)]{constructor(_0x27c406,_0x2ea0f5,_0x403a3f,_0x760e75){var _0x48068d=_0x4dad21;super(),P(this,_0x48068d(0x249)),(this[_0x48068d(0x301)]=_0x2ea0f5,this['_injector']=_0x403a3f,this[_0x48068d(0x152)]=_0x760e75);const {..._0x28448f}=a[_0x48068d(0x269)]({},Jt,_0x27c406);if(!_0x28448f[_0x48068d(0x332)])throw new Error(_0x48068d(0x175));this[_0x48068d(0x249)]=_0x28448f,this['_configService'][_0x48068d(0x2db)](Y,_0x28448f);}[_0x4dad21(0x136)](){var _0x532709=_0x4dad21;this[_0x532709(0x3cf)](),this['_initDependencies']();}[_0x4dad21(0x3cf)](){var _0x3c21eb=_0x4dad21,_0x47453a,_0x29b04f;this[_0x3c21eb(0x3e6)][_0x3c21eb(0x3ea)](a['IUndoRedoService'])&&this[_0x3c21eb(0x301)]['error'](_0x3c21eb(0x374),_0x3c21eb(0x419));const _0x4e1679=a[_0x3c21eb(0x105)]([[a['IUndoRedoService'],{'useClass':exports[_0x3c21eb(0x2f4)]}],[exports[_0x3c21eb(0x295)]],[exports[_0x3c21eb(0x262)]],[exports['SheetTransformSelectionsService']],[Oe],[Ne],[Be],[De],[te],[exports[_0x3c21eb(0x1ba)]],[$e,{'useClass':this['_config'][_0x3c21eb(0x332)]}],[g[_0x3c21eb(0x218)],{'useClass':exports[_0x3c21eb(0x34a)]}],[a[_0x3c21eb(0x119)],{'useClass':exports[_0x3c21eb(0x27c)]}],[J[_0x3c21eb(0x454)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x3c21eb(0x16d)],{'useClass':exports[_0x3c21eb(0x351)]}],[exports[_0x3c21eb(0x29c)]],[He]],(_0x47453a=this[_0x3c21eb(0x249)])==null?void 0x0:_0x47453a['override']);if(!((_0x29b04f=this[_0x3c21eb(0x249)])!=null&&_0x29b04f[_0x3c21eb(0x17b)])){const _0x4cbfe2=_0x4e1679['findIndex'](([_0x4a22f0])=>_0x4a22f0===ve);_0x4cbfe2!==-0x1&&_0x4e1679['splice'](_0x4cbfe2,0x1);}a['registerDependencies'](this[_0x3c21eb(0x3e6)],_0x4e1679);}['_initDependencies'](){var _0x90336c=_0x4dad21,_0x8232e9,_0x352d44,_0x4532;this[_0x90336c(0x3e6)][_0x90336c(0x1a1)](q['HTTPService'])[_0x90336c(0x367)]({'priority':0x14,'interceptor':q[_0x90336c(0x290)]({'maxParallel':0x6})}),(_0x8232e9=this[_0x90336c(0x249)])!=null&&_0x8232e9[_0x90336c(0x153)]||(_0x352d44=this[_0x90336c(0x3e6)][_0x90336c(0x1a1)](z,a[_0x90336c(0x122)][_0x90336c(0x2e3)]))==null||_0x352d44[_0x90336c(0x337)](),(_0x4532=this['_config'])!=null&&_0x4532[_0x90336c(0x2f0)]&&a[_0x90336c(0x3aa)](this[_0x90336c(0x3e6)],[[Oe]]),a[_0x90336c(0x3aa)](this[_0x90336c(0x3e6)],[[Ne],[exports[_0x90336c(0x29c)]],[De]]);}},Hn(exports[_0x4dad21(0x1b7)],_0x4dad21(0x1f6),jn),exports[_0x4dad21(0x1b7)]=kn([a[_0x4dad21(0x2c4)](g[_0x4dad21(0x330)],q['UniverNetworkPlugin']),ke(0x1,a[_0x4dad21(0x444)]),ke(0x2,a['Inject'](a['Injector'])),ke(0x3,a[_0x4dad21(0x431)])],exports[_0x4dad21(0x1b7)]),exports[_0x4dad21(0x299)]=Ve,exports[_0x4dad21(0x28c)]=Y,exports[_0x4dad21(0x103)]=It,exports[_0x4dad21(0x25c)]=St,exports[_0x4dad21(0x3a3)]=We,exports[_0x4dad21(0x36f)]=Q,exports[_0x4dad21(0x255)]=te,exports[_0x4dad21(0x3d4)]=Be,exports[_0x4dad21(0x39f)]=ft,exports[_0x4dad21(0x181)]=zt,exports[_0x4dad21(0x309)]=$t,exports[_0x4dad21(0x23c)]=pt,exports[_0x4dad21(0x403)]=je,exports[_0x4dad21(0x2a6)]=$e,exports[_0x4dad21(0x1c6)]=z,exports[_0x4dad21(0x197)]=bt,exports[_0x4dad21(0x379)]=ve,exports['LOCAL_CACHE_INTERVAL']=Vt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports[_0x4dad21(0x319)]=Et,exports[_0x4dad21(0x2a3)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x4dad21(0xfd)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x4dad21(0x2ef)]=vt,exports['SessionStatus']=se,exports[_0x4dad21(0x3fb)]=Fe,exports[_0x4dad21(0x1ad)]=Rt,exports[_0x4dad21(0x143)]=vi,exports[_0x4dad21(0x147)]=yt;
|
1
|
+
'use strict';var _0x491a6f=_0x2315;(function(_0x435b41,_0xbb5738){var _0xf218c4=_0x2315,_0x1db926=_0x435b41();while(!![]){try{var _0x573893=parseInt(_0xf218c4(0x3ac))/0x1+-parseInt(_0xf218c4(0x17f))/0x2*(parseInt(_0xf218c4(0x27e))/0x3)+parseInt(_0xf218c4(0x43b))/0x4+-parseInt(_0xf218c4(0x3b1))/0x5+parseInt(_0xf218c4(0x3f3))/0x6+parseInt(_0xf218c4(0x2a8))/0x7+-parseInt(_0xf218c4(0x130))/0x8;if(_0x573893===_0xbb5738)break;else _0x1db926['push'](_0x1db926['shift']());}catch(_0x4d4548){_0x1db926['push'](_0x1db926['shift']());}}}(_0x352e,0x7c108));var wt=Object[_0x491a6f(0x41a)],Lt=(_0x2a9a3f,_0x6c7ac2,_0x2c370d)=>_0x6c7ac2 in _0x2a9a3f?wt(_0x2a9a3f,_0x6c7ac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c370d}):_0x2a9a3f[_0x6c7ac2]=_0x2c370d,P=(_0x59da76,_0x432a69,_0x2d7a61)=>Lt(_0x59da76,typeof _0x432a69!=_0x491a6f(0x481)?_0x432a69+'':_0x432a69,_0x2d7a61);Object[_0x491a6f(0x41a)](exports,Symbol['toStringTag'],{'value':_0x491a6f(0x18e)});const a=require(_0x491a6f(0x323)),j=require('rxjs'),W=require(_0x491a6f(0x230)),g=require(_0x491a6f(0x2e5)),q=require(_0x491a6f(0x310)),Mt=require('@univerjs/telemetry'),ut=require(_0x491a6f(0x1f6)),Z=require(_0x491a6f(0x3c2)),J=require('@univerjs/drawing'),xt=require('@univerjs-pro/license'),dt=_0x491a6f(0x458),kt='/universer-api/snapshot',vt=_0x491a6f(0x268),Ht=_0x491a6f(0x2eb),jt=0x7d0,St=_0x491a6f(0x23e),ft=_0x491a6f(0x42a),$t=_0x491a6f(0x225),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x491a6f(0x283),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Wt=0x3,Gt=_0x491a6f(0x1b8),Vt=0x3e8,It=_0x491a6f(0x32d),Kt=_0x491a6f(0x389),Et='LOGIN_URL_KEY',Yt=_0x491a6f(0x31a),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x491a6f(0x22c);var Ct=(_0xf49d62=>(_0xf49d62[_0xf49d62['UNDEFINED']=0x0]='UNDEFINED',_0xf49d62[_0xf49d62['OK']=0x1]='OK',_0xf49d62[_0xf49d62[_0x491a6f(0x1cf)]=0x2]=_0x491a6f(0x1cf),_0xf49d62[_0xf49d62['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xf49d62[_0xf49d62[_0x491a6f(0x2f1)]=0x4]='NOT_FOUND',_0xf49d62[_0xf49d62[_0x491a6f(0x2c3)]=0x5]='UNAUTHENTICATED',_0xf49d62[_0xf49d62['ALREADY_EXISTS']=0x6]=_0x491a6f(0x40d),_0xf49d62[_0xf49d62[_0x491a6f(0x3a9)]=0x7]=_0x491a6f(0x3a9),_0xf49d62[_0xf49d62['TOO_MANY_REQUESTS']=0x8]=_0x491a6f(0x3da),_0xf49d62[_0xf49d62[_0x491a6f(0x2df)]=0x9]=_0x491a6f(0x2df),_0xf49d62[_0xf49d62[_0x491a6f(0x42c)]=0x1389]=_0x491a6f(0x42c),_0xf49d62[_0xf49d62[_0x491a6f(0x38d)]=0x1771]=_0x491a6f(0x38d),_0xf49d62[_0xf49d62['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x491a6f(0x222),_0xf49d62[_0xf49d62[_0x491a6f(0x132)]=0x1773]=_0x491a6f(0x132),_0xf49d62[_0xf49d62[_0x491a6f(0x356)]=0x1b59]=_0x491a6f(0x356),_0xf49d62[_0xf49d62[_0x491a6f(0x3b8)]=0x1b5a]=_0x491a6f(0x3b8),_0xf49d62[_0xf49d62[_0x491a6f(0x446)]=0x1b5b]=_0x491a6f(0x446),_0xf49d62[_0xf49d62[_0x491a6f(0x338)]=0x1b5c]=_0x491a6f(0x338),_0xf49d62[_0xf49d62[_0x491a6f(0x270)]=0x1b5d]=_0x491a6f(0x270),_0xf49d62[_0xf49d62['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x491a6f(0x465),_0xf49d62[_0xf49d62[_0x491a6f(0x467)]=0x2329]=_0x491a6f(0x467),_0xf49d62[_0xf49d62[_0x491a6f(0x379)]=0x232a]=_0x491a6f(0x379),_0xf49d62[_0xf49d62['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf49d62[_0xf49d62[_0x491a6f(0x3bf)]=0x232c]=_0x491a6f(0x3bf),_0xf49d62[_0xf49d62['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf49d62[_0xf49d62[_0x491a6f(0x2ff)]=0x2711]=_0x491a6f(0x2ff),_0xf49d62[_0xf49d62['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xf49d62[_0xf49d62[_0x491a6f(0x1b7)]=0x2713]=_0x491a6f(0x1b7),_0xf49d62[_0xf49d62['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xf49d62[_0xf49d62[_0x491a6f(0x275)]=0x2af9]=_0x491a6f(0x275),_0xf49d62[_0xf49d62[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0xf49d62))(Ct||{}),X=(_0x7522ac=>(_0x7522ac[_0x7522ac[_0x491a6f(0x276)]=0x0]=_0x491a6f(0x276),_0x7522ac[_0x7522ac[_0x491a6f(0x341)]=0x1]='UNIVER_DOC',_0x7522ac[_0x7522ac['UNIVER_SHEET']=0x2]=_0x491a6f(0x2fc),_0x7522ac[_0x7522ac[_0x491a6f(0x1e0)]=0x3]=_0x491a6f(0x1e0),_0x7522ac[_0x7522ac['UNIVER_PROJECT']=0x4]=_0x491a6f(0x17e),_0x7522ac[_0x7522ac[_0x491a6f(0x35b)]=-0x1]=_0x491a6f(0x35b),_0x7522ac))(X||{}),G=(_0x45eb8c=>(_0x45eb8c[_0x45eb8c['UNKNOWN_CMD']=0x0]=_0x491a6f(0x1a5),_0x45eb8c[_0x45eb8c[_0x491a6f(0x416)]=0x1]=_0x491a6f(0x416),_0x45eb8c[_0x45eb8c[_0x491a6f(0x158)]=0x2]='JOIN',_0x45eb8c[_0x45eb8c[_0x491a6f(0x281)]=0x3]=_0x491a6f(0x281),_0x45eb8c[_0x45eb8c[_0x491a6f(0x2cb)]=0x4]=_0x491a6f(0x2cb),_0x45eb8c[_0x45eb8c[_0x491a6f(0x15a)]=0x5]=_0x491a6f(0x15a),_0x45eb8c[_0x45eb8c[_0x491a6f(0x28b)]=0x6]=_0x491a6f(0x28b),_0x45eb8c[_0x45eb8c[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0x45eb8c))(G||{}),ae=(_0x5a7ec0=>(_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x302)]=0x0]=_0x491a6f(0x302),_0x5a7ec0[_0x5a7ec0['OK']=0x1]='OK',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x12e)]=0x2]='FAIL',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x257)]=0x3e9]='JOIN_ROOM_FULL',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x17c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x3d3)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x40c)]=0x3ec]=_0x491a6f(0x40c),_0x5a7ec0[_0x5a7ec0[_0x491a6f(0x35b)]=-0x1]=_0x491a6f(0x35b),_0x5a7ec0))(ae||{}),Tt=(_0x443f22=>(_0x443f22[_0x443f22['Undefined']=0x0]=_0x491a6f(0x425),_0x443f22[_0x443f22[_0x491a6f(0x146)]=0x1]=_0x491a6f(0x146),_0x443f22[_0x443f22['HttpExport']=0x2]='HttpExport',_0x443f22[_0x443f22[_0x491a6f(0x1e2)]=0x3]=_0x491a6f(0x1e2),_0x443f22[_0x443f22[_0x491a6f(0x177)]=0x4]=_0x491a6f(0x177),_0x443f22[_0x443f22[_0x491a6f(0x35b)]=-0x1]='UNRECOGNIZED',_0x443f22))(Tt||{});const Y=_0x491a6f(0x2c6),Jt={};var Q=(_0x2c5780=>(_0x2c5780[_0x491a6f(0x3c5)]=_0x491a6f(0x3c5),_0x2c5780['PERMISSION_DENIED']=_0x491a6f(0x351),_0x2c5780['CONFLICT']='CONFLICT',_0x2c5780[_0x491a6f(0x384)]=_0x491a6f(0x384),_0x2c5780['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2c5780[_0x491a6f(0x288)]='SOCKET_FAILED_RETRY',_0x2c5780[_0x491a6f(0x2c2)]=_0x491a6f(0x2c2),_0x2c5780['SUBMIT_CHANGESET_TIMEOUT']=_0x491a6f(0x145),_0x2c5780))(Q||{});class te{constructor(){var _0x11ccc8=_0x491a6f;P(this,_0x11ccc8(0x344),new j[(_0x11ccc8(0x477))]()),P(this,_0x11ccc8(0x1a0),this[_0x11ccc8(0x344)][_0x11ccc8(0x3b0)]());}[_0x491a6f(0x126)](_0xc93edd){var _0x2f5872=_0x491a6f;this[_0x2f5872(0x344)][_0x2f5872(0x480)](_0xc93edd);}}const bt=a[_0x491a6f(0x2f0)](_0x491a6f(0x198));function Rt(_0x4c237f){var _0x3097b2=_0x491a6f,_0x49b74e,_0x2709cf,_0x5a377c,_0x20d37b,_0x1b03b6;const _0x480756=_0x4c237f['data'],_0x13cb87=JSON[_0x3097b2(0x3b5)](_0x480756);switch(_0x13cb87[_0x3097b2(0x11f)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x502804=_0x13cb87[_0x3097b2(0x277)];return{..._0x13cb87,'data':_0x502804,'cmd':_0x13cb87[_0x3097b2(0x11f)]};}case G['JOIN']:{const _0x348996=_0x13cb87['joinRsp'];return{..._0x13cb87,'data':_0x348996,'cmd':_0x13cb87['cmd']};}case G[_0x3097b2(0x28b)]:{const _0x485c6e=_0x13cb87[_0x3097b2(0x19c)];switch(_0x485c6e['eventID']){case g['CollaborationEvent'][_0x3097b2(0x451)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x49b74e=_0x485c6e[_0x3097b2(0x28f)])==null?void 0x0:_0x49b74e['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x38c)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x2709cf=_0x485c6e[_0x3097b2(0x424)])==null?void 0x0:_0x2709cf['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x197)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x5a377c=_0x485c6e[_0x3097b2(0x44d)])==null?void 0x0:_0x5a377c['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1f7)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x20d37b=_0x485c6e[_0x3097b2(0x342)])==null?void 0x0:_0x20d37b['cs']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1aa)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':(_0x1b03b6=_0x485c6e[_0x3097b2(0x216)])==null?void 0x0:_0x1b03b6['cs']},'cmd':_0x13cb87['cmd']};case g['CollaborationEvent'][_0x3097b2(0x47f)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x3b9)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x3d4)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x340)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x1fe)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x343)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g['CollaborationEvent'][_0x3097b2(0x460)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x24f)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x3097b2(0x361)][_0x3097b2(0x321)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e['liveShareOperation']},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x11c)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x24f)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x38e)]:return{..._0x13cb87,'data':_0x485c6e,'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g['CollaborationEvent'][_0x3097b2(0x3c0)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x28a)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x315)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x298)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x399)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x249)]},'cmd':_0x13cb87[_0x3097b2(0x11f)]};case g[_0x3097b2(0x361)][_0x3097b2(0x358)]:return{..._0x13cb87,'data':{..._0x485c6e,'data':_0x485c6e[_0x3097b2(0x35f)]},'cmd':_0x13cb87['cmd']};default:return _0x13cb87;}}default:return _0x13cb87;}}function yt(_0x268f77){var _0xdadce1=_0x491a6f;switch(_0x268f77[_0xdadce1(0x11f)]){case G[_0xdadce1(0x15a)]:case G['HELLO']:return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77['cmd'],'routeKey':_0x268f77[_0xdadce1(0x385)]});case G['INGEST']:{let _0x171f37;switch(_0x268f77['data'][_0xdadce1(0x2e0)]){case g['CollaborationEvent'][_0xdadce1(0x47f)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x47f)],'updateCursorEvent':_0x268f77[_0xdadce1(0x368)]['data']};break;}case g[_0xdadce1(0x361)]['USERS_LEAVE']:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x1fe)],'leaveEvent':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g['CollaborationEvent'][_0xdadce1(0x3d4)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x3d4)],'joinEvent':_0x268f77['data']['data']};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x460)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x460)],'liveShareNewHost':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x321)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x321)],'liveShareOperation':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x11c)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x268f77[_0xdadce1(0x368)]['data']};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x185)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x185)],'liveShareRequestHost':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x368)]};break;}case g[_0xdadce1(0x361)][_0xdadce1(0x2ae)]:{_0x171f37={'eventID':g[_0xdadce1(0x361)][_0xdadce1(0x2ae)]};break;}default:_0x171f37={'eventID':_0x268f77[_0xdadce1(0x368)][_0xdadce1(0x2e0)]};}return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77[_0xdadce1(0x11f)],'routeKey':_0x268f77[_0xdadce1(0x385)],'collaMsg':_0x171f37});}case G['JOIN']:return JSON[_0xdadce1(0x2bd)]({'cmd':_0x268f77[_0xdadce1(0x11f)],'routeKey':_0x268f77['routeKey'],'joinReq':_0x268f77[_0xdadce1(0x368)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x268f77['cmd'],'routeKey':_0x268f77[_0xdadce1(0x385)],'leaveReq':_0x268f77['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x4274e0,_0x34b401,_0x1f3b41,_0x45d82b)=>{var _0xfa322d=_0x491a6f;for(var _0x3225ee=_0x45d82b>0x1?void 0x0:_0x45d82b?Xt(_0x34b401,_0x1f3b41):_0x34b401,_0x11e56b=_0x4274e0[_0xfa322d(0x182)]-0x1,_0x1df8d1;_0x11e56b>=0x0;_0x11e56b--)(_0x1df8d1=_0x4274e0[_0x11e56b])&&(_0x3225ee=_0x1df8d1(_0x3225ee)||_0x3225ee);return _0x3225ee;},_e=(_0x3c52fa,_0x1c5d14)=>(_0x5666f4,_0x1a0e9c)=>_0x1c5d14(_0x5666f4,_0x1a0e9c,_0x3c52fa);const $e=a[_0x491a6f(0x2f0)](_0x491a6f(0x39b));function Qt(_0xbf9fdd,_0x49457f,_0x2f8f3a){var _0x13f541=_0x491a6f;return _0xbf9fdd+'/'+_0x49457f+'/unit/'+_0x2f8f3a+_0x13f541(0x303);}exports[_0x491a6f(0x144)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x43ddb4,_0x4bd862,_0x5d3fd2,_0x27d482,_0x4e05d6){var _0x39e452=_0x491a6f;super(),this['_injector']=_0x43ddb4,this['_httpService']=_0x4bd862,this[_0x39e452(0x13d)]=_0x5d3fd2,this['_logService']=_0x27d482,this[_0x39e452(0x11e)]=_0x4e05d6;}[_0x491a6f(0x1f2)](_0x2522cb){var _0x1d9650=_0x491a6f;const _0xcd166c=this[_0x1d9650(0x488)][_0x1d9650(0x33b)](q[_0x1d9650(0x3f0)]);if(!_0xcd166c)throw new Error(_0x1d9650(0x272));const _0x237084=_0xcd166c[_0x1d9650(0x363)](_0x2522cb);if(!_0x237084)throw new Error(_0x1d9650(0x2f8));const _0x28ffa4=new a[(_0x1d9650(0x413))](),_0x4e51d1=new j['Subject']();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084[_0x1d9650(0x348)][_0x1d9650(0x148)](_0x31aa5f=>_0x4e51d1[_0x1d9650(0x480)](_0x31aa5f))),_0x28ffa4[_0x1d9650(0x1e3)](a[_0x1d9650(0x1cb)](()=>_0x4e51d1[_0x1d9650(0x203)]()));const _0x43e698=new j[(_0x1d9650(0x477))]();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084[_0x1d9650(0x3e6)][_0x1d9650(0x148)](_0x3deef7=>_0x43e698[_0x1d9650(0x480)](_0x3deef7))),_0x28ffa4['add'](a['toDisposable'](()=>_0x43e698['complete']()));const _0x174380=new j[(_0x1d9650(0x477))]();_0x28ffa4[_0x1d9650(0x1e3)](_0x237084['message$'][_0x1d9650(0x148)](_0x5455bb=>{var _0x8435d5=_0x1d9650;const _0x14bfed=Rt(_0x5455bb);_0x174380[_0x8435d5(0x480)](_0x14bfed);})),_0x28ffa4[_0x1d9650(0x1e3)](a[_0x1d9650(0x1cb)](()=>_0x174380['complete']()));let _0x57e868;const _0x294a6f=()=>{var _0x5b41db=_0x1d9650;_0x43e698['next'](new Event('connection\x20error')),_0x4e51d1['next'](new Event(_0x5b41db(0x1e8))),_0x57e868['close']();};return _0x57e868={'memberID':'','close$':_0x4e51d1[_0x1d9650(0x3b0)](),'error$':_0x43e698[_0x1d9650(0x3b0)](),'open$':_0x237084[_0x1d9650(0x41d)],'message$':_0x174380[_0x1d9650(0x3b0)](),'send':_0x3dc092=>{var _0xf8dc9=_0x1d9650;if(_0x3dc092['cmd']===G[_0xf8dc9(0x2cb)]){if(_0x3dc092[_0xf8dc9(0x368)][_0xf8dc9(0x2e0)]===g['CollaborationEvent'][_0xf8dc9(0x43a)]){this['_submitChangeset'](_0x57e868,_0x3dc092['data'])[_0xf8dc9(0x224)](_0x456556=>{var _0x4a2aaf=_0xf8dc9;this['_logService'][_0x4a2aaf(0x1a7)](_0x456556),_0x294a6f();});return;}if(_0x3dc092[_0xf8dc9(0x368)][_0xf8dc9(0x2e0)]===g['CollaborationEvent'][_0xf8dc9(0x29e)]){const _0x7ae7d6=_0x3dc092[_0xf8dc9(0x368)];this['_fetchMissChangesets'](_0x7ae7d6)[_0xf8dc9(0x3dd)](_0x44b10c=>{var _0x1fc1a5=_0xf8dc9;_0x174380[_0x1fc1a5(0x480)]({'cmd':G[_0x1fc1a5(0x28b)],'code':ae['OK'],'routeKey':_0x7ae7d6[_0x1fc1a5(0x368)][_0x1fc1a5(0x408)],'routeType':'','data':{'eventID':g[_0x1fc1a5(0x361)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x44b10c}}});})[_0xf8dc9(0x224)](_0x4ee0e4=>{var _0x3dee2e=_0xf8dc9;this[_0x3dee2e(0x403)][_0x3dee2e(0x1a7)](_0x4ee0e4),_0x294a6f();});return;}}_0x237084[_0xf8dc9(0x1bf)](yt(_0x3dc092));},'close':()=>{var _0x3cdcb8=_0x1d9650;_0x237084[_0x3cdcb8(0x420)](),_0x28ffa4['dispose']();}},_0x57e868;}async[_0x491a6f(0x176)](_0x56807a,_0x59bfc7){var _0x2ceec0=_0x491a6f,_0x10ada9,_0x10a6fe;const {unitType:_0x1e1f12,unitID:_0x88d586,changeset:_0x248d9e}=_0x59bfc7[_0x2ceec0(0x368)],_0x44189c={'unitID':_0x88d586,'memberID':_0x56807a[_0x2ceec0(0x364)],'type':_0x1e1f12,'changeset':g[_0x2ceec0(0x40b)](_0x248d9e)},_0x3cc50f=this['_configService'][_0x2ceec0(0x167)](It),_0x1a5e05=this[_0x2ceec0(0x13d)][_0x2ceec0(0x167)](Y),_0x2a05f9=Qt((_0x10a6fe=(_0x10ada9=_0x1a5e05==null?void 0x0:_0x1a5e05['collabSubmitChangesetUrl'])!=null?_0x10ada9:_0x3cc50f)!=null?_0x10a6fe:Kt,_0x1e1f12,_0x88d586);try{await this[_0x2ceec0(0x2b7)]['post'](_0x2a05f9,{'body':_0x44189c});}catch(_0x5e51a0){throw this['_logService'][_0x2ceec0(0x1a7)]('[CollaborationSession]',_0x2ceec0(0x3ea)),_0x5e51a0;}}async[_0x491a6f(0x218)](_0x310224){var _0x351103=_0x491a6f;const {unitID:_0x52eb2e,from:_0x383143,to:_0x3b6607,unitType:_0x5a1b3b}=_0x310224[_0x351103(0x368)];return(await this[_0x351103(0x11e)][_0x351103(0x46b)]({'metadata':void 0x0},{'unitID':_0x52eb2e,'type':_0x5a1b3b,'from':_0x383143,'to':_0x3b6607}))[_0x351103(0x12c)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),_e(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)])),_e(0x2,a[_0x491a6f(0x3db)]),_e(0x3,a[_0x491a6f(0x3c8)]),_e(0x4,g[_0x491a6f(0x210)])],exports[_0x491a6f(0x144)]);const ei=_0x491a6f(0x459);function ti(_0x1b1853){var _0x23139f=_0x491a6f;return JSON[_0x23139f(0x2bd)](_0x1b1853)[_0x23139f(0x182)];}class Be{constructor(){var _0x3e5dd2=_0x491a6f;P(this,_0x3e5dd2(0x431),new j[(_0x3e5dd2(0x477))]()),P(this,'commentUpdate$',this[_0x3e5dd2(0x431)][_0x3e5dd2(0x3b0)]());}[_0x491a6f(0x392)](_0x3ae077){this['_commentUpdate$']['next'](_0x3ae077);}}var ii=Object[_0x491a6f(0x316)],ni=(_0x5877ab,_0x70415a,_0x4eb32f,_0xc460c2)=>{for(var _0x15ebca=_0xc460c2>0x1?void 0x0:_0xc460c2?ii(_0x70415a,_0x4eb32f):_0x70415a,_0xe1cec1=_0x5877ab['length']-0x1,_0x56fb63;_0xe1cec1>=0x0;_0xe1cec1--)(_0x56fb63=_0x5877ab[_0xe1cec1])&&(_0x15ebca=_0x56fb63(_0x15ebca)||_0x15ebca);return _0x15ebca;},Ke=(_0x16f766,_0x19407f)=>(_0x147b2c,_0x4fa32b)=>_0x19407f(_0x147b2c,_0x4fa32b,_0x16f766);exports[_0x491a6f(0x3cf)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x12cda6,_0x2f107e){var _0x138987=_0x491a6f;super(),P(this,_0x138987(0x350),new Map()),P(this,_0x138987(0x1ea),new j['Subject']()),(this['_univerInstanceService']=_0x12cda6,this[_0x138987(0x13b)]=_0x2f107e,this[_0x138987(0x15d)](j[_0x138987(0x37a)](this[_0x138987(0x192)][_0x138987(0x181)](a[_0x138987(0x397)][_0x138987(0x2fc)])[_0x138987(0x3c4)](W[_0x138987(0x48d)](_0x352906=>_0x352906['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x138987(0x397)]['UNIVER_DOC'])[_0x138987(0x3c4)](W[_0x138987(0x48d)](_0x40c1ed=>_0x40c1ed[_0x138987(0x14f)]())),this['_univerInstanceService'][_0x138987(0x181)](a[_0x138987(0x397)][_0x138987(0x1e0)])[_0x138987(0x3c4)](W['map'](_0x588c39=>_0x588c39[_0x138987(0x14f)]())))[_0x138987(0x148)](_0x328386=>this[_0x138987(0x172)](_0x328386))));}['waitForRoom$'](_0x107600){var _0x1705f1=_0x491a6f;return this['_roomMembers'][_0x1705f1(0x410)](_0x107600)?j['of'](this[_0x1705f1(0x350)][_0x1705f1(0x33b)](_0x107600)):this[_0x1705f1(0x1ea)]['pipe'](W['map'](_0x1f1bd9=>{var _0x536081=_0x1705f1;if(_0x1f1bd9===_0x107600)return this['_roomMembers'][_0x536081(0x33b)](_0x1f1bd9);}));}[_0x491a6f(0x3d1)](_0x51d7ae){var _0x1bc571=_0x491a6f;this[_0x1bc571(0x13b)][_0x1bc571(0x3d1)](_0x51d7ae);}['getCurrentUser'](){var _0x5e468a=_0x491a6f;return this['_userManagerService'][_0x5e468a(0x2c8)]();}[_0x491a6f(0x3aa)](_0x3315c1,_0x31b4ab){var _0x4e0077=_0x491a6f;let _0x57037f=this[_0x4e0077(0x350)][_0x4e0077(0x33b)](_0x3315c1);_0x57037f||(_0x57037f=new ri(),this[_0x4e0077(0x350)][_0x4e0077(0x318)](_0x3315c1,_0x57037f),this['_roomCreated$']['next'](_0x3315c1)),_0x57037f[_0x4e0077(0x3aa)](_0x31b4ab);}['removeMember'](_0x3a5bd3,_0x53a96b){var _0x1a5823=_0x491a6f;const _0x167343=this[_0x1a5823(0x350)]['get'](_0x3a5bd3);_0x167343&&_0x167343[_0x1a5823(0x335)](_0x53a96b);}[_0x491a6f(0x3ce)](_0x6f9c37){var _0x4c460e=_0x491a6f;return this['_roomMembers'][_0x4c460e(0x33b)](_0x6f9c37);}['getMember'](_0x398f30,_0x71879b){var _0xe9c048=_0x491a6f;const _0x3bd45f=this[_0xe9c048(0x350)][_0xe9c048(0x33b)](_0x398f30);if(_0x3bd45f)return _0x3bd45f[_0xe9c048(0x226)](_0x71879b);}[_0x491a6f(0x172)](_0x69d985){var _0x2092ef=_0x491a6f;const _0x4f7f98=this[_0x2092ef(0x350)][_0x2092ef(0x33b)](_0x69d985);_0x4f7f98&&(_0x4f7f98['dispose'](),this['_roomMembers']['delete'](_0x69d985));}['dispose'](){var _0x68dde6=_0x491a6f;this[_0x68dde6(0x350)]['forEach'](_0x39bf48=>_0x39bf48['dispose']()),this[_0x68dde6(0x350)][_0x68dde6(0x428)](),this['_roomCreated$'][_0x68dde6(0x203)]();}},exports[_0x491a6f(0x3cf)]=ni([Ke(0x0,a[_0x491a6f(0x312)]),Ke(0x1,a['Inject'](a[_0x491a6f(0x2cf)]))],exports[_0x491a6f(0x3cf)]);class ri extends a['Disposable']{constructor(){var _0x2a98c9=_0x491a6f;super(...arguments),P(this,'_members',new Map()),P(this,_0x2a98c9(0x163),new j[(_0x2a98c9(0x456))](this[_0x2a98c9(0x131)])),P(this,'members$',this['_members$']['asObservable']());}[_0x491a6f(0x21e)](){var _0x374d39=_0x491a6f;this[_0x374d39(0x131)][_0x374d39(0x428)]();}['updateMember'](_0x3d6ec7){var _0xa516d3=_0x491a6f;this[_0xa516d3(0x131)][_0xa516d3(0x318)](_0x3d6ec7[_0xa516d3(0x364)],_0x3d6ec7),this['_emitMembers']();}[_0x491a6f(0x335)](_0x1b54ed){var _0x5f002e=_0x491a6f;this[_0x5f002e(0x131)]['delete'](_0x1b54ed);}[_0x491a6f(0x226)](_0x44776a){var _0x5cb2c3=_0x491a6f;return this['_members'][_0x5cb2c3(0x33b)](_0x44776a);}[_0x491a6f(0x406)](){var _0x5cd486=_0x491a6f;return Array[_0x5cd486(0x1ae)](this[_0x5cd486(0x131)][_0x5cd486(0x1b2)]());}['_emitMembers'](){var _0x2e7a17=_0x491a6f;this['_members$']['next'](this[_0x2e7a17(0x131)]);}}var si=Object[_0x491a6f(0x316)],oi=(_0xa216a0,_0x28634e,_0x1a76e7,_0x55f750)=>{var _0x57098e=_0x491a6f;for(var _0x311775=_0x55f750>0x1?void 0x0:_0x55f750?si(_0x28634e,_0x1a76e7):_0x28634e,_0x3fd595=_0xa216a0[_0x57098e(0x182)]-0x1,_0x14d45b;_0x3fd595>=0x0;_0x3fd595--)(_0x14d45b=_0xa216a0[_0x3fd595])&&(_0x311775=_0x14d45b(_0x311775)||_0x311775);return _0x311775;},oe=(_0x49c995,_0x3b6e3f)=>(_0x20842e,_0x3245b2)=>_0x3b6e3f(_0x20842e,_0x3245b2,_0x49c995),se=(_0x46a16d=>(_0x46a16d[_0x46a16d[_0x491a6f(0x39f)]=0x0]=_0x491a6f(0x39f),_0x46a16d[_0x46a16d[_0x491a6f(0x2ee)]=0x1]=_0x491a6f(0x2ee),_0x46a16d[_0x46a16d['OFFLINE']=0x2]=_0x491a6f(0x1da),_0x46a16d[_0x46a16d[_0x491a6f(0x2d4)]=0x3]=_0x491a6f(0x2d4),_0x46a16d))(se||{});const Ye={[ae[_0x491a6f(0x12e)]]:'session.join-failed',[ae[_0x491a6f(0x257)]]:_0x491a6f(0x301),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x491a6f(0x19f),[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x491a6f(0x217),[ae[_0x491a6f(0x40c)]]:_0x491a6f(0x471)};exports[_0x491a6f(0x180)]=class extends a['RxDisposable']{constructor(_0xf3adea,_0x326ab8,_0x12cc79,_0x28dfba,_0x3e6884,_0x41f901,_0x454982,_0x2e913b,_0x52eb2d){var _0x3dfcfc=_0x491a6f;super(),P(this,_0x3dfcfc(0x1ac),new j[(_0x3dfcfc(0x456))](0x0)),P(this,_0x3dfcfc(0x16e),this[_0x3dfcfc(0x1ac)][_0x3dfcfc(0x3b0)]()),P(this,_0x3dfcfc(0x344),new j[(_0x3dfcfc(0x477))]()),P(this,_0x3dfcfc(0x1a0),this[_0x3dfcfc(0x344)][_0x3dfcfc(0x3b0)]()),P(this,_0x3dfcfc(0x3bb)),P(this,_0x3dfcfc(0x3ef)),P(this,'_collaborationTimeoutTimer'),P(this,_0x3dfcfc(0x448),!0x1),P(this,_0x3dfcfc(0x25f),null),(this[_0x3dfcfc(0x33d)]=_0xf3adea,this[_0x3dfcfc(0x403)]=_0x12cc79,this['_configService']=_0x28dfba,this[_0x3dfcfc(0x2fe)]=_0x3e6884,this[_0x3dfcfc(0x27f)]=_0x41f901,this[_0x3dfcfc(0x377)]=_0x454982,this[_0x3dfcfc(0x219)]=_0x2e913b,this['_telemetryService']=_0x52eb2d,this[_0x3dfcfc(0x448)]=!!this['_telemetryService'],_0x326ab8[_0x3dfcfc(0x3c4)](j['takeUntil'](this[_0x3dfcfc(0x242)]))[_0x3dfcfc(0x148)](_0x162b0a=>{var _0x180b5b=_0x3dfcfc,_0x55760c;typeof _0x162b0a>'u'||(this['_socket']=_0x162b0a,_0x162b0a?(this['_joinRoom'](_0x162b0a),this['_socketMessageSubscription']=_0x162b0a['message$']['subscribe'](_0x3ecfaa=>{var _0x376c4a=_0x2315;_0x3ecfaa[_0x376c4a(0x385)]===this[_0x376c4a(0x33d)]&&this['_onCombEvent'](_0x3ecfaa);})):(this[_0x180b5b(0x44b)](),this[_0x180b5b(0x1ac)][_0x180b5b(0x480)](0x2),(_0x55760c=this['_socketMessageSubscription'])==null||_0x55760c[_0x180b5b(0x3ae)](),this[_0x180b5b(0x3ef)]=null));}));}get[_0x491a6f(0x14b)](){var _0x37032b=_0x491a6f;return this['_sessionStatus$'][_0x37032b(0x201)]();}[_0x491a6f(0x284)](){var _0x383ca4=_0x491a6f,_0x2654e4,_0x4e514e;return(_0x4e514e=(_0x2654e4=this[_0x383ca4(0x3bb)])==null?void 0x0:_0x2654e4[_0x383ca4(0x364)])!=null?_0x4e514e:null;}['dispose'](){var _0x1ed243=_0x491a6f;super[_0x1ed243(0x21e)](),this['dispose$']['next'](),this[_0x1ed243(0x242)][_0x1ed243(0x203)]();}['close'](){var _0x3df260=_0x491a6f,_0x3a7178,_0x475082;this[_0x3df260(0x44b)](),(_0x3a7178=this[_0x3df260(0x3bb)])==null||_0x3a7178[_0x3df260(0x1bf)]({'cmd':G[_0x3df260(0x281)],'data':{'roomID':this[_0x3df260(0x33d)]}}),(_0x475082=this[_0x3df260(0x3bb)])==null||_0x475082['close'](),this[_0x3df260(0x344)]['complete'](),this['_sessionStatus$'][_0x3df260(0x203)](),this[_0x3df260(0x21e)]();}[_0x491a6f(0x220)](_0x14afea){var _0xe55cad=_0x491a6f;_0x14afea['cmd']===G[_0xe55cad(0x158)]?this[_0xe55cad(0x411)](_0x14afea):_0x14afea['cmd']===G[_0xe55cad(0x28b)]&&this[_0xe55cad(0x294)](_0x14afea);}['_joinRoom'](_0x1d53bc){var _0x5e2ae2=_0x491a6f;this['_sessionStatus$']['next'](0x1),_0x1d53bc[_0x5e2ae2(0x1bf)]({'cmd':G[_0x5e2ae2(0x158)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5e2ae2(0x33d)]}]}});}[_0x491a6f(0x411)](_0x24c0fe){var _0x54c29d=_0x491a6f,_0x165fcb;if(_0x24c0fe[_0x54c29d(0x209)]in Ye){this['_collaborationUIEventService'][_0x54c29d(0x126)]({'id':Q[_0x54c29d(0x362)],'data':Ye[_0x24c0fe[_0x54c29d(0x209)]]}),this['_sessionStatus$'][_0x54c29d(0x480)](0x2);return;}this[_0x54c29d(0x1ac)][_0x54c29d(0x480)](0x3);const _0x550f68=(_0x165fcb=_0x24c0fe[_0x54c29d(0x368)][_0x54c29d(0x129)][this['_unitID']])==null?void 0x0:_0x165fcb[_0x54c29d(0x2a3)];_0x550f68&&_0x550f68[_0x54c29d(0x18d)](_0x5f13b2=>this['_memberService'][_0x54c29d(0x3aa)](this[_0x54c29d(0x33d)],_0x5f13b2));}[_0x491a6f(0x294)](_0x43972f){var _0x38efb2=_0x491a6f;try{const _0x359500=_0x43972f[_0x38efb2(0x368)];switch(_0x359500[_0x38efb2(0x2e0)]){case g[_0x38efb2(0x361)]['USERS_ENTER']:this[_0x38efb2(0x20a)](_0x359500),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x1fe)]:this['_onUserLeave'](_0x359500),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x38c)]:case g[_0x38efb2(0x361)][_0x38efb2(0x1aa)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x38e)]:this[_0x38efb2(0x403)][_0x38efb2(0x1a7)](_0x38efb2(0x48f)+JSON['stringify'](_0x359500)),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;case g[_0x38efb2(0x361)][_0x38efb2(0x3c0)]:this[_0x38efb2(0x377)][_0x38efb2(0x392)](_0x359500['data']),this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);break;default:this[_0x38efb2(0x344)][_0x38efb2(0x480)](_0x359500);}}catch(_0x90aaac){this['_logService'][_0x38efb2(0x1a7)](_0x90aaac,_0x43972f);}}[_0x491a6f(0x20a)](_0x449876){var _0x13e897=_0x491a6f;this[_0x13e897(0x27f)][_0x13e897(0x3aa)](this[_0x13e897(0x33d)],_0x449876[_0x13e897(0x368)]);}[_0x491a6f(0x421)](_0x4eae6b){var _0x1518a4=_0x491a6f;this[_0x1518a4(0x27f)][_0x1518a4(0x335)](this[_0x1518a4(0x33d)],_0x4eae6b['data']['memberID']);}async['send'](_0x4cf333,_0x4836c4){var _0x4c883d=_0x491a6f;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4c883d(0x1c5));try{_0x4cf333[_0x4c883d(0x2e0)]===g[_0x4c883d(0x361)]['SUBMIT_CHANGESET']&&(this[_0x4c883d(0x402)](),this[_0x4c883d(0x161)](_0x4cf333)),this['_socket'][_0x4c883d(0x1bf)]({'cmd':G[_0x4c883d(0x2cb)],'routeKey':_0x4836c4,'routeType':'','data':_0x4cf333});}catch(_0x595cef){this['_logService'][_0x4c883d(0x1a7)](_0x595cef);}}[_0x491a6f(0x402)](){var _0xe73362=_0x491a6f,_0x182396;this[_0xe73362(0x33f)]=setTimeout(()=>{var _0xdc9f16=_0xe73362;this[_0xdc9f16(0x33f)]=null,this[_0xdc9f16(0x219)]['emitEvent']({'id':Q[_0xdc9f16(0x145)]});},(_0x182396=this[_0xe73362(0x13d)]['getConfig'](je))!=null?_0x182396:gt);}[_0x491a6f(0x42e)](){var _0x448fb7=_0x491a6f;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x448fb7(0x33f)]),this['_collaborationTimeoutTimer']=null);}[_0x491a6f(0x161)](_0x205aa7){var _0x30b4e7=_0x491a6f;if(!this[_0x30b4e7(0x448)])return;const {data:_0xc421b7}=_0x205aa7,{unitID:_0x5304e3,changeset:_0x53435a}=_0xc421b7,{mutations:_0x581749,type:_0x1792aa}=_0x53435a;this[_0x30b4e7(0x25f)]={'unitId':_0x5304e3,'type':_0x1792aa,'startTime':performance[_0x30b4e7(0x443)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x581749)};}[_0x491a6f(0x2fd)](){var _0x26d5eb=_0x491a6f;if(this[_0x26d5eb(0x448)]){if(!this['_telemetryInfo']){this[_0x26d5eb(0x403)]['error'](_0x26d5eb(0x41c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x26d5eb(0x426)]=performance['now'](),this[_0x26d5eb(0x25f)][_0x26d5eb(0x160)]=this[_0x26d5eb(0x25f)][_0x26d5eb(0x426)]-this[_0x26d5eb(0x25f)][_0x26d5eb(0x254)],this[_0x26d5eb(0x3e5)][_0x26d5eb(0x159)](ei,this[_0x26d5eb(0x25f)]),this[_0x26d5eb(0x25f)]=null;}}[_0x491a6f(0x44b)](){var _0x4dc295=_0x491a6f;this[_0x4dc295(0x25f)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x491a6f(0x3c8)]),oe(0x3,a[_0x491a6f(0x3db)]),oe(0x4,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),oe(0x5,a['Inject'](exports['MemberService'])),oe(0x6,a[_0x491a6f(0x1a1)](Be)),oe(0x7,a[_0x491a6f(0x1a1)](te)),oe(0x8,a[_0x491a6f(0x30e)](Mt[_0x491a6f(0x1d9)]))],exports[_0x491a6f(0x180)]);var ai=Object[_0x491a6f(0x316)],ci=(_0x2dca85,_0x17c500,_0x5f149e,_0x501315)=>{var _0x245bae=_0x491a6f;for(var _0xc9929b=_0x501315>0x1?void 0x0:_0x501315?ai(_0x17c500,_0x5f149e):_0x17c500,_0x1a5677=_0x2dca85[_0x245bae(0x182)]-0x1,_0x284d61;_0x1a5677>=0x0;_0x1a5677--)(_0x284d61=_0x2dca85[_0x1a5677])&&(_0xc9929b=_0x284d61(_0xc9929b)||_0xc9929b);return _0xc9929b;},le=(_0x352a31,_0x24b883)=>(_0x52c41d,_0x57d166)=>_0x24b883(_0x52c41d,_0x57d166,_0x352a31);exports[_0x491a6f(0x36f)]=class extends a[_0x491a6f(0x3f8)]{constructor(_0x1cd8fd,_0x212b09,_0xc58a7c,_0x4d29ba,_0x432617,_0x5dce2d){var _0x4f8e3f=_0x491a6f;super(),P(this,'_socket$',new j[(_0x4f8e3f(0x456))](void 0x0)),P(this,_0x4f8e3f(0x415),this[_0x4f8e3f(0x3ad)][_0x4f8e3f(0x3b0)]()),P(this,_0x4f8e3f(0x291),null),P(this,'_sessions',new Map()),P(this,'_status$',new j[(_0x4f8e3f(0x456))](se['IDLE'])),P(this,_0x4f8e3f(0x383),this[_0x4f8e3f(0x37d)]['asObservable']()),P(this,'_socketReady',!0x1),P(this,'_retryConnectingTimer'),P(this,_0x4f8e3f(0x152),0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x4f8e3f(0x386)),(this['_injector']=_0x1cd8fd,this[_0x4f8e3f(0x403)]=_0x212b09,this[_0x4f8e3f(0x13d)]=_0xc58a7c,this['_socketService']=_0x4d29ba,this[_0x4f8e3f(0x219)]=_0x432617,this[_0x4f8e3f(0x44c)]=_0x5dce2d,this[_0x4f8e3f(0x378)]());}get[_0x491a6f(0x3bb)](){var _0x543bb4=_0x491a6f;return this[_0x543bb4(0x3ad)]['getValue']();}[_0x491a6f(0x378)](){var _0x40a706=_0x491a6f;this['_networkConditionService']&&this[_0x40a706(0x15d)](this[_0x40a706(0x44c)]['online$'][_0x40a706(0x148)](_0x251e14=>{var _0x40258d=_0x40a706;_0x251e14&&!this['_socket']&&this[_0x40258d(0x40a)](),_0x251e14||this[_0x40258d(0x1c8)]();}));}[_0x491a6f(0x21e)](){var _0x5908f1=_0x491a6f;super[_0x5908f1(0x21e)](),this['_clearRetryConnectingTimer'](),this[_0x5908f1(0x32a)](),this['_clearHeartbeatTimer'](),this[_0x5908f1(0x314)]['forEach'](_0x1e8516=>_0x1e8516[_0x5908f1(0x21e)]()),this[_0x5908f1(0x314)]['clear'](),this[_0x5908f1(0x37d)][_0x5908f1(0x203)]();}async[_0x491a6f(0x23a)](_0x53dfe3){var _0x316f22=_0x491a6f;if(this['_sessions'][_0x316f22(0x410)](_0x53dfe3))return this['_sessions'][_0x316f22(0x33b)](_0x53dfe3);this[_0x316f22(0x3ca)]();const _0x17b7a7=this['_injector']['createInstance'](exports[_0x316f22(0x180)],_0x53dfe3,this[_0x316f22(0x3ad)][_0x316f22(0x3b0)]());return this[_0x316f22(0x314)]['set'](_0x53dfe3,_0x17b7a7),_0x17b7a7;}['closeSession'](_0x52defe){var _0x1bce0a=_0x491a6f,_0x2d665d;const _0x5ee1ae=this['_sessions'][_0x1bce0a(0x33b)](_0x52defe);_0x5ee1ae&&(this['_sessions'][_0x1bce0a(0x479)](_0x52defe),_0x5ee1ae[_0x1bce0a(0x420)]()),this[_0x1bce0a(0x314)][_0x1bce0a(0x2f5)]||(_0x2d665d=this[_0x1bce0a(0x3bb)])==null||_0x2d665d[_0x1bce0a(0x420)]();}['reconnect'](){var _0x2c3c1b=_0x491a6f;this[_0x2c3c1b(0x152)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2c3c1b(0x3fb)]();}[_0x491a6f(0x427)](){var _0x4fe360=_0x491a6f;this[_0x4fe360(0x127)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x491a6f(0x243)](){var _0x353410=_0x491a6f,_0x50afec,_0x3d5480;const _0x213ff8=this['_configService'][_0x353410(0x167)](St),_0x324aaf=this[_0x353410(0x13d)][_0x353410(0x167)](Y),_0x13f0db=(_0x3d5480=(_0x50afec=_0x324aaf==null?void 0x0:_0x324aaf['collabWebSocketUrl'])!=null?_0x50afec:_0x213ff8)!=null?_0x3d5480:ft,_0x341b16=await this[_0x353410(0x2c0)][_0x353410(0x363)](_0x13f0db);return this[_0x353410(0x291)]=_0x341b16,_0x341b16;}async[_0x491a6f(0x3ca)](){var _0x4f2509=_0x491a6f,_0x584d2b,_0x337e55;try{const _0x259bdb=(_0x337e55=(_0x584d2b=this[_0x4f2509(0x3bb)])!=null?_0x584d2b:this[_0x4f2509(0x291)])!=null?_0x337e55:await this[_0x4f2509(0x243)]();if(_0x259bdb){const _0x37351f=_0x259bdb[_0x4f2509(0x1bf)];_0x259bdb[_0x4f2509(0x1bf)]=_0xc4a399=>(this['_rescheduleHeartbeat'](),_0x37351f[_0x4f2509(0x3ed)](_0x259bdb,[_0xc4a399])),_0x259bdb[_0x4f2509(0x2e1)][_0x4f2509(0x148)](_0x5f0040=>this['_onMessage'](_0x259bdb,_0x5f0040)),_0x259bdb[_0x4f2509(0x3e6)][_0x4f2509(0x3c4)](W[_0x4f2509(0x490)](0x1))[_0x4f2509(0x148)](_0x6ab744=>this['_logService'][_0x4f2509(0x1a7)](_0x4f2509(0x137),_0x6ab744)),_0x259bdb[_0x4f2509(0x41d)][_0x4f2509(0x3c4)](W['take'](0x1))['subscribe'](()=>{var _0x45bff7=_0x4f2509;this[_0x45bff7(0x3cb)](_0x259bdb);}),_0x259bdb['close$']['pipe'](W['take'](0x1))[_0x4f2509(0x148)](_0x41c3b6=>{var _0x469c85=_0x4f2509;this[_0x469c85(0x403)]['debug'](_0x469c85(0x43c),_0x469c85(0x367),_0x41c3b6),this[_0x469c85(0x3b3)]();});}}catch(_0x47792d){this[_0x4f2509(0x403)]['error'](_0x47792d),this[_0x4f2509(0x3b3)]();}}[_0x491a6f(0x3cb)](_0x3797c8){var _0x3c36fa=_0x491a6f;this[_0x3c36fa(0x403)][_0x3c36fa(0x11d)](_0x3c36fa(0x43c),_0x3c36fa(0x3d6)),_0x3797c8[_0x3c36fa(0x1bf)]({'cmd':G[_0x3c36fa(0x416)]}),this[_0x3c36fa(0x305)]();}[_0x491a6f(0x1c8)](){var _0x17767a=_0x491a6f;this[_0x17767a(0x274)]=!0x1,this[_0x17767a(0x291)]=null,this['_status$'][_0x17767a(0x480)](se[_0x17767a(0x1da)]),this[_0x17767a(0x3ad)][_0x17767a(0x480)](null),this[_0x17767a(0x32a)](),this[_0x17767a(0x39a)]();}['_onConnectionFailed'](){var _0x56b2c2=_0x491a6f,_0x2cbd91;this[_0x56b2c2(0x1c8)](),this[_0x56b2c2(0x152)]<((_0x2cbd91=this[_0x56b2c2(0x13d)]['getConfig'](mt))!=null?_0x2cbd91:Wt)?(this[_0x56b2c2(0x219)][_0x56b2c2(0x126)]({'id':Q[_0x56b2c2(0x288)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x56b2c2(0x126)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x192b10=_0x491a6f,_0x40aa9b;const _0x24cb7d=this[_0x192b10(0x152)],_0x430f45=this[_0x192b10(0x13d)][_0x192b10(0x167)](Y),_0x260bb2=_0x24cb7d===0x0?0x0:((_0x40aa9b=_0x430f45==null?void 0x0:_0x430f45['retryConnectingInterval'])!=null?_0x40aa9b:Ft)*0x2**_0x24cb7d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5518b0=_0x192b10;clearTimeout(this[_0x5518b0(0x127)]),this['_retryConnectingTimer']=null,this[_0x5518b0(0x3ca)]();},_0x260bb2),this[_0x192b10(0x152)]+=0x1;}[_0x491a6f(0x376)](_0x18fbaf,_0x19955a){var _0x12f900=_0x491a6f;const {cmd:_0xfcb1e2}=_0x19955a;_0xfcb1e2===G[_0x12f900(0x416)]&&!this[_0x12f900(0x274)]&&(_0x18fbaf[_0x12f900(0x364)]=_0x19955a['data']['memberID'],this[_0x12f900(0x3ad)][_0x12f900(0x480)](_0x18fbaf),this[_0x12f900(0x37d)][_0x12f900(0x480)](se[_0x12f900(0x2d4)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0xfcb1e2===G[_0x12f900(0x15a)]&&this['_clearTimeoutTimer'](),this[_0x12f900(0x305)]();}[_0x491a6f(0x305)](){var _0x3de498=_0x491a6f,_0x1e803d;this[_0x3de498(0x39a)](),this[_0x3de498(0x140)]=setTimeout(()=>this[_0x3de498(0x236)](),(_0x1e803d=this['_configService']['getConfig'](pt))!=null?_0x1e803d:Bt);}[_0x491a6f(0x236)](){var _0xbda2df=_0x491a6f;this[_0xbda2df(0x3bb)]['send']({'cmd':G[_0xbda2df(0x15a)]}),this[_0xbda2df(0x455)]();}['_waitForHeartbeatResponse'](){var _0x59aa29=_0x491a6f,_0x2f3564;this['_timeoutTimer']=setTimeout(()=>this[_0x59aa29(0x3b3)](),(_0x2f3564=this[_0x59aa29(0x13d)][_0x59aa29(0x167)](je))!=null?_0x2f3564:gt);}[_0x491a6f(0x39a)](){var _0x18151f=_0x491a6f;this[_0x18151f(0x140)]!=null&&(clearTimeout(this[_0x18151f(0x140)]),this[_0x18151f(0x140)]=null);}[_0x491a6f(0x32a)](){var _0x133c7e=_0x491a6f;this[_0x133c7e(0x386)]!=null&&(clearTimeout(this[_0x133c7e(0x386)]),this[_0x133c7e(0x386)]=null);}},exports[_0x491a6f(0x36f)]=ci([le(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),le(0x1,a[_0x491a6f(0x3c8)]),le(0x2,a[_0x491a6f(0x3db)]),le(0x3,$e),le(0x4,a[_0x491a6f(0x1a1)](te)),le(0x5,a['Optional'](bt))],exports[_0x491a6f(0x36f)]);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x491a6f(0x295)](0x10)[_0x491a6f(0x489)](0x1));function hi(_0x30ee64,_0x5f4ab3=0x0){var _0x567140=_0x491a6f;return(V[_0x30ee64[_0x5f4ab3+0x0]]+V[_0x30ee64[_0x5f4ab3+0x1]]+V[_0x30ee64[_0x5f4ab3+0x2]]+V[_0x30ee64[_0x5f4ab3+0x3]]+'-'+V[_0x30ee64[_0x5f4ab3+0x4]]+V[_0x30ee64[_0x5f4ab3+0x5]]+'-'+V[_0x30ee64[_0x5f4ab3+0x6]]+V[_0x30ee64[_0x5f4ab3+0x7]]+'-'+V[_0x30ee64[_0x5f4ab3+0x8]]+V[_0x30ee64[_0x5f4ab3+0x9]]+'-'+V[_0x30ee64[_0x5f4ab3+0xa]]+V[_0x30ee64[_0x5f4ab3+0xb]]+V[_0x30ee64[_0x5f4ab3+0xc]]+V[_0x30ee64[_0x5f4ab3+0xd]]+V[_0x30ee64[_0x5f4ab3+0xe]]+V[_0x30ee64[_0x5f4ab3+0xf]])[_0x567140(0x2e6)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3ea2d6=_0x491a6f;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3ea2d6(0x3f2)])throw new Error(_0x3ea2d6(0x31f));Ue=crypto[_0x3ea2d6(0x3f2)][_0x3ea2d6(0x2f6)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x491a6f(0x1de)]&&crypto[_0x491a6f(0x1de)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x4ebdac,_0x1a4c65,_0x3e3578){var _0x52508f=_0x491a6f,_0x1305b4,_0x5a9ec,_0x5d6792;if(qe[_0x52508f(0x1de)]&&!_0x4ebdac)return qe[_0x52508f(0x1de)]();_0x4ebdac=_0x4ebdac||{};const _0x5a3989=(_0x5d6792=(_0x5a9ec=_0x4ebdac['random'])!=null?_0x5a9ec:(_0x1305b4=_0x4ebdac[_0x52508f(0x388)])==null?void 0x0:_0x1305b4[_0x52508f(0x21a)](_0x4ebdac))!=null?_0x5d6792:_i();if(_0x5a3989['length']<0x10)throw new Error(_0x52508f(0x3ec));return _0x5a3989[0x6]=_0x5a3989[0x6]&0xf|0x40,_0x5a3989[0x8]=_0x5a3989[0x8]&0x3f|0x80,hi(_0x5a3989);}const z=a[_0x491a6f(0x2f0)]('collaboration-client.local-cache-service');function vi(_0x5ab5e0){var _0x50d5af=_0x491a6f;return _0x50d5af(0x2d2)+_0x5ab5e0;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x3b9dc8,_0xc9816c,_0xcb893,_0x517860)=>{for(var _0x99bf2a=_0x517860>0x1?void 0x0:_0x517860?Si(_0xc9816c,_0xcb893):_0xc9816c,_0x493ff4=_0x3b9dc8['length']-0x1,_0x5e26a7;_0x493ff4>=0x0;_0x493ff4--)(_0x5e26a7=_0x3b9dc8[_0x493ff4])&&(_0x99bf2a=_0x5e26a7(_0x99bf2a)||_0x99bf2a);return _0x99bf2a;},Pe=(_0x300a1d,_0x2e1de1)=>(_0x1f1f5b,_0x5eedcb)=>_0x2e1de1(_0x1f1f5b,_0x5eedcb,_0x300a1d);function pi(_0x1e15c7){var _0x435df2=_0x491a6f;const {unitID:_0x490c63,mutations:_0x5a2dec}=_0x1e15c7;return{'unitId':_0x490c63,'subUnitId':_0x5a2dec[0x0][_0x435df2(0x292)][_0x435df2(0x407)]};}exports[_0x491a6f(0x153)]=class{constructor(_0x3d98f1,_0x59fbfb,_0xe7bebc){var _0x4ddf70=_0x491a6f;this[_0x4ddf70(0x488)]=_0x3d98f1,this[_0x4ddf70(0x21c)]=_0x59fbfb,this[_0x4ddf70(0x1bd)]=_0xe7bebc;}[_0x491a6f(0x48e)](_0x6e042a){var _0x4df32c=_0x491a6f,_0x550582,_0x39da6e,_0x57a99c,_0xd9c179;const _0x34c5b2=this[_0x4df32c(0x488)][_0x4df32c(0x33b)](Z[_0x4df32c(0x3a3)]),{unitId:_0x20075b,subUnitId:_0x1ae1ee}=pi(_0x6e042a),_0x3b8e3c=_0x34c5b2==null?void 0x0:_0x34c5b2[_0x4df32c(0x45a)](_0x20075b)[_0x4df32c(0x3be)](),_0x3b3c51=(_0x39da6e=(_0x550582=this[_0x4df32c(0x1bd)]['getUnit'](_0x20075b))==null?void 0x0:_0x550582[_0x4df32c(0x326)]())==null?void 0x0:_0x39da6e[_0x4df32c(0x26c)]();if(_0x3b8e3c[_0x4df32c(0x182)]===0x0||!_0x20075b||!_0x1ae1ee)return;const _0x1c7e40=[{'id':Z[_0x4df32c(0x17d)]['id'],'params':{'unitId':_0x20075b,'subUnitId':_0x3b3c51,'selections':a[_0x4df32c(0x46f)][_0x4df32c(0x164)](_0x3b8e3c)}}],_0x4628f3=this['_transformService'][_0x4df32c(0x1ca)](_0x6e042a,_0x1c7e40);if(!g[_0x4df32c(0x29c)](_0x4628f3))throw _0x4628f3[_0x4df32c(0x1a7)];const _0x1a63cb=(_0xd9c179=(_0x57a99c=_0x4628f3[_0x4df32c(0x1f3)][0x0])==null?void 0x0:_0x57a99c[_0x4df32c(0x292)])==null?void 0x0:_0xd9c179['selections'];if(Array[_0x4df32c(0x1ba)](_0x1a63cb)&&_0x1a63cb[_0x4df32c(0x182)]){if(_0x1a63cb['length']===_0x1c7e40[0x0][_0x4df32c(0x292)]['selections'][_0x4df32c(0x182)]&&_0x1a63cb['every']((_0x534ff7,_0x462ff5)=>a['Rectangle']['equals'](_0x534ff7['range'],_0x1c7e40[0x0][_0x4df32c(0x292)][_0x4df32c(0x266)][_0x462ff5]['range'])))return;this[_0x4df32c(0x488)]['get'](a[_0x4df32c(0x2ce)])[_0x4df32c(0x453)](Z[_0x4df32c(0x17d)]['id'],{'unitId':_0x20075b,'subUnitId':_0x3b3c51,'selections':_0x1a63cb});}}},exports[_0x491a6f(0x153)]=fi([Pe(0x0,a['Inject'](a[_0x491a6f(0x400)])),Pe(0x1,g['ITransformService']),Pe(0x2,a[_0x491a6f(0x312)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x36cb30=>(_0x36cb30[_0x36cb30[_0x491a6f(0x33a)]=0x0]=_0x491a6f(0x33a),_0x36cb30[_0x36cb30[_0x491a6f(0x227)]=0x1]='OTHER_CLIENTS_EDITING',_0x36cb30))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x3352c0,_0xdfe883,_0x1f3ac9,_0xd4b8da,_0x176b0d){var _0x23c6db=_0x491a6f,_0x3c1e1f,_0x48adbd,_0x4e6688,_0x3e4d0d;const _0x551f11=[];for(const _0x165ecc of _0x3352c0)if(gi[_0x23c6db(0x410)](_0x165ecc['id'])){if(_0x551f11[_0x23c6db(0x182)]>0x0)break;_0x551f11[_0x23c6db(0x3c3)](_0x165ecc);break;}else _0x551f11['push'](_0x165ecc);const _0x30fbaf=(_0x48adbd=(_0x3c1e1f=_0x176b0d[_0x23c6db(0x2c8)]())==null?void 0x0:_0x3c1e1f[_0x23c6db(0x485)])!=null?_0x48adbd:_0x23c6db(0x432),_0x4dca80=(_0x3e4d0d=(_0x4e6688=_0x176b0d[_0x23c6db(0x2c8)]())==null?void 0x0:_0x4e6688[_0x23c6db(0x364)])!=null?_0x3e4d0d:_0x23c6db(0x432);return{'changeset':{'unitID':_0xdfe883,'type':g[_0x23c6db(0x2ef)](_0x1f3ac9[_0x23c6db(0x3e2)](_0xdfe883)),'baseRev':_0xd4b8da[_0x23c6db(0x26b)](_0xdfe883),'revision':0x0,'userID':_0x30fbaf,'memberID':_0x4dca80,'mutations':_0x551f11},'pendingMutations':_0x3352c0[_0x23c6db(0x489)](_0x551f11[_0x23c6db(0x182)])};}function mi(_0x1e496e,_0x29a521,_0x3491d0,_0x567166,_0x42e2d5){var _0x5da9e4=_0x491a6f,_0x3db608,_0x634622,_0x43be58,_0x3aaeaf;const _0x14d4ba=[_0x1e496e[_0x5da9e4(0x200)]((_0x16b20d,_0x5db9cc)=>{var _0x2f357f=_0x5da9e4,_0x5130c2;const {id:_0x444f77}=_0x16b20d,{id:_0x2d822b,type:_0x3b5558}=_0x5db9cc,_0x5c5b87=(_0x5130c2=_0x16b20d[_0x2f357f(0x292)])!=null?_0x5130c2:{'actions':null},_0x3cfd67=_0x5db9cc['params'];if(_0x444f77&&_0x444f77!==_0x2d822b)throw new Error(_0x2f357f(0x12d)+_0x444f77+_0x2f357f(0x1f0)+_0x2d822b+'.');return{..._0x16b20d,'id':_0x2d822b,'type':_0x3b5558,'params':{'unitId':_0x3cfd67[_0x2f357f(0x3f9)],'textRanges':_0x3cfd67['textRanges'],'actions':a[_0x2f357f(0x246)]['compose'](_0x5c5b87[_0x2f357f(0x2b9)],_0x3cfd67[_0x2f357f(0x2b9)])}};},{})],_0x4250ee=(_0x634622=(_0x3db608=_0x42e2d5[_0x5da9e4(0x2c8)]())==null?void 0x0:_0x3db608['userID'])!=null?_0x634622:_0x5da9e4(0x432),_0x5dadd2=(_0x3aaeaf=(_0x43be58=_0x42e2d5[_0x5da9e4(0x2c8)]())==null?void 0x0:_0x43be58[_0x5da9e4(0x364)])!=null?_0x3aaeaf:_0x5da9e4(0x432);return{'changeset':{'unitID':_0x29a521,'type':g[_0x5da9e4(0x2ef)](_0x3491d0[_0x5da9e4(0x3e2)](_0x29a521)),'baseRev':_0x567166['getCurrentRevOfUnit'](_0x29a521),'revision':0x0,'userID':_0x4250ee,'memberID':_0x5dadd2,'mutations':_0x14d4ba},'pendingMutations':[]};}function Ot(_0x368f8b,_0x5741f7){var _0x527093=_0x491a6f;const _0x3bfd0a=new j[(_0x527093(0x13e))](0x1);return setTimeout(()=>_0x3bfd0a[_0x527093(0x480)](_0x5741f7),_0x368f8b),_0x3bfd0a['asObservable']()['pipe'](j[_0x527093(0x490)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x491a6f(0x349)][_0x491a6f(0x2a0)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x433910,_0x52b7ef,_0x544490,_0x202513)=>{var _0x26a52a=_0x491a6f;for(var _0x330627=_0x202513>0x1?void 0x0:_0x202513?Ei(_0x52b7ef,_0x544490):_0x52b7ef,_0x46ea2a=_0x433910[_0x26a52a(0x182)]-0x1,_0x5336fe;_0x46ea2a>=0x0;_0x46ea2a--)(_0x5336fe=_0x433910[_0x46ea2a])&&(_0x330627=_0x5336fe(_0x330627)||_0x330627);return _0x330627;},w=(_0x4de63a,_0x418328)=>(_0x192280,_0xbefb9)=>_0x418328(_0x192280,_0xbefb9,_0x4de63a),We=(_0x1787de=>(_0x1787de['NOT_COLLAB']='not_collab',_0x1787de[_0x491a6f(0x290)]='synced',_0x1787de['PENDING']=_0x491a6f(0x214),_0x1787de[_0x491a6f(0x1b6)]=_0x491a6f(0x45c),_0x1787de[_0x491a6f(0x373)]='awaiting_with_pending',_0x1787de[_0x491a6f(0x34e)]=_0x491a6f(0x29b),_0x1787de[_0x491a6f(0x187)]=_0x491a6f(0x2ad),_0x1787de[_0x491a6f(0x1da)]=_0x491a6f(0x189),_0x1787de))(We||{});const Nt=0xea60;class he{constructor(_0x39b77b,_0x2a58af,_0x294a4e,_0x290764,_0x201028,_0x130b5f,_0x204362,_0x12f13f,_0x58981b){var _0x2812a2=_0x491a6f;P(this,_0x2812a2(0x41f),null),P(this,_0x2812a2(0x3a8),[]),(this['unitID']=_0x39b77b,this['type']=_0x2a58af,this[_0x2812a2(0x2af)]=_0x201028,this[_0x2812a2(0x296)]=_0x130b5f,this[_0x2812a2(0x24b)]=_0x204362,this[_0x2812a2(0x3fa)]=_0x12f13f,this[_0x2812a2(0x345)]=_0x58981b,this[_0x2812a2(0x41f)]=_0x294a4e,this['_pendingMutations']=_0x290764);}[_0x491a6f(0x371)](_0x2a8847){var _0x8e18c9=_0x491a6f;const _0x4794cb=this[_0x8e18c9(0x3fa)][_0x8e18c9(0x26b)](this[_0x8e18c9(0x408)]);return _0x2a8847[_0x8e18c9(0x186)]>_0x4794cb+0x1?(this[_0x8e18c9(0x2af)]['onMissingChangesets']({'from':_0x4794cb,'to':_0x2a8847['revision']-0x1}),!0x0):!0x1;}[_0x491a6f(0x2a6)](_0x2d1cc0){var _0x4eda04=_0x491a6f;this['_undoRedoService']['transformUndoRedo'](this[_0x4eda04(0x408)],_0x2d1cc0);}[_0x491a6f(0x14e)](_0x3f884c){var _0x5d9146=_0x491a6f,_0x349b65,_0x64ea6f;(_0x64ea6f=(_0x349b65=this[_0x5d9146(0x2af)])[_0x5d9146(0x36e)])==null||_0x64ea6f[_0x5d9146(0x21a)](_0x349b65,_0x3f884c);}['_transformIMECache'](_0x2a5c1f){var _0x1eebbd=_0x491a6f,_0x5eea6f,_0x3d55c1;return(_0x3d55c1=(_0x5eea6f=this['_handler'])[_0x1eebbd(0x308)])==null?void 0x0:_0x3d55c1[_0x1eebbd(0x21a)](_0x5eea6f,_0x2a5c1f);}[_0x491a6f(0x35d)](_0x44e952){var _0x2a02d4=_0x491a6f,_0x297bb6,_0x488699;return(_0x488699=(_0x297bb6=this[_0x2a02d4(0x2af)])[_0x2a02d4(0x28c)])==null?void 0x0:_0x488699[_0x2a02d4(0x21a)](_0x297bb6,_0x44e952);}[_0x491a6f(0x1e5)](_0xd6c7b9){var _0x41aab2=_0x491a6f,_0x2bea92,_0xb307ad,_0x43b38b;return(_0x43b38b=(_0xb307ad=(_0x2bea92=this[_0x41aab2(0x2af)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb307ad[_0x41aab2(0x21a)](_0x2bea92,_0xd6c7b9))!=null?_0x43b38b:_0xd6c7b9;}['_transformRemoteChangesetByStateCache'](_0x5ed725){var _0x59e480=_0x491a6f,_0x139b7b,_0x793b47,_0x58f4f9;return(_0x58f4f9=(_0x793b47=(_0x139b7b=this[_0x59e480(0x2af)])[_0x59e480(0x1c9)])==null?void 0x0:_0x793b47[_0x59e480(0x21a)](_0x139b7b,_0x5ed725))!=null?_0x58f4f9:_0x5ed725;}[_0x491a6f(0x2b0)](_0x462a6d){var _0x37d03d=_0x491a6f,_0x1fc94d,_0x3b9c08;if(this[_0x37d03d(0x325)]===X['UNIVER_DOC']){const {unitID:_0x4f8763,mutations:_0x75f2f4,memberID:_0x266332}=_0x462a6d,_0x17d69c=_0x75f2f4[0x0][_0x37d03d(0x292)]['textRanges'];Array[_0x37d03d(0x1ba)](_0x17d69c)&&_0x17d69c[_0x37d03d(0x182)]>0x0&&((_0x3b9c08=(_0x1fc94d=this[_0x37d03d(0x2af)])[_0x37d03d(0x44f)])==null||_0x3b9c08[_0x37d03d(0x21a)](_0x1fc94d,{'unitID':_0x4f8763,'memberID':_0x266332,'textRanges':_0x17d69c}));}}[_0x491a6f(0x466)](){var _0x291b2e=_0x491a6f,_0x5a77c7;(_0x5a77c7=this[_0x291b2e(0x345)])==null||_0x5a77c7['updateOfflineData'](this[_0x291b2e(0x408)],this[_0x291b2e(0x325)],this[_0x291b2e(0x41f)],this[_0x291b2e(0x3a8)]);}[_0x491a6f(0x2bb)](){var _0x3e9e47=_0x491a6f;return this['_revisionService'][_0x3e9e47(0x26b)](this[_0x3e9e47(0x408)]);}[_0x491a6f(0x47b)](){var _0x3e7114=_0x491a6f;this[_0x3e7114(0x3fa)][_0x3e7114(0x405)](this['unitID']);}[_0x491a6f(0x128)](_0x4ca716){var _0x31ff68=_0x491a6f,_0x5f309d;let _0x2c3887=this[_0x31ff68(0x1e5)](_0x4ca716);_0x2c3887=this[_0x31ff68(0x475)](_0x2c3887);const _0x47cc6a=a['sequenceExecute'](_0x2c3887[_0x31ff68(0x35a)],this[_0x31ff68(0x296)],{'fromCollab':!0x0});if(!_0x47cc6a[_0x31ff68(0x24a)])throw _0x47cc6a[_0x31ff68(0x1a7)]instanceof Error?_0x47cc6a[_0x31ff68(0x1a7)]:new Error((_0x5f309d=_0x47cc6a[_0x31ff68(0x1a7)])!=null?_0x5f309d:_0x31ff68(0x37e));this[_0x31ff68(0x2dd)](_0x2c3887),this[_0x31ff68(0x35d)](_0x2c3887),this['_transformUndoredo'](_0x4ca716),this[_0x31ff68(0x14e)](_0x2c3887),this['_syncEditingCollabCursor'](_0x2c3887),this[_0x31ff68(0x47b)]();}}exports['SyncedState']=class extends he{constructor(_0x5111ae,_0xe72a03,_0x3246c1,_0x450e7b,_0xe27caa,_0x2eb304,_0x1b67f1,_0x3fd2dd,_0x1640c5,_0x41302b){var _0x2c9713=_0x491a6f;super(_0x5111ae,_0xe72a03,null,[],_0x3246c1,_0x1b67f1,_0x2eb304,_0x450e7b,_0x41302b),P(this,_0x2c9713(0x1ad),_0x2c9713(0x23b)),(this[_0x2c9713(0x488)]=_0xe27caa,this['_logService']=_0x3fd2dd,this[_0x2c9713(0x21c)]=_0x1640c5,this[_0x2c9713(0x2d1)]=_0x41302b);}[_0x491a6f(0x166)](_0x4e8f0c){var _0x2ece33=_0x491a6f;const _0x1c476c=this[_0x2ece33(0x488)][_0x2ece33(0x125)](exports[_0x2ece33(0x35e)],this[_0x2ece33(0x408)],this[_0x2ece33(0x325)],[_0x4e8f0c],this['_handler']);return _0x1c476c[_0x2ece33(0x120)](),_0x1c476c['_updateLocalCache'](),_0x1c476c;}[_0x491a6f(0x267)](_0x2c8378){var _0x39c7c8=_0x491a6f;if(this[_0x39c7c8(0x371)](_0x2c8378))return this[_0x39c7c8(0x488)][_0x39c7c8(0x125)](exports['FetchingMissState'],this[_0x39c7c8(0x408)],this[_0x39c7c8(0x325)],null,[],null,[_0x2c8378],this[_0x39c7c8(0x2af)]);try{const _0x1ea78e=this[_0x39c7c8(0x21c)][_0x39c7c8(0x1ca)](_0x2c8378,[Ii]);if(g[_0x39c7c8(0x29c)](_0x1ea78e)){const {c1Prime:_0x1a5ca1}=_0x1ea78e;return this[_0x39c7c8(0x128)](_0x1a5ca1),this;}throw _0x1ea78e[_0x39c7c8(0x1a7)];}catch(_0x20d2a7){return this[_0x39c7c8(0x403)][_0x39c7c8(0x1a7)](_0x20d2a7),this[_0x39c7c8(0x380)](!0x1);}}['_onConflict'](_0x2c270a){var _0x1f4e44=_0x491a6f;return this[_0x1f4e44(0x488)][_0x1f4e44(0x125)](exports[_0x1f4e44(0x2d3)],this['unitID'],this[_0x1f4e44(0x325)],null,[],this['_handler'],_0x2c270a);}[_0x491a6f(0x2b8)](){var _0xb499d5=_0x491a6f;throw new Error(_0xb499d5(0x21d));}['onRemoteRej'](){var _0x140471=_0x491a6f;throw new Error(_0x140471(0x15f));}['onRemoteRetry'](){return this;}[_0x491a6f(0x473)](){var _0x1e520a=_0x491a6f;return this[_0x1e520a(0x488)][_0x1e520a(0x125)](exports[_0x1e520a(0x252)],this[_0x1e520a(0x408)],this[_0x1e520a(0x325)],null,[],this['_handler']);}[_0x491a6f(0x238)](){return this;}['resend'](){var _0x20a965=_0x491a6f;throw new Error(_0x20a965(0x419));}[_0x491a6f(0x3f4)](){var _0x2b4a86=_0x491a6f;const _0x4ef155=this['_revisionService'][_0x2b4a86(0x26b)](this['unitID']);return this[_0x2b4a86(0x2af)][_0x2b4a86(0x232)]({'from':_0x4ef155,'to':0x0}),this[_0x2b4a86(0x488)]['createInstance'](exports['FetchingMissState'],this[_0x2b4a86(0x408)],this[_0x2b4a86(0x325)],null,[],null,[],this[_0x2b4a86(0x2af)]);}},exports[_0x491a6f(0x1ec)]=ce([w(0x3,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x4,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x5,a[_0x491a6f(0x287)]),w(0x6,a['ICommandService']),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,g['ITransformService']),w(0x9,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x1ec)]),exports['PendingState']=class extends he{constructor(_0x2061a7,_0x257a70,_0x5d77c6,_0x425b63,_0x14dd71,_0xe35d90,_0x42be3f,_0x5d0e1a,_0x323718,_0x263b14,_0x1265bf,_0x45786d,_0x283f0e,_0x445c9b){var _0xfa949d=_0x491a6f;super(_0x2061a7,_0x257a70,null,_0x5d77c6,_0x425b63,_0x323718,_0x283f0e,_0xe35d90,_0x445c9b),P(this,_0xfa949d(0x1ad),_0xfa949d(0x214)),P(this,_0xfa949d(0x409),null),P(this,_0xfa949d(0x27d),null),(this[_0xfa949d(0x488)]=_0x14dd71,this[_0xfa949d(0x27f)]=_0x42be3f,this[_0xfa949d(0x403)]=_0x5d0e1a,this[_0xfa949d(0x13d)]=_0x263b14,this[_0xfa949d(0x21c)]=_0x1265bf,this['_univerInstanceService']=_0x45786d);}['appendMutation'](_0x5ec5cb){var _0x4ceee0=_0x491a6f;return this[_0x4ceee0(0x3a8)]['push'](_0x5ec5cb),this[_0x4ceee0(0x466)](),this;}[_0x491a6f(0x267)](_0x3796e5){var _0x19d7a5=_0x491a6f;if(this[_0x19d7a5(0x371)](_0x3796e5))return this['_clearScheduledTask'](),this[_0x19d7a5(0x488)][_0x19d7a5(0x125)](exports[_0x19d7a5(0x191)],this[_0x19d7a5(0x408)],this['type'],null,this[_0x19d7a5(0x3a8)],null,[_0x3796e5],this[_0x19d7a5(0x2af)]);try{const _0xb29d80=this[_0x19d7a5(0x21c)][_0x19d7a5(0x1ca)](_0x3796e5,this['_pendingMutations']);if(g['isTransformMutationsWithChangesetSuccess'](_0xb29d80)){const {c1Prime:_0x110d77,m2Prime:_0x55af5b}=_0xb29d80;this[_0x19d7a5(0x128)](_0x110d77);const _0x1fc380=this[_0x19d7a5(0x488)][_0x19d7a5(0x125)](exports['PendingState'],this['unitID'],this[_0x19d7a5(0x325)],_0x55af5b,this[_0x19d7a5(0x2af)]);this[_0x19d7a5(0x2fb)]();const _0x510eb3=new Date()[_0x19d7a5(0x20d)](),_0x40953e=this[_0x19d7a5(0x409)]?Math[_0x19d7a5(0x250)](this['_scheduleCompleteTimestamp']-_0x510eb3,0x0):this['_getSendChangesetTimeout']();return _0x1fc380[_0x19d7a5(0x120)](_0x40953e),_0x1fc380;}throw _0xb29d80[_0x19d7a5(0x1a7)];}catch(_0x362dd8){return this[_0x19d7a5(0x403)][_0x19d7a5(0x1a7)](_0x362dd8),this[_0x19d7a5(0x380)](!0x1);}}[_0x491a6f(0x2b8)](){var _0x31d9dc=_0x491a6f;throw new Error(_0x31d9dc(0x328));}[_0x491a6f(0x233)](){var _0x4bbe5e=_0x491a6f;throw new Error(_0x4bbe5e(0x18b));}['onRemoteRetry'](){return this;}[_0x491a6f(0x473)](){var _0xeab27=_0x491a6f;return this[_0xeab27(0x2fb)](),this[_0xeab27(0x488)]['createInstance'](exports['OfflineState'],this[_0xeab27(0x408)],this[_0xeab27(0x325)],null,this[_0xeab27(0x3a8)],this[_0xeab27(0x2af)]);}['toggleOnline'](){return this;}[_0x491a6f(0x120)](_0x58271){var _0xb41442=_0x491a6f;const _0x50ee16=_0x58271!=null?_0x58271:this[_0xb41442(0x1db)]();this['_scheduleCompleteTimestamp']=new Date()[_0xb41442(0x20d)]()+_0x50ee16,this[_0xb41442(0x27d)]=setTimeout(()=>{var _0x5db6d3=_0xb41442;this['_clearScheduledTask']();let _0x29614e=null;switch(this[_0x5db6d3(0x325)]){case X[_0x5db6d3(0x2fc)]:{_0x29614e=ze(this['_pendingMutations'],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this[_0x5db6d3(0x3fa)],this[_0x5db6d3(0x27f)]);break;}case X['UNIVER_DOC']:{this[_0x5db6d3(0x3a8)][_0x5db6d3(0x476)](_0x361f67=>_0x361f67['id']===ut[_0x5db6d3(0x13a)]['id'])?_0x29614e=mi(this[_0x5db6d3(0x3a8)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this['_revisionService'],this[_0x5db6d3(0x27f)]):_0x29614e=ze(this[_0x5db6d3(0x3a8)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x192)],this[_0x5db6d3(0x3fa)],this[_0x5db6d3(0x27f)]);break;}default:throw new Error(_0x5db6d3(0x47e)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x56106a,pendingMutations:_0x4f4fd5}=_0x29614e;this[_0x5db6d3(0x2af)][_0x5db6d3(0x2ec)](_0x56106a);const _0x1a57ba=_0x4f4fd5[_0x5db6d3(0x182)]?this['_injector'][_0x5db6d3(0x125)](exports[_0x5db6d3(0x239)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x325)],_0x56106a,_0x4f4fd5,this[_0x5db6d3(0x2af)],void 0x0):this[_0x5db6d3(0x488)][_0x5db6d3(0x125)](exports[_0x5db6d3(0x28e)],this[_0x5db6d3(0x408)],this[_0x5db6d3(0x325)],_0x56106a,this[_0x5db6d3(0x2af)]);_0x1a57ba[_0x5db6d3(0x466)](),this[_0x5db6d3(0x2af)][_0x5db6d3(0x23f)](this,_0x1a57ba);},_0x50ee16);}[_0x491a6f(0x1db)](){var _0x9ae08b=_0x491a6f,_0x417940;const _0x3fc57e=this[_0x9ae08b(0x13d)][_0x9ae08b(0x167)](Y);return(_0x417940=_0x3fc57e==null?void 0x0:_0x3fc57e['sendChangesetTimeout'])!=null?_0x417940:jt;}[_0x491a6f(0x36b)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x491a6f(0x2fb)](){var _0x3403d9=_0x491a6f;this[_0x3403d9(0x27d)]!=null&&(clearTimeout(this[_0x3403d9(0x27d)]),this[_0x3403d9(0x27d)]=null);}['_onConflict'](_0x5068a7){var _0x1f79af=_0x491a6f;return this[_0x1f79af(0x2fb)](),this[_0x1f79af(0x488)][_0x1f79af(0x125)](exports[_0x1f79af(0x2d3)],this[_0x1f79af(0x408)],this['type'],null,this[_0x1f79af(0x3a8)],this[_0x1f79af(0x2af)],_0x5068a7);}},exports[_0x491a6f(0x35e)]=ce([w(0x4,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x5,a['Inject'](g[_0x491a6f(0x3c6)])),w(0x6,a[_0x491a6f(0x1a1)](exports[_0x491a6f(0x3cf)])),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,a[_0x491a6f(0x2ce)]),w(0x9,a['IConfigService']),w(0xa,g[_0x491a6f(0x2b1)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x491a6f(0x287)]),w(0xd,a['Optional'](z))],exports[_0x491a6f(0x35e)]),exports[_0x491a6f(0x28e)]=class extends he{constructor(_0x137075,_0x369d2a,_0x115eed,_0x183727,_0x106fd3,_0x4a8e76,_0x1a92ca,_0x212403,_0x3d52a6,_0x48c50a,_0xab1d1f){var _0x4a210e=_0x491a6f;super(_0x137075,_0x369d2a,_0x115eed,[],_0x183727,_0x1a92ca,_0x48c50a,_0x4a8e76,_0xab1d1f),P(this,'status',_0x4a210e(0x45c)),P(this,_0x4a210e(0x27c),0x0),P(this,'_resendTimer'),P(this,_0x4a210e(0x1dc)),(this[_0x4a210e(0x488)]=_0x106fd3,this[_0x4a210e(0x403)]=_0x212403,this[_0x4a210e(0x21c)]=_0x3d52a6);}['appendMutation'](_0xc50bc3){var _0x4eb629=_0x491a6f;this[_0x4eb629(0x2fb)]();const _0x177ec3=this[_0x4eb629(0x488)][_0x4eb629(0x125)](exports[_0x4eb629(0x239)],this[_0x4eb629(0x408)],this['type'],this[_0x4eb629(0x41f)],[_0xc50bc3],this[_0x4eb629(0x2af)],this['_resendTimer']);return _0x177ec3['_updateLocalCache'](),_0x177ec3;}[_0x491a6f(0x267)](_0x4eb764){var _0x594465=_0x491a6f;if(this['_checkMissing'](_0x4eb764))return this[_0x594465(0x2fb)](),this[_0x594465(0x488)]['createInstance'](exports[_0x594465(0x191)],this[_0x594465(0x408)],this[_0x594465(0x325)],this['_awaitingChangeset'],[],null,[_0x4eb764],this[_0x594465(0x2af)]);try{const _0x31e4db=this[_0x594465(0x21c)][_0x594465(0x139)]([_0x4eb764],[this[_0x594465(0x41f)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x31e4db)){const {c1Prime:_0x562d6f,c2Prime:_0x264f3c}=_0x31e4db;this['_executeRemoteChangeset'](_0x562d6f[0x0]),_0x264f3c[0x0][_0x594465(0x1dd)]=this['_getCurrentRevision'](),this[_0x594465(0x2fb)]();const _0x4e3b2a=this[_0x594465(0x488)]['createInstance'](exports[_0x594465(0x28e)],this[_0x594465(0x408)],this[_0x594465(0x325)],_0x264f3c[0x0],this[_0x594465(0x2af)]);return _0x4e3b2a[_0x594465(0x466)](),_0x4e3b2a;}return this[_0x594465(0x380)](!0x1);}catch(_0x1ada7e){return this[_0x594465(0x403)][_0x594465(0x1a7)](_0x1ada7e),this[_0x594465(0x380)](!0x1);}}[_0x491a6f(0x2b8)](_0x52b7e8){var _0x329b4e=_0x491a6f;this['_clearScheduledTask']();const _0x167a28=this[_0x329b4e(0x3fa)]['getCurrentRevOfUnit'](this[_0x329b4e(0x408)]);if(_0x52b7e8[_0x329b4e(0x186)]<_0x167a28-0x1)return this;if(this[_0x329b4e(0x371)](_0x52b7e8))return this[_0x329b4e(0x488)]['createInstance'](exports['FetchingMissState'],this[_0x329b4e(0x408)],this['type'],null,[],this[_0x329b4e(0x41f)],[],this['_handler']);this[_0x329b4e(0x47b)]();const _0xd7a7d8=this['_injector'][_0x329b4e(0x125)](exports[_0x329b4e(0x1ec)],this[_0x329b4e(0x408)],this[_0x329b4e(0x325)],this[_0x329b4e(0x2af)]);return _0xd7a7d8[_0x329b4e(0x466)](),_0xd7a7d8;}[_0x491a6f(0x233)](_0x533d8f){var _0x201a21=_0x491a6f;return this[_0x201a21(0x380)](!!(_0x533d8f!=null&&_0x533d8f[_0x201a21(0x14c)]));}[_0x491a6f(0x35c)](_0x5606e2){var _0x4ff1bc=_0x491a6f;return this[_0x4ff1bc(0x27c)]>Nt?this[_0x4ff1bc(0x473)]():(this[_0x4ff1bc(0x454)]=Ot(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5606e2[_0x4ff1bc(0x19a)]}),this[_0x4ff1bc(0x1dc)]=this[_0x4ff1bc(0x454)][_0x4ff1bc(0x148)](({reqId:_0x53a5e0,timeout:_0x4985e6})=>{var _0x216c7e=_0x4ff1bc;this[_0x216c7e(0x2a1)](_0x53a5e0,_0x4985e6);}),this);}[_0x491a6f(0x473)](){var _0x5407ab=_0x491a6f;return this['_clearScheduledTask'](),this[_0x5407ab(0x488)][_0x5407ab(0x125)](exports[_0x5407ab(0x252)],this[_0x5407ab(0x408)],this['type'],this[_0x5407ab(0x41f)],[],this[_0x5407ab(0x2af)]);}[_0x491a6f(0x238)](){return this;}['resend'](){var _0x26917a=_0x491a6f;this[_0x26917a(0x2af)]['onSendChangeset'](this[_0x26917a(0x41f)]);}['_onConflict'](_0x5c3788){var _0x1674a1=_0x491a6f;return this[_0x1674a1(0x2fb)](),this['_injector']['createInstance'](exports[_0x1674a1(0x2d3)],this['unitID'],this[_0x1674a1(0x325)],this['_awaitingChangeset'],[],this['_handler'],_0x5c3788);}[_0x491a6f(0x2a1)](_0x5a7d7f,_0x24733d){var _0x42fdfc=_0x491a6f,_0x3182fa;_0x5a7d7f===((_0x3182fa=this[_0x42fdfc(0x41f)])==null?void 0x0:_0x3182fa[_0x42fdfc(0x19a)])&&(this['resend'](),this[_0x42fdfc(0x27c)]=_0x24733d===0x0?0x3e8:_0x24733d*0x2);}['_clearScheduledTask'](){var _0x53e697=_0x491a6f,_0x562c96;(_0x562c96=this[_0x53e697(0x1dc)])==null||_0x562c96[_0x53e697(0x3ae)](),this[_0x53e697(0x27c)]=0x0;}},exports[_0x491a6f(0x28e)]=ce([w(0x4,a['Inject'](a[_0x491a6f(0x400)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x491a6f(0x2ce)]),w(0x7,a[_0x491a6f(0x3c8)]),w(0x8,g[_0x491a6f(0x2b1)]),w(0x9,a[_0x491a6f(0x287)]),w(0xa,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x28e)]),exports[_0x491a6f(0x239)]=class extends he{constructor(_0x4418e8,_0x2e60af,_0x120ad6,_0x14f7e3,_0x5b03d0,_0x4d72cf,_0x331b17,_0x2998d4,_0x4fccfb,_0x54e91f,_0x32d99a,_0x4abac4,_0x40906d){var _0x5def1f=_0x491a6f;super(_0x4418e8,_0x2e60af,_0x120ad6,_0x14f7e3,_0x5b03d0,_0x4fccfb,_0x4abac4,_0x2998d4,_0x40906d),P(this,_0x5def1f(0x1ad),_0x5def1f(0x435)),P(this,_0x5def1f(0x27c),0x0),P(this,_0x5def1f(0x454)),P(this,_0x5def1f(0x1dc)),(this[_0x5def1f(0x488)]=_0x331b17,this[_0x5def1f(0x403)]=_0x54e91f,this['_transformService']=_0x32d99a,this[_0x5def1f(0x2d1)]=_0x40906d,_0x4d72cf&&(this[_0x5def1f(0x454)]=_0x4d72cf,this[_0x5def1f(0x1dc)]=this['_resendTimer'][_0x5def1f(0x148)](({reqId:_0x40a32e,timeout:_0x493d00})=>{this['_resendWithTimeout'](_0x40a32e,_0x493d00);})));}[_0x491a6f(0x166)](_0x8a7b23){var _0x5c5a93=_0x491a6f;return this['_pendingMutations'][_0x5c5a93(0x3c3)](_0x8a7b23),this;}['onRemoteChangeset'](_0x452119){var _0x56e5ed=_0x491a6f;if(this[_0x56e5ed(0x371)](_0x452119))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x56e5ed(0x191)],this[_0x56e5ed(0x408)],this[_0x56e5ed(0x325)],this['_awaitingChangeset'],this[_0x56e5ed(0x3a8)],null,[_0x452119],this['_handler']);try{const _0x337626=this[_0x56e5ed(0x21c)][_0x56e5ed(0x139)]([_0x452119],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0x337626)){const {c1Prime:_0xb6fe79,c2Prime:_0x387041}=_0x337626,_0x27ea18=this[_0x56e5ed(0x21c)][_0x56e5ed(0x1ca)](_0xb6fe79[0x0],this[_0x56e5ed(0x3a8)]);if(g[_0x56e5ed(0x29c)](_0x27ea18)){const {c1Prime:_0x105175,m2Prime:_0x114054}=_0x27ea18;return this[_0x56e5ed(0x128)](_0x105175),_0x387041[0x0][_0x56e5ed(0x1dd)]=this[_0x56e5ed(0x2bb)](),this[_0x56e5ed(0x2fb)](),this[_0x56e5ed(0x488)]['createInstance'](exports[_0x56e5ed(0x239)],this[_0x56e5ed(0x408)],this['type'],_0x387041[0x0],_0x114054,this[_0x56e5ed(0x2af)],void 0x0);}throw _0x27ea18['error'];}throw _0x337626[_0x56e5ed(0x1a7)];}catch(_0x4b09a2){return this[_0x56e5ed(0x403)]['error'](_0x4b09a2),this[_0x56e5ed(0x380)](!0x1);}}['onRemoteAck'](_0x2e1841){var _0x34eaaa=_0x491a6f;if(this[_0x34eaaa(0x2fb)](),this[_0x34eaaa(0x371)](_0x2e1841))return this[_0x34eaaa(0x488)][_0x34eaaa(0x125)](exports[_0x34eaaa(0x191)],this[_0x34eaaa(0x408)],this[_0x34eaaa(0x325)],null,this[_0x34eaaa(0x3a8)],this[_0x34eaaa(0x41f)],[],this[_0x34eaaa(0x2af)]);this[_0x34eaaa(0x47b)]();const _0x6f514f=this[_0x34eaaa(0x488)][_0x34eaaa(0x125)](exports[_0x34eaaa(0x35e)],this[_0x34eaaa(0x408)],this[_0x34eaaa(0x325)],this[_0x34eaaa(0x3a8)],this['_handler']);return _0x6f514f[_0x34eaaa(0x120)](),_0x6f514f['_updateLocalCache'](),_0x6f514f;}[_0x491a6f(0x233)](_0x548731){var _0x3ace5b=_0x491a6f;return this[_0x3ace5b(0x380)](!!(_0x548731!=null&&_0x548731[_0x3ace5b(0x14c)]));}[_0x491a6f(0x35c)](_0x360d8b){var _0x558427=_0x491a6f;return this[_0x558427(0x27c)]>Nt?this[_0x558427(0x473)]():(this[_0x558427(0x454)]=Ot(this[_0x558427(0x27c)],{'timeout':this[_0x558427(0x27c)],'reqId':_0x360d8b['reqId']}),this[_0x558427(0x1dc)]=this[_0x558427(0x454)]['subscribe'](({reqId:_0x262c3b,timeout:_0x54718a})=>{var _0x1e8651=_0x558427;this[_0x1e8651(0x2a1)](_0x262c3b,_0x54718a);}),this);}[_0x491a6f(0x473)](){var _0x99565e=_0x491a6f;return this[_0x99565e(0x2fb)](),this[_0x99565e(0x488)][_0x99565e(0x125)](exports[_0x99565e(0x252)],this['unitID'],this[_0x99565e(0x325)],this[_0x99565e(0x41f)],this['_pendingMutations'],this[_0x99565e(0x2af)]);}['toggleOnline'](){return this;}[_0x491a6f(0x36b)](){var _0x2cc617=_0x491a6f;this[_0x2cc617(0x2af)][_0x2cc617(0x2ec)](this[_0x2cc617(0x41f)]);}[_0x491a6f(0x380)](_0x2505a8){var _0xe42f0f=_0x491a6f;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0xe42f0f(0x2d3)],this[_0xe42f0f(0x408)],this[_0xe42f0f(0x325)],null,this[_0xe42f0f(0x3a8)],this['_handler'],_0x2505a8);}[_0x491a6f(0x2a1)](_0x59b46c,_0x513df4){var _0x50b7ce=_0x491a6f,_0x238a30;_0x59b46c===((_0x238a30=this[_0x50b7ce(0x41f)])==null?void 0x0:_0x238a30['reqId'])&&(this[_0x50b7ce(0x36b)](),this[_0x50b7ce(0x27c)]=_0x513df4===0x0?0x3e8:_0x513df4*0x2);}[_0x491a6f(0x2fb)](){var _0x15422d=_0x491a6f,_0x4d9c8d;(_0x4d9c8d=this[_0x15422d(0x1dc)])==null||_0x4d9c8d[_0x15422d(0x3ae)](),this[_0x15422d(0x27c)]=0x0;}},exports[_0x491a6f(0x239)]=ce([w(0x6,a[_0x491a6f(0x1a1)](a['Injector'])),w(0x7,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x8,a[_0x491a6f(0x2ce)]),w(0x9,a['ILogService']),w(0xa,g[_0x491a6f(0x2b1)]),w(0xb,a[_0x491a6f(0x287)]),w(0xc,a['Optional'](z))],exports[_0x491a6f(0x239)]),exports[_0x491a6f(0x2d3)]=class extends he{constructor(_0x3c3042,_0x2c2e98,_0x27c310,_0xcca496,_0x31d83c,_0x408911=!0x1,_0x105cfd,_0x1f609a,_0x190296,_0x5db221,_0xee36a5,_0x3dc91e,_0x3f15c9){var _0x2552b4=_0x491a6f;super(_0x3c3042,_0x2c2e98,_0x27c310,_0xcca496,_0x31d83c,_0x1f609a,_0x190296,_0x5db221,_0x3f15c9),P(this,_0x2552b4(0x1ad),'conflict'),(this['_isPermissionRej']=_0x408911,this['_permissionService']=_0x105cfd,this[_0x2552b4(0x2fe)]=_0xee36a5,this[_0x2552b4(0x219)]=_0x3dc91e,this[_0x2552b4(0x2d1)]=_0x3f15c9,this['_showConflictNotification'](),this[_0x2552b4(0x259)](),this[_0x2552b4(0x1fd)]());}[_0x491a6f(0x166)](){return this;}[_0x491a6f(0x267)](){return this;}[_0x491a6f(0x2b8)](){return this;}['onRemoteRej'](){return this;}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){return this;}[_0x491a6f(0x238)](){return this;}[_0x491a6f(0x36b)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xf7f39c=_0x491a6f,_0x596f12;(_0x596f12=this[_0xf7f39c(0x345)])==null||_0x596f12[_0xf7f39c(0x3b2)](this['unitID'],this[_0xf7f39c(0x325)],null,[]);}[_0x491a6f(0x382)](){var _0x18f396=_0x491a6f;this['_isPermissionRej']?this[_0x18f396(0x219)][_0x18f396(0x126)]({'id':Q['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x18f396(0x126)]({'id':Q['CONFLICT']});}[_0x491a6f(0x1fd)](){var _0x5a3d9c=_0x491a6f;this[_0x5a3d9c(0x29a)]['updatePermissionPoint'](new Z[(_0x5a3d9c(0x156))](this[_0x5a3d9c(0x408)])['id'],!0x1);}},exports[_0x491a6f(0x2d3)]=ce([w(0x6,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x1f4)])),w(0x7,a[_0x491a6f(0x2ce)]),w(0x8,a[_0x491a6f(0x287)]),w(0x9,a['Inject'](g[_0x491a6f(0x3c6)])),w(0xa,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),w(0xb,a[_0x491a6f(0x1a1)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x491a6f(0x252)]=class extends he{constructor(_0x57685f,_0xa6fe04,_0x39a304,_0x2f4242,_0x1c8612,_0x2c93dd,_0x5d18e6,_0x43ab08,_0x60cfb7,_0x57b01d){var _0x2cf0ed=_0x491a6f;super(_0x57685f,_0xa6fe04,_0x39a304,_0x2f4242,_0x1c8612,_0x43ab08,_0x60cfb7,_0x5d18e6,_0x57b01d),P(this,_0x2cf0ed(0x1ad),_0x2cf0ed(0x189)),this[_0x2cf0ed(0x488)]=_0x2c93dd;}[_0x491a6f(0x166)](_0x2e00ee){var _0x1f4311=_0x491a6f;return this['_pendingMutations'][_0x1f4311(0x3c3)](_0x2e00ee),this[_0x1f4311(0x466)](),this;}[_0x491a6f(0x267)](_0x1dcc9c){var _0x370804=_0x491a6f;throw new Error(_0x370804(0x208));}[_0x491a6f(0x2b8)](){var _0x5afed9=_0x491a6f;throw new Error(_0x5afed9(0x37f));}['onRemoteRej'](){var _0x13c927=_0x491a6f;throw new Error(_0x13c927(0x3a4));}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){return this;}['toggleOnline'](){var _0x4b30a0=_0x491a6f;const {_injector:_0xea76d8,_pendingMutations:_0x1a695d,_awaitingChangeset:_0x366921,unitID:_0x34ef55,_handler:_0x152e91,type:_0x4cf036}=this,_0x78cdfc=Dt(_0xea76d8,_0x34ef55,_0x4cf036,_0x366921,_0x1a695d,_0x152e91);return _0x78cdfc instanceof exports['PendingState']?_0x78cdfc['_schedule']():(_0x78cdfc instanceof exports[_0x4b30a0(0x239)]||_0x78cdfc instanceof exports[_0x4b30a0(0x28e)])&&_0x78cdfc[_0x4b30a0(0x36b)](),_0x78cdfc;}['resend'](){var _0x4105ee=_0x491a6f;throw new Error(_0x4105ee(0x17a));}},exports[_0x491a6f(0x252)]=ce([w(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),w(0x6,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),w(0x7,a[_0x491a6f(0x2ce)]),w(0x8,a[_0x491a6f(0x287)]),w(0x9,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x252)]),exports[_0x491a6f(0x191)]=class extends he{constructor(_0x4d10dc,_0x4b8bd0,_0x3ff984,_0xf588a6,_0x50c6ec,_0x458559,_0x46d921,_0x4b8fef,_0x1a93f9,_0x52061c,_0x4c24fa,_0x5d4c25,_0x302031,_0x4667f3){var _0x8c903=_0x491a6f;super(_0x4d10dc,_0x4b8bd0,_0x3ff984,_0xf588a6,_0x46d921,_0x4c24fa,_0x5d4c25,_0x1a93f9,_0x4667f3),P(this,_0x8c903(0x1ad),_0x8c903(0x29b)),(this[_0x8c903(0x44e)]=_0x50c6ec,this['_queuedRemoteChangesets']=_0x458559,this['_injector']=_0x4b8fef,this[_0x8c903(0x403)]=_0x52061c,this[_0x8c903(0x21c)]=_0x302031,this[_0x8c903(0x2d1)]=_0x4667f3);}[_0x491a6f(0x211)](_0x1656ca){var _0x410d69=_0x491a6f;try{const _0x2b8259=[..._0x1656ca,...this[_0x410d69(0x193)]],_0x2bec48=[this['_awaitingChangeset']||this[_0x410d69(0x44e)]][_0x410d69(0x3af)](_0x115d07=>!!_0x115d07);let _0x5eec2c,_0x52c487;if(_0x2bec48[_0x410d69(0x182)]){const _0x449662=this[_0x410d69(0x21c)]['transformChangesets'](_0x2b8259,_0x2bec48,!0x1);if(!g['isTransformChangesetsSuccess'](_0x449662))throw _0x449662['error'];_0x5eec2c=_0x449662['c1Prime'],_0x52c487=_0x449662[_0x410d69(0x472)];}else _0x5eec2c=_0x2b8259,_0x52c487=[];let _0x4e5a70=this[_0x410d69(0x3a8)];_0x5eec2c[_0x410d69(0x18d)](_0x2538cb=>{var _0x45bf04=_0x410d69;let _0x474a;if(_0x4e5a70[_0x45bf04(0x182)]){const _0x487b4d=this['_transformService'][_0x45bf04(0x1ca)](_0x2538cb,_0x4e5a70);if(!g[_0x45bf04(0x29c)](_0x487b4d))throw _0x487b4d[_0x45bf04(0x1a7)];_0x474a=_0x487b4d[_0x45bf04(0x1d6)],_0x4e5a70=_0x487b4d[_0x45bf04(0x1f3)];}else _0x474a=_0x2538cb;this[_0x45bf04(0x128)](_0x474a);}),this[_0x410d69(0x44e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x52c487[_0x410d69(0x182)]&&(_0x52c487[0x0][_0x410d69(0x1dd)]=this[_0x410d69(0x2bb)]());let _0x29f812;if(this[_0x410d69(0x41f)]&&_0x4e5a70[_0x410d69(0x182)]!==0x0)_0x29f812=this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x239)],this['unitID'],this['type'],_0x52c487[0x0],_0x4e5a70,this[_0x410d69(0x2af)],void 0x0);else{if(this[_0x410d69(0x41f)]&&_0x4e5a70[_0x410d69(0x182)]===0x0)_0x52c487[0x0]['baseRev']=this[_0x410d69(0x2bb)](),_0x29f812=this[_0x410d69(0x488)][_0x410d69(0x125)](exports['AwaitingState'],this['unitID'],this[_0x410d69(0x325)],_0x52c487[0x0],this[_0x410d69(0x2af)]);else{if(_0x4e5a70[_0x410d69(0x182)]!==0x0){const _0x361e95=this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x35e)],this[_0x410d69(0x408)],this[_0x410d69(0x325)],_0x4e5a70,this[_0x410d69(0x2af)]);_0x361e95[_0x410d69(0x120)](),_0x29f812=_0x361e95;}else _0x29f812=this[_0x410d69(0x488)]['createInstance'](exports[_0x410d69(0x1ec)],this[_0x410d69(0x408)],this[_0x410d69(0x325)],this[_0x410d69(0x2af)]);}}return _0x29f812[_0x410d69(0x466)](),_0x29f812;}catch(_0x2fdd2a){return this['_logService'][_0x410d69(0x1a7)](_0x410d69(0x2be),_0x410d69(0x317),_0x2fdd2a),this[_0x410d69(0x488)][_0x410d69(0x125)](exports[_0x410d69(0x2d3)],this['unitID'],this[_0x410d69(0x325)],this[_0x410d69(0x41f)],this[_0x410d69(0x3a8)],this['_handler'],!0x1);}}[_0x491a6f(0x36b)](){var _0x2c5678=_0x491a6f;throw new Error(_0x2c5678(0x150));}[_0x491a6f(0x166)](_0x519c3e){var _0x2441dc=_0x491a6f;return this['_pendingMutations'][_0x2441dc(0x3c3)](_0x519c3e),this;}[_0x491a6f(0x267)](_0x38f69d){var _0x507226=_0x491a6f;return this[_0x507226(0x193)][_0x507226(0x3c3)](_0x38f69d),this;}[_0x491a6f(0x2b8)](_0xd1286c){var _0x22a7a1=_0x491a6f;if(this[_0x22a7a1(0x41f)])return this[_0x22a7a1(0x44e)]=this[_0x22a7a1(0x41f)],this[_0x22a7a1(0x41f)]=null,this;throw new Error(_0x22a7a1(0x293));}[_0x491a6f(0x233)](_0x570725){var _0x3b68ce=_0x491a6f;return this[_0x3b68ce(0x380)](!!(_0x570725!=null&&_0x570725[_0x3b68ce(0x14c)]));}[_0x491a6f(0x35c)](){return this;}[_0x491a6f(0x473)](){var _0x6230eb=_0x491a6f;return this[_0x6230eb(0x488)][_0x6230eb(0x125)](exports[_0x6230eb(0x252)],this[_0x6230eb(0x408)],this[_0x6230eb(0x325)],this[_0x6230eb(0x41f)],this['_pendingMutations'],this[_0x6230eb(0x2af)]);}[_0x491a6f(0x238)](){return this;}[_0x491a6f(0x380)](_0x54e6fd){var _0x24d9bb=_0x491a6f;return this[_0x24d9bb(0x488)][_0x24d9bb(0x125)](exports[_0x24d9bb(0x2d3)],this['unitID'],this[_0x24d9bb(0x325)],this[_0x24d9bb(0x41f)],this[_0x24d9bb(0x3a8)],this[_0x24d9bb(0x2af)],_0x54e6fd);}},exports[_0x491a6f(0x191)]=ce([w(0x7,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),w(0x8,a[_0x491a6f(0x1a1)](g['RevisionService'])),w(0x9,a[_0x491a6f(0x3c8)]),w(0xa,a[_0x491a6f(0x2ce)]),w(0xb,a[_0x491a6f(0x287)]),w(0xc,g[_0x491a6f(0x2b1)]),w(0xd,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x191)]);function Dt(_0x182f72,_0x546340,_0x1fad34,_0x1b9037,_0x582e3c,_0x19b37e){var _0x23363c=_0x491a6f;return _0x1b9037&&_0x582e3c[_0x23363c(0x182)]?_0x182f72['createInstance'](exports[_0x23363c(0x239)],_0x546340,_0x1fad34,_0x1b9037,_0x582e3c,_0x19b37e,void 0x0):_0x1b9037?_0x182f72[_0x23363c(0x125)](exports[_0x23363c(0x28e)],_0x546340,_0x1fad34,_0x1b9037,_0x19b37e):_0x582e3c[_0x23363c(0x182)]?_0x182f72[_0x23363c(0x125)](exports[_0x23363c(0x35e)],_0x546340,_0x1fad34,_0x582e3c,_0x19b37e):_0x182f72['createInstance'](exports['SyncedState'],_0x546340,_0x1fad34,_0x19b37e);}var Ci=Object['getOwnPropertyDescriptor'],Ge=(_0x573d79,_0x3ba0d8,_0xd58920,_0x58526f)=>{for(var _0x159291=_0x58526f>0x1?void 0x0:_0x58526f?Ci(_0x3ba0d8,_0xd58920):_0x3ba0d8,_0x4c72ad=_0x573d79['length']-0x1,_0x25c174;_0x4c72ad>=0x0;_0x4c72ad--)(_0x25c174=_0x573d79[_0x4c72ad])&&(_0x159291=_0x25c174(_0x159291)||_0x159291);return _0x159291;},$=(_0x5dc4b1,_0x1f7eea)=>(_0x51552a,_0x4467d6)=>_0x1f7eea(_0x51552a,_0x4467d6,_0x5dc4b1);exports[_0x491a6f(0x2d9)]=class extends a[_0x491a6f(0x245)]{constructor(_0x262046,_0x5ebc3f,_0x46aaac,_0x4064b8,_0x449638,_0x293b0d,_0x30dd5b,_0x1d3fcd,_0x2f704b,_0x408870,_0x29328f,_0x228d3c,_0x52b7a2){var _0x32915b=_0x491a6f;super(),P(this,_0x32915b(0x1c2),new j['BehaviorSubject'](null)),P(this,_0x32915b(0x141),this['_state$'][_0x32915b(0x3b0)]()),P(this,_0x32915b(0x289)),P(this,_0x32915b(0x1c4),!0x1),P(this,_0x32915b(0x2f9),''),P(this,_0x32915b(0x261),0x0),P(this,_0x32915b(0x383),this[_0x32915b(0x141)][_0x32915b(0x3c4)](j['map'](_0x16e57b=>_0x16e57b?_0x16e57b[_0x32915b(0x1ad)]:We[_0x32915b(0x1da)]),j[_0x32915b(0x359)](0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x32915b(0x178),[]),(this[_0x32915b(0x408)]=_0x262046,this[_0x32915b(0x162)]=_0x5ebc3f,this[_0x32915b(0x205)]=_0x46aaac,this[_0x32915b(0x488)]=_0x4064b8,this[_0x32915b(0x486)]=_0x449638,this[_0x32915b(0x2fe)]=_0x293b0d,this[_0x32915b(0x3fa)]=_0x30dd5b,this[_0x32915b(0x2c7)]=_0x1d3fcd,this[_0x32915b(0x403)]=_0x2f704b,this[_0x32915b(0x296)]=_0x408870,this[_0x32915b(0x29a)]=_0x29328f,this[_0x32915b(0x42d)]=_0x228d3c,this['_localCacheService']=_0x52b7a2);}get[_0x491a6f(0x434)](){var _0x515dce=_0x491a6f;return this[_0x515dce(0x289)];}async[_0x491a6f(0x124)](){var _0x570626=_0x491a6f;if(this[_0x570626(0x434)])throw new Error(_0x570626(0x3f5));await this[_0x570626(0x3a5)]();}[_0x491a6f(0x202)](){var _0x51b7d6=_0x491a6f;return this[_0x51b7d6(0x1c4)]=!0x0,a[_0x51b7d6(0x1cb)](()=>{var _0x1fdd90=_0x51b7d6;this[_0x1fdd90(0x1c4)]=!0x1,this[_0x1fdd90(0x258)]();});}['onLocalMutation'](_0x5c3905){var _0x2748b2=_0x491a6f;this[_0x2748b2(0x207)](_0x5c3905);}['_updateState'](_0x47f5a7){var _0x176d9a=_0x491a6f;this['_state']=_0x47f5a7,this[_0x176d9a(0x1c2)]['next'](_0x47f5a7);}async['_init'](){var _0x5c9d72=_0x491a6f,_0x179230;this[_0x5c9d72(0x19b)](await this[_0x5c9d72(0x48a)]()),this['_singleActiveUnitService']&&((_0x179230=this['_singleActiveUnitService'])==null||_0x179230[_0x5c9d72(0x3fc)](this[_0x5c9d72(0x408)]),this['disposeWithMe'](this[_0x5c9d72(0x42d)][_0x5c9d72(0x20c)](this[_0x5c9d72(0x408)])[_0x5c9d72(0x148)](_0x51eefd=>{var _0x4ca446=_0x5c9d72;this[_0x4ca446(0x403)][_0x4ca446(0x11d)](_0x4ca446(0x1be),'editing\x20status\x20changed\x20to',_0x51eefd),_0x51eefd===Fe[_0x4ca446(0x227)]?(this[_0x4ca446(0x2c7)][_0x4ca446(0x126)]({'id':Q[_0x4ca446(0x3c5)]}),this[_0x4ca446(0x29a)][_0x4ca446(0x3a7)](new Z['WorkbookEditablePermission'](this[_0x4ca446(0x408)])['id'],!0x1),this['_permissionService'][_0x4ca446(0x168)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x4ca446(0x156))](this['unitID'])['id'],!0x0),this[_0x4ca446(0x29a)][_0x4ca446(0x168)](!0x0));})));let _0x14d252=!0x1;return this[_0x5c9d72(0x15d)](this['session']['sessionStatus$'][_0x5c9d72(0x148)](_0x390743=>{var _0x25b4fc=_0x5c9d72;_0x390743===se[_0x25b4fc(0x2d4)]?this[_0x25b4fc(0x3c9)](_0x14d252):_0x390743===se['OFFLINE']&&(_0x14d252=!0x0,this[_0x25b4fc(0x462)]());})),this[_0x5c9d72(0x15d)](this[_0x5c9d72(0x162)][_0x5c9d72(0x1a0)]['subscribe'](_0x43c9cd=>{var _0x556281=_0x5c9d72;try{switch(_0x43c9cd[_0x556281(0x2e0)]){case g[_0x556281(0x361)][_0x556281(0x197)]:{this[_0x556281(0x1b5)](g[_0x556281(0x169)](_0x43c9cd[_0x556281(0x368)]));break;}case g[_0x556281(0x361)][_0x556281(0x38c)]:{this[_0x556281(0x3ee)](_0x43c9cd[_0x556281(0x368)]);break;}case g[_0x556281(0x361)]['CHANGESET_REJ']:{this[_0x556281(0x15e)]();break;}case g[_0x556281(0x361)][_0x556281(0x1aa)]:{this[_0x556281(0x418)](_0x43c9cd[_0x556281(0x368)]);break;}case g[_0x556281(0x361)][_0x556281(0x357)]:{this[_0x556281(0x309)](_0x43c9cd['data']['changesets'][_0x556281(0x48d)](_0x2b74cb=>g['parseProtocolChangeset'](_0x2b74cb)));break;}case g[_0x556281(0x361)][_0x556281(0x451)]:{this[_0x556281(0x15e)]({'isPermissionRej':!0x0});break;}case g[_0x556281(0x361)][_0x556281(0x358)]:break;}}catch(_0x190078){throw console['error'](_0x556281(0x483),_0x190078),_0x190078;}})),this['_state'];}[_0x491a6f(0x2db)](){var _0xe0dc0a=_0x491a6f;this[_0xe0dc0a(0x1fa)]=!0x1;}[_0x491a6f(0x173)](){var _0x4602e3=_0x491a6f;if(this['_transitionLocked'])throw new Error(_0x4602e3(0x1d7));this['_transitionLocked']=!0x0;}[_0x491a6f(0x207)](_0x3a56b8){var _0x1f5ef9=_0x491a6f;this['_lockTransition'](),this[_0x1f5ef9(0x19b)](this[_0x1f5ef9(0x289)][_0x1f5ef9(0x166)](_0x3a56b8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4e2a2e){var _0x45f70f=_0x491a6f;if(!(_0x4e2a2e[_0x45f70f(0x186)]<=this[_0x45f70f(0x3fa)][_0x45f70f(0x26b)](this['unitID']))){if(this[_0x45f70f(0x1c4)]){this[_0x45f70f(0x178)][_0x45f70f(0x3c3)](_0x4e2a2e);return;}this['_applyRemoteChangeset'](_0x4e2a2e);}}[_0x491a6f(0x258)](){var _0x40c926=_0x491a6f;this[_0x40c926(0x178)][_0x40c926(0x18d)](_0x204532=>this[_0x40c926(0x260)](_0x204532)),this[_0x40c926(0x178)]=[];}['_applyRemoteChangeset'](_0x72aec2){var _0x2ec3e5=_0x491a6f;const _0x2e49eb=this['_compressMutationService'][_0x2ec3e5(0x429)][_0x2ec3e5(0x2e9)](this[_0x2ec3e5(0x486)]['interceptor']['getInterceptPoints']()[_0x2ec3e5(0x206)])(_0x72aec2[_0x2ec3e5(0x35a)],null)||_0x72aec2[_0x2ec3e5(0x35a)],_0x1b8bc6={..._0x72aec2,'mutations':_0x2e49eb};this[_0x2ec3e5(0x173)](),this[_0x2ec3e5(0x19b)](this[_0x2ec3e5(0x289)]['onRemoteChangeset'](_0x1b8bc6)),this['_unlockTransition']();}['_onRemoteACK'](_0x46d35a){var _0x3edcad=_0x491a6f;this['_lockTransition'](),this[_0x3edcad(0x19b)](this['_state'][_0x3edcad(0x2b8)](_0x46d35a)),this['_unlockTransition']();}[_0x491a6f(0x15e)](_0x464b8a){var _0x55f8b8=_0x491a6f;this[_0x55f8b8(0x173)](),this['_updateState'](this['_state']['onRemoteRej'](_0x464b8a)),this[_0x55f8b8(0x2db)]();}[_0x491a6f(0x418)](_0x44bd11){var _0x2e9acc=_0x491a6f;this[_0x2e9acc(0x173)](),this['_updateState'](this[_0x2e9acc(0x289)][_0x2e9acc(0x35c)](_0x44bd11)),this[_0x2e9acc(0x2db)]();}[_0x491a6f(0x309)](_0x2df997){var _0x2c0ff4=_0x491a6f;if(!(this['_state']instanceof exports[_0x2c0ff4(0x191)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x19302c=_0x2df997['map'](_0x21635d=>{var _0x49fba1=_0x2c0ff4;const _0x181f4f=this[_0x49fba1(0x486)][_0x49fba1(0x429)][_0x49fba1(0x2e9)](this[_0x49fba1(0x486)][_0x49fba1(0x429)][_0x49fba1(0x2e2)]()['COMPRESS_MUTATION_APPLY'])(_0x21635d[_0x49fba1(0x35a)],null)||_0x21635d[_0x49fba1(0x35a)];return{..._0x21635d,'mutations':_0x181f4f};});this[_0x2c0ff4(0x173)](),this['_updateState'](this[_0x2c0ff4(0x289)]['onMissedChangesetFetched'](_0x19302c)),this[_0x2c0ff4(0x2db)]();}[_0x491a6f(0x462)](){var _0x4252ae=_0x491a6f;this[_0x4252ae(0x173)](),this[_0x4252ae(0x19b)](this['_state'][_0x4252ae(0x473)]()),this[_0x4252ae(0x2db)]();}[_0x491a6f(0x3c9)](_0x1a7c1d=!0x1){var _0x5f4154=_0x491a6f;this[_0x5f4154(0x173)](),this[_0x5f4154(0x19b)](this[_0x5f4154(0x289)][_0x5f4154(0x238)]()),this[_0x5f4154(0x2db)]();const _0x55ddf8=this['_state'];_0x1a7c1d&&_0x55ddf8 instanceof exports['SyncedState']&&(this[_0x5f4154(0x173)](),this[_0x5f4154(0x19b)](_0x55ddf8[_0x5f4154(0x3f4)]()),this[_0x5f4154(0x2db)]());}async['_createInitialState'](){return new Promise(_0xfef37a=>{var _0x345f06=_0x2315;this[_0x345f06(0x162)][_0x345f06(0x16e)][_0x345f06(0x3c4)](j[_0x345f06(0x490)](0x1))[_0x345f06(0x148)](async _0x1047ab=>{var _0x2c54f0=_0x345f06;_0xfef37a(await this[_0x2c54f0(0x138)](_0x1047ab===se[_0x2c54f0(0x2d4)]));});});}['_createHandler'](){var _0x2adbbb=_0x491a6f;const _0x45b286=this[_0x2adbbb(0x408)];return{'onStateChange':(_0x29b9d4,_0xd23672)=>{var _0x5665f1=_0x2adbbb;if(_0x29b9d4!==this[_0x5665f1(0x289)])throw new Error(_0x5665f1(0x13f)+_0x29b9d4[_0x5665f1(0x1ad)]+_0x5665f1(0x170)+_0xd23672[_0x5665f1(0x1ad)]+_0x5665f1(0x32b)+this[_0x5665f1(0x289)][_0x5665f1(0x1ad)]);this['_updateState'](_0xd23672);},'onSendChangeset':_0x147a6a=>{var _0x4d569e=_0x2adbbb;_0x147a6a[_0x4d569e(0x433)]||(_0x147a6a[_0x4d569e(0x433)]=this['_changesetSessionId'],_0x147a6a[_0x4d569e(0x19a)]=++this[_0x4d569e(0x261)]);const _0x262452={'eventID':g[_0x4d569e(0x361)][_0x4d569e(0x43a)],'data':{'unitID':_0x147a6a[_0x4d569e(0x408)],'unitType':this[_0x4d569e(0x205)],'changeset':_0x147a6a,'memberID':this[_0x4d569e(0x162)][_0x4d569e(0x284)]()}};this['session'][_0x4d569e(0x1bf)](_0x262452,this['unitID']);},'onMissingChangesets':({from:_0x415781,to:_0x509bcf})=>{var _0x1a1724=_0x2adbbb;this[_0x1a1724(0x403)]['debug'](_0x1a1724(0x1be),_0x1a1724(0x38b)+_0x415781+_0x1a1724(0x1a6)+_0x509bcf);const _0x289d23={'eventID':g[_0x1a1724(0x361)][_0x1a1724(0x29e)],'data':{'unitID':_0x45b286,'unitType':this[_0x1a1724(0x205)],'from':_0x415781,'to':_0x509bcf}};this[_0x1a1724(0x162)][_0x1a1724(0x1bf)](_0x289d23,this[_0x1a1724(0x408)]);}};}async['_createInitialStateImpl'](_0x21c63c){var _0xfaa966=_0x491a6f,_0x45fc5b,_0xd9d6f1,_0x496b7b;const _0x27eb60=await((_0x45fc5b=this[_0xfaa966(0x345)])==null?void 0x0:_0x45fc5b[_0xfaa966(0x228)](this[_0xfaa966(0x408)])),_0x78b520=(_0xd9d6f1=_0x27eb60==null?void 0x0:_0x27eb60[_0xfaa966(0x35a)])!=null?_0xd9d6f1:[],_0x2a35dd=(_0x496b7b=_0x27eb60==null?void 0x0:_0x27eb60[_0xfaa966(0x16f)])!=null?_0x496b7b:null,_0x757a5a=!!(_0x2a35dd!=null&&_0x2a35dd[_0xfaa966(0x433)])&&!!(_0x2a35dd!=null&&_0x2a35dd[_0xfaa966(0x19a)]);this[_0xfaa966(0x2f9)]=_0x757a5a?_0x2a35dd[_0xfaa966(0x433)]:di(),this[_0xfaa966(0x261)]=_0x757a5a?_0x2a35dd[_0xfaa966(0x19a)]:0x0;const _0x208ea3=this[_0xfaa966(0x408)];try{this[_0xfaa966(0x3e7)](_0x2a35dd,_0x78b520);}catch(_0x852393){this['_logService']['error'](_0x852393);}const _0x1a6875=this[_0xfaa966(0x3fd)]();if(_0x21c63c){const _0x4156bf=Dt(this[_0xfaa966(0x488)],_0x208ea3,this[_0xfaa966(0x205)],_0x2a35dd,_0x78b520,_0x1a6875);return _0x4156bf instanceof exports['PendingState']?_0x4156bf[_0xfaa966(0x120)]():(_0x4156bf instanceof exports['AwaitingWithPendingState']||_0x4156bf instanceof exports[_0xfaa966(0x28e)])&&_0x4156bf['resend'](),_0x4156bf;}return this[_0xfaa966(0x488)][_0xfaa966(0x125)](exports[_0xfaa966(0x252)],_0x208ea3,this['_type'],_0x2a35dd,_0x78b520,_0x1a6875);}[_0x491a6f(0x3e7)](_0x55c34b,_0x525c41){var _0x483733=_0x491a6f,_0x1522d2,_0x56a3bf;const _0x143911=this[_0x483733(0x486)][_0x483733(0x429)]['fetchThroughInterceptors'](this[_0x483733(0x486)][_0x483733(0x429)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1522d2=_0x143911((_0x55c34b==null?void 0x0:_0x55c34b['mutations'])||[],null))==null||_0x1522d2['forEach'](_0x2d2aa7=>this[_0x483733(0x296)]['executeCommand'](_0x2d2aa7['id'],_0x2d2aa7[_0x483733(0x292)])),(_0x56a3bf=_0x143911(_0x525c41||[],null))==null||_0x56a3bf[_0x483733(0x18d)](_0x1def52=>this[_0x483733(0x296)][_0x483733(0x453)](_0x1def52['id'],_0x1def52[_0x483733(0x292)]));}},exports[_0x491a6f(0x2d9)]=Ge([$(0x3,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),$(0x4,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a[_0x491a6f(0x1a1)](g['RevisionService'])),$(0x7,a[_0x491a6f(0x1a1)](te)),$(0x8,a[_0x491a6f(0x3c8)]),$(0x9,a['ICommandService']),$(0xa,a[_0x491a6f(0x1f4)]),$(0xb,a[_0x491a6f(0x30e)](ve)),$(0xc,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x2d9)]),exports[_0x491a6f(0x3de)]=class extends exports[_0x491a6f(0x2d9)]{constructor(_0x41b64e,_0x3d99ec,_0x4498de,_0x29f4bb,_0xa1bfa7,_0x4b5313,_0x47f217,_0x4ef9bc,_0x55edea,_0x4e2dbe,_0x3f0ecc,_0xb9a72a,_0x5cff9c){var _0x2b1826=_0x491a6f;super(_0x41b64e,_0x4498de,_0x3d99ec,_0x29f4bb,_0xa1bfa7,_0x4b5313,_0x47f217,_0x4ef9bc,_0x55edea,_0x4e2dbe,_0x3f0ecc,_0xb9a72a,_0x5cff9c),P(this,_0x2b1826(0x44a),null),(this[_0x2b1826(0x408)]=_0x41b64e,this[_0x2b1826(0x325)]=_0x3d99ec);}[_0x491a6f(0x47c)](_0x66cb0b){var _0x5b0dbe=_0x491a6f;this[_0x5b0dbe(0x44a)]=_0x66cb0b;}['dispose'](){var _0x137a09=_0x491a6f;this[_0x137a09(0x44a)]=null,super[_0x137a09(0x21e)]();}['_createHandler'](){var _0x44ead0=_0x491a6f;const _0x40ad9b=super[_0x44ead0(0x3fd)]();return _0x40ad9b[_0x44ead0(0x308)]=_0x17be9c=>{var _0x4b93d2=_0x44ead0,_0xaf8119,_0x21c149;return(_0x21c149=(_0xaf8119=this[_0x4b93d2(0x44a)])==null?void 0x0:_0xaf8119[_0x4b93d2(0x308)])==null?void 0x0:_0x21c149[_0x4b93d2(0x21a)](_0xaf8119,_0x17be9c);},_0x40ad9b[_0x44ead0(0x28c)]=_0x160f15=>{var _0x367f5d=_0x44ead0,_0x1c5667,_0x5aabb5;return(_0x5aabb5=(_0x1c5667=this[_0x367f5d(0x44a)])==null?void 0x0:_0x1c5667['onTransformState'])==null?void 0x0:_0x5aabb5['call'](_0x1c5667,_0x160f15);},_0x40ad9b['onTransformSelections']=_0x104247=>{var _0x308d81=_0x44ead0,_0x2f60fb,_0x2b62fb;return(_0x2b62fb=(_0x2f60fb=this['_handlerCallback'])==null?void 0x0:_0x2f60fb[_0x308d81(0x36e)])==null?void 0x0:_0x2b62fb[_0x308d81(0x21a)](_0x2f60fb,_0x104247);},_0x40ad9b[_0x44ead0(0x44f)]=_0x11de17=>{var _0x4bbb3b=_0x44ead0,_0x5b3157,_0x1c450a;return(_0x1c450a=(_0x5b3157=this['_handlerCallback'])==null?void 0x0:_0x5b3157[_0x4bbb3b(0x44f)])==null?void 0x0:_0x1c450a[_0x4bbb3b(0x21a)](_0x5b3157,_0x11de17);},_0x40ad9b['onTransformRemoteChangesetByIMECache']=_0x5c05b2=>{var _0x44ee33=_0x44ead0,_0x333a24,_0x3fd5e5,_0x29e602;if(!((_0x333a24=this['_handlerCallback'])!=null&&_0x333a24[_0x44ee33(0x30a)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x29e602=(_0x3fd5e5=this[_0x44ee33(0x44a)])==null?void 0x0:_0x3fd5e5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x29e602[_0x44ee33(0x21a)](_0x3fd5e5,_0x5c05b2);},_0x40ad9b['onTransformRemoteChangesetByStateCache']=_0x551f09=>{var _0x2d0f60=_0x44ead0,_0x2618a5,_0x3ee547,_0x553edc;if(!((_0x2618a5=this[_0x2d0f60(0x44a)])!=null&&_0x2618a5[_0x2d0f60(0x1c9)]))throw new Error(_0x2d0f60(0x2f4));return(_0x553edc=(_0x3ee547=this[_0x2d0f60(0x44a)])==null?void 0x0:_0x3ee547[_0x2d0f60(0x1c9)])==null?void 0x0:_0x553edc[_0x2d0f60(0x21a)](_0x3ee547,_0x551f09);},_0x40ad9b;}async[_0x491a6f(0x3a5)](){var _0x383c78=_0x491a6f;const _0x54c932=await super[_0x383c78(0x3a5)]();return this[_0x383c78(0x15d)](this[_0x383c78(0x296)][_0x383c78(0x46e)]((_0x343a8c,_0x1a1ff3)=>{var _0x2cd677=_0x383c78;if(_0x343a8c[_0x2cd677(0x325)]!==a[_0x2cd677(0x349)][_0x2cd677(0x2a0)]||_0x1a1ff3!=null&&_0x1a1ff3[_0x2cd677(0x1af)]||_0x1a1ff3!=null&&_0x1a1ff3[_0x2cd677(0x423)]||_0x343a8c['id']===ut['RichTextEditingMutation']['id'])return;const _0x433594=_0x343a8c[_0x2cd677(0x292)];if((_0x433594==null?void 0x0:_0x433594[_0x2cd677(0x3f9)])!==this['unitID'])return;const _0xff8640=_0x343a8c,_0x3d9be0=this['_compressMutationService'][_0x2cd677(0x429)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2cd677(0x429)][_0x2cd677(0x2e2)]()[_0x2cd677(0x14a)])([_0xff8640],null)||[_0xff8640];this[_0x2cd677(0x207)](_0x3d9be0[0x0]);})),_0x54c932;}},exports[_0x491a6f(0x3de)]=Ge([$(0x3,a[_0x491a6f(0x1a1)](a['Injector'])),$(0x4,a['Inject'](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a['Inject'](g[_0x491a6f(0x3c6)])),$(0x7,a[_0x491a6f(0x1a1)](te)),$(0x8,a[_0x491a6f(0x3c8)]),$(0x9,a['ICommandService']),$(0xa,a[_0x491a6f(0x1f4)]),$(0xb,a[_0x491a6f(0x30e)](ve)),$(0xc,a[_0x491a6f(0x30e)](z))],exports['DocCollaborationEntity']),exports[_0x491a6f(0x1ab)]=class extends exports[_0x491a6f(0x2d9)]{constructor(_0x2e62c8,_0x286c75,_0x541d17,_0x194dad,_0x37da5c,_0x2d5b72,_0x37023a,_0x5755f6,_0x422251,_0x1c3988,_0x32bfa5,_0xce1baa,_0x30a650,_0x5e3493){var _0xcc25a9=_0x491a6f;super(_0x2e62c8,_0x541d17,_0x286c75,_0x194dad,_0x37da5c,_0x2d5b72,_0x37023a,_0x422251,_0x1c3988,_0x32bfa5,_0xce1baa,_0x30a650,_0x5e3493),this[_0xcc25a9(0x408)]=_0x2e62c8,this[_0xcc25a9(0x325)]=_0x286c75,this[_0xcc25a9(0x171)]=_0x5755f6;}[_0x491a6f(0x3fd)](){var _0x348e81=_0x491a6f;const _0x4fcfd9=super[_0x348e81(0x3fd)]();return _0x4fcfd9[_0x348e81(0x36e)]=_0x40fbed=>this[_0x348e81(0x171)][_0x348e81(0x48e)](_0x40fbed),_0x4fcfd9;}async[_0x491a6f(0x3a5)](){var _0xad29b4=_0x491a6f;const _0x301b1d=await super['_init']();return this[_0xad29b4(0x15d)](this[_0xad29b4(0x296)][_0xad29b4(0x46e)]((_0x2258a3,_0x5b7b59)=>{var _0x1c5c08=_0xad29b4;if(_0x2258a3[_0x1c5c08(0x325)]!==a[_0x1c5c08(0x349)]['MUTATION']||_0x5b7b59!=null&&_0x5b7b59['fromCollab']||_0x5b7b59!=null&&_0x5b7b59[_0x1c5c08(0x423)])return;const _0x24f004=_0x2258a3['params'];if((_0x24f004==null?void 0x0:_0x24f004['unitId'])!==this[_0x1c5c08(0x408)])return;const _0x4040e2=_0x2258a3,_0x449400=this[_0x1c5c08(0x486)]['interceptor']['fetchThroughInterceptors'](this[_0x1c5c08(0x486)]['interceptor'][_0x1c5c08(0x2e2)]()['COMPRESS_MUTATION_SEND'])([_0x4040e2],null)||[_0x4040e2];this[_0x1c5c08(0x207)](_0x449400[0x0]);})),_0x301b1d;}},exports[_0x491a6f(0x1ab)]=Ge([$(0x3,a['Inject'](a[_0x491a6f(0x400)])),$(0x4,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x306)])),$(0x5,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x440)])),$(0x6,a[_0x491a6f(0x1a1)](g[_0x491a6f(0x3c6)])),$(0x7,a['Inject'](exports[_0x491a6f(0x153)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x491a6f(0x3c8)]),$(0xa,a[_0x491a6f(0x2ce)]),$(0xb,a[_0x491a6f(0x1f4)]),$(0xc,a[_0x491a6f(0x30e)](ve)),$(0xd,a[_0x491a6f(0x30e)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x491a6f(0x316)],bi=(_0x1c3d03,_0x1023dd,_0x570967,_0x3d7e13)=>{var _0x1a94db=_0x491a6f;for(var _0x37b1b6=_0x3d7e13>0x1?void 0x0:_0x3d7e13?Ti(_0x1023dd,_0x570967):_0x1023dd,_0x7b31bd=_0x1c3d03[_0x1a94db(0x182)]-0x1,_0x4652c;_0x7b31bd>=0x0;_0x7b31bd--)(_0x4652c=_0x1c3d03[_0x7b31bd])&&(_0x37b1b6=_0x4652c(_0x37b1b6)||_0x37b1b6);return _0x37b1b6;},Ae=(_0x5ddbc3,_0x1445e7)=>(_0x156731,_0x14f83f)=>_0x1445e7(_0x156731,_0x14f83f,_0x5ddbc3);exports[_0x491a6f(0x196)]=class extends a['RxDisposable']{constructor(_0x33c581,_0x3b9332,_0xfba1c1){var _0x4d5655=_0x491a6f;super(),P(this,_0x4d5655(0x346),new Map()),P(this,_0x4d5655(0x1a9),new j[(_0x4d5655(0x477))]()),P(this,_0x4d5655(0x464),this['_entityInit$'][_0x4d5655(0x3b0)]()),(this[_0x4d5655(0x488)]=_0x33c581,this[_0x4d5655(0x441)]=_0x3b9332,this[_0x4d5655(0x192)]=_0xfba1c1,this['_init']());}[_0x491a6f(0x21e)](){var _0x1f8652=_0x491a6f;super['dispose'](),this[_0x1f8652(0x346)][_0x1f8652(0x18d)](_0x245641=>_0x245641[_0x1f8652(0x21e)]()),this[_0x1f8652(0x346)]['clear']();}[_0x491a6f(0x1a4)](_0x13ad74){var _0x69cdff=_0x491a6f,_0x440026;return(_0x440026=this[_0x69cdff(0x346)][_0x69cdff(0x33b)](_0x13ad74))!=null?_0x440026:null;}[_0x491a6f(0x25b)](_0xcba594){var _0x317e29=_0x491a6f;const _0xfd8642=this[_0x317e29(0x1a4)](_0xcba594);return _0xfd8642?j['of'](_0xfd8642):this[_0x317e29(0x1a9)][_0x317e29(0x3c4)](W[_0x317e29(0x3af)](_0x20e876=>_0x20e876[_0x317e29(0x408)]===_0xcba594));}[_0x491a6f(0x2c9)](_0x31d8d0){var _0x271cad=_0x491a6f;return j[_0x271cad(0x37c)](this[_0x271cad(0x25b)](_0x31d8d0)[_0x271cad(0x3c4)](W[_0x271cad(0x48d)](()=>{})));}[_0x491a6f(0x3a5)](){var _0x44d427=_0x491a6f;this[_0x44d427(0x192)][_0x44d427(0x33c)](a[_0x44d427(0x397)][_0x44d427(0x2fc)])[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this[_0x44d427(0x242)]),W[_0x44d427(0x1eb)](0x10))[_0x44d427(0x148)](async _0x27ad94=>{var _0x3aa4f6=_0x44d427;const _0x48fc46=_0x27ad94[_0x3aa4f6(0x14f)](),_0x2188ba=await this[_0x3aa4f6(0x333)](_0x48fc46,X['UNIVER_SHEET']);this[_0x3aa4f6(0x346)][_0x3aa4f6(0x318)](_0x48fc46,_0x2188ba);}),this['_univerInstanceService'][_0x44d427(0x33c)](a[_0x44d427(0x397)][_0x44d427(0x341)])[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this['dispose$']),W['delay'](0x10))['pipe'](W[_0x44d427(0x3af)](_0x448488=>!_0x448488[_0x44d427(0x14f)]()['startsWith']('__')))[_0x44d427(0x148)](async _0x2c04f6=>{var _0x53e45a=_0x44d427;const _0x48314b=_0x2c04f6[_0x53e45a(0x14f)](),_0x2559b6=await this['_startCollaboration'](_0x48314b,X['UNIVER_DOC']);this[_0x53e45a(0x346)][_0x53e45a(0x318)](_0x48314b,_0x2559b6);}),j[_0x44d427(0x37a)](this['_univerInstanceService'][_0x44d427(0x181)](a[_0x44d427(0x397)]['UNIVER_SHEET']),this[_0x44d427(0x192)][_0x44d427(0x181)](a[_0x44d427(0x397)][_0x44d427(0x341)]))[_0x44d427(0x3c4)](j[_0x44d427(0x374)](this['dispose$']))['subscribe'](_0x198035=>{var _0x57e88b=_0x44d427;const _0x1a6776=_0x198035[_0x57e88b(0x14f)](),_0x35c85f=this[_0x57e88b(0x346)][_0x57e88b(0x33b)](_0x1a6776);_0x35c85f&&(_0x35c85f[_0x57e88b(0x21e)](),this[_0x57e88b(0x346)]['delete'](_0x1a6776));});}async['_startCollaboration'](_0x4b7e9d,_0x3d4852){var _0xb3f209=_0x491a6f;const _0x2e1fd6=await this['_collabSessionService'][_0xb3f209(0x23a)](_0x4b7e9d),_0x54967d=this[_0xb3f209(0x488)]['createInstance'](this[_0xb3f209(0x2ac)](_0x3d4852),_0x4b7e9d,_0x3d4852,_0x2e1fd6);return await _0x54967d[_0xb3f209(0x124)](),this[_0xb3f209(0x1a9)][_0xb3f209(0x480)](_0x54967d),_0x54967d;}[_0x491a6f(0x2ac)](_0x4d4e38){var _0x3870e5=_0x491a6f;switch(_0x4d4e38){case X['UNIVER_DOC']:return exports[_0x3870e5(0x3de)];case X[_0x3870e5(0x2fc)]:return exports[_0x3870e5(0x1ab)];default:throw new Error(_0x3870e5(0x1df)+_0x4d4e38);}}},exports['CollaborationController']=bi([Ae(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),Ae(0x1,a['Inject'](exports['CollaborationSessionService'])),Ae(0x2,a[_0x491a6f(0x312)])],exports['CollaborationController']);function _0x2315(_0x192d26,_0x4df31c){var _0x352ef1=_0x352e();return _0x2315=function(_0x231505,_0x8b50){_0x231505=_0x231505-0x11a;var _0x33c8ea=_0x352ef1[_0x231505];return _0x33c8ea;},_0x2315(_0x192d26,_0x4df31c);}var Ri=Object[_0x491a6f(0x316)],yi=(_0x136db4,_0x4d5731,_0x259725,_0x3fa829)=>{var _0x2e7c8e=_0x491a6f;for(var _0x75a7c7=_0x3fa829>0x1?void 0x0:_0x3fa829?Ri(_0x4d5731,_0x259725):_0x4d5731,_0x599b5e=_0x136db4[_0x2e7c8e(0x182)]-0x1,_0x33b646;_0x599b5e>=0x0;_0x599b5e--)(_0x33b646=_0x136db4[_0x599b5e])&&(_0x75a7c7=_0x33b646(_0x75a7c7)||_0x75a7c7);return _0x75a7c7;},Je=(_0x4ce1f7,_0x4d0189)=>(_0x38ea28,_0x2eebcd)=>_0x4d0189(_0x38ea28,_0x2eebcd,_0x4ce1f7);const Oi='DEFAULT_FILE_NAME',Ni='Univer';let He=class extends a['Disposable']{constructor(_0x502588,_0x5902f2){var _0x4db935=_0x491a6f;super(),this[_0x4db935(0x192)]=_0x502588,this[_0x4db935(0x13d)]=_0x5902f2,this[_0x4db935(0x3a5)]();}['_init'](){var _0x33a49d=_0x491a6f;this[_0x33a49d(0x15d)](this[_0x33a49d(0x192)]['focused$'][_0x33a49d(0x148)](()=>{var _0xc169b8=_0x33a49d,_0x3e61a7;const _0x525100=this[_0xc169b8(0x192)][_0xc169b8(0x336)]();let _0x5d3aba=(_0x3e61a7=this[_0xc169b8(0x13d)][_0xc169b8(0x167)](Oi))!=null?_0x3e61a7:Ni;_0x525100 instanceof a[_0xc169b8(0x3df)]&&(_0x5d3aba=_0x525100[_0xc169b8(0x122)]),document[_0xc169b8(0x151)]=_0x5d3aba;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x491a6f(0x3db)])],He);var Di=Object[_0x491a6f(0x316)],Ui=(_0x53d932,_0x19a167,_0x413ce6,_0x2bafde)=>{var _0x8c183d=_0x491a6f;for(var _0x550052=_0x2bafde>0x1?void 0x0:_0x2bafde?Di(_0x19a167,_0x413ce6):_0x19a167,_0x49a614=_0x53d932[_0x8c183d(0x182)]-0x1,_0x12a4ed;_0x49a614>=0x0;_0x49a614--)(_0x12a4ed=_0x53d932[_0x49a614])&&(_0x550052=_0x12a4ed(_0x550052)||_0x550052);return _0x550052;},we=(_0x213f6c,_0x14c3fe)=>(_0x3ff1b1,_0x500980)=>_0x14c3fe(_0x3ff1b1,_0x500980,_0x213f6c);let Oe=class{constructor(_0x3a1315,_0x2a3fab,_0x19a03b){var _0x10cfe8=_0x491a6f;this[_0x10cfe8(0x13d)]=_0x3a1315,this[_0x10cfe8(0x2b7)]=_0x2a3fab,this[_0x10cfe8(0x3a0)]=_0x19a03b,this['init']();}['init'](){var _0x4ef60e=_0x491a6f;this[_0x4ef60e(0x2b7)][_0x4ef60e(0x3bd)]({'priority':0x1,'interceptor':(_0x11b395,_0x311507)=>_0x311507(_0x11b395)[_0x4ef60e(0x3c4)](j[_0x4ef60e(0x136)](async _0x45ac29=>{var _0x5925ea=_0x4ef60e;const _0x1a04ab=_0x45ac29;if(_0x1a04ab[_0x5925ea(0x1ad)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5925ea(0x174)](this['localeService']['t'](_0x5925ea(0x452)))){const _0x7ba025=window['encodeURIComponent'](window[_0x5925ea(0x3f1)]['href']);window[_0x5925ea(0x3f1)][_0x5925ea(0x256)]=this['_getLoginPath']()+_0x5925ea(0x347)+_0x7ba025;}}return _0x1a04ab;}))});}[_0x491a6f(0x16c)](){var _0x49c5ed=_0x491a6f,_0x398643,_0x559e7f;const _0x356fb4=this[_0x49c5ed(0x13d)][_0x49c5ed(0x167)](Et),_0x5d037c=this['_configService']['getConfig'](Y);return(_0x559e7f=(_0x398643=_0x5d037c==null?void 0x0:_0x5d037c['loginUrlKey'])!=null?_0x398643:_0x356fb4)!=null?_0x559e7f:Yt;}};Oe=Ui([we(0x0,a[_0x491a6f(0x3db)]),we(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)])),we(0x2,a['Inject'](a[_0x491a6f(0x440)]))],Oe);var Pi=Object['getOwnPropertyDescriptor'],Ai=(_0x2636be,_0x2dc108,_0x399f99,_0x1f71b0)=>{for(var _0x1b0435=_0x1f71b0>0x1?void 0x0:_0x1f71b0?Pi(_0x2dc108,_0x399f99):_0x2dc108,_0x519c4b=_0x2636be['length']-0x1,_0x732fcd;_0x519c4b>=0x0;_0x519c4b--)(_0x732fcd=_0x2636be[_0x519c4b])&&(_0x1b0435=_0x732fcd(_0x1b0435)||_0x1b0435);return _0x1b0435;},Xe=(_0x4b9d4a,_0x3f111e)=>(_0x2673aa,_0x4a18c1)=>_0x3f111e(_0x2673aa,_0x4a18c1,_0x4b9d4a);const Ve=_0x491a6f(0x412),wi=_0x491a6f(0x17b);exports['AuthzIoHttpService']=class extends a[_0x491a6f(0x3f8)]{constructor(_0x10dbbe,_0x2a9faa){var _0x4bbc3f=_0x491a6f;super(),this[_0x4bbc3f(0x2d5)]=_0x10dbbe,this[_0x4bbc3f(0x13d)]=_0x2a9faa,this[_0x4bbc3f(0x3dc)]();}[_0x491a6f(0x3dc)](){var _0x43bf4c=_0x491a6f;const _0x4cf6ba=this;this[_0x43bf4c(0x15d)](this[_0x43bf4c(0x2d5)][_0x43bf4c(0x3bd)]({'priority':0x3e7,'interceptor':q[_0x43bf4c(0x487)]({'isMatch'(_0x45435c){var _0x46a353=_0x43bf4c,_0x1080ee;if(_0x45435c[_0x46a353(0x12a)]==='POST'&&((_0x1080ee=_0x45435c[_0x46a353(0x1a3)])!=null&&_0x1080ee[_0x46a353(0x320)])){const {objectID:_0x4b5800,objectType:_0x5e45c1}=_0x45435c['requestParams'][_0x46a353(0x320)]||{};if(!_0x4b5800||_0x5e45c1===void 0x0)return!0x1;const _0x195b83=_0x4cf6ba[_0x46a353(0x18a)]()+'/'+_0x5e45c1+_0x46a353(0x262)+_0x4b5800+_0x46a353(0x16b);if(_0x45435c[_0x46a353(0x30b)]===_0x195b83)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x136165){var _0x5b5907=_0x43bf4c,_0x4d4f23;return(_0x4d4f23=_0x136165[_0x5b5907(0x1a3)])==null?void 0x0:_0x4d4f23['body'];},'mergeParamsToRequest'(_0x10e0aa,_0x33efaf){var _0x2c1333=_0x43bf4c;const _0x10509e=_0x4cf6ba['_getAPIPrefixPath']()+_0x2c1333(0x2f7),_0xa75dd7=_0x10e0aa[_0x2c1333(0x200)]((_0x14983a,_0xa71344)=>{const {unitID:_0x2660d6,objectID:_0x48f3fd,objectType:_0x1e3510,actions:_0x5f3e97}=_0xa71344;return _0x14983a[_0x2660d6]||(_0x14983a[_0x2660d6]={}),_0x14983a[_0x2660d6][_0x48f3fd]||(_0x14983a[_0x2660d6][_0x48f3fd]={'objectID':_0x48f3fd,'objectType':_0x1e3510,'actions':[]}),_0x14983a[_0x2660d6][_0x48f3fd]['actions']['push'](..._0x5f3e97),_0x14983a;},{}),_0xd46aa=[];for(const _0x5eef72 in _0xa75dd7)for(const _0x4b27b0 in _0xa75dd7[_0x5eef72]){const {actions:_0xf6242d,objectType:_0x44c0cf}=_0xa75dd7[_0x5eef72][_0x4b27b0],_0x3f1436=[...new Set(_0xf6242d)];_0xd46aa['push']({'unitID':_0x5eef72,'objectID':_0x4b27b0,'objectType':_0x44c0cf,'actions':_0x3f1436});}return new q[(_0x2c1333(0x31c))](_0x2c1333(0x3c1),_0x10509e,{'headers':_0x33efaf[_0x2c1333(0x3c7)],'withCredentials':_0x33efaf['withCredentials'],'responseType':_0x33efaf['responseType'],'body':{'requests':_0xd46aa}});}},{'distributeResult'(_0x54aeda,_0x3cdb9d){var _0x7c52a3=_0x43bf4c;const {objectActions:_0x15cfca}=_0x54aeda;return _0x3cdb9d[_0x7c52a3(0x48d)](_0x3990a0=>{var _0x2df687=_0x7c52a3;const {unitID:_0x2062f9,objectID:_0x1e1c03,actions:_0x1aa11c}=_0x3990a0,_0x4ec788=_0x15cfca[_0x2df687(0x121)](_0x584b1c=>_0x584b1c[_0x2df687(0x408)]===_0x2062f9&&_0x584b1c[_0x2df687(0x15c)]===_0x1e1c03),_0x2d05d1=_0x1aa11c[_0x2df687(0x48d)](_0x13a77a=>_0x4ec788==null?void 0x0:_0x4ec788['actions'][_0x2df687(0x121)](_0x3fa9c0=>_0x3fa9c0[_0x2df687(0x2dc)]===_0x13a77a))['filter'](_0x2f4077=>!!_0x2f4077);return{'config':_0x3990a0,'result':{'actions':_0x2d05d1,'error':_0x54aeda[_0x2df687(0x1a7)]}};});}})}));}[_0x491a6f(0x18a)](){var _0x6d84f9=_0x491a6f,_0x14f6f5,_0x49c188;const _0x4877a1=this['_configService']['getConfig'](Ve),_0x5486a0=this[_0x6d84f9(0x13d)][_0x6d84f9(0x167)](Y);return(_0x49c188=(_0x14f6f5=_0x5486a0==null?void 0x0:_0x5486a0[_0x6d84f9(0x1bc)])!=null?_0x14f6f5:_0x4877a1)!=null?_0x49c188:wi;}async[_0x491a6f(0x307)](_0x126a04){var _0x31a9c2=_0x491a6f;const _0x4517ea=this['_getAPIPrefixPath']()+'/'+_0x126a04['objectType']+_0x31a9c2(0x352);return(await this['_HTTPService']['post'](_0x4517ea,{'body':_0x126a04}))['body'][_0x31a9c2(0x15c)]||'';}async[_0x491a6f(0x1f5)](_0x379aa6){var _0x178c8a=_0x491a6f;const _0x568c69=this[_0x178c8a(0x18a)]()+'/-/object/list';return(await this[_0x178c8a(0x2d5)][_0x178c8a(0x2f2)](_0x568c69,{'body':_0x379aa6}))[_0x178c8a(0x320)][_0x178c8a(0x45b)];}async[_0x491a6f(0x25d)](_0x38f5c8){var _0x4b4c77=_0x491a6f;const _0xeb5798=this[_0x4b4c77(0x18a)]()+'/'+_0x38f5c8[_0x4b4c77(0x3e0)]+_0x4b4c77(0x262)+_0x38f5c8[_0x4b4c77(0x15c)];await this['_HTTPService'][_0x4b4c77(0x43e)](_0xeb5798,{'body':_0x38f5c8});}async[_0x491a6f(0x3d8)](_0x423fd7){var _0x550eb4=_0x491a6f;const _0x11abf7=this[_0x550eb4(0x18a)]()+'/'+_0x423fd7[_0x550eb4(0x3e0)]+_0x550eb4(0x262)+_0x423fd7[_0x550eb4(0x15c)]+_0x550eb4(0x16b);return(await this[_0x550eb4(0x2d5)][_0x550eb4(0x2f2)](_0x11abf7,{'body':_0x423fd7}))[_0x550eb4(0x320)]['actions'];}async[_0x491a6f(0x30c)](_0x59db3d){var _0x473a6c=_0x491a6f;const _0xc0576=this[_0x473a6c(0x18a)]()+'/-/object/-/batch_allowed';return(await this[_0x473a6c(0x2d5)]['post'](_0xc0576,{'body':{'requests':_0x59db3d}}))[_0x473a6c(0x320)][_0x473a6c(0x1d3)];}async['listRoles'](_0x5854a0){var _0x2bd1a9=_0x491a6f;const _0x3c8d4e=this[_0x2bd1a9(0x18a)]()+'/'+_0x5854a0['objectType']+'/role',_0x5b8643=await this[_0x2bd1a9(0x2d5)]['post'](_0x3c8d4e,{'body':_0x5854a0});return{'roles':_0x5b8643['body']['roles'],'actions':_0x5b8643[_0x2bd1a9(0x320)][_0x2bd1a9(0x2b9)]};}async[_0x491a6f(0x240)](_0x412b74){var _0x2dd8be=_0x491a6f;const _0x43a387=this[_0x2dd8be(0x18a)]()+'/collaborator';await this['_HTTPService'][_0x2dd8be(0x479)](_0x43a387,{'params':{'collaboratorID':_0x412b74['collaboratorID'],'objectID':_0x412b74['objectID'],'unitID':_0x412b74[_0x2dd8be(0x408)]}});}async[_0x491a6f(0x38f)](_0x7a5cfc){var _0x992d58=_0x491a6f;const _0x570a1c=this[_0x992d58(0x18a)]()+_0x992d58(0x29f);await this[_0x992d58(0x2d5)][_0x992d58(0x23d)](_0x570a1c,{'body':_0x7a5cfc});}async[_0x491a6f(0x324)](_0x342a76){var _0x475c5b=_0x491a6f;const _0xec20a=this[_0x475c5b(0x18a)]()+_0x475c5b(0x29f);await this[_0x475c5b(0x2d5)][_0x475c5b(0x2f2)](_0xec20a,{'body':_0x342a76});}async[_0x491a6f(0x22e)](_0x11dbda){var _0x109db8=_0x491a6f;const _0x6f7db2=this[_0x109db8(0x18a)]()+'/collaborator';return(await this[_0x109db8(0x2d5)]['get'](_0x6f7db2,{'params':{'objectID':_0x11dbda['objectID'],'unitID':_0x11dbda[_0x109db8(0x408)]}}))[_0x109db8(0x320)][_0x109db8(0x188)];}async['putCollaborators'](_0x1df6eb){var _0x37890a=_0x491a6f;const _0x3e8c2c=this[_0x37890a(0x18a)]()+_0x37890a(0x29f);await this[_0x37890a(0x2d5)][_0x37890a(0x43e)](_0x3e8c2c,{'body':_0x1df6eb});}},exports[_0x491a6f(0x395)]=Ai([Xe(0x0,a[_0x491a6f(0x1a1)](q['HTTPService'])),Xe(0x1,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x3db)]))],exports[_0x491a6f(0x395)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x16cb35){var _0x59953e=_0x491a6f;return _0x16cb35&&_0x16cb35[_0x59953e(0x372)]&&Object[_0x59953e(0x135)][_0x59953e(0x2b5)]['call'](_0x16cb35,_0x59953e(0x2d8))?_0x16cb35[_0x59953e(0x2d8)]:_0x16cb35;}var fe={'exports':{}};function Li(_0x248bd6){var _0x2da504=_0x491a6f;throw new Error(_0x2da504(0x469)+_0x248bd6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x491a6f(0x3cd)],Ze;function ee(){var _0x1f7db5=_0x491a6f;return Ze||(Ze=0x1,function(_0x367591,_0x15c525){(function(_0x51ec04,_0xe991f3){var _0x5ade4e=_0x2315;_0x367591[_0x5ade4e(0x3cd)]=_0xe991f3();}(Mi,function(){var _0x588dc3=_0x588dc3||function(_0x1f74cb,_0x4fd3bd){var _0x5a5b50=_0x2315,_0x2b959f;if(typeof window<'u'&&window[_0x5a5b50(0x1fb)]&&(_0x2b959f=window[_0x5a5b50(0x1fb)]),typeof self<'u'&&self[_0x5a5b50(0x1fb)]&&(_0x2b959f=self[_0x5a5b50(0x1fb)]),typeof globalThis<'u'&&globalThis[_0x5a5b50(0x1fb)]&&(_0x2b959f=globalThis[_0x5a5b50(0x1fb)]),!_0x2b959f&&typeof window<'u'&&window[_0x5a5b50(0x25e)]&&(_0x2b959f=window[_0x5a5b50(0x25e)]),!_0x2b959f&&typeof Le<'u'&&Le[_0x5a5b50(0x1fb)]&&(_0x2b959f=Le[_0x5a5b50(0x1fb)]),!_0x2b959f&&typeof Li=='function')try{_0x2b959f=require(_0x5a5b50(0x1fb));}catch{}var _0xac3d98=function(){var _0x472f1f=_0x5a5b50;if(_0x2b959f){if(typeof _0x2b959f[_0x472f1f(0x3f2)]=='function')try{return _0x2b959f['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b959f[_0x472f1f(0x1ce)]==_0x472f1f(0x1e7))try{return _0x2b959f[_0x472f1f(0x1ce)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x472f1f(0x369));},_0x214f99=Object[_0x5a5b50(0x307)]||(function(){function _0x22ee4e(){}return function(_0x3abef6){var _0x48b757=_0x2315,_0x5a07f9;return _0x22ee4e[_0x48b757(0x135)]=_0x3abef6,_0x5a07f9=new _0x22ee4e(),_0x22ee4e[_0x48b757(0x135)]=null,_0x5a07f9;};}()),_0x5b5c18={},_0x339442=_0x5b5c18[_0x5a5b50(0x40e)]={},_0x4d82c7=_0x339442[_0x5a5b50(0x447)]=(function(){return{'extend':function(_0x3bf997){var _0x4cd5a6=_0x2315,_0x282aca=_0x214f99(this);return _0x3bf997&&_0x282aca[_0x4cd5a6(0x39d)](_0x3bf997),(!_0x282aca['hasOwnProperty'](_0x4cd5a6(0x124))||this['init']===_0x282aca[_0x4cd5a6(0x124)])&&(_0x282aca[_0x4cd5a6(0x124)]=function(){var _0x248f1b=_0x4cd5a6;_0x282aca[_0x248f1b(0x175)][_0x248f1b(0x124)][_0x248f1b(0x3ed)](this,arguments);}),_0x282aca['init'][_0x4cd5a6(0x135)]=_0x282aca,_0x282aca['$super']=this,_0x282aca;},'create':function(){var _0x475110=_0x2315,_0xbde988=this[_0x475110(0x143)]();return _0xbde988[_0x475110(0x124)][_0x475110(0x3ed)](_0xbde988,arguments),_0xbde988;},'init':function(){},'mixIn':function(_0x4e888b){var _0x20a5d0=_0x2315;for(var _0xb28a9a in _0x4e888b)_0x4e888b['hasOwnProperty'](_0xb28a9a)&&(this[_0xb28a9a]=_0x4e888b[_0xb28a9a]);_0x4e888b[_0x20a5d0(0x2b5)](_0x20a5d0(0x295))&&(this[_0x20a5d0(0x295)]=_0x4e888b[_0x20a5d0(0x295)]);},'clone':function(){var _0x2b565b=_0x2315;return this[_0x2b565b(0x124)][_0x2b565b(0x135)]['extend'](this);}};}()),_0x58f195=_0x339442[_0x5a5b50(0x2ed)]=_0x4d82c7[_0x5a5b50(0x143)]({'init':function(_0x6a6d9f,_0x431e00){var _0x45382b=_0x5a5b50;_0x6a6d9f=this['words']=_0x6a6d9f||[],_0x431e00!=_0x4fd3bd?this[_0x45382b(0x1c7)]=_0x431e00:this[_0x45382b(0x1c7)]=_0x6a6d9f[_0x45382b(0x182)]*0x4;},'toString':function(_0x5d19dd){var _0xf2b8de=_0x5a5b50;return(_0x5d19dd||_0x3f2410)[_0xf2b8de(0x2bd)](this);},'concat':function(_0x51c5f7){var _0x54ce76=_0x5a5b50,_0x1d9dc6=this[_0x54ce76(0x381)],_0x2c7c53=_0x51c5f7[_0x54ce76(0x381)],_0x186e81=this[_0x54ce76(0x1c7)],_0x27bf01=_0x51c5f7[_0x54ce76(0x1c7)];if(this[_0x54ce76(0x2c4)](),_0x186e81%0x4)for(var _0x24c517=0x0;_0x24c517<_0x27bf01;_0x24c517++){var _0x189b80=_0x2c7c53[_0x24c517>>>0x2]>>>0x18-_0x24c517%0x4*0x8&0xff;_0x1d9dc6[_0x186e81+_0x24c517>>>0x2]|=_0x189b80<<0x18-(_0x186e81+_0x24c517)%0x4*0x8;}else{for(var _0x136126=0x0;_0x136126<_0x27bf01;_0x136126+=0x4)_0x1d9dc6[_0x186e81+_0x136126>>>0x2]=_0x2c7c53[_0x136126>>>0x2];}return this['sigBytes']+=_0x27bf01,this;},'clamp':function(){var _0xb45114=_0x5a5b50,_0x4f1898=this[_0xb45114(0x381)],_0xed4462=this[_0xb45114(0x1c7)];_0x4f1898[_0xed4462>>>0x2]&=0xffffffff<<0x20-_0xed4462%0x4*0x8,_0x4f1898['length']=_0x1f74cb[_0xb45114(0x255)](_0xed4462/0x4);},'clone':function(){var _0x4fe5e4=_0x5a5b50,_0x1664e7=_0x4d82c7['clone']['call'](this);return _0x1664e7[_0x4fe5e4(0x381)]=this['words'][_0x4fe5e4(0x489)](0x0),_0x1664e7;},'random':function(_0x19c8c8){var _0x115286=_0x5a5b50;for(var _0x16533f=[],_0x46d640=0x0;_0x46d640<_0x19c8c8;_0x46d640+=0x4)_0x16533f[_0x115286(0x3c3)](_0xac3d98());return new _0x58f195['init'](_0x16533f,_0x19c8c8);}}),_0x48f7ea=_0x5b5c18[_0x5a5b50(0x32c)]={},_0x3f2410=_0x48f7ea[_0x5a5b50(0x263)]={'stringify':function(_0x1abbe5){var _0x37b197=_0x5a5b50;for(var _0x16478f=_0x1abbe5['words'],_0x10a2b6=_0x1abbe5['sigBytes'],_0x382521=[],_0x2aee2f=0x0;_0x2aee2f<_0x10a2b6;_0x2aee2f++){var _0x337528=_0x16478f[_0x2aee2f>>>0x2]>>>0x18-_0x2aee2f%0x4*0x8&0xff;_0x382521[_0x37b197(0x3c3)]((_0x337528>>>0x4)[_0x37b197(0x295)](0x10)),_0x382521[_0x37b197(0x3c3)]((_0x337528&0xf)[_0x37b197(0x295)](0x10));}return _0x382521[_0x37b197(0x43f)]('');},'parse':function(_0x103f2c){var _0x3996dc=_0x5a5b50;for(var _0x49fcae=_0x103f2c[_0x3996dc(0x182)],_0x5a04ac=[],_0x925a64=0x0;_0x925a64<_0x49fcae;_0x925a64+=0x2)_0x5a04ac[_0x925a64>>>0x3]|=parseInt(_0x103f2c[_0x3996dc(0x31e)](_0x925a64,0x2),0x10)<<0x18-_0x925a64%0x8*0x4;return new _0x58f195[(_0x3996dc(0x124))](_0x5a04ac,_0x49fcae/0x2);}},_0x408e5d=_0x48f7ea[_0x5a5b50(0x37b)]={'stringify':function(_0x2be9d0){var _0x3c64e9=_0x5a5b50;for(var _0xd40d3d=_0x2be9d0[_0x3c64e9(0x381)],_0x22438b=_0x2be9d0[_0x3c64e9(0x1c7)],_0x38028d=[],_0x402d25=0x0;_0x402d25<_0x22438b;_0x402d25++){var _0x268879=_0xd40d3d[_0x402d25>>>0x2]>>>0x18-_0x402d25%0x4*0x8&0xff;_0x38028d[_0x3c64e9(0x3c3)](String[_0x3c64e9(0x1d0)](_0x268879));}return _0x38028d[_0x3c64e9(0x43f)]('');},'parse':function(_0x5ecb57){var _0x1df1c6=_0x5a5b50;for(var _0x1cb104=_0x5ecb57[_0x1df1c6(0x182)],_0x24ccfc=[],_0x46456b=0x0;_0x46456b<_0x1cb104;_0x46456b++)_0x24ccfc[_0x46456b>>>0x2]|=(_0x5ecb57[_0x1df1c6(0x41e)](_0x46456b)&0xff)<<0x18-_0x46456b%0x4*0x8;return new _0x58f195[(_0x1df1c6(0x124))](_0x24ccfc,_0x1cb104);}},_0xe6696=_0x48f7ea[_0x5a5b50(0x2b2)]={'stringify':function(_0x13c5c1){var _0x3ed0fd=_0x5a5b50;try{return decodeURIComponent(escape(_0x408e5d[_0x3ed0fd(0x2bd)](_0x13c5c1)));}catch{throw new Error(_0x3ed0fd(0x1ff));}},'parse':function(_0x299b17){var _0x383098=_0x5a5b50;return _0x408e5d[_0x383098(0x3b5)](unescape(encodeURIComponent(_0x299b17)));}},_0x52ff96=_0x339442[_0x5a5b50(0x282)]=_0x4d82c7[_0x5a5b50(0x143)]({'reset':function(){var _0x249825=_0x5a5b50;this[_0x249825(0x439)]=new _0x58f195[(_0x249825(0x124))](),this[_0x249825(0x404)]=0x0;},'_append':function(_0x28810a){var _0x37963c=_0x5a5b50;typeof _0x28810a=='string'&&(_0x28810a=_0xe6696['parse'](_0x28810a)),this[_0x37963c(0x439)][_0x37963c(0x199)](_0x28810a),this[_0x37963c(0x404)]+=_0x28810a[_0x37963c(0x1c7)];},'_process':function(_0x370ca0){var _0x4301ce=_0x5a5b50,_0x3456ee,_0x2bae04=this['_data'],_0x3715e0=_0x2bae04[_0x4301ce(0x381)],_0x3a9a80=_0x2bae04[_0x4301ce(0x1c7)],_0x57d873=this['blockSize'],_0x2a2b81=_0x57d873*0x4,_0x3aa30c=_0x3a9a80/_0x2a2b81;_0x370ca0?_0x3aa30c=_0x1f74cb[_0x4301ce(0x255)](_0x3aa30c):_0x3aa30c=_0x1f74cb[_0x4301ce(0x250)]((_0x3aa30c|0x0)-this['_minBufferSize'],0x0);var _0x19293c=_0x3aa30c*_0x57d873,_0xdadc2d=_0x1f74cb[_0x4301ce(0x28d)](_0x19293c*0x4,_0x3a9a80);if(_0x19293c){for(var _0x4c9d03=0x0;_0x4c9d03<_0x19293c;_0x4c9d03+=_0x57d873)this[_0x4301ce(0x29d)](_0x3715e0,_0x4c9d03);_0x3456ee=_0x3715e0[_0x4301ce(0x422)](0x0,_0x19293c),_0x2bae04[_0x4301ce(0x1c7)]-=_0xdadc2d;}return new _0x58f195['init'](_0x3456ee,_0xdadc2d);},'clone':function(){var _0x43a65c=_0x5a5b50,_0x207391=_0x4d82c7['clone'][_0x43a65c(0x21a)](this);return _0x207391[_0x43a65c(0x439)]=this['_data']['clone'](),_0x207391;},'_minBufferSize':0x0});_0x339442[_0x5a5b50(0x2b6)]=_0x52ff96[_0x5a5b50(0x143)]({'cfg':_0x4d82c7['extend'](),'init':function(_0x293e1){var _0x3d59a7=_0x5a5b50;this['cfg']=this['cfg'][_0x3d59a7(0x143)](_0x293e1),this[_0x3d59a7(0x27b)]();},'reset':function(){var _0x4b4bd2=_0x5a5b50;_0x52ff96[_0x4b4bd2(0x27b)][_0x4b4bd2(0x21a)](this),this[_0x4b4bd2(0x12f)]();},'update':function(_0x2cef87){var _0xe315f1=_0x5a5b50;return this['_append'](_0x2cef87),this[_0xe315f1(0x133)](),this;},'finalize':function(_0x27b632){var _0x5312ed=_0x5a5b50;_0x27b632&&this[_0x5312ed(0x27a)](_0x27b632);var _0x5ab332=this[_0x5312ed(0x2a7)]();return _0x5ab332;},'blockSize':0x10,'_createHelper':function(_0x138295){return function(_0x44db69,_0x31754b){var _0x227910=_0x2315;return new _0x138295[(_0x227910(0x124))](_0x31754b)[_0x227910(0x34d)](_0x44db69);};},'_createHmacHelper':function(_0x2dfa5f){return function(_0x31785c,_0x169fb5){var _0x4c7009=_0x2315;return new _0x11eb9e[(_0x4c7009(0x417))][(_0x4c7009(0x124))](_0x2dfa5f,_0x169fb5)[_0x4c7009(0x34d)](_0x31785c);};}});var _0x11eb9e=_0x5b5c18[_0x5a5b50(0x436)]={};return _0x5b5c18;}(Math);return _0x588dc3;}));}(pe)),pe[_0x1f7db5(0x3cd)];}var ge={'exports':{}},xi=ge[_0x491a6f(0x3cd)],Qe;function Ut(){var _0x178d61=_0x491a6f;return Qe||(Qe=0x1,function(_0x26bbae,_0x27e5f2){(function(_0x513e05,_0x18aa98){var _0x49d848=_0x2315;_0x26bbae[_0x49d848(0x3cd)]=_0x18aa98(ee());}(xi,function(_0x4faba1){var _0x38ecb1=_0x2315;return(function(){var _0x470382=_0x2315,_0x5aef01=_0x4faba1,_0x328684=_0x5aef01['lib'],_0x862149=_0x328684[_0x470382(0x2ed)],_0x55949c=_0x5aef01[_0x470382(0x32c)];_0x55949c['Base64']={'stringify':function(_0xee1033){var _0x28a2fb=_0x470382,_0x448efc=_0xee1033[_0x28a2fb(0x381)],_0x1e5f34=_0xee1033[_0x28a2fb(0x1c7)],_0x27606=this[_0x28a2fb(0x269)];_0xee1033[_0x28a2fb(0x2c4)]();for(var _0x25d9d1=[],_0x2a16a3=0x0;_0x2a16a3<_0x1e5f34;_0x2a16a3+=0x3)for(var _0x584daa=_0x448efc[_0x2a16a3>>>0x2]>>>0x18-_0x2a16a3%0x4*0x8&0xff,_0x11294d=_0x448efc[_0x2a16a3+0x1>>>0x2]>>>0x18-(_0x2a16a3+0x1)%0x4*0x8&0xff,_0x2c02b0=_0x448efc[_0x2a16a3+0x2>>>0x2]>>>0x18-(_0x2a16a3+0x2)%0x4*0x8&0xff,_0x2b1e47=_0x584daa<<0x10|_0x11294d<<0x8|_0x2c02b0,_0x2fa51d=0x0;_0x2fa51d<0x4&&_0x2a16a3+_0x2fa51d*0.75<_0x1e5f34;_0x2fa51d++)_0x25d9d1[_0x28a2fb(0x3c3)](_0x27606[_0x28a2fb(0x370)](_0x2b1e47>>>0x6*(0x3-_0x2fa51d)&0x3f));var _0x504bd5=_0x27606[_0x28a2fb(0x370)](0x40);if(_0x504bd5){for(;_0x25d9d1[_0x28a2fb(0x182)]%0x4;)_0x25d9d1['push'](_0x504bd5);}return _0x25d9d1[_0x28a2fb(0x43f)]('');},'parse':function(_0x59e38e){var _0x1cdcf8=_0x470382,_0x4c316e=_0x59e38e[_0x1cdcf8(0x182)],_0x1ef991=this['_map'],_0x4f3282=this['_reverseMap'];if(!_0x4f3282){_0x4f3282=this[_0x1cdcf8(0x337)]=[];for(var _0x2b5066=0x0;_0x2b5066<_0x1ef991['length'];_0x2b5066++)_0x4f3282[_0x1ef991[_0x1cdcf8(0x41e)](_0x2b5066)]=_0x2b5066;}var _0x227628=_0x1ef991[_0x1cdcf8(0x370)](0x40);if(_0x227628){var _0x4c40c9=_0x59e38e[_0x1cdcf8(0x3d7)](_0x227628);_0x4c40c9!==-0x1&&(_0x4c316e=_0x4c40c9);}return _0x47ce7a(_0x59e38e,_0x4c316e,_0x4f3282);},'_map':_0x470382(0x3e8)};function _0x47ce7a(_0x1eeb3f,_0x33c06b,_0x21ae5d){var _0x3b0eb8=_0x470382;for(var _0x2ba50c=[],_0xc52d28=0x0,_0x57f32f=0x0;_0x57f32f<_0x33c06b;_0x57f32f++)if(_0x57f32f%0x4){var _0x22d1ac=_0x21ae5d[_0x1eeb3f[_0x3b0eb8(0x41e)](_0x57f32f-0x1)]<<_0x57f32f%0x4*0x2,_0x43f180=_0x21ae5d[_0x1eeb3f[_0x3b0eb8(0x41e)](_0x57f32f)]>>>0x6-_0x57f32f%0x4*0x2,_0x3ff8b9=_0x22d1ac|_0x43f180;_0x2ba50c[_0xc52d28>>>0x2]|=_0x3ff8b9<<0x18-_0xc52d28%0x4*0x8,_0xc52d28++;}return _0x862149[_0x3b0eb8(0x307)](_0x2ba50c,_0xc52d28);}}()),_0x4faba1['enc'][_0x38ecb1(0x355)];}));}(ge)),ge[_0x178d61(0x3cd)];}var me={'exports':{}},ki=me[_0x491a6f(0x3cd)],et;function Hi(){var _0x1d7165=_0x491a6f;return et||(et=0x1,function(_0x481c21,_0x4201e4){(function(_0x2e34c7,_0x4d2c28){var _0x4a8661=_0x2315;_0x481c21[_0x4a8661(0x3cd)]=_0x4d2c28(ee());}(ki,function(_0x2a73ae){var _0x4c7299=_0x2315;return function(_0x35d5d6){var _0x20a2f3=_0x2315,_0x4850c0=_0x2a73ae,_0x3310c6=_0x4850c0[_0x20a2f3(0x40e)],_0x58ab8e=_0x3310c6[_0x20a2f3(0x2ed)],_0x18a5dd=_0x3310c6[_0x20a2f3(0x2b6)],_0x5c3be4=_0x4850c0[_0x20a2f3(0x436)],_0x271f5f=[];(function(){for(var _0x4245a1=0x0;_0x4245a1<0x40;_0x4245a1++)_0x271f5f[_0x4245a1]=_0x35d5d6['abs'](_0x35d5d6['sin'](_0x4245a1+0x1))*0x100000000|0x0;}());var _0x2a46f3=_0x5c3be4[_0x20a2f3(0x25a)]=_0x18a5dd[_0x20a2f3(0x143)]({'_doReset':function(){this['_hash']=new _0x58ab8e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x521f2a,_0x168d07){var _0x55f460=_0x20a2f3;for(var _0x3279c1=0x0;_0x3279c1<0x10;_0x3279c1++){var _0x74c19b=_0x168d07+_0x3279c1,_0x53f8e7=_0x521f2a[_0x74c19b];_0x521f2a[_0x74c19b]=(_0x53f8e7<<0x8|_0x53f8e7>>>0x18)&0xff00ff|(_0x53f8e7<<0x18|_0x53f8e7>>>0x8)&0xff00ff00;}var _0x5535c0=this[_0x55f460(0x2e7)][_0x55f460(0x381)],_0x532d88=_0x521f2a[_0x168d07+0x0],_0x406900=_0x521f2a[_0x168d07+0x1],_0x2b9f33=_0x521f2a[_0x168d07+0x2],_0x2a5d87=_0x521f2a[_0x168d07+0x3],_0x4d0339=_0x521f2a[_0x168d07+0x4],_0x86490=_0x521f2a[_0x168d07+0x5],_0x41bda5=_0x521f2a[_0x168d07+0x6],_0x379c49=_0x521f2a[_0x168d07+0x7],_0x14c9b1=_0x521f2a[_0x168d07+0x8],_0xed17d7=_0x521f2a[_0x168d07+0x9],_0x7e849b=_0x521f2a[_0x168d07+0xa],_0xb5d667=_0x521f2a[_0x168d07+0xb],_0x3b6398=_0x521f2a[_0x168d07+0xc],_0x43a1d9=_0x521f2a[_0x168d07+0xd],_0x19f00a=_0x521f2a[_0x168d07+0xe],_0x9635b7=_0x521f2a[_0x168d07+0xf],_0x4e1be3=_0x5535c0[0x0],_0x1ae49f=_0x5535c0[0x1],_0x46b950=_0x5535c0[0x2],_0x1883f4=_0x5535c0[0x3];_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x532d88,0x7,_0x271f5f[0x0]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x406900,0xc,_0x271f5f[0x1]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2b9f33,0x11,_0x271f5f[0x2]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x2a5d87,0x16,_0x271f5f[0x3]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x4d0339,0x7,_0x271f5f[0x4]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x86490,0xc,_0x271f5f[0x5]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x41bda5,0x11,_0x271f5f[0x6]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x379c49,0x16,_0x271f5f[0x7]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x14c9b1,0x7,_0x271f5f[0x8]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0xed17d7,0xc,_0x271f5f[0x9]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x7e849b,0x11,_0x271f5f[0xa]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0xb5d667,0x16,_0x271f5f[0xb]),_0x4e1be3=_0x179425(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x3b6398,0x7,_0x271f5f[0xc]),_0x1883f4=_0x179425(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x43a1d9,0xc,_0x271f5f[0xd]),_0x46b950=_0x179425(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x19f00a,0x11,_0x271f5f[0xe]),_0x1ae49f=_0x179425(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x9635b7,0x16,_0x271f5f[0xf]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x406900,0x5,_0x271f5f[0x10]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x41bda5,0x9,_0x271f5f[0x11]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0xb5d667,0xe,_0x271f5f[0x12]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x532d88,0x14,_0x271f5f[0x13]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x86490,0x5,_0x271f5f[0x14]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x7e849b,0x9,_0x271f5f[0x15]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x9635b7,0xe,_0x271f5f[0x16]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x4d0339,0x14,_0x271f5f[0x17]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0xed17d7,0x5,_0x271f5f[0x18]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x19f00a,0x9,_0x271f5f[0x19]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2a5d87,0xe,_0x271f5f[0x1a]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x14c9b1,0x14,_0x271f5f[0x1b]),_0x4e1be3=_0x4598c5(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x43a1d9,0x5,_0x271f5f[0x1c]),_0x1883f4=_0x4598c5(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x2b9f33,0x9,_0x271f5f[0x1d]),_0x46b950=_0x4598c5(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x379c49,0xe,_0x271f5f[0x1e]),_0x1ae49f=_0x4598c5(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x3b6398,0x14,_0x271f5f[0x1f]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x86490,0x4,_0x271f5f[0x20]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x14c9b1,0xb,_0x271f5f[0x21]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0xb5d667,0x10,_0x271f5f[0x22]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x19f00a,0x17,_0x271f5f[0x23]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x406900,0x4,_0x271f5f[0x24]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x4d0339,0xb,_0x271f5f[0x25]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x379c49,0x10,_0x271f5f[0x26]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x7e849b,0x17,_0x271f5f[0x27]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x43a1d9,0x4,_0x271f5f[0x28]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x532d88,0xb,_0x271f5f[0x29]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2a5d87,0x10,_0x271f5f[0x2a]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x41bda5,0x17,_0x271f5f[0x2b]),_0x4e1be3=_0x8b193e(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0xed17d7,0x4,_0x271f5f[0x2c]),_0x1883f4=_0x8b193e(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x3b6398,0xb,_0x271f5f[0x2d]),_0x46b950=_0x8b193e(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x9635b7,0x10,_0x271f5f[0x2e]),_0x1ae49f=_0x8b193e(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x2b9f33,0x17,_0x271f5f[0x2f]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x532d88,0x6,_0x271f5f[0x30]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x379c49,0xa,_0x271f5f[0x31]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x19f00a,0xf,_0x271f5f[0x32]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x86490,0x15,_0x271f5f[0x33]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x3b6398,0x6,_0x271f5f[0x34]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x2a5d87,0xa,_0x271f5f[0x35]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x7e849b,0xf,_0x271f5f[0x36]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x406900,0x15,_0x271f5f[0x37]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x14c9b1,0x6,_0x271f5f[0x38]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0x9635b7,0xa,_0x271f5f[0x39]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x41bda5,0xf,_0x271f5f[0x3a]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0x43a1d9,0x15,_0x271f5f[0x3b]),_0x4e1be3=_0x106fa3(_0x4e1be3,_0x1ae49f,_0x46b950,_0x1883f4,_0x4d0339,0x6,_0x271f5f[0x3c]),_0x1883f4=_0x106fa3(_0x1883f4,_0x4e1be3,_0x1ae49f,_0x46b950,_0xb5d667,0xa,_0x271f5f[0x3d]),_0x46b950=_0x106fa3(_0x46b950,_0x1883f4,_0x4e1be3,_0x1ae49f,_0x2b9f33,0xf,_0x271f5f[0x3e]),_0x1ae49f=_0x106fa3(_0x1ae49f,_0x46b950,_0x1883f4,_0x4e1be3,_0xed17d7,0x15,_0x271f5f[0x3f]),_0x5535c0[0x0]=_0x5535c0[0x0]+_0x4e1be3|0x0,_0x5535c0[0x1]=_0x5535c0[0x1]+_0x1ae49f|0x0,_0x5535c0[0x2]=_0x5535c0[0x2]+_0x46b950|0x0,_0x5535c0[0x3]=_0x5535c0[0x3]+_0x1883f4|0x0;},'_doFinalize':function(){var _0x369a34=_0x20a2f3,_0x23f7f7=this[_0x369a34(0x439)],_0x49f499=_0x23f7f7[_0x369a34(0x381)],_0xf0ee9b=this[_0x369a34(0x404)]*0x8,_0x1a5fd4=_0x23f7f7[_0x369a34(0x1c7)]*0x8;_0x49f499[_0x1a5fd4>>>0x5]|=0x80<<0x18-_0x1a5fd4%0x20;var _0x2a7a93=_0x35d5d6[_0x369a34(0x34a)](_0xf0ee9b/0x100000000),_0x5b5d47=_0xf0ee9b;_0x49f499[(_0x1a5fd4+0x40>>>0x9<<0x4)+0xf]=(_0x2a7a93<<0x8|_0x2a7a93>>>0x18)&0xff00ff|(_0x2a7a93<<0x18|_0x2a7a93>>>0x8)&0xff00ff00,_0x49f499[(_0x1a5fd4+0x40>>>0x9<<0x4)+0xe]=(_0x5b5d47<<0x8|_0x5b5d47>>>0x18)&0xff00ff|(_0x5b5d47<<0x18|_0x5b5d47>>>0x8)&0xff00ff00,_0x23f7f7[_0x369a34(0x1c7)]=(_0x49f499[_0x369a34(0x182)]+0x1)*0x4,this[_0x369a34(0x133)]();for(var _0x5b3890=this[_0x369a34(0x2e7)],_0x572a20=_0x5b3890[_0x369a34(0x381)],_0x2430e8=0x0;_0x2430e8<0x4;_0x2430e8++){var _0xdce38=_0x572a20[_0x2430e8];_0x572a20[_0x2430e8]=(_0xdce38<<0x8|_0xdce38>>>0x18)&0xff00ff|(_0xdce38<<0x18|_0xdce38>>>0x8)&0xff00ff00;}return _0x5b3890;},'clone':function(){var _0x4edbc4=_0x20a2f3,_0x1f335c=_0x18a5dd[_0x4edbc4(0x21b)]['call'](this);return _0x1f335c['_hash']=this[_0x4edbc4(0x2e7)]['clone'](),_0x1f335c;}});function _0x179425(_0x5939a5,_0xa6f055,_0x57220c,_0x4707d7,_0x5ba4d7,_0x13d267,_0x5651ec){var _0xde2cea=_0x5939a5+(_0xa6f055&_0x57220c|~_0xa6f055&_0x4707d7)+_0x5ba4d7+_0x5651ec;return(_0xde2cea<<_0x13d267|_0xde2cea>>>0x20-_0x13d267)+_0xa6f055;}function _0x4598c5(_0x4c6fd9,_0x40de78,_0x3bcf12,_0x501baf,_0x4d034d,_0x14a6e2,_0x203bb6){var _0x3ab699=_0x4c6fd9+(_0x40de78&_0x501baf|_0x3bcf12&~_0x501baf)+_0x4d034d+_0x203bb6;return(_0x3ab699<<_0x14a6e2|_0x3ab699>>>0x20-_0x14a6e2)+_0x40de78;}function _0x8b193e(_0x3dfabb,_0x4aee81,_0x150c15,_0x2bbbdf,_0x2e0adc,_0xdc7bd5,_0x33b0fb){var _0x3deb4c=_0x3dfabb+(_0x4aee81^_0x150c15^_0x2bbbdf)+_0x2e0adc+_0x33b0fb;return(_0x3deb4c<<_0xdc7bd5|_0x3deb4c>>>0x20-_0xdc7bd5)+_0x4aee81;}function _0x106fa3(_0x20b859,_0x36d81d,_0x5dd52d,_0x4db948,_0x45fdbd,_0x30bc01,_0x53716e){var _0x238792=_0x20b859+(_0x5dd52d^(_0x36d81d|~_0x4db948))+_0x45fdbd+_0x53716e;return(_0x238792<<_0x30bc01|_0x238792>>>0x20-_0x30bc01)+_0x36d81d;}_0x4850c0['MD5']=_0x18a5dd[_0x20a2f3(0x394)](_0x2a46f3),_0x4850c0[_0x20a2f3(0x1e1)]=_0x18a5dd['_createHmacHelper'](_0x2a46f3);}(Math),_0x2a73ae[_0x4c7299(0x25a)];}));}(me)),me[_0x1d7165(0x3cd)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x1aab8d=_0x491a6f;return tt||(tt=0x1,function(_0x2fa1be,_0x3af76c){(function(_0x251b44,_0x10852c){var _0x107f54=_0x2315;_0x2fa1be[_0x107f54(0x3cd)]=_0x10852c(ee());}(ji,function(_0x4d368d){return(function(){var _0x3c7dfb=_0x2315,_0x178d4f=_0x4d368d,_0x411b07=_0x178d4f[_0x3c7dfb(0x40e)],_0x15f7cf=_0x411b07['WordArray'],_0x31e849=_0x411b07[_0x3c7dfb(0x2b6)],_0x15f3b1=_0x178d4f[_0x3c7dfb(0x436)],_0xe4c44e=[],_0x290bc9=_0x15f3b1[_0x3c7dfb(0x2a4)]=_0x31e849['extend']({'_doReset':function(){var _0x25f2f7=_0x3c7dfb;this['_hash']=new _0x15f7cf[(_0x25f2f7(0x124))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f63e9,_0x31db2c){var _0x144825=_0x3c7dfb;for(var _0x18843d=this[_0x144825(0x2e7)][_0x144825(0x381)],_0x41bf6e=_0x18843d[0x0],_0x1a58f8=_0x18843d[0x1],_0x4548f9=_0x18843d[0x2],_0xf8d853=_0x18843d[0x3],_0x49e185=_0x18843d[0x4],_0xd83b02=0x0;_0xd83b02<0x50;_0xd83b02++){if(_0xd83b02<0x10)_0xe4c44e[_0xd83b02]=_0x2f63e9[_0x31db2c+_0xd83b02]|0x0;else{var _0x217e49=_0xe4c44e[_0xd83b02-0x3]^_0xe4c44e[_0xd83b02-0x8]^_0xe4c44e[_0xd83b02-0xe]^_0xe4c44e[_0xd83b02-0x10];_0xe4c44e[_0xd83b02]=_0x217e49<<0x1|_0x217e49>>>0x1f;}var _0x59b01c=(_0x41bf6e<<0x5|_0x41bf6e>>>0x1b)+_0x49e185+_0xe4c44e[_0xd83b02];_0xd83b02<0x14?_0x59b01c+=(_0x1a58f8&_0x4548f9|~_0x1a58f8&_0xf8d853)+0x5a827999:_0xd83b02<0x28?_0x59b01c+=(_0x1a58f8^_0x4548f9^_0xf8d853)+0x6ed9eba1:_0xd83b02<0x3c?_0x59b01c+=(_0x1a58f8&_0x4548f9|_0x1a58f8&_0xf8d853|_0x4548f9&_0xf8d853)-0x70e44324:_0x59b01c+=(_0x1a58f8^_0x4548f9^_0xf8d853)-0x359d3e2a,_0x49e185=_0xf8d853,_0xf8d853=_0x4548f9,_0x4548f9=_0x1a58f8<<0x1e|_0x1a58f8>>>0x2,_0x1a58f8=_0x41bf6e,_0x41bf6e=_0x59b01c;}_0x18843d[0x0]=_0x18843d[0x0]+_0x41bf6e|0x0,_0x18843d[0x1]=_0x18843d[0x1]+_0x1a58f8|0x0,_0x18843d[0x2]=_0x18843d[0x2]+_0x4548f9|0x0,_0x18843d[0x3]=_0x18843d[0x3]+_0xf8d853|0x0,_0x18843d[0x4]=_0x18843d[0x4]+_0x49e185|0x0;},'_doFinalize':function(){var _0xc18c41=_0x3c7dfb,_0x444952=this[_0xc18c41(0x439)],_0x214c5d=_0x444952[_0xc18c41(0x381)],_0x2c1415=this[_0xc18c41(0x404)]*0x8,_0x2a6fec=_0x444952[_0xc18c41(0x1c7)]*0x8;return _0x214c5d[_0x2a6fec>>>0x5]|=0x80<<0x18-_0x2a6fec%0x20,_0x214c5d[(_0x2a6fec+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2c1415/0x100000000),_0x214c5d[(_0x2a6fec+0x40>>>0x9<<0x4)+0xf]=_0x2c1415,_0x444952[_0xc18c41(0x1c7)]=_0x214c5d['length']*0x4,this[_0xc18c41(0x133)](),this[_0xc18c41(0x2e7)];},'clone':function(){var _0x2fc5f7=_0x3c7dfb,_0xe0db38=_0x31e849[_0x2fc5f7(0x21b)][_0x2fc5f7(0x21a)](this);return _0xe0db38['_hash']=this['_hash'][_0x2fc5f7(0x21b)](),_0xe0db38;}});_0x178d4f['SHA1']=_0x31e849[_0x3c7dfb(0x394)](_0x290bc9),_0x178d4f[_0x3c7dfb(0x12b)]=_0x31e849[_0x3c7dfb(0x34c)](_0x290bc9);}()),_0x4d368d['SHA1'];}));}(Ee)),Ee[_0x1aab8d(0x3cd)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x2a7b0b=_0x491a6f;return it||(it=0x1,function(_0x39cbf8,_0x5bd96a){(function(_0x5dc61a,_0x3aee7d){_0x39cbf8['exports']=_0x3aee7d(ee());}(Bi,function(_0x2b7c11){(function(){var _0x9a072f=_0x2315,_0x5624ba=_0x2b7c11,_0x156ce9=_0x5624ba[_0x9a072f(0x40e)],_0x178dca=_0x156ce9['Base'],_0x6e4e26=_0x5624ba[_0x9a072f(0x32c)],_0x2a2ad4=_0x6e4e26[_0x9a072f(0x2b2)],_0x547739=_0x5624ba[_0x9a072f(0x436)];_0x547739[_0x9a072f(0x417)]=_0x178dca[_0x9a072f(0x143)]({'init':function(_0x56261e,_0x3cd249){var _0x946253=_0x9a072f;_0x56261e=this['_hasher']=new _0x56261e['init'](),typeof _0x3cd249==_0x946253(0x478)&&(_0x3cd249=_0x2a2ad4[_0x946253(0x3b5)](_0x3cd249));var _0x4269cd=_0x56261e[_0x946253(0x264)],_0x1ef462=_0x4269cd*0x4;_0x3cd249['sigBytes']>_0x1ef462&&(_0x3cd249=_0x56261e[_0x946253(0x34d)](_0x3cd249)),_0x3cd249[_0x946253(0x2c4)]();for(var _0x158f35=this[_0x946253(0x45e)]=_0x3cd249[_0x946253(0x21b)](),_0x1e54cb=this['_iKey']=_0x3cd249[_0x946253(0x21b)](),_0x202d65=_0x158f35[_0x946253(0x381)],_0x59aed3=_0x1e54cb[_0x946253(0x381)],_0x38cc1c=0x0;_0x38cc1c<_0x4269cd;_0x38cc1c++)_0x202d65[_0x38cc1c]^=0x5c5c5c5c,_0x59aed3[_0x38cc1c]^=0x36363636;_0x158f35[_0x946253(0x1c7)]=_0x1e54cb['sigBytes']=_0x1ef462,this[_0x946253(0x27b)]();},'reset':function(){var _0x45186e=_0x9a072f,_0x1919ce=this['_hasher'];_0x1919ce['reset'](),_0x1919ce[_0x45186e(0x25d)](this[_0x45186e(0x414)]);},'update':function(_0x85044f){var _0x3c1349=_0x9a072f;return this[_0x3c1349(0x390)][_0x3c1349(0x25d)](_0x85044f),this;},'finalize':function(_0x3ef809){var _0xf6fe3a=_0x9a072f,_0x5c51a5=this[_0xf6fe3a(0x390)],_0x346eee=_0x5c51a5[_0xf6fe3a(0x34d)](_0x3ef809);_0x5c51a5[_0xf6fe3a(0x27b)]();var _0x3928cf=_0x5c51a5['finalize'](this[_0xf6fe3a(0x45e)]['clone']()[_0xf6fe3a(0x199)](_0x346eee));return _0x3928cf;}});}());}));}(Ce)),Ce[_0x2a7b0b(0x3cd)];}var Wi=Ie[_0x491a6f(0x3cd)],nt;function Pt(){return nt||(nt=0x1,function(_0x33f165,_0x1f7b3b){(function(_0x4a54df,_0x3ca94b,_0x376d9f){_0x33f165['exports']=_0x3ca94b(ee(),$i(),Fi());}(Wi,function(_0x413af2){var _0x2da0ac=_0x2315;return(function(){var _0x18bd12=_0x2315,_0x570fd2=_0x413af2,_0x127108=_0x570fd2[_0x18bd12(0x40e)],_0x3c5418=_0x127108[_0x18bd12(0x447)],_0x4b1cb0=_0x127108[_0x18bd12(0x2ed)],_0x11f5c6=_0x570fd2[_0x18bd12(0x436)],_0x5aa3e6=_0x11f5c6[_0x18bd12(0x25a)],_0x3e5a5c=_0x11f5c6[_0x18bd12(0x213)]=_0x3c5418['extend']({'cfg':_0x3c5418[_0x18bd12(0x143)]({'keySize':0x80/0x20,'hasher':_0x5aa3e6,'iterations':0x1}),'init':function(_0x2611c0){var _0x5b35d3=_0x18bd12;this['cfg']=this[_0x5b35d3(0x280)][_0x5b35d3(0x143)](_0x2611c0);},'compute':function(_0x1d9cb2,_0x1d558f){var _0x51a1cd=_0x18bd12;for(var _0x348bfb,_0x52893f=this[_0x51a1cd(0x280)],_0x34f52d=_0x52893f[_0x51a1cd(0x33e)][_0x51a1cd(0x307)](),_0x539c1e=_0x4b1cb0[_0x51a1cd(0x307)](),_0x1b8f37=_0x539c1e['words'],_0x1d05e2=_0x52893f[_0x51a1cd(0x3b4)],_0x34fcf8=_0x52893f[_0x51a1cd(0x36a)];_0x1b8f37[_0x51a1cd(0x182)]<_0x1d05e2;){_0x348bfb&&_0x34f52d[_0x51a1cd(0x25d)](_0x348bfb),_0x348bfb=_0x34f52d[_0x51a1cd(0x25d)](_0x1d9cb2)['finalize'](_0x1d558f),_0x34f52d[_0x51a1cd(0x27b)]();for(var _0x1982f8=0x1;_0x1982f8<_0x34fcf8;_0x1982f8++)_0x348bfb=_0x34f52d['finalize'](_0x348bfb),_0x34f52d['reset']();_0x539c1e['concat'](_0x348bfb);}return _0x539c1e['sigBytes']=_0x1d05e2*0x4,_0x539c1e;}});_0x570fd2['EvpKDF']=function(_0x411cbb,_0x59a275,_0x4937e1){var _0x30050a=_0x18bd12;return _0x3e5a5c[_0x30050a(0x307)](_0x4937e1)[_0x30050a(0x2da)](_0x411cbb,_0x59a275);};}()),_0x413af2[_0x2da0ac(0x213)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Gi=Te[_0x491a6f(0x3cd)],rt;function At(){var _0x4a329e=_0x491a6f;return rt||(rt=0x1,function(_0x4d282d,_0x586057){(function(_0x41484d,_0x4f3241,_0x58ea56){var _0x13d50b=_0x2315;_0x4d282d[_0x13d50b(0x3cd)]=_0x4f3241(ee(),Pt());}(Gi,function(_0xf0789c){var _0x3bb6c4=_0x2315;_0xf0789c[_0x3bb6c4(0x40e)][_0x3bb6c4(0x2ea)]||function(_0x44ebc2){var _0x571f70=_0x3bb6c4,_0x5d92e7=_0xf0789c,_0xff69b2=_0x5d92e7['lib'],_0x51c9a7=_0xff69b2[_0x571f70(0x447)],_0x572c97=_0xff69b2[_0x571f70(0x2ed)],_0xd0f10f=_0xff69b2[_0x571f70(0x282)],_0x4f5aea=_0x5d92e7[_0x571f70(0x32c)];_0x4f5aea[_0x571f70(0x2b2)];var _0x22f392=_0x4f5aea['Base64'],_0x304a87=_0x5d92e7[_0x571f70(0x436)],_0x133f0a=_0x304a87['EvpKDF'],_0x3dbb4e=_0xff69b2[_0x571f70(0x2ea)]=_0xd0f10f[_0x571f70(0x143)]({'cfg':_0x51c9a7['extend'](),'createEncryptor':function(_0x361591,_0x116eb1){var _0x438c44=_0x571f70;return this[_0x438c44(0x307)](this['_ENC_XFORM_MODE'],_0x361591,_0x116eb1);},'createDecryptor':function(_0x267e4e,_0x483b78){var _0x227ecb=_0x571f70;return this[_0x227ecb(0x307)](this[_0x227ecb(0x1c6)],_0x267e4e,_0x483b78);},'init':function(_0x1dbf10,_0x5346f1,_0x1bca41){var _0xd15495=_0x571f70;this['cfg']=this['cfg'][_0xd15495(0x143)](_0x1bca41),this[_0xd15495(0x20b)]=_0x1dbf10,this[_0xd15495(0x304)]=_0x5346f1,this[_0xd15495(0x27b)]();},'reset':function(){var _0x46a70e=_0x571f70;_0xd0f10f[_0x46a70e(0x27b)][_0x46a70e(0x21a)](this),this[_0x46a70e(0x12f)]();},'process':function(_0x1e8cef){var _0x4e9354=_0x571f70;return this[_0x4e9354(0x27a)](_0x1e8cef),this[_0x4e9354(0x133)]();},'finalize':function(_0x4332c8){var _0x18307a=_0x571f70;_0x4332c8&&this[_0x18307a(0x27a)](_0x4332c8);var _0x3c71e0=this['_doFinalize']();return _0x3c71e0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1046b2(_0x5441fe){var _0x5d98e6=_0x2315;return typeof _0x5441fe==_0x5d98e6(0x478)?_0x133e9c:_0x2e03e2;}return function(_0x5e9bf5){return{'encrypt':function(_0x32bd33,_0x3b774e,_0xa8b58c){return _0x1046b2(_0x3b774e)['encrypt'](_0x5e9bf5,_0x32bd33,_0x3b774e,_0xa8b58c);},'decrypt':function(_0x16a796,_0x30926a,_0x41bb55){var _0x56d0db=_0x2315;return _0x1046b2(_0x30926a)[_0x56d0db(0x24d)](_0x5e9bf5,_0x16a796,_0x30926a,_0x41bb55);}};};}())});_0xff69b2['StreamCipher']=_0x3dbb4e['extend']({'_doFinalize':function(){var _0x55c11e=this['_process'](!0x0);return _0x55c11e;},'blockSize':0x1});var _0x58c3c1=_0x5d92e7[_0x571f70(0x2d6)]={},_0x5bcfb7=_0xff69b2[_0x571f70(0x360)]=_0x51c9a7[_0x571f70(0x143)]({'createEncryptor':function(_0x1f1bd7,_0x238581){var _0x543517=_0x571f70;return this[_0x543517(0x16d)]['create'](_0x1f1bd7,_0x238581);},'createDecryptor':function(_0x262a07,_0x5c3f10){var _0x30f9c5=_0x571f70;return this['Decryptor'][_0x30f9c5(0x307)](_0x262a07,_0x5c3f10);},'init':function(_0x25e67f,_0x56d31f){var _0x737b86=_0x571f70;this['_cipher']=_0x25e67f,this[_0x737b86(0x2ca)]=_0x56d31f;}}),_0x28ac9b=_0x58c3c1[_0x571f70(0x2a9)]=(function(){var _0x550743=_0x571f70,_0xc73f4f=_0x5bcfb7[_0x550743(0x143)]();_0xc73f4f['Encryptor']=_0xc73f4f[_0x550743(0x143)]({'processBlock':function(_0x27c8e0,_0x47050b){var _0x2af3f4=_0x550743,_0x456746=this[_0x2af3f4(0x279)],_0x4cfe96=_0x456746[_0x2af3f4(0x264)];_0xb27a47[_0x2af3f4(0x21a)](this,_0x27c8e0,_0x47050b,_0x4cfe96),_0x456746[_0x2af3f4(0x1d1)](_0x27c8e0,_0x47050b),this[_0x2af3f4(0x23c)]=_0x27c8e0['slice'](_0x47050b,_0x47050b+_0x4cfe96);}}),_0xc73f4f[_0x550743(0x26a)]=_0xc73f4f[_0x550743(0x143)]({'processBlock':function(_0x84c184,_0x1d47c1){var _0x39a319=_0x550743,_0x1c993d=this[_0x39a319(0x279)],_0x109efc=_0x1c993d[_0x39a319(0x264)],_0x46ec56=_0x84c184[_0x39a319(0x489)](_0x1d47c1,_0x1d47c1+_0x109efc);_0x1c993d['decryptBlock'](_0x84c184,_0x1d47c1),_0xb27a47[_0x39a319(0x21a)](this,_0x84c184,_0x1d47c1,_0x109efc),this[_0x39a319(0x23c)]=_0x46ec56;}});function _0xb27a47(_0x2a6194,_0x111118,_0x2b9cb4){var _0x43557e=_0x550743,_0x1482ed,_0x521ea1=this[_0x43557e(0x2ca)];_0x521ea1?(_0x1482ed=_0x521ea1,this[_0x43557e(0x2ca)]=_0x44ebc2):_0x1482ed=this[_0x43557e(0x23c)];for(var _0x46041e=0x0;_0x46041e<_0x2b9cb4;_0x46041e++)_0x2a6194[_0x111118+_0x46041e]^=_0x1482ed[_0x46041e];}return _0xc73f4f;}()),_0x2a8e62=_0x5d92e7[_0x571f70(0x330)]={},_0x3822be=_0x2a8e62[_0x571f70(0x1d5)]={'pad':function(_0x18c211,_0x45943c){var _0xcf15ad=_0x571f70;for(var _0x5524a7=_0x45943c*0x4,_0x42c11a=_0x5524a7-_0x18c211[_0xcf15ad(0x1c7)]%_0x5524a7,_0xb91deb=_0x42c11a<<0x18|_0x42c11a<<0x10|_0x42c11a<<0x8|_0x42c11a,_0x4fee32=[],_0xe7939=0x0;_0xe7939<_0x42c11a;_0xe7939+=0x4)_0x4fee32[_0xcf15ad(0x3c3)](_0xb91deb);var _0x1af6b2=_0x572c97['create'](_0x4fee32,_0x42c11a);_0x18c211[_0xcf15ad(0x199)](_0x1af6b2);},'unpad':function(_0x46884b){var _0x174ea3=_0x571f70,_0x39c9f4=_0x46884b[_0x174ea3(0x381)][_0x46884b[_0x174ea3(0x1c7)]-0x1>>>0x2]&0xff;_0x46884b[_0x174ea3(0x1c7)]-=_0x39c9f4;}};_0xff69b2[_0x571f70(0x21f)]=_0x3dbb4e['extend']({'cfg':_0x3dbb4e[_0x571f70(0x280)]['extend']({'mode':_0x28ac9b,'padding':_0x3822be}),'reset':function(){var _0x130376=_0x571f70,_0x1ef3c2;_0x3dbb4e[_0x130376(0x27b)][_0x130376(0x21a)](this);var _0xc80ba7=this[_0x130376(0x280)],_0x596fb8=_0xc80ba7['iv'],_0x556ff6=_0xc80ba7[_0x130376(0x2d6)];this[_0x130376(0x20b)]==this[_0x130376(0x1ef)]?_0x1ef3c2=_0x556ff6[_0x130376(0x26d)]:(_0x1ef3c2=_0x556ff6[_0x130376(0x299)],this['_minBufferSize']=0x1),this[_0x130376(0x1d4)]&&this[_0x130376(0x1d4)][_0x130376(0x24e)]==_0x1ef3c2?this[_0x130376(0x1d4)][_0x130376(0x124)](this,_0x596fb8&&_0x596fb8[_0x130376(0x381)]):(this[_0x130376(0x1d4)]=_0x1ef3c2[_0x130376(0x21a)](_0x556ff6,this,_0x596fb8&&_0x596fb8['words']),this[_0x130376(0x1d4)]['__creator']=_0x1ef3c2);},'_doProcessBlock':function(_0xa38551,_0x5a3b41){var _0x468926=_0x571f70;this['_mode'][_0x468926(0x165)](_0xa38551,_0x5a3b41);},'_doFinalize':function(){var _0xda4787=_0x571f70,_0x35d454,_0x5d1157=this[_0xda4787(0x280)]['padding'];return this[_0xda4787(0x20b)]==this['_ENC_XFORM_MODE']?(_0x5d1157[_0xda4787(0x330)](this[_0xda4787(0x439)],this['blockSize']),_0x35d454=this[_0xda4787(0x133)](!0x0)):(_0x35d454=this[_0xda4787(0x133)](!0x0),_0x5d1157[_0xda4787(0x463)](_0x35d454)),_0x35d454;},'blockSize':0x80/0x20});var _0x3cf752=_0xff69b2[_0x571f70(0x445)]=_0x51c9a7[_0x571f70(0x143)]({'init':function(_0x1c55fb){var _0x30372a=_0x571f70;this[_0x30372a(0x39d)](_0x1c55fb);},'toString':function(_0x1c75da){var _0x2d627f=_0x571f70;return(_0x1c75da||this[_0x2d627f(0x42f)])[_0x2d627f(0x2bd)](this);}}),_0x3cb777=_0x5d92e7[_0x571f70(0x1f1)]={},_0xcb5a31=_0x3cb777[_0x571f70(0x223)]={'stringify':function(_0x55fe25){var _0x2a74da=_0x571f70,_0x755c12,_0x2addf6=_0x55fe25[_0x2a74da(0x3ba)],_0x59e79d=_0x55fe25[_0x2a74da(0x47d)];return _0x59e79d?_0x755c12=_0x572c97[_0x2a74da(0x307)]([0x53616c74,0x65645f5f])[_0x2a74da(0x199)](_0x59e79d)[_0x2a74da(0x199)](_0x2addf6):_0x755c12=_0x2addf6,_0x755c12[_0x2a74da(0x295)](_0x22f392);},'parse':function(_0x1b3796){var _0x4aec93=_0x571f70,_0x289d01,_0x7943f6=_0x22f392[_0x4aec93(0x3b5)](_0x1b3796),_0x5a494d=_0x7943f6['words'];return _0x5a494d[0x0]==0x53616c74&&_0x5a494d[0x1]==0x65645f5f&&(_0x289d01=_0x572c97[_0x4aec93(0x307)](_0x5a494d[_0x4aec93(0x489)](0x2,0x4)),_0x5a494d[_0x4aec93(0x422)](0x0,0x4),_0x7943f6[_0x4aec93(0x1c7)]-=0x10),_0x3cf752[_0x4aec93(0x307)]({'ciphertext':_0x7943f6,'salt':_0x289d01});}},_0x2e03e2=_0xff69b2[_0x571f70(0x334)]=_0x51c9a7[_0x571f70(0x143)]({'cfg':_0x51c9a7[_0x571f70(0x143)]({'format':_0xcb5a31}),'encrypt':function(_0x828cbe,_0xa4fc0d,_0x149b01,_0x13515e){var _0x144d44=_0x571f70;_0x13515e=this['cfg'][_0x144d44(0x143)](_0x13515e);var _0x3ff00e=_0x828cbe[_0x144d44(0x26d)](_0x149b01,_0x13515e),_0x33d295=_0x3ff00e[_0x144d44(0x34d)](_0xa4fc0d),_0x90f12=_0x3ff00e[_0x144d44(0x280)];return _0x3cf752[_0x144d44(0x307)]({'ciphertext':_0x33d295,'key':_0x149b01,'iv':_0x90f12['iv'],'algorithm':_0x828cbe,'mode':_0x90f12[_0x144d44(0x2d6)],'padding':_0x90f12[_0x144d44(0x300)],'blockSize':_0x828cbe[_0x144d44(0x264)],'formatter':_0x13515e[_0x144d44(0x1f1)]});},'decrypt':function(_0x3210bd,_0xee2ec2,_0x10c728,_0x1b1204){var _0x4b7faa=_0x571f70;_0x1b1204=this[_0x4b7faa(0x280)][_0x4b7faa(0x143)](_0x1b1204),_0xee2ec2=this[_0x4b7faa(0x1cd)](_0xee2ec2,_0x1b1204[_0x4b7faa(0x1f1)]);var _0x110886=_0x3210bd[_0x4b7faa(0x299)](_0x10c728,_0x1b1204)[_0x4b7faa(0x34d)](_0xee2ec2[_0x4b7faa(0x3ba)]);return _0x110886;},'_parse':function(_0x154903,_0x5e8739){var _0x86993c=_0x571f70;return typeof _0x154903==_0x86993c(0x478)?_0x5e8739[_0x86993c(0x3b5)](_0x154903,this):_0x154903;}}),_0xa4395=_0x5d92e7[_0x571f70(0x179)]={},_0x45caa2=_0xa4395[_0x571f70(0x223)]={'execute':function(_0x3b64b7,_0x3ac4bf,_0x1970cc,_0x3ed849,_0x313fa1){var _0x358bd1=_0x571f70;if(_0x3ed849||(_0x3ed849=_0x572c97['random'](0x40/0x8)),_0x313fa1)var _0x5041bd=_0x133f0a[_0x358bd1(0x307)]({'keySize':_0x3ac4bf+_0x1970cc,'hasher':_0x313fa1})['compute'](_0x3b64b7,_0x3ed849);else var _0x5041bd=_0x133f0a['create']({'keySize':_0x3ac4bf+_0x1970cc})[_0x358bd1(0x2da)](_0x3b64b7,_0x3ed849);var _0x22feab=_0x572c97[_0x358bd1(0x307)](_0x5041bd['words'][_0x358bd1(0x489)](_0x3ac4bf),_0x1970cc*0x4);return _0x5041bd[_0x358bd1(0x1c7)]=_0x3ac4bf*0x4,_0x3cf752[_0x358bd1(0x307)]({'key':_0x5041bd,'iv':_0x22feab,'salt':_0x3ed849});}},_0x133e9c=_0xff69b2[_0x571f70(0x2fa)]=_0x2e03e2[_0x571f70(0x143)]({'cfg':_0x2e03e2[_0x571f70(0x280)]['extend']({'kdf':_0x45caa2}),'encrypt':function(_0x4535f7,_0x27d99b,_0x450b10,_0x4a3f9a){var _0x1343fd=_0x571f70;_0x4a3f9a=this[_0x1343fd(0x280)][_0x1343fd(0x143)](_0x4a3f9a);var _0x3eaabf=_0x4a3f9a[_0x1343fd(0x179)][_0x1343fd(0x2cd)](_0x450b10,_0x4535f7[_0x1343fd(0x3b4)],_0x4535f7[_0x1343fd(0x393)],_0x4a3f9a[_0x1343fd(0x47d)],_0x4a3f9a[_0x1343fd(0x33e)]);_0x4a3f9a['iv']=_0x3eaabf['iv'];var _0x547d1e=_0x2e03e2[_0x1343fd(0x278)][_0x1343fd(0x21a)](this,_0x4535f7,_0x27d99b,_0x3eaabf['key'],_0x4a3f9a);return _0x547d1e[_0x1343fd(0x39d)](_0x3eaabf),_0x547d1e;},'decrypt':function(_0x526824,_0x128667,_0x1bd524,_0x2e4127){var _0x46d95f=_0x571f70;_0x2e4127=this[_0x46d95f(0x280)][_0x46d95f(0x143)](_0x2e4127),_0x128667=this[_0x46d95f(0x1cd)](_0x128667,_0x2e4127['format']);var _0x5afdd8=_0x2e4127['kdf'][_0x46d95f(0x2cd)](_0x1bd524,_0x526824['keySize'],_0x526824[_0x46d95f(0x393)],_0x128667[_0x46d95f(0x47d)],_0x2e4127[_0x46d95f(0x33e)]);_0x2e4127['iv']=_0x5afdd8['iv'];var _0x404f43=_0x2e03e2[_0x46d95f(0x24d)][_0x46d95f(0x21a)](this,_0x526824,_0x128667,_0x5afdd8[_0x46d95f(0x286)],_0x2e4127);return _0x404f43;}});}();}));}(Te)),Te[_0x4a329e(0x3cd)];}var Vi=fe[_0x491a6f(0x3cd)],st;function Ki(){return st||(st=0x1,function(_0x378e1a,_0x746399){(function(_0x3fd0c,_0x39fa3d,_0x59c972){_0x378e1a['exports']=_0x39fa3d(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0xcf2d18){var _0x336c5d=_0x2315;return(function(){var _0x1b50dc=_0x2315,_0xfce76d=_0xcf2d18,_0x36f198=_0xfce76d[_0x1b50dc(0x40e)],_0x4efee2=_0x36f198[_0x1b50dc(0x21f)],_0x41d2f3=_0xfce76d['algo'],_0x57df9f=[],_0x29f00b=[],_0x35c314=[],_0x4c8e76=[],_0x503489=[],_0x2a38a7=[],_0x2b2d97=[],_0x11fed9=[],_0x28d050=[],_0x51b4ff=[];(function(){for(var _0x115d64=[],_0x221f8a=0x0;_0x221f8a<0x100;_0x221f8a++)_0x221f8a<0x80?_0x115d64[_0x221f8a]=_0x221f8a<<0x1:_0x115d64[_0x221f8a]=_0x221f8a<<0x1^0x11b;for(var _0x3b1eb3=0x0,_0x409ecc=0x0,_0x221f8a=0x0;_0x221f8a<0x100;_0x221f8a++){var _0x2191dc=_0x409ecc^_0x409ecc<<0x1^_0x409ecc<<0x2^_0x409ecc<<0x3^_0x409ecc<<0x4;_0x2191dc=_0x2191dc>>>0x8^_0x2191dc&0xff^0x63,_0x57df9f[_0x3b1eb3]=_0x2191dc,_0x29f00b[_0x2191dc]=_0x3b1eb3;var _0x4c6033=_0x115d64[_0x3b1eb3],_0x456a76=_0x115d64[_0x4c6033],_0x3bc696=_0x115d64[_0x456a76],_0x3632db=_0x115d64[_0x2191dc]*0x101^_0x2191dc*0x1010100;_0x35c314[_0x3b1eb3]=_0x3632db<<0x18|_0x3632db>>>0x8,_0x4c8e76[_0x3b1eb3]=_0x3632db<<0x10|_0x3632db>>>0x10,_0x503489[_0x3b1eb3]=_0x3632db<<0x8|_0x3632db>>>0x18,_0x2a38a7[_0x3b1eb3]=_0x3632db;var _0x3632db=_0x3bc696*0x1010101^_0x456a76*0x10001^_0x4c6033*0x101^_0x3b1eb3*0x1010100;_0x2b2d97[_0x2191dc]=_0x3632db<<0x18|_0x3632db>>>0x8,_0x11fed9[_0x2191dc]=_0x3632db<<0x10|_0x3632db>>>0x10,_0x28d050[_0x2191dc]=_0x3632db<<0x8|_0x3632db>>>0x18,_0x51b4ff[_0x2191dc]=_0x3632db,_0x3b1eb3?(_0x3b1eb3=_0x4c6033^_0x115d64[_0x115d64[_0x115d64[_0x3bc696^_0x4c6033]]],_0x409ecc^=_0x115d64[_0x115d64[_0x409ecc]]):_0x3b1eb3=_0x409ecc=0x1;}}());var _0x1f2a0d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x566130=_0x41d2f3[_0x1b50dc(0x1e6)]=_0x4efee2[_0x1b50dc(0x143)]({'_doReset':function(){var _0x11ef14=_0x1b50dc,_0x4a3c76;if(!(this['_nRounds']&&this[_0x11ef14(0x438)]===this[_0x11ef14(0x304)])){for(var _0xb1189c=this[_0x11ef14(0x438)]=this['_key'],_0x51d77d=_0xb1189c[_0x11ef14(0x381)],_0x75dde3=_0xb1189c['sigBytes']/0x4,_0x4bfebc=this[_0x11ef14(0x1c1)]=_0x75dde3+0x6,_0x13d3c8=(_0x4bfebc+0x1)*0x4,_0x5c66c8=this[_0x11ef14(0x39c)]=[],_0x2c8028=0x0;_0x2c8028<_0x13d3c8;_0x2c8028++)_0x2c8028<_0x75dde3?_0x5c66c8[_0x2c8028]=_0x51d77d[_0x2c8028]:(_0x4a3c76=_0x5c66c8[_0x2c8028-0x1],_0x2c8028%_0x75dde3?_0x75dde3>0x6&&_0x2c8028%_0x75dde3==0x4&&(_0x4a3c76=_0x57df9f[_0x4a3c76>>>0x18]<<0x18|_0x57df9f[_0x4a3c76>>>0x10&0xff]<<0x10|_0x57df9f[_0x4a3c76>>>0x8&0xff]<<0x8|_0x57df9f[_0x4a3c76&0xff]):(_0x4a3c76=_0x4a3c76<<0x8|_0x4a3c76>>>0x18,_0x4a3c76=_0x57df9f[_0x4a3c76>>>0x18]<<0x18|_0x57df9f[_0x4a3c76>>>0x10&0xff]<<0x10|_0x57df9f[_0x4a3c76>>>0x8&0xff]<<0x8|_0x57df9f[_0x4a3c76&0xff],_0x4a3c76^=_0x1f2a0d[_0x2c8028/_0x75dde3|0x0]<<0x18),_0x5c66c8[_0x2c8028]=_0x5c66c8[_0x2c8028-_0x75dde3]^_0x4a3c76);for(var _0x27b6d7=this[_0x11ef14(0x234)]=[],_0x1cccc1=0x0;_0x1cccc1<_0x13d3c8;_0x1cccc1++){var _0x2c8028=_0x13d3c8-_0x1cccc1;if(_0x1cccc1%0x4)var _0x4a3c76=_0x5c66c8[_0x2c8028];else var _0x4a3c76=_0x5c66c8[_0x2c8028-0x4];_0x1cccc1<0x4||_0x2c8028<=0x4?_0x27b6d7[_0x1cccc1]=_0x4a3c76:_0x27b6d7[_0x1cccc1]=_0x2b2d97[_0x57df9f[_0x4a3c76>>>0x18]]^_0x11fed9[_0x57df9f[_0x4a3c76>>>0x10&0xff]]^_0x28d050[_0x57df9f[_0x4a3c76>>>0x8&0xff]]^_0x51b4ff[_0x57df9f[_0x4a3c76&0xff]];}}},'encryptBlock':function(_0x169459,_0x1ec756){var _0x2fc2c8=_0x1b50dc;this[_0x2fc2c8(0x32e)](_0x169459,_0x1ec756,this[_0x2fc2c8(0x39c)],_0x35c314,_0x4c8e76,_0x503489,_0x2a38a7,_0x57df9f);},'decryptBlock':function(_0x1853b0,_0x2b4ac8){var _0x276942=_0x1b50dc,_0x422c91=_0x1853b0[_0x2b4ac8+0x1];_0x1853b0[_0x2b4ac8+0x1]=_0x1853b0[_0x2b4ac8+0x3],_0x1853b0[_0x2b4ac8+0x3]=_0x422c91,this[_0x276942(0x32e)](_0x1853b0,_0x2b4ac8,this['_invKeySchedule'],_0x2b2d97,_0x11fed9,_0x28d050,_0x51b4ff,_0x29f00b);var _0x422c91=_0x1853b0[_0x2b4ac8+0x1];_0x1853b0[_0x2b4ac8+0x1]=_0x1853b0[_0x2b4ac8+0x3],_0x1853b0[_0x2b4ac8+0x3]=_0x422c91;},'_doCryptBlock':function(_0x41e273,_0x151f45,_0x3c207a,_0x208561,_0x5a8ef1,_0x35beec,_0x446f9c,_0x1107d6){for(var _0x6fa0a3=this['_nRounds'],_0x144715=_0x41e273[_0x151f45]^_0x3c207a[0x0],_0x4e29de=_0x41e273[_0x151f45+0x1]^_0x3c207a[0x1],_0x5d7b75=_0x41e273[_0x151f45+0x2]^_0x3c207a[0x2],_0x133bd3=_0x41e273[_0x151f45+0x3]^_0x3c207a[0x3],_0xe3fee8=0x4,_0x5de38e=0x1;_0x5de38e<_0x6fa0a3;_0x5de38e++){var _0x2099ab=_0x208561[_0x144715>>>0x18]^_0x5a8ef1[_0x4e29de>>>0x10&0xff]^_0x35beec[_0x5d7b75>>>0x8&0xff]^_0x446f9c[_0x133bd3&0xff]^_0x3c207a[_0xe3fee8++],_0x3a1a12=_0x208561[_0x4e29de>>>0x18]^_0x5a8ef1[_0x5d7b75>>>0x10&0xff]^_0x35beec[_0x133bd3>>>0x8&0xff]^_0x446f9c[_0x144715&0xff]^_0x3c207a[_0xe3fee8++],_0x901084=_0x208561[_0x5d7b75>>>0x18]^_0x5a8ef1[_0x133bd3>>>0x10&0xff]^_0x35beec[_0x144715>>>0x8&0xff]^_0x446f9c[_0x4e29de&0xff]^_0x3c207a[_0xe3fee8++],_0x6d8f9c=_0x208561[_0x133bd3>>>0x18]^_0x5a8ef1[_0x144715>>>0x10&0xff]^_0x35beec[_0x4e29de>>>0x8&0xff]^_0x446f9c[_0x5d7b75&0xff]^_0x3c207a[_0xe3fee8++];_0x144715=_0x2099ab,_0x4e29de=_0x3a1a12,_0x5d7b75=_0x901084,_0x133bd3=_0x6d8f9c;}var _0x2099ab=(_0x1107d6[_0x144715>>>0x18]<<0x18|_0x1107d6[_0x4e29de>>>0x10&0xff]<<0x10|_0x1107d6[_0x5d7b75>>>0x8&0xff]<<0x8|_0x1107d6[_0x133bd3&0xff])^_0x3c207a[_0xe3fee8++],_0x3a1a12=(_0x1107d6[_0x4e29de>>>0x18]<<0x18|_0x1107d6[_0x5d7b75>>>0x10&0xff]<<0x10|_0x1107d6[_0x133bd3>>>0x8&0xff]<<0x8|_0x1107d6[_0x144715&0xff])^_0x3c207a[_0xe3fee8++],_0x901084=(_0x1107d6[_0x5d7b75>>>0x18]<<0x18|_0x1107d6[_0x133bd3>>>0x10&0xff]<<0x10|_0x1107d6[_0x144715>>>0x8&0xff]<<0x8|_0x1107d6[_0x4e29de&0xff])^_0x3c207a[_0xe3fee8++],_0x6d8f9c=(_0x1107d6[_0x133bd3>>>0x18]<<0x18|_0x1107d6[_0x144715>>>0x10&0xff]<<0x10|_0x1107d6[_0x4e29de>>>0x8&0xff]<<0x8|_0x1107d6[_0x5d7b75&0xff])^_0x3c207a[_0xe3fee8++];_0x41e273[_0x151f45]=_0x2099ab,_0x41e273[_0x151f45+0x1]=_0x3a1a12,_0x41e273[_0x151f45+0x2]=_0x901084,_0x41e273[_0x151f45+0x3]=_0x6d8f9c;},'keySize':0x100/0x20});_0xfce76d['AES']=_0x4efee2[_0x1b50dc(0x394)](_0x566130);}()),_0xcf2d18[_0x336c5d(0x1e6)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x206078=_0x491a6f;return at||(at=0x1,function(_0x2124dc,_0x5a7c72){(function(_0x430de7,_0x3edfe2){var _0x27499b=_0x2315;_0x2124dc[_0x27499b(0x3cd)]=_0x3edfe2(ee());}(Ji,function(_0x36c898){var _0x56b375=_0x2315;return _0x36c898[_0x56b375(0x32c)][_0x56b375(0x2b2)];}));}(be)),be[_0x206078(0x3cd)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x491a6f(0x3cd)],ct;function tn(){return ct||(ct=0x1,function(_0x1c587f,_0x5fd900){(function(_0x17d578,_0x2ba640){var _0x17310d=_0x2315;_0x1c587f[_0x17310d(0x3cd)]=_0x2ba640(ee());}(en,function(_0xb76d3){var _0x1a5ef6=_0x2315;return(function(){var _0x4e2221=_0x2315;if(typeof ArrayBuffer==_0x4e2221(0x1e7)){var _0x448664=_0xb76d3,_0x427b69=_0x448664['lib'],_0x316e9e=_0x427b69[_0x4e2221(0x2ed)],_0x20e77d=_0x316e9e[_0x4e2221(0x124)],_0x36867d=_0x316e9e[_0x4e2221(0x124)]=function(_0x16de79){var _0x2b55b5=_0x4e2221;if(_0x16de79 instanceof ArrayBuffer&&(_0x16de79=new Uint8Array(_0x16de79)),(_0x16de79 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x16de79 instanceof Uint8ClampedArray||_0x16de79 instanceof Int16Array||_0x16de79 instanceof Uint16Array||_0x16de79 instanceof Int32Array||_0x16de79 instanceof Uint32Array||_0x16de79 instanceof Float32Array||_0x16de79 instanceof Float64Array)&&(_0x16de79=new Uint8Array(_0x16de79[_0x2b55b5(0x442)],_0x16de79[_0x2b55b5(0x2d7)],_0x16de79[_0x2b55b5(0x40f)])),_0x16de79 instanceof Uint8Array){for(var _0x1083c5=_0x16de79['byteLength'],_0x4be6a6=[],_0x17b562=0x0;_0x17b562<_0x1083c5;_0x17b562++)_0x4be6a6[_0x17b562>>>0x2]|=_0x16de79[_0x17b562]<<0x18-_0x17b562%0x4*0x8;_0x20e77d['call'](this,_0x4be6a6,_0x1083c5);}else _0x20e77d['apply'](this,arguments);};_0x36867d[_0x4e2221(0x135)]=_0x316e9e;}}()),_0xb76d3[_0x1a5ef6(0x40e)][_0x1a5ef6(0x2ed)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye['exports'],ht;function on(){var _0x6e2555=_0x491a6f;return ht||(ht=0x1,function(_0x26a416,_0x19c5d7){(function(_0x47ba78,_0x58f1c7,_0x5594f2){_0x26a416['exports']=_0x58f1c7(ee(),At());}(sn,function(_0x431613){var _0x45de2d=_0x2315;return _0x431613['pad'][_0x45de2d(0x237)]={'pad':function(){},'unpad':function(){}},_0x431613[_0x45de2d(0x330)][_0x45de2d(0x237)];}));}(ye)),ye[_0x6e2555(0x3cd)];}var an=on();const cn=Se(an);function hn(_0x481f65,_0x4cc70e){var _0x5035ab=_0x491a6f;const _0x312501=_0x4cc70e-_0x481f65[_0x5035ab(0x182)]%_0x4cc70e,_0x762e58=String[_0x5035ab(0x1d0)](_0x312501)[_0x5035ab(0x2a5)](_0x312501);return _0x481f65+_0x762e58;}function ln(_0x259a3c,_0x5ee4ef){var _0x598433=_0x491a6f;const _0x31941b=rn[_0x598433(0x30d)](0x10),_0x191755=hn(_0x259a3c,0x10),_0x582bd0=qi[_0x598433(0x278)](Qi['parse'](_0x191755),ot[_0x598433(0x3b5)](_0x5ee4ef),{'iv':_0x31941b,'padding':cn});return _0x31941b['concat'](_0x582bd0[_0x598433(0x3ba)])[_0x598433(0x295)](ot);}function _n(){var _0x4a1ab9=_0x491a6f;const _0x3660ca=xt[_0x4a1ab9(0x14d)]()[_0x4a1ab9(0x3fe)];if(_0x3660ca){const _0x37c52d={'time':Math[_0x4a1ab9(0x34a)](Date[_0x4a1ab9(0x443)]()/0x3e8),'domain':location['hostname']};return ln(JSON[_0x4a1ab9(0x2bd)](_0x37c52d),_0x3660ca);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x24be60,_0x13a66a,_0x46f58d,_0x2db1dd)=>{for(var _0x3ad41b=_0x2db1dd>0x1?void 0x0:_0x2db1dd?un(_0x13a66a,_0x46f58d):_0x13a66a,_0x2424bf=_0x24be60['length']-0x1,_0xeb7213;_0x2424bf>=0x0;_0x2424bf--)(_0xeb7213=_0x24be60[_0x2424bf])&&(_0x3ad41b=_0xeb7213(_0x3ad41b)||_0x3ad41b);return _0x3ad41b;},vn=(_0x28765d,_0x281106)=>(_0x42d6d0,_0x47f577)=>_0x281106(_0x42d6d0,_0x47f577,_0x28765d);let Ne=class{constructor(_0x207414){var _0x5d3fef=_0x491a6f;this['_httpService']=_0x207414,this[_0x5d3fef(0x42b)]();}[_0x491a6f(0x42b)](){var _0x51ac56=_0x491a6f;this['_httpService'][_0x51ac56(0x3bd)]({'interceptor':(_0x58c439,_0x2312ab)=>{var _0x17a291=_0x51ac56;const _0x1985eb=_0x58c439['headers'],_0x153e40=_n();return _0x153e40&&_0x1985eb[_0x17a291(0x318)](_0x17a291(0x20f),_0x153e40),_0x2312ab(_0x58c439);}});}};Ne=dn([vn(0x0,a[_0x491a6f(0x1a1)](q['HTTPService']))],Ne);var Sn=Object[_0x491a6f(0x316)],fn=(_0x3ad464,_0x31f998,_0xe836ad,_0x382a15)=>{var _0x1e0ac1=_0x491a6f;for(var _0x45fd81=_0x382a15>0x1?void 0x0:_0x382a15?Sn(_0x31f998,_0xe836ad):_0x31f998,_0x2f76b7=_0x3ad464[_0x1e0ac1(0x182)]-0x1,_0x3efbd7;_0x2f76b7>=0x0;_0x2f76b7--)(_0x3efbd7=_0x3ad464[_0x2f76b7])&&(_0x45fd81=_0x3efbd7(_0x45fd81)||_0x45fd81);return _0x45fd81;},Me=(_0x1be6ce,_0x47658e)=>(_0x53ca6c,_0x376339)=>_0x47658e(_0x53ca6c,_0x376339,_0x1be6ce);exports[_0x491a6f(0x184)]=class extends a[_0x491a6f(0x245)]{constructor(_0x33bb5a,_0x22a314,_0x530ecc){var _0x2c0c6d=_0x491a6f;super(),P(this,'_unitInfo$',new j['BehaviorSubject'](null)),P(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x2c0c6d(0x403)]=_0x33bb5a,this[_0x2c0c6d(0x3eb)]=_0x22a314,this[_0x2c0c6d(0x345)]=_0x530ecc);}async[_0x491a6f(0x2b3)](_0x5ee91f,_0x381ecd,_0x159e44){var _0x3953a2=_0x491a6f;this['_unitInfo$'][_0x3953a2(0x480)]({'unitId':_0x5ee91f,'type':_0x381ecd,'subUnitId':_0x159e44});let _0x45189f=null;switch(_0x381ecd){case X[_0x3953a2(0x2fc)]:{_0x45189f=await this['_loadSheet'](_0x5ee91f);break;}case X[_0x3953a2(0x341)]:{_0x45189f=await this[_0x3953a2(0x3f6)](_0x5ee91f);break;}default:{this[_0x3953a2(0x403)]['error'](_0x3953a2(0x1b9),_0x3953a2(0x48c));break;}}return _0x45189f;}async[_0x491a6f(0x391)](_0x19b7d9){var _0x10626f=_0x491a6f,_0x18c2a2;let _0x1500d1=0x0;const _0x34e12a=await((_0x18c2a2=this[_0x10626f(0x345)])==null?void 0x0:_0x18c2a2[_0x10626f(0x228)](_0x19b7d9));return _0x34e12a&&(_0x34e12a[_0x10626f(0x16f)]||_0x34e12a[_0x10626f(0x35a)][_0x10626f(0x182)]!==0x0)&&(_0x1500d1=_0x34e12a['rev']),_0x1500d1===0x0&&this['_logService'][_0x10626f(0x11d)](_0x10626f(0x1b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x10626f(0x3eb)][_0x10626f(0x375)](_0x19b7d9,_0x1500d1);}async[_0x491a6f(0x3f6)](_0x4c02cf){var _0x4558a2=_0x491a6f,_0x572c95;let _0x29b4e0=0x0;const _0x523740=await((_0x572c95=this[_0x4558a2(0x345)])==null?void 0x0:_0x572c95[_0x4558a2(0x228)](_0x4c02cf));return _0x523740&&(_0x523740['awaitingChangeset']||_0x523740[_0x4558a2(0x35a)]['length']!==0x0)&&(_0x29b4e0=_0x523740[_0x4558a2(0x1a2)]),_0x29b4e0===0x0&&this['_logService'][_0x4558a2(0x11d)](_0x4558a2(0x1b9),_0x4558a2(0x401)),this[_0x4558a2(0x3eb)][_0x4558a2(0x31b)](_0x4c02cf,_0x29b4e0);}},exports[_0x491a6f(0x184)]=fn([Me(0x0,a[_0x491a6f(0x3c8)]),Me(0x1,a['Inject'](g[_0x491a6f(0x3e9)])),Me(0x2,a[_0x491a6f(0x30e)](z))],exports[_0x491a6f(0x184)]);var pn=Object[_0x491a6f(0x316)],gn=(_0x319e3e,_0x3b02e5,_0x4ac2b6,_0x51fe3a)=>{var _0xd8e02a=_0x491a6f;for(var _0x3bb63c=_0x51fe3a>0x1?void 0x0:_0x51fe3a?pn(_0x3b02e5,_0x4ac2b6):_0x3b02e5,_0x39472e=_0x319e3e[_0xd8e02a(0x182)]-0x1,_0x31ed54;_0x39472e>=0x0;_0x39472e--)(_0x31ed54=_0x319e3e[_0x39472e])&&(_0x3bb63c=_0x31ed54(_0x3bb63c)||_0x3bb63c);return _0x3bb63c;},xe=(_0x68558a,_0x6900bb)=>(_0x99ae4b,_0x80383e)=>_0x6900bb(_0x99ae4b,_0x80383e,_0x68558a);const mn=['image/png',_0x491a6f(0x248),_0x491a6f(0x468),_0x491a6f(0x253),_0x491a6f(0x1c3)],In=0x5*0x400*0x400,En=_0x491a6f(0x26f),Cn='/universer-api/stream/file/upload',Tn=_0x491a6f(0x2c5),bn=_0x491a6f(0x3f7);exports[_0x491a6f(0x19d)]=class{constructor(_0x195873,_0x4f435c,_0x136105){var _0xfea9a8=_0x491a6f;P(this,_0xfea9a8(0x1e4),0x0),P(this,_0xfea9a8(0x430),new j[(_0xfea9a8(0x477))]()),P(this,_0xfea9a8(0x3d0),this[_0xfea9a8(0x430)]),P(this,'_imageSourceCache',new Map()),(this[_0xfea9a8(0x2b7)]=_0x195873,this[_0xfea9a8(0x13d)]=_0x4f435c,this[_0xfea9a8(0x192)]=_0x136105);}[_0x491a6f(0x297)](_0x2a1e85){var _0x895439=_0x491a6f;this[_0x895439(0x1e4)]=_0x2a1e85,this['_change$'][_0x895439(0x480)](_0x2a1e85);}[_0x491a6f(0x461)](_0x1ee3ea,_0x4b7bac){var _0x875cc2=_0x491a6f;if(_0x4b7bac===J[_0x875cc2(0x313)][_0x875cc2(0x39e)]){const _0x5c10c9=new Image();return _0x5c10c9[_0x875cc2(0x134)]=_0x1ee3ea,_0x5c10c9;}return this[_0x875cc2(0x3ab)][_0x875cc2(0x33b)](_0x1ee3ea);}[_0x491a6f(0x244)](_0x41f308,_0x54ab15,_0x165edb){var _0x1b6bb8=_0x491a6f;_0x54ab15===J['ImageSourceType'][_0x1b6bb8(0x39e)]||_0x165edb==null||this['_imageSourceCache']['set'](_0x41f308,_0x165edb);}async[_0x491a6f(0x311)](_0x528c05){var _0x2798dc=_0x491a6f;try{const _0x5ae395=this['_replaceFileID'](this[_0x2798dc(0x3ff)](),''+_0x528c05),_0x4e9238=(await this[_0x2798dc(0x2b7)][_0x2798dc(0x33b)](_0x5ae395))['body'];if(_0x4e9238[_0x2798dc(0x1a7)]&&_0x4e9238[_0x2798dc(0x1a7)]['code']===Ct['OK']){const _0x229c13=new URL(_0x4e9238[_0x2798dc(0x30b)],this[_0x2798dc(0x1bb)]())[_0x2798dc(0x295)]();return Promise[_0x2798dc(0x2f3)](_0x229c13);}return Promise[_0x2798dc(0x3a6)](_0x4e9238[_0x2798dc(0x1a7)]);}catch(_0x1a2385){return Promise['reject'](_0x1a2385);}}async[_0x491a6f(0x235)](_0x40f5ad){var _0x49ed56=_0x491a6f;let _0xb5fa8e='';if(!mn[_0x49ed56(0x18f)](_0x40f5ad[_0x49ed56(0x325)]))return this[_0x49ed56(0x3d9)](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x331)]));if(_0x40f5ad[_0x49ed56(0x2f5)]>In)return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x470)]));try{const _0xa68b37=new FormData();_0xa68b37[_0x49ed56(0x319)]('file',_0x40f5ad);const _0x452a74=this[_0x49ed56(0x192)]['getFocusedUnit'](),_0x24fe63=_0x452a74==null?void 0x0:_0x452a74[_0x49ed56(0x14f)]();if(!_0x24fe63)throw new Error(_0x49ed56(0x2a2));const _0x2ef8f0=this['_getUploadFileURL']()+_0x49ed56(0x30f)+_0x40f5ad['size']['toString']()+'&source='+Tt[_0x49ed56(0x1e2)]+_0x49ed56(0x1a8)+encodeURIComponent(_0x24fe63),_0x18bdb7=await(await fetch(_0x2ef8f0,{'method':_0x49ed56(0x3c1),'body':_0xa68b37}))[_0x49ed56(0x3e1)]();if(typeof _0x18bdb7[_0x49ed56(0x215)]!=_0x49ed56(0x478))return this['_decreaseWaiting'](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x2bc)]));_0xb5fa8e=_0x18bdb7[_0x49ed56(0x215)];}catch{return this['_decreaseWaiting'](),Promise[_0x49ed56(0x3a6)](new Error(J[_0x49ed56(0x332)][_0x49ed56(0x2bc)]));}return new Promise((_0x555de2,_0x174359)=>{var _0x31faeb=_0x49ed56;const _0x4f30e0=new FileReader();_0x4f30e0['readAsDataURL'](_0x40f5ad),_0x4f30e0[_0x31faeb(0x2ba)]=_0x535712=>{var _0x1087e8=_0x31faeb,_0x1bcfea;const _0x186769=(_0x1bcfea=_0x535712[_0x1087e8(0x3d2)])==null?void 0x0:_0x1bcfea[_0x1087e8(0x24a)];if(_0x186769==null){this[_0x1087e8(0x3d9)](),_0x174359(new Error(J['ImageUploadStatusType'][_0x1087e8(0x2bc)]));return;}const _0x2a0eac=a['Tools'][_0x1087e8(0x2e8)](0x6);_0x555de2({'imageId':_0x2a0eac,'imageSourceType':J[_0x1087e8(0x313)][_0x1087e8(0x46a)],'source':_0xb5fa8e,'base64Cache':_0x186769,'status':J[_0x1087e8(0x332)]['SUCCUSS']}),this[_0x1087e8(0x3d9)]();};});}[_0x491a6f(0x48b)](){var _0x5f4d4f=_0x491a6f,_0x17d66b,_0x55a065;const _0x587c28=this[_0x5f4d4f(0x13d)][_0x5f4d4f(0x167)](En),_0x548444=this[_0x5f4d4f(0x13d)][_0x5f4d4f(0x167)](Y);return(_0x55a065=(_0x17d66b=_0x548444==null?void 0x0:_0x548444['uploadFileServerUrl'])!=null?_0x17d66b:_0x587c28)!=null?_0x55a065:Cn;}[_0x491a6f(0x3ff)](){var _0x36792f=_0x491a6f,_0x2cba62,_0x2529ec;const _0x3ccaf5=this[_0x36792f(0x13d)][_0x36792f(0x167)](Tn),_0x1ac18f=this[_0x36792f(0x13d)]['getConfig'](Y);return(_0x2529ec=(_0x2cba62=_0x1ac18f==null?void 0x0:_0x1ac18f[_0x36792f(0x194)])!=null?_0x2cba62:_0x3ccaf5)!=null?_0x2529ec:bn;}[_0x491a6f(0x1bb)](){var _0x714d19=_0x491a6f,_0x382ad6;const _0x361331=this[_0x714d19(0x13d)][_0x714d19(0x167)](Y);return(_0x382ad6=_0x361331==null?void 0x0:_0x361331['downloadEndpointUrl'])!=null?_0x382ad6:location[_0x714d19(0x437)];}['_replaceFileID'](_0x801cd6,_0x18fe37){var _0x21c63a=_0x491a6f;return _0x801cd6[_0x21c63a(0x354)](_0x21c63a(0x2d0),_0x18fe37);}[_0x491a6f(0x3d9)](){var _0x1be308=_0x491a6f;this[_0x1be308(0x1e4)]-=0x1,this[_0x1be308(0x430)]['next'](this['_waitCount']);}},exports[_0x491a6f(0x19d)]=gn([xe(0x0,a[_0x491a6f(0x1a1)](q['HTTPService'])),xe(0x1,a[_0x491a6f(0x3db)]),xe(0x2,a['Inject'](a[_0x491a6f(0x312)]))],exports[_0x491a6f(0x19d)]);var Rn=Object[_0x491a6f(0x316)],yn=(_0x38d84e,_0x1965ae,_0x3aff4a,_0x36286e)=>{var _0x40c9be=_0x491a6f;for(var _0x468ce6=_0x36286e>0x1?void 0x0:_0x36286e?Rn(_0x1965ae,_0x3aff4a):_0x1965ae,_0x3f7b9c=_0x38d84e[_0x40c9be(0x182)]-0x1,_0x6ff424;_0x3f7b9c>=0x0;_0x3f7b9c--)(_0x6ff424=_0x38d84e[_0x3f7b9c])&&(_0x468ce6=_0x6ff424(_0x468ce6)||_0x468ce6);return _0x468ce6;},lt=(_0x403b54,_0x13f964)=>(_0x57c1d5,_0x584bf5)=>_0x13f964(_0x57c1d5,_0x584bf5,_0x403b54);const On=_0x491a6f(0x17b);exports['MentionIoHttpService']=class{constructor(_0x27bb3a,_0x447dc0){var _0x1cb17a=_0x491a6f;this['_configService']=_0x27bb3a,this[_0x1cb17a(0x2d5)]=_0x447dc0;}[_0x491a6f(0x18a)](){var _0x1dbf75=_0x491a6f,_0x495735,_0x1703a6;const _0x149bf4=this[_0x1dbf75(0x13d)][_0x1dbf75(0x167)](Ve),_0x9eb2c5=this[_0x1dbf75(0x13d)][_0x1dbf75(0x167)](Y);return(_0x1703a6=(_0x495735=_0x9eb2c5==null?void 0x0:_0x9eb2c5[_0x1dbf75(0x1bc)])!=null?_0x495735:_0x149bf4)!=null?_0x1703a6:On;}async[_0x491a6f(0x1f5)](_0x4772dd){var _0x23b6ed=_0x491a6f;const _0x25ff42=this['_getAPIPrefixPath']()+_0x23b6ed(0x29f);return{'list':[{'title':_0x23b6ed(0x3cc),'mentions':(await this[_0x23b6ed(0x2d5)]['get'](_0x25ff42,{'params':{'objectID':_0x4772dd[_0x23b6ed(0x3f9)],'unitID':_0x4772dd['unitId']}}))[_0x23b6ed(0x320)][_0x23b6ed(0x188)][_0x23b6ed(0x48d)](_0x5790d0=>({'objectId':_0x5790d0['id'],'name':_0x5790d0['subject']['name'],'metadata':{'icon':_0x5790d0['subject']['avatar']},'label':_0x5790d0[_0x23b6ed(0x231)][_0x23b6ed(0x122)],'objectType':a['MentionType'][_0x23b6ed(0x322)]})),'metadata':{},'type':a[_0x23b6ed(0x387)]['PERSON']}]};}},exports[_0x491a6f(0x285)]=yn([lt(0x0,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x3db)])),lt(0x1,a[_0x491a6f(0x1a1)](q[_0x491a6f(0x24c)]))],exports[_0x491a6f(0x285)]);var Nn=Object[_0x491a6f(0x316)],Dn=(_0x31c1b4,_0x1f6f5a,_0x3c0545,_0x425199)=>{var _0x3aa713=_0x491a6f;for(var _0x56ba29=_0x425199>0x1?void 0x0:_0x425199?Nn(_0x1f6f5a,_0x3c0545):_0x1f6f5a,_0x21e5fc=_0x31c1b4[_0x3aa713(0x182)]-0x1,_0x82e799;_0x21e5fc>=0x0;_0x21e5fc--)(_0x82e799=_0x31c1b4[_0x21e5fc])&&(_0x56ba29=_0x82e799(_0x56ba29)||_0x56ba29);return _0x56ba29;},ue=(_0x3389eb,_0x51cde9)=>(_0x209350,_0x3f223f)=>_0x51cde9(_0x209350,_0x3f223f,_0x3389eb);let De=class extends a[_0x491a6f(0x245)]{constructor(_0x5f330e,_0xa80f42,_0x403276,_0x49a528,_0x486d3c){var _0x304e9e=_0x491a6f;super(),this[_0x304e9e(0x488)]=_0x5f330e,this[_0x304e9e(0x192)]=_0xa80f42,this[_0x304e9e(0x29a)]=_0x403276,this[_0x304e9e(0x396)]=_0x49a528,this[_0x304e9e(0x219)]=_0x486d3c,this[_0x304e9e(0x47a)](),this[_0x304e9e(0x251)]();}[_0x491a6f(0x251)](){var _0x593976=_0x491a6f;const _0x4c746b=async _0x5f39a8=>{var _0x22f85f=_0x2315;(await this[_0x22f85f(0x396)][_0x22f85f(0x23a)](_0x5f39a8))[_0x22f85f(0x1a0)][_0x22f85f(0x3c4)](W['filter'](_0x308f0e=>_0x308f0e[_0x22f85f(0x2e0)]===g['CollaborationEvent'][_0x22f85f(0x399)]),W['takeUntil'](this['dispose$']))[_0x22f85f(0x148)](_0x5d5c99=>{var _0x36d698=_0x22f85f;const _0x46a24c=_0x5d5c99,{reason:_0x24ab68}=_0x46a24c[_0x36d698(0x368)];this[_0x36d698(0x219)][_0x36d698(0x126)]({'id':Q[_0x36d698(0x384)],'data':_0x24ab68}),this[_0x36d698(0x29a)][_0x36d698(0x3a7)](new Z[(_0x36d698(0x156))](_0x5f39a8)['id'],!0x1),this[_0x36d698(0x396)][_0x36d698(0x1b4)](_0x5f39a8);});};j['merge'](this['_univerInstanceService'][_0x593976(0x33c)](a[_0x593976(0x397)]['UNIVER_SHEET']),this[_0x593976(0x192)]['getTypeOfUnitAdded$'](a[_0x593976(0x397)][_0x593976(0x341)]))[_0x593976(0x3c4)](W[_0x593976(0x48d)](_0x4a002c=>_0x4a002c['getUnitId']()),W[_0x593976(0x3af)](_0x2beee4=>!a[_0x593976(0x26e)](_0x2beee4)),W[_0x593976(0x374)](this[_0x593976(0x242)]))['subscribe'](_0x38e522=>{_0x4c746b(_0x38e522);});}['_initUnitPermissionChange'](){var _0x589a01=_0x491a6f;const _0x3fe6fc=async _0x215196=>{var _0x19d968=_0x2315;const _0x23790a=await this['_collaborationSessionService']['requireSession'](_0x215196),_0x22ad6c=this[_0x19d968(0x488)][_0x19d968(0x33b)](Z[_0x19d968(0x190)]);_0x23790a['event$'][_0x19d968(0x3c4)](W[_0x19d968(0x3af)](_0x56f664=>_0x56f664[_0x19d968(0x2e0)]===g[_0x19d968(0x361)][_0x19d968(0x315)]),W[_0x19d968(0x374)](this[_0x19d968(0x242)]))[_0x19d968(0x148)](_0x4473cb=>{var _0x5b34f5=_0x19d968;const _0x45d06b=_0x4473cb,{objectId:_0xbc3dae}=_0x45d06b[_0x5b34f5(0x368)];_0xbc3dae===_0x215196?_0x22ad6c[_0x5b34f5(0x32f)](_0x215196):_0x22ad6c[_0x5b34f5(0x3d5)](_0x215196,_0xbc3dae);});};j[_0x589a01(0x37a)](this[_0x589a01(0x192)][_0x589a01(0x33c)](a[_0x589a01(0x397)]['UNIVER_SHEET']))['pipe'](W[_0x589a01(0x48d)](_0x18ec51=>_0x18ec51[_0x589a01(0x14f)]()),W[_0x589a01(0x3af)](_0x1ada39=>!a[_0x589a01(0x26e)](_0x1ada39)),W[_0x589a01(0x374)](this[_0x589a01(0x242)]))[_0x589a01(0x148)](_0xa954c7=>{_0x3fe6fc(_0xa954c7);});}};De=Dn([ue(0x0,a[_0x491a6f(0x1a1)](a['Injector'])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x491a6f(0x1f4)]),ue(0x3,a[_0x491a6f(0x1a1)](exports[_0x491a6f(0x36f)])),ue(0x4,a[_0x491a6f(0x1a1)](te))],De);var Un=Object[_0x491a6f(0x316)],Pn=(_0x2d0e17,_0x5bf550,_0x29412d,_0x124327)=>{var _0x4b83dd=_0x491a6f;for(var _0x2c0035=_0x124327>0x1?void 0x0:_0x124327?Un(_0x5bf550,_0x29412d):_0x5bf550,_0x552bc7=_0x2d0e17[_0x4b83dd(0x182)]-0x1,_0x3214ee;_0x552bc7>=0x0;_0x552bc7--)(_0x3214ee=_0x2d0e17[_0x552bc7])&&(_0x2c0035=_0x3214ee(_0x2c0035)||_0x2c0035);return _0x2c0035;},_t=(_0x4d8fa4,_0x229c05)=>(_0x1074c2,_0x30593a)=>_0x229c05(_0x1074c2,_0x30593a,_0x4d8fa4);exports[_0x491a6f(0x482)]=class{constructor(_0x479252,_0x310649){var _0x581202=_0x491a6f;this[_0x581202(0x13d)]=_0x479252,this['_httpService']=_0x310649;}async[_0x491a6f(0x22d)](_0x5586c2,_0x29b9ba){var _0x2634aa=_0x491a6f,_0x581f2a;const {unitID:_0x4a8c5d,type:_0x97d6f9,revision:_0x2e3ed1=0x0}=_0x29b9ba,_0x19fb5b=this['getSnapshotAPIPath']()+'/'+_0x97d6f9+'/unit/'+_0x4a8c5d+_0x2634aa(0x2bf)+_0x2e3ed1,_0x4a7605=(await this['_httpService'][_0x2634aa(0x33b)](_0x19fb5b))[_0x2634aa(0x320)],_0x285013=(_0x581f2a=_0x4a7605[_0x2634aa(0x46d)])==null?void 0x0:_0x581f2a[_0x2634aa(0x157)];if(_0x285013){const _0x489602=_0x285013==null?void 0x0:_0x285013['originalMeta'],_0x337d42=g[_0x2634aa(0x147)][_0x2634aa(0x241)](g['b64DecodeUnicode'](_0x489602));_0x285013[_0x2634aa(0x123)]=_0x337d42,Object[_0x2634aa(0x34f)](_0x285013[_0x2634aa(0x1b3)])[_0x2634aa(0x18d)](([,_0x190263])=>{var _0x2cae53=_0x2634aa;const _0x5c787e=_0x190263['originalMeta'],_0x40a983=g[_0x2cae53(0x147)][_0x2cae53(0x241)](g[_0x2cae53(0x229)](_0x5c787e));_0x190263[_0x2cae53(0x123)]=_0x40a983;});}return _0x4a7605;}async[_0x491a6f(0x1ee)](_0x440de2,_0x225f97){var _0x79e343=_0x491a6f;const {unitID:_0x495248,type:_0x39ec5d,blockID:_0x5311e8}=_0x225f97,_0x278468=this[_0x79e343(0x3a1)]()+'/'+_0x39ec5d+'/unit/'+_0x495248+_0x79e343(0x366)+_0x5311e8;return(await this['_httpService']['get'](_0x278468))['body'];}async['getDeserializedSheetBlock'](_0x59127f,_0x7940bc){var _0x57cfb4=_0x491a6f;const {unitID:_0x300a24,type:_0x25d1f8,blockID:_0x187725}=_0x7940bc,_0x47dacb=this[_0x57cfb4(0x3a1)]()+'/block/'+_0x25d1f8+_0x57cfb4(0x271)+_0x300a24+_0x57cfb4(0x366)+_0x187725;return(await this[_0x57cfb4(0x2b7)][_0x57cfb4(0x33b)](_0x47dacb))['body'];}async[_0x491a6f(0x46b)](_0x5b5805,_0x1c71cf){var _0xd8e82=_0x491a6f;const {unitID:_0x294a8b,type:_0x23c42f,from:_0x7f8c6d,to:_0x5b0349}=_0x1c71cf,_0x508290=this[_0xd8e82(0x3a1)]()+'/'+_0x23c42f+_0xd8e82(0x271)+_0x294a8b+_0xd8e82(0x45d)+_0x7f8c6d+'&to='+_0x5b0349;return(await this[_0xd8e82(0x2b7)][_0xd8e82(0x33b)](_0x508290))[_0xd8e82(0x320)];}[_0x491a6f(0x11b)](){var _0x11097f=_0x491a6f,_0x888154;return(_0x888154=this['_configService'][_0x11097f(0x167)](vt))!=null?_0x888154:this[_0x11097f(0x3a1)]();}[_0x491a6f(0x3a1)](){var _0x52f2ce=_0x491a6f,_0x503ff7,_0x4f72b3;const _0x14a8f3=this['_configService'][_0x52f2ce(0x167)](dt),_0x170bb5=this[_0x52f2ce(0x13d)][_0x52f2ce(0x167)](Y);return(_0x4f72b3=(_0x503ff7=_0x170bb5==null?void 0x0:_0x170bb5[_0x52f2ce(0x2c1)])!=null?_0x503ff7:_0x14a8f3)!=null?_0x4f72b3:kt;}async[_0x491a6f(0x46c)](_0x141693,_0x31dc14){var _0x3c8049=_0x491a6f;const _0x34f7dd=_0x3c8049(0x15b)+_0x31dc14[_0x3c8049(0x325)]+_0x3c8049(0x271)+_0x31dc14[_0x3c8049(0x408)]+_0x3c8049(0x2b4);return(await this['_httpService'][_0x3c8049(0x33b)](_0x34f7dd,{'params':{'resourceId':JSON[_0x3c8049(0x2bd)](_0x31dc14[_0x3c8049(0x1f8)])}}))[_0x3c8049(0x320)];}[_0x491a6f(0x2e4)](){var _0x4ff01e=_0x491a6f;throw new Error(_0x4ff01e(0x38a));}[_0x491a6f(0x221)](){var _0x268ae7=_0x491a6f;throw new Error(_0x268ae7(0x38a));}[_0x491a6f(0x1d2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x491a6f(0x183)](){var _0x5318fb=_0x491a6f;throw new Error(_0x5318fb(0x38a));}[_0x491a6f(0x36d)](){var _0x370412=_0x491a6f;throw new Error(_0x370412(0x38a));}},exports[_0x491a6f(0x482)]=Pn([_t(0x0,a[_0x491a6f(0x3db)]),_t(0x1,a[_0x491a6f(0x1a1)](q['HTTPService']))],exports[_0x491a6f(0x482)]);function _0x352e(){var _0x15c6d6=['indexOf','allowed','_decreaseWaiting','TOO_MANY_REQUESTS','IConfigService','_initMergeInterceptor','then','DocCollaborationEntity','Workbook','objectType','json','getUnitType','CollaborationStatus','_clearRedo','_telemetryService','error$','_replayCachedMutations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SnapshotService','submit\x20changeset\x20error!','_snapshotService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','apply','_onRemoteACK','_socketMessageSubscription','ISocketService','location','getRandomValues','4122018yaNnsg','fetchMiss','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadDoc','/universer-api/file/{fileID}/sign-url','Disposable','unitId','_revisionService','_tryReconnect','editingUnit','_createHandler','__Key__','_getSignURL','Injector','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_scheduleCollaborationTimeoutTimer','_logService','_nDataBytes','incrementRevOfUnit','getAllMembers','subUnitId','unitID','_scheduleCompleteTimestamp','reconnect','parseChangesetToProtocol','GLOBAL_ROOMS_CNT_EXCEEDS','ALREADY_EXISTS','lib','byteLength','has','_onJoinRoomEvent','AUTHZ_URL_KEY','DisposableCollection','_iKey','socket$','HELLO','HMAC','_onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSession]','open$','charCodeAt','_awaitingChangeset','close','_onUserLeave','splice','onlyLocal','csAckEvent','Undefined','stopTime','_clearRetryConnectingTimer','clear','interceptor','ws://127.0.0.1:8000/universer-api/comb/connect','_initRequestHeader','CHANGESET_REVISION_CONFILICT','_singleActiveUnitService','_clearCollaborationTimeoutTimer','formatter','_change$','_commentUpdate$','unknown','sid','state','awaiting_with_pending','algo','origin','_keyPriorReset','_data','SUBMIT_CHANGESET','3093924oYMjOo','[CollaborationSessionService]','DEFAULT_WS_SESSION_TICKET_URL','put','join','LocaleService','_collabSessionService','buffer','now','_undoStacks','CipherParams','APPLY_REVISION_CONFILICT','Base','_shouldReportTelemetry','OPTIONAL','_handlerCallback','_throwTelemetryCollaborationNewChangeset','_networkConditionService','newCsEvent','_acknowledgedAwaitingChangeset','onSyncEditingCollabCursor','_substituteRedoStack','PERMISSION_REJ','auth.needGotoLoginAlert','executeCommand','_resendTimer','_waitForHeartbeatResponse','BehaviorSubject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_SERVER_URL_KEY','collaboration_new_changeset','getWorkbookSelections','objects','awaiting','/fetchmissing?from=','_oKey','HEARTBEAT_TIMEOUT_KEY','LIVESHARE_NEW_HOST','getImageSourceCache','_toggleOffline','unpad','entityInit$','CONNECTOR_DATA_TOO_LARGE','_updateLocalCache','LICENSE_MAX_UNITS_EXCEEDED','image/jpg','Could\x20not\x20dynamically\x20require\x20\x22','UUID','fetchMissingChangesets','getResourcesRequest','snapshot','onCommandExecuted','Tools','ERROR_EXCEED_SIZE','session.room-cnt-exceeds','c2Prime','toggleOffline','touchDependencies','_transformRemoteChangesetByStateCache','every','Subject','string','delete','_initUnitPermissionChange','_incrementRevisionNumber','addHandlerCallback','salt','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UPDATE_CURSOR','next','symbol','SnapshotServerOverHTTPService','Error\x20on\x20receiving\x20event','enableOfflineEditing','userID','_compressMutationService','MergeInterceptorFactory','_injector','slice','_createInitialState','_getUploadFileURL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','map','transformSelections','save\x20fail\x20reason\x20is\x20','take','_clearUndo','HEARTBEAT_INTERVAL_KEY','getSnapshotAPIPath','LIVESHARE_TERMINATE','debug','_snapshotServerService','cmd','_schedule','find','name','originalMeta','init','createInstance','emitEvent','_retryConnectingTimer','_executeRemoteChangeset','roomInfos','method','HmacSHA1','changesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FAIL','_doReset','2695816BmcPdX','_members','ENSURE_SNAPSHOT_EXECUTION','_process','src','prototype','concatMap','[CollaborationSessionService]:\x20socket\x20error','_createInitialStateImpl','transformChangesets','RichTextEditingMutation','_userManagerService','override','_configService','ReplaySubject','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendHeartbeatTimer','state$','IContextService','extend','CollaborationSocketService','SUBMIT_CHANGESET_TIMEOUT','HttpImport','textEncoder','subscribe','IAuthzIoService','COMPRESS_MUTATION_SEND','sessionStatus','isPermissionRej','getGlobalObject','_transformSelections','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','title','_retryCount','SheetTransformSelectionsService','pluginName','serializeCombRequest','WorkbookEditablePermission','workbook','JOIN','capture','HEARTBEAT','/universer-api/snapshot/','objectID','disposeWithMe','_onRemoteRejected','[SyncedState]:\x20received\x20rejection.','duration','_startTelemetryCollaborationNewChangeset','session','_members$','deepClone','processBlock','appendMutation','getConfig','setShowComponents','parseProtocolChangeset','CollaborativeUndoRedoService','/allowed','_getLoginPath','Encryptor','sessionStatus$','awaitingChangeset','\x0aAfter:\x20','_sheetTransformSelectionsService','_removeRoom','_lockTransition','confirm','$super','_submitChangeset','UnitSnapshot','_remoteChangesetQueue','kdf','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/authz','JOIN_ROOM_NOT_EXISTS','SetSelectionsOperation','UNIVER_PROJECT','12wFNvhr','CollaborationSession','getTypeOfUnitDisposed$','length','copyFileMeta','DataLoaderService','LIVESHARE_REQUEST_HOST','revision','CONFLICT','collaborators','offline','_getAPIPrefixPath','[PendingState]:\x20received\x20rejection.','disableLocalCache','forEach','Module','includes','SheetPermissionInitController','FetchingMissState','_univerInstanceService','_queuedRemoteChangesets','signUrlServerUrl','LOGIN_URL_KEY','CollaborationController','NEW_CHANGESETS','univer-pro.collaboration-client.network-condition.service','concat','reqId','_updateState','collaMsg','CollaborationImageIoService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','session.room-not-exists','event$','Inject','rev','requestParams','getCollabEntity','UNKNOWN_CMD','\x20to\x20','error','&assign=','_entityInit$','CHANGESET_SHOULD_RETRY','SheetCollaborationEntity','_sessionStatus$','status','from','fromCollab','_config','ISingleActiveUnitService','values','sheets','closeSession','_onRemoteChangeset','AWAITING','YUUMI_RATE_OVER_LIMIT','LOCAL_CACHE_INTERVAL','[DataLoaderService]','isArray','_getDownloadEndpointURL','authzUrl','_instanceService','[CollaborationEntity]','send','_getUndoStack','_nRounds','_state$','image/bmp','_collaborationPaused','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_DEC_XFORM_MODE','sigBytes','_onOffline','onTransformRemoteChangesetByStateCache','transformMutationsWithChangeset','toDisposable','registerDependencies','_parse','randomBytes','INTERNAL_ERROR','fromCharCode','encryptBlock','saveChangeset','objectActions','_mode','Pkcs7','c1Prime','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','SEND_CHANGESET_TIMEOUT_KEY','ITelemetryService','OFFLINE','_getSendChangesetTimeout','_sender','baseRev','randomUUID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNIVER_SLIDE','HmacMD5','UnitEmbedded','add','_waitCount','_transformRemoteChangesetByIMECache','AES','function','connection\x20error','CollaborationUIEventId','_roomCreated$','delay','SyncedState','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getSheetBlock','_ENC_XFORM_MODE','\x20-\x20','format','_doCreateSocket','m2Prime','IPermissionService','list','@univerjs/docs','CHANGESET_REJ','resourceIDs','UnitStatus','_transitionLocked','crypto','getLocalCacheKey','_disableEditing','USERS_LEAVE','Malformed\x20UTF-8\x20data','reduce','getValue','pauseCollaboration','complete','CommentService','_type','COMPRESS_MUTATION_APPLY','_onLocalMutation','[OfflineState]:\x20received\x20changeset.','code','_onUserJoin','_xformMode','getUnitStatus$','getTime','DEFAULT_COLLAB_WEB_SOCKET_URL','x-univer-host','ISnapshotServerService','onMissedChangesetFetched','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','EvpKDF','pending','FileId','csShouldRetryEvent','session.room-permission-denied','_fetchMissChangesets','_collaborationUIEventService','call','clone','_transformService','[SyncedState]:\x20received\x20acknowledgement.','dispose','BlockCipher','_onCombEvent','saveSheetBlock','SNAPSHOT_HAS_BEEN_REMOVED','OpenSSL','catch','/universer-api/user/session-ticket','getMember','OTHER_CLIENTS_EDITING','loadOfflineData','b64DecodeUnicode','_transformStack','transformStack\x20failed!','/universer-api/uniscript','getUnitOnRev','listCollaborators','_getRedoStack','rxjs/operators','subject','onMissingChangesets','onRemoteRej','_invKeySchedule','saveImage','_sendHeartbeat','NoPadding','toggleOnline','AwaitingWithPendingState','requireSession','synced','_prevBlock','patch','COLLAB_WEB_SOCKET_URL','onStateChange','deleteCollaborator','encode','dispose$','_createSocket','addImageSourceCache','RxDisposable','JSONX','UniverNetworkPlugin','image/jpeg','shouldCloseConn','result','_undoRedoService','HTTPService','decrypt','__creator','liveShareNewHost','max','_initCloseConn','OfflineState','image/gif','startTime','ceil','href','JOIN_ROOM_FULL','_exhaustRemoteChangesetQueue','_clearLocalCache','MD5','getCollabEntity$','IImageIoService','update','msCrypto','_telemetryInfo','_applyRemoteChangeset','_changesetReqId','/object/','Hex','blockSize','_registerDependencies','selections','onRemoteChangeset','SNAPSHOT_URL_KEY','_map','Decryptor','getCurrentRevOfUnit','getSheetId','createEncryptor','isInternalEditorID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_DUPLICATED','/unit/','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','RETRY_CONNECTING_MAX_COUNT_KEY','_socketReady','PY_RUNTIME_SCRIPT_ERROR','UNIVER_UNKNOWN','infoRsp','encrypt','_cipher','_append','reset','_resendTimeout','_sendingTimer','428001UUyUwv','_memberService','cfg','LEAVE','BufferedBlockAlgorithm','HEARTBEAT_TIMEOUT','getMemberID','MentionIoHttpService','key','IUndoRedoService','SOCKET_FAILED_RETRY','_state','commentUpdateEvent','RECV','onTransformState','min','AwaitingState','permissionRejEvent','SYNCED','_candidateSocket','params','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRecvEvent','toString','_commandService','setWaitCount','updatePermissionObjEvent','createDecryptor','_permissionService','fetch_missing','isTransformMutationsWithChangesetSuccess','_doProcessBlock','FETCH_MISSING','/collaborator','MUTATION','_resendWithTimeout','unitId\x20is\x20not\x20found','members','SHA1','repeat','_transformUndoredo','_doFinalize','1743385HpcESn','CBC','ICollaborationSocketService','Plugin','_getCtorByUniverType','conflict','LIVESHARE_FETCH_OPERATIONS','_handler','_syncEditingCollabCursor','ITransformService','Utf8','loadUnit','/resources','hasOwnProperty','Hasher','_httpService','onRemoteAck','actions','onload','_getCurrentRevision','ERROR_IMAGE','stringify','[FetchMissState]','/rev/','_socketService','snapshotServerUrl','SOCKET_FAILED','UNAUTHENTICATED','clamp','EXCHANGE_SIGN_URL_SERVER_URL_KEY','collaboration-client.config','_eventService','getCurrentUser','readyForCollab','_iv','INGEST','LocalUndoRedoService','execute','ICommandService','UserManagerService','{fileID}','localCacheService','unit-cache-','ConflictState','ONLINE','_HTTPService','mode','byteOffset','default','CollaborationEntity','compute','_unlockTransition','action','_transformIMECache','socketService','COMPLETION_FINISHED','eventID','message$','getInterceptPoints','reverse','saveSnapshot','@univerjs-pro/collaboration','toLowerCase','_hash','generateRandomId','fetchThroughInterceptors','Cipher','SEND_CHANGESET_TIMEOUT','onSendChangeset','WordArray','JOINING','mapDocumentTypeToUniverType','createIdentifier','NOT_FOUND','post','resolve','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','size','bind','/-/object/-/batch_allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_changesetSessionId','PasswordBasedCipher','_clearScheduledTask','UNIVER_SHEET','_stopTelemetryCollaborationNewChangeset','_localeService','YUUMI_UNABLE_LOAD_URL','padding','session.room-full','UNKNOWN_CODE','/new_changes','_key','_rescheduleHeartbeat','CompressMutationService','create','onTransformIME','_onFetchMissResult','onTransformRemoteChangesetByIMECache','url','batchAllowed','random','Optional','?size=','@univerjs/network','getImage','IUniverInstanceService','ImageSourceType','_sessions','UPDATE_PERMISSION_OBJ','getOwnPropertyDescriptor','failed\x20to\x20apply\x20missed\x20changesets!','set','append','/universer-api/oidc/authpage','loadDoc','HTTPRequest','isTransformMutationsWithChangesetFailure','substr','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','body','LIVESHARE_OPERATION','PERSON','@univerjs/core','createCollaborator','type','getActiveSheet','COLLAB_SUBMIT_CHANGESET_URL_KEY','[PendingState]:\x20received\x20acknowledgement.','findIndex','_clearTimeoutTimer','\x0aCurrent:\x20','enc','COLLAB_SUBMIT_CHANGESET_URL','_doCryptBlock','initWorkbookPermissionChange','pad','ERROR_IMAGE_TYPE','ImageUploadStatusType','_startCollaboration','SerializableCipher','removeMember','getFocusedUnit','_reverseMap','APPLY_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','get','getTypeOfUnitAdded$','_unitID','hasher','_collaborationTimeoutTimer','joinEvent','UNIVER_DOC','csRejEvent','leaveEvent','_event$','_localCacheService','_entities','?url=','close$','CommandType','floor','IMentionIOService','_createHmacHelper','finalize','FETCH_MISS','entries','_roomMembers','PERMISSION_DENIED','/object','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','replace','Base64','APPLY_REJECT','PSEUDO_FETCH_MISSING_RESULT','UNISCRIPT_RUN','shareReplay','mutations','UNRECOGNIZED','onRemoteRetry','_transformStateCache','PendingState','uniscriptRunEvent','BlockCipherMode','CollaborationEvent','JOIN_ROOM_FAILED','createSocket','memberID','_substituteUndoStack','/block/','socket\x20close','data','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','iterations','resend','transformUndoRedo','getLatestCsReqIdBySid','onTransformSelections','CollaborationSessionService','charAt','_checkMissing','__esModule','AWAITING_WITH_PENDING','takeUntil','loadSheet','_onMessage','_commentService','_listenToNetworkCondition','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','merge','Latin1','firstValueFrom','_status$','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','_onConflict','words','_showConflictNotification','status$','CLOSE_ROOM','routeKey','_timeoutTimer','MentionType','rng','/universer-api/comb','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetching\x20missing\x20changesets\x20from\x20','CHANGESET_ACK','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','updateCollaborator','_hasher','_loadSheet','onCommentUpdate','ivSize','_createHelper','AuthzIoHttpService','_collaborationSessionService','UniverInstanceType','[CollaborationUndoRedoService]','SHOULD_CLOSE_CONN','_clearHeartbeatTimer','univer-pro.collaboration-client-socket-service','_keySchedule','mixIn','BASE64','IDLE','localeService','_getAPIPrefix','_updateStatus','SheetsSelectionsService','[OfflineState]:\x20received\x20rejection.','_init','reject','updatePermissionPoint','_pendingMutations','INVALID_ARGUMENT','updateMember','_imageSourceCache','998606ytKdcR','_socket$','unsubscribe','filter','asObservable','5034990QspMdA','updateOfflineData','_onConnectionFailed','keySize','parse','UniverCollaborationClientPlugin','CollaborationUIEventService','APPLY_NON_SEQUENTIAL_REVISION','updateCursorEvent','ciphertext','_socket','mergeOverrideWithDependencies','registerHTTPInterceptor','getCurrentSelections','LICENSE_EXPORT_SIZE_EXCEEDED','COMMENT_UPDATE','POST','@univerjs/sheets','push','pipe','OTHER_CLIENT_EDITING','RevisionService','headers','ILogService','_toggleOnline','_tryEnsureSocket','_onConnectionOpen','People','exports','getRoom','MemberService','change$','setCurrentUser','target','JOIN_ROOM_PERMISSION_DENIED','USERS_ENTER','refreshPermission','socket\x20open.'];_0x352e=function(){return _0x15c6d6;};return _0x352e();}var An=Object[_0x491a6f(0x316)],wn=(_0x21e7d4,_0x490321,_0x2e66f2,_0xca8c25)=>{var _0x36b2a0=_0x491a6f;for(var _0x31e06d=_0xca8c25>0x1?void 0x0:_0xca8c25?An(_0x490321,_0x2e66f2):_0x490321,_0x374a2d=_0x21e7d4[_0x36b2a0(0x182)]-0x1,_0x1b2fe3;_0x374a2d>=0x0;_0x374a2d--)(_0x1b2fe3=_0x21e7d4[_0x374a2d])&&(_0x31e06d=_0x1b2fe3(_0x31e06d)||_0x31e06d);return _0x31e06d;},de=(_0x417b54,_0x2d4cff)=>(_0x3d9bea,_0x15c5c1)=>_0x2d4cff(_0x3d9bea,_0x15c5c1,_0x417b54);exports[_0x491a6f(0x16a)]=class extends a[_0x491a6f(0x2cc)]{constructor(_0x2b9e60,_0x4cb8ea,_0x21942d,_0x28a8f3,_0x18dce5){var _0x118eab=_0x491a6f;super(_0x2b9e60,_0x4cb8ea,_0x21942d),this[_0x118eab(0x21c)]=_0x28a8f3,this[_0x118eab(0x403)]=_0x18dce5;}[_0x491a6f(0x36c)](_0x1afba1,_0x143d8f){var _0x256e63=_0x491a6f;const _0x3d5b2c=this[_0x256e63(0x1c0)](_0x1afba1);if(_0x3d5b2c)try{const _0x3aa6f=this[_0x256e63(0x22a)](_0x3d5b2c,_0x143d8f);this['_substituteUndoStack'](_0x1afba1,_0x3aa6f);}catch(_0x393d9d){this[_0x256e63(0x403)][_0x256e63(0x1a7)](_0x256e63(0x398),_0x393d9d),this[_0x256e63(0x491)](_0x1afba1);}const _0x1919db=this[_0x256e63(0x22f)](_0x1afba1);if(_0x1919db)try{const _0x43a346=this[_0x256e63(0x22a)](_0x1919db,_0x143d8f);this[_0x256e63(0x450)](_0x1afba1,_0x43a346);}catch(_0x593f5b){this[_0x256e63(0x403)]['error'](_0x593f5b),this[_0x256e63(0x3e4)](_0x1afba1);}}[_0x491a6f(0x491)](_0x1b3e17){var _0x4f8cb5=_0x491a6f;const _0x4b205=this[_0x4f8cb5(0x1c0)](_0x1b3e17);_0x4b205&&(_0x4b205[_0x4f8cb5(0x182)]=0x0,this['_updateStatus']());}[_0x491a6f(0x3e4)](_0x3cc9a8){var _0x530236=_0x491a6f;const _0x3eccfe=this[_0x530236(0x22f)](_0x3cc9a8);_0x3eccfe&&(_0x3eccfe[_0x530236(0x182)]=0x0,this[_0x530236(0x3a2)]());}[_0x491a6f(0x365)](_0x2bcb4f,_0x1ef031){var _0x10fe37=_0x491a6f;this[_0x10fe37(0x444)][_0x10fe37(0x318)](_0x2bcb4f,_0x1ef031),this['_updateStatus']();}[_0x491a6f(0x450)](_0x3aea88,_0x560c3c){var _0x5a4307=_0x491a6f;this['_redoStacks']['set'](_0x3aea88,_0x560c3c),this[_0x5a4307(0x3a2)]();}[_0x491a6f(0x22a)](_0x57c0c4,_0x593feb){var _0x5a71d9=_0x491a6f;const _0x47e445=[];let _0x384c00=_0x593feb,_0x450376=_0x593feb;for(let _0x120d82=_0x57c0c4[_0x5a71d9(0x182)]-0x1;_0x120d82>=0x0;_0x120d82--){const {unitID:_0x30a216,undoMutations:_0x21142f,redoMutations:_0xc12e00}=_0x57c0c4[_0x120d82],_0x1bc515=this[_0x5a71d9(0x21c)][_0x5a71d9(0x1ca)](_0x384c00,_0x21142f),_0x12c2b4=this[_0x5a71d9(0x21c)][_0x5a71d9(0x1ca)](_0x450376,_0xc12e00);if(g[_0x5a71d9(0x31d)](_0x1bc515)||g[_0x5a71d9(0x31d)](_0x12c2b4)){this['_logService'][_0x5a71d9(0x1a7)]('[CollaborationUndoRedoService]',_0x5a71d9(0x22b),_0x1bc515,_0x12c2b4);break;}_0x384c00=_0x1bc515['c1Prime'],_0x450376=_0x12c2b4[_0x5a71d9(0x1d6)],_0x47e445[_0x5a71d9(0x3c3)]({'unitID':_0x30a216,'undoMutations':_0x1bc515[_0x5a71d9(0x1f3)],'redoMutations':_0x12c2b4['m2Prime']});}return _0x47e445[_0x5a71d9(0x2e3)]();}},exports[_0x491a6f(0x16a)]=wn([de(0x0,a[_0x491a6f(0x312)]),de(0x1,a[_0x491a6f(0x2ce)]),de(0x2,a[_0x491a6f(0x142)]),de(0x3,g['ITransformService']),de(0x4,a[_0x491a6f(0x3c8)])],exports[_0x491a6f(0x16a)]);var Ln=Object[_0x491a6f(0x41a)],Mn=Object[_0x491a6f(0x316)],xn=(_0x45d4cb,_0x48bc3d,_0x43c1ec)=>_0x48bc3d in _0x45d4cb?Ln(_0x45d4cb,_0x48bc3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c1ec}):_0x45d4cb[_0x48bc3d]=_0x43c1ec,kn=(_0x36011c,_0x4b31b1,_0x86d47f,_0x42b942)=>{var _0x11bfc2=_0x491a6f;for(var _0x5545aa=_0x42b942>0x1?void 0x0:_0x42b942?Mn(_0x4b31b1,_0x86d47f):_0x4b31b1,_0x2c0131=_0x36011c[_0x11bfc2(0x182)]-0x1,_0x11bc3e;_0x2c0131>=0x0;_0x2c0131--)(_0x11bc3e=_0x36011c[_0x2c0131])&&(_0x5545aa=_0x11bc3e(_0x5545aa)||_0x5545aa);return _0x5545aa;},ke=(_0x1ca8fd,_0x2f6d62)=>(_0x5d4e43,_0x47c8b9)=>_0x2f6d62(_0x5d4e43,_0x47c8b9,_0x1ca8fd),Hn=(_0x5a7680,_0x446cf0,_0x161976)=>xn(_0x5a7680,_0x446cf0+'',_0x161976);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x491a6f(0x3b6)]=class extends a[_0x491a6f(0x2ab)]{constructor(_0x330a64,_0x25a14b,_0x3e2a77,_0x1faead){var _0x1c51e7=_0x491a6f;super(),P(this,_0x1c51e7(0x1b0)),(this['_logService']=_0x25a14b,this['_injector']=_0x3e2a77,this[_0x1c51e7(0x13d)]=_0x1faead);const {..._0x11b755}=a[_0x1c51e7(0x37a)]({},Jt,_0x330a64);if(!_0x11b755[_0x1c51e7(0x2de)])throw new Error(_0x1c51e7(0x212));this[_0x1c51e7(0x1b0)]=_0x11b755,this[_0x1c51e7(0x13d)]['setConfig'](Y,_0x11b755);}['onStarting'](){var _0x3419cc=_0x491a6f;this[_0x3419cc(0x265)](),this['_initDependencies']();}['_registerDependencies'](){var _0x2f1123=_0x491a6f,_0x7ea95f,_0x243d25;this[_0x2f1123(0x488)][_0x2f1123(0x410)](a['IUndoRedoService'])&&this[_0x2f1123(0x403)][_0x2f1123(0x1a7)]('[UniverCollaborationClientPlugin]',_0x2f1123(0x19e));const _0x8b64e6=a[_0x2f1123(0x3bc)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2f1123(0x36f)]],[exports[_0x2f1123(0x3cf)]],[exports[_0x2f1123(0x153)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x2f1123(0x1b0)]['socketService']}],[g[_0x2f1123(0x210)],{'useClass':exports[_0x2f1123(0x482)]}],[a[_0x2f1123(0x149)],{'useClass':exports[_0x2f1123(0x395)]}],[J[_0x2f1123(0x25c)],{'useClass':exports[_0x2f1123(0x19d)]}],[a[_0x2f1123(0x34b)],{'useClass':exports[_0x2f1123(0x285)]}],[exports['CollaborationController']],[He]],(_0x7ea95f=this[_0x2f1123(0x1b0)])==null?void 0x0:_0x7ea95f[_0x2f1123(0x13c)]);if(!((_0x243d25=this['_config'])!=null&&_0x243d25['enableSingleActiveInstanceLock'])){const _0x3c7fc4=_0x8b64e6[_0x2f1123(0x329)](([_0x3e28a2])=>_0x3e28a2===ve);_0x3c7fc4!==-0x1&&_0x8b64e6['splice'](_0x3c7fc4,0x1);}a[_0x2f1123(0x1cc)](this[_0x2f1123(0x488)],_0x8b64e6);}['_initDependencies'](){var _0x3d7c58=_0x491a6f,_0x5276a1,_0x19b0b6,_0x1e60ed;this[_0x3d7c58(0x488)][_0x3d7c58(0x33b)](q[_0x3d7c58(0x24c)])[_0x3d7c58(0x3bd)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5276a1=this[_0x3d7c58(0x1b0)])!=null&&_0x5276a1[_0x3d7c58(0x484)]||(_0x19b0b6=this[_0x3d7c58(0x488)][_0x3d7c58(0x33b)](z,a['Quantity'][_0x3d7c58(0x449)]))==null||_0x19b0b6[_0x3d7c58(0x18c)](),(_0x1e60ed=this[_0x3d7c58(0x1b0)])!=null&&_0x1e60ed['enableAuthServer']&&a[_0x3d7c58(0x474)](this['_injector'],[[Oe]]),a[_0x3d7c58(0x474)](this['_injector'],[[Ne],[exports[_0x3d7c58(0x196)]],[De]]);}},Hn(exports[_0x491a6f(0x3b6)],_0x491a6f(0x154),jn),exports[_0x491a6f(0x3b6)]=kn([a['DependentOn'](g['UniverCollaborationPlugin'],q[_0x491a6f(0x247)]),ke(0x1,a[_0x491a6f(0x3c8)]),ke(0x2,a[_0x491a6f(0x1a1)](a[_0x491a6f(0x400)])),ke(0x3,a['IConfigService'])],exports[_0x491a6f(0x3b6)]),exports[_0x491a6f(0x412)]=Ve,exports[_0x491a6f(0x1ed)]=Y,exports[_0x491a6f(0x327)]=It,exports[_0x491a6f(0x41b)]=St,exports[_0x491a6f(0x3e3)]=We,exports[_0x491a6f(0x1e9)]=Q,exports[_0x491a6f(0x3b7)]=te,exports[_0x491a6f(0x204)]=Be,exports[_0x491a6f(0x20e)]=ft,exports[_0x491a6f(0x353)]=zt,exports[_0x491a6f(0x43d)]=$t,exports[_0x491a6f(0x11a)]=pt,exports[_0x491a6f(0x45f)]=je,exports[_0x491a6f(0x2aa)]=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0x491a6f(0x1b1)]=ve,exports[_0x491a6f(0x1b8)]=Vt,exports[_0x491a6f(0x339)]=Gt,exports[_0x491a6f(0x195)]=Et,exports[_0x491a6f(0x457)]=qt,exports[_0x491a6f(0x273)]=mt,exports[_0x491a6f(0x1d8)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x491a6f(0x268)]=vt,exports['SessionStatus']=se,exports[_0x491a6f(0x1f9)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x491a6f(0x1fc)]=vi,exports[_0x491a6f(0x155)]=yt;
|