@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-nightly.202411091605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.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/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/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/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/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 +16 -16
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x4a9685=_0x5f2c;(function(_0x5f360c,_0x2dd306){const _0x2d77c2=_0x5f2c,_0xfe0c38=_0x5f360c();while(!![]){try{const _0x5d4038=parseInt(_0x2d77c2(0x1f7))/0x1+-parseInt(_0x2d77c2(0x1fb))/0x2*(-parseInt(_0x2d77c2(0x4e6))/0x3)+-parseInt(_0x2d77c2(0x44f))/0x4+parseInt(_0x2d77c2(0x4e5))/0x5+parseInt(_0x2d77c2(0x3b6))/0x6+-parseInt(_0x2d77c2(0x3ea))/0x7+parseInt(_0x2d77c2(0x4b1))/0x8*(-parseInt(_0x2d77c2(0x1d5))/0x9);if(_0x5d4038===_0x2dd306)break;else _0xfe0c38['push'](_0xfe0c38['shift']());}catch(_0xc7f311){_0xfe0c38['push'](_0xfe0c38['shift']());}}}(_0x2b0a,0xe46fc));var Ln=Object[_0x4a9685(0x377)],xn=(_0x45e995,_0x1471b2,_0x46dff5)=>_0x1471b2 in _0x45e995?Ln(_0x45e995,_0x1471b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46dff5}):_0x45e995[_0x1471b2]=_0x46dff5,I=(_0x3aaf61,_0x3c30c4,_0x567403)=>xn(_0x3aaf61,typeof _0x3c30c4!=_0x4a9685(0x184)?_0x3c30c4+'':_0x3c30c4,_0x567403);Object[_0x4a9685(0x377)](exports,Symbol[_0x4a9685(0x59a)],{'value':_0x4a9685(0x3b8)});const a=require(_0x4a9685(0x1a5)),A=require(_0x4a9685(0x384)),V=require(_0x4a9685(0x54f)),ge=require(_0x4a9685(0x369)),ee=require('@univerjs/ui'),Z=require(_0x4a9685(0x5bb)),S=require(_0x4a9685(0x48d)),jn=require(_0x4a9685(0x1da)),J=require(_0x4a9685(0x3c0)),k=require(_0x4a9685(0x539)),K=require(_0x4a9685(0x46d)),ye=require(_0x4a9685(0x351)),ne=require(_0x4a9685(0x16c)),Pt=require('@univerjs/engine-formula'),Re=require('@univerjs/sheets-ui'),ae=require(_0x4a9685(0x258)),$n=require(_0x4a9685(0x29d)),Zt='SNAPSHOT_SERVER_URL_KEY',Hn=_0x4a9685(0x152),Qt=_0x4a9685(0x442),Bn=_0x4a9685(0x49b),kn=0x7d0,en=_0x4a9685(0x1e8),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn=_0x4a9685(0x488),Fn=0x7530,Ct=_0x4a9685(0x56c),nn=0x4e20,Vn=0x4e20,sn=_0x4a9685(0x191),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x4a9685(0x1a8),Kn=_0x4a9685(0x265),an=_0x4a9685(0x49e),qn=_0x4a9685(0x53d);var cn=(_0x14f6b8=>(_0x14f6b8[_0x14f6b8[_0x4a9685(0x268)]=0x0]=_0x4a9685(0x268),_0x14f6b8[_0x14f6b8['OK']=0x1]='OK',_0x14f6b8[_0x14f6b8['INTERNAL_ERROR']=0x2]=_0x4a9685(0x243),_0x14f6b8[_0x14f6b8['PERMISSION_DENIED']=0x3]=_0x4a9685(0x178),_0x14f6b8[_0x14f6b8[_0x4a9685(0x584)]=0x4]=_0x4a9685(0x584),_0x14f6b8[_0x14f6b8[_0x4a9685(0x43c)]=0x5]=_0x4a9685(0x43c),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2b0)]=0x6]=_0x4a9685(0x2b0),_0x14f6b8[_0x14f6b8[_0x4a9685(0x42c)]=0x7]=_0x4a9685(0x42c),_0x14f6b8[_0x14f6b8[_0x4a9685(0x44e)]=0x8]=_0x4a9685(0x44e),_0x14f6b8[_0x14f6b8[_0x4a9685(0x4ac)]=0x9]=_0x4a9685(0x4ac),_0x14f6b8[_0x14f6b8[_0x4a9685(0x21a)]=0x1389]=_0x4a9685(0x21a),_0x14f6b8[_0x14f6b8[_0x4a9685(0x52b)]=0x1771]=_0x4a9685(0x52b),_0x14f6b8[_0x14f6b8[_0x4a9685(0x3a9)]=0x1772]=_0x4a9685(0x3a9),_0x14f6b8[_0x14f6b8[_0x4a9685(0x517)]=0x1773]=_0x4a9685(0x517),_0x14f6b8[_0x14f6b8['APPLY_REJECT']=0x1b59]=_0x4a9685(0x373),_0x14f6b8[_0x14f6b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a9685(0x38d),_0x14f6b8[_0x14f6b8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a9685(0x30e),_0x14f6b8[_0x14f6b8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4a9685(0x16b),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2c8)]=0x1b5d]=_0x4a9685(0x2c8),_0x14f6b8[_0x14f6b8[_0x4a9685(0x511)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x14f6b8[_0x14f6b8[_0x4a9685(0x1f2)]=0x2329]=_0x4a9685(0x1f2),_0x14f6b8[_0x14f6b8[_0x4a9685(0x1bb)]=0x232a]=_0x4a9685(0x1bb),_0x14f6b8[_0x14f6b8[_0x4a9685(0x535)]=0x232b]=_0x4a9685(0x535),_0x14f6b8[_0x14f6b8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a9685(0x547),_0x14f6b8[_0x14f6b8[_0x4a9685(0x5ad)]=0x232d]=_0x4a9685(0x5ad),_0x14f6b8[_0x14f6b8[_0x4a9685(0x447)]=0x2711]=_0x4a9685(0x447),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2fd)]=0x2712]=_0x4a9685(0x2fd),_0x14f6b8[_0x14f6b8[_0x4a9685(0x227)]=0x2713]=_0x4a9685(0x227),_0x14f6b8[_0x14f6b8[_0x4a9685(0x567)]=0x2714]=_0x4a9685(0x567),_0x14f6b8[_0x14f6b8['UNRECOGNIZED']=-0x1]=_0x4a9685(0x4be),_0x14f6b8))(cn||{}),ie=(_0x401808=>(_0x401808[_0x401808['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x401808[_0x401808[_0x4a9685(0x22a)]=0x1]=_0x4a9685(0x22a),_0x401808[_0x401808[_0x4a9685(0x1af)]=0x2]=_0x4a9685(0x1af),_0x401808[_0x401808['UNIVER_SLIDE']=0x3]=_0x4a9685(0x518),_0x401808[_0x401808[_0x4a9685(0x433)]=0x4]=_0x4a9685(0x433),_0x401808[_0x401808[_0x4a9685(0x4be)]=-0x1]='UNRECOGNIZED',_0x401808))(ie||{}),G=(_0x5a2263=>(_0x5a2263[_0x5a2263[_0x4a9685(0x41d)]=0x0]=_0x4a9685(0x41d),_0x5a2263[_0x5a2263[_0x4a9685(0x3f5)]=0x1]=_0x4a9685(0x3f5),_0x5a2263[_0x5a2263[_0x4a9685(0x1d3)]=0x2]=_0x4a9685(0x1d3),_0x5a2263[_0x5a2263[_0x4a9685(0x5c2)]=0x3]=_0x4a9685(0x5c2),_0x5a2263[_0x5a2263['INGEST']=0x4]=_0x4a9685(0x3a1),_0x5a2263[_0x5a2263['HEARTBEAT']=0x5]='HEARTBEAT',_0x5a2263[_0x5a2263['RECV']=0x6]=_0x4a9685(0x52e),_0x5a2263[_0x5a2263[_0x4a9685(0x4be)]=-0x1]=_0x4a9685(0x4be),_0x5a2263))(G||{}),Et=(_0x201fc0=>(_0x201fc0[_0x201fc0[_0x4a9685(0x57d)]=0x0]=_0x4a9685(0x57d),_0x201fc0[_0x201fc0['OK']=0x1]='OK',_0x201fc0[_0x201fc0[_0x4a9685(0x5d6)]=0x2]='FAIL',_0x201fc0[_0x201fc0[_0x4a9685(0x4be)]=-0x1]=_0x4a9685(0x4be),_0x201fc0))(Et||{}),ln=(_0x2b63df=>(_0x2b63df[_0x2b63df[_0x4a9685(0x417)]=0x0]='Undefined',_0x2b63df[_0x2b63df[_0x4a9685(0x34c)]=0x1]=_0x4a9685(0x34c),_0x2b63df[_0x2b63df[_0x4a9685(0x4d2)]=0x2]=_0x4a9685(0x4d2),_0x2b63df[_0x2b63df['UnitEmbedded']=0x3]=_0x4a9685(0x3d4),_0x2b63df[_0x2b63df[_0x4a9685(0x1f3)]=0x4]=_0x4a9685(0x1f3),_0x2b63df[_0x2b63df[_0x4a9685(0x4be)]=-0x1]='UNRECOGNIZED',_0x2b63df))(ln||{});const te=_0x4a9685(0x322),zn={};function hn(_0x5d4e9a){const _0x44fe0d=_0x4a9685;var _0x1bb251,_0x77d156,_0x5640ef,_0x18756f,_0x33f382;const _0x2043eb=_0x5d4e9a[_0x44fe0d(0x18f)],_0x548b6f=JSON[_0x44fe0d(0x2af)](_0x2043eb);switch(_0x548b6f['cmd']){case G['HEARTBEAT']:case G[_0x44fe0d(0x3f5)]:{const _0x54fa60=_0x548b6f[_0x44fe0d(0x183)];return{..._0x548b6f,'data':_0x54fa60,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};}case G[_0x44fe0d(0x1d3)]:{const _0x27bfb5=_0x548b6f['joinRsp'];return{..._0x548b6f,'data':_0x27bfb5,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};}case G[_0x44fe0d(0x52e)]:{const _0x3cb4be=_0x548b6f[_0x44fe0d(0x5a5)];switch(_0x3cb4be['eventID']){case S[_0x44fe0d(0x35a)][_0x44fe0d(0x5d2)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x1bb251=_0x3cb4be['permissionRejEvent'])==null?void 0x0:_0x1bb251['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x272)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x77d156=_0x3cb4be['csAckEvent'])==null?void 0x0:_0x77d156['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x27c)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x5640ef=_0x3cb4be[_0x44fe0d(0x580)])==null?void 0x0:_0x5640ef['cs']},'cmd':_0x548b6f['cmd']};case S['CollaborationEvent']['CHANGESET_REJ']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x18756f=_0x3cb4be['csRejEvent'])==null?void 0x0:_0x18756f['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['CHANGESET_SHOULD_RETRY']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x33f382=_0x3cb4be[_0x44fe0d(0x5e0)])==null?void 0x0:_0x33f382['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x49a)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x5d9)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x1ec)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be['joinEvent']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['USERS_LEAVE']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x53f)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x1c9)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4b3)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['LIVESHARE_FETCH_OPERATIONS']:case S[_0x44fe0d(0x35a)][_0x44fe0d(0x25d)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x474)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x283)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4b3)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x42e)]:return{..._0x548b6f,'data':_0x3cb4be,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['COMMENT_UPDATE']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x425)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S['CollaborationEvent'][_0x44fe0d(0x347)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x285)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x42b)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4d0)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};default:return _0x548b6f;}}default:return _0x548b6f;}}function _n(_0x29ba33){const _0x307618=_0x4a9685;switch(_0x29ba33[_0x307618(0x5a3)]){case G[_0x307618(0x427)]:case G['HELLO']:return JSON[_0x307618(0x2d1)]({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)]});case G['INGEST']:{let _0x594013;switch(_0x29ba33['data'][_0x307618(0x3af)]){case S[_0x307618(0x35a)]['UPDATE_CURSOR']:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x49a)],'updateCursorEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x5c3)]:{_0x594013={'eventID':S['CollaborationEvent'][_0x307618(0x5c3)],'leaveEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x1ec)]:{_0x594013={'eventID':S[_0x307618(0x35a)]['USERS_ENTER'],'joinEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S['CollaborationEvent'][_0x307618(0x1c9)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x1c9)],'liveShareNewHost':_0x29ba33['data'][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x25d)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x25d)],'liveShareOperation':_0x29ba33[_0x307618(0x18f)]['data']};break;}case S[_0x307618(0x35a)]['LIVESHARE_TERMINATE']:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x283)],'liveShareTerminate':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S['CollaborationEvent'][_0x307618(0x32a)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x32a)],'liveShareRequestHost':_0x29ba33[_0x307618(0x18f)]['data']};break;}case S[_0x307618(0x35a)][_0x307618(0x40d)]:{_0x594013={'eventID':S[_0x307618(0x35a)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x594013={'eventID':_0x29ba33['data']['eventID']};}return JSON['stringify']({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)],'collaMsg':_0x594013});}case G[_0x307618(0x1d3)]:return JSON[_0x307618(0x2d1)]({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33['routeKey'],'joinReq':_0x29ba33[_0x307618(0x18f)]});case G[_0x307618(0x5c2)]:return JSON['stringify']({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)],'leaveReq':_0x29ba33[_0x307618(0x18f)]});default:throw new Error(_0x307618(0x357));}}var Xn=Object[_0x4a9685(0x377)],Jn=Object[_0x4a9685(0x484)],Zn=(_0x1be594,_0x259c43,_0x1c13e3,_0x16ce22)=>{const _0x208297=_0x4a9685;for(var _0x9d7745=_0x16ce22>0x1?void 0x0:_0x16ce22?Jn(_0x259c43,_0x1c13e3):_0x259c43,_0x45033b=_0x1be594[_0x208297(0x530)]-0x1,_0x584ef3;_0x45033b>=0x0;_0x45033b--)(_0x584ef3=_0x1be594[_0x45033b])&&(_0x9d7745=(_0x16ce22?_0x584ef3(_0x259c43,_0x1c13e3,_0x9d7745):_0x584ef3(_0x9d7745))||_0x9d7745);return _0x16ce22&&_0x9d7745&&Xn(_0x259c43,_0x1c13e3,_0x9d7745),_0x9d7745;},we=(_0x3ebd51,_0x4115ee)=>(_0x136d2f,_0x538dc4)=>_0x4115ee(_0x136d2f,_0x538dc4,_0x3ebd51);const bt=a[_0x4a9685(0x1e3)](_0x4a9685(0x55f));function Qn(_0x20aba7,_0x4a42f7,_0x45f844){const _0x4531c1=_0x4a9685;return _0x20aba7+'/'+_0x4a42f7+_0x4531c1(0x33b)+_0x45f844+_0x4531c1(0x199);}exports[_0x4a9685(0x53c)]=class extends a[_0x4a9685(0x261)]{constructor(_0xecb7b,_0x1963c0,_0xfc0bb6,_0x2d7033,_0x1ee8cd){const _0xc8a667=_0x4a9685;super(),this[_0xc8a667(0x23d)]=_0xecb7b,this[_0xc8a667(0x3c1)]=_0x1963c0,this[_0xc8a667(0x294)]=_0xfc0bb6,this[_0xc8a667(0x480)]=_0x2d7033,this['_snapshotServerService']=_0x1ee8cd;}[_0x4a9685(0x332)](_0x19e762){const _0x70e249=_0x4a9685,_0x428da3=this['_ws'][_0x70e249(0x332)](_0x19e762);if(!_0x428da3)throw new Error(_0x70e249(0x1f6));const _0x5549f4=new a[(_0x70e249(0x4b2))](),_0x4fa8b8=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3['close$'][_0x70e249(0x419)](_0x617ecc=>_0x4fa8b8['next'](_0x617ecc))),_0x5549f4[_0x70e249(0x42a)](a['toDisposable'](()=>_0x4fa8b8[_0x70e249(0x2f7)]()));const _0x231723=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3[_0x70e249(0x37c)]['subscribe'](_0xb183ce=>_0x231723['next'](_0xb183ce))),_0x5549f4[_0x70e249(0x42a)](a[_0x70e249(0x4fd)](()=>_0x231723['complete']()));const _0x25253c=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3[_0x70e249(0x1cf)][_0x70e249(0x419)](_0x1cb8f7=>{const _0x3e40d3=hn(_0x1cb8f7);_0x25253c['next'](_0x3e40d3);})),_0x5549f4[_0x70e249(0x42a)](a['toDisposable'](()=>_0x25253c[_0x70e249(0x2f7)]()));let _0x230ad1;const _0x32e2a7=()=>{const _0x94e3ca=_0x70e249;_0x231723[_0x94e3ca(0x503)](new Event(_0x94e3ca(0x182))),_0x4fa8b8[_0x94e3ca(0x503)](new CloseEvent(_0x94e3ca(0x182))),_0x230ad1[_0x94e3ca(0x176)]();};return _0x230ad1={'memberID':'','close$':_0x4fa8b8['asObservable'](),'error$':_0x231723[_0x70e249(0x135)](),'open$':_0x428da3[_0x70e249(0x5d5)],'message$':_0x25253c[_0x70e249(0x135)](),'send':_0x6e4dc=>{const _0x267ebf=_0x70e249;if(_0x6e4dc[_0x267ebf(0x5a3)]===G[_0x267ebf(0x3a1)]){if(_0x6e4dc['data'][_0x267ebf(0x3af)]===S[_0x267ebf(0x35a)][_0x267ebf(0x5eb)]){this[_0x267ebf(0x26f)](_0x230ad1,_0x6e4dc['data'])['catch'](_0x3a00ff=>{const _0x4e2661=_0x267ebf;this[_0x4e2661(0x480)][_0x4e2661(0x3d8)](_0x3a00ff),_0x32e2a7();});return;}if(_0x6e4dc[_0x267ebf(0x18f)][_0x267ebf(0x3af)]===S[_0x267ebf(0x35a)][_0x267ebf(0x2b4)]){const _0x12c3a9=_0x6e4dc[_0x267ebf(0x18f)];this[_0x267ebf(0x4a4)](_0x12c3a9)['then'](_0x430cc1=>{const _0x5007b4=_0x267ebf;_0x25253c['next']({'cmd':G[_0x5007b4(0x52e)],'code':Et['OK'],'routeKey':_0x12c3a9['data'][_0x5007b4(0x197)],'routeType':'','data':{'eventID':S[_0x5007b4(0x35a)][_0x5007b4(0x47b)],'data':{'changesets':_0x430cc1}}});})[_0x267ebf(0x4f9)](_0x5c35fa=>{const _0x2adf3d=_0x267ebf;this[_0x2adf3d(0x480)][_0x2adf3d(0x3d8)](_0x5c35fa),_0x32e2a7();});return;}}_0x428da3[_0x267ebf(0x170)](_n(_0x6e4dc));},'close':()=>{const _0x5569d7=_0x70e249;_0x428da3[_0x5569d7(0x176)](),_0x5549f4[_0x5569d7(0x1d7)]();}},_0x230ad1;}async[_0x4a9685(0x26f)](_0x5d1567,_0x7df8b0){const _0x10b6df=_0x4a9685;var _0x4018b1,_0x151791;const {unitType:_0x6ed9ea,unitID:_0x263e72,changeset:_0x9f83c2}=_0x7df8b0[_0x10b6df(0x18f)],_0x154d36={'unitID':_0x263e72,'memberID':_0x5d1567[_0x10b6df(0x1e5)],'type':_0x6ed9ea,'changeset':S[_0x10b6df(0x424)](_0x9f83c2)},_0xc4d8ab=this['_configService'][_0x10b6df(0x4a1)](on),_0x4a4220=this[_0x10b6df(0x294)][_0x10b6df(0x4a1)](te),_0x3200dd=Qn((_0x151791=(_0x4018b1=_0x4a4220==null?void 0x0:_0x4a4220['collabSubmitChangesetUrl'])!=null?_0x4018b1:_0xc4d8ab)!=null?_0x151791:Kn,_0x6ed9ea,_0x263e72);try{await this[_0x10b6df(0x23d)][_0x10b6df(0x171)](_0x3200dd,{'body':_0x154d36});}catch(_0x1b7e84){throw this[_0x10b6df(0x480)][_0x10b6df(0x3d8)](_0x10b6df(0x404),_0x10b6df(0x165)),_0x1b7e84;}}async['_fetchMissChangesets'](_0x2dc864){const _0x2ae173=_0x4a9685,{unitID:_0x5b0ee0,from:_0x571f2a,to:_0x37849b,unitType:_0xb295d9}=_0x2dc864[_0x2ae173(0x18f)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5b0ee0,'type':_0xb295d9,'from':_0x571f2a,'to':_0x37849b}))[_0x2ae173(0x2c1)];}},exports[_0x4a9685(0x53c)]=Zn([we(0x0,a[_0x4a9685(0x27a)](Z['HTTPService'])),we(0x1,a[_0x4a9685(0x27a)](Z['WebSocketService'])),we(0x2,a[_0x4a9685(0x3fb)]),we(0x3,a[_0x4a9685(0x2e8)]),we(0x4,S[_0x4a9685(0x188)])],exports['CollaborationSocketService']);const ei='collaboration_new_changeset';function ti(_0x1f671c){const _0x34b9ac=_0x4a9685;return JSON[_0x34b9ac(0x2d1)](_0x1f671c)[_0x34b9ac(0x530)];}class Tt{constructor(){const _0x232f63=_0x4a9685;I(this,_0x232f63(0x262),new A['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x232f63(0x135)]());}[_0x4a9685(0x26e)](_0x444124){const _0x5c24c9=_0x4a9685;this['_commentUpdate$'][_0x5c24c9(0x503)](_0x444124);}}var ni=Object[_0x4a9685(0x377)],ii=Object[_0x4a9685(0x484)],si=(_0x50d48a,_0x36e93f,_0x7de9a9,_0x5dacec)=>{const _0x5969e0=_0x4a9685;for(var _0x13c0c7=_0x5dacec>0x1?void 0x0:_0x5dacec?ii(_0x36e93f,_0x7de9a9):_0x36e93f,_0x1eaf5b=_0x50d48a[_0x5969e0(0x530)]-0x1,_0x1d19a9;_0x1eaf5b>=0x0;_0x1eaf5b--)(_0x1d19a9=_0x50d48a[_0x1eaf5b])&&(_0x13c0c7=(_0x5dacec?_0x1d19a9(_0x36e93f,_0x7de9a9,_0x13c0c7):_0x1d19a9(_0x13c0c7))||_0x13c0c7);return _0x5dacec&&_0x13c0c7&&ni(_0x36e93f,_0x7de9a9,_0x13c0c7),_0x13c0c7;},Ut=(_0x6f5f68,_0x223f89)=>(_0x104f65,_0x5ac08e)=>_0x223f89(_0x104f65,_0x5ac08e,_0x6f5f68);exports[_0x4a9685(0x3e1)]=class extends a['Disposable']{constructor(_0x129b6b,_0x4ed26b){const _0x403638=_0x4a9685;super(),I(this,_0x403638(0x59c),new Map()),(this[_0x403638(0x54a)]=_0x129b6b,this[_0x403638(0x31f)]=_0x4ed26b,this['disposeWithMe'](a[_0x403638(0x4fd)](A[_0x403638(0x345)](this['_univerInstanceService'][_0x403638(0x388)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V[_0x403638(0x28a)](_0x3f753e=>_0x3f753e[_0x403638(0x56f)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x403638(0x33e)][_0x403638(0x22a)])[_0x403638(0x172)](V['map'](_0x42744c=>_0x42744c[_0x403638(0x56f)]())),this[_0x403638(0x54a)][_0x403638(0x388)](a[_0x403638(0x33e)]['UNIVER_SLIDE'])['pipe'](V[_0x403638(0x28a)](_0x24056b=>_0x24056b[_0x403638(0x56f)]())))[_0x403638(0x419)](_0x358881=>this[_0x403638(0x1cc)](_0x358881)))));}[_0x4a9685(0x14d)](_0x5e402f){const _0x4d834e=_0x4a9685;this[_0x4d834e(0x31f)][_0x4d834e(0x14d)](_0x5e402f);}[_0x4a9685(0x459)](){const _0x213715=_0x4a9685;return this[_0x213715(0x31f)][_0x213715(0x459)]();}['updateMember'](_0x348313,_0x3b3bf1){const _0x248f54=_0x4a9685;let _0x3710bf=this[_0x248f54(0x59c)]['get'](_0x348313);_0x3710bf||(_0x3710bf=new ri(),this[_0x248f54(0x59c)]['set'](_0x348313,_0x3710bf)),_0x3710bf['updateMember'](_0x3b3bf1);}['removeMember'](_0x255bd7,_0x182056){const _0x1ddfe9=_0x4a9685,_0x4a7aa9=this['_roomMembers'][_0x1ddfe9(0x542)](_0x255bd7);_0x4a7aa9&&_0x4a7aa9[_0x1ddfe9(0x1de)](_0x182056);}[_0x4a9685(0x1c2)](_0x35e715){const _0x4af77=_0x4a9685;return this['_roomMembers'][_0x4af77(0x542)](_0x35e715);}['getMember'](_0x15d990,_0x10d825){const _0x234c5c=_0x4a9685,_0x216696=this['_roomMembers'][_0x234c5c(0x542)](_0x15d990);if(_0x216696)return _0x216696[_0x234c5c(0x5a6)](_0x10d825);}['_removeRoom'](_0x19fe95){const _0x1603bd=_0x4a9685,_0x392016=this[_0x1603bd(0x59c)][_0x1603bd(0x542)](_0x19fe95);_0x392016&&(_0x392016['dispose'](),this[_0x1603bd(0x59c)][_0x1603bd(0x224)](_0x19fe95));}['dispose'](){const _0x200158=_0x4a9685;this[_0x200158(0x59c)][_0x200158(0x38f)](_0x317ed0=>_0x317ed0[_0x200158(0x1d7)]()),this[_0x200158(0x59c)]['clear']();}},exports['MemberService']=si([Ut(0x0,a[_0x4a9685(0x3c5)]),Ut(0x1,a[_0x4a9685(0x27a)](a['UserManagerService']))],exports[_0x4a9685(0x3e1)]);class ri extends a[_0x4a9685(0x261)]{constructor(){const _0x46fd7f=_0x4a9685;super(...arguments),I(this,_0x46fd7f(0x143),new Map());}[_0x4a9685(0x1d7)](){const _0x38eceb=_0x4a9685;this[_0x38eceb(0x143)][_0x38eceb(0x271)]();}[_0x4a9685(0x31e)](_0x43e870){const _0x14723a=_0x4a9685;this[_0x14723a(0x143)][_0x14723a(0x568)](_0x43e870['memberID'],_0x43e870);}[_0x4a9685(0x1de)](_0x332ce9){const _0x3e55f7=_0x4a9685;this[_0x3e55f7(0x143)][_0x3e55f7(0x224)](_0x332ce9);}[_0x4a9685(0x5a6)](_0x118388){const _0xabdc51=_0x4a9685;return this['_members'][_0xabdc51(0x542)](_0x118388);}[_0x4a9685(0x2c0)](){const _0x5225dc=_0x4a9685;return Array[_0x5225dc(0x239)](this[_0x5225dc(0x143)]['values']());}}var oi=Object[_0x4a9685(0x377)],ai=Object[_0x4a9685(0x484)],ci=(_0x39ac44,_0x563e19,_0x50ab2e,_0x34cdbe)=>{const _0x48bd85=_0x4a9685;for(var _0x1bf32f=_0x34cdbe>0x1?void 0x0:_0x34cdbe?ai(_0x563e19,_0x50ab2e):_0x563e19,_0x1f515e=_0x39ac44[_0x48bd85(0x530)]-0x1,_0x50b5f2;_0x1f515e>=0x0;_0x1f515e--)(_0x50b5f2=_0x39ac44[_0x1f515e])&&(_0x1bf32f=(_0x34cdbe?_0x50b5f2(_0x563e19,_0x50ab2e,_0x1bf32f):_0x50b5f2(_0x1bf32f))||_0x1bf32f);return _0x34cdbe&&_0x1bf32f&&oi(_0x563e19,_0x50ab2e,_0x1bf32f),_0x1bf32f;},de=(_0x240b38,_0x377456)=>(_0x4a948c,_0x5266f0)=>_0x377456(_0x4a948c,_0x5266f0,_0x240b38),se=(_0x23278c=>(_0x23278c[_0x23278c[_0x4a9685(0x3a0)]=0x0]=_0x4a9685(0x3a0),_0x23278c[_0x23278c['JOINING']=0x1]=_0x4a9685(0x543),_0x23278c[_0x23278c['OFFLINE']=0x2]=_0x4a9685(0x338),_0x23278c[_0x23278c[_0x4a9685(0x244)]=0x3]=_0x4a9685(0x244),_0x23278c))(se||{});exports[_0x4a9685(0x2d2)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x257ed3,_0xa5032a,_0x1cc9bd,_0x574612,_0x3759e2,_0xe42d43,_0x4dbefa,_0x1ccbc7,_0x27f264,_0x4f7639){const _0x4ac145=_0x4a9685;super(),I(this,_0x4ac145(0x138),new A[(_0x4ac145(0x563))](0x0)),I(this,_0x4ac145(0x44d),this[_0x4ac145(0x138)][_0x4ac145(0x135)]()),I(this,_0x4ac145(0x50b),new A[(_0x4ac145(0x4c3))]()),I(this,_0x4ac145(0x297),this[_0x4ac145(0x50b)][_0x4ac145(0x135)]()),I(this,_0x4ac145(0x2ef)),I(this,_0x4ac145(0x3df)),I(this,_0x4ac145(0x405)),I(this,_0x4ac145(0x5b5),!0x1),I(this,_0x4ac145(0x33f),null),(this[_0x4ac145(0x18a)]=_0x257ed3,this[_0x4ac145(0x480)]=_0x1cc9bd,this[_0x4ac145(0x5b8)]=_0x574612,this[_0x4ac145(0x3a7)]=_0x3759e2,this['_configService']=_0xe42d43,this['_localeService']=_0x4dbefa,this[_0x4ac145(0x1f9)]=_0x1ccbc7,this[_0x4ac145(0x346)]=_0x27f264,this[_0x4ac145(0x1d9)]=_0x4f7639,this[_0x4ac145(0x5b5)]=!!this[_0x4ac145(0x1d9)],_0xa5032a[_0x4ac145(0x172)](A[_0x4ac145(0x5e8)](this['dispose$']))['subscribe'](_0x1c0cb5=>{const _0x198fa6=_0x4ac145;var _0x33f8db;typeof _0x1c0cb5>'u'||(this[_0x198fa6(0x2ef)]=_0x1c0cb5,_0x1c0cb5?(this[_0x198fa6(0x260)](_0x1c0cb5),this['_socketMessageSubscription']=_0x1c0cb5[_0x198fa6(0x1cf)][_0x198fa6(0x419)](_0x208027=>{const _0x3b023b=_0x198fa6;_0x208027[_0x3b023b(0x4f2)]===this[_0x3b023b(0x18a)]&&this[_0x3b023b(0x59f)](_0x208027);})):(this[_0x198fa6(0x1b7)](),this['_sessionStatus$']['next'](0x2),(_0x33f8db=this['_socketMessageSubscription'])==null||_0x33f8db['unsubscribe'](),this[_0x198fa6(0x3df)]=null));}),this[_0x4ac145(0x3c7)](this[_0x4ac145(0x5b8)][_0x4ac145(0x281)](()=>{const _0x1c60df=_0x4ac145;var _0x2ee6a1;(_0x2ee6a1=this['_socket'])==null||_0x2ee6a1[_0x1c60df(0x170)]({'cmd':G[_0x1c60df(0x5c2)],'data':{'roomID':this[_0x1c60df(0x18a)]}});})));}get['sessionStatus'](){const _0x257c7c=_0x4a9685;return this[_0x257c7c(0x138)][_0x257c7c(0x1ae)]();}[_0x4a9685(0x204)](){const _0x3bd8bf=_0x4a9685;var _0x169532,_0x3691ab;return(_0x3691ab=(_0x169532=this['_socket'])==null?void 0x0:_0x169532[_0x3bd8bf(0x1e5)])!=null?_0x3691ab:null;}['dispose'](){const _0x534565=_0x4a9685;super[_0x534565(0x1d7)](),this[_0x534565(0x5c9)][_0x534565(0x503)](),this['dispose$']['complete']();}['close'](){const _0x25a19f=_0x4a9685;var _0x45a88a,_0xcddd46;this[_0x25a19f(0x1b7)](),(_0x45a88a=this[_0x25a19f(0x2ef)])==null||_0x45a88a[_0x25a19f(0x170)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x25a19f(0x18a)]}}),(_0xcddd46=this[_0x25a19f(0x2ef)])==null||_0xcddd46[_0x25a19f(0x176)](),this[_0x25a19f(0x50b)][_0x25a19f(0x2f7)](),this[_0x25a19f(0x138)][_0x25a19f(0x2f7)](),this[_0x25a19f(0x1d7)]();}[_0x4a9685(0x59f)](_0x461e28){const _0xca78b3=_0x4a9685;_0x461e28['cmd']===G[_0xca78b3(0x1d3)]?this[_0xca78b3(0x58c)](_0x461e28):_0x461e28[_0xca78b3(0x5a3)]===G[_0xca78b3(0x52e)]&&this[_0xca78b3(0x479)](_0x461e28);}[_0x4a9685(0x260)](_0x207b69){const _0x3363b4=_0x4a9685;this[_0x3363b4(0x138)][_0x3363b4(0x503)](0x1),_0x207b69[_0x3363b4(0x170)]({'cmd':G[_0x3363b4(0x1d3)],'routeKey':this[_0x3363b4(0x18a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3363b4(0x18a)]}]}});}['_onJoinRoomEvent'](_0x2010d8){const _0x509920=_0x4a9685;var _0x4739e1;if(_0x2010d8['code']===Et[_0x509920(0x5d6)]){this['_messageService'][_0x509920(0x36b)]({'type':ge['MessageType'][_0x509920(0x174)],'content':this[_0x509920(0x39c)]['t']('session.room-full')}),this[_0x509920(0x138)][_0x509920(0x503)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x6eb6f9=(_0x4739e1=_0x2010d8[_0x509920(0x18f)]['roomInfos'][this[_0x509920(0x18a)]])==null?void 0x0:_0x4739e1[_0x509920(0x1e4)];_0x6eb6f9&&_0x6eb6f9[_0x509920(0x38f)](_0x192297=>this['_memberService'][_0x509920(0x31e)](this['_unitID'],_0x192297));}[_0x4a9685(0x479)](_0x293577){const _0x2cf106=_0x4a9685;try{const _0x557abd=_0x293577[_0x2cf106(0x18f)];switch(_0x557abd[_0x2cf106(0x3af)]){case S[_0x2cf106(0x35a)][_0x2cf106(0x1ec)]:this[_0x2cf106(0x34a)](_0x557abd),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x5c3)]:this['_onUserLeave'](_0x557abd),this[_0x2cf106(0x50b)]['next'](_0x557abd);break;case S['CollaborationEvent']['CHANGESET_ACK']:case S[_0x2cf106(0x35a)][_0x2cf106(0x398)]:this[_0x2cf106(0x5ac)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x42e)]:this[_0x2cf106(0x480)][_0x2cf106(0x3d8)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2cf106(0x2d1)](_0x557abd)),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x38a)]:this['_commentService'][_0x2cf106(0x26e)](_0x557abd[_0x2cf106(0x18f)]),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;default:this['_event$'][_0x2cf106(0x503)](_0x557abd);}}catch(_0x4d1e7f){this[_0x2cf106(0x480)]['error'](_0x4d1e7f,_0x293577);}}['_onUserJoin'](_0x16a835){const _0x2b2812=_0x4a9685;this['_memberService'][_0x2b2812(0x31e)](this[_0x2b2812(0x18a)],_0x16a835[_0x2b2812(0x18f)]);}[_0x4a9685(0x31b)](_0x2aefb0){const _0x16a645=_0x4a9685;this[_0x16a645(0x1f9)][_0x16a645(0x1de)](this['_unitID'],_0x2aefb0[_0x16a645(0x18f)][_0x16a645(0x1e5)]);}async[_0x4a9685(0x170)](_0x26628d,_0x385c69){const _0x225509=_0x4a9685;if(this[_0x225509(0x450)]!==0x3||!this['_socket'])throw new Error(_0x225509(0x515));try{_0x26628d[_0x225509(0x3af)]===S[_0x225509(0x35a)]['SUBMIT_CHANGESET']&&(this[_0x225509(0x28f)](),this[_0x225509(0x548)](_0x26628d)),this['_socket']['send']({'cmd':G[_0x225509(0x3a1)],'routeKey':_0x385c69,'routeType':'','data':_0x26628d});}catch(_0x246136){this['_logService'][_0x225509(0x3d8)](_0x246136);}}[_0x4a9685(0x28f)](){const _0x43438e=_0x4a9685;var _0x1cf6ce;this['_collaborationTimeoutTimer']=window[_0x43438e(0x595)](()=>{const _0x187d0b=_0x43438e;this[_0x187d0b(0x405)]=null,this['_messageService']['show']({'type':ge[_0x187d0b(0x2e3)][_0x187d0b(0x2d0)],'content':this[_0x187d0b(0x39c)]['t']('session.collaboration-timeout')});},(_0x1cf6ce=this['_configService'][_0x43438e(0x4a1)](Ct))!=null?_0x1cf6ce:nn);}[_0x4a9685(0x278)](){const _0x5aece3=_0x4a9685;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5aece3(0x405)]),this[_0x5aece3(0x405)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x54a588){const _0x4275e3=_0x4a9685;if(!this[_0x4275e3(0x5b5)])return;const {data:_0x204a6d}=_0x54a588,{unitID:_0x1d8ec2,changeset:_0x3548c1}=_0x204a6d,{mutations:_0x4e2931,type:_0xb7aea7}=_0x3548c1;this[_0x4275e3(0x33f)]={'unitId':_0x1d8ec2,'type':_0xb7aea7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x4e2931)};}[_0x4a9685(0x5ac)](){const _0x3f6353=_0x4a9685;if(this[_0x3f6353(0x5b5)]){if(!this[_0x3f6353(0x33f)]){this[_0x3f6353(0x480)][_0x3f6353(0x3d8)](_0x3f6353(0x404),_0x3f6353(0x157));return;}this['_telemetryInfo'][_0x3f6353(0x26c)]=performance[_0x3f6353(0x358)](),this[_0x3f6353(0x33f)][_0x3f6353(0x301)]=this[_0x3f6353(0x33f)][_0x3f6353(0x26c)]-this['_telemetryInfo'][_0x3f6353(0x5ab)],this[_0x3f6353(0x1d9)][_0x3f6353(0x15a)](ei,this['_telemetryInfo']),this[_0x3f6353(0x33f)]=null;}}[_0x4a9685(0x1b7)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=ci([de(0x2,a[_0x4a9685(0x2e8)]),de(0x3,ee['IBeforeCloseService']),de(0x4,ee[_0x4a9685(0x27d)]),de(0x5,a[_0x4a9685(0x3fb)]),de(0x6,a['Inject'](a[_0x4a9685(0x4a8)])),de(0x7,a[_0x4a9685(0x27a)](exports['MemberService'])),de(0x8,a[_0x4a9685(0x27a)](Tt)),de(0x9,a[_0x4a9685(0x59b)](jn[_0x4a9685(0x483)]))],exports[_0x4a9685(0x2d2)]);var li=Object[_0x4a9685(0x377)],hi=Object['getOwnPropertyDescriptor'],_i=(_0xeeea51,_0x128b59,_0x2e14a8,_0x12327a)=>{const _0x2468b9=_0x4a9685;for(var _0x5ac518=_0x12327a>0x1?void 0x0:_0x12327a?hi(_0x128b59,_0x2e14a8):_0x128b59,_0x1b1799=_0xeeea51[_0x2468b9(0x530)]-0x1,_0x57ac1e;_0x1b1799>=0x0;_0x1b1799--)(_0x57ac1e=_0xeeea51[_0x1b1799])&&(_0x5ac518=(_0x12327a?_0x57ac1e(_0x128b59,_0x2e14a8,_0x5ac518):_0x57ac1e(_0x5ac518))||_0x5ac518);return _0x12327a&&_0x5ac518&&li(_0x128b59,_0x2e14a8,_0x5ac518),_0x5ac518;},Ee=(_0x1db3c5,_0x4a61df)=>(_0x4d36c0,_0x498cfa)=>_0x4a61df(_0x4d36c0,_0x498cfa,_0x1db3c5);exports['CollaborationSessionService']=class extends a[_0x4a9685(0x261)]{constructor(_0x11fd66,_0x15e69a,_0x1f15f7,_0x5e66a6,_0x264414,_0x2a514f){const _0x4edd9c=_0x4a9685;super(),I(this,_0x4edd9c(0x491),new A[(_0x4edd9c(0x563))](void 0x0)),I(this,_0x4edd9c(0x495),this['_socket$'][_0x4edd9c(0x135)]()),I(this,_0x4edd9c(0x2d4),null),I(this,'_sessions',new Map()),I(this,'_status$',new A[(_0x4edd9c(0x563))](se[_0x4edd9c(0x3a0)])),I(this,_0x4edd9c(0x4ba),this[_0x4edd9c(0x366)]['asObservable']()),I(this,_0x4edd9c(0x392),!0x1),I(this,_0x4edd9c(0x3c9)),I(this,_0x4edd9c(0x4f1),0x0),I(this,_0x4edd9c(0x349)),I(this,'_timeoutTimer'),(this[_0x4edd9c(0x372)]=_0x11fd66,this[_0x4edd9c(0x39c)]=_0x15e69a,this[_0x4edd9c(0x3a7)]=_0x1f15f7,this[_0x4edd9c(0x480)]=_0x5e66a6,this[_0x4edd9c(0x294)]=_0x264414,this[_0x4edd9c(0x48b)]=_0x2a514f,this[_0x4edd9c(0x39f)]());}get[_0x4a9685(0x2ef)](){const _0x1b9ee5=_0x4a9685;return this['_socket$'][_0x1b9ee5(0x1ae)]();}[_0x4a9685(0x39f)](){const _0x3d7d2c=_0x4a9685;this[_0x3d7d2c(0x57b)](),this['_listenToOnlineEvent']();}[_0x4a9685(0x1d7)](){const _0x53f35d=_0x4a9685;super['dispose'](),this[_0x53f35d(0x577)][_0x53f35d(0x38f)](_0x2f9b6d=>_0x2f9b6d[_0x53f35d(0x1d7)]()),this[_0x53f35d(0x577)]['clear'](),this[_0x53f35d(0x366)][_0x53f35d(0x2f7)]();}async[_0x4a9685(0x461)](_0x4eeb6c){const _0x1f63f3=_0x4a9685;if(this[_0x1f63f3(0x577)]['has'](_0x4eeb6c))return this[_0x1f63f3(0x577)][_0x1f63f3(0x542)](_0x4eeb6c);this[_0x1f63f3(0x160)]();const _0x206205=this[_0x1f63f3(0x372)]['createInstance'](exports['CollaborationSession'],_0x4eeb6c,this[_0x1f63f3(0x491)][_0x1f63f3(0x135)]());return this[_0x1f63f3(0x577)]['set'](_0x4eeb6c,_0x206205),_0x206205;}['closeSession'](_0xe6278e){const _0x14a245=_0x4a9685;var _0x31cd7f;const _0x3bccf9=this[_0x14a245(0x577)][_0x14a245(0x542)](_0xe6278e);_0x3bccf9&&(this[_0x14a245(0x577)]['delete'](_0xe6278e),_0x3bccf9['close']()),this[_0x14a245(0x577)][_0x14a245(0x2d6)]||(_0x31cd7f=this['_socket'])==null||_0x31cd7f[_0x14a245(0x176)]();}[_0x4a9685(0x24a)](){const _0x55eca2=_0x4a9685;this[_0x55eca2(0x4f1)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x55eca2(0x3c9)]),this['_retryConnectingTimer']=null),this[_0x55eca2(0x24c)]();}[_0x4a9685(0x1b3)](){const _0x2c5e23=_0x4a9685;var _0xddd346,_0x40b1a0;const _0x44e80a=this[_0x2c5e23(0x294)]['getConfig'](en),_0xd7ef34=this[_0x2c5e23(0x294)][_0x2c5e23(0x4a1)](te),_0x2f621c=(_0x40b1a0=(_0xddd346=_0xd7ef34==null?void 0x0:_0xd7ef34[_0x2c5e23(0x253)])!=null?_0xddd346:_0x44e80a)!=null?_0x40b1a0:Wn,_0x1702d8=this[_0x2c5e23(0x48b)][_0x2c5e23(0x332)](_0x2f621c);return this[_0x2c5e23(0x2d4)]=_0x1702d8,_0x1702d8;}['_tryEnsureSocket'](){const _0x4c5249=_0x4a9685;var _0x48c4d5,_0x14b36d;try{const _0x26a5f4=(_0x14b36d=(_0x48c4d5=this['_socket'])!=null?_0x48c4d5:this[_0x4c5249(0x2d4)])!=null?_0x14b36d:this[_0x4c5249(0x1b3)]();if(_0x26a5f4){const _0x805f17=_0x26a5f4[_0x4c5249(0x170)];_0x26a5f4[_0x4c5249(0x170)]=_0x3fdb26=>(this['_rescheduleHeartbeat'](),_0x805f17['apply'](_0x26a5f4,[_0x3fdb26])),_0x26a5f4[_0x4c5249(0x1cf)][_0x4c5249(0x419)](_0x41417b=>this['_onMessage'](_0x26a5f4,_0x41417b)),_0x26a5f4[_0x4c5249(0x37c)]['pipe'](V[_0x4c5249(0x3a5)](0x1))['subscribe'](_0x36da5e=>this[_0x4c5249(0x480)]['error'](_0x4c5249(0x37e),_0x36da5e)),_0x26a5f4[_0x4c5249(0x5d5)][_0x4c5249(0x172)](V[_0x4c5249(0x3a5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x26a5f4);}),_0x26a5f4['close$']['pipe'](V[_0x4c5249(0x3a5)](0x1))[_0x4c5249(0x419)](_0x2d05c8=>{const _0x1ba83b=_0x4c5249;this[_0x1ba83b(0x480)][_0x1ba83b(0x37a)](_0x1ba83b(0x25a),'socket\x20close',_0x2d05c8),this['_onConnectionFailed']();});}}catch(_0x4598fd){this[_0x4c5249(0x480)][_0x4c5249(0x3d8)](_0x4598fd),this[_0x4c5249(0x254)]();}}[_0x4a9685(0x408)](_0x7636c3){const _0x5dd8df=_0x4a9685;this[_0x5dd8df(0x480)][_0x5dd8df(0x37a)](_0x5dd8df(0x25a),_0x5dd8df(0x56d)),_0x7636c3[_0x5dd8df(0x170)]({'cmd':G[_0x5dd8df(0x3f5)]}),this[_0x5dd8df(0x4fb)]();}[_0x4a9685(0x57b)](){const _0x41b34d=_0x4a9685;window[_0x41b34d(0x368)](_0x41b34d(0x277),()=>this[_0x41b34d(0x263)]());}[_0x4a9685(0x263)](){const _0x411675=_0x4a9685;this[_0x411675(0x392)]=!0x1,this[_0x411675(0x2d4)]=null,this[_0x411675(0x366)][_0x411675(0x503)](se[_0x411675(0x338)]),this[_0x411675(0x491)][_0x411675(0x503)](null),this[_0x411675(0x299)](),this[_0x411675(0x33c)]();}[_0x4a9685(0x254)](){const _0x247087=_0x4a9685;var _0x1b5153;this[_0x247087(0x263)](),this[_0x247087(0x4f1)]<((_0x1b5153=this[_0x247087(0x294)]['getConfig'](sn))!=null?_0x1b5153:Gn)?(this['_messageService'][_0x247087(0x36b)]({'key':'collaboration-session-retry','type':ge[_0x247087(0x2e3)][_0x247087(0x174)],'content':this[_0x247087(0x39c)]['t'](_0x247087(0x573))}),this[_0x247087(0x24c)]()):this[_0x247087(0x3a7)][_0x247087(0x36b)]({'key':_0x247087(0x508),'type':ge[_0x247087(0x2e3)][_0x247087(0x2d0)],'content':this[_0x247087(0x39c)]['t'](_0x247087(0x386))});}[_0x4a9685(0x2bb)](){const _0x496128=_0x4a9685,_0x2d4207=()=>{const _0xa80011=_0x5f2c;this['_socket']||this[_0xa80011(0x24a)]();},_0xa65b88=()=>{const _0x539a9d=_0x5f2c;this[_0x539a9d(0x2ef)]||document[_0x539a9d(0x361)]===_0x539a9d(0x15b)||this['reconnect']();};window['addEventListener']('online',_0x2d4207),document[_0x496128(0x368)](_0x496128(0x2dc),_0xa65b88);}['_tryReconnect'](){const _0x5a8269=_0x4a9685;var _0x4d05a3;const _0x350b32=this['_retryCount'],_0x5e2a5a=this[_0x5a8269(0x294)][_0x5a8269(0x4a1)](te),_0x1d87bc=_0x350b32===0x0?0x0:((_0x4d05a3=_0x5e2a5a==null?void 0x0:_0x5e2a5a[_0x5a8269(0x295)])!=null?_0x4d05a3:Vn)*0x2**_0x350b32;this[_0x5a8269(0x3c9)]=window[_0x5a8269(0x595)](()=>{const _0x709bc8=_0x5a8269;clearTimeout(this[_0x709bc8(0x3c9)]),this['_retryConnectingTimer']=null,this[_0x709bc8(0x160)]();},_0x1d87bc),this[_0x5a8269(0x4f1)]+=0x1;}[_0x4a9685(0x571)](_0x5c98a4,_0xd59711){const _0x34aaba=_0x4a9685,{cmd:_0xd7460c}=_0xd59711;_0xd7460c===G[_0x34aaba(0x3f5)]&&!this['_socketReady']&&(_0x5c98a4['memberID']=_0xd59711[_0x34aaba(0x18f)]['memberID'],this[_0x34aaba(0x491)][_0x34aaba(0x503)](_0x5c98a4),this[_0x34aaba(0x366)][_0x34aaba(0x503)](se['ONLINE']),this[_0x34aaba(0x392)]=!0x0,this[_0x34aaba(0x2d4)]=null),_0xd7460c===G[_0x34aaba(0x427)]&&this[_0x34aaba(0x299)](),this[_0x34aaba(0x4fb)]();}[_0x4a9685(0x4fb)](){const _0x54eafb=_0x4a9685;var _0x1d326d;this['_clearHeartbeatTimer'](),this[_0x54eafb(0x349)]=window['setTimeout'](()=>this[_0x54eafb(0x1f0)](),(_0x1d326d=this[_0x54eafb(0x294)][_0x54eafb(0x4a1)](tn))!=null?_0x1d326d:Fn);}['_sendHeartbeat'](){const _0x1858b5=_0x4a9685;this[_0x1858b5(0x2ef)][_0x1858b5(0x170)]({'cmd':G['HEARTBEAT']}),this[_0x1858b5(0x264)]();}[_0x4a9685(0x264)](){const _0x52dd42=_0x4a9685;var _0x16cd7c;this[_0x52dd42(0x363)]=window['setTimeout'](()=>this[_0x52dd42(0x254)](),(_0x16cd7c=this[_0x52dd42(0x294)][_0x52dd42(0x4a1)](Ct))!=null?_0x16cd7c:nn);}[_0x4a9685(0x33c)](){const _0x1a74db=_0x4a9685;this[_0x1a74db(0x349)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1a74db(0x349)]=null);}[_0x4a9685(0x299)](){const _0x592c2b=_0x4a9685;this[_0x592c2b(0x363)]!=null&&(clearTimeout(this[_0x592c2b(0x363)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([Ee(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Ee(0x1,a['Inject'](a[_0x4a9685(0x4a8)])),Ee(0x2,ee[_0x4a9685(0x27d)]),Ee(0x3,a[_0x4a9685(0x2e8)]),Ee(0x4,a[_0x4a9685(0x3fb)]),Ee(0x5,bt)],exports[_0x4a9685(0x2a7)]);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x4a9685(0x350)](0x10)[_0x4a9685(0x2f2)](0x1));function ui(_0x556254,_0x3e7a31=0x0){const _0x83e8a3=_0x4a9685;return(Y[_0x556254[_0x3e7a31+0x0]]+Y[_0x556254[_0x3e7a31+0x1]]+Y[_0x556254[_0x3e7a31+0x2]]+Y[_0x556254[_0x3e7a31+0x3]]+'-'+Y[_0x556254[_0x3e7a31+0x4]]+Y[_0x556254[_0x3e7a31+0x5]]+'-'+Y[_0x556254[_0x3e7a31+0x6]]+Y[_0x556254[_0x3e7a31+0x7]]+'-'+Y[_0x556254[_0x3e7a31+0x8]]+Y[_0x556254[_0x3e7a31+0x9]]+'-'+Y[_0x556254[_0x3e7a31+0xa]]+Y[_0x556254[_0x3e7a31+0xb]]+Y[_0x556254[_0x3e7a31+0xc]]+Y[_0x556254[_0x3e7a31+0xd]]+Y[_0x556254[_0x3e7a31+0xe]]+Y[_0x556254[_0x3e7a31+0xf]])[_0x83e8a3(0x5c4)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x18936d=_0x4a9685;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x18936d(0x4ee));Je=crypto[_0x18936d(0x1c8)][_0x18936d(0x151)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4a9685(0x3a4)][_0x4a9685(0x151)](crypto),Mt={'randomUUID':vi};function mi(_0x51692a,_0x38185a,_0x4f5f25){const _0x1b3080=_0x4a9685;if(Mt[_0x1b3080(0x3a4)]&&!_0x38185a&&!_0x51692a)return Mt[_0x1b3080(0x3a4)]();_0x51692a=_0x51692a||{};const _0x179502=_0x51692a[_0x1b3080(0x588)]||(_0x51692a[_0x1b3080(0x550)]||fi)();return _0x179502[0x6]=_0x179502[0x6]&0xf|0x40,_0x179502[0x8]=_0x179502[0x8]&0x3f|0x80,ui(_0x179502);}var Si=Object[_0x4a9685(0x377)],pi=Object[_0x4a9685(0x484)],gi=(_0x2b387b,_0x3ff0aa,_0x38c8eb,_0x19f33c)=>{for(var _0x43dc87=_0x19f33c>0x1?void 0x0:_0x19f33c?pi(_0x3ff0aa,_0x38c8eb):_0x3ff0aa,_0x4d8f47=_0x2b387b['length']-0x1,_0xb1b877;_0x4d8f47>=0x0;_0x4d8f47--)(_0xb1b877=_0x2b387b[_0x4d8f47])&&(_0x43dc87=(_0x19f33c?_0xb1b877(_0x3ff0aa,_0x38c8eb,_0x43dc87):_0xb1b877(_0x43dc87))||_0x43dc87);return _0x19f33c&&_0x43dc87&&Si(_0x3ff0aa,_0x38c8eb,_0x43dc87),_0x43dc87;},Ze=(_0x59722d,_0x4b1a1c)=>(_0x1ca1bd,_0x2b755e)=>_0x4b1a1c(_0x1ca1bd,_0x2b755e,_0x59722d);let Be=class{constructor(_0x33a6a4,_0x56076b,_0x5ec7fa){const _0x358508=_0x4a9685;this[_0x358508(0x372)]=_0x33a6a4,this['_transformService']=_0x56076b,this[_0x358508(0x582)]=_0x5ec7fa;}[_0x4a9685(0x4fc)](_0x4c3c49){const _0x438717=_0x4a9685;this['_transformUndoRedoStack'](_0x4c3c49),this[_0x438717(0x20b)](_0x4c3c49);}[_0x4a9685(0x203)](_0x498c36){const _0x23e570=_0x4a9685,{unitID:_0x5a00b2}=_0x498c36,_0x17a810=this[_0x23e570(0x582)][_0x23e570(0x31a)](_0x5a00b2)[_0x23e570(0x326)](J[_0x23e570(0x35b)]),{redoCache:_0x2857b7}=_0x17a810[_0x23e570(0x1eb)]();if(_0x2857b7[_0x23e570(0x530)]===0x0)return _0x498c36;let _0x233c20=a[_0x23e570(0x426)]['deepClone'](_0x498c36[_0x23e570(0x1b8)][0x0]);for(let _0x3260d0=0x0;_0x3260d0<_0x2857b7[_0x23e570(0x530)];_0x3260d0++){const _0x5b0747={'id':_0x23e570(0x3cf),'params':{..._0x2857b7[_0x3260d0]}},_0x4c3c5f=this[_0x23e570(0x4f6)][_0x23e570(0x23e)](_0x233c20,_0x5b0747,!0x1);if(S['isTransformMutationFailure'](_0x4c3c5f))throw _0x4c3c5f['error'];_0x233c20=_0x4c3c5f[_0x23e570(0x208)];}return{...a[_0x23e570(0x426)]['deepClone'](_0x498c36),'mutations':[_0x233c20]};}[_0x4a9685(0x3e3)](_0x43c060){const _0x4a5c3b=_0x4a9685,{unitID:_0x22afbe}=_0x43c060,_0x42a87b=this[_0x4a5c3b(0x582)][_0x4a5c3b(0x31a)](_0x22afbe)[_0x4a5c3b(0x326)](J[_0x4a5c3b(0x35b)]),{undoCache:_0x468a6b,redoCache:_0x5ed74d}=_0x42a87b[_0x4a5c3b(0x1eb)]();if(_0x468a6b[_0x4a5c3b(0x530)]===0x0||_0x5ed74d[_0x4a5c3b(0x530)]===0x0)return;const _0x5a10e3=[],_0x1564cd=[];let _0x1e376a=a['Tools']['deepClone'](_0x43c060[_0x4a5c3b(0x1b8)][0x0]),_0x595551=a['Tools'][_0x4a5c3b(0x513)](_0x43c060[_0x4a5c3b(0x1b8)][0x0]);for(let _0x2c0226=_0x468a6b[_0x4a5c3b(0x530)]-0x1;_0x2c0226>=0x0;_0x2c0226--){const _0x305d1a={'id':'doc.mutation.rich-text-editing','params':{..._0x468a6b[_0x2c0226]}},_0x5a1879={'id':_0x4a5c3b(0x3cf),'params':{..._0x5ed74d[_0x2c0226]}},_0x48999b=this['_transformService'][_0x4a5c3b(0x23e)](_0x1e376a,_0x305d1a,!0x1),_0x40ce50=this['_transformService']['transformMutation'](_0x595551,_0x5a1879,!0x1);if(S[_0x4a5c3b(0x498)](_0x48999b))throw _0x48999b[_0x4a5c3b(0x3d8)];if(S['isTransformMutationFailure'](_0x40ce50))throw _0x40ce50[_0x4a5c3b(0x3d8)];_0x5a10e3[_0x4a5c3b(0x1d6)](_0x48999b[_0x4a5c3b(0x403)][_0x4a5c3b(0x4da)]),_0x1564cd['unshift'](_0x40ce50['m2Prime'][_0x4a5c3b(0x4da)]),_0x1e376a=_0x48999b['m1Prime'],_0x595551=_0x40ce50[_0x4a5c3b(0x208)];}_0x42a87b[_0x4a5c3b(0x19d)]({'undoCache':_0x5a10e3,'redoCache':_0x1564cd});}['_transformPreviousActiveRange'](_0x347593){const _0x47a046=_0x4a9685,{unitID:_0x54bcbb}=_0x347593,_0x3fb0b2=this[_0x47a046(0x582)]['getRenderById'](_0x54bcbb)['with'](J['DocIMEInputManagerService']),_0x143772=_0x3fb0b2['getActiveRange']();if(_0x143772==null)return;const _0x4b0d74=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x347593['unitID'],'actions':null,'textRanges':[_0x143772]}}],_0x1d43ad=this[_0x47a046(0x4f6)][_0x47a046(0x4ed)](_0x347593,_0x4b0d74);if(!S['isTransformMutationsWithChangesetSuccess'](_0x1d43ad))throw _0x1d43ad[_0x47a046(0x3d8)];const _0x505c18=_0x1d43ad['m2Prime'][0x0][_0x47a046(0x4da)]['textRanges'];Array[_0x47a046(0x36d)](_0x505c18)&&_0x505c18[_0x47a046(0x530)]&&_0x3fb0b2[_0x47a046(0x4eb)](_0x505c18[0x0]);}};Be=gi([Ze(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Ze(0x1,S[_0x4a9685(0x315)]),Ze(0x2,K[_0x4a9685(0x147)])],Be);var Ii=Object[_0x4a9685(0x377)],Ci=Object[_0x4a9685(0x484)],Ei=(_0x1dee14,_0x5c3f9e,_0x47b8fb,_0x16b544)=>{for(var _0x233afb=_0x16b544>0x1?void 0x0:_0x16b544?Ci(_0x5c3f9e,_0x47b8fb):_0x5c3f9e,_0x58f1bb=_0x1dee14['length']-0x1,_0x499d1e;_0x58f1bb>=0x0;_0x58f1bb--)(_0x499d1e=_0x1dee14[_0x58f1bb])&&(_0x233afb=(_0x16b544?_0x499d1e(_0x5c3f9e,_0x47b8fb,_0x233afb):_0x499d1e(_0x233afb))||_0x233afb);return _0x16b544&&_0x233afb&&Ii(_0x5c3f9e,_0x47b8fb,_0x233afb),_0x233afb;},Pe=(_0x2fae49,_0x41a866)=>(_0x2926d8,_0xe3de3a)=>_0x41a866(_0x2926d8,_0xe3de3a,_0x2fae49);exports['LocalCacheService']=class extends a['Disposable']{constructor(_0x18b4ba,_0x123008,_0x4340c5,_0x144b40,_0x80ed36){const _0x8b7983=_0x4a9685;super(),I(this,_0x8b7983(0x5f8),new Map()),I(this,_0x8b7983(0x523),new Map()),I(this,'_disabled',!0x1),(this[_0x8b7983(0x294)]=_0x18b4ba,this['_localStorageService']=_0x123008,this[_0x8b7983(0x5b8)]=_0x4340c5,this['_localeService']=_0x144b40,this[_0x8b7983(0x26d)]=_0x80ed36,this[_0x8b7983(0x5b2)]());}[_0x4a9685(0x360)](){const _0x3d7bb0=_0x4a9685;this[_0x3d7bb0(0x2d8)]=!0x0;}[_0x4a9685(0x306)](){const _0x35f485=_0x4a9685;this[_0x35f485(0x2d8)]=!0x1;}[_0x4a9685(0x1d7)](){const _0x52a793=_0x4a9685;this['exhaustSavingTask']()[_0x52a793(0x5ce)](()=>super['dispose']());}async[_0x4a9685(0x206)](_0x644f7e){const _0x1965c0=_0x4a9685;return this[_0x1965c0(0x2d8)]?null:this['_localStorageService'][_0x1965c0(0x286)](At(_0x644f7e));}async[_0x4a9685(0x546)](_0x2e7ed8,_0x52d89e){const _0x511d4d=_0x4a9685;return!!this[_0x511d4d(0x48f)][_0x511d4d(0x2a4)](_0x2e7ed8,_0x52d89e);}[_0x4a9685(0x14f)](_0x418772,_0x2dde02,_0x1c5281,_0x13e8ec){const _0x37cc85=_0x4a9685,_0x1b4a2e=this[_0x37cc85(0x26d)][_0x37cc85(0x3e5)](_0x418772);this[_0x37cc85(0x5f8)][_0x37cc85(0x568)](_0x418772,{'unitID':_0x418772,'type':_0x2dde02,'awaitingChangeset':_0x1c5281,'mutations':_0x13e8ec,'rev':_0x1b4a2e}),this[_0x37cc85(0x523)][_0x37cc85(0x1d2)](_0x418772)||this['_scheduleSaving'](_0x418772);}['_scheduleSaving'](_0x2906ec){const _0x4b2ce2=_0x4a9685,_0x2d6cc5=this[_0x4b2ce2(0x4b6)]();_0x2d6cc5===0x0?this['_saveCache'](_0x2906ec):this[_0x4b2ce2(0x523)]['set'](_0x2906ec,setTimeout(()=>this[_0x4b2ce2(0x1aa)](_0x2906ec),_0x2d6cc5));}[_0x4a9685(0x4b6)](){const _0x1202e8=_0x4a9685;var _0x1517f4;return(_0x1517f4=this[_0x1202e8(0x294)]['getConfig'](rn))!=null?_0x1517f4:Yn;}['_saveCache'](_0x341736){const _0x2099cf=_0x4a9685,_0x2e840e=this[_0x2099cf(0x523)][_0x2099cf(0x542)](_0x341736);return _0x2e840e!==void 0x0&&window[_0x2099cf(0x3b3)](_0x2e840e),this[_0x2099cf(0x48f)][_0x2099cf(0x2a4)](At(_0x341736),this[_0x2099cf(0x5f8)][_0x2099cf(0x542)](_0x341736))['then'](()=>this[_0x2099cf(0x523)][_0x2099cf(0x224)](_0x341736));}async[_0x4a9685(0x45e)](){const _0x572c69=_0x4a9685,_0x8c8a47=[];this[_0x572c69(0x523)][_0x572c69(0x38f)]((_0x21815c,_0x5252d2)=>{const _0x5d884b=_0x572c69;window['clearTimeout'](_0x21815c),_0x8c8a47[_0x5d884b(0x3d6)](this['_saveCache'](_0x5252d2)[_0x5d884b(0x5ce)](()=>{const _0x3ece81=_0x5d884b;this[_0x3ece81(0x523)]['delete'](_0x5252d2);}));}),await Promise[_0x572c69(0x38c)](_0x8c8a47);}[_0x4a9685(0x5b2)](){const _0x2638bf=_0x4a9685;this[_0x2638bf(0x3c7)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x69a0ca=_0x2638bf;if(this['_saveTaskMap'][_0x69a0ca(0x2d6)])return this[_0x69a0ca(0x39c)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x4a9685(0x1a0)]=Ei([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0x4a9685(0x477)]),Pe(0x2,ee[_0x4a9685(0x13d)]),Pe(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),Pe(0x4,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)]))],exports[_0x4a9685(0x1a0)]);function At(_0x4468a4){const _0x504c49=_0x4a9685;return _0x504c49(0x34e)+_0x4468a4;}var bi=Object['defineProperty'],Ti=Object[_0x4a9685(0x484)],Ri=(_0xd02ad4,_0x4350a9,_0x3c8c80,_0x2a1ad1)=>{const _0x19c742=_0x4a9685;for(var _0xac2eb3=_0x2a1ad1>0x1?void 0x0:_0x2a1ad1?Ti(_0x4350a9,_0x3c8c80):_0x4350a9,_0x24172d=_0xd02ad4[_0x19c742(0x530)]-0x1,_0x40b5f8;_0x24172d>=0x0;_0x24172d--)(_0x40b5f8=_0xd02ad4[_0x24172d])&&(_0xac2eb3=(_0x2a1ad1?_0x40b5f8(_0x4350a9,_0x3c8c80,_0xac2eb3):_0x40b5f8(_0xac2eb3))||_0xac2eb3);return _0x2a1ad1&&_0xac2eb3&&bi(_0x4350a9,_0x3c8c80,_0xac2eb3),_0xac2eb3;},Qe=(_0x2945a9,_0x4f0ec2)=>(_0x20aaa6,_0x18d63c)=>_0x4f0ec2(_0x20aaa6,_0x18d63c,_0x2945a9);function yi(_0x1875cb){const _0x16c6e9=_0x4a9685,{unitID:_0x4ed5bc,mutations:_0x1b19ad}=_0x1875cb;return{'unitId':_0x4ed5bc,'subUnitId':_0x1b19ad[0x0][_0x16c6e9(0x4da)][_0x16c6e9(0x2ae)]};}let ke=class{constructor(_0xffb2b2,_0x4bc537,_0x1050e3){const _0x370206=_0x4a9685;this[_0x370206(0x372)]=_0xffb2b2,this[_0x370206(0x4f6)]=_0x4bc537,this[_0x370206(0x2e0)]=_0x1050e3;}[_0x4a9685(0x58f)](_0x5b82d8){const _0x46f0ca=_0x4a9685;var _0x195103,_0x36968c,_0x423ba1,_0x52541d;const _0x428524=this[_0x46f0ca(0x372)][_0x46f0ca(0x542)](k[_0x46f0ca(0x31c)]),{unitId:_0x4b2630,subUnitId:_0x3fa50c}=yi(_0x5b82d8),_0x205d00=_0x428524[_0x46f0ca(0x356)](_0x4b2630)['getCurrentSelections'](),_0x5a0991=(_0x36968c=(_0x195103=this[_0x46f0ca(0x2e0)][_0x46f0ca(0x30a)](_0x4b2630))==null?void 0x0:_0x195103[_0x46f0ca(0x4d4)]())==null?void 0x0:_0x36968c[_0x46f0ca(0x180)]();if(_0x205d00[_0x46f0ca(0x530)]===0x0||!_0x4b2630||!_0x3fa50c)return;const _0x547b06=[{'id':k['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b2630,'subUnitId':_0x5a0991,'selections':a[_0x46f0ca(0x426)][_0x46f0ca(0x513)](_0x205d00)}}],_0x514003=this['_transformService']['transformMutationsWithChangeset'](_0x5b82d8,_0x547b06);if(!S[_0x46f0ca(0x453)](_0x514003))throw _0x514003['error'];const _0x434299=(_0x52541d=(_0x423ba1=_0x514003['m2Prime'][0x0])==null?void 0x0:_0x423ba1['params'])==null?void 0x0:_0x52541d[_0x46f0ca(0x5c6)];if(Array[_0x46f0ca(0x36d)](_0x434299)&&_0x434299[_0x46f0ca(0x530)]){if(_0x434299[_0x46f0ca(0x530)]===_0x547b06[0x0][_0x46f0ca(0x4da)][_0x46f0ca(0x5c6)][_0x46f0ca(0x530)]&&_0x434299[_0x46f0ca(0x4b0)]((_0x1f775a,_0x125a66)=>a['Rectangle'][_0x46f0ca(0x47c)](_0x1f775a['range'],_0x547b06[0x0][_0x46f0ca(0x4da)][_0x46f0ca(0x5c6)][_0x125a66]['range'])))return;this[_0x46f0ca(0x372)][_0x46f0ca(0x542)](a[_0x46f0ca(0x449)])[_0x46f0ca(0x5f4)](k[_0x46f0ca(0x25b)]['id'],{'unitId':_0x4b2630,'subUnitId':_0x5a0991,'selections':_0x434299});}}};ke=Ri([Qe(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Qe(0x1,S[_0x4a9685(0x315)]),Qe(0x2,a['IUniverInstanceService'])],ke);const qe=a[_0x4a9685(0x1e3)](_0x4a9685(0x46f));var un=(_0x5da832=>(_0x5da832[_0x5da832[_0x4a9685(0x5e9)]=0x0]=_0x4a9685(0x5e9),_0x5da832[_0x5da832[_0x4a9685(0x521)]=0x1]=_0x4a9685(0x521),_0x5da832))(un||{});const Nt=0x7530,Lt='ACTIVE_UNIT_EVENT_CHANNEL';class Oi extends a[_0x4a9685(0x261)]{constructor(){const _0x5bb621=_0x4a9685;super(),I(this,'_id',a['Tools']['generateRandomId']()),I(this,_0x5bb621(0x29b),new Set()),I(this,_0x5bb621(0x1b0),new Map()),I(this,_0x5bb621(0x340),null),I(this,_0x5bb621(0x512),new Map()),I(this,_0x5bb621(0x181),new Map()),this[_0x5bb621(0x3f4)]();}[_0x4a9685(0x1d7)](){const _0x84ce54=_0x4a9685;super[_0x84ce54(0x1d7)](),this[_0x84ce54(0x512)][_0x84ce54(0x38f)]((_0x3550d7,_0x51762a)=>this['_removeClearOtherTimer'](_0x51762a)),this[_0x84ce54(0x340)]&&window[_0x84ce54(0x44a)](this[_0x84ce54(0x340)]);}[_0x4a9685(0x5f6)](_0x10c898){const _0x5b19a3=_0x4a9685;return this['_ensureSubject'](_0x10c898)[_0x5b19a3(0x172)](A[_0x5b19a3(0x4f4)]());}[_0x4a9685(0x223)](_0x51bf57){const _0x50c0f9=_0x4a9685;this['_selfUnitIDs'][_0x50c0f9(0x2d6)]===0x0&&this['_scheduleHeartbeat'](),this[_0x50c0f9(0x29b)][_0x50c0f9(0x42a)](_0x51bf57),this[_0x50c0f9(0x24f)]({'type':0x0,'memberID':this[_0x50c0f9(0x4d3)],'unitIDs':[_0x51bf57],'isForwarded':!0x1});}[_0x4a9685(0x32d)](_0x360fe3){const _0x16a719=_0x4a9685;this['_selfUnitIDs']['delete'](_0x360fe3),this[_0x16a719(0x29b)][_0x16a719(0x2d6)]===0x0&&this[_0x16a719(0x340)]&&window[_0x16a719(0x44a)](this[_0x16a719(0x340)]);}[_0x4a9685(0x3f4)](){const _0x380ef5=_0x4a9685;this['disposeWithMe'](a[_0x380ef5(0x4fd)](A[_0x380ef5(0x59e)](window,_0x380ef5(0x3de))[_0x380ef5(0x419)](_0x2036e6=>{const _0x80da7c=_0x380ef5;if(_0x2036e6[_0x80da7c(0x303)]!==Lt||!_0x2036e6[_0x80da7c(0x3c6)])return;const _0xd7d83b=JSON[_0x80da7c(0x2af)](_0x2036e6[_0x80da7c(0x3c6)]);this[_0x80da7c(0x34f)](_0xd7d83b);}))),window[_0x380ef5(0x368)](_0x380ef5(0x5f3),()=>this['_send']({'type':0x1,'memberID':this[_0x380ef5(0x4d3)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4a9685(0x34f)](_0x3b30ca){const _0xdf50d7=_0x4a9685;switch(_0x3b30ca[_0xdf50d7(0x3e4)]){case 0x0:this[_0xdf50d7(0x47d)](_0x3b30ca);break;case 0x1:this[_0xdf50d7(0x18e)](_0x3b30ca);break;case 0x2:this[_0xdf50d7(0x32b)](_0x3b30ca);break;}}['_handleJoinEvent'](_0x4c39a1){const _0x4fd06c=_0x4a9685,{unitIDs:_0x4d68fd,memberID:_0x102f7a,isForwarded:_0x35cd4e}=_0x4c39a1;_0x4d68fd[_0x4fd06c(0x38f)](_0x33e3cc=>{const _0x3a157a=_0x4fd06c;if(!_0x35cd4e&&this[_0x3a157a(0x1b0)][_0x3a157a(0x1d2)](_0x33e3cc)&&this[_0x3a157a(0x2bd)](_0x33e3cc)[_0x3a157a(0x503)](0x1),!this[_0x3a157a(0x1b0)]['has'](_0x33e3cc)||!this['_unitOnClients'][_0x3a157a(0x542)](_0x33e3cc)[_0x3a157a(0x1d2)](_0x102f7a)){const _0x29bb21=this[_0x3a157a(0x1b0)][_0x3a157a(0x542)](_0x33e3cc)||new Set();_0x29bb21[_0x3a157a(0x42a)](_0x102f7a),this[_0x3a157a(0x1b0)][_0x3a157a(0x568)](_0x33e3cc,_0x29bb21),this[_0x3a157a(0x56b)](_0x102f7a);}}),_0x35cd4e||this['_send']({'type':0x0,'memberID':this[_0x4fd06c(0x4d3)],'unitIDs':[...this[_0x4fd06c(0x29b)]],'isForwarded':!0x0});}[_0x4a9685(0x56b)](_0x5a4d27){const _0x269d31=_0x4a9685;this[_0x269d31(0x15e)](_0x5a4d27);const _0x3ab673=window['setTimeout'](()=>{const _0x459e81=_0x269d31;this['_unitOnClients'][_0x459e81(0x38f)](_0x32a957=>{_0x32a957['delete'](_0x5a4d27);});},Nt*0x2);this[_0x269d31(0x512)]['set'](_0x5a4d27,_0x3ab673);}[_0x4a9685(0x15e)](_0x24ae2c){const _0x32d806=_0x4a9685;if(this['_clearOtherTimers'][_0x32d806(0x1d2)](_0x24ae2c)){const _0x47a220=this[_0x32d806(0x512)]['get'](_0x24ae2c);_0x47a220&&window[_0x32d806(0x3b3)](_0x47a220),this['_clearOtherTimers'][_0x32d806(0x568)](_0x24ae2c,null);}}[_0x4a9685(0x18e)](_0x337fed){const _0xd81760=_0x4a9685,{memberID:_0x4cbea3,unitIDs:_0x368bc8}=_0x337fed;_0x368bc8[_0xd81760(0x38f)](_0x2ab4f3=>{const _0x38d146=_0xd81760;var _0x3567a3;const _0x25649a=this[_0x38d146(0x1b0)]['get'](_0x2ab4f3);_0x25649a&&(_0x25649a[_0x38d146(0x224)](_0x4cbea3),(_0x3567a3=this[_0x38d146(0x2bd)](_0x2ab4f3))==null||_0x3567a3[_0x38d146(0x503)](_0x25649a[_0x38d146(0x2d6)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x4cbea3);}['_handleHeartbeatEvent'](_0x33dbf8){const _0x46f47b=_0x4a9685;this[_0x46f47b(0x56b)](_0x33dbf8[_0x46f47b(0x1e5)]);}[_0x4a9685(0x24f)](_0x2ad9ce){const _0x5d99c1=_0x4a9685;localStorage[_0x5d99c1(0x2a4)](Lt,JSON[_0x5d99c1(0x2d1)](_0x2ad9ce));}[_0x4a9685(0x1ca)](){const _0x326676=_0x4a9685;this['_heartbeatTimer']=window[_0x326676(0x4c2)](()=>{const _0x28aa65=_0x326676;this[_0x28aa65(0x24f)]({'type':0x2,'memberID':this[_0x28aa65(0x4d3)]});},Nt);}[_0x4a9685(0x2bd)](_0x399c0d){const _0x4b2a7b=_0x4a9685;return this[_0x4b2a7b(0x181)][_0x4b2a7b(0x1d2)](_0x399c0d)||this[_0x4b2a7b(0x181)]['set'](_0x399c0d,new A[(_0x4b2a7b(0x563))](0x0)),this[_0x4b2a7b(0x181)][_0x4b2a7b(0x542)](_0x399c0d);}}var Di=Object[_0x4a9685(0x377)],wi=Object[_0x4a9685(0x484)],Pi=(_0x2ce326,_0x128f59,_0x481486,_0x564bc1)=>{const _0x50b53a=_0x4a9685;for(var _0x47307a=_0x564bc1>0x1?void 0x0:_0x564bc1?wi(_0x128f59,_0x481486):_0x128f59,_0x4cab10=_0x2ce326[_0x50b53a(0x530)]-0x1,_0x1ce078;_0x4cab10>=0x0;_0x4cab10--)(_0x1ce078=_0x2ce326[_0x4cab10])&&(_0x47307a=(_0x564bc1?_0x1ce078(_0x128f59,_0x481486,_0x47307a):_0x1ce078(_0x47307a))||_0x47307a);return _0x564bc1&&_0x47307a&&Di(_0x128f59,_0x481486,_0x47307a),_0x47307a;},et=(_0x189759,_0x543ff2)=>(_0x547fdb,_0x56dcef)=>_0x543ff2(_0x547fdb,_0x56dcef,_0x189759);let We=class{constructor(_0x284419,_0x8ab758,_0x4b9f1c){const _0x47bd8f=_0x4a9685;this['_injector']=_0x284419,this['_transformService']=_0x8ab758,this[_0x47bd8f(0x4c7)]=_0x4b9f1c;}['transformStateCache'](_0x23131a){const _0x1db5d3=_0x4a9685;this[_0x1db5d3(0x4ec)](_0x23131a);}[_0x4a9685(0x203)](_0x281e59){const _0x1c9305=_0x4a9685,{unitID:_0x55094}=_0x281e59,{collaboration:_0xdd29c2}=this[_0x1c9305(0x4c7)]['getStateCache'](_0x55094);if(_0xdd29c2[_0x1c9305(0x530)]===0x0)return _0x281e59;let _0x50272c=a[_0x1c9305(0x426)][_0x1c9305(0x513)](_0x281e59[_0x1c9305(0x1b8)][0x0]);for(let _0x373f15=0x0;_0x373f15<_0xdd29c2[_0x1c9305(0x530)];_0x373f15++){const _0x6b058={'id':_0x1c9305(0x3cf),'params':{'unitId':_0xdd29c2[_0x373f15]['unitId'],..._0xdd29c2[_0x373f15]['redoState']}},_0x3c8ebf=this[_0x1c9305(0x4f6)][_0x1c9305(0x23e)](_0x50272c,_0x6b058,!0x1);if(S['isTransformMutationFailure'](_0x3c8ebf))throw _0x3c8ebf[_0x1c9305(0x3d8)];_0x50272c=_0x3c8ebf[_0x1c9305(0x208)];}return{...a[_0x1c9305(0x426)][_0x1c9305(0x513)](_0x281e59),'mutations':[_0x50272c]};}['_transformHistoryAndStateStack'](_0x2ada99){const _0x2cad81=_0x4a9685,{unitID:_0xab18c7}=_0x2ada99,{history:_0x20bfcf,collaboration:_0x3124a6}=this['_docStateChangeManagerService'][_0x2cad81(0x201)](_0xab18c7);if(_0x20bfcf['length']===0x0&&_0x3124a6[_0x2cad81(0x530)]===0x0)return;const _0x5411ba=[],_0x2c2681=[];let _0x238843=a[_0x2cad81(0x426)][_0x2cad81(0x513)](_0x2ada99['mutations'][0x0]),_0x502d4c=a[_0x2cad81(0x426)][_0x2cad81(0x513)](_0x2ada99[_0x2cad81(0x1b8)][0x0]);for(let _0x5d3aca=_0x20bfcf[_0x2cad81(0x530)]-0x1;_0x5d3aca>=0x0;_0x5d3aca--){const _0xd2cbe={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x20bfcf[_0x5d3aca]['unitId'],..._0x20bfcf[_0x5d3aca][_0x2cad81(0x42f)]}},_0x3f04a6={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x20bfcf[_0x5d3aca][_0x2cad81(0x2de)],..._0x20bfcf[_0x5d3aca][_0x2cad81(0x3ae)]}},_0x266002=this[_0x2cad81(0x4f6)][_0x2cad81(0x23e)](_0x238843,_0xd2cbe,!0x1),_0x4305dc=this[_0x2cad81(0x4f6)][_0x2cad81(0x23e)](_0x502d4c,_0x3f04a6,!0x1);if(S['isTransformMutationFailure'](_0x266002))throw _0x266002['error'];if(S[_0x2cad81(0x498)](_0x4305dc))throw _0x4305dc[_0x2cad81(0x3d8)];_0x5411ba[_0x2cad81(0x1d6)]({..._0x20bfcf[_0x5d3aca],'undoState':_0x266002[_0x2cad81(0x403)][_0x2cad81(0x4da)],'redoState':_0x4305dc[_0x2cad81(0x403)]['params']}),_0x238843=_0x266002[_0x2cad81(0x208)],_0x502d4c=_0x4305dc[_0x2cad81(0x208)];}_0x238843=a['Tools'][_0x2cad81(0x513)](_0x2ada99[_0x2cad81(0x1b8)][0x0]),_0x502d4c=a['Tools'][_0x2cad81(0x513)](_0x2ada99['mutations'][0x0]);for(let _0x42be31=_0x3124a6[_0x2cad81(0x530)]-0x1;_0x42be31>=0x0;_0x42be31--){const _0x17ebbb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3124a6[_0x42be31][_0x2cad81(0x2de)],..._0x3124a6[_0x42be31]['undoState']}},_0x31a0aa={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x3124a6[_0x42be31][_0x2cad81(0x2de)],..._0x3124a6[_0x42be31][_0x2cad81(0x3ae)]}},_0x52614f=this[_0x2cad81(0x4f6)]['transformMutation'](_0x238843,_0x17ebbb,!0x1),_0xba3b3b=this[_0x2cad81(0x4f6)]['transformMutation'](_0x502d4c,_0x31a0aa,!0x1);if(S[_0x2cad81(0x498)](_0x52614f))throw _0x52614f[_0x2cad81(0x3d8)];if(S[_0x2cad81(0x498)](_0xba3b3b))throw _0xba3b3b[_0x2cad81(0x3d8)];_0x2c2681[_0x2cad81(0x1d6)]({..._0x3124a6[_0x42be31],'undoState':_0x52614f['m2Prime'][_0x2cad81(0x4da)],'redoState':_0xba3b3b[_0x2cad81(0x403)][_0x2cad81(0x4da)]}),_0x238843=_0x52614f[_0x2cad81(0x208)],_0x502d4c=_0xba3b3b[_0x2cad81(0x208)];}this['_docStateChangeManagerService'][_0x2cad81(0x215)](_0xab18c7,{'history':_0x5411ba,'collaboration':_0x2c2681});}};We=Pi([et(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),et(0x1,S['ITransformService']),et(0x2,a[_0x4a9685(0x27a)](J[_0x4a9685(0x492)]))],We);function dn(_0x3f164a){let _0x4835e5='';for(const _0x1ed311 of _0x3f164a){const {startOffset:_0x2ffa8d,endOffset:_0x5a3a46,isActive:_0x3c268e,rangeType:_0x3f5837,segmentId:_0x58e97f,segmentPage:_0x1962e4}=_0x1ed311;_0x4835e5['length']&&(_0x4835e5+=','),_0x4835e5+=_0x2ffa8d+':'+_0x5a3a46+':'+(_0x3c268e?'1':'0')+':'+_0x3f5837+':'+_0x58e97f+':'+_0x1962e4;}return _0x4835e5;}function Ui(_0x2e295a){const _0x57841c=_0x4a9685,_0x3cc27b=_0x2e295a[_0x57841c(0x4d8)](','),_0x49552a=[];for(const _0x12fe1d of _0x3cc27b){const [_0x5804c6,_0xd7ee7,_0x3a97c0,_0x2ecf3a,_0x1491b9,_0x796114]=_0x12fe1d[_0x57841c(0x4d8)](':');_0x49552a['push']({'startOffset':Number(_0x5804c6),'endOffset':Number(_0xd7ee7),'collapsed':_0x5804c6===_0xd7ee7,'isActive':_0x3a97c0==='1','rangeType':_0x2ecf3a===a[_0x57841c(0x528)][_0x57841c(0x43b)]?a[_0x57841c(0x528)][_0x57841c(0x43b)]:a[_0x57841c(0x528)]['RECT'],'segmentId':typeof _0x1491b9==_0x57841c(0x3b2)?String(_0x1491b9):'','segmentPage':Number(_0x796114!=null?_0x796114:-0x1)});}return _0x49552a[_0x57841c(0x2fe)](_0x40cf85=>_0x40cf85[_0x57841c(0x4bf)])||(_0x49552a[0x0]['isActive']=!0x0),_0x49552a;}class Rt extends a[_0x4a9685(0x2c7)]{constructor(){const _0x3f1cf8=_0x4a9685;super(...arguments),I(this,_0x3f1cf8(0x3bd),new A['BehaviorSubject'](null)),I(this,_0x3f1cf8(0x20a),this[_0x3f1cf8(0x3bd)][_0x3f1cf8(0x135)]());}[_0x4a9685(0x5bc)](_0x38e726){const _0x3c3f10=_0x4a9685,{unitID:_0x2f7e1d,memberID:_0x301798,textRanges:_0x25947e}=_0x38e726,_0x3d015d=dn(_0x25947e);if(_0x3d015d==='')return;const _0x572bfa={'unitID':_0x2f7e1d,'memberID':_0x301798,'selection':_0x3d015d};this[_0x3c3f10(0x3bd)]['next'](_0x572bfa);}}var Mi=Object['defineProperty'],Ai=Object[_0x4a9685(0x484)],Ni=(_0x3842a0,_0x19c5b0,_0x2e259c,_0x4de77d)=>{for(var _0x1cc09f=_0x4de77d>0x1?void 0x0:_0x4de77d?Ai(_0x19c5b0,_0x2e259c):_0x19c5b0,_0x17c360=_0x3842a0['length']-0x1,_0x36d689;_0x17c360>=0x0;_0x17c360--)(_0x36d689=_0x3842a0[_0x17c360])&&(_0x1cc09f=(_0x4de77d?_0x36d689(_0x19c5b0,_0x2e259c,_0x1cc09f):_0x36d689(_0x1cc09f))||_0x1cc09f);return _0x4de77d&&_0x1cc09f&&Mi(_0x19c5b0,_0x2e259c,_0x1cc09f),_0x1cc09f;},xt=(_0x2da396,_0x3e4205)=>(_0x1844cd,_0x23b80c)=>_0x3e4205(_0x1844cd,_0x23b80c,_0x2da396);let Fe=class{constructor(_0xffc2db,_0x390673){const _0x481fd1=_0x4a9685;this[_0x481fd1(0x372)]=_0xffc2db,this[_0x481fd1(0x4f6)]=_0x390673;}['transformSelections'](_0x54a1a4){const _0x4fa9b1=_0x4a9685;var _0x5c852f;const _0x26ddc6=this['_injector']['get'](ye[_0x4fa9b1(0x1f8)]),_0x50ca38=(_0x5c852f=_0x26ddc6[_0x4fa9b1(0x231)]())!=null?_0x5c852f:[];if(_0x50ca38[_0x4fa9b1(0x530)]===0x0)return;const _0xc81740=_0x54a1a4[_0x4fa9b1(0x197)],_0x51fef6=[{'id':_0x4fa9b1(0x3cf),'params':{'unitId':_0xc81740,'actions':null,'textRanges':_0x50ca38}}],_0x131f1c=this['_transformService'][_0x4fa9b1(0x4ed)](_0x54a1a4,_0x51fef6);if(!S['isTransformMutationsWithChangesetSuccess'](_0x131f1c))throw _0x131f1c[_0x4fa9b1(0x3d8)];const _0x222c6f=_0x131f1c[_0x4fa9b1(0x403)][0x0][_0x4fa9b1(0x4da)][_0x4fa9b1(0x236)];Array[_0x4fa9b1(0x36d)](_0x222c6f)&&_0x222c6f['length']&&_0x26ddc6[_0x4fa9b1(0x30c)](_0x222c6f,{'unitId':_0xc81740,'subUnitId':_0xc81740},!0x1);}};Fe=Ni([xt(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),xt(0x1,S[_0x4a9685(0x315)])],Fe);const Li=new Set([k[_0x4a9685(0x251)]['id']]);function jt(_0x274244,_0xb9397e,_0x230d10,_0x32f43f,_0x2cf73e){const _0x2ad3cc=_0x4a9685;var _0x1b82f5,_0x5db2e4,_0x35292c,_0x4b543f;const _0x49cc14=[];for(const _0x43a25c of _0x274244)if(Li[_0x2ad3cc(0x1d2)](_0x43a25c['id'])){if(_0x49cc14[_0x2ad3cc(0x530)]>0x0)break;_0x49cc14[_0x2ad3cc(0x3d6)](_0x43a25c);break;}else _0x49cc14['push'](_0x43a25c);const _0x30b8ae=(_0x5db2e4=(_0x1b82f5=_0x2cf73e[_0x2ad3cc(0x459)]())==null?void 0x0:_0x1b82f5[_0x2ad3cc(0x545)])!=null?_0x5db2e4:_0x2ad3cc(0x1c5),_0x25d65f=(_0x4b543f=(_0x35292c=_0x2cf73e[_0x2ad3cc(0x459)]())==null?void 0x0:_0x35292c[_0x2ad3cc(0x1e5)])!=null?_0x4b543f:_0x2ad3cc(0x1c5);return{'changeset':{'unitID':_0xb9397e,'type':S['mapDocumentTypeToUniverType'](_0x230d10[_0x2ad3cc(0x19b)](_0xb9397e)),'baseRev':_0x32f43f[_0x2ad3cc(0x3e5)](_0xb9397e),'revision':0x0,'userID':_0x30b8ae,'memberID':_0x25d65f,'mutations':_0x49cc14},'pendingMutations':_0x274244['slice'](_0x49cc14[_0x2ad3cc(0x530)])};}function xi(_0x3a1eba,_0x23db0a,_0x19ff95,_0x4a4902,_0x2a35ac){const _0x56f407=_0x4a9685;var _0x2ff8c7,_0x4b3fa8,_0x2255fe,_0x54f91a;const _0x2204f4=[_0x3a1eba[_0x56f407(0x2a2)]((_0x59a728,_0x149d80)=>{const _0x1f482e=_0x56f407;var _0x14cda9;const {id:_0x51879a}=_0x59a728,{id:_0x447943,type:_0x562e17}=_0x149d80,_0x17e3a2=(_0x14cda9=_0x59a728['params'])!=null?_0x14cda9:{'actions':null},_0x496ffb=_0x149d80[_0x1f482e(0x4da)];if(_0x51879a&&_0x51879a!==_0x447943)throw new Error(_0x1f482e(0x44b)+_0x51879a+_0x1f482e(0x579)+_0x447943+'.');return{..._0x59a728,'id':_0x447943,'type':_0x562e17,'params':{'unitId':_0x496ffb['unitId'],'textRanges':_0x496ffb[_0x1f482e(0x236)],'actions':a[_0x1f482e(0x14e)][_0x1f482e(0x330)](_0x17e3a2['actions'],_0x496ffb['actions'])}};},{})],_0x5bcae6=(_0x4b3fa8=(_0x2ff8c7=_0x2a35ac[_0x56f407(0x459)]())==null?void 0x0:_0x2ff8c7[_0x56f407(0x545)])!=null?_0x4b3fa8:_0x56f407(0x1c5),_0x211bc0=(_0x54f91a=(_0x2255fe=_0x2a35ac[_0x56f407(0x459)]())==null?void 0x0:_0x2255fe[_0x56f407(0x1e5)])!=null?_0x54f91a:_0x56f407(0x1c5);return{'changeset':{'unitID':_0x23db0a,'type':S['mapDocumentTypeToUniverType'](_0x19ff95[_0x56f407(0x19b)](_0x23db0a)),'baseRev':_0x4a4902[_0x56f407(0x3e5)](_0x23db0a),'revision':0x0,'userID':_0x5bcae6,'memberID':_0x211bc0,'mutations':_0x2204f4},'pendingMutations':[]};}function fn(_0x561c14,_0x158f04){const _0x58ac31=_0x4a9685,_0x411628=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x411628[_0x58ac31(0x503)](_0x158f04),_0x561c14),_0x411628['asObservable']()['pipe'](A[_0x58ac31(0x3a5)](0x1));}const ji={'id':k[_0x4a9685(0x538)]['id'],'type':a[_0x4a9685(0x4b4)][_0x4a9685(0x58a)],'params':{}};var $i=Object[_0x4a9685(0x377)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x1659c9,_0xb7a90c,_0x116346,_0x4596c0)=>{for(var _0x4aa2db=_0x4596c0>0x1?void 0x0:_0x4596c0?Hi(_0xb7a90c,_0x116346):_0xb7a90c,_0xde0ea3=_0x1659c9['length']-0x1,_0x17c608;_0xde0ea3>=0x0;_0xde0ea3--)(_0x17c608=_0x1659c9[_0xde0ea3])&&(_0x4aa2db=(_0x4596c0?_0x17c608(_0xb7a90c,_0x116346,_0x4aa2db):_0x17c608(_0x4aa2db))||_0x4aa2db);return _0x4596c0&&_0x4aa2db&&$i(_0xb7a90c,_0x116346,_0x4aa2db),_0x4aa2db;},N=(_0x479e8b,_0xfb4892)=>(_0x19f68d,_0xcf47d4)=>_0xfb4892(_0x19f68d,_0xcf47d4,_0x479e8b),q=(_0x1e0a4a=>(_0x1e0a4a[_0x4a9685(0x5bd)]=_0x4a9685(0x1a1),_0x1e0a4a['SYNCED']='synced',_0x1e0a4a['PENDING']=_0x4a9685(0x3f0),_0x1e0a4a[_0x4a9685(0x411)]=_0x4a9685(0x529),_0x1e0a4a[_0x4a9685(0x28b)]=_0x4a9685(0x581),_0x1e0a4a['FETCH_MISS']='fetch_missing',_0x1e0a4a[_0x4a9685(0x328)]=_0x4a9685(0x2b1),_0x1e0a4a[_0x4a9685(0x338)]=_0x4a9685(0x277),_0x1e0a4a))(q||{});const vn=0xea60;class Ce{constructor(_0x200c16,_0x1ace0d,_0x2a6efb,_0xa5aef,_0x3767ae,_0x391079,_0x28bdce,_0x5bb7b4,_0x22c8ee){const _0x5ab528=_0x4a9685;I(this,_0x5ab528(0x249),null),I(this,_0x5ab528(0x256),[]),(this[_0x5ab528(0x197)]=_0x200c16,this[_0x5ab528(0x3e4)]=_0x1ace0d,this[_0x5ab528(0x168)]=_0x3767ae,this[_0x5ab528(0x55e)]=_0x391079,this['_undoRedoService']=_0x28bdce,this[_0x5ab528(0x26d)]=_0x5bb7b4,this[_0x5ab528(0x142)]=_0x22c8ee,this['_awaitingChangeset']=_0x2a6efb,this[_0x5ab528(0x256)]=_0xa5aef);}['_checkMissing'](_0x1ba601){const _0x38dacf=_0x4a9685,_0x2cc558=this[_0x38dacf(0x26d)][_0x38dacf(0x3e5)](this['unitID']);return _0x1ba601[_0x38dacf(0x33a)]>_0x2cc558+0x1?(this[_0x38dacf(0x168)][_0x38dacf(0x354)]({'from':_0x2cc558,'to':_0x1ba601['revision']-0x1}),!0x0):!0x1;}[_0x4a9685(0x53b)](_0x275f28){const _0x30ddd5=_0x4a9685;this[_0x30ddd5(0x3d2)][_0x30ddd5(0x246)](this[_0x30ddd5(0x197)],_0x275f28);}['_transformSelections'](_0x162114){const _0x26066c=_0x4a9685;var _0x244709,_0x515c17;(_0x515c17=(_0x244709=this[_0x26066c(0x168)])['onTransformSelections'])==null||_0x515c17[_0x26066c(0x20c)](_0x244709,_0x162114);}[_0x4a9685(0x43a)](_0xd4df5c){const _0x47c90c=_0x4a9685;var _0x4e34b8,_0x2bbacb;return(_0x2bbacb=(_0x4e34b8=this[_0x47c90c(0x168)])[_0x47c90c(0x45b)])==null?void 0x0:_0x2bbacb[_0x47c90c(0x20c)](_0x4e34b8,_0xd4df5c);}[_0x4a9685(0x5e5)](_0x3505aa){const _0x711246=_0x4a9685;var _0x198abe,_0x40e46c;return(_0x40e46c=(_0x198abe=this[_0x711246(0x168)])['onTransformState'])==null?void 0x0:_0x40e46c[_0x711246(0x20c)](_0x198abe,_0x3505aa);}['_transformRemoteChangesetByIMECache'](_0x53b7f2){const _0x23f861=_0x4a9685;var _0x286f72,_0x161305,_0x3ce5b1;return(_0x3ce5b1=(_0x161305=(_0x286f72=this[_0x23f861(0x168)])[_0x23f861(0x4aa)])==null?void 0x0:_0x161305[_0x23f861(0x20c)](_0x286f72,_0x53b7f2))!=null?_0x3ce5b1:_0x53b7f2;}['_transformRemoteChangesetByStateCache'](_0x4b9bd8){const _0x16c072=_0x4a9685;var _0x400d6b,_0x3688e6,_0x2cd924;return(_0x2cd924=(_0x3688e6=(_0x400d6b=this[_0x16c072(0x168)])[_0x16c072(0x5a0)])==null?void 0x0:_0x3688e6[_0x16c072(0x20c)](_0x400d6b,_0x4b9bd8))!=null?_0x2cd924:_0x4b9bd8;}[_0x4a9685(0x233)](_0x2b2f28){const _0x16bd41=_0x4a9685;var _0x1ec4ce,_0x55b033;if(this[_0x16bd41(0x3e4)]===ie[_0x16bd41(0x22a)]){const {unitID:_0x352632,mutations:_0x3bcf5e,memberID:_0x1b37e6}=_0x2b2f28,_0x2b2789=_0x3bcf5e[0x0][_0x16bd41(0x4da)][_0x16bd41(0x236)];Array[_0x16bd41(0x36d)](_0x2b2789)&&_0x2b2789[_0x16bd41(0x530)]>0x0&&((_0x55b033=(_0x1ec4ce=this[_0x16bd41(0x168)])[_0x16bd41(0x379)])==null||_0x55b033[_0x16bd41(0x20c)](_0x1ec4ce,{'unitID':_0x352632,'memberID':_0x1b37e6,'textRanges':_0x2b2789}));}}[_0x4a9685(0x29e)](){const _0x74b427=_0x4a9685;this[_0x74b427(0x142)][_0x74b427(0x14f)](this[_0x74b427(0x197)],this[_0x74b427(0x3e4)],this['_awaitingChangeset'],this[_0x74b427(0x256)]);}[_0x4a9685(0x342)](){const _0x2c896d=_0x4a9685;return this[_0x2c896d(0x26d)][_0x2c896d(0x3e5)](this[_0x2c896d(0x197)]);}[_0x4a9685(0x25f)](){const _0x450b70=_0x4a9685;this['_revisionService'][_0x450b70(0x1d8)](this[_0x450b70(0x197)]);}[_0x4a9685(0x5b3)](_0x3010bc){const _0x352925=_0x4a9685;var _0x416b6f;let _0x86cfa=this['_transformRemoteChangesetByIMECache'](_0x3010bc);_0x86cfa=this[_0x352925(0x452)](_0x86cfa);const _0x6d9326=a['sequenceExecute'](_0x86cfa['mutations'],this[_0x352925(0x55e)],{'fromCollab':!0x0});if(!_0x6d9326[_0x352925(0x30f)])throw _0x6d9326[_0x352925(0x3d8)]instanceof Error?_0x6d9326['error']:new Error((_0x416b6f=_0x6d9326[_0x352925(0x3d8)])!=null?_0x416b6f:_0x352925(0x136));this[_0x352925(0x43a)](_0x86cfa),this[_0x352925(0x5e5)](_0x86cfa),this[_0x352925(0x53b)](_0x3010bc),this[_0x352925(0x335)](_0x86cfa),this['_syncEditingCollabCursor'](_0x86cfa),this[_0x352925(0x25f)]();}}let Oe=class extends Ce{constructor(_0x2739a2,_0x133aa4,_0x4b35eb,_0x5303a2,_0x28ed98,_0x376622,_0x2cc051,_0xe33258,_0x7b872d,_0x4f72db){const _0xea5f69=_0x4a9685;super(_0x2739a2,_0x133aa4,null,[],_0x4b35eb,_0xe33258,_0x2cc051,_0x5303a2,_0x28ed98),I(this,_0xea5f69(0x226),_0xea5f69(0x3dd)),(this[_0xea5f69(0x372)]=_0x376622,this[_0xea5f69(0x480)]=_0x7b872d,this[_0xea5f69(0x4f6)]=_0x4f72db);}['appendMutation'](_0x563c1f){const _0x536cee=_0x4a9685,_0x349d28=this[_0x536cee(0x372)]['createInstance'](ce,this[_0x536cee(0x197)],this[_0x536cee(0x3e4)],[_0x563c1f],this['_handler']);return _0x349d28[_0x536cee(0x3a8)](),_0x349d28[_0x536cee(0x29e)](),_0x349d28;}[_0x4a9685(0x2bf)](_0x380901){const _0x21d2b0=_0x4a9685;if(this[_0x21d2b0(0x34d)](_0x380901))return this['_injector'][_0x21d2b0(0x572)](re,this[_0x21d2b0(0x197)],this[_0x21d2b0(0x3e4)],null,[],null,[_0x380901],this[_0x21d2b0(0x168)]);try{const _0x16e3a4=this['_transformService'][_0x21d2b0(0x4ed)](_0x380901,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x16e3a4)){const {c1Prime:_0x5c6748}=_0x16e3a4;return this['_executeRemoteChangeset'](_0x5c6748),this;}throw _0x16e3a4[_0x21d2b0(0x3d8)];}catch(_0x31781b){return this[_0x21d2b0(0x480)][_0x21d2b0(0x3d8)](_0x31781b),this[_0x21d2b0(0x341)](!0x1);}}[_0x4a9685(0x341)](_0x53d5d0){const _0x459c52=_0x4a9685;return this[_0x459c52(0x372)]['createInstance'](ve,this['unitID'],this[_0x459c52(0x3e4)],null,[],this['_handler'],_0x53d5d0);}[_0x4a9685(0x3e9)](){const _0x1fab31=_0x4a9685;throw new Error(_0x1fab31(0x1a6));}[_0x4a9685(0x37b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){const _0x4c9994=_0x4a9685;return this[_0x4c9994(0x372)]['createInstance'](me,this[_0x4c9994(0x197)],this['type'],null,[],this[_0x4c9994(0x168)]);}[_0x4a9685(0x2aa)](){return this;}['resend'](){const _0x43e29a=_0x4a9685;throw new Error(_0x43e29a(0x3f6));}[_0x4a9685(0x288)](){const _0x1e83ee=_0x4a9685,_0x45f615=this[_0x1e83ee(0x26d)][_0x1e83ee(0x3e5)](this[_0x1e83ee(0x197)]);return this[_0x1e83ee(0x168)][_0x1e83ee(0x354)]({'from':_0x45f615,'to':0x0}),this['_injector'][_0x1e83ee(0x572)](re,this[_0x1e83ee(0x197)],this[_0x1e83ee(0x3e4)],null,[],null,[],this['_handler']);}};Oe=Ie([N(0x3,a[_0x4a9685(0x27a)](S['RevisionService'])),N(0x4,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x5,a[_0x4a9685(0x27a)](a['Injector'])),N(0x6,a['IUndoRedoService']),N(0x7,a['ICommandService']),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,S[_0x4a9685(0x315)])],Oe);let ce=class extends Ce{constructor(_0x987cb9,_0x377578,_0x38a074,_0x4c69ee,_0x1167f5,_0xdb5536,_0x81ac67,_0x5d4499,_0x33408d,_0x14cda2,_0x1ec550,_0x34e453,_0x2a6a99,_0x44dfcb){const _0x1b0e50=_0x4a9685;super(_0x987cb9,_0x377578,null,_0x38a074,_0x4c69ee,_0x14cda2,_0x44dfcb,_0xdb5536,_0x81ac67),I(this,_0x1b0e50(0x226),_0x1b0e50(0x3f0)),I(this,_0x1b0e50(0x267),null),I(this,_0x1b0e50(0x583),null),(this[_0x1b0e50(0x372)]=_0x1167f5,this[_0x1b0e50(0x1f9)]=_0x5d4499,this[_0x1b0e50(0x480)]=_0x33408d,this[_0x1b0e50(0x294)]=_0x1ec550,this['_transformService']=_0x34e453,this[_0x1b0e50(0x54a)]=_0x2a6a99);}[_0x4a9685(0x40c)](_0x3f9ee2){const _0x6de967=_0x4a9685;return this[_0x6de967(0x256)]['push'](_0x3f9ee2),this[_0x6de967(0x29e)](),this;}[_0x4a9685(0x2bf)](_0x400500){const _0x49047f=_0x4a9685;if(this[_0x49047f(0x34d)](_0x400500))return this[_0x49047f(0x1ba)](),this[_0x49047f(0x372)]['createInstance'](re,this['unitID'],this[_0x49047f(0x3e4)],null,this[_0x49047f(0x256)],null,[_0x400500],this[_0x49047f(0x168)]);try{const _0x50b184=this[_0x49047f(0x4f6)][_0x49047f(0x4ed)](_0x400500,this['_pendingMutations']);if(S['isTransformMutationsWithChangesetSuccess'](_0x50b184)){const {c1Prime:_0x5ad64d,m2Prime:_0x330aeb}=_0x50b184;this['_executeRemoteChangeset'](_0x5ad64d);const _0x250f79=this[_0x49047f(0x372)][_0x49047f(0x572)](ce,this[_0x49047f(0x197)],this['type'],_0x330aeb,this[_0x49047f(0x168)]);return this['_clearScheduledTask'](),_0x250f79[_0x49047f(0x3a8)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x49047f(0x1d1)]()-this['_scheduleTimestamp']):this[_0x49047f(0x3cb)]()),_0x250f79;}throw _0x50b184[_0x49047f(0x3d8)];}catch(_0x36a407){return this[_0x49047f(0x480)]['error'](_0x36a407),this['_onConflict'](!0x1);}}[_0x4a9685(0x3e9)](){const _0x1da277=_0x4a9685;throw new Error(_0x1da277(0x4e0));}['onRemoteRej'](){const _0xb24ad4=_0x4a9685;throw new Error(_0xb24ad4(0x391));}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){const _0x42bc73=_0x4a9685;return this[_0x42bc73(0x1ba)](),this[_0x42bc73(0x372)][_0x42bc73(0x572)](me,this['unitID'],this['type'],null,this[_0x42bc73(0x256)],this['_handler']);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x3a8)](_0x4a75bb){const _0x35ba8=_0x4a9685,_0x1111b5=_0x4a75bb!=null?_0x4a75bb:this['_getSendChangesetTimeout']();this[_0x35ba8(0x267)]=new Date()[_0x35ba8(0x1d1)](),this[_0x35ba8(0x583)]=window[_0x35ba8(0x595)](()=>{const _0x4dc62b=_0x35ba8;this['_clearScheduledTask']();let _0x41a809=null;switch(this[_0x4dc62b(0x3e4)]){case ie['UNIVER_SHEET']:{_0x41a809=jt(this[_0x4dc62b(0x256)],this[_0x4dc62b(0x197)],this[_0x4dc62b(0x54a)],this[_0x4dc62b(0x26d)],this[_0x4dc62b(0x1f9)]);break;}case ie[_0x4dc62b(0x22a)]:{this['_pendingMutations'][_0x4dc62b(0x4b0)](_0x24c355=>_0x24c355['id']===ye[_0x4dc62b(0x4de)]['id'])?_0x41a809=xi(this[_0x4dc62b(0x256)],this[_0x4dc62b(0x197)],this['_univerInstanceService'],this[_0x4dc62b(0x26d)],this[_0x4dc62b(0x1f9)]):_0x41a809=jt(this[_0x4dc62b(0x256)],this['unitID'],this['_univerInstanceService'],this[_0x4dc62b(0x26d)],this['_memberService']);break;}default:throw new Error(_0x4dc62b(0x45f)+this[_0x4dc62b(0x3e4)]+_0x4dc62b(0x534));}const {changeset:_0x2f95fe,pendingMutations:_0x4929cf}=_0x41a809;this[_0x4dc62b(0x168)][_0x4dc62b(0x2b8)](_0x2f95fe);const _0xe065d9=_0x4929cf[_0x4dc62b(0x530)]?this[_0x4dc62b(0x372)]['createInstance'](le,this[_0x4dc62b(0x197)],this[_0x4dc62b(0x3e4)],_0x2f95fe,_0x4929cf,this['_handler'],void 0x0):this[_0x4dc62b(0x372)][_0x4dc62b(0x572)](fe,this['unitID'],this[_0x4dc62b(0x3e4)],_0x2f95fe,this[_0x4dc62b(0x168)]);_0xe065d9[_0x4dc62b(0x29e)](),this[_0x4dc62b(0x168)][_0x4dc62b(0x24b)](this,_0xe065d9);},_0x1111b5);}[_0x4a9685(0x3cb)](){const _0x2738da=_0x4a9685;var _0x5c40af;const _0x3cbd5c=this[_0x2738da(0x294)][_0x2738da(0x4a1)](te);return(_0x5c40af=_0x3cbd5c==null?void 0x0:_0x3cbd5c[_0x2738da(0x202)])!=null?_0x5c40af:kn;}[_0x4a9685(0x1dd)](){const _0x1940af=_0x4a9685;throw new Error(_0x1940af(0x48a));}[_0x4a9685(0x1ba)](){const _0x78272=_0x4a9685;this[_0x78272(0x583)]!=null&&(clearTimeout(this[_0x78272(0x583)]),this['_sendingTimer']=null);}[_0x4a9685(0x341)](_0x52d8fa){const _0xc4c151=_0x4a9685;return this[_0xc4c151(0x1ba)](),this[_0xc4c151(0x372)][_0xc4c151(0x572)](ve,this[_0xc4c151(0x197)],this[_0xc4c151(0x3e4)],null,this[_0xc4c151(0x256)],this[_0xc4c151(0x168)],_0x52d8fa);}};ce=Ie([N(0x4,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),N(0x5,a[_0x4a9685(0x27a)](S['RevisionService'])),N(0x6,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x7,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x3e1)])),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,a[_0x4a9685(0x449)]),N(0xa,a[_0x4a9685(0x3fb)]),N(0xb,S[_0x4a9685(0x315)]),N(0xc,a[_0x4a9685(0x3c5)]),N(0xd,a[_0x4a9685(0x23b)])],ce);let fe=class extends Ce{constructor(_0x48bf8e,_0x532070,_0x2f6ee5,_0x36421,_0x586c09,_0x3ef998,_0x1e7b0f,_0x14c955,_0xbc1b4f,_0x434ca3,_0x456db9){const _0x4462fb=_0x4a9685;super(_0x48bf8e,_0x532070,_0x2f6ee5,[],_0x36421,_0x14c955,_0x456db9,_0x3ef998,_0x1e7b0f),I(this,_0x4462fb(0x226),_0x4462fb(0x529)),I(this,_0x4462fb(0x4df),0x0),I(this,_0x4462fb(0x177)),I(this,_0x4462fb(0x2a8)),(this['_injector']=_0x586c09,this[_0x4462fb(0x480)]=_0xbc1b4f,this[_0x4462fb(0x4f6)]=_0x434ca3);}[_0x4a9685(0x40c)](_0x3997a8){const _0xa1a965=_0x4a9685;this['_clearScheduledTask']();const _0x13f673=this['_injector'][_0xa1a965(0x572)](le,this[_0xa1a965(0x197)],this[_0xa1a965(0x3e4)],this[_0xa1a965(0x249)],[_0x3997a8],this[_0xa1a965(0x168)],this['_resendTimer']);return _0x13f673['_updateLocalCache'](),_0x13f673;}[_0x4a9685(0x2bf)](_0x33c424){const _0x171ba3=_0x4a9685;if(this[_0x171ba3(0x34d)](_0x33c424))return this[_0x171ba3(0x1ba)](),this[_0x171ba3(0x372)][_0x171ba3(0x572)](re,this['unitID'],this[_0x171ba3(0x3e4)],this[_0x171ba3(0x249)],[],null,[_0x33c424],this[_0x171ba3(0x168)]);try{const _0x21a9de=this['_transformService']['transformChangesets']([_0x33c424],[this['_awaitingChangeset']],!0x1);if(S[_0x171ba3(0x13e)](_0x21a9de)){const {c1Prime:_0x3ac792,c2Prime:_0x5a9bf3}=_0x21a9de;this[_0x171ba3(0x5b3)](_0x3ac792[0x0]),_0x5a9bf3[0x0][_0x171ba3(0x5f0)]=this[_0x171ba3(0x342)](),this['_clearScheduledTask']();const _0x5de4d1=this[_0x171ba3(0x372)][_0x171ba3(0x572)](fe,this[_0x171ba3(0x197)],this[_0x171ba3(0x3e4)],_0x5a9bf3[0x0],this[_0x171ba3(0x168)]);return _0x5de4d1[_0x171ba3(0x29e)](),_0x5de4d1;}return this[_0x171ba3(0x341)](!0x1);}catch(_0x2f6522){return this[_0x171ba3(0x480)][_0x171ba3(0x3d8)](_0x2f6522),this[_0x171ba3(0x341)](!0x1);}}[_0x4a9685(0x3e9)](_0x211bbb){const _0x432e95=_0x4a9685;this[_0x432e95(0x1ba)]();const _0x557efd=this[_0x432e95(0x26d)]['getCurrentRevOfUnit'](this['unitID']);if(_0x211bbb[_0x432e95(0x33a)]<_0x557efd-0x1)return this;if(this['_checkMissing'](_0x211bbb))return this[_0x432e95(0x372)][_0x432e95(0x572)](re,this[_0x432e95(0x197)],this[_0x432e95(0x3e4)],null,[],this[_0x432e95(0x249)],[],this[_0x432e95(0x168)]);this[_0x432e95(0x25f)]();const _0x1febf0=this[_0x432e95(0x372)][_0x432e95(0x572)](Oe,this[_0x432e95(0x197)],this[_0x432e95(0x3e4)],this[_0x432e95(0x168)]);return _0x1febf0[_0x432e95(0x29e)](),_0x1febf0;}['onRemoteRej'](_0x31e1be){const _0x4a1c95=_0x4a9685;return this[_0x4a1c95(0x341)](!!(_0x31e1be!=null&&_0x31e1be['isPermissionRej']));}[_0x4a9685(0x2df)](_0x50751a){const _0x5d665d=_0x4a9685;return this[_0x5d665d(0x4df)]>vn?this[_0x5d665d(0x3b7)]():(this['_resendTimer']=fn(this[_0x5d665d(0x4df)],{'timeout':this[_0x5d665d(0x4df)],'reqId':_0x50751a[_0x5d665d(0x586)]}),this[_0x5d665d(0x2a8)]=this[_0x5d665d(0x177)]['subscribe'](({reqId:_0x2a8f01,timeout:_0x56610d})=>{const _0x3958b0=_0x5d665d;this[_0x3958b0(0x1e6)](_0x2a8f01,_0x56610d);}),this);}[_0x4a9685(0x3b7)](){const _0x1c1a9a=_0x4a9685;return this[_0x1c1a9a(0x1ba)](),this[_0x1c1a9a(0x372)][_0x1c1a9a(0x572)](me,this['unitID'],this[_0x1c1a9a(0x3e4)],this['_awaitingChangeset'],[],this[_0x1c1a9a(0x168)]);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x1dd)](){const _0x4d39a7=_0x4a9685;this[_0x4d39a7(0x168)][_0x4d39a7(0x2b8)](this[_0x4d39a7(0x249)]);}[_0x4a9685(0x341)](_0x4f4eaf){const _0x43a3d5=_0x4a9685;return this['_clearScheduledTask'](),this[_0x43a3d5(0x372)][_0x43a3d5(0x572)](ve,this['unitID'],this[_0x43a3d5(0x3e4)],this[_0x43a3d5(0x249)],[],this['_handler'],_0x4f4eaf);}[_0x4a9685(0x1e6)](_0x208b73,_0x1fc626){const _0x2bbe4f=_0x4a9685;var _0x403338;_0x208b73===((_0x403338=this[_0x2bbe4f(0x249)])==null?void 0x0:_0x403338[_0x2bbe4f(0x586)])&&(this[_0x2bbe4f(0x1dd)](),this[_0x2bbe4f(0x4df)]=_0x1fc626===0x0?0x3e8:_0x1fc626*0x2);}[_0x4a9685(0x1ba)](){const _0x4dec7e=_0x4a9685;var _0x26934f;(_0x26934f=this[_0x4dec7e(0x2a8)])==null||_0x26934f[_0x4dec7e(0x402)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x4a9685(0x27a)](a['Injector'])),N(0x5,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x6,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x7,a[_0x4a9685(0x449)]),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,S[_0x4a9685(0x315)]),N(0xa,a[_0x4a9685(0x23b)])],fe);let le=class extends Ce{constructor(_0x53a8a7,_0x2b9449,_0x1be90b,_0x1297d9,_0x88dfd3,_0x303b43,_0x186116,_0x124e2b,_0x3568f2,_0xed038c,_0x109d4a,_0xc1f37b,_0x376ec4){const _0x1836a4=_0x4a9685;super(_0x53a8a7,_0x2b9449,_0x1be90b,_0x1297d9,_0x88dfd3,_0xed038c,_0x376ec4,_0x124e2b,_0x3568f2),I(this,_0x1836a4(0x226),'awaiting_with_pending'),I(this,_0x1836a4(0x4df),0x0),I(this,'_resendTimer'),I(this,_0x1836a4(0x2a8)),(this[_0x1836a4(0x372)]=_0x186116,this[_0x1836a4(0x480)]=_0x109d4a,this[_0x1836a4(0x4f6)]=_0xc1f37b,_0x303b43&&(this[_0x1836a4(0x177)]=_0x303b43,this[_0x1836a4(0x2a8)]=this[_0x1836a4(0x177)][_0x1836a4(0x419)](({reqId:_0x2186fb,timeout:_0x1be389})=>{const _0x122033=_0x1836a4;this[_0x122033(0x1e6)](_0x2186fb,_0x1be389);})));}[_0x4a9685(0x40c)](_0x5d3193){const _0x4d73b8=_0x4a9685;return this[_0x4d73b8(0x256)][_0x4d73b8(0x3d6)](_0x5d3193),this;}['onRemoteChangeset'](_0x445c07){const _0x589140=_0x4a9685;if(this[_0x589140(0x34d)](_0x445c07))return this[_0x589140(0x1ba)](),this[_0x589140(0x372)]['createInstance'](re,this[_0x589140(0x197)],this[_0x589140(0x3e4)],this[_0x589140(0x249)],this['_pendingMutations'],null,[_0x445c07],this[_0x589140(0x168)]);try{const _0x4a46e8=this[_0x589140(0x4f6)][_0x589140(0x3d5)]([_0x445c07],[this[_0x589140(0x249)]],!0x1);if(S['isTransformChangesetsSuccess'](_0x4a46e8)){const {c1Prime:_0x3f2ae1,c2Prime:_0x173712}=_0x4a46e8,_0x114efa=this[_0x589140(0x4f6)][_0x589140(0x4ed)](_0x3f2ae1[0x0],this[_0x589140(0x256)]);if(S[_0x589140(0x453)](_0x114efa)){const {c1Prime:_0x2f83de,m2Prime:_0x4845c3}=_0x114efa;return this['_executeRemoteChangeset'](_0x2f83de),_0x173712[0x0][_0x589140(0x5f0)]=this[_0x589140(0x342)](),this[_0x589140(0x1ba)](),this[_0x589140(0x372)][_0x589140(0x572)](le,this[_0x589140(0x197)],this['type'],_0x173712[0x0],_0x4845c3,this['_handler'],void 0x0);}throw _0x114efa[_0x589140(0x3d8)];}throw _0x4a46e8[_0x589140(0x3d8)];}catch(_0x26d7f9){return this['_logService'][_0x589140(0x3d8)](_0x26d7f9),this[_0x589140(0x341)](!0x1);}}[_0x4a9685(0x3e9)](_0x158297){const _0x237fed=_0x4a9685;if(this[_0x237fed(0x1ba)](),this[_0x237fed(0x34d)](_0x158297))return this[_0x237fed(0x372)][_0x237fed(0x572)](re,this[_0x237fed(0x197)],this['type'],null,this[_0x237fed(0x256)],this['_awaitingChangeset'],[],this[_0x237fed(0x168)]);this[_0x237fed(0x25f)]();const _0x175135=this['_injector'][_0x237fed(0x572)](ce,this[_0x237fed(0x197)],this[_0x237fed(0x3e4)],this[_0x237fed(0x256)],this[_0x237fed(0x168)]);return _0x175135[_0x237fed(0x3a8)](),_0x175135[_0x237fed(0x29e)](),_0x175135;}['onRemoteRej'](_0x4fff06){return this['_onConflict'](!!(_0x4fff06!=null&&_0x4fff06['isPermissionRej']));}['onRemoteRetry'](_0x533e5a){const _0x14c5e9=_0x4a9685;return this[_0x14c5e9(0x4df)]>vn?this[_0x14c5e9(0x3b7)]():(this[_0x14c5e9(0x177)]=fn(this[_0x14c5e9(0x4df)],{'timeout':this[_0x14c5e9(0x4df)],'reqId':_0x533e5a[_0x14c5e9(0x586)]}),this[_0x14c5e9(0x2a8)]=this['_resendTimer'][_0x14c5e9(0x419)](({reqId:_0x48027b,timeout:_0xa05bb2})=>{const _0xb93115=_0x14c5e9;this[_0xb93115(0x1e6)](_0x48027b,_0xa05bb2);}),this);}[_0x4a9685(0x3b7)](){const _0x3e0f44=_0x4a9685;return this[_0x3e0f44(0x1ba)](),this[_0x3e0f44(0x372)][_0x3e0f44(0x572)](me,this['unitID'],this[_0x3e0f44(0x3e4)],this[_0x3e0f44(0x249)],this[_0x3e0f44(0x256)],this['_handler']);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x1dd)](){const _0xee4713=_0x4a9685;this[_0xee4713(0x168)][_0xee4713(0x2b8)](this[_0xee4713(0x249)]);}[_0x4a9685(0x341)](_0x14b011){const _0x2f245e=_0x4a9685;return this[_0x2f245e(0x1ba)](),this[_0x2f245e(0x372)][_0x2f245e(0x572)](ve,this[_0x2f245e(0x197)],this['type'],null,this[_0x2f245e(0x256)],this[_0x2f245e(0x168)],_0x14b011);}[_0x4a9685(0x1e6)](_0x498ac8,_0x21bb72){const _0x10498b=_0x4a9685;var _0x508d8a;_0x498ac8===((_0x508d8a=this[_0x10498b(0x249)])==null?void 0x0:_0x508d8a[_0x10498b(0x586)])&&(this[_0x10498b(0x1dd)](),this[_0x10498b(0x4df)]=_0x21bb72===0x0?0x3e8:_0x21bb72*0x2);}[_0x4a9685(0x1ba)](){const _0x2d2a7d=_0x4a9685;var _0xd269a5;(_0xd269a5=this['_sender'])==null||_0xd269a5[_0x2d2a7d(0x402)](),this[_0x2d2a7d(0x4df)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x4a9685(0x17d)])),N(0x7,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x8,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),N(0x9,a[_0x4a9685(0x449)]),N(0xa,a['ILogService']),N(0xb,S['ITransformService']),N(0xc,a[_0x4a9685(0x23b)])],le);let ve=class extends Ce{constructor(_0x7bb8c4,_0x332ed7,_0x1cf206,_0x17e878,_0x591023,_0x1d3aef=!0x1,_0x20c1a3,_0x123a2e,_0x236b98,_0xdd7aea,_0x4e1e6b,_0x22b8bc,_0x4bd779){const _0x52d4c5=_0x4a9685;super(_0x7bb8c4,_0x332ed7,_0x1cf206,_0x17e878,_0x591023,_0x123a2e,_0x236b98,_0x4e1e6b,_0xdd7aea),I(this,'status','conflict'),(this[_0x52d4c5(0x3ba)]=_0x1d3aef,this[_0x52d4c5(0x3e0)]=_0x20c1a3,this[_0x52d4c5(0x39c)]=_0x22b8bc,this[_0x52d4c5(0x31d)]=_0x4bd779,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x52d4c5(0x1b5)]());}[_0x4a9685(0x40c)](){return this;}[_0x4a9685(0x2bf)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){return this;}[_0x4a9685(0x2aa)](){return this;}['resend'](){const _0x24c2e0=_0x4a9685;throw new Error(_0x24c2e0(0x280));}[_0x4a9685(0x364)](){const _0x3d9836=_0x4a9685;this[_0x3d9836(0x142)]['updateOfflineData'](this['unitID'],this[_0x3d9836(0x3e4)],null,[]);}[_0x4a9685(0x15f)](){const _0x52307c=_0x4a9685;this[_0x52307c(0x3ba)]?this[_0x52307c(0x31d)][_0x52307c(0x36b)]({'title':this[_0x52307c(0x39c)]['t'](_0x52307c(0x18b)),'content':this['_localeService']['t'](_0x52307c(0x51c)),'type':_0x52307c(0x3d8),'duration':0x0}):this[_0x52307c(0x31d)][_0x52307c(0x36b)]({'title':this['_localeService']['t'](_0x52307c(0x4d6)),'content':this[_0x52307c(0x39c)]['t'](_0x52307c(0x51b)),'type':'error','duration':0x0});}[_0x4a9685(0x1b5)](){const _0x14444b=_0x4a9685;this['_permissionService'][_0x14444b(0x38e)](new k[(_0x14444b(0x1ef))](this[_0x14444b(0x197)])['id'],!0x1);}};ve=Ie([N(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x310)])),N(0x7,a[_0x4a9685(0x449)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),N(0xa,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0xb,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x34b251,_0x3cf9ee,_0x310e7c,_0x42c445,_0x463f83,_0x1a8a75,_0x277c7a,_0x5651d2,_0x5dd647,_0x3b8b75){const _0x3dc074=_0x4a9685;super(_0x34b251,_0x3cf9ee,_0x310e7c,_0x42c445,_0x463f83,_0x5dd647,_0x3b8b75,_0x277c7a,_0x5651d2),I(this,_0x3dc074(0x226),_0x3dc074(0x277)),this['_injector']=_0x1a8a75;}['appendMutation'](_0x449f74){const _0x14873e=_0x4a9685;return this[_0x14873e(0x256)][_0x14873e(0x3d6)](_0x449f74),this[_0x14873e(0x29e)](),this;}[_0x4a9685(0x2bf)](_0x598d37){const _0x2c0f1c=_0x4a9685;throw new Error(_0x2c0f1c(0x444));}['onRemoteAck'](){const _0x3c1e6b=_0x4a9685;throw new Error(_0x3c1e6b(0x3d3));}['onRemoteRej'](){const _0x532fbe=_0x4a9685;throw new Error(_0x532fbe(0x58b));}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){return this;}[_0x4a9685(0x2aa)](){const _0x589aff=_0x4a9685,{_injector:_0xbdac23,_pendingMutations:_0x354862,_awaitingChangeset:_0x2efb45,unitID:_0x3a53dc,_handler:_0x2dd70f,type:_0x1f9e9d}=this,_0x3cd3be=mn(_0xbdac23,_0x3a53dc,_0x1f9e9d,_0x2efb45,_0x354862,_0x2dd70f);return _0x3cd3be instanceof ce?_0x3cd3be[_0x589aff(0x3a8)]():(_0x3cd3be instanceof le||_0x3cd3be instanceof fe)&&_0x3cd3be['resend'](),_0x3cd3be;}[_0x4a9685(0x1dd)](){const _0x2f3950=_0x4a9685;throw new Error(_0x2f3950(0x274));}};me=Ie([N(0x5,a[_0x4a9685(0x27a)](a['Injector'])),N(0x6,a['Inject'](S[_0x4a9685(0x1a9)])),N(0x7,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x8,a[_0x4a9685(0x449)]),N(0x9,a[_0x4a9685(0x23b)])],me);let re=class extends Ce{constructor(_0x1d3799,_0xb42ce2,_0x43c2c4,_0x4b8e05,_0x184075,_0x103884,_0x3eeb15,_0x53909f,_0x286684,_0x16f268,_0x6f3697,_0x2a2ecd,_0x1c267a,_0x290b86){const _0x27ffd3=_0x4a9685;super(_0x1d3799,_0xb42ce2,_0x43c2c4,_0x4b8e05,_0x3eeb15,_0x2a2ecd,_0x1c267a,_0x286684,_0x16f268),I(this,_0x27ffd3(0x226),_0x27ffd3(0x255)),(this[_0x27ffd3(0x414)]=_0x184075,this[_0x27ffd3(0x1bc)]=_0x103884,this[_0x27ffd3(0x372)]=_0x53909f,this[_0x27ffd3(0x480)]=_0x6f3697,this[_0x27ffd3(0x4f6)]=_0x290b86);}[_0x4a9685(0x144)](_0x1ddb28){const _0x4273aa=_0x4a9685;try{const _0x9d38a6=[..._0x1ddb28,...this['_queuedRemoteChangesets']],_0x9da79d=[this['_awaitingChangeset']||this[_0x4273aa(0x414)]][_0x4273aa(0x464)](_0x582d4b=>!!_0x582d4b);let _0xb06faf,_0x24d492;if(_0x9da79d[_0x4273aa(0x530)]){const _0x266a61=this[_0x4273aa(0x4f6)][_0x4273aa(0x3d5)](_0x9d38a6,_0x9da79d,!0x1);if(!S['isTransformChangesetsSuccess'](_0x266a61))throw _0x266a61[_0x4273aa(0x3d8)];_0xb06faf=_0x266a61['c1Prime'],_0x24d492=_0x266a61[_0x4273aa(0x2ad)];}else _0xb06faf=_0x9d38a6,_0x24d492=[];let _0x2ac278=this['_pendingMutations'];_0xb06faf[_0x4273aa(0x38f)](_0x442eb2=>{const _0x83da00=_0x4273aa;let _0x3c4bd8;if(_0x2ac278[_0x83da00(0x530)]){const _0x593f06=this['_transformService'][_0x83da00(0x4ed)](_0x442eb2,_0x2ac278);if(!S[_0x83da00(0x453)](_0x593f06))throw _0x593f06[_0x83da00(0x3d8)];_0x3c4bd8=_0x593f06[_0x83da00(0x51e)],_0x2ac278=_0x593f06[_0x83da00(0x403)];}else _0x3c4bd8=_0x442eb2;this['_executeRemoteChangeset'](_0x3c4bd8);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x4273aa(0x249)]&&_0x24d492[_0x4273aa(0x530)]&&(_0x24d492[0x0][_0x4273aa(0x5f0)]=this[_0x4273aa(0x342)]());let _0x78556d;if(this[_0x4273aa(0x249)]&&_0x2ac278[_0x4273aa(0x530)]!==0x0)_0x78556d=this[_0x4273aa(0x372)]['createInstance'](le,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],_0x24d492[0x0],_0x2ac278,this[_0x4273aa(0x168)],void 0x0);else{if(this[_0x4273aa(0x249)]&&_0x2ac278[_0x4273aa(0x530)]===0x0)_0x24d492[0x0]['baseRev']=this[_0x4273aa(0x342)](),_0x78556d=this['_injector'][_0x4273aa(0x572)](fe,this['unitID'],this[_0x4273aa(0x3e4)],_0x24d492[0x0],this[_0x4273aa(0x168)]);else{if(_0x2ac278[_0x4273aa(0x530)]!==0x0){const _0x43b4ac=this['_injector'][_0x4273aa(0x572)](ce,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],_0x2ac278,this[_0x4273aa(0x168)]);_0x43b4ac[_0x4273aa(0x3a8)](),_0x78556d=_0x43b4ac;}else _0x78556d=this[_0x4273aa(0x372)]['createInstance'](Oe,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],this['_handler']);}}return _0x78556d[_0x4273aa(0x29e)](),_0x78556d;}catch(_0x5df43d){return this[_0x4273aa(0x480)][_0x4273aa(0x3d8)](_0x4273aa(0x1ce),_0x4273aa(0x140),_0x5df43d),this[_0x4273aa(0x372)][_0x4273aa(0x572)](ve,this[_0x4273aa(0x197)],this['type'],this[_0x4273aa(0x249)],this['_pendingMutations'],this[_0x4273aa(0x168)],!0x1);}}[_0x4a9685(0x1dd)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a9685(0x40c)](_0x2cfeb1){const _0x2b869c=_0x4a9685;return this[_0x2b869c(0x256)][_0x2b869c(0x3d6)](_0x2cfeb1),this;}[_0x4a9685(0x2bf)](_0x5e7493){const _0x491372=_0x4a9685;return this[_0x491372(0x1bc)]['push'](_0x5e7493),this;}[_0x4a9685(0x3e9)](_0x3f2661){const _0x57ce5d=_0x4a9685;if(this['_awaitingChangeset'])return this[_0x57ce5d(0x414)]=this[_0x57ce5d(0x249)],this[_0x57ce5d(0x249)]=null,this;throw new Error(_0x57ce5d(0x2ed));}[_0x4a9685(0x37b)](_0x289181){const _0x517672=_0x4a9685;return this[_0x517672(0x341)](!!(_0x289181!=null&&_0x289181['isPermissionRej']));}[_0x4a9685(0x2df)](){return this;}['toggleOffline'](){const _0x2306bd=_0x4a9685;return this['_injector'][_0x2306bd(0x572)](me,this[_0x2306bd(0x197)],this['type'],this[_0x2306bd(0x249)],this[_0x2306bd(0x256)],this['_handler']);}['toggleOnline'](){return this;}[_0x4a9685(0x341)](_0xef6b08){const _0xb857c8=_0x4a9685;return this['_injector'][_0xb857c8(0x572)](ve,this[_0xb857c8(0x197)],this[_0xb857c8(0x3e4)],this[_0xb857c8(0x249)],this[_0xb857c8(0x256)],this[_0xb857c8(0x168)],_0xef6b08);}};re=Ie([N(0x7,a['Inject'](a[_0x4a9685(0x17d)])),N(0x8,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x9,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0xa,a[_0x4a9685(0x2e8)]),N(0xb,a[_0x4a9685(0x449)]),N(0xc,a[_0x4a9685(0x23b)]),N(0xd,S[_0x4a9685(0x315)])],re);function mn(_0x199429,_0x47afcf,_0x170bff,_0x4a8e22,_0x473ffb,_0x51ad88){const _0x384bdb=_0x4a9685;return _0x4a8e22&&_0x473ffb['length']?_0x199429[_0x384bdb(0x572)](le,_0x47afcf,_0x170bff,_0x4a8e22,_0x473ffb,_0x51ad88,void 0x0):_0x4a8e22?_0x199429['createInstance'](fe,_0x47afcf,_0x170bff,_0x4a8e22,_0x51ad88):_0x473ffb[_0x384bdb(0x530)]?_0x199429[_0x384bdb(0x572)](ce,_0x47afcf,_0x170bff,_0x473ffb,_0x51ad88):_0x199429[_0x384bdb(0x572)](Oe,_0x47afcf,_0x170bff,_0x51ad88);}var Bi=Object[_0x4a9685(0x377)],ki=Object[_0x4a9685(0x484)],yt=(_0x2b7223,_0x3f91b9,_0x1aa6c9,_0x4eafab)=>{for(var _0x550af9=_0x4eafab>0x1?void 0x0:_0x4eafab?ki(_0x3f91b9,_0x1aa6c9):_0x3f91b9,_0x3244ee=_0x2b7223['length']-0x1,_0x3be3d2;_0x3244ee>=0x0;_0x3244ee--)(_0x3be3d2=_0x2b7223[_0x3244ee])&&(_0x550af9=(_0x4eafab?_0x3be3d2(_0x3f91b9,_0x1aa6c9,_0x550af9):_0x3be3d2(_0x550af9))||_0x550af9);return _0x4eafab&&_0x550af9&&Bi(_0x3f91b9,_0x1aa6c9,_0x550af9),_0x550af9;},H=(_0x1dad1d,_0x374b24)=>(_0xff7d39,_0x5c2984)=>_0x374b24(_0xff7d39,_0x5c2984,_0x1dad1d);exports[_0x4a9685(0x469)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x37317a,_0x24eae1,_0x9ab4a,_0x16aed9,_0x59f9c9,_0x112065,_0xc5aa76,_0x1b9af9,_0x9580d5,_0x475998,_0x2992a0,_0x1845df,_0x160f50){const _0x51b813=_0x4a9685;super(),I(this,_0x51b813(0x497),new A[(_0x51b813(0x563))](null)),I(this,_0x51b813(0x189),this[_0x51b813(0x497)][_0x51b813(0x135)]()),I(this,'_state'),I(this,_0x51b813(0x40e),!0x1),I(this,'_changesetSessionId',''),I(this,'_changesetReqId',0x0),I(this,_0x51b813(0x4ba),this[_0x51b813(0x189)][_0x51b813(0x172)](A[_0x51b813(0x28a)](_0x3a7875=>_0x3a7875?_0x3a7875['status']:q[_0x51b813(0x338)]),A[_0x51b813(0x52c)](0x1))),I(this,_0x51b813(0x2ec),!0x1),I(this,_0x51b813(0x437),[]),(this['unitID']=_0x37317a,this[_0x51b813(0x305)]=_0x24eae1,this['_type']=_0x9ab4a,this[_0x51b813(0x372)]=_0x16aed9,this[_0x51b813(0x142)]=_0x59f9c9,this['_compressMutationService']=_0x112065,this[_0x51b813(0x39c)]=_0xc5aa76,this[_0x51b813(0x26d)]=_0x1b9af9,this[_0x51b813(0x480)]=_0x9580d5,this[_0x51b813(0x55e)]=_0x475998,this[_0x51b813(0x3a7)]=_0x2992a0,this[_0x51b813(0x3e0)]=_0x1845df,this[_0x51b813(0x214)]=_0x160f50);}get['state'](){const _0x5c4d42=_0x4a9685;return this[_0x5c4d42(0x16f)];}async[_0x4a9685(0x432)](){const _0x49b7e8=_0x4a9685;if(this['state'])throw new Error(_0x49b7e8(0x536));await this['_init']();}[_0x4a9685(0x228)](){const _0x45c668=_0x4a9685;return this[_0x45c668(0x40e)]=!0x0,a['toDisposable'](()=>{const _0xbb4faa=_0x45c668;this[_0xbb4faa(0x40e)]=!0x1,this[_0xbb4faa(0x5ca)]();});}[_0x4a9685(0x41b)](_0x23b4fd){const _0x43a581=_0x4a9685;this[_0x43a581(0x16f)]=_0x23b4fd,this[_0x43a581(0x497)]['next'](_0x23b4fd);}async[_0x4a9685(0x3f4)](){const _0x499bf2=_0x4a9685;var _0x5db60a;this[_0x499bf2(0x41b)](await this[_0x499bf2(0x2eb)]()),this[_0x499bf2(0x214)]&&((_0x5db60a=this[_0x499bf2(0x214)])==null||_0x5db60a['editingUnit'](this[_0x499bf2(0x197)]),this[_0x499bf2(0x3c7)](this[_0x499bf2(0x214)]['getUnitStatus$'](this['unitID'])[_0x499bf2(0x419)](_0x1fef4d=>{const _0x1bf48e=_0x499bf2;this['_logService'][_0x1bf48e(0x37a)](_0x1bf48e(0x2c9),'editing\x20status\x20changed\x20to',_0x1fef4d),_0x1fef4d===un[_0x1bf48e(0x521)]?(this[_0x1bf48e(0x3a7)][_0x1bf48e(0x36b)]({'content':this[_0x1bf48e(0x39c)]['t'](_0x1bf48e(0x3a3)),'type':ge[_0x1bf48e(0x2e3)][_0x1bf48e(0x174)]}),this[_0x1bf48e(0x3e0)]['updatePermissionPoint'](new k[(_0x1bf48e(0x1ef))](this[_0x1bf48e(0x197)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1bf48e(0x3e0)][_0x1bf48e(0x38e)](new k[(_0x1bf48e(0x1ef))](this[_0x1bf48e(0x197)])['id'],!0x0),this[_0x1bf48e(0x3e0)]['setShowComponents'](!0x0));})));let _0x43f4db=!0x1;return this[_0x499bf2(0x3c7)](this[_0x499bf2(0x305)]['sessionStatus$']['subscribe'](_0x2d34c0=>{const _0x2e40b4=_0x499bf2;_0x2d34c0===se[_0x2e40b4(0x244)]?this[_0x2e40b4(0x4dd)](_0x43f4db):_0x2d34c0===se[_0x2e40b4(0x338)]&&(_0x43f4db=!0x0,this[_0x2e40b4(0x1c0)]());})),this[_0x499bf2(0x3c7)](this[_0x499bf2(0x305)]['event$'][_0x499bf2(0x419)](_0x1d0e41=>{const _0x14ee26=_0x499bf2;try{switch(_0x1d0e41['eventID']){case S[_0x14ee26(0x35a)][_0x14ee26(0x27c)]:{this['_onRemoteChangeset'](S[_0x14ee26(0x3ac)](_0x1d0e41[_0x14ee26(0x18f)]));break;}case S['CollaborationEvent'][_0x14ee26(0x272)]:{this['_onRemoteACK'](_0x1d0e41[_0x14ee26(0x18f)]);break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x473)]:{this[_0x14ee26(0x2ea)]();break;}case S['CollaborationEvent'][_0x14ee26(0x398)]:{this[_0x14ee26(0x383)](_0x1d0e41[_0x14ee26(0x18f)]);break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x47b)]:{this[_0x14ee26(0x4a7)](_0x1d0e41[_0x14ee26(0x18f)][_0x14ee26(0x2c1)]['map'](_0x1258c5=>S[_0x14ee26(0x3ac)](_0x1258c5)));break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x5d2)]:this[_0x14ee26(0x2ea)]({'isPermissionRej':!0x0});}}catch(_0x4198a5){throw console[_0x14ee26(0x3d8)](_0x14ee26(0x5d1),_0x4198a5),_0x4198a5;}})),this['_state'];}[_0x4a9685(0x2fb)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x54dd76=_0x4a9685;if(this[_0x54dd76(0x2ec)])throw new Error(_0x54dd76(0x3f8));this[_0x54dd76(0x2ec)]=!0x0;}[_0x4a9685(0x2b2)](_0x42369a){const _0x29f80c=_0x4a9685;this[_0x29f80c(0x321)](),this[_0x29f80c(0x41b)](this[_0x29f80c(0x16f)][_0x29f80c(0x40c)](_0x42369a)),this[_0x29f80c(0x2fb)]();}[_0x4a9685(0x4b8)](_0x54f541){const _0x15edae=_0x4a9685;if(!(_0x54f541[_0x15edae(0x33a)]<=this[_0x15edae(0x26d)][_0x15edae(0x3e5)](this[_0x15edae(0x197)]))){if(this[_0x15edae(0x40e)]){this[_0x15edae(0x437)][_0x15edae(0x3d6)](_0x54f541);return;}this[_0x15edae(0x1b2)](_0x54f541);}}['_exhaustRemoteChangesetQueue'](){const _0xa03c83=_0x4a9685;this['_remoteChangesetQueue'][_0xa03c83(0x38f)](_0x51c85a=>this[_0xa03c83(0x1b2)](_0x51c85a)),this[_0xa03c83(0x437)]=[];}[_0x4a9685(0x1b2)](_0x50fe95){const _0x127974=_0x4a9685,_0x3de23a=this[_0x127974(0x2b3)][_0x127974(0x200)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x127974(0x200)]['getInterceptPoints']()[_0x127974(0x3e7)])(_0x50fe95[_0x127974(0x1b8)],null)||_0x50fe95[_0x127974(0x1b8)],_0x551b61={..._0x50fe95,'mutations':_0x3de23a};this['_lockTransition'](),this[_0x127974(0x41b)](this[_0x127974(0x16f)]['onRemoteChangeset'](_0x551b61)),this[_0x127974(0x2fb)]();}[_0x4a9685(0x446)](_0x44e03f){const _0x52dce8=_0x4a9685;this[_0x52dce8(0x321)](),this[_0x52dce8(0x41b)](this[_0x52dce8(0x16f)][_0x52dce8(0x3e9)](_0x44e03f)),this[_0x52dce8(0x2fb)]();}[_0x4a9685(0x2ea)](_0x4afe13){const _0x4be43e=_0x4a9685;this[_0x4be43e(0x321)](),this[_0x4be43e(0x41b)](this['_state'][_0x4be43e(0x37b)](_0x4afe13)),this[_0x4be43e(0x2fb)]();}[_0x4a9685(0x383)](_0x160c57){const _0x2bc02e=_0x4a9685;this['_lockTransition'](),this[_0x2bc02e(0x41b)](this['_state']['onRemoteRetry'](_0x160c57)),this[_0x2bc02e(0x2fb)]();}[_0x4a9685(0x4a7)](_0x170f17){const _0x597b37=_0x4a9685;if(!(this[_0x597b37(0x16f)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x20ea09=_0x170f17[_0x597b37(0x28a)](_0x8a63fa=>{const _0x38bf8e=_0x597b37,_0x49bc6b=this[_0x38bf8e(0x2b3)][_0x38bf8e(0x200)][_0x38bf8e(0x3cc)](this[_0x38bf8e(0x2b3)][_0x38bf8e(0x200)][_0x38bf8e(0x5ae)]()['COMPRESS_MUTATION_APPLY'])(_0x8a63fa[_0x38bf8e(0x1b8)],null)||_0x8a63fa['mutations'];return{..._0x8a63fa,'mutations':_0x49bc6b};});this[_0x597b37(0x321)](),this[_0x597b37(0x41b)](this['_state']['onMissedChangesetFetched'](_0x20ea09)),this[_0x597b37(0x2fb)]();}[_0x4a9685(0x1c0)](){const _0x3aa3d3=_0x4a9685;this[_0x3aa3d3(0x321)](),this[_0x3aa3d3(0x41b)](this['_state'][_0x3aa3d3(0x3b7)]()),this['_unlockTransition']();}[_0x4a9685(0x4dd)](_0x12e9b2=!0x1){const _0x315ced=_0x4a9685;this['_lockTransition'](),this[_0x315ced(0x41b)](this['_state'][_0x315ced(0x2aa)]()),this[_0x315ced(0x2fb)]();const _0x4c5eea=this[_0x315ced(0x16f)];_0x12e9b2&&_0x4c5eea instanceof Oe&&(this[_0x315ced(0x321)](),this[_0x315ced(0x41b)](_0x4c5eea[_0x315ced(0x288)]()),this[_0x315ced(0x2fb)]());}async[_0x4a9685(0x2eb)](){return new Promise(_0xc74c9a=>{const _0x125503=_0x5f2c;this[_0x125503(0x305)][_0x125503(0x44d)][_0x125503(0x172)](A[_0x125503(0x3a5)](0x1))[_0x125503(0x419)](async _0x469230=>{const _0x213bf9=_0x125503;_0xc74c9a(await this[_0x213bf9(0x17b)](_0x469230===se[_0x213bf9(0x244)]));});});}[_0x4a9685(0x4a0)](){const _0x23d13d=this['unitID'];return{'onStateChange':(_0x2b3a3f,_0x365d54)=>{const _0x4ba9f7=_0x5f2c;if(_0x2b3a3f!==this[_0x4ba9f7(0x16f)])throw new Error(_0x4ba9f7(0x39b)+_0x2b3a3f[_0x4ba9f7(0x226)]+_0x4ba9f7(0x40a)+_0x365d54[_0x4ba9f7(0x226)]+_0x4ba9f7(0x300)+this[_0x4ba9f7(0x16f)][_0x4ba9f7(0x226)]);this['_updateState'](_0x365d54);},'onSendChangeset':_0x1199da=>{const _0x1c9050=_0x5f2c;_0x1199da[_0x1c9050(0x229)]||(_0x1199da[_0x1c9050(0x229)]=this[_0x1c9050(0x279)],_0x1199da[_0x1c9050(0x586)]=++this[_0x1c9050(0x36c)]);const _0x574259={'eventID':S[_0x1c9050(0x35a)][_0x1c9050(0x5eb)],'data':{'unitID':_0x1199da[_0x1c9050(0x197)],'unitType':this[_0x1c9050(0x41a)],'changeset':_0x1199da,'memberID':this[_0x1c9050(0x305)][_0x1c9050(0x204)]()}};this[_0x1c9050(0x305)][_0x1c9050(0x170)](_0x574259,this[_0x1c9050(0x197)]);},'onMissingChangesets':({from:_0xfa4879,to:_0x17d1c3})=>{const _0x21bd72=_0x5f2c;this[_0x21bd72(0x480)]['debug'](_0x21bd72(0x2c9),'fetching\x20missing\x20changesets\x20from\x20'+_0xfa4879+_0x21bd72(0x14a)+_0x17d1c3);const _0x17b6c2={'eventID':S[_0x21bd72(0x35a)][_0x21bd72(0x2b4)],'data':{'unitID':_0x23d13d,'unitType':this[_0x21bd72(0x41a)],'from':_0xfa4879,'to':_0x17d1c3}};this[_0x21bd72(0x305)]['send'](_0x17b6c2,this['unitID']);}};}async[_0x4a9685(0x17b)](_0x137489){const _0x52dc57=_0x4a9685;var _0x1365fa,_0x2327a9;const _0x3d72f3=await this[_0x52dc57(0x142)]['loadOfflineData'](this[_0x52dc57(0x197)]),_0x3ee3f2=(_0x1365fa=_0x3d72f3==null?void 0x0:_0x3d72f3[_0x52dc57(0x1b8)])!=null?_0x1365fa:[],_0x507268=(_0x2327a9=_0x3d72f3==null?void 0x0:_0x3d72f3['awaitingChangeset'])!=null?_0x2327a9:null,_0x426ed6=!!(_0x507268!=null&&_0x507268[_0x52dc57(0x229)])&&!!(_0x507268!=null&&_0x507268[_0x52dc57(0x586)]);this[_0x52dc57(0x279)]=_0x426ed6?_0x507268[_0x52dc57(0x229)]:mi(),this[_0x52dc57(0x36c)]=_0x426ed6?_0x507268['reqId']:0x0;const _0x5ee9ed=this[_0x52dc57(0x197)];try{this[_0x52dc57(0x2a5)](_0x507268,_0x3ee3f2);}catch(_0x3156f8){this[_0x52dc57(0x480)][_0x52dc57(0x3d8)](_0x3156f8);}const _0x424ac0=this[_0x52dc57(0x4a0)]();if(_0x137489){const _0x3bde60=mn(this['_injector'],_0x5ee9ed,this[_0x52dc57(0x41a)],_0x507268,_0x3ee3f2,_0x424ac0);return _0x3bde60 instanceof ce?_0x3bde60['_schedule']():(_0x3bde60 instanceof le||_0x3bde60 instanceof fe)&&_0x3bde60[_0x52dc57(0x1dd)](),_0x3bde60;}return this[_0x52dc57(0x372)][_0x52dc57(0x572)](me,_0x5ee9ed,this[_0x52dc57(0x41a)],_0x507268,_0x3ee3f2,_0x424ac0);}[_0x4a9685(0x2a5)](_0x1f4e1e,_0x11b0d4){const _0xe12273=_0x4a9685;var _0xe7871c,_0x819fe3;const _0xda46ac=this[_0xe12273(0x2b3)][_0xe12273(0x200)][_0xe12273(0x3cc)](this[_0xe12273(0x2b3)][_0xe12273(0x200)]['getInterceptPoints']()[_0xe12273(0x3e7)]);(_0xe7871c=_0xda46ac((_0x1f4e1e==null?void 0x0:_0x1f4e1e[_0xe12273(0x1b8)])||[],null))==null||_0xe7871c['forEach'](_0x1f3678=>this[_0xe12273(0x55e)][_0xe12273(0x5f4)](_0x1f3678['id'],_0x1f3678[_0xe12273(0x4da)])),(_0x819fe3=_0xda46ac(_0x11b0d4||[],null))==null||_0x819fe3[_0xe12273(0x38f)](_0x213698=>this[_0xe12273(0x55e)][_0xe12273(0x5f4)](_0x213698['id'],_0x213698[_0xe12273(0x4da)]));}},exports[_0x4a9685(0x469)]=yt([H(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),H(0x4,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),H(0x5,a[_0x4a9685(0x27a)](S[_0x4a9685(0x5e2)])),H(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),H(0x7,a[_0x4a9685(0x27a)](S['RevisionService'])),H(0x8,a[_0x4a9685(0x2e8)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a[_0x4a9685(0x310)]),H(0xc,a[_0x4a9685(0x59b)](qe))],exports[_0x4a9685(0x469)]),exports[_0x4a9685(0x5b0)]=class extends exports[_0x4a9685(0x469)]{constructor(_0x399965,_0x5d029e,_0x11c7e2,_0x1a6a4a,_0x146416,_0x48e7bd,_0x3af7b3,_0x13d9a3,_0x2cd7c0,_0x3c85c8,_0x255e8e,_0x277ad0,_0x325c19,_0x51232a,_0x5883b6,_0x368630,_0x474536,_0x5861f3){const _0x50e200=_0x4a9685;super(_0x399965,_0x11c7e2,_0x5d029e,_0x1a6a4a,_0x146416,_0x48e7bd,_0x3af7b3,_0x13d9a3,_0x51232a,_0x5883b6,_0x368630,_0x474536,_0x5861f3),this[_0x50e200(0x197)]=_0x399965,this[_0x50e200(0x3e4)]=_0x5d029e,this[_0x50e200(0x4c7)]=_0x2cd7c0,this[_0x50e200(0x504)]=_0x3c85c8,this[_0x50e200(0x24e)]=_0x255e8e,this[_0x50e200(0x59d)]=_0x277ad0,this[_0x50e200(0x53a)]=_0x325c19;}[_0x4a9685(0x4a0)](){const _0x499cc5=_0x4a9685,_0x47095a=super[_0x499cc5(0x4a0)]();return _0x47095a[_0x499cc5(0x45b)]=_0x5e14b6=>this[_0x499cc5(0x504)][_0x499cc5(0x4fc)](_0x5e14b6),_0x47095a['onTransformState']=_0x3c4937=>this[_0x499cc5(0x24e)][_0x499cc5(0x5ba)](_0x3c4937),_0x47095a[_0x499cc5(0x526)]=_0x25da19=>this[_0x499cc5(0x59d)][_0x499cc5(0x58f)](_0x25da19),_0x47095a[_0x499cc5(0x379)]=_0x5bf854=>this[_0x499cc5(0x53a)][_0x499cc5(0x5bc)](_0x5bf854),_0x47095a[_0x499cc5(0x4aa)]=_0x1e61a2=>this['_docTransformIMECacheService'][_0x499cc5(0x203)](_0x1e61a2),_0x47095a[_0x499cc5(0x5a0)]=_0x1cffb5=>this['_docTransformStateCacheService'][_0x499cc5(0x203)](_0x1cffb5),_0x47095a;}async[_0x4a9685(0x3f4)](){const _0x5498fe=_0x4a9685,_0x2388d5=await super[_0x5498fe(0x3f4)]();return this[_0x5498fe(0x4c7)][_0x5498fe(0x430)][_0x5498fe(0x172)](A[_0x5498fe(0x5e8)](this[_0x5498fe(0x5c9)]))[_0x5498fe(0x419)](_0x390f23=>{const _0x34c2a2=_0x5498fe;if(_0x390f23==null)return;const {unitId:_0x381257,redoState:_0x539ca1,commandId:_0x295a26}=_0x390f23;if(_0x381257!==this[_0x34c2a2(0x197)])return;const _0x2b2843={'id':_0x295a26,'type':a[_0x34c2a2(0x4b4)][_0x34c2a2(0x58a)],'params':{'unitId':_0x381257,'actions':_0x539ca1[_0x34c2a2(0x5b6)],'textRanges':null}};this[_0x34c2a2(0x2b2)](_0x2b2843);}),_0x2388d5;}},exports[_0x4a9685(0x5b0)]=yt([H(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),H(0x4,a['Inject'](exports[_0x4a9685(0x1a0)])),H(0x5,a['Inject'](S[_0x4a9685(0x5e2)])),H(0x6,a['Inject'](a[_0x4a9685(0x4a8)])),H(0x7,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),H(0x8,a[_0x4a9685(0x27a)](J[_0x4a9685(0x492)])),H(0x9,a[_0x4a9685(0x27a)](Be)),H(0xa,a[_0x4a9685(0x27a)](We)),H(0xb,a[_0x4a9685(0x27a)](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x4a9685(0x2e8)]),H(0xe,a['ICommandService']),H(0xf,ee[_0x4a9685(0x27d)]),H(0x10,a[_0x4a9685(0x310)]),H(0x11,a[_0x4a9685(0x59b)](qe))],exports[_0x4a9685(0x5b0)]),exports[_0x4a9685(0x456)]=class extends exports['CollaborationEntity']{constructor(_0x5e0f91,_0x497c6d,_0x5ac3b7,_0x28a089,_0x14b035,_0x4ae7b9,_0x3f5806,_0x404f48,_0x587e44,_0x2251ec,_0x574217,_0x4c1ddd,_0x4d68bc,_0xba6c57){const _0x2be83b=_0x4a9685;super(_0x5e0f91,_0x5ac3b7,_0x497c6d,_0x28a089,_0x14b035,_0x4ae7b9,_0x3f5806,_0x404f48,_0x2251ec,_0x574217,_0x4c1ddd,_0x4d68bc,_0xba6c57),this['unitID']=_0x5e0f91,this[_0x2be83b(0x3e4)]=_0x497c6d,this[_0x2be83b(0x257)]=_0x587e44;}[_0x4a9685(0x4a0)](){const _0x55ffe8=_0x4a9685,_0x5a7652=super[_0x55ffe8(0x4a0)]();return _0x5a7652[_0x55ffe8(0x526)]=_0x27fdf4=>this[_0x55ffe8(0x257)]['transformSelections'](_0x27fdf4),_0x5a7652;}async[_0x4a9685(0x3f4)](){const _0x18c0d1=_0x4a9685,_0x11eab5=await super[_0x18c0d1(0x3f4)]();return this[_0x18c0d1(0x3c7)](this[_0x18c0d1(0x55e)]['onCommandExecuted']((_0x395dd2,_0x30f940)=>{const _0x379510=_0x18c0d1;if(_0x395dd2[_0x379510(0x3e4)]!==a[_0x379510(0x4b4)][_0x379510(0x58a)]||_0x30f940!=null&&_0x30f940[_0x379510(0x20d)]||_0x30f940!=null&&_0x30f940[_0x379510(0x2d7)])return;const _0x4ea6ae=_0x395dd2[_0x379510(0x4da)];if((_0x4ea6ae==null?void 0x0:_0x4ea6ae[_0x379510(0x2de)])!==this[_0x379510(0x197)])return;const _0xe89315=_0x395dd2,_0x49ccb8=this[_0x379510(0x2b3)][_0x379510(0x200)][_0x379510(0x3cc)](this[_0x379510(0x2b3)][_0x379510(0x200)]['getInterceptPoints']()[_0x379510(0x472)])([_0xe89315],null)||[_0xe89315];this['_onLocalMutation'](_0x49ccb8[0x0]);})),_0x11eab5;}},exports[_0x4a9685(0x456)]=yt([H(0x3,a['Inject'](a[_0x4a9685(0x17d)])),H(0x4,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),H(0x5,a[_0x4a9685(0x27a)](S['CompressMutationService'])),H(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),H(0x7,a['Inject'](S[_0x4a9685(0x1a9)])),H(0x8,a[_0x4a9685(0x27a)](ke)),H(0x9,a[_0x4a9685(0x2e8)]),H(0xa,a['ICommandService']),H(0xb,ee[_0x4a9685(0x27d)]),H(0xc,a[_0x4a9685(0x310)]),H(0xd,a['Optional'](qe))],exports[_0x4a9685(0x456)]);var Wi=Object['defineProperty'],Fi=Object[_0x4a9685(0x484)],Vi=(_0x481ef1,_0xdb0237,_0x47c285,_0x56f2d7)=>{for(var _0x3ea802=_0x56f2d7>0x1?void 0x0:_0x56f2d7?Fi(_0xdb0237,_0x47c285):_0xdb0237,_0xc89e=_0x481ef1['length']-0x1,_0xa7899b;_0xc89e>=0x0;_0xc89e--)(_0xa7899b=_0x481ef1[_0xc89e])&&(_0x3ea802=(_0x56f2d7?_0xa7899b(_0xdb0237,_0x47c285,_0x3ea802):_0xa7899b(_0x3ea802))||_0x3ea802);return _0x56f2d7&&_0x3ea802&&Wi(_0xdb0237,_0x47c285,_0x3ea802),_0x3ea802;},tt=(_0x137694,_0x391c1a)=>(_0x16cba1,_0x3c7aa1)=>_0x391c1a(_0x16cba1,_0x3c7aa1,_0x137694);exports[_0x4a9685(0x1ff)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x43129f,_0x34bb48,_0x40ae74){const _0x3aa70e=_0x4a9685;super(),I(this,_0x3aa70e(0x35f),new Map()),I(this,_0x3aa70e(0x242),new A[(_0x3aa70e(0x4c3))]()),(this['_injector']=_0x43129f,this[_0x3aa70e(0x5b4)]=_0x34bb48,this[_0x3aa70e(0x54a)]=_0x40ae74,this[_0x3aa70e(0x3f4)]());}['dispose'](){const _0x1c0237=_0x4a9685;super[_0x1c0237(0x1d7)](),this[_0x1c0237(0x35f)][_0x1c0237(0x38f)](_0xa619c=>_0xa619c[_0x1c0237(0x1d7)]()),this[_0x1c0237(0x35f)]['clear']();}[_0x4a9685(0x298)](_0x193866){const _0x5e071e=_0x4a9685;var _0x47ff10;return(_0x47ff10=this[_0x5e071e(0x35f)][_0x5e071e(0x542)](_0x193866))!=null?_0x47ff10:null;}[_0x4a9685(0x5bf)](_0x34a92b){const _0x158256=_0x4a9685,_0x4a60f1=this[_0x158256(0x298)](_0x34a92b);return _0x4a60f1?A['of'](_0x4a60f1):this[_0x158256(0x242)][_0x158256(0x172)](V['filter'](_0x42b5d7=>_0x42b5d7[_0x158256(0x197)]===_0x34a92b));}['_init'](){const _0x57883b=_0x4a9685;this[_0x57883b(0x54a)][_0x57883b(0x3f9)](a[_0x57883b(0x33e)][_0x57883b(0x1af)])[_0x57883b(0x172)](A['takeUntil'](this[_0x57883b(0x5c9)]),V[_0x57883b(0x55d)](0x10))[_0x57883b(0x419)](async _0x3f0a53=>{const _0x475050=_0x57883b,_0x1e7729=_0x3f0a53['getUnitId'](),_0x495c17=await this[_0x475050(0x2a1)](_0x1e7729,ie[_0x475050(0x1af)]);this[_0x475050(0x35f)]['set'](_0x1e7729,_0x495c17);}),this[_0x57883b(0x54a)][_0x57883b(0x3f9)](a['UniverInstanceType'][_0x57883b(0x22a)])['pipe'](A[_0x57883b(0x5e8)](this['dispose$']),V[_0x57883b(0x55d)](0x10))[_0x57883b(0x172)](V[_0x57883b(0x464)](_0x181a9f=>!_0x181a9f['getUnitId']()['startsWith']('__')))[_0x57883b(0x419)](async _0x197c7b=>{const _0x4366f8=_0x57883b,_0x3160b3=_0x197c7b[_0x4366f8(0x56f)](),_0x2c816a=await this[_0x4366f8(0x2a1)](_0x3160b3,ie['UNIVER_DOC']);this[_0x4366f8(0x35f)][_0x4366f8(0x568)](_0x3160b3,_0x2c816a);}),A[_0x57883b(0x345)](this[_0x57883b(0x54a)][_0x57883b(0x388)](a[_0x57883b(0x33e)]['UNIVER_SHEET']),this[_0x57883b(0x54a)][_0x57883b(0x388)](a[_0x57883b(0x33e)]['UNIVER_DOC']))['pipe'](A['takeUntil'](this['dispose$']))[_0x57883b(0x419)](_0x3b4000=>{const _0x41e400=_0x57883b,_0x2954c8=_0x3b4000[_0x41e400(0x56f)](),_0x5e69ac=this[_0x41e400(0x35f)][_0x41e400(0x542)](_0x2954c8);_0x5e69ac&&(_0x5e69ac['dispose'](),this[_0x41e400(0x35f)][_0x41e400(0x224)](_0x2954c8));});}async[_0x4a9685(0x2a1)](_0x633c78,_0x5a7489){const _0x1e3a25=_0x4a9685,_0x2e4088=await this[_0x1e3a25(0x5b4)][_0x1e3a25(0x461)](_0x633c78),_0x1cfa4f=this['_injector'][_0x1e3a25(0x572)](this[_0x1e3a25(0x3fa)](_0x5a7489),_0x633c78,_0x5a7489,_0x2e4088);return await _0x1cfa4f[_0x1e3a25(0x432)](),this[_0x1e3a25(0x242)][_0x1e3a25(0x503)](_0x1cfa4f),_0x1cfa4f;}[_0x4a9685(0x3fa)](_0x4bccd9){const _0x52b296=_0x4a9685;switch(_0x4bccd9){case ie[_0x52b296(0x22a)]:return exports[_0x52b296(0x5b0)];case ie[_0x52b296(0x1af)]:return exports[_0x52b296(0x456)];default:throw new Error(_0x52b296(0x150)+_0x4bccd9);}}},exports[_0x4a9685(0x1ff)]=Vi([tt(0x0,a['Inject'](a[_0x4a9685(0x17d)])),tt(0x1,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)])),tt(0x2,a[_0x4a9685(0x3c5)])],exports[_0x4a9685(0x1ff)]);const $t=['purple300','jiqing500','verdancy600','red300',_0x4a9685(0x5e4),_0x4a9685(0x1e0)];class Ot extends a[_0x4a9685(0x261)]{constructor(){const _0x2f1cf2=_0x4a9685;super(...arguments),I(this,_0x2f1cf2(0x137),new Map()),I(this,'_colorIndex',0x0);}[_0x4a9685(0x3b0)](_0x3dd24d){const _0x49ede7=_0x4a9685;if(this[_0x49ede7(0x137)][_0x49ede7(0x1d2)](_0x3dd24d))return this['_assignedColors'][_0x49ede7(0x542)](_0x3dd24d);const _0x40ba36=$t[this[_0x49ede7(0x23c)]];return this[_0x49ede7(0x23c)]=(this[_0x49ede7(0x23c)]+0x1)%$t['length'],this[_0x49ede7(0x137)][_0x49ede7(0x568)](_0x3dd24d,_0x40ba36),_0x40ba36;}}var Gi=Object['defineProperty'],Yi=Object[_0x4a9685(0x484)],Ki=(_0x4fd6b0,_0x5b8807,_0x418d26,_0x44ba38)=>{const _0x1197a2=_0x4a9685;for(var _0x1f9b6e=_0x44ba38>0x1?void 0x0:_0x44ba38?Yi(_0x5b8807,_0x418d26):_0x5b8807,_0x238969=_0x4fd6b0[_0x1197a2(0x530)]-0x1,_0xff9bc3;_0x238969>=0x0;_0x238969--)(_0xff9bc3=_0x4fd6b0[_0x238969])&&(_0x1f9b6e=(_0x44ba38?_0xff9bc3(_0x5b8807,_0x418d26,_0x1f9b6e):_0xff9bc3(_0x1f9b6e))||_0x1f9b6e);return _0x44ba38&&_0x1f9b6e&&Gi(_0x5b8807,_0x418d26,_0x1f9b6e),_0x1f9b6e;},Se=(_0x3e1420,_0x286aff)=>(_0x164b10,_0x50fcaf)=>_0x286aff(_0x164b10,_0x50fcaf,_0x3e1420);const qi=0x12c,zi=0x64;let mt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x20ee0b,_0x30ee2b,_0xe0ed27,_0x65bf6e,_0x54c902,_0x30ac97,_0x291bd8,_0x3ff39b,_0x16e904){const _0x5ebb79=_0x4a9685;super(),I(this,_0x5ebb79(0x420),!0x1),I(this,_0x5ebb79(0x3f4),!0x1),I(this,_0x5ebb79(0x3be),new A[(_0x5ebb79(0x563))](new Map())),I(this,_0x5ebb79(0x3d1),this[_0x5ebb79(0x3be)]['asObservable']()),I(this,_0x5ebb79(0x490),new A[(_0x5ebb79(0x563))]([])),I(this,_0x5ebb79(0x46e),this[_0x5ebb79(0x490)][_0x5ebb79(0x172)](A[_0x5ebb79(0x416)](qi))),I(this,_0x5ebb79(0x2fa),a[_0x5ebb79(0x158)](_0x2615a7=>{const _0xc1cf39=_0x5ebb79,_0x15b1f0={'eventID':S[_0xc1cf39(0x35a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc1cf39(0x197)],'memberID':this[_0xc1cf39(0x466)][_0xc1cf39(0x204)](),'selection':dn(_0x2615a7)}};this[_0xc1cf39(0x466)][_0xc1cf39(0x170)](_0x15b1f0,this[_0xc1cf39(0x197)]);},zi)),(this[_0x5ebb79(0x197)]=_0x20ee0b,this[_0x5ebb79(0x466)]=_0x30ee2b,this[_0x5ebb79(0x372)]=_0xe0ed27,this[_0x5ebb79(0x544)]=_0x65bf6e,this[_0x5ebb79(0x1f9)]=_0x54c902,this['_syncEditingCollabCursorService']=_0x30ac97,this['_transformService']=_0x291bd8,this['_univerInstanceService']=_0x3ff39b,this[_0x5ebb79(0x55e)]=_0x16e904);}get[_0x4a9685(0x468)](){return this['_cursorInfo$']['getValue']();}get[_0x4a9685(0x334)](){const _0x1509db=_0x4a9685;return this[_0x1509db(0x490)][_0x1509db(0x1ae)]();}['dispose'](){const _0x3cf017=_0x4a9685;super[_0x3cf017(0x1d7)](),this[_0x3cf017(0x3be)][_0x3cf017(0x503)](new Map()),this[_0x3cf017(0x3be)]['complete'](),this[_0x3cf017(0x490)][_0x3cf017(0x503)]([]),this[_0x3cf017(0x490)]['complete']();}[_0x4a9685(0x432)](){const _0x355284=_0x4a9685;this[_0x355284(0x3f4)]||(this[_0x355284(0x3f4)]=!0x0,this[_0x355284(0x466)][_0x355284(0x44d)][_0x355284(0x172)](A[_0x355284(0x5e8)](this[_0x355284(0x5c9)]))[_0x355284(0x419)](_0x3a447e=>{const _0x30194f=_0x355284;_0x3a447e===se[_0x30194f(0x244)]?this[_0x30194f(0x4dd)]():this['_toggleOffline']();}),this[_0x355284(0x466)]['event$'][_0x355284(0x172)](A[_0x355284(0x5e8)](this['dispose$']))[_0x355284(0x419)](_0x54ab2a=>{const _0x33e1bc=_0x355284,_0x292e7d=_0x54ab2a['eventID'];_0x292e7d===S[_0x33e1bc(0x35a)][_0x33e1bc(0x49a)]&&this[_0x33e1bc(0x4f8)](_0x54ab2a),_0x292e7d===S[_0x33e1bc(0x35a)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x54ab2a);}),this[_0x355284(0x3c7)](this[_0x355284(0x55e)][_0x355284(0x555)](_0x1a4e16=>{const _0x26b0bf=_0x355284,_0x27d151=_0x1a4e16[_0x26b0bf(0x4da)];_0x27d151!=null&&this['_online']&&_0x1a4e16['id']===ye[_0x26b0bf(0x50a)]['id']&&_0x27d151[_0x26b0bf(0x2de)]===this[_0x26b0bf(0x197)]&&_0x27d151['isEditing']===!0x1&&_0x27d151[_0x26b0bf(0x1c1)]['length']>0x0&&this[_0x26b0bf(0x2fa)](_0x27d151[_0x26b0bf(0x1c1)]);})),this['_syncEditingCollabCursorService'][_0x355284(0x20a)][_0x355284(0x172)](A[_0x355284(0x5e8)](this[_0x355284(0x5c9)]))[_0x355284(0x419)](_0x506934=>{const _0x1590ec=_0x355284;if((_0x506934==null?void 0x0:_0x506934[_0x1590ec(0x197)])!==this['unitID'])return;const _0xff5153={'eventID':S[_0x1590ec(0x35a)][_0x1590ec(0x49a)],'data':_0x506934};this[_0x1590ec(0x4f8)](_0xff5153);}),this[_0x355284(0x3c7)](this[_0x355284(0x55e)]['onCommandExecuted'](_0x422a0a=>{const _0x4397a3=_0x355284;if(_0x422a0a['params']==null)return;const _0x4d80e0=_0x422a0a['params'];if(_0x422a0a['id']!==ye[_0x4397a3(0x4de)]['id']||_0x4d80e0[_0x4397a3(0x2de)]!==this['unitID'])return;const _0x1a9300={'id':_0x4397a3(0x3cf),'params':_0x4d80e0},_0x4aab6e=this['cursorInfo'];for(const [_0x104c0e,_0x4e47f0]of _0x4aab6e){const _0x3fe4f7={'id':_0x4397a3(0x3cf),'params':{'unitId':this[_0x4397a3(0x197)],'actions':null,'textRanges':_0x4e47f0[_0x4397a3(0x1c1)]}},_0x1ff816=this[_0x4397a3(0x4f6)][_0x4397a3(0x23e)](_0x1a9300,_0x3fe4f7,!0x1);if(S[_0x4397a3(0x498)](_0x1ff816))throw _0x1ff816['error'];_0x4aab6e[_0x4397a3(0x568)](_0x104c0e,{..._0x4e47f0,'ranges':_0x1ff816[_0x4397a3(0x403)][_0x4397a3(0x4da)][_0x4397a3(0x236)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4aab6e);});})));}[_0x4a9685(0x4f8)](_0x1b7975){const _0x4747b6=_0x4a9685;var _0x436171,_0x3b1d9f;const {memberID:_0x5344dd,selection:_0x395c1a}=_0x1b7975[_0x4747b6(0x18f)],_0x1f32ac=Ui(_0x395c1a),_0x36632d=(_0x3b1d9f=(_0x436171=this[_0x4747b6(0x1f9)][_0x4747b6(0x5a6)](this[_0x4747b6(0x197)],_0x5344dd))==null?void 0x0:_0x436171[_0x4747b6(0x2b9)])!=null?_0x3b1d9f:_0x4747b6(0x4af),_0x493456={'color':this[_0x4747b6(0x544)]['assignAColorForMemberID'](_0x5344dd),'name':_0x36632d,'ranges':_0x1f32ac},_0xc0c878=this[_0x4747b6(0x468)];_0xc0c878[_0x4747b6(0x568)](_0x5344dd,_0x493456),this[_0x4747b6(0x3be)][_0x4747b6(0x503)](_0xc0c878);}[_0x4a9685(0x4f0)](_0x5842e2){const _0x51a608=_0x4a9685,{memberID:_0xbf7719}=_0x5842e2['data'],_0x55770f=this['cursorInfo'];_0x55770f[_0x51a608(0x224)](_0xbf7719),this[_0x51a608(0x3be)][_0x51a608(0x503)](_0x55770f);}[_0x4a9685(0x4dd)](){const _0x552ccd=_0x4a9685;var _0x4a1b9e;if(this['_online']=!0x0,((_0x4a1b9e=this[_0x552ccd(0x54a)][_0x552ccd(0x2dd)]())==null?void 0x0:_0x4a1b9e[_0x552ccd(0x56f)]())!==this['unitID'])return;const _0x3f6a75=this[_0x552ccd(0x372)]['get'](ye[_0x552ccd(0x1f8)])[_0x552ccd(0x231)]();Array['isArray'](_0x3f6a75)&&_0x3f6a75[_0x552ccd(0x530)]>0x0&&this[_0x552ccd(0x2fa)](_0x3f6a75);}['_toggleOffline'](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x4a9685(0x27a)](a['Injector'])),Se(0x3,a[_0x4a9685(0x27a)](Ot)),Se(0x4,a['Inject'](exports[_0x4a9685(0x3e1)])),Se(0x5,a[_0x4a9685(0x27a)](Rt)),Se(0x6,S['ITransformService']),Se(0x7,a[_0x4a9685(0x3c5)]),Se(0x8,a['ICommandService'])],mt);var Xi=Object[_0x4a9685(0x377)],Ji=Object[_0x4a9685(0x484)],Zi=(_0x83b968,_0x211619,_0x25a295,_0x5d1c59)=>{for(var _0x20175f=_0x5d1c59>0x1?void 0x0:_0x5d1c59?Ji(_0x211619,_0x25a295):_0x211619,_0x12c720=_0x83b968['length']-0x1,_0x1b60ff;_0x12c720>=0x0;_0x12c720--)(_0x1b60ff=_0x83b968[_0x12c720])&&(_0x20175f=(_0x5d1c59?_0x1b60ff(_0x211619,_0x25a295,_0x20175f):_0x1b60ff(_0x20175f))||_0x20175f);return _0x5d1c59&&_0x20175f&&Xi(_0x211619,_0x25a295,_0x20175f),_0x20175f;},be=(_0x559b03,_0x1ab25f)=>(_0x44ba05,_0x750587)=>_0x1ab25f(_0x44ba05,_0x750587,_0x559b03);const Qi=0x12c,es=0x64,ts=()=>{let _0x3baa65=[],_0x234ee9=!0x1;return _0x482bb6=>{_0x3baa65['push'](_0x482bb6),_0x234ee9||(_0x234ee9=!0x0,setTimeout(()=>{const _0x509fc0=_0x5f2c;_0x3baa65[_0x509fc0(0x38f)](_0xfb7950=>_0xfb7950()),_0x3baa65=[],_0x234ee9=!0x1;}));};};let St=class extends a[_0x4a9685(0x2c7)]{constructor(_0x4c1234,_0x44df28,_0x3b98d2,_0x25f44d,_0x5a32cf,_0x997642,_0x4b61a2,_0x365954){const _0x5cf697=_0x4a9685;super(),I(this,_0x5cf697(0x420),!0x1),I(this,_0x5cf697(0x3f4),!0x1),I(this,'_cursorInfo$',new A[(_0x5cf697(0x563))](new Map())),I(this,_0x5cf697(0x3d1),this[_0x5cf697(0x3be)][_0x5cf697(0x135)]()),I(this,'_roomMembers$',new A[(_0x5cf697(0x563))]([])),I(this,_0x5cf697(0x46e),this['_roomMembers$'][_0x5cf697(0x172)](A[_0x5cf697(0x416)](Qi))),I(this,_0x5cf697(0x2fa),a[_0x5cf697(0x158)]((_0x1cc945,_0xfead57)=>{const _0x259163=_0x5cf697,_0x1e3d54={'eventID':S['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x259163(0x197)],'memberID':this[_0x259163(0x466)][_0x259163(0x204)](),'selection':Pt[_0x259163(0x41c)](_0x1cc945,_0xfead57[_0x259163(0x27f)])}};this['_session']['send'](_0x1e3d54,this[_0x259163(0x197)]);},es)),(this[_0x5cf697(0x197)]=_0x4c1234,this[_0x5cf697(0x466)]=_0x44df28,this['_injector']=_0x3b98d2,this['_colorAssignService']=_0x25f44d,this[_0x5cf697(0x1f9)]=_0x5a32cf,this[_0x5cf697(0x54a)]=_0x997642,this[_0x5cf697(0x55e)]=_0x4b61a2,this[_0x5cf697(0x4fa)]=_0x365954);}get[_0x4a9685(0x468)](){const _0x18f97e=_0x4a9685;return this[_0x18f97e(0x3be)]['getValue']();}get['roomMembers'](){const _0x38d57c=_0x4a9685;return this[_0x38d57c(0x490)][_0x38d57c(0x1ae)]();}[_0x4a9685(0x1d7)](){const _0x190678=_0x4a9685;super[_0x190678(0x1d7)](),this['_cursorInfo$'][_0x190678(0x503)](new Map()),this[_0x190678(0x3be)]['complete'](),this['_roomMembers$'][_0x190678(0x503)]([]),this[_0x190678(0x490)][_0x190678(0x2f7)]();}['init'](){const _0x28d850=_0x4a9685;this[_0x28d850(0x3f4)]||(this['_init']=!0x0,this[_0x28d850(0x466)]['sessionStatus$'][_0x28d850(0x172)](A[_0x28d850(0x5e8)](this[_0x28d850(0x5c9)]))[_0x28d850(0x419)](_0xf2331f=>{const _0x47922a=_0x28d850;_0xf2331f===se[_0x47922a(0x244)]?this[_0x47922a(0x4dd)]():this[_0x47922a(0x1c0)]();}),this['_session'][_0x28d850(0x297)][_0x28d850(0x172)](A[_0x28d850(0x5e8)](this[_0x28d850(0x5c9)]))['subscribe'](_0x595525=>{const _0x3dc3ab=_0x28d850,_0x3d0cb5=_0x595525[_0x3dc3ab(0x3af)];_0x3d0cb5===S[_0x3dc3ab(0x35a)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x595525),_0x3d0cb5===S[_0x3dc3ab(0x35a)][_0x3dc3ab(0x5c3)]&&this[_0x3dc3ab(0x4f0)](_0x595525);}),this[_0x28d850(0x48e)](),this[_0x28d850(0x3c7)](this[_0x28d850(0x55e)]['onCommandExecuted'](_0x67fffb=>{const _0x45b33a=_0x28d850;if(this['_online']&&_0x67fffb['id']===k[_0x45b33a(0x25b)]['id']&&_0x67fffb[_0x45b33a(0x4da)][_0x45b33a(0x2de)]===this[_0x45b33a(0x197)]){const _0x32ef0b=_0x67fffb[_0x45b33a(0x4da)];this[_0x45b33a(0x2fa)](_0x32ef0b[_0x45b33a(0x2ae)],_0x32ef0b[_0x45b33a(0x5c6)][0x0]);}})));}['_onCursorUpdate'](_0x4fdfb3){const _0x482c8e=_0x4a9685;var _0x5a33fe,_0x42bda2;const {memberID:_0x5f474f,selection:_0x1f57d8}=_0x4fdfb3['data'],{sheetName:_0x34ea61,range:_0x306930}=Pt[_0x482c8e(0x329)](_0x1f57d8),_0x194405={'name':(_0x42bda2=(_0x5a33fe=this[_0x482c8e(0x1f9)][_0x482c8e(0x5a6)](this['unitID'],_0x5f474f))==null?void 0x0:_0x5a33fe[_0x482c8e(0x2b9)])!=null?_0x42bda2:_0x482c8e(0x4af),'range':this[_0x482c8e(0x4f5)](_0x34ea61,_0x306930),'sheetID':_0x34ea61,'color':this[_0x482c8e(0x544)]['assignAColorForMemberID'](_0x5f474f),'selection':_0x1f57d8},_0x8526c8=this[_0x482c8e(0x468)];_0x8526c8['set'](_0x5f474f,_0x194405),this[_0x482c8e(0x3be)]['next'](_0x8526c8);}[_0x4a9685(0x4f0)](_0x3aa6a0){const _0x36f32f=_0x4a9685,{memberID:_0x37499c}=_0x3aa6a0[_0x36f32f(0x18f)],_0x5cf652=this[_0x36f32f(0x468)];_0x5cf652['delete'](_0x37499c),this[_0x36f32f(0x3be)][_0x36f32f(0x503)](_0x5cf652);}[_0x4a9685(0x4f5)](_0x9e0736,_0x39d57f){const _0x491ca0=_0x4a9685;var _0xae6002,_0x3e9ccb;const _0x514d02=(_0x3e9ccb=(_0xae6002=this[_0x491ca0(0x54a)]['getUniverSheetInstance'](this[_0x491ca0(0x197)]))==null?void 0x0:_0xae6002[_0x491ca0(0x2ca)](_0x9e0736))==null?void 0x0:_0x3e9ccb[_0x491ca0(0x4d1)]();return(_0x514d02==null?void 0x0:_0x514d02[_0x491ca0(0x284)](_0x40d29a=>a['Rectangle'][_0x491ca0(0x167)](_0x40d29a,_0x39d57f)))||_0x39d57f;}[_0x4a9685(0x48e)](){const _0x2c6bf4=_0x4a9685,_0x365faa=new a[(_0x2c6bf4(0x4b2))](),_0x1d7943=ts(),_0x1870c1=()=>{const _0x1f6d10=_0x2c6bf4;_0x365faa[_0x1f6d10(0x1d7)]();const _0x3e08c9=(_0xaddbc5,_0x2875ca,_0x3e86d3,_0x5b8423)=>{const _0xb54edd=_0x1f6d10;let _0x49258e=[];switch(_0xaddbc5['id']){case k[_0xb54edd(0x48c)][_0xb54edd(0x4b7)]:{_0x49258e=k['handleDeleteRangeMoveLeft'](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x2e4)]:{_0x49258e=k[_0xb54edd(0x169)](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x2da)]:{_0x49258e=k[_0xb54edd(0x3ff)](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x471)]:{_0x49258e=k['handleInsertRangeMoveDown'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)]['InsertRangeMoveRightCommandId']:{_0x49258e=k['handleInsertRangeMoveRight'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x58e)]:{_0x49258e=k['handleInsertRow'](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x219)]:{_0x49258e=k['handleMoveRange'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x316)]:{_0x49258e=k['handleIRemoveCol'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)]['RemoveRowCommandId']:{_0x49258e=k[_0xb54edd(0x587)](_0xaddbc5,_0x5b8423);break;}}const _0x56b403=k[_0xb54edd(0x458)](_0x49258e,_0x5b8423),_0x13b859=this['cursorInfo'][_0xb54edd(0x542)](_0x2875ca);if(_0x13b859&&_0x56b403){const _0x469398={..._0x13b859,'range':_0x56b403};this[_0xb54edd(0x468)]['set'](_0x2875ca,_0x469398),_0x1d7943(()=>{const _0x407598=_0xb54edd,_0x215ddc=this['_refRangeService'][_0x407598(0x506)](_0x56b403,_0x3443fe=>(_0x215ddc[_0x407598(0x1d7)](),_0x3e08c9(_0x3443fe,_0x2875ca,_0x3e86d3,_0x56b403)));_0x365faa['add'](_0x215ddc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f6d10(0x38f)]((_0x45e2e6,_0x1d1f12)=>{const _0x4b60c7=_0x1f6d10,{range:_0x2a365d,sheetID:_0x1a4317}=_0x45e2e6,_0x5de2d4=this[_0x4b60c7(0x4fa)][_0x4b60c7(0x506)](_0x2a365d,_0xb533=>(_0x5de2d4[_0x4b60c7(0x1d7)](),_0x3e08c9(_0xb533,_0x1d1f12,_0x1a4317,_0x2a365d)));_0x365faa[_0x4b60c7(0x42a)](_0x5de2d4);});};this[_0x2c6bf4(0x3c7)](a[_0x2c6bf4(0x4fd)](this[_0x2c6bf4(0x3be)][_0x2c6bf4(0x419)](()=>{_0x1870c1();})));}[_0x4a9685(0x4dd)](){const _0x26e3ed=_0x4a9685;var _0x62973c,_0x20cf1a;if(this[_0x26e3ed(0x420)]=!0x0,((_0x62973c=this['_univerInstanceService'][_0x26e3ed(0x2dd)]())==null?void 0x0:_0x62973c[_0x26e3ed(0x56f)]())!==this[_0x26e3ed(0x197)])return;const _0x1d4524=(_0x20cf1a=this[_0x26e3ed(0x372)][_0x26e3ed(0x542)](k[_0x26e3ed(0x31c)])[_0x26e3ed(0x3b1)]())==null?void 0x0:_0x20cf1a[0x0],_0x4e2217=this['_univerInstanceService'][_0x26e3ed(0x5cf)](a['UniverInstanceType'][_0x26e3ed(0x1af)])[_0x26e3ed(0x4d4)]();_0x1d4524&&_0x4e2217&&this[_0x26e3ed(0x2fa)](_0x4e2217[_0x26e3ed(0x180)](),_0x1d4524);}[_0x4a9685(0x1c0)](){const _0x123934=_0x4a9685;this[_0x123934(0x420)]=!0x1;}};St=Zi([be(0x2,a['Inject'](a['Injector'])),be(0x3,a[_0x4a9685(0x27a)](Ot)),be(0x4,a['Inject'](exports[_0x4a9685(0x3e1)])),be(0x5,a[_0x4a9685(0x3c5)]),be(0x6,a[_0x4a9685(0x449)]),be(0x7,a[_0x4a9685(0x27a)](k[_0x4a9685(0x198)]))],St);var ns=Object[_0x4a9685(0x377)],is=Object[_0x4a9685(0x484)],ss=(_0x34f34d,_0xa5b57b,_0x24dccc,_0x57fb50)=>{const _0xc984f9=_0x4a9685;for(var _0x3451f1=_0x57fb50>0x1?void 0x0:_0x57fb50?is(_0xa5b57b,_0x24dccc):_0xa5b57b,_0x31250e=_0x34f34d[_0xc984f9(0x530)]-0x1,_0x1fbb62;_0x31250e>=0x0;_0x31250e--)(_0x1fbb62=_0x34f34d[_0x31250e])&&(_0x3451f1=(_0x57fb50?_0x1fbb62(_0xa5b57b,_0x24dccc,_0x3451f1):_0x1fbb62(_0x3451f1))||_0x3451f1);return _0x57fb50&&_0x3451f1&&ns(_0xa5b57b,_0x24dccc,_0x3451f1),_0x3451f1;},nt=(_0x228cff,_0x4619ca)=>(_0x16d455,_0x5b2431)=>_0x4619ca(_0x16d455,_0x5b2431,_0x228cff);let De=class extends a[_0x4a9685(0x2c7)]{constructor(_0x3ad23c,_0x3321e8,_0x4087c3){const _0x16fc7f=_0x4a9685;super(),I(this,_0x16fc7f(0x35f),new Map()),I(this,_0x16fc7f(0x242),new A['Subject']()),(this[_0x16fc7f(0x54a)]=_0x3ad23c,this[_0x16fc7f(0x372)]=_0x3321e8,this[_0x16fc7f(0x5b4)]=_0x4087c3,this[_0x16fc7f(0x3f4)]());}[_0x4a9685(0x1d7)](){const _0x545527=_0x4a9685;super['dispose'](),this[_0x545527(0x242)]['complete'](),this[_0x545527(0x35f)][_0x545527(0x38f)](_0x430d87=>_0x430d87['dispose']());}[_0x4a9685(0x406)](_0xdc9732){const _0x57684f=_0x4a9685;return this[_0x57684f(0x35f)][_0x57684f(0x1d2)](_0xdc9732)?this[_0x57684f(0x35f)][_0x57684f(0x542)](_0xdc9732)[_0x57684f(0x3d1)]:this[_0x57684f(0x242)][_0x57684f(0x172)](A['filter'](_0x4a39cb=>_0x4a39cb[_0x57684f(0x197)]===_0xdc9732),A[_0x57684f(0x4c9)](_0x974679=>_0x974679[_0x57684f(0x3d1)]));}[_0x4a9685(0x3f4)](){const _0x1099ba=_0x4a9685;this[_0x1099ba(0x54a)]['getTypeOfUnitAdded$'](a[_0x1099ba(0x33e)]['UNIVER_SHEET'])[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x419)](async _0x55096c=>{const _0x1a52d0=_0x1099ba,_0x1be740=_0x55096c[_0x1a52d0(0x56f)](),_0x2a0801=await this[_0x1a52d0(0x1c4)](_0x1be740);this[_0x1a52d0(0x242)][_0x1a52d0(0x503)](_0x2a0801),this[_0x1a52d0(0x35f)][_0x1a52d0(0x568)](_0x1be740,_0x2a0801);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1099ba(0x33e)][_0x1099ba(0x22a)])[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x172)](A[_0x1099ba(0x464)](_0x4b06b6=>!_0x4b06b6[_0x1099ba(0x56f)]()[_0x1099ba(0x3c4)]('__')))[_0x1099ba(0x419)](async _0x5dbffe=>{const _0x66163e=_0x1099ba,_0x4164a8=_0x5dbffe[_0x66163e(0x56f)](),_0x277154=await this[_0x66163e(0x574)](_0x4164a8);this[_0x66163e(0x242)][_0x66163e(0x503)](_0x277154),this[_0x66163e(0x35f)][_0x66163e(0x568)](_0x4164a8,_0x277154);}),A['merge'](this[_0x1099ba(0x54a)][_0x1099ba(0x388)](a[_0x1099ba(0x33e)][_0x1099ba(0x22a)]),this[_0x1099ba(0x54a)][_0x1099ba(0x388)](a[_0x1099ba(0x33e)][_0x1099ba(0x1af)]))[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x419)](_0x4d4b69=>{const _0x1b007a=_0x1099ba,_0x176d9d=_0x4d4b69[_0x1b007a(0x56f)](),_0x5dd815=this['_entities'][_0x1b007a(0x542)](_0x176d9d);_0x5dd815&&(_0x5dd815['dispose'](),this['_entities']['delete'](_0x176d9d));});}async[_0x4a9685(0x1c4)](_0x54acaf){const _0x2ff541=_0x4a9685,_0x166a9d=await this[_0x2ff541(0x5b4)][_0x2ff541(0x461)](_0x54acaf),_0x3b137d=this[_0x2ff541(0x372)][_0x2ff541(0x572)](St,_0x54acaf,_0x166a9d);return _0x3b137d['init'](),_0x3b137d;}async[_0x4a9685(0x574)](_0x389cf5){const _0x387af4=_0x4a9685,_0xfe3aa9=await this[_0x387af4(0x5b4)][_0x387af4(0x461)](_0x389cf5),_0x2bc231=this[_0x387af4(0x372)][_0x387af4(0x572)](mt,_0x389cf5,_0xfe3aa9);return _0x2bc231[_0x387af4(0x432)](),_0x2bc231;}};De=ss([nt(0x0,a['IUniverInstanceService']),nt(0x1,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),nt(0x2,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x14b240,_0x43b859){const _0x322e1c=_0x4a9685;let {radius:_0x164e66,width:_0x2d8cd9,height:_0x34c08b}=_0x43b859;_0x164e66=_0x164e66!=null?_0x164e66:0x0,_0x2d8cd9=_0x2d8cd9!=null?_0x2d8cd9:0x1e,_0x34c08b=_0x34c08b!=null?_0x34c08b:0x1e;let _0x1e83f4=0x0,_0x2f5924=0x0,_0x59729e=0x0;_0x1e83f4=_0x2f5924=_0x59729e=Math[_0x322e1c(0x585)](_0x164e66,_0x2d8cd9/0x2,_0x34c08b/0x2),_0x14b240['beginPath'](),_0x14b240[_0x322e1c(0x51f)](_0x1e83f4,0x0),_0x14b240['lineTo'](_0x2d8cd9-_0x2f5924,0x0),_0x14b240[_0x322e1c(0x485)](_0x2d8cd9-_0x2f5924,_0x2f5924,_0x2f5924,Math['PI']*0x3/0x2,0x0,!0x1),_0x14b240[_0x322e1c(0x41e)](_0x2d8cd9,_0x34c08b-_0x59729e),_0x14b240['arc'](_0x2d8cd9-_0x59729e,_0x34c08b-_0x59729e,_0x59729e,0x0,Math['PI']/0x2,!0x1),_0x14b240[_0x322e1c(0x41e)](0x0,_0x34c08b),_0x14b240[_0x322e1c(0x41e)](0x0,_0x1e83f4),_0x14b240[_0x322e1c(0x485)](_0x1e83f4,_0x1e83f4,_0x1e83f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14b240[_0x322e1c(0x25e)](),_0x43b859[_0x322e1c(0x28d)]&&(_0x14b240[_0x322e1c(0x4ff)](),_0x14b240[_0x322e1c(0x2e2)]=_0x43b859['fill'],_0x43b859[_0x322e1c(0x5c8)]==='evenodd'?_0x14b240['fill'](_0x322e1c(0x2b7)):_0x14b240[_0x322e1c(0x28d)](),_0x14b240[_0x322e1c(0x4a9)]());}function _0x2b0a(){const _0x213ed4=['SheetCollaborationEntity','SheetCollabCursorShape','runRefRangeMutations','getCurrentUser','/block/','onTransformIME','_updateURLWithCurrentState','touchDependencies','exhaustSavingTask','[PendingState]:\x20unhandled\x20univer\x20type:\x20','endColumn','requireSession','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_docSkeleton','filter','url','_session','DocSkeletonManagerService','cursorInfo','CollaborationEntity','withCredentials','_collaborationController','_nDataBytes','@univerjs/engine-render','roomMembers$','univer-pro.collaboration-client.single-active-unit-service','values','InsertRangeMoveDownCommandId','COMPRESS_MUTATION_SEND','CHANGESET_REJ','liveShareOperation','_draw','_doCryptBlock','ILocalStorageService','idSuffix','_onRecvEvent','MergeInterceptorFactory','PSEUDO_FETCH_MISSING_RESULT','equals','_handleJoinEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','column','_logService','round','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ITelemetryService','getOwnPropertyDescriptor','arc','_cursor','_drawAnchor','HEARTBEAT_INTERVAL','collabStatus.fetchMiss','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','EffectRefRangId','@univerjs-pro/collaboration','_onRefRangeChange','_localStorageService','_roomMembers$','_socket$','DocStateChangeManagerService','change$','_collaborationSessionService','socket$','?url=','_state$','isTransformMutationFailure','[CollaborationUndoRedoService]','UPDATE_CURSOR','SEND_CHANGESET_TIMEOUT','updateCollaborator','processBlock','LOGIN_URL_KEY','_nRounds','_createHandler','getConfig','none','jsx','_fetchMissChangesets','collab-text-anchor-','_oKey','_onFetchMissResult','LocaleService','restore','onTransformRemoteChangesetByIMECache','currentTheme$','COMPLETION_FINISHED','BuiltInUIPart','collabStatus.conflict','Unknown\x20user','every','957104hgvwHj','DisposableCollection','liveShareNewHost','CommandType','endRow','_getSaveTimeout','DeleteRangeMoveLeftCommandId','_onRemoteChangeset','image/bmp','status$','algo','SheetPermissionInitController','#fff','UNRECOGNIZED','isActive','msCrypto','_name','setInterval','Subject','_change$','create','currentColor','_docStateChangeManagerService','saveSheetBlock','switchMap','SheetSkeletonManagerService','decrypt','src','univer-online-status-icon','fromEventSubject','color','shouldCloseConn','getMergeData','HttpExport','_id','getActiveSheet','_parse','conflict.title','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','split','IRemoteInstanceService','params','_redoStacks','kdf','_toggleOnline','RichTextEditingMutation','_resendTimeout','[PendingState]:\x20received\x20acknowledgement.','getRelativeToViewportCoord','MD5','StreamCipher','encrypt','974055MQSetI','1848510BsEahU','SetWorksheetActivateCommand','getOwnPropertySymbols','_initMergeInterceptor','clipPath','setActiveRange','_transformHistoryAndStateStack','transformMutationsWithChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onload','_onCursorDelete','_retryCount','routeKey','url(#on-line-single_clip0_910_349)','distinctUntilChanged','_getMergeRange','_transformService','_drawRectRange','_onCursorUpdate','catch','_refRangeService','_rescheduleHeartbeat','transformIMECache','toDisposable','downloadEndpointUrl','save','copyFileMeta','randomBytes','blockSize','next','_docTransformIMECacheService','_render','registerRefRange','PasswordBasedCipher','collaboration-session-retry','transform','SetTextSelectionsOperation','_event$','createEncryptor','ImageIoService','selection','for','font','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','deepClone','getCoordByCell','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','0\x200\x2017\x2016','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SLIDE','/role','_key','conflict.content','permission.content','drawWith','c1Prime','moveTo','ColorKit','OTHER_CLIENTS_EDITING','entries','_saveTaskMap','/resources','resize','onTransformSelections','div','DOC_RANGE_TYPE','awaiting','HMAC','SNAPSHOT_INVALID_SNAPSHOT','shareReplay','getRangePointData','RECV','NodePositionConvertToRectRange','length','_range','/collaborator','registerHTTPInterceptor','\x20in\x20_schedule.','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','throttleTime','EmptyMutation','@univerjs/sheets','_docSyncEditingCollabCursorService','_transformUndoredo','CollaborationSocketService','/universer-api/oidc/authpage','FileId','leaveEvent','append','cfg','get','JOINING','_colorAssignService','userID','saveOfflineData','LICENSE_EXPORT_SIZE_EXCEEDED','_startTelemetryCollaborationNewChangeset','NodePositionConvertToCursor','_univerInstanceService','_HTTPService','uploadFileServerUrl','getVpScrollXYInfoByPosToVp','_invKeySchedule','rxjs/operators','rng','_themeService','setShapeProps','mode','DataLoaderController','onCommandExecuted','setAlpha','method','indexOf','location','top','IContextService','defs','delay','_commandService','univer-pro.collaboration-client-socket-service','_imageSourceCache','_prevBlock','collabStatus.offline','BehaviorSubject','crypto','_getDownloadEndpointURL','b64DecodeUnicode','YUUMI_SUBSCRIPTION_NOT_FOUND','set','roles','urlChange$','_scheduleClearOtherTimer','HEARTBEAT_TIMEOUT','socket\x20open.','initWorkbookPermissionChange','getUnitId','_initCloseConn','_onMessage','createInstance','session.will-retry','_startDocCollabCursor','_updateCollabCursors','VIEW_MAIN','_sessions','/rev/','\x20-\x20','_hideTimer','_listenToOfflineEvent','focused$','UNKNOWN_CODE','_labelPosition','mixIn','newCsEvent','awaiting_with_pending','_renderManagerService','_sendingTimer','NOT_FOUND','min','reqId','handleIRemoveRow','random','onPointerEnter$','MUTATION','[OfflineState]:\x20received\x20rejection.','_onJoinRoomEvent','UUID','InsertRowCommandId','transformSelections','getSheetBlock','ciphertext','useObservable','CollaborationStatusDisplay','sheetId','setTimeout','readInt32LE','onTransformChange$','saveChangeset','Workbook','toStringTag','Optional','_roomMembers','_docTransformSelectionsService','fromEvent','_onCombEvent','onTransformRemoteChangesetByStateCache','CommentService','originalMeta','cmd','_hovered','collaMsg','getMember','_setupSubUnitSync','Univer','_docSkeletonManagerService','reverse','startTime','_stopTelemetryCollaborationNewChangeset','LICENSE_DISTRO_REJECTED','getInterceptPoints','collabStatus.syncing','DocCollaborationEntity','pad','_setupBeforeClosingHandler','_executeRemoteChangeset','_collabSessionService','_shouldReportTelemetry','actions','formatter','_beforeCloseService','getSheetObject','transformStateCache','@univerjs/network','syncEditingCollabCursor','NOT_COLLAB','_initStatusListener','getCollabEntity$','_keyPriorReset','HEADER_MENU','LEAVE','USERS_LEAVE','toLowerCase','_sheetSkeletonManagerService','selections','bottom','fillRule','dispose$','_exhaustRemoteChangesetQueue','_reverseMap','apply','_initRequestHeader','then','getCurrentUnitForType','refreshPermission','Error\x20on\x20receiving\x20event','PERMISSION_REJ','url(#$1','Vector2','open$','FAIL','ICollaborationSocketService','_removeCollabCursors','updateCursorEvent','setWaitCount','loginUrlKey','override','exports','snapshot','auth.needGotoLoginAlert','csShouldRetryEvent','searchParams','CompressMutationService','_color','blue400','_transformStateCache','getSkeleton','objectID','takeUntil','NO_OTHER_CLIENTS_EDITING','substr','SUBMIT_CHANGESET','makeDirty','_initUnitPermissionChange','collaboration.closeRoom','translate(.97)','baseRev','defIds','COLLAB_SUBMIT_CHANGESET_URL_KEY','unload','executeCommand','salt','getUnitStatus$','flatMap','_cachedData','isTransformMutationsWithChangesetFailure','measureText','asObservable','[CollaborationState]:\x20apply\x20error!','_assignedColors','_sessionStatus$','current','univer-online','buffer','byteLength','IBeforeCloseService','isTransformChangesetsSuccess','ERROR_IMAGE','failed\x20to\x20apply\x20missed\x20changesets!','_hasher','_localCacheService','_members','onMissedChangesetFetched','serializeCombRequest','COLORS','IRenderManagerService','patch','reset','\x20to\x20','addImageSourceCache','action','setCurrentUser','JSONX','updateOfflineData','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','bind','/universer-api/snapshot','CollaborationStatus','collab-text-range-','words','hasher','telemetry\x20info\x20is\x20not\x20initialized','debounce','SHA1','capture','hidden','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','deleteCollaborator','_removeClearOtherTimer','_showConflictNotification','_tryEnsureSocket','batchAllowed','_getLoginPath','displayName','sheets','submit\x20changeset\x20error!','assign','contains','_handler','handleDeleteRangeMoveUp','_clearRedo','APPLY_PERMISSION_DENIED','@univerjs/drawing','_getRedoStack','className','_state','send','post','pipe','_getSheetObject','Warning','_decreaseWaiting','close','_resendTimer','PERMISSION_DENIED','SNAPSHOT_SERVER_URL_KEY','transformStack\x20failed!','_createInitialStateImpl','textEncoder','Injector','black','&assign=','getSheetId','_unitStatus','connection\x20error','infoRsp','symbol','_hover','toRgbString','_doFinalize','ISnapshotServerService','state$','_unitID','permission.title','substring','lib','_handleLeaveEvent','data','[DataLoaderController]','RETRY_CONNECTING_MAX_COUNT','compute','transformByState','useCallback','localeService','_initStatusComponent','unitID','RefRangeService','/new_changes','_cursors','getUnitType','includes','setUndoRedoMutationParamsCache','UniverCollaborationPlugin','subscribeEvent','LocalCacheService','not_collab','ImageSourceType','enableAuthServer','univer-online-status','@univerjs/core','[SyncedState]:\x20received\x20acknowledgement.','EvpKDF','COLLAB_SUBMIT_CHANGESET_URL','RevisionService','_saveCache','useRef','BufferedBlockAlgorithm','popstate','getValue','UNIVER_SHEET','_unitOnClients','_getUndoStack','_applyRemoteChangeset','_createSocket','startRow','_disableEditing','rev','_throwTelemetryCollaborationNewChangeset','mutations','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_clearScheduledTask','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','Base','x-univer-host','online','_toggleOffline','ranges','getRoom','body','_startSheetCollabCursor','unknown','clone','title','getRandomValues','LIVESHARE_NEW_HOST','_scheduleHeartbeat','_minBufferSize','_removeRoom','loadSheet','[FetchMissState]','message$','floor','getTime','has','JOIN','rgba(255,\x20255,\x20255,\x200.01)','9cyHtzv','unshift','dispose','incrementRevOfUnit','_telemetryService','@univerjs/telemetry','_replaceFileID','_cipher','resend','removeMember','Cipher','gold400','getCurrent','splice','createIdentifier','members','memberID','_resendWithTimeout','collaboratorID','COLLAB_WEB_SOCKET_URL','unit','M0\x200H16V16H0z','getUndoRedoMutationParamsCache','USERS_ENTER','engine','Decryptor','WorkbookEditablePermission','_sendHeartbeat','_getAPIPrefixPath','LICENSE_MAX_UNITS_EXCEEDED','UnitSnapshot','path','{fileID}','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','1663876RofJzw','DocSelectionManagerService','_memberService','_getAPIPrefix','2ECNIjH','react.element','href','default','CollaborationController','interceptor','getStateCache','sendChangesetTimeout','transformRemoteChangeset','getMemberID','encodeURIComponent','loadOfflineData','NoPadding','m1Prime','children','collabCursorState$','_transformPreviousActiveRange','call','fromCollab','getLatestCsReqIdBySid','_doReset','image/png','defaultProps','_eventUnsubscribe','_httpService','_singleActiveUnitService','setStateCache','prototype','getOffsetConfig','RETRY_CONNECTING_MAX_COUNT_KEY','MoveRangeCommandId','CHANGESET_REVISION_CONFILICT','COLLAB_WEB_SOCKET_URL_KEY','OpenSSL','CBC','_updateSubUnitFromURLParams','file','Base64','origin','AES','editingUnit','delete','_data','status','YUUMI_RATE_OVER_LIMIT','pauseCollaboration','sid','UNIVER_DOC','socketService','xlink:href','charAt','padding','/universer-api/file/{fileID}/sign-url','_urlService','getDocRanges','_snapshotService','_syncEditingCollabCursor','Could\x20not\x20dynamically\x20require\x20\x22','put','textRanges','colorChannel1','_textBubble','from','_uiPartsService','IUndoRedoService','_colorIndex','_http','transformMutation','PENDING','authzUrl','join','_entityInit$','INTERNAL_ERROR','ONLINE','useDependency','transformUndoRedo','attrs','HEARTBEAT_TIMEOUT_KEY','_awaitingChangeset','reconnect','onStateChange','_tryReconnect','getDeserializedSheetBlock','_docTransformStateCacheService','_send','_anchorDot','InsertSheetMutation','onlineStatusTitle','collabWebSocketUrl','_onConnectionFailed','fetch_missing','_pendingMutations','_sheetTransformSelectionsService','react','headers','[CollaborationSessionService]','SetSelectionsOperation','collaborators','LIVESHARE_OPERATION','closePath','_incrementRevisionNumber','_joinRoom','Disposable','_commentUpdate$','_onOffline','_waitForHeartbeatResponse','/universer-api/comb','RegularPolygon','_scheduleTimestamp','UNDEFINED','_substituteUndoStack','ImageUploadStatusType','AuthzIoHttpService','stopTime','_revisionService','onCommentUpdate','_submitChangeset','FromArray','clear','CHANGESET_ACK','_transformStack','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEWPORT_KEY','_collabCursorController','offline','_clearCollaborationTimeoutTimer','_changesetSessionId','Inject','onRendered','NEW_CHANGESETS','IMessageService','_registerDependencies','range','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','registerOnClose','setParam','LIVESHARE_TERMINATE','find','updatePermissionObjEvent','getItem','replaceState','fetchMiss','Utf8','map','AWAITING_WITH_PENDING','SYNCED','fill','addObject','_scheduleCollaborationTimeoutTimer','image/gif','_getUploadFileURL','Rect','pushState','_configService','retryConnectingInterval','collab-rect-range-','event$','getCollabEntity','_clearTimeoutTimer','fromCharCode','_selfUnitIDs','_backgroundColor','@univerjs/rpc','_updateLocalCache','_loadDoc','confirm','_startCollaboration','reduce','forwardRef','setItem','_replayCachedMutations','OffLineSingle','CollaborationSessionService','_sender','/universer-api/snapshot/','toggleOnline','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','propertyIsEnumerable','c2Prime','subUnitId','parse','ALREADY_EXISTS','conflict','_onLocalMutation','_compressMutationService','FETCH_MISSING','getCellPositionByOffset','removeParam','evenodd','onSendChangeset','name','onPointerMove$','_listenToOnlineEvent','WordArray','_ensureSubject','format','onRemoteChangeset','getAllMembers','changesets','fillText','concatMap','_clearUndo','sin','FETCH_MISS','RxDisposable','APPLY_DUPLICATED','[CollaborationEntity]','getSheetBySheetId','registerRenderModule','tag','Shape','/-/object/list','getColor','Error','stringify','CollaborationSession','_anchor','_candidateSocket','function','size','onlyLocal','_disabled','_updateStatus','InsertColCommandId','HTTPService','visibilitychange','getFocusedUnit','unitId','onRemoteRetry','_instanceService','onlineStatus','fillStyle','MessageType','DeleteRangeMoveUpCommandId','collabStatus.synced','json','max','ILogService','workbook','_onRemoteRejected','_createInitialState','_transitionLocked','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','$super','_socket','IAuthzIoService','&to=','slice','_initCommandExecutedListener','hasOwnProperty','encryptBlock','_createHelper','complete','DesktopCollaborationStatusDisplayController','...','_updateLocalCursor','_unlockTransition','/allowed','YUUMI_URL_COL_OUT_OF_RANGE','some','ReactCurrentOwner','\x0aCurrent:\x20','duration','_xformMode','key','clamp','session','enableLocalCache','_refreshCollabCursors','TEXT_RANGE_LAYER_INDEX','_keySchedule','getUnit','LOCAL_CACHE_INTERVAL_KEY','replaceDocRanges','createCollaborator','APPLY_REVISION_CONFILICT','result','IPermissionService','_DEC_XFORM_MODE','deserializeToCombResponse','ivSize','Hasher','ITransformService','RemoveColCommandId','encode','BASE64','SessionStatus','getRenderById','_onUserLeave','SheetsSelectionsService','_notificationService','updateMember','_userManagerService','WebURLService','_lockTransition','collaboration-client.config','mergeOverrideWithDependencies','HTTPRequest','enableSingleActiveInstanceLock','with','fetchMissingChangesets','CONFLICT','deserializeRangeWithSheet','LIVESHARE_REQUEST_HOST','_handleHeartbeatEvent','row','disposeUnit','generateRandomId','object','compose','_ENC_XFORM_MODE','createSocket','ref','roomMembers','_transformSelections','_lastPointer','_getAnchorBounding','OFFLINE','allowed','revision','/unit/','_clearHeartbeatTimer','SnapshotService','UniverInstanceType','_telemetryInfo','_heartbeatTimer','_onConflict','_getCurrentRevision','/object/','unitId\x20is\x20not\x20found','merge','_commentService','UPDATE_PERMISSION_OBJ','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendHeartbeatTimer','_onUserJoin','_append','HttpImport','_checkMissing','unit-cache-','_handleEvent','toString','@univerjs/docs','image/jpeg','1em','onMissingChangesets','_createHmacHelper','getWorkbookSelections','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','labelPosition','CollaborationEvent','DocIMEInputManagerService','Encryptor','/fetchmissing?from=','saveImage','_entities','disableLocalCache','visibilityState','reject','_timeoutTimer','_clearLocalCache','objects','_status$','_getScale','addEventListener','@univerjs/design','finalize','show','_changesetReqId','isArray','_substituteRedoStack','url(#off-line-single_clip0_910_343)','getUnitOnRev','hide','_injector','APPLY_REJECT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','currentSkeleton$','SnapshotServerOverHTTPService','defineProperty','WebSocketService','onSyncEditingCollabCursor','debug','onRemoteRej','error$','CipherParams','[CollaborationSessionService]:\x20socket\x20error','BlockCipher','_process','width','update','_onRemoteRetry','rxjs','requestParams','session.connection-failed','HEARTBEAT_INTERVAL_KEY','getTypeOfUnitDisposed$','Plugin','COMMENT_UPDATE','replace','all','APPLY_NON_SEQUENTIAL_REVISION','updatePermissionPoint','forEach','objectActions','[PendingState]:\x20received\x20rejection.','_socketReady','createElement','_document','pluginName','on-line-single_clip0_910_349','trim','CHANGESET_SHOULD_RETRY','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','execute','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_localeService','SerializableCipher','off-line-single','_initEventListeners','IDLE','INGEST','UniverCollaborationClientPlugin','collaboration.single-unit.warning','randomUUID','take','sigBytes','_messageService','_schedule','SNAPSHOT_HAS_BEEN_REMOVED','UniverNetworkPlugin','_waitCount','parseProtocolChangeset','BlockCipherMode','redoState','eventID','assignAColorForMemberID','getCurrentSelections','string','clearTimeout','charCodeAt','/-/object/-/batch_allowed','3203946BScfDh','toggleOffline','Module','list','_isPermissionRej','extend','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_collabCursorState$','_cursorInfo$','jsxs','@univerjs/docs-ui','_ws','_map','_scene','startsWith','IUniverInstanceService','newValue','disposeWithMe','onlineStatusIcon','_retryConnectingTimer','_initDependencies','_getSendChangesetTimeout','fetchThroughInterceptors','number','ThemeService','doc.mutation.rich-text-editing','triggerDblclick','cursorInfo$','_undoRedoService','[OfflineState]:\x20received\x20acknowledgement.','UnitEmbedded','transformChangesets','push','_iv','error','_shapes','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_mode','height','synced','storage','_socketMessageSubscription','_permissionService','MemberService','getParam','_transformUndoRedoStack','type','getCurrentRevOfUnit','enc','COMPRESS_MUTATION_APPLY','_cursorShapes','onRemoteAck','6603884CIvAuT','image/jpg','onReady','ThresholdInterceptorFactory','onMouseMove','combineLatest','pending','keySize','_config','IImageIoService','_init','HELLO','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_hash','[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.','getTypeOfUnitAdded$','_getCtorByUniverType','IConfigService','_context','use','subunit','handleInsertCol','/universer-api/authz','RECT','unsubscribe','m2Prime','[CollaborationSession]','_collaborationTimeoutTimer','getCollabCursors$','concat','_onConnectionOpen','_initResize','\x0aAfter:\x20','decryptBlock','appendMutation','LIVESHARE_FETCH_OPERATIONS','_collaborationPaused','on-line-single','_getSignURL','AWAITING','__creator','responseType','_acknowledgedAwaitingChangeset','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','debounceTime','Undefined','startColumn','subscribe','_type','_updateState','serializeRangeWithSheet','UNKNOWN_CMD','lineTo','target','_online','svg','hovered','_handleHover','parseChangesetToProtocol','commentUpdateEvent','Tools','HEARTBEAT','AUTHZ_URL_KEY','mapTo','add','SHOULD_CLOSE_CONN','INVALID_ARGUMENT','history','MSG_FOR_ERROR','undoState','docStateChange$','POST','init','UNIVER_PROJECT','uni.network.url-service','skeleton','_drawTextRange','_remoteChangesetQueue','icon','off-line-single_clip0_910_343','_transformIMECache','TEXT','UNAUTHENTICATED','findNodePositionByCharIndex','/universer-api/stream/file/upload','SEND_CHANGESET_TIMEOUT_KEY','registerDependencies','sheetID','SNAPSHOT_URL_KEY','enableOfflineEditing','[OfflineState]:\x20received\x20changeset.','addObjects','_onRemoteACK','YUUMI_UNABLE_LOAD_URL','Tooltip','ICommandService','clearInterval','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','#FFF','sessionStatus$','TOO_MANY_REQUESTS','4040488CmPain','sessionStatus','objectType','_transformRemoteChangesetByStateCache','isTransformMutationsWithChangesetSuccess','_loadSheet','createDecryptor'];_0x2b0a=function(){return _0x213ed4;};return _0x2b0a();}class ze extends K[_0x4a9685(0x2cd)]{constructor(_0xa7b895,_0x25bed0){const _0x438573=_0x4a9685;super(_0xa7b895,_0x25bed0),I(this,_0x438573(0x4cf)),I(this,'text'),(this['color']=_0x25bed0==null?void 0x0:_0x25bed0['color'],this['text']=_0x25bed0==null?void 0x0:_0x25bed0['text']);}static[_0x4a9685(0x51d)](_0x56d706,_0xfaa5b){const _0x57673f=_0x4a9685,{text:_0x2367c3,color:_0x4f6fcf}=_0xfaa5b;_0x56d706[_0x57673f(0x4ff)](),_0x56d706[_0x57673f(0x510)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x272b0e=_0x56d706[_0x57673f(0x134)](_0x2367c3)[_0x57673f(0x381)],_0x913e48=Math[_0x57673f(0x585)](_0x272b0e+0x2*it,Ht);os(_0x56d706,{'height':Le,'radius':0x4,'width':_0x913e48,'fill':_0x4f6fcf,'evented':!0x1}),_0x56d706['fillStyle']=_0x57673f(0x44c);const _0x126581=it,_0x2d2a9c=Le-rs,_0xcfa6a1=Ht-0x2*it;if(_0x272b0e>_0xcfa6a1){let _0xc4ff3a='',_0x195c16=0x0;for(const _0x22d885 of _0x2367c3){const _0x13e1e9=_0x56d706[_0x57673f(0x134)](_0x22d885)[_0x57673f(0x381)];if(_0x195c16+_0x13e1e9<=_0xcfa6a1-_0x56d706[_0x57673f(0x134)](_0x57673f(0x2f9))['width'])_0xc4ff3a+=_0x22d885,_0x195c16+=_0x13e1e9;else{_0xc4ff3a+=_0x57673f(0x2f9);break;}}_0x56d706[_0x57673f(0x2c2)](_0xc4ff3a,_0x126581,_0x2d2a9c);}else _0x56d706[_0x57673f(0x2c2)](_0x2367c3,_0x126581,_0x2d2a9c);_0x56d706[_0x57673f(0x4a9)]();}[_0x4a9685(0x475)](_0x260692){const _0x18a7ab=_0x4a9685;ze[_0x18a7ab(0x51d)](_0x260692,this);}}const st=_0x4a9685(0x4a5),as=_0x4a9685(0x154),cs=_0x4a9685(0x296),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x4a9685(0x1d4);class Bt{constructor(_0x24d0cc,_0xb81dd,_0x1c1eaf,_0x3b7d76){const _0x19f27e=_0x4a9685;I(this,_0x19f27e(0x3d9),[]),I(this,_0x19f27e(0x2d3),null),I(this,_0x19f27e(0x238),null),I(this,_0x19f27e(0x250),null),I(this,_0x19f27e(0x57a),null),I(this,_0x19f27e(0x212),null),(this[_0x19f27e(0x486)]=_0x24d0cc,this[_0x19f27e(0x3c3)]=_0xb81dd,this[_0x19f27e(0x463)]=_0x1c1eaf,this[_0x19f27e(0x394)]=_0x3b7d76,this[_0x19f27e(0x505)]());}set[_0x4a9685(0x185)](_0x173211){const _0x2c1d3a=_0x4a9685;_0x173211?(this['_anchorDot']&&this[_0x2c1d3a(0x250)][_0x2c1d3a(0x371)](),this['_textBubble']&&this[_0x2c1d3a(0x238)]['show']()):(this[_0x2c1d3a(0x250)]&&this['_anchorDot'][_0x2c1d3a(0x36b)](),this[_0x2c1d3a(0x238)]&&this[_0x2c1d3a(0x238)][_0x2c1d3a(0x371)]());}['dispose'](){const _0x46c8ce=_0x4a9685;for(const _0x7443b5 of this[_0x46c8ce(0x3d9)])_0x7443b5[_0x46c8ce(0x1d7)]();this[_0x46c8ce(0x238)]&&this[_0x46c8ce(0x238)]['dispose'](),this[_0x46c8ce(0x250)]&&this[_0x46c8ce(0x250)][_0x46c8ce(0x1d7)](),this[_0x46c8ce(0x2d3)]&&this['_anchor'][_0x46c8ce(0x1d7)](),this[_0x46c8ce(0x212)]&&this['_eventUnsubscribe']();}[_0x4a9685(0x505)](){const _0x26c96e=_0x4a9685;var _0xab1cbd;const {_docSkeleton:_0x277fa4,_document:_0x36031f}=this,{color:_0x4a1340,name:_0xf8dd9d,ranges:_0x23f5b8}=this[_0x26c96e(0x486)],_0x40f24f=_0x36031f[_0x26c96e(0x217)](),{docsLeft:_0x559e31,docsTop:_0x3edeb3}=_0x40f24f,_0x2a78aa=new J[(_0x26c96e(0x549))](_0x40f24f,_0x277fa4);for(const {startOffset:_0x12ae9d,endOffset:_0x538794,rangeType:_0x2f83d7,segmentId:_0x5ddbf3,segmentPage:_0x30b4d7,collapsed:_0x418225,isActive:_0x5d710d}of _0x23f5b8){const _0x207fbc=_0x277fa4[_0x26c96e(0x43d)](_0x12ae9d,!0x0,_0x5ddbf3,_0x30b4d7);let _0x1108bb=_0x277fa4[_0x26c96e(0x43d)](_0x538794,!0x0,_0x5ddbf3,_0x30b4d7);if(_0x1108bb==null&&(_0x1108bb=_0x277fa4['findNodePositionByCharIndex'](_0x538794-0x1,!0x1,_0x5ddbf3,_0x30b4d7)),_0x5d710d){const {contentBoxPointGroup:_0x2f9d11}=_0x2a78aa['getRangePointData'](_0x1108bb,_0x1108bb);if(_0x2f9d11[_0x26c96e(0x530)]===0x0)continue;this[_0x26c96e(0x487)](_0x4a1340,_0x2f9d11,_0x559e31,_0x3edeb3,_0xf8dd9d),this[_0x26c96e(0x212)]=this[_0x26c96e(0x423)]();}if(_0x207fbc&&_0x1108bb){if(_0x2f83d7===a[_0x26c96e(0x528)][_0x26c96e(0x401)]){const _0x309173=new J[(_0x26c96e(0x52f))](_0x40f24f,_0x277fa4),{pointGroup:_0x4a82ce}=(_0xab1cbd=_0x309173[_0x26c96e(0x52d)](_0x207fbc,_0x1108bb))!=null?_0xab1cbd:{};if(_0x4a82ce==null||_0x4a82ce[_0x26c96e(0x530)]===0x0)continue;this['_drawRectRange'](_0x4a1340,_0x4a82ce,_0x559e31,_0x3edeb3);}else{if(!_0x418225){const {borderBoxPointGroup:_0x49a541}=_0x2a78aa['getRangePointData'](_0x207fbc,_0x1108bb);if(_0x49a541['length']===0x0)continue;this[_0x26c96e(0x436)](_0x4a1340,_0x49a541,_0x559e31,_0x3edeb3);}}}}}[_0x4a9685(0x487)](_0x4c016e,_0x3fab16,_0x5c19ce,_0xd1f7df,_0x2b156d){const _0x20de16=_0x4a9685,_0x46677b=this[_0x20de16(0x337)](_0x3fab16),{left:_0x2a969d,top:_0x41f125,height:_0x5a3eda}=_0x46677b,_0x2fe142=this[_0x20de16(0x367)](),_0x171ddc=hs/_0x2fe142,_0xbd2c58=new K[(_0x20de16(0x292))](st+a['Tools'][_0x20de16(0x32e)](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df,'height':_0x5a3eda,'width':ls,'fill':_0x4c016e||K[_0x20de16(0x2cf)](a[_0x20de16(0x146)][_0x20de16(0x17e)],0x0),'strokeWidth':_0x171ddc,'stroke':_s,'evented':!0x0});this[_0x20de16(0x2d3)]=_0xbd2c58,this['_scene'][_0x20de16(0x28e)](_0xbd2c58,J['TEXT_RANGE_LAYER_INDEX']);const _0x28532f=new K[(_0x20de16(0x292))](st+a[_0x20de16(0x426)][_0x20de16(0x32e)](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df-rt/0x2,'height':rt,'width':rt,'fill':_0x4c016e||K[_0x20de16(0x2cf)](a[_0x20de16(0x146)][_0x20de16(0x17e)],0x0),'strokeWidth':0x0,'stroke':_0x4c016e||K[_0x20de16(0x2cf)](a['COLORS'][_0x20de16(0x17e)],0x0),'evented':!0x1});this[_0x20de16(0x250)]=_0x28532f,this[_0x20de16(0x3c3)][_0x20de16(0x28e)](_0x28532f,J[_0x20de16(0x308)]);const _0xb838b2=new ze(st+a[_0x20de16(0x426)]['generateRandomId'](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df-Le,'text':_0x2b156d,'color':_0x4c016e});this[_0x20de16(0x238)]=_0xb838b2,this['_scene'][_0x20de16(0x28e)](_0xb838b2,J['TEXT_RANGE_LAYER_INDEX']),this[_0x20de16(0x185)]=!0x1;}['_handleHover'](){const _0xaa9ce6=_0x4a9685,_0x2a6bac=this['_anchor']['onPointerEnter$'][_0xaa9ce6(0x19f)](()=>{const _0xc8d956=_0xaa9ce6;this[_0xc8d956(0x185)]=!0x0;}),_0x325d0c=this['_anchor']['onPointerLeave$'][_0xaa9ce6(0x19f)](()=>{const _0x12a27a=_0xaa9ce6;this[_0x12a27a(0x57a)]&&clearTimeout(this[_0x12a27a(0x57a)]),this[_0x12a27a(0x57a)]=setTimeout(()=>{const _0x374563=_0x12a27a;this[_0x374563(0x185)]=!0x1;},0x7d0);});return()=>{const _0x23fd97=_0xaa9ce6;_0x2a6bac[_0x23fd97(0x402)](),_0x325d0c[_0x23fd97(0x402)]();};}[_0x4a9685(0x436)](_0x3dc19e,_0xde55ff,_0xda5cc7,_0x4fd71a){const _0x46de2b=_0x4a9685,_0x1b7296=new a[(_0x46de2b(0x520))](_0x3dc19e)[_0x46de2b(0x556)](0.2)[_0x46de2b(0x186)](),_0x2f90cd=new K[(_0x46de2b(0x266))](as+a['Tools']['generateRandomId'](Ue),{'pointsGroup':_0xde55ff,'fill':_0x1b7296||K['getColor'](a[_0x46de2b(0x146)][_0x46de2b(0x17e)],0.2),'left':_0xda5cc7,'top':_0x4fd71a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x46de2b(0x3d6)](_0x2f90cd),this[_0x46de2b(0x3c3)][_0x46de2b(0x28e)](_0x2f90cd,J[_0x46de2b(0x308)]);}[_0x4a9685(0x4f7)](_0x27c52d,_0x35b728,_0x24a8cb,_0x16f806){const _0x45e6ef=_0x4a9685,_0x5e8190=new a['ColorKit'](_0x27c52d)['setAlpha'](0.2)[_0x45e6ef(0x186)](),_0x5aa893=new K[(_0x45e6ef(0x266))](cs+a[_0x45e6ef(0x426)][_0x45e6ef(0x32e)](Ue),{'pointsGroup':_0x35b728,'fill':_0x5e8190||K['getColor'](a[_0x45e6ef(0x146)][_0x45e6ef(0x17e)],0.2),'left':_0x24a8cb,'top':_0x16f806,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45e6ef(0x3d9)][_0x45e6ef(0x3d6)](_0x5aa893),this[_0x45e6ef(0x3c3)][_0x45e6ef(0x28e)](_0x5aa893,J[_0x45e6ef(0x308)]);}[_0x4a9685(0x337)](_0x5e30b9){const _0x40c4c8=_0x5e30b9[0x0],_0x437500=_0x40c4c8[0x0],_0xd57ed7=_0x40c4c8[0x2],{x:_0x5a4167,y:_0x5c24a8}=_0x437500,{x:_0x520296,y:_0x48a56e}=_0xd57ed7;return{'left':_0x5a4167,'top':_0x5c24a8,'width':_0x520296-_0x5a4167,'height':_0x48a56e-_0x5c24a8};}[_0x4a9685(0x367)](){const _0x305924=_0x4a9685,{scaleX:_0x45d429,scaleY:_0x3e0d08}=this[_0x305924(0x3c3)]['getAncestorScale']();return Math[_0x305924(0x2e7)](_0x45d429,_0x3e0d08);}}var us=Object[_0x4a9685(0x377)],ds=Object[_0x4a9685(0x484)],fs=(_0x3bc273,_0xa5b36f,_0x545382,_0x402b11)=>{const _0x296d27=_0x4a9685;for(var _0x296f0e=_0x402b11>0x1?void 0x0:_0x402b11?ds(_0xa5b36f,_0x545382):_0xa5b36f,_0x1e2d0a=_0x3bc273[_0x296d27(0x530)]-0x1,_0xb731b5;_0x1e2d0a>=0x0;_0x1e2d0a--)(_0xb731b5=_0x3bc273[_0x1e2d0a])&&(_0x296f0e=(_0x402b11?_0xb731b5(_0xa5b36f,_0x545382,_0x296f0e):_0xb731b5(_0x296f0e))||_0x296f0e);return _0x402b11&&_0x296f0e&&us(_0xa5b36f,_0x545382,_0x296f0e),_0x296f0e;},je=(_0x4c91d7,_0x448d57)=>(_0x8875fe,_0x32eac0)=>_0x448d57(_0x8875fe,_0x32eac0,_0x4c91d7);let pt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x4991ae,_0x29c75b,_0x1ef7be,_0x20fec8,_0x557669){const _0x11501f=_0x4a9685;super(),I(this,'_cursorShapes',[]),I(this,'_cursors',[]),(this[_0x11501f(0x3fc)]=_0x4991ae,this[_0x11501f(0x5a9)]=_0x29c75b,this[_0x11501f(0x276)]=_0x1ef7be,this[_0x11501f(0x55e)]=_0x20fec8,this[_0x11501f(0x551)]=_0x557669,this[_0x11501f(0x3f4)]());}[_0x4a9685(0x3f4)](){const _0x5b1bc8=_0x4a9685,_0x11989f=this[_0x5b1bc8(0x3fc)]['unitId'],_0x4d72d4=this[_0x5b1bc8(0x5a9)];this[_0x5b1bc8(0x3c7)](A[_0x5b1bc8(0x3ef)]([this[_0x5b1bc8(0x276)][_0x5b1bc8(0x406)](_0x11989f),this['_themeService']['currentTheme$']])[_0x5b1bc8(0x172)](V[_0x5b1bc8(0x28a)](([_0x3ef843,_0x55d4c7])=>({'skeleton':_0x4d72d4['getSkeleton'](),'cursors':[..._0x3ef843[_0x5b1bc8(0x470)]()][_0x5b1bc8(0x5f7)](_0x277d2d=>({..._0x277d2d,'color':_0x55d4c7[_0x277d2d['color']]}))})))['subscribe'](_0x36bf32=>{const _0x5ddfc6=_0x5b1bc8;if(this['_removeCollabCursors'](),_0x36bf32){const {skeleton:_0x158127,cursors:_0x4755f8}=_0x36bf32;this[_0x5ddfc6(0x575)](_0x158127,_0x4755f8);}})),this['_initResize'](),this[_0x5b1bc8(0x2f3)]();}['_updateCollabCursors'](_0x3d8440,_0x4e9c73){const _0x354f3a=_0x4a9685,{scene:_0x4b30e9,mainComponent:_0x39a1eb}=this[_0x354f3a(0x3fc)],_0x1b249a=_0x4e9c73[_0x354f3a(0x28a)](_0x238372=>new Bt(_0x238372,_0x4b30e9,_0x3d8440,_0x39a1eb));this[_0x354f3a(0x3e8)]=_0x1b249a,this['_cursors']=_0x4e9c73;}[_0x4a9685(0x307)](){const _0x1e2a58=_0x4a9685;this['_removeCollabCursors']();const {scene:_0x439f06,mainComponent:_0x3ea5de}=this[_0x1e2a58(0x3fc)],_0x4e3c25=this[_0x1e2a58(0x5a9)][_0x1e2a58(0x5e6)](),_0x5a43b6=this[_0x1e2a58(0x19a)][_0x1e2a58(0x28a)](_0x40a977=>new Bt(_0x40a977,_0x439f06,_0x4e3c25,_0x3ea5de));this[_0x1e2a58(0x3e8)]=_0x5a43b6;}[_0x4a9685(0x5d8)](){const _0x36c748=_0x4a9685;this[_0x36c748(0x3e8)][_0x36c748(0x38f)](_0x37d3f0=>_0x37d3f0[_0x36c748(0x1d7)]()),this[_0x36c748(0x3e8)]=[];}[_0x4a9685(0x2f3)](){const _0x1a4517=_0x4a9685,_0xff1c06=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1a4517(0x55e)]['onCommandExecuted'](_0x1ef7dc=>{const _0x5c487e=_0x1a4517;_0xff1c06[_0x5c487e(0x19c)](_0x1ef7dc['id'])&&_0x1ef7dc[_0x5c487e(0x4da)][_0x5c487e(0x2de)]===this[_0x5c487e(0x3fc)][_0x5c487e(0x2de)]&&this[_0x5c487e(0x307)]();}));}[_0x4a9685(0x409)](){const _0x40910a=_0x4a9685;this['disposeWithMe'](a[_0x40910a(0x4ce)](this[_0x40910a(0x3fc)][_0x40910a(0x1ed)][_0x40910a(0x597)])[_0x40910a(0x172)](V[_0x40910a(0x464)](_0x1b7934=>_0x1b7934['type']===K[_0x40910a(0x3da)][_0x40910a(0x525)]),V[_0x40910a(0x537)](0x10))[_0x40910a(0x419)](()=>{const _0x3661eb=_0x40910a;this[_0x3661eb(0x307)]();}));}};pt=fs([je(0x1,a[_0x4a9685(0x27a)](ye[_0x4a9685(0x467)])),je(0x2,a['Inject'](De)),je(0x3,a[_0x4a9685(0x449)]),je(0x4,a[_0x4a9685(0x27a)](a['ThemeService']))],pt);const vs=0x1,ms=1.5;class Sn extends K['Shape']{constructor(_0x21517c,_0x5ab4ea){const _0x120aa0=_0x4a9685;super(_0x21517c,_0x5ab4ea),I(this,_0x120aa0(0x5e3)),I(this,_0x120aa0(0x5a4),!0x1),I(this,'_range'),I(this,_0x120aa0(0x4c1),''),I(this,_0x120aa0(0x57e),_0x120aa0(0x55a)),I(this,_0x120aa0(0x29c)),(_0x5ab4ea&&this[_0x120aa0(0x552)](_0x5ab4ea),this[_0x120aa0(0x589)]['subscribeEvent'](()=>this[_0x120aa0(0x552)]({'hovered':!0x0})),this['onPointerLeave$'][_0x120aa0(0x19f)](()=>this[_0x120aa0(0x552)]({'hovered':!0x1})));}[_0x4a9685(0x552)](_0x570503){const _0x2128fa=_0x4a9685;var _0x1df9fe,_0x16e3e8,_0x3543f0,_0x3ba7a2,_0x14a4c3,_0x28335c;this['_color']=(_0x1df9fe=_0x570503[_0x2128fa(0x4cf)])!=null?_0x1df9fe:this['_color'],this[_0x2128fa(0x5a4)]=(_0x16e3e8=_0x570503[_0x2128fa(0x422)])!=null?_0x16e3e8:this[_0x2128fa(0x5a4)],this[_0x2128fa(0x531)]=(_0x3543f0=_0x570503[_0x2128fa(0x27f)])!=null?_0x3543f0:this[_0x2128fa(0x531)],this['_name']=(_0x3ba7a2=_0x570503['name'])!=null?_0x3ba7a2:this[_0x2128fa(0x4c1)],this[_0x2128fa(0x57e)]=(_0x14a4c3=_0x570503[_0x2128fa(0x359)])!=null?_0x14a4c3:this[_0x2128fa(0x57e)],this[_0x2128fa(0x29c)]=(_0x28335c=_0x570503['backgroundColor'])!=null?_0x28335c:this[_0x2128fa(0x29c)],this[_0x2128fa(0x193)]({'width':_0x570503[_0x2128fa(0x381)],'height':_0x570503[_0x2128fa(0x3dc)]});}[_0x4a9685(0x3ee)](_0x20189c){const _0x3b2a4c=_0x4a9685,{row:_0x5f22ac,column:_0x5360c9}=_0x20189c;if(_0x5f22ac>=this['_range'][_0x3b2a4c(0x1b4)]&&_0x5f22ac<=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x4b5)]&&_0x5360c9>=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x418)]&&_0x5360c9<=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x460)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3b2a4c(0x552)]({'hovered':!0x1});}[_0x4a9685(0x3d0)](_0x126f54){return!0x1;}[_0x4a9685(0x475)](_0x512eaf){const _0x5a82c8=_0x4a9685;K[_0x5a82c8(0x292)][_0x5a82c8(0x51d)](_0x512eaf,{'width':this[_0x5a82c8(0x381)],'height':this[_0x5a82c8(0x3dc)],'strokeWidth':ms,'stroke':this[_0x5a82c8(0x5e3)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x512eaf[_0x5a82c8(0x4ff)](),_0x512eaf[_0x5a82c8(0x509)](0x1,0x0,0x0,0x1,this[_0x5a82c8(0x381)],this[_0x5a82c8(0x57e)]===_0x5a82c8(0x5c7)?0x0:-Le),ze[_0x5a82c8(0x51d)](_0x512eaf,{'text':this['_name'],'color':this[_0x5a82c8(0x5e3)]}),_0x512eaf[_0x5a82c8(0x4a9)]());}}var Ss=Object['defineProperty'],ps=Object[_0x4a9685(0x484)],gs=(_0x216e7a,_0x5e8c4e,_0x577960,_0x4d265f)=>{for(var _0x3de0ab=_0x4d265f>0x1?void 0x0:_0x4d265f?ps(_0x5e8c4e,_0x577960):_0x5e8c4e,_0x428012=_0x216e7a['length']-0x1,_0x325291;_0x428012>=0x0;_0x428012--)(_0x325291=_0x216e7a[_0x428012])&&(_0x3de0ab=(_0x4d265f?_0x325291(_0x5e8c4e,_0x577960,_0x3de0ab):_0x325291(_0x3de0ab))||_0x3de0ab);return _0x4d265f&&_0x3de0ab&&Ss(_0x5e8c4e,_0x577960,_0x3de0ab),_0x3de0ab;},ot=(_0x23c4c4,_0x1caef5)=>(_0x3d895f,_0x3247a7)=>_0x1caef5(_0x3d895f,_0x3247a7,_0x23c4c4);const Is=0x1389;let gt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x3ff6cf,_0x368c1f,_0x52c2f8,_0x1cbc5c){const _0x16656b=_0x4a9685;super(),I(this,_0x16656b(0x19a),new Set()),I(this,'_lastPointer',null),(this[_0x16656b(0x3fc)]=_0x3ff6cf,this['_sheetSkeletonManagerService']=_0x368c1f,this[_0x16656b(0x276)]=_0x52c2f8,this[_0x16656b(0x551)]=_0x1cbc5c,this['_init']());}[_0x4a9685(0x3f4)](){const _0x42c34b=_0x4a9685;this[_0x42c34b(0x5c5)][_0x42c34b(0x375)][_0x42c34b(0x172)](V[_0x42c34b(0x5e8)](this[_0x42c34b(0x5c9)]),V[_0x42c34b(0x4c9)](_0x3d276e=>{const _0x2f32c9=_0x42c34b;if(_0x3d276e){const _0x1a6173=_0x3d276e[_0x2f32c9(0x594)];return A[_0x2f32c9(0x3ef)](this[_0x2f32c9(0x276)][_0x2f32c9(0x406)](this['_context']['unitId']),this[_0x2f32c9(0x551)][_0x2f32c9(0x4ab)])[_0x2f32c9(0x172)](V[_0x2f32c9(0x28a)](([_0x3699ad,_0xab05af])=>{const _0x4387a5=_0x2f32c9,_0x182aa1=new Map();return _0x3699ad[_0x4387a5(0x38f)]((_0x2ef828,_0x411d53)=>{const _0x3c79d2=_0x4387a5;if(_0x2ef828[_0x3c79d2(0x441)]===_0x1a6173){const _0x30c824={..._0x2ef828};_0x30c824['color']=_0xab05af[_0x2ef828[_0x3c79d2(0x4cf)]],_0x182aa1[_0x3c79d2(0x568)](_0x411d53,_0x30c824);}}),{'skeleton':_0x3d276e,'cursors':_0x182aa1};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x42c34b(0x419)](({skeleton:_0x545d7b,cursors:_0x173e30})=>{const _0x5872dc=_0x42c34b;this['_removeCollabCursors'](),_0x545d7b&&this[_0x5872dc(0x575)](_0x545d7b,_0x173e30);}),this[_0x42c34b(0x5c5)][_0x42c34b(0x375)][_0x42c34b(0x419)](_0x80fe19=>{const _0x13b3d8=_0x42c34b;if(_0x80fe19==null)return;const {skeleton:_0x10e3a3}=_0x80fe19,{scene:_0x203916}=this[_0x13b3d8(0x3fc)];_0x203916[_0x13b3d8(0x2ba)][_0x13b3d8(0x19f)](a[_0x13b3d8(0x158)](_0x3c17e5=>{const _0x5d8010=_0x13b3d8;var _0x291c88,_0x223ef6;const {offsetX:_0x3d4e0f,offsetY:_0x26f063}=_0x3c17e5,{x:_0x2e9797,y:_0x469d55}=_0x203916[_0x5d8010(0x4e1)](K[_0x5d8010(0x5d4)][_0x5d8010(0x270)]([_0x3d4e0f,_0x26f063])),{scaleX:_0x42b259,scaleY:_0x2f230b}=_0x203916['getAncestorScale'](),_0x255c9c=_0x203916['getViewport'](Re[_0x5d8010(0x275)][_0x5d8010(0x576)]),_0x59a85e=_0x203916[_0x5d8010(0x54d)](K[_0x5d8010(0x5d4)][_0x5d8010(0x270)]([_0x2e9797,_0x469d55]),_0x255c9c),_0x37dbf3=_0x10e3a3[_0x5d8010(0x2b5)](_0x3d4e0f,_0x26f063,_0x42b259,_0x2f230b,_0x59a85e);((_0x291c88=this[_0x5d8010(0x336)])==null?void 0x0:_0x291c88['column'])===_0x37dbf3[_0x5d8010(0x47f)]&&((_0x223ef6=this[_0x5d8010(0x336)])==null?void 0x0:_0x223ef6[_0x5d8010(0x32c)])===_0x37dbf3[_0x5d8010(0x32c)]||this[_0x5d8010(0x19a)][_0x5d8010(0x38f)](_0x3f75db=>{const _0xa669ac=_0x5d8010;_0x3f75db[_0xa669ac(0x3ee)](_0x37dbf3);});},0x64));});}[_0x4a9685(0x575)](_0x560673,_0x2aeb33){const _0x5dc7df=_0x4a9685;var _0x4cc7b7;const _0x27da3f=(_0x4cc7b7=this[_0x5dc7df(0x5c5)][_0x5dc7df(0x1e1)]())==null?void 0x0:_0x4cc7b7[_0x5dc7df(0x435)];if(!_0x27da3f)return;const _0xc769c5=this[_0x5dc7df(0x173)]();if(!_0xc769c5)return;this[_0x5dc7df(0x19a)]['forEach'](_0x28787f=>{const _0x40886b=_0x5dc7df;_0x28787f[_0x40886b(0x5ec)]();});const {scene:_0x3d3852}=_0xc769c5,_0x558f62=Cs(Array[_0x5dc7df(0x239)](_0x2aeb33[_0x5dc7df(0x470)]()))[_0x5dc7df(0x28a)](_0xbb9365=>{const _0x135a19=_0x5dc7df,{color:_0x2d6662,range:_0x2e6736,name:_0x43567f,selection:_0x2586a9,sheetID:_0x1ef62a}=_0xbb9365,{startColumn:_0x23b21e,startRow:_0x1107b7,endColumn:_0x5ae4a9,endRow:_0xcc6ddb}=_0x2e6736,_0x210f18=Re[_0x135a19(0x514)](_0x1107b7,_0x23b21e,_0x3d3852,_0x27da3f),_0x511d8c=Re[_0x135a19(0x514)](_0xcc6ddb,_0x5ae4a9,_0x3d3852,_0x27da3f),{columnHeaderHeightAndMarginTop:_0x16d440}=_0x27da3f,{startX:_0x26bee7,startY:_0x483cb3}=_0x210f18,{endX:_0x1b29e6,endY:_0x163da9}=_0x511d8c,_0x16ff0e=_0x1b29e6-_0x26bee7,_0x21dfcf=_0x163da9-_0x483cb3,_0x1f7f4f={'labelPosition':_0x483cb3-_0x16d440>=Le?_0x135a19(0x55a):_0x135a19(0x5c7),'sheetID':_0x1ef62a,'range':_0x2e6736,'color':_0x2d6662,'name':_0x43567f,'selection':_0x2586a9,'left':_0x26bee7,'top':_0x483cb3,'width':_0x16ff0e,'height':_0x21dfcf,'evented':!0x1,'zIndex':Is};return new Sn(_0x43567f,_0x1f7f4f);});_0x3d3852[_0x5dc7df(0x445)](_0x558f62,vs),this[_0x5dc7df(0x19a)]=new Set(_0x558f62);}['_removeCollabCursors'](){const _0x3ebc94=_0x4a9685;var _0x498fc8;(_0x498fc8=this[_0x3ebc94(0x19a)])==null||_0x498fc8[_0x3ebc94(0x38f)](_0x4bcc4d=>_0x4bcc4d[_0x3ebc94(0x1d7)]());}[_0x4a9685(0x173)](){const _0x5d140f=_0x4a9685;return Re[_0x5d140f(0x5b9)](this[_0x5d140f(0x3fc)][_0x5d140f(0x1e9)],this['_context']);}};gt=gs([ot(0x1,a['Inject'](Re[_0x4a9685(0x4ca)])),ot(0x2,a[_0x4a9685(0x27a)](De)),ot(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x3ce)]))],gt);function Cs(_0x408d3b){const _0x5e1c71=_0x4a9685,_0x44288e=new Map();return _0x408d3b[_0x5e1c71(0x38f)](_0x210491=>{const _0x2cc73c=_0x5e1c71;if(_0x44288e[_0x2cc73c(0x1d2)](_0x210491[_0x2cc73c(0x50e)])){const _0xd6ca69=_0x44288e[_0x2cc73c(0x542)](_0x210491['selection']);_0xd6ca69[_0x2cc73c(0x2b9)]+=',\x20'+_0x210491['name'];}else _0x44288e['set'](_0x210491[_0x2cc73c(0x50e)],_0x210491);}),Array[_0x5e1c71(0x239)](_0x44288e[_0x5e1c71(0x470)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0xdbc733){const _0x152afc=_0x4a9685;return _0xdbc733&&_0xdbc733['__esModule']&&Object[_0x152afc(0x216)][_0x152afc(0x2f4)][_0x152afc(0x20c)](_0xdbc733,_0x152afc(0x1fe))?_0xdbc733[_0x152afc(0x1fe)]:_0xdbc733;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x4a9685(0x50f)](_0x4a9685(0x1fc)),Ts=Symbol['for']('react.fragment'),Rs=Object[_0x4a9685(0x216)]['hasOwnProperty'],ys=Es[_0x4a9685(0x3bc)][_0x4a9685(0x2ff)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x3a45db,_0x921192,_0x5d7d5c){const _0x14609d=_0x4a9685;var _0x4a0587,_0x19052b={},_0x12381d=null,_0x5e1182=null;_0x5d7d5c!==void 0x0&&(_0x12381d=''+_0x5d7d5c),_0x921192['key']!==void 0x0&&(_0x12381d=''+_0x921192[_0x14609d(0x303)]),_0x921192[_0x14609d(0x333)]!==void 0x0&&(_0x5e1182=_0x921192[_0x14609d(0x333)]);for(_0x4a0587 in _0x921192)Rs[_0x14609d(0x20c)](_0x921192,_0x4a0587)&&!Os['hasOwnProperty'](_0x4a0587)&&(_0x19052b[_0x4a0587]=_0x921192[_0x4a0587]);if(_0x3a45db&&_0x3a45db[_0x14609d(0x211)]){for(_0x4a0587 in(_0x921192=_0x3a45db[_0x14609d(0x211)],_0x921192))_0x19052b[_0x4a0587]===void 0x0&&(_0x19052b[_0x4a0587]=_0x921192[_0x4a0587]);}return{'$$typeof':bs,'type':_0x3a45db,'key':_0x12381d,'ref':_0x5e1182,'props':_0x19052b,'_owner':ys[_0x14609d(0x139)]};}Xe['Fragment']=Ts,Xe[_0x4a9685(0x4a3)]=gn,Xe[_0x4a9685(0x3bf)]=gn,pn[_0x4a9685(0x5dd)]=Xe;var pe=pn[_0x4a9685(0x5dd)],Q=function(){const _0x7e1e73=_0x4a9685;return Q=Object[_0x7e1e73(0x166)]||function(_0x34613c){const _0x29eb63=_0x7e1e73;for(var _0x3f80c7,_0x2c0b4a=0x1,_0x2e0ba2=arguments[_0x29eb63(0x530)];_0x2c0b4a<_0x2e0ba2;_0x2c0b4a++){_0x3f80c7=arguments[_0x2c0b4a];for(var _0x241f69 in _0x3f80c7)Object['prototype']['hasOwnProperty'][_0x29eb63(0x20c)](_0x3f80c7,_0x241f69)&&(_0x34613c[_0x241f69]=_0x3f80c7[_0x241f69]);}return _0x34613c;},Q[_0x7e1e73(0x5cc)](this,arguments);},Ds=function(_0x32a432,_0x5b27e0){const _0x35cdd9=_0x4a9685;var _0x2571f5={};for(var _0x9a7de in _0x32a432)Object[_0x35cdd9(0x216)][_0x35cdd9(0x2f4)][_0x35cdd9(0x20c)](_0x32a432,_0x9a7de)&&_0x5b27e0[_0x35cdd9(0x558)](_0x9a7de)<0x0&&(_0x2571f5[_0x9a7de]=_0x32a432[_0x9a7de]);if(_0x32a432!=null&&typeof Object[_0x35cdd9(0x4e8)]=='function'){for(var _0x247bd6=0x0,_0x9a7de=Object['getOwnPropertySymbols'](_0x32a432);_0x247bd6<_0x9a7de['length'];_0x247bd6++)_0x5b27e0[_0x35cdd9(0x558)](_0x9a7de[_0x247bd6])<0x0&&Object[_0x35cdd9(0x216)][_0x35cdd9(0x2ac)][_0x35cdd9(0x20c)](_0x32a432,_0x9a7de[_0x247bd6])&&(_0x2571f5[_0x9a7de[_0x247bd6]]=_0x32a432[_0x9a7de[_0x247bd6]]);}return _0x2571f5;},Dt=ae[_0x4a9685(0x2a3)](function(_0x1826bd,_0x5f04df){const _0x1d2366=_0x4a9685;var _0x23ff5a=_0x1826bd[_0x1d2366(0x438)],_0x11298f=_0x1826bd['id'],_0x251fd4=_0x1826bd[_0x1d2366(0x16e)],_0x338dd9=_0x1826bd['extend'],_0x46c379=Ds(_0x1826bd,[_0x1d2366(0x438),'id',_0x1d2366(0x16e),'extend']),_0x2655d3='univerjs-icon\x20univerjs-icon-'[_0x1d2366(0x407)](_0x11298f,'\x20')[_0x1d2366(0x407)](_0x251fd4||'')[_0x1d2366(0x397)](),_0xce4d54=ae[_0x1d2366(0x1ab)]('_'[_0x1d2366(0x407)](Us()));return In(_0x23ff5a,''['concat'](_0x11298f),{'defIds':_0x23ff5a[_0x1d2366(0x5f1)],'idSuffix':_0xce4d54[_0x1d2366(0x139)]},Q({'ref':_0x5f04df,'className':_0x2655d3},_0x46c379),_0x338dd9);});function In(_0x4d4543,_0x2865c7,_0x2ee10f,_0x16b418,_0x25dd91){const _0x4f293f=_0x4a9685;return ae[_0x4f293f(0x393)](_0x4d4543['tag'],Q(Q({'key':_0x2865c7},ws(_0x4d4543,_0x2ee10f,_0x25dd91)),_0x16b418),(Ps(_0x4d4543,_0x2ee10f)[_0x4f293f(0x209)]||[])[_0x4f293f(0x28a)](function(_0x2b2b66,_0x4855a1){const _0x1579bd=_0x4f293f;return In(_0x2b2b66,''['concat'](_0x2865c7,'-')[_0x1579bd(0x407)](_0x4d4543['tag'],'-')['concat'](_0x4855a1),_0x2ee10f,void 0x0,_0x25dd91);}));}function ws(_0x1533d1,_0x2990f9,_0xf6bfa1){const _0x5767c5=_0x4a9685;var _0x2ca07d=Q({},_0x1533d1['attrs']);_0xf6bfa1!=null&&_0xf6bfa1[_0x5767c5(0x237)]&&_0x2ca07d[_0x5767c5(0x28d)]===_0x5767c5(0x237)&&(_0x2ca07d[_0x5767c5(0x28d)]=_0xf6bfa1[_0x5767c5(0x237)]);var _0x281e30=_0x2990f9[_0x5767c5(0x5f1)];return!_0x281e30||_0x281e30[_0x5767c5(0x530)]===0x0||(_0x1533d1[_0x5767c5(0x2cc)]===_0x5767c5(0x3fd)&&_0x2ca07d['xlink:href']&&(_0x2ca07d['xlink:href']=_0x2ca07d[_0x5767c5(0x22c)]+_0x2990f9[_0x5767c5(0x478)]),Object[_0x5767c5(0x522)](_0x2ca07d)['forEach'](function(_0x57f8ba){const _0xe5e036=_0x5767c5;var _0x158eb2=_0x57f8ba[0x0],_0x458580=_0x57f8ba[0x1];typeof _0x458580==_0xe5e036(0x3b2)&&(_0x2ca07d[_0x158eb2]=_0x458580[_0xe5e036(0x38b)](/url\(#(.*)\)/,_0xe5e036(0x5d3)[_0xe5e036(0x407)](_0x2990f9[_0xe5e036(0x478)],')')));})),_0x2ca07d;}function Ps(_0x499521,_0x4091bd){const _0x19e6f8=_0x4a9685;var _0x3d9707,_0x4ecbd9=_0x4091bd[_0x19e6f8(0x5f1)];return!_0x4ecbd9||_0x4ecbd9['length']===0x0?_0x499521:_0x499521[_0x19e6f8(0x2cc)]===_0x19e6f8(0x55c)&&(!((_0x3d9707=_0x499521['children'])===null||_0x3d9707===void 0x0)&&_0x3d9707[_0x19e6f8(0x530)])?Q(Q({},_0x499521),{'children':_0x499521[_0x19e6f8(0x209)][_0x19e6f8(0x28a)](function(_0x52bffc){const _0x1e3026=_0x19e6f8;return typeof _0x52bffc[_0x1e3026(0x247)]['id']==_0x1e3026(0x3b2)&&_0x4ecbd9&&_0x4ecbd9[_0x1e3026(0x558)](_0x52bffc[_0x1e3026(0x247)]['id'])>-0x1?Q(Q({},_0x52bffc),{'attrs':Q(Q({},_0x52bffc[_0x1e3026(0x247)]),{'id':_0x52bffc[_0x1e3026(0x247)]['id']+_0x4091bd[_0x1e3026(0x478)]})}):_0x52bffc;})}):_0x499521;}function Us(){const _0x53822f=_0x4a9685;return Math[_0x53822f(0x588)]()[_0x53822f(0x350)](0x24)[_0x53822f(0x18c)](0x2,0x8);}Dt['displayName']='UniverIcon';var Ms={'tag':_0x4a9685(0x421),'attrs':{'fill':_0x4a9685(0x4a2),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4a9685(0x353)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9685(0x36f)},'children':[{'tag':'path','attrs':{'stroke':_0x4a9685(0x4c6),'d':_0x4a9685(0x415),'strokeLinecap':_0x4a9685(0x481),'strokeLinejoin':_0x4a9685(0x481),'strokeWidth':1.2}}]},{'tag':_0x4a9685(0x55c),'attrs':{},'children':[{'tag':_0x4a9685(0x4ea),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'fill':_0x4a9685(0x4bd),'d':_0x4a9685(0x1ea)}}]}]}],'defIds':[_0x4a9685(0x439)]},Cn=ae[_0x4a9685(0x2a3)](function(_0x19a73c,_0x27019f){const _0x2151f3=_0x4a9685;return ae['createElement'](Dt,Object[_0x2151f3(0x166)]({},_0x19a73c,{'id':_0x2151f3(0x39e),'ref':_0x27019f,'icon':Ms}));});Cn[_0x4a9685(0x163)]=_0x4a9685(0x2a6);var As={'tag':_0x4a9685(0x421),'attrs':{'fill':_0x4a9685(0x4a2),'viewBox':_0x4a9685(0x516),'width':_0x4a9685(0x353),'height':_0x4a9685(0x353)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9685(0x4f3)},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'stroke':_0x4a9685(0x4c6),'d':_0x4a9685(0x15c),'strokeLinecap':'round','strokeLinejoin':_0x4a9685(0x481),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4a9685(0x396)},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'fill':'#fff','d':_0x4a9685(0x1ea),'transform':_0x4a9685(0x5ef)}}]}]}],'defIds':[_0x4a9685(0x396)]},En=ae[_0x4a9685(0x2a3)](function(_0x543e0e,_0x10ad11){const _0x4e4104=_0x4a9685;return ae[_0x4e4104(0x393)](Dt,Object[_0x4e4104(0x166)]({},_0x543e0e,{'id':_0x4e4104(0x40f),'ref':_0x10ad11,'icon':As}));});En['displayName']='OnLineSingle';function bn(_0xa8d2e4){const _0x4ff853=_0x4a9685;var _0x24dd33,_0x2f414e,_0x34ff42='';if(typeof _0xa8d2e4==_0x4ff853(0x3b2)||typeof _0xa8d2e4==_0x4ff853(0x3cd))_0x34ff42+=_0xa8d2e4;else{if(typeof _0xa8d2e4==_0x4ff853(0x32f)){if(Array[_0x4ff853(0x36d)](_0xa8d2e4)){var _0x18082f=_0xa8d2e4[_0x4ff853(0x530)];for(_0x24dd33=0x0;_0x24dd33<_0x18082f;_0x24dd33++)_0xa8d2e4[_0x24dd33]&&(_0x2f414e=bn(_0xa8d2e4[_0x24dd33]))&&(_0x34ff42&&(_0x34ff42+='\x20'),_0x34ff42+=_0x2f414e);}else{for(_0x2f414e in _0xa8d2e4)_0xa8d2e4[_0x2f414e]&&(_0x34ff42&&(_0x34ff42+='\x20'),_0x34ff42+=_0x2f414e);}}}return _0x34ff42;}function Ns(){const _0x2d909e=_0x4a9685;for(var _0x195f13,_0x3ccbe3,_0x34d65a=0x0,_0x1d88c3='',_0x161e0e=arguments[_0x2d909e(0x530)];_0x34d65a<_0x161e0e;_0x34d65a++)(_0x195f13=arguments[_0x34d65a])&&(_0x3ccbe3=bn(_0x195f13))&&(_0x1d88c3&&(_0x1d88c3+='\x20'),_0x1d88c3+=_0x3ccbe3);return _0x1d88c3;}const Ls=_0x4a9685(0x4cd),xs='univer-online-status-title',js=_0x4a9685(0x1a4),$s=_0x4a9685(0x13a),Hs='univer-offline',Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x38e9ff){const _0x457b06=_0x4a9685;switch(_0x38e9ff){case q[_0x457b06(0x338)]:return _0x457b06(0x562);case q[_0x457b06(0x328)]:return _0x457b06(0x4ae);case q[_0x457b06(0x2c6)]:return _0x457b06(0x489);case q['NOT_COLLAB']:return'collabStatus.notCollab';case q['AWAITING']:case q[_0x457b06(0x28b)]:return _0x457b06(0x5af);case q[_0x457b06(0x28c)]:case q[_0x457b06(0x23f)]:return _0x457b06(0x2e5);}}function Tn(_0x945aa4){const _0x1fc9c4=_0x4a9685,{status$:_0x5ce12a}=_0x945aa4,_0x3b6846=ee[_0x1fc9c4(0x592)](_0x5ce12a,q[_0x1fc9c4(0x5bd)]),_0xfcef97=a[_0x1fc9c4(0x245)](a[_0x1fc9c4(0x4a8)]),_0x591bbe=a[_0x1fc9c4(0x245)](exports[_0x1fc9c4(0x2a7)]),_0x5f3e28=_0x3b6846!==q[_0x1fc9c4(0x338)],_0x8f3aa1=_0xfcef97['t'](Bs(_0x3b6846)),_0x31bbd6=Ns(Me[_0x1fc9c4(0x2e1)],{[Me[_0x1fc9c4(0x1bf)]]:_0x5f3e28,[Me[_0x1fc9c4(0x277)]]:!_0x5f3e28}),_0x37285a=_0x5f3e28?pe[_0x1fc9c4(0x4a3)](En,{}):pe[_0x1fc9c4(0x4a3)](Cn,{}),_0x45165b=ae[_0x1fc9c4(0x194)](()=>{const _0x24342f=_0x1fc9c4;_0x5f3e28||_0x591bbe[_0x24342f(0x24a)]();},[_0x5f3e28,_0x591bbe]);function _0xba2a86(){const _0x15d753=_0x1fc9c4;return pe[_0x15d753(0x3bf)](_0x15d753(0x527),{'className':_0x31bbd6,'onClick':_0x45165b,'children':[pe['jsx'](_0x15d753(0x527),{'className':Me[_0x15d753(0x3c8)],'children':_0x37285a}),pe[_0x15d753(0x4a3)]('div',{'className':Me[_0x15d753(0x252)],'children':_0x8f3aa1})]});}return _0x5f3e28?_0xba2a86():pe['jsx'](ge[_0x1fc9c4(0x448)],{'title':_0xfcef97['t']('collab-client.tooltip.reconnect'),'children':_0xba2a86()});}var ks=Object[_0x4a9685(0x377)],Ws=Object[_0x4a9685(0x484)],Fs=(_0x2c2a62,_0x41215a,_0x50eb75,_0x84adfc)=>{const _0x55e064=_0x4a9685;for(var _0x6d331=_0x84adfc>0x1?void 0x0:_0x84adfc?Ws(_0x41215a,_0x50eb75):_0x41215a,_0x39e792=_0x2c2a62[_0x55e064(0x530)]-0x1,_0x39e2ef;_0x39e792>=0x0;_0x39e792--)(_0x39e2ef=_0x2c2a62[_0x39e792])&&(_0x6d331=(_0x84adfc?_0x39e2ef(_0x41215a,_0x50eb75,_0x6d331):_0x39e2ef(_0x6d331))||_0x6d331);return _0x84adfc&&_0x6d331&&ks(_0x41215a,_0x50eb75,_0x6d331),_0x6d331;},$e=(_0x19d2c5,_0x53c4ed)=>(_0x1fa745,_0x1870ef)=>_0x53c4ed(_0x1fa745,_0x1870ef,_0x19d2c5);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x4a9685(0x261)]{constructor(_0x1dff0d,_0x4c43a2,_0x294c3d,_0xb45487){const _0xb527b=_0x4a9685;super(),I(this,'_status$',new A['BehaviorSubject'](q[_0xb527b(0x5bd)])),(this[_0xb527b(0x54a)]=_0x1dff0d,this['_uiPartsService']=_0x4c43a2,this[_0xb527b(0x372)]=_0x294c3d,this[_0xb527b(0x46b)]=_0xb45487,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4a9685(0x5be)](){const _0x2ed6a0=_0x4a9685;this[_0x2ed6a0(0x3c7)](this['_univerInstanceService'][_0x2ed6a0(0x57c)][_0x2ed6a0(0x172)](A[_0x2ed6a0(0x4c9)](()=>{const _0x21a734=_0x2ed6a0,_0x5dbd39=this['_univerInstanceService'][_0x21a734(0x2dd)]();return _0x5dbd39?this[_0x21a734(0x46b)][_0x21a734(0x5bf)](_0x5dbd39[_0x21a734(0x56f)]()):A['of'](null);}),A[_0x2ed6a0(0x4c9)](_0x3a5f21=>_0x3a5f21?_0x3a5f21[_0x2ed6a0(0x4ba)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x2f69a7=>{const _0x365146=_0x2ed6a0;this[_0x365146(0x366)][_0x365146(0x503)](_0x2f69a7);}));}[_0x4a9685(0x196)](){const _0x53ff94=_0x4a9685;this[_0x53ff94(0x3c7)](this[_0x53ff94(0x23a)]['registerComponent'](ee[_0x53ff94(0x4ad)][_0x53ff94(0x5c1)],()=>a['connectInjector'](Vs({'status$':this['_status$']['asObservable']()}),this['_injector'])));}},exports[_0x4a9685(0x2f8)]=Fs([$e(0x0,a[_0x4a9685(0x3c5)]),$e(0x1,ee['IUIPartsService']),$e(0x2,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),$e(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1ff)]))],exports[_0x4a9685(0x2f8)]);function Vs(_0x56a877){const {status$:_0x5a191c}=_0x56a877;return function(){const _0x3b65da=_0x5f2c;return pe[_0x3b65da(0x4a3)](Tn,{'status$':_0x5a191c});};}const wt=a[_0x4a9685(0x1e3)](_0x4a9685(0x434));var Gs=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x55b9be,_0x1c1469,_0x57e58a,_0x36bbca)=>{const _0x27a6db=_0x4a9685;for(var _0x285425=_0x36bbca>0x1?void 0x0:_0x36bbca?Ys(_0x1c1469,_0x57e58a):_0x1c1469,_0xf504da=_0x55b9be[_0x27a6db(0x530)]-0x1,_0x272c50;_0xf504da>=0x0;_0xf504da--)(_0x272c50=_0x55b9be[_0xf504da])&&(_0x285425=(_0x36bbca?_0x272c50(_0x1c1469,_0x57e58a,_0x285425):_0x272c50(_0x285425))||_0x285425);return _0x36bbca&&_0x285425&&Gs(_0x1c1469,_0x57e58a,_0x285425),_0x285425;},Te=(_0x2b39fb,_0x709c86)=>(_0x2e575a,_0x2c3b2c)=>_0x709c86(_0x2e575a,_0x2c3b2c,_0x2b39fb);exports[_0x4a9685(0x554)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x5ec5c6,_0x2f4b62,_0x14f006,_0x3295b8,_0x2d34e1,_0x57985c){const _0x1b082d=_0x4a9685;super(),this['_urlService']=_0x5ec5c6,this[_0x1b082d(0x480)]=_0x2f4b62,this[_0x1b082d(0x55e)]=_0x14f006,this[_0x1b082d(0x142)]=_0x3295b8,this[_0x1b082d(0x232)]=_0x2d34e1,_0x57985c?_0x57985c==null||_0x57985c['whenReady']()['then'](()=>this[_0x1b082d(0x3f4)]()):(this[_0x1b082d(0x480)]['debug'](_0x1b082d(0x190),_0x1b082d(0x1b9)),this['_init']());}async['_init'](){const _0x3b0b8e=_0x4a9685,_0x20f5bb=this['_urlService']['getParam'](_0x3b0b8e(0x1e9)),_0x29158a=this[_0x3b0b8e(0x230)][_0x3b0b8e(0x3e2)](_0x3b0b8e(0x3e4));if(!_0x20f5bb||!_0x29158a){this['_logService'][_0x3b0b8e(0x37a)](_0x3b0b8e(0x190),_0x3b0b8e(0x4d7));return;}switch(Number(_0x29158a)){case ie['UNIVER_SHEET']:{const _0x1b1498=await this['_loadSheet'](_0x20f5bb);this[_0x3b0b8e(0x5a7)](_0x1b1498);break;}case ie['UNIVER_DOC']:{await this['_loadDoc'](_0x20f5bb);break;}default:{this[_0x3b0b8e(0x480)]['error'](_0x3b0b8e(0x190),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4a9685(0x5a7)](_0x3aea06){const _0x16955a=_0x4a9685;await this[_0x16955a(0x21e)](_0x3aea06),_0x3aea06['activeSheet$']['pipe'](A['takeUntil'](this[_0x16955a(0x5c9)]))[_0x16955a(0x419)](_0x1bb618=>{const _0x2fe324=_0x16955a;_0x1bb618&&this[_0x2fe324(0x45c)](_0x1bb618);}),this['_urlService'][_0x16955a(0x56a)][_0x16955a(0x172)](A['takeUntil'](this[_0x16955a(0x5c9)]))[_0x16955a(0x419)](()=>this['_updateSubUnitFromURLParams'](_0x3aea06));}['_updateURLWithCurrentState'](_0x2f2175,_0x4d041=!0x1){const _0x44093a=_0x4a9685,_0x3e59e0=this[_0x44093a(0x230)]['getParam']('subunit');_0x2f2175['getSheetId']()!==_0x3e59e0&&this[_0x44093a(0x230)][_0x44093a(0x282)](_0x44093a(0x3fe),_0x2f2175['getSheetId'](),_0x4d041);}async[_0x4a9685(0x21e)](_0x9d2fb2){const _0x455a4d=_0x4a9685;var _0xe86375;const _0x1895b4=this[_0x455a4d(0x230)][_0x455a4d(0x3e2)]('subunit');if(!_0x1895b4||!_0x9d2fb2[_0x455a4d(0x2ca)](_0x1895b4)){const _0x1369b1=_0x9d2fb2['getUnhiddenWorksheets']()[0x0],_0x3694d2=_0x9d2fb2['getSheetBySheetId'](_0x1369b1);if(!_0x3694d2)return;this['_updateURLWithCurrentState'](_0x3694d2,!0x0),await this[_0x455a4d(0x55e)][_0x455a4d(0x5f4)](k[_0x455a4d(0x4e7)]['id'],{'unitId':_0x9d2fb2[_0x455a4d(0x56f)](),'subUnitId':_0x1369b1});return;}((_0xe86375=_0x9d2fb2[_0x455a4d(0x4d4)]())==null?void 0x0:_0xe86375[_0x455a4d(0x180)]())!==_0x1895b4&&await this[_0x455a4d(0x55e)][_0x455a4d(0x5f4)](k[_0x455a4d(0x4e7)]['id'],{'unitId':_0x9d2fb2[_0x455a4d(0x56f)](),'subUnitId':_0x1895b4});}async[_0x4a9685(0x454)](_0x7cffb9){const _0x1e7e8f=_0x4a9685;let _0x31f75a=0x0;const _0x1808b0=await this[_0x1e7e8f(0x142)][_0x1e7e8f(0x206)](_0x7cffb9);return _0x1808b0&&(_0x1808b0['awaitingChangeset']||_0x1808b0['mutations'][_0x1e7e8f(0x530)]!==0x0)&&(_0x31f75a=_0x1808b0[_0x1e7e8f(0x1b6)]),_0x31f75a===0x0&&this[_0x1e7e8f(0x480)]['debug'](_0x1e7e8f(0x190),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1e7e8f(0x1cd)](_0x7cffb9,_0x31f75a);}async[_0x4a9685(0x29f)](_0x2c4431){const _0x822a18=_0x4a9685;let _0x5d4155=0x0;const _0x28ffd1=await this[_0x822a18(0x142)]['loadOfflineData'](_0x2c4431);return _0x28ffd1&&(_0x28ffd1['awaitingChangeset']||_0x28ffd1[_0x822a18(0x1b8)][_0x822a18(0x530)]!==0x0)&&(_0x5d4155=_0x28ffd1[_0x822a18(0x1b6)]),_0x5d4155===0x0&&this['_logService']['debug'](_0x822a18(0x190),_0x822a18(0x47e)),this[_0x822a18(0x232)]['loadDoc'](_0x2c4431,_0x5d4155);}},exports['DataLoaderController']=Ks([Te(0x0,wt),Te(0x1,a[_0x4a9685(0x2e8)]),Te(0x2,a[_0x4a9685(0x449)]),Te(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),Te(0x4,a[_0x4a9685(0x27a)](S[_0x4a9685(0x33d)])),Te(0x5,a['Optional']($n[_0x4a9685(0x4d9)]))],exports[_0x4a9685(0x554)]);var qs=Object[_0x4a9685(0x377)],zs=Object[_0x4a9685(0x484)],Xs=(_0x5e0e58,_0x5681e1,_0x351554,_0x386dd9)=>{for(var _0x2eea1c=_0x386dd9>0x1?void 0x0:_0x386dd9?zs(_0x5681e1,_0x351554):_0x5681e1,_0x111413=_0x5e0e58['length']-0x1,_0x5dd800;_0x111413>=0x0;_0x111413--)(_0x5dd800=_0x5e0e58[_0x111413])&&(_0x2eea1c=(_0x386dd9?_0x5dd800(_0x5681e1,_0x351554,_0x2eea1c):_0x5dd800(_0x2eea1c))||_0x2eea1c);return _0x386dd9&&_0x2eea1c&&qs(_0x5681e1,_0x351554,_0x2eea1c),_0x2eea1c;},kt=(_0x96b049,_0x54bb60)=>(_0xb601f3,_0x315b8b)=>_0x54bb60(_0xb601f3,_0x315b8b,_0x96b049);const Js='DEFAULT_FILE_NAME',Zs=_0x4a9685(0x5a8);let Ve=class extends a[_0x4a9685(0x261)]{constructor(_0xb9b835,_0x55e433){const _0x28583d=_0x4a9685;super(),this[_0x28583d(0x54a)]=_0xb9b835,this[_0x28583d(0x294)]=_0x55e433,this['_init']();}[_0x4a9685(0x3f4)](){const _0x5325e6=_0x4a9685;this[_0x5325e6(0x3c7)](this[_0x5325e6(0x54a)]['focused$'][_0x5325e6(0x419)](()=>{const _0x48b30f=_0x5325e6;var _0xd4896;const _0x31f219=this[_0x48b30f(0x54a)][_0x48b30f(0x2dd)]();let _0x225c98=(_0xd4896=this[_0x48b30f(0x294)][_0x48b30f(0x4a1)](Js))!=null?_0xd4896:Zs;_0x31f219 instanceof a[_0x48b30f(0x599)]&&(_0x225c98=_0x31f219[_0x48b30f(0x2b9)]),document[_0x48b30f(0x1c7)]=_0x225c98;}));}};Ve=Xs([kt(0x0,a[_0x4a9685(0x3c5)]),kt(0x1,a[_0x4a9685(0x3fb)])],Ve);var Qs=Object[_0x4a9685(0x377)],er=Object[_0x4a9685(0x484)],tr=(_0x1d63a6,_0x1d281d,_0xf17d16,_0x4f7362)=>{const _0x2d0e8b=_0x4a9685;for(var _0x863bf=_0x4f7362>0x1?void 0x0:_0x4f7362?er(_0x1d281d,_0xf17d16):_0x1d281d,_0x463b01=_0x1d63a6[_0x2d0e8b(0x530)]-0x1,_0x4909d2;_0x463b01>=0x0;_0x463b01--)(_0x4909d2=_0x1d63a6[_0x463b01])&&(_0x863bf=(_0x4f7362?_0x4909d2(_0x1d281d,_0xf17d16,_0x863bf):_0x4909d2(_0x863bf))||_0x863bf);return _0x4f7362&&_0x863bf&&Qs(_0x1d281d,_0xf17d16,_0x863bf),_0x863bf;},at=(_0x58396d,_0x2cd97a)=>(_0x45ebd0,_0x1d7e08)=>_0x2cd97a(_0x45ebd0,_0x1d7e08,_0x58396d);function _0x5f2c(_0x16bfb7,_0x42776d){const _0x2b0a68=_0x2b0a();return _0x5f2c=function(_0x5f2c73,_0x241e5d){_0x5f2c73=_0x5f2c73-0x133;let _0x53c513=_0x2b0a68[_0x5f2c73];return _0x53c513;},_0x5f2c(_0x16bfb7,_0x42776d);}let Ge=class{constructor(_0x534843,_0x3702c1,_0x1d41c7){const _0x32c64e=_0x4a9685;this['_configService']=_0x534843,this[_0x32c64e(0x213)]=_0x3702c1,this[_0x32c64e(0x195)]=_0x1d41c7,this[_0x32c64e(0x432)]();}[_0x4a9685(0x432)](){const _0x4c02aa=_0x4a9685;this[_0x4c02aa(0x213)][_0x4c02aa(0x533)]({'priority':0x1,'interceptor':(_0x6fc23a,_0x9733a7)=>_0x9733a7(_0x6fc23a)[_0x4c02aa(0x172)](A[_0x4c02aa(0x2c3)](async _0x529ca0=>{const _0x53589e=_0x4c02aa,_0x263fd4=_0x529ca0;if(_0x263fd4[_0x53589e(0x226)]===0x191&&window[_0x53589e(0x2a0)](this[_0x53589e(0x195)]['t'](_0x53589e(0x5df)))){const _0x19d7f0=window[_0x53589e(0x205)](window[_0x53589e(0x559)][_0x53589e(0x1fd)]);window[_0x53589e(0x559)][_0x53589e(0x1fd)]=this['_getLoginPath']()+_0x53589e(0x496)+_0x19d7f0;}return _0x263fd4;}))});}[_0x4a9685(0x162)](){const _0x4d3bb7=_0x4a9685;var _0x511e17,_0x2081c5;const _0x29f732=this[_0x4d3bb7(0x294)][_0x4d3bb7(0x4a1)](an),_0x1664e4=this[_0x4d3bb7(0x294)]['getConfig'](te);return(_0x2081c5=(_0x511e17=_0x1664e4==null?void 0x0:_0x1664e4[_0x4d3bb7(0x5db)])!=null?_0x511e17:_0x29f732)!=null?_0x2081c5:qn;}};Ge=tr([at(0x0,a[_0x4a9685(0x3fb)]),at(0x1,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)])),at(0x2,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)]))],Ge);var nr=Object[_0x4a9685(0x377)],ir=Object['getOwnPropertyDescriptor'],sr=(_0x25dab8,_0x13c967,_0x19d17c,_0x3318bb)=>{const _0x56b2f6=_0x4a9685;for(var _0x3eaa87=_0x3318bb>0x1?void 0x0:_0x3318bb?ir(_0x13c967,_0x19d17c):_0x13c967,_0x2e9495=_0x25dab8[_0x56b2f6(0x530)]-0x1,_0xc77bd9;_0x2e9495>=0x0;_0x2e9495--)(_0xc77bd9=_0x25dab8[_0x2e9495])&&(_0x3eaa87=(_0x3318bb?_0xc77bd9(_0x13c967,_0x19d17c,_0x3eaa87):_0xc77bd9(_0x3eaa87))||_0x3eaa87);return _0x3318bb&&_0x3eaa87&&nr(_0x13c967,_0x19d17c,_0x3eaa87),_0x3eaa87;},Wt=(_0x4039a6,_0x5458d9)=>(_0x266252,_0x43cbf4)=>_0x5458d9(_0x266252,_0x43cbf4,_0x4039a6);const Rn=_0x4a9685(0x428),rr=_0x4a9685(0x400);exports[_0x4a9685(0x26b)]=class extends a[_0x4a9685(0x261)]{constructor(_0x341f3a,_0x1f0f6a){const _0x19dfe9=_0x4a9685;super(),this[_0x19dfe9(0x54b)]=_0x341f3a,this[_0x19dfe9(0x294)]=_0x1f0f6a,this[_0x19dfe9(0x4e9)]();}['_initMergeInterceptor'](){const _0xc8647=_0x4a9685,_0x38729d=this;this[_0xc8647(0x3c7)](this[_0xc8647(0x54b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z[_0xc8647(0x47a)]({'isMatch'(_0x555094){const _0x1146c0=_0xc8647;var _0x473e2d;if(_0x555094[_0x1146c0(0x557)]==='POST'&&((_0x473e2d=_0x555094[_0x1146c0(0x385)])!=null&&_0x473e2d[_0x1146c0(0x1c3)])){const {objectID:_0x5a17c4,objectType:_0x34b0eb}=_0x555094[_0x1146c0(0x385)][_0x1146c0(0x1c3)]||{};if(!_0x5a17c4||_0x34b0eb===void 0x0)return!0x1;const _0x35cf88=_0x38729d[_0x1146c0(0x1f1)]()+'/'+_0x34b0eb+'/object/'+_0x5a17c4+'/allowed';if(_0x555094[_0x1146c0(0x465)]===_0x35cf88)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x487297){var _0x36acd2;return(_0x36acd2=_0x487297['requestParams'])==null?void 0x0:_0x36acd2['body'];},'mergeParamsToRequest'(_0x262d10,_0x923482){const _0x6865fb=_0xc8647,_0xa5a4fe=_0x38729d[_0x6865fb(0x1f1)]()+_0x6865fb(0x3b5),_0x474251=_0x262d10[_0x6865fb(0x2a2)]((_0x45798d,_0x3bf79f)=>{const _0x3435a0=_0x6865fb,{unitID:_0x509f5e,objectID:_0xb708a6,objectType:_0x7b4dfe,actions:_0x3afc57}=_0x3bf79f;return _0x45798d[_0x509f5e]||(_0x45798d[_0x509f5e]={}),_0x45798d[_0x509f5e][_0xb708a6]||(_0x45798d[_0x509f5e][_0xb708a6]={'objectID':_0xb708a6,'objectType':_0x7b4dfe,'actions':[]}),_0x45798d[_0x509f5e][_0xb708a6]['actions'][_0x3435a0(0x3d6)](..._0x3afc57),_0x45798d;},{}),_0x384c84=[];for(const _0x2b667f in _0x474251)for(const _0x256c9c in _0x474251[_0x2b667f]){const {actions:_0x306904,objectType:_0x5c0bcd}=_0x474251[_0x2b667f][_0x256c9c],_0x456238=[...new Set(_0x306904)];_0x384c84[_0x6865fb(0x3d6)]({'unitID':_0x2b667f,'objectID':_0x256c9c,'objectType':_0x5c0bcd,'actions':_0x456238});}return new Z[(_0x6865fb(0x324))](_0x6865fb(0x431),_0xa5a4fe,{'headers':_0x923482[_0x6865fb(0x259)],'withCredentials':_0x923482[_0x6865fb(0x46a)],'responseType':_0x923482[_0x6865fb(0x413)],'body':{'requests':_0x384c84}});}},{'distributeResult'(_0x2031e6,_0x1d133){const {objectActions:_0x29bf0b}=_0x2031e6;return _0x1d133['map'](_0xc9d21e=>{const _0x31f078=_0x5f2c,{unitID:_0x138c05,objectID:_0x139bc3,actions:_0x1c2f58}=_0xc9d21e,_0x465e6=_0x29bf0b[_0x31f078(0x284)](_0x1d21e1=>_0x1d21e1[_0x31f078(0x197)]===_0x138c05&&_0x1d21e1[_0x31f078(0x5e7)]===_0x139bc3),_0x2f9823=_0x1c2f58['map'](_0x52c460=>_0x465e6==null?void 0x0:_0x465e6['actions'][_0x31f078(0x284)](_0x145e3c=>_0x145e3c[_0x31f078(0x14c)]===_0x52c460))[_0x31f078(0x464)](_0x58e3f0=>!!_0x58e3f0);return{'config':_0xc9d21e,'result':{'actions':_0x2f9823,'error':_0x2031e6['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a1599=_0x4a9685;var _0x15802d,_0x53b19f;const _0x17db61=this[_0x3a1599(0x294)][_0x3a1599(0x4a1)](Rn),_0x1c702d=this[_0x3a1599(0x294)]['getConfig'](te);return(_0x53b19f=(_0x15802d=_0x1c702d==null?void 0x0:_0x1c702d[_0x3a1599(0x240)])!=null?_0x15802d:_0x17db61)!=null?_0x53b19f:rr;}async[_0x4a9685(0x4c5)](_0x371b00){const _0x5dd1a8=_0x4a9685,_0x4f020a=this[_0x5dd1a8(0x1f1)]()+'/'+_0x371b00[_0x5dd1a8(0x451)]+'/object';return(await this['_HTTPService']['post'](_0x4f020a,{'body':_0x371b00}))[_0x5dd1a8(0x1c3)][_0x5dd1a8(0x5e7)]||'';}async[_0x4a9685(0x3b9)](_0x1434f0){const _0xf61595=_0x4a9685,_0x3888ca=this[_0xf61595(0x1f1)]()+_0xf61595(0x2ce);return(await this[_0xf61595(0x54b)][_0xf61595(0x171)](_0x3888ca,{'body':_0x1434f0}))['body'][_0xf61595(0x365)];}async['update'](_0x3f9bb5){const _0x11501e=_0x4a9685,_0x4e95b8=this['_getAPIPrefixPath']()+'/'+_0x3f9bb5[_0x11501e(0x451)]+_0x11501e(0x343)+_0x3f9bb5[_0x11501e(0x5e7)];await this[_0x11501e(0x54b)]['put'](_0x4e95b8,{'body':_0x3f9bb5});}async[_0x4a9685(0x339)](_0x3855b2){const _0x16e29b=_0x4a9685,_0xb105c6=this[_0x16e29b(0x1f1)]()+'/'+_0x3855b2[_0x16e29b(0x451)]+_0x16e29b(0x343)+_0x3855b2[_0x16e29b(0x5e7)]+_0x16e29b(0x2fc);return(await this[_0x16e29b(0x54b)][_0x16e29b(0x171)](_0xb105c6,{'body':_0x3855b2}))[_0x16e29b(0x1c3)][_0x16e29b(0x5b6)];}async[_0x4a9685(0x161)](_0x31c644){const _0x444f19=_0x4a9685,_0x2a7651=this[_0x444f19(0x1f1)]()+'/-/object/-/batch_allowed';return(await this[_0x444f19(0x54b)][_0x444f19(0x171)](_0x2a7651,{'body':{'requests':_0x31c644}}))['body'][_0x444f19(0x390)];}async['listRoles'](_0x29e437){const _0x595a3a=_0x4a9685,_0x3d2b22=this[_0x595a3a(0x1f1)]()+'/'+_0x29e437[_0x595a3a(0x451)]+_0x595a3a(0x519),_0x313565=await this[_0x595a3a(0x54b)][_0x595a3a(0x171)](_0x3d2b22,{'body':_0x29e437});return{'roles':_0x313565[_0x595a3a(0x1c3)][_0x595a3a(0x569)],'actions':_0x313565[_0x595a3a(0x1c3)]['actions']};}async[_0x4a9685(0x15d)](_0x30182e){const _0x3947a9=_0x4a9685,_0x686027=this[_0x3947a9(0x1f1)]()+_0x3947a9(0x532);await this[_0x3947a9(0x54b)][_0x3947a9(0x224)](_0x686027,{'params':{'collaboratorID':_0x30182e[_0x3947a9(0x1e7)],'objectID':_0x30182e[_0x3947a9(0x5e7)],'unitID':_0x30182e[_0x3947a9(0x197)]}});}async[_0x4a9685(0x49c)](_0x3c76a7){const _0x5c700a=_0x4a9685,_0x20bfe5=this['_getAPIPrefixPath']()+_0x5c700a(0x532);await this[_0x5c700a(0x54b)][_0x5c700a(0x148)](_0x20bfe5,{'body':_0x3c76a7});}async[_0x4a9685(0x30d)](_0x4d2658){const _0x5a5dd5=_0x4a9685,_0x583357=this[_0x5a5dd5(0x1f1)]()+_0x5a5dd5(0x532);await this['_HTTPService'][_0x5a5dd5(0x171)](_0x583357,{'body':_0x4d2658});}async['listCollaborators'](_0x112ca2){const _0x5bc42a=_0x4a9685,_0x521951=this[_0x5bc42a(0x1f1)]()+'/collaborator';return(await this['_HTTPService']['get'](_0x521951,{'params':{'objectID':_0x112ca2[_0x5bc42a(0x5e7)],'unitID':_0x112ca2[_0x5bc42a(0x197)]}}))[_0x5bc42a(0x1c3)][_0x5bc42a(0x25c)];}async['putCollaborators'](_0x1c288c){const _0x53e6a8=_0x4a9685,_0x295f91=this['_getAPIPrefixPath']()+_0x53e6a8(0x532);await this[_0x53e6a8(0x54b)][_0x53e6a8(0x235)](_0x295f91,{'body':_0x1c288c});}},exports[_0x4a9685(0x26b)]=sr([Wt(0x0,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)])),Wt(0x1,a['Inject'](a[_0x4a9685(0x3fb)]))],exports[_0x4a9685(0x26b)]);var yn={'exports':{}};function or(_0x5e0b21){const _0x46e5e6=_0x4a9685;throw new Error(_0x46e5e6(0x234)+_0x5e0b21+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Ft;function oe(){const _0x396100=_0x4a9685;return Ft||(Ft=0x1,function(_0x33d567,_0x171b64){(function(_0x9c82f,_0x294afb){const _0xf85903=_0x5f2c;_0x33d567[_0xf85903(0x5dd)]=_0x294afb();}(X,function(){var _0x209bbf=_0x209bbf||function(_0x288c73,_0x218720){const _0xd579ef=_0x5f2c;var _0x36d28e;if(typeof window<'u'&&window[_0xd579ef(0x564)]&&(_0x36d28e=window['crypto']),typeof self<'u'&&self[_0xd579ef(0x564)]&&(_0x36d28e=self[_0xd579ef(0x564)]),typeof globalThis<'u'&&globalThis[_0xd579ef(0x564)]&&(_0x36d28e=globalThis[_0xd579ef(0x564)]),!_0x36d28e&&typeof window<'u'&&window[_0xd579ef(0x4c0)]&&(_0x36d28e=window[_0xd579ef(0x4c0)]),!_0x36d28e&&typeof X<'u'&&X[_0xd579ef(0x564)]&&(_0x36d28e=X[_0xd579ef(0x564)]),!_0x36d28e&&typeof or==_0xd579ef(0x2d5))try{_0x36d28e=require('crypto');}catch{}var _0x10cb8d=function(){const _0x547215=_0xd579ef;if(_0x36d28e){if(typeof _0x36d28e[_0x547215(0x1c8)]==_0x547215(0x2d5))try{return _0x36d28e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x36d28e[_0x547215(0x501)]==_0x547215(0x2d5))try{return _0x36d28e[_0x547215(0x501)](0x4)[_0x547215(0x596)]();}catch{}}throw new Error(_0x547215(0x399));},_0x205d70=Object[_0xd579ef(0x4c5)]||(function(){function _0x596158(){}return function(_0x37000b){const _0x363c59=_0x5f2c;var _0x5bac7;return _0x596158[_0x363c59(0x216)]=_0x37000b,_0x5bac7=new _0x596158(),_0x596158['prototype']=null,_0x5bac7;};}()),_0x2b54ef={},_0x3575b6=_0x2b54ef[_0xd579ef(0x18d)]={},_0x54ec5f=_0x3575b6[_0xd579ef(0x1bd)]=(function(){return{'extend':function(_0x2943ed){const _0x4909ef=_0x5f2c;var _0x202943=_0x205d70(this);return _0x2943ed&&_0x202943['mixIn'](_0x2943ed),(!_0x202943[_0x4909ef(0x2f4)](_0x4909ef(0x432))||this[_0x4909ef(0x432)]===_0x202943[_0x4909ef(0x432)])&&(_0x202943[_0x4909ef(0x432)]=function(){const _0x15ae69=_0x4909ef;_0x202943[_0x15ae69(0x2ee)][_0x15ae69(0x432)][_0x15ae69(0x5cc)](this,arguments);}),_0x202943['init'][_0x4909ef(0x216)]=_0x202943,_0x202943[_0x4909ef(0x2ee)]=this,_0x202943;},'create':function(){const _0x5c2cd0=_0x5f2c;var _0x561aaa=this[_0x5c2cd0(0x3bb)]();return _0x561aaa['init'][_0x5c2cd0(0x5cc)](_0x561aaa,arguments),_0x561aaa;},'init':function(){},'mixIn':function(_0x1d9ce7){const _0x2c2b24=_0x5f2c;for(var _0x12f748 in _0x1d9ce7)_0x1d9ce7['hasOwnProperty'](_0x12f748)&&(this[_0x12f748]=_0x1d9ce7[_0x12f748]);_0x1d9ce7[_0x2c2b24(0x2f4)](_0x2c2b24(0x350))&&(this['toString']=_0x1d9ce7['toString']);},'clone':function(){const _0x1f19aa=_0x5f2c;return this[_0x1f19aa(0x432)][_0x1f19aa(0x216)][_0x1f19aa(0x3bb)](this);}};}()),_0x4b53b6=_0x3575b6[_0xd579ef(0x2bc)]=_0x54ec5f['extend']({'init':function(_0x1d6066,_0x2a1fd7){const _0x18e642=_0xd579ef;_0x1d6066=this[_0x18e642(0x155)]=_0x1d6066||[],_0x2a1fd7!=_0x218720?this[_0x18e642(0x3a6)]=_0x2a1fd7:this[_0x18e642(0x3a6)]=_0x1d6066[_0x18e642(0x530)]*0x4;},'toString':function(_0x5e7f3e){const _0x55657a=_0xd579ef;return(_0x5e7f3e||_0x537afb)[_0x55657a(0x2d1)](this);},'concat':function(_0x2b5877){const _0x9c1ffb=_0xd579ef;var _0x4cb8e9=this[_0x9c1ffb(0x155)],_0x416fbc=_0x2b5877[_0x9c1ffb(0x155)],_0x2f77c3=this[_0x9c1ffb(0x3a6)],_0x3f8847=_0x2b5877[_0x9c1ffb(0x3a6)];if(this[_0x9c1ffb(0x304)](),_0x2f77c3%0x4)for(var _0x3841e1=0x0;_0x3841e1<_0x3f8847;_0x3841e1++){var _0x155b1a=_0x416fbc[_0x3841e1>>>0x2]>>>0x18-_0x3841e1%0x4*0x8&0xff;_0x4cb8e9[_0x2f77c3+_0x3841e1>>>0x2]|=_0x155b1a<<0x18-(_0x2f77c3+_0x3841e1)%0x4*0x8;}else{for(var _0xad8d58=0x0;_0xad8d58<_0x3f8847;_0xad8d58+=0x4)_0x4cb8e9[_0x2f77c3+_0xad8d58>>>0x2]=_0x416fbc[_0xad8d58>>>0x2];}return this['sigBytes']+=_0x3f8847,this;},'clamp':function(){const _0x823018=_0xd579ef;var _0x399133=this[_0x823018(0x155)],_0x127f2f=this[_0x823018(0x3a6)];_0x399133[_0x127f2f>>>0x2]&=0xffffffff<<0x20-_0x127f2f%0x4*0x8,_0x399133[_0x823018(0x530)]=_0x288c73['ceil'](_0x127f2f/0x4);},'clone':function(){const _0x4d3a5d=_0xd579ef;var _0x4874b6=_0x54ec5f[_0x4d3a5d(0x1c6)]['call'](this);return _0x4874b6[_0x4d3a5d(0x155)]=this[_0x4d3a5d(0x155)][_0x4d3a5d(0x2f2)](0x0),_0x4874b6;},'random':function(_0x5cb12f){const _0x71dbc7=_0xd579ef;for(var _0x420304=[],_0x5c0db5=0x0;_0x5c0db5<_0x5cb12f;_0x5c0db5+=0x4)_0x420304[_0x71dbc7(0x3d6)](_0x10cb8d());return new _0x4b53b6[(_0x71dbc7(0x432))](_0x420304,_0x5cb12f);}}),_0x49264d=_0x2b54ef['enc']={},_0x537afb=_0x49264d['Hex']={'stringify':function(_0x172aa9){const _0x31ab0b=_0xd579ef;for(var _0x3b07e4=_0x172aa9[_0x31ab0b(0x155)],_0x1eef5d=_0x172aa9[_0x31ab0b(0x3a6)],_0x2cbd6c=[],_0x3a7e50=0x0;_0x3a7e50<_0x1eef5d;_0x3a7e50++){var _0x13ef37=_0x3b07e4[_0x3a7e50>>>0x2]>>>0x18-_0x3a7e50%0x4*0x8&0xff;_0x2cbd6c[_0x31ab0b(0x3d6)]((_0x13ef37>>>0x4)[_0x31ab0b(0x350)](0x10)),_0x2cbd6c['push']((_0x13ef37&0xf)['toString'](0x10));}return _0x2cbd6c['join']('');},'parse':function(_0x96fd5f){const _0x248578=_0xd579ef;for(var _0x3be6b7=_0x96fd5f['length'],_0x21542b=[],_0x2bd6b4=0x0;_0x2bd6b4<_0x3be6b7;_0x2bd6b4+=0x2)_0x21542b[_0x2bd6b4>>>0x3]|=parseInt(_0x96fd5f[_0x248578(0x5ea)](_0x2bd6b4,0x2),0x10)<<0x18-_0x2bd6b4%0x8*0x4;return new _0x4b53b6[(_0x248578(0x432))](_0x21542b,_0x3be6b7/0x2);}},_0x3fafc1=_0x49264d['Latin1']={'stringify':function(_0x52ecb2){const _0x25ea4e=_0xd579ef;for(var _0x26449c=_0x52ecb2[_0x25ea4e(0x155)],_0x5248b0=_0x52ecb2['sigBytes'],_0x4b581c=[],_0x7b4eb7=0x0;_0x7b4eb7<_0x5248b0;_0x7b4eb7++){var _0x57a84e=_0x26449c[_0x7b4eb7>>>0x2]>>>0x18-_0x7b4eb7%0x4*0x8&0xff;_0x4b581c['push'](String[_0x25ea4e(0x29a)](_0x57a84e));}return _0x4b581c['join']('');},'parse':function(_0x4e00c8){const _0x34a4f7=_0xd579ef;for(var _0x3df153=_0x4e00c8[_0x34a4f7(0x530)],_0x395559=[],_0x4229f8=0x0;_0x4229f8<_0x3df153;_0x4229f8++)_0x395559[_0x4229f8>>>0x2]|=(_0x4e00c8[_0x34a4f7(0x3b4)](_0x4229f8)&0xff)<<0x18-_0x4229f8%0x4*0x8;return new _0x4b53b6['init'](_0x395559,_0x3df153);}},_0x1eee9b=_0x49264d[_0xd579ef(0x289)]={'stringify':function(_0x4d7859){const _0x1f3a00=_0xd579ef;try{return decodeURIComponent(escape(_0x3fafc1[_0x1f3a00(0x2d1)](_0x4d7859)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x15c285){return _0x3fafc1['parse'](unescape(encodeURIComponent(_0x15c285)));}},_0x4d915f=_0x3575b6[_0xd579ef(0x1ac)]=_0x54ec5f[_0xd579ef(0x3bb)]({'reset':function(){const _0x14390c=_0xd579ef;this[_0x14390c(0x225)]=new _0x4b53b6[(_0x14390c(0x432))](),this[_0x14390c(0x46c)]=0x0;},'_append':function(_0x29f4b0){const _0x3db43e=_0xd579ef;typeof _0x29f4b0==_0x3db43e(0x3b2)&&(_0x29f4b0=_0x1eee9b[_0x3db43e(0x2af)](_0x29f4b0)),this[_0x3db43e(0x225)][_0x3db43e(0x407)](_0x29f4b0),this['_nDataBytes']+=_0x29f4b0[_0x3db43e(0x3a6)];},'_process':function(_0x55cb44){const _0x37fdf7=_0xd579ef;var _0xea8b81,_0x1ec558=this[_0x37fdf7(0x225)],_0x4f66bd=_0x1ec558['words'],_0x2bd231=_0x1ec558[_0x37fdf7(0x3a6)],_0x1b916c=this[_0x37fdf7(0x502)],_0x5b4b7c=_0x1b916c*0x4,_0x4b6a11=_0x2bd231/_0x5b4b7c;_0x55cb44?_0x4b6a11=_0x288c73['ceil'](_0x4b6a11):_0x4b6a11=_0x288c73[_0x37fdf7(0x2e7)]((_0x4b6a11|0x0)-this[_0x37fdf7(0x1cb)],0x0);var _0x2dbd2b=_0x4b6a11*_0x1b916c,_0x23ca1f=_0x288c73[_0x37fdf7(0x585)](_0x2dbd2b*0x4,_0x2bd231);if(_0x2dbd2b){for(var _0x2c0539=0x0;_0x2c0539<_0x2dbd2b;_0x2c0539+=_0x1b916c)this['_doProcessBlock'](_0x4f66bd,_0x2c0539);_0xea8b81=_0x4f66bd['splice'](0x0,_0x2dbd2b),_0x1ec558[_0x37fdf7(0x3a6)]-=_0x23ca1f;}return new _0x4b53b6[(_0x37fdf7(0x432))](_0xea8b81,_0x23ca1f);},'clone':function(){const _0x124754=_0xd579ef;var _0x23b545=_0x54ec5f['clone'][_0x124754(0x20c)](this);return _0x23b545[_0x124754(0x225)]=this[_0x124754(0x225)][_0x124754(0x1c6)](),_0x23b545;},'_minBufferSize':0x0});_0x3575b6['Hasher']=_0x4d915f['extend']({'cfg':_0x54ec5f[_0xd579ef(0x3bb)](),'init':function(_0x59810a){const _0x263117=_0xd579ef;this['cfg']=this[_0x263117(0x541)]['extend'](_0x59810a),this[_0x263117(0x149)]();},'reset':function(){const _0x9fb42c=_0xd579ef;_0x4d915f[_0x9fb42c(0x149)]['call'](this),this[_0x9fb42c(0x20f)]();},'update':function(_0x4ecebb){const _0x430241=_0xd579ef;return this[_0x430241(0x34b)](_0x4ecebb),this[_0x430241(0x380)](),this;},'finalize':function(_0x2fff7e){const _0x14d8e1=_0xd579ef;_0x2fff7e&&this['_append'](_0x2fff7e);var _0x56a6e5=this[_0x14d8e1(0x187)]();return _0x56a6e5;},'blockSize':0x10,'_createHelper':function(_0x16a174){return function(_0x13b4c1,_0x5b62bc){const _0x49e9b7=_0x5f2c;return new _0x16a174['init'](_0x5b62bc)[_0x49e9b7(0x36a)](_0x13b4c1);};},'_createHmacHelper':function(_0x526f81){return function(_0x3f79bd,_0x581fb6){const _0x2cd6e3=_0x5f2c;return new _0x566044['HMAC']['init'](_0x526f81,_0x581fb6)[_0x2cd6e3(0x36a)](_0x3f79bd);};}});var _0x566044=_0x2b54ef[_0xd579ef(0x4bb)]={};return _0x2b54ef;}(Math);return _0x209bbf;}));}(ct)),ct[_0x396100(0x5dd)];}var lt={'exports':{}},Vt;function On(){const _0x36c78e=_0x4a9685;return Vt||(Vt=0x1,function(_0x866ff,_0x2e4262){(function(_0x379715,_0xd4237a){const _0xa498c4=_0x5f2c;_0x866ff[_0xa498c4(0x5dd)]=_0xd4237a(oe());}(X,function(_0x1c1c82){const _0xb28be2=_0x5f2c;return(function(){const _0x2bb7b1=_0x5f2c;var _0x1e57ce=_0x1c1c82,_0x28d1da=_0x1e57ce[_0x2bb7b1(0x18d)],_0x9d0437=_0x28d1da[_0x2bb7b1(0x2bc)],_0x1f16e2=_0x1e57ce[_0x2bb7b1(0x3e6)];_0x1f16e2['Base64']={'stringify':function(_0x655681){const _0xc16999=_0x2bb7b1;var _0x2c680d=_0x655681['words'],_0x40f15c=_0x655681[_0xc16999(0x3a6)],_0x470e3e=this[_0xc16999(0x3c2)];_0x655681[_0xc16999(0x304)]();for(var _0x4df4d7=[],_0x12bcf1=0x0;_0x12bcf1<_0x40f15c;_0x12bcf1+=0x3)for(var _0x1f9c6b=_0x2c680d[_0x12bcf1>>>0x2]>>>0x18-_0x12bcf1%0x4*0x8&0xff,_0x398ffe=_0x2c680d[_0x12bcf1+0x1>>>0x2]>>>0x18-(_0x12bcf1+0x1)%0x4*0x8&0xff,_0x6c3715=_0x2c680d[_0x12bcf1+0x2>>>0x2]>>>0x18-(_0x12bcf1+0x2)%0x4*0x8&0xff,_0x52ed2f=_0x1f9c6b<<0x10|_0x398ffe<<0x8|_0x6c3715,_0x37c0ee=0x0;_0x37c0ee<0x4&&_0x12bcf1+_0x37c0ee*0.75<_0x40f15c;_0x37c0ee++)_0x4df4d7['push'](_0x470e3e[_0xc16999(0x22d)](_0x52ed2f>>>0x6*(0x3-_0x37c0ee)&0x3f));var _0x2660a1=_0x470e3e['charAt'](0x40);if(_0x2660a1){for(;_0x4df4d7[_0xc16999(0x530)]%0x4;)_0x4df4d7[_0xc16999(0x3d6)](_0x2660a1);}return _0x4df4d7[_0xc16999(0x241)]('');},'parse':function(_0x2f6beb){const _0x20498b=_0x2bb7b1;var _0x2b93f6=_0x2f6beb['length'],_0x20b6c8=this[_0x20498b(0x3c2)],_0x114927=this[_0x20498b(0x5cb)];if(!_0x114927){_0x114927=this[_0x20498b(0x5cb)]=[];for(var _0x3079bb=0x0;_0x3079bb<_0x20b6c8[_0x20498b(0x530)];_0x3079bb++)_0x114927[_0x20b6c8['charCodeAt'](_0x3079bb)]=_0x3079bb;}var _0x4f17bb=_0x20b6c8['charAt'](0x40);if(_0x4f17bb){var _0x1870c0=_0x2f6beb['indexOf'](_0x4f17bb);_0x1870c0!==-0x1&&(_0x2b93f6=_0x1870c0);}return _0x51af72(_0x2f6beb,_0x2b93f6,_0x114927);},'_map':_0x2bb7b1(0x482)};function _0x51af72(_0x5351e7,_0x7c7bce,_0x51702c){const _0x1e84ff=_0x2bb7b1;for(var _0x2e1fbb=[],_0x24ff7a=0x0,_0x64f4a4=0x0;_0x64f4a4<_0x7c7bce;_0x64f4a4++)if(_0x64f4a4%0x4){var _0x505986=_0x51702c[_0x5351e7[_0x1e84ff(0x3b4)](_0x64f4a4-0x1)]<<_0x64f4a4%0x4*0x2,_0x5226ee=_0x51702c[_0x5351e7[_0x1e84ff(0x3b4)](_0x64f4a4)]>>>0x6-_0x64f4a4%0x4*0x2,_0x59097a=_0x505986|_0x5226ee;_0x2e1fbb[_0x24ff7a>>>0x2]|=_0x59097a<<0x18-_0x24ff7a%0x4*0x8,_0x24ff7a++;}return _0x9d0437[_0x1e84ff(0x4c5)](_0x2e1fbb,_0x24ff7a);}}()),_0x1c1c82[_0xb28be2(0x3e6)][_0xb28be2(0x220)];}));}(lt)),lt[_0x36c78e(0x5dd)];}var ht={'exports':{}},Gt;function ar(){const _0x20a98d=_0x4a9685;return Gt||(Gt=0x1,function(_0x2fba60,_0xbebd10){(function(_0x4c38d6,_0x5e3d58){_0x2fba60['exports']=_0x5e3d58(oe());}(X,function(_0x44fd49){const _0x164e18=_0x5f2c;return function(_0x53bd40){const _0x25b699=_0x5f2c;var _0x2d79af=_0x44fd49,_0x4e29d5=_0x2d79af[_0x25b699(0x18d)],_0x1b8b5d=_0x4e29d5[_0x25b699(0x2bc)],_0x4b1123=_0x4e29d5[_0x25b699(0x314)],_0x2ce341=_0x2d79af[_0x25b699(0x4bb)],_0x26af8c=[];(function(){const _0x5af54d=_0x25b699;for(var _0x5acf78=0x0;_0x5acf78<0x40;_0x5acf78++)_0x26af8c[_0x5acf78]=_0x53bd40['abs'](_0x53bd40[_0x5af54d(0x2c5)](_0x5acf78+0x1))*0x100000000|0x0;}());var _0x8790c6=_0x2ce341[_0x25b699(0x4e2)]=_0x4b1123[_0x25b699(0x3bb)]({'_doReset':function(){const _0xa63cf0=_0x25b699;this[_0xa63cf0(0x3f7)]=new _0x1b8b5d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4832f6,_0x1d8ea0){const _0x15e7fe=_0x25b699;for(var _0x24b9ed=0x0;_0x24b9ed<0x10;_0x24b9ed++){var _0x208946=_0x1d8ea0+_0x24b9ed,_0x31bcca=_0x4832f6[_0x208946];_0x4832f6[_0x208946]=(_0x31bcca<<0x8|_0x31bcca>>>0x18)&0xff00ff|(_0x31bcca<<0x18|_0x31bcca>>>0x8)&0xff00ff00;}var _0x51a61b=this[_0x15e7fe(0x3f7)]['words'],_0x349055=_0x4832f6[_0x1d8ea0+0x0],_0x469da0=_0x4832f6[_0x1d8ea0+0x1],_0x5aef62=_0x4832f6[_0x1d8ea0+0x2],_0x37a1bd=_0x4832f6[_0x1d8ea0+0x3],_0x59d26e=_0x4832f6[_0x1d8ea0+0x4],_0x3b0e28=_0x4832f6[_0x1d8ea0+0x5],_0x58de18=_0x4832f6[_0x1d8ea0+0x6],_0x25e9a6=_0x4832f6[_0x1d8ea0+0x7],_0x11f3a0=_0x4832f6[_0x1d8ea0+0x8],_0x18b8db=_0x4832f6[_0x1d8ea0+0x9],_0x2dd31b=_0x4832f6[_0x1d8ea0+0xa],_0x1a734f=_0x4832f6[_0x1d8ea0+0xb],_0x548be8=_0x4832f6[_0x1d8ea0+0xc],_0x325ff3=_0x4832f6[_0x1d8ea0+0xd],_0x31e6f0=_0x4832f6[_0x1d8ea0+0xe],_0xe0cab2=_0x4832f6[_0x1d8ea0+0xf],_0x139ef4=_0x51a61b[0x0],_0x34a64c=_0x51a61b[0x1],_0x34373b=_0x51a61b[0x2],_0x5ca88b=_0x51a61b[0x3];_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x349055,0x7,_0x26af8c[0x0]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x469da0,0xc,_0x26af8c[0x1]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x5aef62,0x11,_0x26af8c[0x2]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x37a1bd,0x16,_0x26af8c[0x3]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x59d26e,0x7,_0x26af8c[0x4]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x3b0e28,0xc,_0x26af8c[0x5]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x58de18,0x11,_0x26af8c[0x6]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x25e9a6,0x16,_0x26af8c[0x7]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x11f3a0,0x7,_0x26af8c[0x8]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x18b8db,0xc,_0x26af8c[0x9]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x2dd31b,0x11,_0x26af8c[0xa]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x1a734f,0x16,_0x26af8c[0xb]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x548be8,0x7,_0x26af8c[0xc]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x325ff3,0xc,_0x26af8c[0xd]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x31e6f0,0x11,_0x26af8c[0xe]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0xe0cab2,0x16,_0x26af8c[0xf]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x469da0,0x5,_0x26af8c[0x10]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x58de18,0x9,_0x26af8c[0x11]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x1a734f,0xe,_0x26af8c[0x12]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x349055,0x14,_0x26af8c[0x13]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x3b0e28,0x5,_0x26af8c[0x14]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x2dd31b,0x9,_0x26af8c[0x15]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0xe0cab2,0xe,_0x26af8c[0x16]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x59d26e,0x14,_0x26af8c[0x17]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x18b8db,0x5,_0x26af8c[0x18]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x31e6f0,0x9,_0x26af8c[0x19]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x37a1bd,0xe,_0x26af8c[0x1a]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x11f3a0,0x14,_0x26af8c[0x1b]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x325ff3,0x5,_0x26af8c[0x1c]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x5aef62,0x9,_0x26af8c[0x1d]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x25e9a6,0xe,_0x26af8c[0x1e]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x548be8,0x14,_0x26af8c[0x1f]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x3b0e28,0x4,_0x26af8c[0x20]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x11f3a0,0xb,_0x26af8c[0x21]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x1a734f,0x10,_0x26af8c[0x22]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x31e6f0,0x17,_0x26af8c[0x23]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x469da0,0x4,_0x26af8c[0x24]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x59d26e,0xb,_0x26af8c[0x25]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x25e9a6,0x10,_0x26af8c[0x26]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x2dd31b,0x17,_0x26af8c[0x27]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x325ff3,0x4,_0x26af8c[0x28]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x349055,0xb,_0x26af8c[0x29]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x37a1bd,0x10,_0x26af8c[0x2a]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x58de18,0x17,_0x26af8c[0x2b]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x18b8db,0x4,_0x26af8c[0x2c]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x548be8,0xb,_0x26af8c[0x2d]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0xe0cab2,0x10,_0x26af8c[0x2e]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x5aef62,0x17,_0x26af8c[0x2f]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x349055,0x6,_0x26af8c[0x30]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x25e9a6,0xa,_0x26af8c[0x31]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x31e6f0,0xf,_0x26af8c[0x32]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x3b0e28,0x15,_0x26af8c[0x33]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x548be8,0x6,_0x26af8c[0x34]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x37a1bd,0xa,_0x26af8c[0x35]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x2dd31b,0xf,_0x26af8c[0x36]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x469da0,0x15,_0x26af8c[0x37]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x11f3a0,0x6,_0x26af8c[0x38]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0xe0cab2,0xa,_0x26af8c[0x39]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x58de18,0xf,_0x26af8c[0x3a]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x325ff3,0x15,_0x26af8c[0x3b]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x59d26e,0x6,_0x26af8c[0x3c]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x1a734f,0xa,_0x26af8c[0x3d]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x5aef62,0xf,_0x26af8c[0x3e]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x18b8db,0x15,_0x26af8c[0x3f]),_0x51a61b[0x0]=_0x51a61b[0x0]+_0x139ef4|0x0,_0x51a61b[0x1]=_0x51a61b[0x1]+_0x34a64c|0x0,_0x51a61b[0x2]=_0x51a61b[0x2]+_0x34373b|0x0,_0x51a61b[0x3]=_0x51a61b[0x3]+_0x5ca88b|0x0;},'_doFinalize':function(){const _0x1be980=_0x25b699;var _0x57dae9=this[_0x1be980(0x225)],_0x15a20a=_0x57dae9[_0x1be980(0x155)],_0x1bed08=this['_nDataBytes']*0x8,_0x4be219=_0x57dae9[_0x1be980(0x3a6)]*0x8;_0x15a20a[_0x4be219>>>0x5]|=0x80<<0x18-_0x4be219%0x20;var _0x28e8a2=_0x53bd40[_0x1be980(0x1d0)](_0x1bed08/0x100000000),_0x293ba0=_0x1bed08;_0x15a20a[(_0x4be219+0x40>>>0x9<<0x4)+0xf]=(_0x28e8a2<<0x8|_0x28e8a2>>>0x18)&0xff00ff|(_0x28e8a2<<0x18|_0x28e8a2>>>0x8)&0xff00ff00,_0x15a20a[(_0x4be219+0x40>>>0x9<<0x4)+0xe]=(_0x293ba0<<0x8|_0x293ba0>>>0x18)&0xff00ff|(_0x293ba0<<0x18|_0x293ba0>>>0x8)&0xff00ff00,_0x57dae9[_0x1be980(0x3a6)]=(_0x15a20a[_0x1be980(0x530)]+0x1)*0x4,this[_0x1be980(0x380)]();for(var _0x10f2c0=this[_0x1be980(0x3f7)],_0x44d059=_0x10f2c0['words'],_0x5b8686=0x0;_0x5b8686<0x4;_0x5b8686++){var _0x36933a=_0x44d059[_0x5b8686];_0x44d059[_0x5b8686]=(_0x36933a<<0x8|_0x36933a>>>0x18)&0xff00ff|(_0x36933a<<0x18|_0x36933a>>>0x8)&0xff00ff00;}return _0x10f2c0;},'clone':function(){const _0x29180f=_0x25b699;var _0x37dc7c=_0x4b1123[_0x29180f(0x1c6)][_0x29180f(0x20c)](this);return _0x37dc7c[_0x29180f(0x3f7)]=this[_0x29180f(0x3f7)]['clone'](),_0x37dc7c;}});function _0x24eb0d(_0x2f0d7c,_0x33a419,_0x55bed2,_0xf9edc7,_0x6fd2e9,_0x2812d1,_0x50473b){var _0x3f28c4=_0x2f0d7c+(_0x33a419&_0x55bed2|~_0x33a419&_0xf9edc7)+_0x6fd2e9+_0x50473b;return(_0x3f28c4<<_0x2812d1|_0x3f28c4>>>0x20-_0x2812d1)+_0x33a419;}function _0x337a06(_0x25bd68,_0x948fa,_0x3ec39c,_0x19f722,_0x15fe5e,_0xd6278e,_0x313b18){var _0x5c8a7d=_0x25bd68+(_0x948fa&_0x19f722|_0x3ec39c&~_0x19f722)+_0x15fe5e+_0x313b18;return(_0x5c8a7d<<_0xd6278e|_0x5c8a7d>>>0x20-_0xd6278e)+_0x948fa;}function _0x3fbdd7(_0x4b0b59,_0x4906ff,_0x29e131,_0x1ad888,_0x38cd6f,_0x2457f2,_0x1072a5){var _0x2aa4e9=_0x4b0b59+(_0x4906ff^_0x29e131^_0x1ad888)+_0x38cd6f+_0x1072a5;return(_0x2aa4e9<<_0x2457f2|_0x2aa4e9>>>0x20-_0x2457f2)+_0x4906ff;}function _0x547cf5(_0x5214f9,_0x5cf8a9,_0x2a6eee,_0x39e496,_0x5c86e1,_0xee06aa,_0x177fe4){var _0x579308=_0x5214f9+(_0x2a6eee^(_0x5cf8a9|~_0x39e496))+_0x5c86e1+_0x177fe4;return(_0x579308<<_0xee06aa|_0x579308>>>0x20-_0xee06aa)+_0x5cf8a9;}_0x2d79af[_0x25b699(0x4e2)]=_0x4b1123[_0x25b699(0x2f6)](_0x8790c6),_0x2d79af['HmacMD5']=_0x4b1123['_createHmacHelper'](_0x8790c6);}(Math),_0x44fd49[_0x164e18(0x4e2)];}));}(ht)),ht[_0x20a98d(0x5dd)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){return Yt||(Yt=0x1,function(_0x2bcfc9,_0x3bd4a9){(function(_0x13b15b,_0x142c79){const _0x541b49=_0x5f2c;_0x2bcfc9[_0x541b49(0x5dd)]=_0x142c79(oe());}(X,function(_0xeb114){const _0xf92009=_0x5f2c;return(function(){const _0x163a46=_0x5f2c;var _0x1f8306=_0xeb114,_0x5e37dc=_0x1f8306[_0x163a46(0x18d)],_0xbdd5bf=_0x5e37dc[_0x163a46(0x2bc)],_0x4c9f1a=_0x5e37dc[_0x163a46(0x314)],_0xafeb03=_0x1f8306[_0x163a46(0x4bb)],_0x5cf4c0=[],_0x2bb2ed=_0xafeb03[_0x163a46(0x159)]=_0x4c9f1a[_0x163a46(0x3bb)]({'_doReset':function(){const _0x32bc12=_0x163a46;this[_0x32bc12(0x3f7)]=new _0xbdd5bf[(_0x32bc12(0x432))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3d9b8d,_0x559e27){const _0x2a1f10=_0x163a46;for(var _0x3c99f9=this[_0x2a1f10(0x3f7)][_0x2a1f10(0x155)],_0x530459=_0x3c99f9[0x0],_0x40bf66=_0x3c99f9[0x1],_0x409d24=_0x3c99f9[0x2],_0xcbf88c=_0x3c99f9[0x3],_0x593997=_0x3c99f9[0x4],_0x4f3864=0x0;_0x4f3864<0x50;_0x4f3864++){if(_0x4f3864<0x10)_0x5cf4c0[_0x4f3864]=_0x3d9b8d[_0x559e27+_0x4f3864]|0x0;else{var _0x238314=_0x5cf4c0[_0x4f3864-0x3]^_0x5cf4c0[_0x4f3864-0x8]^_0x5cf4c0[_0x4f3864-0xe]^_0x5cf4c0[_0x4f3864-0x10];_0x5cf4c0[_0x4f3864]=_0x238314<<0x1|_0x238314>>>0x1f;}var _0x3081b3=(_0x530459<<0x5|_0x530459>>>0x1b)+_0x593997+_0x5cf4c0[_0x4f3864];_0x4f3864<0x14?_0x3081b3+=(_0x40bf66&_0x409d24|~_0x40bf66&_0xcbf88c)+0x5a827999:_0x4f3864<0x28?_0x3081b3+=(_0x40bf66^_0x409d24^_0xcbf88c)+0x6ed9eba1:_0x4f3864<0x3c?_0x3081b3+=(_0x40bf66&_0x409d24|_0x40bf66&_0xcbf88c|_0x409d24&_0xcbf88c)-0x70e44324:_0x3081b3+=(_0x40bf66^_0x409d24^_0xcbf88c)-0x359d3e2a,_0x593997=_0xcbf88c,_0xcbf88c=_0x409d24,_0x409d24=_0x40bf66<<0x1e|_0x40bf66>>>0x2,_0x40bf66=_0x530459,_0x530459=_0x3081b3;}_0x3c99f9[0x0]=_0x3c99f9[0x0]+_0x530459|0x0,_0x3c99f9[0x1]=_0x3c99f9[0x1]+_0x40bf66|0x0,_0x3c99f9[0x2]=_0x3c99f9[0x2]+_0x409d24|0x0,_0x3c99f9[0x3]=_0x3c99f9[0x3]+_0xcbf88c|0x0,_0x3c99f9[0x4]=_0x3c99f9[0x4]+_0x593997|0x0;},'_doFinalize':function(){const _0xc28955=_0x163a46;var _0x1aa506=this['_data'],_0xb20b94=_0x1aa506[_0xc28955(0x155)],_0x4f1bb5=this[_0xc28955(0x46c)]*0x8,_0x3b57cc=_0x1aa506[_0xc28955(0x3a6)]*0x8;return _0xb20b94[_0x3b57cc>>>0x5]|=0x80<<0x18-_0x3b57cc%0x20,_0xb20b94[(_0x3b57cc+0x40>>>0x9<<0x4)+0xe]=Math[_0xc28955(0x1d0)](_0x4f1bb5/0x100000000),_0xb20b94[(_0x3b57cc+0x40>>>0x9<<0x4)+0xf]=_0x4f1bb5,_0x1aa506['sigBytes']=_0xb20b94[_0xc28955(0x530)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x57bd38=_0x163a46;var _0x107ae7=_0x4c9f1a[_0x57bd38(0x1c6)][_0x57bd38(0x20c)](this);return _0x107ae7[_0x57bd38(0x3f7)]=this[_0x57bd38(0x3f7)]['clone'](),_0x107ae7;}});_0x1f8306['SHA1']=_0x4c9f1a['_createHelper'](_0x2bb2ed),_0x1f8306['HmacSHA1']=_0x4c9f1a[_0x163a46(0x355)](_0x2bb2ed);}()),_0xeb114[_0xf92009(0x159)];}));}(ut)),ut['exports'];}var dt={'exports':{}},Kt;function lr(){const _0x1bd0a8=_0x4a9685;return Kt||(Kt=0x1,function(_0x28a8b6,_0x57a1fd){(function(_0x4d8a6c,_0x1abf8c){const _0x44cbeb=_0x5f2c;_0x28a8b6[_0x44cbeb(0x5dd)]=_0x1abf8c(oe());}(X,function(_0x84886b){(function(){const _0x580322=_0x5f2c;var _0x5e15f0=_0x84886b,_0x345ed1=_0x5e15f0[_0x580322(0x18d)],_0x48bd86=_0x345ed1[_0x580322(0x1bd)],_0x4319ed=_0x5e15f0[_0x580322(0x3e6)],_0x2c7c91=_0x4319ed[_0x580322(0x289)],_0x515b60=_0x5e15f0[_0x580322(0x4bb)];_0x515b60[_0x580322(0x52a)]=_0x48bd86['extend']({'init':function(_0x4b9e51,_0x499542){const _0x121fc2=_0x580322;_0x4b9e51=this[_0x121fc2(0x141)]=new _0x4b9e51['init'](),typeof _0x499542==_0x121fc2(0x3b2)&&(_0x499542=_0x2c7c91[_0x121fc2(0x2af)](_0x499542));var _0x1e16d9=_0x4b9e51['blockSize'],_0x430db9=_0x1e16d9*0x4;_0x499542[_0x121fc2(0x3a6)]>_0x430db9&&(_0x499542=_0x4b9e51[_0x121fc2(0x36a)](_0x499542)),_0x499542['clamp']();for(var _0x4a2483=this[_0x121fc2(0x4a6)]=_0x499542['clone'](),_0x303fdb=this['_iKey']=_0x499542['clone'](),_0x1028bd=_0x4a2483[_0x121fc2(0x155)],_0x27b6a2=_0x303fdb[_0x121fc2(0x155)],_0x34ff0b=0x0;_0x34ff0b<_0x1e16d9;_0x34ff0b++)_0x1028bd[_0x34ff0b]^=0x5c5c5c5c,_0x27b6a2[_0x34ff0b]^=0x36363636;_0x4a2483[_0x121fc2(0x3a6)]=_0x303fdb[_0x121fc2(0x3a6)]=_0x430db9,this[_0x121fc2(0x149)]();},'reset':function(){const _0x1eee22=_0x580322;var _0x3f87bc=this[_0x1eee22(0x141)];_0x3f87bc['reset'](),_0x3f87bc['update'](this['_iKey']);},'update':function(_0x81d94b){const _0x2b5680=_0x580322;return this[_0x2b5680(0x141)][_0x2b5680(0x382)](_0x81d94b),this;},'finalize':function(_0x9ee063){const _0x203845=_0x580322;var _0x579b8f=this[_0x203845(0x141)],_0x464c23=_0x579b8f[_0x203845(0x36a)](_0x9ee063);_0x579b8f[_0x203845(0x149)]();var _0x3353d8=_0x579b8f[_0x203845(0x36a)](this[_0x203845(0x4a6)][_0x203845(0x1c6)]()['concat'](_0x464c23));return _0x3353d8;}});}());}));}(dt)),dt[_0x1bd0a8(0x5dd)];}var qt;function Dn(){const _0x2fb9c9=_0x4a9685;return qt||(qt=0x1,function(_0x5cafe9,_0x25d2fa){(function(_0x41a392,_0x15b5c4,_0xa984b3){_0x5cafe9['exports']=_0x15b5c4(oe(),cr(),lr());}(X,function(_0x3d94f9){const _0x3c1ea1=_0x5f2c;return(function(){const _0x184440=_0x5f2c;var _0x18a5c2=_0x3d94f9,_0x3bbd12=_0x18a5c2[_0x184440(0x18d)],_0x5d8954=_0x3bbd12['Base'],_0x3af7a8=_0x3bbd12['WordArray'],_0x27e6cd=_0x18a5c2[_0x184440(0x4bb)],_0xfbe86c=_0x27e6cd['MD5'],_0x4a2ba3=_0x27e6cd['EvpKDF']=_0x5d8954[_0x184440(0x3bb)]({'cfg':_0x5d8954['extend']({'keySize':0x80/0x20,'hasher':_0xfbe86c,'iterations':0x1}),'init':function(_0x4a53f4){const _0x4dcea1=_0x184440;this[_0x4dcea1(0x541)]=this['cfg'][_0x4dcea1(0x3bb)](_0x4a53f4);},'compute':function(_0x3b9615,_0x413107){const _0x4af8bf=_0x184440;for(var _0x392fb2,_0x5531a2=this[_0x4af8bf(0x541)],_0x4d35dc=_0x5531a2[_0x4af8bf(0x156)][_0x4af8bf(0x4c5)](),_0x49cd2d=_0x3af7a8[_0x4af8bf(0x4c5)](),_0x2ca635=_0x49cd2d[_0x4af8bf(0x155)],_0x1b6fc7=_0x5531a2[_0x4af8bf(0x3f1)],_0x38625c=_0x5531a2['iterations'];_0x2ca635['length']<_0x1b6fc7;){_0x392fb2&&_0x4d35dc[_0x4af8bf(0x382)](_0x392fb2),_0x392fb2=_0x4d35dc['update'](_0x3b9615)[_0x4af8bf(0x36a)](_0x413107),_0x4d35dc['reset']();for(var _0x562a15=0x1;_0x562a15<_0x38625c;_0x562a15++)_0x392fb2=_0x4d35dc[_0x4af8bf(0x36a)](_0x392fb2),_0x4d35dc['reset']();_0x49cd2d['concat'](_0x392fb2);}return _0x49cd2d[_0x4af8bf(0x3a6)]=_0x1b6fc7*0x4,_0x49cd2d;}});_0x18a5c2['EvpKDF']=function(_0x2f8266,_0x2d0e28,_0x36f4fd){const _0xe8ed72=_0x184440;return _0x4a2ba3[_0xe8ed72(0x4c5)](_0x36f4fd)['compute'](_0x2f8266,_0x2d0e28);};}()),_0x3d94f9[_0x3c1ea1(0x1a7)];}));}(_t)),_t[_0x2fb9c9(0x5dd)];}var ft={'exports':{}},zt;function wn(){const _0x282f53=_0x4a9685;return zt||(zt=0x1,function(_0x2f1f63,_0x232588){(function(_0x2e5627,_0x4f37a3,_0x4cf20b){const _0x222c24=_0x5f2c;_0x2f1f63[_0x222c24(0x5dd)]=_0x4f37a3(oe(),Dn());}(X,function(_0x73392e){const _0x546342=_0x5f2c;_0x73392e[_0x546342(0x18d)]['Cipher']||function(_0x2d756a){const _0x387a19=_0x546342;var _0x1e5b0a=_0x73392e,_0x380cc3=_0x1e5b0a[_0x387a19(0x18d)],_0x5aaf9b=_0x380cc3[_0x387a19(0x1bd)],_0x5caa13=_0x380cc3[_0x387a19(0x2bc)],_0x103b8a=_0x380cc3[_0x387a19(0x1ac)],_0x185711=_0x1e5b0a[_0x387a19(0x3e6)];_0x185711['Utf8'];var _0x4a505d=_0x185711['Base64'],_0x37672c=_0x1e5b0a['algo'],_0x3a7149=_0x37672c[_0x387a19(0x1a7)],_0x1379cf=_0x380cc3[_0x387a19(0x1df)]=_0x103b8a[_0x387a19(0x3bb)]({'cfg':_0x5aaf9b[_0x387a19(0x3bb)](),'createEncryptor':function(_0x5e83f6,_0x3ab844){const _0x31de89=_0x387a19;return this[_0x31de89(0x4c5)](this[_0x31de89(0x331)],_0x5e83f6,_0x3ab844);},'createDecryptor':function(_0x4910c3,_0x38926f){const _0x51f064=_0x387a19;return this['create'](this[_0x51f064(0x311)],_0x4910c3,_0x38926f);},'init':function(_0x34c37c,_0x373a68,_0x114dfc){const _0x50756f=_0x387a19;this['cfg']=this[_0x50756f(0x541)]['extend'](_0x114dfc),this[_0x50756f(0x302)]=_0x34c37c,this['_key']=_0x373a68,this[_0x50756f(0x149)]();},'reset':function(){const _0xb3f85a=_0x387a19;_0x103b8a[_0xb3f85a(0x149)][_0xb3f85a(0x20c)](this),this[_0xb3f85a(0x20f)]();},'process':function(_0x37bf17){const _0x713b42=_0x387a19;return this[_0x713b42(0x34b)](_0x37bf17),this[_0x713b42(0x380)]();},'finalize':function(_0x196006){const _0x461a41=_0x387a19;_0x196006&&this[_0x461a41(0x34b)](_0x196006);var _0x3d8434=this['_doFinalize']();return _0x3d8434;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x820f73(_0x21efd2){const _0x5f1a7b=_0x5f2c;return typeof _0x21efd2==_0x5f1a7b(0x3b2)?_0x2d31a6:_0x53b80d;}return function(_0xc60f01){return{'encrypt':function(_0xcfeb54,_0x4b239a,_0xf823fe){const _0x29fb61=_0x5f2c;return _0x820f73(_0x4b239a)[_0x29fb61(0x4e4)](_0xc60f01,_0xcfeb54,_0x4b239a,_0xf823fe);},'decrypt':function(_0x21ebf2,_0x46db9a,_0x3a71cb){return _0x820f73(_0x46db9a)['decrypt'](_0xc60f01,_0x21ebf2,_0x46db9a,_0x3a71cb);}};};}())});_0x380cc3[_0x387a19(0x4e3)]=_0x1379cf[_0x387a19(0x3bb)]({'_doFinalize':function(){const _0x2ae4e5=_0x387a19;var _0x404e27=this[_0x2ae4e5(0x380)](!0x0);return _0x404e27;},'blockSize':0x1});var _0x5e6787=_0x1e5b0a[_0x387a19(0x553)]={},_0x562035=_0x380cc3[_0x387a19(0x3ad)]=_0x5aaf9b['extend']({'createEncryptor':function(_0x2ebf42,_0x1fd59a){const _0x1f1c59=_0x387a19;return this[_0x1f1c59(0x35c)][_0x1f1c59(0x4c5)](_0x2ebf42,_0x1fd59a);},'createDecryptor':function(_0x711138,_0x384924){const _0x57e38e=_0x387a19;return this[_0x57e38e(0x1ee)][_0x57e38e(0x4c5)](_0x711138,_0x384924);},'init':function(_0x2fbf07,_0x83a969){const _0x2a4049=_0x387a19;this[_0x2a4049(0x1dc)]=_0x2fbf07,this[_0x2a4049(0x3d7)]=_0x83a969;}}),_0x44277=_0x5e6787[_0x387a19(0x21d)]=(function(){const _0x5cae72=_0x387a19;var _0x5deeea=_0x562035[_0x5cae72(0x3bb)]();_0x5deeea[_0x5cae72(0x35c)]=_0x5deeea[_0x5cae72(0x3bb)]({'processBlock':function(_0x340285,_0x5e78e4){const _0x4acdc9=_0x5cae72;var _0x159d2d=this[_0x4acdc9(0x1dc)],_0x400cbf=_0x159d2d[_0x4acdc9(0x502)];_0x1c3b25[_0x4acdc9(0x20c)](this,_0x340285,_0x5e78e4,_0x400cbf),_0x159d2d[_0x4acdc9(0x2f5)](_0x340285,_0x5e78e4),this[_0x4acdc9(0x561)]=_0x340285[_0x4acdc9(0x2f2)](_0x5e78e4,_0x5e78e4+_0x400cbf);}}),_0x5deeea[_0x5cae72(0x1ee)]=_0x5deeea[_0x5cae72(0x3bb)]({'processBlock':function(_0x4e5f09,_0xae41a6){const _0x413442=_0x5cae72;var _0x25bd34=this[_0x413442(0x1dc)],_0x1d080f=_0x25bd34['blockSize'],_0x3086df=_0x4e5f09['slice'](_0xae41a6,_0xae41a6+_0x1d080f);_0x25bd34[_0x413442(0x40b)](_0x4e5f09,_0xae41a6),_0x1c3b25[_0x413442(0x20c)](this,_0x4e5f09,_0xae41a6,_0x1d080f),this['_prevBlock']=_0x3086df;}});function _0x1c3b25(_0x4e464d,_0x85ea5c,_0x44cd40){const _0x25424e=_0x5cae72;var _0x1c9f2e,_0x4968a4=this[_0x25424e(0x3d7)];_0x4968a4?(_0x1c9f2e=_0x4968a4,this[_0x25424e(0x3d7)]=_0x2d756a):_0x1c9f2e=this[_0x25424e(0x561)];for(var _0x50cb1f=0x0;_0x50cb1f<_0x44cd40;_0x50cb1f++)_0x4e464d[_0x85ea5c+_0x50cb1f]^=_0x1c9f2e[_0x50cb1f];}return _0x5deeea;}()),_0x5eb087=_0x1e5b0a[_0x387a19(0x5b1)]={},_0x57ea9f=_0x5eb087['Pkcs7']={'pad':function(_0x179095,_0x2a3259){const _0x60c97f=_0x387a19;for(var _0x2db20f=_0x2a3259*0x4,_0xe3ece9=_0x2db20f-_0x179095[_0x60c97f(0x3a6)]%_0x2db20f,_0x2005bf=_0xe3ece9<<0x18|_0xe3ece9<<0x10|_0xe3ece9<<0x8|_0xe3ece9,_0x242dd2=[],_0x2c55bd=0x0;_0x2c55bd<_0xe3ece9;_0x2c55bd+=0x4)_0x242dd2['push'](_0x2005bf);var _0x2d4645=_0x5caa13[_0x60c97f(0x4c5)](_0x242dd2,_0xe3ece9);_0x179095[_0x60c97f(0x407)](_0x2d4645);},'unpad':function(_0x34300b){const _0x231f2d=_0x387a19;var _0x353e04=_0x34300b[_0x231f2d(0x155)][_0x34300b['sigBytes']-0x1>>>0x2]&0xff;_0x34300b[_0x231f2d(0x3a6)]-=_0x353e04;}};_0x380cc3[_0x387a19(0x37f)]=_0x1379cf[_0x387a19(0x3bb)]({'cfg':_0x1379cf[_0x387a19(0x541)][_0x387a19(0x3bb)]({'mode':_0x44277,'padding':_0x57ea9f}),'reset':function(){const _0x336508=_0x387a19;var _0x227447;_0x1379cf['reset'][_0x336508(0x20c)](this);var _0x40effa=this[_0x336508(0x541)],_0x403706=_0x40effa['iv'],_0x43d2e5=_0x40effa[_0x336508(0x553)];this['_xformMode']==this[_0x336508(0x331)]?_0x227447=_0x43d2e5[_0x336508(0x50c)]:(_0x227447=_0x43d2e5[_0x336508(0x455)],this['_minBufferSize']=0x1),this[_0x336508(0x3db)]&&this[_0x336508(0x3db)]['__creator']==_0x227447?this[_0x336508(0x3db)][_0x336508(0x432)](this,_0x403706&&_0x403706['words']):(this['_mode']=_0x227447[_0x336508(0x20c)](_0x43d2e5,this,_0x403706&&_0x403706[_0x336508(0x155)]),this[_0x336508(0x3db)][_0x336508(0x412)]=_0x227447);},'_doProcessBlock':function(_0x1649cc,_0x1f326f){const _0xe8cb6b=_0x387a19;this['_mode'][_0xe8cb6b(0x49d)](_0x1649cc,_0x1f326f);},'_doFinalize':function(){const _0x21cd2e=_0x387a19;var _0x5ad09b,_0x4d439a=this[_0x21cd2e(0x541)][_0x21cd2e(0x22e)];return this[_0x21cd2e(0x302)]==this['_ENC_XFORM_MODE']?(_0x4d439a['pad'](this['_data'],this[_0x21cd2e(0x502)]),_0x5ad09b=this[_0x21cd2e(0x380)](!0x0)):(_0x5ad09b=this[_0x21cd2e(0x380)](!0x0),_0x4d439a['unpad'](_0x5ad09b)),_0x5ad09b;},'blockSize':0x80/0x20});var _0x3d67d5=_0x380cc3[_0x387a19(0x37d)]=_0x5aaf9b['extend']({'init':function(_0x447257){const _0x245950=_0x387a19;this[_0x245950(0x57f)](_0x447257);},'toString':function(_0x449218){const _0x1e5111=_0x387a19;return(_0x449218||this[_0x1e5111(0x5b7)])[_0x1e5111(0x2d1)](this);}}),_0x2ead2e=_0x1e5b0a[_0x387a19(0x2be)]={},_0x3ea591=_0x2ead2e[_0x387a19(0x21c)]={'stringify':function(_0x1b0473){const _0x4846e2=_0x387a19;var _0x4c1dd1,_0x12f063=_0x1b0473[_0x4846e2(0x591)],_0x2c6f9f=_0x1b0473[_0x4846e2(0x5f5)];return _0x2c6f9f?_0x4c1dd1=_0x5caa13['create']([0x53616c74,0x65645f5f])['concat'](_0x2c6f9f)['concat'](_0x12f063):_0x4c1dd1=_0x12f063,_0x4c1dd1['toString'](_0x4a505d);},'parse':function(_0x97b230){const _0x243fda=_0x387a19;var _0x39c6d9,_0x2f41e9=_0x4a505d[_0x243fda(0x2af)](_0x97b230),_0x5bd4f5=_0x2f41e9[_0x243fda(0x155)];return _0x5bd4f5[0x0]==0x53616c74&&_0x5bd4f5[0x1]==0x65645f5f&&(_0x39c6d9=_0x5caa13['create'](_0x5bd4f5[_0x243fda(0x2f2)](0x2,0x4)),_0x5bd4f5[_0x243fda(0x1e2)](0x0,0x4),_0x2f41e9['sigBytes']-=0x10),_0x3d67d5[_0x243fda(0x4c5)]({'ciphertext':_0x2f41e9,'salt':_0x39c6d9});}},_0x53b80d=_0x380cc3[_0x387a19(0x39d)]=_0x5aaf9b[_0x387a19(0x3bb)]({'cfg':_0x5aaf9b['extend']({'format':_0x3ea591}),'encrypt':function(_0x4ab7df,_0x36f219,_0x2d52bc,_0xeb0a0){const _0x2d30cf=_0x387a19;_0xeb0a0=this[_0x2d30cf(0x541)][_0x2d30cf(0x3bb)](_0xeb0a0);var _0x2405e9=_0x4ab7df[_0x2d30cf(0x50c)](_0x2d52bc,_0xeb0a0),_0x421ebc=_0x2405e9['finalize'](_0x36f219),_0x523dd9=_0x2405e9[_0x2d30cf(0x541)];return _0x3d67d5[_0x2d30cf(0x4c5)]({'ciphertext':_0x421ebc,'key':_0x2d52bc,'iv':_0x523dd9['iv'],'algorithm':_0x4ab7df,'mode':_0x523dd9[_0x2d30cf(0x553)],'padding':_0x523dd9['padding'],'blockSize':_0x4ab7df['blockSize'],'formatter':_0xeb0a0[_0x2d30cf(0x2be)]});},'decrypt':function(_0x28a459,_0x8f64f2,_0x5cfcb9,_0x583e5e){const _0x415481=_0x387a19;_0x583e5e=this[_0x415481(0x541)]['extend'](_0x583e5e),_0x8f64f2=this['_parse'](_0x8f64f2,_0x583e5e['format']);var _0x34cfad=_0x28a459[_0x415481(0x455)](_0x5cfcb9,_0x583e5e)['finalize'](_0x8f64f2['ciphertext']);return _0x34cfad;},'_parse':function(_0x381be1,_0x38db67){const _0x259f86=_0x387a19;return typeof _0x381be1==_0x259f86(0x3b2)?_0x38db67[_0x259f86(0x2af)](_0x381be1,this):_0x381be1;}}),_0x51f750=_0x1e5b0a['kdf']={},_0x56f262=_0x51f750['OpenSSL']={'execute':function(_0x31c94f,_0x764ccb,_0x4a7922,_0xddb030,_0x3cbacf){const _0x52bb18=_0x387a19;if(_0xddb030||(_0xddb030=_0x5caa13[_0x52bb18(0x588)](0x40/0x8)),_0x3cbacf)var _0x217cee=_0x3a7149[_0x52bb18(0x4c5)]({'keySize':_0x764ccb+_0x4a7922,'hasher':_0x3cbacf})[_0x52bb18(0x192)](_0x31c94f,_0xddb030);else var _0x217cee=_0x3a7149['create']({'keySize':_0x764ccb+_0x4a7922})[_0x52bb18(0x192)](_0x31c94f,_0xddb030);var _0x5ebb0c=_0x5caa13[_0x52bb18(0x4c5)](_0x217cee[_0x52bb18(0x155)][_0x52bb18(0x2f2)](_0x764ccb),_0x4a7922*0x4);return _0x217cee[_0x52bb18(0x3a6)]=_0x764ccb*0x4,_0x3d67d5[_0x52bb18(0x4c5)]({'key':_0x217cee,'iv':_0x5ebb0c,'salt':_0xddb030});}},_0x2d31a6=_0x380cc3[_0x387a19(0x507)]=_0x53b80d[_0x387a19(0x3bb)]({'cfg':_0x53b80d[_0x387a19(0x541)][_0x387a19(0x3bb)]({'kdf':_0x56f262}),'encrypt':function(_0x36b88a,_0x309e0c,_0x4fad00,_0x140c7b){const _0x33adbb=_0x387a19;_0x140c7b=this[_0x33adbb(0x541)][_0x33adbb(0x3bb)](_0x140c7b);var _0x31053a=_0x140c7b['kdf'][_0x33adbb(0x39a)](_0x4fad00,_0x36b88a[_0x33adbb(0x3f1)],_0x36b88a[_0x33adbb(0x313)],_0x140c7b[_0x33adbb(0x5f5)],_0x140c7b[_0x33adbb(0x156)]);_0x140c7b['iv']=_0x31053a['iv'];var _0x6220da=_0x53b80d['encrypt'][_0x33adbb(0x20c)](this,_0x36b88a,_0x309e0c,_0x31053a[_0x33adbb(0x303)],_0x140c7b);return _0x6220da['mixIn'](_0x31053a),_0x6220da;},'decrypt':function(_0x3c8bc0,_0xd0ac71,_0x2c3721,_0x46a4f1){const _0x23467c=_0x387a19;_0x46a4f1=this['cfg']['extend'](_0x46a4f1),_0xd0ac71=this[_0x23467c(0x4d5)](_0xd0ac71,_0x46a4f1[_0x23467c(0x2be)]);var _0x52ccd1=_0x46a4f1[_0x23467c(0x4dc)]['execute'](_0x2c3721,_0x3c8bc0[_0x23467c(0x3f1)],_0x3c8bc0[_0x23467c(0x313)],_0xd0ac71[_0x23467c(0x5f5)],_0x46a4f1['hasher']);_0x46a4f1['iv']=_0x52ccd1['iv'];var _0x1f1d18=_0x53b80d[_0x23467c(0x4cb)][_0x23467c(0x20c)](this,_0x3c8bc0,_0xd0ac71,_0x52ccd1[_0x23467c(0x303)],_0x46a4f1);return _0x1f1d18;}});}();}));}(ft)),ft[_0x282f53(0x5dd)];}(function(_0x5a3f30,_0x1167c5){(function(_0x5a02c5,_0x506710,_0x1ad8ea){_0x5a3f30['exports']=_0x506710(oe(),On(),ar(),Dn(),wn());}(X,function(_0x37537c){const _0x46a34e=_0x5f2c;return(function(){const _0x4e1ef1=_0x5f2c;var _0x16ee4a=_0x37537c,_0x167850=_0x16ee4a[_0x4e1ef1(0x18d)],_0x5296df=_0x167850[_0x4e1ef1(0x37f)],_0x57f608=_0x16ee4a[_0x4e1ef1(0x4bb)],_0xbf0193=[],_0x43e1ea=[],_0x3c3462=[],_0x213f3c=[],_0x5b8696=[],_0x5089b1=[],_0x955351=[],_0x188899=[],_0x55e119=[],_0x21cc1a=[];(function(){for(var _0x10247c=[],_0x3e6359=0x0;_0x3e6359<0x100;_0x3e6359++)_0x3e6359<0x80?_0x10247c[_0x3e6359]=_0x3e6359<<0x1:_0x10247c[_0x3e6359]=_0x3e6359<<0x1^0x11b;for(var _0x5be012=0x0,_0x3554d7=0x0,_0x3e6359=0x0;_0x3e6359<0x100;_0x3e6359++){var _0x1629fc=_0x3554d7^_0x3554d7<<0x1^_0x3554d7<<0x2^_0x3554d7<<0x3^_0x3554d7<<0x4;_0x1629fc=_0x1629fc>>>0x8^_0x1629fc&0xff^0x63,_0xbf0193[_0x5be012]=_0x1629fc,_0x43e1ea[_0x1629fc]=_0x5be012;var _0x359d71=_0x10247c[_0x5be012],_0x362857=_0x10247c[_0x359d71],_0x2352f1=_0x10247c[_0x362857],_0x5c4371=_0x10247c[_0x1629fc]*0x101^_0x1629fc*0x1010100;_0x3c3462[_0x5be012]=_0x5c4371<<0x18|_0x5c4371>>>0x8,_0x213f3c[_0x5be012]=_0x5c4371<<0x10|_0x5c4371>>>0x10,_0x5b8696[_0x5be012]=_0x5c4371<<0x8|_0x5c4371>>>0x18,_0x5089b1[_0x5be012]=_0x5c4371;var _0x5c4371=_0x2352f1*0x1010101^_0x362857*0x10001^_0x359d71*0x101^_0x5be012*0x1010100;_0x955351[_0x1629fc]=_0x5c4371<<0x18|_0x5c4371>>>0x8,_0x188899[_0x1629fc]=_0x5c4371<<0x10|_0x5c4371>>>0x10,_0x55e119[_0x1629fc]=_0x5c4371<<0x8|_0x5c4371>>>0x18,_0x21cc1a[_0x1629fc]=_0x5c4371,_0x5be012?(_0x5be012=_0x359d71^_0x10247c[_0x10247c[_0x10247c[_0x2352f1^_0x359d71]]],_0x3554d7^=_0x10247c[_0x10247c[_0x3554d7]]):_0x5be012=_0x3554d7=0x1;}}());var _0x1ccca5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x111a5a=_0x57f608[_0x4e1ef1(0x222)]=_0x5296df[_0x4e1ef1(0x3bb)]({'_doReset':function(){const _0x39e372=_0x4e1ef1;var _0x3daa8f;if(!(this[_0x39e372(0x49f)]&&this[_0x39e372(0x5c0)]===this[_0x39e372(0x51a)])){for(var _0x5078a8=this[_0x39e372(0x5c0)]=this[_0x39e372(0x51a)],_0x306367=_0x5078a8[_0x39e372(0x155)],_0x246d47=_0x5078a8[_0x39e372(0x3a6)]/0x4,_0x415c2f=this[_0x39e372(0x49f)]=_0x246d47+0x6,_0x5dc488=(_0x415c2f+0x1)*0x4,_0x416a3a=this[_0x39e372(0x309)]=[],_0x52a99c=0x0;_0x52a99c<_0x5dc488;_0x52a99c++)_0x52a99c<_0x246d47?_0x416a3a[_0x52a99c]=_0x306367[_0x52a99c]:(_0x3daa8f=_0x416a3a[_0x52a99c-0x1],_0x52a99c%_0x246d47?_0x246d47>0x6&&_0x52a99c%_0x246d47==0x4&&(_0x3daa8f=_0xbf0193[_0x3daa8f>>>0x18]<<0x18|_0xbf0193[_0x3daa8f>>>0x10&0xff]<<0x10|_0xbf0193[_0x3daa8f>>>0x8&0xff]<<0x8|_0xbf0193[_0x3daa8f&0xff]):(_0x3daa8f=_0x3daa8f<<0x8|_0x3daa8f>>>0x18,_0x3daa8f=_0xbf0193[_0x3daa8f>>>0x18]<<0x18|_0xbf0193[_0x3daa8f>>>0x10&0xff]<<0x10|_0xbf0193[_0x3daa8f>>>0x8&0xff]<<0x8|_0xbf0193[_0x3daa8f&0xff],_0x3daa8f^=_0x1ccca5[_0x52a99c/_0x246d47|0x0]<<0x18),_0x416a3a[_0x52a99c]=_0x416a3a[_0x52a99c-_0x246d47]^_0x3daa8f);for(var _0x289239=this[_0x39e372(0x54e)]=[],_0x2191e7=0x0;_0x2191e7<_0x5dc488;_0x2191e7++){var _0x52a99c=_0x5dc488-_0x2191e7;if(_0x2191e7%0x4)var _0x3daa8f=_0x416a3a[_0x52a99c];else var _0x3daa8f=_0x416a3a[_0x52a99c-0x4];_0x2191e7<0x4||_0x52a99c<=0x4?_0x289239[_0x2191e7]=_0x3daa8f:_0x289239[_0x2191e7]=_0x955351[_0xbf0193[_0x3daa8f>>>0x18]]^_0x188899[_0xbf0193[_0x3daa8f>>>0x10&0xff]]^_0x55e119[_0xbf0193[_0x3daa8f>>>0x8&0xff]]^_0x21cc1a[_0xbf0193[_0x3daa8f&0xff]];}}},'encryptBlock':function(_0x282e71,_0x5c55f5){const _0x1d40a1=_0x4e1ef1;this[_0x1d40a1(0x476)](_0x282e71,_0x5c55f5,this[_0x1d40a1(0x309)],_0x3c3462,_0x213f3c,_0x5b8696,_0x5089b1,_0xbf0193);},'decryptBlock':function(_0x8978ec,_0x448843){const _0x560c9e=_0x4e1ef1;var _0x2ffb3b=_0x8978ec[_0x448843+0x1];_0x8978ec[_0x448843+0x1]=_0x8978ec[_0x448843+0x3],_0x8978ec[_0x448843+0x3]=_0x2ffb3b,this[_0x560c9e(0x476)](_0x8978ec,_0x448843,this[_0x560c9e(0x54e)],_0x955351,_0x188899,_0x55e119,_0x21cc1a,_0x43e1ea);var _0x2ffb3b=_0x8978ec[_0x448843+0x1];_0x8978ec[_0x448843+0x1]=_0x8978ec[_0x448843+0x3],_0x8978ec[_0x448843+0x3]=_0x2ffb3b;},'_doCryptBlock':function(_0x224260,_0x5ce112,_0x4e2bb8,_0x4cae06,_0x2cccb2,_0x5a99f2,_0x570f8e,_0x5e310b){const _0x350903=_0x4e1ef1;for(var _0x37b8ac=this[_0x350903(0x49f)],_0x2292f8=_0x224260[_0x5ce112]^_0x4e2bb8[0x0],_0x387970=_0x224260[_0x5ce112+0x1]^_0x4e2bb8[0x1],_0x257a5e=_0x224260[_0x5ce112+0x2]^_0x4e2bb8[0x2],_0x197fb=_0x224260[_0x5ce112+0x3]^_0x4e2bb8[0x3],_0x5f2a66=0x4,_0x204b67=0x1;_0x204b67<_0x37b8ac;_0x204b67++){var _0x5a02bc=_0x4cae06[_0x2292f8>>>0x18]^_0x2cccb2[_0x387970>>>0x10&0xff]^_0x5a99f2[_0x257a5e>>>0x8&0xff]^_0x570f8e[_0x197fb&0xff]^_0x4e2bb8[_0x5f2a66++],_0x3fb048=_0x4cae06[_0x387970>>>0x18]^_0x2cccb2[_0x257a5e>>>0x10&0xff]^_0x5a99f2[_0x197fb>>>0x8&0xff]^_0x570f8e[_0x2292f8&0xff]^_0x4e2bb8[_0x5f2a66++],_0x3f8267=_0x4cae06[_0x257a5e>>>0x18]^_0x2cccb2[_0x197fb>>>0x10&0xff]^_0x5a99f2[_0x2292f8>>>0x8&0xff]^_0x570f8e[_0x387970&0xff]^_0x4e2bb8[_0x5f2a66++],_0x1a4ca5=_0x4cae06[_0x197fb>>>0x18]^_0x2cccb2[_0x2292f8>>>0x10&0xff]^_0x5a99f2[_0x387970>>>0x8&0xff]^_0x570f8e[_0x257a5e&0xff]^_0x4e2bb8[_0x5f2a66++];_0x2292f8=_0x5a02bc,_0x387970=_0x3fb048,_0x257a5e=_0x3f8267,_0x197fb=_0x1a4ca5;}var _0x5a02bc=(_0x5e310b[_0x2292f8>>>0x18]<<0x18|_0x5e310b[_0x387970>>>0x10&0xff]<<0x10|_0x5e310b[_0x257a5e>>>0x8&0xff]<<0x8|_0x5e310b[_0x197fb&0xff])^_0x4e2bb8[_0x5f2a66++],_0x3fb048=(_0x5e310b[_0x387970>>>0x18]<<0x18|_0x5e310b[_0x257a5e>>>0x10&0xff]<<0x10|_0x5e310b[_0x197fb>>>0x8&0xff]<<0x8|_0x5e310b[_0x2292f8&0xff])^_0x4e2bb8[_0x5f2a66++],_0x3f8267=(_0x5e310b[_0x257a5e>>>0x18]<<0x18|_0x5e310b[_0x197fb>>>0x10&0xff]<<0x10|_0x5e310b[_0x2292f8>>>0x8&0xff]<<0x8|_0x5e310b[_0x387970&0xff])^_0x4e2bb8[_0x5f2a66++],_0x1a4ca5=(_0x5e310b[_0x197fb>>>0x18]<<0x18|_0x5e310b[_0x2292f8>>>0x10&0xff]<<0x10|_0x5e310b[_0x387970>>>0x8&0xff]<<0x8|_0x5e310b[_0x257a5e&0xff])^_0x4e2bb8[_0x5f2a66++];_0x224260[_0x5ce112]=_0x5a02bc,_0x224260[_0x5ce112+0x1]=_0x3fb048,_0x224260[_0x5ce112+0x2]=_0x3f8267,_0x224260[_0x5ce112+0x3]=_0x1a4ca5;},'keySize':0x100/0x20});_0x16ee4a[_0x4e1ef1(0x222)]=_0x5296df['_createHelper'](_0x111a5a);}()),_0x37537c[_0x46a34e(0x222)];}));}(yn));var hr=yn[_0x4a9685(0x5dd)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x58973c,_0x1e0edd){(function(_0x507c9e,_0x261515){const _0xeaa695=_0x5f2c;_0x58973c[_0xeaa695(0x5dd)]=_0x261515(oe());}(X,function(_0x54f5e4){const _0x11abe7=_0x5f2c;return _0x54f5e4[_0x11abe7(0x3e6)][_0x11abe7(0x289)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x311bb0,_0x1ab2e7){(function(_0x4856e3,_0x15094b){const _0x5df7ef=_0x5f2c;_0x311bb0[_0x5df7ef(0x5dd)]=_0x15094b(oe());}(X,function(_0x26467e){const _0x22d87f=_0x5f2c;return(function(){const _0x4b47b8=_0x5f2c;if(typeof ArrayBuffer=='function'){var _0x2638b8=_0x26467e,_0x4796e0=_0x2638b8[_0x4b47b8(0x18d)],_0x1eae6b=_0x4796e0[_0x4b47b8(0x2bc)],_0x1e136e=_0x1eae6b[_0x4b47b8(0x432)],_0x457ea4=_0x1eae6b[_0x4b47b8(0x432)]=function(_0x95e098){const _0xca9a8f=_0x4b47b8;if(_0x95e098 instanceof ArrayBuffer&&(_0x95e098=new Uint8Array(_0x95e098)),(_0x95e098 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x95e098 instanceof Uint8ClampedArray||_0x95e098 instanceof Int16Array||_0x95e098 instanceof Uint16Array||_0x95e098 instanceof Int32Array||_0x95e098 instanceof Uint32Array||_0x95e098 instanceof Float32Array||_0x95e098 instanceof Float64Array)&&(_0x95e098=new Uint8Array(_0x95e098[_0xca9a8f(0x13b)],_0x95e098['byteOffset'],_0x95e098[_0xca9a8f(0x13c)])),_0x95e098 instanceof Uint8Array){for(var _0x657b9c=_0x95e098['byteLength'],_0x1e3024=[],_0x632d65=0x0;_0x632d65<_0x657b9c;_0x632d65++)_0x1e3024[_0x632d65>>>0x2]|=_0x95e098[_0x632d65]<<0x18-_0x632d65%0x4*0x8;_0x1e136e[_0xca9a8f(0x20c)](this,_0x1e3024,_0x657b9c);}else _0x1e136e['apply'](this,arguments);};_0x457ea4['prototype']=_0x1eae6b;}}()),_0x26467e[_0x22d87f(0x18d)][_0x22d87f(0x2bc)];}));}(Un));var vr=Un['exports'];const mr=xe(vr);var Mn={'exports':{}};(function(_0x4ec7fe,_0x5974ad){(function(_0x5e0510,_0x39c3fe,_0x232ac0){const _0x1339cd=_0x5f2c;_0x4ec7fe[_0x1339cd(0x5dd)]=_0x39c3fe(oe(),wn());}(X,function(_0x4175cd){const _0x1a7460=_0x5f2c;return _0x4175cd[_0x1a7460(0x5b1)][_0x1a7460(0x207)]={'pad':function(){},'unpad':function(){}},_0x4175cd['pad']['NoPadding'];}));}(Mn));var Sr=Mn[_0x4a9685(0x5dd)];const pr=xe(Sr);function gr(_0x86df85,_0x38e9c1){const _0x2c97ba=_0x38e9c1-_0x86df85['length']%_0x38e9c1,_0x1be686=String['fromCharCode'](_0x2c97ba)['repeat'](_0x2c97ba);return _0x86df85+_0x1be686;}function Ir(_0x1b7773,_0x439ab5){const _0x40bb61=_0x4a9685,_0x5504db=mr[_0x40bb61(0x588)](0x10),_0x368e96=gr(_0x1b7773,0x10),_0x182b66=_r[_0x40bb61(0x4e4)](fr['parse'](_0x368e96),Xt[_0x40bb61(0x2af)](_0x439ab5),{'iv':_0x5504db,'padding':pr});return _0x5504db[_0x40bb61(0x407)](_0x182b66[_0x40bb61(0x591)])[_0x40bb61(0x350)](Xt);}function Cr(){const _0x134731=_0x4a9685,_0x45185d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x45185d){const _0x4b8b35={'time':Math[_0x134731(0x1d0)](Date[_0x134731(0x358)]()/0x3e8),'domain':location['hostname']};return Ir(JSON['stringify'](_0x4b8b35),_0x45185d);}}var Er=Object[_0x4a9685(0x377)],br=Object[_0x4a9685(0x484)],Tr=(_0x468aa6,_0x3b200d,_0x4d6925,_0x1816e9)=>{const _0x3fa23a=_0x4a9685;for(var _0x593e4d=_0x1816e9>0x1?void 0x0:_0x1816e9?br(_0x3b200d,_0x4d6925):_0x3b200d,_0x34aed7=_0x468aa6[_0x3fa23a(0x530)]-0x1,_0x3a761b;_0x34aed7>=0x0;_0x34aed7--)(_0x3a761b=_0x468aa6[_0x34aed7])&&(_0x593e4d=(_0x1816e9?_0x3a761b(_0x3b200d,_0x4d6925,_0x593e4d):_0x3a761b(_0x593e4d))||_0x593e4d);return _0x1816e9&&_0x593e4d&&Er(_0x3b200d,_0x4d6925,_0x593e4d),_0x593e4d;},Rr=(_0x242e69,_0x164c76)=>(_0x4d1b8e,_0x20a1f9)=>_0x164c76(_0x4d1b8e,_0x20a1f9,_0x242e69);let Ye=class{constructor(_0x31e286){const _0x529b4d=_0x4a9685;this[_0x529b4d(0x213)]=_0x31e286,this[_0x529b4d(0x5cd)]();}[_0x4a9685(0x5cd)](){const _0x13001f=_0x4a9685;this[_0x13001f(0x213)]['registerHTTPInterceptor']({'interceptor':(_0x3a191e,_0x4c6aa9)=>{const _0x902fe6=_0x13001f,_0x59ac38=_0x3a191e[_0x902fe6(0x259)],_0x599423=Cr();return _0x599423&&_0x59ac38['set'](_0x902fe6(0x1be),_0x599423),_0x4c6aa9(_0x3a191e);}});}};Ye=Tr([Rr(0x0,a['Inject'](Z[_0x4a9685(0x2db)]))],Ye);var yr=Object['defineProperty'],Or=Object[_0x4a9685(0x484)],Dr=(_0x36e3e9,_0x22c4b1,_0xf98bc7,_0x384612)=>{const _0x3e2029=_0x4a9685;for(var _0x37fa40=_0x384612>0x1?void 0x0:_0x384612?Or(_0x22c4b1,_0xf98bc7):_0x22c4b1,_0x80b23b=_0x36e3e9[_0x3e2029(0x530)]-0x1,_0x598e0f;_0x80b23b>=0x0;_0x80b23b--)(_0x598e0f=_0x36e3e9[_0x80b23b])&&(_0x37fa40=(_0x384612?_0x598e0f(_0x22c4b1,_0xf98bc7,_0x37fa40):_0x598e0f(_0x37fa40))||_0x37fa40);return _0x384612&&_0x37fa40&&yr(_0x22c4b1,_0xf98bc7,_0x37fa40),_0x37fa40;},vt=(_0x4719fa,_0x42d62e)=>(_0x1ed653,_0xa0f7fa)=>_0x42d62e(_0x1ed653,_0xa0f7fa,_0x4719fa);const wr=[_0x4a9685(0x210),_0x4a9685(0x352),_0x4a9685(0x3eb),_0x4a9685(0x290),_0x4a9685(0x4b9)],Pr=0x5*0x400*0x400,Ur=_0x4a9685(0x2ab),Mr=_0x4a9685(0x43e),Ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Nr=_0x4a9685(0x22f);exports[_0x4a9685(0x50d)]=class{constructor(_0x53cadf,_0x337cc3,_0x724ac9){const _0x4e6596=_0x4a9685;I(this,_0x4e6596(0x3ab),0x0),I(this,_0x4e6596(0x4c4),new A[(_0x4e6596(0x4c3))]()),I(this,_0x4e6596(0x493),this[_0x4e6596(0x4c4)]),I(this,_0x4e6596(0x560),new Map()),(this[_0x4e6596(0x213)]=_0x53cadf,this[_0x4e6596(0x294)]=_0x337cc3,this[_0x4e6596(0x54a)]=_0x724ac9);}[_0x4a9685(0x5da)](_0xf074f6){const _0xd9c6e3=_0x4a9685;this[_0xd9c6e3(0x3ab)]=_0xf074f6,this[_0xd9c6e3(0x4c4)][_0xd9c6e3(0x503)](_0xf074f6);}['getImageSourceCache'](_0x8d0f33,_0x42660b){const _0x321eff=_0x4a9685;if(_0x42660b===ne['ImageSourceType'][_0x321eff(0x318)]){const _0x2ef708=new Image();return _0x2ef708[_0x321eff(0x4cc)]=_0x8d0f33,_0x2ef708;}return this[_0x321eff(0x560)][_0x321eff(0x542)](_0x8d0f33);}[_0x4a9685(0x14b)](_0x339205,_0x21f9c1,_0x5ee63b){const _0x40f23a=_0x4a9685;_0x21f9c1===ne['ImageSourceType'][_0x40f23a(0x318)]||_0x5ee63b==null||this['_imageSourceCache'][_0x40f23a(0x568)](_0x339205,_0x5ee63b);}async['getImage'](_0x47c6ab){const _0x338de7=_0x4a9685;try{const _0x45663e=this[_0x338de7(0x1db)](this[_0x338de7(0x410)](),''+_0x47c6ab),_0x19699a=(await this[_0x338de7(0x213)][_0x338de7(0x542)](_0x45663e))['body'];if(_0x19699a[_0x338de7(0x3d8)]&&_0x19699a[_0x338de7(0x3d8)]['code']===cn['OK']){const _0x357d89=new URL(_0x19699a[_0x338de7(0x465)],this['_getDownloadEndpointURL']())[_0x338de7(0x350)]();return Promise['resolve'](_0x357d89);}return Promise['reject'](_0x19699a[_0x338de7(0x3d8)]);}catch(_0x24eebc){return Promise[_0x338de7(0x362)](_0x24eebc);}}async[_0x4a9685(0x35e)](_0x278a35){const _0x2e3a56=_0x4a9685;let _0x3e1b5d='';if(!wr['includes'](_0x278a35[_0x2e3a56(0x3e4)]))return this['_decreaseWaiting'](),Promise[_0x2e3a56(0x362)](new Error(ne[_0x2e3a56(0x26a)]['ERROR_IMAGE_TYPE']));if(_0x278a35['size']>Pr)return this['_decreaseWaiting'](),Promise[_0x2e3a56(0x362)](new Error(ne[_0x2e3a56(0x26a)]['ERROR_EXCEED_SIZE']));try{const _0x671dfa=new FormData();_0x671dfa[_0x2e3a56(0x540)](_0x2e3a56(0x21f),_0x278a35);const _0x27f4b1=this[_0x2e3a56(0x54a)][_0x2e3a56(0x2dd)](),_0x1c993e=_0x27f4b1==null?void 0x0:_0x27f4b1[_0x2e3a56(0x56f)]();if(!_0x1c993e)throw new Error(_0x2e3a56(0x344));const _0x4d859f=this[_0x2e3a56(0x291)]()+'?size='+_0x278a35[_0x2e3a56(0x2d6)][_0x2e3a56(0x350)]()+'&source='+ln[_0x2e3a56(0x3d4)]+_0x2e3a56(0x17f)+encodeURIComponent(_0x1c993e),_0xa75243=await(await fetch(_0x4d859f,{'method':_0x2e3a56(0x431),'body':_0x671dfa}))[_0x2e3a56(0x2e6)]();if(typeof _0xa75243[_0x2e3a56(0x53e)]!='string')return this[_0x2e3a56(0x175)](),Promise['reject'](new Error(ne['ImageUploadStatusType'][_0x2e3a56(0x13f)]));_0x3e1b5d=_0xa75243[_0x2e3a56(0x53e)];}catch{return this[_0x2e3a56(0x175)](),Promise[_0x2e3a56(0x362)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0xd221f5,_0x2ee23c)=>{const _0x445ae4=_0x2e3a56,_0x41719f=new FileReader();_0x41719f['readAsDataURL'](_0x278a35),_0x41719f[_0x445ae4(0x4ef)]=_0x2e7ce3=>{const _0x296469=_0x445ae4;var _0x45f0dd;const _0x544327=(_0x45f0dd=_0x2e7ce3[_0x296469(0x41f)])==null?void 0x0:_0x45f0dd['result'];if(_0x544327==null){this[_0x296469(0x175)](),_0x2ee23c(new Error(ne[_0x296469(0x26a)][_0x296469(0x13f)]));return;}const _0x36d5b7=a[_0x296469(0x426)][_0x296469(0x32e)](0x6);_0xd221f5({'imageId':_0x36d5b7,'imageSourceType':ne[_0x296469(0x1a2)][_0x296469(0x58d)],'source':_0x3e1b5d,'base64Cache':_0x544327,'status':ne['ImageUploadStatusType']['SUCCUSS']}),this[_0x296469(0x175)]();};});}[_0x4a9685(0x291)](){const _0xa16b5f=_0x4a9685;var _0x5542f2,_0x4054d7;const _0x4382aa=this[_0xa16b5f(0x294)][_0xa16b5f(0x4a1)](Ur),_0x31b30a=this['_configService'][_0xa16b5f(0x4a1)](te);return(_0x4054d7=(_0x5542f2=_0x31b30a==null?void 0x0:_0x31b30a[_0xa16b5f(0x54c)])!=null?_0x5542f2:_0x4382aa)!=null?_0x4054d7:Mr;}[_0x4a9685(0x410)](){const _0x4998f8=_0x4a9685;var _0x54f1e9,_0x21ba52;const _0x4bda5f=this[_0x4998f8(0x294)]['getConfig'](Ar),_0x19e768=this['_configService']['getConfig'](te);return(_0x21ba52=(_0x54f1e9=_0x19e768==null?void 0x0:_0x19e768['signUrlServerUrl'])!=null?_0x54f1e9:_0x4bda5f)!=null?_0x21ba52:Nr;}[_0x4a9685(0x565)](){const _0x48171c=_0x4a9685;var _0x3c5809;const _0x25b472=this[_0x48171c(0x294)][_0x48171c(0x4a1)](te);return(_0x3c5809=_0x25b472==null?void 0x0:_0x25b472[_0x48171c(0x4fe)])!=null?_0x3c5809:location[_0x48171c(0x221)];}[_0x4a9685(0x1db)](_0x3997ac,_0x3df67c){const _0x24d881=_0x4a9685;return _0x3997ac[_0x24d881(0x38b)](_0x24d881(0x1f5),_0x3df67c);}[_0x4a9685(0x175)](){const _0x30d5ab=_0x4a9685;this[_0x30d5ab(0x3ab)]-=0x1,this[_0x30d5ab(0x4c4)][_0x30d5ab(0x503)](this[_0x30d5ab(0x3ab)]);}},exports[_0x4a9685(0x50d)]=Dr([vt(0x0,a['Inject'](Z[_0x4a9685(0x2db)])),vt(0x1,a[_0x4a9685(0x3fb)]),vt(0x2,a[_0x4a9685(0x27a)](a['IUniverInstanceService']))],exports[_0x4a9685(0x50d)]);var Lr=Object[_0x4a9685(0x377)],xr=Object[_0x4a9685(0x484)],jr=(_0x2a1d3d,_0x49f16d,_0x56352f,_0x43a2de)=>{const _0x39a5ae=_0x4a9685;for(var _0x3e286c=_0x43a2de>0x1?void 0x0:_0x43a2de?xr(_0x49f16d,_0x56352f):_0x49f16d,_0x479e11=_0x2a1d3d[_0x39a5ae(0x530)]-0x1,_0x2e3eae;_0x479e11>=0x0;_0x479e11--)(_0x2e3eae=_0x2a1d3d[_0x479e11])&&(_0x3e286c=(_0x43a2de?_0x2e3eae(_0x49f16d,_0x56352f,_0x3e286c):_0x2e3eae(_0x3e286c))||_0x3e286c);return _0x43a2de&&_0x3e286c&&Lr(_0x49f16d,_0x56352f,_0x3e286c),_0x3e286c;},Ae=(_0x347797,_0x5803b6)=>(_0x2560f2,_0x3e070f)=>_0x5803b6(_0x2560f2,_0x3e070f,_0x347797);let Ke=class extends a[_0x4a9685(0x2c7)]{constructor(_0xd71fa1,_0x42377f,_0x4caadd,_0x1848c9,_0x5439fc){const _0x9cbbf0=_0x4a9685;super(),this['_injector']=_0xd71fa1,this[_0x9cbbf0(0x54a)]=_0x42377f,this[_0x9cbbf0(0x3e0)]=_0x4caadd,this['_collaborationSessionService']=_0x1848c9,this[_0x9cbbf0(0x39c)]=_0x5439fc,this[_0x9cbbf0(0x5ed)](),this[_0x9cbbf0(0x570)]();}[_0x4a9685(0x570)](){const _0xef1b5c=_0x4a9685,_0x296bd9=async _0x56cad1=>{const _0xeff08a=_0x5f2c;(await this[_0xeff08a(0x494)][_0xeff08a(0x461)](_0x56cad1))['event$']['pipe'](V[_0xeff08a(0x464)](_0x5633e8=>_0x5633e8[_0xeff08a(0x3af)]===S[_0xeff08a(0x35a)][_0xeff08a(0x42b)]),V[_0xeff08a(0x5e8)](this[_0xeff08a(0x5c9)]))['subscribe'](_0x4816a3=>{const _0x5fdc8c=_0xeff08a,_0x479f35=_0x4816a3,{reason:_0x301a43}=_0x479f35[_0x5fdc8c(0x18f)];this['_injector'][_0x5fdc8c(0x542)](ee[_0x5fdc8c(0x27d)])[_0x5fdc8c(0x36b)]({'type':ge[_0x5fdc8c(0x2e3)][_0x5fdc8c(0x2d0)],'content':this['_localeService']['t'](_0x5fdc8c(0x5ee))+'('+_0x301a43+')'}),this[_0x5fdc8c(0x3e0)][_0x5fdc8c(0x38e)](new k[(_0x5fdc8c(0x1ef))](_0x56cad1)['id'],!0x1),this[_0x5fdc8c(0x494)]['closeSession'](_0x56cad1);});};A[_0xef1b5c(0x345)](this['_univerInstanceService'][_0xef1b5c(0x3f9)](a[_0xef1b5c(0x33e)][_0xef1b5c(0x1af)]),this[_0xef1b5c(0x54a)][_0xef1b5c(0x3f9)](a['UniverInstanceType']['UNIVER_DOC']))[_0xef1b5c(0x172)](V['map'](_0xe32f95=>_0xe32f95[_0xef1b5c(0x56f)]()),V[_0xef1b5c(0x464)](_0x328090=>!a['isInternalEditorID'](_0x328090)),V['takeUntil'](this[_0xef1b5c(0x5c9)]))[_0xef1b5c(0x419)](_0x160c61=>{_0x296bd9(_0x160c61);});}[_0x4a9685(0x5ed)](){const _0x16a293=_0x4a9685,_0x3d11c5=async _0x9e9e45=>{const _0x4fb4e4=_0x5f2c;(await this[_0x4fb4e4(0x494)][_0x4fb4e4(0x461)](_0x9e9e45))[_0x4fb4e4(0x297)][_0x4fb4e4(0x172)](V[_0x4fb4e4(0x464)](_0x8da3b9=>_0x8da3b9[_0x4fb4e4(0x3af)]===S[_0x4fb4e4(0x35a)][_0x4fb4e4(0x347)]),V[_0x4fb4e4(0x5e8)](this[_0x4fb4e4(0x5c9)]))[_0x4fb4e4(0x419)](_0x45e983=>{const _0x48b720=_0x4fb4e4,_0x2283dc=_0x45e983,{objectId:_0x4e58a0}=_0x2283dc[_0x48b720(0x18f)],_0xb40c20=this['_injector']['get'](Re[_0x48b720(0x4bc)]);_0x4e58a0===_0x9e9e45?_0xb40c20[_0x48b720(0x56e)](_0x9e9e45):_0xb40c20[_0x48b720(0x5d0)](_0x9e9e45,_0x4e58a0);});};A['merge'](this[_0x16a293(0x54a)][_0x16a293(0x3f9)](a['UniverInstanceType'][_0x16a293(0x1af)]),this[_0x16a293(0x54a)][_0x16a293(0x3f9)](a[_0x16a293(0x33e)][_0x16a293(0x22a)]))[_0x16a293(0x172)](V[_0x16a293(0x28a)](_0x23eb66=>_0x23eb66[_0x16a293(0x56f)]()),V['filter'](_0xb39b53=>!a['isInternalEditorID'](_0xb39b53)),V[_0x16a293(0x5e8)](this[_0x16a293(0x5c9)]))[_0x16a293(0x419)](_0x18685b=>{_0x3d11c5(_0x18685b);});}};Ke=jr([Ae(0x0,a['Inject'](a[_0x4a9685(0x17d)])),Ae(0x1,a[_0x4a9685(0x3c5)]),Ae(0x2,a[_0x4a9685(0x310)]),Ae(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)])),Ae(0x4,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)]))],Ke);var $r=Object['defineProperty'],Hr=Object[_0x4a9685(0x484)],Br=(_0x48ee30,_0x41ff1d,_0x51afdb,_0x54cbe3)=>{const _0x139c7e=_0x4a9685;for(var _0x30b33a=_0x54cbe3>0x1?void 0x0:_0x54cbe3?Hr(_0x41ff1d,_0x51afdb):_0x41ff1d,_0x1ae4cb=_0x48ee30[_0x139c7e(0x530)]-0x1,_0x2580ff;_0x1ae4cb>=0x0;_0x1ae4cb--)(_0x2580ff=_0x48ee30[_0x1ae4cb])&&(_0x30b33a=(_0x54cbe3?_0x2580ff(_0x41ff1d,_0x51afdb,_0x30b33a):_0x2580ff(_0x30b33a))||_0x30b33a);return _0x54cbe3&&_0x30b33a&&$r(_0x41ff1d,_0x51afdb,_0x30b33a),_0x30b33a;},Jt=(_0x382203,_0x359909)=>(_0x86d34,_0x5f17af)=>_0x359909(_0x86d34,_0x5f17af,_0x382203);exports[_0x4a9685(0x376)]=class{constructor(_0x33d433,_0x36bdf5){const _0x25fb13=_0x4a9685;this['_configService']=_0x33d433,this[_0x25fb13(0x213)]=_0x36bdf5;}async[_0x4a9685(0x370)](_0x5f2ed0,_0x546b86){const _0x4755ac=_0x4a9685;var _0x2ebfb7;const {unitID:_0x2aae17,type:_0x248849,revision:_0x10eaec=0x0}=_0x546b86,_0x34350d=this['_getSnapshotAPIPrefix']()+'/'+_0x248849+_0x4755ac(0x33b)+_0x2aae17+_0x4755ac(0x578)+_0x10eaec,_0x4c8ab1=(await this[_0x4755ac(0x213)][_0x4755ac(0x542)](_0x34350d))[_0x4755ac(0x1c3)],_0x588cae=(_0x2ebfb7=_0x4c8ab1[_0x4755ac(0x5de)])==null?void 0x0:_0x2ebfb7[_0x4755ac(0x2e9)];if(_0x588cae){const _0x21e5f7=_0x588cae==null?void 0x0:_0x588cae[_0x4755ac(0x5a2)],_0x929907=S['textEncoder'][_0x4755ac(0x317)](S[_0x4755ac(0x566)](_0x21e5f7));_0x588cae[_0x4755ac(0x5a2)]=_0x929907,Object['entries'](_0x588cae[_0x4755ac(0x164)])[_0x4755ac(0x38f)](([,_0x480b4b])=>{const _0x9e070d=_0x4755ac,_0x389ba6=_0x480b4b[_0x9e070d(0x5a2)],_0x250d9e=S[_0x9e070d(0x17c)]['encode'](S[_0x9e070d(0x566)](_0x389ba6));_0x480b4b[_0x9e070d(0x5a2)]=_0x250d9e;});}return _0x4c8ab1;}async[_0x4a9685(0x590)](_0x5b585d,_0x3a72ba){const _0x28b86=_0x4a9685,{unitID:_0x12eeec,type:_0x2fecde,blockID:_0x5cf7c1}=_0x3a72ba,_0x944ed8=this['_getAPIPrefix']()+'/'+_0x2fecde+'/unit/'+_0x12eeec+'/block/'+_0x5cf7c1;return(await this[_0x28b86(0x213)][_0x28b86(0x542)](_0x944ed8))[_0x28b86(0x1c3)];}async[_0x4a9685(0x24d)](_0x2e266a,_0x572da6){const _0x5eb3b9=_0x4a9685,{unitID:_0x399df5,type:_0x31b1e5,blockID:_0x291e26}=_0x572da6,_0x55a894=this[_0x5eb3b9(0x1fa)]()+'/block/'+_0x31b1e5+_0x5eb3b9(0x33b)+_0x399df5+_0x5eb3b9(0x45a)+_0x291e26;return(await this[_0x5eb3b9(0x213)][_0x5eb3b9(0x542)](_0x55a894))[_0x5eb3b9(0x1c3)];}async[_0x4a9685(0x327)](_0x3e9f09,_0x3acbdf){const _0xe537a2=_0x4a9685,{unitID:_0x51d361,type:_0x4e664f,from:_0x4e0abd,to:_0x3d52c8}=_0x3acbdf,_0x29f884=this[_0xe537a2(0x1fa)]()+'/'+_0x4e664f+'/unit/'+_0x51d361+_0xe537a2(0x35d)+_0x4e0abd+_0xe537a2(0x2f1)+_0x3d52c8;return(await this['_httpService'][_0xe537a2(0x542)](_0x29f884))[_0xe537a2(0x1c3)];}['_getSnapshotAPIPrefix'](){const _0xbe2d36=_0x4a9685;var _0x3ada12;return(_0x3ada12=this[_0xbe2d36(0x294)]['getConfig'](Qt))!=null?_0x3ada12:this[_0xbe2d36(0x1fa)]();}[_0x4a9685(0x1fa)](){const _0x15c9e0=_0x4a9685;var _0x56d45e,_0x5a89bc;const _0x358709=this[_0x15c9e0(0x294)]['getConfig'](Zt),_0x517f3d=this[_0x15c9e0(0x294)][_0x15c9e0(0x4a1)](te);return(_0x5a89bc=(_0x56d45e=_0x517f3d==null?void 0x0:_0x517f3d['snapshotServerUrl'])!=null?_0x56d45e:_0x358709)!=null?_0x5a89bc:Hn;}async['getResourcesRequest'](_0x1a4a17,_0x2dff41){const _0x198402=_0x4a9685,_0x10fb55=_0x198402(0x2a9)+_0x2dff41[_0x198402(0x3e4)]+'/unit/'+_0x2dff41[_0x198402(0x197)]+_0x198402(0x524);return(await this[_0x198402(0x213)][_0x198402(0x542)](_0x10fb55,{'params':{'resourceId':JSON[_0x198402(0x2d1)](_0x2dff41['resourceIDs'])}}))['body'];}['saveSnapshot'](){const _0xa82188=_0x4a9685;throw new Error(_0xa82188(0x374));}[_0x4a9685(0x4c8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9685(0x598)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9685(0x500)](){const _0x5c061f=_0x4a9685;throw new Error(_0x5c061f(0x374));}[_0x4a9685(0x20e)](){const _0x5bbcba=_0x4a9685;throw new Error(_0x5bbcba(0x374));}},exports[_0x4a9685(0x376)]=Br([Jt(0x0,a[_0x4a9685(0x3fb)]),Jt(0x1,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)]))],exports[_0x4a9685(0x376)]);var kr=Object[_0x4a9685(0x377)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x2c08cc,_0x2e8ca9,_0x16568a,_0x34a933)=>{for(var _0x51d4b8=_0x34a933>0x1?void 0x0:_0x34a933?Wr(_0x2e8ca9,_0x16568a):_0x2e8ca9,_0x3bee77=_0x2c08cc['length']-0x1,_0x425779;_0x3bee77>=0x0;_0x3bee77--)(_0x425779=_0x2c08cc[_0x3bee77])&&(_0x51d4b8=(_0x34a933?_0x425779(_0x2e8ca9,_0x16568a,_0x51d4b8):_0x425779(_0x51d4b8))||_0x51d4b8);return _0x34a933&&_0x51d4b8&&kr(_0x2e8ca9,_0x16568a,_0x51d4b8),_0x51d4b8;},Ne=(_0x8f2221,_0x2fdc4a)=>(_0x352217,_0x3b9471)=>_0x2fdc4a(_0x352217,_0x3b9471,_0x8f2221);let It=class extends a['LocalUndoRedoService']{constructor(_0x14fa8b,_0xc8c866,_0x33cd52,_0x2efa7c,_0x2c4290){const _0x24b8fb=_0x4a9685;super(_0x14fa8b,_0xc8c866,_0x33cd52),this[_0x24b8fb(0x4f6)]=_0x2efa7c,this[_0x24b8fb(0x480)]=_0x2c4290;}['transformUndoRedo'](_0x5c35f5,_0x513d11){const _0x6c8ec3=_0x4a9685,_0x2a7c94=this[_0x6c8ec3(0x1b1)](_0x5c35f5);if(_0x2a7c94)try{const _0x474ab0=this[_0x6c8ec3(0x273)](_0x2a7c94,_0x513d11);this[_0x6c8ec3(0x269)](_0x5c35f5,_0x474ab0);}catch(_0x5c8864){this[_0x6c8ec3(0x480)][_0x6c8ec3(0x3d8)](_0x6c8ec3(0x499),_0x5c8864),this[_0x6c8ec3(0x2c4)](_0x5c35f5);}const _0x355f44=this[_0x6c8ec3(0x16d)](_0x5c35f5);if(_0x355f44)try{const _0x33b062=this[_0x6c8ec3(0x273)](_0x355f44,_0x513d11);this[_0x6c8ec3(0x36e)](_0x5c35f5,_0x33b062);}catch(_0x358a8a){this[_0x6c8ec3(0x480)][_0x6c8ec3(0x3d8)](_0x358a8a),this[_0x6c8ec3(0x16a)](_0x5c35f5);}}[_0x4a9685(0x2c4)](_0x211f48){const _0x487f48=_0x4a9685,_0xfbb008=this['_getUndoStack'](_0x211f48);_0xfbb008&&(_0xfbb008[_0x487f48(0x530)]=0x0,this[_0x487f48(0x2d9)]());}['_clearRedo'](_0x411609){const _0x10b28d=_0x4a9685,_0x38b4be=this[_0x10b28d(0x16d)](_0x411609);_0x38b4be&&(_0x38b4be[_0x10b28d(0x530)]=0x0,this[_0x10b28d(0x2d9)]());}[_0x4a9685(0x269)](_0xa706dc,_0x375919){const _0x3cfa1f=_0x4a9685;this['_undoStacks'][_0x3cfa1f(0x568)](_0xa706dc,_0x375919),this[_0x3cfa1f(0x2d9)]();}[_0x4a9685(0x36e)](_0x37af8a,_0x465b93){const _0x41e3ae=_0x4a9685;this[_0x41e3ae(0x4db)][_0x41e3ae(0x568)](_0x37af8a,_0x465b93),this[_0x41e3ae(0x2d9)]();}[_0x4a9685(0x273)](_0x2e9527,_0x5b9c80){const _0x4a149c=_0x4a9685,_0x2b666e=[];let _0x403470=_0x5b9c80,_0x22c04b=_0x5b9c80;for(let _0x20777f=_0x2e9527[_0x4a149c(0x530)]-0x1;_0x20777f>=0x0;_0x20777f--){const {unitID:_0x2672f9,undoMutations:_0x11e09f,redoMutations:_0x330fcb}=_0x2e9527[_0x20777f],_0x336334=this['_transformService']['transformMutationsWithChangeset'](_0x403470,_0x11e09f),_0xeb4c76=this[_0x4a149c(0x4f6)]['transformMutationsWithChangeset'](_0x22c04b,_0x330fcb);if(S['isTransformMutationsWithChangesetFailure'](_0x336334)||S[_0x4a149c(0x133)](_0xeb4c76)){this[_0x4a149c(0x480)][_0x4a149c(0x3d8)](_0x4a149c(0x499),_0x4a149c(0x17a),_0x336334,_0xeb4c76);break;}_0x403470=_0x336334[_0x4a149c(0x51e)],_0x22c04b=_0xeb4c76[_0x4a149c(0x51e)],_0x2b666e[_0x4a149c(0x3d6)]({'unitID':_0x2672f9,'undoMutations':_0x336334[_0x4a149c(0x403)],'redoMutations':_0xeb4c76[_0x4a149c(0x403)]});}return _0x2b666e[_0x4a149c(0x5aa)]();}};It=Fr([Ne(0x0,a[_0x4a9685(0x3c5)]),Ne(0x1,a['ICommandService']),Ne(0x2,a[_0x4a9685(0x55b)]),Ne(0x3,S[_0x4a9685(0x315)]),Ne(0x4,a[_0x4a9685(0x2e8)])],It);class An extends a['RxDisposable']{constructor(){const _0x59bb9c=_0x4a9685;super(),I(this,_0x59bb9c(0x56a)),this[_0x59bb9c(0x56a)]=A[_0x59bb9c(0x59e)](window,_0x59bb9c(0x1ad))[_0x59bb9c(0x172)](A[_0x59bb9c(0x5e8)](this[_0x59bb9c(0x5c9)]),A[_0x59bb9c(0x52c)](0x1),A[_0x59bb9c(0x429)](void 0x0));}[_0x4a9685(0x282)](_0x5c9ce1,_0x1a5423,_0x151032=!0x1){const _0x1524d6=_0x4a9685,_0x3c943a=new URL(window[_0x1524d6(0x559)]['href']);_0x3c943a[_0x1524d6(0x5e1)][_0x1524d6(0x568)](_0x5c9ce1,_0x1a5423),_0x151032?window[_0x1524d6(0x42d)][_0x1524d6(0x287)]('','',_0x3c943a[_0x1524d6(0x350)]()):window['history']['pushState']('','',_0x3c943a['toString']());}[_0x4a9685(0x2b6)](_0x4dd8e7,_0x423762=!0x1){const _0xb11921=_0x4a9685,_0x30ff5d=new URL(window[_0xb11921(0x559)][_0xb11921(0x1fd)]);_0x30ff5d['searchParams'][_0xb11921(0x224)](_0x4dd8e7),_0x423762?window[_0xb11921(0x42d)][_0xb11921(0x287)]('','',_0x30ff5d[_0xb11921(0x350)]()):window[_0xb11921(0x42d)][_0xb11921(0x293)]('','',_0x30ff5d['toString']());}[_0x4a9685(0x3e2)](_0x251e71){const _0x20cfbd=_0x4a9685;var _0x3cc807;return(_0x3cc807=new URL(window[_0x20cfbd(0x559)][_0x20cfbd(0x1fd)])[_0x20cfbd(0x5e1)][_0x20cfbd(0x542)](_0x251e71))!=null?_0x3cc807:void 0x0;}}var Nn=Object[_0x4a9685(0x377)],Vr=Object[_0x4a9685(0x484)],Gr=(_0x334a1e,_0x50e9d5,_0x26f1f1)=>_0x50e9d5 in _0x334a1e?Nn(_0x334a1e,_0x50e9d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26f1f1}):_0x334a1e[_0x50e9d5]=_0x26f1f1,Yr=(_0x23ef46,_0x48efd,_0x2a0155,_0x22d8b7)=>{const _0x7bb278=_0x4a9685;for(var _0x3c4282=_0x22d8b7>0x1?void 0x0:_0x22d8b7?Vr(_0x48efd,_0x2a0155):_0x48efd,_0x242ed5=_0x23ef46[_0x7bb278(0x530)]-0x1,_0x163a1f;_0x242ed5>=0x0;_0x242ed5--)(_0x163a1f=_0x23ef46[_0x242ed5])&&(_0x3c4282=(_0x22d8b7?_0x163a1f(_0x48efd,_0x2a0155,_0x3c4282):_0x163a1f(_0x3c4282))||_0x3c4282);return _0x22d8b7&&_0x3c4282&&Nn(_0x48efd,_0x2a0155,_0x3c4282),_0x3c4282;},He=(_0x3a5c64,_0x37e1ec)=>(_0x339e34,_0xa85f6b)=>_0x37e1ec(_0x339e34,_0xa85f6b,_0x3a5c64),Kr=(_0x19b025,_0x534314,_0x6904b4)=>Gr(_0x19b025,_0x534314+'',_0x6904b4);const qr=_0x4a9685(0x348);exports[_0x4a9685(0x3a2)]=class extends a[_0x4a9685(0x389)]{constructor(_0x298a34=zn,_0x54a264,_0x57f91f,_0x4ea73d,_0x206829){const _0x4e6dbf=_0x4a9685;super(),this[_0x4e6dbf(0x3f2)]=_0x298a34,this['_logService']=_0x54a264,this[_0x4e6dbf(0x582)]=_0x57f91f,this['_injector']=_0x4ea73d,this[_0x4e6dbf(0x294)]=_0x206829;const {..._0x4552c9}=this[_0x4e6dbf(0x3f2)];this[_0x4e6dbf(0x294)]['setConfig'](te,_0x4552c9);}['onStarting'](){const _0x4c6f15=_0x4a9685;this['_registerDependencies'](),this[_0x4c6f15(0x3ca)]();}[_0x4a9685(0x3ec)](){const _0x56f375=_0x4a9685;a[_0x56f375(0x45d)](this[_0x56f375(0x372)],[[Ve]]);}[_0x4a9685(0x27b)](){this['_registerRenderDependencies']();}[_0x4a9685(0x27e)](){const _0x216c94=_0x4a9685;var _0xf6ae82,_0xc6d029,_0x181d9e,_0x34e0d6;this[_0x216c94(0x372)]['has'](a[_0x216c94(0x23b)])&&this[_0x216c94(0x480)][_0x216c94(0x3d8)]('[UniverCollaborationClientPlugin]',_0x216c94(0x462));const _0x35be81=[[a[_0x216c94(0x23b)],{'useClass':It}],[exports[_0x216c94(0x2a7)]],[Ot],[wt,{'useClass':An}],[exports[_0x216c94(0x3e1)]],[exports['LocalCacheService']],[Z[_0x216c94(0x378)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0xc6d029=(_0xf6ae82=this[_0x216c94(0x3f2)])==null?void 0x0:_0xf6ae82[_0x216c94(0x22b)])!=null?_0xc6d029:exports[_0x216c94(0x53c)]}],[S['ISnapshotServerService'],{'useClass':exports[_0x216c94(0x376)]}],[a[_0x216c94(0x2f0)],{'useClass':exports[_0x216c94(0x26b)]}],[ne[_0x216c94(0x3f3)],{'useClass':exports[_0x216c94(0x50d)]}],[exports[_0x216c94(0x1ff)]],[exports[_0x216c94(0x554)]],[exports[_0x216c94(0x2f8)]],[Ve],[De]];(_0x181d9e=this['_config'])!=null&&_0x181d9e[_0x216c94(0x325)]&&_0x35be81['push']([qe,{'useClass':Oi}]),a[_0x216c94(0x440)](this[_0x216c94(0x372)],a[_0x216c94(0x323)](_0x35be81,(_0x34e0d6=this[_0x216c94(0x3f2)])==null?void 0x0:_0x34e0d6[_0x216c94(0x5dc)]));}['_registerRenderDependencies'](){const _0x1904e7=_0x4a9685;this[_0x1904e7(0x3c7)](this[_0x1904e7(0x582)][_0x1904e7(0x2cb)](a['UniverInstanceType'][_0x1904e7(0x22a)],[pt])),this[_0x1904e7(0x3c7)](this[_0x1904e7(0x582)][_0x1904e7(0x2cb)](a[_0x1904e7(0x33e)][_0x1904e7(0x1af)],[gt]));}[_0x4a9685(0x3ca)](){const _0xd318f2=_0x4a9685;var _0x4862b9,_0x3b17b8;this[_0xd318f2(0x372)][_0xd318f2(0x542)](Z['HTTPService'])[_0xd318f2(0x533)]({'priority':0x14,'interceptor':Z[_0xd318f2(0x3ed)]({'maxParallel':0x6})}),(_0x4862b9=this[_0xd318f2(0x3f2)])!=null&&_0x4862b9[_0xd318f2(0x443)]||this[_0xd318f2(0x372)][_0xd318f2(0x542)](exports['LocalCacheService'])[_0xd318f2(0x360)](),(_0x3b17b8=this['_config'])!=null&&_0x3b17b8[_0xd318f2(0x1a3)]&&a['touchDependencies'](this['_injector'],[[Ge]]),a[_0xd318f2(0x45d)](this['_injector'],[[Ye],[De],[exports[_0xd318f2(0x554)]],[exports[_0xd318f2(0x1ff)]],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},Kr(exports['UniverCollaborationClientPlugin'],_0x4a9685(0x395),qr),exports[_0x4a9685(0x3a2)]=Yr([a['DependentOn'](S[_0x4a9685(0x19e)],Z[_0x4a9685(0x3aa)]),He(0x1,a[_0x4a9685(0x2e8)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x4a9685(0x27a)](a['Injector'])),He(0x4,a[_0x4a9685(0x3fb)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Rn,exports[_0x4a9685(0x5f2)]=on,exports[_0x4a9685(0x21b)]=en,exports[_0x4a9685(0x153)]=q,exports[_0x4a9685(0x593)]=Tn,exports[_0x4a9685(0x5a1)]=Tt,exports[_0x4a9685(0x387)]=tn,exports[_0x4a9685(0x248)]=Ct,exports[_0x4a9685(0x5d7)]=bt,exports['IURLService']=wt,exports[_0x4a9685(0x30b)]=rn,exports[_0x4a9685(0x49e)]=an,exports[_0x4a9685(0x218)]=sn,exports[_0x4a9685(0x43f)]=Bn,exports[_0x4a9685(0x179)]=Zt,exports[_0x4a9685(0x442)]=Qt,exports[_0x4a9685(0x319)]=se,exports[_0x4a9685(0x457)]=Sn,exports[_0x4a9685(0x320)]=An,exports[_0x4a9685(0x312)]=hn,exports[_0x4a9685(0x145)]=_n;
|
1
|
+
'use strict';const _0x1f2fa=_0x3f71;(function(_0x204754,_0x672442){const _0xc2522e=_0x3f71,_0x51e18f=_0x204754();while(!![]){try{const _0x377b62=parseInt(_0xc2522e(0x28c))/0x1*(parseInt(_0xc2522e(0x431))/0x2)+-parseInt(_0xc2522e(0x5f1))/0x3*(parseInt(_0xc2522e(0x2ab))/0x4)+parseInt(_0xc2522e(0x1a7))/0x5*(-parseInt(_0xc2522e(0x535))/0x6)+parseInt(_0xc2522e(0x319))/0x7+-parseInt(_0xc2522e(0x5f5))/0x8*(-parseInt(_0xc2522e(0x3a0))/0x9)+-parseInt(_0xc2522e(0x3cc))/0xa+-parseInt(_0xc2522e(0x17f))/0xb;if(_0x377b62===_0x672442)break;else _0x51e18f['push'](_0x51e18f['shift']());}catch(_0x984363){_0x51e18f['push'](_0x51e18f['shift']());}}}(_0x424e,0x5357f));var Ln=Object[_0x1f2fa(0x4e5)],xn=(_0xa725e1,_0xc56a61,_0x261eca)=>_0xc56a61 in _0xa725e1?Ln(_0xa725e1,_0xc56a61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x261eca}):_0xa725e1[_0xc56a61]=_0x261eca,I=(_0x4a3b22,_0x2696eb,_0x582c1)=>xn(_0x4a3b22,typeof _0x2696eb!=_0x1f2fa(0x5c3)?_0x2696eb+'':_0x2696eb,_0x582c1);Object[_0x1f2fa(0x4e5)](exports,Symbol[_0x1f2fa(0x2c7)],{'value':'Module'});const a=require('@univerjs/core'),A=require(_0x1f2fa(0x51d)),V=require(_0x1f2fa(0x4a4)),ge=require(_0x1f2fa(0x402)),ee=require(_0x1f2fa(0x501)),Z=require(_0x1f2fa(0x46a)),S=require(_0x1f2fa(0x391)),jn=require(_0x1f2fa(0x56e)),J=require(_0x1f2fa(0x271)),k=require('@univerjs/sheets'),K=require(_0x1f2fa(0x502)),ye=require(_0x1f2fa(0x2cf)),ne=require(_0x1f2fa(0x219)),Pt=require(_0x1f2fa(0x592)),Re=require(_0x1f2fa(0x57f)),ae=require(_0x1f2fa(0x33f)),$n=require(_0x1f2fa(0x434)),Zt=_0x1f2fa(0x1c8),Hn=_0x1f2fa(0x44b),Qt=_0x1f2fa(0x2a6),Bn=_0x1f2fa(0x1b1),kn=0x7d0,en='COLLAB_WEB_SOCKET_URL',Wn=_0x1f2fa(0x5da),tn='HEARTBEAT_INTERVAL',Fn=0x7530,Ct='HEARTBEAT_TIMEOUT',nn=0x4e20,Vn=0x4e20,sn=_0x1f2fa(0x2f2),Gn=0x3,rn=_0x1f2fa(0x5cf),Yn=0x3e8,on=_0x1f2fa(0x1be),Kn=_0x1f2fa(0x5d6),an=_0x1f2fa(0x4eb),qn=_0x1f2fa(0x5a9);var cn=(_0x2950d3=>(_0x2950d3[_0x2950d3['UNDEFINED']=0x0]='UNDEFINED',_0x2950d3[_0x2950d3['OK']=0x1]='OK',_0x2950d3[_0x2950d3[_0x1f2fa(0x603)]=0x2]=_0x1f2fa(0x603),_0x2950d3[_0x2950d3['PERMISSION_DENIED']=0x3]=_0x1f2fa(0x54d),_0x2950d3[_0x2950d3[_0x1f2fa(0x3b3)]=0x4]=_0x1f2fa(0x3b3),_0x2950d3[_0x2950d3[_0x1f2fa(0x590)]=0x5]='UNAUTHENTICATED',_0x2950d3[_0x2950d3[_0x1f2fa(0x290)]=0x6]=_0x1f2fa(0x290),_0x2950d3[_0x2950d3['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2950d3[_0x2950d3[_0x1f2fa(0x47b)]=0x8]=_0x1f2fa(0x47b),_0x2950d3[_0x2950d3[_0x1f2fa(0x3f9)]=0x9]=_0x1f2fa(0x3f9),_0x2950d3[_0x2950d3[_0x1f2fa(0x571)]=0x1389]=_0x1f2fa(0x571),_0x2950d3[_0x2950d3[_0x1f2fa(0x1a8)]=0x1771]=_0x1f2fa(0x1a8),_0x2950d3[_0x2950d3[_0x1f2fa(0x220)]=0x1772]=_0x1f2fa(0x220),_0x2950d3[_0x2950d3[_0x1f2fa(0x2ce)]=0x1773]=_0x1f2fa(0x2ce),_0x2950d3[_0x2950d3['APPLY_REJECT']=0x1b59]=_0x1f2fa(0x4d2),_0x2950d3[_0x2950d3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2950d3[_0x2950d3[_0x1f2fa(0x4b3)]=0x1b5b]=_0x1f2fa(0x4b3),_0x2950d3[_0x2950d3[_0x1f2fa(0x299)]=0x1b5c]=_0x1f2fa(0x299),_0x2950d3[_0x2950d3['APPLY_DUPLICATED']=0x1b5d]=_0x1f2fa(0x20c),_0x2950d3[_0x2950d3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2950d3[_0x2950d3[_0x1f2fa(0x2de)]=0x2329]=_0x1f2fa(0x2de),_0x2950d3[_0x2950d3[_0x1f2fa(0x174)]=0x232a]=_0x1f2fa(0x174),_0x2950d3[_0x2950d3[_0x1f2fa(0x2e0)]=0x232b]=_0x1f2fa(0x2e0),_0x2950d3[_0x2950d3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2950d3[_0x2950d3[_0x1f2fa(0x38d)]=0x232d]=_0x1f2fa(0x38d),_0x2950d3[_0x2950d3[_0x1f2fa(0x248)]=0x2711]=_0x1f2fa(0x248),_0x2950d3[_0x2950d3[_0x1f2fa(0x5a3)]=0x2712]=_0x1f2fa(0x5a3),_0x2950d3[_0x2950d3[_0x1f2fa(0x3e7)]=0x2713]=_0x1f2fa(0x3e7),_0x2950d3[_0x2950d3[_0x1f2fa(0x559)]=0x2714]=_0x1f2fa(0x559),_0x2950d3[_0x2950d3['UNRECOGNIZED']=-0x1]=_0x1f2fa(0x178),_0x2950d3))(cn||{}),ie=(_0x297a76=>(_0x297a76[_0x297a76[_0x1f2fa(0x54a)]=0x0]=_0x1f2fa(0x54a),_0x297a76[_0x297a76[_0x1f2fa(0x505)]=0x1]='UNIVER_DOC',_0x297a76[_0x297a76[_0x1f2fa(0x4c3)]=0x2]=_0x1f2fa(0x4c3),_0x297a76[_0x297a76[_0x1f2fa(0x5af)]=0x3]=_0x1f2fa(0x5af),_0x297a76[_0x297a76['UNIVER_PROJECT']=0x4]=_0x1f2fa(0x355),_0x297a76[_0x297a76[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x297a76))(ie||{}),G=(_0x538f54=>(_0x538f54[_0x538f54['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x538f54[_0x538f54[_0x1f2fa(0x35f)]=0x1]=_0x1f2fa(0x35f),_0x538f54[_0x538f54[_0x1f2fa(0x577)]=0x2]=_0x1f2fa(0x577),_0x538f54[_0x538f54[_0x1f2fa(0x2c9)]=0x3]=_0x1f2fa(0x2c9),_0x538f54[_0x538f54['INGEST']=0x4]=_0x1f2fa(0x451),_0x538f54[_0x538f54[_0x1f2fa(0x1a3)]=0x5]=_0x1f2fa(0x1a3),_0x538f54[_0x538f54['RECV']=0x6]=_0x1f2fa(0x5e6),_0x538f54[_0x538f54[_0x1f2fa(0x178)]=-0x1]='UNRECOGNIZED',_0x538f54))(G||{}),Et=(_0x17bcef=>(_0x17bcef[_0x17bcef[_0x1f2fa(0x19e)]=0x0]=_0x1f2fa(0x19e),_0x17bcef[_0x17bcef['OK']=0x1]='OK',_0x17bcef[_0x17bcef[_0x1f2fa(0x44f)]=0x2]='FAIL',_0x17bcef[_0x17bcef[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x17bcef))(Et||{}),ln=(_0x2b4dbf=>(_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x4fa)]=0x0]='Undefined',_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x241)]=0x1]=_0x1f2fa(0x241),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x2a4)]=0x2]=_0x1f2fa(0x2a4),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x1f0)]=0x3]=_0x1f2fa(0x1f0),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x22c)]=0x4]='UnitSnapshot',_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x2b4dbf))(ln||{});const te=_0x1f2fa(0x373),zn={};function hn(_0x384589){const _0x5bc3dc=_0x1f2fa;var _0x47e2bd,_0x16d11a,_0x44c9cd,_0x3b6ad5,_0x501407;const _0x57d9d6=_0x384589['data'],_0x32ce76=JSON[_0x5bc3dc(0x55a)](_0x57d9d6);switch(_0x32ce76[_0x5bc3dc(0x2a9)]){case G[_0x5bc3dc(0x1a3)]:case G['HELLO']:{const _0x1ea8f7=_0x32ce76[_0x5bc3dc(0x39a)];return{..._0x32ce76,'data':_0x1ea8f7,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};}case G[_0x5bc3dc(0x577)]:{const _0x15a3d3=_0x32ce76[_0x5bc3dc(0x3af)];return{..._0x32ce76,'data':_0x15a3d3,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};}case G[_0x5bc3dc(0x5e6)]:{const _0x4753b4=_0x32ce76[_0x5bc3dc(0x1cd)];switch(_0x4753b4[_0x5bc3dc(0x38e)]){case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x20e)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x47e2bd=_0x4753b4[_0x5bc3dc(0x4c1)])==null?void 0x0:_0x47e2bd['cs']},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x469)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x16d11a=_0x4753b4['csAckEvent'])==null?void 0x0:_0x16d11a['cs']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S['CollaborationEvent'][_0x5bc3dc(0x521)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x44c9cd=_0x4753b4['newCsEvent'])==null?void 0x0:_0x44c9cd['cs']},'cmd':_0x32ce76['cmd']};case S['CollaborationEvent'][_0x5bc3dc(0x5d2)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x3b6ad5=_0x4753b4[_0x5bc3dc(0x1f5)])==null?void 0x0:_0x3b6ad5['cs']},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x5b8)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x501407=_0x4753b4['csShouldRetryEvent'])==null?void 0x0:_0x501407['cs']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x326)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4['updateCursorEvent']},'cmd':_0x32ce76['cmd']};case S['CollaborationEvent'][_0x5bc3dc(0x48a)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x5d9)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)]['USERS_LEAVE']:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x234)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x3cb)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x56a)]},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x46e)]:case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x320)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x20d)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x35a)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x56a)]},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x42c)]:return{..._0x32ce76,'data':_0x4753b4,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)]['COMMENT_UPDATE']:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4['commentUpdateEvent']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x291)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x312)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x211)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x551)]},'cmd':_0x32ce76['cmd']};default:return _0x32ce76;}}default:return _0x32ce76;}}function _n(_0x187505){const _0x4afa6d=_0x1f2fa;switch(_0x187505[_0x4afa6d(0x2a9)]){case G[_0x4afa6d(0x1a3)]:case G[_0x4afa6d(0x35f)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)]});case G[_0x4afa6d(0x451)]:{let _0x4f04b3;switch(_0x187505[_0x4afa6d(0x462)]['eventID']){case S['CollaborationEvent']['UPDATE_CURSOR']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['UPDATE_CURSOR'],'updateCursorEvent':_0x187505['data'][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)]['USERS_LEAVE']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x3ed)],'leaveEvent':_0x187505[_0x4afa6d(0x462)]['data']};break;}case S[_0x4afa6d(0x416)]['USERS_ENTER']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x48a)],'joinEvent':_0x187505[_0x4afa6d(0x462)]['data']};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x3cb)]:{_0x4f04b3={'eventID':S['CollaborationEvent'][_0x4afa6d(0x3cb)],'liveShareNewHost':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x320)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x320)],'liveShareOperation':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x35a)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x341)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x46e)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x46e)]};break;}default:_0x4f04b3={'eventID':_0x187505['data'][_0x4afa6d(0x38e)]};}return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505['cmd'],'routeKey':_0x187505[_0x4afa6d(0x19d)],'collaMsg':_0x4f04b3});}case G[_0x4afa6d(0x577)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)],'joinReq':_0x187505[_0x4afa6d(0x462)]});case G[_0x4afa6d(0x2c9)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)],'leaveReq':_0x187505[_0x4afa6d(0x462)]});default:throw new Error(_0x4afa6d(0x4da));}}var Xn=Object['defineProperty'],Jn=Object[_0x1f2fa(0x40d)],Zn=(_0x1fe9a8,_0x46e2e1,_0x1c4cf2,_0x50ecfa)=>{for(var _0x51a852=_0x50ecfa>0x1?void 0x0:_0x50ecfa?Jn(_0x46e2e1,_0x1c4cf2):_0x46e2e1,_0x3a1fe4=_0x1fe9a8['length']-0x1,_0x348280;_0x3a1fe4>=0x0;_0x3a1fe4--)(_0x348280=_0x1fe9a8[_0x3a1fe4])&&(_0x51a852=(_0x50ecfa?_0x348280(_0x46e2e1,_0x1c4cf2,_0x51a852):_0x348280(_0x51a852))||_0x51a852);return _0x50ecfa&&_0x51a852&&Xn(_0x46e2e1,_0x1c4cf2,_0x51a852),_0x51a852;},we=(_0x5e9c05,_0x246706)=>(_0x48df1d,_0x594d5e)=>_0x246706(_0x48df1d,_0x594d5e,_0x5e9c05);const bt=a['createIdentifier'](_0x1f2fa(0x2f0));function Qn(_0x567b62,_0x47901c,_0x28b039){const _0x54aa2c=_0x1f2fa;return _0x567b62+'/'+_0x47901c+_0x54aa2c(0x17b)+_0x28b039+_0x54aa2c(0x3df);}exports[_0x1f2fa(0x2b7)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5ea56f,_0x297e38,_0x2ccd2f,_0x156fe0,_0x20e1f0){const _0x1ead01=_0x1f2fa;super(),this[_0x1ead01(0x2ef)]=_0x5ea56f,this[_0x1ead01(0x2bc)]=_0x297e38,this[_0x1ead01(0x499)]=_0x2ccd2f,this[_0x1ead01(0x1d8)]=_0x156fe0,this['_snapshotServerService']=_0x20e1f0;}[_0x1f2fa(0x558)](_0xc0f0ef){const _0x5ea169=_0x1f2fa,_0x391065=this['_ws'][_0x5ea169(0x558)](_0xc0f0ef);if(!_0x391065)throw new Error(_0x5ea169(0x548));const _0x93e834=new a[(_0x5ea169(0x2af))](),_0x2c4aa4=new A[(_0x5ea169(0x2ba))]();_0x93e834['add'](_0x391065['close$']['subscribe'](_0x1c4b59=>_0x2c4aa4[_0x5ea169(0x497)](_0x1c4b59))),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0x2c4aa4[_0x5ea169(0x60c)]()));const _0x29939f=new A['Subject']();_0x93e834[_0x5ea169(0x515)](_0x391065[_0x5ea169(0x359)]['subscribe'](_0x273a95=>_0x29939f[_0x5ea169(0x497)](_0x273a95))),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0x29939f[_0x5ea169(0x60c)]()));const _0xc909fd=new A[(_0x5ea169(0x2ba))]();_0x93e834['add'](_0x391065[_0x5ea169(0x32d)][_0x5ea169(0x25e)](_0x122aef=>{const _0x446665=_0x5ea169,_0x4ec453=hn(_0x122aef);_0xc909fd[_0x446665(0x497)](_0x4ec453);})),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0xc909fd[_0x5ea169(0x60c)]()));let _0x2b0d08;const _0x1d094d=()=>{const _0x4b8b90=_0x5ea169;_0x29939f['next'](new Event(_0x4b8b90(0x22a))),_0x2c4aa4['next'](new CloseEvent(_0x4b8b90(0x22a))),_0x2b0d08[_0x4b8b90(0x297)]();};return _0x2b0d08={'memberID':'','close$':_0x2c4aa4[_0x5ea169(0x5de)](),'error$':_0x29939f[_0x5ea169(0x5de)](),'open$':_0x391065['open$'],'message$':_0xc909fd[_0x5ea169(0x5de)](),'send':_0x665214=>{const _0x5f4f49=_0x5ea169;if(_0x665214[_0x5f4f49(0x2a9)]===G[_0x5f4f49(0x451)]){if(_0x665214[_0x5f4f49(0x462)][_0x5f4f49(0x38e)]===S[_0x5f4f49(0x416)]['SUBMIT_CHANGESET']){this[_0x5f4f49(0x16d)](_0x2b0d08,_0x665214[_0x5f4f49(0x462)])[_0x5f4f49(0x26f)](_0x54195b=>{const _0x38d3fa=_0x5f4f49;this[_0x38d3fa(0x1d8)]['error'](_0x54195b),_0x1d094d();});return;}if(_0x665214['data'][_0x5f4f49(0x38e)]===S[_0x5f4f49(0x416)][_0x5f4f49(0x4a6)]){const _0xb2da95=_0x665214['data'];this[_0x5f4f49(0x18a)](_0xb2da95)[_0x5f4f49(0x213)](_0x262d2e=>{const _0x1f437a=_0x5f4f49;_0xc909fd[_0x1f437a(0x497)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0xb2da95[_0x1f437a(0x462)][_0x1f437a(0x604)],'routeType':'','data':{'eventID':S[_0x1f437a(0x416)][_0x1f437a(0x541)],'data':{'changesets':_0x262d2e}}});})[_0x5f4f49(0x26f)](_0x447bf5=>{const _0x2a788f=_0x5f4f49;this[_0x2a788f(0x1d8)]['error'](_0x447bf5),_0x1d094d();});return;}}_0x391065[_0x5f4f49(0x445)](_n(_0x665214));},'close':()=>{const _0x247b38=_0x5ea169;_0x391065[_0x247b38(0x297)](),_0x93e834[_0x247b38(0x366)]();}},_0x2b0d08;}async['_submitChangeset'](_0x4ee205,_0x21c444){const _0x15941d=_0x1f2fa;var _0x2d5081,_0x172735;const {unitType:_0x6bad56,unitID:_0x448fca,changeset:_0x580d68}=_0x21c444[_0x15941d(0x462)],_0x19cb30={'unitID':_0x448fca,'memberID':_0x4ee205[_0x15941d(0x264)],'type':_0x6bad56,'changeset':S[_0x15941d(0x39e)](_0x580d68)},_0x2b95f3=this[_0x15941d(0x499)]['getConfig'](on),_0x2adf5f=this['_configService'][_0x15941d(0x546)](te),_0x38bc3a=Qn((_0x172735=(_0x2d5081=_0x2adf5f==null?void 0x0:_0x2adf5f[_0x15941d(0x3ad)])!=null?_0x2d5081:_0x2b95f3)!=null?_0x172735:Kn,_0x6bad56,_0x448fca);try{await this[_0x15941d(0x2ef)][_0x15941d(0x43a)](_0x38bc3a,{'body':_0x19cb30});}catch(_0x3fbec1){throw this[_0x15941d(0x1d8)][_0x15941d(0x2d0)](_0x15941d(0x437),'submit\x20changeset\x20error!'),_0x3fbec1;}}async[_0x1f2fa(0x18a)](_0x4a7aa5){const _0x61f24d=_0x1f2fa,{unitID:_0x3ff5df,from:_0x268c3e,to:_0x4d50a1,unitType:_0x4f6617}=_0x4a7aa5[_0x61f24d(0x462)];return(await this[_0x61f24d(0x561)][_0x61f24d(0x289)]({'metadata':void 0x0},{'unitID':_0x3ff5df,'type':_0x4f6617,'from':_0x268c3e,'to':_0x4d50a1}))[_0x61f24d(0x54b)];}},exports[_0x1f2fa(0x2b7)]=Zn([we(0x0,a[_0x1f2fa(0x28d)](Z['HTTPService'])),we(0x1,a['Inject'](Z[_0x1f2fa(0x22d)])),we(0x2,a[_0x1f2fa(0x1b0)]),we(0x3,a[_0x1f2fa(0x1af)]),we(0x4,S[_0x1f2fa(0x1d2)])],exports[_0x1f2fa(0x2b7)]);const ei='collaboration_new_changeset';function ti(_0x346707){const _0x3af656=_0x1f2fa;return JSON[_0x3af656(0x3f4)](_0x346707)[_0x3af656(0x339)];}class Tt{constructor(){const _0x2b17c7=_0x1f2fa;I(this,_0x2b17c7(0x1dd),new A[(_0x2b17c7(0x2ba))]()),I(this,_0x2b17c7(0x21d),this[_0x2b17c7(0x1dd)][_0x2b17c7(0x5de)]());}[_0x1f2fa(0x1ce)](_0x111869){const _0x12ae17=_0x1f2fa;this[_0x12ae17(0x1dd)][_0x12ae17(0x497)](_0x111869);}}var ni=Object['defineProperty'],ii=Object['getOwnPropertyDescriptor'],si=(_0x339d81,_0xb3b40,_0xe9f3e1,_0xa8268c)=>{const _0x254add=_0x1f2fa;for(var _0x66c255=_0xa8268c>0x1?void 0x0:_0xa8268c?ii(_0xb3b40,_0xe9f3e1):_0xb3b40,_0x3deec8=_0x339d81[_0x254add(0x339)]-0x1,_0x2fe2c7;_0x3deec8>=0x0;_0x3deec8--)(_0x2fe2c7=_0x339d81[_0x3deec8])&&(_0x66c255=(_0xa8268c?_0x2fe2c7(_0xb3b40,_0xe9f3e1,_0x66c255):_0x2fe2c7(_0x66c255))||_0x66c255);return _0xa8268c&&_0x66c255&&ni(_0xb3b40,_0xe9f3e1,_0x66c255),_0x66c255;},Ut=(_0x560196,_0x2b1d30)=>(_0xf03047,_0x39d0a0)=>_0x2b1d30(_0xf03047,_0x39d0a0,_0x560196);exports[_0x1f2fa(0x3d8)]=class extends a['Disposable']{constructor(_0x1b25d1,_0x2cdc51){const _0x436048=_0x1f2fa;super(),I(this,_0x436048(0x411),new Map()),(this['_univerInstanceService']=_0x1b25d1,this[_0x436048(0x4e6)]=_0x2cdc51,this[_0x436048(0x305)](a[_0x436048(0x5ad)](A[_0x436048(0x1b6)](this[_0x436048(0x51c)][_0x436048(0x468)](a['UniverInstanceType'][_0x436048(0x4c3)])['pipe'](V[_0x436048(0x50e)](_0x4b0fab=>_0x4b0fab[_0x436048(0x4ea)]())),this[_0x436048(0x51c)][_0x436048(0x468)](a[_0x436048(0x5c7)][_0x436048(0x505)])[_0x436048(0x5f2)](V[_0x436048(0x50e)](_0xddbf61=>_0xddbf61['getUnitId']())),this[_0x436048(0x51c)][_0x436048(0x468)](a[_0x436048(0x5c7)]['UNIVER_SLIDE'])[_0x436048(0x5f2)](V[_0x436048(0x50e)](_0xbbf2b2=>_0xbbf2b2['getUnitId']())))['subscribe'](_0x447f9f=>this[_0x436048(0x4d6)](_0x447f9f)))));}[_0x1f2fa(0x212)](_0x28510f){const _0x4f9cbe=_0x1f2fa;this[_0x4f9cbe(0x4e6)]['setCurrentUser'](_0x28510f);}[_0x1f2fa(0x527)](){const _0x557a5f=_0x1f2fa;return this[_0x557a5f(0x4e6)]['getCurrentUser']();}[_0x1f2fa(0x3e6)](_0x59cca2,_0x4bdf6c){const _0x4f8e46=_0x1f2fa;let _0x42422a=this['_roomMembers'][_0x4f8e46(0x2f6)](_0x59cca2);_0x42422a||(_0x42422a=new ri(),this['_roomMembers'][_0x4f8e46(0x329)](_0x59cca2,_0x42422a)),_0x42422a['updateMember'](_0x4bdf6c);}['removeMember'](_0x2bf3a8,_0x385626){const _0x3b3c72=_0x1f2fa,_0x119eae=this['_roomMembers'][_0x3b3c72(0x2f6)](_0x2bf3a8);_0x119eae&&_0x119eae[_0x3b3c72(0x349)](_0x385626);}['getRoom'](_0x29202d){const _0x38ccfa=_0x1f2fa;return this[_0x38ccfa(0x411)][_0x38ccfa(0x2f6)](_0x29202d);}['getMember'](_0x2d24d4,_0x401977){const _0x203740=_0x1f2fa,_0x1f9813=this['_roomMembers'][_0x203740(0x2f6)](_0x2d24d4);if(_0x1f9813)return _0x1f9813['getMember'](_0x401977);}['_removeRoom'](_0x4a3bf1){const _0x2bba74=_0x1f2fa,_0x2ed169=this[_0x2bba74(0x411)][_0x2bba74(0x2f6)](_0x4a3bf1);_0x2ed169&&(_0x2ed169[_0x2bba74(0x366)](),this[_0x2bba74(0x411)][_0x2bba74(0x2e4)](_0x4a3bf1));}[_0x1f2fa(0x366)](){const _0x8768bb=_0x1f2fa;this[_0x8768bb(0x411)]['forEach'](_0x2c89e7=>_0x2c89e7[_0x8768bb(0x366)]()),this['_roomMembers']['clear']();}},exports[_0x1f2fa(0x3d8)]=si([Ut(0x0,a[_0x1f2fa(0x562)]),Ut(0x1,a[_0x1f2fa(0x28d)](a['UserManagerService']))],exports['MemberService']);function _0x3f71(_0x1dd5ba,_0x22a72a){const _0x424e05=_0x424e();return _0x3f71=function(_0x3f71ea,_0x4cd999){_0x3f71ea=_0x3f71ea-0x15a;let _0x2abe79=_0x424e05[_0x3f71ea];return _0x2abe79;},_0x3f71(_0x1dd5ba,_0x22a72a);}class ri extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x4c8521=_0x1f2fa;super(...arguments),I(this,_0x4c8521(0x3b5),new Map());}['dispose'](){const _0x5d5b37=_0x1f2fa;this['_members'][_0x5d5b37(0x5aa)]();}['updateMember'](_0x4350b3){const _0x572635=_0x1f2fa;this[_0x572635(0x3b5)][_0x572635(0x329)](_0x4350b3[_0x572635(0x264)],_0x4350b3);}[_0x1f2fa(0x349)](_0x594654){const _0x413686=_0x1f2fa;this[_0x413686(0x3b5)][_0x413686(0x2e4)](_0x594654);}[_0x1f2fa(0x5c6)](_0x5ae956){const _0x1ffad3=_0x1f2fa;return this[_0x1ffad3(0x3b5)][_0x1ffad3(0x2f6)](_0x5ae956);}['getAllMembers'](){const _0x178338=_0x1f2fa;return Array[_0x178338(0x536)](this[_0x178338(0x3b5)][_0x178338(0x284)]());}}var oi=Object['defineProperty'],ai=Object[_0x1f2fa(0x40d)],ci=(_0x5e2f01,_0x2df290,_0x187099,_0x42c3e7)=>{const _0xe98796=_0x1f2fa;for(var _0x285b52=_0x42c3e7>0x1?void 0x0:_0x42c3e7?ai(_0x2df290,_0x187099):_0x2df290,_0x375c85=_0x5e2f01[_0xe98796(0x339)]-0x1,_0x248d94;_0x375c85>=0x0;_0x375c85--)(_0x248d94=_0x5e2f01[_0x375c85])&&(_0x285b52=(_0x42c3e7?_0x248d94(_0x2df290,_0x187099,_0x285b52):_0x248d94(_0x285b52))||_0x285b52);return _0x42c3e7&&_0x285b52&&oi(_0x2df290,_0x187099,_0x285b52),_0x285b52;},de=(_0x1c6663,_0x371ffd)=>(_0x542fad,_0x13652a)=>_0x371ffd(_0x542fad,_0x13652a,_0x1c6663),se=(_0xfdd02d=>(_0xfdd02d[_0xfdd02d[_0x1f2fa(0x552)]=0x0]=_0x1f2fa(0x552),_0xfdd02d[_0xfdd02d[_0x1f2fa(0x1dc)]=0x1]=_0x1f2fa(0x1dc),_0xfdd02d[_0xfdd02d['OFFLINE']=0x2]='OFFLINE',_0xfdd02d[_0xfdd02d[_0x1f2fa(0x4c0)]=0x3]=_0x1f2fa(0x4c0),_0xfdd02d))(se||{});exports[_0x1f2fa(0x466)]=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x5cd0e4,_0x1aa191,_0xfca716,_0x19fd6f,_0x5e5f7c,_0x153566,_0x5f2c20,_0x32c064,_0x2f7aeb,_0x1b48ba){const _0x3e3fb0=_0x1f2fa;super(),I(this,_0x3e3fb0(0x4c9),new A[(_0x3e3fb0(0x25c))](0x0)),I(this,_0x3e3fb0(0x393),this[_0x3e3fb0(0x4c9)][_0x3e3fb0(0x5de)]()),I(this,_0x3e3fb0(0x428),new A[(_0x3e3fb0(0x2ba))]()),I(this,_0x3e3fb0(0x215),this[_0x3e3fb0(0x428)][_0x3e3fb0(0x5de)]()),I(this,'_socket'),I(this,_0x3e3fb0(0x2f4)),I(this,_0x3e3fb0(0x239)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3e3fb0(0x3e3),null),(this['_unitID']=_0x5cd0e4,this['_logService']=_0xfca716,this[_0x3e3fb0(0x41f)]=_0x19fd6f,this[_0x3e3fb0(0x2a0)]=_0x5e5f7c,this[_0x3e3fb0(0x499)]=_0x153566,this[_0x3e3fb0(0x247)]=_0x5f2c20,this['_memberService']=_0x32c064,this[_0x3e3fb0(0x5c4)]=_0x2f7aeb,this[_0x3e3fb0(0x556)]=_0x1b48ba,this[_0x3e3fb0(0x4be)]=!!this[_0x3e3fb0(0x556)],_0x1aa191[_0x3e3fb0(0x5f2)](A['takeUntil'](this[_0x3e3fb0(0x57d)]))['subscribe'](_0x2dbd15=>{const _0x1f9e86=_0x3e3fb0;var _0x56e9b0;typeof _0x2dbd15>'u'||(this[_0x1f9e86(0x182)]=_0x2dbd15,_0x2dbd15?(this[_0x1f9e86(0x38a)](_0x2dbd15),this[_0x1f9e86(0x2f4)]=_0x2dbd15[_0x1f9e86(0x32d)][_0x1f9e86(0x25e)](_0x2dff79=>{const _0x3d1418=_0x1f9e86;_0x2dff79['routeKey']===this[_0x3d1418(0x204)]&&this[_0x3d1418(0x539)](_0x2dff79);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1f9e86(0x4c9)][_0x1f9e86(0x497)](0x2),(_0x56e9b0=this['_socketMessageSubscription'])==null||_0x56e9b0[_0x1f9e86(0x484)](),this['_socketMessageSubscription']=null));}),this[_0x3e3fb0(0x305)](this[_0x3e3fb0(0x41f)][_0x3e3fb0(0x43d)](()=>{const _0x26ec43=_0x3e3fb0;var _0x45330a;(_0x45330a=this[_0x26ec43(0x182)])==null||_0x45330a['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x1f2fa(0x2e6)](){return this['_sessionStatus$']['getValue']();}[_0x1f2fa(0x296)](){const _0x2c5051=_0x1f2fa;var _0x4ee9e4,_0x42a26d;return(_0x42a26d=(_0x4ee9e4=this[_0x2c5051(0x182)])==null?void 0x0:_0x4ee9e4[_0x2c5051(0x264)])!=null?_0x42a26d:null;}[_0x1f2fa(0x366)](){const _0x93484=_0x1f2fa;super[_0x93484(0x366)](),this['dispose$'][_0x93484(0x497)](),this['dispose$']['complete']();}['close'](){const _0x1824a9=_0x1f2fa;var _0x4db678,_0x5915d0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4db678=this[_0x1824a9(0x182)])==null||_0x4db678[_0x1824a9(0x445)]({'cmd':G[_0x1824a9(0x2c9)],'data':{'roomID':this[_0x1824a9(0x204)]}}),(_0x5915d0=this['_socket'])==null||_0x5915d0[_0x1824a9(0x297)](),this[_0x1824a9(0x428)][_0x1824a9(0x60c)](),this[_0x1824a9(0x4c9)][_0x1824a9(0x60c)](),this['dispose']();}[_0x1f2fa(0x539)](_0x2ef407){const _0x344563=_0x1f2fa;_0x2ef407[_0x344563(0x2a9)]===G['JOIN']?this[_0x344563(0x260)](_0x2ef407):_0x2ef407['cmd']===G['RECV']&&this[_0x344563(0x432)](_0x2ef407);}['_joinRoom'](_0x2308f1){const _0x112804=_0x1f2fa;this['_sessionStatus$'][_0x112804(0x497)](0x1),_0x2308f1['send']({'cmd':G['JOIN'],'routeKey':this[_0x112804(0x204)],'routeType':'','data':{'rooms':[{'roomID':this[_0x112804(0x204)]}]}});}['_onJoinRoomEvent'](_0x432dbc){const _0x605571=_0x1f2fa;var _0x400b97;if(_0x432dbc[_0x605571(0x398)]===Et['FAIL']){this[_0x605571(0x2a0)][_0x605571(0x472)]({'type':ge[_0x605571(0x1ed)][_0x605571(0x56b)],'content':this[_0x605571(0x247)]['t'](_0x605571(0x173))}),this['_sessionStatus$'][_0x605571(0x497)](0x2);return;}this[_0x605571(0x4c9)]['next'](0x3);const _0x314313=(_0x400b97=_0x432dbc[_0x605571(0x462)][_0x605571(0x1d5)][this[_0x605571(0x204)]])==null?void 0x0:_0x400b97[_0x605571(0x3f2)];_0x314313&&_0x314313[_0x605571(0x601)](_0x40a868=>this[_0x605571(0x4bd)][_0x605571(0x3e6)](this['_unitID'],_0x40a868));}['_onRecvEvent'](_0x3fe25c){const _0x372b4c=_0x1f2fa;try{const _0x4f6e49=_0x3fe25c[_0x372b4c(0x462)];switch(_0x4f6e49[_0x372b4c(0x38e)]){case S[_0x372b4c(0x416)][_0x372b4c(0x48a)]:this[_0x372b4c(0x397)](_0x4f6e49),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S[_0x372b4c(0x416)][_0x372b4c(0x3ed)]:this['_onUserLeave'](_0x4f6e49),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x469)]:case S['CollaborationEvent'][_0x372b4c(0x5b8)]:this[_0x372b4c(0x3b9)](),this['_clearCollaborationTimeoutTimer'](),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x42c)]:this[_0x372b4c(0x1d8)][_0x372b4c(0x2d0)](_0x372b4c(0x324)+JSON[_0x372b4c(0x3f4)](_0x4f6e49)),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x1de)]:this[_0x372b4c(0x5c4)][_0x372b4c(0x1ce)](_0x4f6e49[_0x372b4c(0x462)]),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;default:this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);}}catch(_0x49c8b){this[_0x372b4c(0x1d8)][_0x372b4c(0x2d0)](_0x49c8b,_0x3fe25c);}}[_0x1f2fa(0x397)](_0x1d67ea){const _0x2c0ecc=_0x1f2fa;this[_0x2c0ecc(0x4bd)]['updateMember'](this['_unitID'],_0x1d67ea[_0x2c0ecc(0x462)]);}[_0x1f2fa(0x43e)](_0x3efbea){const _0x2962c1=_0x1f2fa;this[_0x2962c1(0x4bd)][_0x2962c1(0x349)](this[_0x2962c1(0x204)],_0x3efbea[_0x2962c1(0x462)]['memberID']);}async['send'](_0x3293ff,_0xae27e9){const _0x132ae8=_0x1f2fa;if(this['sessionStatus']!==0x3||!this[_0x132ae8(0x182)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3293ff[_0x132ae8(0x38e)]===S[_0x132ae8(0x416)][_0x132ae8(0x23d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3293ff)),this[_0x132ae8(0x182)][_0x132ae8(0x445)]({'cmd':G[_0x132ae8(0x451)],'routeKey':_0xae27e9,'routeType':'','data':_0x3293ff});}catch(_0x45002e){this[_0x132ae8(0x1d8)][_0x132ae8(0x2d0)](_0x45002e);}}['_scheduleCollaborationTimeoutTimer'](){const _0x55d4e7=_0x1f2fa;var _0x33f1f3;this[_0x55d4e7(0x239)]=window[_0x55d4e7(0x4f7)](()=>{const _0x32c80c=_0x55d4e7;this[_0x32c80c(0x239)]=null,this[_0x32c80c(0x2a0)][_0x32c80c(0x472)]({'type':ge[_0x32c80c(0x1ed)][_0x32c80c(0x424)],'content':this[_0x32c80c(0x247)]['t'](_0x32c80c(0x542))});},(_0x33f1f3=this[_0x55d4e7(0x499)][_0x55d4e7(0x546)](Ct))!=null?_0x33f1f3:nn);}[_0x1f2fa(0x3cd)](){const _0x572f26=_0x1f2fa;this[_0x572f26(0x239)]&&(clearTimeout(this[_0x572f26(0x239)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x57cab8){const _0x5f236c=_0x1f2fa;if(!this['_shouldReportTelemetry'])return;const {data:_0x162580}=_0x57cab8,{unitID:_0x371de7,changeset:_0x4d5b30}=_0x162580,{mutations:_0x30cc1d,type:_0xb92d38}=_0x4d5b30;this[_0x5f236c(0x3e3)]={'unitId':_0x371de7,'type':_0xb92d38,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x30cc1d)};}[_0x1f2fa(0x3b9)](){const _0x3031a6=_0x1f2fa;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x3031a6(0x1d8)][_0x3031a6(0x2d0)]('[CollaborationSession]',_0x3031a6(0x2cb));return;}this[_0x3031a6(0x3e3)][_0x3031a6(0x5fe)]=performance[_0x3031a6(0x5ec)](),this[_0x3031a6(0x3e3)]['duration']=this[_0x3031a6(0x3e3)][_0x3031a6(0x5fe)]-this[_0x3031a6(0x3e3)][_0x3031a6(0x43c)],this[_0x3031a6(0x556)][_0x3031a6(0x1ca)](ei,this[_0x3031a6(0x3e3)]),this[_0x3031a6(0x3e3)]=null;}}[_0x1f2fa(0x163)](){const _0x1a9085=_0x1f2fa;this[_0x1a9085(0x3e3)]=null;}},exports[_0x1f2fa(0x466)]=ci([de(0x2,a[_0x1f2fa(0x1af)]),de(0x3,ee[_0x1f2fa(0x5bd)]),de(0x4,ee[_0x1f2fa(0x32b)]),de(0x5,a[_0x1f2fa(0x1b0)]),de(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),de(0x7,a[_0x1f2fa(0x28d)](exports['MemberService'])),de(0x8,a[_0x1f2fa(0x28d)](Tt)),de(0x9,a[_0x1f2fa(0x246)](jn[_0x1f2fa(0x1c6)]))],exports[_0x1f2fa(0x466)]);var li=Object[_0x1f2fa(0x4e5)],hi=Object[_0x1f2fa(0x40d)],_i=(_0x822812,_0x16108c,_0x5835b7,_0x31b525)=>{for(var _0x12971c=_0x31b525>0x1?void 0x0:_0x31b525?hi(_0x16108c,_0x5835b7):_0x16108c,_0x4acc79=_0x822812['length']-0x1,_0x38e1c1;_0x4acc79>=0x0;_0x4acc79--)(_0x38e1c1=_0x822812[_0x4acc79])&&(_0x12971c=(_0x31b525?_0x38e1c1(_0x16108c,_0x5835b7,_0x12971c):_0x38e1c1(_0x12971c))||_0x12971c);return _0x31b525&&_0x12971c&&li(_0x16108c,_0x5835b7,_0x12971c),_0x12971c;},Ee=(_0xb9e98a,_0x467122)=>(_0x4ce5ed,_0x26412f)=>_0x467122(_0x4ce5ed,_0x26412f,_0xb9e98a);exports[_0x1f2fa(0x1c0)]=class extends a['Disposable']{constructor(_0x1b3c42,_0x469e46,_0x504ed9,_0x291fd3,_0x426e6f,_0x3cf458){const _0x2509fd=_0x1f2fa;super(),I(this,_0x2509fd(0x549),new A[(_0x2509fd(0x25c))](void 0x0)),I(this,_0x2509fd(0x316),this[_0x2509fd(0x549)][_0x2509fd(0x5de)]()),I(this,_0x2509fd(0x444),null),I(this,_0x2509fd(0x504),new Map()),I(this,'_status$',new A[(_0x2509fd(0x25c))](se[_0x2509fd(0x552)])),I(this,_0x2509fd(0x5d0),this[_0x2509fd(0x454)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2509fd(0x441),0x0),I(this,_0x2509fd(0x5b6)),I(this,_0x2509fd(0x186)),(this[_0x2509fd(0x2f7)]=_0x1b3c42,this[_0x2509fd(0x247)]=_0x469e46,this['_messageService']=_0x504ed9,this[_0x2509fd(0x1d8)]=_0x291fd3,this[_0x2509fd(0x499)]=_0x426e6f,this[_0x2509fd(0x59c)]=_0x3cf458,this['_initEventListeners']());}get[_0x1f2fa(0x182)](){const _0x13e160=_0x1f2fa;return this[_0x13e160(0x549)][_0x13e160(0x60e)]();}['_initEventListeners'](){const _0x3e15ee=_0x1f2fa;this[_0x3e15ee(0x32e)](),this[_0x3e15ee(0x487)]();}[_0x1f2fa(0x366)](){const _0x3b2920=_0x1f2fa;super[_0x3b2920(0x366)](),this[_0x3b2920(0x504)][_0x3b2920(0x601)](_0x1320f2=>_0x1320f2[_0x3b2920(0x366)]()),this[_0x3b2920(0x504)][_0x3b2920(0x5aa)](),this['_status$'][_0x3b2920(0x60c)]();}async['requireSession'](_0x5ec881){const _0x3ab0cd=_0x1f2fa;if(this['_sessions']['has'](_0x5ec881))return this[_0x3ab0cd(0x504)][_0x3ab0cd(0x2f6)](_0x5ec881);this[_0x3ab0cd(0x327)]();const _0xad8dea=this[_0x3ab0cd(0x2f7)][_0x3ab0cd(0x33e)](exports[_0x3ab0cd(0x466)],_0x5ec881,this[_0x3ab0cd(0x549)][_0x3ab0cd(0x5de)]());return this[_0x3ab0cd(0x504)][_0x3ab0cd(0x329)](_0x5ec881,_0xad8dea),_0xad8dea;}[_0x1f2fa(0x2d6)](_0x558f12){const _0x28ceb2=_0x1f2fa;var _0x26a9f8;const _0x27bd33=this[_0x28ceb2(0x504)][_0x28ceb2(0x2f6)](_0x558f12);_0x27bd33&&(this[_0x28ceb2(0x504)][_0x28ceb2(0x2e4)](_0x558f12),_0x27bd33[_0x28ceb2(0x297)]()),this[_0x28ceb2(0x504)][_0x28ceb2(0x51b)]||(_0x26a9f8=this['_socket'])==null||_0x26a9f8[_0x28ceb2(0x297)]();}['reconnect'](){const _0x5576b0=_0x1f2fa;this[_0x5576b0(0x441)]=0x0,this[_0x5576b0(0x161)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x5576b0(0x576)]();}[_0x1f2fa(0x490)](){const _0x24aca9=_0x1f2fa;var _0x4c4e3f,_0x5156bf;const _0x4bf8a3=this['_configService']['getConfig'](en),_0x3b7783=this[_0x24aca9(0x499)][_0x24aca9(0x546)](te),_0x5ea151=(_0x5156bf=(_0x4c4e3f=_0x3b7783==null?void 0x0:_0x3b7783[_0x24aca9(0x5cd)])!=null?_0x4c4e3f:_0x4bf8a3)!=null?_0x5156bf:Wn,_0x57bcd1=this['_socketService'][_0x24aca9(0x558)](_0x5ea151);return this['_candidateSocket']=_0x57bcd1,_0x57bcd1;}['_tryEnsureSocket'](){const _0x1841b3=_0x1f2fa;var _0x5f5734,_0x1bc695;try{const _0x15b4e4=(_0x1bc695=(_0x5f5734=this[_0x1841b3(0x182)])!=null?_0x5f5734:this[_0x1841b3(0x444)])!=null?_0x1bc695:this[_0x1841b3(0x490)]();if(_0x15b4e4){const _0x4dd9b3=_0x15b4e4[_0x1841b3(0x445)];_0x15b4e4[_0x1841b3(0x445)]=_0x59a695=>(this[_0x1841b3(0x50b)](),_0x4dd9b3[_0x1841b3(0x19a)](_0x15b4e4,[_0x59a695])),_0x15b4e4[_0x1841b3(0x32d)]['subscribe'](_0x2d75d1=>this[_0x1841b3(0x602)](_0x15b4e4,_0x2d75d1)),_0x15b4e4[_0x1841b3(0x359)]['pipe'](V['take'](0x1))[_0x1841b3(0x25e)](_0x358d44=>this[_0x1841b3(0x1d8)]['error'](_0x1841b3(0x503),_0x358d44)),_0x15b4e4[_0x1841b3(0x3ef)][_0x1841b3(0x5f2)](V['take'](0x1))['subscribe'](()=>{const _0x145d3a=_0x1841b3;this[_0x145d3a(0x480)](_0x15b4e4);}),_0x15b4e4[_0x1841b3(0x3be)][_0x1841b3(0x5f2)](V[_0x1841b3(0x300)](0x1))[_0x1841b3(0x25e)](_0x5e6c54=>{const _0x432989=_0x1841b3;this[_0x432989(0x1d8)]['debug'](_0x432989(0x4ba),_0x432989(0x48f),_0x5e6c54),this[_0x432989(0x54e)]();});}}catch(_0x7efa2){this[_0x1841b3(0x1d8)]['error'](_0x7efa2),this[_0x1841b3(0x54e)]();}}[_0x1f2fa(0x480)](_0x194644){const _0x3c3454=_0x1f2fa;this[_0x3c3454(0x1d8)][_0x3c3454(0x4fc)](_0x3c3454(0x4ba),_0x3c3454(0x48e)),_0x194644[_0x3c3454(0x445)]({'cmd':G['HELLO']}),this[_0x3c3454(0x50b)]();}['_listenToOfflineEvent'](){const _0x2d9058=_0x1f2fa;window['addEventListener']('offline',()=>this[_0x2d9058(0x4b8)]());}[_0x1f2fa(0x4b8)](){const _0x4aac16=_0x1f2fa;this['_socketReady']=!0x1,this[_0x4aac16(0x444)]=null,this['_status$'][_0x4aac16(0x497)](se[_0x4aac16(0x532)]),this[_0x4aac16(0x549)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1f2fa(0x54e)](){const _0x67fbf5=_0x1f2fa;var _0x2ce3b3;this[_0x67fbf5(0x4b8)](),this[_0x67fbf5(0x441)]<((_0x2ce3b3=this[_0x67fbf5(0x499)]['getConfig'](sn))!=null?_0x2ce3b3:Gn)?(this[_0x67fbf5(0x2a0)][_0x67fbf5(0x472)]({'key':'collaboration-session-retry','type':ge[_0x67fbf5(0x1ed)][_0x67fbf5(0x56b)],'content':this[_0x67fbf5(0x247)]['t'](_0x67fbf5(0x1f1))}),this[_0x67fbf5(0x576)]()):this[_0x67fbf5(0x2a0)]['show']({'key':_0x67fbf5(0x3e1),'type':ge['MessageType']['Error'],'content':this['_localeService']['t'](_0x67fbf5(0x3bd))});}[_0x1f2fa(0x487)](){const _0x2100db=_0x1f2fa,_0x487fa5=()=>{const _0xca4a52=_0x3f71;this['_socket']||this[_0xca4a52(0x3a5)]();},_0x16f54a=()=>{const _0x3f92fc=_0x3f71;this['_socket']||document[_0x3f92fc(0x3e9)]===_0x3f92fc(0x610)||this[_0x3f92fc(0x3a5)]();};window[_0x2100db(0x210)](_0x2100db(0x2b6),_0x487fa5),document[_0x2100db(0x210)](_0x2100db(0x522),_0x16f54a);}[_0x1f2fa(0x576)](){const _0x14b93a=_0x1f2fa;var _0x85a4ed;const _0x44f17a=this[_0x14b93a(0x441)],_0x5efd18=this['_configService'][_0x14b93a(0x546)](te),_0x512456=_0x44f17a===0x0?0x0:((_0x85a4ed=_0x5efd18==null?void 0x0:_0x5efd18[_0x14b93a(0x1a2)])!=null?_0x85a4ed:Vn)*0x2**_0x44f17a;this[_0x14b93a(0x161)]=window['setTimeout'](()=>{const _0x1d0b44=_0x14b93a;clearTimeout(this['_retryConnectingTimer']),this[_0x1d0b44(0x161)]=null,this[_0x1d0b44(0x327)]();},_0x512456),this[_0x14b93a(0x441)]+=0x1;}[_0x1f2fa(0x602)](_0x2c6d1c,_0x3b81cb){const _0x3495fe=_0x1f2fa,{cmd:_0x1027ed}=_0x3b81cb;_0x1027ed===G[_0x3495fe(0x35f)]&&!this[_0x3495fe(0x23f)]&&(_0x2c6d1c[_0x3495fe(0x264)]=_0x3b81cb[_0x3495fe(0x462)][_0x3495fe(0x264)],this[_0x3495fe(0x549)][_0x3495fe(0x497)](_0x2c6d1c),this[_0x3495fe(0x454)][_0x3495fe(0x497)](se[_0x3495fe(0x4c0)]),this[_0x3495fe(0x23f)]=!0x0,this[_0x3495fe(0x444)]=null),_0x1027ed===G[_0x3495fe(0x1a3)]&&this[_0x3495fe(0x545)](),this['_rescheduleHeartbeat']();}[_0x1f2fa(0x50b)](){const _0x4a2445=_0x1f2fa;var _0x2dfd45;this[_0x4a2445(0x51a)](),this[_0x4a2445(0x5b6)]=window[_0x4a2445(0x4f7)](()=>this[_0x4a2445(0x231)](),(_0x2dfd45=this[_0x4a2445(0x499)]['getConfig'](tn))!=null?_0x2dfd45:Fn);}[_0x1f2fa(0x231)](){const _0x42e2df=_0x1f2fa;this[_0x42e2df(0x182)][_0x42e2df(0x445)]({'cmd':G['HEARTBEAT']}),this[_0x42e2df(0x3c8)]();}[_0x1f2fa(0x3c8)](){const _0x17b41c=_0x1f2fa;var _0x31c1fa;this[_0x17b41c(0x186)]=window['setTimeout'](()=>this[_0x17b41c(0x54e)](),(_0x31c1fa=this[_0x17b41c(0x499)][_0x17b41c(0x546)](Ct))!=null?_0x31c1fa:nn);}['_clearHeartbeatTimer'](){const _0x59142f=_0x1f2fa;this[_0x59142f(0x5b6)]!=null&&(clearTimeout(this[_0x59142f(0x5b6)]),this[_0x59142f(0x5b6)]=null);}['_clearTimeoutTimer'](){const _0x28f34e=_0x1f2fa;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x28f34e(0x186)]),this[_0x28f34e(0x186)]=null);}},exports[_0x1f2fa(0x1c0)]=_i([Ee(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Ee(0x1,a[_0x1f2fa(0x28d)](a['LocaleService'])),Ee(0x2,ee['IMessageService']),Ee(0x3,a[_0x1f2fa(0x1af)]),Ee(0x4,a[_0x1f2fa(0x1b0)]),Ee(0x5,bt)],exports[_0x1f2fa(0x1c0)]);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x1f2fa(0x353)](0x10)['slice'](0x1));function ui(_0x27b7cc,_0x4b1afc=0x0){return(Y[_0x27b7cc[_0x4b1afc+0x0]]+Y[_0x27b7cc[_0x4b1afc+0x1]]+Y[_0x27b7cc[_0x4b1afc+0x2]]+Y[_0x27b7cc[_0x4b1afc+0x3]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x4]]+Y[_0x27b7cc[_0x4b1afc+0x5]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x6]]+Y[_0x27b7cc[_0x4b1afc+0x7]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x8]]+Y[_0x27b7cc[_0x4b1afc+0x9]]+'-'+Y[_0x27b7cc[_0x4b1afc+0xa]]+Y[_0x27b7cc[_0x4b1afc+0xb]]+Y[_0x27b7cc[_0x4b1afc+0xc]]+Y[_0x27b7cc[_0x4b1afc+0xd]]+Y[_0x27b7cc[_0x4b1afc+0xe]]+Y[_0x27b7cc[_0x4b1afc+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x356062=_0x1f2fa;if(!Je){if(typeof crypto>'u'||!crypto[_0x356062(0x168)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x356062(0x168)]['bind'](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x1f2fa(0x3c9)]&&crypto[_0x1f2fa(0x3c9)][_0x1f2fa(0x1cc)](crypto),Mt={'randomUUID':vi};function mi(_0xc9dbbf,_0x194dba,_0x588dfb){const _0x3e0a62=_0x1f2fa;if(Mt[_0x3e0a62(0x3c9)]&&!_0x194dba&&!_0xc9dbbf)return Mt[_0x3e0a62(0x3c9)]();_0xc9dbbf=_0xc9dbbf||{};const _0x2bf863=_0xc9dbbf['random']||(_0xc9dbbf[_0x3e0a62(0x5c9)]||fi)();return _0x2bf863[0x6]=_0x2bf863[0x6]&0xf|0x40,_0x2bf863[0x8]=_0x2bf863[0x8]&0x3f|0x80,ui(_0x2bf863);}var Si=Object['defineProperty'],pi=Object[_0x1f2fa(0x40d)],gi=(_0x31fd70,_0x35628b,_0x10d6e9,_0x4a9d39)=>{const _0x2588ac=_0x1f2fa;for(var _0x4b0d3e=_0x4a9d39>0x1?void 0x0:_0x4a9d39?pi(_0x35628b,_0x10d6e9):_0x35628b,_0x51261c=_0x31fd70[_0x2588ac(0x339)]-0x1,_0x5e3cd4;_0x51261c>=0x0;_0x51261c--)(_0x5e3cd4=_0x31fd70[_0x51261c])&&(_0x4b0d3e=(_0x4a9d39?_0x5e3cd4(_0x35628b,_0x10d6e9,_0x4b0d3e):_0x5e3cd4(_0x4b0d3e))||_0x4b0d3e);return _0x4a9d39&&_0x4b0d3e&&Si(_0x35628b,_0x10d6e9,_0x4b0d3e),_0x4b0d3e;},Ze=(_0x19dfee,_0x444521)=>(_0x25ed7a,_0x342f9e)=>_0x444521(_0x25ed7a,_0x342f9e,_0x19dfee);let Be=class{constructor(_0x1adcbe,_0x31d6b4,_0x1a48e7){const _0x16d2e6=_0x1f2fa;this['_injector']=_0x1adcbe,this[_0x16d2e6(0x5ce)]=_0x31d6b4,this[_0x16d2e6(0x303)]=_0x1a48e7;}[_0x1f2fa(0x1ee)](_0x229af3){const _0x5b848f=_0x1f2fa;this[_0x5b848f(0x240)](_0x229af3),this[_0x5b848f(0x33a)](_0x229af3);}[_0x1f2fa(0x5a4)](_0x1b782c){const _0x187545=_0x1f2fa,{unitID:_0x1fefe0}=_0x1b782c,_0x2b59a7=this[_0x187545(0x303)][_0x187545(0x608)](_0x1fefe0)[_0x187545(0x447)](J['DocIMEInputManagerService']),{redoCache:_0xaf4d14}=_0x2b59a7[_0x187545(0x171)]();if(_0xaf4d14[_0x187545(0x339)]===0x0)return _0x1b782c;let _0x18535e=a[_0x187545(0x34c)][_0x187545(0x272)](_0x1b782c[_0x187545(0x456)][0x0]);for(let _0x2a86e4=0x0;_0x2a86e4<_0xaf4d14[_0x187545(0x339)];_0x2a86e4++){const _0x57f7e7={'id':'doc.mutation.rich-text-editing','params':{..._0xaf4d14[_0x2a86e4]}},_0x5e9210=this['_transformService'][_0x187545(0x5a8)](_0x18535e,_0x57f7e7,!0x1);if(S[_0x187545(0x187)](_0x5e9210))throw _0x5e9210[_0x187545(0x2d0)];_0x18535e=_0x5e9210[_0x187545(0x18e)];}return{...a[_0x187545(0x34c)][_0x187545(0x272)](_0x1b782c),'mutations':[_0x18535e]};}[_0x1f2fa(0x240)](_0x9e9b17){const _0x121b36=_0x1f2fa,{unitID:_0x45df4c}=_0x9e9b17,_0x5363f8=this[_0x121b36(0x303)][_0x121b36(0x608)](_0x45df4c)[_0x121b36(0x447)](J['DocIMEInputManagerService']),{undoCache:_0x47bed1,redoCache:_0x3afa4c}=_0x5363f8[_0x121b36(0x171)]();if(_0x47bed1[_0x121b36(0x339)]===0x0||_0x3afa4c['length']===0x0)return;const _0x146f58=[],_0x4d3f73=[];let _0x1b8b5a=a['Tools'][_0x121b36(0x272)](_0x9e9b17[_0x121b36(0x456)][0x0]),_0x3646cf=a[_0x121b36(0x34c)][_0x121b36(0x272)](_0x9e9b17[_0x121b36(0x456)][0x0]);for(let _0x2a7c4d=_0x47bed1['length']-0x1;_0x2a7c4d>=0x0;_0x2a7c4d--){const _0x381f40={'id':_0x121b36(0x4dc),'params':{..._0x47bed1[_0x2a7c4d]}},_0x136292={'id':_0x121b36(0x4dc),'params':{..._0x3afa4c[_0x2a7c4d]}},_0x2d03cd=this[_0x121b36(0x5ce)][_0x121b36(0x5a8)](_0x1b8b5a,_0x381f40,!0x1),_0x423f9c=this['_transformService']['transformMutation'](_0x3646cf,_0x136292,!0x1);if(S[_0x121b36(0x187)](_0x2d03cd))throw _0x2d03cd['error'];if(S[_0x121b36(0x187)](_0x423f9c))throw _0x423f9c[_0x121b36(0x2d0)];_0x146f58['unshift'](_0x2d03cd[_0x121b36(0x26e)][_0x121b36(0x389)]),_0x4d3f73['unshift'](_0x423f9c[_0x121b36(0x26e)][_0x121b36(0x389)]),_0x1b8b5a=_0x2d03cd['m1Prime'],_0x3646cf=_0x423f9c[_0x121b36(0x18e)];}_0x5363f8[_0x121b36(0x1f3)]({'undoCache':_0x146f58,'redoCache':_0x4d3f73});}['_transformPreviousActiveRange'](_0x30954d){const _0x3903e4=_0x1f2fa,{unitID:_0x5a5549}=_0x30954d,_0x5207ff=this[_0x3903e4(0x303)][_0x3903e4(0x608)](_0x5a5549)['with'](J[_0x3903e4(0x164)]),_0x59b77e=_0x5207ff[_0x3903e4(0x5d5)]();if(_0x59b77e==null)return;const _0x57fdf8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30954d[_0x3903e4(0x604)],'actions':null,'textRanges':[_0x59b77e]}}],_0x2d02a1=this[_0x3903e4(0x5ce)][_0x3903e4(0x403)](_0x30954d,_0x57fdf8);if(!S['isTransformMutationsWithChangesetSuccess'](_0x2d02a1))throw _0x2d02a1[_0x3903e4(0x2d0)];const _0x490e10=_0x2d02a1[_0x3903e4(0x26e)][0x0][_0x3903e4(0x389)][_0x3903e4(0x30e)];Array[_0x3903e4(0x4ff)](_0x490e10)&&_0x490e10[_0x3903e4(0x339)]&&_0x5207ff[_0x3903e4(0x180)](_0x490e10[0x0]);}};Be=gi([Ze(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Ze(0x1,S[_0x1f2fa(0x3ff)]),Ze(0x2,K[_0x1f2fa(0x328)])],Be);var Ii=Object[_0x1f2fa(0x4e5)],Ci=Object[_0x1f2fa(0x40d)],Ei=(_0x3f5c94,_0x1771e9,_0xf1b5c7,_0x44de9f)=>{const _0x347390=_0x1f2fa;for(var _0x4f734a=_0x44de9f>0x1?void 0x0:_0x44de9f?Ci(_0x1771e9,_0xf1b5c7):_0x1771e9,_0x3bd699=_0x3f5c94[_0x347390(0x339)]-0x1,_0x35d649;_0x3bd699>=0x0;_0x3bd699--)(_0x35d649=_0x3f5c94[_0x3bd699])&&(_0x4f734a=(_0x44de9f?_0x35d649(_0x1771e9,_0xf1b5c7,_0x4f734a):_0x35d649(_0x4f734a))||_0x4f734a);return _0x44de9f&&_0x4f734a&&Ii(_0x1771e9,_0xf1b5c7,_0x4f734a),_0x4f734a;},Pe=(_0x18b6d5,_0x18a65f)=>(_0x523311,_0x1dc093)=>_0x18a65f(_0x523311,_0x1dc093,_0x18b6d5);exports[_0x1f2fa(0x333)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5c8a6d,_0x546e87,_0x52a45d,_0x1c8a47,_0x5ac191){const _0xfe9c7=_0x1f2fa;super(),I(this,_0xfe9c7(0x22f),new Map()),I(this,_0xfe9c7(0x52d),new Map()),I(this,'_disabled',!0x1),(this[_0xfe9c7(0x499)]=_0x5c8a6d,this[_0xfe9c7(0x408)]=_0x546e87,this['_beforeCloseService']=_0x52a45d,this['_localeService']=_0x1c8a47,this['_revisionService']=_0x5ac191,this[_0xfe9c7(0x253)]());}[_0x1f2fa(0x44c)](){const _0x17aeb5=_0x1f2fa;this[_0x17aeb5(0x350)]=!0x0;}[_0x1f2fa(0x523)](){this['_disabled']=!0x1;}[_0x1f2fa(0x366)](){const _0x2fe835=_0x1f2fa;this['exhaustSavingTask']()[_0x2fe835(0x213)](()=>super['dispose']());}async[_0x1f2fa(0x5f6)](_0x140c14){const _0x4e6499=_0x1f2fa;return this[_0x4e6499(0x350)]?null:this[_0x4e6499(0x408)]['getItem'](At(_0x140c14));}async[_0x1f2fa(0x5fd)](_0x4acf3e,_0xec1ea3){const _0x2dfebf=_0x1f2fa;return!!this[_0x2dfebf(0x408)]['setItem'](_0x4acf3e,_0xec1ea3);}[_0x1f2fa(0x2b1)](_0x1dd507,_0x480375,_0x3aa5e6,_0x309b22){const _0x1767fc=_0x1f2fa,_0x489704=this[_0x1767fc(0x4cd)]['getCurrentRevOfUnit'](_0x1dd507);this[_0x1767fc(0x22f)][_0x1767fc(0x329)](_0x1dd507,{'unitID':_0x1dd507,'type':_0x480375,'awaitingChangeset':_0x3aa5e6,'mutations':_0x309b22,'rev':_0x489704}),this[_0x1767fc(0x52d)][_0x1767fc(0x3d5)](_0x1dd507)||this[_0x1767fc(0x2d5)](_0x1dd507);}[_0x1f2fa(0x2d5)](_0x120bab){const _0x4654d7=_0x1f2fa,_0x576994=this[_0x4654d7(0x36f)]();_0x576994===0x0?this['_saveCache'](_0x120bab):this[_0x4654d7(0x52d)][_0x4654d7(0x329)](_0x120bab,setTimeout(()=>this[_0x4654d7(0x395)](_0x120bab),_0x576994));}['_getSaveTimeout'](){const _0x280b2f=_0x1f2fa;var _0xa40055;return(_0xa40055=this['_configService'][_0x280b2f(0x546)](rn))!=null?_0xa40055:Yn;}[_0x1f2fa(0x395)](_0x31ccc5){const _0x56fa64=_0x1f2fa,_0x1714fa=this[_0x56fa64(0x52d)][_0x56fa64(0x2f6)](_0x31ccc5);return _0x1714fa!==void 0x0&&window['clearTimeout'](_0x1714fa),this[_0x56fa64(0x408)][_0x56fa64(0x378)](At(_0x31ccc5),this[_0x56fa64(0x22f)][_0x56fa64(0x2f6)](_0x31ccc5))[_0x56fa64(0x213)](()=>this[_0x56fa64(0x52d)][_0x56fa64(0x2e4)](_0x31ccc5));}async[_0x1f2fa(0x531)](){const _0x3561a7=_0x1f2fa,_0x1173cc=[];this[_0x3561a7(0x52d)][_0x3561a7(0x601)]((_0x4662f2,_0x45c666)=>{const _0x299ec0=_0x3561a7;window[_0x299ec0(0x36a)](_0x4662f2),_0x1173cc[_0x299ec0(0x19c)](this['_saveCache'](_0x45c666)['then'](()=>{const _0x427e07=_0x299ec0;this[_0x427e07(0x52d)][_0x427e07(0x2e4)](_0x45c666);}));}),await Promise[_0x3561a7(0x302)](_0x1173cc);}[_0x1f2fa(0x253)](){const _0x476cc0=_0x1f2fa;this['disposeWithMe'](this[_0x476cc0(0x41f)][_0x476cc0(0x268)](()=>{const _0x4e06ea=_0x476cc0;if(this[_0x4e06ea(0x52d)]['size'])return this[_0x4e06ea(0x247)]['t'](_0x4e06ea(0x49d));}));}},exports[_0x1f2fa(0x333)]=Ei([Pe(0x0,a[_0x1f2fa(0x1b0)]),Pe(0x1,a[_0x1f2fa(0x4e8)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a['Inject'](a[_0x1f2fa(0x537)])),Pe(0x4,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)]))],exports[_0x1f2fa(0x333)]);function At(_0x4d435a){const _0x4a2761=_0x1f2fa;return _0x4a2761(0x293)+_0x4d435a;}var bi=Object[_0x1f2fa(0x4e5)],Ti=Object[_0x1f2fa(0x40d)],Ri=(_0x131f5e,_0x559635,_0x30cd5c,_0x21b238)=>{const _0x1ed8ec=_0x1f2fa;for(var _0x204b7e=_0x21b238>0x1?void 0x0:_0x21b238?Ti(_0x559635,_0x30cd5c):_0x559635,_0x513d9a=_0x131f5e[_0x1ed8ec(0x339)]-0x1,_0x5e8baa;_0x513d9a>=0x0;_0x513d9a--)(_0x5e8baa=_0x131f5e[_0x513d9a])&&(_0x204b7e=(_0x21b238?_0x5e8baa(_0x559635,_0x30cd5c,_0x204b7e):_0x5e8baa(_0x204b7e))||_0x204b7e);return _0x21b238&&_0x204b7e&&bi(_0x559635,_0x30cd5c,_0x204b7e),_0x204b7e;},Qe=(_0x1bf7ec,_0x3511df)=>(_0x232e13,_0x3ca01d)=>_0x3511df(_0x232e13,_0x3ca01d,_0x1bf7ec);function yi(_0x4f65f4){const _0x46041a=_0x1f2fa,{unitID:_0x53a895,mutations:_0x22b7d1}=_0x4f65f4;return{'unitId':_0x53a895,'subUnitId':_0x22b7d1[0x0][_0x46041a(0x389)][_0x46041a(0x442)]};}let ke=class{constructor(_0x24151d,_0x174fc0,_0x35860f){const _0x552f89=_0x1f2fa;this[_0x552f89(0x2f7)]=_0x24151d,this['_transformService']=_0x174fc0,this[_0x552f89(0x29d)]=_0x35860f;}[_0x1f2fa(0x216)](_0x154b80){const _0x4a35ce=_0x1f2fa;var _0x1e41fb,_0x3b8dbe,_0x4899f7,_0x240536;const _0x53a744=this['_injector']['get'](k[_0x4a35ce(0x600)]),{unitId:_0x39a382,subUnitId:_0x22652b}=yi(_0x154b80),_0x3278fc=_0x53a744[_0x4a35ce(0x396)](_0x39a382)[_0x4a35ce(0x16b)](),_0x6753c0=(_0x3b8dbe=(_0x1e41fb=this[_0x4a35ce(0x29d)][_0x4a35ce(0x3c2)](_0x39a382))==null?void 0x0:_0x1e41fb[_0x4a35ce(0x1db)]())==null?void 0x0:_0x3b8dbe[_0x4a35ce(0x2d3)]();if(_0x3278fc[_0x4a35ce(0x339)]===0x0||!_0x39a382||!_0x22652b)return;const _0x5e22d5=[{'id':k[_0x4a35ce(0x167)]['id'],'params':{'unitId':_0x39a382,'subUnitId':_0x6753c0,'selections':a[_0x4a35ce(0x34c)][_0x4a35ce(0x272)](_0x3278fc)}}],_0x2ac2a0=this['_transformService'][_0x4a35ce(0x403)](_0x154b80,_0x5e22d5);if(!S[_0x4a35ce(0x605)](_0x2ac2a0))throw _0x2ac2a0[_0x4a35ce(0x2d0)];const _0x300161=(_0x240536=(_0x4899f7=_0x2ac2a0[_0x4a35ce(0x26e)][0x0])==null?void 0x0:_0x4899f7[_0x4a35ce(0x389)])==null?void 0x0:_0x240536[_0x4a35ce(0x25b)];if(Array[_0x4a35ce(0x4ff)](_0x300161)&&_0x300161[_0x4a35ce(0x339)]){if(_0x300161[_0x4a35ce(0x339)]===_0x5e22d5[0x0][_0x4a35ce(0x389)][_0x4a35ce(0x25b)]['length']&&_0x300161[_0x4a35ce(0x3e5)]((_0x42313b,_0x13e435)=>a[_0x4a35ce(0x2f9)][_0x4a35ce(0x5ff)](_0x42313b['range'],_0x5e22d5[0x0][_0x4a35ce(0x389)][_0x4a35ce(0x25b)][_0x13e435][_0x4a35ce(0x5bb)])))return;this[_0x4a35ce(0x2f7)][_0x4a35ce(0x2f6)](a[_0x4a35ce(0x51f)])[_0x4a35ce(0x3fa)](k[_0x4a35ce(0x167)]['id'],{'unitId':_0x39a382,'subUnitId':_0x6753c0,'selections':_0x300161});}}};ke=Ri([Qe(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Qe(0x1,S[_0x1f2fa(0x3ff)]),Qe(0x2,a['IUniverInstanceService'])],ke);const qe=a[_0x1f2fa(0x3a7)](_0x1f2fa(0x477));var un=(_0x146c28=>(_0x146c28[_0x146c28[_0x1f2fa(0x191)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x146c28[_0x146c28['OTHER_CLIENTS_EDITING']=0x1]=_0x1f2fa(0x18f),_0x146c28))(un||{});const Nt=0x7530,Lt=_0x1f2fa(0x380);class Oi extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x4cf566=_0x1f2fa;super(),I(this,_0x4cf566(0x24c),a[_0x4cf566(0x34c)][_0x4cf566(0x452)]()),I(this,_0x4cf566(0x4e7),new Set()),I(this,_0x4cf566(0x2ee),new Map()),I(this,_0x4cf566(0x430),null),I(this,_0x4cf566(0x533),new Map()),I(this,_0x4cf566(0x54c),new Map()),this[_0x4cf566(0x48d)]();}[_0x1f2fa(0x366)](){const _0x310a77=_0x1f2fa;super[_0x310a77(0x366)](),this['_clearOtherTimers'][_0x310a77(0x601)]((_0x8653f9,_0x4ae67e)=>this[_0x310a77(0x517)](_0x4ae67e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x310a77(0x430)]);}[_0x1f2fa(0x4d0)](_0x714c21){const _0x18891f=_0x1f2fa;return this[_0x18891f(0x48c)](_0x714c21)[_0x18891f(0x5f2)](A[_0x18891f(0x3f8)]());}[_0x1f2fa(0x354)](_0x239df2){const _0x1aaf60=_0x1f2fa;this[_0x1aaf60(0x4e7)][_0x1aaf60(0x51b)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1aaf60(0x4e7)]['add'](_0x239df2),this['_send']({'type':0x0,'memberID':this[_0x1aaf60(0x24c)],'unitIDs':[_0x239df2],'isForwarded':!0x1});}[_0x1f2fa(0x2c6)](_0x5f3e51){const _0x5ac028=_0x1f2fa;this['_selfUnitIDs'][_0x5ac028(0x2e4)](_0x5f3e51),this[_0x5ac028(0x4e7)][_0x5ac028(0x51b)]===0x0&&this[_0x5ac028(0x430)]&&window[_0x5ac028(0x534)](this[_0x5ac028(0x430)]);}[_0x1f2fa(0x48d)](){const _0xb58652=_0x1f2fa;this[_0xb58652(0x305)](a[_0xb58652(0x5ad)](A[_0xb58652(0x42b)](window,_0xb58652(0x2d1))['subscribe'](_0x191c16=>{const _0xae95a8=_0xb58652;if(_0x191c16[_0xae95a8(0x4dd)]!==Lt||!_0x191c16['newValue'])return;const _0x5b9cd1=JSON[_0xae95a8(0x55a)](_0x191c16[_0xae95a8(0x1ef)]);this[_0xae95a8(0x1fb)](_0x5b9cd1);}))),window[_0xb58652(0x210)](_0xb58652(0x1e2),()=>this[_0xb58652(0x369)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1f2fa(0x1fb)](_0x1586d9){const _0x15aec6=_0x1f2fa;switch(_0x1586d9[_0x15aec6(0x1eb)]){case 0x0:this[_0x15aec6(0x3b4)](_0x1586d9);break;case 0x1:this[_0x15aec6(0x479)](_0x1586d9);break;case 0x2:this[_0x15aec6(0x1bb)](_0x1586d9);break;}}['_handleJoinEvent'](_0x313323){const _0x45e391=_0x1f2fa,{unitIDs:_0x40ef87,memberID:_0x2816a7,isForwarded:_0x3bf4f7}=_0x313323;_0x40ef87['forEach'](_0x792c17=>{const _0x1db55d=_0x3f71;if(!_0x3bf4f7&&this[_0x1db55d(0x2ee)][_0x1db55d(0x3d5)](_0x792c17)&&this['_ensureSubject'](_0x792c17)[_0x1db55d(0x497)](0x1),!this[_0x1db55d(0x2ee)][_0x1db55d(0x3d5)](_0x792c17)||!this[_0x1db55d(0x2ee)][_0x1db55d(0x2f6)](_0x792c17)[_0x1db55d(0x3d5)](_0x2816a7)){const _0x5f22d3=this[_0x1db55d(0x2ee)][_0x1db55d(0x2f6)](_0x792c17)||new Set();_0x5f22d3[_0x1db55d(0x515)](_0x2816a7),this[_0x1db55d(0x2ee)][_0x1db55d(0x329)](_0x792c17,_0x5f22d3),this[_0x1db55d(0x27b)](_0x2816a7);}}),_0x3bf4f7||this[_0x45e391(0x369)]({'type':0x0,'memberID':this[_0x45e391(0x24c)],'unitIDs':[...this[_0x45e391(0x4e7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2c97cf){const _0x474acd=_0x1f2fa;this[_0x474acd(0x517)](_0x2c97cf);const _0x4d30d4=window[_0x474acd(0x4f7)](()=>{this['_unitOnClients']['forEach'](_0x16d2be=>{_0x16d2be['delete'](_0x2c97cf);});},Nt*0x2);this['_clearOtherTimers'][_0x474acd(0x329)](_0x2c97cf,_0x4d30d4);}[_0x1f2fa(0x517)](_0x254a2f){const _0x11d68d=_0x1f2fa;if(this['_clearOtherTimers'][_0x11d68d(0x3d5)](_0x254a2f)){const _0xae1f48=this[_0x11d68d(0x533)][_0x11d68d(0x2f6)](_0x254a2f);_0xae1f48&&window[_0x11d68d(0x36a)](_0xae1f48),this[_0x11d68d(0x533)][_0x11d68d(0x329)](_0x254a2f,null);}}['_handleLeaveEvent'](_0x4b5d91){const _0x1e3c6e=_0x1f2fa,{memberID:_0x44201e,unitIDs:_0x5532ff}=_0x4b5d91;_0x5532ff['forEach'](_0x185660=>{const _0x2a14f8=_0x3f71;var _0x51bb68;const _0x21a798=this[_0x2a14f8(0x2ee)]['get'](_0x185660);_0x21a798&&(_0x21a798[_0x2a14f8(0x2e4)](_0x44201e),(_0x51bb68=this['_ensureSubject'](_0x185660))==null||_0x51bb68[_0x2a14f8(0x497)](_0x21a798['size']===0x0?0x0:0x1));}),this[_0x1e3c6e(0x517)](_0x44201e);}[_0x1f2fa(0x1bb)](_0x143c68){const _0x324701=_0x1f2fa;this[_0x324701(0x27b)](_0x143c68[_0x324701(0x264)]);}[_0x1f2fa(0x369)](_0x295175){const _0x5481e4=_0x1f2fa;localStorage[_0x5481e4(0x378)](Lt,JSON['stringify'](_0x295175));}[_0x1f2fa(0x4e0)](){const _0x4948db=_0x1f2fa;this['_heartbeatTimer']=window[_0x4948db(0x27e)](()=>{const _0x33dbd6=_0x4948db;this['_send']({'type':0x2,'memberID':this[_0x33dbd6(0x24c)]});},Nt);}[_0x1f2fa(0x48c)](_0xd92c11){const _0x698cce=_0x1f2fa;return this['_unitStatus'][_0x698cce(0x3d5)](_0xd92c11)||this[_0x698cce(0x54c)]['set'](_0xd92c11,new A['BehaviorSubject'](0x0)),this[_0x698cce(0x54c)]['get'](_0xd92c11);}}var Di=Object[_0x1f2fa(0x4e5)],wi=Object[_0x1f2fa(0x40d)],Pi=(_0x31cd4,_0x5c3f4e,_0x229fb0,_0x132588)=>{const _0x53267d=_0x1f2fa;for(var _0x48572c=_0x132588>0x1?void 0x0:_0x132588?wi(_0x5c3f4e,_0x229fb0):_0x5c3f4e,_0x4fe148=_0x31cd4[_0x53267d(0x339)]-0x1,_0x44dca3;_0x4fe148>=0x0;_0x4fe148--)(_0x44dca3=_0x31cd4[_0x4fe148])&&(_0x48572c=(_0x132588?_0x44dca3(_0x5c3f4e,_0x229fb0,_0x48572c):_0x44dca3(_0x48572c))||_0x48572c);return _0x132588&&_0x48572c&&Di(_0x5c3f4e,_0x229fb0,_0x48572c),_0x48572c;},et=(_0x2ab15c,_0x5efde8)=>(_0x5891ff,_0x5cbc17)=>_0x5efde8(_0x5891ff,_0x5cbc17,_0x2ab15c);let We=class{constructor(_0x9aeaea,_0x1c904e,_0x5c93df){const _0xa15f99=_0x1f2fa;this[_0xa15f99(0x2f7)]=_0x9aeaea,this[_0xa15f99(0x5ce)]=_0x1c904e,this[_0xa15f99(0x3bf)]=_0x5c93df;}[_0x1f2fa(0x3a6)](_0x19114b){const _0x5139c0=_0x1f2fa;this[_0x5139c0(0x381)](_0x19114b);}[_0x1f2fa(0x5a4)](_0x2f425a){const _0x445b2a=_0x1f2fa,{unitID:_0x471ee3}=_0x2f425a,{collaboration:_0x3aaf1d}=this[_0x445b2a(0x3bf)][_0x445b2a(0x482)](_0x471ee3);if(_0x3aaf1d[_0x445b2a(0x339)]===0x0)return _0x2f425a;let _0x3c5bab=a[_0x445b2a(0x34c)]['deepClone'](_0x2f425a['mutations'][0x0]);for(let _0x10a660=0x0;_0x10a660<_0x3aaf1d[_0x445b2a(0x339)];_0x10a660++){const _0x50da71={'id':_0x445b2a(0x4dc),'params':{'unitId':_0x3aaf1d[_0x10a660]['unitId'],..._0x3aaf1d[_0x10a660][_0x445b2a(0x4ed)]}},_0x105674=this[_0x445b2a(0x5ce)][_0x445b2a(0x5a8)](_0x3c5bab,_0x50da71,!0x1);if(S[_0x445b2a(0x187)](_0x105674))throw _0x105674['error'];_0x3c5bab=_0x105674[_0x445b2a(0x18e)];}return{...a[_0x445b2a(0x34c)][_0x445b2a(0x272)](_0x2f425a),'mutations':[_0x3c5bab]};}[_0x1f2fa(0x381)](_0x4b2781){const _0x220304=_0x1f2fa,{unitID:_0x4c402d}=_0x4b2781,{history:_0x40234f,collaboration:_0x2f3a3d}=this[_0x220304(0x3bf)][_0x220304(0x482)](_0x4c402d);if(_0x40234f['length']===0x0&&_0x2f3a3d[_0x220304(0x339)]===0x0)return;const _0x440af9=[],_0x502755=[];let _0x1739c7=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]),_0x4b6a2c=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]);for(let _0x248cc5=_0x40234f['length']-0x1;_0x248cc5>=0x0;_0x248cc5--){const _0xbc5fbf={'id':_0x220304(0x4dc),'params':{'unitId':_0x40234f[_0x248cc5][_0x220304(0x4e3)],..._0x40234f[_0x248cc5][_0x220304(0x2dd)]}},_0x74abd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40234f[_0x248cc5][_0x220304(0x4e3)],..._0x40234f[_0x248cc5]['redoState']}},_0x1a10b2=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x1739c7,_0xbc5fbf,!0x1),_0x2f2ce0=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x4b6a2c,_0x74abd2,!0x1);if(S['isTransformMutationFailure'](_0x1a10b2))throw _0x1a10b2[_0x220304(0x2d0)];if(S['isTransformMutationFailure'](_0x2f2ce0))throw _0x2f2ce0[_0x220304(0x2d0)];_0x440af9[_0x220304(0x1e3)]({..._0x40234f[_0x248cc5],'undoState':_0x1a10b2[_0x220304(0x26e)][_0x220304(0x389)],'redoState':_0x2f2ce0[_0x220304(0x26e)][_0x220304(0x389)]}),_0x1739c7=_0x1a10b2['m1Prime'],_0x4b6a2c=_0x2f2ce0[_0x220304(0x18e)];}_0x1739c7=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]),_0x4b6a2c=a[_0x220304(0x34c)]['deepClone'](_0x4b2781[_0x220304(0x456)][0x0]);for(let _0x111639=_0x2f3a3d[_0x220304(0x339)]-0x1;_0x111639>=0x0;_0x111639--){const _0x1e3a43={'id':_0x220304(0x4dc),'params':{'unitId':_0x2f3a3d[_0x111639][_0x220304(0x4e3)],..._0x2f3a3d[_0x111639][_0x220304(0x2dd)]}},_0x4e54d2={'id':_0x220304(0x4dc),'params':{'unitId':_0x2f3a3d[_0x111639][_0x220304(0x4e3)],..._0x2f3a3d[_0x111639][_0x220304(0x4ed)]}},_0xdf3dec=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x1739c7,_0x1e3a43,!0x1),_0xc020f5=this['_transformService'][_0x220304(0x5a8)](_0x4b6a2c,_0x4e54d2,!0x1);if(S[_0x220304(0x187)](_0xdf3dec))throw _0xdf3dec['error'];if(S[_0x220304(0x187)](_0xc020f5))throw _0xc020f5[_0x220304(0x2d0)];_0x502755[_0x220304(0x1e3)]({..._0x2f3a3d[_0x111639],'undoState':_0xdf3dec[_0x220304(0x26e)][_0x220304(0x389)],'redoState':_0xc020f5[_0x220304(0x26e)][_0x220304(0x389)]}),_0x1739c7=_0xdf3dec[_0x220304(0x18e)],_0x4b6a2c=_0xc020f5[_0x220304(0x18e)];}this[_0x220304(0x3bf)][_0x220304(0x589)](_0x4c402d,{'history':_0x440af9,'collaboration':_0x502755});}};We=Pi([et(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),et(0x1,S[_0x1f2fa(0x3ff)]),et(0x2,a[_0x1f2fa(0x28d)](J['DocStateChangeManagerService']))],We);function dn(_0x4f236d){const _0x2dbf5e=_0x1f2fa;let _0x4e785e='';for(const _0x4dc8af of _0x4f236d){const {startOffset:_0x48e37c,endOffset:_0x441dc9,isActive:_0x29d702,rangeType:_0x4f7191,segmentId:_0x371c3f,segmentPage:_0x329359}=_0x4dc8af;_0x4e785e[_0x2dbf5e(0x339)]&&(_0x4e785e+=','),_0x4e785e+=_0x48e37c+':'+_0x441dc9+':'+(_0x29d702?'1':'0')+':'+_0x4f7191+':'+_0x371c3f+':'+_0x329359;}return _0x4e785e;}function Ui(_0x109545){const _0x175be2=_0x1f2fa,_0x1dc998=_0x109545[_0x175be2(0x4c5)](','),_0x5bca3f=[];for(const _0x543e07 of _0x1dc998){const [_0x302a5b,_0x4beebb,_0x921192,_0xb2cc5,_0x4c15f0,_0x3e1c6b]=_0x543e07[_0x175be2(0x4c5)](':');_0x5bca3f[_0x175be2(0x19c)]({'startOffset':Number(_0x302a5b),'endOffset':Number(_0x4beebb),'collapsed':_0x302a5b===_0x4beebb,'isActive':_0x921192==='1','rangeType':_0xb2cc5===a['DOC_RANGE_TYPE'][_0x175be2(0x58f)]?a[_0x175be2(0x1e6)][_0x175be2(0x58f)]:a[_0x175be2(0x1e6)][_0x175be2(0x362)],'segmentId':typeof _0x4c15f0==_0x175be2(0x205)?String(_0x4c15f0):'','segmentPage':Number(_0x3e1c6b!=null?_0x3e1c6b:-0x1)});}return _0x5bca3f[_0x175be2(0x1ec)](_0x2f6769=>_0x2f6769[_0x175be2(0x3fe)])||(_0x5bca3f[0x0][_0x175be2(0x3fe)]=!0x0),_0x5bca3f;}class Rt extends a[_0x1f2fa(0x2bd)]{constructor(){const _0x4d7b91=_0x1f2fa;super(...arguments),I(this,'_collabCursorState$',new A[(_0x4d7b91(0x25c))](null)),I(this,_0x4d7b91(0x60a),this['_collabCursorState$'][_0x4d7b91(0x5de)]());}['syncEditingCollabCursor'](_0x512144){const _0x5a698a=_0x1f2fa,{unitID:_0x5a1e68,memberID:_0x1ca905,textRanges:_0x13dbe4}=_0x512144,_0x362e59=dn(_0x13dbe4);if(_0x362e59==='')return;const _0x42ff3e={'unitID':_0x5a1e68,'memberID':_0x1ca905,'selection':_0x362e59};this[_0x5a698a(0x5e5)][_0x5a698a(0x497)](_0x42ff3e);}}var Mi=Object[_0x1f2fa(0x4e5)],Ai=Object[_0x1f2fa(0x40d)],Ni=(_0x75143f,_0xa03f1c,_0x97c70a,_0x2a7960)=>{const _0xd3a4ea=_0x1f2fa;for(var _0x40ec45=_0x2a7960>0x1?void 0x0:_0x2a7960?Ai(_0xa03f1c,_0x97c70a):_0xa03f1c,_0x4bacc5=_0x75143f[_0xd3a4ea(0x339)]-0x1,_0x945209;_0x4bacc5>=0x0;_0x4bacc5--)(_0x945209=_0x75143f[_0x4bacc5])&&(_0x40ec45=(_0x2a7960?_0x945209(_0xa03f1c,_0x97c70a,_0x40ec45):_0x945209(_0x40ec45))||_0x40ec45);return _0x2a7960&&_0x40ec45&&Mi(_0xa03f1c,_0x97c70a,_0x40ec45),_0x40ec45;},xt=(_0x44cb18,_0x4a512e)=>(_0x7228ea,_0x59dbe0)=>_0x4a512e(_0x7228ea,_0x59dbe0,_0x44cb18);function _0x424e(){const _0x4ee71f=['next','decrypt','_configService','getTime','_awaitingChangeset','_getSheetObject','collaboration-client.offline-data-not-saved','EffectRefRangId','Unknown\x20user','pushState','default','hide','reject','rxjs/operators','uni.network.url-service','FETCH_MISSING','session','_docTransformSelectionsService','_themeService','execute','onRemoteRej','title','debounce','onStateChange','_undoRedoService','randomBytes','exports','appendMutation','APPLY_REVISION_CONFILICT','transformChangesets','_clearLocalCache','processBlock','react.element','_onOffline','toggleOnline','[CollaborationSessionService]','#fff','\x20to\x20','_memberService','_shouldReportTelemetry','_HTTPService','ONLINE','permissionRejEvent','_colorAssignService','UNIVER_SHEET','/rev/','split','[PendingState]:\x20received\x20rejection.','byteOffset','_updateSubUnitFromURLParams','_sessionStatus$','b64DecodeUnicode','...','SYNCED','_revisionService','max','_hash','getUnitStatus$','charAt','APPLY_REJECT','listRoles','reqId','_iKey','_removeRoom','_getSendChangesetTimeout','awaitingChangeset','saveImage','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','updatePermissionPoint','doc.mutation.rich-text-editing','key','SessionStatus','_transitionLocked','_scheduleHeartbeat','HEARTBEAT_TIMEOUT_KEY','_snapshotService','unitId','getOwnPropertySymbols','defineProperty','_userManagerService','_selfUnitIDs','ILocalStorageService','onMouseMove','getUnitId','LOGIN_URL_KEY','method','redoState','enableAuthServer','Base','collabStatus.conflict','salt','resolve','evenodd','putCollaborators','_oKey','find','setTimeout','state','rev','Undefined','/object/','debug','collabStatus.fetchMiss','_process','isArray','AWAITING','@univerjs/ui','@univerjs/engine-render','[CollaborationSessionService]:\x20socket\x20error','_sessions','UNIVER_DOC','copyFileMeta','getColor','encodeURIComponent','_collabCursorController','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_rescheduleHeartbeat','_createInitialStateImpl','?url=','map','collab-client.tooltip.reconnect','getRelativeToViewportCoord','awaiting_with_pending','_scene','_sender','ERROR_IMAGE','add','HTTPService','_removeClearOtherTimer','translate(.97)','bottom','_clearHeartbeatTimer','size','_univerInstanceService','rxjs','_onLocalMutation','ICommandService','_initCloseConn','NEW_CHANGESETS','visibilitychange','enableLocalCache','_getAPIPrefix','ColorKit','IUIPartsService','getCurrentUser','CommentService','_handler','handleIRemoveCol','_cursors','&assign=','_saveTaskMap','_onConflict','patch','getResourcesRequest','exhaustSavingTask','OFFLINE','_clearOtherTimers','clearInterval','12SjvWMK','from','LocaleService','href','_onCombEvent','_syncEditingCollabCursor','_registerDependencies','focused$','RemoveColCommandId','/block/','[FetchMissState]','collaborators','PSEUDO_FETCH_MISSING_RESULT','session.collaboration-timeout','[SyncedState]:\x20received\x20rejection.','_startDocCollabCursor','_clearTimeoutTimer','getConfig','Error\x20on\x20receiving\x20event','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socket$','UNIVER_UNKNOWN','changesets','_unitStatus','PERMISSION_DENIED','_onConnectionFailed','toggleOffline','image/jpeg','shouldCloseConn','IDLE','clone','none','_sendingTimer','_telemetryService','_resendTimer','createSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','parse','Univer','target','collaboratorID','RETRY_CONNECTING_MAX_COUNT_KEY','_doCryptBlock','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_snapshotServerService','IUniverInstanceService','splice','collabStatus.notCollab','startsWith','_compressMutationService','_sheetTransformSelectionsService','_replayCachedMutations','/fetchmissing?from=','liveShareNewHost','Warning','_doFinalize','toRgbString','@univerjs/telemetry','lib','_changesetSessionId','CHANGESET_REVISION_CONFILICT','&to=','moveTo','NodePositionConvertToRectRange','call','_tryReconnect','JOIN','lineTo','BASE64','_xformMode','onPointerEnter$','createDecryptor','dispose$','_acknowledgedAwaitingChangeset','@univerjs/sheets-ui','_onCursorDelete','_hovered','BufferedBlockAlgorithm','getCurrentRevOfUnit','COLLAB_WEB_SOCKET_URL_KEY','_map','PENDING','red300','InsertRangeMoveRightCommandId','setStateCache','onRemoteRetry','sheetId','RegularPolygon','ranges','?size=','TEXT','UNAUTHENTICATED','onMissingChangesets','@univerjs/engine-formula','pending','JSONX','fromEventSubject','Vector2','Encryptor','_transformUndoredo','localeService','auth.needGotoLoginAlert','blockSize','_socketService','arc','InsertRangeMoveDownCommandId','updateCollaborator','_getAnchorBounding','_showConflictNotification','docStateChange$','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','_initResize','_entityInit$','_updateURLWithCurrentState','transformMutation','/universer-api/oidc/authpage','clear','_commandService','enableOfflineEditing','toDisposable','confirm','UNIVER_SLIDE','/universer-api/file/{fileID}/sign-url','_removeCollabCursors','jiqing500','objectActions','OpenSSL','requireSession','_sendHeartbeatTimer','combineLatest','CHANGESET_SHOULD_RETRY','SheetCollabCursorShape','workbook','range','RevisionService','IBeforeCloseService','clipPath','fromCharCode','CollaborationEntity','Hasher','substring','symbol','_commentService','onRemoteChangeset','getMember','UniverInstanceType','withCredentials','rng','unknown','url(#on-line-single_clip0_910_349)','_clearUndo','collabWebSocketUrl','_transformService','LOCAL_CACHE_INTERVAL','status$','cfg','CHANGESET_REJ','createEncryptor','takeUntil','getActiveRange','/universer-api/comb','_onRemoteChangeset','fromCollab','joinEvent','ws://127.0.0.1:8000/universer-api/comb/connect','Decryptor','syncEditingCollabCursor','[OfflineState]:\x20received\x20acknowledgement.','asObservable','ImageUploadStatusType','_schedule','useDependency','_type','_mode','[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.','_collabCursorState$','RECV','kdf','onSyncEditingCollabCursor','HmacMD5','_prevBlock','_loadDoc','now','fillText','permission.title','_onCursorUpdate','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','203079drprhI','pipe','_getCurrentRevision','_toggleOnline','3921464gPkaHM','loadOfflineData','reset','registerHTTPInterceptor','onCommandExecuted','onTransformState','loginUrlKey','Plugin','saveOfflineData','stopTime','equals','SheetsSelectionsService','forEach','_onMessage','INTERNAL_ERROR','unitID','isTransformMutationsWithChangesetSuccess','_cursorInfo$','Tooltip','getRenderById','_initCommandExecutedListener','collabCursorState$','idSuffix','complete','_sheetSkeletonManagerService','getValue','_collabSessionService','hidden','handleInsertRangeMoveRight','[CollaborationEntity]','isTransformChangesetsSuccess','onReady','HEARTBEAT_INTERVAL_KEY','_startCollaboration','IAuthzIoService','_clearScheduledTask','save','_retryConnectingTimer','for','_throwTelemetryCollaborationNewChangeset','DocIMEInputManagerService','_roomMembers$','responseType','SetSelectionsOperation','getRandomValues','forwardRef','\x20-\x20','getCurrentSelections','_initUnitPermissionChange','_submitChangeset','unpad','DeleteRangeMoveLeftCommandId','onSendChangeset','getUndoRedoMutationParamsCache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','session.room-full','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AuthzIoHttpService','keySize','resourceIDs','UNRECOGNIZED','_doProcessBlock','_transformStateCache','/unit/','cursorInfo','_config','compute','161260iKOVbb','setActiveRange','downloadEndpointUrl','_socket','/-/object/list','_scheduleTimestamp','image/png','_timeoutTimer','isTransformMutationFailure','_labelPosition','charCodeAt','_fetchMissChangesets','readInt32LE','makeDirty','getDeserializedSheetBlock','m1Prime','OTHER_CLIENTS_EDITING','popstate','NO_OTHER_CLIENTS_EDITING','setShowComponents','update','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipher','__creator','_onRefRangeChange','IRemoteInstanceService','_context','apply','x-univer-host','push','routeKey','UNKNOWN_CODE','_substituteRedoStack','getVpScrollXYInfoByPosToVp','image/jpg','retryConnectingInterval','HEARTBEAT','_urlService','beginPath','not_collab','4435RKPdFc','SNAPSHOT_INVALID_SNAPSHOT','history','/allowed','CollaborationController','defs','backgroundColor','_updateState','ILogService','IConfigService','SEND_CHANGESET_TIMEOUT','put','serializeRangeWithSheet','readAsDataURL','SHA1','merge','InsertSheetMutation','override','msCrypto','getUnitType','_handleHeartbeatEvent','_createHandler','_applyRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','append','CollaborationSessionService','onTransformRemoteChangesetByIMECache','_drawAnchor','mergeOverrideWithDependencies','action','_isPermissionRej','ITelemetryService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SNAPSHOT_SERVER_URL_KEY','loadSheet','capture','setWaitCount','bind','collaMsg','onCommentUpdate','reduce','IPermissionService','format','ISnapshotServerService','InsertRowCommandId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','Disposable','_iv','_logService','ICollaborationSocketService','FileId','getActiveSheet','JOINING','_commentUpdate$','COMMENT_UPDATE','SEND_CHANGESET_TIMEOUT_KEY','row','compose','unload','unshift','byteLength','RemoveRowCommandId','DOC_RANGE_TYPE','OnLineSingle','replaceDocRanges','_entities','getSheetBySheetId','type','some','MessageType','transformIMECache','newValue','UnitEmbedded','session.will-retry','_onRemoteRejected','setUndoRedoMutationParamsCache','getCollabCursors$','csRejEvent','startRow','serializeCombRequest','_toggleOffline','_unlockTransition','_change$','_handleEvent','unitId\x20is\x20not\x20found','_online','_append','onlineStatusTitle','pad','file','POST','_doReset','_unitID','string','svg','univerjs-icon\x20univerjs-icon-','current','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_resendWithTimeout','buffer','APPLY_DUPLICATED','liveShareOperation','PERMISSION_REJ','\x20in\x20_schedule.','addEventListener','SHOULD_CLOSE_CONN','setCurrentUser','then','userID','event$','transformSelections','MoveRangeCommandId','_setupSubUnitSync','@univerjs/drawing','_transformSelections','deleteCollaborator','defIds','commentUpdate$','create','_color','SNAPSHOT_HAS_BEEN_REMOVED','LocalUndoRedoService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','DependentOn','hovered','_waitCount','UniverCollaborationClientPlugin','name','objectID','connection\x20error','Latin1','UnitSnapshot','WebSocketService','_getUndoStack','_cachedData','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_sendHeartbeat','fetchThroughInterceptors','_notificationService','leaveEvent','assignAColorForMemberID','searchParams','_lastPointer','_lockTransition','_collaborationTimeoutTimer','_updateLocalCache','objectType','on-line-single_clip0_910_349','SUBMIT_CHANGESET','handleMoveRange','_socketReady','_transformUndoRedoStack','HttpImport','isPermissionRej','saveSnapshot','_cursorShapes','_getMergeRange','Optional','_localeService','YUUMI_UNABLE_LOAD_URL','getImageSourceCache','1em','onlineStatusIcon','_id','off-line-single','_disableEditing','fetchMiss','CommandType','permission.content','flatMap','_setupBeforeClosingHandler','DocSelectionManagerService','height','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','whenReady','padding','_docTransformStateCacheService','sequenceExecute','selections','BehaviorSubject','/-/object/-/batch_allowed','subscribe','_checkMissing','_onJoinRoomEvent','urlChange$','_startSheetCollabCursor','displayName','memberID','assign','INotificationService','initWorkbookPermissionChange','registerBeforeClose','handleInsertRangeMoveDown','_getUploadFileURL','_updateCollabCursors','selection','body','m2Prime','catch','_syncEditingCollabCursorService','@univerjs/docs-ui','deepClone','concat','getInterceptPoints','ref','_hideTimer','getSkeleton','includes','VIEWPORT_KEY','AWAITING_WITH_PENDING','_scheduleClearOtherTimer','activeSheet$','WordArray','setInterval','jsxs','width','hostname','DEFAULT_FILE_NAME','location','values','_getRedoStack','status','fillStyle','0\x200\x2016\x2016','fetchMissingChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','switchMap','521KynUJk','Inject','BlockCipherMode','enableSingleActiveInstanceLock','ALREADY_EXISTS','UPDATE_PERMISSION_OBJ','_singleActiveUnitService','unit-cache-','trim','mapTo','getMemberID','close','setShapeProps','APPLY_PERMISSION_DENIED','isInternalEditorID','encode','_initStatusComponent','_instanceService','_data','headers','_messageService','indexOf','repeat','getFocusedUnit','HttpExport','drawWith','SNAPSHOT_URL_KEY','AUTHZ_URL_KEY','_keyPriorReset','cmd','FETCH_MISS','20TlDDNe','_docTransformIMECacheService','_incrementRevisionNumber','tag','DisposableCollection','currentTheme$','updateOfflineData','list','[DataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','CONFLICT','online','CollaborationSocketService','sigBytes','_collaborationSessionService','Subject','SheetSkeletonManagerService','_ws','RxDisposable','_transformIMECache','deserializeToCombResponse','mixIn','jsx','_keySchedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_permissionService','ImageSourceType','disposeUnit','toStringTag','Base64','LEAVE','attrs','telemetry\x20info\x20is\x20not\x20initialized','_onRemoteACK','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ENSURE_SNAPSHOT_EXECUTION','@univerjs/docs','error','storage','handleDeleteRangeMoveLeft','getSheetId','_render','_scheduleSaving','closeSession','setConfig','onlineStatus','_docSkeleton','url(#$1','RichTextEditingMutation','findNodePositionByCharIndex','undoState','LICENSE_MAX_UNITS_EXCEEDED','_transformStack','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity$','_getScale','_handleHover','delete','rgba(255,\x20255,\x20255,\x200.01)','sessionStatus','/universer-api/snapshot/','addObject','revision','interceptor','_cursor','_transformRemoteChangesetByStateCache','_textBubble','_unitOnClients','_http','univer-pro.collaboration-client-socket-service','getCollabEntity','RETRY_CONNECTING_MAX_COUNT','PasswordBasedCipher','_socketMessageSubscription','_exhaustRemoteChangesetQueue','get','_injector','CipherParams','Rectangle','IUndoRedoService','_clearRedo','random','COMPRESS_MUTATION_SEND','ThresholdInterceptorFactory','saveChangeset','take','subscribeEvent','all','_renderManagerService','_onFetchMissResult','disposeWithMe','_remoteChangesetQueue','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','useCallback','UUID','extend','connectInjector','children','getLatestCsReqIdBySid','textRanges','_colorIndex','isEditing','IImageIoService','updatePermissionObjEvent','_initRequestHeader','batchAllowed','_getSnapshotAPIPrefix','socket$','_invKeySchedule','setParam','2459338syOuNk','DesktopCollaborationStatusDisplayController','/resources','startColumn','_collaborationController','_imageSourceCache','slice','LIVESHARE_OPERATION','WebURLService','resend','function','save\x20fail\x20reason\x20is\x20','_drawRectRange','UPDATE_CURSOR','_tryEnsureSocket','IRenderManagerService','set','collabStatus.syncing','IMessageService','AES','message$','_listenToOfflineEvent','editing\x20status\x20changed\x20to','IURLService','actions','{fileID}','LocalCacheService','_hasher','state$','round','UniverIcon','delay','length','_transformPreviousActiveRange','getRangePointData','DataLoaderController','handleIRemoveRow','createInstance','react','EmptyMutation','LIVESHARE_REQUEST_HOST','colorChannel1','__esModule','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_hover','_localCacheService','M0\x200H16V16H0z','result','removeMember','_document','_ENC_XFORM_MODE','Tools','getMergeData','addObjects','src','_disabled','verdancy600','EvpKDF','toString','editingUnit','UNIVER_PROJECT','throttleTime','Utf8','SheetCollaborationEntity','error$','LIVESHARE_TERMINATE','shareReplay','fetching\x20missing\x20changesets\x20from\x20','Injector','getViewport','HELLO','_initMergeInterceptor','HmacSHA1','RECT','mode','_initDependencies','_assignedColors','dispose','getCurrentUnitForType','replace','_send','clearTimeout','/collaborator','_parse','_updateStatus','_getDownloadEndpointURL','_getSaveTimeout','DocCollaborationEntity','onTransformIME','isTransformMutationsWithChangesetFailure','collaboration-client.config','getTypeOfUnitAdded$','COLORS','crypto','_collaborationPaused','setItem','textEncoder','_state$','_loadSheet','CompressMutationService','_onRemoteRetry','registerRenderModule','getAncestorScale','ACTIVE_UNIT_EVENT_CHANNEL','_transformHistoryAndStateStack','synced','restore','use','propertyIsEnumerable','univer-online','getParam','roles','params','_joinRoom','_undoStacks','UniverCollaborationPlugin','LICENSE_DISTRO_REJECTED','eventID','sid','HTTPRequest','@univerjs-pro/collaboration','onlyLocal','sessionStatus$','_nRounds','_saveCache','getWorkbookSelections','_onUserJoin','code','pluginName','infoRsp','purple300','deserializeRangeWithSheet','conflict','parseChangesetToProtocol','loadDoc','9zhcGuQ','_resendTimeout','SetWorksheetActivateCommand','_session','min','reconnect','transformStateCache','createIdentifier','createElement','_decreaseWaiting','sheetID','FromArray','conflict.title','collabSubmitChangesetUrl','CBC','joinRsp','MD5','_anchor','_drawTextRange','NOT_FOUND','_handleJoinEvent','_members','MUTATION','NodePositionConvertToCursor','triggerDblclick','_stopTelemetryCollaborationNewChangeset','_eventUnsubscribe','incrementRevOfUnit','c2Prime','session.connection-failed','close$','_docStateChangeManagerService','baseRev','closePath','getUnit','sheets','_state','encrypt','$super','SUCCUSS','_waitForHeartbeatResponse','randomUUID','Rect','LIVESHARE_NEW_HOST','3604160pEWrBz','_clearCollaborationTimeoutTimer','WorkbookEditablePermission','gold400','addImageSourceCache','join','_pendingMutations','_cipher','xlink:href','has','touchDependencies','black','MemberService','subunit','_substituteUndoStack','filter','transformStack\x20failed!','Could\x20not\x20dynamically\x20require\x20\x22','onMissedChangesetFetched','/new_changes','0\x200\x2017\x2016','collaboration-session-retry','onTransformSelections','_telemetryInfo','snapshot','every','updateMember','YUUMI_RATE_OVER_LIMIT','_httpService','visibilityState','floor','algo','transformUndoRedo','USERS_LEAVE','getDocRanges','open$','_redoStacks','url(#off-line-single_clip0_910_343)','members','\x0aCurrent:\x20','stringify','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ciphertext','hasOwnProperty','distinctUntilChanged','COMPLETION_FINISHED','executeCommand','_DEC_XFORM_MODE','_createHelper','measureText','isActive','ITransformService','_createHmacHelper','DocSkeletonManagerService','@univerjs/design','transformMutationsWithChangeset','&source=','_draw','mapDocumentTypeToUniverType','handleDeleteRangeMoveUp','_localStorageService','_queuedRemoteChangesets','registerComponent','uploadFileServerUrl','_updateLocalCursor','getOwnPropertyDescriptor','ImageIoService','NoPadding','_reverseMap','_roomMembers','_transformRemoteChangesetByIMECache','abs','_refRangeService','ThemeService','CollaborationEvent','off-line-single_clip0_910_343','SerializableCipher','clamp','_range','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','requestParams','_shapes','OffLineSingle','_beforeCloseService','_getAPIPrefixPath','replaceState','CollaborationStatus','useRef','Error','_key','ERROR_EXCEED_SIZE','setAlpha','_event$','className','prototype','fromEvent','MSG_FOR_ERROR','contains','SnapshotServerOverHTTPService','finalize','_heartbeatTimer','826LwBRjX','_onRecvEvent','_anchorDot','@univerjs/rpc','HMAC','_getCtorByUniverType','[CollaborationSession]','currentSkeleton$','collab-rect-range-','post','registerDependencies','startTime','registerOnClose','_onUserLeave','roomMembers$','path','_retryCount','subUnitId','_executeRemoteChangeset','_candidateSocket','send','_getLoginPath','with','c1Prime','TEXT_RANGE_LAYER_INDEX','reverse','/universer-api/snapshot','disableLocalCache','_backgroundColor','_registerRenderDependencies','FAIL','RefRangeService','INGEST','generateRandomId','Fragment','_status$','cursorInfo$','mutations','[CollaborationState]:\x20apply\x20error!','_nDataBytes','url','awaiting','enc','on-line-single','ceil','text','offline','unit','fill','data','Cipher','words','univer-offline','CollaborationSession','NOT_COLLAB','getTypeOfUnitDisposed$','CHANGESET_ACK','@univerjs/network','__Key__','originalMeta','labelPosition','LIVESHARE_FETCH_OPERATIONS','collabStatus.synced','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCurrent','show','onStarting','COMPRESS_MUTATION_APPLY','registerRefRange','Shape','univer-pro.collaboration-client.single-active-unit-service','onRemoteAck','_handleLeaveEvent','[CollaborationUndoRedoService]','TOO_MANY_REQUESTS','_changesetReqId','_createInitialState','_refreshCollabCursors','color','_onConnectionOpen','pauseCollaboration','getStateCache','_name','unsubscribe','init','_getSignURL','_listenToOnlineEvent','getOffsetConfig','univer-online-status-title','USERS_ENTER','column','_ensureSubject','_init','socket\x20open.','socket\x20close','_createSocket','entries','top','onPointerLeave$','listCollaborators','getUnhiddenWorksheets','onTransformRemoteChangesetByStateCache'];_0x424e=function(){return _0x4ee71f;};return _0x424e();}let Fe=class{constructor(_0x520186,_0x7c164c){const _0x56700c=_0x1f2fa;this['_injector']=_0x520186,this[_0x56700c(0x5ce)]=_0x7c164c;}[_0x1f2fa(0x216)](_0x49d2ec){const _0x520589=_0x1f2fa;var _0x2b508a;const _0x410a02=this[_0x520589(0x2f7)][_0x520589(0x2f6)](ye[_0x520589(0x254)]),_0x28013b=(_0x2b508a=_0x410a02[_0x520589(0x3ee)]())!=null?_0x2b508a:[];if(_0x28013b[_0x520589(0x339)]===0x0)return;const _0xf18a12=_0x49d2ec[_0x520589(0x604)],_0x5bad18=[{'id':_0x520589(0x4dc),'params':{'unitId':_0xf18a12,'actions':null,'textRanges':_0x28013b}}],_0x15afc3=this[_0x520589(0x5ce)][_0x520589(0x403)](_0x49d2ec,_0x5bad18);if(!S['isTransformMutationsWithChangesetSuccess'](_0x15afc3))throw _0x15afc3[_0x520589(0x2d0)];const _0x44bf8b=_0x15afc3[_0x520589(0x26e)][0x0][_0x520589(0x389)][_0x520589(0x30e)];Array[_0x520589(0x4ff)](_0x44bf8b)&&_0x44bf8b[_0x520589(0x339)]&&_0x410a02[_0x520589(0x1e8)](_0x44bf8b,{'unitId':_0xf18a12,'subUnitId':_0xf18a12},!0x1);}};Fe=Ni([xt(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),xt(0x1,S[_0x1f2fa(0x3ff)])],Fe);const Li=new Set([k[_0x1f2fa(0x1b7)]['id']]);function jt(_0x2ae23c,_0x5708e5,_0x460aec,_0x1b024e,_0x580424){const _0x3db101=_0x1f2fa;var _0x5425b5,_0x1094df,_0x5020e1,_0x1ad435;const _0x3b106d=[];for(const _0x3b358b of _0x2ae23c)if(Li[_0x3db101(0x3d5)](_0x3b358b['id'])){if(_0x3b106d[_0x3db101(0x339)]>0x0)break;_0x3b106d[_0x3db101(0x19c)](_0x3b358b);break;}else _0x3b106d[_0x3db101(0x19c)](_0x3b358b);const _0x35f1aa=(_0x1094df=(_0x5425b5=_0x580424[_0x3db101(0x527)]())==null?void 0x0:_0x5425b5[_0x3db101(0x214)])!=null?_0x1094df:_0x3db101(0x5ca),_0xdb17ee=(_0x1ad435=(_0x5020e1=_0x580424[_0x3db101(0x527)]())==null?void 0x0:_0x5020e1[_0x3db101(0x264)])!=null?_0x1ad435:_0x3db101(0x5ca);return{'changeset':{'unitID':_0x5708e5,'type':S[_0x3db101(0x406)](_0x460aec[_0x3db101(0x1ba)](_0x5708e5)),'baseRev':_0x1b024e[_0x3db101(0x583)](_0x5708e5),'revision':0x0,'userID':_0x35f1aa,'memberID':_0xdb17ee,'mutations':_0x3b106d},'pendingMutations':_0x2ae23c[_0x3db101(0x31f)](_0x3b106d['length'])};}function xi(_0x3a3f1a,_0x29fb94,_0x3dc920,_0x25ccf5,_0x3a9f03){const _0x321795=_0x1f2fa;var _0x409a78,_0x263091,_0x4ef937,_0x55499b;const _0x4d21e2=[_0x3a3f1a[_0x321795(0x1cf)]((_0x463bf5,_0x339251)=>{const _0x166848=_0x321795;var _0x2c2f7e;const {id:_0x4e8228}=_0x463bf5,{id:_0xc29b10,type:_0x4d8ea8}=_0x339251,_0x3719fe=(_0x2c2f7e=_0x463bf5[_0x166848(0x389)])!=null?_0x2c2f7e:{'actions':null},_0x527048=_0x339251[_0x166848(0x389)];if(_0x4e8228&&_0x4e8228!==_0xc29b10)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4e8228+_0x166848(0x16a)+_0xc29b10+'.');return{..._0x463bf5,'id':_0xc29b10,'type':_0x4d8ea8,'params':{'unitId':_0x527048[_0x166848(0x4e3)],'textRanges':_0x527048[_0x166848(0x30e)],'actions':a[_0x166848(0x594)][_0x166848(0x1e1)](_0x3719fe['actions'],_0x527048[_0x166848(0x331)])}};},{})],_0x48537b=(_0x263091=(_0x409a78=_0x3a9f03['getCurrentUser']())==null?void 0x0:_0x409a78['userID'])!=null?_0x263091:_0x321795(0x5ca),_0x3bbdeb=(_0x55499b=(_0x4ef937=_0x3a9f03['getCurrentUser']())==null?void 0x0:_0x4ef937[_0x321795(0x264)])!=null?_0x55499b:_0x321795(0x5ca);return{'changeset':{'unitID':_0x29fb94,'type':S[_0x321795(0x406)](_0x3dc920[_0x321795(0x1ba)](_0x29fb94)),'baseRev':_0x25ccf5[_0x321795(0x583)](_0x29fb94),'revision':0x0,'userID':_0x48537b,'memberID':_0x3bbdeb,'mutations':_0x4d21e2},'pendingMutations':[]};}function fn(_0x41f8c7,_0x348843){const _0x2fc34e=_0x1f2fa,_0x5e4ee1=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x5e4ee1[_0x2fc34e(0x497)](_0x348843),_0x41f8c7),_0x5e4ee1[_0x2fc34e(0x5de)]()[_0x2fc34e(0x5f2)](A[_0x2fc34e(0x300)](0x1));}const ji={'id':k[_0x1f2fa(0x340)]['id'],'type':a[_0x1f2fa(0x250)][_0x1f2fa(0x3b6)],'params':{}};var $i=Object[_0x1f2fa(0x4e5)],Hi=Object[_0x1f2fa(0x40d)],Ie=(_0x4d5773,_0x2e11e3,_0x182a1a,_0x352e0d)=>{const _0x16aacb=_0x1f2fa;for(var _0x1d047e=_0x352e0d>0x1?void 0x0:_0x352e0d?Hi(_0x2e11e3,_0x182a1a):_0x2e11e3,_0x1bc827=_0x4d5773[_0x16aacb(0x339)]-0x1,_0x57b46a;_0x1bc827>=0x0;_0x1bc827--)(_0x57b46a=_0x4d5773[_0x1bc827])&&(_0x1d047e=(_0x352e0d?_0x57b46a(_0x2e11e3,_0x182a1a,_0x1d047e):_0x57b46a(_0x1d047e))||_0x1d047e);return _0x352e0d&&_0x1d047e&&$i(_0x2e11e3,_0x182a1a,_0x1d047e),_0x1d047e;},N=(_0x3b6f7c,_0x43a030)=>(_0x15e57f,_0x148601)=>_0x43a030(_0x15e57f,_0x148601,_0x3b6f7c),q=(_0x2ec486=>(_0x2ec486['NOT_COLLAB']=_0x1f2fa(0x1a6),_0x2ec486[_0x1f2fa(0x4cc)]='synced',_0x2ec486['PENDING']=_0x1f2fa(0x593),_0x2ec486[_0x1f2fa(0x500)]='awaiting',_0x2ec486['AWAITING_WITH_PENDING']=_0x1f2fa(0x511),_0x2ec486[_0x1f2fa(0x2aa)]='fetch_missing',_0x2ec486[_0x1f2fa(0x2b5)]='conflict',_0x2ec486[_0x1f2fa(0x532)]=_0x1f2fa(0x45f),_0x2ec486))(q||{});const vn=0xea60;class Ce{constructor(_0x3b3884,_0x5bc4df,_0x2d3e2f,_0x5505b0,_0x3f6a74,_0x206a3f,_0x4f91a1,_0x40b9f0,_0x51d8af){const _0x30d80c=_0x1f2fa;I(this,'_awaitingChangeset',null),I(this,_0x30d80c(0x3d2),[]),(this[_0x30d80c(0x604)]=_0x3b3884,this[_0x30d80c(0x1eb)]=_0x5bc4df,this[_0x30d80c(0x529)]=_0x3f6a74,this[_0x30d80c(0x5ab)]=_0x206a3f,this['_undoRedoService']=_0x4f91a1,this[_0x30d80c(0x4cd)]=_0x40b9f0,this[_0x30d80c(0x346)]=_0x51d8af,this[_0x30d80c(0x49b)]=_0x2d3e2f,this[_0x30d80c(0x3d2)]=_0x5505b0);}['_checkMissing'](_0x39d6d8){const _0x365dd7=_0x1f2fa,_0x12f783=this[_0x365dd7(0x4cd)][_0x365dd7(0x583)](this[_0x365dd7(0x604)]);return _0x39d6d8[_0x365dd7(0x2e9)]>_0x12f783+0x1?(this[_0x365dd7(0x529)][_0x365dd7(0x591)]({'from':_0x12f783,'to':_0x39d6d8[_0x365dd7(0x2e9)]-0x1}),!0x0):!0x1;}[_0x1f2fa(0x598)](_0x31286c){const _0x2410ac=_0x1f2fa;this[_0x2410ac(0x4af)][_0x2410ac(0x3ec)](this['unitID'],_0x31286c);}[_0x1f2fa(0x21a)](_0x3e775c){const _0xeeb12c=_0x1f2fa;var _0x2ff6a2,_0x3cab74;(_0x3cab74=(_0x2ff6a2=this['_handler'])[_0xeeb12c(0x3e2)])==null||_0x3cab74[_0xeeb12c(0x575)](_0x2ff6a2,_0x3e775c);}[_0x1f2fa(0x2be)](_0x2d4f9c){const _0x22491f=_0x1f2fa;var _0x1fae8f,_0x382c2;return(_0x382c2=(_0x1fae8f=this[_0x22491f(0x529)])[_0x22491f(0x371)])==null?void 0x0:_0x382c2[_0x22491f(0x575)](_0x1fae8f,_0x2d4f9c);}[_0x1f2fa(0x17a)](_0x2f4a48){const _0x4e2d71=_0x1f2fa;var _0xedc6c3,_0xc378d4;return(_0xc378d4=(_0xedc6c3=this[_0x4e2d71(0x529)])[_0x4e2d71(0x5fa)])==null?void 0x0:_0xc378d4[_0x4e2d71(0x575)](_0xedc6c3,_0x2f4a48);}[_0x1f2fa(0x412)](_0x318d12){const _0x474c11=_0x1f2fa;var _0x30d63b,_0x2a170d,_0x4cd96d;return(_0x4cd96d=(_0x2a170d=(_0x30d63b=this[_0x474c11(0x529)])[_0x474c11(0x1c1)])==null?void 0x0:_0x2a170d[_0x474c11(0x575)](_0x30d63b,_0x318d12))!=null?_0x4cd96d:_0x318d12;}[_0x1f2fa(0x2ec)](_0x3f20e8){const _0x723b9f=_0x1f2fa;var _0x4dfb47,_0x2acb07,_0x39c6a1;return(_0x39c6a1=(_0x2acb07=(_0x4dfb47=this[_0x723b9f(0x529)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2acb07[_0x723b9f(0x575)](_0x4dfb47,_0x3f20e8))!=null?_0x39c6a1:_0x3f20e8;}[_0x1f2fa(0x53a)](_0x2fe249){const _0x445ad2=_0x1f2fa;var _0x55f6e6,_0x494d37;if(this['type']===ie[_0x445ad2(0x505)]){const {unitID:_0x2d444f,mutations:_0x59ce6d,memberID:_0x130b6d}=_0x2fe249,_0x3fcce7=_0x59ce6d[0x0][_0x445ad2(0x389)]['textRanges'];Array['isArray'](_0x3fcce7)&&_0x3fcce7[_0x445ad2(0x339)]>0x0&&((_0x494d37=(_0x55f6e6=this[_0x445ad2(0x529)])['onSyncEditingCollabCursor'])==null||_0x494d37[_0x445ad2(0x575)](_0x55f6e6,{'unitID':_0x2d444f,'memberID':_0x130b6d,'textRanges':_0x3fcce7}));}}[_0x1f2fa(0x23a)](){const _0x4274c5=_0x1f2fa;this[_0x4274c5(0x346)][_0x4274c5(0x2b1)](this[_0x4274c5(0x604)],this[_0x4274c5(0x1eb)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x29875d=_0x1f2fa;return this[_0x29875d(0x4cd)]['getCurrentRevOfUnit'](this[_0x29875d(0x604)]);}[_0x1f2fa(0x2ad)](){const _0x4fc414=_0x1f2fa;this[_0x4fc414(0x4cd)][_0x4fc414(0x3bb)](this[_0x4fc414(0x604)]);}[_0x1f2fa(0x443)](_0x259809){const _0x1b3149=_0x1f2fa;var _0x12033d;let _0x564427=this[_0x1b3149(0x412)](_0x259809);_0x564427=this['_transformRemoteChangesetByStateCache'](_0x564427);const _0xb25b5f=a[_0x1b3149(0x25a)](_0x564427[_0x1b3149(0x456)],this[_0x1b3149(0x5ab)],{'fromCollab':!0x0});if(!_0xb25b5f['result'])throw _0xb25b5f[_0x1b3149(0x2d0)]instanceof Error?_0xb25b5f['error']:new Error((_0x12033d=_0xb25b5f[_0x1b3149(0x2d0)])!=null?_0x12033d:_0x1b3149(0x457));this['_transformIMECache'](_0x564427),this['_transformStateCache'](_0x564427),this['_transformUndoredo'](_0x259809),this[_0x1b3149(0x21a)](_0x564427),this[_0x1b3149(0x53a)](_0x564427),this[_0x1b3149(0x2ad)]();}}let Oe=class extends Ce{constructor(_0x546906,_0x5f5a2a,_0x53ad2f,_0x33e928,_0x56facf,_0x52a0a5,_0x269788,_0x5f4c56,_0xe41b57,_0x5e4d46){const _0x13f502=_0x1f2fa;super(_0x546906,_0x5f5a2a,null,[],_0x53ad2f,_0x5f4c56,_0x269788,_0x33e928,_0x56facf),I(this,_0x13f502(0x286),_0x13f502(0x382)),(this[_0x13f502(0x2f7)]=_0x52a0a5,this[_0x13f502(0x1d8)]=_0xe41b57,this[_0x13f502(0x5ce)]=_0x5e4d46);}[_0x1f2fa(0x4b2)](_0x391f8b){const _0x46f840=_0x1f2fa,_0x333a84=this['_injector'][_0x46f840(0x33e)](ce,this[_0x46f840(0x604)],this[_0x46f840(0x1eb)],[_0x391f8b],this[_0x46f840(0x529)]);return _0x333a84[_0x46f840(0x5e0)](),_0x333a84[_0x46f840(0x23a)](),_0x333a84;}[_0x1f2fa(0x5c5)](_0x3668da){const _0x3906b5=_0x1f2fa;if(this[_0x3906b5(0x25f)](_0x3668da))return this[_0x3906b5(0x2f7)][_0x3906b5(0x33e)](re,this[_0x3906b5(0x604)],this[_0x3906b5(0x1eb)],null,[],null,[_0x3668da],this[_0x3906b5(0x529)]);try{const _0x2010dc=this[_0x3906b5(0x5ce)][_0x3906b5(0x403)](_0x3668da,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x2010dc)){const {c1Prime:_0xa856f}=_0x2010dc;return this[_0x3906b5(0x443)](_0xa856f),this;}throw _0x2010dc[_0x3906b5(0x2d0)];}catch(_0x1507a6){return this[_0x3906b5(0x1d8)]['error'](_0x1507a6),this[_0x3906b5(0x52e)](!0x1);}}[_0x1f2fa(0x52e)](_0x27a5a3){const _0x146ea6=_0x1f2fa;return this[_0x146ea6(0x2f7)][_0x146ea6(0x33e)](ve,this['unitID'],this['type'],null,[],this[_0x146ea6(0x529)],_0x27a5a3);}[_0x1f2fa(0x478)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1f2fa(0x4ab)](){const _0x509fcf=_0x1f2fa;throw new Error(_0x509fcf(0x543));}[_0x1f2fa(0x58a)](){return this;}[_0x1f2fa(0x54f)](){const _0x34e46a=_0x1f2fa;return this[_0x34e46a(0x2f7)][_0x34e46a(0x33e)](me,this['unitID'],this[_0x34e46a(0x1eb)],null,[],this[_0x34e46a(0x529)]);}['toggleOnline'](){return this;}[_0x1f2fa(0x322)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f2fa(0x24f)](){const _0x4dc411=_0x1f2fa,_0x16a321=this[_0x4dc411(0x4cd)][_0x4dc411(0x583)](this[_0x4dc411(0x604)]);return this['_handler'][_0x4dc411(0x591)]({'from':_0x16a321,'to':0x0}),this['_injector'][_0x4dc411(0x33e)](re,this['unitID'],this[_0x4dc411(0x1eb)],null,[],null,[],this['_handler']);}};Oe=Ie([N(0x3,a['Inject'](S['RevisionService'])),N(0x4,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x5,a[_0x1f2fa(0x28d)](a['Injector'])),N(0x6,a[_0x1f2fa(0x2fa)]),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x3ca64b,_0xf33e32,_0x1f319b,_0x2c5945,_0x4615fa,_0x41373e,_0x471fc6,_0x37d75e,_0xa0a6b1,_0x45330e,_0x14fe25,_0x33970b,_0x43764d,_0x35a397){const _0x1075a0=_0x1f2fa;super(_0x3ca64b,_0xf33e32,null,_0x1f319b,_0x2c5945,_0x45330e,_0x35a397,_0x41373e,_0x471fc6),I(this,_0x1075a0(0x286),'pending'),I(this,'_scheduleTimestamp',null),I(this,_0x1075a0(0x555),null),(this[_0x1075a0(0x2f7)]=_0x4615fa,this[_0x1075a0(0x4bd)]=_0x37d75e,this[_0x1075a0(0x1d8)]=_0xa0a6b1,this['_configService']=_0x14fe25,this[_0x1075a0(0x5ce)]=_0x33970b,this['_univerInstanceService']=_0x43764d);}[_0x1f2fa(0x4b2)](_0x43d4bb){const _0x34d3dd=_0x1f2fa;return this[_0x34d3dd(0x3d2)]['push'](_0x43d4bb),this[_0x34d3dd(0x23a)](),this;}['onRemoteChangeset'](_0x1d5532){const _0x1ff77c=_0x1f2fa;if(this[_0x1ff77c(0x25f)](_0x1d5532))return this[_0x1ff77c(0x15f)](),this[_0x1ff77c(0x2f7)][_0x1ff77c(0x33e)](re,this[_0x1ff77c(0x604)],this['type'],null,this[_0x1ff77c(0x3d2)],null,[_0x1d5532],this['_handler']);try{const _0x19d1e1=this['_transformService'][_0x1ff77c(0x403)](_0x1d5532,this[_0x1ff77c(0x3d2)]);if(S[_0x1ff77c(0x605)](_0x19d1e1)){const {c1Prime:_0x421710,m2Prime:_0x2704ff}=_0x19d1e1;this[_0x1ff77c(0x443)](_0x421710);const _0x1dbdaa=this[_0x1ff77c(0x2f7)][_0x1ff77c(0x33e)](ce,this['unitID'],this[_0x1ff77c(0x1eb)],_0x2704ff,this[_0x1ff77c(0x529)]);return this['_clearScheduledTask'](),_0x1dbdaa[_0x1ff77c(0x5e0)](this[_0x1ff77c(0x184)]?Math[_0x1ff77c(0x4ce)](0x0,new Date()['getTime']()-this[_0x1ff77c(0x184)]):this['_getSendChangesetTimeout']()),_0x1dbdaa;}throw _0x19d1e1[_0x1ff77c(0x2d0)];}catch(_0x3e17e1){return this['_logService'][_0x1ff77c(0x2d0)](_0x3e17e1),this[_0x1ff77c(0x52e)](!0x1);}}[_0x1f2fa(0x478)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1f2fa(0x4ab)](){const _0x308bbf=_0x1f2fa;throw new Error(_0x308bbf(0x4c6));}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){const _0x2bdc61=_0x1f2fa;return this[_0x2bdc61(0x15f)](),this[_0x2bdc61(0x2f7)][_0x2bdc61(0x33e)](me,this[_0x2bdc61(0x604)],this[_0x2bdc61(0x1eb)],null,this['_pendingMutations'],this[_0x2bdc61(0x529)]);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x5e0)](_0x510c7c){const _0x4b0522=_0x1f2fa,_0x323899=_0x510c7c!=null?_0x510c7c:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()[_0x4b0522(0x49a)](),this[_0x4b0522(0x555)]=window[_0x4b0522(0x4f7)](()=>{const _0xe0216a=_0x4b0522;this[_0xe0216a(0x15f)]();let _0x1f07f9=null;switch(this[_0xe0216a(0x1eb)]){case ie[_0xe0216a(0x4c3)]:{_0x1f07f9=jt(this[_0xe0216a(0x3d2)],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this[_0xe0216a(0x4cd)],this[_0xe0216a(0x4bd)]);break;}case ie[_0xe0216a(0x505)]:{this[_0xe0216a(0x3d2)]['every'](_0x3aedf4=>_0x3aedf4['id']===ye[_0xe0216a(0x2db)]['id'])?_0x1f07f9=xi(this['_pendingMutations'],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this['_revisionService'],this[_0xe0216a(0x4bd)]):_0x1f07f9=jt(this['_pendingMutations'],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this[_0xe0216a(0x4cd)],this[_0xe0216a(0x4bd)]);break;}default:throw new Error(_0xe0216a(0x470)+this[_0xe0216a(0x1eb)]+_0xe0216a(0x20f));}const {changeset:_0x5f2e2a,pendingMutations:_0x31de71}=_0x1f07f9;this['_handler'][_0xe0216a(0x170)](_0x5f2e2a);const _0x2bfca8=_0x31de71[_0xe0216a(0x339)]?this[_0xe0216a(0x2f7)]['createInstance'](le,this[_0xe0216a(0x604)],this['type'],_0x5f2e2a,_0x31de71,this[_0xe0216a(0x529)],void 0x0):this[_0xe0216a(0x2f7)]['createInstance'](fe,this[_0xe0216a(0x604)],this[_0xe0216a(0x1eb)],_0x5f2e2a,this[_0xe0216a(0x529)]);_0x2bfca8[_0xe0216a(0x23a)](),this['_handler'][_0xe0216a(0x4ae)](this,_0x2bfca8);},_0x323899);}[_0x1f2fa(0x4d7)](){const _0x1dccab=_0x1f2fa;var _0x313e73;const _0x60fd21=this[_0x1dccab(0x499)][_0x1dccab(0x546)](te);return(_0x313e73=_0x60fd21==null?void 0x0:_0x60fd21['sendChangesetTimeout'])!=null?_0x313e73:kn;}[_0x1f2fa(0x322)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x1634c8=_0x1f2fa;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1634c8(0x555)]),this[_0x1634c8(0x555)]=null);}[_0x1f2fa(0x52e)](_0x59c2df){const _0x25dca9=_0x1f2fa;return this['_clearScheduledTask'](),this[_0x25dca9(0x2f7)][_0x25dca9(0x33e)](ve,this[_0x25dca9(0x604)],this[_0x25dca9(0x1eb)],null,this[_0x25dca9(0x3d2)],this[_0x25dca9(0x529)],_0x59c2df);}};ce=Ie([N(0x4,a[_0x1f2fa(0x28d)](a['Injector'])),N(0x5,a['Inject'](S[_0x1f2fa(0x5bc)])),N(0x6,a['Inject'](exports[_0x1f2fa(0x333)])),N(0x7,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x3d8)])),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,a['ICommandService']),N(0xa,a[_0x1f2fa(0x1b0)]),N(0xb,S['ITransformService']),N(0xc,a[_0x1f2fa(0x562)]),N(0xd,a[_0x1f2fa(0x2fa)])],ce);let fe=class extends Ce{constructor(_0x29c8bc,_0x4aa3e3,_0x122400,_0x52722b,_0x544fe8,_0x5afa49,_0x4b0762,_0x28f912,_0x451987,_0x6b0911,_0x1566c4){const _0x2be14f=_0x1f2fa;super(_0x29c8bc,_0x4aa3e3,_0x122400,[],_0x52722b,_0x28f912,_0x1566c4,_0x5afa49,_0x4b0762),I(this,'status',_0x2be14f(0x45a)),I(this,_0x2be14f(0x3a1),0x0),I(this,'_resendTimer'),I(this,_0x2be14f(0x513)),(this[_0x2be14f(0x2f7)]=_0x544fe8,this[_0x2be14f(0x1d8)]=_0x451987,this[_0x2be14f(0x5ce)]=_0x6b0911);}[_0x1f2fa(0x4b2)](_0x457565){const _0x4418c2=_0x1f2fa;this['_clearScheduledTask']();const _0x312909=this[_0x4418c2(0x2f7)]['createInstance'](le,this[_0x4418c2(0x604)],this[_0x4418c2(0x1eb)],this['_awaitingChangeset'],[_0x457565],this['_handler'],this[_0x4418c2(0x557)]);return _0x312909[_0x4418c2(0x23a)](),_0x312909;}['onRemoteChangeset'](_0x6f8314){const _0x3a6074=_0x1f2fa;if(this[_0x3a6074(0x25f)](_0x6f8314))return this[_0x3a6074(0x15f)](),this[_0x3a6074(0x2f7)]['createInstance'](re,this[_0x3a6074(0x604)],this[_0x3a6074(0x1eb)],this[_0x3a6074(0x49b)],[],null,[_0x6f8314],this['_handler']);try{const _0x5f320d=this[_0x3a6074(0x5ce)][_0x3a6074(0x4b4)]([_0x6f8314],[this[_0x3a6074(0x49b)]],!0x1);if(S[_0x3a6074(0x15a)](_0x5f320d)){const {c1Prime:_0xa50f4c,c2Prime:_0x52f6f0}=_0x5f320d;this['_executeRemoteChangeset'](_0xa50f4c[0x0]),_0x52f6f0[0x0][_0x3a6074(0x3c0)]=this[_0x3a6074(0x5f3)](),this[_0x3a6074(0x15f)]();const _0x274c05=this['_injector'][_0x3a6074(0x33e)](fe,this[_0x3a6074(0x604)],this[_0x3a6074(0x1eb)],_0x52f6f0[0x0],this['_handler']);return _0x274c05[_0x3a6074(0x23a)](),_0x274c05;}return this[_0x3a6074(0x52e)](!0x1);}catch(_0x406900){return this[_0x3a6074(0x1d8)][_0x3a6074(0x2d0)](_0x406900),this['_onConflict'](!0x1);}}[_0x1f2fa(0x478)](_0x4e1574){const _0x5a1ca1=_0x1f2fa;this[_0x5a1ca1(0x15f)]();const _0x54ec01=this[_0x5a1ca1(0x4cd)][_0x5a1ca1(0x583)](this[_0x5a1ca1(0x604)]);if(_0x4e1574[_0x5a1ca1(0x2e9)]<_0x54ec01-0x1)return this;if(this['_checkMissing'](_0x4e1574))return this[_0x5a1ca1(0x2f7)][_0x5a1ca1(0x33e)](re,this[_0x5a1ca1(0x604)],this[_0x5a1ca1(0x1eb)],null,[],this[_0x5a1ca1(0x49b)],[],this[_0x5a1ca1(0x529)]);this['_incrementRevisionNumber']();const _0x20dacf=this[_0x5a1ca1(0x2f7)][_0x5a1ca1(0x33e)](Oe,this[_0x5a1ca1(0x604)],this[_0x5a1ca1(0x1eb)],this[_0x5a1ca1(0x529)]);return _0x20dacf[_0x5a1ca1(0x23a)](),_0x20dacf;}[_0x1f2fa(0x4ab)](_0x391075){const _0xe1da6b=_0x1f2fa;return this['_onConflict'](!!(_0x391075!=null&&_0x391075[_0xe1da6b(0x242)]));}[_0x1f2fa(0x58a)](_0x394b46){const _0x5de6c4=_0x1f2fa;return this[_0x5de6c4(0x3a1)]>vn?this[_0x5de6c4(0x54f)]():(this[_0x5de6c4(0x557)]=fn(this['_resendTimeout'],{'timeout':this[_0x5de6c4(0x3a1)],'reqId':_0x394b46['reqId']}),this[_0x5de6c4(0x513)]=this[_0x5de6c4(0x557)][_0x5de6c4(0x25e)](({reqId:_0x1bdf0d,timeout:_0x3c4299})=>{const _0xebf8f5=_0x5de6c4;this[_0xebf8f5(0x20a)](_0x1bdf0d,_0x3c4299);}),this);}['toggleOffline'](){const _0x1b9380=_0x1f2fa;return this[_0x1b9380(0x15f)](),this[_0x1b9380(0x2f7)][_0x1b9380(0x33e)](me,this[_0x1b9380(0x604)],this[_0x1b9380(0x1eb)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x322)](){const _0x5f048c=_0x1f2fa;this['_handler'][_0x5f048c(0x170)](this[_0x5f048c(0x49b)]);}[_0x1f2fa(0x52e)](_0x4d8421){const _0xaa2358=_0x1f2fa;return this['_clearScheduledTask'](),this[_0xaa2358(0x2f7)][_0xaa2358(0x33e)](ve,this[_0xaa2358(0x604)],this[_0xaa2358(0x1eb)],this[_0xaa2358(0x49b)],[],this[_0xaa2358(0x529)],_0x4d8421);}[_0x1f2fa(0x20a)](_0x900314,_0x2c94cc){const _0x4e933d=_0x1f2fa;var _0x3fa740;_0x900314===((_0x3fa740=this[_0x4e933d(0x49b)])==null?void 0x0:_0x3fa740[_0x4e933d(0x4d4)])&&(this['resend'](),this['_resendTimeout']=_0x2c94cc===0x0?0x3e8:_0x2c94cc*0x2);}['_clearScheduledTask'](){const _0xe2bdf2=_0x1f2fa;var _0x324166;(_0x324166=this[_0xe2bdf2(0x513)])==null||_0x324166[_0xe2bdf2(0x484)](),this[_0xe2bdf2(0x3a1)]=0x0;}};fe=Ie([N(0x4,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),N(0x5,a['Inject'](S[_0x1f2fa(0x5bc)])),N(0x6,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,S[_0x1f2fa(0x3ff)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends Ce{constructor(_0x57ec05,_0x3f8d17,_0x515740,_0x4c48f0,_0x4020d9,_0x3249b7,_0x34b34c,_0x184175,_0x3dfbaa,_0x3feafc,_0x448192,_0x215daf,_0x586cea){const _0x1c526f=_0x1f2fa;super(_0x57ec05,_0x3f8d17,_0x515740,_0x4c48f0,_0x4020d9,_0x3feafc,_0x586cea,_0x184175,_0x3dfbaa),I(this,_0x1c526f(0x286),'awaiting_with_pending'),I(this,_0x1c526f(0x3a1),0x0),I(this,_0x1c526f(0x557)),I(this,_0x1c526f(0x513)),(this[_0x1c526f(0x2f7)]=_0x34b34c,this[_0x1c526f(0x1d8)]=_0x448192,this[_0x1c526f(0x5ce)]=_0x215daf,_0x3249b7&&(this[_0x1c526f(0x557)]=_0x3249b7,this[_0x1c526f(0x513)]=this[_0x1c526f(0x557)][_0x1c526f(0x25e)](({reqId:_0x20a86b,timeout:_0x4a54f1})=>{this['_resendWithTimeout'](_0x20a86b,_0x4a54f1);})));}['appendMutation'](_0x3415a7){const _0x2f1b56=_0x1f2fa;return this['_pendingMutations'][_0x2f1b56(0x19c)](_0x3415a7),this;}[_0x1f2fa(0x5c5)](_0x48906f){const _0x37f039=_0x1f2fa;if(this[_0x37f039(0x25f)](_0x48906f))return this[_0x37f039(0x15f)](),this[_0x37f039(0x2f7)][_0x37f039(0x33e)](re,this[_0x37f039(0x604)],this[_0x37f039(0x1eb)],this[_0x37f039(0x49b)],this[_0x37f039(0x3d2)],null,[_0x48906f],this['_handler']);try{const _0x6bc47=this[_0x37f039(0x5ce)][_0x37f039(0x4b4)]([_0x48906f],[this[_0x37f039(0x49b)]],!0x1);if(S[_0x37f039(0x15a)](_0x6bc47)){const {c1Prime:_0x50368b,c2Prime:_0x3c3a0c}=_0x6bc47,_0xab70c7=this[_0x37f039(0x5ce)]['transformMutationsWithChangeset'](_0x50368b[0x0],this['_pendingMutations']);if(S[_0x37f039(0x605)](_0xab70c7)){const {c1Prime:_0x5b2a69,m2Prime:_0x168d91}=_0xab70c7;return this[_0x37f039(0x443)](_0x5b2a69),_0x3c3a0c[0x0][_0x37f039(0x3c0)]=this['_getCurrentRevision'](),this[_0x37f039(0x15f)](),this['_injector'][_0x37f039(0x33e)](le,this[_0x37f039(0x604)],this[_0x37f039(0x1eb)],_0x3c3a0c[0x0],_0x168d91,this[_0x37f039(0x529)],void 0x0);}throw _0xab70c7[_0x37f039(0x2d0)];}throw _0x6bc47['error'];}catch(_0xa315c7){return this['_logService'][_0x37f039(0x2d0)](_0xa315c7),this[_0x37f039(0x52e)](!0x1);}}[_0x1f2fa(0x478)](_0x2ff005){const _0x1689a4=_0x1f2fa;if(this[_0x1689a4(0x15f)](),this[_0x1689a4(0x25f)](_0x2ff005))return this[_0x1689a4(0x2f7)][_0x1689a4(0x33e)](re,this['unitID'],this[_0x1689a4(0x1eb)],null,this[_0x1689a4(0x3d2)],this[_0x1689a4(0x49b)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5c07d9=this[_0x1689a4(0x2f7)][_0x1689a4(0x33e)](ce,this[_0x1689a4(0x604)],this['type'],this['_pendingMutations'],this['_handler']);return _0x5c07d9[_0x1689a4(0x5e0)](),_0x5c07d9[_0x1689a4(0x23a)](),_0x5c07d9;}[_0x1f2fa(0x4ab)](_0x5c29ab){const _0x29fd12=_0x1f2fa;return this[_0x29fd12(0x52e)](!!(_0x5c29ab!=null&&_0x5c29ab[_0x29fd12(0x242)]));}[_0x1f2fa(0x58a)](_0x2809b8){const _0x562ccb=_0x1f2fa;return this[_0x562ccb(0x3a1)]>vn?this[_0x562ccb(0x54f)]():(this[_0x562ccb(0x557)]=fn(this[_0x562ccb(0x3a1)],{'timeout':this['_resendTimeout'],'reqId':_0x2809b8[_0x562ccb(0x4d4)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x1dd910,timeout:_0x987bd0})=>{const _0x5a0d1b=_0x562ccb;this[_0x5a0d1b(0x20a)](_0x1dd910,_0x987bd0);}),this);}[_0x1f2fa(0x54f)](){const _0x2ddd08=_0x1f2fa;return this[_0x2ddd08(0x15f)](),this[_0x2ddd08(0x2f7)][_0x2ddd08(0x33e)](me,this[_0x2ddd08(0x604)],this[_0x2ddd08(0x1eb)],this[_0x2ddd08(0x49b)],this[_0x2ddd08(0x3d2)],this['_handler']);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x322)](){const _0x523ceb=_0x1f2fa;this[_0x523ceb(0x529)]['onSendChangeset'](this[_0x523ceb(0x49b)]);}[_0x1f2fa(0x52e)](_0x13f4ab){const _0x5965a7=_0x1f2fa;return this['_clearScheduledTask'](),this[_0x5965a7(0x2f7)]['createInstance'](ve,this[_0x5965a7(0x604)],this[_0x5965a7(0x1eb)],null,this['_pendingMutations'],this['_handler'],_0x13f4ab);}[_0x1f2fa(0x20a)](_0x3a7423,_0x23aa67){const _0xb558f0=_0x1f2fa;var _0x4c3fb5;_0x3a7423===((_0x4c3fb5=this['_awaitingChangeset'])==null?void 0x0:_0x4c3fb5['reqId'])&&(this[_0xb558f0(0x322)](),this['_resendTimeout']=_0x23aa67===0x0?0x3e8:_0x23aa67*0x2);}[_0x1f2fa(0x15f)](){const _0x1c2066=_0x1f2fa;var _0xbf1719;(_0xbf1719=this[_0x1c2066(0x513)])==null||_0xbf1719['unsubscribe'](),this[_0x1c2066(0x3a1)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x1f2fa(0x35d)])),N(0x7,a[_0x1f2fa(0x28d)](S['RevisionService'])),N(0x8,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x9,a['ICommandService']),N(0xa,a[_0x1f2fa(0x1af)]),N(0xb,S[_0x1f2fa(0x3ff)]),N(0xc,a[_0x1f2fa(0x2fa)])],le);let ve=class extends Ce{constructor(_0x15ca50,_0x316327,_0x13f8b9,_0x501648,_0xb4d98b,_0x2ded50=!0x1,_0x8ae5f8,_0x523aa7,_0x23e68b,_0x40d12f,_0x305e12,_0x3afbc7,_0x35f904){const _0x3af9=_0x1f2fa;super(_0x15ca50,_0x316327,_0x13f8b9,_0x501648,_0xb4d98b,_0x523aa7,_0x23e68b,_0x305e12,_0x40d12f),I(this,_0x3af9(0x286),_0x3af9(0x39d)),(this[_0x3af9(0x1c5)]=_0x2ded50,this[_0x3af9(0x2c4)]=_0x8ae5f8,this['_localeService']=_0x3afbc7,this[_0x3af9(0x233)]=_0x35f904,this[_0x3af9(0x5a1)](),this[_0x3af9(0x4b5)](),this[_0x3af9(0x24e)]());}[_0x1f2fa(0x4b2)](){return this;}[_0x1f2fa(0x5c5)](){return this;}['onRemoteAck'](){return this;}[_0x1f2fa(0x4ab)](){return this;}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){return this;}[_0x1f2fa(0x4b9)](){return this;}['resend'](){const _0x58f839=_0x1f2fa;throw new Error(_0x58f839(0x194));}['_clearLocalCache'](){const _0x31f3f9=_0x1f2fa;this['_localCacheService']['updateOfflineData'](this[_0x31f3f9(0x604)],this[_0x31f3f9(0x1eb)],null,[]);}[_0x1f2fa(0x5a1)](){const _0x4a555d=_0x1f2fa;this[_0x4a555d(0x1c5)]?this[_0x4a555d(0x233)]['show']({'title':this[_0x4a555d(0x247)]['t'](_0x4a555d(0x5ee)),'content':this[_0x4a555d(0x247)]['t'](_0x4a555d(0x251)),'type':'error','duration':0x0}):this[_0x4a555d(0x233)][_0x4a555d(0x472)]({'title':this['_localeService']['t'](_0x4a555d(0x3ac)),'content':this[_0x4a555d(0x247)]['t']('conflict.content'),'type':_0x4a555d(0x2d0),'duration':0x0});}[_0x1f2fa(0x24e)](){const _0x4da6b1=_0x1f2fa;this[_0x4da6b1(0x2c4)][_0x4da6b1(0x4db)](new k[(_0x4da6b1(0x3ce))](this[_0x4da6b1(0x604)])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a['IPermissionService'])),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x2fa)]),N(0x9,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0xa,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),N(0xb,a['Inject'](a['LocaleService'])),N(0xc,ee[_0x1f2fa(0x266)])],ve);let me=class extends Ce{constructor(_0x41cffd,_0x461def,_0x166ce6,_0x4f2c45,_0x23e810,_0x3d12c8,_0x5cf47f,_0x5589ac,_0x71c87d,_0x55aa24){const _0x35d805=_0x1f2fa;super(_0x41cffd,_0x461def,_0x166ce6,_0x4f2c45,_0x23e810,_0x71c87d,_0x55aa24,_0x5cf47f,_0x5589ac),I(this,'status',_0x35d805(0x45f)),this['_injector']=_0x3d12c8;}[_0x1f2fa(0x4b2)](_0x7e2b85){const _0x26bd81=_0x1f2fa;return this[_0x26bd81(0x3d2)][_0x26bd81(0x19c)](_0x7e2b85),this[_0x26bd81(0x23a)](),this;}[_0x1f2fa(0x5c5)](_0x29ba36){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1f2fa(0x478)](){const _0x17ee9a=_0x1f2fa;throw new Error(_0x17ee9a(0x5dd));}[_0x1f2fa(0x4ab)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){return this;}['toggleOnline'](){const _0x4a6229=_0x1f2fa,{_injector:_0x43e517,_pendingMutations:_0x1d446b,_awaitingChangeset:_0x3d58e9,unitID:_0x54ed4f,_handler:_0xc4aab9,type:_0x1e15e1}=this,_0x2abf42=mn(_0x43e517,_0x54ed4f,_0x1e15e1,_0x3d58e9,_0x1d446b,_0xc4aab9);return _0x2abf42 instanceof ce?_0x2abf42[_0x4a6229(0x5e0)]():(_0x2abf42 instanceof le||_0x2abf42 instanceof fe)&&_0x2abf42[_0x4a6229(0x322)](),_0x2abf42;}[_0x1f2fa(0x322)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};me=Ie([N(0x5,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),N(0x6,a[_0x1f2fa(0x28d)](S['RevisionService'])),N(0x7,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x8,a[_0x1f2fa(0x51f)]),N(0x9,a[_0x1f2fa(0x2fa)])],me);let re=class extends Ce{constructor(_0x4f3b41,_0x434241,_0x5aab45,_0x4cbd9b,_0x549143,_0x5dc92f,_0x340175,_0xff6052,_0x53896f,_0x8eab5e,_0xbe4772,_0x5b7e21,_0x2419f4,_0x415603){const _0x64e08=_0x1f2fa;super(_0x4f3b41,_0x434241,_0x5aab45,_0x4cbd9b,_0x340175,_0x5b7e21,_0x2419f4,_0x53896f,_0x8eab5e),I(this,_0x64e08(0x286),'fetch_missing'),(this[_0x64e08(0x57e)]=_0x549143,this['_queuedRemoteChangesets']=_0x5dc92f,this[_0x64e08(0x2f7)]=_0xff6052,this[_0x64e08(0x1d8)]=_0xbe4772,this['_transformService']=_0x415603);}[_0x1f2fa(0x3de)](_0x5117dd){const _0x2fa48c=_0x1f2fa;try{const _0xa943cc=[..._0x5117dd,...this[_0x2fa48c(0x409)]],_0x4d64c1=[this['_awaitingChangeset']||this[_0x2fa48c(0x57e)]][_0x2fa48c(0x3db)](_0x4dcbef=>!!_0x4dcbef);let _0x1ea989,_0x3474a1;if(_0x4d64c1[_0x2fa48c(0x339)]){const _0x3ba157=this[_0x2fa48c(0x5ce)][_0x2fa48c(0x4b4)](_0xa943cc,_0x4d64c1,!0x1);if(!S[_0x2fa48c(0x15a)](_0x3ba157))throw _0x3ba157['error'];_0x1ea989=_0x3ba157['c1Prime'],_0x3474a1=_0x3ba157[_0x2fa48c(0x3bc)];}else _0x1ea989=_0xa943cc,_0x3474a1=[];let _0x195224=this[_0x2fa48c(0x3d2)];_0x1ea989[_0x2fa48c(0x601)](_0x1afdb1=>{const _0x333ba=_0x2fa48c;let _0x6153c5;if(_0x195224[_0x333ba(0x339)]){const _0x5889b3=this[_0x333ba(0x5ce)][_0x333ba(0x403)](_0x1afdb1,_0x195224);if(!S[_0x333ba(0x605)](_0x5889b3))throw _0x5889b3[_0x333ba(0x2d0)];_0x6153c5=_0x5889b3[_0x333ba(0x448)],_0x195224=_0x5889b3[_0x333ba(0x26e)];}else _0x6153c5=_0x1afdb1;this['_executeRemoteChangeset'](_0x6153c5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2fa48c(0x2ad)](),this['_awaitingChangeset']&&_0x3474a1[_0x2fa48c(0x339)]&&(_0x3474a1[0x0]['baseRev']=this[_0x2fa48c(0x5f3)]());let _0x36c234;if(this[_0x2fa48c(0x49b)]&&_0x195224[_0x2fa48c(0x339)]!==0x0)_0x36c234=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](le,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x3474a1[0x0],_0x195224,this[_0x2fa48c(0x529)],void 0x0);else{if(this[_0x2fa48c(0x49b)]&&_0x195224[_0x2fa48c(0x339)]===0x0)_0x3474a1[0x0][_0x2fa48c(0x3c0)]=this['_getCurrentRevision'](),_0x36c234=this['_injector'][_0x2fa48c(0x33e)](fe,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x3474a1[0x0],this[_0x2fa48c(0x529)]);else{if(_0x195224['length']!==0x0){const _0x425757=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](ce,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x195224,this[_0x2fa48c(0x529)]);_0x425757[_0x2fa48c(0x5e0)](),_0x36c234=_0x425757;}else _0x36c234=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](Oe,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],this[_0x2fa48c(0x529)]);}}return _0x36c234[_0x2fa48c(0x23a)](),_0x36c234;}catch(_0x13abf4){return this[_0x2fa48c(0x1d8)][_0x2fa48c(0x2d0)](_0x2fa48c(0x53f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x13abf4),this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](ve,this['unitID'],this[_0x2fa48c(0x1eb)],this[_0x2fa48c(0x49b)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1f2fa(0x322)](){const _0x1457dd=_0x1f2fa;throw new Error(_0x1457dd(0x1d4));}['appendMutation'](_0x137629){const _0x2cdd2c=_0x1f2fa;return this[_0x2cdd2c(0x3d2)][_0x2cdd2c(0x19c)](_0x137629),this;}[_0x1f2fa(0x5c5)](_0x48add4){const _0x11edc9=_0x1f2fa;return this['_queuedRemoteChangesets'][_0x11edc9(0x19c)](_0x48add4),this;}[_0x1f2fa(0x478)](_0x239e9a){const _0x10eb08=_0x1f2fa;if(this[_0x10eb08(0x49b)])return this['_acknowledgedAwaitingChangeset']=this[_0x10eb08(0x49b)],this[_0x10eb08(0x49b)]=null,this;throw new Error(_0x10eb08(0x172));}[_0x1f2fa(0x4ab)](_0x1bcb18){const _0x8884e6=_0x1f2fa;return this[_0x8884e6(0x52e)](!!(_0x1bcb18!=null&&_0x1bcb18['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x1e0521=_0x1f2fa;return this[_0x1e0521(0x2f7)][_0x1e0521(0x33e)](me,this[_0x1e0521(0x604)],this[_0x1e0521(0x1eb)],this[_0x1e0521(0x49b)],this[_0x1e0521(0x3d2)],this[_0x1e0521(0x529)]);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x52e)](_0x5c4aa7){const _0x59a024=_0x1f2fa;return this[_0x59a024(0x2f7)]['createInstance'](ve,this['unitID'],this[_0x59a024(0x1eb)],this[_0x59a024(0x49b)],this[_0x59a024(0x3d2)],this['_handler'],_0x5c4aa7);}};re=Ie([N(0x7,a['Inject'](a['Injector'])),N(0x8,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),N(0x9,a[_0x1f2fa(0x28d)](exports['LocalCacheService'])),N(0xa,a[_0x1f2fa(0x1af)]),N(0xb,a[_0x1f2fa(0x51f)]),N(0xc,a['IUndoRedoService']),N(0xd,S[_0x1f2fa(0x3ff)])],re);function mn(_0x120707,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x35ce78,_0x3b57bd){const _0x24dedf=_0x1f2fa;return _0xf9a39c&&_0x35ce78[_0x24dedf(0x339)]?_0x120707[_0x24dedf(0x33e)](le,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x35ce78,_0x3b57bd,void 0x0):_0xf9a39c?_0x120707['createInstance'](fe,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x3b57bd):_0x35ce78[_0x24dedf(0x339)]?_0x120707['createInstance'](ce,_0x53c2aa,_0x55cc31,_0x35ce78,_0x3b57bd):_0x120707['createInstance'](Oe,_0x53c2aa,_0x55cc31,_0x3b57bd);}var Bi=Object[_0x1f2fa(0x4e5)],ki=Object[_0x1f2fa(0x40d)],yt=(_0x22aab9,_0x4bd316,_0x46159c,_0x29dd0f)=>{const _0xa7fe87=_0x1f2fa;for(var _0x249cb7=_0x29dd0f>0x1?void 0x0:_0x29dd0f?ki(_0x4bd316,_0x46159c):_0x4bd316,_0x4d277f=_0x22aab9[_0xa7fe87(0x339)]-0x1,_0x151a68;_0x4d277f>=0x0;_0x4d277f--)(_0x151a68=_0x22aab9[_0x4d277f])&&(_0x249cb7=(_0x29dd0f?_0x151a68(_0x4bd316,_0x46159c,_0x249cb7):_0x151a68(_0x249cb7))||_0x249cb7);return _0x29dd0f&&_0x249cb7&&Bi(_0x4bd316,_0x46159c,_0x249cb7),_0x249cb7;},H=(_0x3dc57c,_0x251c20)=>(_0x48c6f4,_0x545c1d)=>_0x251c20(_0x48c6f4,_0x545c1d,_0x3dc57c);exports['CollaborationEntity']=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x4a58a1,_0x435da4,_0x356562,_0x1982b3,_0x1b806f,_0x3c97ab,_0xc816d9,_0x353369,_0x367d18,_0x2ce4e3,_0x1fd82f,_0xb67840,_0x598f8d){const _0x8aeae=_0x1f2fa;super(),I(this,_0x8aeae(0x37a),new A[(_0x8aeae(0x25c))](null)),I(this,'state$',this[_0x8aeae(0x37a)][_0x8aeae(0x5de)]()),I(this,'_state'),I(this,_0x8aeae(0x377),!0x1),I(this,_0x8aeae(0x570),''),I(this,_0x8aeae(0x47c),0x0),I(this,_0x8aeae(0x5d0),this[_0x8aeae(0x335)][_0x8aeae(0x5f2)](A[_0x8aeae(0x50e)](_0x8755a=>_0x8755a?_0x8755a['status']:q[_0x8aeae(0x532)]),A[_0x8aeae(0x35b)](0x1))),I(this,_0x8aeae(0x4df),!0x1),I(this,_0x8aeae(0x306),[]),(this[_0x8aeae(0x604)]=_0x4a58a1,this[_0x8aeae(0x4a7)]=_0x435da4,this['_type']=_0x356562,this[_0x8aeae(0x2f7)]=_0x1982b3,this[_0x8aeae(0x346)]=_0x1b806f,this['_compressMutationService']=_0x3c97ab,this[_0x8aeae(0x247)]=_0xc816d9,this[_0x8aeae(0x4cd)]=_0x353369,this['_logService']=_0x367d18,this['_commandService']=_0x2ce4e3,this[_0x8aeae(0x2a0)]=_0x1fd82f,this[_0x8aeae(0x2c4)]=_0xb67840,this[_0x8aeae(0x292)]=_0x598f8d);}get[_0x1f2fa(0x4f8)](){const _0x29e2bf=_0x1f2fa;return this[_0x29e2bf(0x3c4)];}async['init'](){const _0x1dde55=_0x1f2fa;if(this[_0x1dde55(0x4f8)])throw new Error(_0x1dde55(0x28a));await this['_init']();}[_0x1f2fa(0x481)](){const _0x2e460c=_0x1f2fa;return this['_collaborationPaused']=!0x0,a[_0x2e460c(0x5ad)](()=>{const _0x520cc7=_0x2e460c;this[_0x520cc7(0x377)]=!0x1,this[_0x520cc7(0x2f5)]();});}[_0x1f2fa(0x1ae)](_0x442002){const _0xc3c5bc=_0x1f2fa;this[_0xc3c5bc(0x3c4)]=_0x442002,this[_0xc3c5bc(0x37a)][_0xc3c5bc(0x497)](_0x442002);}async[_0x1f2fa(0x48d)](){const _0x50c1d3=_0x1f2fa;var _0x45a583;this[_0x50c1d3(0x1ae)](await this['_createInitialState']()),this[_0x50c1d3(0x292)]&&((_0x45a583=this[_0x50c1d3(0x292)])==null||_0x45a583[_0x50c1d3(0x354)](this['unitID']),this['disposeWithMe'](this[_0x50c1d3(0x292)][_0x50c1d3(0x4d0)](this[_0x50c1d3(0x604)])[_0x50c1d3(0x25e)](_0x5d37af=>{const _0x28a71c=_0x50c1d3;this[_0x28a71c(0x1d8)]['debug'](_0x28a71c(0x612),_0x28a71c(0x32f),_0x5d37af),_0x5d37af===un[_0x28a71c(0x18f)]?(this[_0x28a71c(0x2a0)][_0x28a71c(0x472)]({'content':this[_0x28a71c(0x247)]['t']('collaboration.single-unit.warning'),'type':ge[_0x28a71c(0x1ed)][_0x28a71c(0x56b)]}),this['_permissionService'][_0x28a71c(0x4db)](new k[(_0x28a71c(0x3ce))](this[_0x28a71c(0x604)])['id'],!0x1),this[_0x28a71c(0x2c4)][_0x28a71c(0x192)](!0x1)):(this[_0x28a71c(0x2c4)][_0x28a71c(0x4db)](new k[(_0x28a71c(0x3ce))](this['unitID'])['id'],!0x0),this[_0x28a71c(0x2c4)][_0x28a71c(0x192)](!0x0));})));let _0x18f691=!0x1;return this[_0x50c1d3(0x305)](this[_0x50c1d3(0x4a7)][_0x50c1d3(0x393)][_0x50c1d3(0x25e)](_0x12b14b=>{const _0x24ee40=_0x50c1d3;_0x12b14b===se[_0x24ee40(0x4c0)]?this[_0x24ee40(0x5f4)](_0x18f691):_0x12b14b===se['OFFLINE']&&(_0x18f691=!0x0,this[_0x24ee40(0x1f8)]());})),this[_0x50c1d3(0x305)](this['session'][_0x50c1d3(0x215)][_0x50c1d3(0x25e)](_0x1578fe=>{const _0x404700=_0x50c1d3;try{switch(_0x1578fe[_0x404700(0x38e)]){case S[_0x404700(0x416)][_0x404700(0x521)]:{this[_0x404700(0x5d7)](S['parseProtocolChangeset'](_0x1578fe[_0x404700(0x462)]));break;}case S[_0x404700(0x416)][_0x404700(0x469)]:{this[_0x404700(0x2cc)](_0x1578fe[_0x404700(0x462)]);break;}case S[_0x404700(0x416)][_0x404700(0x5d2)]:{this[_0x404700(0x1f2)]();break;}case S[_0x404700(0x416)][_0x404700(0x5b8)]:{this['_onRemoteRetry'](_0x1578fe[_0x404700(0x462)]);break;}case S[_0x404700(0x416)][_0x404700(0x541)]:{this['_onFetchMissResult'](_0x1578fe[_0x404700(0x462)][_0x404700(0x54b)][_0x404700(0x50e)](_0x5e57c4=>S['parseProtocolChangeset'](_0x5e57c4)));break;}case S[_0x404700(0x416)][_0x404700(0x20e)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x34a5ab){throw console[_0x404700(0x2d0)](_0x404700(0x547),_0x34a5ab),_0x34a5ab;}})),this['_state'];}[_0x1f2fa(0x1f9)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x3032b7=_0x1f2fa;if(this[_0x3032b7(0x4df)])throw new Error(_0x3032b7(0x5e4));this[_0x3032b7(0x4df)]=!0x0;}[_0x1f2fa(0x51e)](_0x38b2e4){const _0x2b2151=_0x1f2fa;this['_lockTransition'](),this['_updateState'](this[_0x2b2151(0x3c4)][_0x2b2151(0x4b2)](_0x38b2e4)),this['_unlockTransition']();}[_0x1f2fa(0x5d7)](_0x37a468){const _0x447ddf=_0x1f2fa;if(!(_0x37a468['revision']<=this[_0x447ddf(0x4cd)][_0x447ddf(0x583)](this[_0x447ddf(0x604)]))){if(this[_0x447ddf(0x377)]){this[_0x447ddf(0x306)]['push'](_0x37a468);return;}this['_applyRemoteChangeset'](_0x37a468);}}[_0x1f2fa(0x2f5)](){const _0x22706f=_0x1f2fa;this[_0x22706f(0x306)][_0x22706f(0x601)](_0x27b531=>this[_0x22706f(0x1bd)](_0x27b531)),this[_0x22706f(0x306)]=[];}['_applyRemoteChangeset'](_0x58abb7){const _0x546f85=_0x1f2fa,_0x4ee075=this[_0x546f85(0x566)][_0x546f85(0x2ea)][_0x546f85(0x232)](this[_0x546f85(0x566)][_0x546f85(0x2ea)][_0x546f85(0x274)]()['COMPRESS_MUTATION_APPLY'])(_0x58abb7[_0x546f85(0x456)],null)||_0x58abb7['mutations'],_0x57bad9={..._0x58abb7,'mutations':_0x4ee075};this[_0x546f85(0x238)](),this[_0x546f85(0x1ae)](this['_state'][_0x546f85(0x5c5)](_0x57bad9)),this['_unlockTransition']();}[_0x1f2fa(0x2cc)](_0xa49c2a){const _0x41dde3=_0x1f2fa;this[_0x41dde3(0x238)](),this[_0x41dde3(0x1ae)](this['_state'][_0x41dde3(0x478)](_0xa49c2a)),this['_unlockTransition']();}['_onRemoteRejected'](_0x464354){const _0x486928=_0x1f2fa;this[_0x486928(0x238)](),this['_updateState'](this[_0x486928(0x3c4)][_0x486928(0x4ab)](_0x464354)),this[_0x486928(0x1f9)]();}[_0x1f2fa(0x37d)](_0x4081c4){const _0x1b4d19=_0x1f2fa;this['_lockTransition'](),this['_updateState'](this[_0x1b4d19(0x3c4)]['onRemoteRetry'](_0x4081c4)),this[_0x1b4d19(0x1f9)]();}[_0x1f2fa(0x304)](_0x34729b){const _0x30b581=_0x1f2fa;if(!(this[_0x30b581(0x3c4)]instanceof re))throw new TypeError(_0x30b581(0x2cd));const _0x32995a=_0x34729b[_0x30b581(0x50e)](_0x51a655=>{const _0x7b052c=_0x30b581,_0xad4d91=this['_compressMutationService'][_0x7b052c(0x2ea)][_0x7b052c(0x232)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x7b052c(0x474)])(_0x51a655[_0x7b052c(0x456)],null)||_0x51a655[_0x7b052c(0x456)];return{..._0x51a655,'mutations':_0xad4d91};});this[_0x30b581(0x238)](),this[_0x30b581(0x1ae)](this[_0x30b581(0x3c4)]['onMissedChangesetFetched'](_0x32995a)),this['_unlockTransition']();}[_0x1f2fa(0x1f8)](){const _0x84bb43=_0x1f2fa;this[_0x84bb43(0x238)](),this[_0x84bb43(0x1ae)](this[_0x84bb43(0x3c4)][_0x84bb43(0x54f)]()),this[_0x84bb43(0x1f9)]();}[_0x1f2fa(0x5f4)](_0x1e395d=!0x1){const _0x495a9b=_0x1f2fa;this[_0x495a9b(0x238)](),this[_0x495a9b(0x1ae)](this[_0x495a9b(0x3c4)][_0x495a9b(0x4b9)]()),this['_unlockTransition']();const _0x36bbec=this[_0x495a9b(0x3c4)];_0x1e395d&&_0x36bbec instanceof Oe&&(this[_0x495a9b(0x238)](),this['_updateState'](_0x36bbec[_0x495a9b(0x24f)]()),this[_0x495a9b(0x1f9)]());}async[_0x1f2fa(0x47d)](){return new Promise(_0x57686a=>{const _0xecf56d=_0x3f71;this[_0xecf56d(0x4a7)][_0xecf56d(0x393)][_0xecf56d(0x5f2)](A['take'](0x1))[_0xecf56d(0x25e)](async _0x2be472=>{const _0xef4724=_0xecf56d;_0x57686a(await this[_0xef4724(0x50c)](_0x2be472===se[_0xef4724(0x4c0)]));});});}[_0x1f2fa(0x1bc)](){const _0x182cc4=this['unitID'];return{'onStateChange':(_0x53bf4e,_0x851c0f)=>{const _0x527c24=_0x3f71;if(_0x53bf4e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x53bf4e[_0x527c24(0x286)]+'\x0aAfter:\x20'+_0x851c0f[_0x527c24(0x286)]+_0x527c24(0x3f3)+this['_state'][_0x527c24(0x286)]);this[_0x527c24(0x1ae)](_0x851c0f);},'onSendChangeset':_0x40e979=>{const _0x52d5d6=_0x3f71;_0x40e979[_0x52d5d6(0x38f)]||(_0x40e979[_0x52d5d6(0x38f)]=this[_0x52d5d6(0x570)],_0x40e979[_0x52d5d6(0x4d4)]=++this[_0x52d5d6(0x47c)]);const _0x5a6da7={'eventID':S[_0x52d5d6(0x416)][_0x52d5d6(0x23d)],'data':{'unitID':_0x40e979['unitID'],'unitType':this['_type'],'changeset':_0x40e979,'memberID':this[_0x52d5d6(0x4a7)][_0x52d5d6(0x296)]()}};this[_0x52d5d6(0x4a7)][_0x52d5d6(0x445)](_0x5a6da7,this[_0x52d5d6(0x604)]);},'onMissingChangesets':({from:_0x2b537c,to:_0x2d4119})=>{const _0x44a14c=_0x3f71;this[_0x44a14c(0x1d8)][_0x44a14c(0x4fc)](_0x44a14c(0x612),_0x44a14c(0x35c)+_0x2b537c+_0x44a14c(0x4bc)+_0x2d4119);const _0x67f1df={'eventID':S[_0x44a14c(0x416)]['FETCH_MISSING'],'data':{'unitID':_0x182cc4,'unitType':this[_0x44a14c(0x5e2)],'from':_0x2b537c,'to':_0x2d4119}};this[_0x44a14c(0x4a7)][_0x44a14c(0x445)](_0x67f1df,this[_0x44a14c(0x604)]);}};}async['_createInitialStateImpl'](_0x114d5a){const _0x23cd0b=_0x1f2fa;var _0x110a1f,_0xc546cd;const _0x2e673f=await this[_0x23cd0b(0x346)][_0x23cd0b(0x5f6)](this[_0x23cd0b(0x604)]),_0x1f6dda=(_0x110a1f=_0x2e673f==null?void 0x0:_0x2e673f[_0x23cd0b(0x456)])!=null?_0x110a1f:[],_0x479942=(_0xc546cd=_0x2e673f==null?void 0x0:_0x2e673f[_0x23cd0b(0x4d8)])!=null?_0xc546cd:null,_0x3b4c3e=!!(_0x479942!=null&&_0x479942[_0x23cd0b(0x38f)])&&!!(_0x479942!=null&&_0x479942[_0x23cd0b(0x4d4)]);this[_0x23cd0b(0x570)]=_0x3b4c3e?_0x479942[_0x23cd0b(0x38f)]:mi(),this[_0x23cd0b(0x47c)]=_0x3b4c3e?_0x479942['reqId']:0x0;const _0x29c75e=this[_0x23cd0b(0x604)];try{this['_replayCachedMutations'](_0x479942,_0x1f6dda);}catch(_0x3bf09b){this[_0x23cd0b(0x1d8)][_0x23cd0b(0x2d0)](_0x3bf09b);}const _0x6c4c53=this[_0x23cd0b(0x1bc)]();if(_0x114d5a){const _0x68d0fe=mn(this[_0x23cd0b(0x2f7)],_0x29c75e,this[_0x23cd0b(0x5e2)],_0x479942,_0x1f6dda,_0x6c4c53);return _0x68d0fe instanceof ce?_0x68d0fe['_schedule']():(_0x68d0fe instanceof le||_0x68d0fe instanceof fe)&&_0x68d0fe[_0x23cd0b(0x322)](),_0x68d0fe;}return this[_0x23cd0b(0x2f7)][_0x23cd0b(0x33e)](me,_0x29c75e,this['_type'],_0x479942,_0x1f6dda,_0x6c4c53);}[_0x1f2fa(0x568)](_0x1c8d8f,_0x4cfe45){const _0x5a14dd=_0x1f2fa;var _0xc97dc4,_0x1b6114;const _0x141cd9=this[_0x5a14dd(0x566)][_0x5a14dd(0x2ea)][_0x5a14dd(0x232)](this[_0x5a14dd(0x566)][_0x5a14dd(0x2ea)][_0x5a14dd(0x274)]()['COMPRESS_MUTATION_APPLY']);(_0xc97dc4=_0x141cd9((_0x1c8d8f==null?void 0x0:_0x1c8d8f['mutations'])||[],null))==null||_0xc97dc4['forEach'](_0x5afc5e=>this[_0x5a14dd(0x5ab)][_0x5a14dd(0x3fa)](_0x5afc5e['id'],_0x5afc5e[_0x5a14dd(0x389)])),(_0x1b6114=_0x141cd9(_0x4cfe45||[],null))==null||_0x1b6114[_0x5a14dd(0x601)](_0x4c6ee6=>this[_0x5a14dd(0x5ab)][_0x5a14dd(0x3fa)](_0x4c6ee6['id'],_0x4c6ee6['params']));}},exports[_0x1f2fa(0x5c0)]=yt([H(0x3,a['Inject'](a[_0x1f2fa(0x35d)])),H(0x4,a['Inject'](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a['Inject'](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),H(0x8,a[_0x1f2fa(0x1af)]),H(0x9,a['ICommandService']),H(0xa,ee[_0x1f2fa(0x32b)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x1f2fa(0x246)](qe))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x1f2fa(0x5c0)]{constructor(_0x197736,_0x4366b8,_0x14469e,_0x23c3ac,_0x142dd8,_0x111895,_0x5972b2,_0x421e56,_0x53caf2,_0x53d09d,_0x46d487,_0x25434f,_0x25126a,_0x3022ea,_0x31a62d,_0x49566c,_0x5c7dc4,_0x55e6a4){const _0xec9ddd=_0x1f2fa;super(_0x197736,_0x14469e,_0x4366b8,_0x23c3ac,_0x142dd8,_0x111895,_0x5972b2,_0x421e56,_0x3022ea,_0x31a62d,_0x49566c,_0x5c7dc4,_0x55e6a4),this[_0xec9ddd(0x604)]=_0x197736,this[_0xec9ddd(0x1eb)]=_0x4366b8,this['_docStateChangeManagerService']=_0x53caf2,this[_0xec9ddd(0x2ac)]=_0x53d09d,this[_0xec9ddd(0x259)]=_0x46d487,this['_docTransformSelectionsService']=_0x25434f,this['_docSyncEditingCollabCursorService']=_0x25126a;}[_0x1f2fa(0x1bc)](){const _0x14b10f=_0x1f2fa,_0x47930c=super[_0x14b10f(0x1bc)]();return _0x47930c[_0x14b10f(0x371)]=_0x28c7f2=>this[_0x14b10f(0x2ac)][_0x14b10f(0x1ee)](_0x28c7f2),_0x47930c[_0x14b10f(0x5fa)]=_0x388dbd=>this['_docTransformStateCacheService'][_0x14b10f(0x3a6)](_0x388dbd),_0x47930c['onTransformSelections']=_0x35d623=>this[_0x14b10f(0x4a8)]['transformSelections'](_0x35d623),_0x47930c[_0x14b10f(0x5e8)]=_0x4e34cb=>this['_docSyncEditingCollabCursorService'][_0x14b10f(0x5dc)](_0x4e34cb),_0x47930c['onTransformRemoteChangesetByIMECache']=_0x3c4d46=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c4d46),_0x47930c[_0x14b10f(0x496)]=_0x14adf3=>this[_0x14b10f(0x259)][_0x14b10f(0x5a4)](_0x14adf3),_0x47930c;}async[_0x1f2fa(0x48d)](){const _0x6f2bc8=_0x1f2fa,_0x53f132=await super[_0x6f2bc8(0x48d)]();return this['_docStateChangeManagerService'][_0x6f2bc8(0x5a2)][_0x6f2bc8(0x5f2)](A['takeUntil'](this[_0x6f2bc8(0x57d)]))[_0x6f2bc8(0x25e)](_0x3fd63e=>{const _0x569b63=_0x6f2bc8;if(_0x3fd63e==null)return;const {unitId:_0x2eb6c6,redoState:_0x37237f,commandId:_0x2a2b05}=_0x3fd63e;if(_0x2eb6c6!==this['unitID'])return;const _0x30c0bf={'id':_0x2a2b05,'type':a[_0x569b63(0x250)]['MUTATION'],'params':{'unitId':_0x2eb6c6,'actions':_0x37237f['actions'],'textRanges':null}};this[_0x569b63(0x51e)](_0x30c0bf);}),_0x53f132;}},exports[_0x1f2fa(0x370)]=yt([H(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),H(0x4,a['Inject'](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S['RevisionService'])),H(0x8,a[_0x1f2fa(0x28d)](J['DocStateChangeManagerService'])),H(0x9,a[_0x1f2fa(0x28d)](Be)),H(0xa,a[_0x1f2fa(0x28d)](We)),H(0xb,a[_0x1f2fa(0x28d)](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x1f2fa(0x1af)]),H(0xe,a[_0x1f2fa(0x51f)]),H(0xf,ee[_0x1f2fa(0x32b)]),H(0x10,a[_0x1f2fa(0x1d0)]),H(0x11,a['Optional'](qe))],exports[_0x1f2fa(0x370)]),exports['SheetCollaborationEntity']=class extends exports[_0x1f2fa(0x5c0)]{constructor(_0x449cf2,_0x36a1ac,_0x5ecb86,_0x58c733,_0x402115,_0x49dd4d,_0x4f48cd,_0x1ed9f3,_0x4764df,_0x1309d5,_0x2422e5,_0x4fc1cb,_0x594af1,_0xe21d8b){super(_0x449cf2,_0x5ecb86,_0x36a1ac,_0x58c733,_0x402115,_0x49dd4d,_0x4f48cd,_0x1ed9f3,_0x1309d5,_0x2422e5,_0x4fc1cb,_0x594af1,_0xe21d8b),this['unitID']=_0x449cf2,this['type']=_0x36a1ac,this['_sheetTransformSelectionsService']=_0x4764df;}[_0x1f2fa(0x1bc)](){const _0xcfd4a5=_0x1f2fa,_0x18615e=super[_0xcfd4a5(0x1bc)]();return _0x18615e[_0xcfd4a5(0x3e2)]=_0x150082=>this[_0xcfd4a5(0x567)][_0xcfd4a5(0x216)](_0x150082),_0x18615e;}async['_init'](){const _0x3e7276=_0x1f2fa,_0x190ef2=await super[_0x3e7276(0x48d)]();return this[_0x3e7276(0x305)](this[_0x3e7276(0x5ab)][_0x3e7276(0x5f9)]((_0x21430a,_0x17eb6b)=>{const _0x131e88=_0x3e7276;if(_0x21430a[_0x131e88(0x1eb)]!==a[_0x131e88(0x250)]['MUTATION']||_0x17eb6b!=null&&_0x17eb6b[_0x131e88(0x5d8)]||_0x17eb6b!=null&&_0x17eb6b[_0x131e88(0x392)])return;const _0x2a6621=_0x21430a[_0x131e88(0x389)];if((_0x2a6621==null?void 0x0:_0x2a6621[_0x131e88(0x4e3)])!==this['unitID'])return;const _0x5a679d=_0x21430a,_0x5458e1=this['_compressMutationService'][_0x131e88(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x131e88(0x274)]()[_0x131e88(0x2fd)])([_0x5a679d],null)||[_0x5a679d];this[_0x131e88(0x51e)](_0x5458e1[0x0]);})),_0x190ef2;}},exports[_0x1f2fa(0x358)]=yt([H(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),H(0x4,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),H(0x8,a[_0x1f2fa(0x28d)](ke)),H(0x9,a[_0x1f2fa(0x1af)]),H(0xa,a[_0x1f2fa(0x51f)]),H(0xb,ee[_0x1f2fa(0x32b)]),H(0xc,a[_0x1f2fa(0x1d0)]),H(0xd,a[_0x1f2fa(0x246)](qe))],exports[_0x1f2fa(0x358)]);var Wi=Object[_0x1f2fa(0x4e5)],Fi=Object[_0x1f2fa(0x40d)],Vi=(_0x355fc7,_0x166af0,_0x166d93,_0x276225)=>{const _0x873316=_0x1f2fa;for(var _0x56aa33=_0x276225>0x1?void 0x0:_0x276225?Fi(_0x166af0,_0x166d93):_0x166af0,_0x49210c=_0x355fc7[_0x873316(0x339)]-0x1,_0x37b588;_0x49210c>=0x0;_0x49210c--)(_0x37b588=_0x355fc7[_0x49210c])&&(_0x56aa33=(_0x276225?_0x37b588(_0x166af0,_0x166d93,_0x56aa33):_0x37b588(_0x56aa33))||_0x56aa33);return _0x276225&&_0x56aa33&&Wi(_0x166af0,_0x166d93,_0x56aa33),_0x56aa33;},tt=(_0x3304d0,_0x2736e3)=>(_0x141700,_0x3df928)=>_0x2736e3(_0x141700,_0x3df928,_0x3304d0);exports[_0x1f2fa(0x1ab)]=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x2e15d0,_0x4a9ab2,_0x30c2f9){const _0xdc2825=_0x1f2fa;super(),I(this,_0xdc2825(0x1e9),new Map()),I(this,'_entityInit$',new A[(_0xdc2825(0x2ba))]()),(this[_0xdc2825(0x2f7)]=_0x2e15d0,this[_0xdc2825(0x60f)]=_0x4a9ab2,this[_0xdc2825(0x51c)]=_0x30c2f9,this[_0xdc2825(0x48d)]());}['dispose'](){const _0x3665d4=_0x1f2fa;super[_0x3665d4(0x366)](),this[_0x3665d4(0x1e9)]['forEach'](_0x50381e=>_0x50381e['dispose']()),this[_0x3665d4(0x1e9)]['clear']();}[_0x1f2fa(0x2f1)](_0x41edf9){const _0x19f4d4=_0x1f2fa;var _0x23940c;return(_0x23940c=this[_0x19f4d4(0x1e9)][_0x19f4d4(0x2f6)](_0x41edf9))!=null?_0x23940c:null;}['getCollabEntity$'](_0x842c7){const _0x5339df=_0x1f2fa,_0x3be787=this[_0x5339df(0x2f1)](_0x842c7);return _0x3be787?A['of'](_0x3be787):this[_0x5339df(0x5a6)]['pipe'](V[_0x5339df(0x3db)](_0x322f5c=>_0x322f5c['unitID']===_0x842c7));}[_0x1f2fa(0x48d)](){const _0x7a7faa=_0x1f2fa;this['_univerInstanceService'][_0x7a7faa(0x374)](a['UniverInstanceType'][_0x7a7faa(0x4c3)])[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this[_0x7a7faa(0x57d)]),V[_0x7a7faa(0x338)](0x10))[_0x7a7faa(0x25e)](async _0x2b6099=>{const _0x1b10e8=_0x7a7faa,_0x5a1e48=_0x2b6099[_0x1b10e8(0x4ea)](),_0x3fcc87=await this[_0x1b10e8(0x15d)](_0x5a1e48,ie[_0x1b10e8(0x4c3)]);this['_entities'][_0x1b10e8(0x329)](_0x5a1e48,_0x3fcc87);}),this[_0x7a7faa(0x51c)][_0x7a7faa(0x374)](a['UniverInstanceType'][_0x7a7faa(0x505)])[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this['dispose$']),V[_0x7a7faa(0x338)](0x10))[_0x7a7faa(0x5f2)](V[_0x7a7faa(0x3db)](_0x592cf9=>!_0x592cf9[_0x7a7faa(0x4ea)]()[_0x7a7faa(0x565)]('__')))['subscribe'](async _0x1822ad=>{const _0x448c19=_0x7a7faa,_0x2d7abb=_0x1822ad[_0x448c19(0x4ea)](),_0x53d2cf=await this['_startCollaboration'](_0x2d7abb,ie[_0x448c19(0x505)]);this[_0x448c19(0x1e9)][_0x448c19(0x329)](_0x2d7abb,_0x53d2cf);}),A[_0x7a7faa(0x1b6)](this['_univerInstanceService'][_0x7a7faa(0x468)](a['UniverInstanceType'][_0x7a7faa(0x4c3)]),this['_univerInstanceService'][_0x7a7faa(0x468)](a[_0x7a7faa(0x5c7)][_0x7a7faa(0x505)]))[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this[_0x7a7faa(0x57d)]))[_0x7a7faa(0x25e)](_0x3c0b32=>{const _0x260b0c=_0x7a7faa,_0x37e408=_0x3c0b32[_0x260b0c(0x4ea)](),_0x72990e=this['_entities'][_0x260b0c(0x2f6)](_0x37e408);_0x72990e&&(_0x72990e['dispose'](),this[_0x260b0c(0x1e9)][_0x260b0c(0x2e4)](_0x37e408));});}async[_0x1f2fa(0x15d)](_0x2b4bc4,_0xeba700){const _0x5123a2=_0x1f2fa,_0x1dc7bc=await this[_0x5123a2(0x60f)][_0x5123a2(0x5b5)](_0x2b4bc4),_0x1455d0=this[_0x5123a2(0x2f7)][_0x5123a2(0x33e)](this[_0x5123a2(0x436)](_0xeba700),_0x2b4bc4,_0xeba700,_0x1dc7bc);return await _0x1455d0[_0x5123a2(0x485)](),this[_0x5123a2(0x5a6)][_0x5123a2(0x497)](_0x1455d0),_0x1455d0;}[_0x1f2fa(0x436)](_0x17cde9){const _0x3e42fd=_0x1f2fa;switch(_0x17cde9){case ie[_0x3e42fd(0x505)]:return exports[_0x3e42fd(0x370)];case ie[_0x3e42fd(0x4c3)]:return exports[_0x3e42fd(0x358)];default:throw new Error(_0x3e42fd(0x1c7)+_0x17cde9);}}},exports['CollaborationController']=Vi([tt(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),tt(0x1,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)])),tt(0x2,a[_0x1f2fa(0x562)])],exports['CollaborationController']);const $t=[_0x1f2fa(0x39b),_0x1f2fa(0x5b2),_0x1f2fa(0x351),_0x1f2fa(0x587),'blue400',_0x1f2fa(0x3cf)];class Ot extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x27bfeb=_0x1f2fa;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x27bfeb(0x30f),0x0);}[_0x1f2fa(0x235)](_0x50081a){const _0x226247=_0x1f2fa;if(this['_assignedColors']['has'](_0x50081a))return this[_0x226247(0x365)][_0x226247(0x2f6)](_0x50081a);const _0x36f40b=$t[this['_colorIndex']];return this[_0x226247(0x30f)]=(this['_colorIndex']+0x1)%$t[_0x226247(0x339)],this[_0x226247(0x365)]['set'](_0x50081a,_0x36f40b),_0x36f40b;}}var Gi=Object[_0x1f2fa(0x4e5)],Yi=Object[_0x1f2fa(0x40d)],Ki=(_0x2dfd96,_0x300b12,_0x36dd62,_0x1f816d)=>{const _0x17bdfb=_0x1f2fa;for(var _0x4c6429=_0x1f816d>0x1?void 0x0:_0x1f816d?Yi(_0x300b12,_0x36dd62):_0x300b12,_0x40bbce=_0x2dfd96[_0x17bdfb(0x339)]-0x1,_0x49eefe;_0x40bbce>=0x0;_0x40bbce--)(_0x49eefe=_0x2dfd96[_0x40bbce])&&(_0x4c6429=(_0x1f816d?_0x49eefe(_0x300b12,_0x36dd62,_0x4c6429):_0x49eefe(_0x4c6429))||_0x4c6429);return _0x1f816d&&_0x4c6429&&Gi(_0x300b12,_0x36dd62,_0x4c6429),_0x4c6429;},Se=(_0x588c09,_0x4eb379)=>(_0x158949,_0x47ac96)=>_0x4eb379(_0x158949,_0x47ac96,_0x588c09);const qi=0x12c,zi=0x64;let mt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x5e0967,_0x57b390,_0x2882a9,_0xf8a2ef,_0x3ee342,_0x3ad632,_0x256643,_0x2e9aee,_0x1386aa){const _0x34ec50=_0x1f2fa;super(),I(this,'_online',!0x1),I(this,_0x34ec50(0x48d),!0x1),I(this,_0x34ec50(0x606),new A[(_0x34ec50(0x25c))](new Map())),I(this,_0x34ec50(0x455),this[_0x34ec50(0x606)]['asObservable']()),I(this,'_roomMembers$',new A[(_0x34ec50(0x25c))]([])),I(this,_0x34ec50(0x43f),this[_0x34ec50(0x165)][_0x34ec50(0x5f2)](A['debounceTime'](qi))),I(this,_0x34ec50(0x40c),a[_0x34ec50(0x4ad)](_0x1e7522=>{const _0x303a04=_0x34ec50,_0x429f7a={'eventID':S[_0x303a04(0x416)][_0x303a04(0x326)],'data':{'unitID':this['unitID'],'memberID':this[_0x303a04(0x3a3)][_0x303a04(0x296)](),'selection':dn(_0x1e7522)}};this[_0x303a04(0x3a3)][_0x303a04(0x445)](_0x429f7a,this[_0x303a04(0x604)]);},zi)),(this['unitID']=_0x5e0967,this['_session']=_0x57b390,this[_0x34ec50(0x2f7)]=_0x2882a9,this['_colorAssignService']=_0xf8a2ef,this['_memberService']=_0x3ee342,this[_0x34ec50(0x270)]=_0x3ad632,this[_0x34ec50(0x5ce)]=_0x256643,this[_0x34ec50(0x51c)]=_0x2e9aee,this['_commandService']=_0x1386aa);}get[_0x1f2fa(0x17c)](){const _0x1a1687=_0x1f2fa;return this['_cursorInfo$'][_0x1a1687(0x60e)]();}get['roomMembers'](){const _0x47c745=_0x1f2fa;return this[_0x47c745(0x165)][_0x47c745(0x60e)]();}['dispose'](){const _0x257743=_0x1f2fa;super[_0x257743(0x366)](),this[_0x257743(0x606)][_0x257743(0x497)](new Map()),this[_0x257743(0x606)][_0x257743(0x60c)](),this[_0x257743(0x165)][_0x257743(0x497)]([]),this['_roomMembers$'][_0x257743(0x60c)]();}['init'](){const _0x1b519e=_0x1f2fa;this[_0x1b519e(0x48d)]||(this[_0x1b519e(0x48d)]=!0x0,this[_0x1b519e(0x3a3)][_0x1b519e(0x393)][_0x1b519e(0x5f2)](A['takeUntil'](this['dispose$']))[_0x1b519e(0x25e)](_0x453275=>{const _0x52e444=_0x1b519e;_0x453275===se['ONLINE']?this[_0x52e444(0x5f4)]():this[_0x52e444(0x1f8)]();}),this[_0x1b519e(0x3a3)][_0x1b519e(0x215)][_0x1b519e(0x5f2)](A['takeUntil'](this[_0x1b519e(0x57d)]))[_0x1b519e(0x25e)](_0x1b0297=>{const _0x36ef58=_0x1b519e,_0x2ec395=_0x1b0297['eventID'];_0x2ec395===S[_0x36ef58(0x416)][_0x36ef58(0x326)]&&this['_onCursorUpdate'](_0x1b0297),_0x2ec395===S['CollaborationEvent'][_0x36ef58(0x3ed)]&&this[_0x36ef58(0x580)](_0x1b0297);}),this[_0x1b519e(0x305)](this[_0x1b519e(0x5ab)][_0x1b519e(0x5f9)](_0x16f6b1=>{const _0x44fcda=_0x1b519e,_0x41d72f=_0x16f6b1[_0x44fcda(0x389)];_0x41d72f!=null&&this[_0x44fcda(0x1fd)]&&_0x16f6b1['id']===ye['SetTextSelectionsOperation']['id']&&_0x41d72f['unitId']===this[_0x44fcda(0x604)]&&_0x41d72f[_0x44fcda(0x310)]===!0x1&&_0x41d72f[_0x44fcda(0x58d)]['length']>0x0&&this[_0x44fcda(0x40c)](_0x41d72f[_0x44fcda(0x58d)]);})),this[_0x1b519e(0x270)][_0x1b519e(0x60a)]['pipe'](A[_0x1b519e(0x5d4)](this[_0x1b519e(0x57d)]))[_0x1b519e(0x25e)](_0x7b7aef=>{const _0x432bd4=_0x1b519e;if((_0x7b7aef==null?void 0x0:_0x7b7aef[_0x432bd4(0x604)])!==this[_0x432bd4(0x604)])return;const _0x295fea={'eventID':S['CollaborationEvent'][_0x432bd4(0x326)],'data':_0x7b7aef};this[_0x432bd4(0x5ef)](_0x295fea);}),this[_0x1b519e(0x305)](this[_0x1b519e(0x5ab)][_0x1b519e(0x5f9)](_0x411b24=>{const _0x43c134=_0x1b519e;if(_0x411b24[_0x43c134(0x389)]==null)return;const _0x4cf4b3=_0x411b24['params'];if(_0x411b24['id']!==ye[_0x43c134(0x2db)]['id']||_0x4cf4b3[_0x43c134(0x4e3)]!==this[_0x43c134(0x604)])return;const _0xf3496d={'id':_0x43c134(0x4dc),'params':_0x4cf4b3},_0x439c11=this[_0x43c134(0x17c)];for(const [_0x18755c,_0x2a2d49]of _0x439c11){const _0x4413ad={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x43c134(0x604)],'actions':null,'textRanges':_0x2a2d49[_0x43c134(0x58d)]}},_0x1d6dbc=this[_0x43c134(0x5ce)][_0x43c134(0x5a8)](_0xf3496d,_0x4413ad,!0x1);if(S['isTransformMutationFailure'](_0x1d6dbc))throw _0x1d6dbc[_0x43c134(0x2d0)];_0x439c11[_0x43c134(0x329)](_0x18755c,{..._0x2a2d49,'ranges':_0x1d6dbc[_0x43c134(0x26e)][_0x43c134(0x389)][_0x43c134(0x30e)]});}queueMicrotask(()=>{const _0x1deff8=_0x43c134;this[_0x1deff8(0x606)][_0x1deff8(0x497)](_0x439c11);});})));}['_onCursorUpdate'](_0x13ba36){const _0x5b740a=_0x1f2fa;var _0x344b09,_0x926683;const {memberID:_0x3b8d36,selection:_0x1d4569}=_0x13ba36[_0x5b740a(0x462)],_0x437676=Ui(_0x1d4569),_0x1f126e=(_0x926683=(_0x344b09=this[_0x5b740a(0x4bd)][_0x5b740a(0x5c6)](this[_0x5b740a(0x604)],_0x3b8d36))==null?void 0x0:_0x344b09['name'])!=null?_0x926683:'Unknown\x20user',_0x13f251={'color':this['_colorAssignService'][_0x5b740a(0x235)](_0x3b8d36),'name':_0x1f126e,'ranges':_0x437676},_0x1b61ee=this['cursorInfo'];_0x1b61ee['set'](_0x3b8d36,_0x13f251),this[_0x5b740a(0x606)][_0x5b740a(0x497)](_0x1b61ee);}[_0x1f2fa(0x580)](_0x39bbbe){const _0x5140e3=_0x1f2fa,{memberID:_0x5a7c7c}=_0x39bbbe[_0x5140e3(0x462)],_0x54d91e=this[_0x5140e3(0x17c)];_0x54d91e['delete'](_0x5a7c7c),this[_0x5140e3(0x606)]['next'](_0x54d91e);}['_toggleOnline'](){const _0x36a618=_0x1f2fa;var _0x38e2ee;if(this[_0x36a618(0x1fd)]=!0x0,((_0x38e2ee=this[_0x36a618(0x51c)]['getFocusedUnit']())==null?void 0x0:_0x38e2ee['getUnitId']())!==this[_0x36a618(0x604)])return;const _0x2ddb67=this[_0x36a618(0x2f7)][_0x36a618(0x2f6)](ye[_0x36a618(0x254)])[_0x36a618(0x3ee)]();Array[_0x36a618(0x4ff)](_0x2ddb67)&&_0x2ddb67[_0x36a618(0x339)]>0x0&&this[_0x36a618(0x40c)](_0x2ddb67);}[_0x1f2fa(0x1f8)](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Se(0x3,a[_0x1f2fa(0x28d)](Ot)),Se(0x4,a['Inject'](exports[_0x1f2fa(0x3d8)])),Se(0x5,a[_0x1f2fa(0x28d)](Rt)),Se(0x6,S[_0x1f2fa(0x3ff)]),Se(0x7,a[_0x1f2fa(0x562)]),Se(0x8,a[_0x1f2fa(0x51f)])],mt);var Xi=Object['defineProperty'],Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x5486cd,_0x14e260,_0x2d2da4,_0x168000)=>{const _0x2ed40d=_0x1f2fa;for(var _0x65d0e2=_0x168000>0x1?void 0x0:_0x168000?Ji(_0x14e260,_0x2d2da4):_0x14e260,_0x4cb8ce=_0x5486cd[_0x2ed40d(0x339)]-0x1,_0x26a1c7;_0x4cb8ce>=0x0;_0x4cb8ce--)(_0x26a1c7=_0x5486cd[_0x4cb8ce])&&(_0x65d0e2=(_0x168000?_0x26a1c7(_0x14e260,_0x2d2da4,_0x65d0e2):_0x26a1c7(_0x65d0e2))||_0x65d0e2);return _0x168000&&_0x65d0e2&&Xi(_0x14e260,_0x2d2da4,_0x65d0e2),_0x65d0e2;},be=(_0x7f035c,_0x1cb7a5)=>(_0x492be8,_0x50b5ea)=>_0x1cb7a5(_0x492be8,_0x50b5ea,_0x7f035c);const Qi=0x12c,es=0x64,ts=()=>{let _0x2e1989=[],_0x543b78=!0x1;return _0x284c9f=>{const _0x462150=_0x3f71;_0x2e1989[_0x462150(0x19c)](_0x284c9f),_0x543b78||(_0x543b78=!0x0,setTimeout(()=>{const _0x10b490=_0x462150;_0x2e1989[_0x10b490(0x601)](_0x25f8c7=>_0x25f8c7()),_0x2e1989=[],_0x543b78=!0x1;}));};};let St=class extends a['RxDisposable']{constructor(_0xe250dc,_0x27bbf7,_0x440ef4,_0xf0e0a4,_0x565563,_0x4f33e9,_0x5a92bb,_0x15396d){const _0x14640c=_0x1f2fa;super(),I(this,_0x14640c(0x1fd),!0x1),I(this,'_init',!0x1),I(this,_0x14640c(0x606),new A['BehaviorSubject'](new Map())),I(this,_0x14640c(0x455),this['_cursorInfo$'][_0x14640c(0x5de)]()),I(this,_0x14640c(0x165),new A[(_0x14640c(0x25c))]([])),I(this,_0x14640c(0x43f),this[_0x14640c(0x165)]['pipe'](A['debounceTime'](Qi))),I(this,_0x14640c(0x40c),a[_0x14640c(0x4ad)]((_0x522a0f,_0x42d951)=>{const _0x108f24=_0x14640c,_0x2fd714={'eventID':S[_0x108f24(0x416)][_0x108f24(0x326)],'data':{'unitID':this[_0x108f24(0x604)],'memberID':this[_0x108f24(0x3a3)][_0x108f24(0x296)](),'selection':Pt[_0x108f24(0x1b3)](_0x522a0f,_0x42d951[_0x108f24(0x5bb)])}};this[_0x108f24(0x3a3)][_0x108f24(0x445)](_0x2fd714,this[_0x108f24(0x604)]);},es)),(this[_0x14640c(0x604)]=_0xe250dc,this[_0x14640c(0x3a3)]=_0x27bbf7,this[_0x14640c(0x2f7)]=_0x440ef4,this[_0x14640c(0x4c2)]=_0xf0e0a4,this[_0x14640c(0x4bd)]=_0x565563,this[_0x14640c(0x51c)]=_0x4f33e9,this[_0x14640c(0x5ab)]=_0x5a92bb,this[_0x14640c(0x414)]=_0x15396d);}get[_0x1f2fa(0x17c)](){const _0x64df3d=_0x1f2fa;return this['_cursorInfo$'][_0x64df3d(0x60e)]();}get['roomMembers'](){const _0x5c2624=_0x1f2fa;return this[_0x5c2624(0x165)][_0x5c2624(0x60e)]();}[_0x1f2fa(0x366)](){const _0x207305=_0x1f2fa;super[_0x207305(0x366)](),this[_0x207305(0x606)][_0x207305(0x497)](new Map()),this['_cursorInfo$']['complete'](),this[_0x207305(0x165)]['next']([]),this[_0x207305(0x165)][_0x207305(0x60c)]();}[_0x1f2fa(0x485)](){const _0x1d5c18=_0x1f2fa;this['_init']||(this['_init']=!0x0,this[_0x1d5c18(0x3a3)][_0x1d5c18(0x393)][_0x1d5c18(0x5f2)](A[_0x1d5c18(0x5d4)](this[_0x1d5c18(0x57d)]))['subscribe'](_0x1600ff=>{const _0x2fbde3=_0x1d5c18;_0x1600ff===se[_0x2fbde3(0x4c0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1d5c18(0x3a3)][_0x1d5c18(0x215)]['pipe'](A['takeUntil'](this[_0x1d5c18(0x57d)]))[_0x1d5c18(0x25e)](_0xec47b9=>{const _0x3be182=_0x1d5c18,_0x5af979=_0xec47b9['eventID'];_0x5af979===S[_0x3be182(0x416)][_0x3be182(0x326)]&&this[_0x3be182(0x5ef)](_0xec47b9),_0x5af979===S['CollaborationEvent'][_0x3be182(0x3ed)]&&this[_0x3be182(0x580)](_0xec47b9);}),this[_0x1d5c18(0x197)](),this['disposeWithMe'](this['_commandService'][_0x1d5c18(0x5f9)](_0x12c786=>{const _0x2d3261=_0x1d5c18;if(this[_0x2d3261(0x1fd)]&&_0x12c786['id']===k['SetSelectionsOperation']['id']&&_0x12c786[_0x2d3261(0x389)][_0x2d3261(0x4e3)]===this[_0x2d3261(0x604)]){const _0x334727=_0x12c786[_0x2d3261(0x389)];this[_0x2d3261(0x40c)](_0x334727[_0x2d3261(0x442)],_0x334727[_0x2d3261(0x25b)][0x0]);}})));}[_0x1f2fa(0x5ef)](_0x2c982a){const _0x2dd8bb=_0x1f2fa;var _0x127ca2,_0x25eedf;const {memberID:_0x4dbf13,selection:_0x43e0a9}=_0x2c982a[_0x2dd8bb(0x462)],{sheetName:_0x14b6a6,range:_0x4db5fd}=Pt[_0x2dd8bb(0x39c)](_0x43e0a9),_0x317ce3={'name':(_0x25eedf=(_0x127ca2=this['_memberService'][_0x2dd8bb(0x5c6)](this[_0x2dd8bb(0x604)],_0x4dbf13))==null?void 0x0:_0x127ca2['name'])!=null?_0x25eedf:_0x2dd8bb(0x49f),'range':this[_0x2dd8bb(0x245)](_0x14b6a6,_0x4db5fd),'sheetID':_0x14b6a6,'color':this['_colorAssignService'][_0x2dd8bb(0x235)](_0x4dbf13),'selection':_0x43e0a9},_0x410513=this['cursorInfo'];_0x410513['set'](_0x4dbf13,_0x317ce3),this['_cursorInfo$']['next'](_0x410513);}[_0x1f2fa(0x580)](_0x13e18f){const _0x3ad461=_0x1f2fa,{memberID:_0x49d45f}=_0x13e18f[_0x3ad461(0x462)],_0x1aea11=this['cursorInfo'];_0x1aea11[_0x3ad461(0x2e4)](_0x49d45f),this[_0x3ad461(0x606)][_0x3ad461(0x497)](_0x1aea11);}[_0x1f2fa(0x245)](_0x1fc81f,_0xca2b00){const _0x3bfc2e=_0x1f2fa;var _0x41911a,_0x3f005b;const _0x5ea11a=(_0x3f005b=(_0x41911a=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3bfc2e(0x604)]))==null?void 0x0:_0x41911a[_0x3bfc2e(0x1ea)](_0x1fc81f))==null?void 0x0:_0x3f005b[_0x3bfc2e(0x34d)]();return(_0x5ea11a==null?void 0x0:_0x5ea11a['find'](_0x1d3a77=>a[_0x3bfc2e(0x2f9)][_0x3bfc2e(0x42d)](_0x1d3a77,_0xca2b00)))||_0xca2b00;}['_onRefRangeChange'](){const _0x13d0d3=_0x1f2fa,_0x4f873e=new a[(_0x13d0d3(0x2af))](),_0x32b4e1=ts(),_0x4f5305=()=>{const _0x413bc7=_0x13d0d3;_0x4f873e[_0x413bc7(0x366)]();const _0x1e1931=(_0x3ddb4a,_0x5c05f0,_0x4a7f86,_0x88b31a)=>{const _0x5d0ef5=_0x413bc7;let _0x116fdb=[];switch(_0x3ddb4a['id']){case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x16f)]:{_0x116fdb=k[_0x5d0ef5(0x2d2)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)]['DeleteRangeMoveUpCommandId']:{_0x116fdb=k[_0x5d0ef5(0x407)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)]['InsertColCommandId']:{_0x116fdb=k['handleInsertCol'](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x59e)]:{_0x116fdb=k[_0x5d0ef5(0x269)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x588)]:{_0x116fdb=k[_0x5d0ef5(0x611)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x1d3)]:{_0x116fdb=k['handleInsertRow'](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x217)]:{_0x116fdb=k[_0x5d0ef5(0x23e)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x53d)]:{_0x116fdb=k[_0x5d0ef5(0x52a)](_0x3ddb4a,_0x88b31a);break;}case k['EffectRefRangId'][_0x5d0ef5(0x1e5)]:{_0x116fdb=k[_0x5d0ef5(0x33d)](_0x3ddb4a,_0x88b31a);break;}}const _0x30df0c=k['runRefRangeMutations'](_0x116fdb,_0x88b31a),_0xadf502=this[_0x5d0ef5(0x17c)][_0x5d0ef5(0x2f6)](_0x5c05f0);if(_0xadf502&&_0x30df0c){const _0x2b44af={..._0xadf502,'range':_0x30df0c};this[_0x5d0ef5(0x17c)]['set'](_0x5c05f0,_0x2b44af),_0x32b4e1(()=>{const _0x59f2d8=_0x5d0ef5,_0x4338af=this[_0x59f2d8(0x414)][_0x59f2d8(0x475)](_0x30df0c,_0x49dd4a=>(_0x4338af[_0x59f2d8(0x366)](),_0x1e1931(_0x49dd4a,_0x5c05f0,_0x4a7f86,_0x30df0c)));_0x4f873e[_0x59f2d8(0x515)](_0x4338af);});}return{'redos':[],'undos':[]};};this[_0x413bc7(0x17c)][_0x413bc7(0x601)]((_0x287c40,_0x5137c0)=>{const _0x1f255d=_0x413bc7,{range:_0x432490,sheetID:_0x116314}=_0x287c40,_0x4fa60f=this[_0x1f255d(0x414)]['registerRefRange'](_0x432490,_0xe53123=>(_0x4fa60f[_0x1f255d(0x366)](),_0x1e1931(_0xe53123,_0x5137c0,_0x116314,_0x432490)));_0x4f873e[_0x1f255d(0x515)](_0x4fa60f);});};this[_0x13d0d3(0x305)](a[_0x13d0d3(0x5ad)](this[_0x13d0d3(0x606)][_0x13d0d3(0x25e)](()=>{_0x4f5305();})));}['_toggleOnline'](){const _0x529a21=_0x1f2fa;var _0x56ba14,_0x515ac7;if(this[_0x529a21(0x1fd)]=!0x0,((_0x56ba14=this[_0x529a21(0x51c)][_0x529a21(0x2a3)]())==null?void 0x0:_0x56ba14[_0x529a21(0x4ea)]())!==this[_0x529a21(0x604)])return;const _0x1f48a9=(_0x515ac7=this['_injector'][_0x529a21(0x2f6)](k[_0x529a21(0x600)])[_0x529a21(0x16b)]())==null?void 0x0:_0x515ac7[0x0],_0x37952e=this['_univerInstanceService'][_0x529a21(0x367)](a[_0x529a21(0x5c7)]['UNIVER_SHEET'])[_0x529a21(0x1db)]();_0x1f48a9&&_0x37952e&&this[_0x529a21(0x40c)](_0x37952e[_0x529a21(0x2d3)](),_0x1f48a9);}[_0x1f2fa(0x1f8)](){this['_online']=!0x1;}};St=Zi([be(0x2,a['Inject'](a[_0x1f2fa(0x35d)])),be(0x3,a[_0x1f2fa(0x28d)](Ot)),be(0x4,a[_0x1f2fa(0x28d)](exports['MemberService'])),be(0x5,a[_0x1f2fa(0x562)]),be(0x6,a[_0x1f2fa(0x51f)]),be(0x7,a['Inject'](k[_0x1f2fa(0x450)]))],St);var ns=Object[_0x1f2fa(0x4e5)],is=Object[_0x1f2fa(0x40d)],ss=(_0x38d583,_0x313fde,_0x1444bf,_0x512aa2)=>{const _0x1d49d2=_0x1f2fa;for(var _0x1281f9=_0x512aa2>0x1?void 0x0:_0x512aa2?is(_0x313fde,_0x1444bf):_0x313fde,_0x22b9aa=_0x38d583[_0x1d49d2(0x339)]-0x1,_0x146677;_0x22b9aa>=0x0;_0x22b9aa--)(_0x146677=_0x38d583[_0x22b9aa])&&(_0x1281f9=(_0x512aa2?_0x146677(_0x313fde,_0x1444bf,_0x1281f9):_0x146677(_0x1281f9))||_0x1281f9);return _0x512aa2&&_0x1281f9&&ns(_0x313fde,_0x1444bf,_0x1281f9),_0x1281f9;},nt=(_0x51e9fc,_0x359685)=>(_0x518ae7,_0xb0e7c3)=>_0x359685(_0x518ae7,_0xb0e7c3,_0x51e9fc);let De=class extends a['RxDisposable']{constructor(_0x12ceaf,_0x440ec4,_0x1b573a){const _0x13eab5=_0x1f2fa;super(),I(this,'_entities',new Map()),I(this,_0x13eab5(0x5a6),new A[(_0x13eab5(0x2ba))]()),(this[_0x13eab5(0x51c)]=_0x12ceaf,this[_0x13eab5(0x2f7)]=_0x440ec4,this[_0x13eab5(0x60f)]=_0x1b573a,this[_0x13eab5(0x48d)]());}['dispose'](){const _0x38151c=_0x1f2fa;super[_0x38151c(0x366)](),this[_0x38151c(0x5a6)]['complete'](),this[_0x38151c(0x1e9)][_0x38151c(0x601)](_0x8ceb1c=>_0x8ceb1c[_0x38151c(0x366)]());}[_0x1f2fa(0x1f4)](_0x3870c3){const _0xcd9f87=_0x1f2fa;return this[_0xcd9f87(0x1e9)]['has'](_0x3870c3)?this['_entities']['get'](_0x3870c3)[_0xcd9f87(0x455)]:this[_0xcd9f87(0x5a6)][_0xcd9f87(0x5f2)](A[_0xcd9f87(0x3db)](_0x2a4283=>_0x2a4283[_0xcd9f87(0x604)]===_0x3870c3),A['switchMap'](_0xbdeb75=>_0xbdeb75['cursorInfo$']));}['_init'](){const _0x4ded7e=_0x1f2fa;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x4c3)])[_0x4ded7e(0x5f2)](A[_0x4ded7e(0x5d4)](this[_0x4ded7e(0x57d)]))[_0x4ded7e(0x25e)](async _0x4692b0=>{const _0x46a7fd=_0x4ded7e,_0x2395da=_0x4692b0['getUnitId'](),_0x19dd26=await this[_0x46a7fd(0x262)](_0x2395da);this[_0x46a7fd(0x5a6)][_0x46a7fd(0x497)](_0x19dd26),this[_0x46a7fd(0x1e9)][_0x46a7fd(0x329)](_0x2395da,_0x19dd26);}),this[_0x4ded7e(0x51c)][_0x4ded7e(0x374)](a[_0x4ded7e(0x5c7)]['UNIVER_DOC'])['pipe'](A[_0x4ded7e(0x5d4)](this['dispose$']))['pipe'](A[_0x4ded7e(0x3db)](_0x4c8226=>!_0x4c8226[_0x4ded7e(0x4ea)]()[_0x4ded7e(0x565)]('__')))['subscribe'](async _0x1c9295=>{const _0x2af196=_0x4ded7e,_0x2397db=_0x1c9295[_0x2af196(0x4ea)](),_0x13538a=await this[_0x2af196(0x544)](_0x2397db);this[_0x2af196(0x5a6)]['next'](_0x13538a),this['_entities'][_0x2af196(0x329)](_0x2397db,_0x13538a);}),A[_0x4ded7e(0x1b6)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x505)]),this[_0x4ded7e(0x51c)]['getTypeOfUnitDisposed$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x4c3)]))[_0x4ded7e(0x5f2)](A['takeUntil'](this['dispose$']))[_0x4ded7e(0x25e)](_0x359034=>{const _0x5bf8c7=_0x4ded7e,_0x155d47=_0x359034[_0x5bf8c7(0x4ea)](),_0xb1f000=this[_0x5bf8c7(0x1e9)][_0x5bf8c7(0x2f6)](_0x155d47);_0xb1f000&&(_0xb1f000[_0x5bf8c7(0x366)](),this[_0x5bf8c7(0x1e9)][_0x5bf8c7(0x2e4)](_0x155d47));});}async[_0x1f2fa(0x262)](_0x512fa2){const _0x5f4ca3=_0x1f2fa,_0x490077=await this['_collabSessionService'][_0x5f4ca3(0x5b5)](_0x512fa2),_0x51c3f5=this['_injector'][_0x5f4ca3(0x33e)](St,_0x512fa2,_0x490077);return _0x51c3f5[_0x5f4ca3(0x485)](),_0x51c3f5;}async[_0x1f2fa(0x544)](_0x5a6098){const _0x1b95c8=_0x1f2fa,_0x23f35c=await this['_collabSessionService'][_0x1b95c8(0x5b5)](_0x5a6098),_0x3dd31c=this[_0x1b95c8(0x2f7)][_0x1b95c8(0x33e)](mt,_0x5a6098,_0x23f35c);return _0x3dd31c[_0x1b95c8(0x485)](),_0x3dd31c;}};De=ss([nt(0x0,a[_0x1f2fa(0x562)]),nt(0x1,a['Inject'](a[_0x1f2fa(0x35d)])),nt(0x2,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x5d30de,_0x588383){const _0x466acf=_0x1f2fa;let {radius:_0x8ebdcd,width:_0x230e3e,height:_0x428f9c}=_0x588383;_0x8ebdcd=_0x8ebdcd!=null?_0x8ebdcd:0x0,_0x230e3e=_0x230e3e!=null?_0x230e3e:0x1e,_0x428f9c=_0x428f9c!=null?_0x428f9c:0x1e;let _0x47fab0=0x0,_0x320075=0x0,_0x4a4a29=0x0;_0x47fab0=_0x320075=_0x4a4a29=Math['min'](_0x8ebdcd,_0x230e3e/0x2,_0x428f9c/0x2),_0x5d30de[_0x466acf(0x1a5)](),_0x5d30de[_0x466acf(0x573)](_0x47fab0,0x0),_0x5d30de['lineTo'](_0x230e3e-_0x320075,0x0),_0x5d30de[_0x466acf(0x59d)](_0x230e3e-_0x320075,_0x320075,_0x320075,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d30de[_0x466acf(0x578)](_0x230e3e,_0x428f9c-_0x4a4a29),_0x5d30de['arc'](_0x230e3e-_0x4a4a29,_0x428f9c-_0x4a4a29,_0x4a4a29,0x0,Math['PI']/0x2,!0x1),_0x5d30de[_0x466acf(0x578)](0x0,_0x428f9c),_0x5d30de['lineTo'](0x0,_0x47fab0),_0x5d30de[_0x466acf(0x59d)](_0x47fab0,_0x47fab0,_0x47fab0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d30de[_0x466acf(0x3c1)](),_0x588383[_0x466acf(0x461)]&&(_0x5d30de['save'](),_0x5d30de['fillStyle']=_0x588383['fill'],_0x588383['fillRule']===_0x466acf(0x4f3)?_0x5d30de[_0x466acf(0x461)]('evenodd'):_0x5d30de[_0x466acf(0x461)](),_0x5d30de[_0x466acf(0x383)]());}class ze extends K[_0x1f2fa(0x476)]{constructor(_0x8283c1,_0x2bdfcc){const _0x4a5833=_0x1f2fa;super(_0x8283c1,_0x2bdfcc),I(this,_0x4a5833(0x47f)),I(this,_0x4a5833(0x45e)),(this[_0x4a5833(0x47f)]=_0x2bdfcc==null?void 0x0:_0x2bdfcc[_0x4a5833(0x47f)],this[_0x4a5833(0x45e)]=_0x2bdfcc==null?void 0x0:_0x2bdfcc[_0x4a5833(0x45e)]);}static[_0x1f2fa(0x2a5)](_0x459ff4,_0x2cd696){const _0xbde973=_0x1f2fa,{text:_0xcb9512,color:_0x5a0c31}=_0x2cd696;_0x459ff4[_0xbde973(0x160)](),_0x459ff4['font']=_0xbde973(0x222);const _0xd8938e=_0x459ff4[_0xbde973(0x3fd)](_0xcb9512)[_0xbde973(0x280)],_0x46454f=Math[_0xbde973(0x3a4)](_0xd8938e+0x2*it,Ht);os(_0x459ff4,{'height':Le,'radius':0x4,'width':_0x46454f,'fill':_0x5a0c31,'evented':!0x1}),_0x459ff4[_0xbde973(0x287)]='#FFF';const _0x239794=it,_0x49a259=Le-rs,_0x4be87b=Ht-0x2*it;if(_0xd8938e>_0x4be87b){let _0x46135d='',_0x528170=0x0;for(const _0x56400c of _0xcb9512){const _0x527f33=_0x459ff4[_0xbde973(0x3fd)](_0x56400c)['width'];if(_0x528170+_0x527f33<=_0x4be87b-_0x459ff4[_0xbde973(0x3fd)](_0xbde973(0x4cb))[_0xbde973(0x280)])_0x46135d+=_0x56400c,_0x528170+=_0x527f33;else{_0x46135d+=_0xbde973(0x4cb);break;}}_0x459ff4[_0xbde973(0x5ed)](_0x46135d,_0x239794,_0x49a259);}else _0x459ff4[_0xbde973(0x5ed)](_0xcb9512,_0x239794,_0x49a259);_0x459ff4['restore']();}[_0x1f2fa(0x405)](_0x4b5c58){const _0x5dd522=_0x1f2fa;ze[_0x5dd522(0x2a5)](_0x4b5c58,this);}}const st='collab-text-anchor-',as='collab-text-range-',cs=_0x1f2fa(0x439),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x1f2fa(0x2e5);class Bt{constructor(_0x4c4e86,_0x5d1be3,_0x4a7661,_0x3e62d6){const _0x2b8b1c=_0x1f2fa;I(this,_0x2b8b1c(0x41d),[]),I(this,'_anchor',null),I(this,_0x2b8b1c(0x2ed),null),I(this,_0x2b8b1c(0x433),null),I(this,'_hideTimer',null),I(this,_0x2b8b1c(0x3ba),null),(this[_0x2b8b1c(0x2eb)]=_0x4c4e86,this['_scene']=_0x5d1be3,this[_0x2b8b1c(0x2d9)]=_0x4a7661,this[_0x2b8b1c(0x34a)]=_0x3e62d6,this['_render']());}set[_0x1f2fa(0x345)](_0x228ee9){const _0x3ac67e=_0x1f2fa;_0x228ee9?(this[_0x3ac67e(0x433)]&&this[_0x3ac67e(0x433)][_0x3ac67e(0x4a2)](),this[_0x3ac67e(0x2ed)]&&this[_0x3ac67e(0x2ed)]['show']()):(this[_0x3ac67e(0x433)]&&this[_0x3ac67e(0x433)][_0x3ac67e(0x472)](),this[_0x3ac67e(0x2ed)]&&this[_0x3ac67e(0x2ed)][_0x3ac67e(0x4a2)]());}['dispose'](){const _0x5a7438=_0x1f2fa;for(const _0x23b4c2 of this[_0x5a7438(0x41d)])_0x23b4c2[_0x5a7438(0x366)]();this[_0x5a7438(0x2ed)]&&this['_textBubble'][_0x5a7438(0x366)](),this[_0x5a7438(0x433)]&&this[_0x5a7438(0x433)][_0x5a7438(0x366)](),this[_0x5a7438(0x3b1)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x5a7438(0x3ba)]();}[_0x1f2fa(0x2d4)](){const _0x4ac786=_0x1f2fa;var _0x14d812;const {_docSkeleton:_0x7ef5ba,_document:_0x3cbe2d}=this,{color:_0x3f55f5,name:_0x186128,ranges:_0x5cc744}=this[_0x4ac786(0x2eb)],_0x5964fe=_0x3cbe2d[_0x4ac786(0x488)](),{docsLeft:_0x42ef71,docsTop:_0xb5e707}=_0x5964fe,_0x25f4bc=new J[(_0x4ac786(0x3b7))](_0x5964fe,_0x7ef5ba);for(const {startOffset:_0x5c47a6,endOffset:_0x33c808,rangeType:_0x1183b9,segmentId:_0x1cbebc,segmentPage:_0x4171a8,collapsed:_0xd513b,isActive:_0x2f930b}of _0x5cc744){const _0x14370a=_0x7ef5ba[_0x4ac786(0x2dc)](_0x5c47a6,!0x0,_0x1cbebc,_0x4171a8);let _0x4a513e=_0x7ef5ba['findNodePositionByCharIndex'](_0x33c808,!0x0,_0x1cbebc,_0x4171a8);if(_0x4a513e==null&&(_0x4a513e=_0x7ef5ba[_0x4ac786(0x2dc)](_0x33c808-0x1,!0x1,_0x1cbebc,_0x4171a8)),_0x2f930b){const {contentBoxPointGroup:_0x17b2eb}=_0x25f4bc[_0x4ac786(0x33b)](_0x4a513e,_0x4a513e);if(_0x17b2eb[_0x4ac786(0x339)]===0x0)continue;this[_0x4ac786(0x1c2)](_0x3f55f5,_0x17b2eb,_0x42ef71,_0xb5e707,_0x186128),this[_0x4ac786(0x3ba)]=this[_0x4ac786(0x2e3)]();}if(_0x14370a&&_0x4a513e){if(_0x1183b9===a['DOC_RANGE_TYPE'][_0x4ac786(0x362)]){const _0x4e5e7f=new J[(_0x4ac786(0x574))](_0x5964fe,_0x7ef5ba),{pointGroup:_0x3a1a14}=(_0x14d812=_0x4e5e7f[_0x4ac786(0x33b)](_0x14370a,_0x4a513e))!=null?_0x14d812:{};if(_0x3a1a14==null||_0x3a1a14[_0x4ac786(0x339)]===0x0)continue;this[_0x4ac786(0x325)](_0x3f55f5,_0x3a1a14,_0x42ef71,_0xb5e707);}else{if(!_0xd513b){const {borderBoxPointGroup:_0x31ce8c}=_0x25f4bc['getRangePointData'](_0x14370a,_0x4a513e);if(_0x31ce8c['length']===0x0)continue;this['_drawTextRange'](_0x3f55f5,_0x31ce8c,_0x42ef71,_0xb5e707);}}}}}[_0x1f2fa(0x1c2)](_0x382840,_0x1e0612,_0x32983e,_0x39af23,_0x560244){const _0x2e5e72=_0x1f2fa,_0x4b2eac=this[_0x2e5e72(0x5a0)](_0x1e0612),{left:_0x28e0a5,top:_0x17f580,height:_0xa7a51f}=_0x4b2eac,_0x500a63=this[_0x2e5e72(0x2e2)](),_0x190f0d=hs/_0x500a63,_0x29247a=new K[(_0x2e5e72(0x3ca))](st+a['Tools'][_0x2e5e72(0x452)](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23,'height':_0xa7a51f,'width':ls,'fill':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)]['black'],0x0),'strokeWidth':_0x190f0d,'stroke':_s,'evented':!0x0});this[_0x2e5e72(0x3b1)]=_0x29247a,this[_0x2e5e72(0x512)][_0x2e5e72(0x2e8)](_0x29247a,J[_0x2e5e72(0x449)]);const _0x517ddf=new K['Rect'](st+a['Tools']['generateRandomId'](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23-rt/0x2,'height':rt,'width':rt,'fill':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)][_0x2e5e72(0x3d7)],0x0),'strokeWidth':0x0,'stroke':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)][_0x2e5e72(0x3d7)],0x0),'evented':!0x1});this[_0x2e5e72(0x433)]=_0x517ddf,this['_scene'][_0x2e5e72(0x2e8)](_0x517ddf,J[_0x2e5e72(0x449)]);const _0x1e2195=new ze(st+a['Tools'][_0x2e5e72(0x452)](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23-Le,'text':_0x560244,'color':_0x382840});this[_0x2e5e72(0x2ed)]=_0x1e2195,this['_scene'][_0x2e5e72(0x2e8)](_0x1e2195,J[_0x2e5e72(0x449)]),this[_0x2e5e72(0x345)]=!0x1;}['_handleHover'](){const _0x112706=_0x1f2fa,_0x5f3ca1=this['_anchor'][_0x112706(0x57b)][_0x112706(0x301)](()=>{const _0x56e5e2=_0x112706;this[_0x56e5e2(0x345)]=!0x0;}),_0x5bb12f=this[_0x112706(0x3b1)][_0x112706(0x493)][_0x112706(0x301)](()=>{const _0x4e0d61=_0x112706;this[_0x4e0d61(0x276)]&&clearTimeout(this[_0x4e0d61(0x276)]),this[_0x4e0d61(0x276)]=setTimeout(()=>{const _0x5a0238=_0x4e0d61;this[_0x5a0238(0x345)]=!0x1;},0x7d0);});return()=>{const _0x2c9a78=_0x112706;_0x5f3ca1['unsubscribe'](),_0x5bb12f[_0x2c9a78(0x484)]();};}[_0x1f2fa(0x3b2)](_0x41916e,_0x6a7ba1,_0x341c16,_0xff40aa){const _0x1c153f=_0x1f2fa,_0x36a948=new a[(_0x1c153f(0x525))](_0x41916e)['setAlpha'](0.2)[_0x1c153f(0x56d)](),_0x511921=new K[(_0x1c153f(0x58c))](as+a[_0x1c153f(0x34c)][_0x1c153f(0x452)](Ue),{'pointsGroup':_0x6a7ba1,'fill':_0x36a948||K[_0x1c153f(0x507)](a[_0x1c153f(0x375)][_0x1c153f(0x3d7)],0.2),'left':_0x341c16,'top':_0xff40aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c153f(0x41d)][_0x1c153f(0x19c)](_0x511921),this[_0x1c153f(0x512)][_0x1c153f(0x2e8)](_0x511921,J['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x43dd79,_0x154e8f,_0x16354d,_0x4f196b){const _0x1a06f5=_0x1f2fa,_0x3b9718=new a[(_0x1a06f5(0x525))](_0x43dd79)[_0x1a06f5(0x427)](0.2)[_0x1a06f5(0x56d)](),_0xa71f3d=new K[(_0x1a06f5(0x58c))](cs+a[_0x1a06f5(0x34c)][_0x1a06f5(0x452)](Ue),{'pointsGroup':_0x154e8f,'fill':_0x3b9718||K[_0x1a06f5(0x507)](a[_0x1a06f5(0x375)][_0x1a06f5(0x3d7)],0.2),'left':_0x16354d,'top':_0x4f196b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a06f5(0x41d)][_0x1a06f5(0x19c)](_0xa71f3d),this['_scene'][_0x1a06f5(0x2e8)](_0xa71f3d,J[_0x1a06f5(0x449)]);}[_0x1f2fa(0x5a0)](_0x2966a5){const _0x103431=_0x2966a5[0x0],_0x271d3f=_0x103431[0x0],_0x5e7814=_0x103431[0x2],{x:_0x26e7d9,y:_0x167530}=_0x271d3f,{x:_0x1edb23,y:_0x270c09}=_0x5e7814;return{'left':_0x26e7d9,'top':_0x167530,'width':_0x1edb23-_0x26e7d9,'height':_0x270c09-_0x167530};}['_getScale'](){const _0x2a39cf=_0x1f2fa,{scaleX:_0x45ff69,scaleY:_0x3695b6}=this['_scene'][_0x2a39cf(0x37f)]();return Math[_0x2a39cf(0x4ce)](_0x45ff69,_0x3695b6);}}var us=Object[_0x1f2fa(0x4e5)],ds=Object[_0x1f2fa(0x40d)],fs=(_0x4fd7b5,_0x445d68,_0x313852,_0x4c03d0)=>{const _0x83b7fb=_0x1f2fa;for(var _0x5c33a8=_0x4c03d0>0x1?void 0x0:_0x4c03d0?ds(_0x445d68,_0x313852):_0x445d68,_0x489721=_0x4fd7b5[_0x83b7fb(0x339)]-0x1,_0x1b873a;_0x489721>=0x0;_0x489721--)(_0x1b873a=_0x4fd7b5[_0x489721])&&(_0x5c33a8=(_0x4c03d0?_0x1b873a(_0x445d68,_0x313852,_0x5c33a8):_0x1b873a(_0x5c33a8))||_0x5c33a8);return _0x4c03d0&&_0x5c33a8&&us(_0x445d68,_0x313852,_0x5c33a8),_0x5c33a8;},je=(_0x1d7f61,_0x11a3b1)=>(_0x2ac21f,_0x3b0c31)=>_0x11a3b1(_0x2ac21f,_0x3b0c31,_0x1d7f61);let pt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x477971,_0x22da3c,_0x4220bc,_0x2de00e,_0x524797){const _0xca61dd=_0x1f2fa;super(),I(this,_0xca61dd(0x244),[]),I(this,'_cursors',[]),(this[_0xca61dd(0x199)]=_0x477971,this['_docSkeletonManagerService']=_0x22da3c,this[_0xca61dd(0x509)]=_0x4220bc,this[_0xca61dd(0x5ab)]=_0x2de00e,this[_0xca61dd(0x4a9)]=_0x524797,this[_0xca61dd(0x48d)]());}['_init'](){const _0x2cdd7b=_0x1f2fa,_0x4a9070=this['_context'][_0x2cdd7b(0x4e3)],_0x5569dd=this['_docSkeletonManagerService'];this[_0x2cdd7b(0x305)](A[_0x2cdd7b(0x5b7)]([this[_0x2cdd7b(0x509)][_0x2cdd7b(0x1f4)](_0x4a9070),this[_0x2cdd7b(0x4a9)][_0x2cdd7b(0x2b0)]])[_0x2cdd7b(0x5f2)](V[_0x2cdd7b(0x50e)](([_0x151da9,_0x3be2a8])=>({'skeleton':_0x5569dd[_0x2cdd7b(0x277)](),'cursors':[..._0x151da9[_0x2cdd7b(0x284)]()][_0x2cdd7b(0x252)](_0x3e6908=>({..._0x3e6908,'color':_0x3be2a8[_0x3e6908[_0x2cdd7b(0x47f)]]}))})))[_0x2cdd7b(0x25e)](_0x32d198=>{const _0x4ef254=_0x2cdd7b;if(this[_0x4ef254(0x5b1)](),_0x32d198){const {skeleton:_0x16dab5,cursors:_0xb0685f}=_0x32d198;this[_0x4ef254(0x26b)](_0x16dab5,_0xb0685f);}})),this[_0x2cdd7b(0x5a5)](),this[_0x2cdd7b(0x609)]();}['_updateCollabCursors'](_0x27f0a,_0x4a0210){const _0x25095e=_0x1f2fa,{scene:_0x5ed97d,mainComponent:_0x1d83d5}=this[_0x25095e(0x199)],_0x1e65ac=_0x4a0210[_0x25095e(0x50e)](_0x44b5df=>new Bt(_0x44b5df,_0x5ed97d,_0x27f0a,_0x1d83d5));this[_0x25095e(0x244)]=_0x1e65ac,this['_cursors']=_0x4a0210;}[_0x1f2fa(0x47e)](){const _0x39efe2=_0x1f2fa;this[_0x39efe2(0x5b1)]();const {scene:_0x3aa9c4,mainComponent:_0x34fcf3}=this[_0x39efe2(0x199)],_0x1b241c=this['_docSkeletonManagerService']['getSkeleton'](),_0x2484c8=this[_0x39efe2(0x52b)][_0x39efe2(0x50e)](_0x12220d=>new Bt(_0x12220d,_0x3aa9c4,_0x1b241c,_0x34fcf3));this['_cursorShapes']=_0x2484c8;}['_removeCollabCursors'](){const _0x277017=_0x1f2fa;this[_0x277017(0x244)][_0x277017(0x601)](_0x2a72cd=>_0x2a72cd[_0x277017(0x366)]()),this[_0x277017(0x244)]=[];}[_0x1f2fa(0x609)](){const _0x3f47ba=_0x1f2fa,_0x1bbd65=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x3f47ba(0x5ab)][_0x3f47ba(0x5f9)](_0x3356bc=>{const _0x3e595d=_0x3f47ba;_0x1bbd65['includes'](_0x3356bc['id'])&&_0x3356bc['params'][_0x3e595d(0x4e3)]===this[_0x3e595d(0x199)]['unitId']&&this[_0x3e595d(0x47e)]();}));}[_0x1f2fa(0x5a5)](){const _0xfc09d=_0x1f2fa;this['disposeWithMe'](a[_0xfc09d(0x595)](this[_0xfc09d(0x199)]['engine']['onTransformChange$'])[_0xfc09d(0x5f2)](V['filter'](_0x1bddc8=>_0x1bddc8[_0xfc09d(0x1eb)]===K[_0xfc09d(0x230)]['resize']),V[_0xfc09d(0x356)](0x10))['subscribe'](()=>{const _0x2064f4=_0xfc09d;this[_0x2064f4(0x47e)]();}));}};pt=fs([je(0x1,a[_0x1f2fa(0x28d)](ye[_0x1f2fa(0x401)])),je(0x2,a[_0x1f2fa(0x28d)](De)),je(0x3,a[_0x1f2fa(0x51f)]),je(0x4,a['Inject'](a[_0x1f2fa(0x415)]))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x1f2fa(0x476)]{constructor(_0x335d77,_0x2b85f6){const _0x44a47b=_0x1f2fa;super(_0x335d77,_0x2b85f6),I(this,_0x44a47b(0x21f)),I(this,_0x44a47b(0x581),!0x1),I(this,_0x44a47b(0x41a)),I(this,_0x44a47b(0x483),''),I(this,_0x44a47b(0x188),_0x44a47b(0x492)),I(this,'_backgroundColor'),(_0x2b85f6&&this['setShapeProps'](_0x2b85f6),this[_0x44a47b(0x57b)][_0x44a47b(0x301)](()=>this[_0x44a47b(0x298)]({'hovered':!0x0})),this[_0x44a47b(0x493)]['subscribeEvent'](()=>this[_0x44a47b(0x298)]({'hovered':!0x1})));}[_0x1f2fa(0x298)](_0x6eed2e){const _0xb16370=_0x1f2fa;var _0x2e540f,_0xf3a29a,_0x33d8db,_0x228fce,_0x8a1c30,_0x7f54ce;this[_0xb16370(0x21f)]=(_0x2e540f=_0x6eed2e['color'])!=null?_0x2e540f:this['_color'],this[_0xb16370(0x581)]=(_0xf3a29a=_0x6eed2e[_0xb16370(0x225)])!=null?_0xf3a29a:this[_0xb16370(0x581)],this['_range']=(_0x33d8db=_0x6eed2e['range'])!=null?_0x33d8db:this['_range'],this[_0xb16370(0x483)]=(_0x228fce=_0x6eed2e['name'])!=null?_0x228fce:this['_name'],this['_labelPosition']=(_0x8a1c30=_0x6eed2e[_0xb16370(0x46d)])!=null?_0x8a1c30:this[_0xb16370(0x188)],this[_0xb16370(0x44d)]=(_0x7f54ce=_0x6eed2e[_0xb16370(0x1ad)])!=null?_0x7f54ce:this[_0xb16370(0x44d)],this['transformByState']({'width':_0x6eed2e[_0xb16370(0x280)],'height':_0x6eed2e['height']});}[_0x1f2fa(0x4e9)](_0x2ad9db){const _0xb5030f=_0x1f2fa,{row:_0x407b70,column:_0x501baa}=_0x2ad9db;if(_0x407b70>=this[_0xb5030f(0x41a)][_0xb5030f(0x1f6)]&&_0x407b70<=this[_0xb5030f(0x41a)]['endRow']&&_0x501baa>=this[_0xb5030f(0x41a)][_0xb5030f(0x31c)]&&_0x501baa<=this[_0xb5030f(0x41a)]['endColumn']){this[_0xb5030f(0x298)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1f2fa(0x3b8)](_0x1274c6){return!0x1;}['_draw'](_0x1738fb){const _0x4b7e62=_0x1f2fa;K[_0x4b7e62(0x3ca)]['drawWith'](_0x1738fb,{'width':this[_0x4b7e62(0x280)],'height':this[_0x4b7e62(0x255)],'strokeWidth':ms,'stroke':this[_0x4b7e62(0x21f)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1738fb[_0x4b7e62(0x160)](),_0x1738fb['transform'](0x1,0x0,0x0,0x1,this[_0x4b7e62(0x280)],this[_0x4b7e62(0x188)]===_0x4b7e62(0x519)?0x0:-Le),ze[_0x4b7e62(0x2a5)](_0x1738fb,{'text':this[_0x4b7e62(0x483)],'color':this[_0x4b7e62(0x21f)]}),_0x1738fb[_0x4b7e62(0x383)]());}}var Ss=Object[_0x1f2fa(0x4e5)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x55ac09,_0x394318,_0x23dbda,_0x38d58d)=>{const _0x49b544=_0x1f2fa;for(var _0x161f17=_0x38d58d>0x1?void 0x0:_0x38d58d?ps(_0x394318,_0x23dbda):_0x394318,_0x558035=_0x55ac09[_0x49b544(0x339)]-0x1,_0x271552;_0x558035>=0x0;_0x558035--)(_0x271552=_0x55ac09[_0x558035])&&(_0x161f17=(_0x38d58d?_0x271552(_0x394318,_0x23dbda,_0x161f17):_0x271552(_0x161f17))||_0x161f17);return _0x38d58d&&_0x161f17&&Ss(_0x394318,_0x23dbda,_0x161f17),_0x161f17;},ot=(_0x350ece,_0x346d7b)=>(_0x98826f,_0xde79f6)=>_0x346d7b(_0x98826f,_0xde79f6,_0x350ece);const Is=0x1389;let gt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x4171e4,_0xab4a86,_0x2283b7,_0x579a53){const _0x58fd6b=_0x1f2fa;super(),I(this,_0x58fd6b(0x52b),new Set()),I(this,_0x58fd6b(0x237),null),(this['_context']=_0x4171e4,this[_0x58fd6b(0x60d)]=_0xab4a86,this[_0x58fd6b(0x509)]=_0x2283b7,this[_0x58fd6b(0x4a9)]=_0x579a53,this[_0x58fd6b(0x48d)]());}['_init'](){const _0x3b6e58=_0x1f2fa;this[_0x3b6e58(0x60d)][_0x3b6e58(0x438)][_0x3b6e58(0x5f2)](V[_0x3b6e58(0x5d4)](this[_0x3b6e58(0x57d)]),V['switchMap'](_0x1b2875=>{const _0x42864f=_0x3b6e58;if(_0x1b2875){const _0xa64a14=_0x1b2875[_0x42864f(0x58b)];return A[_0x42864f(0x5b7)](this['_collabCursorController'][_0x42864f(0x1f4)](this[_0x42864f(0x199)]['unitId']),this['_themeService'][_0x42864f(0x2b0)])[_0x42864f(0x5f2)](V[_0x42864f(0x50e)](([_0x2a1f6e,_0x35b0e6])=>{const _0x393730=_0x42864f,_0x507417=new Map();return _0x2a1f6e[_0x393730(0x601)]((_0x5311eb,_0x14273e)=>{const _0x3c1c86=_0x393730;if(_0x5311eb[_0x3c1c86(0x3aa)]===_0xa64a14){const _0x41ddf6={..._0x5311eb};_0x41ddf6[_0x3c1c86(0x47f)]=_0x35b0e6[_0x5311eb[_0x3c1c86(0x47f)]],_0x507417[_0x3c1c86(0x329)](_0x14273e,_0x41ddf6);}}),{'skeleton':_0x1b2875,'cursors':_0x507417};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x3b6e58(0x25e)](({skeleton:_0x37039,cursors:_0x3bc100})=>{const _0x3fd435=_0x3b6e58;this[_0x3fd435(0x5b1)](),_0x37039&&this[_0x3fd435(0x26b)](_0x37039,_0x3bc100);}),this['_sheetSkeletonManagerService'][_0x3b6e58(0x438)][_0x3b6e58(0x25e)](_0xc5e974=>{const _0x332886=_0x3b6e58;if(_0xc5e974==null)return;const {skeleton:_0x454a08}=_0xc5e974,{scene:_0x5d12a4}=this[_0x332886(0x199)];_0x5d12a4['onPointerMove$']['subscribeEvent'](a[_0x332886(0x4ad)](_0x1caefa=>{const _0x39d8ea=_0x332886;var _0x47d8c4,_0xeca869;const {offsetX:_0x325744,offsetY:_0x27f1c2}=_0x1caefa,{x:_0x2ec933,y:_0x126d48}=_0x5d12a4[_0x39d8ea(0x510)](K['Vector2']['FromArray']([_0x325744,_0x27f1c2])),{scaleX:_0x323190,scaleY:_0x71efc0}=_0x5d12a4[_0x39d8ea(0x37f)](),_0x412a97=_0x5d12a4[_0x39d8ea(0x35e)](Re[_0x39d8ea(0x279)]['VIEW_MAIN']),_0x23dd5c=_0x5d12a4[_0x39d8ea(0x1a0)](K[_0x39d8ea(0x596)][_0x39d8ea(0x3ab)]([_0x2ec933,_0x126d48]),_0x412a97),_0x45c931=_0x454a08['getCellPositionByOffset'](_0x325744,_0x27f1c2,_0x323190,_0x71efc0,_0x23dd5c);((_0x47d8c4=this[_0x39d8ea(0x237)])==null?void 0x0:_0x47d8c4['column'])===_0x45c931[_0x39d8ea(0x48b)]&&((_0xeca869=this[_0x39d8ea(0x237)])==null?void 0x0:_0xeca869[_0x39d8ea(0x1e0)])===_0x45c931[_0x39d8ea(0x1e0)]||this[_0x39d8ea(0x52b)][_0x39d8ea(0x601)](_0x1a8013=>{_0x1a8013['onMouseMove'](_0x45c931);});},0x64));});}[_0x1f2fa(0x26b)](_0x46a1e4,_0x19cca4){const _0x4581cf=_0x1f2fa;var _0x4ca5c6;const _0xc7723a=(_0x4ca5c6=this[_0x4581cf(0x60d)][_0x4581cf(0x471)]())==null?void 0x0:_0x4ca5c6['skeleton'];if(!_0xc7723a)return;const _0x5e94cd=this[_0x4581cf(0x49c)]();if(!_0x5e94cd)return;this[_0x4581cf(0x52b)][_0x4581cf(0x601)](_0x53f209=>{const _0x3fbade=_0x4581cf;_0x53f209[_0x3fbade(0x18c)]();});const {scene:_0x1cbeb1}=_0x5e94cd,_0x36ad34=Cs(Array[_0x4581cf(0x536)](_0x19cca4[_0x4581cf(0x284)]()))[_0x4581cf(0x50e)](_0x208173=>{const _0x595e83=_0x4581cf,{color:_0x4ae147,range:_0x3aa485,name:_0x2719b5,selection:_0x1828df,sheetID:_0x36d664}=_0x208173,{startColumn:_0x313eb0,startRow:_0xbf3d83,endColumn:_0x1d2ad8,endRow:_0x2b8e40}=_0x3aa485,_0x477650=Re['getCoordByCell'](_0xbf3d83,_0x313eb0,_0x1cbeb1,_0xc7723a),_0x334f32=Re['getCoordByCell'](_0x2b8e40,_0x1d2ad8,_0x1cbeb1,_0xc7723a),{columnHeaderHeightAndMarginTop:_0x3e0eb5}=_0xc7723a,{startX:_0xa92104,startY:_0x35b897}=_0x477650,{endX:_0xa39a76,endY:_0x29eaf1}=_0x334f32,_0x58acf5=_0xa39a76-_0xa92104,_0x10972c=_0x29eaf1-_0x35b897,_0xea2059={'labelPosition':_0x35b897-_0x3e0eb5>=Le?'top':_0x595e83(0x519),'sheetID':_0x36d664,'range':_0x3aa485,'color':_0x4ae147,'name':_0x2719b5,'selection':_0x1828df,'left':_0xa92104,'top':_0x35b897,'width':_0x58acf5,'height':_0x10972c,'evented':!0x1,'zIndex':Is};return new Sn(_0x2719b5,_0xea2059);});_0x1cbeb1[_0x4581cf(0x34e)](_0x36ad34,vs),this[_0x4581cf(0x52b)]=new Set(_0x36ad34);}['_removeCollabCursors'](){const _0x12e724=_0x1f2fa;var _0xc485c2;(_0xc485c2=this['_cursors'])==null||_0xc485c2[_0x12e724(0x601)](_0x3c457c=>_0x3c457c[_0x12e724(0x366)]());}[_0x1f2fa(0x49c)](){const _0x305718=_0x1f2fa;return Re['getSheetObject'](this[_0x305718(0x199)][_0x305718(0x460)],this[_0x305718(0x199)]);}};gt=gs([ot(0x1,a[_0x1f2fa(0x28d)](Re[_0x1f2fa(0x2bb)])),ot(0x2,a[_0x1f2fa(0x28d)](De)),ot(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x415)]))],gt);function Cs(_0x392fad){const _0xb91c9d=_0x1f2fa,_0x30ba44=new Map();return _0x392fad[_0xb91c9d(0x601)](_0x5a65e1=>{const _0x147c02=_0xb91c9d;if(_0x30ba44[_0x147c02(0x3d5)](_0x5a65e1['selection'])){const _0x154a91=_0x30ba44[_0x147c02(0x2f6)](_0x5a65e1[_0x147c02(0x26c)]);_0x154a91[_0x147c02(0x228)]+=',\x20'+_0x5a65e1['name'];}else _0x30ba44['set'](_0x5a65e1[_0x147c02(0x26c)],_0x5a65e1);}),Array['from'](_0x30ba44[_0xb91c9d(0x284)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x58c902){const _0x588c64=_0x1f2fa;return _0x58c902&&_0x58c902[_0x588c64(0x343)]&&Object['prototype']['hasOwnProperty'][_0x588c64(0x575)](_0x58c902,_0x588c64(0x4a1))?_0x58c902[_0x588c64(0x4a1)]:_0x58c902;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x1f2fa(0x162)](_0x1f2fa(0x4b7)),Ts=Symbol[_0x1f2fa(0x162)]('react.fragment'),Rs=Object[_0x1f2fa(0x42a)][_0x1f2fa(0x3f7)],ys=Es[_0x1f2fa(0x223)]['ReactCurrentOwner'],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x561dce,_0x57094e,_0x1de082){const _0x873c38=_0x1f2fa;var _0x4f4e1d,_0x5ac6b3={},_0x374968=null,_0x3dad1e=null;_0x1de082!==void 0x0&&(_0x374968=''+_0x1de082),_0x57094e['key']!==void 0x0&&(_0x374968=''+_0x57094e[_0x873c38(0x4dd)]),_0x57094e[_0x873c38(0x275)]!==void 0x0&&(_0x3dad1e=_0x57094e['ref']);for(_0x4f4e1d in _0x57094e)Rs[_0x873c38(0x575)](_0x57094e,_0x4f4e1d)&&!Os[_0x873c38(0x3f7)](_0x4f4e1d)&&(_0x5ac6b3[_0x4f4e1d]=_0x57094e[_0x4f4e1d]);if(_0x561dce&&_0x561dce['defaultProps']){for(_0x4f4e1d in(_0x57094e=_0x561dce['defaultProps'],_0x57094e))_0x5ac6b3[_0x4f4e1d]===void 0x0&&(_0x5ac6b3[_0x4f4e1d]=_0x57094e[_0x4f4e1d]);}return{'$$typeof':bs,'type':_0x561dce,'key':_0x374968,'ref':_0x3dad1e,'props':_0x5ac6b3,'_owner':ys['current']};}Xe[_0x1f2fa(0x453)]=Ts,Xe[_0x1f2fa(0x2c1)]=gn,Xe['jsxs']=gn,pn[_0x1f2fa(0x4b1)]=Xe;var pe=pn['exports'],Q=function(){const _0x1858d5=_0x1f2fa;return Q=Object[_0x1858d5(0x265)]||function(_0x55add0){const _0x4bf237=_0x1858d5;for(var _0x1cb9d8,_0x551b63=0x1,_0x542e98=arguments[_0x4bf237(0x339)];_0x551b63<_0x542e98;_0x551b63++){_0x1cb9d8=arguments[_0x551b63];for(var _0x4dfe42 in _0x1cb9d8)Object['prototype'][_0x4bf237(0x3f7)]['call'](_0x1cb9d8,_0x4dfe42)&&(_0x55add0[_0x4dfe42]=_0x1cb9d8[_0x4dfe42]);}return _0x55add0;},Q[_0x1858d5(0x19a)](this,arguments);},Ds=function(_0x1bf8e5,_0xedd516){const _0x493a36=_0x1f2fa;var _0x2669f2={};for(var _0x13e88f in _0x1bf8e5)Object[_0x493a36(0x42a)][_0x493a36(0x3f7)][_0x493a36(0x575)](_0x1bf8e5,_0x13e88f)&&_0xedd516['indexOf'](_0x13e88f)<0x0&&(_0x2669f2[_0x13e88f]=_0x1bf8e5[_0x13e88f]);if(_0x1bf8e5!=null&&typeof Object[_0x493a36(0x4e4)]==_0x493a36(0x323)){for(var _0x400708=0x0,_0x13e88f=Object['getOwnPropertySymbols'](_0x1bf8e5);_0x400708<_0x13e88f[_0x493a36(0x339)];_0x400708++)_0xedd516[_0x493a36(0x2a1)](_0x13e88f[_0x400708])<0x0&&Object[_0x493a36(0x42a)][_0x493a36(0x385)][_0x493a36(0x575)](_0x1bf8e5,_0x13e88f[_0x400708])&&(_0x2669f2[_0x13e88f[_0x400708]]=_0x1bf8e5[_0x13e88f[_0x400708]]);}return _0x2669f2;},Dt=ae[_0x1f2fa(0x169)](function(_0x1ff8c9,_0x5a945c){const _0x4fac62=_0x1f2fa;var _0x122aea=_0x1ff8c9['icon'],_0x3169cc=_0x1ff8c9['id'],_0x35da7b=_0x1ff8c9[_0x4fac62(0x429)],_0x487f99=_0x1ff8c9['extend'],_0x5cfcb8=Ds(_0x1ff8c9,['icon','id',_0x4fac62(0x429),'extend']),_0x133ef5=_0x4fac62(0x207)[_0x4fac62(0x273)](_0x3169cc,'\x20')[_0x4fac62(0x273)](_0x35da7b||'')[_0x4fac62(0x294)](),_0x5a35b0=ae[_0x4fac62(0x423)]('_'['concat'](Us()));return In(_0x122aea,''[_0x4fac62(0x273)](_0x3169cc),{'defIds':_0x122aea[_0x4fac62(0x21c)],'idSuffix':_0x5a35b0[_0x4fac62(0x208)]},Q({'ref':_0x5a945c,'className':_0x133ef5},_0x5cfcb8),_0x487f99);});function In(_0x18f5a9,_0x4506e8,_0x41a133,_0xbcd0a6,_0xebffc3){const _0x64750f=_0x1f2fa;return ae[_0x64750f(0x3a8)](_0x18f5a9[_0x64750f(0x2ae)],Q(Q({'key':_0x4506e8},ws(_0x18f5a9,_0x41a133,_0xebffc3)),_0xbcd0a6),(Ps(_0x18f5a9,_0x41a133)[_0x64750f(0x30c)]||[])['map'](function(_0x2505fb,_0x15c9d1){const _0xfcd452=_0x64750f;return In(_0x2505fb,''['concat'](_0x4506e8,'-')[_0xfcd452(0x273)](_0x18f5a9[_0xfcd452(0x2ae)],'-')[_0xfcd452(0x273)](_0x15c9d1),_0x41a133,void 0x0,_0xebffc3);}));}function ws(_0xbd9034,_0x494369,_0x27e879){const _0x49b056=_0x1f2fa;var _0x34c143=Q({},_0xbd9034[_0x49b056(0x2ca)]);_0x27e879!=null&&_0x27e879['colorChannel1']&&_0x34c143[_0x49b056(0x461)]===_0x49b056(0x342)&&(_0x34c143[_0x49b056(0x461)]=_0x27e879[_0x49b056(0x342)]);var _0x2df856=_0x494369[_0x49b056(0x21c)];return!_0x2df856||_0x2df856[_0x49b056(0x339)]===0x0||(_0xbd9034[_0x49b056(0x2ae)]===_0x49b056(0x384)&&_0x34c143[_0x49b056(0x3d4)]&&(_0x34c143[_0x49b056(0x3d4)]=_0x34c143[_0x49b056(0x3d4)]+_0x494369['idSuffix']),Object[_0x49b056(0x491)](_0x34c143)[_0x49b056(0x601)](function(_0x39e5a9){const _0x229713=_0x49b056;var _0x4f2507=_0x39e5a9[0x0],_0x1a9859=_0x39e5a9[0x1];typeof _0x1a9859==_0x229713(0x205)&&(_0x34c143[_0x4f2507]=_0x1a9859[_0x229713(0x368)](/url\(#(.*)\)/,_0x229713(0x2da)[_0x229713(0x273)](_0x494369[_0x229713(0x60b)],')')));})),_0x34c143;}function Ps(_0x467df3,_0x629778){const _0x5a0fee=_0x1f2fa;var _0x4f007e,_0x565035=_0x629778['defIds'];return!_0x565035||_0x565035[_0x5a0fee(0x339)]===0x0?_0x467df3:_0x467df3[_0x5a0fee(0x2ae)]===_0x5a0fee(0x1ac)&&(!((_0x4f007e=_0x467df3[_0x5a0fee(0x30c)])===null||_0x4f007e===void 0x0)&&_0x4f007e[_0x5a0fee(0x339)])?Q(Q({},_0x467df3),{'children':_0x467df3[_0x5a0fee(0x30c)][_0x5a0fee(0x50e)](function(_0x3a669c){const _0xa8790f=_0x5a0fee;return typeof _0x3a669c[_0xa8790f(0x2ca)]['id']==_0xa8790f(0x205)&&_0x565035&&_0x565035['indexOf'](_0x3a669c[_0xa8790f(0x2ca)]['id'])>-0x1?Q(Q({},_0x3a669c),{'attrs':Q(Q({},_0x3a669c[_0xa8790f(0x2ca)]),{'id':_0x3a669c['attrs']['id']+_0x629778[_0xa8790f(0x60b)]})}):_0x3a669c;})}):_0x467df3;}function Us(){const _0x1ff947=_0x1f2fa;return Math[_0x1ff947(0x2fc)]()['toString'](0x24)[_0x1ff947(0x5c2)](0x2,0x8);}Dt[_0x1f2fa(0x263)]=_0x1f2fa(0x337);var Ms={'tag':_0x1f2fa(0x206),'attrs':{'fill':_0x1f2fa(0x554),'viewBox':_0x1f2fa(0x288),'width':_0x1f2fa(0x24a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2fa(0x3f1)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'stroke':'currentColor','d':_0x1f2fa(0x344),'strokeLinecap':_0x1f2fa(0x336),'strokeLinejoin':_0x1f2fa(0x336),'strokeWidth':1.2}}]},{'tag':_0x1f2fa(0x1ac),'attrs':{},'children':[{'tag':_0x1f2fa(0x5be),'attrs':{'id':_0x1f2fa(0x417)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'fill':'#fff','d':_0x1f2fa(0x347)}}]}]}],'defIds':[_0x1f2fa(0x417)]},Cn=ae[_0x1f2fa(0x169)](function(_0x390beb,_0x525351){const _0x27d25e=_0x1f2fa;return ae[_0x27d25e(0x3a8)](Dt,Object['assign']({},_0x390beb,{'id':_0x27d25e(0x24d),'ref':_0x525351,'icon':Ms}));});Cn[_0x1f2fa(0x263)]=_0x1f2fa(0x41e);var As={'tag':_0x1f2fa(0x206),'attrs':{'fill':'none','viewBox':_0x1f2fa(0x3e0),'width':_0x1f2fa(0x24a),'height':_0x1f2fa(0x24a)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2fa(0x5cb)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'stroke':'currentColor','d':_0x1f2fa(0x41b),'strokeLinecap':_0x1f2fa(0x336),'strokeLinejoin':_0x1f2fa(0x336),'strokeWidth':1.2}}]},{'tag':_0x1f2fa(0x1ac),'attrs':{},'children':[{'tag':_0x1f2fa(0x5be),'attrs':{'id':_0x1f2fa(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x1f2fa(0x4bb),'d':_0x1f2fa(0x347),'transform':_0x1f2fa(0x518)}}]}]}],'defIds':[_0x1f2fa(0x23c)]},En=ae[_0x1f2fa(0x169)](function(_0x162f51,_0x1bcf81){const _0x4f606f=_0x1f2fa;return ae[_0x4f606f(0x3a8)](Dt,Object[_0x4f606f(0x265)]({},_0x162f51,{'id':_0x4f606f(0x45c),'ref':_0x1bcf81,'icon':As}));});En[_0x1f2fa(0x263)]=_0x1f2fa(0x1e7);function bn(_0x21d4b8){const _0xef0daf=_0x1f2fa;var _0xba564a,_0x10db28,_0x11f1a0='';if(typeof _0x21d4b8==_0xef0daf(0x205)||typeof _0x21d4b8=='number')_0x11f1a0+=_0x21d4b8;else{if(typeof _0x21d4b8=='object'){if(Array[_0xef0daf(0x4ff)](_0x21d4b8)){var _0x585b2b=_0x21d4b8['length'];for(_0xba564a=0x0;_0xba564a<_0x585b2b;_0xba564a++)_0x21d4b8[_0xba564a]&&(_0x10db28=bn(_0x21d4b8[_0xba564a]))&&(_0x11f1a0&&(_0x11f1a0+='\x20'),_0x11f1a0+=_0x10db28);}else{for(_0x10db28 in _0x21d4b8)_0x21d4b8[_0x10db28]&&(_0x11f1a0&&(_0x11f1a0+='\x20'),_0x11f1a0+=_0x10db28);}}}return _0x11f1a0;}function Ns(){const _0x46ed58=_0x1f2fa;for(var _0xa4d4c3,_0x4173ab,_0x310204=0x0,_0x4e0a78='',_0x275638=arguments[_0x46ed58(0x339)];_0x310204<_0x275638;_0x310204++)(_0xa4d4c3=arguments[_0x310204])&&(_0x4173ab=bn(_0xa4d4c3))&&(_0x4e0a78&&(_0x4e0a78+='\x20'),_0x4e0a78+=_0x4173ab);return _0x4e0a78;}const Ls='univer-online-status-icon',xs=_0x1f2fa(0x489),js='univer-online-status',$s=_0x1f2fa(0x386),Hs=_0x1f2fa(0x465),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x38d22a){const _0x381238=_0x1f2fa;switch(_0x38d22a){case q[_0x381238(0x532)]:return'collabStatus.offline';case q[_0x381238(0x2b5)]:return _0x381238(0x4f0);case q[_0x381238(0x2aa)]:return _0x381238(0x4fd);case q['NOT_COLLAB']:return _0x381238(0x564);case q[_0x381238(0x500)]:case q[_0x381238(0x27a)]:return _0x381238(0x32a);case q[_0x381238(0x4cc)]:case q[_0x381238(0x586)]:return _0x381238(0x46f);}}function Tn(_0x371767){const _0x29c840=_0x1f2fa,{status$:_0x488134}=_0x371767,_0xe4b44e=ee['useObservable'](_0x488134,q[_0x29c840(0x467)]),_0x1e2e87=a[_0x29c840(0x5e1)](a['LocaleService']),_0x3139b3=a[_0x29c840(0x5e1)](exports[_0x29c840(0x1c0)]),_0x13549e=_0xe4b44e!==q['OFFLINE'],_0x442e98=_0x1e2e87['t'](Bs(_0xe4b44e)),_0x1fc4e1=Ns(Me[_0x29c840(0x2d8)],{[Me[_0x29c840(0x2b6)]]:_0x13549e,[Me[_0x29c840(0x45f)]]:!_0x13549e}),_0x2d2c62=_0x13549e?pe['jsx'](En,{}):pe[_0x29c840(0x2c1)](Cn,{}),_0x5cdae4=ae[_0x29c840(0x308)](()=>{const _0x3476ef=_0x29c840;_0x13549e||_0x3139b3[_0x3476ef(0x3a5)]();},[_0x13549e,_0x3139b3]);function _0x44bf5d(){const _0x3be832=_0x29c840;return pe[_0x3be832(0x27f)]('div',{'className':_0x1fc4e1,'onClick':_0x5cdae4,'children':[pe[_0x3be832(0x2c1)]('div',{'className':Me[_0x3be832(0x24b)],'children':_0x2d2c62}),pe['jsx']('div',{'className':Me[_0x3be832(0x1ff)],'children':_0x442e98})]});}return _0x13549e?_0x44bf5d():pe[_0x29c840(0x2c1)](ge[_0x29c840(0x607)],{'title':_0x1e2e87['t'](_0x29c840(0x50f)),'children':_0x44bf5d()});}var ks=Object['defineProperty'],Ws=Object['getOwnPropertyDescriptor'],Fs=(_0x5c937e,_0x10a8d9,_0x2fa5b5,_0x35b0fd)=>{const _0x210b9b=_0x1f2fa;for(var _0x62bbb5=_0x35b0fd>0x1?void 0x0:_0x35b0fd?Ws(_0x10a8d9,_0x2fa5b5):_0x10a8d9,_0x3b44c6=_0x5c937e[_0x210b9b(0x339)]-0x1,_0x4e82b8;_0x3b44c6>=0x0;_0x3b44c6--)(_0x4e82b8=_0x5c937e[_0x3b44c6])&&(_0x62bbb5=(_0x35b0fd?_0x4e82b8(_0x10a8d9,_0x2fa5b5,_0x62bbb5):_0x4e82b8(_0x62bbb5))||_0x62bbb5);return _0x35b0fd&&_0x62bbb5&&ks(_0x10a8d9,_0x2fa5b5,_0x62bbb5),_0x62bbb5;},$e=(_0x2a8ffc,_0x1cb2ea)=>(_0x4e908a,_0x4a3e8d)=>_0x1cb2ea(_0x4e908a,_0x4a3e8d,_0x2a8ffc);exports[_0x1f2fa(0x31a)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5dec1c,_0x5def7d,_0x2f6576,_0x3db281){const _0x473b8b=_0x1f2fa;super(),I(this,_0x473b8b(0x454),new A['BehaviorSubject'](q[_0x473b8b(0x467)])),(this[_0x473b8b(0x51c)]=_0x5dec1c,this['_uiPartsService']=_0x5def7d,this['_injector']=_0x2f6576,this['_collaborationController']=_0x3db281,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x345171=_0x1f2fa;this[_0x345171(0x305)](this[_0x345171(0x51c)][_0x345171(0x53c)][_0x345171(0x5f2)](A[_0x345171(0x28b)](()=>{const _0x40c06c=_0x345171,_0x3bbe38=this['_univerInstanceService']['getFocusedUnit']();return _0x3bbe38?this[_0x40c06c(0x31d)][_0x40c06c(0x2e1)](_0x3bbe38[_0x40c06c(0x4ea)]()):A['of'](null);}),A[_0x345171(0x28b)](_0x423336=>_0x423336?_0x423336['status$']:A['of'](q[_0x345171(0x467)])))[_0x345171(0x25e)](_0x8afb02=>{const _0x34ef3d=_0x345171;this['_status$'][_0x34ef3d(0x497)](_0x8afb02);}));}[_0x1f2fa(0x29c)](){const _0x166917=_0x1f2fa;this['disposeWithMe'](this['_uiPartsService'][_0x166917(0x40a)](ee['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x166917(0x30b)](Vs({'status$':this[_0x166917(0x454)][_0x166917(0x5de)]()}),this['_injector'])));}},exports[_0x1f2fa(0x31a)]=Fs([$e(0x0,a[_0x1f2fa(0x562)]),$e(0x1,ee[_0x1f2fa(0x526)]),$e(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),$e(0x3,a['Inject'](exports[_0x1f2fa(0x1ab)]))],exports[_0x1f2fa(0x31a)]);function Vs(_0x2d0c10){const {status$:_0x26f5de}=_0x2d0c10;return function(){const _0x2bc504=_0x3f71;return pe[_0x2bc504(0x2c1)](Tn,{'status$':_0x26f5de});};}const wt=a[_0x1f2fa(0x3a7)](_0x1f2fa(0x4a5));var Gs=Object[_0x1f2fa(0x4e5)],Ys=Object[_0x1f2fa(0x40d)],Ks=(_0xea8819,_0x46be60,_0x18f358,_0x4210a8)=>{const _0x12a59e=_0x1f2fa;for(var _0x154743=_0x4210a8>0x1?void 0x0:_0x4210a8?Ys(_0x46be60,_0x18f358):_0x46be60,_0x25dcbc=_0xea8819[_0x12a59e(0x339)]-0x1,_0x24f1a8;_0x25dcbc>=0x0;_0x25dcbc--)(_0x24f1a8=_0xea8819[_0x25dcbc])&&(_0x154743=(_0x4210a8?_0x24f1a8(_0x46be60,_0x18f358,_0x154743):_0x24f1a8(_0x154743))||_0x154743);return _0x4210a8&&_0x154743&&Gs(_0x46be60,_0x18f358,_0x154743),_0x154743;},Te=(_0x54a866,_0x4903dc)=>(_0x4ea2ad,_0x3d204a)=>_0x4903dc(_0x4ea2ad,_0x3d204a,_0x54a866);exports['DataLoaderController']=class extends a['RxDisposable']{constructor(_0x220d64,_0x5ad353,_0x24eec3,_0x23fa94,_0x530e15,_0x517511){const _0xafe1c2=_0x1f2fa;super(),this[_0xafe1c2(0x1a4)]=_0x220d64,this['_logService']=_0x5ad353,this[_0xafe1c2(0x5ab)]=_0x24eec3,this[_0xafe1c2(0x346)]=_0x23fa94,this[_0xafe1c2(0x4e2)]=_0x530e15,_0x517511?_0x517511==null||_0x517511[_0xafe1c2(0x257)]()[_0xafe1c2(0x213)](()=>this[_0xafe1c2(0x48d)]()):(this[_0xafe1c2(0x1d8)]['debug'](_0xafe1c2(0x2b3),_0xafe1c2(0x5f0)),this[_0xafe1c2(0x48d)]());}async['_init'](){const _0x412a0a=_0x1f2fa,_0x52f2e3=this['_urlService'][_0x412a0a(0x387)]('unit'),_0x3bef07=this[_0x412a0a(0x1a4)][_0x412a0a(0x387)]('type');if(!_0x52f2e3||!_0x3bef07){this['_logService'][_0x412a0a(0x4fc)](_0x412a0a(0x2b3),_0x412a0a(0x256));return;}switch(Number(_0x3bef07)){case ie[_0x412a0a(0x4c3)]:{const _0x5e17e5=await this[_0x412a0a(0x37b)](_0x52f2e3);this[_0x412a0a(0x218)](_0x5e17e5);break;}case ie[_0x412a0a(0x505)]:{await this[_0x412a0a(0x5eb)](_0x52f2e3);break;}default:{this[_0x412a0a(0x1d8)][_0x412a0a(0x2d0)](_0x412a0a(0x2b3),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1f2fa(0x218)](_0x52b41d){const _0x1a0ae2=_0x1f2fa;await this[_0x1a0ae2(0x4c8)](_0x52b41d),_0x52b41d[_0x1a0ae2(0x27c)][_0x1a0ae2(0x5f2)](A['takeUntil'](this[_0x1a0ae2(0x57d)]))[_0x1a0ae2(0x25e)](_0xc25779=>{const _0x120354=_0x1a0ae2;_0xc25779&&this[_0x120354(0x5a7)](_0xc25779);}),this['_urlService']['urlChange$'][_0x1a0ae2(0x5f2)](A[_0x1a0ae2(0x5d4)](this[_0x1a0ae2(0x57d)]))[_0x1a0ae2(0x25e)](()=>this[_0x1a0ae2(0x4c8)](_0x52b41d));}[_0x1f2fa(0x5a7)](_0x3ac3c3,_0x50a58b=!0x1){const _0x167057=_0x1f2fa,_0xb0a3a6=this[_0x167057(0x1a4)][_0x167057(0x387)]('subunit');_0x3ac3c3[_0x167057(0x2d3)]()!==_0xb0a3a6&&this['_urlService'][_0x167057(0x318)](_0x167057(0x3d9),_0x3ac3c3[_0x167057(0x2d3)](),_0x50a58b);}async[_0x1f2fa(0x4c8)](_0x121fb6){const _0x89a7b=_0x1f2fa;var _0x3975c4;const _0xe6bb4d=this[_0x89a7b(0x1a4)]['getParam'](_0x89a7b(0x3d9));if(!_0xe6bb4d||!_0x121fb6[_0x89a7b(0x1ea)](_0xe6bb4d)){const _0xbcdc44=_0x121fb6[_0x89a7b(0x495)]()[0x0],_0x5428d4=_0x121fb6[_0x89a7b(0x1ea)](_0xbcdc44);if(!_0x5428d4)return;this[_0x89a7b(0x5a7)](_0x5428d4,!0x0),await this[_0x89a7b(0x5ab)][_0x89a7b(0x3fa)](k[_0x89a7b(0x3a2)]['id'],{'unitId':_0x121fb6[_0x89a7b(0x4ea)](),'subUnitId':_0xbcdc44});return;}((_0x3975c4=_0x121fb6[_0x89a7b(0x1db)]())==null?void 0x0:_0x3975c4['getSheetId']())!==_0xe6bb4d&&await this[_0x89a7b(0x5ab)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x121fb6[_0x89a7b(0x4ea)](),'subUnitId':_0xe6bb4d});}async[_0x1f2fa(0x37b)](_0x42b5f3){const _0x29c347=_0x1f2fa;let _0x19f4e9=0x0;const _0x1e1f4b=await this[_0x29c347(0x346)][_0x29c347(0x5f6)](_0x42b5f3);return _0x1e1f4b&&(_0x1e1f4b[_0x29c347(0x4d8)]||_0x1e1f4b[_0x29c347(0x456)][_0x29c347(0x339)]!==0x0)&&(_0x19f4e9=_0x1e1f4b[_0x29c347(0x4f9)]),_0x19f4e9===0x0&&this['_logService']['debug'](_0x29c347(0x2b3),_0x29c347(0x3f5)),this['_snapshotService'][_0x29c347(0x1c9)](_0x42b5f3,_0x19f4e9);}async['_loadDoc'](_0x2a3b19){const _0x826a5d=_0x1f2fa;let _0x14bb55=0x0;const _0x3dce6d=await this[_0x826a5d(0x346)][_0x826a5d(0x5f6)](_0x2a3b19);return _0x3dce6d&&(_0x3dce6d[_0x826a5d(0x4d8)]||_0x3dce6d['mutations'][_0x826a5d(0x339)]!==0x0)&&(_0x14bb55=_0x3dce6d[_0x826a5d(0x4f9)]),_0x14bb55===0x0&&this[_0x826a5d(0x1d8)][_0x826a5d(0x4fc)](_0x826a5d(0x2b3),_0x826a5d(0x3f5)),this[_0x826a5d(0x4e2)][_0x826a5d(0x39f)](_0x2a3b19,_0x14bb55);}},exports['DataLoaderController']=Ks([Te(0x0,wt),Te(0x1,a[_0x1f2fa(0x1af)]),Te(0x2,a['ICommandService']),Te(0x3,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),Te(0x4,a[_0x1f2fa(0x28d)](S['SnapshotService'])),Te(0x5,a['Optional']($n[_0x1f2fa(0x198)]))],exports[_0x1f2fa(0x33c)]);var qs=Object['defineProperty'],zs=Object[_0x1f2fa(0x40d)],Xs=(_0x29ad48,_0x4e8dd0,_0x3cb1b1,_0x4bd3b1)=>{const _0x108587=_0x1f2fa;for(var _0x34a71b=_0x4bd3b1>0x1?void 0x0:_0x4bd3b1?zs(_0x4e8dd0,_0x3cb1b1):_0x4e8dd0,_0x3f1d06=_0x29ad48[_0x108587(0x339)]-0x1,_0x376c1f;_0x3f1d06>=0x0;_0x3f1d06--)(_0x376c1f=_0x29ad48[_0x3f1d06])&&(_0x34a71b=(_0x4bd3b1?_0x376c1f(_0x4e8dd0,_0x3cb1b1,_0x34a71b):_0x376c1f(_0x34a71b))||_0x34a71b);return _0x4bd3b1&&_0x34a71b&&qs(_0x4e8dd0,_0x3cb1b1,_0x34a71b),_0x34a71b;},kt=(_0x5b7e2f,_0x14c7f6)=>(_0x134391,_0x239aee)=>_0x14c7f6(_0x134391,_0x239aee,_0x5b7e2f);const Js=_0x1f2fa(0x282),Zs=_0x1f2fa(0x55b);let Ve=class extends a[_0x1f2fa(0x1d6)]{constructor(_0xc31496,_0x99919b){const _0x530c5b=_0x1f2fa;super(),this[_0x530c5b(0x51c)]=_0xc31496,this['_configService']=_0x99919b,this[_0x530c5b(0x48d)]();}[_0x1f2fa(0x48d)](){const _0x2c5081=_0x1f2fa;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x2c5081(0x25e)](()=>{const _0x2a9f08=_0x2c5081;var _0x4d215a;const _0xf489cb=this[_0x2a9f08(0x51c)]['getFocusedUnit']();let _0x1ae17f=(_0x4d215a=this[_0x2a9f08(0x499)][_0x2a9f08(0x546)](Js))!=null?_0x4d215a:Zs;_0xf489cb instanceof a['Workbook']&&(_0x1ae17f=_0xf489cb[_0x2a9f08(0x228)]),document[_0x2a9f08(0x4ac)]=_0x1ae17f;}));}};Ve=Xs([kt(0x0,a[_0x1f2fa(0x562)]),kt(0x1,a[_0x1f2fa(0x1b0)])],Ve);var Qs=Object[_0x1f2fa(0x4e5)],er=Object[_0x1f2fa(0x40d)],tr=(_0x19e90d,_0xe8fcc0,_0x26aedc,_0x6d0a9f)=>{for(var _0x2910c2=_0x6d0a9f>0x1?void 0x0:_0x6d0a9f?er(_0xe8fcc0,_0x26aedc):_0xe8fcc0,_0x57a987=_0x19e90d['length']-0x1,_0x22dfc8;_0x57a987>=0x0;_0x57a987--)(_0x22dfc8=_0x19e90d[_0x57a987])&&(_0x2910c2=(_0x6d0a9f?_0x22dfc8(_0xe8fcc0,_0x26aedc,_0x2910c2):_0x22dfc8(_0x2910c2))||_0x2910c2);return _0x6d0a9f&&_0x2910c2&&Qs(_0xe8fcc0,_0x26aedc,_0x2910c2),_0x2910c2;},at=(_0x2d4575,_0x21ef4c)=>(_0x16753a,_0x3f98b8)=>_0x21ef4c(_0x16753a,_0x3f98b8,_0x2d4575);let Ge=class{constructor(_0x3a43c1,_0x34ba12,_0x319844){const _0x5e3015=_0x1f2fa;this[_0x5e3015(0x499)]=_0x3a43c1,this[_0x5e3015(0x3e8)]=_0x34ba12,this[_0x5e3015(0x599)]=_0x319844,this[_0x5e3015(0x485)]();}['init'](){const _0x548397=_0x1f2fa;this[_0x548397(0x3e8)][_0x548397(0x5f8)]({'priority':0x1,'interceptor':(_0x53b20c,_0x592b55)=>_0x592b55(_0x53b20c)['pipe'](A['concatMap'](async _0x291aaf=>{const _0x5b335f=_0x548397,_0x1f7213=_0x291aaf;if(_0x1f7213[_0x5b335f(0x286)]===0x191&&window[_0x5b335f(0x5ae)](this[_0x5b335f(0x599)]['t'](_0x5b335f(0x59a)))){const _0x225b55=window[_0x5b335f(0x508)](window[_0x5b335f(0x283)][_0x5b335f(0x538)]);window[_0x5b335f(0x283)][_0x5b335f(0x538)]=this[_0x5b335f(0x446)]()+_0x5b335f(0x50d)+_0x225b55;}return _0x1f7213;}))});}[_0x1f2fa(0x446)](){const _0x650552=_0x1f2fa;var _0x1517bd,_0x47a09c;const _0x50777c=this['_configService'][_0x650552(0x546)](an),_0x2afce7=this[_0x650552(0x499)][_0x650552(0x546)](te);return(_0x47a09c=(_0x1517bd=_0x2afce7==null?void 0x0:_0x2afce7[_0x650552(0x5fb)])!=null?_0x1517bd:_0x50777c)!=null?_0x47a09c:qn;}};Ge=tr([at(0x0,a['IConfigService']),at(0x1,a['Inject'](Z[_0x1f2fa(0x516)])),at(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)]))],Ge);var nr=Object[_0x1f2fa(0x4e5)],ir=Object[_0x1f2fa(0x40d)],sr=(_0x712618,_0x519b94,_0x43f2b6,_0x3d3ded)=>{const _0xfc0986=_0x1f2fa;for(var _0x18b320=_0x3d3ded>0x1?void 0x0:_0x3d3ded?ir(_0x519b94,_0x43f2b6):_0x519b94,_0x268991=_0x712618[_0xfc0986(0x339)]-0x1,_0x68a2eb;_0x268991>=0x0;_0x268991--)(_0x68a2eb=_0x712618[_0x268991])&&(_0x18b320=(_0x3d3ded?_0x68a2eb(_0x519b94,_0x43f2b6,_0x18b320):_0x68a2eb(_0x18b320))||_0x18b320);return _0x3d3ded&&_0x18b320&&nr(_0x519b94,_0x43f2b6,_0x18b320),_0x18b320;},Wt=(_0x4efdbf,_0x2ef304)=>(_0x4c0415,_0x1b0809)=>_0x2ef304(_0x4c0415,_0x1b0809,_0x4efdbf);const Rn=_0x1f2fa(0x2a7),rr='/universer-api/authz';exports[_0x1f2fa(0x175)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x18cf58,_0x2d0c6c){const _0x53e3ae=_0x1f2fa;super(),this[_0x53e3ae(0x4bf)]=_0x18cf58,this[_0x53e3ae(0x499)]=_0x2d0c6c,this[_0x53e3ae(0x360)]();}[_0x1f2fa(0x360)](){const _0x491964=_0x1f2fa,_0x2e4181=this;this[_0x491964(0x305)](this[_0x491964(0x4bf)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0xe9ab40){const _0x324f22=_0x491964;var _0x35667c;if(_0xe9ab40[_0x324f22(0x4ec)]===_0x324f22(0x202)&&((_0x35667c=_0xe9ab40[_0x324f22(0x41c)])!=null&&_0x35667c[_0x324f22(0x26d)])){const {objectID:_0x131c81,objectType:_0x3dc8ed}=_0xe9ab40[_0x324f22(0x41c)][_0x324f22(0x26d)]||{};if(!_0x131c81||_0x3dc8ed===void 0x0)return!0x1;const _0x484f0d=_0x2e4181[_0x324f22(0x420)]()+'/'+_0x3dc8ed+'/object/'+_0x131c81+'/allowed';if(_0xe9ab40[_0x324f22(0x459)]===_0x484f0d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x555986){const _0x2c23a8=_0x491964;var _0x45ade7;return(_0x45ade7=_0x555986[_0x2c23a8(0x41c)])==null?void 0x0:_0x45ade7[_0x2c23a8(0x26d)];},'mergeParamsToRequest'(_0x9f11cf,_0x349783){const _0xcf892c=_0x491964,_0x10dbd9=_0x2e4181[_0xcf892c(0x420)]()+_0xcf892c(0x25d),_0x137a3c=_0x9f11cf[_0xcf892c(0x1cf)]((_0x2fcecc,_0x3a3c0b)=>{const _0x468a36=_0xcf892c,{unitID:_0x4bb0f8,objectID:_0x50f158,objectType:_0x3d4c9f,actions:_0x1d0755}=_0x3a3c0b;return _0x2fcecc[_0x4bb0f8]||(_0x2fcecc[_0x4bb0f8]={}),_0x2fcecc[_0x4bb0f8][_0x50f158]||(_0x2fcecc[_0x4bb0f8][_0x50f158]={'objectID':_0x50f158,'objectType':_0x3d4c9f,'actions':[]}),_0x2fcecc[_0x4bb0f8][_0x50f158][_0x468a36(0x331)]['push'](..._0x1d0755),_0x2fcecc;},{}),_0x12b1cc=[];for(const _0x664f14 in _0x137a3c)for(const _0x3916d1 in _0x137a3c[_0x664f14]){const {actions:_0x2327ff,objectType:_0x572ce2}=_0x137a3c[_0x664f14][_0x3916d1],_0x1051af=[...new Set(_0x2327ff)];_0x12b1cc[_0xcf892c(0x19c)]({'unitID':_0x664f14,'objectID':_0x3916d1,'objectType':_0x572ce2,'actions':_0x1051af});}return new Z[(_0xcf892c(0x390))]('POST',_0x10dbd9,{'headers':_0x349783[_0xcf892c(0x29f)],'withCredentials':_0x349783[_0xcf892c(0x5c8)],'responseType':_0x349783[_0xcf892c(0x166)],'body':{'requests':_0x12b1cc}});}},{'distributeResult'(_0x5331d1,_0x202d64){const _0x1f364a=_0x491964,{objectActions:_0x4d2c94}=_0x5331d1;return _0x202d64[_0x1f364a(0x50e)](_0x1e215a=>{const _0x34ead3=_0x1f364a,{unitID:_0x76f116,objectID:_0x3341ec,actions:_0x25f1aa}=_0x1e215a,_0x354cfa=_0x4d2c94[_0x34ead3(0x4f6)](_0x118aaf=>_0x118aaf[_0x34ead3(0x604)]===_0x76f116&&_0x118aaf[_0x34ead3(0x229)]===_0x3341ec),_0x5950eb=_0x25f1aa[_0x34ead3(0x50e)](_0x553599=>_0x354cfa==null?void 0x0:_0x354cfa[_0x34ead3(0x331)][_0x34ead3(0x4f6)](_0x352471=>_0x352471[_0x34ead3(0x1c4)]===_0x553599))[_0x34ead3(0x3db)](_0x1409cb=>!!_0x1409cb);return{'config':_0x1e215a,'result':{'actions':_0x5950eb,'error':_0x5331d1[_0x34ead3(0x2d0)]}};});}})}));}[_0x1f2fa(0x420)](){const _0x221ef2=_0x1f2fa;var _0x3d4185,_0x406126;const _0xfd838b=this['_configService'][_0x221ef2(0x546)](Rn),_0x322761=this['_configService'][_0x221ef2(0x546)](te);return(_0x406126=(_0x3d4185=_0x322761==null?void 0x0:_0x322761['authzUrl'])!=null?_0x3d4185:_0xfd838b)!=null?_0x406126:rr;}async[_0x1f2fa(0x21e)](_0x5dcb72){const _0x31def5=_0x1f2fa,_0x4f1b1a=this['_getAPIPrefixPath']()+'/'+_0x5dcb72[_0x31def5(0x23b)]+'/object';return(await this[_0x31def5(0x4bf)][_0x31def5(0x43a)](_0x4f1b1a,{'body':_0x5dcb72}))['body'][_0x31def5(0x229)]||'';}async[_0x1f2fa(0x2b2)](_0xf2695){const _0x1ed9da=_0x1f2fa,_0x39ed8d=this[_0x1ed9da(0x420)]()+_0x1ed9da(0x183);return(await this[_0x1ed9da(0x4bf)][_0x1ed9da(0x43a)](_0x39ed8d,{'body':_0xf2695}))['body']['objects'];}async[_0x1f2fa(0x193)](_0x53fc23){const _0x3e4f3f=_0x1f2fa,_0x256b4c=this[_0x3e4f3f(0x420)]()+'/'+_0x53fc23[_0x3e4f3f(0x23b)]+_0x3e4f3f(0x4fb)+_0x53fc23[_0x3e4f3f(0x229)];await this[_0x3e4f3f(0x4bf)][_0x3e4f3f(0x1b2)](_0x256b4c,{'body':_0x53fc23});}async['allowed'](_0x15866b){const _0x57ccec=_0x1f2fa,_0x319ccc=this[_0x57ccec(0x420)]()+'/'+_0x15866b[_0x57ccec(0x23b)]+_0x57ccec(0x4fb)+_0x15866b[_0x57ccec(0x229)]+_0x57ccec(0x1aa);return(await this[_0x57ccec(0x4bf)]['post'](_0x319ccc,{'body':_0x15866b}))[_0x57ccec(0x26d)][_0x57ccec(0x331)];}async[_0x1f2fa(0x314)](_0x349501){const _0x366124=_0x1f2fa,_0xc12965=this[_0x366124(0x420)]()+_0x366124(0x25d);return(await this[_0x366124(0x4bf)][_0x366124(0x43a)](_0xc12965,{'body':{'requests':_0x349501}}))['body'][_0x366124(0x5b3)];}async[_0x1f2fa(0x4d3)](_0x4e2a4a){const _0x4bcb7a=_0x1f2fa,_0x8be236=this[_0x4bcb7a(0x420)]()+'/'+_0x4e2a4a[_0x4bcb7a(0x23b)]+'/role',_0x253f88=await this[_0x4bcb7a(0x4bf)][_0x4bcb7a(0x43a)](_0x8be236,{'body':_0x4e2a4a});return{'roles':_0x253f88[_0x4bcb7a(0x26d)][_0x4bcb7a(0x388)],'actions':_0x253f88[_0x4bcb7a(0x26d)]['actions']};}async[_0x1f2fa(0x21b)](_0x502f6c){const _0x5453fd=_0x1f2fa,_0x4559fd=this[_0x5453fd(0x420)]()+_0x5453fd(0x36b);await this[_0x5453fd(0x4bf)]['delete'](_0x4559fd,{'params':{'collaboratorID':_0x502f6c[_0x5453fd(0x55d)],'objectID':_0x502f6c[_0x5453fd(0x229)],'unitID':_0x502f6c[_0x5453fd(0x604)]}});}async[_0x1f2fa(0x59f)](_0x14396c){const _0x315aab=_0x1f2fa,_0x4d1910=this['_getAPIPrefixPath']()+_0x315aab(0x36b);await this[_0x315aab(0x4bf)][_0x315aab(0x52f)](_0x4d1910,{'body':_0x14396c});}async['createCollaborator'](_0x5e8a4b){const _0x579897=_0x1f2fa,_0x54a964=this[_0x579897(0x420)]()+_0x579897(0x36b);await this['_HTTPService']['post'](_0x54a964,{'body':_0x5e8a4b});}async[_0x1f2fa(0x494)](_0x2291c9){const _0x170af9=_0x1f2fa,_0xee494=this['_getAPIPrefixPath']()+_0x170af9(0x36b);return(await this['_HTTPService'][_0x170af9(0x2f6)](_0xee494,{'params':{'objectID':_0x2291c9[_0x170af9(0x229)],'unitID':_0x2291c9['unitID']}}))[_0x170af9(0x26d)][_0x170af9(0x540)];}async[_0x1f2fa(0x4f4)](_0x201465){const _0x396a05=_0x1f2fa,_0x12cfc2=this[_0x396a05(0x420)]()+_0x396a05(0x36b);await this[_0x396a05(0x4bf)][_0x396a05(0x1b2)](_0x12cfc2,{'body':_0x201465});}},exports[_0x1f2fa(0x175)]=sr([Wt(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)])),Wt(0x1,a['Inject'](a[_0x1f2fa(0x1b0)]))],exports[_0x1f2fa(0x175)]);var yn={'exports':{}};function or(_0x18694f){const _0x51d109=_0x1f2fa;throw new Error(_0x51d109(0x3dd)+_0x18694f+_0x51d109(0x2c3));}var ct={'exports':{}},Ft;function oe(){const _0x2fef41=_0x1f2fa;return Ft||(Ft=0x1,function(_0x3d7e7a,_0x323fff){(function(_0x2f5c28,_0x2a7ec6){const _0x49d746=_0x3f71;_0x3d7e7a[_0x49d746(0x4b1)]=_0x2a7ec6();}(X,function(){var _0x4b679c=_0x4b679c||function(_0x51e892,_0x44e9b2){const _0x4f3cce=_0x3f71;var _0x2eee42;if(typeof window<'u'&&window['crypto']&&(_0x2eee42=window[_0x4f3cce(0x376)]),typeof self<'u'&&self[_0x4f3cce(0x376)]&&(_0x2eee42=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4f3cce(0x376)]&&(_0x2eee42=globalThis[_0x4f3cce(0x376)]),!_0x2eee42&&typeof window<'u'&&window[_0x4f3cce(0x1b9)]&&(_0x2eee42=window[_0x4f3cce(0x1b9)]),!_0x2eee42&&typeof X<'u'&&X['crypto']&&(_0x2eee42=X['crypto']),!_0x2eee42&&typeof or==_0x4f3cce(0x323))try{_0x2eee42=require(_0x4f3cce(0x376));}catch{}var _0x5d2072=function(){const _0x175ea=_0x4f3cce;if(_0x2eee42){if(typeof _0x2eee42['getRandomValues']=='function')try{return _0x2eee42[_0x175ea(0x168)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2eee42[_0x175ea(0x4b0)]==_0x175ea(0x323))try{return _0x2eee42['randomBytes'](0x4)[_0x175ea(0x18b)]();}catch{}}throw new Error(_0x175ea(0x50a));},_0x1ca1ba=Object[_0x4f3cce(0x21e)]||(function(){function _0x405cfe(){}return function(_0x16de25){const _0x2b2b57=_0x3f71;var _0x2cb302;return _0x405cfe[_0x2b2b57(0x42a)]=_0x16de25,_0x2cb302=new _0x405cfe(),_0x405cfe[_0x2b2b57(0x42a)]=null,_0x2cb302;};}()),_0x540237={},_0x3ceec7=_0x540237[_0x4f3cce(0x56f)]={},_0x26415c=_0x3ceec7[_0x4f3cce(0x4ef)]=(function(){return{'extend':function(_0x5ec0f4){const _0x4ad3e9=_0x3f71;var _0x35ad88=_0x1ca1ba(this);return _0x5ec0f4&&_0x35ad88['mixIn'](_0x5ec0f4),(!_0x35ad88[_0x4ad3e9(0x3f7)](_0x4ad3e9(0x485))||this[_0x4ad3e9(0x485)]===_0x35ad88[_0x4ad3e9(0x485)])&&(_0x35ad88[_0x4ad3e9(0x485)]=function(){const _0x327132=_0x4ad3e9;_0x35ad88['$super'][_0x327132(0x485)]['apply'](this,arguments);}),_0x35ad88[_0x4ad3e9(0x485)][_0x4ad3e9(0x42a)]=_0x35ad88,_0x35ad88[_0x4ad3e9(0x3c6)]=this,_0x35ad88;},'create':function(){const _0x1adc31=_0x3f71;var _0x260d40=this['extend']();return _0x260d40[_0x1adc31(0x485)][_0x1adc31(0x19a)](_0x260d40,arguments),_0x260d40;},'init':function(){},'mixIn':function(_0x56a042){const _0x3cf8d7=_0x3f71;for(var _0x50263 in _0x56a042)_0x56a042['hasOwnProperty'](_0x50263)&&(this[_0x50263]=_0x56a042[_0x50263]);_0x56a042[_0x3cf8d7(0x3f7)](_0x3cf8d7(0x353))&&(this['toString']=_0x56a042[_0x3cf8d7(0x353)]);},'clone':function(){const _0x4f590d=_0x3f71;return this['init'][_0x4f590d(0x42a)][_0x4f590d(0x30a)](this);}};}()),_0x91ca0f=_0x3ceec7['WordArray']=_0x26415c['extend']({'init':function(_0x4e89a2,_0x3aa5b0){const _0x333cbf=_0x4f3cce;_0x4e89a2=this['words']=_0x4e89a2||[],_0x3aa5b0!=_0x44e9b2?this['sigBytes']=_0x3aa5b0:this[_0x333cbf(0x2b8)]=_0x4e89a2[_0x333cbf(0x339)]*0x4;},'toString':function(_0x2c2075){const _0x321939=_0x4f3cce;return(_0x2c2075||_0x290fe5)[_0x321939(0x3f4)](this);},'concat':function(_0x50f209){const _0x220faf=_0x4f3cce;var _0x21a7f6=this[_0x220faf(0x464)],_0x2f9df9=_0x50f209[_0x220faf(0x464)],_0x192454=this[_0x220faf(0x2b8)],_0x5f16bd=_0x50f209[_0x220faf(0x2b8)];if(this[_0x220faf(0x419)](),_0x192454%0x4)for(var _0x5ac69a=0x0;_0x5ac69a<_0x5f16bd;_0x5ac69a++){var _0x13f846=_0x2f9df9[_0x5ac69a>>>0x2]>>>0x18-_0x5ac69a%0x4*0x8&0xff;_0x21a7f6[_0x192454+_0x5ac69a>>>0x2]|=_0x13f846<<0x18-(_0x192454+_0x5ac69a)%0x4*0x8;}else{for(var _0x5a428c=0x0;_0x5a428c<_0x5f16bd;_0x5a428c+=0x4)_0x21a7f6[_0x192454+_0x5a428c>>>0x2]=_0x2f9df9[_0x5a428c>>>0x2];}return this[_0x220faf(0x2b8)]+=_0x5f16bd,this;},'clamp':function(){const _0x116502=_0x4f3cce;var _0x5698ee=this[_0x116502(0x464)],_0x1f8cc4=this[_0x116502(0x2b8)];_0x5698ee[_0x1f8cc4>>>0x2]&=0xffffffff<<0x20-_0x1f8cc4%0x4*0x8,_0x5698ee[_0x116502(0x339)]=_0x51e892[_0x116502(0x45d)](_0x1f8cc4/0x4);},'clone':function(){const _0x24e6b3=_0x4f3cce;var _0x83bda5=_0x26415c[_0x24e6b3(0x553)][_0x24e6b3(0x575)](this);return _0x83bda5[_0x24e6b3(0x464)]=this['words'][_0x24e6b3(0x31f)](0x0),_0x83bda5;},'random':function(_0xe62ba2){const _0x1a8b7b=_0x4f3cce;for(var _0x466a80=[],_0x3059be=0x0;_0x3059be<_0xe62ba2;_0x3059be+=0x4)_0x466a80['push'](_0x5d2072());return new _0x91ca0f[(_0x1a8b7b(0x485))](_0x466a80,_0xe62ba2);}}),_0x2b054=_0x540237[_0x4f3cce(0x45b)]={},_0x290fe5=_0x2b054['Hex']={'stringify':function(_0x4f9256){const _0x17ea69=_0x4f3cce;for(var _0x553c9d=_0x4f9256[_0x17ea69(0x464)],_0x58e0ef=_0x4f9256[_0x17ea69(0x2b8)],_0x59a7aa=[],_0x1e1d02=0x0;_0x1e1d02<_0x58e0ef;_0x1e1d02++){var _0x5ce65f=_0x553c9d[_0x1e1d02>>>0x2]>>>0x18-_0x1e1d02%0x4*0x8&0xff;_0x59a7aa[_0x17ea69(0x19c)]((_0x5ce65f>>>0x4)[_0x17ea69(0x353)](0x10)),_0x59a7aa[_0x17ea69(0x19c)]((_0x5ce65f&0xf)['toString'](0x10));}return _0x59a7aa[_0x17ea69(0x3d1)]('');},'parse':function(_0x28f4ae){const _0x386449=_0x4f3cce;for(var _0x62009=_0x28f4ae['length'],_0x3ccc3d=[],_0x48f227=0x0;_0x48f227<_0x62009;_0x48f227+=0x2)_0x3ccc3d[_0x48f227>>>0x3]|=parseInt(_0x28f4ae['substr'](_0x48f227,0x2),0x10)<<0x18-_0x48f227%0x8*0x4;return new _0x91ca0f[(_0x386449(0x485))](_0x3ccc3d,_0x62009/0x2);}},_0x173138=_0x2b054[_0x4f3cce(0x22b)]={'stringify':function(_0x4408a5){const _0x37abe7=_0x4f3cce;for(var _0x5e60cd=_0x4408a5[_0x37abe7(0x464)],_0x527a2a=_0x4408a5[_0x37abe7(0x2b8)],_0x671975=[],_0x406ba1=0x0;_0x406ba1<_0x527a2a;_0x406ba1++){var _0x41ff84=_0x5e60cd[_0x406ba1>>>0x2]>>>0x18-_0x406ba1%0x4*0x8&0xff;_0x671975[_0x37abe7(0x19c)](String[_0x37abe7(0x5bf)](_0x41ff84));}return _0x671975[_0x37abe7(0x3d1)]('');},'parse':function(_0x435132){const _0x25ef25=_0x4f3cce;for(var _0x1bd861=_0x435132['length'],_0x159dd1=[],_0x56eed0=0x0;_0x56eed0<_0x1bd861;_0x56eed0++)_0x159dd1[_0x56eed0>>>0x2]|=(_0x435132[_0x25ef25(0x189)](_0x56eed0)&0xff)<<0x18-_0x56eed0%0x4*0x8;return new _0x91ca0f[(_0x25ef25(0x485))](_0x159dd1,_0x1bd861);}},_0x5b8568=_0x2b054[_0x4f3cce(0x357)]={'stringify':function(_0x4e4ac9){const _0x43f83c=_0x4f3cce;try{return decodeURIComponent(escape(_0x173138[_0x43f83c(0x3f4)](_0x4e4ac9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x41263c){return _0x173138['parse'](unescape(encodeURIComponent(_0x41263c)));}},_0xe76b8e=_0x3ceec7['BufferedBlockAlgorithm']=_0x26415c[_0x4f3cce(0x30a)]({'reset':function(){const _0xd4b94=_0x4f3cce;this['_data']=new _0x91ca0f[(_0xd4b94(0x485))](),this[_0xd4b94(0x458)]=0x0;},'_append':function(_0x117bcd){const _0x53d82c=_0x4f3cce;typeof _0x117bcd=='string'&&(_0x117bcd=_0x5b8568[_0x53d82c(0x55a)](_0x117bcd)),this['_data'][_0x53d82c(0x273)](_0x117bcd),this['_nDataBytes']+=_0x117bcd[_0x53d82c(0x2b8)];},'_process':function(_0x346ac1){const _0x3a7b39=_0x4f3cce;var _0x3f895c,_0x595897=this[_0x3a7b39(0x29e)],_0x12201e=_0x595897[_0x3a7b39(0x464)],_0x38bdf7=_0x595897[_0x3a7b39(0x2b8)],_0x1f5b2c=this[_0x3a7b39(0x59b)],_0x2235d9=_0x1f5b2c*0x4,_0x2bbf80=_0x38bdf7/_0x2235d9;_0x346ac1?_0x2bbf80=_0x51e892[_0x3a7b39(0x45d)](_0x2bbf80):_0x2bbf80=_0x51e892[_0x3a7b39(0x4ce)]((_0x2bbf80|0x0)-this['_minBufferSize'],0x0);var _0x373166=_0x2bbf80*_0x1f5b2c,_0x53d516=_0x51e892['min'](_0x373166*0x4,_0x38bdf7);if(_0x373166){for(var _0x3f6973=0x0;_0x3f6973<_0x373166;_0x3f6973+=_0x1f5b2c)this[_0x3a7b39(0x179)](_0x12201e,_0x3f6973);_0x3f895c=_0x12201e[_0x3a7b39(0x563)](0x0,_0x373166),_0x595897[_0x3a7b39(0x2b8)]-=_0x53d516;}return new _0x91ca0f[(_0x3a7b39(0x485))](_0x3f895c,_0x53d516);},'clone':function(){const _0x38a726=_0x4f3cce;var _0x361984=_0x26415c[_0x38a726(0x553)][_0x38a726(0x575)](this);return _0x361984[_0x38a726(0x29e)]=this[_0x38a726(0x29e)][_0x38a726(0x553)](),_0x361984;},'_minBufferSize':0x0});_0x3ceec7[_0x4f3cce(0x5c1)]=_0xe76b8e[_0x4f3cce(0x30a)]({'cfg':_0x26415c[_0x4f3cce(0x30a)](),'init':function(_0x59fafd){const _0x12551f=_0x4f3cce;this['cfg']=this[_0x12551f(0x5d1)][_0x12551f(0x30a)](_0x59fafd),this['reset']();},'reset':function(){const _0x337dc3=_0x4f3cce;_0xe76b8e['reset'][_0x337dc3(0x575)](this),this['_doReset']();},'update':function(_0x57bc76){const _0x4d1eca=_0x4f3cce;return this[_0x4d1eca(0x1fe)](_0x57bc76),this[_0x4d1eca(0x4fe)](),this;},'finalize':function(_0x4e77a7){const _0x4de597=_0x4f3cce;_0x4e77a7&&this[_0x4de597(0x1fe)](_0x4e77a7);var _0x2eff35=this[_0x4de597(0x56c)]();return _0x2eff35;},'blockSize':0x10,'_createHelper':function(_0x18f53e){return function(_0x2e38f8,_0x54d2ba){const _0x38398e=_0x3f71;return new _0x18f53e[(_0x38398e(0x485))](_0x54d2ba)[_0x38398e(0x42f)](_0x2e38f8);};},'_createHmacHelper':function(_0x51ee42){return function(_0x314d7e,_0xaa563a){const _0x41f403=_0x3f71;return new _0x3da8fd[(_0x41f403(0x435))]['init'](_0x51ee42,_0xaa563a)[_0x41f403(0x42f)](_0x314d7e);};}});var _0x3da8fd=_0x540237[_0x4f3cce(0x3eb)]={};return _0x540237;}(Math);return _0x4b679c;}));}(ct)),ct[_0x2fef41(0x4b1)];}var lt={'exports':{}},Vt;function On(){const _0xba8452=_0x1f2fa;return Vt||(Vt=0x1,function(_0x3b3786,_0x128400){(function(_0x3e4d15,_0x5a79a9){_0x3b3786['exports']=_0x5a79a9(oe());}(X,function(_0x4b9165){const _0x305bf9=_0x3f71;return(function(){const _0x1e68fd=_0x3f71;var _0x51c60c=_0x4b9165,_0x369ceb=_0x51c60c['lib'],_0x451275=_0x369ceb[_0x1e68fd(0x27d)],_0x329043=_0x51c60c['enc'];_0x329043[_0x1e68fd(0x2c8)]={'stringify':function(_0x3760fb){const _0x15e137=_0x1e68fd;var _0x5c0368=_0x3760fb[_0x15e137(0x464)],_0x3e52fb=_0x3760fb[_0x15e137(0x2b8)],_0x378c35=this[_0x15e137(0x585)];_0x3760fb[_0x15e137(0x419)]();for(var _0x1c40d8=[],_0x130949=0x0;_0x130949<_0x3e52fb;_0x130949+=0x3)for(var _0x43485e=_0x5c0368[_0x130949>>>0x2]>>>0x18-_0x130949%0x4*0x8&0xff,_0x3155d7=_0x5c0368[_0x130949+0x1>>>0x2]>>>0x18-(_0x130949+0x1)%0x4*0x8&0xff,_0x31e873=_0x5c0368[_0x130949+0x2>>>0x2]>>>0x18-(_0x130949+0x2)%0x4*0x8&0xff,_0x12482c=_0x43485e<<0x10|_0x3155d7<<0x8|_0x31e873,_0x2fe130=0x0;_0x2fe130<0x4&&_0x130949+_0x2fe130*0.75<_0x3e52fb;_0x2fe130++)_0x1c40d8[_0x15e137(0x19c)](_0x378c35[_0x15e137(0x4d1)](_0x12482c>>>0x6*(0x3-_0x2fe130)&0x3f));var _0x394bec=_0x378c35[_0x15e137(0x4d1)](0x40);if(_0x394bec){for(;_0x1c40d8[_0x15e137(0x339)]%0x4;)_0x1c40d8[_0x15e137(0x19c)](_0x394bec);}return _0x1c40d8[_0x15e137(0x3d1)]('');},'parse':function(_0x594640){const _0x11f29f=_0x1e68fd;var _0x48cd5c=_0x594640[_0x11f29f(0x339)],_0x510a22=this[_0x11f29f(0x585)],_0x465e0c=this[_0x11f29f(0x410)];if(!_0x465e0c){_0x465e0c=this[_0x11f29f(0x410)]=[];for(var _0x1b8565=0x0;_0x1b8565<_0x510a22[_0x11f29f(0x339)];_0x1b8565++)_0x465e0c[_0x510a22[_0x11f29f(0x189)](_0x1b8565)]=_0x1b8565;}var _0x34a676=_0x510a22['charAt'](0x40);if(_0x34a676){var _0x85233f=_0x594640[_0x11f29f(0x2a1)](_0x34a676);_0x85233f!==-0x1&&(_0x48cd5c=_0x85233f);}return _0x34c1fa(_0x594640,_0x48cd5c,_0x465e0c);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x34c1fa(_0x2c368d,_0x1cf600,_0x5f065f){const _0x110915=_0x1e68fd;for(var _0x1871fe=[],_0x1d5446=0x0,_0x42c813=0x0;_0x42c813<_0x1cf600;_0x42c813++)if(_0x42c813%0x4){var _0x29a616=_0x5f065f[_0x2c368d[_0x110915(0x189)](_0x42c813-0x1)]<<_0x42c813%0x4*0x2,_0x22396d=_0x5f065f[_0x2c368d[_0x110915(0x189)](_0x42c813)]>>>0x6-_0x42c813%0x4*0x2,_0x3ad649=_0x29a616|_0x22396d;_0x1871fe[_0x1d5446>>>0x2]|=_0x3ad649<<0x18-_0x1d5446%0x4*0x8,_0x1d5446++;}return _0x451275[_0x110915(0x21e)](_0x1871fe,_0x1d5446);}}()),_0x4b9165[_0x305bf9(0x45b)][_0x305bf9(0x2c8)];}));}(lt)),lt[_0xba8452(0x4b1)];}var ht={'exports':{}},Gt;function ar(){const _0x1d91f5=_0x1f2fa;return Gt||(Gt=0x1,function(_0x3c8c4e,_0x3946db){(function(_0x35f4c4,_0x2db2f9){const _0x440adf=_0x3f71;_0x3c8c4e[_0x440adf(0x4b1)]=_0x2db2f9(oe());}(X,function(_0x5b258d){const _0x5df7ab=_0x3f71;return function(_0x21510e){const _0x2ccb51=_0x3f71;var _0x268372=_0x5b258d,_0x47242b=_0x268372[_0x2ccb51(0x56f)],_0x36ff64=_0x47242b['WordArray'],_0x357285=_0x47242b['Hasher'],_0x358865=_0x268372[_0x2ccb51(0x3eb)],_0x1494ce=[];(function(){const _0x26dc97=_0x2ccb51;for(var _0x5de0ca=0x0;_0x5de0ca<0x40;_0x5de0ca++)_0x1494ce[_0x5de0ca]=_0x21510e[_0x26dc97(0x413)](_0x21510e['sin'](_0x5de0ca+0x1))*0x100000000|0x0;}());var _0x45e30d=_0x358865[_0x2ccb51(0x3b0)]=_0x357285[_0x2ccb51(0x30a)]({'_doReset':function(){const _0x2ab718=_0x2ccb51;this[_0x2ab718(0x4cf)]=new _0x36ff64[(_0x2ab718(0x485))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x17e0a2,_0x5b99ff){const _0x1b8f89=_0x2ccb51;for(var _0x1752f1=0x0;_0x1752f1<0x10;_0x1752f1++){var _0x4e1ee8=_0x5b99ff+_0x1752f1,_0x50ae9a=_0x17e0a2[_0x4e1ee8];_0x17e0a2[_0x4e1ee8]=(_0x50ae9a<<0x8|_0x50ae9a>>>0x18)&0xff00ff|(_0x50ae9a<<0x18|_0x50ae9a>>>0x8)&0xff00ff00;}var _0x380e25=this[_0x1b8f89(0x4cf)][_0x1b8f89(0x464)],_0x4ce3ef=_0x17e0a2[_0x5b99ff+0x0],_0x2c3706=_0x17e0a2[_0x5b99ff+0x1],_0xe15175=_0x17e0a2[_0x5b99ff+0x2],_0x308477=_0x17e0a2[_0x5b99ff+0x3],_0x346fd5=_0x17e0a2[_0x5b99ff+0x4],_0x56bae4=_0x17e0a2[_0x5b99ff+0x5],_0x149ad8=_0x17e0a2[_0x5b99ff+0x6],_0x317477=_0x17e0a2[_0x5b99ff+0x7],_0xda8b31=_0x17e0a2[_0x5b99ff+0x8],_0x4cce2e=_0x17e0a2[_0x5b99ff+0x9],_0x102f64=_0x17e0a2[_0x5b99ff+0xa],_0x4ed735=_0x17e0a2[_0x5b99ff+0xb],_0x5eaccb=_0x17e0a2[_0x5b99ff+0xc],_0x3fb970=_0x17e0a2[_0x5b99ff+0xd],_0x521b8a=_0x17e0a2[_0x5b99ff+0xe],_0x20971d=_0x17e0a2[_0x5b99ff+0xf],_0x251979=_0x380e25[0x0],_0xc4167=_0x380e25[0x1],_0x482139=_0x380e25[0x2],_0x3edaf4=_0x380e25[0x3];_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4ce3ef,0x7,_0x1494ce[0x0]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x2c3706,0xc,_0x1494ce[0x1]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0xe15175,0x11,_0x1494ce[0x2]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x308477,0x16,_0x1494ce[0x3]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x346fd5,0x7,_0x1494ce[0x4]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x56bae4,0xc,_0x1494ce[0x5]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x149ad8,0x11,_0x1494ce[0x6]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x317477,0x16,_0x1494ce[0x7]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0xda8b31,0x7,_0x1494ce[0x8]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4cce2e,0xc,_0x1494ce[0x9]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x102f64,0x11,_0x1494ce[0xa]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4ed735,0x16,_0x1494ce[0xb]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x5eaccb,0x7,_0x1494ce[0xc]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x3fb970,0xc,_0x1494ce[0xd]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x521b8a,0x11,_0x1494ce[0xe]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x20971d,0x16,_0x1494ce[0xf]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x2c3706,0x5,_0x1494ce[0x10]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x149ad8,0x9,_0x1494ce[0x11]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x4ed735,0xe,_0x1494ce[0x12]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4ce3ef,0x14,_0x1494ce[0x13]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x56bae4,0x5,_0x1494ce[0x14]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x102f64,0x9,_0x1494ce[0x15]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x20971d,0xe,_0x1494ce[0x16]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x346fd5,0x14,_0x1494ce[0x17]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4cce2e,0x5,_0x1494ce[0x18]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x521b8a,0x9,_0x1494ce[0x19]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x308477,0xe,_0x1494ce[0x1a]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0xda8b31,0x14,_0x1494ce[0x1b]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x3fb970,0x5,_0x1494ce[0x1c]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0xe15175,0x9,_0x1494ce[0x1d]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x317477,0xe,_0x1494ce[0x1e]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x5eaccb,0x14,_0x1494ce[0x1f]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x56bae4,0x4,_0x1494ce[0x20]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0xda8b31,0xb,_0x1494ce[0x21]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x4ed735,0x10,_0x1494ce[0x22]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x521b8a,0x17,_0x1494ce[0x23]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x2c3706,0x4,_0x1494ce[0x24]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x346fd5,0xb,_0x1494ce[0x25]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x317477,0x10,_0x1494ce[0x26]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x102f64,0x17,_0x1494ce[0x27]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x3fb970,0x4,_0x1494ce[0x28]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4ce3ef,0xb,_0x1494ce[0x29]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x308477,0x10,_0x1494ce[0x2a]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x149ad8,0x17,_0x1494ce[0x2b]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4cce2e,0x4,_0x1494ce[0x2c]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x5eaccb,0xb,_0x1494ce[0x2d]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x20971d,0x10,_0x1494ce[0x2e]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0xe15175,0x17,_0x1494ce[0x2f]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4ce3ef,0x6,_0x1494ce[0x30]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x317477,0xa,_0x1494ce[0x31]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x521b8a,0xf,_0x1494ce[0x32]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x56bae4,0x15,_0x1494ce[0x33]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x5eaccb,0x6,_0x1494ce[0x34]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x308477,0xa,_0x1494ce[0x35]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x102f64,0xf,_0x1494ce[0x36]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x2c3706,0x15,_0x1494ce[0x37]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0xda8b31,0x6,_0x1494ce[0x38]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x20971d,0xa,_0x1494ce[0x39]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x149ad8,0xf,_0x1494ce[0x3a]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x3fb970,0x15,_0x1494ce[0x3b]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x346fd5,0x6,_0x1494ce[0x3c]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4ed735,0xa,_0x1494ce[0x3d]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0xe15175,0xf,_0x1494ce[0x3e]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4cce2e,0x15,_0x1494ce[0x3f]),_0x380e25[0x0]=_0x380e25[0x0]+_0x251979|0x0,_0x380e25[0x1]=_0x380e25[0x1]+_0xc4167|0x0,_0x380e25[0x2]=_0x380e25[0x2]+_0x482139|0x0,_0x380e25[0x3]=_0x380e25[0x3]+_0x3edaf4|0x0;},'_doFinalize':function(){const _0x161e76=_0x2ccb51;var _0x5e98c3=this[_0x161e76(0x29e)],_0x5e5faa=_0x5e98c3[_0x161e76(0x464)],_0x5c6961=this[_0x161e76(0x458)]*0x8,_0x2c9c02=_0x5e98c3[_0x161e76(0x2b8)]*0x8;_0x5e5faa[_0x2c9c02>>>0x5]|=0x80<<0x18-_0x2c9c02%0x20;var _0x584053=_0x21510e['floor'](_0x5c6961/0x100000000),_0xd28421=_0x5c6961;_0x5e5faa[(_0x2c9c02+0x40>>>0x9<<0x4)+0xf]=(_0x584053<<0x8|_0x584053>>>0x18)&0xff00ff|(_0x584053<<0x18|_0x584053>>>0x8)&0xff00ff00,_0x5e5faa[(_0x2c9c02+0x40>>>0x9<<0x4)+0xe]=(_0xd28421<<0x8|_0xd28421>>>0x18)&0xff00ff|(_0xd28421<<0x18|_0xd28421>>>0x8)&0xff00ff00,_0x5e98c3[_0x161e76(0x2b8)]=(_0x5e5faa['length']+0x1)*0x4,this['_process']();for(var _0x3fec3b=this[_0x161e76(0x4cf)],_0x13e89f=_0x3fec3b[_0x161e76(0x464)],_0x2b1ed6=0x0;_0x2b1ed6<0x4;_0x2b1ed6++){var _0x2aac64=_0x13e89f[_0x2b1ed6];_0x13e89f[_0x2b1ed6]=(_0x2aac64<<0x8|_0x2aac64>>>0x18)&0xff00ff|(_0x2aac64<<0x18|_0x2aac64>>>0x8)&0xff00ff00;}return _0x3fec3b;},'clone':function(){const _0xb87d2d=_0x2ccb51;var _0x10c49e=_0x357285[_0xb87d2d(0x553)]['call'](this);return _0x10c49e['_hash']=this[_0xb87d2d(0x4cf)][_0xb87d2d(0x553)](),_0x10c49e;}});function _0x50312e(_0x3677eb,_0x167aef,_0x52387,_0x4ddd86,_0x17ff70,_0xe4d8b9,_0x422777){var _0x19bc24=_0x3677eb+(_0x167aef&_0x52387|~_0x167aef&_0x4ddd86)+_0x17ff70+_0x422777;return(_0x19bc24<<_0xe4d8b9|_0x19bc24>>>0x20-_0xe4d8b9)+_0x167aef;}function _0x637cc6(_0x580ddf,_0x130444,_0x29f63a,_0x15551d,_0x255c40,_0x4e812c,_0x1b6f22){var _0x2cb469=_0x580ddf+(_0x130444&_0x15551d|_0x29f63a&~_0x15551d)+_0x255c40+_0x1b6f22;return(_0x2cb469<<_0x4e812c|_0x2cb469>>>0x20-_0x4e812c)+_0x130444;}function _0x1664b0(_0x173b10,_0x44fc86,_0x927f7f,_0x162c34,_0x1cc664,_0x5b9413,_0x36f44f){var _0x1f506a=_0x173b10+(_0x44fc86^_0x927f7f^_0x162c34)+_0x1cc664+_0x36f44f;return(_0x1f506a<<_0x5b9413|_0x1f506a>>>0x20-_0x5b9413)+_0x44fc86;}function _0x46efa9(_0x473b57,_0x523e59,_0x3aa86d,_0x4d539a,_0x5b0d02,_0x40df35,_0x409586){var _0x3237d0=_0x473b57+(_0x3aa86d^(_0x523e59|~_0x4d539a))+_0x5b0d02+_0x409586;return(_0x3237d0<<_0x40df35|_0x3237d0>>>0x20-_0x40df35)+_0x523e59;}_0x268372[_0x2ccb51(0x3b0)]=_0x357285[_0x2ccb51(0x3fc)](_0x45e30d),_0x268372[_0x2ccb51(0x5e9)]=_0x357285[_0x2ccb51(0x400)](_0x45e30d);}(Math),_0x5b258d[_0x5df7ab(0x3b0)];}));}(ht)),ht[_0x1d91f5(0x4b1)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x1730d1=_0x1f2fa;return Yt||(Yt=0x1,function(_0x5c4368,_0x288ce){(function(_0x5c1ddb,_0x490e7b){const _0x4a697b=_0x3f71;_0x5c4368[_0x4a697b(0x4b1)]=_0x490e7b(oe());}(X,function(_0x223564){const _0x4ad2d6=_0x3f71;return(function(){const _0x4def38=_0x3f71;var _0x49823e=_0x223564,_0x4469a8=_0x49823e['lib'],_0xe98359=_0x4469a8[_0x4def38(0x27d)],_0x217dc0=_0x4469a8[_0x4def38(0x5c1)],_0x20b25c=_0x49823e[_0x4def38(0x3eb)],_0x337a28=[],_0x163e65=_0x20b25c[_0x4def38(0x1b5)]=_0x217dc0[_0x4def38(0x30a)]({'_doReset':function(){const _0x2c2ddd=_0x4def38;this[_0x2c2ddd(0x4cf)]=new _0xe98359[(_0x2c2ddd(0x485))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c645d,_0x275848){const _0x3ce7b8=_0x4def38;for(var _0x23bd39=this['_hash'][_0x3ce7b8(0x464)],_0x481f1f=_0x23bd39[0x0],_0x55f531=_0x23bd39[0x1],_0x18b6ef=_0x23bd39[0x2],_0x1068af=_0x23bd39[0x3],_0x52f199=_0x23bd39[0x4],_0x8c4d43=0x0;_0x8c4d43<0x50;_0x8c4d43++){if(_0x8c4d43<0x10)_0x337a28[_0x8c4d43]=_0x5c645d[_0x275848+_0x8c4d43]|0x0;else{var _0x5ebb03=_0x337a28[_0x8c4d43-0x3]^_0x337a28[_0x8c4d43-0x8]^_0x337a28[_0x8c4d43-0xe]^_0x337a28[_0x8c4d43-0x10];_0x337a28[_0x8c4d43]=_0x5ebb03<<0x1|_0x5ebb03>>>0x1f;}var _0x2c082c=(_0x481f1f<<0x5|_0x481f1f>>>0x1b)+_0x52f199+_0x337a28[_0x8c4d43];_0x8c4d43<0x14?_0x2c082c+=(_0x55f531&_0x18b6ef|~_0x55f531&_0x1068af)+0x5a827999:_0x8c4d43<0x28?_0x2c082c+=(_0x55f531^_0x18b6ef^_0x1068af)+0x6ed9eba1:_0x8c4d43<0x3c?_0x2c082c+=(_0x55f531&_0x18b6ef|_0x55f531&_0x1068af|_0x18b6ef&_0x1068af)-0x70e44324:_0x2c082c+=(_0x55f531^_0x18b6ef^_0x1068af)-0x359d3e2a,_0x52f199=_0x1068af,_0x1068af=_0x18b6ef,_0x18b6ef=_0x55f531<<0x1e|_0x55f531>>>0x2,_0x55f531=_0x481f1f,_0x481f1f=_0x2c082c;}_0x23bd39[0x0]=_0x23bd39[0x0]+_0x481f1f|0x0,_0x23bd39[0x1]=_0x23bd39[0x1]+_0x55f531|0x0,_0x23bd39[0x2]=_0x23bd39[0x2]+_0x18b6ef|0x0,_0x23bd39[0x3]=_0x23bd39[0x3]+_0x1068af|0x0,_0x23bd39[0x4]=_0x23bd39[0x4]+_0x52f199|0x0;},'_doFinalize':function(){const _0x1cf6f9=_0x4def38;var _0x5b4814=this['_data'],_0x5dee54=_0x5b4814['words'],_0xded2c6=this[_0x1cf6f9(0x458)]*0x8,_0x5e4406=_0x5b4814['sigBytes']*0x8;return _0x5dee54[_0x5e4406>>>0x5]|=0x80<<0x18-_0x5e4406%0x20,_0x5dee54[(_0x5e4406+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xded2c6/0x100000000),_0x5dee54[(_0x5e4406+0x40>>>0x9<<0x4)+0xf]=_0xded2c6,_0x5b4814[_0x1cf6f9(0x2b8)]=_0x5dee54[_0x1cf6f9(0x339)]*0x4,this['_process'](),this[_0x1cf6f9(0x4cf)];},'clone':function(){const _0xdca894=_0x4def38;var _0x161986=_0x217dc0[_0xdca894(0x553)][_0xdca894(0x575)](this);return _0x161986['_hash']=this[_0xdca894(0x4cf)][_0xdca894(0x553)](),_0x161986;}});_0x49823e[_0x4def38(0x1b5)]=_0x217dc0[_0x4def38(0x3fc)](_0x163e65),_0x49823e[_0x4def38(0x361)]=_0x217dc0['_createHmacHelper'](_0x163e65);}()),_0x223564[_0x4ad2d6(0x1b5)];}));}(ut)),ut[_0x1730d1(0x4b1)];}var dt={'exports':{}},Kt;function lr(){const _0x531aff=_0x1f2fa;return Kt||(Kt=0x1,function(_0x181ebe,_0x3eeffd){(function(_0x331866,_0x461e00){const _0x2fe72e=_0x3f71;_0x181ebe[_0x2fe72e(0x4b1)]=_0x461e00(oe());}(X,function(_0x2a0943){(function(){const _0x4c3785=_0x3f71;var _0x28aa8d=_0x2a0943,_0x3c08b5=_0x28aa8d[_0x4c3785(0x56f)],_0x5843cd=_0x3c08b5['Base'],_0x4112b9=_0x28aa8d[_0x4c3785(0x45b)],_0x3eefa6=_0x4112b9[_0x4c3785(0x357)],_0x325536=_0x28aa8d['algo'];_0x325536[_0x4c3785(0x435)]=_0x5843cd[_0x4c3785(0x30a)]({'init':function(_0x4f8aa1,_0x3674dd){const _0x28941f=_0x4c3785;_0x4f8aa1=this[_0x28941f(0x334)]=new _0x4f8aa1['init'](),typeof _0x3674dd==_0x28941f(0x205)&&(_0x3674dd=_0x3eefa6[_0x28941f(0x55a)](_0x3674dd));var _0x14ed95=_0x4f8aa1[_0x28941f(0x59b)],_0x524a4a=_0x14ed95*0x4;_0x3674dd[_0x28941f(0x2b8)]>_0x524a4a&&(_0x3674dd=_0x4f8aa1[_0x28941f(0x42f)](_0x3674dd)),_0x3674dd[_0x28941f(0x419)]();for(var _0x452483=this[_0x28941f(0x4f5)]=_0x3674dd['clone'](),_0xb24dc2=this['_iKey']=_0x3674dd[_0x28941f(0x553)](),_0x5d1de5=_0x452483[_0x28941f(0x464)],_0x54138b=_0xb24dc2['words'],_0x49453c=0x0;_0x49453c<_0x14ed95;_0x49453c++)_0x5d1de5[_0x49453c]^=0x5c5c5c5c,_0x54138b[_0x49453c]^=0x36363636;_0x452483[_0x28941f(0x2b8)]=_0xb24dc2[_0x28941f(0x2b8)]=_0x524a4a,this['reset']();},'reset':function(){const _0x2f3b8d=_0x4c3785;var _0xe5f1a6=this['_hasher'];_0xe5f1a6['reset'](),_0xe5f1a6[_0x2f3b8d(0x193)](this[_0x2f3b8d(0x4d5)]);},'update':function(_0x587796){const _0xaef80c=_0x4c3785;return this[_0xaef80c(0x334)][_0xaef80c(0x193)](_0x587796),this;},'finalize':function(_0x5a817f){const _0x427229=_0x4c3785;var _0x1a3847=this[_0x427229(0x334)],_0x3afc37=_0x1a3847[_0x427229(0x42f)](_0x5a817f);_0x1a3847['reset']();var _0xececfe=_0x1a3847[_0x427229(0x42f)](this['_oKey'][_0x427229(0x553)]()['concat'](_0x3afc37));return _0xececfe;}});}());}));}(dt)),dt[_0x531aff(0x4b1)];}var qt;function Dn(){return qt||(qt=0x1,function(_0x452e23,_0x52496f){(function(_0x23a645,_0x57bdfb,_0x354141){const _0x1a05f6=_0x3f71;_0x452e23[_0x1a05f6(0x4b1)]=_0x57bdfb(oe(),cr(),lr());}(X,function(_0x3288a3){const _0x5e088d=_0x3f71;return(function(){const _0x2f1de3=_0x3f71;var _0x2c20be=_0x3288a3,_0x2fb3ee=_0x2c20be[_0x2f1de3(0x56f)],_0x3b0331=_0x2fb3ee[_0x2f1de3(0x4ef)],_0x21aca0=_0x2fb3ee[_0x2f1de3(0x27d)],_0x2885e7=_0x2c20be[_0x2f1de3(0x3eb)],_0x5395e5=_0x2885e7['MD5'],_0x19e1eb=_0x2885e7[_0x2f1de3(0x352)]=_0x3b0331[_0x2f1de3(0x30a)]({'cfg':_0x3b0331[_0x2f1de3(0x30a)]({'keySize':0x80/0x20,'hasher':_0x5395e5,'iterations':0x1}),'init':function(_0x15824c){const _0x5d5806=_0x2f1de3;this['cfg']=this[_0x5d5806(0x5d1)]['extend'](_0x15824c);},'compute':function(_0x584dc1,_0x47a854){const _0x48d42c=_0x2f1de3;for(var _0x183cda,_0x4f451b=this[_0x48d42c(0x5d1)],_0xe1f9fb=_0x4f451b['hasher'][_0x48d42c(0x21e)](),_0x440eee=_0x21aca0[_0x48d42c(0x21e)](),_0x5ba00d=_0x440eee['words'],_0x4db63f=_0x4f451b['keySize'],_0x3d8a4d=_0x4f451b['iterations'];_0x5ba00d['length']<_0x4db63f;){_0x183cda&&_0xe1f9fb[_0x48d42c(0x193)](_0x183cda),_0x183cda=_0xe1f9fb[_0x48d42c(0x193)](_0x584dc1)[_0x48d42c(0x42f)](_0x47a854),_0xe1f9fb[_0x48d42c(0x5f7)]();for(var _0x2b94fd=0x1;_0x2b94fd<_0x3d8a4d;_0x2b94fd++)_0x183cda=_0xe1f9fb[_0x48d42c(0x42f)](_0x183cda),_0xe1f9fb[_0x48d42c(0x5f7)]();_0x440eee[_0x48d42c(0x273)](_0x183cda);}return _0x440eee['sigBytes']=_0x4db63f*0x4,_0x440eee;}});_0x2c20be[_0x2f1de3(0x352)]=function(_0x118b3d,_0x3aed8b,_0x4d585b){const _0x55921a=_0x2f1de3;return _0x19e1eb[_0x55921a(0x21e)](_0x4d585b)[_0x55921a(0x17e)](_0x118b3d,_0x3aed8b);};}()),_0x3288a3[_0x5e088d(0x352)];}));}(_t)),_t['exports'];}var ft={'exports':{}},zt;function wn(){return zt||(zt=0x1,function(_0x33f30,_0x1e3922){(function(_0x5ab2fe,_0x841a0e,_0x23c442){const _0x157387=_0x3f71;_0x33f30[_0x157387(0x4b1)]=_0x841a0e(oe(),Dn());}(X,function(_0x239b3c){const _0x3e94e1=_0x3f71;_0x239b3c[_0x3e94e1(0x56f)]['Cipher']||function(_0x69e348){const _0x598497=_0x3e94e1;var _0x34bf06=_0x239b3c,_0x35c8e1=_0x34bf06[_0x598497(0x56f)],_0x1cba25=_0x35c8e1['Base'],_0x527486=_0x35c8e1[_0x598497(0x27d)],_0x2cd14d=_0x35c8e1[_0x598497(0x582)],_0x1cf269=_0x34bf06['enc'];_0x1cf269[_0x598497(0x357)];var _0x366c2e=_0x1cf269[_0x598497(0x2c8)],_0x124ad6=_0x34bf06[_0x598497(0x3eb)],_0x21710e=_0x124ad6[_0x598497(0x352)],_0x1ab674=_0x35c8e1[_0x598497(0x463)]=_0x2cd14d[_0x598497(0x30a)]({'cfg':_0x1cba25['extend'](),'createEncryptor':function(_0x265a61,_0x564f8d){const _0x1f3965=_0x598497;return this[_0x1f3965(0x21e)](this[_0x1f3965(0x34b)],_0x265a61,_0x564f8d);},'createDecryptor':function(_0x188760,_0x508ad4){const _0x4d86a4=_0x598497;return this[_0x4d86a4(0x21e)](this[_0x4d86a4(0x3fb)],_0x188760,_0x508ad4);},'init':function(_0x297646,_0x4f6404,_0x44f1e2){const _0x71ec55=_0x598497;this[_0x71ec55(0x5d1)]=this['cfg'][_0x71ec55(0x30a)](_0x44f1e2),this['_xformMode']=_0x297646,this[_0x71ec55(0x425)]=_0x4f6404,this[_0x71ec55(0x5f7)]();},'reset':function(){const _0x2f57fc=_0x598497;_0x2cd14d[_0x2f57fc(0x5f7)][_0x2f57fc(0x575)](this),this[_0x2f57fc(0x203)]();},'process':function(_0x207b22){const _0x37bc04=_0x598497;return this[_0x37bc04(0x1fe)](_0x207b22),this[_0x37bc04(0x4fe)]();},'finalize':function(_0x566ff3){const _0x36bf21=_0x598497;_0x566ff3&&this['_append'](_0x566ff3);var _0x3a2794=this[_0x36bf21(0x56c)]();return _0x3a2794;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d70e7(_0x1d9345){const _0x2903d9=_0x3f71;return typeof _0x1d9345==_0x2903d9(0x205)?_0x4e722a:_0x83144c;}return function(_0x455cae){return{'encrypt':function(_0x41935b,_0x1b54ab,_0x59b1a8){return _0x3d70e7(_0x1b54ab)['encrypt'](_0x455cae,_0x41935b,_0x1b54ab,_0x59b1a8);},'decrypt':function(_0x4ab89b,_0x52b3a9,_0x2b0c0d){return _0x3d70e7(_0x52b3a9)['decrypt'](_0x455cae,_0x4ab89b,_0x52b3a9,_0x2b0c0d);}};};}())});_0x35c8e1['StreamCipher']=_0x1ab674[_0x598497(0x30a)]({'_doFinalize':function(){const _0x3e00cd=_0x598497;var _0x14ef6f=this[_0x3e00cd(0x4fe)](!0x0);return _0x14ef6f;},'blockSize':0x1});var _0x4d1dfd=_0x34bf06['mode']={},_0x33c532=_0x35c8e1[_0x598497(0x28e)]=_0x1cba25[_0x598497(0x30a)]({'createEncryptor':function(_0x27779d,_0x3aec53){const _0x4607b0=_0x598497;return this[_0x4607b0(0x597)]['create'](_0x27779d,_0x3aec53);},'createDecryptor':function(_0x2d8499,_0x299db0){const _0x5c825a=_0x598497;return this[_0x5c825a(0x5db)][_0x5c825a(0x21e)](_0x2d8499,_0x299db0);},'init':function(_0x5038b2,_0x25564d){const _0x5ae468=_0x598497;this[_0x5ae468(0x3d3)]=_0x5038b2,this['_iv']=_0x25564d;}}),_0xeaea12=_0x4d1dfd[_0x598497(0x3ae)]=(function(){const _0xeceb89=_0x598497;var _0x4c143b=_0x33c532[_0xeceb89(0x30a)]();_0x4c143b['Encryptor']=_0x4c143b[_0xeceb89(0x30a)]({'processBlock':function(_0x11436e,_0x3af6b3){const _0x213bc7=_0xeceb89;var _0x8bb2a1=this[_0x213bc7(0x3d3)],_0x1c9840=_0x8bb2a1['blockSize'];_0xb2bf54[_0x213bc7(0x575)](this,_0x11436e,_0x3af6b3,_0x1c9840),_0x8bb2a1['encryptBlock'](_0x11436e,_0x3af6b3),this[_0x213bc7(0x5ea)]=_0x11436e[_0x213bc7(0x31f)](_0x3af6b3,_0x3af6b3+_0x1c9840);}}),_0x4c143b[_0xeceb89(0x5db)]=_0x4c143b['extend']({'processBlock':function(_0x4c87f1,_0x458d36){const _0x2f0c2b=_0xeceb89;var _0x3b27e2=this[_0x2f0c2b(0x3d3)],_0xcbe770=_0x3b27e2[_0x2f0c2b(0x59b)],_0x39b413=_0x4c87f1[_0x2f0c2b(0x31f)](_0x458d36,_0x458d36+_0xcbe770);_0x3b27e2['decryptBlock'](_0x4c87f1,_0x458d36),_0xb2bf54[_0x2f0c2b(0x575)](this,_0x4c87f1,_0x458d36,_0xcbe770),this[_0x2f0c2b(0x5ea)]=_0x39b413;}});function _0xb2bf54(_0x44e2ae,_0x53fc48,_0xa951bc){const _0x29a9e7=_0xeceb89;var _0x393590,_0x55fea6=this[_0x29a9e7(0x1d7)];_0x55fea6?(_0x393590=_0x55fea6,this[_0x29a9e7(0x1d7)]=_0x69e348):_0x393590=this[_0x29a9e7(0x5ea)];for(var _0x1ec9bf=0x0;_0x1ec9bf<_0xa951bc;_0x1ec9bf++)_0x44e2ae[_0x53fc48+_0x1ec9bf]^=_0x393590[_0x1ec9bf];}return _0x4c143b;}()),_0x2274de=_0x34bf06['pad']={},_0x3b2597=_0x2274de['Pkcs7']={'pad':function(_0x58c1c7,_0x4f0c97){const _0x50faf7=_0x598497;for(var _0x15885a=_0x4f0c97*0x4,_0x28475d=_0x15885a-_0x58c1c7[_0x50faf7(0x2b8)]%_0x15885a,_0x32ea2f=_0x28475d<<0x18|_0x28475d<<0x10|_0x28475d<<0x8|_0x28475d,_0x357740=[],_0x4ce34c=0x0;_0x4ce34c<_0x28475d;_0x4ce34c+=0x4)_0x357740[_0x50faf7(0x19c)](_0x32ea2f);var _0x199644=_0x527486[_0x50faf7(0x21e)](_0x357740,_0x28475d);_0x58c1c7[_0x50faf7(0x273)](_0x199644);},'unpad':function(_0x2e1d6e){const _0x178006=_0x598497;var _0x17f64a=_0x2e1d6e[_0x178006(0x464)][_0x2e1d6e[_0x178006(0x2b8)]-0x1>>>0x2]&0xff;_0x2e1d6e[_0x178006(0x2b8)]-=_0x17f64a;}};_0x35c8e1[_0x598497(0x195)]=_0x1ab674['extend']({'cfg':_0x1ab674['cfg'][_0x598497(0x30a)]({'mode':_0xeaea12,'padding':_0x3b2597}),'reset':function(){const _0x374137=_0x598497;var _0x3494bc;_0x1ab674['reset'][_0x374137(0x575)](this);var _0x5071ac=this['cfg'],_0x318f77=_0x5071ac['iv'],_0x5f17d8=_0x5071ac[_0x374137(0x363)];this[_0x374137(0x57a)]==this[_0x374137(0x34b)]?_0x3494bc=_0x5f17d8['createEncryptor']:(_0x3494bc=_0x5f17d8[_0x374137(0x57c)],this['_minBufferSize']=0x1),this[_0x374137(0x5e3)]&&this[_0x374137(0x5e3)][_0x374137(0x196)]==_0x3494bc?this[_0x374137(0x5e3)][_0x374137(0x485)](this,_0x318f77&&_0x318f77[_0x374137(0x464)]):(this[_0x374137(0x5e3)]=_0x3494bc[_0x374137(0x575)](_0x5f17d8,this,_0x318f77&&_0x318f77[_0x374137(0x464)]),this['_mode'][_0x374137(0x196)]=_0x3494bc);},'_doProcessBlock':function(_0x140d6f,_0x5d27f6){const _0x327b0e=_0x598497;this[_0x327b0e(0x5e3)][_0x327b0e(0x4b6)](_0x140d6f,_0x5d27f6);},'_doFinalize':function(){const _0x200a49=_0x598497;var _0xb00137,_0x2aa06c=this['cfg'][_0x200a49(0x258)];return this[_0x200a49(0x57a)]==this[_0x200a49(0x34b)]?(_0x2aa06c[_0x200a49(0x200)](this[_0x200a49(0x29e)],this[_0x200a49(0x59b)]),_0xb00137=this[_0x200a49(0x4fe)](!0x0)):(_0xb00137=this[_0x200a49(0x4fe)](!0x0),_0x2aa06c[_0x200a49(0x16e)](_0xb00137)),_0xb00137;},'blockSize':0x80/0x20});var _0x19fa73=_0x35c8e1[_0x598497(0x2f8)]=_0x1cba25[_0x598497(0x30a)]({'init':function(_0x8187){const _0x1d9c90=_0x598497;this[_0x1d9c90(0x2c0)](_0x8187);},'toString':function(_0x553718){return(_0x553718||this['formatter'])['stringify'](this);}}),_0x342f9d=_0x34bf06[_0x598497(0x1d1)]={},_0x2744fd=_0x342f9d[_0x598497(0x5b4)]={'stringify':function(_0x5b32b1){const _0x1b2ef8=_0x598497;var _0x344086,_0x332ce2=_0x5b32b1[_0x1b2ef8(0x3f6)],_0x376722=_0x5b32b1['salt'];return _0x376722?_0x344086=_0x527486['create']([0x53616c74,0x65645f5f])[_0x1b2ef8(0x273)](_0x376722)[_0x1b2ef8(0x273)](_0x332ce2):_0x344086=_0x332ce2,_0x344086[_0x1b2ef8(0x353)](_0x366c2e);},'parse':function(_0x2ac1f8){const _0x2b636b=_0x598497;var _0x436be6,_0x233309=_0x366c2e[_0x2b636b(0x55a)](_0x2ac1f8),_0x26b758=_0x233309['words'];return _0x26b758[0x0]==0x53616c74&&_0x26b758[0x1]==0x65645f5f&&(_0x436be6=_0x527486[_0x2b636b(0x21e)](_0x26b758['slice'](0x2,0x4)),_0x26b758['splice'](0x0,0x4),_0x233309[_0x2b636b(0x2b8)]-=0x10),_0x19fa73[_0x2b636b(0x21e)]({'ciphertext':_0x233309,'salt':_0x436be6});}},_0x83144c=_0x35c8e1[_0x598497(0x418)]=_0x1cba25[_0x598497(0x30a)]({'cfg':_0x1cba25['extend']({'format':_0x2744fd}),'encrypt':function(_0x55dc27,_0x1506db,_0xd22ef4,_0x3c9317){const _0x23417f=_0x598497;_0x3c9317=this[_0x23417f(0x5d1)][_0x23417f(0x30a)](_0x3c9317);var _0x4c974e=_0x55dc27[_0x23417f(0x5d3)](_0xd22ef4,_0x3c9317),_0x573a72=_0x4c974e[_0x23417f(0x42f)](_0x1506db),_0x5043cc=_0x4c974e['cfg'];return _0x19fa73[_0x23417f(0x21e)]({'ciphertext':_0x573a72,'key':_0xd22ef4,'iv':_0x5043cc['iv'],'algorithm':_0x55dc27,'mode':_0x5043cc[_0x23417f(0x363)],'padding':_0x5043cc['padding'],'blockSize':_0x55dc27[_0x23417f(0x59b)],'formatter':_0x3c9317[_0x23417f(0x1d1)]});},'decrypt':function(_0x2b6059,_0x3a4852,_0x3b17a2,_0x2af7a6){const _0x5af79d=_0x598497;_0x2af7a6=this[_0x5af79d(0x5d1)][_0x5af79d(0x30a)](_0x2af7a6),_0x3a4852=this[_0x5af79d(0x36c)](_0x3a4852,_0x2af7a6['format']);var _0x1af954=_0x2b6059[_0x5af79d(0x57c)](_0x3b17a2,_0x2af7a6)[_0x5af79d(0x42f)](_0x3a4852['ciphertext']);return _0x1af954;},'_parse':function(_0x2d3c76,_0x52d8db){const _0xcf02dd=_0x598497;return typeof _0x2d3c76==_0xcf02dd(0x205)?_0x52d8db[_0xcf02dd(0x55a)](_0x2d3c76,this):_0x2d3c76;}}),_0x1fc7a6=_0x34bf06[_0x598497(0x5e7)]={},_0x72a7a=_0x1fc7a6['OpenSSL']={'execute':function(_0x2b1095,_0xb2d7e9,_0x3dba91,_0x32466c,_0x518552){const _0x301a65=_0x598497;if(_0x32466c||(_0x32466c=_0x527486[_0x301a65(0x2fc)](0x40/0x8)),_0x518552)var _0x5f091f=_0x21710e[_0x301a65(0x21e)]({'keySize':_0xb2d7e9+_0x3dba91,'hasher':_0x518552})[_0x301a65(0x17e)](_0x2b1095,_0x32466c);else var _0x5f091f=_0x21710e[_0x301a65(0x21e)]({'keySize':_0xb2d7e9+_0x3dba91})[_0x301a65(0x17e)](_0x2b1095,_0x32466c);var _0x51803=_0x527486[_0x301a65(0x21e)](_0x5f091f['words'][_0x301a65(0x31f)](_0xb2d7e9),_0x3dba91*0x4);return _0x5f091f['sigBytes']=_0xb2d7e9*0x4,_0x19fa73['create']({'key':_0x5f091f,'iv':_0x51803,'salt':_0x32466c});}},_0x4e722a=_0x35c8e1[_0x598497(0x2f3)]=_0x83144c[_0x598497(0x30a)]({'cfg':_0x83144c[_0x598497(0x5d1)][_0x598497(0x30a)]({'kdf':_0x72a7a}),'encrypt':function(_0xa81713,_0x3c6834,_0x7cc3b5,_0x3a0afe){const _0x47de3b=_0x598497;_0x3a0afe=this[_0x47de3b(0x5d1)][_0x47de3b(0x30a)](_0x3a0afe);var _0x5a82a7=_0x3a0afe[_0x47de3b(0x5e7)][_0x47de3b(0x4aa)](_0x7cc3b5,_0xa81713[_0x47de3b(0x176)],_0xa81713['ivSize'],_0x3a0afe[_0x47de3b(0x4f1)],_0x3a0afe['hasher']);_0x3a0afe['iv']=_0x5a82a7['iv'];var _0x59af8e=_0x83144c[_0x47de3b(0x3c5)][_0x47de3b(0x575)](this,_0xa81713,_0x3c6834,_0x5a82a7['key'],_0x3a0afe);return _0x59af8e[_0x47de3b(0x2c0)](_0x5a82a7),_0x59af8e;},'decrypt':function(_0x332d94,_0x459295,_0x414f13,_0x500b80){const _0x1cb160=_0x598497;_0x500b80=this[_0x1cb160(0x5d1)][_0x1cb160(0x30a)](_0x500b80),_0x459295=this[_0x1cb160(0x36c)](_0x459295,_0x500b80[_0x1cb160(0x1d1)]);var _0x2213ef=_0x500b80[_0x1cb160(0x5e7)]['execute'](_0x414f13,_0x332d94[_0x1cb160(0x176)],_0x332d94['ivSize'],_0x459295[_0x1cb160(0x4f1)],_0x500b80['hasher']);_0x500b80['iv']=_0x2213ef['iv'];var _0x312956=_0x83144c[_0x1cb160(0x498)][_0x1cb160(0x575)](this,_0x332d94,_0x459295,_0x2213ef[_0x1cb160(0x4dd)],_0x500b80);return _0x312956;}});}();}));}(ft)),ft['exports'];}(function(_0x1a536a,_0x400edf){(function(_0xbf0c54,_0x5d0814,_0x389a0a){const _0x2987c8=_0x3f71;_0x1a536a[_0x2987c8(0x4b1)]=_0x5d0814(oe(),On(),ar(),Dn(),wn());}(X,function(_0x5a4c3b){return(function(){const _0x495587=_0x3f71;var _0x21c339=_0x5a4c3b,_0x3b92a7=_0x21c339[_0x495587(0x56f)],_0x370418=_0x3b92a7[_0x495587(0x195)],_0x50b8d4=_0x21c339[_0x495587(0x3eb)],_0x1f45a7=[],_0x576843=[],_0x17c392=[],_0x3bec4f=[],_0x419ff9=[],_0x1487eb=[],_0xe0ec4b=[],_0x461b7d=[],_0x583fa5=[],_0x175423=[];(function(){for(var _0x4cdffd=[],_0x5dc5b5=0x0;_0x5dc5b5<0x100;_0x5dc5b5++)_0x5dc5b5<0x80?_0x4cdffd[_0x5dc5b5]=_0x5dc5b5<<0x1:_0x4cdffd[_0x5dc5b5]=_0x5dc5b5<<0x1^0x11b;for(var _0x2b5fab=0x0,_0x3680f0=0x0,_0x5dc5b5=0x0;_0x5dc5b5<0x100;_0x5dc5b5++){var _0x2823bb=_0x3680f0^_0x3680f0<<0x1^_0x3680f0<<0x2^_0x3680f0<<0x3^_0x3680f0<<0x4;_0x2823bb=_0x2823bb>>>0x8^_0x2823bb&0xff^0x63,_0x1f45a7[_0x2b5fab]=_0x2823bb,_0x576843[_0x2823bb]=_0x2b5fab;var _0x395a0b=_0x4cdffd[_0x2b5fab],_0x27da2f=_0x4cdffd[_0x395a0b],_0x1f92f0=_0x4cdffd[_0x27da2f],_0x172aa3=_0x4cdffd[_0x2823bb]*0x101^_0x2823bb*0x1010100;_0x17c392[_0x2b5fab]=_0x172aa3<<0x18|_0x172aa3>>>0x8,_0x3bec4f[_0x2b5fab]=_0x172aa3<<0x10|_0x172aa3>>>0x10,_0x419ff9[_0x2b5fab]=_0x172aa3<<0x8|_0x172aa3>>>0x18,_0x1487eb[_0x2b5fab]=_0x172aa3;var _0x172aa3=_0x1f92f0*0x1010101^_0x27da2f*0x10001^_0x395a0b*0x101^_0x2b5fab*0x1010100;_0xe0ec4b[_0x2823bb]=_0x172aa3<<0x18|_0x172aa3>>>0x8,_0x461b7d[_0x2823bb]=_0x172aa3<<0x10|_0x172aa3>>>0x10,_0x583fa5[_0x2823bb]=_0x172aa3<<0x8|_0x172aa3>>>0x18,_0x175423[_0x2823bb]=_0x172aa3,_0x2b5fab?(_0x2b5fab=_0x395a0b^_0x4cdffd[_0x4cdffd[_0x4cdffd[_0x1f92f0^_0x395a0b]]],_0x3680f0^=_0x4cdffd[_0x4cdffd[_0x3680f0]]):_0x2b5fab=_0x3680f0=0x1;}}());var _0x99d243=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f078e=_0x50b8d4[_0x495587(0x32c)]=_0x370418[_0x495587(0x30a)]({'_doReset':function(){const _0x16be22=_0x495587;var _0x335f90;if(!(this[_0x16be22(0x394)]&&this['_keyPriorReset']===this[_0x16be22(0x425)])){for(var _0x5bea14=this[_0x16be22(0x2a8)]=this[_0x16be22(0x425)],_0x5cb14c=_0x5bea14[_0x16be22(0x464)],_0x471059=_0x5bea14[_0x16be22(0x2b8)]/0x4,_0x2d5cd4=this['_nRounds']=_0x471059+0x6,_0x582a7c=(_0x2d5cd4+0x1)*0x4,_0x5ed586=this[_0x16be22(0x2c2)]=[],_0x18f167=0x0;_0x18f167<_0x582a7c;_0x18f167++)_0x18f167<_0x471059?_0x5ed586[_0x18f167]=_0x5cb14c[_0x18f167]:(_0x335f90=_0x5ed586[_0x18f167-0x1],_0x18f167%_0x471059?_0x471059>0x6&&_0x18f167%_0x471059==0x4&&(_0x335f90=_0x1f45a7[_0x335f90>>>0x18]<<0x18|_0x1f45a7[_0x335f90>>>0x10&0xff]<<0x10|_0x1f45a7[_0x335f90>>>0x8&0xff]<<0x8|_0x1f45a7[_0x335f90&0xff]):(_0x335f90=_0x335f90<<0x8|_0x335f90>>>0x18,_0x335f90=_0x1f45a7[_0x335f90>>>0x18]<<0x18|_0x1f45a7[_0x335f90>>>0x10&0xff]<<0x10|_0x1f45a7[_0x335f90>>>0x8&0xff]<<0x8|_0x1f45a7[_0x335f90&0xff],_0x335f90^=_0x99d243[_0x18f167/_0x471059|0x0]<<0x18),_0x5ed586[_0x18f167]=_0x5ed586[_0x18f167-_0x471059]^_0x335f90);for(var _0x17d5bd=this[_0x16be22(0x317)]=[],_0x49326b=0x0;_0x49326b<_0x582a7c;_0x49326b++){var _0x18f167=_0x582a7c-_0x49326b;if(_0x49326b%0x4)var _0x335f90=_0x5ed586[_0x18f167];else var _0x335f90=_0x5ed586[_0x18f167-0x4];_0x49326b<0x4||_0x18f167<=0x4?_0x17d5bd[_0x49326b]=_0x335f90:_0x17d5bd[_0x49326b]=_0xe0ec4b[_0x1f45a7[_0x335f90>>>0x18]]^_0x461b7d[_0x1f45a7[_0x335f90>>>0x10&0xff]]^_0x583fa5[_0x1f45a7[_0x335f90>>>0x8&0xff]]^_0x175423[_0x1f45a7[_0x335f90&0xff]];}}},'encryptBlock':function(_0x59643b,_0x4461d2){const _0x27b472=_0x495587;this[_0x27b472(0x55f)](_0x59643b,_0x4461d2,this[_0x27b472(0x2c2)],_0x17c392,_0x3bec4f,_0x419ff9,_0x1487eb,_0x1f45a7);},'decryptBlock':function(_0x2384f6,_0x2c58aa){const _0x22be74=_0x495587;var _0x1a3eb3=_0x2384f6[_0x2c58aa+0x1];_0x2384f6[_0x2c58aa+0x1]=_0x2384f6[_0x2c58aa+0x3],_0x2384f6[_0x2c58aa+0x3]=_0x1a3eb3,this[_0x22be74(0x55f)](_0x2384f6,_0x2c58aa,this[_0x22be74(0x317)],_0xe0ec4b,_0x461b7d,_0x583fa5,_0x175423,_0x576843);var _0x1a3eb3=_0x2384f6[_0x2c58aa+0x1];_0x2384f6[_0x2c58aa+0x1]=_0x2384f6[_0x2c58aa+0x3],_0x2384f6[_0x2c58aa+0x3]=_0x1a3eb3;},'_doCryptBlock':function(_0x2f2c26,_0x3f1e8f,_0xc9ada,_0x36f263,_0x3a7bf1,_0x5b9097,_0x3fb6fe,_0x4e000e){for(var _0x5704e1=this['_nRounds'],_0x10aeef=_0x2f2c26[_0x3f1e8f]^_0xc9ada[0x0],_0x5c6c70=_0x2f2c26[_0x3f1e8f+0x1]^_0xc9ada[0x1],_0xe779d3=_0x2f2c26[_0x3f1e8f+0x2]^_0xc9ada[0x2],_0x2f3904=_0x2f2c26[_0x3f1e8f+0x3]^_0xc9ada[0x3],_0x5214b0=0x4,_0x4947a1=0x1;_0x4947a1<_0x5704e1;_0x4947a1++){var _0x4e2609=_0x36f263[_0x10aeef>>>0x18]^_0x3a7bf1[_0x5c6c70>>>0x10&0xff]^_0x5b9097[_0xe779d3>>>0x8&0xff]^_0x3fb6fe[_0x2f3904&0xff]^_0xc9ada[_0x5214b0++],_0x214eb3=_0x36f263[_0x5c6c70>>>0x18]^_0x3a7bf1[_0xe779d3>>>0x10&0xff]^_0x5b9097[_0x2f3904>>>0x8&0xff]^_0x3fb6fe[_0x10aeef&0xff]^_0xc9ada[_0x5214b0++],_0x36049d=_0x36f263[_0xe779d3>>>0x18]^_0x3a7bf1[_0x2f3904>>>0x10&0xff]^_0x5b9097[_0x10aeef>>>0x8&0xff]^_0x3fb6fe[_0x5c6c70&0xff]^_0xc9ada[_0x5214b0++],_0x197bf6=_0x36f263[_0x2f3904>>>0x18]^_0x3a7bf1[_0x10aeef>>>0x10&0xff]^_0x5b9097[_0x5c6c70>>>0x8&0xff]^_0x3fb6fe[_0xe779d3&0xff]^_0xc9ada[_0x5214b0++];_0x10aeef=_0x4e2609,_0x5c6c70=_0x214eb3,_0xe779d3=_0x36049d,_0x2f3904=_0x197bf6;}var _0x4e2609=(_0x4e000e[_0x10aeef>>>0x18]<<0x18|_0x4e000e[_0x5c6c70>>>0x10&0xff]<<0x10|_0x4e000e[_0xe779d3>>>0x8&0xff]<<0x8|_0x4e000e[_0x2f3904&0xff])^_0xc9ada[_0x5214b0++],_0x214eb3=(_0x4e000e[_0x5c6c70>>>0x18]<<0x18|_0x4e000e[_0xe779d3>>>0x10&0xff]<<0x10|_0x4e000e[_0x2f3904>>>0x8&0xff]<<0x8|_0x4e000e[_0x10aeef&0xff])^_0xc9ada[_0x5214b0++],_0x36049d=(_0x4e000e[_0xe779d3>>>0x18]<<0x18|_0x4e000e[_0x2f3904>>>0x10&0xff]<<0x10|_0x4e000e[_0x10aeef>>>0x8&0xff]<<0x8|_0x4e000e[_0x5c6c70&0xff])^_0xc9ada[_0x5214b0++],_0x197bf6=(_0x4e000e[_0x2f3904>>>0x18]<<0x18|_0x4e000e[_0x10aeef>>>0x10&0xff]<<0x10|_0x4e000e[_0x5c6c70>>>0x8&0xff]<<0x8|_0x4e000e[_0xe779d3&0xff])^_0xc9ada[_0x5214b0++];_0x2f2c26[_0x3f1e8f]=_0x4e2609,_0x2f2c26[_0x3f1e8f+0x1]=_0x214eb3,_0x2f2c26[_0x3f1e8f+0x2]=_0x36049d,_0x2f2c26[_0x3f1e8f+0x3]=_0x197bf6;},'keySize':0x100/0x20});_0x21c339[_0x495587(0x32c)]=_0x370418[_0x495587(0x3fc)](_0x5f078e);}()),_0x5a4c3b['AES'];}));}(yn));var hr=yn[_0x1f2fa(0x4b1)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x50b036,_0x55ef8c){(function(_0x33b5eb,_0x1437ec){const _0x78b7c7=_0x3f71;_0x50b036[_0x78b7c7(0x4b1)]=_0x1437ec(oe());}(X,function(_0x3da59d){const _0x20e0d2=_0x3f71;return _0x3da59d[_0x20e0d2(0x45b)][_0x20e0d2(0x357)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x4bba0c,_0x4cd85){(function(_0x97d51f,_0x4fc65e){const _0x2863f7=_0x3f71;_0x4bba0c[_0x2863f7(0x4b1)]=_0x4fc65e(oe());}(X,function(_0x1dcb45){return(function(){const _0x1afc85=_0x3f71;if(typeof ArrayBuffer==_0x1afc85(0x323)){var _0xbcc1da=_0x1dcb45,_0x31c222=_0xbcc1da[_0x1afc85(0x56f)],_0x2a6c69=_0x31c222[_0x1afc85(0x27d)],_0x177dc0=_0x2a6c69[_0x1afc85(0x485)],_0x51e211=_0x2a6c69[_0x1afc85(0x485)]=function(_0x5453b0){const _0x425615=_0x1afc85;if(_0x5453b0 instanceof ArrayBuffer&&(_0x5453b0=new Uint8Array(_0x5453b0)),(_0x5453b0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5453b0 instanceof Uint8ClampedArray||_0x5453b0 instanceof Int16Array||_0x5453b0 instanceof Uint16Array||_0x5453b0 instanceof Int32Array||_0x5453b0 instanceof Uint32Array||_0x5453b0 instanceof Float32Array||_0x5453b0 instanceof Float64Array)&&(_0x5453b0=new Uint8Array(_0x5453b0[_0x425615(0x20b)],_0x5453b0[_0x425615(0x4c7)],_0x5453b0[_0x425615(0x1e4)])),_0x5453b0 instanceof Uint8Array){for(var _0x211437=_0x5453b0[_0x425615(0x1e4)],_0x5e99bf=[],_0x328441=0x0;_0x328441<_0x211437;_0x328441++)_0x5e99bf[_0x328441>>>0x2]|=_0x5453b0[_0x328441]<<0x18-_0x328441%0x4*0x8;_0x177dc0[_0x425615(0x575)](this,_0x5e99bf,_0x211437);}else _0x177dc0[_0x425615(0x19a)](this,arguments);};_0x51e211['prototype']=_0x2a6c69;}}()),_0x1dcb45['lib']['WordArray'];}));}(Un));var vr=Un[_0x1f2fa(0x4b1)];const mr=xe(vr);var Mn={'exports':{}};(function(_0x37d014,_0x4585ca){(function(_0x245707,_0x4fe7b1,_0x1ca4f3){const _0x505fc5=_0x3f71;_0x37d014[_0x505fc5(0x4b1)]=_0x4fe7b1(oe(),wn());}(X,function(_0x168523){const _0x3c2ac5=_0x3f71;return _0x168523[_0x3c2ac5(0x200)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x168523[_0x3c2ac5(0x200)][_0x3c2ac5(0x40f)];}));}(Mn));var Sr=Mn[_0x1f2fa(0x4b1)];const pr=xe(Sr);function gr(_0x4cf5bd,_0x87ade2){const _0x4de658=_0x1f2fa,_0x1b2a97=_0x87ade2-_0x4cf5bd[_0x4de658(0x339)]%_0x87ade2,_0x2088aa=String[_0x4de658(0x5bf)](_0x1b2a97)[_0x4de658(0x2a2)](_0x1b2a97);return _0x4cf5bd+_0x2088aa;}function Ir(_0x2f68cb,_0x189a87){const _0x533e24=_0x1f2fa,_0x42fc7f=mr[_0x533e24(0x2fc)](0x10),_0x487d35=gr(_0x2f68cb,0x10),_0xfa3166=_r[_0x533e24(0x3c5)](fr['parse'](_0x487d35),Xt[_0x533e24(0x55a)](_0x189a87),{'iv':_0x42fc7f,'padding':pr});return _0x42fc7f['concat'](_0xfa3166[_0x533e24(0x3f6)])[_0x533e24(0x353)](Xt);}function Cr(){const _0x30b735=_0x1f2fa,_0x26f3fe=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x30b735(0x46b)];if(_0x26f3fe){const _0x2100ee={'time':Math[_0x30b735(0x3ea)](Date['now']()/0x3e8),'domain':location[_0x30b735(0x281)]};return Ir(JSON['stringify'](_0x2100ee),_0x26f3fe);}}var Er=Object[_0x1f2fa(0x4e5)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x3dfab6,_0x52f058,_0x41ad23,_0x15cdc3)=>{const _0x1adc9b=_0x1f2fa;for(var _0x1db1ca=_0x15cdc3>0x1?void 0x0:_0x15cdc3?br(_0x52f058,_0x41ad23):_0x52f058,_0x13e6f3=_0x3dfab6[_0x1adc9b(0x339)]-0x1,_0x1de9e1;_0x13e6f3>=0x0;_0x13e6f3--)(_0x1de9e1=_0x3dfab6[_0x13e6f3])&&(_0x1db1ca=(_0x15cdc3?_0x1de9e1(_0x52f058,_0x41ad23,_0x1db1ca):_0x1de9e1(_0x1db1ca))||_0x1db1ca);return _0x15cdc3&&_0x1db1ca&&Er(_0x52f058,_0x41ad23,_0x1db1ca),_0x1db1ca;},Rr=(_0x192aa7,_0xed54ea)=>(_0x2f8ed2,_0x4eb304)=>_0xed54ea(_0x2f8ed2,_0x4eb304,_0x192aa7);let Ye=class{constructor(_0x247d1e){const _0x5bf0b6=_0x1f2fa;this['_httpService']=_0x247d1e,this[_0x5bf0b6(0x313)]();}[_0x1f2fa(0x313)](){const _0x23e30b=_0x1f2fa;this[_0x23e30b(0x3e8)][_0x23e30b(0x5f8)]({'interceptor':(_0x22cad8,_0xf5fc53)=>{const _0x716fe5=_0x23e30b,_0xbcf8f8=_0x22cad8[_0x716fe5(0x29f)],_0x56225a=Cr();return _0x56225a&&_0xbcf8f8['set'](_0x716fe5(0x19b),_0x56225a),_0xf5fc53(_0x22cad8);}});}};Ye=Tr([Rr(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)]))],Ye);var yr=Object[_0x1f2fa(0x4e5)],Or=Object[_0x1f2fa(0x40d)],Dr=(_0x1b3f94,_0x375e66,_0x5ea089,_0x5c9ada)=>{const _0x11ce79=_0x1f2fa;for(var _0x1bfa94=_0x5c9ada>0x1?void 0x0:_0x5c9ada?Or(_0x375e66,_0x5ea089):_0x375e66,_0x54f918=_0x1b3f94[_0x11ce79(0x339)]-0x1,_0x274233;_0x54f918>=0x0;_0x54f918--)(_0x274233=_0x1b3f94[_0x54f918])&&(_0x1bfa94=(_0x5c9ada?_0x274233(_0x375e66,_0x5ea089,_0x1bfa94):_0x274233(_0x1bfa94))||_0x1bfa94);return _0x5c9ada&&_0x1bfa94&&yr(_0x375e66,_0x5ea089,_0x1bfa94),_0x1bfa94;},vt=(_0x508dd5,_0xe2e62a)=>(_0x2abbc0,_0x7531d9)=>_0xe2e62a(_0x2abbc0,_0x7531d9,_0x508dd5);const wr=[_0x1f2fa(0x185),_0x1f2fa(0x550),_0x1f2fa(0x1a1),'image/gif','image/bmp'],Pr=0x5*0x400*0x400,Ur='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Mr='/universer-api/stream/file/upload',Ar=_0x1f2fa(0x560),Nr=_0x1f2fa(0x5b0);exports['ImageIoService']=class{constructor(_0x3cedc9,_0x5365fd,_0x291ca6){const _0x151ba3=_0x1f2fa;I(this,_0x151ba3(0x226),0x0),I(this,_0x151ba3(0x1fa),new A[(_0x151ba3(0x2ba))]()),I(this,'change$',this[_0x151ba3(0x1fa)]),I(this,_0x151ba3(0x31e),new Map()),(this[_0x151ba3(0x3e8)]=_0x3cedc9,this[_0x151ba3(0x499)]=_0x5365fd,this['_univerInstanceService']=_0x291ca6);}[_0x1f2fa(0x1cb)](_0x5411d5){const _0x429fba=_0x1f2fa;this[_0x429fba(0x226)]=_0x5411d5,this[_0x429fba(0x1fa)]['next'](_0x5411d5);}[_0x1f2fa(0x249)](_0xfa531e,_0x5c07e7){const _0x582a97=_0x1f2fa;if(_0x5c07e7===ne[_0x582a97(0x2c5)][_0x582a97(0x579)]){const _0x35203a=new Image();return _0x35203a[_0x582a97(0x34f)]=_0xfa531e,_0x35203a;}return this['_imageSourceCache'][_0x582a97(0x2f6)](_0xfa531e);}[_0x1f2fa(0x3d0)](_0x2e0f7c,_0x29e9da,_0x5d7c42){const _0x4bf09b=_0x1f2fa;_0x29e9da===ne['ImageSourceType'][_0x4bf09b(0x579)]||_0x5d7c42==null||this[_0x4bf09b(0x31e)]['set'](_0x2e0f7c,_0x5d7c42);}async['getImage'](_0x3dc7b6){const _0x410fde=_0x1f2fa;try{const _0x35cdca=this['_replaceFileID'](this[_0x410fde(0x486)](),''+_0x3dc7b6),_0x517711=(await this[_0x410fde(0x3e8)]['get'](_0x35cdca))[_0x410fde(0x26d)];if(_0x517711[_0x410fde(0x2d0)]&&_0x517711[_0x410fde(0x2d0)]['code']===cn['OK']){const _0x4db1ad=new URL(_0x517711['url'],this[_0x410fde(0x36e)]())[_0x410fde(0x353)]();return Promise[_0x410fde(0x4f2)](_0x4db1ad);}return Promise['reject'](_0x517711[_0x410fde(0x2d0)]);}catch(_0x282d5a){return Promise['reject'](_0x282d5a);}}async[_0x1f2fa(0x4d9)](_0x2770cc){const _0x1f9644=_0x1f2fa;let _0x13900e='';if(!wr[_0x1f9644(0x278)](_0x2770cc[_0x1f9644(0x1eb)]))return this[_0x1f9644(0x3a9)](),Promise['reject'](new Error(ne[_0x1f9644(0x5df)]['ERROR_IMAGE_TYPE']));if(_0x2770cc[_0x1f9644(0x51b)]>Pr)return this[_0x1f9644(0x3a9)](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)][_0x1f9644(0x426)]));try{const _0xaebdc2=new FormData();_0xaebdc2[_0x1f9644(0x1bf)](_0x1f9644(0x201),_0x2770cc);const _0x969c3b=this[_0x1f9644(0x51c)][_0x1f9644(0x2a3)](),_0x1eca8a=_0x969c3b==null?void 0x0:_0x969c3b[_0x1f9644(0x4ea)]();if(!_0x1eca8a)throw new Error(_0x1f9644(0x1fc));const _0x5cabc1=this[_0x1f9644(0x26a)]()+_0x1f9644(0x58e)+_0x2770cc['size'][_0x1f9644(0x353)]()+_0x1f9644(0x404)+ln['UnitEmbedded']+_0x1f9644(0x52c)+encodeURIComponent(_0x1eca8a),_0x2d7b78=await(await fetch(_0x5cabc1,{'method':_0x1f9644(0x202),'body':_0xaebdc2}))['json']();if(typeof _0x2d7b78['FileId']!='string')return this[_0x1f9644(0x3a9)](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)]['ERROR_IMAGE']));_0x13900e=_0x2d7b78[_0x1f9644(0x1da)];}catch{return this['_decreaseWaiting'](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)][_0x1f9644(0x514)]));}return new Promise((_0x57eaa8,_0x3d3e89)=>{const _0x1c3e83=_0x1f9644,_0x268d3f=new FileReader();_0x268d3f[_0x1c3e83(0x1b4)](_0x2770cc),_0x268d3f['onload']=_0xafa6e9=>{const _0x3469d1=_0x1c3e83;var _0x3bf8c1;const _0x3d50cb=(_0x3bf8c1=_0xafa6e9[_0x3469d1(0x55c)])==null?void 0x0:_0x3bf8c1[_0x3469d1(0x348)];if(_0x3d50cb==null){this[_0x3469d1(0x3a9)](),_0x3d3e89(new Error(ne[_0x3469d1(0x5df)][_0x3469d1(0x514)]));return;}const _0x9b14a1=a[_0x3469d1(0x34c)][_0x3469d1(0x452)](0x6);_0x57eaa8({'imageId':_0x9b14a1,'imageSourceType':ne[_0x3469d1(0x2c5)][_0x3469d1(0x309)],'source':_0x13900e,'base64Cache':_0x3d50cb,'status':ne[_0x3469d1(0x5df)][_0x3469d1(0x3c7)]}),this[_0x3469d1(0x3a9)]();};});}[_0x1f2fa(0x26a)](){const _0x3dfed0=_0x1f2fa;var _0x28d7dc,_0x13f58a;const _0x30c440=this[_0x3dfed0(0x499)][_0x3dfed0(0x546)](Ur),_0x4127f1=this[_0x3dfed0(0x499)][_0x3dfed0(0x546)](te);return(_0x13f58a=(_0x28d7dc=_0x4127f1==null?void 0x0:_0x4127f1[_0x3dfed0(0x40b)])!=null?_0x28d7dc:_0x30c440)!=null?_0x13f58a:Mr;}[_0x1f2fa(0x486)](){const _0x47d0f5=_0x1f2fa;var _0x46abe0,_0x558f49;const _0x4d3049=this[_0x47d0f5(0x499)][_0x47d0f5(0x546)](Ar),_0x1fb26c=this[_0x47d0f5(0x499)][_0x47d0f5(0x546)](te);return(_0x558f49=(_0x46abe0=_0x1fb26c==null?void 0x0:_0x1fb26c['signUrlServerUrl'])!=null?_0x46abe0:_0x4d3049)!=null?_0x558f49:Nr;}[_0x1f2fa(0x36e)](){const _0x1af86e=_0x1f2fa;var _0x15f1f2;const _0x6ca26b=this[_0x1af86e(0x499)]['getConfig'](te);return(_0x15f1f2=_0x6ca26b==null?void 0x0:_0x6ca26b[_0x1af86e(0x181)])!=null?_0x15f1f2:location['origin'];}['_replaceFileID'](_0x68885,_0x13b292){const _0x2d72eb=_0x1f2fa;return _0x68885[_0x2d72eb(0x368)](_0x2d72eb(0x332),_0x13b292);}['_decreaseWaiting'](){const _0x12cf0d=_0x1f2fa;this['_waitCount']-=0x1,this['_change$'][_0x12cf0d(0x497)](this[_0x12cf0d(0x226)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)])),vt(0x1,a[_0x1f2fa(0x1b0)]),vt(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x562)]))],exports[_0x1f2fa(0x40e)]);var Lr=Object['defineProperty'],xr=Object[_0x1f2fa(0x40d)],jr=(_0x11d850,_0x1bc2e1,_0x18106b,_0x5ba328)=>{for(var _0x81472e=_0x5ba328>0x1?void 0x0:_0x5ba328?xr(_0x1bc2e1,_0x18106b):_0x1bc2e1,_0x21d1df=_0x11d850['length']-0x1,_0x5f3437;_0x21d1df>=0x0;_0x21d1df--)(_0x5f3437=_0x11d850[_0x21d1df])&&(_0x81472e=(_0x5ba328?_0x5f3437(_0x1bc2e1,_0x18106b,_0x81472e):_0x5f3437(_0x81472e))||_0x81472e);return _0x5ba328&&_0x81472e&&Lr(_0x1bc2e1,_0x18106b,_0x81472e),_0x81472e;},Ae=(_0x4708c0,_0xac1861)=>(_0x52c455,_0x31d222)=>_0xac1861(_0x52c455,_0x31d222,_0x4708c0);let Ke=class extends a[_0x1f2fa(0x2bd)]{constructor(_0xfa1c90,_0x2e1950,_0x807a99,_0x45adbd,_0x4b5662){const _0x4168bc=_0x1f2fa;super(),this[_0x4168bc(0x2f7)]=_0xfa1c90,this[_0x4168bc(0x51c)]=_0x2e1950,this['_permissionService']=_0x807a99,this[_0x4168bc(0x2b9)]=_0x45adbd,this[_0x4168bc(0x247)]=_0x4b5662,this[_0x4168bc(0x16c)](),this[_0x4168bc(0x520)]();}[_0x1f2fa(0x520)](){const _0x3c7d6c=_0x1f2fa,_0x40a9b5=async _0xa360a1=>{const _0x5f0dd5=_0x3f71;(await this[_0x5f0dd5(0x2b9)][_0x5f0dd5(0x5b5)](_0xa360a1))[_0x5f0dd5(0x215)][_0x5f0dd5(0x5f2)](V[_0x5f0dd5(0x3db)](_0x7c83e=>_0x7c83e['eventID']===S['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x5f0dd5(0x5d4)](this[_0x5f0dd5(0x57d)]))['subscribe'](_0xaa3b2d=>{const _0x47ed58=_0x5f0dd5,_0x45f5d2=_0xaa3b2d,{reason:_0x142c2f}=_0x45f5d2[_0x47ed58(0x462)];this[_0x47ed58(0x2f7)][_0x47ed58(0x2f6)](ee[_0x47ed58(0x32b)])[_0x47ed58(0x472)]({'type':ge['MessageType'][_0x47ed58(0x424)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x142c2f+')'}),this['_permissionService'][_0x47ed58(0x4db)](new k['WorkbookEditablePermission'](_0xa360a1)['id'],!0x1),this[_0x47ed58(0x2b9)][_0x47ed58(0x2d6)](_0xa360a1);});};A[_0x3c7d6c(0x1b6)](this[_0x3c7d6c(0x51c)]['getTypeOfUnitAdded$'](a[_0x3c7d6c(0x5c7)][_0x3c7d6c(0x4c3)]),this[_0x3c7d6c(0x51c)][_0x3c7d6c(0x374)](a['UniverInstanceType']['UNIVER_DOC']))[_0x3c7d6c(0x5f2)](V[_0x3c7d6c(0x50e)](_0x3fd82f=>_0x3fd82f[_0x3c7d6c(0x4ea)]()),V[_0x3c7d6c(0x3db)](_0x4a521e=>!a[_0x3c7d6c(0x29a)](_0x4a521e)),V[_0x3c7d6c(0x5d4)](this[_0x3c7d6c(0x57d)]))[_0x3c7d6c(0x25e)](_0x17739e=>{_0x40a9b5(_0x17739e);});}[_0x1f2fa(0x16c)](){const _0x137df5=_0x1f2fa,_0x28cd2a=async _0x27a778=>{const _0x596934=_0x3f71;(await this['_collaborationSessionService'][_0x596934(0x5b5)](_0x27a778))[_0x596934(0x215)][_0x596934(0x5f2)](V[_0x596934(0x3db)](_0x1bfdbc=>_0x1bfdbc[_0x596934(0x38e)]===S['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x596934(0x5d4)](this[_0x596934(0x57d)]))['subscribe'](_0x50f44c=>{const _0x511e4f=_0x596934,_0x106158=_0x50f44c,{objectId:_0x3fff62}=_0x106158[_0x511e4f(0x462)],_0x2a507c=this['_injector']['get'](Re['SheetPermissionInitController']);_0x3fff62===_0x27a778?_0x2a507c[_0x511e4f(0x267)](_0x27a778):_0x2a507c['refreshPermission'](_0x27a778,_0x3fff62);});};A[_0x137df5(0x1b6)](this[_0x137df5(0x51c)][_0x137df5(0x374)](a['UniverInstanceType'][_0x137df5(0x4c3)]),this[_0x137df5(0x51c)][_0x137df5(0x374)](a['UniverInstanceType'][_0x137df5(0x505)]))[_0x137df5(0x5f2)](V[_0x137df5(0x50e)](_0x29ade1=>_0x29ade1[_0x137df5(0x4ea)]()),V['filter'](_0x51633a=>!a[_0x137df5(0x29a)](_0x51633a)),V[_0x137df5(0x5d4)](this[_0x137df5(0x57d)]))[_0x137df5(0x25e)](_0x30eb4f=>{_0x28cd2a(_0x30eb4f);});}};Ke=jr([Ae(0x0,a['Inject'](a['Injector'])),Ae(0x1,a[_0x1f2fa(0x562)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)])),Ae(0x4,a['Inject'](a[_0x1f2fa(0x537)]))],Ke);var $r=Object[_0x1f2fa(0x4e5)],Hr=Object[_0x1f2fa(0x40d)],Br=(_0x746282,_0x3b5dc1,_0x4dd65c,_0x3ba508)=>{const _0x45acf0=_0x1f2fa;for(var _0x4deb11=_0x3ba508>0x1?void 0x0:_0x3ba508?Hr(_0x3b5dc1,_0x4dd65c):_0x3b5dc1,_0x8beaa6=_0x746282[_0x45acf0(0x339)]-0x1,_0x24a722;_0x8beaa6>=0x0;_0x8beaa6--)(_0x24a722=_0x746282[_0x8beaa6])&&(_0x4deb11=(_0x3ba508?_0x24a722(_0x3b5dc1,_0x4dd65c,_0x4deb11):_0x24a722(_0x4deb11))||_0x4deb11);return _0x3ba508&&_0x4deb11&&$r(_0x3b5dc1,_0x4dd65c,_0x4deb11),_0x4deb11;},Jt=(_0x4f03a9,_0x48727a)=>(_0x2a3f7a,_0x4491c3)=>_0x48727a(_0x2a3f7a,_0x4491c3,_0x4f03a9);exports[_0x1f2fa(0x42e)]=class{constructor(_0x456a8b,_0x5226b6){const _0x77b02f=_0x1f2fa;this[_0x77b02f(0x499)]=_0x456a8b,this[_0x77b02f(0x3e8)]=_0x5226b6;}async['getUnitOnRev'](_0x1520d1,_0x5ae0a9){const _0xa4c9c8=_0x1f2fa;var _0x162f9c;const {unitID:_0x2d1804,type:_0xd7eb2f,revision:_0x2f25e=0x0}=_0x5ae0a9,_0x22b270=this[_0xa4c9c8(0x315)]()+'/'+_0xd7eb2f+_0xa4c9c8(0x17b)+_0x2d1804+_0xa4c9c8(0x4c4)+_0x2f25e,_0x50f763=(await this[_0xa4c9c8(0x3e8)][_0xa4c9c8(0x2f6)](_0x22b270))[_0xa4c9c8(0x26d)],_0x425fdb=(_0x162f9c=_0x50f763[_0xa4c9c8(0x3e4)])==null?void 0x0:_0x162f9c[_0xa4c9c8(0x5ba)];if(_0x425fdb){const _0x2e5f10=_0x425fdb==null?void 0x0:_0x425fdb[_0xa4c9c8(0x46c)],_0x32a314=S[_0xa4c9c8(0x379)]['encode'](S[_0xa4c9c8(0x4ca)](_0x2e5f10));_0x425fdb[_0xa4c9c8(0x46c)]=_0x32a314,Object['entries'](_0x425fdb[_0xa4c9c8(0x3c3)])[_0xa4c9c8(0x601)](([,_0x32aa78])=>{const _0x59969a=_0xa4c9c8,_0x55bbdd=_0x32aa78['originalMeta'],_0x302d4d=S['textEncoder'][_0x59969a(0x29b)](S[_0x59969a(0x4ca)](_0x55bbdd));_0x32aa78['originalMeta']=_0x302d4d;});}return _0x50f763;}async['getSheetBlock'](_0x24373f,_0x17d770){const _0x14234b=_0x1f2fa,{unitID:_0x1f2663,type:_0x51bdc7,blockID:_0x1b476d}=_0x17d770,_0x1b965a=this[_0x14234b(0x524)]()+'/'+_0x51bdc7+_0x14234b(0x17b)+_0x1f2663+_0x14234b(0x53e)+_0x1b476d;return(await this[_0x14234b(0x3e8)][_0x14234b(0x2f6)](_0x1b965a))[_0x14234b(0x26d)];}async[_0x1f2fa(0x18d)](_0x1a1308,_0x543be3){const _0x16cf9d=_0x1f2fa,{unitID:_0x4449f1,type:_0x1c9fb0,blockID:_0x685ba9}=_0x543be3,_0x1054aa=this[_0x16cf9d(0x524)]()+_0x16cf9d(0x53e)+_0x1c9fb0+_0x16cf9d(0x17b)+_0x4449f1+'/block/'+_0x685ba9;return(await this[_0x16cf9d(0x3e8)]['get'](_0x1054aa))[_0x16cf9d(0x26d)];}async[_0x1f2fa(0x289)](_0x3ace9f,_0x51c22d){const _0x57d248=_0x1f2fa,{unitID:_0x2c8d22,type:_0x152b74,from:_0x1cfdb6,to:_0x3bfce6}=_0x51c22d,_0x251399=this[_0x57d248(0x524)]()+'/'+_0x152b74+_0x57d248(0x17b)+_0x2c8d22+_0x57d248(0x569)+_0x1cfdb6+_0x57d248(0x572)+_0x3bfce6;return(await this[_0x57d248(0x3e8)][_0x57d248(0x2f6)](_0x251399))[_0x57d248(0x26d)];}[_0x1f2fa(0x315)](){const _0x5a7397=_0x1f2fa;var _0x65db0c;return(_0x65db0c=this['_configService'][_0x5a7397(0x546)](Qt))!=null?_0x65db0c:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x323a96=_0x1f2fa;var _0x589541,_0x26a31b;const _0x331f67=this[_0x323a96(0x499)][_0x323a96(0x546)](Zt),_0x5cc29a=this[_0x323a96(0x499)][_0x323a96(0x546)](te);return(_0x26a31b=(_0x589541=_0x5cc29a==null?void 0x0:_0x5cc29a['snapshotServerUrl'])!=null?_0x589541:_0x331f67)!=null?_0x26a31b:Hn;}async[_0x1f2fa(0x530)](_0x7c4138,_0x57fe4b){const _0xdeb5a1=_0x1f2fa,_0x41a000=_0xdeb5a1(0x2e7)+_0x57fe4b[_0xdeb5a1(0x1eb)]+_0xdeb5a1(0x17b)+_0x57fe4b['unitID']+_0xdeb5a1(0x31b);return(await this[_0xdeb5a1(0x3e8)][_0xdeb5a1(0x2f6)](_0x41a000,{'params':{'resourceId':JSON[_0xdeb5a1(0x3f4)](_0x57fe4b[_0xdeb5a1(0x177)])}}))[_0xdeb5a1(0x26d)];}[_0x1f2fa(0x243)](){const _0x1f5f49=_0x1f2fa;throw new Error(_0x1f5f49(0x209));}['saveSheetBlock'](){const _0x39f1f2=_0x1f2fa;throw new Error(_0x39f1f2(0x209));}[_0x1f2fa(0x2ff)](){const _0x475a79=_0x1f2fa;throw new Error(_0x475a79(0x209));}[_0x1f2fa(0x506)](){const _0x41e62f=_0x1f2fa;throw new Error(_0x41e62f(0x209));}[_0x1f2fa(0x30d)](){const _0x3ea9c6=_0x1f2fa;throw new Error(_0x3ea9c6(0x209));}},exports[_0x1f2fa(0x42e)]=Br([Jt(0x0,a[_0x1f2fa(0x1b0)]),Jt(0x1,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)]))],exports[_0x1f2fa(0x42e)]);var kr=Object[_0x1f2fa(0x4e5)],Wr=Object[_0x1f2fa(0x40d)],Fr=(_0x1bc060,_0xc9a196,_0x556514,_0x596713)=>{const _0x579bc6=_0x1f2fa;for(var _0x455038=_0x596713>0x1?void 0x0:_0x596713?Wr(_0xc9a196,_0x556514):_0xc9a196,_0x3c9c58=_0x1bc060[_0x579bc6(0x339)]-0x1,_0x2b9cde;_0x3c9c58>=0x0;_0x3c9c58--)(_0x2b9cde=_0x1bc060[_0x3c9c58])&&(_0x455038=(_0x596713?_0x2b9cde(_0xc9a196,_0x556514,_0x455038):_0x2b9cde(_0x455038))||_0x455038);return _0x596713&&_0x455038&&kr(_0xc9a196,_0x556514,_0x455038),_0x455038;},Ne=(_0x4ea161,_0x427409)=>(_0x3fa305,_0x7cfcc3)=>_0x427409(_0x3fa305,_0x7cfcc3,_0x4ea161);let It=class extends a[_0x1f2fa(0x221)]{constructor(_0x5d1856,_0x449d81,_0xfad69f,_0x19d9f0,_0x10acc2){const _0x51fb78=_0x1f2fa;super(_0x5d1856,_0x449d81,_0xfad69f),this['_transformService']=_0x19d9f0,this[_0x51fb78(0x1d8)]=_0x10acc2;}[_0x1f2fa(0x3ec)](_0x58472d,_0x301592){const _0x40f729=_0x1f2fa,_0x3a56f1=this[_0x40f729(0x22e)](_0x58472d);if(_0x3a56f1)try{const _0x40ad47=this['_transformStack'](_0x3a56f1,_0x301592);this[_0x40f729(0x3da)](_0x58472d,_0x40ad47);}catch(_0x5c9bc0){this['_logService']['error'](_0x40f729(0x47a),_0x5c9bc0),this[_0x40f729(0x5cc)](_0x58472d);}const _0x359671=this[_0x40f729(0x285)](_0x58472d);if(_0x359671)try{const _0x456525=this['_transformStack'](_0x359671,_0x301592);this[_0x40f729(0x19f)](_0x58472d,_0x456525);}catch(_0xacbd92){this[_0x40f729(0x1d8)]['error'](_0xacbd92),this['_clearRedo'](_0x58472d);}}['_clearUndo'](_0x411082){const _0x59959d=_0x1f2fa,_0x461bbf=this[_0x59959d(0x22e)](_0x411082);_0x461bbf&&(_0x461bbf['length']=0x0,this[_0x59959d(0x36d)]());}[_0x1f2fa(0x2fb)](_0x426027){const _0x10d13c=_0x1f2fa,_0x1d5d16=this['_getRedoStack'](_0x426027);_0x1d5d16&&(_0x1d5d16[_0x10d13c(0x339)]=0x0,this['_updateStatus']());}[_0x1f2fa(0x3da)](_0xb83747,_0x131e96){const _0x350f54=_0x1f2fa;this[_0x350f54(0x38b)]['set'](_0xb83747,_0x131e96),this[_0x350f54(0x36d)]();}['_substituteRedoStack'](_0x11fc7f,_0x28feea){const _0x1accbc=_0x1f2fa;this[_0x1accbc(0x3f0)][_0x1accbc(0x329)](_0x11fc7f,_0x28feea),this['_updateStatus']();}[_0x1f2fa(0x2df)](_0x3c96f7,_0x43adc5){const _0x20d4b2=_0x1f2fa,_0x2de2f5=[];let _0x17e0bb=_0x43adc5,_0x3f7743=_0x43adc5;for(let _0x326b0c=_0x3c96f7[_0x20d4b2(0x339)]-0x1;_0x326b0c>=0x0;_0x326b0c--){const {unitID:_0x53a128,undoMutations:_0x23c6fe,redoMutations:_0x4185ce}=_0x3c96f7[_0x326b0c],_0x679030=this[_0x20d4b2(0x5ce)][_0x20d4b2(0x403)](_0x17e0bb,_0x23c6fe),_0x2fa969=this['_transformService'][_0x20d4b2(0x403)](_0x3f7743,_0x4185ce);if(S[_0x20d4b2(0x372)](_0x679030)||S['isTransformMutationsWithChangesetFailure'](_0x2fa969)){this[_0x20d4b2(0x1d8)][_0x20d4b2(0x2d0)]('[CollaborationUndoRedoService]',_0x20d4b2(0x3dc),_0x679030,_0x2fa969);break;}_0x17e0bb=_0x679030['c1Prime'],_0x3f7743=_0x2fa969[_0x20d4b2(0x448)],_0x2de2f5[_0x20d4b2(0x19c)]({'unitID':_0x53a128,'undoMutations':_0x679030[_0x20d4b2(0x26e)],'redoMutations':_0x2fa969[_0x20d4b2(0x26e)]});}return _0x2de2f5[_0x20d4b2(0x44a)]();}};It=Fr([Ne(0x0,a[_0x1f2fa(0x562)]),Ne(0x1,a[_0x1f2fa(0x51f)]),Ne(0x2,a['IContextService']),Ne(0x3,S[_0x1f2fa(0x3ff)]),Ne(0x4,a[_0x1f2fa(0x1af)])],It);class An extends a[_0x1f2fa(0x2bd)]{constructor(){const _0x37bbd6=_0x1f2fa;super(),I(this,'urlChange$'),this[_0x37bbd6(0x261)]=A['fromEvent'](window,_0x37bbd6(0x190))[_0x37bbd6(0x5f2)](A[_0x37bbd6(0x5d4)](this[_0x37bbd6(0x57d)]),A['shareReplay'](0x1),A[_0x37bbd6(0x295)](void 0x0));}[_0x1f2fa(0x318)](_0x580126,_0x1dbd56,_0x339bb3=!0x1){const _0x58c369=_0x1f2fa,_0xea6279=new URL(window[_0x58c369(0x283)][_0x58c369(0x538)]);_0xea6279[_0x58c369(0x236)][_0x58c369(0x329)](_0x580126,_0x1dbd56),_0x339bb3?window[_0x58c369(0x1a9)][_0x58c369(0x421)]('','',_0xea6279[_0x58c369(0x353)]()):window[_0x58c369(0x1a9)]['pushState']('','',_0xea6279[_0x58c369(0x353)]());}['removeParam'](_0x692e12,_0x2beca1=!0x1){const _0x35656e=_0x1f2fa,_0x3093b1=new URL(window['location'][_0x35656e(0x538)]);_0x3093b1['searchParams'][_0x35656e(0x2e4)](_0x692e12),_0x2beca1?window[_0x35656e(0x1a9)][_0x35656e(0x421)]('','',_0x3093b1['toString']()):window[_0x35656e(0x1a9)][_0x35656e(0x4a0)]('','',_0x3093b1[_0x35656e(0x353)]());}[_0x1f2fa(0x387)](_0xdf1e0b){const _0x5612a6=_0x1f2fa;var _0x412254;return(_0x412254=new URL(window[_0x5612a6(0x283)][_0x5612a6(0x538)])[_0x5612a6(0x236)][_0x5612a6(0x2f6)](_0xdf1e0b))!=null?_0x412254:void 0x0;}}var Nn=Object[_0x1f2fa(0x4e5)],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x47f1e9,_0x17da21,_0x45d5be)=>_0x17da21 in _0x47f1e9?Nn(_0x47f1e9,_0x17da21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45d5be}):_0x47f1e9[_0x17da21]=_0x45d5be,Yr=(_0x3fe5fe,_0x220f1c,_0x28fe5d,_0x1eaa01)=>{for(var _0xe62e39=_0x1eaa01>0x1?void 0x0:_0x1eaa01?Vr(_0x220f1c,_0x28fe5d):_0x220f1c,_0x51ffd1=_0x3fe5fe['length']-0x1,_0x35e398;_0x51ffd1>=0x0;_0x51ffd1--)(_0x35e398=_0x3fe5fe[_0x51ffd1])&&(_0xe62e39=(_0x1eaa01?_0x35e398(_0x220f1c,_0x28fe5d,_0xe62e39):_0x35e398(_0xe62e39))||_0xe62e39);return _0x1eaa01&&_0xe62e39&&Nn(_0x220f1c,_0x28fe5d,_0xe62e39),_0xe62e39;},He=(_0x4ac180,_0x1fe9a9)=>(_0x16c2cf,_0x428732)=>_0x1fe9a9(_0x16c2cf,_0x428732,_0x4ac180),Kr=(_0x3fc281,_0x2d1bb7,_0x27ce1a)=>Gr(_0x3fc281,_0x2d1bb7+'',_0x27ce1a);const qr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x1f2fa(0x227)]=class extends a[_0x1f2fa(0x5fc)]{constructor(_0x212bf0=zn,_0x5ed821,_0x36d3de,_0x5261d8,_0x540517){const _0x5986c7=_0x1f2fa;super(),this[_0x5986c7(0x17d)]=_0x212bf0,this[_0x5986c7(0x1d8)]=_0x5ed821,this[_0x5986c7(0x303)]=_0x36d3de,this[_0x5986c7(0x2f7)]=_0x5261d8,this[_0x5986c7(0x499)]=_0x540517;const {..._0x50e489}=this[_0x5986c7(0x17d)];this[_0x5986c7(0x499)][_0x5986c7(0x2d7)](te,_0x50e489);}[_0x1f2fa(0x473)](){const _0xce2408=_0x1f2fa;this[_0xce2408(0x53b)](),this['_initDependencies']();}[_0x1f2fa(0x15b)](){const _0x2dcf78=_0x1f2fa;a['touchDependencies'](this[_0x2dcf78(0x2f7)],[[Ve]]);}['onRendered'](){const _0x3bd83d=_0x1f2fa;this[_0x3bd83d(0x44e)]();}['_registerDependencies'](){const _0x47da98=_0x1f2fa;var _0x4b8932,_0x46237c,_0x15718d,_0x24d6f9;this[_0x47da98(0x2f7)][_0x47da98(0x3d5)](a['IUndoRedoService'])&&this[_0x47da98(0x1d8)][_0x47da98(0x2d0)]('[UniverCollaborationClientPlugin]',_0x47da98(0x307));const _0x19455b=[[a[_0x47da98(0x2fa)],{'useClass':It}],[exports[_0x47da98(0x1c0)]],[Ot],[wt,{'useClass':An}],[exports[_0x47da98(0x3d8)]],[exports[_0x47da98(0x333)]],[Z[_0x47da98(0x22d)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x46237c=(_0x4b8932=this[_0x47da98(0x17d)])==null?void 0x0:_0x4b8932['socketService'])!=null?_0x46237c:exports[_0x47da98(0x2b7)]}],[S[_0x47da98(0x1d2)],{'useClass':exports[_0x47da98(0x42e)]}],[a[_0x47da98(0x15e)],{'useClass':exports[_0x47da98(0x175)]}],[ne[_0x47da98(0x311)],{'useClass':exports['ImageIoService']}],[exports['CollaborationController']],[exports[_0x47da98(0x33c)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x15718d=this[_0x47da98(0x17d)])!=null&&_0x15718d[_0x47da98(0x28f)]&&_0x19455b['push']([qe,{'useClass':Oi}]),a[_0x47da98(0x43b)](this[_0x47da98(0x2f7)],a[_0x47da98(0x1c3)](_0x19455b,(_0x24d6f9=this[_0x47da98(0x17d)])==null?void 0x0:_0x24d6f9[_0x47da98(0x1b8)]));}[_0x1f2fa(0x44e)](){const _0x38ae2d=_0x1f2fa;this['disposeWithMe'](this[_0x38ae2d(0x303)][_0x38ae2d(0x37e)](a[_0x38ae2d(0x5c7)][_0x38ae2d(0x505)],[pt])),this[_0x38ae2d(0x305)](this[_0x38ae2d(0x303)][_0x38ae2d(0x37e)](a['UniverInstanceType']['UNIVER_SHEET'],[gt]));}[_0x1f2fa(0x364)](){const _0x17aefe=_0x1f2fa;var _0x143dbb,_0x2d8902;this[_0x17aefe(0x2f7)][_0x17aefe(0x2f6)](Z['HTTPService'])[_0x17aefe(0x5f8)]({'priority':0x14,'interceptor':Z[_0x17aefe(0x2fe)]({'maxParallel':0x6})}),(_0x143dbb=this[_0x17aefe(0x17d)])!=null&&_0x143dbb[_0x17aefe(0x5ac)]||this[_0x17aefe(0x2f7)][_0x17aefe(0x2f6)](exports[_0x17aefe(0x333)])[_0x17aefe(0x44c)](),(_0x2d8902=this[_0x17aefe(0x17d)])!=null&&_0x2d8902[_0x17aefe(0x4ee)]&&a['touchDependencies'](this[_0x17aefe(0x2f7)],[[Ge]]),a[_0x17aefe(0x3d6)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x17aefe(0x1ab)]],[exports[_0x17aefe(0x31a)]],[Ke]]);}},Kr(exports[_0x1f2fa(0x227)],_0x1f2fa(0x399),qr),exports['UniverCollaborationClientPlugin']=Yr([a[_0x1f2fa(0x224)](S[_0x1f2fa(0x38c)],Z['UniverNetworkPlugin']),He(0x1,a['ILogService']),He(0x2,K[_0x1f2fa(0x328)]),He(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),He(0x4,a[_0x1f2fa(0x1b0)])],exports[_0x1f2fa(0x227)]),exports[_0x1f2fa(0x2a7)]=Rn,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=on,exports[_0x1f2fa(0x584)]=en,exports[_0x1f2fa(0x422)]=q,exports['CollaborationStatusDisplay']=Tn,exports[_0x1f2fa(0x528)]=Tt,exports[_0x1f2fa(0x15c)]=tn,exports[_0x1f2fa(0x4e1)]=Ct,exports[_0x1f2fa(0x1d9)]=bt,exports[_0x1f2fa(0x330)]=wt,exports[_0x1f2fa(0x2b4)]=rn,exports['LOGIN_URL_KEY']=an,exports[_0x1f2fa(0x55e)]=sn,exports[_0x1f2fa(0x1df)]=Bn,exports[_0x1f2fa(0x1c8)]=Zt,exports[_0x1f2fa(0x2a6)]=Qt,exports[_0x1f2fa(0x4de)]=se,exports[_0x1f2fa(0x5b9)]=Sn,exports[_0x1f2fa(0x321)]=An,exports[_0x1f2fa(0x2bf)]=hn,exports[_0x1f2fa(0x1f7)]=_n;
|