@univerjs-pro/collaboration-client 0.5.5-nightly.202501210404 → 0.5.5-nightly.202501210604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x5eb40d=_0x328b;(function(_0x1bcc71,_0xdb0766){var _0x10ab18=_0x328b,_0x46c885=_0x1bcc71();while(!![]){try{var _0x2ecbff=parseInt(_0x10ab18(0x1bf))/0x1*(-parseInt(_0x10ab18(0x266))/0x2)+-parseInt(_0x10ab18(0x321))/0x3*(parseInt(_0x10ab18(0x3e9))/0x4)+parseInt(_0x10ab18(0x182))/0x5*(-parseInt(_0x10ab18(0x42a))/0x6)+-parseInt(_0x10ab18(0x2d2))/0x7+parseInt(_0x10ab18(0x45b))/0x8*(-parseInt(_0x10ab18(0x33a))/0x9)+-parseInt(_0x10ab18(0x299))/0xa+-parseInt(_0x10ab18(0x39e))/0xb*(-parseInt(_0x10ab18(0x2e6))/0xc);if(_0x2ecbff===_0xdb0766)break;else _0x46c885['push'](_0x46c885['shift']());}catch(_0x4069fb){_0x46c885['push'](_0x46c885['shift']());}}}(_0x5f95,0x40b13));var Mt=Object['defineProperty'],xt=(_0x53239c,_0x3c479c,_0x1f1544)=>_0x3c479c in _0x53239c?Mt(_0x53239c,_0x3c479c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f1544}):_0x53239c[_0x3c479c]=_0x1f1544,D=(_0x1b8c61,_0x1ffcd4,_0x42318f)=>xt(_0x1b8c61,typeof _0x1ffcd4!=_0x5eb40d(0x302)?_0x1ffcd4+'':_0x1ffcd4,_0x42318f);Object[_0x5eb40d(0x2af)](exports,Symbol[_0x5eb40d(0x413)],{'value':'Module'});const a=require('@univerjs/core'),H=require(_0x5eb40d(0x239)),W=require(_0x5eb40d(0x35c)),q=require(_0x5eb40d(0x46e)),m=require(_0x5eb40d(0x1e6)),jt=require(_0x5eb40d(0x318)),dt=require(_0x5eb40d(0x3a5)),J=require(_0x5eb40d(0x262)),X=require(_0x5eb40d(0x334)),$t=require(_0x5eb40d(0x17e)),vt='SNAPSHOT_SERVER_URL_KEY',Ht=_0x5eb40d(0x408),ft=_0x5eb40d(0x1f9),kt=_0x5eb40d(0x453),Bt=0x7d0,St=_0x5eb40d(0x2db),pt=_0x5eb40d(0x24b),Ft=_0x5eb40d(0x15a),mt=_0x5eb40d(0x23a),Wt=0x7530,He=_0x5eb40d(0x354),gt=0x4e20,Gt=0x4e20,It=_0x5eb40d(0x346),Vt=0x3,Kt=_0x5eb40d(0x332),Yt=0x3e8,Et=_0x5eb40d(0x271),qt='/universer-api/comb',Ct=_0x5eb40d(0x1c7),zt=_0x5eb40d(0x26a),Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x5eb40d(0x1a3);var Tt=(_0x3f0a64=>(_0x3f0a64[_0x3f0a64[_0x5eb40d(0x208)]=0x0]=_0x5eb40d(0x208),_0x3f0a64[_0x3f0a64['OK']=0x1]='OK',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x2a2)]=0x2]='INTERNAL_ERROR',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x3dc)]=0x3]=_0x5eb40d(0x3dc),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x1ad)]=0x4]=_0x5eb40d(0x1ad),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x280)]=0x5]='UNAUTHENTICATED',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x3b1)]=0x6]='ALREADY_EXISTS',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x489)]=0x7]=_0x5eb40d(0x489),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x39c)]=0x8]=_0x5eb40d(0x39c),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x459)]=0x9]=_0x5eb40d(0x459),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x42d)]=0x1389]=_0x5eb40d(0x42d),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x365)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x284)]=0x1772]=_0x5eb40d(0x284),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x47f)]=0x1773]=_0x5eb40d(0x47f),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x3ea)]=0x1b59]=_0x5eb40d(0x3ea),_0x3f0a64[_0x3f0a64['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5eb40d(0x3a3),_0x3f0a64[_0x3f0a64['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x41a)]=0x1b5c]=_0x5eb40d(0x41a),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x29a)]=0x1b5d]=_0x5eb40d(0x29a),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x481)]=0x1f41]=_0x5eb40d(0x481),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x335)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x38b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x2ce)]=0x232b]=_0x5eb40d(0x2ce),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x36d)]=0x232c]=_0x5eb40d(0x36d),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x420)]=0x232d]=_0x5eb40d(0x420),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x173)]=0x2711]=_0x5eb40d(0x173),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x19b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3f0a64[_0x3f0a64[_0x5eb40d(0x480)]=0x2713]=_0x5eb40d(0x480),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x250)]=0x2714]=_0x5eb40d(0x250),_0x3f0a64[_0x3f0a64[_0x5eb40d(0x261)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3f0a64[_0x3f0a64['UNRECOGNIZED']=-0x1]=_0x5eb40d(0x294),_0x3f0a64))(Tt||{}),Z=(_0x216644=>(_0x216644[_0x216644['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x216644[_0x216644[_0x5eb40d(0x3fe)]=0x1]=_0x5eb40d(0x3fe),_0x216644[_0x216644[_0x5eb40d(0x35f)]=0x2]=_0x5eb40d(0x35f),_0x216644[_0x216644[_0x5eb40d(0x27f)]=0x3]='UNIVER_SLIDE',_0x216644[_0x216644['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x216644[_0x216644['UNRECOGNIZED']=-0x1]=_0x5eb40d(0x294),_0x216644))(Z||{}),G=(_0x51359d=>(_0x51359d[_0x51359d['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x51359d[_0x51359d[_0x5eb40d(0x1c2)]=0x1]='HELLO',_0x51359d[_0x51359d[_0x5eb40d(0x269)]=0x2]=_0x5eb40d(0x269),_0x51359d[_0x51359d['LEAVE']=0x3]='LEAVE',_0x51359d[_0x51359d[_0x5eb40d(0x325)]=0x4]=_0x5eb40d(0x325),_0x51359d[_0x51359d[_0x5eb40d(0x203)]=0x5]=_0x5eb40d(0x203),_0x51359d[_0x51359d[_0x5eb40d(0x304)]=0x6]=_0x5eb40d(0x304),_0x51359d[_0x51359d[_0x5eb40d(0x294)]=-0x1]=_0x5eb40d(0x294),_0x51359d))(G||{}),he=(_0x1694d9=>(_0x1694d9[_0x1694d9['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x1694d9[_0x1694d9['OK']=0x1]='OK',_0x1694d9[_0x1694d9[_0x5eb40d(0x1a8)]=0x2]=_0x5eb40d(0x1a8),_0x1694d9[_0x1694d9[_0x5eb40d(0x44b)]=0x3e9]=_0x5eb40d(0x44b),_0x1694d9[_0x1694d9['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5eb40d(0x1e9),_0x1694d9[_0x1694d9[_0x5eb40d(0x3aa)]=0x3eb]=_0x5eb40d(0x3aa),_0x1694d9[_0x1694d9[_0x5eb40d(0x206)]=0x3ec]=_0x5eb40d(0x206),_0x1694d9[_0x1694d9[_0x5eb40d(0x294)]=-0x1]='UNRECOGNIZED',_0x1694d9))(he||{}),bt=(_0xe5d323=>(_0xe5d323[_0xe5d323[_0x5eb40d(0x46f)]=0x0]=_0x5eb40d(0x46f),_0xe5d323[_0xe5d323[_0x5eb40d(0x13e)]=0x1]=_0x5eb40d(0x13e),_0xe5d323[_0xe5d323[_0x5eb40d(0x2cb)]=0x2]=_0x5eb40d(0x2cb),_0xe5d323[_0xe5d323[_0x5eb40d(0x1b6)]=0x3]='UnitEmbedded',_0xe5d323[_0xe5d323[_0x5eb40d(0x470)]=0x4]='UnitSnapshot',_0xe5d323[_0xe5d323[_0x5eb40d(0x294)]=-0x1]='UNRECOGNIZED',_0xe5d323))(bt||{});const Y=_0x5eb40d(0x3c7),Ke={};var Q=(_0x1d44f2=>(_0x1d44f2['OTHER_CLIENT_EDITING']=_0x5eb40d(0x4a2),_0x1d44f2['PERMISSION_DENIED']=_0x5eb40d(0x3dc),_0x1d44f2['CONFLICT']=_0x5eb40d(0x400),_0x1d44f2['CLOSE_ROOM']=_0x5eb40d(0x397),_0x1d44f2[_0x5eb40d(0x3c9)]='JOIN_ROOM_FAILED',_0x1d44f2[_0x5eb40d(0x2f9)]=_0x5eb40d(0x2f9),_0x1d44f2['SOCKET_FAILED']=_0x5eb40d(0x2cf),_0x1d44f2[_0x5eb40d(0x422)]='SUBMIT_CHANGESET_TIMEOUT',_0x1d44f2))(Q||{});class te{constructor(){var _0x527fa7=_0x5eb40d;D(this,_0x527fa7(0x3d3),new H[(_0x527fa7(0x474))]()),D(this,_0x527fa7(0x47a),this['_event$'][_0x527fa7(0x187)]());}[_0x5eb40d(0x2e2)](_0x33b0fc){var _0x803804=_0x5eb40d;this[_0x803804(0x3d3)][_0x803804(0x1e7)](_0x33b0fc);}}const Rt=a[_0x5eb40d(0x289)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x30c0c1){var _0x4bb79c=_0x5eb40d,_0x27f52e,_0x16a3b1,_0x4a3f89,_0x3f1928,_0xff7d09;const _0x1a8c18=_0x30c0c1[_0x4bb79c(0x49d)],_0x2b00b3=JSON['parse'](_0x1a8c18);switch(_0x2b00b3[_0x4bb79c(0x389)]){case G[_0x4bb79c(0x203)]:case G[_0x4bb79c(0x1c2)]:{const _0x598c1a=_0x2b00b3['infoRsp'];return{..._0x2b00b3,'data':_0x598c1a,'cmd':_0x2b00b3[_0x4bb79c(0x389)]};}case G[_0x4bb79c(0x269)]:{const _0x18b270=_0x2b00b3[_0x4bb79c(0x2a3)];return{..._0x2b00b3,'data':_0x18b270,'cmd':_0x2b00b3[_0x4bb79c(0x389)]};}case G[_0x4bb79c(0x304)]:{const _0x2c3a2f=_0x2b00b3['collaMsg'];switch(_0x2c3a2f['eventID']){case m[_0x4bb79c(0x29b)][_0x4bb79c(0x300)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':(_0x27f52e=_0x2c3a2f['permissionRejEvent'])==null?void 0x0:_0x27f52e['cs']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x168)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':(_0x16a3b1=_0x2c3a2f[_0x4bb79c(0x18c)])==null?void 0x0:_0x16a3b1['cs']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)]['NEW_CHANGESETS']:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':(_0x4a3f89=_0x2c3a2f['newCsEvent'])==null?void 0x0:_0x4a3f89['cs']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m['CollaborationEvent'][_0x4bb79c(0x488)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':(_0x3f1928=_0x2c3a2f['csRejEvent'])==null?void 0x0:_0x3f1928['cs']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x381)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':(_0xff7d09=_0x2c3a2f[_0x4bb79c(0x1a6)])==null?void 0x0:_0xff7d09['cs']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x43b)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x37f)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m['CollaborationEvent'][_0x4bb79c(0x2bf)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x1ba)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x1f6)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f['leaveEvent']},'cmd':_0x2b00b3['cmd']};case m['CollaborationEvent'][_0x4bb79c(0x19a)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x3f9)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m['CollaborationEvent'][_0x4bb79c(0x19d)]:case m[_0x4bb79c(0x29b)][_0x4bb79c(0x241)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x3fb)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x3f9)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m['CollaborationEvent'][_0x4bb79c(0x368)]:return{..._0x2b00b3,'data':_0x2c3a2f,'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x21a)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x43c)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x3c2)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f['updatePermissionObjEvent']},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x3f4)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x4a4)]},'cmd':_0x2b00b3[_0x4bb79c(0x389)]};case m[_0x4bb79c(0x29b)][_0x4bb79c(0x49b)]:return{..._0x2b00b3,'data':{..._0x2c3a2f,'data':_0x2c3a2f[_0x4bb79c(0x20b)]},'cmd':_0x2b00b3['cmd']};default:return _0x2b00b3;}}default:return _0x2b00b3;}}function yt(_0xef43dc){var _0x171d0d=_0x5eb40d;switch(_0xef43dc[_0x171d0d(0x389)]){case G['HEARTBEAT']:case G[_0x171d0d(0x1c2)]:return JSON[_0x171d0d(0x2b5)]({'cmd':_0xef43dc[_0x171d0d(0x389)],'routeKey':_0xef43dc[_0x171d0d(0x3c1)]});case G[_0x171d0d(0x325)]:{let _0x37eb43;switch(_0xef43dc['data'][_0x171d0d(0x379)]){case m[_0x171d0d(0x29b)][_0x171d0d(0x43b)]:{_0x37eb43={'eventID':m['CollaborationEvent'][_0x171d0d(0x43b)],'updateCursorEvent':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x49d)]};break;}case m[_0x171d0d(0x29b)]['USERS_LEAVE']:{_0x37eb43={'eventID':m[_0x171d0d(0x29b)][_0x171d0d(0x1f6)],'leaveEvent':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x49d)]};break;}case m['CollaborationEvent'][_0x171d0d(0x2bf)]:{_0x37eb43={'eventID':m[_0x171d0d(0x29b)][_0x171d0d(0x2bf)],'joinEvent':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x49d)]};break;}case m['CollaborationEvent'][_0x171d0d(0x19a)]:{_0x37eb43={'eventID':m['CollaborationEvent'][_0x171d0d(0x19a)],'liveShareNewHost':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x49d)]};break;}case m[_0x171d0d(0x29b)][_0x171d0d(0x241)]:{_0x37eb43={'eventID':m[_0x171d0d(0x29b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xef43dc[_0x171d0d(0x49d)]['data']};break;}case m['CollaborationEvent'][_0x171d0d(0x40c)]:{_0x37eb43={'eventID':m[_0x171d0d(0x29b)][_0x171d0d(0x40c)],'liveShareTerminate':_0xef43dc['data']['data']};break;}case m['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x37eb43={'eventID':m['CollaborationEvent'][_0x171d0d(0x24a)],'liveShareRequestHost':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x49d)]};break;}case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x37eb43={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x37eb43={'eventID':_0xef43dc[_0x171d0d(0x49d)][_0x171d0d(0x379)]};}return JSON[_0x171d0d(0x2b5)]({'cmd':_0xef43dc[_0x171d0d(0x389)],'routeKey':_0xef43dc['routeKey'],'collaMsg':_0x37eb43});}case G[_0x171d0d(0x269)]:return JSON['stringify']({'cmd':_0xef43dc[_0x171d0d(0x389)],'routeKey':_0xef43dc[_0x171d0d(0x3c1)],'joinReq':_0xef43dc[_0x171d0d(0x49d)]});case G[_0x171d0d(0x139)]:return JSON['stringify']({'cmd':_0xef43dc[_0x171d0d(0x389)],'routeKey':_0xef43dc['routeKey'],'leaveReq':_0xef43dc['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object['defineProperty'],Qt=Object[_0x5eb40d(0x22b)],en=(_0x345e4b,_0x624b8e,_0x4d4908,_0x11e53a)=>{var _0x37f729=_0x5eb40d;for(var _0x3efa31=_0x11e53a>0x1?void 0x0:_0x11e53a?Qt(_0x624b8e,_0x4d4908):_0x624b8e,_0x2f7aeb=_0x345e4b[_0x37f729(0x176)]-0x1,_0xa7bfee;_0x2f7aeb>=0x0;_0x2f7aeb--)(_0xa7bfee=_0x345e4b[_0x2f7aeb])&&(_0x3efa31=(_0x11e53a?_0xa7bfee(_0x624b8e,_0x4d4908,_0x3efa31):_0xa7bfee(_0x3efa31))||_0x3efa31);return _0x11e53a&&_0x3efa31&&Zt(_0x624b8e,_0x4d4908,_0x3efa31),_0x3efa31;},ue=(_0x49e797,_0x274ad2)=>(_0x53e16a,_0x4a8344)=>_0x274ad2(_0x53e16a,_0x4a8344,_0x49e797);const ke=a[_0x5eb40d(0x289)](_0x5eb40d(0x3b0));function tn(_0xf49d8,_0x1a7b86,_0x57be90){return _0xf49d8+'/'+_0x1a7b86+'/unit/'+_0x57be90+'/new_changes';}exports[_0x5eb40d(0x1f4)]=class extends a[_0x5eb40d(0x390)]{constructor(_0x34e839,_0x475f04,_0x40b8ba,_0x38c8d9,_0x39717a){var _0x11afb7=_0x5eb40d;super(),this[_0x11afb7(0x47b)]=_0x34e839,this['_http']=_0x475f04,this[_0x11afb7(0x3bd)]=_0x40b8ba,this[_0x11afb7(0x430)]=_0x38c8d9,this['_snapshotServerService']=_0x39717a;}['createSocket'](_0x253697){var _0xfe08b=_0x5eb40d;const _0x38c000=this['_injector'][_0xfe08b(0x319)](q[_0xfe08b(0x405)]);if(!_0x38c000)throw new Error(_0xfe08b(0x18d));const _0x565f85=_0x38c000['createSocket'](_0x253697);if(!_0x565f85)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1dd255=new a['DisposableCollection'](),_0xfc339d=new H[(_0xfe08b(0x474))]();_0x1dd255[_0xfe08b(0x361)](_0x565f85[_0xfe08b(0x212)][_0xfe08b(0x1af)](_0x384733=>_0xfc339d[_0xfe08b(0x1e7)](_0x384733))),_0x1dd255[_0xfe08b(0x361)](a[_0xfe08b(0x482)](()=>_0xfc339d[_0xfe08b(0x2ed)]()));const _0xa2aa5e=new H[(_0xfe08b(0x474))]();_0x1dd255[_0xfe08b(0x361)](_0x565f85[_0xfe08b(0x468)][_0xfe08b(0x1af)](_0x179f51=>_0xa2aa5e[_0xfe08b(0x1e7)](_0x179f51))),_0x1dd255[_0xfe08b(0x361)](a[_0xfe08b(0x482)](()=>_0xa2aa5e[_0xfe08b(0x2ed)]()));const _0x10ec06=new H[(_0xfe08b(0x474))]();_0x1dd255['add'](_0x565f85[_0xfe08b(0x42c)][_0xfe08b(0x1af)](_0x51fbd3=>{const _0x32a5f2=Ot(_0x51fbd3);_0x10ec06['next'](_0x32a5f2);})),_0x1dd255['add'](a[_0xfe08b(0x482)](()=>_0x10ec06[_0xfe08b(0x2ed)]()));let _0x11c02e;const _0x15414c=()=>{var _0x324a71=_0xfe08b;_0xa2aa5e['next'](new Event(_0x324a71(0x4a1))),_0xfc339d[_0x324a71(0x1e7)](new CloseEvent(_0x324a71(0x4a1))),_0x11c02e[_0x324a71(0x36a)]();};return _0x11c02e={'memberID':'','close$':_0xfc339d[_0xfe08b(0x187)](),'error$':_0xa2aa5e[_0xfe08b(0x187)](),'open$':_0x565f85[_0xfe08b(0x42e)],'message$':_0x10ec06[_0xfe08b(0x187)](),'send':_0x5c0c93=>{var _0x2e2778=_0xfe08b;if(_0x5c0c93['cmd']===G[_0x2e2778(0x325)]){if(_0x5c0c93[_0x2e2778(0x49d)][_0x2e2778(0x379)]===m[_0x2e2778(0x29b)]['SUBMIT_CHANGESET']){this[_0x2e2778(0x30d)](_0x11c02e,_0x5c0c93[_0x2e2778(0x49d)])[_0x2e2778(0x47c)](_0x2fa85f=>{var _0x4d954e=_0x2e2778;this[_0x4d954e(0x430)][_0x4d954e(0x2b2)](_0x2fa85f),_0x15414c();});return;}if(_0x5c0c93[_0x2e2778(0x49d)]['eventID']===m['CollaborationEvent'][_0x2e2778(0x1db)]){const _0x46081b=_0x5c0c93[_0x2e2778(0x49d)];this['_fetchMissChangesets'](_0x46081b)[_0x2e2778(0x447)](_0xef1e9d=>{var _0x393e27=_0x2e2778;_0x10ec06[_0x393e27(0x1e7)]({'cmd':G[_0x393e27(0x304)],'code':he['OK'],'routeKey':_0x46081b[_0x393e27(0x49d)][_0x393e27(0x236)],'routeType':'','data':{'eventID':m[_0x393e27(0x29b)][_0x393e27(0x2eb)],'data':{'changesets':_0xef1e9d}}});})[_0x2e2778(0x47c)](_0x4ef0c2=>{var _0x57318b=_0x2e2778;this[_0x57318b(0x430)][_0x57318b(0x2b2)](_0x4ef0c2),_0x15414c();});return;}}_0x565f85['send'](yt(_0x5c0c93));},'close':()=>{_0x565f85['close'](),_0x1dd255['dispose']();}},_0x11c02e;}async[_0x5eb40d(0x30d)](_0x175900,_0x3ba6dd){var _0x4eacf8=_0x5eb40d,_0x42a2f0,_0x207998;const {unitType:_0x3a7ecb,unitID:_0x30b316,changeset:_0x5a027b}=_0x3ba6dd['data'],_0x32197a={'unitID':_0x30b316,'memberID':_0x175900[_0x4eacf8(0x2de)],'type':_0x3a7ecb,'changeset':m['parseChangesetToProtocol'](_0x5a027b)},_0x470112=this['_configService']['getConfig'](Et),_0x4b40f3=this['_configService'][_0x4eacf8(0x2a4)](Y),_0x2a602a=tn((_0x207998=(_0x42a2f0=_0x4b40f3==null?void 0x0:_0x4b40f3[_0x4eacf8(0x1c4)])!=null?_0x42a2f0:_0x470112)!=null?_0x207998:qt,_0x3a7ecb,_0x30b316);try{await this['_http'][_0x4eacf8(0x237)](_0x2a602a,{'body':_0x32197a});}catch(_0x267dcd){throw this[_0x4eacf8(0x430)]['error'](_0x4eacf8(0x472),_0x4eacf8(0x1eb)),_0x267dcd;}}async['_fetchMissChangesets'](_0x130c79){var _0x2f1e6a=_0x5eb40d;const {unitID:_0x32af8d,from:_0x52343f,to:_0x597d4a,unitType:_0x44be81}=_0x130c79[_0x2f1e6a(0x49d)];return(await this[_0x2f1e6a(0x244)][_0x2f1e6a(0x1d7)]({'metadata':void 0x0},{'unitID':_0x32af8d,'type':_0x44be81,'from':_0x52343f,'to':_0x597d4a}))[_0x2f1e6a(0x3e8)];}},exports[_0x5eb40d(0x1f4)]=en([ue(0x0,a['Inject'](a[_0x5eb40d(0x1dd)])),ue(0x1,a['Inject'](q[_0x5eb40d(0x226)])),ue(0x2,a[_0x5eb40d(0x150)]),ue(0x3,a['ILogService']),ue(0x4,m[_0x5eb40d(0x162)])],exports[_0x5eb40d(0x1f4)]);const nn='collaboration_new_changeset';function rn(_0x32a632){var _0x20a325=_0x5eb40d;return JSON[_0x20a325(0x2b5)](_0x32a632)[_0x20a325(0x176)];}class Be{constructor(){var _0x4deff1=_0x5eb40d;D(this,_0x4deff1(0x2fb),new H[(_0x4deff1(0x474))]()),D(this,_0x4deff1(0x345),this[_0x4deff1(0x2fb)][_0x4deff1(0x187)]());}[_0x5eb40d(0x38e)](_0x42365b){var _0x33b572=_0x5eb40d;this[_0x33b572(0x2fb)][_0x33b572(0x1e7)](_0x42365b);}}var sn=Object['defineProperty'],on=Object[_0x5eb40d(0x22b)],an=(_0x440c96,_0x375bec,_0x44bfcf,_0x39a09a)=>{var _0x3266a0=_0x5eb40d;for(var _0x7147b6=_0x39a09a>0x1?void 0x0:_0x39a09a?on(_0x375bec,_0x44bfcf):_0x375bec,_0x4f5b20=_0x440c96[_0x3266a0(0x176)]-0x1,_0x6a839a;_0x4f5b20>=0x0;_0x4f5b20--)(_0x6a839a=_0x440c96[_0x4f5b20])&&(_0x7147b6=(_0x39a09a?_0x6a839a(_0x375bec,_0x44bfcf,_0x7147b6):_0x6a839a(_0x7147b6))||_0x7147b6);return _0x39a09a&&_0x7147b6&&sn(_0x375bec,_0x44bfcf,_0x7147b6),_0x7147b6;},Ye=(_0x1f798e,_0x2e1316)=>(_0x30e49c,_0x1993cd)=>_0x2e1316(_0x30e49c,_0x1993cd,_0x1f798e);exports['MemberService']=class extends a[_0x5eb40d(0x390)]{constructor(_0x1ae4bb,_0x54ed9d){var _0x26aec2=_0x5eb40d;super(),D(this,_0x26aec2(0x2a0),new Map()),D(this,_0x26aec2(0x1df),new H[(_0x26aec2(0x474))]()),(this['_univerInstanceService']=_0x1ae4bb,this[_0x26aec2(0x23b)]=_0x54ed9d,this[_0x26aec2(0x255)](H[_0x26aec2(0x32d)](this[_0x26aec2(0x1cd)][_0x26aec2(0x1c5)](a[_0x26aec2(0x385)][_0x26aec2(0x35f)])[_0x26aec2(0x469)](W[_0x26aec2(0x3bb)](_0x1b3ebc=>_0x1b3ebc[_0x26aec2(0x1cc)]())),this['_univerInstanceService'][_0x26aec2(0x1c5)](a[_0x26aec2(0x385)][_0x26aec2(0x3fe)])['pipe'](W['map'](_0x12e864=>_0x12e864['getUnitId']())),this[_0x26aec2(0x1cd)]['getTypeOfUnitDisposed$'](a[_0x26aec2(0x385)][_0x26aec2(0x27f)])[_0x26aec2(0x469)](W[_0x26aec2(0x3bb)](_0x509c88=>_0x509c88[_0x26aec2(0x1cc)]())))[_0x26aec2(0x1af)](_0x156b1b=>this[_0x26aec2(0x3e4)](_0x156b1b))));}[_0x5eb40d(0x3b7)](_0x21eeb3){var _0x560dba=_0x5eb40d;return this[_0x560dba(0x2a0)][_0x560dba(0x276)](_0x21eeb3)?H['of'](this[_0x560dba(0x2a0)][_0x560dba(0x319)](_0x21eeb3)):this['_roomCreated$'][_0x560dba(0x469)](W['map'](_0x5697c8=>{var _0x327cfa=_0x560dba;if(_0x5697c8===_0x21eeb3)return this[_0x327cfa(0x2a0)][_0x327cfa(0x319)](_0x5697c8);}));}[_0x5eb40d(0x388)](_0x22c13b){var _0x3b9454=_0x5eb40d;this[_0x3b9454(0x23b)][_0x3b9454(0x388)](_0x22c13b);}[_0x5eb40d(0x3ac)](){var _0x5465b7=_0x5eb40d;return this['_userManagerService'][_0x5465b7(0x3ac)]();}[_0x5eb40d(0x171)](_0xf6c6e7,_0x1306db){var _0x36b258=_0x5eb40d;let _0x10da0b=this[_0x36b258(0x2a0)]['get'](_0xf6c6e7);_0x10da0b||(_0x10da0b=new cn(),this[_0x36b258(0x2a0)]['set'](_0xf6c6e7,_0x10da0b),this[_0x36b258(0x1df)][_0x36b258(0x1e7)](_0xf6c6e7)),_0x10da0b[_0x36b258(0x171)](_0x1306db);}[_0x5eb40d(0x25a)](_0x1aa7c2,_0x56d6dc){var _0x3952cb=_0x5eb40d;const _0x51ce2f=this[_0x3952cb(0x2a0)]['get'](_0x1aa7c2);_0x51ce2f&&_0x51ce2f[_0x3952cb(0x25a)](_0x56d6dc);}['getRoom'](_0x51a714){var _0x3b7103=_0x5eb40d;return this[_0x3b7103(0x2a0)][_0x3b7103(0x319)](_0x51a714);}['getMember'](_0x48f4cf,_0x839c4){var _0x4efa96=_0x5eb40d;const _0x384da6=this[_0x4efa96(0x2a0)][_0x4efa96(0x319)](_0x48f4cf);if(_0x384da6)return _0x384da6[_0x4efa96(0x3b2)](_0x839c4);}['_removeRoom'](_0x5b59f8){var _0x34cf0a=_0x5eb40d;const _0x1e91fb=this[_0x34cf0a(0x2a0)]['get'](_0x5b59f8);_0x1e91fb&&(_0x1e91fb[_0x34cf0a(0x272)](),this['_roomMembers'][_0x34cf0a(0x1ea)](_0x5b59f8));}[_0x5eb40d(0x272)](){var _0x3adf55=_0x5eb40d;this[_0x3adf55(0x2a0)][_0x3adf55(0x211)](_0x39ec7c=>_0x39ec7c[_0x3adf55(0x272)]()),this['_roomMembers'][_0x3adf55(0x154)](),this['_roomCreated$'][_0x3adf55(0x2ed)]();}},exports['MemberService']=an([Ye(0x0,a[_0x5eb40d(0x341)]),Ye(0x1,a['Inject'](a['UserManagerService']))],exports[_0x5eb40d(0x1ae)]);class cn extends a[_0x5eb40d(0x390)]{constructor(){var _0x5c0d9f=_0x5eb40d;super(...arguments),D(this,'_members',new Map()),D(this,_0x5c0d9f(0x18f),new H['BehaviorSubject'](this[_0x5c0d9f(0x417)])),D(this,'members$',this[_0x5c0d9f(0x18f)][_0x5c0d9f(0x187)]());}[_0x5eb40d(0x272)](){this['_members']['clear']();}['updateMember'](_0x418f52){var _0x483761=_0x5eb40d;this[_0x483761(0x417)][_0x483761(0x305)](_0x418f52[_0x483761(0x2de)],_0x418f52),this[_0x483761(0x27d)]();}[_0x5eb40d(0x25a)](_0x3e0e9c){var _0x536340=_0x5eb40d;this[_0x536340(0x417)]['delete'](_0x3e0e9c);}[_0x5eb40d(0x3b2)](_0x392bda){var _0x58e006=_0x5eb40d;return this[_0x58e006(0x417)]['get'](_0x392bda);}[_0x5eb40d(0x428)](){var _0x5bad65=_0x5eb40d;return Array['from'](this[_0x5bad65(0x417)][_0x5bad65(0x414)]());}[_0x5eb40d(0x27d)](){var _0xbce2b0=_0x5eb40d;this[_0xbce2b0(0x18f)]['next'](this[_0xbce2b0(0x417)]);}}function _0x328b(_0x2a303b,_0x36d4c3){var _0x5f9557=_0x5f95();return _0x328b=function(_0x328b48,_0x32c21c){_0x328b48=_0x328b48-0x130;var _0xe92007=_0x5f9557[_0x328b48];return _0xe92007;},_0x328b(_0x2a303b,_0x36d4c3);}var hn=Object[_0x5eb40d(0x2af)],ln=Object[_0x5eb40d(0x22b)],_n=(_0x177997,_0x565b99,_0x189940,_0x3fbc7e)=>{for(var _0x5e624d=_0x3fbc7e>0x1?void 0x0:_0x3fbc7e?ln(_0x565b99,_0x189940):_0x565b99,_0x3562ed=_0x177997['length']-0x1,_0x39cccf;_0x3562ed>=0x0;_0x3562ed--)(_0x39cccf=_0x177997[_0x3562ed])&&(_0x5e624d=(_0x3fbc7e?_0x39cccf(_0x565b99,_0x189940,_0x5e624d):_0x39cccf(_0x5e624d))||_0x5e624d);return _0x3fbc7e&&_0x5e624d&&hn(_0x565b99,_0x189940,_0x5e624d),_0x5e624d;},oe=(_0x5ac00c,_0x102a38)=>(_0x1946a1,_0x15912a)=>_0x102a38(_0x1946a1,_0x15912a,_0x5ac00c),se=(_0x36da5e=>(_0x36da5e[_0x36da5e[_0x5eb40d(0x3bf)]=0x0]='IDLE',_0x36da5e[_0x36da5e[_0x5eb40d(0x33f)]=0x1]=_0x5eb40d(0x33f),_0x36da5e[_0x36da5e['OFFLINE']=0x2]=_0x5eb40d(0x3a2),_0x36da5e[_0x36da5e['ONLINE']=0x3]=_0x5eb40d(0x306),_0x36da5e))(se||{});const qe={[he[_0x5eb40d(0x1a8)]]:_0x5eb40d(0x31e),[he[_0x5eb40d(0x44b)]]:_0x5eb40d(0x21d),[he[_0x5eb40d(0x1e9)]]:'session.room-not-exists',[he[_0x5eb40d(0x3aa)]]:_0x5eb40d(0x18e),[he[_0x5eb40d(0x206)]]:_0x5eb40d(0x2d5)};exports[_0x5eb40d(0x16e)]=class extends a['RxDisposable']{constructor(_0x40fc1b,_0xd90f6b,_0x607a6a,_0x89867e,_0x41fd60,_0x34102a,_0x265afc,_0x3a795c,_0x2a01c4){var _0x440565=_0x5eb40d;super(),D(this,_0x440565(0x435),new H[(_0x440565(0x179))](0x0)),D(this,_0x440565(0x2b6),this[_0x440565(0x435)][_0x440565(0x187)]()),D(this,_0x440565(0x3d3),new H[(_0x440565(0x474))]()),D(this,_0x440565(0x47a),this[_0x440565(0x3d3)][_0x440565(0x187)]()),D(this,'_socket'),D(this,_0x440565(0x441)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x440565(0x199),null),(this[_0x440565(0x471)]=_0x40fc1b,this['_logService']=_0x607a6a,this[_0x440565(0x3bd)]=_0x89867e,this[_0x440565(0x215)]=_0x41fd60,this['_memberService']=_0x34102a,this['_commentService']=_0x265afc,this[_0x440565(0x2c6)]=_0x3a795c,this['_telemetryService']=_0x2a01c4,this[_0x440565(0x34a)]=!!this[_0x440565(0x36f)],_0xd90f6b[_0x440565(0x469)](H[_0x440565(0x463)](this[_0x440565(0x2fe)]))['subscribe'](_0x4d011c=>{var _0x435cc0=_0x440565,_0x2ac305;typeof _0x4d011c>'u'||(this['_socket']=_0x4d011c,_0x4d011c?(this['_joinRoom'](_0x4d011c),this['_socketMessageSubscription']=_0x4d011c[_0x435cc0(0x42c)][_0x435cc0(0x1af)](_0x47e7e8=>{var _0x548912=_0x435cc0;_0x47e7e8[_0x548912(0x3c1)]===this[_0x548912(0x471)]&&this[_0x548912(0x279)](_0x47e7e8);})):(this[_0x435cc0(0x217)](),this['_sessionStatus$'][_0x435cc0(0x1e7)](0x2),(_0x2ac305=this[_0x435cc0(0x441)])==null||_0x2ac305['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x5012cc=_0x5eb40d;return this[_0x5012cc(0x435)][_0x5012cc(0x2df)]();}[_0x5eb40d(0x3ed)](){var _0x121927=_0x5eb40d,_0x1286b2,_0x59f917;return(_0x59f917=(_0x1286b2=this['_socket'])==null?void 0x0:_0x1286b2[_0x121927(0x2de)])!=null?_0x59f917:null;}[_0x5eb40d(0x272)](){var _0x1630e2=_0x5eb40d;super[_0x1630e2(0x272)](),this[_0x1630e2(0x2fe)]['next'](),this[_0x1630e2(0x2fe)]['complete']();}[_0x5eb40d(0x36a)](){var _0x4bd3de=_0x5eb40d,_0xe8b8f6,_0x5e1043;this[_0x4bd3de(0x217)](),(_0xe8b8f6=this[_0x4bd3de(0x1c0)])==null||_0xe8b8f6[_0x4bd3de(0x23c)]({'cmd':G[_0x4bd3de(0x139)],'data':{'roomID':this[_0x4bd3de(0x471)]}}),(_0x5e1043=this[_0x4bd3de(0x1c0)])==null||_0x5e1043[_0x4bd3de(0x36a)](),this['_event$'][_0x4bd3de(0x2ed)](),this[_0x4bd3de(0x435)][_0x4bd3de(0x2ed)](),this['dispose']();}[_0x5eb40d(0x279)](_0x48acc){var _0x448dd1=_0x5eb40d;_0x48acc[_0x448dd1(0x389)]===G[_0x448dd1(0x269)]?this[_0x448dd1(0x14c)](_0x48acc):_0x48acc[_0x448dd1(0x389)]===G[_0x448dd1(0x304)]&&this[_0x448dd1(0x1e5)](_0x48acc);}['_joinRoom'](_0x58c171){var _0x593a88=_0x5eb40d;this[_0x593a88(0x435)][_0x593a88(0x1e7)](0x1),_0x58c171[_0x593a88(0x23c)]({'cmd':G[_0x593a88(0x269)],'routeKey':this[_0x593a88(0x471)],'routeType':'','data':{'rooms':[{'roomID':this[_0x593a88(0x471)]}]}});}[_0x5eb40d(0x14c)](_0x3b9918){var _0x3d1084=_0x5eb40d,_0x342919;if(_0x3b9918['code']in qe){this[_0x3d1084(0x2c6)][_0x3d1084(0x2e2)]({'id':Q[_0x3d1084(0x3c9)],'data':qe[_0x3b9918[_0x3d1084(0x2d6)]]}),this[_0x3d1084(0x435)][_0x3d1084(0x1e7)](0x2);return;}this[_0x3d1084(0x435)][_0x3d1084(0x1e7)](0x3);const _0xd7784c=(_0x342919=_0x3b9918[_0x3d1084(0x49d)][_0x3d1084(0x3cd)][this[_0x3d1084(0x471)]])==null?void 0x0:_0x342919['members'];_0xd7784c&&_0xd7784c[_0x3d1084(0x211)](_0x3dec75=>this[_0x3d1084(0x3dd)]['updateMember'](this[_0x3d1084(0x471)],_0x3dec75));}[_0x5eb40d(0x1e5)](_0x566e09){var _0x51811b=_0x5eb40d;try{const _0x1270b8=_0x566e09[_0x51811b(0x49d)];switch(_0x1270b8[_0x51811b(0x379)]){case m[_0x51811b(0x29b)][_0x51811b(0x2bf)]:this['_onUserJoin'](_0x1270b8),this[_0x51811b(0x3d3)][_0x51811b(0x1e7)](_0x1270b8);break;case m[_0x51811b(0x29b)][_0x51811b(0x1f6)]:this['_onUserLeave'](_0x1270b8),this[_0x51811b(0x3d3)][_0x51811b(0x1e7)](_0x1270b8);break;case m[_0x51811b(0x29b)][_0x51811b(0x168)]:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x51811b(0x3b9)](),this[_0x51811b(0x475)](),this[_0x51811b(0x3d3)][_0x51811b(0x1e7)](_0x1270b8);break;case m[_0x51811b(0x29b)]['MSG_FOR_ERROR']:this[_0x51811b(0x430)][_0x51811b(0x2b2)](_0x51811b(0x426)+JSON[_0x51811b(0x2b5)](_0x1270b8)),this['_event$'][_0x51811b(0x1e7)](_0x1270b8);break;case m[_0x51811b(0x29b)][_0x51811b(0x21a)]:this[_0x51811b(0x2b0)][_0x51811b(0x38e)](_0x1270b8[_0x51811b(0x49d)]),this[_0x51811b(0x3d3)]['next'](_0x1270b8);break;default:this[_0x51811b(0x3d3)][_0x51811b(0x1e7)](_0x1270b8);}}catch(_0x1ea7b4){this[_0x51811b(0x430)]['error'](_0x1ea7b4,_0x566e09);}}[_0x5eb40d(0x2a7)](_0x4916c4){var _0x538d53=_0x5eb40d;this['_memberService'][_0x538d53(0x171)](this[_0x538d53(0x471)],_0x4916c4[_0x538d53(0x49d)]);}[_0x5eb40d(0x1f7)](_0x2a004e){var _0x17e6fa=_0x5eb40d;this['_memberService'][_0x17e6fa(0x25a)](this[_0x17e6fa(0x471)],_0x2a004e[_0x17e6fa(0x49d)][_0x17e6fa(0x2de)]);}async[_0x5eb40d(0x23c)](_0x4e6616,_0x49cf66){var _0x283b31=_0x5eb40d;if(this[_0x283b31(0x1a0)]!==0x3||!this[_0x283b31(0x1c0)])throw new Error(_0x283b31(0x357));try{_0x4e6616[_0x283b31(0x379)]===m[_0x283b31(0x29b)][_0x283b31(0x427)]&&(this[_0x283b31(0x2ca)](),this[_0x283b31(0x136)](_0x4e6616)),this[_0x283b31(0x1c0)]['send']({'cmd':G['INGEST'],'routeKey':_0x49cf66,'routeType':'','data':_0x4e6616});}catch(_0x4249c3){this['_logService']['error'](_0x4249c3);}}[_0x5eb40d(0x2ca)](){var _0x1a66ac=_0x5eb40d,_0x2f97cc;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x588550=_0x328b;this[_0x588550(0x292)]=null,this[_0x588550(0x2c6)][_0x588550(0x2e2)]({'id':Q[_0x588550(0x422)]});},(_0x2f97cc=this[_0x1a66ac(0x3bd)][_0x1a66ac(0x2a4)](He))!=null?_0x2f97cc:gt);}[_0x5eb40d(0x475)](){var _0xa2d0f3=_0x5eb40d;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xa2d0f3(0x292)]),this[_0xa2d0f3(0x292)]=null);}[_0x5eb40d(0x136)](_0x13bcae){var _0x449159=_0x5eb40d;if(!this['_shouldReportTelemetry'])return;const {data:_0x9e7d72}=_0x13bcae,{unitID:_0x4a258c,changeset:_0x20f86f}=_0x9e7d72,{mutations:_0x1dc310,type:_0x26834d}=_0x20f86f;this[_0x449159(0x199)]={'unitId':_0x4a258c,'type':_0x26834d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x1dc310)};}[_0x5eb40d(0x3b9)](){var _0xdbc3fc=_0x5eb40d;if(this[_0xdbc3fc(0x34a)]){if(!this[_0xdbc3fc(0x199)]){this['_logService'][_0xdbc3fc(0x2b2)](_0xdbc3fc(0x472),_0xdbc3fc(0x15b));return;}this[_0xdbc3fc(0x199)][_0xdbc3fc(0x25c)]=performance[_0xdbc3fc(0x2ec)](),this[_0xdbc3fc(0x199)]['duration']=this[_0xdbc3fc(0x199)]['stopTime']-this[_0xdbc3fc(0x199)]['startTime'],this[_0xdbc3fc(0x36f)][_0xdbc3fc(0x476)](nn,this[_0xdbc3fc(0x199)]),this['_telemetryInfo']=null;}}[_0x5eb40d(0x217)](){var _0x55fd37=_0x5eb40d;this[_0x55fd37(0x199)]=null;}},exports[_0x5eb40d(0x16e)]=_n([oe(0x2,a[_0x5eb40d(0x2d3)]),oe(0x3,a[_0x5eb40d(0x150)]),oe(0x4,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x2e7)])),oe(0x5,a[_0x5eb40d(0x22a)](exports[_0x5eb40d(0x1ae)])),oe(0x6,a[_0x5eb40d(0x22a)](Be)),oe(0x7,a[_0x5eb40d(0x22a)](te)),oe(0x8,a[_0x5eb40d(0x149)](jt['ITelemetryService']))],exports[_0x5eb40d(0x16e)]);var un=Object[_0x5eb40d(0x2af)],dn=Object[_0x5eb40d(0x22b)],vn=(_0xd80dcc,_0x5f3498,_0x4ee07f,_0xa59a1b)=>{for(var _0x5131d5=_0xa59a1b>0x1?void 0x0:_0xa59a1b?dn(_0x5f3498,_0x4ee07f):_0x5f3498,_0x28a650=_0xd80dcc['length']-0x1,_0x179959;_0x28a650>=0x0;_0x28a650--)(_0x179959=_0xd80dcc[_0x28a650])&&(_0x5131d5=(_0xa59a1b?_0x179959(_0x5f3498,_0x4ee07f,_0x5131d5):_0x179959(_0x5131d5))||_0x5131d5);return _0xa59a1b&&_0x5131d5&&un(_0x5f3498,_0x4ee07f,_0x5131d5),_0x5131d5;},ae=(_0x346753,_0x23d068)=>(_0x4315c6,_0x409e99)=>_0x23d068(_0x4315c6,_0x409e99,_0x346753);exports[_0x5eb40d(0x483)]=class extends a[_0x5eb40d(0x390)]{constructor(_0x3b78bf,_0x248029,_0x2a7940,_0x5ba75a,_0x109d0a,_0x9c1741,_0x12e516){var _0x24275a=_0x5eb40d;super(),D(this,_0x24275a(0x275),new H['BehaviorSubject'](void 0x0)),D(this,_0x24275a(0x14e),this['_socket$'][_0x24275a(0x187)]()),D(this,_0x24275a(0x2be),null),D(this,'_sessions',new Map()),D(this,_0x24275a(0x15d),new H[(_0x24275a(0x179))](se[_0x24275a(0x3bf)])),D(this,_0x24275a(0x277),this[_0x24275a(0x15d)]['asObservable']()),D(this,_0x24275a(0x24d),!0x1),D(this,_0x24275a(0x267)),D(this,_0x24275a(0x170),0x0),D(this,_0x24275a(0x23f)),D(this,_0x24275a(0x32c)),(this[_0x24275a(0x47b)]=_0x3b78bf,this[_0x24275a(0x430)]=_0x248029,this[_0x24275a(0x3bd)]=_0x2a7940,this[_0x24275a(0x3f3)]=_0x5ba75a,this[_0x24275a(0x205)]=_0x109d0a,this[_0x24275a(0x2c6)]=_0x9c1741,this['_networkConditionService']=_0x12e516,this[_0x24275a(0x143)]());}get[_0x5eb40d(0x1c0)](){var _0x460640=_0x5eb40d;return this[_0x460640(0x275)][_0x460640(0x2df)]();}['_listenToNetworkCondition'](){var _0x1ffb0a=_0x5eb40d;this['_networkConditionService']&&this[_0x1ffb0a(0x255)](this[_0x1ffb0a(0x36c)][_0x1ffb0a(0x2ae)][_0x1ffb0a(0x1af)](_0x5276fb=>{var _0x1f3bca=_0x1ffb0a;_0x5276fb&&!this[_0x1f3bca(0x1c0)]&&this[_0x1f3bca(0x494)](),_0x5276fb||this[_0x1f3bca(0x193)]();}));}[_0x5eb40d(0x272)](){var _0x26086f=_0x5eb40d;super[_0x26086f(0x272)](),this[_0x26086f(0x3d4)][_0x26086f(0x211)](_0x4ee83e=>_0x4ee83e['dispose']()),this['_sessions'][_0x26086f(0x154)](),this[_0x26086f(0x15d)][_0x26086f(0x2ed)]();}async[_0x5eb40d(0x425)](_0xea5c93){var _0x2b9173=_0x5eb40d;if(this[_0x2b9173(0x3d4)][_0x2b9173(0x276)](_0xea5c93))return this[_0x2b9173(0x3d4)]['get'](_0xea5c93);this[_0x2b9173(0x19f)]();const _0x467f7a=this[_0x2b9173(0x47b)][_0x2b9173(0x35a)](exports[_0x2b9173(0x16e)],_0xea5c93,this[_0x2b9173(0x275)][_0x2b9173(0x187)]());return this[_0x2b9173(0x3d4)][_0x2b9173(0x305)](_0xea5c93,_0x467f7a),_0x467f7a;}[_0x5eb40d(0x401)](_0x5b0056){var _0x84a9b8=_0x5eb40d,_0x4b4e71;const _0x55d9b6=this[_0x84a9b8(0x3d4)][_0x84a9b8(0x319)](_0x5b0056);_0x55d9b6&&(this['_sessions'][_0x84a9b8(0x1ea)](_0x5b0056),_0x55d9b6[_0x84a9b8(0x36a)]()),this['_sessions'][_0x84a9b8(0x1fc)]||(_0x4b4e71=this[_0x84a9b8(0x1c0)])==null||_0x4b4e71[_0x84a9b8(0x36a)]();}['reconnect'](){var _0x218c7d=_0x5eb40d;this[_0x218c7d(0x170)]=0x0,this[_0x218c7d(0x267)]!=null&&(clearTimeout(this[_0x218c7d(0x267)]),this[_0x218c7d(0x267)]=null),this[_0x218c7d(0x404)]();}async['_getSessionTicket'](){var _0x333b99=_0x5eb40d,_0x604917,_0x21e8be,_0x368c4d;const _0xc08edd=this[_0x333b99(0x3bd)][_0x333b99(0x2a4)](Y),_0x21ff4f=(_0x604917=_0xc08edd==null?void 0x0:_0xc08edd[_0x333b99(0x443)])!=null?_0x604917:Ft;return(_0x368c4d=(_0x21e8be=(await this[_0x333b99(0x205)]['get'](_0x21ff4f,{'headers':{'Content-Type':'application/json'}}))[_0x333b99(0x35b)])==null?void 0x0:_0x21e8be[_0x333b99(0x157)])!=null?_0x368c4d:'';}[_0x5eb40d(0x330)](_0x28df47){var _0x331524=_0x5eb40d,_0x2d515a,_0x24ee7c;const _0x23e87d=this['_configService'][_0x331524(0x2a4)](St),_0x4fcacf=this[_0x331524(0x3bd)]['getConfig'](Y),_0x4d817c=(_0x24ee7c=(_0x2d515a=_0x4fcacf==null?void 0x0:_0x4fcacf[_0x331524(0x186)])!=null?_0x2d515a:_0x23e87d)!=null?_0x24ee7c:pt,_0x4d7412=typeof window>'u'?new URL(_0x4d817c):new URL(_0x4d817c,window[_0x331524(0x41e)][_0x331524(0x2e5)]);_0x4d7412[_0x331524(0x1d0)][_0x331524(0x305)](_0x331524(0x2dc),_0x28df47);const _0x5efa83=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x331524(0x41e)][_0x331524(0x359)]);return _0x5efa83[_0x331524(0x319)](_0x331524(0x39b))&&_0x4d7412[_0x331524(0x1d0)][_0x331524(0x305)]('runId',_0x5efa83[_0x331524(0x319)]('runId')),_0x4d7412[_0x331524(0x454)]();}async[_0x5eb40d(0x415)](){var _0x3b9a11=_0x5eb40d;const _0x153a18=await this[_0x3b9a11(0x2cd)](),_0x55f324=this[_0x3b9a11(0x330)](_0x153a18),_0x338008=this[_0x3b9a11(0x3f3)][_0x3b9a11(0x2ba)](_0x55f324);return this[_0x3b9a11(0x2be)]=_0x338008,_0x338008;}async[_0x5eb40d(0x19f)](){var _0x2dc38a=_0x5eb40d,_0xbe99c0,_0x5e6fb7;try{const _0x9a7458=(_0x5e6fb7=(_0xbe99c0=this['_socket'])!=null?_0xbe99c0:this['_candidateSocket'])!=null?_0x5e6fb7:await this[_0x2dc38a(0x415)]();if(_0x9a7458){const _0x556414=_0x9a7458[_0x2dc38a(0x23c)];_0x9a7458[_0x2dc38a(0x23c)]=_0x15137f=>(this[_0x2dc38a(0x3eb)](),_0x556414[_0x2dc38a(0x282)](_0x9a7458,[_0x15137f])),_0x9a7458[_0x2dc38a(0x42c)]['subscribe'](_0x2e4815=>this['_onMessage'](_0x9a7458,_0x2e4815)),_0x9a7458['error$'][_0x2dc38a(0x469)](W[_0x2dc38a(0x1a9)](0x1))[_0x2dc38a(0x1af)](_0x4699cf=>this[_0x2dc38a(0x430)]['error'](_0x2dc38a(0x46a),_0x4699cf)),_0x9a7458[_0x2dc38a(0x42e)][_0x2dc38a(0x469)](W['take'](0x1))[_0x2dc38a(0x1af)](()=>{var _0x130084=_0x2dc38a;this[_0x130084(0x24f)](_0x9a7458);}),_0x9a7458[_0x2dc38a(0x212)]['pipe'](W[_0x2dc38a(0x1a9)](0x1))[_0x2dc38a(0x1af)](_0x49b2a2=>{var _0x53ac5a=_0x2dc38a;this[_0x53ac5a(0x430)][_0x53ac5a(0x21b)]('[CollaborationSessionService]',_0x53ac5a(0x2f4),_0x49b2a2),this[_0x53ac5a(0x29f)]();});}}catch(_0x49be79){this[_0x2dc38a(0x430)][_0x2dc38a(0x2b2)](_0x49be79),this[_0x2dc38a(0x29f)]();}}[_0x5eb40d(0x24f)](_0x214dd3){var _0x32f3d8=_0x5eb40d;this['_logService'][_0x32f3d8(0x21b)](_0x32f3d8(0x2e9),_0x32f3d8(0x362)),_0x214dd3['send']({'cmd':G[_0x32f3d8(0x1c2)]}),this[_0x32f3d8(0x3eb)]();}[_0x5eb40d(0x193)](){var _0x5cbf7b=_0x5eb40d;this[_0x5cbf7b(0x24d)]=!0x1,this['_candidateSocket']=null,this[_0x5cbf7b(0x15d)][_0x5cbf7b(0x1e7)](se[_0x5cbf7b(0x3a2)]),this[_0x5cbf7b(0x275)]['next'](null),this[_0x5cbf7b(0x3d5)](),this[_0x5cbf7b(0x448)]();}['_onConnectionFailed'](){var _0x29d425=_0x5eb40d,_0x21722a;this['_onOffline'](),this[_0x29d425(0x170)]<((_0x21722a=this[_0x29d425(0x3bd)][_0x29d425(0x2a4)](It))!=null?_0x21722a:Vt)?(this['_collaborationUIEventService'][_0x29d425(0x2e2)]({'id':Q[_0x29d425(0x2f9)]}),this[_0x29d425(0x404)]()):this[_0x29d425(0x2c6)][_0x29d425(0x2e2)]({'id':Q[_0x29d425(0x2cf)]});}[_0x5eb40d(0x404)](){var _0x3bcaca=_0x5eb40d,_0x2cec2c;const _0x2bf60f=this[_0x3bcaca(0x170)],_0x48e6f1=this[_0x3bcaca(0x3bd)][_0x3bcaca(0x2a4)](Y),_0x55da1c=_0x2bf60f===0x0?0x0:((_0x2cec2c=_0x48e6f1==null?void 0x0:_0x48e6f1['retryConnectingInterval'])!=null?_0x2cec2c:Gt)*0x2**_0x2bf60f;this[_0x3bcaca(0x267)]=setTimeout(()=>{var _0x2d1aa4=_0x3bcaca;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x2d1aa4(0x19f)]();},_0x55da1c),this['_retryCount']+=0x1;}[_0x5eb40d(0x46c)](_0x48b213,_0xe9e0d5){var _0x3aaea4=_0x5eb40d;const {cmd:_0x52d1d9}=_0xe9e0d5;_0x52d1d9===G[_0x3aaea4(0x1c2)]&&!this[_0x3aaea4(0x24d)]&&(_0x48b213['memberID']=_0xe9e0d5[_0x3aaea4(0x49d)][_0x3aaea4(0x2de)],this[_0x3aaea4(0x275)][_0x3aaea4(0x1e7)](_0x48b213),this[_0x3aaea4(0x15d)][_0x3aaea4(0x1e7)](se[_0x3aaea4(0x306)]),this[_0x3aaea4(0x24d)]=!0x0,this[_0x3aaea4(0x2be)]=null),_0x52d1d9===G[_0x3aaea4(0x203)]&&this[_0x3aaea4(0x3d5)](),this['_rescheduleHeartbeat']();}[_0x5eb40d(0x3eb)](){var _0x216e91=_0x5eb40d,_0xcb99f9;this['_clearHeartbeatTimer'](),this[_0x216e91(0x23f)]=setTimeout(()=>this[_0x216e91(0x172)](),(_0xcb99f9=this[_0x216e91(0x3bd)][_0x216e91(0x2a4)](mt))!=null?_0xcb99f9:Wt);}[_0x5eb40d(0x172)](){var _0x2c0bd1=_0x5eb40d;this['_socket'][_0x2c0bd1(0x23c)]({'cmd':G['HEARTBEAT']}),this[_0x2c0bd1(0x1a5)]();}[_0x5eb40d(0x1a5)](){var _0x37c017=_0x5eb40d,_0x4ff6b3;this['_timeoutTimer']=setTimeout(()=>this[_0x37c017(0x29f)](),(_0x4ff6b3=this[_0x37c017(0x3bd)][_0x37c017(0x2a4)](He))!=null?_0x4ff6b3:gt);}[_0x5eb40d(0x448)](){var _0x1e44ed=_0x5eb40d;this[_0x1e44ed(0x23f)]!=null&&(clearTimeout(this[_0x1e44ed(0x23f)]),this[_0x1e44ed(0x23f)]=null);}['_clearTimeoutTimer'](){var _0x431f6c=_0x5eb40d;this[_0x431f6c(0x32c)]!=null&&(clearTimeout(this[_0x431f6c(0x32c)]),this[_0x431f6c(0x32c)]=null);}},exports[_0x5eb40d(0x483)]=vn([ae(0x0,a['Inject'](a[_0x5eb40d(0x1dd)])),ae(0x1,a[_0x5eb40d(0x2d3)]),ae(0x2,a[_0x5eb40d(0x150)]),ae(0x3,ke),ae(0x4,a['Inject'](q[_0x5eb40d(0x226)])),ae(0x5,a[_0x5eb40d(0x22a)](te)),ae(0x6,a['Optional'](Rt))],exports[_0x5eb40d(0x483)]);const V=[];function _0x5f95(){var _0x17a724=['/universer-api/authz','DEFAULT_FILE_NAME','reqId','SYNCED','UPDATE_CURSOR','commentUpdateEvent','startsWith','isArray','deepClone','max','_socketMessageSubscription','_initUnitPermissionChange','wsSessionTicketUrl','AwaitingWithPendingState','string','mapDocumentTypeToUniverType','then','_clearHeartbeatTimer','sigBytes','subUnitId','JOIN_ROOM_FULL','AES','_onLocalMutation','CollaborationStatus','delay','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','indexOf','push','SEND_CHANGESET_TIMEOUT','toString','collaborators','enableSingleActiveInstanceLock','rev','entries','COMPLETION_FINISHED','Pkcs7','779752fdzyzI','toggleOnline','disableLocalCache','SheetCollaborationEntity','onTransformRemoteChangesetByStateCache','IUndoRedoService','PENDING','synced','takeUntil','_isPermissionRej','loadSheet','unitInfo$','_resendTimer','error$','pipe','[CollaborationSessionService]:\x20socket\x20error','_mode','_onMessage','_undoRedoService','@univerjs/network','Undefined','UnitSnapshot','_unitID','[CollaborationSession]','_sheetTransformSelectionsService','Subject','_clearCollaborationTimeoutTimer','capture','_doReset','_loadSheet','deleteCollaborator','event$','_injector','catch','executeCommand','snapshot','ENSURE_SNAPSHOT_EXECUTION','YUUMI_RATE_OVER_LIMIT','CONNECTOR_DATA_TOO_LARGE','toDisposable','CollaborationSessionService','_transitionLocked','SUCCUSS','HMAC','_iv','CHANGESET_REJ','INVALID_ARGUMENT','isPermissionRej','listCollaborators','_getAPIPrefixPath','every','?size=','roles','randomBytes','_ENC_XFORM_MODE','sequenceExecute','onSyncEditingCollabCursor','reconnect','IContextService','m2Prime','_change$','HEARTBEAT_TIMEOUT_KEY','state$','_clearScheduledTask','UNISCRIPT_RUN','_iKey','data','[CollaborationState]:\x20apply\x20error!','charCodeAt','/block/','connection\x20error','OTHER_CLIENT_EDITING','_redoStacks','shouldCloseConn','_startCollaboration','localCacheService','onSendChangeset','onMissingChangesets','createCollaborator','put','c1Prime','_startTelemetryCollaborationNewChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_hash','LEAVE','registerHTTPInterceptor','shareReplay','create','_showConflictNotification','HttpImport','_pendingMutations','range','onRemoteRej','execute','_listenToNetworkCondition','textEncoder','patch','Quantity','_getUndoStack','_transformStateCache','Optional','OPTIONAL','subject','_onJoinRoomEvent','LocalUndoRedoService','socket$','_remoteChangesetQueue','IConfigService','_initRequestHeader','session','\x0aAfter:\x20','clear','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','url','ticket','encode','_type','/universer-api/user/session-ticket','telemetry\x20info\x20is\x20not\x20initialized','_initCloseConn','_status$','image/gif','onStarting','awaitingChangeset','CommandType','ISnapshotServerService','confirm','loadOfflineData','_transformRemoteChangesetByIMECache','enableOfflineEditing','_sendingTimer','CHANGESET_ACK','Cipher','charAt','_awaitingChangeset','_updateLocalCache','__creator','CollaborationSession','_nRounds','_retryCount','updateMember','_sendHeartbeat','YUUMI_UNABLE_LOAD_URL','_DEC_XFORM_MODE','revision','length','getImage','_append','BehaviorSubject','getCollabEntity$','encodeURIComponent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','NO_OTHER_CLIENTS_EDITING','@univerjs-pro/license','EvpKDF','isTransformMutationsWithChangesetFailure','_key','5glUCTM','ciphertext','RevisionService','_process','collabWebSocketUrl','asObservable','_clearUndo','fetch_missing','_acknowledgedAwaitingChangeset','finalize','csAckEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','session.room-permission-denied','_members$','CompressMutationService','uploadFileServerUrl','[CollaborationEntity]','_onOffline','authzUrl','AuthzIoHttpService','unitId\x20is\x20not\x20found','_exhaustRemoteChangesetQueue','allowed','_telemetryInfo','LIVESHARE_NEW_HOST','YUUMI_URL_COL_OUT_OF_RANGE','/resources','LIVESHARE_FETCH_OPERATIONS','ITransformService','_tryEnsureSocket','sessionStatus','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/universer-api/uniscript','hasher','_waitForHeartbeatResponse','csShouldRetryEvent','resend','FAIL','take','ceil','DocCollaborationEntity','_changesetReqId','NOT_FOUND','MemberService','subscribe','setWaitCount','transformStack\x20failed!','_reverseMap','_singleActiveUnitService','WordArray','getLatestCsReqIdBySid','UnitEmbedded','_collabSessionService','_createHandler','_onRemoteChangeset','joinEvent','_keySchedule','FetchingMissState','reverse','[SyncedState]:\x20received\x20rejection.','51280meUdjM','_socket','Hasher','HELLO','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collabSubmitChangesetUrl','getTypeOfUnitDisposed$','_prevBlock','LOGIN_URL_KEY','[CollaborationUndoRedoService]','generateRandomId','CipherParams','_handler','getUnitId','_univerInstanceService','isTransformMutationsWithChangesetSuccess','WorkbookEditablePermission','searchParams','PERSON','_replayCachedMutations','sid','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','hasOwnProperty','_xformMode','fetchMissingChangesets','localeService','ERROR_EXCEED_SIZE','MentionType','FETCH_MISSING','transformSelections','Injector','_sender','_roomCreated$','getUnitStatus$','Encryptor','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','format','_getRedoStack','_onRecvEvent','@univerjs-pro/collaboration','next','padding','JOIN_ROOM_NOT_EXISTS','delete','submit\x20changeset\x20error!','SheetTransformSelectionsService','_clearRedo','name','state','not_collab','signUrlServerUrl','mutations','_parse','CollaborationSocketService','transformUndoRedo','USERS_LEAVE','_onUserLeave','\x0aCurrent:\x20','SNAPSHOT_URL_KEY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getImageSourceCache','size','SerializableCipher','onTransformSelections','reject','BASE64','function','_HTTPService','HEARTBEAT','[PendingState]:\x20received\x20rejection.','_httpService','GLOBAL_ROOMS_CNT_EXCEEDS','CBC','UNDEFINED','find','SetSelectionsOperation','uniscriptRunEvent','decryptBlock','CollaborationEntity','NEW_CHANGESETS','fetchThroughInterceptors','substr','forEach','close$','_createHelper','HEARTBEAT_INTERVAL_KEY','_localeService','saveChangeset','_throwTelemetryCollaborationNewChangeset','update','_getAPIPrefix','COMMENT_UPDATE','debug','registerDependencies','session.room-full','awaiting','Base64','slice','PendingState','_onRemoteRetry','ICommandService','_authzIoService','headers','HTTPService','getCurrentRevOfUnit','NoPadding','onTransformRemoteChangesetByIMECache','Inject','getOwnPropertyDescriptor','getUnitOnRev','_onRemoteRejected','_permissionService','_getCurrentRevision','UUID','originalMeta','prototype','Latin1','BufferedBlockAlgorithm','enc','unitID','post','sheets','rxjs','HEARTBEAT_INTERVAL','_userManagerService','send','reduce','_transformIMECache','_sendHeartbeatTimer','MentionIoHttpService','LIVESHARE_OPERATION','ILocalCacheService','_transformUndoredo','_snapshotServerService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','blockSize','readyForCollab','listRoles','SEND_CHANGESET_TIMEOUT_KEY','LIVESHARE_REQUEST_HOST','ws://127.0.0.1:8000/universer-api/comb/connect','parseProtocolChangeset','_socketReady','COLLAB_WEB_SOCKET_URL_KEY','_onConnectionOpen','YUUMI_SUBSCRIPTION_NOT_FOUND','IPermissionService','action','clamp','_applyRemoteChangeset','disposeWithMe','href','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UniverCollaborationPlugin','_disableEditing','removeMember','?url=','stopTime','mode','createDecryptor','splice','COMPRESS_MUTATION_APPLY','PY_RUNTIME_SCRIPT_ERROR','@univerjs/sheets','getFocusedUnit','_changesetSessionId','_resendTimeout','14PcpRSj','_retryConnectingTimer','loadDoc','JOIN','/universer-api/oidc/authpage','AWAITING_WITH_PENDING','_commandService','_nDataBytes','HmacSHA1','responseType','BlockCipherMode','COLLAB_SUBMIT_CHANGESET_URL','dispose','_minBufferSize','_incrementRevisionNumber','_socket$','has','status$','putCollaborators','_onCombEvent','byteOffset','_registerDependencies','crypto','_emitMembers','parse','UNIVER_SLIDE','UNAUTHENTICATED','_createHmacHelper','apply','repeat','SNAPSHOT_HAS_BEEN_REMOVED','/-/object/-/batch_allowed','SnapshotServerOverHTTPService','/universer-api/file/{fileID}/sign-url','snapshotServerUrl','createIdentifier','randomUUID','getInterceptPoints','_unitInfo$','awaiting_with_pending','toLowerCase','DataLoaderService','_updateState','[DataLoaderService]','_collaborationTimeoutTimer','ERROR_IMAGE','UNRECOGNIZED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_state$','Malformed\x20UTF-8\x20data','decrypt','1000920kpRtCt','APPLY_DUPLICATED','CollaborationEvent','incrementRevOfUnit','MergeInterceptorFactory','UniverSheetsPlugin','_onConnectionFailed','_roomMembers','CollaborationUIEventId','INTERNAL_ERROR','joinRsp','getConfig','/unit/','concat','_onUserJoin','unitId','MUTATION','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20received\x20changeset.','requestParams','Decryptor','online$','defineProperty','_commentService','getCollabEntity','error','_createInitialStateImpl','_collaborationPaused','stringify','sessionStatus$','getWorkbookSelections','updateOfflineData','iterations','createSocket','failed\x20to\x20apply\x20missed\x20changesets!','getLocalCacheKey','resourceIDs','_candidateSocket','USERS_ENTER','baseRev','title','x-univer-host','UniverNetworkPlugin','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_map','_collaborationUIEventService','appendMutation','{fileID}','transformChangesets','_scheduleCollaborationTimeoutTimer','HttpExport','/object/','_getSessionTicket','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','mixIn','/universer-api/snapshot/','2660070xMhnyU','ILogService','_onFetchMissResult','session.room-cnt-exceeds','code','InsertSheetMutation','encrypt','words','\x20in\x20_schedule.','COLLAB_WEB_SOCKET_URL','sessionTicket','_handlerCallback','memberID','getValue','pad','unit-cache-','emitEvent','getCurrentSelections','pending','origin','10778736IBAnHj','LocaleService','keySize','[CollaborationSessionService]','getRandomValues','PSEUDO_FETCH_MISSING_RESULT','now','complete','status','firstValueFrom','RichTextEditingMutation','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_substituteRedoStack','params','socket\x20close','_toggleOnline','_schedule','createEncryptor','ISingleActiveUnitService','SOCKET_FAILED_RETRY','_resendWithTimeout','_commentUpdate$','_executeRemoteChangeset','/-/object/list','dispose$','algo','PERMISSION_REJ','PasswordBasedCipher','symbol','SheetPermissionInitController','RECV','set','ONLINE','SHA1','updatePermissionPoint','sendChangesetTimeout','findIndex','[OfflineState]:\x20received\x20rejection.','image/jpg','_submitChangeset','offline','kdf','filter','onRemoteChangeset','isTransformChangesetsSuccess','call','_entityInit$','random','COMPRESS_MUTATION_SEND','ImageSourceType','@univerjs/telemetry','get','SNAPSHOT_SERVER_URL_KEY','workbook','loginUrlKey','IAuthzIoService','session.join-failed','target','_waitCount','519uTTbNM','_transformRemoteChangesetByStateCache','objectID','_loadDoc','INGEST','MD5','_decreaseWaiting','ImageUploadStatusType','/rev/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INetworkConditionService','_timeoutTimer','merge','selections','method','_createSocketURL','fromCharCode','LOCAL_CACHE_INTERVAL','clone','@univerjs/drawing','LICENSE_MAX_UNITS_EXCEEDED','_toggleOffline','_lockTransition','_data','POST','27tCCdFF','byteLength','type','compute','_oKey','JOINING','unknown','IUniverInstanceService','compose','_revisionService','objectActions','commentUpdate$','RETRY_CONNECTING_MAX_COUNT','_scheduleCompleteTimestamp','image/png','floor','_shouldReportTelemetry','/collaborator','_state','_checkMissing','SyncedState','_getUploadFileURL','&to=','onTransformIME','_cipher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT_TIMEOUT','auth.needGotoLoginAlert','/fetchmissing?from=','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','DependentOn','search','createInstance','body','rxjs/operators','replace','b64DecodeUnicode','UNIVER_SHEET','onlyLocal','add','socket\x20open.','conflict','People','SNAPSHOT_INVALID_SNAPSHOT','_hasher','CollaborationController','MSG_FOR_ERROR','addImageSourceCache','close','NOT_COLLAB','_networkConditionService','LICENSE_EXPORT_SIZE_EXCEEDED','_snapshotService','_telemetryService','concatMap','_replaceFileID','RxDisposable','_getCtorByUniverType','ERROR_IMAGE_TYPE','sin','SheetsSelectionsService','list','/role','eventID','bind','textRanges','key','fetchMiss','avatar','updateCursorEvent','Could\x20not\x20dynamically\x20require\x20\x22','CHANGESET_SHOULD_RETRY','_doCryptBlock','DEFAULT_COLLAB_WEB_SOCKET_URL','Workbook','UniverInstanceType','UniverCollaborationClientPlugin','_imageSourceCache','setCurrentUser','cmd','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_createInitialState','OpenSSL','onCommentUpdate','RETRY_CONNECTING_MAX_COUNT_KEY','Disposable','onMissedChangesetFetched','fromCollab','onRemoteAck','saveSnapshot','getActiveSheet','getUnit','CLOSE_ROOM','CollaborativeUndoRedoService','getSnapshotAPIPath','_transformSelections','runId','TOO_MANY_REQUESTS','reset','22gKnQls','ICollaborationSocketService','getDeserializedSheetBlock','_init','OFFLINE','APPLY_NON_SEQUENTIAL_REVISION','_substituteUndoStack','@univerjs/docs','[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.','transformMutationsWithChangeset','_compressMutationService','join','JOIN_ROOM_PERMISSION_DENIED','$super','getCurrentUser','pluginName','_transformStack','Utf8','univer-pro.collaboration-client-socket-service','ALREADY_EXISTS','getMember','AUTHZ_URL_KEY','min','_transformService','/allowed','waitForRoom$','_updateStatus','_stopTelemetryCollaborationNewChangeset','_config','map','&assign=','_configService','[OfflineState]:\x20received\x20acknowledgement.','IDLE','ConflictState','routeKey','UPDATE_PERMISSION_OBJ','encryptBlock','Base','editingUnit','pauseCollaboration','collaboration-client.config','cfg','JOIN_ROOM_FAILED','unpad','_entities','editing\x20status\x20changed\x20to','roomInfos','CollaborationImageIoService','__esModule','exports','_localCacheService','FETCH_MISS','_event$','_sessions','_clearTimeoutTimer','init','_unlockTransition','_doFinalize','UnitStatus','formatter','touchDependencies','PERMISSION_DENIED','_memberService','setShowComponents','extend','/universer-api/stream/file/upload','actions','_collaborationSessionService','toggleOffline','_removeRoom','Rectangle','&source=','c2Prime','changesets','8420bFKrkh','APPLY_REJECT','_rescheduleHeartbeat','AWAITING','getMemberID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearLocalCache','/object','_initDependencies','_instanceService','_socketService','SHOULD_CLOSE_CONN','IImageIoService','_initMergeInterceptor','LOCAL_CACHE_INTERVAL_KEY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','liveShareNewHost','_invKeySchedule','liveShareOperation','interceptor','_getSendChangesetTimeout','UNIVER_DOC','isInternalEditorID','CONFLICT','closeSession','onRemoteRetry','initWorkbookPermissionChange','_tryReconnect','ISocketService','OfflineState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/universer-api/snapshot','onLocalMutation','OTHER_CLIENTS_EDITING','loadUnit','LIVESHARE_TERMINATE','onCommandExecuted','unsubscribe','_getLoginPath','AwaitingState','Error\x20on\x20receiving\x20event','SnapshotService','toStringTag','values','_createSocket','_queuedRemoteChangesets','_members','_onConflict','univer-pro.collaboration-client.single-active-unit-service','APPLY_PERMISSION_DENIED','fetching\x20missing\x20changesets\x20from\x20','getUnitType','objectType','location','json','LICENSE_DISTRO_REJECTED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SUBMIT_CHANGESET_TIMEOUT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Plugin','requireSession','save\x20fail\x20reason\x20is\x20','SUBMIT_CHANGESET','getAllMembers','_getDownloadEndpointURL','215058NiUBql','EmptyMutation','message$','CHANGESET_REVISION_CONFILICT','open$','HmacMD5','_logService','lib','[SyncedState]:\x20received\x20acknowledgement.','result','getTypeOfUnitAdded$','_sessionStatus$','_getSignURL'];_0x5f95=function(){return _0x17a724;};return _0x5f95();}for(let r=0x0;r<0x100;++r)V[_0x5eb40d(0x452)]((r+0x100)['toString'](0x10)['slice'](0x1));function fn(_0x5a9056,_0x63f176=0x0){var _0x95222e=_0x5eb40d;return(V[_0x5a9056[_0x63f176+0x0]]+V[_0x5a9056[_0x63f176+0x1]]+V[_0x5a9056[_0x63f176+0x2]]+V[_0x5a9056[_0x63f176+0x3]]+'-'+V[_0x5a9056[_0x63f176+0x4]]+V[_0x5a9056[_0x63f176+0x5]]+'-'+V[_0x5a9056[_0x63f176+0x6]]+V[_0x5a9056[_0x63f176+0x7]]+'-'+V[_0x5a9056[_0x63f176+0x8]]+V[_0x5a9056[_0x63f176+0x9]]+'-'+V[_0x5a9056[_0x63f176+0xa]]+V[_0x5a9056[_0x63f176+0xb]]+V[_0x5a9056[_0x63f176+0xc]]+V[_0x5a9056[_0x63f176+0xd]]+V[_0x5a9056[_0x63f176+0xe]]+V[_0x5a9056[_0x63f176+0xf]])[_0x95222e(0x28e)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x4924c4=_0x5eb40d;if(!Pe){if(typeof crypto>'u'||!crypto[_0x4924c4(0x2ea)])throw new Error(_0x4924c4(0x137));Pe=crypto[_0x4924c4(0x2ea)][_0x4924c4(0x37a)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5eb40d(0x28a)]&&crypto[_0x5eb40d(0x28a)]['bind'](crypto),ze={'randomUUID':mn};function gn(_0x23044a,_0x1b0760,_0x4c657c){var _0x170787=_0x5eb40d,_0x4fda23,_0x317215,_0x68fe49;if(ze['randomUUID']&&!_0x23044a)return ze['randomUUID']();_0x23044a=_0x23044a||{};const _0x3ed50a=(_0x68fe49=(_0x317215=_0x23044a[_0x170787(0x315)])!=null?_0x317215:(_0x4fda23=_0x23044a['rng'])==null?void 0x0:_0x4fda23['call'](_0x23044a))!=null?_0x68fe49:pn();if(_0x3ed50a[_0x170787(0x176)]<0x10)throw new Error(_0x170787(0x1e2));return _0x3ed50a[0x6]=_0x3ed50a[0x6]&0xf|0x40,_0x3ed50a[0x8]=_0x3ed50a[0x8]&0x3f|0x80,fn(_0x3ed50a);}const z=a[_0x5eb40d(0x289)]('collaboration-client.local-cache-service');function In(_0xb7e236){var _0x5f56f7=_0x5eb40d;return _0x5f56f7(0x2e1)+_0xb7e236;}var En=Object[_0x5eb40d(0x2af)],Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x4edbc3,_0x27924a,_0x5924cc,_0x3f1905)=>{var _0x334f21=_0x5eb40d;for(var _0x1a3e4a=_0x3f1905>0x1?void 0x0:_0x3f1905?Cn(_0x27924a,_0x5924cc):_0x27924a,_0x55e4a9=_0x4edbc3[_0x334f21(0x176)]-0x1,_0xf29fde;_0x55e4a9>=0x0;_0x55e4a9--)(_0xf29fde=_0x4edbc3[_0x55e4a9])&&(_0x1a3e4a=(_0x3f1905?_0xf29fde(_0x27924a,_0x5924cc,_0x1a3e4a):_0xf29fde(_0x1a3e4a))||_0x1a3e4a);return _0x3f1905&&_0x1a3e4a&&En(_0x27924a,_0x5924cc,_0x1a3e4a),_0x1a3e4a;},De=(_0x22143f,_0x1dbeb2)=>(_0x38c503,_0x32ffa8)=>_0x1dbeb2(_0x38c503,_0x32ffa8,_0x22143f);function bn(_0x21b8ff){var _0x184e7e=_0x5eb40d;const {unitID:_0x3b1006,mutations:_0x1f5738}=_0x21b8ff;return{'unitId':_0x3b1006,'subUnitId':_0x1f5738[0x0][_0x184e7e(0x2f3)][_0x184e7e(0x44a)]};}exports[_0x5eb40d(0x1ec)]=class{constructor(_0x2868f7,_0x10bd18,_0x47f88a){var _0x206b0d=_0x5eb40d;this[_0x206b0d(0x47b)]=_0x2868f7,this['_transformService']=_0x10bd18,this[_0x206b0d(0x3f2)]=_0x47f88a;}['transformSelections'](_0x5126b8){var _0x18e555=_0x5eb40d,_0x5e9410,_0x4385f9,_0x2c7d1b,_0x3c5e5d;const _0x42784e=this[_0x18e555(0x47b)][_0x18e555(0x319)](J[_0x18e555(0x376)]),{unitId:_0x1cbcd6,subUnitId:_0x308966}=bn(_0x5126b8),_0x47d61f=_0x42784e==null?void 0x0:_0x42784e[_0x18e555(0x2b7)](_0x1cbcd6)[_0x18e555(0x2e3)](),_0x5788f4=(_0x4385f9=(_0x5e9410=this[_0x18e555(0x3f2)][_0x18e555(0x396)](_0x1cbcd6))==null?void 0x0:_0x5e9410[_0x18e555(0x395)]())==null?void 0x0:_0x4385f9['getSheetId']();if(_0x47d61f[_0x18e555(0x176)]===0x0||!_0x1cbcd6||!_0x308966)return;const _0x30656e=[{'id':J[_0x18e555(0x20a)]['id'],'params':{'unitId':_0x1cbcd6,'subUnitId':_0x5788f4,'selections':a['Tools'][_0x18e555(0x43f)](_0x47d61f)}}],_0x180668=this[_0x18e555(0x3b5)][_0x18e555(0x3a7)](_0x5126b8,_0x30656e);if(!m[_0x18e555(0x1ce)](_0x180668))throw _0x180668['error'];const _0x43afdd=(_0x3c5e5d=(_0x2c7d1b=_0x180668[_0x18e555(0x496)][0x0])==null?void 0x0:_0x2c7d1b[_0x18e555(0x2f3)])==null?void 0x0:_0x3c5e5d[_0x18e555(0x32e)];if(Array[_0x18e555(0x43e)](_0x43afdd)&&_0x43afdd[_0x18e555(0x176)]){if(_0x43afdd[_0x18e555(0x176)]===_0x30656e[0x0][_0x18e555(0x2f3)][_0x18e555(0x32e)][_0x18e555(0x176)]&&_0x43afdd[_0x18e555(0x48d)]((_0x2511c5,_0x5ea157)=>a[_0x18e555(0x3e5)]['equals'](_0x2511c5[_0x18e555(0x140)],_0x30656e[0x0]['params'][_0x18e555(0x32e)][_0x5ea157][_0x18e555(0x140)])))return;this[_0x18e555(0x47b)]['get'](a['ICommandService'])[_0x18e555(0x47d)](J[_0x18e555(0x20a)]['id'],{'unitId':_0x1cbcd6,'subUnitId':_0x5788f4,'selections':_0x43afdd});}}},exports[_0x5eb40d(0x1ec)]=Tn([De(0x0,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),De(0x1,m['ITransformService']),De(0x2,a[_0x5eb40d(0x341)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5eb40d(0x289)](_0x5eb40d(0x419));var Fe=(_0x2bdbed=>(_0x2bdbed[_0x2bdbed[_0x5eb40d(0x17d)]=0x0]=_0x5eb40d(0x17d),_0x2bdbed[_0x2bdbed[_0x5eb40d(0x40a)]=0x1]=_0x5eb40d(0x40a),_0x2bdbed))(Fe||{});const Rn=new Set([J[_0x5eb40d(0x2d7)]['id']]);function Je(_0x1ab47b,_0x4be61f,_0x37d149,_0x4a83c3,_0x38452e){var _0xd06573=_0x5eb40d,_0xe61011,_0x1aa6bd,_0xeb5fcd,_0x4bba80;const _0x4b291d=[];for(const _0x28f9e8 of _0x1ab47b)if(Rn[_0xd06573(0x276)](_0x28f9e8['id'])){if(_0x4b291d[_0xd06573(0x176)]>0x0)break;_0x4b291d[_0xd06573(0x452)](_0x28f9e8);break;}else _0x4b291d[_0xd06573(0x452)](_0x28f9e8);const _0x20847e=(_0x1aa6bd=(_0xe61011=_0x38452e[_0xd06573(0x3ac)]())==null?void 0x0:_0xe61011['userID'])!=null?_0x1aa6bd:_0xd06573(0x340),_0x155e77=(_0x4bba80=(_0xeb5fcd=_0x38452e['getCurrentUser']())==null?void 0x0:_0xeb5fcd[_0xd06573(0x2de)])!=null?_0x4bba80:_0xd06573(0x340);return{'changeset':{'unitID':_0x4be61f,'type':m[_0xd06573(0x446)](_0x37d149['getUnitType'](_0x4be61f)),'baseRev':_0x4a83c3[_0xd06573(0x227)](_0x4be61f),'revision':0x0,'userID':_0x20847e,'memberID':_0x155e77,'mutations':_0x4b291d},'pendingMutations':_0x1ab47b['slice'](_0x4b291d[_0xd06573(0x176)])};}function On(_0x46bc9b,_0x23723b,_0x3b5e17,_0x1d1a0a,_0x3fb4cb){var _0x1e8dda=_0x5eb40d,_0x5677f6,_0x3ece3d,_0x228f79,_0x18f1d6;const _0x4cbb60=[_0x46bc9b['reduce']((_0x580eea,_0x523dc9)=>{var _0x45927b=_0x328b,_0x3b4b0a;const {id:_0x300442}=_0x580eea,{id:_0x558ba8,type:_0x4bb7f2}=_0x523dc9,_0x499a34=(_0x3b4b0a=_0x580eea[_0x45927b(0x2f3)])!=null?_0x3b4b0a:{'actions':null},_0x1d680c=_0x523dc9['params'];if(_0x300442&&_0x300442!==_0x558ba8)throw new Error(_0x45927b(0x450)+_0x300442+'\x20-\x20'+_0x558ba8+'.');return{..._0x580eea,'id':_0x558ba8,'type':_0x4bb7f2,'params':{'unitId':_0x1d680c[_0x45927b(0x2a8)],'textRanges':_0x1d680c[_0x45927b(0x37b)],'actions':a['JSONX'][_0x45927b(0x342)](_0x499a34[_0x45927b(0x3e1)],_0x1d680c[_0x45927b(0x3e1)])}};},{})],_0x37eb94=(_0x3ece3d=(_0x5677f6=_0x3fb4cb[_0x1e8dda(0x3ac)]())==null?void 0x0:_0x5677f6['userID'])!=null?_0x3ece3d:_0x1e8dda(0x340),_0x4ba18b=(_0x18f1d6=(_0x228f79=_0x3fb4cb[_0x1e8dda(0x3ac)]())==null?void 0x0:_0x228f79['memberID'])!=null?_0x18f1d6:_0x1e8dda(0x340);return{'changeset':{'unitID':_0x23723b,'type':m[_0x1e8dda(0x446)](_0x3b5e17[_0x1e8dda(0x41c)](_0x23723b)),'baseRev':_0x1d1a0a[_0x1e8dda(0x227)](_0x23723b),'revision':0x0,'userID':_0x37eb94,'memberID':_0x4ba18b,'mutations':_0x4cbb60},'pendingMutations':[]};}function Nt(_0x131473,_0x33145f){var _0x1a2899=_0x5eb40d;const _0x3a4cd0=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x3a4cd0[_0x1a2899(0x1e7)](_0x33145f),_0x131473),_0x3a4cd0[_0x1a2899(0x187)]()[_0x1a2899(0x469)](H[_0x1a2899(0x1a9)](0x1));}const yn={'id':J[_0x5eb40d(0x42b)]['id'],'type':a[_0x5eb40d(0x161)][_0x5eb40d(0x2a9)],'params':{}};var Nn=Object[_0x5eb40d(0x2af)],Un=Object[_0x5eb40d(0x22b)],le=(_0x405db4,_0x35a5eb,_0x1696df,_0x3d62b5)=>{var _0x22e4ea=_0x5eb40d;for(var _0x26219f=_0x3d62b5>0x1?void 0x0:_0x3d62b5?Un(_0x35a5eb,_0x1696df):_0x35a5eb,_0x39eec8=_0x405db4[_0x22e4ea(0x176)]-0x1,_0x191d52;_0x39eec8>=0x0;_0x39eec8--)(_0x191d52=_0x405db4[_0x39eec8])&&(_0x26219f=(_0x3d62b5?_0x191d52(_0x35a5eb,_0x1696df,_0x26219f):_0x191d52(_0x26219f))||_0x26219f);return _0x3d62b5&&_0x26219f&&Nn(_0x35a5eb,_0x1696df,_0x26219f),_0x26219f;},A=(_0x414513,_0x2b9d5b)=>(_0x219ea6,_0x5468ae)=>_0x2b9d5b(_0x219ea6,_0x5468ae,_0x414513),We=(_0x37fe0f=>(_0x37fe0f[_0x5eb40d(0x36b)]=_0x5eb40d(0x1f0),_0x37fe0f[_0x5eb40d(0x43a)]=_0x5eb40d(0x462),_0x37fe0f[_0x5eb40d(0x461)]=_0x5eb40d(0x2e4),_0x37fe0f[_0x5eb40d(0x3ec)]=_0x5eb40d(0x21e),_0x37fe0f[_0x5eb40d(0x26b)]=_0x5eb40d(0x28d),_0x37fe0f[_0x5eb40d(0x3d2)]='fetch_missing',_0x37fe0f[_0x5eb40d(0x400)]=_0x5eb40d(0x363),_0x37fe0f[_0x5eb40d(0x3a2)]=_0x5eb40d(0x30e),_0x37fe0f))(We||{});const Ut=0xea60;class _e{constructor(_0x179879,_0x48393a,_0xcbeaa4,_0x406419,_0x1d5acc,_0x322cc3,_0x48173d,_0xc8aea9,_0x4cca35){var _0x92cd27=_0x5eb40d;D(this,_0x92cd27(0x16b),null),D(this,_0x92cd27(0x13f),[]),(this[_0x92cd27(0x236)]=_0x179879,this[_0x92cd27(0x33c)]=_0x48393a,this['_handler']=_0x1d5acc,this[_0x92cd27(0x26c)]=_0x322cc3,this['_undoRedoService']=_0x48173d,this[_0x92cd27(0x343)]=_0xc8aea9,this[_0x92cd27(0x3d1)]=_0x4cca35,this[_0x92cd27(0x16b)]=_0xcbeaa4,this[_0x92cd27(0x13f)]=_0x406419);}[_0x5eb40d(0x34d)](_0x1c25e6){var _0x4acfc5=_0x5eb40d;const _0x12bc11=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4acfc5(0x236)]);return _0x1c25e6['revision']>_0x12bc11+0x1?(this[_0x4acfc5(0x1cb)][_0x4acfc5(0x132)]({'from':_0x12bc11,'to':_0x1c25e6[_0x4acfc5(0x175)]-0x1}),!0x0):!0x1;}[_0x5eb40d(0x243)](_0x181855){var _0x346213=_0x5eb40d;this[_0x346213(0x46d)]['transformUndoRedo'](this['unitID'],_0x181855);}[_0x5eb40d(0x39a)](_0x190d02){var _0x30ec52=_0x5eb40d,_0x5244df,_0x2fa17d;(_0x2fa17d=(_0x5244df=this[_0x30ec52(0x1cb)])['onTransformSelections'])==null||_0x2fa17d[_0x30ec52(0x313)](_0x5244df,_0x190d02);}[_0x5eb40d(0x23e)](_0x15fb06){var _0x3dc781=_0x5eb40d,_0x2260d0,_0x4b7e04;return(_0x4b7e04=(_0x2260d0=this[_0x3dc781(0x1cb)])['onTransformIME'])==null?void 0x0:_0x4b7e04['call'](_0x2260d0,_0x15fb06);}[_0x5eb40d(0x148)](_0x1f9489){var _0x10d981=_0x5eb40d,_0x305274,_0x59e578;return(_0x59e578=(_0x305274=this[_0x10d981(0x1cb)])['onTransformState'])==null?void 0x0:_0x59e578['call'](_0x305274,_0x1f9489);}[_0x5eb40d(0x165)](_0x2c3701){var _0x1f9f2b=_0x5eb40d,_0x16a1fa,_0x555a7c,_0x354169;return(_0x354169=(_0x555a7c=(_0x16a1fa=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x555a7c[_0x1f9f2b(0x313)](_0x16a1fa,_0x2c3701))!=null?_0x354169:_0x2c3701;}[_0x5eb40d(0x322)](_0x4d3863){var _0x5e8f23=_0x5eb40d,_0x4626ae,_0x5d0288,_0xa6ff3f;return(_0xa6ff3f=(_0x5d0288=(_0x4626ae=this['_handler'])[_0x5e8f23(0x45f)])==null?void 0x0:_0x5d0288[_0x5e8f23(0x313)](_0x4626ae,_0x4d3863))!=null?_0xa6ff3f:_0x4d3863;}['_syncEditingCollabCursor'](_0x2af0ed){var _0x21f693=_0x5eb40d,_0x895e3f,_0x51ac65;if(this[_0x21f693(0x33c)]===Z[_0x21f693(0x3fe)]){const {unitID:_0x5cf17b,mutations:_0x59303f,memberID:_0x424fb7}=_0x2af0ed,_0x439510=_0x59303f[0x0][_0x21f693(0x2f3)][_0x21f693(0x37b)];Array['isArray'](_0x439510)&&_0x439510['length']>0x0&&((_0x51ac65=(_0x895e3f=this[_0x21f693(0x1cb)])[_0x21f693(0x493)])==null||_0x51ac65['call'](_0x895e3f,{'unitID':_0x5cf17b,'memberID':_0x424fb7,'textRanges':_0x439510}));}}[_0x5eb40d(0x16c)](){var _0x2f9c8e=_0x5eb40d,_0x480a1c;(_0x480a1c=this['_localCacheService'])==null||_0x480a1c[_0x2f9c8e(0x2b8)](this[_0x2f9c8e(0x236)],this[_0x2f9c8e(0x33c)],this[_0x2f9c8e(0x16b)],this[_0x2f9c8e(0x13f)]);}[_0x5eb40d(0x22f)](){var _0x582fe7=_0x5eb40d;return this[_0x582fe7(0x343)][_0x582fe7(0x227)](this[_0x582fe7(0x236)]);}[_0x5eb40d(0x274)](){var _0x4cc4e3=_0x5eb40d;this['_revisionService'][_0x4cc4e3(0x29c)](this[_0x4cc4e3(0x236)]);}[_0x5eb40d(0x2fc)](_0x1d65df){var _0x37fcbe=_0x5eb40d,_0x4fb201;let _0x5bf1f3=this[_0x37fcbe(0x165)](_0x1d65df);_0x5bf1f3=this[_0x37fcbe(0x322)](_0x5bf1f3);const _0x379bdf=a[_0x37fcbe(0x492)](_0x5bf1f3[_0x37fcbe(0x1f2)],this[_0x37fcbe(0x26c)],{'fromCollab':!0x0});if(!_0x379bdf[_0x37fcbe(0x433)])throw _0x379bdf[_0x37fcbe(0x2b2)]instanceof Error?_0x379bdf[_0x37fcbe(0x2b2)]:new Error((_0x4fb201=_0x379bdf[_0x37fcbe(0x2b2)])!=null?_0x4fb201:_0x37fcbe(0x49e));this[_0x37fcbe(0x23e)](_0x5bf1f3),this['_transformStateCache'](_0x5bf1f3),this[_0x37fcbe(0x243)](_0x1d65df),this[_0x37fcbe(0x39a)](_0x5bf1f3),this['_syncEditingCollabCursor'](_0x5bf1f3),this[_0x37fcbe(0x274)]();}}exports['SyncedState']=class extends _e{constructor(_0x3f6f46,_0x5a1b87,_0x4d3d71,_0x159adf,_0x1b845b,_0x3f7fa3,_0x40b949,_0x234580,_0x5863d8,_0x341b8c){var _0x48f6ab=_0x5eb40d;super(_0x3f6f46,_0x5a1b87,null,[],_0x4d3d71,_0x40b949,_0x3f7fa3,_0x159adf,_0x341b8c),D(this,_0x48f6ab(0x2ee),_0x48f6ab(0x462)),(this[_0x48f6ab(0x47b)]=_0x1b845b,this[_0x48f6ab(0x430)]=_0x234580,this[_0x48f6ab(0x3b5)]=_0x5863d8,this['localCacheService']=_0x341b8c);}['appendMutation'](_0x3ba8b8){var _0x25510b=_0x5eb40d;const _0x53e13c=this['_injector'][_0x25510b(0x35a)](exports[_0x25510b(0x221)],this[_0x25510b(0x236)],this['type'],[_0x3ba8b8],this['_handler']);return _0x53e13c[_0x25510b(0x2f6)](),_0x53e13c[_0x25510b(0x16c)](),_0x53e13c;}[_0x5eb40d(0x311)](_0x2a7c87){var _0x1752b4=_0x5eb40d;if(this['_checkMissing'](_0x2a7c87))return this['_injector']['createInstance'](exports[_0x1752b4(0x1bc)],this[_0x1752b4(0x236)],this[_0x1752b4(0x33c)],null,[],null,[_0x2a7c87],this[_0x1752b4(0x1cb)]);try{const _0x238ec7=this['_transformService'][_0x1752b4(0x3a7)](_0x2a7c87,[yn]);if(m[_0x1752b4(0x1ce)](_0x238ec7)){const {c1Prime:_0x284aa0}=_0x238ec7;return this[_0x1752b4(0x2fc)](_0x284aa0),this;}throw _0x238ec7[_0x1752b4(0x2b2)];}catch(_0x2248b3){return this[_0x1752b4(0x430)][_0x1752b4(0x2b2)](_0x2248b3),this['_onConflict'](!0x1);}}['_onConflict'](_0x48689f){var _0x30fdce=_0x5eb40d;return this[_0x30fdce(0x47b)]['createInstance'](exports[_0x30fdce(0x3c0)],this[_0x30fdce(0x236)],this['type'],null,[],this[_0x30fdce(0x1cb)],_0x48689f);}[_0x5eb40d(0x393)](){var _0x4e6129=_0x5eb40d;throw new Error(_0x4e6129(0x432));}['onRemoteRej'](){var _0x16cc9a=_0x5eb40d;throw new Error(_0x16cc9a(0x1be));}[_0x5eb40d(0x402)](){return this;}[_0x5eb40d(0x3e3)](){var _0x2d00f5=_0x5eb40d;return this[_0x2d00f5(0x47b)]['createInstance'](exports['OfflineState'],this[_0x2d00f5(0x236)],this[_0x2d00f5(0x33c)],null,[],this['_handler']);}[_0x5eb40d(0x45c)](){return this;}[_0x5eb40d(0x1a7)](){var _0x12a888=_0x5eb40d;throw new Error(_0x12a888(0x1d4));}['fetchMiss'](){var _0x3d295c=_0x5eb40d;const _0x107e2d=this['_revisionService'][_0x3d295c(0x227)](this['unitID']);return this['_handler'][_0x3d295c(0x132)]({'from':_0x107e2d,'to':0x0}),this['_injector'][_0x3d295c(0x35a)](exports['FetchingMissState'],this[_0x3d295c(0x236)],this[_0x3d295c(0x33c)],null,[],null,[],this['_handler']);}},exports[_0x5eb40d(0x34e)]=le([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a['Inject'](a[_0x5eb40d(0x1dd)])),A(0x5,a[_0x5eb40d(0x460)]),A(0x6,a[_0x5eb40d(0x223)]),A(0x7,a[_0x5eb40d(0x2d3)]),A(0x8,m['ITransformService']),A(0x9,a['Optional'](z))],exports[_0x5eb40d(0x34e)]),exports[_0x5eb40d(0x221)]=class extends _e{constructor(_0x4176ad,_0x4708a0,_0x4c6d52,_0x3c83cd,_0x279a18,_0x5287b6,_0x3f9b05,_0x5b1970,_0x232d03,_0x2ec8a5,_0x345759,_0x53b086,_0x466f1e,_0x2e063a){var _0xe36de2=_0x5eb40d;super(_0x4176ad,_0x4708a0,null,_0x4c6d52,_0x3c83cd,_0x232d03,_0x466f1e,_0x5287b6,_0x2e063a),D(this,_0xe36de2(0x2ee),_0xe36de2(0x2e4)),D(this,_0xe36de2(0x347),null),D(this,_0xe36de2(0x167),null),(this['_injector']=_0x279a18,this['_memberService']=_0x3f9b05,this[_0xe36de2(0x430)]=_0x5b1970,this['_configService']=_0x2ec8a5,this[_0xe36de2(0x3b5)]=_0x345759,this['_univerInstanceService']=_0x53b086);}['appendMutation'](_0x53f4dc){var _0x5a54b0=_0x5eb40d;return this[_0x5a54b0(0x13f)][_0x5a54b0(0x452)](_0x53f4dc),this[_0x5a54b0(0x16c)](),this;}[_0x5eb40d(0x311)](_0x49143f){var _0x80a843=_0x5eb40d;if(this[_0x80a843(0x34d)](_0x49143f))return this[_0x80a843(0x49a)](),this[_0x80a843(0x47b)][_0x80a843(0x35a)](exports[_0x80a843(0x1bc)],this[_0x80a843(0x236)],this[_0x80a843(0x33c)],null,this[_0x80a843(0x13f)],null,[_0x49143f],this[_0x80a843(0x1cb)]);try{const _0x5661a1=this[_0x80a843(0x3b5)][_0x80a843(0x3a7)](_0x49143f,this[_0x80a843(0x13f)]);if(m[_0x80a843(0x1ce)](_0x5661a1)){const {c1Prime:_0x48e44a,m2Prime:_0x28e9b0}=_0x5661a1;this[_0x80a843(0x2fc)](_0x48e44a);const _0x1b0f90=this[_0x80a843(0x47b)][_0x80a843(0x35a)](exports[_0x80a843(0x221)],this[_0x80a843(0x236)],this[_0x80a843(0x33c)],_0x28e9b0,this['_handler']);this[_0x80a843(0x49a)]();const _0x2ac134=new Date()['getTime'](),_0x1ffec9=this[_0x80a843(0x347)]?Math[_0x80a843(0x440)](this[_0x80a843(0x347)]-_0x2ac134,0x0):this['_getSendChangesetTimeout']();return _0x1b0f90[_0x80a843(0x2f6)](_0x1ffec9),_0x1b0f90;}throw _0x5661a1[_0x80a843(0x2b2)];}catch(_0x29f35a){return this[_0x80a843(0x430)][_0x80a843(0x2b2)](_0x29f35a),this[_0x80a843(0x418)](!0x1);}}[_0x5eb40d(0x393)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5eb40d(0x141)](){var _0x597faa=_0x5eb40d;throw new Error(_0x597faa(0x204));}[_0x5eb40d(0x402)](){return this;}['toggleOffline'](){var _0x2e2531=_0x5eb40d;return this[_0x2e2531(0x49a)](),this[_0x2e2531(0x47b)][_0x2e2531(0x35a)](exports['OfflineState'],this[_0x2e2531(0x236)],this[_0x2e2531(0x33c)],null,this[_0x2e2531(0x13f)],this[_0x2e2531(0x1cb)]);}[_0x5eb40d(0x45c)](){return this;}[_0x5eb40d(0x2f6)](_0x877f39){var _0x5e1d05=_0x5eb40d;const _0x3dddd1=_0x877f39!=null?_0x877f39:this[_0x5e1d05(0x3fd)]();this[_0x5e1d05(0x347)]=new Date()['getTime']()+_0x3dddd1,this[_0x5e1d05(0x167)]=setTimeout(()=>{var _0x2e29da=_0x5e1d05;this['_clearScheduledTask']();let _0x3c4ecb=null;switch(this[_0x2e29da(0x33c)]){case Z['UNIVER_SHEET']:{_0x3c4ecb=Je(this[_0x2e29da(0x13f)],this[_0x2e29da(0x236)],this['_univerInstanceService'],this[_0x2e29da(0x343)],this[_0x2e29da(0x3dd)]);break;}case Z[_0x2e29da(0x3fe)]:{this[_0x2e29da(0x13f)]['every'](_0x5199e0=>_0x5199e0['id']===dt['RichTextEditingMutation']['id'])?_0x3c4ecb=On(this[_0x2e29da(0x13f)],this[_0x2e29da(0x236)],this[_0x2e29da(0x1cd)],this['_revisionService'],this[_0x2e29da(0x3dd)]):_0x3c4ecb=Je(this[_0x2e29da(0x13f)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x2e29da(0x3dd)]);break;}default:throw new Error(_0x2e29da(0x2aa)+this[_0x2e29da(0x33c)]+_0x2e29da(0x2da));}const {changeset:_0x4cc56d,pendingMutations:_0x48543a}=_0x3c4ecb;this['_handler'][_0x2e29da(0x131)](_0x4cc56d);const _0xe782d2=_0x48543a[_0x2e29da(0x176)]?this[_0x2e29da(0x47b)]['createInstance'](exports[_0x2e29da(0x444)],this['unitID'],this['type'],_0x4cc56d,_0x48543a,this[_0x2e29da(0x1cb)],void 0x0):this['_injector'][_0x2e29da(0x35a)](exports['AwaitingState'],this[_0x2e29da(0x236)],this[_0x2e29da(0x33c)],_0x4cc56d,this[_0x2e29da(0x1cb)]);_0xe782d2[_0x2e29da(0x16c)](),this[_0x2e29da(0x1cb)]['onStateChange'](this,_0xe782d2);},_0x3dddd1);}[_0x5eb40d(0x3fd)](){var _0x33e8da=_0x5eb40d,_0x10e813;const _0x5d78c9=this[_0x33e8da(0x3bd)][_0x33e8da(0x2a4)](Y);return(_0x10e813=_0x5d78c9==null?void 0x0:_0x5d78c9[_0x33e8da(0x309)])!=null?_0x10e813:Bt;}[_0x5eb40d(0x1a7)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5eb40d(0x49a)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x262a13){var _0x41cc08=_0x5eb40d;return this[_0x41cc08(0x49a)](),this[_0x41cc08(0x47b)][_0x41cc08(0x35a)](exports[_0x41cc08(0x3c0)],this['unitID'],this[_0x41cc08(0x33c)],null,this[_0x41cc08(0x13f)],this['_handler'],_0x262a13);}},exports[_0x5eb40d(0x221)]=le([A(0x4,a[_0x5eb40d(0x22a)](a['Injector'])),A(0x5,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),A(0x6,a[_0x5eb40d(0x22a)](exports[_0x5eb40d(0x1ae)])),A(0x7,a[_0x5eb40d(0x2d3)]),A(0x8,a[_0x5eb40d(0x223)]),A(0x9,a[_0x5eb40d(0x150)]),A(0xa,m[_0x5eb40d(0x19e)]),A(0xb,a[_0x5eb40d(0x341)]),A(0xc,a[_0x5eb40d(0x460)]),A(0xd,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x221)]),exports['AwaitingState']=class extends _e{constructor(_0xfc1bc8,_0x18dfe6,_0x54e199,_0x54861c,_0x15b82c,_0x16bbc7,_0x4d7e72,_0x3be26e,_0x4432de,_0x26f94d,_0x3f4fc7){var _0x4cf3f5=_0x5eb40d;super(_0xfc1bc8,_0x18dfe6,_0x54e199,[],_0x54861c,_0x4d7e72,_0x26f94d,_0x16bbc7,_0x3f4fc7),D(this,_0x4cf3f5(0x2ee),_0x4cf3f5(0x21e)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,'_sender'),(this['_injector']=_0x15b82c,this[_0x4cf3f5(0x430)]=_0x3be26e,this[_0x4cf3f5(0x3b5)]=_0x4432de);}[_0x5eb40d(0x2c7)](_0x3c1313){var _0x2feb33=_0x5eb40d;this[_0x2feb33(0x49a)]();const _0x3675a3=this[_0x2feb33(0x47b)][_0x2feb33(0x35a)](exports[_0x2feb33(0x444)],this['unitID'],this[_0x2feb33(0x33c)],this[_0x2feb33(0x16b)],[_0x3c1313],this[_0x2feb33(0x1cb)],this[_0x2feb33(0x467)]);return _0x3675a3[_0x2feb33(0x16c)](),_0x3675a3;}['onRemoteChangeset'](_0x4bd206){var _0x4fdb10=_0x5eb40d;if(this[_0x4fdb10(0x34d)](_0x4bd206))return this[_0x4fdb10(0x49a)](),this['_injector'][_0x4fdb10(0x35a)](exports[_0x4fdb10(0x1bc)],this[_0x4fdb10(0x236)],this[_0x4fdb10(0x33c)],this[_0x4fdb10(0x16b)],[],null,[_0x4bd206],this[_0x4fdb10(0x1cb)]);try{const _0x2d00cb=this['_transformService']['transformChangesets']([_0x4bd206],[this[_0x4fdb10(0x16b)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x2d00cb)){const {c1Prime:_0x5bd446,c2Prime:_0x595863}=_0x2d00cb;this['_executeRemoteChangeset'](_0x5bd446[0x0]),_0x595863[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5421c1=this[_0x4fdb10(0x47b)][_0x4fdb10(0x35a)](exports[_0x4fdb10(0x410)],this[_0x4fdb10(0x236)],this[_0x4fdb10(0x33c)],_0x595863[0x0],this[_0x4fdb10(0x1cb)]);return _0x5421c1[_0x4fdb10(0x16c)](),_0x5421c1;}return this[_0x4fdb10(0x418)](!0x1);}catch(_0x522d89){return this[_0x4fdb10(0x430)][_0x4fdb10(0x2b2)](_0x522d89),this[_0x4fdb10(0x418)](!0x1);}}[_0x5eb40d(0x393)](_0x40d2a8){var _0x44afcb=_0x5eb40d;this[_0x44afcb(0x49a)]();const _0x5843b8=this[_0x44afcb(0x343)][_0x44afcb(0x227)](this[_0x44afcb(0x236)]);if(_0x40d2a8[_0x44afcb(0x175)]<_0x5843b8-0x1)return this;if(this[_0x44afcb(0x34d)](_0x40d2a8))return this[_0x44afcb(0x47b)]['createInstance'](exports[_0x44afcb(0x1bc)],this[_0x44afcb(0x236)],this[_0x44afcb(0x33c)],null,[],this['_awaitingChangeset'],[],this[_0x44afcb(0x1cb)]);this['_incrementRevisionNumber']();const _0x1bc3df=this[_0x44afcb(0x47b)][_0x44afcb(0x35a)](exports['SyncedState'],this['unitID'],this[_0x44afcb(0x33c)],this[_0x44afcb(0x1cb)]);return _0x1bc3df[_0x44afcb(0x16c)](),_0x1bc3df;}[_0x5eb40d(0x141)](_0x39f897){var _0x55498e=_0x5eb40d;return this[_0x55498e(0x418)](!!(_0x39f897!=null&&_0x39f897[_0x55498e(0x48a)]));}[_0x5eb40d(0x402)](_0x361c93){var _0x169bf2=_0x5eb40d;return this[_0x169bf2(0x265)]>Ut?this[_0x169bf2(0x3e3)]():(this[_0x169bf2(0x467)]=Nt(this[_0x169bf2(0x265)],{'timeout':this[_0x169bf2(0x265)],'reqId':_0x361c93[_0x169bf2(0x439)]}),this[_0x169bf2(0x1de)]=this['_resendTimer'][_0x169bf2(0x1af)](({reqId:_0x171208,timeout:_0x1df772})=>{this['_resendWithTimeout'](_0x171208,_0x1df772);}),this);}[_0x5eb40d(0x3e3)](){var _0x446cfe=_0x5eb40d;return this['_clearScheduledTask'](),this['_injector'][_0x446cfe(0x35a)](exports['OfflineState'],this['unitID'],this['type'],this[_0x446cfe(0x16b)],[],this[_0x446cfe(0x1cb)]);}[_0x5eb40d(0x45c)](){return this;}['resend'](){var _0x29fd9b=_0x5eb40d;this['_handler']['onSendChangeset'](this[_0x29fd9b(0x16b)]);}[_0x5eb40d(0x418)](_0x3cd10f){var _0x202263=_0x5eb40d;return this[_0x202263(0x49a)](),this[_0x202263(0x47b)]['createInstance'](exports[_0x202263(0x3c0)],this[_0x202263(0x236)],this['type'],this[_0x202263(0x16b)],[],this[_0x202263(0x1cb)],_0x3cd10f);}[_0x5eb40d(0x2fa)](_0x5df88c,_0x4f0cfd){var _0x45a8c7=_0x5eb40d,_0x20c6ce;_0x5df88c===((_0x20c6ce=this[_0x45a8c7(0x16b)])==null?void 0x0:_0x20c6ce[_0x45a8c7(0x439)])&&(this[_0x45a8c7(0x1a7)](),this['_resendTimeout']=_0x4f0cfd===0x0?0x3e8:_0x4f0cfd*0x2);}[_0x5eb40d(0x49a)](){var _0x5996fe=_0x5eb40d,_0x3d503b;(_0x3d503b=this['_sender'])==null||_0x3d503b[_0x5996fe(0x40e)](),this[_0x5996fe(0x265)]=0x0;}},exports[_0x5eb40d(0x410)]=le([A(0x4,a['Inject'](a[_0x5eb40d(0x1dd)])),A(0x5,a['Inject'](m[_0x5eb40d(0x184)])),A(0x6,a['ICommandService']),A(0x7,a[_0x5eb40d(0x2d3)]),A(0x8,m[_0x5eb40d(0x19e)]),A(0x9,a[_0x5eb40d(0x460)]),A(0xa,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x410)]),exports[_0x5eb40d(0x444)]=class extends _e{constructor(_0x54eb36,_0x265df8,_0x5a7187,_0x23894c,_0x780c8f,_0x3d52d6,_0x26bd2d,_0x374412,_0x3bc450,_0x3b93d8,_0x565354,_0x57b50c,_0x2401b0){var _0x533387=_0x5eb40d;super(_0x54eb36,_0x265df8,_0x5a7187,_0x23894c,_0x780c8f,_0x3bc450,_0x57b50c,_0x374412,_0x2401b0),D(this,_0x533387(0x2ee),'awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,_0x533387(0x467)),D(this,_0x533387(0x1de)),(this['_injector']=_0x26bd2d,this['_logService']=_0x3b93d8,this['_transformService']=_0x565354,this[_0x533387(0x130)]=_0x2401b0,_0x3d52d6&&(this[_0x533387(0x467)]=_0x3d52d6,this[_0x533387(0x1de)]=this[_0x533387(0x467)][_0x533387(0x1af)](({reqId:_0x13b65e,timeout:_0xd100c4})=>{var _0x2657f1=_0x533387;this[_0x2657f1(0x2fa)](_0x13b65e,_0xd100c4);})));}['appendMutation'](_0x50cb2a){var _0x3a1866=_0x5eb40d;return this[_0x3a1866(0x13f)][_0x3a1866(0x452)](_0x50cb2a),this;}[_0x5eb40d(0x311)](_0x9053a6){var _0x58bb1a=_0x5eb40d;if(this[_0x58bb1a(0x34d)](_0x9053a6))return this['_clearScheduledTask'](),this[_0x58bb1a(0x47b)]['createInstance'](exports['FetchingMissState'],this[_0x58bb1a(0x236)],this['type'],this[_0x58bb1a(0x16b)],this['_pendingMutations'],null,[_0x9053a6],this[_0x58bb1a(0x1cb)]);try{const _0x3799d2=this[_0x58bb1a(0x3b5)][_0x58bb1a(0x2c9)]([_0x9053a6],[this[_0x58bb1a(0x16b)]],!0x1);if(m[_0x58bb1a(0x312)](_0x3799d2)){const {c1Prime:_0x3075e6,c2Prime:_0x414606}=_0x3799d2,_0x56fa52=this[_0x58bb1a(0x3b5)]['transformMutationsWithChangeset'](_0x3075e6[0x0],this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x56fa52)){const {c1Prime:_0xceed77,m2Prime:_0x1ca24c}=_0x56fa52;return this[_0x58bb1a(0x2fc)](_0xceed77),_0x414606[0x0]['baseRev']=this[_0x58bb1a(0x22f)](),this[_0x58bb1a(0x49a)](),this[_0x58bb1a(0x47b)][_0x58bb1a(0x35a)](exports[_0x58bb1a(0x444)],this[_0x58bb1a(0x236)],this['type'],_0x414606[0x0],_0x1ca24c,this[_0x58bb1a(0x1cb)],void 0x0);}throw _0x56fa52['error'];}throw _0x3799d2[_0x58bb1a(0x2b2)];}catch(_0x1a77a1){return this[_0x58bb1a(0x430)][_0x58bb1a(0x2b2)](_0x1a77a1),this[_0x58bb1a(0x418)](!0x1);}}[_0x5eb40d(0x393)](_0x277e5e){var _0x3dcbf6=_0x5eb40d;if(this[_0x3dcbf6(0x49a)](),this[_0x3dcbf6(0x34d)](_0x277e5e))return this[_0x3dcbf6(0x47b)][_0x3dcbf6(0x35a)](exports[_0x3dcbf6(0x1bc)],this['unitID'],this['type'],null,this[_0x3dcbf6(0x13f)],this[_0x3dcbf6(0x16b)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2c4862=this[_0x3dcbf6(0x47b)][_0x3dcbf6(0x35a)](exports[_0x3dcbf6(0x221)],this[_0x3dcbf6(0x236)],this[_0x3dcbf6(0x33c)],this[_0x3dcbf6(0x13f)],this[_0x3dcbf6(0x1cb)]);return _0x2c4862[_0x3dcbf6(0x2f6)](),_0x2c4862['_updateLocalCache'](),_0x2c4862;}[_0x5eb40d(0x141)](_0x221827){var _0x18b0e0=_0x5eb40d;return this[_0x18b0e0(0x418)](!!(_0x221827!=null&&_0x221827['isPermissionRej']));}[_0x5eb40d(0x402)](_0x6c6860){var _0x435eb5=_0x5eb40d;return this[_0x435eb5(0x265)]>Ut?this[_0x435eb5(0x3e3)]():(this[_0x435eb5(0x467)]=Nt(this[_0x435eb5(0x265)],{'timeout':this[_0x435eb5(0x265)],'reqId':_0x6c6860[_0x435eb5(0x439)]}),this['_sender']=this[_0x435eb5(0x467)][_0x435eb5(0x1af)](({reqId:_0x21348d,timeout:_0x413e15})=>{var _0x507d0f=_0x435eb5;this[_0x507d0f(0x2fa)](_0x21348d,_0x413e15);}),this);}[_0x5eb40d(0x3e3)](){var _0x5ec0c4=_0x5eb40d;return this[_0x5ec0c4(0x49a)](),this['_injector'][_0x5ec0c4(0x35a)](exports[_0x5ec0c4(0x406)],this['unitID'],this['type'],this[_0x5ec0c4(0x16b)],this['_pendingMutations'],this[_0x5ec0c4(0x1cb)]);}[_0x5eb40d(0x45c)](){return this;}['resend'](){var _0x3c746c=_0x5eb40d;this[_0x3c746c(0x1cb)]['onSendChangeset'](this[_0x3c746c(0x16b)]);}[_0x5eb40d(0x418)](_0x18606b){var _0x29774a=_0x5eb40d;return this[_0x29774a(0x49a)](),this[_0x29774a(0x47b)]['createInstance'](exports[_0x29774a(0x3c0)],this[_0x29774a(0x236)],this['type'],null,this[_0x29774a(0x13f)],this[_0x29774a(0x1cb)],_0x18606b);}[_0x5eb40d(0x2fa)](_0x2ecbce,_0x3ab31e){var _0x42630d=_0x5eb40d,_0x5fe619;_0x2ecbce===((_0x5fe619=this['_awaitingChangeset'])==null?void 0x0:_0x5fe619[_0x42630d(0x439)])&&(this[_0x42630d(0x1a7)](),this['_resendTimeout']=_0x3ab31e===0x0?0x3e8:_0x3ab31e*0x2);}['_clearScheduledTask'](){var _0x1e9ebb=_0x5eb40d,_0x382059;(_0x382059=this[_0x1e9ebb(0x1de)])==null||_0x382059[_0x1e9ebb(0x40e)](),this[_0x1e9ebb(0x265)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x5eb40d(0x22a)](a['Injector'])),A(0x7,a[_0x5eb40d(0x22a)](m['RevisionService'])),A(0x8,a[_0x5eb40d(0x223)]),A(0x9,a[_0x5eb40d(0x2d3)]),A(0xa,m[_0x5eb40d(0x19e)]),A(0xb,a[_0x5eb40d(0x460)]),A(0xc,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x444)]),exports['ConflictState']=class extends _e{constructor(_0x241825,_0x128df4,_0x198130,_0x1ddcdc,_0x3de8c6,_0x2410c6=!0x1,_0x1b7cf7,_0x574237,_0x2de088,_0x3f5ac0,_0xd94763,_0xfd02c9,_0x999a5b){var _0x17adc8=_0x5eb40d;super(_0x241825,_0x128df4,_0x198130,_0x1ddcdc,_0x3de8c6,_0x574237,_0x2de088,_0x3f5ac0,_0x999a5b),D(this,'status',_0x17adc8(0x363)),(this['_isPermissionRej']=_0x2410c6,this[_0x17adc8(0x22e)]=_0x1b7cf7,this['_localeService']=_0xd94763,this['_collaborationUIEventService']=_0xfd02c9,this['localCacheService']=_0x999a5b,this[_0x17adc8(0x13d)](),this[_0x17adc8(0x3ef)](),this[_0x17adc8(0x259)]());}[_0x5eb40d(0x2c7)](){return this;}['onRemoteChangeset'](){return this;}[_0x5eb40d(0x393)](){return this;}[_0x5eb40d(0x141)](){return this;}['onRemoteRetry'](){return this;}[_0x5eb40d(0x3e3)](){return this;}[_0x5eb40d(0x45c)](){return this;}['resend'](){var _0x9146d7=_0x5eb40d;throw new Error(_0x9146d7(0x1a1));}[_0x5eb40d(0x3ef)](){var _0x3efc9d=_0x5eb40d,_0x3d9285;(_0x3d9285=this[_0x3efc9d(0x3d1)])==null||_0x3d9285[_0x3efc9d(0x2b8)](this[_0x3efc9d(0x236)],this[_0x3efc9d(0x33c)],null,[]);}[_0x5eb40d(0x13d)](){var _0xec97d8=_0x5eb40d;this[_0xec97d8(0x464)]?this[_0xec97d8(0x2c6)]['emitEvent']({'id':Q[_0xec97d8(0x3dc)]}):this[_0xec97d8(0x2c6)]['emitEvent']({'id':Q[_0xec97d8(0x400)]});}[_0x5eb40d(0x259)](){var _0x327f99=_0x5eb40d;this['_permissionService'][_0x327f99(0x308)](new J[(_0x327f99(0x1cf))](this[_0x327f99(0x236)])['id'],!0x1);}},exports[_0x5eb40d(0x3c0)]=le([A(0x6,a[_0x5eb40d(0x22a)](a['IPermissionService'])),A(0x7,a[_0x5eb40d(0x223)]),A(0x8,a[_0x5eb40d(0x460)]),A(0x9,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),A(0xa,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x2e7)])),A(0xb,a[_0x5eb40d(0x22a)](te)),A(0xc,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x3c0)]),exports['OfflineState']=class extends _e{constructor(_0x2c7178,_0x3ab223,_0x19e6f9,_0x170afe,_0x58f47e,_0x41a6ae,_0x410af2,_0x5c16dc,_0x5132ad,_0x1e66ec){var _0x28b586=_0x5eb40d;super(_0x2c7178,_0x3ab223,_0x19e6f9,_0x170afe,_0x58f47e,_0x5c16dc,_0x5132ad,_0x410af2,_0x1e66ec),D(this,'status',_0x28b586(0x30e)),this['_injector']=_0x41a6ae;}[_0x5eb40d(0x2c7)](_0x2f2959){var _0x44a073=_0x5eb40d;return this[_0x44a073(0x13f)][_0x44a073(0x452)](_0x2f2959),this[_0x44a073(0x16c)](),this;}[_0x5eb40d(0x311)](_0x11e706){var _0x170a02=_0x5eb40d;throw new Error(_0x170a02(0x2ab));}['onRemoteAck'](){var _0x5368fd=_0x5eb40d;throw new Error(_0x5368fd(0x3be));}[_0x5eb40d(0x141)](){var _0x5e2f30=_0x5eb40d;throw new Error(_0x5e2f30(0x30b));}[_0x5eb40d(0x402)](){return this;}[_0x5eb40d(0x3e3)](){return this;}[_0x5eb40d(0x45c)](){var _0x34c07b=_0x5eb40d;const {_injector:_0x23e8bc,_pendingMutations:_0x3d6141,_awaitingChangeset:_0x1e1198,unitID:_0x5a780d,_handler:_0x411744,type:_0x44dd9b}=this,_0x9cb328=Pt(_0x23e8bc,_0x5a780d,_0x44dd9b,_0x1e1198,_0x3d6141,_0x411744);return _0x9cb328 instanceof exports[_0x34c07b(0x221)]?_0x9cb328[_0x34c07b(0x2f6)]():(_0x9cb328 instanceof exports['AwaitingWithPendingState']||_0x9cb328 instanceof exports[_0x34c07b(0x410)])&&_0x9cb328[_0x34c07b(0x1a7)](),_0x9cb328;}[_0x5eb40d(0x1a7)](){var _0x13f14e=_0x5eb40d;throw new Error(_0x13f14e(0x155));}},exports[_0x5eb40d(0x406)]=le([A(0x5,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),A(0x6,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),A(0x7,a[_0x5eb40d(0x223)]),A(0x8,a[_0x5eb40d(0x460)]),A(0x9,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x406)]),exports[_0x5eb40d(0x1bc)]=class extends _e{constructor(_0xdf341d,_0x375a92,_0x393677,_0x3c00cd,_0x430cc9,_0x2fef96,_0x5a970a,_0x51b44b,_0x197433,_0x2889a1,_0x73b7ca,_0x27bcbf,_0x1c62fa,_0x4b128e){var _0x494143=_0x5eb40d;super(_0xdf341d,_0x375a92,_0x393677,_0x3c00cd,_0x5a970a,_0x73b7ca,_0x27bcbf,_0x197433,_0x4b128e),D(this,_0x494143(0x2ee),_0x494143(0x189)),(this[_0x494143(0x18a)]=_0x430cc9,this['_queuedRemoteChangesets']=_0x2fef96,this[_0x494143(0x47b)]=_0x51b44b,this[_0x494143(0x430)]=_0x2889a1,this[_0x494143(0x3b5)]=_0x1c62fa,this[_0x494143(0x130)]=_0x4b128e);}[_0x5eb40d(0x391)](_0x28ee5b){var _0x4fb53b=_0x5eb40d;try{const _0x2eada7=[..._0x28ee5b,...this[_0x4fb53b(0x416)]],_0x258942=[this[_0x4fb53b(0x16b)]||this[_0x4fb53b(0x18a)]]['filter'](_0x3caf38=>!!_0x3caf38);let _0x1a1ee1,_0x61745b;if(_0x258942[_0x4fb53b(0x176)]){const _0x34298e=this['_transformService'][_0x4fb53b(0x2c9)](_0x2eada7,_0x258942,!0x1);if(!m['isTransformChangesetsSuccess'](_0x34298e))throw _0x34298e[_0x4fb53b(0x2b2)];_0x1a1ee1=_0x34298e[_0x4fb53b(0x135)],_0x61745b=_0x34298e[_0x4fb53b(0x3e7)];}else _0x1a1ee1=_0x2eada7,_0x61745b=[];let _0xf2a832=this['_pendingMutations'];_0x1a1ee1['forEach'](_0x50b493=>{var _0x3e4117=_0x4fb53b;let _0x144e5e;if(_0xf2a832[_0x3e4117(0x176)]){const _0x3068de=this[_0x3e4117(0x3b5)][_0x3e4117(0x3a7)](_0x50b493,_0xf2a832);if(!m[_0x3e4117(0x1ce)](_0x3068de))throw _0x3068de['error'];_0x144e5e=_0x3068de[_0x3e4117(0x135)],_0xf2a832=_0x3068de['m2Prime'];}else _0x144e5e=_0x50b493;this[_0x3e4117(0x2fc)](_0x144e5e);}),this[_0x4fb53b(0x18a)]&&this[_0x4fb53b(0x274)](),this[_0x4fb53b(0x16b)]&&_0x61745b['length']&&(_0x61745b[0x0][_0x4fb53b(0x2c0)]=this[_0x4fb53b(0x22f)]());let _0x42beb2;if(this[_0x4fb53b(0x16b)]&&_0xf2a832[_0x4fb53b(0x176)]!==0x0)_0x42beb2=this[_0x4fb53b(0x47b)][_0x4fb53b(0x35a)](exports[_0x4fb53b(0x444)],this[_0x4fb53b(0x236)],this[_0x4fb53b(0x33c)],_0x61745b[0x0],_0xf2a832,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0xf2a832[_0x4fb53b(0x176)]===0x0)_0x61745b[0x0][_0x4fb53b(0x2c0)]=this['_getCurrentRevision'](),_0x42beb2=this['_injector'][_0x4fb53b(0x35a)](exports['AwaitingState'],this[_0x4fb53b(0x236)],this[_0x4fb53b(0x33c)],_0x61745b[0x0],this['_handler']);else{if(_0xf2a832[_0x4fb53b(0x176)]!==0x0){const _0x3a424e=this[_0x4fb53b(0x47b)]['createInstance'](exports[_0x4fb53b(0x221)],this[_0x4fb53b(0x236)],this['type'],_0xf2a832,this[_0x4fb53b(0x1cb)]);_0x3a424e[_0x4fb53b(0x2f6)](),_0x42beb2=_0x3a424e;}else _0x42beb2=this[_0x4fb53b(0x47b)][_0x4fb53b(0x35a)](exports[_0x4fb53b(0x34e)],this[_0x4fb53b(0x236)],this[_0x4fb53b(0x33c)],this[_0x4fb53b(0x1cb)]);}}return _0x42beb2['_updateLocalCache'](),_0x42beb2;}catch(_0x47b41b){return this[_0x4fb53b(0x430)][_0x4fb53b(0x2b2)]('[FetchMissState]',_0x4fb53b(0x2bb),_0x47b41b),this['_injector'][_0x4fb53b(0x35a)](exports[_0x4fb53b(0x3c0)],this['unitID'],this['type'],this[_0x4fb53b(0x16b)],this[_0x4fb53b(0x13f)],this['_handler'],!0x1);}}[_0x5eb40d(0x1a7)](){var _0x336573=_0x5eb40d;throw new Error(_0x336573(0x1c3));}[_0x5eb40d(0x2c7)](_0x186c07){var _0x5b4a32=_0x5eb40d;return this[_0x5b4a32(0x13f)][_0x5b4a32(0x452)](_0x186c07),this;}[_0x5eb40d(0x311)](_0x4bfc25){var _0x1e9c97=_0x5eb40d;return this[_0x1e9c97(0x416)][_0x1e9c97(0x452)](_0x4bfc25),this;}[_0x5eb40d(0x393)](_0x2c7f4c){var _0x131b50=_0x5eb40d;if(this[_0x131b50(0x16b)])return this[_0x131b50(0x18a)]=this[_0x131b50(0x16b)],this[_0x131b50(0x16b)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5eb40d(0x141)](_0x1665cf){var _0x17a635=_0x5eb40d;return this[_0x17a635(0x418)](!!(_0x1665cf!=null&&_0x1665cf[_0x17a635(0x48a)]));}[_0x5eb40d(0x402)](){return this;}[_0x5eb40d(0x3e3)](){var _0x3cc5c0=_0x5eb40d;return this['_injector'][_0x3cc5c0(0x35a)](exports[_0x3cc5c0(0x406)],this[_0x3cc5c0(0x236)],this[_0x3cc5c0(0x33c)],this[_0x3cc5c0(0x16b)],this['_pendingMutations'],this[_0x3cc5c0(0x1cb)]);}[_0x5eb40d(0x45c)](){return this;}[_0x5eb40d(0x418)](_0x18ab2a){var _0x37904a=_0x5eb40d;return this['_injector'][_0x37904a(0x35a)](exports[_0x37904a(0x3c0)],this[_0x37904a(0x236)],this['type'],this[_0x37904a(0x16b)],this[_0x37904a(0x13f)],this['_handler'],_0x18ab2a);}},exports[_0x5eb40d(0x1bc)]=le([A(0x7,a[_0x5eb40d(0x22a)](a['Injector'])),A(0x8,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),A(0x9,a[_0x5eb40d(0x2d3)]),A(0xa,a[_0x5eb40d(0x223)]),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a['Optional'](z))],exports['FetchingMissState']);function Pt(_0x10cd04,_0x1a6746,_0x20ef33,_0x4adea4,_0x447f06,_0x4c34e3){var _0x59f103=_0x5eb40d;return _0x4adea4&&_0x447f06[_0x59f103(0x176)]?_0x10cd04[_0x59f103(0x35a)](exports['AwaitingWithPendingState'],_0x1a6746,_0x20ef33,_0x4adea4,_0x447f06,_0x4c34e3,void 0x0):_0x4adea4?_0x10cd04[_0x59f103(0x35a)](exports[_0x59f103(0x410)],_0x1a6746,_0x20ef33,_0x4adea4,_0x4c34e3):_0x447f06[_0x59f103(0x176)]?_0x10cd04[_0x59f103(0x35a)](exports[_0x59f103(0x221)],_0x1a6746,_0x20ef33,_0x447f06,_0x4c34e3):_0x10cd04[_0x59f103(0x35a)](exports[_0x59f103(0x34e)],_0x1a6746,_0x20ef33,_0x4c34e3);}var Pn=Object[_0x5eb40d(0x2af)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0x3fc72b,_0x2fc495,_0x39b8d5,_0x5f3ec4)=>{var _0x320ad3=_0x5eb40d;for(var _0x39d1bb=_0x5f3ec4>0x1?void 0x0:_0x5f3ec4?Dn(_0x2fc495,_0x39b8d5):_0x2fc495,_0x29c2cb=_0x3fc72b[_0x320ad3(0x176)]-0x1,_0x3c9ef2;_0x29c2cb>=0x0;_0x29c2cb--)(_0x3c9ef2=_0x3fc72b[_0x29c2cb])&&(_0x39d1bb=(_0x5f3ec4?_0x3c9ef2(_0x2fc495,_0x39b8d5,_0x39d1bb):_0x3c9ef2(_0x39d1bb))||_0x39d1bb);return _0x5f3ec4&&_0x39d1bb&&Pn(_0x2fc495,_0x39b8d5,_0x39d1bb),_0x39d1bb;},k=(_0x167a2c,_0x59ea28)=>(_0x16da50,_0x320bef)=>_0x59ea28(_0x16da50,_0x320bef,_0x167a2c);exports[_0x5eb40d(0x20d)]=class extends a[_0x5eb40d(0x372)]{constructor(_0x7394e0,_0x270dd7,_0x104412,_0x52eb4a,_0x47219d,_0x592d4a,_0x119079,_0x561a21,_0x9bdcb3,_0x315c18,_0x2e0cd3,_0x48ea49,_0x18e922){var _0x51fcef=_0x5eb40d;super(),D(this,_0x51fcef(0x296),new H[(_0x51fcef(0x179))](null)),D(this,_0x51fcef(0x499),this['_state$'][_0x51fcef(0x187)]()),D(this,_0x51fcef(0x34c)),D(this,_0x51fcef(0x2b4),!0x1),D(this,_0x51fcef(0x264),''),D(this,_0x51fcef(0x1ac),0x0),D(this,_0x51fcef(0x277),this[_0x51fcef(0x499)][_0x51fcef(0x469)](H[_0x51fcef(0x3bb)](_0x6535b7=>_0x6535b7?_0x6535b7['status']:We['OFFLINE']),H[_0x51fcef(0x13b)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x51fcef(0x14f),[]),(this[_0x51fcef(0x236)]=_0x7394e0,this['session']=_0x270dd7,this[_0x51fcef(0x159)]=_0x104412,this[_0x51fcef(0x47b)]=_0x52eb4a,this[_0x51fcef(0x3a8)]=_0x47219d,this[_0x51fcef(0x215)]=_0x592d4a,this[_0x51fcef(0x343)]=_0x119079,this['_eventService']=_0x561a21,this[_0x51fcef(0x430)]=_0x9bdcb3,this[_0x51fcef(0x26c)]=_0x315c18,this[_0x51fcef(0x22e)]=_0x2e0cd3,this[_0x51fcef(0x1b3)]=_0x48ea49,this['_localCacheService']=_0x18e922);}get[_0x5eb40d(0x1ef)](){return this['_state'];}async[_0x5eb40d(0x3d6)](){var _0x3335b2=_0x5eb40d;if(this[_0x3335b2(0x1ef)])throw new Error(_0x3335b2(0x3ee));await this[_0x3335b2(0x3a1)]();}[_0x5eb40d(0x3c6)](){var _0xbc5dfa=_0x5eb40d;return this[_0xbc5dfa(0x2b4)]=!0x0,a[_0xbc5dfa(0x482)](()=>{var _0x301b8f=_0xbc5dfa;this[_0x301b8f(0x2b4)]=!0x1,this[_0x301b8f(0x197)]();});}[_0x5eb40d(0x409)](_0xe6ed76){var _0x1664f3=_0x5eb40d;this[_0x1664f3(0x44d)](_0xe6ed76);}[_0x5eb40d(0x290)](_0x55da9e){var _0x2ecf52=_0x5eb40d;this[_0x2ecf52(0x34c)]=_0x55da9e,this['_state$'][_0x2ecf52(0x1e7)](_0x55da9e);}async[_0x5eb40d(0x3a1)](){var _0x3bc2a6=_0x5eb40d,_0x31b01e;this[_0x3bc2a6(0x290)](await this[_0x3bc2a6(0x38c)]()),this[_0x3bc2a6(0x1b3)]&&((_0x31b01e=this[_0x3bc2a6(0x1b3)])==null||_0x31b01e[_0x3bc2a6(0x3c5)](this['unitID']),this[_0x3bc2a6(0x255)](this[_0x3bc2a6(0x1b3)][_0x3bc2a6(0x1e0)](this[_0x3bc2a6(0x236)])['subscribe'](_0x553021=>{var _0x18762f=_0x3bc2a6;this['_logService'][_0x18762f(0x21b)](_0x18762f(0x192),_0x18762f(0x3cc),_0x553021),_0x553021===Fe['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x18762f(0x2e2)]({'id':Q[_0x18762f(0x4a2)]}),this[_0x18762f(0x22e)]['updatePermissionPoint'](new J[(_0x18762f(0x1cf))](this[_0x18762f(0x236)])['id'],!0x1),this[_0x18762f(0x22e)][_0x18762f(0x3de)](!0x1)):(this[_0x18762f(0x22e)][_0x18762f(0x308)](new J['WorkbookEditablePermission'](this[_0x18762f(0x236)])['id'],!0x0),this[_0x18762f(0x22e)][_0x18762f(0x3de)](!0x0));})));let _0x433054=!0x1;return this[_0x3bc2a6(0x255)](this[_0x3bc2a6(0x152)][_0x3bc2a6(0x2b6)][_0x3bc2a6(0x1af)](_0x335545=>{var _0x56486d=_0x3bc2a6;_0x335545===se['ONLINE']?this[_0x56486d(0x2f5)](_0x433054):_0x335545===se[_0x56486d(0x3a2)]&&(_0x433054=!0x0,this[_0x56486d(0x336)]());})),this[_0x3bc2a6(0x255)](this[_0x3bc2a6(0x152)][_0x3bc2a6(0x47a)]['subscribe'](_0x4916c6=>{var _0x3a3911=_0x3bc2a6;try{switch(_0x4916c6[_0x3a3911(0x379)]){case m[_0x3a3911(0x29b)][_0x3a3911(0x20e)]:{this[_0x3a3911(0x1b9)](m[_0x3a3911(0x24c)](_0x4916c6[_0x3a3911(0x49d)]));break;}case m[_0x3a3911(0x29b)][_0x3a3911(0x168)]:{this['_onRemoteACK'](_0x4916c6['data']);break;}case m['CollaborationEvent'][_0x3a3911(0x488)]:{this[_0x3a3911(0x22d)]();break;}case m[_0x3a3911(0x29b)][_0x3a3911(0x381)]:{this['_onRemoteRetry'](_0x4916c6[_0x3a3911(0x49d)]);break;}case m[_0x3a3911(0x29b)][_0x3a3911(0x2eb)]:{this[_0x3a3911(0x2d4)](_0x4916c6[_0x3a3911(0x49d)][_0x3a3911(0x3e8)][_0x3a3911(0x3bb)](_0x4227bd=>m[_0x3a3911(0x24c)](_0x4227bd)));break;}case m[_0x3a3911(0x29b)][_0x3a3911(0x300)]:{this[_0x3a3911(0x22d)]({'isPermissionRej':!0x0});break;}case m[_0x3a3911(0x29b)]['UNISCRIPT_RUN']:break;}}catch(_0x188d4c){throw console[_0x3a3911(0x2b2)](_0x3a3911(0x411),_0x188d4c),_0x188d4c;}})),this['_state'];}[_0x5eb40d(0x3d7)](){var _0xaf390=_0x5eb40d;this[_0xaf390(0x484)]=!0x1;}[_0x5eb40d(0x337)](){var _0xf3f082=_0x5eb40d;if(this['_transitionLocked'])throw new Error(_0xf3f082(0x3a6));this[_0xf3f082(0x484)]=!0x0;}[_0x5eb40d(0x44d)](_0x5cee4f){var _0x354302=_0x5eb40d;this[_0x354302(0x337)](),this['_updateState'](this[_0x354302(0x34c)]['appendMutation'](_0x5cee4f)),this[_0x354302(0x3d7)]();}[_0x5eb40d(0x1b9)](_0x3b0ff0){var _0x19dd8d=_0x5eb40d;if(!(_0x3b0ff0[_0x19dd8d(0x175)]<=this[_0x19dd8d(0x343)][_0x19dd8d(0x227)](this[_0x19dd8d(0x236)]))){if(this[_0x19dd8d(0x2b4)]){this['_remoteChangesetQueue'][_0x19dd8d(0x452)](_0x3b0ff0);return;}this[_0x19dd8d(0x254)](_0x3b0ff0);}}[_0x5eb40d(0x197)](){var _0x1be19f=_0x5eb40d;this['_remoteChangesetQueue'][_0x1be19f(0x211)](_0x320033=>this[_0x1be19f(0x254)](_0x320033)),this[_0x1be19f(0x14f)]=[];}['_applyRemoteChangeset'](_0x5c40a0){var _0x446937=_0x5eb40d;const _0x26cc1a=this[_0x446937(0x3a8)][_0x446937(0x3fc)]['fetchThroughInterceptors'](this[_0x446937(0x3a8)]['interceptor'][_0x446937(0x28b)]()[_0x446937(0x260)])(_0x5c40a0[_0x446937(0x1f2)],null)||_0x5c40a0['mutations'],_0x46cfae={..._0x5c40a0,'mutations':_0x26cc1a};this['_lockTransition'](),this[_0x446937(0x290)](this[_0x446937(0x34c)]['onRemoteChangeset'](_0x46cfae)),this['_unlockTransition']();}['_onRemoteACK'](_0x362acd){var _0x35c0bc=_0x5eb40d;this[_0x35c0bc(0x337)](),this[_0x35c0bc(0x290)](this[_0x35c0bc(0x34c)][_0x35c0bc(0x393)](_0x362acd)),this[_0x35c0bc(0x3d7)]();}[_0x5eb40d(0x22d)](_0x8645a3){var _0x1fe837=_0x5eb40d;this[_0x1fe837(0x337)](),this[_0x1fe837(0x290)](this['_state'][_0x1fe837(0x141)](_0x8645a3)),this[_0x1fe837(0x3d7)]();}[_0x5eb40d(0x222)](_0x2c5051){var _0x5e8e2f=_0x5eb40d;this[_0x5e8e2f(0x337)](),this['_updateState'](this[_0x5e8e2f(0x34c)][_0x5e8e2f(0x402)](_0x2c5051)),this[_0x5e8e2f(0x3d7)]();}[_0x5eb40d(0x2d4)](_0x2289f7){var _0x1b6975=_0x5eb40d;if(!(this[_0x1b6975(0x34c)]instanceof exports[_0x1b6975(0x1bc)]))throw new TypeError(_0x1b6975(0x1a2));const _0x5ca744=_0x2289f7[_0x1b6975(0x3bb)](_0xcf0cc5=>{var _0xdd9d9a=_0x1b6975;const _0x541ce0=this[_0xdd9d9a(0x3a8)]['interceptor'][_0xdd9d9a(0x20f)](this[_0xdd9d9a(0x3a8)]['interceptor'][_0xdd9d9a(0x28b)]()[_0xdd9d9a(0x260)])(_0xcf0cc5['mutations'],null)||_0xcf0cc5[_0xdd9d9a(0x1f2)];return{..._0xcf0cc5,'mutations':_0x541ce0};});this['_lockTransition'](),this[_0x1b6975(0x290)](this['_state'][_0x1b6975(0x391)](_0x5ca744)),this[_0x1b6975(0x3d7)]();}[_0x5eb40d(0x336)](){var _0x5d4a9c=_0x5eb40d;this[_0x5d4a9c(0x337)](),this[_0x5d4a9c(0x290)](this[_0x5d4a9c(0x34c)][_0x5d4a9c(0x3e3)]()),this[_0x5d4a9c(0x3d7)]();}[_0x5eb40d(0x2f5)](_0x1044c0=!0x1){var _0x1c4815=_0x5eb40d;this[_0x1c4815(0x337)](),this[_0x1c4815(0x290)](this[_0x1c4815(0x34c)][_0x1c4815(0x45c)]()),this['_unlockTransition']();const _0x560abe=this[_0x1c4815(0x34c)];_0x1044c0&&_0x560abe instanceof exports[_0x1c4815(0x34e)]&&(this[_0x1c4815(0x337)](),this['_updateState'](_0x560abe[_0x1c4815(0x37d)]()),this['_unlockTransition']());}async[_0x5eb40d(0x38c)](){return new Promise(_0xc79cc4=>{var _0x9034e2=_0x328b;this['session'][_0x9034e2(0x2b6)][_0x9034e2(0x469)](H['take'](0x1))[_0x9034e2(0x1af)](async _0x478033=>{var _0xe5d3ca=_0x9034e2;_0xc79cc4(await this['_createInitialStateImpl'](_0x478033===se[_0xe5d3ca(0x306)]));});});}[_0x5eb40d(0x1b8)](){var _0x529d5f=_0x5eb40d;const _0x12caa2=this[_0x529d5f(0x236)];return{'onStateChange':(_0x4898e1,_0x5b7204)=>{var _0x7a16cf=_0x529d5f;if(_0x4898e1!==this[_0x7a16cf(0x34c)])throw new Error(_0x7a16cf(0x257)+_0x4898e1[_0x7a16cf(0x2ee)]+_0x7a16cf(0x153)+_0x5b7204[_0x7a16cf(0x2ee)]+_0x7a16cf(0x1f8)+this[_0x7a16cf(0x34c)][_0x7a16cf(0x2ee)]);this[_0x7a16cf(0x290)](_0x5b7204);},'onSendChangeset':_0x56ab15=>{var _0x20d32b=_0x529d5f;_0x56ab15[_0x20d32b(0x1d3)]||(_0x56ab15[_0x20d32b(0x1d3)]=this[_0x20d32b(0x264)],_0x56ab15[_0x20d32b(0x439)]=++this[_0x20d32b(0x1ac)]);const _0x3381dc={'eventID':m[_0x20d32b(0x29b)][_0x20d32b(0x427)],'data':{'unitID':_0x56ab15[_0x20d32b(0x236)],'unitType':this['_type'],'changeset':_0x56ab15,'memberID':this[_0x20d32b(0x152)][_0x20d32b(0x3ed)]()}};this['session'][_0x20d32b(0x23c)](_0x3381dc,this[_0x20d32b(0x236)]);},'onMissingChangesets':({from:_0x29a861,to:_0x287289})=>{var _0x34bb4d=_0x529d5f;this[_0x34bb4d(0x430)][_0x34bb4d(0x21b)](_0x34bb4d(0x192),_0x34bb4d(0x41b)+_0x29a861+'\x20to\x20'+_0x287289);const _0x54c0e5={'eventID':m[_0x34bb4d(0x29b)][_0x34bb4d(0x1db)],'data':{'unitID':_0x12caa2,'unitType':this[_0x34bb4d(0x159)],'from':_0x29a861,'to':_0x287289}};this[_0x34bb4d(0x152)][_0x34bb4d(0x23c)](_0x54c0e5,this[_0x34bb4d(0x236)]);}};}async[_0x5eb40d(0x2b3)](_0x550de4){var _0x136fd7=_0x5eb40d,_0x1dc541,_0xf0a63d,_0xfb1b95;const _0x5c0223=await((_0x1dc541=this[_0x136fd7(0x3d1)])==null?void 0x0:_0x1dc541[_0x136fd7(0x164)](this['unitID'])),_0x48a91a=(_0xf0a63d=_0x5c0223==null?void 0x0:_0x5c0223[_0x136fd7(0x1f2)])!=null?_0xf0a63d:[],_0x3a141b=(_0xfb1b95=_0x5c0223==null?void 0x0:_0x5c0223['awaitingChangeset'])!=null?_0xfb1b95:null,_0x20f802=!!(_0x3a141b!=null&&_0x3a141b[_0x136fd7(0x1d3)])&&!!(_0x3a141b!=null&&_0x3a141b[_0x136fd7(0x439)]);this[_0x136fd7(0x264)]=_0x20f802?_0x3a141b[_0x136fd7(0x1d3)]:gn(),this[_0x136fd7(0x1ac)]=_0x20f802?_0x3a141b[_0x136fd7(0x439)]:0x0;const _0x1ec9d5=this['unitID'];try{this[_0x136fd7(0x1d2)](_0x3a141b,_0x48a91a);}catch(_0x29aab8){this['_logService'][_0x136fd7(0x2b2)](_0x29aab8);}const _0x3c7a5d=this[_0x136fd7(0x1b8)]();if(_0x550de4){const _0x5703d1=Pt(this['_injector'],_0x1ec9d5,this[_0x136fd7(0x159)],_0x3a141b,_0x48a91a,_0x3c7a5d);return _0x5703d1 instanceof exports[_0x136fd7(0x221)]?_0x5703d1[_0x136fd7(0x2f6)]():(_0x5703d1 instanceof exports[_0x136fd7(0x444)]||_0x5703d1 instanceof exports['AwaitingState'])&&_0x5703d1[_0x136fd7(0x1a7)](),_0x5703d1;}return this[_0x136fd7(0x47b)]['createInstance'](exports['OfflineState'],_0x1ec9d5,this['_type'],_0x3a141b,_0x48a91a,_0x3c7a5d);}[_0x5eb40d(0x1d2)](_0x19f165,_0x43605d){var _0x197482=_0x5eb40d,_0xa064cf,_0x3a03b9;const _0x5baf6d=this[_0x197482(0x3a8)][_0x197482(0x3fc)][_0x197482(0x20f)](this[_0x197482(0x3a8)][_0x197482(0x3fc)][_0x197482(0x28b)]()['COMPRESS_MUTATION_APPLY']);(_0xa064cf=_0x5baf6d((_0x19f165==null?void 0x0:_0x19f165['mutations'])||[],null))==null||_0xa064cf[_0x197482(0x211)](_0x38dd26=>this['_commandService'][_0x197482(0x47d)](_0x38dd26['id'],_0x38dd26[_0x197482(0x2f3)])),(_0x3a03b9=_0x5baf6d(_0x43605d||[],null))==null||_0x3a03b9[_0x197482(0x211)](_0x59e70f=>this['_commandService'][_0x197482(0x47d)](_0x59e70f['id'],_0x59e70f[_0x197482(0x2f3)]));}},exports[_0x5eb40d(0x20d)]=Ge([k(0x3,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),k(0x4,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x190)])),k(0x5,a[_0x5eb40d(0x22a)](a['LocaleService'])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x5eb40d(0x22a)](te)),k(0x8,a[_0x5eb40d(0x2d3)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5eb40d(0x251)]),k(0xb,a[_0x5eb40d(0x149)](ve)),k(0xc,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x20d)]),exports[_0x5eb40d(0x1ab)]=class extends exports[_0x5eb40d(0x20d)]{constructor(_0x31cabe,_0x4d4e9d,_0x47f572,_0x4480e8,_0xee29f9,_0x1a22c8,_0x4ad04e,_0x9598c0,_0x40e23f,_0x554163,_0x3d1508,_0x4a345e,_0x232942){var _0x51e563=_0x5eb40d;super(_0x31cabe,_0x47f572,_0x4d4e9d,_0x4480e8,_0xee29f9,_0x1a22c8,_0x4ad04e,_0x9598c0,_0x40e23f,_0x554163,_0x3d1508,_0x4a345e,_0x232942),D(this,'_handlerCallback',null),(this[_0x51e563(0x236)]=_0x31cabe,this[_0x51e563(0x33c)]=_0x4d4e9d);}['addHandlerCallback'](_0x4f7872){this['_handlerCallback']=_0x4f7872;}[_0x5eb40d(0x272)](){var _0x3b254b=_0x5eb40d;this['_handlerCallback']=null,super[_0x3b254b(0x272)]();}['_createHandler'](){var _0x40fda1=_0x5eb40d;const _0x5cbf81=super[_0x40fda1(0x1b8)]();return _0x5cbf81[_0x40fda1(0x351)]=_0xd278ee=>{var _0x272b51=_0x40fda1,_0x2e3805,_0xf42c4e;return(_0xf42c4e=(_0x2e3805=this['_handlerCallback'])==null?void 0x0:_0x2e3805['onTransformIME'])==null?void 0x0:_0xf42c4e[_0x272b51(0x313)](_0x2e3805,_0xd278ee);},_0x5cbf81['onTransformState']=_0x428e79=>{var _0x742e4c=_0x40fda1,_0xb21a5c,_0x5ec2af;return(_0x5ec2af=(_0xb21a5c=this['_handlerCallback'])==null?void 0x0:_0xb21a5c['onTransformState'])==null?void 0x0:_0x5ec2af[_0x742e4c(0x313)](_0xb21a5c,_0x428e79);},_0x5cbf81['onTransformSelections']=_0x5309fa=>{var _0x3e672a=_0x40fda1,_0x214663,_0x50697b;return(_0x50697b=(_0x214663=this[_0x3e672a(0x2dd)])==null?void 0x0:_0x214663[_0x3e672a(0x1fe)])==null?void 0x0:_0x50697b[_0x3e672a(0x313)](_0x214663,_0x5309fa);},_0x5cbf81[_0x40fda1(0x493)]=_0x1794f8=>{var _0x47202b=_0x40fda1,_0x4d1b01,_0x54f08e;return(_0x54f08e=(_0x4d1b01=this[_0x47202b(0x2dd)])==null?void 0x0:_0x4d1b01['onSyncEditingCollabCursor'])==null?void 0x0:_0x54f08e[_0x47202b(0x313)](_0x4d1b01,_0x1794f8);},_0x5cbf81['onTransformRemoteChangesetByIMECache']=_0x31dfb4=>{var _0x240a16=_0x40fda1,_0x3e8ebc,_0x1e3f94,_0x1a40bd;if(!((_0x3e8ebc=this['_handlerCallback'])!=null&&_0x3e8ebc[_0x240a16(0x229)]))throw new Error(_0x240a16(0x2f1));return(_0x1a40bd=(_0x1e3f94=this['_handlerCallback'])==null?void 0x0:_0x1e3f94['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1a40bd['call'](_0x1e3f94,_0x31dfb4);},_0x5cbf81['onTransformRemoteChangesetByStateCache']=_0x44097e=>{var _0x1eb445=_0x40fda1,_0x49d0ed,_0x1f488a,_0x2416f6;if(!((_0x49d0ed=this[_0x1eb445(0x2dd)])!=null&&_0x49d0ed['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1eb445(0x32a));return(_0x2416f6=(_0x1f488a=this['_handlerCallback'])==null?void 0x0:_0x1f488a[_0x1eb445(0x45f)])==null?void 0x0:_0x2416f6[_0x1eb445(0x313)](_0x1f488a,_0x44097e);},_0x5cbf81;}async[_0x5eb40d(0x3a1)](){var _0x2f0915=_0x5eb40d;const _0x4c328f=await super[_0x2f0915(0x3a1)]();return this[_0x2f0915(0x255)](this['_commandService'][_0x2f0915(0x40d)]((_0x240503,_0x3c8851)=>{var _0x485aad=_0x2f0915;if(_0x240503['type']!==a[_0x485aad(0x161)][_0x485aad(0x2a9)]||_0x3c8851!=null&&_0x3c8851[_0x485aad(0x392)]||_0x3c8851!=null&&_0x3c8851[_0x485aad(0x360)]||_0x240503['id']===dt[_0x485aad(0x2f0)]['id'])return;const _0x51acb6=_0x240503['params'];if((_0x51acb6==null?void 0x0:_0x51acb6[_0x485aad(0x2a8)])!==this['unitID'])return;const _0x435e7d=_0x240503,_0x41fc84=this[_0x485aad(0x3a8)][_0x485aad(0x3fc)][_0x485aad(0x20f)](this[_0x485aad(0x3a8)][_0x485aad(0x3fc)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x435e7d],null)||[_0x435e7d];this[_0x485aad(0x44d)](_0x41fc84[0x0]);})),_0x4c328f;}},exports[_0x5eb40d(0x1ab)]=Ge([k(0x3,a['Inject'](a['Injector'])),k(0x4,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x190)])),k(0x5,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x2e7)])),k(0x6,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),k(0x7,a[_0x5eb40d(0x22a)](te)),k(0x8,a[_0x5eb40d(0x2d3)]),k(0x9,a[_0x5eb40d(0x223)]),k(0xa,a[_0x5eb40d(0x251)]),k(0xb,a[_0x5eb40d(0x149)](ve)),k(0xc,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x1ab)]),exports[_0x5eb40d(0x45e)]=class extends exports[_0x5eb40d(0x20d)]{constructor(_0x153c1b,_0x1e0a54,_0x2fa13,_0x5849d5,_0x153623,_0x1238a3,_0xaad986,_0x121c10,_0x33b047,_0x5daa15,_0xcfd1ee,_0x31cd8f,_0x4fbcc8,_0x269d41){var _0x4cbf32=_0x5eb40d;super(_0x153c1b,_0x2fa13,_0x1e0a54,_0x5849d5,_0x153623,_0x1238a3,_0xaad986,_0x33b047,_0x5daa15,_0xcfd1ee,_0x31cd8f,_0x4fbcc8,_0x269d41),this[_0x4cbf32(0x236)]=_0x153c1b,this[_0x4cbf32(0x33c)]=_0x1e0a54,this[_0x4cbf32(0x473)]=_0x121c10;}[_0x5eb40d(0x1b8)](){var _0xae4802=_0x5eb40d;const _0x2c0ce2=super[_0xae4802(0x1b8)]();return _0x2c0ce2['onTransformSelections']=_0x40760a=>this['_sheetTransformSelectionsService'][_0xae4802(0x1dc)](_0x40760a),_0x2c0ce2;}async['_init'](){var _0x105b93=_0x5eb40d;const _0x35d8de=await super['_init']();return this['disposeWithMe'](this[_0x105b93(0x26c)][_0x105b93(0x40d)]((_0x472fe7,_0x4aeeb8)=>{var _0x2dbbda=_0x105b93;if(_0x472fe7['type']!==a['CommandType'][_0x2dbbda(0x2a9)]||_0x4aeeb8!=null&&_0x4aeeb8[_0x2dbbda(0x392)]||_0x4aeeb8!=null&&_0x4aeeb8[_0x2dbbda(0x360)])return;const _0x4d585b=_0x472fe7[_0x2dbbda(0x2f3)];if((_0x4d585b==null?void 0x0:_0x4d585b[_0x2dbbda(0x2a8)])!==this[_0x2dbbda(0x236)])return;const _0x7f649=_0x472fe7,_0x11e96e=this[_0x2dbbda(0x3a8)][_0x2dbbda(0x3fc)][_0x2dbbda(0x20f)](this[_0x2dbbda(0x3a8)]['interceptor'][_0x2dbbda(0x28b)]()[_0x2dbbda(0x316)])([_0x7f649],null)||[_0x7f649];this[_0x2dbbda(0x44d)](_0x11e96e[0x0]);})),_0x35d8de;}},exports[_0x5eb40d(0x45e)]=Ge([k(0x3,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),k(0x4,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x190)])),k(0x5,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x2e7)])),k(0x6,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x184)])),k(0x7,a[_0x5eb40d(0x22a)](exports[_0x5eb40d(0x1ec)])),k(0x8,a['Inject'](te)),k(0x9,a['ILogService']),k(0xa,a[_0x5eb40d(0x223)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x5eb40d(0x149)](ve)),k(0xd,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x45e)]);var wn=Object['defineProperty'],An=Object[_0x5eb40d(0x22b)],Ln=(_0xe23e1b,_0x3d3610,_0x28d910,_0x367846)=>{var _0x5a3492=_0x5eb40d;for(var _0x2b7f34=_0x367846>0x1?void 0x0:_0x367846?An(_0x3d3610,_0x28d910):_0x3d3610,_0x19a335=_0xe23e1b[_0x5a3492(0x176)]-0x1,_0x406274;_0x19a335>=0x0;_0x19a335--)(_0x406274=_0xe23e1b[_0x19a335])&&(_0x2b7f34=(_0x367846?_0x406274(_0x3d3610,_0x28d910,_0x2b7f34):_0x406274(_0x2b7f34))||_0x2b7f34);return _0x367846&&_0x2b7f34&&wn(_0x3d3610,_0x28d910,_0x2b7f34),_0x2b7f34;},we=(_0x5e0e4a,_0x5aa4ed)=>(_0x47743c,_0x30c1b6)=>_0x5aa4ed(_0x47743c,_0x30c1b6,_0x5e0e4a);exports['CollaborationController']=class extends a[_0x5eb40d(0x372)]{constructor(_0x5abdbd,_0x2ef319,_0x21466b){var _0x1c5fd6=_0x5eb40d;super(),D(this,_0x1c5fd6(0x3cb),new Map()),D(this,'_entityInit$',new H[(_0x1c5fd6(0x474))]()),D(this,'entityInit$',this[_0x1c5fd6(0x314)][_0x1c5fd6(0x187)]()),(this[_0x1c5fd6(0x47b)]=_0x5abdbd,this['_collabSessionService']=_0x2ef319,this[_0x1c5fd6(0x1cd)]=_0x21466b,this['_init']());}[_0x5eb40d(0x272)](){var _0x58062a=_0x5eb40d;super[_0x58062a(0x272)](),this[_0x58062a(0x3cb)][_0x58062a(0x211)](_0x4f4410=>_0x4f4410[_0x58062a(0x272)]()),this[_0x58062a(0x3cb)][_0x58062a(0x154)]();}[_0x5eb40d(0x2b1)](_0x49d124){var _0x592739=_0x5eb40d,_0xfd8cc3;return(_0xfd8cc3=this[_0x592739(0x3cb)][_0x592739(0x319)](_0x49d124))!=null?_0xfd8cc3:null;}[_0x5eb40d(0x17a)](_0x2d7cf4){var _0x5e013a=_0x5eb40d;const _0x4efe5f=this['getCollabEntity'](_0x2d7cf4);return _0x4efe5f?H['of'](_0x4efe5f):this['_entityInit$']['pipe'](W[_0x5e013a(0x310)](_0xb2de51=>_0xb2de51[_0x5e013a(0x236)]===_0x2d7cf4));}[_0x5eb40d(0x247)](_0x42bd3a){var _0x4e2007=_0x5eb40d;return H[_0x4e2007(0x2ef)](this[_0x4e2007(0x17a)](_0x42bd3a)['pipe'](W['map'](()=>{})));}['_init'](){var _0x4aa610=_0x5eb40d;this[_0x4aa610(0x1cd)]['getTypeOfUnitAdded$'](a[_0x4aa610(0x385)][_0x4aa610(0x35f)])['pipe'](H['takeUntil'](this['dispose$']),W['delay'](0x10))['subscribe'](async _0x3edfd1=>{var _0x58f0e3=_0x4aa610;const _0xcf2e00=_0x3edfd1['getUnitId'](),_0x9a5f24=await this[_0x58f0e3(0x4a5)](_0xcf2e00,Z['UNIVER_SHEET']);this[_0x58f0e3(0x3cb)][_0x58f0e3(0x305)](_0xcf2e00,_0x9a5f24);}),this[_0x4aa610(0x1cd)][_0x4aa610(0x434)](a['UniverInstanceType'][_0x4aa610(0x3fe)])['pipe'](H['takeUntil'](this['dispose$']),W[_0x4aa610(0x44f)](0x10))[_0x4aa610(0x469)](W['filter'](_0xacd4f=>!_0xacd4f['getUnitId']()[_0x4aa610(0x43d)]('__')))['subscribe'](async _0x1504f1=>{var _0x288820=_0x4aa610;const _0x55ee3b=_0x1504f1[_0x288820(0x1cc)](),_0x45f067=await this['_startCollaboration'](_0x55ee3b,Z[_0x288820(0x3fe)]);this[_0x288820(0x3cb)][_0x288820(0x305)](_0x55ee3b,_0x45f067);}),H[_0x4aa610(0x32d)](this['_univerInstanceService'][_0x4aa610(0x1c5)](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x4aa610(0x1c5)](a[_0x4aa610(0x385)][_0x4aa610(0x3fe)]))[_0x4aa610(0x469)](H[_0x4aa610(0x463)](this[_0x4aa610(0x2fe)]))[_0x4aa610(0x1af)](_0x1efc88=>{var _0x1f1f35=_0x4aa610;const _0x58f2d7=_0x1efc88[_0x1f1f35(0x1cc)](),_0x167023=this[_0x1f1f35(0x3cb)][_0x1f1f35(0x319)](_0x58f2d7);_0x167023&&(_0x167023[_0x1f1f35(0x272)](),this[_0x1f1f35(0x3cb)][_0x1f1f35(0x1ea)](_0x58f2d7));});}async[_0x5eb40d(0x4a5)](_0x446b40,_0x4a8cd1){var _0x58d6a6=_0x5eb40d;const _0x5a6ea5=await this[_0x58d6a6(0x1b7)]['requireSession'](_0x446b40),_0xd8075d=this[_0x58d6a6(0x47b)][_0x58d6a6(0x35a)](this[_0x58d6a6(0x373)](_0x4a8cd1),_0x446b40,_0x4a8cd1,_0x5a6ea5);return await _0xd8075d[_0x58d6a6(0x3d6)](),this[_0x58d6a6(0x314)]['next'](_0xd8075d),_0xd8075d;}[_0x5eb40d(0x373)](_0x175a95){var _0x4677f2=_0x5eb40d;switch(_0x175a95){case Z[_0x4677f2(0x3fe)]:return exports[_0x4677f2(0x1ab)];case Z['UNIVER_SHEET']:return exports[_0x4677f2(0x45e)];default:throw new Error(_0x4677f2(0x245)+_0x175a95);}}},exports['CollaborationController']=Ln([we(0x0,a['Inject'](a[_0x5eb40d(0x1dd)])),we(0x1,a['Inject'](exports[_0x5eb40d(0x483)])),we(0x2,a['IUniverInstanceService'])],exports[_0x5eb40d(0x367)]);var Mn=Object[_0x5eb40d(0x2af)],xn=Object[_0x5eb40d(0x22b)],jn=(_0x3abad2,_0x39c461,_0x9d97ad,_0x34cf5a)=>{for(var _0x4e5911=_0x34cf5a>0x1?void 0x0:_0x34cf5a?xn(_0x39c461,_0x9d97ad):_0x39c461,_0x4e0fe8=_0x3abad2['length']-0x1,_0xd69ce4;_0x4e0fe8>=0x0;_0x4e0fe8--)(_0xd69ce4=_0x3abad2[_0x4e0fe8])&&(_0x4e5911=(_0x34cf5a?_0xd69ce4(_0x39c461,_0x9d97ad,_0x4e5911):_0xd69ce4(_0x4e5911))||_0x4e5911);return _0x34cf5a&&_0x4e5911&&Mn(_0x39c461,_0x9d97ad,_0x4e5911),_0x4e5911;},Xe=(_0x562cde,_0x213c4b)=>(_0xcd3d5f,_0x4c2d58)=>_0x213c4b(_0xcd3d5f,_0x4c2d58,_0x562cde);const $n=_0x5eb40d(0x438),Hn='Univer';let $e=class extends a['Disposable']{constructor(_0x40eefd,_0x4aec08){var _0x101ad3=_0x5eb40d;super(),this[_0x101ad3(0x1cd)]=_0x40eefd,this[_0x101ad3(0x3bd)]=_0x4aec08,this[_0x101ad3(0x3a1)]();}['_init'](){var _0x5386c4=_0x5eb40d;this[_0x5386c4(0x255)](this[_0x5386c4(0x1cd)]['focused$'][_0x5386c4(0x1af)](()=>{var _0x1f4dcf=_0x5386c4,_0x466e76;const _0x5b8101=this[_0x1f4dcf(0x1cd)][_0x1f4dcf(0x263)]();let _0x57c46c=(_0x466e76=this[_0x1f4dcf(0x3bd)][_0x1f4dcf(0x2a4)]($n))!=null?_0x466e76:Hn;_0x5b8101 instanceof a[_0x1f4dcf(0x384)]&&(_0x57c46c=_0x5b8101[_0x1f4dcf(0x1ee)]),document[_0x1f4dcf(0x2c1)]=_0x57c46c;}));}};$e=jn([Xe(0x0,a[_0x5eb40d(0x341)]),Xe(0x1,a[_0x5eb40d(0x150)])],$e);var kn=Object[_0x5eb40d(0x2af)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x13853f,_0x33d66b,_0x1cf89e,_0x20bfc1)=>{var _0x416a40=_0x5eb40d;for(var _0x175d7f=_0x20bfc1>0x1?void 0x0:_0x20bfc1?Bn(_0x33d66b,_0x1cf89e):_0x33d66b,_0x28cd19=_0x13853f[_0x416a40(0x176)]-0x1,_0x1eb308;_0x28cd19>=0x0;_0x28cd19--)(_0x1eb308=_0x13853f[_0x28cd19])&&(_0x175d7f=(_0x20bfc1?_0x1eb308(_0x33d66b,_0x1cf89e,_0x175d7f):_0x1eb308(_0x175d7f))||_0x175d7f);return _0x20bfc1&&_0x175d7f&&kn(_0x33d66b,_0x1cf89e,_0x175d7f),_0x175d7f;},Ae=(_0x214fae,_0x32f6fa)=>(_0x33e041,_0x21a7b0)=>_0x32f6fa(_0x33e041,_0x21a7b0,_0x214fae);let ye=class{constructor(_0xca5c0c,_0x48d2f2,_0x473662){var _0x1ccd80=_0x5eb40d;this[_0x1ccd80(0x3bd)]=_0xca5c0c,this[_0x1ccd80(0x205)]=_0x48d2f2,this[_0x1ccd80(0x1d8)]=_0x473662,this[_0x1ccd80(0x3d6)]();}[_0x5eb40d(0x3d6)](){var _0x39959c=_0x5eb40d;this[_0x39959c(0x205)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x18feb8,_0x6deb8d)=>_0x6deb8d(_0x18feb8)[_0x39959c(0x469)](H[_0x39959c(0x370)](async _0x5f3bb4=>{var _0x28ee9c=_0x39959c;const _0xea2258=_0x5f3bb4;if(_0xea2258[_0x28ee9c(0x2ee)]===0x191){if(typeof window>'u')throw new Error(_0x28ee9c(0x1fa));if(window[_0x28ee9c(0x163)](this['localeService']['t'](_0x28ee9c(0x355)))){const _0x2f7ccc=window[_0x28ee9c(0x17b)](window['location'][_0x28ee9c(0x256)]);window['location'][_0x28ee9c(0x256)]=this[_0x28ee9c(0x40f)]()+_0x28ee9c(0x25b)+_0x2f7ccc;}}return _0xea2258;}))});}[_0x5eb40d(0x40f)](){var _0x3c9269=_0x5eb40d,_0x1f05d2,_0x14a4df;const _0x474c51=this[_0x3c9269(0x3bd)]['getConfig'](Ct),_0x515b5e=this[_0x3c9269(0x3bd)]['getConfig'](Y);return(_0x14a4df=(_0x1f05d2=_0x515b5e==null?void 0x0:_0x515b5e[_0x3c9269(0x31c)])!=null?_0x1f05d2:_0x474c51)!=null?_0x14a4df:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x5eb40d(0x22a)](q[_0x5eb40d(0x226)])),Ae(0x2,a[_0x5eb40d(0x22a)](a['LocaleService']))],ye);var Wn=Object[_0x5eb40d(0x2af)],Gn=Object[_0x5eb40d(0x22b)],Vn=(_0x41f67b,_0x1c8b44,_0x37979b,_0x1e6e9f)=>{var _0x18666c=_0x5eb40d;for(var _0x237827=_0x1e6e9f>0x1?void 0x0:_0x1e6e9f?Gn(_0x1c8b44,_0x37979b):_0x1c8b44,_0x5979d8=_0x41f67b[_0x18666c(0x176)]-0x1,_0x35073e;_0x5979d8>=0x0;_0x5979d8--)(_0x35073e=_0x41f67b[_0x5979d8])&&(_0x237827=(_0x1e6e9f?_0x35073e(_0x1c8b44,_0x37979b,_0x237827):_0x35073e(_0x237827))||_0x237827);return _0x1e6e9f&&_0x237827&&Wn(_0x1c8b44,_0x37979b,_0x237827),_0x237827;},Ze=(_0x3ec267,_0x531309)=>(_0x58ce16,_0x234800)=>_0x531309(_0x58ce16,_0x234800,_0x3ec267);const Ve=_0x5eb40d(0x3b3),Kn=_0x5eb40d(0x437);exports[_0x5eb40d(0x195)]=class extends a[_0x5eb40d(0x390)]{constructor(_0x538fa3,_0x37ab0b){var _0x298055=_0x5eb40d;super(),this[_0x298055(0x202)]=_0x538fa3,this[_0x298055(0x3bd)]=_0x37ab0b,this[_0x298055(0x3f6)]();}['_initMergeInterceptor'](){var _0x13c672=_0x5eb40d;const _0x3a6012=this;this[_0x13c672(0x255)](this[_0x13c672(0x202)][_0x13c672(0x13a)]({'priority':0x3e7,'interceptor':q[_0x13c672(0x29d)]({'isMatch'(_0x4ce0f7){var _0x3a455e=_0x13c672,_0x18c54e;if(_0x4ce0f7[_0x3a455e(0x32f)]===_0x3a455e(0x339)&&((_0x18c54e=_0x4ce0f7[_0x3a455e(0x2ac)])!=null&&_0x18c54e[_0x3a455e(0x35b)])){const {objectID:_0x461744,objectType:_0x161597}=_0x4ce0f7['requestParams'][_0x3a455e(0x35b)]||{};if(!_0x461744||_0x161597===void 0x0)return!0x1;const _0x143ed2=_0x3a6012[_0x3a455e(0x48c)]()+'/'+_0x161597+_0x3a455e(0x2cc)+_0x461744+_0x3a455e(0x3b6);if(_0x4ce0f7[_0x3a455e(0x156)]===_0x143ed2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf9dbb3){var _0x3837a2=_0x13c672,_0x5ea2a5;return(_0x5ea2a5=_0xf9dbb3['requestParams'])==null?void 0x0:_0x5ea2a5[_0x3837a2(0x35b)];},'mergeParamsToRequest'(_0x263e59,_0x16d7bb){var _0x4b7a8b=_0x13c672;const _0x247703=_0x3a6012[_0x4b7a8b(0x48c)]()+_0x4b7a8b(0x285),_0x3d9b7f=_0x263e59[_0x4b7a8b(0x23d)]((_0x41a2b6,_0x4f4691)=>{var _0xb0d8e8=_0x4b7a8b;const {unitID:_0x1c749e,objectID:_0x4f828c,objectType:_0x33e768,actions:_0x569996}=_0x4f4691;return _0x41a2b6[_0x1c749e]||(_0x41a2b6[_0x1c749e]={}),_0x41a2b6[_0x1c749e][_0x4f828c]||(_0x41a2b6[_0x1c749e][_0x4f828c]={'objectID':_0x4f828c,'objectType':_0x33e768,'actions':[]}),_0x41a2b6[_0x1c749e][_0x4f828c][_0xb0d8e8(0x3e1)][_0xb0d8e8(0x452)](..._0x569996),_0x41a2b6;},{}),_0x756132=[];for(const _0x31dae9 in _0x3d9b7f)for(const _0x201f88 in _0x3d9b7f[_0x31dae9]){const {actions:_0x2392da,objectType:_0x54a89e}=_0x3d9b7f[_0x31dae9][_0x201f88],_0x47c48f=[...new Set(_0x2392da)];_0x756132[_0x4b7a8b(0x452)]({'unitID':_0x31dae9,'objectID':_0x201f88,'objectType':_0x54a89e,'actions':_0x47c48f});}return new q['HTTPRequest'](_0x4b7a8b(0x339),_0x247703,{'headers':_0x16d7bb[_0x4b7a8b(0x225)],'withCredentials':_0x16d7bb['withCredentials'],'responseType':_0x16d7bb[_0x4b7a8b(0x26f)],'body':{'requests':_0x756132}});}},{'distributeResult'(_0x57498c,_0x9ee628){var _0x5d94ff=_0x13c672;const {objectActions:_0x2173cf}=_0x57498c;return _0x9ee628[_0x5d94ff(0x3bb)](_0x3b59af=>{var _0x2c9e2d=_0x5d94ff;const {unitID:_0x4c04ff,objectID:_0x37de95,actions:_0x235284}=_0x3b59af,_0x5702a0=_0x2173cf[_0x2c9e2d(0x209)](_0x4fadb9=>_0x4fadb9[_0x2c9e2d(0x236)]===_0x4c04ff&&_0x4fadb9[_0x2c9e2d(0x323)]===_0x37de95),_0x37b24a=_0x235284[_0x2c9e2d(0x3bb)](_0x1a7614=>_0x5702a0==null?void 0x0:_0x5702a0[_0x2c9e2d(0x3e1)]['find'](_0xb3a535=>_0xb3a535[_0x2c9e2d(0x252)]===_0x1a7614))[_0x2c9e2d(0x310)](_0x27cb56=>!!_0x27cb56);return{'config':_0x3b59af,'result':{'actions':_0x37b24a,'error':_0x57498c[_0x2c9e2d(0x2b2)]}};});}})}));}[_0x5eb40d(0x48c)](){var _0x1edaf5=_0x5eb40d,_0x388b42,_0x40fb4c;const _0x482bfb=this[_0x1edaf5(0x3bd)][_0x1edaf5(0x2a4)](Ve),_0x5dbd05=this['_configService']['getConfig'](Y);return(_0x40fb4c=(_0x388b42=_0x5dbd05==null?void 0x0:_0x5dbd05['authzUrl'])!=null?_0x388b42:_0x482bfb)!=null?_0x40fb4c:Kn;}async[_0x5eb40d(0x13c)](_0x92e958){var _0x32b989=_0x5eb40d;const _0x216967=this['_getAPIPrefixPath']()+'/'+_0x92e958['objectType']+_0x32b989(0x3f0);return(await this[_0x32b989(0x202)][_0x32b989(0x237)](_0x216967,{'body':_0x92e958}))[_0x32b989(0x35b)]['objectID']||'';}async[_0x5eb40d(0x377)](_0x16accd){var _0x51c083=_0x5eb40d;const _0x2d2241=this['_getAPIPrefixPath']()+_0x51c083(0x2fd);return(await this[_0x51c083(0x202)]['post'](_0x2d2241,{'body':_0x16accd}))['body']['objects'];}async[_0x5eb40d(0x218)](_0x13d7b1){var _0x6b1767=_0x5eb40d;const _0x416000=this[_0x6b1767(0x48c)]()+'/'+_0x13d7b1[_0x6b1767(0x41d)]+'/object/'+_0x13d7b1[_0x6b1767(0x323)];await this[_0x6b1767(0x202)]['put'](_0x416000,{'body':_0x13d7b1});}async[_0x5eb40d(0x198)](_0x214096){var _0x543980=_0x5eb40d;const _0x3760ca=this['_getAPIPrefixPath']()+'/'+_0x214096['objectType']+'/object/'+_0x214096[_0x543980(0x323)]+'/allowed';return(await this[_0x543980(0x202)]['post'](_0x3760ca,{'body':_0x214096}))[_0x543980(0x35b)][_0x543980(0x3e1)];}async['batchAllowed'](_0x1f5ca1){var _0x879e7=_0x5eb40d;const _0x2b4d27=this[_0x879e7(0x48c)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x2b4d27,{'body':{'requests':_0x1f5ca1}}))[_0x879e7(0x35b)][_0x879e7(0x344)];}async[_0x5eb40d(0x248)](_0x2b17bf){var _0x5f1bcf=_0x5eb40d;const _0x185ce2=this[_0x5f1bcf(0x48c)]()+'/'+_0x2b17bf[_0x5f1bcf(0x41d)]+_0x5f1bcf(0x378),_0xcb1f9e=await this[_0x5f1bcf(0x202)][_0x5f1bcf(0x237)](_0x185ce2,{'body':_0x2b17bf});return{'roles':_0xcb1f9e[_0x5f1bcf(0x35b)][_0x5f1bcf(0x48f)],'actions':_0xcb1f9e[_0x5f1bcf(0x35b)]['actions']};}async[_0x5eb40d(0x479)](_0x3503c3){var _0x2f06b0=_0x5eb40d;const _0x5ee3b4=this[_0x2f06b0(0x48c)]()+'/collaborator';await this[_0x2f06b0(0x202)][_0x2f06b0(0x1ea)](_0x5ee3b4,{'params':{'collaboratorID':_0x3503c3['collaboratorID'],'objectID':_0x3503c3[_0x2f06b0(0x323)],'unitID':_0x3503c3['unitID']}});}async['updateCollaborator'](_0x345015){var _0x4c684f=_0x5eb40d;const _0x404207=this[_0x4c684f(0x48c)]()+_0x4c684f(0x34b);await this[_0x4c684f(0x202)][_0x4c684f(0x145)](_0x404207,{'body':_0x345015});}async[_0x5eb40d(0x133)](_0x16745e){var _0x3cf355=_0x5eb40d;const _0x588255=this[_0x3cf355(0x48c)]()+_0x3cf355(0x34b);await this[_0x3cf355(0x202)][_0x3cf355(0x237)](_0x588255,{'body':_0x16745e});}async[_0x5eb40d(0x48b)](_0x4b48a6){var _0x383fa4=_0x5eb40d;const _0x562488=this[_0x383fa4(0x48c)]()+_0x383fa4(0x34b);return(await this[_0x383fa4(0x202)][_0x383fa4(0x319)](_0x562488,{'params':{'objectID':_0x4b48a6[_0x383fa4(0x323)],'unitID':_0x4b48a6[_0x383fa4(0x236)]}}))[_0x383fa4(0x35b)][_0x383fa4(0x455)];}async[_0x5eb40d(0x278)](_0x5c13fd){var _0x5b9513=_0x5eb40d;const _0x167050=this[_0x5b9513(0x48c)]()+_0x5b9513(0x34b);await this[_0x5b9513(0x202)][_0x5b9513(0x134)](_0x167050,{'body':_0x5c13fd});}},exports[_0x5eb40d(0x195)]=Vn([Ze(0x0,a[_0x5eb40d(0x22a)](q[_0x5eb40d(0x226)])),Ze(0x1,a[_0x5eb40d(0x22a)](a['IConfigService']))],exports[_0x5eb40d(0x195)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x7b1fe){var _0x58e8f8=_0x5eb40d;return _0x7b1fe&&_0x7b1fe[_0x58e8f8(0x3cf)]&&Object[_0x58e8f8(0x232)][_0x58e8f8(0x1d5)][_0x58e8f8(0x313)](_0x7b1fe,'default')?_0x7b1fe['default']:_0x7b1fe;}var Se={'exports':{}};function Yn(_0x3ee6a7){var _0x1e24a4=_0x5eb40d;throw new Error(_0x1e24a4(0x380)+_0x3ee6a7+_0x1e24a4(0x2c4));}var pe={'exports':{}},qn=pe[_0x5eb40d(0x3d0)],Qe;function ee(){var _0x52c8da=_0x5eb40d;return Qe||(Qe=0x1,function(_0x4f1e42,_0x1e4ed9){(function(_0xe8bc4c,_0x1d9386){var _0x37fdfc=_0x328b;_0x4f1e42[_0x37fdfc(0x3d0)]=_0x1d9386();}(qn,function(){var _0x276b9a=_0x276b9a||function(_0x1b1ec1,_0x5ad460){var _0x1db8ff=_0x328b,_0x5214e4;if(typeof window<'u'&&window[_0x1db8ff(0x27c)]&&(_0x5214e4=window[_0x1db8ff(0x27c)]),typeof self<'u'&&self[_0x1db8ff(0x27c)]&&(_0x5214e4=self[_0x1db8ff(0x27c)]),typeof globalThis<'u'&&globalThis[_0x1db8ff(0x27c)]&&(_0x5214e4=globalThis[_0x1db8ff(0x27c)]),!_0x5214e4&&typeof window<'u'&&window['msCrypto']&&(_0x5214e4=window['msCrypto']),!_0x5214e4&&typeof Le<'u'&&Le[_0x1db8ff(0x27c)]&&(_0x5214e4=Le[_0x1db8ff(0x27c)]),!_0x5214e4&&typeof Yn==_0x1db8ff(0x201))try{_0x5214e4=require(_0x1db8ff(0x27c));}catch{}var _0xe36f24=function(){var _0x31c277=_0x1db8ff;if(_0x5214e4){if(typeof _0x5214e4['getRandomValues']==_0x31c277(0x201))try{return _0x5214e4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5214e4[_0x31c277(0x490)]==_0x31c277(0x201))try{return _0x5214e4[_0x31c277(0x490)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3436f0=Object[_0x1db8ff(0x13c)]||(function(){function _0x563d87(){}return function(_0x488741){var _0x5c10f9=_0x328b,_0x56c51e;return _0x563d87[_0x5c10f9(0x232)]=_0x488741,_0x56c51e=new _0x563d87(),_0x563d87[_0x5c10f9(0x232)]=null,_0x56c51e;};}()),_0x337909={},_0x359d07=_0x337909[_0x1db8ff(0x431)]={},_0x30a423=_0x359d07[_0x1db8ff(0x3c4)]=(function(){return{'extend':function(_0xa9062d){var _0x1b172d=_0x328b,_0x1f4a2a=_0x3436f0(this);return _0xa9062d&&_0x1f4a2a[_0x1b172d(0x2d0)](_0xa9062d),(!_0x1f4a2a['hasOwnProperty']('init')||this[_0x1b172d(0x3d6)]===_0x1f4a2a[_0x1b172d(0x3d6)])&&(_0x1f4a2a[_0x1b172d(0x3d6)]=function(){var _0x12cf91=_0x1b172d;_0x1f4a2a['$super'][_0x12cf91(0x3d6)][_0x12cf91(0x282)](this,arguments);}),_0x1f4a2a['init'][_0x1b172d(0x232)]=_0x1f4a2a,_0x1f4a2a[_0x1b172d(0x3ab)]=this,_0x1f4a2a;},'create':function(){var _0x1c6a53=_0x328b,_0x4485c3=this[_0x1c6a53(0x3df)]();return _0x4485c3['init'][_0x1c6a53(0x282)](_0x4485c3,arguments),_0x4485c3;},'init':function(){},'mixIn':function(_0x8f0a0c){var _0xe4526=_0x328b;for(var _0x235d46 in _0x8f0a0c)_0x8f0a0c[_0xe4526(0x1d5)](_0x235d46)&&(this[_0x235d46]=_0x8f0a0c[_0x235d46]);_0x8f0a0c['hasOwnProperty'](_0xe4526(0x454))&&(this[_0xe4526(0x454)]=_0x8f0a0c[_0xe4526(0x454)]);},'clone':function(){var _0x41c6be=_0x328b;return this[_0x41c6be(0x3d6)][_0x41c6be(0x232)][_0x41c6be(0x3df)](this);}};}()),_0x53aa25=_0x359d07[_0x1db8ff(0x1b4)]=_0x30a423[_0x1db8ff(0x3df)]({'init':function(_0x272fe6,_0x62690c){var _0x57c63d=_0x1db8ff;_0x272fe6=this['words']=_0x272fe6||[],_0x62690c!=_0x5ad460?this[_0x57c63d(0x449)]=_0x62690c:this[_0x57c63d(0x449)]=_0x272fe6[_0x57c63d(0x176)]*0x4;},'toString':function(_0xc13d01){var _0x20cb0e=_0x1db8ff;return(_0xc13d01||_0x4abaf6)[_0x20cb0e(0x2b5)](this);},'concat':function(_0x25fae6){var _0x5d3b17=_0x1db8ff,_0x35363e=this['words'],_0x15c579=_0x25fae6[_0x5d3b17(0x2d9)],_0x200bfd=this[_0x5d3b17(0x449)],_0x5b4698=_0x25fae6['sigBytes'];if(this[_0x5d3b17(0x253)](),_0x200bfd%0x4)for(var _0x40e9b6=0x0;_0x40e9b6<_0x5b4698;_0x40e9b6++){var _0x3fe9e9=_0x15c579[_0x40e9b6>>>0x2]>>>0x18-_0x40e9b6%0x4*0x8&0xff;_0x35363e[_0x200bfd+_0x40e9b6>>>0x2]|=_0x3fe9e9<<0x18-(_0x200bfd+_0x40e9b6)%0x4*0x8;}else{for(var _0x54e1f2=0x0;_0x54e1f2<_0x5b4698;_0x54e1f2+=0x4)_0x35363e[_0x200bfd+_0x54e1f2>>>0x2]=_0x15c579[_0x54e1f2>>>0x2];}return this[_0x5d3b17(0x449)]+=_0x5b4698,this;},'clamp':function(){var _0xbd369f=_0x1db8ff,_0x4e6d72=this[_0xbd369f(0x2d9)],_0x14c192=this[_0xbd369f(0x449)];_0x4e6d72[_0x14c192>>>0x2]&=0xffffffff<<0x20-_0x14c192%0x4*0x8,_0x4e6d72['length']=_0x1b1ec1[_0xbd369f(0x1aa)](_0x14c192/0x4);},'clone':function(){var _0x32dfe4=_0x1db8ff,_0x4c0045=_0x30a423[_0x32dfe4(0x333)]['call'](this);return _0x4c0045['words']=this[_0x32dfe4(0x2d9)][_0x32dfe4(0x220)](0x0),_0x4c0045;},'random':function(_0x5cd817){var _0xaa50db=_0x1db8ff;for(var _0xf8ee22=[],_0x267be5=0x0;_0x267be5<_0x5cd817;_0x267be5+=0x4)_0xf8ee22[_0xaa50db(0x452)](_0xe36f24());return new _0x53aa25['init'](_0xf8ee22,_0x5cd817);}}),_0x21cbde=_0x337909[_0x1db8ff(0x235)]={},_0x4abaf6=_0x21cbde['Hex']={'stringify':function(_0x2cf1e8){var _0x62ea89=_0x1db8ff;for(var _0x2d6340=_0x2cf1e8[_0x62ea89(0x2d9)],_0x52d23e=_0x2cf1e8[_0x62ea89(0x449)],_0x4c57c8=[],_0xb1f4eb=0x0;_0xb1f4eb<_0x52d23e;_0xb1f4eb++){var _0x1e94ee=_0x2d6340[_0xb1f4eb>>>0x2]>>>0x18-_0xb1f4eb%0x4*0x8&0xff;_0x4c57c8[_0x62ea89(0x452)]((_0x1e94ee>>>0x4)[_0x62ea89(0x454)](0x10)),_0x4c57c8[_0x62ea89(0x452)]((_0x1e94ee&0xf)['toString'](0x10));}return _0x4c57c8[_0x62ea89(0x3a9)]('');},'parse':function(_0x30d768){var _0xd56ae4=_0x1db8ff;for(var _0x469d3c=_0x30d768[_0xd56ae4(0x176)],_0x19bac3=[],_0x2c608d=0x0;_0x2c608d<_0x469d3c;_0x2c608d+=0x2)_0x19bac3[_0x2c608d>>>0x3]|=parseInt(_0x30d768[_0xd56ae4(0x210)](_0x2c608d,0x2),0x10)<<0x18-_0x2c608d%0x8*0x4;return new _0x53aa25[(_0xd56ae4(0x3d6))](_0x19bac3,_0x469d3c/0x2);}},_0x1445aa=_0x21cbde[_0x1db8ff(0x233)]={'stringify':function(_0x253842){var _0xb33c1d=_0x1db8ff;for(var _0x2e03ea=_0x253842[_0xb33c1d(0x2d9)],_0xfbf050=_0x253842['sigBytes'],_0x4a1e90=[],_0x201a8d=0x0;_0x201a8d<_0xfbf050;_0x201a8d++){var _0x2bc14f=_0x2e03ea[_0x201a8d>>>0x2]>>>0x18-_0x201a8d%0x4*0x8&0xff;_0x4a1e90[_0xb33c1d(0x452)](String[_0xb33c1d(0x331)](_0x2bc14f));}return _0x4a1e90[_0xb33c1d(0x3a9)]('');},'parse':function(_0xc8b488){var _0x2294a7=_0x1db8ff;for(var _0x501bfe=_0xc8b488[_0x2294a7(0x176)],_0x5a7d42=[],_0x477cba=0x0;_0x477cba<_0x501bfe;_0x477cba++)_0x5a7d42[_0x477cba>>>0x2]|=(_0xc8b488[_0x2294a7(0x49f)](_0x477cba)&0xff)<<0x18-_0x477cba%0x4*0x8;return new _0x53aa25[(_0x2294a7(0x3d6))](_0x5a7d42,_0x501bfe);}},_0x31edf8=_0x21cbde['Utf8']={'stringify':function(_0x223b81){var _0x3ff86a=_0x1db8ff;try{return decodeURIComponent(escape(_0x1445aa['stringify'](_0x223b81)));}catch{throw new Error(_0x3ff86a(0x297));}},'parse':function(_0x369597){var _0x3b4a8f=_0x1db8ff;return _0x1445aa[_0x3b4a8f(0x27e)](unescape(encodeURIComponent(_0x369597)));}},_0x236b6a=_0x359d07[_0x1db8ff(0x234)]=_0x30a423[_0x1db8ff(0x3df)]({'reset':function(){var _0x14424f=_0x1db8ff;this['_data']=new _0x53aa25['init'](),this[_0x14424f(0x26d)]=0x0;},'_append':function(_0x3b4764){var _0x11122c=_0x1db8ff;typeof _0x3b4764=='string'&&(_0x3b4764=_0x31edf8[_0x11122c(0x27e)](_0x3b4764)),this[_0x11122c(0x338)]['concat'](_0x3b4764),this[_0x11122c(0x26d)]+=_0x3b4764['sigBytes'];},'_process':function(_0x3aabbd){var _0xd49d65=_0x1db8ff,_0x114b55,_0x3562e9=this[_0xd49d65(0x338)],_0x512025=_0x3562e9[_0xd49d65(0x2d9)],_0x2bec1d=_0x3562e9[_0xd49d65(0x449)],_0x493b3f=this[_0xd49d65(0x246)],_0x21b283=_0x493b3f*0x4,_0x533a1e=_0x2bec1d/_0x21b283;_0x3aabbd?_0x533a1e=_0x1b1ec1[_0xd49d65(0x1aa)](_0x533a1e):_0x533a1e=_0x1b1ec1[_0xd49d65(0x440)]((_0x533a1e|0x0)-this[_0xd49d65(0x273)],0x0);var _0x3ee0af=_0x533a1e*_0x493b3f,_0x2728cd=_0x1b1ec1[_0xd49d65(0x3b4)](_0x3ee0af*0x4,_0x2bec1d);if(_0x3ee0af){for(var _0x1272e2=0x0;_0x1272e2<_0x3ee0af;_0x1272e2+=_0x493b3f)this['_doProcessBlock'](_0x512025,_0x1272e2);_0x114b55=_0x512025[_0xd49d65(0x25f)](0x0,_0x3ee0af),_0x3562e9[_0xd49d65(0x449)]-=_0x2728cd;}return new _0x53aa25[(_0xd49d65(0x3d6))](_0x114b55,_0x2728cd);},'clone':function(){var _0x44a045=_0x1db8ff,_0x3b7c66=_0x30a423[_0x44a045(0x333)][_0x44a045(0x313)](this);return _0x3b7c66[_0x44a045(0x338)]=this[_0x44a045(0x338)]['clone'](),_0x3b7c66;},'_minBufferSize':0x0});_0x359d07[_0x1db8ff(0x1c1)]=_0x236b6a[_0x1db8ff(0x3df)]({'cfg':_0x30a423[_0x1db8ff(0x3df)](),'init':function(_0x8b23eb){var _0x4db62e=_0x1db8ff;this[_0x4db62e(0x3c8)]=this[_0x4db62e(0x3c8)][_0x4db62e(0x3df)](_0x8b23eb),this[_0x4db62e(0x39d)]();},'reset':function(){var _0x4a59f6=_0x1db8ff;_0x236b6a[_0x4a59f6(0x39d)][_0x4a59f6(0x313)](this),this[_0x4a59f6(0x477)]();},'update':function(_0x51b2c4){var _0x4b13a2=_0x1db8ff;return this[_0x4b13a2(0x178)](_0x51b2c4),this[_0x4b13a2(0x185)](),this;},'finalize':function(_0x5b0c13){var _0x5ad75c=_0x1db8ff;_0x5b0c13&&this['_append'](_0x5b0c13);var _0x476bb5=this[_0x5ad75c(0x3d8)]();return _0x476bb5;},'blockSize':0x10,'_createHelper':function(_0x5899e8){return function(_0x122a4e,_0x1e0177){var _0x4b4af3=_0x328b;return new _0x5899e8[(_0x4b4af3(0x3d6))](_0x1e0177)['finalize'](_0x122a4e);};},'_createHmacHelper':function(_0x3e168b){return function(_0x47efbb,_0x4a2ae8){var _0x315ceb=_0x328b;return new _0x1e94bf[(_0x315ceb(0x486))][(_0x315ceb(0x3d6))](_0x3e168b,_0x4a2ae8)[_0x315ceb(0x18b)](_0x47efbb);};}});var _0x1e94bf=_0x337909['algo']={};return _0x337909;}(Math);return _0x276b9a;}));}(pe)),pe[_0x52c8da(0x3d0)];}var me={'exports':{}},zn=me[_0x5eb40d(0x3d0)],et;function Dt(){return et||(et=0x1,function(_0x254bea,_0x5917f8){(function(_0x191e2c,_0x5c9303){var _0x281e21=_0x328b;_0x254bea[_0x281e21(0x3d0)]=_0x5c9303(ee());}(zn,function(_0x3d89a5){return(function(){var _0x62aea0=_0x328b,_0x130be1=_0x3d89a5,_0x2f1e6f=_0x130be1[_0x62aea0(0x431)],_0x368f9d=_0x2f1e6f[_0x62aea0(0x1b4)],_0x260166=_0x130be1[_0x62aea0(0x235)];_0x260166[_0x62aea0(0x21f)]={'stringify':function(_0x1d9c08){var _0x18b0a1=_0x62aea0,_0x22df52=_0x1d9c08[_0x18b0a1(0x2d9)],_0x594bde=_0x1d9c08['sigBytes'],_0x45d1e6=this[_0x18b0a1(0x2c5)];_0x1d9c08['clamp']();for(var _0x519849=[],_0x379ad3=0x0;_0x379ad3<_0x594bde;_0x379ad3+=0x3)for(var _0x3b3f3a=_0x22df52[_0x379ad3>>>0x2]>>>0x18-_0x379ad3%0x4*0x8&0xff,_0x1915ee=_0x22df52[_0x379ad3+0x1>>>0x2]>>>0x18-(_0x379ad3+0x1)%0x4*0x8&0xff,_0x1e637e=_0x22df52[_0x379ad3+0x2>>>0x2]>>>0x18-(_0x379ad3+0x2)%0x4*0x8&0xff,_0xdf3761=_0x3b3f3a<<0x10|_0x1915ee<<0x8|_0x1e637e,_0x5c1490=0x0;_0x5c1490<0x4&&_0x379ad3+_0x5c1490*0.75<_0x594bde;_0x5c1490++)_0x519849[_0x18b0a1(0x452)](_0x45d1e6['charAt'](_0xdf3761>>>0x6*(0x3-_0x5c1490)&0x3f));var _0x2a07f4=_0x45d1e6[_0x18b0a1(0x16a)](0x40);if(_0x2a07f4){for(;_0x519849[_0x18b0a1(0x176)]%0x4;)_0x519849[_0x18b0a1(0x452)](_0x2a07f4);}return _0x519849[_0x18b0a1(0x3a9)]('');},'parse':function(_0x1f2f19){var _0x105682=_0x62aea0,_0x5b1e80=_0x1f2f19['length'],_0x38a212=this[_0x105682(0x2c5)],_0x1da2fc=this[_0x105682(0x1b2)];if(!_0x1da2fc){_0x1da2fc=this[_0x105682(0x1b2)]=[];for(var _0x31a48a=0x0;_0x31a48a<_0x38a212[_0x105682(0x176)];_0x31a48a++)_0x1da2fc[_0x38a212['charCodeAt'](_0x31a48a)]=_0x31a48a;}var _0x513388=_0x38a212[_0x105682(0x16a)](0x40);if(_0x513388){var _0x41e32b=_0x1f2f19[_0x105682(0x451)](_0x513388);_0x41e32b!==-0x1&&(_0x5b1e80=_0x41e32b);}return _0x4a1c78(_0x1f2f19,_0x5b1e80,_0x1da2fc);},'_map':_0x62aea0(0x407)};function _0x4a1c78(_0x2267d4,_0x38492c,_0x4d0235){var _0x18ccec=_0x62aea0;for(var _0x4a3ac2=[],_0x123793=0x0,_0xdb895d=0x0;_0xdb895d<_0x38492c;_0xdb895d++)if(_0xdb895d%0x4){var _0x1fb466=_0x4d0235[_0x2267d4[_0x18ccec(0x49f)](_0xdb895d-0x1)]<<_0xdb895d%0x4*0x2,_0x5eb057=_0x4d0235[_0x2267d4['charCodeAt'](_0xdb895d)]>>>0x6-_0xdb895d%0x4*0x2,_0x3d24fe=_0x1fb466|_0x5eb057;_0x4a3ac2[_0x123793>>>0x2]|=_0x3d24fe<<0x18-_0x123793%0x4*0x8,_0x123793++;}return _0x368f9d['create'](_0x4a3ac2,_0x123793);}}()),_0x3d89a5['enc']['Base64'];}));}(me)),me['exports'];}var ge={'exports':{}},Jn=ge[_0x5eb40d(0x3d0)],tt;function Xn(){var _0x517fa4=_0x5eb40d;return tt||(tt=0x1,function(_0x19013b,_0x545c02){(function(_0x10a033,_0xe55e82){_0x19013b['exports']=_0xe55e82(ee());}(Jn,function(_0x1c867b){var _0x8a7f99=_0x328b;return function(_0x21d991){var _0x4f4694=_0x328b,_0x261c94=_0x1c867b,_0x7a00ab=_0x261c94[_0x4f4694(0x431)],_0x266d26=_0x7a00ab[_0x4f4694(0x1b4)],_0x11ed8a=_0x7a00ab[_0x4f4694(0x1c1)],_0x2cf289=_0x261c94['algo'],_0x2143e6=[];(function(){var _0x58fea9=_0x4f4694;for(var _0x1295be=0x0;_0x1295be<0x40;_0x1295be++)_0x2143e6[_0x1295be]=_0x21d991['abs'](_0x21d991[_0x58fea9(0x375)](_0x1295be+0x1))*0x100000000|0x0;}());var _0x4ff1ad=_0x2cf289[_0x4f4694(0x326)]=_0x11ed8a['extend']({'_doReset':function(){var _0x227b8b=_0x4f4694;this['_hash']=new _0x266d26[(_0x227b8b(0x3d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2aa0b6,_0x4b0d90){var _0x1a77ce=_0x4f4694;for(var _0x140c5b=0x0;_0x140c5b<0x10;_0x140c5b++){var _0x44edb3=_0x4b0d90+_0x140c5b,_0x3ffa21=_0x2aa0b6[_0x44edb3];_0x2aa0b6[_0x44edb3]=(_0x3ffa21<<0x8|_0x3ffa21>>>0x18)&0xff00ff|(_0x3ffa21<<0x18|_0x3ffa21>>>0x8)&0xff00ff00;}var _0x410f20=this['_hash'][_0x1a77ce(0x2d9)],_0x43a603=_0x2aa0b6[_0x4b0d90+0x0],_0x90a8df=_0x2aa0b6[_0x4b0d90+0x1],_0x3ffaaf=_0x2aa0b6[_0x4b0d90+0x2],_0x18f345=_0x2aa0b6[_0x4b0d90+0x3],_0x2549b7=_0x2aa0b6[_0x4b0d90+0x4],_0xa3138c=_0x2aa0b6[_0x4b0d90+0x5],_0x17cdb0=_0x2aa0b6[_0x4b0d90+0x6],_0x340950=_0x2aa0b6[_0x4b0d90+0x7],_0x2e09c5=_0x2aa0b6[_0x4b0d90+0x8],_0x475220=_0x2aa0b6[_0x4b0d90+0x9],_0x160b33=_0x2aa0b6[_0x4b0d90+0xa],_0x214c15=_0x2aa0b6[_0x4b0d90+0xb],_0x1677c5=_0x2aa0b6[_0x4b0d90+0xc],_0x253b62=_0x2aa0b6[_0x4b0d90+0xd],_0x4d24c2=_0x2aa0b6[_0x4b0d90+0xe],_0x480c81=_0x2aa0b6[_0x4b0d90+0xf],_0x4e31df=_0x410f20[0x0],_0x3eb6e6=_0x410f20[0x1],_0x3d2350=_0x410f20[0x2],_0x557b36=_0x410f20[0x3];_0x4e31df=_0x56f64a(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x43a603,0x7,_0x2143e6[0x0]),_0x557b36=_0x56f64a(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x90a8df,0xc,_0x2143e6[0x1]),_0x3d2350=_0x56f64a(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x3ffaaf,0x11,_0x2143e6[0x2]),_0x3eb6e6=_0x56f64a(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x18f345,0x16,_0x2143e6[0x3]),_0x4e31df=_0x56f64a(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x2549b7,0x7,_0x2143e6[0x4]),_0x557b36=_0x56f64a(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0xa3138c,0xc,_0x2143e6[0x5]),_0x3d2350=_0x56f64a(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x17cdb0,0x11,_0x2143e6[0x6]),_0x3eb6e6=_0x56f64a(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x340950,0x16,_0x2143e6[0x7]),_0x4e31df=_0x56f64a(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x2e09c5,0x7,_0x2143e6[0x8]),_0x557b36=_0x56f64a(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x475220,0xc,_0x2143e6[0x9]),_0x3d2350=_0x56f64a(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x160b33,0x11,_0x2143e6[0xa]),_0x3eb6e6=_0x56f64a(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x214c15,0x16,_0x2143e6[0xb]),_0x4e31df=_0x56f64a(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x1677c5,0x7,_0x2143e6[0xc]),_0x557b36=_0x56f64a(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x253b62,0xc,_0x2143e6[0xd]),_0x3d2350=_0x56f64a(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x4d24c2,0x11,_0x2143e6[0xe]),_0x3eb6e6=_0x56f64a(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x480c81,0x16,_0x2143e6[0xf]),_0x4e31df=_0x1d14a0(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x90a8df,0x5,_0x2143e6[0x10]),_0x557b36=_0x1d14a0(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x17cdb0,0x9,_0x2143e6[0x11]),_0x3d2350=_0x1d14a0(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x214c15,0xe,_0x2143e6[0x12]),_0x3eb6e6=_0x1d14a0(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x43a603,0x14,_0x2143e6[0x13]),_0x4e31df=_0x1d14a0(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0xa3138c,0x5,_0x2143e6[0x14]),_0x557b36=_0x1d14a0(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x160b33,0x9,_0x2143e6[0x15]),_0x3d2350=_0x1d14a0(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x480c81,0xe,_0x2143e6[0x16]),_0x3eb6e6=_0x1d14a0(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x2549b7,0x14,_0x2143e6[0x17]),_0x4e31df=_0x1d14a0(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x475220,0x5,_0x2143e6[0x18]),_0x557b36=_0x1d14a0(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x4d24c2,0x9,_0x2143e6[0x19]),_0x3d2350=_0x1d14a0(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x18f345,0xe,_0x2143e6[0x1a]),_0x3eb6e6=_0x1d14a0(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x2e09c5,0x14,_0x2143e6[0x1b]),_0x4e31df=_0x1d14a0(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x253b62,0x5,_0x2143e6[0x1c]),_0x557b36=_0x1d14a0(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x3ffaaf,0x9,_0x2143e6[0x1d]),_0x3d2350=_0x1d14a0(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x340950,0xe,_0x2143e6[0x1e]),_0x3eb6e6=_0x1d14a0(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x1677c5,0x14,_0x2143e6[0x1f]),_0x4e31df=_0x10f3b8(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0xa3138c,0x4,_0x2143e6[0x20]),_0x557b36=_0x10f3b8(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x2e09c5,0xb,_0x2143e6[0x21]),_0x3d2350=_0x10f3b8(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x214c15,0x10,_0x2143e6[0x22]),_0x3eb6e6=_0x10f3b8(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x4d24c2,0x17,_0x2143e6[0x23]),_0x4e31df=_0x10f3b8(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x90a8df,0x4,_0x2143e6[0x24]),_0x557b36=_0x10f3b8(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x2549b7,0xb,_0x2143e6[0x25]),_0x3d2350=_0x10f3b8(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x340950,0x10,_0x2143e6[0x26]),_0x3eb6e6=_0x10f3b8(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x160b33,0x17,_0x2143e6[0x27]),_0x4e31df=_0x10f3b8(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x253b62,0x4,_0x2143e6[0x28]),_0x557b36=_0x10f3b8(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x43a603,0xb,_0x2143e6[0x29]),_0x3d2350=_0x10f3b8(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x18f345,0x10,_0x2143e6[0x2a]),_0x3eb6e6=_0x10f3b8(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x17cdb0,0x17,_0x2143e6[0x2b]),_0x4e31df=_0x10f3b8(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x475220,0x4,_0x2143e6[0x2c]),_0x557b36=_0x10f3b8(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x1677c5,0xb,_0x2143e6[0x2d]),_0x3d2350=_0x10f3b8(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x480c81,0x10,_0x2143e6[0x2e]),_0x3eb6e6=_0x10f3b8(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x3ffaaf,0x17,_0x2143e6[0x2f]),_0x4e31df=_0x47f914(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x43a603,0x6,_0x2143e6[0x30]),_0x557b36=_0x47f914(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x340950,0xa,_0x2143e6[0x31]),_0x3d2350=_0x47f914(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x4d24c2,0xf,_0x2143e6[0x32]),_0x3eb6e6=_0x47f914(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0xa3138c,0x15,_0x2143e6[0x33]),_0x4e31df=_0x47f914(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x1677c5,0x6,_0x2143e6[0x34]),_0x557b36=_0x47f914(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x18f345,0xa,_0x2143e6[0x35]),_0x3d2350=_0x47f914(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x160b33,0xf,_0x2143e6[0x36]),_0x3eb6e6=_0x47f914(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x90a8df,0x15,_0x2143e6[0x37]),_0x4e31df=_0x47f914(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x2e09c5,0x6,_0x2143e6[0x38]),_0x557b36=_0x47f914(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x480c81,0xa,_0x2143e6[0x39]),_0x3d2350=_0x47f914(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x17cdb0,0xf,_0x2143e6[0x3a]),_0x3eb6e6=_0x47f914(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x253b62,0x15,_0x2143e6[0x3b]),_0x4e31df=_0x47f914(_0x4e31df,_0x3eb6e6,_0x3d2350,_0x557b36,_0x2549b7,0x6,_0x2143e6[0x3c]),_0x557b36=_0x47f914(_0x557b36,_0x4e31df,_0x3eb6e6,_0x3d2350,_0x214c15,0xa,_0x2143e6[0x3d]),_0x3d2350=_0x47f914(_0x3d2350,_0x557b36,_0x4e31df,_0x3eb6e6,_0x3ffaaf,0xf,_0x2143e6[0x3e]),_0x3eb6e6=_0x47f914(_0x3eb6e6,_0x3d2350,_0x557b36,_0x4e31df,_0x475220,0x15,_0x2143e6[0x3f]),_0x410f20[0x0]=_0x410f20[0x0]+_0x4e31df|0x0,_0x410f20[0x1]=_0x410f20[0x1]+_0x3eb6e6|0x0,_0x410f20[0x2]=_0x410f20[0x2]+_0x3d2350|0x0,_0x410f20[0x3]=_0x410f20[0x3]+_0x557b36|0x0;},'_doFinalize':function(){var _0xa62b5f=_0x4f4694,_0x137ee3=this[_0xa62b5f(0x338)],_0x49ee93=_0x137ee3[_0xa62b5f(0x2d9)],_0x588f6d=this[_0xa62b5f(0x26d)]*0x8,_0xfa99c6=_0x137ee3[_0xa62b5f(0x449)]*0x8;_0x49ee93[_0xfa99c6>>>0x5]|=0x80<<0x18-_0xfa99c6%0x20;var _0x2f3a21=_0x21d991[_0xa62b5f(0x349)](_0x588f6d/0x100000000),_0x39db01=_0x588f6d;_0x49ee93[(_0xfa99c6+0x40>>>0x9<<0x4)+0xf]=(_0x2f3a21<<0x8|_0x2f3a21>>>0x18)&0xff00ff|(_0x2f3a21<<0x18|_0x2f3a21>>>0x8)&0xff00ff00,_0x49ee93[(_0xfa99c6+0x40>>>0x9<<0x4)+0xe]=(_0x39db01<<0x8|_0x39db01>>>0x18)&0xff00ff|(_0x39db01<<0x18|_0x39db01>>>0x8)&0xff00ff00,_0x137ee3[_0xa62b5f(0x449)]=(_0x49ee93[_0xa62b5f(0x176)]+0x1)*0x4,this[_0xa62b5f(0x185)]();for(var _0x568159=this[_0xa62b5f(0x138)],_0x27adcd=_0x568159[_0xa62b5f(0x2d9)],_0x194d6b=0x0;_0x194d6b<0x4;_0x194d6b++){var _0x2d5493=_0x27adcd[_0x194d6b];_0x27adcd[_0x194d6b]=(_0x2d5493<<0x8|_0x2d5493>>>0x18)&0xff00ff|(_0x2d5493<<0x18|_0x2d5493>>>0x8)&0xff00ff00;}return _0x568159;},'clone':function(){var _0xdd3e5b=_0x4f4694,_0x27732c=_0x11ed8a[_0xdd3e5b(0x333)][_0xdd3e5b(0x313)](this);return _0x27732c[_0xdd3e5b(0x138)]=this[_0xdd3e5b(0x138)][_0xdd3e5b(0x333)](),_0x27732c;}});function _0x56f64a(_0x78f8e6,_0x406a14,_0x5621ed,_0x505d00,_0x3c98d7,_0x25006f,_0x5e2461){var _0x4a8118=_0x78f8e6+(_0x406a14&_0x5621ed|~_0x406a14&_0x505d00)+_0x3c98d7+_0x5e2461;return(_0x4a8118<<_0x25006f|_0x4a8118>>>0x20-_0x25006f)+_0x406a14;}function _0x1d14a0(_0x3cb816,_0xbaa797,_0x4813cb,_0x281fb6,_0x595a61,_0x1eebb2,_0x19194b){var _0x2fe615=_0x3cb816+(_0xbaa797&_0x281fb6|_0x4813cb&~_0x281fb6)+_0x595a61+_0x19194b;return(_0x2fe615<<_0x1eebb2|_0x2fe615>>>0x20-_0x1eebb2)+_0xbaa797;}function _0x10f3b8(_0x2fe244,_0x548f44,_0x16cf90,_0x23d0ef,_0x16dbde,_0x149ef1,_0x32a7c1){var _0x3c41fd=_0x2fe244+(_0x548f44^_0x16cf90^_0x23d0ef)+_0x16dbde+_0x32a7c1;return(_0x3c41fd<<_0x149ef1|_0x3c41fd>>>0x20-_0x149ef1)+_0x548f44;}function _0x47f914(_0x442bb7,_0x32d35e,_0x553277,_0x671756,_0x1a10cf,_0x322712,_0x1b0783){var _0x3da793=_0x442bb7+(_0x553277^(_0x32d35e|~_0x671756))+_0x1a10cf+_0x1b0783;return(_0x3da793<<_0x322712|_0x3da793>>>0x20-_0x322712)+_0x32d35e;}_0x261c94[_0x4f4694(0x326)]=_0x11ed8a[_0x4f4694(0x213)](_0x4ff1ad),_0x261c94[_0x4f4694(0x42f)]=_0x11ed8a[_0x4f4694(0x281)](_0x4ff1ad);}(Math),_0x1c867b[_0x8a7f99(0x326)];}));}(ge)),ge[_0x517fa4(0x3d0)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5eb40d(0x3d0)],nt;function Qn(){var _0x186f75=_0x5eb40d;return nt||(nt=0x1,function(_0x2d7ceb,_0x141b35){(function(_0x399049,_0x422484){var _0xcb4993=_0x328b;_0x2d7ceb[_0xcb4993(0x3d0)]=_0x422484(ee());}(Zn,function(_0x5066f9){return(function(){var _0x8c1a74=_0x328b,_0x5cb9e8=_0x5066f9,_0xefcc14=_0x5cb9e8[_0x8c1a74(0x431)],_0x2b8225=_0xefcc14['WordArray'],_0x29d107=_0xefcc14[_0x8c1a74(0x1c1)],_0x4f80ea=_0x5cb9e8[_0x8c1a74(0x2ff)],_0x5307a2=[],_0x173bf0=_0x4f80ea['SHA1']=_0x29d107[_0x8c1a74(0x3df)]({'_doReset':function(){var _0x2361e4=_0x8c1a74;this[_0x2361e4(0x138)]=new _0x2b8225[(_0x2361e4(0x3d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1414f0,_0x5ac8fb){var _0x351938=_0x8c1a74;for(var _0x1c1ed3=this[_0x351938(0x138)][_0x351938(0x2d9)],_0x5880ec=_0x1c1ed3[0x0],_0x2d1cf8=_0x1c1ed3[0x1],_0x410acf=_0x1c1ed3[0x2],_0x25b05c=_0x1c1ed3[0x3],_0x3d9bcf=_0x1c1ed3[0x4],_0x35270c=0x0;_0x35270c<0x50;_0x35270c++){if(_0x35270c<0x10)_0x5307a2[_0x35270c]=_0x1414f0[_0x5ac8fb+_0x35270c]|0x0;else{var _0x578cf5=_0x5307a2[_0x35270c-0x3]^_0x5307a2[_0x35270c-0x8]^_0x5307a2[_0x35270c-0xe]^_0x5307a2[_0x35270c-0x10];_0x5307a2[_0x35270c]=_0x578cf5<<0x1|_0x578cf5>>>0x1f;}var _0x53a8c5=(_0x5880ec<<0x5|_0x5880ec>>>0x1b)+_0x3d9bcf+_0x5307a2[_0x35270c];_0x35270c<0x14?_0x53a8c5+=(_0x2d1cf8&_0x410acf|~_0x2d1cf8&_0x25b05c)+0x5a827999:_0x35270c<0x28?_0x53a8c5+=(_0x2d1cf8^_0x410acf^_0x25b05c)+0x6ed9eba1:_0x35270c<0x3c?_0x53a8c5+=(_0x2d1cf8&_0x410acf|_0x2d1cf8&_0x25b05c|_0x410acf&_0x25b05c)-0x70e44324:_0x53a8c5+=(_0x2d1cf8^_0x410acf^_0x25b05c)-0x359d3e2a,_0x3d9bcf=_0x25b05c,_0x25b05c=_0x410acf,_0x410acf=_0x2d1cf8<<0x1e|_0x2d1cf8>>>0x2,_0x2d1cf8=_0x5880ec,_0x5880ec=_0x53a8c5;}_0x1c1ed3[0x0]=_0x1c1ed3[0x0]+_0x5880ec|0x0,_0x1c1ed3[0x1]=_0x1c1ed3[0x1]+_0x2d1cf8|0x0,_0x1c1ed3[0x2]=_0x1c1ed3[0x2]+_0x410acf|0x0,_0x1c1ed3[0x3]=_0x1c1ed3[0x3]+_0x25b05c|0x0,_0x1c1ed3[0x4]=_0x1c1ed3[0x4]+_0x3d9bcf|0x0;},'_doFinalize':function(){var _0x113119=_0x8c1a74,_0x244b0c=this['_data'],_0x737bf7=_0x244b0c[_0x113119(0x2d9)],_0x308ffd=this[_0x113119(0x26d)]*0x8,_0x346ea4=_0x244b0c['sigBytes']*0x8;return _0x737bf7[_0x346ea4>>>0x5]|=0x80<<0x18-_0x346ea4%0x20,_0x737bf7[(_0x346ea4+0x40>>>0x9<<0x4)+0xe]=Math[_0x113119(0x349)](_0x308ffd/0x100000000),_0x737bf7[(_0x346ea4+0x40>>>0x9<<0x4)+0xf]=_0x308ffd,_0x244b0c[_0x113119(0x449)]=_0x737bf7['length']*0x4,this[_0x113119(0x185)](),this[_0x113119(0x138)];},'clone':function(){var _0x197c1e=_0x8c1a74,_0x5df39f=_0x29d107[_0x197c1e(0x333)][_0x197c1e(0x313)](this);return _0x5df39f[_0x197c1e(0x138)]=this['_hash']['clone'](),_0x5df39f;}});_0x5cb9e8[_0x8c1a74(0x307)]=_0x29d107[_0x8c1a74(0x213)](_0x173bf0),_0x5cb9e8[_0x8c1a74(0x26e)]=_0x29d107[_0x8c1a74(0x281)](_0x173bf0);}()),_0x5066f9['SHA1'];}));}(Ee)),Ee[_0x186f75(0x3d0)];}var Ce={'exports':{}},ei=Ce[_0x5eb40d(0x3d0)],it;function ti(){var _0x450829=_0x5eb40d;return it||(it=0x1,function(_0x753d73,_0x305d43){(function(_0x23146d,_0x2e0a47){var _0x32093d=_0x328b;_0x753d73[_0x32093d(0x3d0)]=_0x2e0a47(ee());}(ei,function(_0x41c5d0){(function(){var _0x573afc=_0x328b,_0x3ddecb=_0x41c5d0,_0x387c81=_0x3ddecb[_0x573afc(0x431)],_0x19a36b=_0x387c81[_0x573afc(0x3c4)],_0x4b80a3=_0x3ddecb[_0x573afc(0x235)],_0x33a0fc=_0x4b80a3[_0x573afc(0x3af)],_0x5d900f=_0x3ddecb[_0x573afc(0x2ff)];_0x5d900f[_0x573afc(0x486)]=_0x19a36b[_0x573afc(0x3df)]({'init':function(_0x27fdf7,_0x15577d){var _0x47f92a=_0x573afc;_0x27fdf7=this[_0x47f92a(0x366)]=new _0x27fdf7[(_0x47f92a(0x3d6))](),typeof _0x15577d==_0x47f92a(0x445)&&(_0x15577d=_0x33a0fc[_0x47f92a(0x27e)](_0x15577d));var _0x5aaba4=_0x27fdf7[_0x47f92a(0x246)],_0x30cd9f=_0x5aaba4*0x4;_0x15577d[_0x47f92a(0x449)]>_0x30cd9f&&(_0x15577d=_0x27fdf7[_0x47f92a(0x18b)](_0x15577d)),_0x15577d[_0x47f92a(0x253)]();for(var _0x40cb60=this[_0x47f92a(0x33e)]=_0x15577d[_0x47f92a(0x333)](),_0x392477=this[_0x47f92a(0x49c)]=_0x15577d[_0x47f92a(0x333)](),_0x2fef5b=_0x40cb60[_0x47f92a(0x2d9)],_0x157bf6=_0x392477['words'],_0x4f111e=0x0;_0x4f111e<_0x5aaba4;_0x4f111e++)_0x2fef5b[_0x4f111e]^=0x5c5c5c5c,_0x157bf6[_0x4f111e]^=0x36363636;_0x40cb60[_0x47f92a(0x449)]=_0x392477[_0x47f92a(0x449)]=_0x30cd9f,this[_0x47f92a(0x39d)]();},'reset':function(){var _0x3b4aa4=_0x573afc,_0x432eda=this[_0x3b4aa4(0x366)];_0x432eda['reset'](),_0x432eda[_0x3b4aa4(0x218)](this[_0x3b4aa4(0x49c)]);},'update':function(_0x1e632a){var _0x365d1c=_0x573afc;return this[_0x365d1c(0x366)][_0x365d1c(0x218)](_0x1e632a),this;},'finalize':function(_0x1b3cec){var _0x5dda34=_0x573afc,_0x15e3a2=this[_0x5dda34(0x366)],_0x194c97=_0x15e3a2['finalize'](_0x1b3cec);_0x15e3a2['reset']();var _0x3357fa=_0x15e3a2[_0x5dda34(0x18b)](this['_oKey']['clone']()['concat'](_0x194c97));return _0x3357fa;}});}());}));}(Ce)),Ce[_0x450829(0x3d0)];}var ni=Ie[_0x5eb40d(0x3d0)],rt;function wt(){return rt||(rt=0x1,function(_0x175179,_0x3f9ddb){(function(_0x294978,_0x5a8527,_0x4bdb95){var _0x3441c3=_0x328b;_0x175179[_0x3441c3(0x3d0)]=_0x5a8527(ee(),Qn(),ti());}(ni,function(_0xae480b){return(function(){var _0x10f68b=_0x328b,_0x3f8335=_0xae480b,_0xee732d=_0x3f8335[_0x10f68b(0x431)],_0x579a87=_0xee732d[_0x10f68b(0x3c4)],_0x3609f6=_0xee732d['WordArray'],_0x419b80=_0x3f8335[_0x10f68b(0x2ff)],_0x282ad9=_0x419b80['MD5'],_0x4cc2a2=_0x419b80['EvpKDF']=_0x579a87[_0x10f68b(0x3df)]({'cfg':_0x579a87['extend']({'keySize':0x80/0x20,'hasher':_0x282ad9,'iterations':0x1}),'init':function(_0x4a65bc){var _0x31d55c=_0x10f68b;this['cfg']=this[_0x31d55c(0x3c8)][_0x31d55c(0x3df)](_0x4a65bc);},'compute':function(_0xd126da,_0x1c4d81){var _0x84645=_0x10f68b;for(var _0x408b87,_0x38fb9c=this[_0x84645(0x3c8)],_0x4f7d37=_0x38fb9c[_0x84645(0x1a4)][_0x84645(0x13c)](),_0x36bd52=_0x3609f6['create'](),_0x479927=_0x36bd52[_0x84645(0x2d9)],_0x5634ca=_0x38fb9c[_0x84645(0x2e8)],_0x1b20ed=_0x38fb9c[_0x84645(0x2b9)];_0x479927[_0x84645(0x176)]<_0x5634ca;){_0x408b87&&_0x4f7d37[_0x84645(0x218)](_0x408b87),_0x408b87=_0x4f7d37[_0x84645(0x218)](_0xd126da)[_0x84645(0x18b)](_0x1c4d81),_0x4f7d37[_0x84645(0x39d)]();for(var _0x14422f=0x1;_0x14422f<_0x1b20ed;_0x14422f++)_0x408b87=_0x4f7d37[_0x84645(0x18b)](_0x408b87),_0x4f7d37[_0x84645(0x39d)]();_0x36bd52[_0x84645(0x2a6)](_0x408b87);}return _0x36bd52[_0x84645(0x449)]=_0x5634ca*0x4,_0x36bd52;}});_0x3f8335['EvpKDF']=function(_0x7c5dac,_0xba06c3,_0x2698c3){var _0x34349d=_0x10f68b;return _0x4cc2a2['create'](_0x2698c3)[_0x34349d(0x33d)](_0x7c5dac,_0xba06c3);};}()),_0xae480b['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},ii=Te['exports'],st;function At(){var _0xeef07c=_0x5eb40d;return st||(st=0x1,function(_0x5e928c,_0xa18a1a){(function(_0x5ecffd,_0x55bc19,_0x9ec1f7){var _0x141113=_0x328b;_0x5e928c[_0x141113(0x3d0)]=_0x55bc19(ee(),wt());}(ii,function(_0x37ade3){var _0x3a884e=_0x328b;_0x37ade3[_0x3a884e(0x431)][_0x3a884e(0x169)]||function(_0x20b057){var _0x4db999=_0x3a884e,_0xd0805c=_0x37ade3,_0x4a764e=_0xd0805c[_0x4db999(0x431)],_0x57d911=_0x4a764e['Base'],_0x403c88=_0x4a764e[_0x4db999(0x1b4)],_0x593b14=_0x4a764e['BufferedBlockAlgorithm'],_0x4e922e=_0xd0805c[_0x4db999(0x235)];_0x4e922e[_0x4db999(0x3af)];var _0x3984e7=_0x4e922e[_0x4db999(0x21f)],_0x302943=_0xd0805c[_0x4db999(0x2ff)],_0x216c1a=_0x302943[_0x4db999(0x17f)],_0x3bc1c6=_0x4a764e[_0x4db999(0x169)]=_0x593b14[_0x4db999(0x3df)]({'cfg':_0x57d911[_0x4db999(0x3df)](),'createEncryptor':function(_0x5d6533,_0x184ff7){var _0x43157a=_0x4db999;return this[_0x43157a(0x13c)](this[_0x43157a(0x491)],_0x5d6533,_0x184ff7);},'createDecryptor':function(_0x25edad,_0x3f79e5){var _0x58db1f=_0x4db999;return this['create'](this[_0x58db1f(0x174)],_0x25edad,_0x3f79e5);},'init':function(_0x14a698,_0x50b1b7,_0x2e07eb){var _0xcd0ea5=_0x4db999;this['cfg']=this[_0xcd0ea5(0x3c8)][_0xcd0ea5(0x3df)](_0x2e07eb),this[_0xcd0ea5(0x1d6)]=_0x14a698,this[_0xcd0ea5(0x181)]=_0x50b1b7,this['reset']();},'reset':function(){var _0xf9f236=_0x4db999;_0x593b14['reset']['call'](this),this[_0xf9f236(0x477)]();},'process':function(_0x399620){return this['_append'](_0x399620),this['_process']();},'finalize':function(_0x24d1fc){_0x24d1fc&&this['_append'](_0x24d1fc);var _0x120db4=this['_doFinalize']();return _0x120db4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b38f4(_0x517f7e){var _0x486526=_0x328b;return typeof _0x517f7e==_0x486526(0x445)?_0x2b0be4:_0x5a8123;}return function(_0x4ca09a){return{'encrypt':function(_0x32121f,_0x25d705,_0x37fb7c){return _0x3b38f4(_0x25d705)['encrypt'](_0x4ca09a,_0x32121f,_0x25d705,_0x37fb7c);},'decrypt':function(_0x98700f,_0x5245e5,_0x4a28a9){var _0x1a57f1=_0x328b;return _0x3b38f4(_0x5245e5)[_0x1a57f1(0x298)](_0x4ca09a,_0x98700f,_0x5245e5,_0x4a28a9);}};};}())});_0x4a764e['StreamCipher']=_0x3bc1c6['extend']({'_doFinalize':function(){var _0x1b4cb8=_0x4db999,_0xde3179=this[_0x1b4cb8(0x185)](!0x0);return _0xde3179;},'blockSize':0x1});var _0x5bfc9c=_0xd0805c[_0x4db999(0x25d)]={},_0x262b74=_0x4a764e[_0x4db999(0x270)]=_0x57d911[_0x4db999(0x3df)]({'createEncryptor':function(_0x4e09c7,_0x232ae2){var _0x3c6a33=_0x4db999;return this[_0x3c6a33(0x1e1)][_0x3c6a33(0x13c)](_0x4e09c7,_0x232ae2);},'createDecryptor':function(_0x4e130c,_0x2e521b){var _0x18a4c4=_0x4db999;return this[_0x18a4c4(0x2ad)][_0x18a4c4(0x13c)](_0x4e130c,_0x2e521b);},'init':function(_0x4c8e0e,_0x445281){var _0x31d75d=_0x4db999;this[_0x31d75d(0x352)]=_0x4c8e0e,this[_0x31d75d(0x487)]=_0x445281;}}),_0x3979f6=_0x5bfc9c[_0x4db999(0x207)]=(function(){var _0x100150=_0x4db999,_0x242da3=_0x262b74[_0x100150(0x3df)]();_0x242da3[_0x100150(0x1e1)]=_0x242da3[_0x100150(0x3df)]({'processBlock':function(_0x3b0e3a,_0x44f57b){var _0x4122fe=_0x100150,_0x4c5924=this['_cipher'],_0x5d4ce4=_0x4c5924[_0x4122fe(0x246)];_0x450c69['call'](this,_0x3b0e3a,_0x44f57b,_0x5d4ce4),_0x4c5924[_0x4122fe(0x3c3)](_0x3b0e3a,_0x44f57b),this[_0x4122fe(0x1c6)]=_0x3b0e3a[_0x4122fe(0x220)](_0x44f57b,_0x44f57b+_0x5d4ce4);}}),_0x242da3['Decryptor']=_0x242da3[_0x100150(0x3df)]({'processBlock':function(_0x18760f,_0x3cbbb0){var _0x19389d=_0x100150,_0x3740a2=this['_cipher'],_0x22701f=_0x3740a2[_0x19389d(0x246)],_0x5f35a4=_0x18760f[_0x19389d(0x220)](_0x3cbbb0,_0x3cbbb0+_0x22701f);_0x3740a2[_0x19389d(0x20c)](_0x18760f,_0x3cbbb0),_0x450c69[_0x19389d(0x313)](this,_0x18760f,_0x3cbbb0,_0x22701f),this[_0x19389d(0x1c6)]=_0x5f35a4;}});function _0x450c69(_0x347a96,_0x3036d9,_0x18e942){var _0x5d4d8d=_0x100150,_0x57e9c3,_0x5b6699=this['_iv'];_0x5b6699?(_0x57e9c3=_0x5b6699,this['_iv']=_0x20b057):_0x57e9c3=this[_0x5d4d8d(0x1c6)];for(var _0x279635=0x0;_0x279635<_0x18e942;_0x279635++)_0x347a96[_0x3036d9+_0x279635]^=_0x57e9c3[_0x279635];}return _0x242da3;}()),_0x50da87=_0xd0805c[_0x4db999(0x2e0)]={},_0x358007=_0x50da87[_0x4db999(0x45a)]={'pad':function(_0x18ce74,_0x55d251){var _0x1d6239=_0x4db999;for(var _0x452091=_0x55d251*0x4,_0x923cca=_0x452091-_0x18ce74[_0x1d6239(0x449)]%_0x452091,_0x3c812a=_0x923cca<<0x18|_0x923cca<<0x10|_0x923cca<<0x8|_0x923cca,_0x534b21=[],_0x4eda6f=0x0;_0x4eda6f<_0x923cca;_0x4eda6f+=0x4)_0x534b21[_0x1d6239(0x452)](_0x3c812a);var _0x564502=_0x403c88[_0x1d6239(0x13c)](_0x534b21,_0x923cca);_0x18ce74[_0x1d6239(0x2a6)](_0x564502);},'unpad':function(_0x40df65){var _0x4924a5=_0x4db999,_0x1df73e=_0x40df65[_0x4924a5(0x2d9)][_0x40df65[_0x4924a5(0x449)]-0x1>>>0x2]&0xff;_0x40df65[_0x4924a5(0x449)]-=_0x1df73e;}};_0x4a764e['BlockCipher']=_0x3bc1c6['extend']({'cfg':_0x3bc1c6[_0x4db999(0x3c8)][_0x4db999(0x3df)]({'mode':_0x3979f6,'padding':_0x358007}),'reset':function(){var _0x4bb2f9=_0x4db999,_0x116e52;_0x3bc1c6[_0x4bb2f9(0x39d)][_0x4bb2f9(0x313)](this);var _0x41b3d5=this[_0x4bb2f9(0x3c8)],_0x2a5652=_0x41b3d5['iv'],_0x3439cc=_0x41b3d5[_0x4bb2f9(0x25d)];this[_0x4bb2f9(0x1d6)]==this['_ENC_XFORM_MODE']?_0x116e52=_0x3439cc[_0x4bb2f9(0x2f7)]:(_0x116e52=_0x3439cc[_0x4bb2f9(0x25e)],this[_0x4bb2f9(0x273)]=0x1),this[_0x4bb2f9(0x46b)]&&this[_0x4bb2f9(0x46b)][_0x4bb2f9(0x16d)]==_0x116e52?this['_mode'][_0x4bb2f9(0x3d6)](this,_0x2a5652&&_0x2a5652[_0x4bb2f9(0x2d9)]):(this[_0x4bb2f9(0x46b)]=_0x116e52[_0x4bb2f9(0x313)](_0x3439cc,this,_0x2a5652&&_0x2a5652[_0x4bb2f9(0x2d9)]),this[_0x4bb2f9(0x46b)]['__creator']=_0x116e52);},'_doProcessBlock':function(_0x496960,_0x3f7c29){var _0x3898b9=_0x4db999;this[_0x3898b9(0x46b)]['processBlock'](_0x496960,_0x3f7c29);},'_doFinalize':function(){var _0x45bc9d=_0x4db999,_0xdd0e55,_0xa49fb5=this[_0x45bc9d(0x3c8)][_0x45bc9d(0x1e8)];return this[_0x45bc9d(0x1d6)]==this['_ENC_XFORM_MODE']?(_0xa49fb5[_0x45bc9d(0x2e0)](this[_0x45bc9d(0x338)],this[_0x45bc9d(0x246)]),_0xdd0e55=this[_0x45bc9d(0x185)](!0x0)):(_0xdd0e55=this['_process'](!0x0),_0xa49fb5[_0x45bc9d(0x3ca)](_0xdd0e55)),_0xdd0e55;},'blockSize':0x80/0x20});var _0x429d7e=_0x4a764e[_0x4db999(0x1ca)]=_0x57d911[_0x4db999(0x3df)]({'init':function(_0x1c0661){var _0x155017=_0x4db999;this[_0x155017(0x2d0)](_0x1c0661);},'toString':function(_0x2d1e1e){var _0x2a14e6=_0x4db999;return(_0x2d1e1e||this[_0x2a14e6(0x3da)])['stringify'](this);}}),_0x42a2c1=_0xd0805c[_0x4db999(0x1e3)]={},_0x875cd3=_0x42a2c1[_0x4db999(0x38d)]={'stringify':function(_0x3351b6){var _0x153e65=_0x4db999,_0x5ee056,_0x2ede13=_0x3351b6['ciphertext'],_0xdd2c29=_0x3351b6['salt'];return _0xdd2c29?_0x5ee056=_0x403c88[_0x153e65(0x13c)]([0x53616c74,0x65645f5f])[_0x153e65(0x2a6)](_0xdd2c29)['concat'](_0x2ede13):_0x5ee056=_0x2ede13,_0x5ee056[_0x153e65(0x454)](_0x3984e7);},'parse':function(_0x107dd0){var _0x13c60b=_0x4db999,_0x18db89,_0x30c234=_0x3984e7[_0x13c60b(0x27e)](_0x107dd0),_0x269ae9=_0x30c234[_0x13c60b(0x2d9)];return _0x269ae9[0x0]==0x53616c74&&_0x269ae9[0x1]==0x65645f5f&&(_0x18db89=_0x403c88[_0x13c60b(0x13c)](_0x269ae9[_0x13c60b(0x220)](0x2,0x4)),_0x269ae9[_0x13c60b(0x25f)](0x0,0x4),_0x30c234['sigBytes']-=0x10),_0x429d7e[_0x13c60b(0x13c)]({'ciphertext':_0x30c234,'salt':_0x18db89});}},_0x5a8123=_0x4a764e[_0x4db999(0x1fd)]=_0x57d911[_0x4db999(0x3df)]({'cfg':_0x57d911[_0x4db999(0x3df)]({'format':_0x875cd3}),'encrypt':function(_0x1825a9,_0x1dc191,_0x261643,_0x32e8b){var _0x5051c3=_0x4db999;_0x32e8b=this[_0x5051c3(0x3c8)]['extend'](_0x32e8b);var _0x2efa5a=_0x1825a9[_0x5051c3(0x2f7)](_0x261643,_0x32e8b),_0x52f9ff=_0x2efa5a[_0x5051c3(0x18b)](_0x1dc191),_0x2c7ec9=_0x2efa5a[_0x5051c3(0x3c8)];return _0x429d7e[_0x5051c3(0x13c)]({'ciphertext':_0x52f9ff,'key':_0x261643,'iv':_0x2c7ec9['iv'],'algorithm':_0x1825a9,'mode':_0x2c7ec9['mode'],'padding':_0x2c7ec9[_0x5051c3(0x1e8)],'blockSize':_0x1825a9['blockSize'],'formatter':_0x32e8b[_0x5051c3(0x1e3)]});},'decrypt':function(_0x241da4,_0x2b3910,_0xab52fa,_0x1f43db){var _0x2e2bc2=_0x4db999;_0x1f43db=this[_0x2e2bc2(0x3c8)][_0x2e2bc2(0x3df)](_0x1f43db),_0x2b3910=this[_0x2e2bc2(0x1f3)](_0x2b3910,_0x1f43db[_0x2e2bc2(0x1e3)]);var _0x3cbaca=_0x241da4[_0x2e2bc2(0x25e)](_0xab52fa,_0x1f43db)[_0x2e2bc2(0x18b)](_0x2b3910[_0x2e2bc2(0x183)]);return _0x3cbaca;},'_parse':function(_0x45990d,_0xa92c92){var _0x2f9e3e=_0x4db999;return typeof _0x45990d=='string'?_0xa92c92[_0x2f9e3e(0x27e)](_0x45990d,this):_0x45990d;}}),_0x16e094=_0xd0805c['kdf']={},_0x266805=_0x16e094[_0x4db999(0x38d)]={'execute':function(_0x235e54,_0x227408,_0x225dfe,_0x426fb4,_0x57bcdc){var _0x53a0db=_0x4db999;if(_0x426fb4||(_0x426fb4=_0x403c88[_0x53a0db(0x315)](0x40/0x8)),_0x57bcdc)var _0x2a808c=_0x216c1a['create']({'keySize':_0x227408+_0x225dfe,'hasher':_0x57bcdc})['compute'](_0x235e54,_0x426fb4);else var _0x2a808c=_0x216c1a[_0x53a0db(0x13c)]({'keySize':_0x227408+_0x225dfe})[_0x53a0db(0x33d)](_0x235e54,_0x426fb4);var _0x4ef2fb=_0x403c88[_0x53a0db(0x13c)](_0x2a808c['words'][_0x53a0db(0x220)](_0x227408),_0x225dfe*0x4);return _0x2a808c[_0x53a0db(0x449)]=_0x227408*0x4,_0x429d7e[_0x53a0db(0x13c)]({'key':_0x2a808c,'iv':_0x4ef2fb,'salt':_0x426fb4});}},_0x2b0be4=_0x4a764e[_0x4db999(0x301)]=_0x5a8123['extend']({'cfg':_0x5a8123[_0x4db999(0x3c8)]['extend']({'kdf':_0x266805}),'encrypt':function(_0x13e2a9,_0x2d44fc,_0x21f5cb,_0x551607){var _0x523d3a=_0x4db999;_0x551607=this[_0x523d3a(0x3c8)][_0x523d3a(0x3df)](_0x551607);var _0x4d3196=_0x551607['kdf'][_0x523d3a(0x142)](_0x21f5cb,_0x13e2a9[_0x523d3a(0x2e8)],_0x13e2a9['ivSize'],_0x551607['salt'],_0x551607[_0x523d3a(0x1a4)]);_0x551607['iv']=_0x4d3196['iv'];var _0x20bdc9=_0x5a8123[_0x523d3a(0x2d8)][_0x523d3a(0x313)](this,_0x13e2a9,_0x2d44fc,_0x4d3196[_0x523d3a(0x37c)],_0x551607);return _0x20bdc9[_0x523d3a(0x2d0)](_0x4d3196),_0x20bdc9;},'decrypt':function(_0x532caf,_0x1b9c22,_0x58b605,_0x1d542c){var _0x49da7b=_0x4db999;_0x1d542c=this['cfg'][_0x49da7b(0x3df)](_0x1d542c),_0x1b9c22=this['_parse'](_0x1b9c22,_0x1d542c[_0x49da7b(0x1e3)]);var _0x576138=_0x1d542c[_0x49da7b(0x30f)][_0x49da7b(0x142)](_0x58b605,_0x532caf['keySize'],_0x532caf['ivSize'],_0x1b9c22['salt'],_0x1d542c[_0x49da7b(0x1a4)]);_0x1d542c['iv']=_0x576138['iv'];var _0xa40c9=_0x5a8123[_0x49da7b(0x298)][_0x49da7b(0x313)](this,_0x532caf,_0x1b9c22,_0x576138[_0x49da7b(0x37c)],_0x1d542c);return _0xa40c9;}});}();}));}(Te)),Te[_0xeef07c(0x3d0)];}var ri=Se[_0x5eb40d(0x3d0)],ot;function si(){var _0x4a797d=_0x5eb40d;return ot||(ot=0x1,function(_0x355b0f,_0x289d92){(function(_0x4022c1,_0x5e1673,_0x197e9e){var _0x3b10ea=_0x328b;_0x355b0f[_0x3b10ea(0x3d0)]=_0x5e1673(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4218c3){var _0x42d7d3=_0x328b;return(function(){var _0x28d094=_0x328b,_0x19de76=_0x4218c3,_0x1d10a7=_0x19de76[_0x28d094(0x431)],_0x10978c=_0x1d10a7['BlockCipher'],_0xa6928d=_0x19de76['algo'],_0xbafccc=[],_0x5633fc=[],_0x8a8918=[],_0x3a1271=[],_0x286fb8=[],_0x209152=[],_0x343abf=[],_0x4b9749=[],_0x1292fe=[],_0xa4aea1=[];(function(){for(var _0x5f1810=[],_0x328876=0x0;_0x328876<0x100;_0x328876++)_0x328876<0x80?_0x5f1810[_0x328876]=_0x328876<<0x1:_0x5f1810[_0x328876]=_0x328876<<0x1^0x11b;for(var _0x552b34=0x0,_0x1d155f=0x0,_0x328876=0x0;_0x328876<0x100;_0x328876++){var _0x36a549=_0x1d155f^_0x1d155f<<0x1^_0x1d155f<<0x2^_0x1d155f<<0x3^_0x1d155f<<0x4;_0x36a549=_0x36a549>>>0x8^_0x36a549&0xff^0x63,_0xbafccc[_0x552b34]=_0x36a549,_0x5633fc[_0x36a549]=_0x552b34;var _0x3e8b88=_0x5f1810[_0x552b34],_0x1c5bde=_0x5f1810[_0x3e8b88],_0x5da74b=_0x5f1810[_0x1c5bde],_0x308db8=_0x5f1810[_0x36a549]*0x101^_0x36a549*0x1010100;_0x8a8918[_0x552b34]=_0x308db8<<0x18|_0x308db8>>>0x8,_0x3a1271[_0x552b34]=_0x308db8<<0x10|_0x308db8>>>0x10,_0x286fb8[_0x552b34]=_0x308db8<<0x8|_0x308db8>>>0x18,_0x209152[_0x552b34]=_0x308db8;var _0x308db8=_0x5da74b*0x1010101^_0x1c5bde*0x10001^_0x3e8b88*0x101^_0x552b34*0x1010100;_0x343abf[_0x36a549]=_0x308db8<<0x18|_0x308db8>>>0x8,_0x4b9749[_0x36a549]=_0x308db8<<0x10|_0x308db8>>>0x10,_0x1292fe[_0x36a549]=_0x308db8<<0x8|_0x308db8>>>0x18,_0xa4aea1[_0x36a549]=_0x308db8,_0x552b34?(_0x552b34=_0x3e8b88^_0x5f1810[_0x5f1810[_0x5f1810[_0x5da74b^_0x3e8b88]]],_0x1d155f^=_0x5f1810[_0x5f1810[_0x1d155f]]):_0x552b34=_0x1d155f=0x1;}}());var _0x5ddd1e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x308be9=_0xa6928d[_0x28d094(0x44c)]=_0x10978c['extend']({'_doReset':function(){var _0x49f90c=_0x28d094,_0xf36d7;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x49f90c(0x181)])){for(var _0x378ca7=this['_keyPriorReset']=this[_0x49f90c(0x181)],_0x25259d=_0x378ca7[_0x49f90c(0x2d9)],_0x2e8e89=_0x378ca7[_0x49f90c(0x449)]/0x4,_0x192dfb=this[_0x49f90c(0x16f)]=_0x2e8e89+0x6,_0x3da173=(_0x192dfb+0x1)*0x4,_0x515c63=this[_0x49f90c(0x1bb)]=[],_0x5705bb=0x0;_0x5705bb<_0x3da173;_0x5705bb++)_0x5705bb<_0x2e8e89?_0x515c63[_0x5705bb]=_0x25259d[_0x5705bb]:(_0xf36d7=_0x515c63[_0x5705bb-0x1],_0x5705bb%_0x2e8e89?_0x2e8e89>0x6&&_0x5705bb%_0x2e8e89==0x4&&(_0xf36d7=_0xbafccc[_0xf36d7>>>0x18]<<0x18|_0xbafccc[_0xf36d7>>>0x10&0xff]<<0x10|_0xbafccc[_0xf36d7>>>0x8&0xff]<<0x8|_0xbafccc[_0xf36d7&0xff]):(_0xf36d7=_0xf36d7<<0x8|_0xf36d7>>>0x18,_0xf36d7=_0xbafccc[_0xf36d7>>>0x18]<<0x18|_0xbafccc[_0xf36d7>>>0x10&0xff]<<0x10|_0xbafccc[_0xf36d7>>>0x8&0xff]<<0x8|_0xbafccc[_0xf36d7&0xff],_0xf36d7^=_0x5ddd1e[_0x5705bb/_0x2e8e89|0x0]<<0x18),_0x515c63[_0x5705bb]=_0x515c63[_0x5705bb-_0x2e8e89]^_0xf36d7);for(var _0x46ab0c=this[_0x49f90c(0x3fa)]=[],_0x412e44=0x0;_0x412e44<_0x3da173;_0x412e44++){var _0x5705bb=_0x3da173-_0x412e44;if(_0x412e44%0x4)var _0xf36d7=_0x515c63[_0x5705bb];else var _0xf36d7=_0x515c63[_0x5705bb-0x4];_0x412e44<0x4||_0x5705bb<=0x4?_0x46ab0c[_0x412e44]=_0xf36d7:_0x46ab0c[_0x412e44]=_0x343abf[_0xbafccc[_0xf36d7>>>0x18]]^_0x4b9749[_0xbafccc[_0xf36d7>>>0x10&0xff]]^_0x1292fe[_0xbafccc[_0xf36d7>>>0x8&0xff]]^_0xa4aea1[_0xbafccc[_0xf36d7&0xff]];}}},'encryptBlock':function(_0x56e359,_0x51f7bb){var _0x4d639d=_0x28d094;this['_doCryptBlock'](_0x56e359,_0x51f7bb,this[_0x4d639d(0x1bb)],_0x8a8918,_0x3a1271,_0x286fb8,_0x209152,_0xbafccc);},'decryptBlock':function(_0x39232f,_0xe9b45c){var _0x1da3fd=_0x28d094,_0x50c2ae=_0x39232f[_0xe9b45c+0x1];_0x39232f[_0xe9b45c+0x1]=_0x39232f[_0xe9b45c+0x3],_0x39232f[_0xe9b45c+0x3]=_0x50c2ae,this[_0x1da3fd(0x382)](_0x39232f,_0xe9b45c,this[_0x1da3fd(0x3fa)],_0x343abf,_0x4b9749,_0x1292fe,_0xa4aea1,_0x5633fc);var _0x50c2ae=_0x39232f[_0xe9b45c+0x1];_0x39232f[_0xe9b45c+0x1]=_0x39232f[_0xe9b45c+0x3],_0x39232f[_0xe9b45c+0x3]=_0x50c2ae;},'_doCryptBlock':function(_0x3900a9,_0x3ceedc,_0x3a51d6,_0x3ff20f,_0x4333e6,_0x12de23,_0x149c03,_0x4606d0){var _0x4629cd=_0x28d094;for(var _0x5e549b=this[_0x4629cd(0x16f)],_0x1c0e59=_0x3900a9[_0x3ceedc]^_0x3a51d6[0x0],_0xf4e66c=_0x3900a9[_0x3ceedc+0x1]^_0x3a51d6[0x1],_0x16d449=_0x3900a9[_0x3ceedc+0x2]^_0x3a51d6[0x2],_0x544810=_0x3900a9[_0x3ceedc+0x3]^_0x3a51d6[0x3],_0x4c2c1b=0x4,_0x4b92b1=0x1;_0x4b92b1<_0x5e549b;_0x4b92b1++){var _0x44a028=_0x3ff20f[_0x1c0e59>>>0x18]^_0x4333e6[_0xf4e66c>>>0x10&0xff]^_0x12de23[_0x16d449>>>0x8&0xff]^_0x149c03[_0x544810&0xff]^_0x3a51d6[_0x4c2c1b++],_0x1740a6=_0x3ff20f[_0xf4e66c>>>0x18]^_0x4333e6[_0x16d449>>>0x10&0xff]^_0x12de23[_0x544810>>>0x8&0xff]^_0x149c03[_0x1c0e59&0xff]^_0x3a51d6[_0x4c2c1b++],_0x2c6785=_0x3ff20f[_0x16d449>>>0x18]^_0x4333e6[_0x544810>>>0x10&0xff]^_0x12de23[_0x1c0e59>>>0x8&0xff]^_0x149c03[_0xf4e66c&0xff]^_0x3a51d6[_0x4c2c1b++],_0x23f602=_0x3ff20f[_0x544810>>>0x18]^_0x4333e6[_0x1c0e59>>>0x10&0xff]^_0x12de23[_0xf4e66c>>>0x8&0xff]^_0x149c03[_0x16d449&0xff]^_0x3a51d6[_0x4c2c1b++];_0x1c0e59=_0x44a028,_0xf4e66c=_0x1740a6,_0x16d449=_0x2c6785,_0x544810=_0x23f602;}var _0x44a028=(_0x4606d0[_0x1c0e59>>>0x18]<<0x18|_0x4606d0[_0xf4e66c>>>0x10&0xff]<<0x10|_0x4606d0[_0x16d449>>>0x8&0xff]<<0x8|_0x4606d0[_0x544810&0xff])^_0x3a51d6[_0x4c2c1b++],_0x1740a6=(_0x4606d0[_0xf4e66c>>>0x18]<<0x18|_0x4606d0[_0x16d449>>>0x10&0xff]<<0x10|_0x4606d0[_0x544810>>>0x8&0xff]<<0x8|_0x4606d0[_0x1c0e59&0xff])^_0x3a51d6[_0x4c2c1b++],_0x2c6785=(_0x4606d0[_0x16d449>>>0x18]<<0x18|_0x4606d0[_0x544810>>>0x10&0xff]<<0x10|_0x4606d0[_0x1c0e59>>>0x8&0xff]<<0x8|_0x4606d0[_0xf4e66c&0xff])^_0x3a51d6[_0x4c2c1b++],_0x23f602=(_0x4606d0[_0x544810>>>0x18]<<0x18|_0x4606d0[_0x1c0e59>>>0x10&0xff]<<0x10|_0x4606d0[_0xf4e66c>>>0x8&0xff]<<0x8|_0x4606d0[_0x16d449&0xff])^_0x3a51d6[_0x4c2c1b++];_0x3900a9[_0x3ceedc]=_0x44a028,_0x3900a9[_0x3ceedc+0x1]=_0x1740a6,_0x3900a9[_0x3ceedc+0x2]=_0x2c6785,_0x3900a9[_0x3ceedc+0x3]=_0x23f602;},'keySize':0x100/0x20});_0x19de76[_0x28d094(0x44c)]=_0x10978c['_createHelper'](_0x308be9);}()),_0x4218c3[_0x42d7d3(0x44c)];}));}(Se)),Se[_0x4a797d(0x3d0)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x5eb40d(0x3d0)],ct;function li(){var _0x1a2a51=_0x5eb40d;return ct||(ct=0x1,function(_0x375950,_0x21d0d4){(function(_0x4f3219,_0x45f1c4){var _0x5037a2=_0x328b;_0x375950[_0x5037a2(0x3d0)]=_0x45f1c4(ee());}(hi,function(_0x1eafe4){var _0x3d71a0=_0x328b;return _0x1eafe4[_0x3d71a0(0x235)]['Utf8'];}));}(be)),be[_0x1a2a51(0x3d0)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5eb40d(0x3d0)],ht;function vi(){return ht||(ht=0x1,function(_0x55ad58,_0x13bf72){(function(_0x34e625,_0x5eb19c){var _0x4112ac=_0x328b;_0x55ad58[_0x4112ac(0x3d0)]=_0x5eb19c(ee());}(di,function(_0x18fa8c){var _0x17064a=_0x328b;return(function(){var _0x447ec1=_0x328b;if(typeof ArrayBuffer==_0x447ec1(0x201)){var _0x44e68b=_0x18fa8c,_0x1282c0=_0x44e68b[_0x447ec1(0x431)],_0x3bdafa=_0x1282c0[_0x447ec1(0x1b4)],_0x337bc3=_0x3bdafa[_0x447ec1(0x3d6)],_0x36513a=_0x3bdafa['init']=function(_0x411925){var _0x39aea6=_0x447ec1;if(_0x411925 instanceof ArrayBuffer&&(_0x411925=new Uint8Array(_0x411925)),(_0x411925 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x411925 instanceof Uint8ClampedArray||_0x411925 instanceof Int16Array||_0x411925 instanceof Uint16Array||_0x411925 instanceof Int32Array||_0x411925 instanceof Uint32Array||_0x411925 instanceof Float32Array||_0x411925 instanceof Float64Array)&&(_0x411925=new Uint8Array(_0x411925['buffer'],_0x411925[_0x39aea6(0x27a)],_0x411925[_0x39aea6(0x33b)])),_0x411925 instanceof Uint8Array){for(var _0x2c001d=_0x411925[_0x39aea6(0x33b)],_0x1a9cf0=[],_0x52d967=0x0;_0x52d967<_0x2c001d;_0x52d967++)_0x1a9cf0[_0x52d967>>>0x2]|=_0x411925[_0x52d967]<<0x18-_0x52d967%0x4*0x8;_0x337bc3[_0x39aea6(0x313)](this,_0x1a9cf0,_0x2c001d);}else _0x337bc3[_0x39aea6(0x282)](this,arguments);};_0x36513a[_0x447ec1(0x232)]=_0x3bdafa;}}()),_0x18fa8c[_0x17064a(0x431)][_0x17064a(0x1b4)];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5eb40d(0x3d0)],lt;function mi(){var _0x3ad0c8=_0x5eb40d;return lt||(lt=0x1,function(_0x30432b,_0x19800d){(function(_0x1acc95,_0x5d8cfe,_0x2febb6){_0x30432b['exports']=_0x5d8cfe(ee(),At());}(pi,function(_0xef575d){var _0x571c7b=_0x328b;return _0xef575d['pad'][_0x571c7b(0x228)]={'pad':function(){},'unpad':function(){}},_0xef575d['pad'][_0x571c7b(0x228)];}));}(Oe)),Oe[_0x3ad0c8(0x3d0)];}var gi=mi();const Ii=fe(gi);function Ei(_0x270b74,_0x3f649f){var _0x418329=_0x5eb40d;const _0x435153=_0x3f649f-_0x270b74['length']%_0x3f649f,_0x31f111=String[_0x418329(0x331)](_0x435153)[_0x418329(0x283)](_0x435153);return _0x270b74+_0x31f111;}function Ci(_0x211b94,_0xe9ad80){var _0x1695f8=_0x5eb40d;const _0x1b9f39=Si[_0x1695f8(0x315)](0x10),_0x197e88=Ei(_0x211b94,0x10),_0x287378=ai[_0x1695f8(0x2d8)](ui[_0x1695f8(0x27e)](_0x197e88),at[_0x1695f8(0x27e)](_0xe9ad80),{'iv':_0x1b9f39,'padding':Ii});return _0x1b9f39[_0x1695f8(0x2a6)](_0x287378[_0x1695f8(0x183)])[_0x1695f8(0x454)](at);}function Ti(){var _0x4e4d92=_0x5eb40d;const _0x3f11f7=$t['getGlobalObject']()['__Key__'];if(_0x3f11f7){const _0x23d9c6={'time':Math[_0x4e4d92(0x349)](Date[_0x4e4d92(0x2ec)]()/0x3e8),'domain':location['hostname']};return Ci(JSON[_0x4e4d92(0x2b5)](_0x23d9c6),_0x3f11f7);}}var bi=Object[_0x5eb40d(0x2af)],Ri=Object[_0x5eb40d(0x22b)],Oi=(_0x2551c7,_0x3089e6,_0x57e4bd,_0xa03b99)=>{var _0x3efd9f=_0x5eb40d;for(var _0x768bc0=_0xa03b99>0x1?void 0x0:_0xa03b99?Ri(_0x3089e6,_0x57e4bd):_0x3089e6,_0x260070=_0x2551c7[_0x3efd9f(0x176)]-0x1,_0x491bf4;_0x260070>=0x0;_0x260070--)(_0x491bf4=_0x2551c7[_0x260070])&&(_0x768bc0=(_0xa03b99?_0x491bf4(_0x3089e6,_0x57e4bd,_0x768bc0):_0x491bf4(_0x768bc0))||_0x768bc0);return _0xa03b99&&_0x768bc0&&bi(_0x3089e6,_0x57e4bd,_0x768bc0),_0x768bc0;},yi=(_0xf36d41,_0x317f0e)=>(_0x261523,_0xa89cb3)=>_0x317f0e(_0x261523,_0xa89cb3,_0xf36d41);let Ne=class{constructor(_0x2dea39){var _0xd42922=_0x5eb40d;this['_httpService']=_0x2dea39,this[_0xd42922(0x151)]();}[_0x5eb40d(0x151)](){var _0x57c069=_0x5eb40d;this[_0x57c069(0x205)][_0x57c069(0x13a)]({'interceptor':(_0x310d0c,_0x51ca41)=>{var _0x588992=_0x57c069;const _0x5adc0c=_0x310d0c[_0x588992(0x225)],_0x440ea1=Ti();return _0x440ea1&&_0x5adc0c[_0x588992(0x305)](_0x588992(0x2c2),_0x440ea1),_0x51ca41(_0x310d0c);}});}};Ne=Oi([yi(0x0,a['Inject'](q['HTTPService']))],Ne);var Ni=Object[_0x5eb40d(0x2af)],Ui=Object[_0x5eb40d(0x22b)],Pi=(_0x4fe487,_0x13fd40,_0x1d60c1,_0x5d9f42)=>{var _0x5d7d54=_0x5eb40d;for(var _0x14b33f=_0x5d9f42>0x1?void 0x0:_0x5d9f42?Ui(_0x13fd40,_0x1d60c1):_0x13fd40,_0x566e76=_0x4fe487[_0x5d7d54(0x176)]-0x1,_0xf61f04;_0x566e76>=0x0;_0x566e76--)(_0xf61f04=_0x4fe487[_0x566e76])&&(_0x14b33f=(_0x5d9f42?_0xf61f04(_0x13fd40,_0x1d60c1,_0x14b33f):_0xf61f04(_0x14b33f))||_0x14b33f);return _0x5d9f42&&_0x14b33f&&Ni(_0x13fd40,_0x1d60c1,_0x14b33f),_0x14b33f;},Me=(_0x3ba3c4,_0x1d1d95)=>(_0x46b658,_0x4ed96f)=>_0x1d1d95(_0x46b658,_0x4ed96f,_0x3ba3c4);exports[_0x5eb40d(0x28f)]=class extends a[_0x5eb40d(0x372)]{constructor(_0x39bf61,_0x525ef2,_0x26713f){var _0x4187d1=_0x5eb40d;super(),D(this,_0x4187d1(0x28c),new H[(_0x4187d1(0x179))](null)),D(this,_0x4187d1(0x466),this[_0x4187d1(0x28c)][_0x4187d1(0x187)]()),(this[_0x4187d1(0x430)]=_0x39bf61,this['_snapshotService']=_0x525ef2,this[_0x4187d1(0x3d1)]=_0x26713f);}async[_0x5eb40d(0x40b)](_0x5a68df,_0x222d1f,_0x20bb63){var _0x3f2be9=_0x5eb40d;this[_0x3f2be9(0x28c)][_0x3f2be9(0x1e7)]({'unitId':_0x5a68df,'type':_0x222d1f,'subUnitId':_0x20bb63});let _0xc3153a=null;switch(_0x222d1f){case Z['UNIVER_SHEET']:{_0xc3153a=await this[_0x3f2be9(0x478)](_0x5a68df);break;}case Z[_0x3f2be9(0x3fe)]:{_0xc3153a=await this['_loadDoc'](_0x5a68df);break;}default:{this[_0x3f2be9(0x430)][_0x3f2be9(0x2b2)](_0x3f2be9(0x291),_0x3f2be9(0x3f8));break;}}return _0xc3153a;}async['_loadSheet'](_0x48c9ca){var _0x21fcca=_0x5eb40d,_0x25e24e;let _0x49465a=0x0;const _0x190e3d=await((_0x25e24e=this[_0x21fcca(0x3d1)])==null?void 0x0:_0x25e24e[_0x21fcca(0x164)](_0x48c9ca));return _0x190e3d&&(_0x190e3d[_0x21fcca(0x160)]||_0x190e3d[_0x21fcca(0x1f2)][_0x21fcca(0x176)]!==0x0)&&(_0x49465a=_0x190e3d[_0x21fcca(0x457)]),_0x49465a===0x0&&this['_logService'][_0x21fcca(0x21b)](_0x21fcca(0x291),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x21fcca(0x36e)][_0x21fcca(0x465)](_0x48c9ca,_0x49465a);}async[_0x5eb40d(0x324)](_0x49c5c6){var _0x1a9939=_0x5eb40d,_0x7c9c99;let _0x538298=0x0;const _0x179925=await((_0x7c9c99=this[_0x1a9939(0x3d1)])==null?void 0x0:_0x7c9c99[_0x1a9939(0x164)](_0x49c5c6));return _0x179925&&(_0x179925[_0x1a9939(0x160)]||_0x179925[_0x1a9939(0x1f2)][_0x1a9939(0x176)]!==0x0)&&(_0x538298=_0x179925[_0x1a9939(0x457)]),_0x538298===0x0&&this[_0x1a9939(0x430)]['debug'](_0x1a9939(0x291),_0x1a9939(0x353)),this[_0x1a9939(0x36e)][_0x1a9939(0x268)](_0x49c5c6,_0x538298);}},exports[_0x5eb40d(0x28f)]=Pi([Me(0x0,a[_0x5eb40d(0x2d3)]),Me(0x1,a[_0x5eb40d(0x22a)](m[_0x5eb40d(0x412)])),Me(0x2,a[_0x5eb40d(0x149)](z))],exports[_0x5eb40d(0x28f)]);var Di=Object[_0x5eb40d(0x2af)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0x3e559b,_0x5dd409,_0x10d934,_0x318e52)=>{var _0x1bc02d=_0x5eb40d;for(var _0x2ec962=_0x318e52>0x1?void 0x0:_0x318e52?wi(_0x5dd409,_0x10d934):_0x5dd409,_0x4c776a=_0x3e559b[_0x1bc02d(0x176)]-0x1,_0x188bf9;_0x4c776a>=0x0;_0x4c776a--)(_0x188bf9=_0x3e559b[_0x4c776a])&&(_0x2ec962=(_0x318e52?_0x188bf9(_0x5dd409,_0x10d934,_0x2ec962):_0x188bf9(_0x2ec962))||_0x2ec962);return _0x318e52&&_0x2ec962&&Di(_0x5dd409,_0x10d934,_0x2ec962),_0x2ec962;},xe=(_0x49f6a4,_0x2cdaec)=>(_0x1362dc,_0x2c35ba)=>_0x2cdaec(_0x1362dc,_0x2c35ba,_0x49f6a4);const Li=[_0x5eb40d(0x348),'image/jpeg',_0x5eb40d(0x30c),_0x5eb40d(0x15e),'image/bmp'],Mi=0x5*0x400*0x400,xi=_0x5eb40d(0x421),ji=_0x5eb40d(0x3e0),$i=_0x5eb40d(0x17c),Hi=_0x5eb40d(0x287);exports[_0x5eb40d(0x3ce)]=class{constructor(_0x3a880f,_0x40b2e2,_0x3d4674){var _0x467abe=_0x5eb40d;D(this,'_waitCount',0x0),D(this,'_change$',new H['Subject']()),D(this,'change$',this[_0x467abe(0x497)]),D(this,_0x467abe(0x387),new Map()),(this[_0x467abe(0x205)]=_0x3a880f,this[_0x467abe(0x3bd)]=_0x40b2e2,this[_0x467abe(0x1cd)]=_0x3d4674);}[_0x5eb40d(0x1b0)](_0x2c87cb){var _0x378a82=_0x5eb40d;this['_waitCount']=_0x2c87cb,this['_change$'][_0x378a82(0x1e7)](_0x2c87cb);}[_0x5eb40d(0x1fb)](_0x239e81,_0xc7236e){var _0x3d3e90=_0x5eb40d;if(_0xc7236e===X[_0x3d3e90(0x317)][_0x3d3e90(0x200)]){const _0x1516fb=new Image();return _0x1516fb['src']=_0x239e81,_0x1516fb;}return this[_0x3d3e90(0x387)][_0x3d3e90(0x319)](_0x239e81);}[_0x5eb40d(0x369)](_0x1ba1b9,_0x5edaac,_0x2baba7){var _0x5061d4=_0x5eb40d;_0x5edaac===X['ImageSourceType'][_0x5061d4(0x200)]||_0x2baba7==null||this[_0x5061d4(0x387)][_0x5061d4(0x305)](_0x1ba1b9,_0x2baba7);}async[_0x5eb40d(0x177)](_0x467cdc){var _0x3e361b=_0x5eb40d;try{const _0x28e53c=this[_0x3e361b(0x371)](this[_0x3e361b(0x436)](),''+_0x467cdc),_0x56ce50=(await this[_0x3e361b(0x205)][_0x3e361b(0x319)](_0x28e53c))[_0x3e361b(0x35b)];if(_0x56ce50[_0x3e361b(0x2b2)]&&_0x56ce50[_0x3e361b(0x2b2)][_0x3e361b(0x2d6)]===Tt['OK']){const _0x28d07a=new URL(_0x56ce50[_0x3e361b(0x156)],this[_0x3e361b(0x429)]())[_0x3e361b(0x454)]();return Promise['resolve'](_0x28d07a);}return Promise[_0x3e361b(0x1ff)](_0x56ce50[_0x3e361b(0x2b2)]);}catch(_0x5c5a94){return Promise[_0x3e361b(0x1ff)](_0x5c5a94);}}async['saveImage'](_0x4de3c4){var _0x375c53=_0x5eb40d;let _0x5433dc='';if(!Li['includes'](_0x4de3c4[_0x375c53(0x33c)]))return this[_0x375c53(0x327)](),Promise[_0x375c53(0x1ff)](new Error(X[_0x375c53(0x328)][_0x375c53(0x374)]));if(_0x4de3c4[_0x375c53(0x1fc)]>Mi)return this[_0x375c53(0x327)](),Promise[_0x375c53(0x1ff)](new Error(X['ImageUploadStatusType'][_0x375c53(0x1d9)]));try{const _0x5d0121=new FormData();_0x5d0121['append']('file',_0x4de3c4);const _0x18943d=this[_0x375c53(0x1cd)][_0x375c53(0x263)](),_0x489410=_0x18943d==null?void 0x0:_0x18943d['getUnitId']();if(!_0x489410)throw new Error(_0x375c53(0x196));const _0x25a154=this[_0x375c53(0x34f)]()+_0x375c53(0x48e)+_0x4de3c4[_0x375c53(0x1fc)][_0x375c53(0x454)]()+_0x375c53(0x3e6)+bt[_0x375c53(0x1b6)]+_0x375c53(0x3bc)+encodeURIComponent(_0x489410),_0x23e949=await(await fetch(_0x25a154,{'method':_0x375c53(0x339),'body':_0x5d0121}))[_0x375c53(0x41f)]();if(typeof _0x23e949['FileId']!=_0x375c53(0x445))return this[_0x375c53(0x327)](),Promise[_0x375c53(0x1ff)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE']));_0x5433dc=_0x23e949['FileId'];}catch{return this[_0x375c53(0x327)](),Promise[_0x375c53(0x1ff)](new Error(X[_0x375c53(0x328)][_0x375c53(0x293)]));}return new Promise((_0x2773b5,_0xdee76f)=>{const _0x68d2a5=new FileReader();_0x68d2a5['readAsDataURL'](_0x4de3c4),_0x68d2a5['onload']=_0x486368=>{var _0x279f09=_0x328b,_0x22fb0e;const _0x2b8ac7=(_0x22fb0e=_0x486368[_0x279f09(0x31f)])==null?void 0x0:_0x22fb0e[_0x279f09(0x433)];if(_0x2b8ac7==null){this[_0x279f09(0x327)](),_0xdee76f(new Error(X[_0x279f09(0x328)][_0x279f09(0x293)]));return;}const _0x56a03a=a['Tools'][_0x279f09(0x1c9)](0x6);_0x2773b5({'imageId':_0x56a03a,'imageSourceType':X['ImageSourceType'][_0x279f09(0x230)],'source':_0x5433dc,'base64Cache':_0x2b8ac7,'status':X['ImageUploadStatusType'][_0x279f09(0x485)]}),this[_0x279f09(0x327)]();};});}[_0x5eb40d(0x34f)](){var _0x33bc43=_0x5eb40d,_0x190e26,_0xfae9da;const _0x5c8a14=this[_0x33bc43(0x3bd)]['getConfig'](xi),_0xc0c8bf=this[_0x33bc43(0x3bd)][_0x33bc43(0x2a4)](Y);return(_0xfae9da=(_0x190e26=_0xc0c8bf==null?void 0x0:_0xc0c8bf[_0x33bc43(0x191)])!=null?_0x190e26:_0x5c8a14)!=null?_0xfae9da:ji;}[_0x5eb40d(0x436)](){var _0x186c5=_0x5eb40d,_0x42cb64,_0x17b0d6;const _0x515bc4=this[_0x186c5(0x3bd)][_0x186c5(0x2a4)]($i),_0x2d730b=this[_0x186c5(0x3bd)]['getConfig'](Y);return(_0x17b0d6=(_0x42cb64=_0x2d730b==null?void 0x0:_0x2d730b[_0x186c5(0x1f1)])!=null?_0x42cb64:_0x515bc4)!=null?_0x17b0d6:Hi;}[_0x5eb40d(0x429)](){var _0x166889=_0x5eb40d,_0x25b9e0;const _0x533062=this[_0x166889(0x3bd)][_0x166889(0x2a4)](Y);return(_0x25b9e0=_0x533062==null?void 0x0:_0x533062['downloadEndpointUrl'])!=null?_0x25b9e0:location['origin'];}[_0x5eb40d(0x371)](_0x12a8f7,_0x1f13fa){var _0x89f3a8=_0x5eb40d;return _0x12a8f7[_0x89f3a8(0x35d)](_0x89f3a8(0x2c8),_0x1f13fa);}[_0x5eb40d(0x327)](){var _0xf4375b=_0x5eb40d;this[_0xf4375b(0x320)]-=0x1,this[_0xf4375b(0x497)]['next'](this[_0xf4375b(0x320)]);}},exports[_0x5eb40d(0x3ce)]=Ai([xe(0x0,a[_0x5eb40d(0x22a)](q['HTTPService'])),xe(0x1,a[_0x5eb40d(0x150)]),xe(0x2,a[_0x5eb40d(0x22a)](a['IUniverInstanceService']))],exports[_0x5eb40d(0x3ce)]);var ki=Object[_0x5eb40d(0x2af)],Bi=Object[_0x5eb40d(0x22b)],Fi=(_0x57c6cb,_0x411a71,_0x3241ad,_0x151309)=>{var _0x251e05=_0x5eb40d;for(var _0x4764e8=_0x151309>0x1?void 0x0:_0x151309?Bi(_0x411a71,_0x3241ad):_0x411a71,_0xba7428=_0x57c6cb[_0x251e05(0x176)]-0x1,_0x3bddbd;_0xba7428>=0x0;_0xba7428--)(_0x3bddbd=_0x57c6cb[_0xba7428])&&(_0x4764e8=(_0x151309?_0x3bddbd(_0x411a71,_0x3241ad,_0x4764e8):_0x3bddbd(_0x4764e8))||_0x4764e8);return _0x151309&&_0x4764e8&&ki(_0x411a71,_0x3241ad,_0x4764e8),_0x4764e8;},_t=(_0x5c94fc,_0x23edf1)=>(_0x5ba9d9,_0x3e7684)=>_0x23edf1(_0x5ba9d9,_0x3e7684,_0x5c94fc);const Wi=_0x5eb40d(0x437);exports[_0x5eb40d(0x240)]=class{constructor(_0x15cdc5,_0xbb4743){var _0x4ebd92=_0x5eb40d;this[_0x4ebd92(0x3bd)]=_0x15cdc5,this[_0x4ebd92(0x202)]=_0xbb4743;}[_0x5eb40d(0x48c)](){var _0x2bb25e=_0x5eb40d,_0x380a64,_0x419125;const _0x3890c0=this[_0x2bb25e(0x3bd)][_0x2bb25e(0x2a4)](Ve),_0x11d526=this['_configService'][_0x2bb25e(0x2a4)](Y);return(_0x419125=(_0x380a64=_0x11d526==null?void 0x0:_0x11d526[_0x2bb25e(0x194)])!=null?_0x380a64:_0x3890c0)!=null?_0x419125:Wi;}async[_0x5eb40d(0x377)](_0x4598b9){var _0x278366=_0x5eb40d;const _0x5cd4d0=this[_0x278366(0x48c)]()+'/collaborator';return{'list':[{'title':_0x278366(0x364),'mentions':(await this[_0x278366(0x202)][_0x278366(0x319)](_0x5cd4d0,{'params':{'objectID':_0x4598b9[_0x278366(0x2a8)],'unitID':_0x4598b9[_0x278366(0x2a8)]}}))[_0x278366(0x35b)][_0x278366(0x455)]['map'](_0x184f14=>({'objectId':_0x184f14['id'],'name':_0x184f14[_0x278366(0x14b)]['name'],'metadata':{'icon':_0x184f14[_0x278366(0x14b)][_0x278366(0x37e)]},'label':_0x184f14[_0x278366(0x14b)][_0x278366(0x1ee)],'objectType':a[_0x278366(0x1da)][_0x278366(0x1d1)]})),'metadata':{},'type':a['MentionType'][_0x278366(0x1d1)]}]};}},exports[_0x5eb40d(0x240)]=Fi([_t(0x0,a['Inject'](a[_0x5eb40d(0x150)])),_t(0x1,a[_0x5eb40d(0x22a)](q[_0x5eb40d(0x226)]))],exports['MentionIoHttpService']);var Gi=Object[_0x5eb40d(0x2af)],Vi=Object[_0x5eb40d(0x22b)],Ki=(_0x33f268,_0xc2917e,_0x11b9ea,_0x443690)=>{var _0x36b76e=_0x5eb40d;for(var _0x1b60ed=_0x443690>0x1?void 0x0:_0x443690?Vi(_0xc2917e,_0x11b9ea):_0xc2917e,_0x255bee=_0x33f268[_0x36b76e(0x176)]-0x1,_0x2e4333;_0x255bee>=0x0;_0x255bee--)(_0x2e4333=_0x33f268[_0x255bee])&&(_0x1b60ed=(_0x443690?_0x2e4333(_0xc2917e,_0x11b9ea,_0x1b60ed):_0x2e4333(_0x1b60ed))||_0x1b60ed);return _0x443690&&_0x1b60ed&&Gi(_0xc2917e,_0x11b9ea,_0x1b60ed),_0x1b60ed;},ce=(_0x147583,_0x48c37f)=>(_0x551ea8,_0x24fcb9)=>_0x48c37f(_0x551ea8,_0x24fcb9,_0x147583);let Ue=class extends a[_0x5eb40d(0x372)]{constructor(_0x8a974a,_0x409637,_0x45589a,_0x12d4d9,_0x2486ee,_0x1dcb4e,_0x536cf6){var _0x52691b=_0x5eb40d;super(),this['_injector']=_0x8a974a,this[_0x52691b(0x1cd)]=_0x409637,this[_0x52691b(0x22e)]=_0x45589a,this[_0x52691b(0x3e2)]=_0x12d4d9,this[_0x52691b(0x2c6)]=_0x2486ee,this[_0x52691b(0x224)]=_0x1dcb4e,this[_0x52691b(0x46d)]=_0x536cf6,this[_0x52691b(0x442)](),this[_0x52691b(0x15c)]();}[_0x5eb40d(0x15c)](){var _0x57d730=_0x5eb40d;const _0x57c613=async _0x3cd8f9=>{var _0x13a803=_0x328b;(await this['_collaborationSessionService']['requireSession'](_0x3cd8f9))[_0x13a803(0x47a)]['pipe'](W[_0x13a803(0x310)](_0x809ed2=>_0x809ed2[_0x13a803(0x379)]===m['CollaborationEvent'][_0x13a803(0x3f4)]),W[_0x13a803(0x463)](this[_0x13a803(0x2fe)]))['subscribe'](_0x4b51d4=>{var _0x12e168=_0x13a803;const _0x1da95b=_0x4b51d4,{reason:_0x433ea9}=_0x1da95b[_0x12e168(0x49d)];this[_0x12e168(0x2c6)][_0x12e168(0x2e2)]({'id':Q[_0x12e168(0x397)],'data':_0x433ea9}),this[_0x12e168(0x22e)][_0x12e168(0x308)](new J[(_0x12e168(0x1cf))](_0x3cd8f9)['id'],!0x1),this[_0x12e168(0x3e2)]['closeSession'](_0x3cd8f9);});};H[_0x57d730(0x32d)](this[_0x57d730(0x1cd)]['getTypeOfUnitAdded$'](a[_0x57d730(0x385)][_0x57d730(0x35f)]),this[_0x57d730(0x1cd)][_0x57d730(0x434)](a[_0x57d730(0x385)][_0x57d730(0x3fe)]))['pipe'](W['map'](_0xf7fafe=>_0xf7fafe[_0x57d730(0x1cc)]()),W[_0x57d730(0x310)](_0x11e5f2=>!a[_0x57d730(0x3ff)](_0x11e5f2)),W[_0x57d730(0x463)](this[_0x57d730(0x2fe)]))[_0x57d730(0x1af)](_0x290324=>{_0x57c613(_0x290324);});}[_0x5eb40d(0x442)](){var _0x3c0300=_0x5eb40d;const _0x496854=async _0x12a08f=>{var _0x3c806a=_0x328b;const _0x4f3dc6=await this[_0x3c806a(0x3e2)][_0x3c806a(0x425)](_0x12a08f),_0x39316f=this[_0x3c806a(0x47b)][_0x3c806a(0x319)](J[_0x3c806a(0x303)]);_0x4f3dc6[_0x3c806a(0x47a)][_0x3c806a(0x469)](W['filter'](_0x8a35b2=>_0x8a35b2[_0x3c806a(0x379)]===m[_0x3c806a(0x29b)][_0x3c806a(0x3c2)]),W['takeUntil'](this['dispose$']))[_0x3c806a(0x1af)](_0x2d56d0=>{var _0x311e66=_0x3c806a;const _0x9fdabd=_0x2d56d0,{objectId:_0x395976}=_0x9fdabd[_0x311e66(0x49d)];_0x395976===_0x12a08f?_0x39316f[_0x311e66(0x403)](_0x12a08f):_0x39316f['refreshPermission'](_0x12a08f,_0x395976);});};H[_0x3c0300(0x32d)](this[_0x3c0300(0x1cd)][_0x3c0300(0x434)](a[_0x3c0300(0x385)][_0x3c0300(0x35f)]),this[_0x3c0300(0x1cd)][_0x3c0300(0x434)](a['UniverInstanceType'][_0x3c0300(0x3fe)]))['pipe'](W[_0x3c0300(0x3bb)](_0x29c5d2=>_0x29c5d2[_0x3c0300(0x1cc)]()),W[_0x3c0300(0x310)](_0x5aa99a=>!a[_0x3c0300(0x3ff)](_0x5aa99a)),W[_0x3c0300(0x463)](this['dispose$']))[_0x3c0300(0x1af)](_0x73d790=>{_0x496854(_0x73d790);});}};Ue=Ki([ce(0x0,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),ce(0x1,a[_0x5eb40d(0x341)]),ce(0x2,a['IPermissionService']),ce(0x3,a[_0x5eb40d(0x22a)](exports['CollaborationSessionService'])),ce(0x4,a[_0x5eb40d(0x22a)](te)),ce(0x5,a[_0x5eb40d(0x31d)]),ce(0x6,a[_0x5eb40d(0x460)])],Ue);var Yi=Object[_0x5eb40d(0x2af)],qi=Object[_0x5eb40d(0x22b)],zi=(_0x229d4f,_0x2c466a,_0x592c8d,_0x551375)=>{var _0x15ed4e=_0x5eb40d;for(var _0x4ac143=_0x551375>0x1?void 0x0:_0x551375?qi(_0x2c466a,_0x592c8d):_0x2c466a,_0xac39a2=_0x229d4f[_0x15ed4e(0x176)]-0x1,_0x17f725;_0xac39a2>=0x0;_0xac39a2--)(_0x17f725=_0x229d4f[_0xac39a2])&&(_0x4ac143=(_0x551375?_0x17f725(_0x2c466a,_0x592c8d,_0x4ac143):_0x17f725(_0x4ac143))||_0x4ac143);return _0x551375&&_0x4ac143&&Yi(_0x2c466a,_0x592c8d,_0x4ac143),_0x4ac143;},ut=(_0x3f2642,_0x552333)=>(_0x410a2c,_0x270cf3)=>_0x552333(_0x410a2c,_0x270cf3,_0x3f2642);exports[_0x5eb40d(0x286)]=class{constructor(_0x53176c,_0x2d85d2){var _0x43855e=_0x5eb40d;this['_configService']=_0x53176c,this[_0x43855e(0x205)]=_0x2d85d2;}async[_0x5eb40d(0x22c)](_0x28cbd8,_0x29e2ab){var _0xc48f3=_0x5eb40d,_0x4daf1c;const {unitID:_0x289021,type:_0x5a9151,revision:_0x1effb5=0x0}=_0x29e2ab,_0x2cad72=this[_0xc48f3(0x399)]()+'/'+_0x5a9151+_0xc48f3(0x2a5)+_0x289021+_0xc48f3(0x329)+_0x1effb5,_0x7da2b0=(await this[_0xc48f3(0x205)][_0xc48f3(0x319)](_0x2cad72))[_0xc48f3(0x35b)],_0x3d09c3=(_0x4daf1c=_0x7da2b0[_0xc48f3(0x47e)])==null?void 0x0:_0x4daf1c[_0xc48f3(0x31b)];if(_0x3d09c3){const _0x33a1f6=_0x3d09c3==null?void 0x0:_0x3d09c3['originalMeta'],_0x3503ca=m[_0xc48f3(0x144)][_0xc48f3(0x158)](m[_0xc48f3(0x35e)](_0x33a1f6));_0x3d09c3[_0xc48f3(0x231)]=_0x3503ca,Object[_0xc48f3(0x458)](_0x3d09c3[_0xc48f3(0x238)])[_0xc48f3(0x211)](([,_0x3a4681])=>{var _0x2efe15=_0xc48f3;const _0x32003c=_0x3a4681[_0x2efe15(0x231)],_0x355249=m[_0x2efe15(0x144)]['encode'](m[_0x2efe15(0x35e)](_0x32003c));_0x3a4681[_0x2efe15(0x231)]=_0x355249;});}return _0x7da2b0;}async['getSheetBlock'](_0x3f5764,_0x3a6c50){var _0x176374=_0x5eb40d;const {unitID:_0x39394a,type:_0x8293a,blockID:_0x35527e}=_0x3a6c50,_0x560486=this[_0x176374(0x219)]()+'/'+_0x8293a+_0x176374(0x2a5)+_0x39394a+_0x176374(0x4a0)+_0x35527e;return(await this[_0x176374(0x205)][_0x176374(0x319)](_0x560486))[_0x176374(0x35b)];}async[_0x5eb40d(0x3a0)](_0x3b0184,_0x4dd1f6){var _0x28a5c4=_0x5eb40d;const {unitID:_0x54c3b6,type:_0x3acd1e,blockID:_0x3668}=_0x4dd1f6,_0x352dc7=this['_getAPIPrefix']()+_0x28a5c4(0x4a0)+_0x3acd1e+_0x28a5c4(0x2a5)+_0x54c3b6+_0x28a5c4(0x4a0)+_0x3668;return(await this[_0x28a5c4(0x205)][_0x28a5c4(0x319)](_0x352dc7))[_0x28a5c4(0x35b)];}async['fetchMissingChangesets'](_0x34dde3,_0x106390){var _0x3efaa3=_0x5eb40d;const {unitID:_0x60e4fe,type:_0xdb7bfd,from:_0x3a6131,to:_0x39db81}=_0x106390,_0x358be8=this['_getAPIPrefix']()+'/'+_0xdb7bfd+_0x3efaa3(0x2a5)+_0x60e4fe+_0x3efaa3(0x356)+_0x3a6131+_0x3efaa3(0x350)+_0x39db81;return(await this[_0x3efaa3(0x205)][_0x3efaa3(0x319)](_0x358be8))['body'];}[_0x5eb40d(0x399)](){var _0x50c5bc=_0x5eb40d,_0x4ad85b;return(_0x4ad85b=this[_0x50c5bc(0x3bd)][_0x50c5bc(0x2a4)](ft))!=null?_0x4ad85b:this[_0x50c5bc(0x219)]();}[_0x5eb40d(0x219)](){var _0x2d4716=_0x5eb40d,_0x204c75,_0x616864;const _0xe22f8c=this[_0x2d4716(0x3bd)][_0x2d4716(0x2a4)](vt),_0x3b2cd8=this[_0x2d4716(0x3bd)][_0x2d4716(0x2a4)](Y);return(_0x616864=(_0x204c75=_0x3b2cd8==null?void 0x0:_0x3b2cd8[_0x2d4716(0x288)])!=null?_0x204c75:_0xe22f8c)!=null?_0x616864:Ht;}async['getResourcesRequest'](_0x1954f2,_0x7dcd57){var _0x141fac=_0x5eb40d;const _0xed23e2=_0x141fac(0x2d1)+_0x7dcd57[_0x141fac(0x33c)]+_0x141fac(0x2a5)+_0x7dcd57['unitID']+_0x141fac(0x19c);return(await this['_httpService'][_0x141fac(0x319)](_0xed23e2,{'params':{'resourceId':JSON[_0x141fac(0x2b5)](_0x7dcd57[_0x141fac(0x2bd)])}}))[_0x141fac(0x35b)];}[_0x5eb40d(0x394)](){var _0x3cf98c=_0x5eb40d;throw new Error(_0x3cf98c(0x423));}['saveSheetBlock'](){var _0x20f0f4=_0x5eb40d;throw new Error(_0x20f0f4(0x423));}[_0x5eb40d(0x216)](){var _0x26c801=_0x5eb40d;throw new Error(_0x26c801(0x423));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5eb40d(0x1b5)](){var _0x5a8dcd=_0x5eb40d;throw new Error(_0x5a8dcd(0x423));}},exports['SnapshotServerOverHTTPService']=zi([ut(0x0,a[_0x5eb40d(0x150)]),ut(0x1,a['Inject'](q[_0x5eb40d(0x226)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x5eb40d(0x2af)],Xi=Object[_0x5eb40d(0x22b)],Zi=(_0x1645ac,_0x1fa739,_0x26aa2f,_0x555702)=>{var _0x5074f7=_0x5eb40d;for(var _0x318638=_0x555702>0x1?void 0x0:_0x555702?Xi(_0x1fa739,_0x26aa2f):_0x1fa739,_0x463f68=_0x1645ac[_0x5074f7(0x176)]-0x1,_0xc7bdd1;_0x463f68>=0x0;_0x463f68--)(_0xc7bdd1=_0x1645ac[_0x463f68])&&(_0x318638=(_0x555702?_0xc7bdd1(_0x1fa739,_0x26aa2f,_0x318638):_0xc7bdd1(_0x318638))||_0x318638);return _0x555702&&_0x318638&&Ji(_0x1fa739,_0x26aa2f,_0x318638),_0x318638;},de=(_0x50845e,_0x687946)=>(_0x30bd48,_0x2af8b1)=>_0x687946(_0x30bd48,_0x2af8b1,_0x50845e);exports['CollaborativeUndoRedoService']=class extends a[_0x5eb40d(0x14d)]{constructor(_0x2520e9,_0x19cb9f,_0x23b2cf,_0x3bf9ff,_0x4f7dc7){var _0x49c360=_0x5eb40d;super(_0x2520e9,_0x19cb9f,_0x23b2cf),this[_0x49c360(0x3b5)]=_0x3bf9ff,this['_logService']=_0x4f7dc7;}[_0x5eb40d(0x1f5)](_0xecf29b,_0x5263c3){var _0x4b45e9=_0x5eb40d;const _0x1fd9a4=this[_0x4b45e9(0x147)](_0xecf29b);if(_0x1fd9a4)try{const _0x1ba8d5=this[_0x4b45e9(0x3ae)](_0x1fd9a4,_0x5263c3);this['_substituteUndoStack'](_0xecf29b,_0x1ba8d5);}catch(_0x3000f4){this['_logService']['error'](_0x4b45e9(0x1c8),_0x3000f4),this[_0x4b45e9(0x188)](_0xecf29b);}const _0x13925a=this[_0x4b45e9(0x1e4)](_0xecf29b);if(_0x13925a)try{const _0x15effe=this[_0x4b45e9(0x3ae)](_0x13925a,_0x5263c3);this[_0x4b45e9(0x2f2)](_0xecf29b,_0x15effe);}catch(_0x53ca2b){this[_0x4b45e9(0x430)][_0x4b45e9(0x2b2)](_0x53ca2b),this[_0x4b45e9(0x1ed)](_0xecf29b);}}['_clearUndo'](_0x4161fe){var _0xab3315=_0x5eb40d;const _0x9efa8e=this[_0xab3315(0x147)](_0x4161fe);_0x9efa8e&&(_0x9efa8e['length']=0x0,this[_0xab3315(0x3b8)]());}[_0x5eb40d(0x1ed)](_0x2f6a90){var _0x3ea631=_0x5eb40d;const _0xfe1a27=this[_0x3ea631(0x1e4)](_0x2f6a90);_0xfe1a27&&(_0xfe1a27[_0x3ea631(0x176)]=0x0,this[_0x3ea631(0x3b8)]());}[_0x5eb40d(0x3a4)](_0x269258,_0x1661d8){var _0x51252c=_0x5eb40d;this['_undoStacks'][_0x51252c(0x305)](_0x269258,_0x1661d8),this[_0x51252c(0x3b8)]();}[_0x5eb40d(0x2f2)](_0x40dbfa,_0x11279d){var _0x3018c2=_0x5eb40d;this[_0x3018c2(0x4a3)][_0x3018c2(0x305)](_0x40dbfa,_0x11279d),this[_0x3018c2(0x3b8)]();}[_0x5eb40d(0x3ae)](_0x3b3ace,_0x38a15f){var _0x176c63=_0x5eb40d;const _0x53557c=[];let _0x5361f3=_0x38a15f,_0x574e37=_0x38a15f;for(let _0x1ed671=_0x3b3ace['length']-0x1;_0x1ed671>=0x0;_0x1ed671--){const {unitID:_0x12e79a,undoMutations:_0x2fa85b,redoMutations:_0xcc5097}=_0x3b3ace[_0x1ed671],_0x3bf7dd=this[_0x176c63(0x3b5)][_0x176c63(0x3a7)](_0x5361f3,_0x2fa85b),_0x54ae55=this[_0x176c63(0x3b5)][_0x176c63(0x3a7)](_0x574e37,_0xcc5097);if(m[_0x176c63(0x180)](_0x3bf7dd)||m['isTransformMutationsWithChangesetFailure'](_0x54ae55)){this['_logService'][_0x176c63(0x2b2)](_0x176c63(0x1c8),_0x176c63(0x1b1),_0x3bf7dd,_0x54ae55);break;}_0x5361f3=_0x3bf7dd[_0x176c63(0x135)],_0x574e37=_0x54ae55['c1Prime'],_0x53557c[_0x176c63(0x452)]({'unitID':_0x12e79a,'undoMutations':_0x3bf7dd[_0x176c63(0x496)],'redoMutations':_0x54ae55[_0x176c63(0x496)]});}return _0x53557c[_0x176c63(0x1bd)]();}},exports[_0x5eb40d(0x398)]=Zi([de(0x0,a[_0x5eb40d(0x341)]),de(0x1,a[_0x5eb40d(0x223)]),de(0x2,a[_0x5eb40d(0x495)]),de(0x3,m[_0x5eb40d(0x19e)]),de(0x4,a[_0x5eb40d(0x2d3)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x5eb40d(0x2af)],Qi=Object[_0x5eb40d(0x22b)],er=(_0x462262,_0x401765,_0x4faad5)=>_0x401765 in _0x462262?Lt(_0x462262,_0x401765,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4faad5}):_0x462262[_0x401765]=_0x4faad5,tr=(_0x3e65f0,_0x3e4cf3,_0x326cf7,_0x49b581)=>{for(var _0x2ef36f=_0x49b581>0x1?void 0x0:_0x49b581?Qi(_0x3e4cf3,_0x326cf7):_0x3e4cf3,_0x39e1ce=_0x3e65f0['length']-0x1,_0x408d39;_0x39e1ce>=0x0;_0x39e1ce--)(_0x408d39=_0x3e65f0[_0x39e1ce])&&(_0x2ef36f=(_0x49b581?_0x408d39(_0x3e4cf3,_0x326cf7,_0x2ef36f):_0x408d39(_0x2ef36f))||_0x2ef36f);return _0x49b581&&_0x2ef36f&&Lt(_0x3e4cf3,_0x326cf7,_0x2ef36f),_0x2ef36f;},je=(_0x1ef6b0,_0x48979d)=>(_0x881fc2,_0x22b51e)=>_0x48979d(_0x881fc2,_0x22b51e,_0x1ef6b0),nr=(_0x56e111,_0xb42a96,_0x12fbd7)=>er(_0x56e111,_0xb42a96+'',_0x12fbd7);const ir='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x5eb40d(0x386)]=class extends a[_0x5eb40d(0x424)]{constructor(_0x53c564=Ke,_0x1316ea,_0xc9c29d,_0x283dbe){var _0xa6fddb=_0x5eb40d;super(),this[_0xa6fddb(0x3ba)]=_0x53c564,this[_0xa6fddb(0x430)]=_0x1316ea,this['_injector']=_0xc9c29d,this[_0xa6fddb(0x3bd)]=_0x283dbe;const {..._0x361f8e}=a[_0xa6fddb(0x32d)]({},Ke,this[_0xa6fddb(0x3ba)]);this['_configService']['setConfig'](Y,_0x361f8e);}[_0x5eb40d(0x15f)](){var _0x1f2a46=_0x5eb40d;this[_0x1f2a46(0x27b)](),this[_0x1f2a46(0x3f1)]();}[_0x5eb40d(0x27b)](){var _0x4adba5=_0x5eb40d,_0x262cf8,_0x15fe87,_0x4f65eb,_0x5cf422;this[_0x4adba5(0x47b)][_0x4adba5(0x276)](a[_0x4adba5(0x460)])&&this[_0x4adba5(0x430)]['error']('[UniverCollaborationClientPlugin]',_0x4adba5(0x38a));const _0x420ce9=a['mergeOverrideWithDependencies']([[a[_0x4adba5(0x460)],{'useClass':exports[_0x4adba5(0x398)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4adba5(0x1ec)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x4adba5(0x28f)]],[ke,{'useClass':(_0x15fe87=(_0x262cf8=this['_config'])==null?void 0x0:_0x262cf8['socketService'])!=null?_0x15fe87:exports['CollaborationSocketService']}],[m['ISnapshotServerService'],{'useClass':exports[_0x4adba5(0x286)]}],[a[_0x4adba5(0x31d)],{'useClass':exports[_0x4adba5(0x195)]}],[X[_0x4adba5(0x3f5)],{'useClass':exports[_0x4adba5(0x3ce)]}],[a['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4adba5(0x367)]],[$e]],(_0x4f65eb=this[_0x4adba5(0x3ba)])==null?void 0x0:_0x4f65eb['override']);if(!((_0x5cf422=this[_0x4adba5(0x3ba)])!=null&&_0x5cf422[_0x4adba5(0x456)])){const _0x3bb508=_0x420ce9[_0x4adba5(0x30a)](([_0x50c1e0])=>_0x50c1e0===ve);_0x3bb508!==-0x1&&_0x420ce9[_0x4adba5(0x25f)](_0x3bb508,0x1);}a[_0x4adba5(0x21c)](this[_0x4adba5(0x47b)],_0x420ce9);}[_0x5eb40d(0x3f1)](){var _0x59112d=_0x5eb40d,_0x143dd4,_0x3ca4bb,_0xd52c00;this[_0x59112d(0x47b)][_0x59112d(0x319)](q[_0x59112d(0x226)])[_0x59112d(0x13a)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x143dd4=this[_0x59112d(0x3ba)])!=null&&_0x143dd4[_0x59112d(0x166)]||(_0x3ca4bb=this[_0x59112d(0x47b)][_0x59112d(0x319)](z,a[_0x59112d(0x146)][_0x59112d(0x14a)]))==null||_0x3ca4bb[_0x59112d(0x45d)](),(_0xd52c00=this[_0x59112d(0x3ba)])!=null&&_0xd52c00['enableAuthServer']&&a[_0x59112d(0x3db)](this[_0x59112d(0x47b)],[[ye]]),a[_0x59112d(0x3db)](this[_0x59112d(0x47b)],[[Ne],[exports[_0x59112d(0x367)]],[Ue]]);}},nr(exports[_0x5eb40d(0x386)],_0x5eb40d(0x3ad),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x5eb40d(0x358)](m[_0x5eb40d(0x258)],J[_0x5eb40d(0x29e)],q[_0x5eb40d(0x2c3)]),je(0x1,a[_0x5eb40d(0x2d3)]),je(0x2,a[_0x5eb40d(0x22a)](a[_0x5eb40d(0x1dd)])),je(0x3,a[_0x5eb40d(0x150)])],exports[_0x5eb40d(0x386)]),exports[_0x5eb40d(0x3b3)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports[_0x5eb40d(0x24e)]=St,exports[_0x5eb40d(0x44e)]=We,exports[_0x5eb40d(0x2a1)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x5eb40d(0x383)]=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x5eb40d(0x214)]=mt,exports[_0x5eb40d(0x498)]=He,exports[_0x5eb40d(0x39f)]=ke,exports[_0x5eb40d(0x242)]=z,exports[_0x5eb40d(0x32b)]=Rt,exports[_0x5eb40d(0x2f8)]=ve,exports[_0x5eb40d(0x332)]=Yt,exports[_0x5eb40d(0x3f7)]=Kt,exports['LOGIN_URL_KEY']=Ct,exports[_0x5eb40d(0x295)]=Jt,exports[_0x5eb40d(0x38f)]=It,exports[_0x5eb40d(0x249)]=kt,exports[_0x5eb40d(0x31a)]=vt,exports[_0x5eb40d(0x1f9)]=ft,exports['SessionStatus']=se,exports[_0x5eb40d(0x3d9)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x5eb40d(0x2bc)]=In,exports['serializeCombRequest']=yt;
|
1
|
+
'use strict';function _0x23f8(){var _0x5d9899=['Disposable','_append','encodeURIComponent','fetch_missing','result','_transformSelections','MSG_FOR_ERROR','save\x20fail\x20reason\x20is\x20','DocCollaborationEntity','_status$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','editing\x20status\x20changed\x20to','objectActions','_clearTimeoutTimer','[CollaborationSession]','AwaitingState','IMentionIOService','replace','_isPermissionRej','_members$','compute','_createInitialStateImpl','saveSnapshot','_fetchMissChangesets','commentUpdateEvent','_createSocket','_handler','_onConnectionOpen','LIVESHARE_FETCH_OPERATIONS','onSendChangeset','DisposableCollection','hostname','floor','_rescheduleHeartbeat','CONFLICT','PENDING','collaMsg','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','deepClone','onMissingChangesets','_ENC_XFORM_MODE','SnapshotServerOverHTTPService','YUUMI_URL_COL_OUT_OF_RANGE','getFocusedUnit','UNIVER_SLIDE','_onUserLeave','loadSheet','_configService','_awaitingChangeset','toString','loginUrlKey','HttpExport','toggleOffline','set','_queuedRemoteChangesets','sin','NO_OTHER_CLIENTS_EDITING','collaboratorID','_config','@univerjs/sheets','abs','_initCloseConn','image/bmp','objectID','call','3170790WZlIFR','getCollabEntity$','createEncryptor','SNAPSHOT_SERVER_URL_KEY','onRemoteChangeset','_toggleOffline','InsertSheetMutation','GLOBAL_ROOMS_CNT_EXCEEDS','listRoles','csShouldRetryEvent','ThresholdInterceptorFactory','169532HKfNPq','_mode','Hex','ENSURE_SNAPSHOT_EXECUTION','UNRECOGNIZED','resend','YUUMI_UNABLE_LOAD_URL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','UniverCollaborationClientPlugin','\x0aAfter:\x20','init','MentionIoHttpService','/allowed','c1Prime','_substituteUndoStack','getInterceptPoints','override','RETRY_CONNECTING_MAX_COUNT','_collabSessionService','_singleActiveUnitService','encryptBlock','_updateStatus','PSEUDO_FETCH_MISSING_RESULT','_substituteRedoStack','state','responseType','_http','IConfigService','_getDownloadEndpointURL','_sendHeartbeatTimer','_doProcessBlock','_localeService','IDLE','__Key__','textEncoder','_emitMembers','event$','json','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','HmacSHA1','setShowComponents','1437975ALSqNa','collaboration_new_changeset','_change$','_eventService','debug','BlockCipherMode','_onCombEvent','next','_networkConditionService','takeUntil','MemberService','YUUMI_SUBSCRIPTION_NOT_FOUND','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[CollaborationUndoRedoService]','AWAITING','_socketMessageSubscription','waitForRoom$','BufferedBlockAlgorithm','univer-pro.collaboration-client.single-active-unit-service','SyncedState','_prevBlock','blockSize','[CollaborationSessionService]:\x20socket\x20error','JOIN_ROOM_FULL','update','UserManagerService','ITransformService','authzUrl','sessionTicket','APPLY_REJECT','IPermissionService','parse','synced','SNAPSHOT_HAS_BEEN_REMOVED','enableOfflineEditing','open$','__creator','_doReset','asObservable','Subject','/rev/','_hash','HEARTBEAT_INTERVAL','/universer-api/snapshot/','AUTHZ_URL_KEY','/universer-api/snapshot','_sender','RECV','SOCKET_FAILED_RETRY','_socketService','_event$','compose','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_loadDoc','NEW_CHANGESETS','liveShareOperation','reqId','image/jpg','unitInfo$','LocalUndoRedoService','_clearLocalCache','deleteCollaborator','@univerjs-pro/collaboration','status','target','\x0aCurrent:\x20','saveChangeset','_sessionStatus$','JOIN_ROOM_FAILED','[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.','RichTextEditingMutation','UNIVER_DOC','awaitingChangeset','ImageUploadStatusType','getUnitStatus$','map','3965024Pvesqh','PendingState','_getCtorByUniverType','Malformed\x20UTF-8\x20data','Hasher','_getUndoStack','readAsDataURL','onTransformSelections','getDeserializedSheetBlock','UniverNetworkPlugin','_lockTransition','[DataLoaderService]','params','readInt32LE','ERROR_IMAGE_TYPE','LICENSE_IMPORT_SIZE_EXCEEDED','CollaborativeUndoRedoService','equals','dispose$','@univerjs/network','catch','_onOffline','awaiting_with_pending','AwaitingWithPendingState','transformStack\x20failed!','_init','_entities','ILogService','objects','sheets','getOwnPropertyDescriptor','ISocketService','_tryReconnect','_keyPriorReset','INTERNAL_ERROR','isArray','BlockCipher','LOGIN_URL_KEY','extend','CHANGESET_ACK','state$','POST','_changesetReqId','telemetry\x20info\x20is\x20not\x20initialized','parseChangesetToProtocol','_DEC_XFORM_MODE','UPDATE_PERMISSION_OBJ','LIVESHARE_NEW_HOST','refreshPermission','fromCollab','collabWebSocketUrl','roles','pauseCollaboration','socket\x20open.','changesets','downloadEndpointUrl','SheetCollaborationEntity','\x20-\x20','_onLocalMutation','@univerjs/docs','_logService','requestParams','kdf','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','cfg','sid','conflict','getGlobalObject','AuthzIoHttpService','defineProperty','DEFAULT_FILE_NAME','COLLAB_SUBMIT_CHANGESET_URL','getCurrentUser','SheetTransformSelectionsService','MergeInterceptorFactory','UnitSnapshot','JOIN_ROOM_NOT_EXISTS','post','PERMISSION_DENIED','setWaitCount','take','SHOULD_CLOSE_CONN','string','OpenSSL','default','UNIVER_SHEET','HMAC','_unitInfo$','_getSendChangesetTimeout','retryConnectingInterval','_changesetSessionId','NOT_COLLAB','UnitStatus','avatar','fromCharCode','SUBMIT_CHANGESET','liveShareNewHost','name','_sendHeartbeat','function','LocaleService','_undoStacks','_snapshotService','INVALID_ARGUMENT','sessionStatus$','FETCH_MISS','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','concat','272058DfFYUX','_parse','CHANGESET_REJ','_collaborationUIEventService','infoRsp','Injector','_updateLocalCache','_transitionLocked','_roomMembers','_telemetryService','charAt','_getAPIPrefix','has','_memberService','_entityInit$','startTime','SHA1','_xformMode','UNKNOWN_CMD','copyFileMeta','OfflineState','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Rectangle','_sendingTimer','UPDATE_CURSOR','encode','parseProtocolChangeset','selections','MD5','/universer-api/file/{fileID}/sign-url','loadDoc','_sheetTransformSelectionsService','saveImage','createCollaborator','delete','SNAPSHOT_URL_KEY','create','Base64','pad','add','ReplaySubject','createInstance','[CollaborationSessionService]','@univerjs-pro/license','ILocalCacheService','getSheetBlock','USERS_ENTER','values','Error\x20on\x20receiving\x20event','JOIN','SUBMIT_CHANGESET_TIMEOUT','splice','memberID','33LSpAMq','_initRequestHeader','_applyRemoteChangeset','byteLength','getRandomValues','put','getResourcesRequest','COMMENT_UPDATE','_checkMissing','members','_createHelper','/universer-api/user/session-ticket','leaveEvent','getMember','People','_getUploadFileURL','getRoom','slice','_retryConnectingTimer','pipe','push','error$','_iv','IAuthzIoService','_injector','searchParams','Decryptor','COLLAB_WEB_SOCKET_URL_KEY','baseRev','CollaborationStatus','toLowerCase','_createSocketURL','APPLY_REVISION_CONFILICT','fetchMissingChangesets','/resources','_state$','_commentUpdate$','editingUnit','shareReplay','textRanges','padding','concatMap','_joinRoom','onTransformIME','sessionStatus','toStringTag','_transformStack','joinEvent','HEARTBEAT_INTERVAL_KEY','getUnitOnRev','85491HgqjXY','_revisionService','_updateState','_onRemoteRejected','collaborators','roomInfos','AES','eventID','_transformRemoteChangesetByIMECache','UNIVER_COLLABORATION_CLIENT_PLUGIN','TOO_MANY_REQUESTS','_clearUndo','CollaborationEvent','onSyncEditingCollabCursor','UNAUTHENTICATED','[OfflineState]:\x20received\x20changeset.','_unlockTransition','[SyncedState]:\x20received\x20acknowledgement.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','resourceIDs','entries','CollaborationController','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteAck','_map','RevisionService','IUndoRedoService','Could\x20not\x20dynamically\x20require\x20\x22','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','range','initWorkbookPermissionChange','randomBytes','_initUnitPermissionChange','/universer-api/authz','_onRemoteACK','find','MentionType','localeService','every','?size=','processBlock','SheetsSelectionsService','NOT_FOUND','signUrlServerUrl','UNIVER_UNKNOWN','INGEST','isTransformMutationsWithChangesetSuccess','then','[CollaborationState]:\x20apply\x20error!','exports','action','src','_localCacheService','getActiveSheet','ERROR_IMAGE','href','enc','ALREADY_EXISTS','/object/','close$','filter','sigBytes','iterations','UniverCollaborationPlugin','53586VeHKLu','withCredentials','CollaborationImageIoService','userID','_nRounds','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','incrementRevOfUnit','_shouldReportTelemetry','decrypt','_userManagerService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting','_timeoutTimer','runId','message$','HmacMD5','mutations','_state','clear','mixIn','_toggleOnline','unit-cache-','finalize','LIVESHARE_OPERATION','getUnitId','send','getCollabEntity','[OfflineState]:\x20received\x20rejection.','socketService','HEARTBEAT_TIMEOUT','_collaborationSessionService','_initDependencies','CollaborationSessionService','_process','format','putCollaborators','SetSelectionsOperation','auth.needGotoLoginAlert','CommandType','updatePermissionPoint','executeCommand','onRemoteRetry','_schedule','_pendingMutations','_replayCachedMutations','_authzIoService','msCrypto','_stopTelemetryCollaborationNewChangeset','routeKey','&source=','Cipher','_data','reset','_socket$','fetchThroughInterceptors','onCommandExecuted','@univerjs/drawing','APPLY_PERMISSION_DENIED','_startCollaboration','random','_incrementRevisionNumber','getValue','/-/object/list','_nDataBytes','CollaborationSession','IUniverInstanceService','unsubscribe','getAllMembers','_doCryptBlock','updateMember','list','JOINING','emitEvent','shouldCloseConn','_hasher','uploadFileServerUrl','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addImageSourceCache','/new_changes','_removeRoom','_loadSheet','getTypeOfUnitAdded$','getImage','SerializableCipher','session.room-permission-denied','cmd','unitId\x20is\x20not\x20found','hasher','title','charCodeAt','unitId','ICollaborationSocketService','UNKNOWN_CODE','UUID','_throwTelemetryCollaborationNewChangeset','_resendWithTimeout','encrypt','APPLY_DUPLICATED','_retryCount','HELLO','_undoRedoService','subject','apply','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getTypeOfUnitDisposed$','revision','application/json','ImageSourceType','isTransformChangesetsSuccess','prototype','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','registerDependencies','SNAPSHOT_INVALID_SNAPSHOT','HTTPRequest','ISingleActiveUnitService','session','_oKey','mapDocumentTypeToUniverType','FetchingMissState','INetworkConditionService','Latin1','url','DataLoaderService','CHANGESET_REVISION_CONFILICT','/-/object/-/batch_allowed','touchDependencies','_resendTimeout','&to=','transformMutationsWithChangeset','ERROR_EXCEED_SIZE','CollaborationEntity','session.room-not-exists','ITelemetryService','onLocalMutation','transformUndoRedo','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByIMECache','bind','ivSize','objectType','crypto','_transformRemoteChangesetByStateCache','_onConnectionFailed','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_waitCount','actions','appendMutation','IContextService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_SHOULD_RETRY','_disableEditing','b64DecodeUnicode','_snapshotServerService','_onRemoteChangeset','_scheduleCompleteTimestamp','_exhaustRemoteChangesetQueue','_instanceService','_getSignURL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','method','complete','get','_initMergeInterceptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','wsSessionTicketUrl','_createHandler','min','_keySchedule','code','_clearScheduledTask','_unitID','_roomCreated$','CollaborationSocketService','COMPRESS_MUTATION_SEND','_syncEditingCollabCursor','OFFLINE','batchAllowed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCurrentRevOfUnit','_submitChangeset','[UniverCollaborationClientPlugin]','Optional','ceil','unpad','getSheetId','reconnect','type','CompressMutationService','UNISCRIPT_RUN','hasOwnProperty','clamp','{fileID}','rxjs/operators','_getRedoStack','getLatestCsReqIdBySid','pending','_doFinalize','DependentOn','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_commandService','_onFetchMissResult','_members','_onConflict','_invKeySchedule','HttpImport','_type','m2Prime','_HTTPService','_resendTimer','session.room-full','forEach','_collaborationTimeoutTimer','MUTATION','USERS_LEAVE','includes','image/jpeg','getConfig','/block/','onTransformState','UNDEFINED','enableAuthServer','length','newCsEvent','_remoteChangesetQueue','HTTPService','_getAPIPrefixPath','reduce','APPLY_NON_SEQUENTIAL_REVISION','words','Plugin','_cipher','$super','_clearCollaborationTimeoutTimer','duration','setConfig','_onRemoteRetry','StreamCipher','requireSession','fetchMiss','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','randomUUID','transformSelections','execute','snapshot','rev','repeat','_reverseMap','ICommandService','isTransformMutationsWithChangesetFailure','image/gif','YUUMI_RATE_OVER_LIMIT','LIVESHARE_TERMINATE','_listenToNetworkCondition','delay','_collaborationPaused','_showConflictNotification','getMemberID','onCommentUpdate','collaboration-client.local-cache-service','_replaceFileID','sequenceExecute','_compressMutationService','Inject','interceptor','startsWith','not_collab','SEND_CHANGESET_TIMEOUT','pluginName','[SyncedState]:\x20received\x20rejection.','_startTelemetryCollaborationNewChangeset','members$','WorkbookEditablePermission','/collaborator','localCacheService','socket$','SEND_CHANGESET_TIMEOUT_KEY','SessionStatus','PERSON','FileId','offline','now','\x20in\x20_schedule.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getLoginPath','[FetchMissState]','SOCKET_FAILED','FAIL','joinRsp','_candidateSocket','isInternalEditorID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','reject','search','salt','SYNCED','ciphertext','Encryptor','DEFAULT_COLLAB_WEB_SOCKET_URL','loadOfflineData','univer-pro.collaboration-client.network-condition.service','ConflictState','PY_RUNTIME_SCRIPT_ERROR','_iKey','COMPRESS_MUTATION_APPLY','[PendingState]:\x20received\x20acknowledgement.','Tools','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_createHmacHelper','clone','updateCursorEvent','SheetPermissionInitController','decryptBlock','LOCAL_CACHE_INTERVAL_KEY','subscribe','_registerDependencies','?url=','submit\x20changeset\x20error!','toggleOnline','location','__esModule','failed\x20to\x20apply\x20missed\x20changesets!','collabSubmitChangesetUrl','_permissionService','BASE64','getUnitType','CLOSE_ROOM','mode','WordArray','_transformService','session.room-cnt-exceeds','dispose','/universer-api/oidc/authpage','close','algo','CommentService','CBC','serializeCombRequest','ONLINE','EvpKDF','Module','body','EXCHANGE_SIGN_URL_SERVER_URL_KEY','entityInit$','/unit/','OTHER_CLIENT_EDITING','max','_imageSourceCache','UnitEmbedded','image/png','toDisposable','origin','univer-pro.collaboration-client-socket-service','_clearRedo','getWorkbookSelections','keySize','data','_key','_telemetryInfo','_executeRemoteChangeset','/universer-api/stream/file/upload','_createInitialState','[CollaborationEntity]','_handlerCallback','onRemoteRej','LICENSE_DISTRO_REJECTED','ISnapshotServerService','_onUserJoin','merge','onTransformRemoteChangesetByStateCache','_onMessage','_decreaseWaiting','onlyLocal','size','BehaviorSubject','originalMeta','firstValueFrom','setCurrentUser','_socketReady','_transformStateCache','key','FETCH_MISSING','_socket','LEAVE','session.join-failed','from','stringify','Pkcs7','@univerjs/core','lib','RETRY_CONNECTING_MAX_COUNT_KEY','unitID','isPermissionRej','status$','createIdentifier','_httpService','onMissedChangesetFetched','RxDisposable','_clearHeartbeatTimer','_acknowledgedAwaitingChangeset','online$','Utf8','_waitForHeartbeatResponse','unknown','Undefined','JOIN_ROOM_PERMISSION_DENIED','UniverInstanceType','/object','getTime','_getCurrentRevision','transformChangesets','disposeWithMe','error','_sessions','_univerInstanceService','rxjs','COMPLETION_FINISHED','createSocket','PERMISSION_REJ','ws://127.0.0.1:8000/universer-api/comb/connect','join','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT','getCurrentSelections','LIVESHARE_REQUEST_HOST'];_0x23f8=function(){return _0x5d9899;};return _0x23f8();}var _0x81f569=_0x9ceb;(function(_0x599cfc,_0x476a54){var _0x2c0ab0=_0x9ceb,_0x1b36d1=_0x599cfc();while(!![]){try{var _0x2a5415=-parseInt(_0x2c0ab0(0x2db))/0x1+parseInt(_0x2c0ab0(0x274))/0x2+-parseInt(_0x2c0ab0(0x2a9))/0x3*(parseInt(_0x2c0ab0(0x510))/0x4)+-parseInt(_0x2c0ab0(0x53a))/0x5+-parseInt(_0x2c0ab0(0x31b))/0x6+parseInt(_0x2c0ab0(0x505))/0x7+parseInt(_0x2c0ab0(0x208))/0x8;if(_0x2a5415===_0x476a54)break;else _0x1b36d1['push'](_0x1b36d1['shift']());}catch(_0x2fdd61){_0x1b36d1['push'](_0x1b36d1['shift']());}}}(_0x23f8,0x39b6d));var Mt=Object[_0x81f569(0x24d)],xt=(_0x5a378c,_0x3a3067,_0x53fc7f)=>_0x3a3067 in _0x5a378c?Mt(_0x5a378c,_0x3a3067,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53fc7f}):_0x5a378c[_0x3a3067]=_0x53fc7f,D=(_0x4df207,_0xbb43b4,_0x36e876)=>xt(_0x4df207,typeof _0xbb43b4!='symbol'?_0xbb43b4+'':_0xbb43b4,_0x36e876);Object[_0x81f569(0x24d)](exports,Symbol[_0x81f569(0x2d6)],{'value':_0x81f569(0x46e)});const a=require(_0x81f569(0x49e)),H=require(_0x81f569(0x4b9)),W=require(_0x81f569(0x3db)),q=require(_0x81f569(0x21b)),m=require(_0x81f569(0x1fa)),jt=require('@univerjs/telemetry'),dt=require(_0x81f569(0x243)),J=require(_0x81f569(0x4ff)),X=require(_0x81f569(0x353)),$t=require(_0x81f569(0x29f)),vt='SNAPSHOT_SERVER_URL_KEY',Ht=_0x81f569(0x1e9),ft=_0x81f569(0x297),kt=_0x81f569(0x425),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x81f569(0x4bd),Ft=_0x81f569(0x2b4),mt=_0x81f569(0x1e6),Wt=0x7530,He=_0x81f569(0x338),gt=0x4e20,Gt=0x4e20,It=_0x81f569(0x522),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x81f569(0x24f),qt='/universer-api/comb',Ct='LOGIN_URL_KEY',zt=_0x81f569(0x466),Jt=_0x81f569(0x3a2),Xt='/universer-api/uniscript';var Tt=(_0x3f2299=>(_0x3f2299[_0x3f2299[_0x81f569(0x3f6)]=0x0]=_0x81f569(0x3f6),_0x3f2299[_0x3f2299['OK']=0x1]='OK',_0x3f2299[_0x3f2299[_0x81f569(0x22a)]=0x2]=_0x81f569(0x22a),_0x3f2299[_0x3f2299[_0x81f569(0x256)]=0x3]=_0x81f569(0x256),_0x3f2299[_0x3f2299[_0x81f569(0x305)]=0x4]=_0x81f569(0x305),_0x3f2299[_0x3f2299[_0x81f569(0x2e9)]=0x5]=_0x81f569(0x2e9),_0x3f2299[_0x3f2299[_0x81f569(0x314)]=0x6]='ALREADY_EXISTS',_0x3f2299[_0x3f2299[_0x81f569(0x26f)]=0x7]='INVALID_ARGUMENT',_0x3f2299[_0x3f2299[_0x81f569(0x2e5)]=0x8]='TOO_MANY_REQUESTS',_0x3f2299[_0x3f2299[_0x81f569(0x4ba)]=0x9]=_0x81f569(0x4ba),_0x3f2299[_0x3f2299[_0x81f569(0x396)]=0x1389]=_0x81f569(0x396),_0x3f2299[_0x3f2299[_0x81f569(0x38b)]=0x1771]=_0x81f569(0x38b),_0x3f2299[_0x3f2299[_0x81f569(0x55b)]=0x1772]=_0x81f569(0x55b),_0x3f2299[_0x3f2299[_0x81f569(0x513)]=0x1773]=_0x81f569(0x513),_0x3f2299[_0x3f2299[_0x81f569(0x557)]=0x1b59]=_0x81f569(0x557),_0x3f2299[_0x3f2299[_0x81f569(0x3fe)]=0x1b5a]=_0x81f569(0x3fe),_0x3f2299[_0x3f2299[_0x81f569(0x2c9)]=0x1b5b]=_0x81f569(0x2c9),_0x3f2299[_0x3f2299[_0x81f569(0x354)]=0x1b5c]=_0x81f569(0x354),_0x3f2299[_0x3f2299[_0x81f569(0x37c)]=0x1b5d]=_0x81f569(0x37c),_0x3f2299[_0x3f2299['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3f2299[_0x3f2299['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3f2299[_0x3f2299[_0x81f569(0x3cc)]=0x232a]=_0x81f569(0x3cc),_0x3f2299[_0x3f2299[_0x81f569(0x217)]=0x232b]=_0x81f569(0x217),_0x3f2299[_0x3f2299['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f2299[_0x3f2299[_0x81f569(0x487)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3f2299[_0x3f2299[_0x81f569(0x516)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3f2299[_0x3f2299[_0x81f569(0x4ee)]=0x2712]=_0x81f569(0x4ee),_0x3f2299[_0x3f2299[_0x81f569(0x415)]=0x2713]=_0x81f569(0x415),_0x3f2299[_0x3f2299[_0x81f569(0x545)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3f2299[_0x3f2299['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x81f569(0x448),_0x3f2299[_0x3f2299['UNRECOGNIZED']=-0x1]=_0x81f569(0x514),_0x3f2299))(Tt||{}),Z=(_0x1f3332=>(_0x1f3332[_0x1f3332[_0x81f569(0x307)]=0x0]=_0x81f569(0x307),_0x1f3332[_0x1f3332[_0x81f569(0x203)]=0x1]=_0x81f569(0x203),_0x1f3332[_0x1f3332[_0x81f569(0x25d)]=0x2]='UNIVER_SHEET',_0x1f3332[_0x1f3332[_0x81f569(0x4f0)]=0x3]=_0x81f569(0x4f0),_0x1f3332[_0x1f3332['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1f3332[_0x1f3332[_0x81f569(0x514)]=-0x1]=_0x81f569(0x514),_0x1f3332))(Z||{}),G=(_0x4aec9c=>(_0x4aec9c[_0x4aec9c['UNKNOWN_CMD']=0x0]=_0x81f569(0x286),_0x4aec9c[_0x4aec9c[_0x81f569(0x37e)]=0x1]='HELLO',_0x4aec9c[_0x4aec9c[_0x81f569(0x2a5)]=0x2]=_0x81f569(0x2a5),_0x4aec9c[_0x4aec9c[_0x81f569(0x499)]=0x3]='LEAVE',_0x4aec9c[_0x4aec9c['INGEST']=0x4]=_0x81f569(0x308),_0x4aec9c[_0x4aec9c['HEARTBEAT']=0x5]=_0x81f569(0x4c0),_0x4aec9c[_0x4aec9c[_0x81f569(0x1eb)]=0x6]=_0x81f569(0x1eb),_0x4aec9c[_0x4aec9c[_0x81f569(0x514)]=-0x1]=_0x81f569(0x514),_0x4aec9c))(G||{}),he=(_0x41eec4=>(_0x41eec4[_0x41eec4[_0x81f569(0x377)]=0x0]='UNKNOWN_CODE',_0x41eec4[_0x41eec4['OK']=0x1]='OK',_0x41eec4[_0x41eec4['FAIL']=0x2]='FAIL',_0x41eec4[_0x41eec4[_0x81f569(0x551)]=0x3e9]=_0x81f569(0x551),_0x41eec4[_0x41eec4[_0x81f569(0x254)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x41eec4[_0x41eec4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x81f569(0x4af),_0x41eec4[_0x41eec4[_0x81f569(0x50c)]=0x3ec]=_0x81f569(0x50c),_0x41eec4[_0x41eec4['UNRECOGNIZED']=-0x1]=_0x81f569(0x514),_0x41eec4))(he||{}),bt=(_0x20c50c=>(_0x20c50c[_0x20c50c[_0x81f569(0x4ae)]=0x0]=_0x81f569(0x4ae),_0x20c50c[_0x20c50c['HttpImport']=0x1]=_0x81f569(0x3e7),_0x20c50c[_0x20c50c['HttpExport']=0x2]=_0x81f569(0x4f7),_0x20c50c[_0x20c50c['UnitEmbedded']=0x3]='UnitEmbedded',_0x20c50c[_0x20c50c[_0x81f569(0x253)]=0x4]=_0x81f569(0x253),_0x20c50c[_0x20c50c[_0x81f569(0x514)]=-0x1]=_0x81f569(0x514),_0x20c50c))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x25b0b8=>(_0x25b0b8[_0x81f569(0x473)]='OTHER_CLIENT_EDITING',_0x25b0b8[_0x81f569(0x256)]=_0x81f569(0x256),_0x25b0b8[_0x81f569(0x4e5)]='CONFLICT',_0x25b0b8[_0x81f569(0x460)]=_0x81f569(0x460),_0x25b0b8[_0x81f569(0x200)]=_0x81f569(0x200),_0x25b0b8[_0x81f569(0x1ec)]=_0x81f569(0x1ec),_0x25b0b8['SOCKET_FAILED']=_0x81f569(0x438),_0x25b0b8['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x25b0b8))(Q||{});class te{constructor(){var _0x5e4623=_0x81f569;D(this,_0x5e4623(0x1ee),new H[(_0x5e4623(0x561))]()),D(this,'event$',this[_0x5e4623(0x1ee)][_0x5e4623(0x560)]());}['emitEvent'](_0x376511){var _0x208c26=_0x81f569;this[_0x208c26(0x1ee)]['next'](_0x376511);}}const Rt=a[_0x81f569(0x4a4)](_0x81f569(0x446));function Ot(_0x2f396f){var _0x5b8ca4=_0x81f569,_0x3e1f9a,_0x4d0f05,_0x20985e,_0x28b8ac,_0x15565e;const _0x24500c=_0x2f396f['data'],_0x248dae=JSON[_0x5b8ca4(0x559)](_0x24500c);switch(_0x248dae[_0x5b8ca4(0x370)]){case G[_0x5b8ca4(0x4c0)]:case G[_0x5b8ca4(0x37e)]:{const _0x323798=_0x248dae[_0x5b8ca4(0x278)];return{..._0x248dae,'data':_0x323798,'cmd':_0x248dae[_0x5b8ca4(0x370)]};}case G[_0x5b8ca4(0x2a5)]:{const _0xc30614=_0x248dae[_0x5b8ca4(0x43a)];return{..._0x248dae,'data':_0xc30614,'cmd':_0x248dae[_0x5b8ca4(0x370)]};}case G['RECV']:{const _0x23f9f1=_0x248dae[_0x5b8ca4(0x4e7)];switch(_0x23f9f1[_0x5b8ca4(0x2e2)]){case m['CollaborationEvent'][_0x5b8ca4(0x4bc)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':(_0x3e1f9a=_0x23f9f1['permissionRejEvent'])==null?void 0x0:_0x3e1f9a['cs']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x22f)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':(_0x4d0f05=_0x23f9f1['csAckEvent'])==null?void 0x0:_0x4d0f05['cs']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m['CollaborationEvent'][_0x5b8ca4(0x1f2)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':(_0x20985e=_0x23f9f1[_0x5b8ca4(0x3f9)])==null?void 0x0:_0x20985e['cs']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)]['CHANGESET_REJ']:return{..._0x248dae,'data':{..._0x23f9f1,'data':(_0x28b8ac=_0x23f9f1['csRejEvent'])==null?void 0x0:_0x28b8ac['cs']},'cmd':_0x248dae['cmd']};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x3b0)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':(_0x15565e=_0x23f9f1[_0x5b8ca4(0x50e)])==null?void 0x0:_0x15565e['cs']},'cmd':_0x248dae['cmd']};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x28c)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x450)]},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x2a2)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x2d8)]},'cmd':_0x248dae['cmd']};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x3f0)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x2b5)]},'cmd':_0x248dae['cmd']};case m['CollaborationEvent'][_0x5b8ca4(0x237)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x268)]},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x4df)]:case m[_0x5b8ca4(0x2e7)]['LIVESHARE_OPERATION']:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x1f3)]},'cmd':_0x248dae['cmd']};case m['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1['liveShareNewHost']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m['CollaborationEvent'][_0x5b8ca4(0x4c9)]:return{..._0x248dae,'data':_0x23f9f1,'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)]['COMMENT_UPDATE']:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x4db)]},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x236)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1['updatePermissionObjEvent']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x259)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1[_0x5b8ca4(0x364)]},'cmd':_0x248dae[_0x5b8ca4(0x370)]};case m[_0x5b8ca4(0x2e7)][_0x5b8ca4(0x3d7)]:return{..._0x248dae,'data':{..._0x23f9f1,'data':_0x23f9f1['uniscriptRunEvent']},'cmd':_0x248dae[_0x5b8ca4(0x370)]};default:return _0x248dae;}}default:return _0x248dae;}}function yt(_0x11a24a){var _0x17a1ab=_0x81f569;switch(_0x11a24a[_0x17a1ab(0x370)]){case G[_0x17a1ab(0x4c0)]:case G['HELLO']:return JSON[_0x17a1ab(0x49c)]({'cmd':_0x11a24a[_0x17a1ab(0x370)],'routeKey':_0x11a24a[_0x17a1ab(0x34b)]});case G[_0x17a1ab(0x308)]:{let _0x7f581f;switch(_0x11a24a[_0x17a1ab(0x47e)][_0x17a1ab(0x2e2)]){case m[_0x17a1ab(0x2e7)][_0x17a1ab(0x28c)]:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x28c)],'updateCursorEvent':_0x11a24a[_0x17a1ab(0x47e)][_0x17a1ab(0x47e)]};break;}case m[_0x17a1ab(0x2e7)]['USERS_LEAVE']:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x3f0)],'leaveEvent':_0x11a24a[_0x17a1ab(0x47e)][_0x17a1ab(0x47e)]};break;}case m['CollaborationEvent'][_0x17a1ab(0x2a2)]:{_0x7f581f={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x11a24a['data'][_0x17a1ab(0x47e)]};break;}case m[_0x17a1ab(0x2e7)][_0x17a1ab(0x237)]:{_0x7f581f={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x11a24a[_0x17a1ab(0x47e)][_0x17a1ab(0x47e)]};break;}case m['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x332)],'liveShareOperation':_0x11a24a['data'][_0x17a1ab(0x47e)]};break;}case m[_0x17a1ab(0x2e7)][_0x17a1ab(0x416)]:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x416)],'liveShareTerminate':_0x11a24a[_0x17a1ab(0x47e)][_0x17a1ab(0x47e)]};break;}case m['CollaborationEvent'][_0x17a1ab(0x4c2)]:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x4c2)],'liveShareRequestHost':_0x11a24a[_0x17a1ab(0x47e)]['data']};break;}case m[_0x17a1ab(0x2e7)][_0x17a1ab(0x4df)]:{_0x7f581f={'eventID':m[_0x17a1ab(0x2e7)][_0x17a1ab(0x4df)]};break;}default:_0x7f581f={'eventID':_0x11a24a['data']['eventID']};}return JSON[_0x17a1ab(0x49c)]({'cmd':_0x11a24a[_0x17a1ab(0x370)],'routeKey':_0x11a24a[_0x17a1ab(0x34b)],'collaMsg':_0x7f581f});}case G[_0x17a1ab(0x2a5)]:return JSON[_0x17a1ab(0x49c)]({'cmd':_0x11a24a[_0x17a1ab(0x370)],'routeKey':_0x11a24a[_0x17a1ab(0x34b)],'joinReq':_0x11a24a[_0x17a1ab(0x47e)]});case G['LEAVE']:return JSON[_0x17a1ab(0x49c)]({'cmd':_0x11a24a[_0x17a1ab(0x370)],'routeKey':_0x11a24a[_0x17a1ab(0x34b)],'leaveReq':_0x11a24a[_0x17a1ab(0x47e)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object[_0x81f569(0x24d)],Qt=Object[_0x81f569(0x226)],en=(_0xf1c190,_0x58eaee,_0x305ae9,_0x246b37)=>{var _0x4515b7=_0x81f569;for(var _0x26ca0b=_0x246b37>0x1?void 0x0:_0x246b37?Qt(_0x58eaee,_0x305ae9):_0x58eaee,_0x200191=_0xf1c190[_0x4515b7(0x3f8)]-0x1,_0x49a5f2;_0x200191>=0x0;_0x200191--)(_0x49a5f2=_0xf1c190[_0x200191])&&(_0x26ca0b=(_0x246b37?_0x49a5f2(_0x58eaee,_0x305ae9,_0x26ca0b):_0x49a5f2(_0x26ca0b))||_0x26ca0b);return _0x246b37&&_0x26ca0b&&Zt(_0x58eaee,_0x305ae9,_0x26ca0b),_0x26ca0b;},ue=(_0x5eecc1,_0x30f209)=>(_0x218d38,_0x1ab370)=>_0x30f209(_0x218d38,_0x1ab370,_0x5eecc1);const ke=a['createIdentifier'](_0x81f569(0x47a));function tn(_0x4c3118,_0x294221,_0x45c93a){var _0x14330e=_0x81f569;return _0x4c3118+'/'+_0x294221+_0x14330e(0x472)+_0x45c93a+_0x14330e(0x369);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x34002d,_0x1b9b2f,_0xcbffd,_0xdf0bcb,_0x532893){var _0x39ba36=_0x81f569;super(),this[_0x39ba36(0x2c1)]=_0x34002d,this['_http']=_0x1b9b2f,this[_0x39ba36(0x4f3)]=_0xcbffd,this['_logService']=_0xdf0bcb,this['_snapshotServerService']=_0x532893;}[_0x81f569(0x4bb)](_0x4840a1){var _0x5a6861=_0x81f569;const _0x44040d=this['_injector'][_0x5a6861(0x3bc)](q[_0x5a6861(0x227)]);if(!_0x44040d)throw new Error(_0x5a6861(0x247));const _0x45b3e5=_0x44040d['createSocket'](_0x4840a1);if(!_0x45b3e5)throw new Error(_0x5a6861(0x3b9));const _0x5966a2=new a[(_0x5a6861(0x4e1))](),_0x1d1bc1=new H['Subject']();_0x5966a2[_0x5a6861(0x29b)](_0x45b3e5[_0x5a6861(0x316)][_0x5a6861(0x454)](_0x2cfe3b=>_0x1d1bc1[_0x5a6861(0x541)](_0x2cfe3b))),_0x5966a2[_0x5a6861(0x29b)](a[_0x5a6861(0x478)](()=>_0x1d1bc1[_0x5a6861(0x3bb)]()));const _0x34e42e=new H[(_0x5a6861(0x561))]();_0x5966a2[_0x5a6861(0x29b)](_0x45b3e5[_0x5a6861(0x2be)][_0x5a6861(0x454)](_0x324a2f=>_0x34e42e[_0x5a6861(0x541)](_0x324a2f))),_0x5966a2['add'](a['toDisposable'](()=>_0x34e42e[_0x5a6861(0x3bb)]()));const _0x6e4ce9=new H[(_0x5a6861(0x561))]();_0x5966a2[_0x5a6861(0x29b)](_0x45b3e5['message$'][_0x5a6861(0x454)](_0x5c06db=>{var _0xc500b3=_0x5a6861;const _0x2580f2=Ot(_0x5c06db);_0x6e4ce9[_0xc500b3(0x541)](_0x2580f2);})),_0x5966a2[_0x5a6861(0x29b)](a[_0x5a6861(0x478)](()=>_0x6e4ce9[_0x5a6861(0x3bb)]()));let _0x37193c;const _0x3df32d=()=>{var _0x2fe466=_0x5a6861;_0x34e42e[_0x2fe466(0x541)](new Event('connection\x20error')),_0x1d1bc1[_0x2fe466(0x541)](new CloseEvent('connection\x20error')),_0x37193c[_0x2fe466(0x467)]();};return _0x37193c={'memberID':'','close$':_0x1d1bc1['asObservable'](),'error$':_0x34e42e[_0x5a6861(0x560)](),'open$':_0x45b3e5[_0x5a6861(0x55d)],'message$':_0x6e4ce9['asObservable'](),'send':_0x25912a=>{var _0xce70a1=_0x5a6861;if(_0x25912a[_0xce70a1(0x370)]===G[_0xce70a1(0x308)]){if(_0x25912a['data'][_0xce70a1(0x2e2)]===m[_0xce70a1(0x2e7)][_0xce70a1(0x267)]){this[_0xce70a1(0x3ce)](_0x37193c,_0x25912a[_0xce70a1(0x47e)])[_0xce70a1(0x21c)](_0x556241=>{var _0x5cffaa=_0xce70a1;this[_0x5cffaa(0x244)][_0x5cffaa(0x4b6)](_0x556241),_0x3df32d();});return;}if(_0x25912a[_0xce70a1(0x47e)]['eventID']===m[_0xce70a1(0x2e7)][_0xce70a1(0x497)]){const _0x3c7614=_0x25912a[_0xce70a1(0x47e)];this[_0xce70a1(0x4da)](_0x3c7614)[_0xce70a1(0x30a)](_0x4a6af3=>{var _0x55ba9d=_0xce70a1;_0x6e4ce9['next']({'cmd':G[_0x55ba9d(0x1eb)],'code':he['OK'],'routeKey':_0x3c7614['data']['unitID'],'routeType':'','data':{'eventID':m[_0x55ba9d(0x2e7)][_0x55ba9d(0x527)],'data':{'changesets':_0x4a6af3}}});})[_0xce70a1(0x21c)](_0x2caa0d=>{var _0x2dd739=_0xce70a1;this[_0x2dd739(0x244)]['error'](_0x2caa0d),_0x3df32d();});return;}}_0x45b3e5[_0xce70a1(0x334)](yt(_0x25912a));},'close':()=>{var _0x4353d7=_0x5a6861;_0x45b3e5[_0x4353d7(0x467)](),_0x5966a2[_0x4353d7(0x465)]();}},_0x37193c;}async['_submitChangeset'](_0x276950,_0x539434){var _0x32ffc8=_0x81f569,_0x4acd0c,_0x3723ec;const {unitType:_0x18cf4f,unitID:_0x48012f,changeset:_0x1970a4}=_0x539434[_0x32ffc8(0x47e)],_0x2ffa78={'unitID':_0x48012f,'memberID':_0x276950[_0x32ffc8(0x2a8)],'type':_0x18cf4f,'changeset':m[_0x32ffc8(0x234)](_0x1970a4)},_0x39be68=this[_0x32ffc8(0x4f3)][_0x32ffc8(0x3f3)](Et),_0x23d9e0=this[_0x32ffc8(0x4f3)][_0x32ffc8(0x3f3)](Y),_0x8abd3c=tn((_0x3723ec=(_0x4acd0c=_0x23d9e0==null?void 0x0:_0x23d9e0[_0x32ffc8(0x45c)])!=null?_0x4acd0c:_0x39be68)!=null?_0x3723ec:qt,_0x18cf4f,_0x48012f);try{await this[_0x32ffc8(0x52b)][_0x32ffc8(0x255)](_0x8abd3c,{'body':_0x2ffa78});}catch(_0x25c80c){throw this[_0x32ffc8(0x244)][_0x32ffc8(0x4b6)](_0x32ffc8(0x4d1),_0x32ffc8(0x457)),_0x25c80c;}}async[_0x81f569(0x4da)](_0x376972){var _0x995561=_0x81f569;const {unitID:_0x1eb7f0,from:_0x9d5f62,to:_0x5ded7f,unitType:_0x335b36}=_0x376972[_0x995561(0x47e)];return(await this[_0x995561(0x3b3)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1eb7f0,'type':_0x335b36,'from':_0x9d5f62,'to':_0x5ded7f}))[_0x995561(0x23e)];}},exports[_0x81f569(0x3c7)]=en([ue(0x0,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),ue(0x1,a[_0x81f569(0x421)](q[_0x81f569(0x3fb)])),ue(0x2,a[_0x81f569(0x52c)]),ue(0x3,a[_0x81f569(0x223)]),ue(0x4,m[_0x81f569(0x488)])],exports[_0x81f569(0x3c7)]);const nn=_0x81f569(0x53b);function rn(_0x4b3ba3){var _0x379c3b=_0x81f569;return JSON['stringify'](_0x4b3ba3)[_0x379c3b(0x3f8)];}class Be{constructor(){var _0x3ac0fe=_0x81f569;D(this,_0x3ac0fe(0x2cd),new H[(_0x3ac0fe(0x561))]()),D(this,'commentUpdate$',this['_commentUpdate$'][_0x3ac0fe(0x560)]());}[_0x81f569(0x41c)](_0x18b659){var _0x191f6c=_0x81f569;this['_commentUpdate$'][_0x191f6c(0x541)](_0x18b659);}}var sn=Object[_0x81f569(0x24d)],on=Object[_0x81f569(0x226)],an=(_0x36d7a7,_0x4edb7f,_0x15257d,_0x4c61e9)=>{var _0x307ff7=_0x81f569;for(var _0x46d8d6=_0x4c61e9>0x1?void 0x0:_0x4c61e9?on(_0x4edb7f,_0x15257d):_0x4edb7f,_0xdcf7ef=_0x36d7a7[_0x307ff7(0x3f8)]-0x1,_0x1ea39f;_0xdcf7ef>=0x0;_0xdcf7ef--)(_0x1ea39f=_0x36d7a7[_0xdcf7ef])&&(_0x46d8d6=(_0x4c61e9?_0x1ea39f(_0x4edb7f,_0x15257d,_0x46d8d6):_0x1ea39f(_0x46d8d6))||_0x46d8d6);return _0x4c61e9&&_0x46d8d6&&sn(_0x4edb7f,_0x15257d,_0x46d8d6),_0x46d8d6;},Ye=(_0x5cfd35,_0x17762f)=>(_0x29b08e,_0x4f73b5)=>_0x17762f(_0x29b08e,_0x4f73b5,_0x5cfd35);exports[_0x81f569(0x544)]=class extends a[_0x81f569(0x4c3)]{constructor(_0x52fcbb,_0x2ce485){var _0x5bbc6e=_0x81f569;super(),D(this,_0x5bbc6e(0x27c),new Map()),D(this,'_roomCreated$',new H[(_0x5bbc6e(0x561))]()),(this[_0x5bbc6e(0x4b8)]=_0x52fcbb,this[_0x5bbc6e(0x324)]=_0x2ce485,this[_0x5bbc6e(0x4b5)](H[_0x5bbc6e(0x48a)](this[_0x5bbc6e(0x4b8)][_0x5bbc6e(0x383)](a[_0x5bbc6e(0x4b0)]['UNIVER_SHEET'])[_0x5bbc6e(0x2bc)](W[_0x5bbc6e(0x207)](_0x347097=>_0x347097[_0x5bbc6e(0x333)]())),this[_0x5bbc6e(0x4b8)][_0x5bbc6e(0x383)](a['UniverInstanceType'][_0x5bbc6e(0x203)])[_0x5bbc6e(0x2bc)](W[_0x5bbc6e(0x207)](_0x34e1d8=>_0x34e1d8[_0x5bbc6e(0x333)]())),this['_univerInstanceService'][_0x5bbc6e(0x383)](a[_0x5bbc6e(0x4b0)]['UNIVER_SLIDE'])[_0x5bbc6e(0x2bc)](W[_0x5bbc6e(0x207)](_0x506122=>_0x506122[_0x5bbc6e(0x333)]())))[_0x5bbc6e(0x454)](_0x138ce1=>this[_0x5bbc6e(0x36a)](_0x138ce1))));}[_0x81f569(0x54a)](_0x301128){var _0x51931d=_0x81f569;return this['_roomMembers']['has'](_0x301128)?H['of'](this[_0x51931d(0x27c)][_0x51931d(0x3bc)](_0x301128)):this[_0x51931d(0x3c6)][_0x51931d(0x2bc)](W['map'](_0x698e02=>{var _0x4e6420=_0x51931d;if(_0x698e02===_0x301128)return this[_0x4e6420(0x27c)][_0x4e6420(0x3bc)](_0x698e02);}));}['setCurrentUser'](_0x48ca0b){var _0x1e2c98=_0x81f569;this[_0x1e2c98(0x324)][_0x1e2c98(0x493)](_0x48ca0b);}[_0x81f569(0x250)](){var _0x1dab63=_0x81f569;return this[_0x1dab63(0x324)][_0x1dab63(0x250)]();}[_0x81f569(0x360)](_0x5e54a1,_0x12a75a){var _0x4ec994=_0x81f569;let _0x111554=this[_0x4ec994(0x27c)]['get'](_0x5e54a1);_0x111554||(_0x111554=new cn(),this[_0x4ec994(0x27c)][_0x4ec994(0x4f9)](_0x5e54a1,_0x111554),this[_0x4ec994(0x3c6)][_0x4ec994(0x541)](_0x5e54a1)),_0x111554[_0x4ec994(0x360)](_0x12a75a);}['removeMember'](_0x19a2b2,_0xec06d9){var _0x18cfb1=_0x81f569;const _0x13a4bb=this[_0x18cfb1(0x27c)][_0x18cfb1(0x3bc)](_0x19a2b2);_0x13a4bb&&_0x13a4bb['removeMember'](_0xec06d9);}[_0x81f569(0x2b9)](_0x21c8e1){var _0x1636e5=_0x81f569;return this['_roomMembers'][_0x1636e5(0x3bc)](_0x21c8e1);}[_0x81f569(0x2b6)](_0x585f95,_0x221650){var _0x5c9dc7=_0x81f569;const _0x3543ee=this[_0x5c9dc7(0x27c)][_0x5c9dc7(0x3bc)](_0x585f95);if(_0x3543ee)return _0x3543ee[_0x5c9dc7(0x2b6)](_0x221650);}[_0x81f569(0x36a)](_0xb281c2){var _0x46dfdf=_0x81f569;const _0x28fc7a=this[_0x46dfdf(0x27c)][_0x46dfdf(0x3bc)](_0xb281c2);_0x28fc7a&&(_0x28fc7a['dispose'](),this[_0x46dfdf(0x27c)][_0x46dfdf(0x296)](_0xb281c2));}['dispose'](){var _0x15dcc4=_0x81f569;this[_0x15dcc4(0x27c)][_0x15dcc4(0x3ed)](_0x14f618=>_0x14f618['dispose']()),this[_0x15dcc4(0x27c)][_0x15dcc4(0x32d)](),this[_0x15dcc4(0x3c6)]['complete']();}},exports[_0x81f569(0x544)]=an([Ye(0x0,a[_0x81f569(0x35c)]),Ye(0x1,a[_0x81f569(0x421)](a[_0x81f569(0x553)]))],exports[_0x81f569(0x544)]);class cn extends a['Disposable']{constructor(){var _0x5b75e7=_0x81f569;super(...arguments),D(this,'_members',new Map()),D(this,'_members$',new H[(_0x5b75e7(0x490))](this[_0x5b75e7(0x3e4)])),D(this,_0x5b75e7(0x429),this[_0x5b75e7(0x4d6)]['asObservable']());}[_0x81f569(0x465)](){var _0x22c33c=_0x81f569;this[_0x22c33c(0x3e4)]['clear']();}[_0x81f569(0x360)](_0x2e9007){var _0x4fb833=_0x81f569;this[_0x4fb833(0x3e4)][_0x4fb833(0x4f9)](_0x2e9007[_0x4fb833(0x2a8)],_0x2e9007),this[_0x4fb833(0x534)]();}['removeMember'](_0x13e6f8){var _0x28db36=_0x81f569;this['_members'][_0x28db36(0x296)](_0x13e6f8);}['getMember'](_0xb94b05){var _0x3d2148=_0x81f569;return this[_0x3d2148(0x3e4)][_0x3d2148(0x3bc)](_0xb94b05);}[_0x81f569(0x35e)](){var _0x2f2bbe=_0x81f569;return Array[_0x2f2bbe(0x49b)](this['_members'][_0x2f2bbe(0x2a3)]());}['_emitMembers'](){var _0x2cda6a=_0x81f569;this[_0x2cda6a(0x4d6)]['next'](this[_0x2cda6a(0x3e4)]);}}var hn=Object[_0x81f569(0x24d)],ln=Object[_0x81f569(0x226)],_n=(_0x3b5706,_0xc31390,_0x4f4fbc,_0x19dfbc)=>{var _0x1c5a86=_0x81f569;for(var _0x3de630=_0x19dfbc>0x1?void 0x0:_0x19dfbc?ln(_0xc31390,_0x4f4fbc):_0xc31390,_0x4125c4=_0x3b5706[_0x1c5a86(0x3f8)]-0x1,_0x1933e9;_0x4125c4>=0x0;_0x4125c4--)(_0x1933e9=_0x3b5706[_0x4125c4])&&(_0x3de630=(_0x19dfbc?_0x1933e9(_0xc31390,_0x4f4fbc,_0x3de630):_0x1933e9(_0x3de630))||_0x3de630);return _0x19dfbc&&_0x3de630&&hn(_0xc31390,_0x4f4fbc,_0x3de630),_0x3de630;},oe=(_0x5247a7,_0x2fff04)=>(_0x40a21c,_0x368e19)=>_0x2fff04(_0x40a21c,_0x368e19,_0x5247a7),se=(_0x542c00=>(_0x542c00[_0x542c00['IDLE']=0x0]='IDLE',_0x542c00[_0x542c00[_0x81f569(0x362)]=0x1]=_0x81f569(0x362),_0x542c00[_0x542c00[_0x81f569(0x3ca)]=0x2]=_0x81f569(0x3ca),_0x542c00[_0x542c00[_0x81f569(0x46c)]=0x3]=_0x81f569(0x46c),_0x542c00))(se||{});const qe={[he[_0x81f569(0x439)]]:_0x81f569(0x49a),[he[_0x81f569(0x551)]]:_0x81f569(0x3ec),[he['JOIN_ROOM_NOT_EXISTS']]:_0x81f569(0x39e),[he[_0x81f569(0x4af)]]:_0x81f569(0x36f),[he[_0x81f569(0x50c)]]:_0x81f569(0x464)};exports[_0x81f569(0x35b)]=class extends a[_0x81f569(0x4a7)]{constructor(_0x279881,_0x293ddd,_0x2a1c6d,_0x21f671,_0x200ad1,_0x24b592,_0x4d2474,_0x50fbac,_0x33ba02){var _0x255999=_0x81f569;super(),D(this,_0x255999(0x1ff),new H[(_0x255999(0x490))](0x0)),D(this,_0x255999(0x270),this[_0x255999(0x1ff)][_0x255999(0x560)]()),D(this,_0x255999(0x1ee),new H[(_0x255999(0x561))]()),D(this,_0x255999(0x535),this[_0x255999(0x1ee)][_0x255999(0x560)]()),D(this,_0x255999(0x498)),D(this,_0x255999(0x549)),D(this,'_collaborationTimeoutTimer'),D(this,_0x255999(0x322),!0x1),D(this,_0x255999(0x480),null),(this['_unitID']=_0x279881,this['_logService']=_0x2a1c6d,this[_0x255999(0x4f3)]=_0x21f671,this['_localeService']=_0x200ad1,this[_0x255999(0x281)]=_0x24b592,this['_commentService']=_0x4d2474,this['_collaborationUIEventService']=_0x50fbac,this[_0x255999(0x27d)]=_0x33ba02,this[_0x255999(0x322)]=!!this[_0x255999(0x27d)],_0x293ddd[_0x255999(0x2bc)](H['takeUntil'](this[_0x255999(0x21a)]))[_0x255999(0x454)](_0x3a0093=>{var _0x5d862c=_0x255999,_0x8e87e4;typeof _0x3a0093>'u'||(this[_0x5d862c(0x498)]=_0x3a0093,_0x3a0093?(this['_joinRoom'](_0x3a0093),this['_socketMessageSubscription']=_0x3a0093['message$'][_0x5d862c(0x454)](_0x304104=>{var _0x2e86b7=_0x5d862c;_0x304104['routeKey']===this[_0x2e86b7(0x3c5)]&&this[_0x2e86b7(0x540)](_0x304104);})):(this[_0x5d862c(0x379)](),this[_0x5d862c(0x1ff)]['next'](0x2),(_0x8e87e4=this[_0x5d862c(0x549)])==null||_0x8e87e4['unsubscribe'](),this[_0x5d862c(0x549)]=null));}));}get[_0x81f569(0x2d5)](){var _0x30d86c=_0x81f569;return this[_0x30d86c(0x1ff)][_0x30d86c(0x358)]();}['getMemberID'](){var _0x32784d=_0x81f569,_0x5cda7a,_0x3f1840;return(_0x3f1840=(_0x5cda7a=this[_0x32784d(0x498)])==null?void 0x0:_0x5cda7a[_0x32784d(0x2a8)])!=null?_0x3f1840:null;}[_0x81f569(0x465)](){var _0x33121f=_0x81f569;super[_0x33121f(0x465)](),this[_0x33121f(0x21a)][_0x33121f(0x541)](),this['dispose$'][_0x33121f(0x3bb)]();}[_0x81f569(0x467)](){var _0x1dec00=_0x81f569,_0x3a5293,_0x1a50ca;this[_0x1dec00(0x379)](),(_0x3a5293=this[_0x1dec00(0x498)])==null||_0x3a5293[_0x1dec00(0x334)]({'cmd':G[_0x1dec00(0x499)],'data':{'roomID':this['_unitID']}}),(_0x1a50ca=this[_0x1dec00(0x498)])==null||_0x1a50ca[_0x1dec00(0x467)](),this[_0x1dec00(0x1ee)]['complete'](),this['_sessionStatus$']['complete'](),this[_0x1dec00(0x465)]();}['_onCombEvent'](_0x111047){var _0xa535e8=_0x81f569;_0x111047[_0xa535e8(0x370)]===G['JOIN']?this['_onJoinRoomEvent'](_0x111047):_0x111047['cmd']===G[_0xa535e8(0x1eb)]&&this['_onRecvEvent'](_0x111047);}[_0x81f569(0x2d3)](_0x2154ec){var _0x142493=_0x81f569;this[_0x142493(0x1ff)][_0x142493(0x541)](0x1),_0x2154ec[_0x142493(0x334)]({'cmd':G[_0x142493(0x2a5)],'routeKey':this[_0x142493(0x3c5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x142493(0x3c5)]}]}});}['_onJoinRoomEvent'](_0xe0e89c){var _0x3ed5a0=_0x81f569,_0x4632d2;if(_0xe0e89c[_0x3ed5a0(0x3c3)]in qe){this[_0x3ed5a0(0x277)][_0x3ed5a0(0x363)]({'id':Q[_0x3ed5a0(0x200)],'data':qe[_0xe0e89c[_0x3ed5a0(0x3c3)]]}),this['_sessionStatus$'][_0x3ed5a0(0x541)](0x2);return;}this[_0x3ed5a0(0x1ff)][_0x3ed5a0(0x541)](0x3);const _0x29fc99=(_0x4632d2=_0xe0e89c['data'][_0x3ed5a0(0x2e0)][this[_0x3ed5a0(0x3c5)]])==null?void 0x0:_0x4632d2[_0x3ed5a0(0x2b2)];_0x29fc99&&_0x29fc99[_0x3ed5a0(0x3ed)](_0x4c5b6d=>this[_0x3ed5a0(0x281)][_0x3ed5a0(0x360)](this['_unitID'],_0x4c5b6d));}['_onRecvEvent'](_0x59a3b4){var _0x1b173f=_0x81f569;try{const _0x4e40b5=_0x59a3b4[_0x1b173f(0x47e)];switch(_0x4e40b5['eventID']){case m[_0x1b173f(0x2e7)][_0x1b173f(0x2a2)]:this[_0x1b173f(0x489)](_0x4e40b5),this[_0x1b173f(0x1ee)][_0x1b173f(0x541)](_0x4e40b5);break;case m['CollaborationEvent'][_0x1b173f(0x3f0)]:this[_0x1b173f(0x4f1)](_0x4e40b5),this[_0x1b173f(0x1ee)]['next'](_0x4e40b5);break;case m[_0x1b173f(0x2e7)][_0x1b173f(0x22f)]:case m['CollaborationEvent'][_0x1b173f(0x3b0)]:this[_0x1b173f(0x34a)](),this[_0x1b173f(0x403)](),this[_0x1b173f(0x1ee)][_0x1b173f(0x541)](_0x4e40b5);break;case m[_0x1b173f(0x2e7)][_0x1b173f(0x4c9)]:this[_0x1b173f(0x244)][_0x1b173f(0x4b6)](_0x1b173f(0x4ca)+JSON[_0x1b173f(0x49c)](_0x4e40b5)),this['_event$']['next'](_0x4e40b5);break;case m[_0x1b173f(0x2e7)][_0x1b173f(0x2b0)]:this['_commentService'][_0x1b173f(0x41c)](_0x4e40b5[_0x1b173f(0x47e)]),this[_0x1b173f(0x1ee)][_0x1b173f(0x541)](_0x4e40b5);break;default:this['_event$'][_0x1b173f(0x541)](_0x4e40b5);}}catch(_0x468aa0){this[_0x1b173f(0x244)]['error'](_0x468aa0,_0x59a3b4);}}[_0x81f569(0x489)](_0x4bcadd){var _0x3cee10=_0x81f569;this[_0x3cee10(0x281)][_0x3cee10(0x360)](this['_unitID'],_0x4bcadd[_0x3cee10(0x47e)]);}[_0x81f569(0x4f1)](_0x3c0384){var _0x379342=_0x81f569;this[_0x379342(0x281)]['removeMember'](this['_unitID'],_0x3c0384['data'][_0x379342(0x2a8)]);}async[_0x81f569(0x334)](_0x2358de,_0x30c070){var _0x3aaffb=_0x81f569;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x3aaffb(0x289));try{_0x2358de[_0x3aaffb(0x2e2)]===m[_0x3aaffb(0x2e7)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3aaffb(0x428)](_0x2358de)),this[_0x3aaffb(0x498)][_0x3aaffb(0x334)]({'cmd':G['INGEST'],'routeKey':_0x30c070,'routeType':'','data':_0x2358de});}catch(_0x8d19e6){this[_0x3aaffb(0x244)]['error'](_0x8d19e6);}}[_0x81f569(0x4e8)](){var _0x479f26=_0x81f569,_0x548ff3;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2a74a2=_0x9ceb;this['_collaborationTimeoutTimer']=null,this[_0x2a74a2(0x277)][_0x2a74a2(0x363)]({'id':Q[_0x2a74a2(0x2a6)]});},(_0x548ff3=this[_0x479f26(0x4f3)][_0x479f26(0x3f3)](He))!=null?_0x548ff3:gt);}[_0x81f569(0x403)](){var _0x44b9d4=_0x81f569;this[_0x44b9d4(0x3ee)]&&(clearTimeout(this[_0x44b9d4(0x3ee)]),this[_0x44b9d4(0x3ee)]=null);}[_0x81f569(0x428)](_0x1abdca){var _0x35054f=_0x81f569;if(!this[_0x35054f(0x322)])return;const {data:_0x45d7da}=_0x1abdca,{unitID:_0x36fadc,changeset:_0x474444}=_0x45d7da,{mutations:_0x519f0c,type:_0x1af5dd}=_0x474444;this[_0x35054f(0x480)]={'unitId':_0x36fadc,'type':_0x1af5dd,'startTime':performance[_0x35054f(0x433)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x519f0c)};}[_0x81f569(0x34a)](){var _0x3ed327=_0x81f569;if(this[_0x3ed327(0x322)]){if(!this[_0x3ed327(0x480)]){this[_0x3ed327(0x244)][_0x3ed327(0x4b6)](_0x3ed327(0x4d1),_0x3ed327(0x233));return;}this[_0x3ed327(0x480)]['stopTime']=performance[_0x3ed327(0x433)](),this['_telemetryInfo'][_0x3ed327(0x404)]=this['_telemetryInfo']['stopTime']-this[_0x3ed327(0x480)][_0x3ed327(0x283)],this[_0x3ed327(0x27d)]['capture'](nn,this[_0x3ed327(0x480)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x81f569(0x35b)]=_n([oe(0x2,a['ILogService']),oe(0x3,a[_0x81f569(0x52c)]),oe(0x4,a[_0x81f569(0x421)](a[_0x81f569(0x26c)])),oe(0x5,a[_0x81f569(0x421)](exports['MemberService'])),oe(0x6,a[_0x81f569(0x421)](Be)),oe(0x7,a[_0x81f569(0x421)](te)),oe(0x8,a[_0x81f569(0x3d0)](jt[_0x81f569(0x39f)]))],exports[_0x81f569(0x35b)]);var un=Object[_0x81f569(0x24d)],dn=Object[_0x81f569(0x226)],vn=(_0x45c4ba,_0x46610a,_0x19148f,_0x209bab)=>{var _0xc740b0=_0x81f569;for(var _0x5e6e53=_0x209bab>0x1?void 0x0:_0x209bab?dn(_0x46610a,_0x19148f):_0x46610a,_0x1adafd=_0x45c4ba[_0xc740b0(0x3f8)]-0x1,_0x1bf089;_0x1adafd>=0x0;_0x1adafd--)(_0x1bf089=_0x45c4ba[_0x1adafd])&&(_0x5e6e53=(_0x209bab?_0x1bf089(_0x46610a,_0x19148f,_0x5e6e53):_0x1bf089(_0x5e6e53))||_0x5e6e53);return _0x209bab&&_0x5e6e53&&un(_0x46610a,_0x19148f,_0x5e6e53),_0x5e6e53;},ae=(_0x376851,_0x439c24)=>(_0x52f56e,_0x1b82b4)=>_0x439c24(_0x52f56e,_0x1b82b4,_0x376851);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x3f9fee,_0xe472df,_0x1a4781,_0x1d327d,_0x541dcf,_0x29173d,_0x442ff7){var _0x1c9546=_0x81f569;super(),D(this,_0x1c9546(0x350),new H['BehaviorSubject'](void 0x0)),D(this,_0x1c9546(0x42d),this['_socket$']['asObservable']()),D(this,_0x1c9546(0x43b),null),D(this,_0x1c9546(0x4b7),new Map()),D(this,_0x1c9546(0x4cc),new H['BehaviorSubject'](se[_0x1c9546(0x531)])),D(this,_0x1c9546(0x4a3),this[_0x1c9546(0x4cc)][_0x1c9546(0x560)]()),D(this,_0x1c9546(0x494),!0x1),D(this,_0x1c9546(0x2bb)),D(this,_0x1c9546(0x37d),0x0),D(this,_0x1c9546(0x52e)),D(this,'_timeoutTimer'),(this['_injector']=_0x3f9fee,this['_logService']=_0xe472df,this[_0x1c9546(0x4f3)]=_0x1a4781,this[_0x1c9546(0x1ed)]=_0x1d327d,this[_0x1c9546(0x4a5)]=_0x541dcf,this[_0x1c9546(0x277)]=_0x29173d,this[_0x1c9546(0x542)]=_0x442ff7,this['_listenToNetworkCondition']());}get['_socket'](){var _0x267ae7=_0x81f569;return this[_0x267ae7(0x350)]['getValue']();}[_0x81f569(0x417)](){var _0x56c207=_0x81f569;this[_0x56c207(0x542)]&&this['disposeWithMe'](this[_0x56c207(0x542)][_0x56c207(0x4aa)]['subscribe'](_0x4fb0a0=>{var _0x44c957=_0x56c207;_0x4fb0a0&&!this[_0x44c957(0x498)]&&this[_0x44c957(0x3d4)](),_0x4fb0a0||this[_0x44c957(0x21d)]();}));}[_0x81f569(0x465)](){var _0x423518=_0x81f569;super[_0x423518(0x465)](),this[_0x423518(0x4b7)][_0x423518(0x3ed)](_0x4e7c49=>_0x4e7c49[_0x423518(0x465)]()),this[_0x423518(0x4b7)][_0x423518(0x32d)](),this[_0x423518(0x4cc)]['complete']();}async[_0x81f569(0x408)](_0x3a8cc6){var _0x273ffe=_0x81f569;if(this[_0x273ffe(0x4b7)][_0x273ffe(0x280)](_0x3a8cc6))return this[_0x273ffe(0x4b7)][_0x273ffe(0x3bc)](_0x3a8cc6);this['_tryEnsureSocket']();const _0x3af809=this[_0x273ffe(0x2c1)][_0x273ffe(0x29d)](exports[_0x273ffe(0x35b)],_0x3a8cc6,this[_0x273ffe(0x350)][_0x273ffe(0x560)]());return this[_0x273ffe(0x4b7)][_0x273ffe(0x4f9)](_0x3a8cc6,_0x3af809),_0x3af809;}['closeSession'](_0x3773da){var _0x3b1878=_0x81f569,_0x1d1803;const _0x1aeb88=this['_sessions']['get'](_0x3773da);_0x1aeb88&&(this[_0x3b1878(0x4b7)][_0x3b1878(0x296)](_0x3773da),_0x1aeb88[_0x3b1878(0x467)]()),this[_0x3b1878(0x4b7)][_0x3b1878(0x48f)]||(_0x1d1803=this[_0x3b1878(0x498)])==null||_0x1d1803[_0x3b1878(0x467)]();}[_0x81f569(0x3d4)](){var _0x463751=_0x81f569;this[_0x463751(0x37d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x463751(0x2bb)]),this[_0x463751(0x2bb)]=null),this[_0x463751(0x228)]();}async['_getSessionTicket'](){var _0x783aa=_0x81f569,_0x4be805,_0x34dea1,_0x4bbcc6;const _0x209d73=this[_0x783aa(0x4f3)]['getConfig'](Y),_0x36d9db=(_0x4be805=_0x209d73==null?void 0x0:_0x209d73[_0x783aa(0x3bf)])!=null?_0x4be805:Ft;return(_0x4bbcc6=(_0x34dea1=(await this[_0x783aa(0x4a5)][_0x783aa(0x3bc)](_0x36d9db,{'headers':{'Content-Type':_0x783aa(0x385)}}))[_0x783aa(0x46f)])==null?void 0x0:_0x34dea1['ticket'])!=null?_0x4bbcc6:'';}[_0x81f569(0x2c8)](_0x227f1c){var _0x1d31cf=_0x81f569,_0x1b1dd6,_0x24a5ea;const _0x4dccbe=this[_0x1d31cf(0x4f3)][_0x1d31cf(0x3f3)](St),_0x3a01f4=this[_0x1d31cf(0x4f3)]['getConfig'](Y),_0x5795ba=(_0x24a5ea=(_0x1b1dd6=_0x3a01f4==null?void 0x0:_0x3a01f4[_0x1d31cf(0x23a)])!=null?_0x1b1dd6:_0x4dccbe)!=null?_0x24a5ea:pt,_0x376f4c=typeof window>'u'?new URL(_0x5795ba):new URL(_0x5795ba,window[_0x1d31cf(0x459)][_0x1d31cf(0x479)]);_0x376f4c['searchParams'][_0x1d31cf(0x4f9)](_0x1d31cf(0x556),_0x227f1c);const _0x484ebc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d31cf(0x459)][_0x1d31cf(0x43f)]);return _0x484ebc[_0x1d31cf(0x3bc)](_0x1d31cf(0x328))&&_0x376f4c[_0x1d31cf(0x2c2)][_0x1d31cf(0x4f9)](_0x1d31cf(0x328),_0x484ebc[_0x1d31cf(0x3bc)](_0x1d31cf(0x328))),_0x376f4c[_0x1d31cf(0x4f5)]();}async[_0x81f569(0x4dc)](){var _0x1e9c53=_0x81f569;const _0x1b6573=await this['_getSessionTicket'](),_0x255a64=this[_0x1e9c53(0x2c8)](_0x1b6573),_0x1d6d8b=this['_socketService'][_0x1e9c53(0x4bb)](_0x255a64);return this[_0x1e9c53(0x43b)]=_0x1d6d8b,_0x1d6d8b;}async['_tryEnsureSocket'](){var _0x5e1af5=_0x81f569,_0xafae89,_0x42583e;try{const _0x188612=(_0x42583e=(_0xafae89=this['_socket'])!=null?_0xafae89:this[_0x5e1af5(0x43b)])!=null?_0x42583e:await this['_createSocket']();if(_0x188612){const _0x588733=_0x188612[_0x5e1af5(0x334)];_0x188612[_0x5e1af5(0x334)]=_0x3fe940=>(this[_0x5e1af5(0x4e4)](),_0x588733[_0x5e1af5(0x381)](_0x188612,[_0x3fe940])),_0x188612[_0x5e1af5(0x329)][_0x5e1af5(0x454)](_0x1e2fa7=>this['_onMessage'](_0x188612,_0x1e2fa7)),_0x188612[_0x5e1af5(0x2be)][_0x5e1af5(0x2bc)](W[_0x5e1af5(0x258)](0x1))[_0x5e1af5(0x454)](_0x4f3c61=>this[_0x5e1af5(0x244)][_0x5e1af5(0x4b6)](_0x5e1af5(0x550),_0x4f3c61)),_0x188612[_0x5e1af5(0x55d)]['pipe'](W[_0x5e1af5(0x258)](0x1))['subscribe'](()=>{var _0x387212=_0x5e1af5;this[_0x387212(0x4de)](_0x188612);}),_0x188612[_0x5e1af5(0x316)]['pipe'](W['take'](0x1))[_0x5e1af5(0x454)](_0x4a7b2c=>{var _0x3285db=_0x5e1af5;this[_0x3285db(0x244)][_0x3285db(0x53e)]('[CollaborationSessionService]','socket\x20close',_0x4a7b2c),this[_0x3285db(0x3a9)]();});}}catch(_0x47ca61){this['_logService'][_0x5e1af5(0x4b6)](_0x47ca61),this[_0x5e1af5(0x3a9)]();}}[_0x81f569(0x4de)](_0x2b6c51){var _0x45222e=_0x81f569;this[_0x45222e(0x244)][_0x45222e(0x53e)](_0x45222e(0x29e),_0x45222e(0x23d)),_0x2b6c51[_0x45222e(0x334)]({'cmd':G['HELLO']}),this[_0x45222e(0x4e4)]();}['_onOffline'](){var _0x27816e=_0x81f569;this[_0x27816e(0x494)]=!0x1,this[_0x27816e(0x43b)]=null,this[_0x27816e(0x4cc)][_0x27816e(0x541)](se[_0x27816e(0x3ca)]),this[_0x27816e(0x350)][_0x27816e(0x541)](null),this['_clearTimeoutTimer'](),this[_0x27816e(0x4a8)]();}['_onConnectionFailed'](){var _0x2c37eb=_0x81f569,_0x51817f;this[_0x2c37eb(0x21d)](),this['_retryCount']<((_0x51817f=this[_0x2c37eb(0x4f3)][_0x2c37eb(0x3f3)](It))!=null?_0x51817f:Vt)?(this[_0x2c37eb(0x277)][_0x2c37eb(0x363)]({'id':Q[_0x2c37eb(0x1ec)]}),this[_0x2c37eb(0x228)]()):this[_0x2c37eb(0x277)][_0x2c37eb(0x363)]({'id':Q[_0x2c37eb(0x438)]});}['_tryReconnect'](){var _0xe9e6f2=_0x81f569,_0x3530e4;const _0x18c8ae=this[_0xe9e6f2(0x37d)],_0x3af56c=this[_0xe9e6f2(0x4f3)][_0xe9e6f2(0x3f3)](Y),_0x557ae6=_0x18c8ae===0x0?0x0:((_0x3530e4=_0x3af56c==null?void 0x0:_0x3af56c[_0xe9e6f2(0x261)])!=null?_0x3530e4:Gt)*0x2**_0x18c8ae;this[_0xe9e6f2(0x2bb)]=setTimeout(()=>{var _0x5da7c7=_0xe9e6f2;clearTimeout(this['_retryConnectingTimer']),this[_0x5da7c7(0x2bb)]=null,this['_tryEnsureSocket']();},_0x557ae6),this[_0xe9e6f2(0x37d)]+=0x1;}[_0x81f569(0x48c)](_0x5cd47d,_0x4852e){var _0x55bcd5=_0x81f569;const {cmd:_0x42eca8}=_0x4852e;_0x42eca8===G['HELLO']&&!this['_socketReady']&&(_0x5cd47d[_0x55bcd5(0x2a8)]=_0x4852e[_0x55bcd5(0x47e)]['memberID'],this[_0x55bcd5(0x350)][_0x55bcd5(0x541)](_0x5cd47d),this[_0x55bcd5(0x4cc)][_0x55bcd5(0x541)](se[_0x55bcd5(0x46c)]),this[_0x55bcd5(0x494)]=!0x0,this[_0x55bcd5(0x43b)]=null),_0x42eca8===G[_0x55bcd5(0x4c0)]&&this[_0x55bcd5(0x4d0)](),this['_rescheduleHeartbeat']();}[_0x81f569(0x4e4)](){var _0x46f036=_0x81f569,_0x921465;this[_0x46f036(0x4a8)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x46f036(0x26a)](),(_0x921465=this['_configService'][_0x46f036(0x3f3)](mt))!=null?_0x921465:Wt);}[_0x81f569(0x26a)](){var _0x11afda=_0x81f569;this[_0x11afda(0x498)][_0x11afda(0x334)]({'cmd':G[_0x11afda(0x4c0)]}),this[_0x11afda(0x4ac)]();}['_waitForHeartbeatResponse'](){var _0xcd25fc=_0x81f569,_0x1656a8;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x1656a8=this[_0xcd25fc(0x4f3)][_0xcd25fc(0x3f3)](He))!=null?_0x1656a8:gt);}['_clearHeartbeatTimer'](){var _0x2ce605=_0x81f569;this[_0x2ce605(0x52e)]!=null&&(clearTimeout(this[_0x2ce605(0x52e)]),this[_0x2ce605(0x52e)]=null);}[_0x81f569(0x4d0)](){var _0x31668a=_0x81f569;this[_0x31668a(0x327)]!=null&&(clearTimeout(this[_0x31668a(0x327)]),this['_timeoutTimer']=null);}},exports[_0x81f569(0x33b)]=vn([ae(0x0,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),ae(0x1,a[_0x81f569(0x223)]),ae(0x2,a[_0x81f569(0x52c)]),ae(0x3,ke),ae(0x4,a[_0x81f569(0x421)](q['HTTPService'])),ae(0x5,a[_0x81f569(0x421)](te)),ae(0x6,a['Optional'](Rt))],exports['CollaborationSessionService']);const V=[];for(let r=0x0;r<0x100;++r)V[_0x81f569(0x2bd)]((r+0x100)[_0x81f569(0x4f5)](0x10)[_0x81f569(0x2ba)](0x1));function fn(_0x47f0e9,_0x45c664=0x0){var _0x568e6b=_0x81f569;return(V[_0x47f0e9[_0x45c664+0x0]]+V[_0x47f0e9[_0x45c664+0x1]]+V[_0x47f0e9[_0x45c664+0x2]]+V[_0x47f0e9[_0x45c664+0x3]]+'-'+V[_0x47f0e9[_0x45c664+0x4]]+V[_0x47f0e9[_0x45c664+0x5]]+'-'+V[_0x47f0e9[_0x45c664+0x6]]+V[_0x47f0e9[_0x45c664+0x7]]+'-'+V[_0x47f0e9[_0x45c664+0x8]]+V[_0x47f0e9[_0x45c664+0x9]]+'-'+V[_0x47f0e9[_0x45c664+0xa]]+V[_0x47f0e9[_0x45c664+0xb]]+V[_0x47f0e9[_0x45c664+0xc]]+V[_0x47f0e9[_0x45c664+0xd]]+V[_0x47f0e9[_0x45c664+0xe]]+V[_0x47f0e9[_0x45c664+0xf]])[_0x568e6b(0x2c7)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x2ec21e=_0x81f569;if(!Pe){if(typeof crypto>'u'||!crypto[_0x2ec21e(0x2ad)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Pe=crypto[_0x2ec21e(0x2ad)][_0x2ec21e(0x3a4)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x81f569(0x40b)]&&crypto[_0x81f569(0x40b)]['bind'](crypto),ze={'randomUUID':mn};function gn(_0x1fe559,_0x44b2bd,_0x4b6e47){var _0x4a6a4c=_0x81f569,_0x17ff84,_0x2305bb,_0x51773b;if(ze[_0x4a6a4c(0x40b)]&&!_0x1fe559)return ze[_0x4a6a4c(0x40b)]();_0x1fe559=_0x1fe559||{};const _0x1b0ac2=(_0x51773b=(_0x2305bb=_0x1fe559['random'])!=null?_0x2305bb:(_0x17ff84=_0x1fe559['rng'])==null?void 0x0:_0x17ff84[_0x4a6a4c(0x504)](_0x1fe559))!=null?_0x51773b:pn();if(_0x1b0ac2[_0x4a6a4c(0x3f8)]<0x10)throw new Error(_0x4a6a4c(0x3aa));return _0x1b0ac2[0x6]=_0x1b0ac2[0x6]&0xf|0x40,_0x1b0ac2[0x8]=_0x1b0ac2[0x8]&0x3f|0x80,fn(_0x1b0ac2);}const z=a[_0x81f569(0x4a4)](_0x81f569(0x41d));function In(_0x5200c9){var _0x3589b1=_0x81f569;return _0x3589b1(0x330)+_0x5200c9;}var En=Object[_0x81f569(0x24d)],Cn=Object[_0x81f569(0x226)],Tn=(_0x3f4f19,_0x5b8f0b,_0x1950d3,_0x2dbd57)=>{var _0x3b03da=_0x81f569;for(var _0x219b96=_0x2dbd57>0x1?void 0x0:_0x2dbd57?Cn(_0x5b8f0b,_0x1950d3):_0x5b8f0b,_0xd778df=_0x3f4f19[_0x3b03da(0x3f8)]-0x1,_0x41516e;_0xd778df>=0x0;_0xd778df--)(_0x41516e=_0x3f4f19[_0xd778df])&&(_0x219b96=(_0x2dbd57?_0x41516e(_0x5b8f0b,_0x1950d3,_0x219b96):_0x41516e(_0x219b96))||_0x219b96);return _0x2dbd57&&_0x219b96&&En(_0x5b8f0b,_0x1950d3,_0x219b96),_0x219b96;},De=(_0x55eb3f,_0x25a5cd)=>(_0x1a422d,_0xaeb669)=>_0x25a5cd(_0x1a422d,_0xaeb669,_0x55eb3f);function bn(_0x4637fd){const {unitID:_0x867595,mutations:_0x59048c}=_0x4637fd;return{'unitId':_0x867595,'subUnitId':_0x59048c[0x0]['params']['subUnitId']};}exports[_0x81f569(0x251)]=class{constructor(_0x1c7d9a,_0x2d840e,_0x50fc43){var _0x58b06b=_0x81f569;this[_0x58b06b(0x2c1)]=_0x1c7d9a,this[_0x58b06b(0x463)]=_0x2d840e,this['_instanceService']=_0x50fc43;}[_0x81f569(0x40c)](_0x84ba){var _0x5b8f34=_0x81f569,_0x286beb,_0x1aed67,_0x176397,_0x42b5e3;const _0xf933fb=this[_0x5b8f34(0x2c1)]['get'](J[_0x5b8f34(0x304)]),{unitId:_0x552ecc,subUnitId:_0x141d30}=bn(_0x84ba),_0x56434d=_0xf933fb==null?void 0x0:_0xf933fb[_0x5b8f34(0x47c)](_0x552ecc)[_0x5b8f34(0x4c1)](),_0x8a7b3c=(_0x1aed67=(_0x286beb=this[_0x5b8f34(0x3b7)]['getUnit'](_0x552ecc))==null?void 0x0:_0x286beb[_0x5b8f34(0x310)]())==null?void 0x0:_0x1aed67[_0x5b8f34(0x3d3)]();if(_0x56434d[_0x5b8f34(0x3f8)]===0x0||!_0x552ecc||!_0x141d30)return;const _0x3215f4=[{'id':J[_0x5b8f34(0x33f)]['id'],'params':{'unitId':_0x552ecc,'subUnitId':_0x8a7b3c,'selections':a[_0x5b8f34(0x44c)][_0x5b8f34(0x4ea)](_0x56434d)}}],_0xb9bca1=this[_0x5b8f34(0x463)][_0x5b8f34(0x39b)](_0x84ba,_0x3215f4);if(!m[_0x5b8f34(0x309)](_0xb9bca1))throw _0xb9bca1[_0x5b8f34(0x4b6)];const _0x398e61=(_0x42b5e3=(_0x176397=_0xb9bca1[_0x5b8f34(0x3e9)][0x0])==null?void 0x0:_0x176397[_0x5b8f34(0x214)])==null?void 0x0:_0x42b5e3[_0x5b8f34(0x28f)];if(Array[_0x5b8f34(0x22b)](_0x398e61)&&_0x398e61['length']){if(_0x398e61[_0x5b8f34(0x3f8)]===_0x3215f4[0x0][_0x5b8f34(0x214)][_0x5b8f34(0x28f)]['length']&&_0x398e61['every']((_0x29ce66,_0x1e0952)=>a[_0x5b8f34(0x28a)][_0x5b8f34(0x219)](_0x29ce66[_0x5b8f34(0x2f8)],_0x3215f4[0x0]['params'][_0x5b8f34(0x28f)][_0x1e0952][_0x5b8f34(0x2f8)])))return;this[_0x5b8f34(0x2c1)][_0x5b8f34(0x3bc)](a[_0x5b8f34(0x412)])['executeCommand'](J['SetSelectionsOperation']['id'],{'unitId':_0x552ecc,'subUnitId':_0x8a7b3c,'selections':_0x398e61});}}},exports['SheetTransformSelectionsService']=Tn([De(0x0,a['Inject'](a[_0x81f569(0x279)])),De(0x1,m[_0x81f569(0x554)]),De(0x2,a[_0x81f569(0x35c)])],exports[_0x81f569(0x251)]);const ve=a[_0x81f569(0x4a4)](_0x81f569(0x54c));var Fe=(_0x20432a=>(_0x20432a[_0x20432a[_0x81f569(0x4fc)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x20432a[_0x20432a[_0x81f569(0x4e9)]=0x1]='OTHER_CLIENTS_EDITING',_0x20432a))(Fe||{});const Rn=new Set([J[_0x81f569(0x50b)]['id']]);function Je(_0x2bd6d1,_0x5afd7d,_0x4b7ad0,_0x528693,_0xc978dc){var _0xc62436=_0x81f569,_0x132674,_0x4f878c,_0xcf0d27,_0x2208d2;const _0x5b24ce=[];for(const _0x1ba9de of _0x2bd6d1)if(Rn[_0xc62436(0x280)](_0x1ba9de['id'])){if(_0x5b24ce[_0xc62436(0x3f8)]>0x0)break;_0x5b24ce[_0xc62436(0x2bd)](_0x1ba9de);break;}else _0x5b24ce[_0xc62436(0x2bd)](_0x1ba9de);const _0x46f8c7=(_0x4f878c=(_0x132674=_0xc978dc[_0xc62436(0x250)]())==null?void 0x0:_0x132674['userID'])!=null?_0x4f878c:_0xc62436(0x4ad),_0x215cd4=(_0x2208d2=(_0xcf0d27=_0xc978dc[_0xc62436(0x250)]())==null?void 0x0:_0xcf0d27[_0xc62436(0x2a8)])!=null?_0x2208d2:_0xc62436(0x4ad);return{'changeset':{'unitID':_0x5afd7d,'type':m[_0xc62436(0x390)](_0x4b7ad0[_0xc62436(0x45f)](_0x5afd7d)),'baseRev':_0x528693[_0xc62436(0x3cd)](_0x5afd7d),'revision':0x0,'userID':_0x46f8c7,'memberID':_0x215cd4,'mutations':_0x5b24ce},'pendingMutations':_0x2bd6d1['slice'](_0x5b24ce[_0xc62436(0x3f8)])};}function On(_0x44fb39,_0x5b4131,_0x541ce4,_0x5957e8,_0x4f2ca2){var _0x1cb75e=_0x81f569,_0x348f2c,_0x22b83c,_0x17f1e3,_0x37f587;const _0x3feffa=[_0x44fb39[_0x1cb75e(0x3fd)]((_0x2dc76c,_0x5198b1)=>{var _0x1a3707=_0x1cb75e,_0xdd334c;const {id:_0x541250}=_0x2dc76c,{id:_0x36651c,type:_0x4d39d6}=_0x5198b1,_0x4ff492=(_0xdd334c=_0x2dc76c[_0x1a3707(0x214)])!=null?_0xdd334c:{'actions':null},_0x641ff7=_0x5198b1['params'];if(_0x541250&&_0x541250!==_0x36651c)throw new Error(_0x1a3707(0x1f0)+_0x541250+_0x1a3707(0x241)+_0x36651c+'.');return{..._0x2dc76c,'id':_0x36651c,'type':_0x4d39d6,'params':{'unitId':_0x641ff7[_0x1a3707(0x375)],'textRanges':_0x641ff7[_0x1a3707(0x2d0)],'actions':a['JSONX'][_0x1a3707(0x1ef)](_0x4ff492['actions'],_0x641ff7[_0x1a3707(0x3ac)])}};},{})],_0x12c54c=(_0x22b83c=(_0x348f2c=_0x4f2ca2[_0x1cb75e(0x250)]())==null?void 0x0:_0x348f2c[_0x1cb75e(0x31e)])!=null?_0x22b83c:_0x1cb75e(0x4ad),_0x38ffc3=(_0x37f587=(_0x17f1e3=_0x4f2ca2[_0x1cb75e(0x250)]())==null?void 0x0:_0x17f1e3['memberID'])!=null?_0x37f587:_0x1cb75e(0x4ad);return{'changeset':{'unitID':_0x5b4131,'type':m[_0x1cb75e(0x390)](_0x541ce4[_0x1cb75e(0x45f)](_0x5b4131)),'baseRev':_0x5957e8[_0x1cb75e(0x3cd)](_0x5b4131),'revision':0x0,'userID':_0x12c54c,'memberID':_0x38ffc3,'mutations':_0x3feffa},'pendingMutations':[]};}function Nt(_0x9d7259,_0x4ac7dc){var _0x2b0bd4=_0x81f569;const _0xdc71cd=new H[(_0x2b0bd4(0x29c))](0x1);return setTimeout(()=>_0xdc71cd[_0x2b0bd4(0x541)](_0x4ac7dc),_0x9d7259),_0xdc71cd[_0x2b0bd4(0x560)]()['pipe'](H['take'](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x81f569(0x341)]['MUTATION'],'params':{}};var Nn=Object[_0x81f569(0x24d)],Un=Object[_0x81f569(0x226)],le=(_0xe515e1,_0x4172b3,_0x4da53f,_0x489396)=>{var _0x31b55d=_0x81f569;for(var _0x33a795=_0x489396>0x1?void 0x0:_0x489396?Un(_0x4172b3,_0x4da53f):_0x4172b3,_0x534854=_0xe515e1[_0x31b55d(0x3f8)]-0x1,_0x358964;_0x534854>=0x0;_0x534854--)(_0x358964=_0xe515e1[_0x534854])&&(_0x33a795=(_0x489396?_0x358964(_0x4172b3,_0x4da53f,_0x33a795):_0x358964(_0x33a795))||_0x33a795);return _0x489396&&_0x33a795&&Nn(_0x4172b3,_0x4da53f,_0x33a795),_0x33a795;},A=(_0x3513e5,_0x20da0a)=>(_0x3bc32d,_0x5e92af)=>_0x20da0a(_0x3bc32d,_0x5e92af,_0x3513e5),We=(_0x543b5e=>(_0x543b5e[_0x81f569(0x263)]=_0x81f569(0x424),_0x543b5e[_0x81f569(0x441)]='synced',_0x543b5e[_0x81f569(0x4e6)]=_0x81f569(0x3de),_0x543b5e[_0x81f569(0x548)]=_0x81f569(0x326),_0x543b5e['AWAITING_WITH_PENDING']=_0x81f569(0x21e),_0x543b5e[_0x81f569(0x271)]=_0x81f569(0x4c6),_0x543b5e['CONFLICT']='conflict',_0x543b5e[_0x81f569(0x3ca)]='offline',_0x543b5e))(We||{});const Ut=0xea60;class _e{constructor(_0x13d104,_0x6715f4,_0x16e4ab,_0x232fc3,_0x13f130,_0x18328c,_0x59b321,_0x18fa7d,_0x2307f0){var _0x4f8ba0=_0x81f569;D(this,_0x4f8ba0(0x4f4),null),D(this,_0x4f8ba0(0x346),[]),(this[_0x4f8ba0(0x4a1)]=_0x13d104,this[_0x4f8ba0(0x3d5)]=_0x6715f4,this[_0x4f8ba0(0x4dd)]=_0x13f130,this[_0x4f8ba0(0x3e2)]=_0x18328c,this[_0x4f8ba0(0x37f)]=_0x59b321,this['_revisionService']=_0x18fa7d,this[_0x4f8ba0(0x30f)]=_0x2307f0,this[_0x4f8ba0(0x4f4)]=_0x16e4ab,this[_0x4f8ba0(0x346)]=_0x232fc3);}[_0x81f569(0x2b1)](_0xb6496c){var _0x31ef8d=_0x81f569;const _0x1162e5=this[_0x31ef8d(0x2dc)]['getCurrentRevOfUnit'](this[_0x31ef8d(0x4a1)]);return _0xb6496c[_0x31ef8d(0x384)]>_0x1162e5+0x1?(this[_0x31ef8d(0x4dd)][_0x31ef8d(0x4eb)]({'from':_0x1162e5,'to':_0xb6496c[_0x31ef8d(0x384)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x46d291){var _0x5314cc=_0x81f569;this[_0x5314cc(0x37f)][_0x5314cc(0x3a1)](this['unitID'],_0x46d291);}[_0x81f569(0x4c8)](_0xe98ed8){var _0x37ce7d=_0x81f569,_0x3a9181,_0x4daaae;(_0x4daaae=(_0x3a9181=this[_0x37ce7d(0x4dd)])[_0x37ce7d(0x20f)])==null||_0x4daaae[_0x37ce7d(0x504)](_0x3a9181,_0xe98ed8);}['_transformIMECache'](_0xea1642){var _0x2016e8=_0x81f569,_0x491e89,_0x5e3cfb;return(_0x5e3cfb=(_0x491e89=this[_0x2016e8(0x4dd)])['onTransformIME'])==null?void 0x0:_0x5e3cfb['call'](_0x491e89,_0xea1642);}['_transformStateCache'](_0x400a77){var _0x5a1b60=_0x81f569,_0x145684,_0x62b488;return(_0x62b488=(_0x145684=this['_handler'])[_0x5a1b60(0x3f5)])==null?void 0x0:_0x62b488[_0x5a1b60(0x504)](_0x145684,_0x400a77);}[_0x81f569(0x2e3)](_0x4ecf46){var _0x3045ba=_0x81f569,_0x3e708a,_0x577344,_0x580240;return(_0x580240=(_0x577344=(_0x3e708a=this[_0x3045ba(0x4dd)])[_0x3045ba(0x3a3)])==null?void 0x0:_0x577344[_0x3045ba(0x504)](_0x3e708a,_0x4ecf46))!=null?_0x580240:_0x4ecf46;}[_0x81f569(0x3a8)](_0x21324d){var _0x4a72b2=_0x81f569,_0x36f7be,_0x407732,_0xeb7d7a;return(_0xeb7d7a=(_0x407732=(_0x36f7be=this[_0x4a72b2(0x4dd)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x407732[_0x4a72b2(0x504)](_0x36f7be,_0x21324d))!=null?_0xeb7d7a:_0x21324d;}[_0x81f569(0x3c9)](_0x309593){var _0x445a30=_0x81f569,_0x3826c2,_0x276bef;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x30975f,mutations:_0x3209bf,memberID:_0x3dacc7}=_0x309593,_0x2167a0=_0x3209bf[0x0][_0x445a30(0x214)]['textRanges'];Array[_0x445a30(0x22b)](_0x2167a0)&&_0x2167a0[_0x445a30(0x3f8)]>0x0&&((_0x276bef=(_0x3826c2=this['_handler'])[_0x445a30(0x2e8)])==null||_0x276bef[_0x445a30(0x504)](_0x3826c2,{'unitID':_0x30975f,'memberID':_0x3dacc7,'textRanges':_0x2167a0}));}}[_0x81f569(0x27a)](){var _0x592041=_0x81f569,_0x3ba8c5;(_0x3ba8c5=this[_0x592041(0x30f)])==null||_0x3ba8c5['updateOfflineData'](this[_0x592041(0x4a1)],this[_0x592041(0x3d5)],this[_0x592041(0x4f4)],this[_0x592041(0x346)]);}['_getCurrentRevision'](){var _0x2b6e64=_0x81f569;return this['_revisionService'][_0x2b6e64(0x3cd)](this[_0x2b6e64(0x4a1)]);}[_0x81f569(0x357)](){var _0xd67023=_0x81f569;this[_0xd67023(0x2dc)][_0xd67023(0x321)](this[_0xd67023(0x4a1)]);}[_0x81f569(0x481)](_0xc98df3){var _0x5a1fe9=_0x81f569,_0x42d5d8;let _0x329242=this[_0x5a1fe9(0x2e3)](_0xc98df3);_0x329242=this[_0x5a1fe9(0x3a8)](_0x329242);const _0x570ea4=a[_0x5a1fe9(0x41f)](_0x329242[_0x5a1fe9(0x32b)],this[_0x5a1fe9(0x3e2)],{'fromCollab':!0x0});if(!_0x570ea4[_0x5a1fe9(0x4c7)])throw _0x570ea4[_0x5a1fe9(0x4b6)]instanceof Error?_0x570ea4[_0x5a1fe9(0x4b6)]:new Error((_0x42d5d8=_0x570ea4[_0x5a1fe9(0x4b6)])!=null?_0x42d5d8:_0x5a1fe9(0x30b));this['_transformIMECache'](_0x329242),this[_0x5a1fe9(0x495)](_0x329242),this['_transformUndoredo'](_0xc98df3),this[_0x5a1fe9(0x4c8)](_0x329242),this['_syncEditingCollabCursor'](_0x329242),this[_0x5a1fe9(0x357)]();}}exports['SyncedState']=class extends _e{constructor(_0x45b83f,_0x9be58e,_0x5a0172,_0x4b137b,_0x4e0d4a,_0x45b354,_0x48a7aa,_0x588d29,_0x10bbc0,_0x596df7){var _0x2929df=_0x81f569;super(_0x45b83f,_0x9be58e,null,[],_0x5a0172,_0x48a7aa,_0x45b354,_0x4b137b,_0x596df7),D(this,_0x2929df(0x1fb),_0x2929df(0x55a)),(this['_injector']=_0x4e0d4a,this[_0x2929df(0x244)]=_0x588d29,this['_transformService']=_0x10bbc0,this[_0x2929df(0x42c)]=_0x596df7);}[_0x81f569(0x3ad)](_0x10df23){var _0x29b8c5=_0x81f569;const _0x2ec37b=this[_0x29b8c5(0x2c1)][_0x29b8c5(0x29d)](exports[_0x29b8c5(0x209)],this[_0x29b8c5(0x4a1)],this[_0x29b8c5(0x3d5)],[_0x10df23],this[_0x29b8c5(0x4dd)]);return _0x2ec37b[_0x29b8c5(0x345)](),_0x2ec37b['_updateLocalCache'](),_0x2ec37b;}['onRemoteChangeset'](_0xfbf70){var _0x2aab0b=_0x81f569;if(this[_0x2aab0b(0x2b1)](_0xfbf70))return this[_0x2aab0b(0x2c1)][_0x2aab0b(0x29d)](exports[_0x2aab0b(0x391)],this[_0x2aab0b(0x4a1)],this[_0x2aab0b(0x3d5)],null,[],null,[_0xfbf70],this['_handler']);try{const _0x901f04=this[_0x2aab0b(0x463)][_0x2aab0b(0x39b)](_0xfbf70,[yn]);if(m[_0x2aab0b(0x309)](_0x901f04)){const {c1Prime:_0x542f15}=_0x901f04;return this[_0x2aab0b(0x481)](_0x542f15),this;}throw _0x901f04[_0x2aab0b(0x4b6)];}catch(_0x4f9a87){return this[_0x2aab0b(0x244)][_0x2aab0b(0x4b6)](_0x4f9a87),this['_onConflict'](!0x1);}}['_onConflict'](_0x5308b9){var _0x645a8a=_0x81f569;return this[_0x645a8a(0x2c1)][_0x645a8a(0x29d)](exports[_0x645a8a(0x447)],this[_0x645a8a(0x4a1)],this[_0x645a8a(0x3d5)],null,[],this[_0x645a8a(0x4dd)],_0x5308b9);}[_0x81f569(0x2f2)](){var _0x10fb3e=_0x81f569;throw new Error(_0x10fb3e(0x2ec));}['onRemoteRej'](){var _0xc26019=_0x81f569;throw new Error(_0xc26019(0x427));}[_0x81f569(0x344)](){return this;}['toggleOffline'](){var _0x6c37a0=_0x81f569;return this[_0x6c37a0(0x2c1)][_0x6c37a0(0x29d)](exports[_0x6c37a0(0x288)],this['unitID'],this[_0x6c37a0(0x3d5)],null,[],this['_handler']);}[_0x81f569(0x458)](){return this;}[_0x81f569(0x515)](){var _0x1bf73c=_0x81f569;throw new Error(_0x1bf73c(0x517));}[_0x81f569(0x409)](){var _0x201c79=_0x81f569;const _0x3fdf7a=this[_0x201c79(0x2dc)][_0x201c79(0x3cd)](this['unitID']);return this[_0x201c79(0x4dd)][_0x201c79(0x4eb)]({'from':_0x3fdf7a,'to':0x0}),this[_0x201c79(0x2c1)][_0x201c79(0x29d)](exports[_0x201c79(0x391)],this[_0x201c79(0x4a1)],this[_0x201c79(0x3d5)],null,[],null,[],this[_0x201c79(0x4dd)]);}},exports[_0x81f569(0x54d)]=le([A(0x3,a[_0x81f569(0x421)](m[_0x81f569(0x2f4)])),A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x81f569(0x2f5)]),A(0x6,a[_0x81f569(0x412)]),A(0x7,a[_0x81f569(0x223)]),A(0x8,m[_0x81f569(0x554)]),A(0x9,a['Optional'](z))],exports[_0x81f569(0x54d)]),exports[_0x81f569(0x209)]=class extends _e{constructor(_0x113c37,_0x378f24,_0x2f91e8,_0x2d8025,_0x26bc9f,_0xfc0f8c,_0x35a3fe,_0x13e66d,_0x59c749,_0x1d15bb,_0x98ec55,_0x299c4e,_0x57d9fb,_0x31db53){var _0x9e3450=_0x81f569;super(_0x113c37,_0x378f24,null,_0x2f91e8,_0x2d8025,_0x59c749,_0x57d9fb,_0xfc0f8c,_0x31db53),D(this,_0x9e3450(0x1fb),_0x9e3450(0x3de)),D(this,_0x9e3450(0x3b5),null),D(this,'_sendingTimer',null),(this['_injector']=_0x26bc9f,this[_0x9e3450(0x281)]=_0x35a3fe,this[_0x9e3450(0x244)]=_0x13e66d,this[_0x9e3450(0x4f3)]=_0x1d15bb,this[_0x9e3450(0x463)]=_0x98ec55,this[_0x9e3450(0x4b8)]=_0x299c4e);}[_0x81f569(0x3ad)](_0x43ef88){var _0x565ad1=_0x81f569;return this['_pendingMutations'][_0x565ad1(0x2bd)](_0x43ef88),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4cec94){var _0x5ac2d7=_0x81f569;if(this[_0x5ac2d7(0x2b1)](_0x4cec94))return this[_0x5ac2d7(0x3c4)](),this[_0x5ac2d7(0x2c1)][_0x5ac2d7(0x29d)](exports['FetchingMissState'],this[_0x5ac2d7(0x4a1)],this[_0x5ac2d7(0x3d5)],null,this[_0x5ac2d7(0x346)],null,[_0x4cec94],this[_0x5ac2d7(0x4dd)]);try{const _0x3bce71=this[_0x5ac2d7(0x463)][_0x5ac2d7(0x39b)](_0x4cec94,this[_0x5ac2d7(0x346)]);if(m[_0x5ac2d7(0x309)](_0x3bce71)){const {c1Prime:_0x1b24ba,m2Prime:_0x1f0194}=_0x3bce71;this[_0x5ac2d7(0x481)](_0x1b24ba);const _0x3fc231=this[_0x5ac2d7(0x2c1)]['createInstance'](exports[_0x5ac2d7(0x209)],this['unitID'],this[_0x5ac2d7(0x3d5)],_0x1f0194,this[_0x5ac2d7(0x4dd)]);this['_clearScheduledTask']();const _0x124a2a=new Date()['getTime'](),_0x15f81a=this['_scheduleCompleteTimestamp']?Math[_0x5ac2d7(0x474)](this['_scheduleCompleteTimestamp']-_0x124a2a,0x0):this['_getSendChangesetTimeout']();return _0x3fc231['_schedule'](_0x15f81a),_0x3fc231;}throw _0x3bce71[_0x5ac2d7(0x4b6)];}catch(_0x3f2c20){return this[_0x5ac2d7(0x244)][_0x5ac2d7(0x4b6)](_0x3f2c20),this[_0x5ac2d7(0x3e5)](!0x1);}}[_0x81f569(0x2f2)](){var _0x70bcc9=_0x81f569;throw new Error(_0x70bcc9(0x44b));}[_0x81f569(0x486)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x59cb3c=_0x81f569;return this[_0x59cb3c(0x3c4)](),this[_0x59cb3c(0x2c1)][_0x59cb3c(0x29d)](exports[_0x59cb3c(0x288)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x59cb3c(0x4dd)]);}['toggleOnline'](){return this;}['_schedule'](_0x5a60cf){var _0x407b54=_0x81f569;const _0x26c268=_0x5a60cf!=null?_0x5a60cf:this[_0x407b54(0x260)]();this[_0x407b54(0x3b5)]=new Date()[_0x407b54(0x4b2)]()+_0x26c268,this[_0x407b54(0x28b)]=setTimeout(()=>{var _0x920c9e=_0x407b54;this[_0x920c9e(0x3c4)]();let _0x593aab=null;switch(this[_0x920c9e(0x3d5)]){case Z['UNIVER_SHEET']:{_0x593aab=Je(this[_0x920c9e(0x346)],this['unitID'],this['_univerInstanceService'],this[_0x920c9e(0x2dc)],this[_0x920c9e(0x281)]);break;}case Z['UNIVER_DOC']:{this[_0x920c9e(0x346)][_0x920c9e(0x301)](_0x4e0da3=>_0x4e0da3['id']===dt[_0x920c9e(0x202)]['id'])?_0x593aab=On(this[_0x920c9e(0x346)],this[_0x920c9e(0x4a1)],this[_0x920c9e(0x4b8)],this['_revisionService'],this['_memberService']):_0x593aab=Je(this['_pendingMutations'],this[_0x920c9e(0x4a1)],this[_0x920c9e(0x4b8)],this[_0x920c9e(0x2dc)],this[_0x920c9e(0x281)]);break;}default:throw new Error(_0x920c9e(0x44d)+this[_0x920c9e(0x3d5)]+_0x920c9e(0x434));}const {changeset:_0x2e8f53,pendingMutations:_0x3144f5}=_0x593aab;this[_0x920c9e(0x4dd)][_0x920c9e(0x4e0)](_0x2e8f53);const _0x57d69a=_0x3144f5[_0x920c9e(0x3f8)]?this[_0x920c9e(0x2c1)][_0x920c9e(0x29d)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x920c9e(0x3d5)],_0x2e8f53,_0x3144f5,this[_0x920c9e(0x4dd)],void 0x0):this[_0x920c9e(0x2c1)]['createInstance'](exports[_0x920c9e(0x4d2)],this[_0x920c9e(0x4a1)],this[_0x920c9e(0x3d5)],_0x2e8f53,this[_0x920c9e(0x4dd)]);_0x57d69a[_0x920c9e(0x27a)](),this['_handler']['onStateChange'](this,_0x57d69a);},_0x26c268);}['_getSendChangesetTimeout'](){var _0x5411f7=_0x81f569,_0x5a0e89;const _0x1f7dbc=this[_0x5411f7(0x4f3)][_0x5411f7(0x3f3)](Y);return(_0x5a0e89=_0x1f7dbc==null?void 0x0:_0x1f7dbc['sendChangesetTimeout'])!=null?_0x5a0e89:Bt;}['resend'](){var _0x28ca08=_0x81f569;throw new Error(_0x28ca08(0x2f1));}['_clearScheduledTask'](){var _0x3f47c6=_0x81f569;this[_0x3f47c6(0x28b)]!=null&&(clearTimeout(this[_0x3f47c6(0x28b)]),this[_0x3f47c6(0x28b)]=null);}[_0x81f569(0x3e5)](_0x131989){var _0x50b3fc=_0x81f569;return this[_0x50b3fc(0x3c4)](),this[_0x50b3fc(0x2c1)][_0x50b3fc(0x29d)](exports[_0x50b3fc(0x447)],this[_0x50b3fc(0x4a1)],this[_0x50b3fc(0x3d5)],null,this[_0x50b3fc(0x346)],this[_0x50b3fc(0x4dd)],_0x131989);}},exports['PendingState']=le([A(0x4,a[_0x81f569(0x421)](a['Injector'])),A(0x5,a[_0x81f569(0x421)](m[_0x81f569(0x2f4)])),A(0x6,a[_0x81f569(0x421)](exports['MemberService'])),A(0x7,a[_0x81f569(0x223)]),A(0x8,a[_0x81f569(0x412)]),A(0x9,a[_0x81f569(0x52c)]),A(0xa,m['ITransformService']),A(0xb,a[_0x81f569(0x35c)]),A(0xc,a[_0x81f569(0x2f5)]),A(0xd,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x209)]),exports['AwaitingState']=class extends _e{constructor(_0xca8b6d,_0x5e8479,_0x5982df,_0x4a07c2,_0x23290a,_0x1e6e97,_0x39b398,_0x1dbf4e,_0x1582f7,_0x1918e6,_0x380d4a){var _0x2985b8=_0x81f569;super(_0xca8b6d,_0x5e8479,_0x5982df,[],_0x4a07c2,_0x39b398,_0x1918e6,_0x1e6e97,_0x380d4a),D(this,_0x2985b8(0x1fb),'awaiting'),D(this,_0x2985b8(0x399),0x0),D(this,_0x2985b8(0x3eb)),D(this,'_sender'),(this[_0x2985b8(0x2c1)]=_0x23290a,this[_0x2985b8(0x244)]=_0x1dbf4e,this[_0x2985b8(0x463)]=_0x1582f7);}['appendMutation'](_0x1d1a6e){var _0x2adc73=_0x81f569;this[_0x2adc73(0x3c4)]();const _0x36e895=this['_injector'][_0x2adc73(0x29d)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x2adc73(0x3d5)],this[_0x2adc73(0x4f4)],[_0x1d1a6e],this[_0x2adc73(0x4dd)],this[_0x2adc73(0x3eb)]);return _0x36e895['_updateLocalCache'](),_0x36e895;}['onRemoteChangeset'](_0x115acf){var _0x3481aa=_0x81f569;if(this[_0x3481aa(0x2b1)](_0x115acf))return this[_0x3481aa(0x3c4)](),this[_0x3481aa(0x2c1)][_0x3481aa(0x29d)](exports[_0x3481aa(0x391)],this['unitID'],this['type'],this[_0x3481aa(0x4f4)],[],null,[_0x115acf],this[_0x3481aa(0x4dd)]);try{const _0x54a506=this[_0x3481aa(0x463)][_0x3481aa(0x4b4)]([_0x115acf],[this[_0x3481aa(0x4f4)]],!0x1);if(m[_0x3481aa(0x387)](_0x54a506)){const {c1Prime:_0x16e6be,c2Prime:_0x96a0d0}=_0x54a506;this[_0x3481aa(0x481)](_0x16e6be[0x0]),_0x96a0d0[0x0][_0x3481aa(0x2c5)]=this[_0x3481aa(0x4b3)](),this[_0x3481aa(0x3c4)]();const _0x10f1a3=this[_0x3481aa(0x2c1)][_0x3481aa(0x29d)](exports[_0x3481aa(0x4d2)],this[_0x3481aa(0x4a1)],this[_0x3481aa(0x3d5)],_0x96a0d0[0x0],this['_handler']);return _0x10f1a3[_0x3481aa(0x27a)](),_0x10f1a3;}return this[_0x3481aa(0x3e5)](!0x1);}catch(_0x58f5f6){return this[_0x3481aa(0x244)][_0x3481aa(0x4b6)](_0x58f5f6),this[_0x3481aa(0x3e5)](!0x1);}}['onRemoteAck'](_0xb74c8b){var _0x1e7710=_0x81f569;this[_0x1e7710(0x3c4)]();const _0x480e33=this[_0x1e7710(0x2dc)][_0x1e7710(0x3cd)](this['unitID']);if(_0xb74c8b[_0x1e7710(0x384)]<_0x480e33-0x1)return this;if(this[_0x1e7710(0x2b1)](_0xb74c8b))return this[_0x1e7710(0x2c1)][_0x1e7710(0x29d)](exports[_0x1e7710(0x391)],this[_0x1e7710(0x4a1)],this[_0x1e7710(0x3d5)],null,[],this[_0x1e7710(0x4f4)],[],this[_0x1e7710(0x4dd)]);this[_0x1e7710(0x357)]();const _0x142467=this['_injector'][_0x1e7710(0x29d)](exports['SyncedState'],this['unitID'],this[_0x1e7710(0x3d5)],this[_0x1e7710(0x4dd)]);return _0x142467[_0x1e7710(0x27a)](),_0x142467;}['onRemoteRej'](_0x3141b2){var _0x3cf35a=_0x81f569;return this[_0x3cf35a(0x3e5)](!!(_0x3141b2!=null&&_0x3141b2[_0x3cf35a(0x4a2)]));}['onRemoteRetry'](_0x38fc92){var _0xe458e6=_0x81f569;return this[_0xe458e6(0x399)]>Ut?this[_0xe458e6(0x4f8)]():(this[_0xe458e6(0x3eb)]=Nt(this[_0xe458e6(0x399)],{'timeout':this['_resendTimeout'],'reqId':_0x38fc92[_0xe458e6(0x1f4)]}),this['_sender']=this[_0xe458e6(0x3eb)]['subscribe'](({reqId:_0x21912c,timeout:_0x3d2055})=>{var _0x51c02a=_0xe458e6;this[_0x51c02a(0x37a)](_0x21912c,_0x3d2055);}),this);}[_0x81f569(0x4f8)](){var _0x7e0461=_0x81f569;return this[_0x7e0461(0x3c4)](),this[_0x7e0461(0x2c1)][_0x7e0461(0x29d)](exports[_0x7e0461(0x288)],this[_0x7e0461(0x4a1)],this[_0x7e0461(0x3d5)],this[_0x7e0461(0x4f4)],[],this[_0x7e0461(0x4dd)]);}[_0x81f569(0x458)](){return this;}[_0x81f569(0x515)](){var _0x3c2552=_0x81f569;this[_0x3c2552(0x4dd)][_0x3c2552(0x4e0)](this[_0x3c2552(0x4f4)]);}[_0x81f569(0x3e5)](_0x229441){var _0x159296=_0x81f569;return this[_0x159296(0x3c4)](),this[_0x159296(0x2c1)][_0x159296(0x29d)](exports[_0x159296(0x447)],this[_0x159296(0x4a1)],this[_0x159296(0x3d5)],this[_0x159296(0x4f4)],[],this[_0x159296(0x4dd)],_0x229441);}[_0x81f569(0x37a)](_0x4c35ca,_0xa44b94){var _0x226de2=_0x81f569,_0x27081d;_0x4c35ca===((_0x27081d=this['_awaitingChangeset'])==null?void 0x0:_0x27081d[_0x226de2(0x1f4)])&&(this[_0x226de2(0x515)](),this['_resendTimeout']=_0xa44b94===0x0?0x3e8:_0xa44b94*0x2);}[_0x81f569(0x3c4)](){var _0x3da17a=_0x81f569,_0x564775;(_0x564775=this[_0x3da17a(0x1ea)])==null||_0x564775[_0x3da17a(0x35d)](),this[_0x3da17a(0x399)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x81f569(0x421)](a['Injector'])),A(0x5,a[_0x81f569(0x421)](m[_0x81f569(0x2f4)])),A(0x6,a[_0x81f569(0x412)]),A(0x7,a[_0x81f569(0x223)]),A(0x8,m[_0x81f569(0x554)]),A(0x9,a[_0x81f569(0x2f5)]),A(0xa,a['Optional'](z))],exports[_0x81f569(0x4d2)]),exports[_0x81f569(0x21f)]=class extends _e{constructor(_0xbb2cb2,_0x2d3c14,_0x853782,_0x4ccb67,_0x2088df,_0x23ce5e,_0x257c03,_0x12d533,_0x1afd75,_0x5ec94e,_0x303f33,_0x29bb44,_0x14d736){var _0x4c77d1=_0x81f569;super(_0xbb2cb2,_0x2d3c14,_0x853782,_0x4ccb67,_0x2088df,_0x1afd75,_0x29bb44,_0x12d533,_0x14d736),D(this,'status',_0x4c77d1(0x21e)),D(this,_0x4c77d1(0x399),0x0),D(this,_0x4c77d1(0x3eb)),D(this,_0x4c77d1(0x1ea)),(this[_0x4c77d1(0x2c1)]=_0x257c03,this[_0x4c77d1(0x244)]=_0x5ec94e,this[_0x4c77d1(0x463)]=_0x303f33,this[_0x4c77d1(0x42c)]=_0x14d736,_0x23ce5e&&(this[_0x4c77d1(0x3eb)]=_0x23ce5e,this[_0x4c77d1(0x1ea)]=this[_0x4c77d1(0x3eb)][_0x4c77d1(0x454)](({reqId:_0x5d0f01,timeout:_0x16e8c2})=>{var _0x48341e=_0x4c77d1;this[_0x48341e(0x37a)](_0x5d0f01,_0x16e8c2);})));}[_0x81f569(0x3ad)](_0x5708a3){var _0x33972c=_0x81f569;return this[_0x33972c(0x346)]['push'](_0x5708a3),this;}['onRemoteChangeset'](_0x451e19){var _0x40ce0f=_0x81f569;if(this[_0x40ce0f(0x2b1)](_0x451e19))return this[_0x40ce0f(0x3c4)](),this[_0x40ce0f(0x2c1)]['createInstance'](exports[_0x40ce0f(0x391)],this[_0x40ce0f(0x4a1)],this[_0x40ce0f(0x3d5)],this['_awaitingChangeset'],this[_0x40ce0f(0x346)],null,[_0x451e19],this[_0x40ce0f(0x4dd)]);try{const _0x15a382=this['_transformService'][_0x40ce0f(0x4b4)]([_0x451e19],[this[_0x40ce0f(0x4f4)]],!0x1);if(m[_0x40ce0f(0x387)](_0x15a382)){const {c1Prime:_0x506077,c2Prime:_0x478867}=_0x15a382,_0x2e04cb=this[_0x40ce0f(0x463)][_0x40ce0f(0x39b)](_0x506077[0x0],this['_pendingMutations']);if(m[_0x40ce0f(0x309)](_0x2e04cb)){const {c1Prime:_0x318ed3,m2Prime:_0x2a287d}=_0x2e04cb;return this['_executeRemoteChangeset'](_0x318ed3),_0x478867[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x40ce0f(0x3c4)](),this[_0x40ce0f(0x2c1)][_0x40ce0f(0x29d)](exports['AwaitingWithPendingState'],this[_0x40ce0f(0x4a1)],this[_0x40ce0f(0x3d5)],_0x478867[0x0],_0x2a287d,this['_handler'],void 0x0);}throw _0x2e04cb['error'];}throw _0x15a382[_0x40ce0f(0x4b6)];}catch(_0x662e41){return this[_0x40ce0f(0x244)][_0x40ce0f(0x4b6)](_0x662e41),this['_onConflict'](!0x1);}}[_0x81f569(0x2f2)](_0x2d6794){var _0x7117cb=_0x81f569;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x2d6794))return this[_0x7117cb(0x2c1)][_0x7117cb(0x29d)](exports[_0x7117cb(0x391)],this['unitID'],this[_0x7117cb(0x3d5)],null,this[_0x7117cb(0x346)],this['_awaitingChangeset'],[],this['_handler']);this[_0x7117cb(0x357)]();const _0x5ec231=this[_0x7117cb(0x2c1)]['createInstance'](exports[_0x7117cb(0x209)],this[_0x7117cb(0x4a1)],this['type'],this[_0x7117cb(0x346)],this['_handler']);return _0x5ec231[_0x7117cb(0x345)](),_0x5ec231[_0x7117cb(0x27a)](),_0x5ec231;}[_0x81f569(0x486)](_0x54862d){var _0x3f2c0e=_0x81f569;return this[_0x3f2c0e(0x3e5)](!!(_0x54862d!=null&&_0x54862d[_0x3f2c0e(0x4a2)]));}[_0x81f569(0x344)](_0x1655d8){var _0xd7c32e=_0x81f569;return this[_0xd7c32e(0x399)]>Ut?this[_0xd7c32e(0x4f8)]():(this['_resendTimer']=Nt(this[_0xd7c32e(0x399)],{'timeout':this[_0xd7c32e(0x399)],'reqId':_0x1655d8[_0xd7c32e(0x1f4)]}),this[_0xd7c32e(0x1ea)]=this[_0xd7c32e(0x3eb)][_0xd7c32e(0x454)](({reqId:_0x2ad840,timeout:_0x3fcb4e})=>{var _0x4f90ed=_0xd7c32e;this[_0x4f90ed(0x37a)](_0x2ad840,_0x3fcb4e);}),this);}[_0x81f569(0x4f8)](){var _0x3791ce=_0x81f569;return this[_0x3791ce(0x3c4)](),this['_injector']['createInstance'](exports['OfflineState'],this[_0x3791ce(0x4a1)],this['type'],this['_awaitingChangeset'],this[_0x3791ce(0x346)],this[_0x3791ce(0x4dd)]);}['toggleOnline'](){return this;}[_0x81f569(0x515)](){var _0x534a55=_0x81f569;this['_handler'][_0x534a55(0x4e0)](this[_0x534a55(0x4f4)]);}['_onConflict'](_0x2a803e){var _0x5492d3=_0x81f569;return this['_clearScheduledTask'](),this['_injector'][_0x5492d3(0x29d)](exports[_0x5492d3(0x447)],this['unitID'],this[_0x5492d3(0x3d5)],null,this[_0x5492d3(0x346)],this[_0x5492d3(0x4dd)],_0x2a803e);}['_resendWithTimeout'](_0x840d96,_0x2e67be){var _0x563fd2=_0x81f569,_0x2f0d94;_0x840d96===((_0x2f0d94=this[_0x563fd2(0x4f4)])==null?void 0x0:_0x2f0d94['reqId'])&&(this[_0x563fd2(0x515)](),this[_0x563fd2(0x399)]=_0x2e67be===0x0?0x3e8:_0x2e67be*0x2);}['_clearScheduledTask'](){var _0x44e192=_0x81f569,_0x384ad1;(_0x384ad1=this[_0x44e192(0x1ea)])==null||_0x384ad1[_0x44e192(0x35d)](),this[_0x44e192(0x399)]=0x0;}},exports[_0x81f569(0x21f)]=le([A(0x6,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),A(0x7,a[_0x81f569(0x421)](m['RevisionService'])),A(0x8,a[_0x81f569(0x412)]),A(0x9,a[_0x81f569(0x223)]),A(0xa,m[_0x81f569(0x554)]),A(0xb,a[_0x81f569(0x2f5)]),A(0xc,a[_0x81f569(0x3d0)](z))],exports['AwaitingWithPendingState']),exports[_0x81f569(0x447)]=class extends _e{constructor(_0x1af642,_0x59f42a,_0x535ce2,_0x4f05bc,_0x228bde,_0x25fbb2=!0x1,_0x31fdb2,_0x35021e,_0x1e3a3e,_0x1569a5,_0x4a2015,_0x5cfd9d,_0x3dea61){var _0x5d01dd=_0x81f569;super(_0x1af642,_0x59f42a,_0x535ce2,_0x4f05bc,_0x228bde,_0x35021e,_0x1e3a3e,_0x1569a5,_0x3dea61),D(this,_0x5d01dd(0x1fb),_0x5d01dd(0x24a)),(this[_0x5d01dd(0x4d5)]=_0x25fbb2,this['_permissionService']=_0x31fdb2,this[_0x5d01dd(0x530)]=_0x4a2015,this[_0x5d01dd(0x277)]=_0x5cfd9d,this[_0x5d01dd(0x42c)]=_0x3dea61,this['_showConflictNotification'](),this[_0x5d01dd(0x1f8)](),this[_0x5d01dd(0x3b1)]());}[_0x81f569(0x3ad)](){return this;}[_0x81f569(0x509)](){return this;}[_0x81f569(0x2f2)](){return this;}[_0x81f569(0x486)](){return this;}[_0x81f569(0x344)](){return this;}[_0x81f569(0x4f8)](){return this;}[_0x81f569(0x458)](){return this;}[_0x81f569(0x515)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x81f569(0x1f8)](){var _0x121d7d=_0x81f569,_0x469c05;(_0x469c05=this[_0x121d7d(0x30f)])==null||_0x469c05['updateOfflineData'](this[_0x121d7d(0x4a1)],this[_0x121d7d(0x3d5)],null,[]);}[_0x81f569(0x41a)](){var _0x2f8fb6=_0x81f569;this[_0x2f8fb6(0x4d5)]?this[_0x2f8fb6(0x277)][_0x2f8fb6(0x363)]({'id':Q[_0x2f8fb6(0x256)]}):this[_0x2f8fb6(0x277)][_0x2f8fb6(0x363)]({'id':Q[_0x2f8fb6(0x4e5)]});}[_0x81f569(0x3b1)](){var _0x3f49d6=_0x81f569;this[_0x3f49d6(0x45d)]['updatePermissionPoint'](new J[(_0x3f49d6(0x42a))](this[_0x3f49d6(0x4a1)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a['Inject'](a[_0x81f569(0x558)])),A(0x7,a[_0x81f569(0x412)]),A(0x8,a[_0x81f569(0x2f5)]),A(0x9,a['Inject'](m[_0x81f569(0x2f4)])),A(0xa,a[_0x81f569(0x421)](a[_0x81f569(0x26c)])),A(0xb,a[_0x81f569(0x421)](te)),A(0xc,a[_0x81f569(0x3d0)](z))],exports['ConflictState']),exports[_0x81f569(0x288)]=class extends _e{constructor(_0x15a617,_0x714303,_0x24b47e,_0x2241d4,_0xb52da9,_0x423109,_0x828a72,_0x4cd7b5,_0x582ab0,_0x5248f9){var _0x412f93=_0x81f569;super(_0x15a617,_0x714303,_0x24b47e,_0x2241d4,_0xb52da9,_0x4cd7b5,_0x582ab0,_0x828a72,_0x5248f9),D(this,_0x412f93(0x1fb),_0x412f93(0x432)),this[_0x412f93(0x2c1)]=_0x423109;}['appendMutation'](_0x1b55c0){var _0x3eb3cc=_0x81f569;return this[_0x3eb3cc(0x346)]['push'](_0x1b55c0),this[_0x3eb3cc(0x27a)](),this;}['onRemoteChangeset'](_0x287345){var _0x1d367b=_0x81f569;throw new Error(_0x1d367b(0x2ea));}[_0x81f569(0x2f2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1ef20b=_0x81f569;throw new Error(_0x1ef20b(0x336));}[_0x81f569(0x344)](){return this;}[_0x81f569(0x4f8)](){return this;}[_0x81f569(0x458)](){var _0x595244=_0x81f569;const {_injector:_0x276784,_pendingMutations:_0x35efd2,_awaitingChangeset:_0x40f726,unitID:_0x51014a,_handler:_0x390dfa,type:_0x47cac0}=this,_0x20a4f5=Pt(_0x276784,_0x51014a,_0x47cac0,_0x40f726,_0x35efd2,_0x390dfa);return _0x20a4f5 instanceof exports[_0x595244(0x209)]?_0x20a4f5[_0x595244(0x345)]():(_0x20a4f5 instanceof exports['AwaitingWithPendingState']||_0x20a4f5 instanceof exports[_0x595244(0x4d2)])&&_0x20a4f5[_0x595244(0x515)](),_0x20a4f5;}[_0x81f569(0x515)](){var _0x44d597=_0x81f569;throw new Error(_0x44d597(0x3af));}},exports[_0x81f569(0x288)]=le([A(0x5,a[_0x81f569(0x421)](a['Injector'])),A(0x6,a[_0x81f569(0x421)](m['RevisionService'])),A(0x7,a[_0x81f569(0x412)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x288)]),exports['FetchingMissState']=class extends _e{constructor(_0x132dc3,_0x1d2b5b,_0x1c7b60,_0x40d3c4,_0x74ef10,_0x507b30,_0x40e5cb,_0x2e668e,_0x16f711,_0x135a4a,_0x2fa509,_0x5ba34e,_0x83f67e,_0x356d88){var _0xc6341e=_0x81f569;super(_0x132dc3,_0x1d2b5b,_0x1c7b60,_0x40d3c4,_0x40e5cb,_0x2fa509,_0x5ba34e,_0x16f711,_0x356d88),D(this,_0xc6341e(0x1fb),'fetch_missing'),(this[_0xc6341e(0x4a9)]=_0x74ef10,this[_0xc6341e(0x4fa)]=_0x507b30,this[_0xc6341e(0x2c1)]=_0x2e668e,this[_0xc6341e(0x244)]=_0x135a4a,this['_transformService']=_0x83f67e,this[_0xc6341e(0x42c)]=_0x356d88);}[_0x81f569(0x4a6)](_0x393fc0){var _0x516747=_0x81f569;try{const _0x57ddc7=[..._0x393fc0,...this[_0x516747(0x4fa)]],_0x1e5d32=[this[_0x516747(0x4f4)]||this[_0x516747(0x4a9)]]['filter'](_0x3253bf=>!!_0x3253bf);let _0x27d17e,_0x444c87;if(_0x1e5d32[_0x516747(0x3f8)]){const _0x27e7f0=this[_0x516747(0x463)][_0x516747(0x4b4)](_0x57ddc7,_0x1e5d32,!0x1);if(!m[_0x516747(0x387)](_0x27e7f0))throw _0x27e7f0[_0x516747(0x4b6)];_0x27d17e=_0x27e7f0[_0x516747(0x51e)],_0x444c87=_0x27e7f0['c2Prime'];}else _0x27d17e=_0x57ddc7,_0x444c87=[];let _0x128686=this[_0x516747(0x346)];_0x27d17e[_0x516747(0x3ed)](_0x1c4ff8=>{var _0x469d62=_0x516747;let _0x46fdef;if(_0x128686['length']){const _0x4fa71d=this[_0x469d62(0x463)][_0x469d62(0x39b)](_0x1c4ff8,_0x128686);if(!m[_0x469d62(0x309)](_0x4fa71d))throw _0x4fa71d[_0x469d62(0x4b6)];_0x46fdef=_0x4fa71d[_0x469d62(0x51e)],_0x128686=_0x4fa71d['m2Prime'];}else _0x46fdef=_0x1c4ff8;this[_0x469d62(0x481)](_0x46fdef);}),this[_0x516747(0x4a9)]&&this[_0x516747(0x357)](),this[_0x516747(0x4f4)]&&_0x444c87[_0x516747(0x3f8)]&&(_0x444c87[0x0][_0x516747(0x2c5)]=this[_0x516747(0x4b3)]());let _0x54be33;if(this[_0x516747(0x4f4)]&&_0x128686[_0x516747(0x3f8)]!==0x0)_0x54be33=this[_0x516747(0x2c1)]['createInstance'](exports[_0x516747(0x21f)],this[_0x516747(0x4a1)],this[_0x516747(0x3d5)],_0x444c87[0x0],_0x128686,this['_handler'],void 0x0);else{if(this[_0x516747(0x4f4)]&&_0x128686[_0x516747(0x3f8)]===0x0)_0x444c87[0x0][_0x516747(0x2c5)]=this[_0x516747(0x4b3)](),_0x54be33=this[_0x516747(0x2c1)][_0x516747(0x29d)](exports['AwaitingState'],this['unitID'],this[_0x516747(0x3d5)],_0x444c87[0x0],this[_0x516747(0x4dd)]);else{if(_0x128686[_0x516747(0x3f8)]!==0x0){const _0x3d562e=this[_0x516747(0x2c1)][_0x516747(0x29d)](exports[_0x516747(0x209)],this[_0x516747(0x4a1)],this[_0x516747(0x3d5)],_0x128686,this[_0x516747(0x4dd)]);_0x3d562e['_schedule'](),_0x54be33=_0x3d562e;}else _0x54be33=this['_injector']['createInstance'](exports['SyncedState'],this[_0x516747(0x4a1)],this[_0x516747(0x3d5)],this[_0x516747(0x4dd)]);}}return _0x54be33['_updateLocalCache'](),_0x54be33;}catch(_0x5705df){return this[_0x516747(0x244)][_0x516747(0x4b6)](_0x516747(0x437),_0x516747(0x45b),_0x5705df),this['_injector'][_0x516747(0x29d)](exports[_0x516747(0x447)],this[_0x516747(0x4a1)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x4ec54d=_0x81f569;throw new Error(_0x4ec54d(0x325));}['appendMutation'](_0x5f1c8e){var _0xe6571a=_0x81f569;return this[_0xe6571a(0x346)][_0xe6571a(0x2bd)](_0x5f1c8e),this;}[_0x81f569(0x509)](_0x3c1817){var _0x1346db=_0x81f569;return this[_0x1346db(0x4fa)][_0x1346db(0x2bd)](_0x3c1817),this;}[_0x81f569(0x2f2)](_0x45ccc5){var _0x81558e=_0x81f569;if(this[_0x81558e(0x4f4)])return this[_0x81558e(0x4a9)]=this[_0x81558e(0x4f4)],this[_0x81558e(0x4f4)]=null,this;throw new Error(_0x81558e(0x2f7));}[_0x81f569(0x486)](_0x5eb7dd){var _0x255cbb=_0x81f569;return this[_0x255cbb(0x3e5)](!!(_0x5eb7dd!=null&&_0x5eb7dd[_0x255cbb(0x4a2)]));}[_0x81f569(0x344)](){return this;}[_0x81f569(0x4f8)](){var _0x33bc8e=_0x81f569;return this['_injector'][_0x33bc8e(0x29d)](exports[_0x33bc8e(0x288)],this[_0x33bc8e(0x4a1)],this['type'],this[_0x33bc8e(0x4f4)],this[_0x33bc8e(0x346)],this[_0x33bc8e(0x4dd)]);}[_0x81f569(0x458)](){return this;}[_0x81f569(0x3e5)](_0x3101f3){var _0xd04499=_0x81f569;return this[_0xd04499(0x2c1)][_0xd04499(0x29d)](exports[_0xd04499(0x447)],this[_0xd04499(0x4a1)],this['type'],this['_awaitingChangeset'],this[_0xd04499(0x346)],this[_0xd04499(0x4dd)],_0x3101f3);}},exports['FetchingMissState']=le([A(0x7,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),A(0x8,a['Inject'](m[_0x81f569(0x2f4)])),A(0x9,a[_0x81f569(0x223)]),A(0xa,a[_0x81f569(0x412)]),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x391)]);function Pt(_0x1ce680,_0x52ee69,_0x1e98fa,_0x226efd,_0x32de1c,_0x1159c3){var _0xf39606=_0x81f569;return _0x226efd&&_0x32de1c[_0xf39606(0x3f8)]?_0x1ce680[_0xf39606(0x29d)](exports['AwaitingWithPendingState'],_0x52ee69,_0x1e98fa,_0x226efd,_0x32de1c,_0x1159c3,void 0x0):_0x226efd?_0x1ce680[_0xf39606(0x29d)](exports[_0xf39606(0x4d2)],_0x52ee69,_0x1e98fa,_0x226efd,_0x1159c3):_0x32de1c['length']?_0x1ce680[_0xf39606(0x29d)](exports['PendingState'],_0x52ee69,_0x1e98fa,_0x32de1c,_0x1159c3):_0x1ce680['createInstance'](exports[_0xf39606(0x54d)],_0x52ee69,_0x1e98fa,_0x1159c3);}var Pn=Object[_0x81f569(0x24d)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0x514c88,_0x5d154f,_0x3a8fb6,_0x412d6d)=>{var _0x3265f9=_0x81f569;for(var _0x174c17=_0x412d6d>0x1?void 0x0:_0x412d6d?Dn(_0x5d154f,_0x3a8fb6):_0x5d154f,_0xfff391=_0x514c88[_0x3265f9(0x3f8)]-0x1,_0x187e01;_0xfff391>=0x0;_0xfff391--)(_0x187e01=_0x514c88[_0xfff391])&&(_0x174c17=(_0x412d6d?_0x187e01(_0x5d154f,_0x3a8fb6,_0x174c17):_0x187e01(_0x174c17))||_0x174c17);return _0x412d6d&&_0x174c17&&Pn(_0x5d154f,_0x3a8fb6,_0x174c17),_0x174c17;},k=(_0x32ace7,_0x4b2a7a)=>(_0x3d20f1,_0x134c0b)=>_0x4b2a7a(_0x3d20f1,_0x134c0b,_0x32ace7);exports[_0x81f569(0x39d)]=class extends a[_0x81f569(0x4a7)]{constructor(_0x147035,_0x31d3cd,_0x5187f5,_0x5285fd,_0x3dad5a,_0x30837d,_0x346099,_0x45fa82,_0x3e1271,_0x4c37e7,_0xc22c53,_0x2e49bf,_0xee2f3d){var _0x454081=_0x81f569;super(),D(this,'_state$',new H[(_0x454081(0x490))](null)),D(this,_0x454081(0x230),this[_0x454081(0x2cc)]['asObservable']()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x454081(0x262),''),D(this,_0x454081(0x232),0x0),D(this,'status$',this[_0x454081(0x230)]['pipe'](H['map'](_0x547f06=>_0x547f06?_0x547f06[_0x454081(0x1fb)]:We[_0x454081(0x3ca)]),H[_0x454081(0x2cf)](0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x454081(0x4a1)]=_0x147035,this['session']=_0x31d3cd,this[_0x454081(0x3e8)]=_0x5187f5,this[_0x454081(0x2c1)]=_0x5285fd,this[_0x454081(0x420)]=_0x3dad5a,this[_0x454081(0x530)]=_0x30837d,this[_0x454081(0x2dc)]=_0x346099,this[_0x454081(0x53d)]=_0x45fa82,this[_0x454081(0x244)]=_0x3e1271,this[_0x454081(0x3e2)]=_0x4c37e7,this[_0x454081(0x45d)]=_0xc22c53,this[_0x454081(0x524)]=_0x2e49bf,this[_0x454081(0x30f)]=_0xee2f3d);}get[_0x81f569(0x529)](){return this['_state'];}async['init'](){var _0x12528b=_0x81f569;if(this[_0x12528b(0x529)])throw new Error(_0x12528b(0x435));await this['_init']();}[_0x81f569(0x23c)](){var _0x10183c=_0x81f569;return this[_0x10183c(0x419)]=!0x0,a[_0x10183c(0x478)](()=>{var _0x2e3ccb=_0x10183c;this[_0x2e3ccb(0x419)]=!0x1,this[_0x2e3ccb(0x3b6)]();});}[_0x81f569(0x3a0)](_0x1c39ec){var _0x437163=_0x81f569;this[_0x437163(0x242)](_0x1c39ec);}['_updateState'](_0x4716e6){var _0x274ec1=_0x81f569;this[_0x274ec1(0x32c)]=_0x4716e6,this[_0x274ec1(0x2cc)]['next'](_0x4716e6);}async[_0x81f569(0x221)](){var _0xb07976=_0x81f569,_0x36da5d;this[_0xb07976(0x2dd)](await this[_0xb07976(0x483)]()),this[_0xb07976(0x524)]&&((_0x36da5d=this[_0xb07976(0x524)])==null||_0x36da5d[_0xb07976(0x2ce)](this[_0xb07976(0x4a1)]),this['disposeWithMe'](this[_0xb07976(0x524)][_0xb07976(0x206)](this[_0xb07976(0x4a1)])[_0xb07976(0x454)](_0x5a6b48=>{var _0x4849ea=_0xb07976;this['_logService']['debug'](_0x4849ea(0x484),_0x4849ea(0x4ce),_0x5a6b48),_0x5a6b48===Fe[_0x4849ea(0x4e9)]?(this[_0x4849ea(0x53d)][_0x4849ea(0x363)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x4849ea(0x45d)][_0x4849ea(0x342)](new J[(_0x4849ea(0x42a))](this[_0x4849ea(0x4a1)])['id'],!0x1),this[_0x4849ea(0x45d)][_0x4849ea(0x539)](!0x1)):(this[_0x4849ea(0x45d)][_0x4849ea(0x342)](new J['WorkbookEditablePermission'](this[_0x4849ea(0x4a1)])['id'],!0x0),this[_0x4849ea(0x45d)][_0x4849ea(0x539)](!0x0));})));let _0x1b74c4=!0x1;return this[_0xb07976(0x4b5)](this['session']['sessionStatus$'][_0xb07976(0x454)](_0xecdcb8=>{var _0x428a8a=_0xb07976;_0xecdcb8===se[_0x428a8a(0x46c)]?this[_0x428a8a(0x32f)](_0x1b74c4):_0xecdcb8===se[_0x428a8a(0x3ca)]&&(_0x1b74c4=!0x0,this[_0x428a8a(0x50a)]());})),this[_0xb07976(0x4b5)](this[_0xb07976(0x38e)][_0xb07976(0x535)][_0xb07976(0x454)](_0x3423c7=>{var _0x492828=_0xb07976;try{switch(_0x3423c7[_0x492828(0x2e2)]){case m[_0x492828(0x2e7)][_0x492828(0x1f2)]:{this[_0x492828(0x3b4)](m[_0x492828(0x28e)](_0x3423c7['data']));break;}case m['CollaborationEvent'][_0x492828(0x22f)]:{this[_0x492828(0x2fd)](_0x3423c7[_0x492828(0x47e)]);break;}case m[_0x492828(0x2e7)][_0x492828(0x276)]:{this[_0x492828(0x2de)]();break;}case m['CollaborationEvent'][_0x492828(0x3b0)]:{this[_0x492828(0x406)](_0x3423c7[_0x492828(0x47e)]);break;}case m[_0x492828(0x2e7)][_0x492828(0x527)]:{this[_0x492828(0x3e3)](_0x3423c7[_0x492828(0x47e)][_0x492828(0x23e)]['map'](_0x3e221a=>m[_0x492828(0x28e)](_0x3e221a)));break;}case m[_0x492828(0x2e7)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case m[_0x492828(0x2e7)]['UNISCRIPT_RUN']:break;}}catch(_0x32b9bb){throw console['error'](_0x492828(0x2a4),_0x32b9bb),_0x32b9bb;}})),this[_0xb07976(0x32c)];}[_0x81f569(0x2eb)](){var _0x53817a=_0x81f569;this[_0x53817a(0x27b)]=!0x1;}[_0x81f569(0x212)](){var _0x13a553=_0x81f569;if(this[_0x13a553(0x27b)])throw new Error(_0x13a553(0x201));this['_transitionLocked']=!0x0;}[_0x81f569(0x242)](_0x5bf633){var _0x4479f9=_0x81f569;this[_0x4479f9(0x212)](),this[_0x4479f9(0x2dd)](this[_0x4479f9(0x32c)]['appendMutation'](_0x5bf633)),this[_0x4479f9(0x2eb)]();}[_0x81f569(0x3b4)](_0x4b2724){var _0x5b77ac=_0x81f569;if(!(_0x4b2724[_0x5b77ac(0x384)]<=this[_0x5b77ac(0x2dc)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x5b77ac(0x419)]){this['_remoteChangesetQueue'][_0x5b77ac(0x2bd)](_0x4b2724);return;}this[_0x5b77ac(0x2ab)](_0x4b2724);}}[_0x81f569(0x3b6)](){var _0xa56f10=_0x81f569;this[_0xa56f10(0x3fa)]['forEach'](_0x106dab=>this['_applyRemoteChangeset'](_0x106dab)),this[_0xa56f10(0x3fa)]=[];}[_0x81f569(0x2ab)](_0xf495c1){var _0x27a56f=_0x81f569;const _0x4c0407=this[_0x27a56f(0x420)]['interceptor'][_0x27a56f(0x351)](this['_compressMutationService'][_0x27a56f(0x422)][_0x27a56f(0x520)]()[_0x27a56f(0x44a)])(_0xf495c1[_0x27a56f(0x32b)],null)||_0xf495c1['mutations'],_0x11b1d3={..._0xf495c1,'mutations':_0x4c0407};this['_lockTransition'](),this[_0x27a56f(0x2dd)](this[_0x27a56f(0x32c)][_0x27a56f(0x509)](_0x11b1d3)),this[_0x27a56f(0x2eb)]();}[_0x81f569(0x2fd)](_0x4a75d6){var _0x23a063=_0x81f569;this[_0x23a063(0x212)](),this[_0x23a063(0x2dd)](this[_0x23a063(0x32c)]['onRemoteAck'](_0x4a75d6)),this[_0x23a063(0x2eb)]();}[_0x81f569(0x2de)](_0x4f83d2){var _0x166acc=_0x81f569;this['_lockTransition'](),this[_0x166acc(0x2dd)](this[_0x166acc(0x32c)][_0x166acc(0x486)](_0x4f83d2)),this[_0x166acc(0x2eb)]();}[_0x81f569(0x406)](_0x247ff8){var _0x37cdc5=_0x81f569;this[_0x37cdc5(0x212)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x247ff8)),this[_0x37cdc5(0x2eb)]();}[_0x81f569(0x3e3)](_0x3873f6){var _0x4dc0b3=_0x81f569;if(!(this[_0x4dc0b3(0x32c)]instanceof exports['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x265dad=_0x3873f6[_0x4dc0b3(0x207)](_0x4b979c=>{var _0x27eea0=_0x4dc0b3;const _0x1893bf=this['_compressMutationService'][_0x27eea0(0x422)][_0x27eea0(0x351)](this[_0x27eea0(0x420)][_0x27eea0(0x422)][_0x27eea0(0x520)]()[_0x27eea0(0x44a)])(_0x4b979c[_0x27eea0(0x32b)],null)||_0x4b979c[_0x27eea0(0x32b)];return{..._0x4b979c,'mutations':_0x1893bf};});this[_0x4dc0b3(0x212)](),this['_updateState'](this[_0x4dc0b3(0x32c)]['onMissedChangesetFetched'](_0x265dad)),this[_0x4dc0b3(0x2eb)]();}[_0x81f569(0x50a)](){var _0x3ea671=_0x81f569;this[_0x3ea671(0x212)](),this[_0x3ea671(0x2dd)](this[_0x3ea671(0x32c)][_0x3ea671(0x4f8)]()),this[_0x3ea671(0x2eb)]();}[_0x81f569(0x32f)](_0xec433=!0x1){var _0x37b5ac=_0x81f569;this[_0x37b5ac(0x212)](),this[_0x37b5ac(0x2dd)](this[_0x37b5ac(0x32c)]['toggleOnline']()),this[_0x37b5ac(0x2eb)]();const _0x1ddfe3=this[_0x37b5ac(0x32c)];_0xec433&&_0x1ddfe3 instanceof exports[_0x37b5ac(0x54d)]&&(this[_0x37b5ac(0x212)](),this[_0x37b5ac(0x2dd)](_0x1ddfe3[_0x37b5ac(0x409)]()),this[_0x37b5ac(0x2eb)]());}async[_0x81f569(0x483)](){return new Promise(_0x5310d4=>{var _0x281686=_0x9ceb;this[_0x281686(0x38e)][_0x281686(0x270)][_0x281686(0x2bc)](H[_0x281686(0x258)](0x1))[_0x281686(0x454)](async _0x456fb8=>{var _0x47e590=_0x281686;_0x5310d4(await this[_0x47e590(0x4d8)](_0x456fb8===se[_0x47e590(0x46c)]));});});}['_createHandler'](){var _0x2a3398=_0x81f569;const _0x39b3b2=this[_0x2a3398(0x4a1)];return{'onStateChange':(_0x3d653e,_0x1d1011)=>{var _0x337de6=_0x2a3398;if(_0x3d653e!==this['_state'])throw new Error(_0x337de6(0x3e1)+_0x3d653e[_0x337de6(0x1fb)]+_0x337de6(0x51a)+_0x1d1011[_0x337de6(0x1fb)]+_0x337de6(0x1fd)+this[_0x337de6(0x32c)][_0x337de6(0x1fb)]);this[_0x337de6(0x2dd)](_0x1d1011);},'onSendChangeset':_0x1c594b=>{var _0x2b753f=_0x2a3398;_0x1c594b[_0x2b753f(0x249)]||(_0x1c594b[_0x2b753f(0x249)]=this['_changesetSessionId'],_0x1c594b[_0x2b753f(0x1f4)]=++this[_0x2b753f(0x232)]);const _0x141c2e={'eventID':m[_0x2b753f(0x2e7)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1c594b[_0x2b753f(0x4a1)],'unitType':this[_0x2b753f(0x3e8)],'changeset':_0x1c594b,'memberID':this[_0x2b753f(0x38e)][_0x2b753f(0x41b)]()}};this[_0x2b753f(0x38e)][_0x2b753f(0x334)](_0x141c2e,this['unitID']);},'onMissingChangesets':({from:_0xd0af94,to:_0x554fd9})=>{var _0x329cba=_0x2a3398;this[_0x329cba(0x244)][_0x329cba(0x53e)](_0x329cba(0x484),'fetching\x20missing\x20changesets\x20from\x20'+_0xd0af94+'\x20to\x20'+_0x554fd9);const _0x489426={'eventID':m[_0x329cba(0x2e7)]['FETCH_MISSING'],'data':{'unitID':_0x39b3b2,'unitType':this[_0x329cba(0x3e8)],'from':_0xd0af94,'to':_0x554fd9}};this[_0x329cba(0x38e)][_0x329cba(0x334)](_0x489426,this[_0x329cba(0x4a1)]);}};}async[_0x81f569(0x4d8)](_0x2b9fe1){var _0x57a1c5=_0x81f569,_0x262a52,_0x4ccd71,_0x24dcea;const _0x21a54e=await((_0x262a52=this[_0x57a1c5(0x30f)])==null?void 0x0:_0x262a52[_0x57a1c5(0x445)](this[_0x57a1c5(0x4a1)])),_0x41f9db=(_0x4ccd71=_0x21a54e==null?void 0x0:_0x21a54e[_0x57a1c5(0x32b)])!=null?_0x4ccd71:[],_0x333f7e=(_0x24dcea=_0x21a54e==null?void 0x0:_0x21a54e['awaitingChangeset'])!=null?_0x24dcea:null,_0x150fdd=!!(_0x333f7e!=null&&_0x333f7e[_0x57a1c5(0x249)])&&!!(_0x333f7e!=null&&_0x333f7e[_0x57a1c5(0x1f4)]);this[_0x57a1c5(0x262)]=_0x150fdd?_0x333f7e[_0x57a1c5(0x249)]:gn(),this[_0x57a1c5(0x232)]=_0x150fdd?_0x333f7e[_0x57a1c5(0x1f4)]:0x0;const _0x4dc195=this[_0x57a1c5(0x4a1)];try{this[_0x57a1c5(0x347)](_0x333f7e,_0x41f9db);}catch(_0x217732){this[_0x57a1c5(0x244)][_0x57a1c5(0x4b6)](_0x217732);}const _0x28282a=this['_createHandler']();if(_0x2b9fe1){const _0x2710be=Pt(this[_0x57a1c5(0x2c1)],_0x4dc195,this[_0x57a1c5(0x3e8)],_0x333f7e,_0x41f9db,_0x28282a);return _0x2710be instanceof exports[_0x57a1c5(0x209)]?_0x2710be['_schedule']():(_0x2710be instanceof exports[_0x57a1c5(0x21f)]||_0x2710be instanceof exports['AwaitingState'])&&_0x2710be[_0x57a1c5(0x515)](),_0x2710be;}return this[_0x57a1c5(0x2c1)][_0x57a1c5(0x29d)](exports[_0x57a1c5(0x288)],_0x4dc195,this['_type'],_0x333f7e,_0x41f9db,_0x28282a);}['_replayCachedMutations'](_0x31d92e,_0x47bca1){var _0x4d8d1f=_0x81f569,_0xa875e7,_0x392a7f;const _0x1819bd=this[_0x4d8d1f(0x420)][_0x4d8d1f(0x422)][_0x4d8d1f(0x351)](this[_0x4d8d1f(0x420)][_0x4d8d1f(0x422)][_0x4d8d1f(0x520)]()[_0x4d8d1f(0x44a)]);(_0xa875e7=_0x1819bd((_0x31d92e==null?void 0x0:_0x31d92e['mutations'])||[],null))==null||_0xa875e7[_0x4d8d1f(0x3ed)](_0x299e6b=>this['_commandService'][_0x4d8d1f(0x343)](_0x299e6b['id'],_0x299e6b[_0x4d8d1f(0x214)])),(_0x392a7f=_0x1819bd(_0x47bca1||[],null))==null||_0x392a7f[_0x4d8d1f(0x3ed)](_0x11849e=>this[_0x4d8d1f(0x3e2)]['executeCommand'](_0x11849e['id'],_0x11849e[_0x4d8d1f(0x214)]));}},exports[_0x81f569(0x39d)]=Ge([k(0x3,a['Inject'](a[_0x81f569(0x279)])),k(0x4,a['Inject'](m[_0x81f569(0x3d6)])),k(0x5,a[_0x81f569(0x421)](a[_0x81f569(0x26c)])),k(0x6,a[_0x81f569(0x421)](m[_0x81f569(0x2f4)])),k(0x7,a[_0x81f569(0x421)](te)),k(0x8,a[_0x81f569(0x223)]),k(0x9,a[_0x81f569(0x412)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x81f569(0x3d0)](ve)),k(0xc,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x39d)]),exports[_0x81f569(0x4cb)]=class extends exports[_0x81f569(0x39d)]{constructor(_0x1e412e,_0x37d9a1,_0x426a6f,_0x233731,_0x3bad79,_0x3e997c,_0x3020d,_0x1a9e6b,_0x589d74,_0x536ab2,_0x15be28,_0x1833e4,_0x6da513){var _0x1fd171=_0x81f569;super(_0x1e412e,_0x426a6f,_0x37d9a1,_0x233731,_0x3bad79,_0x3e997c,_0x3020d,_0x1a9e6b,_0x589d74,_0x536ab2,_0x15be28,_0x1833e4,_0x6da513),D(this,'_handlerCallback',null),(this[_0x1fd171(0x4a1)]=_0x1e412e,this[_0x1fd171(0x3d5)]=_0x37d9a1);}['addHandlerCallback'](_0x34bc59){var _0x1f0176=_0x81f569;this[_0x1f0176(0x485)]=_0x34bc59;}[_0x81f569(0x465)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x142b1c=_0x81f569;const _0x3fec1d=super[_0x142b1c(0x3c0)]();return _0x3fec1d[_0x142b1c(0x2d4)]=_0x538a52=>{var _0x2b97a1=_0x142b1c,_0xe862a5,_0x7d1535;return(_0x7d1535=(_0xe862a5=this[_0x2b97a1(0x485)])==null?void 0x0:_0xe862a5['onTransformIME'])==null?void 0x0:_0x7d1535[_0x2b97a1(0x504)](_0xe862a5,_0x538a52);},_0x3fec1d['onTransformState']=_0x74cad8=>{var _0x2ca39a,_0x2458f7;return(_0x2458f7=(_0x2ca39a=this['_handlerCallback'])==null?void 0x0:_0x2ca39a['onTransformState'])==null?void 0x0:_0x2458f7['call'](_0x2ca39a,_0x74cad8);},_0x3fec1d[_0x142b1c(0x20f)]=_0xd9575b=>{var _0x282967=_0x142b1c,_0xe6079e,_0x1666b9;return(_0x1666b9=(_0xe6079e=this[_0x282967(0x485)])==null?void 0x0:_0xe6079e[_0x282967(0x20f)])==null?void 0x0:_0x1666b9['call'](_0xe6079e,_0xd9575b);},_0x3fec1d[_0x142b1c(0x2e8)]=_0x74618=>{var _0x41e4d0=_0x142b1c,_0x5bf4c4,_0x168a52;return(_0x168a52=(_0x5bf4c4=this[_0x41e4d0(0x485)])==null?void 0x0:_0x5bf4c4[_0x41e4d0(0x2e8)])==null?void 0x0:_0x168a52['call'](_0x5bf4c4,_0x74618);},_0x3fec1d[_0x142b1c(0x3a3)]=_0x1a94dd=>{var _0x327148=_0x142b1c,_0x1212ee,_0x48d101,_0x148983;if(!((_0x1212ee=this[_0x327148(0x485)])!=null&&_0x1212ee[_0x327148(0x3a3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x148983=(_0x48d101=this[_0x327148(0x485)])==null?void 0x0:_0x48d101['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x148983[_0x327148(0x504)](_0x48d101,_0x1a94dd);},_0x3fec1d['onTransformRemoteChangesetByStateCache']=_0xcc40d=>{var _0x3310ce=_0x142b1c,_0x342ff6,_0x32432c,_0x2c215f;if(!((_0x342ff6=this[_0x3310ce(0x485)])!=null&&_0x342ff6[_0x3310ce(0x48b)]))throw new Error(_0x3310ce(0x3be));return(_0x2c215f=(_0x32432c=this[_0x3310ce(0x485)])==null?void 0x0:_0x32432c[_0x3310ce(0x48b)])==null?void 0x0:_0x2c215f[_0x3310ce(0x504)](_0x32432c,_0xcc40d);},_0x3fec1d;}async['_init'](){var _0x524c7e=_0x81f569;const _0x427e46=await super[_0x524c7e(0x221)]();return this[_0x524c7e(0x4b5)](this['_commandService'][_0x524c7e(0x352)]((_0x579c91,_0x2cf749)=>{var _0x2aa7d3=_0x524c7e;if(_0x579c91[_0x2aa7d3(0x3d5)]!==a['CommandType'][_0x2aa7d3(0x3ef)]||_0x2cf749!=null&&_0x2cf749['fromCollab']||_0x2cf749!=null&&_0x2cf749['onlyLocal']||_0x579c91['id']===dt[_0x2aa7d3(0x202)]['id'])return;const _0x1281ff=_0x579c91['params'];if((_0x1281ff==null?void 0x0:_0x1281ff[_0x2aa7d3(0x375)])!==this['unitID'])return;const _0x3e7f63=_0x579c91,_0x10e260=this['_compressMutationService'][_0x2aa7d3(0x422)][_0x2aa7d3(0x351)](this['_compressMutationService'][_0x2aa7d3(0x422)][_0x2aa7d3(0x520)]()['COMPRESS_MUTATION_SEND'])([_0x3e7f63],null)||[_0x3e7f63];this[_0x2aa7d3(0x242)](_0x10e260[0x0]);})),_0x427e46;}},exports['DocCollaborationEntity']=Ge([k(0x3,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),k(0x4,a[_0x81f569(0x421)](m[_0x81f569(0x3d6)])),k(0x5,a[_0x81f569(0x421)](a['LocaleService'])),k(0x6,a[_0x81f569(0x421)](m['RevisionService'])),k(0x7,a[_0x81f569(0x421)](te)),k(0x8,a[_0x81f569(0x223)]),k(0x9,a['ICommandService']),k(0xa,a['IPermissionService']),k(0xb,a[_0x81f569(0x3d0)](ve)),k(0xc,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x4cb)]),exports[_0x81f569(0x240)]=class extends exports[_0x81f569(0x39d)]{constructor(_0x5e2fee,_0x22ce92,_0x5c81b6,_0x3f637b,_0x101abe,_0x3638be,_0x1b765f,_0xd7dc2b,_0x60a04c,_0x344b6b,_0x4beeb1,_0xd2bdd,_0x3d056a,_0x5466bb){var _0x104f70=_0x81f569;super(_0x5e2fee,_0x5c81b6,_0x22ce92,_0x3f637b,_0x101abe,_0x3638be,_0x1b765f,_0x60a04c,_0x344b6b,_0x4beeb1,_0xd2bdd,_0x3d056a,_0x5466bb),this[_0x104f70(0x4a1)]=_0x5e2fee,this[_0x104f70(0x3d5)]=_0x22ce92,this[_0x104f70(0x293)]=_0xd7dc2b;}[_0x81f569(0x3c0)](){var _0xd67e41=_0x81f569;const _0x54f9ed=super['_createHandler']();return _0x54f9ed[_0xd67e41(0x20f)]=_0x301c9a=>this['_sheetTransformSelectionsService'][_0xd67e41(0x40c)](_0x301c9a),_0x54f9ed;}async['_init'](){var _0x35adc6=_0x81f569;const _0x5d3505=await super[_0x35adc6(0x221)]();return this[_0x35adc6(0x4b5)](this[_0x35adc6(0x3e2)]['onCommandExecuted']((_0x585e56,_0x37c2c0)=>{var _0x56020b=_0x35adc6;if(_0x585e56[_0x56020b(0x3d5)]!==a[_0x56020b(0x341)]['MUTATION']||_0x37c2c0!=null&&_0x37c2c0[_0x56020b(0x239)]||_0x37c2c0!=null&&_0x37c2c0[_0x56020b(0x48e)])return;const _0x17044d=_0x585e56[_0x56020b(0x214)];if((_0x17044d==null?void 0x0:_0x17044d[_0x56020b(0x375)])!==this[_0x56020b(0x4a1)])return;const _0xe638ea=_0x585e56,_0x5d420e=this['_compressMutationService'][_0x56020b(0x422)][_0x56020b(0x351)](this[_0x56020b(0x420)][_0x56020b(0x422)][_0x56020b(0x520)]()[_0x56020b(0x3c8)])([_0xe638ea],null)||[_0xe638ea];this[_0x56020b(0x242)](_0x5d420e[0x0]);})),_0x5d3505;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),k(0x4,a[_0x81f569(0x421)](m[_0x81f569(0x3d6)])),k(0x5,a[_0x81f569(0x421)](a[_0x81f569(0x26c)])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x81f569(0x421)](exports[_0x81f569(0x251)])),k(0x8,a[_0x81f569(0x421)](te)),k(0x9,a[_0x81f569(0x223)]),k(0xa,a[_0x81f569(0x412)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x81f569(0x3d0)](ve)),k(0xd,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x240)]);var wn=Object[_0x81f569(0x24d)],An=Object[_0x81f569(0x226)],Ln=(_0x182b61,_0x45c626,_0x48ad3a,_0x462896)=>{var _0x4ac521=_0x81f569;for(var _0x230df9=_0x462896>0x1?void 0x0:_0x462896?An(_0x45c626,_0x48ad3a):_0x45c626,_0x341fd8=_0x182b61[_0x4ac521(0x3f8)]-0x1,_0x4a4230;_0x341fd8>=0x0;_0x341fd8--)(_0x4a4230=_0x182b61[_0x341fd8])&&(_0x230df9=(_0x462896?_0x4a4230(_0x45c626,_0x48ad3a,_0x230df9):_0x4a4230(_0x230df9))||_0x230df9);return _0x462896&&_0x230df9&&wn(_0x45c626,_0x48ad3a,_0x230df9),_0x230df9;},we=(_0x18c3ab,_0x526768)=>(_0x265bd7,_0x3ffa49)=>_0x526768(_0x265bd7,_0x3ffa49,_0x18c3ab);exports['CollaborationController']=class extends a[_0x81f569(0x4a7)]{constructor(_0x4569a4,_0x4b4104,_0x495dfc){var _0x120252=_0x81f569;super(),D(this,_0x120252(0x222),new Map()),D(this,'_entityInit$',new H[(_0x120252(0x561))]()),D(this,_0x120252(0x471),this[_0x120252(0x282)][_0x120252(0x560)]()),(this[_0x120252(0x2c1)]=_0x4569a4,this[_0x120252(0x523)]=_0x4b4104,this[_0x120252(0x4b8)]=_0x495dfc,this[_0x120252(0x221)]());}[_0x81f569(0x465)](){var _0x1a8ea5=_0x81f569;super[_0x1a8ea5(0x465)](),this[_0x1a8ea5(0x222)]['forEach'](_0x218260=>_0x218260['dispose']()),this[_0x1a8ea5(0x222)][_0x1a8ea5(0x32d)]();}[_0x81f569(0x335)](_0x34e526){var _0x4ebe4f=_0x81f569,_0x2834c0;return(_0x2834c0=this[_0x4ebe4f(0x222)][_0x4ebe4f(0x3bc)](_0x34e526))!=null?_0x2834c0:null;}[_0x81f569(0x506)](_0x589f6d){var _0x58f036=_0x81f569;const _0x2e38b0=this['getCollabEntity'](_0x589f6d);return _0x2e38b0?H['of'](_0x2e38b0):this[_0x58f036(0x282)][_0x58f036(0x2bc)](W[_0x58f036(0x317)](_0x419a1a=>_0x419a1a['unitID']===_0x589f6d));}['readyForCollab'](_0x1c41ab){var _0x1d438e=_0x81f569;return H[_0x1d438e(0x492)](this[_0x1d438e(0x506)](_0x1c41ab)[_0x1d438e(0x2bc)](W[_0x1d438e(0x207)](()=>{})));}['_init'](){var _0x552186=_0x81f569;this[_0x552186(0x4b8)]['getTypeOfUnitAdded$'](a[_0x552186(0x4b0)][_0x552186(0x25d)])[_0x552186(0x2bc)](H[_0x552186(0x543)](this[_0x552186(0x21a)]),W[_0x552186(0x418)](0x10))['subscribe'](async _0x9600bd=>{var _0x4a591a=_0x552186;const _0x2221e8=_0x9600bd[_0x4a591a(0x333)](),_0x2b3aa9=await this[_0x4a591a(0x355)](_0x2221e8,Z[_0x4a591a(0x25d)]);this[_0x4a591a(0x222)][_0x4a591a(0x4f9)](_0x2221e8,_0x2b3aa9);}),this[_0x552186(0x4b8)][_0x552186(0x36c)](a[_0x552186(0x4b0)][_0x552186(0x203)])['pipe'](H[_0x552186(0x543)](this[_0x552186(0x21a)]),W[_0x552186(0x418)](0x10))[_0x552186(0x2bc)](W[_0x552186(0x317)](_0x26242f=>!_0x26242f[_0x552186(0x333)]()[_0x552186(0x423)]('__')))[_0x552186(0x454)](async _0x179cb1=>{var _0x3d68d7=_0x552186;const _0xa7ba14=_0x179cb1['getUnitId'](),_0x34f611=await this[_0x3d68d7(0x355)](_0xa7ba14,Z[_0x3d68d7(0x203)]);this['_entities'][_0x3d68d7(0x4f9)](_0xa7ba14,_0x34f611);}),H['merge'](this['_univerInstanceService'][_0x552186(0x383)](a[_0x552186(0x4b0)][_0x552186(0x25d)]),this[_0x552186(0x4b8)][_0x552186(0x383)](a[_0x552186(0x4b0)][_0x552186(0x203)]))['pipe'](H[_0x552186(0x543)](this[_0x552186(0x21a)]))[_0x552186(0x454)](_0x168d06=>{var _0x2524dd=_0x552186;const _0x18a869=_0x168d06[_0x2524dd(0x333)](),_0x2bfa54=this[_0x2524dd(0x222)][_0x2524dd(0x3bc)](_0x18a869);_0x2bfa54&&(_0x2bfa54[_0x2524dd(0x465)](),this[_0x2524dd(0x222)][_0x2524dd(0x296)](_0x18a869));});}async[_0x81f569(0x355)](_0x444535,_0x27194a){var _0x3a4a34=_0x81f569;const _0xc5a40=await this['_collabSessionService'][_0x3a4a34(0x408)](_0x444535),_0x115272=this[_0x3a4a34(0x2c1)][_0x3a4a34(0x29d)](this[_0x3a4a34(0x20a)](_0x27194a),_0x444535,_0x27194a,_0xc5a40);return await _0x115272[_0x3a4a34(0x51b)](),this[_0x3a4a34(0x282)][_0x3a4a34(0x541)](_0x115272),_0x115272;}[_0x81f569(0x20a)](_0xa2325){var _0x403e31=_0x81f569;switch(_0xa2325){case Z[_0x403e31(0x203)]:return exports[_0x403e31(0x4cb)];case Z[_0x403e31(0x25d)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x403e31(0x2ed)+_0xa2325);}}},exports[_0x81f569(0x2f0)]=Ln([we(0x0,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),we(0x1,a[_0x81f569(0x421)](exports[_0x81f569(0x33b)])),we(0x2,a[_0x81f569(0x35c)])],exports['CollaborationController']);var Mn=Object['defineProperty'],xn=Object[_0x81f569(0x226)],jn=(_0x305a2d,_0x1d14a0,_0x4899e6,_0x37457a)=>{for(var _0xaef14=_0x37457a>0x1?void 0x0:_0x37457a?xn(_0x1d14a0,_0x4899e6):_0x1d14a0,_0x58fcbf=_0x305a2d['length']-0x1,_0x2329c5;_0x58fcbf>=0x0;_0x58fcbf--)(_0x2329c5=_0x305a2d[_0x58fcbf])&&(_0xaef14=(_0x37457a?_0x2329c5(_0x1d14a0,_0x4899e6,_0xaef14):_0x2329c5(_0xaef14))||_0xaef14);return _0x37457a&&_0xaef14&&Mn(_0x1d14a0,_0x4899e6,_0xaef14),_0xaef14;},Xe=(_0x46575b,_0x391555)=>(_0x3281ef,_0x518e6b)=>_0x391555(_0x3281ef,_0x518e6b,_0x46575b);const $n=_0x81f569(0x24e),Hn='Univer';let $e=class extends a[_0x81f569(0x4c3)]{constructor(_0x596cf0,_0x412d7c){var _0x52bd8c=_0x81f569;super(),this[_0x52bd8c(0x4b8)]=_0x596cf0,this[_0x52bd8c(0x4f3)]=_0x412d7c,this[_0x52bd8c(0x221)]();}['_init'](){var _0x3446a1=_0x81f569;this[_0x3446a1(0x4b5)](this[_0x3446a1(0x4b8)]['focused$']['subscribe'](()=>{var _0x1d22bb=_0x3446a1,_0x3c81cb;const _0x4b2164=this['_univerInstanceService'][_0x1d22bb(0x4ef)]();let _0xe7c9c4=(_0x3c81cb=this['_configService'][_0x1d22bb(0x3f3)]($n))!=null?_0x3c81cb:Hn;_0x4b2164 instanceof a['Workbook']&&(_0xe7c9c4=_0x4b2164[_0x1d22bb(0x269)]),document[_0x1d22bb(0x373)]=_0xe7c9c4;}));}};$e=jn([Xe(0x0,a[_0x81f569(0x35c)]),Xe(0x1,a[_0x81f569(0x52c)])],$e);var kn=Object['defineProperty'],Bn=Object[_0x81f569(0x226)],Fn=(_0x428b97,_0xe2bbb8,_0x41eeaa,_0x48be79)=>{var _0x3be5b7=_0x81f569;for(var _0x5ea883=_0x48be79>0x1?void 0x0:_0x48be79?Bn(_0xe2bbb8,_0x41eeaa):_0xe2bbb8,_0x1f1f00=_0x428b97[_0x3be5b7(0x3f8)]-0x1,_0x40762a;_0x1f1f00>=0x0;_0x1f1f00--)(_0x40762a=_0x428b97[_0x1f1f00])&&(_0x5ea883=(_0x48be79?_0x40762a(_0xe2bbb8,_0x41eeaa,_0x5ea883):_0x40762a(_0x5ea883))||_0x5ea883);return _0x48be79&&_0x5ea883&&kn(_0xe2bbb8,_0x41eeaa,_0x5ea883),_0x5ea883;},Ae=(_0x404cb5,_0x1ff539)=>(_0x511179,_0x578fbf)=>_0x1ff539(_0x511179,_0x578fbf,_0x404cb5);let ye=class{constructor(_0x14f12d,_0x465064,_0x20467d){var _0x58a9ec=_0x81f569;this[_0x58a9ec(0x4f3)]=_0x14f12d,this[_0x58a9ec(0x4a5)]=_0x465064,this[_0x58a9ec(0x300)]=_0x20467d,this[_0x58a9ec(0x51b)]();}[_0x81f569(0x51b)](){var _0x149d7=_0x81f569;this[_0x149d7(0x4a5)][_0x149d7(0x518)]({'priority':0x1,'interceptor':(_0xf5ab08,_0x16052c)=>_0x16052c(_0xf5ab08)[_0x149d7(0x2bc)](H[_0x149d7(0x2d2)](async _0xce2bee=>{var _0x5df0aa=_0x149d7;const _0x448cd5=_0xce2bee;if(_0x448cd5['status']===0x191){if(typeof window>'u')throw new Error(_0x5df0aa(0x389));if(window['confirm'](this[_0x5df0aa(0x300)]['t'](_0x5df0aa(0x340)))){const _0x3f6de1=window[_0x5df0aa(0x4c5)](window['location'][_0x5df0aa(0x312)]);window[_0x5df0aa(0x459)]['href']=this['_getLoginPath']()+_0x5df0aa(0x456)+_0x3f6de1;}}return _0x448cd5;}))});}[_0x81f569(0x436)](){var _0x1c6065=_0x81f569,_0xddfb9,_0x3e3ca1;const _0x1ae3ca=this[_0x1c6065(0x4f3)][_0x1c6065(0x3f3)](Ct),_0x370cee=this[_0x1c6065(0x4f3)][_0x1c6065(0x3f3)](Y);return(_0x3e3ca1=(_0xddfb9=_0x370cee==null?void 0x0:_0x370cee[_0x1c6065(0x4f6)])!=null?_0xddfb9:_0x1ae3ca)!=null?_0x3e3ca1:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x81f569(0x421)](q[_0x81f569(0x3fb)])),Ae(0x2,a[_0x81f569(0x421)](a[_0x81f569(0x26c)]))],ye);var Wn=Object[_0x81f569(0x24d)],Gn=Object['getOwnPropertyDescriptor'],Vn=(_0x52312e,_0x105c71,_0x5475d3,_0x3fb65f)=>{var _0x285de2=_0x81f569;for(var _0x1852bf=_0x3fb65f>0x1?void 0x0:_0x3fb65f?Gn(_0x105c71,_0x5475d3):_0x105c71,_0x1fcfbb=_0x52312e[_0x285de2(0x3f8)]-0x1,_0x3f0705;_0x1fcfbb>=0x0;_0x1fcfbb--)(_0x3f0705=_0x52312e[_0x1fcfbb])&&(_0x1852bf=(_0x3fb65f?_0x3f0705(_0x105c71,_0x5475d3,_0x1852bf):_0x3f0705(_0x1852bf))||_0x1852bf);return _0x3fb65f&&_0x1852bf&&Wn(_0x105c71,_0x5475d3,_0x1852bf),_0x1852bf;},Ze=(_0x183512,_0x4697a4)=>(_0x918a06,_0x3db576)=>_0x4697a4(_0x918a06,_0x3db576,_0x183512);function _0x9ceb(_0x28e32a,_0x274735){var _0x23f8e7=_0x23f8();return _0x9ceb=function(_0x9ceb17,_0x1f005b){_0x9ceb17=_0x9ceb17-0x1e5;var _0x4a27d4=_0x23f8e7[_0x9ceb17];return _0x4a27d4;},_0x9ceb(_0x28e32a,_0x274735);}const Ve=_0x81f569(0x1e8),Kn=_0x81f569(0x2fc);exports[_0x81f569(0x24c)]=class extends a[_0x81f569(0x4c3)]{constructor(_0x265289,_0x4685a1){var _0xaf231c=_0x81f569;super(),this['_HTTPService']=_0x265289,this['_configService']=_0x4685a1,this[_0xaf231c(0x3bd)]();}[_0x81f569(0x3bd)](){var _0x4e6982=_0x81f569;const _0x5dca16=this;this['disposeWithMe'](this[_0x4e6982(0x3ea)][_0x4e6982(0x518)]({'priority':0x3e7,'interceptor':q[_0x4e6982(0x252)]({'isMatch'(_0x30c6c4){var _0x121f65=_0x4e6982,_0x53bf5e;if(_0x30c6c4[_0x121f65(0x3ba)]==='POST'&&((_0x53bf5e=_0x30c6c4[_0x121f65(0x245)])!=null&&_0x53bf5e[_0x121f65(0x46f)])){const {objectID:_0x2316a9,objectType:_0x4a6b01}=_0x30c6c4[_0x121f65(0x245)][_0x121f65(0x46f)]||{};if(!_0x2316a9||_0x4a6b01===void 0x0)return!0x1;const _0x55f049=_0x5dca16['_getAPIPrefixPath']()+'/'+_0x4a6b01+_0x121f65(0x315)+_0x2316a9+_0x121f65(0x51d);if(_0x30c6c4[_0x121f65(0x394)]===_0x55f049)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x476890){var _0x192a4c=_0x4e6982,_0x347739;return(_0x347739=_0x476890[_0x192a4c(0x245)])==null?void 0x0:_0x347739[_0x192a4c(0x46f)];},'mergeParamsToRequest'(_0x36f915,_0xd5bcb3){var _0x261044=_0x4e6982;const _0x23084a=_0x5dca16['_getAPIPrefixPath']()+_0x261044(0x397),_0x3c96de=_0x36f915[_0x261044(0x3fd)]((_0x118852,_0x4c97cc)=>{var _0x1bd26d=_0x261044;const {unitID:_0x5ee12e,objectID:_0xad9949,objectType:_0x266027,actions:_0xdf8e13}=_0x4c97cc;return _0x118852[_0x5ee12e]||(_0x118852[_0x5ee12e]={}),_0x118852[_0x5ee12e][_0xad9949]||(_0x118852[_0x5ee12e][_0xad9949]={'objectID':_0xad9949,'objectType':_0x266027,'actions':[]}),_0x118852[_0x5ee12e][_0xad9949][_0x1bd26d(0x3ac)]['push'](..._0xdf8e13),_0x118852;},{}),_0x5a8424=[];for(const _0x82fd12 in _0x3c96de)for(const _0x34a1c4 in _0x3c96de[_0x82fd12]){const {actions:_0x5e3a89,objectType:_0x4cc972}=_0x3c96de[_0x82fd12][_0x34a1c4],_0x14fdf8=[...new Set(_0x5e3a89)];_0x5a8424[_0x261044(0x2bd)]({'unitID':_0x82fd12,'objectID':_0x34a1c4,'objectType':_0x4cc972,'actions':_0x14fdf8});}return new q[(_0x261044(0x38c))](_0x261044(0x231),_0x23084a,{'headers':_0xd5bcb3['headers'],'withCredentials':_0xd5bcb3[_0x261044(0x31c)],'responseType':_0xd5bcb3[_0x261044(0x52a)],'body':{'requests':_0x5a8424}});}},{'distributeResult'(_0x1bd0e5,_0x5b173e){const {objectActions:_0x2bce93}=_0x1bd0e5;return _0x5b173e['map'](_0x46e4cf=>{var _0x33aa43=_0x9ceb;const {unitID:_0x53399e,objectID:_0x844c77,actions:_0xb48d01}=_0x46e4cf,_0x483d5b=_0x2bce93[_0x33aa43(0x2fe)](_0x891287=>_0x891287[_0x33aa43(0x4a1)]===_0x53399e&&_0x891287['objectID']===_0x844c77),_0x26d9c2=_0xb48d01['map'](_0x36cd65=>_0x483d5b==null?void 0x0:_0x483d5b[_0x33aa43(0x3ac)][_0x33aa43(0x2fe)](_0x210d8e=>_0x210d8e[_0x33aa43(0x30d)]===_0x36cd65))[_0x33aa43(0x317)](_0xe064de=>!!_0xe064de);return{'config':_0x46e4cf,'result':{'actions':_0x26d9c2,'error':_0x1bd0e5[_0x33aa43(0x4b6)]}};});}})}));}[_0x81f569(0x3fc)](){var _0x4324f1=_0x81f569,_0x8e34c9,_0x5b162a;const _0x319922=this[_0x4324f1(0x4f3)]['getConfig'](Ve),_0x436188=this[_0x4324f1(0x4f3)][_0x4324f1(0x3f3)](Y);return(_0x5b162a=(_0x8e34c9=_0x436188==null?void 0x0:_0x436188[_0x4324f1(0x555)])!=null?_0x8e34c9:_0x319922)!=null?_0x5b162a:Kn;}async[_0x81f569(0x298)](_0x3f654e){var _0x2df053=_0x81f569;const _0x1bc158=this[_0x2df053(0x3fc)]()+'/'+_0x3f654e[_0x2df053(0x3a6)]+_0x2df053(0x4b1);return(await this[_0x2df053(0x3ea)][_0x2df053(0x255)](_0x1bc158,{'body':_0x3f654e}))[_0x2df053(0x46f)][_0x2df053(0x503)]||'';}async[_0x81f569(0x361)](_0x305943){var _0x48f992=_0x81f569;const _0x413b59=this[_0x48f992(0x3fc)]()+_0x48f992(0x359);return(await this[_0x48f992(0x3ea)]['post'](_0x413b59,{'body':_0x305943}))[_0x48f992(0x46f)][_0x48f992(0x224)];}async[_0x81f569(0x552)](_0x4f064c){var _0x3e9613=_0x81f569;const _0x14347d=this[_0x3e9613(0x3fc)]()+'/'+_0x4f064c[_0x3e9613(0x3a6)]+_0x3e9613(0x315)+_0x4f064c[_0x3e9613(0x503)];await this[_0x3e9613(0x3ea)][_0x3e9613(0x2ae)](_0x14347d,{'body':_0x4f064c});}async['allowed'](_0x198508){var _0x3a88c0=_0x81f569;const _0x42601f=this[_0x3a88c0(0x3fc)]()+'/'+_0x198508[_0x3a88c0(0x3a6)]+_0x3a88c0(0x315)+_0x198508[_0x3a88c0(0x503)]+'/allowed';return(await this[_0x3a88c0(0x3ea)]['post'](_0x42601f,{'body':_0x198508}))[_0x3a88c0(0x46f)][_0x3a88c0(0x3ac)];}async[_0x81f569(0x3cb)](_0x595ede){var _0x46872f=_0x81f569;const _0x33e435=this['_getAPIPrefixPath']()+_0x46872f(0x397);return(await this[_0x46872f(0x3ea)]['post'](_0x33e435,{'body':{'requests':_0x595ede}}))[_0x46872f(0x46f)][_0x46872f(0x4cf)];}async[_0x81f569(0x50d)](_0x4821bf){var _0x43798a=_0x81f569;const _0x331afb=this[_0x43798a(0x3fc)]()+'/'+_0x4821bf[_0x43798a(0x3a6)]+'/role',_0x285a33=await this[_0x43798a(0x3ea)][_0x43798a(0x255)](_0x331afb,{'body':_0x4821bf});return{'roles':_0x285a33[_0x43798a(0x46f)][_0x43798a(0x23b)],'actions':_0x285a33[_0x43798a(0x46f)]['actions']};}async[_0x81f569(0x1f9)](_0x451a40){var _0x3045b5=_0x81f569;const _0x7bbb93=this[_0x3045b5(0x3fc)]()+_0x3045b5(0x42b);await this[_0x3045b5(0x3ea)][_0x3045b5(0x296)](_0x7bbb93,{'params':{'collaboratorID':_0x451a40[_0x3045b5(0x4fd)],'objectID':_0x451a40['objectID'],'unitID':_0x451a40[_0x3045b5(0x4a1)]}});}async['updateCollaborator'](_0xfb3ea1){var _0x320366=_0x81f569;const _0x41eb4d=this[_0x320366(0x3fc)]()+_0x320366(0x42b);await this[_0x320366(0x3ea)]['patch'](_0x41eb4d,{'body':_0xfb3ea1});}async[_0x81f569(0x295)](_0x1f9d5a){var _0x38f936=_0x81f569;const _0x5db75b=this[_0x38f936(0x3fc)]()+_0x38f936(0x42b);await this[_0x38f936(0x3ea)][_0x38f936(0x255)](_0x5db75b,{'body':_0x1f9d5a});}async['listCollaborators'](_0xc4226b){var _0xc2ff09=_0x81f569;const _0x3b8dff=this[_0xc2ff09(0x3fc)]()+_0xc2ff09(0x42b);return(await this[_0xc2ff09(0x3ea)][_0xc2ff09(0x3bc)](_0x3b8dff,{'params':{'objectID':_0xc4226b[_0xc2ff09(0x503)],'unitID':_0xc4226b[_0xc2ff09(0x4a1)]}}))[_0xc2ff09(0x46f)]['collaborators'];}async[_0x81f569(0x33e)](_0x1c5f0d){var _0x86c80f=_0x81f569;const _0x435178=this[_0x86c80f(0x3fc)]()+_0x86c80f(0x42b);await this[_0x86c80f(0x3ea)][_0x86c80f(0x2ae)](_0x435178,{'body':_0x1c5f0d});}},exports[_0x81f569(0x24c)]=Vn([Ze(0x0,a[_0x81f569(0x421)](q['HTTPService'])),Ze(0x1,a[_0x81f569(0x421)](a[_0x81f569(0x52c)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x572f53){var _0x583cf3=_0x81f569;return _0x572f53&&_0x572f53[_0x583cf3(0x45a)]&&Object[_0x583cf3(0x388)]['hasOwnProperty']['call'](_0x572f53,_0x583cf3(0x25c))?_0x572f53[_0x583cf3(0x25c)]:_0x572f53;}var Se={'exports':{}};function Yn(_0x222f85){var _0x9a6d02=_0x81f569;throw new Error(_0x9a6d02(0x2f6)+_0x222f85+_0x9a6d02(0x40a));}var pe={'exports':{}},qn=pe[_0x81f569(0x30c)],Qe;function ee(){return Qe||(Qe=0x1,function(_0xf4af7b,_0x32ef7e){(function(_0x27ac21,_0x4be927){var _0x6636d9=_0x9ceb;_0xf4af7b[_0x6636d9(0x30c)]=_0x4be927();}(qn,function(){var _0x1671f5=_0x1671f5||function(_0x193e27,_0x126cee){var _0x14967e=_0x9ceb,_0x15e879;if(typeof window<'u'&&window[_0x14967e(0x3a7)]&&(_0x15e879=window[_0x14967e(0x3a7)]),typeof self<'u'&&self[_0x14967e(0x3a7)]&&(_0x15e879=self[_0x14967e(0x3a7)]),typeof globalThis<'u'&&globalThis[_0x14967e(0x3a7)]&&(_0x15e879=globalThis[_0x14967e(0x3a7)]),!_0x15e879&&typeof window<'u'&&window[_0x14967e(0x349)]&&(_0x15e879=window['msCrypto']),!_0x15e879&&typeof Le<'u'&&Le[_0x14967e(0x3a7)]&&(_0x15e879=Le['crypto']),!_0x15e879&&typeof Yn=='function')try{_0x15e879=require(_0x14967e(0x3a7));}catch{}var _0x37e33c=function(){var _0x155a97=_0x14967e;if(_0x15e879){if(typeof _0x15e879[_0x155a97(0x2ad)]==_0x155a97(0x26b))try{return _0x15e879[_0x155a97(0x2ad)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x15e879[_0x155a97(0x2fa)]==_0x155a97(0x26b))try{return _0x15e879[_0x155a97(0x2fa)](0x4)[_0x155a97(0x215)]();}catch{}}throw new Error(_0x155a97(0x272));},_0x3b22bf=Object[_0x14967e(0x298)]||(function(){function _0x5cb6f2(){}return function(_0x48db7e){var _0x30b041=_0x9ceb,_0x46d7c0;return _0x5cb6f2[_0x30b041(0x388)]=_0x48db7e,_0x46d7c0=new _0x5cb6f2(),_0x5cb6f2[_0x30b041(0x388)]=null,_0x46d7c0;};}()),_0x2659cd={},_0x47d78a=_0x2659cd[_0x14967e(0x49f)]={},_0x55da27=_0x47d78a['Base']=(function(){return{'extend':function(_0x2e2d52){var _0x3a8447=_0x9ceb,_0x218ea4=_0x3b22bf(this);return _0x2e2d52&&_0x218ea4[_0x3a8447(0x32e)](_0x2e2d52),(!_0x218ea4[_0x3a8447(0x3d8)](_0x3a8447(0x51b))||this[_0x3a8447(0x51b)]===_0x218ea4[_0x3a8447(0x51b)])&&(_0x218ea4[_0x3a8447(0x51b)]=function(){var _0x175095=_0x3a8447;_0x218ea4[_0x175095(0x402)][_0x175095(0x51b)]['apply'](this,arguments);}),_0x218ea4['init'][_0x3a8447(0x388)]=_0x218ea4,_0x218ea4['$super']=this,_0x218ea4;},'create':function(){var _0x4caf39=_0x9ceb,_0x12c040=this['extend']();return _0x12c040[_0x4caf39(0x51b)][_0x4caf39(0x381)](_0x12c040,arguments),_0x12c040;},'init':function(){},'mixIn':function(_0x5adab0){var _0x2deb10=_0x9ceb;for(var _0x1a5013 in _0x5adab0)_0x5adab0[_0x2deb10(0x3d8)](_0x1a5013)&&(this[_0x1a5013]=_0x5adab0[_0x1a5013]);_0x5adab0['hasOwnProperty']('toString')&&(this['toString']=_0x5adab0[_0x2deb10(0x4f5)]);},'clone':function(){var _0x4ebbf2=_0x9ceb;return this['init'][_0x4ebbf2(0x388)][_0x4ebbf2(0x22e)](this);}};}()),_0x484c0d=_0x47d78a[_0x14967e(0x462)]=_0x55da27['extend']({'init':function(_0x2adac1,_0x2a09bb){var _0x182720=_0x14967e;_0x2adac1=this[_0x182720(0x3ff)]=_0x2adac1||[],_0x2a09bb!=_0x126cee?this[_0x182720(0x318)]=_0x2a09bb:this[_0x182720(0x318)]=_0x2adac1[_0x182720(0x3f8)]*0x4;},'toString':function(_0x334bf1){var _0xb106c4=_0x14967e;return(_0x334bf1||_0x420c50)[_0xb106c4(0x49c)](this);},'concat':function(_0x4b8e55){var _0x5461a5=_0x14967e,_0xaebcc5=this['words'],_0x32df04=_0x4b8e55[_0x5461a5(0x3ff)],_0x3f2cd1=this['sigBytes'],_0x925757=_0x4b8e55[_0x5461a5(0x318)];if(this[_0x5461a5(0x3d9)](),_0x3f2cd1%0x4)for(var _0x4b9621=0x0;_0x4b9621<_0x925757;_0x4b9621++){var _0xaa7a63=_0x32df04[_0x4b9621>>>0x2]>>>0x18-_0x4b9621%0x4*0x8&0xff;_0xaebcc5[_0x3f2cd1+_0x4b9621>>>0x2]|=_0xaa7a63<<0x18-(_0x3f2cd1+_0x4b9621)%0x4*0x8;}else{for(var _0x25368b=0x0;_0x25368b<_0x925757;_0x25368b+=0x4)_0xaebcc5[_0x3f2cd1+_0x25368b>>>0x2]=_0x32df04[_0x25368b>>>0x2];}return this[_0x5461a5(0x318)]+=_0x925757,this;},'clamp':function(){var _0x227c6a=_0x14967e,_0x3fbf88=this['words'],_0x10dbbb=this[_0x227c6a(0x318)];_0x3fbf88[_0x10dbbb>>>0x2]&=0xffffffff<<0x20-_0x10dbbb%0x4*0x8,_0x3fbf88[_0x227c6a(0x3f8)]=_0x193e27[_0x227c6a(0x3d1)](_0x10dbbb/0x4);},'clone':function(){var _0x2b1ed3=_0x14967e,_0x4452ca=_0x55da27[_0x2b1ed3(0x44f)][_0x2b1ed3(0x504)](this);return _0x4452ca[_0x2b1ed3(0x3ff)]=this[_0x2b1ed3(0x3ff)][_0x2b1ed3(0x2ba)](0x0),_0x4452ca;},'random':function(_0x5e7c69){var _0xf04fb=_0x14967e;for(var _0x5b9c47=[],_0x5d95b2=0x0;_0x5d95b2<_0x5e7c69;_0x5d95b2+=0x4)_0x5b9c47[_0xf04fb(0x2bd)](_0x37e33c());return new _0x484c0d[(_0xf04fb(0x51b))](_0x5b9c47,_0x5e7c69);}}),_0x40f6df=_0x2659cd[_0x14967e(0x313)]={},_0x420c50=_0x40f6df[_0x14967e(0x512)]={'stringify':function(_0x444e86){var _0x2139ec=_0x14967e;for(var _0x4bbbaa=_0x444e86[_0x2139ec(0x3ff)],_0x2a82ca=_0x444e86[_0x2139ec(0x318)],_0x3be303=[],_0x263c91=0x0;_0x263c91<_0x2a82ca;_0x263c91++){var _0x120a5c=_0x4bbbaa[_0x263c91>>>0x2]>>>0x18-_0x263c91%0x4*0x8&0xff;_0x3be303['push']((_0x120a5c>>>0x4)['toString'](0x10)),_0x3be303[_0x2139ec(0x2bd)]((_0x120a5c&0xf)['toString'](0x10));}return _0x3be303[_0x2139ec(0x4be)]('');},'parse':function(_0x35767c){var _0x2bcc66=_0x14967e;for(var _0x3410d1=_0x35767c[_0x2bcc66(0x3f8)],_0x1eb71c=[],_0x2141d7=0x0;_0x2141d7<_0x3410d1;_0x2141d7+=0x2)_0x1eb71c[_0x2141d7>>>0x3]|=parseInt(_0x35767c['substr'](_0x2141d7,0x2),0x10)<<0x18-_0x2141d7%0x8*0x4;return new _0x484c0d[(_0x2bcc66(0x51b))](_0x1eb71c,_0x3410d1/0x2);}},_0x3e34e5=_0x40f6df[_0x14967e(0x393)]={'stringify':function(_0x1c0279){var _0x21cfdd=_0x14967e;for(var _0x441a91=_0x1c0279[_0x21cfdd(0x3ff)],_0x42d502=_0x1c0279[_0x21cfdd(0x318)],_0x1c45d4=[],_0x447350=0x0;_0x447350<_0x42d502;_0x447350++){var _0x1aa3f0=_0x441a91[_0x447350>>>0x2]>>>0x18-_0x447350%0x4*0x8&0xff;_0x1c45d4[_0x21cfdd(0x2bd)](String[_0x21cfdd(0x266)](_0x1aa3f0));}return _0x1c45d4[_0x21cfdd(0x4be)]('');},'parse':function(_0x5c8f6c){var _0xf4a587=_0x14967e;for(var _0x1e2229=_0x5c8f6c[_0xf4a587(0x3f8)],_0x23ffed=[],_0x22e83f=0x0;_0x22e83f<_0x1e2229;_0x22e83f++)_0x23ffed[_0x22e83f>>>0x2]|=(_0x5c8f6c['charCodeAt'](_0x22e83f)&0xff)<<0x18-_0x22e83f%0x4*0x8;return new _0x484c0d[(_0xf4a587(0x51b))](_0x23ffed,_0x1e2229);}},_0x4d4dd1=_0x40f6df[_0x14967e(0x4ab)]={'stringify':function(_0x121b49){var _0x3c2f74=_0x14967e;try{return decodeURIComponent(escape(_0x3e34e5[_0x3c2f74(0x49c)](_0x121b49)));}catch{throw new Error(_0x3c2f74(0x20b));}},'parse':function(_0x38b750){return _0x3e34e5['parse'](unescape(encodeURIComponent(_0x38b750)));}},_0x34d354=_0x47d78a[_0x14967e(0x54b)]=_0x55da27[_0x14967e(0x22e)]({'reset':function(){var _0x100d6e=_0x14967e;this['_data']=new _0x484c0d[(_0x100d6e(0x51b))](),this['_nDataBytes']=0x0;},'_append':function(_0x13233d){var _0x66f924=_0x14967e;typeof _0x13233d==_0x66f924(0x25a)&&(_0x13233d=_0x4d4dd1['parse'](_0x13233d)),this[_0x66f924(0x34e)][_0x66f924(0x273)](_0x13233d),this['_nDataBytes']+=_0x13233d['sigBytes'];},'_process':function(_0x5b116f){var _0x33ef5c=_0x14967e,_0x460856,_0x47e937=this[_0x33ef5c(0x34e)],_0x2fe2ef=_0x47e937[_0x33ef5c(0x3ff)],_0x324a25=_0x47e937[_0x33ef5c(0x318)],_0x186534=this[_0x33ef5c(0x54f)],_0x4900ae=_0x186534*0x4,_0x3dc275=_0x324a25/_0x4900ae;_0x5b116f?_0x3dc275=_0x193e27[_0x33ef5c(0x3d1)](_0x3dc275):_0x3dc275=_0x193e27[_0x33ef5c(0x474)]((_0x3dc275|0x0)-this['_minBufferSize'],0x0);var _0x3d0149=_0x3dc275*_0x186534,_0x35bc74=_0x193e27[_0x33ef5c(0x3c1)](_0x3d0149*0x4,_0x324a25);if(_0x3d0149){for(var _0x25dbda=0x0;_0x25dbda<_0x3d0149;_0x25dbda+=_0x186534)this[_0x33ef5c(0x52f)](_0x2fe2ef,_0x25dbda);_0x460856=_0x2fe2ef[_0x33ef5c(0x2a7)](0x0,_0x3d0149),_0x47e937[_0x33ef5c(0x318)]-=_0x35bc74;}return new _0x484c0d[(_0x33ef5c(0x51b))](_0x460856,_0x35bc74);},'clone':function(){var _0x412030=_0x14967e,_0x10caed=_0x55da27['clone'][_0x412030(0x504)](this);return _0x10caed['_data']=this['_data'][_0x412030(0x44f)](),_0x10caed;},'_minBufferSize':0x0});_0x47d78a[_0x14967e(0x20c)]=_0x34d354[_0x14967e(0x22e)]({'cfg':_0x55da27[_0x14967e(0x22e)](),'init':function(_0x3bfea6){var _0x1e456c=_0x14967e;this[_0x1e456c(0x248)]=this[_0x1e456c(0x248)]['extend'](_0x3bfea6),this[_0x1e456c(0x34f)]();},'reset':function(){var _0x587483=_0x14967e;_0x34d354['reset'][_0x587483(0x504)](this),this['_doReset']();},'update':function(_0x5372f8){var _0x53b0b2=_0x14967e;return this[_0x53b0b2(0x4c4)](_0x5372f8),this[_0x53b0b2(0x33c)](),this;},'finalize':function(_0x3f1dd0){var _0x1c871d=_0x14967e;_0x3f1dd0&&this[_0x1c871d(0x4c4)](_0x3f1dd0);var _0x26f4da=this[_0x1c871d(0x3df)]();return _0x26f4da;},'blockSize':0x10,'_createHelper':function(_0x549f9e){return function(_0x1dc31c,_0x3c7abe){var _0x42b584=_0x9ceb;return new _0x549f9e[(_0x42b584(0x51b))](_0x3c7abe)['finalize'](_0x1dc31c);};},'_createHmacHelper':function(_0x32c5ed){return function(_0x3827df,_0x50f7ac){var _0x7ccd9f=_0x9ceb;return new _0x667bdf['HMAC']['init'](_0x32c5ed,_0x50f7ac)[_0x7ccd9f(0x331)](_0x3827df);};}});var _0x667bdf=_0x2659cd[_0x14967e(0x468)]={};return _0x2659cd;}(Math);return _0x1671f5;}));}(pe)),pe['exports'];}var me={'exports':{}},zn=me[_0x81f569(0x30c)],et;function Dt(){return et||(et=0x1,function(_0x13d361,_0x2e578a){(function(_0x11a677,_0xe2e05a){var _0x2ca47c=_0x9ceb;_0x13d361[_0x2ca47c(0x30c)]=_0xe2e05a(ee());}(zn,function(_0x52cc68){return(function(){var _0x94883f=_0x9ceb,_0xb6f1d4=_0x52cc68,_0x406b00=_0xb6f1d4[_0x94883f(0x49f)],_0x164ebc=_0x406b00[_0x94883f(0x462)],_0x3b12b5=_0xb6f1d4['enc'];_0x3b12b5[_0x94883f(0x299)]={'stringify':function(_0x4cdccb){var _0x4fba25=_0x94883f,_0xfb9748=_0x4cdccb['words'],_0x2f7855=_0x4cdccb[_0x4fba25(0x318)],_0x475ee4=this[_0x4fba25(0x2f3)];_0x4cdccb[_0x4fba25(0x3d9)]();for(var _0x561834=[],_0x5dd6c2=0x0;_0x5dd6c2<_0x2f7855;_0x5dd6c2+=0x3)for(var _0x380a6d=_0xfb9748[_0x5dd6c2>>>0x2]>>>0x18-_0x5dd6c2%0x4*0x8&0xff,_0x224c96=_0xfb9748[_0x5dd6c2+0x1>>>0x2]>>>0x18-(_0x5dd6c2+0x1)%0x4*0x8&0xff,_0x27c772=_0xfb9748[_0x5dd6c2+0x2>>>0x2]>>>0x18-(_0x5dd6c2+0x2)%0x4*0x8&0xff,_0x199b39=_0x380a6d<<0x10|_0x224c96<<0x8|_0x27c772,_0x27c7b4=0x0;_0x27c7b4<0x4&&_0x5dd6c2+_0x27c7b4*0.75<_0x2f7855;_0x27c7b4++)_0x561834['push'](_0x475ee4['charAt'](_0x199b39>>>0x6*(0x3-_0x27c7b4)&0x3f));var _0x24a356=_0x475ee4[_0x4fba25(0x27e)](0x40);if(_0x24a356){for(;_0x561834[_0x4fba25(0x3f8)]%0x4;)_0x561834['push'](_0x24a356);}return _0x561834['join']('');},'parse':function(_0x4a014d){var _0x2b8ebc=_0x94883f,_0x1bbbf7=_0x4a014d[_0x2b8ebc(0x3f8)],_0x14f1f0=this[_0x2b8ebc(0x2f3)],_0x1f0671=this['_reverseMap'];if(!_0x1f0671){_0x1f0671=this[_0x2b8ebc(0x411)]=[];for(var _0x2c7ba1=0x0;_0x2c7ba1<_0x14f1f0['length'];_0x2c7ba1++)_0x1f0671[_0x14f1f0[_0x2b8ebc(0x374)](_0x2c7ba1)]=_0x2c7ba1;}var _0x295c50=_0x14f1f0[_0x2b8ebc(0x27e)](0x40);if(_0x295c50){var _0x191bab=_0x4a014d['indexOf'](_0x295c50);_0x191bab!==-0x1&&(_0x1bbbf7=_0x191bab);}return _0x47fc14(_0x4a014d,_0x1bbbf7,_0x1f0671);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x47fc14(_0x153874,_0x34b2dd,_0x375632){var _0x2dab87=_0x94883f;for(var _0x568cce=[],_0x63a892=0x0,_0x4dd3ea=0x0;_0x4dd3ea<_0x34b2dd;_0x4dd3ea++)if(_0x4dd3ea%0x4){var _0x36b04e=_0x375632[_0x153874[_0x2dab87(0x374)](_0x4dd3ea-0x1)]<<_0x4dd3ea%0x4*0x2,_0x450704=_0x375632[_0x153874[_0x2dab87(0x374)](_0x4dd3ea)]>>>0x6-_0x4dd3ea%0x4*0x2,_0x1c04d4=_0x36b04e|_0x450704;_0x568cce[_0x63a892>>>0x2]|=_0x1c04d4<<0x18-_0x63a892%0x4*0x8,_0x63a892++;}return _0x164ebc['create'](_0x568cce,_0x63a892);}}()),_0x52cc68['enc']['Base64'];}));}(me)),me['exports'];}var ge={'exports':{}},Jn=ge[_0x81f569(0x30c)],tt;function Xn(){return tt||(tt=0x1,function(_0x49f4f8,_0x4cafbb){(function(_0x5d68f0,_0x577c44){_0x49f4f8['exports']=_0x577c44(ee());}(Jn,function(_0x301358){var _0x3f78d3=_0x9ceb;return function(_0x131f63){var _0x3a34e0=_0x9ceb,_0xd8be8b=_0x301358,_0x19e699=_0xd8be8b['lib'],_0x56bf50=_0x19e699[_0x3a34e0(0x462)],_0x154095=_0x19e699[_0x3a34e0(0x20c)],_0x5cd272=_0xd8be8b[_0x3a34e0(0x468)],_0x927918=[];(function(){var _0x254021=_0x3a34e0;for(var _0x2639a4=0x0;_0x2639a4<0x40;_0x2639a4++)_0x927918[_0x2639a4]=_0x131f63[_0x254021(0x500)](_0x131f63[_0x254021(0x4fb)](_0x2639a4+0x1))*0x100000000|0x0;}());var _0x387b98=_0x5cd272[_0x3a34e0(0x290)]=_0x154095['extend']({'_doReset':function(){var _0x3a4c07=_0x3a34e0;this[_0x3a4c07(0x1e5)]=new _0x56bf50[(_0x3a4c07(0x51b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4e598b,_0x203cd3){var _0x7c9a54=_0x3a34e0;for(var _0x1c4a8f=0x0;_0x1c4a8f<0x10;_0x1c4a8f++){var _0xe13043=_0x203cd3+_0x1c4a8f,_0x40a854=_0x4e598b[_0xe13043];_0x4e598b[_0xe13043]=(_0x40a854<<0x8|_0x40a854>>>0x18)&0xff00ff|(_0x40a854<<0x18|_0x40a854>>>0x8)&0xff00ff00;}var _0x40de5b=this['_hash'][_0x7c9a54(0x3ff)],_0x5450d8=_0x4e598b[_0x203cd3+0x0],_0x2ff28c=_0x4e598b[_0x203cd3+0x1],_0x353192=_0x4e598b[_0x203cd3+0x2],_0x4e5f8c=_0x4e598b[_0x203cd3+0x3],_0x3c0cbb=_0x4e598b[_0x203cd3+0x4],_0x5b2211=_0x4e598b[_0x203cd3+0x5],_0x2a3521=_0x4e598b[_0x203cd3+0x6],_0x4018fd=_0x4e598b[_0x203cd3+0x7],_0x308531=_0x4e598b[_0x203cd3+0x8],_0x43b023=_0x4e598b[_0x203cd3+0x9],_0x19b5a1=_0x4e598b[_0x203cd3+0xa],_0x5ed872=_0x4e598b[_0x203cd3+0xb],_0x41fb96=_0x4e598b[_0x203cd3+0xc],_0x5b2d33=_0x4e598b[_0x203cd3+0xd],_0x4f5f59=_0x4e598b[_0x203cd3+0xe],_0x139f9a=_0x4e598b[_0x203cd3+0xf],_0x203d8c=_0x40de5b[0x0],_0x539c96=_0x40de5b[0x1],_0xe7c15c=_0x40de5b[0x2],_0x37bf9a=_0x40de5b[0x3];_0x203d8c=_0x591190(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5450d8,0x7,_0x927918[0x0]),_0x37bf9a=_0x591190(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x2ff28c,0xc,_0x927918[0x1]),_0xe7c15c=_0x591190(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x353192,0x11,_0x927918[0x2]),_0x539c96=_0x591190(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x4e5f8c,0x16,_0x927918[0x3]),_0x203d8c=_0x591190(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x3c0cbb,0x7,_0x927918[0x4]),_0x37bf9a=_0x591190(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x5b2211,0xc,_0x927918[0x5]),_0xe7c15c=_0x591190(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x2a3521,0x11,_0x927918[0x6]),_0x539c96=_0x591190(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x4018fd,0x16,_0x927918[0x7]),_0x203d8c=_0x591190(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x308531,0x7,_0x927918[0x8]),_0x37bf9a=_0x591190(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x43b023,0xc,_0x927918[0x9]),_0xe7c15c=_0x591190(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x19b5a1,0x11,_0x927918[0xa]),_0x539c96=_0x591190(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x5ed872,0x16,_0x927918[0xb]),_0x203d8c=_0x591190(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x41fb96,0x7,_0x927918[0xc]),_0x37bf9a=_0x591190(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x5b2d33,0xc,_0x927918[0xd]),_0xe7c15c=_0x591190(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4f5f59,0x11,_0x927918[0xe]),_0x539c96=_0x591190(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x139f9a,0x16,_0x927918[0xf]),_0x203d8c=_0x294c6b(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x2ff28c,0x5,_0x927918[0x10]),_0x37bf9a=_0x294c6b(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x2a3521,0x9,_0x927918[0x11]),_0xe7c15c=_0x294c6b(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x5ed872,0xe,_0x927918[0x12]),_0x539c96=_0x294c6b(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x5450d8,0x14,_0x927918[0x13]),_0x203d8c=_0x294c6b(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5b2211,0x5,_0x927918[0x14]),_0x37bf9a=_0x294c6b(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x19b5a1,0x9,_0x927918[0x15]),_0xe7c15c=_0x294c6b(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x139f9a,0xe,_0x927918[0x16]),_0x539c96=_0x294c6b(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x3c0cbb,0x14,_0x927918[0x17]),_0x203d8c=_0x294c6b(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x43b023,0x5,_0x927918[0x18]),_0x37bf9a=_0x294c6b(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x4f5f59,0x9,_0x927918[0x19]),_0xe7c15c=_0x294c6b(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4e5f8c,0xe,_0x927918[0x1a]),_0x539c96=_0x294c6b(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x308531,0x14,_0x927918[0x1b]),_0x203d8c=_0x294c6b(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5b2d33,0x5,_0x927918[0x1c]),_0x37bf9a=_0x294c6b(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x353192,0x9,_0x927918[0x1d]),_0xe7c15c=_0x294c6b(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4018fd,0xe,_0x927918[0x1e]),_0x539c96=_0x294c6b(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x41fb96,0x14,_0x927918[0x1f]),_0x203d8c=_0xc7c043(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5b2211,0x4,_0x927918[0x20]),_0x37bf9a=_0xc7c043(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x308531,0xb,_0x927918[0x21]),_0xe7c15c=_0xc7c043(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x5ed872,0x10,_0x927918[0x22]),_0x539c96=_0xc7c043(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x4f5f59,0x17,_0x927918[0x23]),_0x203d8c=_0xc7c043(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x2ff28c,0x4,_0x927918[0x24]),_0x37bf9a=_0xc7c043(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x3c0cbb,0xb,_0x927918[0x25]),_0xe7c15c=_0xc7c043(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4018fd,0x10,_0x927918[0x26]),_0x539c96=_0xc7c043(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x19b5a1,0x17,_0x927918[0x27]),_0x203d8c=_0xc7c043(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5b2d33,0x4,_0x927918[0x28]),_0x37bf9a=_0xc7c043(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x5450d8,0xb,_0x927918[0x29]),_0xe7c15c=_0xc7c043(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4e5f8c,0x10,_0x927918[0x2a]),_0x539c96=_0xc7c043(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x2a3521,0x17,_0x927918[0x2b]),_0x203d8c=_0xc7c043(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x43b023,0x4,_0x927918[0x2c]),_0x37bf9a=_0xc7c043(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x41fb96,0xb,_0x927918[0x2d]),_0xe7c15c=_0xc7c043(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x139f9a,0x10,_0x927918[0x2e]),_0x539c96=_0xc7c043(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x353192,0x17,_0x927918[0x2f]),_0x203d8c=_0x3cf8c1(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x5450d8,0x6,_0x927918[0x30]),_0x37bf9a=_0x3cf8c1(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x4018fd,0xa,_0x927918[0x31]),_0xe7c15c=_0x3cf8c1(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x4f5f59,0xf,_0x927918[0x32]),_0x539c96=_0x3cf8c1(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x5b2211,0x15,_0x927918[0x33]),_0x203d8c=_0x3cf8c1(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x41fb96,0x6,_0x927918[0x34]),_0x37bf9a=_0x3cf8c1(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x4e5f8c,0xa,_0x927918[0x35]),_0xe7c15c=_0x3cf8c1(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x19b5a1,0xf,_0x927918[0x36]),_0x539c96=_0x3cf8c1(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x2ff28c,0x15,_0x927918[0x37]),_0x203d8c=_0x3cf8c1(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x308531,0x6,_0x927918[0x38]),_0x37bf9a=_0x3cf8c1(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x139f9a,0xa,_0x927918[0x39]),_0xe7c15c=_0x3cf8c1(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x2a3521,0xf,_0x927918[0x3a]),_0x539c96=_0x3cf8c1(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x5b2d33,0x15,_0x927918[0x3b]),_0x203d8c=_0x3cf8c1(_0x203d8c,_0x539c96,_0xe7c15c,_0x37bf9a,_0x3c0cbb,0x6,_0x927918[0x3c]),_0x37bf9a=_0x3cf8c1(_0x37bf9a,_0x203d8c,_0x539c96,_0xe7c15c,_0x5ed872,0xa,_0x927918[0x3d]),_0xe7c15c=_0x3cf8c1(_0xe7c15c,_0x37bf9a,_0x203d8c,_0x539c96,_0x353192,0xf,_0x927918[0x3e]),_0x539c96=_0x3cf8c1(_0x539c96,_0xe7c15c,_0x37bf9a,_0x203d8c,_0x43b023,0x15,_0x927918[0x3f]),_0x40de5b[0x0]=_0x40de5b[0x0]+_0x203d8c|0x0,_0x40de5b[0x1]=_0x40de5b[0x1]+_0x539c96|0x0,_0x40de5b[0x2]=_0x40de5b[0x2]+_0xe7c15c|0x0,_0x40de5b[0x3]=_0x40de5b[0x3]+_0x37bf9a|0x0;},'_doFinalize':function(){var _0x5f1be8=_0x3a34e0,_0x3c7000=this[_0x5f1be8(0x34e)],_0x5c360b=_0x3c7000[_0x5f1be8(0x3ff)],_0x3f9f33=this['_nDataBytes']*0x8,_0x577454=_0x3c7000['sigBytes']*0x8;_0x5c360b[_0x577454>>>0x5]|=0x80<<0x18-_0x577454%0x20;var _0x7c1059=_0x131f63['floor'](_0x3f9f33/0x100000000),_0x2fa47f=_0x3f9f33;_0x5c360b[(_0x577454+0x40>>>0x9<<0x4)+0xf]=(_0x7c1059<<0x8|_0x7c1059>>>0x18)&0xff00ff|(_0x7c1059<<0x18|_0x7c1059>>>0x8)&0xff00ff00,_0x5c360b[(_0x577454+0x40>>>0x9<<0x4)+0xe]=(_0x2fa47f<<0x8|_0x2fa47f>>>0x18)&0xff00ff|(_0x2fa47f<<0x18|_0x2fa47f>>>0x8)&0xff00ff00,_0x3c7000[_0x5f1be8(0x318)]=(_0x5c360b[_0x5f1be8(0x3f8)]+0x1)*0x4,this[_0x5f1be8(0x33c)]();for(var _0x4781c2=this[_0x5f1be8(0x1e5)],_0x5d9e21=_0x4781c2['words'],_0x4c3313=0x0;_0x4c3313<0x4;_0x4c3313++){var _0xd9708c=_0x5d9e21[_0x4c3313];_0x5d9e21[_0x4c3313]=(_0xd9708c<<0x8|_0xd9708c>>>0x18)&0xff00ff|(_0xd9708c<<0x18|_0xd9708c>>>0x8)&0xff00ff00;}return _0x4781c2;},'clone':function(){var _0x564daa=_0x3a34e0,_0x50c0e1=_0x154095[_0x564daa(0x44f)][_0x564daa(0x504)](this);return _0x50c0e1['_hash']=this[_0x564daa(0x1e5)][_0x564daa(0x44f)](),_0x50c0e1;}});function _0x591190(_0x59d656,_0x3293a3,_0x4c8869,_0x423f25,_0x2f7665,_0x329a98,_0xc4788d){var _0x5dfa5b=_0x59d656+(_0x3293a3&_0x4c8869|~_0x3293a3&_0x423f25)+_0x2f7665+_0xc4788d;return(_0x5dfa5b<<_0x329a98|_0x5dfa5b>>>0x20-_0x329a98)+_0x3293a3;}function _0x294c6b(_0x3cd266,_0x3f58be,_0x440b3d,_0x35a836,_0x12e507,_0x5e147d,_0x380b11){var _0x4979ef=_0x3cd266+(_0x3f58be&_0x35a836|_0x440b3d&~_0x35a836)+_0x12e507+_0x380b11;return(_0x4979ef<<_0x5e147d|_0x4979ef>>>0x20-_0x5e147d)+_0x3f58be;}function _0xc7c043(_0x5ac309,_0x3bbed2,_0x3dab69,_0x4a47b8,_0x1c268c,_0x1a1a2b,_0x555c17){var _0x3fed4d=_0x5ac309+(_0x3bbed2^_0x3dab69^_0x4a47b8)+_0x1c268c+_0x555c17;return(_0x3fed4d<<_0x1a1a2b|_0x3fed4d>>>0x20-_0x1a1a2b)+_0x3bbed2;}function _0x3cf8c1(_0x5c712c,_0x111b91,_0x386205,_0x55c171,_0x56a9f5,_0x48ad27,_0x5a2f1e){var _0x5a47a8=_0x5c712c+(_0x386205^(_0x111b91|~_0x55c171))+_0x56a9f5+_0x5a2f1e;return(_0x5a47a8<<_0x48ad27|_0x5a47a8>>>0x20-_0x48ad27)+_0x111b91;}_0xd8be8b[_0x3a34e0(0x290)]=_0x154095[_0x3a34e0(0x2b3)](_0x387b98),_0xd8be8b[_0x3a34e0(0x32a)]=_0x154095[_0x3a34e0(0x44e)](_0x387b98);}(Math),_0x301358[_0x3f78d3(0x290)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x81f569(0x30c)],nt;function Qn(){var _0x311390=_0x81f569;return nt||(nt=0x1,function(_0x565ced,_0x5b453d){(function(_0x12ad73,_0x3d8450){var _0x388ab6=_0x9ceb;_0x565ced[_0x388ab6(0x30c)]=_0x3d8450(ee());}(Zn,function(_0x43b017){var _0x2fc9ce=_0x9ceb;return(function(){var _0x49b465=_0x9ceb,_0x140fd6=_0x43b017,_0x527f49=_0x140fd6[_0x49b465(0x49f)],_0x2b58b5=_0x527f49['WordArray'],_0x425a46=_0x527f49[_0x49b465(0x20c)],_0x4ecd6e=_0x140fd6['algo'],_0x7e1ca1=[],_0x20a9a1=_0x4ecd6e[_0x49b465(0x284)]=_0x425a46[_0x49b465(0x22e)]({'_doReset':function(){var _0x178a11=_0x49b465;this[_0x178a11(0x1e5)]=new _0x2b58b5[(_0x178a11(0x51b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27372d,_0x5851ce){var _0x6ce304=_0x49b465;for(var _0x20021b=this[_0x6ce304(0x1e5)][_0x6ce304(0x3ff)],_0x3f7fab=_0x20021b[0x0],_0x449d57=_0x20021b[0x1],_0x1ce2a8=_0x20021b[0x2],_0x51eec7=_0x20021b[0x3],_0x19b448=_0x20021b[0x4],_0x5c7488=0x0;_0x5c7488<0x50;_0x5c7488++){if(_0x5c7488<0x10)_0x7e1ca1[_0x5c7488]=_0x27372d[_0x5851ce+_0x5c7488]|0x0;else{var _0x139152=_0x7e1ca1[_0x5c7488-0x3]^_0x7e1ca1[_0x5c7488-0x8]^_0x7e1ca1[_0x5c7488-0xe]^_0x7e1ca1[_0x5c7488-0x10];_0x7e1ca1[_0x5c7488]=_0x139152<<0x1|_0x139152>>>0x1f;}var _0x4ff0a8=(_0x3f7fab<<0x5|_0x3f7fab>>>0x1b)+_0x19b448+_0x7e1ca1[_0x5c7488];_0x5c7488<0x14?_0x4ff0a8+=(_0x449d57&_0x1ce2a8|~_0x449d57&_0x51eec7)+0x5a827999:_0x5c7488<0x28?_0x4ff0a8+=(_0x449d57^_0x1ce2a8^_0x51eec7)+0x6ed9eba1:_0x5c7488<0x3c?_0x4ff0a8+=(_0x449d57&_0x1ce2a8|_0x449d57&_0x51eec7|_0x1ce2a8&_0x51eec7)-0x70e44324:_0x4ff0a8+=(_0x449d57^_0x1ce2a8^_0x51eec7)-0x359d3e2a,_0x19b448=_0x51eec7,_0x51eec7=_0x1ce2a8,_0x1ce2a8=_0x449d57<<0x1e|_0x449d57>>>0x2,_0x449d57=_0x3f7fab,_0x3f7fab=_0x4ff0a8;}_0x20021b[0x0]=_0x20021b[0x0]+_0x3f7fab|0x0,_0x20021b[0x1]=_0x20021b[0x1]+_0x449d57|0x0,_0x20021b[0x2]=_0x20021b[0x2]+_0x1ce2a8|0x0,_0x20021b[0x3]=_0x20021b[0x3]+_0x51eec7|0x0,_0x20021b[0x4]=_0x20021b[0x4]+_0x19b448|0x0;},'_doFinalize':function(){var _0x4a59dc=_0x49b465,_0x4ac720=this[_0x4a59dc(0x34e)],_0x376535=_0x4ac720['words'],_0x45fb9d=this[_0x4a59dc(0x35a)]*0x8,_0x4c00d5=_0x4ac720['sigBytes']*0x8;return _0x376535[_0x4c00d5>>>0x5]|=0x80<<0x18-_0x4c00d5%0x20,_0x376535[(_0x4c00d5+0x40>>>0x9<<0x4)+0xe]=Math[_0x4a59dc(0x4e3)](_0x45fb9d/0x100000000),_0x376535[(_0x4c00d5+0x40>>>0x9<<0x4)+0xf]=_0x45fb9d,_0x4ac720[_0x4a59dc(0x318)]=_0x376535[_0x4a59dc(0x3f8)]*0x4,this[_0x4a59dc(0x33c)](),this[_0x4a59dc(0x1e5)];},'clone':function(){var _0x16726b=_0x49b465,_0x4b7d0d=_0x425a46[_0x16726b(0x44f)]['call'](this);return _0x4b7d0d[_0x16726b(0x1e5)]=this[_0x16726b(0x1e5)][_0x16726b(0x44f)](),_0x4b7d0d;}});_0x140fd6[_0x49b465(0x284)]=_0x425a46[_0x49b465(0x2b3)](_0x20a9a1),_0x140fd6[_0x49b465(0x538)]=_0x425a46[_0x49b465(0x44e)](_0x20a9a1);}()),_0x43b017[_0x2fc9ce(0x284)];}));}(Ee)),Ee[_0x311390(0x30c)];}var Ce={'exports':{}},ei=Ce[_0x81f569(0x30c)],it;function ti(){var _0x3d962a=_0x81f569;return it||(it=0x1,function(_0x240625,_0x41368d){(function(_0x939dc7,_0x1709cb){var _0x886baa=_0x9ceb;_0x240625[_0x886baa(0x30c)]=_0x1709cb(ee());}(ei,function(_0x4ce84b){(function(){var _0x1f3dda=_0x9ceb,_0x561c7e=_0x4ce84b,_0xbe0bd5=_0x561c7e['lib'],_0x1c1cc7=_0xbe0bd5['Base'],_0xa8e738=_0x561c7e['enc'],_0x5dcc88=_0xa8e738[_0x1f3dda(0x4ab)],_0x4aa28d=_0x561c7e[_0x1f3dda(0x468)];_0x4aa28d[_0x1f3dda(0x25e)]=_0x1c1cc7[_0x1f3dda(0x22e)]({'init':function(_0x40f25b,_0x27039d){var _0xf9c2f3=_0x1f3dda;_0x40f25b=this[_0xf9c2f3(0x365)]=new _0x40f25b[(_0xf9c2f3(0x51b))](),typeof _0x27039d==_0xf9c2f3(0x25a)&&(_0x27039d=_0x5dcc88['parse'](_0x27039d));var _0x237520=_0x40f25b[_0xf9c2f3(0x54f)],_0x36712d=_0x237520*0x4;_0x27039d['sigBytes']>_0x36712d&&(_0x27039d=_0x40f25b[_0xf9c2f3(0x331)](_0x27039d)),_0x27039d[_0xf9c2f3(0x3d9)]();for(var _0x55e716=this[_0xf9c2f3(0x38f)]=_0x27039d[_0xf9c2f3(0x44f)](),_0x250e61=this[_0xf9c2f3(0x449)]=_0x27039d[_0xf9c2f3(0x44f)](),_0x39c24b=_0x55e716['words'],_0x3474fb=_0x250e61[_0xf9c2f3(0x3ff)],_0x1060ca=0x0;_0x1060ca<_0x237520;_0x1060ca++)_0x39c24b[_0x1060ca]^=0x5c5c5c5c,_0x3474fb[_0x1060ca]^=0x36363636;_0x55e716[_0xf9c2f3(0x318)]=_0x250e61[_0xf9c2f3(0x318)]=_0x36712d,this['reset']();},'reset':function(){var _0x26474c=_0x1f3dda,_0x41864c=this[_0x26474c(0x365)];_0x41864c['reset'](),_0x41864c['update'](this['_iKey']);},'update':function(_0x13c678){var _0x594dd4=_0x1f3dda;return this[_0x594dd4(0x365)][_0x594dd4(0x552)](_0x13c678),this;},'finalize':function(_0x1fa50e){var _0x4c38b6=_0x1f3dda,_0xb6891e=this[_0x4c38b6(0x365)],_0x524fd3=_0xb6891e[_0x4c38b6(0x331)](_0x1fa50e);_0xb6891e[_0x4c38b6(0x34f)]();var _0x534d3f=_0xb6891e[_0x4c38b6(0x331)](this[_0x4c38b6(0x38f)][_0x4c38b6(0x44f)]()[_0x4c38b6(0x273)](_0x524fd3));return _0x534d3f;}});}());}));}(Ce)),Ce[_0x3d962a(0x30c)];}var ni=Ie[_0x81f569(0x30c)],rt;function wt(){return rt||(rt=0x1,function(_0x36669b,_0x38a927){(function(_0x144ed7,_0x33af60,_0x517cf5){var _0x520646=_0x9ceb;_0x36669b[_0x520646(0x30c)]=_0x33af60(ee(),Qn(),ti());}(ni,function(_0x2682e3){return(function(){var _0x39709a=_0x9ceb,_0x249a6c=_0x2682e3,_0x44faaf=_0x249a6c[_0x39709a(0x49f)],_0x37dc7e=_0x44faaf['Base'],_0xa78132=_0x44faaf[_0x39709a(0x462)],_0x126216=_0x249a6c[_0x39709a(0x468)],_0x11c1eb=_0x126216[_0x39709a(0x290)],_0x41e82c=_0x126216['EvpKDF']=_0x37dc7e[_0x39709a(0x22e)]({'cfg':_0x37dc7e['extend']({'keySize':0x80/0x20,'hasher':_0x11c1eb,'iterations':0x1}),'init':function(_0x5092b4){var _0x5a97cd=_0x39709a;this[_0x5a97cd(0x248)]=this[_0x5a97cd(0x248)][_0x5a97cd(0x22e)](_0x5092b4);},'compute':function(_0x1cd62d,_0x1400ca){var _0x237b57=_0x39709a;for(var _0x5f39b0,_0x45df4b=this['cfg'],_0x2ba8c9=_0x45df4b[_0x237b57(0x372)][_0x237b57(0x298)](),_0x523f3a=_0xa78132[_0x237b57(0x298)](),_0x3d8341=_0x523f3a[_0x237b57(0x3ff)],_0x25a57d=_0x45df4b[_0x237b57(0x47d)],_0x583d25=_0x45df4b[_0x237b57(0x319)];_0x3d8341['length']<_0x25a57d;){_0x5f39b0&&_0x2ba8c9[_0x237b57(0x552)](_0x5f39b0),_0x5f39b0=_0x2ba8c9[_0x237b57(0x552)](_0x1cd62d)['finalize'](_0x1400ca),_0x2ba8c9[_0x237b57(0x34f)]();for(var _0x4cc859=0x1;_0x4cc859<_0x583d25;_0x4cc859++)_0x5f39b0=_0x2ba8c9[_0x237b57(0x331)](_0x5f39b0),_0x2ba8c9[_0x237b57(0x34f)]();_0x523f3a[_0x237b57(0x273)](_0x5f39b0);}return _0x523f3a[_0x237b57(0x318)]=_0x25a57d*0x4,_0x523f3a;}});_0x249a6c[_0x39709a(0x46d)]=function(_0x5d077f,_0xe99f0,_0x1ab59b){var _0x260206=_0x39709a;return _0x41e82c[_0x260206(0x298)](_0x1ab59b)[_0x260206(0x4d7)](_0x5d077f,_0xe99f0);};}()),_0x2682e3['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},ii=Te[_0x81f569(0x30c)],st;function At(){return st||(st=0x1,function(_0x31c5e6,_0x5cc06d){(function(_0x2d10a8,_0x5c4346,_0x21774d){_0x31c5e6['exports']=_0x5c4346(ee(),wt());}(ii,function(_0x39cb26){var _0x3f8a5b=_0x9ceb;_0x39cb26['lib'][_0x3f8a5b(0x34d)]||function(_0x1a0593){var _0x11ce42=_0x3f8a5b,_0x129c9e=_0x39cb26,_0x272186=_0x129c9e[_0x11ce42(0x49f)],_0x1d96b2=_0x272186['Base'],_0x576d34=_0x272186[_0x11ce42(0x462)],_0x28a645=_0x272186[_0x11ce42(0x54b)],_0x388796=_0x129c9e[_0x11ce42(0x313)];_0x388796[_0x11ce42(0x4ab)];var _0x1b3066=_0x388796['Base64'],_0x1ae1fd=_0x129c9e[_0x11ce42(0x468)],_0x56f67a=_0x1ae1fd[_0x11ce42(0x46d)],_0x5e7ae6=_0x272186[_0x11ce42(0x34d)]=_0x28a645[_0x11ce42(0x22e)]({'cfg':_0x1d96b2['extend'](),'createEncryptor':function(_0x25e3b8,_0x476b53){var _0x41791f=_0x11ce42;return this[_0x41791f(0x298)](this[_0x41791f(0x4ec)],_0x25e3b8,_0x476b53);},'createDecryptor':function(_0x4eb7f0,_0x383f2d){var _0x2735db=_0x11ce42;return this[_0x2735db(0x298)](this[_0x2735db(0x235)],_0x4eb7f0,_0x383f2d);},'init':function(_0x26ea5a,_0x5b1c39,_0x2af9ed){var _0x2a0a75=_0x11ce42;this[_0x2a0a75(0x248)]=this[_0x2a0a75(0x248)]['extend'](_0x2af9ed),this[_0x2a0a75(0x285)]=_0x26ea5a,this[_0x2a0a75(0x47f)]=_0x5b1c39,this['reset']();},'reset':function(){var _0x547111=_0x11ce42;_0x28a645[_0x547111(0x34f)]['call'](this),this[_0x547111(0x55f)]();},'process':function(_0x33ca3d){var _0x4e33e4=_0x11ce42;return this[_0x4e33e4(0x4c4)](_0x33ca3d),this[_0x4e33e4(0x33c)]();},'finalize':function(_0x366b29){var _0x327760=_0x11ce42;_0x366b29&&this['_append'](_0x366b29);var _0x10770a=this[_0x327760(0x3df)]();return _0x10770a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3902b4(_0x5e8505){var _0x23c73a=_0x9ceb;return typeof _0x5e8505==_0x23c73a(0x25a)?_0x3f61dc:_0x3cbd6b;}return function(_0x150369){return{'encrypt':function(_0x4a3e96,_0x1553c8,_0x331747){var _0x4abb38=_0x9ceb;return _0x3902b4(_0x1553c8)[_0x4abb38(0x37b)](_0x150369,_0x4a3e96,_0x1553c8,_0x331747);},'decrypt':function(_0x50efa3,_0x57d22e,_0x35f4c2){var _0xefaccc=_0x9ceb;return _0x3902b4(_0x57d22e)[_0xefaccc(0x323)](_0x150369,_0x50efa3,_0x57d22e,_0x35f4c2);}};};}())});_0x272186[_0x11ce42(0x407)]=_0x5e7ae6['extend']({'_doFinalize':function(){var _0x3fe228=_0x11ce42,_0x4d464b=this[_0x3fe228(0x33c)](!0x0);return _0x4d464b;},'blockSize':0x1});var _0x293186=_0x129c9e[_0x11ce42(0x461)]={},_0x2be856=_0x272186[_0x11ce42(0x53f)]=_0x1d96b2['extend']({'createEncryptor':function(_0x43625d,_0x3019f2){var _0x1198fa=_0x11ce42;return this['Encryptor'][_0x1198fa(0x298)](_0x43625d,_0x3019f2);},'createDecryptor':function(_0xac5332,_0x1cb743){var _0x4fc360=_0x11ce42;return this['Decryptor'][_0x4fc360(0x298)](_0xac5332,_0x1cb743);},'init':function(_0x54bb11,_0x24cc49){var _0xc0b9aa=_0x11ce42;this[_0xc0b9aa(0x401)]=_0x54bb11,this[_0xc0b9aa(0x2bf)]=_0x24cc49;}}),_0x13a1f5=_0x293186[_0x11ce42(0x46a)]=(function(){var _0x465501=_0x11ce42,_0x3d3a45=_0x2be856[_0x465501(0x22e)]();_0x3d3a45[_0x465501(0x443)]=_0x3d3a45['extend']({'processBlock':function(_0x2866b1,_0x54d650){var _0x255555=_0x465501,_0x37d7f9=this[_0x255555(0x401)],_0x36e322=_0x37d7f9[_0x255555(0x54f)];_0x49a869['call'](this,_0x2866b1,_0x54d650,_0x36e322),_0x37d7f9[_0x255555(0x525)](_0x2866b1,_0x54d650),this[_0x255555(0x54e)]=_0x2866b1[_0x255555(0x2ba)](_0x54d650,_0x54d650+_0x36e322);}}),_0x3d3a45[_0x465501(0x2c3)]=_0x3d3a45[_0x465501(0x22e)]({'processBlock':function(_0x2c37d3,_0x5edc83){var _0x3b71fc=_0x465501,_0x2b5e8b=this[_0x3b71fc(0x401)],_0x2bd10e=_0x2b5e8b[_0x3b71fc(0x54f)],_0x459102=_0x2c37d3[_0x3b71fc(0x2ba)](_0x5edc83,_0x5edc83+_0x2bd10e);_0x2b5e8b[_0x3b71fc(0x452)](_0x2c37d3,_0x5edc83),_0x49a869[_0x3b71fc(0x504)](this,_0x2c37d3,_0x5edc83,_0x2bd10e),this['_prevBlock']=_0x459102;}});function _0x49a869(_0x15ca23,_0x189419,_0x277d2d){var _0x17055d=_0x465501,_0x56675e,_0x2320e5=this[_0x17055d(0x2bf)];_0x2320e5?(_0x56675e=_0x2320e5,this['_iv']=_0x1a0593):_0x56675e=this['_prevBlock'];for(var _0x425842=0x0;_0x425842<_0x277d2d;_0x425842++)_0x15ca23[_0x189419+_0x425842]^=_0x56675e[_0x425842];}return _0x3d3a45;}()),_0x26cf6c=_0x129c9e[_0x11ce42(0x29a)]={},_0x157711=_0x26cf6c[_0x11ce42(0x49d)]={'pad':function(_0x567bf8,_0xf8bf8c){var _0x321b40=_0x11ce42;for(var _0xb10566=_0xf8bf8c*0x4,_0x1afb55=_0xb10566-_0x567bf8['sigBytes']%_0xb10566,_0x47533a=_0x1afb55<<0x18|_0x1afb55<<0x10|_0x1afb55<<0x8|_0x1afb55,_0x2023ff=[],_0x3b3fa3=0x0;_0x3b3fa3<_0x1afb55;_0x3b3fa3+=0x4)_0x2023ff[_0x321b40(0x2bd)](_0x47533a);var _0x2467df=_0x576d34[_0x321b40(0x298)](_0x2023ff,_0x1afb55);_0x567bf8[_0x321b40(0x273)](_0x2467df);},'unpad':function(_0x937cee){var _0x465703=_0x11ce42,_0x316b5c=_0x937cee[_0x465703(0x3ff)][_0x937cee[_0x465703(0x318)]-0x1>>>0x2]&0xff;_0x937cee[_0x465703(0x318)]-=_0x316b5c;}};_0x272186[_0x11ce42(0x22c)]=_0x5e7ae6['extend']({'cfg':_0x5e7ae6['cfg'][_0x11ce42(0x22e)]({'mode':_0x13a1f5,'padding':_0x157711}),'reset':function(){var _0x538a54=_0x11ce42,_0x40fe22;_0x5e7ae6[_0x538a54(0x34f)]['call'](this);var _0xffdd23=this[_0x538a54(0x248)],_0x52ff16=_0xffdd23['iv'],_0x9ae3e8=_0xffdd23[_0x538a54(0x461)];this[_0x538a54(0x285)]==this['_ENC_XFORM_MODE']?_0x40fe22=_0x9ae3e8[_0x538a54(0x507)]:(_0x40fe22=_0x9ae3e8['createDecryptor'],this['_minBufferSize']=0x1),this[_0x538a54(0x511)]&&this[_0x538a54(0x511)]['__creator']==_0x40fe22?this[_0x538a54(0x511)][_0x538a54(0x51b)](this,_0x52ff16&&_0x52ff16[_0x538a54(0x3ff)]):(this['_mode']=_0x40fe22[_0x538a54(0x504)](_0x9ae3e8,this,_0x52ff16&&_0x52ff16[_0x538a54(0x3ff)]),this[_0x538a54(0x511)][_0x538a54(0x55e)]=_0x40fe22);},'_doProcessBlock':function(_0x23a834,_0x2cf80f){var _0x5bb102=_0x11ce42;this[_0x5bb102(0x511)][_0x5bb102(0x303)](_0x23a834,_0x2cf80f);},'_doFinalize':function(){var _0x2305fb=_0x11ce42,_0x3f9d4a,_0x5bebf9=this['cfg'][_0x2305fb(0x2d1)];return this[_0x2305fb(0x285)]==this['_ENC_XFORM_MODE']?(_0x5bebf9[_0x2305fb(0x29a)](this[_0x2305fb(0x34e)],this[_0x2305fb(0x54f)]),_0x3f9d4a=this[_0x2305fb(0x33c)](!0x0)):(_0x3f9d4a=this[_0x2305fb(0x33c)](!0x0),_0x5bebf9[_0x2305fb(0x3d2)](_0x3f9d4a)),_0x3f9d4a;},'blockSize':0x80/0x20});var _0x3f332b=_0x272186['CipherParams']=_0x1d96b2[_0x11ce42(0x22e)]({'init':function(_0x8b28a0){var _0x51745e=_0x11ce42;this[_0x51745e(0x32e)](_0x8b28a0);},'toString':function(_0x13f274){var _0x2ad569=_0x11ce42;return(_0x13f274||this['formatter'])[_0x2ad569(0x49c)](this);}}),_0x5ccddb=_0x129c9e[_0x11ce42(0x33d)]={},_0x40c69e=_0x5ccddb[_0x11ce42(0x25b)]={'stringify':function(_0x4c6e44){var _0x375568=_0x11ce42,_0x51cad6,_0x4dd42e=_0x4c6e44['ciphertext'],_0x434d3b=_0x4c6e44[_0x375568(0x440)];return _0x434d3b?_0x51cad6=_0x576d34[_0x375568(0x298)]([0x53616c74,0x65645f5f])[_0x375568(0x273)](_0x434d3b)['concat'](_0x4dd42e):_0x51cad6=_0x4dd42e,_0x51cad6[_0x375568(0x4f5)](_0x1b3066);},'parse':function(_0x1d4f5e){var _0x4a2aa4=_0x11ce42,_0x18649f,_0x55e0fa=_0x1b3066[_0x4a2aa4(0x559)](_0x1d4f5e),_0x3a4017=_0x55e0fa[_0x4a2aa4(0x3ff)];return _0x3a4017[0x0]==0x53616c74&&_0x3a4017[0x1]==0x65645f5f&&(_0x18649f=_0x576d34[_0x4a2aa4(0x298)](_0x3a4017[_0x4a2aa4(0x2ba)](0x2,0x4)),_0x3a4017[_0x4a2aa4(0x2a7)](0x0,0x4),_0x55e0fa[_0x4a2aa4(0x318)]-=0x10),_0x3f332b[_0x4a2aa4(0x298)]({'ciphertext':_0x55e0fa,'salt':_0x18649f});}},_0x3cbd6b=_0x272186[_0x11ce42(0x36e)]=_0x1d96b2[_0x11ce42(0x22e)]({'cfg':_0x1d96b2['extend']({'format':_0x40c69e}),'encrypt':function(_0x1c4c62,_0x1d87e9,_0x2a381f,_0x36e00d){var _0x26355c=_0x11ce42;_0x36e00d=this['cfg'][_0x26355c(0x22e)](_0x36e00d);var _0x1a667c=_0x1c4c62[_0x26355c(0x507)](_0x2a381f,_0x36e00d),_0x3922f7=_0x1a667c[_0x26355c(0x331)](_0x1d87e9),_0x4815de=_0x1a667c['cfg'];return _0x3f332b[_0x26355c(0x298)]({'ciphertext':_0x3922f7,'key':_0x2a381f,'iv':_0x4815de['iv'],'algorithm':_0x1c4c62,'mode':_0x4815de[_0x26355c(0x461)],'padding':_0x4815de['padding'],'blockSize':_0x1c4c62[_0x26355c(0x54f)],'formatter':_0x36e00d[_0x26355c(0x33d)]});},'decrypt':function(_0x16f50f,_0x2b4db4,_0x18d231,_0x45a44a){var _0x282b25=_0x11ce42;_0x45a44a=this[_0x282b25(0x248)][_0x282b25(0x22e)](_0x45a44a),_0x2b4db4=this[_0x282b25(0x275)](_0x2b4db4,_0x45a44a[_0x282b25(0x33d)]);var _0x51a5e6=_0x16f50f['createDecryptor'](_0x18d231,_0x45a44a)[_0x282b25(0x331)](_0x2b4db4[_0x282b25(0x442)]);return _0x51a5e6;},'_parse':function(_0x392cd8,_0x77b870){return typeof _0x392cd8=='string'?_0x77b870['parse'](_0x392cd8,this):_0x392cd8;}}),_0x4d22ff=_0x129c9e['kdf']={},_0x415440=_0x4d22ff[_0x11ce42(0x25b)]={'execute':function(_0xd77537,_0x274fd0,_0x1ce229,_0x1c5f13,_0x260a65){var _0x5e897b=_0x11ce42;if(_0x1c5f13||(_0x1c5f13=_0x576d34[_0x5e897b(0x356)](0x40/0x8)),_0x260a65)var _0x42a68e=_0x56f67a[_0x5e897b(0x298)]({'keySize':_0x274fd0+_0x1ce229,'hasher':_0x260a65})[_0x5e897b(0x4d7)](_0xd77537,_0x1c5f13);else var _0x42a68e=_0x56f67a['create']({'keySize':_0x274fd0+_0x1ce229})[_0x5e897b(0x4d7)](_0xd77537,_0x1c5f13);var _0x50072b=_0x576d34[_0x5e897b(0x298)](_0x42a68e[_0x5e897b(0x3ff)][_0x5e897b(0x2ba)](_0x274fd0),_0x1ce229*0x4);return _0x42a68e[_0x5e897b(0x318)]=_0x274fd0*0x4,_0x3f332b[_0x5e897b(0x298)]({'key':_0x42a68e,'iv':_0x50072b,'salt':_0x1c5f13});}},_0x3f61dc=_0x272186['PasswordBasedCipher']=_0x3cbd6b[_0x11ce42(0x22e)]({'cfg':_0x3cbd6b[_0x11ce42(0x248)][_0x11ce42(0x22e)]({'kdf':_0x415440}),'encrypt':function(_0x42bf45,_0x4e4567,_0x3b7987,_0x1f481a){var _0x34fa92=_0x11ce42;_0x1f481a=this[_0x34fa92(0x248)]['extend'](_0x1f481a);var _0x4a8d3f=_0x1f481a['kdf'][_0x34fa92(0x40d)](_0x3b7987,_0x42bf45['keySize'],_0x42bf45[_0x34fa92(0x3a5)],_0x1f481a['salt'],_0x1f481a[_0x34fa92(0x372)]);_0x1f481a['iv']=_0x4a8d3f['iv'];var _0x168820=_0x3cbd6b[_0x34fa92(0x37b)]['call'](this,_0x42bf45,_0x4e4567,_0x4a8d3f[_0x34fa92(0x496)],_0x1f481a);return _0x168820[_0x34fa92(0x32e)](_0x4a8d3f),_0x168820;},'decrypt':function(_0x11e209,_0x1bae6c,_0x1dd446,_0x4ce78a){var _0x4543c8=_0x11ce42;_0x4ce78a=this[_0x4543c8(0x248)][_0x4543c8(0x22e)](_0x4ce78a),_0x1bae6c=this[_0x4543c8(0x275)](_0x1bae6c,_0x4ce78a['format']);var _0x569a20=_0x4ce78a[_0x4543c8(0x246)][_0x4543c8(0x40d)](_0x1dd446,_0x11e209[_0x4543c8(0x47d)],_0x11e209[_0x4543c8(0x3a5)],_0x1bae6c[_0x4543c8(0x440)],_0x4ce78a['hasher']);_0x4ce78a['iv']=_0x569a20['iv'];var _0x3f0c1c=_0x3cbd6b['decrypt'][_0x4543c8(0x504)](this,_0x11e209,_0x1bae6c,_0x569a20[_0x4543c8(0x496)],_0x4ce78a);return _0x3f0c1c;}});}();}));}(Te)),Te['exports'];}var ri=Se[_0x81f569(0x30c)],ot;function si(){var _0x49f74e=_0x81f569;return ot||(ot=0x1,function(_0x156b85,_0x5a597f){(function(_0x5b2b8f,_0x600d11,_0x112076){var _0x4c69b0=_0x9ceb;_0x156b85[_0x4c69b0(0x30c)]=_0x600d11(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x5b7e22){return(function(){var _0x496b91=_0x9ceb,_0x51a9d2=_0x5b7e22,_0xba524a=_0x51a9d2['lib'],_0x25da5a=_0xba524a[_0x496b91(0x22c)],_0x3d442b=_0x51a9d2['algo'],_0x3aa343=[],_0x3698d0=[],_0x3b974f=[],_0x16736a=[],_0x961523=[],_0x33da8e=[],_0x7624cf=[],_0x297320=[],_0xbfe280=[],_0x3fb892=[];(function(){for(var _0x6d6fea=[],_0x3efb2c=0x0;_0x3efb2c<0x100;_0x3efb2c++)_0x3efb2c<0x80?_0x6d6fea[_0x3efb2c]=_0x3efb2c<<0x1:_0x6d6fea[_0x3efb2c]=_0x3efb2c<<0x1^0x11b;for(var _0x52ca4a=0x0,_0x34e0cc=0x0,_0x3efb2c=0x0;_0x3efb2c<0x100;_0x3efb2c++){var _0x1cd76c=_0x34e0cc^_0x34e0cc<<0x1^_0x34e0cc<<0x2^_0x34e0cc<<0x3^_0x34e0cc<<0x4;_0x1cd76c=_0x1cd76c>>>0x8^_0x1cd76c&0xff^0x63,_0x3aa343[_0x52ca4a]=_0x1cd76c,_0x3698d0[_0x1cd76c]=_0x52ca4a;var _0x112527=_0x6d6fea[_0x52ca4a],_0x5113c5=_0x6d6fea[_0x112527],_0x1d125d=_0x6d6fea[_0x5113c5],_0x11c96f=_0x6d6fea[_0x1cd76c]*0x101^_0x1cd76c*0x1010100;_0x3b974f[_0x52ca4a]=_0x11c96f<<0x18|_0x11c96f>>>0x8,_0x16736a[_0x52ca4a]=_0x11c96f<<0x10|_0x11c96f>>>0x10,_0x961523[_0x52ca4a]=_0x11c96f<<0x8|_0x11c96f>>>0x18,_0x33da8e[_0x52ca4a]=_0x11c96f;var _0x11c96f=_0x1d125d*0x1010101^_0x5113c5*0x10001^_0x112527*0x101^_0x52ca4a*0x1010100;_0x7624cf[_0x1cd76c]=_0x11c96f<<0x18|_0x11c96f>>>0x8,_0x297320[_0x1cd76c]=_0x11c96f<<0x10|_0x11c96f>>>0x10,_0xbfe280[_0x1cd76c]=_0x11c96f<<0x8|_0x11c96f>>>0x18,_0x3fb892[_0x1cd76c]=_0x11c96f,_0x52ca4a?(_0x52ca4a=_0x112527^_0x6d6fea[_0x6d6fea[_0x6d6fea[_0x1d125d^_0x112527]]],_0x34e0cc^=_0x6d6fea[_0x6d6fea[_0x34e0cc]]):_0x52ca4a=_0x34e0cc=0x1;}}());var _0x2a8c0b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14bc42=_0x3d442b['AES']=_0x25da5a[_0x496b91(0x22e)]({'_doReset':function(){var _0x548278=_0x496b91,_0x5b1a9e;if(!(this['_nRounds']&&this[_0x548278(0x229)]===this['_key'])){for(var _0x38fd6d=this['_keyPriorReset']=this[_0x548278(0x47f)],_0x5324a1=_0x38fd6d[_0x548278(0x3ff)],_0x243220=_0x38fd6d[_0x548278(0x318)]/0x4,_0x59c846=this[_0x548278(0x31f)]=_0x243220+0x6,_0x26de76=(_0x59c846+0x1)*0x4,_0x3baba8=this[_0x548278(0x3c2)]=[],_0x105197=0x0;_0x105197<_0x26de76;_0x105197++)_0x105197<_0x243220?_0x3baba8[_0x105197]=_0x5324a1[_0x105197]:(_0x5b1a9e=_0x3baba8[_0x105197-0x1],_0x105197%_0x243220?_0x243220>0x6&&_0x105197%_0x243220==0x4&&(_0x5b1a9e=_0x3aa343[_0x5b1a9e>>>0x18]<<0x18|_0x3aa343[_0x5b1a9e>>>0x10&0xff]<<0x10|_0x3aa343[_0x5b1a9e>>>0x8&0xff]<<0x8|_0x3aa343[_0x5b1a9e&0xff]):(_0x5b1a9e=_0x5b1a9e<<0x8|_0x5b1a9e>>>0x18,_0x5b1a9e=_0x3aa343[_0x5b1a9e>>>0x18]<<0x18|_0x3aa343[_0x5b1a9e>>>0x10&0xff]<<0x10|_0x3aa343[_0x5b1a9e>>>0x8&0xff]<<0x8|_0x3aa343[_0x5b1a9e&0xff],_0x5b1a9e^=_0x2a8c0b[_0x105197/_0x243220|0x0]<<0x18),_0x3baba8[_0x105197]=_0x3baba8[_0x105197-_0x243220]^_0x5b1a9e);for(var _0x5330c8=this['_invKeySchedule']=[],_0x2c9f5d=0x0;_0x2c9f5d<_0x26de76;_0x2c9f5d++){var _0x105197=_0x26de76-_0x2c9f5d;if(_0x2c9f5d%0x4)var _0x5b1a9e=_0x3baba8[_0x105197];else var _0x5b1a9e=_0x3baba8[_0x105197-0x4];_0x2c9f5d<0x4||_0x105197<=0x4?_0x5330c8[_0x2c9f5d]=_0x5b1a9e:_0x5330c8[_0x2c9f5d]=_0x7624cf[_0x3aa343[_0x5b1a9e>>>0x18]]^_0x297320[_0x3aa343[_0x5b1a9e>>>0x10&0xff]]^_0xbfe280[_0x3aa343[_0x5b1a9e>>>0x8&0xff]]^_0x3fb892[_0x3aa343[_0x5b1a9e&0xff]];}}},'encryptBlock':function(_0x45d0fe,_0x5b3453){var _0x4cda0b=_0x496b91;this['_doCryptBlock'](_0x45d0fe,_0x5b3453,this[_0x4cda0b(0x3c2)],_0x3b974f,_0x16736a,_0x961523,_0x33da8e,_0x3aa343);},'decryptBlock':function(_0x4896b3,_0x3a3310){var _0x47e76b=_0x496b91,_0x2f9457=_0x4896b3[_0x3a3310+0x1];_0x4896b3[_0x3a3310+0x1]=_0x4896b3[_0x3a3310+0x3],_0x4896b3[_0x3a3310+0x3]=_0x2f9457,this[_0x47e76b(0x35f)](_0x4896b3,_0x3a3310,this[_0x47e76b(0x3e6)],_0x7624cf,_0x297320,_0xbfe280,_0x3fb892,_0x3698d0);var _0x2f9457=_0x4896b3[_0x3a3310+0x1];_0x4896b3[_0x3a3310+0x1]=_0x4896b3[_0x3a3310+0x3],_0x4896b3[_0x3a3310+0x3]=_0x2f9457;},'_doCryptBlock':function(_0x32009f,_0x273d75,_0x499fbc,_0x2bbd22,_0x4600c4,_0x220087,_0x100a2e,_0x9d25db){for(var _0x35639d=this['_nRounds'],_0xe63806=_0x32009f[_0x273d75]^_0x499fbc[0x0],_0x107084=_0x32009f[_0x273d75+0x1]^_0x499fbc[0x1],_0x255df0=_0x32009f[_0x273d75+0x2]^_0x499fbc[0x2],_0x568ab7=_0x32009f[_0x273d75+0x3]^_0x499fbc[0x3],_0x19628f=0x4,_0xc225a9=0x1;_0xc225a9<_0x35639d;_0xc225a9++){var _0x2858c7=_0x2bbd22[_0xe63806>>>0x18]^_0x4600c4[_0x107084>>>0x10&0xff]^_0x220087[_0x255df0>>>0x8&0xff]^_0x100a2e[_0x568ab7&0xff]^_0x499fbc[_0x19628f++],_0x3986f3=_0x2bbd22[_0x107084>>>0x18]^_0x4600c4[_0x255df0>>>0x10&0xff]^_0x220087[_0x568ab7>>>0x8&0xff]^_0x100a2e[_0xe63806&0xff]^_0x499fbc[_0x19628f++],_0x1d6954=_0x2bbd22[_0x255df0>>>0x18]^_0x4600c4[_0x568ab7>>>0x10&0xff]^_0x220087[_0xe63806>>>0x8&0xff]^_0x100a2e[_0x107084&0xff]^_0x499fbc[_0x19628f++],_0x587c83=_0x2bbd22[_0x568ab7>>>0x18]^_0x4600c4[_0xe63806>>>0x10&0xff]^_0x220087[_0x107084>>>0x8&0xff]^_0x100a2e[_0x255df0&0xff]^_0x499fbc[_0x19628f++];_0xe63806=_0x2858c7,_0x107084=_0x3986f3,_0x255df0=_0x1d6954,_0x568ab7=_0x587c83;}var _0x2858c7=(_0x9d25db[_0xe63806>>>0x18]<<0x18|_0x9d25db[_0x107084>>>0x10&0xff]<<0x10|_0x9d25db[_0x255df0>>>0x8&0xff]<<0x8|_0x9d25db[_0x568ab7&0xff])^_0x499fbc[_0x19628f++],_0x3986f3=(_0x9d25db[_0x107084>>>0x18]<<0x18|_0x9d25db[_0x255df0>>>0x10&0xff]<<0x10|_0x9d25db[_0x568ab7>>>0x8&0xff]<<0x8|_0x9d25db[_0xe63806&0xff])^_0x499fbc[_0x19628f++],_0x1d6954=(_0x9d25db[_0x255df0>>>0x18]<<0x18|_0x9d25db[_0x568ab7>>>0x10&0xff]<<0x10|_0x9d25db[_0xe63806>>>0x8&0xff]<<0x8|_0x9d25db[_0x107084&0xff])^_0x499fbc[_0x19628f++],_0x587c83=(_0x9d25db[_0x568ab7>>>0x18]<<0x18|_0x9d25db[_0xe63806>>>0x10&0xff]<<0x10|_0x9d25db[_0x107084>>>0x8&0xff]<<0x8|_0x9d25db[_0x255df0&0xff])^_0x499fbc[_0x19628f++];_0x32009f[_0x273d75]=_0x2858c7,_0x32009f[_0x273d75+0x1]=_0x3986f3,_0x32009f[_0x273d75+0x2]=_0x1d6954,_0x32009f[_0x273d75+0x3]=_0x587c83;},'keySize':0x100/0x20});_0x51a9d2[_0x496b91(0x2e1)]=_0x25da5a[_0x496b91(0x2b3)](_0x14bc42);}()),_0x5b7e22['AES'];}));}(Se)),Se[_0x49f74e(0x30c)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x5e4f96=_0x81f569;return ct||(ct=0x1,function(_0x59a98c,_0x4bfbde){(function(_0x4fadcc,_0xf760dc){var _0x48e81e=_0x9ceb;_0x59a98c[_0x48e81e(0x30c)]=_0xf760dc(ee());}(hi,function(_0x4cd18d){var _0x4b9085=_0x9ceb;return _0x4cd18d['enc'][_0x4b9085(0x4ab)];}));}(be)),be[_0x5e4f96(0x30c)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x3d1a35=_0x81f569;return ht||(ht=0x1,function(_0x2dcadb,_0x522838){(function(_0x5b5a4b,_0x3919fb){_0x2dcadb['exports']=_0x3919fb(ee());}(di,function(_0x53982d){var _0x15de28=_0x9ceb;return(function(){var _0x221ab7=_0x9ceb;if(typeof ArrayBuffer==_0x221ab7(0x26b)){var _0x482b1f=_0x53982d,_0x341b3c=_0x482b1f[_0x221ab7(0x49f)],_0x4f5303=_0x341b3c[_0x221ab7(0x462)],_0x2c4a2f=_0x4f5303[_0x221ab7(0x51b)],_0x2fbc3d=_0x4f5303[_0x221ab7(0x51b)]=function(_0x311b3d){var _0x2f1a37=_0x221ab7;if(_0x311b3d instanceof ArrayBuffer&&(_0x311b3d=new Uint8Array(_0x311b3d)),(_0x311b3d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x311b3d instanceof Uint8ClampedArray||_0x311b3d instanceof Int16Array||_0x311b3d instanceof Uint16Array||_0x311b3d instanceof Int32Array||_0x311b3d instanceof Uint32Array||_0x311b3d instanceof Float32Array||_0x311b3d instanceof Float64Array)&&(_0x311b3d=new Uint8Array(_0x311b3d['buffer'],_0x311b3d['byteOffset'],_0x311b3d[_0x2f1a37(0x2ac)])),_0x311b3d instanceof Uint8Array){for(var _0x42fb6a=_0x311b3d[_0x2f1a37(0x2ac)],_0x12dc5d=[],_0x1eb938=0x0;_0x1eb938<_0x42fb6a;_0x1eb938++)_0x12dc5d[_0x1eb938>>>0x2]|=_0x311b3d[_0x1eb938]<<0x18-_0x1eb938%0x4*0x8;_0x2c4a2f[_0x2f1a37(0x504)](this,_0x12dc5d,_0x42fb6a);}else _0x2c4a2f[_0x2f1a37(0x381)](this,arguments);};_0x2fbc3d[_0x221ab7(0x388)]=_0x4f5303;}}()),_0x53982d[_0x15de28(0x49f)]['WordArray'];}));}(Re)),Re[_0x3d1a35(0x30c)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x81f569(0x30c)],lt;function mi(){return lt||(lt=0x1,function(_0x15ce56,_0x84850a){(function(_0x215138,_0x483bf9,_0x4a8e6b){var _0x23ba86=_0x9ceb;_0x15ce56[_0x23ba86(0x30c)]=_0x483bf9(ee(),At());}(pi,function(_0x49d113){return _0x49d113['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x49d113['pad']['NoPadding'];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0x1044aa,_0x4e7b2b){var _0x135e9e=_0x81f569;const _0x58c9e1=_0x4e7b2b-_0x1044aa[_0x135e9e(0x3f8)]%_0x4e7b2b,_0x29b29f=String[_0x135e9e(0x266)](_0x58c9e1)[_0x135e9e(0x410)](_0x58c9e1);return _0x1044aa+_0x29b29f;}function Ci(_0x13d000,_0x360349){var _0x3b741d=_0x81f569;const _0x389e68=Si['random'](0x10),_0xdd0ec6=Ei(_0x13d000,0x10),_0x85e6da=ai[_0x3b741d(0x37b)](ui[_0x3b741d(0x559)](_0xdd0ec6),at[_0x3b741d(0x559)](_0x360349),{'iv':_0x389e68,'padding':Ii});return _0x389e68[_0x3b741d(0x273)](_0x85e6da[_0x3b741d(0x442)])['toString'](at);}function Ti(){var _0x15ce93=_0x81f569;const _0x9b6927=$t[_0x15ce93(0x24b)]()[_0x15ce93(0x532)];if(_0x9b6927){const _0x5be911={'time':Math['floor'](Date[_0x15ce93(0x433)]()/0x3e8),'domain':location[_0x15ce93(0x4e2)]};return Ci(JSON[_0x15ce93(0x49c)](_0x5be911),_0x9b6927);}}var bi=Object['defineProperty'],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x31c755,_0x1b3f25,_0x33bada,_0xb692f3)=>{var _0x171978=_0x81f569;for(var _0x3fe845=_0xb692f3>0x1?void 0x0:_0xb692f3?Ri(_0x1b3f25,_0x33bada):_0x1b3f25,_0x1030ca=_0x31c755[_0x171978(0x3f8)]-0x1,_0x560c12;_0x1030ca>=0x0;_0x1030ca--)(_0x560c12=_0x31c755[_0x1030ca])&&(_0x3fe845=(_0xb692f3?_0x560c12(_0x1b3f25,_0x33bada,_0x3fe845):_0x560c12(_0x3fe845))||_0x3fe845);return _0xb692f3&&_0x3fe845&&bi(_0x1b3f25,_0x33bada,_0x3fe845),_0x3fe845;},yi=(_0x3a03ea,_0x4e49e)=>(_0x302a2a,_0x24e2c1)=>_0x4e49e(_0x302a2a,_0x24e2c1,_0x3a03ea);let Ne=class{constructor(_0x147326){var _0x2dc4a5=_0x81f569;this[_0x2dc4a5(0x4a5)]=_0x147326,this[_0x2dc4a5(0x2aa)]();}[_0x81f569(0x2aa)](){var _0x5d66e3=_0x81f569;this[_0x5d66e3(0x4a5)][_0x5d66e3(0x518)]({'interceptor':(_0x3b5627,_0x289087)=>{var _0x3eb3cb=_0x5d66e3;const _0x252083=_0x3b5627['headers'],_0x15edbb=Ti();return _0x15edbb&&_0x252083[_0x3eb3cb(0x4f9)]('x-univer-host',_0x15edbb),_0x289087(_0x3b5627);}});}};Ne=Oi([yi(0x0,a[_0x81f569(0x421)](q['HTTPService']))],Ne);var Ni=Object[_0x81f569(0x24d)],Ui=Object[_0x81f569(0x226)],Pi=(_0x243388,_0x31e0e2,_0x5e9ce5,_0xf83f99)=>{var _0x3c9166=_0x81f569;for(var _0x49a1e4=_0xf83f99>0x1?void 0x0:_0xf83f99?Ui(_0x31e0e2,_0x5e9ce5):_0x31e0e2,_0x1428a6=_0x243388[_0x3c9166(0x3f8)]-0x1,_0x579117;_0x1428a6>=0x0;_0x1428a6--)(_0x579117=_0x243388[_0x1428a6])&&(_0x49a1e4=(_0xf83f99?_0x579117(_0x31e0e2,_0x5e9ce5,_0x49a1e4):_0x579117(_0x49a1e4))||_0x49a1e4);return _0xf83f99&&_0x49a1e4&&Ni(_0x31e0e2,_0x5e9ce5,_0x49a1e4),_0x49a1e4;},Me=(_0x47f9d3,_0x147c17)=>(_0xe004a9,_0x5e5257)=>_0x147c17(_0xe004a9,_0x5e5257,_0x47f9d3);exports[_0x81f569(0x395)]=class extends a[_0x81f569(0x4a7)]{constructor(_0x5a0b1b,_0x5f59d3,_0x2df7b5){var _0x481714=_0x81f569;super(),D(this,_0x481714(0x25f),new H[(_0x481714(0x490))](null)),D(this,_0x481714(0x1f6),this['_unitInfo$'][_0x481714(0x560)]()),(this[_0x481714(0x244)]=_0x5a0b1b,this[_0x481714(0x26e)]=_0x5f59d3,this[_0x481714(0x30f)]=_0x2df7b5);}async['loadUnit'](_0x20180d,_0xbe3ae6,_0x2b18d6){var _0x3f06c9=_0x81f569;this[_0x3f06c9(0x25f)][_0x3f06c9(0x541)]({'unitId':_0x20180d,'type':_0xbe3ae6,'subUnitId':_0x2b18d6});let _0x4bae2a=null;switch(_0xbe3ae6){case Z['UNIVER_SHEET']:{_0x4bae2a=await this['_loadSheet'](_0x20180d);break;}case Z[_0x3f06c9(0x203)]:{_0x4bae2a=await this[_0x3f06c9(0x1f1)](_0x20180d);break;}default:{this[_0x3f06c9(0x244)][_0x3f06c9(0x4b6)](_0x3f06c9(0x213),_0x3f06c9(0x367));break;}}return _0x4bae2a;}async[_0x81f569(0x36b)](_0x5e3e67){var _0x384236=_0x81f569,_0x47b425;let _0x2644d8=0x0;const _0x2a372b=await((_0x47b425=this[_0x384236(0x30f)])==null?void 0x0:_0x47b425[_0x384236(0x445)](_0x5e3e67));return _0x2a372b&&(_0x2a372b[_0x384236(0x204)]||_0x2a372b[_0x384236(0x32b)][_0x384236(0x3f8)]!==0x0)&&(_0x2644d8=_0x2a372b['rev']),_0x2644d8===0x0&&this['_logService'][_0x384236(0x53e)](_0x384236(0x213),_0x384236(0x4bf)),this[_0x384236(0x26e)][_0x384236(0x4f2)](_0x5e3e67,_0x2644d8);}async[_0x81f569(0x1f1)](_0x299f38){var _0x616ce6=_0x81f569,_0x5e38ff;let _0x4fc4c4=0x0;const _0x1cedd9=await((_0x5e38ff=this['_localCacheService'])==null?void 0x0:_0x5e38ff[_0x616ce6(0x445)](_0x299f38));return _0x1cedd9&&(_0x1cedd9[_0x616ce6(0x204)]||_0x1cedd9[_0x616ce6(0x32b)][_0x616ce6(0x3f8)]!==0x0)&&(_0x4fc4c4=_0x1cedd9[_0x616ce6(0x40f)]),_0x4fc4c4===0x0&&this[_0x616ce6(0x244)][_0x616ce6(0x53e)]('[DataLoaderService]',_0x616ce6(0x4bf)),this['_snapshotService'][_0x616ce6(0x292)](_0x299f38,_0x4fc4c4);}},exports[_0x81f569(0x395)]=Pi([Me(0x0,a[_0x81f569(0x223)]),Me(0x1,a[_0x81f569(0x421)](m['SnapshotService'])),Me(0x2,a[_0x81f569(0x3d0)](z))],exports[_0x81f569(0x395)]);var Di=Object[_0x81f569(0x24d)],wi=Object[_0x81f569(0x226)],Ai=(_0x5861f4,_0x25ffd8,_0x128b4e,_0x1a9270)=>{var _0x210b8d=_0x81f569;for(var _0x5336c9=_0x1a9270>0x1?void 0x0:_0x1a9270?wi(_0x25ffd8,_0x128b4e):_0x25ffd8,_0x5e3f8f=_0x5861f4[_0x210b8d(0x3f8)]-0x1,_0x599ad5;_0x5e3f8f>=0x0;_0x5e3f8f--)(_0x599ad5=_0x5861f4[_0x5e3f8f])&&(_0x5336c9=(_0x1a9270?_0x599ad5(_0x25ffd8,_0x128b4e,_0x5336c9):_0x599ad5(_0x5336c9))||_0x5336c9);return _0x1a9270&&_0x5336c9&&Di(_0x25ffd8,_0x128b4e,_0x5336c9),_0x5336c9;},xe=(_0x1df485,_0x5e62fe)=>(_0x3c1e7f,_0x138a2d)=>_0x5e62fe(_0x3c1e7f,_0x138a2d,_0x1df485);const Li=[_0x81f569(0x477),_0x81f569(0x3f2),_0x81f569(0x1f5),_0x81f569(0x414),_0x81f569(0x502)],Mi=0x5*0x400*0x400,xi=_0x81f569(0x537),ji=_0x81f569(0x482),$i=_0x81f569(0x470),Hi=_0x81f569(0x291);exports[_0x81f569(0x31d)]=class{constructor(_0x564cd1,_0x48ac57,_0x1b4541){var _0x4aad04=_0x81f569;D(this,'_waitCount',0x0),D(this,_0x4aad04(0x53c),new H[(_0x4aad04(0x561))]()),D(this,'change$',this[_0x4aad04(0x53c)]),D(this,'_imageSourceCache',new Map()),(this[_0x4aad04(0x4a5)]=_0x564cd1,this[_0x4aad04(0x4f3)]=_0x48ac57,this[_0x4aad04(0x4b8)]=_0x1b4541);}[_0x81f569(0x257)](_0xa4afdf){var _0x39702e=_0x81f569;this['_waitCount']=_0xa4afdf,this['_change$'][_0x39702e(0x541)](_0xa4afdf);}['getImageSourceCache'](_0x33293c,_0x4a21e3){var _0xae2657=_0x81f569;if(_0x4a21e3===X[_0xae2657(0x386)][_0xae2657(0x45e)]){const _0x4652=new Image();return _0x4652[_0xae2657(0x30e)]=_0x33293c,_0x4652;}return this['_imageSourceCache'][_0xae2657(0x3bc)](_0x33293c);}[_0x81f569(0x368)](_0x277ff2,_0x2cb0df,_0x4e8372){var _0x11eafe=_0x81f569;_0x2cb0df===X[_0x11eafe(0x386)][_0x11eafe(0x45e)]||_0x4e8372==null||this[_0x11eafe(0x475)][_0x11eafe(0x4f9)](_0x277ff2,_0x4e8372);}async[_0x81f569(0x36d)](_0x30a905){var _0x317c30=_0x81f569;try{const _0x150a44=this[_0x317c30(0x41e)](this[_0x317c30(0x3b8)](),''+_0x30a905),_0x3b2f2b=(await this[_0x317c30(0x4a5)][_0x317c30(0x3bc)](_0x150a44))[_0x317c30(0x46f)];if(_0x3b2f2b[_0x317c30(0x4b6)]&&_0x3b2f2b['error'][_0x317c30(0x3c3)]===Tt['OK']){const _0x52a3d3=new URL(_0x3b2f2b[_0x317c30(0x394)],this[_0x317c30(0x52d)]())[_0x317c30(0x4f5)]();return Promise['resolve'](_0x52a3d3);}return Promise[_0x317c30(0x43e)](_0x3b2f2b['error']);}catch(_0x126f02){return Promise['reject'](_0x126f02);}}async[_0x81f569(0x294)](_0x5b601d){var _0x5a2ba2=_0x81f569;let _0xfd9c88='';if(!Li[_0x5a2ba2(0x3f1)](_0x5b601d[_0x5a2ba2(0x3d5)]))return this[_0x5a2ba2(0x48d)](),Promise[_0x5a2ba2(0x43e)](new Error(X[_0x5a2ba2(0x205)][_0x5a2ba2(0x216)]));if(_0x5b601d[_0x5a2ba2(0x48f)]>Mi)return this[_0x5a2ba2(0x48d)](),Promise[_0x5a2ba2(0x43e)](new Error(X['ImageUploadStatusType'][_0x5a2ba2(0x39c)]));try{const _0x2983a8=new FormData();_0x2983a8['append']('file',_0x5b601d);const _0x2d69a6=this[_0x5a2ba2(0x4b8)]['getFocusedUnit'](),_0x12f12c=_0x2d69a6==null?void 0x0:_0x2d69a6[_0x5a2ba2(0x333)]();if(!_0x12f12c)throw new Error(_0x5a2ba2(0x371));const _0x391718=this[_0x5a2ba2(0x2b8)]()+_0x5a2ba2(0x302)+_0x5b601d[_0x5a2ba2(0x48f)]['toString']()+_0x5a2ba2(0x34c)+bt[_0x5a2ba2(0x476)]+'&assign='+encodeURIComponent(_0x12f12c),_0x118e51=await(await fetch(_0x391718,{'method':'POST','body':_0x2983a8}))[_0x5a2ba2(0x536)]();if(typeof _0x118e51[_0x5a2ba2(0x431)]!=_0x5a2ba2(0x25a))return this[_0x5a2ba2(0x48d)](),Promise[_0x5a2ba2(0x43e)](new Error(X[_0x5a2ba2(0x205)][_0x5a2ba2(0x311)]));_0xfd9c88=_0x118e51[_0x5a2ba2(0x431)];}catch{return this[_0x5a2ba2(0x48d)](),Promise[_0x5a2ba2(0x43e)](new Error(X[_0x5a2ba2(0x205)][_0x5a2ba2(0x311)]));}return new Promise((_0x200b39,_0x32914e)=>{var _0x3cbbf8=_0x5a2ba2;const _0x51bf01=new FileReader();_0x51bf01[_0x3cbbf8(0x20e)](_0x5b601d),_0x51bf01['onload']=_0x274b35=>{var _0x4f28ad=_0x3cbbf8,_0x236555;const _0x456cbd=(_0x236555=_0x274b35[_0x4f28ad(0x1fc)])==null?void 0x0:_0x236555['result'];if(_0x456cbd==null){this[_0x4f28ad(0x48d)](),_0x32914e(new Error(X['ImageUploadStatusType'][_0x4f28ad(0x311)]));return;}const _0x1b08c9=a[_0x4f28ad(0x44c)]['generateRandomId'](0x6);_0x200b39({'imageId':_0x1b08c9,'imageSourceType':X[_0x4f28ad(0x386)][_0x4f28ad(0x378)],'source':_0xfd9c88,'base64Cache':_0x456cbd,'status':X[_0x4f28ad(0x205)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x81f569(0x2b8)](){var _0x56c5b1=_0x81f569,_0x3566be,_0xebd121;const _0x373082=this['_configService'][_0x56c5b1(0x3f3)](xi),_0x14f93d=this['_configService'][_0x56c5b1(0x3f3)](Y);return(_0xebd121=(_0x3566be=_0x14f93d==null?void 0x0:_0x14f93d[_0x56c5b1(0x366)])!=null?_0x3566be:_0x373082)!=null?_0xebd121:ji;}[_0x81f569(0x3b8)](){var _0x572da2=_0x81f569,_0x25ff43,_0x5cc210;const _0x43ee87=this[_0x572da2(0x4f3)][_0x572da2(0x3f3)]($i),_0x348e3a=this[_0x572da2(0x4f3)][_0x572da2(0x3f3)](Y);return(_0x5cc210=(_0x25ff43=_0x348e3a==null?void 0x0:_0x348e3a[_0x572da2(0x306)])!=null?_0x25ff43:_0x43ee87)!=null?_0x5cc210:Hi;}[_0x81f569(0x52d)](){var _0x99bd84=_0x81f569,_0x43269b;const _0xefb153=this['_configService']['getConfig'](Y);return(_0x43269b=_0xefb153==null?void 0x0:_0xefb153[_0x99bd84(0x23f)])!=null?_0x43269b:location[_0x99bd84(0x479)];}[_0x81f569(0x41e)](_0x1e490c,_0x1e8018){var _0x4eca33=_0x81f569;return _0x1e490c[_0x4eca33(0x4d4)](_0x4eca33(0x3da),_0x1e8018);}['_decreaseWaiting'](){var _0x4719c9=_0x81f569;this[_0x4719c9(0x3ab)]-=0x1,this[_0x4719c9(0x53c)][_0x4719c9(0x541)](this[_0x4719c9(0x3ab)]);}},exports[_0x81f569(0x31d)]=Ai([xe(0x0,a[_0x81f569(0x421)](q[_0x81f569(0x3fb)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x81f569(0x421)](a[_0x81f569(0x35c)]))],exports['CollaborationImageIoService']);var ki=Object['defineProperty'],Bi=Object[_0x81f569(0x226)],Fi=(_0x28828d,_0x4374c8,_0x26a250,_0x153ff9)=>{for(var _0x3c3f7b=_0x153ff9>0x1?void 0x0:_0x153ff9?Bi(_0x4374c8,_0x26a250):_0x4374c8,_0x41b7a0=_0x28828d['length']-0x1,_0x4056f1;_0x41b7a0>=0x0;_0x41b7a0--)(_0x4056f1=_0x28828d[_0x41b7a0])&&(_0x3c3f7b=(_0x153ff9?_0x4056f1(_0x4374c8,_0x26a250,_0x3c3f7b):_0x4056f1(_0x3c3f7b))||_0x3c3f7b);return _0x153ff9&&_0x3c3f7b&&ki(_0x4374c8,_0x26a250,_0x3c3f7b),_0x3c3f7b;},_t=(_0x511923,_0x51b848)=>(_0x2b48f7,_0x29ff0b)=>_0x51b848(_0x2b48f7,_0x29ff0b,_0x511923);const Wi=_0x81f569(0x2fc);exports[_0x81f569(0x51c)]=class{constructor(_0x1f01c5,_0x2cdbfe){var _0x5ed919=_0x81f569;this[_0x5ed919(0x4f3)]=_0x1f01c5,this[_0x5ed919(0x3ea)]=_0x2cdbfe;}[_0x81f569(0x3fc)](){var _0x18a0b2=_0x81f569,_0x45e18e,_0x5ce0ca;const _0x248334=this[_0x18a0b2(0x4f3)][_0x18a0b2(0x3f3)](Ve),_0x42b3b8=this[_0x18a0b2(0x4f3)][_0x18a0b2(0x3f3)](Y);return(_0x5ce0ca=(_0x45e18e=_0x42b3b8==null?void 0x0:_0x42b3b8['authzUrl'])!=null?_0x45e18e:_0x248334)!=null?_0x5ce0ca:Wi;}async[_0x81f569(0x361)](_0x2087b6){var _0x1ff3fc=_0x81f569;const _0x10247d=this['_getAPIPrefixPath']()+_0x1ff3fc(0x42b);return{'list':[{'title':_0x1ff3fc(0x2b7),'mentions':(await this[_0x1ff3fc(0x3ea)]['get'](_0x10247d,{'params':{'objectID':_0x2087b6['unitId'],'unitID':_0x2087b6['unitId']}}))[_0x1ff3fc(0x46f)][_0x1ff3fc(0x2df)][_0x1ff3fc(0x207)](_0x3b377b=>({'objectId':_0x3b377b['id'],'name':_0x3b377b[_0x1ff3fc(0x380)][_0x1ff3fc(0x269)],'metadata':{'icon':_0x3b377b[_0x1ff3fc(0x380)][_0x1ff3fc(0x265)]},'label':_0x3b377b[_0x1ff3fc(0x380)]['name'],'objectType':a[_0x1ff3fc(0x2ff)][_0x1ff3fc(0x430)]})),'metadata':{},'type':a[_0x1ff3fc(0x2ff)][_0x1ff3fc(0x430)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0x81f569(0x421)](a[_0x81f569(0x52c)])),_t(0x1,a[_0x81f569(0x421)](q[_0x81f569(0x3fb)]))],exports['MentionIoHttpService']);var Gi=Object[_0x81f569(0x24d)],Vi=Object['getOwnPropertyDescriptor'],Ki=(_0x18f383,_0x595dff,_0x7b679f,_0x56f9e7)=>{for(var _0x1bf5b4=_0x56f9e7>0x1?void 0x0:_0x56f9e7?Vi(_0x595dff,_0x7b679f):_0x595dff,_0x3cb988=_0x18f383['length']-0x1,_0x3ec66c;_0x3cb988>=0x0;_0x3cb988--)(_0x3ec66c=_0x18f383[_0x3cb988])&&(_0x1bf5b4=(_0x56f9e7?_0x3ec66c(_0x595dff,_0x7b679f,_0x1bf5b4):_0x3ec66c(_0x1bf5b4))||_0x1bf5b4);return _0x56f9e7&&_0x1bf5b4&&Gi(_0x595dff,_0x7b679f,_0x1bf5b4),_0x1bf5b4;},ce=(_0xdd2b70,_0x573854)=>(_0x3ec9fc,_0x3cffd2)=>_0x573854(_0x3ec9fc,_0x3cffd2,_0xdd2b70);let Ue=class extends a[_0x81f569(0x4a7)]{constructor(_0xa18bcd,_0xcb1b7a,_0x2b7089,_0x1698cb,_0x5b8dd3,_0x42a1ce,_0x148050){var _0x12dc4d=_0x81f569;super(),this[_0x12dc4d(0x2c1)]=_0xa18bcd,this[_0x12dc4d(0x4b8)]=_0xcb1b7a,this[_0x12dc4d(0x45d)]=_0x2b7089,this[_0x12dc4d(0x339)]=_0x1698cb,this[_0x12dc4d(0x277)]=_0x5b8dd3,this[_0x12dc4d(0x348)]=_0x42a1ce,this[_0x12dc4d(0x37f)]=_0x148050,this[_0x12dc4d(0x2fb)](),this[_0x12dc4d(0x501)]();}[_0x81f569(0x501)](){var _0x5ae163=_0x81f569;const _0x5e76eb=async _0xb1daaf=>{var _0x202282=_0x9ceb;(await this[_0x202282(0x339)][_0x202282(0x408)](_0xb1daaf))[_0x202282(0x535)][_0x202282(0x2bc)](W[_0x202282(0x317)](_0x114703=>_0x114703['eventID']===m[_0x202282(0x2e7)][_0x202282(0x259)]),W[_0x202282(0x543)](this[_0x202282(0x21a)]))['subscribe'](_0xb6a19a=>{var _0x3b2932=_0x202282;const _0xe3137a=_0xb6a19a,{reason:_0x556325}=_0xe3137a['data'];this[_0x3b2932(0x277)][_0x3b2932(0x363)]({'id':Q[_0x3b2932(0x460)],'data':_0x556325}),this[_0x3b2932(0x45d)][_0x3b2932(0x342)](new J['WorkbookEditablePermission'](_0xb1daaf)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0xb1daaf);});};H[_0x5ae163(0x48a)](this[_0x5ae163(0x4b8)][_0x5ae163(0x36c)](a[_0x5ae163(0x4b0)][_0x5ae163(0x25d)]),this[_0x5ae163(0x4b8)][_0x5ae163(0x36c)](a[_0x5ae163(0x4b0)]['UNIVER_DOC']))[_0x5ae163(0x2bc)](W[_0x5ae163(0x207)](_0x49cb94=>_0x49cb94['getUnitId']()),W[_0x5ae163(0x317)](_0x52894e=>!a[_0x5ae163(0x43c)](_0x52894e)),W[_0x5ae163(0x543)](this[_0x5ae163(0x21a)]))[_0x5ae163(0x454)](_0x3cdbfb=>{_0x5e76eb(_0x3cdbfb);});}[_0x81f569(0x2fb)](){var _0x2cb203=_0x81f569;const _0x54f7dc=async _0x41b516=>{var _0x3d3f5b=_0x9ceb;const _0x5ee2b0=await this[_0x3d3f5b(0x339)][_0x3d3f5b(0x408)](_0x41b516),_0x3097a2=this[_0x3d3f5b(0x2c1)][_0x3d3f5b(0x3bc)](J[_0x3d3f5b(0x451)]);_0x5ee2b0[_0x3d3f5b(0x535)][_0x3d3f5b(0x2bc)](W[_0x3d3f5b(0x317)](_0x38f37d=>_0x38f37d[_0x3d3f5b(0x2e2)]===m['CollaborationEvent'][_0x3d3f5b(0x236)]),W[_0x3d3f5b(0x543)](this[_0x3d3f5b(0x21a)]))[_0x3d3f5b(0x454)](_0x539c9e=>{var _0x966914=_0x3d3f5b;const _0x207b47=_0x539c9e,{objectId:_0x1ebb88}=_0x207b47[_0x966914(0x47e)];_0x1ebb88===_0x41b516?_0x3097a2[_0x966914(0x2f9)](_0x41b516):_0x3097a2[_0x966914(0x238)](_0x41b516,_0x1ebb88);});};H[_0x2cb203(0x48a)](this[_0x2cb203(0x4b8)][_0x2cb203(0x36c)](a[_0x2cb203(0x4b0)][_0x2cb203(0x25d)]),this['_univerInstanceService'][_0x2cb203(0x36c)](a['UniverInstanceType'][_0x2cb203(0x203)]))['pipe'](W[_0x2cb203(0x207)](_0x10cd90=>_0x10cd90[_0x2cb203(0x333)]()),W[_0x2cb203(0x317)](_0x3a38b3=>!a[_0x2cb203(0x43c)](_0x3a38b3)),W[_0x2cb203(0x543)](this[_0x2cb203(0x21a)]))[_0x2cb203(0x454)](_0x16a5af=>{_0x54f7dc(_0x16a5af);});}};Ue=Ki([ce(0x0,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),ce(0x1,a[_0x81f569(0x35c)]),ce(0x2,a[_0x81f569(0x558)]),ce(0x3,a['Inject'](exports[_0x81f569(0x33b)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x81f569(0x2c0)]),ce(0x6,a[_0x81f569(0x2f5)])],Ue);var Yi=Object[_0x81f569(0x24d)],qi=Object[_0x81f569(0x226)],zi=(_0x3627f8,_0x21c9e9,_0x5b2e6f,_0xd5203a)=>{var _0x1a09a8=_0x81f569;for(var _0x42373c=_0xd5203a>0x1?void 0x0:_0xd5203a?qi(_0x21c9e9,_0x5b2e6f):_0x21c9e9,_0x92297f=_0x3627f8[_0x1a09a8(0x3f8)]-0x1,_0x462d7a;_0x92297f>=0x0;_0x92297f--)(_0x462d7a=_0x3627f8[_0x92297f])&&(_0x42373c=(_0xd5203a?_0x462d7a(_0x21c9e9,_0x5b2e6f,_0x42373c):_0x462d7a(_0x42373c))||_0x42373c);return _0xd5203a&&_0x42373c&&Yi(_0x21c9e9,_0x5b2e6f,_0x42373c),_0x42373c;},ut=(_0xe75cb9,_0x312387)=>(_0x11abd7,_0xb95099)=>_0x312387(_0x11abd7,_0xb95099,_0xe75cb9);exports[_0x81f569(0x4ed)]=class{constructor(_0x3830a9,_0x12f8ff){var _0xe3a530=_0x81f569;this[_0xe3a530(0x4f3)]=_0x3830a9,this[_0xe3a530(0x4a5)]=_0x12f8ff;}async[_0x81f569(0x2da)](_0x2c0406,_0x3477e9){var _0x16274a=_0x81f569,_0x1f74ae;const {unitID:_0x235975,type:_0x5328bc,revision:_0x29175d=0x0}=_0x3477e9,_0x15134b=this['getSnapshotAPIPath']()+'/'+_0x5328bc+'/unit/'+_0x235975+_0x16274a(0x562)+_0x29175d,_0x58615b=(await this[_0x16274a(0x4a5)][_0x16274a(0x3bc)](_0x15134b))[_0x16274a(0x46f)],_0x5fbca5=(_0x1f74ae=_0x58615b[_0x16274a(0x40e)])==null?void 0x0:_0x1f74ae['workbook'];if(_0x5fbca5){const _0x3d20e9=_0x5fbca5==null?void 0x0:_0x5fbca5[_0x16274a(0x491)],_0x585d54=m[_0x16274a(0x533)][_0x16274a(0x28d)](m[_0x16274a(0x3b2)](_0x3d20e9));_0x5fbca5[_0x16274a(0x491)]=_0x585d54,Object[_0x16274a(0x2ef)](_0x5fbca5[_0x16274a(0x225)])[_0x16274a(0x3ed)](([,_0x3c0d9a])=>{var _0x1de464=_0x16274a;const _0x450c2a=_0x3c0d9a['originalMeta'],_0x1bd035=m[_0x1de464(0x533)][_0x1de464(0x28d)](m['b64DecodeUnicode'](_0x450c2a));_0x3c0d9a[_0x1de464(0x491)]=_0x1bd035;});}return _0x58615b;}async[_0x81f569(0x2a1)](_0x2922ed,_0x57bb26){var _0x771280=_0x81f569;const {unitID:_0x10e706,type:_0x4977b5,blockID:_0x153231}=_0x57bb26,_0x6faaae=this['_getAPIPrefix']()+'/'+_0x4977b5+'/unit/'+_0x10e706+_0x771280(0x3f4)+_0x153231;return(await this[_0x771280(0x4a5)][_0x771280(0x3bc)](_0x6faaae))[_0x771280(0x46f)];}async[_0x81f569(0x210)](_0x38a2dc,_0x4a6276){var _0xa20358=_0x81f569;const {unitID:_0x5b5a4d,type:_0x1b17b2,blockID:_0x1fc335}=_0x4a6276,_0x385588=this[_0xa20358(0x27f)]()+_0xa20358(0x3f4)+_0x1b17b2+_0xa20358(0x472)+_0x5b5a4d+_0xa20358(0x3f4)+_0x1fc335;return(await this[_0xa20358(0x4a5)]['get'](_0x385588))[_0xa20358(0x46f)];}async[_0x81f569(0x2ca)](_0x391b5d,_0x44e8c2){var _0xb1d380=_0x81f569;const {unitID:_0x4bdbc1,type:_0x432b55,from:_0x5d0834,to:_0x67bf8d}=_0x44e8c2,_0x22d5bd=this[_0xb1d380(0x27f)]()+'/'+_0x432b55+'/unit/'+_0x4bdbc1+'/fetchmissing?from='+_0x5d0834+_0xb1d380(0x39a)+_0x67bf8d;return(await this[_0xb1d380(0x4a5)][_0xb1d380(0x3bc)](_0x22d5bd))[_0xb1d380(0x46f)];}['getSnapshotAPIPath'](){var _0x193226=_0x81f569,_0x1cd80e;return(_0x1cd80e=this[_0x193226(0x4f3)]['getConfig'](ft))!=null?_0x1cd80e:this[_0x193226(0x27f)]();}['_getAPIPrefix'](){var _0x9e0469=_0x81f569,_0x57bd71,_0x522944;const _0x55d4a7=this[_0x9e0469(0x4f3)][_0x9e0469(0x3f3)](vt),_0x48a3da=this['_configService'][_0x9e0469(0x3f3)](Y);return(_0x522944=(_0x57bd71=_0x48a3da==null?void 0x0:_0x48a3da['snapshotServerUrl'])!=null?_0x57bd71:_0x55d4a7)!=null?_0x522944:Ht;}async[_0x81f569(0x2af)](_0x1f9714,_0x4b09b0){var _0x3ddeb5=_0x81f569;const _0x2632e9=_0x3ddeb5(0x1e7)+_0x4b09b0[_0x3ddeb5(0x3d5)]+'/unit/'+_0x4b09b0[_0x3ddeb5(0x4a1)]+_0x3ddeb5(0x2cb);return(await this['_httpService']['get'](_0x2632e9,{'params':{'resourceId':JSON['stringify'](_0x4b09b0[_0x3ddeb5(0x2ee)])}}))[_0x3ddeb5(0x46f)];}[_0x81f569(0x4d9)](){var _0x3a34a7=_0x81f569;throw new Error(_0x3a34a7(0x4cd));}['saveSheetBlock'](){var _0x4cfc1f=_0x81f569;throw new Error(_0x4cfc1f(0x4cd));}[_0x81f569(0x1fe)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x81f569(0x287)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x81f569(0x3dd)](){var _0x8d5fab=_0x81f569;throw new Error(_0x8d5fab(0x4cd));}},exports[_0x81f569(0x4ed)]=zi([ut(0x0,a['IConfigService']),ut(0x1,a['Inject'](q[_0x81f569(0x3fb)]))],exports[_0x81f569(0x4ed)]);var Ji=Object[_0x81f569(0x24d)],Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x1ed859,_0x4ac15e,_0xa4430b,_0x91bb1f)=>{for(var _0x4b8ec3=_0x91bb1f>0x1?void 0x0:_0x91bb1f?Xi(_0x4ac15e,_0xa4430b):_0x4ac15e,_0x263e19=_0x1ed859['length']-0x1,_0x289394;_0x263e19>=0x0;_0x263e19--)(_0x289394=_0x1ed859[_0x263e19])&&(_0x4b8ec3=(_0x91bb1f?_0x289394(_0x4ac15e,_0xa4430b,_0x4b8ec3):_0x289394(_0x4b8ec3))||_0x4b8ec3);return _0x91bb1f&&_0x4b8ec3&&Ji(_0x4ac15e,_0xa4430b,_0x4b8ec3),_0x4b8ec3;},de=(_0xfba8a2,_0x4c5638)=>(_0x54170d,_0xdd829b)=>_0x4c5638(_0x54170d,_0xdd829b,_0xfba8a2);exports['CollaborativeUndoRedoService']=class extends a[_0x81f569(0x1f7)]{constructor(_0x1f12fb,_0x22c3d9,_0x15e3d,_0x503b39,_0x3d92c4){var _0x1dc432=_0x81f569;super(_0x1f12fb,_0x22c3d9,_0x15e3d),this[_0x1dc432(0x463)]=_0x503b39,this['_logService']=_0x3d92c4;}[_0x81f569(0x3a1)](_0x191983,_0x37401f){var _0x50f7ba=_0x81f569;const _0x221fe2=this[_0x50f7ba(0x20d)](_0x191983);if(_0x221fe2)try{const _0x526f69=this[_0x50f7ba(0x2d7)](_0x221fe2,_0x37401f);this[_0x50f7ba(0x51f)](_0x191983,_0x526f69);}catch(_0x28e16f){this['_logService'][_0x50f7ba(0x4b6)](_0x50f7ba(0x547),_0x28e16f),this['_clearUndo'](_0x191983);}const _0x14d38b=this[_0x50f7ba(0x3dc)](_0x191983);if(_0x14d38b)try{const _0x606227=this[_0x50f7ba(0x2d7)](_0x14d38b,_0x37401f);this[_0x50f7ba(0x528)](_0x191983,_0x606227);}catch(_0x32fdc7){this[_0x50f7ba(0x244)][_0x50f7ba(0x4b6)](_0x32fdc7),this[_0x50f7ba(0x47b)](_0x191983);}}[_0x81f569(0x2e6)](_0xf0682a){var _0x338467=_0x81f569;const _0x3f4933=this['_getUndoStack'](_0xf0682a);_0x3f4933&&(_0x3f4933[_0x338467(0x3f8)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x47af90){var _0x5a696f=_0x81f569;const _0x4d7a37=this[_0x5a696f(0x3dc)](_0x47af90);_0x4d7a37&&(_0x4d7a37[_0x5a696f(0x3f8)]=0x0,this[_0x5a696f(0x526)]());}[_0x81f569(0x51f)](_0x112f68,_0x3c91c5){var _0x110f45=_0x81f569;this[_0x110f45(0x26d)]['set'](_0x112f68,_0x3c91c5),this[_0x110f45(0x526)]();}[_0x81f569(0x528)](_0x1a2538,_0x300b13){var _0x34b8fa=_0x81f569;this['_redoStacks'][_0x34b8fa(0x4f9)](_0x1a2538,_0x300b13),this['_updateStatus']();}[_0x81f569(0x2d7)](_0x5ca1fe,_0x469cd8){var _0x8833b8=_0x81f569;const _0x51f958=[];let _0x47aafe=_0x469cd8,_0x22ec2e=_0x469cd8;for(let _0x313589=_0x5ca1fe[_0x8833b8(0x3f8)]-0x1;_0x313589>=0x0;_0x313589--){const {unitID:_0x26f6ad,undoMutations:_0x2b8dcb,redoMutations:_0x40584c}=_0x5ca1fe[_0x313589],_0x570e6b=this['_transformService'][_0x8833b8(0x39b)](_0x47aafe,_0x2b8dcb),_0x53aa00=this[_0x8833b8(0x463)][_0x8833b8(0x39b)](_0x22ec2e,_0x40584c);if(m[_0x8833b8(0x413)](_0x570e6b)||m[_0x8833b8(0x413)](_0x53aa00)){this['_logService'][_0x8833b8(0x4b6)](_0x8833b8(0x547),_0x8833b8(0x220),_0x570e6b,_0x53aa00);break;}_0x47aafe=_0x570e6b[_0x8833b8(0x51e)],_0x22ec2e=_0x53aa00[_0x8833b8(0x51e)],_0x51f958['push']({'unitID':_0x26f6ad,'undoMutations':_0x570e6b['m2Prime'],'redoMutations':_0x53aa00['m2Prime']});}return _0x51f958['reverse']();}},exports[_0x81f569(0x218)]=Zi([de(0x0,a['IUniverInstanceService']),de(0x1,a['ICommandService']),de(0x2,a[_0x81f569(0x3ae)]),de(0x3,m[_0x81f569(0x554)]),de(0x4,a[_0x81f569(0x223)])],exports[_0x81f569(0x218)]);var Lt=Object[_0x81f569(0x24d)],Qi=Object[_0x81f569(0x226)],er=(_0x5c3975,_0x5eeade,_0x2f3473)=>_0x5eeade in _0x5c3975?Lt(_0x5c3975,_0x5eeade,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f3473}):_0x5c3975[_0x5eeade]=_0x2f3473,tr=(_0xa722f0,_0x188029,_0x3b52a3,_0xa7c026)=>{var _0x40e935=_0x81f569;for(var _0x18df4e=_0xa7c026>0x1?void 0x0:_0xa7c026?Qi(_0x188029,_0x3b52a3):_0x188029,_0x5cf0af=_0xa722f0[_0x40e935(0x3f8)]-0x1,_0xa8e469;_0x5cf0af>=0x0;_0x5cf0af--)(_0xa8e469=_0xa722f0[_0x5cf0af])&&(_0x18df4e=(_0xa7c026?_0xa8e469(_0x188029,_0x3b52a3,_0x18df4e):_0xa8e469(_0x18df4e))||_0x18df4e);return _0xa7c026&&_0x18df4e&&Lt(_0x188029,_0x3b52a3,_0x18df4e),_0x18df4e;},je=(_0x30c1ce,_0x4386bd)=>(_0x2464e9,_0x6acf57)=>_0x4386bd(_0x2464e9,_0x6acf57,_0x30c1ce),nr=(_0x5b3299,_0x1dff68,_0x37c883)=>er(_0x5b3299,_0x1dff68+'',_0x37c883);const ir=_0x81f569(0x2e4);exports['UniverCollaborationClientPlugin']=class extends a[_0x81f569(0x400)]{constructor(_0x5f4645=Ke,_0x4e953f,_0x49c337,_0x26f45f){var _0x2ca1a4=_0x81f569;super(),this[_0x2ca1a4(0x4fe)]=_0x5f4645,this[_0x2ca1a4(0x244)]=_0x4e953f,this['_injector']=_0x49c337,this[_0x2ca1a4(0x4f3)]=_0x26f45f;const {..._0x16dbd9}=a['merge']({},Ke,this[_0x2ca1a4(0x4fe)]);this[_0x2ca1a4(0x4f3)][_0x2ca1a4(0x405)](Y,_0x16dbd9);}['onStarting'](){var _0x36bd0a=_0x81f569;this[_0x36bd0a(0x455)](),this[_0x36bd0a(0x33a)]();}[_0x81f569(0x455)](){var _0x3459ae=_0x81f569,_0x161c2d,_0x3e616c,_0x33c03,_0x23ffbf;this[_0x3459ae(0x2c1)][_0x3459ae(0x280)](a[_0x3459ae(0x2f5)])&&this[_0x3459ae(0x244)][_0x3459ae(0x4b6)](_0x3459ae(0x3cf),_0x3459ae(0x382));const _0x12bc8a=a['mergeOverrideWithDependencies']([[a[_0x3459ae(0x2f5)],{'useClass':exports[_0x3459ae(0x218)]}],[exports[_0x3459ae(0x33b)]],[exports[_0x3459ae(0x544)]],[exports[_0x3459ae(0x251)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x3e616c=(_0x161c2d=this[_0x3459ae(0x4fe)])==null?void 0x0:_0x161c2d[_0x3459ae(0x337)])!=null?_0x3e616c:exports['CollaborationSocketService']}],[m[_0x3459ae(0x488)],{'useClass':exports[_0x3459ae(0x4ed)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[X['IImageIoService'],{'useClass':exports[_0x3459ae(0x31d)]}],[a[_0x3459ae(0x4d3)],{'useClass':exports[_0x3459ae(0x51c)]}],[exports['CollaborationController']],[$e]],(_0x33c03=this[_0x3459ae(0x4fe)])==null?void 0x0:_0x33c03[_0x3459ae(0x521)]);if(!((_0x23ffbf=this['_config'])!=null&&_0x23ffbf['enableSingleActiveInstanceLock'])){const _0x19cee7=_0x12bc8a['findIndex'](([_0x535d50])=>_0x535d50===ve);_0x19cee7!==-0x1&&_0x12bc8a[_0x3459ae(0x2a7)](_0x19cee7,0x1);}a[_0x3459ae(0x38a)](this['_injector'],_0x12bc8a);}[_0x81f569(0x33a)](){var _0x47043d=_0x81f569,_0x26366a,_0x1e9c60,_0x3a5d6c;this[_0x47043d(0x2c1)][_0x47043d(0x3bc)](q[_0x47043d(0x3fb)])[_0x47043d(0x518)]({'priority':0x14,'interceptor':q[_0x47043d(0x50f)]({'maxParallel':0x6})}),(_0x26366a=this[_0x47043d(0x4fe)])!=null&&_0x26366a[_0x47043d(0x55c)]||(_0x1e9c60=this[_0x47043d(0x2c1)][_0x47043d(0x3bc)](z,a['Quantity']['OPTIONAL']))==null||_0x1e9c60['disableLocalCache'](),(_0x3a5d6c=this[_0x47043d(0x4fe)])!=null&&_0x3a5d6c[_0x47043d(0x3f7)]&&a[_0x47043d(0x398)](this[_0x47043d(0x2c1)],[[ye]]),a['touchDependencies'](this['_injector'],[[Ne],[exports['CollaborationController']],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],_0x81f569(0x426),ir),exports[_0x81f569(0x519)]=tr([a[_0x81f569(0x3e0)](m[_0x81f569(0x31a)],J['UniverSheetsPlugin'],q[_0x81f569(0x211)]),je(0x1,a[_0x81f569(0x223)]),je(0x2,a[_0x81f569(0x421)](a[_0x81f569(0x279)])),je(0x3,a[_0x81f569(0x52c)])],exports['UniverCollaborationClientPlugin']),exports[_0x81f569(0x1e8)]=Ve,exports[_0x81f569(0x546)]=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports[_0x81f569(0x2c4)]=St,exports[_0x81f569(0x2c6)]=We,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x81f569(0x469)]=Be,exports[_0x81f569(0x444)]=pt,exports[_0x81f569(0x43d)]=Xt,exports[_0x81f569(0x2d9)]=mt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x81f569(0x376)]=ke,exports[_0x81f569(0x2a0)]=z,exports[_0x81f569(0x392)]=Rt,exports[_0x81f569(0x38d)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x81f569(0x453)]=Kt,exports[_0x81f569(0x22d)]=Ct,exports[_0x81f569(0x320)]=Jt,exports[_0x81f569(0x4a0)]=It,exports[_0x81f569(0x42e)]=kt,exports[_0x81f569(0x508)]=vt,exports[_0x81f569(0x297)]=ft,exports[_0x81f569(0x42f)]=se,exports[_0x81f569(0x264)]=Fe,exports['deserializeToCombResponse']=Ot,exports['getLocalCacheKey']=In,exports[_0x81f569(0x46b)]=yt;
|