@univerjs-pro/collaboration-client 0.5.2-nightly.202501031606 → 0.5.3-nightly.202501041605

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x5e99b1=_0x54fb;(function(_0x2a3658,_0x2507b3){var _0x59ce8b=_0x54fb,_0x23c46d=_0x2a3658();while(!![]){try{var _0x35ec4c=-parseInt(_0x59ce8b(0x481))/0x1*(-parseInt(_0x59ce8b(0x242))/0x2)+parseInt(_0x59ce8b(0x33e))/0x3+parseInt(_0x59ce8b(0x410))/0x4+parseInt(_0x59ce8b(0x338))/0x5+parseInt(_0x59ce8b(0x1f1))/0x6+parseInt(_0x59ce8b(0x20b))/0x7*(parseInt(_0x59ce8b(0x470))/0x8)+-parseInt(_0x59ce8b(0x38e))/0x9;if(_0x35ec4c===_0x2507b3)break;else _0x23c46d['push'](_0x23c46d['shift']());}catch(_0x509d6f){_0x23c46d['push'](_0x23c46d['shift']());}}}(_0x41e3,0x657f1));var Mt=Object[_0x5e99b1(0x4cc)],xt=(_0xd1f299,_0x4b7d46,_0x24c603)=>_0x4b7d46 in _0xd1f299?Mt(_0xd1f299,_0x4b7d46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24c603}):_0xd1f299[_0x4b7d46]=_0x24c603,D=(_0x162a64,_0x12a63f,_0x2afccd)=>xt(_0x162a64,typeof _0x12a63f!=_0x5e99b1(0x1f0)?_0x12a63f+'':_0x12a63f,_0x2afccd);Object[_0x5e99b1(0x4cc)](exports,Symbol[_0x5e99b1(0x44e)],{'value':'Module'});const a=require(_0x5e99b1(0x17f)),H=require(_0x5e99b1(0x375)),V=require('rxjs/operators'),z=require('@univerjs/network'),m=require(_0x5e99b1(0x26e)),jt=require(_0x5e99b1(0x3ab)),dt=require(_0x5e99b1(0x4ab)),W=require(_0x5e99b1(0x3d7)),X=require(_0x5e99b1(0x1ba)),$t=require(_0x5e99b1(0x196)),vt=_0x5e99b1(0x35b),Ht=_0x5e99b1(0x239),ft=_0x5e99b1(0x3f2),kt=_0x5e99b1(0x1ab),Bt=0x7d0,St=_0x5e99b1(0x475),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x5e99b1(0x46b),gt=_0x5e99b1(0x495),Wt=0x7530,He=_0x5e99b1(0x1f9),mt=0x4e20,Vt=0x4e20,It=_0x5e99b1(0x411),Gt=0x3,Kt=_0x5e99b1(0x438),Yt=0x3e8,Et=_0x5e99b1(0x3a7),qt=_0x5e99b1(0x48a),Ct=_0x5e99b1(0x24b),zt=_0x5e99b1(0x1a5),Jt=_0x5e99b1(0x216),Xt=_0x5e99b1(0x34d);var Tt=(_0xb68230=>(_0xb68230[_0xb68230[_0x5e99b1(0x3cb)]=0x0]=_0x5e99b1(0x3cb),_0xb68230[_0xb68230['OK']=0x1]='OK',_0xb68230[_0xb68230[_0x5e99b1(0x28c)]=0x2]=_0x5e99b1(0x28c),_0xb68230[_0xb68230[_0x5e99b1(0x38d)]=0x3]='PERMISSION_DENIED',_0xb68230[_0xb68230[_0x5e99b1(0x39a)]=0x4]='NOT_FOUND',_0xb68230[_0xb68230[_0x5e99b1(0x294)]=0x5]='UNAUTHENTICATED',_0xb68230[_0xb68230[_0x5e99b1(0x2ce)]=0x6]=_0x5e99b1(0x2ce),_0xb68230[_0xb68230[_0x5e99b1(0x1d3)]=0x7]=_0x5e99b1(0x1d3),_0xb68230[_0xb68230[_0x5e99b1(0x271)]=0x8]=_0x5e99b1(0x271),_0xb68230[_0xb68230[_0x5e99b1(0x2b8)]=0x9]=_0x5e99b1(0x2b8),_0xb68230[_0xb68230['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xb68230[_0xb68230[_0x5e99b1(0x4a7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb68230[_0xb68230[_0x5e99b1(0x474)]=0x1772]=_0x5e99b1(0x474),_0xb68230[_0xb68230[_0x5e99b1(0x184)]=0x1773]=_0x5e99b1(0x184),_0xb68230[_0xb68230[_0x5e99b1(0x1ff)]=0x1b59]='APPLY_REJECT',_0xb68230[_0xb68230['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e99b1(0x18e),_0xb68230[_0xb68230[_0x5e99b1(0x3d9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xb68230[_0xb68230[_0x5e99b1(0x1fa)]=0x1b5c]=_0x5e99b1(0x1fa),_0xb68230[_0xb68230[_0x5e99b1(0x203)]=0x1b5d]=_0x5e99b1(0x203),_0xb68230[_0xb68230['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5e99b1(0x3e0),_0xb68230[_0xb68230[_0x5e99b1(0x2ca)]=0x2329]=_0x5e99b1(0x2ca),_0xb68230[_0xb68230[_0x5e99b1(0x2ea)]=0x232a]=_0x5e99b1(0x2ea),_0xb68230[_0xb68230[_0x5e99b1(0x2e9)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xb68230[_0xb68230[_0x5e99b1(0x4f1)]=0x232c]=_0x5e99b1(0x4f1),_0xb68230[_0xb68230[_0x5e99b1(0x48b)]=0x232d]=_0x5e99b1(0x48b),_0xb68230[_0xb68230[_0x5e99b1(0x2bb)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xb68230[_0xb68230[_0x5e99b1(0x2c5)]=0x2712]=_0x5e99b1(0x2c5),_0xb68230[_0xb68230['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e99b1(0x3cf),_0xb68230[_0xb68230['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5e99b1(0x4ae),_0xb68230[_0xb68230[_0x5e99b1(0x42d)]=-0x1]=_0x5e99b1(0x42d),_0xb68230))(Tt||{}),Z=(_0x4cb011=>(_0x4cb011[_0x4cb011[_0x5e99b1(0x363)]=0x0]=_0x5e99b1(0x363),_0x4cb011[_0x4cb011['UNIVER_DOC']=0x1]=_0x5e99b1(0x497),_0x4cb011[_0x4cb011[_0x5e99b1(0x336)]=0x2]='UNIVER_SHEET',_0x4cb011[_0x4cb011[_0x5e99b1(0x248)]=0x3]=_0x5e99b1(0x248),_0x4cb011[_0x4cb011[_0x5e99b1(0x44c)]=0x4]=_0x5e99b1(0x44c),_0x4cb011[_0x4cb011['UNRECOGNIZED']=-0x1]=_0x5e99b1(0x42d),_0x4cb011))(Z||{}),G=(_0x246cd8=>(_0x246cd8[_0x246cd8[_0x5e99b1(0x368)]=0x0]=_0x5e99b1(0x368),_0x246cd8[_0x246cd8[_0x5e99b1(0x37d)]=0x1]='HELLO',_0x246cd8[_0x246cd8['JOIN']=0x2]=_0x5e99b1(0x2f2),_0x246cd8[_0x246cd8[_0x5e99b1(0x4d9)]=0x3]=_0x5e99b1(0x4d9),_0x246cd8[_0x246cd8[_0x5e99b1(0x4e9)]=0x4]=_0x5e99b1(0x4e9),_0x246cd8[_0x246cd8['HEARTBEAT']=0x5]='HEARTBEAT',_0x246cd8[_0x246cd8[_0x5e99b1(0x429)]=0x6]=_0x5e99b1(0x429),_0x246cd8[_0x246cd8[_0x5e99b1(0x42d)]=-0x1]=_0x5e99b1(0x42d),_0x246cd8))(G||{}),he=(_0x1777db=>(_0x1777db[_0x1777db[_0x5e99b1(0x20e)]=0x0]=_0x5e99b1(0x20e),_0x1777db[_0x1777db['OK']=0x1]='OK',_0x1777db[_0x1777db['FAIL']=0x2]='FAIL',_0x1777db[_0x1777db[_0x5e99b1(0x34b)]=0x3e9]=_0x5e99b1(0x34b),_0x1777db[_0x1777db[_0x5e99b1(0x307)]=0x3ea]=_0x5e99b1(0x307),_0x1777db[_0x1777db[_0x5e99b1(0x27c)]=0x3eb]=_0x5e99b1(0x27c),_0x1777db[_0x1777db[_0x5e99b1(0x27b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1777db[_0x1777db[_0x5e99b1(0x42d)]=-0x1]='UNRECOGNIZED',_0x1777db))(he||{}),bt=(_0x5ce6b1=>(_0x5ce6b1[_0x5ce6b1[_0x5e99b1(0x26c)]=0x0]=_0x5e99b1(0x26c),_0x5ce6b1[_0x5ce6b1[_0x5e99b1(0x408)]=0x1]=_0x5e99b1(0x408),_0x5ce6b1[_0x5ce6b1[_0x5e99b1(0x2cc)]=0x2]='HttpExport',_0x5ce6b1[_0x5ce6b1['UnitEmbedded']=0x3]='UnitEmbedded',_0x5ce6b1[_0x5ce6b1[_0x5e99b1(0x359)]=0x4]=_0x5e99b1(0x359),_0x5ce6b1[_0x5ce6b1[_0x5e99b1(0x42d)]=-0x1]=_0x5e99b1(0x42d),_0x5ce6b1))(bt||{});const q='collaboration-client.config',Ke={};var Q=(_0x56a620=>(_0x56a620[_0x5e99b1(0x36b)]=_0x5e99b1(0x36b),_0x56a620[_0x5e99b1(0x38d)]='PERMISSION_DENIED',_0x56a620['CONFLICT']='CONFLICT',_0x56a620['CLOSE_ROOM']=_0x5e99b1(0x2e4),_0x56a620[_0x5e99b1(0x2f3)]=_0x5e99b1(0x2f3),_0x56a620[_0x5e99b1(0x17e)]=_0x5e99b1(0x17e),_0x56a620['SOCKET_FAILED']=_0x5e99b1(0x34f),_0x56a620[_0x5e99b1(0x1a7)]=_0x5e99b1(0x1a7),_0x56a620))(Q||{});class te{constructor(){var _0x4820f4=_0x5e99b1;D(this,_0x4820f4(0x37f),new H['Subject']()),D(this,_0x4820f4(0x397),this[_0x4820f4(0x37f)][_0x4820f4(0x1e3)]());}['emitEvent'](_0x2d300f){var _0x490b3c=_0x5e99b1;this['_event$'][_0x490b3c(0x352)](_0x2d300f);}}const Rt=a['createIdentifier'](_0x5e99b1(0x33d));function Ot(_0xb475ed){var _0x404b16=_0x5e99b1,_0x1eb7ad,_0x19cb48,_0x3d41bd,_0x3b6d2f,_0x2a2156;const _0x4a2562=_0xb475ed['data'],_0x45338f=JSON[_0x404b16(0x36c)](_0x4a2562);switch(_0x45338f['cmd']){case G[_0x404b16(0x4fa)]:case G[_0x404b16(0x37d)]:{const _0x20d469=_0x45338f[_0x404b16(0x209)];return{..._0x45338f,'data':_0x20d469,'cmd':_0x45338f['cmd']};}case G[_0x404b16(0x2f2)]:{const _0x1f452e=_0x45338f[_0x404b16(0x188)];return{..._0x45338f,'data':_0x1f452e,'cmd':_0x45338f[_0x404b16(0x3c8)]};}case G[_0x404b16(0x429)]:{const _0x388bd8=_0x45338f[_0x404b16(0x3bb)];switch(_0x388bd8[_0x404b16(0x334)]){case m[_0x404b16(0x3de)][_0x404b16(0x2a7)]:return{..._0x45338f,'data':{..._0x388bd8,'data':(_0x1eb7ad=_0x388bd8[_0x404b16(0x2fe)])==null?void 0x0:_0x1eb7ad['cs']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x2f7)]:return{..._0x45338f,'data':{..._0x388bd8,'data':(_0x19cb48=_0x388bd8[_0x404b16(0x2df)])==null?void 0x0:_0x19cb48['cs']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x394)]:return{..._0x45338f,'data':{..._0x388bd8,'data':(_0x3d41bd=_0x388bd8['newCsEvent'])==null?void 0x0:_0x3d41bd['cs']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)]['CHANGESET_REJ']:return{..._0x45338f,'data':{..._0x388bd8,'data':(_0x3b6d2f=_0x388bd8[_0x404b16(0x39b)])==null?void 0x0:_0x3b6d2f['cs']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m['CollaborationEvent'][_0x404b16(0x2fc)]:return{..._0x45338f,'data':{..._0x388bd8,'data':(_0x2a2156=_0x388bd8[_0x404b16(0x328)])==null?void 0x0:_0x2a2156['cs']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x281)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x22c)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x227)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x212)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m['CollaborationEvent'][_0x404b16(0x361)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x3f1)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m['CollaborationEvent'][_0x404b16(0x2ba)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x278)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m['CollaborationEvent'][_0x404b16(0x3d3)]:case m[_0x404b16(0x3de)][_0x404b16(0x276)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x23f)]},'cmd':_0x45338f['cmd']};case m['CollaborationEvent'][_0x404b16(0x309)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x278)]},'cmd':_0x45338f['cmd']};case m[_0x404b16(0x3de)]['MSG_FOR_ERROR']:return{..._0x45338f,'data':_0x388bd8,'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x1c7)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x3bc)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)][_0x404b16(0x40d)]:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8['updatePermissionObjEvent']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)]['SHOULD_CLOSE_CONN']:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8['shouldCloseConn']},'cmd':_0x45338f[_0x404b16(0x3c8)]};case m[_0x404b16(0x3de)]['UNISCRIPT_RUN']:return{..._0x45338f,'data':{..._0x388bd8,'data':_0x388bd8[_0x404b16(0x20a)]},'cmd':_0x45338f[_0x404b16(0x3c8)]};default:return _0x45338f;}}default:return _0x45338f;}}function yt(_0x563565){var _0x2c1cfa=_0x5e99b1;switch(_0x563565[_0x2c1cfa(0x3c8)]){case G[_0x2c1cfa(0x4fa)]:case G['HELLO']:return JSON[_0x2c1cfa(0x305)]({'cmd':_0x563565[_0x2c1cfa(0x3c8)],'routeKey':_0x563565[_0x2c1cfa(0x4c0)]});case G['INGEST']:{let _0x3b0701;switch(_0x563565[_0x2c1cfa(0x3d2)][_0x2c1cfa(0x334)]){case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x281)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x281)],'updateCursorEvent':_0x563565['data'][_0x2c1cfa(0x3d2)]};break;}case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x361)]:{_0x3b0701={'eventID':m['CollaborationEvent'][_0x2c1cfa(0x361)],'leaveEvent':_0x563565['data'][_0x2c1cfa(0x3d2)]};break;}case m['CollaborationEvent'][_0x2c1cfa(0x227)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x227)],'joinEvent':_0x563565['data'][_0x2c1cfa(0x3d2)]};break;}case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x2ba)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x2ba)],'liveShareNewHost':_0x563565[_0x2c1cfa(0x3d2)][_0x2c1cfa(0x3d2)]};break;}case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x276)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x563565['data']['data']};break;}case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x309)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x563565[_0x2c1cfa(0x3d2)][_0x2c1cfa(0x3d2)]};break;}case m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x4c2)]:{_0x3b0701={'eventID':m['CollaborationEvent'][_0x2c1cfa(0x4c2)],'liveShareRequestHost':_0x563565['data'][_0x2c1cfa(0x3d2)]};break;}case m['CollaborationEvent'][_0x2c1cfa(0x3d3)]:{_0x3b0701={'eventID':m[_0x2c1cfa(0x3de)][_0x2c1cfa(0x3d3)]};break;}default:_0x3b0701={'eventID':_0x563565[_0x2c1cfa(0x3d2)]['eventID']};}return JSON[_0x2c1cfa(0x305)]({'cmd':_0x563565[_0x2c1cfa(0x3c8)],'routeKey':_0x563565['routeKey'],'collaMsg':_0x3b0701});}case G['JOIN']:return JSON['stringify']({'cmd':_0x563565[_0x2c1cfa(0x3c8)],'routeKey':_0x563565[_0x2c1cfa(0x4c0)],'joinReq':_0x563565[_0x2c1cfa(0x3d2)]});case G[_0x2c1cfa(0x4d9)]:return JSON[_0x2c1cfa(0x305)]({'cmd':_0x563565[_0x2c1cfa(0x3c8)],'routeKey':_0x563565['routeKey'],'leaveReq':_0x563565['data']});default:throw new Error(_0x2c1cfa(0x348));}}var Zt=Object[_0x5e99b1(0x4cc)],Qt=Object[_0x5e99b1(0x2a0)],ei=(_0x55d43f,_0x34619f,_0x531edf,_0x2b362c)=>{for(var _0x134509=_0x2b362c>0x1?void 0x0:_0x2b362c?Qt(_0x34619f,_0x531edf):_0x34619f,_0x33d897=_0x55d43f['length']-0x1,_0x78297f;_0x33d897>=0x0;_0x33d897--)(_0x78297f=_0x55d43f[_0x33d897])&&(_0x134509=(_0x2b362c?_0x78297f(_0x34619f,_0x531edf,_0x134509):_0x78297f(_0x134509))||_0x134509);return _0x2b362c&&_0x134509&&Zt(_0x34619f,_0x531edf,_0x134509),_0x134509;},ue=(_0x30cc84,_0x2362e5)=>(_0x4cf3de,_0xbc17f3)=>_0x2362e5(_0x4cf3de,_0xbc17f3,_0x30cc84);const ke=a[_0x5e99b1(0x314)](_0x5e99b1(0x4ad));function ti(_0x3c3629,_0x556750,_0x4939c3){var _0x23ebbb=_0x5e99b1;return _0x3c3629+'/'+_0x556750+_0x23ebbb(0x402)+_0x4939c3+_0x23ebbb(0x2a5);}exports[_0x5e99b1(0x42a)]=class extends a['Disposable']{constructor(_0x4f848e,_0x1a2e2d,_0x21fe9b,_0x41084,_0x2e4a48){var _0x3b3c7c=_0x5e99b1;super(),this[_0x3b3c7c(0x26a)]=_0x4f848e,this[_0x3b3c7c(0x27d)]=_0x1a2e2d,this['_configService']=_0x21fe9b,this[_0x3b3c7c(0x412)]=_0x41084,this[_0x3b3c7c(0x3fc)]=_0x2e4a48;}[_0x5e99b1(0x218)](_0x20c42b){var _0x125eac=_0x5e99b1;const _0x157a05=this[_0x125eac(0x26a)][_0x125eac(0x452)](z[_0x125eac(0x1e0)]);if(!_0x157a05)throw new Error(_0x125eac(0x388));const _0x797c20=_0x157a05[_0x125eac(0x218)](_0x20c42b);if(!_0x797c20)throw new Error(_0x125eac(0x1f6));const _0x3c847c=new a[(_0x125eac(0x1bd))](),_0x2847b2=new H[(_0x125eac(0x26f))]();_0x3c847c['add'](_0x797c20[_0x125eac(0x339)][_0x125eac(0x3b8)](_0x323a70=>_0x2847b2[_0x125eac(0x352)](_0x323a70))),_0x3c847c[_0x125eac(0x4f8)](a[_0x125eac(0x4fb)](()=>_0x2847b2[_0x125eac(0x1f4)]()));const _0x1516b2=new H[(_0x125eac(0x26f))]();_0x3c847c[_0x125eac(0x4f8)](_0x797c20['error$']['subscribe'](_0x1c8ca6=>_0x1516b2[_0x125eac(0x352)](_0x1c8ca6))),_0x3c847c[_0x125eac(0x4f8)](a[_0x125eac(0x4fb)](()=>_0x1516b2[_0x125eac(0x1f4)]()));const _0x26ef62=new H[(_0x125eac(0x26f))]();_0x3c847c[_0x125eac(0x4f8)](_0x797c20['message$'][_0x125eac(0x3b8)](_0x424caa=>{var _0x950f65=_0x125eac;const _0x50db07=Ot(_0x424caa);_0x26ef62[_0x950f65(0x352)](_0x50db07);})),_0x3c847c['add'](a[_0x125eac(0x4fb)](()=>_0x26ef62['complete']()));let _0x93acae;const _0x14b084=()=>{var _0x31b911=_0x125eac;_0x1516b2[_0x31b911(0x352)](new Event(_0x31b911(0x176))),_0x2847b2[_0x31b911(0x352)](new CloseEvent(_0x31b911(0x176))),_0x93acae['close']();};return _0x93acae={'memberID':'','close$':_0x2847b2['asObservable'](),'error$':_0x1516b2[_0x125eac(0x1e3)](),'open$':_0x797c20[_0x125eac(0x4b2)],'message$':_0x26ef62[_0x125eac(0x1e3)](),'send':_0xdf4a60=>{var _0x3bf362=_0x125eac;if(_0xdf4a60['cmd']===G[_0x3bf362(0x4e9)]){if(_0xdf4a60['data'][_0x3bf362(0x334)]===m[_0x3bf362(0x3de)][_0x3bf362(0x343)]){this[_0x3bf362(0x189)](_0x93acae,_0xdf4a60['data'])['catch'](_0x2fa188=>{var _0x1e20ba=_0x3bf362;this[_0x1e20ba(0x412)]['error'](_0x2fa188),_0x14b084();});return;}if(_0xdf4a60[_0x3bf362(0x3d2)][_0x3bf362(0x334)]===m[_0x3bf362(0x3de)][_0x3bf362(0x492)]){const _0x49d7af=_0xdf4a60['data'];this['_fetchMissChangesets'](_0x49d7af)[_0x3bf362(0x45f)](_0xed18b=>{var _0xf90548=_0x3bf362;_0x26ef62[_0xf90548(0x352)]({'cmd':G[_0xf90548(0x429)],'code':he['OK'],'routeKey':_0x49d7af['data'][_0xf90548(0x413)],'routeType':'','data':{'eventID':m[_0xf90548(0x3de)][_0xf90548(0x251)],'data':{'changesets':_0xed18b}}});})[_0x3bf362(0x284)](_0x9bd7db=>{var _0x5e11ea=_0x3bf362;this[_0x5e11ea(0x412)]['error'](_0x9bd7db),_0x14b084();});return;}}_0x797c20[_0x3bf362(0x353)](yt(_0xdf4a60));},'close':()=>{var _0xb55889=_0x125eac;_0x797c20[_0xb55889(0x2ab)](),_0x3c847c[_0xb55889(0x49f)]();}},_0x93acae;}async[_0x5e99b1(0x189)](_0x2a93fe,_0x270766){var _0x5ec1d5=_0x5e99b1,_0x149a1e,_0x3ad76f;const {unitType:_0x59d992,unitID:_0x579c87,changeset:_0x2ac2a6}=_0x270766['data'],_0x30dd9b={'unitID':_0x579c87,'memberID':_0x2a93fe[_0x5ec1d5(0x43b)],'type':_0x59d992,'changeset':m[_0x5ec1d5(0x2fb)](_0x2ac2a6)},_0x2bf5a1=this[_0x5ec1d5(0x26b)][_0x5ec1d5(0x26d)](Et),_0x5d4491=this[_0x5ec1d5(0x26b)][_0x5ec1d5(0x26d)](q),_0x5493bb=ti((_0x3ad76f=(_0x149a1e=_0x5d4491==null?void 0x0:_0x5d4491[_0x5ec1d5(0x4b5)])!=null?_0x149a1e:_0x2bf5a1)!=null?_0x3ad76f:qt,_0x59d992,_0x579c87);try{await this[_0x5ec1d5(0x27d)]['post'](_0x5493bb,{'body':_0x30dd9b});}catch(_0x31af05){throw this[_0x5ec1d5(0x412)][_0x5ec1d5(0x350)]('[CollaborationSession]',_0x5ec1d5(0x33f)),_0x31af05;}}async[_0x5e99b1(0x1bc)](_0xd98c78){var _0x220082=_0x5e99b1;const {unitID:_0x2ffce1,from:_0x17e6cf,to:_0x45352f,unitType:_0xe10c47}=_0xd98c78[_0x220082(0x3d2)];return(await this[_0x220082(0x3fc)][_0x220082(0x43c)]({'metadata':void 0x0},{'unitID':_0x2ffce1,'type':_0xe10c47,'from':_0x17e6cf,'to':_0x45352f}))[_0x220082(0x277)];}},exports[_0x5e99b1(0x42a)]=ei([ue(0x0,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),ue(0x1,a['Inject'](z[_0x5e99b1(0x2b2)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x5e99b1(0x24d)]),ue(0x4,m[_0x5e99b1(0x32c)])],exports['CollaborationSocketService']);const ii=_0x5e99b1(0x4ef);function ni(_0x2f1ad4){var _0x5d1690=_0x5e99b1;return JSON[_0x5d1690(0x305)](_0x2f1ad4)['length'];}class Be{constructor(){var _0x5da729=_0x5e99b1;D(this,_0x5da729(0x332),new H[(_0x5da729(0x26f))]()),D(this,_0x5da729(0x38f),this['_commentUpdate$'][_0x5da729(0x1e3)]());}[_0x5e99b1(0x1d1)](_0x105ef8){var _0x31f14b=_0x5e99b1;this[_0x31f14b(0x332)][_0x31f14b(0x352)](_0x105ef8);}}var ri=Object[_0x5e99b1(0x4cc)],si=Object[_0x5e99b1(0x2a0)],oi=(_0x23ec94,_0x28d950,_0x146e45,_0xf8a40)=>{for(var _0x27a934=_0xf8a40>0x1?void 0x0:_0xf8a40?si(_0x28d950,_0x146e45):_0x28d950,_0x38ef3d=_0x23ec94['length']-0x1,_0x54afe2;_0x38ef3d>=0x0;_0x38ef3d--)(_0x54afe2=_0x23ec94[_0x38ef3d])&&(_0x27a934=(_0xf8a40?_0x54afe2(_0x28d950,_0x146e45,_0x27a934):_0x54afe2(_0x27a934))||_0x27a934);return _0xf8a40&&_0x27a934&&ri(_0x28d950,_0x146e45,_0x27a934),_0x27a934;},Ye=(_0x491103,_0x3fe08d)=>(_0x59cb43,_0x4fd4ef)=>_0x3fe08d(_0x59cb43,_0x4fd4ef,_0x491103);exports[_0x5e99b1(0x221)]=class extends a[_0x5e99b1(0x346)]{constructor(_0x577780,_0x376d25){var _0x393523=_0x5e99b1;super(),D(this,_0x393523(0x1dc),new Map()),D(this,_0x393523(0x1de),new H['Subject']()),(this[_0x393523(0x49d)]=_0x577780,this['_userManagerService']=_0x376d25,this['disposeWithMe'](H[_0x393523(0x4e8)](this[_0x393523(0x49d)][_0x393523(0x3a3)](a[_0x393523(0x4af)][_0x393523(0x336)])[_0x393523(0x22d)](V['map'](_0x3d13a8=>_0x3d13a8[_0x393523(0x1f5)]())),this['_univerInstanceService'][_0x393523(0x3a3)](a[_0x393523(0x4af)][_0x393523(0x497)])[_0x393523(0x22d)](V[_0x393523(0x47a)](_0x233218=>_0x233218['getUnitId']())),this[_0x393523(0x49d)][_0x393523(0x3a3)](a[_0x393523(0x4af)][_0x393523(0x248)])[_0x393523(0x22d)](V[_0x393523(0x47a)](_0xb2b26c=>_0xb2b26c['getUnitId']())))[_0x393523(0x3b8)](_0x184ad4=>this[_0x393523(0x258)](_0x184ad4))));}[_0x5e99b1(0x1b2)](_0x3c6061){var _0x4ccf32=_0x5e99b1;return this[_0x4ccf32(0x1dc)]['has'](_0x3c6061)?H['of'](this[_0x4ccf32(0x1dc)]['get'](_0x3c6061)):this['_roomCreated$'][_0x4ccf32(0x22d)](V[_0x4ccf32(0x47a)](_0x31abd1=>{var _0x5152a0=_0x4ccf32;if(_0x31abd1===_0x3c6061)return this[_0x5152a0(0x1dc)]['get'](_0x31abd1);}));}[_0x5e99b1(0x2c3)](_0x1810c9){var _0x5c5886=_0x5e99b1;this['_userManagerService'][_0x5c5886(0x2c3)](_0x1810c9);}[_0x5e99b1(0x1c0)](){var _0x25328a=_0x5e99b1;return this[_0x25328a(0x1b3)][_0x25328a(0x1c0)]();}[_0x5e99b1(0x1b1)](_0x3951d2,_0x9fbab7){var _0x51c488=_0x5e99b1;let _0x145647=this[_0x51c488(0x1dc)][_0x51c488(0x452)](_0x3951d2);_0x145647||(_0x145647=new ai(),this['_roomMembers'][_0x51c488(0x40b)](_0x3951d2,_0x145647),this['_roomCreated$'][_0x51c488(0x352)](_0x3951d2)),_0x145647[_0x51c488(0x1b1)](_0x9fbab7);}[_0x5e99b1(0x170)](_0x58b63b,_0x5e3aad){var _0x2eba9a=_0x5e99b1;const _0x10421a=this[_0x2eba9a(0x1dc)][_0x2eba9a(0x452)](_0x58b63b);_0x10421a&&_0x10421a[_0x2eba9a(0x170)](_0x5e3aad);}[_0x5e99b1(0x240)](_0x54070d){var _0x3c2929=_0x5e99b1;return this[_0x3c2929(0x1dc)]['get'](_0x54070d);}[_0x5e99b1(0x331)](_0x450ef1,_0x6c7bbc){var _0x6bb7e8=_0x5e99b1;const _0x538c41=this['_roomMembers'][_0x6bb7e8(0x452)](_0x450ef1);if(_0x538c41)return _0x538c41[_0x6bb7e8(0x331)](_0x6c7bbc);}[_0x5e99b1(0x258)](_0x4ce7a5){var _0x35a518=_0x5e99b1;const _0x42e4a1=this['_roomMembers'][_0x35a518(0x452)](_0x4ce7a5);_0x42e4a1&&(_0x42e4a1['dispose'](),this[_0x35a518(0x1dc)][_0x35a518(0x3b0)](_0x4ce7a5));}[_0x5e99b1(0x49f)](){var _0xce8d50=_0x5e99b1;this[_0xce8d50(0x1dc)]['forEach'](_0x30bf3b=>_0x30bf3b[_0xce8d50(0x49f)]()),this[_0xce8d50(0x1dc)][_0xce8d50(0x4c6)](),this[_0xce8d50(0x1de)][_0xce8d50(0x1f4)]();}},exports[_0x5e99b1(0x221)]=oi([Ye(0x0,a[_0x5e99b1(0x174)]),Ye(0x1,a['Inject'](a[_0x5e99b1(0x479)]))],exports[_0x5e99b1(0x221)]);class ai extends a[_0x5e99b1(0x346)]{constructor(){var _0x391202=_0x5e99b1;super(...arguments),D(this,_0x391202(0x3c5),new Map()),D(this,'_members$',new H['BehaviorSubject'](this[_0x391202(0x3c5)])),D(this,_0x391202(0x24f),this['_members$']['asObservable']());}[_0x5e99b1(0x49f)](){var _0x3c28d8=_0x5e99b1;this['_members'][_0x3c28d8(0x4c6)]();}['updateMember'](_0x3b8fe6){var _0x388f30=_0x5e99b1;this[_0x388f30(0x3c5)][_0x388f30(0x40b)](_0x3b8fe6[_0x388f30(0x43b)],_0x3b8fe6),this['_emitMembers']();}[_0x5e99b1(0x170)](_0x2f1172){var _0x2b3bdd=_0x5e99b1;this['_members'][_0x2b3bdd(0x3b0)](_0x2f1172);}['getMember'](_0x430695){var _0x3acbbb=_0x5e99b1;return this[_0x3acbbb(0x3c5)][_0x3acbbb(0x452)](_0x430695);}[_0x5e99b1(0x463)](){var _0x5baf8b=_0x5e99b1;return Array[_0x5baf8b(0x1b5)](this[_0x5baf8b(0x3c5)][_0x5baf8b(0x430)]());}[_0x5e99b1(0x483)](){this['_members$']['next'](this['_members']);}}var ci=Object[_0x5e99b1(0x4cc)],hi=Object['getOwnPropertyDescriptor'],li=(_0x4381cf,_0x219ef3,_0x5a70e5,_0x29fac6)=>{var _0x1324b2=_0x5e99b1;for(var _0x2bfc22=_0x29fac6>0x1?void 0x0:_0x29fac6?hi(_0x219ef3,_0x5a70e5):_0x219ef3,_0x84ade9=_0x4381cf[_0x1324b2(0x36d)]-0x1,_0x26af23;_0x84ade9>=0x0;_0x84ade9--)(_0x26af23=_0x4381cf[_0x84ade9])&&(_0x2bfc22=(_0x29fac6?_0x26af23(_0x219ef3,_0x5a70e5,_0x2bfc22):_0x26af23(_0x2bfc22))||_0x2bfc22);return _0x29fac6&&_0x2bfc22&&ci(_0x219ef3,_0x5a70e5,_0x2bfc22),_0x2bfc22;},oe=(_0x5620af,_0x2aef6e)=>(_0x2ca249,_0x5754d9)=>_0x2aef6e(_0x2ca249,_0x5754d9,_0x5620af),se=(_0x19447a=>(_0x19447a[_0x19447a['IDLE']=0x0]='IDLE',_0x19447a[_0x19447a[_0x5e99b1(0x4b7)]=0x1]=_0x5e99b1(0x4b7),_0x19447a[_0x19447a[_0x5e99b1(0x283)]=0x2]='OFFLINE',_0x19447a[_0x19447a[_0x5e99b1(0x23a)]=0x3]='ONLINE',_0x19447a))(se||{});const qe={[he[_0x5e99b1(0x4d3)]]:_0x5e99b1(0x180),[he[_0x5e99b1(0x34b)]]:_0x5e99b1(0x2e2),[he['JOIN_ROOM_NOT_EXISTS']]:_0x5e99b1(0x2dd),[he[_0x5e99b1(0x27c)]]:'session.room-permission-denied',[he[_0x5e99b1(0x27b)]]:_0x5e99b1(0x4b4)};exports[_0x5e99b1(0x378)]=class extends a[_0x5e99b1(0x191)]{constructor(_0x3df11d,_0x5411df,_0x621b8f,_0x303097,_0x124ca6,_0x3c8eeb,_0x5bee5d,_0x179c28,_0x1f0a90){var _0x5cdde5=_0x5e99b1;super(),D(this,'_sessionStatus$',new H[(_0x5cdde5(0x2c2))](0x0)),D(this,_0x5cdde5(0x2ed),this[_0x5cdde5(0x423)][_0x5cdde5(0x1e3)]()),D(this,_0x5cdde5(0x37f),new H['Subject']()),D(this,_0x5cdde5(0x397),this[_0x5cdde5(0x37f)][_0x5cdde5(0x1e3)]()),D(this,_0x5cdde5(0x3db)),D(this,'_socketMessageSubscription'),D(this,_0x5cdde5(0x38b)),D(this,_0x5cdde5(0x23b),!0x1),D(this,_0x5cdde5(0x35c),null),(this[_0x5cdde5(0x4db)]=_0x3df11d,this['_logService']=_0x621b8f,this[_0x5cdde5(0x26b)]=_0x303097,this[_0x5cdde5(0x2be)]=_0x124ca6,this[_0x5cdde5(0x310)]=_0x3c8eeb,this[_0x5cdde5(0x3a8)]=_0x5bee5d,this['_collaborationUIEventService']=_0x179c28,this[_0x5cdde5(0x30a)]=_0x1f0a90,this['_shouldReportTelemetry']=!!this[_0x5cdde5(0x30a)],_0x5411df['pipe'](H[_0x5cdde5(0x4f6)](this['dispose$']))[_0x5cdde5(0x3b8)](_0x10a6c6=>{var _0x1f162b=_0x5cdde5,_0x4e3d82;typeof _0x10a6c6>'u'||(this['_socket']=_0x10a6c6,_0x10a6c6?(this[_0x1f162b(0x2c7)](_0x10a6c6),this[_0x1f162b(0x4d6)]=_0x10a6c6[_0x1f162b(0x4ca)][_0x1f162b(0x3b8)](_0x145cf2=>{var _0x186a93=_0x1f162b;_0x145cf2[_0x186a93(0x4c0)]===this[_0x186a93(0x4db)]&&this['_onCombEvent'](_0x145cf2);})):(this[_0x1f162b(0x418)](),this['_sessionStatus$'][_0x1f162b(0x352)](0x2),(_0x4e3d82=this['_socketMessageSubscription'])==null||_0x4e3d82[_0x1f162b(0x2af)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x384d22=_0x5e99b1;return this['_sessionStatus$'][_0x384d22(0x1ed)]();}[_0x5e99b1(0x443)](){var _0x43a152=_0x5e99b1,_0x31d2d1,_0x34f2c8;return(_0x34f2c8=(_0x31d2d1=this[_0x43a152(0x3db)])==null?void 0x0:_0x31d2d1[_0x43a152(0x43b)])!=null?_0x34f2c8:null;}[_0x5e99b1(0x49f)](){var _0x35b2d7=_0x5e99b1;super['dispose'](),this[_0x35b2d7(0x3f0)]['next'](),this['dispose$'][_0x35b2d7(0x1f4)]();}[_0x5e99b1(0x2ab)](){var _0x71e401=_0x5e99b1,_0x14a4c5,_0x30e85b;this[_0x71e401(0x418)](),(_0x14a4c5=this[_0x71e401(0x3db)])==null||_0x14a4c5[_0x71e401(0x353)]({'cmd':G[_0x71e401(0x4d9)],'data':{'roomID':this['_unitID']}}),(_0x30e85b=this[_0x71e401(0x3db)])==null||_0x30e85b[_0x71e401(0x2ab)](),this[_0x71e401(0x37f)][_0x71e401(0x1f4)](),this[_0x71e401(0x423)]['complete'](),this[_0x71e401(0x49f)]();}[_0x5e99b1(0x233)](_0x55e650){var _0x1f0dc4=_0x5e99b1;_0x55e650['cmd']===G[_0x1f0dc4(0x2f2)]?this[_0x1f0dc4(0x41c)](_0x55e650):_0x55e650['cmd']===G[_0x1f0dc4(0x429)]&&this['_onRecvEvent'](_0x55e650);}[_0x5e99b1(0x2c7)](_0x2b0a24){var _0x15373c=_0x5e99b1;this[_0x15373c(0x423)][_0x15373c(0x352)](0x1),_0x2b0a24[_0x15373c(0x353)]({'cmd':G[_0x15373c(0x2f2)],'routeKey':this[_0x15373c(0x4db)],'routeType':'','data':{'rooms':[{'roomID':this[_0x15373c(0x4db)]}]}});}[_0x5e99b1(0x41c)](_0x7b1f41){var _0x620727=_0x5e99b1,_0x243e9c;if(_0x7b1f41[_0x620727(0x472)]in qe){this[_0x620727(0x477)][_0x620727(0x2cd)]({'id':Q[_0x620727(0x2f3)],'data':qe[_0x7b1f41['code']]}),this[_0x620727(0x423)]['next'](0x2);return;}this[_0x620727(0x423)][_0x620727(0x352)](0x3);const _0x2ed3bc=(_0x243e9c=_0x7b1f41[_0x620727(0x3d2)]['roomInfos'][this[_0x620727(0x4db)]])==null?void 0x0:_0x243e9c[_0x620727(0x1e1)];_0x2ed3bc&&_0x2ed3bc['forEach'](_0x36f7a8=>this[_0x620727(0x310)][_0x620727(0x1b1)](this[_0x620727(0x4db)],_0x36f7a8));}['_onRecvEvent'](_0x403b5a){var _0x3673c0=_0x5e99b1;try{const _0xcd1ff4=_0x403b5a[_0x3673c0(0x3d2)];switch(_0xcd1ff4[_0x3673c0(0x334)]){case m[_0x3673c0(0x3de)]['USERS_ENTER']:this[_0x3673c0(0x250)](_0xcd1ff4),this[_0x3673c0(0x37f)][_0x3673c0(0x352)](_0xcd1ff4);break;case m[_0x3673c0(0x3de)][_0x3673c0(0x361)]:this['_onUserLeave'](_0xcd1ff4),this[_0x3673c0(0x37f)][_0x3673c0(0x352)](_0xcd1ff4);break;case m['CollaborationEvent'][_0x3673c0(0x2f7)]:case m[_0x3673c0(0x3de)][_0x3673c0(0x2fc)]:this[_0x3673c0(0x19e)](),this[_0x3673c0(0x1c5)](),this['_event$'][_0x3673c0(0x352)](_0xcd1ff4);break;case m[_0x3673c0(0x3de)][_0x3673c0(0x3a6)]:this[_0x3673c0(0x412)][_0x3673c0(0x350)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3673c0(0x305)](_0xcd1ff4)),this[_0x3673c0(0x37f)]['next'](_0xcd1ff4);break;case m[_0x3673c0(0x3de)][_0x3673c0(0x1c7)]:this[_0x3673c0(0x3a8)]['onCommentUpdate'](_0xcd1ff4[_0x3673c0(0x3d2)]),this['_event$'][_0x3673c0(0x352)](_0xcd1ff4);break;default:this[_0x3673c0(0x37f)][_0x3673c0(0x352)](_0xcd1ff4);}}catch(_0x3b34db){this[_0x3673c0(0x412)][_0x3673c0(0x350)](_0x3b34db,_0x403b5a);}}['_onUserJoin'](_0x25134a){var _0x1c5d9b=_0x5e99b1;this[_0x1c5d9b(0x310)][_0x1c5d9b(0x1b1)](this[_0x1c5d9b(0x4db)],_0x25134a[_0x1c5d9b(0x3d2)]);}[_0x5e99b1(0x270)](_0xa8f12b){var _0x593b0e=_0x5e99b1;this[_0x593b0e(0x310)][_0x593b0e(0x170)](this[_0x593b0e(0x4db)],_0xa8f12b[_0x593b0e(0x3d2)][_0x593b0e(0x43b)]);}async[_0x5e99b1(0x353)](_0x4d6e8,_0x53ed12){var _0x535fca=_0x5e99b1;if(this[_0x535fca(0x420)]!==0x3||!this[_0x535fca(0x3db)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4d6e8['eventID']===m[_0x535fca(0x3de)][_0x535fca(0x343)]&&(this[_0x535fca(0x243)](),this[_0x535fca(0x488)](_0x4d6e8)),this[_0x535fca(0x3db)][_0x535fca(0x353)]({'cmd':G[_0x535fca(0x4e9)],'routeKey':_0x53ed12,'routeType':'','data':_0x4d6e8});}catch(_0x5c7131){this[_0x535fca(0x412)][_0x535fca(0x350)](_0x5c7131);}}[_0x5e99b1(0x243)](){var _0x456685=_0x5e99b1,_0x45ec40;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3314a7=_0x54fb;this['_collaborationTimeoutTimer']=null,this[_0x3314a7(0x477)][_0x3314a7(0x2cd)]({'id':Q[_0x3314a7(0x1a7)]});},(_0x45ec40=this[_0x456685(0x26b)][_0x456685(0x26d)](He))!=null?_0x45ec40:mt);}[_0x5e99b1(0x1c5)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5e99b1(0x488)](_0x19936b){var _0x1cac6e=_0x5e99b1;if(!this['_shouldReportTelemetry'])return;const {data:_0x3be73f}=_0x19936b,{unitID:_0x315e9d,changeset:_0x54ebf2}=_0x3be73f,{mutations:_0x11a7ab,type:_0x5de87a}=_0x54ebf2;this[_0x1cac6e(0x35c)]={'unitId':_0x315e9d,'type':_0x5de87a,'startTime':performance[_0x1cac6e(0x457)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x11a7ab)};}[_0x5e99b1(0x19e)](){var _0x4a17bf=_0x5e99b1;if(this[_0x4a17bf(0x23b)]){if(!this[_0x4a17bf(0x35c)]){this[_0x4a17bf(0x412)]['error'](_0x4a17bf(0x24c),_0x4a17bf(0x1d2));return;}this['_telemetryInfo'][_0x4a17bf(0x321)]=performance[_0x4a17bf(0x457)](),this['_telemetryInfo'][_0x4a17bf(0x3e1)]=this[_0x4a17bf(0x35c)][_0x4a17bf(0x321)]-this[_0x4a17bf(0x35c)]['startTime'],this[_0x4a17bf(0x30a)]['capture'](ii,this[_0x4a17bf(0x35c)]),this[_0x4a17bf(0x35c)]=null;}}[_0x5e99b1(0x418)](){var _0x301c2d=_0x5e99b1;this[_0x301c2d(0x35c)]=null;}},exports[_0x5e99b1(0x378)]=li([oe(0x2,a[_0x5e99b1(0x24d)]),oe(0x3,a[_0x5e99b1(0x289)]),oe(0x4,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x21a)])),oe(0x5,a[_0x5e99b1(0x1a2)](exports['MemberService'])),oe(0x6,a[_0x5e99b1(0x1a2)](Be)),oe(0x7,a[_0x5e99b1(0x1a2)](te)),oe(0x8,a[_0x5e99b1(0x262)](jt[_0x5e99b1(0x229)]))],exports[_0x5e99b1(0x378)]);var _i=Object[_0x5e99b1(0x4cc)],ui=Object[_0x5e99b1(0x2a0)],di=(_0x506f54,_0x2a196f,_0x8fb398,_0x5f4872)=>{var _0x5dba5b=_0x5e99b1;for(var _0x3a8388=_0x5f4872>0x1?void 0x0:_0x5f4872?ui(_0x2a196f,_0x8fb398):_0x2a196f,_0x55904c=_0x506f54[_0x5dba5b(0x36d)]-0x1,_0xc2908c;_0x55904c>=0x0;_0x55904c--)(_0xc2908c=_0x506f54[_0x55904c])&&(_0x3a8388=(_0x5f4872?_0xc2908c(_0x2a196f,_0x8fb398,_0x3a8388):_0xc2908c(_0x3a8388))||_0x3a8388);return _0x5f4872&&_0x3a8388&&_i(_0x2a196f,_0x8fb398,_0x3a8388),_0x3a8388;},ae=(_0x1e17cb,_0x22247f)=>(_0x1ff8da,_0x551a7c)=>_0x22247f(_0x1ff8da,_0x551a7c,_0x1e17cb);exports[_0x5e99b1(0x433)]=class extends a['Disposable']{constructor(_0x901eff,_0x5366b5,_0x33dea7,_0x30c546,_0x4ffee2,_0x15a7ea,_0x22f3df){var _0x4db321=_0x5e99b1;super(),D(this,_0x4db321(0x208),new H[(_0x4db321(0x2c2))](void 0x0)),D(this,'socket$',this[_0x4db321(0x208)][_0x4db321(0x1e3)]()),D(this,_0x4db321(0x3c3),null),D(this,_0x4db321(0x2f4),new Map()),D(this,_0x4db321(0x38c),new H[(_0x4db321(0x2c2))](se[_0x4db321(0x454)])),D(this,_0x4db321(0x453),this[_0x4db321(0x38c)][_0x4db321(0x1e3)]()),D(this,_0x4db321(0x451),!0x1),D(this,_0x4db321(0x1dd)),D(this,_0x4db321(0x4b1),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x4db321(0x1cf)),(this['_injector']=_0x901eff,this['_logService']=_0x5366b5,this[_0x4db321(0x26b)]=_0x33dea7,this[_0x4db321(0x376)]=_0x30c546,this[_0x4db321(0x2e6)]=_0x4ffee2,this[_0x4db321(0x477)]=_0x15a7ea,this[_0x4db321(0x4d4)]=_0x22f3df,this[_0x4db321(0x291)]());}get[_0x5e99b1(0x3db)](){var _0x539ad6=_0x5e99b1;return this[_0x539ad6(0x208)][_0x539ad6(0x1ed)]();}[_0x5e99b1(0x291)](){var _0x1e3bce=_0x5e99b1;this[_0x1e3bce(0x4d4)]&&this[_0x1e3bce(0x2b3)](this[_0x1e3bce(0x4d4)][_0x1e3bce(0x45d)]['subscribe'](_0xee7345=>{var _0x306869=_0x1e3bce;_0xee7345&&!this[_0x306869(0x3db)]&&this[_0x306869(0x18b)](),_0xee7345||this[_0x306869(0x36f)]();}));}[_0x5e99b1(0x49f)](){var _0x2404b0=_0x5e99b1;super[_0x2404b0(0x49f)](),this['_sessions']['forEach'](_0x4bce82=>_0x4bce82[_0x2404b0(0x49f)]()),this[_0x2404b0(0x2f4)][_0x2404b0(0x4c6)](),this[_0x2404b0(0x38c)][_0x2404b0(0x1f4)]();}async[_0x5e99b1(0x487)](_0x2f020c){var _0x244eaf=_0x5e99b1;if(this[_0x244eaf(0x2f4)][_0x244eaf(0x358)](_0x2f020c))return this[_0x244eaf(0x2f4)][_0x244eaf(0x452)](_0x2f020c);this[_0x244eaf(0x2d7)]();const _0x3b473c=this[_0x244eaf(0x26a)][_0x244eaf(0x4bf)](exports[_0x244eaf(0x378)],_0x2f020c,this[_0x244eaf(0x208)]['asObservable']());return this[_0x244eaf(0x2f4)]['set'](_0x2f020c,_0x3b473c),_0x3b473c;}['closeSession'](_0x2d45ec){var _0x22ba69=_0x5e99b1,_0xaea73;const _0x55f943=this[_0x22ba69(0x2f4)]['get'](_0x2d45ec);_0x55f943&&(this['_sessions'][_0x22ba69(0x3b0)](_0x2d45ec),_0x55f943[_0x22ba69(0x2ab)]()),this[_0x22ba69(0x2f4)][_0x22ba69(0x4dc)]||(_0xaea73=this[_0x22ba69(0x3db)])==null||_0xaea73['close']();}[_0x5e99b1(0x18b)](){var _0xadc3d5=_0x5e99b1;this[_0xadc3d5(0x4b1)]=0x0,this[_0xadc3d5(0x1dd)]!=null&&(clearTimeout(this[_0xadc3d5(0x1dd)]),this[_0xadc3d5(0x1dd)]=null),this[_0xadc3d5(0x46e)]();}async[_0x5e99b1(0x1d4)](){var _0x2ace56=_0x5e99b1,_0x43b828,_0x41b8cb,_0x232564;const _0x3c8dbf=this[_0x2ace56(0x26b)]['getConfig'](q),_0x426c47=(_0x43b828=_0x3c8dbf==null?void 0x0:_0x3c8dbf['wsSessionTicketUrl'])!=null?_0x43b828:Ft;return(_0x232564=(_0x41b8cb=(await this['_httpService']['get'](_0x426c47,{'headers':{'Content-Type':_0x2ace56(0x4e6)}}))[_0x2ace56(0x3f9)])==null?void 0x0:_0x41b8cb[_0x2ace56(0x2a1)])!=null?_0x232564:'';}['_createSocketURL'](_0x477094){var _0xa5087d=_0x5e99b1,_0x24b125,_0xac8c6b;const _0x2b9837=this[_0xa5087d(0x26b)][_0xa5087d(0x26d)](St),_0x113254=this['_configService'][_0xa5087d(0x26d)](q),_0xf98320=(_0xac8c6b=(_0x24b125=_0x113254==null?void 0x0:_0x113254['collabWebSocketUrl'])!=null?_0x24b125:_0x2b9837)!=null?_0xac8c6b:pt,_0x50616a=typeof window>'u'?new URL(_0xf98320):new URL(_0xf98320,window['location']['origin']);_0x50616a[_0xa5087d(0x29b)]['set'](_0xa5087d(0x303),_0x477094);const _0xbc93d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa5087d(0x466)][_0xa5087d(0x293)]);return _0xbc93d9[_0xa5087d(0x452)](_0xa5087d(0x21d))&&_0x50616a['searchParams']['set']('runId',_0xbc93d9['get'](_0xa5087d(0x21d))),_0x50616a['toString']();}async['_createSocket'](){var _0x5a9fa3=_0x5e99b1;const _0x3f892b=await this['_getSessionTicket'](),_0x36fc4e=this[_0x5a9fa3(0x4c1)](_0x3f892b),_0x2ec8e7=this[_0x5a9fa3(0x376)][_0x5a9fa3(0x218)](_0x36fc4e);return this[_0x5a9fa3(0x3c3)]=_0x2ec8e7,_0x2ec8e7;}async[_0x5e99b1(0x2d7)](){var _0x5daa87=_0x5e99b1,_0x70cfbd,_0x3f2be1;try{const _0x495e1a=(_0x3f2be1=(_0x70cfbd=this[_0x5daa87(0x3db)])!=null?_0x70cfbd:this[_0x5daa87(0x3c3)])!=null?_0x3f2be1:await this[_0x5daa87(0x2a6)]();if(_0x495e1a){const _0x41ccb8=_0x495e1a[_0x5daa87(0x353)];_0x495e1a[_0x5daa87(0x353)]=_0x5b9842=>(this[_0x5daa87(0x296)](),_0x41ccb8[_0x5daa87(0x213)](_0x495e1a,[_0x5b9842])),_0x495e1a[_0x5daa87(0x4ca)][_0x5daa87(0x3b8)](_0x51d312=>this[_0x5daa87(0x1c6)](_0x495e1a,_0x51d312)),_0x495e1a[_0x5daa87(0x177)]['pipe'](V[_0x5daa87(0x3f5)](0x1))['subscribe'](_0x548da3=>this[_0x5daa87(0x412)][_0x5daa87(0x350)](_0x5daa87(0x39c),_0x548da3)),_0x495e1a['open$'][_0x5daa87(0x22d)](V[_0x5daa87(0x3f5)](0x1))[_0x5daa87(0x3b8)](()=>{var _0x9f4b7d=_0x5daa87;this[_0x9f4b7d(0x17c)](_0x495e1a);}),_0x495e1a['close$'][_0x5daa87(0x22d)](V[_0x5daa87(0x3f5)](0x1))[_0x5daa87(0x3b8)](_0x3b2ba6=>{var _0x36cbdd=_0x5daa87;this[_0x36cbdd(0x412)]['debug']('[CollaborationSessionService]','socket\x20close',_0x3b2ba6),this['_onConnectionFailed']();});}}catch(_0x37c65d){this[_0x5daa87(0x412)][_0x5daa87(0x350)](_0x37c65d),this['_onConnectionFailed']();}}[_0x5e99b1(0x17c)](_0x492745){var _0x592adb=_0x5e99b1;this[_0x592adb(0x412)][_0x592adb(0x499)]('[CollaborationSessionService]',_0x592adb(0x4ce)),_0x492745[_0x592adb(0x353)]({'cmd':G[_0x592adb(0x37d)]}),this[_0x592adb(0x296)]();}[_0x5e99b1(0x36f)](){var _0x44c8a2=_0x5e99b1;this[_0x44c8a2(0x451)]=!0x1,this[_0x44c8a2(0x3c3)]=null,this[_0x44c8a2(0x38c)][_0x44c8a2(0x352)](se[_0x44c8a2(0x283)]),this[_0x44c8a2(0x208)]['next'](null),this[_0x44c8a2(0x3c9)](),this[_0x44c8a2(0x211)]();}['_onConnectionFailed'](){var _0x17d7aa=_0x5e99b1,_0x5d3c15;this[_0x17d7aa(0x36f)](),this['_retryCount']<((_0x5d3c15=this[_0x17d7aa(0x26b)][_0x17d7aa(0x26d)](It))!=null?_0x5d3c15:Gt)?(this[_0x17d7aa(0x477)][_0x17d7aa(0x2cd)]({'id':Q[_0x17d7aa(0x17e)]}),this[_0x17d7aa(0x46e)]()):this[_0x17d7aa(0x477)]['emitEvent']({'id':Q['SOCKET_FAILED']});}[_0x5e99b1(0x46e)](){var _0xd19e46=_0x5e99b1,_0x15d247;const _0x5e8e38=this[_0xd19e46(0x4b1)],_0x34d803=this[_0xd19e46(0x26b)]['getConfig'](q),_0x3eda95=_0x5e8e38===0x0?0x0:((_0x15d247=_0x34d803==null?void 0x0:_0x34d803[_0xd19e46(0x1d5)])!=null?_0x15d247:Vt)*0x2**_0x5e8e38;this[_0xd19e46(0x1dd)]=setTimeout(()=>{var _0x3e60b1=_0xd19e46;clearTimeout(this[_0x3e60b1(0x1dd)]),this[_0x3e60b1(0x1dd)]=null,this[_0x3e60b1(0x2d7)]();},_0x3eda95),this['_retryCount']+=0x1;}[_0x5e99b1(0x1c6)](_0x4eba41,_0xb284f9){var _0x4096f0=_0x5e99b1;const {cmd:_0x49a159}=_0xb284f9;_0x49a159===G['HELLO']&&!this[_0x4096f0(0x451)]&&(_0x4eba41['memberID']=_0xb284f9[_0x4096f0(0x3d2)][_0x4096f0(0x43b)],this[_0x4096f0(0x208)][_0x4096f0(0x352)](_0x4eba41),this['_status$'][_0x4096f0(0x352)](se[_0x4096f0(0x23a)]),this['_socketReady']=!0x0,this[_0x4096f0(0x3c3)]=null),_0x49a159===G[_0x4096f0(0x4fa)]&&this[_0x4096f0(0x3c9)](),this[_0x4096f0(0x296)]();}[_0x5e99b1(0x296)](){var _0x255fbe=_0x5e99b1,_0x74f797;this[_0x255fbe(0x211)](),this[_0x255fbe(0x4f7)]=setTimeout(()=>this[_0x255fbe(0x2d5)](),(_0x74f797=this[_0x255fbe(0x26b)]['getConfig'](gt))!=null?_0x74f797:Wt);}[_0x5e99b1(0x2d5)](){var _0x3a24a8=_0x5e99b1;this[_0x3a24a8(0x3db)][_0x3a24a8(0x353)]({'cmd':G[_0x3a24a8(0x4fa)]}),this[_0x3a24a8(0x30d)]();}['_waitForHeartbeatResponse'](){var _0x80f829=_0x5e99b1,_0x2e73b3;this[_0x80f829(0x1cf)]=setTimeout(()=>this[_0x80f829(0x3b9)](),(_0x2e73b3=this['_configService']['getConfig'](He))!=null?_0x2e73b3:mt);}[_0x5e99b1(0x211)](){var _0x3f8452=_0x5e99b1;this[_0x3f8452(0x4f7)]!=null&&(clearTimeout(this[_0x3f8452(0x4f7)]),this[_0x3f8452(0x4f7)]=null);}[_0x5e99b1(0x3c9)](){var _0x5f06bd=_0x5e99b1;this[_0x5f06bd(0x1cf)]!=null&&(clearTimeout(this[_0x5f06bd(0x1cf)]),this[_0x5f06bd(0x1cf)]=null);}},exports[_0x5e99b1(0x433)]=di([ae(0x0,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),ae(0x1,a[_0x5e99b1(0x24d)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x5e99b1(0x1a2)](z[_0x5e99b1(0x2b2)])),ae(0x5,a[_0x5e99b1(0x1a2)](te)),ae(0x6,a['Optional'](Rt))],exports['CollaborationSessionService']);function _0x54fb(_0x2e9240,_0x3b9429){var _0x41e397=_0x41e3();return _0x54fb=function(_0x54fbf9,_0x5109b8){_0x54fbf9=_0x54fbf9-0x16d;var _0x33c3e2=_0x41e397[_0x54fbf9];return _0x33c3e2;},_0x54fb(_0x2e9240,_0x3b9429);}const K=[];for(let r=0x0;r<0x100;++r)K[_0x5e99b1(0x2f5)]((r+0x100)[_0x5e99b1(0x249)](0x10)[_0x5e99b1(0x182)](0x1));function vi(_0x17299c,_0x37dc40=0x0){return(K[_0x17299c[_0x37dc40+0x0]]+K[_0x17299c[_0x37dc40+0x1]]+K[_0x17299c[_0x37dc40+0x2]]+K[_0x17299c[_0x37dc40+0x3]]+'-'+K[_0x17299c[_0x37dc40+0x4]]+K[_0x17299c[_0x37dc40+0x5]]+'-'+K[_0x17299c[_0x37dc40+0x6]]+K[_0x17299c[_0x37dc40+0x7]]+'-'+K[_0x17299c[_0x37dc40+0x8]]+K[_0x17299c[_0x37dc40+0x9]]+'-'+K[_0x17299c[_0x37dc40+0xa]]+K[_0x17299c[_0x37dc40+0xb]]+K[_0x17299c[_0x37dc40+0xc]]+K[_0x17299c[_0x37dc40+0xd]]+K[_0x17299c[_0x37dc40+0xe]]+K[_0x17299c[_0x37dc40+0xf]])['toLowerCase']();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x2c7b4c=_0x5e99b1;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2c7b4c(0x49a));Ue=crypto['getRandomValues'][_0x2c7b4c(0x4d2)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x5e99b1(0x23c)]&&crypto[_0x5e99b1(0x23c)][_0x5e99b1(0x4d2)](crypto),ze={'randomUUID':pi};function gi(_0x359c3e,_0x2552c9,_0x1d7390){var _0x5bcf0d=_0x5e99b1;if(ze['randomUUID']&&!_0x2552c9&&!_0x359c3e)return ze[_0x5bcf0d(0x23c)]();_0x359c3e=_0x359c3e||{};const _0x3d3cfa=_0x359c3e[_0x5bcf0d(0x2d0)]||(_0x359c3e['rng']||Si)();return _0x3d3cfa[0x6]=_0x3d3cfa[0x6]&0xf|0x40,_0x3d3cfa[0x8]=_0x3d3cfa[0x8]&0x3f|0x80,vi(_0x3d3cfa);}const J=a['createIdentifier'](_0x5e99b1(0x419));function mi(_0x369df8){var _0x491c59=_0x5e99b1;return _0x491c59(0x20d)+_0x369df8;}function _0x41e3(){var _0x4aa0ef=['FETCH_MISSING','Rectangle','_getLoginPath','HEARTBEAT_INTERVAL','_showConflictNotification','UNIVER_DOC','fetch_missing','debug','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','createEncryptor','_nDataBytes','_univerInstanceService','_clearUndo','dispose','result','AWAITING','find','substr','[OfflineState]:\x20received\x20changeset.','reverse','_substituteRedoStack','SNAPSHOT_INVALID_SNAPSHOT','_updateState','_DEC_XFORM_MODE','IContextService','@univerjs/docs','CommentService','univer-pro.collaboration-client-socket-service','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_retryCount','open$','_onRemoteRejected','session.room-cnt-exceeds','collabSubmitChangesetUrl','splice','JOINING','PERSON','conflict','enableOfflineEditing','headers','IPermissionService','_collaborationPaused','_compressMutationService','createInstance','routeKey','_createSocketURL','LIVESHARE_REQUEST_HOST','_initCloseConn','_resendWithTimeout','NoPadding','clear','ciphertext','fetching\x20missing\x20changesets\x20from\x20','defaultWorkbookPermissionPoints','message$','_doCryptBlock','defineProperty','WorksheetProtectionPointModel','socket\x20open.','fetchThroughInterceptors','[CollaborationEntity]','encrypt','bind','FAIL','_networkConditionService','appendMutation','_socketMessageSubscription','getSnapshotAPIPath','range','LEAVE','cfg','_unitID','size','_doReset','putCollaborators','ICommandService','file','_acknowledgedAwaitingChangeset','list','image/bmp','/object/','_prevBlock','application/json','DependentOn','merge','INGEST','offline','format','toggleOnline','_scheduleCompleteTimestamp','_instanceService','collaboration_new_changeset','patch','LICENSE_EXPORT_SIZE_EXCEEDED','_sendingTimer','clamp','WorkbookEditablePermission','getAllWorkbookPermissionPoint','takeUntil','_sendHeartbeatTimer','add','StreamCipher','HEARTBEAT','toDisposable','OpenSSL','defaultWorksheetPermissionPoint','transformMutationsWithChangeset','_snapshotService','removeMember','deleteCollaborator','mapDocumentTypeToUniverType','override','IUniverInstanceService','_getUploadFileURL','connection\x20error','error$','msCrypto','serializeCombRequest','ConflictState','JSONX','_onConnectionOpen','_collabSessionService','SOCKET_FAILED_RETRY','@univerjs/core','session.join-failed','updatePermissionPoint','slice','getActiveSheet','ENSURE_SNAPSHOT_EXECUTION','resend','onRemoteAck','_changesetReqId','joinRsp','_submitChangeset','getGlobalObject','reconnect','_initMergeInterceptor','[OfflineState]:\x20received\x20acknowledgement.','APPLY_NON_SEQUENTIAL_REVISION','_replaceFileID','_localCacheService','RxDisposable','UniverCollaborationClientPlugin','entityInit$','textRanges','_iv','@univerjs-pro/license','_init','readAsDataURL','replace','/fetchmissing?from=','createCollaborator','baseRev','SHA1','_stopTelemetryCollaborationNewChangeset','onStarting','enableAuthServer','getResourcesRequest','Inject','getTargetByPermissionId','onTransformState','/universer-api/oidc/authpage','_xformMode','SUBMIT_CHANGESET_TIMEOUT','unitInfo$','\x0aCurrent:\x20','_transformRemoteChangesetByStateCache','SEND_CHANGESET_TIMEOUT','isTransformMutationsWithChangesetFailure','getCurrentRevOfUnit','reject','value','Tools','updateMember','waitForRoom$','_userManagerService','blockSize','from','WordArray','ImageSourceType','_getAPIPrefixPath','_key','@univerjs/drawing','key','_fetchMissChangesets','DisposableCollection','onMissedChangesetFetched','CompressMutationService','getCurrentUser','_getSignURL','formatter','interceptor','UniverSheetsPlugin','_clearCollaborationTimeoutTimer','_onMessage','COMMENT_UPDATE','getFocusedUnit','AES','params','FetchingMissState','transformChangesets','loginUrlKey','onlyLocal','_timeoutTimer','unpad','onCommentUpdate','telemetry\x20info\x20is\x20not\x20initialized','INVALID_ARGUMENT','_getSessionTicket','retryConnectingInterval','entries','prototype','encodeURIComponent','signUrlServerUrl','algo','toggleOffline','_roomMembers','_retryConnectingTimer','_roomCreated$','decryptBlock','ISocketService','members','_redoStacks','asObservable','_parse','append','Utf8','not_collab','hasher','[SyncedState]:\x20received\x20acknowledgement.','default','concat','_toggleOnline','getValue','getAllRangePermissionPoint','hostname','symbol','2144682SXbEtW','string','authzUrl','complete','getUnitId','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','BlockCipher','reduce','HEARTBEAT_TIMEOUT','APPLY_PERMISSION_DENIED','call','IAuthzIoService','deepClone','InsertSheetMutation','APPLY_REJECT','addHandlerCallback','_oKey','readyForCollab','APPLY_DUPLICATED','_transformStateCache','onRemoteRetry','b64DecodeUnicode','NOT_COLLAB','_socket$','infoRsp','uniscriptRunEvent','1102318edeGda','_initUnitPermissionChange','unit-cache-','UNKNOWN_CODE','$super','_collaborationSessionService','_clearHeartbeatTimer','joinEvent','apply','updateCollaborator','onSendChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getCtorByUniverType','createSocket','__esModule','LocaleService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ruleRefresh','runId','_createHmacHelper','UnitObject','_exhaustRemoteChangesetQueue','MemberService','onMissingChangesets','getUnitType','clone','awaitingChangeset','UniverNetworkPlugin','USERS_ENTER','Could\x20not\x20dynamically\x20require\x20\x22','ITelemetryService','ThresholdInterceptorFactory','_reverseMap','updateCursorEvent','pipe','_revisionService','_loadSheet','_onFetchMissResult','EvpKDF','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onCombEvent','fromCharCode','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','MD5','kdf','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/universer-api/snapshot','ONLINE','_shouldReportTelemetry','randomUUID','state','_permissionService','liveShareOperation','getRoom','_onRemoteACK','1382YfAWps','_scheduleCollaborationTimeoutTimer','BufferedBlockAlgorithm','crypto','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_hash','UNIVER_SLIDE','toString','originalMeta','LOGIN_URL_KEY','[CollaborationSession]','ILogService','update','members$','_onUserJoin','PSEUDO_FETCH_MISSING_RESULT','sid','CommandType','BlockCipherMode','_transformIMECache','_toggleOffline','init','_removeRoom','incrementRevOfUnit','_createHandler','CONFLICT','SyncedState','charCodeAt','allowed','isInternalEditorID','_replayCachedMutations','Injector','Optional','_config','setConfig','editingUnit','mergeOverrideWithDependencies','SelectRange','localeService','[PendingState]:\x20received\x20rejection.','_injector','_configService','Undefined','getConfig','@univerjs-pro/collaboration','Subject','_onUserLeave','TOO_MANY_REQUESTS','RichTextEditingMutation','mutations','equals','_change$','LIVESHARE_OPERATION','changesets','liveShareNewHost','_initRequestHeader','join','GLOBAL_ROOMS_CNT_EXCEEDS','JOIN_ROOM_PERMISSION_DENIED','_http','_getAPIPrefix','_waitCount','_undoRedoService','UPDATE_CURSOR','getInterceptPoints','OFFLINE','catch','_awaitingChangeset','_executeRemoteChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','shareReplay','IConfigService','SYNCED','onload','INTERNAL_ERROR','CollaborationController','AUTHZ_URL_KEY','_resendTimer','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_listenToNetworkCondition','extend','search','UNAUTHENTICATED','HmacMD5','_rescheduleHeartbeat','revision','PasswordBasedCipher','m2Prime','DataLoaderService','searchParams','FETCH_MISS','title','_clearRedo','_getDownloadEndpointURL','getOwnPropertyDescriptor','ticket','onStateChange','Decryptor','getRandomValues','/new_changes','_createSocket','PERMISSION_REJ','_syncEditingCollabCursor','_queuedRemoteChangesets','loadSheet','close','_schedule','registerDependencies','BASE64','unsubscribe','_transformService','userID','HTTPService','disposeWithMe','_mode','IImageIoService','SheetCollaborationEntity','_isPermissionRej','COMPLETION_FINISHED','min','LIVESHARE_NEW_HOST','YUUMI_UNABLE_LOAD_URL','getCurrentUnitForType','x-univer-host','_localeService','?url=','textEncoder','/resources','BehaviorSubject','setCurrentUser','withCredentials','YUUMI_URL_COL_OUT_OF_RANGE','words','_joinRoom','includes','actions','LICENSE_MAX_UNITS_EXCEEDED','readInt32LE','HttpExport','emitEvent','ALREADY_EXISTS','Base64','random','CollaborativeUndoRedoService','c1Prime','Cipher','_onConflict','_sendHeartbeat','collaborators','_tryEnsureSocket','selections','Pkcs7','pluginName','OPTIONAL','_clearLocalCache','session.room-not-exists','randomBytes','csAckEvent','_state$','_iKey','session.room-full','_handlerCallback','CLOSE_ROOM','\x0aAfter:\x20','_httpService','_eventService','ivSize','LICENSE_IMPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetTransformSelectionsService','max','sessionStatus$','_checkMissing','function','setWaitCount','_substituteUndoStack','JOIN','JOIN_ROOM_FAILED','_sessions','push','LOCAL_CACHE_INTERVAL_KEY','CHANGESET_ACK','_remoteChangesetQueue','OTHER_CLIENTS_EDITING','exports','parseChangesetToProtocol','CHANGESET_SHOULD_RETRY','_doProcessBlock','permissionRejEvent','target','SnapshotServerOverHTTPService','createDecryptor','registerHTTPInterceptor','sessionTicket','ERROR_IMAGE_TYPE','stringify','decrypt','JOIN_ROOM_NOT_EXISTS','saveSnapshot','LIVESHARE_TERMINATE','_telemetryService','clearUndoRedo','_createHelper','_waitForHeartbeatResponse','DEFAULT_FILE_NAME','localCacheService','_memberService','_singleActiveUnitService','mixIn','/-/object/list','createIdentifier','finalize','getTypeOfUnitAdded$','IUndoRedoService','INetworkConditionService','getAllWorksheetPermissionPointByPointPanel','_map','_disableEditing','NO_OTHER_CLIENTS_EDITING','_unlockTransition','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','mode','CollaborationImageIoService','stopTime','focused$','[CollaborationUndoRedoService]','OfflineState','sendChangesetTimeout','listRoles','\x20to\x20','csShouldRetryEvent','Hasher','getImage','json','ISnapshotServerService','Encryptor','[FetchMissState]','_onRemoteRetry','_handler','getMember','_commentUpdate$','WorksheetProtectionRuleModel','eventID','/block/','UNIVER_SHEET','UnitStatus','948695gaGinZ','close$','name','reset','_sender','univer-pro.collaboration-client.network-condition.service','2126244UlNrbO','submit\x20changeset\x20error!','COMPRESS_MUTATION_SEND','DEFAULT_COLLAB_WEB_SOCKET_URL','__Key__','SUBMIT_CHANGESET','_imageSourceCache','POST','Disposable','AuthzIoHttpService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','sin','SEND_CHANGESET_TIMEOUT_KEY','JOIN_ROOM_FULL','every','/universer-api/uniscript','session','SOCKET_FAILED','error','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','next','send','_onLocalMutation','getDeserializedSheetBlock','/collaborator','_unitInfo$','has','UnitSnapshot','lib','SNAPSHOT_SERVER_URL_KEY','_telemetryInfo','saveChangeset','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objectID','avatar','USERS_LEAVE','HTTPRequest','UNIVER_UNKNOWN','delay','roles','MUTATION','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNKNOWN_CMD','executeCommand','_undoStacks','OTHER_CLIENT_EDITING','parse','length','PendingState','_onOffline','workbook','{fileID}','objectType','fromCollab','MergeInterceptorFactory','rxjs','_socketService','isPermissionRej','CollaborationSession','[DataLoaderService]','HMAC','objectActions','create','HELLO','/-/object/-/batch_allowed','_event$','SHOULD_CLOSE_CONN','_registerDependencies','_data','_getRedoStack','HEARTBEAT_TIMEOUT_KEY','_initDependencies','objects','processBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','baseProtectionActions','sigBytes','_collaborationTimeoutTimer','_status$','PERMISSION_DENIED','15265548cHgUbi','commentUpdate$','loadOfflineData','_invKeySchedule','indexOf','CollaborationEntity','NEW_CHANGESETS','_HTTPService','CollaborationUIEventService','event$','src','onTransformRemoteChangesetByStateCache','NOT_FOUND','csRejEvent','[CollaborationSessionService]:\x20socket\x20error','parseProtocolChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationState]:\x20apply\x20error!','onSyncEditingCollabCursor','_hasher','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getTypeOfUnitDisposed$','_doFinalize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','MSG_FOR_ERROR','COLLAB_SUBMIT_CHANGESET_URL','_commentService','getTime','_onRemoteChangeset','@univerjs/telemetry','_entityInit$','onTransformIME','LocalUndoRedoService','SheetsSelectionsService','delete','filter','action','_clearScheduledTask','url','unitId\x20is\x20not\x20found','listCollaborators','DocCollaborationEntity','subscribe','_onConnectionFailed','[SyncedState]:\x20received\x20rejection.','collaMsg','commentUpdateEvent','hasOwnProperty','editing\x20status\x20changed\x20to','_applyRemoteChangeset','isArray','disableLocalCache','compose','_candidateSocket','Quantity','_members','ReplaySubject','_pendingMutations','cmd','_clearTimeoutTimer','type','UNDEFINED','_process','_loadDoc','getSheetBlock','YUUMI_RATE_OVER_LIMIT','SUCCUSS','saveImage','data','LIVESHARE_FETCH_OPERATIONS','repeat','univer-pro.collaboration-client.single-active-unit-service','status','@univerjs/sheets','change$','APPLY_REVISION_CONFILICT','concatMap','_socket','&source=','[OfflineState]:\x20received\x20rejection.','CollaborationEvent','resolve','CONNECTOR_DATA_TOO_LARGE','duration','transformSelections','awaiting_with_pending','_keySchedule','_incrementRevisionNumber','UNISCRIPT_RUN','COMPRESS_MUTATION_APPLY','unknown','loadDoc','onTransformSelections','_changesetSessionId','snapshot','enableSingleActiveInstanceLock','enc','byteLength','dispose$','leaveEvent','SNAPSHOT_URL_KEY','subType','AwaitingWithPendingState','take','COLLAB_WEB_SOCKET_URL_KEY','&assign=','sequenceExecute','body','getLocalCacheKey','onTransformRemoteChangesetByIMECache','_snapshotServerService','?size=','snapshotServerUrl','keySize','getSheetId','encode','/unit/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Latin1','CollaborationStatus','addImageSourceCache','_resendTimeout','HttpImport','_ENC_XFORM_MODE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','set','_type','UPDATE_PERMISSION_OBJ','transformStack\x20failed!','byteOffset','1984416nVrJZg','RETRY_CONNECTING_MAX_COUNT','_logService','unitID','onCommandExecuted','_lockTransition','compute','_transformRemoteChangesetByIMECache','_throwTelemetryCollaborationNewChangeset','collaboration-client.local-cache-service','\x20in\x20_schedule.','_nRounds','_onJoinRoomEvent','_getCurrentRevision','ImageUploadStatusType','_transitionLocked','sessionStatus','MentionIoHttpService','[PendingState]:\x20received\x20acknowledgement.','_sessionStatus$','href','onRemoteChangeset','onRemoteRej','synced','/universer-api/stream/file/upload','RECV','CollaborationSocketService','forEach','ERROR_IMAGE','UNRECOGNIZED','_cipher','RevisionService','values','&to=','charAt','CollaborationSessionService','pending','Workbook','abs','firstValueFrom','LOCAL_CACHE_INTERVAL','subject','put','memberID','fetchMissingChangesets','loadUnit','CollaborationUIEventId','floor','SnapshotService','Base','pauseCollaboration','getMemberID','ERROR_EXCEED_SIZE','getWorkbookSelections','_transformStack','_getSendChangesetTimeout','getImageSourceCache','_authzIoService','HmacSHA1','_decreaseWaiting','UNIVER_PROJECT','requestParams','toStringTag','MentionType','CBC','_socketReady','get','status$','IDLE','Malformed\x20UTF-8\x20data','image/gif','now','ITransformService','getCurrentSelections','image/png','_minBufferSize','_append','online$','refreshPermission','then','post','_transformUndoredo','isTransformMutationsWithChangesetSuccess','getAllMembers','_state','_createInitialState','location','salt','image/jpeg','_getUndoStack','/universer-api/authz','/universer-api/user/session-ticket','failed\x20to\x20apply\x20missed\x20changesets!','collaboratorID','_tryReconnect','_updateLocalCache','16wxICgq','rev','code','unitId','SNAPSHOT_HAS_BEEN_REMOVED','COLLAB_WEB_SOCKET_URL','RETRY_CONNECTING_MAX_COUNT_KEY','_collaborationUIEventService','_transformSelections','UserManagerService','map','state$','_commandService','AwaitingState','SetSelectionsOperation','findIndex','reqId','65rDbPhi','sheets','_emitMembers','socketService','_startCollaboration','getUnitOnRev','requireSession','_startTelemetryCollaborationNewChangeset','transformUndoRedo','/universer-api/comb','LICENSE_DISTRO_REJECTED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','fetchMiss','_updateStatus','_entities','pad','/allowed'];_0x41e3=function(){return _0x4aa0ef;};return _0x41e3();}var Ii=Object[_0x5e99b1(0x4cc)],Ei=Object[_0x5e99b1(0x2a0)],Ci=(_0xa9887f,_0x1444bc,_0x4c690f,_0x3f7137)=>{var _0x12f013=_0x5e99b1;for(var _0x36cf4e=_0x3f7137>0x1?void 0x0:_0x3f7137?Ei(_0x1444bc,_0x4c690f):_0x1444bc,_0xf4a73b=_0xa9887f[_0x12f013(0x36d)]-0x1,_0x293052;_0xf4a73b>=0x0;_0xf4a73b--)(_0x293052=_0xa9887f[_0xf4a73b])&&(_0x36cf4e=(_0x3f7137?_0x293052(_0x1444bc,_0x4c690f,_0x36cf4e):_0x293052(_0x36cf4e))||_0x36cf4e);return _0x3f7137&&_0x36cf4e&&Ii(_0x1444bc,_0x4c690f,_0x36cf4e),_0x36cf4e;},De=(_0x4aba80,_0x40d107)=>(_0x4633e0,_0x34fadb)=>_0x40d107(_0x4633e0,_0x34fadb,_0x4aba80);function Ti(_0x41945e){var _0x8e0a59=_0x5e99b1;const {unitID:_0x3c46d4,mutations:_0x1ffcbb}=_0x41945e;return{'unitId':_0x3c46d4,'subUnitId':_0x1ffcbb[0x0][_0x8e0a59(0x1ca)]['subUnitId']};}exports[_0x5e99b1(0x2eb)]=class{constructor(_0x27e94a,_0x122483,_0x1df977){var _0x355554=_0x5e99b1;this[_0x355554(0x26a)]=_0x27e94a,this[_0x355554(0x2b0)]=_0x122483,this[_0x355554(0x4ee)]=_0x1df977;}[_0x5e99b1(0x3e2)](_0x4330f2){var _0x10496d=_0x5e99b1,_0x1487b7,_0x37d260,_0x5c9e81,_0x45a9a8;const _0xf7b789=this[_0x10496d(0x26a)][_0x10496d(0x452)](W[_0x10496d(0x3af)]),{unitId:_0x45072e,subUnitId:_0x277391}=Ti(_0x4330f2),_0x58cdc7=_0xf7b789==null?void 0x0:_0xf7b789[_0x10496d(0x445)](_0x45072e)[_0x10496d(0x459)](),_0x463ddb=(_0x37d260=(_0x1487b7=this[_0x10496d(0x4ee)]['getUnit'](_0x45072e))==null?void 0x0:_0x1487b7[_0x10496d(0x183)]())==null?void 0x0:_0x37d260[_0x10496d(0x400)]();if(_0x58cdc7[_0x10496d(0x36d)]===0x0||!_0x45072e||!_0x277391)return;const _0x177ddd=[{'id':W[_0x10496d(0x47e)]['id'],'params':{'unitId':_0x45072e,'subUnitId':_0x463ddb,'selections':a[_0x10496d(0x1b0)][_0x10496d(0x1fd)](_0x58cdc7)}}],_0x2d26da=this[_0x10496d(0x2b0)]['transformMutationsWithChangeset'](_0x4330f2,_0x177ddd);if(!m[_0x10496d(0x462)](_0x2d26da))throw _0x2d26da['error'];const _0x475a00=(_0x45a9a8=(_0x5c9e81=_0x2d26da[_0x10496d(0x299)][0x0])==null?void 0x0:_0x5c9e81[_0x10496d(0x1ca)])==null?void 0x0:_0x45a9a8[_0x10496d(0x2d8)];if(Array[_0x10496d(0x3c0)](_0x475a00)&&_0x475a00['length']){if(_0x475a00[_0x10496d(0x36d)]===_0x177ddd[0x0][_0x10496d(0x1ca)][_0x10496d(0x2d8)][_0x10496d(0x36d)]&&_0x475a00['every']((_0x5f157f,_0x19a95f)=>a[_0x10496d(0x493)][_0x10496d(0x274)](_0x5f157f[_0x10496d(0x4d8)],_0x177ddd[0x0][_0x10496d(0x1ca)][_0x10496d(0x2d8)][_0x19a95f][_0x10496d(0x4d8)])))return;this[_0x10496d(0x26a)][_0x10496d(0x452)](a[_0x10496d(0x4df)])[_0x10496d(0x369)](W['SetSelectionsOperation']['id'],{'unitId':_0x45072e,'subUnitId':_0x463ddb,'selections':_0x475a00});}}},exports[_0x5e99b1(0x2eb)]=Ci([De(0x0,a['Inject'](a['Injector'])),De(0x1,m[_0x5e99b1(0x458)]),De(0x2,a['IUniverInstanceService'])],exports[_0x5e99b1(0x2eb)]);const ve=a[_0x5e99b1(0x314)](_0x5e99b1(0x3d5));var Fe=(_0x479d7e=>(_0x479d7e[_0x479d7e[_0x5e99b1(0x31c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x479d7e[_0x479d7e[_0x5e99b1(0x2f9)]=0x1]=_0x5e99b1(0x2f9),_0x479d7e))(Fe||{});const bi=new Set([W[_0x5e99b1(0x1fe)]['id']]);function Je(_0x39339d,_0xb34e42,_0x1f4a23,_0x20fed6,_0x5002b1){var _0x5e547d=_0x5e99b1,_0x597dac,_0x3def5c,_0x48cd36,_0x54a0b7;const _0x2b02ab=[];for(const _0x7c4e8a of _0x39339d)if(bi[_0x5e547d(0x358)](_0x7c4e8a['id'])){if(_0x2b02ab['length']>0x0)break;_0x2b02ab['push'](_0x7c4e8a);break;}else _0x2b02ab[_0x5e547d(0x2f5)](_0x7c4e8a);const _0x2bfe1a=(_0x3def5c=(_0x597dac=_0x5002b1[_0x5e547d(0x1c0)]())==null?void 0x0:_0x597dac[_0x5e547d(0x2b1)])!=null?_0x3def5c:_0x5e547d(0x3e8),_0x5938db=(_0x54a0b7=(_0x48cd36=_0x5002b1[_0x5e547d(0x1c0)]())==null?void 0x0:_0x48cd36['memberID'])!=null?_0x54a0b7:_0x5e547d(0x3e8);return{'changeset':{'unitID':_0xb34e42,'type':m[_0x5e547d(0x172)](_0x1f4a23[_0x5e547d(0x223)](_0xb34e42)),'baseRev':_0x20fed6[_0x5e547d(0x1ad)](_0xb34e42),'revision':0x0,'userID':_0x2bfe1a,'memberID':_0x5938db,'mutations':_0x2b02ab},'pendingMutations':_0x39339d[_0x5e547d(0x182)](_0x2b02ab[_0x5e547d(0x36d)])};}function Ri(_0x48b6a5,_0x6ef0dc,_0xe6c56e,_0x3f0142,_0x4b54b8){var _0x2426a5=_0x5e99b1,_0x588df2,_0x2e3beb,_0x3aa5fd,_0x6f2dfb;const _0x4cd468=[_0x48b6a5[_0x2426a5(0x1f8)]((_0x5f42f9,_0x3b6f22)=>{var _0x383a73=_0x2426a5,_0x38f4a3;const {id:_0x32f58a}=_0x5f42f9,{id:_0x2753f6,type:_0x1cc1f3}=_0x3b6f22,_0x157c45=(_0x38f4a3=_0x5f42f9[_0x383a73(0x1ca)])!=null?_0x38f4a3:{'actions':null},_0x462afa=_0x3b6f22[_0x383a73(0x1ca)];if(_0x32f58a&&_0x32f58a!==_0x2753f6)throw new Error(_0x383a73(0x3a5)+_0x32f58a+'\x20-\x20'+_0x2753f6+'.');return{..._0x5f42f9,'id':_0x2753f6,'type':_0x1cc1f3,'params':{'unitId':_0x462afa[_0x383a73(0x473)],'textRanges':_0x462afa[_0x383a73(0x194)],'actions':a[_0x383a73(0x17b)][_0x383a73(0x3c2)](_0x157c45[_0x383a73(0x2c9)],_0x462afa[_0x383a73(0x2c9)])}};},{})],_0x409bd1=(_0x2e3beb=(_0x588df2=_0x4b54b8[_0x2426a5(0x1c0)]())==null?void 0x0:_0x588df2['userID'])!=null?_0x2e3beb:_0x2426a5(0x3e8),_0x576937=(_0x6f2dfb=(_0x3aa5fd=_0x4b54b8['getCurrentUser']())==null?void 0x0:_0x3aa5fd[_0x2426a5(0x43b)])!=null?_0x6f2dfb:_0x2426a5(0x3e8);return{'changeset':{'unitID':_0x6ef0dc,'type':m[_0x2426a5(0x172)](_0xe6c56e['getUnitType'](_0x6ef0dc)),'baseRev':_0x3f0142['getCurrentRevOfUnit'](_0x6ef0dc),'revision':0x0,'userID':_0x409bd1,'memberID':_0x576937,'mutations':_0x4cd468},'pendingMutations':[]};}function Pt(_0x424941,_0x1636e7){var _0x143423=_0x5e99b1;const _0x3e010a=new H[(_0x143423(0x3c6))](0x1);return setTimeout(()=>_0x3e010a[_0x143423(0x352)](_0x1636e7),_0x424941),_0x3e010a[_0x143423(0x1e3)]()['pipe'](H[_0x143423(0x3f5)](0x1));}const Oi={'id':W['EmptyMutation']['id'],'type':a[_0x5e99b1(0x253)][_0x5e99b1(0x366)],'params':{}};var yi=Object[_0x5e99b1(0x4cc)],Pi=Object[_0x5e99b1(0x2a0)],le=(_0x5b228f,_0x35aa9,_0x3d1e3f,_0x2e706e)=>{var _0x2ce7f1=_0x5e99b1;for(var _0x211da9=_0x2e706e>0x1?void 0x0:_0x2e706e?Pi(_0x35aa9,_0x3d1e3f):_0x35aa9,_0x8e3a4a=_0x5b228f[_0x2ce7f1(0x36d)]-0x1,_0x485f2c;_0x8e3a4a>=0x0;_0x8e3a4a--)(_0x485f2c=_0x5b228f[_0x8e3a4a])&&(_0x211da9=(_0x2e706e?_0x485f2c(_0x35aa9,_0x3d1e3f,_0x211da9):_0x485f2c(_0x211da9))||_0x211da9);return _0x2e706e&&_0x211da9&&yi(_0x35aa9,_0x3d1e3f,_0x211da9),_0x211da9;},A=(_0x4fa9be,_0x56a0ca)=>(_0x2daa9a,_0x170c23)=>_0x56a0ca(_0x2daa9a,_0x170c23,_0x4fa9be),We=(_0x42e5b1=>(_0x42e5b1[_0x5e99b1(0x207)]=_0x5e99b1(0x1e7),_0x42e5b1[_0x5e99b1(0x28a)]=_0x5e99b1(0x427),_0x42e5b1['PENDING']='pending',_0x42e5b1[_0x5e99b1(0x4a1)]='awaiting',_0x42e5b1['AWAITING_WITH_PENDING']=_0x5e99b1(0x3e3),_0x42e5b1[_0x5e99b1(0x29c)]='fetch_missing',_0x42e5b1[_0x5e99b1(0x25b)]=_0x5e99b1(0x4b9),_0x42e5b1[_0x5e99b1(0x283)]=_0x5e99b1(0x4ea),_0x42e5b1))(We||{});const Nt=0xea60;class _e{constructor(_0x3e62e,_0x10c252,_0x57eece,_0x1374c2,_0x40027e,_0x14b115,_0x1788d5,_0x1b85b1,_0x166e20){var _0x3c29c6=_0x5e99b1;D(this,_0x3c29c6(0x285),null),D(this,_0x3c29c6(0x3c7),[]),(this[_0x3c29c6(0x413)]=_0x3e62e,this[_0x3c29c6(0x3ca)]=_0x10c252,this['_handler']=_0x40027e,this[_0x3c29c6(0x47c)]=_0x14b115,this[_0x3c29c6(0x280)]=_0x1788d5,this[_0x3c29c6(0x22e)]=_0x1b85b1,this[_0x3c29c6(0x190)]=_0x166e20,this['_awaitingChangeset']=_0x57eece,this[_0x3c29c6(0x3c7)]=_0x1374c2);}['_checkMissing'](_0x4238d7){var _0x113781=_0x5e99b1;const _0x2ad6ac=this['_revisionService'][_0x113781(0x1ad)](this[_0x113781(0x413)]);return _0x4238d7['revision']>_0x2ad6ac+0x1?(this[_0x113781(0x330)][_0x113781(0x222)]({'from':_0x2ad6ac,'to':_0x4238d7[_0x113781(0x297)]-0x1}),!0x0):!0x1;}[_0x5e99b1(0x461)](_0x3531ce){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x3531ce);}[_0x5e99b1(0x478)](_0x5eec23){var _0x159473=_0x5e99b1,_0xd94561,_0x2e4aa0;(_0x2e4aa0=(_0xd94561=this[_0x159473(0x330)])['onTransformSelections'])==null||_0x2e4aa0[_0x159473(0x1fb)](_0xd94561,_0x5eec23);}[_0x5e99b1(0x255)](_0x596e24){var _0x1a4951=_0x5e99b1,_0x198e3d,_0xe09db5;return(_0xe09db5=(_0x198e3d=this['_handler'])[_0x1a4951(0x3ad)])==null?void 0x0:_0xe09db5[_0x1a4951(0x1fb)](_0x198e3d,_0x596e24);}[_0x5e99b1(0x204)](_0x49f111){var _0xae4d91=_0x5e99b1,_0x190b3f,_0x72bb44;return(_0x72bb44=(_0x190b3f=this['_handler'])[_0xae4d91(0x1a4)])==null?void 0x0:_0x72bb44['call'](_0x190b3f,_0x49f111);}['_transformRemoteChangesetByIMECache'](_0x56ec0e){var _0xd334f9=_0x5e99b1,_0x33af23,_0x2ebd4b,_0x5d4811;return(_0x5d4811=(_0x2ebd4b=(_0x33af23=this[_0xd334f9(0x330)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2ebd4b[_0xd334f9(0x1fb)](_0x33af23,_0x56ec0e))!=null?_0x5d4811:_0x56ec0e;}[_0x5e99b1(0x1aa)](_0x23c7c4){var _0x423861=_0x5e99b1,_0x380553,_0xd4c4c4,_0x524f8b;return(_0x524f8b=(_0xd4c4c4=(_0x380553=this[_0x423861(0x330)])[_0x423861(0x399)])==null?void 0x0:_0xd4c4c4['call'](_0x380553,_0x23c7c4))!=null?_0x524f8b:_0x23c7c4;}[_0x5e99b1(0x2a8)](_0x23b1ea){var _0xfb6c9d=_0x5e99b1,_0x5781b1,_0x21f099;if(this[_0xfb6c9d(0x3ca)]===Z[_0xfb6c9d(0x497)]){const {unitID:_0x1fbbe8,mutations:_0x816dd7,memberID:_0x3e52fa}=_0x23b1ea,_0x216fc2=_0x816dd7[0x0][_0xfb6c9d(0x1ca)]['textRanges'];Array[_0xfb6c9d(0x3c0)](_0x216fc2)&&_0x216fc2['length']>0x0&&((_0x21f099=(_0x5781b1=this['_handler'])[_0xfb6c9d(0x3a0)])==null||_0x21f099[_0xfb6c9d(0x1fb)](_0x5781b1,{'unitID':_0x1fbbe8,'memberID':_0x3e52fa,'textRanges':_0x216fc2}));}}[_0x5e99b1(0x46f)](){var _0x2763f2=_0x5e99b1,_0x18bfc6;(_0x18bfc6=this[_0x2763f2(0x190)])==null||_0x18bfc6['updateOfflineData'](this[_0x2763f2(0x413)],this[_0x2763f2(0x3ca)],this[_0x2763f2(0x285)],this[_0x2763f2(0x3c7)]);}[_0x5e99b1(0x41d)](){var _0x2e6773=_0x5e99b1;return this[_0x2e6773(0x22e)][_0x2e6773(0x1ad)](this['unitID']);}[_0x5e99b1(0x3e5)](){var _0x34521f=_0x5e99b1;this[_0x34521f(0x22e)][_0x34521f(0x259)](this[_0x34521f(0x413)]);}[_0x5e99b1(0x286)](_0x5bd0e2){var _0x1fba6b=_0x5e99b1,_0x393fa4;let _0x1f1c49=this[_0x1fba6b(0x417)](_0x5bd0e2);_0x1f1c49=this['_transformRemoteChangesetByStateCache'](_0x1f1c49);const _0x33d983=a[_0x1fba6b(0x3f8)](_0x1f1c49[_0x1fba6b(0x273)],this[_0x1fba6b(0x47c)],{'fromCollab':!0x0});if(!_0x33d983[_0x1fba6b(0x4a0)])throw _0x33d983[_0x1fba6b(0x350)]instanceof Error?_0x33d983['error']:new Error((_0x393fa4=_0x33d983['error'])!=null?_0x393fa4:_0x1fba6b(0x39f));this['_transformIMECache'](_0x1f1c49),this['_transformStateCache'](_0x1f1c49),this[_0x1fba6b(0x461)](_0x5bd0e2),this['_transformSelections'](_0x1f1c49),this[_0x1fba6b(0x2a8)](_0x1f1c49),this[_0x1fba6b(0x3e5)]();}}exports[_0x5e99b1(0x25c)]=class extends _e{constructor(_0x265d0d,_0x353f28,_0x22da6d,_0x1c6f36,_0x12ed16,_0x30a2f9,_0x4f24bb,_0x26fac8,_0x391bc4,_0x4367cc){var _0x11b9d2=_0x5e99b1;super(_0x265d0d,_0x353f28,null,[],_0x22da6d,_0x4f24bb,_0x30a2f9,_0x1c6f36,_0x4367cc),D(this,_0x11b9d2(0x3d6),_0x11b9d2(0x427)),(this[_0x11b9d2(0x26a)]=_0x12ed16,this[_0x11b9d2(0x412)]=_0x26fac8,this[_0x11b9d2(0x2b0)]=_0x391bc4,this[_0x11b9d2(0x30f)]=_0x4367cc);}[_0x5e99b1(0x4d5)](_0x54f968){var _0x2e7cf9=_0x5e99b1;const _0x1b1ee5=this[_0x2e7cf9(0x26a)]['createInstance'](exports[_0x2e7cf9(0x36e)],this[_0x2e7cf9(0x413)],this[_0x2e7cf9(0x3ca)],[_0x54f968],this[_0x2e7cf9(0x330)]);return _0x1b1ee5['_schedule'](),_0x1b1ee5[_0x2e7cf9(0x46f)](),_0x1b1ee5;}[_0x5e99b1(0x425)](_0x5b25d9){var _0x58d793=_0x5e99b1;if(this[_0x58d793(0x2ee)](_0x5b25d9))return this[_0x58d793(0x26a)][_0x58d793(0x4bf)](exports[_0x58d793(0x1cb)],this[_0x58d793(0x413)],this[_0x58d793(0x3ca)],null,[],null,[_0x5b25d9],this['_handler']);try{const _0x1190a0=this[_0x58d793(0x2b0)][_0x58d793(0x16e)](_0x5b25d9,[Oi]);if(m[_0x58d793(0x462)](_0x1190a0)){const {c1Prime:_0x4ee951}=_0x1190a0;return this[_0x58d793(0x286)](_0x4ee951),this;}throw _0x1190a0[_0x58d793(0x350)];}catch(_0x5267ed){return this[_0x58d793(0x412)][_0x58d793(0x350)](_0x5267ed),this['_onConflict'](!0x1);}}['_onConflict'](_0xb63aa1){var _0x4e88cb=_0x5e99b1;return this[_0x4e88cb(0x26a)][_0x4e88cb(0x4bf)](exports[_0x4e88cb(0x17a)],this[_0x4e88cb(0x413)],this['type'],null,[],this['_handler'],_0xb63aa1);}[_0x5e99b1(0x186)](){var _0x3890d7=_0x5e99b1;throw new Error(_0x3890d7(0x1e9));}[_0x5e99b1(0x426)](){var _0x28b1e8=_0x5e99b1;throw new Error(_0x28b1e8(0x3ba));}[_0x5e99b1(0x205)](){return this;}[_0x5e99b1(0x1db)](){var _0x388624=_0x5e99b1;return this[_0x388624(0x26a)][_0x388624(0x4bf)](exports[_0x388624(0x324)],this[_0x388624(0x413)],this['type'],null,[],this[_0x388624(0x330)]);}['toggleOnline'](){return this;}[_0x5e99b1(0x185)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e99b1(0x48d)](){var _0x18f86d=_0x5e99b1;const _0xcc894c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x18f86d(0x413)]);return this[_0x18f86d(0x330)][_0x18f86d(0x222)]({'from':_0xcc894c,'to':0x0}),this[_0x18f86d(0x26a)][_0x18f86d(0x4bf)](exports['FetchingMissState'],this[_0x18f86d(0x413)],this[_0x18f86d(0x3ca)],null,[],null,[],this[_0x18f86d(0x330)]);}},exports[_0x5e99b1(0x25c)]=le([A(0x3,a[_0x5e99b1(0x1a2)](m['RevisionService'])),A(0x4,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),A(0x5,a[_0x5e99b1(0x317)]),A(0x6,a[_0x5e99b1(0x4df)]),A(0x7,a[_0x5e99b1(0x24d)]),A(0x8,m[_0x5e99b1(0x458)]),A(0x9,a['Optional'](J))],exports[_0x5e99b1(0x25c)]),exports['PendingState']=class extends _e{constructor(_0x59704f,_0x5b5dcc,_0x12d9fb,_0x3b8425,_0x3e900a,_0x2d0a9f,_0x44f9c3,_0x20ae69,_0x2444ec,_0x39c7f8,_0x469a0a,_0x13b215,_0x450a5d,_0x42ee68){var _0x3cee89=_0x5e99b1;super(_0x59704f,_0x5b5dcc,null,_0x12d9fb,_0x3b8425,_0x2444ec,_0x450a5d,_0x2d0a9f,_0x42ee68),D(this,_0x3cee89(0x3d6),_0x3cee89(0x434)),D(this,_0x3cee89(0x4ed),null),D(this,'_sendingTimer',null),(this[_0x3cee89(0x26a)]=_0x3e900a,this[_0x3cee89(0x310)]=_0x44f9c3,this['_logService']=_0x20ae69,this[_0x3cee89(0x26b)]=_0x39c7f8,this[_0x3cee89(0x2b0)]=_0x469a0a,this[_0x3cee89(0x49d)]=_0x13b215);}[_0x5e99b1(0x4d5)](_0x2bd9f0){var _0x597e2c=_0x5e99b1;return this[_0x597e2c(0x3c7)][_0x597e2c(0x2f5)](_0x2bd9f0),this[_0x597e2c(0x46f)](),this;}['onRemoteChangeset'](_0x1d3e77){var _0x92be5=_0x5e99b1;if(this[_0x92be5(0x2ee)](_0x1d3e77))return this[_0x92be5(0x3b3)](),this[_0x92be5(0x26a)]['createInstance'](exports['FetchingMissState'],this[_0x92be5(0x413)],this[_0x92be5(0x3ca)],null,this[_0x92be5(0x3c7)],null,[_0x1d3e77],this[_0x92be5(0x330)]);try{const _0x31dd86=this[_0x92be5(0x2b0)][_0x92be5(0x16e)](_0x1d3e77,this['_pendingMutations']);if(m[_0x92be5(0x462)](_0x31dd86)){const {c1Prime:_0x35472a,m2Prime:_0x3e2ef6}=_0x31dd86;this['_executeRemoteChangeset'](_0x35472a);const _0x2c57c7=this[_0x92be5(0x26a)]['createInstance'](exports[_0x92be5(0x36e)],this['unitID'],this[_0x92be5(0x3ca)],_0x3e2ef6,this[_0x92be5(0x330)]);this[_0x92be5(0x3b3)]();const _0xc3e2fe=new Date()[_0x92be5(0x3a9)](),_0x44bd0c=this['_scheduleCompleteTimestamp']?Math[_0x92be5(0x2ec)](this[_0x92be5(0x4ed)]-_0xc3e2fe,0x0):this[_0x92be5(0x447)]();return _0x2c57c7[_0x92be5(0x2ac)](_0x44bd0c),_0x2c57c7;}throw _0x31dd86[_0x92be5(0x350)];}catch(_0x56bdd5){return this[_0x92be5(0x412)][_0x92be5(0x350)](_0x56bdd5),this[_0x92be5(0x2d4)](!0x1);}}[_0x5e99b1(0x186)](){var _0x974a44=_0x5e99b1;throw new Error(_0x974a44(0x422));}[_0x5e99b1(0x426)](){var _0x57920f=_0x5e99b1;throw new Error(_0x57920f(0x269));}['onRemoteRetry'](){return this;}[_0x5e99b1(0x1db)](){var _0x2c22ea=_0x5e99b1;return this[_0x2c22ea(0x3b3)](),this[_0x2c22ea(0x26a)][_0x2c22ea(0x4bf)](exports[_0x2c22ea(0x324)],this[_0x2c22ea(0x413)],this[_0x2c22ea(0x3ca)],null,this['_pendingMutations'],this[_0x2c22ea(0x330)]);}[_0x5e99b1(0x4ec)](){return this;}['_schedule'](_0x27a080){var _0x1f9b78=_0x5e99b1;const _0x8ccfe6=_0x27a080!=null?_0x27a080:this[_0x1f9b78(0x447)]();this[_0x1f9b78(0x4ed)]=new Date()[_0x1f9b78(0x3a9)]()+_0x8ccfe6,this['_sendingTimer']=setTimeout(()=>{var _0xc21d19=_0x1f9b78;this['_clearScheduledTask']();let _0x2e50a8=null;switch(this[_0xc21d19(0x3ca)]){case Z[_0xc21d19(0x336)]:{_0x2e50a8=Je(this[_0xc21d19(0x3c7)],this[_0xc21d19(0x413)],this[_0xc21d19(0x49d)],this['_revisionService'],this['_memberService']);break;}case Z[_0xc21d19(0x497)]:{this[_0xc21d19(0x3c7)][_0xc21d19(0x34c)](_0x33f45a=>_0x33f45a['id']===dt[_0xc21d19(0x272)]['id'])?_0x2e50a8=Ri(this[_0xc21d19(0x3c7)],this['unitID'],this[_0xc21d19(0x49d)],this[_0xc21d19(0x22e)],this[_0xc21d19(0x310)]):_0x2e50a8=Je(this[_0xc21d19(0x3c7)],this[_0xc21d19(0x413)],this[_0xc21d19(0x49d)],this[_0xc21d19(0x22e)],this[_0xc21d19(0x310)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xc21d19(0x3ca)]+_0xc21d19(0x41a));}const {changeset:_0x300c14,pendingMutations:_0x28709f}=_0x2e50a8;this['_handler']['onSendChangeset'](_0x300c14);const _0x6111e9=_0x28709f[_0xc21d19(0x36d)]?this['_injector']['createInstance'](exports[_0xc21d19(0x3f4)],this[_0xc21d19(0x413)],this['type'],_0x300c14,_0x28709f,this[_0xc21d19(0x330)],void 0x0):this[_0xc21d19(0x26a)][_0xc21d19(0x4bf)](exports[_0xc21d19(0x47d)],this[_0xc21d19(0x413)],this[_0xc21d19(0x3ca)],_0x300c14,this[_0xc21d19(0x330)]);_0x6111e9[_0xc21d19(0x46f)](),this[_0xc21d19(0x330)][_0xc21d19(0x2a2)](this,_0x6111e9);},_0x8ccfe6);}[_0x5e99b1(0x447)](){var _0xc0ea3e=_0x5e99b1,_0x3c638a;const _0x278012=this[_0xc0ea3e(0x26b)][_0xc0ea3e(0x26d)](q);return(_0x3c638a=_0x278012==null?void 0x0:_0x278012[_0xc0ea3e(0x325)])!=null?_0x3c638a:Bt;}[_0x5e99b1(0x185)](){var _0x139ea=_0x5e99b1;throw new Error(_0x139ea(0x351));}[_0x5e99b1(0x3b3)](){var _0x49c94e=_0x5e99b1;this[_0x49c94e(0x4f2)]!=null&&(clearTimeout(this[_0x49c94e(0x4f2)]),this['_sendingTimer']=null);}[_0x5e99b1(0x2d4)](_0x59c1e2){var _0x5c9335=_0x5e99b1;return this[_0x5c9335(0x3b3)](),this[_0x5c9335(0x26a)][_0x5c9335(0x4bf)](exports[_0x5c9335(0x17a)],this[_0x5c9335(0x413)],this[_0x5c9335(0x3ca)],null,this[_0x5c9335(0x3c7)],this['_handler'],_0x59c1e2);}},exports[_0x5e99b1(0x36e)]=le([A(0x4,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),A(0x5,a[_0x5e99b1(0x1a2)](m['RevisionService'])),A(0x6,a['Inject'](exports[_0x5e99b1(0x221)])),A(0x7,a['ILogService']),A(0x8,a[_0x5e99b1(0x4df)]),A(0x9,a[_0x5e99b1(0x289)]),A(0xa,m[_0x5e99b1(0x458)]),A(0xb,a[_0x5e99b1(0x174)]),A(0xc,a[_0x5e99b1(0x317)]),A(0xd,a[_0x5e99b1(0x262)](J))],exports[_0x5e99b1(0x36e)]),exports[_0x5e99b1(0x47d)]=class extends _e{constructor(_0x1f985f,_0x535703,_0x58d4b5,_0x324612,_0x59e71f,_0x4d2b25,_0x3607b6,_0x12b3f6,_0x29f052,_0x165c3f,_0x24e487){var _0x33fc39=_0x5e99b1;super(_0x1f985f,_0x535703,_0x58d4b5,[],_0x324612,_0x3607b6,_0x165c3f,_0x4d2b25,_0x24e487),D(this,'status','awaiting'),D(this,_0x33fc39(0x407),0x0),D(this,_0x33fc39(0x28f)),D(this,'_sender'),(this['_injector']=_0x59e71f,this[_0x33fc39(0x412)]=_0x12b3f6,this['_transformService']=_0x29f052);}[_0x5e99b1(0x4d5)](_0x442f1f){var _0x2e4683=_0x5e99b1;this['_clearScheduledTask']();const _0x122208=this[_0x2e4683(0x26a)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x2e4683(0x413)],this[_0x2e4683(0x3ca)],this[_0x2e4683(0x285)],[_0x442f1f],this['_handler'],this[_0x2e4683(0x28f)]);return _0x122208[_0x2e4683(0x46f)](),_0x122208;}['onRemoteChangeset'](_0x1d01d8){var _0x30fb10=_0x5e99b1;if(this['_checkMissing'](_0x1d01d8))return this['_clearScheduledTask'](),this[_0x30fb10(0x26a)][_0x30fb10(0x4bf)](exports[_0x30fb10(0x1cb)],this[_0x30fb10(0x413)],this[_0x30fb10(0x3ca)],this[_0x30fb10(0x285)],[],null,[_0x1d01d8],this[_0x30fb10(0x330)]);try{const _0x1c0d94=this[_0x30fb10(0x2b0)][_0x30fb10(0x1cc)]([_0x1d01d8],[this[_0x30fb10(0x285)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x1c0d94)){const {c1Prime:_0x40b568,c2Prime:_0x4f1c0b}=_0x1c0d94;this[_0x30fb10(0x286)](_0x40b568[0x0]),_0x4f1c0b[0x0]['baseRev']=this[_0x30fb10(0x41d)](),this[_0x30fb10(0x3b3)]();const _0x541667=this[_0x30fb10(0x26a)]['createInstance'](exports[_0x30fb10(0x47d)],this['unitID'],this['type'],_0x4f1c0b[0x0],this[_0x30fb10(0x330)]);return _0x541667[_0x30fb10(0x46f)](),_0x541667;}return this['_onConflict'](!0x1);}catch(_0x3e3146){return this['_logService'][_0x30fb10(0x350)](_0x3e3146),this['_onConflict'](!0x1);}}[_0x5e99b1(0x186)](_0x52d9c9){var _0x59c854=_0x5e99b1;this[_0x59c854(0x3b3)]();const _0x329676=this['_revisionService'][_0x59c854(0x1ad)](this[_0x59c854(0x413)]);if(_0x52d9c9[_0x59c854(0x297)]<_0x329676-0x1)return this;if(this[_0x59c854(0x2ee)](_0x52d9c9))return this[_0x59c854(0x26a)][_0x59c854(0x4bf)](exports['FetchingMissState'],this['unitID'],this[_0x59c854(0x3ca)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x59c854(0x3e5)]();const _0x155a67=this[_0x59c854(0x26a)][_0x59c854(0x4bf)](exports[_0x59c854(0x25c)],this[_0x59c854(0x413)],this['type'],this[_0x59c854(0x330)]);return _0x155a67[_0x59c854(0x46f)](),_0x155a67;}['onRemoteRej'](_0x501743){var _0x33bd9d=_0x5e99b1;return this[_0x33bd9d(0x2d4)](!!(_0x501743!=null&&_0x501743[_0x33bd9d(0x377)]));}[_0x5e99b1(0x205)](_0x22e7c1){var _0x5ef80d=_0x5e99b1;return this[_0x5ef80d(0x407)]>Nt?this[_0x5ef80d(0x1db)]():(this[_0x5ef80d(0x28f)]=Pt(this[_0x5ef80d(0x407)],{'timeout':this[_0x5ef80d(0x407)],'reqId':_0x22e7c1['reqId']}),this[_0x5ef80d(0x33c)]=this[_0x5ef80d(0x28f)][_0x5ef80d(0x3b8)](({reqId:_0xffa130,timeout:_0xf708b4})=>{this['_resendWithTimeout'](_0xffa130,_0xf708b4);}),this);}[_0x5e99b1(0x1db)](){var _0x327d72=_0x5e99b1;return this[_0x327d72(0x3b3)](),this[_0x327d72(0x26a)][_0x327d72(0x4bf)](exports['OfflineState'],this[_0x327d72(0x413)],this[_0x327d72(0x3ca)],this[_0x327d72(0x285)],[],this[_0x327d72(0x330)]);}[_0x5e99b1(0x4ec)](){return this;}['resend'](){var _0x3c1199=_0x5e99b1;this['_handler']['onSendChangeset'](this[_0x3c1199(0x285)]);}[_0x5e99b1(0x2d4)](_0x17aaa5){var _0x45d475=_0x5e99b1;return this[_0x45d475(0x3b3)](),this[_0x45d475(0x26a)][_0x45d475(0x4bf)](exports[_0x45d475(0x17a)],this[_0x45d475(0x413)],this[_0x45d475(0x3ca)],this[_0x45d475(0x285)],[],this['_handler'],_0x17aaa5);}[_0x5e99b1(0x4c4)](_0x15050d,_0x1dbe6e){var _0x562fb2=_0x5e99b1,_0x57044e;_0x15050d===((_0x57044e=this[_0x562fb2(0x285)])==null?void 0x0:_0x57044e[_0x562fb2(0x480)])&&(this[_0x562fb2(0x185)](),this[_0x562fb2(0x407)]=_0x1dbe6e===0x0?0x3e8:_0x1dbe6e*0x2);}[_0x5e99b1(0x3b3)](){var _0x43c2a4=_0x5e99b1,_0xc88c34;(_0xc88c34=this[_0x43c2a4(0x33c)])==null||_0xc88c34[_0x43c2a4(0x2af)](),this['_resendTimeout']=0x0;}},exports[_0x5e99b1(0x47d)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x5e99b1(0x1a2)](m['RevisionService'])),A(0x6,a[_0x5e99b1(0x4df)]),A(0x7,a[_0x5e99b1(0x24d)]),A(0x8,m[_0x5e99b1(0x458)]),A(0x9,a[_0x5e99b1(0x317)]),A(0xa,a[_0x5e99b1(0x262)](J))],exports[_0x5e99b1(0x47d)]),exports[_0x5e99b1(0x3f4)]=class extends _e{constructor(_0x57c094,_0x1af1b1,_0x82db30,_0x27a58e,_0x3b5264,_0x19d9af,_0x22c319,_0x201123,_0x3f02a0,_0x26ed09,_0x1512d6,_0x1e63d2,_0x29e70b){var _0x41b40c=_0x5e99b1;super(_0x57c094,_0x1af1b1,_0x82db30,_0x27a58e,_0x3b5264,_0x3f02a0,_0x1e63d2,_0x201123,_0x29e70b),D(this,'status',_0x41b40c(0x3e3)),D(this,_0x41b40c(0x407),0x0),D(this,_0x41b40c(0x28f)),D(this,_0x41b40c(0x33c)),(this[_0x41b40c(0x26a)]=_0x22c319,this[_0x41b40c(0x412)]=_0x26ed09,this[_0x41b40c(0x2b0)]=_0x1512d6,this[_0x41b40c(0x30f)]=_0x29e70b,_0x19d9af&&(this[_0x41b40c(0x28f)]=_0x19d9af,this['_sender']=this[_0x41b40c(0x28f)][_0x41b40c(0x3b8)](({reqId:_0x3ba6e1,timeout:_0x5e51df})=>{var _0xe7140f=_0x41b40c;this[_0xe7140f(0x4c4)](_0x3ba6e1,_0x5e51df);})));}['appendMutation'](_0x4a63e6){var _0x2baa6a=_0x5e99b1;return this[_0x2baa6a(0x3c7)][_0x2baa6a(0x2f5)](_0x4a63e6),this;}[_0x5e99b1(0x425)](_0x119b79){var _0x51fbf4=_0x5e99b1;if(this['_checkMissing'](_0x119b79))return this[_0x51fbf4(0x3b3)](),this[_0x51fbf4(0x26a)][_0x51fbf4(0x4bf)](exports['FetchingMissState'],this[_0x51fbf4(0x413)],this[_0x51fbf4(0x3ca)],this[_0x51fbf4(0x285)],this[_0x51fbf4(0x3c7)],null,[_0x119b79],this['_handler']);try{const _0x2640ff=this['_transformService'][_0x51fbf4(0x1cc)]([_0x119b79],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x2640ff)){const {c1Prime:_0x11acaa,c2Prime:_0x2c74e9}=_0x2640ff,_0x5283f7=this[_0x51fbf4(0x2b0)][_0x51fbf4(0x16e)](_0x11acaa[0x0],this[_0x51fbf4(0x3c7)]);if(m[_0x51fbf4(0x462)](_0x5283f7)){const {c1Prime:_0x18cc2e,m2Prime:_0x21e557}=_0x5283f7;return this[_0x51fbf4(0x286)](_0x18cc2e),_0x2c74e9[0x0]['baseRev']=this[_0x51fbf4(0x41d)](),this[_0x51fbf4(0x3b3)](),this[_0x51fbf4(0x26a)][_0x51fbf4(0x4bf)](exports[_0x51fbf4(0x3f4)],this['unitID'],this[_0x51fbf4(0x3ca)],_0x2c74e9[0x0],_0x21e557,this['_handler'],void 0x0);}throw _0x5283f7['error'];}throw _0x2640ff['error'];}catch(_0x76c715){return this[_0x51fbf4(0x412)][_0x51fbf4(0x350)](_0x76c715),this[_0x51fbf4(0x2d4)](!0x1);}}[_0x5e99b1(0x186)](_0x4a06d6){var _0x321f8d=_0x5e99b1;if(this[_0x321f8d(0x3b3)](),this[_0x321f8d(0x2ee)](_0x4a06d6))return this[_0x321f8d(0x26a)][_0x321f8d(0x4bf)](exports['FetchingMissState'],this[_0x321f8d(0x413)],this[_0x321f8d(0x3ca)],null,this[_0x321f8d(0x3c7)],this['_awaitingChangeset'],[],this[_0x321f8d(0x330)]);this[_0x321f8d(0x3e5)]();const _0x4bd092=this[_0x321f8d(0x26a)]['createInstance'](exports[_0x321f8d(0x36e)],this['unitID'],this['type'],this[_0x321f8d(0x3c7)],this[_0x321f8d(0x330)]);return _0x4bd092[_0x321f8d(0x2ac)](),_0x4bd092[_0x321f8d(0x46f)](),_0x4bd092;}['onRemoteRej'](_0x341111){var _0x248f49=_0x5e99b1;return this[_0x248f49(0x2d4)](!!(_0x341111!=null&&_0x341111[_0x248f49(0x377)]));}[_0x5e99b1(0x205)](_0x474b67){var _0x1cb90e=_0x5e99b1;return this[_0x1cb90e(0x407)]>Nt?this[_0x1cb90e(0x1db)]():(this['_resendTimer']=Pt(this['_resendTimeout'],{'timeout':this[_0x1cb90e(0x407)],'reqId':_0x474b67['reqId']}),this['_sender']=this[_0x1cb90e(0x28f)][_0x1cb90e(0x3b8)](({reqId:_0x2c7d59,timeout:_0x2eb1ad})=>{this['_resendWithTimeout'](_0x2c7d59,_0x2eb1ad);}),this);}[_0x5e99b1(0x1db)](){var _0x141a19=_0x5e99b1;return this['_clearScheduledTask'](),this[_0x141a19(0x26a)][_0x141a19(0x4bf)](exports['OfflineState'],this['unitID'],this['type'],this[_0x141a19(0x285)],this[_0x141a19(0x3c7)],this[_0x141a19(0x330)]);}[_0x5e99b1(0x4ec)](){return this;}['resend'](){var _0x3a2e12=_0x5e99b1;this[_0x3a2e12(0x330)][_0x3a2e12(0x215)](this[_0x3a2e12(0x285)]);}[_0x5e99b1(0x2d4)](_0x16d6b4){var _0x51e2ae=_0x5e99b1;return this[_0x51e2ae(0x3b3)](),this['_injector'][_0x51e2ae(0x4bf)](exports[_0x51e2ae(0x17a)],this[_0x51e2ae(0x413)],this[_0x51e2ae(0x3ca)],null,this['_pendingMutations'],this['_handler'],_0x16d6b4);}[_0x5e99b1(0x4c4)](_0x480f27,_0x43ac3a){var _0x7ea944=_0x5e99b1,_0x3ed1bb;_0x480f27===((_0x3ed1bb=this[_0x7ea944(0x285)])==null?void 0x0:_0x3ed1bb[_0x7ea944(0x480)])&&(this[_0x7ea944(0x185)](),this[_0x7ea944(0x407)]=_0x43ac3a===0x0?0x3e8:_0x43ac3a*0x2);}['_clearScheduledTask'](){var _0x21b654=_0x5e99b1,_0x519d0e;(_0x519d0e=this[_0x21b654(0x33c)])==null||_0x519d0e[_0x21b654(0x2af)](),this[_0x21b654(0x407)]=0x0;}},exports[_0x5e99b1(0x3f4)]=le([A(0x6,a['Inject'](a[_0x5e99b1(0x261)])),A(0x7,a[_0x5e99b1(0x1a2)](m[_0x5e99b1(0x42f)])),A(0x8,a[_0x5e99b1(0x4df)]),A(0x9,a[_0x5e99b1(0x24d)]),A(0xa,m['ITransformService']),A(0xb,a[_0x5e99b1(0x317)]),A(0xc,a[_0x5e99b1(0x262)](J))],exports['AwaitingWithPendingState']),exports[_0x5e99b1(0x17a)]=class extends _e{constructor(_0x26c820,_0x2589a4,_0x233dd0,_0x4bb333,_0x11e8b5,_0xca1a74=!0x1,_0x4e5e11,_0x20ed36,_0x52870d,_0x4f5c5e,_0x46fa63,_0x4bfb67,_0x15d21d){var _0x17639b=_0x5e99b1;super(_0x26c820,_0x2589a4,_0x233dd0,_0x4bb333,_0x11e8b5,_0x20ed36,_0x52870d,_0x4f5c5e,_0x15d21d),D(this,'status',_0x17639b(0x4b9)),(this[_0x17639b(0x2b7)]=_0xca1a74,this[_0x17639b(0x23e)]=_0x4e5e11,this[_0x17639b(0x2be)]=_0x46fa63,this['_collaborationUIEventService']=_0x4bfb67,this['localCacheService']=_0x15d21d,this[_0x17639b(0x496)](),this[_0x17639b(0x2dc)](),this[_0x17639b(0x31b)]());}[_0x5e99b1(0x4d5)](){return this;}[_0x5e99b1(0x425)](){return this;}['onRemoteAck'](){return this;}[_0x5e99b1(0x426)](){return this;}[_0x5e99b1(0x205)](){return this;}[_0x5e99b1(0x1db)](){return this;}[_0x5e99b1(0x4ec)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e99b1(0x2dc)](){var _0x395993=_0x5e99b1,_0x277c49;(_0x277c49=this[_0x395993(0x190)])==null||_0x277c49['updateOfflineData'](this[_0x395993(0x413)],this[_0x395993(0x3ca)],null,[]);}[_0x5e99b1(0x496)](){var _0x140138=_0x5e99b1;this[_0x140138(0x2b7)]?this[_0x140138(0x477)][_0x140138(0x2cd)]({'id':Q['PERMISSION_DENIED']}):this[_0x140138(0x477)][_0x140138(0x2cd)]({'id':Q[_0x140138(0x25b)]});}['_disableEditing'](){var _0x424b56=_0x5e99b1;this[_0x424b56(0x23e)][_0x424b56(0x181)](new W[(_0x424b56(0x4f4))](this[_0x424b56(0x413)])['id'],!0x1);}},exports[_0x5e99b1(0x17a)]=le([A(0x6,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x4bc)])),A(0x7,a[_0x5e99b1(0x4df)]),A(0x8,a[_0x5e99b1(0x317)]),A(0x9,a[_0x5e99b1(0x1a2)](m[_0x5e99b1(0x42f)])),A(0xa,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x21a)])),A(0xb,a[_0x5e99b1(0x1a2)](te)),A(0xc,a[_0x5e99b1(0x262)](J))],exports['ConflictState']),exports[_0x5e99b1(0x324)]=class extends _e{constructor(_0x21fc18,_0xe661af,_0x408deb,_0x29bfe8,_0x276463,_0x410fde,_0x358d07,_0x1564df,_0x3dfc6f,_0x34a4ac){var _0x2555c4=_0x5e99b1;super(_0x21fc18,_0xe661af,_0x408deb,_0x29bfe8,_0x276463,_0x1564df,_0x3dfc6f,_0x358d07,_0x34a4ac),D(this,'status',_0x2555c4(0x4ea)),this['_injector']=_0x410fde;}[_0x5e99b1(0x4d5)](_0x3d088e){var _0x51121f=_0x5e99b1;return this['_pendingMutations']['push'](_0x3d088e),this[_0x51121f(0x46f)](),this;}[_0x5e99b1(0x425)](_0x4cefed){var _0x35e383=_0x5e99b1;throw new Error(_0x35e383(0x4a4));}['onRemoteAck'](){var _0x335a80=_0x5e99b1;throw new Error(_0x335a80(0x18d));}['onRemoteRej'](){var _0x1bb7e9=_0x5e99b1;throw new Error(_0x1bb7e9(0x3dd));}[_0x5e99b1(0x205)](){return this;}[_0x5e99b1(0x1db)](){return this;}[_0x5e99b1(0x4ec)](){var _0x1e75dc=_0x5e99b1;const {_injector:_0x2e4cf4,_pendingMutations:_0x95a5cd,_awaitingChangeset:_0xe51724,unitID:_0x3c6bdc,_handler:_0x4550bc,type:_0x514dad}=this,_0x43c16c=Ut(_0x2e4cf4,_0x3c6bdc,_0x514dad,_0xe51724,_0x95a5cd,_0x4550bc);return _0x43c16c instanceof exports[_0x1e75dc(0x36e)]?_0x43c16c[_0x1e75dc(0x2ac)]():(_0x43c16c instanceof exports[_0x1e75dc(0x3f4)]||_0x43c16c instanceof exports[_0x1e75dc(0x47d)])&&_0x43c16c[_0x1e75dc(0x185)](),_0x43c16c;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x5e99b1(0x324)]=le([A(0x5,a['Inject'](a['Injector'])),A(0x6,a[_0x5e99b1(0x1a2)](m['RevisionService'])),A(0x7,a[_0x5e99b1(0x4df)]),A(0x8,a[_0x5e99b1(0x317)]),A(0x9,a[_0x5e99b1(0x262)](J))],exports['OfflineState']),exports[_0x5e99b1(0x1cb)]=class extends _e{constructor(_0x47155a,_0x3ca8b2,_0x422274,_0x23b80c,_0x699f1a,_0xa3d091,_0x1c5669,_0x11d3b8,_0x591b88,_0x8f50a8,_0x199ed5,_0x20fe39,_0x4a925c,_0x409035){var _0x148cf1=_0x5e99b1;super(_0x47155a,_0x3ca8b2,_0x422274,_0x23b80c,_0x1c5669,_0x199ed5,_0x20fe39,_0x591b88,_0x409035),D(this,_0x148cf1(0x3d6),_0x148cf1(0x498)),(this[_0x148cf1(0x4e1)]=_0x699f1a,this[_0x148cf1(0x2a9)]=_0xa3d091,this[_0x148cf1(0x26a)]=_0x11d3b8,this['_logService']=_0x8f50a8,this[_0x148cf1(0x2b0)]=_0x4a925c,this[_0x148cf1(0x30f)]=_0x409035);}[_0x5e99b1(0x1be)](_0x3655c6){var _0x1385b7=_0x5e99b1;try{const _0x2497ab=[..._0x3655c6,...this['_queuedRemoteChangesets']],_0x4f7644=[this[_0x1385b7(0x285)]||this[_0x1385b7(0x4e1)]]['filter'](_0x7a6fd7=>!!_0x7a6fd7);let _0x2956ad,_0x50d79d;if(_0x4f7644[_0x1385b7(0x36d)]){const _0x4acbf8=this[_0x1385b7(0x2b0)]['transformChangesets'](_0x2497ab,_0x4f7644,!0x1);if(!m['isTransformChangesetsSuccess'](_0x4acbf8))throw _0x4acbf8['error'];_0x2956ad=_0x4acbf8[_0x1385b7(0x2d2)],_0x50d79d=_0x4acbf8['c2Prime'];}else _0x2956ad=_0x2497ab,_0x50d79d=[];let _0x135078=this[_0x1385b7(0x3c7)];_0x2956ad[_0x1385b7(0x42b)](_0x41c25e=>{var _0x4bc5c0=_0x1385b7;let _0x55bccf;if(_0x135078[_0x4bc5c0(0x36d)]){const _0x34a14d=this[_0x4bc5c0(0x2b0)][_0x4bc5c0(0x16e)](_0x41c25e,_0x135078);if(!m[_0x4bc5c0(0x462)](_0x34a14d))throw _0x34a14d[_0x4bc5c0(0x350)];_0x55bccf=_0x34a14d['c1Prime'],_0x135078=_0x34a14d['m2Prime'];}else _0x55bccf=_0x41c25e;this[_0x4bc5c0(0x286)](_0x55bccf);}),this[_0x1385b7(0x4e1)]&&this[_0x1385b7(0x3e5)](),this[_0x1385b7(0x285)]&&_0x50d79d[_0x1385b7(0x36d)]&&(_0x50d79d[0x0][_0x1385b7(0x19c)]=this[_0x1385b7(0x41d)]());let _0x5b470e;if(this[_0x1385b7(0x285)]&&_0x135078[_0x1385b7(0x36d)]!==0x0)_0x5b470e=this[_0x1385b7(0x26a)][_0x1385b7(0x4bf)](exports[_0x1385b7(0x3f4)],this[_0x1385b7(0x413)],this[_0x1385b7(0x3ca)],_0x50d79d[0x0],_0x135078,this[_0x1385b7(0x330)],void 0x0);else{if(this[_0x1385b7(0x285)]&&_0x135078[_0x1385b7(0x36d)]===0x0)_0x50d79d[0x0][_0x1385b7(0x19c)]=this['_getCurrentRevision'](),_0x5b470e=this[_0x1385b7(0x26a)][_0x1385b7(0x4bf)](exports[_0x1385b7(0x47d)],this[_0x1385b7(0x413)],this[_0x1385b7(0x3ca)],_0x50d79d[0x0],this['_handler']);else{if(_0x135078[_0x1385b7(0x36d)]!==0x0){const _0x13872b=this[_0x1385b7(0x26a)][_0x1385b7(0x4bf)](exports[_0x1385b7(0x36e)],this[_0x1385b7(0x413)],this[_0x1385b7(0x3ca)],_0x135078,this['_handler']);_0x13872b[_0x1385b7(0x2ac)](),_0x5b470e=_0x13872b;}else _0x5b470e=this[_0x1385b7(0x26a)]['createInstance'](exports[_0x1385b7(0x25c)],this[_0x1385b7(0x413)],this[_0x1385b7(0x3ca)],this[_0x1385b7(0x330)]);}}return _0x5b470e[_0x1385b7(0x46f)](),_0x5b470e;}catch(_0x276c83){return this[_0x1385b7(0x412)][_0x1385b7(0x350)](_0x1385b7(0x32e),_0x1385b7(0x46c),_0x276c83),this[_0x1385b7(0x26a)]['createInstance'](exports[_0x1385b7(0x17a)],this[_0x1385b7(0x413)],this[_0x1385b7(0x3ca)],this[_0x1385b7(0x285)],this[_0x1385b7(0x3c7)],this[_0x1385b7(0x330)],!0x1);}}[_0x5e99b1(0x185)](){var _0x5b7889=_0x5e99b1;throw new Error(_0x5b7889(0x287));}[_0x5e99b1(0x4d5)](_0x211eae){var _0x43102d=_0x5e99b1;return this[_0x43102d(0x3c7)][_0x43102d(0x2f5)](_0x211eae),this;}[_0x5e99b1(0x425)](_0x918755){var _0x4515e1=_0x5e99b1;return this[_0x4515e1(0x2a9)][_0x4515e1(0x2f5)](_0x918755),this;}['onRemoteAck'](_0x1b949c){var _0x4dfa71=_0x5e99b1;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x4dfa71(0x285)],this[_0x4dfa71(0x285)]=null,this;throw new Error(_0x4dfa71(0x232));}[_0x5e99b1(0x426)](_0x5a7954){var _0x5e1af3=_0x5e99b1;return this[_0x5e1af3(0x2d4)](!!(_0x5a7954!=null&&_0x5a7954['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x5e99b1(0x1db)](){var _0x4dbc8e=_0x5e99b1;return this[_0x4dbc8e(0x26a)][_0x4dbc8e(0x4bf)](exports[_0x4dbc8e(0x324)],this[_0x4dbc8e(0x413)],this['type'],this[_0x4dbc8e(0x285)],this[_0x4dbc8e(0x3c7)],this[_0x4dbc8e(0x330)]);}[_0x5e99b1(0x4ec)](){return this;}['_onConflict'](_0x45ba21){var _0x3c4381=_0x5e99b1;return this['_injector'][_0x3c4381(0x4bf)](exports[_0x3c4381(0x17a)],this[_0x3c4381(0x413)],this['type'],this[_0x3c4381(0x285)],this[_0x3c4381(0x3c7)],this[_0x3c4381(0x330)],_0x45ba21);}},exports[_0x5e99b1(0x1cb)]=le([A(0x7,a[_0x5e99b1(0x1a2)](a['Injector'])),A(0x8,a[_0x5e99b1(0x1a2)](m['RevisionService'])),A(0x9,a[_0x5e99b1(0x24d)]),A(0xa,a[_0x5e99b1(0x4df)]),A(0xb,a[_0x5e99b1(0x317)]),A(0xc,m[_0x5e99b1(0x458)]),A(0xd,a[_0x5e99b1(0x262)](J))],exports[_0x5e99b1(0x1cb)]);function Ut(_0x2545de,_0x15e7cc,_0x2ebb55,_0x22e999,_0x54af37,_0x416f2c){var _0x574a6a=_0x5e99b1;return _0x22e999&&_0x54af37['length']?_0x2545de[_0x574a6a(0x4bf)](exports[_0x574a6a(0x3f4)],_0x15e7cc,_0x2ebb55,_0x22e999,_0x54af37,_0x416f2c,void 0x0):_0x22e999?_0x2545de[_0x574a6a(0x4bf)](exports[_0x574a6a(0x47d)],_0x15e7cc,_0x2ebb55,_0x22e999,_0x416f2c):_0x54af37[_0x574a6a(0x36d)]?_0x2545de[_0x574a6a(0x4bf)](exports[_0x574a6a(0x36e)],_0x15e7cc,_0x2ebb55,_0x54af37,_0x416f2c):_0x2545de[_0x574a6a(0x4bf)](exports['SyncedState'],_0x15e7cc,_0x2ebb55,_0x416f2c);}var Ni=Object[_0x5e99b1(0x4cc)],Ui=Object[_0x5e99b1(0x2a0)],Ve=(_0x3e9080,_0x417669,_0x1db525,_0x162ab1)=>{for(var _0x2b9f1c=_0x162ab1>0x1?void 0x0:_0x162ab1?Ui(_0x417669,_0x1db525):_0x417669,_0x376989=_0x3e9080['length']-0x1,_0x2fac66;_0x376989>=0x0;_0x376989--)(_0x2fac66=_0x3e9080[_0x376989])&&(_0x2b9f1c=(_0x162ab1?_0x2fac66(_0x417669,_0x1db525,_0x2b9f1c):_0x2fac66(_0x2b9f1c))||_0x2b9f1c);return _0x162ab1&&_0x2b9f1c&&Ni(_0x417669,_0x1db525,_0x2b9f1c),_0x2b9f1c;},k=(_0x1e27fc,_0x5c70d6)=>(_0x41ecda,_0x1f48d9)=>_0x5c70d6(_0x41ecda,_0x1f48d9,_0x1e27fc);exports[_0x5e99b1(0x393)]=class extends a['RxDisposable']{constructor(_0x55cb52,_0x31010a,_0x314f4e,_0x148692,_0x574c9e,_0x2d11db,_0x35204f,_0x224944,_0x1b0b17,_0x2a76e5,_0x5cc7de,_0x3498c2,_0x40c5b0){var _0x3b0ca3=_0x5e99b1;super(),D(this,_0x3b0ca3(0x2e0),new H['BehaviorSubject'](null)),D(this,_0x3b0ca3(0x47b),this[_0x3b0ca3(0x2e0)]['asObservable']()),D(this,_0x3b0ca3(0x464)),D(this,'_collaborationPaused',!0x1),D(this,_0x3b0ca3(0x3eb),''),D(this,_0x3b0ca3(0x187),0x0),D(this,_0x3b0ca3(0x453),this[_0x3b0ca3(0x47b)][_0x3b0ca3(0x22d)](H[_0x3b0ca3(0x47a)](_0x23b834=>_0x23b834?_0x23b834[_0x3b0ca3(0x3d6)]:We[_0x3b0ca3(0x283)]),H[_0x3b0ca3(0x288)](0x1))),D(this,_0x3b0ca3(0x41f),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x3b0ca3(0x413)]=_0x55cb52,this[_0x3b0ca3(0x34e)]=_0x31010a,this['_type']=_0x314f4e,this[_0x3b0ca3(0x26a)]=_0x148692,this['_compressMutationService']=_0x574c9e,this[_0x3b0ca3(0x2be)]=_0x2d11db,this[_0x3b0ca3(0x22e)]=_0x35204f,this[_0x3b0ca3(0x2e7)]=_0x224944,this[_0x3b0ca3(0x412)]=_0x1b0b17,this['_commandService']=_0x2a76e5,this['_permissionService']=_0x5cc7de,this[_0x3b0ca3(0x311)]=_0x3498c2,this[_0x3b0ca3(0x190)]=_0x40c5b0);}get[_0x5e99b1(0x23d)](){var _0x75828e=_0x5e99b1;return this[_0x75828e(0x464)];}async['init'](){var _0x1d0af6=_0x5e99b1;if(this['state'])throw new Error(_0x1d0af6(0x367));await this[_0x1d0af6(0x197)]();}[_0x5e99b1(0x442)](){var _0x2ef3b5=_0x5e99b1;return this[_0x2ef3b5(0x4bd)]=!0x0,a[_0x2ef3b5(0x4fb)](()=>{var _0x31afd8=_0x2ef3b5;this[_0x31afd8(0x4bd)]=!0x1,this[_0x31afd8(0x220)]();});}['onLocalMutation'](_0x4af303){var _0x15f749=_0x5e99b1;this[_0x15f749(0x354)](_0x4af303);}[_0x5e99b1(0x4a8)](_0x36d652){var _0x584ba2=_0x5e99b1;this[_0x584ba2(0x464)]=_0x36d652,this[_0x584ba2(0x2e0)][_0x584ba2(0x352)](_0x36d652);}async[_0x5e99b1(0x197)](){var _0x57862f=_0x5e99b1,_0x426c18;this[_0x57862f(0x4a8)](await this['_createInitialState']()),this[_0x57862f(0x311)]&&((_0x426c18=this['_singleActiveUnitService'])==null||_0x426c18[_0x57862f(0x265)](this[_0x57862f(0x413)]),this[_0x57862f(0x2b3)](this[_0x57862f(0x311)]['getUnitStatus$'](this[_0x57862f(0x413)])[_0x57862f(0x3b8)](_0x2b7ecc=>{var _0xde81d5=_0x57862f;this[_0xde81d5(0x412)][_0xde81d5(0x499)](_0xde81d5(0x4d0),_0xde81d5(0x3be),_0x2b7ecc),_0x2b7ecc===Fe[_0xde81d5(0x2f9)]?(this[_0xde81d5(0x2e7)][_0xde81d5(0x2cd)]({'id':Q[_0xde81d5(0x36b)]}),this[_0xde81d5(0x23e)]['updatePermissionPoint'](new W[(_0xde81d5(0x4f4))](this[_0xde81d5(0x413)])['id'],!0x1),this[_0xde81d5(0x23e)]['setShowComponents'](!0x1)):(this[_0xde81d5(0x23e)][_0xde81d5(0x181)](new W[(_0xde81d5(0x4f4))](this[_0xde81d5(0x413)])['id'],!0x0),this[_0xde81d5(0x23e)]['setShowComponents'](!0x0));})));let _0x11ca99=!0x1;return this[_0x57862f(0x2b3)](this[_0x57862f(0x34e)][_0x57862f(0x2ed)][_0x57862f(0x3b8)](_0x3afbae=>{var _0x113ad2=_0x57862f;_0x3afbae===se[_0x113ad2(0x23a)]?this[_0x113ad2(0x1ec)](_0x11ca99):_0x3afbae===se[_0x113ad2(0x283)]&&(_0x11ca99=!0x0,this[_0x113ad2(0x256)]());})),this['disposeWithMe'](this[_0x57862f(0x34e)]['event$']['subscribe'](_0x1cdc6d=>{var _0x5df137=_0x57862f;try{switch(_0x1cdc6d[_0x5df137(0x334)]){case m[_0x5df137(0x3de)][_0x5df137(0x394)]:{this[_0x5df137(0x3aa)](m[_0x5df137(0x39d)](_0x1cdc6d['data']));break;}case m['CollaborationEvent']['CHANGESET_ACK']:{this[_0x5df137(0x241)](_0x1cdc6d[_0x5df137(0x3d2)]);break;}case m[_0x5df137(0x3de)]['CHANGESET_REJ']:{this[_0x5df137(0x4b3)]();break;}case m[_0x5df137(0x3de)][_0x5df137(0x2fc)]:{this[_0x5df137(0x32f)](_0x1cdc6d[_0x5df137(0x3d2)]);break;}case m[_0x5df137(0x3de)][_0x5df137(0x251)]:{this['_onFetchMissResult'](_0x1cdc6d[_0x5df137(0x3d2)][_0x5df137(0x277)][_0x5df137(0x47a)](_0x5e15e2=>m[_0x5df137(0x39d)](_0x5e15e2)));break;}case m['CollaborationEvent'][_0x5df137(0x2a7)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case m['CollaborationEvent'][_0x5df137(0x3e6)]:break;}}catch(_0x2b0024){throw console[_0x5df137(0x350)]('Error\x20on\x20receiving\x20event',_0x2b0024),_0x2b0024;}})),this[_0x57862f(0x464)];}[_0x5e99b1(0x31d)](){var _0x23dbc2=_0x5e99b1;this[_0x23dbc2(0x41f)]=!0x1;}[_0x5e99b1(0x415)](){var _0x514469=_0x5e99b1;if(this[_0x514469(0x41f)])throw new Error('[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.');this[_0x514469(0x41f)]=!0x0;}['_onLocalMutation'](_0x274b94){var _0x460800=_0x5e99b1;this[_0x460800(0x415)](),this['_updateState'](this['_state'][_0x460800(0x4d5)](_0x274b94)),this[_0x460800(0x31d)]();}[_0x5e99b1(0x3aa)](_0x32e1f4){var _0x3f81ca=_0x5e99b1;if(!(_0x32e1f4[_0x3f81ca(0x297)]<=this[_0x3f81ca(0x22e)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x3f81ca(0x4bd)]){this['_remoteChangesetQueue']['push'](_0x32e1f4);return;}this[_0x3f81ca(0x3bf)](_0x32e1f4);}}[_0x5e99b1(0x220)](){var _0x45c590=_0x5e99b1;this[_0x45c590(0x2f8)][_0x45c590(0x42b)](_0x3fa08a=>this[_0x45c590(0x3bf)](_0x3fa08a)),this[_0x45c590(0x2f8)]=[];}[_0x5e99b1(0x3bf)](_0x3f49ad){var _0x168437=_0x5e99b1;const _0x2ce05a=this['_compressMutationService']['interceptor'][_0x168437(0x4cf)](this['_compressMutationService'][_0x168437(0x1c3)][_0x168437(0x282)]()[_0x168437(0x3e7)])(_0x3f49ad[_0x168437(0x273)],null)||_0x3f49ad['mutations'],_0x17f37f={..._0x3f49ad,'mutations':_0x2ce05a};this['_lockTransition'](),this[_0x168437(0x4a8)](this[_0x168437(0x464)][_0x168437(0x425)](_0x17f37f)),this['_unlockTransition']();}[_0x5e99b1(0x241)](_0x8d9f65){var _0xae142f=_0x5e99b1;this['_lockTransition'](),this[_0xae142f(0x4a8)](this[_0xae142f(0x464)]['onRemoteAck'](_0x8d9f65)),this['_unlockTransition']();}[_0x5e99b1(0x4b3)](_0x5d00ff){var _0xf095b1=_0x5e99b1;this['_lockTransition'](),this[_0xf095b1(0x4a8)](this[_0xf095b1(0x464)]['onRemoteRej'](_0x5d00ff)),this[_0xf095b1(0x31d)]();}['_onRemoteRetry'](_0x4baefb){var _0x1cd1ff=_0x5e99b1;this[_0x1cd1ff(0x415)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x4baefb)),this[_0x1cd1ff(0x31d)]();}[_0x5e99b1(0x230)](_0x37633e){var _0x29c3e6=_0x5e99b1;if(!(this[_0x29c3e6(0x464)]instanceof exports[_0x29c3e6(0x1cb)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x58a9f2=_0x37633e[_0x29c3e6(0x47a)](_0x3e4c06=>{var _0x447fba=_0x29c3e6;const _0x291a9c=this[_0x447fba(0x4be)][_0x447fba(0x1c3)][_0x447fba(0x4cf)](this[_0x447fba(0x4be)][_0x447fba(0x1c3)][_0x447fba(0x282)]()[_0x447fba(0x3e7)])(_0x3e4c06[_0x447fba(0x273)],null)||_0x3e4c06['mutations'];return{..._0x3e4c06,'mutations':_0x291a9c};});this['_lockTransition'](),this[_0x29c3e6(0x4a8)](this[_0x29c3e6(0x464)][_0x29c3e6(0x1be)](_0x58a9f2)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1ce85f=_0x5e99b1;this[_0x1ce85f(0x415)](),this[_0x1ce85f(0x4a8)](this[_0x1ce85f(0x464)][_0x1ce85f(0x1db)]()),this[_0x1ce85f(0x31d)]();}['_toggleOnline'](_0x5e544e=!0x1){var _0x6edc9c=_0x5e99b1;this[_0x6edc9c(0x415)](),this[_0x6edc9c(0x4a8)](this[_0x6edc9c(0x464)][_0x6edc9c(0x4ec)]()),this[_0x6edc9c(0x31d)]();const _0x1ab2a2=this[_0x6edc9c(0x464)];_0x5e544e&&_0x1ab2a2 instanceof exports[_0x6edc9c(0x25c)]&&(this['_lockTransition'](),this[_0x6edc9c(0x4a8)](_0x1ab2a2['fetchMiss']()),this[_0x6edc9c(0x31d)]());}async[_0x5e99b1(0x465)](){return new Promise(_0x4a97d5=>{var _0x4bb4d3=_0x54fb;this[_0x4bb4d3(0x34e)]['sessionStatus$'][_0x4bb4d3(0x22d)](H[_0x4bb4d3(0x3f5)](0x1))[_0x4bb4d3(0x3b8)](async _0x289a55=>{var _0x455bf1=_0x4bb4d3;_0x4a97d5(await this['_createInitialStateImpl'](_0x289a55===se[_0x455bf1(0x23a)]));});});}[_0x5e99b1(0x25a)](){var _0x51fe68=_0x5e99b1;const _0x267dc3=this[_0x51fe68(0x413)];return{'onStateChange':(_0x1bd09e,_0x292ecb)=>{var _0x109354=_0x51fe68;if(_0x1bd09e!==this['_state'])throw new Error(_0x109354(0x238)+_0x1bd09e[_0x109354(0x3d6)]+_0x109354(0x2e5)+_0x292ecb['status']+_0x109354(0x1a9)+this[_0x109354(0x464)][_0x109354(0x3d6)]);this[_0x109354(0x4a8)](_0x292ecb);},'onSendChangeset':_0x31f797=>{var _0x1a2e87=_0x51fe68;_0x31f797['sid']||(_0x31f797[_0x1a2e87(0x252)]=this[_0x1a2e87(0x3eb)],_0x31f797['reqId']=++this[_0x1a2e87(0x187)]);const _0x121bef={'eventID':m[_0x1a2e87(0x3de)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x31f797['unitID'],'unitType':this[_0x1a2e87(0x40c)],'changeset':_0x31f797,'memberID':this['session'][_0x1a2e87(0x443)]()}};this[_0x1a2e87(0x34e)][_0x1a2e87(0x353)](_0x121bef,this[_0x1a2e87(0x413)]);},'onMissingChangesets':({from:_0x29e3b4,to:_0x1d0c4b})=>{var _0x48d4aa=_0x51fe68;this[_0x48d4aa(0x412)][_0x48d4aa(0x499)](_0x48d4aa(0x4d0),_0x48d4aa(0x4c8)+_0x29e3b4+_0x48d4aa(0x327)+_0x1d0c4b);const _0x5b5f23={'eventID':m[_0x48d4aa(0x3de)]['FETCH_MISSING'],'data':{'unitID':_0x267dc3,'unitType':this['_type'],'from':_0x29e3b4,'to':_0x1d0c4b}};this[_0x48d4aa(0x34e)][_0x48d4aa(0x353)](_0x5b5f23,this['unitID']);}};}async['_createInitialStateImpl'](_0x5be391){var _0x3f6ab4=_0x5e99b1,_0x262883,_0x3e6603,_0x28258d;const _0x3ce2a0=await((_0x262883=this[_0x3f6ab4(0x190)])==null?void 0x0:_0x262883[_0x3f6ab4(0x390)](this['unitID'])),_0x2dea75=(_0x3e6603=_0x3ce2a0==null?void 0x0:_0x3ce2a0[_0x3f6ab4(0x273)])!=null?_0x3e6603:[],_0x3db8c5=(_0x28258d=_0x3ce2a0==null?void 0x0:_0x3ce2a0[_0x3f6ab4(0x225)])!=null?_0x28258d:null,_0x5713ac=!!(_0x3db8c5!=null&&_0x3db8c5[_0x3f6ab4(0x252)])&&!!(_0x3db8c5!=null&&_0x3db8c5[_0x3f6ab4(0x480)]);this[_0x3f6ab4(0x3eb)]=_0x5713ac?_0x3db8c5[_0x3f6ab4(0x252)]:gi(),this[_0x3f6ab4(0x187)]=_0x5713ac?_0x3db8c5[_0x3f6ab4(0x480)]:0x0;const _0x207a77=this['unitID'];try{this[_0x3f6ab4(0x260)](_0x3db8c5,_0x2dea75);}catch(_0x53a5da){this[_0x3f6ab4(0x412)][_0x3f6ab4(0x350)](_0x53a5da);}const _0x3f8678=this[_0x3f6ab4(0x25a)]();if(_0x5be391){const _0x3a0969=Ut(this[_0x3f6ab4(0x26a)],_0x207a77,this[_0x3f6ab4(0x40c)],_0x3db8c5,_0x2dea75,_0x3f8678);return _0x3a0969 instanceof exports['PendingState']?_0x3a0969['_schedule']():(_0x3a0969 instanceof exports[_0x3f6ab4(0x3f4)]||_0x3a0969 instanceof exports[_0x3f6ab4(0x47d)])&&_0x3a0969[_0x3f6ab4(0x185)](),_0x3a0969;}return this[_0x3f6ab4(0x26a)][_0x3f6ab4(0x4bf)](exports[_0x3f6ab4(0x324)],_0x207a77,this[_0x3f6ab4(0x40c)],_0x3db8c5,_0x2dea75,_0x3f8678);}['_replayCachedMutations'](_0x5a7d58,_0x1757f8){var _0x5f5d17=_0x5e99b1,_0x2f6054,_0x226cdf;const _0x492281=this['_compressMutationService'][_0x5f5d17(0x1c3)][_0x5f5d17(0x4cf)](this[_0x5f5d17(0x4be)][_0x5f5d17(0x1c3)][_0x5f5d17(0x282)]()[_0x5f5d17(0x3e7)]);(_0x2f6054=_0x492281((_0x5a7d58==null?void 0x0:_0x5a7d58[_0x5f5d17(0x273)])||[],null))==null||_0x2f6054[_0x5f5d17(0x42b)](_0x463468=>this['_commandService'][_0x5f5d17(0x369)](_0x463468['id'],_0x463468[_0x5f5d17(0x1ca)])),(_0x226cdf=_0x492281(_0x1757f8||[],null))==null||_0x226cdf[_0x5f5d17(0x42b)](_0x3525ef=>this['_commandService']['executeCommand'](_0x3525ef['id'],_0x3525ef[_0x5f5d17(0x1ca)]));}},exports['CollaborationEntity']=Ve([k(0x3,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),k(0x4,a['Inject'](m[_0x5e99b1(0x1bf)])),k(0x5,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x21a)])),k(0x6,a[_0x5e99b1(0x1a2)](m['RevisionService'])),k(0x7,a['Inject'](te)),k(0x8,a[_0x5e99b1(0x24d)]),k(0x9,a[_0x5e99b1(0x4df)]),k(0xa,a['IPermissionService']),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](J))],exports[_0x5e99b1(0x393)]),exports[_0x5e99b1(0x3b7)]=class extends exports['CollaborationEntity']{constructor(_0xf11efd,_0x4b290b,_0x5920a9,_0x1933db,_0x99e4c8,_0x5e96d7,_0x1e8b3b,_0x8254e7,_0x15ff86,_0x11a73f,_0x2139fd,_0x481d96,_0x51b7c3){var _0x468bfd=_0x5e99b1;super(_0xf11efd,_0x5920a9,_0x4b290b,_0x1933db,_0x99e4c8,_0x5e96d7,_0x1e8b3b,_0x8254e7,_0x15ff86,_0x11a73f,_0x2139fd,_0x481d96,_0x51b7c3),D(this,_0x468bfd(0x2e3),null),(this[_0x468bfd(0x413)]=_0xf11efd,this[_0x468bfd(0x3ca)]=_0x4b290b);}[_0x5e99b1(0x200)](_0x496e0d){this['_handlerCallback']=_0x496e0d;}[_0x5e99b1(0x49f)](){var _0x2a729c=_0x5e99b1;this[_0x2a729c(0x2e3)]=null,super[_0x2a729c(0x49f)]();}[_0x5e99b1(0x25a)](){var _0x32756e=_0x5e99b1;const _0x56c0b8=super[_0x32756e(0x25a)]();return _0x56c0b8[_0x32756e(0x3ad)]=_0x3be251=>{var _0x133067=_0x32756e,_0x5943be,_0x389d88;return(_0x389d88=(_0x5943be=this[_0x133067(0x2e3)])==null?void 0x0:_0x5943be[_0x133067(0x3ad)])==null?void 0x0:_0x389d88['call'](_0x5943be,_0x3be251);},_0x56c0b8[_0x32756e(0x1a4)]=_0x1db943=>{var _0x299b94=_0x32756e,_0x231294,_0x2c3910;return(_0x2c3910=(_0x231294=this[_0x299b94(0x2e3)])==null?void 0x0:_0x231294[_0x299b94(0x1a4)])==null?void 0x0:_0x2c3910[_0x299b94(0x1fb)](_0x231294,_0x1db943);},_0x56c0b8[_0x32756e(0x3ea)]=_0x3b7bb8=>{var _0x209e6d=_0x32756e,_0x50a6e9,_0x5b8e1f;return(_0x5b8e1f=(_0x50a6e9=this[_0x209e6d(0x2e3)])==null?void 0x0:_0x50a6e9[_0x209e6d(0x3ea)])==null?void 0x0:_0x5b8e1f[_0x209e6d(0x1fb)](_0x50a6e9,_0x3b7bb8);},_0x56c0b8['onSyncEditingCollabCursor']=_0x329a1e=>{var _0x2a5c24=_0x32756e,_0x3be130,_0x5e7595;return(_0x5e7595=(_0x3be130=this[_0x2a5c24(0x2e3)])==null?void 0x0:_0x3be130[_0x2a5c24(0x3a0)])==null?void 0x0:_0x5e7595[_0x2a5c24(0x1fb)](_0x3be130,_0x329a1e);},_0x56c0b8[_0x32756e(0x3fb)]=_0x1ed3c3=>{var _0x358d74=_0x32756e,_0x292ef9,_0x570eae,_0x1a2c7b;if(!((_0x292ef9=this[_0x358d74(0x2e3)])!=null&&_0x292ef9[_0x358d74(0x3fb)]))throw new Error(_0x358d74(0x290));return(_0x1a2c7b=(_0x570eae=this[_0x358d74(0x2e3)])==null?void 0x0:_0x570eae[_0x358d74(0x3fb)])==null?void 0x0:_0x1a2c7b[_0x358d74(0x1fb)](_0x570eae,_0x1ed3c3);},_0x56c0b8[_0x32756e(0x399)]=_0xb03618=>{var _0x97255=_0x32756e,_0x302da4,_0x5716bf,_0x48f562;if(!((_0x302da4=this[_0x97255(0x2e3)])!=null&&_0x302da4[_0x97255(0x399)]))throw new Error(_0x97255(0x403));return(_0x48f562=(_0x5716bf=this[_0x97255(0x2e3)])==null?void 0x0:_0x5716bf[_0x97255(0x399)])==null?void 0x0:_0x48f562[_0x97255(0x1fb)](_0x5716bf,_0xb03618);},_0x56c0b8;}async['_init'](){var _0x2c593d=_0x5e99b1;const _0x1832eb=await super[_0x2c593d(0x197)]();return this[_0x2c593d(0x2b3)](this[_0x2c593d(0x47c)][_0x2c593d(0x414)]((_0x4e3cf5,_0x174b4f)=>{var _0x2a3d80=_0x2c593d;if(_0x4e3cf5[_0x2a3d80(0x3ca)]!==a[_0x2a3d80(0x253)][_0x2a3d80(0x366)]||_0x174b4f!=null&&_0x174b4f['fromCollab']||_0x174b4f!=null&&_0x174b4f[_0x2a3d80(0x1ce)]||_0x4e3cf5['id']===dt[_0x2a3d80(0x272)]['id'])return;const _0x26fa67=_0x4e3cf5[_0x2a3d80(0x1ca)];if((_0x26fa67==null?void 0x0:_0x26fa67[_0x2a3d80(0x473)])!==this[_0x2a3d80(0x413)])return;const _0x4e39f5=_0x4e3cf5,_0x27b82a=this['_compressMutationService'][_0x2a3d80(0x1c3)][_0x2a3d80(0x4cf)](this[_0x2a3d80(0x4be)][_0x2a3d80(0x1c3)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x4e39f5],null)||[_0x4e39f5];this[_0x2a3d80(0x354)](_0x27b82a[0x0]);})),_0x1832eb;}},exports['DocCollaborationEntity']=Ve([k(0x3,a[_0x5e99b1(0x1a2)](a['Injector'])),k(0x4,a['Inject'](m[_0x5e99b1(0x1bf)])),k(0x5,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x21a)])),k(0x6,a['Inject'](m[_0x5e99b1(0x42f)])),k(0x7,a[_0x5e99b1(0x1a2)](te)),k(0x8,a[_0x5e99b1(0x24d)]),k(0x9,a[_0x5e99b1(0x4df)]),k(0xa,a[_0x5e99b1(0x4bc)]),k(0xb,a[_0x5e99b1(0x262)](ve)),k(0xc,a[_0x5e99b1(0x262)](J))],exports[_0x5e99b1(0x3b7)]),exports[_0x5e99b1(0x2b6)]=class extends exports[_0x5e99b1(0x393)]{constructor(_0x13c955,_0x4586bd,_0x47daa6,_0x200c5c,_0x2a6991,_0x1f3a9f,_0x2b540d,_0x613858,_0x323bfa,_0x483f11,_0xa223a8,_0x3cca21,_0x2fe6d7,_0x48eac1){super(_0x13c955,_0x47daa6,_0x4586bd,_0x200c5c,_0x2a6991,_0x1f3a9f,_0x2b540d,_0x323bfa,_0x483f11,_0xa223a8,_0x3cca21,_0x2fe6d7,_0x48eac1),this['unitID']=_0x13c955,this['type']=_0x4586bd,this['_sheetTransformSelectionsService']=_0x613858;}['_createHandler'](){var _0x181941=_0x5e99b1;const _0x48641d=super[_0x181941(0x25a)]();return _0x48641d[_0x181941(0x3ea)]=_0x89906f=>this['_sheetTransformSelectionsService'][_0x181941(0x3e2)](_0x89906f),_0x48641d;}async['_init'](){var _0x5356da=_0x5e99b1;const _0x17941d=await super['_init']();return this['disposeWithMe'](this[_0x5356da(0x47c)][_0x5356da(0x414)]((_0x4afaf9,_0x258687)=>{var _0x48e600=_0x5356da;if(_0x4afaf9[_0x48e600(0x3ca)]!==a['CommandType'][_0x48e600(0x366)]||_0x258687!=null&&_0x258687[_0x48e600(0x373)]||_0x258687!=null&&_0x258687[_0x48e600(0x1ce)])return;const _0x5ae340=_0x4afaf9[_0x48e600(0x1ca)];if((_0x5ae340==null?void 0x0:_0x5ae340[_0x48e600(0x473)])!==this['unitID'])return;const _0x499cb1=_0x4afaf9,_0x504c85=this[_0x48e600(0x4be)][_0x48e600(0x1c3)][_0x48e600(0x4cf)](this[_0x48e600(0x4be)][_0x48e600(0x1c3)][_0x48e600(0x282)]()[_0x48e600(0x340)])([_0x499cb1],null)||[_0x499cb1];this[_0x48e600(0x354)](_0x504c85[0x0]);})),_0x17941d;}},exports['SheetCollaborationEntity']=Ve([k(0x3,a[_0x5e99b1(0x1a2)](a['Injector'])),k(0x4,a[_0x5e99b1(0x1a2)](m[_0x5e99b1(0x1bf)])),k(0x5,a['Inject'](a[_0x5e99b1(0x21a)])),k(0x6,a[_0x5e99b1(0x1a2)](m[_0x5e99b1(0x42f)])),k(0x7,a[_0x5e99b1(0x1a2)](exports[_0x5e99b1(0x2eb)])),k(0x8,a['Inject'](te)),k(0x9,a[_0x5e99b1(0x24d)]),k(0xa,a[_0x5e99b1(0x4df)]),k(0xb,a[_0x5e99b1(0x4bc)]),k(0xc,a[_0x5e99b1(0x262)](ve)),k(0xd,a[_0x5e99b1(0x262)](J))],exports[_0x5e99b1(0x2b6)]);var Di=Object[_0x5e99b1(0x4cc)],wi=Object[_0x5e99b1(0x2a0)],Ai=(_0x3c2e98,_0x1e56a5,_0xe88fce,_0x525df4)=>{for(var _0x42e0d1=_0x525df4>0x1?void 0x0:_0x525df4?wi(_0x1e56a5,_0xe88fce):_0x1e56a5,_0x183027=_0x3c2e98['length']-0x1,_0x1b9580;_0x183027>=0x0;_0x183027--)(_0x1b9580=_0x3c2e98[_0x183027])&&(_0x42e0d1=(_0x525df4?_0x1b9580(_0x1e56a5,_0xe88fce,_0x42e0d1):_0x1b9580(_0x42e0d1))||_0x42e0d1);return _0x525df4&&_0x42e0d1&&Di(_0x1e56a5,_0xe88fce,_0x42e0d1),_0x42e0d1;},we=(_0x2778e5,_0x4c4670)=>(_0x557f5d,_0x3bac01)=>_0x4c4670(_0x557f5d,_0x3bac01,_0x2778e5);exports[_0x5e99b1(0x28d)]=class extends a['RxDisposable']{constructor(_0x141ae7,_0x1f9b45,_0x428578){var _0x3e5caa=_0x5e99b1;super(),D(this,_0x3e5caa(0x48f),new Map()),D(this,_0x3e5caa(0x3ac),new H['Subject']()),D(this,_0x3e5caa(0x193),this[_0x3e5caa(0x3ac)][_0x3e5caa(0x1e3)]()),(this[_0x3e5caa(0x26a)]=_0x141ae7,this[_0x3e5caa(0x17d)]=_0x1f9b45,this[_0x3e5caa(0x49d)]=_0x428578,this[_0x3e5caa(0x197)]());}['dispose'](){var _0x3239f2=_0x5e99b1;super[_0x3239f2(0x49f)](),this[_0x3239f2(0x48f)][_0x3239f2(0x42b)](_0x1dc928=>_0x1dc928[_0x3239f2(0x49f)]()),this[_0x3239f2(0x48f)][_0x3239f2(0x4c6)]();}['getCollabEntity'](_0x28de0f){var _0x57b443=_0x5e99b1,_0x34c509;return(_0x34c509=this[_0x57b443(0x48f)][_0x57b443(0x452)](_0x28de0f))!=null?_0x34c509:null;}['getCollabEntity$'](_0x49aa70){var _0x55b2f0=_0x5e99b1;const _0x238d30=this['getCollabEntity'](_0x49aa70);return _0x238d30?H['of'](_0x238d30):this['_entityInit$'][_0x55b2f0(0x22d)](V[_0x55b2f0(0x3b1)](_0x3a0fcf=>_0x3a0fcf[_0x55b2f0(0x413)]===_0x49aa70));}[_0x5e99b1(0x202)](_0x151e66){var _0x1510f0=_0x5e99b1;return H[_0x1510f0(0x437)](this['getCollabEntity$'](_0x151e66)[_0x1510f0(0x22d)](V[_0x1510f0(0x47a)](()=>{})));}['_init'](){var _0xa886e2=_0x5e99b1;this[_0xa886e2(0x49d)][_0xa886e2(0x316)](a[_0xa886e2(0x4af)][_0xa886e2(0x336)])[_0xa886e2(0x22d)](H[_0xa886e2(0x4f6)](this[_0xa886e2(0x3f0)]),V[_0xa886e2(0x364)](0x10))[_0xa886e2(0x3b8)](async _0x557367=>{var _0x30bd12=_0xa886e2;const _0x457a3e=_0x557367[_0x30bd12(0x1f5)](),_0x495212=await this[_0x30bd12(0x485)](_0x457a3e,Z[_0x30bd12(0x336)]);this[_0x30bd12(0x48f)][_0x30bd12(0x40b)](_0x457a3e,_0x495212);}),this[_0xa886e2(0x49d)]['getTypeOfUnitAdded$'](a[_0xa886e2(0x4af)]['UNIVER_DOC'])[_0xa886e2(0x22d)](H['takeUntil'](this[_0xa886e2(0x3f0)]),V[_0xa886e2(0x364)](0x10))[_0xa886e2(0x22d)](V['filter'](_0x37c683=>!_0x37c683[_0xa886e2(0x1f5)]()['startsWith']('__')))['subscribe'](async _0x2e2952=>{var _0x23927a=_0xa886e2;const _0x986ece=_0x2e2952['getUnitId'](),_0x365b68=await this[_0x23927a(0x485)](_0x986ece,Z[_0x23927a(0x497)]);this[_0x23927a(0x48f)][_0x23927a(0x40b)](_0x986ece,_0x365b68);}),H[_0xa886e2(0x4e8)](this[_0xa886e2(0x49d)][_0xa886e2(0x3a3)](a[_0xa886e2(0x4af)][_0xa886e2(0x336)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xa886e2(0x4af)][_0xa886e2(0x497)]))[_0xa886e2(0x22d)](H[_0xa886e2(0x4f6)](this[_0xa886e2(0x3f0)]))[_0xa886e2(0x3b8)](_0xb27a36=>{var _0x4c93ab=_0xa886e2;const _0x52a771=_0xb27a36[_0x4c93ab(0x1f5)](),_0x15c317=this['_entities'][_0x4c93ab(0x452)](_0x52a771);_0x15c317&&(_0x15c317[_0x4c93ab(0x49f)](),this['_entities'][_0x4c93ab(0x3b0)](_0x52a771));});}async['_startCollaboration'](_0x398e31,_0x308267){var _0x4c2af7=_0x5e99b1;const _0x49e87c=await this[_0x4c2af7(0x17d)][_0x4c2af7(0x487)](_0x398e31),_0x5301f8=this['_injector']['createInstance'](this[_0x4c2af7(0x217)](_0x308267),_0x398e31,_0x308267,_0x49e87c);return await _0x5301f8[_0x4c2af7(0x257)](),this[_0x4c2af7(0x3ac)][_0x4c2af7(0x352)](_0x5301f8),_0x5301f8;}[_0x5e99b1(0x217)](_0x563bd7){var _0x28ec29=_0x5e99b1;switch(_0x563bd7){case Z['UNIVER_DOC']:return exports[_0x28ec29(0x3b7)];case Z[_0x28ec29(0x336)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x28ec29(0x48c)+_0x563bd7);}}},exports[_0x5e99b1(0x28d)]=Ai([we(0x0,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),we(0x1,a[_0x5e99b1(0x1a2)](exports['CollaborationSessionService'])),we(0x2,a[_0x5e99b1(0x174)])],exports[_0x5e99b1(0x28d)]);var Li=Object[_0x5e99b1(0x4cc)],Mi=Object[_0x5e99b1(0x2a0)],xi=(_0x38eb28,_0x3c8682,_0x5aa870,_0x4245db)=>{var _0x47b2d7=_0x5e99b1;for(var _0x5c75af=_0x4245db>0x1?void 0x0:_0x4245db?Mi(_0x3c8682,_0x5aa870):_0x3c8682,_0x471828=_0x38eb28[_0x47b2d7(0x36d)]-0x1,_0x436fd3;_0x471828>=0x0;_0x471828--)(_0x436fd3=_0x38eb28[_0x471828])&&(_0x5c75af=(_0x4245db?_0x436fd3(_0x3c8682,_0x5aa870,_0x5c75af):_0x436fd3(_0x5c75af))||_0x5c75af);return _0x4245db&&_0x5c75af&&Li(_0x3c8682,_0x5aa870,_0x5c75af),_0x5c75af;},Xe=(_0x17b485,_0x309df3)=>(_0x4b5a53,_0x5964f0)=>_0x309df3(_0x4b5a53,_0x5964f0,_0x17b485);const ji=_0x5e99b1(0x30e),$i='Univer';let $e=class extends a['Disposable']{constructor(_0x3cee15,_0x36f90e){var _0x4b2026=_0x5e99b1;super(),this[_0x4b2026(0x49d)]=_0x3cee15,this[_0x4b2026(0x26b)]=_0x36f90e,this[_0x4b2026(0x197)]();}['_init'](){var _0x39d781=_0x5e99b1;this[_0x39d781(0x2b3)](this['_univerInstanceService'][_0x39d781(0x322)][_0x39d781(0x3b8)](()=>{var _0x1a3e4b=_0x39d781,_0x29f179;const _0x81d82b=this[_0x1a3e4b(0x49d)][_0x1a3e4b(0x1c8)]();let _0x53e557=(_0x29f179=this[_0x1a3e4b(0x26b)]['getConfig'](ji))!=null?_0x29f179:$i;_0x81d82b instanceof a[_0x1a3e4b(0x435)]&&(_0x53e557=_0x81d82b[_0x1a3e4b(0x33a)]),document[_0x1a3e4b(0x29d)]=_0x53e557;}));}};$e=xi([Xe(0x0,a[_0x5e99b1(0x174)]),Xe(0x1,a[_0x5e99b1(0x289)])],$e);var Hi=Object[_0x5e99b1(0x4cc)],ki=Object['getOwnPropertyDescriptor'],Bi=(_0x29ca8c,_0x5e8b5e,_0x4d7c7b,_0x34a000)=>{var _0x1ccc2d=_0x5e99b1;for(var _0x50236c=_0x34a000>0x1?void 0x0:_0x34a000?ki(_0x5e8b5e,_0x4d7c7b):_0x5e8b5e,_0x4aef03=_0x29ca8c[_0x1ccc2d(0x36d)]-0x1,_0x4c28f1;_0x4aef03>=0x0;_0x4aef03--)(_0x4c28f1=_0x29ca8c[_0x4aef03])&&(_0x50236c=(_0x34a000?_0x4c28f1(_0x5e8b5e,_0x4d7c7b,_0x50236c):_0x4c28f1(_0x50236c))||_0x50236c);return _0x34a000&&_0x50236c&&Hi(_0x5e8b5e,_0x4d7c7b,_0x50236c),_0x50236c;},Ae=(_0x11a083,_0x484b5c)=>(_0x5df647,_0x409684)=>_0x484b5c(_0x5df647,_0x409684,_0x11a083);let ye=class{constructor(_0x3f4b70,_0x3a8270,_0x5d29cf){var _0x51fae5=_0x5e99b1;this[_0x51fae5(0x26b)]=_0x3f4b70,this[_0x51fae5(0x2e6)]=_0x3a8270,this['localeService']=_0x5d29cf,this[_0x51fae5(0x257)]();}[_0x5e99b1(0x257)](){var _0x4791d1=_0x5e99b1;this[_0x4791d1(0x2e6)][_0x4791d1(0x302)]({'priority':0x1,'interceptor':(_0x54d8c6,_0xa10e35)=>_0xa10e35(_0x54d8c6)[_0x4791d1(0x22d)](H[_0x4791d1(0x3da)](async _0xfb070d=>{var _0x2ae98a=_0x4791d1;const _0x4e4061=_0xfb070d;if(_0x4e4061[_0x2ae98a(0x3d6)]===0x191){if(typeof window>'u')throw new Error(_0x2ae98a(0x235));if(window['confirm'](this[_0x2ae98a(0x268)]['t']('auth.needGotoLoginAlert'))){const _0x4f1f4e=window[_0x2ae98a(0x1d8)](window[_0x2ae98a(0x466)][_0x2ae98a(0x424)]);window['location'][_0x2ae98a(0x424)]=this[_0x2ae98a(0x494)]()+_0x2ae98a(0x2bf)+_0x4f1f4e;}}return _0x4e4061;}))});}[_0x5e99b1(0x494)](){var _0xedcd06=_0x5e99b1,_0x2c48bf,_0x3517da;const _0x113290=this[_0xedcd06(0x26b)][_0xedcd06(0x26d)](Ct),_0x557602=this[_0xedcd06(0x26b)][_0xedcd06(0x26d)](q);return(_0x3517da=(_0x2c48bf=_0x557602==null?void 0x0:_0x557602[_0xedcd06(0x1cd)])!=null?_0x2c48bf:_0x113290)!=null?_0x3517da:zt;}};ye=Bi([Ae(0x0,a[_0x5e99b1(0x289)]),Ae(0x1,a[_0x5e99b1(0x1a2)](z[_0x5e99b1(0x2b2)])),Ae(0x2,a[_0x5e99b1(0x1a2)](a['LocaleService']))],ye);var Fi=Object[_0x5e99b1(0x4cc)],Wi=Object['getOwnPropertyDescriptor'],Vi=(_0x34d6ae,_0x35bc9a,_0x54c7e9,_0x545d9f)=>{var _0x388182=_0x5e99b1;for(var _0x3d87a2=_0x545d9f>0x1?void 0x0:_0x545d9f?Wi(_0x35bc9a,_0x54c7e9):_0x35bc9a,_0x8fc67a=_0x34d6ae[_0x388182(0x36d)]-0x1,_0x128204;_0x8fc67a>=0x0;_0x8fc67a--)(_0x128204=_0x34d6ae[_0x8fc67a])&&(_0x3d87a2=(_0x545d9f?_0x128204(_0x35bc9a,_0x54c7e9,_0x3d87a2):_0x128204(_0x3d87a2))||_0x3d87a2);return _0x545d9f&&_0x3d87a2&&Fi(_0x35bc9a,_0x54c7e9,_0x3d87a2),_0x3d87a2;},Ze=(_0x53c1f5,_0xd79f0e)=>(_0x373c67,_0x37e4d3)=>_0xd79f0e(_0x373c67,_0x37e4d3,_0x53c1f5);const Ge=_0x5e99b1(0x28e),Gi=_0x5e99b1(0x46a);exports['AuthzIoHttpService']=class extends a[_0x5e99b1(0x346)]{constructor(_0x257674,_0x22a01c){var _0x24667c=_0x5e99b1;super(),this['_HTTPService']=_0x257674,this[_0x24667c(0x26b)]=_0x22a01c,this[_0x24667c(0x18c)]();}['_initMergeInterceptor'](){var _0x337a62=_0x5e99b1;const _0x5109f4=this;this['disposeWithMe'](this[_0x337a62(0x395)][_0x337a62(0x302)]({'priority':0x3e7,'interceptor':z[_0x337a62(0x374)]({'isMatch'(_0xb1a05b){var _0x66d50a=_0x337a62,_0x183d1c;if(_0xb1a05b['method']===_0x66d50a(0x345)&&((_0x183d1c=_0xb1a05b[_0x66d50a(0x44d)])!=null&&_0x183d1c['body'])){const {objectID:_0x5dd578,objectType:_0x44a216}=_0xb1a05b['requestParams'][_0x66d50a(0x3f9)]||{};if(!_0x5dd578||_0x44a216===void 0x0)return!0x1;const _0x375439=_0x5109f4['_getAPIPrefixPath']()+'/'+_0x44a216+_0x66d50a(0x4e4)+_0x5dd578+_0x66d50a(0x491);if(_0xb1a05b[_0x66d50a(0x3b4)]===_0x375439)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51c12a){var _0xf0f3a0=_0x337a62,_0x144345;return(_0x144345=_0x51c12a['requestParams'])==null?void 0x0:_0x144345[_0xf0f3a0(0x3f9)];},'mergeParamsToRequest'(_0x575831,_0x31d7c4){var _0x79739e=_0x337a62;const _0x20712c=_0x5109f4['_getAPIPrefixPath']()+_0x79739e(0x37e),_0x2fb08c=_0x575831['reduce']((_0x5dfd90,_0x67c763)=>{var _0x56399c=_0x79739e;const {unitID:_0x18b37b,objectID:_0x4916af,objectType:_0x43b258,actions:_0x2ca7dd}=_0x67c763;return _0x5dfd90[_0x18b37b]||(_0x5dfd90[_0x18b37b]={}),_0x5dfd90[_0x18b37b][_0x4916af]||(_0x5dfd90[_0x18b37b][_0x4916af]={'objectID':_0x4916af,'objectType':_0x43b258,'actions':[]}),_0x5dfd90[_0x18b37b][_0x4916af]['actions'][_0x56399c(0x2f5)](..._0x2ca7dd),_0x5dfd90;},{}),_0x561fa1=[];for(const _0x438a60 in _0x2fb08c)for(const _0x2c8087 in _0x2fb08c[_0x438a60]){const {actions:_0x1c8d18,objectType:_0x1c1cb8}=_0x2fb08c[_0x438a60][_0x2c8087],_0x4bdee0=[...new Set(_0x1c8d18)];_0x561fa1[_0x79739e(0x2f5)]({'unitID':_0x438a60,'objectID':_0x2c8087,'objectType':_0x1c1cb8,'actions':_0x4bdee0});}return new z[(_0x79739e(0x362))](_0x79739e(0x345),_0x20712c,{'headers':_0x31d7c4[_0x79739e(0x4bb)],'withCredentials':_0x31d7c4[_0x79739e(0x2c4)],'responseType':_0x31d7c4['responseType'],'body':{'requests':_0x561fa1}});}},{'distributeResult'(_0x265c49,_0x128ccc){const {objectActions:_0x43a31a}=_0x265c49;return _0x128ccc['map'](_0x4c634c=>{var _0x3a4282=_0x54fb;const {unitID:_0x44e5aa,objectID:_0x1c4528,actions:_0xd6bd8b}=_0x4c634c,_0x1aa69d=_0x43a31a[_0x3a4282(0x4a2)](_0x16ae1f=>_0x16ae1f[_0x3a4282(0x413)]===_0x44e5aa&&_0x16ae1f['objectID']===_0x1c4528),_0x18c2f4=_0xd6bd8b[_0x3a4282(0x47a)](_0x1ae8de=>_0x1aa69d==null?void 0x0:_0x1aa69d[_0x3a4282(0x2c9)][_0x3a4282(0x4a2)](_0x2f656c=>_0x2f656c['action']===_0x1ae8de))[_0x3a4282(0x3b1)](_0x63520f=>!!_0x63520f);return{'config':_0x4c634c,'result':{'actions':_0x18c2f4,'error':_0x265c49[_0x3a4282(0x350)]}};});}})}));}[_0x5e99b1(0x1b8)](){var _0x36f81e=_0x5e99b1,_0x2fb314,_0x2f62e4;const _0x243fe2=this[_0x36f81e(0x26b)][_0x36f81e(0x26d)](Ge),_0x2d52a4=this[_0x36f81e(0x26b)][_0x36f81e(0x26d)](q);return(_0x2f62e4=(_0x2fb314=_0x2d52a4==null?void 0x0:_0x2d52a4[_0x36f81e(0x1f3)])!=null?_0x2fb314:_0x243fe2)!=null?_0x2f62e4:Gi;}async['create'](_0x2c7107){var _0x6e00e=_0x5e99b1;const _0x495db5=this[_0x6e00e(0x1b8)]()+'/'+_0x2c7107[_0x6e00e(0x372)]+'/object';return(await this['_HTTPService'][_0x6e00e(0x460)](_0x495db5,{'body':_0x2c7107}))['body'][_0x6e00e(0x35f)]||'';}async[_0x5e99b1(0x4e2)](_0x5cf575){var _0x412928=_0x5e99b1;const _0x33960c=this[_0x412928(0x1b8)]()+_0x412928(0x313);return(await this['_HTTPService']['post'](_0x33960c,{'body':_0x5cf575}))[_0x412928(0x3f9)][_0x412928(0x386)];}async['update'](_0x5b1221){var _0x5d592f=_0x5e99b1;const _0x3b1f09=this[_0x5d592f(0x1b8)]()+'/'+_0x5b1221[_0x5d592f(0x372)]+_0x5d592f(0x4e4)+_0x5b1221[_0x5d592f(0x35f)];await this[_0x5d592f(0x395)]['put'](_0x3b1f09,{'body':_0x5b1221});}async[_0x5e99b1(0x25e)](_0x87a354){var _0x240c61=_0x5e99b1;const _0x1bae69=this[_0x240c61(0x1b8)]()+'/'+_0x87a354['objectType']+_0x240c61(0x4e4)+_0x87a354[_0x240c61(0x35f)]+'/allowed';return(await this[_0x240c61(0x395)][_0x240c61(0x460)](_0x1bae69,{'body':_0x87a354}))['body'][_0x240c61(0x2c9)];}async['batchAllowed'](_0x998071){var _0x21d7f6=_0x5e99b1;const _0x216a69=this[_0x21d7f6(0x1b8)]()+_0x21d7f6(0x37e);return(await this[_0x21d7f6(0x395)][_0x21d7f6(0x460)](_0x216a69,{'body':{'requests':_0x998071}}))['body'][_0x21d7f6(0x37b)];}async[_0x5e99b1(0x326)](_0x4c53bb){var _0x2119be=_0x5e99b1;const _0x1785f2=this[_0x2119be(0x1b8)]()+'/'+_0x4c53bb[_0x2119be(0x372)]+'/role',_0x3b1911=await this[_0x2119be(0x395)][_0x2119be(0x460)](_0x1785f2,{'body':_0x4c53bb});return{'roles':_0x3b1911[_0x2119be(0x3f9)][_0x2119be(0x365)],'actions':_0x3b1911[_0x2119be(0x3f9)]['actions']};}async[_0x5e99b1(0x171)](_0x183936){var _0x22c5a3=_0x5e99b1;const _0x2c33ee=this[_0x22c5a3(0x1b8)]()+_0x22c5a3(0x356);await this[_0x22c5a3(0x395)][_0x22c5a3(0x3b0)](_0x2c33ee,{'params':{'collaboratorID':_0x183936[_0x22c5a3(0x46d)],'objectID':_0x183936[_0x22c5a3(0x35f)],'unitID':_0x183936[_0x22c5a3(0x413)]}});}async[_0x5e99b1(0x214)](_0x27cd1b){var _0x4c5bcf=_0x5e99b1;const _0x107818=this[_0x4c5bcf(0x1b8)]()+'/collaborator';await this[_0x4c5bcf(0x395)][_0x4c5bcf(0x4f0)](_0x107818,{'body':_0x27cd1b});}async[_0x5e99b1(0x19b)](_0x70904d){var _0xb0d555=_0x5e99b1;const _0xdde537=this[_0xb0d555(0x1b8)]()+_0xb0d555(0x356);await this[_0xb0d555(0x395)]['post'](_0xdde537,{'body':_0x70904d});}async[_0x5e99b1(0x3b6)](_0x44b006){var _0x577be6=_0x5e99b1;const _0x16ba70=this[_0x577be6(0x1b8)]()+_0x577be6(0x356);return(await this['_HTTPService'][_0x577be6(0x452)](_0x16ba70,{'params':{'objectID':_0x44b006[_0x577be6(0x35f)],'unitID':_0x44b006['unitID']}}))[_0x577be6(0x3f9)]['collaborators'];}async[_0x5e99b1(0x4de)](_0x279f10){var _0x87be84=_0x5e99b1;const _0x3de966=this['_getAPIPrefixPath']()+_0x87be84(0x356);await this[_0x87be84(0x395)][_0x87be84(0x43a)](_0x3de966,{'body':_0x279f10});}},exports[_0x5e99b1(0x347)]=Vi([Ze(0x0,a['Inject'](z[_0x5e99b1(0x2b2)])),Ze(0x1,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x289)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x4cb5b5){var _0x104ecf=_0x5e99b1;return _0x4cb5b5&&_0x4cb5b5[_0x104ecf(0x219)]&&Object[_0x104ecf(0x1d7)][_0x104ecf(0x3bd)]['call'](_0x4cb5b5,_0x104ecf(0x1ea))?_0x4cb5b5[_0x104ecf(0x1ea)]:_0x4cb5b5;}var Se={'exports':{}};function Ki(_0x93cb4e){var _0x1feea8=_0x5e99b1;throw new Error(_0x1feea8(0x228)+_0x93cb4e+_0x1feea8(0x31e));}var pe={'exports':{}},Yi=pe['exports'],Qe;function ee(){var _0x4fe2b7=_0x5e99b1;return Qe||(Qe=0x1,function(_0x18c634,_0x981fbd){(function(_0x13b944,_0x4dd9bf){var _0x492032=_0x54fb;_0x18c634[_0x492032(0x2fa)]=_0x4dd9bf();}(Yi,function(){var _0x44a292=_0x44a292||function(_0x22c4da,_0x225702){var _0x1e1cb4=_0x54fb,_0x4d1d1f;if(typeof window<'u'&&window[_0x1e1cb4(0x245)]&&(_0x4d1d1f=window[_0x1e1cb4(0x245)]),typeof self<'u'&&self[_0x1e1cb4(0x245)]&&(_0x4d1d1f=self[_0x1e1cb4(0x245)]),typeof globalThis<'u'&&globalThis[_0x1e1cb4(0x245)]&&(_0x4d1d1f=globalThis[_0x1e1cb4(0x245)]),!_0x4d1d1f&&typeof window<'u'&&window[_0x1e1cb4(0x178)]&&(_0x4d1d1f=window[_0x1e1cb4(0x178)]),!_0x4d1d1f&&typeof Le<'u'&&Le[_0x1e1cb4(0x245)]&&(_0x4d1d1f=Le[_0x1e1cb4(0x245)]),!_0x4d1d1f&&typeof Ki=='function')try{_0x4d1d1f=require(_0x1e1cb4(0x245));}catch{}var _0x240a3a=function(){var _0x2c5421=_0x1e1cb4;if(_0x4d1d1f){if(typeof _0x4d1d1f[_0x2c5421(0x2a4)]=='function')try{return _0x4d1d1f[_0x2c5421(0x2a4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4d1d1f[_0x2c5421(0x2de)]==_0x2c5421(0x2ef))try{return _0x4d1d1f['randomBytes'](0x4)[_0x2c5421(0x2cb)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5f2cf0=Object[_0x1e1cb4(0x37c)]||(function(){function _0xb9cc18(){}return function(_0x225309){var _0x269aaf=_0x54fb,_0x28d441;return _0xb9cc18[_0x269aaf(0x1d7)]=_0x225309,_0x28d441=new _0xb9cc18(),_0xb9cc18[_0x269aaf(0x1d7)]=null,_0x28d441;};}()),_0x50a044={},_0x31ef4a=_0x50a044[_0x1e1cb4(0x35a)]={},_0x5c9e99=_0x31ef4a['Base']=(function(){return{'extend':function(_0x4dbf9d){var _0x3c06ae=_0x54fb,_0x38c0bd=_0x5f2cf0(this);return _0x4dbf9d&&_0x38c0bd[_0x3c06ae(0x312)](_0x4dbf9d),(!_0x38c0bd[_0x3c06ae(0x3bd)](_0x3c06ae(0x257))||this[_0x3c06ae(0x257)]===_0x38c0bd[_0x3c06ae(0x257)])&&(_0x38c0bd[_0x3c06ae(0x257)]=function(){var _0x4f8180=_0x3c06ae;_0x38c0bd[_0x4f8180(0x20f)][_0x4f8180(0x257)][_0x4f8180(0x213)](this,arguments);}),_0x38c0bd[_0x3c06ae(0x257)]['prototype']=_0x38c0bd,_0x38c0bd['$super']=this,_0x38c0bd;},'create':function(){var _0x42fe7c=_0x54fb,_0x20b6b8=this['extend']();return _0x20b6b8[_0x42fe7c(0x257)][_0x42fe7c(0x213)](_0x20b6b8,arguments),_0x20b6b8;},'init':function(){},'mixIn':function(_0x2b6c31){var _0x4aaca6=_0x54fb;for(var _0x3bf5ee in _0x2b6c31)_0x2b6c31[_0x4aaca6(0x3bd)](_0x3bf5ee)&&(this[_0x3bf5ee]=_0x2b6c31[_0x3bf5ee]);_0x2b6c31['hasOwnProperty']('toString')&&(this[_0x4aaca6(0x249)]=_0x2b6c31['toString']);},'clone':function(){var _0x3e4aad=_0x54fb;return this['init'][_0x3e4aad(0x1d7)]['extend'](this);}};}()),_0x361c64=_0x31ef4a[_0x1e1cb4(0x1b6)]=_0x5c9e99[_0x1e1cb4(0x292)]({'init':function(_0x108a4f,_0x30e7b4){var _0x564bc7=_0x1e1cb4;_0x108a4f=this[_0x564bc7(0x2c6)]=_0x108a4f||[],_0x30e7b4!=_0x225702?this[_0x564bc7(0x38a)]=_0x30e7b4:this['sigBytes']=_0x108a4f[_0x564bc7(0x36d)]*0x4;},'toString':function(_0x415087){var _0x136bc6=_0x1e1cb4;return(_0x415087||_0x209ee8)[_0x136bc6(0x305)](this);},'concat':function(_0x10f886){var _0x4c96ef=_0x1e1cb4,_0x411561=this[_0x4c96ef(0x2c6)],_0x1a6673=_0x10f886['words'],_0x4ae10e=this[_0x4c96ef(0x38a)],_0x12451d=_0x10f886[_0x4c96ef(0x38a)];if(this[_0x4c96ef(0x4f3)](),_0x4ae10e%0x4)for(var _0x57cbd4=0x0;_0x57cbd4<_0x12451d;_0x57cbd4++){var _0x1c61bc=_0x1a6673[_0x57cbd4>>>0x2]>>>0x18-_0x57cbd4%0x4*0x8&0xff;_0x411561[_0x4ae10e+_0x57cbd4>>>0x2]|=_0x1c61bc<<0x18-(_0x4ae10e+_0x57cbd4)%0x4*0x8;}else{for(var _0x4c299c=0x0;_0x4c299c<_0x12451d;_0x4c299c+=0x4)_0x411561[_0x4ae10e+_0x4c299c>>>0x2]=_0x1a6673[_0x4c299c>>>0x2];}return this[_0x4c96ef(0x38a)]+=_0x12451d,this;},'clamp':function(){var _0x2878b5=_0x1e1cb4,_0x17ddf2=this['words'],_0x1999fd=this[_0x2878b5(0x38a)];_0x17ddf2[_0x1999fd>>>0x2]&=0xffffffff<<0x20-_0x1999fd%0x4*0x8,_0x17ddf2[_0x2878b5(0x36d)]=_0x22c4da['ceil'](_0x1999fd/0x4);},'clone':function(){var _0x37915b=_0x1e1cb4,_0x4f566b=_0x5c9e99['clone'][_0x37915b(0x1fb)](this);return _0x4f566b['words']=this[_0x37915b(0x2c6)]['slice'](0x0),_0x4f566b;},'random':function(_0x205290){var _0x3ad820=_0x1e1cb4;for(var _0x1014d3=[],_0x36dcbb=0x0;_0x36dcbb<_0x205290;_0x36dcbb+=0x4)_0x1014d3[_0x3ad820(0x2f5)](_0x240a3a());return new _0x361c64['init'](_0x1014d3,_0x205290);}}),_0x23dba0=_0x50a044[_0x1e1cb4(0x3ee)]={},_0x209ee8=_0x23dba0['Hex']={'stringify':function(_0x5115ad){var _0x31aef9=_0x1e1cb4;for(var _0x1c548a=_0x5115ad['words'],_0x16212b=_0x5115ad[_0x31aef9(0x38a)],_0xd254a=[],_0x4b4a7c=0x0;_0x4b4a7c<_0x16212b;_0x4b4a7c++){var _0x5add41=_0x1c548a[_0x4b4a7c>>>0x2]>>>0x18-_0x4b4a7c%0x4*0x8&0xff;_0xd254a[_0x31aef9(0x2f5)]((_0x5add41>>>0x4)[_0x31aef9(0x249)](0x10)),_0xd254a[_0x31aef9(0x2f5)]((_0x5add41&0xf)[_0x31aef9(0x249)](0x10));}return _0xd254a[_0x31aef9(0x27a)]('');},'parse':function(_0x280411){var _0x42104c=_0x1e1cb4;for(var _0x4cabf2=_0x280411[_0x42104c(0x36d)],_0x4c8670=[],_0xfd9e9a=0x0;_0xfd9e9a<_0x4cabf2;_0xfd9e9a+=0x2)_0x4c8670[_0xfd9e9a>>>0x3]|=parseInt(_0x280411[_0x42104c(0x4a3)](_0xfd9e9a,0x2),0x10)<<0x18-_0xfd9e9a%0x8*0x4;return new _0x361c64[(_0x42104c(0x257))](_0x4c8670,_0x4cabf2/0x2);}},_0x4f1485=_0x23dba0[_0x1e1cb4(0x404)]={'stringify':function(_0x21953a){var _0x4db3ea=_0x1e1cb4;for(var _0x172ff1=_0x21953a[_0x4db3ea(0x2c6)],_0x1cf48c=_0x21953a[_0x4db3ea(0x38a)],_0x51de9b=[],_0x403f22=0x0;_0x403f22<_0x1cf48c;_0x403f22++){var _0x437fe9=_0x172ff1[_0x403f22>>>0x2]>>>0x18-_0x403f22%0x4*0x8&0xff;_0x51de9b[_0x4db3ea(0x2f5)](String[_0x4db3ea(0x234)](_0x437fe9));}return _0x51de9b[_0x4db3ea(0x27a)]('');},'parse':function(_0x591610){var _0x5c1fe0=_0x1e1cb4;for(var _0x32c104=_0x591610[_0x5c1fe0(0x36d)],_0x485d62=[],_0x2b9e9c=0x0;_0x2b9e9c<_0x32c104;_0x2b9e9c++)_0x485d62[_0x2b9e9c>>>0x2]|=(_0x591610[_0x5c1fe0(0x25d)](_0x2b9e9c)&0xff)<<0x18-_0x2b9e9c%0x4*0x8;return new _0x361c64[(_0x5c1fe0(0x257))](_0x485d62,_0x32c104);}},_0x6c99f8=_0x23dba0[_0x1e1cb4(0x1e6)]={'stringify':function(_0x1602c4){var _0x55c6a0=_0x1e1cb4;try{return decodeURIComponent(escape(_0x4f1485[_0x55c6a0(0x305)](_0x1602c4)));}catch{throw new Error(_0x55c6a0(0x455));}},'parse':function(_0x16daff){var _0x558809=_0x1e1cb4;return _0x4f1485[_0x558809(0x36c)](unescape(encodeURIComponent(_0x16daff)));}},_0x1afcb3=_0x31ef4a[_0x1e1cb4(0x244)]=_0x5c9e99[_0x1e1cb4(0x292)]({'reset':function(){var _0x1a7758=_0x1e1cb4;this[_0x1a7758(0x382)]=new _0x361c64['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x5ab22f){var _0x22898d=_0x1e1cb4;typeof _0x5ab22f==_0x22898d(0x1f2)&&(_0x5ab22f=_0x6c99f8['parse'](_0x5ab22f)),this[_0x22898d(0x382)][_0x22898d(0x1eb)](_0x5ab22f),this[_0x22898d(0x49c)]+=_0x5ab22f[_0x22898d(0x38a)];},'_process':function(_0x159e39){var _0x4b0d65=_0x1e1cb4,_0x14441e,_0x335360=this['_data'],_0x2c9543=_0x335360[_0x4b0d65(0x2c6)],_0x2a9386=_0x335360[_0x4b0d65(0x38a)],_0x1a7d90=this[_0x4b0d65(0x1b4)],_0x3b819d=_0x1a7d90*0x4,_0x3439a0=_0x2a9386/_0x3b819d;_0x159e39?_0x3439a0=_0x22c4da['ceil'](_0x3439a0):_0x3439a0=_0x22c4da[_0x4b0d65(0x2ec)]((_0x3439a0|0x0)-this[_0x4b0d65(0x45b)],0x0);var _0x315f09=_0x3439a0*_0x1a7d90,_0x19b222=_0x22c4da[_0x4b0d65(0x2b9)](_0x315f09*0x4,_0x2a9386);if(_0x315f09){for(var _0x39a3e2=0x0;_0x39a3e2<_0x315f09;_0x39a3e2+=_0x1a7d90)this[_0x4b0d65(0x2fd)](_0x2c9543,_0x39a3e2);_0x14441e=_0x2c9543[_0x4b0d65(0x4b6)](0x0,_0x315f09),_0x335360[_0x4b0d65(0x38a)]-=_0x19b222;}return new _0x361c64['init'](_0x14441e,_0x19b222);},'clone':function(){var _0x2feb09=_0x1e1cb4,_0x2b7ca8=_0x5c9e99[_0x2feb09(0x224)]['call'](this);return _0x2b7ca8[_0x2feb09(0x382)]=this['_data']['clone'](),_0x2b7ca8;},'_minBufferSize':0x0});_0x31ef4a[_0x1e1cb4(0x329)]=_0x1afcb3[_0x1e1cb4(0x292)]({'cfg':_0x5c9e99[_0x1e1cb4(0x292)](),'init':function(_0x485eb9){var _0x4f7097=_0x1e1cb4;this[_0x4f7097(0x4da)]=this[_0x4f7097(0x4da)]['extend'](_0x485eb9),this[_0x4f7097(0x33b)]();},'reset':function(){var _0x5bd215=_0x1e1cb4;_0x1afcb3[_0x5bd215(0x33b)][_0x5bd215(0x1fb)](this),this[_0x5bd215(0x4dd)]();},'update':function(_0x259a39){return this['_append'](_0x259a39),this['_process'](),this;},'finalize':function(_0x3d0057){var _0x17cbb1=_0x1e1cb4;_0x3d0057&&this[_0x17cbb1(0x45c)](_0x3d0057);var _0x59f5d8=this[_0x17cbb1(0x3a4)]();return _0x59f5d8;},'blockSize':0x10,'_createHelper':function(_0x42df92){return function(_0x35a71e,_0x2f5241){var _0x5182e5=_0x54fb;return new _0x42df92[(_0x5182e5(0x257))](_0x2f5241)[_0x5182e5(0x315)](_0x35a71e);};},'_createHmacHelper':function(_0x559e87){return function(_0x1ffa57,_0x20f7e1){var _0x5a2495=_0x54fb;return new _0x44943b[(_0x5a2495(0x37a))][(_0x5a2495(0x257))](_0x559e87,_0x20f7e1)[_0x5a2495(0x315)](_0x1ffa57);};}});var _0x44943b=_0x50a044[_0x1e1cb4(0x1da)]={};return _0x50a044;}(Math);return _0x44a292;}));}(pe)),pe[_0x4fe2b7(0x2fa)];}var ge={'exports':{}},qi=ge[_0x5e99b1(0x2fa)],et;function Dt(){var _0x9bf675=_0x5e99b1;return et||(et=0x1,function(_0x4c631f,_0x519411){(function(_0x43104b,_0x168b82){var _0x4fbed5=_0x54fb;_0x4c631f[_0x4fbed5(0x2fa)]=_0x168b82(ee());}(qi,function(_0x41db8f){var _0x483228=_0x54fb;return(function(){var _0x5879f6=_0x54fb,_0x142153=_0x41db8f,_0x2c11cf=_0x142153[_0x5879f6(0x35a)],_0x457224=_0x2c11cf[_0x5879f6(0x1b6)],_0x563d2a=_0x142153[_0x5879f6(0x3ee)];_0x563d2a[_0x5879f6(0x2cf)]={'stringify':function(_0xeaaf4f){var _0x39f3d9=_0x5879f6,_0x16e2d2=_0xeaaf4f[_0x39f3d9(0x2c6)],_0x1d75c0=_0xeaaf4f[_0x39f3d9(0x38a)],_0x5290b0=this['_map'];_0xeaaf4f[_0x39f3d9(0x4f3)]();for(var _0x2613d1=[],_0x15b95d=0x0;_0x15b95d<_0x1d75c0;_0x15b95d+=0x3)for(var _0x369b89=_0x16e2d2[_0x15b95d>>>0x2]>>>0x18-_0x15b95d%0x4*0x8&0xff,_0x5ca932=_0x16e2d2[_0x15b95d+0x1>>>0x2]>>>0x18-(_0x15b95d+0x1)%0x4*0x8&0xff,_0x15842c=_0x16e2d2[_0x15b95d+0x2>>>0x2]>>>0x18-(_0x15b95d+0x2)%0x4*0x8&0xff,_0x2afeb3=_0x369b89<<0x10|_0x5ca932<<0x8|_0x15842c,_0xe958f=0x0;_0xe958f<0x4&&_0x15b95d+_0xe958f*0.75<_0x1d75c0;_0xe958f++)_0x2613d1[_0x39f3d9(0x2f5)](_0x5290b0[_0x39f3d9(0x432)](_0x2afeb3>>>0x6*(0x3-_0xe958f)&0x3f));var _0x29fc39=_0x5290b0[_0x39f3d9(0x432)](0x40);if(_0x29fc39){for(;_0x2613d1[_0x39f3d9(0x36d)]%0x4;)_0x2613d1['push'](_0x29fc39);}return _0x2613d1[_0x39f3d9(0x27a)]('');},'parse':function(_0x1c3e4f){var _0x1c5de5=_0x5879f6,_0x17b89a=_0x1c3e4f[_0x1c5de5(0x36d)],_0x226f35=this[_0x1c5de5(0x31a)],_0x25ad26=this[_0x1c5de5(0x22b)];if(!_0x25ad26){_0x25ad26=this[_0x1c5de5(0x22b)]=[];for(var _0x22ebfe=0x0;_0x22ebfe<_0x226f35[_0x1c5de5(0x36d)];_0x22ebfe++)_0x25ad26[_0x226f35[_0x1c5de5(0x25d)](_0x22ebfe)]=_0x22ebfe;}var _0x27630d=_0x226f35[_0x1c5de5(0x432)](0x40);if(_0x27630d){var _0x144538=_0x1c3e4f[_0x1c5de5(0x392)](_0x27630d);_0x144538!==-0x1&&(_0x17b89a=_0x144538);}return _0x1483f4(_0x1c3e4f,_0x17b89a,_0x25ad26);},'_map':_0x5879f6(0x246)};function _0x1483f4(_0x2ef590,_0x47efe7,_0x5591ff){var _0x1fe712=_0x5879f6;for(var _0xdb836e=[],_0x21b90b=0x0,_0xae8c49=0x0;_0xae8c49<_0x47efe7;_0xae8c49++)if(_0xae8c49%0x4){var _0x33b6f5=_0x5591ff[_0x2ef590[_0x1fe712(0x25d)](_0xae8c49-0x1)]<<_0xae8c49%0x4*0x2,_0x300e00=_0x5591ff[_0x2ef590[_0x1fe712(0x25d)](_0xae8c49)]>>>0x6-_0xae8c49%0x4*0x2,_0x1c2f95=_0x33b6f5|_0x300e00;_0xdb836e[_0x21b90b>>>0x2]|=_0x1c2f95<<0x18-_0x21b90b%0x4*0x8,_0x21b90b++;}return _0x457224[_0x1fe712(0x37c)](_0xdb836e,_0x21b90b);}}()),_0x41db8f[_0x483228(0x3ee)]['Base64'];}));}(ge)),ge[_0x9bf675(0x2fa)];}var me={'exports':{}},zi=me[_0x5e99b1(0x2fa)],tt;function Ji(){return tt||(tt=0x1,function(_0x26580a,_0x30a2ad){(function(_0x511d1a,_0x423aa8){_0x26580a['exports']=_0x423aa8(ee());}(zi,function(_0x4c4305){var _0xf75e5f=_0x54fb;return function(_0x260d72){var _0x56ea8f=_0x54fb,_0x255b63=_0x4c4305,_0x34ff98=_0x255b63[_0x56ea8f(0x35a)],_0x2923bc=_0x34ff98[_0x56ea8f(0x1b6)],_0x1db6a2=_0x34ff98['Hasher'],_0x3780fc=_0x255b63[_0x56ea8f(0x1da)],_0x225531=[];(function(){var _0x1dc9f3=_0x56ea8f;for(var _0x890412=0x0;_0x890412<0x40;_0x890412++)_0x225531[_0x890412]=_0x260d72[_0x1dc9f3(0x436)](_0x260d72[_0x1dc9f3(0x349)](_0x890412+0x1))*0x100000000|0x0;}());var _0x16eb6e=_0x3780fc['MD5']=_0x1db6a2[_0x56ea8f(0x292)]({'_doReset':function(){var _0x27eaeb=_0x56ea8f;this[_0x27eaeb(0x247)]=new _0x2923bc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f1824,_0x26d75d){var _0x1984aa=_0x56ea8f;for(var _0x35730a=0x0;_0x35730a<0x10;_0x35730a++){var _0x40f915=_0x26d75d+_0x35730a,_0x3a0977=_0x1f1824[_0x40f915];_0x1f1824[_0x40f915]=(_0x3a0977<<0x8|_0x3a0977>>>0x18)&0xff00ff|(_0x3a0977<<0x18|_0x3a0977>>>0x8)&0xff00ff00;}var _0x174f99=this[_0x1984aa(0x247)][_0x1984aa(0x2c6)],_0x3ba9ba=_0x1f1824[_0x26d75d+0x0],_0x38c760=_0x1f1824[_0x26d75d+0x1],_0x3405c0=_0x1f1824[_0x26d75d+0x2],_0x2e2b1b=_0x1f1824[_0x26d75d+0x3],_0x4b8d0b=_0x1f1824[_0x26d75d+0x4],_0x5be08c=_0x1f1824[_0x26d75d+0x5],_0xf535c2=_0x1f1824[_0x26d75d+0x6],_0x24cba4=_0x1f1824[_0x26d75d+0x7],_0x42fc1b=_0x1f1824[_0x26d75d+0x8],_0x53f04d=_0x1f1824[_0x26d75d+0x9],_0x7b1fc0=_0x1f1824[_0x26d75d+0xa],_0x5cd81b=_0x1f1824[_0x26d75d+0xb],_0x155ada=_0x1f1824[_0x26d75d+0xc],_0x38dd1c=_0x1f1824[_0x26d75d+0xd],_0x3815ca=_0x1f1824[_0x26d75d+0xe],_0x4daeef=_0x1f1824[_0x26d75d+0xf],_0x23e994=_0x174f99[0x0],_0x53dfc5=_0x174f99[0x1],_0x24f07f=_0x174f99[0x2],_0x1ec43d=_0x174f99[0x3];_0x23e994=_0x32ed57(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x3ba9ba,0x7,_0x225531[0x0]),_0x1ec43d=_0x32ed57(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x38c760,0xc,_0x225531[0x1]),_0x24f07f=_0x32ed57(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x3405c0,0x11,_0x225531[0x2]),_0x53dfc5=_0x32ed57(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x2e2b1b,0x16,_0x225531[0x3]),_0x23e994=_0x32ed57(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x4b8d0b,0x7,_0x225531[0x4]),_0x1ec43d=_0x32ed57(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x5be08c,0xc,_0x225531[0x5]),_0x24f07f=_0x32ed57(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0xf535c2,0x11,_0x225531[0x6]),_0x53dfc5=_0x32ed57(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x24cba4,0x16,_0x225531[0x7]),_0x23e994=_0x32ed57(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x42fc1b,0x7,_0x225531[0x8]),_0x1ec43d=_0x32ed57(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x53f04d,0xc,_0x225531[0x9]),_0x24f07f=_0x32ed57(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x7b1fc0,0x11,_0x225531[0xa]),_0x53dfc5=_0x32ed57(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x5cd81b,0x16,_0x225531[0xb]),_0x23e994=_0x32ed57(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x155ada,0x7,_0x225531[0xc]),_0x1ec43d=_0x32ed57(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x38dd1c,0xc,_0x225531[0xd]),_0x24f07f=_0x32ed57(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x3815ca,0x11,_0x225531[0xe]),_0x53dfc5=_0x32ed57(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x4daeef,0x16,_0x225531[0xf]),_0x23e994=_0x452b19(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x38c760,0x5,_0x225531[0x10]),_0x1ec43d=_0x452b19(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0xf535c2,0x9,_0x225531[0x11]),_0x24f07f=_0x452b19(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x5cd81b,0xe,_0x225531[0x12]),_0x53dfc5=_0x452b19(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x3ba9ba,0x14,_0x225531[0x13]),_0x23e994=_0x452b19(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x5be08c,0x5,_0x225531[0x14]),_0x1ec43d=_0x452b19(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x7b1fc0,0x9,_0x225531[0x15]),_0x24f07f=_0x452b19(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x4daeef,0xe,_0x225531[0x16]),_0x53dfc5=_0x452b19(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x4b8d0b,0x14,_0x225531[0x17]),_0x23e994=_0x452b19(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x53f04d,0x5,_0x225531[0x18]),_0x1ec43d=_0x452b19(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x3815ca,0x9,_0x225531[0x19]),_0x24f07f=_0x452b19(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x2e2b1b,0xe,_0x225531[0x1a]),_0x53dfc5=_0x452b19(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x42fc1b,0x14,_0x225531[0x1b]),_0x23e994=_0x452b19(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x38dd1c,0x5,_0x225531[0x1c]),_0x1ec43d=_0x452b19(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x3405c0,0x9,_0x225531[0x1d]),_0x24f07f=_0x452b19(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x24cba4,0xe,_0x225531[0x1e]),_0x53dfc5=_0x452b19(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x155ada,0x14,_0x225531[0x1f]),_0x23e994=_0x1f236a(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x5be08c,0x4,_0x225531[0x20]),_0x1ec43d=_0x1f236a(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x42fc1b,0xb,_0x225531[0x21]),_0x24f07f=_0x1f236a(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x5cd81b,0x10,_0x225531[0x22]),_0x53dfc5=_0x1f236a(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x3815ca,0x17,_0x225531[0x23]),_0x23e994=_0x1f236a(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x38c760,0x4,_0x225531[0x24]),_0x1ec43d=_0x1f236a(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x4b8d0b,0xb,_0x225531[0x25]),_0x24f07f=_0x1f236a(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x24cba4,0x10,_0x225531[0x26]),_0x53dfc5=_0x1f236a(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x7b1fc0,0x17,_0x225531[0x27]),_0x23e994=_0x1f236a(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x38dd1c,0x4,_0x225531[0x28]),_0x1ec43d=_0x1f236a(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x3ba9ba,0xb,_0x225531[0x29]),_0x24f07f=_0x1f236a(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x2e2b1b,0x10,_0x225531[0x2a]),_0x53dfc5=_0x1f236a(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0xf535c2,0x17,_0x225531[0x2b]),_0x23e994=_0x1f236a(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x53f04d,0x4,_0x225531[0x2c]),_0x1ec43d=_0x1f236a(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x155ada,0xb,_0x225531[0x2d]),_0x24f07f=_0x1f236a(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x4daeef,0x10,_0x225531[0x2e]),_0x53dfc5=_0x1f236a(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x3405c0,0x17,_0x225531[0x2f]),_0x23e994=_0x332838(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x3ba9ba,0x6,_0x225531[0x30]),_0x1ec43d=_0x332838(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x24cba4,0xa,_0x225531[0x31]),_0x24f07f=_0x332838(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x3815ca,0xf,_0x225531[0x32]),_0x53dfc5=_0x332838(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x5be08c,0x15,_0x225531[0x33]),_0x23e994=_0x332838(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x155ada,0x6,_0x225531[0x34]),_0x1ec43d=_0x332838(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x2e2b1b,0xa,_0x225531[0x35]),_0x24f07f=_0x332838(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x7b1fc0,0xf,_0x225531[0x36]),_0x53dfc5=_0x332838(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x38c760,0x15,_0x225531[0x37]),_0x23e994=_0x332838(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x42fc1b,0x6,_0x225531[0x38]),_0x1ec43d=_0x332838(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x4daeef,0xa,_0x225531[0x39]),_0x24f07f=_0x332838(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0xf535c2,0xf,_0x225531[0x3a]),_0x53dfc5=_0x332838(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x38dd1c,0x15,_0x225531[0x3b]),_0x23e994=_0x332838(_0x23e994,_0x53dfc5,_0x24f07f,_0x1ec43d,_0x4b8d0b,0x6,_0x225531[0x3c]),_0x1ec43d=_0x332838(_0x1ec43d,_0x23e994,_0x53dfc5,_0x24f07f,_0x5cd81b,0xa,_0x225531[0x3d]),_0x24f07f=_0x332838(_0x24f07f,_0x1ec43d,_0x23e994,_0x53dfc5,_0x3405c0,0xf,_0x225531[0x3e]),_0x53dfc5=_0x332838(_0x53dfc5,_0x24f07f,_0x1ec43d,_0x23e994,_0x53f04d,0x15,_0x225531[0x3f]),_0x174f99[0x0]=_0x174f99[0x0]+_0x23e994|0x0,_0x174f99[0x1]=_0x174f99[0x1]+_0x53dfc5|0x0,_0x174f99[0x2]=_0x174f99[0x2]+_0x24f07f|0x0,_0x174f99[0x3]=_0x174f99[0x3]+_0x1ec43d|0x0;},'_doFinalize':function(){var _0x37714a=_0x56ea8f,_0x21eed2=this[_0x37714a(0x382)],_0x29cea4=_0x21eed2[_0x37714a(0x2c6)],_0x28e8e4=this[_0x37714a(0x49c)]*0x8,_0xad7415=_0x21eed2[_0x37714a(0x38a)]*0x8;_0x29cea4[_0xad7415>>>0x5]|=0x80<<0x18-_0xad7415%0x20;var _0xb37c1d=_0x260d72[_0x37714a(0x43f)](_0x28e8e4/0x100000000),_0x584f4b=_0x28e8e4;_0x29cea4[(_0xad7415+0x40>>>0x9<<0x4)+0xf]=(_0xb37c1d<<0x8|_0xb37c1d>>>0x18)&0xff00ff|(_0xb37c1d<<0x18|_0xb37c1d>>>0x8)&0xff00ff00,_0x29cea4[(_0xad7415+0x40>>>0x9<<0x4)+0xe]=(_0x584f4b<<0x8|_0x584f4b>>>0x18)&0xff00ff|(_0x584f4b<<0x18|_0x584f4b>>>0x8)&0xff00ff00,_0x21eed2['sigBytes']=(_0x29cea4[_0x37714a(0x36d)]+0x1)*0x4,this['_process']();for(var _0x529a50=this[_0x37714a(0x247)],_0x50da99=_0x529a50[_0x37714a(0x2c6)],_0x1e223d=0x0;_0x1e223d<0x4;_0x1e223d++){var _0x1304cc=_0x50da99[_0x1e223d];_0x50da99[_0x1e223d]=(_0x1304cc<<0x8|_0x1304cc>>>0x18)&0xff00ff|(_0x1304cc<<0x18|_0x1304cc>>>0x8)&0xff00ff00;}return _0x529a50;},'clone':function(){var _0x4d2900=_0x56ea8f,_0x271891=_0x1db6a2[_0x4d2900(0x224)][_0x4d2900(0x1fb)](this);return _0x271891['_hash']=this[_0x4d2900(0x247)][_0x4d2900(0x224)](),_0x271891;}});function _0x32ed57(_0x18ad03,_0x10f9bb,_0x4c4599,_0x5bbb01,_0x5067f0,_0xb9cc2c,_0xf7c899){var _0x34774e=_0x18ad03+(_0x10f9bb&_0x4c4599|~_0x10f9bb&_0x5bbb01)+_0x5067f0+_0xf7c899;return(_0x34774e<<_0xb9cc2c|_0x34774e>>>0x20-_0xb9cc2c)+_0x10f9bb;}function _0x452b19(_0x63bdb9,_0x4dc567,_0x2f240c,_0x3977a4,_0x59390e,_0x22e4dc,_0x5a77da){var _0x32ffb7=_0x63bdb9+(_0x4dc567&_0x3977a4|_0x2f240c&~_0x3977a4)+_0x59390e+_0x5a77da;return(_0x32ffb7<<_0x22e4dc|_0x32ffb7>>>0x20-_0x22e4dc)+_0x4dc567;}function _0x1f236a(_0x5527c5,_0xae85a0,_0x268e6e,_0x307873,_0x3d636d,_0x2cc4c1,_0xa59057){var _0x5ad1bd=_0x5527c5+(_0xae85a0^_0x268e6e^_0x307873)+_0x3d636d+_0xa59057;return(_0x5ad1bd<<_0x2cc4c1|_0x5ad1bd>>>0x20-_0x2cc4c1)+_0xae85a0;}function _0x332838(_0x3af55d,_0x2f230b,_0xe9bb24,_0xc8837f,_0x20990b,_0x37b3be,_0x207352){var _0x2ce362=_0x3af55d+(_0xe9bb24^(_0x2f230b|~_0xc8837f))+_0x20990b+_0x207352;return(_0x2ce362<<_0x37b3be|_0x2ce362>>>0x20-_0x37b3be)+_0x2f230b;}_0x255b63[_0x56ea8f(0x236)]=_0x1db6a2[_0x56ea8f(0x30c)](_0x16eb6e),_0x255b63[_0x56ea8f(0x295)]=_0x1db6a2['_createHmacHelper'](_0x16eb6e);}(Math),_0x4c4305[_0xf75e5f(0x236)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],it;function Zi(){var _0x593068=_0x5e99b1;return it||(it=0x1,function(_0x21a28e,_0x557910){(function(_0x2c6814,_0x45f8b7){var _0x207d53=_0x54fb;_0x21a28e[_0x207d53(0x2fa)]=_0x45f8b7(ee());}(Xi,function(_0x423b72){var _0x2a514c=_0x54fb;return(function(){var _0x30ebbf=_0x54fb,_0x233161=_0x423b72,_0x3b98d4=_0x233161[_0x30ebbf(0x35a)],_0x2f9a21=_0x3b98d4[_0x30ebbf(0x1b6)],_0x1bd080=_0x3b98d4[_0x30ebbf(0x329)],_0xf28f9d=_0x233161[_0x30ebbf(0x1da)],_0x56c4e8=[],_0x3083bb=_0xf28f9d[_0x30ebbf(0x19d)]=_0x1bd080['extend']({'_doReset':function(){var _0x28fd1b=_0x30ebbf;this[_0x28fd1b(0x247)]=new _0x2f9a21[(_0x28fd1b(0x257))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x39d141,_0x211f63){var _0x26e6f1=_0x30ebbf;for(var _0x50ed1c=this[_0x26e6f1(0x247)][_0x26e6f1(0x2c6)],_0x3dcf0e=_0x50ed1c[0x0],_0x53637c=_0x50ed1c[0x1],_0x10a39b=_0x50ed1c[0x2],_0x1e708a=_0x50ed1c[0x3],_0x4a0091=_0x50ed1c[0x4],_0x22ba93=0x0;_0x22ba93<0x50;_0x22ba93++){if(_0x22ba93<0x10)_0x56c4e8[_0x22ba93]=_0x39d141[_0x211f63+_0x22ba93]|0x0;else{var _0x195b9b=_0x56c4e8[_0x22ba93-0x3]^_0x56c4e8[_0x22ba93-0x8]^_0x56c4e8[_0x22ba93-0xe]^_0x56c4e8[_0x22ba93-0x10];_0x56c4e8[_0x22ba93]=_0x195b9b<<0x1|_0x195b9b>>>0x1f;}var _0xc8dc0d=(_0x3dcf0e<<0x5|_0x3dcf0e>>>0x1b)+_0x4a0091+_0x56c4e8[_0x22ba93];_0x22ba93<0x14?_0xc8dc0d+=(_0x53637c&_0x10a39b|~_0x53637c&_0x1e708a)+0x5a827999:_0x22ba93<0x28?_0xc8dc0d+=(_0x53637c^_0x10a39b^_0x1e708a)+0x6ed9eba1:_0x22ba93<0x3c?_0xc8dc0d+=(_0x53637c&_0x10a39b|_0x53637c&_0x1e708a|_0x10a39b&_0x1e708a)-0x70e44324:_0xc8dc0d+=(_0x53637c^_0x10a39b^_0x1e708a)-0x359d3e2a,_0x4a0091=_0x1e708a,_0x1e708a=_0x10a39b,_0x10a39b=_0x53637c<<0x1e|_0x53637c>>>0x2,_0x53637c=_0x3dcf0e,_0x3dcf0e=_0xc8dc0d;}_0x50ed1c[0x0]=_0x50ed1c[0x0]+_0x3dcf0e|0x0,_0x50ed1c[0x1]=_0x50ed1c[0x1]+_0x53637c|0x0,_0x50ed1c[0x2]=_0x50ed1c[0x2]+_0x10a39b|0x0,_0x50ed1c[0x3]=_0x50ed1c[0x3]+_0x1e708a|0x0,_0x50ed1c[0x4]=_0x50ed1c[0x4]+_0x4a0091|0x0;},'_doFinalize':function(){var _0x1347cd=_0x30ebbf,_0x190169=this[_0x1347cd(0x382)],_0x3c0e2f=_0x190169['words'],_0x491484=this[_0x1347cd(0x49c)]*0x8,_0x2c7b21=_0x190169[_0x1347cd(0x38a)]*0x8;return _0x3c0e2f[_0x2c7b21>>>0x5]|=0x80<<0x18-_0x2c7b21%0x20,_0x3c0e2f[(_0x2c7b21+0x40>>>0x9<<0x4)+0xe]=Math[_0x1347cd(0x43f)](_0x491484/0x100000000),_0x3c0e2f[(_0x2c7b21+0x40>>>0x9<<0x4)+0xf]=_0x491484,_0x190169[_0x1347cd(0x38a)]=_0x3c0e2f[_0x1347cd(0x36d)]*0x4,this[_0x1347cd(0x3cc)](),this[_0x1347cd(0x247)];},'clone':function(){var _0x4ba202=_0x30ebbf,_0x158734=_0x1bd080['clone'][_0x4ba202(0x1fb)](this);return _0x158734[_0x4ba202(0x247)]=this[_0x4ba202(0x247)][_0x4ba202(0x224)](),_0x158734;}});_0x233161[_0x30ebbf(0x19d)]=_0x1bd080['_createHelper'](_0x3083bb),_0x233161[_0x30ebbf(0x44a)]=_0x1bd080[_0x30ebbf(0x21e)](_0x3083bb);}()),_0x423b72[_0x2a514c(0x19d)];}));}(Ee)),Ee[_0x593068(0x2fa)];}var Ce={'exports':{}},Qi=Ce[_0x5e99b1(0x2fa)],nt;function en(){var _0x50b1a3=_0x5e99b1;return nt||(nt=0x1,function(_0x58fab7,_0x27562d){(function(_0x39128c,_0x48cf6c){var _0x33000d=_0x54fb;_0x58fab7[_0x33000d(0x2fa)]=_0x48cf6c(ee());}(Qi,function(_0x34af5d){(function(){var _0x25b312=_0x54fb,_0x2b322a=_0x34af5d,_0x7c407b=_0x2b322a['lib'],_0x209e33=_0x7c407b[_0x25b312(0x441)],_0x41c841=_0x2b322a[_0x25b312(0x3ee)],_0x2a14c4=_0x41c841[_0x25b312(0x1e6)],_0x299e4e=_0x2b322a['algo'];_0x299e4e[_0x25b312(0x37a)]=_0x209e33[_0x25b312(0x292)]({'init':function(_0x2ccc9a,_0x52c526){var _0x52dce7=_0x25b312;_0x2ccc9a=this['_hasher']=new _0x2ccc9a[(_0x52dce7(0x257))](),typeof _0x52c526==_0x52dce7(0x1f2)&&(_0x52c526=_0x2a14c4['parse'](_0x52c526));var _0x54185d=_0x2ccc9a['blockSize'],_0x1f8e75=_0x54185d*0x4;_0x52c526[_0x52dce7(0x38a)]>_0x1f8e75&&(_0x52c526=_0x2ccc9a[_0x52dce7(0x315)](_0x52c526)),_0x52c526[_0x52dce7(0x4f3)]();for(var _0xcb6e3=this['_oKey']=_0x52c526[_0x52dce7(0x224)](),_0x256bd7=this[_0x52dce7(0x2e1)]=_0x52c526[_0x52dce7(0x224)](),_0x31dff9=_0xcb6e3[_0x52dce7(0x2c6)],_0x19f6b4=_0x256bd7[_0x52dce7(0x2c6)],_0x1f35e7=0x0;_0x1f35e7<_0x54185d;_0x1f35e7++)_0x31dff9[_0x1f35e7]^=0x5c5c5c5c,_0x19f6b4[_0x1f35e7]^=0x36363636;_0xcb6e3[_0x52dce7(0x38a)]=_0x256bd7[_0x52dce7(0x38a)]=_0x1f8e75,this[_0x52dce7(0x33b)]();},'reset':function(){var _0x7b9480=_0x25b312,_0x2788a3=this[_0x7b9480(0x3a1)];_0x2788a3[_0x7b9480(0x33b)](),_0x2788a3[_0x7b9480(0x24e)](this[_0x7b9480(0x2e1)]);},'update':function(_0x4bfaff){var _0x1209dc=_0x25b312;return this[_0x1209dc(0x3a1)]['update'](_0x4bfaff),this;},'finalize':function(_0x20aa04){var _0x1a393f=_0x25b312,_0x5f7364=this[_0x1a393f(0x3a1)],_0x2e77e0=_0x5f7364[_0x1a393f(0x315)](_0x20aa04);_0x5f7364['reset']();var _0x46d42b=_0x5f7364[_0x1a393f(0x315)](this[_0x1a393f(0x201)][_0x1a393f(0x224)]()['concat'](_0x2e77e0));return _0x46d42b;}});}());}));}(Ce)),Ce[_0x50b1a3(0x2fa)];}var tn=Ie[_0x5e99b1(0x2fa)],rt;function wt(){var _0x5cc0ee=_0x5e99b1;return rt||(rt=0x1,function(_0x6524a9,_0x5a023c){(function(_0x5bf504,_0x4bd171,_0x206295){var _0x5e40ff=_0x54fb;_0x6524a9[_0x5e40ff(0x2fa)]=_0x4bd171(ee(),Zi(),en());}(tn,function(_0x44afbe){var _0x230f6f=_0x54fb;return(function(){var _0x332630=_0x54fb,_0x3b8f9b=_0x44afbe,_0x2becee=_0x3b8f9b[_0x332630(0x35a)],_0x16b847=_0x2becee[_0x332630(0x441)],_0x3c4936=_0x2becee[_0x332630(0x1b6)],_0x2ecfdd=_0x3b8f9b[_0x332630(0x1da)],_0xcf90a4=_0x2ecfdd[_0x332630(0x236)],_0x5e87d0=_0x2ecfdd[_0x332630(0x231)]=_0x16b847[_0x332630(0x292)]({'cfg':_0x16b847[_0x332630(0x292)]({'keySize':0x80/0x20,'hasher':_0xcf90a4,'iterations':0x1}),'init':function(_0xb06707){var _0x152dd7=_0x332630;this[_0x152dd7(0x4da)]=this['cfg'][_0x152dd7(0x292)](_0xb06707);},'compute':function(_0x38cecc,_0x3b9360){var _0x4254b0=_0x332630;for(var _0x33b1dd,_0xf4b142=this['cfg'],_0x73b08a=_0xf4b142[_0x4254b0(0x1e8)][_0x4254b0(0x37c)](),_0x5c438d=_0x3c4936[_0x4254b0(0x37c)](),_0x1cf4c2=_0x5c438d['words'],_0x4b79bb=_0xf4b142[_0x4254b0(0x3ff)],_0x4100cd=_0xf4b142['iterations'];_0x1cf4c2[_0x4254b0(0x36d)]<_0x4b79bb;){_0x33b1dd&&_0x73b08a[_0x4254b0(0x24e)](_0x33b1dd),_0x33b1dd=_0x73b08a[_0x4254b0(0x24e)](_0x38cecc)['finalize'](_0x3b9360),_0x73b08a[_0x4254b0(0x33b)]();for(var _0x3c427c=0x1;_0x3c427c<_0x4100cd;_0x3c427c++)_0x33b1dd=_0x73b08a[_0x4254b0(0x315)](_0x33b1dd),_0x73b08a[_0x4254b0(0x33b)]();_0x5c438d['concat'](_0x33b1dd);}return _0x5c438d[_0x4254b0(0x38a)]=_0x4b79bb*0x4,_0x5c438d;}});_0x3b8f9b[_0x332630(0x231)]=function(_0x5bb42a,_0x577669,_0xf93230){var _0x226269=_0x332630;return _0x5e87d0[_0x226269(0x37c)](_0xf93230)[_0x226269(0x416)](_0x5bb42a,_0x577669);};}()),_0x44afbe[_0x230f6f(0x231)];}));}(Ie)),Ie[_0x5cc0ee(0x2fa)];}var Te={'exports':{}},nn=Te['exports'],st;function At(){return st||(st=0x1,function(_0x3ca26c,_0x31052){(function(_0x3ab0c9,_0x5d2ad0,_0x18639f){var _0x12f7bb=_0x54fb;_0x3ca26c[_0x12f7bb(0x2fa)]=_0x5d2ad0(ee(),wt());}(nn,function(_0x3b9055){var _0x44372c=_0x54fb;_0x3b9055[_0x44372c(0x35a)]['Cipher']||function(_0x456307){var _0x5ad72e=_0x44372c,_0x165c18=_0x3b9055,_0xdcbed2=_0x165c18[_0x5ad72e(0x35a)],_0x5a062d=_0xdcbed2['Base'],_0xbeb60c=_0xdcbed2[_0x5ad72e(0x1b6)],_0x1d4df4=_0xdcbed2['BufferedBlockAlgorithm'],_0x1e4547=_0x165c18[_0x5ad72e(0x3ee)];_0x1e4547['Utf8'];var _0x27a8b2=_0x1e4547[_0x5ad72e(0x2cf)],_0x56fc93=_0x165c18[_0x5ad72e(0x1da)],_0x2ec745=_0x56fc93[_0x5ad72e(0x231)],_0x10d441=_0xdcbed2[_0x5ad72e(0x2d3)]=_0x1d4df4['extend']({'cfg':_0x5a062d[_0x5ad72e(0x292)](),'createEncryptor':function(_0x260730,_0x50e21e){var _0x9d1651=_0x5ad72e;return this[_0x9d1651(0x37c)](this['_ENC_XFORM_MODE'],_0x260730,_0x50e21e);},'createDecryptor':function(_0x117f1b,_0x528114){var _0x577c30=_0x5ad72e;return this[_0x577c30(0x37c)](this[_0x577c30(0x4a9)],_0x117f1b,_0x528114);},'init':function(_0x3f25c1,_0x1186ca,_0x1b6f60){var _0x2f0d9e=_0x5ad72e;this[_0x2f0d9e(0x4da)]=this['cfg'][_0x2f0d9e(0x292)](_0x1b6f60),this['_xformMode']=_0x3f25c1,this[_0x2f0d9e(0x1b9)]=_0x1186ca,this['reset']();},'reset':function(){var _0x103f83=_0x5ad72e;_0x1d4df4[_0x103f83(0x33b)][_0x103f83(0x1fb)](this),this['_doReset']();},'process':function(_0xe400b7){var _0x5809fc=_0x5ad72e;return this[_0x5809fc(0x45c)](_0xe400b7),this['_process']();},'finalize':function(_0x565a21){var _0x51c317=_0x5ad72e;_0x565a21&&this['_append'](_0x565a21);var _0xa5f83a=this[_0x51c317(0x3a4)]();return _0xa5f83a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x28ed6b(_0x222319){return typeof _0x222319=='string'?_0x25c051:_0x35e17e;}return function(_0xeb6b2){return{'encrypt':function(_0x50d827,_0x3a84cf,_0x2698a2){var _0x415a67=_0x54fb;return _0x28ed6b(_0x3a84cf)[_0x415a67(0x4d1)](_0xeb6b2,_0x50d827,_0x3a84cf,_0x2698a2);},'decrypt':function(_0x5544ca,_0x4d4414,_0x1a5f1d){return _0x28ed6b(_0x4d4414)['decrypt'](_0xeb6b2,_0x5544ca,_0x4d4414,_0x1a5f1d);}};};}())});_0xdcbed2[_0x5ad72e(0x4f9)]=_0x10d441[_0x5ad72e(0x292)]({'_doFinalize':function(){var _0x4eb4b4=_0x5ad72e,_0x3dca71=this[_0x4eb4b4(0x3cc)](!0x0);return _0x3dca71;},'blockSize':0x1});var _0x3ea05e=_0x165c18[_0x5ad72e(0x31f)]={},_0x3b2ec4=_0xdcbed2[_0x5ad72e(0x254)]=_0x5a062d[_0x5ad72e(0x292)]({'createEncryptor':function(_0x20b4df,_0x58d59c){var _0x395def=_0x5ad72e;return this[_0x395def(0x32d)][_0x395def(0x37c)](_0x20b4df,_0x58d59c);},'createDecryptor':function(_0x304e7a,_0x170500){var _0x28a044=_0x5ad72e;return this[_0x28a044(0x2a3)][_0x28a044(0x37c)](_0x304e7a,_0x170500);},'init':function(_0x4e7b04,_0x5d5ed4){var _0x59a228=_0x5ad72e;this[_0x59a228(0x42e)]=_0x4e7b04,this[_0x59a228(0x195)]=_0x5d5ed4;}}),_0x2931a0=_0x3ea05e[_0x5ad72e(0x450)]=(function(){var _0x406c85=_0x5ad72e,_0x1617f6=_0x3b2ec4[_0x406c85(0x292)]();_0x1617f6[_0x406c85(0x32d)]=_0x1617f6[_0x406c85(0x292)]({'processBlock':function(_0x38bdd4,_0xf5ea77){var _0x460e6b=_0x406c85,_0x1c6d3b=this['_cipher'],_0x3571a8=_0x1c6d3b['blockSize'];_0x4ab9ac[_0x460e6b(0x1fb)](this,_0x38bdd4,_0xf5ea77,_0x3571a8),_0x1c6d3b['encryptBlock'](_0x38bdd4,_0xf5ea77),this[_0x460e6b(0x4e5)]=_0x38bdd4[_0x460e6b(0x182)](_0xf5ea77,_0xf5ea77+_0x3571a8);}}),_0x1617f6[_0x406c85(0x2a3)]=_0x1617f6[_0x406c85(0x292)]({'processBlock':function(_0x5a3f97,_0x359c32){var _0x4e763c=_0x406c85,_0x480829=this[_0x4e763c(0x42e)],_0x5655e6=_0x480829[_0x4e763c(0x1b4)],_0x9aab68=_0x5a3f97[_0x4e763c(0x182)](_0x359c32,_0x359c32+_0x5655e6);_0x480829[_0x4e763c(0x1df)](_0x5a3f97,_0x359c32),_0x4ab9ac[_0x4e763c(0x1fb)](this,_0x5a3f97,_0x359c32,_0x5655e6),this[_0x4e763c(0x4e5)]=_0x9aab68;}});function _0x4ab9ac(_0xc928b3,_0x1eaf4a,_0x2dfb52){var _0x2277d2=_0x406c85,_0x249a4b,_0x5333c3=this[_0x2277d2(0x195)];_0x5333c3?(_0x249a4b=_0x5333c3,this[_0x2277d2(0x195)]=_0x456307):_0x249a4b=this[_0x2277d2(0x4e5)];for(var _0x19845e=0x0;_0x19845e<_0x2dfb52;_0x19845e++)_0xc928b3[_0x1eaf4a+_0x19845e]^=_0x249a4b[_0x19845e];}return _0x1617f6;}()),_0x3db7f1=_0x165c18['pad']={},_0x1d8b27=_0x3db7f1[_0x5ad72e(0x2d9)]={'pad':function(_0x238a31,_0x20e653){var _0x2f26cf=_0x5ad72e;for(var _0x3b4ff2=_0x20e653*0x4,_0x5afbfc=_0x3b4ff2-_0x238a31['sigBytes']%_0x3b4ff2,_0x28443f=_0x5afbfc<<0x18|_0x5afbfc<<0x10|_0x5afbfc<<0x8|_0x5afbfc,_0x2e700c=[],_0x442016=0x0;_0x442016<_0x5afbfc;_0x442016+=0x4)_0x2e700c[_0x2f26cf(0x2f5)](_0x28443f);var _0x48ca9c=_0xbeb60c[_0x2f26cf(0x37c)](_0x2e700c,_0x5afbfc);_0x238a31[_0x2f26cf(0x1eb)](_0x48ca9c);},'unpad':function(_0x55ce1d){var _0xc4a663=_0x5ad72e,_0x45fcc4=_0x55ce1d[_0xc4a663(0x2c6)][_0x55ce1d['sigBytes']-0x1>>>0x2]&0xff;_0x55ce1d[_0xc4a663(0x38a)]-=_0x45fcc4;}};_0xdcbed2[_0x5ad72e(0x1f7)]=_0x10d441[_0x5ad72e(0x292)]({'cfg':_0x10d441[_0x5ad72e(0x4da)][_0x5ad72e(0x292)]({'mode':_0x2931a0,'padding':_0x1d8b27}),'reset':function(){var _0x566b04=_0x5ad72e,_0x1f8a9b;_0x10d441[_0x566b04(0x33b)][_0x566b04(0x1fb)](this);var _0x11a106=this['cfg'],_0x565914=_0x11a106['iv'],_0x4b0f96=_0x11a106['mode'];this[_0x566b04(0x1a6)]==this[_0x566b04(0x409)]?_0x1f8a9b=_0x4b0f96['createEncryptor']:(_0x1f8a9b=_0x4b0f96[_0x566b04(0x301)],this['_minBufferSize']=0x1),this[_0x566b04(0x2b4)]&&this[_0x566b04(0x2b4)]['__creator']==_0x1f8a9b?this[_0x566b04(0x2b4)][_0x566b04(0x257)](this,_0x565914&&_0x565914[_0x566b04(0x2c6)]):(this[_0x566b04(0x2b4)]=_0x1f8a9b[_0x566b04(0x1fb)](_0x4b0f96,this,_0x565914&&_0x565914['words']),this[_0x566b04(0x2b4)]['__creator']=_0x1f8a9b);},'_doProcessBlock':function(_0x127093,_0x4cd091){var _0x1b4f46=_0x5ad72e;this['_mode'][_0x1b4f46(0x387)](_0x127093,_0x4cd091);},'_doFinalize':function(){var _0x2ed984=_0x5ad72e,_0x1cb661,_0x5313ad=this[_0x2ed984(0x4da)]['padding'];return this['_xformMode']==this[_0x2ed984(0x409)]?(_0x5313ad[_0x2ed984(0x490)](this['_data'],this['blockSize']),_0x1cb661=this[_0x2ed984(0x3cc)](!0x0)):(_0x1cb661=this['_process'](!0x0),_0x5313ad[_0x2ed984(0x1d0)](_0x1cb661)),_0x1cb661;},'blockSize':0x80/0x20});var _0xf0ba30=_0xdcbed2['CipherParams']=_0x5a062d[_0x5ad72e(0x292)]({'init':function(_0x1c091c){this['mixIn'](_0x1c091c);},'toString':function(_0x447613){var _0x4bc07a=_0x5ad72e;return(_0x447613||this[_0x4bc07a(0x1c2)])[_0x4bc07a(0x305)](this);}}),_0x4ae4f2=_0x165c18[_0x5ad72e(0x4eb)]={},_0x1a93e4=_0x4ae4f2[_0x5ad72e(0x4fc)]={'stringify':function(_0x280ad8){var _0x252fda=_0x5ad72e,_0x231c02,_0x4ff0d5=_0x280ad8[_0x252fda(0x4c7)],_0x261c01=_0x280ad8[_0x252fda(0x467)];return _0x261c01?_0x231c02=_0xbeb60c[_0x252fda(0x37c)]([0x53616c74,0x65645f5f])['concat'](_0x261c01)[_0x252fda(0x1eb)](_0x4ff0d5):_0x231c02=_0x4ff0d5,_0x231c02[_0x252fda(0x249)](_0x27a8b2);},'parse':function(_0x3c7d70){var _0x272677=_0x5ad72e,_0x16c5e4,_0x1dec08=_0x27a8b2[_0x272677(0x36c)](_0x3c7d70),_0x23b36a=_0x1dec08[_0x272677(0x2c6)];return _0x23b36a[0x0]==0x53616c74&&_0x23b36a[0x1]==0x65645f5f&&(_0x16c5e4=_0xbeb60c[_0x272677(0x37c)](_0x23b36a[_0x272677(0x182)](0x2,0x4)),_0x23b36a['splice'](0x0,0x4),_0x1dec08[_0x272677(0x38a)]-=0x10),_0xf0ba30[_0x272677(0x37c)]({'ciphertext':_0x1dec08,'salt':_0x16c5e4});}},_0x35e17e=_0xdcbed2['SerializableCipher']=_0x5a062d['extend']({'cfg':_0x5a062d[_0x5ad72e(0x292)]({'format':_0x1a93e4}),'encrypt':function(_0x59d7b8,_0x1f8fdb,_0x13bdea,_0x5bba82){var _0x2fca36=_0x5ad72e;_0x5bba82=this['cfg'][_0x2fca36(0x292)](_0x5bba82);var _0x23b0ec=_0x59d7b8[_0x2fca36(0x49b)](_0x13bdea,_0x5bba82),_0x247a05=_0x23b0ec['finalize'](_0x1f8fdb),_0x4fa453=_0x23b0ec[_0x2fca36(0x4da)];return _0xf0ba30[_0x2fca36(0x37c)]({'ciphertext':_0x247a05,'key':_0x13bdea,'iv':_0x4fa453['iv'],'algorithm':_0x59d7b8,'mode':_0x4fa453[_0x2fca36(0x31f)],'padding':_0x4fa453['padding'],'blockSize':_0x59d7b8[_0x2fca36(0x1b4)],'formatter':_0x5bba82[_0x2fca36(0x4eb)]});},'decrypt':function(_0x4a7f56,_0x1e3763,_0x2dff4e,_0x1d71c6){var _0x5287e5=_0x5ad72e;_0x1d71c6=this[_0x5287e5(0x4da)]['extend'](_0x1d71c6),_0x1e3763=this[_0x5287e5(0x1e4)](_0x1e3763,_0x1d71c6['format']);var _0x2cdbe1=_0x4a7f56[_0x5287e5(0x301)](_0x2dff4e,_0x1d71c6)[_0x5287e5(0x315)](_0x1e3763[_0x5287e5(0x4c7)]);return _0x2cdbe1;},'_parse':function(_0x1f2df8,_0x21f63a){var _0x526152=_0x5ad72e;return typeof _0x1f2df8==_0x526152(0x1f2)?_0x21f63a[_0x526152(0x36c)](_0x1f2df8,this):_0x1f2df8;}}),_0x3b6308=_0x165c18[_0x5ad72e(0x237)]={},_0x13834c=_0x3b6308['OpenSSL']={'execute':function(_0x45a16e,_0x4d675a,_0x353c20,_0x40e40c,_0xac7c1c){var _0x3849f8=_0x5ad72e;if(_0x40e40c||(_0x40e40c=_0xbeb60c[_0x3849f8(0x2d0)](0x40/0x8)),_0xac7c1c)var _0x1f21a9=_0x2ec745[_0x3849f8(0x37c)]({'keySize':_0x4d675a+_0x353c20,'hasher':_0xac7c1c})[_0x3849f8(0x416)](_0x45a16e,_0x40e40c);else var _0x1f21a9=_0x2ec745['create']({'keySize':_0x4d675a+_0x353c20})[_0x3849f8(0x416)](_0x45a16e,_0x40e40c);var _0x23df72=_0xbeb60c[_0x3849f8(0x37c)](_0x1f21a9[_0x3849f8(0x2c6)][_0x3849f8(0x182)](_0x4d675a),_0x353c20*0x4);return _0x1f21a9[_0x3849f8(0x38a)]=_0x4d675a*0x4,_0xf0ba30[_0x3849f8(0x37c)]({'key':_0x1f21a9,'iv':_0x23df72,'salt':_0x40e40c});}},_0x25c051=_0xdcbed2[_0x5ad72e(0x298)]=_0x35e17e['extend']({'cfg':_0x35e17e[_0x5ad72e(0x4da)][_0x5ad72e(0x292)]({'kdf':_0x13834c}),'encrypt':function(_0x5ff049,_0xa7b365,_0x4a2334,_0x4d44b9){var _0x20d574=_0x5ad72e;_0x4d44b9=this[_0x20d574(0x4da)][_0x20d574(0x292)](_0x4d44b9);var _0x47b969=_0x4d44b9[_0x20d574(0x237)]['execute'](_0x4a2334,_0x5ff049[_0x20d574(0x3ff)],_0x5ff049['ivSize'],_0x4d44b9[_0x20d574(0x467)],_0x4d44b9[_0x20d574(0x1e8)]);_0x4d44b9['iv']=_0x47b969['iv'];var _0x5c0766=_0x35e17e[_0x20d574(0x4d1)][_0x20d574(0x1fb)](this,_0x5ff049,_0xa7b365,_0x47b969[_0x20d574(0x1bb)],_0x4d44b9);return _0x5c0766[_0x20d574(0x312)](_0x47b969),_0x5c0766;},'decrypt':function(_0x3107da,_0x170a7a,_0x3c446d,_0x18ca5b){var _0xc3d855=_0x5ad72e;_0x18ca5b=this[_0xc3d855(0x4da)]['extend'](_0x18ca5b),_0x170a7a=this[_0xc3d855(0x1e4)](_0x170a7a,_0x18ca5b['format']);var _0x13041b=_0x18ca5b['kdf']['execute'](_0x3c446d,_0x3107da[_0xc3d855(0x3ff)],_0x3107da[_0xc3d855(0x2e8)],_0x170a7a[_0xc3d855(0x467)],_0x18ca5b['hasher']);_0x18ca5b['iv']=_0x13041b['iv'];var _0x531878=_0x35e17e[_0xc3d855(0x306)][_0xc3d855(0x1fb)](this,_0x3107da,_0x170a7a,_0x13041b[_0xc3d855(0x1bb)],_0x18ca5b);return _0x531878;}});}();}));}(Te)),Te['exports'];}var rn=Se[_0x5e99b1(0x2fa)],ot;function sn(){var _0x2013b7=_0x5e99b1;return ot||(ot=0x1,function(_0x2637c7,_0x213f21){(function(_0x5ebe18,_0x2cae3c,_0x1f0b99){var _0x1df721=_0x54fb;_0x2637c7[_0x1df721(0x2fa)]=_0x2cae3c(ee(),Dt(),Ji(),wt(),At());}(rn,function(_0x8525d9){var _0x1162d0=_0x54fb;return(function(){var _0x4ec875=_0x54fb,_0x1bfab=_0x8525d9,_0x2999dd=_0x1bfab[_0x4ec875(0x35a)],_0x3f9b78=_0x2999dd['BlockCipher'],_0x115a63=_0x1bfab[_0x4ec875(0x1da)],_0xc48350=[],_0x2493f1=[],_0x3abce8=[],_0x2f5676=[],_0x33ac1a=[],_0x2e76da=[],_0x2ef179=[],_0x488af6=[],_0x28ceb9=[],_0x2f4b53=[];(function(){for(var _0xf9bafb=[],_0x2380c=0x0;_0x2380c<0x100;_0x2380c++)_0x2380c<0x80?_0xf9bafb[_0x2380c]=_0x2380c<<0x1:_0xf9bafb[_0x2380c]=_0x2380c<<0x1^0x11b;for(var _0x39ec4d=0x0,_0x59cd90=0x0,_0x2380c=0x0;_0x2380c<0x100;_0x2380c++){var _0x563081=_0x59cd90^_0x59cd90<<0x1^_0x59cd90<<0x2^_0x59cd90<<0x3^_0x59cd90<<0x4;_0x563081=_0x563081>>>0x8^_0x563081&0xff^0x63,_0xc48350[_0x39ec4d]=_0x563081,_0x2493f1[_0x563081]=_0x39ec4d;var _0x1d7497=_0xf9bafb[_0x39ec4d],_0x11a8e6=_0xf9bafb[_0x1d7497],_0xfdbefd=_0xf9bafb[_0x11a8e6],_0x1c5c02=_0xf9bafb[_0x563081]*0x101^_0x563081*0x1010100;_0x3abce8[_0x39ec4d]=_0x1c5c02<<0x18|_0x1c5c02>>>0x8,_0x2f5676[_0x39ec4d]=_0x1c5c02<<0x10|_0x1c5c02>>>0x10,_0x33ac1a[_0x39ec4d]=_0x1c5c02<<0x8|_0x1c5c02>>>0x18,_0x2e76da[_0x39ec4d]=_0x1c5c02;var _0x1c5c02=_0xfdbefd*0x1010101^_0x11a8e6*0x10001^_0x1d7497*0x101^_0x39ec4d*0x1010100;_0x2ef179[_0x563081]=_0x1c5c02<<0x18|_0x1c5c02>>>0x8,_0x488af6[_0x563081]=_0x1c5c02<<0x10|_0x1c5c02>>>0x10,_0x28ceb9[_0x563081]=_0x1c5c02<<0x8|_0x1c5c02>>>0x18,_0x2f4b53[_0x563081]=_0x1c5c02,_0x39ec4d?(_0x39ec4d=_0x1d7497^_0xf9bafb[_0xf9bafb[_0xf9bafb[_0xfdbefd^_0x1d7497]]],_0x59cd90^=_0xf9bafb[_0xf9bafb[_0x59cd90]]):_0x39ec4d=_0x59cd90=0x1;}}());var _0x39f048=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5a43b3=_0x115a63['AES']=_0x3f9b78['extend']({'_doReset':function(){var _0x23bd9b=_0x4ec875,_0x529da4;if(!(this[_0x23bd9b(0x41b)]&&this['_keyPriorReset']===this[_0x23bd9b(0x1b9)])){for(var _0x450f89=this['_keyPriorReset']=this[_0x23bd9b(0x1b9)],_0x18c4db=_0x450f89['words'],_0x46e4f4=_0x450f89[_0x23bd9b(0x38a)]/0x4,_0x5c3a13=this[_0x23bd9b(0x41b)]=_0x46e4f4+0x6,_0x34404a=(_0x5c3a13+0x1)*0x4,_0x34b4bb=this[_0x23bd9b(0x3e4)]=[],_0x31feae=0x0;_0x31feae<_0x34404a;_0x31feae++)_0x31feae<_0x46e4f4?_0x34b4bb[_0x31feae]=_0x18c4db[_0x31feae]:(_0x529da4=_0x34b4bb[_0x31feae-0x1],_0x31feae%_0x46e4f4?_0x46e4f4>0x6&&_0x31feae%_0x46e4f4==0x4&&(_0x529da4=_0xc48350[_0x529da4>>>0x18]<<0x18|_0xc48350[_0x529da4>>>0x10&0xff]<<0x10|_0xc48350[_0x529da4>>>0x8&0xff]<<0x8|_0xc48350[_0x529da4&0xff]):(_0x529da4=_0x529da4<<0x8|_0x529da4>>>0x18,_0x529da4=_0xc48350[_0x529da4>>>0x18]<<0x18|_0xc48350[_0x529da4>>>0x10&0xff]<<0x10|_0xc48350[_0x529da4>>>0x8&0xff]<<0x8|_0xc48350[_0x529da4&0xff],_0x529da4^=_0x39f048[_0x31feae/_0x46e4f4|0x0]<<0x18),_0x34b4bb[_0x31feae]=_0x34b4bb[_0x31feae-_0x46e4f4]^_0x529da4);for(var _0x22bdfe=this[_0x23bd9b(0x391)]=[],_0x5e4f0b=0x0;_0x5e4f0b<_0x34404a;_0x5e4f0b++){var _0x31feae=_0x34404a-_0x5e4f0b;if(_0x5e4f0b%0x4)var _0x529da4=_0x34b4bb[_0x31feae];else var _0x529da4=_0x34b4bb[_0x31feae-0x4];_0x5e4f0b<0x4||_0x31feae<=0x4?_0x22bdfe[_0x5e4f0b]=_0x529da4:_0x22bdfe[_0x5e4f0b]=_0x2ef179[_0xc48350[_0x529da4>>>0x18]]^_0x488af6[_0xc48350[_0x529da4>>>0x10&0xff]]^_0x28ceb9[_0xc48350[_0x529da4>>>0x8&0xff]]^_0x2f4b53[_0xc48350[_0x529da4&0xff]];}}},'encryptBlock':function(_0x20e5d6,_0x3c0d71){var _0x3227d8=_0x4ec875;this[_0x3227d8(0x4cb)](_0x20e5d6,_0x3c0d71,this[_0x3227d8(0x3e4)],_0x3abce8,_0x2f5676,_0x33ac1a,_0x2e76da,_0xc48350);},'decryptBlock':function(_0x2f085b,_0x433b10){var _0x5a8217=_0x4ec875,_0x11d68a=_0x2f085b[_0x433b10+0x1];_0x2f085b[_0x433b10+0x1]=_0x2f085b[_0x433b10+0x3],_0x2f085b[_0x433b10+0x3]=_0x11d68a,this[_0x5a8217(0x4cb)](_0x2f085b,_0x433b10,this[_0x5a8217(0x391)],_0x2ef179,_0x488af6,_0x28ceb9,_0x2f4b53,_0x2493f1);var _0x11d68a=_0x2f085b[_0x433b10+0x1];_0x2f085b[_0x433b10+0x1]=_0x2f085b[_0x433b10+0x3],_0x2f085b[_0x433b10+0x3]=_0x11d68a;},'_doCryptBlock':function(_0x342399,_0x385c27,_0x413a42,_0x439c79,_0x198ab5,_0x360b7f,_0x484f4e,_0x3527a5){var _0x4b0d58=_0x4ec875;for(var _0x3cd982=this[_0x4b0d58(0x41b)],_0x23f428=_0x342399[_0x385c27]^_0x413a42[0x0],_0x2d73b5=_0x342399[_0x385c27+0x1]^_0x413a42[0x1],_0x5685f8=_0x342399[_0x385c27+0x2]^_0x413a42[0x2],_0x33652f=_0x342399[_0x385c27+0x3]^_0x413a42[0x3],_0x356d54=0x4,_0x362600=0x1;_0x362600<_0x3cd982;_0x362600++){var _0x22863a=_0x439c79[_0x23f428>>>0x18]^_0x198ab5[_0x2d73b5>>>0x10&0xff]^_0x360b7f[_0x5685f8>>>0x8&0xff]^_0x484f4e[_0x33652f&0xff]^_0x413a42[_0x356d54++],_0x30046f=_0x439c79[_0x2d73b5>>>0x18]^_0x198ab5[_0x5685f8>>>0x10&0xff]^_0x360b7f[_0x33652f>>>0x8&0xff]^_0x484f4e[_0x23f428&0xff]^_0x413a42[_0x356d54++],_0x154416=_0x439c79[_0x5685f8>>>0x18]^_0x198ab5[_0x33652f>>>0x10&0xff]^_0x360b7f[_0x23f428>>>0x8&0xff]^_0x484f4e[_0x2d73b5&0xff]^_0x413a42[_0x356d54++],_0x4dc1d3=_0x439c79[_0x33652f>>>0x18]^_0x198ab5[_0x23f428>>>0x10&0xff]^_0x360b7f[_0x2d73b5>>>0x8&0xff]^_0x484f4e[_0x5685f8&0xff]^_0x413a42[_0x356d54++];_0x23f428=_0x22863a,_0x2d73b5=_0x30046f,_0x5685f8=_0x154416,_0x33652f=_0x4dc1d3;}var _0x22863a=(_0x3527a5[_0x23f428>>>0x18]<<0x18|_0x3527a5[_0x2d73b5>>>0x10&0xff]<<0x10|_0x3527a5[_0x5685f8>>>0x8&0xff]<<0x8|_0x3527a5[_0x33652f&0xff])^_0x413a42[_0x356d54++],_0x30046f=(_0x3527a5[_0x2d73b5>>>0x18]<<0x18|_0x3527a5[_0x5685f8>>>0x10&0xff]<<0x10|_0x3527a5[_0x33652f>>>0x8&0xff]<<0x8|_0x3527a5[_0x23f428&0xff])^_0x413a42[_0x356d54++],_0x154416=(_0x3527a5[_0x5685f8>>>0x18]<<0x18|_0x3527a5[_0x33652f>>>0x10&0xff]<<0x10|_0x3527a5[_0x23f428>>>0x8&0xff]<<0x8|_0x3527a5[_0x2d73b5&0xff])^_0x413a42[_0x356d54++],_0x4dc1d3=(_0x3527a5[_0x33652f>>>0x18]<<0x18|_0x3527a5[_0x23f428>>>0x10&0xff]<<0x10|_0x3527a5[_0x2d73b5>>>0x8&0xff]<<0x8|_0x3527a5[_0x5685f8&0xff])^_0x413a42[_0x356d54++];_0x342399[_0x385c27]=_0x22863a,_0x342399[_0x385c27+0x1]=_0x30046f,_0x342399[_0x385c27+0x2]=_0x154416,_0x342399[_0x385c27+0x3]=_0x4dc1d3;},'keySize':0x100/0x20});_0x1bfab[_0x4ec875(0x1c9)]=_0x3f9b78[_0x4ec875(0x30c)](_0x5a43b3);}()),_0x8525d9[_0x1162d0(0x1c9)];}));}(Se)),Se[_0x2013b7(0x2fa)];}var on=sn();const an=fe(on);var cn=Dt();const at=fe(cn);var be={'exports':{}},hn=be[_0x5e99b1(0x2fa)],ct;function ln(){return ct||(ct=0x1,function(_0x29a7b2,_0xdc1f51){(function(_0x461048,_0x106bf1){var _0x25470f=_0x54fb;_0x29a7b2[_0x25470f(0x2fa)]=_0x106bf1(ee());}(hn,function(_0xbcc863){var _0x2582b5=_0x54fb;return _0xbcc863[_0x2582b5(0x3ee)][_0x2582b5(0x1e6)];}));}(be)),be['exports'];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re['exports'],ht;function vn(){var _0x11bee5=_0x5e99b1;return ht||(ht=0x1,function(_0x44cbeb,_0x2553ae){(function(_0x365f78,_0x546159){var _0x2b5d2a=_0x54fb;_0x44cbeb[_0x2b5d2a(0x2fa)]=_0x546159(ee());}(dn,function(_0x13262d){var _0x2ebea8=_0x54fb;return(function(){var _0x3b2424=_0x54fb;if(typeof ArrayBuffer==_0x3b2424(0x2ef)){var _0x566841=_0x13262d,_0xaea618=_0x566841[_0x3b2424(0x35a)],_0x2bc258=_0xaea618['WordArray'],_0x30a5a2=_0x2bc258[_0x3b2424(0x257)],_0x4b8c5a=_0x2bc258[_0x3b2424(0x257)]=function(_0xe45269){var _0x14c029=_0x3b2424;if(_0xe45269 instanceof ArrayBuffer&&(_0xe45269=new Uint8Array(_0xe45269)),(_0xe45269 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe45269 instanceof Uint8ClampedArray||_0xe45269 instanceof Int16Array||_0xe45269 instanceof Uint16Array||_0xe45269 instanceof Int32Array||_0xe45269 instanceof Uint32Array||_0xe45269 instanceof Float32Array||_0xe45269 instanceof Float64Array)&&(_0xe45269=new Uint8Array(_0xe45269['buffer'],_0xe45269[_0x14c029(0x40f)],_0xe45269[_0x14c029(0x3ef)])),_0xe45269 instanceof Uint8Array){for(var _0x4eee32=_0xe45269[_0x14c029(0x3ef)],_0xa59d38=[],_0x4d7c72=0x0;_0x4d7c72<_0x4eee32;_0x4d7c72++)_0xa59d38[_0x4d7c72>>>0x2]|=_0xe45269[_0x4d7c72]<<0x18-_0x4d7c72%0x4*0x8;_0x30a5a2[_0x14c029(0x1fb)](this,_0xa59d38,_0x4eee32);}else _0x30a5a2['apply'](this,arguments);};_0x4b8c5a['prototype']=_0x2bc258;}}()),_0x13262d[_0x2ebea8(0x35a)]['WordArray'];}));}(Re)),Re[_0x11bee5(0x2fa)];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x5e99b1(0x2fa)],lt;function gn(){var _0xb8cc0=_0x5e99b1;return lt||(lt=0x1,function(_0x5e08e3,_0x26ee7a){(function(_0x2115ad,_0xa74df5,_0x307535){_0x5e08e3['exports']=_0xa74df5(ee(),At());}(pn,function(_0x433e90){var _0x5edd20=_0x54fb;return _0x433e90[_0x5edd20(0x490)][_0x5edd20(0x4c5)]={'pad':function(){},'unpad':function(){}},_0x433e90['pad']['NoPadding'];}));}(Oe)),Oe[_0xb8cc0(0x2fa)];}var mn=gn();const In=fe(mn);function En(_0x465b07,_0xdcb625){var _0x1a9975=_0x5e99b1;const _0x4eb37f=_0xdcb625-_0x465b07[_0x1a9975(0x36d)]%_0xdcb625,_0x2b8ed6=String['fromCharCode'](_0x4eb37f)[_0x1a9975(0x3d4)](_0x4eb37f);return _0x465b07+_0x2b8ed6;}function Cn(_0x1cfdea,_0x930a94){var _0x34c430=_0x5e99b1;const _0x29ba3a=Sn[_0x34c430(0x2d0)](0x10),_0x527739=En(_0x1cfdea,0x10),_0x3da065=an['encrypt'](un['parse'](_0x527739),at['parse'](_0x930a94),{'iv':_0x29ba3a,'padding':In});return _0x29ba3a[_0x34c430(0x1eb)](_0x3da065[_0x34c430(0x4c7)])[_0x34c430(0x249)](at);}function Tn(){var _0x20d2f1=_0x5e99b1;const _0x4154e2=$t[_0x20d2f1(0x18a)]()[_0x20d2f1(0x342)];if(_0x4154e2){const _0x3c12dd={'time':Math[_0x20d2f1(0x43f)](Date['now']()/0x3e8),'domain':location[_0x20d2f1(0x1ef)]};return Cn(JSON[_0x20d2f1(0x305)](_0x3c12dd),_0x4154e2);}}var bn=Object[_0x5e99b1(0x4cc)],Rn=Object[_0x5e99b1(0x2a0)],On=(_0x3769ef,_0x520b1c,_0x507bd8,_0x1af3ab)=>{var _0x3a0924=_0x5e99b1;for(var _0x3b21bd=_0x1af3ab>0x1?void 0x0:_0x1af3ab?Rn(_0x520b1c,_0x507bd8):_0x520b1c,_0x4aaa09=_0x3769ef[_0x3a0924(0x36d)]-0x1,_0xeb76ba;_0x4aaa09>=0x0;_0x4aaa09--)(_0xeb76ba=_0x3769ef[_0x4aaa09])&&(_0x3b21bd=(_0x1af3ab?_0xeb76ba(_0x520b1c,_0x507bd8,_0x3b21bd):_0xeb76ba(_0x3b21bd))||_0x3b21bd);return _0x1af3ab&&_0x3b21bd&&bn(_0x520b1c,_0x507bd8,_0x3b21bd),_0x3b21bd;},yn=(_0x1ad229,_0x499c42)=>(_0x2e0fa5,_0x2548a3)=>_0x499c42(_0x2e0fa5,_0x2548a3,_0x1ad229);let Pe=class{constructor(_0x267e03){var _0x1c1995=_0x5e99b1;this[_0x1c1995(0x2e6)]=_0x267e03,this['_initRequestHeader']();}[_0x5e99b1(0x279)](){var _0x114abf=_0x5e99b1;this[_0x114abf(0x2e6)][_0x114abf(0x302)]({'interceptor':(_0x51f8e3,_0x44dfa4)=>{var _0x282868=_0x114abf;const _0x17244d=_0x51f8e3[_0x282868(0x4bb)],_0x5d80a4=Tn();return _0x5d80a4&&_0x17244d[_0x282868(0x40b)](_0x282868(0x2bd),_0x5d80a4),_0x44dfa4(_0x51f8e3);}});}};Pe=On([yn(0x0,a[_0x5e99b1(0x1a2)](z[_0x5e99b1(0x2b2)]))],Pe);var Pn=Object[_0x5e99b1(0x4cc)],Nn=Object['getOwnPropertyDescriptor'],Un=(_0x50d156,_0x445d0c,_0x564919,_0x10023d)=>{var _0x56bfff=_0x5e99b1;for(var _0x2acf73=_0x10023d>0x1?void 0x0:_0x10023d?Nn(_0x445d0c,_0x564919):_0x445d0c,_0x3a8625=_0x50d156[_0x56bfff(0x36d)]-0x1,_0x29c727;_0x3a8625>=0x0;_0x3a8625--)(_0x29c727=_0x50d156[_0x3a8625])&&(_0x2acf73=(_0x10023d?_0x29c727(_0x445d0c,_0x564919,_0x2acf73):_0x29c727(_0x2acf73))||_0x2acf73);return _0x10023d&&_0x2acf73&&Pn(_0x445d0c,_0x564919,_0x2acf73),_0x2acf73;},Me=(_0x2e69bb,_0x3ce004)=>(_0x36e05a,_0x508b46)=>_0x3ce004(_0x36e05a,_0x508b46,_0x2e69bb);exports['DataLoaderService']=class extends a[_0x5e99b1(0x191)]{constructor(_0x2663d3,_0x4526fb,_0x5918d7){var _0x230cee=_0x5e99b1;super(),D(this,_0x230cee(0x357),new H[(_0x230cee(0x2c2))](null)),D(this,_0x230cee(0x1a8),this[_0x230cee(0x357)][_0x230cee(0x1e3)]()),(this[_0x230cee(0x412)]=_0x2663d3,this[_0x230cee(0x16f)]=_0x4526fb,this['_localCacheService']=_0x5918d7);}async[_0x5e99b1(0x43d)](_0x34aa19,_0x5e3ad2,_0x188f29){var _0x1fdff8=_0x5e99b1;this[_0x1fdff8(0x357)][_0x1fdff8(0x352)]({'unitId':_0x34aa19,'type':_0x5e3ad2,'subUnitId':_0x188f29});let _0x4a0673=null;switch(_0x5e3ad2){case Z[_0x1fdff8(0x336)]:{_0x4a0673=await this['_loadSheet'](_0x34aa19);break;}case Z[_0x1fdff8(0x497)]:{_0x4a0673=await this[_0x1fdff8(0x3cd)](_0x34aa19);break;}default:{this['_logService'][_0x1fdff8(0x350)](_0x1fdff8(0x379),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4a0673;}async[_0x5e99b1(0x22f)](_0x584193){var _0x198905=_0x5e99b1,_0x519134;let _0x25325c=0x0;const _0x462ae0=await((_0x519134=this[_0x198905(0x190)])==null?void 0x0:_0x519134[_0x198905(0x390)](_0x584193));return _0x462ae0&&(_0x462ae0[_0x198905(0x225)]||_0x462ae0[_0x198905(0x273)][_0x198905(0x36d)]!==0x0)&&(_0x25325c=_0x462ae0[_0x198905(0x471)]),_0x25325c===0x0&&this[_0x198905(0x412)]['debug'](_0x198905(0x379),_0x198905(0x39e)),this['_snapshotService'][_0x198905(0x2aa)](_0x584193,_0x25325c);}async['_loadDoc'](_0x5563fc){var _0x5bed82=_0x5e99b1,_0x3665c4;let _0x3624d1=0x0;const _0x231f4b=await((_0x3665c4=this[_0x5bed82(0x190)])==null?void 0x0:_0x3665c4[_0x5bed82(0x390)](_0x5563fc));return _0x231f4b&&(_0x231f4b[_0x5bed82(0x225)]||_0x231f4b[_0x5bed82(0x273)]['length']!==0x0)&&(_0x3624d1=_0x231f4b[_0x5bed82(0x471)]),_0x3624d1===0x0&&this[_0x5bed82(0x412)][_0x5bed82(0x499)](_0x5bed82(0x379),_0x5bed82(0x39e)),this[_0x5bed82(0x16f)][_0x5bed82(0x3e9)](_0x5563fc,_0x3624d1);}},exports[_0x5e99b1(0x29a)]=Un([Me(0x0,a[_0x5e99b1(0x24d)]),Me(0x1,a[_0x5e99b1(0x1a2)](m[_0x5e99b1(0x440)])),Me(0x2,a[_0x5e99b1(0x262)](J))],exports['DataLoaderService']);var Dn=Object[_0x5e99b1(0x4cc)],wn=Object['getOwnPropertyDescriptor'],An=(_0x41923d,_0x3bb4b1,_0x19a480,_0x2a9f2f)=>{var _0x123f89=_0x5e99b1;for(var _0x8b28d=_0x2a9f2f>0x1?void 0x0:_0x2a9f2f?wn(_0x3bb4b1,_0x19a480):_0x3bb4b1,_0x36d35c=_0x41923d[_0x123f89(0x36d)]-0x1,_0xb4e06f;_0x36d35c>=0x0;_0x36d35c--)(_0xb4e06f=_0x41923d[_0x36d35c])&&(_0x8b28d=(_0x2a9f2f?_0xb4e06f(_0x3bb4b1,_0x19a480,_0x8b28d):_0xb4e06f(_0x8b28d))||_0x8b28d);return _0x2a9f2f&&_0x8b28d&&Dn(_0x3bb4b1,_0x19a480,_0x8b28d),_0x8b28d;},xe=(_0x44419f,_0xb24527)=>(_0x452135,_0x479c69)=>_0xb24527(_0x452135,_0x479c69,_0x44419f);const Ln=[_0x5e99b1(0x45a),_0x5e99b1(0x468),'image/jpg',_0x5e99b1(0x456),_0x5e99b1(0x4e3)],Mn=0x5*0x400*0x400,xn=_0x5e99b1(0x3a2),jn=_0x5e99b1(0x428),$n=_0x5e99b1(0x40a),Hn='/universer-api/file/{fileID}/sign-url';exports[_0x5e99b1(0x320)]=class{constructor(_0x2c723c,_0x3448b9,_0x5bbef2){var _0x3df054=_0x5e99b1;D(this,_0x3df054(0x27f),0x0),D(this,_0x3df054(0x275),new H[(_0x3df054(0x26f))]()),D(this,_0x3df054(0x3d8),this[_0x3df054(0x275)]),D(this,_0x3df054(0x344),new Map()),(this[_0x3df054(0x2e6)]=_0x2c723c,this[_0x3df054(0x26b)]=_0x3448b9,this['_univerInstanceService']=_0x5bbef2);}[_0x5e99b1(0x2f0)](_0x6f78f0){var _0x24fe31=_0x5e99b1;this[_0x24fe31(0x27f)]=_0x6f78f0,this['_change$'][_0x24fe31(0x352)](_0x6f78f0);}[_0x5e99b1(0x448)](_0x5aa34d,_0x1a2924){var _0x2b770a=_0x5e99b1;if(_0x1a2924===X[_0x2b770a(0x1b7)]['BASE64']){const _0x42b9db=new Image();return _0x42b9db[_0x2b770a(0x398)]=_0x5aa34d,_0x42b9db;}return this[_0x2b770a(0x344)]['get'](_0x5aa34d);}[_0x5e99b1(0x406)](_0x17090e,_0x1fba0f,_0x13f034){var _0x4ef4b6=_0x5e99b1;_0x1fba0f===X[_0x4ef4b6(0x1b7)][_0x4ef4b6(0x2ae)]||_0x13f034==null||this[_0x4ef4b6(0x344)][_0x4ef4b6(0x40b)](_0x17090e,_0x13f034);}async[_0x5e99b1(0x32a)](_0x1eeabf){var _0x5e5770=_0x5e99b1;try{const _0x4f4406=this[_0x5e5770(0x18f)](this[_0x5e5770(0x1c1)](),''+_0x1eeabf),_0x15399f=(await this[_0x5e5770(0x2e6)][_0x5e5770(0x452)](_0x4f4406))[_0x5e5770(0x3f9)];if(_0x15399f[_0x5e5770(0x350)]&&_0x15399f[_0x5e5770(0x350)]['code']===Tt['OK']){const _0x94cc57=new URL(_0x15399f[_0x5e5770(0x3b4)],this[_0x5e5770(0x29f)]())[_0x5e5770(0x249)]();return Promise[_0x5e5770(0x3df)](_0x94cc57);}return Promise[_0x5e5770(0x1ae)](_0x15399f[_0x5e5770(0x350)]);}catch(_0x3727d3){return Promise['reject'](_0x3727d3);}}async[_0x5e99b1(0x3d1)](_0x1d4b66){var _0x4c708f=_0x5e99b1;let _0x3aecb3='';if(!Ln[_0x4c708f(0x2c8)](_0x1d4b66[_0x4c708f(0x3ca)]))return this[_0x4c708f(0x44b)](),Promise['reject'](new Error(X[_0x4c708f(0x41e)][_0x4c708f(0x304)]));if(_0x1d4b66[_0x4c708f(0x4dc)]>Mn)return this[_0x4c708f(0x44b)](),Promise[_0x4c708f(0x1ae)](new Error(X['ImageUploadStatusType'][_0x4c708f(0x444)]));try{const _0x57d247=new FormData();_0x57d247[_0x4c708f(0x1e5)](_0x4c708f(0x4e0),_0x1d4b66);const _0x3736a9=this[_0x4c708f(0x49d)][_0x4c708f(0x1c8)](),_0x1f0ff4=_0x3736a9==null?void 0x0:_0x3736a9['getUnitId']();if(!_0x1f0ff4)throw new Error(_0x4c708f(0x3b5));const _0x4066c8=this[_0x4c708f(0x175)]()+_0x4c708f(0x3fd)+_0x1d4b66[_0x4c708f(0x4dc)][_0x4c708f(0x249)]()+_0x4c708f(0x3dc)+bt['UnitEmbedded']+_0x4c708f(0x3f7)+encodeURIComponent(_0x1f0ff4),_0x9873b3=await(await fetch(_0x4066c8,{'method':_0x4c708f(0x345),'body':_0x57d247}))[_0x4c708f(0x32b)]();if(typeof _0x9873b3['FileId']!='string')return this[_0x4c708f(0x44b)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x4c708f(0x42c)]));_0x3aecb3=_0x9873b3['FileId'];}catch{return this[_0x4c708f(0x44b)](),Promise[_0x4c708f(0x1ae)](new Error(X['ImageUploadStatusType'][_0x4c708f(0x42c)]));}return new Promise((_0xa18761,_0x2113ff)=>{var _0xde2174=_0x4c708f;const _0x1a62c2=new FileReader();_0x1a62c2[_0xde2174(0x198)](_0x1d4b66),_0x1a62c2[_0xde2174(0x28b)]=_0x28868a=>{var _0x1ab253=_0xde2174,_0x1da2ac;const _0x30c5e3=(_0x1da2ac=_0x28868a[_0x1ab253(0x2ff)])==null?void 0x0:_0x1da2ac[_0x1ab253(0x4a0)];if(_0x30c5e3==null){this[_0x1ab253(0x44b)](),_0x2113ff(new Error(X[_0x1ab253(0x41e)]['ERROR_IMAGE']));return;}const _0x32510f=a[_0x1ab253(0x1b0)]['generateRandomId'](0x6);_0xa18761({'imageId':_0x32510f,'imageSourceType':X[_0x1ab253(0x1b7)]['UUID'],'source':_0x3aecb3,'base64Cache':_0x30c5e3,'status':X['ImageUploadStatusType'][_0x1ab253(0x3d0)]}),this[_0x1ab253(0x44b)]();};});}['_getUploadFileURL'](){var _0x4d6fb2=_0x5e99b1,_0x3202ea,_0x79c7bd;const _0x3f1e72=this[_0x4d6fb2(0x26b)]['getConfig'](xn),_0x536a81=this[_0x4d6fb2(0x26b)][_0x4d6fb2(0x26d)](q);return(_0x79c7bd=(_0x3202ea=_0x536a81==null?void 0x0:_0x536a81['uploadFileServerUrl'])!=null?_0x3202ea:_0x3f1e72)!=null?_0x79c7bd:jn;}[_0x5e99b1(0x1c1)](){var _0x55bdf1=_0x5e99b1,_0x2bc252,_0x281354;const _0x3e0c3c=this[_0x55bdf1(0x26b)][_0x55bdf1(0x26d)]($n),_0x3e7f8f=this[_0x55bdf1(0x26b)][_0x55bdf1(0x26d)](q);return(_0x281354=(_0x2bc252=_0x3e7f8f==null?void 0x0:_0x3e7f8f[_0x55bdf1(0x1d9)])!=null?_0x2bc252:_0x3e0c3c)!=null?_0x281354:Hn;}[_0x5e99b1(0x29f)](){var _0x2af969=_0x5e99b1,_0xe3991c;const _0x31cdab=this[_0x2af969(0x26b)]['getConfig'](q);return(_0xe3991c=_0x31cdab==null?void 0x0:_0x31cdab['downloadEndpointUrl'])!=null?_0xe3991c:location['origin'];}[_0x5e99b1(0x18f)](_0x211170,_0x51d597){var _0xa373b4=_0x5e99b1;return _0x211170[_0xa373b4(0x199)](_0xa373b4(0x371),_0x51d597);}[_0x5e99b1(0x44b)](){var _0x4669dd=_0x5e99b1;this['_waitCount']-=0x1,this[_0x4669dd(0x275)][_0x4669dd(0x352)](this[_0x4669dd(0x27f)]);}},exports['CollaborationImageIoService']=An([xe(0x0,a[_0x5e99b1(0x1a2)](z[_0x5e99b1(0x2b2)])),xe(0x1,a[_0x5e99b1(0x289)]),xe(0x2,a[_0x5e99b1(0x1a2)](a['IUniverInstanceService']))],exports[_0x5e99b1(0x320)]);var kn=Object[_0x5e99b1(0x4cc)],Bn=Object[_0x5e99b1(0x2a0)],Fn=(_0x3700fa,_0x23c115,_0x8214dc,_0x58326c)=>{var _0x565c17=_0x5e99b1;for(var _0x2cedd4=_0x58326c>0x1?void 0x0:_0x58326c?Bn(_0x23c115,_0x8214dc):_0x23c115,_0x38aa7f=_0x3700fa[_0x565c17(0x36d)]-0x1,_0x22919c;_0x38aa7f>=0x0;_0x38aa7f--)(_0x22919c=_0x3700fa[_0x38aa7f])&&(_0x2cedd4=(_0x58326c?_0x22919c(_0x23c115,_0x8214dc,_0x2cedd4):_0x22919c(_0x2cedd4))||_0x2cedd4);return _0x58326c&&_0x2cedd4&&kn(_0x23c115,_0x8214dc,_0x2cedd4),_0x2cedd4;},_t=(_0x4b3597,_0xec8d7c)=>(_0x267352,_0x7bebfa)=>_0xec8d7c(_0x267352,_0x7bebfa,_0x4b3597);const Wn='/universer-api/authz';exports[_0x5e99b1(0x421)]=class{constructor(_0x4370de,_0x2b33d5){var _0x3f758=_0x5e99b1;this[_0x3f758(0x26b)]=_0x4370de,this[_0x3f758(0x395)]=_0x2b33d5;}[_0x5e99b1(0x1b8)](){var _0x300111=_0x5e99b1,_0x56360f,_0xbf54be;const _0x49b697=this[_0x300111(0x26b)][_0x300111(0x26d)](Ge),_0x4401bb=this['_configService']['getConfig'](q);return(_0xbf54be=(_0x56360f=_0x4401bb==null?void 0x0:_0x4401bb[_0x300111(0x1f3)])!=null?_0x56360f:_0x49b697)!=null?_0xbf54be:Wn;}async['list'](_0x4a81cc){var _0x1844a0=_0x5e99b1;const _0x5b1a5b=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x5b1a5b,{'params':{'objectID':_0x4a81cc[_0x1844a0(0x473)],'unitID':_0x4a81cc[_0x1844a0(0x473)]}}))[_0x1844a0(0x3f9)][_0x1844a0(0x2d6)][_0x1844a0(0x47a)](_0x2fe38d=>({'objectId':_0x2fe38d['id'],'name':_0x2fe38d[_0x1844a0(0x439)][_0x1844a0(0x33a)],'metadata':{'icon':_0x2fe38d[_0x1844a0(0x439)][_0x1844a0(0x360)]},'label':_0x2fe38d[_0x1844a0(0x439)][_0x1844a0(0x33a)],'objectType':a[_0x1844a0(0x44f)][_0x1844a0(0x4b8)]})),'metadata':{},'type':a[_0x1844a0(0x44f)]['PERSON']}]};}},exports[_0x5e99b1(0x421)]=Fn([_t(0x0,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x289)])),_t(0x1,a[_0x5e99b1(0x1a2)](z[_0x5e99b1(0x2b2)]))],exports[_0x5e99b1(0x421)]);var Vn=Object[_0x5e99b1(0x4cc)],Gn=Object[_0x5e99b1(0x2a0)],Kn=(_0x2f72aa,_0x5b0943,_0xcb8671,_0x21e6ea)=>{var _0x3dba17=_0x5e99b1;for(var _0x4d598f=_0x21e6ea>0x1?void 0x0:_0x21e6ea?Gn(_0x5b0943,_0xcb8671):_0x5b0943,_0x5b652c=_0x2f72aa[_0x3dba17(0x36d)]-0x1,_0x186d16;_0x5b652c>=0x0;_0x5b652c--)(_0x186d16=_0x2f72aa[_0x5b652c])&&(_0x4d598f=(_0x21e6ea?_0x186d16(_0x5b0943,_0xcb8671,_0x4d598f):_0x186d16(_0x4d598f))||_0x4d598f);return _0x21e6ea&&_0x4d598f&&Vn(_0x5b0943,_0xcb8671,_0x4d598f),_0x4d598f;},ce=(_0x2ce1b2,_0x49189d)=>(_0x4edafb,_0x1152f2)=>_0x49189d(_0x4edafb,_0x1152f2,_0x2ce1b2);let Ne=class extends a[_0x5e99b1(0x191)]{constructor(_0x484559,_0x2bdbe6,_0x573341,_0x3eb329,_0x410f4d,_0x1883e6,_0x551472){var _0x535fa0=_0x5e99b1;super(),this['_injector']=_0x484559,this['_univerInstanceService']=_0x2bdbe6,this['_permissionService']=_0x573341,this[_0x535fa0(0x210)]=_0x3eb329,this[_0x535fa0(0x477)]=_0x410f4d,this[_0x535fa0(0x449)]=_0x1883e6,this[_0x535fa0(0x280)]=_0x551472,this[_0x535fa0(0x20c)](),this['_initCloseConn']();}[_0x5e99b1(0x4c3)](){var _0x158e1a=_0x5e99b1;const _0xe5a8c2=async _0x35d5c5=>{var _0x5abf46=_0x54fb;(await this[_0x5abf46(0x210)][_0x5abf46(0x487)](_0x35d5c5))[_0x5abf46(0x397)]['pipe'](V[_0x5abf46(0x3b1)](_0x5ee23c=>_0x5ee23c['eventID']===m[_0x5abf46(0x3de)][_0x5abf46(0x380)]),V['takeUntil'](this[_0x5abf46(0x3f0)]))[_0x5abf46(0x3b8)](_0x54226d=>{var _0x4bfcbb=_0x5abf46;const _0x433fe1=_0x54226d,{reason:_0x194507}=_0x433fe1['data'];this['_collaborationUIEventService'][_0x4bfcbb(0x2cd)]({'id':Q[_0x4bfcbb(0x2e4)],'data':_0x194507}),this['_permissionService'][_0x4bfcbb(0x181)](new W[(_0x4bfcbb(0x4f4))](_0x35d5c5)['id'],!0x1),this[_0x4bfcbb(0x210)]['closeSession'](_0x35d5c5);});};H[_0x158e1a(0x4e8)](this['_univerInstanceService'][_0x158e1a(0x316)](a[_0x158e1a(0x4af)][_0x158e1a(0x336)]),this['_univerInstanceService'][_0x158e1a(0x316)](a[_0x158e1a(0x4af)][_0x158e1a(0x497)]))['pipe'](V[_0x158e1a(0x47a)](_0x54729e=>_0x54729e[_0x158e1a(0x1f5)]()),V[_0x158e1a(0x3b1)](_0x178839=>!a[_0x158e1a(0x25f)](_0x178839)),V[_0x158e1a(0x4f6)](this[_0x158e1a(0x3f0)]))[_0x158e1a(0x3b8)](_0x167399=>{_0xe5a8c2(_0x167399);});}['_initUnitPermissionChange'](){var _0x2239de=_0x5e99b1;const _0x44010e=async _0x4f0bb2=>{var _0xa5c2ab=_0x54fb;(await this[_0xa5c2ab(0x210)]['requireSession'](_0x4f0bb2))[_0xa5c2ab(0x397)]['pipe'](V[_0xa5c2ab(0x3b1)](_0x52ec3e=>_0x52ec3e['eventID']===m[_0xa5c2ab(0x3de)][_0xa5c2ab(0x40d)]),V[_0xa5c2ab(0x4f6)](this['dispose$']))[_0xa5c2ab(0x3b8)](_0x2688a9=>{var _0x10c975=_0xa5c2ab;const _0x4e5d44=_0x2688a9,{objectId:_0x488891}=_0x4e5d44[_0x10c975(0x3d2)];_0x488891===_0x4f0bb2?this['initWorkbookPermissionChange'](_0x4f0bb2):this[_0x10c975(0x45e)](_0x4f0bb2,_0x488891);});};H[_0x2239de(0x4e8)](this[_0x2239de(0x49d)][_0x2239de(0x316)](a[_0x2239de(0x4af)][_0x2239de(0x336)]),this['_univerInstanceService'][_0x2239de(0x316)](a[_0x2239de(0x4af)][_0x2239de(0x497)]))[_0x2239de(0x22d)](V[_0x2239de(0x47a)](_0x41c642=>_0x41c642[_0x2239de(0x1f5)]()),V[_0x2239de(0x3b1)](_0x460879=>!a['isInternalEditorID'](_0x460879)),V['takeUntil'](this[_0x2239de(0x3f0)]))['subscribe'](_0x114244=>{_0x44010e(_0x114244);});}async['initWorkbookPermissionChange'](_0x4f9c6a){var _0x1f5b8d=_0x5e99b1,_0x148d4b;const _0x5d5636=_0x4f9c6a||((_0x148d4b=this['_univerInstanceService'][_0x1f5b8d(0x2bc)](a[_0x1f5b8d(0x4af)]['UNIVER_SHEET']))==null?void 0x0:_0x148d4b[_0x1f5b8d(0x1f5)]());_0x5d5636&&this[_0x1f5b8d(0x449)]['allowed']({'objectID':_0x5d5636,'objectType':W[_0x1f5b8d(0x21f)][_0x1f5b8d(0x435)],'unitID':_0x5d5636,'actions':W[_0x1f5b8d(0x4c9)]})[_0x1f5b8d(0x45f)](_0x34680b=>{var _0x10d17c=_0x1f5b8d;W[_0x10d17c(0x4f5)]()[_0x10d17c(0x42b)](_0x470175=>{var _0x852c2c=_0x10d17c;const _0x142963=new _0x470175(_0x5d5636),_0x54ee0c=_0x142963['subType'],_0x29a61f=_0x34680b[_0x852c2c(0x4a2)](_0x51369f=>_0x51369f[_0x852c2c(0x3b2)]===_0x54ee0c);_0x29a61f&&this[_0x852c2c(0x23e)][_0x852c2c(0x181)](_0x142963['id'],_0x29a61f[_0x852c2c(0x25e)]);});});}['refreshPermission'](_0x279e9d,_0x306976){var _0x275cba=_0x5e99b1;const _0x538014=this[_0x275cba(0x26a)]['get'](W[_0x275cba(0x333)]),_0x542e84=_0x538014[_0x275cba(0x1a3)](_0x279e9d,_0x306976);let _0x4edaab=!0x1;if(_0x542e84){const [_0x2ce39f,_0x352139]=_0x542e84;this['_authzIoService'][_0x275cba(0x25e)]({'objectID':_0x306976,'unitID':_0x279e9d,'objectType':W['UnitObject']['Worksheet'],'actions':W['baseProtectionActions']})[_0x275cba(0x45f)](_0x1c030d=>{var _0x265b1c=_0x275cba;let _0x286459='';W['getAllWorksheetPermissionPoint']()[_0x265b1c(0x42b)](_0x3bff2f=>{var _0x50eaec=_0x265b1c,_0x42ac27;const _0x186504=new _0x3bff2f(_0x279e9d,_0x352139),_0x4df6f3=_0x186504[_0x50eaec(0x3f3)],_0x1ab120=_0x1c030d['find'](_0x4e4584=>_0x4e4584[_0x50eaec(0x3b2)]===_0x4df6f3);_0x1ab120&&(((_0x42ac27=this[_0x50eaec(0x23e)]['getPermissionPoint'](_0x186504['id']))==null?void 0x0:_0x42ac27['value'])!==_0x1ab120[_0x50eaec(0x25e)]&&(_0x4edaab=!0x0),this[_0x50eaec(0x23e)]['updatePermissionPoint'](_0x186504['id'],_0x1ab120[_0x50eaec(0x25e)]),_0x286459+=_0x1ab120[_0x50eaec(0x3b2)]+'_'+_0x1ab120[_0x50eaec(0x25e)]);}),_0x538014[_0x265b1c(0x21c)](_0x306976+'_'+_0x286459),_0x4edaab&&this[_0x265b1c(0x280)][_0x265b1c(0x30b)](_0x279e9d);});}const _0x139f89=this[_0x275cba(0x26a)][_0x275cba(0x452)](W[_0x275cba(0x4cd)])[_0x275cba(0x1a3)](_0x279e9d,_0x306976);if(_0x139f89){const [_0x32bbf8,_0x2b5ce8]=_0x139f89;this[_0x275cba(0x449)][_0x275cba(0x25e)]({'objectID':_0x306976,'unitID':_0x279e9d,'objectType':W[_0x275cba(0x21f)]['Worksheet'],'actions':W[_0x275cba(0x16d)]})['then'](_0x7dd038=>{var _0x4d6b87=_0x275cba;W[_0x4d6b87(0x319)]()[_0x4d6b87(0x42b)](_0xfe959=>{var _0x1a57a=_0x4d6b87,_0x1afe66;const _0x14d813=new _0xfe959(_0x279e9d,_0x2b5ce8),_0x554a69=_0x14d813['subType'],_0xf7f0cc=_0x7dd038[_0x1a57a(0x4a2)](_0x397218=>_0x397218[_0x1a57a(0x3b2)]===_0x554a69);_0xf7f0cc&&(((_0x1afe66=this[_0x1a57a(0x23e)]['getPermissionPoint'](_0x14d813['id']))==null?void 0x0:_0x1afe66[_0x1a57a(0x1af)])!==_0xf7f0cc['allowed']&&(_0x4edaab=!0x0),this['_permissionService']['updatePermissionPoint'](_0x14d813['id'],_0xf7f0cc[_0x1a57a(0x25e)]));}),_0x4edaab&&this[_0x4d6b87(0x280)][_0x4d6b87(0x30b)](_0x279e9d);});}const _0x21e6a0=this[_0x275cba(0x26a)][_0x275cba(0x452)](W['RangeProtectionRuleModel']),_0x274308=_0x21e6a0['getTargetByPermissionId'](_0x279e9d,_0x306976);if(_0x274308){const [_0x336daf,_0x592e3d]=_0x274308;this[_0x275cba(0x449)]['allowed']({'objectID':_0x306976,'unitID':_0x279e9d,'objectType':W['UnitObject'][_0x275cba(0x267)],'actions':W[_0x275cba(0x389)]})[_0x275cba(0x45f)](_0x480672=>{var _0xfa289b=_0x275cba;let _0xe134='';W[_0xfa289b(0x1ee)]()[_0xfa289b(0x42b)](_0x23f5fa=>{var _0x34e65f=_0xfa289b,_0x5c7271;const _0xae44a3=new _0x23f5fa(_0x279e9d,_0x592e3d,_0x306976),_0x5c647c=_0xae44a3['subType'],_0x13f364=_0x480672[_0x34e65f(0x4a2)](_0x3f4465=>_0x3f4465[_0x34e65f(0x3b2)]===_0x5c647c);_0x13f364&&(((_0x5c7271=this['_permissionService']['getPermissionPoint'](_0xae44a3['id']))==null?void 0x0:_0x5c7271[_0x34e65f(0x1af)])!==_0x13f364[_0x34e65f(0x25e)]&&(_0x4edaab=!0x0),this[_0x34e65f(0x23e)]['updatePermissionPoint'](_0xae44a3['id'],_0x13f364[_0x34e65f(0x25e)]),_0xe134+=_0x13f364[_0x34e65f(0x3b2)]+'_'+_0x13f364[_0x34e65f(0x25e)]);}),_0x21e6a0[_0xfa289b(0x21c)](_0x306976+'_'+_0xe134),_0x4edaab&&this['_undoRedoService'][_0xfa289b(0x30b)](_0x279e9d);});}}};Ne=Kn([ce(0x0,a['Inject'](a['Injector'])),ce(0x1,a[_0x5e99b1(0x174)]),ce(0x2,a[_0x5e99b1(0x4bc)]),ce(0x3,a[_0x5e99b1(0x1a2)](exports['CollaborationSessionService'])),ce(0x4,a[_0x5e99b1(0x1a2)](te)),ce(0x5,a[_0x5e99b1(0x1fc)]),ce(0x6,a[_0x5e99b1(0x317)])],Ne);var Yn=Object[_0x5e99b1(0x4cc)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x2b6533,_0x554910,_0x4e8c52,_0x5db473)=>{for(var _0x5ec4dc=_0x5db473>0x1?void 0x0:_0x5db473?qn(_0x554910,_0x4e8c52):_0x554910,_0x98ccb=_0x2b6533['length']-0x1,_0x1a629d;_0x98ccb>=0x0;_0x98ccb--)(_0x1a629d=_0x2b6533[_0x98ccb])&&(_0x5ec4dc=(_0x5db473?_0x1a629d(_0x554910,_0x4e8c52,_0x5ec4dc):_0x1a629d(_0x5ec4dc))||_0x5ec4dc);return _0x5db473&&_0x5ec4dc&&Yn(_0x554910,_0x4e8c52,_0x5ec4dc),_0x5ec4dc;},ut=(_0x20ce2d,_0x25f898)=>(_0x318840,_0x47d250)=>_0x25f898(_0x318840,_0x47d250,_0x20ce2d);exports[_0x5e99b1(0x300)]=class{constructor(_0x2bee5e,_0x3d8cac){var _0x47797a=_0x5e99b1;this[_0x47797a(0x26b)]=_0x2bee5e,this[_0x47797a(0x2e6)]=_0x3d8cac;}async[_0x5e99b1(0x486)](_0x2e291a,_0x5d66f3){var _0x3aa010=_0x5e99b1,_0x18348a;const {unitID:_0x42d56d,type:_0x8dae2,revision:_0x57be77=0x0}=_0x5d66f3,_0x5b380a=this['getSnapshotAPIPath']()+'/'+_0x8dae2+_0x3aa010(0x402)+_0x42d56d+'/rev/'+_0x57be77,_0xb071b5=(await this[_0x3aa010(0x2e6)][_0x3aa010(0x452)](_0x5b380a))[_0x3aa010(0x3f9)],_0x12d20c=(_0x18348a=_0xb071b5[_0x3aa010(0x3ec)])==null?void 0x0:_0x18348a[_0x3aa010(0x370)];if(_0x12d20c){const _0x875e4e=_0x12d20c==null?void 0x0:_0x12d20c['originalMeta'],_0x43efe2=m[_0x3aa010(0x2c0)][_0x3aa010(0x401)](m[_0x3aa010(0x206)](_0x875e4e));_0x12d20c[_0x3aa010(0x24a)]=_0x43efe2,Object[_0x3aa010(0x1d6)](_0x12d20c[_0x3aa010(0x482)])['forEach'](([,_0x4f0b37])=>{var _0x44b32a=_0x3aa010;const _0x109633=_0x4f0b37['originalMeta'],_0x437131=m[_0x44b32a(0x2c0)]['encode'](m[_0x44b32a(0x206)](_0x109633));_0x4f0b37[_0x44b32a(0x24a)]=_0x437131;});}return _0xb071b5;}async[_0x5e99b1(0x3ce)](_0x501443,_0x225047){var _0x5d9cc0=_0x5e99b1;const {unitID:_0x20e285,type:_0x156348,blockID:_0x4e378e}=_0x225047,_0x56f8d9=this['_getAPIPrefix']()+'/'+_0x156348+_0x5d9cc0(0x402)+_0x20e285+'/block/'+_0x4e378e;return(await this[_0x5d9cc0(0x2e6)]['get'](_0x56f8d9))[_0x5d9cc0(0x3f9)];}async[_0x5e99b1(0x355)](_0x5deade,_0x463031){var _0x4851af=_0x5e99b1;const {unitID:_0x3881ff,type:_0x447894,blockID:_0x4bdf3e}=_0x463031,_0x5083d1=this[_0x4851af(0x27e)]()+_0x4851af(0x335)+_0x447894+_0x4851af(0x402)+_0x3881ff+_0x4851af(0x335)+_0x4bdf3e;return(await this[_0x4851af(0x2e6)][_0x4851af(0x452)](_0x5083d1))[_0x4851af(0x3f9)];}async[_0x5e99b1(0x43c)](_0x37238c,_0x67b7da){var _0x4d4045=_0x5e99b1;const {unitID:_0x34cf5e,type:_0x33bf04,from:_0x16b5a9,to:_0x26b40f}=_0x67b7da,_0x107630=this[_0x4d4045(0x27e)]()+'/'+_0x33bf04+_0x4d4045(0x402)+_0x34cf5e+_0x4d4045(0x19a)+_0x16b5a9+_0x4d4045(0x431)+_0x26b40f;return(await this[_0x4d4045(0x2e6)][_0x4d4045(0x452)](_0x107630))['body'];}[_0x5e99b1(0x4d7)](){var _0x4d25b0=_0x5e99b1,_0x5a9d69;return(_0x5a9d69=this[_0x4d25b0(0x26b)][_0x4d25b0(0x26d)](ft))!=null?_0x5a9d69:this['_getAPIPrefix']();}[_0x5e99b1(0x27e)](){var _0x2632bb=_0x5e99b1,_0x39521a,_0xfbde95;const _0x46d7bf=this['_configService']['getConfig'](vt),_0x4fa808=this['_configService'][_0x2632bb(0x26d)](q);return(_0xfbde95=(_0x39521a=_0x4fa808==null?void 0x0:_0x4fa808[_0x2632bb(0x3fe)])!=null?_0x39521a:_0x46d7bf)!=null?_0xfbde95:Ht;}async[_0x5e99b1(0x1a1)](_0x229fe0,_0x4aff72){var _0x503de8=_0x5e99b1;const _0x23a69f='/universer-api/snapshot/'+_0x4aff72[_0x503de8(0x3ca)]+'/unit/'+_0x4aff72['unitID']+_0x503de8(0x2c1);return(await this['_httpService'][_0x503de8(0x452)](_0x23a69f,{'params':{'resourceId':JSON[_0x503de8(0x305)](_0x4aff72['resourceIDs'])}}))[_0x503de8(0x3f9)];}[_0x5e99b1(0x308)](){var _0x5a3da8=_0x5e99b1;throw new Error(_0x5a3da8(0x4b0));}['saveSheetBlock'](){var _0x155eca=_0x5e99b1;throw new Error(_0x155eca(0x4b0));}[_0x5e99b1(0x35d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0xd9b1a2=_0x5e99b1;throw new Error(_0xd9b1a2(0x4b0));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x5e99b1(0x300)]=zn([ut(0x0,a[_0x5e99b1(0x289)]),ut(0x1,a[_0x5e99b1(0x1a2)](z['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Jn=Object[_0x5e99b1(0x4cc)],Xn=Object[_0x5e99b1(0x2a0)],Zn=(_0x14aeaf,_0x210881,_0x13696a,_0x1ce989)=>{var _0x4bb231=_0x5e99b1;for(var _0x16b66b=_0x1ce989>0x1?void 0x0:_0x1ce989?Xn(_0x210881,_0x13696a):_0x210881,_0x49e93c=_0x14aeaf[_0x4bb231(0x36d)]-0x1,_0x318369;_0x49e93c>=0x0;_0x49e93c--)(_0x318369=_0x14aeaf[_0x49e93c])&&(_0x16b66b=(_0x1ce989?_0x318369(_0x210881,_0x13696a,_0x16b66b):_0x318369(_0x16b66b))||_0x16b66b);return _0x1ce989&&_0x16b66b&&Jn(_0x210881,_0x13696a,_0x16b66b),_0x16b66b;},de=(_0xf719fc,_0xe43687)=>(_0x1a33c0,_0x2c96e3)=>_0xe43687(_0x1a33c0,_0x2c96e3,_0xf719fc);exports['CollaborativeUndoRedoService']=class extends a[_0x5e99b1(0x3ae)]{constructor(_0x7d5803,_0x31ade8,_0x2a42d9,_0x4115a7,_0x2d52f1){var _0x10eaba=_0x5e99b1;super(_0x7d5803,_0x31ade8,_0x2a42d9),this[_0x10eaba(0x2b0)]=_0x4115a7,this['_logService']=_0x2d52f1;}[_0x5e99b1(0x489)](_0x4c7193,_0x589aef){var _0x39191f=_0x5e99b1;const _0x2c684c=this[_0x39191f(0x469)](_0x4c7193);if(_0x2c684c)try{const _0xd0663e=this[_0x39191f(0x446)](_0x2c684c,_0x589aef);this[_0x39191f(0x2f1)](_0x4c7193,_0xd0663e);}catch(_0x4b03a0){this[_0x39191f(0x412)]['error']('[CollaborationUndoRedoService]',_0x4b03a0),this[_0x39191f(0x49e)](_0x4c7193);}const _0x1873d9=this[_0x39191f(0x383)](_0x4c7193);if(_0x1873d9)try{const _0x10996b=this[_0x39191f(0x446)](_0x1873d9,_0x589aef);this['_substituteRedoStack'](_0x4c7193,_0x10996b);}catch(_0x26e418){this[_0x39191f(0x412)][_0x39191f(0x350)](_0x26e418),this[_0x39191f(0x29e)](_0x4c7193);}}[_0x5e99b1(0x49e)](_0x3c4b97){var _0x15b3c0=_0x5e99b1;const _0x1b32e3=this[_0x15b3c0(0x469)](_0x3c4b97);_0x1b32e3&&(_0x1b32e3['length']=0x0,this[_0x15b3c0(0x48e)]());}[_0x5e99b1(0x29e)](_0x365b7c){var _0x4f9de7=_0x5e99b1;const _0x5e48c4=this['_getRedoStack'](_0x365b7c);_0x5e48c4&&(_0x5e48c4[_0x4f9de7(0x36d)]=0x0,this['_updateStatus']());}[_0x5e99b1(0x2f1)](_0xef814c,_0x3532fc){var _0x1edb6b=_0x5e99b1;this[_0x1edb6b(0x36a)][_0x1edb6b(0x40b)](_0xef814c,_0x3532fc),this[_0x1edb6b(0x48e)]();}[_0x5e99b1(0x4a6)](_0x4ad7fc,_0x511bbb){var _0x2d0635=_0x5e99b1;this[_0x2d0635(0x1e2)][_0x2d0635(0x40b)](_0x4ad7fc,_0x511bbb),this[_0x2d0635(0x48e)]();}[_0x5e99b1(0x446)](_0x44cd79,_0x8c63d0){var _0xc20661=_0x5e99b1;const _0x2ab0de=[];let _0x26a67c=_0x8c63d0,_0x52d3af=_0x8c63d0;for(let _0x3cfb89=_0x44cd79['length']-0x1;_0x3cfb89>=0x0;_0x3cfb89--){const {unitID:_0x2488a1,undoMutations:_0x3ba3fe,redoMutations:_0x2db7cb}=_0x44cd79[_0x3cfb89],_0x1c04da=this[_0xc20661(0x2b0)][_0xc20661(0x16e)](_0x26a67c,_0x3ba3fe),_0x59b02e=this[_0xc20661(0x2b0)][_0xc20661(0x16e)](_0x52d3af,_0x2db7cb);if(m[_0xc20661(0x1ac)](_0x1c04da)||m[_0xc20661(0x1ac)](_0x59b02e)){this['_logService'][_0xc20661(0x350)](_0xc20661(0x323),_0xc20661(0x40e),_0x1c04da,_0x59b02e);break;}_0x26a67c=_0x1c04da[_0xc20661(0x2d2)],_0x52d3af=_0x59b02e['c1Prime'],_0x2ab0de[_0xc20661(0x2f5)]({'unitID':_0x2488a1,'undoMutations':_0x1c04da[_0xc20661(0x299)],'redoMutations':_0x59b02e['m2Prime']});}return _0x2ab0de[_0xc20661(0x4a5)]();}},exports[_0x5e99b1(0x2d1)]=Zn([de(0x0,a[_0x5e99b1(0x174)]),de(0x1,a[_0x5e99b1(0x4df)]),de(0x2,a[_0x5e99b1(0x4aa)]),de(0x3,m[_0x5e99b1(0x458)]),de(0x4,a[_0x5e99b1(0x24d)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x5e99b1(0x4cc)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x19fbfb,_0x35ee9f,_0x294dc0)=>_0x35ee9f in _0x19fbfb?Lt(_0x19fbfb,_0x35ee9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x294dc0}):_0x19fbfb[_0x35ee9f]=_0x294dc0,tr=(_0x1106bf,_0x24cbee,_0x20785d,_0x2e499c)=>{var _0xf2be7d=_0x5e99b1;for(var _0x2cb0ca=_0x2e499c>0x1?void 0x0:_0x2e499c?Qn(_0x24cbee,_0x20785d):_0x24cbee,_0x4e9fb3=_0x1106bf[_0xf2be7d(0x36d)]-0x1,_0x213f68;_0x4e9fb3>=0x0;_0x4e9fb3--)(_0x213f68=_0x1106bf[_0x4e9fb3])&&(_0x2cb0ca=(_0x2e499c?_0x213f68(_0x24cbee,_0x20785d,_0x2cb0ca):_0x213f68(_0x2cb0ca))||_0x2cb0ca);return _0x2e499c&&_0x2cb0ca&&Lt(_0x24cbee,_0x20785d,_0x2cb0ca),_0x2cb0ca;},je=(_0x419a00,_0x2a27ac)=>(_0x32003b,_0x5b4fdd)=>_0x2a27ac(_0x32003b,_0x5b4fdd,_0x419a00),ir=(_0x1fc806,_0x50e423,_0xedc9db)=>er(_0x1fc806,_0x50e423+'',_0xedc9db);const nr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x5e99b1(0x192)]=class extends a['Plugin']{constructor(_0x3b2072=Ke,_0x25006e,_0x503711,_0xda7d9e){var _0x529cd2=_0x5e99b1;super(),this[_0x529cd2(0x263)]=_0x3b2072,this['_logService']=_0x25006e,this[_0x529cd2(0x26a)]=_0x503711,this[_0x529cd2(0x26b)]=_0xda7d9e;const {..._0x22deb0}=a[_0x529cd2(0x4e8)]({},Ke,this[_0x529cd2(0x263)]);this[_0x529cd2(0x26b)][_0x529cd2(0x264)](q,_0x22deb0);}[_0x5e99b1(0x19f)](){var _0x241aaf=_0x5e99b1;this['_registerDependencies'](),this[_0x241aaf(0x385)]();}[_0x5e99b1(0x381)](){var _0x306c98=_0x5e99b1,_0x3ba5ac,_0x2916a1,_0x17f576,_0x183a52;this['_injector'][_0x306c98(0x358)](a[_0x306c98(0x317)])&&this[_0x306c98(0x412)][_0x306c98(0x350)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2d6336=a[_0x306c98(0x266)]([[a['IUndoRedoService'],{'useClass':exports[_0x306c98(0x2d1)]}],[exports[_0x306c98(0x433)]],[exports[_0x306c98(0x221)]],[exports[_0x306c98(0x2eb)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x306c98(0x29a)]],[ke,{'useClass':(_0x2916a1=(_0x3ba5ac=this[_0x306c98(0x263)])==null?void 0x0:_0x3ba5ac[_0x306c98(0x484)])!=null?_0x2916a1:exports[_0x306c98(0x42a)]}],[m[_0x306c98(0x32c)],{'useClass':exports[_0x306c98(0x300)]}],[a[_0x306c98(0x1fc)],{'useClass':exports[_0x306c98(0x347)]}],[X[_0x306c98(0x2b5)],{'useClass':exports[_0x306c98(0x320)]}],[a['IMentionIOService'],{'useClass':exports[_0x306c98(0x421)]}],[exports[_0x306c98(0x28d)]],[$e]],(_0x17f576=this[_0x306c98(0x263)])==null?void 0x0:_0x17f576[_0x306c98(0x173)]);if(!((_0x183a52=this[_0x306c98(0x263)])!=null&&_0x183a52[_0x306c98(0x3ed)])){const _0x3ed619=_0x2d6336[_0x306c98(0x47f)](([_0x12fe04])=>_0x12fe04===ve);_0x3ed619!==-0x1&&_0x2d6336[_0x306c98(0x4b6)](_0x3ed619,0x1);}a[_0x306c98(0x2ad)](this[_0x306c98(0x26a)],_0x2d6336);}[_0x5e99b1(0x385)](){var _0x462459=_0x5e99b1,_0x51c433,_0x4387e2,_0x1553c3;this[_0x462459(0x26a)][_0x462459(0x452)](z[_0x462459(0x2b2)])[_0x462459(0x302)]({'priority':0x14,'interceptor':z[_0x462459(0x22a)]({'maxParallel':0x6})}),(_0x51c433=this[_0x462459(0x263)])!=null&&_0x51c433[_0x462459(0x4ba)]||(_0x4387e2=this[_0x462459(0x26a)][_0x462459(0x452)](J,a[_0x462459(0x3c4)][_0x462459(0x2db)]))==null||_0x4387e2[_0x462459(0x3c1)](),(_0x1553c3=this[_0x462459(0x263)])!=null&&_0x1553c3[_0x462459(0x1a0)]&&a['touchDependencies'](this[_0x462459(0x26a)],[[ye]]),a['touchDependencies'](this[_0x462459(0x26a)],[[Pe],[exports[_0x462459(0x28d)]],[Ne]]);}},ir(exports['UniverCollaborationClientPlugin'],_0x5e99b1(0x2da),nr),exports['UniverCollaborationClientPlugin']=tr([a[_0x5e99b1(0x4e7)](m['UniverCollaborationPlugin'],W[_0x5e99b1(0x1c4)],z[_0x5e99b1(0x226)]),je(0x1,a[_0x5e99b1(0x24d)]),je(0x2,a[_0x5e99b1(0x1a2)](a[_0x5e99b1(0x261)])),je(0x3,a[_0x5e99b1(0x289)])],exports[_0x5e99b1(0x192)]),exports[_0x5e99b1(0x28e)]=Ge,exports[_0x5e99b1(0x35e)]=q,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports[_0x5e99b1(0x3f6)]=St,exports[_0x5e99b1(0x405)]=We,exports[_0x5e99b1(0x43e)]=Q,exports[_0x5e99b1(0x396)]=te,exports[_0x5e99b1(0x4ac)]=Be,exports[_0x5e99b1(0x341)]=pt,exports[_0x5e99b1(0x21b)]=Xt,exports['HEARTBEAT_INTERVAL_KEY']=gt,exports[_0x5e99b1(0x384)]=He,exports['ICollaborationSocketService']=ke,exports['ILocalCacheService']=J,exports[_0x5e99b1(0x318)]=Rt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x5e99b1(0x2f6)]=Kt,exports['LOGIN_URL_KEY']=Ct,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Jt,exports[_0x5e99b1(0x476)]=It,exports[_0x5e99b1(0x34a)]=kt,exports[_0x5e99b1(0x35b)]=vt,exports[_0x5e99b1(0x3f2)]=ft,exports['SessionStatus']=se,exports[_0x5e99b1(0x337)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x5e99b1(0x3fa)]=mi,exports[_0x5e99b1(0x179)]=yt;
1
+ 'use strict';var _0x3c2833=_0x4fcf;(function(_0x67af71,_0x329707){var _0x2d8531=_0x4fcf,_0x187c18=_0x67af71();while(!![]){try{var _0x29db78=-parseInt(_0x2d8531(0x3f7))/0x1*(parseInt(_0x2d8531(0x36d))/0x2)+-parseInt(_0x2d8531(0x34c))/0x3+parseInt(_0x2d8531(0x242))/0x4*(parseInt(_0x2d8531(0xcb))/0x5)+parseInt(_0x2d8531(0x236))/0x6*(-parseInt(_0x2d8531(0x2db))/0x7)+parseInt(_0x2d8531(0x20f))/0x8+-parseInt(_0x2d8531(0x275))/0x9+parseInt(_0x2d8531(0x1ea))/0xa;if(_0x29db78===_0x329707)break;else _0x187c18['push'](_0x187c18['shift']());}catch(_0x325fca){_0x187c18['push'](_0x187c18['shift']());}}}(_0x2ff8,0xf06bf));var Mt=Object[_0x3c2833(0x1b7)],xt=(_0x48ca50,_0x2e6d70,_0x32e5dc)=>_0x2e6d70 in _0x48ca50?Mt(_0x48ca50,_0x2e6d70,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e5dc}):_0x48ca50[_0x2e6d70]=_0x32e5dc,D=(_0xad5a73,_0x298b85,_0x32edb6)=>xt(_0xad5a73,typeof _0x298b85!=_0x3c2833(0x1d6)?_0x298b85+'':_0x298b85,_0x32edb6);Object[_0x3c2833(0x1b7)](exports,Symbol[_0x3c2833(0x29d)],{'value':_0x3c2833(0x3ba)});const a=require(_0x3c2833(0x112)),H=require(_0x3c2833(0x102)),V=require(_0x3c2833(0x2d4)),z=require(_0x3c2833(0x3d4)),m=require('@univerjs-pro/collaboration'),jt=require('@univerjs/telemetry'),dt=require(_0x3c2833(0x125)),W=require(_0x3c2833(0x40c)),X=require('@univerjs/drawing'),$t=require(_0x3c2833(0x42a)),vt='SNAPSHOT_SERVER_URL_KEY',Ht=_0x3c2833(0x3cd),ft=_0x3c2833(0x356),kt=_0x3c2833(0x1e1),Bt=0x7d0,St=_0x3c2833(0x3a2),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x3c2833(0x440),gt='HEARTBEAT_INTERVAL',Wt=0x7530,He='HEARTBEAT_TIMEOUT',mt=0x4e20,Vt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Gt=0x3,Kt=_0x3c2833(0x3bc),Yt=0x3e8,Et='COLLAB_SUBMIT_CHANGESET_URL',qt=_0x3c2833(0x292),Ct=_0x3c2833(0x107),zt=_0x3c2833(0x43e),Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x3c2833(0x2f1);var Tt=(_0x459ca2=>(_0x459ca2[_0x459ca2['UNDEFINED']=0x0]=_0x3c2833(0x1f9),_0x459ca2[_0x459ca2['OK']=0x1]='OK',_0x459ca2[_0x459ca2[_0x3c2833(0x162)]=0x2]=_0x3c2833(0x162),_0x459ca2[_0x459ca2[_0x3c2833(0x20a)]=0x3]='PERMISSION_DENIED',_0x459ca2[_0x459ca2[_0x3c2833(0x1ca)]=0x4]=_0x3c2833(0x1ca),_0x459ca2[_0x459ca2[_0x3c2833(0xdd)]=0x5]=_0x3c2833(0xdd),_0x459ca2[_0x459ca2['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x459ca2[_0x459ca2['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x459ca2[_0x459ca2['TOO_MANY_REQUESTS']=0x8]=_0x3c2833(0x2c1),_0x459ca2[_0x459ca2[_0x3c2833(0x32f)]=0x9]='COMPLETION_FINISHED',_0x459ca2[_0x459ca2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x459ca2[_0x459ca2[_0x3c2833(0x16d)]=0x1771]=_0x3c2833(0x16d),_0x459ca2[_0x459ca2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3c2833(0x1b1),_0x459ca2[_0x459ca2[_0x3c2833(0x211)]=0x1773]=_0x3c2833(0x211),_0x459ca2[_0x459ca2[_0x3c2833(0x1f0)]=0x1b59]=_0x3c2833(0x1f0),_0x459ca2[_0x459ca2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3c2833(0x44e),_0x459ca2[_0x459ca2[_0x3c2833(0x36a)]=0x1b5b]=_0x3c2833(0x36a),_0x459ca2[_0x459ca2[_0x3c2833(0x103)]=0x1b5c]=_0x3c2833(0x103),_0x459ca2[_0x459ca2[_0x3c2833(0x2b1)]=0x1b5d]='APPLY_DUPLICATED',_0x459ca2[_0x459ca2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x459ca2[_0x459ca2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c2833(0x1f6),_0x459ca2[_0x459ca2[_0x3c2833(0x319)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x459ca2[_0x459ca2[_0x3c2833(0x2a1)]=0x232b]=_0x3c2833(0x2a1),_0x459ca2[_0x459ca2[_0x3c2833(0x1eb)]=0x232c]=_0x3c2833(0x1eb),_0x459ca2[_0x459ca2[_0x3c2833(0x3a7)]=0x232d]=_0x3c2833(0x3a7),_0x459ca2[_0x459ca2[_0x3c2833(0xe3)]=0x2711]=_0x3c2833(0xe3),_0x459ca2[_0x459ca2[_0x3c2833(0x3ae)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x459ca2[_0x459ca2[_0x3c2833(0x297)]=0x2713]=_0x3c2833(0x297),_0x459ca2[_0x459ca2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3c2833(0x1f4),_0x459ca2[_0x459ca2[_0x3c2833(0x2d1)]=-0x1]='UNRECOGNIZED',_0x459ca2))(Tt||{}),Z=(_0x4023b7=>(_0x4023b7[_0x4023b7['UNIVER_UNKNOWN']=0x0]=_0x3c2833(0x2a4),_0x4023b7[_0x4023b7[_0x3c2833(0x25a)]=0x1]=_0x3c2833(0x25a),_0x4023b7[_0x4023b7[_0x3c2833(0x256)]=0x2]=_0x3c2833(0x256),_0x4023b7[_0x4023b7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4023b7[_0x4023b7['UNIVER_PROJECT']=0x4]=_0x3c2833(0x269),_0x4023b7[_0x4023b7[_0x3c2833(0x2d1)]=-0x1]='UNRECOGNIZED',_0x4023b7))(Z||{}),G=(_0x82e995=>(_0x82e995[_0x82e995[_0x3c2833(0x23f)]=0x0]=_0x3c2833(0x23f),_0x82e995[_0x82e995['HELLO']=0x1]='HELLO',_0x82e995[_0x82e995[_0x3c2833(0xd9)]=0x2]='JOIN',_0x82e995[_0x82e995['LEAVE']=0x3]=_0x3c2833(0x1c3),_0x82e995[_0x82e995[_0x3c2833(0x416)]=0x4]=_0x3c2833(0x416),_0x82e995[_0x82e995[_0x3c2833(0x324)]=0x5]='HEARTBEAT',_0x82e995[_0x82e995['RECV']=0x6]=_0x3c2833(0x1ad),_0x82e995[_0x82e995[_0x3c2833(0x2d1)]=-0x1]='UNRECOGNIZED',_0x82e995))(G||{}),he=(_0x345faf=>(_0x345faf[_0x345faf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x345faf[_0x345faf['OK']=0x1]='OK',_0x345faf[_0x345faf[_0x3c2833(0x2e7)]=0x2]=_0x3c2833(0x2e7),_0x345faf[_0x345faf[_0x3c2833(0x43a)]=0x3e9]='JOIN_ROOM_FULL',_0x345faf[_0x345faf[_0x3c2833(0x285)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x345faf[_0x345faf['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x345faf[_0x345faf[_0x3c2833(0x208)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x345faf[_0x345faf[_0x3c2833(0x2d1)]=-0x1]=_0x3c2833(0x2d1),_0x345faf))(he||{}),bt=(_0xe0164f=>(_0xe0164f[_0xe0164f[_0x3c2833(0x151)]=0x0]=_0x3c2833(0x151),_0xe0164f[_0xe0164f[_0x3c2833(0xca)]=0x1]='HttpImport',_0xe0164f[_0xe0164f[_0x3c2833(0x3a1)]=0x2]=_0x3c2833(0x3a1),_0xe0164f[_0xe0164f[_0x3c2833(0x400)]=0x3]=_0x3c2833(0x400),_0xe0164f[_0xe0164f[_0x3c2833(0x2f8)]=0x4]=_0x3c2833(0x2f8),_0xe0164f[_0xe0164f[_0x3c2833(0x2d1)]=-0x1]=_0x3c2833(0x2d1),_0xe0164f))(bt||{});const q=_0x3c2833(0x3fb),Ke={};var Q=(_0x2fa527=>(_0x2fa527['OTHER_CLIENT_EDITING']=_0x3c2833(0x204),_0x2fa527[_0x3c2833(0x20a)]=_0x3c2833(0x20a),_0x2fa527[_0x3c2833(0x451)]=_0x3c2833(0x451),_0x2fa527[_0x3c2833(0x1b2)]=_0x3c2833(0x1b2),_0x2fa527[_0x3c2833(0x14b)]=_0x3c2833(0x14b),_0x2fa527['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2fa527[_0x3c2833(0x21c)]='SOCKET_FAILED',_0x2fa527[_0x3c2833(0x2dc)]='SUBMIT_CHANGESET_TIMEOUT',_0x2fa527))(Q||{});class te{constructor(){var _0xed9002=_0x3c2833;D(this,_0xed9002(0x40f),new H[(_0xed9002(0x333))]()),D(this,_0xed9002(0x265),this[_0xed9002(0x40f)]['asObservable']());}['emitEvent'](_0x44c2c3){var _0x41af6f=_0x3c2833;this[_0x41af6f(0x40f)][_0x41af6f(0x278)](_0x44c2c3);}}const Rt=a['createIdentifier'](_0x3c2833(0x33a));function Ot(_0x43dd24){var _0x5066c5=_0x3c2833,_0x323e1e,_0x11b3d7,_0x481102,_0x4ceae0,_0x710fa1;const _0x12d785=_0x43dd24[_0x5066c5(0xd1)],_0x4a4fae=JSON[_0x5066c5(0x3ed)](_0x12d785);switch(_0x4a4fae[_0x5066c5(0xe1)]){case G['HEARTBEAT']:case G[_0x5066c5(0x3f3)]:{const _0x15266d=_0x4a4fae[_0x5066c5(0x2ce)];return{..._0x4a4fae,'data':_0x15266d,'cmd':_0x4a4fae[_0x5066c5(0xe1)]};}case G[_0x5066c5(0xd9)]:{const _0x3f2a6a=_0x4a4fae[_0x5066c5(0x10e)];return{..._0x4a4fae,'data':_0x3f2a6a,'cmd':_0x4a4fae[_0x5066c5(0xe1)]};}case G['RECV']:{const _0x488b85=_0x4a4fae['collaMsg'];switch(_0x488b85[_0x5066c5(0x1bc)]){case m[_0x5066c5(0x43b)][_0x5066c5(0x2c9)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':(_0x323e1e=_0x488b85['permissionRejEvent'])==null?void 0x0:_0x323e1e['cs']},'cmd':_0x4a4fae['cmd']};case m[_0x5066c5(0x43b)][_0x5066c5(0x20b)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':(_0x11b3d7=_0x488b85['csAckEvent'])==null?void 0x0:_0x11b3d7['cs']},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m['CollaborationEvent'][_0x5066c5(0x33e)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':(_0x481102=_0x488b85[_0x5066c5(0x200)])==null?void 0x0:_0x481102['cs']},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x4a4fae,'data':{..._0x488b85,'data':(_0x4ceae0=_0x488b85[_0x5066c5(0x22a)])==null?void 0x0:_0x4ceae0['cs']},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m['CollaborationEvent'][_0x5066c5(0x2b2)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':(_0x710fa1=_0x488b85[_0x5066c5(0x1ab)])==null?void 0x0:_0x710fa1['cs']},'cmd':_0x4a4fae['cmd']};case m[_0x5066c5(0x43b)]['UPDATE_CURSOR']:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x1fd)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0x38e)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x1e6)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0xf8)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x229)]},'cmd':_0x4a4fae['cmd']};case m[_0x5066c5(0x43b)][_0x5066c5(0x3a6)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x1a6)]},'cmd':_0x4a4fae['cmd']};case m[_0x5066c5(0x43b)][_0x5066c5(0x299)]:case m['CollaborationEvent'][_0x5066c5(0x33c)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x41c)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)]['LIVESHARE_TERMINATE']:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x1a6)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0xfd)]:return{..._0x4a4fae,'data':_0x488b85,'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0x14e)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85['commentUpdateEvent']},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0x1b6)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x1b9)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m['CollaborationEvent'][_0x5066c5(0xdc)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85[_0x5066c5(0x295)]},'cmd':_0x4a4fae[_0x5066c5(0xe1)]};case m[_0x5066c5(0x43b)][_0x5066c5(0x431)]:return{..._0x4a4fae,'data':{..._0x488b85,'data':_0x488b85['uniscriptRunEvent']},'cmd':_0x4a4fae['cmd']};default:return _0x4a4fae;}}default:return _0x4a4fae;}}function yt(_0x8246f7){var _0x1960f1=_0x3c2833;switch(_0x8246f7[_0x1960f1(0xe1)]){case G[_0x1960f1(0x324)]:case G[_0x1960f1(0x3f3)]:return JSON[_0x1960f1(0x450)]({'cmd':_0x8246f7[_0x1960f1(0xe1)],'routeKey':_0x8246f7[_0x1960f1(0x3c1)]});case G[_0x1960f1(0x416)]:{let _0xa8ace4;switch(_0x8246f7['data']['eventID']){case m['CollaborationEvent']['UPDATE_CURSOR']:{_0xa8ace4={'eventID':m['CollaborationEvent'][_0x1960f1(0x35e)],'updateCursorEvent':_0x8246f7[_0x1960f1(0xd1)]['data']};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0xf8)]:{_0xa8ace4={'eventID':m['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x8246f7['data'][_0x1960f1(0xd1)]};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0x38e)]:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)][_0x1960f1(0x38e)],'joinEvent':_0x8246f7[_0x1960f1(0xd1)][_0x1960f1(0xd1)]};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0x3a6)]:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x8246f7[_0x1960f1(0xd1)][_0x1960f1(0xd1)]};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0x33c)]:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x8246f7[_0x1960f1(0xd1)][_0x1960f1(0xd1)]};break;}case m[_0x1960f1(0x43b)]['LIVESHARE_TERMINATE']:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)][_0x1960f1(0x40b)],'liveShareTerminate':_0x8246f7[_0x1960f1(0xd1)]['data']};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0x122)]:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x8246f7['data']['data']};break;}case m[_0x1960f1(0x43b)][_0x1960f1(0x299)]:{_0xa8ace4={'eventID':m[_0x1960f1(0x43b)][_0x1960f1(0x299)]};break;}default:_0xa8ace4={'eventID':_0x8246f7[_0x1960f1(0xd1)][_0x1960f1(0x1bc)]};}return JSON[_0x1960f1(0x450)]({'cmd':_0x8246f7['cmd'],'routeKey':_0x8246f7[_0x1960f1(0x3c1)],'collaMsg':_0xa8ace4});}case G['JOIN']:return JSON[_0x1960f1(0x450)]({'cmd':_0x8246f7[_0x1960f1(0xe1)],'routeKey':_0x8246f7[_0x1960f1(0x3c1)],'joinReq':_0x8246f7['data']});case G[_0x1960f1(0x1c3)]:return JSON['stringify']({'cmd':_0x8246f7['cmd'],'routeKey':_0x8246f7[_0x1960f1(0x3c1)],'leaveReq':_0x8246f7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object[_0x3c2833(0x1b7)],Qt=Object['getOwnPropertyDescriptor'],ei=(_0x5f46ac,_0x2740f0,_0x35647d,_0x13470f)=>{var _0x15a78d=_0x3c2833;for(var _0x2d4b83=_0x13470f>0x1?void 0x0:_0x13470f?Qt(_0x2740f0,_0x35647d):_0x2740f0,_0x2a2a12=_0x5f46ac[_0x15a78d(0x294)]-0x1,_0x893433;_0x2a2a12>=0x0;_0x2a2a12--)(_0x893433=_0x5f46ac[_0x2a2a12])&&(_0x2d4b83=(_0x13470f?_0x893433(_0x2740f0,_0x35647d,_0x2d4b83):_0x893433(_0x2d4b83))||_0x2d4b83);return _0x13470f&&_0x2d4b83&&Zt(_0x2740f0,_0x35647d,_0x2d4b83),_0x2d4b83;},ue=(_0x348f60,_0x1f749a)=>(_0x58f256,_0x57aa45)=>_0x1f749a(_0x58f256,_0x57aa45,_0x348f60);const ke=a[_0x3c2833(0x266)](_0x3c2833(0x167));function ti(_0xea6e7c,_0x394c54,_0x622243){var _0x1e0846=_0x3c2833;return _0xea6e7c+'/'+_0x394c54+_0x1e0846(0xf3)+_0x622243+_0x1e0846(0x21f);}exports[_0x3c2833(0x244)]=class extends a[_0x3c2833(0x2ff)]{constructor(_0x51a06f,_0x268deb,_0x302475,_0xe47bbd,_0x354738){var _0x29db31=_0x3c2833;super(),this[_0x29db31(0x37f)]=_0x51a06f,this[_0x29db31(0x27d)]=_0x268deb,this[_0x29db31(0x302)]=_0x302475,this[_0x29db31(0x44d)]=_0xe47bbd,this[_0x29db31(0x3ff)]=_0x354738;}[_0x3c2833(0x234)](_0x5dab4b){var _0x2058a9=_0x3c2833;const _0x2d9bee=this['_injector'][_0x2058a9(0x207)](z[_0x2058a9(0x37c)]);if(!_0x2d9bee)throw new Error(_0x2058a9(0x432));const _0x3a22ee=_0x2d9bee[_0x2058a9(0x234)](_0x5dab4b);if(!_0x3a22ee)throw new Error(_0x2058a9(0x212));const _0x241239=new a['DisposableCollection'](),_0x13b99f=new H[(_0x2058a9(0x333))]();_0x241239['add'](_0x3a22ee[_0x2058a9(0x210)]['subscribe'](_0x371b4e=>_0x13b99f[_0x2058a9(0x278)](_0x371b4e))),_0x241239[_0x2058a9(0x121)](a[_0x2058a9(0x2de)](()=>_0x13b99f[_0x2058a9(0x11d)]()));const _0x4dedaf=new H[(_0x2058a9(0x333))]();_0x241239[_0x2058a9(0x121)](_0x3a22ee[_0x2058a9(0x35c)]['subscribe'](_0x3d2ac9=>_0x4dedaf[_0x2058a9(0x278)](_0x3d2ac9))),_0x241239[_0x2058a9(0x121)](a[_0x2058a9(0x2de)](()=>_0x4dedaf[_0x2058a9(0x11d)]()));const _0x5d6511=new H[(_0x2058a9(0x333))]();_0x241239[_0x2058a9(0x121)](_0x3a22ee[_0x2058a9(0x446)][_0x2058a9(0x187)](_0x345a31=>{var _0x276ce7=_0x2058a9;const _0x4f3b62=Ot(_0x345a31);_0x5d6511[_0x276ce7(0x278)](_0x4f3b62);})),_0x241239[_0x2058a9(0x121)](a[_0x2058a9(0x2de)](()=>_0x5d6511[_0x2058a9(0x11d)]()));let _0x58451b;const _0x11dd7d=()=>{var _0x2b0e0e=_0x2058a9;_0x4dedaf[_0x2b0e0e(0x278)](new Event(_0x2b0e0e(0x314))),_0x13b99f[_0x2b0e0e(0x278)](new CloseEvent(_0x2b0e0e(0x314))),_0x58451b[_0x2b0e0e(0x371)]();};return _0x58451b={'memberID':'','close$':_0x13b99f[_0x2058a9(0x2b3)](),'error$':_0x4dedaf[_0x2058a9(0x2b3)](),'open$':_0x3a22ee[_0x2058a9(0x355)],'message$':_0x5d6511[_0x2058a9(0x2b3)](),'send':_0x15599e=>{var _0x47516a=_0x2058a9;if(_0x15599e[_0x47516a(0xe1)]===G[_0x47516a(0x416)]){if(_0x15599e['data']['eventID']===m[_0x47516a(0x43b)][_0x47516a(0x3c4)]){this[_0x47516a(0xf6)](_0x58451b,_0x15599e[_0x47516a(0xd1)])[_0x47516a(0x2cc)](_0x4b2522=>{var _0x2ac157=_0x47516a;this[_0x2ac157(0x44d)]['error'](_0x4b2522),_0x11dd7d();});return;}if(_0x15599e[_0x47516a(0xd1)]['eventID']===m[_0x47516a(0x43b)][_0x47516a(0x11a)]){const _0x1883c7=_0x15599e[_0x47516a(0xd1)];this[_0x47516a(0x28c)](_0x1883c7)['then'](_0x2f924f=>{var _0x4132e3=_0x47516a;_0x5d6511['next']({'cmd':G[_0x4132e3(0x1ad)],'code':he['OK'],'routeKey':_0x1883c7[_0x4132e3(0xd1)][_0x4132e3(0x32c)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x4132e3(0x1b8)],'data':{'changesets':_0x2f924f}}});})['catch'](_0x52f646=>{var _0x62c357=_0x47516a;this[_0x62c357(0x44d)][_0x62c357(0x15b)](_0x52f646),_0x11dd7d();});return;}}_0x3a22ee[_0x47516a(0x283)](yt(_0x15599e));},'close':()=>{var _0xbc81a7=_0x2058a9;_0x3a22ee[_0xbc81a7(0x371)](),_0x241239[_0xbc81a7(0x1f5)]();}},_0x58451b;}async[_0x3c2833(0xf6)](_0x1ccc45,_0x3d022d){var _0x4ee4a5=_0x3c2833,_0x57cb56,_0x238977;const {unitType:_0x3d6d3f,unitID:_0x286c01,changeset:_0x12eeb0}=_0x3d022d[_0x4ee4a5(0xd1)],_0x2737d9={'unitID':_0x286c01,'memberID':_0x1ccc45[_0x4ee4a5(0x26e)],'type':_0x3d6d3f,'changeset':m[_0x4ee4a5(0x411)](_0x12eeb0)},_0x50cb9f=this[_0x4ee4a5(0x302)][_0x4ee4a5(0x1cf)](Et),_0x4cb464=this['_configService']['getConfig'](q),_0x5ac6e2=ti((_0x238977=(_0x57cb56=_0x4cb464==null?void 0x0:_0x4cb464[_0x4ee4a5(0xe5)])!=null?_0x57cb56:_0x50cb9f)!=null?_0x238977:qt,_0x3d6d3f,_0x286c01);try{await this[_0x4ee4a5(0x27d)]['post'](_0x5ac6e2,{'body':_0x2737d9});}catch(_0x4887b0){throw this[_0x4ee4a5(0x44d)]['error'](_0x4ee4a5(0x1cb),_0x4ee4a5(0x19a)),_0x4887b0;}}async[_0x3c2833(0x28c)](_0x132a92){var _0x9bdd9e=_0x3c2833;const {unitID:_0x34a864,from:_0x5e2fe8,to:_0x154e95,unitType:_0x2f1a22}=_0x132a92['data'];return(await this[_0x9bdd9e(0x3ff)][_0x9bdd9e(0x1b5)]({'metadata':void 0x0},{'unitID':_0x34a864,'type':_0x2f1a22,'from':_0x5e2fe8,'to':_0x154e95}))[_0x9bdd9e(0xfe)];}},exports[_0x3c2833(0x244)]=ei([ue(0x0,a[_0x3c2833(0x399)](a['Injector'])),ue(0x1,a[_0x3c2833(0x399)](z[_0x3c2833(0x2d0)])),ue(0x2,a[_0x3c2833(0x279)]),ue(0x3,a[_0x3c2833(0x433)]),ue(0x4,m[_0x3c2833(0x39c)])],exports[_0x3c2833(0x244)]);const ii='collaboration_new_changeset';function ni(_0x178b4e){return JSON['stringify'](_0x178b4e)['length'];}class Be{constructor(){var _0x3bbae6=_0x3c2833;D(this,_0x3bbae6(0x168),new H[(_0x3bbae6(0x333))]()),D(this,_0x3bbae6(0x1d0),this[_0x3bbae6(0x168)][_0x3bbae6(0x2b3)]());}[_0x3c2833(0x3f5)](_0x250d6f){var _0x4ef10d=_0x3c2833;this[_0x4ef10d(0x168)][_0x4ef10d(0x278)](_0x250d6f);}}var ri=Object[_0x3c2833(0x1b7)],si=Object['getOwnPropertyDescriptor'],oi=(_0x231e76,_0x4b6699,_0x5339d9,_0x427856)=>{for(var _0x5d3fbf=_0x427856>0x1?void 0x0:_0x427856?si(_0x4b6699,_0x5339d9):_0x4b6699,_0x1437e4=_0x231e76['length']-0x1,_0x3cb49d;_0x1437e4>=0x0;_0x1437e4--)(_0x3cb49d=_0x231e76[_0x1437e4])&&(_0x5d3fbf=(_0x427856?_0x3cb49d(_0x4b6699,_0x5339d9,_0x5d3fbf):_0x3cb49d(_0x5d3fbf))||_0x5d3fbf);return _0x427856&&_0x5d3fbf&&ri(_0x4b6699,_0x5339d9,_0x5d3fbf),_0x5d3fbf;},Ye=(_0x29513d,_0x133619)=>(_0x4606cf,_0x32328c)=>_0x133619(_0x4606cf,_0x32328c,_0x29513d);exports[_0x3c2833(0x35d)]=class extends a[_0x3c2833(0x2ff)]{constructor(_0x5133e3,_0xc2454a){var _0x584371=_0x3c2833;super(),D(this,_0x584371(0x13a),new Map()),D(this,_0x584371(0x1a3),new H[(_0x584371(0x333))]()),(this[_0x584371(0x24b)]=_0x5133e3,this[_0x584371(0x30a)]=_0xc2454a,this[_0x584371(0x3b4)](H['merge'](this[_0x584371(0x24b)][_0x584371(0x387)](a[_0x584371(0x1e5)][_0x584371(0x256)])[_0x584371(0x240)](V[_0x584371(0x213)](_0x59d6c8=>_0x59d6c8[_0x584371(0x17d)]())),this[_0x584371(0x24b)][_0x584371(0x387)](a['UniverInstanceType'][_0x584371(0x25a)])[_0x584371(0x240)](V[_0x584371(0x213)](_0x1a2d66=>_0x1a2d66[_0x584371(0x17d)]())),this[_0x584371(0x24b)][_0x584371(0x387)](a[_0x584371(0x1e5)]['UNIVER_SLIDE'])[_0x584371(0x240)](V[_0x584371(0x213)](_0x472a59=>_0x472a59['getUnitId']())))['subscribe'](_0x4f9d83=>this['_removeRoom'](_0x4f9d83))));}[_0x3c2833(0x31f)](_0x15a66f){var _0x693050=_0x3c2833;return this['_roomMembers'][_0x693050(0x304)](_0x15a66f)?H['of'](this[_0x693050(0x13a)][_0x693050(0x207)](_0x15a66f)):this[_0x693050(0x1a3)][_0x693050(0x240)](V[_0x693050(0x213)](_0x48269d=>{var _0x4593e9=_0x693050;if(_0x48269d===_0x15a66f)return this['_roomMembers'][_0x4593e9(0x207)](_0x48269d);}));}[_0x3c2833(0x141)](_0xf7bce6){var _0x36d325=_0x3c2833;this['_userManagerService'][_0x36d325(0x141)](_0xf7bce6);}[_0x3c2833(0x262)](){return this['_userManagerService']['getCurrentUser']();}[_0x3c2833(0x1f7)](_0xfa3825,_0x22efb5){var _0x5d91cf=_0x3c2833;let _0x4c98a0=this[_0x5d91cf(0x13a)][_0x5d91cf(0x207)](_0xfa3825);_0x4c98a0||(_0x4c98a0=new ai(),this[_0x5d91cf(0x13a)]['set'](_0xfa3825,_0x4c98a0),this[_0x5d91cf(0x1a3)]['next'](_0xfa3825)),_0x4c98a0['updateMember'](_0x22efb5);}[_0x3c2833(0x408)](_0x1d0100,_0x18b56b){var _0x5dd4b7=_0x3c2833;const _0x25da05=this[_0x5dd4b7(0x13a)]['get'](_0x1d0100);_0x25da05&&_0x25da05[_0x5dd4b7(0x408)](_0x18b56b);}[_0x3c2833(0x1bb)](_0x2e81fa){var _0x1603e1=_0x3c2833;return this[_0x1603e1(0x13a)]['get'](_0x2e81fa);}[_0x3c2833(0x14c)](_0x38bd21,_0x2eac77){var _0x3098ee=_0x3c2833;const _0x353802=this[_0x3098ee(0x13a)][_0x3098ee(0x207)](_0x38bd21);if(_0x353802)return _0x353802[_0x3098ee(0x14c)](_0x2eac77);}[_0x3c2833(0x190)](_0x2a03b3){var _0x5a54e7=_0x3c2833;const _0x569834=this[_0x5a54e7(0x13a)]['get'](_0x2a03b3);_0x569834&&(_0x569834[_0x5a54e7(0x1f5)](),this[_0x5a54e7(0x13a)][_0x5a54e7(0x24c)](_0x2a03b3));}['dispose'](){var _0xc4afa4=_0x3c2833;this[_0xc4afa4(0x13a)][_0xc4afa4(0x403)](_0x51d61c=>_0x51d61c[_0xc4afa4(0x1f5)]()),this['_roomMembers']['clear'](),this[_0xc4afa4(0x1a3)]['complete']();}},exports[_0x3c2833(0x35d)]=oi([Ye(0x0,a[_0x3c2833(0x374)]),Ye(0x1,a['Inject'](a[_0x3c2833(0x375)]))],exports[_0x3c2833(0x35d)]);class ai extends a[_0x3c2833(0x2ff)]{constructor(){var _0x1cb853=_0x3c2833;super(...arguments),D(this,'_members',new Map()),D(this,_0x1cb853(0x206),new H[(_0x1cb853(0x31e))](this[_0x1cb853(0x140)])),D(this,'members$',this[_0x1cb853(0x206)][_0x1cb853(0x2b3)]());}[_0x3c2833(0x1f5)](){var _0x19f8c6=_0x3c2833;this['_members'][_0x19f8c6(0x133)]();}[_0x3c2833(0x1f7)](_0x5f90e6){var _0x174135=_0x3c2833;this[_0x174135(0x140)][_0x174135(0x42f)](_0x5f90e6['memberID'],_0x5f90e6),this[_0x174135(0x42b)]();}[_0x3c2833(0x408)](_0x450920){var _0x180067=_0x3c2833;this['_members'][_0x180067(0x24c)](_0x450920);}['getMember'](_0x1a4f48){var _0x1ca79a=_0x3c2833;return this[_0x1ca79a(0x140)][_0x1ca79a(0x207)](_0x1a4f48);}[_0x3c2833(0x2e4)](){var _0x24001a=_0x3c2833;return Array[_0x24001a(0x443)](this[_0x24001a(0x140)][_0x24001a(0x185)]());}[_0x3c2833(0x42b)](){var _0x48c1f0=_0x3c2833;this['_members$']['next'](this[_0x48c1f0(0x140)]);}}var ci=Object[_0x3c2833(0x1b7)],hi=Object[_0x3c2833(0x404)],li=(_0x45297f,_0x42a12f,_0x4158a2,_0x1e7914)=>{var _0x200e67=_0x3c2833;for(var _0x57c9d6=_0x1e7914>0x1?void 0x0:_0x1e7914?hi(_0x42a12f,_0x4158a2):_0x42a12f,_0x22a85c=_0x45297f[_0x200e67(0x294)]-0x1,_0x210fc9;_0x22a85c>=0x0;_0x22a85c--)(_0x210fc9=_0x45297f[_0x22a85c])&&(_0x57c9d6=(_0x1e7914?_0x210fc9(_0x42a12f,_0x4158a2,_0x57c9d6):_0x210fc9(_0x57c9d6))||_0x57c9d6);return _0x1e7914&&_0x57c9d6&&ci(_0x42a12f,_0x4158a2,_0x57c9d6),_0x57c9d6;},oe=(_0x3725f9,_0x10c4ca)=>(_0x18f8a9,_0x2222d2)=>_0x10c4ca(_0x18f8a9,_0x2222d2,_0x3725f9),se=(_0xddb523=>(_0xddb523[_0xddb523['IDLE']=0x0]='IDLE',_0xddb523[_0xddb523[_0x3c2833(0x23e)]=0x1]=_0x3c2833(0x23e),_0xddb523[_0xddb523[_0x3c2833(0x150)]=0x2]=_0x3c2833(0x150),_0xddb523[_0xddb523[_0x3c2833(0x30c)]=0x3]=_0x3c2833(0x30c),_0xddb523))(se||{});const qe={[he['FAIL']]:_0x3c2833(0x157),[he['JOIN_ROOM_FULL']]:_0x3c2833(0x345),[he['JOIN_ROOM_NOT_EXISTS']]:_0x3c2833(0x3ca),[he[_0x3c2833(0x221)]]:_0x3c2833(0x2b0),[he[_0x3c2833(0x208)]]:_0x3c2833(0x2b4)};exports[_0x3c2833(0x338)]=class extends a['RxDisposable']{constructor(_0x5d4dbe,_0x22d730,_0x2cbde1,_0x19bc5e,_0x471966,_0x8c65c5,_0x531e20,_0x591ab8,_0x42af80){var _0x55fcbe=_0x3c2833;super(),D(this,_0x55fcbe(0x43d),new H[(_0x55fcbe(0x31e))](0x0)),D(this,'sessionStatus$',this[_0x55fcbe(0x43d)][_0x55fcbe(0x2b3)]()),D(this,_0x55fcbe(0x40f),new H['Subject']()),D(this,'event$',this[_0x55fcbe(0x40f)]['asObservable']()),D(this,_0x55fcbe(0x3a5)),D(this,_0x55fcbe(0x38a)),D(this,_0x55fcbe(0x367)),D(this,_0x55fcbe(0x326),!0x1),D(this,_0x55fcbe(0x41a),null),(this[_0x55fcbe(0xe7)]=_0x5d4dbe,this['_logService']=_0x2cbde1,this[_0x55fcbe(0x302)]=_0x19bc5e,this[_0x55fcbe(0xd5)]=_0x471966,this[_0x55fcbe(0x12f)]=_0x8c65c5,this['_commentService']=_0x531e20,this[_0x55fcbe(0x422)]=_0x591ab8,this[_0x55fcbe(0x23a)]=_0x42af80,this[_0x55fcbe(0x326)]=!!this[_0x55fcbe(0x23a)],_0x22d730['pipe'](H[_0x55fcbe(0x376)](this['dispose$']))[_0x55fcbe(0x187)](_0x261e5c=>{var _0x4a569f=_0x55fcbe,_0x23364b;typeof _0x261e5c>'u'||(this['_socket']=_0x261e5c,_0x261e5c?(this[_0x4a569f(0x23c)](_0x261e5c),this[_0x4a569f(0x38a)]=_0x261e5c['message$'][_0x4a569f(0x187)](_0x29c138=>{var _0x46809d=_0x4a569f;_0x29c138[_0x46809d(0x3c1)]===this[_0x46809d(0xe7)]&&this[_0x46809d(0xda)](_0x29c138);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4a569f(0x43d)][_0x4a569f(0x278)](0x2),(_0x23364b=this[_0x4a569f(0x38a)])==null||_0x23364b[_0x4a569f(0x3b3)](),this[_0x4a569f(0x38a)]=null));}));}get[_0x3c2833(0x19c)](){var _0x55ec4d=_0x3c2833;return this[_0x55ec4d(0x43d)][_0x55ec4d(0x148)]();}[_0x3c2833(0x2a8)](){var _0x265462=_0x3c2833,_0x26a6aa,_0x39145c;return(_0x39145c=(_0x26a6aa=this['_socket'])==null?void 0x0:_0x26a6aa[_0x265462(0x26e)])!=null?_0x39145c:null;}[_0x3c2833(0x1f5)](){var _0x21cd1a=_0x3c2833;super[_0x21cd1a(0x1f5)](),this[_0x21cd1a(0x40e)][_0x21cd1a(0x278)](),this[_0x21cd1a(0x40e)][_0x21cd1a(0x11d)]();}[_0x3c2833(0x371)](){var _0x1ef3fb=_0x3c2833,_0x3ac341,_0x12815f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3ac341=this[_0x1ef3fb(0x3a5)])==null||_0x3ac341[_0x1ef3fb(0x283)]({'cmd':G[_0x1ef3fb(0x1c3)],'data':{'roomID':this[_0x1ef3fb(0xe7)]}}),(_0x12815f=this[_0x1ef3fb(0x3a5)])==null||_0x12815f[_0x1ef3fb(0x371)](),this[_0x1ef3fb(0x40f)][_0x1ef3fb(0x11d)](),this[_0x1ef3fb(0x43d)][_0x1ef3fb(0x11d)](),this[_0x1ef3fb(0x1f5)]();}[_0x3c2833(0xda)](_0x238ee9){var _0x349a37=_0x3c2833;_0x238ee9[_0x349a37(0xe1)]===G[_0x349a37(0xd9)]?this[_0x349a37(0x1dc)](_0x238ee9):_0x238ee9['cmd']===G[_0x349a37(0x1ad)]&&this[_0x349a37(0x227)](_0x238ee9);}['_joinRoom'](_0x2a971f){var _0x4ef657=_0x3c2833;this['_sessionStatus$'][_0x4ef657(0x278)](0x1),_0x2a971f[_0x4ef657(0x283)]({'cmd':G[_0x4ef657(0xd9)],'routeKey':this[_0x4ef657(0xe7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ef657(0xe7)]}]}});}[_0x3c2833(0x1dc)](_0x1fe32e){var _0x43d7e7=_0x3c2833,_0x1480b4;if(_0x1fe32e[_0x43d7e7(0x3e8)]in qe){this[_0x43d7e7(0x422)][_0x43d7e7(0xd6)]({'id':Q[_0x43d7e7(0x14b)],'data':qe[_0x1fe32e[_0x43d7e7(0x3e8)]]}),this[_0x43d7e7(0x43d)][_0x43d7e7(0x278)](0x2);return;}this['_sessionStatus$'][_0x43d7e7(0x278)](0x3);const _0x66234f=(_0x1480b4=_0x1fe32e[_0x43d7e7(0xd1)][_0x43d7e7(0x41b)][this[_0x43d7e7(0xe7)]])==null?void 0x0:_0x1480b4[_0x43d7e7(0x243)];_0x66234f&&_0x66234f[_0x43d7e7(0x403)](_0x2f9a20=>this[_0x43d7e7(0x12f)][_0x43d7e7(0x1f7)](this[_0x43d7e7(0xe7)],_0x2f9a20));}[_0x3c2833(0x227)](_0x345db3){var _0x3576a9=_0x3c2833;try{const _0x4c354d=_0x345db3[_0x3576a9(0xd1)];switch(_0x4c354d[_0x3576a9(0x1bc)]){case m[_0x3576a9(0x43b)][_0x3576a9(0x38e)]:this[_0x3576a9(0xd2)](_0x4c354d),this[_0x3576a9(0x40f)][_0x3576a9(0x278)](_0x4c354d);break;case m[_0x3576a9(0x43b)][_0x3576a9(0xf8)]:this[_0x3576a9(0x222)](_0x4c354d),this[_0x3576a9(0x40f)]['next'](_0x4c354d);break;case m[_0x3576a9(0x43b)]['CHANGESET_ACK']:case m[_0x3576a9(0x43b)][_0x3576a9(0x2b2)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3576a9(0xcf)](),this[_0x3576a9(0x40f)][_0x3576a9(0x278)](_0x4c354d);break;case m['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x3576a9(0x44d)][_0x3576a9(0x15b)](_0x3576a9(0x10a)+JSON['stringify'](_0x4c354d)),this['_event$']['next'](_0x4c354d);break;case m[_0x3576a9(0x43b)][_0x3576a9(0x14e)]:this['_commentService'][_0x3576a9(0x3f5)](_0x4c354d['data']),this[_0x3576a9(0x40f)]['next'](_0x4c354d);break;default:this[_0x3576a9(0x40f)]['next'](_0x4c354d);}}catch(_0x4d4716){this[_0x3576a9(0x44d)][_0x3576a9(0x15b)](_0x4d4716,_0x345db3);}}[_0x3c2833(0xd2)](_0x40d37a){var _0x117329=_0x3c2833;this[_0x117329(0x12f)]['updateMember'](this[_0x117329(0xe7)],_0x40d37a[_0x117329(0xd1)]);}['_onUserLeave'](_0x180f14){var _0x56f0cc=_0x3c2833;this[_0x56f0cc(0x12f)][_0x56f0cc(0x408)](this[_0x56f0cc(0xe7)],_0x180f14['data'][_0x56f0cc(0x26e)]);}async[_0x3c2833(0x283)](_0xa2d7c7,_0xd9406d){var _0x194069=_0x3c2833;if(this[_0x194069(0x19c)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xa2d7c7[_0x194069(0x1bc)]===m[_0x194069(0x43b)][_0x194069(0x3c4)]&&(this[_0x194069(0x14f)](),this[_0x194069(0x21b)](_0xa2d7c7)),this[_0x194069(0x3a5)][_0x194069(0x283)]({'cmd':G['INGEST'],'routeKey':_0xd9406d,'routeType':'','data':_0xa2d7c7});}catch(_0x2ce19d){this[_0x194069(0x44d)][_0x194069(0x15b)](_0x2ce19d);}}[_0x3c2833(0x14f)](){var _0x3b432f=_0x3c2833,_0x31860c;this[_0x3b432f(0x367)]=setTimeout(()=>{var _0x51ec9e=_0x3b432f;this[_0x51ec9e(0x367)]=null,this[_0x51ec9e(0x422)][_0x51ec9e(0xd6)]({'id':Q[_0x51ec9e(0x2dc)]});},(_0x31860c=this[_0x3b432f(0x302)][_0x3b432f(0x1cf)](He))!=null?_0x31860c:mt);}['_clearCollaborationTimeoutTimer'](){var _0x4ad85e=_0x3c2833;this[_0x4ad85e(0x367)]&&(clearTimeout(this[_0x4ad85e(0x367)]),this[_0x4ad85e(0x367)]=null);}[_0x3c2833(0x21b)](_0x1994b7){var _0x3a1295=_0x3c2833;if(!this[_0x3a1295(0x326)])return;const {data:_0x5d0ca8}=_0x1994b7,{unitID:_0x5585cd,changeset:_0x528a4c}=_0x5d0ca8,{mutations:_0x5cd33f,type:_0x51afd4}=_0x528a4c;this['_telemetryInfo']={'unitId':_0x5585cd,'type':_0x51afd4,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x5cd33f)};}[_0x3c2833(0x289)](){var _0x1755af=_0x3c2833;if(this['_shouldReportTelemetry']){if(!this[_0x1755af(0x41a)]){this[_0x1755af(0x44d)][_0x1755af(0x15b)]('[CollaborationSession]',_0x1755af(0x24e));return;}this['_telemetryInfo']['stopTime']=performance[_0x1755af(0x25c)](),this[_0x1755af(0x41a)]['duration']=this[_0x1755af(0x41a)]['stopTime']-this[_0x1755af(0x41a)][_0x1755af(0x280)],this[_0x1755af(0x23a)][_0x1755af(0x178)](ii,this[_0x1755af(0x41a)]),this[_0x1755af(0x41a)]=null;}}[_0x3c2833(0x2e0)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=li([oe(0x2,a['ILogService']),oe(0x3,a['IConfigService']),oe(0x4,a[_0x3c2833(0x399)](a[_0x3c2833(0x2ad)])),oe(0x5,a[_0x3c2833(0x399)](exports['MemberService'])),oe(0x6,a[_0x3c2833(0x399)](Be)),oe(0x7,a[_0x3c2833(0x399)](te)),oe(0x8,a[_0x3c2833(0x448)](jt[_0x3c2833(0x110)]))],exports[_0x3c2833(0x338)]);var _i=Object['defineProperty'],ui=Object[_0x3c2833(0x404)],di=(_0x4586b6,_0x1c8f29,_0x347e27,_0x2112df)=>{var _0x29402d=_0x3c2833;for(var _0x1876e1=_0x2112df>0x1?void 0x0:_0x2112df?ui(_0x1c8f29,_0x347e27):_0x1c8f29,_0x4aa3bd=_0x4586b6[_0x29402d(0x294)]-0x1,_0x46bfde;_0x4aa3bd>=0x0;_0x4aa3bd--)(_0x46bfde=_0x4586b6[_0x4aa3bd])&&(_0x1876e1=(_0x2112df?_0x46bfde(_0x1c8f29,_0x347e27,_0x1876e1):_0x46bfde(_0x1876e1))||_0x1876e1);return _0x2112df&&_0x1876e1&&_i(_0x1c8f29,_0x347e27,_0x1876e1),_0x1876e1;},ae=(_0x2ca035,_0x48b13e)=>(_0x5331f3,_0x5ec895)=>_0x48b13e(_0x5331f3,_0x5ec895,_0x2ca035);exports[_0x3c2833(0x39a)]=class extends a[_0x3c2833(0x2ff)]{constructor(_0x321f2e,_0x9a29e5,_0x33a04a,_0x28c393,_0x4a6276,_0x2754b3,_0x48aa01){var _0x371492=_0x3c2833;super(),D(this,_0x371492(0x325),new H[(_0x371492(0x31e))](void 0x0)),D(this,_0x371492(0x2c5),this[_0x371492(0x325)][_0x371492(0x2b3)]()),D(this,_0x371492(0x10b),null),D(this,'_sessions',new Map()),D(this,_0x371492(0x1c9),new H[(_0x371492(0x31e))](se['IDLE'])),D(this,_0x371492(0x342),this[_0x371492(0x1c9)]['asObservable']()),D(this,_0x371492(0x3c9),!0x1),D(this,_0x371492(0x39b)),D(this,'_retryCount',0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x371492(0x268)),(this[_0x371492(0x37f)]=_0x321f2e,this[_0x371492(0x44d)]=_0x9a29e5,this[_0x371492(0x302)]=_0x33a04a,this[_0x371492(0x366)]=_0x28c393,this['_httpService']=_0x4a6276,this['_collaborationUIEventService']=_0x2754b3,this[_0x371492(0x382)]=_0x48aa01,this[_0x371492(0xf2)]());}get[_0x3c2833(0x3a5)](){return this['_socket$']['getValue']();}[_0x3c2833(0xf2)](){var _0x5b77b8=_0x3c2833;this[_0x5b77b8(0x382)]&&this[_0x5b77b8(0x3b4)](this[_0x5b77b8(0x382)][_0x5b77b8(0x340)][_0x5b77b8(0x187)](_0x42d613=>{var _0x36ac41=_0x5b77b8;_0x42d613&&!this[_0x36ac41(0x3a5)]&&this[_0x36ac41(0xeb)](),_0x42d613||this[_0x36ac41(0x26b)]();}));}[_0x3c2833(0x1f5)](){var _0x430dbd=_0x3c2833;super[_0x430dbd(0x1f5)](),this[_0x430dbd(0x15c)][_0x430dbd(0x403)](_0x479545=>_0x479545[_0x430dbd(0x1f5)]()),this['_sessions'][_0x430dbd(0x133)](),this[_0x430dbd(0x1c9)][_0x430dbd(0x11d)]();}async[_0x3c2833(0x1f3)](_0x78ef05){var _0x183907=_0x3c2833;if(this[_0x183907(0x15c)][_0x183907(0x304)](_0x78ef05))return this['_sessions'][_0x183907(0x207)](_0x78ef05);this[_0x183907(0x2da)]();const _0x24f4aa=this['_injector']['createInstance'](exports['CollaborationSession'],_0x78ef05,this[_0x183907(0x325)][_0x183907(0x2b3)]());return this[_0x183907(0x15c)][_0x183907(0x42f)](_0x78ef05,_0x24f4aa),_0x24f4aa;}[_0x3c2833(0x29a)](_0x3b3b2b){var _0x442a4c=_0x3c2833,_0x3540ac;const _0x9e3d07=this[_0x442a4c(0x15c)][_0x442a4c(0x207)](_0x3b3b2b);_0x9e3d07&&(this['_sessions'][_0x442a4c(0x24c)](_0x3b3b2b),_0x9e3d07['close']()),this[_0x442a4c(0x15c)][_0x442a4c(0x1ce)]||(_0x3540ac=this['_socket'])==null||_0x3540ac[_0x442a4c(0x371)]();}[_0x3c2833(0xeb)](){var _0x49594c=_0x3c2833;this[_0x49594c(0x1ec)]=0x0,this[_0x49594c(0x39b)]!=null&&(clearTimeout(this[_0x49594c(0x39b)]),this[_0x49594c(0x39b)]=null),this[_0x49594c(0x3e4)]();}async['_getSessionTicket'](){var _0xa1e69a=_0x3c2833,_0x299e54,_0x4a76ad,_0x325afd;const _0x143a84=this['_configService']['getConfig'](q),_0x45f76a=(_0x299e54=_0x143a84==null?void 0x0:_0x143a84[_0xa1e69a(0xe2)])!=null?_0x299e54:Ft;return(_0x325afd=(_0x4a76ad=(await this[_0xa1e69a(0x28b)]['get'](_0x45f76a,{'headers':{'Content-Type':_0xa1e69a(0x3d6)}}))['body'])==null?void 0x0:_0x4a76ad['ticket'])!=null?_0x325afd:'';}[_0x3c2833(0x181)](_0x1bb301){var _0x38e98a=_0x3c2833,_0x472cd6,_0x51ca60;const _0x217574=this['_configService']['getConfig'](St),_0x26e267=this[_0x38e98a(0x302)][_0x38e98a(0x1cf)](q),_0x2526e9=(_0x51ca60=(_0x472cd6=_0x26e267==null?void 0x0:_0x26e267[_0x38e98a(0x154)])!=null?_0x472cd6:_0x217574)!=null?_0x51ca60:pt,_0x4cba77=typeof window>'u'?new URL(_0x2526e9):new URL(_0x2526e9,window[_0x38e98a(0x20e)]['origin']);_0x4cba77[_0x38e98a(0x310)]['set'](_0x38e98a(0x32a),_0x1bb301);const _0x104fd6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x38e98a(0x20e)][_0x38e98a(0xd7)]);return _0x104fd6[_0x38e98a(0x207)](_0x38e98a(0x1aa))&&_0x4cba77[_0x38e98a(0x310)][_0x38e98a(0x42f)]('runId',_0x104fd6[_0x38e98a(0x207)](_0x38e98a(0x1aa))),_0x4cba77['toString']();}async['_createSocket'](){var _0x4530bd=_0x3c2833;const _0x219a46=await this[_0x4530bd(0x344)](),_0x28b35a=this[_0x4530bd(0x181)](_0x219a46),_0x11319f=this['_socketService']['createSocket'](_0x28b35a);return this[_0x4530bd(0x10b)]=_0x11319f,_0x11319f;}async['_tryEnsureSocket'](){var _0x2d78ff=_0x3c2833,_0x38c299,_0x55d272;try{const _0x3cbfd2=(_0x55d272=(_0x38c299=this[_0x2d78ff(0x3a5)])!=null?_0x38c299:this[_0x2d78ff(0x10b)])!=null?_0x55d272:await this[_0x2d78ff(0x3fd)]();if(_0x3cbfd2){const _0x31696e=_0x3cbfd2[_0x2d78ff(0x283)];_0x3cbfd2[_0x2d78ff(0x283)]=_0x50a237=>(this[_0x2d78ff(0x3c0)](),_0x31696e[_0x2d78ff(0x332)](_0x3cbfd2,[_0x50a237])),_0x3cbfd2['message$'][_0x2d78ff(0x187)](_0x176314=>this['_onMessage'](_0x3cbfd2,_0x176314)),_0x3cbfd2[_0x2d78ff(0x35c)]['pipe'](V['take'](0x1))[_0x2d78ff(0x187)](_0x44da14=>this[_0x2d78ff(0x44d)][_0x2d78ff(0x15b)]('[CollaborationSessionService]:\x20socket\x20error',_0x44da14)),_0x3cbfd2[_0x2d78ff(0x355)][_0x2d78ff(0x240)](V[_0x2d78ff(0xd4)](0x1))[_0x2d78ff(0x187)](()=>{var _0x32f26c=_0x2d78ff;this[_0x32f26c(0x380)](_0x3cbfd2);}),_0x3cbfd2[_0x2d78ff(0x210)][_0x2d78ff(0x240)](V['take'](0x1))[_0x2d78ff(0x187)](_0x6e5158=>{var _0x424e51=_0x2d78ff;this[_0x424e51(0x44d)]['debug'](_0x424e51(0x394),_0x424e51(0x2f5),_0x6e5158),this[_0x424e51(0x3de)]();});}}catch(_0x37b0ae){this[_0x2d78ff(0x44d)][_0x2d78ff(0x15b)](_0x37b0ae),this['_onConnectionFailed']();}}[_0x3c2833(0x380)](_0x17b866){var _0x2e41d1=_0x3c2833;this[_0x2e41d1(0x44d)][_0x2e41d1(0x348)](_0x2e41d1(0x394),_0x2e41d1(0x1bd)),_0x17b866['send']({'cmd':G[_0x2e41d1(0x3f3)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x121fb3=_0x3c2833;this['_socketReady']=!0x1,this[_0x121fb3(0x10b)]=null,this[_0x121fb3(0x1c9)][_0x121fb3(0x278)](se['OFFLINE']),this[_0x121fb3(0x325)]['next'](null),this[_0x121fb3(0x1f2)](),this[_0x121fb3(0xf7)]();}[_0x3c2833(0x3de)](){var _0x45bddb=_0x3c2833,_0xfee677;this[_0x45bddb(0x26b)](),this[_0x45bddb(0x1ec)]<((_0xfee677=this['_configService'][_0x45bddb(0x1cf)](It))!=null?_0xfee677:Gt)?(this[_0x45bddb(0x422)][_0x45bddb(0xd6)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x45bddb(0x3e4)]()):this[_0x45bddb(0x422)]['emitEvent']({'id':Q[_0x45bddb(0x21c)]});}[_0x3c2833(0x3e4)](){var _0x41bd28=_0x3c2833,_0x5edc25;const _0x4e974d=this['_retryCount'],_0x1ad714=this[_0x41bd28(0x302)][_0x41bd28(0x1cf)](q),_0xbc3169=_0x4e974d===0x0?0x0:((_0x5edc25=_0x1ad714==null?void 0x0:_0x1ad714['retryConnectingInterval'])!=null?_0x5edc25:Vt)*0x2**_0x4e974d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2e461c=_0x41bd28;clearTimeout(this[_0x2e461c(0x39b)]),this['_retryConnectingTimer']=null,this[_0x2e461c(0x2da)]();},_0xbc3169),this[_0x41bd28(0x1ec)]+=0x1;}['_onMessage'](_0x240a9c,_0x28ebf9){var _0x2fca77=_0x3c2833;const {cmd:_0x3e98b4}=_0x28ebf9;_0x3e98b4===G[_0x2fca77(0x3f3)]&&!this['_socketReady']&&(_0x240a9c[_0x2fca77(0x26e)]=_0x28ebf9[_0x2fca77(0xd1)][_0x2fca77(0x26e)],this[_0x2fca77(0x325)][_0x2fca77(0x278)](_0x240a9c),this[_0x2fca77(0x1c9)][_0x2fca77(0x278)](se['ONLINE']),this[_0x2fca77(0x3c9)]=!0x0,this[_0x2fca77(0x10b)]=null),_0x3e98b4===G[_0x2fca77(0x324)]&&this[_0x2fca77(0x1f2)](),this['_rescheduleHeartbeat']();}[_0x3c2833(0x3c0)](){var _0x4ff03f=_0x3c2833,_0x2c5cf1;this[_0x4ff03f(0xf7)](),this[_0x4ff03f(0x105)]=setTimeout(()=>this[_0x4ff03f(0x12e)](),(_0x2c5cf1=this[_0x4ff03f(0x302)][_0x4ff03f(0x1cf)](gt))!=null?_0x2c5cf1:Wt);}[_0x3c2833(0x12e)](){var _0x423cee=_0x3c2833;this['_socket']['send']({'cmd':G[_0x423cee(0x324)]}),this[_0x423cee(0x14a)]();}['_waitForHeartbeatResponse'](){var _0x25f652=_0x3c2833,_0x2711e5;this[_0x25f652(0x268)]=setTimeout(()=>this[_0x25f652(0x3de)](),(_0x2711e5=this[_0x25f652(0x302)][_0x25f652(0x1cf)](He))!=null?_0x2711e5:mt);}[_0x3c2833(0xf7)](){var _0x1598b6=_0x3c2833;this[_0x1598b6(0x105)]!=null&&(clearTimeout(this[_0x1598b6(0x105)]),this[_0x1598b6(0x105)]=null);}[_0x3c2833(0x1f2)](){var _0x23279a=_0x3c2833;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23279a(0x268)]),this['_timeoutTimer']=null);}},exports[_0x3c2833(0x39a)]=di([ae(0x0,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),ae(0x1,a['ILogService']),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x3c2833(0x399)](z['HTTPService'])),ae(0x5,a[_0x3c2833(0x399)](te)),ae(0x6,a[_0x3c2833(0x448)](Rt))],exports[_0x3c2833(0x39a)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x3c2833(0x169)]((r+0x100)[_0x3c2833(0x3bb)](0x10)[_0x3c2833(0x24a)](0x1));function vi(_0x4832a9,_0x27ce11=0x0){return(K[_0x4832a9[_0x27ce11+0x0]]+K[_0x4832a9[_0x27ce11+0x1]]+K[_0x4832a9[_0x27ce11+0x2]]+K[_0x4832a9[_0x27ce11+0x3]]+'-'+K[_0x4832a9[_0x27ce11+0x4]]+K[_0x4832a9[_0x27ce11+0x5]]+'-'+K[_0x4832a9[_0x27ce11+0x6]]+K[_0x4832a9[_0x27ce11+0x7]]+'-'+K[_0x4832a9[_0x27ce11+0x8]]+K[_0x4832a9[_0x27ce11+0x9]]+'-'+K[_0x4832a9[_0x27ce11+0xa]]+K[_0x4832a9[_0x27ce11+0xb]]+K[_0x4832a9[_0x27ce11+0xc]]+K[_0x4832a9[_0x27ce11+0xd]]+K[_0x4832a9[_0x27ce11+0xe]]+K[_0x4832a9[_0x27ce11+0xf]])['toLowerCase']();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x406ac9=_0x3c2833;if(!Ue){if(typeof crypto>'u'||!crypto[_0x406ac9(0x32b)])throw new Error(_0x406ac9(0x189));Ue=crypto[_0x406ac9(0x32b)][_0x406ac9(0x3b9)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x3c2833(0xce)]&&crypto[_0x3c2833(0xce)][_0x3c2833(0x3b9)](crypto),ze={'randomUUID':pi};function gi(_0x3dc3c3,_0x2f618b,_0x504925){var _0x13d590=_0x3c2833;if(ze[_0x13d590(0xce)]&&!_0x2f618b&&!_0x3dc3c3)return ze[_0x13d590(0xce)]();_0x3dc3c3=_0x3dc3c3||{};const _0x695d9d=_0x3dc3c3[_0x13d590(0xd8)]||(_0x3dc3c3[_0x13d590(0x317)]||Si)();return _0x695d9d[0x6]=_0x695d9d[0x6]&0xf|0x40,_0x695d9d[0x8]=_0x695d9d[0x8]&0x3f|0x80,vi(_0x695d9d);}const J=a[_0x3c2833(0x266)](_0x3c2833(0x1d3));function mi(_0x3c496d){var _0x1f2df5=_0x3c2833;return _0x1f2df5(0x343)+_0x3c496d;}var Ii=Object[_0x3c2833(0x1b7)],Ei=Object[_0x3c2833(0x404)],Ci=(_0x32489b,_0x2363af,_0x4cf56d,_0x40dde3)=>{for(var _0x482131=_0x40dde3>0x1?void 0x0:_0x40dde3?Ei(_0x2363af,_0x4cf56d):_0x2363af,_0x2fd7d8=_0x32489b['length']-0x1,_0x21ce01;_0x2fd7d8>=0x0;_0x2fd7d8--)(_0x21ce01=_0x32489b[_0x2fd7d8])&&(_0x482131=(_0x40dde3?_0x21ce01(_0x2363af,_0x4cf56d,_0x482131):_0x21ce01(_0x482131))||_0x482131);return _0x40dde3&&_0x482131&&Ii(_0x2363af,_0x4cf56d,_0x482131),_0x482131;},De=(_0x15e939,_0x1a7672)=>(_0x4dbc58,_0x155c9f)=>_0x1a7672(_0x4dbc58,_0x155c9f,_0x15e939);function Ti(_0x48d54b){var _0x49666c=_0x3c2833;const {unitID:_0x1921ea,mutations:_0x390f0e}=_0x48d54b;return{'unitId':_0x1921ea,'subUnitId':_0x390f0e[0x0][_0x49666c(0x27b)][_0x49666c(0x152)]};}exports[_0x3c2833(0x381)]=class{constructor(_0x3dcd49,_0x558e11,_0x6164e4){var _0x5673f6=_0x3c2833;this['_injector']=_0x3dcd49,this[_0x5673f6(0x2be)]=_0x558e11,this[_0x5673f6(0x419)]=_0x6164e4;}[_0x3c2833(0x13c)](_0x5448e8){var _0x1d4cd1=_0x3c2833,_0x1e3316,_0x5be592,_0x38754c,_0x8f397a;const _0x5cc23b=this[_0x1d4cd1(0x37f)]['get'](W['SheetsSelectionsService']),{unitId:_0x41c758,subUnitId:_0xfb8fcd}=Ti(_0x5448e8),_0x816a17=_0x5cc23b==null?void 0x0:_0x5cc23b[_0x1d4cd1(0x2ea)](_0x41c758)[_0x1d4cd1(0x3ac)](),_0x157da7=(_0x5be592=(_0x1e3316=this[_0x1d4cd1(0x419)][_0x1d4cd1(0x3fe)](_0x41c758))==null?void 0x0:_0x1e3316['getActiveSheet']())==null?void 0x0:_0x5be592[_0x1d4cd1(0x132)]();if(_0x816a17['length']===0x0||!_0x41c758||!_0xfb8fcd)return;const _0x32fbc8=[{'id':W[_0x1d4cd1(0x3cc)]['id'],'params':{'unitId':_0x41c758,'subUnitId':_0x157da7,'selections':a[_0x1d4cd1(0x15a)][_0x1d4cd1(0x1b3)](_0x816a17)}}],_0x4b847e=this[_0x1d4cd1(0x2be)][_0x1d4cd1(0x26c)](_0x5448e8,_0x32fbc8);if(!m[_0x1d4cd1(0xc7)](_0x4b847e))throw _0x4b847e[_0x1d4cd1(0x15b)];const _0x215651=(_0x8f397a=(_0x38754c=_0x4b847e[_0x1d4cd1(0xe4)][0x0])==null?void 0x0:_0x38754c[_0x1d4cd1(0x27b)])==null?void 0x0:_0x8f397a[_0x1d4cd1(0x337)];if(Array[_0x1d4cd1(0x158)](_0x215651)&&_0x215651[_0x1d4cd1(0x294)]){if(_0x215651[_0x1d4cd1(0x294)]===_0x32fbc8[0x0]['params'][_0x1d4cd1(0x337)]['length']&&_0x215651[_0x1d4cd1(0x3af)]((_0x414a4b,_0xe69770)=>a[_0x1d4cd1(0x327)][_0x1d4cd1(0xd3)](_0x414a4b[_0x1d4cd1(0x24d)],_0x32fbc8[0x0][_0x1d4cd1(0x27b)]['selections'][_0xe69770][_0x1d4cd1(0x24d)])))return;this[_0x1d4cd1(0x37f)][_0x1d4cd1(0x207)](a[_0x1d4cd1(0x2a2)])['executeCommand'](W[_0x1d4cd1(0x3cc)]['id'],{'unitId':_0x41c758,'subUnitId':_0x157da7,'selections':_0x215651});}}},exports[_0x3c2833(0x381)]=Ci([De(0x0,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),De(0x1,m[_0x3c2833(0x3dd)]),De(0x2,a[_0x3c2833(0x374)])],exports[_0x3c2833(0x381)]);const ve=a[_0x3c2833(0x266)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x3ec787=>(_0x3ec787[_0x3ec787[_0x3c2833(0x362)]=0x0]=_0x3c2833(0x362),_0x3ec787[_0x3ec787[_0x3c2833(0x218)]=0x1]=_0x3c2833(0x218),_0x3ec787))(Fe||{});const bi=new Set([W[_0x3c2833(0x435)]['id']]);function Je(_0x758fc0,_0x3f70b6,_0x110d11,_0x364e82,_0x328308){var _0x4651b6=_0x3c2833,_0x4099ed,_0x53d673,_0x21e92e,_0x111f97;const _0x23b493=[];for(const _0x29f1d8 of _0x758fc0)if(bi[_0x4651b6(0x304)](_0x29f1d8['id'])){if(_0x23b493[_0x4651b6(0x294)]>0x0)break;_0x23b493['push'](_0x29f1d8);break;}else _0x23b493[_0x4651b6(0x169)](_0x29f1d8);const _0x2ceded=(_0x53d673=(_0x4099ed=_0x328308[_0x4651b6(0x262)]())==null?void 0x0:_0x4099ed[_0x4651b6(0x368)])!=null?_0x53d673:_0x4651b6(0x255),_0xf43045=(_0x111f97=(_0x21e92e=_0x328308[_0x4651b6(0x262)]())==null?void 0x0:_0x21e92e[_0x4651b6(0x26e)])!=null?_0x111f97:'unknown';return{'changeset':{'unitID':_0x3f70b6,'type':m[_0x4651b6(0x2bd)](_0x110d11['getUnitType'](_0x3f70b6)),'baseRev':_0x364e82[_0x4651b6(0x2a6)](_0x3f70b6),'revision':0x0,'userID':_0x2ceded,'memberID':_0xf43045,'mutations':_0x23b493},'pendingMutations':_0x758fc0[_0x4651b6(0x24a)](_0x23b493['length'])};}function Ri(_0x48c737,_0x405806,_0x59e661,_0x298aba,_0x12ca41){var _0x3e59e7=_0x3c2833,_0x3f68a9,_0x3aab9c,_0x288b3c,_0x228658;const _0x4e1c29=[_0x48c737[_0x3e59e7(0x35f)]((_0x4100df,_0x209c7f)=>{var _0x1a465d=_0x3e59e7,_0x3b9a85;const {id:_0x105556}=_0x4100df,{id:_0x29d13d,type:_0x596e48}=_0x209c7f,_0x27d109=(_0x3b9a85=_0x4100df[_0x1a465d(0x27b)])!=null?_0x3b9a85:{'actions':null},_0x45ee5a=_0x209c7f[_0x1a465d(0x27b)];if(_0x105556&&_0x105556!==_0x29d13d)throw new Error(_0x1a465d(0x11b)+_0x105556+'\x20-\x20'+_0x29d13d+'.');return{..._0x4100df,'id':_0x29d13d,'type':_0x596e48,'params':{'unitId':_0x45ee5a[_0x1a465d(0x239)],'textRanges':_0x45ee5a['textRanges'],'actions':a[_0x1a465d(0x36c)][_0x1a465d(0x34b)](_0x27d109[_0x1a465d(0x197)],_0x45ee5a[_0x1a465d(0x197)])}};},{})],_0xa8dfdc=(_0x3aab9c=(_0x3f68a9=_0x12ca41['getCurrentUser']())==null?void 0x0:_0x3f68a9[_0x3e59e7(0x368)])!=null?_0x3aab9c:_0x3e59e7(0x255),_0x5b5cfd=(_0x228658=(_0x288b3c=_0x12ca41[_0x3e59e7(0x262)]())==null?void 0x0:_0x288b3c[_0x3e59e7(0x26e)])!=null?_0x228658:_0x3e59e7(0x255);return{'changeset':{'unitID':_0x405806,'type':m[_0x3e59e7(0x2bd)](_0x59e661[_0x3e59e7(0x3b2)](_0x405806)),'baseRev':_0x298aba[_0x3e59e7(0x2a6)](_0x405806),'revision':0x0,'userID':_0xa8dfdc,'memberID':_0x5b5cfd,'mutations':_0x4e1c29},'pendingMutations':[]};}function Pt(_0x22b88d,_0x4750b7){var _0x23063c=_0x3c2833;const _0x3c7ca7=new H[(_0x23063c(0x29c))](0x1);return setTimeout(()=>_0x3c7ca7['next'](_0x4750b7),_0x22b88d),_0x3c7ca7[_0x23063c(0x2b3)]()[_0x23063c(0x240)](H['take'](0x1));}const Oi={'id':W[_0x3c2833(0x3a9)]['id'],'type':a[_0x3c2833(0x196)]['MUTATION'],'params':{}};var yi=Object['defineProperty'],Pi=Object['getOwnPropertyDescriptor'],le=(_0x3546d1,_0x388357,_0x34304f,_0x57ae56)=>{for(var _0x42a2c7=_0x57ae56>0x1?void 0x0:_0x57ae56?Pi(_0x388357,_0x34304f):_0x388357,_0x318975=_0x3546d1['length']-0x1,_0x398420;_0x318975>=0x0;_0x318975--)(_0x398420=_0x3546d1[_0x318975])&&(_0x42a2c7=(_0x57ae56?_0x398420(_0x388357,_0x34304f,_0x42a2c7):_0x398420(_0x42a2c7))||_0x42a2c7);return _0x57ae56&&_0x42a2c7&&yi(_0x388357,_0x34304f,_0x42a2c7),_0x42a2c7;},A=(_0x539a78,_0x3f316b)=>(_0x14bf65,_0x3f362d)=>_0x3f316b(_0x14bf65,_0x3f362d,_0x539a78),We=(_0x32264e=>(_0x32264e[_0x3c2833(0x194)]=_0x3c2833(0x13b),_0x32264e['SYNCED']='synced',_0x32264e['PENDING']=_0x3c2833(0x426),_0x32264e[_0x3c2833(0x28f)]=_0x3c2833(0x37b),_0x32264e[_0x3c2833(0x321)]=_0x3c2833(0x430),_0x32264e[_0x3c2833(0x2e8)]=_0x3c2833(0x202),_0x32264e['CONFLICT']='conflict',_0x32264e['OFFLINE']=_0x3c2833(0x19e),_0x32264e))(We||{});const Nt=0xea60;class _e{constructor(_0x38410e,_0x234887,_0x21fcd0,_0x4f78c1,_0x3a934e,_0x362c0a,_0x1507cb,_0xa47a4c,_0x37b12e){var _0x2c36ff=_0x3c2833;D(this,_0x2c36ff(0x147),null),D(this,_0x2c36ff(0x18d),[]),(this[_0x2c36ff(0x32c)]=_0x38410e,this[_0x2c36ff(0x201)]=_0x234887,this['_handler']=_0x3a934e,this['_commandService']=_0x362c0a,this[_0x2c36ff(0x16f)]=_0x1507cb,this[_0x2c36ff(0x209)]=_0xa47a4c,this[_0x2c36ff(0x336)]=_0x37b12e,this[_0x2c36ff(0x147)]=_0x21fcd0,this[_0x2c36ff(0x18d)]=_0x4f78c1);}[_0x3c2833(0x1de)](_0x51649b){var _0x3524f2=_0x3c2833;const _0x4b67f2=this[_0x3524f2(0x209)][_0x3524f2(0x2a6)](this[_0x3524f2(0x32c)]);return _0x51649b[_0x3524f2(0x18b)]>_0x4b67f2+0x1?(this['_handler']['onMissingChangesets']({'from':_0x4b67f2,'to':_0x51649b['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e56e9){var _0x2597de=_0x3c2833;this[_0x2597de(0x16f)][_0x2597de(0x384)](this[_0x2597de(0x32c)],_0x1e56e9);}[_0x3c2833(0x2b5)](_0x4d8dcd){var _0x1c191f=_0x3c2833,_0x3d2510,_0xf6ccea;(_0xf6ccea=(_0x3d2510=this[_0x1c191f(0x180)])[_0x1c191f(0x305)])==null||_0xf6ccea['call'](_0x3d2510,_0x4d8dcd);}['_transformIMECache'](_0x454e0f){var _0x2ed78b=_0x3c2833,_0x48dec0,_0xcb2eeb;return(_0xcb2eeb=(_0x48dec0=this[_0x2ed78b(0x180)])['onTransformIME'])==null?void 0x0:_0xcb2eeb[_0x2ed78b(0xe8)](_0x48dec0,_0x454e0f);}[_0x3c2833(0x1c7)](_0xa200a2){var _0x23c4bc=_0x3c2833,_0x4f2977,_0x28cd27;return(_0x28cd27=(_0x4f2977=this[_0x23c4bc(0x180)])['onTransformState'])==null?void 0x0:_0x28cd27[_0x23c4bc(0xe8)](_0x4f2977,_0xa200a2);}['_transformRemoteChangesetByIMECache'](_0xf235f2){var _0x4122f2=_0x3c2833,_0xd2c308,_0x310c18,_0x107dcf;return(_0x107dcf=(_0x310c18=(_0xd2c308=this[_0x4122f2(0x180)])[_0x4122f2(0x1ac)])==null?void 0x0:_0x310c18[_0x4122f2(0xe8)](_0xd2c308,_0xf235f2))!=null?_0x107dcf:_0xf235f2;}[_0x3c2833(0x17e)](_0x5d747d){var _0x1fcf33=_0x3c2833,_0x43f934,_0x600df1,_0x3d8970;return(_0x3d8970=(_0x600df1=(_0x43f934=this[_0x1fcf33(0x180)])[_0x1fcf33(0x401)])==null?void 0x0:_0x600df1[_0x1fcf33(0xe8)](_0x43f934,_0x5d747d))!=null?_0x3d8970:_0x5d747d;}[_0x3c2833(0x126)](_0x3c1302){var _0x1500fb=_0x3c2833,_0x402406,_0x5ab21d;if(this['type']===Z[_0x1500fb(0x25a)]){const {unitID:_0x1de8eb,mutations:_0x340bce,memberID:_0x514923}=_0x3c1302,_0x1600d8=_0x340bce[0x0][_0x1500fb(0x27b)]['textRanges'];Array[_0x1500fb(0x158)](_0x1600d8)&&_0x1600d8['length']>0x0&&((_0x5ab21d=(_0x402406=this[_0x1500fb(0x180)])[_0x1500fb(0x34e)])==null||_0x5ab21d[_0x1500fb(0xe8)](_0x402406,{'unitID':_0x1de8eb,'memberID':_0x514923,'textRanges':_0x1600d8}));}}['_updateLocalCache'](){var _0x3f55d2=_0x3c2833,_0x4172e8;(_0x4172e8=this[_0x3f55d2(0x336)])==null||_0x4172e8[_0x3f55d2(0x3f6)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x3c2833(0x3ec)](){var _0x8487a5=_0x3c2833;return this[_0x8487a5(0x209)][_0x8487a5(0x2a6)](this[_0x8487a5(0x32c)]);}[_0x3c2833(0x3a4)](){var _0x22149e=_0x3c2833;this[_0x22149e(0x209)]['incrementRevOfUnit'](this[_0x22149e(0x32c)]);}[_0x3c2833(0x1df)](_0x4e9b7f){var _0x370427=_0x3c2833,_0x42e1c4;let _0x180709=this[_0x370427(0x2b7)](_0x4e9b7f);_0x180709=this[_0x370427(0x17e)](_0x180709);const _0x5494dd=a['sequenceExecute'](_0x180709[_0x370427(0x146)],this[_0x370427(0x42d)],{'fromCollab':!0x0});if(!_0x5494dd[_0x370427(0x1d2)])throw _0x5494dd[_0x370427(0x15b)]instanceof Error?_0x5494dd['error']:new Error((_0x42e1c4=_0x5494dd['error'])!=null?_0x42e1c4:'[CollaborationState]:\x20apply\x20error!');this[_0x370427(0xea)](_0x180709),this['_transformStateCache'](_0x180709),this[_0x370427(0x44b)](_0x4e9b7f),this['_transformSelections'](_0x180709),this[_0x370427(0x126)](_0x180709),this['_incrementRevisionNumber']();}}exports[_0x3c2833(0x120)]=class extends _e{constructor(_0x4cc701,_0x4fbf17,_0x41c409,_0x13065a,_0x5bd03b,_0x188650,_0x5494a4,_0x114a15,_0x347f5d,_0x14750e){var _0x40d99e=_0x3c2833;super(_0x4cc701,_0x4fbf17,null,[],_0x41c409,_0x5494a4,_0x188650,_0x13065a,_0x14750e),D(this,_0x40d99e(0xf5),_0x40d99e(0x407)),(this[_0x40d99e(0x37f)]=_0x5bd03b,this[_0x40d99e(0x44d)]=_0x114a15,this[_0x40d99e(0x2be)]=_0x347f5d,this[_0x40d99e(0x3d0)]=_0x14750e);}[_0x3c2833(0xec)](_0x5a28ee){var _0x46dc0d=_0x3c2833;const _0xedf4fd=this[_0x46dc0d(0x37f)][_0x46dc0d(0x307)](exports[_0x46dc0d(0x29b)],this[_0x46dc0d(0x32c)],this[_0x46dc0d(0x201)],[_0x5a28ee],this[_0x46dc0d(0x180)]);return _0xedf4fd[_0x46dc0d(0x286)](),_0xedf4fd[_0x46dc0d(0x2cf)](),_0xedf4fd;}[_0x3c2833(0x2b9)](_0x5d6777){var _0x4c9f5=_0x3c2833;if(this[_0x4c9f5(0x1de)](_0x5d6777))return this['_injector'][_0x4c9f5(0x307)](exports[_0x4c9f5(0x2a9)],this[_0x4c9f5(0x32c)],this['type'],null,[],null,[_0x5d6777],this[_0x4c9f5(0x180)]);try{const _0x4569f6=this['_transformService'][_0x4c9f5(0x26c)](_0x5d6777,[Oi]);if(m['isTransformMutationsWithChangesetSuccess'](_0x4569f6)){const {c1Prime:_0x2eed27}=_0x4569f6;return this[_0x4c9f5(0x1df)](_0x2eed27),this;}throw _0x4569f6['error'];}catch(_0x283b92){return this[_0x4c9f5(0x44d)]['error'](_0x283b92),this[_0x4c9f5(0x220)](!0x1);}}[_0x3c2833(0x220)](_0x57b588){var _0x4c69d3=_0x3c2833;return this[_0x4c69d3(0x37f)][_0x4c69d3(0x307)](exports[_0x4c69d3(0x2a3)],this[_0x4c69d3(0x32c)],this[_0x4c69d3(0x201)],null,[],this[_0x4c69d3(0x180)],_0x57b588);}['onRemoteAck'](){var _0x19590e=_0x3c2833;throw new Error(_0x19590e(0x313));}[_0x3c2833(0x3d2)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3c2833(0x1a2)](){return this;}['toggleOffline'](){var _0x28b3de=_0x3c2833;return this[_0x28b3de(0x37f)][_0x28b3de(0x307)](exports[_0x28b3de(0x2f7)],this[_0x28b3de(0x32c)],this[_0x28b3de(0x201)],null,[],this[_0x28b3de(0x180)]);}[_0x3c2833(0x350)](){return this;}[_0x3c2833(0x3f2)](){var _0xd9be76=_0x3c2833;throw new Error(_0xd9be76(0x44f));}['fetchMiss'](){var _0x277448=_0x3c2833;const _0x3ac91a=this[_0x277448(0x209)][_0x277448(0x2a6)](this[_0x277448(0x32c)]);return this[_0x277448(0x180)][_0x277448(0x1c5)]({'from':_0x3ac91a,'to':0x0}),this[_0x277448(0x37f)][_0x277448(0x307)](exports['FetchingMissState'],this[_0x277448(0x32c)],this[_0x277448(0x201)],null,[],null,[],this[_0x277448(0x180)]);}},exports[_0x3c2833(0x120)]=le([A(0x3,a['Inject'](m[_0x3c2833(0x223)])),A(0x4,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),A(0x5,a[_0x3c2833(0x379)]),A(0x6,a[_0x3c2833(0x2a2)]),A(0x7,a[_0x3c2833(0x433)]),A(0x8,m['ITransformService']),A(0x9,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x120)]),exports[_0x3c2833(0x29b)]=class extends _e{constructor(_0x5352ad,_0x4aaca9,_0x163982,_0x27ec19,_0x13a99c,_0xfd2ed,_0x46cb4f,_0x1effbe,_0x19c088,_0x4c3f8a,_0x404c6c,_0x2d54c1,_0x598401,_0x5dc565){var _0x1b9996=_0x3c2833;super(_0x5352ad,_0x4aaca9,null,_0x163982,_0x27ec19,_0x19c088,_0x598401,_0xfd2ed,_0x5dc565),D(this,_0x1b9996(0xf5),'pending'),D(this,_0x1b9996(0x3b5),null),D(this,_0x1b9996(0x3da),null),(this[_0x1b9996(0x37f)]=_0x13a99c,this[_0x1b9996(0x12f)]=_0x46cb4f,this['_logService']=_0x1effbe,this[_0x1b9996(0x302)]=_0x4c3f8a,this[_0x1b9996(0x2be)]=_0x404c6c,this[_0x1b9996(0x24b)]=_0x2d54c1);}['appendMutation'](_0x2fd33a){var _0x414707=_0x3c2833;return this[_0x414707(0x18d)]['push'](_0x2fd33a),this['_updateLocalCache'](),this;}[_0x3c2833(0x2b9)](_0x5bdafa){var _0x109604=_0x3c2833;if(this[_0x109604(0x1de)](_0x5bdafa))return this[_0x109604(0x174)](),this[_0x109604(0x37f)][_0x109604(0x307)](exports[_0x109604(0x2a9)],this['unitID'],this[_0x109604(0x201)],null,this[_0x109604(0x18d)],null,[_0x5bdafa],this['_handler']);try{const _0x57fd98=this[_0x109604(0x2be)]['transformMutationsWithChangeset'](_0x5bdafa,this[_0x109604(0x18d)]);if(m[_0x109604(0xc7)](_0x57fd98)){const {c1Prime:_0x27decf,m2Prime:_0x35910b}=_0x57fd98;this[_0x109604(0x1df)](_0x27decf);const _0x366cfd=this[_0x109604(0x37f)][_0x109604(0x307)](exports['PendingState'],this[_0x109604(0x32c)],this[_0x109604(0x201)],_0x35910b,this[_0x109604(0x180)]);this[_0x109604(0x174)]();const _0x305438=new Date()[_0x109604(0x3c5)](),_0x273a45=this[_0x109604(0x3b5)]?Math['max'](this[_0x109604(0x3b5)]-_0x305438,0x0):this[_0x109604(0x1ed)]();return _0x366cfd[_0x109604(0x286)](_0x273a45),_0x366cfd;}throw _0x57fd98[_0x109604(0x15b)];}catch(_0x50b3b0){return this[_0x109604(0x44d)][_0x109604(0x15b)](_0x50b3b0),this[_0x109604(0x220)](!0x1);}}[_0x3c2833(0x25e)](){var _0xdba07b=_0x3c2833;throw new Error(_0xdba07b(0xcd));}[_0x3c2833(0x3d2)](){var _0x5bbe1a=_0x3c2833;throw new Error(_0x5bbe1a(0x322));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x939c81=_0x3c2833;return this[_0x939c81(0x174)](),this[_0x939c81(0x37f)][_0x939c81(0x307)](exports[_0x939c81(0x2f7)],this[_0x939c81(0x32c)],this['type'],null,this[_0x939c81(0x18d)],this['_handler']);}[_0x3c2833(0x350)](){return this;}[_0x3c2833(0x286)](_0x789ba3){var _0x5ba4c2=_0x3c2833;const _0x112eac=_0x789ba3!=null?_0x789ba3:this['_getSendChangesetTimeout']();this[_0x5ba4c2(0x3b5)]=new Date()['getTime']()+_0x112eac,this[_0x5ba4c2(0x3da)]=setTimeout(()=>{var _0x5f2385=_0x5ba4c2;this['_clearScheduledTask']();let _0x8f6ce5=null;switch(this[_0x5f2385(0x201)]){case Z['UNIVER_SHEET']:{_0x8f6ce5=Je(this[_0x5f2385(0x18d)],this[_0x5f2385(0x32c)],this['_univerInstanceService'],this['_revisionService'],this[_0x5f2385(0x12f)]);break;}case Z['UNIVER_DOC']:{this[_0x5f2385(0x18d)][_0x5f2385(0x3af)](_0x394109=>_0x394109['id']===dt['RichTextEditingMutation']['id'])?_0x8f6ce5=Ri(this['_pendingMutations'],this[_0x5f2385(0x32c)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x8f6ce5=Je(this['_pendingMutations'],this[_0x5f2385(0x32c)],this['_univerInstanceService'],this[_0x5f2385(0x209)],this[_0x5f2385(0x12f)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x5f2385(0x364));}const {changeset:_0x542fdf,pendingMutations:_0x1fa76e}=_0x8f6ce5;this['_handler']['onSendChangeset'](_0x542fdf);const _0x25479b=_0x1fa76e[_0x5f2385(0x294)]?this[_0x5f2385(0x37f)][_0x5f2385(0x307)](exports['AwaitingWithPendingState'],this[_0x5f2385(0x32c)],this[_0x5f2385(0x201)],_0x542fdf,_0x1fa76e,this[_0x5f2385(0x180)],void 0x0):this[_0x5f2385(0x37f)]['createInstance'](exports['AwaitingState'],this[_0x5f2385(0x32c)],this['type'],_0x542fdf,this['_handler']);_0x25479b[_0x5f2385(0x2cf)](),this['_handler']['onStateChange'](this,_0x25479b);},_0x112eac);}[_0x3c2833(0x1ed)](){var _0x5a04f9=_0x3c2833,_0x33851b;const _0xf7350f=this[_0x5a04f9(0x302)][_0x5a04f9(0x1cf)](q);return(_0x33851b=_0xf7350f==null?void 0x0:_0xf7350f['sendChangesetTimeout'])!=null?_0x33851b:Bt;}[_0x3c2833(0x3f2)](){var _0x132a3f=_0x3c2833;throw new Error(_0x132a3f(0x225));}[_0x3c2833(0x174)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3c2833(0x220)](_0x55423b){var _0x3e9e49=_0x3c2833;return this[_0x3e9e49(0x174)](),this['_injector'][_0x3e9e49(0x307)](exports[_0x3e9e49(0x2a3)],this[_0x3e9e49(0x32c)],this['type'],null,this[_0x3e9e49(0x18d)],this[_0x3e9e49(0x180)],_0x55423b);}},exports[_0x3c2833(0x29b)]=le([A(0x4,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),A(0x5,a[_0x3c2833(0x399)](m[_0x3c2833(0x223)])),A(0x6,a[_0x3c2833(0x399)](exports[_0x3c2833(0x35d)])),A(0x7,a[_0x3c2833(0x433)]),A(0x8,a['ICommandService']),A(0x9,a['IConfigService']),A(0xa,m[_0x3c2833(0x3dd)]),A(0xb,a[_0x3c2833(0x374)]),A(0xc,a[_0x3c2833(0x379)]),A(0xd,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x29b)]),exports[_0x3c2833(0x390)]=class extends _e{constructor(_0x536e84,_0x1bc168,_0x18af87,_0x452c58,_0x2e88a1,_0x41a380,_0x15e3e8,_0x4f853f,_0x2f6ad0,_0x35b75a,_0x239e6b){var _0x2be7bc=_0x3c2833;super(_0x536e84,_0x1bc168,_0x18af87,[],_0x452c58,_0x15e3e8,_0x35b75a,_0x41a380,_0x239e6b),D(this,_0x2be7bc(0xf5),_0x2be7bc(0x37b)),D(this,_0x2be7bc(0x3c8),0x0),D(this,_0x2be7bc(0x341)),D(this,_0x2be7bc(0x241)),(this[_0x2be7bc(0x37f)]=_0x2e88a1,this[_0x2be7bc(0x44d)]=_0x4f853f,this[_0x2be7bc(0x2be)]=_0x2f6ad0);}['appendMutation'](_0x2c6efe){var _0x1acd13=_0x3c2833;this[_0x1acd13(0x174)]();const _0x255eb6=this['_injector'][_0x1acd13(0x307)](exports[_0x1acd13(0xde)],this[_0x1acd13(0x32c)],this[_0x1acd13(0x201)],this['_awaitingChangeset'],[_0x2c6efe],this[_0x1acd13(0x180)],this['_resendTimer']);return _0x255eb6[_0x1acd13(0x2cf)](),_0x255eb6;}[_0x3c2833(0x2b9)](_0x5a2e13){var _0x22124f=_0x3c2833;if(this['_checkMissing'](_0x5a2e13))return this[_0x22124f(0x174)](),this['_injector']['createInstance'](exports[_0x22124f(0x2a9)],this['unitID'],this['type'],this[_0x22124f(0x147)],[],null,[_0x5a2e13],this[_0x22124f(0x180)]);try{const _0x4ebf15=this[_0x22124f(0x2be)][_0x22124f(0x22c)]([_0x5a2e13],[this['_awaitingChangeset']],!0x1);if(m[_0x22124f(0x40d)](_0x4ebf15)){const {c1Prime:_0x4f7dd3,c2Prime:_0x9824ba}=_0x4ebf15;this[_0x22124f(0x1df)](_0x4f7dd3[0x0]),_0x9824ba[0x0][_0x22124f(0x261)]=this['_getCurrentRevision'](),this[_0x22124f(0x174)]();const _0x5709b5=this[_0x22124f(0x37f)]['createInstance'](exports['AwaitingState'],this['unitID'],this[_0x22124f(0x201)],_0x9824ba[0x0],this[_0x22124f(0x180)]);return _0x5709b5[_0x22124f(0x2cf)](),_0x5709b5;}return this[_0x22124f(0x220)](!0x1);}catch(_0x29ec62){return this[_0x22124f(0x44d)][_0x22124f(0x15b)](_0x29ec62),this['_onConflict'](!0x1);}}[_0x3c2833(0x25e)](_0x2c9998){var _0x5db808=_0x3c2833;this[_0x5db808(0x174)]();const _0x5e305e=this[_0x5db808(0x209)][_0x5db808(0x2a6)](this['unitID']);if(_0x2c9998[_0x5db808(0x18b)]<_0x5e305e-0x1)return this;if(this[_0x5db808(0x1de)](_0x2c9998))return this[_0x5db808(0x37f)][_0x5db808(0x307)](exports['FetchingMissState'],this['unitID'],this[_0x5db808(0x201)],null,[],this[_0x5db808(0x147)],[],this[_0x5db808(0x180)]);this[_0x5db808(0x3a4)]();const _0x24fee6=this[_0x5db808(0x37f)][_0x5db808(0x307)](exports['SyncedState'],this[_0x5db808(0x32c)],this['type'],this[_0x5db808(0x180)]);return _0x24fee6['_updateLocalCache'](),_0x24fee6;}[_0x3c2833(0x3d2)](_0x1f4475){return this['_onConflict'](!!(_0x1f4475!=null&&_0x1f4475['isPermissionRej']));}['onRemoteRetry'](_0x467da7){var _0xe2d7f7=_0x3c2833;return this['_resendTimeout']>Nt?this[_0xe2d7f7(0x311)]():(this[_0xe2d7f7(0x341)]=Pt(this[_0xe2d7f7(0x3c8)],{'timeout':this['_resendTimeout'],'reqId':_0x467da7[_0xe2d7f7(0x22b)]}),this[_0xe2d7f7(0x241)]=this['_resendTimer'][_0xe2d7f7(0x187)](({reqId:_0x2696da,timeout:_0x2ba5e1})=>{this['_resendWithTimeout'](_0x2696da,_0x2ba5e1);}),this);}[_0x3c2833(0x311)](){var _0x26e37a=_0x3c2833;return this['_clearScheduledTask'](),this[_0x26e37a(0x37f)][_0x26e37a(0x307)](exports['OfflineState'],this[_0x26e37a(0x32c)],this[_0x26e37a(0x201)],this['_awaitingChangeset'],[],this[_0x26e37a(0x180)]);}[_0x3c2833(0x350)](){return this;}[_0x3c2833(0x3f2)](){var _0x1c8714=_0x3c2833;this['_handler'][_0x1c8714(0x267)](this[_0x1c8714(0x147)]);}[_0x3c2833(0x220)](_0x75949f){var _0x16f584=_0x3c2833;return this[_0x16f584(0x174)](),this[_0x16f584(0x37f)][_0x16f584(0x307)](exports[_0x16f584(0x2a3)],this[_0x16f584(0x32c)],this['type'],this[_0x16f584(0x147)],[],this[_0x16f584(0x180)],_0x75949f);}[_0x3c2833(0x195)](_0x1887a5,_0x32943b){var _0x3cc5a2=_0x3c2833,_0x32ef8d;_0x1887a5===((_0x32ef8d=this[_0x3cc5a2(0x147)])==null?void 0x0:_0x32ef8d[_0x3cc5a2(0x22b)])&&(this[_0x3cc5a2(0x3f2)](),this[_0x3cc5a2(0x3c8)]=_0x32943b===0x0?0x3e8:_0x32943b*0x2);}[_0x3c2833(0x174)](){var _0x36e055=_0x3c2833,_0xae9171;(_0xae9171=this[_0x36e055(0x241)])==null||_0xae9171[_0x36e055(0x3b3)](),this[_0x36e055(0x3c8)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),A(0x5,a[_0x3c2833(0x399)](m['RevisionService'])),A(0x6,a['ICommandService']),A(0x7,a['ILogService']),A(0x8,m[_0x3c2833(0x3dd)]),A(0x9,a[_0x3c2833(0x379)]),A(0xa,a[_0x3c2833(0x448)](J))],exports['AwaitingState']),exports[_0x3c2833(0xde)]=class extends _e{constructor(_0xbd5d8b,_0x57b32f,_0xb1669d,_0x5222bc,_0x16dee9,_0x116278,_0x1af508,_0x5940da,_0x4f234e,_0x19cc9d,_0x233ac2,_0x54f2bf,_0x1a5080){var _0x257a6e=_0x3c2833;super(_0xbd5d8b,_0x57b32f,_0xb1669d,_0x5222bc,_0x16dee9,_0x4f234e,_0x54f2bf,_0x5940da,_0x1a5080),D(this,_0x257a6e(0xf5),_0x257a6e(0x430)),D(this,_0x257a6e(0x3c8),0x0),D(this,_0x257a6e(0x341)),D(this,_0x257a6e(0x241)),(this[_0x257a6e(0x37f)]=_0x1af508,this[_0x257a6e(0x44d)]=_0x19cc9d,this[_0x257a6e(0x2be)]=_0x233ac2,this[_0x257a6e(0x3d0)]=_0x1a5080,_0x116278&&(this[_0x257a6e(0x341)]=_0x116278,this[_0x257a6e(0x241)]=this[_0x257a6e(0x341)][_0x257a6e(0x187)](({reqId:_0x4774dc,timeout:_0x26f428})=>{this['_resendWithTimeout'](_0x4774dc,_0x26f428);})));}[_0x3c2833(0xec)](_0x4d7b9c){var _0x11ce07=_0x3c2833;return this[_0x11ce07(0x18d)][_0x11ce07(0x169)](_0x4d7b9c),this;}['onRemoteChangeset'](_0x16412c){var _0x59b3f2=_0x3c2833;if(this[_0x59b3f2(0x1de)](_0x16412c))return this['_clearScheduledTask'](),this[_0x59b3f2(0x37f)][_0x59b3f2(0x307)](exports[_0x59b3f2(0x2a9)],this[_0x59b3f2(0x32c)],this[_0x59b3f2(0x201)],this[_0x59b3f2(0x147)],this[_0x59b3f2(0x18d)],null,[_0x16412c],this[_0x59b3f2(0x180)]);try{const _0x4118db=this[_0x59b3f2(0x2be)][_0x59b3f2(0x22c)]([_0x16412c],[this[_0x59b3f2(0x147)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x4118db)){const {c1Prime:_0x1610ca,c2Prime:_0x2c7cb4}=_0x4118db,_0x17285a=this[_0x59b3f2(0x2be)][_0x59b3f2(0x26c)](_0x1610ca[0x0],this[_0x59b3f2(0x18d)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x17285a)){const {c1Prime:_0xbffce8,m2Prime:_0x3c2f0b}=_0x17285a;return this[_0x59b3f2(0x1df)](_0xbffce8),_0x2c7cb4[0x0]['baseRev']=this[_0x59b3f2(0x3ec)](),this[_0x59b3f2(0x174)](),this[_0x59b3f2(0x37f)][_0x59b3f2(0x307)](exports[_0x59b3f2(0xde)],this['unitID'],this[_0x59b3f2(0x201)],_0x2c7cb4[0x0],_0x3c2f0b,this['_handler'],void 0x0);}throw _0x17285a[_0x59b3f2(0x15b)];}throw _0x4118db[_0x59b3f2(0x15b)];}catch(_0xfdb9f8){return this['_logService'][_0x59b3f2(0x15b)](_0xfdb9f8),this[_0x59b3f2(0x220)](!0x1);}}[_0x3c2833(0x25e)](_0x1a91e2){var _0x47df4f=_0x3c2833;if(this[_0x47df4f(0x174)](),this[_0x47df4f(0x1de)](_0x1a91e2))return this[_0x47df4f(0x37f)][_0x47df4f(0x307)](exports[_0x47df4f(0x2a9)],this[_0x47df4f(0x32c)],this[_0x47df4f(0x201)],null,this[_0x47df4f(0x18d)],this[_0x47df4f(0x147)],[],this['_handler']);this[_0x47df4f(0x3a4)]();const _0x15aae3=this['_injector']['createInstance'](exports[_0x47df4f(0x29b)],this['unitID'],this[_0x47df4f(0x201)],this[_0x47df4f(0x18d)],this['_handler']);return _0x15aae3[_0x47df4f(0x286)](),_0x15aae3[_0x47df4f(0x2cf)](),_0x15aae3;}[_0x3c2833(0x3d2)](_0x4d000d){var _0x148454=_0x3c2833;return this[_0x148454(0x220)](!!(_0x4d000d!=null&&_0x4d000d['isPermissionRej']));}[_0x3c2833(0x1a2)](_0x278b1a){var _0x2a136c=_0x3c2833;return this[_0x2a136c(0x3c8)]>Nt?this['toggleOffline']():(this[_0x2a136c(0x341)]=Pt(this[_0x2a136c(0x3c8)],{'timeout':this[_0x2a136c(0x3c8)],'reqId':_0x278b1a[_0x2a136c(0x22b)]}),this[_0x2a136c(0x241)]=this[_0x2a136c(0x341)][_0x2a136c(0x187)](({reqId:_0x563ea3,timeout:_0x42f35b})=>{var _0x680d81=_0x2a136c;this[_0x680d81(0x195)](_0x563ea3,_0x42f35b);}),this);}['toggleOffline'](){var _0x40a4bc=_0x3c2833;return this['_clearScheduledTask'](),this[_0x40a4bc(0x37f)][_0x40a4bc(0x307)](exports['OfflineState'],this[_0x40a4bc(0x32c)],this['type'],this[_0x40a4bc(0x147)],this[_0x40a4bc(0x18d)],this['_handler']);}[_0x3c2833(0x350)](){return this;}['resend'](){var _0x3de024=_0x3c2833;this['_handler'][_0x3de024(0x267)](this[_0x3de024(0x147)]);}[_0x3c2833(0x220)](_0x1abfc1){var _0x5d50c3=_0x3c2833;return this[_0x5d50c3(0x174)](),this['_injector'][_0x5d50c3(0x307)](exports['ConflictState'],this[_0x5d50c3(0x32c)],this[_0x5d50c3(0x201)],null,this[_0x5d50c3(0x18d)],this[_0x5d50c3(0x180)],_0x1abfc1);}[_0x3c2833(0x195)](_0x5c956b,_0x40ec63){var _0x3f780a=_0x3c2833,_0x919039;_0x5c956b===((_0x919039=this[_0x3f780a(0x147)])==null?void 0x0:_0x919039[_0x3f780a(0x22b)])&&(this[_0x3f780a(0x3f2)](),this[_0x3f780a(0x3c8)]=_0x40ec63===0x0?0x3e8:_0x40ec63*0x2);}[_0x3c2833(0x174)](){var _0x4b3b40=_0x3c2833,_0x247204;(_0x247204=this['_sender'])==null||_0x247204['unsubscribe'](),this[_0x4b3b40(0x3c8)]=0x0;}},exports[_0x3c2833(0xde)]=le([A(0x6,a['Inject'](a[_0x3c2833(0x179)])),A(0x7,a[_0x3c2833(0x399)](m['RevisionService'])),A(0x8,a[_0x3c2833(0x2a2)]),A(0x9,a[_0x3c2833(0x433)]),A(0xa,m[_0x3c2833(0x3dd)]),A(0xb,a[_0x3c2833(0x379)]),A(0xc,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0xde)]),exports[_0x3c2833(0x2a3)]=class extends _e{constructor(_0x5a31ea,_0x162259,_0x1afeda,_0x330a28,_0x14e106,_0x4a2c3e=!0x1,_0xcd093e,_0x55193c,_0x2d7422,_0x48ad07,_0x371548,_0x678f66,_0x11dc86){var _0xbe0fbd=_0x3c2833;super(_0x5a31ea,_0x162259,_0x1afeda,_0x330a28,_0x14e106,_0x55193c,_0x2d7422,_0x48ad07,_0x11dc86),D(this,'status',_0xbe0fbd(0x30e)),(this[_0xbe0fbd(0xfa)]=_0x4a2c3e,this['_permissionService']=_0xcd093e,this[_0xbe0fbd(0xd5)]=_0x371548,this['_collaborationUIEventService']=_0x678f66,this[_0xbe0fbd(0x3d0)]=_0x11dc86,this['_showConflictNotification'](),this[_0xbe0fbd(0x3ad)](),this[_0xbe0fbd(0x438)]());}[_0x3c2833(0xec)](){return this;}[_0x3c2833(0x2b9)](){return this;}[_0x3c2833(0x25e)](){return this;}[_0x3c2833(0x3d2)](){return this;}['onRemoteRetry'](){return this;}[_0x3c2833(0x311)](){return this;}[_0x3c2833(0x350)](){return this;}[_0x3c2833(0x3f2)](){var _0x58ca84=_0x3c2833;throw new Error(_0x58ca84(0x172));}[_0x3c2833(0x3ad)](){var _0x2c4075=_0x3c2833,_0x34662c;(_0x34662c=this[_0x2c4075(0x336)])==null||_0x34662c[_0x2c4075(0x3f6)](this['unitID'],this[_0x2c4075(0x201)],null,[]);}[_0x3c2833(0x3aa)](){var _0x1ad91e=_0x3c2833;this[_0x1ad91e(0xfa)]?this[_0x1ad91e(0x422)]['emitEvent']({'id':Q[_0x1ad91e(0x20a)]}):this[_0x1ad91e(0x422)][_0x1ad91e(0xd6)]({'id':Q[_0x1ad91e(0x451)]});}[_0x3c2833(0x438)](){var _0x144b54=_0x3c2833;this['_permissionService'][_0x144b54(0x22e)](new W[(_0x144b54(0x3be))](this[_0x144b54(0x32c)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0x3c2833(0x399)](a[_0x3c2833(0x2ae)])),A(0x7,a[_0x3c2833(0x2a2)]),A(0x8,a[_0x3c2833(0x379)]),A(0x9,a[_0x3c2833(0x399)](m['RevisionService'])),A(0xa,a[_0x3c2833(0x399)](a[_0x3c2833(0x2ad)])),A(0xb,a[_0x3c2833(0x399)](te)),A(0xc,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x2a3)]),exports['OfflineState']=class extends _e{constructor(_0xe9116b,_0x1ff60c,_0x2cfb28,_0x5967f8,_0x1be4f7,_0x476769,_0x2bd8b9,_0xe8283c,_0x5cdc43,_0x329c26){var _0x91cbd6=_0x3c2833;super(_0xe9116b,_0x1ff60c,_0x2cfb28,_0x5967f8,_0x1be4f7,_0xe8283c,_0x5cdc43,_0x2bd8b9,_0x329c26),D(this,_0x91cbd6(0xf5),_0x91cbd6(0x19e)),this[_0x91cbd6(0x37f)]=_0x476769;}[_0x3c2833(0xec)](_0x1c8a72){var _0x57127e=_0x3c2833;return this[_0x57127e(0x18d)]['push'](_0x1c8a72),this['_updateLocalCache'](),this;}[_0x3c2833(0x2b9)](_0x42afe2){var _0x206f29=_0x3c2833;throw new Error(_0x206f29(0x21a));}[_0x3c2833(0x25e)](){var _0x4198af=_0x3c2833;throw new Error(_0x4198af(0x199));}[_0x3c2833(0x3d2)](){var _0x3de82e=_0x3c2833;throw new Error(_0x3de82e(0x270));}[_0x3c2833(0x1a2)](){return this;}[_0x3c2833(0x311)](){return this;}['toggleOnline'](){var _0x1c3b71=_0x3c2833;const {_injector:_0x316c0c,_pendingMutations:_0x25dbdc,_awaitingChangeset:_0x36d5c9,unitID:_0x2a7811,_handler:_0x14c2d9,type:_0x3b4142}=this,_0x1d7a9a=Ut(_0x316c0c,_0x2a7811,_0x3b4142,_0x36d5c9,_0x25dbdc,_0x14c2d9);return _0x1d7a9a instanceof exports[_0x1c3b71(0x29b)]?_0x1d7a9a['_schedule']():(_0x1d7a9a instanceof exports[_0x1c3b71(0xde)]||_0x1d7a9a instanceof exports[_0x1c3b71(0x390)])&&_0x1d7a9a[_0x1c3b71(0x3f2)](),_0x1d7a9a;}[_0x3c2833(0x3f2)](){var _0x5e6897=_0x3c2833;throw new Error(_0x5e6897(0x359));}},exports[_0x3c2833(0x2f7)]=le([A(0x5,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),A(0x6,a[_0x3c2833(0x399)](m['RevisionService'])),A(0x7,a[_0x3c2833(0x2a2)]),A(0x8,a[_0x3c2833(0x379)]),A(0x9,a[_0x3c2833(0x448)](J))],exports['OfflineState']),exports[_0x3c2833(0x2a9)]=class extends _e{constructor(_0x46770f,_0x2d7e5a,_0x3f8af8,_0x40b615,_0x2b6dfc,_0x2cd5e7,_0x2a6a83,_0x2a64bc,_0x2d5689,_0x388682,_0xa9327c,_0x1df9d6,_0x134514,_0x3be983){var _0x268ccf=_0x3c2833;super(_0x46770f,_0x2d7e5a,_0x3f8af8,_0x40b615,_0x2a6a83,_0xa9327c,_0x1df9d6,_0x2d5689,_0x3be983),D(this,_0x268ccf(0xf5),_0x268ccf(0x202)),(this[_0x268ccf(0xee)]=_0x2b6dfc,this[_0x268ccf(0x428)]=_0x2cd5e7,this[_0x268ccf(0x37f)]=_0x2a64bc,this[_0x268ccf(0x44d)]=_0x388682,this[_0x268ccf(0x2be)]=_0x134514,this[_0x268ccf(0x3d0)]=_0x3be983);}[_0x3c2833(0xf1)](_0x20b2af){var _0x586785=_0x3c2833;try{const _0x3bd96b=[..._0x20b2af,...this[_0x586785(0x428)]],_0x55c790=[this['_awaitingChangeset']||this[_0x586785(0xee)]]['filter'](_0x13b9a0=>!!_0x13b9a0);let _0xe5be9f,_0xf33dd2;if(_0x55c790[_0x586785(0x294)]){const _0x17e515=this[_0x586785(0x2be)][_0x586785(0x22c)](_0x3bd96b,_0x55c790,!0x1);if(!m[_0x586785(0x40d)](_0x17e515))throw _0x17e515[_0x586785(0x15b)];_0xe5be9f=_0x17e515[_0x586785(0x101)],_0xf33dd2=_0x17e515[_0x586785(0x12b)];}else _0xe5be9f=_0x3bd96b,_0xf33dd2=[];let _0x3b16ef=this[_0x586785(0x18d)];_0xe5be9f[_0x586785(0x403)](_0x33a3d6=>{var _0x373de8=_0x586785;let _0xd42d6a;if(_0x3b16ef[_0x373de8(0x294)]){const _0x570cc4=this[_0x373de8(0x2be)]['transformMutationsWithChangeset'](_0x33a3d6,_0x3b16ef);if(!m[_0x373de8(0xc7)](_0x570cc4))throw _0x570cc4[_0x373de8(0x15b)];_0xd42d6a=_0x570cc4['c1Prime'],_0x3b16ef=_0x570cc4[_0x373de8(0xe4)];}else _0xd42d6a=_0x33a3d6;this[_0x373de8(0x1df)](_0xd42d6a);}),this[_0x586785(0xee)]&&this[_0x586785(0x3a4)](),this[_0x586785(0x147)]&&_0xf33dd2[_0x586785(0x294)]&&(_0xf33dd2[0x0]['baseRev']=this['_getCurrentRevision']());let _0x1a129b;if(this['_awaitingChangeset']&&_0x3b16ef[_0x586785(0x294)]!==0x0)_0x1a129b=this['_injector'][_0x586785(0x307)](exports[_0x586785(0xde)],this[_0x586785(0x32c)],this['type'],_0xf33dd2[0x0],_0x3b16ef,this[_0x586785(0x180)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3b16ef[_0x586785(0x294)]===0x0)_0xf33dd2[0x0][_0x586785(0x261)]=this[_0x586785(0x3ec)](),_0x1a129b=this[_0x586785(0x37f)]['createInstance'](exports[_0x586785(0x390)],this[_0x586785(0x32c)],this[_0x586785(0x201)],_0xf33dd2[0x0],this[_0x586785(0x180)]);else{if(_0x3b16ef['length']!==0x0){const _0x203c5d=this[_0x586785(0x37f)][_0x586785(0x307)](exports['PendingState'],this[_0x586785(0x32c)],this[_0x586785(0x201)],_0x3b16ef,this[_0x586785(0x180)]);_0x203c5d['_schedule'](),_0x1a129b=_0x203c5d;}else _0x1a129b=this[_0x586785(0x37f)][_0x586785(0x307)](exports[_0x586785(0x120)],this[_0x586785(0x32c)],this['type'],this[_0x586785(0x180)]);}}return _0x1a129b[_0x586785(0x2cf)](),_0x1a129b;}catch(_0x1f1c90){return this[_0x586785(0x44d)][_0x586785(0x15b)](_0x586785(0x2d9),_0x586785(0x30d),_0x1f1c90),this[_0x586785(0x37f)]['createInstance'](exports[_0x586785(0x2a3)],this['unitID'],this[_0x586785(0x201)],this[_0x586785(0x147)],this[_0x586785(0x18d)],this[_0x586785(0x180)],!0x1);}}[_0x3c2833(0x3f2)](){var _0x37b2d6=_0x3c2833;throw new Error(_0x37b2d6(0x2af));}[_0x3c2833(0xec)](_0x4b4226){var _0xd698d8=_0x3c2833;return this[_0xd698d8(0x18d)][_0xd698d8(0x169)](_0x4b4226),this;}['onRemoteChangeset'](_0xf0b00a){var _0x331a66=_0x3c2833;return this['_queuedRemoteChangesets'][_0x331a66(0x169)](_0xf0b00a),this;}['onRemoteAck'](_0x229f0b){var _0x1c8fb4=_0x3c2833;if(this['_awaitingChangeset'])return this[_0x1c8fb4(0xee)]=this['_awaitingChangeset'],this[_0x1c8fb4(0x147)]=null,this;throw new Error(_0x1c8fb4(0x130));}['onRemoteRej'](_0x6af558){var _0x2d2b5e=_0x3c2833;return this[_0x2d2b5e(0x220)](!!(_0x6af558!=null&&_0x6af558[_0x2d2b5e(0x271)]));}[_0x3c2833(0x1a2)](){return this;}[_0x3c2833(0x311)](){var _0x1f7ff0=_0x3c2833;return this[_0x1f7ff0(0x37f)][_0x1f7ff0(0x307)](exports['OfflineState'],this[_0x1f7ff0(0x32c)],this[_0x1f7ff0(0x201)],this[_0x1f7ff0(0x147)],this['_pendingMutations'],this[_0x1f7ff0(0x180)]);}[_0x3c2833(0x350)](){return this;}[_0x3c2833(0x220)](_0x1c8e02){var _0x182f90=_0x3c2833;return this[_0x182f90(0x37f)]['createInstance'](exports[_0x182f90(0x2a3)],this[_0x182f90(0x32c)],this[_0x182f90(0x201)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x1c8e02);}},exports[_0x3c2833(0x2a9)]=le([A(0x7,a['Inject'](a[_0x3c2833(0x179)])),A(0x8,a['Inject'](m[_0x3c2833(0x223)])),A(0x9,a['ILogService']),A(0xa,a[_0x3c2833(0x2a2)]),A(0xb,a[_0x3c2833(0x379)]),A(0xc,m[_0x3c2833(0x3dd)]),A(0xd,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x2a9)]);function Ut(_0x11a57f,_0x75a7d2,_0x554400,_0x34fa42,_0xe807ef,_0x49ff54){var _0x295919=_0x3c2833;return _0x34fa42&&_0xe807ef[_0x295919(0x294)]?_0x11a57f[_0x295919(0x307)](exports[_0x295919(0xde)],_0x75a7d2,_0x554400,_0x34fa42,_0xe807ef,_0x49ff54,void 0x0):_0x34fa42?_0x11a57f[_0x295919(0x307)](exports[_0x295919(0x390)],_0x75a7d2,_0x554400,_0x34fa42,_0x49ff54):_0xe807ef['length']?_0x11a57f[_0x295919(0x307)](exports[_0x295919(0x29b)],_0x75a7d2,_0x554400,_0xe807ef,_0x49ff54):_0x11a57f[_0x295919(0x307)](exports[_0x295919(0x120)],_0x75a7d2,_0x554400,_0x49ff54);}var Ni=Object[_0x3c2833(0x1b7)],Ui=Object[_0x3c2833(0x404)],Ve=(_0xf305f5,_0x69fb71,_0x4124c2,_0x2e82db)=>{var _0x52d40a=_0x3c2833;for(var _0x1e91e9=_0x2e82db>0x1?void 0x0:_0x2e82db?Ui(_0x69fb71,_0x4124c2):_0x69fb71,_0x511a0e=_0xf305f5[_0x52d40a(0x294)]-0x1,_0x137be3;_0x511a0e>=0x0;_0x511a0e--)(_0x137be3=_0xf305f5[_0x511a0e])&&(_0x1e91e9=(_0x2e82db?_0x137be3(_0x69fb71,_0x4124c2,_0x1e91e9):_0x137be3(_0x1e91e9))||_0x1e91e9);return _0x2e82db&&_0x1e91e9&&Ni(_0x69fb71,_0x4124c2,_0x1e91e9),_0x1e91e9;},k=(_0x12fca6,_0x2b9c01)=>(_0x52ea9e,_0x423aba)=>_0x2b9c01(_0x52ea9e,_0x423aba,_0x12fca6);exports[_0x3c2833(0x1a0)]=class extends a[_0x3c2833(0x1d5)]{constructor(_0x34fa5a,_0x304017,_0x18d693,_0x4e4973,_0xe310b4,_0x2c66bc,_0x470a49,_0x280d6b,_0x1f519a,_0x5512ac,_0x1fc3aa,_0x23a1d0,_0x346ce6){var _0x3b898d=_0x3c2833;super(),D(this,'_state$',new H['BehaviorSubject'](null)),D(this,_0x3b898d(0x117),this['_state$'][_0x3b898d(0x2b3)]()),D(this,_0x3b898d(0x1c2)),D(this,_0x3b898d(0x452),!0x1),D(this,_0x3b898d(0x1d8),''),D(this,_0x3b898d(0x354),0x0),D(this,_0x3b898d(0x342),this[_0x3b898d(0x117)][_0x3b898d(0x240)](H['map'](_0xfb3c5e=>_0xfb3c5e?_0xfb3c5e[_0x3b898d(0xf5)]:We[_0x3b898d(0x150)]),H['shareReplay'](0x1))),D(this,_0x3b898d(0x420),!0x1),D(this,_0x3b898d(0x33b),[]),(this[_0x3b898d(0x32c)]=_0x34fa5a,this[_0x3b898d(0xc9)]=_0x304017,this[_0x3b898d(0x34f)]=_0x18d693,this[_0x3b898d(0x37f)]=_0x4e4973,this[_0x3b898d(0x352)]=_0xe310b4,this[_0x3b898d(0xd5)]=_0x2c66bc,this['_revisionService']=_0x470a49,this[_0x3b898d(0x434)]=_0x280d6b,this['_logService']=_0x1f519a,this['_commandService']=_0x5512ac,this[_0x3b898d(0x247)]=_0x1fc3aa,this[_0x3b898d(0x1d1)]=_0x23a1d0,this[_0x3b898d(0x336)]=_0x346ce6);}get[_0x3c2833(0x2f3)](){return this['_state'];}async[_0x3c2833(0x360)](){var _0xfa2c5b=_0x3c2833;if(this['state'])throw new Error(_0xfa2c5b(0x12a));await this[_0xfa2c5b(0x1fb)]();}[_0x3c2833(0x115)](){var _0x4ae29b=_0x3c2833;return this[_0x4ae29b(0x452)]=!0x0,a[_0x4ae29b(0x2de)](()=>{var _0x3616f2=_0x4ae29b;this['_collaborationPaused']=!0x1,this[_0x3616f2(0x3d5)]();});}[_0x3c2833(0x34a)](_0xc3beeb){var _0xcd56c5=_0x3c2833;this[_0xcd56c5(0x1cd)](_0xc3beeb);}[_0x3c2833(0x303)](_0x253595){var _0x2de339=_0x3c2833;this['_state']=_0x253595,this[_0x2de339(0x36b)]['next'](_0x253595);}async[_0x3c2833(0x1fb)](){var _0x21b049=_0x3c2833,_0x4fab8f;this[_0x21b049(0x303)](await this['_createInitialState']()),this[_0x21b049(0x1d1)]&&((_0x4fab8f=this[_0x21b049(0x1d1)])==null||_0x4fab8f[_0x21b049(0x2fa)](this[_0x21b049(0x32c)]),this[_0x21b049(0x3b4)](this[_0x21b049(0x1d1)][_0x21b049(0x38d)](this[_0x21b049(0x32c)])[_0x21b049(0x187)](_0x157886=>{var _0x3f49dd=_0x21b049;this['_logService'][_0x3f49dd(0x348)]('[CollaborationEntity]',_0x3f49dd(0x226),_0x157886),_0x157886===Fe[_0x3f49dd(0x218)]?(this['_eventService'][_0x3f49dd(0xd6)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x3f49dd(0x247)]['updatePermissionPoint'](new W[(_0x3f49dd(0x3be))](this[_0x3f49dd(0x32c)])['id'],!0x1),this[_0x3f49dd(0x247)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x3f49dd(0x22e)](new W[(_0x3f49dd(0x3be))](this['unitID'])['id'],!0x0),this[_0x3f49dd(0x247)][_0x3f49dd(0x293)](!0x0));})));let _0x228141=!0x1;return this[_0x21b049(0x3b4)](this[_0x21b049(0xc9)][_0x21b049(0x2e6)][_0x21b049(0x187)](_0x398337=>{var _0x4ce026=_0x21b049;_0x398337===se[_0x4ce026(0x30c)]?this[_0x4ce026(0x331)](_0x228141):_0x398337===se[_0x4ce026(0x150)]&&(_0x228141=!0x0,this[_0x4ce026(0x119)]());})),this[_0x21b049(0x3b4)](this[_0x21b049(0xc9)]['event$']['subscribe'](_0x3d1155=>{var _0x464305=_0x21b049;try{switch(_0x3d1155[_0x464305(0x1bc)]){case m[_0x464305(0x43b)][_0x464305(0x33e)]:{this[_0x464305(0x13e)](m[_0x464305(0x35a)](_0x3d1155['data']));break;}case m['CollaborationEvent'][_0x464305(0x20b)]:{this[_0x464305(0x2a0)](_0x3d1155['data']);break;}case m[_0x464305(0x43b)]['CHANGESET_REJ']:{this[_0x464305(0x35b)]();break;}case m[_0x464305(0x43b)][_0x464305(0x2b2)]:{this[_0x464305(0xe9)](_0x3d1155[_0x464305(0xd1)]);break;}case m[_0x464305(0x43b)][_0x464305(0x1b8)]:{this['_onFetchMissResult'](_0x3d1155[_0x464305(0xd1)][_0x464305(0xfe)][_0x464305(0x213)](_0x712412=>m[_0x464305(0x35a)](_0x712412)));break;}case m[_0x464305(0x43b)][_0x464305(0x2c9)]:{this[_0x464305(0x35b)]({'isPermissionRej':!0x0});break;}case m[_0x464305(0x43b)]['UNISCRIPT_RUN']:break;}}catch(_0x22f6d0){throw console[_0x464305(0x15b)](_0x464305(0x233),_0x22f6d0),_0x22f6d0;}})),this['_state'];}[_0x3c2833(0x116)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4baed6=_0x3c2833;if(this[_0x4baed6(0x420)])throw new Error(_0x4baed6(0x349));this[_0x4baed6(0x420)]=!0x0;}[_0x3c2833(0x1cd)](_0x585f43){var _0x1a7021=_0x3c2833;this['_lockTransition'](),this[_0x1a7021(0x303)](this[_0x1a7021(0x1c2)]['appendMutation'](_0x585f43)),this[_0x1a7021(0x116)]();}[_0x3c2833(0x13e)](_0x41a471){var _0x1def37=_0x3c2833;if(!(_0x41a471[_0x1def37(0x18b)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1def37(0x32c)]))){if(this[_0x1def37(0x452)]){this[_0x1def37(0x33b)][_0x1def37(0x169)](_0x41a471);return;}this['_applyRemoteChangeset'](_0x41a471);}}[_0x3c2833(0x3d5)](){var _0x3a7f77=_0x3c2833;this[_0x3a7f77(0x33b)][_0x3a7f77(0x403)](_0x22eda9=>this[_0x3a7f77(0x3b6)](_0x22eda9)),this[_0x3a7f77(0x33b)]=[];}[_0x3c2833(0x3b6)](_0x22bae2){var _0x51e506=_0x3c2833;const _0x14a176=this[_0x51e506(0x352)][_0x51e506(0x281)][_0x51e506(0x396)](this[_0x51e506(0x352)][_0x51e506(0x281)][_0x51e506(0x339)]()[_0x51e506(0x13d)])(_0x22bae2[_0x51e506(0x146)],null)||_0x22bae2[_0x51e506(0x146)],_0x221b81={..._0x22bae2,'mutations':_0x14a176};this[_0x51e506(0x182)](),this[_0x51e506(0x303)](this[_0x51e506(0x1c2)][_0x51e506(0x2b9)](_0x221b81)),this[_0x51e506(0x116)]();}[_0x3c2833(0x2a0)](_0xebdbb2){var _0x2294b0=_0x3c2833;this[_0x2294b0(0x182)](),this[_0x2294b0(0x303)](this[_0x2294b0(0x1c2)][_0x2294b0(0x25e)](_0xebdbb2)),this[_0x2294b0(0x116)]();}['_onRemoteRejected'](_0x4fa555){var _0x46a810=_0x3c2833;this[_0x46a810(0x182)](),this['_updateState'](this[_0x46a810(0x1c2)][_0x46a810(0x3d2)](_0x4fa555)),this['_unlockTransition']();}[_0x3c2833(0xe9)](_0xe569d){var _0x3e4f49=_0x3c2833;this[_0x3e4f49(0x182)](),this['_updateState'](this[_0x3e4f49(0x1c2)][_0x3e4f49(0x1a2)](_0xe569d)),this[_0x3e4f49(0x116)]();}[_0x3c2833(0x123)](_0x172484){var _0x3102b8=_0x3c2833;if(!(this[_0x3102b8(0x1c2)]instanceof exports[_0x3102b8(0x2a9)]))throw new TypeError(_0x3102b8(0x34d));const _0x2e5e5a=_0x172484[_0x3102b8(0x213)](_0x192ec6=>{var _0x318801=_0x3102b8;const _0x47d742=this[_0x318801(0x352)][_0x318801(0x281)]['fetchThroughInterceptors'](this[_0x318801(0x352)][_0x318801(0x281)][_0x318801(0x339)]()['COMPRESS_MUTATION_APPLY'])(_0x192ec6[_0x318801(0x146)],null)||_0x192ec6[_0x318801(0x146)];return{..._0x192ec6,'mutations':_0x47d742};});this[_0x3102b8(0x182)](),this[_0x3102b8(0x303)](this[_0x3102b8(0x1c2)]['onMissedChangesetFetched'](_0x2e5e5a)),this[_0x3102b8(0x116)]();}[_0x3c2833(0x119)](){var _0x3bebe4=_0x3c2833;this[_0x3bebe4(0x182)](),this[_0x3bebe4(0x303)](this[_0x3bebe4(0x1c2)]['toggleOffline']()),this[_0x3bebe4(0x116)]();}['_toggleOnline'](_0x27d323=!0x1){var _0x432f7f=_0x3c2833;this[_0x432f7f(0x182)](),this[_0x432f7f(0x303)](this[_0x432f7f(0x1c2)][_0x432f7f(0x350)]()),this['_unlockTransition']();const _0x279296=this[_0x432f7f(0x1c2)];_0x27d323&&_0x279296 instanceof exports[_0x432f7f(0x120)]&&(this[_0x432f7f(0x182)](),this[_0x432f7f(0x303)](_0x279296[_0x432f7f(0x347)]()),this[_0x432f7f(0x116)]());}async[_0x3c2833(0x3f1)](){return new Promise(_0x2d8cff=>{var _0x52a068=_0x4fcf;this[_0x52a068(0xc9)][_0x52a068(0x2e6)]['pipe'](H['take'](0x1))[_0x52a068(0x187)](async _0x1d96f2=>{var _0x25c2f3=_0x52a068;_0x2d8cff(await this[_0x25c2f3(0x3bd)](_0x1d96f2===se[_0x25c2f3(0x30c)]));});});}[_0x3c2833(0x238)](){var _0x29a230=_0x3c2833;const _0x457ef1=this[_0x29a230(0x32c)];return{'onStateChange':(_0x515da6,_0xac4cbf)=>{var _0x45004e=_0x29a230;if(_0x515da6!==this['_state'])throw new Error(_0x45004e(0x2dd)+_0x515da6['status']+_0x45004e(0x318)+_0xac4cbf[_0x45004e(0xf5)]+_0x45004e(0x173)+this[_0x45004e(0x1c2)][_0x45004e(0xf5)]);this[_0x45004e(0x303)](_0xac4cbf);},'onSendChangeset':_0x4da447=>{var _0x1e9434=_0x29a230;_0x4da447[_0x1e9434(0xe0)]||(_0x4da447[_0x1e9434(0xe0)]=this[_0x1e9434(0x1d8)],_0x4da447[_0x1e9434(0x22b)]=++this[_0x1e9434(0x354)]);const _0x4caa06={'eventID':m['CollaborationEvent'][_0x1e9434(0x3c4)],'data':{'unitID':_0x4da447['unitID'],'unitType':this[_0x1e9434(0x34f)],'changeset':_0x4da447,'memberID':this[_0x1e9434(0xc9)][_0x1e9434(0x2a8)]()}};this[_0x1e9434(0xc9)]['send'](_0x4caa06,this[_0x1e9434(0x32c)]);},'onMissingChangesets':({from:_0x25d3ff,to:_0x1ddb56})=>{var _0xf70930=_0x29a230;this[_0xf70930(0x44d)][_0xf70930(0x348)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x25d3ff+_0xf70930(0x393)+_0x1ddb56);const _0x4de43f={'eventID':m['CollaborationEvent'][_0xf70930(0x11a)],'data':{'unitID':_0x457ef1,'unitType':this[_0xf70930(0x34f)],'from':_0x25d3ff,'to':_0x1ddb56}};this['session'][_0xf70930(0x283)](_0x4de43f,this[_0xf70930(0x32c)]);}};}async[_0x3c2833(0x3bd)](_0x7e7fe3){var _0x48a887=_0x3c2833,_0x11834d,_0x12f94a,_0x1ca573;const _0x5d7d88=await((_0x11834d=this[_0x48a887(0x336)])==null?void 0x0:_0x11834d['loadOfflineData'](this[_0x48a887(0x32c)])),_0x50a66f=(_0x12f94a=_0x5d7d88==null?void 0x0:_0x5d7d88['mutations'])!=null?_0x12f94a:[],_0x59562c=(_0x1ca573=_0x5d7d88==null?void 0x0:_0x5d7d88[_0x48a887(0x385)])!=null?_0x1ca573:null,_0x417c6b=!!(_0x59562c!=null&&_0x59562c[_0x48a887(0xe0)])&&!!(_0x59562c!=null&&_0x59562c[_0x48a887(0x22b)]);this['_changesetSessionId']=_0x417c6b?_0x59562c[_0x48a887(0xe0)]:gi(),this['_changesetReqId']=_0x417c6b?_0x59562c[_0x48a887(0x22b)]:0x0;const _0x132950=this[_0x48a887(0x32c)];try{this['_replayCachedMutations'](_0x59562c,_0x50a66f);}catch(_0x59b10b){this[_0x48a887(0x44d)][_0x48a887(0x15b)](_0x59b10b);}const _0x40dde0=this[_0x48a887(0x238)]();if(_0x7e7fe3){const _0x9ba7ab=Ut(this['_injector'],_0x132950,this['_type'],_0x59562c,_0x50a66f,_0x40dde0);return _0x9ba7ab instanceof exports[_0x48a887(0x29b)]?_0x9ba7ab[_0x48a887(0x286)]():(_0x9ba7ab instanceof exports['AwaitingWithPendingState']||_0x9ba7ab instanceof exports['AwaitingState'])&&_0x9ba7ab[_0x48a887(0x3f2)](),_0x9ba7ab;}return this[_0x48a887(0x37f)][_0x48a887(0x307)](exports[_0x48a887(0x2f7)],_0x132950,this[_0x48a887(0x34f)],_0x59562c,_0x50a66f,_0x40dde0);}[_0x3c2833(0x3d1)](_0x1dbf5d,_0x35bf23){var _0x45a790=_0x3c2833,_0x150ca5,_0x5a2ee5;const _0x431a3d=this['_compressMutationService'][_0x45a790(0x281)]['fetchThroughInterceptors'](this[_0x45a790(0x352)][_0x45a790(0x281)]['getInterceptPoints']()[_0x45a790(0x13d)]);(_0x150ca5=_0x431a3d((_0x1dbf5d==null?void 0x0:_0x1dbf5d[_0x45a790(0x146)])||[],null))==null||_0x150ca5[_0x45a790(0x403)](_0xfe96fe=>this['_commandService'][_0x45a790(0x315)](_0xfe96fe['id'],_0xfe96fe[_0x45a790(0x27b)])),(_0x5a2ee5=_0x431a3d(_0x35bf23||[],null))==null||_0x5a2ee5[_0x45a790(0x403)](_0x2a22b8=>this[_0x45a790(0x42d)][_0x45a790(0x315)](_0x2a22b8['id'],_0x2a22b8[_0x45a790(0x27b)]));}},exports[_0x3c2833(0x1a0)]=Ve([k(0x3,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),k(0x4,a[_0x3c2833(0x399)](m[_0x3c2833(0x17b)])),k(0x5,a[_0x3c2833(0x399)](a[_0x3c2833(0x2ad)])),k(0x6,a[_0x3c2833(0x399)](m[_0x3c2833(0x223)])),k(0x7,a['Inject'](te)),k(0x8,a[_0x3c2833(0x433)]),k(0x9,a['ICommandService']),k(0xa,a[_0x3c2833(0x2ae)]),k(0xb,a[_0x3c2833(0x448)](ve)),k(0xc,a['Optional'](J))],exports[_0x3c2833(0x1a0)]),exports[_0x3c2833(0x3eb)]=class extends exports['CollaborationEntity']{constructor(_0x378bf7,_0x4e7f85,_0x3fe46a,_0x1c866d,_0xff129d,_0x36621d,_0x400b92,_0x1f5233,_0x4c500a,_0x213d5f,_0x15730e,_0x52d632,_0x3d4ff3){var _0x5780ff=_0x3c2833;super(_0x378bf7,_0x3fe46a,_0x4e7f85,_0x1c866d,_0xff129d,_0x36621d,_0x400b92,_0x1f5233,_0x4c500a,_0x213d5f,_0x15730e,_0x52d632,_0x3d4ff3),D(this,_0x5780ff(0x252),null),(this['unitID']=_0x378bf7,this[_0x5780ff(0x201)]=_0x4e7f85);}[_0x3c2833(0x2fd)](_0x32e519){var _0x1a696c=_0x3c2833;this[_0x1a696c(0x252)]=_0x32e519;}[_0x3c2833(0x1f5)](){var _0x4ed0fd=_0x3c2833;this[_0x4ed0fd(0x252)]=null,super[_0x4ed0fd(0x1f5)]();}[_0x3c2833(0x238)](){var _0x63ba26=_0x3c2833;const _0x32dfc6=super['_createHandler']();return _0x32dfc6[_0x63ba26(0x3f0)]=_0x18601e=>{var _0x2aa7eb=_0x63ba26,_0x246b79,_0x395c4e;return(_0x395c4e=(_0x246b79=this[_0x2aa7eb(0x252)])==null?void 0x0:_0x246b79[_0x2aa7eb(0x3f0)])==null?void 0x0:_0x395c4e[_0x2aa7eb(0xe8)](_0x246b79,_0x18601e);},_0x32dfc6[_0x63ba26(0x2b8)]=_0x1e9e8e=>{var _0x4e90b0=_0x63ba26,_0x1788e4,_0x292ff3;return(_0x292ff3=(_0x1788e4=this['_handlerCallback'])==null?void 0x0:_0x1788e4[_0x4e90b0(0x2b8)])==null?void 0x0:_0x292ff3[_0x4e90b0(0xe8)](_0x1788e4,_0x1e9e8e);},_0x32dfc6[_0x63ba26(0x305)]=_0x509ce4=>{var _0x178646=_0x63ba26,_0x4baa78,_0x4bfd1c;return(_0x4bfd1c=(_0x4baa78=this[_0x178646(0x252)])==null?void 0x0:_0x4baa78[_0x178646(0x305)])==null?void 0x0:_0x4bfd1c['call'](_0x4baa78,_0x509ce4);},_0x32dfc6[_0x63ba26(0x34e)]=_0x3d8c4f=>{var _0x32a3f2=_0x63ba26,_0x2aae3c,_0x2fda56;return(_0x2fda56=(_0x2aae3c=this[_0x32a3f2(0x252)])==null?void 0x0:_0x2aae3c['onSyncEditingCollabCursor'])==null?void 0x0:_0x2fda56[_0x32a3f2(0xe8)](_0x2aae3c,_0x3d8c4f);},_0x32dfc6['onTransformRemoteChangesetByIMECache']=_0x18630e=>{var _0x475f35=_0x63ba26,_0x1a6537,_0x214943,_0x53a7bc;if(!((_0x1a6537=this[_0x475f35(0x252)])!=null&&_0x1a6537['onTransformRemoteChangesetByIMECache']))throw new Error(_0x475f35(0x1b4));return(_0x53a7bc=(_0x214943=this['_handlerCallback'])==null?void 0x0:_0x214943[_0x475f35(0x1ac)])==null?void 0x0:_0x53a7bc[_0x475f35(0xe8)](_0x214943,_0x18630e);},_0x32dfc6[_0x63ba26(0x401)]=_0x36a24c=>{var _0x37b2ef=_0x63ba26,_0x3460f9,_0x4d5224,_0x2d2a81;if(!((_0x3460f9=this[_0x37b2ef(0x252)])!=null&&_0x3460f9['onTransformRemoteChangesetByStateCache']))throw new Error(_0x37b2ef(0x3e1));return(_0x2d2a81=(_0x4d5224=this[_0x37b2ef(0x252)])==null?void 0x0:_0x4d5224['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2d2a81['call'](_0x4d5224,_0x36a24c);},_0x32dfc6;}async[_0x3c2833(0x1fb)](){var _0x1546dc=_0x3c2833;const _0x26aef8=await super[_0x1546dc(0x1fb)]();return this[_0x1546dc(0x3b4)](this['_commandService'][_0x1546dc(0x296)]((_0x4ccca8,_0x2dce40)=>{var _0x6e1bf1=_0x1546dc;if(_0x4ccca8[_0x6e1bf1(0x201)]!==a[_0x6e1bf1(0x196)]['MUTATION']||_0x2dce40!=null&&_0x2dce40['fromCollab']||_0x2dce40!=null&&_0x2dce40[_0x6e1bf1(0x3f9)]||_0x4ccca8['id']===dt[_0x6e1bf1(0x441)]['id'])return;const _0x4f316d=_0x4ccca8[_0x6e1bf1(0x27b)];if((_0x4f316d==null?void 0x0:_0x4f316d[_0x6e1bf1(0x239)])!==this[_0x6e1bf1(0x32c)])return;const _0x41572c=_0x4ccca8,_0x518619=this['_compressMutationService']['interceptor'][_0x6e1bf1(0x396)](this[_0x6e1bf1(0x352)][_0x6e1bf1(0x281)][_0x6e1bf1(0x339)]()['COMPRESS_MUTATION_SEND'])([_0x41572c],null)||[_0x41572c];this[_0x6e1bf1(0x1cd)](_0x518619[0x0]);})),_0x26aef8;}},exports['DocCollaborationEntity']=Ve([k(0x3,a[_0x3c2833(0x399)](a['Injector'])),k(0x4,a['Inject'](m[_0x3c2833(0x17b)])),k(0x5,a[_0x3c2833(0x399)](a[_0x3c2833(0x2ad)])),k(0x6,a['Inject'](m[_0x3c2833(0x223)])),k(0x7,a[_0x3c2833(0x399)](te)),k(0x8,a[_0x3c2833(0x433)]),k(0x9,a[_0x3c2833(0x2a2)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x3c2833(0x448)](ve)),k(0xc,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x3eb)]),exports['SheetCollaborationEntity']=class extends exports[_0x3c2833(0x1a0)]{constructor(_0x432df9,_0x1b1627,_0x372aa0,_0x1d96a6,_0x4787df,_0x4177e5,_0x36f53f,_0x22faaf,_0x4f7d56,_0x45ce32,_0x57ddf6,_0xa7cd33,_0x2da2d2,_0x3f31f6){var _0x59474d=_0x3c2833;super(_0x432df9,_0x372aa0,_0x1b1627,_0x1d96a6,_0x4787df,_0x4177e5,_0x36f53f,_0x4f7d56,_0x45ce32,_0x57ddf6,_0xa7cd33,_0x2da2d2,_0x3f31f6),this[_0x59474d(0x32c)]=_0x432df9,this[_0x59474d(0x201)]=_0x1b1627,this['_sheetTransformSelectionsService']=_0x22faaf;}[_0x3c2833(0x238)](){var _0x7865a8=_0x3c2833;const _0x29f9fe=super[_0x7865a8(0x238)]();return _0x29f9fe[_0x7865a8(0x305)]=_0x26695=>this[_0x7865a8(0x3df)]['transformSelections'](_0x26695),_0x29f9fe;}async['_init'](){var _0x34428c=_0x3c2833;const _0x193b92=await super[_0x34428c(0x1fb)]();return this[_0x34428c(0x3b4)](this[_0x34428c(0x42d)][_0x34428c(0x296)]((_0x403747,_0x940e38)=>{var _0x1e63c6=_0x34428c;if(_0x403747[_0x1e63c6(0x201)]!==a['CommandType'][_0x1e63c6(0xf4)]||_0x940e38!=null&&_0x940e38[_0x1e63c6(0x328)]||_0x940e38!=null&&_0x940e38[_0x1e63c6(0x3f9)])return;const _0x3efab9=_0x403747[_0x1e63c6(0x27b)];if((_0x3efab9==null?void 0x0:_0x3efab9['unitId'])!==this['unitID'])return;const _0x89b4aa=_0x403747,_0x2b571b=this[_0x1e63c6(0x352)][_0x1e63c6(0x281)][_0x1e63c6(0x396)](this[_0x1e63c6(0x352)][_0x1e63c6(0x281)][_0x1e63c6(0x339)]()[_0x1e63c6(0x43c)])([_0x89b4aa],null)||[_0x89b4aa];this[_0x1e63c6(0x1cd)](_0x2b571b[0x0]);})),_0x193b92;}},exports['SheetCollaborationEntity']=Ve([k(0x3,a['Inject'](a[_0x3c2833(0x179)])),k(0x4,a[_0x3c2833(0x399)](m[_0x3c2833(0x17b)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x3c2833(0x399)](m[_0x3c2833(0x223)])),k(0x7,a['Inject'](exports[_0x3c2833(0x381)])),k(0x8,a[_0x3c2833(0x399)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x3c2833(0x2a2)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x3c2833(0x448)](ve)),k(0xd,a[_0x3c2833(0x448)](J))],exports[_0x3c2833(0x425)]);var Di=Object[_0x3c2833(0x1b7)],wi=Object[_0x3c2833(0x404)],Ai=(_0x474a7f,_0x1139b5,_0x34aec4,_0x9ae3d4)=>{for(var _0x53acff=_0x9ae3d4>0x1?void 0x0:_0x9ae3d4?wi(_0x1139b5,_0x34aec4):_0x1139b5,_0x51d9cd=_0x474a7f['length']-0x1,_0x53516e;_0x51d9cd>=0x0;_0x51d9cd--)(_0x53516e=_0x474a7f[_0x51d9cd])&&(_0x53acff=(_0x9ae3d4?_0x53516e(_0x1139b5,_0x34aec4,_0x53acff):_0x53516e(_0x53acff))||_0x53acff);return _0x9ae3d4&&_0x53acff&&Di(_0x1139b5,_0x34aec4,_0x53acff),_0x53acff;},we=(_0x1e5073,_0xf4d305)=>(_0x1654cf,_0x3e26c0)=>_0xf4d305(_0x1654cf,_0x3e26c0,_0x1e5073);exports[_0x3c2833(0x29f)]=class extends a[_0x3c2833(0x1d5)]{constructor(_0x57d430,_0xdcb1ce,_0x1c8ee4){var _0x47a937=_0x3c2833;super(),D(this,_0x47a937(0x1e8),new Map()),D(this,_0x47a937(0x330),new H[(_0x47a937(0x333))]()),D(this,_0x47a937(0x41e),this[_0x47a937(0x330)][_0x47a937(0x2b3)]()),(this[_0x47a937(0x37f)]=_0x57d430,this[_0x47a937(0x2c4)]=_0xdcb1ce,this[_0x47a937(0x24b)]=_0x1c8ee4,this[_0x47a937(0x1fb)]());}[_0x3c2833(0x1f5)](){var _0x324f8e=_0x3c2833;super[_0x324f8e(0x1f5)](),this[_0x324f8e(0x1e8)][_0x324f8e(0x403)](_0x3f1c3b=>_0x3f1c3b['dispose']()),this['_entities'][_0x324f8e(0x133)]();}['getCollabEntity'](_0x4391ba){var _0x3110d4=_0x3c2833,_0x11be41;return(_0x11be41=this[_0x3110d4(0x1e8)][_0x3110d4(0x207)](_0x4391ba))!=null?_0x11be41:null;}[_0x3c2833(0x2c7)](_0x55b72f){var _0x2854a4=_0x3c2833;const _0x1fba1d=this[_0x2854a4(0x3a0)](_0x55b72f);return _0x1fba1d?H['of'](_0x1fba1d):this[_0x2854a4(0x330)][_0x2854a4(0x240)](V[_0x2854a4(0x1c4)](_0x4d3205=>_0x4d3205[_0x2854a4(0x32c)]===_0x55b72f));}[_0x3c2833(0x183)](_0x4d5940){var _0x1523cb=_0x3c2833;return H[_0x1523cb(0x2f6)](this[_0x1523cb(0x2c7)](_0x4d5940)[_0x1523cb(0x240)](V[_0x1523cb(0x213)](()=>{})));}['_init'](){var _0x2fad91=_0x3c2833;this[_0x2fad91(0x24b)][_0x2fad91(0x144)](a['UniverInstanceType'][_0x2fad91(0x256)])[_0x2fad91(0x240)](H['takeUntil'](this[_0x2fad91(0x40e)]),V[_0x2fad91(0x22d)](0x10))[_0x2fad91(0x187)](async _0x889719=>{var _0x22b552=_0x2fad91;const _0x105f7a=_0x889719[_0x22b552(0x17d)](),_0x2ab6cc=await this['_startCollaboration'](_0x105f7a,Z['UNIVER_SHEET']);this['_entities']['set'](_0x105f7a,_0x2ab6cc);}),this[_0x2fad91(0x24b)][_0x2fad91(0x144)](a[_0x2fad91(0x1e5)]['UNIVER_DOC'])[_0x2fad91(0x240)](H[_0x2fad91(0x376)](this[_0x2fad91(0x40e)]),V[_0x2fad91(0x22d)](0x10))[_0x2fad91(0x240)](V['filter'](_0x3eeff0=>!_0x3eeff0[_0x2fad91(0x17d)]()['startsWith']('__')))[_0x2fad91(0x187)](async _0xc7d426=>{var _0x1b1fc7=_0x2fad91;const _0x43c8c4=_0xc7d426['getUnitId'](),_0x10f9a7=await this[_0x1b1fc7(0x423)](_0x43c8c4,Z['UNIVER_DOC']);this[_0x1b1fc7(0x1e8)][_0x1b1fc7(0x42f)](_0x43c8c4,_0x10f9a7);}),H[_0x2fad91(0x391)](this[_0x2fad91(0x24b)]['getTypeOfUnitDisposed$'](a[_0x2fad91(0x1e5)][_0x2fad91(0x256)]),this['_univerInstanceService'][_0x2fad91(0x387)](a[_0x2fad91(0x1e5)][_0x2fad91(0x25a)]))['pipe'](H[_0x2fad91(0x376)](this[_0x2fad91(0x40e)]))[_0x2fad91(0x187)](_0x4d86eb=>{var _0x305b0a=_0x2fad91;const _0x21cfb0=_0x4d86eb[_0x305b0a(0x17d)](),_0x108e95=this['_entities'][_0x305b0a(0x207)](_0x21cfb0);_0x108e95&&(_0x108e95[_0x305b0a(0x1f5)](),this['_entities']['delete'](_0x21cfb0));});}async['_startCollaboration'](_0x15a688,_0x4e632d){var _0x571940=_0x3c2833;const _0x50e9d7=await this[_0x571940(0x2c4)]['requireSession'](_0x15a688),_0x2a6031=this[_0x571940(0x37f)][_0x571940(0x307)](this[_0x571940(0x406)](_0x4e632d),_0x15a688,_0x4e632d,_0x50e9d7);return await _0x2a6031['init'](),this[_0x571940(0x330)][_0x571940(0x278)](_0x2a6031),_0x2a6031;}[_0x3c2833(0x406)](_0x433210){var _0x5812b8=_0x3c2833;switch(_0x433210){case Z[_0x5812b8(0x25a)]:return exports[_0x5812b8(0x3eb)];case Z[_0x5812b8(0x256)]:return exports[_0x5812b8(0x425)];default:throw new Error(_0x5812b8(0x1da)+_0x433210);}}},exports['CollaborationController']=Ai([we(0x0,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),we(0x1,a['Inject'](exports[_0x3c2833(0x39a)])),we(0x2,a[_0x3c2833(0x374)])],exports['CollaborationController']);var Li=Object[_0x3c2833(0x1b7)],Mi=Object['getOwnPropertyDescriptor'],xi=(_0x53d179,_0x569042,_0x3e534a,_0x5e9cc4)=>{var _0x3d58b5=_0x3c2833;for(var _0x80f4d2=_0x5e9cc4>0x1?void 0x0:_0x5e9cc4?Mi(_0x569042,_0x3e534a):_0x569042,_0x359657=_0x53d179[_0x3d58b5(0x294)]-0x1,_0x5e26a4;_0x359657>=0x0;_0x359657--)(_0x5e26a4=_0x53d179[_0x359657])&&(_0x80f4d2=(_0x5e9cc4?_0x5e26a4(_0x569042,_0x3e534a,_0x80f4d2):_0x5e26a4(_0x80f4d2))||_0x80f4d2);return _0x5e9cc4&&_0x80f4d2&&Li(_0x569042,_0x3e534a,_0x80f4d2),_0x80f4d2;},Xe=(_0x3bbfb5,_0x2eb264)=>(_0x129d2,_0x2e0e9b)=>_0x2eb264(_0x129d2,_0x2e0e9b,_0x3bbfb5);const ji=_0x3c2833(0x153),$i=_0x3c2833(0x13f);let $e=class extends a[_0x3c2833(0x2ff)]{constructor(_0xbc0773,_0x466a7e){var _0x597c3b=_0x3c2833;super(),this[_0x597c3b(0x24b)]=_0xbc0773,this['_configService']=_0x466a7e,this[_0x597c3b(0x1fb)]();}[_0x3c2833(0x1fb)](){var _0x369bc4=_0x3c2833;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x369bc4(0x187)](()=>{var _0x155a48=_0x369bc4,_0x5ce900;const _0x19f97f=this[_0x155a48(0x24b)][_0x155a48(0x31c)]();let _0x142bbe=(_0x5ce900=this[_0x155a48(0x302)]['getConfig'](ji))!=null?_0x5ce900:$i;_0x19f97f instanceof a['Workbook']&&(_0x142bbe=_0x19f97f[_0x155a48(0x127)]),document[_0x155a48(0x11f)]=_0x142bbe;}));}};$e=xi([Xe(0x0,a['IUniverInstanceService']),Xe(0x1,a[_0x3c2833(0x279)])],$e);var Hi=Object[_0x3c2833(0x1b7)],ki=Object[_0x3c2833(0x404)],Bi=(_0x50b0c8,_0xab464c,_0x40e020,_0x55e718)=>{var _0x2e6503=_0x3c2833;for(var _0x339b98=_0x55e718>0x1?void 0x0:_0x55e718?ki(_0xab464c,_0x40e020):_0xab464c,_0x540458=_0x50b0c8[_0x2e6503(0x294)]-0x1,_0x339d77;_0x540458>=0x0;_0x540458--)(_0x339d77=_0x50b0c8[_0x540458])&&(_0x339b98=(_0x55e718?_0x339d77(_0xab464c,_0x40e020,_0x339b98):_0x339d77(_0x339b98))||_0x339b98);return _0x55e718&&_0x339b98&&Hi(_0xab464c,_0x40e020,_0x339b98),_0x339b98;},Ae=(_0x294546,_0x355593)=>(_0x189014,_0x257570)=>_0x355593(_0x189014,_0x257570,_0x294546);let ye=class{constructor(_0x1aa433,_0x3f98fd,_0x576f6a){var _0x351e98=_0x3c2833;this[_0x351e98(0x302)]=_0x1aa433,this[_0x351e98(0x28b)]=_0x3f98fd,this[_0x351e98(0xc8)]=_0x576f6a,this[_0x351e98(0x360)]();}['init'](){var _0x3af361=_0x3c2833;this['_httpService'][_0x3af361(0x3b8)]({'priority':0x1,'interceptor':(_0x4ac87c,_0x40b2be)=>_0x40b2be(_0x4ac87c)[_0x3af361(0x240)](H['concatMap'](async _0x5216ee=>{var _0x41cd66=_0x3af361;const _0x246373=_0x5216ee;if(_0x246373[_0x41cd66(0xf5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x41cd66(0x186)](this[_0x41cd66(0xc8)]['t'](_0x41cd66(0x334)))){const _0x28ef46=window[_0x41cd66(0x257)](window[_0x41cd66(0x20e)][_0x41cd66(0x1c8)]);window[_0x41cd66(0x20e)][_0x41cd66(0x1c8)]=this[_0x41cd66(0x284)]()+_0x41cd66(0x378)+_0x28ef46;}}return _0x246373;}))});}[_0x3c2833(0x284)](){var _0x1c75ea=_0x3c2833,_0x11a4c8,_0xf0c9fd;const _0x359e57=this[_0x1c75ea(0x302)][_0x1c75ea(0x1cf)](Ct),_0x35b308=this[_0x1c75ea(0x302)][_0x1c75ea(0x1cf)](q);return(_0xf0c9fd=(_0x11a4c8=_0x35b308==null?void 0x0:_0x35b308[_0x1c75ea(0x21e)])!=null?_0x11a4c8:_0x359e57)!=null?_0xf0c9fd:zt;}};ye=Bi([Ae(0x0,a[_0x3c2833(0x279)]),Ae(0x1,a[_0x3c2833(0x399)](z[_0x3c2833(0x2d0)])),Ae(0x2,a['Inject'](a['LocaleService']))],ye);function _0x2ff8(){var _0x4cc16f=['sessionTicket','getRandomValues','unitID','encryptBlock','INetworkConditionService','COMPLETION_FINISHED','_entityInit$','_toggleOnline','apply','Subject','auth.needGotoLoginAlert','BlockCipherMode','_localCacheService','selections','CollaborationSession','getInterceptPoints','univer-pro.collaboration-client.network-condition.service','_remoteChangesetQueue','LIVESHARE_OPERATION','ILocalCacheService','NEW_CHANGESETS','COLLAB_WEB_SOCKET_URL_KEY','online$','_resendTimer','status$','unit-cache-','_getSessionTicket','session.room-full','getImageSourceCache','fetchMiss','debug','[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.','onLocalMutation','compose','1004556cWVWTB','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onSyncEditingCollabCursor','_type','toggleOnline','enableAuthServer','_compressMutationService','_hash','_changesetReqId','open$','SNAPSHOT_URL_KEY','floor','entries','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','parseProtocolChangeset','_onRemoteRejected','error$','MemberService','UPDATE_CURSOR','reduce','init','getGlobalObject','NO_OTHER_CLIENTS_EDITING','Worksheet','\x20in\x20_schedule.','fromCharCode','_socketService','_collaborationTimeoutTimer','userID','_keyPriorReset','APPLY_REVISION_CONFILICT','_state$','JSONX','5824TZRHCd','BASE64','SnapshotService','IAuthzIoService','close','subType','_DEC_XFORM_MODE','IUniverInstanceService','UserManagerService','takeUntil','_xformMode','?url=','IUndoRedoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','awaiting','ISocketService','Hasher','&to=','_injector','_onConnectionOpen','SheetTransformSelectionsService','_networkConditionService','loadOfflineData','transformUndoRedo','awaitingChangeset','byteLength','getTypeOfUnitDisposed$','src','__esModule','_socketMessageSubscription','sin','b64DecodeUnicode','getUnitStatus$','USERS_ENTER','saveSheetBlock','AwaitingState','merge','_config','\x20to\x20','[CollaborationSessionService]','ERROR_IMAGE_TYPE','fetchThroughInterceptors','generateRandomId','_nDataBytes','Inject','CollaborationSessionService','_retryConnectingTimer','ISnapshotServerService','SnapshotServerOverHTTPService','[CollaborationUndoRedoService]','_data','getCollabEntity','HttpExport','COLLAB_WEB_SOCKET_URL','getImage','_incrementRevisionNumber','_socket','LIVESHARE_NEW_HOST','LICENSE_DISTRO_REJECTED','AUTHZ_URL_KEY','EmptyMutation','_showConflictNotification','HEARTBEAT_TIMEOUT_KEY','getCurrentSelections','_clearLocalCache','YUUMI_URL_COL_OUT_OF_RANGE','every','FileId','_doProcessBlock','getUnitType','unsubscribe','disposeWithMe','_scheduleCompleteTimestamp','_applyRemoteChangeset','key','registerHTTPInterceptor','bind','Module','toString','LOCAL_CACHE_INTERVAL','_createInitialStateImpl','WorkbookEditablePermission','/collaborator','_rescheduleHeartbeat','routeKey','_change$','join','SUBMIT_CHANGESET','getTime','buffer','url','_resendTimeout','_socketReady','session.room-not-exists','loadUnit','SetSelectionsOperation','/universer-api/snapshot','textEncoder','crypto','localCacheService','_replayCachedMutations','onRemoteRej','exports','@univerjs/network','_exhaustRemoteChangesetQueue','application/json','pad','padding','Encryptor','_sendingTimer','copyFileMeta','snapshot','ITransformService','_onConnectionFailed','_sheetTransformSelectionsService','body','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getResourcesRequest','ERROR_EXCEED_SIZE','_tryReconnect','ERROR_IMAGE','ivSize','getLatestCsReqIdBySid','code','$super','PERSON','DocCollaborationEntity','_getCurrentRevision','parse','snapshotServerUrl','[UniverCollaborationClientPlugin]','onTransformIME','_createInitialState','resend','HELLO','AuthzIoHttpService','onCommentUpdate','updateOfflineData','637BWTYht','_replaceFileID','onlyLocal','put','collaboration-client.config','createDecryptor','_createSocket','getUnit','_snapshotServerService','UnitEmbedded','onTransformRemoteChangesetByStateCache','then','forEach','getOwnPropertyDescriptor','StreamCipher','_getCtorByUniverType','synced','removeMember','UnitObject','requestParams','LIVESHARE_TERMINATE','@univerjs/sheets','isTransformChangesetsSuccess','dispose$','_event$','listRoles','parseChangesetToProtocol','/resources','_getUndoStack','resourceIDs','clearUndoRedo','INGEST','_getAPIPrefix','_getUploadFileURL','_instanceService','_telemetryInfo','roomInfos','liveShareOperation','IMentionIOService','entityInit$','_getRedoStack','_transitionLocked','CollaborationImageIoService','_collaborationUIEventService','_startCollaboration','deserializeToCombResponse','SheetCollaborationEntity','pending','setConfig','_queuedRemoteChangesets','replace','@univerjs-pro/license','_emitMembers','collaboratorID','_commandService','headers','set','awaiting_with_pending','UNISCRIPT_RUN','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ILogService','_eventService','InsertSheetMutation','_collaborationSessionService','socketService','_disableEditing','target','JOIN_ROOM_FULL','CollaborationEvent','COMPRESS_MUTATION_SEND','_sessionStatus$','/universer-api/oidc/authpage','_authzIoService','/universer-api/user/session-ticket','RichTextEditingMutation','rev','from','MD5','finalize','message$','string','Optional','touchDependencies','encrypt','_transformUndoredo','originalMeta','_logService','APPLY_NON_SEQUENTIAL_REVISION','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','stringify','CONFLICT','_collaborationPaused','isTransformMutationsWithChangesetSuccess','localeService','session','HttpImport','5kqasdD','hasOwnProperty','[PendingState]:\x20received\x20acknowledgement.','randomUUID','_clearCollaborationTimeoutTimer','isInternalEditorID','data','_onUserJoin','equals','take','_localeService','emitEvent','search','random','JOIN','_onCombEvent','_HTTPService','SHOULD_CLOSE_CONN','UNAUTHENTICATED','AwaitingWithPendingState','&assign=','sid','cmd','wsSessionTicketUrl','YUUMI_UNABLE_LOAD_URL','m2Prime','collabSubmitChangesetUrl','onload','_unitID','call','_onRemoteRetry','_transformIMECache','reconnect','appendMutation','readAsDataURL','_acknowledgedAwaitingChangeset','getAllWorkbookPermissionPoint','_getAPIPrefixPath','onMissedChangesetFetched','_listenToNetworkCondition','/unit/','MUTATION','status','_submitChangeset','_clearHeartbeatTimer','USERS_LEAVE','Base','_isPermissionRej','Pkcs7','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MSG_FOR_ERROR','changesets','abs','charAt','c1Prime','rxjs','APPLY_PERMISSION_DENIED','HEARTBEAT_INTERVAL_KEY','_sendHeartbeatTimer','enableOfflineEditing','LOGIN_URL_KEY','sheets','cfg','save\x20fail\x20reason\x20is\x20','_candidateSocket','initWorkbookPermissionChange','_initCloseConn','joinRsp','Utf8','ITelemetryService','origin','@univerjs/core','enc','_initMergeInterceptor','pauseCollaboration','_unlockTransition','state$','change$','_toggleOffline','FETCH_MISSING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','default','complete','RangeProtectionRuleModel','title','SyncedState','add','LIVESHARE_REQUEST_HOST','_onFetchMissResult','avatar','@univerjs/docs','_syncEditingCollabCursor','name','hasher','post','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','c2Prime','disableLocalCache','getDeserializedSheetBlock','_sendHeartbeat','_memberService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','decrypt','getSheetId','clear','isTransformMutationsWithChangesetFailure','concat','_oKey','splice','objectID','reset','_roomMembers','not_collab','transformSelections','COMPRESS_MUTATION_APPLY','_onRemoteChangeset','Univer','_members','setCurrentUser','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SUCCUSS','getTypeOfUnitAdded$','enableSingleActiveInstanceLock','mutations','_awaitingChangeset','getValue','randomBytes','_waitForHeartbeatResponse','JOIN_ROOM_FAILED','getMember','mergeOverrideWithDependencies','COMMENT_UPDATE','_scheduleCollaborationTimeoutTimer','OFFLINE','Undefined','subUnitId','DEFAULT_FILE_NAME','collabWebSocketUrl','BlockCipher','_clearRedo','session.join-failed','isArray','&source=','Tools','error','_sessions','_getSignURL','encode','indexOf','registerDependencies','clamp','INTERNAL_ERROR','words','createCollaborator','_getDownloadEndpointURL','_doReset','univer-pro.collaboration-client-socket-service','_commentUpdate$','push','_undoStacks','UNIVER_COLLABORATION_CLIENT_PLUGIN','execute','SNAPSHOT_INVALID_SNAPSHOT','action','_undoRedoService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Quantity','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','\x0aCurrent:\x20','_clearScheduledTask','_process','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_redoStacks','capture','Injector','People','CompressMutationService','Base64','getUnitId','_transformRemoteChangesetByStateCache','[DataLoaderService]','_handler','_createSocketURL','_lockTransition','readyForCollab','_minBufferSize','values','confirm','subscribe','putCollaborators','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','deleteCollaborator','revision','UUID','_pendingMutations','/-/object/-/batch_allowed','_clearUndo','_removeRoom','/-/object/list','LocalUndoRedoService','__creator','NOT_COLLAB','_resendWithTimeout','CommandType','actions','_doCryptBlock','[OfflineState]:\x20received\x20acknowledgement.','submit\x20changeset\x20error!','_updateStatus','sessionStatus','UniverCollaborationClientPlugin','offline','IContextService','CollaborationEntity','UniverCollaborationPlugin','onRemoteRetry','_roomCreated$','_map','/rev/','liveShareNewHost','DEFAULT_COLLAB_WEB_SOCKET_URL','serializeCombRequest','/object/','runId','csShouldRetryEvent','onTransformRemoteChangesetByIMECache','RECV','function','ruleRefresh','/universer-api/stream/file/upload','SNAPSHOT_HAS_BEEN_REMOVED','CLOSE_ROOM','deepClone','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','fetchMissingChangesets','UPDATE_PERMISSION_OBJ','defineProperty','PSEUDO_FETCH_MISSING_RESULT','updatePermissionObjEvent','_nRounds','getRoom','eventID','socket\x20open.','getTargetByPermissionId','objectActions','POST','ciphertext','_state','LEAVE','filter','onMissingChangesets','HMAC','_transformStateCache','href','_status$','NOT_FOUND','[CollaborationSession]','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onLocalMutation','size','getConfig','commentUpdate$','_singleActiveUnitService','result','collaboration-client.local-cache-service','SHA1','RxDisposable','symbol','ISingleActiveUnitService','_changesetSessionId','WorksheetProtectionRuleModel','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_snapshotService','_onJoinRoomEvent','CollaborationUIEventService','_checkMissing','_executeRemoteChangeset','_key','SEND_CHANGESET_TIMEOUT','_iKey','_append','allowed','UniverInstanceType','joinEvent','method','_entities','_loadSheet','27250940SxyeuV','LICENSE_EXPORT_SIZE_EXCEEDED','_retryCount','_getSendChangesetTimeout','_initDependencies','sigBytes','APPLY_REJECT','find','_clearTimeoutTimer','requireSession','YUUMI_SUBSCRIPTION_NOT_FOUND','dispose','LICENSE_MAX_UNITS_EXCEEDED','updateMember','_iv','UNDEFINED','LOCAL_CACHE_INTERVAL_KEY','_init','_unitInfo$','updateCursorEvent','roles','MentionType','newCsEvent','type','fetch_missing','prototype','OTHER_CLIENT_EDITING','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_members$','get','GLOBAL_ROOMS_CNT_EXCEEDS','_revisionService','PERMISSION_DENIED','CHANGESET_ACK','Plugin','baseProtectionActions','location','5564872gsfMAo','close$','ENSURE_SNAPSHOT_EXECUTION','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','map','MentionIoHttpService','OpenSSL','patch','DependentOn','OTHER_CLIENTS_EDITING','reject','[OfflineState]:\x20received\x20changeset.','_startTelemetryCollaborationNewChangeset','SOCKET_FAILED','formatter','loginUrlKey','/new_changes','_onConflict','JOIN_ROOM_PERMISSION_DENIED','_onUserLeave','RevisionService','ImageSourceType','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','editing\x20status\x20changed\x20to','_onRecvEvent','json','leaveEvent','csRejEvent','reqId','transformChangesets','delay','updatePermissionPoint','byteOffset','authzUrl','DataLoaderService','getUnitOnRev','Error\x20on\x20receiving\x20event','createSocket','Decryptor','30gyaFiS','append','_createHandler','unitId','_telemetryService','_initRequestHeader','_joinRoom','loadSheet','JOINING','UNKNOWN_CMD','pipe','_sender','4557172JiGlDf','members','CollaborationSocketService','_createHelper','defaultWorkbookPermissionPoints','_permissionService','CollaborativeUndoRedoService','_initUnitPermissionChange','slice','_univerInstanceService','delete','range','telemetry\x20info\x20is\x20not\x20initialized','Hex','pluginName','charCodeAt','_handlerCallback','Cipher','NoPadding','unknown','UNIVER_SHEET','encodeURIComponent','/fetchmissing?from=','list','UNIVER_DOC','WorksheetProtectionPointModel','now','_ENC_XFORM_MODE','onRemoteAck','EvpKDF','getAllWorksheetPermissionPointByPointPanel','baseRev','getCurrentUser','extend','_prevBlock','event$','createIdentifier','onSendChangeset','_timeoutTimer','UNIVER_PROJECT','listCollaborators','_onOffline','transformMutationsWithChangeset','_cipher','memberID','Workbook','[OfflineState]:\x20received\x20rejection.','isPermissionRej','unitId\x20is\x20not\x20found','blockSize','mixIn','4493592FOnFvw','_substituteUndoStack','decryptBlock','next','IConfigService','create','params','_hasher','_http','Could\x20not\x20dynamically\x20require\x20\x22','BufferedBlockAlgorithm','startTime','interceptor','mode','send','_getLoginPath','JOIN_ROOM_NOT_EXISTS','_schedule','CipherParams','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_stopTelemetryCollaborationNewChangeset','WordArray','_httpService','_fetchMissChangesets','addImageSourceCache','substr','AWAITING','subject','keySize','/universer-api/comb','setShowComponents','length','shouldCloseConn','onCommandExecuted','YUUMI_RATE_OVER_LIMIT','saveSnapshot','LIVESHARE_FETCH_OPERATIONS','closeSession','PendingState','ReplaySubject','toStringTag','hostname','CollaborationController','_onRemoteACK','LICENSE_IMPORT_SIZE_EXCEEDED','ICommandService','ConflictState','UNIVER_UNKNOWN','getSheetBlock','getCurrentRevOfUnit','_keySchedule','getMemberID','FetchingMissState','AES','algo','_createHmacHelper','LocaleService','IPermissionService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','APPLY_DUPLICATED','CHANGESET_SHOULD_RETRY','asObservable','session.room-cnt-exceeds','_transformSelections','CommentService','_transformRemoteChangesetByIMECache','onTransformState','onRemoteChangeset','_doFinalize','getSnapshotAPIPath','_reverseMap','mapDocumentTypeToUniverType','_transformService','saveImage','collaborators','TOO_MANY_REQUESTS','_mode','min','_collabSessionService','socket$','lib','getCollabEntity$','image/bmp','PERMISSION_REJ','salt','compute','catch','includes','infoRsp','_updateLocalCache','HTTPService','UNRECOGNIZED','_transformStack','getCurrentUnitForType','rxjs/operators','/universer-api/authz','ImageUploadStatusType','__Key__','override','[FetchMissState]','_tryEnsureSocket','1240603OGoVqO','SUBMIT_CHANGESET_TIMEOUT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toDisposable','unpad','_throwTelemetryCollaborationNewChangeset','UniverSheetsPlugin','SelectRange','signUrlServerUrl','getAllMembers','HmacSHA1','sessionStatus$','FAIL','FETCH_MISS','/block/','getWorkbookSelections','HmacMD5','_invKeySchedule','_decreaseWaiting','_loadDoc','_waitCount','max','/universer-api/uniscript','UnitStatus','state','kdf','socket\x20close','firstValueFrom','OfflineState','UnitSnapshot','IImageIoService','editingUnit','ceil','objectType','addHandlerCallback','findIndex','Disposable','msCrypto','image/jpg','_configService','_updateState','has','onTransformSelections','getPermissionPoint','createInstance','clone','?size=','_userManagerService','format','ONLINE','failed\x20to\x20apply\x20missed\x20changesets!','conflict','unitInfo$','searchParams','toggleOffline','/universer-api/file/{fileID}/sign-url','[SyncedState]:\x20received\x20acknowledgement.','connection\x20error','executeCommand','update','rng','\x0aAfter:\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_registerDependencies','_substituteRedoStack','getFocusedUnit','OPTIONAL','BehaviorSubject','waitForRoom$','updateCollaborator','AWAITING_WITH_PENDING','[PendingState]:\x20received\x20rejection.','getAllRangePermissionPoint','HEARTBEAT','_socket$','_shouldReportTelemetry','Rectangle','fromCollab','createEncryptor'];_0x2ff8=function(){return _0x4cc16f;};return _0x2ff8();}var Fi=Object[_0x3c2833(0x1b7)],Wi=Object[_0x3c2833(0x404)],Vi=(_0x53d2ca,_0x5801a5,_0x5a1b00,_0x88e1f0)=>{for(var _0x1b30f7=_0x88e1f0>0x1?void 0x0:_0x88e1f0?Wi(_0x5801a5,_0x5a1b00):_0x5801a5,_0x46dfb5=_0x53d2ca['length']-0x1,_0x1ef7c2;_0x46dfb5>=0x0;_0x46dfb5--)(_0x1ef7c2=_0x53d2ca[_0x46dfb5])&&(_0x1b30f7=(_0x88e1f0?_0x1ef7c2(_0x5801a5,_0x5a1b00,_0x1b30f7):_0x1ef7c2(_0x1b30f7))||_0x1b30f7);return _0x88e1f0&&_0x1b30f7&&Fi(_0x5801a5,_0x5a1b00,_0x1b30f7),_0x1b30f7;},Ze=(_0x5d2ade,_0x176c6d)=>(_0x5d5643,_0x22d883)=>_0x176c6d(_0x5d5643,_0x22d883,_0x5d2ade);const Ge=_0x3c2833(0x3a8),Gi=_0x3c2833(0x2d5);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x1a6587,_0x1c9f9c){super(),this['_HTTPService']=_0x1a6587,this['_configService']=_0x1c9f9c,this['_initMergeInterceptor']();}[_0x3c2833(0x114)](){var _0x543821=_0x3c2833;const _0x275541=this;this[_0x543821(0x3b4)](this[_0x543821(0xdb)][_0x543821(0x3b8)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x40d768){var _0x14199a=_0x543821,_0x4c9d14;if(_0x40d768[_0x14199a(0x1e7)]===_0x14199a(0x1c0)&&((_0x4c9d14=_0x40d768[_0x14199a(0x40a)])!=null&&_0x4c9d14[_0x14199a(0x3e0)])){const {objectID:_0x574405,objectType:_0x38b79a}=_0x40d768[_0x14199a(0x40a)][_0x14199a(0x3e0)]||{};if(!_0x574405||_0x38b79a===void 0x0)return!0x1;const _0x423b34=_0x275541[_0x14199a(0xf0)]()+'/'+_0x38b79a+'/object/'+_0x574405+'/allowed';if(_0x40d768[_0x14199a(0x3c7)]===_0x423b34)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34ad49){var _0x1c4122=_0x543821,_0x5440ba;return(_0x5440ba=_0x34ad49['requestParams'])==null?void 0x0:_0x5440ba[_0x1c4122(0x3e0)];},'mergeParamsToRequest'(_0x2b47ca,_0x5b89d2){var _0x3607da=_0x543821;const _0x388916=_0x275541[_0x3607da(0xf0)]()+_0x3607da(0x18e),_0x200341=_0x2b47ca[_0x3607da(0x35f)]((_0x531d59,_0x56dc6b)=>{var _0x35a949=_0x3607da;const {unitID:_0x1b0959,objectID:_0x26ab2c,objectType:_0x274e45,actions:_0x125ffa}=_0x56dc6b;return _0x531d59[_0x1b0959]||(_0x531d59[_0x1b0959]={}),_0x531d59[_0x1b0959][_0x26ab2c]||(_0x531d59[_0x1b0959][_0x26ab2c]={'objectID':_0x26ab2c,'objectType':_0x274e45,'actions':[]}),_0x531d59[_0x1b0959][_0x26ab2c]['actions'][_0x35a949(0x169)](..._0x125ffa),_0x531d59;},{}),_0x98cae1=[];for(const _0x34a0c8 in _0x200341)for(const _0x484bcf in _0x200341[_0x34a0c8]){const {actions:_0x1e1b31,objectType:_0x56ace4}=_0x200341[_0x34a0c8][_0x484bcf],_0x19cb44=[...new Set(_0x1e1b31)];_0x98cae1[_0x3607da(0x169)]({'unitID':_0x34a0c8,'objectID':_0x484bcf,'objectType':_0x56ace4,'actions':_0x19cb44});}return new z['HTTPRequest'](_0x3607da(0x1c0),_0x388916,{'headers':_0x5b89d2[_0x3607da(0x42e)],'withCredentials':_0x5b89d2['withCredentials'],'responseType':_0x5b89d2['responseType'],'body':{'requests':_0x98cae1}});}},{'distributeResult'(_0x140c8d,_0x1a9e8b){var _0x213025=_0x543821;const {objectActions:_0xe36910}=_0x140c8d;return _0x1a9e8b[_0x213025(0x213)](_0x3fe070=>{var _0x2dd075=_0x213025;const {unitID:_0x3af065,objectID:_0x5db2eb,actions:_0x301ad7}=_0x3fe070,_0x23f1ea=_0xe36910[_0x2dd075(0x1f1)](_0x5418d6=>_0x5418d6[_0x2dd075(0x32c)]===_0x3af065&&_0x5418d6[_0x2dd075(0x138)]===_0x5db2eb),_0x16dca7=_0x301ad7[_0x2dd075(0x213)](_0x5bfe22=>_0x23f1ea==null?void 0x0:_0x23f1ea[_0x2dd075(0x197)][_0x2dd075(0x1f1)](_0x2e435e=>_0x2e435e[_0x2dd075(0x16e)]===_0x5bfe22))[_0x2dd075(0x1c4)](_0xaf3ef0=>!!_0xaf3ef0);return{'config':_0x3fe070,'result':{'actions':_0x16dca7,'error':_0x140c8d[_0x2dd075(0x15b)]}};});}})}));}['_getAPIPrefixPath'](){var _0xca3c46=_0x3c2833,_0x1d556b,_0x2df66a;const _0x23c5b0=this[_0xca3c46(0x302)][_0xca3c46(0x1cf)](Ge),_0x375859=this[_0xca3c46(0x302)][_0xca3c46(0x1cf)](q);return(_0x2df66a=(_0x1d556b=_0x375859==null?void 0x0:_0x375859[_0xca3c46(0x230)])!=null?_0x1d556b:_0x23c5b0)!=null?_0x2df66a:Gi;}async[_0x3c2833(0x27a)](_0x4b7272){var _0x1f6d62=_0x3c2833;const _0x4b7b8f=this[_0x1f6d62(0xf0)]()+'/'+_0x4b7272[_0x1f6d62(0x2fc)]+'/object';return(await this[_0x1f6d62(0xdb)][_0x1f6d62(0x129)](_0x4b7b8f,{'body':_0x4b7272}))[_0x1f6d62(0x3e0)][_0x1f6d62(0x138)]||'';}async[_0x3c2833(0x259)](_0x5cc76d){var _0x4e7b88=_0x3c2833;const _0xa359b8=this[_0x4e7b88(0xf0)]()+_0x4e7b88(0x191);return(await this[_0x4e7b88(0xdb)][_0x4e7b88(0x129)](_0xa359b8,{'body':_0x5cc76d}))[_0x4e7b88(0x3e0)]['objects'];}async['update'](_0x1b7ffc){var _0x2b81a5=_0x3c2833;const _0x31a808=this[_0x2b81a5(0xf0)]()+'/'+_0x1b7ffc[_0x2b81a5(0x2fc)]+_0x2b81a5(0x1a9)+_0x1b7ffc[_0x2b81a5(0x138)];await this[_0x2b81a5(0xdb)][_0x2b81a5(0x3fa)](_0x31a808,{'body':_0x1b7ffc});}async[_0x3c2833(0x1e4)](_0x1f3b8d){var _0x29b4ed=_0x3c2833;const _0xeaddff=this[_0x29b4ed(0xf0)]()+'/'+_0x1f3b8d['objectType']+_0x29b4ed(0x1a9)+_0x1f3b8d['objectID']+'/allowed';return(await this['_HTTPService'][_0x29b4ed(0x129)](_0xeaddff,{'body':_0x1f3b8d}))[_0x29b4ed(0x3e0)][_0x29b4ed(0x197)];}async['batchAllowed'](_0x5bb90c){var _0x1e9c62=_0x3c2833;const _0x49612b=this[_0x1e9c62(0xf0)]()+'/-/object/-/batch_allowed';return(await this[_0x1e9c62(0xdb)][_0x1e9c62(0x129)](_0x49612b,{'body':{'requests':_0x5bb90c}}))[_0x1e9c62(0x3e0)][_0x1e9c62(0x1bf)];}async[_0x3c2833(0x410)](_0x2944f2){var _0x2fb908=_0x3c2833;const _0x109b5e=this[_0x2fb908(0xf0)]()+'/'+_0x2944f2[_0x2fb908(0x2fc)]+'/role',_0x44c987=await this['_HTTPService'][_0x2fb908(0x129)](_0x109b5e,{'body':_0x2944f2});return{'roles':_0x44c987[_0x2fb908(0x3e0)][_0x2fb908(0x1fe)],'actions':_0x44c987['body'][_0x2fb908(0x197)]};}async[_0x3c2833(0x18a)](_0x281eed){var _0x5bfda2=_0x3c2833;const _0x1c15fc=this[_0x5bfda2(0xf0)]()+_0x5bfda2(0x3bf);await this[_0x5bfda2(0xdb)]['delete'](_0x1c15fc,{'params':{'collaboratorID':_0x281eed[_0x5bfda2(0x42c)],'objectID':_0x281eed[_0x5bfda2(0x138)],'unitID':_0x281eed[_0x5bfda2(0x32c)]}});}async[_0x3c2833(0x320)](_0x2cf912){var _0x20337e=_0x3c2833;const _0x72acce=this[_0x20337e(0xf0)]()+_0x20337e(0x3bf);await this[_0x20337e(0xdb)][_0x20337e(0x216)](_0x72acce,{'body':_0x2cf912});}async[_0x3c2833(0x164)](_0x4443ca){var _0x9e1b53=_0x3c2833;const _0x20fca1=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x9e1b53(0x129)](_0x20fca1,{'body':_0x4443ca});}async[_0x3c2833(0x26a)](_0x1558f8){var _0x2ab371=_0x3c2833;const _0x3f3961=this[_0x2ab371(0xf0)]()+_0x2ab371(0x3bf);return(await this['_HTTPService']['get'](_0x3f3961,{'params':{'objectID':_0x1558f8['objectID'],'unitID':_0x1558f8[_0x2ab371(0x32c)]}}))[_0x2ab371(0x3e0)][_0x2ab371(0x2c0)];}async[_0x3c2833(0x188)](_0x3f3f41){var _0x79153=_0x3c2833;const _0x3d0ce8=this[_0x79153(0xf0)]()+'/collaborator';await this[_0x79153(0xdb)][_0x79153(0x3fa)](_0x3d0ce8,{'body':_0x3f3f41});}},exports[_0x3c2833(0x3f4)]=Vi([Ze(0x0,a['Inject'](z['HTTPService'])),Ze(0x1,a[_0x3c2833(0x399)](a[_0x3c2833(0x279)]))],exports[_0x3c2833(0x3f4)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x368ec7){var _0x5f1394=_0x3c2833;return _0x368ec7&&_0x368ec7[_0x5f1394(0x389)]&&Object[_0x5f1394(0x203)][_0x5f1394(0xcc)][_0x5f1394(0xe8)](_0x368ec7,_0x5f1394(0x11c))?_0x368ec7[_0x5f1394(0x11c)]:_0x368ec7;}var Se={'exports':{}};function Ki(_0x44dc08){var _0x5493b6=_0x3c2833;throw new Error(_0x5493b6(0x27e)+_0x44dc08+_0x5493b6(0x288));}var pe={'exports':{}},Yi=pe[_0x3c2833(0x3d3)],Qe;function ee(){var _0x34eea8=_0x3c2833;return Qe||(Qe=0x1,function(_0x3275e8,_0x2e84f0){(function(_0x5ceee6,_0x2cb425){var _0x5a264a=_0x4fcf;_0x3275e8[_0x5a264a(0x3d3)]=_0x2cb425();}(Yi,function(){var _0x46f1c3=_0x46f1c3||function(_0x47b2a9,_0x3864ac){var _0xae2fbb=_0x4fcf,_0x4f0524;if(typeof window<'u'&&window[_0xae2fbb(0x3cf)]&&(_0x4f0524=window[_0xae2fbb(0x3cf)]),typeof self<'u'&&self[_0xae2fbb(0x3cf)]&&(_0x4f0524=self[_0xae2fbb(0x3cf)]),typeof globalThis<'u'&&globalThis[_0xae2fbb(0x3cf)]&&(_0x4f0524=globalThis['crypto']),!_0x4f0524&&typeof window<'u'&&window[_0xae2fbb(0x300)]&&(_0x4f0524=window[_0xae2fbb(0x300)]),!_0x4f0524&&typeof Le<'u'&&Le[_0xae2fbb(0x3cf)]&&(_0x4f0524=Le[_0xae2fbb(0x3cf)]),!_0x4f0524&&typeof Ki==_0xae2fbb(0x1ae))try{_0x4f0524=require(_0xae2fbb(0x3cf));}catch{}var _0x3b7280=function(){var _0x565514=_0xae2fbb;if(_0x4f0524){if(typeof _0x4f0524['getRandomValues']=='function')try{return _0x4f0524[_0x565514(0x32b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f0524[_0x565514(0x149)]==_0x565514(0x1ae))try{return _0x4f0524['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x473930=Object[_0xae2fbb(0x27a)]||(function(){function _0x4413ff(){}return function(_0x1a2763){var _0xfe06b8=_0x4fcf,_0x5ad101;return _0x4413ff['prototype']=_0x1a2763,_0x5ad101=new _0x4413ff(),_0x4413ff[_0xfe06b8(0x203)]=null,_0x5ad101;};}()),_0x24b36f={},_0x527a43=_0x24b36f[_0xae2fbb(0x2c6)]={},_0xfe5d3b=_0x527a43[_0xae2fbb(0xf9)]=(function(){return{'extend':function(_0xa456fc){var _0x5aa0ee=_0x4fcf,_0x5e91a5=_0x473930(this);return _0xa456fc&&_0x5e91a5['mixIn'](_0xa456fc),(!_0x5e91a5['hasOwnProperty'](_0x5aa0ee(0x360))||this[_0x5aa0ee(0x360)]===_0x5e91a5[_0x5aa0ee(0x360)])&&(_0x5e91a5[_0x5aa0ee(0x360)]=function(){var _0x3c2060=_0x5aa0ee;_0x5e91a5[_0x3c2060(0x3e9)][_0x3c2060(0x360)]['apply'](this,arguments);}),_0x5e91a5[_0x5aa0ee(0x360)][_0x5aa0ee(0x203)]=_0x5e91a5,_0x5e91a5['$super']=this,_0x5e91a5;},'create':function(){var _0x20240f=_0x4fcf,_0x5b47d4=this[_0x20240f(0x263)]();return _0x5b47d4[_0x20240f(0x360)][_0x20240f(0x332)](_0x5b47d4,arguments),_0x5b47d4;},'init':function(){},'mixIn':function(_0x4a851f){var _0x49b1d8=_0x4fcf;for(var _0x20ebb7 in _0x4a851f)_0x4a851f[_0x49b1d8(0xcc)](_0x20ebb7)&&(this[_0x20ebb7]=_0x4a851f[_0x20ebb7]);_0x4a851f[_0x49b1d8(0xcc)](_0x49b1d8(0x3bb))&&(this[_0x49b1d8(0x3bb)]=_0x4a851f['toString']);},'clone':function(){var _0x888638=_0x4fcf;return this[_0x888638(0x360)][_0x888638(0x203)][_0x888638(0x263)](this);}};}()),_0x308a68=_0x527a43['WordArray']=_0xfe5d3b[_0xae2fbb(0x263)]({'init':function(_0x47f8e8,_0xa7f693){var _0x356a77=_0xae2fbb;_0x47f8e8=this[_0x356a77(0x163)]=_0x47f8e8||[],_0xa7f693!=_0x3864ac?this[_0x356a77(0x1ef)]=_0xa7f693:this[_0x356a77(0x1ef)]=_0x47f8e8[_0x356a77(0x294)]*0x4;},'toString':function(_0x252be9){return(_0x252be9||_0x45fbec)['stringify'](this);},'concat':function(_0xbb3c9){var _0x37ecba=_0xae2fbb,_0x1c0c05=this[_0x37ecba(0x163)],_0xf61dbe=_0xbb3c9['words'],_0x3891c7=this['sigBytes'],_0x47dd0c=_0xbb3c9[_0x37ecba(0x1ef)];if(this['clamp'](),_0x3891c7%0x4)for(var _0x1619d4=0x0;_0x1619d4<_0x47dd0c;_0x1619d4++){var _0x254f5d=_0xf61dbe[_0x1619d4>>>0x2]>>>0x18-_0x1619d4%0x4*0x8&0xff;_0x1c0c05[_0x3891c7+_0x1619d4>>>0x2]|=_0x254f5d<<0x18-(_0x3891c7+_0x1619d4)%0x4*0x8;}else{for(var _0x121f09=0x0;_0x121f09<_0x47dd0c;_0x121f09+=0x4)_0x1c0c05[_0x3891c7+_0x121f09>>>0x2]=_0xf61dbe[_0x121f09>>>0x2];}return this[_0x37ecba(0x1ef)]+=_0x47dd0c,this;},'clamp':function(){var _0x9064b=_0xae2fbb,_0xcd5e99=this[_0x9064b(0x163)],_0x4780bb=this['sigBytes'];_0xcd5e99[_0x4780bb>>>0x2]&=0xffffffff<<0x20-_0x4780bb%0x4*0x8,_0xcd5e99[_0x9064b(0x294)]=_0x47b2a9[_0x9064b(0x2fb)](_0x4780bb/0x4);},'clone':function(){var _0x2775ac=_0xae2fbb,_0x581e45=_0xfe5d3b[_0x2775ac(0x308)]['call'](this);return _0x581e45['words']=this[_0x2775ac(0x163)][_0x2775ac(0x24a)](0x0),_0x581e45;},'random':function(_0x3e0bdc){var _0x595c5e=_0xae2fbb;for(var _0x1a510b=[],_0x372c72=0x0;_0x372c72<_0x3e0bdc;_0x372c72+=0x4)_0x1a510b[_0x595c5e(0x169)](_0x3b7280());return new _0x308a68[(_0x595c5e(0x360))](_0x1a510b,_0x3e0bdc);}}),_0x2327a6=_0x24b36f['enc']={},_0x45fbec=_0x2327a6[_0xae2fbb(0x24f)]={'stringify':function(_0xaf2a2f){var _0x551e9d=_0xae2fbb;for(var _0x3e1c4a=_0xaf2a2f[_0x551e9d(0x163)],_0x1a4402=_0xaf2a2f[_0x551e9d(0x1ef)],_0x27cf4d=[],_0x2e6587=0x0;_0x2e6587<_0x1a4402;_0x2e6587++){var _0x199b0c=_0x3e1c4a[_0x2e6587>>>0x2]>>>0x18-_0x2e6587%0x4*0x8&0xff;_0x27cf4d[_0x551e9d(0x169)]((_0x199b0c>>>0x4)['toString'](0x10)),_0x27cf4d[_0x551e9d(0x169)]((_0x199b0c&0xf)[_0x551e9d(0x3bb)](0x10));}return _0x27cf4d['join']('');},'parse':function(_0x5de048){var _0x2c2d58=_0xae2fbb;for(var _0x1bf167=_0x5de048[_0x2c2d58(0x294)],_0x30a643=[],_0x3dea40=0x0;_0x3dea40<_0x1bf167;_0x3dea40+=0x2)_0x30a643[_0x3dea40>>>0x3]|=parseInt(_0x5de048[_0x2c2d58(0x28e)](_0x3dea40,0x2),0x10)<<0x18-_0x3dea40%0x8*0x4;return new _0x308a68[(_0x2c2d58(0x360))](_0x30a643,_0x1bf167/0x2);}},_0x350a23=_0x2327a6['Latin1']={'stringify':function(_0x1dc3c1){var _0x1cd351=_0xae2fbb;for(var _0x40125b=_0x1dc3c1[_0x1cd351(0x163)],_0x37ef53=_0x1dc3c1[_0x1cd351(0x1ef)],_0x162d2a=[],_0x3f1ed7=0x0;_0x3f1ed7<_0x37ef53;_0x3f1ed7++){var _0xc0eb76=_0x40125b[_0x3f1ed7>>>0x2]>>>0x18-_0x3f1ed7%0x4*0x8&0xff;_0x162d2a['push'](String['fromCharCode'](_0xc0eb76));}return _0x162d2a[_0x1cd351(0x3c3)]('');},'parse':function(_0x5afbea){for(var _0x447bd7=_0x5afbea['length'],_0x37394e=[],_0x24ae77=0x0;_0x24ae77<_0x447bd7;_0x24ae77++)_0x37394e[_0x24ae77>>>0x2]|=(_0x5afbea['charCodeAt'](_0x24ae77)&0xff)<<0x18-_0x24ae77%0x4*0x8;return new _0x308a68['init'](_0x37394e,_0x447bd7);}},_0x11118b=_0x2327a6[_0xae2fbb(0x10f)]={'stringify':function(_0x15f703){var _0x3aa171=_0xae2fbb;try{return decodeURIComponent(escape(_0x350a23[_0x3aa171(0x450)](_0x15f703)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x415888){var _0x4c01db=_0xae2fbb;return _0x350a23[_0x4c01db(0x3ed)](unescape(encodeURIComponent(_0x415888)));}},_0x21350a=_0x527a43['BufferedBlockAlgorithm']=_0xfe5d3b[_0xae2fbb(0x263)]({'reset':function(){var _0x5ad913=_0xae2fbb;this[_0x5ad913(0x39f)]=new _0x308a68[(_0x5ad913(0x360))](),this[_0x5ad913(0x398)]=0x0;},'_append':function(_0x1235d5){var _0x22b211=_0xae2fbb;typeof _0x1235d5==_0x22b211(0x447)&&(_0x1235d5=_0x11118b['parse'](_0x1235d5)),this[_0x22b211(0x39f)][_0x22b211(0x135)](_0x1235d5),this[_0x22b211(0x398)]+=_0x1235d5['sigBytes'];},'_process':function(_0x16ba2f){var _0x560c79=_0xae2fbb,_0x3ec6fa,_0x45a993=this[_0x560c79(0x39f)],_0x34abe2=_0x45a993[_0x560c79(0x163)],_0x7c89c1=_0x45a993['sigBytes'],_0x364cd2=this[_0x560c79(0x273)],_0xa1aefd=_0x364cd2*0x4,_0x196aed=_0x7c89c1/_0xa1aefd;_0x16ba2f?_0x196aed=_0x47b2a9[_0x560c79(0x2fb)](_0x196aed):_0x196aed=_0x47b2a9[_0x560c79(0x2f0)]((_0x196aed|0x0)-this[_0x560c79(0x184)],0x0);var _0x2d5982=_0x196aed*_0x364cd2,_0x429934=_0x47b2a9[_0x560c79(0x2c3)](_0x2d5982*0x4,_0x7c89c1);if(_0x2d5982){for(var _0x3ac702=0x0;_0x3ac702<_0x2d5982;_0x3ac702+=_0x364cd2)this[_0x560c79(0x3b1)](_0x34abe2,_0x3ac702);_0x3ec6fa=_0x34abe2['splice'](0x0,_0x2d5982),_0x45a993[_0x560c79(0x1ef)]-=_0x429934;}return new _0x308a68['init'](_0x3ec6fa,_0x429934);},'clone':function(){var _0x1f7b29=_0xae2fbb,_0x2462f9=_0xfe5d3b['clone'][_0x1f7b29(0xe8)](this);return _0x2462f9[_0x1f7b29(0x39f)]=this[_0x1f7b29(0x39f)]['clone'](),_0x2462f9;},'_minBufferSize':0x0});_0x527a43[_0xae2fbb(0x37d)]=_0x21350a[_0xae2fbb(0x263)]({'cfg':_0xfe5d3b[_0xae2fbb(0x263)](),'init':function(_0x4aba43){var _0x59ad6f=_0xae2fbb;this[_0x59ad6f(0x109)]=this[_0x59ad6f(0x109)][_0x59ad6f(0x263)](_0x4aba43),this[_0x59ad6f(0x139)]();},'reset':function(){var _0x2c19b5=_0xae2fbb;_0x21350a[_0x2c19b5(0x139)]['call'](this),this[_0x2c19b5(0x166)]();},'update':function(_0xb28168){var _0x28a137=_0xae2fbb;return this[_0x28a137(0x1e3)](_0xb28168),this['_process'](),this;},'finalize':function(_0x56dc7d){var _0x3088ad=_0xae2fbb;_0x56dc7d&&this[_0x3088ad(0x1e3)](_0x56dc7d);var _0x269ef1=this[_0x3088ad(0x2ba)]();return _0x269ef1;},'blockSize':0x10,'_createHelper':function(_0x5df990){return function(_0x59618b,_0x51031d){var _0x3917a0=_0x4fcf;return new _0x5df990[(_0x3917a0(0x360))](_0x51031d)[_0x3917a0(0x445)](_0x59618b);};},'_createHmacHelper':function(_0x570efb){return function(_0x317ab9,_0x1329a6){var _0x470912=_0x4fcf;return new _0x2cd684[(_0x470912(0x1c6))][(_0x470912(0x360))](_0x570efb,_0x1329a6)[_0x470912(0x445)](_0x317ab9);};}});var _0x2cd684=_0x24b36f[_0xae2fbb(0x2ab)]={};return _0x24b36f;}(Math);return _0x46f1c3;}));}(pe)),pe[_0x34eea8(0x3d3)];}var ge={'exports':{}},qi=ge[_0x3c2833(0x3d3)],et;function Dt(){var _0x2b467e=_0x3c2833;return et||(et=0x1,function(_0x2ab99e,_0xdae688){(function(_0x31a5e4,_0x31cb27){var _0x21a8dd=_0x4fcf;_0x2ab99e[_0x21a8dd(0x3d3)]=_0x31cb27(ee());}(qi,function(_0x4e3c46){var _0x347110=_0x4fcf;return(function(){var _0x1263fd=_0x4fcf,_0x1606dd=_0x4e3c46,_0x26064d=_0x1606dd[_0x1263fd(0x2c6)],_0x485f96=_0x26064d['WordArray'],_0x4ee3b5=_0x1606dd[_0x1263fd(0x113)];_0x4ee3b5[_0x1263fd(0x17c)]={'stringify':function(_0x1ae9a5){var _0x21e276=_0x1263fd,_0x1c4eec=_0x1ae9a5[_0x21e276(0x163)],_0x459f83=_0x1ae9a5['sigBytes'],_0x3bc2b6=this[_0x21e276(0x1a4)];_0x1ae9a5[_0x21e276(0x161)]();for(var _0x130912=[],_0x427d5b=0x0;_0x427d5b<_0x459f83;_0x427d5b+=0x3)for(var _0x437ae1=_0x1c4eec[_0x427d5b>>>0x2]>>>0x18-_0x427d5b%0x4*0x8&0xff,_0x1845b6=_0x1c4eec[_0x427d5b+0x1>>>0x2]>>>0x18-(_0x427d5b+0x1)%0x4*0x8&0xff,_0x50c2c0=_0x1c4eec[_0x427d5b+0x2>>>0x2]>>>0x18-(_0x427d5b+0x2)%0x4*0x8&0xff,_0x4698cb=_0x437ae1<<0x10|_0x1845b6<<0x8|_0x50c2c0,_0x41ace4=0x0;_0x41ace4<0x4&&_0x427d5b+_0x41ace4*0.75<_0x459f83;_0x41ace4++)_0x130912['push'](_0x3bc2b6[_0x21e276(0x100)](_0x4698cb>>>0x6*(0x3-_0x41ace4)&0x3f));var _0x954551=_0x3bc2b6[_0x21e276(0x100)](0x40);if(_0x954551){for(;_0x130912['length']%0x4;)_0x130912[_0x21e276(0x169)](_0x954551);}return _0x130912[_0x21e276(0x3c3)]('');},'parse':function(_0xf11494){var _0x4501d4=_0x1263fd,_0x4d86a0=_0xf11494['length'],_0x312cb0=this[_0x4501d4(0x1a4)],_0x1dc79c=this[_0x4501d4(0x2bc)];if(!_0x1dc79c){_0x1dc79c=this['_reverseMap']=[];for(var _0x478a48=0x0;_0x478a48<_0x312cb0[_0x4501d4(0x294)];_0x478a48++)_0x1dc79c[_0x312cb0[_0x4501d4(0x251)](_0x478a48)]=_0x478a48;}var _0x1cc6d8=_0x312cb0['charAt'](0x40);if(_0x1cc6d8){var _0x59529d=_0xf11494[_0x4501d4(0x15f)](_0x1cc6d8);_0x59529d!==-0x1&&(_0x4d86a0=_0x59529d);}return _0x2c3b92(_0xf11494,_0x4d86a0,_0x1dc79c);},'_map':_0x1263fd(0x37a)};function _0x2c3b92(_0x2a285a,_0xbc3eab,_0x367507){var _0x597cef=_0x1263fd;for(var _0x4e57ae=[],_0x2c89df=0x0,_0x5a671f=0x0;_0x5a671f<_0xbc3eab;_0x5a671f++)if(_0x5a671f%0x4){var _0x42c683=_0x367507[_0x2a285a[_0x597cef(0x251)](_0x5a671f-0x1)]<<_0x5a671f%0x4*0x2,_0x12b650=_0x367507[_0x2a285a[_0x597cef(0x251)](_0x5a671f)]>>>0x6-_0x5a671f%0x4*0x2,_0x2edba6=_0x42c683|_0x12b650;_0x4e57ae[_0x2c89df>>>0x2]|=_0x2edba6<<0x18-_0x2c89df%0x4*0x8,_0x2c89df++;}return _0x485f96[_0x597cef(0x27a)](_0x4e57ae,_0x2c89df);}}()),_0x4e3c46[_0x347110(0x113)][_0x347110(0x17c)];}));}(ge)),ge[_0x2b467e(0x3d3)];}var me={'exports':{}},zi=me[_0x3c2833(0x3d3)],tt;function Ji(){var _0x3688c6=_0x3c2833;return tt||(tt=0x1,function(_0x14dd11,_0x243c5f){(function(_0x10478f,_0x1297bc){_0x14dd11['exports']=_0x1297bc(ee());}(zi,function(_0x5e1c31){var _0xed8c20=_0x4fcf;return function(_0x33ddfe){var _0x38ea19=_0x4fcf,_0x3d488c=_0x5e1c31,_0x29d8e7=_0x3d488c[_0x38ea19(0x2c6)],_0x87e622=_0x29d8e7[_0x38ea19(0x28a)],_0x146be0=_0x29d8e7['Hasher'],_0xed716f=_0x3d488c[_0x38ea19(0x2ab)],_0x10e296=[];(function(){var _0x50c660=_0x38ea19;for(var _0x13cc1f=0x0;_0x13cc1f<0x40;_0x13cc1f++)_0x10e296[_0x13cc1f]=_0x33ddfe[_0x50c660(0xff)](_0x33ddfe[_0x50c660(0x38b)](_0x13cc1f+0x1))*0x100000000|0x0;}());var _0x58fcc9=_0xed716f[_0x38ea19(0x444)]=_0x146be0[_0x38ea19(0x263)]({'_doReset':function(){var _0x4676a4=_0x38ea19;this[_0x4676a4(0x353)]=new _0x87e622[(_0x4676a4(0x360))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4e0e3a,_0x300591){var _0x4a57ba=_0x38ea19;for(var _0xb97dcc=0x0;_0xb97dcc<0x10;_0xb97dcc++){var _0x3657ba=_0x300591+_0xb97dcc,_0x4e6f9d=_0x4e0e3a[_0x3657ba];_0x4e0e3a[_0x3657ba]=(_0x4e6f9d<<0x8|_0x4e6f9d>>>0x18)&0xff00ff|(_0x4e6f9d<<0x18|_0x4e6f9d>>>0x8)&0xff00ff00;}var _0x1576c7=this[_0x4a57ba(0x353)][_0x4a57ba(0x163)],_0x3dcfd6=_0x4e0e3a[_0x300591+0x0],_0x44432c=_0x4e0e3a[_0x300591+0x1],_0x477027=_0x4e0e3a[_0x300591+0x2],_0x454797=_0x4e0e3a[_0x300591+0x3],_0x366ceb=_0x4e0e3a[_0x300591+0x4],_0x28c29f=_0x4e0e3a[_0x300591+0x5],_0x9d9eb6=_0x4e0e3a[_0x300591+0x6],_0xad8359=_0x4e0e3a[_0x300591+0x7],_0x293600=_0x4e0e3a[_0x300591+0x8],_0x1ce8ed=_0x4e0e3a[_0x300591+0x9],_0x202076=_0x4e0e3a[_0x300591+0xa],_0x37eb03=_0x4e0e3a[_0x300591+0xb],_0x1a77b8=_0x4e0e3a[_0x300591+0xc],_0x393bbc=_0x4e0e3a[_0x300591+0xd],_0x4e88b3=_0x4e0e3a[_0x300591+0xe],_0x597d3a=_0x4e0e3a[_0x300591+0xf],_0x334343=_0x1576c7[0x0],_0x95e673=_0x1576c7[0x1],_0x3757a0=_0x1576c7[0x2],_0x519390=_0x1576c7[0x3];_0x334343=_0x19ff44(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x3dcfd6,0x7,_0x10e296[0x0]),_0x519390=_0x19ff44(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x44432c,0xc,_0x10e296[0x1]),_0x3757a0=_0x19ff44(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x477027,0x11,_0x10e296[0x2]),_0x95e673=_0x19ff44(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x454797,0x16,_0x10e296[0x3]),_0x334343=_0x19ff44(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x366ceb,0x7,_0x10e296[0x4]),_0x519390=_0x19ff44(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x28c29f,0xc,_0x10e296[0x5]),_0x3757a0=_0x19ff44(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x9d9eb6,0x11,_0x10e296[0x6]),_0x95e673=_0x19ff44(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0xad8359,0x16,_0x10e296[0x7]),_0x334343=_0x19ff44(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x293600,0x7,_0x10e296[0x8]),_0x519390=_0x19ff44(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x1ce8ed,0xc,_0x10e296[0x9]),_0x3757a0=_0x19ff44(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x202076,0x11,_0x10e296[0xa]),_0x95e673=_0x19ff44(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x37eb03,0x16,_0x10e296[0xb]),_0x334343=_0x19ff44(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x1a77b8,0x7,_0x10e296[0xc]),_0x519390=_0x19ff44(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x393bbc,0xc,_0x10e296[0xd]),_0x3757a0=_0x19ff44(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x4e88b3,0x11,_0x10e296[0xe]),_0x95e673=_0x19ff44(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x597d3a,0x16,_0x10e296[0xf]),_0x334343=_0x4d5404(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x44432c,0x5,_0x10e296[0x10]),_0x519390=_0x4d5404(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x9d9eb6,0x9,_0x10e296[0x11]),_0x3757a0=_0x4d5404(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x37eb03,0xe,_0x10e296[0x12]),_0x95e673=_0x4d5404(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x3dcfd6,0x14,_0x10e296[0x13]),_0x334343=_0x4d5404(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x28c29f,0x5,_0x10e296[0x14]),_0x519390=_0x4d5404(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x202076,0x9,_0x10e296[0x15]),_0x3757a0=_0x4d5404(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x597d3a,0xe,_0x10e296[0x16]),_0x95e673=_0x4d5404(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x366ceb,0x14,_0x10e296[0x17]),_0x334343=_0x4d5404(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x1ce8ed,0x5,_0x10e296[0x18]),_0x519390=_0x4d5404(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x4e88b3,0x9,_0x10e296[0x19]),_0x3757a0=_0x4d5404(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x454797,0xe,_0x10e296[0x1a]),_0x95e673=_0x4d5404(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x293600,0x14,_0x10e296[0x1b]),_0x334343=_0x4d5404(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x393bbc,0x5,_0x10e296[0x1c]),_0x519390=_0x4d5404(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x477027,0x9,_0x10e296[0x1d]),_0x3757a0=_0x4d5404(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0xad8359,0xe,_0x10e296[0x1e]),_0x95e673=_0x4d5404(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x1a77b8,0x14,_0x10e296[0x1f]),_0x334343=_0x15fc14(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x28c29f,0x4,_0x10e296[0x20]),_0x519390=_0x15fc14(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x293600,0xb,_0x10e296[0x21]),_0x3757a0=_0x15fc14(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x37eb03,0x10,_0x10e296[0x22]),_0x95e673=_0x15fc14(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x4e88b3,0x17,_0x10e296[0x23]),_0x334343=_0x15fc14(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x44432c,0x4,_0x10e296[0x24]),_0x519390=_0x15fc14(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x366ceb,0xb,_0x10e296[0x25]),_0x3757a0=_0x15fc14(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0xad8359,0x10,_0x10e296[0x26]),_0x95e673=_0x15fc14(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x202076,0x17,_0x10e296[0x27]),_0x334343=_0x15fc14(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x393bbc,0x4,_0x10e296[0x28]),_0x519390=_0x15fc14(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x3dcfd6,0xb,_0x10e296[0x29]),_0x3757a0=_0x15fc14(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x454797,0x10,_0x10e296[0x2a]),_0x95e673=_0x15fc14(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x9d9eb6,0x17,_0x10e296[0x2b]),_0x334343=_0x15fc14(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x1ce8ed,0x4,_0x10e296[0x2c]),_0x519390=_0x15fc14(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x1a77b8,0xb,_0x10e296[0x2d]),_0x3757a0=_0x15fc14(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x597d3a,0x10,_0x10e296[0x2e]),_0x95e673=_0x15fc14(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x477027,0x17,_0x10e296[0x2f]),_0x334343=_0x18d5aa(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x3dcfd6,0x6,_0x10e296[0x30]),_0x519390=_0x18d5aa(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0xad8359,0xa,_0x10e296[0x31]),_0x3757a0=_0x18d5aa(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x4e88b3,0xf,_0x10e296[0x32]),_0x95e673=_0x18d5aa(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x28c29f,0x15,_0x10e296[0x33]),_0x334343=_0x18d5aa(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x1a77b8,0x6,_0x10e296[0x34]),_0x519390=_0x18d5aa(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x454797,0xa,_0x10e296[0x35]),_0x3757a0=_0x18d5aa(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x202076,0xf,_0x10e296[0x36]),_0x95e673=_0x18d5aa(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x44432c,0x15,_0x10e296[0x37]),_0x334343=_0x18d5aa(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x293600,0x6,_0x10e296[0x38]),_0x519390=_0x18d5aa(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x597d3a,0xa,_0x10e296[0x39]),_0x3757a0=_0x18d5aa(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x9d9eb6,0xf,_0x10e296[0x3a]),_0x95e673=_0x18d5aa(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x393bbc,0x15,_0x10e296[0x3b]),_0x334343=_0x18d5aa(_0x334343,_0x95e673,_0x3757a0,_0x519390,_0x366ceb,0x6,_0x10e296[0x3c]),_0x519390=_0x18d5aa(_0x519390,_0x334343,_0x95e673,_0x3757a0,_0x37eb03,0xa,_0x10e296[0x3d]),_0x3757a0=_0x18d5aa(_0x3757a0,_0x519390,_0x334343,_0x95e673,_0x477027,0xf,_0x10e296[0x3e]),_0x95e673=_0x18d5aa(_0x95e673,_0x3757a0,_0x519390,_0x334343,_0x1ce8ed,0x15,_0x10e296[0x3f]),_0x1576c7[0x0]=_0x1576c7[0x0]+_0x334343|0x0,_0x1576c7[0x1]=_0x1576c7[0x1]+_0x95e673|0x0,_0x1576c7[0x2]=_0x1576c7[0x2]+_0x3757a0|0x0,_0x1576c7[0x3]=_0x1576c7[0x3]+_0x519390|0x0;},'_doFinalize':function(){var _0x512c36=_0x38ea19,_0x4c412c=this[_0x512c36(0x39f)],_0x4733d9=_0x4c412c[_0x512c36(0x163)],_0x36a0ee=this['_nDataBytes']*0x8,_0x3216a9=_0x4c412c['sigBytes']*0x8;_0x4733d9[_0x3216a9>>>0x5]|=0x80<<0x18-_0x3216a9%0x20;var _0x40ae4e=_0x33ddfe[_0x512c36(0x357)](_0x36a0ee/0x100000000),_0x2d8654=_0x36a0ee;_0x4733d9[(_0x3216a9+0x40>>>0x9<<0x4)+0xf]=(_0x40ae4e<<0x8|_0x40ae4e>>>0x18)&0xff00ff|(_0x40ae4e<<0x18|_0x40ae4e>>>0x8)&0xff00ff00,_0x4733d9[(_0x3216a9+0x40>>>0x9<<0x4)+0xe]=(_0x2d8654<<0x8|_0x2d8654>>>0x18)&0xff00ff|(_0x2d8654<<0x18|_0x2d8654>>>0x8)&0xff00ff00,_0x4c412c[_0x512c36(0x1ef)]=(_0x4733d9[_0x512c36(0x294)]+0x1)*0x4,this[_0x512c36(0x175)]();for(var _0x117738=this['_hash'],_0x270f27=_0x117738[_0x512c36(0x163)],_0x1c2302=0x0;_0x1c2302<0x4;_0x1c2302++){var _0x350231=_0x270f27[_0x1c2302];_0x270f27[_0x1c2302]=(_0x350231<<0x8|_0x350231>>>0x18)&0xff00ff|(_0x350231<<0x18|_0x350231>>>0x8)&0xff00ff00;}return _0x117738;},'clone':function(){var _0x2d16f6=_0x38ea19,_0x51af52=_0x146be0[_0x2d16f6(0x308)][_0x2d16f6(0xe8)](this);return _0x51af52['_hash']=this[_0x2d16f6(0x353)]['clone'](),_0x51af52;}});function _0x19ff44(_0x41de5e,_0x22493a,_0x45cbf6,_0x3ce413,_0x36dea4,_0x1edac0,_0xe47fc3){var _0x24345d=_0x41de5e+(_0x22493a&_0x45cbf6|~_0x22493a&_0x3ce413)+_0x36dea4+_0xe47fc3;return(_0x24345d<<_0x1edac0|_0x24345d>>>0x20-_0x1edac0)+_0x22493a;}function _0x4d5404(_0x426a0a,_0x1d67b8,_0x8f2d8c,_0x3700b9,_0x38fb94,_0x5ccd96,_0xc38fa3){var _0x33e032=_0x426a0a+(_0x1d67b8&_0x3700b9|_0x8f2d8c&~_0x3700b9)+_0x38fb94+_0xc38fa3;return(_0x33e032<<_0x5ccd96|_0x33e032>>>0x20-_0x5ccd96)+_0x1d67b8;}function _0x15fc14(_0x25d298,_0x1909f1,_0xf798f6,_0x259333,_0x56f3ca,_0x336e9b,_0x4f3e1d){var _0x396962=_0x25d298+(_0x1909f1^_0xf798f6^_0x259333)+_0x56f3ca+_0x4f3e1d;return(_0x396962<<_0x336e9b|_0x396962>>>0x20-_0x336e9b)+_0x1909f1;}function _0x18d5aa(_0x330b0a,_0x2b5274,_0x35091f,_0xccb7d2,_0x932182,_0x123473,_0x3950bd){var _0x1c5dec=_0x330b0a+(_0x35091f^(_0x2b5274|~_0xccb7d2))+_0x932182+_0x3950bd;return(_0x1c5dec<<_0x123473|_0x1c5dec>>>0x20-_0x123473)+_0x2b5274;}_0x3d488c[_0x38ea19(0x444)]=_0x146be0[_0x38ea19(0x245)](_0x58fcc9),_0x3d488c[_0x38ea19(0x2eb)]=_0x146be0['_createHmacHelper'](_0x58fcc9);}(Math),_0x5e1c31[_0xed8c20(0x444)];}));}(me)),me[_0x3688c6(0x3d3)];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee[_0x3c2833(0x3d3)],it;function Zi(){var _0x549dd0=_0x3c2833;return it||(it=0x1,function(_0x1fb29e,_0x213f24){(function(_0x1b6059,_0x4d525e){var _0x8a8ec9=_0x4fcf;_0x1fb29e[_0x8a8ec9(0x3d3)]=_0x4d525e(ee());}(Xi,function(_0x505039){return(function(){var _0xd5c801=_0x4fcf,_0x248457=_0x505039,_0x443a19=_0x248457['lib'],_0x75e317=_0x443a19[_0xd5c801(0x28a)],_0x442a37=_0x443a19[_0xd5c801(0x37d)],_0x19ecb8=_0x248457[_0xd5c801(0x2ab)],_0x1ed765=[],_0x1ea214=_0x19ecb8['SHA1']=_0x442a37['extend']({'_doReset':function(){var _0x3314f8=_0xd5c801;this[_0x3314f8(0x353)]=new _0x75e317[(_0x3314f8(0x360))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c9043,_0x45506a){var _0x4b807f=_0xd5c801;for(var _0x3097d5=this[_0x4b807f(0x353)][_0x4b807f(0x163)],_0x8e961f=_0x3097d5[0x0],_0x57fa9a=_0x3097d5[0x1],_0x14f460=_0x3097d5[0x2],_0x32005b=_0x3097d5[0x3],_0x118af9=_0x3097d5[0x4],_0x21a2ab=0x0;_0x21a2ab<0x50;_0x21a2ab++){if(_0x21a2ab<0x10)_0x1ed765[_0x21a2ab]=_0x3c9043[_0x45506a+_0x21a2ab]|0x0;else{var _0x3cba93=_0x1ed765[_0x21a2ab-0x3]^_0x1ed765[_0x21a2ab-0x8]^_0x1ed765[_0x21a2ab-0xe]^_0x1ed765[_0x21a2ab-0x10];_0x1ed765[_0x21a2ab]=_0x3cba93<<0x1|_0x3cba93>>>0x1f;}var _0x2369d5=(_0x8e961f<<0x5|_0x8e961f>>>0x1b)+_0x118af9+_0x1ed765[_0x21a2ab];_0x21a2ab<0x14?_0x2369d5+=(_0x57fa9a&_0x14f460|~_0x57fa9a&_0x32005b)+0x5a827999:_0x21a2ab<0x28?_0x2369d5+=(_0x57fa9a^_0x14f460^_0x32005b)+0x6ed9eba1:_0x21a2ab<0x3c?_0x2369d5+=(_0x57fa9a&_0x14f460|_0x57fa9a&_0x32005b|_0x14f460&_0x32005b)-0x70e44324:_0x2369d5+=(_0x57fa9a^_0x14f460^_0x32005b)-0x359d3e2a,_0x118af9=_0x32005b,_0x32005b=_0x14f460,_0x14f460=_0x57fa9a<<0x1e|_0x57fa9a>>>0x2,_0x57fa9a=_0x8e961f,_0x8e961f=_0x2369d5;}_0x3097d5[0x0]=_0x3097d5[0x0]+_0x8e961f|0x0,_0x3097d5[0x1]=_0x3097d5[0x1]+_0x57fa9a|0x0,_0x3097d5[0x2]=_0x3097d5[0x2]+_0x14f460|0x0,_0x3097d5[0x3]=_0x3097d5[0x3]+_0x32005b|0x0,_0x3097d5[0x4]=_0x3097d5[0x4]+_0x118af9|0x0;},'_doFinalize':function(){var _0x4a6f8f=_0xd5c801,_0xb53cd6=this[_0x4a6f8f(0x39f)],_0x97cb49=_0xb53cd6[_0x4a6f8f(0x163)],_0x1f09e4=this[_0x4a6f8f(0x398)]*0x8,_0x304cfb=_0xb53cd6[_0x4a6f8f(0x1ef)]*0x8;return _0x97cb49[_0x304cfb>>>0x5]|=0x80<<0x18-_0x304cfb%0x20,_0x97cb49[(_0x304cfb+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1f09e4/0x100000000),_0x97cb49[(_0x304cfb+0x40>>>0x9<<0x4)+0xf]=_0x1f09e4,_0xb53cd6[_0x4a6f8f(0x1ef)]=_0x97cb49[_0x4a6f8f(0x294)]*0x4,this[_0x4a6f8f(0x175)](),this['_hash'];},'clone':function(){var _0x847022=_0xd5c801,_0x308206=_0x442a37[_0x847022(0x308)][_0x847022(0xe8)](this);return _0x308206[_0x847022(0x353)]=this['_hash']['clone'](),_0x308206;}});_0x248457[_0xd5c801(0x1d4)]=_0x442a37['_createHelper'](_0x1ea214),_0x248457[_0xd5c801(0x2e5)]=_0x442a37[_0xd5c801(0x2ac)](_0x1ea214);}()),_0x505039['SHA1'];}));}(Ee)),Ee[_0x549dd0(0x3d3)];}var Ce={'exports':{}},Qi=Ce[_0x3c2833(0x3d3)],nt;function en(){var _0x517a4d=_0x3c2833;return nt||(nt=0x1,function(_0x35678e,_0xb00dcc){(function(_0x30b272,_0x5f0fb1){var _0x144c9b=_0x4fcf;_0x35678e[_0x144c9b(0x3d3)]=_0x5f0fb1(ee());}(Qi,function(_0x377a3){(function(){var _0x421f7e=_0x4fcf,_0x4eee8e=_0x377a3,_0x1b38b8=_0x4eee8e[_0x421f7e(0x2c6)],_0x268d35=_0x1b38b8[_0x421f7e(0xf9)],_0x542b99=_0x4eee8e[_0x421f7e(0x113)],_0xa162a9=_0x542b99[_0x421f7e(0x10f)],_0x56dc97=_0x4eee8e[_0x421f7e(0x2ab)];_0x56dc97[_0x421f7e(0x1c6)]=_0x268d35[_0x421f7e(0x263)]({'init':function(_0x1b62ab,_0x315be9){var _0x2ee09d=_0x421f7e;_0x1b62ab=this['_hasher']=new _0x1b62ab[(_0x2ee09d(0x360))](),typeof _0x315be9==_0x2ee09d(0x447)&&(_0x315be9=_0xa162a9[_0x2ee09d(0x3ed)](_0x315be9));var _0x47b8e1=_0x1b62ab[_0x2ee09d(0x273)],_0x37ccb1=_0x47b8e1*0x4;_0x315be9[_0x2ee09d(0x1ef)]>_0x37ccb1&&(_0x315be9=_0x1b62ab[_0x2ee09d(0x445)](_0x315be9)),_0x315be9[_0x2ee09d(0x161)]();for(var _0x1fe525=this[_0x2ee09d(0x136)]=_0x315be9[_0x2ee09d(0x308)](),_0x10e967=this[_0x2ee09d(0x1e2)]=_0x315be9[_0x2ee09d(0x308)](),_0x1b3496=_0x1fe525['words'],_0x2f5ecb=_0x10e967[_0x2ee09d(0x163)],_0x16f0c3=0x0;_0x16f0c3<_0x47b8e1;_0x16f0c3++)_0x1b3496[_0x16f0c3]^=0x5c5c5c5c,_0x2f5ecb[_0x16f0c3]^=0x36363636;_0x1fe525[_0x2ee09d(0x1ef)]=_0x10e967[_0x2ee09d(0x1ef)]=_0x37ccb1,this[_0x2ee09d(0x139)]();},'reset':function(){var _0x4a599d=_0x421f7e,_0x26a89b=this['_hasher'];_0x26a89b[_0x4a599d(0x139)](),_0x26a89b[_0x4a599d(0x316)](this[_0x4a599d(0x1e2)]);},'update':function(_0x1cd1f0){var _0x4ac736=_0x421f7e;return this[_0x4ac736(0x27c)][_0x4ac736(0x316)](_0x1cd1f0),this;},'finalize':function(_0x4eff79){var _0x1702f5=_0x421f7e,_0x234ab2=this['_hasher'],_0x31e3ce=_0x234ab2[_0x1702f5(0x445)](_0x4eff79);_0x234ab2[_0x1702f5(0x139)]();var _0x26ab95=_0x234ab2[_0x1702f5(0x445)](this[_0x1702f5(0x136)][_0x1702f5(0x308)]()[_0x1702f5(0x135)](_0x31e3ce));return _0x26ab95;}});}());}));}(Ce)),Ce[_0x517a4d(0x3d3)];}var tn=Ie['exports'],rt;function wt(){var _0x3b5c51=_0x3c2833;return rt||(rt=0x1,function(_0x4781d1,_0x34dcd7){(function(_0x1cb297,_0xcf0574,_0x3b1e3e){var _0x1ee1e7=_0x4fcf;_0x4781d1[_0x1ee1e7(0x3d3)]=_0xcf0574(ee(),Zi(),en());}(tn,function(_0x49ef84){var _0x45681e=_0x4fcf;return(function(){var _0x34ce2a=_0x4fcf,_0x4a9a8c=_0x49ef84,_0x3d39ff=_0x4a9a8c[_0x34ce2a(0x2c6)],_0x3ae8ee=_0x3d39ff[_0x34ce2a(0xf9)],_0x4d7eaf=_0x3d39ff[_0x34ce2a(0x28a)],_0x42a322=_0x4a9a8c[_0x34ce2a(0x2ab)],_0x2c233c=_0x42a322[_0x34ce2a(0x444)],_0xc993b1=_0x42a322['EvpKDF']=_0x3ae8ee[_0x34ce2a(0x263)]({'cfg':_0x3ae8ee[_0x34ce2a(0x263)]({'keySize':0x80/0x20,'hasher':_0x2c233c,'iterations':0x1}),'init':function(_0x24a16b){var _0x40b6fd=_0x34ce2a;this['cfg']=this[_0x40b6fd(0x109)][_0x40b6fd(0x263)](_0x24a16b);},'compute':function(_0x45feaf,_0x422f8d){var _0x4c15ce=_0x34ce2a;for(var _0x741ea0,_0x552760=this[_0x4c15ce(0x109)],_0x1bde12=_0x552760['hasher'][_0x4c15ce(0x27a)](),_0x5cbc0b=_0x4d7eaf[_0x4c15ce(0x27a)](),_0x4c38be=_0x5cbc0b[_0x4c15ce(0x163)],_0x58c4f1=_0x552760[_0x4c15ce(0x291)],_0x3cbfca=_0x552760['iterations'];_0x4c38be[_0x4c15ce(0x294)]<_0x58c4f1;){_0x741ea0&&_0x1bde12[_0x4c15ce(0x316)](_0x741ea0),_0x741ea0=_0x1bde12['update'](_0x45feaf)[_0x4c15ce(0x445)](_0x422f8d),_0x1bde12[_0x4c15ce(0x139)]();for(var _0x3a2e98=0x1;_0x3a2e98<_0x3cbfca;_0x3a2e98++)_0x741ea0=_0x1bde12[_0x4c15ce(0x445)](_0x741ea0),_0x1bde12[_0x4c15ce(0x139)]();_0x5cbc0b[_0x4c15ce(0x135)](_0x741ea0);}return _0x5cbc0b[_0x4c15ce(0x1ef)]=_0x58c4f1*0x4,_0x5cbc0b;}});_0x4a9a8c[_0x34ce2a(0x25f)]=function(_0x15a471,_0x1bf37d,_0xfd53d){var _0x47de03=_0x34ce2a;return _0xc993b1[_0x47de03(0x27a)](_0xfd53d)[_0x47de03(0x2cb)](_0x15a471,_0x1bf37d);};}()),_0x49ef84[_0x45681e(0x25f)];}));}(Ie)),Ie[_0x3b5c51(0x3d3)];}var Te={'exports':{}},nn=Te['exports'],st;function At(){var _0x21cae3=_0x3c2833;return st||(st=0x1,function(_0x5b1e8d,_0x431eba){(function(_0x2f1b13,_0x2e5c60,_0x813380){var _0x2a99a9=_0x4fcf;_0x5b1e8d[_0x2a99a9(0x3d3)]=_0x2e5c60(ee(),wt());}(nn,function(_0x4abf15){var _0x4de70a=_0x4fcf;_0x4abf15[_0x4de70a(0x2c6)][_0x4de70a(0x253)]||function(_0x57816b){var _0x2fc28a=_0x4de70a,_0x549725=_0x4abf15,_0x1300f5=_0x549725[_0x2fc28a(0x2c6)],_0x298ce2=_0x1300f5[_0x2fc28a(0xf9)],_0x49b5f6=_0x1300f5[_0x2fc28a(0x28a)],_0x5823d8=_0x1300f5[_0x2fc28a(0x27f)],_0x2aefff=_0x549725[_0x2fc28a(0x113)];_0x2aefff[_0x2fc28a(0x10f)];var _0x3d2fa1=_0x2aefff[_0x2fc28a(0x17c)],_0xba7bbe=_0x549725['algo'],_0x26a281=_0xba7bbe[_0x2fc28a(0x25f)],_0x257e53=_0x1300f5[_0x2fc28a(0x253)]=_0x5823d8[_0x2fc28a(0x263)]({'cfg':_0x298ce2[_0x2fc28a(0x263)](),'createEncryptor':function(_0x3973b6,_0xb0f7ec){var _0x189e5d=_0x2fc28a;return this[_0x189e5d(0x27a)](this['_ENC_XFORM_MODE'],_0x3973b6,_0xb0f7ec);},'createDecryptor':function(_0x2c1f0c,_0x35d2da){var _0x55fd2a=_0x2fc28a;return this[_0x55fd2a(0x27a)](this[_0x55fd2a(0x373)],_0x2c1f0c,_0x35d2da);},'init':function(_0x3219c6,_0x2093a0,_0x4afe82){var _0x9ce32e=_0x2fc28a;this[_0x9ce32e(0x109)]=this['cfg'][_0x9ce32e(0x263)](_0x4afe82),this[_0x9ce32e(0x377)]=_0x3219c6,this[_0x9ce32e(0x1e0)]=_0x2093a0,this[_0x9ce32e(0x139)]();},'reset':function(){_0x5823d8['reset']['call'](this),this['_doReset']();},'process':function(_0x20e58d){var _0x54e855=_0x2fc28a;return this[_0x54e855(0x1e3)](_0x20e58d),this[_0x54e855(0x175)]();},'finalize':function(_0x192e5d){var _0xe28817=_0x2fc28a;_0x192e5d&&this['_append'](_0x192e5d);var _0x23455c=this[_0xe28817(0x2ba)]();return _0x23455c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x370062(_0x4a58f4){return typeof _0x4a58f4=='string'?_0x4c2eb1:_0xef961e;}return function(_0x41bdea){return{'encrypt':function(_0x43c4c6,_0x42ce99,_0xa544b4){var _0x783732=_0x4fcf;return _0x370062(_0x42ce99)[_0x783732(0x44a)](_0x41bdea,_0x43c4c6,_0x42ce99,_0xa544b4);},'decrypt':function(_0x19ac7b,_0x24e1e7,_0x4a3a26){var _0x27dada=_0x4fcf;return _0x370062(_0x24e1e7)[_0x27dada(0x131)](_0x41bdea,_0x19ac7b,_0x24e1e7,_0x4a3a26);}};};}())});_0x1300f5[_0x2fc28a(0x405)]=_0x257e53[_0x2fc28a(0x263)]({'_doFinalize':function(){var _0x23cb47=this['_process'](!0x0);return _0x23cb47;},'blockSize':0x1});var _0x31386b=_0x549725[_0x2fc28a(0x282)]={},_0xf2f6c1=_0x1300f5[_0x2fc28a(0x335)]=_0x298ce2[_0x2fc28a(0x263)]({'createEncryptor':function(_0x5452ec,_0x20be57){var _0x31a163=_0x2fc28a;return this[_0x31a163(0x3d9)][_0x31a163(0x27a)](_0x5452ec,_0x20be57);},'createDecryptor':function(_0x614d50,_0x757280){var _0x4f4305=_0x2fc28a;return this['Decryptor'][_0x4f4305(0x27a)](_0x614d50,_0x757280);},'init':function(_0x10c7ee,_0x3a252c){var _0x2423c1=_0x2fc28a;this[_0x2423c1(0x26d)]=_0x10c7ee,this[_0x2423c1(0x1f8)]=_0x3a252c;}}),_0x2d535e=_0x31386b['CBC']=(function(){var _0x41e35f=_0x2fc28a,_0x2697cb=_0xf2f6c1['extend']();_0x2697cb[_0x41e35f(0x3d9)]=_0x2697cb[_0x41e35f(0x263)]({'processBlock':function(_0x4992b3,_0x55e575){var _0x3fa023=_0x41e35f,_0x434001=this[_0x3fa023(0x26d)],_0x2746e2=_0x434001[_0x3fa023(0x273)];_0x1eb8b3[_0x3fa023(0xe8)](this,_0x4992b3,_0x55e575,_0x2746e2),_0x434001[_0x3fa023(0x32d)](_0x4992b3,_0x55e575),this[_0x3fa023(0x264)]=_0x4992b3[_0x3fa023(0x24a)](_0x55e575,_0x55e575+_0x2746e2);}}),_0x2697cb[_0x41e35f(0x235)]=_0x2697cb[_0x41e35f(0x263)]({'processBlock':function(_0x3d4246,_0x2fc43f){var _0x144288=_0x41e35f,_0x1e1ce5=this[_0x144288(0x26d)],_0x5381c3=_0x1e1ce5[_0x144288(0x273)],_0x2b5c3c=_0x3d4246['slice'](_0x2fc43f,_0x2fc43f+_0x5381c3);_0x1e1ce5[_0x144288(0x277)](_0x3d4246,_0x2fc43f),_0x1eb8b3[_0x144288(0xe8)](this,_0x3d4246,_0x2fc43f,_0x5381c3),this[_0x144288(0x264)]=_0x2b5c3c;}});function _0x1eb8b3(_0x2c8262,_0x33623,_0x19f080){var _0x187faf,_0x4852d1=this['_iv'];_0x4852d1?(_0x187faf=_0x4852d1,this['_iv']=_0x57816b):_0x187faf=this['_prevBlock'];for(var _0x18b345=0x0;_0x18b345<_0x19f080;_0x18b345++)_0x2c8262[_0x33623+_0x18b345]^=_0x187faf[_0x18b345];}return _0x2697cb;}()),_0x4b8102=_0x549725['pad']={},_0x34eef3=_0x4b8102[_0x2fc28a(0xfb)]={'pad':function(_0x1e8ce7,_0x2602aa){var _0x282096=_0x2fc28a;for(var _0x44e54f=_0x2602aa*0x4,_0x3e5649=_0x44e54f-_0x1e8ce7[_0x282096(0x1ef)]%_0x44e54f,_0x16880d=_0x3e5649<<0x18|_0x3e5649<<0x10|_0x3e5649<<0x8|_0x3e5649,_0x54ff2a=[],_0x3832ce=0x0;_0x3832ce<_0x3e5649;_0x3832ce+=0x4)_0x54ff2a[_0x282096(0x169)](_0x16880d);var _0x17e739=_0x49b5f6[_0x282096(0x27a)](_0x54ff2a,_0x3e5649);_0x1e8ce7['concat'](_0x17e739);},'unpad':function(_0x380d89){var _0x368854=_0x2fc28a,_0x54f499=_0x380d89[_0x368854(0x163)][_0x380d89['sigBytes']-0x1>>>0x2]&0xff;_0x380d89[_0x368854(0x1ef)]-=_0x54f499;}};_0x1300f5['BlockCipher']=_0x257e53[_0x2fc28a(0x263)]({'cfg':_0x257e53[_0x2fc28a(0x109)][_0x2fc28a(0x263)]({'mode':_0x2d535e,'padding':_0x34eef3}),'reset':function(){var _0x16d7d6=_0x2fc28a,_0xb3c33;_0x257e53['reset'][_0x16d7d6(0xe8)](this);var _0x5c929a=this['cfg'],_0x52a3d1=_0x5c929a['iv'],_0x50f0e5=_0x5c929a['mode'];this['_xformMode']==this[_0x16d7d6(0x25d)]?_0xb3c33=_0x50f0e5[_0x16d7d6(0x329)]:(_0xb3c33=_0x50f0e5[_0x16d7d6(0x3fc)],this[_0x16d7d6(0x184)]=0x1),this['_mode']&&this[_0x16d7d6(0x2c2)][_0x16d7d6(0x193)]==_0xb3c33?this[_0x16d7d6(0x2c2)][_0x16d7d6(0x360)](this,_0x52a3d1&&_0x52a3d1[_0x16d7d6(0x163)]):(this[_0x16d7d6(0x2c2)]=_0xb3c33['call'](_0x50f0e5,this,_0x52a3d1&&_0x52a3d1[_0x16d7d6(0x163)]),this[_0x16d7d6(0x2c2)]['__creator']=_0xb3c33);},'_doProcessBlock':function(_0x1675f4,_0x45e784){var _0x1a65b9=_0x2fc28a;this[_0x1a65b9(0x2c2)]['processBlock'](_0x1675f4,_0x45e784);},'_doFinalize':function(){var _0x49f70e=_0x2fc28a,_0x11e055,_0x587785=this[_0x49f70e(0x109)]['padding'];return this[_0x49f70e(0x377)]==this[_0x49f70e(0x25d)]?(_0x587785[_0x49f70e(0x3d7)](this[_0x49f70e(0x39f)],this[_0x49f70e(0x273)]),_0x11e055=this[_0x49f70e(0x175)](!0x0)):(_0x11e055=this[_0x49f70e(0x175)](!0x0),_0x587785[_0x49f70e(0x2df)](_0x11e055)),_0x11e055;},'blockSize':0x80/0x20});var _0x2b4b98=_0x1300f5[_0x2fc28a(0x287)]=_0x298ce2['extend']({'init':function(_0x3ccea6){var _0x1c6b05=_0x2fc28a;this[_0x1c6b05(0x274)](_0x3ccea6);},'toString':function(_0xff0d91){var _0x4fe8f3=_0x2fc28a;return(_0xff0d91||this[_0x4fe8f3(0x21d)])['stringify'](this);}}),_0x57c496=_0x549725['format']={},_0x307795=_0x57c496['OpenSSL']={'stringify':function(_0x53da65){var _0x2c0554=_0x2fc28a,_0x1ad406,_0x1bdc32=_0x53da65[_0x2c0554(0x1c1)],_0x22b4cc=_0x53da65[_0x2c0554(0x2ca)];return _0x22b4cc?_0x1ad406=_0x49b5f6['create']([0x53616c74,0x65645f5f])[_0x2c0554(0x135)](_0x22b4cc)[_0x2c0554(0x135)](_0x1bdc32):_0x1ad406=_0x1bdc32,_0x1ad406[_0x2c0554(0x3bb)](_0x3d2fa1);},'parse':function(_0x1a4e92){var _0x1c8136=_0x2fc28a,_0x52c775,_0xcbe04d=_0x3d2fa1['parse'](_0x1a4e92),_0x3a813b=_0xcbe04d['words'];return _0x3a813b[0x0]==0x53616c74&&_0x3a813b[0x1]==0x65645f5f&&(_0x52c775=_0x49b5f6[_0x1c8136(0x27a)](_0x3a813b[_0x1c8136(0x24a)](0x2,0x4)),_0x3a813b[_0x1c8136(0x137)](0x0,0x4),_0xcbe04d[_0x1c8136(0x1ef)]-=0x10),_0x2b4b98[_0x1c8136(0x27a)]({'ciphertext':_0xcbe04d,'salt':_0x52c775});}},_0xef961e=_0x1300f5['SerializableCipher']=_0x298ce2[_0x2fc28a(0x263)]({'cfg':_0x298ce2[_0x2fc28a(0x263)]({'format':_0x307795}),'encrypt':function(_0x518179,_0x769f5e,_0xb52dc0,_0x2ca063){var _0x4c31b9=_0x2fc28a;_0x2ca063=this[_0x4c31b9(0x109)]['extend'](_0x2ca063);var _0xb4d18c=_0x518179['createEncryptor'](_0xb52dc0,_0x2ca063),_0x356b6c=_0xb4d18c[_0x4c31b9(0x445)](_0x769f5e),_0x16aed5=_0xb4d18c[_0x4c31b9(0x109)];return _0x2b4b98['create']({'ciphertext':_0x356b6c,'key':_0xb52dc0,'iv':_0x16aed5['iv'],'algorithm':_0x518179,'mode':_0x16aed5[_0x4c31b9(0x282)],'padding':_0x16aed5[_0x4c31b9(0x3d8)],'blockSize':_0x518179[_0x4c31b9(0x273)],'formatter':_0x2ca063[_0x4c31b9(0x30b)]});},'decrypt':function(_0x55c1f0,_0x1a07c2,_0x43cd76,_0x411f9a){var _0x595a82=_0x2fc28a;_0x411f9a=this[_0x595a82(0x109)]['extend'](_0x411f9a),_0x1a07c2=this['_parse'](_0x1a07c2,_0x411f9a[_0x595a82(0x30b)]);var _0x2acd7b=_0x55c1f0[_0x595a82(0x3fc)](_0x43cd76,_0x411f9a)[_0x595a82(0x445)](_0x1a07c2[_0x595a82(0x1c1)]);return _0x2acd7b;},'_parse':function(_0x350e4f,_0x24d3ba){var _0x1dffbc=_0x2fc28a;return typeof _0x350e4f==_0x1dffbc(0x447)?_0x24d3ba[_0x1dffbc(0x3ed)](_0x350e4f,this):_0x350e4f;}}),_0x474e84=_0x549725[_0x2fc28a(0x2f4)]={},_0x25394f=_0x474e84[_0x2fc28a(0x215)]={'execute':function(_0x42d5b3,_0x428ad5,_0x21a946,_0x2844b4,_0x46a7a3){var _0x1075d1=_0x2fc28a;if(_0x2844b4||(_0x2844b4=_0x49b5f6[_0x1075d1(0xd8)](0x40/0x8)),_0x46a7a3)var _0x51ee69=_0x26a281[_0x1075d1(0x27a)]({'keySize':_0x428ad5+_0x21a946,'hasher':_0x46a7a3})[_0x1075d1(0x2cb)](_0x42d5b3,_0x2844b4);else var _0x51ee69=_0x26a281[_0x1075d1(0x27a)]({'keySize':_0x428ad5+_0x21a946})[_0x1075d1(0x2cb)](_0x42d5b3,_0x2844b4);var _0x11afd5=_0x49b5f6['create'](_0x51ee69[_0x1075d1(0x163)][_0x1075d1(0x24a)](_0x428ad5),_0x21a946*0x4);return _0x51ee69['sigBytes']=_0x428ad5*0x4,_0x2b4b98['create']({'key':_0x51ee69,'iv':_0x11afd5,'salt':_0x2844b4});}},_0x4c2eb1=_0x1300f5['PasswordBasedCipher']=_0xef961e[_0x2fc28a(0x263)]({'cfg':_0xef961e[_0x2fc28a(0x109)][_0x2fc28a(0x263)]({'kdf':_0x25394f}),'encrypt':function(_0x5cbd44,_0x3dd63d,_0x362e15,_0x508425){var _0x48109f=_0x2fc28a;_0x508425=this[_0x48109f(0x109)][_0x48109f(0x263)](_0x508425);var _0x39020c=_0x508425[_0x48109f(0x2f4)][_0x48109f(0x16c)](_0x362e15,_0x5cbd44[_0x48109f(0x291)],_0x5cbd44['ivSize'],_0x508425[_0x48109f(0x2ca)],_0x508425[_0x48109f(0x128)]);_0x508425['iv']=_0x39020c['iv'];var _0x50ac9a=_0xef961e[_0x48109f(0x44a)][_0x48109f(0xe8)](this,_0x5cbd44,_0x3dd63d,_0x39020c[_0x48109f(0x3b7)],_0x508425);return _0x50ac9a[_0x48109f(0x274)](_0x39020c),_0x50ac9a;},'decrypt':function(_0x4ab8d7,_0x5885bd,_0x42924f,_0x4d2d12){var _0x2d92ac=_0x2fc28a;_0x4d2d12=this[_0x2d92ac(0x109)][_0x2d92ac(0x263)](_0x4d2d12),_0x5885bd=this['_parse'](_0x5885bd,_0x4d2d12[_0x2d92ac(0x30b)]);var _0x24322b=_0x4d2d12[_0x2d92ac(0x2f4)][_0x2d92ac(0x16c)](_0x42924f,_0x4ab8d7[_0x2d92ac(0x291)],_0x4ab8d7[_0x2d92ac(0x3e6)],_0x5885bd[_0x2d92ac(0x2ca)],_0x4d2d12[_0x2d92ac(0x128)]);_0x4d2d12['iv']=_0x24322b['iv'];var _0x479dbe=_0xef961e['decrypt'][_0x2d92ac(0xe8)](this,_0x4ab8d7,_0x5885bd,_0x24322b[_0x2d92ac(0x3b7)],_0x4d2d12);return _0x479dbe;}});}();}));}(Te)),Te[_0x21cae3(0x3d3)];}var rn=Se['exports'],ot;function sn(){var _0x12e9bc=_0x3c2833;return ot||(ot=0x1,function(_0x5bc03d,_0x25eaec){(function(_0x3453ad,_0x3bee9e,_0x1ac4dc){_0x5bc03d['exports']=_0x3bee9e(ee(),Dt(),Ji(),wt(),At());}(rn,function(_0x687e9f){var _0x1d2883=_0x4fcf;return(function(){var _0x5332e5=_0x4fcf,_0xcd726d=_0x687e9f,_0x1940b0=_0xcd726d[_0x5332e5(0x2c6)],_0x56e7da=_0x1940b0[_0x5332e5(0x155)],_0x41367a=_0xcd726d[_0x5332e5(0x2ab)],_0x5e0d3a=[],_0x1395e3=[],_0x27652e=[],_0x4eac9d=[],_0x1b6aba=[],_0x3f66b7=[],_0x4239cd=[],_0x800e18=[],_0x24dabc=[],_0x15b3d6=[];(function(){for(var _0x4f8875=[],_0x7e06f5=0x0;_0x7e06f5<0x100;_0x7e06f5++)_0x7e06f5<0x80?_0x4f8875[_0x7e06f5]=_0x7e06f5<<0x1:_0x4f8875[_0x7e06f5]=_0x7e06f5<<0x1^0x11b;for(var _0x47f3ef=0x0,_0x4833fc=0x0,_0x7e06f5=0x0;_0x7e06f5<0x100;_0x7e06f5++){var _0x432ea0=_0x4833fc^_0x4833fc<<0x1^_0x4833fc<<0x2^_0x4833fc<<0x3^_0x4833fc<<0x4;_0x432ea0=_0x432ea0>>>0x8^_0x432ea0&0xff^0x63,_0x5e0d3a[_0x47f3ef]=_0x432ea0,_0x1395e3[_0x432ea0]=_0x47f3ef;var _0x26c882=_0x4f8875[_0x47f3ef],_0x5dc33b=_0x4f8875[_0x26c882],_0x39314f=_0x4f8875[_0x5dc33b],_0x5ba70f=_0x4f8875[_0x432ea0]*0x101^_0x432ea0*0x1010100;_0x27652e[_0x47f3ef]=_0x5ba70f<<0x18|_0x5ba70f>>>0x8,_0x4eac9d[_0x47f3ef]=_0x5ba70f<<0x10|_0x5ba70f>>>0x10,_0x1b6aba[_0x47f3ef]=_0x5ba70f<<0x8|_0x5ba70f>>>0x18,_0x3f66b7[_0x47f3ef]=_0x5ba70f;var _0x5ba70f=_0x39314f*0x1010101^_0x5dc33b*0x10001^_0x26c882*0x101^_0x47f3ef*0x1010100;_0x4239cd[_0x432ea0]=_0x5ba70f<<0x18|_0x5ba70f>>>0x8,_0x800e18[_0x432ea0]=_0x5ba70f<<0x10|_0x5ba70f>>>0x10,_0x24dabc[_0x432ea0]=_0x5ba70f<<0x8|_0x5ba70f>>>0x18,_0x15b3d6[_0x432ea0]=_0x5ba70f,_0x47f3ef?(_0x47f3ef=_0x26c882^_0x4f8875[_0x4f8875[_0x4f8875[_0x39314f^_0x26c882]]],_0x4833fc^=_0x4f8875[_0x4f8875[_0x4833fc]]):_0x47f3ef=_0x4833fc=0x1;}}());var _0x16b670=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ae8f4=_0x41367a[_0x5332e5(0x2aa)]=_0x56e7da[_0x5332e5(0x263)]({'_doReset':function(){var _0x359994=_0x5332e5,_0x53e42a;if(!(this[_0x359994(0x1ba)]&&this['_keyPriorReset']===this['_key'])){for(var _0x35b399=this[_0x359994(0x369)]=this[_0x359994(0x1e0)],_0x2c1ddb=_0x35b399[_0x359994(0x163)],_0x48fe87=_0x35b399[_0x359994(0x1ef)]/0x4,_0x54ea85=this[_0x359994(0x1ba)]=_0x48fe87+0x6,_0x176a31=(_0x54ea85+0x1)*0x4,_0x5f4308=this['_keySchedule']=[],_0x45c837=0x0;_0x45c837<_0x176a31;_0x45c837++)_0x45c837<_0x48fe87?_0x5f4308[_0x45c837]=_0x2c1ddb[_0x45c837]:(_0x53e42a=_0x5f4308[_0x45c837-0x1],_0x45c837%_0x48fe87?_0x48fe87>0x6&&_0x45c837%_0x48fe87==0x4&&(_0x53e42a=_0x5e0d3a[_0x53e42a>>>0x18]<<0x18|_0x5e0d3a[_0x53e42a>>>0x10&0xff]<<0x10|_0x5e0d3a[_0x53e42a>>>0x8&0xff]<<0x8|_0x5e0d3a[_0x53e42a&0xff]):(_0x53e42a=_0x53e42a<<0x8|_0x53e42a>>>0x18,_0x53e42a=_0x5e0d3a[_0x53e42a>>>0x18]<<0x18|_0x5e0d3a[_0x53e42a>>>0x10&0xff]<<0x10|_0x5e0d3a[_0x53e42a>>>0x8&0xff]<<0x8|_0x5e0d3a[_0x53e42a&0xff],_0x53e42a^=_0x16b670[_0x45c837/_0x48fe87|0x0]<<0x18),_0x5f4308[_0x45c837]=_0x5f4308[_0x45c837-_0x48fe87]^_0x53e42a);for(var _0x2b9442=this[_0x359994(0x2ec)]=[],_0x4fcb56=0x0;_0x4fcb56<_0x176a31;_0x4fcb56++){var _0x45c837=_0x176a31-_0x4fcb56;if(_0x4fcb56%0x4)var _0x53e42a=_0x5f4308[_0x45c837];else var _0x53e42a=_0x5f4308[_0x45c837-0x4];_0x4fcb56<0x4||_0x45c837<=0x4?_0x2b9442[_0x4fcb56]=_0x53e42a:_0x2b9442[_0x4fcb56]=_0x4239cd[_0x5e0d3a[_0x53e42a>>>0x18]]^_0x800e18[_0x5e0d3a[_0x53e42a>>>0x10&0xff]]^_0x24dabc[_0x5e0d3a[_0x53e42a>>>0x8&0xff]]^_0x15b3d6[_0x5e0d3a[_0x53e42a&0xff]];}}},'encryptBlock':function(_0x195db7,_0xdb99ff){var _0x3f64c3=_0x5332e5;this[_0x3f64c3(0x198)](_0x195db7,_0xdb99ff,this[_0x3f64c3(0x2a7)],_0x27652e,_0x4eac9d,_0x1b6aba,_0x3f66b7,_0x5e0d3a);},'decryptBlock':function(_0x294894,_0x106d16){var _0x35b085=_0x5332e5,_0x357343=_0x294894[_0x106d16+0x1];_0x294894[_0x106d16+0x1]=_0x294894[_0x106d16+0x3],_0x294894[_0x106d16+0x3]=_0x357343,this['_doCryptBlock'](_0x294894,_0x106d16,this[_0x35b085(0x2ec)],_0x4239cd,_0x800e18,_0x24dabc,_0x15b3d6,_0x1395e3);var _0x357343=_0x294894[_0x106d16+0x1];_0x294894[_0x106d16+0x1]=_0x294894[_0x106d16+0x3],_0x294894[_0x106d16+0x3]=_0x357343;},'_doCryptBlock':function(_0x2459c9,_0x2646b5,_0x3be7b6,_0x173d1d,_0x263f27,_0x3abc8b,_0x4a3c79,_0x5c125e){var _0x34d634=_0x5332e5;for(var _0x195367=this[_0x34d634(0x1ba)],_0x48c0ac=_0x2459c9[_0x2646b5]^_0x3be7b6[0x0],_0x1cd022=_0x2459c9[_0x2646b5+0x1]^_0x3be7b6[0x1],_0x3ebf0d=_0x2459c9[_0x2646b5+0x2]^_0x3be7b6[0x2],_0x314f8f=_0x2459c9[_0x2646b5+0x3]^_0x3be7b6[0x3],_0x39e201=0x4,_0x4c802c=0x1;_0x4c802c<_0x195367;_0x4c802c++){var _0x1c0c01=_0x173d1d[_0x48c0ac>>>0x18]^_0x263f27[_0x1cd022>>>0x10&0xff]^_0x3abc8b[_0x3ebf0d>>>0x8&0xff]^_0x4a3c79[_0x314f8f&0xff]^_0x3be7b6[_0x39e201++],_0xf71fe8=_0x173d1d[_0x1cd022>>>0x18]^_0x263f27[_0x3ebf0d>>>0x10&0xff]^_0x3abc8b[_0x314f8f>>>0x8&0xff]^_0x4a3c79[_0x48c0ac&0xff]^_0x3be7b6[_0x39e201++],_0x579b6c=_0x173d1d[_0x3ebf0d>>>0x18]^_0x263f27[_0x314f8f>>>0x10&0xff]^_0x3abc8b[_0x48c0ac>>>0x8&0xff]^_0x4a3c79[_0x1cd022&0xff]^_0x3be7b6[_0x39e201++],_0x2ff054=_0x173d1d[_0x314f8f>>>0x18]^_0x263f27[_0x48c0ac>>>0x10&0xff]^_0x3abc8b[_0x1cd022>>>0x8&0xff]^_0x4a3c79[_0x3ebf0d&0xff]^_0x3be7b6[_0x39e201++];_0x48c0ac=_0x1c0c01,_0x1cd022=_0xf71fe8,_0x3ebf0d=_0x579b6c,_0x314f8f=_0x2ff054;}var _0x1c0c01=(_0x5c125e[_0x48c0ac>>>0x18]<<0x18|_0x5c125e[_0x1cd022>>>0x10&0xff]<<0x10|_0x5c125e[_0x3ebf0d>>>0x8&0xff]<<0x8|_0x5c125e[_0x314f8f&0xff])^_0x3be7b6[_0x39e201++],_0xf71fe8=(_0x5c125e[_0x1cd022>>>0x18]<<0x18|_0x5c125e[_0x3ebf0d>>>0x10&0xff]<<0x10|_0x5c125e[_0x314f8f>>>0x8&0xff]<<0x8|_0x5c125e[_0x48c0ac&0xff])^_0x3be7b6[_0x39e201++],_0x579b6c=(_0x5c125e[_0x3ebf0d>>>0x18]<<0x18|_0x5c125e[_0x314f8f>>>0x10&0xff]<<0x10|_0x5c125e[_0x48c0ac>>>0x8&0xff]<<0x8|_0x5c125e[_0x1cd022&0xff])^_0x3be7b6[_0x39e201++],_0x2ff054=(_0x5c125e[_0x314f8f>>>0x18]<<0x18|_0x5c125e[_0x48c0ac>>>0x10&0xff]<<0x10|_0x5c125e[_0x1cd022>>>0x8&0xff]<<0x8|_0x5c125e[_0x3ebf0d&0xff])^_0x3be7b6[_0x39e201++];_0x2459c9[_0x2646b5]=_0x1c0c01,_0x2459c9[_0x2646b5+0x1]=_0xf71fe8,_0x2459c9[_0x2646b5+0x2]=_0x579b6c,_0x2459c9[_0x2646b5+0x3]=_0x2ff054;},'keySize':0x100/0x20});_0xcd726d[_0x5332e5(0x2aa)]=_0x56e7da['_createHelper'](_0x1ae8f4);}()),_0x687e9f[_0x1d2883(0x2aa)];}));}(Se)),Se[_0x12e9bc(0x3d3)];}var on=sn();const an=fe(on);var cn=Dt();const at=fe(cn);var be={'exports':{}},hn=be['exports'],ct;function ln(){var _0x4a6a06=_0x3c2833;return ct||(ct=0x1,function(_0x508ae0,_0x479229){(function(_0x31c6fb,_0x4ec677){var _0x2bd4d1=_0x4fcf;_0x508ae0[_0x2bd4d1(0x3d3)]=_0x4ec677(ee());}(hn,function(_0x24c8c0){var _0xcc6344=_0x4fcf;return _0x24c8c0[_0xcc6344(0x113)][_0xcc6344(0x10f)];}));}(be)),be[_0x4a6a06(0x3d3)];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0x3c2833(0x3d3)],ht;function vn(){var _0x955038=_0x3c2833;return ht||(ht=0x1,function(_0x23e027,_0x287294){(function(_0x24f757,_0x295f20){var _0x1d12f4=_0x4fcf;_0x23e027[_0x1d12f4(0x3d3)]=_0x295f20(ee());}(dn,function(_0x506e1a){var _0x26230a=_0x4fcf;return(function(){var _0x3aa63d=_0x4fcf;if(typeof ArrayBuffer==_0x3aa63d(0x1ae)){var _0x30726a=_0x506e1a,_0x4bde14=_0x30726a[_0x3aa63d(0x2c6)],_0x136fff=_0x4bde14[_0x3aa63d(0x28a)],_0x13de44=_0x136fff[_0x3aa63d(0x360)],_0x5ad7af=_0x136fff[_0x3aa63d(0x360)]=function(_0x4c39a0){var _0x476091=_0x3aa63d;if(_0x4c39a0 instanceof ArrayBuffer&&(_0x4c39a0=new Uint8Array(_0x4c39a0)),(_0x4c39a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c39a0 instanceof Uint8ClampedArray||_0x4c39a0 instanceof Int16Array||_0x4c39a0 instanceof Uint16Array||_0x4c39a0 instanceof Int32Array||_0x4c39a0 instanceof Uint32Array||_0x4c39a0 instanceof Float32Array||_0x4c39a0 instanceof Float64Array)&&(_0x4c39a0=new Uint8Array(_0x4c39a0[_0x476091(0x3c6)],_0x4c39a0[_0x476091(0x22f)],_0x4c39a0[_0x476091(0x386)])),_0x4c39a0 instanceof Uint8Array){for(var _0x470bfb=_0x4c39a0[_0x476091(0x386)],_0x283886=[],_0x42d24c=0x0;_0x42d24c<_0x470bfb;_0x42d24c++)_0x283886[_0x42d24c>>>0x2]|=_0x4c39a0[_0x42d24c]<<0x18-_0x42d24c%0x4*0x8;_0x13de44[_0x476091(0xe8)](this,_0x283886,_0x470bfb);}else _0x13de44['apply'](this,arguments);};_0x5ad7af[_0x3aa63d(0x203)]=_0x136fff;}}()),_0x506e1a[_0x26230a(0x2c6)][_0x26230a(0x28a)];}));}(Re)),Re[_0x955038(0x3d3)];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x3c2833(0x3d3)],lt;function gn(){var _0x35745a=_0x3c2833;return lt||(lt=0x1,function(_0x497695,_0x22bcde){(function(_0x275362,_0x1b1663,_0xa1a64d){_0x497695['exports']=_0x1b1663(ee(),At());}(pn,function(_0x117632){var _0x47cdd2=_0x4fcf;return _0x117632[_0x47cdd2(0x3d7)][_0x47cdd2(0x254)]={'pad':function(){},'unpad':function(){}},_0x117632[_0x47cdd2(0x3d7)][_0x47cdd2(0x254)];}));}(Oe)),Oe[_0x35745a(0x3d3)];}var mn=gn();const In=fe(mn);function En(_0x529577,_0x47baa9){var _0x1034e4=_0x3c2833;const _0x97cb5b=_0x47baa9-_0x529577[_0x1034e4(0x294)]%_0x47baa9,_0x35c07a=String[_0x1034e4(0x365)](_0x97cb5b)['repeat'](_0x97cb5b);return _0x529577+_0x35c07a;}function Cn(_0x4dc2a9,_0x42e4ad){var _0x3ac1e4=_0x3c2833;const _0x1c0131=Sn['random'](0x10),_0x5868fc=En(_0x4dc2a9,0x10),_0x5d366c=an['encrypt'](un[_0x3ac1e4(0x3ed)](_0x5868fc),at[_0x3ac1e4(0x3ed)](_0x42e4ad),{'iv':_0x1c0131,'padding':In});return _0x1c0131[_0x3ac1e4(0x135)](_0x5d366c[_0x3ac1e4(0x1c1)])[_0x3ac1e4(0x3bb)](at);}function Tn(){var _0x210b7c=_0x3c2833;const _0x43b02b=$t[_0x210b7c(0x361)]()[_0x210b7c(0x2d7)];if(_0x43b02b){const _0x31b60c={'time':Math[_0x210b7c(0x357)](Date[_0x210b7c(0x25c)]()/0x3e8),'domain':location[_0x210b7c(0x29e)]};return Cn(JSON[_0x210b7c(0x450)](_0x31b60c),_0x43b02b);}}var bn=Object[_0x3c2833(0x1b7)],Rn=Object[_0x3c2833(0x404)],On=(_0xbdb710,_0x39b462,_0x1146ce,_0x540a39)=>{var _0x589389=_0x3c2833;for(var _0x15fb15=_0x540a39>0x1?void 0x0:_0x540a39?Rn(_0x39b462,_0x1146ce):_0x39b462,_0x2947f4=_0xbdb710[_0x589389(0x294)]-0x1,_0x1fab7f;_0x2947f4>=0x0;_0x2947f4--)(_0x1fab7f=_0xbdb710[_0x2947f4])&&(_0x15fb15=(_0x540a39?_0x1fab7f(_0x39b462,_0x1146ce,_0x15fb15):_0x1fab7f(_0x15fb15))||_0x15fb15);return _0x540a39&&_0x15fb15&&bn(_0x39b462,_0x1146ce,_0x15fb15),_0x15fb15;},yn=(_0x218948,_0x5c9cdb)=>(_0x3696d9,_0x4ea8aa)=>_0x5c9cdb(_0x3696d9,_0x4ea8aa,_0x218948);function _0x4fcf(_0x339c96,_0x56dc26){var _0x2ff8e2=_0x2ff8();return _0x4fcf=function(_0x4fcf86,_0x1d9daa){_0x4fcf86=_0x4fcf86-0xc7;var _0x4c2887=_0x2ff8e2[_0x4fcf86];return _0x4c2887;},_0x4fcf(_0x339c96,_0x56dc26);}let Pe=class{constructor(_0x23fd16){var _0xadf76c=_0x3c2833;this[_0xadf76c(0x28b)]=_0x23fd16,this['_initRequestHeader']();}[_0x3c2833(0x23b)](){var _0xae7810=_0x3c2833;this[_0xae7810(0x28b)][_0xae7810(0x3b8)]({'interceptor':(_0x51bc79,_0x545cef)=>{var _0x450361=_0xae7810;const _0x513aba=_0x51bc79[_0x450361(0x42e)],_0x29e44c=Tn();return _0x29e44c&&_0x513aba['set']('x-univer-host',_0x29e44c),_0x545cef(_0x51bc79);}});}};Pe=On([yn(0x0,a[_0x3c2833(0x399)](z[_0x3c2833(0x2d0)]))],Pe);var Pn=Object['defineProperty'],Nn=Object[_0x3c2833(0x404)],Un=(_0x28c344,_0x481cb7,_0x2789ed,_0x233a2b)=>{var _0x59ff63=_0x3c2833;for(var _0x1423d7=_0x233a2b>0x1?void 0x0:_0x233a2b?Nn(_0x481cb7,_0x2789ed):_0x481cb7,_0x4bbb1f=_0x28c344[_0x59ff63(0x294)]-0x1,_0xdc7a6d;_0x4bbb1f>=0x0;_0x4bbb1f--)(_0xdc7a6d=_0x28c344[_0x4bbb1f])&&(_0x1423d7=(_0x233a2b?_0xdc7a6d(_0x481cb7,_0x2789ed,_0x1423d7):_0xdc7a6d(_0x1423d7))||_0x1423d7);return _0x233a2b&&_0x1423d7&&Pn(_0x481cb7,_0x2789ed,_0x1423d7),_0x1423d7;},Me=(_0x24afd9,_0x1c2970)=>(_0x1b4a83,_0xbc5d1e)=>_0x1c2970(_0x1b4a83,_0xbc5d1e,_0x24afd9);exports[_0x3c2833(0x231)]=class extends a[_0x3c2833(0x1d5)]{constructor(_0x15c467,_0x271323,_0x593c56){var _0x1e5d93=_0x3c2833;super(),D(this,_0x1e5d93(0x1fc),new H[(_0x1e5d93(0x31e))](null)),D(this,_0x1e5d93(0x30f),this[_0x1e5d93(0x1fc)]['asObservable']()),(this[_0x1e5d93(0x44d)]=_0x15c467,this['_snapshotService']=_0x271323,this['_localCacheService']=_0x593c56);}async[_0x3c2833(0x3cb)](_0x593780,_0x309236,_0x14813f){var _0x2af1ec=_0x3c2833;this[_0x2af1ec(0x1fc)]['next']({'unitId':_0x593780,'type':_0x309236,'subUnitId':_0x14813f});let _0x41b047=null;switch(_0x309236){case Z[_0x2af1ec(0x256)]:{_0x41b047=await this[_0x2af1ec(0x1e9)](_0x593780);break;}case Z[_0x2af1ec(0x25a)]:{_0x41b047=await this[_0x2af1ec(0x2ee)](_0x593780);break;}default:{this['_logService'][_0x2af1ec(0x15b)](_0x2af1ec(0x17f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x41b047;}async[_0x3c2833(0x1e9)](_0x35ea8a){var _0x3d8573=_0x3c2833,_0x2720e6;let _0x32cebb=0x0;const _0x3d12d0=await((_0x2720e6=this[_0x3d8573(0x336)])==null?void 0x0:_0x2720e6['loadOfflineData'](_0x35ea8a));return _0x3d12d0&&(_0x3d12d0[_0x3d8573(0x385)]||_0x3d12d0[_0x3d8573(0x146)][_0x3d8573(0x294)]!==0x0)&&(_0x32cebb=_0x3d12d0[_0x3d8573(0x442)]),_0x32cebb===0x0&&this[_0x3d8573(0x44d)][_0x3d8573(0x348)](_0x3d8573(0x17f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3d8573(0x1db)][_0x3d8573(0x23d)](_0x35ea8a,_0x32cebb);}async[_0x3c2833(0x2ee)](_0x4ad909){var _0x590614=_0x3c2833,_0x33fa47;let _0x50bf28=0x0;const _0x2c4027=await((_0x33fa47=this['_localCacheService'])==null?void 0x0:_0x33fa47[_0x590614(0x383)](_0x4ad909));return _0x2c4027&&(_0x2c4027[_0x590614(0x385)]||_0x2c4027[_0x590614(0x146)][_0x590614(0x294)]!==0x0)&&(_0x50bf28=_0x2c4027['rev']),_0x50bf28===0x0&&this['_logService'][_0x590614(0x348)](_0x590614(0x17f),_0x590614(0x176)),this[_0x590614(0x1db)]['loadDoc'](_0x4ad909,_0x50bf28);}},exports[_0x3c2833(0x231)]=Un([Me(0x0,a[_0x3c2833(0x433)]),Me(0x1,a[_0x3c2833(0x399)](m[_0x3c2833(0x36f)])),Me(0x2,a['Optional'](J))],exports[_0x3c2833(0x231)]);var Dn=Object[_0x3c2833(0x1b7)],wn=Object[_0x3c2833(0x404)],An=(_0x92e621,_0x23678e,_0x4fd121,_0x11162b)=>{for(var _0x190655=_0x11162b>0x1?void 0x0:_0x11162b?wn(_0x23678e,_0x4fd121):_0x23678e,_0x342a04=_0x92e621['length']-0x1,_0x17da75;_0x342a04>=0x0;_0x342a04--)(_0x17da75=_0x92e621[_0x342a04])&&(_0x190655=(_0x11162b?_0x17da75(_0x23678e,_0x4fd121,_0x190655):_0x17da75(_0x190655))||_0x190655);return _0x11162b&&_0x190655&&Dn(_0x23678e,_0x4fd121,_0x190655),_0x190655;},xe=(_0x4f0d27,_0x282fde)=>(_0x3a3dc9,_0x3cd416)=>_0x282fde(_0x3a3dc9,_0x3cd416,_0x4f0d27);const Ln=['image/png','image/jpeg',_0x3c2833(0x301),'image/gif',_0x3c2833(0x2c8)],Mn=0x5*0x400*0x400,xn=_0x3c2833(0x142),jn=_0x3c2833(0x1b0),$n=_0x3c2833(0x1cc),Hn=_0x3c2833(0x312);exports['CollaborationImageIoService']=class{constructor(_0x1ad0b6,_0x48d9a8,_0x102359){var _0x124dbb=_0x3c2833;D(this,_0x124dbb(0x2ef),0x0),D(this,_0x124dbb(0x3c2),new H['Subject']()),D(this,_0x124dbb(0x118),this[_0x124dbb(0x3c2)]),D(this,'_imageSourceCache',new Map()),(this[_0x124dbb(0x28b)]=_0x1ad0b6,this[_0x124dbb(0x302)]=_0x48d9a8,this[_0x124dbb(0x24b)]=_0x102359);}['setWaitCount'](_0xd0e479){var _0x1c7503=_0x3c2833;this[_0x1c7503(0x2ef)]=_0xd0e479,this['_change$'][_0x1c7503(0x278)](_0xd0e479);}[_0x3c2833(0x346)](_0x10baaa,_0x43d8c6){var _0x3df2ee=_0x3c2833;if(_0x43d8c6===X[_0x3df2ee(0x224)]['BASE64']){const _0x4cb272=new Image();return _0x4cb272[_0x3df2ee(0x388)]=_0x10baaa,_0x4cb272;}return this['_imageSourceCache'][_0x3df2ee(0x207)](_0x10baaa);}[_0x3c2833(0x28d)](_0x206563,_0x36bf93,_0x319b87){var _0x1d3a11=_0x3c2833;_0x36bf93===X[_0x1d3a11(0x224)][_0x1d3a11(0x36e)]||_0x319b87==null||this['_imageSourceCache'][_0x1d3a11(0x42f)](_0x206563,_0x319b87);}async[_0x3c2833(0x3a3)](_0x597528){var _0x5f1fea=_0x3c2833;try{const _0x3bdb4e=this[_0x5f1fea(0x3f8)](this[_0x5f1fea(0x15d)](),''+_0x597528),_0x27424d=(await this[_0x5f1fea(0x28b)][_0x5f1fea(0x207)](_0x3bdb4e))[_0x5f1fea(0x3e0)];if(_0x27424d[_0x5f1fea(0x15b)]&&_0x27424d[_0x5f1fea(0x15b)][_0x5f1fea(0x3e8)]===Tt['OK']){const _0x13bc35=new URL(_0x27424d['url'],this[_0x5f1fea(0x165)]())[_0x5f1fea(0x3bb)]();return Promise['resolve'](_0x13bc35);}return Promise[_0x5f1fea(0x219)](_0x27424d[_0x5f1fea(0x15b)]);}catch(_0x3af472){return Promise[_0x5f1fea(0x219)](_0x3af472);}}async[_0x3c2833(0x2bf)](_0x4f6c91){var _0x4a1396=_0x3c2833;let _0x574411='';if(!Ln[_0x4a1396(0x2cd)](_0x4f6c91[_0x4a1396(0x201)]))return this[_0x4a1396(0x2ed)](),Promise[_0x4a1396(0x219)](new Error(X[_0x4a1396(0x2d6)][_0x4a1396(0x395)]));if(_0x4f6c91[_0x4a1396(0x1ce)]>Mn)return this[_0x4a1396(0x2ed)](),Promise[_0x4a1396(0x219)](new Error(X[_0x4a1396(0x2d6)][_0x4a1396(0x3e3)]));try{const _0x9e22f5=new FormData();_0x9e22f5[_0x4a1396(0x237)]('file',_0x4f6c91);const _0x2a7b7e=this[_0x4a1396(0x24b)][_0x4a1396(0x31c)](),_0x4192c6=_0x2a7b7e==null?void 0x0:_0x2a7b7e[_0x4a1396(0x17d)]();if(!_0x4192c6)throw new Error(_0x4a1396(0x272));const _0x438770=this[_0x4a1396(0x418)]()+_0x4a1396(0x309)+_0x4f6c91[_0x4a1396(0x1ce)]['toString']()+_0x4a1396(0x159)+bt['UnitEmbedded']+_0x4a1396(0xdf)+encodeURIComponent(_0x4192c6),_0x41a7a3=await(await fetch(_0x438770,{'method':_0x4a1396(0x1c0),'body':_0x9e22f5}))[_0x4a1396(0x228)]();if(typeof _0x41a7a3[_0x4a1396(0x3b0)]!='string')return this[_0x4a1396(0x2ed)](),Promise[_0x4a1396(0x219)](new Error(X[_0x4a1396(0x2d6)]['ERROR_IMAGE']));_0x574411=_0x41a7a3[_0x4a1396(0x3b0)];}catch{return this[_0x4a1396(0x2ed)](),Promise[_0x4a1396(0x219)](new Error(X[_0x4a1396(0x2d6)]['ERROR_IMAGE']));}return new Promise((_0x1b7bda,_0xdda19e)=>{var _0x1d1bba=_0x4a1396;const _0xf84602=new FileReader();_0xf84602[_0x1d1bba(0xed)](_0x4f6c91),_0xf84602[_0x1d1bba(0xe6)]=_0x3edeb2=>{var _0xe802ea=_0x1d1bba,_0x2b1f04;const _0x1934bf=(_0x2b1f04=_0x3edeb2[_0xe802ea(0x439)])==null?void 0x0:_0x2b1f04[_0xe802ea(0x1d2)];if(_0x1934bf==null){this[_0xe802ea(0x2ed)](),_0xdda19e(new Error(X['ImageUploadStatusType'][_0xe802ea(0x3e5)]));return;}const _0x41d1ad=a[_0xe802ea(0x15a)][_0xe802ea(0x397)](0x6);_0x1b7bda({'imageId':_0x41d1ad,'imageSourceType':X[_0xe802ea(0x224)][_0xe802ea(0x18c)],'source':_0x574411,'base64Cache':_0x1934bf,'status':X[_0xe802ea(0x2d6)][_0xe802ea(0x143)]}),this[_0xe802ea(0x2ed)]();};});}['_getUploadFileURL'](){var _0x2a8a4b=_0x3c2833,_0x52ec3d,_0x570111;const _0x52a11b=this[_0x2a8a4b(0x302)][_0x2a8a4b(0x1cf)](xn),_0x57ed0c=this[_0x2a8a4b(0x302)][_0x2a8a4b(0x1cf)](q);return(_0x570111=(_0x52ec3d=_0x57ed0c==null?void 0x0:_0x57ed0c['uploadFileServerUrl'])!=null?_0x52ec3d:_0x52a11b)!=null?_0x570111:jn;}[_0x3c2833(0x15d)](){var _0xe9b483=_0x3c2833,_0x115a2b,_0x545c3f;const _0x57d356=this['_configService'][_0xe9b483(0x1cf)]($n),_0x12905e=this[_0xe9b483(0x302)]['getConfig'](q);return(_0x545c3f=(_0x115a2b=_0x12905e==null?void 0x0:_0x12905e[_0xe9b483(0x2e3)])!=null?_0x115a2b:_0x57d356)!=null?_0x545c3f:Hn;}[_0x3c2833(0x165)](){var _0x44931e=_0x3c2833,_0x25e510;const _0x34d4f4=this[_0x44931e(0x302)][_0x44931e(0x1cf)](q);return(_0x25e510=_0x34d4f4==null?void 0x0:_0x34d4f4['downloadEndpointUrl'])!=null?_0x25e510:location[_0x44931e(0x111)];}[_0x3c2833(0x3f8)](_0x148d9b,_0x47e579){var _0x368d38=_0x3c2833;return _0x148d9b[_0x368d38(0x429)]('{fileID}',_0x47e579);}['_decreaseWaiting'](){var _0x1a0cc4=_0x3c2833;this['_waitCount']-=0x1,this['_change$'][_0x1a0cc4(0x278)](this[_0x1a0cc4(0x2ef)]);}},exports[_0x3c2833(0x421)]=An([xe(0x0,a['Inject'](z[_0x3c2833(0x2d0)])),xe(0x1,a[_0x3c2833(0x279)]),xe(0x2,a[_0x3c2833(0x399)](a[_0x3c2833(0x374)]))],exports[_0x3c2833(0x421)]);var kn=Object['defineProperty'],Bn=Object[_0x3c2833(0x404)],Fn=(_0x609265,_0x2f441b,_0xd7614e,_0x5bff47)=>{for(var _0x40f483=_0x5bff47>0x1?void 0x0:_0x5bff47?Bn(_0x2f441b,_0xd7614e):_0x2f441b,_0x2be6c2=_0x609265['length']-0x1,_0x3fda6b;_0x2be6c2>=0x0;_0x2be6c2--)(_0x3fda6b=_0x609265[_0x2be6c2])&&(_0x40f483=(_0x5bff47?_0x3fda6b(_0x2f441b,_0xd7614e,_0x40f483):_0x3fda6b(_0x40f483))||_0x40f483);return _0x5bff47&&_0x40f483&&kn(_0x2f441b,_0xd7614e,_0x40f483),_0x40f483;},_t=(_0x564790,_0x446aa0)=>(_0x2448ec,_0x3b68f6)=>_0x446aa0(_0x2448ec,_0x3b68f6,_0x564790);const Wn='/universer-api/authz';exports[_0x3c2833(0x214)]=class{constructor(_0x440eb3,_0x2e6108){var _0x43ff36=_0x3c2833;this[_0x43ff36(0x302)]=_0x440eb3,this[_0x43ff36(0xdb)]=_0x2e6108;}[_0x3c2833(0xf0)](){var _0x1f43a3=_0x3c2833,_0x4f3e1f,_0x3ecba4;const _0x5be766=this[_0x1f43a3(0x302)][_0x1f43a3(0x1cf)](Ge),_0x1a24f4=this['_configService'][_0x1f43a3(0x1cf)](q);return(_0x3ecba4=(_0x4f3e1f=_0x1a24f4==null?void 0x0:_0x1a24f4[_0x1f43a3(0x230)])!=null?_0x4f3e1f:_0x5be766)!=null?_0x3ecba4:Wn;}async[_0x3c2833(0x259)](_0x53b429){var _0x2a2bd5=_0x3c2833;const _0x2f0518=this[_0x2a2bd5(0xf0)]()+_0x2a2bd5(0x3bf);return{'list':[{'title':_0x2a2bd5(0x17a),'mentions':(await this[_0x2a2bd5(0xdb)]['get'](_0x2f0518,{'params':{'objectID':_0x53b429[_0x2a2bd5(0x239)],'unitID':_0x53b429[_0x2a2bd5(0x239)]}}))['body'][_0x2a2bd5(0x2c0)][_0x2a2bd5(0x213)](_0xf99049=>({'objectId':_0xf99049['id'],'name':_0xf99049[_0x2a2bd5(0x290)][_0x2a2bd5(0x127)],'metadata':{'icon':_0xf99049[_0x2a2bd5(0x290)][_0x2a2bd5(0x124)]},'label':_0xf99049['subject'][_0x2a2bd5(0x127)],'objectType':a[_0x2a2bd5(0x1ff)]['PERSON']})),'metadata':{},'type':a['MentionType'][_0x2a2bd5(0x3ea)]}]};}},exports[_0x3c2833(0x214)]=Fn([_t(0x0,a[_0x3c2833(0x399)](a['IConfigService'])),_t(0x1,a['Inject'](z[_0x3c2833(0x2d0)]))],exports['MentionIoHttpService']);var Vn=Object[_0x3c2833(0x1b7)],Gn=Object[_0x3c2833(0x404)],Kn=(_0x259a31,_0x4d9156,_0x3cdda0,_0x25f7bd)=>{var _0x4af7dc=_0x3c2833;for(var _0x1b997e=_0x25f7bd>0x1?void 0x0:_0x25f7bd?Gn(_0x4d9156,_0x3cdda0):_0x4d9156,_0x50f22a=_0x259a31[_0x4af7dc(0x294)]-0x1,_0x3b7ff3;_0x50f22a>=0x0;_0x50f22a--)(_0x3b7ff3=_0x259a31[_0x50f22a])&&(_0x1b997e=(_0x25f7bd?_0x3b7ff3(_0x4d9156,_0x3cdda0,_0x1b997e):_0x3b7ff3(_0x1b997e))||_0x1b997e);return _0x25f7bd&&_0x1b997e&&Vn(_0x4d9156,_0x3cdda0,_0x1b997e),_0x1b997e;},ce=(_0x30f6ab,_0x15e2a7)=>(_0x12cdb9,_0x491dc7)=>_0x15e2a7(_0x12cdb9,_0x491dc7,_0x30f6ab);let Ne=class extends a[_0x3c2833(0x1d5)]{constructor(_0x586ec0,_0x15ef24,_0xbaaabc,_0x4bb29c,_0x259b8a,_0x394979,_0x239a61){var _0x3656e2=_0x3c2833;super(),this[_0x3656e2(0x37f)]=_0x586ec0,this[_0x3656e2(0x24b)]=_0x15ef24,this['_permissionService']=_0xbaaabc,this[_0x3656e2(0x436)]=_0x4bb29c,this[_0x3656e2(0x422)]=_0x259b8a,this[_0x3656e2(0x43f)]=_0x394979,this['_undoRedoService']=_0x239a61,this[_0x3656e2(0x249)](),this[_0x3656e2(0x10d)]();}[_0x3c2833(0x10d)](){var _0x4ebfe0=_0x3c2833;const _0x495e97=async _0x599bdb=>{var _0x59495f=_0x4fcf;(await this['_collaborationSessionService'][_0x59495f(0x1f3)](_0x599bdb))[_0x59495f(0x265)]['pipe'](V[_0x59495f(0x1c4)](_0x117873=>_0x117873['eventID']===m['CollaborationEvent'][_0x59495f(0xdc)]),V[_0x59495f(0x376)](this[_0x59495f(0x40e)]))[_0x59495f(0x187)](_0x57c5cc=>{var _0xb136d5=_0x59495f;const _0x4e58f7=_0x57c5cc,{reason:_0x21bd6b}=_0x4e58f7[_0xb136d5(0xd1)];this[_0xb136d5(0x422)][_0xb136d5(0xd6)]({'id':Q[_0xb136d5(0x1b2)],'data':_0x21bd6b}),this[_0xb136d5(0x247)]['updatePermissionPoint'](new W[(_0xb136d5(0x3be))](_0x599bdb)['id'],!0x1),this['_collaborationSessionService'][_0xb136d5(0x29a)](_0x599bdb);});};H[_0x4ebfe0(0x391)](this[_0x4ebfe0(0x24b)][_0x4ebfe0(0x144)](a[_0x4ebfe0(0x1e5)][_0x4ebfe0(0x256)]),this[_0x4ebfe0(0x24b)][_0x4ebfe0(0x144)](a[_0x4ebfe0(0x1e5)][_0x4ebfe0(0x25a)]))[_0x4ebfe0(0x240)](V[_0x4ebfe0(0x213)](_0x5c65b3=>_0x5c65b3[_0x4ebfe0(0x17d)]()),V['filter'](_0x156560=>!a[_0x4ebfe0(0xd0)](_0x156560)),V[_0x4ebfe0(0x376)](this[_0x4ebfe0(0x40e)]))['subscribe'](_0x17cecc=>{_0x495e97(_0x17cecc);});}[_0x3c2833(0x249)](){var _0x321d45=_0x3c2833;const _0x170c8d=async _0x1cccc4=>{var _0x1f13ec=_0x4fcf;(await this['_collaborationSessionService'][_0x1f13ec(0x1f3)](_0x1cccc4))[_0x1f13ec(0x265)][_0x1f13ec(0x240)](V[_0x1f13ec(0x1c4)](_0x1e3523=>_0x1e3523[_0x1f13ec(0x1bc)]===m[_0x1f13ec(0x43b)][_0x1f13ec(0x1b6)]),V[_0x1f13ec(0x376)](this[_0x1f13ec(0x40e)]))[_0x1f13ec(0x187)](_0x5cde2a=>{var _0x290479=_0x1f13ec;const _0xeac6a=_0x5cde2a,{objectId:_0x3a1727}=_0xeac6a['data'];_0x3a1727===_0x1cccc4?this[_0x290479(0x10c)](_0x1cccc4):this['refreshPermission'](_0x1cccc4,_0x3a1727);});};H[_0x321d45(0x391)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x321d45(0x1e5)][_0x321d45(0x256)]),this[_0x321d45(0x24b)][_0x321d45(0x144)](a[_0x321d45(0x1e5)][_0x321d45(0x25a)]))[_0x321d45(0x240)](V[_0x321d45(0x213)](_0x2a0ff7=>_0x2a0ff7['getUnitId']()),V[_0x321d45(0x1c4)](_0x10459f=>!a[_0x321d45(0xd0)](_0x10459f)),V[_0x321d45(0x376)](this['dispose$']))[_0x321d45(0x187)](_0x28ae32=>{_0x170c8d(_0x28ae32);});}async[_0x3c2833(0x10c)](_0x33dd01){var _0x1985ac=_0x3c2833,_0x1e0559;const _0x17669b=_0x33dd01||((_0x1e0559=this[_0x1985ac(0x24b)][_0x1985ac(0x2d3)](a[_0x1985ac(0x1e5)][_0x1985ac(0x256)]))==null?void 0x0:_0x1e0559['getUnitId']());_0x17669b&&this[_0x1985ac(0x43f)][_0x1985ac(0x1e4)]({'objectID':_0x17669b,'objectType':W[_0x1985ac(0x409)][_0x1985ac(0x26f)],'unitID':_0x17669b,'actions':W[_0x1985ac(0x246)]})[_0x1985ac(0x402)](_0x462427=>{var _0x59b875=_0x1985ac;W[_0x59b875(0xef)]()['forEach'](_0x4848e0=>{var _0x23c473=_0x59b875;const _0x1dd182=new _0x4848e0(_0x17669b),_0x2ecd6e=_0x1dd182[_0x23c473(0x372)],_0x36b67f=_0x462427[_0x23c473(0x1f1)](_0x247baa=>_0x247baa['action']===_0x2ecd6e);_0x36b67f&&this[_0x23c473(0x247)][_0x23c473(0x22e)](_0x1dd182['id'],_0x36b67f[_0x23c473(0x1e4)]);});});}['refreshPermission'](_0x5e15e1,_0x595ab9){var _0x2979ad=_0x3c2833;const _0x12281b=this['_injector']['get'](W[_0x2979ad(0x1d9)]),_0x23fc74=_0x12281b['getTargetByPermissionId'](_0x5e15e1,_0x595ab9);let _0x2c4f95=!0x1;if(_0x23fc74){const [_0xe371e8,_0xabba7a]=_0x23fc74;this[_0x2979ad(0x43f)][_0x2979ad(0x1e4)]({'objectID':_0x595ab9,'unitID':_0x5e15e1,'objectType':W[_0x2979ad(0x409)][_0x2979ad(0x363)],'actions':W['baseProtectionActions']})[_0x2979ad(0x402)](_0x158626=>{var _0x4fae0b=_0x2979ad;let _0x580f30='';W['getAllWorksheetPermissionPoint']()['forEach'](_0x2a48e8=>{var _0x45b401=_0x4fcf,_0x48c161;const _0x1f8c8d=new _0x2a48e8(_0x5e15e1,_0xabba7a),_0x5763b3=_0x1f8c8d[_0x45b401(0x372)],_0x5a5eff=_0x158626[_0x45b401(0x1f1)](_0x23a093=>_0x23a093['action']===_0x5763b3);_0x5a5eff&&(((_0x48c161=this['_permissionService']['getPermissionPoint'](_0x1f8c8d['id']))==null?void 0x0:_0x48c161['value'])!==_0x5a5eff[_0x45b401(0x1e4)]&&(_0x2c4f95=!0x0),this[_0x45b401(0x247)][_0x45b401(0x22e)](_0x1f8c8d['id'],_0x5a5eff['allowed']),_0x580f30+=_0x5a5eff['action']+'_'+_0x5a5eff[_0x45b401(0x1e4)]);}),_0x12281b[_0x4fae0b(0x1af)](_0x595ab9+'_'+_0x580f30),_0x2c4f95&&this[_0x4fae0b(0x16f)][_0x4fae0b(0x415)](_0x5e15e1);});}const _0x8a3817=this['_injector'][_0x2979ad(0x207)](W[_0x2979ad(0x25b)])['getTargetByPermissionId'](_0x5e15e1,_0x595ab9);if(_0x8a3817){const [_0x40c058,_0x160c57]=_0x8a3817;this['_authzIoService'][_0x2979ad(0x1e4)]({'objectID':_0x595ab9,'unitID':_0x5e15e1,'objectType':W['UnitObject'][_0x2979ad(0x363)],'actions':W['defaultWorksheetPermissionPoint']})[_0x2979ad(0x402)](_0x5b24da=>{var _0xe14837=_0x2979ad;W[_0xe14837(0x260)]()[_0xe14837(0x403)](_0x568123=>{var _0x658656=_0xe14837,_0x41dac6;const _0x147359=new _0x568123(_0x5e15e1,_0x160c57),_0x40d4cc=_0x147359['subType'],_0x235c88=_0x5b24da[_0x658656(0x1f1)](_0x2e241e=>_0x2e241e[_0x658656(0x16e)]===_0x40d4cc);_0x235c88&&(((_0x41dac6=this['_permissionService'][_0x658656(0x306)](_0x147359['id']))==null?void 0x0:_0x41dac6['value'])!==_0x235c88[_0x658656(0x1e4)]&&(_0x2c4f95=!0x0),this[_0x658656(0x247)][_0x658656(0x22e)](_0x147359['id'],_0x235c88['allowed']));}),_0x2c4f95&&this['_undoRedoService'][_0xe14837(0x415)](_0x5e15e1);});}const _0x5ca2f3=this[_0x2979ad(0x37f)][_0x2979ad(0x207)](W[_0x2979ad(0x11e)]),_0x4d6a81=_0x5ca2f3[_0x2979ad(0x1be)](_0x5e15e1,_0x595ab9);if(_0x4d6a81){const [_0x5dcd2d,_0x21995d]=_0x4d6a81;this[_0x2979ad(0x43f)][_0x2979ad(0x1e4)]({'objectID':_0x595ab9,'unitID':_0x5e15e1,'objectType':W[_0x2979ad(0x409)][_0x2979ad(0x2e2)],'actions':W[_0x2979ad(0x20d)]})['then'](_0xecce4a=>{var _0x21e88e=_0x2979ad;let _0x4b631f='';W[_0x21e88e(0x323)]()[_0x21e88e(0x403)](_0x1d8343=>{var _0x4ea2e2=_0x21e88e,_0x24b781;const _0x4d5365=new _0x1d8343(_0x5e15e1,_0x21995d,_0x595ab9),_0x205155=_0x4d5365[_0x4ea2e2(0x372)],_0x16820b=_0xecce4a[_0x4ea2e2(0x1f1)](_0x53f4fc=>_0x53f4fc['action']===_0x205155);_0x16820b&&(((_0x24b781=this[_0x4ea2e2(0x247)]['getPermissionPoint'](_0x4d5365['id']))==null?void 0x0:_0x24b781['value'])!==_0x16820b[_0x4ea2e2(0x1e4)]&&(_0x2c4f95=!0x0),this[_0x4ea2e2(0x247)][_0x4ea2e2(0x22e)](_0x4d5365['id'],_0x16820b[_0x4ea2e2(0x1e4)]),_0x4b631f+=_0x16820b[_0x4ea2e2(0x16e)]+'_'+_0x16820b[_0x4ea2e2(0x1e4)]);}),_0x5ca2f3['ruleRefresh'](_0x595ab9+'_'+_0x4b631f),_0x2c4f95&&this[_0x21e88e(0x16f)][_0x21e88e(0x415)](_0x5e15e1);});}}};Ne=Kn([ce(0x0,a[_0x3c2833(0x399)](a[_0x3c2833(0x179)])),ce(0x1,a[_0x3c2833(0x374)]),ce(0x2,a[_0x3c2833(0x2ae)]),ce(0x3,a[_0x3c2833(0x399)](exports['CollaborationSessionService'])),ce(0x4,a[_0x3c2833(0x399)](te)),ce(0x5,a[_0x3c2833(0x370)]),ce(0x6,a['IUndoRedoService'])],Ne);var Yn=Object['defineProperty'],qn=Object['getOwnPropertyDescriptor'],zn=(_0x46abc4,_0x347540,_0x714237,_0x1a142d)=>{var _0x5ac7ac=_0x3c2833;for(var _0xe4d7f7=_0x1a142d>0x1?void 0x0:_0x1a142d?qn(_0x347540,_0x714237):_0x347540,_0x4b9ce8=_0x46abc4[_0x5ac7ac(0x294)]-0x1,_0x1ee0b9;_0x4b9ce8>=0x0;_0x4b9ce8--)(_0x1ee0b9=_0x46abc4[_0x4b9ce8])&&(_0xe4d7f7=(_0x1a142d?_0x1ee0b9(_0x347540,_0x714237,_0xe4d7f7):_0x1ee0b9(_0xe4d7f7))||_0xe4d7f7);return _0x1a142d&&_0xe4d7f7&&Yn(_0x347540,_0x714237,_0xe4d7f7),_0xe4d7f7;},ut=(_0x137bf0,_0x3a6610)=>(_0x264c79,_0x5d79ef)=>_0x3a6610(_0x264c79,_0x5d79ef,_0x137bf0);exports[_0x3c2833(0x39d)]=class{constructor(_0x4b1619,_0xa755a2){var _0x1bb2d0=_0x3c2833;this[_0x1bb2d0(0x302)]=_0x4b1619,this[_0x1bb2d0(0x28b)]=_0xa755a2;}async[_0x3c2833(0x232)](_0x584be7,_0x3ea46){var _0x409798=_0x3c2833,_0x48cb5a;const {unitID:_0x5167c8,type:_0xf55332,revision:_0x11d53f=0x0}=_0x3ea46,_0x3a10b2=this[_0x409798(0x2bb)]()+'/'+_0xf55332+_0x409798(0xf3)+_0x5167c8+_0x409798(0x1a5)+_0x11d53f,_0x23f321=(await this[_0x409798(0x28b)][_0x409798(0x207)](_0x3a10b2))[_0x409798(0x3e0)],_0x3b46a1=(_0x48cb5a=_0x23f321[_0x409798(0x3dc)])==null?void 0x0:_0x48cb5a['workbook'];if(_0x3b46a1){const _0x58533c=_0x3b46a1==null?void 0x0:_0x3b46a1['originalMeta'],_0x261512=m[_0x409798(0x3ce)][_0x409798(0x15e)](m[_0x409798(0x38c)](_0x58533c));_0x3b46a1['originalMeta']=_0x261512,Object[_0x409798(0x358)](_0x3b46a1[_0x409798(0x108)])['forEach'](([,_0x54c327])=>{var _0x5dfb7c=_0x409798;const _0x291423=_0x54c327['originalMeta'],_0x5c0181=m[_0x5dfb7c(0x3ce)][_0x5dfb7c(0x15e)](m[_0x5dfb7c(0x38c)](_0x291423));_0x54c327[_0x5dfb7c(0x44c)]=_0x5c0181;});}return _0x23f321;}async[_0x3c2833(0x2a5)](_0x203787,_0x2f8c02){var _0x30136c=_0x3c2833;const {unitID:_0x1b4a3e,type:_0x4bfcb3,blockID:_0x142f2a}=_0x2f8c02,_0x58cbbe=this[_0x30136c(0x417)]()+'/'+_0x4bfcb3+_0x30136c(0xf3)+_0x1b4a3e+_0x30136c(0x2e9)+_0x142f2a;return(await this[_0x30136c(0x28b)][_0x30136c(0x207)](_0x58cbbe))['body'];}async[_0x3c2833(0x12d)](_0x584015,_0x239deb){var _0x33127d=_0x3c2833;const {unitID:_0x1cc84f,type:_0x562f8b,blockID:_0x222f24}=_0x239deb,_0x4899d6=this[_0x33127d(0x417)]()+_0x33127d(0x2e9)+_0x562f8b+_0x33127d(0xf3)+_0x1cc84f+_0x33127d(0x2e9)+_0x222f24;return(await this['_httpService'][_0x33127d(0x207)](_0x4899d6))[_0x33127d(0x3e0)];}async['fetchMissingChangesets'](_0x517a60,_0x35c0c5){var _0x4d04bd=_0x3c2833;const {unitID:_0x3c9bd9,type:_0x547f55,from:_0x199b9e,to:_0xca4a4a}=_0x35c0c5,_0x597c89=this[_0x4d04bd(0x417)]()+'/'+_0x547f55+_0x4d04bd(0xf3)+_0x3c9bd9+_0x4d04bd(0x258)+_0x199b9e+_0x4d04bd(0x37e)+_0xca4a4a;return(await this[_0x4d04bd(0x28b)][_0x4d04bd(0x207)](_0x597c89))[_0x4d04bd(0x3e0)];}[_0x3c2833(0x2bb)](){var _0x22642c=_0x3c2833,_0x2da070;return(_0x2da070=this[_0x22642c(0x302)][_0x22642c(0x1cf)](ft))!=null?_0x2da070:this['_getAPIPrefix']();}[_0x3c2833(0x417)](){var _0x36be5a=_0x3c2833,_0x3e029c,_0x59b4c9;const _0x2d89b1=this['_configService']['getConfig'](vt),_0x53563a=this[_0x36be5a(0x302)][_0x36be5a(0x1cf)](q);return(_0x59b4c9=(_0x3e029c=_0x53563a==null?void 0x0:_0x53563a[_0x36be5a(0x3ee)])!=null?_0x3e029c:_0x2d89b1)!=null?_0x59b4c9:Ht;}async[_0x3c2833(0x3e2)](_0x370f0b,_0x54b674){var _0x422b52=_0x3c2833;const _0x2b5e5e='/universer-api/snapshot/'+_0x54b674[_0x422b52(0x201)]+'/unit/'+_0x54b674[_0x422b52(0x32c)]+_0x422b52(0x412);return(await this['_httpService'][_0x422b52(0x207)](_0x2b5e5e,{'params':{'resourceId':JSON[_0x422b52(0x450)](_0x54b674[_0x422b52(0x414)])}}))[_0x422b52(0x3e0)];}[_0x3c2833(0x298)](){var _0x10ab30=_0x3c2833;throw new Error(_0x10ab30(0xfc));}[_0x3c2833(0x38f)](){var _0x5e0f68=_0x3c2833;throw new Error(_0x5e0f68(0xfc));}['saveChangeset'](){var _0x24c105=_0x3c2833;throw new Error(_0x24c105(0xfc));}[_0x3c2833(0x3db)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c2833(0x3e7)](){var _0x5964b5=_0x3c2833;throw new Error(_0x5964b5(0xfc));}},exports['SnapshotServerOverHTTPService']=zn([ut(0x0,a[_0x3c2833(0x279)]),ut(0x1,a['Inject'](z['HTTPService']))],exports[_0x3c2833(0x39d)]);var Jn=Object[_0x3c2833(0x1b7)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x1e09d0,_0x494772,_0x1b901f,_0xa87629)=>{for(var _0x368653=_0xa87629>0x1?void 0x0:_0xa87629?Xn(_0x494772,_0x1b901f):_0x494772,_0x501038=_0x1e09d0['length']-0x1,_0x1bcfa4;_0x501038>=0x0;_0x501038--)(_0x1bcfa4=_0x1e09d0[_0x501038])&&(_0x368653=(_0xa87629?_0x1bcfa4(_0x494772,_0x1b901f,_0x368653):_0x1bcfa4(_0x368653))||_0x368653);return _0xa87629&&_0x368653&&Jn(_0x494772,_0x1b901f,_0x368653),_0x368653;},de=(_0x1b453d,_0x14f67e)=>(_0x41cb50,_0x115899)=>_0x14f67e(_0x41cb50,_0x115899,_0x1b453d);exports[_0x3c2833(0x248)]=class extends a[_0x3c2833(0x192)]{constructor(_0xd9822a,_0x6f26b5,_0x10228a,_0x1d1e01,_0x58cf96){var _0x35d3d7=_0x3c2833;super(_0xd9822a,_0x6f26b5,_0x10228a),this[_0x35d3d7(0x2be)]=_0x1d1e01,this[_0x35d3d7(0x44d)]=_0x58cf96;}[_0x3c2833(0x384)](_0x337486,_0x5caefe){var _0x1bd6bd=_0x3c2833;const _0xa7f3ea=this[_0x1bd6bd(0x413)](_0x337486);if(_0xa7f3ea)try{const _0x15873f=this['_transformStack'](_0xa7f3ea,_0x5caefe);this[_0x1bd6bd(0x276)](_0x337486,_0x15873f);}catch(_0x137cfd){this[_0x1bd6bd(0x44d)][_0x1bd6bd(0x15b)](_0x1bd6bd(0x39e),_0x137cfd),this['_clearUndo'](_0x337486);}const _0x190e10=this[_0x1bd6bd(0x41f)](_0x337486);if(_0x190e10)try{const _0x40e850=this['_transformStack'](_0x190e10,_0x5caefe);this[_0x1bd6bd(0x31b)](_0x337486,_0x40e850);}catch(_0x40f339){this[_0x1bd6bd(0x44d)][_0x1bd6bd(0x15b)](_0x40f339),this[_0x1bd6bd(0x156)](_0x337486);}}[_0x3c2833(0x18f)](_0x31924c){var _0x5b8d94=_0x3c2833;const _0xbb19e0=this[_0x5b8d94(0x413)](_0x31924c);_0xbb19e0&&(_0xbb19e0[_0x5b8d94(0x294)]=0x0,this[_0x5b8d94(0x19b)]());}[_0x3c2833(0x156)](_0x2c21db){var _0x18956b=_0x3c2833;const _0x1b26cd=this[_0x18956b(0x41f)](_0x2c21db);_0x1b26cd&&(_0x1b26cd[_0x18956b(0x294)]=0x0,this['_updateStatus']());}[_0x3c2833(0x276)](_0x4927ed,_0x5ba48b){var _0x1d2671=_0x3c2833;this[_0x1d2671(0x16a)]['set'](_0x4927ed,_0x5ba48b),this['_updateStatus']();}[_0x3c2833(0x31b)](_0x41900b,_0x31dd54){var _0x1801ed=_0x3c2833;this[_0x1801ed(0x177)][_0x1801ed(0x42f)](_0x41900b,_0x31dd54),this['_updateStatus']();}[_0x3c2833(0x2d2)](_0x152930,_0x2776c6){var _0xa1dc1b=_0x3c2833;const _0x4c7e5d=[];let _0x178c8a=_0x2776c6,_0x8dedab=_0x2776c6;for(let _0xe55e9c=_0x152930[_0xa1dc1b(0x294)]-0x1;_0xe55e9c>=0x0;_0xe55e9c--){const {unitID:_0xf0699f,undoMutations:_0x5c9fd5,redoMutations:_0x3e27d8}=_0x152930[_0xe55e9c],_0x1a1e5c=this[_0xa1dc1b(0x2be)]['transformMutationsWithChangeset'](_0x178c8a,_0x5c9fd5),_0x4242d2=this[_0xa1dc1b(0x2be)]['transformMutationsWithChangeset'](_0x8dedab,_0x3e27d8);if(m[_0xa1dc1b(0x134)](_0x1a1e5c)||m[_0xa1dc1b(0x134)](_0x4242d2)){this[_0xa1dc1b(0x44d)][_0xa1dc1b(0x15b)](_0xa1dc1b(0x39e),'transformStack\x20failed!',_0x1a1e5c,_0x4242d2);break;}_0x178c8a=_0x1a1e5c[_0xa1dc1b(0x101)],_0x8dedab=_0x4242d2[_0xa1dc1b(0x101)],_0x4c7e5d[_0xa1dc1b(0x169)]({'unitID':_0xf0699f,'undoMutations':_0x1a1e5c[_0xa1dc1b(0xe4)],'redoMutations':_0x4242d2[_0xa1dc1b(0xe4)]});}return _0x4c7e5d['reverse']();}},exports['CollaborativeUndoRedoService']=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x3c2833(0x2a2)]),de(0x2,a[_0x3c2833(0x19f)]),de(0x3,m[_0x3c2833(0x3dd)]),de(0x4,a['ILogService'])],exports[_0x3c2833(0x248)]);var Lt=Object[_0x3c2833(0x1b7)],Qn=Object[_0x3c2833(0x404)],er=(_0x248283,_0x3dd17a,_0x6b92ee)=>_0x3dd17a in _0x248283?Lt(_0x248283,_0x3dd17a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6b92ee}):_0x248283[_0x3dd17a]=_0x6b92ee,tr=(_0xb5e203,_0x1761ab,_0x2caf1e,_0x9b6c73)=>{var _0x5b3fe3=_0x3c2833;for(var _0x4ed8de=_0x9b6c73>0x1?void 0x0:_0x9b6c73?Qn(_0x1761ab,_0x2caf1e):_0x1761ab,_0x50e5d8=_0xb5e203[_0x5b3fe3(0x294)]-0x1,_0x16fdcb;_0x50e5d8>=0x0;_0x50e5d8--)(_0x16fdcb=_0xb5e203[_0x50e5d8])&&(_0x4ed8de=(_0x9b6c73?_0x16fdcb(_0x1761ab,_0x2caf1e,_0x4ed8de):_0x16fdcb(_0x4ed8de))||_0x4ed8de);return _0x9b6c73&&_0x4ed8de&&Lt(_0x1761ab,_0x2caf1e,_0x4ed8de),_0x4ed8de;},je=(_0x4e0862,_0x2af3c9)=>(_0x69f939,_0xcbb7c5)=>_0x2af3c9(_0x69f939,_0xcbb7c5,_0x4e0862),ir=(_0x555038,_0x1d6a22,_0x52d27f)=>er(_0x555038,_0x1d6a22+'',_0x52d27f);const nr=_0x3c2833(0x16b);exports[_0x3c2833(0x19d)]=class extends a[_0x3c2833(0x20c)]{constructor(_0x107e9a=Ke,_0x2d480,_0xc0bc06,_0x1a4500){var _0x5037b2=_0x3c2833;super(),this[_0x5037b2(0x392)]=_0x107e9a,this[_0x5037b2(0x44d)]=_0x2d480,this[_0x5037b2(0x37f)]=_0xc0bc06,this['_configService']=_0x1a4500;const {..._0x31f0e1}=a[_0x5037b2(0x391)]({},Ke,this[_0x5037b2(0x392)]);this[_0x5037b2(0x302)][_0x5037b2(0x427)](q,_0x31f0e1);}['onStarting'](){var _0x3a7943=_0x3c2833;this[_0x3a7943(0x31a)](),this[_0x3a7943(0x1ee)]();}['_registerDependencies'](){var _0x2e9b78=_0x3c2833,_0x1d474f,_0x54e2f1,_0x1ef8d1,_0x5b5094;this[_0x2e9b78(0x37f)]['has'](a[_0x2e9b78(0x379)])&&this[_0x2e9b78(0x44d)][_0x2e9b78(0x15b)](_0x2e9b78(0x3ef),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1d2abd=a[_0x2e9b78(0x14d)]([[a['IUndoRedoService'],{'useClass':exports[_0x2e9b78(0x248)]}],[exports['CollaborationSessionService']],[exports[_0x2e9b78(0x35d)]],[exports[_0x2e9b78(0x381)]],[ye],[Pe],[Be],[Ne],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x54e2f1=(_0x1d474f=this[_0x2e9b78(0x392)])==null?void 0x0:_0x1d474f[_0x2e9b78(0x437)])!=null?_0x54e2f1:exports[_0x2e9b78(0x244)]}],[m[_0x2e9b78(0x39c)],{'useClass':exports[_0x2e9b78(0x39d)]}],[a[_0x2e9b78(0x370)],{'useClass':exports[_0x2e9b78(0x3f4)]}],[X[_0x2e9b78(0x2f9)],{'useClass':exports[_0x2e9b78(0x421)]}],[a[_0x2e9b78(0x41d)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[$e]],(_0x1ef8d1=this['_config'])==null?void 0x0:_0x1ef8d1[_0x2e9b78(0x2d8)]);if(!((_0x5b5094=this[_0x2e9b78(0x392)])!=null&&_0x5b5094[_0x2e9b78(0x145)])){const _0x42b164=_0x1d2abd[_0x2e9b78(0x2fe)](([_0x506c29])=>_0x506c29===ve);_0x42b164!==-0x1&&_0x1d2abd[_0x2e9b78(0x137)](_0x42b164,0x1);}a[_0x2e9b78(0x160)](this[_0x2e9b78(0x37f)],_0x1d2abd);}[_0x3c2833(0x1ee)](){var _0x41348e=_0x3c2833,_0x242ce0,_0x2f1eaa,_0x2862aa;this[_0x41348e(0x37f)]['get'](z[_0x41348e(0x2d0)])[_0x41348e(0x3b8)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x242ce0=this[_0x41348e(0x392)])!=null&&_0x242ce0[_0x41348e(0x106)]||(_0x2f1eaa=this['_injector']['get'](J,a[_0x41348e(0x171)][_0x41348e(0x31d)]))==null||_0x2f1eaa[_0x41348e(0x12c)](),(_0x2862aa=this[_0x41348e(0x392)])!=null&&_0x2862aa[_0x41348e(0x351)]&&a['touchDependencies'](this[_0x41348e(0x37f)],[[ye]]),a[_0x41348e(0x449)](this[_0x41348e(0x37f)],[[Pe],[exports[_0x41348e(0x29f)]],[Ne]]);}},ir(exports[_0x3c2833(0x19d)],_0x3c2833(0x250),nr),exports[_0x3c2833(0x19d)]=tr([a[_0x3c2833(0x217)](m[_0x3c2833(0x1a1)],W[_0x3c2833(0x2e1)],z['UniverNetworkPlugin']),je(0x1,a[_0x3c2833(0x433)]),je(0x2,a[_0x3c2833(0x399)](a['Injector'])),je(0x3,a[_0x3c2833(0x279)])],exports[_0x3c2833(0x19d)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x3c2833(0x170)]=q,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports[_0x3c2833(0x33f)]=St,exports['CollaborationStatus']=We,exports['CollaborationUIEventId']=Q,exports[_0x3c2833(0x1dd)]=te,exports[_0x3c2833(0x2b6)]=Be,exports[_0x3c2833(0x1a7)]=pt,exports[_0x3c2833(0x205)]=Xt,exports[_0x3c2833(0x104)]=gt,exports[_0x3c2833(0x3ab)]=He,exports['ICollaborationSocketService']=ke,exports[_0x3c2833(0x33d)]=J,exports[_0x3c2833(0x32e)]=Rt,exports[_0x3c2833(0x1d7)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x3c2833(0x1fa)]=Kt,exports[_0x3c2833(0x107)]=Ct,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x3c2833(0x356)]=ft,exports['SessionStatus']=se,exports[_0x3c2833(0x2f2)]=Fe,exports[_0x3c2833(0x424)]=Ot,exports['getLocalCacheKey']=mi,exports[_0x3c2833(0x1a8)]=yt;