@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-nightly.202411101605
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 _0x38c3ff=_0x4762;(function(_0x30b1cc,_0x247dd5){const _0x1e6895=_0x4762,_0x117a0f=_0x30b1cc();while(!![]){try{const _0x67e736=parseInt(_0x1e6895(0x1ef))/0x1*(-parseInt(_0x1e6895(0x2e6))/0x2)+-parseInt(_0x1e6895(0x578))/0x3*(-parseInt(_0x1e6895(0x4a3))/0x4)+parseInt(_0x1e6895(0x280))/0x5+-parseInt(_0x1e6895(0x49a))/0x6*(-parseInt(_0x1e6895(0x3ca))/0x7)+-parseInt(_0x1e6895(0x1bb))/0x8+-parseInt(_0x1e6895(0x527))/0x9*(-parseInt(_0x1e6895(0x46b))/0xa)+parseInt(_0x1e6895(0x35c))/0xb*(-parseInt(_0x1e6895(0x19f))/0xc);if(_0x67e736===_0x247dd5)break;else _0x117a0f['push'](_0x117a0f['shift']());}catch(_0x34e182){_0x117a0f['push'](_0x117a0f['shift']());}}}(_0x2079,0x8e56d));var Ln=Object[_0x38c3ff(0x1c1)],xn=(_0x3ec9b7,_0xd439c4,_0x3ca1b5)=>_0xd439c4 in _0x3ec9b7?Ln(_0x3ec9b7,_0xd439c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ca1b5}):_0x3ec9b7[_0xd439c4]=_0x3ca1b5,I=(_0x18c2c0,_0x49b7cb,_0x5d12b8)=>xn(_0x18c2c0,typeof _0x49b7cb!=_0x38c3ff(0x57a)?_0x49b7cb+'':_0x49b7cb,_0x5d12b8);Object[_0x38c3ff(0x1c1)](exports,Symbol['toStringTag'],{'value':_0x38c3ff(0x235)});const a=require(_0x38c3ff(0x239)),A=require('rxjs'),V=require(_0x38c3ff(0x22a)),ge=require(_0x38c3ff(0x3c9)),ee=require(_0x38c3ff(0x1b0)),Z=require(_0x38c3ff(0x3ab)),S=require(_0x38c3ff(0x468)),jn=require(_0x38c3ff(0x537)),J=require(_0x38c3ff(0x565)),k=require('@univerjs/sheets'),K=require(_0x38c3ff(0x3c4)),ye=require(_0x38c3ff(0x304)),ne=require(_0x38c3ff(0x1ec)),Pt=require(_0x38c3ff(0x3d3)),Re=require(_0x38c3ff(0x469)),ae=require('react'),$n=require('@univerjs/rpc'),Zt='SNAPSHOT_SERVER_URL_KEY',Hn=_0x38c3ff(0x56d),Qt=_0x38c3ff(0x462),Bn=_0x38c3ff(0x5c9),kn=0x7d0,en=_0x38c3ff(0x1db),Wn=_0x38c3ff(0x377),tn=_0x38c3ff(0x45d),Fn=0x7530,Ct=_0x38c3ff(0x49d),nn=0x4e20,Vn=0x4e20,sn=_0x38c3ff(0x4d9),Gn=0x3,rn=_0x38c3ff(0x5de),Yn=0x3e8,on='COLLAB_SUBMIT_CHANGESET_URL',Kn=_0x38c3ff(0x410),an=_0x38c3ff(0x216),qn=_0x38c3ff(0x1c2);var cn=(_0x2d76e3=>(_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3c1)]=0x0]='UNDEFINED',_0x2d76e3[_0x2d76e3['OK']=0x1]='OK',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x60c)]=0x2]=_0x38c3ff(0x60c),_0x2d76e3[_0x2d76e3['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2d76e3[_0x2d76e3['NOT_FOUND']=0x4]=_0x38c3ff(0x567),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5b4)]=0x5]='UNAUTHENTICATED',_0x2d76e3[_0x2d76e3['ALREADY_EXISTS']=0x6]=_0x38c3ff(0x48a),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5f3)]=0x7]=_0x38c3ff(0x5f3),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x36d)]=0x8]=_0x38c3ff(0x36d),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x621)]=0x9]=_0x38c3ff(0x621),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x378)]=0x1389]=_0x38c3ff(0x378),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x20c)]=0x1771]=_0x38c3ff(0x20c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x57d)]=0x1772]=_0x38c3ff(0x57d),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x39c)]=0x1773]=_0x38c3ff(0x39c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x36c)]=0x1b59]=_0x38c3ff(0x36c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x19a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x638)]=0x1b5b]=_0x38c3ff(0x638),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x45f)]=0x1b5c]=_0x38c3ff(0x45f),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3b4)]=0x1b5d]=_0x38c3ff(0x3b4),_0x2d76e3[_0x2d76e3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x38c3ff(0x4f2),_0x2d76e3[_0x2d76e3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x38c3ff(0x24e),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x508)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5ba)]=0x232b]=_0x38c3ff(0x5ba),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3e1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x63a)]=0x232d]=_0x38c3ff(0x63a),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x259)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x210)]=0x2712]=_0x38c3ff(0x210),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x39f)]=0x2713]=_0x38c3ff(0x39f),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x1ee)]=0x2714]=_0x38c3ff(0x1ee),_0x2d76e3[_0x2d76e3['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2d76e3))(cn||{}),ie=(_0x625abe=>(_0x625abe[_0x625abe[_0x38c3ff(0x58e)]=0x0]=_0x38c3ff(0x58e),_0x625abe[_0x625abe[_0x38c3ff(0x649)]=0x1]=_0x38c3ff(0x649),_0x625abe[_0x625abe[_0x38c3ff(0x23d)]=0x2]=_0x38c3ff(0x23d),_0x625abe[_0x625abe['UNIVER_SLIDE']=0x3]=_0x38c3ff(0x4eb),_0x625abe[_0x625abe[_0x38c3ff(0x3a0)]=0x4]=_0x38c3ff(0x3a0),_0x625abe[_0x625abe['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x625abe))(ie||{}),G=(_0x3371af=>(_0x3371af[_0x3371af['UNKNOWN_CMD']=0x0]=_0x38c3ff(0x51b),_0x3371af[_0x3371af[_0x38c3ff(0x2a5)]=0x1]='HELLO',_0x3371af[_0x3371af['JOIN']=0x2]='JOIN',_0x3371af[_0x3371af[_0x38c3ff(0x407)]=0x3]=_0x38c3ff(0x407),_0x3371af[_0x3371af[_0x38c3ff(0x2b0)]=0x4]=_0x38c3ff(0x2b0),_0x3371af[_0x3371af['HEARTBEAT']=0x5]=_0x38c3ff(0x481),_0x3371af[_0x3371af[_0x38c3ff(0x329)]=0x6]='RECV',_0x3371af[_0x3371af[_0x38c3ff(0x546)]=-0x1]=_0x38c3ff(0x546),_0x3371af))(G||{}),Et=(_0x43efcd=>(_0x43efcd[_0x43efcd['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x43efcd[_0x43efcd['OK']=0x1]='OK',_0x43efcd[_0x43efcd[_0x38c3ff(0x498)]=0x2]='FAIL',_0x43efcd[_0x43efcd['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x43efcd))(Et||{}),ln=(_0x36c035=>(_0x36c035[_0x36c035[_0x38c3ff(0x594)]=0x0]=_0x38c3ff(0x594),_0x36c035[_0x36c035[_0x38c3ff(0x466)]=0x1]=_0x38c3ff(0x466),_0x36c035[_0x36c035[_0x38c3ff(0x580)]=0x2]='HttpExport',_0x36c035[_0x36c035['UnitEmbedded']=0x3]='UnitEmbedded',_0x36c035[_0x36c035[_0x38c3ff(0x2ed)]=0x4]=_0x38c3ff(0x2ed),_0x36c035[_0x36c035['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x36c035))(ln||{});const te='collaboration-client.config',zn={};function hn(_0x5105a9){const _0x20f741=_0x38c3ff;var _0x3f0134,_0xaa3f14,_0x47f986,_0x44bfef,_0x4c2084;const _0x5c717d=_0x5105a9[_0x20f741(0x2e1)],_0x31786f=JSON['parse'](_0x5c717d);switch(_0x31786f[_0x20f741(0x4fa)]){case G['HEARTBEAT']:case G[_0x20f741(0x2a5)]:{const _0x26b657=_0x31786f[_0x20f741(0x31a)];return{..._0x31786f,'data':_0x26b657,'cmd':_0x31786f[_0x20f741(0x4fa)]};}case G[_0x20f741(0x344)]:{const _0x223eab=_0x31786f[_0x20f741(0x543)];return{..._0x31786f,'data':_0x223eab,'cmd':_0x31786f['cmd']};}case G[_0x20f741(0x329)]:{const _0x2d8bed=_0x31786f[_0x20f741(0x290)];switch(_0x2d8bed['eventID']){case S['CollaborationEvent'][_0x20f741(0x35d)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x3f0134=_0x2d8bed[_0x20f741(0x52a)])==null?void 0x0:_0x3f0134['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent']['CHANGESET_ACK']:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0xaa3f14=_0x2d8bed[_0x20f741(0x274)])==null?void 0x0:_0xaa3f14['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x5ec)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x47f986=_0x2d8bed[_0x20f741(0x5e8)])==null?void 0x0:_0x47f986['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x4b5)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x44bfef=_0x2d8bed['csRejEvent'])==null?void 0x0:_0x44bfef['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x57e)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x4c2084=_0x2d8bed[_0x20f741(0x52d)])==null?void 0x0:_0x4c2084['cs']},'cmd':_0x31786f['cmd']};case S[_0x20f741(0x201)]['UPDATE_CURSOR']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x51e)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x307)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['joinEvent']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['USERS_LEAVE']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x5f6)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['LIVESHARE_NEW_HOST']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareNewHost']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['LIVESHARE_FETCH_OPERATIONS']:case S[_0x20f741(0x201)][_0x20f741(0x253)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareOperation']},'cmd':_0x31786f['cmd']};case S['CollaborationEvent'][_0x20f741(0x59f)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareNewHost']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x369)]:return{..._0x31786f,'data':_0x2d8bed,'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x4b4)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x382)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x617)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x641)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x522)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};default:return _0x31786f;}}default:return _0x31786f;}}function _n(_0x2fece7){const _0x1bcb8d=_0x38c3ff;switch(_0x2fece7[_0x1bcb8d(0x4fa)]){case G[_0x1bcb8d(0x481)]:case G[_0x1bcb8d(0x2a5)]:return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7['cmd'],'routeKey':_0x2fece7[_0x1bcb8d(0x5eb)]});case G[_0x1bcb8d(0x2b0)]:{let _0x17a114;switch(_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2bd)]){case S['CollaborationEvent'][_0x1bcb8d(0x46d)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x46d)],'updateCursorEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x5e0)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x5e0)],'leaveEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x307)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)]['USERS_ENTER'],'joinEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)]['LIVESHARE_NEW_HOST']:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2fece7['data']['data']};break;}case S[_0x1bcb8d(0x201)]['LIVESHARE_OPERATION']:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x253)],'liveShareOperation':_0x2fece7[_0x1bcb8d(0x2e1)]['data']};break;}case S['CollaborationEvent'][_0x1bcb8d(0x59f)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x59f)],'liveShareTerminate':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x47f)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x47f)],'liveShareRequestHost':_0x2fece7[_0x1bcb8d(0x2e1)]['data']};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x3d7)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x3d7)]};break;}default:_0x17a114={'eventID':_0x2fece7['data']['eventID']};}return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7['routeKey'],'collaMsg':_0x17a114});}case G['JOIN']:return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7['routeKey'],'joinReq':_0x2fece7[_0x1bcb8d(0x2e1)]});case G[_0x1bcb8d(0x407)]:return JSON['stringify']({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7[_0x1bcb8d(0x5eb)],'leaveReq':_0x2fece7[_0x1bcb8d(0x2e1)]});default:throw new Error(_0x1bcb8d(0x480));}}var Xn=Object[_0x38c3ff(0x1c1)],Jn=Object[_0x38c3ff(0x336)],Zn=(_0x57a918,_0x4fa490,_0x3c0144,_0x3e4906)=>{const _0x3e121e=_0x38c3ff;for(var _0xe146a4=_0x3e4906>0x1?void 0x0:_0x3e4906?Jn(_0x4fa490,_0x3c0144):_0x4fa490,_0x225c45=_0x57a918[_0x3e121e(0x58c)]-0x1,_0x3d1fd8;_0x225c45>=0x0;_0x225c45--)(_0x3d1fd8=_0x57a918[_0x225c45])&&(_0xe146a4=(_0x3e4906?_0x3d1fd8(_0x4fa490,_0x3c0144,_0xe146a4):_0x3d1fd8(_0xe146a4))||_0xe146a4);return _0x3e4906&&_0xe146a4&&Xn(_0x4fa490,_0x3c0144,_0xe146a4),_0xe146a4;},we=(_0x4b5084,_0x5ed7d3)=>(_0x2fca0e,_0x2b3ed4)=>_0x5ed7d3(_0x2fca0e,_0x2b3ed4,_0x4b5084);const bt=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Qn(_0x34d1b2,_0x385c35,_0x4eb36a){const _0x85ff1e=_0x38c3ff;return _0x34d1b2+'/'+_0x385c35+_0x85ff1e(0x4e1)+_0x4eb36a+_0x85ff1e(0x40e);}exports[_0x38c3ff(0x476)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x5ce073,_0x1270c4,_0x516f7c,_0x35a49e,_0x36dd99){const _0x5cc974=_0x38c3ff;super(),this['_http']=_0x5ce073,this[_0x5cc974(0x1c5)]=_0x1270c4,this[_0x5cc974(0x1f5)]=_0x516f7c,this[_0x5cc974(0x4ce)]=_0x35a49e,this[_0x5cc974(0x2b8)]=_0x36dd99;}[_0x38c3ff(0x3df)](_0x32de72){const _0x780fa=_0x38c3ff,_0x4696e8=this['_ws'][_0x780fa(0x3df)](_0x32de72);if(!_0x4696e8)throw new Error(_0x780fa(0x53e));const _0x42747f=new a[(_0x780fa(0x5ad))](),_0x25f6c4=new A[(_0x780fa(0x3cf))]();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x1ed)][_0x780fa(0x47b)](_0x5e78a1=>_0x25f6c4[_0x780fa(0x4c4)](_0x5e78a1))),_0x42747f[_0x780fa(0x425)](a[_0x780fa(0x2c7)](()=>_0x25f6c4[_0x780fa(0x40d)]()));const _0x39f4d5=new A['Subject']();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x659)][_0x780fa(0x47b)](_0x5d593b=>_0x39f4d5['next'](_0x5d593b))),_0x42747f['add'](a[_0x780fa(0x2c7)](()=>_0x39f4d5[_0x780fa(0x40d)]()));const _0x43ae26=new A[(_0x780fa(0x3cf))]();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x646)][_0x780fa(0x47b)](_0x2b3746=>{const _0x48903a=_0x780fa,_0x3b17aa=hn(_0x2b3746);_0x43ae26[_0x48903a(0x4c4)](_0x3b17aa);})),_0x42747f[_0x780fa(0x425)](a[_0x780fa(0x2c7)](()=>_0x43ae26[_0x780fa(0x40d)]()));let _0x44952d;const _0x45d99f=()=>{const _0x54f66a=_0x780fa;_0x39f4d5[_0x54f66a(0x4c4)](new Event(_0x54f66a(0x574))),_0x25f6c4[_0x54f66a(0x4c4)](new CloseEvent('connection\x20error')),_0x44952d['close']();};return _0x44952d={'memberID':'','close$':_0x25f6c4['asObservable'](),'error$':_0x39f4d5[_0x780fa(0x4a7)](),'open$':_0x4696e8[_0x780fa(0x24b)],'message$':_0x43ae26['asObservable'](),'send':_0x3bfe83=>{const _0x5935e2=_0x780fa;if(_0x3bfe83[_0x5935e2(0x4fa)]===G[_0x5935e2(0x2b0)]){if(_0x3bfe83['data']['eventID']===S[_0x5935e2(0x201)][_0x5935e2(0x512)]){this[_0x5935e2(0x33d)](_0x44952d,_0x3bfe83['data'])[_0x5935e2(0x423)](_0x293b18=>{const _0x50a9b0=_0x5935e2;this['_logService'][_0x50a9b0(0x55e)](_0x293b18),_0x45d99f();});return;}if(_0x3bfe83[_0x5935e2(0x2e1)][_0x5935e2(0x2bd)]===S[_0x5935e2(0x201)]['FETCH_MISSING']){const _0x3356ac=_0x3bfe83[_0x5935e2(0x2e1)];this['_fetchMissChangesets'](_0x3356ac)[_0x5935e2(0x1fb)](_0x2973fa=>{const _0x316e5a=_0x5935e2;_0x43ae26[_0x316e5a(0x4c4)]({'cmd':G[_0x316e5a(0x329)],'code':Et['OK'],'routeKey':_0x3356ac[_0x316e5a(0x2e1)][_0x316e5a(0x364)],'routeType':'','data':{'eventID':S[_0x316e5a(0x201)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2973fa}}});})[_0x5935e2(0x423)](_0x4847f0=>{const _0x1e3d30=_0x5935e2;this[_0x1e3d30(0x4ce)][_0x1e3d30(0x55e)](_0x4847f0),_0x45d99f();});return;}}_0x4696e8[_0x5935e2(0x5bc)](_n(_0x3bfe83));},'close':()=>{const _0x47e9a1=_0x780fa;_0x4696e8[_0x47e9a1(0x61a)](),_0x42747f[_0x47e9a1(0x2da)]();}},_0x44952d;}async['_submitChangeset'](_0x2f28a6,_0x5ec7ec){const _0x21bd45=_0x38c3ff;var _0x5ea943,_0x2bdd39;const {unitType:_0x197c50,unitID:_0x2d0921,changeset:_0x1f3fff}=_0x5ec7ec['data'],_0x1b0eff={'unitID':_0x2d0921,'memberID':_0x2f28a6[_0x21bd45(0x3a6)],'type':_0x197c50,'changeset':S[_0x21bd45(0x2e0)](_0x1f3fff)},_0x115c0e=this['_configService'][_0x21bd45(0x556)](on),_0x46c451=this[_0x21bd45(0x1f5)][_0x21bd45(0x556)](te),_0x3548ca=Qn((_0x2bdd39=(_0x5ea943=_0x46c451==null?void 0x0:_0x46c451[_0x21bd45(0x4a5)])!=null?_0x5ea943:_0x115c0e)!=null?_0x2bdd39:Kn,_0x197c50,_0x2d0921);try{await this['_http']['post'](_0x3548ca,{'body':_0x1b0eff});}catch(_0x366115){throw this[_0x21bd45(0x4ce)][_0x21bd45(0x55e)](_0x21bd45(0x57c),_0x21bd45(0x272)),_0x366115;}}async['_fetchMissChangesets'](_0x3d27db){const _0x37d190=_0x38c3ff,{unitID:_0x1908b0,from:_0xcda849,to:_0x3c9f5e,unitType:_0x11ce1b}=_0x3d27db[_0x37d190(0x2e1)];return(await this[_0x37d190(0x2b8)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1908b0,'type':_0x11ce1b,'from':_0xcda849,'to':_0x3c9f5e}))['changesets'];}},exports['CollaborationSocketService']=Zn([we(0x0,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)])),we(0x1,a[_0x38c3ff(0x2af)](Z['WebSocketService'])),we(0x2,a[_0x38c3ff(0x326)]),we(0x3,a[_0x38c3ff(0x626)]),we(0x4,S['ISnapshotServerService'])],exports[_0x38c3ff(0x476)]);const ei=_0x38c3ff(0x3ac);function ti(_0x44429f){const _0x57f8f7=_0x38c3ff;return JSON[_0x57f8f7(0x3e4)](_0x44429f)['length'];}class Tt{constructor(){const _0x3e6fe9=_0x38c3ff;I(this,_0x3e6fe9(0x4d3),new A['Subject']()),I(this,_0x3e6fe9(0x2bc),this[_0x3e6fe9(0x4d3)][_0x3e6fe9(0x4a7)]());}[_0x38c3ff(0x2b3)](_0x29df0a){const _0x484569=_0x38c3ff;this['_commentUpdate$'][_0x484569(0x4c4)](_0x29df0a);}}var ni=Object[_0x38c3ff(0x1c1)],ii=Object[_0x38c3ff(0x336)],si=(_0x3a5f30,_0x21e227,_0x278d22,_0x537e9)=>{const _0x66668d=_0x38c3ff;for(var _0x547f48=_0x537e9>0x1?void 0x0:_0x537e9?ii(_0x21e227,_0x278d22):_0x21e227,_0xd0153c=_0x3a5f30[_0x66668d(0x58c)]-0x1,_0xc78e;_0xd0153c>=0x0;_0xd0153c--)(_0xc78e=_0x3a5f30[_0xd0153c])&&(_0x547f48=(_0x537e9?_0xc78e(_0x21e227,_0x278d22,_0x547f48):_0xc78e(_0x547f48))||_0x547f48);return _0x537e9&&_0x547f48&&ni(_0x21e227,_0x278d22,_0x547f48),_0x547f48;},Ut=(_0x786100,_0x557882)=>(_0xb40312,_0x520838)=>_0x557882(_0xb40312,_0x520838,_0x786100);exports[_0x38c3ff(0x41e)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0xc2fcd2,_0x1a043d){const _0x407b22=_0x38c3ff;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0xc2fcd2,this[_0x407b22(0x40a)]=_0x1a043d,this[_0x407b22(0x4bd)](a[_0x407b22(0x2c7)](A[_0x407b22(0x1d2)](this[_0x407b22(0x393)][_0x407b22(0x3bc)](a['UniverInstanceType'][_0x407b22(0x23d)])['pipe'](V['map'](_0xb36c29=>_0xb36c29[_0x407b22(0x2ee)]())),this[_0x407b22(0x393)][_0x407b22(0x3bc)](a[_0x407b22(0x27f)][_0x407b22(0x649)])[_0x407b22(0x57b)](V['map'](_0x4ceb8e=>_0x4ceb8e['getUnitId']())),this[_0x407b22(0x393)][_0x407b22(0x3bc)](a[_0x407b22(0x27f)][_0x407b22(0x4eb)])[_0x407b22(0x57b)](V[_0x407b22(0x4d7)](_0x62acf0=>_0x62acf0['getUnitId']())))['subscribe'](_0x21ee53=>this[_0x407b22(0x1a4)](_0x21ee53)))));}[_0x38c3ff(0x3ff)](_0x588f32){const _0x58f855=_0x38c3ff;this[_0x58f855(0x40a)][_0x58f855(0x3ff)](_0x588f32);}[_0x38c3ff(0x35a)](){const _0x4b30cb=_0x38c3ff;return this[_0x4b30cb(0x40a)][_0x4b30cb(0x35a)]();}['updateMember'](_0x8d630d,_0x3099a4){const _0x260fcd=_0x38c3ff;let _0x154023=this[_0x260fcd(0x47e)]['get'](_0x8d630d);_0x154023||(_0x154023=new ri(),this[_0x260fcd(0x47e)][_0x260fcd(0x3e8)](_0x8d630d,_0x154023)),_0x154023['updateMember'](_0x3099a4);}['removeMember'](_0x23173e,_0x46dc5d){const _0x40fa95=_0x38c3ff,_0x16aff3=this[_0x40fa95(0x47e)][_0x40fa95(0x585)](_0x23173e);_0x16aff3&&_0x16aff3['removeMember'](_0x46dc5d);}[_0x38c3ff(0x308)](_0x2c5860){const _0x2fef0c=_0x38c3ff;return this[_0x2fef0c(0x47e)][_0x2fef0c(0x585)](_0x2c5860);}[_0x38c3ff(0x2ca)](_0x31c73e,_0x44de4b){const _0x330e60=_0x38c3ff,_0x245ba=this['_roomMembers'][_0x330e60(0x585)](_0x31c73e);if(_0x245ba)return _0x245ba['getMember'](_0x44de4b);}[_0x38c3ff(0x1a4)](_0x563ace){const _0x1b100c=_0x38c3ff,_0x4a04da=this['_roomMembers'][_0x1b100c(0x585)](_0x563ace);_0x4a04da&&(_0x4a04da['dispose'](),this['_roomMembers'][_0x1b100c(0x1d0)](_0x563ace));}[_0x38c3ff(0x2da)](){const _0x43fd39=_0x38c3ff;this['_roomMembers']['forEach'](_0x2e461=>_0x2e461['dispose']()),this[_0x43fd39(0x47e)][_0x43fd39(0x372)]();}},exports[_0x38c3ff(0x41e)]=si([Ut(0x0,a[_0x38c3ff(0x2a8)]),Ut(0x1,a[_0x38c3ff(0x2af)](a['UserManagerService']))],exports[_0x38c3ff(0x41e)]);class ri extends a['Disposable']{constructor(){const _0x4a9074=_0x38c3ff;super(...arguments),I(this,_0x4a9074(0x281),new Map());}[_0x38c3ff(0x2da)](){const _0x30161c=_0x38c3ff;this[_0x30161c(0x281)]['clear']();}[_0x38c3ff(0x4f9)](_0x58e74b){const _0x351fbe=_0x38c3ff;this[_0x351fbe(0x281)]['set'](_0x58e74b['memberID'],_0x58e74b);}['removeMember'](_0x361803){const _0x119995=_0x38c3ff;this[_0x119995(0x281)]['delete'](_0x361803);}[_0x38c3ff(0x2ca)](_0x2d7e25){const _0x3bc75c=_0x38c3ff;return this[_0x3bc75c(0x281)][_0x3bc75c(0x585)](_0x2d7e25);}[_0x38c3ff(0x29b)](){const _0x529a26=_0x38c3ff;return Array['from'](this[_0x529a26(0x281)][_0x529a26(0x1f7)]());}}var oi=Object[_0x38c3ff(0x1c1)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x52dcd8,_0x60106c,_0x12f702,_0x347850)=>{for(var _0x261157=_0x347850>0x1?void 0x0:_0x347850?ai(_0x60106c,_0x12f702):_0x60106c,_0x53329b=_0x52dcd8['length']-0x1,_0x272f50;_0x53329b>=0x0;_0x53329b--)(_0x272f50=_0x52dcd8[_0x53329b])&&(_0x261157=(_0x347850?_0x272f50(_0x60106c,_0x12f702,_0x261157):_0x272f50(_0x261157))||_0x261157);return _0x347850&&_0x261157&&oi(_0x60106c,_0x12f702,_0x261157),_0x261157;},de=(_0x3ac8fb,_0x4786a9)=>(_0x28c963,_0x419a06)=>_0x4786a9(_0x28c963,_0x419a06,_0x3ac8fb),se=(_0x18d598=>(_0x18d598[_0x18d598[_0x38c3ff(0x340)]=0x0]=_0x38c3ff(0x340),_0x18d598[_0x18d598[_0x38c3ff(0x631)]=0x1]=_0x38c3ff(0x631),_0x18d598[_0x18d598['OFFLINE']=0x2]='OFFLINE',_0x18d598[_0x18d598[_0x38c3ff(0x1b4)]=0x3]=_0x38c3ff(0x1b4),_0x18d598))(se||{});exports[_0x38c3ff(0x4d6)]=class extends a['RxDisposable']{constructor(_0x1e7608,_0x22facd,_0x4919c7,_0x4af7b8,_0x4a6e6e,_0x211c45,_0xb5ccc7,_0x4db9de,_0x9ba3dd,_0x57e2da){const _0x144566=_0x38c3ff;super(),I(this,_0x144566(0x640),new A[(_0x144566(0x4fc))](0x0)),I(this,'sessionStatus$',this['_sessionStatus$'][_0x144566(0x4a7)]()),I(this,_0x144566(0x244),new A[(_0x144566(0x3cf))]()),I(this,_0x144566(0x604),this[_0x144566(0x244)][_0x144566(0x4a7)]()),I(this,_0x144566(0x4ff)),I(this,_0x144566(0x34d)),I(this,_0x144566(0x3e5)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x144566(0x360),null),(this['_unitID']=_0x1e7608,this[_0x144566(0x4ce)]=_0x4919c7,this[_0x144566(0x250)]=_0x4af7b8,this['_messageService']=_0x4a6e6e,this[_0x144566(0x1f5)]=_0x211c45,this[_0x144566(0x203)]=_0xb5ccc7,this['_memberService']=_0x4db9de,this['_commentService']=_0x9ba3dd,this['_telemetryService']=_0x57e2da,this[_0x144566(0x2b2)]=!!this['_telemetryService'],_0x22facd[_0x144566(0x57b)](A[_0x144566(0x3fb)](this['dispose$']))['subscribe'](_0x1abc57=>{const _0x2c80dc=_0x144566;var _0x27590a;typeof _0x1abc57>'u'||(this[_0x2c80dc(0x4ff)]=_0x1abc57,_0x1abc57?(this[_0x2c80dc(0x415)](_0x1abc57),this[_0x2c80dc(0x34d)]=_0x1abc57[_0x2c80dc(0x646)][_0x2c80dc(0x47b)](_0x1eb4b5=>{const _0x28927c=_0x2c80dc;_0x1eb4b5[_0x28927c(0x5eb)]===this[_0x28927c(0x584)]&&this['_onCombEvent'](_0x1eb4b5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2c80dc(0x640)][_0x2c80dc(0x4c4)](0x2),(_0x27590a=this[_0x2c80dc(0x34d)])==null||_0x27590a['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x144566(0x4bd)](this[_0x144566(0x250)][_0x144566(0x1b8)](()=>{const _0x57ad6a=_0x144566;var _0xf6ed15;(_0xf6ed15=this[_0x57ad6a(0x4ff)])==null||_0xf6ed15[_0x57ad6a(0x5bc)]({'cmd':G[_0x57ad6a(0x407)],'data':{'roomID':this[_0x57ad6a(0x584)]}});})));}get[_0x38c3ff(0x30c)](){const _0x3b81ff=_0x38c3ff;return this['_sessionStatus$'][_0x3b81ff(0x26d)]();}['getMemberID'](){const _0x5b845c=_0x38c3ff;var _0x2c9f73,_0x4ad0cd;return(_0x4ad0cd=(_0x2c9f73=this[_0x5b845c(0x4ff)])==null?void 0x0:_0x2c9f73[_0x5b845c(0x3a6)])!=null?_0x4ad0cd:null;}[_0x38c3ff(0x2da)](){const _0xe2a648=_0x38c3ff;super[_0xe2a648(0x2da)](),this[_0xe2a648(0x5ff)][_0xe2a648(0x4c4)](),this[_0xe2a648(0x5ff)]['complete']();}['close'](){const _0x245761=_0x38c3ff;var _0x26b6a3,_0x5bb552;this[_0x245761(0x504)](),(_0x26b6a3=this[_0x245761(0x4ff)])==null||_0x26b6a3[_0x245761(0x5bc)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5bb552=this[_0x245761(0x4ff)])==null||_0x5bb552[_0x245761(0x61a)](),this[_0x245761(0x244)][_0x245761(0x40d)](),this[_0x245761(0x640)][_0x245761(0x40d)](),this[_0x245761(0x2da)]();}[_0x38c3ff(0x566)](_0x218fd3){const _0x32803a=_0x38c3ff;_0x218fd3[_0x32803a(0x4fa)]===G[_0x32803a(0x344)]?this[_0x32803a(0x4d0)](_0x218fd3):_0x218fd3[_0x32803a(0x4fa)]===G[_0x32803a(0x329)]&&this['_onRecvEvent'](_0x218fd3);}[_0x38c3ff(0x415)](_0x415802){const _0x3ca167=_0x38c3ff;this[_0x3ca167(0x640)][_0x3ca167(0x4c4)](0x1),_0x415802[_0x3ca167(0x5bc)]({'cmd':G[_0x3ca167(0x344)],'routeKey':this[_0x3ca167(0x584)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3ca167(0x584)]}]}});}[_0x38c3ff(0x4d0)](_0x5029c0){const _0x4a0755=_0x38c3ff;var _0x27aac5;if(_0x5029c0[_0x4a0755(0x3b2)]===Et[_0x4a0755(0x498)]){this[_0x4a0755(0x385)][_0x4a0755(0x37c)]({'type':ge[_0x4a0755(0x312)][_0x4a0755(0x42b)],'content':this[_0x4a0755(0x203)]['t']('session.room-full')}),this[_0x4a0755(0x640)][_0x4a0755(0x4c4)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x35d72c=(_0x27aac5=_0x5029c0[_0x4a0755(0x2e1)][_0x4a0755(0x34a)][this[_0x4a0755(0x584)]])==null?void 0x0:_0x27aac5[_0x4a0755(0x254)];_0x35d72c&&_0x35d72c['forEach'](_0x56bcb1=>this[_0x4a0755(0x1aa)][_0x4a0755(0x4f9)](this[_0x4a0755(0x584)],_0x56bcb1));}['_onRecvEvent'](_0x315742){const _0x39b906=_0x38c3ff;try{const _0x20d330=_0x315742[_0x39b906(0x2e1)];switch(_0x20d330['eventID']){case S[_0x39b906(0x201)][_0x39b906(0x307)]:this['_onUserJoin'](_0x20d330),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x5e0)]:this[_0x39b906(0x3a1)](_0x20d330),this['_event$'][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)]['CHANGESET_ACK']:case S['CollaborationEvent'][_0x39b906(0x57e)]:this[_0x39b906(0x64f)](),this[_0x39b906(0x1f9)](),this[_0x39b906(0x244)]['next'](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x369)]:this[_0x39b906(0x4ce)][_0x39b906(0x55e)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x20d330)),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x5c6)]:this[_0x39b906(0x43d)]['onCommentUpdate'](_0x20d330['data']),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;default:this[_0x39b906(0x244)]['next'](_0x20d330);}}catch(_0x2910d0){this[_0x39b906(0x4ce)]['error'](_0x2910d0,_0x315742);}}[_0x38c3ff(0x19c)](_0xdf0628){const _0x54ceec=_0x38c3ff;this['_memberService'][_0x54ceec(0x4f9)](this[_0x54ceec(0x584)],_0xdf0628['data']);}['_onUserLeave'](_0x421954){const _0x7bd6fc=_0x38c3ff;this['_memberService'][_0x7bd6fc(0x2ea)](this[_0x7bd6fc(0x584)],_0x421954['data'][_0x7bd6fc(0x3a6)]);}async[_0x38c3ff(0x5bc)](_0x3db05d,_0x2f4ed9){const _0x17f917=_0x38c3ff;if(this[_0x17f917(0x30c)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3db05d['eventID']===S[_0x17f917(0x201)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x17f917(0x4dd)](_0x3db05d)),this[_0x17f917(0x4ff)]['send']({'cmd':G[_0x17f917(0x2b0)],'routeKey':_0x2f4ed9,'routeType':'','data':_0x3db05d});}catch(_0x52162b){this[_0x17f917(0x4ce)][_0x17f917(0x55e)](_0x52162b);}}['_scheduleCollaborationTimeoutTimer'](){const _0xbb2ac3=_0x38c3ff;var _0x5ec5e1;this[_0xbb2ac3(0x3e5)]=window[_0xbb2ac3(0x3bb)](()=>{const _0x108ded=_0xbb2ac3;this[_0x108ded(0x3e5)]=null,this[_0x108ded(0x385)][_0x108ded(0x37c)]({'type':ge[_0x108ded(0x312)]['Error'],'content':this[_0x108ded(0x203)]['t']('session.collaboration-timeout')});},(_0x5ec5e1=this[_0xbb2ac3(0x1f5)][_0xbb2ac3(0x556)](Ct))!=null?_0x5ec5e1:nn);}[_0x38c3ff(0x1f9)](){const _0x56a63a=_0x38c3ff;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x56a63a(0x3e5)]),this[_0x56a63a(0x3e5)]=null);}[_0x38c3ff(0x4dd)](_0x52e8c4){const _0x5696e4=_0x38c3ff;if(!this[_0x5696e4(0x2b2)])return;const {data:_0x3be723}=_0x52e8c4,{unitID:_0x1ac791,changeset:_0x577dae}=_0x3be723,{mutations:_0x48aec8,type:_0x515eb1}=_0x577dae;this[_0x5696e4(0x360)]={'unitId':_0x1ac791,'type':_0x515eb1,'startTime':performance[_0x5696e4(0x2eb)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x48aec8)};}[_0x38c3ff(0x64f)](){const _0x4e6671=_0x38c3ff;if(this[_0x4e6671(0x2b2)]){if(!this[_0x4e6671(0x360)]){this[_0x4e6671(0x4ce)][_0x4e6671(0x55e)](_0x4e6671(0x57c),_0x4e6671(0x2e2));return;}this[_0x4e6671(0x360)][_0x4e6671(0x359)]=performance[_0x4e6671(0x2eb)](),this[_0x4e6671(0x360)]['duration']=this[_0x4e6671(0x360)][_0x4e6671(0x359)]-this[_0x4e6671(0x360)][_0x4e6671(0x5a0)],this['_telemetryService'][_0x4e6671(0x2f1)](ei,this[_0x4e6671(0x360)]),this[_0x4e6671(0x360)]=null;}}[_0x38c3ff(0x504)](){const _0x29371a=_0x38c3ff;this[_0x29371a(0x360)]=null;}},exports['CollaborationSession']=ci([de(0x2,a[_0x38c3ff(0x626)]),de(0x3,ee['IBeforeCloseService']),de(0x4,ee[_0x38c3ff(0x5d6)]),de(0x5,a[_0x38c3ff(0x326)]),de(0x6,a['Inject'](a[_0x38c3ff(0x222)])),de(0x7,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),de(0x8,a[_0x38c3ff(0x2af)](Tt)),de(0x9,a[_0x38c3ff(0x5e2)](jn[_0x38c3ff(0x529)]))],exports[_0x38c3ff(0x4d6)]);var li=Object[_0x38c3ff(0x1c1)],hi=Object[_0x38c3ff(0x336)],_i=(_0x57aff4,_0x40a828,_0x1757f4,_0x218130)=>{const _0x5ecbff=_0x38c3ff;for(var _0x4f5b9e=_0x218130>0x1?void 0x0:_0x218130?hi(_0x40a828,_0x1757f4):_0x40a828,_0x5e21b9=_0x57aff4[_0x5ecbff(0x58c)]-0x1,_0x3cf1a9;_0x5e21b9>=0x0;_0x5e21b9--)(_0x3cf1a9=_0x57aff4[_0x5e21b9])&&(_0x4f5b9e=(_0x218130?_0x3cf1a9(_0x40a828,_0x1757f4,_0x4f5b9e):_0x3cf1a9(_0x4f5b9e))||_0x4f5b9e);return _0x218130&&_0x4f5b9e&&li(_0x40a828,_0x1757f4,_0x4f5b9e),_0x4f5b9e;},Ee=(_0x331858,_0x381362)=>(_0x43eda9,_0x5d8dc6)=>_0x381362(_0x43eda9,_0x5d8dc6,_0x331858);exports[_0x38c3ff(0x1f6)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x4ec5d8,_0x8cb134,_0x4e60b9,_0x45047e,_0x8a20d9,_0x469ffb){const _0x226707=_0x38c3ff;super(),I(this,_0x226707(0x581),new A['BehaviorSubject'](void 0x0)),I(this,_0x226707(0x31d),this['_socket$'][_0x226707(0x4a7)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0x226707(0x586),new A[(_0x226707(0x4fc))](se[_0x226707(0x340)])),I(this,_0x226707(0x5e4),this[_0x226707(0x586)][_0x226707(0x4a7)]()),I(this,'_socketReady',!0x1),I(this,_0x226707(0x26a)),I(this,_0x226707(0x43a),0x0),I(this,_0x226707(0x20d)),I(this,'_timeoutTimer'),(this[_0x226707(0x3b6)]=_0x4ec5d8,this[_0x226707(0x203)]=_0x8cb134,this[_0x226707(0x385)]=_0x4e60b9,this[_0x226707(0x4ce)]=_0x45047e,this['_configService']=_0x8a20d9,this['_socketService']=_0x469ffb,this[_0x226707(0x1c3)]());}get[_0x38c3ff(0x4ff)](){const _0x19003a=_0x38c3ff;return this['_socket$'][_0x19003a(0x26d)]();}[_0x38c3ff(0x1c3)](){const _0x240e8e=_0x38c3ff;this['_listenToOfflineEvent'](),this[_0x240e8e(0x1e5)]();}[_0x38c3ff(0x2da)](){const _0x4508b6=_0x38c3ff;super[_0x4508b6(0x2da)](),this[_0x4508b6(0x293)][_0x4508b6(0x2d8)](_0x56086a=>_0x56086a['dispose']()),this['_sessions'][_0x4508b6(0x372)](),this[_0x4508b6(0x586)][_0x4508b6(0x40d)]();}async[_0x38c3ff(0x2aa)](_0x1fef1a){const _0x1378fb=_0x38c3ff;if(this['_sessions'][_0x1378fb(0x599)](_0x1fef1a))return this['_sessions']['get'](_0x1fef1a);this['_tryEnsureSocket']();const _0xccdec4=this['_injector']['createInstance'](exports['CollaborationSession'],_0x1fef1a,this[_0x1378fb(0x581)]['asObservable']());return this[_0x1378fb(0x293)][_0x1378fb(0x3e8)](_0x1fef1a,_0xccdec4),_0xccdec4;}[_0x38c3ff(0x327)](_0x5e7adb){const _0x2bae40=_0x38c3ff;var _0x823e04;const _0x53692e=this[_0x2bae40(0x293)][_0x2bae40(0x585)](_0x5e7adb);_0x53692e&&(this['_sessions']['delete'](_0x5e7adb),_0x53692e[_0x2bae40(0x61a)]()),this[_0x2bae40(0x293)][_0x2bae40(0x311)]||(_0x823e04=this['_socket'])==null||_0x823e04[_0x2bae40(0x61a)]();}['reconnect'](){const _0x5d1258=_0x38c3ff;this[_0x5d1258(0x43a)]=0x0,this[_0x5d1258(0x26a)]!=null&&(clearTimeout(this[_0x5d1258(0x26a)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x38c3ff(0x1fd)](){const _0x1df621=_0x38c3ff;var _0x19c5f8,_0x14b7ec;const _0x2d4f6d=this[_0x1df621(0x1f5)][_0x1df621(0x556)](en),_0x215237=this[_0x1df621(0x1f5)]['getConfig'](te),_0x1c1db4=(_0x14b7ec=(_0x19c5f8=_0x215237==null?void 0x0:_0x215237[_0x1df621(0x32c)])!=null?_0x19c5f8:_0x2d4f6d)!=null?_0x14b7ec:Wn,_0x240834=this['_socketService']['createSocket'](_0x1c1db4);return this['_candidateSocket']=_0x240834,_0x240834;}[_0x38c3ff(0x217)](){const _0xd9e6c6=_0x38c3ff;var _0x268f49,_0x533d81;try{const _0x660723=(_0x533d81=(_0x268f49=this[_0xd9e6c6(0x4ff)])!=null?_0x268f49:this['_candidateSocket'])!=null?_0x533d81:this[_0xd9e6c6(0x1fd)]();if(_0x660723){const _0x3f13bd=_0x660723[_0xd9e6c6(0x5bc)];_0x660723['send']=_0xb7f06c=>(this['_rescheduleHeartbeat'](),_0x3f13bd[_0xd9e6c6(0x21e)](_0x660723,[_0xb7f06c])),_0x660723[_0xd9e6c6(0x646)][_0xd9e6c6(0x47b)](_0x5f4386=>this[_0xd9e6c6(0x197)](_0x660723,_0x5f4386)),_0x660723[_0xd9e6c6(0x659)][_0xd9e6c6(0x57b)](V[_0xd9e6c6(0x3f1)](0x1))[_0xd9e6c6(0x47b)](_0x24edf4=>this[_0xd9e6c6(0x4ce)][_0xd9e6c6(0x55e)](_0xd9e6c6(0x389),_0x24edf4)),_0x660723[_0xd9e6c6(0x24b)][_0xd9e6c6(0x57b)](V[_0xd9e6c6(0x3f1)](0x1))['subscribe'](()=>{const _0x23294e=_0xd9e6c6;this[_0x23294e(0x1a5)](_0x660723);}),_0x660723[_0xd9e6c6(0x1ed)]['pipe'](V['take'](0x1))['subscribe'](_0x3882cd=>{const _0x4fe497=_0xd9e6c6;this[_0x4fe497(0x4ce)]['debug'](_0x4fe497(0x651),_0x4fe497(0x350),_0x3882cd),this[_0x4fe497(0x528)]();});}}catch(_0x1b1349){this['_logService'][_0xd9e6c6(0x55e)](_0x1b1349),this[_0xd9e6c6(0x528)]();}}[_0x38c3ff(0x1a5)](_0x398869){const _0x54e209=_0x38c3ff;this['_logService'][_0x54e209(0x405)](_0x54e209(0x651),_0x54e209(0x55b)),_0x398869[_0x54e209(0x5bc)]({'cmd':G[_0x54e209(0x2a5)]}),this[_0x54e209(0x376)]();}[_0x38c3ff(0x2c8)](){const _0x399d38=_0x38c3ff;window[_0x399d38(0x657)]('offline',()=>this[_0x399d38(0x206)]());}['_onOffline'](){const _0x1bc277=_0x38c3ff;this[_0x1bc277(0x48e)]=!0x1,this['_candidateSocket']=null,this[_0x1bc277(0x586)][_0x1bc277(0x4c4)](se['OFFLINE']),this[_0x1bc277(0x581)]['next'](null),this[_0x1bc277(0x1d4)](),this[_0x1bc277(0x358)]();}[_0x38c3ff(0x528)](){const _0x3b5055=_0x38c3ff;var _0x130b46;this[_0x3b5055(0x206)](),this[_0x3b5055(0x43a)]<((_0x130b46=this[_0x3b5055(0x1f5)]['getConfig'](sn))!=null?_0x130b46:Gn)?(this[_0x3b5055(0x385)][_0x3b5055(0x37c)]({'key':_0x3b5055(0x618),'type':ge[_0x3b5055(0x312)][_0x3b5055(0x42b)],'content':this[_0x3b5055(0x203)]['t'](_0x3b5055(0x491))}),this['_tryReconnect']()):this[_0x3b5055(0x385)][_0x3b5055(0x37c)]({'key':_0x3b5055(0x618),'type':ge[_0x3b5055(0x312)][_0x3b5055(0x516)],'content':this['_localeService']['t'](_0x3b5055(0x24f))});}[_0x38c3ff(0x1e5)](){const _0x334bc5=_0x38c3ff,_0x570cda=()=>{const _0x33118e=_0x4762;this[_0x33118e(0x4ff)]||this['reconnect']();},_0x906a4=()=>{const _0x200de7=_0x4762;this[_0x200de7(0x4ff)]||document[_0x200de7(0x478)]===_0x200de7(0x633)||this[_0x200de7(0x64e)]();};window[_0x334bc5(0x657)](_0x334bc5(0x56f),_0x570cda),document[_0x334bc5(0x657)](_0x334bc5(0x5dd),_0x906a4);}['_tryReconnect'](){const _0x3e2b20=_0x38c3ff;var _0x545e74;const _0xd6f021=this[_0x3e2b20(0x43a)],_0x4f3fb3=this['_configService']['getConfig'](te),_0x66a743=_0xd6f021===0x0?0x0:((_0x545e74=_0x4f3fb3==null?void 0x0:_0x4f3fb3['retryConnectingInterval'])!=null?_0x545e74:Vn)*0x2**_0xd6f021;this[_0x3e2b20(0x26a)]=window[_0x3e2b20(0x3bb)](()=>{const _0x32449f=_0x3e2b20;clearTimeout(this[_0x32449f(0x26a)]),this[_0x32449f(0x26a)]=null,this['_tryEnsureSocket']();},_0x66a743),this[_0x3e2b20(0x43a)]+=0x1;}[_0x38c3ff(0x197)](_0x2f6786,_0x433925){const _0x1a74d6=_0x38c3ff,{cmd:_0x59a81b}=_0x433925;_0x59a81b===G[_0x1a74d6(0x2a5)]&&!this[_0x1a74d6(0x48e)]&&(_0x2f6786[_0x1a74d6(0x3a6)]=_0x433925[_0x1a74d6(0x2e1)][_0x1a74d6(0x3a6)],this[_0x1a74d6(0x581)]['next'](_0x2f6786),this['_status$'][_0x1a74d6(0x4c4)](se[_0x1a74d6(0x1b4)]),this[_0x1a74d6(0x48e)]=!0x0,this['_candidateSocket']=null),_0x59a81b===G[_0x1a74d6(0x481)]&&this[_0x1a74d6(0x1d4)](),this[_0x1a74d6(0x376)]();}[_0x38c3ff(0x376)](){const _0x102574=_0x38c3ff;var _0x4b2ea8;this[_0x102574(0x358)](),this[_0x102574(0x20d)]=window[_0x102574(0x3bb)](()=>this[_0x102574(0x39e)](),(_0x4b2ea8=this[_0x102574(0x1f5)]['getConfig'](tn))!=null?_0x4b2ea8:Fn);}['_sendHeartbeat'](){const _0x91cbb9=_0x38c3ff;this['_socket'][_0x91cbb9(0x5bc)]({'cmd':G['HEARTBEAT']}),this[_0x91cbb9(0x285)]();}[_0x38c3ff(0x285)](){const _0x3014b1=_0x38c3ff;var _0x47e003;this[_0x3014b1(0x209)]=window[_0x3014b1(0x3bb)](()=>this[_0x3014b1(0x528)](),(_0x47e003=this[_0x3014b1(0x1f5)][_0x3014b1(0x556)](Ct))!=null?_0x47e003:nn);}['_clearHeartbeatTimer'](){const _0x4d5638=_0x38c3ff;this[_0x4d5638(0x20d)]!=null&&(clearTimeout(this[_0x4d5638(0x20d)]),this[_0x4d5638(0x20d)]=null);}[_0x38c3ff(0x1d4)](){const _0x46f125=_0x38c3ff;this[_0x46f125(0x209)]!=null&&(clearTimeout(this[_0x46f125(0x209)]),this[_0x46f125(0x209)]=null);}},exports[_0x38c3ff(0x1f6)]=_i([Ee(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Ee(0x1,a['Inject'](a['LocaleService'])),Ee(0x2,ee[_0x38c3ff(0x5d6)]),Ee(0x3,a[_0x38c3ff(0x626)]),Ee(0x4,a[_0x38c3ff(0x326)]),Ee(0x5,bt)],exports[_0x38c3ff(0x1f6)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x38c3ff(0x473)]((s+0x100)[_0x38c3ff(0x459)](0x10)[_0x38c3ff(0x56a)](0x1));function ui(_0x1726be,_0x3db6fa=0x0){const _0x3be25e=_0x38c3ff;return(Y[_0x1726be[_0x3db6fa+0x0]]+Y[_0x1726be[_0x3db6fa+0x1]]+Y[_0x1726be[_0x3db6fa+0x2]]+Y[_0x1726be[_0x3db6fa+0x3]]+'-'+Y[_0x1726be[_0x3db6fa+0x4]]+Y[_0x1726be[_0x3db6fa+0x5]]+'-'+Y[_0x1726be[_0x3db6fa+0x6]]+Y[_0x1726be[_0x3db6fa+0x7]]+'-'+Y[_0x1726be[_0x3db6fa+0x8]]+Y[_0x1726be[_0x3db6fa+0x9]]+'-'+Y[_0x1726be[_0x3db6fa+0xa]]+Y[_0x1726be[_0x3db6fa+0xb]]+Y[_0x1726be[_0x3db6fa+0xc]]+Y[_0x1726be[_0x3db6fa+0xd]]+Y[_0x1726be[_0x3db6fa+0xe]]+Y[_0x1726be[_0x3db6fa+0xf]])[_0x3be25e(0x547)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x721256=_0x38c3ff;if(!Je){if(typeof crypto>'u'||!crypto[_0x721256(0x5d0)])throw new Error(_0x721256(0x3fe));Je=crypto[_0x721256(0x5d0)][_0x721256(0x198)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x38c3ff(0x63e)]&&crypto['randomUUID'][_0x38c3ff(0x198)](crypto),Mt={'randomUUID':vi};function mi(_0x3217ee,_0x16435c,_0x46f563){const _0x3d520c=_0x38c3ff;if(Mt[_0x3d520c(0x63e)]&&!_0x16435c&&!_0x3217ee)return Mt[_0x3d520c(0x63e)]();_0x3217ee=_0x3217ee||{};const _0x166ce4=_0x3217ee['random']||(_0x3217ee[_0x3d520c(0x56e)]||fi)();return _0x166ce4[0x6]=_0x166ce4[0x6]&0xf|0x40,_0x166ce4[0x8]=_0x166ce4[0x8]&0x3f|0x80,ui(_0x166ce4);}var Si=Object[_0x38c3ff(0x1c1)],pi=Object['getOwnPropertyDescriptor'],gi=(_0x4b2cea,_0x1ee1c6,_0xc72259,_0x51efa4)=>{const _0x2e00a0=_0x38c3ff;for(var _0x4db7b5=_0x51efa4>0x1?void 0x0:_0x51efa4?pi(_0x1ee1c6,_0xc72259):_0x1ee1c6,_0x3f082b=_0x4b2cea[_0x2e00a0(0x58c)]-0x1,_0x1dd39c;_0x3f082b>=0x0;_0x3f082b--)(_0x1dd39c=_0x4b2cea[_0x3f082b])&&(_0x4db7b5=(_0x51efa4?_0x1dd39c(_0x1ee1c6,_0xc72259,_0x4db7b5):_0x1dd39c(_0x4db7b5))||_0x4db7b5);return _0x51efa4&&_0x4db7b5&&Si(_0x1ee1c6,_0xc72259,_0x4db7b5),_0x4db7b5;},Ze=(_0x23d700,_0x4b3cea)=>(_0x58b5a1,_0x2a0478)=>_0x4b3cea(_0x58b5a1,_0x2a0478,_0x23d700);let Be=class{constructor(_0x2df754,_0x28a72d,_0x2548bd){const _0x174d3a=_0x38c3ff;this[_0x174d3a(0x3b6)]=_0x2df754,this[_0x174d3a(0x267)]=_0x28a72d,this['_renderManagerService']=_0x2548bd;}[_0x38c3ff(0x356)](_0x32e652){const _0x14cc56=_0x38c3ff;this[_0x14cc56(0x2b1)](_0x32e652),this['_transformPreviousActiveRange'](_0x32e652);}[_0x38c3ff(0x5a7)](_0x4f875a){const _0x387829=_0x38c3ff,{unitID:_0x5c538f}=_0x4f875a,_0x110008=this[_0x387829(0x286)]['getRenderById'](_0x5c538f)['with'](J[_0x387829(0x1d1)]),{redoCache:_0x3489d4}=_0x110008['getUndoRedoMutationParamsCache']();if(_0x3489d4[_0x387829(0x58c)]===0x0)return _0x4f875a;let _0x3008b4=a[_0x387829(0x24a)][_0x387829(0x25b)](_0x4f875a[_0x387829(0x1cd)][0x0]);for(let _0x526001=0x0;_0x526001<_0x3489d4[_0x387829(0x58c)];_0x526001++){const _0x3a4f2b={'id':_0x387829(0x354),'params':{..._0x3489d4[_0x526001]}},_0x35c7d2=this[_0x387829(0x267)]['transformMutation'](_0x3008b4,_0x3a4f2b,!0x1);if(S['isTransformMutationFailure'](_0x35c7d2))throw _0x35c7d2[_0x387829(0x55e)];_0x3008b4=_0x35c7d2[_0x387829(0x30e)];}return{...a[_0x387829(0x24a)][_0x387829(0x25b)](_0x4f875a),'mutations':[_0x3008b4]};}['_transformUndoRedoStack'](_0x42fd48){const _0x2a6c87=_0x38c3ff,{unitID:_0x42dec6}=_0x42fd48,_0x126757=this['_renderManagerService']['getRenderById'](_0x42dec6)['with'](J['DocIMEInputManagerService']),{undoCache:_0x1a5296,redoCache:_0x698a9e}=_0x126757['getUndoRedoMutationParamsCache']();if(_0x1a5296['length']===0x0||_0x698a9e[_0x2a6c87(0x58c)]===0x0)return;const _0x5deb21=[],_0x5cdd09=[];let _0x42d6fa=a['Tools'][_0x2a6c87(0x25b)](_0x42fd48[_0x2a6c87(0x1cd)][0x0]),_0x55fc60=a[_0x2a6c87(0x24a)][_0x2a6c87(0x25b)](_0x42fd48['mutations'][0x0]);for(let _0x353fd6=_0x1a5296[_0x2a6c87(0x58c)]-0x1;_0x353fd6>=0x0;_0x353fd6--){const _0x46796e={'id':'doc.mutation.rich-text-editing','params':{..._0x1a5296[_0x353fd6]}},_0x56582d={'id':_0x2a6c87(0x354),'params':{..._0x698a9e[_0x353fd6]}},_0x30712e=this[_0x2a6c87(0x267)]['transformMutation'](_0x42d6fa,_0x46796e,!0x1),_0x55cc0f=this[_0x2a6c87(0x267)]['transformMutation'](_0x55fc60,_0x56582d,!0x1);if(S[_0x2a6c87(0x446)](_0x30712e))throw _0x30712e[_0x2a6c87(0x55e)];if(S[_0x2a6c87(0x446)](_0x55cc0f))throw _0x55cc0f['error'];_0x5deb21[_0x2a6c87(0x5a5)](_0x30712e[_0x2a6c87(0x41f)]['params']),_0x5cdd09[_0x2a6c87(0x5a5)](_0x55cc0f[_0x2a6c87(0x41f)][_0x2a6c87(0x595)]),_0x42d6fa=_0x30712e['m1Prime'],_0x55fc60=_0x55cc0f['m1Prime'];}_0x126757['setUndoRedoMutationParamsCache']({'undoCache':_0x5deb21,'redoCache':_0x5cdd09});}[_0x38c3ff(0x624)](_0x4e7851){const _0x432c29=_0x38c3ff,{unitID:_0x43ed26}=_0x4e7851,_0xa5ae3b=this[_0x432c29(0x286)][_0x432c29(0x5f5)](_0x43ed26)[_0x432c29(0x438)](J[_0x432c29(0x1d1)]),_0x4d942e=_0xa5ae3b[_0x432c29(0x5df)]();if(_0x4d942e==null)return;const _0x10a420=[{'id':_0x432c29(0x354),'params':{'unitId':_0x4e7851[_0x432c29(0x364)],'actions':null,'textRanges':[_0x4d942e]}}],_0x558bfb=this['_transformService'][_0x432c29(0x4be)](_0x4e7851,_0x10a420);if(!S[_0x432c29(0x38b)](_0x558bfb))throw _0x558bfb[_0x432c29(0x55e)];const _0x47f5e8=_0x558bfb[_0x432c29(0x41f)][0x0]['params'][_0x432c29(0x4fd)];Array[_0x432c29(0x32a)](_0x47f5e8)&&_0x47f5e8[_0x432c29(0x58c)]&&_0xa5ae3b[_0x432c29(0x345)](_0x47f5e8[0x0]);}};Be=gi([Ze(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Ze(0x1,S[_0x38c3ff(0x3cc)]),Ze(0x2,K[_0x38c3ff(0x3ea)])],Be);var Ii=Object[_0x38c3ff(0x1c1)],Ci=Object[_0x38c3ff(0x336)],Ei=(_0x4b9fe7,_0x8ef6f9,_0xd17c21,_0x4bf350)=>{const _0x432aa3=_0x38c3ff;for(var _0xee26eb=_0x4bf350>0x1?void 0x0:_0x4bf350?Ci(_0x8ef6f9,_0xd17c21):_0x8ef6f9,_0x162228=_0x4b9fe7[_0x432aa3(0x58c)]-0x1,_0x2abe32;_0x162228>=0x0;_0x162228--)(_0x2abe32=_0x4b9fe7[_0x162228])&&(_0xee26eb=(_0x4bf350?_0x2abe32(_0x8ef6f9,_0xd17c21,_0xee26eb):_0x2abe32(_0xee26eb))||_0xee26eb);return _0x4bf350&&_0xee26eb&&Ii(_0x8ef6f9,_0xd17c21,_0xee26eb),_0xee26eb;},Pe=(_0x547879,_0x5cc27a)=>(_0x2fd6e3,_0x1afe9b)=>_0x5cc27a(_0x2fd6e3,_0x1afe9b,_0x547879);exports['LocalCacheService']=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x167217,_0x2d9e8d,_0x4daf0e,_0x5e864b,_0x60e9fb){const _0x5d71ef=_0x38c3ff;super(),I(this,'_cachedData',new Map()),I(this,_0x5d71ef(0x2b6),new Map()),I(this,_0x5d71ef(0x21b),!0x1),(this[_0x5d71ef(0x1f5)]=_0x167217,this[_0x5d71ef(0x3fa)]=_0x2d9e8d,this[_0x5d71ef(0x250)]=_0x4daf0e,this[_0x5d71ef(0x203)]=_0x5e864b,this['_revisionService']=_0x60e9fb,this['_setupBeforeClosingHandler']());}[_0x38c3ff(0x4bf)](){const _0x4f097c=_0x38c3ff;this[_0x4f097c(0x21b)]=!0x0;}[_0x38c3ff(0x401)](){const _0x107182=_0x38c3ff;this[_0x107182(0x21b)]=!0x1;}[_0x38c3ff(0x2da)](){const _0x2430c9=_0x38c3ff;this[_0x2430c9(0x1df)]()[_0x2430c9(0x1fb)](()=>super['dispose']());}async[_0x38c3ff(0x1f2)](_0x135053){const _0x15bf15=_0x38c3ff;return this[_0x15bf15(0x21b)]?null:this[_0x15bf15(0x3fa)][_0x15bf15(0x3f7)](At(_0x135053));}async['saveOfflineData'](_0x20a890,_0x489236){const _0x13cd2f=_0x38c3ff;return!!this[_0x13cd2f(0x3fa)][_0x13cd2f(0x43c)](_0x20a890,_0x489236);}['updateOfflineData'](_0x12b4c6,_0x20f6c0,_0x27f28a,_0x40128e){const _0x504412=_0x38c3ff,_0x93890e=this[_0x504412(0x26b)][_0x504412(0x451)](_0x12b4c6);this[_0x504412(0x5bf)][_0x504412(0x3e8)](_0x12b4c6,{'unitID':_0x12b4c6,'type':_0x20f6c0,'awaitingChangeset':_0x27f28a,'mutations':_0x40128e,'rev':_0x93890e}),this['_saveTaskMap'][_0x504412(0x599)](_0x12b4c6)||this[_0x504412(0x3b3)](_0x12b4c6);}[_0x38c3ff(0x3b3)](_0x5637ca){const _0x1c4b0f=_0x38c3ff,_0x490ac7=this['_getSaveTimeout']();_0x490ac7===0x0?this[_0x1c4b0f(0x553)](_0x5637ca):this[_0x1c4b0f(0x2b6)][_0x1c4b0f(0x3e8)](_0x5637ca,setTimeout(()=>this[_0x1c4b0f(0x553)](_0x5637ca),_0x490ac7));}[_0x38c3ff(0x440)](){const _0x428044=_0x38c3ff;var _0x19463f;return(_0x19463f=this[_0x428044(0x1f5)][_0x428044(0x556)](rn))!=null?_0x19463f:Yn;}[_0x38c3ff(0x553)](_0x545a3d){const _0x34b1ce=_0x38c3ff,_0x2c8fa6=this[_0x34b1ce(0x2b6)]['get'](_0x545a3d);return _0x2c8fa6!==void 0x0&&window[_0x34b1ce(0x314)](_0x2c8fa6),this[_0x34b1ce(0x3fa)]['setItem'](At(_0x545a3d),this[_0x34b1ce(0x5bf)][_0x34b1ce(0x585)](_0x545a3d))['then'](()=>this[_0x34b1ce(0x2b6)][_0x34b1ce(0x1d0)](_0x545a3d));}async[_0x38c3ff(0x1df)](){const _0x45b9ce=_0x38c3ff,_0x1da48e=[];this['_saveTaskMap'][_0x45b9ce(0x2d8)]((_0x30d4da,_0x154b9d)=>{const _0x20abee=_0x45b9ce;window['clearTimeout'](_0x30d4da),_0x1da48e['push'](this[_0x20abee(0x553)](_0x154b9d)[_0x20abee(0x1fb)](()=>{this['_saveTaskMap']['delete'](_0x154b9d);}));}),await Promise[_0x45b9ce(0x42d)](_0x1da48e);}['_setupBeforeClosingHandler'](){const _0x339409=_0x38c3ff;this[_0x339409(0x4bd)](this[_0x339409(0x250)][_0x339409(0x62c)](()=>{const _0x2b407b=_0x339409;if(this['_saveTaskMap'][_0x2b407b(0x311)])return this['_localeService']['t'](_0x2b407b(0x52e));}));}},exports[_0x38c3ff(0x227)]=Ei([Pe(0x0,a[_0x38c3ff(0x326)]),Pe(0x1,a[_0x38c3ff(0x3e7)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),Pe(0x4,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)]))],exports['LocalCacheService']);function At(_0x54d3f0){const _0x69ad2f=_0x38c3ff;return _0x69ad2f(0x23a)+_0x54d3f0;}var bi=Object[_0x38c3ff(0x1c1)],Ti=Object['getOwnPropertyDescriptor'],Ri=(_0x3ea7c1,_0x45d512,_0x153993,_0x164289)=>{const _0x8d34fa=_0x38c3ff;for(var _0x416e59=_0x164289>0x1?void 0x0:_0x164289?Ti(_0x45d512,_0x153993):_0x45d512,_0x3272da=_0x3ea7c1[_0x8d34fa(0x58c)]-0x1,_0x3d7cf1;_0x3272da>=0x0;_0x3272da--)(_0x3d7cf1=_0x3ea7c1[_0x3272da])&&(_0x416e59=(_0x164289?_0x3d7cf1(_0x45d512,_0x153993,_0x416e59):_0x3d7cf1(_0x416e59))||_0x416e59);return _0x164289&&_0x416e59&&bi(_0x45d512,_0x153993,_0x416e59),_0x416e59;},Qe=(_0x1922af,_0x3e1d82)=>(_0x5c66b5,_0x3228a2)=>_0x3e1d82(_0x5c66b5,_0x3228a2,_0x1922af);function yi(_0xf2d201){const _0x4732c1=_0x38c3ff,{unitID:_0x28185b,mutations:_0x540330}=_0xf2d201;return{'unitId':_0x28185b,'subUnitId':_0x540330[0x0][_0x4732c1(0x595)][_0x4732c1(0x458)]};}let ke=class{constructor(_0x2a8547,_0x5d2b3f,_0x3d1baa){const _0x244f24=_0x38c3ff;this['_injector']=_0x2a8547,this[_0x244f24(0x267)]=_0x5d2b3f,this[_0x244f24(0x653)]=_0x3d1baa;}[_0x38c3ff(0x265)](_0x34a6b8){const _0x362e30=_0x38c3ff;var _0x15b998,_0x309446,_0x540e96,_0x4f1453;const _0x355106=this[_0x362e30(0x3b6)]['get'](k[_0x362e30(0x2c5)]),{unitId:_0x3f8c2f,subUnitId:_0x39f30a}=yi(_0x34a6b8),_0x96114d=_0x355106[_0x362e30(0x333)](_0x3f8c2f)['getCurrentSelections'](),_0x210e1e=(_0x309446=(_0x15b998=this[_0x362e30(0x653)][_0x362e30(0x32e)](_0x3f8c2f))==null?void 0x0:_0x15b998[_0x362e30(0x60f)]())==null?void 0x0:_0x309446[_0x362e30(0x5f0)]();if(_0x96114d[_0x362e30(0x58c)]===0x0||!_0x3f8c2f||!_0x39f30a)return;const _0x1e8a1e=[{'id':k[_0x362e30(0x56b)]['id'],'params':{'unitId':_0x3f8c2f,'subUnitId':_0x210e1e,'selections':a[_0x362e30(0x24a)][_0x362e30(0x25b)](_0x96114d)}}],_0x2cebb9=this[_0x362e30(0x267)][_0x362e30(0x4be)](_0x34a6b8,_0x1e8a1e);if(!S['isTransformMutationsWithChangesetSuccess'](_0x2cebb9))throw _0x2cebb9[_0x362e30(0x55e)];const _0x33974d=(_0x4f1453=(_0x540e96=_0x2cebb9[_0x362e30(0x41f)][0x0])==null?void 0x0:_0x540e96[_0x362e30(0x595)])==null?void 0x0:_0x4f1453['selections'];if(Array['isArray'](_0x33974d)&&_0x33974d['length']){if(_0x33974d[_0x362e30(0x58c)]===_0x1e8a1e[0x0][_0x362e30(0x595)][_0x362e30(0x609)][_0x362e30(0x58c)]&&_0x33974d[_0x362e30(0x318)]((_0x29a986,_0x22ec69)=>a[_0x362e30(0x45c)][_0x362e30(0x44d)](_0x29a986[_0x362e30(0x256)],_0x1e8a1e[0x0][_0x362e30(0x595)][_0x362e30(0x609)][_0x22ec69]['range'])))return;this[_0x362e30(0x3b6)][_0x362e30(0x585)](a['ICommandService'])[_0x362e30(0x4fe)](k['SetSelectionsOperation']['id'],{'unitId':_0x3f8c2f,'subUnitId':_0x210e1e,'selections':_0x33974d});}}};function _0x4762(_0xb34cdb,_0x245eb3){const _0x207948=_0x2079();return _0x4762=function(_0x47625c,_0x17d1e){_0x47625c=_0x47625c-0x196;let _0x40e158=_0x207948[_0x47625c];return _0x40e158;},_0x4762(_0xb34cdb,_0x245eb3);}ke=Ri([Qe(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Qe(0x1,S[_0x38c3ff(0x3cc)]),Qe(0x2,a[_0x38c3ff(0x2a8)])],ke);const qe=a[_0x38c3ff(0x275)](_0x38c3ff(0x21a));var un=(_0x4363cf=>(_0x4363cf[_0x4363cf[_0x38c3ff(0x413)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4363cf[_0x4363cf[_0x38c3ff(0x424)]=0x1]='OTHER_CLIENTS_EDITING',_0x4363cf))(un||{});const Nt=0x7530,Lt=_0x38c3ff(0x27c);class Oi extends a[_0x38c3ff(0x1a8)]{constructor(){const _0x5eb8c8=_0x38c3ff;super(),I(this,_0x5eb8c8(0x31c),a[_0x5eb8c8(0x24a)][_0x5eb8c8(0x4b6)]()),I(this,_0x5eb8c8(0x639),new Set()),I(this,_0x5eb8c8(0x264),new Map()),I(this,_0x5eb8c8(0x26f),null),I(this,_0x5eb8c8(0x5c7),new Map()),I(this,_0x5eb8c8(0x4c5),new Map()),this[_0x5eb8c8(0x596)]();}[_0x38c3ff(0x2da)](){const _0x32f655=_0x38c3ff;super[_0x32f655(0x2da)](),this[_0x32f655(0x5c7)][_0x32f655(0x2d8)]((_0x3fb528,_0x69ec6)=>this[_0x32f655(0x2fe)](_0x69ec6)),this[_0x32f655(0x26f)]&&window[_0x32f655(0x490)](this[_0x32f655(0x26f)]);}[_0x38c3ff(0x5c0)](_0x224bb5){const _0xb848ba=_0x38c3ff;return this[_0xb848ba(0x1a3)](_0x224bb5)[_0xb848ba(0x57b)](A['distinctUntilChanged']());}[_0x38c3ff(0x357)](_0x558464){const _0x2e7f2a=_0x38c3ff;this['_selfUnitIDs'][_0x2e7f2a(0x311)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2e7f2a(0x639)][_0x2e7f2a(0x425)](_0x558464),this[_0x2e7f2a(0x526)]({'type':0x0,'memberID':this[_0x2e7f2a(0x31c)],'unitIDs':[_0x558464],'isForwarded':!0x1});}[_0x38c3ff(0x577)](_0x556f49){const _0x5888fb=_0x38c3ff;this[_0x5888fb(0x639)][_0x5888fb(0x1d0)](_0x556f49),this[_0x5888fb(0x639)][_0x5888fb(0x311)]===0x0&&this[_0x5888fb(0x26f)]&&window[_0x5888fb(0x490)](this[_0x5888fb(0x26f)]);}['_init'](){const _0x550140=_0x38c3ff;this[_0x550140(0x4bd)](a[_0x550140(0x2c7)](A['fromEvent'](window,_0x550140(0x4c1))[_0x550140(0x47b)](_0x1db5fe=>{const _0x4f725d=_0x550140;if(_0x1db5fe[_0x4f725d(0x5d1)]!==Lt||!_0x1db5fe[_0x4f725d(0x493)])return;const _0x49e0ad=JSON['parse'](_0x1db5fe['newValue']);this[_0x4f725d(0x5e3)](_0x49e0ad);}))),window['addEventListener'](_0x550140(0x3a5),()=>this['_send']({'type':0x1,'memberID':this[_0x550140(0x31c)],'unitIDs':Array[_0x550140(0x5ae)](this[_0x550140(0x639)])}));}[_0x38c3ff(0x5e3)](_0x4cebb4){const _0x306035=_0x38c3ff;switch(_0x4cebb4[_0x306035(0x42a)]){case 0x0:this[_0x306035(0x5dc)](_0x4cebb4);break;case 0x1:this['_handleLeaveEvent'](_0x4cebb4);break;case 0x2:this[_0x306035(0x557)](_0x4cebb4);break;}}[_0x38c3ff(0x5dc)](_0x4f0fed){const _0x27409b=_0x38c3ff,{unitIDs:_0x1be534,memberID:_0x160120,isForwarded:_0x498049}=_0x4f0fed;_0x1be534[_0x27409b(0x2d8)](_0x48544f=>{const _0xd7b84f=_0x27409b;if(!_0x498049&&this[_0xd7b84f(0x264)]['has'](_0x48544f)&&this[_0xd7b84f(0x1a3)](_0x48544f)[_0xd7b84f(0x4c4)](0x1),!this[_0xd7b84f(0x264)]['has'](_0x48544f)||!this[_0xd7b84f(0x264)][_0xd7b84f(0x585)](_0x48544f)[_0xd7b84f(0x599)](_0x160120)){const _0x580f52=this[_0xd7b84f(0x264)][_0xd7b84f(0x585)](_0x48544f)||new Set();_0x580f52['add'](_0x160120),this[_0xd7b84f(0x264)][_0xd7b84f(0x3e8)](_0x48544f,_0x580f52),this[_0xd7b84f(0x62b)](_0x160120);}}),_0x498049||this['_send']({'type':0x0,'memberID':this[_0x27409b(0x31c)],'unitIDs':[...this[_0x27409b(0x639)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x429e70){const _0x29f6eb=_0x38c3ff;this[_0x29f6eb(0x2fe)](_0x429e70);const _0x21d749=window[_0x29f6eb(0x3bb)](()=>{const _0x4427ea=_0x29f6eb;this[_0x4427ea(0x264)][_0x4427ea(0x2d8)](_0x27bbd7=>{const _0x5e6693=_0x4427ea;_0x27bbd7[_0x5e6693(0x1d0)](_0x429e70);});},Nt*0x2);this['_clearOtherTimers'][_0x29f6eb(0x3e8)](_0x429e70,_0x21d749);}[_0x38c3ff(0x2fe)](_0x493d08){const _0x372fab=_0x38c3ff;if(this['_clearOtherTimers']['has'](_0x493d08)){const _0x362ac9=this[_0x372fab(0x5c7)]['get'](_0x493d08);_0x362ac9&&window['clearTimeout'](_0x362ac9),this[_0x372fab(0x5c7)][_0x372fab(0x3e8)](_0x493d08,null);}}['_handleLeaveEvent'](_0x1006d9){const _0x524f7f=_0x38c3ff,{memberID:_0x549ee9,unitIDs:_0x25bbf5}=_0x1006d9;_0x25bbf5['forEach'](_0x4c4176=>{const _0x574a05=_0x4762;var _0xc3525e;const _0x31fedc=this[_0x574a05(0x264)][_0x574a05(0x585)](_0x4c4176);_0x31fedc&&(_0x31fedc[_0x574a05(0x1d0)](_0x549ee9),(_0xc3525e=this[_0x574a05(0x1a3)](_0x4c4176))==null||_0xc3525e[_0x574a05(0x4c4)](_0x31fedc[_0x574a05(0x311)]===0x0?0x0:0x1));}),this[_0x524f7f(0x2fe)](_0x549ee9);}['_handleHeartbeatEvent'](_0xf8aed5){const _0x317d33=_0x38c3ff;this['_scheduleClearOtherTimer'](_0xf8aed5[_0x317d33(0x3a6)]);}['_send'](_0x4f52f5){const _0x5b930a=_0x38c3ff;localStorage[_0x5b930a(0x43c)](Lt,JSON[_0x5b930a(0x3e4)](_0x4f52f5));}[_0x38c3ff(0x228)](){const _0x38967b=_0x38c3ff;this[_0x38967b(0x26f)]=window[_0x38967b(0x60d)](()=>{const _0x21b81a=_0x38967b;this[_0x21b81a(0x526)]({'type':0x2,'memberID':this[_0x21b81a(0x31c)]});},Nt);}[_0x38c3ff(0x1a3)](_0x45a427){const _0x247bb7=_0x38c3ff;return this[_0x247bb7(0x4c5)][_0x247bb7(0x599)](_0x45a427)||this['_unitStatus']['set'](_0x45a427,new A['BehaviorSubject'](0x0)),this['_unitStatus'][_0x247bb7(0x585)](_0x45a427);}}var Di=Object[_0x38c3ff(0x1c1)],wi=Object['getOwnPropertyDescriptor'],Pi=(_0x459f58,_0x505648,_0x2423de,_0x554a00)=>{const _0x18468a=_0x38c3ff;for(var _0x33ce1d=_0x554a00>0x1?void 0x0:_0x554a00?wi(_0x505648,_0x2423de):_0x505648,_0xdb495f=_0x459f58[_0x18468a(0x58c)]-0x1,_0x470083;_0xdb495f>=0x0;_0xdb495f--)(_0x470083=_0x459f58[_0xdb495f])&&(_0x33ce1d=(_0x554a00?_0x470083(_0x505648,_0x2423de,_0x33ce1d):_0x470083(_0x33ce1d))||_0x33ce1d);return _0x554a00&&_0x33ce1d&&Di(_0x505648,_0x2423de,_0x33ce1d),_0x33ce1d;},et=(_0x5592b9,_0xb7cd63)=>(_0x380da3,_0x2f86d8)=>_0xb7cd63(_0x380da3,_0x2f86d8,_0x5592b9);let We=class{constructor(_0x317213,_0x30e7ff,_0x28bed5){const _0x5dec6a=_0x38c3ff;this[_0x5dec6a(0x3b6)]=_0x317213,this[_0x5dec6a(0x267)]=_0x30e7ff,this[_0x5dec6a(0x5ca)]=_0x28bed5;}['transformStateCache'](_0x29ac88){const _0x3bc300=_0x38c3ff;this[_0x3bc300(0x4cc)](_0x29ac88);}['transformRemoteChangeset'](_0x57675f){const _0x1293db=_0x38c3ff,{unitID:_0x5c5814}=_0x57675f,{collaboration:_0x308419}=this['_docStateChangeManagerService'][_0x1293db(0x5da)](_0x5c5814);if(_0x308419['length']===0x0)return _0x57675f;let _0x24d3da=a[_0x1293db(0x24a)][_0x1293db(0x25b)](_0x57675f[_0x1293db(0x1cd)][0x0]);for(let _0x18d3a2=0x0;_0x18d3a2<_0x308419[_0x1293db(0x58c)];_0x18d3a2++){const _0x2cefea={'id':_0x1293db(0x354),'params':{'unitId':_0x308419[_0x18d3a2][_0x1293db(0x492)],..._0x308419[_0x18d3a2]['redoState']}},_0x242a8f=this[_0x1293db(0x267)][_0x1293db(0x634)](_0x24d3da,_0x2cefea,!0x1);if(S[_0x1293db(0x446)](_0x242a8f))throw _0x242a8f['error'];_0x24d3da=_0x242a8f[_0x1293db(0x30e)];}return{...a[_0x1293db(0x24a)][_0x1293db(0x25b)](_0x57675f),'mutations':[_0x24d3da]};}[_0x38c3ff(0x4cc)](_0x17f958){const _0x2278d4=_0x38c3ff,{unitID:_0x16fd97}=_0x17f958,{history:_0x1f7250,collaboration:_0x45c783}=this['_docStateChangeManagerService'][_0x2278d4(0x5da)](_0x16fd97);if(_0x1f7250[_0x2278d4(0x58c)]===0x0&&_0x45c783[_0x2278d4(0x58c)]===0x0)return;const _0x4b8c21=[],_0x177638=[];let _0x527404=a[_0x2278d4(0x24a)][_0x2278d4(0x25b)](_0x17f958['mutations'][0x0]),_0x58a178=a[_0x2278d4(0x24a)]['deepClone'](_0x17f958[_0x2278d4(0x1cd)][0x0]);for(let _0x1a8854=_0x1f7250[_0x2278d4(0x58c)]-0x1;_0x1a8854>=0x0;_0x1a8854--){const _0x2a35a1={'id':_0x2278d4(0x354),'params':{'unitId':_0x1f7250[_0x1a8854][_0x2278d4(0x492)],..._0x1f7250[_0x1a8854][_0x2278d4(0x507)]}},_0x231609={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f7250[_0x1a8854][_0x2278d4(0x492)],..._0x1f7250[_0x1a8854][_0x2278d4(0x292)]}},_0x44b905=this[_0x2278d4(0x267)][_0x2278d4(0x634)](_0x527404,_0x2a35a1,!0x1),_0x3fbc42=this['_transformService']['transformMutation'](_0x58a178,_0x231609,!0x1);if(S[_0x2278d4(0x446)](_0x44b905))throw _0x44b905[_0x2278d4(0x55e)];if(S[_0x2278d4(0x446)](_0x3fbc42))throw _0x3fbc42['error'];_0x4b8c21[_0x2278d4(0x5a5)]({..._0x1f7250[_0x1a8854],'undoState':_0x44b905[_0x2278d4(0x41f)][_0x2278d4(0x595)],'redoState':_0x3fbc42[_0x2278d4(0x41f)]['params']}),_0x527404=_0x44b905[_0x2278d4(0x30e)],_0x58a178=_0x3fbc42[_0x2278d4(0x30e)];}_0x527404=a[_0x2278d4(0x24a)]['deepClone'](_0x17f958[_0x2278d4(0x1cd)][0x0]),_0x58a178=a[_0x2278d4(0x24a)][_0x2278d4(0x25b)](_0x17f958[_0x2278d4(0x1cd)][0x0]);for(let _0x2e5ac5=_0x45c783[_0x2278d4(0x58c)]-0x1;_0x2e5ac5>=0x0;_0x2e5ac5--){const _0x10075b={'id':_0x2278d4(0x354),'params':{'unitId':_0x45c783[_0x2e5ac5]['unitId'],..._0x45c783[_0x2e5ac5]['undoState']}},_0xc8dc32={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c783[_0x2e5ac5][_0x2278d4(0x492)],..._0x45c783[_0x2e5ac5][_0x2278d4(0x292)]}},_0x4d48eb=this[_0x2278d4(0x267)]['transformMutation'](_0x527404,_0x10075b,!0x1),_0x1f4e07=this['_transformService'][_0x2278d4(0x634)](_0x58a178,_0xc8dc32,!0x1);if(S['isTransformMutationFailure'](_0x4d48eb))throw _0x4d48eb[_0x2278d4(0x55e)];if(S['isTransformMutationFailure'](_0x1f4e07))throw _0x1f4e07['error'];_0x177638[_0x2278d4(0x5a5)]({..._0x45c783[_0x2e5ac5],'undoState':_0x4d48eb[_0x2278d4(0x41f)][_0x2278d4(0x595)],'redoState':_0x1f4e07[_0x2278d4(0x41f)][_0x2278d4(0x595)]}),_0x527404=_0x4d48eb[_0x2278d4(0x30e)],_0x58a178=_0x1f4e07[_0x2278d4(0x30e)];}this[_0x2278d4(0x5ca)][_0x2278d4(0x46e)](_0x16fd97,{'history':_0x4b8c21,'collaboration':_0x177638});}};We=Pi([et(0x0,a['Inject'](a[_0x38c3ff(0x50e)])),et(0x1,S['ITransformService']),et(0x2,a[_0x38c3ff(0x2af)](J['DocStateChangeManagerService']))],We);function dn(_0x337c89){const _0x14ff8b=_0x38c3ff;let _0x498574='';for(const _0x468da3 of _0x337c89){const {startOffset:_0x3cb87c,endOffset:_0x382d9a,isActive:_0xc22e14,rangeType:_0x4737eb,segmentId:_0x4f58c7,segmentPage:_0x5c9f2a}=_0x468da3;_0x498574[_0x14ff8b(0x58c)]&&(_0x498574+=','),_0x498574+=_0x3cb87c+':'+_0x382d9a+':'+(_0xc22e14?'1':'0')+':'+_0x4737eb+':'+_0x4f58c7+':'+_0x5c9f2a;}return _0x498574;}function Ui(_0x3030d8){const _0x10cbad=_0x38c3ff,_0x5b200e=_0x3030d8[_0x10cbad(0x368)](','),_0x219af3=[];for(const _0x2accb4 of _0x5b200e){const [_0xf16d02,_0x54fc59,_0x417bda,_0x4c4bee,_0x109103,_0x1a9829]=_0x2accb4['split'](':');_0x219af3[_0x10cbad(0x473)]({'startOffset':Number(_0xf16d02),'endOffset':Number(_0x54fc59),'collapsed':_0xf16d02===_0x54fc59,'isActive':_0x417bda==='1','rangeType':_0x4c4bee===a[_0x10cbad(0x2ec)][_0x10cbad(0x33c)]?a['DOC_RANGE_TYPE'][_0x10cbad(0x33c)]:a[_0x10cbad(0x2ec)][_0x10cbad(0x248)],'segmentId':typeof _0x109103==_0x10cbad(0x53c)?String(_0x109103):'','segmentPage':Number(_0x1a9829!=null?_0x1a9829:-0x1)});}return _0x219af3['some'](_0x48748f=>_0x48748f[_0x10cbad(0x2f5)])||(_0x219af3[0x0][_0x10cbad(0x2f5)]=!0x0),_0x219af3;}class Rt extends a['RxDisposable']{constructor(){const _0xfe6704=_0x38c3ff;super(...arguments),I(this,_0xfe6704(0x4de),new A[(_0xfe6704(0x4fc))](null)),I(this,_0xfe6704(0x305),this['_collabCursorState$'][_0xfe6704(0x4a7)]());}['syncEditingCollabCursor'](_0xfd037c){const _0x4badbe=_0x38c3ff,{unitID:_0x353874,memberID:_0xd4bb15,textRanges:_0x37dcc9}=_0xfd037c,_0x47270a=dn(_0x37dcc9);if(_0x47270a==='')return;const _0x22f810={'unitID':_0x353874,'memberID':_0xd4bb15,'selection':_0x47270a};this[_0x4badbe(0x4de)][_0x4badbe(0x4c4)](_0x22f810);}}var Mi=Object[_0x38c3ff(0x1c1)],Ai=Object[_0x38c3ff(0x336)],Ni=(_0x133775,_0x5d3dae,_0x477dc6,_0x4a80c8)=>{const _0x28ad04=_0x38c3ff;for(var _0x44d65d=_0x4a80c8>0x1?void 0x0:_0x4a80c8?Ai(_0x5d3dae,_0x477dc6):_0x5d3dae,_0x188774=_0x133775[_0x28ad04(0x58c)]-0x1,_0x5db4de;_0x188774>=0x0;_0x188774--)(_0x5db4de=_0x133775[_0x188774])&&(_0x44d65d=(_0x4a80c8?_0x5db4de(_0x5d3dae,_0x477dc6,_0x44d65d):_0x5db4de(_0x44d65d))||_0x44d65d);return _0x4a80c8&&_0x44d65d&&Mi(_0x5d3dae,_0x477dc6,_0x44d65d),_0x44d65d;},xt=(_0x4ec40b,_0x42f37b)=>(_0x486840,_0x10d377)=>_0x42f37b(_0x486840,_0x10d377,_0x4ec40b);let Fe=class{constructor(_0x103471,_0x57e3e4){const _0x2915b2=_0x38c3ff;this[_0x2915b2(0x3b6)]=_0x103471,this[_0x2915b2(0x267)]=_0x57e3e4;}[_0x38c3ff(0x265)](_0x600e0a){const _0x3c6d0f=_0x38c3ff;var _0x683667;const _0x195667=this[_0x3c6d0f(0x3b6)][_0x3c6d0f(0x585)](ye['DocSelectionManagerService']),_0x166faf=(_0x683667=_0x195667['getDocRanges']())!=null?_0x683667:[];if(_0x166faf[_0x3c6d0f(0x58c)]===0x0)return;const _0x417cd7=_0x600e0a[_0x3c6d0f(0x364)],_0x2af171=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x417cd7,'actions':null,'textRanges':_0x166faf}}],_0x58f8a6=this[_0x3c6d0f(0x267)]['transformMutationsWithChangeset'](_0x600e0a,_0x2af171);if(!S[_0x3c6d0f(0x38b)](_0x58f8a6))throw _0x58f8a6[_0x3c6d0f(0x55e)];const _0x7ea7a6=_0x58f8a6[_0x3c6d0f(0x41f)][0x0][_0x3c6d0f(0x595)][_0x3c6d0f(0x4fd)];Array[_0x3c6d0f(0x32a)](_0x7ea7a6)&&_0x7ea7a6[_0x3c6d0f(0x58c)]&&_0x195667[_0x3c6d0f(0x60b)](_0x7ea7a6,{'unitId':_0x417cd7,'subUnitId':_0x417cd7},!0x1);}};Fe=Ni([xt(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),xt(0x1,S['ITransformService'])],Fe);const Li=new Set([k[_0x38c3ff(0x54f)]['id']]);function jt(_0x1ee2c2,_0x325be8,_0x2e4065,_0x36ea0c,_0x178353){const _0xcc9465=_0x38c3ff;var _0x54e5b3,_0x4ae70e,_0x523107,_0x5e7263;const _0x15d6c3=[];for(const _0x3d1e22 of _0x1ee2c2)if(Li[_0xcc9465(0x599)](_0x3d1e22['id'])){if(_0x15d6c3[_0xcc9465(0x58c)]>0x0)break;_0x15d6c3[_0xcc9465(0x473)](_0x3d1e22);break;}else _0x15d6c3['push'](_0x3d1e22);const _0x13b8cb=(_0x4ae70e=(_0x54e5b3=_0x178353['getCurrentUser']())==null?void 0x0:_0x54e5b3[_0xcc9465(0x2bf)])!=null?_0x4ae70e:_0xcc9465(0x50f),_0x26f7c9=(_0x5e7263=(_0x523107=_0x178353[_0xcc9465(0x35a)]())==null?void 0x0:_0x523107[_0xcc9465(0x3a6)])!=null?_0x5e7263:_0xcc9465(0x50f);return{'changeset':{'unitID':_0x325be8,'type':S[_0xcc9465(0x5e9)](_0x2e4065[_0xcc9465(0x309)](_0x325be8)),'baseRev':_0x36ea0c[_0xcc9465(0x451)](_0x325be8),'revision':0x0,'userID':_0x13b8cb,'memberID':_0x26f7c9,'mutations':_0x15d6c3},'pendingMutations':_0x1ee2c2[_0xcc9465(0x56a)](_0x15d6c3[_0xcc9465(0x58c)])};}function xi(_0xb85e31,_0x1d5503,_0x4ab7eb,_0x240c0d,_0x369c65){const _0x3b5294=_0x38c3ff;var _0x59a659,_0xae9ef8,_0x6b080f,_0x3b5d3c;const _0x1273ab=[_0xb85e31['reduce']((_0x5d30c3,_0x303e36)=>{const _0xd4c369=_0x4762;var _0x4574f0;const {id:_0x112420}=_0x5d30c3,{id:_0x294847,type:_0x1b99c0}=_0x303e36,_0x2c1054=(_0x4574f0=_0x5d30c3['params'])!=null?_0x4574f0:{'actions':null},_0x5bb1ff=_0x303e36[_0xd4c369(0x595)];if(_0x112420&&_0x112420!==_0x294847)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x112420+_0xd4c369(0x41c)+_0x294847+'.');return{..._0x5d30c3,'id':_0x294847,'type':_0x1b99c0,'params':{'unitId':_0x5bb1ff[_0xd4c369(0x492)],'textRanges':_0x5bb1ff[_0xd4c369(0x4fd)],'actions':a[_0xd4c369(0x391)][_0xd4c369(0x549)](_0x2c1054[_0xd4c369(0x1c8)],_0x5bb1ff[_0xd4c369(0x1c8)])}};},{})],_0x228633=(_0xae9ef8=(_0x59a659=_0x369c65[_0x3b5294(0x35a)]())==null?void 0x0:_0x59a659[_0x3b5294(0x2bf)])!=null?_0xae9ef8:_0x3b5294(0x50f),_0x108bf6=(_0x3b5d3c=(_0x6b080f=_0x369c65[_0x3b5294(0x35a)]())==null?void 0x0:_0x6b080f['memberID'])!=null?_0x3b5d3c:'unknown';return{'changeset':{'unitID':_0x1d5503,'type':S['mapDocumentTypeToUniverType'](_0x4ab7eb[_0x3b5294(0x309)](_0x1d5503)),'baseRev':_0x240c0d['getCurrentRevOfUnit'](_0x1d5503),'revision':0x0,'userID':_0x228633,'memberID':_0x108bf6,'mutations':_0x1273ab},'pendingMutations':[]};}function fn(_0x12bc73,_0x456271){const _0x9382c0=_0x38c3ff,_0x3b3a43=new A[(_0x9382c0(0x1bd))](0x1);return setTimeout(()=>_0x3b3a43[_0x9382c0(0x4c4)](_0x456271),_0x12bc73),_0x3b3a43[_0x9382c0(0x4a7)]()[_0x9382c0(0x57b)](A[_0x9382c0(0x3f1)](0x1));}const ji={'id':k[_0x38c3ff(0x367)]['id'],'type':a[_0x38c3ff(0x301)][_0x38c3ff(0x4d4)],'params':{}};var $i=Object['defineProperty'],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x24b21c,_0xecf473,_0x10f540,_0x253bd0)=>{const _0x38800a=_0x38c3ff;for(var _0xfdde7f=_0x253bd0>0x1?void 0x0:_0x253bd0?Hi(_0xecf473,_0x10f540):_0xecf473,_0x4b0cc7=_0x24b21c[_0x38800a(0x58c)]-0x1,_0xb0d0ce;_0x4b0cc7>=0x0;_0x4b0cc7--)(_0xb0d0ce=_0x24b21c[_0x4b0cc7])&&(_0xfdde7f=(_0x253bd0?_0xb0d0ce(_0xecf473,_0x10f540,_0xfdde7f):_0xb0d0ce(_0xfdde7f))||_0xfdde7f);return _0x253bd0&&_0xfdde7f&&$i(_0xecf473,_0x10f540,_0xfdde7f),_0xfdde7f;},N=(_0x326d97,_0x263462)=>(_0x59023b,_0x5fea7a)=>_0x263462(_0x59023b,_0x5fea7a,_0x326d97),q=(_0x1b30cd=>(_0x1b30cd[_0x38c3ff(0x1a1)]=_0x38c3ff(0x2c3),_0x1b30cd['SYNCED']=_0x38c3ff(0x4ec),_0x1b30cd[_0x38c3ff(0x426)]=_0x38c3ff(0x64d),_0x1b30cd[_0x38c3ff(0x575)]=_0x38c3ff(0x2dc),_0x1b30cd[_0x38c3ff(0x535)]=_0x38c3ff(0x29f),_0x1b30cd['FETCH_MISS']=_0x38c3ff(0x587),_0x1b30cd[_0x38c3ff(0x348)]=_0x38c3ff(0x614),_0x1b30cd[_0x38c3ff(0x33f)]=_0x38c3ff(0x647),_0x1b30cd))(q||{});const vn=0xea60;class Ce{constructor(_0x43fa0d,_0x4d9ccb,_0x3b0528,_0xd9d4df,_0x23cc83,_0x593a53,_0x306039,_0x4ac914,_0x965ecd){const _0x5c10df=_0x38c3ff;I(this,_0x5c10df(0x4a6),null),I(this,_0x5c10df(0x34c),[]),(this['unitID']=_0x43fa0d,this[_0x5c10df(0x42a)]=_0x4d9ccb,this[_0x5c10df(0x288)]=_0x23cc83,this[_0x5c10df(0x4f6)]=_0x593a53,this[_0x5c10df(0x3f8)]=_0x306039,this[_0x5c10df(0x26b)]=_0x4ac914,this[_0x5c10df(0x2ac)]=_0x965ecd,this[_0x5c10df(0x4a6)]=_0x3b0528,this[_0x5c10df(0x34c)]=_0xd9d4df);}[_0x38c3ff(0x20f)](_0x49cc44){const _0x45910b=_0x38c3ff,_0x46e7a8=this[_0x45910b(0x26b)][_0x45910b(0x451)](this[_0x45910b(0x364)]);return _0x49cc44[_0x45910b(0x623)]>_0x46e7a8+0x1?(this[_0x45910b(0x288)]['onMissingChangesets']({'from':_0x46e7a8,'to':_0x49cc44[_0x45910b(0x623)]-0x1}),!0x0):!0x1;}[_0x38c3ff(0x295)](_0x3f2013){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x3f2013);}[_0x38c3ff(0x1b7)](_0x3bf1ea){const _0x410978=_0x38c3ff;var _0x2a53b5,_0x2f7462;(_0x2f7462=(_0x2a53b5=this[_0x410978(0x288)])[_0x410978(0x60a)])==null||_0x2f7462[_0x410978(0x420)](_0x2a53b5,_0x3bf1ea);}['_transformIMECache'](_0x1c26e3){const _0x26f35c=_0x38c3ff;var _0x51c98f,_0x3b348d;return(_0x3b348d=(_0x51c98f=this[_0x26f35c(0x288)])[_0x26f35c(0x505)])==null?void 0x0:_0x3b348d[_0x26f35c(0x420)](_0x51c98f,_0x1c26e3);}[_0x38c3ff(0x5c1)](_0x1dafad){const _0x18fa66=_0x38c3ff;var _0x346fdc,_0x29b9e4;return(_0x29b9e4=(_0x346fdc=this[_0x18fa66(0x288)])[_0x18fa66(0x4b3)])==null?void 0x0:_0x29b9e4[_0x18fa66(0x420)](_0x346fdc,_0x1dafad);}[_0x38c3ff(0x534)](_0x5c7b85){const _0x38a6dd=_0x38c3ff;var _0x547e6e,_0x371f09,_0x332220;return(_0x332220=(_0x371f09=(_0x547e6e=this[_0x38a6dd(0x288)])[_0x38a6dd(0x2d2)])==null?void 0x0:_0x371f09[_0x38a6dd(0x420)](_0x547e6e,_0x5c7b85))!=null?_0x332220:_0x5c7b85;}['_transformRemoteChangesetByStateCache'](_0x27fd62){const _0x56d137=_0x38c3ff;var _0x551c10,_0x3c5f78,_0x41503a;return(_0x41503a=(_0x3c5f78=(_0x551c10=this[_0x56d137(0x288)])[_0x56d137(0x506)])==null?void 0x0:_0x3c5f78[_0x56d137(0x420)](_0x551c10,_0x27fd62))!=null?_0x41503a:_0x27fd62;}['_syncEditingCollabCursor'](_0x309d66){const _0x11d7ef=_0x38c3ff;var _0x3e8d63,_0x191bbd;if(this['type']===ie[_0x11d7ef(0x649)]){const {unitID:_0xa332d5,mutations:_0x4b04e6,memberID:_0x89e10e}=_0x309d66,_0x38f310=_0x4b04e6[0x0]['params']['textRanges'];Array[_0x11d7ef(0x32a)](_0x38f310)&&_0x38f310['length']>0x0&&((_0x191bbd=(_0x3e8d63=this[_0x11d7ef(0x288)])[_0x11d7ef(0x200)])==null||_0x191bbd['call'](_0x3e8d63,{'unitID':_0xa332d5,'memberID':_0x89e10e,'textRanges':_0x38f310}));}}['_updateLocalCache'](){const _0x453906=_0x38c3ff;this[_0x453906(0x2ac)][_0x453906(0x3f6)](this['unitID'],this[_0x453906(0x42a)],this['_awaitingChangeset'],this[_0x453906(0x34c)]);}[_0x38c3ff(0x539)](){const _0x38db58=_0x38c3ff;return this[_0x38db58(0x26b)][_0x38db58(0x451)](this['unitID']);}['_incrementRevisionNumber'](){const _0x5a6fd7=_0x38c3ff;this[_0x5a6fd7(0x26b)][_0x5a6fd7(0x20b)](this[_0x5a6fd7(0x364)]);}[_0x38c3ff(0x32f)](_0x308505){const _0x6984de=_0x38c3ff;var _0x4f15dd;let _0x1898a7=this[_0x6984de(0x534)](_0x308505);_0x1898a7=this[_0x6984de(0x257)](_0x1898a7);const _0x51fb2e=a[_0x6984de(0x5a3)](_0x1898a7[_0x6984de(0x1cd)],this['_commandService'],{'fromCollab':!0x0});if(!_0x51fb2e['result'])throw _0x51fb2e[_0x6984de(0x55e)]instanceof Error?_0x51fb2e[_0x6984de(0x55e)]:new Error((_0x4f15dd=_0x51fb2e[_0x6984de(0x55e)])!=null?_0x4f15dd:_0x6984de(0x5d9));this[_0x6984de(0x3ed)](_0x1898a7),this[_0x6984de(0x5c1)](_0x1898a7),this[_0x6984de(0x295)](_0x308505),this[_0x6984de(0x1b7)](_0x1898a7),this[_0x6984de(0x321)](_0x1898a7),this[_0x6984de(0x298)]();}}let Oe=class extends Ce{constructor(_0xd867d9,_0x297fa2,_0x5781bf,_0x16aff7,_0x95c4a0,_0x1209a5,_0x4c1da9,_0xbbfa29,_0x66a316,_0x553136){const _0x18247f=_0x38c3ff;super(_0xd867d9,_0x297fa2,null,[],_0x5781bf,_0xbbfa29,_0x4c1da9,_0x16aff7,_0x95c4a0),I(this,_0x18247f(0x2b7),_0x18247f(0x4ec)),(this[_0x18247f(0x3b6)]=_0x1209a5,this[_0x18247f(0x4ce)]=_0x66a316,this[_0x18247f(0x267)]=_0x553136);}[_0x38c3ff(0x47d)](_0x24a55e){const _0x33fdd9=_0x38c3ff,_0x534b9c=this[_0x33fdd9(0x3b6)][_0x33fdd9(0x447)](ce,this[_0x33fdd9(0x364)],this[_0x33fdd9(0x42a)],[_0x24a55e],this[_0x33fdd9(0x288)]);return _0x534b9c['_schedule'](),_0x534b9c[_0x33fdd9(0x3f3)](),_0x534b9c;}[_0x38c3ff(0x1a0)](_0x218340){const _0x4c1975=_0x38c3ff;if(this[_0x4c1975(0x20f)](_0x218340))return this[_0x4c1975(0x3b6)][_0x4c1975(0x447)](re,this[_0x4c1975(0x364)],this[_0x4c1975(0x42a)],null,[],null,[_0x218340],this['_handler']);try{const _0x375287=this[_0x4c1975(0x267)][_0x4c1975(0x4be)](_0x218340,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x375287)){const {c1Prime:_0x5dbe26}=_0x375287;return this[_0x4c1975(0x32f)](_0x5dbe26),this;}throw _0x375287[_0x4c1975(0x55e)];}catch(_0x16d82d){return this['_logService'][_0x4c1975(0x55e)](_0x16d82d),this[_0x4c1975(0x205)](!0x1);}}['_onConflict'](_0x34f162){const _0x4f8214=_0x38c3ff;return this[_0x4f8214(0x3b6)]['createInstance'](ve,this[_0x4f8214(0x364)],this['type'],null,[],this[_0x4f8214(0x288)],_0x34f162);}[_0x38c3ff(0x625)](){const _0x492426=_0x38c3ff;throw new Error(_0x492426(0x61f));}[_0x38c3ff(0x218)](){const _0xeb9272=_0x38c3ff;throw new Error(_0xeb9272(0x622));}['onRemoteRetry'](){return this;}[_0x38c3ff(0x300)](){const _0x517b8d=_0x38c3ff;return this[_0x517b8d(0x3b6)][_0x517b8d(0x447)](me,this[_0x517b8d(0x364)],this['type'],null,[],this[_0x517b8d(0x288)]);}[_0x38c3ff(0x4b2)](){return this;}[_0x38c3ff(0x412)](){const _0x41299b=_0x38c3ff;throw new Error(_0x41299b(0x520));}[_0x38c3ff(0x23c)](){const _0x361a16=_0x38c3ff,_0x331590=this[_0x361a16(0x26b)][_0x361a16(0x451)](this[_0x361a16(0x364)]);return this['_handler'][_0x361a16(0x30a)]({'from':_0x331590,'to':0x0}),this[_0x361a16(0x3b6)]['createInstance'](re,this[_0x361a16(0x364)],this[_0x361a16(0x42a)],null,[],null,[],this[_0x361a16(0x288)]);}};Oe=Ie([N(0x3,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),N(0x4,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x5,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),N(0x6,a[_0x38c3ff(0x1bc)]),N(0x7,a['ICommandService']),N(0x8,a[_0x38c3ff(0x626)]),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x323ed3,_0x1e5d97,_0x36ecce,_0x305375,_0x4d4929,_0x272e8e,_0x9cbd2d,_0x44617e,_0x76a9e1,_0x3d5481,_0x2fcb8e,_0x2e41d2,_0x10c05f,_0x804f06){const _0x1a039e=_0x38c3ff;super(_0x323ed3,_0x1e5d97,null,_0x36ecce,_0x305375,_0x3d5481,_0x804f06,_0x272e8e,_0x9cbd2d),I(this,'status','pending'),I(this,_0x1a039e(0x33b),null),I(this,_0x1a039e(0x463),null),(this['_injector']=_0x4d4929,this[_0x1a039e(0x1aa)]=_0x44617e,this[_0x1a039e(0x4ce)]=_0x76a9e1,this[_0x1a039e(0x1f5)]=_0x2fcb8e,this[_0x1a039e(0x267)]=_0x2e41d2,this['_univerInstanceService']=_0x10c05f);}[_0x38c3ff(0x47d)](_0x40141e){const _0x3d3082=_0x38c3ff;return this[_0x3d3082(0x34c)][_0x3d3082(0x473)](_0x40141e),this[_0x3d3082(0x3f3)](),this;}[_0x38c3ff(0x1a0)](_0x10d215){const _0x504dd8=_0x38c3ff;if(this[_0x504dd8(0x20f)](_0x10d215))return this[_0x504dd8(0x513)](),this['_injector'][_0x504dd8(0x447)](re,this[_0x504dd8(0x364)],this[_0x504dd8(0x42a)],null,this[_0x504dd8(0x34c)],null,[_0x10d215],this[_0x504dd8(0x288)]);try{const _0x5db72d=this[_0x504dd8(0x267)][_0x504dd8(0x4be)](_0x10d215,this['_pendingMutations']);if(S['isTransformMutationsWithChangesetSuccess'](_0x5db72d)){const {c1Prime:_0x2dbba0,m2Prime:_0x46356a}=_0x5db72d;this[_0x504dd8(0x32f)](_0x2dbba0);const _0x166074=this['_injector'][_0x504dd8(0x447)](ce,this[_0x504dd8(0x364)],this[_0x504dd8(0x42a)],_0x46356a,this[_0x504dd8(0x288)]);return this[_0x504dd8(0x513)](),_0x166074[_0x504dd8(0x540)](this['_scheduleTimestamp']?Math[_0x504dd8(0x4e4)](0x0,new Date()[_0x504dd8(0x1cb)]()-this['_scheduleTimestamp']):this[_0x504dd8(0x544)]()),_0x166074;}throw _0x5db72d[_0x504dd8(0x55e)];}catch(_0x301821){return this['_logService'][_0x504dd8(0x55e)](_0x301821),this['_onConflict'](!0x1);}}[_0x38c3ff(0x625)](){const _0x48a815=_0x38c3ff;throw new Error(_0x48a815(0x2cd));}[_0x38c3ff(0x218)](){const _0x34fdfa=_0x38c3ff;throw new Error(_0x34fdfa(0x3fc));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x1dbc4e=_0x38c3ff;return this[_0x1dbc4e(0x513)](),this[_0x1dbc4e(0x3b6)][_0x1dbc4e(0x447)](me,this['unitID'],this[_0x1dbc4e(0x42a)],null,this['_pendingMutations'],this[_0x1dbc4e(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x540)](_0x3f04f6){const _0x406e90=_0x38c3ff,_0x1a2cb9=_0x3f04f6!=null?_0x3f04f6:this[_0x406e90(0x544)]();this['_scheduleTimestamp']=new Date()[_0x406e90(0x1cb)](),this['_sendingTimer']=window[_0x406e90(0x3bb)](()=>{const _0x21bc69=_0x406e90;this[_0x21bc69(0x513)]();let _0x5f4608=null;switch(this['type']){case ie[_0x21bc69(0x23d)]:{_0x5f4608=jt(this[_0x21bc69(0x34c)],this['unitID'],this['_univerInstanceService'],this[_0x21bc69(0x26b)],this[_0x21bc69(0x1aa)]);break;}case ie[_0x21bc69(0x649)]:{this[_0x21bc69(0x34c)][_0x21bc69(0x318)](_0x32c6f3=>_0x32c6f3['id']===ye['RichTextEditingMutation']['id'])?_0x5f4608=xi(this['_pendingMutations'],this[_0x21bc69(0x364)],this[_0x21bc69(0x393)],this['_revisionService'],this[_0x21bc69(0x1aa)]):_0x5f4608=jt(this[_0x21bc69(0x34c)],this[_0x21bc69(0x364)],this[_0x21bc69(0x393)],this[_0x21bc69(0x26b)],this[_0x21bc69(0x1aa)]);break;}default:throw new Error(_0x21bc69(0x509)+this[_0x21bc69(0x42a)]+_0x21bc69(0x3d0));}const {changeset:_0x2110f9,pendingMutations:_0x2aff6b}=_0x5f4608;this['_handler'][_0x21bc69(0x64a)](_0x2110f9);const _0x5a0ef4=_0x2aff6b[_0x21bc69(0x58c)]?this['_injector'][_0x21bc69(0x447)](le,this[_0x21bc69(0x364)],this[_0x21bc69(0x42a)],_0x2110f9,_0x2aff6b,this[_0x21bc69(0x288)],void 0x0):this[_0x21bc69(0x3b6)]['createInstance'](fe,this[_0x21bc69(0x364)],this[_0x21bc69(0x42a)],_0x2110f9,this[_0x21bc69(0x288)]);_0x5a0ef4[_0x21bc69(0x3f3)](),this[_0x21bc69(0x288)][_0x21bc69(0x1ff)](this,_0x5a0ef4);},_0x1a2cb9);}['_getSendChangesetTimeout'](){const _0x20de3a=_0x38c3ff;var _0x24722b;const _0x37c952=this['_configService'][_0x20de3a(0x556)](te);return(_0x24722b=_0x37c952==null?void 0x0:_0x37c952['sendChangesetTimeout'])!=null?_0x24722b:kn;}[_0x38c3ff(0x412)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x392174=_0x38c3ff;this[_0x392174(0x463)]!=null&&(clearTimeout(this[_0x392174(0x463)]),this[_0x392174(0x463)]=null);}[_0x38c3ff(0x205)](_0x5a5591){const _0x351e0f=_0x38c3ff;return this[_0x351e0f(0x513)](),this[_0x351e0f(0x3b6)][_0x351e0f(0x447)](ve,this[_0x351e0f(0x364)],this[_0x351e0f(0x42a)],null,this[_0x351e0f(0x34c)],this['_handler'],_0x5a5591);}};ce=Ie([N(0x4,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x5,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x6,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0x7,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),N(0x8,a[_0x38c3ff(0x626)]),N(0x9,a['ICommandService']),N(0xa,a[_0x38c3ff(0x326)]),N(0xb,S[_0x38c3ff(0x3cc)]),N(0xc,a[_0x38c3ff(0x2a8)]),N(0xd,a[_0x38c3ff(0x1bc)])],ce);let fe=class extends Ce{constructor(_0x5f03cc,_0x5d2ae8,_0x822ffe,_0x4660bf,_0x50b457,_0x26a16d,_0x50c1ea,_0x4c0db0,_0x145b9d,_0x13d82e,_0x1c643d){const _0x1d40b6=_0x38c3ff;super(_0x5f03cc,_0x5d2ae8,_0x822ffe,[],_0x4660bf,_0x4c0db0,_0x1c643d,_0x26a16d,_0x50c1ea),I(this,_0x1d40b6(0x2b7),_0x1d40b6(0x2dc)),I(this,_0x1d40b6(0x3b0),0x0),I(this,_0x1d40b6(0x2f9)),I(this,_0x1d40b6(0x317)),(this[_0x1d40b6(0x3b6)]=_0x50b457,this[_0x1d40b6(0x4ce)]=_0x145b9d,this[_0x1d40b6(0x267)]=_0x13d82e);}[_0x38c3ff(0x47d)](_0x136175){const _0x1c060d=_0x38c3ff;this[_0x1c060d(0x513)]();const _0x43032a=this[_0x1c060d(0x3b6)][_0x1c060d(0x447)](le,this['unitID'],this[_0x1c060d(0x42a)],this['_awaitingChangeset'],[_0x136175],this[_0x1c060d(0x288)],this[_0x1c060d(0x2f9)]);return _0x43032a['_updateLocalCache'](),_0x43032a;}['onRemoteChangeset'](_0x3222f1){const _0x680aa2=_0x38c3ff;if(this['_checkMissing'](_0x3222f1))return this[_0x680aa2(0x513)](),this[_0x680aa2(0x3b6)]['createInstance'](re,this[_0x680aa2(0x364)],this[_0x680aa2(0x42a)],this[_0x680aa2(0x4a6)],[],null,[_0x3222f1],this[_0x680aa2(0x288)]);try{const _0x575156=this[_0x680aa2(0x267)][_0x680aa2(0x2f7)]([_0x3222f1],[this[_0x680aa2(0x4a6)]],!0x1);if(S[_0x680aa2(0x3ee)](_0x575156)){const {c1Prime:_0x57158f,c2Prime:_0x232729}=_0x575156;this[_0x680aa2(0x32f)](_0x57158f[0x0]),_0x232729[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x680aa2(0x513)]();const _0x8062e6=this[_0x680aa2(0x3b6)][_0x680aa2(0x447)](fe,this['unitID'],this[_0x680aa2(0x42a)],_0x232729[0x0],this[_0x680aa2(0x288)]);return _0x8062e6[_0x680aa2(0x3f3)](),_0x8062e6;}return this[_0x680aa2(0x205)](!0x1);}catch(_0x3d312b){return this[_0x680aa2(0x4ce)][_0x680aa2(0x55e)](_0x3d312b),this[_0x680aa2(0x205)](!0x1);}}[_0x38c3ff(0x625)](_0x2c32ad){const _0x46d1c8=_0x38c3ff;this[_0x46d1c8(0x513)]();const _0x460939=this[_0x46d1c8(0x26b)][_0x46d1c8(0x451)](this['unitID']);if(_0x2c32ad[_0x46d1c8(0x623)]<_0x460939-0x1)return this;if(this[_0x46d1c8(0x20f)](_0x2c32ad))return this[_0x46d1c8(0x3b6)]['createInstance'](re,this[_0x46d1c8(0x364)],this['type'],null,[],this[_0x46d1c8(0x4a6)],[],this['_handler']);this[_0x46d1c8(0x298)]();const _0xe14499=this['_injector'][_0x46d1c8(0x447)](Oe,this[_0x46d1c8(0x364)],this['type'],this[_0x46d1c8(0x288)]);return _0xe14499[_0x46d1c8(0x3f3)](),_0xe14499;}[_0x38c3ff(0x218)](_0x362876){const _0xf14502=_0x38c3ff;return this[_0xf14502(0x205)](!!(_0x362876!=null&&_0x362876[_0xf14502(0x4bc)]));}[_0x38c3ff(0x2f8)](_0x2385de){const _0x5b410e=_0x38c3ff;return this[_0x5b410e(0x3b0)]>vn?this['toggleOffline']():(this[_0x5b410e(0x2f9)]=fn(this[_0x5b410e(0x3b0)],{'timeout':this[_0x5b410e(0x3b0)],'reqId':_0x2385de[_0x5b410e(0x1e8)]}),this[_0x5b410e(0x317)]=this[_0x5b410e(0x2f9)][_0x5b410e(0x47b)](({reqId:_0x1ecf75,timeout:_0x2abcc5})=>{const _0x472ab8=_0x5b410e;this[_0x472ab8(0x606)](_0x1ecf75,_0x2abcc5);}),this);}[_0x38c3ff(0x300)](){const _0x417224=_0x38c3ff;return this[_0x417224(0x513)](),this['_injector'][_0x417224(0x447)](me,this[_0x417224(0x364)],this[_0x417224(0x42a)],this[_0x417224(0x4a6)],[],this[_0x417224(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x412)](){const _0x3668d6=_0x38c3ff;this[_0x3668d6(0x288)][_0x3668d6(0x64a)](this[_0x3668d6(0x4a6)]);}[_0x38c3ff(0x205)](_0x5bc851){const _0x47e98d=_0x38c3ff;return this[_0x47e98d(0x513)](),this['_injector'][_0x47e98d(0x447)](ve,this['unitID'],this['type'],this[_0x47e98d(0x4a6)],[],this[_0x47e98d(0x288)],_0x5bc851);}[_0x38c3ff(0x606)](_0x552782,_0x50d0ef){const _0x2ac3a2=_0x38c3ff;var _0x6e933e;_0x552782===((_0x6e933e=this[_0x2ac3a2(0x4a6)])==null?void 0x0:_0x6e933e[_0x2ac3a2(0x1e8)])&&(this[_0x2ac3a2(0x412)](),this[_0x2ac3a2(0x3b0)]=_0x50d0ef===0x0?0x3e8:_0x50d0ef*0x2);}['_clearScheduledTask'](){const _0x5c6632=_0x38c3ff;var _0xdade4;(_0xdade4=this[_0x5c6632(0x317)])==null||_0xdade4[_0x5c6632(0x25d)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x38c3ff(0x2af)](a['Injector'])),N(0x5,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x6,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0x7,a['ICommandService']),N(0x8,a['ILogService']),N(0x9,S[_0x38c3ff(0x3cc)]),N(0xa,a[_0x38c3ff(0x1bc)])],fe);let le=class extends Ce{constructor(_0x3f0686,_0x10b6a4,_0xce7aae,_0x47c743,_0xa55bcb,_0x326207,_0x21464c,_0x301a1c,_0x20eb36,_0x4343f5,_0x16f11a,_0x285da7,_0x198b00){const _0xddc3ab=_0x38c3ff;super(_0x3f0686,_0x10b6a4,_0xce7aae,_0x47c743,_0xa55bcb,_0x4343f5,_0x198b00,_0x301a1c,_0x20eb36),I(this,'status','awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,_0xddc3ab(0x2f9)),I(this,_0xddc3ab(0x317)),(this[_0xddc3ab(0x3b6)]=_0x21464c,this[_0xddc3ab(0x4ce)]=_0x16f11a,this[_0xddc3ab(0x267)]=_0x285da7,_0x326207&&(this['_resendTimer']=_0x326207,this[_0xddc3ab(0x317)]=this['_resendTimer'][_0xddc3ab(0x47b)](({reqId:_0x5694de,timeout:_0x26f458})=>{this['_resendWithTimeout'](_0x5694de,_0x26f458);})));}['appendMutation'](_0x204250){const _0x197451=_0x38c3ff;return this[_0x197451(0x34c)][_0x197451(0x473)](_0x204250),this;}[_0x38c3ff(0x1a0)](_0x3b96dd){const _0x547c30=_0x38c3ff;if(this[_0x547c30(0x20f)](_0x3b96dd))return this[_0x547c30(0x513)](),this[_0x547c30(0x3b6)][_0x547c30(0x447)](re,this['unitID'],this[_0x547c30(0x42a)],this[_0x547c30(0x4a6)],this[_0x547c30(0x34c)],null,[_0x3b96dd],this['_handler']);try{const _0x16199d=this[_0x547c30(0x267)][_0x547c30(0x2f7)]([_0x3b96dd],[this['_awaitingChangeset']],!0x1);if(S[_0x547c30(0x3ee)](_0x16199d)){const {c1Prime:_0x5f4e48,c2Prime:_0x27f32c}=_0x16199d,_0xdcce19=this['_transformService'][_0x547c30(0x4be)](_0x5f4e48[0x0],this['_pendingMutations']);if(S[_0x547c30(0x38b)](_0xdcce19)){const {c1Prime:_0x14369b,m2Prime:_0xc29797}=_0xdcce19;return this['_executeRemoteChangeset'](_0x14369b),_0x27f32c[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x547c30(0x513)](),this[_0x547c30(0x3b6)][_0x547c30(0x447)](le,this[_0x547c30(0x364)],this[_0x547c30(0x42a)],_0x27f32c[0x0],_0xc29797,this[_0x547c30(0x288)],void 0x0);}throw _0xdcce19[_0x547c30(0x55e)];}throw _0x16199d['error'];}catch(_0x35424b){return this[_0x547c30(0x4ce)][_0x547c30(0x55e)](_0x35424b),this[_0x547c30(0x205)](!0x1);}}[_0x38c3ff(0x625)](_0xd1632f){const _0x1fd15a=_0x38c3ff;if(this['_clearScheduledTask'](),this[_0x1fd15a(0x20f)](_0xd1632f))return this[_0x1fd15a(0x3b6)][_0x1fd15a(0x447)](re,this[_0x1fd15a(0x364)],this[_0x1fd15a(0x42a)],null,this['_pendingMutations'],this[_0x1fd15a(0x4a6)],[],this[_0x1fd15a(0x288)]);this[_0x1fd15a(0x298)]();const _0x59c3a5=this[_0x1fd15a(0x3b6)][_0x1fd15a(0x447)](ce,this[_0x1fd15a(0x364)],this[_0x1fd15a(0x42a)],this['_pendingMutations'],this['_handler']);return _0x59c3a5[_0x1fd15a(0x540)](),_0x59c3a5[_0x1fd15a(0x3f3)](),_0x59c3a5;}[_0x38c3ff(0x218)](_0x577514){const _0x5009a4=_0x38c3ff;return this[_0x5009a4(0x205)](!!(_0x577514!=null&&_0x577514[_0x5009a4(0x4bc)]));}[_0x38c3ff(0x2f8)](_0x20316f){const _0x259a26=_0x38c3ff;return this['_resendTimeout']>vn?this[_0x259a26(0x300)]():(this[_0x259a26(0x2f9)]=fn(this['_resendTimeout'],{'timeout':this[_0x259a26(0x3b0)],'reqId':_0x20316f[_0x259a26(0x1e8)]}),this[_0x259a26(0x317)]=this[_0x259a26(0x2f9)][_0x259a26(0x47b)](({reqId:_0x3691c2,timeout:_0x351279})=>{this['_resendWithTimeout'](_0x3691c2,_0x351279);}),this);}['toggleOffline'](){const _0x44a10e=_0x38c3ff;return this[_0x44a10e(0x513)](),this[_0x44a10e(0x3b6)]['createInstance'](me,this[_0x44a10e(0x364)],this[_0x44a10e(0x42a)],this[_0x44a10e(0x4a6)],this[_0x44a10e(0x34c)],this['_handler']);}[_0x38c3ff(0x4b2)](){return this;}['resend'](){const _0x494e71=_0x38c3ff;this[_0x494e71(0x288)][_0x494e71(0x64a)](this[_0x494e71(0x4a6)]);}[_0x38c3ff(0x205)](_0x2cdddf){const _0x2c32d4=_0x38c3ff;return this[_0x2c32d4(0x513)](),this[_0x2c32d4(0x3b6)][_0x2c32d4(0x447)](ve,this[_0x2c32d4(0x364)],this[_0x2c32d4(0x42a)],null,this[_0x2c32d4(0x34c)],this[_0x2c32d4(0x288)],_0x2cdddf);}[_0x38c3ff(0x606)](_0x4fa73a,_0x1c01e6){const _0x4913cd=_0x38c3ff;var _0x59e104;_0x4fa73a===((_0x59e104=this[_0x4913cd(0x4a6)])==null?void 0x0:_0x59e104[_0x4913cd(0x1e8)])&&(this[_0x4913cd(0x412)](),this[_0x4913cd(0x3b0)]=_0x1c01e6===0x0?0x3e8:_0x1c01e6*0x2);}[_0x38c3ff(0x513)](){const _0x477c60=_0x38c3ff;var _0x2342da;(_0x2342da=this[_0x477c60(0x317)])==null||_0x2342da[_0x477c60(0x25d)](),this[_0x477c60(0x3b0)]=0x0;}};le=Ie([N(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),N(0x7,a['Inject'](S['RevisionService'])),N(0x8,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x9,a[_0x38c3ff(0x439)]),N(0xa,a[_0x38c3ff(0x626)]),N(0xb,S[_0x38c3ff(0x3cc)]),N(0xc,a[_0x38c3ff(0x1bc)])],le);let ve=class extends Ce{constructor(_0x1292c2,_0x2938e9,_0x2be1eb,_0x247cfc,_0x30a552,_0x1d5f16=!0x1,_0x15add3,_0x2284c1,_0x20f536,_0x239b0d,_0x405d8e,_0x470ade,_0x2572c7){const _0x11738d=_0x38c3ff;super(_0x1292c2,_0x2938e9,_0x2be1eb,_0x247cfc,_0x30a552,_0x2284c1,_0x20f536,_0x405d8e,_0x239b0d),I(this,_0x11738d(0x2b7),'conflict'),(this['_isPermissionRej']=_0x1d5f16,this['_permissionService']=_0x15add3,this[_0x11738d(0x203)]=_0x470ade,this[_0x11738d(0x29a)]=_0x2572c7,this[_0x11738d(0x5f9)](),this[_0x11738d(0x310)](),this['_disableEditing']());}[_0x38c3ff(0x47d)](){return this;}[_0x38c3ff(0x1a0)](){return this;}[_0x38c3ff(0x625)](){return this;}[_0x38c3ff(0x218)](){return this;}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){return this;}[_0x38c3ff(0x4b2)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38c3ff(0x310)](){const _0x186d03=_0x38c3ff;this[_0x186d03(0x2ac)][_0x186d03(0x3f6)](this['unitID'],this['type'],null,[]);}[_0x38c3ff(0x5f9)](){const _0x44d448=_0x38c3ff;this[_0x44d448(0x4c8)]?this[_0x44d448(0x29a)][_0x44d448(0x37c)]({'title':this[_0x44d448(0x203)]['t'](_0x44d448(0x35f)),'content':this[_0x44d448(0x203)]['t'](_0x44d448(0x247)),'type':_0x44d448(0x55e),'duration':0x0}):this[_0x44d448(0x29a)][_0x44d448(0x37c)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x44d448(0x203)]['t'](_0x44d448(0x3ae)),'type':'error','duration':0x0});}[_0x38c3ff(0x62d)](){const _0x53c148=_0x38c3ff;this[_0x53c148(0x54b)]['updatePermissionPoint'](new k[(_0x53c148(0x38f))](this['unitID'])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x38c3ff(0x421)])),N(0x7,a['ICommandService']),N(0x8,a[_0x38c3ff(0x1bc)]),N(0x9,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0xa,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),N(0xb,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),N(0xc,ee[_0x38c3ff(0x36e)])],ve);let me=class extends Ce{constructor(_0x244256,_0x3f2212,_0x2f7517,_0x45ad42,_0x336474,_0x136502,_0x58434e,_0x2b465e,_0x19015f,_0x4dfd73){const _0x19fee0=_0x38c3ff;super(_0x244256,_0x3f2212,_0x2f7517,_0x45ad42,_0x336474,_0x19015f,_0x4dfd73,_0x58434e,_0x2b465e),I(this,_0x19fee0(0x2b7),_0x19fee0(0x647)),this[_0x19fee0(0x3b6)]=_0x136502;}[_0x38c3ff(0x47d)](_0x57a41c){const _0x984993=_0x38c3ff;return this[_0x984993(0x34c)][_0x984993(0x473)](_0x57a41c),this[_0x984993(0x3f3)](),this;}[_0x38c3ff(0x1a0)](_0x55355f){const _0x13d441=_0x38c3ff;throw new Error(_0x13d441(0x2de));}['onRemoteAck'](){const _0x410c24=_0x38c3ff;throw new Error(_0x410c24(0x29c));}[_0x38c3ff(0x218)](){const _0x10259b=_0x38c3ff;throw new Error(_0x10259b(0x428));}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){return this;}[_0x38c3ff(0x4b2)](){const _0x1c886b=_0x38c3ff,{_injector:_0x165c38,_pendingMutations:_0x304ba7,_awaitingChangeset:_0x3177c0,unitID:_0x2d64ee,_handler:_0x59e266,type:_0x58e1fe}=this,_0x37396c=mn(_0x165c38,_0x2d64ee,_0x58e1fe,_0x3177c0,_0x304ba7,_0x59e266);return _0x37396c instanceof ce?_0x37396c['_schedule']():(_0x37396c instanceof le||_0x37396c instanceof fe)&&_0x37396c[_0x1c886b(0x412)](),_0x37396c;}[_0x38c3ff(0x412)](){const _0x1bdd28=_0x38c3ff;throw new Error(_0x1bdd28(0x1b1));}};me=Ie([N(0x5,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x6,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x7,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x8,a[_0x38c3ff(0x439)]),N(0x9,a[_0x38c3ff(0x1bc)])],me);let re=class extends Ce{constructor(_0x246b6c,_0xcf84ea,_0x47f76b,_0x2418dd,_0x4f1497,_0x4bccb3,_0x44fc3b,_0x2a521e,_0x325cdc,_0x546fb3,_0xca5a17,_0x26af46,_0x118254,_0x35f8f6){const _0xf2341e=_0x38c3ff;super(_0x246b6c,_0xcf84ea,_0x47f76b,_0x2418dd,_0x44fc3b,_0x26af46,_0x118254,_0x325cdc,_0x546fb3),I(this,'status',_0xf2341e(0x587)),(this[_0xf2341e(0x3d5)]=_0x4f1497,this[_0xf2341e(0x5f8)]=_0x4bccb3,this[_0xf2341e(0x3b6)]=_0x2a521e,this[_0xf2341e(0x4ce)]=_0xca5a17,this['_transformService']=_0x35f8f6);}[_0x38c3ff(0x632)](_0x25ee4c){const _0x34c615=_0x38c3ff;try{const _0x388f3f=[..._0x25ee4c,...this[_0x34c615(0x5f8)]],_0x2048e0=[this[_0x34c615(0x4a6)]||this[_0x34c615(0x3d5)]][_0x34c615(0x576)](_0x1d451c=>!!_0x1d451c);let _0x378981,_0xe8a46b;if(_0x2048e0[_0x34c615(0x58c)]){const _0x2cce72=this['_transformService'][_0x34c615(0x2f7)](_0x388f3f,_0x2048e0,!0x1);if(!S['isTransformChangesetsSuccess'](_0x2cce72))throw _0x2cce72[_0x34c615(0x55e)];_0x378981=_0x2cce72[_0x34c615(0x521)],_0xe8a46b=_0x2cce72['c2Prime'];}else _0x378981=_0x388f3f,_0xe8a46b=[];let _0x5172fb=this[_0x34c615(0x34c)];_0x378981[_0x34c615(0x2d8)](_0x283b08=>{const _0x3ed213=_0x34c615;let _0x1868df;if(_0x5172fb[_0x3ed213(0x58c)]){const _0x3156ef=this[_0x3ed213(0x267)]['transformMutationsWithChangeset'](_0x283b08,_0x5172fb);if(!S[_0x3ed213(0x38b)](_0x3156ef))throw _0x3156ef['error'];_0x1868df=_0x3156ef[_0x3ed213(0x521)],_0x5172fb=_0x3156ef['m2Prime'];}else _0x1868df=_0x283b08;this[_0x3ed213(0x32f)](_0x1868df);}),this[_0x34c615(0x3d5)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xe8a46b['length']&&(_0xe8a46b[0x0][_0x34c615(0x45e)]=this[_0x34c615(0x539)]());let _0x2f7a7a;if(this[_0x34c615(0x4a6)]&&_0x5172fb['length']!==0x0)_0x2f7a7a=this['_injector']['createInstance'](le,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0xe8a46b[0x0],_0x5172fb,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x5172fb[_0x34c615(0x58c)]===0x0)_0xe8a46b[0x0]['baseRev']=this[_0x34c615(0x539)](),_0x2f7a7a=this[_0x34c615(0x3b6)][_0x34c615(0x447)](fe,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0xe8a46b[0x0],this[_0x34c615(0x288)]);else{if(_0x5172fb[_0x34c615(0x58c)]!==0x0){const _0x23c52d=this[_0x34c615(0x3b6)][_0x34c615(0x447)](ce,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0x5172fb,this[_0x34c615(0x288)]);_0x23c52d[_0x34c615(0x540)](),_0x2f7a7a=_0x23c52d;}else _0x2f7a7a=this['_injector']['createInstance'](Oe,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],this[_0x34c615(0x288)]);}}return _0x2f7a7a[_0x34c615(0x3f3)](),_0x2f7a7a;}catch(_0x17476d){return this[_0x34c615(0x4ce)][_0x34c615(0x55e)](_0x34c615(0x25f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x17476d),this[_0x34c615(0x3b6)]['createInstance'](ve,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],this[_0x34c615(0x4a6)],this[_0x34c615(0x34c)],this[_0x34c615(0x288)],!0x1);}}['resend'](){const _0xb99cba=_0x38c3ff;throw new Error(_0xb99cba(0x260));}[_0x38c3ff(0x47d)](_0x1157ce){const _0x5807c1=_0x38c3ff;return this[_0x5807c1(0x34c)][_0x5807c1(0x473)](_0x1157ce),this;}[_0x38c3ff(0x1a0)](_0x963969){const _0x178924=_0x38c3ff;return this[_0x178924(0x5f8)][_0x178924(0x473)](_0x963969),this;}[_0x38c3ff(0x625)](_0x7ec3ef){const _0x592209=_0x38c3ff;if(this[_0x592209(0x4a6)])return this[_0x592209(0x3d5)]=this[_0x592209(0x4a6)],this[_0x592209(0x4a6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1895e1){const _0x1d92ca=_0x38c3ff;return this[_0x1d92ca(0x205)](!!(_0x1895e1!=null&&_0x1895e1['isPermissionRej']));}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){const _0x36fa51=_0x38c3ff;return this[_0x36fa51(0x3b6)][_0x36fa51(0x447)](me,this[_0x36fa51(0x364)],this[_0x36fa51(0x42a)],this['_awaitingChangeset'],this[_0x36fa51(0x34c)],this[_0x36fa51(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x205)](_0x3892c6){const _0x2467cd=_0x38c3ff;return this[_0x2467cd(0x3b6)][_0x2467cd(0x447)](ve,this[_0x2467cd(0x364)],this[_0x2467cd(0x42a)],this[_0x2467cd(0x4a6)],this[_0x2467cd(0x34c)],this['_handler'],_0x3892c6);}};re=Ie([N(0x7,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x8,a['Inject'](S[_0x38c3ff(0x3cb)])),N(0x9,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),N(0xa,a[_0x38c3ff(0x626)]),N(0xb,a[_0x38c3ff(0x439)]),N(0xc,a[_0x38c3ff(0x1bc)]),N(0xd,S['ITransformService'])],re);function mn(_0x1c28bc,_0x25200b,_0x478d95,_0x3133dc,_0x158cc0,_0x30a714){const _0xf29f4e=_0x38c3ff;return _0x3133dc&&_0x158cc0[_0xf29f4e(0x58c)]?_0x1c28bc['createInstance'](le,_0x25200b,_0x478d95,_0x3133dc,_0x158cc0,_0x30a714,void 0x0):_0x3133dc?_0x1c28bc[_0xf29f4e(0x447)](fe,_0x25200b,_0x478d95,_0x3133dc,_0x30a714):_0x158cc0[_0xf29f4e(0x58c)]?_0x1c28bc[_0xf29f4e(0x447)](ce,_0x25200b,_0x478d95,_0x158cc0,_0x30a714):_0x1c28bc[_0xf29f4e(0x447)](Oe,_0x25200b,_0x478d95,_0x30a714);}var Bi=Object['defineProperty'],ki=Object[_0x38c3ff(0x336)],yt=(_0x26cde1,_0x72d436,_0x3a5571,_0x577ed3)=>{const _0x183d99=_0x38c3ff;for(var _0x2e387b=_0x577ed3>0x1?void 0x0:_0x577ed3?ki(_0x72d436,_0x3a5571):_0x72d436,_0x458624=_0x26cde1[_0x183d99(0x58c)]-0x1,_0x314342;_0x458624>=0x0;_0x458624--)(_0x314342=_0x26cde1[_0x458624])&&(_0x2e387b=(_0x577ed3?_0x314342(_0x72d436,_0x3a5571,_0x2e387b):_0x314342(_0x2e387b))||_0x2e387b);return _0x577ed3&&_0x2e387b&&Bi(_0x72d436,_0x3a5571,_0x2e387b),_0x2e387b;},H=(_0x25c987,_0x2e557f)=>(_0x2c9a4b,_0x1356ba)=>_0x2e557f(_0x2c9a4b,_0x1356ba,_0x25c987);exports['CollaborationEntity']=class extends a[_0x38c3ff(0x22c)]{constructor(_0x5263b3,_0x5f0afa,_0x5a96c4,_0x564ef2,_0x2ecf2d,_0x128778,_0x448110,_0x2b257b,_0x287821,_0x23db75,_0x598b69,_0x54bdb0,_0x32ed3f){const _0x32ad71=_0x38c3ff;super(),I(this,_0x32ad71(0x572),new A[(_0x32ad71(0x4fc))](null)),I(this,'state$',this[_0x32ad71(0x572)][_0x32ad71(0x4a7)]()),I(this,_0x32ad71(0x1d3)),I(this,_0x32ad71(0x658),!0x1),I(this,'_changesetSessionId',''),I(this,'_changesetReqId',0x0),I(this,'status$',this['state$'][_0x32ad71(0x57b)](A[_0x32ad71(0x4d7)](_0x52f7c7=>_0x52f7c7?_0x52f7c7['status']:q[_0x32ad71(0x33f)]),A['shareReplay'](0x1))),I(this,_0x32ad71(0x2cb),!0x1),I(this,_0x32ad71(0x219),[]),(this[_0x32ad71(0x364)]=_0x5263b3,this[_0x32ad71(0x429)]=_0x5f0afa,this[_0x32ad71(0x5b0)]=_0x5a96c4,this[_0x32ad71(0x3b6)]=_0x564ef2,this[_0x32ad71(0x2ac)]=_0x2ecf2d,this['_compressMutationService']=_0x128778,this[_0x32ad71(0x203)]=_0x448110,this[_0x32ad71(0x26b)]=_0x2b257b,this['_logService']=_0x287821,this['_commandService']=_0x23db75,this[_0x32ad71(0x385)]=_0x598b69,this[_0x32ad71(0x54b)]=_0x54bdb0,this[_0x32ad71(0x302)]=_0x32ed3f);}get[_0x38c3ff(0x220)](){const _0x113130=_0x38c3ff;return this[_0x113130(0x1d3)];}async[_0x38c3ff(0x475)](){const _0x33ff62=_0x38c3ff;if(this[_0x33ff62(0x220)])throw new Error(_0x33ff62(0x38a));await this[_0x33ff62(0x596)]();}[_0x38c3ff(0x55d)](){const _0x59c09e=_0x38c3ff;return this[_0x59c09e(0x658)]=!0x0,a[_0x59c09e(0x2c7)](()=>{const _0x481d0a=_0x59c09e;this[_0x481d0a(0x658)]=!0x1,this[_0x481d0a(0x548)]();});}[_0x38c3ff(0x554)](_0x37cad0){const _0x238233=_0x38c3ff;this['_state']=_0x37cad0,this[_0x238233(0x572)]['next'](_0x37cad0);}async[_0x38c3ff(0x596)](){const _0x362df2=_0x38c3ff;var _0x4823ad;this[_0x362df2(0x554)](await this[_0x362df2(0x5a9)]()),this[_0x362df2(0x302)]&&((_0x4823ad=this['_singleActiveUnitService'])==null||_0x4823ad[_0x362df2(0x357)](this[_0x362df2(0x364)]),this[_0x362df2(0x4bd)](this[_0x362df2(0x302)][_0x362df2(0x5c0)](this[_0x362df2(0x364)])['subscribe'](_0x454b26=>{const _0xcd41d0=_0x362df2;this[_0xcd41d0(0x4ce)][_0xcd41d0(0x405)](_0xcd41d0(0x339),_0xcd41d0(0x620),_0x454b26),_0x454b26===un[_0xcd41d0(0x424)]?(this[_0xcd41d0(0x385)]['show']({'content':this['_localeService']['t'](_0xcd41d0(0x37b)),'type':ge[_0xcd41d0(0x312)][_0xcd41d0(0x42b)]}),this[_0xcd41d0(0x54b)][_0xcd41d0(0x568)](new k[(_0xcd41d0(0x38f))](this[_0xcd41d0(0x364)])['id'],!0x1),this[_0xcd41d0(0x54b)][_0xcd41d0(0x1ac)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k[(_0xcd41d0(0x38f))](this[_0xcd41d0(0x364)])['id'],!0x0),this[_0xcd41d0(0x54b)][_0xcd41d0(0x1ac)](!0x0));})));let _0x515369=!0x1;return this['disposeWithMe'](this[_0x362df2(0x429)][_0x362df2(0x31f)][_0x362df2(0x47b)](_0x3481f6=>{const _0x452afe=_0x362df2;_0x3481f6===se[_0x452afe(0x1b4)]?this[_0x452afe(0x299)](_0x515369):_0x3481f6===se[_0x452afe(0x33f)]&&(_0x515369=!0x0,this[_0x452afe(0x465)]());})),this['disposeWithMe'](this[_0x362df2(0x429)]['event$'][_0x362df2(0x47b)](_0x3af6f0=>{const _0x4f18e0=_0x362df2;try{switch(_0x3af6f0[_0x4f18e0(0x2bd)]){case S[_0x4f18e0(0x201)][_0x4f18e0(0x5ec)]:{this[_0x4f18e0(0x477)](S[_0x4f18e0(0x5f2)](_0x3af6f0[_0x4f18e0(0x2e1)]));break;}case S['CollaborationEvent']['CHANGESET_ACK']:{this[_0x4f18e0(0x488)](_0x3af6f0[_0x4f18e0(0x2e1)]);break;}case S[_0x4f18e0(0x201)]['CHANGESET_REJ']:{this[_0x4f18e0(0x542)]();break;}case S['CollaborationEvent'][_0x4f18e0(0x57e)]:{this['_onRemoteRetry'](_0x3af6f0['data']);break;}case S[_0x4f18e0(0x201)][_0x4f18e0(0x406)]:{this[_0x4f18e0(0x2b4)](_0x3af6f0[_0x4f18e0(0x2e1)]['changesets']['map'](_0x3f9bfb=>S[_0x4f18e0(0x5f2)](_0x3f9bfb)));break;}case S[_0x4f18e0(0x201)][_0x4f18e0(0x35d)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x4e668b){throw console['error']('Error\x20on\x20receiving\x20event',_0x4e668b),_0x4e668b;}})),this[_0x362df2(0x1d3)];}[_0x38c3ff(0x1c4)](){const _0x43c6c5=_0x38c3ff;this[_0x43c6c5(0x2cb)]=!0x1;}[_0x38c3ff(0x45a)](){const _0x35e639=_0x38c3ff;if(this[_0x35e639(0x2cb)])throw new Error(_0x35e639(0x409));this[_0x35e639(0x2cb)]=!0x0;}['_onLocalMutation'](_0x3e63da){const _0xf5c7e9=_0x38c3ff;this[_0xf5c7e9(0x45a)](),this['_updateState'](this['_state'][_0xf5c7e9(0x47d)](_0x3e63da)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x543a1c){const _0xbf307b=_0x38c3ff;if(!(_0x543a1c[_0xbf307b(0x623)]<=this[_0xbf307b(0x26b)]['getCurrentRevOfUnit'](this[_0xbf307b(0x364)]))){if(this['_collaborationPaused']){this[_0xbf307b(0x219)][_0xbf307b(0x473)](_0x543a1c);return;}this['_applyRemoteChangeset'](_0x543a1c);}}[_0x38c3ff(0x548)](){const _0x51863a=_0x38c3ff;this[_0x51863a(0x219)][_0x51863a(0x2d8)](_0x2e90bb=>this[_0x51863a(0x2d9)](_0x2e90bb)),this[_0x51863a(0x219)]=[];}[_0x38c3ff(0x2d9)](_0x540a39){const _0x3af4d1=_0x38c3ff,_0x33f482=this[_0x3af4d1(0x41b)][_0x3af4d1(0x22f)]['fetchThroughInterceptors'](this[_0x3af4d1(0x41b)][_0x3af4d1(0x22f)][_0x3af4d1(0x1fe)]()[_0x3af4d1(0x34f)])(_0x540a39['mutations'],null)||_0x540a39[_0x3af4d1(0x1cd)],_0x39bedc={..._0x540a39,'mutations':_0x33f482};this[_0x3af4d1(0x45a)](),this[_0x3af4d1(0x554)](this[_0x3af4d1(0x1d3)]['onRemoteChangeset'](_0x39bedc)),this[_0x3af4d1(0x1c4)]();}[_0x38c3ff(0x488)](_0x1b4413){const _0x4343e5=_0x38c3ff;this['_lockTransition'](),this[_0x4343e5(0x554)](this[_0x4343e5(0x1d3)]['onRemoteAck'](_0x1b4413)),this[_0x4343e5(0x1c4)]();}['_onRemoteRejected'](_0x1db494){const _0x5e5fa0=_0x38c3ff;this[_0x5e5fa0(0x45a)](),this['_updateState'](this[_0x5e5fa0(0x1d3)][_0x5e5fa0(0x218)](_0x1db494)),this['_unlockTransition']();}['_onRemoteRetry'](_0x119094){const _0x456bc4=_0x38c3ff;this[_0x456bc4(0x45a)](),this[_0x456bc4(0x554)](this[_0x456bc4(0x1d3)][_0x456bc4(0x2f8)](_0x119094)),this[_0x456bc4(0x1c4)]();}[_0x38c3ff(0x2b4)](_0x349b8e){const _0x1f30bf=_0x38c3ff;if(!(this[_0x1f30bf(0x1d3)]instanceof re))throw new TypeError(_0x1f30bf(0x2b9));const _0x2de868=_0x349b8e[_0x1f30bf(0x4d7)](_0x4b37f7=>{const _0x346e43=_0x1f30bf,_0x2762ab=this[_0x346e43(0x41b)][_0x346e43(0x22f)][_0x346e43(0x3a8)](this[_0x346e43(0x41b)][_0x346e43(0x22f)][_0x346e43(0x1fe)]()[_0x346e43(0x34f)])(_0x4b37f7['mutations'],null)||_0x4b37f7[_0x346e43(0x1cd)];return{..._0x4b37f7,'mutations':_0x2762ab};});this[_0x1f30bf(0x45a)](),this['_updateState'](this[_0x1f30bf(0x1d3)][_0x1f30bf(0x632)](_0x2de868)),this['_unlockTransition']();}['_toggleOffline'](){const _0x30eb13=_0x38c3ff;this[_0x30eb13(0x45a)](),this[_0x30eb13(0x554)](this[_0x30eb13(0x1d3)][_0x30eb13(0x300)]()),this['_unlockTransition']();}[_0x38c3ff(0x299)](_0x4f939e=!0x1){const _0x70f098=_0x38c3ff;this[_0x70f098(0x45a)](),this[_0x70f098(0x554)](this[_0x70f098(0x1d3)][_0x70f098(0x4b2)]()),this['_unlockTransition']();const _0x363d34=this[_0x70f098(0x1d3)];_0x4f939e&&_0x363d34 instanceof Oe&&(this[_0x70f098(0x45a)](),this['_updateState'](_0x363d34[_0x70f098(0x23c)]()),this[_0x70f098(0x1c4)]());}async[_0x38c3ff(0x5a9)](){return new Promise(_0x2e8a40=>{const _0x196b87=_0x4762;this['session']['sessionStatus$'][_0x196b87(0x57b)](A[_0x196b87(0x3f1)](0x1))['subscribe'](async _0x17e323=>{const _0x5a7aee=_0x196b87;_0x2e8a40(await this[_0x5a7aee(0x225)](_0x17e323===se[_0x5a7aee(0x1b4)]));});});}[_0x38c3ff(0x332)](){const _0x4276a5=this['unitID'];return{'onStateChange':(_0x47e841,_0x4bf399)=>{const _0x29624f=_0x4762;if(_0x47e841!==this[_0x29624f(0x1d3)])throw new Error(_0x29624f(0x322)+_0x47e841[_0x29624f(0x2b7)]+_0x29624f(0x2d1)+_0x4bf399[_0x29624f(0x2b7)]+_0x29624f(0x518)+this['_state'][_0x29624f(0x2b7)]);this[_0x29624f(0x554)](_0x4bf399);},'onSendChangeset':_0x17ee42=>{const _0x2012f3=_0x4762;_0x17ee42[_0x2012f3(0x1d9)]||(_0x17ee42[_0x2012f3(0x1d9)]=this[_0x2012f3(0x249)],_0x17ee42['reqId']=++this[_0x2012f3(0x3ef)]);const _0x31c9fd={'eventID':S[_0x2012f3(0x201)][_0x2012f3(0x512)],'data':{'unitID':_0x17ee42[_0x2012f3(0x364)],'unitType':this[_0x2012f3(0x5b0)],'changeset':_0x17ee42,'memberID':this[_0x2012f3(0x429)][_0x2012f3(0x255)]()}};this['session'][_0x2012f3(0x5bc)](_0x31c9fd,this[_0x2012f3(0x364)]);},'onMissingChangesets':({from:_0x343e69,to:_0xe5d6fe})=>{const _0xcfd1cf=_0x4762;this[_0xcfd1cf(0x4ce)][_0xcfd1cf(0x405)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x343e69+_0xcfd1cf(0x50c)+_0xe5d6fe);const _0x2c7c67={'eventID':S[_0xcfd1cf(0x201)]['FETCH_MISSING'],'data':{'unitID':_0x4276a5,'unitType':this[_0xcfd1cf(0x5b0)],'from':_0x343e69,'to':_0xe5d6fe}};this[_0xcfd1cf(0x429)][_0xcfd1cf(0x5bc)](_0x2c7c67,this[_0xcfd1cf(0x364)]);}};}async[_0x38c3ff(0x225)](_0xc14a62){const _0x40342d=_0x38c3ff;var _0x34de76,_0x1606e9;const _0x4501d4=await this[_0x40342d(0x2ac)][_0x40342d(0x1f2)](this[_0x40342d(0x364)]),_0x1ef694=(_0x34de76=_0x4501d4==null?void 0x0:_0x4501d4[_0x40342d(0x1cd)])!=null?_0x34de76:[],_0x3bc5d7=(_0x1606e9=_0x4501d4==null?void 0x0:_0x4501d4[_0x40342d(0x64b)])!=null?_0x1606e9:null,_0x25f060=!!(_0x3bc5d7!=null&&_0x3bc5d7[_0x40342d(0x1d9)])&&!!(_0x3bc5d7!=null&&_0x3bc5d7[_0x40342d(0x1e8)]);this['_changesetSessionId']=_0x25f060?_0x3bc5d7[_0x40342d(0x1d9)]:mi(),this[_0x40342d(0x3ef)]=_0x25f060?_0x3bc5d7['reqId']:0x0;const _0x5aeab6=this[_0x40342d(0x364)];try{this[_0x40342d(0x1d6)](_0x3bc5d7,_0x1ef694);}catch(_0x414f9f){this[_0x40342d(0x4ce)][_0x40342d(0x55e)](_0x414f9f);}const _0x235eda=this['_createHandler']();if(_0xc14a62){const _0x453b67=mn(this['_injector'],_0x5aeab6,this[_0x40342d(0x5b0)],_0x3bc5d7,_0x1ef694,_0x235eda);return _0x453b67 instanceof ce?_0x453b67[_0x40342d(0x540)]():(_0x453b67 instanceof le||_0x453b67 instanceof fe)&&_0x453b67[_0x40342d(0x412)](),_0x453b67;}return this['_injector'][_0x40342d(0x447)](me,_0x5aeab6,this[_0x40342d(0x5b0)],_0x3bc5d7,_0x1ef694,_0x235eda);}[_0x38c3ff(0x1d6)](_0x463ad2,_0x42427b){const _0x3335bb=_0x38c3ff;var _0x2689fb,_0x30be6b;const _0x52bb69=this[_0x3335bb(0x41b)]['interceptor'][_0x3335bb(0x3a8)](this[_0x3335bb(0x41b)]['interceptor'][_0x3335bb(0x1fe)]()[_0x3335bb(0x34f)]);(_0x2689fb=_0x52bb69((_0x463ad2==null?void 0x0:_0x463ad2[_0x3335bb(0x1cd)])||[],null))==null||_0x2689fb['forEach'](_0x1a32e0=>this[_0x3335bb(0x4f6)][_0x3335bb(0x4fe)](_0x1a32e0['id'],_0x1a32e0['params'])),(_0x30be6b=_0x52bb69(_0x42427b||[],null))==null||_0x30be6b[_0x3335bb(0x2d8)](_0x489e78=>this[_0x3335bb(0x4f6)][_0x3335bb(0x4fe)](_0x489e78['id'],_0x489e78['params']));}},exports[_0x38c3ff(0x486)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),H(0x5,a['Inject'](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a['LocaleService'])),H(0x7,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x626)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a[_0x38c3ff(0x421)]),H(0xc,a[_0x38c3ff(0x5e2)](qe))],exports[_0x38c3ff(0x486)]),exports[_0x38c3ff(0x497)]=class extends exports[_0x38c3ff(0x486)]{constructor(_0x344560,_0x49d892,_0x456395,_0x2fc87c,_0x49d6ba,_0x485aca,_0xdb9879,_0x12e46a,_0x25c333,_0x550d17,_0x54219a,_0x2a43b4,_0x2c335a,_0x3bedcd,_0x3f3a22,_0x4068f2,_0x10348d,_0x10c5ff){const _0x4d72cd=_0x38c3ff;super(_0x344560,_0x456395,_0x49d892,_0x2fc87c,_0x49d6ba,_0x485aca,_0xdb9879,_0x12e46a,_0x3bedcd,_0x3f3a22,_0x4068f2,_0x10348d,_0x10c5ff),this[_0x4d72cd(0x364)]=_0x344560,this['type']=_0x49d892,this['_docStateChangeManagerService']=_0x25c333,this[_0x4d72cd(0x271)]=_0x550d17,this[_0x4d72cd(0x54a)]=_0x54219a,this[_0x4d72cd(0x3d1)]=_0x2a43b4,this[_0x4d72cd(0x37a)]=_0x2c335a;}[_0x38c3ff(0x332)](){const _0x1dae58=_0x38c3ff,_0x200ff6=super['_createHandler']();return _0x200ff6[_0x1dae58(0x505)]=_0x15a3b5=>this[_0x1dae58(0x271)]['transformIMECache'](_0x15a3b5),_0x200ff6['onTransformState']=_0x4d9b05=>this[_0x1dae58(0x54a)]['transformStateCache'](_0x4d9b05),_0x200ff6[_0x1dae58(0x60a)]=_0xf0ecae=>this[_0x1dae58(0x3d1)][_0x1dae58(0x265)](_0xf0ecae),_0x200ff6['onSyncEditingCollabCursor']=_0x13602e=>this[_0x1dae58(0x37a)][_0x1dae58(0x1bf)](_0x13602e),_0x200ff6[_0x1dae58(0x2d2)]=_0x497707=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x497707),_0x200ff6[_0x1dae58(0x506)]=_0x284224=>this[_0x1dae58(0x54a)][_0x1dae58(0x5a7)](_0x284224),_0x200ff6;}async[_0x38c3ff(0x596)](){const _0x2396b4=_0x38c3ff,_0x436c0d=await super[_0x2396b4(0x596)]();return this[_0x2396b4(0x5ca)][_0x2396b4(0x1be)][_0x2396b4(0x57b)](A[_0x2396b4(0x3fb)](this[_0x2396b4(0x5ff)]))[_0x2396b4(0x47b)](_0x387bb7=>{const _0x34decc=_0x2396b4;if(_0x387bb7==null)return;const {unitId:_0x26fdb9,redoState:_0x4da5de,commandId:_0x1b9c5b}=_0x387bb7;if(_0x26fdb9!==this[_0x34decc(0x364)])return;const _0x26a1f7={'id':_0x1b9c5b,'type':a['CommandType'][_0x34decc(0x4d4)],'params':{'unitId':_0x26fdb9,'actions':_0x4da5de[_0x34decc(0x1c8)],'textRanges':null}};this[_0x34decc(0x52c)](_0x26a1f7);}),_0x436c0d;}},exports[_0x38c3ff(0x497)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),H(0x5,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),H(0x7,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x2af)](J[_0x38c3ff(0x5b9)])),H(0x9,a['Inject'](Be)),H(0xa,a['Inject'](We)),H(0xb,a['Inject'](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x38c3ff(0x626)]),H(0xe,a[_0x38c3ff(0x439)]),H(0xf,ee[_0x38c3ff(0x5d6)]),H(0x10,a['IPermissionService']),H(0x11,a[_0x38c3ff(0x5e2)](qe))],exports['DocCollaborationEntity']),exports[_0x38c3ff(0x541)]=class extends exports[_0x38c3ff(0x486)]{constructor(_0x47b71b,_0xb6ea0d,_0x556d53,_0x5c16c4,_0x15de84,_0xb3a5ce,_0x544fef,_0x448f64,_0x263996,_0x1dd72c,_0x25d229,_0x3cdbd4,_0x246a62,_0x3bd9c8){const _0x5b1ec4=_0x38c3ff;super(_0x47b71b,_0x556d53,_0xb6ea0d,_0x5c16c4,_0x15de84,_0xb3a5ce,_0x544fef,_0x448f64,_0x1dd72c,_0x25d229,_0x3cdbd4,_0x246a62,_0x3bd9c8),this[_0x5b1ec4(0x364)]=_0x47b71b,this[_0x5b1ec4(0x42a)]=_0xb6ea0d,this[_0x5b1ec4(0x1ea)]=_0x263996;}['_createHandler'](){const _0x529e7b=_0x38c3ff,_0xa44a95=super[_0x529e7b(0x332)]();return _0xa44a95[_0x529e7b(0x60a)]=_0x1c7810=>this[_0x529e7b(0x1ea)]['transformSelections'](_0x1c7810),_0xa44a95;}async[_0x38c3ff(0x596)](){const _0x21365=_0x38c3ff,_0x463bab=await super[_0x21365(0x596)]();return this[_0x21365(0x4bd)](this[_0x21365(0x4f6)][_0x21365(0x4bb)]((_0xf40e42,_0x2bc423)=>{const _0x4061d7=_0x21365;if(_0xf40e42[_0x4061d7(0x42a)]!==a[_0x4061d7(0x301)][_0x4061d7(0x4d4)]||_0x2bc423!=null&&_0x2bc423[_0x4061d7(0x291)]||_0x2bc423!=null&&_0x2bc423[_0x4061d7(0x2ad)])return;const _0x476222=_0xf40e42['params'];if((_0x476222==null?void 0x0:_0x476222[_0x4061d7(0x492)])!==this[_0x4061d7(0x364)])return;const _0x53d2cc=_0xf40e42,_0x40d279=this[_0x4061d7(0x41b)]['interceptor'][_0x4061d7(0x3a8)](this['_compressMutationService'][_0x4061d7(0x22f)]['getInterceptPoints']()[_0x4061d7(0x330)])([_0x53d2cc],null)||[_0x53d2cc];this[_0x4061d7(0x52c)](_0x40d279[0x0]);})),_0x463bab;}},exports[_0x38c3ff(0x541)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a['Inject'](exports[_0x38c3ff(0x227)])),H(0x5,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),H(0x7,a['Inject'](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x2af)](ke)),H(0x9,a[_0x38c3ff(0x626)]),H(0xa,a['ICommandService']),H(0xb,ee['IMessageService']),H(0xc,a[_0x38c3ff(0x421)]),H(0xd,a[_0x38c3ff(0x5e2)](qe))],exports[_0x38c3ff(0x541)]);var Wi=Object[_0x38c3ff(0x1c1)],Fi=Object[_0x38c3ff(0x336)],Vi=(_0xe03d9e,_0x35df9e,_0x1a63ae,_0x3ab021)=>{const _0x590d4c=_0x38c3ff;for(var _0x508f8d=_0x3ab021>0x1?void 0x0:_0x3ab021?Fi(_0x35df9e,_0x1a63ae):_0x35df9e,_0x58c55e=_0xe03d9e[_0x590d4c(0x58c)]-0x1,_0x433b98;_0x58c55e>=0x0;_0x58c55e--)(_0x433b98=_0xe03d9e[_0x58c55e])&&(_0x508f8d=(_0x3ab021?_0x433b98(_0x35df9e,_0x1a63ae,_0x508f8d):_0x433b98(_0x508f8d))||_0x508f8d);return _0x3ab021&&_0x508f8d&&Wi(_0x35df9e,_0x1a63ae,_0x508f8d),_0x508f8d;},tt=(_0x56bc8f,_0x47282d)=>(_0x441b8f,_0xc63463)=>_0x47282d(_0x441b8f,_0xc63463,_0x56bc8f);exports[_0x38c3ff(0x571)]=class extends a['RxDisposable']{constructor(_0x91e8b,_0x164a8b,_0x48d817){const _0x404e8f=_0x38c3ff;super(),I(this,_0x404e8f(0x325),new Map()),I(this,'_entityInit$',new A[(_0x404e8f(0x3cf))]()),(this[_0x404e8f(0x3b6)]=_0x91e8b,this[_0x404e8f(0x37f)]=_0x164a8b,this['_univerInstanceService']=_0x48d817,this[_0x404e8f(0x596)]());}[_0x38c3ff(0x2da)](){const _0x5efb40=_0x38c3ff;super[_0x5efb40(0x2da)](),this['_entities']['forEach'](_0x4e87f6=>_0x4e87f6[_0x5efb40(0x2da)]()),this[_0x5efb40(0x325)][_0x5efb40(0x372)]();}[_0x38c3ff(0x41a)](_0x492848){const _0x3176a6=_0x38c3ff;var _0x2e5a12;return(_0x2e5a12=this[_0x3176a6(0x325)][_0x3176a6(0x585)](_0x492848))!=null?_0x2e5a12:null;}[_0x38c3ff(0x467)](_0x414260){const _0x3a6e2a=_0x38c3ff,_0x350211=this[_0x3a6e2a(0x41a)](_0x414260);return _0x350211?A['of'](_0x350211):this['_entityInit$'][_0x3a6e2a(0x57b)](V[_0x3a6e2a(0x576)](_0x14c08a=>_0x14c08a['unitID']===_0x414260));}[_0x38c3ff(0x596)](){const _0x42162d=_0x38c3ff;this[_0x42162d(0x393)][_0x42162d(0x23f)](a[_0x42162d(0x27f)][_0x42162d(0x23d)])[_0x42162d(0x57b)](A[_0x42162d(0x3fb)](this[_0x42162d(0x5ff)]),V[_0x42162d(0x636)](0x10))[_0x42162d(0x47b)](async _0x42094c=>{const _0x1c1f3a=_0x42162d,_0x2e10c4=_0x42094c[_0x1c1f3a(0x2ee)](),_0x145647=await this[_0x1c1f3a(0x399)](_0x2e10c4,ie[_0x1c1f3a(0x23d)]);this[_0x1c1f3a(0x325)][_0x1c1f3a(0x3e8)](_0x2e10c4,_0x145647);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x42162d(0x27f)][_0x42162d(0x649)])['pipe'](A['takeUntil'](this[_0x42162d(0x5ff)]),V[_0x42162d(0x636)](0x10))['pipe'](V[_0x42162d(0x576)](_0x1715cb=>!_0x1715cb['getUnitId']()['startsWith']('__')))[_0x42162d(0x47b)](async _0x27d33c=>{const _0x5838de=_0x42162d,_0x42af39=_0x27d33c['getUnitId'](),_0x4960f7=await this[_0x5838de(0x399)](_0x42af39,ie[_0x5838de(0x649)]);this[_0x5838de(0x325)][_0x5838de(0x3e8)](_0x42af39,_0x4960f7);}),A['merge'](this[_0x42162d(0x393)][_0x42162d(0x3bc)](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x42162d(0x27f)][_0x42162d(0x649)]))['pipe'](A[_0x42162d(0x3fb)](this['dispose$']))[_0x42162d(0x47b)](_0x3a34aa=>{const _0x2f280b=_0x42162d,_0x31dffe=_0x3a34aa['getUnitId'](),_0x109ef3=this[_0x2f280b(0x325)]['get'](_0x31dffe);_0x109ef3&&(_0x109ef3[_0x2f280b(0x2da)](),this[_0x2f280b(0x325)][_0x2f280b(0x1d0)](_0x31dffe));});}async['_startCollaboration'](_0x238a5f,_0xf9b966){const _0x46aa71=_0x38c3ff,_0x1707ce=await this[_0x46aa71(0x37f)][_0x46aa71(0x2aa)](_0x238a5f),_0xfc01fc=this[_0x46aa71(0x3b6)]['createInstance'](this['_getCtorByUniverType'](_0xf9b966),_0x238a5f,_0xf9b966,_0x1707ce);return await _0xfc01fc[_0x46aa71(0x475)](),this[_0x46aa71(0x2a3)][_0x46aa71(0x4c4)](_0xfc01fc),_0xfc01fc;}['_getCtorByUniverType'](_0x147edf){const _0x11e805=_0x38c3ff;switch(_0x147edf){case ie['UNIVER_DOC']:return exports[_0x11e805(0x497)];case ie[_0x11e805(0x23d)]:return exports[_0x11e805(0x541)];default:throw new Error(_0x11e805(0x50a)+_0x147edf);}}},exports[_0x38c3ff(0x571)]=Vi([tt(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),tt(0x1,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x1f6)])),tt(0x2,a[_0x38c3ff(0x2a8)])],exports['CollaborationController']);const $t=[_0x38c3ff(0x4b9),_0x38c3ff(0x36f),_0x38c3ff(0x27a),_0x38c3ff(0x1e4),_0x38c3ff(0x1d5),_0x38c3ff(0x22b)];class Ot extends a[_0x38c3ff(0x1a8)]{constructor(){const _0x40004f=_0x38c3ff;super(...arguments),I(this,_0x40004f(0x4fb),new Map()),I(this,'_colorIndex',0x0);}[_0x38c3ff(0x386)](_0x1a1f6e){const _0x191ba8=_0x38c3ff;if(this['_assignedColors'][_0x191ba8(0x599)](_0x1a1f6e))return this[_0x191ba8(0x4fb)][_0x191ba8(0x585)](_0x1a1f6e);const _0xd414b9=$t[this[_0x191ba8(0x57f)]];return this[_0x191ba8(0x57f)]=(this['_colorIndex']+0x1)%$t[_0x191ba8(0x58c)],this['_assignedColors'][_0x191ba8(0x3e8)](_0x1a1f6e,_0xd414b9),_0xd414b9;}}var Gi=Object[_0x38c3ff(0x1c1)],Yi=Object[_0x38c3ff(0x336)],Ki=(_0x266fe6,_0x679b51,_0x41ab2e,_0x173bdc)=>{for(var _0x2caa2c=_0x173bdc>0x1?void 0x0:_0x173bdc?Yi(_0x679b51,_0x41ab2e):_0x679b51,_0x2f8de5=_0x266fe6['length']-0x1,_0x38db91;_0x2f8de5>=0x0;_0x2f8de5--)(_0x38db91=_0x266fe6[_0x2f8de5])&&(_0x2caa2c=(_0x173bdc?_0x38db91(_0x679b51,_0x41ab2e,_0x2caa2c):_0x38db91(_0x2caa2c))||_0x2caa2c);return _0x173bdc&&_0x2caa2c&&Gi(_0x679b51,_0x41ab2e,_0x2caa2c),_0x2caa2c;},Se=(_0x24a181,_0x2da386)=>(_0x158804,_0x2155f1)=>_0x2da386(_0x158804,_0x2155f1,_0x24a181);const qi=0x12c,zi=0x64;let mt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x19a57e,_0xc7dd8e,_0x595af9,_0x50bcf3,_0x1f2a0d,_0x563c1d,_0x35059d,_0x4efd58,_0x4d1dbc){const _0x8309c9=_0x38c3ff;super(),I(this,_0x8309c9(0x416),!0x1),I(this,'_init',!0x1),I(this,_0x8309c9(0x4e8),new A[(_0x8309c9(0x4fc))](new Map())),I(this,_0x8309c9(0x3cd),this[_0x8309c9(0x4e8)]['asObservable']()),I(this,'_roomMembers$',new A[(_0x8309c9(0x4fc))]([])),I(this,_0x8309c9(0x3ad),this[_0x8309c9(0x601)][_0x8309c9(0x57b)](A[_0x8309c9(0x4ca)](qi))),I(this,'_updateLocalCursor',a[_0x8309c9(0x514)](_0x360264=>{const _0x15b423=_0x8309c9,_0x55c2e8={'eventID':S['CollaborationEvent'][_0x15b423(0x46d)],'data':{'unitID':this[_0x15b423(0x364)],'memberID':this[_0x15b423(0x58d)][_0x15b423(0x255)](),'selection':dn(_0x360264)}};this[_0x15b423(0x58d)][_0x15b423(0x5bc)](_0x55c2e8,this[_0x15b423(0x364)]);},zi)),(this['unitID']=_0x19a57e,this[_0x8309c9(0x58d)]=_0xc7dd8e,this[_0x8309c9(0x3b6)]=_0x595af9,this['_colorAssignService']=_0x50bcf3,this[_0x8309c9(0x1aa)]=_0x1f2a0d,this[_0x8309c9(0x1b3)]=_0x563c1d,this[_0x8309c9(0x267)]=_0x35059d,this[_0x8309c9(0x393)]=_0x4efd58,this[_0x8309c9(0x4f6)]=_0x4d1dbc);}get[_0x38c3ff(0x3a2)](){const _0x404097=_0x38c3ff;return this[_0x404097(0x4e8)][_0x404097(0x26d)]();}get[_0x38c3ff(0x3aa)](){const _0x216f03=_0x38c3ff;return this['_roomMembers$'][_0x216f03(0x26d)]();}['dispose'](){const _0x2b3e0f=_0x38c3ff;super[_0x2b3e0f(0x2da)](),this[_0x2b3e0f(0x4e8)][_0x2b3e0f(0x4c4)](new Map()),this['_cursorInfo$'][_0x2b3e0f(0x40d)](),this[_0x2b3e0f(0x601)]['next']([]),this['_roomMembers$'][_0x2b3e0f(0x40d)]();}[_0x38c3ff(0x475)](){const _0xf919c4=_0x38c3ff;this['_init']||(this[_0xf919c4(0x596)]=!0x0,this[_0xf919c4(0x58d)][_0xf919c4(0x31f)][_0xf919c4(0x57b)](A['takeUntil'](this['dispose$']))[_0xf919c4(0x47b)](_0x8a0f18=>{const _0x15ff98=_0xf919c4;_0x8a0f18===se[_0x15ff98(0x1b4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xf919c4(0x58d)][_0xf919c4(0x604)][_0xf919c4(0x57b)](A[_0xf919c4(0x3fb)](this[_0xf919c4(0x5ff)]))[_0xf919c4(0x47b)](_0xde3572=>{const _0x5c20fc=_0xf919c4,_0x383b2b=_0xde3572[_0x5c20fc(0x2bd)];_0x383b2b===S['CollaborationEvent'][_0x5c20fc(0x46d)]&&this[_0x5c20fc(0x3f5)](_0xde3572),_0x383b2b===S['CollaborationEvent'][_0x5c20fc(0x5e0)]&&this['_onCursorDelete'](_0xde3572);}),this[_0xf919c4(0x4bd)](this[_0xf919c4(0x4f6)][_0xf919c4(0x4bb)](_0x564f3=>{const _0x182c99=_0xf919c4,_0x4a1a49=_0x564f3['params'];_0x4a1a49!=null&&this[_0x182c99(0x416)]&&_0x564f3['id']===ye[_0x182c99(0x500)]['id']&&_0x4a1a49[_0x182c99(0x492)]===this[_0x182c99(0x364)]&&_0x4a1a49[_0x182c99(0x450)]===!0x1&&_0x4a1a49[_0x182c99(0x64c)][_0x182c99(0x58c)]>0x0&&this[_0x182c99(0x3e9)](_0x4a1a49[_0x182c99(0x64c)]);})),this[_0xf919c4(0x1b3)][_0xf919c4(0x305)][_0xf919c4(0x57b)](A[_0xf919c4(0x3fb)](this['dispose$']))['subscribe'](_0x1ca954=>{const _0x530b59=_0xf919c4;if((_0x1ca954==null?void 0x0:_0x1ca954[_0x530b59(0x364)])!==this[_0x530b59(0x364)])return;const _0x52cf96={'eventID':S[_0x530b59(0x201)][_0x530b59(0x46d)],'data':_0x1ca954};this[_0x530b59(0x3f5)](_0x52cf96);}),this[_0xf919c4(0x4bd)](this[_0xf919c4(0x4f6)]['onCommandExecuted'](_0x3ce8a2=>{const _0x123e56=_0xf919c4;if(_0x3ce8a2[_0x123e56(0x595)]==null)return;const _0x51b984=_0x3ce8a2[_0x123e56(0x595)];if(_0x3ce8a2['id']!==ye['RichTextEditingMutation']['id']||_0x51b984[_0x123e56(0x492)]!==this['unitID'])return;const _0x53df5f={'id':'doc.mutation.rich-text-editing','params':_0x51b984},_0x1d5037=this[_0x123e56(0x3a2)];for(const [_0x309aee,_0x488e84]of _0x1d5037){const _0x363b73={'id':_0x123e56(0x354),'params':{'unitId':this[_0x123e56(0x364)],'actions':null,'textRanges':_0x488e84[_0x123e56(0x64c)]}},_0x3623aa=this['_transformService'][_0x123e56(0x634)](_0x53df5f,_0x363b73,!0x1);if(S[_0x123e56(0x446)](_0x3623aa))throw _0x3623aa['error'];_0x1d5037[_0x123e56(0x3e8)](_0x309aee,{..._0x488e84,'ranges':_0x3623aa['m2Prime'][_0x123e56(0x595)]['textRanges']});}queueMicrotask(()=>{const _0x36468f=_0x123e56;this['_cursorInfo$'][_0x36468f(0x4c4)](_0x1d5037);});})));}[_0x38c3ff(0x3f5)](_0x116c56){const _0x212f4c=_0x38c3ff;var _0x146bd1,_0x33f131;const {memberID:_0x1b0144,selection:_0x3ae9ac}=_0x116c56[_0x212f4c(0x2e1)],_0x417b70=Ui(_0x3ae9ac),_0x3f048e=(_0x33f131=(_0x146bd1=this['_memberService'][_0x212f4c(0x2ca)](this[_0x212f4c(0x364)],_0x1b0144))==null?void 0x0:_0x146bd1['name'])!=null?_0x33f131:_0x212f4c(0x4ae),_0x395c48={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1b0144),'name':_0x3f048e,'ranges':_0x417b70},_0x47055a=this[_0x212f4c(0x3a2)];_0x47055a[_0x212f4c(0x3e8)](_0x1b0144,_0x395c48),this[_0x212f4c(0x4e8)][_0x212f4c(0x4c4)](_0x47055a);}[_0x38c3ff(0x5a6)](_0x34cdef){const _0xdf48ca=_0x38c3ff,{memberID:_0x3248e9}=_0x34cdef['data'],_0x3dca26=this['cursorInfo'];_0x3dca26[_0xdf48ca(0x1d0)](_0x3248e9),this[_0xdf48ca(0x4e8)]['next'](_0x3dca26);}[_0x38c3ff(0x299)](){const _0x4003f2=_0x38c3ff;var _0x11407e;if(this[_0x4003f2(0x416)]=!0x0,((_0x11407e=this[_0x4003f2(0x393)][_0x4003f2(0x3f9)]())==null?void 0x0:_0x11407e[_0x4003f2(0x2ee)]())!==this['unitID'])return;const _0x56054a=this[_0x4003f2(0x3b6)][_0x4003f2(0x585)](ye[_0x4003f2(0x5fe)])[_0x4003f2(0x5b3)]();Array[_0x4003f2(0x32a)](_0x56054a)&&_0x56054a[_0x4003f2(0x58c)]>0x0&&this['_updateLocalCursor'](_0x56054a);}[_0x38c3ff(0x465)](){const _0x41351c=_0x38c3ff;this[_0x41351c(0x416)]=!0x1;}};mt=Ki([Se(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Se(0x3,a[_0x38c3ff(0x2af)](Ot)),Se(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),Se(0x5,a[_0x38c3ff(0x2af)](Rt)),Se(0x6,S[_0x38c3ff(0x3cc)]),Se(0x7,a['IUniverInstanceService']),Se(0x8,a[_0x38c3ff(0x439)])],mt);var Xi=Object[_0x38c3ff(0x1c1)],Ji=Object[_0x38c3ff(0x336)],Zi=(_0x1a375a,_0xe029c4,_0x50348c,_0x3e7bde)=>{for(var _0x3d87bd=_0x3e7bde>0x1?void 0x0:_0x3e7bde?Ji(_0xe029c4,_0x50348c):_0xe029c4,_0x5547c5=_0x1a375a['length']-0x1,_0x365634;_0x5547c5>=0x0;_0x5547c5--)(_0x365634=_0x1a375a[_0x5547c5])&&(_0x3d87bd=(_0x3e7bde?_0x365634(_0xe029c4,_0x50348c,_0x3d87bd):_0x365634(_0x3d87bd))||_0x3d87bd);return _0x3e7bde&&_0x3d87bd&&Xi(_0xe029c4,_0x50348c,_0x3d87bd),_0x3d87bd;},be=(_0x3b5f3a,_0x71b314)=>(_0x4f6fe2,_0x3f6d9b)=>_0x71b314(_0x4f6fe2,_0x3f6d9b,_0x3b5f3a);const Qi=0x12c,es=0x64,ts=()=>{let _0x49b604=[],_0x1908fa=!0x1;return _0x3af097=>{_0x49b604['push'](_0x3af097),_0x1908fa||(_0x1908fa=!0x0,setTimeout(()=>{const _0x202c1a=_0x4762;_0x49b604[_0x202c1a(0x2d8)](_0x5d3d9d=>_0x5d3d9d()),_0x49b604=[],_0x1908fa=!0x1;}));};};let St=class extends a[_0x38c3ff(0x22c)]{constructor(_0x5e50fe,_0x457904,_0x2b08e9,_0x35f890,_0x1e35a7,_0x51f7b1,_0x11966e,_0x1cf153){const _0x586807=_0x38c3ff;super(),I(this,_0x586807(0x416),!0x1),I(this,_0x586807(0x596),!0x1),I(this,_0x586807(0x4e8),new A['BehaviorSubject'](new Map())),I(this,_0x586807(0x3cd),this['_cursorInfo$'][_0x586807(0x4a7)]()),I(this,_0x586807(0x601),new A[(_0x586807(0x4fc))]([])),I(this,_0x586807(0x3ad),this[_0x586807(0x601)][_0x586807(0x57b)](A[_0x586807(0x4ca)](Qi))),I(this,_0x586807(0x3e9),a[_0x586807(0x514)]((_0x877435,_0x583c75)=>{const _0xd7b8ca=_0x586807,_0x1269b9={'eventID':S['CollaborationEvent'][_0xd7b8ca(0x46d)],'data':{'unitID':this[_0xd7b8ca(0x364)],'memberID':this[_0xd7b8ca(0x58d)]['getMemberID'](),'selection':Pt[_0xd7b8ca(0x470)](_0x877435,_0x583c75[_0xd7b8ca(0x256)])}};this['_session'][_0xd7b8ca(0x5bc)](_0x1269b9,this[_0xd7b8ca(0x364)]);},es)),(this['unitID']=_0x5e50fe,this[_0x586807(0x58d)]=_0x457904,this[_0x586807(0x3b6)]=_0x2b08e9,this[_0x586807(0x5cd)]=_0x35f890,this[_0x586807(0x1aa)]=_0x1e35a7,this[_0x586807(0x393)]=_0x51f7b1,this['_commandService']=_0x11966e,this[_0x586807(0x3dd)]=_0x1cf153);}get['cursorInfo'](){const _0x10cbf8=_0x38c3ff;return this[_0x10cbf8(0x4e8)][_0x10cbf8(0x26d)]();}get[_0x38c3ff(0x3aa)](){const _0x2a4150=_0x38c3ff;return this[_0x2a4150(0x601)][_0x2a4150(0x26d)]();}['dispose'](){const _0x553b14=_0x38c3ff;super[_0x553b14(0x2da)](),this[_0x553b14(0x4e8)][_0x553b14(0x4c4)](new Map()),this['_cursorInfo$'][_0x553b14(0x40d)](),this['_roomMembers$'][_0x553b14(0x4c4)]([]),this[_0x553b14(0x601)]['complete']();}[_0x38c3ff(0x475)](){const _0x50e7b5=_0x38c3ff;this[_0x50e7b5(0x596)]||(this[_0x50e7b5(0x596)]=!0x0,this[_0x50e7b5(0x58d)][_0x50e7b5(0x31f)][_0x50e7b5(0x57b)](A[_0x50e7b5(0x3fb)](this[_0x50e7b5(0x5ff)]))[_0x50e7b5(0x47b)](_0x27cc31=>{const _0x2f6a5b=_0x50e7b5;_0x27cc31===se[_0x2f6a5b(0x1b4)]?this['_toggleOnline']():this[_0x2f6a5b(0x465)]();}),this[_0x50e7b5(0x58d)][_0x50e7b5(0x604)]['pipe'](A['takeUntil'](this['dispose$']))[_0x50e7b5(0x47b)](_0x98338e=>{const _0x81393e=_0x50e7b5,_0x14abd0=_0x98338e['eventID'];_0x14abd0===S[_0x81393e(0x201)][_0x81393e(0x46d)]&&this['_onCursorUpdate'](_0x98338e),_0x14abd0===S[_0x81393e(0x201)][_0x81393e(0x5e0)]&&this[_0x81393e(0x5a6)](_0x98338e);}),this[_0x50e7b5(0x635)](),this[_0x50e7b5(0x4bd)](this[_0x50e7b5(0x4f6)][_0x50e7b5(0x4bb)](_0x380ee6=>{const _0x114835=_0x50e7b5;if(this[_0x114835(0x416)]&&_0x380ee6['id']===k[_0x114835(0x56b)]['id']&&_0x380ee6[_0x114835(0x595)][_0x114835(0x492)]===this[_0x114835(0x364)]){const _0x132e2b=_0x380ee6[_0x114835(0x595)];this[_0x114835(0x3e9)](_0x132e2b['subUnitId'],_0x132e2b[_0x114835(0x609)][0x0]);}})));}[_0x38c3ff(0x3f5)](_0x2d6a7b){const _0x5bbda4=_0x38c3ff;var _0xd680e6,_0x5251bc;const {memberID:_0x2cbd26,selection:_0x3dd76c}=_0x2d6a7b[_0x5bbda4(0x2e1)],{sheetName:_0x49a0e4,range:_0x5db4c2}=Pt[_0x5bbda4(0x479)](_0x3dd76c),_0x283e55={'name':(_0x5251bc=(_0xd680e6=this['_memberService'][_0x5bbda4(0x2ca)](this['unitID'],_0x2cbd26))==null?void 0x0:_0xd680e6[_0x5bbda4(0x503)])!=null?_0x5251bc:_0x5bbda4(0x4ae),'range':this[_0x5bbda4(0x289)](_0x49a0e4,_0x5db4c2),'sheetID':_0x49a0e4,'color':this[_0x5bbda4(0x5cd)][_0x5bbda4(0x386)](_0x2cbd26),'selection':_0x3dd76c},_0x4b4209=this[_0x5bbda4(0x3a2)];_0x4b4209[_0x5bbda4(0x3e8)](_0x2cbd26,_0x283e55),this['_cursorInfo$']['next'](_0x4b4209);}[_0x38c3ff(0x5a6)](_0x10e226){const _0x35127=_0x38c3ff,{memberID:_0x52c5f3}=_0x10e226['data'],_0x68f347=this[_0x35127(0x3a2)];_0x68f347[_0x35127(0x1d0)](_0x52c5f3),this[_0x35127(0x4e8)][_0x35127(0x4c4)](_0x68f347);}[_0x38c3ff(0x289)](_0x5dea74,_0x19399c){const _0x2eda52=_0x38c3ff;var _0x1337e8,_0x36c3be;const _0x3e032e=(_0x36c3be=(_0x1337e8=this[_0x2eda52(0x393)][_0x2eda52(0x48f)](this[_0x2eda52(0x364)]))==null?void 0x0:_0x1337e8[_0x2eda52(0x2b5)](_0x5dea74))==null?void 0x0:_0x36c3be[_0x2eda52(0x19e)]();return(_0x3e032e==null?void 0x0:_0x3e032e[_0x2eda52(0x643)](_0x15785b=>a['Rectangle']['contains'](_0x15785b,_0x19399c)))||_0x19399c;}[_0x38c3ff(0x635)](){const _0x4c357d=_0x38c3ff,_0x2d41ea=new a[(_0x4c357d(0x5ad))](),_0x2d60aa=ts(),_0x5474d8=()=>{const _0x259639=_0x4c357d;_0x2d41ea[_0x259639(0x2da)]();const _0x1f803c=(_0x4d65b5,_0x15c206,_0x2c2f5e,_0x1353e0)=>{const _0xfbc1c1=_0x259639;let _0x2a33e9=[];switch(_0x4d65b5['id']){case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x1e7)]:{_0x2a33e9=k[_0xfbc1c1(0x654)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)]['DeleteRangeMoveUpCommandId']:{_0x2a33e9=k[_0xfbc1c1(0x2dd)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x27d)]:{_0x2a33e9=k[_0xfbc1c1(0x234)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x5a2)]:{_0x2a33e9=k[_0xfbc1c1(0x26c)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x5c4)]:{_0x2a33e9=k[_0xfbc1c1(0x1ae)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x3d4)]:{_0x2a33e9=k[_0xfbc1c1(0x371)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x2e9)]:{_0x2a33e9=k[_0xfbc1c1(0x278)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x41d)]:{_0x2a33e9=k[_0xfbc1c1(0x494)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x582)]:{_0x2a33e9=k['handleIRemoveRow'](_0x4d65b5,_0x1353e0);break;}}const _0x43346d=k[_0xfbc1c1(0x29d)](_0x2a33e9,_0x1353e0),_0x36303e=this[_0xfbc1c1(0x3a2)]['get'](_0x15c206);if(_0x36303e&&_0x43346d){const _0x1d74c6={..._0x36303e,'range':_0x43346d};this[_0xfbc1c1(0x3a2)][_0xfbc1c1(0x3e8)](_0x15c206,_0x1d74c6),_0x2d60aa(()=>{const _0x3e712d=_0xfbc1c1,_0x55dcd9=this['_refRangeService'][_0x3e712d(0x5b5)](_0x43346d,_0x296c21=>(_0x55dcd9[_0x3e712d(0x2da)](),_0x1f803c(_0x296c21,_0x15c206,_0x2c2f5e,_0x43346d)));_0x2d41ea[_0x3e712d(0x425)](_0x55dcd9);});}return{'redos':[],'undos':[]};};this[_0x259639(0x3a2)]['forEach']((_0x8b9008,_0x44e1f0)=>{const _0x4d2dcc=_0x259639,{range:_0x31cfa6,sheetID:_0x109b9b}=_0x8b9008,_0x197064=this[_0x4d2dcc(0x3dd)][_0x4d2dcc(0x5b5)](_0x31cfa6,_0x56eab4=>(_0x197064['dispose'](),_0x1f803c(_0x56eab4,_0x44e1f0,_0x109b9b,_0x31cfa6)));_0x2d41ea[_0x4d2dcc(0x425)](_0x197064);});};this[_0x4c357d(0x4bd)](a[_0x4c357d(0x2c7)](this[_0x4c357d(0x4e8)]['subscribe'](()=>{_0x5474d8();})));}[_0x38c3ff(0x299)](){const _0x43cc97=_0x38c3ff;var _0x521201,_0x191281;if(this[_0x43cc97(0x416)]=!0x0,((_0x521201=this['_univerInstanceService'][_0x43cc97(0x3f9)]())==null?void 0x0:_0x521201[_0x43cc97(0x2ee)]())!==this['unitID'])return;const _0x510a05=(_0x191281=this[_0x43cc97(0x3b6)][_0x43cc97(0x585)](k[_0x43cc97(0x2c5)])[_0x43cc97(0x3fd)]())==null?void 0x0:_0x191281[0x0],_0xb1e6b0=this[_0x43cc97(0x393)][_0x43cc97(0x323)](a[_0x43cc97(0x27f)][_0x43cc97(0x23d)])[_0x43cc97(0x60f)]();_0x510a05&&_0xb1e6b0&&this[_0x43cc97(0x3e9)](_0xb1e6b0[_0x43cc97(0x5f0)](),_0x510a05);}[_0x38c3ff(0x465)](){const _0x1cd464=_0x38c3ff;this[_0x1cd464(0x416)]=!0x1;}};St=Zi([be(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),be(0x3,a['Inject'](Ot)),be(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),be(0x5,a[_0x38c3ff(0x2a8)]),be(0x6,a['ICommandService']),be(0x7,a[_0x38c3ff(0x2af)](k[_0x38c3ff(0x464)]))],St);var ns=Object[_0x38c3ff(0x1c1)],is=Object[_0x38c3ff(0x336)],ss=(_0x526e39,_0x4b869d,_0x5ba182,_0x58a2bf)=>{const _0x2622e7=_0x38c3ff;for(var _0x92f614=_0x58a2bf>0x1?void 0x0:_0x58a2bf?is(_0x4b869d,_0x5ba182):_0x4b869d,_0x43cef9=_0x526e39[_0x2622e7(0x58c)]-0x1,_0x4f756d;_0x43cef9>=0x0;_0x43cef9--)(_0x4f756d=_0x526e39[_0x43cef9])&&(_0x92f614=(_0x58a2bf?_0x4f756d(_0x4b869d,_0x5ba182,_0x92f614):_0x4f756d(_0x92f614))||_0x92f614);return _0x58a2bf&&_0x92f614&&ns(_0x4b869d,_0x5ba182,_0x92f614),_0x92f614;},nt=(_0x282b1a,_0x233191)=>(_0x262793,_0x1aa17d)=>_0x233191(_0x262793,_0x1aa17d,_0x282b1a);let De=class extends a[_0x38c3ff(0x22c)]{constructor(_0x2ba395,_0x4740a9,_0x48cb51){const _0x3bc75a=_0x38c3ff;super(),I(this,'_entities',new Map()),I(this,_0x3bc75a(0x2a3),new A['Subject']()),(this['_univerInstanceService']=_0x2ba395,this[_0x3bc75a(0x3b6)]=_0x4740a9,this[_0x3bc75a(0x37f)]=_0x48cb51,this['_init']());}['dispose'](){const _0x363ddc=_0x38c3ff;super[_0x363ddc(0x2da)](),this['_entityInit$'][_0x363ddc(0x40d)](),this['_entities'][_0x363ddc(0x2d8)](_0x40ee60=>_0x40ee60[_0x363ddc(0x2da)]());}[_0x38c3ff(0x592)](_0x3f448d){const _0x1aa6a0=_0x38c3ff;return this[_0x1aa6a0(0x325)][_0x1aa6a0(0x599)](_0x3f448d)?this[_0x1aa6a0(0x325)][_0x1aa6a0(0x585)](_0x3f448d)['cursorInfo$']:this['_entityInit$'][_0x1aa6a0(0x57b)](A[_0x1aa6a0(0x576)](_0x3618a4=>_0x3618a4['unitID']===_0x3f448d),A[_0x1aa6a0(0x5fa)](_0x1c1dc0=>_0x1c1dc0['cursorInfo$']));}[_0x38c3ff(0x596)](){const _0x3fffe3=_0x38c3ff;this[_0x3fffe3(0x393)][_0x3fffe3(0x23f)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x23d)])['pipe'](A[_0x3fffe3(0x3fb)](this[_0x3fffe3(0x5ff)]))['subscribe'](async _0xe5dee=>{const _0x31180c=_0x3fffe3,_0x2f988f=_0xe5dee[_0x31180c(0x2ee)](),_0x401128=await this[_0x31180c(0x3c2)](_0x2f988f);this['_entityInit$'][_0x31180c(0x4c4)](_0x401128),this['_entities'][_0x31180c(0x3e8)](_0x2f988f,_0x401128);}),this[_0x3fffe3(0x393)][_0x3fffe3(0x23f)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x649)])[_0x3fffe3(0x57b)](A[_0x3fffe3(0x3fb)](this['dispose$']))['pipe'](A[_0x3fffe3(0x576)](_0x314550=>!_0x314550[_0x3fffe3(0x2ee)]()['startsWith']('__')))[_0x3fffe3(0x47b)](async _0x16358c=>{const _0x9691e1=_0x3fffe3,_0x25f4b3=_0x16358c[_0x9691e1(0x2ee)](),_0x1ba2c5=await this[_0x9691e1(0x58b)](_0x25f4b3);this[_0x9691e1(0x2a3)][_0x9691e1(0x4c4)](_0x1ba2c5),this[_0x9691e1(0x325)][_0x9691e1(0x3e8)](_0x25f4b3,_0x1ba2c5);}),A['merge'](this[_0x3fffe3(0x393)][_0x3fffe3(0x3bc)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x649)]),this[_0x3fffe3(0x393)][_0x3fffe3(0x3bc)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x23d)]))[_0x3fffe3(0x57b)](A[_0x3fffe3(0x3fb)](this[_0x3fffe3(0x5ff)]))[_0x3fffe3(0x47b)](_0x3fba9f=>{const _0x430c37=_0x3fffe3,_0x3f578c=_0x3fba9f[_0x430c37(0x2ee)](),_0x55dd37=this[_0x430c37(0x325)][_0x430c37(0x585)](_0x3f578c);_0x55dd37&&(_0x55dd37[_0x430c37(0x2da)](),this[_0x430c37(0x325)][_0x430c37(0x1d0)](_0x3f578c));});}async[_0x38c3ff(0x3c2)](_0x276b01){const _0x1fd2fd=_0x38c3ff,_0x4ce25d=await this[_0x1fd2fd(0x37f)][_0x1fd2fd(0x2aa)](_0x276b01),_0x4e6759=this[_0x1fd2fd(0x3b6)]['createInstance'](St,_0x276b01,_0x4ce25d);return _0x4e6759['init'](),_0x4e6759;}async[_0x38c3ff(0x58b)](_0x295865){const _0x460b55=_0x38c3ff,_0x38e804=await this[_0x460b55(0x37f)][_0x460b55(0x2aa)](_0x295865),_0x3e2106=this[_0x460b55(0x3b6)]['createInstance'](mt,_0x295865,_0x38e804);return _0x3e2106['init'](),_0x3e2106;}};De=ss([nt(0x0,a[_0x38c3ff(0x2a8)]),nt(0x1,a[_0x38c3ff(0x2af)](a['Injector'])),nt(0x2,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x1f6)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x3a2bfc,_0x3302b){const _0x51e6b7=_0x38c3ff;let {radius:_0x1e27d7,width:_0xb2a7b,height:_0x471a35}=_0x3302b;_0x1e27d7=_0x1e27d7!=null?_0x1e27d7:0x0,_0xb2a7b=_0xb2a7b!=null?_0xb2a7b:0x1e,_0x471a35=_0x471a35!=null?_0x471a35:0x1e;let _0x2b77ee=0x0,_0x3a1a11=0x0,_0x2e26b6=0x0;_0x2b77ee=_0x3a1a11=_0x2e26b6=Math[_0x51e6b7(0x269)](_0x1e27d7,_0xb2a7b/0x2,_0x471a35/0x2),_0x3a2bfc['beginPath'](),_0x3a2bfc[_0x51e6b7(0x1fa)](_0x2b77ee,0x0),_0x3a2bfc[_0x51e6b7(0x62e)](_0xb2a7b-_0x3a1a11,0x0),_0x3a2bfc[_0x51e6b7(0x319)](_0xb2a7b-_0x3a1a11,_0x3a1a11,_0x3a1a11,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a2bfc[_0x51e6b7(0x62e)](_0xb2a7b,_0x471a35-_0x2e26b6),_0x3a2bfc['arc'](_0xb2a7b-_0x2e26b6,_0x471a35-_0x2e26b6,_0x2e26b6,0x0,Math['PI']/0x2,!0x1),_0x3a2bfc[_0x51e6b7(0x62e)](0x0,_0x471a35),_0x3a2bfc[_0x51e6b7(0x62e)](0x0,_0x2b77ee),_0x3a2bfc[_0x51e6b7(0x319)](_0x2b77ee,_0x2b77ee,_0x2b77ee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a2bfc[_0x51e6b7(0x224)](),_0x3302b[_0x51e6b7(0x422)]&&(_0x3a2bfc[_0x51e6b7(0x24c)](),_0x3a2bfc[_0x51e6b7(0x335)]=_0x3302b[_0x51e6b7(0x422)],_0x3302b['fillRule']===_0x51e6b7(0x324)?_0x3a2bfc[_0x51e6b7(0x422)](_0x51e6b7(0x324)):_0x3a2bfc[_0x51e6b7(0x422)](),_0x3a2bfc[_0x51e6b7(0x63b)]());}class ze extends K[_0x38c3ff(0x3db)]{constructor(_0x363da1,_0x437028){const _0x10c647=_0x38c3ff;super(_0x363da1,_0x437028),I(this,_0x10c647(0x4c3)),I(this,_0x10c647(0x598)),(this[_0x10c647(0x4c3)]=_0x437028==null?void 0x0:_0x437028[_0x10c647(0x4c3)],this[_0x10c647(0x598)]=_0x437028==null?void 0x0:_0x437028['text']);}static[_0x38c3ff(0x54d)](_0x176042,_0x4a61fc){const _0x12fe2c=_0x38c3ff,{text:_0x434829,color:_0x50f30a}=_0x4a61fc;_0x176042[_0x12fe2c(0x24c)](),_0x176042['font']=_0x12fe2c(0x4f3);const _0xea1946=_0x176042[_0x12fe2c(0x49c)](_0x434829)[_0x12fe2c(0x2f3)],_0x5885d6=Math[_0x12fe2c(0x269)](_0xea1946+0x2*it,Ht);os(_0x176042,{'height':Le,'radius':0x4,'width':_0x5885d6,'fill':_0x50f30a,'evented':!0x1}),_0x176042[_0x12fe2c(0x335)]=_0x12fe2c(0x40c);const _0x29b99c=it,_0x298512=Le-rs,_0x2bce2e=Ht-0x2*it;if(_0xea1946>_0x2bce2e){let _0x4d8614='',_0xd26ee9=0x0;for(const _0xa27959 of _0x434829){const _0xe0d2dc=_0x176042[_0x12fe2c(0x49c)](_0xa27959)[_0x12fe2c(0x2f3)];if(_0xd26ee9+_0xe0d2dc<=_0x2bce2e-_0x176042[_0x12fe2c(0x49c)](_0x12fe2c(0x315))[_0x12fe2c(0x2f3)])_0x4d8614+=_0xa27959,_0xd26ee9+=_0xe0d2dc;else{_0x4d8614+=_0x12fe2c(0x315);break;}}_0x176042[_0x12fe2c(0x5bd)](_0x4d8614,_0x29b99c,_0x298512);}else _0x176042[_0x12fe2c(0x5bd)](_0x434829,_0x29b99c,_0x298512);_0x176042[_0x12fe2c(0x63b)]();}['_draw'](_0x44938d){const _0x3072ed=_0x38c3ff;ze[_0x3072ed(0x54d)](_0x44938d,this);}}const st=_0x38c3ff(0x5fd),as='collab-text-range-',cs=_0x38c3ff(0x19b),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x38c3ff(0x1e6);class Bt{constructor(_0x26fd3b,_0x2ae258,_0x43a5a6,_0x263b84){const _0x17ba0d=_0x38c3ff;I(this,_0x17ba0d(0x2c1),[]),I(this,_0x17ba0d(0x550),null),I(this,_0x17ba0d(0x3be),null),I(this,_0x17ba0d(0x4a2),null),I(this,'_hideTimer',null),I(this,'_eventUnsubscribe',null),(this['_cursor']=_0x26fd3b,this['_scene']=_0x2ae258,this[_0x17ba0d(0x2d0)]=_0x43a5a6,this[_0x17ba0d(0x40f)]=_0x263b84,this[_0x17ba0d(0x437)]());}set[_0x38c3ff(0x23b)](_0x5352d5){const _0x22cbee=_0x38c3ff;_0x5352d5?(this[_0x22cbee(0x4a2)]&&this[_0x22cbee(0x4a2)]['hide'](),this['_textBubble']&&this[_0x22cbee(0x3be)][_0x22cbee(0x37c)]()):(this['_anchorDot']&&this[_0x22cbee(0x4a2)]['show'](),this[_0x22cbee(0x3be)]&&this[_0x22cbee(0x3be)]['hide']());}[_0x38c3ff(0x2da)](){const _0x52d2d0=_0x38c3ff;for(const _0x44bda9 of this[_0x52d2d0(0x2c1)])_0x44bda9[_0x52d2d0(0x2da)]();this[_0x52d2d0(0x3be)]&&this[_0x52d2d0(0x3be)][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x4a2)]&&this['_anchorDot'][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x550)]&&this[_0x52d2d0(0x550)][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x1f3)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2331b3=_0x38c3ff;var _0x961251;const {_docSkeleton:_0x7f93e0,_document:_0x49daef}=this,{color:_0x5dcd46,name:_0xc93b8,ranges:_0x4e54b5}=this['_cursor'],_0x2cbeab=_0x49daef[_0x2331b3(0x5bb)](),{docsLeft:_0x4a7fd9,docsTop:_0x421507}=_0x2cbeab,_0xfa6010=new J[(_0x2331b3(0x5ed))](_0x2cbeab,_0x7f93e0);for(const {startOffset:_0x2e404f,endOffset:_0x3e2739,rangeType:_0x3a42ff,segmentId:_0x3f6f6a,segmentPage:_0x5a9951,collapsed:_0x58967c,isActive:_0x3e31ea}of _0x4e54b5){const _0x2ecb4a=_0x7f93e0['findNodePositionByCharIndex'](_0x2e404f,!0x0,_0x3f6f6a,_0x5a9951);let _0x271e5c=_0x7f93e0['findNodePositionByCharIndex'](_0x3e2739,!0x0,_0x3f6f6a,_0x5a9951);if(_0x271e5c==null&&(_0x271e5c=_0x7f93e0[_0x2331b3(0x4d1)](_0x3e2739-0x1,!0x1,_0x3f6f6a,_0x5a9951)),_0x3e31ea){const {contentBoxPointGroup:_0x5daa94}=_0xfa6010[_0x2331b3(0x3c3)](_0x271e5c,_0x271e5c);if(_0x5daa94[_0x2331b3(0x58c)]===0x0)continue;this[_0x2331b3(0x5fb)](_0x5dcd46,_0x5daa94,_0x4a7fd9,_0x421507,_0xc93b8),this[_0x2331b3(0x1f3)]=this[_0x2331b3(0x3f4)]();}if(_0x2ecb4a&&_0x271e5c){if(_0x3a42ff===a[_0x2331b3(0x2ec)][_0x2331b3(0x248)]){const _0x45d09c=new J[(_0x2331b3(0x5e1))](_0x2cbeab,_0x7f93e0),{pointGroup:_0x4e6362}=(_0x961251=_0x45d09c[_0x2331b3(0x3c3)](_0x2ecb4a,_0x271e5c))!=null?_0x961251:{};if(_0x4e6362==null||_0x4e6362['length']===0x0)continue;this['_drawRectRange'](_0x5dcd46,_0x4e6362,_0x4a7fd9,_0x421507);}else{if(!_0x58967c){const {borderBoxPointGroup:_0x113c3e}=_0xfa6010[_0x2331b3(0x3c3)](_0x2ecb4a,_0x271e5c);if(_0x113c3e['length']===0x0)continue;this[_0x2331b3(0x1c9)](_0x5dcd46,_0x113c3e,_0x4a7fd9,_0x421507);}}}}}['_drawAnchor'](_0x46afc4,_0x29f236,_0x2dcad7,_0x1c4419,_0x3b35b9){const _0xd658df=_0x38c3ff,_0xde7418=this['_getAnchorBounding'](_0x29f236),{left:_0x245d0e,top:_0x345f02,height:_0x185166}=_0xde7418,_0x1f7bcf=this[_0xd658df(0x379)](),_0x19749d=hs/_0x1f7bcf,_0x134e0f=new K[(_0xd658df(0x590))](st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419,'height':_0x185166,'width':ls,'fill':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)]['black'],0x0),'strokeWidth':_0x19749d,'stroke':_s,'evented':!0x0});this['_anchor']=_0x134e0f,this[_0xd658df(0x352)][_0xd658df(0x392)](_0x134e0f,J[_0xd658df(0x296)]);const _0xdd205d=new K[(_0xd658df(0x590))](st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419-rt/0x2,'height':rt,'width':rt,'fill':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)][_0xd658df(0x36b)],0x0),'strokeWidth':0x0,'stroke':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)][_0xd658df(0x36b)],0x0),'evented':!0x1});this[_0xd658df(0x4a2)]=_0xdd205d,this[_0xd658df(0x352)][_0xd658df(0x392)](_0xdd205d,J['TEXT_RANGE_LAYER_INDEX']);const _0x249708=new ze(st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419-Le,'text':_0x3b35b9,'color':_0x46afc4});this[_0xd658df(0x3be)]=_0x249708,this[_0xd658df(0x352)][_0xd658df(0x392)](_0x249708,J[_0xd658df(0x296)]),this[_0xd658df(0x23b)]=!0x1;}[_0x38c3ff(0x3f4)](){const _0x2796fe=_0x38c3ff,_0x5124d4=this[_0x2796fe(0x550)][_0x2796fe(0x59e)][_0x2796fe(0x54e)](()=>{const _0x59897c=_0x2796fe;this[_0x59897c(0x23b)]=!0x0;}),_0x335442=this[_0x2796fe(0x550)]['onPointerLeave$'][_0x2796fe(0x54e)](()=>{const _0x14cb24=_0x2796fe;this[_0x14cb24(0x396)]&&clearTimeout(this['_hideTimer']),this[_0x14cb24(0x396)]=setTimeout(()=>{const _0x35ce82=_0x14cb24;this[_0x35ce82(0x23b)]=!0x1;},0x7d0);});return()=>{const _0x213e34=_0x2796fe;_0x5124d4['unsubscribe'](),_0x335442[_0x213e34(0x25d)]();};}[_0x38c3ff(0x1c9)](_0xb5347,_0x35064d,_0x579108,_0x21b751){const _0x40c89d=_0x38c3ff,_0x5ad3d3=new a[(_0x40c89d(0x2d7))](_0xb5347)[_0x40c89d(0x611)](0.2)[_0x40c89d(0x338)](),_0x3523ab=new K[(_0x40c89d(0x44b))](as+a[_0x40c89d(0x24a)][_0x40c89d(0x4b6)](Ue),{'pointsGroup':_0x35064d,'fill':_0x5ad3d3||K[_0x40c89d(0x49b)](a[_0x40c89d(0x3b8)][_0x40c89d(0x36b)],0.2),'left':_0x579108,'top':_0x21b751,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x40c89d(0x473)](_0x3523ab),this[_0x40c89d(0x352)]['addObject'](_0x3523ab,J[_0x40c89d(0x296)]);}[_0x38c3ff(0x5cf)](_0x30dbe4,_0x5bbad7,_0x56ae40,_0x36a916){const _0x165ede=_0x38c3ff,_0x579da2=new a['ColorKit'](_0x30dbe4)[_0x165ede(0x611)](0.2)[_0x165ede(0x338)](),_0x120ee1=new K[(_0x165ede(0x44b))](cs+a[_0x165ede(0x24a)]['generateRandomId'](Ue),{'pointsGroup':_0x5bbad7,'fill':_0x579da2||K[_0x165ede(0x49b)](a['COLORS']['black'],0.2),'left':_0x56ae40,'top':_0x36a916,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x165ede(0x2c1)][_0x165ede(0x473)](_0x120ee1),this[_0x165ede(0x352)][_0x165ede(0x392)](_0x120ee1,J[_0x165ede(0x296)]);}['_getAnchorBounding'](_0x56f0bc){const _0x52d777=_0x56f0bc[0x0],_0x2e3954=_0x52d777[0x0],_0x6d4661=_0x52d777[0x2],{x:_0x31d2e5,y:_0x1df18b}=_0x2e3954,{x:_0x5150df,y:_0x37a675}=_0x6d4661;return{'left':_0x31d2e5,'top':_0x1df18b,'width':_0x5150df-_0x31d2e5,'height':_0x37a675-_0x1df18b};}['_getScale'](){const _0x2b8f77=_0x38c3ff,{scaleX:_0x71a352,scaleY:_0x467e53}=this[_0x2b8f77(0x352)]['getAncestorScale']();return Math[_0x2b8f77(0x4e4)](_0x71a352,_0x467e53);}}var us=Object[_0x38c3ff(0x1c1)],ds=Object['getOwnPropertyDescriptor'],fs=(_0x24c002,_0x443e1e,_0x124bdb,_0xcb05d6)=>{const _0x365c21=_0x38c3ff;for(var _0x2fec4f=_0xcb05d6>0x1?void 0x0:_0xcb05d6?ds(_0x443e1e,_0x124bdb):_0x443e1e,_0x24092b=_0x24c002[_0x365c21(0x58c)]-0x1,_0x401cc1;_0x24092b>=0x0;_0x24092b--)(_0x401cc1=_0x24c002[_0x24092b])&&(_0x2fec4f=(_0xcb05d6?_0x401cc1(_0x443e1e,_0x124bdb,_0x2fec4f):_0x401cc1(_0x2fec4f))||_0x2fec4f);return _0xcb05d6&&_0x2fec4f&&us(_0x443e1e,_0x124bdb,_0x2fec4f),_0x2fec4f;},je=(_0x3ad333,_0x1a8966)=>(_0x20262d,_0x500779)=>_0x1a8966(_0x20262d,_0x500779,_0x3ad333);let pt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x227b9d,_0xaf2db3,_0x625872,_0x11dab3,_0x50f423){const _0x306daa=_0x38c3ff;super(),I(this,_0x306daa(0x261),[]),I(this,'_cursors',[]),(this[_0x306daa(0x268)]=_0x227b9d,this['_docSkeletonManagerService']=_0xaf2db3,this[_0x306daa(0x3c6)]=_0x625872,this[_0x306daa(0x4f6)]=_0x11dab3,this['_themeService']=_0x50f423,this[_0x306daa(0x596)]());}[_0x38c3ff(0x596)](){const _0x3e0f6f=_0x38c3ff,_0x594e98=this[_0x3e0f6f(0x268)][_0x3e0f6f(0x492)],_0x41a01e=this[_0x3e0f6f(0x5d2)];this[_0x3e0f6f(0x4bd)](A[_0x3e0f6f(0x4aa)]([this[_0x3e0f6f(0x3c6)]['getCollabCursors$'](_0x594e98),this['_themeService'][_0x3e0f6f(0x472)]])[_0x3e0f6f(0x57b)](V[_0x3e0f6f(0x4d7)](([_0x20f399,_0x301207])=>({'skeleton':_0x41a01e[_0x3e0f6f(0x453)](),'cursors':[..._0x20f399['values']()][_0x3e0f6f(0x51a)](_0x8dd115=>({..._0x8dd115,'color':_0x301207[_0x8dd115[_0x3e0f6f(0x4c3)]]}))})))[_0x3e0f6f(0x47b)](_0x47fbee=>{const _0x20b119=_0x3e0f6f;if(this[_0x20b119(0x230)](),_0x47fbee){const {skeleton:_0x2ebe7b,cursors:_0x3d02a5}=_0x47fbee;this[_0x20b119(0x3a3)](_0x2ebe7b,_0x3d02a5);}})),this['_initResize'](),this[_0x3e0f6f(0x199)]();}[_0x38c3ff(0x3a3)](_0x441a3f,_0x1e9a1c){const _0x185c9b=_0x38c3ff,{scene:_0x4bb787,mainComponent:_0x1d6f16}=this[_0x185c9b(0x268)],_0x1f3622=_0x1e9a1c[_0x185c9b(0x4d7)](_0x3d7cc0=>new Bt(_0x3d7cc0,_0x4bb787,_0x441a3f,_0x1d6f16));this[_0x185c9b(0x261)]=_0x1f3622,this[_0x185c9b(0x3da)]=_0x1e9a1c;}[_0x38c3ff(0x262)](){const _0x5018f1=_0x38c3ff;this['_removeCollabCursors']();const {scene:_0x32fd97,mainComponent:_0x5c4aed}=this['_context'],_0x3ddda0=this['_docSkeletonManagerService'][_0x5018f1(0x453)](),_0x1d8aa6=this['_cursors'][_0x5018f1(0x4d7)](_0x2b69c7=>new Bt(_0x2b69c7,_0x32fd97,_0x3ddda0,_0x5c4aed));this[_0x5018f1(0x261)]=_0x1d8aa6;}[_0x38c3ff(0x230)](){const _0x773d85=_0x38c3ff;this[_0x773d85(0x261)][_0x773d85(0x2d8)](_0x921433=>_0x921433[_0x773d85(0x2da)]()),this[_0x773d85(0x261)]=[];}['_initCommandExecutedListener'](){const _0x4e9c0c=_0x38c3ff,_0x3558a1=[J[_0x4e9c0c(0x3ba)]['id']];this[_0x4e9c0c(0x4bd)](this[_0x4e9c0c(0x4f6)][_0x4e9c0c(0x4bb)](_0x407e4d=>{const _0x2d0a0a=_0x4e9c0c;_0x3558a1[_0x2d0a0a(0x3ec)](_0x407e4d['id'])&&_0x407e4d[_0x2d0a0a(0x595)][_0x2d0a0a(0x492)]===this['_context'][_0x2d0a0a(0x492)]&&this[_0x2d0a0a(0x262)]();}));}[_0x38c3ff(0x5a4)](){const _0x3af628=_0x38c3ff;this[_0x3af628(0x4bd)](a['fromEventSubject'](this[_0x3af628(0x268)][_0x3af628(0x30d)][_0x3af628(0x2e8)])[_0x3af628(0x57b)](V[_0x3af628(0x576)](_0x12f5f3=>_0x12f5f3[_0x3af628(0x42a)]===K[_0x3af628(0x26e)][_0x3af628(0x337)]),V[_0x3af628(0x3ce)](0x10))['subscribe'](()=>{const _0x1fb9d5=_0x3af628;this[_0x1fb9d5(0x262)]();}));}};pt=fs([je(0x1,a[_0x38c3ff(0x2af)](ye[_0x38c3ff(0x1b2)])),je(0x2,a[_0x38c3ff(0x2af)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x38c3ff(0x2af)](a['ThemeService']))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x38c3ff(0x3db)]{constructor(_0xd3932,_0x1a9c5b){const _0x4fcfc3=_0x38c3ff;super(_0xd3932,_0x1a9c5b),I(this,_0x4fcfc3(0x5a1)),I(this,_0x4fcfc3(0x251),!0x1),I(this,_0x4fcfc3(0x2fc)),I(this,_0x4fcfc3(0x1f8),''),I(this,_0x4fcfc3(0x380),'top'),I(this,_0x4fcfc3(0x613)),(_0x1a9c5b&&this[_0x4fcfc3(0x5b2)](_0x1a9c5b),this[_0x4fcfc3(0x59e)][_0x4fcfc3(0x54e)](()=>this[_0x4fcfc3(0x5b2)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4fcfc3(0x54e)](()=>this[_0x4fcfc3(0x5b2)]({'hovered':!0x1})));}[_0x38c3ff(0x5b2)](_0x287f9e){const _0x469e8d=_0x38c3ff;var _0x300b28,_0x546b66,_0x3590c8,_0x33205d,_0x303ee8,_0x5df3c9;this['_color']=(_0x300b28=_0x287f9e[_0x469e8d(0x4c3)])!=null?_0x300b28:this[_0x469e8d(0x5a1)],this[_0x469e8d(0x251)]=(_0x546b66=_0x287f9e['hovered'])!=null?_0x546b66:this['_hovered'],this[_0x469e8d(0x2fc)]=(_0x3590c8=_0x287f9e[_0x469e8d(0x256)])!=null?_0x3590c8:this[_0x469e8d(0x2fc)],this[_0x469e8d(0x1f8)]=(_0x33205d=_0x287f9e['name'])!=null?_0x33205d:this[_0x469e8d(0x1f8)],this[_0x469e8d(0x380)]=(_0x303ee8=_0x287f9e[_0x469e8d(0x605)])!=null?_0x303ee8:this[_0x469e8d(0x380)],this[_0x469e8d(0x613)]=(_0x5df3c9=_0x287f9e[_0x469e8d(0x62f)])!=null?_0x5df3c9:this['_backgroundColor'],this['transformByState']({'width':_0x287f9e[_0x469e8d(0x2f3)],'height':_0x287f9e[_0x469e8d(0x320)]});}['onMouseMove'](_0x151777){const _0x5538d8=_0x38c3ff,{row:_0x4fa50b,column:_0x41b78e}=_0x151777;if(_0x4fa50b>=this[_0x5538d8(0x2fc)]['startRow']&&_0x4fa50b<=this[_0x5538d8(0x2fc)][_0x5538d8(0x342)]&&_0x41b78e>=this[_0x5538d8(0x2fc)][_0x5538d8(0x3e3)]&&_0x41b78e<=this[_0x5538d8(0x2fc)][_0x5538d8(0x365)]){this[_0x5538d8(0x5b2)]({'hovered':!0x0});return;}this[_0x5538d8(0x5b2)]({'hovered':!0x1});}[_0x38c3ff(0x3e6)](_0xfc54e8){return!0x1;}[_0x38c3ff(0x1a7)](_0x4049bc){const _0x298002=_0x38c3ff;K[_0x298002(0x590)][_0x298002(0x54d)](_0x4049bc,{'width':this[_0x298002(0x2f3)],'height':this[_0x298002(0x320)],'strokeWidth':ms,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x298002(0x613)]}),this[_0x298002(0x251)]&&(_0x4049bc['save'](),_0x4049bc[_0x298002(0x402)](0x1,0x0,0x0,0x1,this[_0x298002(0x2f3)],this[_0x298002(0x380)]===_0x298002(0x449)?0x0:-Le),ze[_0x298002(0x54d)](_0x4049bc,{'text':this[_0x298002(0x1f8)],'color':this['_color']}),_0x4049bc[_0x298002(0x63b)]());}}var Ss=Object[_0x38c3ff(0x1c1)],ps=Object[_0x38c3ff(0x336)],gs=(_0x3e1560,_0x3e5e7,_0x5e65a2,_0x5aabd0)=>{const _0x157489=_0x38c3ff;for(var _0x4c1e0d=_0x5aabd0>0x1?void 0x0:_0x5aabd0?ps(_0x3e5e7,_0x5e65a2):_0x3e5e7,_0x194dec=_0x3e1560[_0x157489(0x58c)]-0x1,_0x69ee59;_0x194dec>=0x0;_0x194dec--)(_0x69ee59=_0x3e1560[_0x194dec])&&(_0x4c1e0d=(_0x5aabd0?_0x69ee59(_0x3e5e7,_0x5e65a2,_0x4c1e0d):_0x69ee59(_0x4c1e0d))||_0x4c1e0d);return _0x5aabd0&&_0x4c1e0d&&Ss(_0x3e5e7,_0x5e65a2,_0x4c1e0d),_0x4c1e0d;},ot=(_0x12e22f,_0x38a98f)=>(_0x1aa8e2,_0x278201)=>_0x38a98f(_0x1aa8e2,_0x278201,_0x12e22f);const Is=0x1389;let gt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x37f2b7,_0x9e192f,_0x3c0479,_0x3f9145){const _0x4734eb=_0x38c3ff;super(),I(this,_0x4734eb(0x3da),new Set()),I(this,_0x4734eb(0x4a8),null),(this[_0x4734eb(0x268)]=_0x37f2b7,this[_0x4734eb(0x4b8)]=_0x9e192f,this[_0x4734eb(0x3c6)]=_0x3c0479,this['_themeService']=_0x3f9145,this['_init']());}[_0x38c3ff(0x596)](){const _0x766430=_0x38c3ff;this[_0x766430(0x4b8)][_0x766430(0x4f1)][_0x766430(0x57b)](V[_0x766430(0x3fb)](this['dispose$']),V['switchMap'](_0x13bf44=>{const _0x570ef5=_0x766430;if(_0x13bf44){const _0x14b836=_0x13bf44[_0x570ef5(0x1c6)];return A['combineLatest'](this[_0x570ef5(0x3c6)][_0x570ef5(0x592)](this[_0x570ef5(0x268)][_0x570ef5(0x492)]),this[_0x570ef5(0x42c)][_0x570ef5(0x472)])[_0x570ef5(0x57b)](V[_0x570ef5(0x4d7)](([_0x3b99d5,_0x4de3a3])=>{const _0x5d3256=new Map();return _0x3b99d5['forEach']((_0x58161c,_0x11a0eb)=>{const _0x27290c=_0x4762;if(_0x58161c[_0x27290c(0x5f7)]===_0x14b836){const _0x146264={..._0x58161c};_0x146264['color']=_0x4de3a3[_0x58161c[_0x27290c(0x4c3)]],_0x5d3256[_0x27290c(0x3e8)](_0x11a0eb,_0x146264);}}),{'skeleton':_0x13bf44,'cursors':_0x5d3256};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x766430(0x47b)](({skeleton:_0x4a60ba,cursors:_0x401141})=>{const _0x4df756=_0x766430;this[_0x4df756(0x230)](),_0x4a60ba&&this[_0x4df756(0x3a3)](_0x4a60ba,_0x401141);}),this[_0x766430(0x4b8)]['currentSkeleton$'][_0x766430(0x47b)](_0x4e9522=>{const _0x47467b=_0x766430;if(_0x4e9522==null)return;const {skeleton:_0x21b5e4}=_0x4e9522,{scene:_0x2e3570}=this['_context'];_0x2e3570[_0x47467b(0x487)][_0x47467b(0x54e)](a[_0x47467b(0x514)](_0x291cba=>{const _0x21f3eb=_0x47467b;var _0x58a7d5,_0x8c5e14;const {offsetX:_0x5c185a,offsetY:_0x3d0833}=_0x291cba,{x:_0x23d7d0,y:_0x3208d1}=_0x2e3570[_0x21f3eb(0x525)](K[_0x21f3eb(0x19d)][_0x21f3eb(0x355)]([_0x5c185a,_0x3d0833])),{scaleX:_0x323a4e,scaleY:_0xdcd240}=_0x2e3570[_0x21f3eb(0x2df)](),_0x35ef97=_0x2e3570['getViewport'](Re[_0x21f3eb(0x33e)]['VIEW_MAIN']),_0x3ad599=_0x2e3570[_0x21f3eb(0x2a6)](K[_0x21f3eb(0x19d)][_0x21f3eb(0x355)]([_0x23d7d0,_0x3208d1]),_0x35ef97),_0x8d9434=_0x21b5e4[_0x21f3eb(0x2d5)](_0x5c185a,_0x3d0833,_0x323a4e,_0xdcd240,_0x3ad599);((_0x58a7d5=this[_0x21f3eb(0x4a8)])==null?void 0x0:_0x58a7d5[_0x21f3eb(0x2ef)])===_0x8d9434[_0x21f3eb(0x2ef)]&&((_0x8c5e14=this[_0x21f3eb(0x4a8)])==null?void 0x0:_0x8c5e14['row'])===_0x8d9434[_0x21f3eb(0x4a9)]||this[_0x21f3eb(0x3da)][_0x21f3eb(0x2d8)](_0x214066=>{_0x214066['onMouseMove'](_0x8d9434);});},0x64));});}[_0x38c3ff(0x3a3)](_0x286771,_0x15097c){const _0x405e0f=_0x38c3ff;var _0x126c1c;const _0xc1e4b6=(_0x126c1c=this['_sheetSkeletonManagerService'][_0x405e0f(0x2d4)]())==null?void 0x0:_0x126c1c[_0x405e0f(0x1ab)];if(!_0xc1e4b6)return;const _0x1d2f0e=this[_0x405e0f(0x4db)]();if(!_0x1d2f0e)return;this['_cursors'][_0x405e0f(0x2d8)](_0x3ef6d4=>{const _0x2a37cb=_0x405e0f;_0x3ef6d4[_0x2a37cb(0x22d)]();});const {scene:_0x2213e9}=_0x1d2f0e,_0x1dcfd8=Cs(Array[_0x405e0f(0x5ae)](_0x15097c['values']()))[_0x405e0f(0x4d7)](_0x4b3688=>{const _0x593bc4=_0x405e0f,{color:_0x389010,range:_0x29e87c,name:_0x5b6a20,selection:_0x1bb8f8,sheetID:_0x3b1f7e}=_0x4b3688,{startColumn:_0x37d1dd,startRow:_0xa33a94,endColumn:_0x149e77,endRow:_0x68a72d}=_0x29e87c,_0x5ce91b=Re[_0x593bc4(0x383)](_0xa33a94,_0x37d1dd,_0x2213e9,_0xc1e4b6),_0x16f92f=Re['getCoordByCell'](_0x68a72d,_0x149e77,_0x2213e9,_0xc1e4b6),{columnHeaderHeightAndMarginTop:_0x47d2ce}=_0xc1e4b6,{startX:_0x33cdfd,startY:_0x98a6b9}=_0x5ce91b,{endX:_0x319eb5,endY:_0x51d097}=_0x16f92f,_0x4408f6=_0x319eb5-_0x33cdfd,_0x2660a4=_0x51d097-_0x98a6b9,_0x3fa25e={'labelPosition':_0x98a6b9-_0x47d2ce>=Le?_0x593bc4(0x242):_0x593bc4(0x449),'sheetID':_0x3b1f7e,'range':_0x29e87c,'color':_0x389010,'name':_0x5b6a20,'selection':_0x1bb8f8,'left':_0x33cdfd,'top':_0x98a6b9,'width':_0x4408f6,'height':_0x2660a4,'evented':!0x1,'zIndex':Is};return new Sn(_0x5b6a20,_0x3fa25e);});_0x2213e9[_0x405e0f(0x2a1)](_0x1dcfd8,vs),this['_cursors']=new Set(_0x1dcfd8);}[_0x38c3ff(0x230)](){const _0x2cd62f=_0x38c3ff;var _0x1a2037;(_0x1a2037=this[_0x2cd62f(0x3da)])==null||_0x1a2037['forEach'](_0x4e1b4d=>_0x4e1b4d[_0x2cd62f(0x2da)]());}[_0x38c3ff(0x4db)](){const _0x59e498=_0x38c3ff;return Re[_0x59e498(0x563)](this[_0x59e498(0x268)]['unit'],this[_0x59e498(0x268)]);}};gt=gs([ot(0x1,a[_0x38c3ff(0x2af)](Re[_0x38c3ff(0x55c)])),ot(0x2,a[_0x38c3ff(0x2af)](De)),ot(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x3a4)]))],gt);function Cs(_0x20df60){const _0x1087c2=_0x38c3ff,_0x402d2d=new Map();return _0x20df60[_0x1087c2(0x2d8)](_0x1ee53a=>{const _0x199240=_0x1087c2;if(_0x402d2d[_0x199240(0x599)](_0x1ee53a[_0x199240(0x2f2)])){const _0x21126b=_0x402d2d[_0x199240(0x585)](_0x1ee53a[_0x199240(0x2f2)]);_0x21126b['name']+=',\x20'+_0x1ee53a[_0x199240(0x503)];}else _0x402d2d[_0x199240(0x3e8)](_0x1ee53a[_0x199240(0x2f2)],_0x1ee53a);}),Array[_0x1087c2(0x5ae)](_0x402d2d[_0x1087c2(0x1f7)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x3b47df){const _0x3f5b3f=_0x38c3ff;return _0x3b47df&&_0x3b47df[_0x3f5b3f(0x27b)]&&Object[_0x3f5b3f(0x39b)]['hasOwnProperty'][_0x3f5b3f(0x420)](_0x3b47df,_0x3f5b3f(0x1e9))?_0x3b47df[_0x3f5b3f(0x1e9)]:_0x3b47df;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol['for'](_0x38c3ff(0x4e3)),Ts=Symbol[_0x38c3ff(0x1cc)](_0x38c3ff(0x515)),Rs=Object[_0x38c3ff(0x39b)][_0x38c3ff(0x390)],ys=Es[_0x38c3ff(0x204)][_0x38c3ff(0x2be)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x331ce1,_0x37772c,_0x5583ea){const _0x1d4112=_0x38c3ff;var _0x4114e1,_0x507178={},_0xfa0e6a=null,_0x19f63d=null;_0x5583ea!==void 0x0&&(_0xfa0e6a=''+_0x5583ea),_0x37772c[_0x1d4112(0x5d1)]!==void 0x0&&(_0xfa0e6a=''+_0x37772c[_0x1d4112(0x5d1)]),_0x37772c[_0x1d4112(0x427)]!==void 0x0&&(_0x19f63d=_0x37772c['ref']);for(_0x4114e1 in _0x37772c)Rs['call'](_0x37772c,_0x4114e1)&&!Os[_0x1d4112(0x390)](_0x4114e1)&&(_0x507178[_0x4114e1]=_0x37772c[_0x4114e1]);if(_0x331ce1&&_0x331ce1[_0x1d4112(0x607)]){for(_0x4114e1 in(_0x37772c=_0x331ce1[_0x1d4112(0x607)],_0x37772c))_0x507178[_0x4114e1]===void 0x0&&(_0x507178[_0x4114e1]=_0x37772c[_0x4114e1]);}return{'$$typeof':bs,'type':_0x331ce1,'key':_0xfa0e6a,'ref':_0x19f63d,'props':_0x507178,'_owner':ys['current']};}Xe[_0x38c3ff(0x1e3)]=Ts,Xe[_0x38c3ff(0x5c5)]=gn,Xe['jsxs']=gn,pn[_0x38c3ff(0x1a9)]=Xe;var pe=pn[_0x38c3ff(0x1a9)],Q=function(){const _0x952181=_0x38c3ff;return Q=Object[_0x952181(0x4e0)]||function(_0x3086b3){const _0x102f13=_0x952181;for(var _0x16930b,_0x46377e=0x1,_0x277de1=arguments['length'];_0x46377e<_0x277de1;_0x46377e++){_0x16930b=arguments[_0x46377e];for(var _0x415413 in _0x16930b)Object['prototype'][_0x102f13(0x390)]['call'](_0x16930b,_0x415413)&&(_0x3086b3[_0x415413]=_0x16930b[_0x415413]);}return _0x3086b3;},Q[_0x952181(0x21e)](this,arguments);},Ds=function(_0x4e8f73,_0x5cbb5a){const _0x5eddab=_0x38c3ff;var _0x2b28e3={};for(var _0x2574d4 in _0x4e8f73)Object[_0x5eddab(0x39b)][_0x5eddab(0x390)][_0x5eddab(0x420)](_0x4e8f73,_0x2574d4)&&_0x5cbb5a[_0x5eddab(0x4da)](_0x2574d4)<0x0&&(_0x2b28e3[_0x2574d4]=_0x4e8f73[_0x2574d4]);if(_0x4e8f73!=null&&typeof Object['getOwnPropertySymbols']==_0x5eddab(0x226)){for(var _0x2df2dd=0x0,_0x2574d4=Object[_0x5eddab(0x34b)](_0x4e8f73);_0x2df2dd<_0x2574d4[_0x5eddab(0x58c)];_0x2df2dd++)_0x5cbb5a[_0x5eddab(0x4da)](_0x2574d4[_0x2df2dd])<0x0&&Object[_0x5eddab(0x39b)][_0x5eddab(0x3c5)][_0x5eddab(0x420)](_0x4e8f73,_0x2574d4[_0x2df2dd])&&(_0x2b28e3[_0x2574d4[_0x2df2dd]]=_0x4e8f73[_0x2574d4[_0x2df2dd]]);}return _0x2b28e3;},Dt=ae['forwardRef'](function(_0x2cbc04,_0x13d6ee){const _0x3076d9=_0x38c3ff;var _0x109959=_0x2cbc04[_0x3076d9(0x58a)],_0x5b0f37=_0x2cbc04['id'],_0xc4280f=_0x2cbc04[_0x3076d9(0x5e6)],_0x59a962=_0x2cbc04[_0x3076d9(0x523)],_0x502dce=Ds(_0x2cbc04,[_0x3076d9(0x58a),'id','className',_0x3076d9(0x523)]),_0x300de7=_0x3076d9(0x642)[_0x3076d9(0x3f0)](_0x5b0f37,'\x20')['concat'](_0xc4280f||'')[_0x3076d9(0x231)](),_0x484ce0=ae[_0x3076d9(0x443)]('_'[_0x3076d9(0x3f0)](Us()));return In(_0x109959,''[_0x3076d9(0x3f0)](_0x5b0f37),{'defIds':_0x109959[_0x3076d9(0x212)],'idSuffix':_0x484ce0[_0x3076d9(0x519)]},Q({'ref':_0x13d6ee,'className':_0x300de7},_0x502dce),_0x59a962);});function In(_0x4bc043,_0x2f5edd,_0xacedcf,_0x57c76f,_0x555a94){const _0x3803a5=_0x38c3ff;return ae[_0x3803a5(0x419)](_0x4bc043['tag'],Q(Q({'key':_0x2f5edd},ws(_0x4bc043,_0xacedcf,_0x555a94)),_0x57c76f),(Ps(_0x4bc043,_0xacedcf)['children']||[])[_0x3803a5(0x4d7)](function(_0x39072c,_0x33472d){const _0x51b4ea=_0x3803a5;return In(_0x39072c,''[_0x51b4ea(0x3f0)](_0x2f5edd,'-')[_0x51b4ea(0x3f0)](_0x4bc043[_0x51b4ea(0x3de)],'-')[_0x51b4ea(0x3f0)](_0x33472d),_0xacedcf,void 0x0,_0x555a94);}));}function ws(_0x2e2ddf,_0x4ea732,_0x5be140){const _0x68a7d1=_0x38c3ff;var _0x39b016=Q({},_0x2e2ddf[_0x68a7d1(0x532)]);_0x5be140!=null&&_0x5be140['colorChannel1']&&_0x39b016[_0x68a7d1(0x422)]===_0x68a7d1(0x569)&&(_0x39b016['fill']=_0x5be140[_0x68a7d1(0x569)]);var _0x46d89b=_0x4ea732[_0x68a7d1(0x212)];return!_0x46d89b||_0x46d89b[_0x68a7d1(0x58c)]===0x0||(_0x2e2ddf[_0x68a7d1(0x3de)]==='use'&&_0x39b016[_0x68a7d1(0x395)]&&(_0x39b016['xlink:href']=_0x39b016[_0x68a7d1(0x395)]+_0x4ea732[_0x68a7d1(0x3c7)]),Object[_0x68a7d1(0x56c)](_0x39b016)['forEach'](function(_0x3fdad1){const _0x4f5877=_0x68a7d1;var _0x268bfc=_0x3fdad1[0x0],_0x1063ee=_0x3fdad1[0x1];typeof _0x1063ee==_0x4f5877(0x53c)&&(_0x39b016[_0x268bfc]=_0x1063ee[_0x4f5877(0x346)](/url\(#(.*)\)/,_0x4f5877(0x238)[_0x4f5877(0x3f0)](_0x4ea732[_0x4f5877(0x3c7)],')')));})),_0x39b016;}function Ps(_0x9e2f5f,_0x1eede9){const _0x3396cc=_0x38c3ff;var _0xed6edf,_0xb680e5=_0x1eede9[_0x3396cc(0x212)];return!_0xb680e5||_0xb680e5[_0x3396cc(0x58c)]===0x0?_0x9e2f5f:_0x9e2f5f['tag']===_0x3396cc(0x1dc)&&(!((_0xed6edf=_0x9e2f5f[_0x3396cc(0x495)])===null||_0xed6edf===void 0x0)&&_0xed6edf['length'])?Q(Q({},_0x9e2f5f),{'children':_0x9e2f5f['children'][_0x3396cc(0x4d7)](function(_0x2ee499){const _0x4e9715=_0x3396cc;return typeof _0x2ee499['attrs']['id']==_0x4e9715(0x53c)&&_0xb680e5&&_0xb680e5['indexOf'](_0x2ee499[_0x4e9715(0x532)]['id'])>-0x1?Q(Q({},_0x2ee499),{'attrs':Q(Q({},_0x2ee499[_0x4e9715(0x532)]),{'id':_0x2ee499['attrs']['id']+_0x1eede9['idSuffix']})}):_0x2ee499;})}):_0x9e2f5f;}function Us(){const _0x4cac0d=_0x38c3ff;return Math['random']()[_0x4cac0d(0x459)](0x24)[_0x4cac0d(0x214)](0x2,0x8);}Dt[_0x38c3ff(0x48d)]=_0x38c3ff(0x45b);var Ms={'tag':_0x38c3ff(0x418),'attrs':{'fill':_0x38c3ff(0x558),'viewBox':_0x38c3ff(0x570),'width':_0x38c3ff(0x5c2),'height':_0x38c3ff(0x5c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x38c3ff(0x3e0)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'stroke':_0x38c3ff(0x297),'d':_0x38c3ff(0x1d7),'strokeLinecap':_0x38c3ff(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38c3ff(0x4a0)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'fill':_0x38c3ff(0x375),'d':_0x38c3ff(0x2fa)}}]}]}],'defIds':[_0x38c3ff(0x4a0)]},Cn=ae['forwardRef'](function(_0x1be1b5,_0x36a1c1){const _0x3b9d6b=_0x38c3ff;return ae[_0x3b9d6b(0x419)](Dt,Object[_0x3b9d6b(0x4e0)]({},_0x1be1b5,{'id':_0x3b9d6b(0x5d8),'ref':_0x36a1c1,'icon':Ms}));});Cn[_0x38c3ff(0x48d)]=_0x38c3ff(0x1e1);var As={'tag':_0x38c3ff(0x418),'attrs':{'fill':_0x38c3ff(0x558),'viewBox':_0x38c3ff(0x61d),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38c3ff(0x445)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x38c3ff(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38c3ff(0x583),'attrs':{'id':_0x38c3ff(0x589)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'fill':_0x38c3ff(0x375),'d':_0x38c3ff(0x2fa),'transform':'translate(.97)'}}]}]}],'defIds':[_0x38c3ff(0x589)]},En=ae[_0x38c3ff(0x616)](function(_0x21f60d,_0x4f3d1c){const _0x1a1ddf=_0x38c3ff;return ae[_0x1a1ddf(0x419)](Dt,Object[_0x1a1ddf(0x4e0)]({},_0x21f60d,{'id':_0x1a1ddf(0x593),'ref':_0x4f3d1c,'icon':As}));});En['displayName']=_0x38c3ff(0x351);function bn(_0x211edc){const _0x55a5b1=_0x38c3ff;var _0x29f5a0,_0x2eb39e,_0x1401ad='';if(typeof _0x211edc=='string'||typeof _0x211edc==_0x55a5b1(0x615))_0x1401ad+=_0x211edc;else{if(typeof _0x211edc=='object'){if(Array[_0x55a5b1(0x32a)](_0x211edc)){var _0x4562d0=_0x211edc[_0x55a5b1(0x58c)];for(_0x29f5a0=0x0;_0x29f5a0<_0x4562d0;_0x29f5a0++)_0x211edc[_0x29f5a0]&&(_0x2eb39e=bn(_0x211edc[_0x29f5a0]))&&(_0x1401ad&&(_0x1401ad+='\x20'),_0x1401ad+=_0x2eb39e);}else{for(_0x2eb39e in _0x211edc)_0x211edc[_0x2eb39e]&&(_0x1401ad&&(_0x1401ad+='\x20'),_0x1401ad+=_0x2eb39e);}}}return _0x1401ad;}function Ns(){const _0x375165=_0x38c3ff;for(var _0x295fdf,_0x1c1c0b,_0x37f399=0x0,_0x1628b2='',_0x47fce7=arguments[_0x375165(0x58c)];_0x37f399<_0x47fce7;_0x37f399++)(_0x295fdf=arguments[_0x37f399])&&(_0x1c1c0b=bn(_0x295fdf))&&(_0x1628b2&&(_0x1628b2+='\x20'),_0x1628b2+=_0x1c1c0b);return _0x1628b2;}const Ls=_0x38c3ff(0x35e),xs=_0x38c3ff(0x4e9),js='univer-online-status',$s='univer-online',Hs='univer-offline',Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x718ace){const _0x324a9a=_0x38c3ff;switch(_0x718ace){case q[_0x324a9a(0x33f)]:return'collabStatus.offline';case q[_0x324a9a(0x348)]:return _0x324a9a(0x2fd);case q[_0x324a9a(0x61e)]:return'collabStatus.fetchMiss';case q[_0x324a9a(0x1a1)]:return _0x324a9a(0x2ae);case q['AWAITING']:case q[_0x324a9a(0x535)]:return _0x324a9a(0x457);case q[_0x324a9a(0x63f)]:case q[_0x324a9a(0x426)]:return _0x324a9a(0x5db);}}function Tn(_0x5d25ea){const _0xc3233c=_0x38c3ff,{status$:_0xb05c87}=_0x5d25ea,_0x5a1f71=ee[_0xc3233c(0x21f)](_0xb05c87,q[_0xc3233c(0x1a1)]),_0x1159df=a[_0xc3233c(0x644)](a[_0xc3233c(0x222)]),_0x2ce4d2=a[_0xc3233c(0x644)](exports[_0xc3233c(0x1f6)]),_0x1d71d2=_0x5a1f71!==q[_0xc3233c(0x33f)],_0x1fa950=_0x1159df['t'](Bs(_0x5a1f71)),_0x1024c6=Ns(Me[_0xc3233c(0x602)],{[Me['online']]:_0x1d71d2,[Me[_0xc3233c(0x647)]]:!_0x1d71d2}),_0x3ef05b=_0x1d71d2?pe[_0xc3233c(0x5c5)](En,{}):pe[_0xc3233c(0x5c5)](Cn,{}),_0x4102f5=ae[_0xc3233c(0x1af)](()=>{_0x1d71d2||_0x2ce4d2['reconnect']();},[_0x1d71d2,_0x2ce4d2]);function _0x5caf4c(){const _0x3e6ead=_0xc3233c;return pe[_0x3e6ead(0x3bd)](_0x3e6ead(0x3d9),{'className':_0x1024c6,'onClick':_0x4102f5,'children':[pe[_0x3e6ead(0x5c5)]('div',{'className':Me[_0x3e6ead(0x430)],'children':_0x3ef05b}),pe[_0x3e6ead(0x5c5)](_0x3e6ead(0x3d9),{'className':Me[_0x3e6ead(0x5c8)],'children':_0x1fa950})]});}return _0x1d71d2?_0x5caf4c():pe[_0xc3233c(0x5c5)](ge['Tooltip'],{'title':_0x1159df['t'](_0xc3233c(0x591)),'children':_0x5caf4c()});}var ks=Object[_0x38c3ff(0x1c1)],Ws=Object[_0x38c3ff(0x336)],Fs=(_0x3a7183,_0x292ebe,_0x518da8,_0x2ce189)=>{const _0x1c77d4=_0x38c3ff;for(var _0x39f764=_0x2ce189>0x1?void 0x0:_0x2ce189?Ws(_0x292ebe,_0x518da8):_0x292ebe,_0x2f83fd=_0x3a7183[_0x1c77d4(0x58c)]-0x1,_0x3f4a15;_0x2f83fd>=0x0;_0x2f83fd--)(_0x3f4a15=_0x3a7183[_0x2f83fd])&&(_0x39f764=(_0x2ce189?_0x3f4a15(_0x292ebe,_0x518da8,_0x39f764):_0x3f4a15(_0x39f764))||_0x39f764);return _0x2ce189&&_0x39f764&&ks(_0x292ebe,_0x518da8,_0x39f764),_0x39f764;},$e=(_0x41c262,_0x34d5bb)=>(_0x179103,_0x24e84e)=>_0x34d5bb(_0x179103,_0x24e84e,_0x41c262);exports[_0x38c3ff(0x4e6)]=class extends a['Disposable']{constructor(_0x541149,_0x3b5793,_0x26acbb,_0x4ef1cd){const _0x236bd2=_0x38c3ff;super(),I(this,_0x236bd2(0x586),new A[(_0x236bd2(0x4fc))](q['NOT_COLLAB'])),(this[_0x236bd2(0x393)]=_0x541149,this[_0x236bd2(0x3f2)]=_0x3b5793,this[_0x236bd2(0x3b6)]=_0x26acbb,this['_collaborationController']=_0x4ef1cd,this[_0x236bd2(0x2bb)](),this[_0x236bd2(0x374)]());}[_0x38c3ff(0x374)](){const _0x1cb771=_0x38c3ff;this['disposeWithMe'](this[_0x1cb771(0x393)][_0x1cb771(0x5e7)]['pipe'](A[_0x1cb771(0x5fa)](()=>{const _0x301558=_0x1cb771,_0x36065b=this[_0x301558(0x393)]['getFocusedUnit']();return _0x36065b?this['_collaborationController'][_0x301558(0x467)](_0x36065b['getUnitId']()):A['of'](null);}),A[_0x1cb771(0x5fa)](_0x147862=>_0x147862?_0x147862[_0x1cb771(0x5e4)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x299b9b=>{const _0x381641=_0x1cb771;this[_0x381641(0x586)][_0x381641(0x4c4)](_0x299b9b);}));}[_0x38c3ff(0x2bb)](){const _0x4e1927=_0x38c3ff;this[_0x4e1927(0x4bd)](this[_0x4e1927(0x3f2)][_0x4e1927(0x40b)](ee[_0x4e1927(0x4d8)]['HEADER_MENU'],()=>a[_0x4e1927(0x47a)](Vs({'status$':this[_0x4e1927(0x586)][_0x4e1927(0x4a7)]()}),this[_0x4e1927(0x3b6)])));}},exports[_0x38c3ff(0x4e6)]=Fs([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee['IUIPartsService']),$e(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),$e(0x3,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x571)]))],exports[_0x38c3ff(0x4e6)]);function Vs(_0xe9339){const {status$:_0x1b82f9}=_0xe9339;return function(){const _0x3e69a4=_0x4762;return pe[_0x3e69a4(0x5c5)](Tn,{'status$':_0x1b82f9});};}const wt=a[_0x38c3ff(0x275)](_0x38c3ff(0x444));var Gs=Object[_0x38c3ff(0x1c1)],Ys=Object[_0x38c3ff(0x336)],Ks=(_0x2473fa,_0x31a65d,_0x8279e1,_0x1b7432)=>{const _0xd5aef7=_0x38c3ff;for(var _0x55c5bb=_0x1b7432>0x1?void 0x0:_0x1b7432?Ys(_0x31a65d,_0x8279e1):_0x31a65d,_0x20b4f8=_0x2473fa[_0xd5aef7(0x58c)]-0x1,_0x1065e4;_0x20b4f8>=0x0;_0x20b4f8--)(_0x1065e4=_0x2473fa[_0x20b4f8])&&(_0x55c5bb=(_0x1b7432?_0x1065e4(_0x31a65d,_0x8279e1,_0x55c5bb):_0x1065e4(_0x55c5bb))||_0x55c5bb);return _0x1b7432&&_0x55c5bb&&Gs(_0x31a65d,_0x8279e1,_0x55c5bb),_0x55c5bb;},Te=(_0x50210e,_0x3ade49)=>(_0x533b19,_0x1f4623)=>_0x3ade49(_0x533b19,_0x1f4623,_0x50210e);exports[_0x38c3ff(0x388)]=class extends a[_0x38c3ff(0x22c)]{constructor(_0x4ab995,_0x193323,_0x1dcc3e,_0x27266f,_0xf3ac,_0x979e6d){const _0x35d466=_0x38c3ff;super(),this['_urlService']=_0x4ab995,this[_0x35d466(0x4ce)]=_0x193323,this[_0x35d466(0x4f6)]=_0x1dcc3e,this[_0x35d466(0x2ac)]=_0x27266f,this[_0x35d466(0x1ba)]=_0xf3ac,_0x979e6d?_0x979e6d==null||_0x979e6d[_0x35d466(0x1a6)]()[_0x35d466(0x1fb)](()=>this[_0x35d466(0x596)]()):(this['_logService'][_0x35d466(0x405)]('[DataLoaderController]',_0x35d466(0x2e3)),this[_0x35d466(0x596)]());}async[_0x38c3ff(0x596)](){const _0x41b2b8=_0x38c3ff,_0x595434=this[_0x41b2b8(0x414)][_0x41b2b8(0x400)](_0x41b2b8(0x4ea)),_0x2e0e5a=this[_0x41b2b8(0x414)][_0x41b2b8(0x400)](_0x41b2b8(0x42a));if(!_0x595434||!_0x2e0e5a){this[_0x41b2b8(0x4ce)][_0x41b2b8(0x405)](_0x41b2b8(0x343),_0x41b2b8(0x331));return;}switch(Number(_0x2e0e5a)){case ie[_0x41b2b8(0x23d)]:{const _0x3c55b7=await this[_0x41b2b8(0x456)](_0x595434);this[_0x41b2b8(0x4dc)](_0x3c55b7);break;}case ie['UNIVER_DOC']:{await this[_0x41b2b8(0x1ad)](_0x595434);break;}default:{this[_0x41b2b8(0x4ce)][_0x41b2b8(0x55e)]('[DataLoaderController]',_0x41b2b8(0x474));break;}}}async[_0x38c3ff(0x4dc)](_0x54df3d){const _0xa052ea=_0x38c3ff;await this[_0xa052ea(0x4f8)](_0x54df3d),_0x54df3d[_0xa052ea(0x608)][_0xa052ea(0x57b)](A[_0xa052ea(0x3fb)](this[_0xa052ea(0x5ff)]))[_0xa052ea(0x47b)](_0x112d49=>{const _0x279f63=_0xa052ea;_0x112d49&&this[_0x279f63(0x47c)](_0x112d49);}),this[_0xa052ea(0x414)]['urlChange$'][_0xa052ea(0x57b)](A['takeUntil'](this['dispose$']))[_0xa052ea(0x47b)](()=>this[_0xa052ea(0x4f8)](_0x54df3d));}[_0x38c3ff(0x47c)](_0x50e031,_0x5c0f39=!0x1){const _0x19a7d8=_0x38c3ff,_0xf408b9=this[_0x19a7d8(0x414)]['getParam']('subunit');_0x50e031[_0x19a7d8(0x5f0)]()!==_0xf408b9&&this[_0x19a7d8(0x414)][_0x19a7d8(0x37d)]('subunit',_0x50e031[_0x19a7d8(0x5f0)](),_0x5c0f39);}async[_0x38c3ff(0x4f8)](_0x3355e0){const _0x10cfb2=_0x38c3ff;var _0x498afe;const _0x5b1ceb=this[_0x10cfb2(0x414)][_0x10cfb2(0x400)]('subunit');if(!_0x5b1ceb||!_0x3355e0[_0x10cfb2(0x2b5)](_0x5b1ceb)){const _0x36d9de=_0x3355e0[_0x10cfb2(0x650)]()[0x0],_0x488415=_0x3355e0[_0x10cfb2(0x2b5)](_0x36d9de);if(!_0x488415)return;this['_updateURLWithCurrentState'](_0x488415,!0x0),await this[_0x10cfb2(0x4f6)][_0x10cfb2(0x4fe)](k[_0x10cfb2(0x384)]['id'],{'unitId':_0x3355e0['getUnitId'](),'subUnitId':_0x36d9de});return;}((_0x498afe=_0x3355e0['getActiveSheet']())==null?void 0x0:_0x498afe[_0x10cfb2(0x5f0)]())!==_0x5b1ceb&&await this[_0x10cfb2(0x4f6)]['executeCommand'](k[_0x10cfb2(0x384)]['id'],{'unitId':_0x3355e0['getUnitId'](),'subUnitId':_0x5b1ceb});}async[_0x38c3ff(0x456)](_0x21d87b){const _0x5f134f=_0x38c3ff;let _0x33646d=0x0;const _0x4d5c9f=await this[_0x5f134f(0x2ac)]['loadOfflineData'](_0x21d87b);return _0x4d5c9f&&(_0x4d5c9f[_0x5f134f(0x64b)]||_0x4d5c9f[_0x5f134f(0x1cd)][_0x5f134f(0x58c)]!==0x0)&&(_0x33646d=_0x4d5c9f[_0x5f134f(0x436)]),_0x33646d===0x0&&this['_logService'][_0x5f134f(0x405)](_0x5f134f(0x343),_0x5f134f(0x21d)),this['_snapshotService']['loadSheet'](_0x21d87b,_0x33646d);}async[_0x38c3ff(0x1ad)](_0x38859d){const _0x4ea284=_0x38c3ff;let _0x115540=0x0;const _0x20e260=await this[_0x4ea284(0x2ac)][_0x4ea284(0x1f2)](_0x38859d);return _0x20e260&&(_0x20e260[_0x4ea284(0x64b)]||_0x20e260[_0x4ea284(0x1cd)][_0x4ea284(0x58c)]!==0x0)&&(_0x115540=_0x20e260[_0x4ea284(0x436)]),_0x115540===0x0&&this[_0x4ea284(0x4ce)]['debug']('[DataLoaderController]',_0x4ea284(0x21d)),this[_0x4ea284(0x1ba)]['loadDoc'](_0x38859d,_0x115540);}},exports[_0x38c3ff(0x388)]=Ks([Te(0x0,wt),Te(0x1,a['ILogService']),Te(0x2,a[_0x38c3ff(0x439)]),Te(0x3,a['Inject'](exports[_0x38c3ff(0x227)])),Te(0x4,a[_0x38c3ff(0x2af)](S['SnapshotService'])),Te(0x5,a[_0x38c3ff(0x5e2)]($n['IRemoteInstanceService']))],exports[_0x38c3ff(0x388)]);var qs=Object[_0x38c3ff(0x1c1)],zs=Object[_0x38c3ff(0x336)],Xs=(_0x1da89c,_0x5a93eb,_0x401bc7,_0x1738c5)=>{const _0xe89e67=_0x38c3ff;for(var _0x5852fe=_0x1738c5>0x1?void 0x0:_0x1738c5?zs(_0x5a93eb,_0x401bc7):_0x5a93eb,_0x3eac63=_0x1da89c[_0xe89e67(0x58c)]-0x1,_0x5093ee;_0x3eac63>=0x0;_0x3eac63--)(_0x5093ee=_0x1da89c[_0x3eac63])&&(_0x5852fe=(_0x1738c5?_0x5093ee(_0x5a93eb,_0x401bc7,_0x5852fe):_0x5093ee(_0x5852fe))||_0x5852fe);return _0x1738c5&&_0x5852fe&&qs(_0x5a93eb,_0x401bc7,_0x5852fe),_0x5852fe;},kt=(_0x22c0c8,_0x23b69d)=>(_0x22b91c,_0x158339)=>_0x23b69d(_0x22b91c,_0x158339,_0x22c0c8);function _0x2079(){const _0x4bc825=['c1Prime','shouldCloseConn','extend','blockSize','getRelativeToViewportCoord','_send','1476423OZpQHe','_onConnectionFailed','ITelemetryService','permissionRejEvent','Hasher','_onLocalMutation','csShouldRetryEvent','collaboration-client.offline-data-not-saved','copyFileMeta','objectID','pad','attrs','objectType','_transformRemoteChangesetByIMECache','AWAITING_WITH_PENDING','_createHmacHelper','@univerjs/telemetry','Utf8','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','cfg','string','updateCollaborator','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','registerHTTPInterceptor','_schedule','SheetCollaborationEntity','_onRemoteRejected','joinRsp','_getSendChangesetTimeout','MergeInterceptorFactory','UNRECOGNIZED','toLowerCase','_exhaustRemoteChangesetQueue','compose','_docTransformStateCacheService','_permissionService','abs','drawWith','subscribeEvent','InsertSheetMutation','_anchor','readInt32LE','mixIn','_saveCache','_updateState','&assign=','getConfig','_handleHeartbeatEvent','none','byteLength','encryptBlock','socket\x20open.','SheetSkeletonManagerService','pauseCollaboration','error','snapshotServerUrl','append','onRendered','_waitCount','getSheetObject','serializeCombRequest','@univerjs/docs-ui','_onCombEvent','NOT_FOUND','updatePermissionPoint','colorChannel1','slice','SetSelectionsOperation','entries','/universer-api/snapshot','rng','online','0\x200\x2016\x2016','CollaborationController','_state$','title','connection\x20error','AWAITING','filter','disposeUnit','6ViWsqq','UNIVER_COLLABORATION_CLIENT_PLUGIN','symbol','pipe','[CollaborationSession]','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_SHOULD_RETRY','_colorIndex','HttpExport','_socket$','RemoveRowCommandId','clipPath','_unitID','get','_status$','fetch_missing','reject','on-line-single_clip0_910_349','icon','_startDocCollabCursor','length','_session','UNIVER_UNKNOWN','_key','Rect','collab-client.tooltip.reconnect','getCollabCursors$','on-line-single','Undefined','params','_init','EffectRefRangId','text','has','createCollaborator','padding','/allowed','ERROR_EXCEED_SIZE','onPointerEnter$','LIVESHARE_TERMINATE','startTime','_color','InsertRangeMoveDownCommandId','sequenceExecute','_initResize','unshift','_onCursorDelete','transformRemoteChangeset','_httpService','_createInitialState','fromEvent','_reverseMap','textEncoder','DisposableCollection','from','socketService','_type','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setShapeProps','getDocRanges','UNAUTHENTICATED','registerRefRange','MD5','transformStack\x20failed!','msCrypto','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','getOffsetConfig','send','fillText','$super','_cachedData','getUnitStatus$','_transformStateCache','1em','deleteCollaborator','InsertRangeMoveRightCommandId','jsx','COMMENT_UPDATE','_clearOtherTimers','onlineStatusTitle','SEND_CHANGESET_TIMEOUT','_docStateChangeManagerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','kdf','_colorAssignService','CollaborationStatus','_drawRectRange','getRandomValues','key','_docSkeletonManagerService','/role','isTransformMutationsWithChangesetFailure','onStarting','IMessageService','_replaceFileID','off-line-single','[CollaborationState]:\x20apply\x20error!','getStateCache','collabStatus.synced','_handleJoinEvent','visibilitychange','LOCAL_CACHE_INTERVAL','getActiveRange','USERS_LEAVE','NodePositionConvertToRectRange','Optional','_handleEvent','status$','Plugin','className','focused$','newCsEvent','mapDocumentTypeToUniverType','ImageIoService','routeKey','NEW_CHANGESETS','NodePositionConvertToCursor','WebURLService','_oKey','getSheetId','EvpKDF','parseProtocolChangeset','INVALID_ARGUMENT','algo','getRenderById','leaveEvent','sheetID','_queuedRemoteChangesets','_showConflictNotification','switchMap','_drawAnchor','_append','collab-text-anchor-','DocSelectionManagerService','dispose$','_keyPriorReset','_roomMembers$','onlineStatus','HMAC','event$','labelPosition','_resendWithTimeout','defaultProps','activeSheet$','selections','onTransformSelections','replaceDocRanges','INTERNAL_ERROR','setInterval','_getRedoStack','getActiveSheet','_process','setAlpha','encrypt','_backgroundColor','conflict','number','forwardRef','updatePermissionObjEvent','collaboration-session-retry','update','close','UniverCollaborationPlugin','_getSignURL','0\x200\x2017\x2016','FETCH_MISS','[SyncedState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','COMPLETION_FINISHED','[SyncedState]:\x20received\x20rejection.','revision','_transformPreviousActiveRange','onRemoteAck','ILogService','HTTPService','getImage','b64DecodeUnicode','_config','_scheduleClearOtherTimer','registerBeforeClose','_disableEditing','lineTo','backgroundColor','_initUnitPermissionChange','JOINING','onMissedChangesetFetched','hidden','transformMutation','_onRefRangeChange','delay','readAsDataURL','APPLY_REVISION_CONFILICT','_selfUnitIDs','LICENSE_DISTRO_REJECTED','restore','lib','_initCloseConn','randomUUID','SYNCED','_sessionStatus$','SHOULD_CLOSE_CONN','univerjs-icon\x20univerjs-icon-','find','useDependency','HmacSHA1','message$','offline','SHA1','UNIVER_DOC','onSendChangeset','awaitingChangeset','ranges','pending','reconnect','_stopTelemetryCollaborationNewChangeset','getUnhiddenWorksheets','[CollaborationSessionService]','substr','_instanceService','handleDeleteRangeMoveLeft','touchDependencies','BufferedBlockAlgorithm','addEventListener','_collaborationPaused','error$','_parse','crypto','randomBytes','getUnitOnRev','_onMessage','bind','_initCommandExecutedListener','APPLY_NON_SEQUENTIAL_REVISION','collab-rect-range-','_onUserJoin','Vector2','getMergeData','24vUeLge','onRemoteChangeset','NOT_COLLAB','finalize','_ensureSubject','_removeRoom','_onConnectionOpen','whenReady','_draw','Disposable','exports','_memberService','skeleton','setShowComponents','_loadDoc','handleInsertRangeMoveRight','useCallback','@univerjs/ui','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DocSkeletonManagerService','_syncEditingCollabCursorService','ONLINE','popstate','/resources','_transformSelections','registerOnClose','clone','_snapshotService','7523408xEkiYW','IUndoRedoService','ReplaySubject','docStateChange$','syncEditingCollabCursor','signUrlServerUrl','defineProperty','/universer-api/oidc/authpage','_initEventListeners','_unlockTransition','_ws','sheetId','url','actions','_drawTextRange','ISnapshotServerService','getTime','for','mutations','Base64','resourceIDs','delete','DocIMEInputManagerService','merge','_state','_clearTimeoutTimer','blue400','_replayCachedMutations','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','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sid','put','COLLAB_WEB_SOCKET_URL','defs','DEFAULT_FILE_NAME','CollaborationStatusDisplay','exhaustSavingTask','_doCryptBlock','OffLineSingle','processBlock','Fragment','red300','_listenToOnlineEvent','rgba(255,\x20255,\x20255,\x200.01)','DeleteRangeMoveLeftCommandId','reqId','default','_sheetTransformSelectionsService','execute','@univerjs/drawing','close$','YUUMI_SUBSCRIPTION_NOT_FOUND','6847qbvNxK','compute','target','loadOfflineData','_eventUnsubscribe','getImageSourceCache','_configService','CollaborationSessionService','values','_name','_clearCollaborationTimeoutTimer','moveTo','then','_ENC_XFORM_MODE','_createSocket','getInterceptPoints','onStateChange','onSyncEditingCollabCursor','CollaborationEvent','_mode','_localeService','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_onConflict','_onOffline','reduce','HEARTBEAT_TIMEOUT_KEY','_timeoutTimer','pushState','incrementRevOfUnit','SNAPSHOT_INVALID_SNAPSHOT','_sendHeartbeatTimer','keySize','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','collaboratorID','defIds','/universer-api/file/{fileID}/sign-url','substring','image/jpeg','LOGIN_URL_KEY','_tryEnsureSocket','onRemoteRej','_remoteChangesetQueue','univer-pro.collaboration-client.single-active-unit-service','_disabled','_hasher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','apply','useObservable','state','CBC','LocaleService','parse','closePath','_createInitialStateImpl','function','LocalCacheService','_scheduleHeartbeat','_redoStacks','rxjs/operators','gold400','RxDisposable','makeDirty','_HTTPService','interceptor','_removeCollabCursors','trim','AuthzIoHttpService','/block/','handleInsertCol','Module','buffer','_getDownloadEndpointURL','url(#$1','@univerjs/core','unit-cache-','_hover','fetchMiss','UNIVER_SHEET','_getSnapshotAPIPrefix','getTypeOfUnitAdded$','withCredentials','_createHelper','top','ICollaborationSocketService','_event$','_registerRenderDependencies','shareReplay','permission.content','RECT','_changesetSessionId','Tools','open$','save','sin','LICENSE_MAX_UNITS_EXCEEDED','session.connection-failed','_beforeCloseService','_hovered','UniverCollaborationClientPlugin','LIVESHARE_OPERATION','members','getMemberID','range','_transformRemoteChangesetByStateCache','refreshPermission','YUUMI_UNABLE_LOAD_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','deepClone','SheetPermissionInitController','unsubscribe','round','[FetchMissState]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_cursorShapes','_refreshCollabCursors','createEncryptor','_unitOnClients','transformSelections','change$','_transformService','_context','min','_retryConnectingTimer','_revisionService','handleInsertRangeMoveDown','getValue','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_heartbeatTimer','SessionStatus','_docTransformIMECacheService','submit\x20changeset\x20error!','encode','csAckEvent','createIdentifier','_substituteUndoStack','responseType','handleMoveRange','_doReset','verdancy600','__esModule','ACTIVE_UNIT_EVENT_CHANNEL','InsertColCommandId','words','UniverInstanceType','3052345QwNvkV','_members','body','BlockCipherMode','saveChangeset','_waitForHeartbeatResponse','_renderManagerService','IContextService','_handler','_getMergeRange','saveSnapshot','isInternalEditorID','_getUploadFileURL','StreamCipher','POST','initWorkbookPermissionChange','collaMsg','fromCollab','redoState','_sessions','location','_transformUndoredo','TEXT_RANGE_LAYER_INDEX','currentColor','_incrementRevisionNumber','_toggleOnline','_notificationService','getAllMembers','[OfflineState]:\x20received\x20acknowledgement.','runRefRangeMutations','ImageUploadStatusType','awaiting_with_pending','patch','addObjects','salt','_entityInit$','/fetchmissing?from=','HELLO','getVpScrollXYInfoByPosToVp','onload','IUniverInstanceService','createDecryptor','requireSession','/collaborator','_localCacheService','onlyLocal','collabStatus.notCollab','Inject','INGEST','_transformUndoRedoStack','_shouldReportTelemetry','onCommentUpdate','_onFetchMissResult','getSheetBySheetId','_saveTaskMap','status','_snapshotServerService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_invKeySchedule','_initStatusComponent','commentUpdate$','eventID','ReactCurrentOwner','userID','getResourcesRequest','_shapes','decrypt','not_collab','PasswordBasedCipher','SheetsSelectionsService','?size=','toDisposable','_listenToOfflineEvent','ERROR_IMAGE_TYPE','getMember','_transitionLocked','_getUndoStack','[PendingState]:\x20received\x20acknowledgement.','urlChange$','SNAPSHOT_SERVER_URL_KEY','_docSkeleton','\x0aAfter:\x20','onTransformRemoteChangesetByIMECache','splice','getCurrent','getCellPositionByOffset','_change$','ColorKit','forEach','_applyRemoteChangeset','dispose','UUID','awaiting','handleDeleteRangeMoveUp','[OfflineState]:\x20received\x20changeset.','getAncestorScale','parseChangesetToProtocol','data','telemetry\x20info\x20is\x20not\x20initialized','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerRenderModule','SerializableCipher','116HbERFc','_iv','onTransformChange$','MoveRangeCommandId','removeMember','now','DOC_RANGE_TYPE','UnitSnapshot','getUnitId','column','/object','capture','selection','width','AUTHZ_URL_KEY','isActive','IURLService','transformChangesets','onRemoteRetry','_resendTimer','M0\x200H16V16H0z','LocalUndoRedoService','_range','collabStatus.conflict','_removeClearOtherTimer','_decreaseWaiting','toggleOffline','CommandType','_singleActiveUnitService','hasher','@univerjs/docs','collabCursorState$','/rev/','USERS_ENTER','getRoom','getUnitType','onMissingChangesets','roles','sessionStatus','engine','m1Prime','setConfig','_clearLocalCache','size','MessageType','x-univer-host','clearTimeout','...','image/bmp','_sender','every','arc','infoRsp','BlockCipher','_id','socket$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','sessionStatus$','height','_syncEditingCollabCursor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getCurrentUnitForType','evenodd','_entities','IConfigService','closeSession','[UniverCollaborationClientPlugin]','RECV','isArray','enableSingleActiveInstanceLock','collabWebSocketUrl','auth.needGotoLoginAlert','getUnit','_executeRemoteChangeset','COMPRESS_MUTATION_SEND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHandler','getWorkbookSelections','sheets','fillStyle','getOwnPropertyDescriptor','resize','toRgbString','[CollaborationEntity]','addImageSourceCache','_scheduleTimestamp','TEXT','_submitChangeset','VIEWPORT_KEY','OFFLINE','IDLE','join','endRow','[DataLoaderController]','JOIN','setActiveRange','replace','_registerDependencies','CONFLICT','mode','roomInfos','getOwnPropertySymbols','_pendingMutations','_socketMessageSubscription','IAuthzIoService','COMPRESS_MUTATION_APPLY','socket\x20close','OnLineSingle','_scene','image/gif','doc.mutation.rich-text-editing','FromArray','transformIMECache','editingUnit','_clearHeartbeatTimer','stopTime','getCurrentUser','floor','2188813YakUfd','PERMISSION_REJ','univer-online-status-icon','permission.title','_telemetryInfo','json','charAt','CipherParams','unitID','endColumn','loginUrlKey','EmptyMutation','split','MSG_FOR_ERROR','objects','black','APPLY_REJECT','TOO_MANY_REQUESTS','INotificationService','jiqing500','href','handleInsertRow','clear','NoPadding','_initStatusListener','#fff','_rescheduleHeartbeat','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_REVISION_CONFILICT','_getScale','_docSyncEditingCollabCursorService','collaboration.single-unit.warning','show','setParam','HmacMD5','_collabSessionService','_labelPosition','OpenSSL','UPDATE_PERMISSION_OBJ','getCoordByCell','SetWorksheetActivateCommand','_messageService','assignAColorForMemberID','SheetCollabCursorShape','DataLoaderController','[CollaborationSessionService]:\x20socket\x20error','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','isTransformMutationsWithChangesetSuccess','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','src','resolve','WorkbookEditablePermission','hasOwnProperty','JSONX','addObject','_univerInstanceService','_xformMode','xlink:href','_hideTimer','ceil','WordArray','_startCollaboration','COLLAB_SUBMIT_CHANGESET_URL_KEY','prototype','ENSURE_SNAPSHOT_EXECUTION','formatter','_sendHeartbeat','YUUMI_RATE_OVER_LIMIT','UNIVER_PROJECT','_onUserLeave','cursorInfo','_updateCollabCursors','ThemeService','unload','memberID','Hex','fetchThroughInterceptors','AES','roomMembers','@univerjs/network','collaboration_new_changeset','roomMembers$','conflict.content','pluginName','_resendTimeout','snapshot','code','_scheduleSaving','APPLY_DUPLICATED','Pkcs7','_injector','concatMap','COLORS','random','SetDocZoomRatioOperation','setTimeout','getTypeOfUnitDisposed$','jsxs','_textBubble','unitId\x20is\x20not\x20found','Encryptor','UNDEFINED','_startSheetCollabCursor','getRangePointData','@univerjs/engine-render','propertyIsEnumerable','_collabCursorController','idSuffix','mergeOverrideWithDependencies','@univerjs/design','4149901euQzNB','RevisionService','ITransformService','cursorInfo$','throttleTime','Subject','\x20in\x20_schedule.','_docTransformSelectionsService','_substituteRedoStack','@univerjs/engine-formula','InsertRowCommandId','_acknowledgedAwaitingChangeset','localeService','LIVESHARE_FETCH_OPERATIONS','format','div','_cursors','Shape','decryptBlock','_refRangeService','tag','createSocket','url(#off-line-single_clip0_910_343)','LICENSE_EXPORT_SIZE_EXCEEDED','_updateStatus','startColumn','stringify','_collaborationTimeoutTimer','triggerDblclick','ILocalStorageService','set','_updateLocalCursor','IRenderManagerService','[CollaborationUndoRedoService]','includes','_transformIMECache','isTransformChangesetsSuccess','_changesetReqId','concat','take','_uiPartsService','_updateLocalCache','_handleHover','_onCursorUpdate','updateOfflineData','getItem','_undoRedoService','getFocusedUnit','_localStorageService','takeUntil','[PendingState]:\x20received\x20rejection.','getCurrentSelections','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setCurrentUser','getParam','enableLocalCache','transform','charCodeAt','_initMergeInterceptor','debug','PSEUDO_FETCH_MISSING_RESULT','LEAVE','fromCharCode','[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.','_userManagerService','registerComponent','#FFF','complete','/new_changes','_document','/universer-api/comb','ivSize','resend','NO_OTHER_CLIENTS_EDITING','_urlService','_joinRoom','_online','&source=','svg','createElement','getCollabEntity','_compressMutationService','\x20-\x20','RemoveColCommandId','MemberService','m2Prime','call','IPermissionService','fill','catch','OTHER_CLIENTS_EDITING','add','PENDING','ref','[OfflineState]:\x20received\x20rejection.','session','type','Warning','_themeService','all','_initDependencies','history','onlineStatusIcon','_doFinalize','UniverNetworkPlugin','batchAllowed','CompressMutationService','originalMeta','rev','_render','with','ICommandService','_retryCount','BASE64','setItem','_commentService','create','encodeURIComponent','_getSaveTimeout','RETRY_CONNECTING_MAX_COUNT_KEY','enc','useRef','uni.network.url-service','url(#on-line-single_clip0_910_349)','isTransformMutationFailure','createInstance','HEARTBEAT_INTERVAL_KEY','bottom','Cipher','RegularPolygon','onReady','equals','_cipher','putCollaborators','isEditing','getCurrentRevOfUnit','_imageSourceCache','getSkeleton','saveImage','replaceState','_loadSheet','collabStatus.syncing','subUnitId','toString','_lockTransition','UniverIcon','Rectangle','HEARTBEAT_INTERVAL','baseRev','APPLY_PERMISSION_DENIED','_getAPIPrefix','_keySchedule','SNAPSHOT_URL_KEY','_sendingTimer','RefRangeService','_toggleOffline','HttpImport','getCollabEntity$','@univerjs-pro/collaboration','@univerjs/sheets-ui','_data','30qrnSGv','_clearUndo','UPDATE_CURSOR','setStateCache','_nRounds','serializeRangeWithSheet','DependentOn','currentTheme$','push','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','init','CollaborationSocketService','_onRemoteChangeset','visibilityState','deserializeRangeWithSheet','connectInjector','subscribe','_updateURLWithCurrentState','appendMutation','_roomMembers','LIVESHARE_REQUEST_HOST','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HEARTBEAT','hostname','SEND_CHANGESET_TIMEOUT_KEY','__creator','headers','CollaborationEntity','onPointerMove$','_onRemoteACK','COLLAB_WEB_SOCKET_URL_KEY','ALREADY_EXISTS','requestParams','ImageSourceType','displayName','_socketReady','getUniverSheetInstance','clearInterval','session.will-retry','unitId','newValue','handleIRemoveCol','children','FileId','DocCollaborationEntity','FAIL','IImageIoService','6JVqDUC','getColor','measureText','HEARTBEAT_TIMEOUT','_clearRedo','reverse','off-line-single_clip0_910_343','Decryptor','_anchorDot','1246172rFvIWW','__Key__','collabSubmitChangesetUrl','_awaitingChangeset','asObservable','_lastPointer','row','combineLatest','listCollaborators','method','authzUrl','Unknown\x20user','saveSheetBlock','_getAPIPrefixPath','_minBufferSize','toggleOnline','onTransformState','commentUpdateEvent','CHANGESET_REJ','generateRandomId','SnapshotServerOverHTTPService','_sheetSkeletonManagerService','purple300','Base','onCommandExecuted','isPermissionRej','disposeWithMe','transformMutationsWithChangeset','disableLocalCache','sigBytes','storage','searchParams','color','next','_unitStatus','path','_initRequestHeader','_isPermissionRej','allowed','debounceTime','fetchMissingChangesets','_transformHistoryAndStateStack','UnitEmbedded','_logService','/-/object/-/batch_allowed','_onJoinRoomEvent','findNodePositionByCharIndex','post','_commentUpdate$','MUTATION','file','CollaborationSession','map','BuiltInUIPart','RETRY_CONNECTING_MAX_COUNT','indexOf','_getSheetObject','_setupSubUnitSync','_startTelemetryCollaborationNewChangeset','_collabCursorState$','collaborators','assign','/unit/','reset','react.element','max','/universer-api/snapshot/','DesktopCollaborationStatusDisplayController','image/jpg','_cursorInfo$','univer-online-status-title','unit','UNIVER_SLIDE','synced','_prevBlock','_collaborationSessionService','origin','_map','currentSkeleton$','CONNECTOR_DATA_TOO_LARGE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_hash','result','_commandService','_getLoginPath','_updateSubUnitFromURLParams','updateMember','cmd','_assignedColors','BehaviorSubject','textRanges','executeCommand','_socket','SetTextSelectionsOperation','_nDataBytes','objectActions','name','_throwTelemetryCollaborationNewChangeset','onTransformIME','onTransformRemoteChangesetByStateCache','undoState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','enableOfflineEditing','\x20to\x20','_undoStacks','Injector','unknown','_transformStack','_iKey','SUBMIT_CHANGESET','_clearScheduledTask','debounce','react.fragment','Error','/object/','\x0aCurrent:\x20','current','flatMap','UNKNOWN_CMD','WebSocketService','ERROR_IMAGE','updateCursorEvent','unpad','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.'];_0x2079=function(){return _0x4bc825;};return _0x2079();}const Js=_0x38c3ff(0x1dd),Zs='Univer';let Ve=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x286e08,_0x558e8e){const _0x1b7e4c=_0x38c3ff;super(),this['_univerInstanceService']=_0x286e08,this[_0x1b7e4c(0x1f5)]=_0x558e8e,this[_0x1b7e4c(0x596)]();}['_init'](){const _0x55d1c3=_0x38c3ff;this[_0x55d1c3(0x4bd)](this[_0x55d1c3(0x393)]['focused$']['subscribe'](()=>{const _0x4567d1=_0x55d1c3;var _0x440de2;const _0xc0f83d=this['_univerInstanceService'][_0x4567d1(0x3f9)]();let _0x8f11b3=(_0x440de2=this[_0x4567d1(0x1f5)][_0x4567d1(0x556)](Js))!=null?_0x440de2:Zs;_0xc0f83d instanceof a['Workbook']&&(_0x8f11b3=_0xc0f83d[_0x4567d1(0x503)]),document[_0x4567d1(0x573)]=_0x8f11b3;}));}};Ve=Xs([kt(0x0,a[_0x38c3ff(0x2a8)]),kt(0x1,a[_0x38c3ff(0x326)])],Ve);var Qs=Object[_0x38c3ff(0x1c1)],er=Object[_0x38c3ff(0x336)],tr=(_0xefd605,_0x1af07d,_0x2fedc2,_0x115a8c)=>{for(var _0x848330=_0x115a8c>0x1?void 0x0:_0x115a8c?er(_0x1af07d,_0x2fedc2):_0x1af07d,_0x5d5626=_0xefd605['length']-0x1,_0x143589;_0x5d5626>=0x0;_0x5d5626--)(_0x143589=_0xefd605[_0x5d5626])&&(_0x848330=(_0x115a8c?_0x143589(_0x1af07d,_0x2fedc2,_0x848330):_0x143589(_0x848330))||_0x848330);return _0x115a8c&&_0x848330&&Qs(_0x1af07d,_0x2fedc2,_0x848330),_0x848330;},at=(_0x499a45,_0x3d5c8c)=>(_0x305af2,_0x678e8e)=>_0x3d5c8c(_0x305af2,_0x678e8e,_0x499a45);let Ge=class{constructor(_0x22ace4,_0x5db77c,_0x35d17a){const _0x3342a4=_0x38c3ff;this[_0x3342a4(0x1f5)]=_0x22ace4,this['_httpService']=_0x5db77c,this[_0x3342a4(0x3d6)]=_0x35d17a,this['init']();}['init'](){const _0x2f5dc9=_0x38c3ff;this[_0x2f5dc9(0x5a8)][_0x2f5dc9(0x53f)]({'priority':0x1,'interceptor':(_0x2eac5c,_0x21a205)=>_0x21a205(_0x2eac5c)[_0x2f5dc9(0x57b)](A[_0x2f5dc9(0x3b7)](async _0x1e72ef=>{const _0x1793c1=_0x2f5dc9,_0x5e3ecd=_0x1e72ef;if(_0x5e3ecd[_0x1793c1(0x2b7)]===0x191&&window['confirm'](this[_0x1793c1(0x3d6)]['t'](_0x1793c1(0x32d)))){const _0x1b56a7=window[_0x1793c1(0x43f)](window[_0x1793c1(0x294)][_0x1793c1(0x370)]);window[_0x1793c1(0x294)][_0x1793c1(0x370)]=this[_0x1793c1(0x4f7)]()+'?url='+_0x1b56a7;}return _0x5e3ecd;}))});}[_0x38c3ff(0x4f7)](){const _0x14e62b=_0x38c3ff;var _0x41d800,_0x1faac8;const _0x5b8d11=this[_0x14e62b(0x1f5)]['getConfig'](an),_0x32f02f=this[_0x14e62b(0x1f5)][_0x14e62b(0x556)](te);return(_0x1faac8=(_0x41d800=_0x32f02f==null?void 0x0:_0x32f02f[_0x14e62b(0x366)])!=null?_0x41d800:_0x5b8d11)!=null?_0x1faac8:qn;}};Ge=tr([at(0x0,a[_0x38c3ff(0x326)]),at(0x1,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)])),at(0x2,a['Inject'](a[_0x38c3ff(0x222)]))],Ge);var nr=Object[_0x38c3ff(0x1c1)],ir=Object['getOwnPropertyDescriptor'],sr=(_0x14a964,_0x389acc,_0x4703f8,_0x3fdb11)=>{const _0x3b7865=_0x38c3ff;for(var _0xad13da=_0x3fdb11>0x1?void 0x0:_0x3fdb11?ir(_0x389acc,_0x4703f8):_0x389acc,_0x539231=_0x14a964[_0x3b7865(0x58c)]-0x1,_0x528705;_0x539231>=0x0;_0x539231--)(_0x528705=_0x14a964[_0x539231])&&(_0xad13da=(_0x3fdb11?_0x528705(_0x389acc,_0x4703f8,_0xad13da):_0x528705(_0xad13da))||_0xad13da);return _0x3fdb11&&_0xad13da&&nr(_0x389acc,_0x4703f8,_0xad13da),_0xad13da;},Wt=(_0x50edb4,_0x263d8e)=>(_0x38ab11,_0x4534f6)=>_0x263d8e(_0x38ab11,_0x4534f6,_0x50edb4);const Rn=_0x38c3ff(0x2f4),rr='/universer-api/authz';exports[_0x38c3ff(0x232)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x3ca6c8,_0x22f4a7){const _0x26a063=_0x38c3ff;super(),this['_HTTPService']=_0x3ca6c8,this['_configService']=_0x22f4a7,this[_0x26a063(0x404)]();}[_0x38c3ff(0x404)](){const _0x5d0275=_0x38c3ff,_0x512844=this;this[_0x5d0275(0x4bd)](this[_0x5d0275(0x22e)][_0x5d0275(0x53f)]({'priority':0x3e7,'interceptor':Z[_0x5d0275(0x545)]({'isMatch'(_0x39e8ed){const _0x6fa386=_0x5d0275;var _0x5f5289;if(_0x39e8ed[_0x6fa386(0x4ac)]==='POST'&&((_0x5f5289=_0x39e8ed['requestParams'])!=null&&_0x5f5289[_0x6fa386(0x282)])){const {objectID:_0x4e12a3,objectType:_0x35f0ec}=_0x39e8ed[_0x6fa386(0x48b)]['body']||{};if(!_0x4e12a3||_0x35f0ec===void 0x0)return!0x1;const _0x2e13b9=_0x512844[_0x6fa386(0x4b0)]()+'/'+_0x35f0ec+_0x6fa386(0x517)+_0x4e12a3+_0x6fa386(0x59c);if(_0x39e8ed[_0x6fa386(0x1c7)]===_0x2e13b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x8c8a06){const _0x300281=_0x5d0275;var _0x40eaa1;return(_0x40eaa1=_0x8c8a06[_0x300281(0x48b)])==null?void 0x0:_0x40eaa1['body'];},'mergeParamsToRequest'(_0x1c0718,_0x4dae72){const _0x8eafc3=_0x5d0275,_0x2d4004=_0x512844[_0x8eafc3(0x4b0)]()+_0x8eafc3(0x4cf),_0x485a2e=_0x1c0718[_0x8eafc3(0x207)]((_0x26813e,_0x2555ff)=>{const {unitID:_0x159041,objectID:_0x23e4a3,objectType:_0x5eeca0,actions:_0x15b4a7}=_0x2555ff;return _0x26813e[_0x159041]||(_0x26813e[_0x159041]={}),_0x26813e[_0x159041][_0x23e4a3]||(_0x26813e[_0x159041][_0x23e4a3]={'objectID':_0x23e4a3,'objectType':_0x5eeca0,'actions':[]}),_0x26813e[_0x159041][_0x23e4a3]['actions']['push'](..._0x15b4a7),_0x26813e;},{}),_0x8737b7=[];for(const _0x27961d in _0x485a2e)for(const _0x1eef08 in _0x485a2e[_0x27961d]){const {actions:_0x5ec21e,objectType:_0x31cf9d}=_0x485a2e[_0x27961d][_0x1eef08],_0x52d9ac=[...new Set(_0x5ec21e)];_0x8737b7[_0x8eafc3(0x473)]({'unitID':_0x27961d,'objectID':_0x1eef08,'objectType':_0x31cf9d,'actions':_0x52d9ac});}return new Z['HTTPRequest'](_0x8eafc3(0x28e),_0x2d4004,{'headers':_0x4dae72['headers'],'withCredentials':_0x4dae72[_0x8eafc3(0x240)],'responseType':_0x4dae72[_0x8eafc3(0x277)],'body':{'requests':_0x8737b7}});}},{'distributeResult'(_0x287a39,_0x42e76e){const _0x376206=_0x5d0275,{objectActions:_0x27b72e}=_0x287a39;return _0x42e76e[_0x376206(0x4d7)](_0x17cf26=>{const _0x3d1384=_0x376206,{unitID:_0x457b51,objectID:_0xf423df,actions:_0xe09721}=_0x17cf26,_0x42d8a6=_0x27b72e[_0x3d1384(0x643)](_0x2e1434=>_0x2e1434[_0x3d1384(0x364)]===_0x457b51&&_0x2e1434[_0x3d1384(0x530)]===_0xf423df),_0x4c4591=_0xe09721[_0x3d1384(0x4d7)](_0x2b3096=>_0x42d8a6==null?void 0x0:_0x42d8a6['actions'][_0x3d1384(0x643)](_0x241411=>_0x241411['action']===_0x2b3096))[_0x3d1384(0x576)](_0x865d70=>!!_0x865d70);return{'config':_0x17cf26,'result':{'actions':_0x4c4591,'error':_0x287a39[_0x3d1384(0x55e)]}};});}})}));}['_getAPIPrefixPath'](){const _0x165c9d=_0x38c3ff;var _0x1578fe,_0x519ec9;const _0x3f007e=this[_0x165c9d(0x1f5)][_0x165c9d(0x556)](Rn),_0x42963a=this[_0x165c9d(0x1f5)]['getConfig'](te);return(_0x519ec9=(_0x1578fe=_0x42963a==null?void 0x0:_0x42963a[_0x165c9d(0x4ad)])!=null?_0x1578fe:_0x3f007e)!=null?_0x519ec9:rr;}async[_0x38c3ff(0x43e)](_0x3bb1c1){const _0x20ceaa=_0x38c3ff,_0x552d64=this[_0x20ceaa(0x4b0)]()+'/'+_0x3bb1c1[_0x20ceaa(0x533)]+_0x20ceaa(0x2f0);return(await this[_0x20ceaa(0x22e)]['post'](_0x552d64,{'body':_0x3bb1c1}))[_0x20ceaa(0x282)][_0x20ceaa(0x530)]||'';}async['list'](_0x51ecb4){const _0x230395=_0x38c3ff,_0x22259a=this[_0x230395(0x4b0)]()+'/-/object/list';return(await this[_0x230395(0x22e)][_0x230395(0x4d2)](_0x22259a,{'body':_0x51ecb4}))[_0x230395(0x282)][_0x230395(0x36a)];}async[_0x38c3ff(0x619)](_0x374d18){const _0x562a7b=_0x38c3ff,_0x1f828f=this['_getAPIPrefixPath']()+'/'+_0x374d18['objectType']+'/object/'+_0x374d18[_0x562a7b(0x530)];await this['_HTTPService'][_0x562a7b(0x1da)](_0x1f828f,{'body':_0x374d18});}async[_0x38c3ff(0x4c9)](_0x13d12a){const _0x2a5b78=_0x38c3ff,_0x66fc32=this[_0x2a5b78(0x4b0)]()+'/'+_0x13d12a['objectType']+_0x2a5b78(0x517)+_0x13d12a[_0x2a5b78(0x530)]+'/allowed';return(await this[_0x2a5b78(0x22e)]['post'](_0x66fc32,{'body':_0x13d12a}))[_0x2a5b78(0x282)]['actions'];}async[_0x38c3ff(0x433)](_0xa59604){const _0xf9af17=_0x38c3ff,_0x51f5d9=this[_0xf9af17(0x4b0)]()+_0xf9af17(0x4cf);return(await this['_HTTPService']['post'](_0x51f5d9,{'body':{'requests':_0xa59604}}))[_0xf9af17(0x282)][_0xf9af17(0x502)];}async['listRoles'](_0x460f3){const _0x107862=_0x38c3ff,_0x4c1bf5=this['_getAPIPrefixPath']()+'/'+_0x460f3[_0x107862(0x533)]+_0x107862(0x5d3),_0x5a585f=await this[_0x107862(0x22e)][_0x107862(0x4d2)](_0x4c1bf5,{'body':_0x460f3});return{'roles':_0x5a585f[_0x107862(0x282)][_0x107862(0x30b)],'actions':_0x5a585f[_0x107862(0x282)][_0x107862(0x1c8)]};}async[_0x38c3ff(0x5c3)](_0x3679cf){const _0x13c28f=_0x38c3ff,_0xa84e1e=this[_0x13c28f(0x4b0)]()+'/collaborator';await this[_0x13c28f(0x22e)][_0x13c28f(0x1d0)](_0xa84e1e,{'params':{'collaboratorID':_0x3679cf[_0x13c28f(0x211)],'objectID':_0x3679cf[_0x13c28f(0x530)],'unitID':_0x3679cf[_0x13c28f(0x364)]}});}async[_0x38c3ff(0x53d)](_0x9f19c5){const _0x56b934=_0x38c3ff,_0x2dacf5=this[_0x56b934(0x4b0)]()+_0x56b934(0x2ab);await this[_0x56b934(0x22e)][_0x56b934(0x2a0)](_0x2dacf5,{'body':_0x9f19c5});}async[_0x38c3ff(0x59a)](_0x608d93){const _0x2836fb=_0x38c3ff,_0x1eeac4=this[_0x2836fb(0x4b0)]()+'/collaborator';await this[_0x2836fb(0x22e)][_0x2836fb(0x4d2)](_0x1eeac4,{'body':_0x608d93});}async[_0x38c3ff(0x4ab)](_0x1d6cab){const _0x51d5f9=_0x38c3ff,_0x40c6db=this[_0x51d5f9(0x4b0)]()+_0x51d5f9(0x2ab);return(await this[_0x51d5f9(0x22e)][_0x51d5f9(0x585)](_0x40c6db,{'params':{'objectID':_0x1d6cab[_0x51d5f9(0x530)],'unitID':_0x1d6cab[_0x51d5f9(0x364)]}}))[_0x51d5f9(0x282)][_0x51d5f9(0x4df)];}async[_0x38c3ff(0x44f)](_0x162fe3){const _0x52bfbd=_0x38c3ff,_0x8d48d0=this[_0x52bfbd(0x4b0)]()+'/collaborator';await this[_0x52bfbd(0x22e)][_0x52bfbd(0x1da)](_0x8d48d0,{'body':_0x162fe3});}},exports[_0x38c3ff(0x232)]=sr([Wt(0x0,a['Inject'](Z['HTTPService'])),Wt(0x1,a[_0x38c3ff(0x2af)](a['IConfigService']))],exports['AuthzIoHttpService']);var yn={'exports':{}};function or(_0x482d24){const _0xdacc91=_0x38c3ff;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x482d24+_0xdacc91(0x53a));}var ct={'exports':{}},Ft;function oe(){const _0x3bd2e8=_0x38c3ff;return Ft||(Ft=0x1,function(_0x55ac7a,_0x10d542){(function(_0x5de1ad,_0x2b73cd){_0x55ac7a['exports']=_0x2b73cd();}(X,function(){var _0x3fc56e=_0x3fc56e||function(_0x1c1a73,_0x3f299d){const _0x34b777=_0x4762;var _0x2de5fb;if(typeof window<'u'&&window[_0x34b777(0x65b)]&&(_0x2de5fb=window[_0x34b777(0x65b)]),typeof self<'u'&&self[_0x34b777(0x65b)]&&(_0x2de5fb=self['crypto']),typeof globalThis<'u'&&globalThis[_0x34b777(0x65b)]&&(_0x2de5fb=globalThis['crypto']),!_0x2de5fb&&typeof window<'u'&&window[_0x34b777(0x5b8)]&&(_0x2de5fb=window[_0x34b777(0x5b8)]),!_0x2de5fb&&typeof X<'u'&&X[_0x34b777(0x65b)]&&(_0x2de5fb=X['crypto']),!_0x2de5fb&&typeof or==_0x34b777(0x226))try{_0x2de5fb=require(_0x34b777(0x65b));}catch{}var _0x3dfce2=function(){const _0x467e4b=_0x34b777;if(_0x2de5fb){if(typeof _0x2de5fb[_0x467e4b(0x5d0)]==_0x467e4b(0x226))try{return _0x2de5fb[_0x467e4b(0x5d0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2de5fb[_0x467e4b(0x65c)]==_0x467e4b(0x226))try{return _0x2de5fb[_0x467e4b(0x65c)](0x4)[_0x467e4b(0x551)]();}catch{}}throw new Error(_0x467e4b(0x5b1));},_0x2dca0a=Object['create']||(function(){function _0x45b0d9(){}return function(_0x2fd631){const _0xf3a132=_0x4762;var _0x535373;return _0x45b0d9['prototype']=_0x2fd631,_0x535373=new _0x45b0d9(),_0x45b0d9[_0xf3a132(0x39b)]=null,_0x535373;};}()),_0x23f42f={},_0x118632=_0x23f42f['lib']={},_0x3b0a2d=_0x118632['Base']=(function(){return{'extend':function(_0x18ccfc){const _0xcb7855=_0x4762;var _0x515bb5=_0x2dca0a(this);return _0x18ccfc&&_0x515bb5['mixIn'](_0x18ccfc),(!_0x515bb5['hasOwnProperty'](_0xcb7855(0x475))||this[_0xcb7855(0x475)]===_0x515bb5[_0xcb7855(0x475)])&&(_0x515bb5[_0xcb7855(0x475)]=function(){const _0x4a86ba=_0xcb7855;_0x515bb5[_0x4a86ba(0x5be)][_0x4a86ba(0x475)][_0x4a86ba(0x21e)](this,arguments);}),_0x515bb5[_0xcb7855(0x475)][_0xcb7855(0x39b)]=_0x515bb5,_0x515bb5[_0xcb7855(0x5be)]=this,_0x515bb5;},'create':function(){const _0xa073db=_0x4762;var _0x7d4220=this[_0xa073db(0x523)]();return _0x7d4220[_0xa073db(0x475)][_0xa073db(0x21e)](_0x7d4220,arguments),_0x7d4220;},'init':function(){},'mixIn':function(_0x4b6fdd){const _0x111bde=_0x4762;for(var _0x2e244e in _0x4b6fdd)_0x4b6fdd['hasOwnProperty'](_0x2e244e)&&(this[_0x2e244e]=_0x4b6fdd[_0x2e244e]);_0x4b6fdd[_0x111bde(0x390)]('toString')&&(this[_0x111bde(0x459)]=_0x4b6fdd[_0x111bde(0x459)]);},'clone':function(){const _0x5f3269=_0x4762;return this['init'][_0x5f3269(0x39b)][_0x5f3269(0x523)](this);}};}()),_0x14d975=_0x118632[_0x34b777(0x398)]=_0x3b0a2d[_0x34b777(0x523)]({'init':function(_0xbfa74e,_0x298857){const _0x42a456=_0x34b777;_0xbfa74e=this[_0x42a456(0x27e)]=_0xbfa74e||[],_0x298857!=_0x3f299d?this['sigBytes']=_0x298857:this[_0x42a456(0x4c0)]=_0xbfa74e[_0x42a456(0x58c)]*0x4;},'toString':function(_0x3816e3){const _0x2a7455=_0x34b777;return(_0x3816e3||_0xbb4173)[_0x2a7455(0x3e4)](this);},'concat':function(_0x446510){const _0x3693b7=_0x34b777;var _0x13c866=this[_0x3693b7(0x27e)],_0x48ece5=_0x446510['words'],_0x31235d=this[_0x3693b7(0x4c0)],_0x93525c=_0x446510[_0x3693b7(0x4c0)];if(this['clamp'](),_0x31235d%0x4)for(var _0x4d19b3=0x0;_0x4d19b3<_0x93525c;_0x4d19b3++){var _0x53f5b4=_0x48ece5[_0x4d19b3>>>0x2]>>>0x18-_0x4d19b3%0x4*0x8&0xff;_0x13c866[_0x31235d+_0x4d19b3>>>0x2]|=_0x53f5b4<<0x18-(_0x31235d+_0x4d19b3)%0x4*0x8;}else{for(var _0x3df266=0x0;_0x3df266<_0x93525c;_0x3df266+=0x4)_0x13c866[_0x31235d+_0x3df266>>>0x2]=_0x48ece5[_0x3df266>>>0x2];}return this[_0x3693b7(0x4c0)]+=_0x93525c,this;},'clamp':function(){const _0x17c4fb=_0x34b777;var _0xa0ed8b=this[_0x17c4fb(0x27e)],_0xe2e5df=this[_0x17c4fb(0x4c0)];_0xa0ed8b[_0xe2e5df>>>0x2]&=0xffffffff<<0x20-_0xe2e5df%0x4*0x8,_0xa0ed8b['length']=_0x1c1a73['ceil'](_0xe2e5df/0x4);},'clone':function(){const _0x848aef=_0x34b777;var _0x13af67=_0x3b0a2d[_0x848aef(0x1b9)][_0x848aef(0x420)](this);return _0x13af67[_0x848aef(0x27e)]=this[_0x848aef(0x27e)]['slice'](0x0),_0x13af67;},'random':function(_0x4b1b66){const _0x57f9ee=_0x34b777;for(var _0xeffddc=[],_0x43ee64=0x0;_0x43ee64<_0x4b1b66;_0x43ee64+=0x4)_0xeffddc['push'](_0x3dfce2());return new _0x14d975[(_0x57f9ee(0x475))](_0xeffddc,_0x4b1b66);}}),_0x135688=_0x23f42f['enc']={},_0xbb4173=_0x135688[_0x34b777(0x3a7)]={'stringify':function(_0x1a1a56){const _0x36a621=_0x34b777;for(var _0x96470f=_0x1a1a56[_0x36a621(0x27e)],_0x325dac=_0x1a1a56[_0x36a621(0x4c0)],_0x3242ee=[],_0x12e5b4=0x0;_0x12e5b4<_0x325dac;_0x12e5b4++){var _0x23e539=_0x96470f[_0x12e5b4>>>0x2]>>>0x18-_0x12e5b4%0x4*0x8&0xff;_0x3242ee[_0x36a621(0x473)]((_0x23e539>>>0x4)[_0x36a621(0x459)](0x10)),_0x3242ee[_0x36a621(0x473)]((_0x23e539&0xf)[_0x36a621(0x459)](0x10));}return _0x3242ee[_0x36a621(0x341)]('');},'parse':function(_0x2d12ba){const _0x44c7d2=_0x34b777;for(var _0x125a87=_0x2d12ba['length'],_0x5d2215=[],_0x5113bf=0x0;_0x5113bf<_0x125a87;_0x5113bf+=0x2)_0x5d2215[_0x5113bf>>>0x3]|=parseInt(_0x2d12ba[_0x44c7d2(0x652)](_0x5113bf,0x2),0x10)<<0x18-_0x5113bf%0x8*0x4;return new _0x14d975[(_0x44c7d2(0x475))](_0x5d2215,_0x125a87/0x2);}},_0x34846f=_0x135688['Latin1']={'stringify':function(_0x373e7d){const _0x1e08dc=_0x34b777;for(var _0x39ca67=_0x373e7d[_0x1e08dc(0x27e)],_0x50fdd3=_0x373e7d[_0x1e08dc(0x4c0)],_0x440311=[],_0x1fdfc0=0x0;_0x1fdfc0<_0x50fdd3;_0x1fdfc0++){var _0x5b2bf9=_0x39ca67[_0x1fdfc0>>>0x2]>>>0x18-_0x1fdfc0%0x4*0x8&0xff;_0x440311['push'](String[_0x1e08dc(0x408)](_0x5b2bf9));}return _0x440311[_0x1e08dc(0x341)]('');},'parse':function(_0x1f20c5){const _0x21ee4c=_0x34b777;for(var _0x2ade58=_0x1f20c5[_0x21ee4c(0x58c)],_0x1ed5a9=[],_0x456b03=0x0;_0x456b03<_0x2ade58;_0x456b03++)_0x1ed5a9[_0x456b03>>>0x2]|=(_0x1f20c5[_0x21ee4c(0x403)](_0x456b03)&0xff)<<0x18-_0x456b03%0x4*0x8;return new _0x14d975[(_0x21ee4c(0x475))](_0x1ed5a9,_0x2ade58);}},_0x5d98d0=_0x135688[_0x34b777(0x538)]={'stringify':function(_0x59a926){const _0x558919=_0x34b777;try{return decodeURIComponent(escape(_0x34846f[_0x558919(0x3e4)](_0x59a926)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2d750d){const _0x1c877a=_0x34b777;return _0x34846f[_0x1c877a(0x223)](unescape(encodeURIComponent(_0x2d750d)));}},_0x22be2f=_0x118632[_0x34b777(0x656)]=_0x3b0a2d['extend']({'reset':function(){const _0x572e71=_0x34b777;this[_0x572e71(0x46a)]=new _0x14d975[(_0x572e71(0x475))](),this[_0x572e71(0x501)]=0x0;},'_append':function(_0x237a29){const _0x21b4cb=_0x34b777;typeof _0x237a29==_0x21b4cb(0x53c)&&(_0x237a29=_0x5d98d0[_0x21b4cb(0x223)](_0x237a29)),this['_data'][_0x21b4cb(0x3f0)](_0x237a29),this[_0x21b4cb(0x501)]+=_0x237a29['sigBytes'];},'_process':function(_0x4037b3){const _0x359655=_0x34b777;var _0x1999c7,_0x7a1eb5=this[_0x359655(0x46a)],_0x59ab84=_0x7a1eb5['words'],_0x5c12a4=_0x7a1eb5[_0x359655(0x4c0)],_0x140127=this[_0x359655(0x524)],_0x2c9cd7=_0x140127*0x4,_0x8bfc07=_0x5c12a4/_0x2c9cd7;_0x4037b3?_0x8bfc07=_0x1c1a73[_0x359655(0x397)](_0x8bfc07):_0x8bfc07=_0x1c1a73['max']((_0x8bfc07|0x0)-this[_0x359655(0x4b1)],0x0);var _0x51df5d=_0x8bfc07*_0x140127,_0x1e37c9=_0x1c1a73[_0x359655(0x269)](_0x51df5d*0x4,_0x5c12a4);if(_0x51df5d){for(var _0x1bbaf1=0x0;_0x1bbaf1<_0x51df5d;_0x1bbaf1+=_0x140127)this['_doProcessBlock'](_0x59ab84,_0x1bbaf1);_0x1999c7=_0x59ab84[_0x359655(0x2d3)](0x0,_0x51df5d),_0x7a1eb5[_0x359655(0x4c0)]-=_0x1e37c9;}return new _0x14d975['init'](_0x1999c7,_0x1e37c9);},'clone':function(){const _0x7503c8=_0x34b777;var _0x3d57a2=_0x3b0a2d[_0x7503c8(0x1b9)][_0x7503c8(0x420)](this);return _0x3d57a2['_data']=this['_data'][_0x7503c8(0x1b9)](),_0x3d57a2;},'_minBufferSize':0x0});_0x118632['Hasher']=_0x22be2f[_0x34b777(0x523)]({'cfg':_0x3b0a2d[_0x34b777(0x523)](),'init':function(_0x22bd71){const _0xbedea5=_0x34b777;this[_0xbedea5(0x53b)]=this[_0xbedea5(0x53b)][_0xbedea5(0x523)](_0x22bd71),this[_0xbedea5(0x4e2)]();},'reset':function(){const _0x380c1f=_0x34b777;_0x22be2f[_0x380c1f(0x4e2)][_0x380c1f(0x420)](this),this[_0x380c1f(0x279)]();},'update':function(_0x1805ff){const _0x3a12b5=_0x34b777;return this[_0x3a12b5(0x5fc)](_0x1805ff),this[_0x3a12b5(0x610)](),this;},'finalize':function(_0xec66b4){const _0x4242f0=_0x34b777;_0xec66b4&&this[_0x4242f0(0x5fc)](_0xec66b4);var _0x507043=this[_0x4242f0(0x431)]();return _0x507043;},'blockSize':0x10,'_createHelper':function(_0x5d6cbf){return function(_0x5c171f,_0x2ed90d){const _0x535f7c=_0x4762;return new _0x5d6cbf[(_0x535f7c(0x475))](_0x2ed90d)[_0x535f7c(0x1a2)](_0x5c171f);};},'_createHmacHelper':function(_0x525420){return function(_0x573f09,_0x16e04b){const _0x38fa69=_0x4762;return new _0x469b27['HMAC'][(_0x38fa69(0x475))](_0x525420,_0x16e04b)[_0x38fa69(0x1a2)](_0x573f09);};}});var _0x469b27=_0x23f42f[_0x34b777(0x5f4)]={};return _0x23f42f;}(Math);return _0x3fc56e;}));}(ct)),ct[_0x3bd2e8(0x1a9)];}var lt={'exports':{}},Vt;function On(){const _0x5b802a=_0x38c3ff;return Vt||(Vt=0x1,function(_0x3b4c7f,_0x250c08){(function(_0x3d85d1,_0x340dd0){const _0x228897=_0x4762;_0x3b4c7f[_0x228897(0x1a9)]=_0x340dd0(oe());}(X,function(_0x1e0a19){const _0x3f06d2=_0x4762;return(function(){const _0x2529f3=_0x4762;var _0xfebbf1=_0x1e0a19,_0x4ed2b2=_0xfebbf1[_0x2529f3(0x63c)],_0x2b6174=_0x4ed2b2[_0x2529f3(0x398)],_0x566467=_0xfebbf1[_0x2529f3(0x442)];_0x566467[_0x2529f3(0x1ce)]={'stringify':function(_0x134a14){const _0x462c72=_0x2529f3;var _0x16b8ea=_0x134a14['words'],_0x2edb68=_0x134a14['sigBytes'],_0x2074aa=this[_0x462c72(0x4f0)];_0x134a14['clamp']();for(var _0x41f571=[],_0x2b09bd=0x0;_0x2b09bd<_0x2edb68;_0x2b09bd+=0x3)for(var _0x5acaaf=_0x16b8ea[_0x2b09bd>>>0x2]>>>0x18-_0x2b09bd%0x4*0x8&0xff,_0x4583bd=_0x16b8ea[_0x2b09bd+0x1>>>0x2]>>>0x18-(_0x2b09bd+0x1)%0x4*0x8&0xff,_0xbd4081=_0x16b8ea[_0x2b09bd+0x2>>>0x2]>>>0x18-(_0x2b09bd+0x2)%0x4*0x8&0xff,_0x2aa865=_0x5acaaf<<0x10|_0x4583bd<<0x8|_0xbd4081,_0x30c0f7=0x0;_0x30c0f7<0x4&&_0x2b09bd+_0x30c0f7*0.75<_0x2edb68;_0x30c0f7++)_0x41f571['push'](_0x2074aa[_0x462c72(0x362)](_0x2aa865>>>0x6*(0x3-_0x30c0f7)&0x3f));var _0x2fb34e=_0x2074aa[_0x462c72(0x362)](0x40);if(_0x2fb34e){for(;_0x41f571[_0x462c72(0x58c)]%0x4;)_0x41f571[_0x462c72(0x473)](_0x2fb34e);}return _0x41f571[_0x462c72(0x341)]('');},'parse':function(_0xe40561){const _0x405ab2=_0x2529f3;var _0x1c2f16=_0xe40561[_0x405ab2(0x58c)],_0x3e4eac=this[_0x405ab2(0x4f0)],_0x2a9f00=this[_0x405ab2(0x5ab)];if(!_0x2a9f00){_0x2a9f00=this[_0x405ab2(0x5ab)]=[];for(var _0x44909d=0x0;_0x44909d<_0x3e4eac['length'];_0x44909d++)_0x2a9f00[_0x3e4eac['charCodeAt'](_0x44909d)]=_0x44909d;}var _0x50e43b=_0x3e4eac['charAt'](0x40);if(_0x50e43b){var _0x4cc8c1=_0xe40561['indexOf'](_0x50e43b);_0x4cc8c1!==-0x1&&(_0x1c2f16=_0x4cc8c1);}return _0x107057(_0xe40561,_0x1c2f16,_0x2a9f00);},'_map':_0x2529f3(0x5cb)};function _0x107057(_0x274208,_0x2ea53d,_0x20762b){const _0x424358=_0x2529f3;for(var _0x1bf2ff=[],_0x10fb40=0x0,_0xa2c7fa=0x0;_0xa2c7fa<_0x2ea53d;_0xa2c7fa++)if(_0xa2c7fa%0x4){var _0x37a3ae=_0x20762b[_0x274208[_0x424358(0x403)](_0xa2c7fa-0x1)]<<_0xa2c7fa%0x4*0x2,_0x4be7cc=_0x20762b[_0x274208[_0x424358(0x403)](_0xa2c7fa)]>>>0x6-_0xa2c7fa%0x4*0x2,_0x2dafb4=_0x37a3ae|_0x4be7cc;_0x1bf2ff[_0x10fb40>>>0x2]|=_0x2dafb4<<0x18-_0x10fb40%0x4*0x8,_0x10fb40++;}return _0x2b6174['create'](_0x1bf2ff,_0x10fb40);}}()),_0x1e0a19[_0x3f06d2(0x442)][_0x3f06d2(0x1ce)];}));}(lt)),lt[_0x5b802a(0x1a9)];}var ht={'exports':{}},Gt;function ar(){const _0x3f2b80=_0x38c3ff;return Gt||(Gt=0x1,function(_0x5f1cae,_0x1f23fa){(function(_0x10b32a,_0x373d83){const _0x56deac=_0x4762;_0x5f1cae[_0x56deac(0x1a9)]=_0x373d83(oe());}(X,function(_0x5c6706){const _0x569d82=_0x4762;return function(_0x3948d4){const _0x1a6523=_0x4762;var _0x324ef7=_0x5c6706,_0x20d966=_0x324ef7[_0x1a6523(0x63c)],_0x2027e1=_0x20d966[_0x1a6523(0x398)],_0x2a027f=_0x20d966[_0x1a6523(0x52b)],_0x58481e=_0x324ef7[_0x1a6523(0x5f4)],_0x50806c=[];(function(){const _0x480c43=_0x1a6523;for(var _0x56bcbf=0x0;_0x56bcbf<0x40;_0x56bcbf++)_0x50806c[_0x56bcbf]=_0x3948d4[_0x480c43(0x54c)](_0x3948d4[_0x480c43(0x24d)](_0x56bcbf+0x1))*0x100000000|0x0;}());var _0x24b4b1=_0x58481e[_0x1a6523(0x5b6)]=_0x2a027f[_0x1a6523(0x523)]({'_doReset':function(){const _0x4eaa7d=_0x1a6523;this[_0x4eaa7d(0x4f4)]=new _0x2027e1[(_0x4eaa7d(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x37245e,_0x7b888f){const _0x486387=_0x1a6523;for(var _0x2f1df0=0x0;_0x2f1df0<0x10;_0x2f1df0++){var _0x33ab65=_0x7b888f+_0x2f1df0,_0x3c857d=_0x37245e[_0x33ab65];_0x37245e[_0x33ab65]=(_0x3c857d<<0x8|_0x3c857d>>>0x18)&0xff00ff|(_0x3c857d<<0x18|_0x3c857d>>>0x8)&0xff00ff00;}var _0x316e6c=this[_0x486387(0x4f4)][_0x486387(0x27e)],_0x4770d3=_0x37245e[_0x7b888f+0x0],_0x222f67=_0x37245e[_0x7b888f+0x1],_0x1b05a9=_0x37245e[_0x7b888f+0x2],_0x92824c=_0x37245e[_0x7b888f+0x3],_0x2e11cc=_0x37245e[_0x7b888f+0x4],_0x35fbc4=_0x37245e[_0x7b888f+0x5],_0x21f2e5=_0x37245e[_0x7b888f+0x6],_0x3aa915=_0x37245e[_0x7b888f+0x7],_0x52d573=_0x37245e[_0x7b888f+0x8],_0x243238=_0x37245e[_0x7b888f+0x9],_0x67795a=_0x37245e[_0x7b888f+0xa],_0xf930fa=_0x37245e[_0x7b888f+0xb],_0xc1465b=_0x37245e[_0x7b888f+0xc],_0x1e5d7b=_0x37245e[_0x7b888f+0xd],_0x5490cd=_0x37245e[_0x7b888f+0xe],_0x454a80=_0x37245e[_0x7b888f+0xf],_0x2dd43b=_0x316e6c[0x0],_0x516517=_0x316e6c[0x1],_0x300def=_0x316e6c[0x2],_0x4a1dde=_0x316e6c[0x3];_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x4770d3,0x7,_0x50806c[0x0]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x222f67,0xc,_0x50806c[0x1]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x1b05a9,0x11,_0x50806c[0x2]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x92824c,0x16,_0x50806c[0x3]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x2e11cc,0x7,_0x50806c[0x4]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x35fbc4,0xc,_0x50806c[0x5]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x21f2e5,0x11,_0x50806c[0x6]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x3aa915,0x16,_0x50806c[0x7]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x52d573,0x7,_0x50806c[0x8]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x243238,0xc,_0x50806c[0x9]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x67795a,0x11,_0x50806c[0xa]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0xf930fa,0x16,_0x50806c[0xb]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0xc1465b,0x7,_0x50806c[0xc]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x1e5d7b,0xc,_0x50806c[0xd]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x5490cd,0x11,_0x50806c[0xe]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x454a80,0x16,_0x50806c[0xf]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x222f67,0x5,_0x50806c[0x10]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x21f2e5,0x9,_0x50806c[0x11]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0xf930fa,0xe,_0x50806c[0x12]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x4770d3,0x14,_0x50806c[0x13]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x35fbc4,0x5,_0x50806c[0x14]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x67795a,0x9,_0x50806c[0x15]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x454a80,0xe,_0x50806c[0x16]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x2e11cc,0x14,_0x50806c[0x17]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x243238,0x5,_0x50806c[0x18]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x5490cd,0x9,_0x50806c[0x19]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x92824c,0xe,_0x50806c[0x1a]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x52d573,0x14,_0x50806c[0x1b]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x1e5d7b,0x5,_0x50806c[0x1c]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x1b05a9,0x9,_0x50806c[0x1d]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x3aa915,0xe,_0x50806c[0x1e]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0xc1465b,0x14,_0x50806c[0x1f]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x35fbc4,0x4,_0x50806c[0x20]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x52d573,0xb,_0x50806c[0x21]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0xf930fa,0x10,_0x50806c[0x22]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x5490cd,0x17,_0x50806c[0x23]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x222f67,0x4,_0x50806c[0x24]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x2e11cc,0xb,_0x50806c[0x25]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x3aa915,0x10,_0x50806c[0x26]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x67795a,0x17,_0x50806c[0x27]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x1e5d7b,0x4,_0x50806c[0x28]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x4770d3,0xb,_0x50806c[0x29]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x92824c,0x10,_0x50806c[0x2a]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x21f2e5,0x17,_0x50806c[0x2b]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x243238,0x4,_0x50806c[0x2c]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0xc1465b,0xb,_0x50806c[0x2d]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x454a80,0x10,_0x50806c[0x2e]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x1b05a9,0x17,_0x50806c[0x2f]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x4770d3,0x6,_0x50806c[0x30]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x3aa915,0xa,_0x50806c[0x31]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x5490cd,0xf,_0x50806c[0x32]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x35fbc4,0x15,_0x50806c[0x33]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0xc1465b,0x6,_0x50806c[0x34]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x92824c,0xa,_0x50806c[0x35]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x67795a,0xf,_0x50806c[0x36]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x222f67,0x15,_0x50806c[0x37]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x52d573,0x6,_0x50806c[0x38]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x454a80,0xa,_0x50806c[0x39]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x21f2e5,0xf,_0x50806c[0x3a]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x1e5d7b,0x15,_0x50806c[0x3b]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x2e11cc,0x6,_0x50806c[0x3c]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0xf930fa,0xa,_0x50806c[0x3d]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x1b05a9,0xf,_0x50806c[0x3e]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x243238,0x15,_0x50806c[0x3f]),_0x316e6c[0x0]=_0x316e6c[0x0]+_0x2dd43b|0x0,_0x316e6c[0x1]=_0x316e6c[0x1]+_0x516517|0x0,_0x316e6c[0x2]=_0x316e6c[0x2]+_0x300def|0x0,_0x316e6c[0x3]=_0x316e6c[0x3]+_0x4a1dde|0x0;},'_doFinalize':function(){const _0x5573b8=_0x1a6523;var _0x3fbd35=this[_0x5573b8(0x46a)],_0x7ad4fb=_0x3fbd35[_0x5573b8(0x27e)],_0x1c45e8=this[_0x5573b8(0x501)]*0x8,_0x3ca257=_0x3fbd35[_0x5573b8(0x4c0)]*0x8;_0x7ad4fb[_0x3ca257>>>0x5]|=0x80<<0x18-_0x3ca257%0x20;var _0x559b2a=_0x3948d4[_0x5573b8(0x35b)](_0x1c45e8/0x100000000),_0x3f1b48=_0x1c45e8;_0x7ad4fb[(_0x3ca257+0x40>>>0x9<<0x4)+0xf]=(_0x559b2a<<0x8|_0x559b2a>>>0x18)&0xff00ff|(_0x559b2a<<0x18|_0x559b2a>>>0x8)&0xff00ff00,_0x7ad4fb[(_0x3ca257+0x40>>>0x9<<0x4)+0xe]=(_0x3f1b48<<0x8|_0x3f1b48>>>0x18)&0xff00ff|(_0x3f1b48<<0x18|_0x3f1b48>>>0x8)&0xff00ff00,_0x3fbd35[_0x5573b8(0x4c0)]=(_0x7ad4fb[_0x5573b8(0x58c)]+0x1)*0x4,this[_0x5573b8(0x610)]();for(var _0x10ee23=this[_0x5573b8(0x4f4)],_0x4300a1=_0x10ee23['words'],_0x31eaa6=0x0;_0x31eaa6<0x4;_0x31eaa6++){var _0x388a46=_0x4300a1[_0x31eaa6];_0x4300a1[_0x31eaa6]=(_0x388a46<<0x8|_0x388a46>>>0x18)&0xff00ff|(_0x388a46<<0x18|_0x388a46>>>0x8)&0xff00ff00;}return _0x10ee23;},'clone':function(){const _0x535b33=_0x1a6523;var _0x3c9127=_0x2a027f[_0x535b33(0x1b9)][_0x535b33(0x420)](this);return _0x3c9127[_0x535b33(0x4f4)]=this[_0x535b33(0x4f4)][_0x535b33(0x1b9)](),_0x3c9127;}});function _0x4142cc(_0x47ca30,_0xa1f3dd,_0x25edbf,_0x41346b,_0x55d0f4,_0x5ecbad,_0x3cc67f){var _0x1fc0c2=_0x47ca30+(_0xa1f3dd&_0x25edbf|~_0xa1f3dd&_0x41346b)+_0x55d0f4+_0x3cc67f;return(_0x1fc0c2<<_0x5ecbad|_0x1fc0c2>>>0x20-_0x5ecbad)+_0xa1f3dd;}function _0x3f1cf6(_0x535b5d,_0x2eb0d0,_0x909252,_0x5b67ed,_0x2991c2,_0x1d0ba6,_0xb1346c){var _0x553b43=_0x535b5d+(_0x2eb0d0&_0x5b67ed|_0x909252&~_0x5b67ed)+_0x2991c2+_0xb1346c;return(_0x553b43<<_0x1d0ba6|_0x553b43>>>0x20-_0x1d0ba6)+_0x2eb0d0;}function _0x5ec5f3(_0x169fce,_0x5d207a,_0x391317,_0x987c00,_0x33699d,_0x5e94c0,_0x446143){var _0x4b6199=_0x169fce+(_0x5d207a^_0x391317^_0x987c00)+_0x33699d+_0x446143;return(_0x4b6199<<_0x5e94c0|_0x4b6199>>>0x20-_0x5e94c0)+_0x5d207a;}function _0x1e28dc(_0x58d963,_0xcac535,_0x31d58e,_0x5c17c5,_0x12790e,_0x4211a3,_0x3e6bb5){var _0xa0e073=_0x58d963+(_0x31d58e^(_0xcac535|~_0x5c17c5))+_0x12790e+_0x3e6bb5;return(_0xa0e073<<_0x4211a3|_0xa0e073>>>0x20-_0x4211a3)+_0xcac535;}_0x324ef7[_0x1a6523(0x5b6)]=_0x2a027f['_createHelper'](_0x24b4b1),_0x324ef7[_0x1a6523(0x37e)]=_0x2a027f[_0x1a6523(0x536)](_0x24b4b1);}(Math),_0x5c6706[_0x569d82(0x5b6)];}));}(ht)),ht[_0x3f2b80(0x1a9)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x374152=_0x38c3ff;return Yt||(Yt=0x1,function(_0x545b39,_0xf396b7){(function(_0x403dc0,_0x1a8d9f){const _0x5bff03=_0x4762;_0x545b39[_0x5bff03(0x1a9)]=_0x1a8d9f(oe());}(X,function(_0x20e64e){const _0x2b3b10=_0x4762;return(function(){const _0x4c2fb0=_0x4762;var _0x2b30bd=_0x20e64e,_0x5885ca=_0x2b30bd['lib'],_0x29d29a=_0x5885ca['WordArray'],_0x3b4e46=_0x5885ca[_0x4c2fb0(0x52b)],_0x225c06=_0x2b30bd[_0x4c2fb0(0x5f4)],_0x440ebe=[],_0x43d997=_0x225c06[_0x4c2fb0(0x648)]=_0x3b4e46[_0x4c2fb0(0x523)]({'_doReset':function(){const _0x446864=_0x4c2fb0;this['_hash']=new _0x29d29a[(_0x446864(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x375693,_0x1e0d3e){const _0x5ab217=_0x4c2fb0;for(var _0x839065=this[_0x5ab217(0x4f4)][_0x5ab217(0x27e)],_0x58cabb=_0x839065[0x0],_0x55b4f8=_0x839065[0x1],_0x529ddd=_0x839065[0x2],_0x4e42dd=_0x839065[0x3],_0x9356d2=_0x839065[0x4],_0x5c3322=0x0;_0x5c3322<0x50;_0x5c3322++){if(_0x5c3322<0x10)_0x440ebe[_0x5c3322]=_0x375693[_0x1e0d3e+_0x5c3322]|0x0;else{var _0x4fd50b=_0x440ebe[_0x5c3322-0x3]^_0x440ebe[_0x5c3322-0x8]^_0x440ebe[_0x5c3322-0xe]^_0x440ebe[_0x5c3322-0x10];_0x440ebe[_0x5c3322]=_0x4fd50b<<0x1|_0x4fd50b>>>0x1f;}var _0x46b5d0=(_0x58cabb<<0x5|_0x58cabb>>>0x1b)+_0x9356d2+_0x440ebe[_0x5c3322];_0x5c3322<0x14?_0x46b5d0+=(_0x55b4f8&_0x529ddd|~_0x55b4f8&_0x4e42dd)+0x5a827999:_0x5c3322<0x28?_0x46b5d0+=(_0x55b4f8^_0x529ddd^_0x4e42dd)+0x6ed9eba1:_0x5c3322<0x3c?_0x46b5d0+=(_0x55b4f8&_0x529ddd|_0x55b4f8&_0x4e42dd|_0x529ddd&_0x4e42dd)-0x70e44324:_0x46b5d0+=(_0x55b4f8^_0x529ddd^_0x4e42dd)-0x359d3e2a,_0x9356d2=_0x4e42dd,_0x4e42dd=_0x529ddd,_0x529ddd=_0x55b4f8<<0x1e|_0x55b4f8>>>0x2,_0x55b4f8=_0x58cabb,_0x58cabb=_0x46b5d0;}_0x839065[0x0]=_0x839065[0x0]+_0x58cabb|0x0,_0x839065[0x1]=_0x839065[0x1]+_0x55b4f8|0x0,_0x839065[0x2]=_0x839065[0x2]+_0x529ddd|0x0,_0x839065[0x3]=_0x839065[0x3]+_0x4e42dd|0x0,_0x839065[0x4]=_0x839065[0x4]+_0x9356d2|0x0;},'_doFinalize':function(){const _0x5dc91f=_0x4c2fb0;var _0x188c0e=this[_0x5dc91f(0x46a)],_0x1321ba=_0x188c0e['words'],_0xaa60e=this[_0x5dc91f(0x501)]*0x8,_0x558aa3=_0x188c0e[_0x5dc91f(0x4c0)]*0x8;return _0x1321ba[_0x558aa3>>>0x5]|=0x80<<0x18-_0x558aa3%0x20,_0x1321ba[(_0x558aa3+0x40>>>0x9<<0x4)+0xe]=Math[_0x5dc91f(0x35b)](_0xaa60e/0x100000000),_0x1321ba[(_0x558aa3+0x40>>>0x9<<0x4)+0xf]=_0xaa60e,_0x188c0e['sigBytes']=_0x1321ba[_0x5dc91f(0x58c)]*0x4,this[_0x5dc91f(0x610)](),this[_0x5dc91f(0x4f4)];},'clone':function(){const _0x384473=_0x4c2fb0;var _0x2d7876=_0x3b4e46[_0x384473(0x1b9)][_0x384473(0x420)](this);return _0x2d7876[_0x384473(0x4f4)]=this[_0x384473(0x4f4)][_0x384473(0x1b9)](),_0x2d7876;}});_0x2b30bd[_0x4c2fb0(0x648)]=_0x3b4e46[_0x4c2fb0(0x241)](_0x43d997),_0x2b30bd[_0x4c2fb0(0x645)]=_0x3b4e46['_createHmacHelper'](_0x43d997);}()),_0x20e64e[_0x2b3b10(0x648)];}));}(ut)),ut[_0x374152(0x1a9)];}var dt={'exports':{}},Kt;function lr(){return Kt||(Kt=0x1,function(_0xe05371,_0x5a2dd9){(function(_0x2752a1,_0x50ac9c){const _0x952d8b=_0x4762;_0xe05371[_0x952d8b(0x1a9)]=_0x50ac9c(oe());}(X,function(_0x3e1d54){(function(){const _0x2ba244=_0x4762;var _0x3b1b60=_0x3e1d54,_0x2f1407=_0x3b1b60[_0x2ba244(0x63c)],_0x74f421=_0x2f1407[_0x2ba244(0x4ba)],_0xef7080=_0x3b1b60[_0x2ba244(0x442)],_0x19c508=_0xef7080[_0x2ba244(0x538)],_0x378aa8=_0x3b1b60[_0x2ba244(0x5f4)];_0x378aa8[_0x2ba244(0x603)]=_0x74f421['extend']({'init':function(_0x2b3be4,_0x2f3f85){const _0x3889c2=_0x2ba244;_0x2b3be4=this[_0x3889c2(0x21c)]=new _0x2b3be4['init'](),typeof _0x2f3f85==_0x3889c2(0x53c)&&(_0x2f3f85=_0x19c508['parse'](_0x2f3f85));var _0x5693e1=_0x2b3be4[_0x3889c2(0x524)],_0x145456=_0x5693e1*0x4;_0x2f3f85[_0x3889c2(0x4c0)]>_0x145456&&(_0x2f3f85=_0x2b3be4[_0x3889c2(0x1a2)](_0x2f3f85)),_0x2f3f85['clamp']();for(var _0x149879=this['_oKey']=_0x2f3f85[_0x3889c2(0x1b9)](),_0x365ab0=this[_0x3889c2(0x511)]=_0x2f3f85['clone'](),_0x12b95a=_0x149879['words'],_0x1022f5=_0x365ab0['words'],_0x244d9b=0x0;_0x244d9b<_0x5693e1;_0x244d9b++)_0x12b95a[_0x244d9b]^=0x5c5c5c5c,_0x1022f5[_0x244d9b]^=0x36363636;_0x149879[_0x3889c2(0x4c0)]=_0x365ab0[_0x3889c2(0x4c0)]=_0x145456,this[_0x3889c2(0x4e2)]();},'reset':function(){const _0x38e92a=_0x2ba244;var _0x1efc73=this[_0x38e92a(0x21c)];_0x1efc73[_0x38e92a(0x4e2)](),_0x1efc73['update'](this[_0x38e92a(0x511)]);},'update':function(_0x321717){const _0x14a9fb=_0x2ba244;return this[_0x14a9fb(0x21c)]['update'](_0x321717),this;},'finalize':function(_0x28ca85){const _0x57ecfe=_0x2ba244;var _0xfee1b9=this[_0x57ecfe(0x21c)],_0x443089=_0xfee1b9[_0x57ecfe(0x1a2)](_0x28ca85);_0xfee1b9[_0x57ecfe(0x4e2)]();var _0x41d371=_0xfee1b9['finalize'](this[_0x57ecfe(0x5ef)][_0x57ecfe(0x1b9)]()[_0x57ecfe(0x3f0)](_0x443089));return _0x41d371;}});}());}));}(dt)),dt['exports'];}var qt;function Dn(){const _0x1a5c15=_0x38c3ff;return qt||(qt=0x1,function(_0x51c247,_0x5760af){(function(_0x47b396,_0x199e08,_0x613382){_0x51c247['exports']=_0x199e08(oe(),cr(),lr());}(X,function(_0x101484){const _0x3029fd=_0x4762;return(function(){const _0x147022=_0x4762;var _0x3ba604=_0x101484,_0x246c18=_0x3ba604[_0x147022(0x63c)],_0x32ee49=_0x246c18[_0x147022(0x4ba)],_0x2c6ff0=_0x246c18['WordArray'],_0x5ca1cf=_0x3ba604['algo'],_0x53258e=_0x5ca1cf[_0x147022(0x5b6)],_0x24caee=_0x5ca1cf[_0x147022(0x5f1)]=_0x32ee49[_0x147022(0x523)]({'cfg':_0x32ee49[_0x147022(0x523)]({'keySize':0x80/0x20,'hasher':_0x53258e,'iterations':0x1}),'init':function(_0x155974){const _0x362d7f=_0x147022;this[_0x362d7f(0x53b)]=this[_0x362d7f(0x53b)][_0x362d7f(0x523)](_0x155974);},'compute':function(_0x4a11dc,_0x108674){const _0x211c1f=_0x147022;for(var _0x12b952,_0x149b47=this[_0x211c1f(0x53b)],_0x16fbd2=_0x149b47[_0x211c1f(0x303)][_0x211c1f(0x43e)](),_0x3dc0de=_0x2c6ff0['create'](),_0x26fb1c=_0x3dc0de[_0x211c1f(0x27e)],_0x4f99df=_0x149b47[_0x211c1f(0x20e)],_0x26255e=_0x149b47['iterations'];_0x26fb1c[_0x211c1f(0x58c)]<_0x4f99df;){_0x12b952&&_0x16fbd2[_0x211c1f(0x619)](_0x12b952),_0x12b952=_0x16fbd2['update'](_0x4a11dc)['finalize'](_0x108674),_0x16fbd2[_0x211c1f(0x4e2)]();for(var _0x525d79=0x1;_0x525d79<_0x26255e;_0x525d79++)_0x12b952=_0x16fbd2[_0x211c1f(0x1a2)](_0x12b952),_0x16fbd2[_0x211c1f(0x4e2)]();_0x3dc0de[_0x211c1f(0x3f0)](_0x12b952);}return _0x3dc0de[_0x211c1f(0x4c0)]=_0x4f99df*0x4,_0x3dc0de;}});_0x3ba604[_0x147022(0x5f1)]=function(_0x3f8828,_0x41bc83,_0x1adcaf){const _0x3e6823=_0x147022;return _0x24caee['create'](_0x1adcaf)[_0x3e6823(0x1f0)](_0x3f8828,_0x41bc83);};}()),_0x101484[_0x3029fd(0x5f1)];}));}(_t)),_t[_0x1a5c15(0x1a9)];}var ft={'exports':{}},zt;function wn(){const _0x2e4220=_0x38c3ff;return zt||(zt=0x1,function(_0x65226d,_0xd91f95){(function(_0x4d0155,_0x2d087b,_0x291728){const _0x2b69ab=_0x4762;_0x65226d[_0x2b69ab(0x1a9)]=_0x2d087b(oe(),Dn());}(X,function(_0x33a122){const _0x44cc12=_0x4762;_0x33a122[_0x44cc12(0x63c)][_0x44cc12(0x44a)]||function(_0x82dc8a){const _0x108036=_0x44cc12;var _0x57762=_0x33a122,_0x110103=_0x57762['lib'],_0x4017a2=_0x110103[_0x108036(0x4ba)],_0x99752=_0x110103[_0x108036(0x398)],_0x5834f6=_0x110103['BufferedBlockAlgorithm'],_0x9680c0=_0x57762[_0x108036(0x442)];_0x9680c0[_0x108036(0x538)];var _0x2dd935=_0x9680c0[_0x108036(0x1ce)],_0x37e481=_0x57762[_0x108036(0x5f4)],_0x394fcd=_0x37e481[_0x108036(0x5f1)],_0x3c443a=_0x110103[_0x108036(0x44a)]=_0x5834f6[_0x108036(0x523)]({'cfg':_0x4017a2['extend'](),'createEncryptor':function(_0x582546,_0x274eba){const _0x2329fc=_0x108036;return this['create'](this[_0x2329fc(0x1fc)],_0x582546,_0x274eba);},'createDecryptor':function(_0x2ab9c4,_0xd0ff98){return this['create'](this['_DEC_XFORM_MODE'],_0x2ab9c4,_0xd0ff98);},'init':function(_0x5d15f5,_0x32bde8,_0x4faac7){const _0x567039=_0x108036;this[_0x567039(0x53b)]=this[_0x567039(0x53b)][_0x567039(0x523)](_0x4faac7),this[_0x567039(0x394)]=_0x5d15f5,this['_key']=_0x32bde8,this['reset']();},'reset':function(){const _0x52d2=_0x108036;_0x5834f6['reset'][_0x52d2(0x420)](this),this['_doReset']();},'process':function(_0x24c377){return this['_append'](_0x24c377),this['_process']();},'finalize':function(_0x4e2cae){const _0x24fd0a=_0x108036;_0x4e2cae&&this[_0x24fd0a(0x5fc)](_0x4e2cae);var _0x137275=this[_0x24fd0a(0x431)]();return _0x137275;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x149f7a(_0xccaece){return typeof _0xccaece=='string'?_0x226f3c:_0x395a67;}return function(_0x206245){return{'encrypt':function(_0x26da27,_0x260b0c,_0x4834a3){return _0x149f7a(_0x260b0c)['encrypt'](_0x206245,_0x26da27,_0x260b0c,_0x4834a3);},'decrypt':function(_0x503a38,_0x5796b9,_0x12ffaa){const _0xa4c2b1=_0x4762;return _0x149f7a(_0x5796b9)[_0xa4c2b1(0x2c2)](_0x206245,_0x503a38,_0x5796b9,_0x12ffaa);}};};}())});_0x110103[_0x108036(0x28d)]=_0x3c443a[_0x108036(0x523)]({'_doFinalize':function(){const _0x23edc7=_0x108036;var _0x393c05=this[_0x23edc7(0x610)](!0x0);return _0x393c05;},'blockSize':0x1});var _0x4700b1=_0x57762[_0x108036(0x349)]={},_0x3b276a=_0x110103[_0x108036(0x283)]=_0x4017a2[_0x108036(0x523)]({'createEncryptor':function(_0xb1b07c,_0x52cf41){const _0x7de0a3=_0x108036;return this[_0x7de0a3(0x3c0)][_0x7de0a3(0x43e)](_0xb1b07c,_0x52cf41);},'createDecryptor':function(_0xbb4cdb,_0x30cc4d){const _0x2b1323=_0x108036;return this['Decryptor'][_0x2b1323(0x43e)](_0xbb4cdb,_0x30cc4d);},'init':function(_0x43aa84,_0x5bfc75){const _0x372cdd=_0x108036;this[_0x372cdd(0x44e)]=_0x43aa84,this[_0x372cdd(0x2e7)]=_0x5bfc75;}}),_0x1a58b3=_0x4700b1[_0x108036(0x221)]=(function(){const _0x30ef27=_0x108036;var _0x21f341=_0x3b276a[_0x30ef27(0x523)]();_0x21f341[_0x30ef27(0x3c0)]=_0x21f341['extend']({'processBlock':function(_0x414fd0,_0x2885b5){const _0x63c170=_0x30ef27;var _0x114348=this[_0x63c170(0x44e)],_0x210529=_0x114348[_0x63c170(0x524)];_0x1ba955[_0x63c170(0x420)](this,_0x414fd0,_0x2885b5,_0x210529),_0x114348[_0x63c170(0x55a)](_0x414fd0,_0x2885b5),this[_0x63c170(0x4ed)]=_0x414fd0[_0x63c170(0x56a)](_0x2885b5,_0x2885b5+_0x210529);}}),_0x21f341[_0x30ef27(0x4a1)]=_0x21f341['extend']({'processBlock':function(_0x1dbc8b,_0x1c0b26){const _0x3d2028=_0x30ef27;var _0x44f38d=this['_cipher'],_0x249e3f=_0x44f38d[_0x3d2028(0x524)],_0x533dd2=_0x1dbc8b['slice'](_0x1c0b26,_0x1c0b26+_0x249e3f);_0x44f38d[_0x3d2028(0x3dc)](_0x1dbc8b,_0x1c0b26),_0x1ba955['call'](this,_0x1dbc8b,_0x1c0b26,_0x249e3f),this[_0x3d2028(0x4ed)]=_0x533dd2;}});function _0x1ba955(_0x389061,_0x19fc92,_0xe6006f){const _0x53e28a=_0x30ef27;var _0x39f02e,_0x2e4199=this[_0x53e28a(0x2e7)];_0x2e4199?(_0x39f02e=_0x2e4199,this[_0x53e28a(0x2e7)]=_0x82dc8a):_0x39f02e=this[_0x53e28a(0x4ed)];for(var _0x4d1e39=0x0;_0x4d1e39<_0xe6006f;_0x4d1e39++)_0x389061[_0x19fc92+_0x4d1e39]^=_0x39f02e[_0x4d1e39];}return _0x21f341;}()),_0x3fc7ee=_0x57762[_0x108036(0x531)]={},_0xc15dea=_0x3fc7ee[_0x108036(0x3b5)]={'pad':function(_0x5ceff8,_0x153ca6){const _0x2ca6b2=_0x108036;for(var _0x40d248=_0x153ca6*0x4,_0x499e7d=_0x40d248-_0x5ceff8[_0x2ca6b2(0x4c0)]%_0x40d248,_0x357d2c=_0x499e7d<<0x18|_0x499e7d<<0x10|_0x499e7d<<0x8|_0x499e7d,_0x11a479=[],_0x4f82cc=0x0;_0x4f82cc<_0x499e7d;_0x4f82cc+=0x4)_0x11a479[_0x2ca6b2(0x473)](_0x357d2c);var _0x10de58=_0x99752[_0x2ca6b2(0x43e)](_0x11a479,_0x499e7d);_0x5ceff8[_0x2ca6b2(0x3f0)](_0x10de58);},'unpad':function(_0x2898e4){const _0x2fd3f4=_0x108036;var _0x180056=_0x2898e4[_0x2fd3f4(0x27e)][_0x2898e4[_0x2fd3f4(0x4c0)]-0x1>>>0x2]&0xff;_0x2898e4['sigBytes']-=_0x180056;}};_0x110103[_0x108036(0x31b)]=_0x3c443a[_0x108036(0x523)]({'cfg':_0x3c443a[_0x108036(0x53b)][_0x108036(0x523)]({'mode':_0x1a58b3,'padding':_0xc15dea}),'reset':function(){const _0x5b25dd=_0x108036;var _0x36d6c9;_0x3c443a[_0x5b25dd(0x4e2)][_0x5b25dd(0x420)](this);var _0x2c2c7f=this[_0x5b25dd(0x53b)],_0x11ad2e=_0x2c2c7f['iv'],_0x84e346=_0x2c2c7f[_0x5b25dd(0x349)];this[_0x5b25dd(0x394)]==this[_0x5b25dd(0x1fc)]?_0x36d6c9=_0x84e346[_0x5b25dd(0x263)]:(_0x36d6c9=_0x84e346[_0x5b25dd(0x2a9)],this[_0x5b25dd(0x4b1)]=0x1),this[_0x5b25dd(0x202)]&&this[_0x5b25dd(0x202)][_0x5b25dd(0x484)]==_0x36d6c9?this[_0x5b25dd(0x202)][_0x5b25dd(0x475)](this,_0x11ad2e&&_0x11ad2e[_0x5b25dd(0x27e)]):(this[_0x5b25dd(0x202)]=_0x36d6c9[_0x5b25dd(0x420)](_0x84e346,this,_0x11ad2e&&_0x11ad2e[_0x5b25dd(0x27e)]),this[_0x5b25dd(0x202)]['__creator']=_0x36d6c9);},'_doProcessBlock':function(_0x299bb3,_0x46152f){const _0x2443e2=_0x108036;this[_0x2443e2(0x202)][_0x2443e2(0x1e2)](_0x299bb3,_0x46152f);},'_doFinalize':function(){const _0x475aae=_0x108036;var _0x20f34a,_0x480ee3=this['cfg'][_0x475aae(0x59b)];return this[_0x475aae(0x394)]==this[_0x475aae(0x1fc)]?(_0x480ee3['pad'](this[_0x475aae(0x46a)],this[_0x475aae(0x524)]),_0x20f34a=this[_0x475aae(0x610)](!0x0)):(_0x20f34a=this[_0x475aae(0x610)](!0x0),_0x480ee3[_0x475aae(0x51f)](_0x20f34a)),_0x20f34a;},'blockSize':0x80/0x20});var _0x38ea67=_0x110103[_0x108036(0x363)]=_0x4017a2[_0x108036(0x523)]({'init':function(_0x2bfa03){const _0x59990d=_0x108036;this[_0x59990d(0x552)](_0x2bfa03);},'toString':function(_0x15331f){const _0x16c4bb=_0x108036;return(_0x15331f||this[_0x16c4bb(0x39d)])[_0x16c4bb(0x3e4)](this);}}),_0x523384=_0x57762[_0x108036(0x3d8)]={},_0x346e71=_0x523384[_0x108036(0x381)]={'stringify':function(_0x581430){const _0x3d5965=_0x108036;var _0x47ace1,_0x5332a0=_0x581430['ciphertext'],_0x1d35aa=_0x581430[_0x3d5965(0x2a2)];return _0x1d35aa?_0x47ace1=_0x99752['create']([0x53616c74,0x65645f5f])[_0x3d5965(0x3f0)](_0x1d35aa)[_0x3d5965(0x3f0)](_0x5332a0):_0x47ace1=_0x5332a0,_0x47ace1['toString'](_0x2dd935);},'parse':function(_0x414c8e){const _0x19e010=_0x108036;var _0x47e931,_0x3030ff=_0x2dd935[_0x19e010(0x223)](_0x414c8e),_0x16417e=_0x3030ff['words'];return _0x16417e[0x0]==0x53616c74&&_0x16417e[0x1]==0x65645f5f&&(_0x47e931=_0x99752['create'](_0x16417e[_0x19e010(0x56a)](0x2,0x4)),_0x16417e[_0x19e010(0x2d3)](0x0,0x4),_0x3030ff[_0x19e010(0x4c0)]-=0x10),_0x38ea67[_0x19e010(0x43e)]({'ciphertext':_0x3030ff,'salt':_0x47e931});}},_0x395a67=_0x110103[_0x108036(0x2e5)]=_0x4017a2[_0x108036(0x523)]({'cfg':_0x4017a2[_0x108036(0x523)]({'format':_0x346e71}),'encrypt':function(_0x4dd3b9,_0x2ce5e8,_0x551f90,_0x5f2859){const _0x122dcd=_0x108036;_0x5f2859=this['cfg'][_0x122dcd(0x523)](_0x5f2859);var _0x470fc0=_0x4dd3b9[_0x122dcd(0x263)](_0x551f90,_0x5f2859),_0x54ebbc=_0x470fc0[_0x122dcd(0x1a2)](_0x2ce5e8),_0x379f0d=_0x470fc0[_0x122dcd(0x53b)];return _0x38ea67[_0x122dcd(0x43e)]({'ciphertext':_0x54ebbc,'key':_0x551f90,'iv':_0x379f0d['iv'],'algorithm':_0x4dd3b9,'mode':_0x379f0d[_0x122dcd(0x349)],'padding':_0x379f0d[_0x122dcd(0x59b)],'blockSize':_0x4dd3b9[_0x122dcd(0x524)],'formatter':_0x5f2859[_0x122dcd(0x3d8)]});},'decrypt':function(_0x2e6519,_0x4654a3,_0x4ea833,_0x1198b7){const _0x31f1e2=_0x108036;_0x1198b7=this[_0x31f1e2(0x53b)][_0x31f1e2(0x523)](_0x1198b7),_0x4654a3=this['_parse'](_0x4654a3,_0x1198b7[_0x31f1e2(0x3d8)]);var _0x369751=_0x2e6519[_0x31f1e2(0x2a9)](_0x4ea833,_0x1198b7)[_0x31f1e2(0x1a2)](_0x4654a3['ciphertext']);return _0x369751;},'_parse':function(_0x5ca5f8,_0x2dbee1){const _0xed443e=_0x108036;return typeof _0x5ca5f8==_0xed443e(0x53c)?_0x2dbee1[_0xed443e(0x223)](_0x5ca5f8,this):_0x5ca5f8;}}),_0x26c687=_0x57762[_0x108036(0x5cc)]={},_0x2a080d=_0x26c687[_0x108036(0x381)]={'execute':function(_0x341f8c,_0xa24128,_0x447dbf,_0x2f1678,_0x3149de){const _0x3121d3=_0x108036;if(_0x2f1678||(_0x2f1678=_0x99752[_0x3121d3(0x3b9)](0x40/0x8)),_0x3149de)var _0x29848e=_0x394fcd[_0x3121d3(0x43e)]({'keySize':_0xa24128+_0x447dbf,'hasher':_0x3149de})[_0x3121d3(0x1f0)](_0x341f8c,_0x2f1678);else var _0x29848e=_0x394fcd[_0x3121d3(0x43e)]({'keySize':_0xa24128+_0x447dbf})[_0x3121d3(0x1f0)](_0x341f8c,_0x2f1678);var _0xb145ac=_0x99752[_0x3121d3(0x43e)](_0x29848e[_0x3121d3(0x27e)][_0x3121d3(0x56a)](_0xa24128),_0x447dbf*0x4);return _0x29848e[_0x3121d3(0x4c0)]=_0xa24128*0x4,_0x38ea67[_0x3121d3(0x43e)]({'key':_0x29848e,'iv':_0xb145ac,'salt':_0x2f1678});}},_0x226f3c=_0x110103[_0x108036(0x2c4)]=_0x395a67['extend']({'cfg':_0x395a67[_0x108036(0x53b)][_0x108036(0x523)]({'kdf':_0x2a080d}),'encrypt':function(_0x4a7250,_0x3b2648,_0x2d0de9,_0x24d7ff){const _0x4c8c04=_0x108036;_0x24d7ff=this[_0x4c8c04(0x53b)][_0x4c8c04(0x523)](_0x24d7ff);var _0x198597=_0x24d7ff[_0x4c8c04(0x5cc)][_0x4c8c04(0x1eb)](_0x2d0de9,_0x4a7250[_0x4c8c04(0x20e)],_0x4a7250[_0x4c8c04(0x411)],_0x24d7ff['salt'],_0x24d7ff[_0x4c8c04(0x303)]);_0x24d7ff['iv']=_0x198597['iv'];var _0x23caee=_0x395a67['encrypt'][_0x4c8c04(0x420)](this,_0x4a7250,_0x3b2648,_0x198597[_0x4c8c04(0x5d1)],_0x24d7ff);return _0x23caee[_0x4c8c04(0x552)](_0x198597),_0x23caee;},'decrypt':function(_0x428edd,_0x2fd615,_0x66f1df,_0x311b71){const _0x37c43b=_0x108036;_0x311b71=this[_0x37c43b(0x53b)][_0x37c43b(0x523)](_0x311b71),_0x2fd615=this[_0x37c43b(0x65a)](_0x2fd615,_0x311b71[_0x37c43b(0x3d8)]);var _0x30f8a2=_0x311b71[_0x37c43b(0x5cc)][_0x37c43b(0x1eb)](_0x66f1df,_0x428edd[_0x37c43b(0x20e)],_0x428edd[_0x37c43b(0x411)],_0x2fd615[_0x37c43b(0x2a2)],_0x311b71[_0x37c43b(0x303)]);_0x311b71['iv']=_0x30f8a2['iv'];var _0x14c13d=_0x395a67[_0x37c43b(0x2c2)][_0x37c43b(0x420)](this,_0x428edd,_0x2fd615,_0x30f8a2[_0x37c43b(0x5d1)],_0x311b71);return _0x14c13d;}});}();}));}(ft)),ft[_0x2e4220(0x1a9)];}(function(_0x294ab,_0x243c41){(function(_0xbefec2,_0x369488,_0x2f8cac){const _0x3b9e30=_0x4762;_0x294ab[_0x3b9e30(0x1a9)]=_0x369488(oe(),On(),ar(),Dn(),wn());}(X,function(_0x3ef1c1){const _0x27b281=_0x4762;return(function(){const _0x473130=_0x4762;var _0x1591f9=_0x3ef1c1,_0x2af9d1=_0x1591f9['lib'],_0x5d1faa=_0x2af9d1[_0x473130(0x31b)],_0x31b1c3=_0x1591f9[_0x473130(0x5f4)],_0x54ed84=[],_0x189c79=[],_0x5ac695=[],_0x137b69=[],_0x271847=[],_0x1265a1=[],_0x398c72=[],_0x428b29=[],_0x1ebf70=[],_0x56b813=[];(function(){for(var _0x1edd68=[],_0x2cb34c=0x0;_0x2cb34c<0x100;_0x2cb34c++)_0x2cb34c<0x80?_0x1edd68[_0x2cb34c]=_0x2cb34c<<0x1:_0x1edd68[_0x2cb34c]=_0x2cb34c<<0x1^0x11b;for(var _0x446644=0x0,_0x315c9e=0x0,_0x2cb34c=0x0;_0x2cb34c<0x100;_0x2cb34c++){var _0x179618=_0x315c9e^_0x315c9e<<0x1^_0x315c9e<<0x2^_0x315c9e<<0x3^_0x315c9e<<0x4;_0x179618=_0x179618>>>0x8^_0x179618&0xff^0x63,_0x54ed84[_0x446644]=_0x179618,_0x189c79[_0x179618]=_0x446644;var _0x31bad2=_0x1edd68[_0x446644],_0x46a99e=_0x1edd68[_0x31bad2],_0x10145a=_0x1edd68[_0x46a99e],_0x3c3f34=_0x1edd68[_0x179618]*0x101^_0x179618*0x1010100;_0x5ac695[_0x446644]=_0x3c3f34<<0x18|_0x3c3f34>>>0x8,_0x137b69[_0x446644]=_0x3c3f34<<0x10|_0x3c3f34>>>0x10,_0x271847[_0x446644]=_0x3c3f34<<0x8|_0x3c3f34>>>0x18,_0x1265a1[_0x446644]=_0x3c3f34;var _0x3c3f34=_0x10145a*0x1010101^_0x46a99e*0x10001^_0x31bad2*0x101^_0x446644*0x1010100;_0x398c72[_0x179618]=_0x3c3f34<<0x18|_0x3c3f34>>>0x8,_0x428b29[_0x179618]=_0x3c3f34<<0x10|_0x3c3f34>>>0x10,_0x1ebf70[_0x179618]=_0x3c3f34<<0x8|_0x3c3f34>>>0x18,_0x56b813[_0x179618]=_0x3c3f34,_0x446644?(_0x446644=_0x31bad2^_0x1edd68[_0x1edd68[_0x1edd68[_0x10145a^_0x31bad2]]],_0x315c9e^=_0x1edd68[_0x1edd68[_0x315c9e]]):_0x446644=_0x315c9e=0x1;}}());var _0x527fd6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x396cad=_0x31b1c3[_0x473130(0x3a9)]=_0x5d1faa[_0x473130(0x523)]({'_doReset':function(){const _0x38805c=_0x473130;var _0x596b4a;if(!(this[_0x38805c(0x46f)]&&this[_0x38805c(0x600)]===this['_key'])){for(var _0x41ec6f=this[_0x38805c(0x600)]=this[_0x38805c(0x58f)],_0x26734c=_0x41ec6f[_0x38805c(0x27e)],_0x24ae03=_0x41ec6f[_0x38805c(0x4c0)]/0x4,_0x34e315=this[_0x38805c(0x46f)]=_0x24ae03+0x6,_0x257e8e=(_0x34e315+0x1)*0x4,_0x308927=this[_0x38805c(0x461)]=[],_0x1f446b=0x0;_0x1f446b<_0x257e8e;_0x1f446b++)_0x1f446b<_0x24ae03?_0x308927[_0x1f446b]=_0x26734c[_0x1f446b]:(_0x596b4a=_0x308927[_0x1f446b-0x1],_0x1f446b%_0x24ae03?_0x24ae03>0x6&&_0x1f446b%_0x24ae03==0x4&&(_0x596b4a=_0x54ed84[_0x596b4a>>>0x18]<<0x18|_0x54ed84[_0x596b4a>>>0x10&0xff]<<0x10|_0x54ed84[_0x596b4a>>>0x8&0xff]<<0x8|_0x54ed84[_0x596b4a&0xff]):(_0x596b4a=_0x596b4a<<0x8|_0x596b4a>>>0x18,_0x596b4a=_0x54ed84[_0x596b4a>>>0x18]<<0x18|_0x54ed84[_0x596b4a>>>0x10&0xff]<<0x10|_0x54ed84[_0x596b4a>>>0x8&0xff]<<0x8|_0x54ed84[_0x596b4a&0xff],_0x596b4a^=_0x527fd6[_0x1f446b/_0x24ae03|0x0]<<0x18),_0x308927[_0x1f446b]=_0x308927[_0x1f446b-_0x24ae03]^_0x596b4a);for(var _0x2e188e=this[_0x38805c(0x2ba)]=[],_0x369703=0x0;_0x369703<_0x257e8e;_0x369703++){var _0x1f446b=_0x257e8e-_0x369703;if(_0x369703%0x4)var _0x596b4a=_0x308927[_0x1f446b];else var _0x596b4a=_0x308927[_0x1f446b-0x4];_0x369703<0x4||_0x1f446b<=0x4?_0x2e188e[_0x369703]=_0x596b4a:_0x2e188e[_0x369703]=_0x398c72[_0x54ed84[_0x596b4a>>>0x18]]^_0x428b29[_0x54ed84[_0x596b4a>>>0x10&0xff]]^_0x1ebf70[_0x54ed84[_0x596b4a>>>0x8&0xff]]^_0x56b813[_0x54ed84[_0x596b4a&0xff]];}}},'encryptBlock':function(_0x182b00,_0x2cf1d7){const _0x20be43=_0x473130;this[_0x20be43(0x1e0)](_0x182b00,_0x2cf1d7,this[_0x20be43(0x461)],_0x5ac695,_0x137b69,_0x271847,_0x1265a1,_0x54ed84);},'decryptBlock':function(_0x40ddfc,_0x217a15){const _0x1dd81d=_0x473130;var _0x275b0a=_0x40ddfc[_0x217a15+0x1];_0x40ddfc[_0x217a15+0x1]=_0x40ddfc[_0x217a15+0x3],_0x40ddfc[_0x217a15+0x3]=_0x275b0a,this[_0x1dd81d(0x1e0)](_0x40ddfc,_0x217a15,this[_0x1dd81d(0x2ba)],_0x398c72,_0x428b29,_0x1ebf70,_0x56b813,_0x189c79);var _0x275b0a=_0x40ddfc[_0x217a15+0x1];_0x40ddfc[_0x217a15+0x1]=_0x40ddfc[_0x217a15+0x3],_0x40ddfc[_0x217a15+0x3]=_0x275b0a;},'_doCryptBlock':function(_0xfaa81a,_0x5062cc,_0x3a5495,_0x2b8d8c,_0x1282c0,_0x170255,_0x153831,_0xef3401){const _0x4b5fc0=_0x473130;for(var _0x2a0e73=this[_0x4b5fc0(0x46f)],_0x2b7611=_0xfaa81a[_0x5062cc]^_0x3a5495[0x0],_0x124529=_0xfaa81a[_0x5062cc+0x1]^_0x3a5495[0x1],_0x151d93=_0xfaa81a[_0x5062cc+0x2]^_0x3a5495[0x2],_0x387545=_0xfaa81a[_0x5062cc+0x3]^_0x3a5495[0x3],_0x20e6d3=0x4,_0x58dfc4=0x1;_0x58dfc4<_0x2a0e73;_0x58dfc4++){var _0x28d2c0=_0x2b8d8c[_0x2b7611>>>0x18]^_0x1282c0[_0x124529>>>0x10&0xff]^_0x170255[_0x151d93>>>0x8&0xff]^_0x153831[_0x387545&0xff]^_0x3a5495[_0x20e6d3++],_0x8a43f5=_0x2b8d8c[_0x124529>>>0x18]^_0x1282c0[_0x151d93>>>0x10&0xff]^_0x170255[_0x387545>>>0x8&0xff]^_0x153831[_0x2b7611&0xff]^_0x3a5495[_0x20e6d3++],_0x50d723=_0x2b8d8c[_0x151d93>>>0x18]^_0x1282c0[_0x387545>>>0x10&0xff]^_0x170255[_0x2b7611>>>0x8&0xff]^_0x153831[_0x124529&0xff]^_0x3a5495[_0x20e6d3++],_0x32c552=_0x2b8d8c[_0x387545>>>0x18]^_0x1282c0[_0x2b7611>>>0x10&0xff]^_0x170255[_0x124529>>>0x8&0xff]^_0x153831[_0x151d93&0xff]^_0x3a5495[_0x20e6d3++];_0x2b7611=_0x28d2c0,_0x124529=_0x8a43f5,_0x151d93=_0x50d723,_0x387545=_0x32c552;}var _0x28d2c0=(_0xef3401[_0x2b7611>>>0x18]<<0x18|_0xef3401[_0x124529>>>0x10&0xff]<<0x10|_0xef3401[_0x151d93>>>0x8&0xff]<<0x8|_0xef3401[_0x387545&0xff])^_0x3a5495[_0x20e6d3++],_0x8a43f5=(_0xef3401[_0x124529>>>0x18]<<0x18|_0xef3401[_0x151d93>>>0x10&0xff]<<0x10|_0xef3401[_0x387545>>>0x8&0xff]<<0x8|_0xef3401[_0x2b7611&0xff])^_0x3a5495[_0x20e6d3++],_0x50d723=(_0xef3401[_0x151d93>>>0x18]<<0x18|_0xef3401[_0x387545>>>0x10&0xff]<<0x10|_0xef3401[_0x2b7611>>>0x8&0xff]<<0x8|_0xef3401[_0x124529&0xff])^_0x3a5495[_0x20e6d3++],_0x32c552=(_0xef3401[_0x387545>>>0x18]<<0x18|_0xef3401[_0x2b7611>>>0x10&0xff]<<0x10|_0xef3401[_0x124529>>>0x8&0xff]<<0x8|_0xef3401[_0x151d93&0xff])^_0x3a5495[_0x20e6d3++];_0xfaa81a[_0x5062cc]=_0x28d2c0,_0xfaa81a[_0x5062cc+0x1]=_0x8a43f5,_0xfaa81a[_0x5062cc+0x2]=_0x50d723,_0xfaa81a[_0x5062cc+0x3]=_0x32c552;},'keySize':0x100/0x20});_0x1591f9[_0x473130(0x3a9)]=_0x5d1faa[_0x473130(0x241)](_0x396cad);}()),_0x3ef1c1[_0x27b281(0x3a9)];}));}(yn));var hr=yn[_0x38c3ff(0x1a9)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x42d5d3,_0xabdb68){(function(_0x24ac51,_0x157835){const _0x575baa=_0x4762;_0x42d5d3[_0x575baa(0x1a9)]=_0x157835(oe());}(X,function(_0x2f825a){const _0x4aead1=_0x4762;return _0x2f825a[_0x4aead1(0x442)][_0x4aead1(0x538)];}));}(Pn));var dr=Pn[_0x38c3ff(0x1a9)];const fr=xe(dr);var Un={'exports':{}};(function(_0x383b2f,_0x3766bf){(function(_0x40f6b1,_0x1a945e){const _0x5187a2=_0x4762;_0x383b2f[_0x5187a2(0x1a9)]=_0x1a945e(oe());}(X,function(_0x4a10d3){const _0x1fd6e5=_0x4762;return(function(){const _0x355f77=_0x4762;if(typeof ArrayBuffer=='function'){var _0x4ccb37=_0x4a10d3,_0x3b27cf=_0x4ccb37['lib'],_0xed782c=_0x3b27cf[_0x355f77(0x398)],_0x145bc8=_0xed782c[_0x355f77(0x475)],_0x124ae8=_0xed782c['init']=function(_0x5470a2){const _0x611904=_0x355f77;if(_0x5470a2 instanceof ArrayBuffer&&(_0x5470a2=new Uint8Array(_0x5470a2)),(_0x5470a2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5470a2 instanceof Uint8ClampedArray||_0x5470a2 instanceof Int16Array||_0x5470a2 instanceof Uint16Array||_0x5470a2 instanceof Int32Array||_0x5470a2 instanceof Uint32Array||_0x5470a2 instanceof Float32Array||_0x5470a2 instanceof Float64Array)&&(_0x5470a2=new Uint8Array(_0x5470a2[_0x611904(0x236)],_0x5470a2['byteOffset'],_0x5470a2[_0x611904(0x559)])),_0x5470a2 instanceof Uint8Array){for(var _0x440e28=_0x5470a2['byteLength'],_0x3045d2=[],_0x31b6cb=0x0;_0x31b6cb<_0x440e28;_0x31b6cb++)_0x3045d2[_0x31b6cb>>>0x2]|=_0x5470a2[_0x31b6cb]<<0x18-_0x31b6cb%0x4*0x8;_0x145bc8[_0x611904(0x420)](this,_0x3045d2,_0x440e28);}else _0x145bc8[_0x611904(0x21e)](this,arguments);};_0x124ae8[_0x355f77(0x39b)]=_0xed782c;}}()),_0x4a10d3['lib'][_0x1fd6e5(0x398)];}));}(Un));var vr=Un[_0x38c3ff(0x1a9)];const mr=xe(vr);var Mn={'exports':{}};(function(_0x5d8e84,_0x5f365c){(function(_0xda1bd0,_0x2a346b,_0x11d836){const _0x2e97c2=_0x4762;_0x5d8e84[_0x2e97c2(0x1a9)]=_0x2a346b(oe(),wn());}(X,function(_0x314fcd){const _0x55e84d=_0x4762;return _0x314fcd['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x314fcd['pad'][_0x55e84d(0x373)];}));}(Mn));var Sr=Mn['exports'];const pr=xe(Sr);function gr(_0x40e8a4,_0x1025f7){const _0x1b37c4=_0x38c3ff,_0x3eb276=_0x1025f7-_0x40e8a4[_0x1b37c4(0x58c)]%_0x1025f7,_0x639e1c=String[_0x1b37c4(0x408)](_0x3eb276)['repeat'](_0x3eb276);return _0x40e8a4+_0x639e1c;}function Ir(_0xb57180,_0x51346b){const _0x44b47c=_0x38c3ff,_0x26435c=mr['random'](0x10),_0x2877d4=gr(_0xb57180,0x10),_0x2e2720=_r[_0x44b47c(0x612)](fr[_0x44b47c(0x223)](_0x2877d4),Xt[_0x44b47c(0x223)](_0x51346b),{'iv':_0x26435c,'padding':pr});return _0x26435c[_0x44b47c(0x3f0)](_0x2e2720['ciphertext'])['toString'](Xt);}function Cr(){const _0x556b66=_0x38c3ff,_0x188fd3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x556b66(0x4a4)];if(_0x188fd3){const _0xe35ff={'time':Math[_0x556b66(0x35b)](Date[_0x556b66(0x2eb)]()/0x3e8),'domain':location[_0x556b66(0x482)]};return Ir(JSON[_0x556b66(0x3e4)](_0xe35ff),_0x188fd3);}}var Er=Object[_0x38c3ff(0x1c1)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x1db818,_0x43604a,_0x4e148a,_0x321c62)=>{const _0x28b2d5=_0x38c3ff;for(var _0x13b02b=_0x321c62>0x1?void 0x0:_0x321c62?br(_0x43604a,_0x4e148a):_0x43604a,_0x2ceba6=_0x1db818[_0x28b2d5(0x58c)]-0x1,_0x24103c;_0x2ceba6>=0x0;_0x2ceba6--)(_0x24103c=_0x1db818[_0x2ceba6])&&(_0x13b02b=(_0x321c62?_0x24103c(_0x43604a,_0x4e148a,_0x13b02b):_0x24103c(_0x13b02b))||_0x13b02b);return _0x321c62&&_0x13b02b&&Er(_0x43604a,_0x4e148a,_0x13b02b),_0x13b02b;},Rr=(_0x4d8229,_0x114a3f)=>(_0x3f208f,_0x104583)=>_0x114a3f(_0x3f208f,_0x104583,_0x4d8229);let Ye=class{constructor(_0x4f871b){const _0xf27c9f=_0x38c3ff;this[_0xf27c9f(0x5a8)]=_0x4f871b,this[_0xf27c9f(0x4c7)]();}[_0x38c3ff(0x4c7)](){const _0x245567=_0x38c3ff;this[_0x245567(0x5a8)][_0x245567(0x53f)]({'interceptor':(_0x10c847,_0x95de29)=>{const _0x2f010c=_0x245567,_0x3017b2=_0x10c847[_0x2f010c(0x485)],_0x2a1934=Cr();return _0x2a1934&&_0x3017b2[_0x2f010c(0x3e8)](_0x2f010c(0x313),_0x2a1934),_0x95de29(_0x10c847);}});}};Ye=Tr([Rr(0x0,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)]))],Ye);var yr=Object[_0x38c3ff(0x1c1)],Or=Object[_0x38c3ff(0x336)],Dr=(_0x305d4a,_0x4186af,_0x57ea17,_0x418a06)=>{const _0x43ffad=_0x38c3ff;for(var _0x3ec560=_0x418a06>0x1?void 0x0:_0x418a06?Or(_0x4186af,_0x57ea17):_0x4186af,_0x51ff75=_0x305d4a[_0x43ffad(0x58c)]-0x1,_0x3c4ad5;_0x51ff75>=0x0;_0x51ff75--)(_0x3c4ad5=_0x305d4a[_0x51ff75])&&(_0x3ec560=(_0x418a06?_0x3c4ad5(_0x4186af,_0x57ea17,_0x3ec560):_0x3c4ad5(_0x3ec560))||_0x3ec560);return _0x418a06&&_0x3ec560&&yr(_0x4186af,_0x57ea17,_0x3ec560),_0x3ec560;},vt=(_0x20180a,_0x59d25e)=>(_0x1d51f5,_0x424c92)=>_0x59d25e(_0x1d51f5,_0x424c92,_0x20180a);const wr=['image/png',_0x38c3ff(0x215),_0x38c3ff(0x4e7),_0x38c3ff(0x353),_0x38c3ff(0x316)],Pr=0x5*0x400*0x400,Ur=_0x38c3ff(0x38c),Mr='/universer-api/stream/file/upload',Ar=_0x38c3ff(0x31e),Nr=_0x38c3ff(0x213);exports[_0x38c3ff(0x5ea)]=class{constructor(_0x24790c,_0x48df29,_0x1ee562){const _0x32bd14=_0x38c3ff;I(this,_0x32bd14(0x562),0x0),I(this,'_change$',new A[(_0x32bd14(0x3cf))]()),I(this,_0x32bd14(0x266),this['_change$']),I(this,'_imageSourceCache',new Map()),(this[_0x32bd14(0x5a8)]=_0x24790c,this[_0x32bd14(0x1f5)]=_0x48df29,this[_0x32bd14(0x393)]=_0x1ee562);}['setWaitCount'](_0x411916){const _0x598538=_0x38c3ff;this[_0x598538(0x562)]=_0x411916,this[_0x598538(0x2d6)][_0x598538(0x4c4)](_0x411916);}[_0x38c3ff(0x1f4)](_0xa47ef3,_0x109c34){const _0x169426=_0x38c3ff;if(_0x109c34===ne[_0x169426(0x48c)][_0x169426(0x43b)]){const _0x4bdaa7=new Image();return _0x4bdaa7[_0x169426(0x38d)]=_0xa47ef3,_0x4bdaa7;}return this[_0x169426(0x452)][_0x169426(0x585)](_0xa47ef3);}[_0x38c3ff(0x33a)](_0x437809,_0x3e4394,_0x55683e){const _0x195055=_0x38c3ff;_0x3e4394===ne[_0x195055(0x48c)][_0x195055(0x43b)]||_0x55683e==null||this[_0x195055(0x452)]['set'](_0x437809,_0x55683e);}async[_0x38c3ff(0x628)](_0x58e311){const _0x3aa0a4=_0x38c3ff;try{const _0x3f2dc4=this[_0x3aa0a4(0x5d7)](this[_0x3aa0a4(0x61c)](),''+_0x58e311),_0x4a16de=(await this[_0x3aa0a4(0x5a8)][_0x3aa0a4(0x585)](_0x3f2dc4))['body'];if(_0x4a16de[_0x3aa0a4(0x55e)]&&_0x4a16de['error'][_0x3aa0a4(0x3b2)]===cn['OK']){const _0x55b08a=new URL(_0x4a16de[_0x3aa0a4(0x1c7)],this[_0x3aa0a4(0x237)]())[_0x3aa0a4(0x459)]();return Promise[_0x3aa0a4(0x38e)](_0x55b08a);}return Promise[_0x3aa0a4(0x588)](_0x4a16de[_0x3aa0a4(0x55e)]);}catch(_0x19ab73){return Promise['reject'](_0x19ab73);}}async[_0x38c3ff(0x454)](_0x27c95d){const _0x4b9299=_0x38c3ff;let _0x10881d='';if(!wr['includes'](_0x27c95d[_0x4b9299(0x42a)]))return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne[_0x4b9299(0x29e)][_0x4b9299(0x2c9)]));if(_0x27c95d['size']>Pr)return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne[_0x4b9299(0x29e)][_0x4b9299(0x59d)]));try{const _0x295cb6=new FormData();_0x295cb6[_0x4b9299(0x560)](_0x4b9299(0x4d5),_0x27c95d);const _0xfd7694=this[_0x4b9299(0x393)][_0x4b9299(0x3f9)](),_0x244bde=_0xfd7694==null?void 0x0:_0xfd7694['getUnitId']();if(!_0x244bde)throw new Error(_0x4b9299(0x3bf));const _0x624701=this[_0x4b9299(0x28c)]()+_0x4b9299(0x2c6)+_0x27c95d[_0x4b9299(0x311)][_0x4b9299(0x459)]()+_0x4b9299(0x417)+ln[_0x4b9299(0x4cd)]+_0x4b9299(0x555)+encodeURIComponent(_0x244bde),_0x433b3c=await(await fetch(_0x624701,{'method':_0x4b9299(0x28e),'body':_0x295cb6}))[_0x4b9299(0x361)]();if(typeof _0x433b3c[_0x4b9299(0x496)]!=_0x4b9299(0x53c))return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne['ImageUploadStatusType'][_0x4b9299(0x51d)]));_0x10881d=_0x433b3c['FileId'];}catch{return this[_0x4b9299(0x2ff)](),Promise['reject'](new Error(ne['ImageUploadStatusType'][_0x4b9299(0x51d)]));}return new Promise((_0x3e4d6a,_0x3a9635)=>{const _0x39917a=_0x4b9299,_0x4e47d6=new FileReader();_0x4e47d6[_0x39917a(0x637)](_0x27c95d),_0x4e47d6[_0x39917a(0x2a7)]=_0x3b422c=>{const _0xf52ce3=_0x39917a;var _0xdb4290;const _0x5d0c3c=(_0xdb4290=_0x3b422c[_0xf52ce3(0x1f1)])==null?void 0x0:_0xdb4290[_0xf52ce3(0x4f5)];if(_0x5d0c3c==null){this['_decreaseWaiting'](),_0x3a9635(new Error(ne[_0xf52ce3(0x29e)][_0xf52ce3(0x51d)]));return;}const _0x2fc584=a['Tools'][_0xf52ce3(0x4b6)](0x6);_0x3e4d6a({'imageId':_0x2fc584,'imageSourceType':ne['ImageSourceType'][_0xf52ce3(0x2db)],'source':_0x10881d,'base64Cache':_0x5d0c3c,'status':ne['ImageUploadStatusType']['SUCCUSS']}),this[_0xf52ce3(0x2ff)]();};});}['_getUploadFileURL'](){const _0x4b6dd4=_0x38c3ff;var _0x466fd4,_0x3af5c2;const _0x171572=this[_0x4b6dd4(0x1f5)]['getConfig'](Ur),_0x317057=this[_0x4b6dd4(0x1f5)][_0x4b6dd4(0x556)](te);return(_0x3af5c2=(_0x466fd4=_0x317057==null?void 0x0:_0x317057['uploadFileServerUrl'])!=null?_0x466fd4:_0x171572)!=null?_0x3af5c2:Mr;}[_0x38c3ff(0x61c)](){const _0x21f8a4=_0x38c3ff;var _0x32b52c,_0x38a435;const _0x3a4866=this['_configService']['getConfig'](Ar),_0x5a81f6=this[_0x21f8a4(0x1f5)][_0x21f8a4(0x556)](te);return(_0x38a435=(_0x32b52c=_0x5a81f6==null?void 0x0:_0x5a81f6[_0x21f8a4(0x1c0)])!=null?_0x32b52c:_0x3a4866)!=null?_0x38a435:Nr;}[_0x38c3ff(0x237)](){const _0x20331a=_0x38c3ff;var _0x3112f3;const _0x64bbb0=this[_0x20331a(0x1f5)][_0x20331a(0x556)](te);return(_0x3112f3=_0x64bbb0==null?void 0x0:_0x64bbb0['downloadEndpointUrl'])!=null?_0x3112f3:location[_0x20331a(0x4ef)];}[_0x38c3ff(0x5d7)](_0x4c43b8,_0x278a97){const _0x1915c7=_0x38c3ff;return _0x4c43b8[_0x1915c7(0x346)]('{fileID}',_0x278a97);}[_0x38c3ff(0x2ff)](){const _0x3a8b47=_0x38c3ff;this[_0x3a8b47(0x562)]-=0x1,this['_change$']['next'](this[_0x3a8b47(0x562)]);}},exports[_0x38c3ff(0x5ea)]=Dr([vt(0x0,a[_0x38c3ff(0x2af)](Z['HTTPService'])),vt(0x1,a[_0x38c3ff(0x326)]),vt(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x2a8)]))],exports['ImageIoService']);var Lr=Object[_0x38c3ff(0x1c1)],xr=Object[_0x38c3ff(0x336)],jr=(_0xfaedc8,_0x135c39,_0x9ffdd4,_0x5bdfaf)=>{const _0xc4eec4=_0x38c3ff;for(var _0x13d71f=_0x5bdfaf>0x1?void 0x0:_0x5bdfaf?xr(_0x135c39,_0x9ffdd4):_0x135c39,_0x2eaca6=_0xfaedc8[_0xc4eec4(0x58c)]-0x1,_0x24bc65;_0x2eaca6>=0x0;_0x2eaca6--)(_0x24bc65=_0xfaedc8[_0x2eaca6])&&(_0x13d71f=(_0x5bdfaf?_0x24bc65(_0x135c39,_0x9ffdd4,_0x13d71f):_0x24bc65(_0x13d71f))||_0x13d71f);return _0x5bdfaf&&_0x13d71f&&Lr(_0x135c39,_0x9ffdd4,_0x13d71f),_0x13d71f;},Ae=(_0x2f870a,_0x149589)=>(_0xcfc73d,_0x5b4a7f)=>_0x149589(_0xcfc73d,_0x5b4a7f,_0x2f870a);let Ke=class extends a[_0x38c3ff(0x22c)]{constructor(_0x2df2e1,_0x4827b5,_0x2bf44f,_0xa3e35a,_0x2a6435){const _0x13329e=_0x38c3ff;super(),this['_injector']=_0x2df2e1,this[_0x13329e(0x393)]=_0x4827b5,this['_permissionService']=_0x2bf44f,this[_0x13329e(0x4ee)]=_0xa3e35a,this[_0x13329e(0x203)]=_0x2a6435,this['_initUnitPermissionChange'](),this[_0x13329e(0x63d)]();}[_0x38c3ff(0x63d)](){const _0x400403=_0x38c3ff,_0x1de9d0=async _0x419ab6=>{const _0x23eaef=_0x4762;(await this[_0x23eaef(0x4ee)][_0x23eaef(0x2aa)](_0x419ab6))['event$'][_0x23eaef(0x57b)](V['filter'](_0x5482e4=>_0x5482e4[_0x23eaef(0x2bd)]===S['CollaborationEvent'][_0x23eaef(0x641)]),V[_0x23eaef(0x3fb)](this[_0x23eaef(0x5ff)]))[_0x23eaef(0x47b)](_0x269f11=>{const _0x3cd672=_0x23eaef,_0x5393f1=_0x269f11,{reason:_0x18d570}=_0x5393f1[_0x3cd672(0x2e1)];this[_0x3cd672(0x3b6)][_0x3cd672(0x585)](ee['IMessageService'])[_0x3cd672(0x37c)]({'type':ge[_0x3cd672(0x312)][_0x3cd672(0x516)],'content':this[_0x3cd672(0x203)]['t']('collaboration.closeRoom')+'('+_0x18d570+')'}),this[_0x3cd672(0x54b)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x419ab6)['id'],!0x1),this[_0x3cd672(0x4ee)]['closeSession'](_0x419ab6);});};A[_0x400403(0x1d2)](this[_0x400403(0x393)][_0x400403(0x23f)](a[_0x400403(0x27f)][_0x400403(0x23d)]),this[_0x400403(0x393)][_0x400403(0x23f)](a[_0x400403(0x27f)][_0x400403(0x649)]))['pipe'](V['map'](_0x5bdb12=>_0x5bdb12[_0x400403(0x2ee)]()),V['filter'](_0x2dfdec=>!a['isInternalEditorID'](_0x2dfdec)),V[_0x400403(0x3fb)](this[_0x400403(0x5ff)]))[_0x400403(0x47b)](_0x36e51f=>{_0x1de9d0(_0x36e51f);});}[_0x38c3ff(0x630)](){const _0x2f54c9=_0x38c3ff,_0x29847f=async _0x26b1ff=>{const _0x24d785=_0x4762;(await this[_0x24d785(0x4ee)]['requireSession'](_0x26b1ff))['event$'][_0x24d785(0x57b)](V[_0x24d785(0x576)](_0x4a56c4=>_0x4a56c4[_0x24d785(0x2bd)]===S[_0x24d785(0x201)][_0x24d785(0x382)]),V[_0x24d785(0x3fb)](this[_0x24d785(0x5ff)]))[_0x24d785(0x47b)](_0x253e3a=>{const _0x495faf=_0x24d785,_0x3fcc0b=_0x253e3a,{objectId:_0x4284a0}=_0x3fcc0b['data'],_0x2c623a=this[_0x495faf(0x3b6)]['get'](Re[_0x495faf(0x25c)]);_0x4284a0===_0x26b1ff?_0x2c623a[_0x495faf(0x28f)](_0x26b1ff):_0x2c623a[_0x495faf(0x258)](_0x26b1ff,_0x4284a0);});};A[_0x2f54c9(0x1d2)](this[_0x2f54c9(0x393)]['getTypeOfUnitAdded$'](a[_0x2f54c9(0x27f)]['UNIVER_SHEET']),this[_0x2f54c9(0x393)][_0x2f54c9(0x23f)](a[_0x2f54c9(0x27f)][_0x2f54c9(0x649)]))['pipe'](V[_0x2f54c9(0x4d7)](_0x5ce597=>_0x5ce597[_0x2f54c9(0x2ee)]()),V[_0x2f54c9(0x576)](_0x12423f=>!a[_0x2f54c9(0x28b)](_0x12423f)),V['takeUntil'](this[_0x2f54c9(0x5ff)]))[_0x2f54c9(0x47b)](_0x2eed09=>{_0x29847f(_0x2eed09);});}};Ke=jr([Ae(0x0,a['Inject'](a[_0x38c3ff(0x50e)])),Ae(0x1,a['IUniverInstanceService']),Ae(0x2,a[_0x38c3ff(0x421)]),Ae(0x3,a['Inject'](exports[_0x38c3ff(0x1f6)])),Ae(0x4,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)]))],Ke);var $r=Object[_0x38c3ff(0x1c1)],Hr=Object[_0x38c3ff(0x336)],Br=(_0x4baf5d,_0x55579e,_0x5a765d,_0x2e5ca5)=>{const _0x466bec=_0x38c3ff;for(var _0x4ce640=_0x2e5ca5>0x1?void 0x0:_0x2e5ca5?Hr(_0x55579e,_0x5a765d):_0x55579e,_0x26e73f=_0x4baf5d[_0x466bec(0x58c)]-0x1,_0x49100b;_0x26e73f>=0x0;_0x26e73f--)(_0x49100b=_0x4baf5d[_0x26e73f])&&(_0x4ce640=(_0x2e5ca5?_0x49100b(_0x55579e,_0x5a765d,_0x4ce640):_0x49100b(_0x4ce640))||_0x4ce640);return _0x2e5ca5&&_0x4ce640&&$r(_0x55579e,_0x5a765d,_0x4ce640),_0x4ce640;},Jt=(_0x22288a,_0x542cf5)=>(_0x583e39,_0x217ace)=>_0x542cf5(_0x583e39,_0x217ace,_0x22288a);exports[_0x38c3ff(0x4b7)]=class{constructor(_0x21ca99,_0x5ad4cf){const _0x5def6f=_0x38c3ff;this[_0x5def6f(0x1f5)]=_0x21ca99,this[_0x5def6f(0x5a8)]=_0x5ad4cf;}async[_0x38c3ff(0x196)](_0x53ad6a,_0x319a75){const _0x1d40f3=_0x38c3ff;var _0x3085d9;const {unitID:_0x2d8ac7,type:_0x3535a3,revision:_0x3ac3a4=0x0}=_0x319a75,_0x192f28=this[_0x1d40f3(0x23e)]()+'/'+_0x3535a3+_0x1d40f3(0x4e1)+_0x2d8ac7+_0x1d40f3(0x306)+_0x3ac3a4,_0x48fa74=(await this[_0x1d40f3(0x5a8)][_0x1d40f3(0x585)](_0x192f28))['body'],_0x1f7042=(_0x3085d9=_0x48fa74[_0x1d40f3(0x3b1)])==null?void 0x0:_0x3085d9['workbook'];if(_0x1f7042){const _0x56b34a=_0x1f7042==null?void 0x0:_0x1f7042[_0x1d40f3(0x435)],_0x17565b=S['textEncoder'][_0x1d40f3(0x273)](S[_0x1d40f3(0x629)](_0x56b34a));_0x1f7042[_0x1d40f3(0x435)]=_0x17565b,Object[_0x1d40f3(0x56c)](_0x1f7042[_0x1d40f3(0x334)])['forEach'](([,_0x3fcf4])=>{const _0x346161=_0x1d40f3,_0x464e71=_0x3fcf4[_0x346161(0x435)],_0x1970f8=S[_0x346161(0x5ac)][_0x346161(0x273)](S[_0x346161(0x629)](_0x464e71));_0x3fcf4['originalMeta']=_0x1970f8;});}return _0x48fa74;}async['getSheetBlock'](_0x54f8b9,_0x13dd37){const _0x2aefb4=_0x38c3ff,{unitID:_0x1f0c66,type:_0x4be35a,blockID:_0x584ea9}=_0x13dd37,_0x408682=this[_0x2aefb4(0x460)]()+'/'+_0x4be35a+_0x2aefb4(0x4e1)+_0x1f0c66+_0x2aefb4(0x233)+_0x584ea9;return(await this['_httpService'][_0x2aefb4(0x585)](_0x408682))[_0x2aefb4(0x282)];}async['getDeserializedSheetBlock'](_0x142c72,_0xf82d06){const _0x126736=_0x38c3ff,{unitID:_0x232282,type:_0x4d2ce1,blockID:_0x3606b3}=_0xf82d06,_0x528a84=this[_0x126736(0x460)]()+_0x126736(0x233)+_0x4d2ce1+_0x126736(0x4e1)+_0x232282+'/block/'+_0x3606b3;return(await this[_0x126736(0x5a8)][_0x126736(0x585)](_0x528a84))[_0x126736(0x282)];}async[_0x38c3ff(0x4cb)](_0x5a6905,_0x183c0a){const _0x39cfee=_0x38c3ff,{unitID:_0x4672d8,type:_0x6cd438,from:_0x37958a,to:_0x189f85}=_0x183c0a,_0x90d82d=this[_0x39cfee(0x460)]()+'/'+_0x6cd438+_0x39cfee(0x4e1)+_0x4672d8+_0x39cfee(0x2a4)+_0x37958a+'&to='+_0x189f85;return(await this['_httpService'][_0x39cfee(0x585)](_0x90d82d))['body'];}[_0x38c3ff(0x23e)](){const _0x37c419=_0x38c3ff;var _0x39c176;return(_0x39c176=this['_configService'][_0x37c419(0x556)](Qt))!=null?_0x39c176:this[_0x37c419(0x460)]();}[_0x38c3ff(0x460)](){const _0x3ec2ac=_0x38c3ff;var _0x1eb228,_0x32ccc7;const _0x4217bf=this[_0x3ec2ac(0x1f5)][_0x3ec2ac(0x556)](Zt),_0x40aebe=this[_0x3ec2ac(0x1f5)][_0x3ec2ac(0x556)](te);return(_0x32ccc7=(_0x1eb228=_0x40aebe==null?void 0x0:_0x40aebe[_0x3ec2ac(0x55f)])!=null?_0x1eb228:_0x4217bf)!=null?_0x32ccc7:Hn;}async[_0x38c3ff(0x2c0)](_0x6318a2,_0x1f6d48){const _0x262b98=_0x38c3ff,_0x684af9=_0x262b98(0x4e5)+_0x1f6d48['type']+'/unit/'+_0x1f6d48[_0x262b98(0x364)]+_0x262b98(0x1b6);return(await this['_httpService'][_0x262b98(0x585)](_0x684af9,{'params':{'resourceId':JSON[_0x262b98(0x3e4)](_0x1f6d48[_0x262b98(0x1cf)])}}))[_0x262b98(0x282)];}[_0x38c3ff(0x28a)](){const _0x4e7410=_0x38c3ff;throw new Error(_0x4e7410(0x1d8));}[_0x38c3ff(0x4af)](){const _0x2a1ae4=_0x38c3ff;throw new Error(_0x2a1ae4(0x1d8));}[_0x38c3ff(0x284)](){const _0x4698e3=_0x38c3ff;throw new Error(_0x4698e3(0x1d8));}[_0x38c3ff(0x52f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x85550c=_0x38c3ff;throw new Error(_0x85550c(0x1d8));}},exports[_0x38c3ff(0x4b7)]=Br([Jt(0x0,a[_0x38c3ff(0x326)]),Jt(0x1,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)]))],exports[_0x38c3ff(0x4b7)]);var kr=Object[_0x38c3ff(0x1c1)],Wr=Object[_0x38c3ff(0x336)],Fr=(_0x57a3d4,_0x548199,_0xaaa725,_0x2f9aba)=>{const _0x21a34c=_0x38c3ff;for(var _0x369c15=_0x2f9aba>0x1?void 0x0:_0x2f9aba?Wr(_0x548199,_0xaaa725):_0x548199,_0x37ec34=_0x57a3d4[_0x21a34c(0x58c)]-0x1,_0x57b476;_0x37ec34>=0x0;_0x37ec34--)(_0x57b476=_0x57a3d4[_0x37ec34])&&(_0x369c15=(_0x2f9aba?_0x57b476(_0x548199,_0xaaa725,_0x369c15):_0x57b476(_0x369c15))||_0x369c15);return _0x2f9aba&&_0x369c15&&kr(_0x548199,_0xaaa725,_0x369c15),_0x369c15;},Ne=(_0x123c0c,_0x540672)=>(_0x91a183,_0x342c9c)=>_0x540672(_0x91a183,_0x342c9c,_0x123c0c);let It=class extends a[_0x38c3ff(0x2fb)]{constructor(_0x1d935f,_0x4ce155,_0x304162,_0xa5a920,_0x578417){const _0xbe671b=_0x38c3ff;super(_0x1d935f,_0x4ce155,_0x304162),this['_transformService']=_0xa5a920,this[_0xbe671b(0x4ce)]=_0x578417;}['transformUndoRedo'](_0x2e775d,_0x1fd557){const _0x35c849=_0x38c3ff,_0xa030f3=this[_0x35c849(0x2cc)](_0x2e775d);if(_0xa030f3)try{const _0x520366=this[_0x35c849(0x510)](_0xa030f3,_0x1fd557);this['_substituteUndoStack'](_0x2e775d,_0x520366);}catch(_0x4ae493){this[_0x35c849(0x4ce)][_0x35c849(0x55e)](_0x35c849(0x3eb),_0x4ae493),this[_0x35c849(0x46c)](_0x2e775d);}const _0x1d7ce7=this[_0x35c849(0x60e)](_0x2e775d);if(_0x1d7ce7)try{const _0x407557=this['_transformStack'](_0x1d7ce7,_0x1fd557);this[_0x35c849(0x3d2)](_0x2e775d,_0x407557);}catch(_0x54f9e6){this[_0x35c849(0x4ce)][_0x35c849(0x55e)](_0x54f9e6),this[_0x35c849(0x49e)](_0x2e775d);}}[_0x38c3ff(0x46c)](_0x184322){const _0x4600e9=_0x38c3ff,_0x56a079=this[_0x4600e9(0x2cc)](_0x184322);_0x56a079&&(_0x56a079[_0x4600e9(0x58c)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x2d2b33){const _0x2d31a1=_0x38c3ff,_0x51e55f=this[_0x2d31a1(0x60e)](_0x2d2b33);_0x51e55f&&(_0x51e55f['length']=0x0,this[_0x2d31a1(0x3e2)]());}[_0x38c3ff(0x276)](_0x502b8e,_0x37d11b){const _0x24f49a=_0x38c3ff;this[_0x24f49a(0x50d)][_0x24f49a(0x3e8)](_0x502b8e,_0x37d11b),this[_0x24f49a(0x3e2)]();}[_0x38c3ff(0x3d2)](_0x9ef50e,_0x5dbf5f){const _0x5e6b1e=_0x38c3ff;this[_0x5e6b1e(0x229)][_0x5e6b1e(0x3e8)](_0x9ef50e,_0x5dbf5f),this[_0x5e6b1e(0x3e2)]();}[_0x38c3ff(0x510)](_0x4ce378,_0x18c88f){const _0x12a414=_0x38c3ff,_0x30d814=[];let _0x5e9f91=_0x18c88f,_0x4f02d3=_0x18c88f;for(let _0x3f23a6=_0x4ce378[_0x12a414(0x58c)]-0x1;_0x3f23a6>=0x0;_0x3f23a6--){const {unitID:_0x23a27d,undoMutations:_0x59fd12,redoMutations:_0x27e715}=_0x4ce378[_0x3f23a6],_0x4d60f1=this[_0x12a414(0x267)]['transformMutationsWithChangeset'](_0x5e9f91,_0x59fd12),_0x280d88=this['_transformService']['transformMutationsWithChangeset'](_0x4f02d3,_0x27e715);if(S[_0x12a414(0x5d4)](_0x4d60f1)||S[_0x12a414(0x5d4)](_0x280d88)){this[_0x12a414(0x4ce)][_0x12a414(0x55e)](_0x12a414(0x3eb),_0x12a414(0x5b7),_0x4d60f1,_0x280d88);break;}_0x5e9f91=_0x4d60f1[_0x12a414(0x521)],_0x4f02d3=_0x280d88[_0x12a414(0x521)],_0x30d814[_0x12a414(0x473)]({'unitID':_0x23a27d,'undoMutations':_0x4d60f1[_0x12a414(0x41f)],'redoMutations':_0x280d88[_0x12a414(0x41f)]});}return _0x30d814[_0x12a414(0x49f)]();}};It=Fr([Ne(0x0,a[_0x38c3ff(0x2a8)]),Ne(0x1,a[_0x38c3ff(0x439)]),Ne(0x2,a[_0x38c3ff(0x287)]),Ne(0x3,S[_0x38c3ff(0x3cc)]),Ne(0x4,a[_0x38c3ff(0x626)])],It);class An extends a[_0x38c3ff(0x22c)]{constructor(){const _0x516ab1=_0x38c3ff;super(),I(this,_0x516ab1(0x2ce)),this[_0x516ab1(0x2ce)]=A[_0x516ab1(0x5aa)](window,_0x516ab1(0x1b5))['pipe'](A['takeUntil'](this[_0x516ab1(0x5ff)]),A[_0x516ab1(0x246)](0x1),A['mapTo'](void 0x0));}[_0x38c3ff(0x37d)](_0x139b63,_0x222428,_0x5f16f0=!0x1){const _0x43f1fc=_0x38c3ff,_0x12bd0b=new URL(window[_0x43f1fc(0x294)]['href']);_0x12bd0b[_0x43f1fc(0x4c2)][_0x43f1fc(0x3e8)](_0x139b63,_0x222428),_0x5f16f0?window[_0x43f1fc(0x42f)]['replaceState']('','',_0x12bd0b[_0x43f1fc(0x459)]()):window[_0x43f1fc(0x42f)][_0x43f1fc(0x20a)]('','',_0x12bd0b[_0x43f1fc(0x459)]());}['removeParam'](_0x58799f,_0x386891=!0x1){const _0x43961a=_0x38c3ff,_0x17c540=new URL(window[_0x43961a(0x294)][_0x43961a(0x370)]);_0x17c540[_0x43961a(0x4c2)][_0x43961a(0x1d0)](_0x58799f),_0x386891?window[_0x43961a(0x42f)][_0x43961a(0x455)]('','',_0x17c540['toString']()):window[_0x43961a(0x42f)][_0x43961a(0x20a)]('','',_0x17c540[_0x43961a(0x459)]());}[_0x38c3ff(0x400)](_0x4de519){const _0x1ba882=_0x38c3ff;var _0x5adff7;return(_0x5adff7=new URL(window[_0x1ba882(0x294)]['href'])['searchParams'][_0x1ba882(0x585)](_0x4de519))!=null?_0x5adff7:void 0x0;}}var Nn=Object['defineProperty'],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x324427,_0x420fe6,_0x23fe97)=>_0x420fe6 in _0x324427?Nn(_0x324427,_0x420fe6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23fe97}):_0x324427[_0x420fe6]=_0x23fe97,Yr=(_0x2dc1b3,_0x16e5c0,_0x41694c,_0x474622)=>{for(var _0x5b7de5=_0x474622>0x1?void 0x0:_0x474622?Vr(_0x16e5c0,_0x41694c):_0x16e5c0,_0x5a16f7=_0x2dc1b3['length']-0x1,_0x33dac9;_0x5a16f7>=0x0;_0x5a16f7--)(_0x33dac9=_0x2dc1b3[_0x5a16f7])&&(_0x5b7de5=(_0x474622?_0x33dac9(_0x16e5c0,_0x41694c,_0x5b7de5):_0x33dac9(_0x5b7de5))||_0x5b7de5);return _0x474622&&_0x5b7de5&&Nn(_0x16e5c0,_0x41694c,_0x5b7de5),_0x5b7de5;},He=(_0x41ea45,_0x4be64c)=>(_0xa675f2,_0x12ea5e)=>_0x4be64c(_0xa675f2,_0x12ea5e,_0x41ea45),Kr=(_0x6a8144,_0x555f5d,_0x11633f)=>Gr(_0x6a8144,_0x555f5d+'',_0x11633f);const qr=_0x38c3ff(0x579);exports[_0x38c3ff(0x252)]=class extends a[_0x38c3ff(0x5e5)]{constructor(_0xf1f6f7=zn,_0x359dec,_0x30b56c,_0x1631fe,_0x50d4e1){const _0x3d5316=_0x38c3ff;super(),this[_0x3d5316(0x62a)]=_0xf1f6f7,this[_0x3d5316(0x4ce)]=_0x359dec,this[_0x3d5316(0x286)]=_0x30b56c,this['_injector']=_0x1631fe,this[_0x3d5316(0x1f5)]=_0x50d4e1;const {..._0x207ce5}=this[_0x3d5316(0x62a)];this[_0x3d5316(0x1f5)][_0x3d5316(0x30f)](te,_0x207ce5);}[_0x38c3ff(0x5d5)](){const _0x2b0904=_0x38c3ff;this[_0x2b0904(0x347)](),this[_0x2b0904(0x42e)]();}[_0x38c3ff(0x44c)](){const _0x37b6fa=_0x38c3ff;a[_0x37b6fa(0x655)](this['_injector'],[[Ve]]);}[_0x38c3ff(0x561)](){const _0x475a71=_0x38c3ff;this[_0x475a71(0x245)]();}[_0x38c3ff(0x347)](){const _0x47216e=_0x38c3ff;var _0x4e07df,_0x44abc9,_0x2dcdeb,_0x598df8;this['_injector'][_0x47216e(0x599)](a[_0x47216e(0x1bc)])&&this[_0x47216e(0x4ce)]['error'](_0x47216e(0x328),_0x47216e(0x25a));const _0x35baf1=[[a[_0x47216e(0x1bc)],{'useClass':It}],[exports[_0x47216e(0x1f6)]],[Ot],[wt,{'useClass':An}],[exports[_0x47216e(0x41e)]],[exports[_0x47216e(0x227)]],[Z[_0x47216e(0x51c)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x44abc9=(_0x4e07df=this['_config'])==null?void 0x0:_0x4e07df[_0x47216e(0x5af)])!=null?_0x44abc9:exports['CollaborationSocketService']}],[S[_0x47216e(0x1ca)],{'useClass':exports[_0x47216e(0x4b7)]}],[a[_0x47216e(0x34e)],{'useClass':exports[_0x47216e(0x232)]}],[ne[_0x47216e(0x499)],{'useClass':exports[_0x47216e(0x5ea)]}],[exports[_0x47216e(0x571)]],[exports[_0x47216e(0x388)]],[exports[_0x47216e(0x4e6)]],[Ve],[De]];(_0x2dcdeb=this['_config'])!=null&&_0x2dcdeb[_0x47216e(0x32b)]&&_0x35baf1[_0x47216e(0x473)]([qe,{'useClass':Oi}]),a['registerDependencies'](this['_injector'],a[_0x47216e(0x3c8)](_0x35baf1,(_0x598df8=this['_config'])==null?void 0x0:_0x598df8['override']));}[_0x38c3ff(0x245)](){const _0x131385=_0x38c3ff;this[_0x131385(0x4bd)](this[_0x131385(0x286)][_0x131385(0x2e4)](a[_0x131385(0x27f)][_0x131385(0x649)],[pt])),this[_0x131385(0x4bd)](this[_0x131385(0x286)][_0x131385(0x2e4)](a[_0x131385(0x27f)]['UNIVER_SHEET'],[gt]));}[_0x38c3ff(0x42e)](){const _0x388419=_0x38c3ff;var _0x27cace,_0x2c07ab;this[_0x388419(0x3b6)][_0x388419(0x585)](Z['HTTPService'])[_0x388419(0x53f)]({'priority':0x14,'interceptor':Z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x27cace=this[_0x388419(0x62a)])!=null&&_0x27cace[_0x388419(0x50b)]||this[_0x388419(0x3b6)][_0x388419(0x585)](exports[_0x388419(0x227)])['disableLocalCache'](),(_0x2c07ab=this['_config'])!=null&&_0x2c07ab['enableAuthServer']&&a[_0x388419(0x655)](this[_0x388419(0x3b6)],[[Ge]]),a[_0x388419(0x655)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x388419(0x571)]],[exports[_0x388419(0x4e6)]],[Ke]]);}},Kr(exports[_0x38c3ff(0x252)],_0x38c3ff(0x3af),qr),exports[_0x38c3ff(0x252)]=Yr([a[_0x38c3ff(0x471)](S[_0x38c3ff(0x61b)],Z[_0x38c3ff(0x432)]),He(0x1,a[_0x38c3ff(0x626)]),He(0x2,K[_0x38c3ff(0x3ea)]),He(0x3,a['Inject'](a[_0x38c3ff(0x50e)])),He(0x4,a[_0x38c3ff(0x326)])],exports[_0x38c3ff(0x252)]),exports[_0x38c3ff(0x2f4)]=Rn,exports[_0x38c3ff(0x39a)]=on,exports[_0x38c3ff(0x489)]=en,exports[_0x38c3ff(0x5ce)]=q,exports[_0x38c3ff(0x1de)]=Tn,exports['CommentService']=Tt,exports[_0x38c3ff(0x448)]=tn,exports[_0x38c3ff(0x208)]=Ct,exports[_0x38c3ff(0x243)]=bt,exports[_0x38c3ff(0x2f6)]=wt,exports['LOCAL_CACHE_INTERVAL_KEY']=rn,exports[_0x38c3ff(0x216)]=an,exports[_0x38c3ff(0x441)]=sn,exports[_0x38c3ff(0x483)]=Bn,exports[_0x38c3ff(0x2cf)]=Zt,exports['SNAPSHOT_URL_KEY']=Qt,exports[_0x38c3ff(0x270)]=se,exports[_0x38c3ff(0x387)]=Sn,exports[_0x38c3ff(0x5ee)]=An,exports['deserializeToCombResponse']=hn,exports[_0x38c3ff(0x564)]=_n;
|