@univerjs-pro/collaboration-client 0.6.0-nightly.202502071606 → 0.6.0-nightly.202502091605
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 _0x23fcf5=_0x4d81;(function(_0x47f884,_0x1976fb){var _0x501263=_0x4d81,_0x3f1a58=_0x47f884();while(!![]){try{var _0x5c8615=parseInt(_0x501263(0x179))/0x1+parseInt(_0x501263(0x3d8))/0x2+-parseInt(_0x501263(0x21c))/0x3*(-parseInt(_0x501263(0x27b))/0x4)+-parseInt(_0x501263(0x2cd))/0x5+-parseInt(_0x501263(0x414))/0x6+parseInt(_0x501263(0x42a))/0x7*(parseInt(_0x501263(0x2f1))/0x8)+-parseInt(_0x501263(0x1af))/0x9*(-parseInt(_0x501263(0x366))/0xa);if(_0x5c8615===_0x1976fb)break;else _0x3f1a58['push'](_0x3f1a58['shift']());}catch(_0x2c92ba){_0x3f1a58['push'](_0x3f1a58['shift']());}}}(_0x8269,0xd599f));var Mt=Object['defineProperty'],xt=(_0x310528,_0x5236e4,_0x3149ad)=>_0x5236e4 in _0x310528?Mt(_0x310528,_0x5236e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3149ad}):_0x310528[_0x5236e4]=_0x3149ad,D=(_0x382afa,_0x525cde,_0x996efd)=>xt(_0x382afa,typeof _0x525cde!=_0x23fcf5(0x428)?_0x525cde+'':_0x525cde,_0x996efd);Object[_0x23fcf5(0x14d)](exports,Symbol[_0x23fcf5(0x1ac)],{'value':_0x23fcf5(0x3a8)});const a=require('@univerjs/core'),H=require(_0x23fcf5(0x258)),W=require('rxjs/operators'),q=require(_0x23fcf5(0x182)),m=require('@univerjs-pro/collaboration'),jt=require(_0x23fcf5(0x1e0)),dt=require(_0x23fcf5(0x181)),J=require(_0x23fcf5(0x3c9)),X=require(_0x23fcf5(0x232)),$t=require('@univerjs-pro/license'),vt=_0x23fcf5(0x352),Ht=_0x23fcf5(0x339),ft=_0x23fcf5(0x42c),kt=_0x23fcf5(0xdd),Bt=0x7d0,St=_0x23fcf5(0x3ad),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x23fcf5(0x434),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x23fcf5(0x214),gt=0x4e20,Gt=0x4e20,It=_0x23fcf5(0x126),Vt=0x3,Kt=_0x23fcf5(0x2eb),Yt=0x3e8,Et=_0x23fcf5(0x436),qt='/universer-api/comb',Ct='LOGIN_URL_KEY',zt=_0x23fcf5(0x2be),Jt=_0x23fcf5(0x2b8),Xt=_0x23fcf5(0x1fb);var Tt=(_0x426de9=>(_0x426de9[_0x426de9[_0x23fcf5(0x102)]=0x0]=_0x23fcf5(0x102),_0x426de9[_0x426de9['OK']=0x1]='OK',_0x426de9[_0x426de9['INTERNAL_ERROR']=0x2]=_0x23fcf5(0x33f),_0x426de9[_0x426de9['PERMISSION_DENIED']=0x3]=_0x23fcf5(0x371),_0x426de9[_0x426de9[_0x23fcf5(0x2d1)]=0x4]=_0x23fcf5(0x2d1),_0x426de9[_0x426de9[_0x23fcf5(0x211)]=0x5]='UNAUTHENTICATED',_0x426de9[_0x426de9['ALREADY_EXISTS']=0x6]=_0x23fcf5(0x137),_0x426de9[_0x426de9[_0x23fcf5(0x2c0)]=0x7]=_0x23fcf5(0x2c0),_0x426de9[_0x426de9[_0x23fcf5(0x11d)]=0x8]=_0x23fcf5(0x11d),_0x426de9[_0x426de9[_0x23fcf5(0x1d1)]=0x9]=_0x23fcf5(0x1d1),_0x426de9[_0x426de9[_0x23fcf5(0x43e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x426de9[_0x426de9[_0x23fcf5(0x2a8)]=0x1771]=_0x23fcf5(0x2a8),_0x426de9[_0x426de9[_0x23fcf5(0x2c1)]=0x1772]=_0x23fcf5(0x2c1),_0x426de9[_0x426de9[_0x23fcf5(0x302)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x426de9[_0x426de9[_0x23fcf5(0x341)]=0x1b59]='APPLY_REJECT',_0x426de9[_0x426de9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x23fcf5(0x15c),_0x426de9[_0x426de9[_0x23fcf5(0x20f)]=0x1b5b]=_0x23fcf5(0x20f),_0x426de9[_0x426de9[_0x23fcf5(0x2a1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x426de9[_0x426de9[_0x23fcf5(0x396)]=0x1b5d]=_0x23fcf5(0x396),_0x426de9[_0x426de9[_0x23fcf5(0xe1)]=0x1f41]=_0x23fcf5(0xe1),_0x426de9[_0x426de9[_0x23fcf5(0x365)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x426de9[_0x426de9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x23fcf5(0x135),_0x426de9[_0x426de9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23fcf5(0x3d6),_0x426de9[_0x426de9[_0x23fcf5(0x148)]=0x232c]=_0x23fcf5(0x148),_0x426de9[_0x426de9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x23fcf5(0x3c1),_0x426de9[_0x426de9[_0x23fcf5(0x1e1)]=0x2711]=_0x23fcf5(0x1e1),_0x426de9[_0x426de9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x23fcf5(0x113),_0x426de9[_0x426de9[_0x23fcf5(0x1b6)]=0x2713]=_0x23fcf5(0x1b6),_0x426de9[_0x426de9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x23fcf5(0x168),_0x426de9[_0x426de9[_0x23fcf5(0x1ff)]=0x2af9]=_0x23fcf5(0x1ff),_0x426de9[_0x426de9[_0x23fcf5(0x2bc)]=-0x1]=_0x23fcf5(0x2bc),_0x426de9))(Tt||{}),Z=(_0x4e0a43=>(_0x4e0a43[_0x4e0a43[_0x23fcf5(0x169)]=0x0]=_0x23fcf5(0x169),_0x4e0a43[_0x4e0a43['UNIVER_DOC']=0x1]=_0x23fcf5(0x19a),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x1b5)]=0x2]=_0x23fcf5(0x1b5),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3ef)]=0x3]='UNIVER_SLIDE',_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3be)]=0x4]=_0x23fcf5(0x3be),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x4e0a43))(Z||{}),G=(_0x500b10=>(_0x500b10[_0x500b10['UNKNOWN_CMD']=0x0]=_0x23fcf5(0x42e),_0x500b10[_0x500b10['HELLO']=0x1]=_0x23fcf5(0x455),_0x500b10[_0x500b10[_0x23fcf5(0x209)]=0x2]=_0x23fcf5(0x209),_0x500b10[_0x500b10[_0x23fcf5(0x385)]=0x3]=_0x23fcf5(0x385),_0x500b10[_0x500b10[_0x23fcf5(0x3c2)]=0x4]=_0x23fcf5(0x3c2),_0x500b10[_0x500b10[_0x23fcf5(0x2c4)]=0x5]='HEARTBEAT',_0x500b10[_0x500b10[_0x23fcf5(0x14e)]=0x6]='RECV',_0x500b10[_0x500b10[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x500b10))(G||{}),he=(_0x40fb4f=>(_0x40fb4f[_0x40fb4f[_0x23fcf5(0x1b7)]=0x0]='UNKNOWN_CODE',_0x40fb4f[_0x40fb4f['OK']=0x1]='OK',_0x40fb4f[_0x40fb4f[_0x23fcf5(0x444)]=0x2]=_0x23fcf5(0x444),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x38f)]=0x3e9]=_0x23fcf5(0x38f),_0x40fb4f[_0x40fb4f['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x23fcf5(0x29d),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x243)]=0x3eb]=_0x23fcf5(0x243),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x3c0)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x40fb4f[_0x40fb4f['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0x40fb4f))(he||{}),bt=(_0xdef417=>(_0xdef417[_0xdef417['Undefined']=0x0]=_0x23fcf5(0x183),_0xdef417[_0xdef417[_0x23fcf5(0x117)]=0x1]=_0x23fcf5(0x117),_0xdef417[_0xdef417[_0x23fcf5(0x197)]=0x2]=_0x23fcf5(0x197),_0xdef417[_0xdef417[_0x23fcf5(0x23f)]=0x3]=_0x23fcf5(0x23f),_0xdef417[_0xdef417['UnitSnapshot']=0x4]='UnitSnapshot',_0xdef417[_0xdef417['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0xdef417))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x5cbc46=>(_0x5cbc46[_0x23fcf5(0x2aa)]=_0x23fcf5(0x2aa),_0x5cbc46[_0x23fcf5(0x371)]=_0x23fcf5(0x371),_0x5cbc46['CONFLICT']=_0x23fcf5(0x41f),_0x5cbc46[_0x23fcf5(0x1e2)]=_0x23fcf5(0x1e2),_0x5cbc46[_0x23fcf5(0x1f1)]=_0x23fcf5(0x1f1),_0x5cbc46['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x5cbc46[_0x23fcf5(0x141)]='SOCKET_FAILED',_0x5cbc46[_0x23fcf5(0x23b)]=_0x23fcf5(0x23b),_0x5cbc46))(Q||{});class te{constructor(){var _0x2695c1=_0x23fcf5;D(this,_0x2695c1(0x451),new H[(_0x2695c1(0x227))]()),D(this,_0x2695c1(0x3d4),this['_event$']['asObservable']());}[_0x23fcf5(0x427)](_0x23fd8e){var _0x5f44bc=_0x23fcf5;this[_0x5f44bc(0x451)][_0x5f44bc(0x275)](_0x23fd8e);}}const Rt=a[_0x23fcf5(0xec)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x246eda){var _0xf7f9da=_0x23fcf5,_0x5ae6de,_0x16bba8,_0x367d8,_0x10efb0,_0x3abb09;const _0x37cbcb=_0x246eda['data'],_0x156e13=JSON['parse'](_0x37cbcb);switch(_0x156e13[_0xf7f9da(0x37e)]){case G[_0xf7f9da(0x2c4)]:case G['HELLO']:{const _0x5155b1=_0x156e13[_0xf7f9da(0x23d)];return{..._0x156e13,'data':_0x5155b1,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x209)]:{const _0x383633=_0x156e13[_0xf7f9da(0x255)];return{..._0x156e13,'data':_0x383633,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x14e)]:{const _0xf4f102=_0x156e13[_0xf7f9da(0xff)];switch(_0xf4f102[_0xf7f9da(0x21b)]){case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x158)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x5ae6de=_0xf4f102['permissionRejEvent'])==null?void 0x0:_0x5ae6de['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x3d5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x16bba8=_0xf4f102[_0xf7f9da(0x1dc)])==null?void 0x0:_0x16bba8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x2cc)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x367d8=_0xf4f102['newCsEvent'])==null?void 0x0:_0x367d8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x10efb0=_0xf4f102['csRejEvent'])==null?void 0x0:_0x10efb0['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x156)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x3abb09=_0xf4f102['csShouldRetryEvent'])==null?void 0x0:_0x3abb09['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_CURSOR']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['updateCursorEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x1c5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3b3)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x16e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x2e0)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)]['LIVESHARE_NEW_HOST']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent'][_0xf7f9da(0x21e)]:case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x13a)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x398)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x221)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0xfd)]:return{..._0x156e13,'data':_0xf4f102,'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x10e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['commentUpdateEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_PERMISSION_OBJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x421)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x28f)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x430)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x356)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x293)]},'cmd':_0x156e13['cmd']};default:return _0x156e13;}}default:return _0x156e13;}}function yt(_0x3ec91c){var _0x1f384d=_0x23fcf5;switch(_0x3ec91c[_0x1f384d(0x37e)]){case G[_0x1f384d(0x2c4)]:case G[_0x1f384d(0x455)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)]});case G[_0x1f384d(0x3c2)]:{let _0x3df7b9;switch(_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x21b)]){case m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)],'updateCursorEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent']['USERS_LEAVE']:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x16e)],'leaveEvent':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)],'joinEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x3f7)]:{_0x3df7b9={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3ec91c[_0x1f384d(0x406)]['data']};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x13a)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x13a)],'liveShareOperation':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x221)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x221)],'liveShareTerminate':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)],'liveShareRequestHost':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x21e)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x21e)]};break;}default:_0x3df7b9={'eventID':_0x3ec91c['data'][_0x1f384d(0x21b)]};}return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'collaMsg':_0x3df7b9});}case G[_0x1f384d(0x209)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'joinReq':_0x3ec91c[_0x1f384d(0x406)]});case G[_0x1f384d(0x385)]:return JSON['stringify']({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'leaveReq':_0x3ec91c['data']});default:throw new Error(_0x1f384d(0xd9));}}var Zt=Object[_0x23fcf5(0x14d)],Qt=Object['getOwnPropertyDescriptor'],en=(_0x317046,_0xa7170b,_0x5c26c5,_0x53e854)=>{for(var _0x41bbba=_0x53e854>0x1?void 0x0:_0x53e854?Qt(_0xa7170b,_0x5c26c5):_0xa7170b,_0x290883=_0x317046['length']-0x1,_0x522140;_0x290883>=0x0;_0x290883--)(_0x522140=_0x317046[_0x290883])&&(_0x41bbba=(_0x53e854?_0x522140(_0xa7170b,_0x5c26c5,_0x41bbba):_0x522140(_0x41bbba))||_0x41bbba);return _0x53e854&&_0x41bbba&&Zt(_0xa7170b,_0x5c26c5,_0x41bbba),_0x41bbba;},ue=(_0xfb635a,_0x1823fb)=>(_0x78a424,_0x2b239e)=>_0x1823fb(_0x78a424,_0x2b239e,_0xfb635a);function _0x4d81(_0x57f05e,_0x4bb727){var _0x82696d=_0x8269();return _0x4d81=function(_0x4d8157,_0x449739){_0x4d8157=_0x4d8157-0xd4;var _0x11cfc9=_0x82696d[_0x4d8157];return _0x11cfc9;},_0x4d81(_0x57f05e,_0x4bb727);}const ke=a[_0x23fcf5(0xec)](_0x23fcf5(0x376));function tn(_0x10b088,_0x5d160f,_0x3c17d9){var _0x24ecc5=_0x23fcf5;return _0x10b088+'/'+_0x5d160f+_0x24ecc5(0x17d)+_0x3c17d9+_0x24ecc5(0x333);}exports[_0x23fcf5(0x2e7)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x27dc70,_0x46ffb1,_0x158e0b,_0x487dd,_0x214ee8){var _0x1d766b=_0x23fcf5;super(),this[_0x1d766b(0x305)]=_0x27dc70,this[_0x1d766b(0x327)]=_0x46ffb1,this[_0x1d766b(0x194)]=_0x158e0b,this[_0x1d766b(0x447)]=_0x487dd,this[_0x1d766b(0x1ab)]=_0x214ee8;}[_0x23fcf5(0x1e4)](_0x4fd16e){var _0x29d140=_0x23fcf5;const _0x3ce6fc=this[_0x29d140(0x305)][_0x29d140(0x11c)](q[_0x29d140(0x409)]);if(!_0x3ce6fc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x591296=_0x3ce6fc[_0x29d140(0x1e4)](_0x4fd16e);if(!_0x591296)throw new Error(_0x29d140(0xe0));const _0x3b5c04=new a[(_0x29d140(0x20a))](),_0x6d1298=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x18c)]['subscribe'](_0x3416d6=>_0x6d1298[_0x29d140(0x275)](_0x3416d6))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x6d1298[_0x29d140(0x410)]()));const _0x1f5ef3=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x38a)]['subscribe'](_0x3e0ef3=>_0x1f5ef3['next'](_0x3e0ef3))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x1f5ef3['complete']()));const _0x2c425a=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x31e)][_0x29d140(0x332)](_0x305418=>{var _0x3ed2fc=_0x29d140;const _0x1b6c47=Ot(_0x305418);_0x2c425a[_0x3ed2fc(0x275)](_0x1b6c47);})),_0x3b5c04[_0x29d140(0x440)](a[_0x29d140(0x219)](()=>_0x2c425a[_0x29d140(0x410)]()));let _0x180acc;const _0x216251=()=>{var _0xbb88e2=_0x29d140;_0x1f5ef3[_0xbb88e2(0x275)](new Event(_0xbb88e2(0x271))),_0x6d1298[_0xbb88e2(0x275)](new CloseEvent(_0xbb88e2(0x271))),_0x180acc['close']();};return _0x180acc={'memberID':'','close$':_0x6d1298['asObservable'](),'error$':_0x1f5ef3[_0x29d140(0x1cf)](),'open$':_0x591296['open$'],'message$':_0x2c425a[_0x29d140(0x1cf)](),'send':_0x3abd39=>{var _0x4353d4=_0x29d140;if(_0x3abd39[_0x4353d4(0x37e)]===G[_0x4353d4(0x3c2)]){if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m[_0x4353d4(0x2b5)][_0x4353d4(0x1c1)]){this['_submitChangeset'](_0x180acc,_0x3abd39[_0x4353d4(0x406)])[_0x4353d4(0x13f)](_0x18ceb9=>{var _0x45443c=_0x4353d4;this[_0x45443c(0x447)][_0x45443c(0x39b)](_0x18ceb9),_0x216251();});return;}if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m['CollaborationEvent'][_0x4353d4(0x2a7)]){const _0x1554d4=_0x3abd39[_0x4353d4(0x406)];this[_0x4353d4(0x278)](_0x1554d4)[_0x4353d4(0x116)](_0x12f8f4=>{var _0x27e7ff=_0x4353d4;_0x2c425a[_0x27e7ff(0x275)]({'cmd':G[_0x27e7ff(0x14e)],'code':he['OK'],'routeKey':_0x1554d4[_0x27e7ff(0x406)][_0x27e7ff(0x134)],'routeType':'','data':{'eventID':m[_0x27e7ff(0x2b5)][_0x27e7ff(0x17a)],'data':{'changesets':_0x12f8f4}}});})[_0x4353d4(0x13f)](_0x54307c=>{var _0x277d74=_0x4353d4;this[_0x277d74(0x447)][_0x277d74(0x39b)](_0x54307c),_0x216251();});return;}}_0x591296[_0x4353d4(0x2b3)](yt(_0x3abd39));},'close':()=>{var _0x3e7186=_0x29d140;_0x591296['close'](),_0x3b5c04[_0x3e7186(0x27d)]();}},_0x180acc;}async['_submitChangeset'](_0x168a87,_0x4aecf7){var _0x1396cc=_0x23fcf5,_0x10f5fd,_0x5e3f5b;const {unitType:_0x3c1640,unitID:_0x5e2e82,changeset:_0x52a8a5}=_0x4aecf7[_0x1396cc(0x406)],_0x18a71e={'unitID':_0x5e2e82,'memberID':_0x168a87[_0x1396cc(0x2d0)],'type':_0x3c1640,'changeset':m[_0x1396cc(0x3e5)](_0x52a8a5)},_0x40bb8b=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Et),_0x495b8d=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Y),_0x3439b6=tn((_0x5e3f5b=(_0x10f5fd=_0x495b8d==null?void 0x0:_0x495b8d[_0x1396cc(0x274)])!=null?_0x10f5fd:_0x40bb8b)!=null?_0x5e3f5b:qt,_0x3c1640,_0x5e2e82);try{await this[_0x1396cc(0x327)]['post'](_0x3439b6,{'body':_0x18a71e});}catch(_0x2dc390){throw this['_logService'][_0x1396cc(0x39b)]('[CollaborationSession]',_0x1396cc(0x18e)),_0x2dc390;}}async[_0x23fcf5(0x278)](_0x342fb6){var _0x33c0e9=_0x23fcf5;const {unitID:_0x22586d,from:_0x1703f4,to:_0x1e404d,unitType:_0x29dcfe}=_0x342fb6[_0x33c0e9(0x406)];return(await this['_snapshotServerService'][_0x33c0e9(0x438)]({'metadata':void 0x0},{'unitID':_0x22586d,'type':_0x29dcfe,'from':_0x1703f4,'to':_0x1e404d}))['changesets'];}},exports['CollaborationSocketService']=en([ue(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),ue(0x1,a[_0x23fcf5(0x11a)](q['HTTPService'])),ue(0x2,a[_0x23fcf5(0x17e)]),ue(0x3,a[_0x23fcf5(0x21d)]),ue(0x4,m[_0x23fcf5(0x3e3)])],exports['CollaborationSocketService']);const nn=_0x23fcf5(0x1f4);function rn(_0xcae29){var _0x1ab5f1=_0x23fcf5;return JSON[_0x1ab5f1(0x19e)](_0xcae29)['length'];}class Be{constructor(){var _0x38dc4a=_0x23fcf5;D(this,_0x38dc4a(0x3ec),new H[(_0x38dc4a(0x227))]()),D(this,_0x38dc4a(0x30d),this['_commentUpdate$'][_0x38dc4a(0x1cf)]());}[_0x23fcf5(0x123)](_0x301e05){var _0x59812d=_0x23fcf5;this[_0x59812d(0x3ec)]['next'](_0x301e05);}}var sn=Object[_0x23fcf5(0x14d)],on=Object[_0x23fcf5(0x291)],an=(_0x10be44,_0x429f26,_0x312d57,_0x1271fa)=>{var _0x267686=_0x23fcf5;for(var _0x18e0d5=_0x1271fa>0x1?void 0x0:_0x1271fa?on(_0x429f26,_0x312d57):_0x429f26,_0x31a917=_0x10be44[_0x267686(0x358)]-0x1,_0x494000;_0x31a917>=0x0;_0x31a917--)(_0x494000=_0x10be44[_0x31a917])&&(_0x18e0d5=(_0x1271fa?_0x494000(_0x429f26,_0x312d57,_0x18e0d5):_0x494000(_0x18e0d5))||_0x18e0d5);return _0x1271fa&&_0x18e0d5&&sn(_0x429f26,_0x312d57,_0x18e0d5),_0x18e0d5;},Ye=(_0x554385,_0xa6905)=>(_0x56160b,_0x56f250)=>_0xa6905(_0x56160b,_0x56f250,_0x554385);exports[_0x23fcf5(0x24c)]=class extends a['Disposable']{constructor(_0x14fcd0,_0x1969d7){var _0x39eb8e=_0x23fcf5;super(),D(this,_0x39eb8e(0x316),new Map()),D(this,_0x39eb8e(0x24a),new H[(_0x39eb8e(0x227))]()),(this[_0x39eb8e(0x3ce)]=_0x14fcd0,this[_0x39eb8e(0x3e0)]=_0x1969d7,this[_0x39eb8e(0x31b)](H['merge'](this[_0x39eb8e(0x3ce)][_0x39eb8e(0x1ee)](a[_0x39eb8e(0x387)][_0x39eb8e(0x1b5)])['pipe'](W[_0x39eb8e(0x1da)](_0x2256e5=>_0x2256e5[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC'])[_0x39eb8e(0x205)](W[_0x39eb8e(0x1da)](_0xf235bd=>_0xf235bd[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a[_0x39eb8e(0x387)][_0x39eb8e(0x3ef)])[_0x39eb8e(0x205)](W['map'](_0x443f32=>_0x443f32['getUnitId']())))['subscribe'](_0x211dc6=>this[_0x39eb8e(0xf1)](_0x211dc6))));}[_0x23fcf5(0x21f)](_0x5b967a){var _0x5dab82=_0x23fcf5;return this['_roomMembers']['has'](_0x5b967a)?H['of'](this[_0x5dab82(0x316)][_0x5dab82(0x11c)](_0x5b967a)):this['_roomCreated$'][_0x5dab82(0x205)](W[_0x5dab82(0x1da)](_0x1a5725=>{if(_0x1a5725===_0x5b967a)return this['_roomMembers']['get'](_0x1a5725);}));}['setCurrentUser'](_0x58a5e3){var _0x12891d=_0x23fcf5;this['_userManagerService'][_0x12891d(0x452)](_0x58a5e3);}[_0x23fcf5(0x2f8)](){var _0x3e5f70=_0x23fcf5;return this[_0x3e5f70(0x3e0)][_0x3e5f70(0x2f8)]();}[_0x23fcf5(0x155)](_0x3c10a2,_0x28c4e5){var _0x4fad6b=_0x23fcf5;let _0x4a1a7a=this[_0x4fad6b(0x316)][_0x4fad6b(0x11c)](_0x3c10a2);_0x4a1a7a||(_0x4a1a7a=new cn(),this[_0x4fad6b(0x316)][_0x4fad6b(0x2ec)](_0x3c10a2,_0x4a1a7a),this[_0x4fad6b(0x24a)][_0x4fad6b(0x275)](_0x3c10a2)),_0x4a1a7a[_0x4fad6b(0x155)](_0x28c4e5);}['removeMember'](_0x24de7a,_0x535e13){var _0x27cb79=_0x23fcf5;const _0xaafc08=this['_roomMembers']['get'](_0x24de7a);_0xaafc08&&_0xaafc08[_0x27cb79(0x36d)](_0x535e13);}[_0x23fcf5(0x174)](_0x702f31){var _0x4c1303=_0x23fcf5;return this[_0x4c1303(0x316)][_0x4c1303(0x11c)](_0x702f31);}[_0x23fcf5(0x2c2)](_0x199a55,_0x32cb6a){var _0x2787ba=_0x23fcf5;const _0x108bdb=this[_0x2787ba(0x316)][_0x2787ba(0x11c)](_0x199a55);if(_0x108bdb)return _0x108bdb[_0x2787ba(0x2c2)](_0x32cb6a);}[_0x23fcf5(0xf1)](_0x6988a7){var _0x153343=_0x23fcf5;const _0x461f9b=this[_0x153343(0x316)]['get'](_0x6988a7);_0x461f9b&&(_0x461f9b[_0x153343(0x27d)](),this[_0x153343(0x316)][_0x153343(0x2bb)](_0x6988a7));}[_0x23fcf5(0x27d)](){var _0x409407=_0x23fcf5;this['_roomMembers'][_0x409407(0x28e)](_0x3245e2=>_0x3245e2[_0x409407(0x27d)]()),this['_roomMembers']['clear'](),this[_0x409407(0x24a)][_0x409407(0x410)]();}},exports[_0x23fcf5(0x24c)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x31c)]))],exports['MemberService']);class cn extends a[_0x23fcf5(0x367)]{constructor(){var _0x2925eb=_0x23fcf5;super(...arguments),D(this,_0x2925eb(0x1e7),new Map()),D(this,_0x2925eb(0x3bc),new H['BehaviorSubject'](this['_members'])),D(this,_0x2925eb(0x3da),this['_members$'][_0x2925eb(0x1cf)]());}[_0x23fcf5(0x27d)](){var _0x41499b=_0x23fcf5;this[_0x41499b(0x1e7)][_0x41499b(0x3ff)]();}['updateMember'](_0x244d05){var _0x517823=_0x23fcf5;this[_0x517823(0x1e7)][_0x517823(0x2ec)](_0x244d05[_0x517823(0x2d0)],_0x244d05),this[_0x517823(0x400)]();}[_0x23fcf5(0x36d)](_0x24d96d){this['_members']['delete'](_0x24d96d);}[_0x23fcf5(0x2c2)](_0x26c12e){var _0x7de5b9=_0x23fcf5;return this['_members'][_0x7de5b9(0x11c)](_0x26c12e);}[_0x23fcf5(0x1bd)](){var _0x367b06=_0x23fcf5;return Array[_0x367b06(0x206)](this[_0x367b06(0x1e7)][_0x367b06(0x2bf)]());}[_0x23fcf5(0x400)](){var _0x59590e=_0x23fcf5;this[_0x59590e(0x3bc)][_0x59590e(0x275)](this[_0x59590e(0x1e7)]);}}var hn=Object[_0x23fcf5(0x14d)],ln=Object['getOwnPropertyDescriptor'],_n=(_0x235d34,_0x50d561,_0x54411c,_0x581e1a)=>{var _0x43165f=_0x23fcf5;for(var _0x50f743=_0x581e1a>0x1?void 0x0:_0x581e1a?ln(_0x50d561,_0x54411c):_0x50d561,_0x554b2b=_0x235d34[_0x43165f(0x358)]-0x1,_0x56f638;_0x554b2b>=0x0;_0x554b2b--)(_0x56f638=_0x235d34[_0x554b2b])&&(_0x50f743=(_0x581e1a?_0x56f638(_0x50d561,_0x54411c,_0x50f743):_0x56f638(_0x50f743))||_0x50f743);return _0x581e1a&&_0x50f743&&hn(_0x50d561,_0x54411c,_0x50f743),_0x50f743;},oe=(_0x2616df,_0x3fb6b4)=>(_0x8ec92e,_0x2e0a83)=>_0x3fb6b4(_0x8ec92e,_0x2e0a83,_0x2616df),se=(_0x2e42fb=>(_0x2e42fb[_0x2e42fb[_0x23fcf5(0x273)]=0x0]=_0x23fcf5(0x273),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x13c)]=0x1]=_0x23fcf5(0x13c),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x429)]=0x2]=_0x23fcf5(0x429),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x1dd)]=0x3]=_0x23fcf5(0x1dd),_0x2e42fb))(se||{});const qe={[he[_0x23fcf5(0x444)]]:_0x23fcf5(0x34f),[he[_0x23fcf5(0x38f)]]:_0x23fcf5(0x335),[he[_0x23fcf5(0x29d)]]:_0x23fcf5(0x27f),[he[_0x23fcf5(0x243)]]:_0x23fcf5(0x411),[he[_0x23fcf5(0x3c0)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x1810ad,_0x265010,_0x1bcb5c,_0x4e975a,_0x9f6762,_0x54a461,_0x1aa219,_0x52128b,_0x2fe205){var _0x48779a=_0x23fcf5;super(),D(this,_0x48779a(0x165),new H[(_0x48779a(0x413))](0x0)),D(this,_0x48779a(0x164),this['_sessionStatus$'][_0x48779a(0x1cf)]()),D(this,'_event$',new H[(_0x48779a(0x227))]()),D(this,_0x48779a(0x3d4),this[_0x48779a(0x451)]['asObservable']()),D(this,'_socket'),D(this,_0x48779a(0x347)),D(this,_0x48779a(0x1f2)),D(this,_0x48779a(0x3a2),!0x1),D(this,_0x48779a(0x344),null),(this[_0x48779a(0x422)]=_0x1810ad,this['_logService']=_0x1bcb5c,this[_0x48779a(0x194)]=_0x4e975a,this[_0x48779a(0x3b2)]=_0x9f6762,this[_0x48779a(0x379)]=_0x54a461,this['_commentService']=_0x1aa219,this[_0x48779a(0x359)]=_0x52128b,this[_0x48779a(0x19d)]=_0x2fe205,this['_shouldReportTelemetry']=!!this[_0x48779a(0x19d)],_0x265010[_0x48779a(0x205)](H[_0x48779a(0x32d)](this['dispose$']))[_0x48779a(0x332)](_0x12a951=>{var _0x36c9f0=_0x48779a,_0x51b13f;typeof _0x12a951>'u'||(this[_0x36c9f0(0x3ca)]=_0x12a951,_0x12a951?(this['_joinRoom'](_0x12a951),this['_socketMessageSubscription']=_0x12a951[_0x36c9f0(0x31e)][_0x36c9f0(0x332)](_0xc69217=>{var _0x2ae1d5=_0x36c9f0;_0xc69217['routeKey']===this[_0x2ae1d5(0x422)]&&this['_onCombEvent'](_0xc69217);})):(this[_0x36c9f0(0x431)](),this[_0x36c9f0(0x165)]['next'](0x2),(_0x51b13f=this[_0x36c9f0(0x347)])==null||_0x51b13f[_0x36c9f0(0x2a9)](),this[_0x36c9f0(0x347)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x23fcf5(0x3fb)](){var _0x3ca218=_0x23fcf5,_0x24f9dd,_0x548e26;return(_0x548e26=(_0x24f9dd=this['_socket'])==null?void 0x0:_0x24f9dd[_0x3ca218(0x2d0)])!=null?_0x548e26:null;}[_0x23fcf5(0x27d)](){var _0x3e0297=_0x23fcf5;super[_0x3e0297(0x27d)](),this['dispose$']['next'](),this['dispose$'][_0x3e0297(0x410)]();}[_0x23fcf5(0x2b9)](){var _0x412655=_0x23fcf5,_0x1700a1,_0x4d25b2;this[_0x412655(0x431)](),(_0x1700a1=this[_0x412655(0x3ca)])==null||_0x1700a1[_0x412655(0x2b3)]({'cmd':G[_0x412655(0x385)],'data':{'roomID':this[_0x412655(0x422)]}}),(_0x4d25b2=this[_0x412655(0x3ca)])==null||_0x4d25b2['close'](),this[_0x412655(0x451)][_0x412655(0x410)](),this[_0x412655(0x165)][_0x412655(0x410)](),this['dispose']();}[_0x23fcf5(0x180)](_0x54a4fe){var _0x189822=_0x23fcf5;_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x209)]?this[_0x189822(0x276)](_0x54a4fe):_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x14e)]&&this[_0x189822(0x1d2)](_0x54a4fe);}[_0x23fcf5(0x3f9)](_0x4d3273){var _0x3c98d6=_0x23fcf5;this['_sessionStatus$']['next'](0x1),_0x4d3273[_0x3c98d6(0x2b3)]({'cmd':G[_0x3c98d6(0x209)],'routeKey':this[_0x3c98d6(0x422)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c98d6(0x422)]}]}});}[_0x23fcf5(0x276)](_0x579ccf){var _0x41dbe2=_0x23fcf5,_0x2d126a;if(_0x579ccf[_0x41dbe2(0x22d)]in qe){this[_0x41dbe2(0x359)][_0x41dbe2(0x427)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x579ccf[_0x41dbe2(0x22d)]]}),this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x2);return;}this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x3);const _0x443ef8=(_0x2d126a=_0x579ccf[_0x41dbe2(0x406)][_0x41dbe2(0x3cf)][this[_0x41dbe2(0x422)]])==null?void 0x0:_0x2d126a[_0x41dbe2(0x32f)];_0x443ef8&&_0x443ef8[_0x41dbe2(0x28e)](_0x5ca463=>this[_0x41dbe2(0x379)][_0x41dbe2(0x155)](this[_0x41dbe2(0x422)],_0x5ca463));}[_0x23fcf5(0x1d2)](_0x46c8f5){var _0x43770e=_0x23fcf5;try{const _0x489352=_0x46c8f5[_0x43770e(0x406)];switch(_0x489352[_0x43770e(0x21b)]){case m[_0x43770e(0x2b5)][_0x43770e(0x1c5)]:this['_onUserJoin'](_0x489352),this[_0x43770e(0x451)]['next'](_0x489352);break;case m['CollaborationEvent'][_0x43770e(0x16e)]:this['_onUserLeave'](_0x489352),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x3d5)]:case m[_0x43770e(0x2b5)]['CHANGESET_SHOULD_RETRY']:this[_0x43770e(0x282)](),this[_0x43770e(0x1cb)](),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0xfd)]:this[_0x43770e(0x447)][_0x43770e(0x39b)](_0x43770e(0x35b)+JSON[_0x43770e(0x19e)](_0x489352)),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x10e)]:this[_0x43770e(0x265)][_0x43770e(0x123)](_0x489352[_0x43770e(0x406)]),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;default:this[_0x43770e(0x451)]['next'](_0x489352);}}catch(_0x708b09){this['_logService'][_0x43770e(0x39b)](_0x708b09,_0x46c8f5);}}[_0x23fcf5(0x114)](_0x2b2ae9){var _0x186301=_0x23fcf5;this[_0x186301(0x379)][_0x186301(0x155)](this[_0x186301(0x422)],_0x2b2ae9[_0x186301(0x406)]);}['_onUserLeave'](_0x31af15){var _0x1f9c6e=_0x23fcf5;this[_0x1f9c6e(0x379)][_0x1f9c6e(0x36d)](this['_unitID'],_0x31af15[_0x1f9c6e(0x406)][_0x1f9c6e(0x2d0)]);}async[_0x23fcf5(0x2b3)](_0x3bbb5f,_0xd9e6a9){var _0x22d4b6=_0x23fcf5;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x22d4b6(0x3de));try{_0x3bbb5f[_0x22d4b6(0x21b)]===m['CollaborationEvent'][_0x22d4b6(0x1c1)]&&(this[_0x22d4b6(0x24d)](),this[_0x22d4b6(0x267)](_0x3bbb5f)),this[_0x22d4b6(0x3ca)][_0x22d4b6(0x2b3)]({'cmd':G['INGEST'],'routeKey':_0xd9e6a9,'routeType':'','data':_0x3bbb5f});}catch(_0x29f088){this[_0x22d4b6(0x447)]['error'](_0x29f088);}}[_0x23fcf5(0x24d)](){var _0x934cf0=_0x23fcf5,_0x55b718;this[_0x934cf0(0x1f2)]=setTimeout(()=>{var _0x1eae59=_0x934cf0;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1eae59(0x427)]({'id':Q[_0x1eae59(0x23b)]});},(_0x55b718=this[_0x934cf0(0x194)][_0x934cf0(0x3d1)](He))!=null?_0x55b718:gt);}[_0x23fcf5(0x1cb)](){var _0x329adc=_0x23fcf5;this[_0x329adc(0x1f2)]&&(clearTimeout(this[_0x329adc(0x1f2)]),this[_0x329adc(0x1f2)]=null);}[_0x23fcf5(0x267)](_0x125213){var _0x49a757=_0x23fcf5;if(!this['_shouldReportTelemetry'])return;const {data:_0x117fb6}=_0x125213,{unitID:_0xe754f1,changeset:_0x3740a6}=_0x117fb6,{mutations:_0x1aacb8,type:_0x327cb3}=_0x3740a6;this[_0x49a757(0x344)]={'unitId':_0xe754f1,'type':_0x327cb3,'startTime':performance[_0x49a757(0x392)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x1aacb8)};}[_0x23fcf5(0x282)](){var _0x58c22e=_0x23fcf5;if(this[_0x58c22e(0x3a2)]){if(!this[_0x58c22e(0x344)]){this[_0x58c22e(0x447)][_0x58c22e(0x39b)](_0x58c22e(0x204),_0x58c22e(0x22a));return;}this[_0x58c22e(0x344)][_0x58c22e(0x147)]=performance['now'](),this[_0x58c22e(0x344)][_0x58c22e(0x3cd)]=this[_0x58c22e(0x344)][_0x58c22e(0x147)]-this[_0x58c22e(0x344)][_0x58c22e(0x318)],this[_0x58c22e(0x19d)][_0x58c22e(0x18d)](nn,this[_0x58c22e(0x344)]),this['_telemetryInfo']=null;}}[_0x23fcf5(0x431)](){var _0x27ffd0=_0x23fcf5;this[_0x27ffd0(0x344)]=null;}},exports[_0x23fcf5(0xeb)]=_n([oe(0x2,a[_0x23fcf5(0x21d)]),oe(0x3,a[_0x23fcf5(0x17e)]),oe(0x4,a[_0x23fcf5(0x11a)](a['LocaleService'])),oe(0x5,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x24c)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x23fcf5(0x1fe)](jt[_0x23fcf5(0x1e6)]))],exports[_0x23fcf5(0xeb)]);var un=Object['defineProperty'],dn=Object[_0x23fcf5(0x291)],vn=(_0x1fdb51,_0x619d5d,_0x50354f,_0xa786cf)=>{var _0x6d012b=_0x23fcf5;for(var _0x4d638a=_0xa786cf>0x1?void 0x0:_0xa786cf?dn(_0x619d5d,_0x50354f):_0x619d5d,_0x477142=_0x1fdb51[_0x6d012b(0x358)]-0x1,_0x33c581;_0x477142>=0x0;_0x477142--)(_0x33c581=_0x1fdb51[_0x477142])&&(_0x4d638a=(_0xa786cf?_0x33c581(_0x619d5d,_0x50354f,_0x4d638a):_0x33c581(_0x4d638a))||_0x4d638a);return _0xa786cf&&_0x4d638a&&un(_0x619d5d,_0x50354f,_0x4d638a),_0x4d638a;},ae=(_0x2c8913,_0x585e7a)=>(_0x3da7b6,_0x82db32)=>_0x585e7a(_0x3da7b6,_0x82db32,_0x2c8913);exports[_0x23fcf5(0x3a9)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x9e2e42,_0x5e79b0,_0x5c932b,_0x3182be,_0x8e0134,_0x4bd51c,_0x465574){var _0x57788d=_0x23fcf5;super(),D(this,_0x57788d(0x1ce),new H[(_0x57788d(0x413))](void 0x0)),D(this,'socket$',this[_0x57788d(0x1ce)]['asObservable']()),D(this,_0x57788d(0x330),null),D(this,_0x57788d(0x2bd),new Map()),D(this,_0x57788d(0x312),new H[(_0x57788d(0x413))](se[_0x57788d(0x273)])),D(this,'status$',this['_status$'][_0x57788d(0x1cf)]()),D(this,_0x57788d(0x1b8),!0x1),D(this,_0x57788d(0x14a)),D(this,_0x57788d(0x43b),0x0),D(this,_0x57788d(0x20c)),D(this,_0x57788d(0x19c)),(this[_0x57788d(0x305)]=_0x9e2e42,this[_0x57788d(0x447)]=_0x5e79b0,this[_0x57788d(0x194)]=_0x5c932b,this[_0x57788d(0x161)]=_0x3182be,this[_0x57788d(0x418)]=_0x8e0134,this[_0x57788d(0x359)]=_0x4bd51c,this[_0x57788d(0x311)]=_0x465574,this['_listenToNetworkCondition']());}get[_0x23fcf5(0x3ca)](){var _0x5361fc=_0x23fcf5;return this[_0x5361fc(0x1ce)][_0x5361fc(0x1b4)]();}[_0x23fcf5(0x260)](){var _0x13ad86=_0x23fcf5;this['_networkConditionService']&&this[_0x13ad86(0x31b)](this['_networkConditionService'][_0x13ad86(0x317)][_0x13ad86(0x332)](_0xf68a5c=>{var _0x2c7526=_0x13ad86;_0xf68a5c&&!this[_0x2c7526(0x3ca)]&&this[_0x2c7526(0x2c8)](),_0xf68a5c||this[_0x2c7526(0x384)]();}));}['dispose'](){var _0x2083b5=_0x23fcf5;super[_0x2083b5(0x27d)](),this[_0x2083b5(0x2bd)]['forEach'](_0x45869f=>_0x45869f[_0x2083b5(0x27d)]()),this[_0x2083b5(0x2bd)][_0x2083b5(0x3ff)](),this[_0x2083b5(0x312)][_0x2083b5(0x410)]();}async['requireSession'](_0x2991cf){var _0xbcb2ab=_0x23fcf5;if(this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2fa)](_0x2991cf))return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x11c)](_0x2991cf);this[_0xbcb2ab(0x324)]();const _0x9adcf8=this[_0xbcb2ab(0x305)][_0xbcb2ab(0x41d)](exports[_0xbcb2ab(0xeb)],_0x2991cf,this[_0xbcb2ab(0x1ce)][_0xbcb2ab(0x1cf)]());return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2ec)](_0x2991cf,_0x9adcf8),_0x9adcf8;}[_0x23fcf5(0x1f6)](_0x6a121f){var _0x59dd43=_0x23fcf5,_0x34d7e7;const _0x33366c=this[_0x59dd43(0x2bd)][_0x59dd43(0x11c)](_0x6a121f);_0x33366c&&(this['_sessions'][_0x59dd43(0x2bb)](_0x6a121f),_0x33366c[_0x59dd43(0x2b9)]()),this[_0x59dd43(0x2bd)][_0x59dd43(0xf3)]||(_0x34d7e7=this[_0x59dd43(0x3ca)])==null||_0x34d7e7['close']();}['reconnect'](){var _0x289c67=_0x23fcf5;this[_0x289c67(0x43b)]=0x0,this[_0x289c67(0x14a)]!=null&&(clearTimeout(this[_0x289c67(0x14a)]),this['_retryConnectingTimer']=null),this[_0x289c67(0x108)]();}async[_0x23fcf5(0x280)](){var _0x1c17e1=_0x23fcf5,_0x5bf794,_0xd746b0,_0xa80fe6;const _0x106d70=this[_0x1c17e1(0x194)]['getConfig'](Y),_0x21e6de=(_0x5bf794=_0x106d70==null?void 0x0:_0x106d70[_0x1c17e1(0x378)])!=null?_0x5bf794:Ft;return(_0xa80fe6=(_0xd746b0=(await this[_0x1c17e1(0x418)][_0x1c17e1(0x11c)](_0x21e6de,{'headers':{'Content-Type':_0x1c17e1(0x29b)}}))[_0x1c17e1(0x3b1)])==null?void 0x0:_0xd746b0[_0x1c17e1(0x426)])!=null?_0xa80fe6:'';}[_0x23fcf5(0x10d)](_0x50bc4a){var _0x18f1e7=_0x23fcf5,_0x7d7781,_0x1ac216;const _0xff38d8=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](St),_0x53a626=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](Y),_0x394a7b=(_0x1ac216=(_0x7d7781=_0x53a626==null?void 0x0:_0x53a626[_0x18f1e7(0x16a)])!=null?_0x7d7781:_0xff38d8)!=null?_0x1ac216:pt,_0x535781=typeof window>'u'?new URL(_0x394a7b):new URL(_0x394a7b,window[_0x18f1e7(0x188)][_0x18f1e7(0x270)]);_0x535781[_0x18f1e7(0x261)][_0x18f1e7(0x2ec)](_0x18f1e7(0x120),_0x50bc4a);const _0x5eda1e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x18f1e7(0x188)][_0x18f1e7(0x1e9)]);return _0x5eda1e['get'](_0x18f1e7(0x10c))&&_0x535781['searchParams'][_0x18f1e7(0x2ec)](_0x18f1e7(0x10c),_0x5eda1e[_0x18f1e7(0x11c)](_0x18f1e7(0x10c))),_0x535781['toString']();}async['_createSocket'](){var _0x4acec9=_0x23fcf5;const _0x52d708=await this[_0x4acec9(0x280)](),_0x44e431=this[_0x4acec9(0x10d)](_0x52d708),_0x49dc9f=this[_0x4acec9(0x161)][_0x4acec9(0x1e4)](_0x44e431);return this[_0x4acec9(0x330)]=_0x49dc9f,_0x49dc9f;}async['_tryEnsureSocket'](){var _0x3a013c=_0x23fcf5,_0x521fdb,_0x3c2c6b;try{const _0x4ba378=(_0x3c2c6b=(_0x521fdb=this[_0x3a013c(0x3ca)])!=null?_0x521fdb:this[_0x3a013c(0x330)])!=null?_0x3c2c6b:await this[_0x3a013c(0x2ac)]();if(_0x4ba378){const _0x475745=_0x4ba378[_0x3a013c(0x2b3)];_0x4ba378[_0x3a013c(0x2b3)]=_0x37b555=>(this[_0x3a013c(0x124)](),_0x475745[_0x3a013c(0x223)](_0x4ba378,[_0x37b555])),_0x4ba378['message$'][_0x3a013c(0x332)](_0x504f6f=>this[_0x3a013c(0x383)](_0x4ba378,_0x504f6f)),_0x4ba378[_0x3a013c(0x38a)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))['subscribe'](_0xc4a1cf=>this[_0x3a013c(0x447)]['error'](_0x3a013c(0x2ca),_0xc4a1cf)),_0x4ba378[_0x3a013c(0x159)]['pipe'](W['take'](0x1))['subscribe'](()=>{var _0xfab351=_0x3a013c;this[_0xfab351(0x24f)](_0x4ba378);}),_0x4ba378[_0x3a013c(0x18c)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))[_0x3a013c(0x332)](_0x4a8271=>{var _0x2c4882=_0x3a013c;this[_0x2c4882(0x447)][_0x2c4882(0x44f)](_0x2c4882(0x3bb),_0x2c4882(0x23a),_0x4a8271),this[_0x2c4882(0x3eb)]();});}}catch(_0x558e79){this[_0x3a013c(0x447)][_0x3a013c(0x39b)](_0x558e79),this[_0x3a013c(0x3eb)]();}}[_0x23fcf5(0x24f)](_0x1c7678){var _0x1b3721=_0x23fcf5;this[_0x1b3721(0x447)]['debug'](_0x1b3721(0x3bb),_0x1b3721(0x448)),_0x1c7678[_0x1b3721(0x2b3)]({'cmd':G[_0x1b3721(0x455)]}),this[_0x1b3721(0x124)]();}[_0x23fcf5(0x384)](){var _0x2c906e=_0x23fcf5;this[_0x2c906e(0x1b8)]=!0x1,this[_0x2c906e(0x330)]=null,this['_status$'][_0x2c906e(0x275)](se[_0x2c906e(0x429)]),this['_socket$'][_0x2c906e(0x275)](null),this[_0x2c906e(0x224)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x4ed80b=_0x23fcf5,_0x59c72e;this[_0x4ed80b(0x384)](),this['_retryCount']<((_0x59c72e=this[_0x4ed80b(0x194)]['getConfig'](It))!=null?_0x59c72e:Vt)?(this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x1fc)]}),this[_0x4ed80b(0x108)]()):this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x141)]});}[_0x23fcf5(0x108)](){var _0x23168f=_0x23fcf5,_0x20e6d2;const _0x11112b=this[_0x23168f(0x43b)],_0x23c2e5=this[_0x23168f(0x194)][_0x23168f(0x3d1)](Y),_0x5b6775=_0x11112b===0x0?0x0:((_0x20e6d2=_0x23c2e5==null?void 0x0:_0x23c2e5['retryConnectingInterval'])!=null?_0x20e6d2:Gt)*0x2**_0x11112b;this[_0x23168f(0x14a)]=setTimeout(()=>{var _0x538db6=_0x23168f;clearTimeout(this[_0x538db6(0x14a)]),this[_0x538db6(0x14a)]=null,this['_tryEnsureSocket']();},_0x5b6775),this[_0x23168f(0x43b)]+=0x1;}[_0x23fcf5(0x383)](_0x102edb,_0x29174f){var _0x5e1af6=_0x23fcf5;const {cmd:_0x19ac38}=_0x29174f;_0x19ac38===G[_0x5e1af6(0x455)]&&!this[_0x5e1af6(0x1b8)]&&(_0x102edb['memberID']=_0x29174f[_0x5e1af6(0x406)][_0x5e1af6(0x2d0)],this[_0x5e1af6(0x1ce)][_0x5e1af6(0x275)](_0x102edb),this[_0x5e1af6(0x312)][_0x5e1af6(0x275)](se[_0x5e1af6(0x1dd)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x19ac38===G[_0x5e1af6(0x2c4)]&&this[_0x5e1af6(0x224)](),this[_0x5e1af6(0x124)]();}['_rescheduleHeartbeat'](){var _0x53e5db=_0x23fcf5,_0x48ffa2;this[_0x53e5db(0x402)](),this[_0x53e5db(0x20c)]=setTimeout(()=>this[_0x53e5db(0x152)](),(_0x48ffa2=this[_0x53e5db(0x194)][_0x53e5db(0x3d1)](mt))!=null?_0x48ffa2:Wt);}[_0x23fcf5(0x152)](){var _0x5e3469=_0x23fcf5;this['_socket'][_0x5e3469(0x2b3)]({'cmd':G[_0x5e3469(0x2c4)]}),this[_0x5e3469(0x38b)]();}[_0x23fcf5(0x38b)](){var _0x398d41=_0x23fcf5,_0x55819c;this[_0x398d41(0x19c)]=setTimeout(()=>this[_0x398d41(0x3eb)](),(_0x55819c=this[_0x398d41(0x194)][_0x398d41(0x3d1)](He))!=null?_0x55819c:gt);}['_clearHeartbeatTimer'](){var _0x512f16=_0x23fcf5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x512f16(0x20c)]),this[_0x512f16(0x20c)]=null);}[_0x23fcf5(0x224)](){var _0x1195e5=_0x23fcf5;this[_0x1195e5(0x19c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1195e5(0x19c)]=null);}},exports[_0x23fcf5(0x3a9)]=vn([ae(0x0,a['Inject'](a[_0x23fcf5(0x368)])),ae(0x1,a[_0x23fcf5(0x21d)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),ae(0x5,a[_0x23fcf5(0x11a)](te)),ae(0x6,a[_0x23fcf5(0x1fe)](Rt))],exports[_0x23fcf5(0x3a9)]);const V=[];for(let r=0x0;r<0x100;++r)V['push']((r+0x100)[_0x23fcf5(0x43f)](0x10)[_0x23fcf5(0x13d)](0x1));function fn(_0x5119be,_0x18ab38=0x0){return(V[_0x5119be[_0x18ab38+0x0]]+V[_0x5119be[_0x18ab38+0x1]]+V[_0x5119be[_0x18ab38+0x2]]+V[_0x5119be[_0x18ab38+0x3]]+'-'+V[_0x5119be[_0x18ab38+0x4]]+V[_0x5119be[_0x18ab38+0x5]]+'-'+V[_0x5119be[_0x18ab38+0x6]]+V[_0x5119be[_0x18ab38+0x7]]+'-'+V[_0x5119be[_0x18ab38+0x8]]+V[_0x5119be[_0x18ab38+0x9]]+'-'+V[_0x5119be[_0x18ab38+0xa]]+V[_0x5119be[_0x18ab38+0xb]]+V[_0x5119be[_0x18ab38+0xc]]+V[_0x5119be[_0x18ab38+0xd]]+V[_0x5119be[_0x18ab38+0xe]]+V[_0x5119be[_0x18ab38+0xf]])['toLowerCase']();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x5270ce=_0x23fcf5;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5270ce(0x17f));Pe=crypto[_0x5270ce(0x171)]['bind'](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x23fcf5(0x215)]&&crypto[_0x23fcf5(0x215)][_0x23fcf5(0x288)](crypto),ze={'randomUUID':mn};function gn(_0x1b560a,_0xb7c0ad,_0x463a90){var _0x45f352=_0x23fcf5,_0x4866c2,_0x40f739,_0x44553e;if(ze[_0x45f352(0x215)]&&!_0x1b560a)return ze[_0x45f352(0x215)]();_0x1b560a=_0x1b560a||{};const _0x29df26=(_0x44553e=(_0x40f739=_0x1b560a[_0x45f352(0x1d3)])!=null?_0x40f739:(_0x4866c2=_0x1b560a[_0x45f352(0x36f)])==null?void 0x0:_0x4866c2[_0x45f352(0x2d3)](_0x1b560a))!=null?_0x44553e:pn();if(_0x29df26[_0x45f352(0x358)]<0x10)throw new Error(_0x45f352(0x363));return _0x29df26[0x6]=_0x29df26[0x6]&0xf|0x40,_0x29df26[0x8]=_0x29df26[0x8]&0x3f|0x80,fn(_0x29df26);}const z=a[_0x23fcf5(0xec)]('collaboration-client.local-cache-service');function In(_0x1dbd97){var _0x56805d=_0x23fcf5;return _0x56805d(0x300)+_0x1dbd97;}var En=Object['defineProperty'],Cn=Object[_0x23fcf5(0x291)],Tn=(_0x5a03d9,_0x3e7d4c,_0x5564c9,_0x4417c6)=>{var _0x1bddb1=_0x23fcf5;for(var _0x5e1790=_0x4417c6>0x1?void 0x0:_0x4417c6?Cn(_0x3e7d4c,_0x5564c9):_0x3e7d4c,_0x470981=_0x5a03d9[_0x1bddb1(0x358)]-0x1,_0x28bce5;_0x470981>=0x0;_0x470981--)(_0x28bce5=_0x5a03d9[_0x470981])&&(_0x5e1790=(_0x4417c6?_0x28bce5(_0x3e7d4c,_0x5564c9,_0x5e1790):_0x28bce5(_0x5e1790))||_0x5e1790);return _0x4417c6&&_0x5e1790&&En(_0x3e7d4c,_0x5564c9,_0x5e1790),_0x5e1790;},De=(_0x123d71,_0x31d52f)=>(_0x1594bd,_0x4b6ea2)=>_0x31d52f(_0x1594bd,_0x4b6ea2,_0x123d71);function bn(_0x1675b1){var _0x7b8cbf=_0x23fcf5;const {unitID:_0x96e0ad,mutations:_0x20773c}=_0x1675b1;return{'unitId':_0x96e0ad,'subUnitId':_0x20773c[0x0][_0x7b8cbf(0x1fa)][_0x7b8cbf(0x3ac)]};}exports[_0x23fcf5(0x30b)]=class{constructor(_0xd26827,_0x13f329,_0x219541){var _0x41c46b=_0x23fcf5;this[_0x41c46b(0x305)]=_0xd26827,this[_0x41c46b(0x453)]=_0x13f329,this['_instanceService']=_0x219541;}[_0x23fcf5(0x254)](_0x3aa7cc){var _0x587cc2=_0x23fcf5,_0x1b8c50,_0x5487ad,_0x28f79a,_0x43b9b8;const _0x2b46ae=this[_0x587cc2(0x305)][_0x587cc2(0x11c)](J[_0x587cc2(0x151)]),{unitId:_0x36b244,subUnitId:_0x32bcfd}=bn(_0x3aa7cc),_0x17210d=_0x2b46ae==null?void 0x0:_0x2b46ae[_0x587cc2(0x2dc)](_0x36b244)['getCurrentSelections'](),_0x425317=(_0x5487ad=(_0x1b8c50=this[_0x587cc2(0x423)][_0x587cc2(0x216)](_0x36b244))==null?void 0x0:_0x1b8c50['getActiveSheet']())==null?void 0x0:_0x5487ad['getSheetId']();if(_0x17210d['length']===0x0||!_0x36b244||!_0x32bcfd)return;const _0x18e59c=[{'id':J['SetSelectionsOperation']['id'],'params':{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':a[_0x587cc2(0x38d)][_0x587cc2(0x283)](_0x17210d)}}],_0x2d503a=this[_0x587cc2(0x453)][_0x587cc2(0x2cb)](_0x3aa7cc,_0x18e59c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2d503a))throw _0x2d503a[_0x587cc2(0x39b)];const _0x279a5e=(_0x43b9b8=(_0x28f79a=_0x2d503a[_0x587cc2(0x22c)][0x0])==null?void 0x0:_0x28f79a[_0x587cc2(0x1fa)])==null?void 0x0:_0x43b9b8[_0x587cc2(0x185)];if(Array[_0x587cc2(0x3ed)](_0x279a5e)&&_0x279a5e[_0x587cc2(0x358)]){if(_0x279a5e['length']===_0x18e59c[0x0][_0x587cc2(0x1fa)][_0x587cc2(0x185)]['length']&&_0x279a5e[_0x587cc2(0x107)]((_0xa6693e,_0x2a2cbe)=>a[_0x587cc2(0x445)]['equals'](_0xa6693e[_0x587cc2(0x41c)],_0x18e59c[0x0][_0x587cc2(0x1fa)]['selections'][_0x2a2cbe][_0x587cc2(0x41c)])))return;this[_0x587cc2(0x305)][_0x587cc2(0x11c)](a[_0x587cc2(0x229)])[_0x587cc2(0x44a)](J[_0x587cc2(0x40c)]['id'],{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':_0x279a5e});}}},exports[_0x23fcf5(0x30b)]=Tn([De(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),De(0x1,m[_0x23fcf5(0x1e5)]),De(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x30b)]);const ve=a[_0x23fcf5(0xec)](_0x23fcf5(0x104));var Fe=(_0x3e70a8=>(_0x3e70a8[_0x3e70a8['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3e70a8[_0x3e70a8[_0x23fcf5(0x2b4)]=0x1]='OTHER_CLIENTS_EDITING',_0x3e70a8))(Fe||{});const Rn=new Set([J['InsertSheetMutation']['id']]);function Je(_0x5a3043,_0x36f5a8,_0x12c3ea,_0xb73d11,_0x57bcbe){var _0x249ca9=_0x23fcf5,_0x32c4cc,_0x5b6aaf,_0x1fa51c,_0xc6a7a4;const _0xacd34c=[];for(const _0x5955ff of _0x5a3043)if(Rn[_0x249ca9(0x2fa)](_0x5955ff['id'])){if(_0xacd34c[_0x249ca9(0x358)]>0x0)break;_0xacd34c[_0x249ca9(0x228)](_0x5955ff);break;}else _0xacd34c[_0x249ca9(0x228)](_0x5955ff);const _0x18b91e=(_0x5b6aaf=(_0x32c4cc=_0x57bcbe[_0x249ca9(0x2f8)]())==null?void 0x0:_0x32c4cc[_0x249ca9(0x2b2)])!=null?_0x5b6aaf:_0x249ca9(0x195),_0x21ee05=(_0xc6a7a4=(_0x1fa51c=_0x57bcbe['getCurrentUser']())==null?void 0x0:_0x1fa51c[_0x249ca9(0x2d0)])!=null?_0xc6a7a4:_0x249ca9(0x195);return{'changeset':{'unitID':_0x36f5a8,'type':m['mapDocumentTypeToUniverType'](_0x12c3ea[_0x249ca9(0x3e8)](_0x36f5a8)),'baseRev':_0xb73d11['getCurrentRevOfUnit'](_0x36f5a8),'revision':0x0,'userID':_0x18b91e,'memberID':_0x21ee05,'mutations':_0xacd34c},'pendingMutations':_0x5a3043[_0x249ca9(0x13d)](_0xacd34c[_0x249ca9(0x358)])};}function On(_0x4a607b,_0x1788b5,_0x10440c,_0x4d993f,_0x1ebbec){var _0x1e5ffe=_0x23fcf5,_0x59dad5,_0x4e5dd9,_0x2366c1,_0x50907d;const _0xb7eb6f=[_0x4a607b[_0x1e5ffe(0x230)]((_0x3c23e5,_0xb31a1b)=>{var _0x9134b8=_0x1e5ffe,_0x2f21f1;const {id:_0x46a022}=_0x3c23e5,{id:_0x17e7c6,type:_0x2d6a14}=_0xb31a1b,_0x442dc6=(_0x2f21f1=_0x3c23e5[_0x9134b8(0x1fa)])!=null?_0x2f21f1:{'actions':null},_0x42e16e=_0xb31a1b[_0x9134b8(0x1fa)];if(_0x46a022&&_0x46a022!==_0x17e7c6)throw new Error(_0x9134b8(0x250)+_0x46a022+_0x9134b8(0x3e2)+_0x17e7c6+'.');return{..._0x3c23e5,'id':_0x17e7c6,'type':_0x2d6a14,'params':{'unitId':_0x42e16e['unitId'],'textRanges':_0x42e16e[_0x9134b8(0x36b)],'actions':a[_0x9134b8(0x3e7)][_0x9134b8(0x2e5)](_0x442dc6[_0x9134b8(0x342)],_0x42e16e['actions'])}};},{})],_0x5ce79b=(_0x4e5dd9=(_0x59dad5=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x59dad5['userID'])!=null?_0x4e5dd9:'unknown',_0x77933d=(_0x50907d=(_0x2366c1=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x2366c1[_0x1e5ffe(0x2d0)])!=null?_0x50907d:'unknown';return{'changeset':{'unitID':_0x1788b5,'type':m['mapDocumentTypeToUniverType'](_0x10440c[_0x1e5ffe(0x3e8)](_0x1788b5)),'baseRev':_0x4d993f[_0x1e5ffe(0x177)](_0x1788b5),'revision':0x0,'userID':_0x5ce79b,'memberID':_0x77933d,'mutations':_0xb7eb6f},'pendingMutations':[]};}function Nt(_0x2d792c,_0x39b60a){var _0x10f385=_0x23fcf5;const _0x46f292=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x46f292['next'](_0x39b60a),_0x2d792c),_0x46f292['asObservable']()[_0x10f385(0x205)](H[_0x10f385(0x325)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x23fcf5(0x459)]['MUTATION'],'params':{}};var Nn=Object[_0x23fcf5(0x14d)],Un=Object[_0x23fcf5(0x291)],le=(_0x365754,_0xeb2033,_0xc4e9c,_0x521fb9)=>{var _0x36b5a8=_0x23fcf5;for(var _0x53bf58=_0x521fb9>0x1?void 0x0:_0x521fb9?Un(_0xeb2033,_0xc4e9c):_0xeb2033,_0x2b277f=_0x365754[_0x36b5a8(0x358)]-0x1,_0x372bc2;_0x2b277f>=0x0;_0x2b277f--)(_0x372bc2=_0x365754[_0x2b277f])&&(_0x53bf58=(_0x521fb9?_0x372bc2(_0xeb2033,_0xc4e9c,_0x53bf58):_0x372bc2(_0x53bf58))||_0x53bf58);return _0x521fb9&&_0x53bf58&&Nn(_0xeb2033,_0xc4e9c,_0x53bf58),_0x53bf58;},A=(_0x505e07,_0x5f4682)=>(_0x345576,_0xaf5ac3)=>_0x5f4682(_0x345576,_0xaf5ac3,_0x505e07),We=(_0x52d8ad=>(_0x52d8ad[_0x23fcf5(0x319)]=_0x23fcf5(0x1de),_0x52d8ad[_0x23fcf5(0x1d7)]=_0x23fcf5(0x2ef),_0x52d8ad[_0x23fcf5(0x122)]=_0x23fcf5(0x1c7),_0x52d8ad[_0x23fcf5(0x203)]='awaiting',_0x52d8ad['AWAITING_WITH_PENDING']=_0x23fcf5(0x32a),_0x52d8ad[_0x23fcf5(0xf8)]=_0x23fcf5(0x218),_0x52d8ad['CONFLICT']=_0x23fcf5(0x25b),_0x52d8ad[_0x23fcf5(0x429)]=_0x23fcf5(0x456),_0x52d8ad))(We||{});const Ut=0xea60;class _e{constructor(_0x92ed02,_0x538410,_0xa2682e,_0x4ba514,_0x244286,_0x16781b,_0x41be0a,_0x1cc554,_0x4bd24f){var _0x12a38a=_0x23fcf5;D(this,_0x12a38a(0x13e),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x92ed02,this['type']=_0x538410,this[_0x12a38a(0x3f0)]=_0x244286,this[_0x12a38a(0x343)]=_0x16781b,this[_0x12a38a(0x1c3)]=_0x41be0a,this[_0x12a38a(0xda)]=_0x1cc554,this[_0x12a38a(0x15d)]=_0x4bd24f,this['_awaitingChangeset']=_0xa2682e,this['_pendingMutations']=_0x4ba514);}[_0x23fcf5(0x249)](_0x561040){var _0xd33ec4=_0x23fcf5;const _0x386dc4=this[_0xd33ec4(0xda)][_0xd33ec4(0x177)](this[_0xd33ec4(0x134)]);return _0x561040[_0xd33ec4(0x28d)]>_0x386dc4+0x1?(this['_handler']['onMissingChangesets']({'from':_0x386dc4,'to':_0x561040[_0xd33ec4(0x28d)]-0x1}),!0x0):!0x1;}[_0x23fcf5(0x3ba)](_0x5c7816){var _0x2ad021=_0x23fcf5;this[_0x2ad021(0x1c3)][_0x2ad021(0x41b)](this[_0x2ad021(0x134)],_0x5c7816);}['_transformSelections'](_0x796d56){var _0x49b3e7=_0x23fcf5,_0x5b1eb1,_0x35641e;(_0x35641e=(_0x5b1eb1=this[_0x49b3e7(0x3f0)])['onTransformSelections'])==null||_0x35641e[_0x49b3e7(0x2d3)](_0x5b1eb1,_0x796d56);}['_transformIMECache'](_0x32fff5){var _0x575b00=_0x23fcf5,_0x53e13d,_0x42dce3;return(_0x42dce3=(_0x53e13d=this[_0x575b00(0x3f0)])[_0x575b00(0x2d6)])==null?void 0x0:_0x42dce3[_0x575b00(0x2d3)](_0x53e13d,_0x32fff5);}[_0x23fcf5(0x30c)](_0x1e38e9){var _0x5c3eaa=_0x23fcf5,_0x17f00a,_0x846291;return(_0x846291=(_0x17f00a=this[_0x5c3eaa(0x3f0)])['onTransformState'])==null?void 0x0:_0x846291[_0x5c3eaa(0x2d3)](_0x17f00a,_0x1e38e9);}[_0x23fcf5(0x404)](_0x364a1a){var _0x4160a8=_0x23fcf5,_0xc4fe38,_0x37df2e,_0x2fca55;return(_0x2fca55=(_0x37df2e=(_0xc4fe38=this[_0x4160a8(0x3f0)])[_0x4160a8(0x145)])==null?void 0x0:_0x37df2e[_0x4160a8(0x2d3)](_0xc4fe38,_0x364a1a))!=null?_0x2fca55:_0x364a1a;}[_0x23fcf5(0x29f)](_0x4bd590){var _0x38054c=_0x23fcf5,_0x554150,_0x4ca5d3,_0x3ace52;return(_0x3ace52=(_0x4ca5d3=(_0x554150=this[_0x38054c(0x3f0)])[_0x38054c(0x334)])==null?void 0x0:_0x4ca5d3[_0x38054c(0x2d3)](_0x554150,_0x4bd590))!=null?_0x3ace52:_0x4bd590;}[_0x23fcf5(0x1a3)](_0x53bdcf){var _0x4c540e=_0x23fcf5,_0x1d9d08,_0xfb901a;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x1dc894,mutations:_0x5ec614,memberID:_0x31fd41}=_0x53bdcf,_0x114eb0=_0x5ec614[0x0]['params'][_0x4c540e(0x36b)];Array[_0x4c540e(0x3ed)](_0x114eb0)&&_0x114eb0[_0x4c540e(0x358)]>0x0&&((_0xfb901a=(_0x1d9d08=this[_0x4c540e(0x3f0)])['onSyncEditingCollabCursor'])==null||_0xfb901a[_0x4c540e(0x2d3)](_0x1d9d08,{'unitID':_0x1dc894,'memberID':_0x31fd41,'textRanges':_0x114eb0}));}}[_0x23fcf5(0x175)](){var _0x9aa18c=_0x23fcf5,_0x5e06fe;(_0x5e06fe=this[_0x9aa18c(0x15d)])==null||_0x5e06fe[_0x9aa18c(0x3dc)](this[_0x9aa18c(0x134)],this['type'],this[_0x9aa18c(0x13e)],this['_pendingMutations']);}[_0x23fcf5(0x433)](){var _0x57561f=_0x23fcf5;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x57561f(0x134)]);}[_0x23fcf5(0x11e)](){var _0x579ef0=_0x23fcf5;this[_0x579ef0(0xda)][_0x579ef0(0x2d7)](this[_0x579ef0(0x134)]);}[_0x23fcf5(0x1fd)](_0x5eb3b0){var _0x2e045b=_0x23fcf5,_0x530840;let _0x54e686=this[_0x2e045b(0x404)](_0x5eb3b0);_0x54e686=this[_0x2e045b(0x29f)](_0x54e686);const _0x247e33=a[_0x2e045b(0xdb)](_0x54e686[_0x2e045b(0x33a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x247e33[_0x2e045b(0x1b9)])throw _0x247e33[_0x2e045b(0x39b)]instanceof Error?_0x247e33[_0x2e045b(0x39b)]:new Error((_0x530840=_0x247e33[_0x2e045b(0x39b)])!=null?_0x530840:_0x2e045b(0x389));this[_0x2e045b(0x191)](_0x54e686),this['_transformStateCache'](_0x54e686),this['_transformUndoredo'](_0x5eb3b0),this[_0x2e045b(0x44e)](_0x54e686),this['_syncEditingCollabCursor'](_0x54e686),this[_0x2e045b(0x11e)]();}}exports[_0x23fcf5(0x285)]=class extends _e{constructor(_0x939e16,_0x1fc50e,_0x24a971,_0xc05faf,_0x94dfd4,_0x54d521,_0x1efab6,_0x368620,_0x55da05,_0x592c1e){var _0x5bb8a4=_0x23fcf5;super(_0x939e16,_0x1fc50e,null,[],_0x24a971,_0x1efab6,_0x54d521,_0xc05faf,_0x592c1e),D(this,_0x5bb8a4(0x2d2),_0x5bb8a4(0x2ef)),(this[_0x5bb8a4(0x305)]=_0x94dfd4,this[_0x5bb8a4(0x447)]=_0x368620,this[_0x5bb8a4(0x453)]=_0x55da05,this[_0x5bb8a4(0x360)]=_0x592c1e);}[_0x23fcf5(0x1ba)](_0x138086){var _0x323dc4=_0x23fcf5;const _0x12eee3=this['_injector'][_0x323dc4(0x41d)](exports['PendingState'],this[_0x323dc4(0x134)],this[_0x323dc4(0x21a)],[_0x138086],this[_0x323dc4(0x3f0)]);return _0x12eee3[_0x323dc4(0x2e3)](),_0x12eee3['_updateLocalCache'](),_0x12eee3;}[_0x23fcf5(0x1b2)](_0x1f8a4c){var _0x364a2d=_0x23fcf5;if(this[_0x364a2d(0x249)](_0x1f8a4c))return this[_0x364a2d(0x305)][_0x364a2d(0x41d)](exports['FetchingMissState'],this[_0x364a2d(0x134)],this[_0x364a2d(0x21a)],null,[],null,[_0x1f8a4c],this[_0x364a2d(0x3f0)]);try{const _0x45a6ed=this['_transformService'][_0x364a2d(0x2cb)](_0x1f8a4c,[yn]);if(m[_0x364a2d(0x207)](_0x45a6ed)){const {c1Prime:_0xb0542a}=_0x45a6ed;return this[_0x364a2d(0x1fd)](_0xb0542a),this;}throw _0x45a6ed[_0x364a2d(0x39b)];}catch(_0x5db16c){return this[_0x364a2d(0x447)][_0x364a2d(0x39b)](_0x5db16c),this[_0x364a2d(0x2e1)](!0x1);}}[_0x23fcf5(0x2e1)](_0x191213){var _0x3a5559=_0x23fcf5;return this[_0x3a5559(0x305)]['createInstance'](exports['ConflictState'],this[_0x3a5559(0x134)],this[_0x3a5559(0x21a)],null,[],this['_handler'],_0x191213);}['onRemoteAck'](){var _0x3aceaf=_0x23fcf5;throw new Error(_0x3aceaf(0x1cc));}['onRemoteRej'](){var _0x4768a3=_0x23fcf5;throw new Error(_0x4768a3(0xde));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x27bc06=_0x23fcf5;return this['_injector'][_0x27bc06(0x41d)](exports['OfflineState'],this[_0x27bc06(0x134)],this[_0x27bc06(0x21a)],null,[],this[_0x27bc06(0x3f0)]);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x191e69=_0x23fcf5;throw new Error(_0x191e69(0x313));}[_0x23fcf5(0x1a2)](){var _0x5d1fdd=_0x23fcf5;const _0x308eb3=this[_0x5d1fdd(0xda)][_0x5d1fdd(0x177)](this['unitID']);return this[_0x5d1fdd(0x3f0)][_0x5d1fdd(0x247)]({'from':_0x308eb3,'to':0x0}),this[_0x5d1fdd(0x305)]['createInstance'](exports[_0x5d1fdd(0x3af)],this[_0x5d1fdd(0x134)],this['type'],null,[],null,[],this['_handler']);}},exports[_0x23fcf5(0x285)]=le([A(0x3,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x2b0)]),A(0x6,a[_0x23fcf5(0x229)]),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a['Optional'](z))],exports[_0x23fcf5(0x285)]),exports[_0x23fcf5(0x2dd)]=class extends _e{constructor(_0x27b687,_0x3bb03d,_0x1d86f1,_0x15dae1,_0x2065b2,_0x4a2906,_0x5b9375,_0x216040,_0x210a41,_0x43f0b9,_0x37f418,_0x10af53,_0x485618,_0x2df673){var _0x4f8803=_0x23fcf5;super(_0x27b687,_0x3bb03d,null,_0x1d86f1,_0x15dae1,_0x210a41,_0x485618,_0x4a2906,_0x2df673),D(this,'status',_0x4f8803(0x1c7)),D(this,_0x4f8803(0x33d),null),D(this,_0x4f8803(0x432),null),(this['_injector']=_0x2065b2,this[_0x4f8803(0x379)]=_0x5b9375,this[_0x4f8803(0x447)]=_0x216040,this['_configService']=_0x43f0b9,this['_transformService']=_0x37f418,this[_0x4f8803(0x3ce)]=_0x10af53);}[_0x23fcf5(0x1ba)](_0x267996){var _0x42ea80=_0x23fcf5;return this['_pendingMutations']['push'](_0x267996),this[_0x42ea80(0x175)](),this;}['onRemoteChangeset'](_0x84f774){var _0x58e3e2=_0x23fcf5;if(this[_0x58e3e2(0x249)](_0x84f774))return this[_0x58e3e2(0x3f8)](),this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x3af)],this[_0x58e3e2(0x134)],this[_0x58e3e2(0x21a)],null,this['_pendingMutations'],null,[_0x84f774],this[_0x58e3e2(0x3f0)]);try{const _0x52b54c=this[_0x58e3e2(0x453)]['transformMutationsWithChangeset'](_0x84f774,this[_0x58e3e2(0x144)]);if(m[_0x58e3e2(0x207)](_0x52b54c)){const {c1Prime:_0xa61363,m2Prime:_0x387b5b}=_0x52b54c;this[_0x58e3e2(0x1fd)](_0xa61363);const _0x3bebf3=this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x2dd)],this[_0x58e3e2(0x134)],this['type'],_0x387b5b,this[_0x58e3e2(0x3f0)]);this[_0x58e3e2(0x3f8)]();const _0x180a29=new Date()[_0x58e3e2(0x29e)](),_0x326eb9=this['_scheduleCompleteTimestamp']?Math[_0x58e3e2(0x382)](this[_0x58e3e2(0x33d)]-_0x180a29,0x0):this[_0x58e3e2(0x1a0)]();return _0x3bebf3[_0x58e3e2(0x2e3)](_0x326eb9),_0x3bebf3;}throw _0x52b54c['error'];}catch(_0x518bbd){return this[_0x58e3e2(0x447)][_0x58e3e2(0x39b)](_0x518bbd),this['_onConflict'](!0x1);}}[_0x23fcf5(0x3fe)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x23fcf5(0x314)](){var _0x249d05=_0x23fcf5;throw new Error(_0x249d05(0x201));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x320fc8=_0x23fcf5;return this[_0x320fc8(0x3f8)](),this[_0x320fc8(0x305)][_0x320fc8(0x41d)](exports[_0x320fc8(0x2a5)],this[_0x320fc8(0x134)],this[_0x320fc8(0x21a)],null,this[_0x320fc8(0x144)],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x2e3)](_0x4ab0f6){var _0xba4e62=_0x23fcf5;const _0x852ceb=_0x4ab0f6!=null?_0x4ab0f6:this['_getSendChangesetTimeout']();this[_0xba4e62(0x33d)]=new Date()[_0xba4e62(0x29e)]()+_0x852ceb,this[_0xba4e62(0x432)]=setTimeout(()=>{var _0x3ae887=_0xba4e62;this[_0x3ae887(0x3f8)]();let _0x43500f=null;switch(this[_0x3ae887(0x21a)]){case Z[_0x3ae887(0x1b5)]:{_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this[_0x3ae887(0x379)]);break;}case Z[_0x3ae887(0x19a)]:{this[_0x3ae887(0x144)][_0x3ae887(0x107)](_0x1d377c=>_0x1d377c['id']===dt[_0x3ae887(0x1b1)]['id'])?_0x43500f=On(this['_pendingMutations'],this[_0x3ae887(0x134)],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this['_memberService']):_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this['_revisionService'],this[_0x3ae887(0x379)]);break;}default:throw new Error(_0x3ae887(0x233)+this[_0x3ae887(0x21a)]+'\x20in\x20_schedule.');}const {changeset:_0x38e520,pendingMutations:_0xfd2203}=_0x43500f;this[_0x3ae887(0x3f0)]['onSendChangeset'](_0x38e520);const _0x31af85=_0xfd2203[_0x3ae887(0x358)]?this[_0x3ae887(0x305)][_0x3ae887(0x41d)](exports['AwaitingWithPendingState'],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,_0xfd2203,this[_0x3ae887(0x3f0)],void 0x0):this['_injector']['createInstance'](exports[_0x3ae887(0x35e)],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,this[_0x3ae887(0x3f0)]);_0x31af85[_0x3ae887(0x175)](),this['_handler'][_0x3ae887(0x3b9)](this,_0x31af85);},_0x852ceb);}[_0x23fcf5(0x1a0)](){var _0x5624b6=_0x23fcf5,_0x33d244;const _0x5dad2e=this[_0x5624b6(0x194)][_0x5624b6(0x3d1)](Y);return(_0x33d244=_0x5dad2e==null?void 0x0:_0x5dad2e[_0x5624b6(0x13b)])!=null?_0x33d244:Bt;}[_0x23fcf5(0x299)](){var _0x1bc51f=_0x23fcf5;throw new Error(_0x1bc51f(0x193));}['_clearScheduledTask'](){var _0x110cdc=_0x23fcf5;this[_0x110cdc(0x432)]!=null&&(clearTimeout(this[_0x110cdc(0x432)]),this[_0x110cdc(0x432)]=null);}[_0x23fcf5(0x2e1)](_0x361175){var _0x3641ed=_0x23fcf5;return this['_clearScheduledTask'](),this['_injector'][_0x3641ed(0x41d)](exports[_0x3641ed(0x153)],this[_0x3641ed(0x134)],this['type'],null,this[_0x3641ed(0x144)],this[_0x3641ed(0x3f0)],_0x361175);}},exports[_0x23fcf5(0x2dd)]=le([A(0x4,a['Inject'](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a[_0x23fcf5(0x11a)](exports['MemberService'])),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a[_0x23fcf5(0x17e)]),A(0xa,m['ITransformService']),A(0xb,a[_0x23fcf5(0x133)]),A(0xc,a[_0x23fcf5(0x2b0)]),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['PendingState']),exports[_0x23fcf5(0x35e)]=class extends _e{constructor(_0x31fc63,_0x3dde31,_0x3bd426,_0x23a4ae,_0x415d22,_0x4f3da1,_0x259e98,_0x21c0bc,_0x3d2aee,_0x56cd0e,_0x12c6b0){var _0x2b7505=_0x23fcf5;super(_0x31fc63,_0x3dde31,_0x3bd426,[],_0x23a4ae,_0x259e98,_0x56cd0e,_0x4f3da1,_0x12c6b0),D(this,'status',_0x2b7505(0x252)),D(this,'_resendTimeout',0x0),D(this,_0x2b7505(0x377)),D(this,_0x2b7505(0x307)),(this[_0x2b7505(0x305)]=_0x415d22,this[_0x2b7505(0x447)]=_0x21c0bc,this[_0x2b7505(0x453)]=_0x3d2aee);}[_0x23fcf5(0x1ba)](_0x4780b7){var _0x5d9895=_0x23fcf5;this[_0x5d9895(0x3f8)]();const _0x30e650=this[_0x5d9895(0x305)][_0x5d9895(0x41d)](exports['AwaitingWithPendingState'],this[_0x5d9895(0x134)],this[_0x5d9895(0x21a)],this[_0x5d9895(0x13e)],[_0x4780b7],this[_0x5d9895(0x3f0)],this['_resendTimer']);return _0x30e650['_updateLocalCache'](),_0x30e650;}['onRemoteChangeset'](_0x12b94a){var _0x1ed142=_0x23fcf5;if(this[_0x1ed142(0x249)](_0x12b94a))return this[_0x1ed142(0x3f8)](),this[_0x1ed142(0x305)][_0x1ed142(0x41d)](exports[_0x1ed142(0x3af)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],this[_0x1ed142(0x13e)],[],null,[_0x12b94a],this[_0x1ed142(0x3f0)]);try{const _0x26b004=this[_0x1ed142(0x453)][_0x1ed142(0x2fd)]([_0x12b94a],[this[_0x1ed142(0x13e)]],!0x1);if(m[_0x1ed142(0x10f)](_0x26b004)){const {c1Prime:_0x391b00,c2Prime:_0x921c8b}=_0x26b004;this[_0x1ed142(0x1fd)](_0x391b00[0x0]),_0x921c8b[0x0]['baseRev']=this[_0x1ed142(0x433)](),this['_clearScheduledTask']();const _0x33f9c3=this[_0x1ed142(0x305)]['createInstance'](exports[_0x1ed142(0x35e)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],_0x921c8b[0x0],this[_0x1ed142(0x3f0)]);return _0x33f9c3['_updateLocalCache'](),_0x33f9c3;}return this[_0x1ed142(0x2e1)](!0x1);}catch(_0x38c06d){return this['_logService'][_0x1ed142(0x39b)](_0x38c06d),this[_0x1ed142(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x1186d9){var _0x3554f8=_0x23fcf5;this[_0x3554f8(0x3f8)]();const _0x324923=this[_0x3554f8(0xda)][_0x3554f8(0x177)](this[_0x3554f8(0x134)]);if(_0x1186d9[_0x3554f8(0x28d)]<_0x324923-0x1)return this;if(this[_0x3554f8(0x249)](_0x1186d9))return this[_0x3554f8(0x305)][_0x3554f8(0x41d)](exports['FetchingMissState'],this['unitID'],this[_0x3554f8(0x21a)],null,[],this[_0x3554f8(0x13e)],[],this['_handler']);this[_0x3554f8(0x11e)]();const _0x3f7847=this['_injector'][_0x3554f8(0x41d)](exports[_0x3554f8(0x285)],this['unitID'],this['type'],this['_handler']);return _0x3f7847[_0x3554f8(0x175)](),_0x3f7847;}[_0x23fcf5(0x314)](_0x2fcf23){var _0x483431=_0x23fcf5;return this[_0x483431(0x2e1)](!!(_0x2fcf23!=null&&_0x2fcf23['isPermissionRej']));}['onRemoteRetry'](_0x2c3295){var _0x2ec706=_0x23fcf5;return this['_resendTimeout']>Ut?this[_0x2ec706(0x329)]():(this[_0x2ec706(0x377)]=Nt(this[_0x2ec706(0x3ae)],{'timeout':this[_0x2ec706(0x3ae)],'reqId':_0x2c3295[_0x2ec706(0x14c)]}),this[_0x2ec706(0x307)]=this[_0x2ec706(0x377)]['subscribe'](({reqId:_0x3e58aa,timeout:_0x3780db})=>{var _0x4796bc=_0x2ec706;this[_0x4796bc(0x3b0)](_0x3e58aa,_0x3780db);}),this);}[_0x23fcf5(0x329)](){var _0x115d96=_0x23fcf5;return this[_0x115d96(0x3f8)](),this[_0x115d96(0x305)][_0x115d96(0x41d)](exports['OfflineState'],this[_0x115d96(0x134)],this[_0x115d96(0x21a)],this[_0x115d96(0x13e)],[],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x299)](){var _0x25d721=_0x23fcf5;this['_handler'][_0x25d721(0x394)](this[_0x25d721(0x13e)]);}[_0x23fcf5(0x2e1)](_0x398f98){var _0x1c1b4b=_0x23fcf5;return this[_0x1c1b4b(0x3f8)](),this[_0x1c1b4b(0x305)][_0x1c1b4b(0x41d)](exports[_0x1c1b4b(0x153)],this[_0x1c1b4b(0x134)],this[_0x1c1b4b(0x21a)],this['_awaitingChangeset'],[],this[_0x1c1b4b(0x3f0)],_0x398f98);}[_0x23fcf5(0x3b0)](_0x5cbf5c,_0x3f54dc){var _0x25060c=_0x23fcf5,_0x51db54;_0x5cbf5c===((_0x51db54=this[_0x25060c(0x13e)])==null?void 0x0:_0x51db54[_0x25060c(0x14c)])&&(this[_0x25060c(0x299)](),this[_0x25060c(0x3ae)]=_0x3f54dc===0x0?0x3e8:_0x3f54dc*0x2);}[_0x23fcf5(0x3f8)](){var _0x503477=_0x23fcf5,_0x38524a;(_0x38524a=this[_0x503477(0x307)])==null||_0x38524a[_0x503477(0x2a9)](),this[_0x503477(0x3ae)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a['ICommandService']),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a[_0x23fcf5(0x2b0)]),A(0xa,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x35e)]),exports[_0x23fcf5(0x105)]=class extends _e{constructor(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x5b85dc,_0x105939,_0x5a273c,_0x2e129e,_0x113215,_0x2082d2,_0x1e97ce,_0x17e006){var _0xb6d29b=_0x23fcf5;super(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x2e129e,_0x1e97ce,_0x5a273c,_0x17e006),D(this,_0xb6d29b(0x2d2),_0xb6d29b(0x32a)),D(this,_0xb6d29b(0x3ae),0x0),D(this,'_resendTimer'),D(this,_0xb6d29b(0x307)),(this[_0xb6d29b(0x305)]=_0x105939,this['_logService']=_0x113215,this[_0xb6d29b(0x453)]=_0x2082d2,this[_0xb6d29b(0x360)]=_0x17e006,_0x5b85dc&&(this[_0xb6d29b(0x377)]=_0x5b85dc,this['_sender']=this[_0xb6d29b(0x377)][_0xb6d29b(0x332)](({reqId:_0x13d65a,timeout:_0x4029bc})=>{var _0x5aa1e1=_0xb6d29b;this[_0x5aa1e1(0x3b0)](_0x13d65a,_0x4029bc);})));}[_0x23fcf5(0x1ba)](_0x26cf52){var _0x2e25a5=_0x23fcf5;return this[_0x2e25a5(0x144)][_0x2e25a5(0x228)](_0x26cf52),this;}[_0x23fcf5(0x1b2)](_0x27ac26){var _0x1d54bb=_0x23fcf5;if(this['_checkMissing'](_0x27ac26))return this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)]['createInstance'](exports[_0x1d54bb(0x3af)],this[_0x1d54bb(0x134)],this[_0x1d54bb(0x21a)],this['_awaitingChangeset'],this[_0x1d54bb(0x144)],null,[_0x27ac26],this[_0x1d54bb(0x3f0)]);try{const _0x43f478=this[_0x1d54bb(0x453)][_0x1d54bb(0x2fd)]([_0x27ac26],[this[_0x1d54bb(0x13e)]],!0x1);if(m[_0x1d54bb(0x10f)](_0x43f478)){const {c1Prime:_0x3f6c90,c2Prime:_0xbd53c9}=_0x43f478,_0x5c730f=this[_0x1d54bb(0x453)][_0x1d54bb(0x2cb)](_0x3f6c90[0x0],this[_0x1d54bb(0x144)]);if(m[_0x1d54bb(0x207)](_0x5c730f)){const {c1Prime:_0x3b86d0,m2Prime:_0x3a108d}=_0x5c730f;return this[_0x1d54bb(0x1fd)](_0x3b86d0),_0xbd53c9[0x0][_0x1d54bb(0x1a9)]=this[_0x1d54bb(0x433)](),this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)][_0x1d54bb(0x41d)](exports[_0x1d54bb(0x105)],this['unitID'],this[_0x1d54bb(0x21a)],_0xbd53c9[0x0],_0x3a108d,this[_0x1d54bb(0x3f0)],void 0x0);}throw _0x5c730f[_0x1d54bb(0x39b)];}throw _0x43f478['error'];}catch(_0x1ee1af){return this[_0x1d54bb(0x447)][_0x1d54bb(0x39b)](_0x1ee1af),this[_0x1d54bb(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x30aa03){var _0x39d91f=_0x23fcf5;if(this[_0x39d91f(0x3f8)](),this[_0x39d91f(0x249)](_0x30aa03))return this[_0x39d91f(0x305)][_0x39d91f(0x41d)](exports[_0x39d91f(0x3af)],this[_0x39d91f(0x134)],this[_0x39d91f(0x21a)],null,this[_0x39d91f(0x144)],this[_0x39d91f(0x13e)],[],this['_handler']);this[_0x39d91f(0x11e)]();const _0x40cdca=this['_injector']['createInstance'](exports[_0x39d91f(0x2dd)],this['unitID'],this[_0x39d91f(0x21a)],this[_0x39d91f(0x144)],this[_0x39d91f(0x3f0)]);return _0x40cdca[_0x39d91f(0x2e3)](),_0x40cdca[_0x39d91f(0x175)](),_0x40cdca;}['onRemoteRej'](_0x5c006d){var _0x3ff4b5=_0x23fcf5;return this[_0x3ff4b5(0x2e1)](!!(_0x5c006d!=null&&_0x5c006d[_0x3ff4b5(0x2de)]));}['onRemoteRetry'](_0xc3fad1){var _0x371a3f=_0x23fcf5;return this[_0x371a3f(0x3ae)]>Ut?this[_0x371a3f(0x329)]():(this[_0x371a3f(0x377)]=Nt(this[_0x371a3f(0x3ae)],{'timeout':this[_0x371a3f(0x3ae)],'reqId':_0xc3fad1[_0x371a3f(0x14c)]}),this['_sender']=this[_0x371a3f(0x377)][_0x371a3f(0x332)](({reqId:_0x4ef71a,timeout:_0x1db811})=>{var _0x33a32a=_0x371a3f;this[_0x33a32a(0x3b0)](_0x4ef71a,_0x1db811);}),this);}[_0x23fcf5(0x329)](){var _0x114565=_0x23fcf5;return this[_0x114565(0x3f8)](),this[_0x114565(0x305)]['createInstance'](exports['OfflineState'],this[_0x114565(0x134)],this[_0x114565(0x21a)],this[_0x114565(0x13e)],this['_pendingMutations'],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x5a4dfb=_0x23fcf5;this[_0x5a4dfb(0x3f0)][_0x5a4dfb(0x394)](this[_0x5a4dfb(0x13e)]);}['_onConflict'](_0x2cdc38){var _0x3f1d9f=_0x23fcf5;return this[_0x3f1d9f(0x3f8)](),this[_0x3f1d9f(0x305)][_0x3f1d9f(0x41d)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x3f1d9f(0x144)],this[_0x3f1d9f(0x3f0)],_0x2cdc38);}[_0x23fcf5(0x3b0)](_0x1f9fac,_0xa8c15d){var _0x24616e=_0x23fcf5,_0x2c5c99;_0x1f9fac===((_0x2c5c99=this[_0x24616e(0x13e)])==null?void 0x0:_0x2c5c99[_0x24616e(0x14c)])&&(this[_0x24616e(0x299)](),this[_0x24616e(0x3ae)]=_0xa8c15d===0x0?0x3e8:_0xa8c15d*0x2);}['_clearScheduledTask'](){var _0xffe432=_0x23fcf5,_0x3061e5;(_0x3061e5=this[_0xffe432(0x307)])==null||_0x3061e5[_0xffe432(0x2a9)](),this[_0xffe432(0x3ae)]=0x0;}},exports[_0x23fcf5(0x105)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x7,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a['ILogService']),A(0xa,m[_0x23fcf5(0x1e5)]),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends _e{constructor(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x30a12a=!0x1,_0x5e0acb,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0x55d0e3,_0x5c244e,_0xa018c8){var _0x52bf3e=_0x23fcf5;super(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0xa018c8),D(this,_0x52bf3e(0x2d2),_0x52bf3e(0x25b)),(this[_0x52bf3e(0x361)]=_0x30a12a,this[_0x52bf3e(0x450)]=_0x5e0acb,this[_0x52bf3e(0x3b2)]=_0x55d0e3,this['_collaborationUIEventService']=_0x5c244e,this['localCacheService']=_0xa018c8,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x52bf3e(0xdf)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x23fcf5(0x3fe)](){return this;}[_0x23fcf5(0x314)](){return this;}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){return this;}['toggleOnline'](){return this;}[_0x23fcf5(0x299)](){var _0x2f5ea6=_0x23fcf5;throw new Error(_0x2f5ea6(0x3c6));}['_clearLocalCache'](){var _0x362da0=_0x23fcf5,_0x4d9ccd;(_0x4d9ccd=this[_0x362da0(0x15d)])==null||_0x4d9ccd[_0x362da0(0x3dc)](this[_0x362da0(0x134)],this[_0x362da0(0x21a)],null,[]);}[_0x23fcf5(0xe2)](){var _0x8c2a7c=_0x23fcf5;this[_0x8c2a7c(0x361)]?this[_0x8c2a7c(0x359)]['emitEvent']({'id':Q[_0x8c2a7c(0x371)]}):this[_0x8c2a7c(0x359)][_0x8c2a7c(0x427)]({'id':Q[_0x8c2a7c(0x41f)]});}[_0x23fcf5(0xdf)](){var _0x205d27=_0x23fcf5;this[_0x205d27(0x450)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x205d27(0x134)])['id'],!0x1);}},exports[_0x23fcf5(0x153)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x28b)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](m[_0x23fcf5(0x303)])),A(0xa,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),A(0xb,a['Inject'](te)),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x153)]),exports['OfflineState']=class extends _e{constructor(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x4794db,_0x2832bc,_0x206f2d,_0x173d5e,_0x3b2d35){var _0x327e2c=_0x23fcf5;super(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x206f2d,_0x173d5e,_0x2832bc,_0x3b2d35),D(this,'status',_0x327e2c(0x456)),this[_0x327e2c(0x305)]=_0x4794db;}['appendMutation'](_0x22371d){var _0x511068=_0x23fcf5;return this[_0x511068(0x144)][_0x511068(0x228)](_0x22371d),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x21b819){var _0x314eb4=_0x23fcf5;throw new Error(_0x314eb4(0x3ab));}[_0x23fcf5(0x3fe)](){var _0x5ac14c=_0x23fcf5;throw new Error(_0x5ac14c(0x19b));}[_0x23fcf5(0x314)](){var _0x114a47=_0x23fcf5;throw new Error(_0x114a47(0x2f5));}[_0x23fcf5(0x42d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x153db7=_0x23fcf5;const {_injector:_0x249965,_pendingMutations:_0xa9bf75,_awaitingChangeset:_0x204fb7,unitID:_0x556842,_handler:_0x5251f5,type:_0x31d676}=this,_0x441f9c=Pt(_0x249965,_0x556842,_0x31d676,_0x204fb7,_0xa9bf75,_0x5251f5);return _0x441f9c instanceof exports[_0x153db7(0x2dd)]?_0x441f9c[_0x153db7(0x2e3)]():(_0x441f9c instanceof exports[_0x153db7(0x105)]||_0x441f9c instanceof exports[_0x153db7(0x35e)])&&_0x441f9c[_0x153db7(0x299)](),_0x441f9c;}[_0x23fcf5(0x299)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x23fcf5(0x2a5)]=le([A(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x23fcf5(0x1fe)](z))],exports['OfflineState']),exports[_0x23fcf5(0x3af)]=class extends _e{constructor(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0xd888fa,_0xc7157a,_0x269b85,_0x450285,_0x23dc03,_0x342261,_0x107800,_0x5cac70,_0x2aa544,_0x7b181a){var _0x4849cc=_0x23fcf5;super(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0x269b85,_0x107800,_0x5cac70,_0x23dc03,_0x7b181a),D(this,_0x4849cc(0x2d2),_0x4849cc(0x218)),(this[_0x4849cc(0x441)]=_0xd888fa,this[_0x4849cc(0x154)]=_0xc7157a,this[_0x4849cc(0x305)]=_0x450285,this[_0x4849cc(0x447)]=_0x342261,this[_0x4849cc(0x453)]=_0x2aa544,this['localCacheService']=_0x7b181a);}[_0x23fcf5(0x22b)](_0x5a0c00){var _0xff6573=_0x23fcf5;try{const _0x3c9b9f=[..._0x5a0c00,...this[_0xff6573(0x154)]],_0xdd1bce=[this['_awaitingChangeset']||this[_0xff6573(0x441)]]['filter'](_0x506c70=>!!_0x506c70);let _0x43e84c,_0x211b4c;if(_0xdd1bce[_0xff6573(0x358)]){const _0x14a55f=this['_transformService'][_0xff6573(0x2fd)](_0x3c9b9f,_0xdd1bce,!0x1);if(!m['isTransformChangesetsSuccess'](_0x14a55f))throw _0x14a55f['error'];_0x43e84c=_0x14a55f[_0xff6573(0x217)],_0x211b4c=_0x14a55f[_0xff6573(0x2db)];}else _0x43e84c=_0x3c9b9f,_0x211b4c=[];let _0x26feb1=this[_0xff6573(0x144)];_0x43e84c[_0xff6573(0x28e)](_0x380db0=>{var _0x311b1f=_0xff6573;let _0x35faa6;if(_0x26feb1['length']){const _0x214137=this[_0x311b1f(0x453)]['transformMutationsWithChangeset'](_0x380db0,_0x26feb1);if(!m[_0x311b1f(0x207)](_0x214137))throw _0x214137[_0x311b1f(0x39b)];_0x35faa6=_0x214137[_0x311b1f(0x217)],_0x26feb1=_0x214137[_0x311b1f(0x22c)];}else _0x35faa6=_0x380db0;this[_0x311b1f(0x1fd)](_0x35faa6);}),this[_0xff6573(0x441)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x211b4c[_0xff6573(0x358)]&&(_0x211b4c[0x0][_0xff6573(0x1a9)]=this[_0xff6573(0x433)]());let _0x334cb4;if(this[_0xff6573(0x13e)]&&_0x26feb1[_0xff6573(0x358)]!==0x0)_0x334cb4=this['_injector'][_0xff6573(0x41d)](exports['AwaitingWithPendingState'],this[_0xff6573(0x134)],this['type'],_0x211b4c[0x0],_0x26feb1,this[_0xff6573(0x3f0)],void 0x0);else{if(this[_0xff6573(0x13e)]&&_0x26feb1['length']===0x0)_0x211b4c[0x0]['baseRev']=this[_0xff6573(0x433)](),_0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x35e)],this['unitID'],this[_0xff6573(0x21a)],_0x211b4c[0x0],this[_0xff6573(0x3f0)]);else{if(_0x26feb1[_0xff6573(0x358)]!==0x0){const _0x23a05e=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x2dd)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],_0x26feb1,this['_handler']);_0x23a05e[_0xff6573(0x2e3)](),_0x334cb4=_0x23a05e;}else _0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x285)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x3f0)]);}}return _0x334cb4[_0xff6573(0x175)](),_0x334cb4;}catch(_0x35e258){return this[_0xff6573(0x447)]['error'](_0xff6573(0xf2),_0xff6573(0x2ee),_0x35e258),this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x153)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x13e)],this[_0xff6573(0x144)],this[_0xff6573(0x3f0)],!0x1);}}[_0x23fcf5(0x299)](){var _0x506603=_0x23fcf5;throw new Error(_0x506603(0x40d));}['appendMutation'](_0x57bda1){var _0x213338=_0x23fcf5;return this[_0x213338(0x144)]['push'](_0x57bda1),this;}[_0x23fcf5(0x1b2)](_0x361277){var _0x32befd=_0x23fcf5;return this[_0x32befd(0x154)][_0x32befd(0x228)](_0x361277),this;}[_0x23fcf5(0x3fe)](_0x184c63){var _0xb608c=_0x23fcf5;if(this['_awaitingChangeset'])return this[_0xb608c(0x441)]=this[_0xb608c(0x13e)],this[_0xb608c(0x13e)]=null,this;throw new Error(_0xb608c(0x136));}[_0x23fcf5(0x314)](_0x203701){return this['_onConflict'](!!(_0x203701!=null&&_0x203701['isPermissionRej']));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x1d7a9a=_0x23fcf5;return this['_injector'][_0x1d7a9a(0x41d)](exports[_0x1d7a9a(0x2a5)],this[_0x1d7a9a(0x134)],this[_0x1d7a9a(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d7a9a(0x3f0)]);}['toggleOnline'](){return this;}['_onConflict'](_0x596fe3){var _0x3c29e7=_0x23fcf5;return this['_injector'][_0x3c29e7(0x41d)](exports[_0x3c29e7(0x153)],this['unitID'],this[_0x3c29e7(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x596fe3);}},exports['FetchingMissState']=le([A(0x7,a[_0x23fcf5(0x11a)](a['Injector'])),A(0x8,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x9,a[_0x23fcf5(0x21d)]),A(0xa,a['ICommandService']),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,m['ITransformService']),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['FetchingMissState']);function Pt(_0x2caa34,_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a){var _0x4eafa5=_0x23fcf5;return _0x73f0c0&&_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x105)],_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a,void 0x0):_0x73f0c0?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x35e)],_0x198689,_0x2b2e80,_0x73f0c0,_0x3b289a):_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports['PendingState'],_0x198689,_0x2b2e80,_0x9ad564,_0x3b289a):_0x2caa34[_0x4eafa5(0x41d)](exports['SyncedState'],_0x198689,_0x2b2e80,_0x3b289a);}var Pn=Object[_0x23fcf5(0x14d)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xd4f24a,_0x1fe390,_0xd3d39c,_0x369d66)=>{var _0x392623=_0x23fcf5;for(var _0x2a96c9=_0x369d66>0x1?void 0x0:_0x369d66?Dn(_0x1fe390,_0xd3d39c):_0x1fe390,_0x5529ab=_0xd4f24a[_0x392623(0x358)]-0x1,_0x513cbc;_0x5529ab>=0x0;_0x5529ab--)(_0x513cbc=_0xd4f24a[_0x5529ab])&&(_0x2a96c9=(_0x369d66?_0x513cbc(_0x1fe390,_0xd3d39c,_0x2a96c9):_0x513cbc(_0x2a96c9))||_0x2a96c9);return _0x369d66&&_0x2a96c9&&Pn(_0x1fe390,_0xd3d39c,_0x2a96c9),_0x2a96c9;},k=(_0x13312e,_0x2ec911)=>(_0x1660c8,_0x302d19)=>_0x2ec911(_0x1660c8,_0x302d19,_0x13312e);exports[_0x23fcf5(0xfc)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x4e0f37,_0x201330,_0x2747b6,_0x2f05bf,_0x24db6c,_0x242904,_0x4bd6a3,_0xaa46d7,_0x3dd271,_0x33675e,_0x24ee3a,_0x1f56b9,_0xd59cbf){var _0x1b742d=_0x23fcf5;super(),D(this,_0x1b742d(0x407),new H[(_0x1b742d(0x413))](null)),D(this,_0x1b742d(0x25d),this[_0x1b742d(0x407)]['asObservable']()),D(this,_0x1b742d(0x2d5)),D(this,'_collaborationPaused',!0x1),D(this,_0x1b742d(0x39c),''),D(this,_0x1b742d(0x44b),0x0),D(this,_0x1b742d(0x3a4),this[_0x1b742d(0x25d)][_0x1b742d(0x205)](H[_0x1b742d(0x1da)](_0x46e4c2=>_0x46e4c2?_0x46e4c2[_0x1b742d(0x2d2)]:We[_0x1b742d(0x429)]),H[_0x1b742d(0x37a)](0x1))),D(this,_0x1b742d(0x189),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x1b742d(0x134)]=_0x4e0f37,this[_0x1b742d(0x2c5)]=_0x201330,this['_type']=_0x2747b6,this[_0x1b742d(0x305)]=_0x2f05bf,this[_0x1b742d(0x2ea)]=_0x24db6c,this[_0x1b742d(0x3b2)]=_0x242904,this[_0x1b742d(0xda)]=_0x4bd6a3,this['_eventService']=_0xaa46d7,this[_0x1b742d(0x447)]=_0x3dd271,this['_commandService']=_0x33675e,this[_0x1b742d(0x450)]=_0x24ee3a,this[_0x1b742d(0x32e)]=_0x1f56b9,this['_localCacheService']=_0xd59cbf);}get[_0x23fcf5(0x10b)](){var _0x250abd=_0x23fcf5;return this[_0x250abd(0x2d5)];}async['init'](){var _0x1aadce=_0x23fcf5;if(this[_0x1aadce(0x10b)])throw new Error(_0x1aadce(0xe3));await this[_0x1aadce(0x296)]();}[_0x23fcf5(0x2ae)](){var _0x4c831a=_0x23fcf5;return this[_0x4c831a(0x3d0)]=!0x0,a[_0x4c831a(0x219)](()=>{var _0x152939=_0x4c831a;this[_0x152939(0x3d0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23fcf5(0x3c5)](_0x49b400){this['_onLocalMutation'](_0x49b400);}[_0x23fcf5(0xf9)](_0x3addc6){var _0x4340aa=_0x23fcf5;this[_0x4340aa(0x2d5)]=_0x3addc6,this['_state$'][_0x4340aa(0x275)](_0x3addc6);}async[_0x23fcf5(0x296)](){var _0x19b428=_0x23fcf5,_0x4eeebb;this['_updateState'](await this[_0x19b428(0x364)]()),this['_singleActiveUnitService']&&((_0x4eeebb=this[_0x19b428(0x32e)])==null||_0x4eeebb['editingUnit'](this[_0x19b428(0x134)]),this[_0x19b428(0x31b)](this['_singleActiveUnitService'][_0x19b428(0x2f3)](this[_0x19b428(0x134)])[_0x19b428(0x332)](_0x45ad59=>{var _0x279598=_0x19b428;this[_0x279598(0x447)][_0x279598(0x44f)]('[CollaborationEntity]',_0x279598(0x425),_0x45ad59),_0x45ad59===Fe['OTHER_CLIENTS_EDITING']?(this[_0x279598(0x40e)][_0x279598(0x427)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x279598(0x3dd)](new J['WorkbookEditablePermission'](this[_0x279598(0x134)])['id'],!0x1),this[_0x279598(0x450)][_0x279598(0x3ea)](!0x1)):(this[_0x279598(0x450)][_0x279598(0x3dd)](new J[(_0x279598(0x3ee))](this[_0x279598(0x134)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ae82a=!0x1;return this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['sessionStatus$']['subscribe'](_0x450f06=>{var _0x505915=_0x19b428;_0x450f06===se[_0x505915(0x1dd)]?this[_0x505915(0x435)](_0x5ae82a):_0x450f06===se[_0x505915(0x429)]&&(_0x5ae82a=!0x0,this[_0x505915(0x321)]());})),this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['event$'][_0x19b428(0x332)](_0x3577b3=>{var _0x4f34ac=_0x19b428;try{switch(_0x3577b3['eventID']){case m['CollaborationEvent'][_0x4f34ac(0x2cc)]:{this['_onRemoteChangeset'](m[_0x4f34ac(0x1ae)](_0x3577b3[_0x4f34ac(0x406)]));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x3d5)]:{this[_0x4f34ac(0x146)](_0x3577b3['data']);break;}case m['CollaborationEvent'][_0x4f34ac(0x353)]:{this[_0x4f34ac(0x2c6)]();break;}case m[_0x4f34ac(0x2b5)]['CHANGESET_SHOULD_RETRY']:{this[_0x4f34ac(0x15b)](_0x3577b3[_0x4f34ac(0x406)]);break;}case m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4f34ac(0x130)](_0x3577b3['data']['changesets'][_0x4f34ac(0x1da)](_0x54d8b0=>m[_0x4f34ac(0x1ae)](_0x54d8b0)));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x158)]:{this[_0x4f34ac(0x2c6)]({'isPermissionRej':!0x0});break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x356)]:break;}}catch(_0x25921c){throw console['error'](_0x4f34ac(0x34e),_0x25921c),_0x25921c;}})),this[_0x19b428(0x2d5)];}[_0x23fcf5(0x1c9)](){var _0x24dec5=_0x23fcf5;this[_0x24dec5(0x189)]=!0x1;}[_0x23fcf5(0x176)](){var _0x13bcc5=_0x23fcf5;if(this[_0x13bcc5(0x189)])throw new Error(_0x13bcc5(0xed));this[_0x13bcc5(0x189)]=!0x0;}['_onLocalMutation'](_0x238e52){var _0x5366db=_0x23fcf5;this['_lockTransition'](),this[_0x5366db(0xf9)](this[_0x5366db(0x2d5)][_0x5366db(0x1ba)](_0x238e52)),this[_0x5366db(0x1c9)]();}[_0x23fcf5(0x1d5)](_0x4a7f82){var _0x3322f6=_0x23fcf5;if(!(_0x4a7f82[_0x3322f6(0x28d)]<=this[_0x3322f6(0xda)][_0x3322f6(0x177)](this[_0x3322f6(0x134)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3322f6(0x228)](_0x4a7f82);return;}this[_0x3322f6(0x3cb)](_0x4a7f82);}}[_0x23fcf5(0x26c)](){var _0x2546d7=_0x23fcf5;this[_0x2546d7(0x16c)]['forEach'](_0x598b79=>this[_0x2546d7(0x3cb)](_0x598b79)),this[_0x2546d7(0x16c)]=[];}['_applyRemoteChangeset'](_0x5b655e){var _0x443796=_0x23fcf5;const _0x4eefc4=this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x149)](this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x1d9)]()[_0x443796(0x397)])(_0x5b655e[_0x443796(0x33a)],null)||_0x5b655e[_0x443796(0x33a)],_0x106dd7={..._0x5b655e,'mutations':_0x4eefc4};this[_0x443796(0x176)](),this['_updateState'](this[_0x443796(0x2d5)][_0x443796(0x1b2)](_0x106dd7)),this[_0x443796(0x1c9)]();}[_0x23fcf5(0x146)](_0x4290be){var _0x22ec18=_0x23fcf5;this[_0x22ec18(0x176)](),this[_0x22ec18(0xf9)](this[_0x22ec18(0x2d5)]['onRemoteAck'](_0x4290be)),this[_0x22ec18(0x1c9)]();}[_0x23fcf5(0x2c6)](_0x33a129){var _0x50d22e=_0x23fcf5;this['_lockTransition'](),this[_0x50d22e(0xf9)](this[_0x50d22e(0x2d5)][_0x50d22e(0x314)](_0x33a129)),this[_0x50d22e(0x1c9)]();}['_onRemoteRetry'](_0x2e041c){var _0x31a8c5=_0x23fcf5;this[_0x31a8c5(0x176)](),this[_0x31a8c5(0xf9)](this['_state'][_0x31a8c5(0x42d)](_0x2e041c)),this[_0x31a8c5(0x1c9)]();}[_0x23fcf5(0x130)](_0x47b862){var _0x19b411=_0x23fcf5;if(!(this['_state']instanceof exports[_0x19b411(0x3af)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x10de34=_0x47b862[_0x19b411(0x1da)](_0x249caf=>{var _0x5c7405=_0x19b411;const _0x4c14b5=this[_0x5c7405(0x2ea)][_0x5c7405(0x3c8)]['fetchThroughInterceptors'](this[_0x5c7405(0x2ea)]['interceptor'][_0x5c7405(0x1d9)]()['COMPRESS_MUTATION_APPLY'])(_0x249caf['mutations'],null)||_0x249caf[_0x5c7405(0x33a)];return{..._0x249caf,'mutations':_0x4c14b5};});this[_0x19b411(0x176)](),this['_updateState'](this[_0x19b411(0x2d5)][_0x19b411(0x22b)](_0x10de34)),this['_unlockTransition']();}[_0x23fcf5(0x321)](){var _0x382750=_0x23fcf5;this[_0x382750(0x176)](),this[_0x382750(0xf9)](this['_state'][_0x382750(0x329)]()),this[_0x382750(0x1c9)]();}[_0x23fcf5(0x435)](_0x5a65dc=!0x1){var _0x3b501f=_0x23fcf5;this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](this[_0x3b501f(0x2d5)]['toggleOnline']()),this['_unlockTransition']();const _0x37ab52=this[_0x3b501f(0x2d5)];_0x5a65dc&&_0x37ab52 instanceof exports[_0x3b501f(0x285)]&&(this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](_0x37ab52[_0x3b501f(0x1a2)]()),this[_0x3b501f(0x1c9)]());}async[_0x23fcf5(0x364)](){return new Promise(_0x52cdbf=>{var _0x28a721=_0x4d81;this[_0x28a721(0x2c5)][_0x28a721(0x164)][_0x28a721(0x205)](H[_0x28a721(0x325)](0x1))[_0x28a721(0x332)](async _0x323a8d=>{var _0x264fa2=_0x28a721;_0x52cdbf(await this[_0x264fa2(0x43d)](_0x323a8d===se[_0x264fa2(0x1dd)]));});});}[_0x23fcf5(0x437)](){const _0x81c21b=this['unitID'];return{'onStateChange':(_0xd94f27,_0x3e0803)=>{var _0x5a0b7a=_0x4d81;if(_0xd94f27!==this[_0x5a0b7a(0x2d5)])throw new Error(_0x5a0b7a(0x308)+_0xd94f27[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x2ce)+_0x3e0803[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x30f)+this['_state']['status']);this[_0x5a0b7a(0xf9)](_0x3e0803);},'onSendChangeset':_0x49bf15=>{var _0x82a7a1=_0x4d81;_0x49bf15[_0x82a7a1(0x26e)]||(_0x49bf15[_0x82a7a1(0x26e)]=this[_0x82a7a1(0x39c)],_0x49bf15[_0x82a7a1(0x14c)]=++this[_0x82a7a1(0x44b)]);const _0x161710={'eventID':m[_0x82a7a1(0x2b5)][_0x82a7a1(0x1c1)],'data':{'unitID':_0x49bf15[_0x82a7a1(0x134)],'unitType':this[_0x82a7a1(0x1c2)],'changeset':_0x49bf15,'memberID':this[_0x82a7a1(0x2c5)]['getMemberID']()}};this[_0x82a7a1(0x2c5)][_0x82a7a1(0x2b3)](_0x161710,this['unitID']);},'onMissingChangesets':({from:_0x1990fb,to:_0x8815b0})=>{var _0x4fa232=_0x4d81;this[_0x4fa232(0x447)][_0x4fa232(0x44f)](_0x4fa232(0x198),_0x4fa232(0xe6)+_0x1990fb+_0x4fa232(0x125)+_0x8815b0);const _0x2d6e85={'eventID':m[_0x4fa232(0x2b5)][_0x4fa232(0x2a7)],'data':{'unitID':_0x81c21b,'unitType':this[_0x4fa232(0x1c2)],'from':_0x1990fb,'to':_0x8815b0}};this[_0x4fa232(0x2c5)]['send'](_0x2d6e85,this['unitID']);}};}async['_createInitialStateImpl'](_0x5a55b9){var _0x4d623e=_0x23fcf5,_0x1fbec8,_0x22bb00,_0x2afd10;const _0x472b99=await((_0x1fbec8=this['_localCacheService'])==null?void 0x0:_0x1fbec8[_0x4d623e(0x34b)](this[_0x4d623e(0x134)])),_0x214f87=(_0x22bb00=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x33a)])!=null?_0x22bb00:[],_0x405102=(_0x2afd10=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x35f)])!=null?_0x2afd10:null,_0x162583=!!(_0x405102!=null&&_0x405102[_0x4d623e(0x26e)])&&!!(_0x405102!=null&&_0x405102['reqId']);this[_0x4d623e(0x39c)]=_0x162583?_0x405102[_0x4d623e(0x26e)]:gn(),this['_changesetReqId']=_0x162583?_0x405102[_0x4d623e(0x14c)]:0x0;const _0x463df7=this[_0x4d623e(0x134)];try{this[_0x4d623e(0x287)](_0x405102,_0x214f87);}catch(_0x4074bc){this[_0x4d623e(0x447)][_0x4d623e(0x39b)](_0x4074bc);}const _0x2af454=this[_0x4d623e(0x437)]();if(_0x5a55b9){const _0x3feca9=Pt(this[_0x4d623e(0x305)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);return _0x3feca9 instanceof exports['PendingState']?_0x3feca9['_schedule']():(_0x3feca9 instanceof exports[_0x4d623e(0x105)]||_0x3feca9 instanceof exports[_0x4d623e(0x35e)])&&_0x3feca9['resend'](),_0x3feca9;}return this[_0x4d623e(0x305)][_0x4d623e(0x41d)](exports[_0x4d623e(0x2a5)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);}['_replayCachedMutations'](_0x805e7c,_0x5b3a47){var _0x45e0e6=_0x23fcf5,_0x317319,_0x132e6d;const _0x375f41=this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x149)](this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x1d9)]()['COMPRESS_MUTATION_APPLY']);(_0x317319=_0x375f41((_0x805e7c==null?void 0x0:_0x805e7c[_0x45e0e6(0x33a)])||[],null))==null||_0x317319['forEach'](_0x3b6a5e=>this[_0x45e0e6(0x343)][_0x45e0e6(0x44a)](_0x3b6a5e['id'],_0x3b6a5e['params'])),(_0x132e6d=_0x375f41(_0x5b3a47||[],null))==null||_0x132e6d[_0x45e0e6(0x28e)](_0x21f847=>this[_0x45e0e6(0x343)]['executeCommand'](_0x21f847['id'],_0x21f847[_0x45e0e6(0x1fa)]));}},exports[_0x23fcf5(0xfc)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a['Inject'](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a['ICommandService']),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0xfc)]),exports[_0x23fcf5(0x2ba)]=class extends exports[_0x23fcf5(0xfc)]{constructor(_0x1a6e00,_0x54f4da,_0x10dc9e,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d){var _0x497812=_0x23fcf5;super(_0x1a6e00,_0x10dc9e,_0x54f4da,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d),D(this,_0x497812(0x350),null),(this['unitID']=_0x1a6e00,this[_0x497812(0x21a)]=_0x54f4da);}[_0x23fcf5(0x139)](_0x452d19){var _0x38bf08=_0x23fcf5;this[_0x38bf08(0x350)]=_0x452d19;}[_0x23fcf5(0x27d)](){var _0x2e81da=_0x23fcf5;this[_0x2e81da(0x350)]=null,super['dispose']();}[_0x23fcf5(0x437)](){var _0x569c59=_0x23fcf5;const _0x1b32e8=super[_0x569c59(0x437)]();return _0x1b32e8[_0x569c59(0x2d6)]=_0x4a8f2a=>{var _0x42a6a4=_0x569c59,_0x25e193,_0x198e1d;return(_0x198e1d=(_0x25e193=this[_0x42a6a4(0x350)])==null?void 0x0:_0x25e193['onTransformIME'])==null?void 0x0:_0x198e1d['call'](_0x25e193,_0x4a8f2a);},_0x1b32e8[_0x569c59(0x24e)]=_0x1f6f74=>{var _0x2b056e=_0x569c59,_0x1df20a,_0x5f5cbf;return(_0x5f5cbf=(_0x1df20a=this[_0x2b056e(0x350)])==null?void 0x0:_0x1df20a['onTransformState'])==null?void 0x0:_0x5f5cbf[_0x2b056e(0x2d3)](_0x1df20a,_0x1f6f74);},_0x1b32e8[_0x569c59(0x14f)]=_0x35f34e=>{var _0x26943f=_0x569c59,_0x215104,_0xef25c7;return(_0xef25c7=(_0x215104=this[_0x26943f(0x350)])==null?void 0x0:_0x215104[_0x26943f(0x14f)])==null?void 0x0:_0xef25c7[_0x26943f(0x2d3)](_0x215104,_0x35f34e);},_0x1b32e8['onSyncEditingCollabCursor']=_0x2cbe22=>{var _0x4b779c=_0x569c59,_0x56de27,_0x9dbdd3;return(_0x9dbdd3=(_0x56de27=this[_0x4b779c(0x350)])==null?void 0x0:_0x56de27['onSyncEditingCollabCursor'])==null?void 0x0:_0x9dbdd3[_0x4b779c(0x2d3)](_0x56de27,_0x2cbe22);},_0x1b32e8[_0x569c59(0x145)]=_0x12eb91=>{var _0x30d737=_0x569c59,_0xe653a3,_0x564f0b,_0x40dc40;if(!((_0xe653a3=this[_0x30d737(0x350)])!=null&&_0xe653a3[_0x30d737(0x145)]))throw new Error(_0x30d737(0x2f4));return(_0x40dc40=(_0x564f0b=this[_0x30d737(0x350)])==null?void 0x0:_0x564f0b[_0x30d737(0x145)])==null?void 0x0:_0x40dc40[_0x30d737(0x2d3)](_0x564f0b,_0x12eb91);},_0x1b32e8[_0x569c59(0x334)]=_0x9a5040=>{var _0x45b522=_0x569c59,_0x42975a,_0x288fe2,_0x4e1dad;if(!((_0x42975a=this[_0x45b522(0x350)])!=null&&_0x42975a[_0x45b522(0x334)]))throw new Error(_0x45b522(0x1e3));return(_0x4e1dad=(_0x288fe2=this[_0x45b522(0x350)])==null?void 0x0:_0x288fe2[_0x45b522(0x334)])==null?void 0x0:_0x4e1dad[_0x45b522(0x2d3)](_0x288fe2,_0x9a5040);},_0x1b32e8;}async[_0x23fcf5(0x296)](){var _0x39f1e9=_0x23fcf5;const _0x3dfe2b=await super[_0x39f1e9(0x296)]();return this[_0x39f1e9(0x31b)](this[_0x39f1e9(0x343)][_0x39f1e9(0x14b)]((_0x6adec1,_0x35da7a)=>{var _0x449cf2=_0x39f1e9;if(_0x6adec1[_0x449cf2(0x21a)]!==a[_0x449cf2(0x459)][_0x449cf2(0x442)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x143)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x315)]||_0x6adec1['id']===dt[_0x449cf2(0x1b1)]['id'])return;const _0x167438=_0x6adec1[_0x449cf2(0x1fa)];if((_0x167438==null?void 0x0:_0x167438[_0x449cf2(0x44d)])!==this['unitID'])return;const _0x1d165e=_0x6adec1,_0x152f1f=this[_0x449cf2(0x2ea)][_0x449cf2(0x3c8)][_0x449cf2(0x149)](this['_compressMutationService'][_0x449cf2(0x3c8)][_0x449cf2(0x1d9)]()[_0x449cf2(0x3aa)])([_0x1d165e],null)||[_0x1d165e];this[_0x449cf2(0x3b4)](_0x152f1f[0x0]);})),_0x3dfe2b;}},exports[_0x23fcf5(0x2ba)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x23fcf5(0x229)]),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x2ba)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x5c5e79,_0x21fe83,_0x26af3c,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x564314,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4){var _0x4a6023=_0x23fcf5;super(_0x5c5e79,_0x26af3c,_0x21fe83,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4),this[_0x4a6023(0x134)]=_0x5c5e79,this[_0x4a6023(0x21a)]=_0x21fe83,this['_sheetTransformSelectionsService']=_0x564314;}[_0x23fcf5(0x437)](){var _0x51eb64=_0x23fcf5;const _0x5af2f1=super[_0x51eb64(0x437)]();return _0x5af2f1[_0x51eb64(0x14f)]=_0x1d89e8=>this[_0x51eb64(0x3a0)][_0x51eb64(0x254)](_0x1d89e8),_0x5af2f1;}async[_0x23fcf5(0x296)](){var _0x53fd0d=_0x23fcf5;const _0x2fe092=await super['_init']();return this[_0x53fd0d(0x31b)](this['_commandService'][_0x53fd0d(0x14b)]((_0x9dfd57,_0x16425b)=>{var _0x3fbf13=_0x53fd0d;if(_0x9dfd57[_0x3fbf13(0x21a)]!==a[_0x3fbf13(0x459)][_0x3fbf13(0x442)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x143)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x315)])return;const _0x3042c9=_0x9dfd57[_0x3fbf13(0x1fa)];if((_0x3042c9==null?void 0x0:_0x3042c9['unitId'])!==this[_0x3fbf13(0x134)])return;const _0x20de3b=_0x9dfd57,_0x3d0a84=this[_0x3fbf13(0x2ea)][_0x3fbf13(0x3c8)][_0x3fbf13(0x149)](this[_0x3fbf13(0x2ea)]['interceptor'][_0x3fbf13(0x1d9)]()['COMPRESS_MUTATION_SEND'])([_0x20de3b],null)||[_0x20de3b];this[_0x3fbf13(0x3b4)](_0x3d0a84[0x0]);})),_0x2fe092;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),k(0x7,a['Inject'](exports[_0x23fcf5(0x30b)])),k(0x8,a[_0x23fcf5(0x11a)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x23fcf5(0x229)]),k(0xb,a[_0x23fcf5(0x28b)]),k(0xc,a[_0x23fcf5(0x1fe)](ve)),k(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x23fcf5(0x14d)],An=Object[_0x23fcf5(0x291)],Ln=(_0x584e57,_0xf5c520,_0x1ddf4b,_0x5e7453)=>{var _0x1b59c1=_0x23fcf5;for(var _0x2f6813=_0x5e7453>0x1?void 0x0:_0x5e7453?An(_0xf5c520,_0x1ddf4b):_0xf5c520,_0x3fb852=_0x584e57[_0x1b59c1(0x358)]-0x1,_0x4f82a0;_0x3fb852>=0x0;_0x3fb852--)(_0x4f82a0=_0x584e57[_0x3fb852])&&(_0x2f6813=(_0x5e7453?_0x4f82a0(_0xf5c520,_0x1ddf4b,_0x2f6813):_0x4f82a0(_0x2f6813))||_0x2f6813);return _0x5e7453&&_0x2f6813&&wn(_0xf5c520,_0x1ddf4b,_0x2f6813),_0x2f6813;},we=(_0x6941b0,_0x4dabae)=>(_0x24af8b,_0x58dfdd)=>_0x4dabae(_0x24af8b,_0x58dfdd,_0x6941b0);exports[_0x23fcf5(0x1d8)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x25f10f,_0x177f6d,_0xb62560){var _0x6b9732=_0x23fcf5;super(),D(this,_0x6b9732(0x41a),new Map()),D(this,_0x6b9732(0x3e1),new H[(_0x6b9732(0x227))]()),D(this,_0x6b9732(0x3c4),this[_0x6b9732(0x3e1)][_0x6b9732(0x1cf)]()),(this[_0x6b9732(0x305)]=_0x25f10f,this['_collabSessionService']=_0x177f6d,this['_univerInstanceService']=_0xb62560,this['_init']());}[_0x23fcf5(0x27d)](){var _0x186fd5=_0x23fcf5;super['dispose'](),this[_0x186fd5(0x41a)][_0x186fd5(0x28e)](_0x310533=>_0x310533[_0x186fd5(0x27d)]()),this[_0x186fd5(0x41a)]['clear']();}[_0x23fcf5(0x374)](_0xb2876b){var _0x53fcfc=_0x23fcf5,_0x5649aa;return(_0x5649aa=this[_0x53fcfc(0x41a)][_0x53fcfc(0x11c)](_0xb2876b))!=null?_0x5649aa:null;}['getCollabEntity$'](_0x2e530a){var _0x37f17d=_0x23fcf5;const _0x4cb27b=this[_0x37f17d(0x374)](_0x2e530a);return _0x4cb27b?H['of'](_0x4cb27b):this[_0x37f17d(0x3e1)]['pipe'](W[_0x37f17d(0x23c)](_0x57de88=>_0x57de88[_0x37f17d(0x134)]===_0x2e530a));}[_0x23fcf5(0x18b)](_0x3c0aef){var _0x1240ad=_0x23fcf5;return H['firstValueFrom'](this[_0x1240ad(0x15f)](_0x3c0aef)[_0x1240ad(0x205)](W['map'](()=>{})));}['_init'](){var _0x39aaa7=_0x23fcf5;this[_0x39aaa7(0x3ce)][_0x39aaa7(0x399)](a[_0x39aaa7(0x387)][_0x39aaa7(0x1b5)])[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x332)](async _0x2ba0a2=>{var _0x2c878e=_0x39aaa7;const _0x5e825f=_0x2ba0a2[_0x2c878e(0x408)](),_0x14c073=await this['_startCollaboration'](_0x5e825f,Z[_0x2c878e(0x1b5)]);this['_entities'][_0x2c878e(0x2ec)](_0x5e825f,_0x14c073);}),this['_univerInstanceService'][_0x39aaa7(0x399)](a['UniverInstanceType'][_0x39aaa7(0x19a)])['pipe'](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x205)](W['filter'](_0x377b58=>!_0x377b58['getUnitId']()[_0x39aaa7(0xee)]('__')))['subscribe'](async _0x106967=>{var _0xeb100a=_0x39aaa7;const _0x3053fd=_0x106967[_0xeb100a(0x408)](),_0x144e89=await this[_0xeb100a(0x2fe)](_0x3053fd,Z[_0xeb100a(0x19a)]);this[_0xeb100a(0x41a)][_0xeb100a(0x2ec)](_0x3053fd,_0x144e89);}),H[_0x39aaa7(0x326)](this['_univerInstanceService'][_0x39aaa7(0x1ee)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x39aaa7(0x3ce)][_0x39aaa7(0x1ee)](a[_0x39aaa7(0x387)][_0x39aaa7(0x19a)]))[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]))['subscribe'](_0xd1e44f=>{var _0x54da6d=_0x39aaa7;const _0x3e78cf=_0xd1e44f[_0x54da6d(0x408)](),_0x24529e=this[_0x54da6d(0x41a)][_0x54da6d(0x11c)](_0x3e78cf);_0x24529e&&(_0x24529e[_0x54da6d(0x27d)](),this[_0x54da6d(0x41a)][_0x54da6d(0x2bb)](_0x3e78cf));});}async[_0x23fcf5(0x2fe)](_0x30223d,_0x38b90b){var _0x4cd52a=_0x23fcf5;const _0x10a2af=await this['_collabSessionService']['requireSession'](_0x30223d),_0x5f2b1d=this[_0x4cd52a(0x305)][_0x4cd52a(0x41d)](this[_0x4cd52a(0x12a)](_0x38b90b),_0x30223d,_0x38b90b,_0x10a2af);return await _0x5f2b1d[_0x4cd52a(0x281)](),this[_0x4cd52a(0x3e1)]['next'](_0x5f2b1d),_0x5f2b1d;}[_0x23fcf5(0x12a)](_0x5d8586){var _0x10b42a=_0x23fcf5;switch(_0x5d8586){case Z[_0x10b42a(0x19a)]:return exports[_0x10b42a(0x2ba)];case Z['UNIVER_SHEET']:return exports[_0x10b42a(0x208)];default:throw new Error(_0x10b42a(0x100)+_0x5d8586);}}},exports[_0x23fcf5(0x1d8)]=Ln([we(0x0,a['Inject'](a[_0x23fcf5(0x368)])),we(0x1,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),we(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x1d8)]);var Mn=Object[_0x23fcf5(0x14d)],xn=Object[_0x23fcf5(0x291)],jn=(_0x5944be,_0x56b78d,_0x4c112e,_0x3f098a)=>{var _0xe40369=_0x23fcf5;for(var _0x465fbb=_0x3f098a>0x1?void 0x0:_0x3f098a?xn(_0x56b78d,_0x4c112e):_0x56b78d,_0x5aaca1=_0x5944be[_0xe40369(0x358)]-0x1,_0x1bacdb;_0x5aaca1>=0x0;_0x5aaca1--)(_0x1bacdb=_0x5944be[_0x5aaca1])&&(_0x465fbb=(_0x3f098a?_0x1bacdb(_0x56b78d,_0x4c112e,_0x465fbb):_0x1bacdb(_0x465fbb))||_0x465fbb);return _0x3f098a&&_0x465fbb&&Mn(_0x56b78d,_0x4c112e,_0x465fbb),_0x465fbb;},Xe=(_0x367af9,_0x3aa40c)=>(_0x4e84c6,_0x172fea)=>_0x3aa40c(_0x4e84c6,_0x172fea,_0x367af9);const $n=_0x23fcf5(0xea),Hn='Univer';let $e=class extends a['Disposable']{constructor(_0x1993e5,_0xc50e39){var _0x1cec3d=_0x23fcf5;super(),this[_0x1cec3d(0x3ce)]=_0x1993e5,this[_0x1cec3d(0x194)]=_0xc50e39,this[_0x1cec3d(0x296)]();}[_0x23fcf5(0x296)](){var _0x325c8c=_0x23fcf5;this[_0x325c8c(0x31b)](this[_0x325c8c(0x3ce)][_0x325c8c(0xf5)][_0x325c8c(0x332)](()=>{var _0x58306d=_0x325c8c,_0xef16b2;const _0x535b83=this[_0x58306d(0x3ce)][_0x58306d(0x192)]();let _0x440838=(_0xef16b2=this[_0x58306d(0x194)][_0x58306d(0x3d1)]($n))!=null?_0xef16b2:Hn;_0x535b83 instanceof a[_0x58306d(0x18f)]&&(_0x440838=_0x535b83[_0x58306d(0xe4)]),document[_0x58306d(0x129)]=_0x440838;}));}};$e=jn([Xe(0x0,a[_0x23fcf5(0x133)]),Xe(0x1,a[_0x23fcf5(0x17e)])],$e);var kn=Object[_0x23fcf5(0x14d)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x1b4e51,_0x32ec1b,_0x34826e,_0x44ff73)=>{var _0x36a349=_0x23fcf5;for(var _0x399917=_0x44ff73>0x1?void 0x0:_0x44ff73?Bn(_0x32ec1b,_0x34826e):_0x32ec1b,_0x56aee7=_0x1b4e51[_0x36a349(0x358)]-0x1,_0x3fbde8;_0x56aee7>=0x0;_0x56aee7--)(_0x3fbde8=_0x1b4e51[_0x56aee7])&&(_0x399917=(_0x44ff73?_0x3fbde8(_0x32ec1b,_0x34826e,_0x399917):_0x3fbde8(_0x399917))||_0x399917);return _0x44ff73&&_0x399917&&kn(_0x32ec1b,_0x34826e,_0x399917),_0x399917;},Ae=(_0x3b1ec4,_0x3088e7)=>(_0x5902f1,_0x415f71)=>_0x3088e7(_0x5902f1,_0x415f71,_0x3b1ec4);let ye=class{constructor(_0x43e9e0,_0x3336fe,_0x450239){var _0x537e4a=_0x23fcf5;this[_0x537e4a(0x194)]=_0x43e9e0,this[_0x537e4a(0x418)]=_0x3336fe,this[_0x537e4a(0x118)]=_0x450239,this['init']();}[_0x23fcf5(0x281)](){var _0x149140=_0x23fcf5;this[_0x149140(0x418)][_0x149140(0x12e)]({'priority':0x1,'interceptor':(_0xafa5dd,_0xcdec2d)=>_0xcdec2d(_0xafa5dd)['pipe'](H['concatMap'](async _0x2df36f=>{var _0x2cb252=_0x149140;const _0x5beb25=_0x2df36f;if(_0x5beb25['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2cb252(0xf0)](this[_0x2cb252(0x118)]['t']('auth.needGotoLoginAlert'))){const _0x4fc09b=window[_0x2cb252(0x454)](window[_0x2cb252(0x188)]['href']);window['location'][_0x2cb252(0x458)]=this[_0x2cb252(0x119)]()+_0x2cb252(0x375)+_0x4fc09b;}}return _0x5beb25;}))});}['_getLoginPath'](){var _0x270ee5=_0x23fcf5,_0x1b54ca,_0x39bcba;const _0x54e918=this[_0x270ee5(0x194)]['getConfig'](Ct),_0x4583ff=this[_0x270ee5(0x194)][_0x270ee5(0x3d1)](Y);return(_0x39bcba=(_0x1b54ca=_0x4583ff==null?void 0x0:_0x4583ff[_0x270ee5(0x2da)])!=null?_0x1b54ca:_0x54e918)!=null?_0x39bcba:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),Ae(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)]))],ye);var Wn=Object[_0x23fcf5(0x14d)],Gn=Object[_0x23fcf5(0x291)],Vn=(_0x2f2b13,_0x36e683,_0x5c9a67,_0x1df3f6)=>{var _0x5e1802=_0x23fcf5;for(var _0x2f0fd5=_0x1df3f6>0x1?void 0x0:_0x1df3f6?Gn(_0x36e683,_0x5c9a67):_0x36e683,_0x1f1367=_0x2f2b13[_0x5e1802(0x358)]-0x1,_0x292f9b;_0x1f1367>=0x0;_0x1f1367--)(_0x292f9b=_0x2f2b13[_0x1f1367])&&(_0x2f0fd5=(_0x1df3f6?_0x292f9b(_0x36e683,_0x5c9a67,_0x2f0fd5):_0x292f9b(_0x2f0fd5))||_0x2f0fd5);return _0x1df3f6&&_0x2f0fd5&&Wn(_0x36e683,_0x5c9a67,_0x2f0fd5),_0x2f0fd5;},Ze=(_0x1d346e,_0x364420)=>(_0x1aad44,_0x4d14c1)=>_0x364420(_0x1aad44,_0x4d14c1,_0x1d346e);const Ve=_0x23fcf5(0x35c),Kn='/universer-api/authz';exports[_0x23fcf5(0x225)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x59caf7,_0x4c678a){var _0x18f6a3=_0x23fcf5;super(),this[_0x18f6a3(0x18a)]=_0x59caf7,this['_configService']=_0x4c678a,this[_0x18f6a3(0x304)]();}[_0x23fcf5(0x304)](){var _0x4a91a6=_0x23fcf5;const _0x302139=this;this[_0x4a91a6(0x31b)](this[_0x4a91a6(0x18a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x4a91a6(0x42f)]({'isMatch'(_0x508058){var _0x4e8d4a=_0x4a91a6,_0x207a6f;if(_0x508058[_0x4e8d4a(0x32b)]===_0x4e8d4a(0x264)&&((_0x207a6f=_0x508058[_0x4e8d4a(0x2b7)])!=null&&_0x207a6f[_0x4e8d4a(0x3b1)])){const {objectID:_0x47e177,objectType:_0x38c7ee}=_0x508058[_0x4e8d4a(0x2b7)]['body']||{};if(!_0x47e177||_0x38c7ee===void 0x0)return!0x1;const _0x12d9ca=_0x302139['_getAPIPrefixPath']()+'/'+_0x38c7ee+_0x4e8d4a(0x222)+_0x47e177+'/allowed';if(_0x508058[_0x4e8d4a(0x187)]===_0x12d9ca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1d0162){var _0x44f081=_0x4a91a6,_0x2ae3f1;return(_0x2ae3f1=_0x1d0162[_0x44f081(0x2b7)])==null?void 0x0:_0x2ae3f1[_0x44f081(0x3b1)];},'mergeParamsToRequest'(_0x515fa4,_0x47a7d1){var _0x1bfb09=_0x4a91a6;const _0x4118f0=_0x302139[_0x1bfb09(0x2f6)]()+'/-/object/-/batch_allowed',_0x146e71=_0x515fa4[_0x1bfb09(0x230)]((_0x4f8be5,_0x3e7e8e)=>{var _0x591d39=_0x1bfb09;const {unitID:_0x23175a,objectID:_0x3ab287,objectType:_0x23e44b,actions:_0x52431e}=_0x3e7e8e;return _0x4f8be5[_0x23175a]||(_0x4f8be5[_0x23175a]={}),_0x4f8be5[_0x23175a][_0x3ab287]||(_0x4f8be5[_0x23175a][_0x3ab287]={'objectID':_0x3ab287,'objectType':_0x23e44b,'actions':[]}),_0x4f8be5[_0x23175a][_0x3ab287][_0x591d39(0x342)][_0x591d39(0x228)](..._0x52431e),_0x4f8be5;},{}),_0x2caebf=[];for(const _0x3b8cbb in _0x146e71)for(const _0x1d9782 in _0x146e71[_0x3b8cbb]){const {actions:_0x55948b,objectType:_0x2e3300}=_0x146e71[_0x3b8cbb][_0x1d9782],_0xfc6e57=[...new Set(_0x55948b)];_0x2caebf[_0x1bfb09(0x228)]({'unitID':_0x3b8cbb,'objectID':_0x1d9782,'objectType':_0x2e3300,'actions':_0xfc6e57});}return new q[(_0x1bfb09(0x390))](_0x1bfb09(0x264),_0x4118f0,{'headers':_0x47a7d1['headers'],'withCredentials':_0x47a7d1[_0x1bfb09(0x16b)],'responseType':_0x47a7d1['responseType'],'body':{'requests':_0x2caebf}});}},{'distributeResult'(_0x4c6054,_0x30da04){const {objectActions:_0x46b26b}=_0x4c6054;return _0x30da04['map'](_0x5bb317=>{var _0xf0af14=_0x4d81;const {unitID:_0x4bdc8c,objectID:_0x328812,actions:_0x355ac1}=_0x5bb317,_0x1608c2=_0x46b26b[_0xf0af14(0x202)](_0x57e614=>_0x57e614[_0xf0af14(0x134)]===_0x4bdc8c&&_0x57e614[_0xf0af14(0x1eb)]===_0x328812),_0x905da7=_0x355ac1['map'](_0x43f04e=>_0x1608c2==null?void 0x0:_0x1608c2['actions']['find'](_0x2e322b=>_0x2e322b[_0xf0af14(0x26d)]===_0x43f04e))[_0xf0af14(0x23c)](_0x367a75=>!!_0x367a75);return{'config':_0x5bb317,'result':{'actions':_0x905da7,'error':_0x4c6054[_0xf0af14(0x39b)]}};});}})}));}[_0x23fcf5(0x2f6)](){var _0x3c5104=_0x23fcf5,_0x57e669,_0x198f7c;const _0x4dcd3d=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Ve),_0x143803=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Y);return(_0x198f7c=(_0x57e669=_0x143803==null?void 0x0:_0x143803[_0x3c5104(0x112)])!=null?_0x57e669:_0x4dcd3d)!=null?_0x198f7c:Kn;}async[_0x23fcf5(0x138)](_0x39650d){var _0x126424=_0x23fcf5;const _0x2fca1b=this[_0x126424(0x2f6)]()+'/'+_0x39650d[_0x126424(0x1df)]+_0x126424(0x403);return(await this['_HTTPService'][_0x126424(0x28a)](_0x2fca1b,{'body':_0x39650d}))['body']['objectID']||'';}async['list'](_0x18c61e){var _0x2d7d30=_0x23fcf5;const _0xaf8b3b=this[_0x2d7d30(0x2f6)]()+_0x2d7d30(0x140);return(await this[_0x2d7d30(0x18a)][_0x2d7d30(0x28a)](_0xaf8b3b,{'body':_0x18c61e}))[_0x2d7d30(0x3b1)][_0x2d7d30(0x3a6)];}async['update'](_0x34f1d3){var _0x327527=_0x23fcf5;const _0x4a53de=this[_0x327527(0x2f6)]()+'/'+_0x34f1d3[_0x327527(0x1df)]+_0x327527(0x222)+_0x34f1d3[_0x327527(0x1eb)];await this['_HTTPService'][_0x327527(0x2e6)](_0x4a53de,{'body':_0x34f1d3});}async[_0x23fcf5(0x1d4)](_0x29cca4){var _0x54e3be=_0x23fcf5;const _0x27f413=this[_0x54e3be(0x2f6)]()+'/'+_0x29cca4[_0x54e3be(0x1df)]+'/object/'+_0x29cca4[_0x54e3be(0x1eb)]+_0x54e3be(0x1c6);return(await this[_0x54e3be(0x18a)][_0x54e3be(0x28a)](_0x27f413,{'body':_0x29cca4}))[_0x54e3be(0x3b1)][_0x54e3be(0x342)];}async[_0x23fcf5(0x3b8)](_0x1578ff){var _0x45a4dc=_0x23fcf5;const _0xba7294=this[_0x45a4dc(0x2f6)]()+_0x45a4dc(0x34c);return(await this[_0x45a4dc(0x18a)][_0x45a4dc(0x28a)](_0xba7294,{'body':{'requests':_0x1578ff}}))['body'][_0x45a4dc(0x1f3)];}async[_0x23fcf5(0x20d)](_0x3a1933){var _0x4ff88c=_0x23fcf5;const _0x41ad7e=this[_0x4ff88c(0x2f6)]()+'/'+_0x3a1933[_0x4ff88c(0x1df)]+'/role',_0x2b1856=await this[_0x4ff88c(0x18a)]['post'](_0x41ad7e,{'body':_0x3a1933});return{'roles':_0x2b1856['body'][_0x4ff88c(0x167)],'actions':_0x2b1856[_0x4ff88c(0x3b1)]['actions']};}async[_0x23fcf5(0x30e)](_0x5c14b3){var _0x1d1d3b=_0x23fcf5;const _0x6178a0=this['_getAPIPrefixPath']()+_0x1d1d3b(0x131);await this[_0x1d1d3b(0x18a)][_0x1d1d3b(0x2bb)](_0x6178a0,{'params':{'collaboratorID':_0x5c14b3[_0x1d1d3b(0x2f2)],'objectID':_0x5c14b3['objectID'],'unitID':_0x5c14b3[_0x1d1d3b(0x134)]}});}async[_0x23fcf5(0x1d0)](_0xfd2516){var _0x2a920b=_0x23fcf5;const _0x2ac2b1=this[_0x2a920b(0x2f6)]()+_0x2a920b(0x131);await this[_0x2a920b(0x18a)][_0x2a920b(0x2b1)](_0x2ac2b1,{'body':_0xfd2516});}async[_0x23fcf5(0x3f4)](_0xd70f7d){var _0x506edc=_0x23fcf5;const _0x47bca7=this[_0x506edc(0x2f6)]()+_0x506edc(0x131);await this[_0x506edc(0x18a)]['post'](_0x47bca7,{'body':_0xd70f7d});}async['listCollaborators'](_0x3948ca){var _0x57a923=_0x23fcf5;const _0x299adf=this['_getAPIPrefixPath']()+_0x57a923(0x131);return(await this['_HTTPService'][_0x57a923(0x11c)](_0x299adf,{'params':{'objectID':_0x3948ca[_0x57a923(0x1eb)],'unitID':_0x3948ca[_0x57a923(0x134)]}}))['body'][_0x57a923(0x110)];}async[_0x23fcf5(0x24b)](_0x1d0530){var _0x32f312=_0x23fcf5;const _0x3ed0d9=this[_0x32f312(0x2f6)]()+'/collaborator';await this['_HTTPService'][_0x32f312(0x2e6)](_0x3ed0d9,{'body':_0x1d0530});}},exports[_0x23fcf5(0x225)]=Vn([Ze(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),Ze(0x1,a['Inject'](a[_0x23fcf5(0x17e)]))],exports[_0x23fcf5(0x225)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5402ba){var _0x720eac=_0x23fcf5;return _0x5402ba&&_0x5402ba[_0x720eac(0x35a)]&&Object[_0x720eac(0x286)]['hasOwnProperty'][_0x720eac(0x2d3)](_0x5402ba,_0x720eac(0x372))?_0x5402ba[_0x720eac(0x372)]:_0x5402ba;}var Se={'exports':{}};function Yn(_0xd32d66){var _0x5aece5=_0x23fcf5;throw new Error(_0x5aece5(0x213)+_0xd32d66+_0x5aece5(0x2df));}var pe={'exports':{}},qn=pe[_0x23fcf5(0x172)],Qe;function ee(){var _0x13db1e=_0x23fcf5;return Qe||(Qe=0x1,function(_0xab5951,_0x10c169){(function(_0x328496,_0x35e960){_0xab5951['exports']=_0x35e960();}(qn,function(){var _0xc89a3=_0xc89a3||function(_0x31c3fa,_0x1c837f){var _0x45ce06=_0x4d81,_0x302b82;if(typeof window<'u'&&window[_0x45ce06(0x25c)]&&(_0x302b82=window[_0x45ce06(0x25c)]),typeof self<'u'&&self[_0x45ce06(0x25c)]&&(_0x302b82=self['crypto']),typeof globalThis<'u'&&globalThis[_0x45ce06(0x25c)]&&(_0x302b82=globalThis[_0x45ce06(0x25c)]),!_0x302b82&&typeof window<'u'&&window[_0x45ce06(0xf7)]&&(_0x302b82=window[_0x45ce06(0xf7)]),!_0x302b82&&typeof Le<'u'&&Le[_0x45ce06(0x25c)]&&(_0x302b82=Le[_0x45ce06(0x25c)]),!_0x302b82&&typeof Yn=='function')try{_0x302b82=require('crypto');}catch{}var _0x307073=function(){var _0x4f0a48=_0x45ce06;if(_0x302b82){if(typeof _0x302b82[_0x4f0a48(0x171)]==_0x4f0a48(0x1a6))try{return _0x302b82['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x302b82['randomBytes']==_0x4f0a48(0x1a6))try{return _0x302b82[_0x4f0a48(0xd6)](0x4)[_0x4f0a48(0x3a7)]();}catch{}}throw new Error(_0x4f0a48(0x33c));},_0x2f0267=Object[_0x45ce06(0x138)]||(function(){function _0x4e8ee3(){}return function(_0x391309){var _0x26d8e3=_0x4d81,_0x12e51a;return _0x4e8ee3[_0x26d8e3(0x286)]=_0x391309,_0x12e51a=new _0x4e8ee3(),_0x4e8ee3['prototype']=null,_0x12e51a;};}()),_0x453a08={},_0x95faf1=_0x453a08['lib']={},_0x4223d6=_0x95faf1[_0x45ce06(0x236)]=(function(){return{'extend':function(_0x2099bc){var _0x21ff28=_0x4d81,_0x52ce63=_0x2f0267(this);return _0x2099bc&&_0x52ce63['mixIn'](_0x2099bc),(!_0x52ce63[_0x21ff28(0x2ff)](_0x21ff28(0x281))||this[_0x21ff28(0x281)]===_0x52ce63[_0x21ff28(0x281)])&&(_0x52ce63[_0x21ff28(0x281)]=function(){var _0x21276e=_0x21ff28;_0x52ce63['$super'][_0x21276e(0x281)][_0x21276e(0x223)](this,arguments);}),_0x52ce63[_0x21ff28(0x281)][_0x21ff28(0x286)]=_0x52ce63,_0x52ce63['$super']=this,_0x52ce63;},'create':function(){var _0x515569=_0x4d81,_0x3ee508=this[_0x515569(0x251)]();return _0x3ee508['init']['apply'](_0x3ee508,arguments),_0x3ee508;},'init':function(){},'mixIn':function(_0x234c59){var _0x5d2e2e=_0x4d81;for(var _0x239755 in _0x234c59)_0x234c59[_0x5d2e2e(0x2ff)](_0x239755)&&(this[_0x239755]=_0x234c59[_0x239755]);_0x234c59[_0x5d2e2e(0x2ff)](_0x5d2e2e(0x43f))&&(this[_0x5d2e2e(0x43f)]=_0x234c59[_0x5d2e2e(0x43f)]);},'clone':function(){var _0x17ed7a=_0x4d81;return this[_0x17ed7a(0x281)][_0x17ed7a(0x286)][_0x17ed7a(0x251)](this);}};}()),_0x58f60b=_0x95faf1[_0x45ce06(0x298)]=_0x4223d6[_0x45ce06(0x251)]({'init':function(_0x5a38fb,_0x3da33c){var _0x2f8ed8=_0x45ce06;_0x5a38fb=this['words']=_0x5a38fb||[],_0x3da33c!=_0x1c837f?this[_0x2f8ed8(0x15e)]=_0x3da33c:this['sigBytes']=_0x5a38fb[_0x2f8ed8(0x358)]*0x4;},'toString':function(_0x566e8d){return(_0x566e8d||_0x23f7c2)['stringify'](this);},'concat':function(_0x42a183){var _0x56dfe7=_0x45ce06,_0xac6012=this[_0x56dfe7(0x2d4)],_0x3a0dc9=_0x42a183['words'],_0x193a51=this[_0x56dfe7(0x15e)],_0x12ddab=_0x42a183[_0x56dfe7(0x15e)];if(this[_0x56dfe7(0x226)](),_0x193a51%0x4)for(var _0x4d0049=0x0;_0x4d0049<_0x12ddab;_0x4d0049++){var _0x938d6f=_0x3a0dc9[_0x4d0049>>>0x2]>>>0x18-_0x4d0049%0x4*0x8&0xff;_0xac6012[_0x193a51+_0x4d0049>>>0x2]|=_0x938d6f<<0x18-(_0x193a51+_0x4d0049)%0x4*0x8;}else{for(var _0xce463d=0x0;_0xce463d<_0x12ddab;_0xce463d+=0x4)_0xac6012[_0x193a51+_0xce463d>>>0x2]=_0x3a0dc9[_0xce463d>>>0x2];}return this[_0x56dfe7(0x15e)]+=_0x12ddab,this;},'clamp':function(){var _0x327596=_0x45ce06,_0x226380=this['words'],_0xfae035=this[_0x327596(0x15e)];_0x226380[_0xfae035>>>0x2]&=0xffffffff<<0x20-_0xfae035%0x4*0x8,_0x226380[_0x327596(0x358)]=_0x31c3fa[_0x327596(0xe7)](_0xfae035/0x4);},'clone':function(){var _0x304068=_0x45ce06,_0x585834=_0x4223d6[_0x304068(0xfe)][_0x304068(0x2d3)](this);return _0x585834['words']=this[_0x304068(0x2d4)][_0x304068(0x13d)](0x0),_0x585834;},'random':function(_0x5b77a0){for(var _0x2baf23=[],_0x487644=0x0;_0x487644<_0x5b77a0;_0x487644+=0x4)_0x2baf23['push'](_0x307073());return new _0x58f60b['init'](_0x2baf23,_0x5b77a0);}}),_0x4a56c8=_0x453a08['enc']={},_0x23f7c2=_0x4a56c8[_0x45ce06(0x244)]={'stringify':function(_0x5fee10){var _0x348f9e=_0x45ce06;for(var _0x4e9006=_0x5fee10[_0x348f9e(0x2d4)],_0x2271f2=_0x5fee10[_0x348f9e(0x15e)],_0x506df5=[],_0x430cf4=0x0;_0x430cf4<_0x2271f2;_0x430cf4++){var _0x68d9c8=_0x4e9006[_0x430cf4>>>0x2]>>>0x18-_0x430cf4%0x4*0x8&0xff;_0x506df5[_0x348f9e(0x228)]((_0x68d9c8>>>0x4)['toString'](0x10)),_0x506df5[_0x348f9e(0x228)]((_0x68d9c8&0xf)[_0x348f9e(0x43f)](0x10));}return _0x506df5[_0x348f9e(0x2a3)]('');},'parse':function(_0xae008d){var _0x3862d8=_0x45ce06;for(var _0x5d24ba=_0xae008d[_0x3862d8(0x358)],_0x254b56=[],_0x3acb2a=0x0;_0x3acb2a<_0x5d24ba;_0x3acb2a+=0x2)_0x254b56[_0x3acb2a>>>0x3]|=parseInt(_0xae008d[_0x3862d8(0x29a)](_0x3acb2a,0x2),0x10)<<0x18-_0x3acb2a%0x8*0x4;return new _0x58f60b['init'](_0x254b56,_0x5d24ba/0x2);}},_0x5bf082=_0x4a56c8[_0x45ce06(0x3b5)]={'stringify':function(_0x446412){var _0x657f8b=_0x45ce06;for(var _0x2e9bfa=_0x446412[_0x657f8b(0x2d4)],_0x3f8676=_0x446412[_0x657f8b(0x15e)],_0x1307da=[],_0xf63126=0x0;_0xf63126<_0x3f8676;_0xf63126++){var _0x3626d1=_0x2e9bfa[_0xf63126>>>0x2]>>>0x18-_0xf63126%0x4*0x8&0xff;_0x1307da[_0x657f8b(0x228)](String[_0x657f8b(0x1be)](_0x3626d1));}return _0x1307da['join']('');},'parse':function(_0x34ec8f){var _0x54056c=_0x45ce06;for(var _0x543604=_0x34ec8f[_0x54056c(0x358)],_0x129a17=[],_0x3df16f=0x0;_0x3df16f<_0x543604;_0x3df16f++)_0x129a17[_0x3df16f>>>0x2]|=(_0x34ec8f[_0x54056c(0x323)](_0x3df16f)&0xff)<<0x18-_0x3df16f%0x4*0x8;return new _0x58f60b[(_0x54056c(0x281))](_0x129a17,_0x543604);}},_0x4b6362=_0x4a56c8[_0x45ce06(0x12f)]={'stringify':function(_0x5b3dd7){var _0x402564=_0x45ce06;try{return decodeURIComponent(escape(_0x5bf082[_0x402564(0x19e)](_0x5b3dd7)));}catch{throw new Error(_0x402564(0x35d));}},'parse':function(_0x398cac){var _0x1f4b95=_0x45ce06;return _0x5bf082[_0x1f4b95(0x241)](unescape(encodeURIComponent(_0x398cac)));}},_0x103d7d=_0x95faf1[_0x45ce06(0x395)]=_0x4223d6[_0x45ce06(0x251)]({'reset':function(){var _0x1cfe54=_0x45ce06;this[_0x1cfe54(0xdc)]=new _0x58f60b[(_0x1cfe54(0x281))](),this[_0x1cfe54(0x31a)]=0x0;},'_append':function(_0x29160a){var _0x15c8a9=_0x45ce06;typeof _0x29160a==_0x15c8a9(0x446)&&(_0x29160a=_0x4b6362[_0x15c8a9(0x241)](_0x29160a)),this['_data'][_0x15c8a9(0x336)](_0x29160a),this[_0x15c8a9(0x31a)]+=_0x29160a[_0x15c8a9(0x15e)];},'_process':function(_0x3b4d34){var _0xc7e5aa=_0x45ce06,_0x5d4caa,_0x3b4c17=this[_0xc7e5aa(0xdc)],_0x3b6174=_0x3b4c17[_0xc7e5aa(0x2d4)],_0xea1826=_0x3b4c17[_0xc7e5aa(0x15e)],_0x1741d3=this[_0xc7e5aa(0x357)],_0x45dcc3=_0x1741d3*0x4,_0x19921a=_0xea1826/_0x45dcc3;_0x3b4d34?_0x19921a=_0x31c3fa['ceil'](_0x19921a):_0x19921a=_0x31c3fa[_0xc7e5aa(0x382)]((_0x19921a|0x0)-this[_0xc7e5aa(0x2e4)],0x0);var _0x5e10d9=_0x19921a*_0x1741d3,_0x47474c=_0x31c3fa[_0xc7e5aa(0x262)](_0x5e10d9*0x4,_0xea1826);if(_0x5e10d9){for(var _0x5c467d=0x0;_0x5c467d<_0x5e10d9;_0x5c467d+=_0x1741d3)this[_0xc7e5aa(0x38c)](_0x3b6174,_0x5c467d);_0x5d4caa=_0x3b6174[_0xc7e5aa(0x3e4)](0x0,_0x5e10d9),_0x3b4c17[_0xc7e5aa(0x15e)]-=_0x47474c;}return new _0x58f60b['init'](_0x5d4caa,_0x47474c);},'clone':function(){var _0x331a79=_0x45ce06,_0x5731d3=_0x4223d6[_0x331a79(0xfe)][_0x331a79(0x2d3)](this);return _0x5731d3[_0x331a79(0xdc)]=this[_0x331a79(0xdc)][_0x331a79(0xfe)](),_0x5731d3;},'_minBufferSize':0x0});_0x95faf1[_0x45ce06(0x370)]=_0x103d7d[_0x45ce06(0x251)]({'cfg':_0x4223d6[_0x45ce06(0x251)](),'init':function(_0x598a41){var _0xbf43a3=_0x45ce06;this['cfg']=this[_0xbf43a3(0x3f1)][_0xbf43a3(0x251)](_0x598a41),this[_0xbf43a3(0x1a8)]();},'reset':function(){var _0x3c8802=_0x45ce06;_0x103d7d[_0x3c8802(0x1a8)][_0x3c8802(0x2d3)](this),this[_0x3c8802(0x2fc)]();},'update':function(_0xb42076){var _0x348867=_0x45ce06;return this['_append'](_0xb42076),this[_0x348867(0x349)](),this;},'finalize':function(_0x18dda2){_0x18dda2&&this['_append'](_0x18dda2);var _0x3e4e27=this['_doFinalize']();return _0x3e4e27;},'blockSize':0x10,'_createHelper':function(_0x102cc7){return function(_0x32450d,_0x5b00eb){var _0x416eb1=_0x4d81;return new _0x102cc7[(_0x416eb1(0x281))](_0x5b00eb)['finalize'](_0x32450d);};},'_createHmacHelper':function(_0x179cd6){return function(_0xe46f7c,_0x195dc6){var _0x122076=_0x4d81;return new _0x31c179[(_0x122076(0x242))][(_0x122076(0x281))](_0x179cd6,_0x195dc6)[_0x122076(0xd4)](_0xe46f7c);};}});var _0x31c179=_0x453a08[_0x45ce06(0x290)]={};return _0x453a08;}(Math);return _0xc89a3;}));}(pe)),pe[_0x13db1e(0x172)];}var me={'exports':{}},zn=me[_0x23fcf5(0x172)],et;function Dt(){var _0x409609=_0x23fcf5;return et||(et=0x1,function(_0x259200,_0x124417){(function(_0x58d642,_0x2121fc){var _0x5a6dd2=_0x4d81;_0x259200[_0x5a6dd2(0x172)]=_0x2121fc(ee());}(zn,function(_0x20cbba){var _0xa28efd=_0x4d81;return(function(){var _0x1fa4cb=_0x4d81,_0x2211f3=_0x20cbba,_0x368804=_0x2211f3[_0x1fa4cb(0x235)],_0xd69bea=_0x368804[_0x1fa4cb(0x298)],_0x47d531=_0x2211f3[_0x1fa4cb(0x166)];_0x47d531[_0x1fa4cb(0x301)]={'stringify':function(_0x48a9fb){var _0x54227f=_0x1fa4cb,_0x3897c5=_0x48a9fb[_0x54227f(0x2d4)],_0x1a660c=_0x48a9fb['sigBytes'],_0x3b9d24=this[_0x54227f(0x34d)];_0x48a9fb[_0x54227f(0x226)]();for(var _0x3f8dc7=[],_0x567769=0x0;_0x567769<_0x1a660c;_0x567769+=0x3)for(var _0x368918=_0x3897c5[_0x567769>>>0x2]>>>0x18-_0x567769%0x4*0x8&0xff,_0x9f553a=_0x3897c5[_0x567769+0x1>>>0x2]>>>0x18-(_0x567769+0x1)%0x4*0x8&0xff,_0x442970=_0x3897c5[_0x567769+0x2>>>0x2]>>>0x18-(_0x567769+0x2)%0x4*0x8&0xff,_0x22e811=_0x368918<<0x10|_0x9f553a<<0x8|_0x442970,_0x4b147f=0x0;_0x4b147f<0x4&&_0x567769+_0x4b147f*0.75<_0x1a660c;_0x4b147f++)_0x3f8dc7[_0x54227f(0x228)](_0x3b9d24[_0x54227f(0x331)](_0x22e811>>>0x6*(0x3-_0x4b147f)&0x3f));var _0x40b457=_0x3b9d24[_0x54227f(0x331)](0x40);if(_0x40b457){for(;_0x3f8dc7[_0x54227f(0x358)]%0x4;)_0x3f8dc7['push'](_0x40b457);}return _0x3f8dc7[_0x54227f(0x2a3)]('');},'parse':function(_0x3bcd83){var _0x33f614=_0x1fa4cb,_0x27420e=_0x3bcd83[_0x33f614(0x358)],_0x3b83f3=this[_0x33f614(0x34d)],_0x1a1347=this[_0x33f614(0x1d6)];if(!_0x1a1347){_0x1a1347=this[_0x33f614(0x1d6)]=[];for(var _0x1ba9fe=0x0;_0x1ba9fe<_0x3b83f3[_0x33f614(0x358)];_0x1ba9fe++)_0x1a1347[_0x3b83f3[_0x33f614(0x323)](_0x1ba9fe)]=_0x1ba9fe;}var _0x47e0c2=_0x3b83f3[_0x33f614(0x331)](0x40);if(_0x47e0c2){var _0xcc2287=_0x3bcd83['indexOf'](_0x47e0c2);_0xcc2287!==-0x1&&(_0x27420e=_0xcc2287);}return _0x49fae7(_0x3bcd83,_0x27420e,_0x1a1347);},'_map':_0x1fa4cb(0x246)};function _0x49fae7(_0x2f3e7f,_0x25ce0c,_0x4f7958){var _0x4e6909=_0x1fa4cb;for(var _0x5b842e=[],_0x769c93=0x0,_0x120e16=0x0;_0x120e16<_0x25ce0c;_0x120e16++)if(_0x120e16%0x4){var _0x260843=_0x4f7958[_0x2f3e7f[_0x4e6909(0x323)](_0x120e16-0x1)]<<_0x120e16%0x4*0x2,_0x546f71=_0x4f7958[_0x2f3e7f['charCodeAt'](_0x120e16)]>>>0x6-_0x120e16%0x4*0x2,_0x7cb95a=_0x260843|_0x546f71;_0x5b842e[_0x769c93>>>0x2]|=_0x7cb95a<<0x18-_0x769c93%0x4*0x8,_0x769c93++;}return _0xd69bea['create'](_0x5b842e,_0x769c93);}}()),_0x20cbba[_0xa28efd(0x166)][_0xa28efd(0x301)];}));}(me)),me[_0x409609(0x172)];}var ge={'exports':{}},Jn=ge[_0x23fcf5(0x172)],tt;function Xn(){return tt||(tt=0x1,function(_0x25a67d,_0x3cfbc5){(function(_0x19c34f,_0x21fd33){var _0x57fec3=_0x4d81;_0x25a67d[_0x57fec3(0x172)]=_0x21fd33(ee());}(Jn,function(_0x138b1c){var _0x555ed8=_0x4d81;return function(_0x3163e2){var _0x183ccb=_0x4d81,_0x30b1b8=_0x138b1c,_0x138845=_0x30b1b8[_0x183ccb(0x235)],_0x4be847=_0x138845[_0x183ccb(0x298)],_0x32bf8e=_0x138845['Hasher'],_0x5e8318=_0x30b1b8[_0x183ccb(0x290)],_0x4edb69=[];(function(){for(var _0x72891c=0x0;_0x72891c<0x40;_0x72891c++)_0x4edb69[_0x72891c]=_0x3163e2['abs'](_0x3163e2['sin'](_0x72891c+0x1))*0x100000000|0x0;}());var _0x5e76d3=_0x5e8318[_0x183ccb(0x2e2)]=_0x32bf8e['extend']({'_doReset':function(){var _0x5e4ebf=_0x183ccb;this[_0x5e4ebf(0x16d)]=new _0x4be847[(_0x5e4ebf(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fadc5,_0x44147a){var _0x79e84d=_0x183ccb;for(var _0x1f9959=0x0;_0x1f9959<0x10;_0x1f9959++){var _0x5d66a2=_0x44147a+_0x1f9959,_0x4acc3c=_0x3fadc5[_0x5d66a2];_0x3fadc5[_0x5d66a2]=(_0x4acc3c<<0x8|_0x4acc3c>>>0x18)&0xff00ff|(_0x4acc3c<<0x18|_0x4acc3c>>>0x8)&0xff00ff00;}var _0x537467=this[_0x79e84d(0x16d)][_0x79e84d(0x2d4)],_0x2651da=_0x3fadc5[_0x44147a+0x0],_0x476c3f=_0x3fadc5[_0x44147a+0x1],_0x3d707b=_0x3fadc5[_0x44147a+0x2],_0x3407ad=_0x3fadc5[_0x44147a+0x3],_0x1fcb67=_0x3fadc5[_0x44147a+0x4],_0x7897f0=_0x3fadc5[_0x44147a+0x5],_0x3122ad=_0x3fadc5[_0x44147a+0x6],_0x3916d8=_0x3fadc5[_0x44147a+0x7],_0x566aa3=_0x3fadc5[_0x44147a+0x8],_0x21c114=_0x3fadc5[_0x44147a+0x9],_0x4f6c10=_0x3fadc5[_0x44147a+0xa],_0x5d2ed7=_0x3fadc5[_0x44147a+0xb],_0x50b174=_0x3fadc5[_0x44147a+0xc],_0x157baf=_0x3fadc5[_0x44147a+0xd],_0x32e425=_0x3fadc5[_0x44147a+0xe],_0x595a09=_0x3fadc5[_0x44147a+0xf],_0x387ec3=_0x537467[0x0],_0x37a597=_0x537467[0x1],_0x580cb9=_0x537467[0x2],_0x2e9c77=_0x537467[0x3];_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x7,_0x4edb69[0x0]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x476c3f,0xc,_0x4edb69[0x1]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0x11,_0x4edb69[0x2]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3407ad,0x16,_0x4edb69[0x3]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x7,_0x4edb69[0x4]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x7897f0,0xc,_0x4edb69[0x5]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0x11,_0x4edb69[0x6]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3916d8,0x16,_0x4edb69[0x7]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x7,_0x4edb69[0x8]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x21c114,0xc,_0x4edb69[0x9]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0x11,_0x4edb69[0xa]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x5d2ed7,0x16,_0x4edb69[0xb]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x7,_0x4edb69[0xc]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x157baf,0xc,_0x4edb69[0xd]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0x11,_0x4edb69[0xe]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x595a09,0x16,_0x4edb69[0xf]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x5,_0x4edb69[0x10]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3122ad,0x9,_0x4edb69[0x11]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0xe,_0x4edb69[0x12]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x2651da,0x14,_0x4edb69[0x13]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x5,_0x4edb69[0x14]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x4f6c10,0x9,_0x4edb69[0x15]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0xe,_0x4edb69[0x16]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x1fcb67,0x14,_0x4edb69[0x17]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x5,_0x4edb69[0x18]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x32e425,0x9,_0x4edb69[0x19]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0xe,_0x4edb69[0x1a]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x566aa3,0x14,_0x4edb69[0x1b]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x5,_0x4edb69[0x1c]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3d707b,0x9,_0x4edb69[0x1d]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0xe,_0x4edb69[0x1e]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x50b174,0x14,_0x4edb69[0x1f]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x4,_0x4edb69[0x20]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x566aa3,0xb,_0x4edb69[0x21]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0x10,_0x4edb69[0x22]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x32e425,0x17,_0x4edb69[0x23]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x4,_0x4edb69[0x24]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x1fcb67,0xb,_0x4edb69[0x25]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0x10,_0x4edb69[0x26]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x4f6c10,0x17,_0x4edb69[0x27]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x4,_0x4edb69[0x28]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x2651da,0xb,_0x4edb69[0x29]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0x10,_0x4edb69[0x2a]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3122ad,0x17,_0x4edb69[0x2b]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x4,_0x4edb69[0x2c]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x50b174,0xb,_0x4edb69[0x2d]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0x10,_0x4edb69[0x2e]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3d707b,0x17,_0x4edb69[0x2f]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x6,_0x4edb69[0x30]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3916d8,0xa,_0x4edb69[0x31]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0xf,_0x4edb69[0x32]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x7897f0,0x15,_0x4edb69[0x33]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x6,_0x4edb69[0x34]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3407ad,0xa,_0x4edb69[0x35]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0xf,_0x4edb69[0x36]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x476c3f,0x15,_0x4edb69[0x37]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x6,_0x4edb69[0x38]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x595a09,0xa,_0x4edb69[0x39]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0xf,_0x4edb69[0x3a]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x157baf,0x15,_0x4edb69[0x3b]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x6,_0x4edb69[0x3c]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x5d2ed7,0xa,_0x4edb69[0x3d]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0xf,_0x4edb69[0x3e]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x21c114,0x15,_0x4edb69[0x3f]),_0x537467[0x0]=_0x537467[0x0]+_0x387ec3|0x0,_0x537467[0x1]=_0x537467[0x1]+_0x37a597|0x0,_0x537467[0x2]=_0x537467[0x2]+_0x580cb9|0x0,_0x537467[0x3]=_0x537467[0x3]+_0x2e9c77|0x0;},'_doFinalize':function(){var _0xe3af42=_0x183ccb,_0x3079a4=this[_0xe3af42(0xdc)],_0x1337c3=_0x3079a4[_0xe3af42(0x2d4)],_0x1b7018=this['_nDataBytes']*0x8,_0x150236=_0x3079a4[_0xe3af42(0x15e)]*0x8;_0x1337c3[_0x150236>>>0x5]|=0x80<<0x18-_0x150236%0x20;var _0x1a99df=_0x3163e2[_0xe3af42(0x20e)](_0x1b7018/0x100000000),_0x1bae4a=_0x1b7018;_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xf]=(_0x1a99df<<0x8|_0x1a99df>>>0x18)&0xff00ff|(_0x1a99df<<0x18|_0x1a99df>>>0x8)&0xff00ff00,_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xe]=(_0x1bae4a<<0x8|_0x1bae4a>>>0x18)&0xff00ff|(_0x1bae4a<<0x18|_0x1bae4a>>>0x8)&0xff00ff00,_0x3079a4[_0xe3af42(0x15e)]=(_0x1337c3['length']+0x1)*0x4,this['_process']();for(var _0x812939=this[_0xe3af42(0x16d)],_0x2a7689=_0x812939[_0xe3af42(0x2d4)],_0x1d6383=0x0;_0x1d6383<0x4;_0x1d6383++){var _0x571e9f=_0x2a7689[_0x1d6383];_0x2a7689[_0x1d6383]=(_0x571e9f<<0x8|_0x571e9f>>>0x18)&0xff00ff|(_0x571e9f<<0x18|_0x571e9f>>>0x8)&0xff00ff00;}return _0x812939;},'clone':function(){var _0xa89cca=_0x183ccb,_0x35543b=_0x32bf8e['clone']['call'](this);return _0x35543b[_0xa89cca(0x16d)]=this[_0xa89cca(0x16d)][_0xa89cca(0xfe)](),_0x35543b;}});function _0x751510(_0x16b540,_0x15a251,_0x2c7f33,_0x9863f7,_0x73e537,_0x2c2bcd,_0x1b39bf){var _0x559edf=_0x16b540+(_0x15a251&_0x2c7f33|~_0x15a251&_0x9863f7)+_0x73e537+_0x1b39bf;return(_0x559edf<<_0x2c2bcd|_0x559edf>>>0x20-_0x2c2bcd)+_0x15a251;}function _0x420e5f(_0x5552ba,_0x50f41c,_0x35c87d,_0x2fd183,_0x543a4e,_0x2b1324,_0x524452){var _0x388950=_0x5552ba+(_0x50f41c&_0x2fd183|_0x35c87d&~_0x2fd183)+_0x543a4e+_0x524452;return(_0x388950<<_0x2b1324|_0x388950>>>0x20-_0x2b1324)+_0x50f41c;}function _0x5b2963(_0x2c20f0,_0x2dea09,_0x2e5532,_0x5b482c,_0x3d1645,_0x44896f,_0x748085){var _0x22ecd3=_0x2c20f0+(_0x2dea09^_0x2e5532^_0x5b482c)+_0x3d1645+_0x748085;return(_0x22ecd3<<_0x44896f|_0x22ecd3>>>0x20-_0x44896f)+_0x2dea09;}function _0x5b5f1d(_0x905532,_0x490952,_0x594df7,_0x45da8d,_0x1182ce,_0x2a65c9,_0x1cd571){var _0x4611da=_0x905532+(_0x594df7^(_0x490952|~_0x45da8d))+_0x1182ce+_0x1cd571;return(_0x4611da<<_0x2a65c9|_0x4611da>>>0x20-_0x2a65c9)+_0x490952;}_0x30b1b8[_0x183ccb(0x2e2)]=_0x32bf8e[_0x183ccb(0x2ab)](_0x5e76d3),_0x30b1b8[_0x183ccb(0x43c)]=_0x32bf8e[_0x183ccb(0x1cd)](_0x5e76d3);}(Math),_0x138b1c[_0x555ed8(0x2e2)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x23fcf5(0x172)],nt;function Qn(){var _0x5dcbdf=_0x23fcf5;return nt||(nt=0x1,function(_0x393d15,_0xb4f61a){(function(_0x5b1929,_0x51f350){var _0x296c25=_0x4d81;_0x393d15[_0x296c25(0x172)]=_0x51f350(ee());}(Zn,function(_0x31d59c){return(function(){var _0x5737e2=_0x4d81,_0x5ab7dc=_0x31d59c,_0x4cf7b3=_0x5ab7dc['lib'],_0x109a6d=_0x4cf7b3[_0x5737e2(0x298)],_0xd8fa11=_0x4cf7b3[_0x5737e2(0x370)],_0x1ab9f8=_0x5ab7dc[_0x5737e2(0x290)],_0x441217=[],_0xd1b57d=_0x1ab9f8[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x251)]({'_doReset':function(){var _0x5af2e6=_0x5737e2;this[_0x5af2e6(0x16d)]=new _0x109a6d[(_0x5af2e6(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3e8b95,_0x11a045){var _0x4eb58c=_0x5737e2;for(var _0x38d65f=this['_hash'][_0x4eb58c(0x2d4)],_0x1ae039=_0x38d65f[0x0],_0x2e3326=_0x38d65f[0x1],_0x423b86=_0x38d65f[0x2],_0x557539=_0x38d65f[0x3],_0x49f4e9=_0x38d65f[0x4],_0x3ebc41=0x0;_0x3ebc41<0x50;_0x3ebc41++){if(_0x3ebc41<0x10)_0x441217[_0x3ebc41]=_0x3e8b95[_0x11a045+_0x3ebc41]|0x0;else{var _0x3bf99f=_0x441217[_0x3ebc41-0x3]^_0x441217[_0x3ebc41-0x8]^_0x441217[_0x3ebc41-0xe]^_0x441217[_0x3ebc41-0x10];_0x441217[_0x3ebc41]=_0x3bf99f<<0x1|_0x3bf99f>>>0x1f;}var _0x52e27d=(_0x1ae039<<0x5|_0x1ae039>>>0x1b)+_0x49f4e9+_0x441217[_0x3ebc41];_0x3ebc41<0x14?_0x52e27d+=(_0x2e3326&_0x423b86|~_0x2e3326&_0x557539)+0x5a827999:_0x3ebc41<0x28?_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)+0x6ed9eba1:_0x3ebc41<0x3c?_0x52e27d+=(_0x2e3326&_0x423b86|_0x2e3326&_0x557539|_0x423b86&_0x557539)-0x70e44324:_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)-0x359d3e2a,_0x49f4e9=_0x557539,_0x557539=_0x423b86,_0x423b86=_0x2e3326<<0x1e|_0x2e3326>>>0x2,_0x2e3326=_0x1ae039,_0x1ae039=_0x52e27d;}_0x38d65f[0x0]=_0x38d65f[0x0]+_0x1ae039|0x0,_0x38d65f[0x1]=_0x38d65f[0x1]+_0x2e3326|0x0,_0x38d65f[0x2]=_0x38d65f[0x2]+_0x423b86|0x0,_0x38d65f[0x3]=_0x38d65f[0x3]+_0x557539|0x0,_0x38d65f[0x4]=_0x38d65f[0x4]+_0x49f4e9|0x0;},'_doFinalize':function(){var _0xb29cf3=_0x5737e2,_0x20413c=this[_0xb29cf3(0xdc)],_0x16bd88=_0x20413c[_0xb29cf3(0x2d4)],_0x426265=this[_0xb29cf3(0x31a)]*0x8,_0x17aacf=_0x20413c[_0xb29cf3(0x15e)]*0x8;return _0x16bd88[_0x17aacf>>>0x5]|=0x80<<0x18-_0x17aacf%0x20,_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x426265/0x100000000),_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xf]=_0x426265,_0x20413c[_0xb29cf3(0x15e)]=_0x16bd88[_0xb29cf3(0x358)]*0x4,this[_0xb29cf3(0x349)](),this[_0xb29cf3(0x16d)];},'clone':function(){var _0x4916b7=_0x5737e2,_0x28b29e=_0xd8fa11[_0x4916b7(0xfe)]['call'](this);return _0x28b29e['_hash']=this[_0x4916b7(0x16d)][_0x4916b7(0xfe)](),_0x28b29e;}});_0x5ab7dc[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x2ab)](_0xd1b57d),_0x5ab7dc[_0x5737e2(0x170)]=_0xd8fa11['_createHmacHelper'](_0xd1b57d);}()),_0x31d59c['SHA1'];}));}(Ee)),Ee[_0x5dcbdf(0x172)];}var Ce={'exports':{}},ei=Ce[_0x23fcf5(0x172)],it;function ti(){return it||(it=0x1,function(_0x15cfbb,_0x37aaee){(function(_0x2aa360,_0xa37ef5){var _0x24694e=_0x4d81;_0x15cfbb[_0x24694e(0x172)]=_0xa37ef5(ee());}(ei,function(_0x455f77){(function(){var _0x4ffe24=_0x4d81,_0x3961b9=_0x455f77,_0x5a36e0=_0x3961b9[_0x4ffe24(0x235)],_0x3c1af6=_0x5a36e0[_0x4ffe24(0x236)],_0x11cd64=_0x3961b9['enc'],_0x263c8a=_0x11cd64[_0x4ffe24(0x12f)],_0x40db31=_0x3961b9[_0x4ffe24(0x290)];_0x40db31[_0x4ffe24(0x242)]=_0x3c1af6[_0x4ffe24(0x251)]({'init':function(_0xb75f37,_0xf5d510){var _0xd2c896=_0x4ffe24;_0xb75f37=this[_0xd2c896(0x40f)]=new _0xb75f37[(_0xd2c896(0x281))](),typeof _0xf5d510=='string'&&(_0xf5d510=_0x263c8a[_0xd2c896(0x241)](_0xf5d510));var _0x15953e=_0xb75f37[_0xd2c896(0x357)],_0x1b24fe=_0x15953e*0x4;_0xf5d510[_0xd2c896(0x15e)]>_0x1b24fe&&(_0xf5d510=_0xb75f37[_0xd2c896(0xd4)](_0xf5d510)),_0xf5d510[_0xd2c896(0x226)]();for(var _0x41f883=this[_0xd2c896(0x268)]=_0xf5d510[_0xd2c896(0xfe)](),_0x52cd64=this[_0xd2c896(0x2ad)]=_0xf5d510[_0xd2c896(0xfe)](),_0x259d1a=_0x41f883[_0xd2c896(0x2d4)],_0x34ad7a=_0x52cd64[_0xd2c896(0x2d4)],_0x24ccb5=0x0;_0x24ccb5<_0x15953e;_0x24ccb5++)_0x259d1a[_0x24ccb5]^=0x5c5c5c5c,_0x34ad7a[_0x24ccb5]^=0x36363636;_0x41f883[_0xd2c896(0x15e)]=_0x52cd64[_0xd2c896(0x15e)]=_0x1b24fe,this[_0xd2c896(0x1a8)]();},'reset':function(){var _0x52777b=_0x4ffe24,_0x48dad8=this['_hasher'];_0x48dad8[_0x52777b(0x1a8)](),_0x48dad8[_0x52777b(0x111)](this[_0x52777b(0x2ad)]);},'update':function(_0x2c2c4e){var _0x40c437=_0x4ffe24;return this['_hasher'][_0x40c437(0x111)](_0x2c2c4e),this;},'finalize':function(_0x41f4d0){var _0x2390d0=_0x4ffe24,_0x2a893d=this[_0x2390d0(0x40f)],_0x5af314=_0x2a893d[_0x2390d0(0xd4)](_0x41f4d0);_0x2a893d[_0x2390d0(0x1a8)]();var _0x2a4211=_0x2a893d['finalize'](this[_0x2390d0(0x268)]['clone']()[_0x2390d0(0x336)](_0x5af314));return _0x2a4211;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x23fcf5(0x172)],rt;function wt(){var _0x2a9c50=_0x23fcf5;return rt||(rt=0x1,function(_0x8d8b88,_0x1f6fc2){(function(_0x6051d2,_0x46081f,_0x58f9b5){var _0x5d0830=_0x4d81;_0x8d8b88[_0x5d0830(0x172)]=_0x46081f(ee(),Qn(),ti());}(ni,function(_0x7b00de){var _0x3ab4ec=_0x4d81;return(function(){var _0x4e536f=_0x4d81,_0x18e572=_0x7b00de,_0x4934c2=_0x18e572[_0x4e536f(0x235)],_0x2a50da=_0x4934c2['Base'],_0x2d2ade=_0x4934c2[_0x4e536f(0x298)],_0xd1ac3e=_0x18e572[_0x4e536f(0x290)],_0x3bd784=_0xd1ac3e['MD5'],_0x567173=_0xd1ac3e[_0x4e536f(0x31f)]=_0x2a50da[_0x4e536f(0x251)]({'cfg':_0x2a50da[_0x4e536f(0x251)]({'keySize':0x80/0x20,'hasher':_0x3bd784,'iterations':0x1}),'init':function(_0x1967b6){var _0x2f4371=_0x4e536f;this['cfg']=this['cfg'][_0x2f4371(0x251)](_0x1967b6);},'compute':function(_0x1a8afa,_0x500287){var _0x35f307=_0x4e536f;for(var _0x39560e,_0x5db524=this['cfg'],_0x311301=_0x5db524[_0x35f307(0x32c)][_0x35f307(0x138)](),_0x418113=_0x2d2ade[_0x35f307(0x138)](),_0x16633d=_0x418113[_0x35f307(0x2d4)],_0x362e24=_0x5db524[_0x35f307(0x1f0)],_0x245d68=_0x5db524['iterations'];_0x16633d[_0x35f307(0x358)]<_0x362e24;){_0x39560e&&_0x311301[_0x35f307(0x111)](_0x39560e),_0x39560e=_0x311301[_0x35f307(0x111)](_0x1a8afa)[_0x35f307(0xd4)](_0x500287),_0x311301[_0x35f307(0x1a8)]();for(var _0x210d0e=0x1;_0x210d0e<_0x245d68;_0x210d0e++)_0x39560e=_0x311301['finalize'](_0x39560e),_0x311301[_0x35f307(0x1a8)]();_0x418113[_0x35f307(0x336)](_0x39560e);}return _0x418113[_0x35f307(0x15e)]=_0x362e24*0x4,_0x418113;}});_0x18e572['EvpKDF']=function(_0x2830f1,_0x4bddb4,_0x529c2f){var _0x2964ae=_0x4e536f;return _0x567173[_0x2964ae(0x138)](_0x529c2f)[_0x2964ae(0x25e)](_0x2830f1,_0x4bddb4);};}()),_0x7b00de[_0x3ab4ec(0x31f)];}));}(Ie)),Ie[_0x2a9c50(0x172)];}function _0x8269(){var _0x2bb450=['_replaceFileID','DataLoaderService','cmd','unitId\x20is\x20not\x20found','salt','encryptBlock','max','_onMessage','_onOffline','LEAVE','_nRounds','UniverInstanceType','RETRY_CONNECTING_MAX_COUNT_KEY','[CollaborationState]:\x20apply\x20error!','error$','_waitForHeartbeatResponse','_doProcessBlock','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN_ROOM_FULL','HTTPRequest','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','now','MentionType','onSendChangeset','BufferedBlockAlgorithm','APPLY_DUPLICATED','COMPRESS_MUTATION_APPLY','liveShareOperation','getTypeOfUnitAdded$','padding','error','_changesetSessionId','CommentService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/snapshot/','_sheetTransformSelectionsService','OpenSSL','_shouldReportTelemetry','getSnapshotAPIPath','status$','SessionStatus','objects','readInt32LE','Module','CollaborationSessionService','COMPRESS_MUTATION_SEND','[OfflineState]:\x20received\x20changeset.','subUnitId','COLLAB_WEB_SOCKET_URL','_resendTimeout','FetchingMissState','_resendWithTimeout','body','_localeService','joinEvent','_onLocalMutation','Latin1','_initCloseConn','b64DecodeUnicode','batchAllowed','onStateChange','_transformUndoredo','[CollaborationSessionService]','_members$','LIVESHARE_REQUEST_HOST','UNIVER_PROJECT','?size=','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_DISTRO_REJECTED','INGEST','unitInfo$','entityInit$','onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipher','interceptor','@univerjs/sheets','_socket','_applyRemoteChangeset','liveShareNewHost','duration','_univerInstanceService','roomInfos','_collaborationPaused','getConfig','onStarting','rev','event$','CHANGESET_ACK','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE','36036CAjHcj','hostname','members$','addImageSourceCache','updateOfflineData','updatePermissionPoint','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','format','_userManagerService','_entityInit$','\x20-\x20','ISnapshotServerService','splice','parseChangesetToProtocol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JSONX','getUnitType','reverse','setShowComponents','_onConnectionFailed','_commentUpdate$','isArray','WorkbookEditablePermission','UNIVER_SLIDE','_handler','cfg','_initDependencies','HTTPService','createCollaborator','refreshPermission','_append','LIVESHARE_NEW_HOST','_clearScheduledTask','_joinRoom','touchDependencies','getMemberID','getUnitOnRev','DependentOn','onRemoteAck','clear','_emitMembers','Quantity','_clearHeartbeatTimer','/object','_transformRemoteChangesetByIMECache','SEND_CHANGESET_TIMEOUT_KEY','data','_state$','getUnitId','ISocketService','saveImage','/block/','SetSelectionsOperation','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_hasher','complete','session.room-permission-denied','decrypt','BehaviorSubject','9794040jFNkob','SHA1','saveSnapshot','file','_httpService','replace','_entities','transformUndoRedo','range','createInstance','LocaleService','CONFLICT','snapshotServerUrl','updatePermissionObjEvent','_unitID','_instanceService','isTransformMutationsWithChangesetFailure','editing\x20status\x20changed\x20to','ticket','emitEvent','symbol','OFFLINE','6810433Bmsgcb','byteLength','SNAPSHOT_URL_KEY','onRemoteRetry','UNKNOWN_CMD','MergeInterceptorFactory','shouldCloseConn','_throwTelemetryCollaborationNewChangeset','_sendingTimer','_getCurrentRevision','/universer-api/user/session-ticket','_toggleOnline','COLLAB_SUBMIT_CHANGESET_URL','_createHandler','fetchMissingChangesets','SerializableCipher','CollaborationImageIoService','_retryCount','HmacMD5','_createInitialStateImpl','CHANGESET_REVISION_CONFILICT','toString','add','_acknowledgedAwaitingChangeset','MUTATION','FileId','FAIL','Rectangle','string','_logService','socket\x20open.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','executeCommand','_changesetReqId','IContextService','unitId','_transformSelections','debug','_permissionService','_event$','setCurrentUser','_transformService','encodeURIComponent','HELLO','offline','createDecryptor','href','CommandType','finalize','repeat','randomBytes','key','change$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_revisionService','sequenceExecute','_data','SEND_CHANGESET_TIMEOUT','[SyncedState]:\x20received\x20rejection.','_disableEditing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CONNECTOR_DATA_TOO_LARGE','_showConflictNotification','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','name','json','fetching\x20missing\x20changesets\x20from\x20','ceil','CollaborationStatus','image/jpg','DEFAULT_FILE_NAME','CollaborationSession','createIdentifier','[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.','startsWith','AES','confirm','_removeRoom','[FetchMissState]','size','image/png','focused$','DEFAULT_COLLAB_WEB_SOCKET_URL','msCrypto','FETCH_MISS','_updateState','NoPadding','_imageSourceCache','CollaborationEntity','MSG_FOR_ERROR','clone','collaMsg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','requireSession','UNDEFINED','_getUndoStack','univer-pro.collaboration-client.single-active-unit-service','AwaitingWithPendingState','getDeserializedSheetBlock','every','_tryReconnect','/universer-api/file/{fileID}/sign-url','ERROR_EXCEED_SIZE','state','runId','_createSocketURL','COMMENT_UPDATE','isTransformChangesetsSuccess','collaborators','update','authzUrl','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','_getDownloadEndpointURL','then','HttpImport','localeService','_getLoginPath','Inject','[DataLoaderService]','get','TOO_MANY_REQUESTS','_incrementRevisionNumber','SUCCUSS','sessionTicket','_prevBlock','PENDING','onCommentUpdate','_rescheduleHeartbeat','\x20to\x20','RETRY_CONNECTING_MAX_COUNT','UUID','resolve','title','_getCtorByUniverType','originalMeta','downloadEndpointUrl','/resources','registerHTTPInterceptor','Utf8','_onFetchMissResult','/collaborator','_initUnitPermissionChange','IUniverInstanceService','unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','create','addHandlerCallback','LIVESHARE_OPERATION','sendChangesetTimeout','JOINING','slice','_awaitingChangeset','catch','/-/object/list','SOCKET_FAILED','UPDATE_PERMISSION_OBJ','fromCollab','_pendingMutations','onTransformRemoteChangesetByIMECache','_onRemoteACK','stopTime','LICENSE_EXPORT_SIZE_EXCEEDED','fetchThroughInterceptors','_retryConnectingTimer','onCommandExecuted','reqId','defineProperty','RECV','onTransformSelections','UniverCollaborationPlugin','SheetsSelectionsService','_sendHeartbeat','ConflictState','_queuedRemoteChangesets','updateMember','CHANGESET_SHOULD_RETRY','__creator','PERMISSION_REJ','open$','_substituteRedoStack','_onRemoteRetry','APPLY_NON_SEQUENTIAL_REVISION','_localCacheService','sigBytes','getCollabEntity$','dispose$','_socketService','[CollaborationUndoRedoService]','IAuthzIoService','sessionStatus$','_sessionStatus$','enc','roles','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_UNKNOWN','collabWebSocketUrl','withCredentials','_remoteChangesetQueue','_hash','USERS_LEAVE','_invKeySchedule','HmacSHA1','getRandomValues','exports','_updateStatus','getRoom','_updateLocalCache','_lockTransition','getCurrentRevOfUnit','_change$','1153889XMGXWl','PSEUDO_FETCH_MISSING_RESULT','toggleOnline','_keySchedule','/unit/','IConfigService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onCombEvent','@univerjs/docs','@univerjs/network','Undefined','PasswordBasedCipher','selections','INetworkConditionService','url','location','_transitionLocked','_HTTPService','readyForCollab','close$','capture','submit\x20changeset\x20error!','Workbook','socketService','_transformIMECache','getFocusedUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_configService','unknown','uploadFileServerUrl','HttpExport','[CollaborationEntity]','routeKey','UNIVER_DOC','[OfflineState]:\x20received\x20acknowledgement.','_timeoutTimer','_telemetryService','stringify','enableSingleActiveInstanceLock','_getSendChangesetTimeout','pluginName','fetchMiss','_syncEditingCollabCursor','delay','HEARTBEAT_INTERVAL_KEY','function','subject','reset','baseRev','StreamCipher','_snapshotServerService','toStringTag','ISingleActiveUnitService','parseProtocolChangeset','459kFrmmz','_loadDoc','RichTextEditingMutation','onRemoteChangeset','RxDisposable','getValue','UNIVER_SHEET','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CODE','_socketReady','result','appendMutation','_snapshotService','BlockCipherMode','getAllMembers','fromCharCode','_doCryptBlock','Pkcs7','SUBMIT_CHANGESET','_type','_undoRedoService','avatar','USERS_ENTER','/allowed','pending','decryptBlock','_unlockTransition','_clearRedo','_clearCollaborationTimeoutTimer','[SyncedState]:\x20received\x20acknowledgement.','_createHmacHelper','_socket$','asObservable','updateCollaborator','COMPLETION_FINISHED','_onRecvEvent','random','allowed','_onRemoteChangeset','_reverseMap','SYNCED','CollaborationController','getInterceptPoints','map','CollaborationUIEventId','csAckEvent','ONLINE','not_collab','objectType','@univerjs/telemetry','YUUMI_UNABLE_LOAD_URL','CLOSE_ROOM','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','createSocket','ITransformService','ITelemetryService','_members','SnapshotServerOverHTTPService','search','_getSignURL','objectID','_substituteUndoStack','createEncryptor','getTypeOfUnitDisposed$','ImageSourceType','keySize','JOIN_ROOM_FAILED','_collaborationTimeoutTimer','objectActions','collaboration_new_changeset','textEncoder','closeSession','processBlock','copyFileMeta','deserializeToCombResponse','params','/universer-api/uniscript','SOCKET_FAILED_RETRY','_executeRemoteChangeset','Optional','PY_RUNTIME_SCRIPT_ERROR','_ENC_XFORM_MODE','[PendingState]:\x20received\x20rejection.','find','AWAITING','[CollaborationSession]','pipe','from','isTransformMutationsWithChangesetSuccess','SheetCollaborationEntity','JOIN','DisposableCollection','formatter','_sendHeartbeatTimer','listRoles','floor','APPLY_REVISION_CONFILICT','/universer-api/authz','UNAUTHENTICATED','getImage','Could\x20not\x20dynamically\x20require\x20\x22','HEARTBEAT_TIMEOUT','randomUUID','getUnit','c1Prime','fetch_missing','toDisposable','type','eventID','24201nnygIZ','ILogService','LIVESHARE_FETCH_OPERATIONS','waitForRoom$','encode','LIVESHARE_TERMINATE','/object/','apply','_clearTimeoutTimer','AuthzIoHttpService','clamp','Subject','push','ICommandService','telemetry\x20info\x20is\x20not\x20initialized','onMissedChangesetFetched','m2Prime','code','UNIVER_COLLABORATION_CLIENT_PLUGIN','byteOffset','reduce','Encryptor','@univerjs/drawing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getRedoStack','lib','Base','MentionIoHttpService','serializeCombRequest','UnitStatus','socket\x20close','SUBMIT_CHANGESET_TIMEOUT','filter','infoRsp','PERSON','UnitEmbedded','_decreaseWaiting','parse','HMAC','JOIN_ROOM_PERMISSION_DENIED','Hex','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onMissingChangesets','_registerDependencies','_checkMissing','_roomCreated$','putCollaborators','MemberService','_scheduleCollaborationTimeoutTimer','onTransformState','_onConnectionOpen','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','extend','awaiting','{fileID}','transformSelections','joinRsp','Cipher','getLatestCsReqIdBySid','rxjs','_clearUndo','setWaitCount','conflict','crypto','state$','compute','_unitInfo$','_listenToNetworkCondition','searchParams','min','enableOfflineEditing','POST','_commentService','execute','_startTelemetryCollaborationNewChangeset','_oKey','isInternalEditorID','_config','ivSize','_exhaustRemoteChangesetQueue','action','sid','src','origin','connection\x20error','registerDependencies','IDLE','collabSubmitChangesetUrl','next','_onJoinRoomEvent','ImageUploadStatusType','_fetchMissChangesets','Plugin','resourceIDs','56LLsero','&source=','dispose','UPDATE_CURSOR','session.room-not-exists','_getSessionTicket','init','_stopTelemetryCollaborationNewChangeset','deepClone','LocalUndoRedoService','SyncedState','prototype','_replayCachedMutations','bind','disableLocalCache','post','IPermissionService','_mode','revision','forEach','SHOULD_CLOSE_CONN','algo','getOwnPropertyDescriptor','mode','uniscriptRunEvent','_initRequestHeader','/fetchmissing?from=','_init','mixIn','WordArray','resend','substr','application/json','_transformStack','JOIN_ROOM_NOT_EXISTS','getTime','_transformRemoteChangesetByStateCache','_keyPriorReset','APPLY_PERMISSION_DENIED','reject','join','IImageIoService','OfflineState','BASE64','FETCH_MISSING','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','OTHER_CLIENT_EDITING','_createHelper','_createSocket','_iKey','pauseCollaboration','includes','IUndoRedoService','patch','userID','send','OTHER_CLIENTS_EDITING','CollaborationEvent','_getAPIPrefix','requestParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','close','DocCollaborationEntity','delete','UNRECOGNIZED','_sessions','/universer-api/oidc/authpage','values','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','getMember','getGlobalObject','HEARTBEAT','session','_onRemoteRejected','IMentionIOService','reconnect','_undoStacks','[CollaborationSessionService]:\x20socket\x20error','transformMutationsWithChangeset','NEW_CHANGESETS','7577350xvaDEI','\x0aAfter:\x20','People','memberID','NOT_FOUND','status','call','words','_state','onTransformIME','incrementRevOfUnit','ciphertext','LOGIN_URL_KEY','loginUrlKey','c2Prime','getWorkbookSelections','PendingState','isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','leaveEvent','_onConflict','MD5','_schedule','_minBufferSize','compose','put','CollaborationSocketService','UniverCollaborationClientPlugin','getSheetBlock','_compressMutationService','LOCAL_CACHE_INTERVAL','set','_cipher','failed\x20to\x20apply\x20missed\x20changesets!','synced','list','8weTSof','collaboratorID','getUnitStatus$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20received\x20rejection.','_getAPIPrefixPath','saveChangeset','getCurrentUser','ILocalCacheService','has','initWorkbookPermissionChange','_doReset','transformChangesets','_startCollaboration','hasOwnProperty','unit-cache-','Base64','ENSURE_SNAPSHOT_EXECUTION','RevisionService','_initMergeInterceptor','_injector','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sender','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[UniverCollaborationClientPlugin]','OPTIONAL','SheetTransformSelectionsService','_transformStateCache','commentUpdate$','deleteCollaborator','\x0aCurrent:\x20','_waitCount','_networkConditionService','_status$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','onlyLocal','_roomMembers','online$','startTime','NOT_COLLAB','_nDataBytes','disposeWithMe','UserManagerService','mergeOverrideWithDependencies','message$','EvpKDF','_xformMode','_toggleOffline','encrypt','charCodeAt','_tryEnsureSocket','take','merge','_http','&to=','toggleOffline','awaiting_with_pending','method','hasher','takeUntil','_singleActiveUnitService','members','_candidateSocket','charAt','subscribe','/new_changes','onTransformRemoteChangesetByStateCache','session.room-full','concat','generateRandomId','CompressMutationService','/universer-api/snapshot','mutations','pad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_scheduleCompleteTimestamp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INTERNAL_ERROR','LOCAL_CACHE_INTERVAL_KEY','APPLY_REJECT','actions','_commandService','_telemetryInfo','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationSessionService','_socketMessageSubscription','CollaborativeUndoRedoService','_process','_iv','loadOfflineData','/-/object/-/batch_allowed','_map','Error\x20on\x20receiving\x20event','session.join-failed','_handlerCallback','loadDoc','SNAPSHOT_SERVER_URL_KEY','CHANGESET_REJ','image/bmp','image/jpeg','UNISCRIPT_RUN','blockSize','length','_collaborationUIEventService','__esModule','save\x20fail\x20reason\x20is\x20','AUTHZ_URL_KEY','Malformed\x20UTF-8\x20data','AwaitingState','awaitingChangeset','localCacheService','_isPermissionRej','Decryptor','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_createInitialState','LICENSE_MAX_UNITS_EXCEEDED','346070QCnOQd','Disposable','Injector','_authzIoService','UniverNetworkPlugin','textRanges','_getUploadFileURL','removeMember','&assign=','rng','Hasher','PERMISSION_DENIED','default','_key','getCollabEntity','?url=','univer-pro.collaboration-client-socket-service','_resendTimer','wsSessionTicketUrl','_memberService','shareReplay','__Key__'];_0x8269=function(){return _0x2bb450;};return _0x8269();}var Te={'exports':{}},ii=Te['exports'],st;function At(){var _0x94129c=_0x23fcf5;return st||(st=0x1,function(_0x1698ca,_0x444c94){(function(_0x4c3613,_0x17f813,_0x633019){var _0x5f5a0b=_0x4d81;_0x1698ca[_0x5f5a0b(0x172)]=_0x17f813(ee(),wt());}(ii,function(_0x24c54b){var _0x317533=_0x4d81;_0x24c54b[_0x317533(0x235)][_0x317533(0x256)]||function(_0x2dd33f){var _0x219e0e=_0x317533,_0x225d80=_0x24c54b,_0x501232=_0x225d80[_0x219e0e(0x235)],_0xf6a146=_0x501232[_0x219e0e(0x236)],_0x1785a5=_0x501232[_0x219e0e(0x298)],_0x1f6855=_0x501232[_0x219e0e(0x395)],_0x6c059a=_0x225d80['enc'];_0x6c059a['Utf8'];var _0x3a5c4b=_0x6c059a[_0x219e0e(0x301)],_0x7817ad=_0x225d80[_0x219e0e(0x290)],_0x42b25e=_0x7817ad[_0x219e0e(0x31f)],_0x969315=_0x501232[_0x219e0e(0x256)]=_0x1f6855[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)](),'createEncryptor':function(_0x2ed38b,_0x14a7c9){var _0x27e6b3=_0x219e0e;return this[_0x27e6b3(0x138)](this[_0x27e6b3(0x200)],_0x2ed38b,_0x14a7c9);},'createDecryptor':function(_0x3bc764,_0x250635){var _0x4e007e=_0x219e0e;return this[_0x4e007e(0x138)](this['_DEC_XFORM_MODE'],_0x3bc764,_0x250635);},'init':function(_0x76f5df,_0x32ff1d,_0x3d4228){var _0x1d15ff=_0x219e0e;this[_0x1d15ff(0x3f1)]=this['cfg']['extend'](_0x3d4228),this[_0x1d15ff(0x320)]=_0x76f5df,this[_0x1d15ff(0x373)]=_0x32ff1d,this[_0x1d15ff(0x1a8)]();},'reset':function(){var _0x49d6aa=_0x219e0e;_0x1f6855['reset'][_0x49d6aa(0x2d3)](this),this[_0x49d6aa(0x2fc)]();},'process':function(_0x26f21c){var _0x49a547=_0x219e0e;return this[_0x49a547(0x3f6)](_0x26f21c),this[_0x49a547(0x349)]();},'finalize':function(_0x775814){var _0x23b7b1=_0x219e0e;_0x775814&&this[_0x23b7b1(0x3f6)](_0x775814);var _0x1bc047=this['_doFinalize']();return _0x1bc047;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xdd5f9b(_0x155f24){return typeof _0x155f24=='string'?_0x2bae81:_0x5f8621;}return function(_0x545484){return{'encrypt':function(_0x559092,_0x14a8ab,_0x524de2){var _0x4d1257=_0x4d81;return _0xdd5f9b(_0x14a8ab)[_0x4d1257(0x322)](_0x545484,_0x559092,_0x14a8ab,_0x524de2);},'decrypt':function(_0x1390c0,_0x49b0a2,_0x4f077e){return _0xdd5f9b(_0x49b0a2)['decrypt'](_0x545484,_0x1390c0,_0x49b0a2,_0x4f077e);}};};}())});_0x501232[_0x219e0e(0x1aa)]=_0x969315['extend']({'_doFinalize':function(){var _0x1c0acf=_0x219e0e,_0x43481e=this[_0x1c0acf(0x349)](!0x0);return _0x43481e;},'blockSize':0x1});var _0x4e9198=_0x225d80[_0x219e0e(0x292)]={},_0x74fcf3=_0x501232[_0x219e0e(0x1bc)]=_0xf6a146[_0x219e0e(0x251)]({'createEncryptor':function(_0x319891,_0x23e25c){var _0x3c74f1=_0x219e0e;return this[_0x3c74f1(0x231)][_0x3c74f1(0x138)](_0x319891,_0x23e25c);},'createDecryptor':function(_0x1fdcdf,_0x31d646){var _0x425202=_0x219e0e;return this['Decryptor'][_0x425202(0x138)](_0x1fdcdf,_0x31d646);},'init':function(_0x4dfc32,_0x47e132){var _0x12c64e=_0x219e0e;this[_0x12c64e(0x2ed)]=_0x4dfc32,this[_0x12c64e(0x34a)]=_0x47e132;}}),_0x52038b=_0x4e9198['CBC']=(function(){var _0x5f56dd=_0x219e0e,_0x4f8965=_0x74fcf3[_0x5f56dd(0x251)]();_0x4f8965[_0x5f56dd(0x231)]=_0x4f8965[_0x5f56dd(0x251)]({'processBlock':function(_0x15ec15,_0x4d021b){var _0x2a9d77=_0x5f56dd,_0x399f0c=this[_0x2a9d77(0x2ed)],_0x4c8832=_0x399f0c['blockSize'];_0x30e601[_0x2a9d77(0x2d3)](this,_0x15ec15,_0x4d021b,_0x4c8832),_0x399f0c[_0x2a9d77(0x381)](_0x15ec15,_0x4d021b),this[_0x2a9d77(0x121)]=_0x15ec15[_0x2a9d77(0x13d)](_0x4d021b,_0x4d021b+_0x4c8832);}}),_0x4f8965[_0x5f56dd(0x362)]=_0x4f8965['extend']({'processBlock':function(_0x2f4cdf,_0x3d3d9f){var _0x112084=_0x5f56dd,_0x295339=this[_0x112084(0x2ed)],_0x518862=_0x295339[_0x112084(0x357)],_0x5eb854=_0x2f4cdf[_0x112084(0x13d)](_0x3d3d9f,_0x3d3d9f+_0x518862);_0x295339[_0x112084(0x1c8)](_0x2f4cdf,_0x3d3d9f),_0x30e601[_0x112084(0x2d3)](this,_0x2f4cdf,_0x3d3d9f,_0x518862),this['_prevBlock']=_0x5eb854;}});function _0x30e601(_0x221586,_0x39c963,_0xdadfa){var _0x180848=_0x5f56dd,_0x479eea,_0x1a948f=this[_0x180848(0x34a)];_0x1a948f?(_0x479eea=_0x1a948f,this['_iv']=_0x2dd33f):_0x479eea=this[_0x180848(0x121)];for(var _0x4eebd6=0x0;_0x4eebd6<_0xdadfa;_0x4eebd6++)_0x221586[_0x39c963+_0x4eebd6]^=_0x479eea[_0x4eebd6];}return _0x4f8965;}()),_0x43d20d=_0x225d80[_0x219e0e(0x33b)]={},_0x36861c=_0x43d20d[_0x219e0e(0x1c0)]={'pad':function(_0x3ba31d,_0x599453){var _0x4711db=_0x219e0e;for(var _0x36ccc5=_0x599453*0x4,_0x32f2c8=_0x36ccc5-_0x3ba31d[_0x4711db(0x15e)]%_0x36ccc5,_0x19a7cd=_0x32f2c8<<0x18|_0x32f2c8<<0x10|_0x32f2c8<<0x8|_0x32f2c8,_0x35174a=[],_0x5b4531=0x0;_0x5b4531<_0x32f2c8;_0x5b4531+=0x4)_0x35174a[_0x4711db(0x228)](_0x19a7cd);var _0xd1288a=_0x1785a5[_0x4711db(0x138)](_0x35174a,_0x32f2c8);_0x3ba31d[_0x4711db(0x336)](_0xd1288a);},'unpad':function(_0x207a5c){var _0x17fb5e=_0x219e0e,_0x5a513b=_0x207a5c[_0x17fb5e(0x2d4)][_0x207a5c['sigBytes']-0x1>>>0x2]&0xff;_0x207a5c[_0x17fb5e(0x15e)]-=_0x5a513b;}};_0x501232['BlockCipher']=_0x969315[_0x219e0e(0x251)]({'cfg':_0x969315[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'mode':_0x52038b,'padding':_0x36861c}),'reset':function(){var _0x3b93f4=_0x219e0e,_0x444415;_0x969315[_0x3b93f4(0x1a8)]['call'](this);var _0x34f6ac=this[_0x3b93f4(0x3f1)],_0x4286be=_0x34f6ac['iv'],_0x78ae8b=_0x34f6ac['mode'];this[_0x3b93f4(0x320)]==this['_ENC_XFORM_MODE']?_0x444415=_0x78ae8b[_0x3b93f4(0x1ed)]:(_0x444415=_0x78ae8b[_0x3b93f4(0x457)],this[_0x3b93f4(0x2e4)]=0x1),this[_0x3b93f4(0x28c)]&&this[_0x3b93f4(0x28c)]['__creator']==_0x444415?this[_0x3b93f4(0x28c)][_0x3b93f4(0x281)](this,_0x4286be&&_0x4286be['words']):(this[_0x3b93f4(0x28c)]=_0x444415[_0x3b93f4(0x2d3)](_0x78ae8b,this,_0x4286be&&_0x4286be['words']),this[_0x3b93f4(0x28c)][_0x3b93f4(0x157)]=_0x444415);},'_doProcessBlock':function(_0x5847ba,_0x26b598){var _0x50d511=_0x219e0e;this['_mode'][_0x50d511(0x1f7)](_0x5847ba,_0x26b598);},'_doFinalize':function(){var _0x1cb21a=_0x219e0e,_0x1473eb,_0x241241=this[_0x1cb21a(0x3f1)][_0x1cb21a(0x39a)];return this[_0x1cb21a(0x320)]==this[_0x1cb21a(0x200)]?(_0x241241[_0x1cb21a(0x33b)](this['_data'],this[_0x1cb21a(0x357)]),_0x1473eb=this[_0x1cb21a(0x349)](!0x0)):(_0x1473eb=this[_0x1cb21a(0x349)](!0x0),_0x241241['unpad'](_0x1473eb)),_0x1473eb;},'blockSize':0x80/0x20});var _0x2fb406=_0x501232['CipherParams']=_0xf6a146[_0x219e0e(0x251)]({'init':function(_0x10004d){var _0x3bdf52=_0x219e0e;this[_0x3bdf52(0x297)](_0x10004d);},'toString':function(_0x52dabe){var _0x51b504=_0x219e0e;return(_0x52dabe||this[_0x51b504(0x20b)])[_0x51b504(0x19e)](this);}}),_0x15ecd1=_0x225d80[_0x219e0e(0x3df)]={},_0x8a2dee=_0x15ecd1[_0x219e0e(0x3a1)]={'stringify':function(_0x11f551){var _0x27bb94=_0x219e0e,_0x5636e3,_0x6c7335=_0x11f551['ciphertext'],_0x3760d0=_0x11f551[_0x27bb94(0x380)];return _0x3760d0?_0x5636e3=_0x1785a5['create']([0x53616c74,0x65645f5f])[_0x27bb94(0x336)](_0x3760d0)[_0x27bb94(0x336)](_0x6c7335):_0x5636e3=_0x6c7335,_0x5636e3[_0x27bb94(0x43f)](_0x3a5c4b);},'parse':function(_0x63fd3e){var _0x449909=_0x219e0e,_0x546c97,_0x40fc9d=_0x3a5c4b[_0x449909(0x241)](_0x63fd3e),_0x52b80f=_0x40fc9d[_0x449909(0x2d4)];return _0x52b80f[0x0]==0x53616c74&&_0x52b80f[0x1]==0x65645f5f&&(_0x546c97=_0x1785a5['create'](_0x52b80f[_0x449909(0x13d)](0x2,0x4)),_0x52b80f[_0x449909(0x3e4)](0x0,0x4),_0x40fc9d[_0x449909(0x15e)]-=0x10),_0x2fb406[_0x449909(0x138)]({'ciphertext':_0x40fc9d,'salt':_0x546c97});}},_0x5f8621=_0x501232[_0x219e0e(0x439)]=_0xf6a146[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)]({'format':_0x8a2dee}),'encrypt':function(_0x299dee,_0x2520f8,_0x44af8c,_0x5aa9f3){var _0x10ff99=_0x219e0e;_0x5aa9f3=this['cfg'][_0x10ff99(0x251)](_0x5aa9f3);var _0x3cfee7=_0x299dee['createEncryptor'](_0x44af8c,_0x5aa9f3),_0x5a53c0=_0x3cfee7[_0x10ff99(0xd4)](_0x2520f8),_0x44eccb=_0x3cfee7[_0x10ff99(0x3f1)];return _0x2fb406[_0x10ff99(0x138)]({'ciphertext':_0x5a53c0,'key':_0x44af8c,'iv':_0x44eccb['iv'],'algorithm':_0x299dee,'mode':_0x44eccb[_0x10ff99(0x292)],'padding':_0x44eccb['padding'],'blockSize':_0x299dee[_0x10ff99(0x357)],'formatter':_0x5aa9f3[_0x10ff99(0x3df)]});},'decrypt':function(_0x56c1e4,_0x3583eb,_0x1c4b3e,_0x330325){var _0x2e6d9f=_0x219e0e;_0x330325=this[_0x2e6d9f(0x3f1)]['extend'](_0x330325),_0x3583eb=this['_parse'](_0x3583eb,_0x330325[_0x2e6d9f(0x3df)]);var _0x307464=_0x56c1e4[_0x2e6d9f(0x457)](_0x1c4b3e,_0x330325)['finalize'](_0x3583eb[_0x2e6d9f(0x2d8)]);return _0x307464;},'_parse':function(_0x14d4aa,_0x3720a4){var _0x3ee868=_0x219e0e;return typeof _0x14d4aa==_0x3ee868(0x446)?_0x3720a4[_0x3ee868(0x241)](_0x14d4aa,this):_0x14d4aa;}}),_0x3cbe2c=_0x225d80['kdf']={},_0xebed5f=_0x3cbe2c[_0x219e0e(0x3a1)]={'execute':function(_0x9cbd0a,_0x5abdf0,_0x81e804,_0x267b9d,_0x6c707f){var _0x56b948=_0x219e0e;if(_0x267b9d||(_0x267b9d=_0x1785a5[_0x56b948(0x1d3)](0x40/0x8)),_0x6c707f)var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804,'hasher':_0x6c707f})['compute'](_0x9cbd0a,_0x267b9d);else var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804})[_0x56b948(0x25e)](_0x9cbd0a,_0x267b9d);var _0x1ebbcf=_0x1785a5[_0x56b948(0x138)](_0x158d00[_0x56b948(0x2d4)][_0x56b948(0x13d)](_0x5abdf0),_0x81e804*0x4);return _0x158d00[_0x56b948(0x15e)]=_0x5abdf0*0x4,_0x2fb406['create']({'key':_0x158d00,'iv':_0x1ebbcf,'salt':_0x267b9d});}},_0x2bae81=_0x501232[_0x219e0e(0x184)]=_0x5f8621[_0x219e0e(0x251)]({'cfg':_0x5f8621[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'kdf':_0xebed5f}),'encrypt':function(_0x4d6655,_0x661da,_0x1debcc,_0x3dd89d){var _0x54a736=_0x219e0e;_0x3dd89d=this['cfg']['extend'](_0x3dd89d);var _0x302c07=_0x3dd89d['kdf'][_0x54a736(0x266)](_0x1debcc,_0x4d6655[_0x54a736(0x1f0)],_0x4d6655[_0x54a736(0x26b)],_0x3dd89d[_0x54a736(0x380)],_0x3dd89d[_0x54a736(0x32c)]);_0x3dd89d['iv']=_0x302c07['iv'];var _0x1cde5a=_0x5f8621[_0x54a736(0x322)][_0x54a736(0x2d3)](this,_0x4d6655,_0x661da,_0x302c07[_0x54a736(0xd7)],_0x3dd89d);return _0x1cde5a['mixIn'](_0x302c07),_0x1cde5a;},'decrypt':function(_0x363569,_0x5b73ba,_0xd16451,_0x65caf9){var _0x3450fb=_0x219e0e;_0x65caf9=this[_0x3450fb(0x3f1)][_0x3450fb(0x251)](_0x65caf9),_0x5b73ba=this['_parse'](_0x5b73ba,_0x65caf9['format']);var _0x1d2f85=_0x65caf9['kdf'][_0x3450fb(0x266)](_0xd16451,_0x363569[_0x3450fb(0x1f0)],_0x363569[_0x3450fb(0x26b)],_0x5b73ba['salt'],_0x65caf9['hasher']);_0x65caf9['iv']=_0x1d2f85['iv'];var _0x285cef=_0x5f8621[_0x3450fb(0x412)]['call'](this,_0x363569,_0x5b73ba,_0x1d2f85[_0x3450fb(0xd7)],_0x65caf9);return _0x285cef;}});}();}));}(Te)),Te[_0x94129c(0x172)];}var ri=Se[_0x23fcf5(0x172)],ot;function si(){var _0x3fc6d3=_0x23fcf5;return ot||(ot=0x1,function(_0x49c29e,_0x1ecb0b){(function(_0x51b496,_0x396f66,_0x391bb7){var _0x299a50=_0x4d81;_0x49c29e[_0x299a50(0x172)]=_0x396f66(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4071f2){var _0x3b2c08=_0x4d81;return(function(){var _0x504d8a=_0x4d81,_0x1816f1=_0x4071f2,_0x3a109b=_0x1816f1[_0x504d8a(0x235)],_0x5d1fa8=_0x3a109b[_0x504d8a(0x3c7)],_0x77a44e=_0x1816f1[_0x504d8a(0x290)],_0x132559=[],_0x354721=[],_0x212ddb=[],_0x2b35a2=[],_0x5bfa72=[],_0x2a2deb=[],_0x10b4df=[],_0x2a9475=[],_0x488266=[],_0x30f2e1=[];(function(){for(var _0x216b64=[],_0x51840d=0x0;_0x51840d<0x100;_0x51840d++)_0x51840d<0x80?_0x216b64[_0x51840d]=_0x51840d<<0x1:_0x216b64[_0x51840d]=_0x51840d<<0x1^0x11b;for(var _0x3a8db6=0x0,_0x1f7542=0x0,_0x51840d=0x0;_0x51840d<0x100;_0x51840d++){var _0x204937=_0x1f7542^_0x1f7542<<0x1^_0x1f7542<<0x2^_0x1f7542<<0x3^_0x1f7542<<0x4;_0x204937=_0x204937>>>0x8^_0x204937&0xff^0x63,_0x132559[_0x3a8db6]=_0x204937,_0x354721[_0x204937]=_0x3a8db6;var _0x963084=_0x216b64[_0x3a8db6],_0x1e4a44=_0x216b64[_0x963084],_0x1c1afc=_0x216b64[_0x1e4a44],_0x4ab211=_0x216b64[_0x204937]*0x101^_0x204937*0x1010100;_0x212ddb[_0x3a8db6]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2b35a2[_0x3a8db6]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x5bfa72[_0x3a8db6]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x2a2deb[_0x3a8db6]=_0x4ab211;var _0x4ab211=_0x1c1afc*0x1010101^_0x1e4a44*0x10001^_0x963084*0x101^_0x3a8db6*0x1010100;_0x10b4df[_0x204937]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2a9475[_0x204937]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x488266[_0x204937]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x30f2e1[_0x204937]=_0x4ab211,_0x3a8db6?(_0x3a8db6=_0x963084^_0x216b64[_0x216b64[_0x216b64[_0x1c1afc^_0x963084]]],_0x1f7542^=_0x216b64[_0x216b64[_0x1f7542]]):_0x3a8db6=_0x1f7542=0x1;}}());var _0xf529db=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5edfaa=_0x77a44e[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x251)]({'_doReset':function(){var _0x2e8fd0=_0x504d8a,_0x146629;if(!(this['_nRounds']&&this[_0x2e8fd0(0x2a0)]===this[_0x2e8fd0(0x373)])){for(var _0xc507a8=this[_0x2e8fd0(0x2a0)]=this[_0x2e8fd0(0x373)],_0x234e40=_0xc507a8[_0x2e8fd0(0x2d4)],_0xf77370=_0xc507a8[_0x2e8fd0(0x15e)]/0x4,_0x3b25f0=this[_0x2e8fd0(0x386)]=_0xf77370+0x6,_0x1f8fd6=(_0x3b25f0+0x1)*0x4,_0x39432e=this[_0x2e8fd0(0x17c)]=[],_0x188cd7=0x0;_0x188cd7<_0x1f8fd6;_0x188cd7++)_0x188cd7<_0xf77370?_0x39432e[_0x188cd7]=_0x234e40[_0x188cd7]:(_0x146629=_0x39432e[_0x188cd7-0x1],_0x188cd7%_0xf77370?_0xf77370>0x6&&_0x188cd7%_0xf77370==0x4&&(_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff]):(_0x146629=_0x146629<<0x8|_0x146629>>>0x18,_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff],_0x146629^=_0xf529db[_0x188cd7/_0xf77370|0x0]<<0x18),_0x39432e[_0x188cd7]=_0x39432e[_0x188cd7-_0xf77370]^_0x146629);for(var _0x7514a7=this[_0x2e8fd0(0x16f)]=[],_0x2ff5a1=0x0;_0x2ff5a1<_0x1f8fd6;_0x2ff5a1++){var _0x188cd7=_0x1f8fd6-_0x2ff5a1;if(_0x2ff5a1%0x4)var _0x146629=_0x39432e[_0x188cd7];else var _0x146629=_0x39432e[_0x188cd7-0x4];_0x2ff5a1<0x4||_0x188cd7<=0x4?_0x7514a7[_0x2ff5a1]=_0x146629:_0x7514a7[_0x2ff5a1]=_0x10b4df[_0x132559[_0x146629>>>0x18]]^_0x2a9475[_0x132559[_0x146629>>>0x10&0xff]]^_0x488266[_0x132559[_0x146629>>>0x8&0xff]]^_0x30f2e1[_0x132559[_0x146629&0xff]];}}},'encryptBlock':function(_0x3e128f,_0x31cda2){var _0x29604f=_0x504d8a;this[_0x29604f(0x1bf)](_0x3e128f,_0x31cda2,this['_keySchedule'],_0x212ddb,_0x2b35a2,_0x5bfa72,_0x2a2deb,_0x132559);},'decryptBlock':function(_0x1b4506,_0x3120a2){var _0x35a7b2=_0x504d8a,_0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3,this['_doCryptBlock'](_0x1b4506,_0x3120a2,this[_0x35a7b2(0x16f)],_0x10b4df,_0x2a9475,_0x488266,_0x30f2e1,_0x354721);var _0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3;},'_doCryptBlock':function(_0x50b13e,_0x1dbd8b,_0x540c51,_0x448bbc,_0x38e15b,_0x2cbcb1,_0x1cde18,_0x52d7b4){var _0x516683=_0x504d8a;for(var _0x1de325=this[_0x516683(0x386)],_0x350817=_0x50b13e[_0x1dbd8b]^_0x540c51[0x0],_0x5410cb=_0x50b13e[_0x1dbd8b+0x1]^_0x540c51[0x1],_0x3aa499=_0x50b13e[_0x1dbd8b+0x2]^_0x540c51[0x2],_0x11fb5f=_0x50b13e[_0x1dbd8b+0x3]^_0x540c51[0x3],_0x570bd8=0x4,_0x36a803=0x1;_0x36a803<_0x1de325;_0x36a803++){var _0x216d49=_0x448bbc[_0x350817>>>0x18]^_0x38e15b[_0x5410cb>>>0x10&0xff]^_0x2cbcb1[_0x3aa499>>>0x8&0xff]^_0x1cde18[_0x11fb5f&0xff]^_0x540c51[_0x570bd8++],_0x3436cd=_0x448bbc[_0x5410cb>>>0x18]^_0x38e15b[_0x3aa499>>>0x10&0xff]^_0x2cbcb1[_0x11fb5f>>>0x8&0xff]^_0x1cde18[_0x350817&0xff]^_0x540c51[_0x570bd8++],_0x59df55=_0x448bbc[_0x3aa499>>>0x18]^_0x38e15b[_0x11fb5f>>>0x10&0xff]^_0x2cbcb1[_0x350817>>>0x8&0xff]^_0x1cde18[_0x5410cb&0xff]^_0x540c51[_0x570bd8++],_0x12098e=_0x448bbc[_0x11fb5f>>>0x18]^_0x38e15b[_0x350817>>>0x10&0xff]^_0x2cbcb1[_0x5410cb>>>0x8&0xff]^_0x1cde18[_0x3aa499&0xff]^_0x540c51[_0x570bd8++];_0x350817=_0x216d49,_0x5410cb=_0x3436cd,_0x3aa499=_0x59df55,_0x11fb5f=_0x12098e;}var _0x216d49=(_0x52d7b4[_0x350817>>>0x18]<<0x18|_0x52d7b4[_0x5410cb>>>0x10&0xff]<<0x10|_0x52d7b4[_0x3aa499>>>0x8&0xff]<<0x8|_0x52d7b4[_0x11fb5f&0xff])^_0x540c51[_0x570bd8++],_0x3436cd=(_0x52d7b4[_0x5410cb>>>0x18]<<0x18|_0x52d7b4[_0x3aa499>>>0x10&0xff]<<0x10|_0x52d7b4[_0x11fb5f>>>0x8&0xff]<<0x8|_0x52d7b4[_0x350817&0xff])^_0x540c51[_0x570bd8++],_0x59df55=(_0x52d7b4[_0x3aa499>>>0x18]<<0x18|_0x52d7b4[_0x11fb5f>>>0x10&0xff]<<0x10|_0x52d7b4[_0x350817>>>0x8&0xff]<<0x8|_0x52d7b4[_0x5410cb&0xff])^_0x540c51[_0x570bd8++],_0x12098e=(_0x52d7b4[_0x11fb5f>>>0x18]<<0x18|_0x52d7b4[_0x350817>>>0x10&0xff]<<0x10|_0x52d7b4[_0x5410cb>>>0x8&0xff]<<0x8|_0x52d7b4[_0x3aa499&0xff])^_0x540c51[_0x570bd8++];_0x50b13e[_0x1dbd8b]=_0x216d49,_0x50b13e[_0x1dbd8b+0x1]=_0x3436cd,_0x50b13e[_0x1dbd8b+0x2]=_0x59df55,_0x50b13e[_0x1dbd8b+0x3]=_0x12098e;},'keySize':0x100/0x20});_0x1816f1[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x2ab)](_0x5edfaa);}()),_0x4071f2[_0x3b2c08(0xef)];}));}(Se)),Se[_0x3fc6d3(0x172)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x23fcf5(0x172)],ct;function li(){return ct||(ct=0x1,function(_0x4af181,_0x571e4c){(function(_0x2dbb36,_0x4f9fc0){_0x4af181['exports']=_0x4f9fc0(ee());}(hi,function(_0x5a5f90){return _0x5a5f90['enc']['Utf8'];}));}(be)),be['exports'];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x58654f=_0x23fcf5;return ht||(ht=0x1,function(_0x464506,_0x54a03b){(function(_0x4699da,_0xc66811){_0x464506['exports']=_0xc66811(ee());}(di,function(_0x38985f){var _0x445832=_0x4d81;return(function(){var _0x405f8b=_0x4d81;if(typeof ArrayBuffer==_0x405f8b(0x1a6)){var _0x3e390e=_0x38985f,_0xf5734=_0x3e390e[_0x405f8b(0x235)],_0x5ddd2d=_0xf5734[_0x405f8b(0x298)],_0x15307b=_0x5ddd2d[_0x405f8b(0x281)],_0x4b1053=_0x5ddd2d[_0x405f8b(0x281)]=function(_0x26f152){var _0x31396a=_0x405f8b;if(_0x26f152 instanceof ArrayBuffer&&(_0x26f152=new Uint8Array(_0x26f152)),(_0x26f152 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26f152 instanceof Uint8ClampedArray||_0x26f152 instanceof Int16Array||_0x26f152 instanceof Uint16Array||_0x26f152 instanceof Int32Array||_0x26f152 instanceof Uint32Array||_0x26f152 instanceof Float32Array||_0x26f152 instanceof Float64Array)&&(_0x26f152=new Uint8Array(_0x26f152['buffer'],_0x26f152[_0x31396a(0x22f)],_0x26f152[_0x31396a(0x42b)])),_0x26f152 instanceof Uint8Array){for(var _0x8f91e9=_0x26f152[_0x31396a(0x42b)],_0x2f9137=[],_0x539299=0x0;_0x539299<_0x8f91e9;_0x539299++)_0x2f9137[_0x539299>>>0x2]|=_0x26f152[_0x539299]<<0x18-_0x539299%0x4*0x8;_0x15307b[_0x31396a(0x2d3)](this,_0x2f9137,_0x8f91e9);}else _0x15307b[_0x31396a(0x223)](this,arguments);};_0x4b1053['prototype']=_0x5ddd2d;}}()),_0x38985f[_0x445832(0x235)][_0x445832(0x298)];}));}(Re)),Re[_0x58654f(0x172)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x23fcf5(0x172)],lt;function mi(){var _0x44b677=_0x23fcf5;return lt||(lt=0x1,function(_0x2b019c,_0x262e5b){(function(_0x39d260,_0x778d8e,_0x3eef9f){var _0x183b11=_0x4d81;_0x2b019c[_0x183b11(0x172)]=_0x778d8e(ee(),At());}(pi,function(_0x2aef66){var _0x2e1627=_0x4d81;return _0x2aef66[_0x2e1627(0x33b)][_0x2e1627(0xfa)]={'pad':function(){},'unpad':function(){}},_0x2aef66[_0x2e1627(0x33b)]['NoPadding'];}));}(Oe)),Oe[_0x44b677(0x172)];}var gi=mi();const Ii=fe(gi);function Ei(_0x3c1df7,_0x53a47c){var _0x123ec9=_0x23fcf5;const _0xe1b81=_0x53a47c-_0x3c1df7[_0x123ec9(0x358)]%_0x53a47c,_0x23d155=String[_0x123ec9(0x1be)](_0xe1b81)[_0x123ec9(0xd5)](_0xe1b81);return _0x3c1df7+_0x23d155;}function Ci(_0x51bdb4,_0x55852a){var _0x35a5e4=_0x23fcf5;const _0x1febf1=Si[_0x35a5e4(0x1d3)](0x10),_0x49fe2a=Ei(_0x51bdb4,0x10),_0x304eed=ai[_0x35a5e4(0x322)](ui[_0x35a5e4(0x241)](_0x49fe2a),at[_0x35a5e4(0x241)](_0x55852a),{'iv':_0x1febf1,'padding':Ii});return _0x1febf1['concat'](_0x304eed[_0x35a5e4(0x2d8)])[_0x35a5e4(0x43f)](at);}function Ti(){var _0x2ae5a5=_0x23fcf5;const _0xe76b5b=$t[_0x2ae5a5(0x2c3)]()[_0x2ae5a5(0x37b)];if(_0xe76b5b){const _0x4f83ca={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x2ae5a5(0x3d9)]};return Ci(JSON[_0x2ae5a5(0x19e)](_0x4f83ca),_0xe76b5b);}}var bi=Object[_0x23fcf5(0x14d)],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x489c9c,_0x43310e,_0x48ff96,_0x589002)=>{var _0x11edf7=_0x23fcf5;for(var _0x244612=_0x589002>0x1?void 0x0:_0x589002?Ri(_0x43310e,_0x48ff96):_0x43310e,_0x30ba30=_0x489c9c[_0x11edf7(0x358)]-0x1,_0x5b10d7;_0x30ba30>=0x0;_0x30ba30--)(_0x5b10d7=_0x489c9c[_0x30ba30])&&(_0x244612=(_0x589002?_0x5b10d7(_0x43310e,_0x48ff96,_0x244612):_0x5b10d7(_0x244612))||_0x244612);return _0x589002&&_0x244612&&bi(_0x43310e,_0x48ff96,_0x244612),_0x244612;},yi=(_0x5a7bab,_0x224ba4)=>(_0xb4f00c,_0x5f12f6)=>_0x224ba4(_0xb4f00c,_0x5f12f6,_0x5a7bab);let Ne=class{constructor(_0x23967d){var _0x448c0f=_0x23fcf5;this[_0x448c0f(0x418)]=_0x23967d,this[_0x448c0f(0x294)]();}[_0x23fcf5(0x294)](){var _0x12fcae=_0x23fcf5;this[_0x12fcae(0x418)][_0x12fcae(0x12e)]({'interceptor':(_0x5c8095,_0x118fb2)=>{var _0x1b6240=_0x12fcae;const _0x5436fe=_0x5c8095[_0x1b6240(0x245)],_0x32a723=Ti();return _0x32a723&&_0x5436fe['set']('x-univer-host',_0x32a723),_0x118fb2(_0x5c8095);}});}};Ne=Oi([yi(0x0,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],Ne);var Ni=Object[_0x23fcf5(0x14d)],Ui=Object[_0x23fcf5(0x291)],Pi=(_0x5edffc,_0x1404b3,_0x27f0cd,_0x5ba7cd)=>{for(var _0x50343f=_0x5ba7cd>0x1?void 0x0:_0x5ba7cd?Ui(_0x1404b3,_0x27f0cd):_0x1404b3,_0x527e4b=_0x5edffc['length']-0x1,_0x27cd8b;_0x527e4b>=0x0;_0x527e4b--)(_0x27cd8b=_0x5edffc[_0x527e4b])&&(_0x50343f=(_0x5ba7cd?_0x27cd8b(_0x1404b3,_0x27f0cd,_0x50343f):_0x27cd8b(_0x50343f))||_0x50343f);return _0x5ba7cd&&_0x50343f&&Ni(_0x1404b3,_0x27f0cd,_0x50343f),_0x50343f;},Me=(_0x2244d0,_0x2313a2)=>(_0x4b0052,_0x4afe11)=>_0x2313a2(_0x4b0052,_0x4afe11,_0x2244d0);exports[_0x23fcf5(0x37d)]=class extends a['RxDisposable']{constructor(_0x31a1cd,_0xec5ade,_0x3d969e){var _0x812f5f=_0x23fcf5;super(),D(this,_0x812f5f(0x25f),new H[(_0x812f5f(0x413))](null)),D(this,_0x812f5f(0x3c3),this[_0x812f5f(0x25f)][_0x812f5f(0x1cf)]()),(this[_0x812f5f(0x447)]=_0x31a1cd,this[_0x812f5f(0x1bb)]=_0xec5ade,this[_0x812f5f(0x15d)]=_0x3d969e);}async['loadUnit'](_0x56b690,_0x1d1c7e,_0x4910a2){var _0x210ff=_0x23fcf5;this[_0x210ff(0x25f)][_0x210ff(0x275)]({'unitId':_0x56b690,'type':_0x1d1c7e,'subUnitId':_0x4910a2});let _0x385b73=null;switch(_0x1d1c7e){case Z[_0x210ff(0x1b5)]:{_0x385b73=await this['_loadSheet'](_0x56b690);break;}case Z[_0x210ff(0x19a)]:{_0x385b73=await this[_0x210ff(0x1b0)](_0x56b690);break;}default:{this[_0x210ff(0x447)]['error'](_0x210ff(0x11b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x385b73;}async['_loadSheet'](_0x5245f1){var _0x1070dc=_0x23fcf5,_0x33299f;let _0x48c238=0x0;const _0x47d286=await((_0x33299f=this[_0x1070dc(0x15d)])==null?void 0x0:_0x33299f['loadOfflineData'](_0x5245f1));return _0x47d286&&(_0x47d286['awaitingChangeset']||_0x47d286[_0x1070dc(0x33a)][_0x1070dc(0x358)]!==0x0)&&(_0x48c238=_0x47d286[_0x1070dc(0x3d3)]),_0x48c238===0x0&&this[_0x1070dc(0x447)][_0x1070dc(0x44f)](_0x1070dc(0x11b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1070dc(0x1bb)]['loadSheet'](_0x5245f1,_0x48c238);}async['_loadDoc'](_0x56cf55){var _0x1c3790=_0x23fcf5,_0x1cf0ec;let _0x43801a=0x0;const _0x58e91c=await((_0x1cf0ec=this['_localCacheService'])==null?void 0x0:_0x1cf0ec[_0x1c3790(0x34b)](_0x56cf55));return _0x58e91c&&(_0x58e91c[_0x1c3790(0x35f)]||_0x58e91c['mutations'][_0x1c3790(0x358)]!==0x0)&&(_0x43801a=_0x58e91c[_0x1c3790(0x3d3)]),_0x43801a===0x0&&this[_0x1c3790(0x447)]['debug'](_0x1c3790(0x11b),_0x1c3790(0x33e)),this['_snapshotService'][_0x1c3790(0x351)](_0x56cf55,_0x43801a);}},exports['DataLoaderService']=Pi([Me(0x0,a[_0x23fcf5(0x21d)]),Me(0x1,a[_0x23fcf5(0x11a)](m['SnapshotService'])),Me(0x2,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x37d)]);var Di=Object[_0x23fcf5(0x14d)],wi=Object[_0x23fcf5(0x291)],Ai=(_0x399516,_0x34dfa2,_0x3d7992,_0xd573c)=>{var _0x315a68=_0x23fcf5;for(var _0x5e7e1e=_0xd573c>0x1?void 0x0:_0xd573c?wi(_0x34dfa2,_0x3d7992):_0x34dfa2,_0x2f3dd2=_0x399516[_0x315a68(0x358)]-0x1,_0x64f040;_0x2f3dd2>=0x0;_0x2f3dd2--)(_0x64f040=_0x399516[_0x2f3dd2])&&(_0x5e7e1e=(_0xd573c?_0x64f040(_0x34dfa2,_0x3d7992,_0x5e7e1e):_0x64f040(_0x5e7e1e))||_0x5e7e1e);return _0xd573c&&_0x5e7e1e&&Di(_0x34dfa2,_0x3d7992,_0x5e7e1e),_0x5e7e1e;},xe=(_0x33551a,_0x4642b0)=>(_0x3649b0,_0x539615)=>_0x4642b0(_0x3649b0,_0x539615,_0x33551a);const Li=[_0x23fcf5(0xf4),_0x23fcf5(0x355),_0x23fcf5(0xe9),'image/gif',_0x23fcf5(0x354)],Mi=0x5*0x400*0x400,xi=_0x23fcf5(0x449),ji='/universer-api/stream/file/upload',$i=_0x23fcf5(0x306),Hi=_0x23fcf5(0x109);exports[_0x23fcf5(0x43a)]=class{constructor(_0x24ba4f,_0x1c66b0,_0x29ba31){var _0x556e05=_0x23fcf5;D(this,_0x556e05(0x310),0x0),D(this,_0x556e05(0x178),new H[(_0x556e05(0x227))]()),D(this,_0x556e05(0xd8),this[_0x556e05(0x178)]),D(this,_0x556e05(0xfb),new Map()),(this['_httpService']=_0x24ba4f,this[_0x556e05(0x194)]=_0x1c66b0,this['_univerInstanceService']=_0x29ba31);}[_0x23fcf5(0x25a)](_0x56974c){var _0xb3bc75=_0x23fcf5;this[_0xb3bc75(0x310)]=_0x56974c,this['_change$'][_0xb3bc75(0x275)](_0x56974c);}['getImageSourceCache'](_0x534ec7,_0x45b34d){var _0x64f57b=_0x23fcf5;if(_0x45b34d===X['ImageSourceType']['BASE64']){const _0x27d419=new Image();return _0x27d419[_0x64f57b(0x26f)]=_0x534ec7,_0x27d419;}return this[_0x64f57b(0xfb)][_0x64f57b(0x11c)](_0x534ec7);}[_0x23fcf5(0x3db)](_0xe1064f,_0x4cd3ff,_0x4064f6){var _0x234167=_0x23fcf5;_0x4cd3ff===X[_0x234167(0x1ef)][_0x234167(0x2a6)]||_0x4064f6==null||this['_imageSourceCache'][_0x234167(0x2ec)](_0xe1064f,_0x4064f6);}async[_0x23fcf5(0x212)](_0x1853bd){var _0x4602e3=_0x23fcf5;try{const _0x5dc55e=this[_0x4602e3(0x37c)](this[_0x4602e3(0x1ea)](),''+_0x1853bd),_0x300494=(await this[_0x4602e3(0x418)]['get'](_0x5dc55e))[_0x4602e3(0x3b1)];if(_0x300494['error']&&_0x300494[_0x4602e3(0x39b)]['code']===Tt['OK']){const _0x10cb83=new URL(_0x300494['url'],this[_0x4602e3(0x115)]())[_0x4602e3(0x43f)]();return Promise[_0x4602e3(0x128)](_0x10cb83);}return Promise[_0x4602e3(0x2a2)](_0x300494[_0x4602e3(0x39b)]);}catch(_0x395006){return Promise[_0x4602e3(0x2a2)](_0x395006);}}async[_0x23fcf5(0x40a)](_0x21627a){var _0x3af5e8=_0x23fcf5;let _0x3b6c0c='';if(!Li[_0x3af5e8(0x2af)](_0x21627a[_0x3af5e8(0x21a)]))return this[_0x3af5e8(0x240)](),Promise['reject'](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x21627a[_0x3af5e8(0xf3)]>Mi)return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x10a)]));try{const _0x298c2d=new FormData();_0x298c2d['append'](_0x3af5e8(0x417),_0x21627a);const _0xeabcf2=this[_0x3af5e8(0x3ce)][_0x3af5e8(0x192)](),_0x24d63d=_0xeabcf2==null?void 0x0:_0xeabcf2['getUnitId']();if(!_0x24d63d)throw new Error(_0x3af5e8(0x37f));const _0x4291c4=this['_getUploadFileURL']()+_0x3af5e8(0x3bf)+_0x21627a[_0x3af5e8(0xf3)][_0x3af5e8(0x43f)]()+_0x3af5e8(0x27c)+bt['UnitEmbedded']+_0x3af5e8(0x36e)+encodeURIComponent(_0x24d63d),_0x25414e=await(await fetch(_0x4291c4,{'method':_0x3af5e8(0x264),'body':_0x298c2d}))[_0x3af5e8(0xe5)]();if(typeof _0x25414e[_0x3af5e8(0x443)]!=_0x3af5e8(0x446))return this['_decreaseWaiting'](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)]['ERROR_IMAGE']));_0x3b6c0c=_0x25414e[_0x3af5e8(0x443)];}catch{return this[_0x3af5e8(0x240)](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x3d7)]));}return new Promise((_0x527835,_0xd6d4cc)=>{const _0xf42c9e=new FileReader();_0xf42c9e['readAsDataURL'](_0x21627a),_0xf42c9e['onload']=_0x302005=>{var _0x260832=_0x4d81,_0x417d07;const _0x557d16=(_0x417d07=_0x302005['target'])==null?void 0x0:_0x417d07[_0x260832(0x1b9)];if(_0x557d16==null){this[_0x260832(0x240)](),_0xd6d4cc(new Error(X['ImageUploadStatusType'][_0x260832(0x3d7)]));return;}const _0x56b00d=a[_0x260832(0x38d)][_0x260832(0x337)](0x6);_0x527835({'imageId':_0x56b00d,'imageSourceType':X[_0x260832(0x1ef)][_0x260832(0x127)],'source':_0x3b6c0c,'base64Cache':_0x557d16,'status':X[_0x260832(0x277)][_0x260832(0x11f)]}),this[_0x260832(0x240)]();};});}[_0x23fcf5(0x36c)](){var _0x15d82b=_0x23fcf5,_0x313b8e,_0x31ab66;const _0x57f89f=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](xi),_0x4c0a97=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](Y);return(_0x31ab66=(_0x313b8e=_0x4c0a97==null?void 0x0:_0x4c0a97[_0x15d82b(0x196)])!=null?_0x313b8e:_0x57f89f)!=null?_0x31ab66:ji;}[_0x23fcf5(0x1ea)](){var _0x32213f=_0x23fcf5,_0x47847f,_0x291635;const _0x2681f0=this[_0x32213f(0x194)][_0x32213f(0x3d1)]($i),_0x451d60=this[_0x32213f(0x194)]['getConfig'](Y);return(_0x291635=(_0x47847f=_0x451d60==null?void 0x0:_0x451d60['signUrlServerUrl'])!=null?_0x47847f:_0x2681f0)!=null?_0x291635:Hi;}[_0x23fcf5(0x115)](){var _0x25c86a=_0x23fcf5,_0x36874b;const _0x1cb7b8=this[_0x25c86a(0x194)][_0x25c86a(0x3d1)](Y);return(_0x36874b=_0x1cb7b8==null?void 0x0:_0x1cb7b8[_0x25c86a(0x12c)])!=null?_0x36874b:location[_0x25c86a(0x270)];}[_0x23fcf5(0x37c)](_0x4da9ca,_0x2b372a){var _0x472d99=_0x23fcf5;return _0x4da9ca[_0x472d99(0x419)](_0x472d99(0x253),_0x2b372a);}[_0x23fcf5(0x240)](){var _0x3c6d4c=_0x23fcf5;this[_0x3c6d4c(0x310)]-=0x1,this[_0x3c6d4c(0x178)]['next'](this[_0x3c6d4c(0x310)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x133)]))],exports[_0x23fcf5(0x43a)]);var ki=Object[_0x23fcf5(0x14d)],Bi=Object['getOwnPropertyDescriptor'],Fi=(_0x1d9562,_0x2532df,_0x3e8246,_0x41b374)=>{var _0x2502da=_0x23fcf5;for(var _0x364773=_0x41b374>0x1?void 0x0:_0x41b374?Bi(_0x2532df,_0x3e8246):_0x2532df,_0x29accc=_0x1d9562[_0x2502da(0x358)]-0x1,_0x365a6d;_0x29accc>=0x0;_0x29accc--)(_0x365a6d=_0x1d9562[_0x29accc])&&(_0x364773=(_0x41b374?_0x365a6d(_0x2532df,_0x3e8246,_0x364773):_0x365a6d(_0x364773))||_0x364773);return _0x41b374&&_0x364773&&ki(_0x2532df,_0x3e8246,_0x364773),_0x364773;},_t=(_0x9b485c,_0x14a6e9)=>(_0x5769af,_0xe3cb92)=>_0x14a6e9(_0x5769af,_0xe3cb92,_0x9b485c);const Wi=_0x23fcf5(0x210);exports[_0x23fcf5(0x237)]=class{constructor(_0x5b2734,_0x54aa38){var _0x35ab0f=_0x23fcf5;this[_0x35ab0f(0x194)]=_0x5b2734,this[_0x35ab0f(0x18a)]=_0x54aa38;}[_0x23fcf5(0x2f6)](){var _0xa5c0a0=_0x23fcf5,_0x587043,_0x3a2250;const _0x5e83ee=this[_0xa5c0a0(0x194)][_0xa5c0a0(0x3d1)](Ve),_0x331477=this['_configService'][_0xa5c0a0(0x3d1)](Y);return(_0x3a2250=(_0x587043=_0x331477==null?void 0x0:_0x331477[_0xa5c0a0(0x112)])!=null?_0x587043:_0x5e83ee)!=null?_0x3a2250:Wi;}async[_0x23fcf5(0x2f0)](_0x4fa0cb){var _0x3c536c=_0x23fcf5;const _0x520e5c=this[_0x3c536c(0x2f6)]()+_0x3c536c(0x131);return{'list':[{'title':_0x3c536c(0x2cf),'mentions':(await this['_HTTPService']['get'](_0x520e5c,{'params':{'objectID':_0x4fa0cb['unitId'],'unitID':_0x4fa0cb[_0x3c536c(0x44d)]}}))[_0x3c536c(0x3b1)][_0x3c536c(0x110)][_0x3c536c(0x1da)](_0xcf0e42=>({'objectId':_0xcf0e42['id'],'name':_0xcf0e42[_0x3c536c(0x1a7)][_0x3c536c(0xe4)],'metadata':{'icon':_0xcf0e42['subject'][_0x3c536c(0x1c4)]},'label':_0xcf0e42['subject'][_0x3c536c(0xe4)],'objectType':a[_0x3c536c(0x393)][_0x3c536c(0x23e)]})),'metadata':{},'type':a[_0x3c536c(0x393)]['PERSON']}]};}},exports[_0x23fcf5(0x237)]=Fi([_t(0x0,a['Inject'](a[_0x23fcf5(0x17e)])),_t(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],exports[_0x23fcf5(0x237)]);var Gi=Object['defineProperty'],Vi=Object[_0x23fcf5(0x291)],Ki=(_0x51c436,_0x247c83,_0x416c7b,_0x4abae7)=>{var _0x4eda89=_0x23fcf5;for(var _0x3c82aa=_0x4abae7>0x1?void 0x0:_0x4abae7?Vi(_0x247c83,_0x416c7b):_0x247c83,_0x546ec9=_0x51c436[_0x4eda89(0x358)]-0x1,_0x12fd66;_0x546ec9>=0x0;_0x546ec9--)(_0x12fd66=_0x51c436[_0x546ec9])&&(_0x3c82aa=(_0x4abae7?_0x12fd66(_0x247c83,_0x416c7b,_0x3c82aa):_0x12fd66(_0x3c82aa))||_0x3c82aa);return _0x4abae7&&_0x3c82aa&&Gi(_0x247c83,_0x416c7b,_0x3c82aa),_0x3c82aa;},ce=(_0x431a96,_0x4cba16)=>(_0x151f7e,_0x523405)=>_0x4cba16(_0x151f7e,_0x523405,_0x431a96);let Ue=class extends a['RxDisposable']{constructor(_0xc7b461,_0x4bb332,_0x21f76f,_0x5e056f,_0x2b1bf0,_0x65fa78,_0x55b7d1){var _0x55a6b9=_0x23fcf5;super(),this[_0x55a6b9(0x305)]=_0xc7b461,this['_univerInstanceService']=_0x4bb332,this['_permissionService']=_0x21f76f,this[_0x55a6b9(0x346)]=_0x5e056f,this[_0x55a6b9(0x359)]=_0x2b1bf0,this[_0x55a6b9(0x369)]=_0x65fa78,this[_0x55a6b9(0x1c3)]=_0x55b7d1,this[_0x55a6b9(0x132)](),this[_0x55a6b9(0x3b6)]();}[_0x23fcf5(0x3b6)](){var _0x586297=_0x23fcf5;const _0x3eebe2=async _0x5e56df=>{var _0x2e1357=_0x4d81;(await this['_collaborationSessionService']['requireSession'](_0x5e56df))[_0x2e1357(0x3d4)]['pipe'](W['filter'](_0x287f40=>_0x287f40[_0x2e1357(0x21b)]===m['CollaborationEvent']['SHOULD_CLOSE_CONN']),W[_0x2e1357(0x32d)](this[_0x2e1357(0x160)]))[_0x2e1357(0x332)](_0x1e8d9d=>{var _0x489ba1=_0x2e1357;const _0x12ea6e=_0x1e8d9d,{reason:_0x1b2c3b}=_0x12ea6e['data'];this[_0x489ba1(0x359)][_0x489ba1(0x427)]({'id':Q[_0x489ba1(0x1e2)],'data':_0x1b2c3b}),this['_permissionService'][_0x489ba1(0x3dd)](new J[(_0x489ba1(0x3ee))](_0x5e56df)['id'],!0x1),this[_0x489ba1(0x346)]['closeSession'](_0x5e56df);});};H[_0x586297(0x326)](this[_0x586297(0x3ce)][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x1b5)]),this['_univerInstanceService'][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x19a)]))[_0x586297(0x205)](W[_0x586297(0x1da)](_0x21d04b=>_0x21d04b[_0x586297(0x408)]()),W['filter'](_0x45465a=>!a[_0x586297(0x269)](_0x45465a)),W['takeUntil'](this[_0x586297(0x160)]))[_0x586297(0x332)](_0x245508=>{_0x3eebe2(_0x245508);});}[_0x23fcf5(0x132)](){var _0x491878=_0x23fcf5;const _0x2975f4=async _0x1f0063=>{var _0x5e81e4=_0x4d81;const _0x50ab21=await this[_0x5e81e4(0x346)][_0x5e81e4(0x101)](_0x1f0063),_0x3f1fbd=this[_0x5e81e4(0x305)]['get'](J['SheetPermissionInitController']);_0x50ab21[_0x5e81e4(0x3d4)]['pipe'](W[_0x5e81e4(0x23c)](_0x413151=>_0x413151[_0x5e81e4(0x21b)]===m[_0x5e81e4(0x2b5)][_0x5e81e4(0x142)]),W[_0x5e81e4(0x32d)](this[_0x5e81e4(0x160)]))['subscribe'](_0x1ebcd0=>{var _0x44ad87=_0x5e81e4;const _0x41a681=_0x1ebcd0,{objectId:_0x2805f9}=_0x41a681[_0x44ad87(0x406)];_0x2805f9===_0x1f0063?_0x3f1fbd[_0x44ad87(0x2fb)](_0x1f0063):_0x3f1fbd[_0x44ad87(0x3f5)](_0x1f0063,_0x2805f9);});};H[_0x491878(0x326)](this[_0x491878(0x3ce)]['getTypeOfUnitAdded$'](a[_0x491878(0x387)][_0x491878(0x1b5)]),this['_univerInstanceService'][_0x491878(0x399)](a['UniverInstanceType'][_0x491878(0x19a)]))[_0x491878(0x205)](W['map'](_0x5a4d56=>_0x5a4d56[_0x491878(0x408)]()),W[_0x491878(0x23c)](_0x101b16=>!a[_0x491878(0x269)](_0x101b16)),W[_0x491878(0x32d)](this[_0x491878(0x160)]))['subscribe'](_0x402106=>{_0x2975f4(_0x402106);});}};Ue=Ki([ce(0x0,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),ce(0x1,a[_0x23fcf5(0x133)]),ce(0x2,a[_0x23fcf5(0x28b)]),ce(0x3,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x23fcf5(0x163)]),ce(0x6,a[_0x23fcf5(0x2b0)])],Ue);var Yi=Object[_0x23fcf5(0x14d)],qi=Object[_0x23fcf5(0x291)],zi=(_0x16a6fb,_0x22621b,_0x3bde5b,_0x4fbeca)=>{for(var _0x32e1b9=_0x4fbeca>0x1?void 0x0:_0x4fbeca?qi(_0x22621b,_0x3bde5b):_0x22621b,_0x5dc2b9=_0x16a6fb['length']-0x1,_0x50e34c;_0x5dc2b9>=0x0;_0x5dc2b9--)(_0x50e34c=_0x16a6fb[_0x5dc2b9])&&(_0x32e1b9=(_0x4fbeca?_0x50e34c(_0x22621b,_0x3bde5b,_0x32e1b9):_0x50e34c(_0x32e1b9))||_0x32e1b9);return _0x4fbeca&&_0x32e1b9&&Yi(_0x22621b,_0x3bde5b,_0x32e1b9),_0x32e1b9;},ut=(_0x254882,_0x35dbb9)=>(_0x416efd,_0x33245c)=>_0x35dbb9(_0x416efd,_0x33245c,_0x254882);exports['SnapshotServerOverHTTPService']=class{constructor(_0x187dd8,_0xca0125){var _0x17de65=_0x23fcf5;this[_0x17de65(0x194)]=_0x187dd8,this[_0x17de65(0x418)]=_0xca0125;}async[_0x23fcf5(0x3fc)](_0x38a65d,_0x1288d8){var _0x17daa4=_0x23fcf5,_0x21de6b;const {unitID:_0x4465b7,type:_0x16989c,revision:_0x3f74f1=0x0}=_0x1288d8,_0x10508f=this[_0x17daa4(0x3a3)]()+'/'+_0x16989c+_0x17daa4(0x17d)+_0x4465b7+'/rev/'+_0x3f74f1,_0x34eb9a=(await this[_0x17daa4(0x418)][_0x17daa4(0x11c)](_0x10508f))[_0x17daa4(0x3b1)],_0x548619=(_0x21de6b=_0x34eb9a['snapshot'])==null?void 0x0:_0x21de6b['workbook'];if(_0x548619){const _0x4b3064=_0x548619==null?void 0x0:_0x548619[_0x17daa4(0x12b)],_0x26c6ee=m[_0x17daa4(0x1f5)][_0x17daa4(0x220)](m[_0x17daa4(0x3b7)](_0x4b3064));_0x548619[_0x17daa4(0x12b)]=_0x26c6ee,Object['entries'](_0x548619['sheets'])[_0x17daa4(0x28e)](([,_0x34311b])=>{var _0x363d72=_0x17daa4;const _0x45eea4=_0x34311b['originalMeta'],_0x19e38c=m[_0x363d72(0x1f5)]['encode'](m['b64DecodeUnicode'](_0x45eea4));_0x34311b[_0x363d72(0x12b)]=_0x19e38c;});}return _0x34eb9a;}async[_0x23fcf5(0x2e9)](_0x28d32f,_0x3ba9c6){var _0x203124=_0x23fcf5;const {unitID:_0x2a419d,type:_0x39dace,blockID:_0xb20396}=_0x3ba9c6,_0x434a8b=this[_0x203124(0x2b6)]()+'/'+_0x39dace+_0x203124(0x17d)+_0x2a419d+'/block/'+_0xb20396;return(await this[_0x203124(0x418)][_0x203124(0x11c)](_0x434a8b))[_0x203124(0x3b1)];}async[_0x23fcf5(0x106)](_0x2cc488,_0x725487){var _0x43d132=_0x23fcf5;const {unitID:_0x19c991,type:_0x34fd39,blockID:_0x4fc47d}=_0x725487,_0x2c4bca=this[_0x43d132(0x2b6)]()+_0x43d132(0x40b)+_0x34fd39+_0x43d132(0x17d)+_0x19c991+_0x43d132(0x40b)+_0x4fc47d;return(await this[_0x43d132(0x418)][_0x43d132(0x11c)](_0x2c4bca))[_0x43d132(0x3b1)];}async[_0x23fcf5(0x438)](_0x9812aa,_0x3d7cf6){var _0x4dbb9b=_0x23fcf5;const {unitID:_0x455bc0,type:_0x30b36c,from:_0x1f6c40,to:_0x277f74}=_0x3d7cf6,_0xbbf5c6=this[_0x4dbb9b(0x2b6)]()+'/'+_0x30b36c+_0x4dbb9b(0x17d)+_0x455bc0+_0x4dbb9b(0x295)+_0x1f6c40+_0x4dbb9b(0x328)+_0x277f74;return(await this['_httpService']['get'](_0xbbf5c6))[_0x4dbb9b(0x3b1)];}[_0x23fcf5(0x3a3)](){var _0x37d7d7=_0x23fcf5,_0xaea1a2;return(_0xaea1a2=this[_0x37d7d7(0x194)][_0x37d7d7(0x3d1)](ft))!=null?_0xaea1a2:this[_0x37d7d7(0x2b6)]();}['_getAPIPrefix'](){var _0x6c089f=_0x23fcf5,_0x4a9680,_0x2fd1f4;const _0x40a45f=this[_0x6c089f(0x194)]['getConfig'](vt),_0x26002a=this['_configService'][_0x6c089f(0x3d1)](Y);return(_0x2fd1f4=(_0x4a9680=_0x26002a==null?void 0x0:_0x26002a[_0x6c089f(0x420)])!=null?_0x4a9680:_0x40a45f)!=null?_0x2fd1f4:Ht;}async['getResourcesRequest'](_0x1df462,_0x3806fd){var _0x78e8a5=_0x23fcf5;const _0xef721b=_0x78e8a5(0x39f)+_0x3806fd[_0x78e8a5(0x21a)]+_0x78e8a5(0x17d)+_0x3806fd['unitID']+_0x78e8a5(0x12d);return(await this[_0x78e8a5(0x418)]['get'](_0xef721b,{'params':{'resourceId':JSON['stringify'](_0x3806fd[_0x78e8a5(0x27a)])}}))[_0x78e8a5(0x3b1)];}[_0x23fcf5(0x416)](){var _0x296084=_0x23fcf5;throw new Error(_0x296084(0x345));}['saveSheetBlock'](){var _0x256490=_0x23fcf5;throw new Error(_0x256490(0x345));}[_0x23fcf5(0x2f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x23fcf5(0x1f8)](){var _0x44cde5=_0x23fcf5;throw new Error(_0x44cde5(0x345));}[_0x23fcf5(0x257)](){var _0x4701c3=_0x23fcf5;throw new Error(_0x4701c3(0x345));}},exports[_0x23fcf5(0x1e8)]=zi([ut(0x0,a[_0x23fcf5(0x17e)]),ut(0x1,a['Inject'](q[_0x23fcf5(0x3f3)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x23fcf5(0x14d)],Xi=Object[_0x23fcf5(0x291)],Zi=(_0x322b29,_0x4f9bb4,_0xa705e0,_0x4c9173)=>{var _0x595e0c=_0x23fcf5;for(var _0x141b2c=_0x4c9173>0x1?void 0x0:_0x4c9173?Xi(_0x4f9bb4,_0xa705e0):_0x4f9bb4,_0x3e370c=_0x322b29[_0x595e0c(0x358)]-0x1,_0x18bc2e;_0x3e370c>=0x0;_0x3e370c--)(_0x18bc2e=_0x322b29[_0x3e370c])&&(_0x141b2c=(_0x4c9173?_0x18bc2e(_0x4f9bb4,_0xa705e0,_0x141b2c):_0x18bc2e(_0x141b2c))||_0x141b2c);return _0x4c9173&&_0x141b2c&&Ji(_0x4f9bb4,_0xa705e0,_0x141b2c),_0x141b2c;},de=(_0x5aee57,_0x55c02e)=>(_0x4fc199,_0x26c71f)=>_0x55c02e(_0x4fc199,_0x26c71f,_0x5aee57);exports[_0x23fcf5(0x348)]=class extends a[_0x23fcf5(0x284)]{constructor(_0x49fbf7,_0x224d1c,_0x3b468c,_0x38c317,_0x42b962){var _0x3fa28f=_0x23fcf5;super(_0x49fbf7,_0x224d1c,_0x3b468c),this[_0x3fa28f(0x453)]=_0x38c317,this['_logService']=_0x42b962;}['transformUndoRedo'](_0x438ddc,_0x416fb9){var _0x434598=_0x23fcf5;const _0x16c397=this[_0x434598(0x103)](_0x438ddc);if(_0x16c397)try{const _0x485b6b=this[_0x434598(0x29c)](_0x16c397,_0x416fb9);this['_substituteUndoStack'](_0x438ddc,_0x485b6b);}catch(_0x4dc2e5){this[_0x434598(0x447)][_0x434598(0x39b)](_0x434598(0x162),_0x4dc2e5),this[_0x434598(0x259)](_0x438ddc);}const _0x2645b3=this[_0x434598(0x234)](_0x438ddc);if(_0x2645b3)try{const _0x28e7a2=this[_0x434598(0x29c)](_0x2645b3,_0x416fb9);this[_0x434598(0x15a)](_0x438ddc,_0x28e7a2);}catch(_0x13ba0d){this['_logService'][_0x434598(0x39b)](_0x13ba0d),this['_clearRedo'](_0x438ddc);}}[_0x23fcf5(0x259)](_0x4a5b24){var _0x57c095=_0x23fcf5;const _0x405023=this[_0x57c095(0x103)](_0x4a5b24);_0x405023&&(_0x405023[_0x57c095(0x358)]=0x0,this[_0x57c095(0x173)]());}[_0x23fcf5(0x1ca)](_0x168157){var _0x516017=_0x23fcf5;const _0x2556d6=this['_getRedoStack'](_0x168157);_0x2556d6&&(_0x2556d6[_0x516017(0x358)]=0x0,this[_0x516017(0x173)]());}[_0x23fcf5(0x1ec)](_0x9dd2d9,_0x21ebb1){var _0x3984fe=_0x23fcf5;this[_0x3984fe(0x2c9)][_0x3984fe(0x2ec)](_0x9dd2d9,_0x21ebb1),this[_0x3984fe(0x173)]();}[_0x23fcf5(0x15a)](_0x2088c0,_0x5f0c4c){var _0x5c49e8=_0x23fcf5;this['_redoStacks'][_0x5c49e8(0x2ec)](_0x2088c0,_0x5f0c4c),this[_0x5c49e8(0x173)]();}['_transformStack'](_0x430b21,_0x269877){var _0x141148=_0x23fcf5;const _0x4c4985=[];let _0x118efa=_0x269877,_0x107313=_0x269877;for(let _0x368876=_0x430b21['length']-0x1;_0x368876>=0x0;_0x368876--){const {unitID:_0x97cb86,undoMutations:_0x11faad,redoMutations:_0x11cbaf}=_0x430b21[_0x368876],_0x5c3b73=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x118efa,_0x11faad),_0x18dcbf=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x107313,_0x11cbaf);if(m[_0x141148(0x424)](_0x5c3b73)||m['isTransformMutationsWithChangesetFailure'](_0x18dcbf)){this[_0x141148(0x447)][_0x141148(0x39b)](_0x141148(0x162),'transformStack\x20failed!',_0x5c3b73,_0x18dcbf);break;}_0x118efa=_0x5c3b73['c1Prime'],_0x107313=_0x18dcbf[_0x141148(0x217)],_0x4c4985['push']({'unitID':_0x97cb86,'undoMutations':_0x5c3b73[_0x141148(0x22c)],'redoMutations':_0x18dcbf[_0x141148(0x22c)]});}return _0x4c4985[_0x141148(0x3e9)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x23fcf5(0x133)]),de(0x1,a['ICommandService']),de(0x2,a[_0x23fcf5(0x44c)]),de(0x3,m[_0x23fcf5(0x1e5)]),de(0x4,a[_0x23fcf5(0x21d)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x23fcf5(0x14d)],Qi=Object[_0x23fcf5(0x291)],er=(_0x30a5dc,_0x533836,_0x15be6d)=>_0x533836 in _0x30a5dc?Lt(_0x30a5dc,_0x533836,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15be6d}):_0x30a5dc[_0x533836]=_0x15be6d,tr=(_0xb34533,_0x5de2af,_0x424c79,_0x19966d)=>{var _0xd449ca=_0x23fcf5;for(var _0x21888b=_0x19966d>0x1?void 0x0:_0x19966d?Qi(_0x5de2af,_0x424c79):_0x5de2af,_0x33c9fd=_0xb34533[_0xd449ca(0x358)]-0x1,_0x47a114;_0x33c9fd>=0x0;_0x33c9fd--)(_0x47a114=_0xb34533[_0x33c9fd])&&(_0x21888b=(_0x19966d?_0x47a114(_0x5de2af,_0x424c79,_0x21888b):_0x47a114(_0x21888b))||_0x21888b);return _0x19966d&&_0x21888b&&Lt(_0x5de2af,_0x424c79,_0x21888b),_0x21888b;},je=(_0x3394aa,_0x1c503d)=>(_0x4e2732,_0x492d4c)=>_0x1c503d(_0x4e2732,_0x492d4c,_0x3394aa),nr=(_0x529dd4,_0x1e23f9,_0xf7763b)=>er(_0x529dd4,_0x1e23f9+'',_0xf7763b);const ir=_0x23fcf5(0x22e);exports[_0x23fcf5(0x2e8)]=class extends a[_0x23fcf5(0x279)]{constructor(_0x18fa10=Ke,_0x4ef202,_0x2cdda5,_0x40bdd5){var _0x517790=_0x23fcf5;super(),this[_0x517790(0x26a)]=_0x18fa10,this['_logService']=_0x4ef202,this[_0x517790(0x305)]=_0x2cdda5,this[_0x517790(0x194)]=_0x40bdd5;const {..._0x2d9f9e}=a[_0x517790(0x326)]({},Ke,this['_config']);this[_0x517790(0x194)]['setConfig'](Y,_0x2d9f9e);}[_0x23fcf5(0x3d2)](){var _0x2f46cd=_0x23fcf5;this[_0x2f46cd(0x248)](),this[_0x2f46cd(0x3f2)]();}[_0x23fcf5(0x248)](){var _0x4aa6cb=_0x23fcf5,_0x17a8e4,_0xf42ef6,_0x39872c,_0x463e7a;this[_0x4aa6cb(0x305)]['has'](a[_0x4aa6cb(0x2b0)])&&this[_0x4aa6cb(0x447)]['error'](_0x4aa6cb(0x309),_0x4aa6cb(0x39e));const _0xd7a3c5=a[_0x4aa6cb(0x31d)]([[a[_0x4aa6cb(0x2b0)],{'useClass':exports[_0x4aa6cb(0x348)]}],[exports[_0x4aa6cb(0x3a9)]],[exports[_0x4aa6cb(0x24c)]],[exports[_0x4aa6cb(0x30b)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x4aa6cb(0x37d)]],[ke,{'useClass':(_0xf42ef6=(_0x17a8e4=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x17a8e4[_0x4aa6cb(0x190)])!=null?_0xf42ef6:exports['CollaborationSocketService']}],[m[_0x4aa6cb(0x3e3)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4aa6cb(0x163)],{'useClass':exports[_0x4aa6cb(0x225)]}],[X[_0x4aa6cb(0x2a4)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x4aa6cb(0x2c7)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4aa6cb(0x1d8)]],[$e]],(_0x39872c=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x39872c['override']);if(!((_0x463e7a=this[_0x4aa6cb(0x26a)])!=null&&_0x463e7a[_0x4aa6cb(0x19f)])){const _0x2dc8d3=_0xd7a3c5['findIndex'](([_0xd74850])=>_0xd74850===ve);_0x2dc8d3!==-0x1&&_0xd7a3c5[_0x4aa6cb(0x3e4)](_0x2dc8d3,0x1);}a[_0x4aa6cb(0x272)](this[_0x4aa6cb(0x305)],_0xd7a3c5);}[_0x23fcf5(0x3f2)](){var _0xb14033=_0x23fcf5,_0x462bba,_0x4c9e51,_0x33e228;this[_0xb14033(0x305)][_0xb14033(0x11c)](q[_0xb14033(0x3f3)])[_0xb14033(0x12e)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x462bba=this[_0xb14033(0x26a)])!=null&&_0x462bba[_0xb14033(0x263)]||(_0x4c9e51=this[_0xb14033(0x305)][_0xb14033(0x11c)](z,a[_0xb14033(0x401)][_0xb14033(0x30a)]))==null||_0x4c9e51[_0xb14033(0x289)](),(_0x33e228=this['_config'])!=null&&_0x33e228['enableAuthServer']&&a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[ye]]),a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[Ne],[exports[_0xb14033(0x1d8)]],[Ue]]);}},nr(exports[_0x23fcf5(0x2e8)],_0x23fcf5(0x1a1),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x23fcf5(0x3fd)](m[_0x23fcf5(0x150)],J['UniverSheetsPlugin'],q[_0x23fcf5(0x36a)]),je(0x1,a[_0x23fcf5(0x21d)]),je(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),je(0x3,a[_0x23fcf5(0x17e)])],exports[_0x23fcf5(0x2e8)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x23fcf5(0x38e)]=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x23fcf5(0xe8)]=We,exports[_0x23fcf5(0x1db)]=Q,exports['CollaborationUIEventService']=te,exports[_0x23fcf5(0x39d)]=Be,exports[_0x23fcf5(0xf6)]=pt,exports[_0x23fcf5(0x391)]=Xt,exports[_0x23fcf5(0x1a5)]=mt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports['ICollaborationSocketService']=ke,exports[_0x23fcf5(0x2f9)]=z,exports[_0x23fcf5(0x186)]=Rt,exports[_0x23fcf5(0x1ad)]=ve,exports[_0x23fcf5(0x2eb)]=Yt,exports[_0x23fcf5(0x340)]=Kt,exports[_0x23fcf5(0x2d9)]=Ct,exports[_0x23fcf5(0x3e6)]=Jt,exports[_0x23fcf5(0x388)]=It,exports[_0x23fcf5(0x405)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x23fcf5(0x42c)]=ft,exports[_0x23fcf5(0x3a5)]=se,exports[_0x23fcf5(0x239)]=Fe,exports[_0x23fcf5(0x1f9)]=Ot,exports['getLocalCacheKey']=In,exports[_0x23fcf5(0x238)]=yt;
|
1
|
+
'use strict';var _0xd593d2=_0x1ac9;(function(_0x1daefd,_0x3cee56){var _0x4dc30a=_0x1ac9,_0x18b3e4=_0x1daefd();while(!![]){try{var _0xb5247f=-parseInt(_0x4dc30a(0x188))/0x1*(parseInt(_0x4dc30a(0x17c))/0x2)+parseInt(_0x4dc30a(0x30d))/0x3*(parseInt(_0x4dc30a(0x3ee))/0x4)+-parseInt(_0x4dc30a(0x3d8))/0x5*(-parseInt(_0x4dc30a(0x43b))/0x6)+parseInt(_0x4dc30a(0x13b))/0x7+parseInt(_0x4dc30a(0x2d4))/0x8*(-parseInt(_0x4dc30a(0x2f8))/0x9)+parseInt(_0x4dc30a(0x471))/0xa*(parseInt(_0x4dc30a(0x463))/0xb)+-parseInt(_0x4dc30a(0x275))/0xc;if(_0xb5247f===_0x3cee56)break;else _0x18b3e4['push'](_0x18b3e4['shift']());}catch(_0x133270){_0x18b3e4['push'](_0x18b3e4['shift']());}}}(_0x7201,0xea7fb));var Mt=Object[_0xd593d2(0x301)],xt=(_0x21a0e6,_0x3ca547,_0x51f6a9)=>_0x3ca547 in _0x21a0e6?Mt(_0x21a0e6,_0x3ca547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51f6a9}):_0x21a0e6[_0x3ca547]=_0x51f6a9,D=(_0x1d401a,_0x4e67cc,_0x548c80)=>xt(_0x1d401a,typeof _0x4e67cc!=_0xd593d2(0x497)?_0x4e67cc+'':_0x4e67cc,_0x548c80);Object[_0xd593d2(0x301)](exports,Symbol[_0xd593d2(0x1e4)],{'value':_0xd593d2(0x153)});const a=require(_0xd593d2(0x2eb)),H=require(_0xd593d2(0x187)),W=require(_0xd593d2(0x227)),q=require(_0xd593d2(0x18b)),m=require(_0xd593d2(0x3df)),jt=require(_0xd593d2(0x3e7)),dt=require('@univerjs/docs'),J=require('@univerjs/sheets'),X=require('@univerjs/drawing'),$t=require(_0xd593d2(0x283)),vt=_0xd593d2(0x4a7),Ht=_0xd593d2(0x36a),ft=_0xd593d2(0x307),kt=_0xd593d2(0x30c),Bt=0x7d0,St=_0xd593d2(0x244),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0xd593d2(0x299),mt=_0xd593d2(0x274),Wt=0x7530,He=_0xd593d2(0x3c4),gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0xd593d2(0x189),qt=_0xd593d2(0x388),Ct=_0xd593d2(0x417),zt=_0xd593d2(0x162),Jt=_0xd593d2(0x3f6),Xt='/universer-api/uniscript';var Tt=(_0x5c68ef=>(_0x5c68ef[_0x5c68ef[_0xd593d2(0x350)]=0x0]='UNDEFINED',_0x5c68ef[_0x5c68ef['OK']=0x1]='OK',_0x5c68ef[_0x5c68ef[_0xd593d2(0x1f5)]=0x2]='INTERNAL_ERROR',_0x5c68ef[_0x5c68ef['PERMISSION_DENIED']=0x3]=_0xd593d2(0x316),_0x5c68ef[_0x5c68ef[_0xd593d2(0x47d)]=0x4]=_0xd593d2(0x47d),_0x5c68ef[_0x5c68ef[_0xd593d2(0x1d3)]=0x5]=_0xd593d2(0x1d3),_0x5c68ef[_0x5c68ef[_0xd593d2(0x2bb)]=0x6]='ALREADY_EXISTS',_0x5c68ef[_0x5c68ef['INVALID_ARGUMENT']=0x7]=_0xd593d2(0x297),_0x5c68ef[_0x5c68ef[_0xd593d2(0x467)]=0x8]='TOO_MANY_REQUESTS',_0x5c68ef[_0x5c68ef[_0xd593d2(0x157)]=0x9]='COMPLETION_FINISHED',_0x5c68ef[_0x5c68ef[_0xd593d2(0x25c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c68ef[_0x5c68ef[_0xd593d2(0x3b9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c68ef[_0x5c68ef[_0xd593d2(0x15d)]=0x1772]=_0xd593d2(0x15d),_0x5c68ef[_0x5c68ef[_0xd593d2(0x405)]=0x1773]=_0xd593d2(0x405),_0x5c68ef[_0x5c68ef['APPLY_REJECT']=0x1b59]=_0xd593d2(0x3b4),_0x5c68ef[_0x5c68ef[_0xd593d2(0x232)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c68ef[_0x5c68ef[_0xd593d2(0x412)]=0x1b5b]=_0xd593d2(0x412),_0x5c68ef[_0x5c68ef[_0xd593d2(0x292)]=0x1b5c]=_0xd593d2(0x292),_0x5c68ef[_0x5c68ef[_0xd593d2(0x22f)]=0x1b5d]=_0xd593d2(0x22f),_0x5c68ef[_0x5c68ef[_0xd593d2(0x2b4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c68ef[_0x5c68ef['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xd593d2(0x498),_0x5c68ef[_0x5c68ef[_0xd593d2(0x2c4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5c68ef[_0x5c68ef['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5c68ef[_0x5c68ef[_0xd593d2(0x1a1)]=0x232c]=_0xd593d2(0x1a1),_0x5c68ef[_0x5c68ef['LICENSE_DISTRO_REJECTED']=0x232d]=_0xd593d2(0x163),_0x5c68ef[_0x5c68ef[_0xd593d2(0x404)]=0x2711]=_0xd593d2(0x404),_0x5c68ef[_0x5c68ef[_0xd593d2(0x325)]=0x2712]=_0xd593d2(0x325),_0x5c68ef[_0x5c68ef[_0xd593d2(0x375)]=0x2713]=_0xd593d2(0x375),_0x5c68ef[_0x5c68ef['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xd593d2(0x332),_0x5c68ef[_0x5c68ef[_0xd593d2(0x3d6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c68ef[_0x5c68ef[_0xd593d2(0x2ca)]=-0x1]='UNRECOGNIZED',_0x5c68ef))(Tt||{}),Z=(_0x4e3103=>(_0x4e3103[_0x4e3103[_0xd593d2(0x1bc)]=0x0]=_0xd593d2(0x1bc),_0x4e3103[_0x4e3103[_0xd593d2(0x148)]=0x1]=_0xd593d2(0x148),_0x4e3103[_0x4e3103[_0xd593d2(0x36f)]=0x2]=_0xd593d2(0x36f),_0x4e3103[_0x4e3103[_0xd593d2(0x3db)]=0x3]=_0xd593d2(0x3db),_0x4e3103[_0x4e3103[_0xd593d2(0x28e)]=0x4]=_0xd593d2(0x28e),_0x4e3103[_0x4e3103[_0xd593d2(0x2ca)]=-0x1]=_0xd593d2(0x2ca),_0x4e3103))(Z||{}),G=(_0x179ff9=>(_0x179ff9[_0x179ff9[_0xd593d2(0x151)]=0x0]=_0xd593d2(0x151),_0x179ff9[_0x179ff9[_0xd593d2(0x41a)]=0x1]='HELLO',_0x179ff9[_0x179ff9[_0xd593d2(0x298)]=0x2]=_0xd593d2(0x298),_0x179ff9[_0x179ff9[_0xd593d2(0x198)]=0x3]=_0xd593d2(0x198),_0x179ff9[_0x179ff9['INGEST']=0x4]='INGEST',_0x179ff9[_0x179ff9[_0xd593d2(0x3c3)]=0x5]=_0xd593d2(0x3c3),_0x179ff9[_0x179ff9[_0xd593d2(0x2a0)]=0x6]='RECV',_0x179ff9[_0x179ff9[_0xd593d2(0x2ca)]=-0x1]=_0xd593d2(0x2ca),_0x179ff9))(G||{}),he=(_0x5d1b64=>(_0x5d1b64[_0x5d1b64[_0xd593d2(0x384)]=0x0]='UNKNOWN_CODE',_0x5d1b64[_0x5d1b64['OK']=0x1]='OK',_0x5d1b64[_0x5d1b64[_0xd593d2(0x3c0)]=0x2]=_0xd593d2(0x3c0),_0x5d1b64[_0x5d1b64['JOIN_ROOM_FULL']=0x3e9]=_0xd593d2(0x1dc),_0x5d1b64[_0x5d1b64[_0xd593d2(0x194)]=0x3ea]=_0xd593d2(0x194),_0x5d1b64[_0x5d1b64['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5d1b64[_0x5d1b64[_0xd593d2(0x268)]=0x3ec]=_0xd593d2(0x268),_0x5d1b64[_0x5d1b64[_0xd593d2(0x2ca)]=-0x1]=_0xd593d2(0x2ca),_0x5d1b64))(he||{}),bt=(_0x13471c=>(_0x13471c[_0x13471c['Undefined']=0x0]=_0xd593d2(0x21f),_0x13471c[_0x13471c[_0xd593d2(0x2cd)]=0x1]=_0xd593d2(0x2cd),_0x13471c[_0x13471c['HttpExport']=0x2]=_0xd593d2(0x32f),_0x13471c[_0x13471c['UnitEmbedded']=0x3]=_0xd593d2(0x305),_0x13471c[_0x13471c[_0xd593d2(0x431)]=0x4]=_0xd593d2(0x431),_0x13471c[_0x13471c[_0xd593d2(0x2ca)]=-0x1]=_0xd593d2(0x2ca),_0x13471c))(bt||{});const Y=_0xd593d2(0x3e0),Ke={};var Q=(_0x2fa3af=>(_0x2fa3af[_0xd593d2(0x168)]=_0xd593d2(0x168),_0x2fa3af[_0xd593d2(0x316)]=_0xd593d2(0x316),_0x2fa3af[_0xd593d2(0x1ea)]=_0xd593d2(0x1ea),_0x2fa3af['CLOSE_ROOM']=_0xd593d2(0x1be),_0x2fa3af['JOIN_ROOM_FAILED']=_0xd593d2(0x1f3),_0x2fa3af[_0xd593d2(0x425)]=_0xd593d2(0x425),_0x2fa3af[_0xd593d2(0x290)]=_0xd593d2(0x290),_0x2fa3af[_0xd593d2(0x28d)]='SUBMIT_CHANGESET_TIMEOUT',_0x2fa3af))(Q||{});class te{constructor(){var _0x4bd6a2=_0xd593d2;D(this,'_event$',new H[(_0x4bd6a2(0x4a2))]()),D(this,'event$',this[_0x4bd6a2(0x383)]['asObservable']());}['emitEvent'](_0x3515d8){this['_event$']['next'](_0x3515d8);}}const Rt=a[_0xd593d2(0x28a)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x1a48e6){var _0x5bfcba=_0xd593d2,_0x957ea7,_0x408095,_0xca6f4d,_0x3e519d,_0x1543db;const _0x3e20f3=_0x1a48e6[_0x5bfcba(0x4b1)],_0x434b0b=JSON[_0x5bfcba(0x438)](_0x3e20f3);switch(_0x434b0b[_0x5bfcba(0x2ae)]){case G[_0x5bfcba(0x3c3)]:case G[_0x5bfcba(0x41a)]:{const _0x25b55e=_0x434b0b[_0x5bfcba(0x457)];return{..._0x434b0b,'data':_0x25b55e,'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};}case G[_0x5bfcba(0x298)]:{const _0x481d20=_0x434b0b['joinRsp'];return{..._0x434b0b,'data':_0x481d20,'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};}case G[_0x5bfcba(0x2a0)]:{const _0x54ef12=_0x434b0b[_0x5bfcba(0x2e4)];switch(_0x54ef12[_0x5bfcba(0x2a8)]){case m[_0x5bfcba(0x40d)][_0x5bfcba(0x167)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':(_0x957ea7=_0x54ef12['permissionRejEvent'])==null?void 0x0:_0x957ea7['cs']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x26a)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':(_0x408095=_0x54ef12[_0x5bfcba(0x3b3)])==null?void 0x0:_0x408095['cs']},'cmd':_0x434b0b['cmd']};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x34c)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':(_0xca6f4d=_0x54ef12[_0x5bfcba(0x22a)])==null?void 0x0:_0xca6f4d['cs']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x416)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':(_0x3e519d=_0x54ef12[_0x5bfcba(0x474)])==null?void 0x0:_0x3e519d['cs']},'cmd':_0x434b0b['cmd']};case m['CollaborationEvent'][_0x5bfcba(0x455)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':(_0x1543db=_0x54ef12[_0x5bfcba(0x1e7)])==null?void 0x0:_0x1543db['cs']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12['updateCursorEvent']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x46e)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12['joinEvent']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m['CollaborationEvent'][_0x5bfcba(0x1e0)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x171)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x339)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12['liveShareNewHost']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)]['LIVESHARE_FETCH_OPERATIONS']:case m[_0x5bfcba(0x40d)][_0x5bfcba(0x2a6)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x269)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x306)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x480)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)]['MSG_FOR_ERROR']:return{..._0x434b0b,'data':_0x54ef12,'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x266)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x1c7)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x40e)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x3b5)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m['CollaborationEvent'][_0x5bfcba(0x193)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12[_0x5bfcba(0x432)]},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};case m[_0x5bfcba(0x40d)][_0x5bfcba(0x3f8)]:return{..._0x434b0b,'data':{..._0x54ef12,'data':_0x54ef12['uniscriptRunEvent']},'cmd':_0x434b0b[_0x5bfcba(0x2ae)]};default:return _0x434b0b;}}default:return _0x434b0b;}}function yt(_0x428e8c){var _0x114249=_0xd593d2;switch(_0x428e8c[_0x114249(0x2ae)]){case G[_0x114249(0x3c3)]:case G[_0x114249(0x41a)]:return JSON[_0x114249(0x204)]({'cmd':_0x428e8c['cmd'],'routeKey':_0x428e8c[_0x114249(0x1d8)]});case G[_0x114249(0x36d)]:{let _0x4fb183;switch(_0x428e8c[_0x114249(0x4b1)]['eventID']){case m['CollaborationEvent']['UPDATE_CURSOR']:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x21d)],'updateCursorEvent':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m['CollaborationEvent'][_0x114249(0x1e0)]:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x1e0)],'leaveEvent':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m[_0x114249(0x40d)][_0x114249(0x46e)]:{_0x4fb183={'eventID':m['CollaborationEvent'][_0x114249(0x46e)],'joinEvent':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m[_0x114249(0x40d)]['LIVESHARE_NEW_HOST']:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x339)],'liveShareNewHost':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m[_0x114249(0x40d)][_0x114249(0x2a6)]:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x2a6)],'liveShareOperation':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x306)],'liveShareTerminate':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x4b1)]};break;}case m[_0x114249(0x40d)][_0x114249(0x3ad)]:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x3ad)],'liveShareRequestHost':_0x428e8c['data'][_0x114249(0x4b1)]};break;}case m[_0x114249(0x40d)][_0x114249(0x1ed)]:{_0x4fb183={'eventID':m[_0x114249(0x40d)][_0x114249(0x1ed)]};break;}default:_0x4fb183={'eventID':_0x428e8c[_0x114249(0x4b1)][_0x114249(0x2a8)]};}return JSON[_0x114249(0x204)]({'cmd':_0x428e8c[_0x114249(0x2ae)],'routeKey':_0x428e8c['routeKey'],'collaMsg':_0x4fb183});}case G['JOIN']:return JSON[_0x114249(0x204)]({'cmd':_0x428e8c[_0x114249(0x2ae)],'routeKey':_0x428e8c[_0x114249(0x1d8)],'joinReq':_0x428e8c[_0x114249(0x4b1)]});case G[_0x114249(0x198)]:return JSON[_0x114249(0x204)]({'cmd':_0x428e8c[_0x114249(0x2ae)],'routeKey':_0x428e8c[_0x114249(0x1d8)],'leaveReq':_0x428e8c['data']});default:throw new Error(_0x114249(0x3bd));}}var Zt=Object[_0xd593d2(0x301)],Qt=Object[_0xd593d2(0x2c8)],en=(_0x4d4848,_0x479e46,_0x43925d,_0x2435eb)=>{var _0x43312f=_0xd593d2;for(var _0x6687f1=_0x2435eb>0x1?void 0x0:_0x2435eb?Qt(_0x479e46,_0x43925d):_0x479e46,_0x27c48f=_0x4d4848[_0x43312f(0x311)]-0x1,_0x1d2c08;_0x27c48f>=0x0;_0x27c48f--)(_0x1d2c08=_0x4d4848[_0x27c48f])&&(_0x6687f1=(_0x2435eb?_0x1d2c08(_0x479e46,_0x43925d,_0x6687f1):_0x1d2c08(_0x6687f1))||_0x6687f1);return _0x2435eb&&_0x6687f1&&Zt(_0x479e46,_0x43925d,_0x6687f1),_0x6687f1;},ue=(_0x338410,_0x5b4f2a)=>(_0x22c5d3,_0x4cc882)=>_0x5b4f2a(_0x22c5d3,_0x4cc882,_0x338410);const ke=a[_0xd593d2(0x28a)]('univer-pro.collaboration-client-socket-service');function tn(_0x289873,_0x19cae6,_0x1aafe2){var _0x4528c6=_0xd593d2;return _0x289873+'/'+_0x19cae6+_0x4528c6(0x21e)+_0x1aafe2+'/new_changes';}exports[_0xd593d2(0x249)]=class extends a[_0xd593d2(0x439)]{constructor(_0x13ce6a,_0x37a174,_0x5928b8,_0x4612e4,_0x1f5359){var _0x16c2e3=_0xd593d2;super(),this[_0x16c2e3(0x178)]=_0x13ce6a,this[_0x16c2e3(0x410)]=_0x37a174,this[_0x16c2e3(0x175)]=_0x5928b8,this[_0x16c2e3(0x3d9)]=_0x4612e4,this[_0x16c2e3(0x42c)]=_0x1f5359;}[_0xd593d2(0x317)](_0x58466b){var _0x472aa5=_0xd593d2;const _0x49719a=this[_0x472aa5(0x178)]['get'](q['ISocketService']);if(!_0x49719a)throw new Error(_0x472aa5(0x2f6));const _0x33b629=_0x49719a['createSocket'](_0x58466b);if(!_0x33b629)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x437a9c=new a[(_0x472aa5(0x444))](),_0x468575=new H[(_0x472aa5(0x4a2))]();_0x437a9c[_0x472aa5(0x34e)](_0x33b629[_0x472aa5(0x46b)][_0x472aa5(0x37e)](_0x3a0582=>_0x468575['next'](_0x3a0582))),_0x437a9c[_0x472aa5(0x34e)](a[_0x472aa5(0x2a7)](()=>_0x468575[_0x472aa5(0x331)]()));const _0x32d290=new H[(_0x472aa5(0x4a2))]();_0x437a9c[_0x472aa5(0x34e)](_0x33b629[_0x472aa5(0x465)][_0x472aa5(0x37e)](_0xad0044=>_0x32d290['next'](_0xad0044))),_0x437a9c[_0x472aa5(0x34e)](a['toDisposable'](()=>_0x32d290[_0x472aa5(0x331)]()));const _0x120329=new H[(_0x472aa5(0x4a2))]();_0x437a9c[_0x472aa5(0x34e)](_0x33b629[_0x472aa5(0x1cd)][_0x472aa5(0x37e)](_0x1a73d4=>{const _0xebd5b1=Ot(_0x1a73d4);_0x120329['next'](_0xebd5b1);})),_0x437a9c[_0x472aa5(0x34e)](a[_0x472aa5(0x2a7)](()=>_0x120329[_0x472aa5(0x331)]()));let _0x38c21f;const _0x217722=()=>{var _0xe9c014=_0x472aa5;_0x32d290[_0xe9c014(0x16f)](new Event(_0xe9c014(0x2d6))),_0x468575[_0xe9c014(0x16f)](new CloseEvent(_0xe9c014(0x2d6))),_0x38c21f[_0xe9c014(0x4a1)]();};return _0x38c21f={'memberID':'','close$':_0x468575[_0x472aa5(0x1a4)](),'error$':_0x32d290[_0x472aa5(0x1a4)](),'open$':_0x33b629[_0x472aa5(0x1b9)],'message$':_0x120329[_0x472aa5(0x1a4)](),'send':_0x5cdfcf=>{var _0x4f84d3=_0x472aa5;if(_0x5cdfcf['cmd']===G[_0x4f84d3(0x36d)]){if(_0x5cdfcf[_0x4f84d3(0x4b1)][_0x4f84d3(0x2a8)]===m['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x4f84d3(0x2f7)](_0x38c21f,_0x5cdfcf[_0x4f84d3(0x4b1)])['catch'](_0x328902=>{var _0x4ea605=_0x4f84d3;this[_0x4ea605(0x3d9)][_0x4ea605(0x28f)](_0x328902),_0x217722();});return;}if(_0x5cdfcf['data']['eventID']===m[_0x4f84d3(0x40d)][_0x4f84d3(0x3de)]){const _0xbff443=_0x5cdfcf[_0x4f84d3(0x4b1)];this[_0x4f84d3(0x24b)](_0xbff443)['then'](_0xf960e=>{var _0x457da0=_0x4f84d3;_0x120329[_0x457da0(0x16f)]({'cmd':G[_0x457da0(0x2a0)],'code':he['OK'],'routeKey':_0xbff443[_0x457da0(0x4b1)]['unitID'],'routeType':'','data':{'eventID':m[_0x457da0(0x40d)][_0x457da0(0x40a)],'data':{'changesets':_0xf960e}}});})[_0x4f84d3(0x315)](_0x101ae8=>{var _0xbf6ce5=_0x4f84d3;this['_logService'][_0xbf6ce5(0x28f)](_0x101ae8),_0x217722();});return;}}_0x33b629[_0x4f84d3(0x210)](yt(_0x5cdfcf));},'close':()=>{_0x33b629['close'](),_0x437a9c['dispose']();}},_0x38c21f;}async['_submitChangeset'](_0x3a20e7,_0x3624f3){var _0x123a66=_0xd593d2,_0x32aa4b,_0x3d66b9;const {unitType:_0x351d2c,unitID:_0x2ba05e,changeset:_0x4fd1e8}=_0x3624f3['data'],_0x52b0d4={'unitID':_0x2ba05e,'memberID':_0x3a20e7['memberID'],'type':_0x351d2c,'changeset':m['parseChangesetToProtocol'](_0x4fd1e8)},_0x107dcd=this[_0x123a66(0x175)][_0x123a66(0x32c)](Et),_0x9e4762=this[_0x123a66(0x175)][_0x123a66(0x32c)](Y),_0x58d53c=tn((_0x3d66b9=(_0x32aa4b=_0x9e4762==null?void 0x0:_0x9e4762[_0x123a66(0x407)])!=null?_0x32aa4b:_0x107dcd)!=null?_0x3d66b9:qt,_0x351d2c,_0x2ba05e);try{await this['_http'][_0x123a66(0x3f3)](_0x58d53c,{'body':_0x52b0d4});}catch(_0x16802a){throw this[_0x123a66(0x3d9)][_0x123a66(0x28f)](_0x123a66(0x447),_0x123a66(0x15f)),_0x16802a;}}async[_0xd593d2(0x24b)](_0x566eac){var _0x50c50b=_0xd593d2;const {unitID:_0x285a4f,from:_0x25aef6,to:_0x4d5581,unitType:_0x51bdac}=_0x566eac['data'];return(await this[_0x50c50b(0x42c)][_0x50c50b(0x250)]({'metadata':void 0x0},{'unitID':_0x285a4f,'type':_0x51bdac,'from':_0x25aef6,'to':_0x4d5581}))[_0x50c50b(0x3f2)];}},exports[_0xd593d2(0x249)]=en([ue(0x0,a['Inject'](a[_0xd593d2(0x3cf)])),ue(0x1,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0xd593d2(0x2ac)]),ue(0x4,m[_0xd593d2(0x14c)])],exports['CollaborationSocketService']);const nn=_0xd593d2(0x30f);function rn(_0x1fdfb6){var _0x4d5779=_0xd593d2;return JSON[_0x4d5779(0x204)](_0x1fdfb6)['length'];}class Be{constructor(){var _0x3691e1=_0xd593d2;D(this,_0x3691e1(0x2fd),new H['Subject']()),D(this,_0x3691e1(0x1d2),this[_0x3691e1(0x2fd)][_0x3691e1(0x1a4)]());}[_0xd593d2(0x173)](_0x5b29b6){var _0x3af2eb=_0xd593d2;this[_0x3af2eb(0x2fd)]['next'](_0x5b29b6);}}var sn=Object['defineProperty'],on=Object['getOwnPropertyDescriptor'],an=(_0x7fbd89,_0x6aee07,_0x413c1b,_0x114649)=>{for(var _0x246292=_0x114649>0x1?void 0x0:_0x114649?on(_0x6aee07,_0x413c1b):_0x6aee07,_0x401582=_0x7fbd89['length']-0x1,_0x228c6f;_0x401582>=0x0;_0x401582--)(_0x228c6f=_0x7fbd89[_0x401582])&&(_0x246292=(_0x114649?_0x228c6f(_0x6aee07,_0x413c1b,_0x246292):_0x228c6f(_0x246292))||_0x246292);return _0x114649&&_0x246292&&sn(_0x6aee07,_0x413c1b,_0x246292),_0x246292;},Ye=(_0x3299a0,_0x4ebe2f)=>(_0x33a1b8,_0xe44a40)=>_0x4ebe2f(_0x33a1b8,_0xe44a40,_0x3299a0);exports[_0xd593d2(0x39f)]=class extends a[_0xd593d2(0x439)]{constructor(_0xd5d8b3,_0x39562a){var _0x5e76ee=_0xd593d2;super(),D(this,_0x5e76ee(0x14f),new Map()),D(this,'_roomCreated$',new H['Subject']()),(this[_0x5e76ee(0x25e)]=_0xd5d8b3,this[_0x5e76ee(0x3a5)]=_0x39562a,this[_0x5e76ee(0x196)](H[_0x5e76ee(0x475)](this[_0x5e76ee(0x25e)][_0x5e76ee(0x43d)](a[_0x5e76ee(0x256)]['UNIVER_SHEET'])[_0x5e76ee(0x21c)](W[_0x5e76ee(0x2cc)](_0x3d4c89=>_0x3d4c89[_0x5e76ee(0x216)]())),this[_0x5e76ee(0x25e)][_0x5e76ee(0x43d)](a[_0x5e76ee(0x256)][_0x5e76ee(0x148)])['pipe'](W[_0x5e76ee(0x2cc)](_0xc2ef34=>_0xc2ef34[_0x5e76ee(0x216)]())),this[_0x5e76ee(0x25e)][_0x5e76ee(0x43d)](a[_0x5e76ee(0x256)][_0x5e76ee(0x3db)])[_0x5e76ee(0x21c)](W['map'](_0x12496e=>_0x12496e[_0x5e76ee(0x216)]())))[_0x5e76ee(0x37e)](_0x2e62f0=>this[_0x5e76ee(0x33f)](_0x2e62f0))));}['waitForRoom$'](_0x530e91){var _0x2027ea=_0xd593d2;return this[_0x2027ea(0x14f)][_0x2027ea(0x2af)](_0x530e91)?H['of'](this[_0x2027ea(0x14f)]['get'](_0x530e91)):this[_0x2027ea(0x476)][_0x2027ea(0x21c)](W[_0x2027ea(0x2cc)](_0x536ccd=>{var _0x1405e1=_0x2027ea;if(_0x536ccd===_0x530e91)return this[_0x1405e1(0x14f)][_0x1405e1(0x3be)](_0x536ccd);}));}[_0xd593d2(0x355)](_0x16da97){var _0x377297=_0xd593d2;this['_userManagerService'][_0x377297(0x355)](_0x16da97);}['getCurrentUser'](){var _0x3db93d=_0xd593d2;return this[_0x3db93d(0x3a5)]['getCurrentUser']();}[_0xd593d2(0x209)](_0x972d66,_0x3cba69){var _0x5a5b6e=_0xd593d2;let _0x390c26=this[_0x5a5b6e(0x14f)][_0x5a5b6e(0x3be)](_0x972d66);_0x390c26||(_0x390c26=new cn(),this[_0x5a5b6e(0x14f)][_0x5a5b6e(0x1e6)](_0x972d66,_0x390c26),this[_0x5a5b6e(0x476)][_0x5a5b6e(0x16f)](_0x972d66)),_0x390c26[_0x5a5b6e(0x209)](_0x3cba69);}[_0xd593d2(0x13c)](_0x1d7384,_0x36913d){var _0x12b9a7=_0xd593d2;const _0x1f96f5=this[_0x12b9a7(0x14f)][_0x12b9a7(0x3be)](_0x1d7384);_0x1f96f5&&_0x1f96f5[_0x12b9a7(0x13c)](_0x36913d);}[_0xd593d2(0x351)](_0x2aaac4){return this['_roomMembers']['get'](_0x2aaac4);}[_0xd593d2(0x342)](_0x146af5,_0x5800c9){var _0x2ff66e=_0xd593d2;const _0x2e1eae=this[_0x2ff66e(0x14f)]['get'](_0x146af5);if(_0x2e1eae)return _0x2e1eae[_0x2ff66e(0x342)](_0x5800c9);}[_0xd593d2(0x33f)](_0x346794){var _0x41c210=_0xd593d2;const _0xbdcd03=this[_0x41c210(0x14f)][_0x41c210(0x3be)](_0x346794);_0xbdcd03&&(_0xbdcd03[_0x41c210(0x26f)](),this[_0x41c210(0x14f)][_0x41c210(0x3d0)](_0x346794));}['dispose'](){var _0x20719a=_0xd593d2;this[_0x20719a(0x14f)]['forEach'](_0x594a34=>_0x594a34[_0x20719a(0x26f)]()),this['_roomMembers'][_0x20719a(0x222)](),this['_roomCreated$']['complete']();}},exports[_0xd593d2(0x39f)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0xd593d2(0x23b)](a[_0xd593d2(0x310)]))],exports[_0xd593d2(0x39f)]);class cn extends a[_0xd593d2(0x439)]{constructor(){var _0x411bc3=_0xd593d2;super(...arguments),D(this,'_members',new Map()),D(this,_0x411bc3(0x3a8),new H[(_0x411bc3(0x28c))](this['_members'])),D(this,'members$',this['_members$'][_0x411bc3(0x1a4)]());}[_0xd593d2(0x26f)](){var _0xea3b16=_0xd593d2;this[_0xea3b16(0x2c7)][_0xea3b16(0x222)]();}[_0xd593d2(0x209)](_0x922c53){var _0x3b0e94=_0xd593d2;this[_0x3b0e94(0x2c7)]['set'](_0x922c53[_0x3b0e94(0x15a)],_0x922c53),this[_0x3b0e94(0x46f)]();}[_0xd593d2(0x13c)](_0x1c6bbc){var _0x2c8d3b=_0xd593d2;this[_0x2c8d3b(0x2c7)][_0x2c8d3b(0x3d0)](_0x1c6bbc);}['getMember'](_0x25e5f4){var _0xc3e0bf=_0xd593d2;return this[_0xc3e0bf(0x2c7)][_0xc3e0bf(0x3be)](_0x25e5f4);}['getAllMembers'](){var _0x2d30fb=_0xd593d2;return Array['from'](this['_members'][_0x2d30fb(0x451)]());}[_0xd593d2(0x46f)](){var _0x5119c0=_0xd593d2;this[_0x5119c0(0x3a8)][_0x5119c0(0x16f)](this[_0x5119c0(0x2c7)]);}}var hn=Object[_0xd593d2(0x301)],ln=Object[_0xd593d2(0x2c8)],_n=(_0x15cf74,_0x1dcfd0,_0x5b58e5,_0xb3ace6)=>{var _0x1dca91=_0xd593d2;for(var _0x187a49=_0xb3ace6>0x1?void 0x0:_0xb3ace6?ln(_0x1dcfd0,_0x5b58e5):_0x1dcfd0,_0x4679f9=_0x15cf74[_0x1dca91(0x311)]-0x1,_0x568ced;_0x4679f9>=0x0;_0x4679f9--)(_0x568ced=_0x15cf74[_0x4679f9])&&(_0x187a49=(_0xb3ace6?_0x568ced(_0x1dcfd0,_0x5b58e5,_0x187a49):_0x568ced(_0x187a49))||_0x187a49);return _0xb3ace6&&_0x187a49&&hn(_0x1dcfd0,_0x5b58e5,_0x187a49),_0x187a49;},oe=(_0x477159,_0x4ca0b6)=>(_0x6e7f6d,_0x392ea3)=>_0x4ca0b6(_0x6e7f6d,_0x392ea3,_0x477159),se=(_0x517574=>(_0x517574[_0x517574[_0xd593d2(0x2b1)]=0x0]='IDLE',_0x517574[_0x517574[_0xd593d2(0x15b)]=0x1]='JOINING',_0x517574[_0x517574[_0xd593d2(0x24a)]=0x2]=_0xd593d2(0x24a),_0x517574[_0x517574['ONLINE']=0x3]=_0xd593d2(0x449),_0x517574))(se||{});const qe={[he[_0xd593d2(0x3c0)]]:_0xd593d2(0x300),[he[_0xd593d2(0x1dc)]]:_0xd593d2(0x240),[he[_0xd593d2(0x194)]]:_0xd593d2(0x30b),[he[_0xd593d2(0x42f)]]:_0xd593d2(0x348),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0xd593d2(0x2ce)]=class extends a[_0xd593d2(0x2dd)]{constructor(_0x35c0cd,_0x1ac16b,_0x319ced,_0x59b78f,_0x587689,_0x265e32,_0x5b7122,_0x152bbd,_0x7236bb){var _0x42675a=_0xd593d2;super(),D(this,_0x42675a(0x26d),new H[(_0x42675a(0x28c))](0x0)),D(this,_0x42675a(0x1e2),this[_0x42675a(0x26d)][_0x42675a(0x1a4)]()),D(this,_0x42675a(0x383),new H[(_0x42675a(0x4a2))]()),D(this,_0x42675a(0x37f),this[_0x42675a(0x383)]['asObservable']()),D(this,'_socket'),D(this,_0x42675a(0x44f)),D(this,_0x42675a(0x3a0)),D(this,_0x42675a(0x3dc),!0x1),D(this,_0x42675a(0x46c),null),(this[_0x42675a(0x45b)]=_0x35c0cd,this[_0x42675a(0x3d9)]=_0x319ced,this[_0x42675a(0x175)]=_0x59b78f,this[_0x42675a(0x1b3)]=_0x587689,this[_0x42675a(0x1ad)]=_0x265e32,this[_0x42675a(0x28b)]=_0x5b7122,this[_0x42675a(0x3bf)]=_0x152bbd,this[_0x42675a(0x335)]=_0x7236bb,this['_shouldReportTelemetry']=!!this[_0x42675a(0x335)],_0x1ac16b['pipe'](H[_0x42675a(0x24e)](this[_0x42675a(0x257)]))[_0x42675a(0x37e)](_0xf6f478=>{var _0x314a1e=_0x42675a,_0x58676d;typeof _0xf6f478>'u'||(this['_socket']=_0xf6f478,_0xf6f478?(this[_0x314a1e(0x45a)](_0xf6f478),this[_0x314a1e(0x44f)]=_0xf6f478['message$'][_0x314a1e(0x37e)](_0x33b434=>{var _0x4529a7=_0x314a1e;_0x33b434[_0x4529a7(0x1d8)]===this[_0x4529a7(0x45b)]&&this[_0x4529a7(0x3c7)](_0x33b434);})):(this[_0x314a1e(0x35c)](),this[_0x314a1e(0x26d)][_0x314a1e(0x16f)](0x2),(_0x58676d=this[_0x314a1e(0x44f)])==null||_0x58676d[_0x314a1e(0x1a0)](),this[_0x314a1e(0x44f)]=null));}));}get['sessionStatus'](){var _0x2f1293=_0xd593d2;return this[_0x2f1293(0x26d)][_0x2f1293(0x39c)]();}[_0xd593d2(0x403)](){var _0x5b8886,_0x2c534d;return(_0x2c534d=(_0x5b8886=this['_socket'])==null?void 0x0:_0x5b8886['memberID'])!=null?_0x2c534d:null;}[_0xd593d2(0x26f)](){var _0x2e3fa4=_0xd593d2;super[_0x2e3fa4(0x26f)](),this[_0x2e3fa4(0x257)][_0x2e3fa4(0x16f)](),this[_0x2e3fa4(0x257)][_0x2e3fa4(0x331)]();}[_0xd593d2(0x4a1)](){var _0x18d8fe=_0xd593d2,_0x42d408,_0x10804e;this[_0x18d8fe(0x35c)](),(_0x42d408=this[_0x18d8fe(0x303)])==null||_0x42d408[_0x18d8fe(0x210)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x18d8fe(0x45b)]}}),(_0x10804e=this[_0x18d8fe(0x303)])==null||_0x10804e[_0x18d8fe(0x4a1)](),this[_0x18d8fe(0x383)][_0x18d8fe(0x331)](),this['_sessionStatus$']['complete'](),this[_0x18d8fe(0x26f)]();}[_0xd593d2(0x3c7)](_0x34d690){var _0x3b35fc=_0xd593d2;_0x34d690[_0x3b35fc(0x2ae)]===G[_0x3b35fc(0x298)]?this[_0x3b35fc(0x39a)](_0x34d690):_0x34d690[_0x3b35fc(0x2ae)]===G[_0x3b35fc(0x2a0)]&&this[_0x3b35fc(0x2f9)](_0x34d690);}[_0xd593d2(0x45a)](_0x292a72){var _0x1135c6=_0xd593d2;this[_0x1135c6(0x26d)]['next'](0x1),_0x292a72[_0x1135c6(0x210)]({'cmd':G[_0x1135c6(0x298)],'routeKey':this[_0x1135c6(0x45b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1135c6(0x45b)]}]}});}[_0xd593d2(0x39a)](_0x53a6d0){var _0x251014=_0xd593d2,_0x21f537;if(_0x53a6d0[_0x251014(0x3a7)]in qe){this['_collaborationUIEventService'][_0x251014(0x35b)]({'id':Q[_0x251014(0x1f3)],'data':qe[_0x53a6d0[_0x251014(0x3a7)]]}),this['_sessionStatus$'][_0x251014(0x16f)](0x2);return;}this[_0x251014(0x26d)][_0x251014(0x16f)](0x3);const _0x49ca91=(_0x21f537=_0x53a6d0[_0x251014(0x4b1)][_0x251014(0x434)][this[_0x251014(0x45b)]])==null?void 0x0:_0x21f537[_0x251014(0x291)];_0x49ca91&&_0x49ca91[_0x251014(0x440)](_0x2192ea=>this[_0x251014(0x1ad)]['updateMember'](this[_0x251014(0x45b)],_0x2192ea));}[_0xd593d2(0x2f9)](_0x4277b8){var _0x2ca607=_0xd593d2;try{const _0xc8e74d=_0x4277b8[_0x2ca607(0x4b1)];switch(_0xc8e74d['eventID']){case m[_0x2ca607(0x40d)][_0x2ca607(0x46e)]:this[_0x2ca607(0x42d)](_0xc8e74d),this['_event$'][_0x2ca607(0x16f)](_0xc8e74d);break;case m[_0x2ca607(0x40d)][_0x2ca607(0x1e0)]:this[_0x2ca607(0x3f0)](_0xc8e74d),this[_0x2ca607(0x383)]['next'](_0xc8e74d);break;case m['CollaborationEvent'][_0x2ca607(0x26a)]:case m['CollaborationEvent'][_0x2ca607(0x455)]:this[_0x2ca607(0x47b)](),this[_0x2ca607(0x211)](),this[_0x2ca607(0x383)][_0x2ca607(0x16f)](_0xc8e74d);break;case m[_0x2ca607(0x40d)][_0x2ca607(0x1f1)]:this[_0x2ca607(0x3d9)]['error'](_0x2ca607(0x320)+JSON[_0x2ca607(0x204)](_0xc8e74d)),this[_0x2ca607(0x383)]['next'](_0xc8e74d);break;case m[_0x2ca607(0x40d)][_0x2ca607(0x266)]:this[_0x2ca607(0x28b)]['onCommentUpdate'](_0xc8e74d[_0x2ca607(0x4b1)]),this[_0x2ca607(0x383)]['next'](_0xc8e74d);break;default:this[_0x2ca607(0x383)][_0x2ca607(0x16f)](_0xc8e74d);}}catch(_0x5c17da){this[_0x2ca607(0x3d9)]['error'](_0x5c17da,_0x4277b8);}}['_onUserJoin'](_0x2d2eb5){var _0x430112=_0xd593d2;this[_0x430112(0x1ad)][_0x430112(0x209)](this[_0x430112(0x45b)],_0x2d2eb5[_0x430112(0x4b1)]);}[_0xd593d2(0x3f0)](_0x177391){var _0x1bc40a=_0xd593d2;this['_memberService']['removeMember'](this[_0x1bc40a(0x45b)],_0x177391[_0x1bc40a(0x4b1)][_0x1bc40a(0x15a)]);}async['send'](_0x510b85,_0x532e13){var _0x479522=_0xd593d2;if(this[_0x479522(0x1b5)]!==0x3||!this['_socket'])throw new Error(_0x479522(0x29a));try{_0x510b85[_0x479522(0x2a8)]===m['CollaborationEvent'][_0x479522(0x1f0)]&&(this[_0x479522(0x1f7)](),this[_0x479522(0x241)](_0x510b85)),this[_0x479522(0x303)][_0x479522(0x210)]({'cmd':G['INGEST'],'routeKey':_0x532e13,'routeType':'','data':_0x510b85});}catch(_0x597850){this[_0x479522(0x3d9)][_0x479522(0x28f)](_0x597850);}}[_0xd593d2(0x1f7)](){var _0x2eef22=_0xd593d2,_0x33c97c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x340ad2=_0x1ac9;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x340ad2(0x28d)]});},(_0x33c97c=this[_0x2eef22(0x175)][_0x2eef22(0x32c)](He))!=null?_0x33c97c:gt);}[_0xd593d2(0x211)](){var _0x1ee3e4=_0xd593d2;this[_0x1ee3e4(0x3a0)]&&(clearTimeout(this[_0x1ee3e4(0x3a0)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x3dc44e){var _0x1769a0=_0xd593d2;if(!this[_0x1769a0(0x3dc)])return;const {data:_0x1c0834}=_0x3dc44e,{unitID:_0x48cc85,changeset:_0x2bd199}=_0x1c0834,{mutations:_0x17928b,type:_0x3ee12b}=_0x2bd199;this[_0x1769a0(0x46c)]={'unitId':_0x48cc85,'type':_0x3ee12b,'startTime':performance[_0x1769a0(0x49a)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x17928b)};}[_0xd593d2(0x47b)](){var _0x3ebfc1=_0xd593d2;if(this[_0x3ebfc1(0x3dc)]){if(!this[_0x3ebfc1(0x46c)]){this[_0x3ebfc1(0x3d9)][_0x3ebfc1(0x28f)](_0x3ebfc1(0x447),_0x3ebfc1(0x35e));return;}this[_0x3ebfc1(0x46c)]['stopTime']=performance[_0x3ebfc1(0x49a)](),this['_telemetryInfo'][_0x3ebfc1(0x223)]=this[_0x3ebfc1(0x46c)]['stopTime']-this[_0x3ebfc1(0x46c)][_0x3ebfc1(0x302)],this[_0x3ebfc1(0x335)][_0x3ebfc1(0x141)](nn,this[_0x3ebfc1(0x46c)]),this[_0x3ebfc1(0x46c)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x27cb8c=_0xd593d2;this[_0x27cb8c(0x46c)]=null;}},exports[_0xd593d2(0x2ce)]=_n([oe(0x2,a[_0xd593d2(0x2ac)]),oe(0x3,a[_0xd593d2(0x1a7)]),oe(0x4,a[_0xd593d2(0x23b)](a[_0xd593d2(0x1b2)])),oe(0x5,a[_0xd593d2(0x23b)](exports[_0xd593d2(0x39f)])),oe(0x6,a[_0xd593d2(0x23b)](Be)),oe(0x7,a[_0xd593d2(0x23b)](te)),oe(0x8,a['Optional'](jt[_0xd593d2(0x27b)]))],exports[_0xd593d2(0x2ce)]);var un=Object[_0xd593d2(0x301)],dn=Object[_0xd593d2(0x2c8)],vn=(_0x879556,_0x1dc11f,_0x5cfa4b,_0x356838)=>{var _0x4be893=_0xd593d2;for(var _0x6f15ce=_0x356838>0x1?void 0x0:_0x356838?dn(_0x1dc11f,_0x5cfa4b):_0x1dc11f,_0x3e0208=_0x879556[_0x4be893(0x311)]-0x1,_0x569ff0;_0x3e0208>=0x0;_0x3e0208--)(_0x569ff0=_0x879556[_0x3e0208])&&(_0x6f15ce=(_0x356838?_0x569ff0(_0x1dc11f,_0x5cfa4b,_0x6f15ce):_0x569ff0(_0x6f15ce))||_0x6f15ce);return _0x356838&&_0x6f15ce&&un(_0x1dc11f,_0x5cfa4b,_0x6f15ce),_0x6f15ce;},ae=(_0x4ebbbf,_0x441b09)=>(_0x5ef4b9,_0x9ff30f)=>_0x441b09(_0x5ef4b9,_0x9ff30f,_0x4ebbbf);exports[_0xd593d2(0x428)]=class extends a[_0xd593d2(0x439)]{constructor(_0x2ba5ae,_0x3c093e,_0x380353,_0x162d58,_0x3d8c29,_0x46c985,_0x383e28){var _0x1e2c6e=_0xd593d2;super(),D(this,_0x1e2c6e(0x3b8),new H[(_0x1e2c6e(0x28c))](void 0x0)),D(this,'socket$',this[_0x1e2c6e(0x3b8)]['asObservable']()),D(this,_0x1e2c6e(0x25b),null),D(this,_0x1e2c6e(0x2f3),new Map()),D(this,_0x1e2c6e(0x1c5),new H[(_0x1e2c6e(0x28c))](se[_0x1e2c6e(0x2b1)])),D(this,_0x1e2c6e(0x387),this[_0x1e2c6e(0x1c5)][_0x1e2c6e(0x1a4)]()),D(this,'_socketReady',!0x1),D(this,_0x1e2c6e(0x390)),D(this,_0x1e2c6e(0x408),0x0),D(this,_0x1e2c6e(0x24c)),D(this,_0x1e2c6e(0x19d)),(this[_0x1e2c6e(0x178)]=_0x2ba5ae,this['_logService']=_0x3c093e,this[_0x1e2c6e(0x175)]=_0x380353,this[_0x1e2c6e(0x229)]=_0x162d58,this[_0x1e2c6e(0x436)]=_0x3d8c29,this[_0x1e2c6e(0x3bf)]=_0x46c985,this[_0x1e2c6e(0x1dd)]=_0x383e28,this[_0x1e2c6e(0x264)]());}get[_0xd593d2(0x303)](){var _0x124c6e=_0xd593d2;return this[_0x124c6e(0x3b8)][_0x124c6e(0x39c)]();}[_0xd593d2(0x264)](){var _0x37b742=_0xd593d2;this[_0x37b742(0x1dd)]&&this[_0x37b742(0x196)](this['_networkConditionService'][_0x37b742(0x2d0)][_0x37b742(0x37e)](_0x49fb29=>{_0x49fb29&&!this['_socket']&&this['reconnect'](),_0x49fb29||this['_onOffline']();}));}['dispose'](){var _0x39e8ec=_0xd593d2;super[_0x39e8ec(0x26f)](),this[_0x39e8ec(0x2f3)]['forEach'](_0x5dc0dd=>_0x5dc0dd['dispose']()),this[_0x39e8ec(0x2f3)]['clear'](),this[_0x39e8ec(0x1c5)]['complete']();}async[_0xd593d2(0x251)](_0x17c38d){var _0x4fca32=_0xd593d2;if(this[_0x4fca32(0x2f3)][_0x4fca32(0x2af)](_0x17c38d))return this['_sessions'][_0x4fca32(0x3be)](_0x17c38d);this[_0x4fca32(0x337)]();const _0x324a67=this['_injector'][_0x4fca32(0x366)](exports[_0x4fca32(0x2ce)],_0x17c38d,this['_socket$'][_0x4fca32(0x1a4)]());return this[_0x4fca32(0x2f3)]['set'](_0x17c38d,_0x324a67),_0x324a67;}['closeSession'](_0x47239a){var _0x357636=_0xd593d2,_0x37f14d;const _0x1b7ceb=this['_sessions']['get'](_0x47239a);_0x1b7ceb&&(this['_sessions'][_0x357636(0x3d0)](_0x47239a),_0x1b7ceb[_0x357636(0x4a1)]()),this[_0x357636(0x2f3)][_0x357636(0x253)]||(_0x37f14d=this[_0x357636(0x303)])==null||_0x37f14d[_0x357636(0x4a1)]();}['reconnect'](){var _0x56370f=_0xd593d2;this[_0x56370f(0x408)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x56370f(0x390)]),this[_0x56370f(0x390)]=null),this['_tryReconnect']();}async[_0xd593d2(0x180)](){var _0x28dd18=_0xd593d2,_0x49bffa,_0x58a83b,_0x13e3c5;const _0x292df8=this['_configService'][_0x28dd18(0x32c)](Y),_0x3ff421=(_0x49bffa=_0x292df8==null?void 0x0:_0x292df8['wsSessionTicketUrl'])!=null?_0x49bffa:Ft;return(_0x13e3c5=(_0x58a83b=(await this['_httpService'][_0x28dd18(0x3be)](_0x3ff421,{'headers':{'Content-Type':'application/json'}}))[_0x28dd18(0x44a)])==null?void 0x0:_0x58a83b[_0x28dd18(0x2ef)])!=null?_0x13e3c5:'';}[_0xd593d2(0x398)](_0x3b02dc){var _0xffae9c=_0xd593d2,_0x496149,_0x1ddd0a;const _0x574243=this[_0xffae9c(0x175)][_0xffae9c(0x32c)](St),_0x562d23=this[_0xffae9c(0x175)]['getConfig'](Y),_0x46bc30=(_0x1ddd0a=(_0x496149=_0x562d23==null?void 0x0:_0x562d23[_0xffae9c(0x1b1)])!=null?_0x496149:_0x574243)!=null?_0x1ddd0a:pt,_0x4b75ce=typeof window>'u'?new URL(_0x46bc30):new URL(_0x46bc30,window[_0xffae9c(0x44b)][_0xffae9c(0x47e)]);_0x4b75ce[_0xffae9c(0x324)][_0xffae9c(0x1e6)](_0xffae9c(0x458),_0x3b02dc);const _0x5eac8c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xffae9c(0x44b)][_0xffae9c(0x46d)]);return _0x5eac8c[_0xffae9c(0x3be)](_0xffae9c(0x3d7))&&_0x4b75ce[_0xffae9c(0x324)][_0xffae9c(0x1e6)](_0xffae9c(0x3d7),_0x5eac8c[_0xffae9c(0x3be)](_0xffae9c(0x3d7))),_0x4b75ce[_0xffae9c(0x174)]();}async['_createSocket'](){var _0x4ac472=_0xd593d2;const _0x1e088e=await this[_0x4ac472(0x180)](),_0xa4bbbf=this[_0x4ac472(0x398)](_0x1e088e),_0x205629=this[_0x4ac472(0x229)][_0x4ac472(0x317)](_0xa4bbbf);return this[_0x4ac472(0x25b)]=_0x205629,_0x205629;}async[_0xd593d2(0x337)](){var _0x307dd5=_0xd593d2,_0xd64880,_0x61d314;try{const _0x7a9987=(_0x61d314=(_0xd64880=this['_socket'])!=null?_0xd64880:this['_candidateSocket'])!=null?_0x61d314:await this[_0x307dd5(0x3cd)]();if(_0x7a9987){const _0x858a90=_0x7a9987[_0x307dd5(0x210)];_0x7a9987['send']=_0x15d5cd=>(this[_0x307dd5(0x45c)](),_0x858a90[_0x307dd5(0x3ff)](_0x7a9987,[_0x15d5cd])),_0x7a9987['message$'][_0x307dd5(0x37e)](_0x126785=>this[_0x307dd5(0x1a3)](_0x7a9987,_0x126785)),_0x7a9987[_0x307dd5(0x465)][_0x307dd5(0x21c)](W[_0x307dd5(0x363)](0x1))['subscribe'](_0x39e184=>this[_0x307dd5(0x3d9)][_0x307dd5(0x28f)](_0x307dd5(0x1e3),_0x39e184)),_0x7a9987[_0x307dd5(0x1b9)][_0x307dd5(0x21c)](W[_0x307dd5(0x363)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x7a9987);}),_0x7a9987[_0x307dd5(0x46b)][_0x307dd5(0x21c)](W[_0x307dd5(0x363)](0x1))['subscribe'](_0x5d7460=>{var _0x2c8e5d=_0x307dd5;this[_0x2c8e5d(0x3d9)]['debug'](_0x2c8e5d(0x49f),_0x2c8e5d(0x23a),_0x5d7460),this[_0x2c8e5d(0x1d9)]();});}}catch(_0x16ff74){this[_0x307dd5(0x3d9)][_0x307dd5(0x28f)](_0x16ff74),this[_0x307dd5(0x1d9)]();}}['_onConnectionOpen'](_0x134dda){var _0x12fddc=_0xd593d2;this['_logService'][_0x12fddc(0x361)](_0x12fddc(0x49f),_0x12fddc(0x279)),_0x134dda[_0x12fddc(0x210)]({'cmd':G[_0x12fddc(0x41a)]}),this[_0x12fddc(0x45c)]();}[_0xd593d2(0x321)](){var _0x4f10fa=_0xd593d2;this[_0x4f10fa(0x2a4)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4f10fa(0x16f)](se[_0x4f10fa(0x24a)]),this[_0x4f10fa(0x3b8)][_0x4f10fa(0x16f)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xd593d2(0x1d9)](){var _0x1481c3=_0xd593d2,_0x402176;this['_onOffline'](),this[_0x1481c3(0x408)]<((_0x402176=this[_0x1481c3(0x175)]['getConfig'](It))!=null?_0x402176:Vt)?(this[_0x1481c3(0x3bf)][_0x1481c3(0x35b)]({'id':Q[_0x1481c3(0x425)]}),this['_tryReconnect']()):this[_0x1481c3(0x3bf)][_0x1481c3(0x35b)]({'id':Q[_0x1481c3(0x290)]});}[_0xd593d2(0x3ce)](){var _0xe4a5d=_0xd593d2,_0xaddd23;const _0x3de5a3=this[_0xe4a5d(0x408)],_0x3a8f64=this['_configService'][_0xe4a5d(0x32c)](Y),_0x223494=_0x3de5a3===0x0?0x0:((_0xaddd23=_0x3a8f64==null?void 0x0:_0x3a8f64[_0xe4a5d(0x1e1)])!=null?_0xaddd23:Gt)*0x2**_0x3de5a3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5cba5f=_0xe4a5d;clearTimeout(this[_0x5cba5f(0x390)]),this[_0x5cba5f(0x390)]=null,this[_0x5cba5f(0x337)]();},_0x223494),this['_retryCount']+=0x1;}[_0xd593d2(0x1a3)](_0x113ba9,_0x3a97ec){var _0x574279=_0xd593d2;const {cmd:_0x2c49ff}=_0x3a97ec;_0x2c49ff===G[_0x574279(0x41a)]&&!this['_socketReady']&&(_0x113ba9[_0x574279(0x15a)]=_0x3a97ec[_0x574279(0x4b1)]['memberID'],this['_socket$'][_0x574279(0x16f)](_0x113ba9),this[_0x574279(0x1c5)][_0x574279(0x16f)](se['ONLINE']),this[_0x574279(0x2a4)]=!0x0,this[_0x574279(0x25b)]=null),_0x2c49ff===G[_0x574279(0x3c3)]&&this[_0x574279(0x358)](),this[_0x574279(0x45c)]();}[_0xd593d2(0x45c)](){var _0xbb085e=_0xd593d2,_0x45b86d;this[_0xbb085e(0x2c0)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xbb085e(0x464)](),(_0x45b86d=this[_0xbb085e(0x175)][_0xbb085e(0x32c)](mt))!=null?_0x45b86d:Wt);}[_0xd593d2(0x464)](){var _0x1c16d3=_0xd593d2;this[_0x1c16d3(0x303)]['send']({'cmd':G[_0x1c16d3(0x3c3)]}),this[_0x1c16d3(0x367)]();}['_waitForHeartbeatResponse'](){var _0x2a280d=_0xd593d2,_0x44b68b;this[_0x2a280d(0x19d)]=setTimeout(()=>this[_0x2a280d(0x1d9)](),(_0x44b68b=this['_configService']['getConfig'](He))!=null?_0x44b68b:gt);}[_0xd593d2(0x2c0)](){var _0x4d3a09=_0xd593d2;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4d3a09(0x24c)]),this[_0x4d3a09(0x24c)]=null);}[_0xd593d2(0x358)](){var _0x4c6672=_0xd593d2;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4c6672(0x19d)]),this['_timeoutTimer']=null);}},exports[_0xd593d2(0x428)]=vn([ae(0x0,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),ae(0x1,a['ILogService']),ae(0x2,a[_0xd593d2(0x1a7)]),ae(0x3,ke),ae(0x4,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)])),ae(0x5,a[_0xd593d2(0x23b)](te)),ae(0x6,a['Optional'](Rt))],exports[_0xd593d2(0x428)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0xd593d2(0x37c)]((r+0x100)[_0xd593d2(0x174)](0x10)['slice'](0x1));function fn(_0x21326d,_0x1e6b0d=0x0){var _0x413358=_0xd593d2;return(V[_0x21326d[_0x1e6b0d+0x0]]+V[_0x21326d[_0x1e6b0d+0x1]]+V[_0x21326d[_0x1e6b0d+0x2]]+V[_0x21326d[_0x1e6b0d+0x3]]+'-'+V[_0x21326d[_0x1e6b0d+0x4]]+V[_0x21326d[_0x1e6b0d+0x5]]+'-'+V[_0x21326d[_0x1e6b0d+0x6]]+V[_0x21326d[_0x1e6b0d+0x7]]+'-'+V[_0x21326d[_0x1e6b0d+0x8]]+V[_0x21326d[_0x1e6b0d+0x9]]+'-'+V[_0x21326d[_0x1e6b0d+0xa]]+V[_0x21326d[_0x1e6b0d+0xb]]+V[_0x21326d[_0x1e6b0d+0xc]]+V[_0x21326d[_0x1e6b0d+0xd]]+V[_0x21326d[_0x1e6b0d+0xe]]+V[_0x21326d[_0x1e6b0d+0xf]])[_0x413358(0x1c2)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x41db91=_0xd593d2;if(!Pe){if(typeof crypto>'u'||!crypto[_0x41db91(0x450)])throw new Error(_0x41db91(0x179));Pe=crypto['getRandomValues'][_0x41db91(0x1e5)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0xd593d2(0x489)]&&crypto[_0xd593d2(0x489)][_0xd593d2(0x1e5)](crypto),ze={'randomUUID':mn};function gn(_0x20307c,_0x4d2b89,_0x14233c){var _0x235bbe=_0xd593d2,_0x3f82d4,_0x337a9f,_0x2f0be7;if(ze[_0x235bbe(0x489)]&&!_0x20307c)return ze[_0x235bbe(0x489)]();_0x20307c=_0x20307c||{};const _0x4ffc25=(_0x2f0be7=(_0x337a9f=_0x20307c[_0x235bbe(0x3a2)])!=null?_0x337a9f:(_0x3f82d4=_0x20307c[_0x235bbe(0x276)])==null?void 0x0:_0x3f82d4['call'](_0x20307c))!=null?_0x2f0be7:pn();if(_0x4ffc25[_0x235bbe(0x311)]<0x10)throw new Error(_0x235bbe(0x273));return _0x4ffc25[0x6]=_0x4ffc25[0x6]&0xf|0x40,_0x4ffc25[0x8]=_0x4ffc25[0x8]&0x3f|0x80,fn(_0x4ffc25);}const z=a['createIdentifier'](_0xd593d2(0x2b9));function In(_0x467c8a){return'unit-cache-'+_0x467c8a;}var En=Object['defineProperty'],Cn=Object[_0xd593d2(0x2c8)],Tn=(_0x459ab3,_0x3e31d8,_0x393f96,_0x3a1d7e)=>{for(var _0x2dd43a=_0x3a1d7e>0x1?void 0x0:_0x3a1d7e?Cn(_0x3e31d8,_0x393f96):_0x3e31d8,_0x4f6c57=_0x459ab3['length']-0x1,_0x44a436;_0x4f6c57>=0x0;_0x4f6c57--)(_0x44a436=_0x459ab3[_0x4f6c57])&&(_0x2dd43a=(_0x3a1d7e?_0x44a436(_0x3e31d8,_0x393f96,_0x2dd43a):_0x44a436(_0x2dd43a))||_0x2dd43a);return _0x3a1d7e&&_0x2dd43a&&En(_0x3e31d8,_0x393f96,_0x2dd43a),_0x2dd43a;},De=(_0x36e137,_0x51338d)=>(_0xf6ab0f,_0x534953)=>_0x51338d(_0xf6ab0f,_0x534953,_0x36e137);function _0x1ac9(_0x428fa9,_0x2a240c){var _0x720138=_0x7201();return _0x1ac9=function(_0x1ac92c,_0x1ca281){_0x1ac92c=_0x1ac92c-0x13b;var _0x3cc732=_0x720138[_0x1ac92c];return _0x3cc732;},_0x1ac9(_0x428fa9,_0x2a240c);}function bn(_0x5d6819){var _0xeacffd=_0xd593d2;const {unitID:_0x529b8f,mutations:_0x418a51}=_0x5d6819;return{'unitId':_0x529b8f,'subUnitId':_0x418a51[0x0][_0xeacffd(0x35d)][_0xeacffd(0x340)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x331b10,_0x4f988c,_0x2a1851){var _0x5ced9d=_0xd593d2;this[_0x5ced9d(0x178)]=_0x331b10,this['_transformService']=_0x4f988c,this['_instanceService']=_0x2a1851;}['transformSelections'](_0x5d8ec8){var _0x570d8a=_0xd593d2,_0x4a9909,_0x111096,_0x5185f5,_0x2e4e22;const _0x6b5664=this[_0x570d8a(0x178)]['get'](J[_0x570d8a(0x328)]),{unitId:_0x6c884b,subUnitId:_0x19665b}=bn(_0x5d8ec8),_0x288596=_0x6b5664==null?void 0x0:_0x6b5664[_0x570d8a(0x374)](_0x6c884b)[_0x570d8a(0x38d)](),_0x14fdc6=(_0x111096=(_0x4a9909=this['_instanceService']['getUnit'](_0x6c884b))==null?void 0x0:_0x4a9909[_0x570d8a(0x4ae)]())==null?void 0x0:_0x111096[_0x570d8a(0x420)]();if(_0x288596['length']===0x0||!_0x6c884b||!_0x19665b)return;const _0x509c02=[{'id':J[_0x570d8a(0x203)]['id'],'params':{'unitId':_0x6c884b,'subUnitId':_0x14fdc6,'selections':a[_0x570d8a(0x40f)][_0x570d8a(0x48a)](_0x288596)}}],_0x40b323=this['_transformService']['transformMutationsWithChangeset'](_0x5d8ec8,_0x509c02);if(!m[_0x570d8a(0x23c)](_0x40b323))throw _0x40b323[_0x570d8a(0x28f)];const _0x21a2ce=(_0x2e4e22=(_0x5185f5=_0x40b323[_0x570d8a(0x159)][0x0])==null?void 0x0:_0x5185f5[_0x570d8a(0x35d)])==null?void 0x0:_0x2e4e22[_0x570d8a(0x1bd)];if(Array[_0x570d8a(0x13e)](_0x21a2ce)&&_0x21a2ce['length']){if(_0x21a2ce['length']===_0x509c02[0x0]['params'][_0x570d8a(0x1bd)]['length']&&_0x21a2ce[_0x570d8a(0x3e9)]((_0x17171c,_0x343bb8)=>a['Rectangle'][_0x570d8a(0x3c9)](_0x17171c[_0x570d8a(0x3f5)],_0x509c02[0x0][_0x570d8a(0x35d)][_0x570d8a(0x1bd)][_0x343bb8]['range'])))return;this[_0x570d8a(0x178)][_0x570d8a(0x3be)](a[_0x570d8a(0x231)])[_0x570d8a(0x329)](J[_0x570d8a(0x203)]['id'],{'unitId':_0x6c884b,'subUnitId':_0x14fdc6,'selections':_0x21a2ce});}}},exports[_0xd593d2(0x140)]=Tn([De(0x0,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),De(0x1,m[_0xd593d2(0x224)]),De(0x2,a[_0xd593d2(0x42b)])],exports['SheetTransformSelectionsService']);const ve=a[_0xd593d2(0x28a)](_0xd593d2(0x208));var Fe=(_0x3fd4cd=>(_0x3fd4cd[_0x3fd4cd['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xd593d2(0x378),_0x3fd4cd[_0x3fd4cd[_0xd593d2(0x13f)]=0x1]='OTHER_CLIENTS_EDITING',_0x3fd4cd))(Fe||{});const Rn=new Set([J[_0xd593d2(0x13d)]['id']]);function Je(_0x3a87d7,_0x2f45e5,_0x146156,_0x459c50,_0x194344){var _0x33f67c=_0xd593d2,_0x18bae1,_0x36c1f9,_0x3e8a28,_0x27f393;const _0x1de0f2=[];for(const _0x16d492 of _0x3a87d7)if(Rn[_0x33f67c(0x2af)](_0x16d492['id'])){if(_0x1de0f2[_0x33f67c(0x311)]>0x0)break;_0x1de0f2['push'](_0x16d492);break;}else _0x1de0f2['push'](_0x16d492);const _0x3ab6f7=(_0x36c1f9=(_0x18bae1=_0x194344['getCurrentUser']())==null?void 0x0:_0x18bae1[_0x33f67c(0x1a5)])!=null?_0x36c1f9:_0x33f67c(0x356),_0x14f404=(_0x27f393=(_0x3e8a28=_0x194344['getCurrentUser']())==null?void 0x0:_0x3e8a28[_0x33f67c(0x15a)])!=null?_0x27f393:_0x33f67c(0x356);return{'changeset':{'unitID':_0x2f45e5,'type':m[_0x33f67c(0x3ec)](_0x146156[_0x33f67c(0x495)](_0x2f45e5)),'baseRev':_0x459c50[_0x33f67c(0x3e1)](_0x2f45e5),'revision':0x0,'userID':_0x3ab6f7,'memberID':_0x14f404,'mutations':_0x1de0f2},'pendingMutations':_0x3a87d7[_0x33f67c(0x3c2)](_0x1de0f2[_0x33f67c(0x311)])};}function On(_0x1626c9,_0x273807,_0x4bf93d,_0xe593ef,_0x52815c){var _0x32240c=_0xd593d2,_0x32b0cc,_0x942dcd,_0x4e4e72,_0xe02162;const _0x1f53c1=[_0x1626c9[_0x32240c(0x2b5)]((_0x4c1e67,_0x4cdcb0)=>{var _0x3dd51c=_0x32240c,_0x2d859b;const {id:_0x23ceb4}=_0x4c1e67,{id:_0x134ce2,type:_0x5941a3}=_0x4cdcb0,_0x2920b1=(_0x2d859b=_0x4c1e67[_0x3dd51c(0x35d)])!=null?_0x2d859b:{'actions':null},_0x377373=_0x4cdcb0[_0x3dd51c(0x35d)];if(_0x23ceb4&&_0x23ceb4!==_0x134ce2)throw new Error(_0x3dd51c(0x379)+_0x23ceb4+_0x3dd51c(0x486)+_0x134ce2+'.');return{..._0x4c1e67,'id':_0x134ce2,'type':_0x5941a3,'params':{'unitId':_0x377373[_0x3dd51c(0x238)],'textRanges':_0x377373[_0x3dd51c(0x4ab)],'actions':a[_0x3dd51c(0x34f)]['compose'](_0x2920b1[_0x3dd51c(0x2be)],_0x377373[_0x3dd51c(0x2be)])}};},{})],_0x411e98=(_0x942dcd=(_0x32b0cc=_0x52815c[_0x32240c(0x27d)]())==null?void 0x0:_0x32b0cc[_0x32240c(0x1a5)])!=null?_0x942dcd:_0x32240c(0x356),_0x3c98c0=(_0xe02162=(_0x4e4e72=_0x52815c[_0x32240c(0x27d)]())==null?void 0x0:_0x4e4e72[_0x32240c(0x15a)])!=null?_0xe02162:_0x32240c(0x356);return{'changeset':{'unitID':_0x273807,'type':m['mapDocumentTypeToUniverType'](_0x4bf93d[_0x32240c(0x495)](_0x273807)),'baseRev':_0xe593ef['getCurrentRevOfUnit'](_0x273807),'revision':0x0,'userID':_0x411e98,'memberID':_0x3c98c0,'mutations':_0x1f53c1},'pendingMutations':[]};}function Nt(_0x2f4c0d,_0x2fbfa9){var _0x4d0f2e=_0xd593d2;const _0x31c737=new H[(_0x4d0f2e(0x1ee))](0x1);return setTimeout(()=>_0x31c737[_0x4d0f2e(0x16f)](_0x2fbfa9),_0x2f4c0d),_0x31c737[_0x4d0f2e(0x1a4)]()[_0x4d0f2e(0x21c)](H[_0x4d0f2e(0x363)](0x1));}const yn={'id':J[_0xd593d2(0x37a)]['id'],'type':a[_0xd593d2(0x421)][_0xd593d2(0x156)],'params':{}};var Nn=Object['defineProperty'],Un=Object['getOwnPropertyDescriptor'],le=(_0x4e61f6,_0x55f434,_0x3bd320,_0x5d5dcb)=>{var _0x10dd41=_0xd593d2;for(var _0x3a50e0=_0x5d5dcb>0x1?void 0x0:_0x5d5dcb?Un(_0x55f434,_0x3bd320):_0x55f434,_0x5db9b0=_0x4e61f6[_0x10dd41(0x311)]-0x1,_0x18ea13;_0x5db9b0>=0x0;_0x5db9b0--)(_0x18ea13=_0x4e61f6[_0x5db9b0])&&(_0x3a50e0=(_0x5d5dcb?_0x18ea13(_0x55f434,_0x3bd320,_0x3a50e0):_0x18ea13(_0x3a50e0))||_0x3a50e0);return _0x5d5dcb&&_0x3a50e0&&Nn(_0x55f434,_0x3bd320,_0x3a50e0),_0x3a50e0;},A=(_0x3fe969,_0x20993a)=>(_0x2fb3ed,_0x52847f)=>_0x20993a(_0x2fb3ed,_0x52847f,_0x3fe969),We=(_0x2e2d0c=>(_0x2e2d0c[_0xd593d2(0x3fc)]=_0xd593d2(0x14d),_0x2e2d0c[_0xd593d2(0x406)]=_0xd593d2(0x43e),_0x2e2d0c[_0xd593d2(0x3b7)]='pending',_0x2e2d0c[_0xd593d2(0x1a8)]=_0xd593d2(0x1ef),_0x2e2d0c[_0xd593d2(0x3cb)]=_0xd593d2(0x461),_0x2e2d0c[_0xd593d2(0x3a9)]=_0xd593d2(0x170),_0x2e2d0c[_0xd593d2(0x1ea)]=_0xd593d2(0x2a5),_0x2e2d0c[_0xd593d2(0x24a)]=_0xd593d2(0x442),_0x2e2d0c))(We||{});const Ut=0xea60;class _e{constructor(_0x591de4,_0x4787cf,_0x610e50,_0x264807,_0x4b6964,_0x4747e1,_0x35bed0,_0x1f67db,_0x1e624d){var _0x449292=_0xd593d2;D(this,_0x449292(0x3f4),null),D(this,_0x449292(0x2da),[]),(this['unitID']=_0x591de4,this[_0x449292(0x147)]=_0x4787cf,this[_0x449292(0x372)]=_0x4b6964,this['_commandService']=_0x4747e1,this[_0x449292(0x43a)]=_0x35bed0,this[_0x449292(0x191)]=_0x1f67db,this[_0x449292(0x263)]=_0x1e624d,this['_awaitingChangeset']=_0x610e50,this[_0x449292(0x2da)]=_0x264807);}[_0xd593d2(0x31d)](_0x12938e){var _0x481f51=_0xd593d2;const _0x2856dc=this[_0x481f51(0x191)][_0x481f51(0x3e1)](this[_0x481f51(0x1f9)]);return _0x12938e[_0x481f51(0x308)]>_0x2856dc+0x1?(this[_0x481f51(0x372)][_0x481f51(0x312)]({'from':_0x2856dc,'to':_0x12938e[_0x481f51(0x308)]-0x1}),!0x0):!0x1;}[_0xd593d2(0x2e0)](_0x3967c8){var _0x1dc6d7=_0xd593d2;this[_0x1dc6d7(0x43a)]['transformUndoRedo'](this[_0x1dc6d7(0x1f9)],_0x3967c8);}[_0xd593d2(0x443)](_0x201b29){var _0x22f450=_0xd593d2,_0x4ed228,_0x23e60a;(_0x23e60a=(_0x4ed228=this[_0x22f450(0x372)])['onTransformSelections'])==null||_0x23e60a[_0x22f450(0x496)](_0x4ed228,_0x201b29);}[_0xd593d2(0x43f)](_0x3720fb){var _0x4a21b5=_0xd593d2,_0x4e528c,_0x38c683;return(_0x38c683=(_0x4e528c=this[_0x4a21b5(0x372)])[_0x4a21b5(0x44e)])==null?void 0x0:_0x38c683[_0x4a21b5(0x496)](_0x4e528c,_0x3720fb);}['_transformStateCache'](_0x55b06a){var _0x1ea17d=_0xd593d2,_0x18011f,_0x12bb40;return(_0x12bb40=(_0x18011f=this['_handler'])[_0x1ea17d(0x491)])==null?void 0x0:_0x12bb40[_0x1ea17d(0x496)](_0x18011f,_0x55b06a);}[_0xd593d2(0x1ae)](_0x136f53){var _0x1e0c74=_0xd593d2,_0x42b23f,_0x298f4e,_0x5e51d1;return(_0x5e51d1=(_0x298f4e=(_0x42b23f=this[_0x1e0c74(0x372)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x298f4e[_0x1e0c74(0x496)](_0x42b23f,_0x136f53))!=null?_0x5e51d1:_0x136f53;}[_0xd593d2(0x3c6)](_0x4a9437){var _0x13a519=_0xd593d2,_0x4ed2d1,_0x1bd7c7,_0x2b4511;return(_0x2b4511=(_0x1bd7c7=(_0x4ed2d1=this[_0x13a519(0x372)])[_0x13a519(0x270)])==null?void 0x0:_0x1bd7c7[_0x13a519(0x496)](_0x4ed2d1,_0x4a9437))!=null?_0x2b4511:_0x4a9437;}['_syncEditingCollabCursor'](_0x125703){var _0x2b9248=_0xd593d2,_0x3f2ff5,_0x5d403e;if(this[_0x2b9248(0x147)]===Z[_0x2b9248(0x148)]){const {unitID:_0x2dbc44,mutations:_0x115e27,memberID:_0x5c823d}=_0x125703,_0x355351=_0x115e27[0x0][_0x2b9248(0x35d)][_0x2b9248(0x4ab)];Array[_0x2b9248(0x13e)](_0x355351)&&_0x355351[_0x2b9248(0x311)]>0x0&&((_0x5d403e=(_0x3f2ff5=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5d403e['call'](_0x3f2ff5,{'unitID':_0x2dbc44,'memberID':_0x5c823d,'textRanges':_0x355351}));}}[_0xd593d2(0x30a)](){var _0x1d7d0e=_0xd593d2,_0x470baf;(_0x470baf=this[_0x1d7d0e(0x263)])==null||_0x470baf[_0x1d7d0e(0x183)](this[_0x1d7d0e(0x1f9)],this[_0x1d7d0e(0x147)],this[_0x1d7d0e(0x3f4)],this[_0x1d7d0e(0x2da)]);}[_0xd593d2(0x3aa)](){var _0x385925=_0xd593d2;return this[_0x385925(0x191)][_0x385925(0x3e1)](this[_0x385925(0x1f9)]);}[_0xd593d2(0x1d0)](){var _0x137e37=_0xd593d2;this[_0x137e37(0x191)][_0x137e37(0x3ae)](this['unitID']);}[_0xd593d2(0x314)](_0x215fea){var _0x5e75d0=_0xd593d2,_0x177a20;let _0x852313=this[_0x5e75d0(0x1ae)](_0x215fea);_0x852313=this[_0x5e75d0(0x3c6)](_0x852313);const _0x51b731=a['sequenceExecute'](_0x852313['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x51b731[_0x5e75d0(0x44c)])throw _0x51b731[_0x5e75d0(0x28f)]instanceof Error?_0x51b731['error']:new Error((_0x177a20=_0x51b731[_0x5e75d0(0x28f)])!=null?_0x177a20:_0x5e75d0(0x2d5));this[_0x5e75d0(0x43f)](_0x852313),this[_0x5e75d0(0x395)](_0x852313),this[_0x5e75d0(0x2e0)](_0x215fea),this['_transformSelections'](_0x852313),this[_0x5e75d0(0x1d5)](_0x852313),this[_0x5e75d0(0x1d0)]();}}exports[_0xd593d2(0x289)]=class extends _e{constructor(_0x1c8ae2,_0x54de3e,_0x183009,_0x4f8ce4,_0x675889,_0x52decf,_0x24ab56,_0x312eec,_0x5570a3,_0x5d32a2){var _0x2db8aa=_0xd593d2;super(_0x1c8ae2,_0x54de3e,null,[],_0x183009,_0x24ab56,_0x52decf,_0x4f8ce4,_0x5d32a2),D(this,'status',_0x2db8aa(0x43e)),(this[_0x2db8aa(0x178)]=_0x675889,this[_0x2db8aa(0x3d9)]=_0x312eec,this[_0x2db8aa(0x37b)]=_0x5570a3,this[_0x2db8aa(0x1b6)]=_0x5d32a2);}['appendMutation'](_0x3698f7){var _0x9cf1c3=_0xd593d2;const _0x248f55=this[_0x9cf1c3(0x178)][_0x9cf1c3(0x366)](exports['PendingState'],this['unitID'],this[_0x9cf1c3(0x147)],[_0x3698f7],this[_0x9cf1c3(0x372)]);return _0x248f55[_0x9cf1c3(0x15e)](),_0x248f55[_0x9cf1c3(0x30a)](),_0x248f55;}[_0xd593d2(0x437)](_0x209fae){var _0x55e970=_0xd593d2;if(this[_0x55e970(0x31d)](_0x209fae))return this['_injector'][_0x55e970(0x366)](exports[_0x55e970(0x460)],this[_0x55e970(0x1f9)],this[_0x55e970(0x147)],null,[],null,[_0x209fae],this[_0x55e970(0x372)]);try{const _0x4723fb=this[_0x55e970(0x37b)][_0x55e970(0x41f)](_0x209fae,[yn]);if(m[_0x55e970(0x23c)](_0x4723fb)){const {c1Prime:_0x341dd4}=_0x4723fb;return this[_0x55e970(0x314)](_0x341dd4),this;}throw _0x4723fb['error'];}catch(_0x18022e){return this['_logService'][_0x55e970(0x28f)](_0x18022e),this['_onConflict'](!0x1);}}[_0xd593d2(0x192)](_0x2b92e2){var _0xc7b3d5=_0xd593d2;return this[_0xc7b3d5(0x178)][_0xc7b3d5(0x366)](exports[_0xc7b3d5(0x281)],this[_0xc7b3d5(0x1f9)],this[_0xc7b3d5(0x147)],null,[],this[_0xc7b3d5(0x372)],_0x2b92e2);}[_0xd593d2(0x200)](){var _0x3d1710=_0xd593d2;throw new Error(_0x3d1710(0x225));}[_0xd593d2(0x2d1)](){var _0x16cd9c=_0xd593d2;throw new Error(_0x16cd9c(0x338));}[_0xd593d2(0x24d)](){return this;}['toggleOffline'](){var _0x2749a9=_0xd593d2;return this[_0x2749a9(0x178)][_0x2749a9(0x366)](exports[_0x2749a9(0x49c)],this[_0x2749a9(0x1f9)],this[_0x2749a9(0x147)],null,[],this['_handler']);}[_0xd593d2(0x22d)](){return this;}[_0xd593d2(0x246)](){var _0xe9ca52=_0xd593d2;throw new Error(_0xe9ca52(0x41d));}[_0xd593d2(0x2a9)](){var _0x50394=_0xd593d2;const _0x2a9b63=this[_0x50394(0x191)][_0x50394(0x3e1)](this[_0x50394(0x1f9)]);return this[_0x50394(0x372)][_0x50394(0x312)]({'from':_0x2a9b63,'to':0x0}),this[_0x50394(0x178)][_0x50394(0x366)](exports['FetchingMissState'],this[_0x50394(0x1f9)],this['type'],null,[],null,[],this[_0x50394(0x372)]);}},exports['SyncedState']=le([A(0x3,a['Inject'](m[_0xd593d2(0x17e)])),A(0x4,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),A(0x5,a['IUndoRedoService']),A(0x6,a['ICommandService']),A(0x7,a[_0xd593d2(0x2ac)]),A(0x8,m[_0xd593d2(0x224)]),A(0x9,a[_0xd593d2(0x218)](z))],exports[_0xd593d2(0x289)]),exports[_0xd593d2(0x23f)]=class extends _e{constructor(_0x2c84b9,_0x55f58d,_0x149a00,_0x35413d,_0x15f8a7,_0x2d3745,_0x2f3c22,_0x42ed0e,_0x21e413,_0x4d95bf,_0x5a1dd0,_0x15dd8c,_0x2fd0fe,_0x46279e){var _0x354556=_0xd593d2;super(_0x2c84b9,_0x55f58d,null,_0x149a00,_0x35413d,_0x21e413,_0x2fd0fe,_0x2d3745,_0x46279e),D(this,_0x354556(0x3bc),'pending'),D(this,_0x354556(0x282),null),D(this,_0x354556(0x382),null),(this[_0x354556(0x178)]=_0x15f8a7,this[_0x354556(0x1ad)]=_0x2f3c22,this[_0x354556(0x3d9)]=_0x42ed0e,this[_0x354556(0x175)]=_0x4d95bf,this['_transformService']=_0x5a1dd0,this[_0x354556(0x25e)]=_0x15dd8c);}['appendMutation'](_0x57dea1){var _0x5e6cd9=_0xd593d2;return this[_0x5e6cd9(0x2da)]['push'](_0x57dea1),this[_0x5e6cd9(0x30a)](),this;}[_0xd593d2(0x437)](_0xa0132){var _0x2ea24b=_0xd593d2;if(this[_0x2ea24b(0x31d)](_0xa0132))return this[_0x2ea24b(0x19f)](),this['_injector'][_0x2ea24b(0x366)](exports[_0x2ea24b(0x460)],this[_0x2ea24b(0x1f9)],this[_0x2ea24b(0x147)],null,this[_0x2ea24b(0x2da)],null,[_0xa0132],this[_0x2ea24b(0x372)]);try{const _0x2c9a2c=this['_transformService'][_0x2ea24b(0x41f)](_0xa0132,this[_0x2ea24b(0x2da)]);if(m[_0x2ea24b(0x23c)](_0x2c9a2c)){const {c1Prime:_0xe72bcb,m2Prime:_0x1990ee}=_0x2c9a2c;this['_executeRemoteChangeset'](_0xe72bcb);const _0x4be9e8=this[_0x2ea24b(0x178)][_0x2ea24b(0x366)](exports['PendingState'],this['unitID'],this[_0x2ea24b(0x147)],_0x1990ee,this['_handler']);this['_clearScheduledTask']();const _0x1bee7e=new Date()[_0x2ea24b(0x4ac)](),_0x5437b2=this[_0x2ea24b(0x282)]?Math[_0x2ea24b(0x217)](this['_scheduleCompleteTimestamp']-_0x1bee7e,0x0):this['_getSendChangesetTimeout']();return _0x4be9e8[_0x2ea24b(0x15e)](_0x5437b2),_0x4be9e8;}throw _0x2c9a2c[_0x2ea24b(0x28f)];}catch(_0x3392f9){return this['_logService'][_0x2ea24b(0x28f)](_0x3392f9),this[_0x2ea24b(0x192)](!0x1);}}[_0xd593d2(0x200)](){var _0x1ab01f=_0xd593d2;throw new Error(_0x1ab01f(0x181));}[_0xd593d2(0x2d1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xd593d2(0x32d)](){var _0x3437ac=_0xd593d2;return this[_0x3437ac(0x19f)](),this['_injector']['createInstance'](exports[_0x3437ac(0x49c)],this[_0x3437ac(0x1f9)],this['type'],null,this[_0x3437ac(0x2da)],this[_0x3437ac(0x372)]);}['toggleOnline'](){return this;}[_0xd593d2(0x15e)](_0x23a362){var _0x546706=_0xd593d2;const _0x13267a=_0x23a362!=null?_0x23a362:this[_0x546706(0x2bf)]();this['_scheduleCompleteTimestamp']=new Date()[_0x546706(0x4ac)]()+_0x13267a,this[_0x546706(0x382)]=setTimeout(()=>{var _0xcff684=_0x546706;this[_0xcff684(0x19f)]();let _0x29bc24=null;switch(this[_0xcff684(0x147)]){case Z['UNIVER_SHEET']:{_0x29bc24=Je(this['_pendingMutations'],this[_0xcff684(0x1f9)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case Z[_0xcff684(0x148)]:{this['_pendingMutations']['every'](_0x176c08=>_0x176c08['id']===dt[_0xcff684(0x36c)]['id'])?_0x29bc24=On(this[_0xcff684(0x2da)],this[_0xcff684(0x1f9)],this[_0xcff684(0x25e)],this[_0xcff684(0x191)],this['_memberService']):_0x29bc24=Je(this[_0xcff684(0x2da)],this['unitID'],this[_0xcff684(0x25e)],this['_revisionService'],this[_0xcff684(0x1ad)]);break;}default:throw new Error(_0xcff684(0x452)+this['type']+_0xcff684(0x2f0));}const {changeset:_0x304d0f,pendingMutations:_0x22bb7d}=_0x29bc24;this['_handler'][_0xcff684(0x41b)](_0x304d0f);const _0x32baff=_0x22bb7d[_0xcff684(0x311)]?this[_0xcff684(0x178)][_0xcff684(0x366)](exports['AwaitingWithPendingState'],this[_0xcff684(0x1f9)],this[_0xcff684(0x147)],_0x304d0f,_0x22bb7d,this[_0xcff684(0x372)],void 0x0):this[_0xcff684(0x178)][_0xcff684(0x366)](exports[_0xcff684(0x2fb)],this[_0xcff684(0x1f9)],this['type'],_0x304d0f,this[_0xcff684(0x372)]);_0x32baff['_updateLocalCache'](),this[_0xcff684(0x372)][_0xcff684(0x492)](this,_0x32baff);},_0x13267a);}[_0xd593d2(0x2bf)](){var _0x211254=_0xd593d2,_0x2d4033;const _0x5453f0=this[_0x211254(0x175)][_0x211254(0x32c)](Y);return(_0x2d4033=_0x5453f0==null?void 0x0:_0x5453f0[_0x211254(0x242)])!=null?_0x2d4033:Bt;}[_0xd593d2(0x246)](){var _0x34a0db=_0xd593d2;throw new Error(_0x34a0db(0x1fd));}[_0xd593d2(0x19f)](){var _0x39ee07=_0xd593d2;this['_sendingTimer']!=null&&(clearTimeout(this[_0x39ee07(0x382)]),this[_0x39ee07(0x382)]=null);}[_0xd593d2(0x192)](_0x44f6ee){var _0x40e781=_0xd593d2;return this[_0x40e781(0x19f)](),this['_injector'][_0x40e781(0x366)](exports[_0x40e781(0x281)],this[_0x40e781(0x1f9)],this[_0x40e781(0x147)],null,this['_pendingMutations'],this['_handler'],_0x44f6ee);}},exports[_0xd593d2(0x23f)]=le([A(0x4,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),A(0x5,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),A(0x6,a[_0xd593d2(0x23b)](exports['MemberService'])),A(0x7,a[_0xd593d2(0x2ac)]),A(0x8,a[_0xd593d2(0x231)]),A(0x9,a[_0xd593d2(0x1a7)]),A(0xa,m[_0xd593d2(0x224)]),A(0xb,a['IUniverInstanceService']),A(0xc,a[_0xd593d2(0x2d8)]),A(0xd,a[_0xd593d2(0x218)](z))],exports['PendingState']),exports[_0xd593d2(0x2fb)]=class extends _e{constructor(_0x2e8091,_0x1221db,_0xab5158,_0x120819,_0x49e0be,_0x407a78,_0x1c559d,_0xa880ff,_0x51ff36,_0x5e5a66,_0x1df4dd){var _0x3cd26f=_0xd593d2;super(_0x2e8091,_0x1221db,_0xab5158,[],_0x120819,_0x1c559d,_0x5e5a66,_0x407a78,_0x1df4dd),D(this,_0x3cd26f(0x3bc),_0x3cd26f(0x1ef)),D(this,'_resendTimeout',0x0),D(this,_0x3cd26f(0x1c1)),D(this,_0x3cd26f(0x20b)),(this[_0x3cd26f(0x178)]=_0x49e0be,this['_logService']=_0xa880ff,this[_0x3cd26f(0x37b)]=_0x51ff36);}[_0xd593d2(0x4a3)](_0x562ebf){var _0x3a69f9=_0xd593d2;this[_0x3a69f9(0x19f)]();const _0x29acb6=this[_0x3a69f9(0x178)][_0x3a69f9(0x366)](exports[_0x3a69f9(0x199)],this[_0x3a69f9(0x1f9)],this[_0x3a69f9(0x147)],this[_0x3a69f9(0x3f4)],[_0x562ebf],this[_0x3a69f9(0x372)],this[_0x3a69f9(0x1c1)]);return _0x29acb6[_0x3a69f9(0x30a)](),_0x29acb6;}[_0xd593d2(0x437)](_0x4d2695){var _0x9d76d7=_0xd593d2;if(this[_0x9d76d7(0x31d)](_0x4d2695))return this[_0x9d76d7(0x19f)](),this['_injector'][_0x9d76d7(0x366)](exports[_0x9d76d7(0x460)],this[_0x9d76d7(0x1f9)],this[_0x9d76d7(0x147)],this['_awaitingChangeset'],[],null,[_0x4d2695],this[_0x9d76d7(0x372)]);try{const _0x1c0777=this['_transformService'][_0x9d76d7(0x466)]([_0x4d2695],[this[_0x9d76d7(0x3f4)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x1c0777)){const {c1Prime:_0x52ad9c,c2Prime:_0x564807}=_0x1c0777;this['_executeRemoteChangeset'](_0x52ad9c[0x0]),_0x564807[0x0]['baseRev']=this[_0x9d76d7(0x3aa)](),this[_0x9d76d7(0x19f)]();const _0x273ba5=this['_injector'][_0x9d76d7(0x366)](exports['AwaitingState'],this[_0x9d76d7(0x1f9)],this['type'],_0x564807[0x0],this[_0x9d76d7(0x372)]);return _0x273ba5[_0x9d76d7(0x30a)](),_0x273ba5;}return this[_0x9d76d7(0x192)](!0x1);}catch(_0x2e312c){return this[_0x9d76d7(0x3d9)][_0x9d76d7(0x28f)](_0x2e312c),this[_0x9d76d7(0x192)](!0x1);}}[_0xd593d2(0x200)](_0x3a5163){var _0x2a9f2d=_0xd593d2;this[_0x2a9f2d(0x19f)]();const _0x373000=this[_0x2a9f2d(0x191)][_0x2a9f2d(0x3e1)](this[_0x2a9f2d(0x1f9)]);if(_0x3a5163[_0x2a9f2d(0x308)]<_0x373000-0x1)return this;if(this['_checkMissing'](_0x3a5163))return this[_0x2a9f2d(0x178)][_0x2a9f2d(0x366)](exports[_0x2a9f2d(0x460)],this['unitID'],this[_0x2a9f2d(0x147)],null,[],this['_awaitingChangeset'],[],this[_0x2a9f2d(0x372)]);this['_incrementRevisionNumber']();const _0x31278b=this[_0x2a9f2d(0x178)][_0x2a9f2d(0x366)](exports['SyncedState'],this['unitID'],this['type'],this[_0x2a9f2d(0x372)]);return _0x31278b['_updateLocalCache'](),_0x31278b;}[_0xd593d2(0x2d1)](_0x2f5616){var _0xb53881=_0xd593d2;return this[_0xb53881(0x192)](!!(_0x2f5616!=null&&_0x2f5616[_0xb53881(0x3a4)]));}[_0xd593d2(0x24d)](_0x25911d){var _0x5ea691=_0xd593d2;return this[_0x5ea691(0x2c2)]>Ut?this[_0x5ea691(0x32d)]():(this[_0x5ea691(0x1c1)]=Nt(this[_0x5ea691(0x2c2)],{'timeout':this[_0x5ea691(0x2c2)],'reqId':_0x25911d[_0x5ea691(0x3e6)]}),this['_sender']=this[_0x5ea691(0x1c1)]['subscribe'](({reqId:_0x4b66f1,timeout:_0x47d5bb})=>{var _0x58bff8=_0x5ea691;this[_0x58bff8(0x18e)](_0x4b66f1,_0x47d5bb);}),this);}['toggleOffline'](){var _0x3b9577=_0xd593d2;return this[_0x3b9577(0x19f)](),this[_0x3b9577(0x178)][_0x3b9577(0x366)](exports['OfflineState'],this[_0x3b9577(0x1f9)],this['type'],this['_awaitingChangeset'],[],this[_0x3b9577(0x372)]);}['toggleOnline'](){return this;}[_0xd593d2(0x246)](){var _0x3e956a=_0xd593d2;this['_handler'][_0x3e956a(0x41b)](this[_0x3e956a(0x3f4)]);}[_0xd593d2(0x192)](_0x4905d3){var _0x548e86=_0xd593d2;return this['_clearScheduledTask'](),this[_0x548e86(0x178)][_0x548e86(0x366)](exports[_0x548e86(0x281)],this[_0x548e86(0x1f9)],this[_0x548e86(0x147)],this[_0x548e86(0x3f4)],[],this[_0x548e86(0x372)],_0x4905d3);}[_0xd593d2(0x18e)](_0x2b5d3e,_0x2778d9){var _0x407462=_0xd593d2,_0xc24750;_0x2b5d3e===((_0xc24750=this[_0x407462(0x3f4)])==null?void 0x0:_0xc24750[_0x407462(0x3e6)])&&(this['resend'](),this['_resendTimeout']=_0x2778d9===0x0?0x3e8:_0x2778d9*0x2);}['_clearScheduledTask'](){var _0x3734b8=_0xd593d2,_0x4bf3c3;(_0x4bf3c3=this[_0x3734b8(0x20b)])==null||_0x4bf3c3[_0x3734b8(0x1a0)](),this['_resendTimeout']=0x0;}},exports[_0xd593d2(0x2fb)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),A(0x6,a[_0xd593d2(0x231)]),A(0x7,a[_0xd593d2(0x2ac)]),A(0x8,m[_0xd593d2(0x224)]),A(0x9,a[_0xd593d2(0x2d8)]),A(0xa,a['Optional'](z))],exports[_0xd593d2(0x2fb)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x3a3166,_0x73c9b6,_0x216a4e,_0x103767,_0x1f7e26,_0x4f2718,_0x51084b,_0x2aa7f2,_0x43c144,_0x5058f6,_0x9ccd9f,_0x4a054a,_0x46b51f){var _0x1ef6f0=_0xd593d2;super(_0x3a3166,_0x73c9b6,_0x216a4e,_0x103767,_0x1f7e26,_0x43c144,_0x4a054a,_0x2aa7f2,_0x46b51f),D(this,_0x1ef6f0(0x3bc),_0x1ef6f0(0x461)),D(this,_0x1ef6f0(0x2c2),0x0),D(this,'_resendTimer'),D(this,_0x1ef6f0(0x20b)),(this[_0x1ef6f0(0x178)]=_0x51084b,this[_0x1ef6f0(0x3d9)]=_0x5058f6,this['_transformService']=_0x9ccd9f,this[_0x1ef6f0(0x1b6)]=_0x46b51f,_0x4f2718&&(this[_0x1ef6f0(0x1c1)]=_0x4f2718,this[_0x1ef6f0(0x20b)]=this[_0x1ef6f0(0x1c1)]['subscribe'](({reqId:_0x4753d9,timeout:_0x2b2bbd})=>{this['_resendWithTimeout'](_0x4753d9,_0x2b2bbd);})));}[_0xd593d2(0x4a3)](_0x5634ac){var _0x32e1fe=_0xd593d2;return this[_0x32e1fe(0x2da)]['push'](_0x5634ac),this;}[_0xd593d2(0x437)](_0x4cd6a1){var _0x8dd5f9=_0xd593d2;if(this[_0x8dd5f9(0x31d)](_0x4cd6a1))return this[_0x8dd5f9(0x19f)](),this[_0x8dd5f9(0x178)]['createInstance'](exports[_0x8dd5f9(0x460)],this[_0x8dd5f9(0x1f9)],this[_0x8dd5f9(0x147)],this['_awaitingChangeset'],this[_0x8dd5f9(0x2da)],null,[_0x4cd6a1],this[_0x8dd5f9(0x372)]);try{const _0x467b74=this[_0x8dd5f9(0x37b)][_0x8dd5f9(0x466)]([_0x4cd6a1],[this[_0x8dd5f9(0x3f4)]],!0x1);if(m[_0x8dd5f9(0x226)](_0x467b74)){const {c1Prime:_0x3ace1c,c2Prime:_0x560b67}=_0x467b74,_0x3fcb33=this['_transformService']['transformMutationsWithChangeset'](_0x3ace1c[0x0],this[_0x8dd5f9(0x2da)]);if(m[_0x8dd5f9(0x23c)](_0x3fcb33)){const {c1Prime:_0x1b14a5,m2Prime:_0x1c28dd}=_0x3fcb33;return this[_0x8dd5f9(0x314)](_0x1b14a5),_0x560b67[0x0]['baseRev']=this[_0x8dd5f9(0x3aa)](),this['_clearScheduledTask'](),this[_0x8dd5f9(0x178)][_0x8dd5f9(0x366)](exports[_0x8dd5f9(0x199)],this[_0x8dd5f9(0x1f9)],this[_0x8dd5f9(0x147)],_0x560b67[0x0],_0x1c28dd,this[_0x8dd5f9(0x372)],void 0x0);}throw _0x3fcb33[_0x8dd5f9(0x28f)];}throw _0x467b74[_0x8dd5f9(0x28f)];}catch(_0x66a466){return this['_logService']['error'](_0x66a466),this[_0x8dd5f9(0x192)](!0x1);}}['onRemoteAck'](_0x4e17b0){var _0x1523ed=_0xd593d2;if(this[_0x1523ed(0x19f)](),this[_0x1523ed(0x31d)](_0x4e17b0))return this[_0x1523ed(0x178)][_0x1523ed(0x366)](exports[_0x1523ed(0x460)],this[_0x1523ed(0x1f9)],this[_0x1523ed(0x147)],null,this[_0x1523ed(0x2da)],this[_0x1523ed(0x3f4)],[],this[_0x1523ed(0x372)]);this[_0x1523ed(0x1d0)]();const _0x3911cf=this['_injector'][_0x1523ed(0x366)](exports[_0x1523ed(0x23f)],this[_0x1523ed(0x1f9)],this[_0x1523ed(0x147)],this[_0x1523ed(0x2da)],this[_0x1523ed(0x372)]);return _0x3911cf[_0x1523ed(0x15e)](),_0x3911cf[_0x1523ed(0x30a)](),_0x3911cf;}[_0xd593d2(0x2d1)](_0x5d35b5){var _0x22389e=_0xd593d2;return this[_0x22389e(0x192)](!!(_0x5d35b5!=null&&_0x5d35b5[_0x22389e(0x3a4)]));}['onRemoteRetry'](_0x76e973){var _0x15d357=_0xd593d2;return this[_0x15d357(0x2c2)]>Ut?this[_0x15d357(0x32d)]():(this['_resendTimer']=Nt(this[_0x15d357(0x2c2)],{'timeout':this['_resendTimeout'],'reqId':_0x76e973[_0x15d357(0x3e6)]}),this['_sender']=this[_0x15d357(0x1c1)][_0x15d357(0x37e)](({reqId:_0x21c21e,timeout:_0x4ad145})=>{var _0x312c5b=_0x15d357;this[_0x312c5b(0x18e)](_0x21c21e,_0x4ad145);}),this);}[_0xd593d2(0x32d)](){var _0x5a23a6=_0xd593d2;return this['_clearScheduledTask'](),this[_0x5a23a6(0x178)][_0x5a23a6(0x366)](exports[_0x5a23a6(0x49c)],this[_0x5a23a6(0x1f9)],this[_0x5a23a6(0x147)],this[_0x5a23a6(0x3f4)],this[_0x5a23a6(0x2da)],this[_0x5a23a6(0x372)]);}[_0xd593d2(0x22d)](){return this;}[_0xd593d2(0x246)](){var _0x2a0d16=_0xd593d2;this[_0x2a0d16(0x372)][_0x2a0d16(0x41b)](this['_awaitingChangeset']);}[_0xd593d2(0x192)](_0x5c1e12){var _0x35cf36=_0xd593d2;return this['_clearScheduledTask'](),this[_0x35cf36(0x178)]['createInstance'](exports[_0x35cf36(0x281)],this[_0x35cf36(0x1f9)],this[_0x35cf36(0x147)],null,this[_0x35cf36(0x2da)],this['_handler'],_0x5c1e12);}[_0xd593d2(0x18e)](_0x1a934d,_0x191099){var _0x1db0f8=_0xd593d2,_0x107df7;_0x1a934d===((_0x107df7=this[_0x1db0f8(0x3f4)])==null?void 0x0:_0x107df7[_0x1db0f8(0x3e6)])&&(this['resend'](),this[_0x1db0f8(0x2c2)]=_0x191099===0x0?0x3e8:_0x191099*0x2);}[_0xd593d2(0x19f)](){var _0x125d3c=_0xd593d2,_0x4d6b09;(_0x4d6b09=this[_0x125d3c(0x20b)])==null||_0x4d6b09['unsubscribe'](),this[_0x125d3c(0x2c2)]=0x0;}},exports[_0xd593d2(0x199)]=le([A(0x6,a['Inject'](a[_0xd593d2(0x3cf)])),A(0x7,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),A(0x8,a[_0xd593d2(0x231)]),A(0x9,a[_0xd593d2(0x2ac)]),A(0xa,m[_0xd593d2(0x224)]),A(0xb,a[_0xd593d2(0x2d8)]),A(0xc,a['Optional'](z))],exports[_0xd593d2(0x199)]),exports[_0xd593d2(0x281)]=class extends _e{constructor(_0x547801,_0x26bd55,_0x16c722,_0x69865,_0x679593,_0x465c90=!0x1,_0x1c3e2c,_0x1f89e7,_0x15e29b,_0xb0cf3d,_0xd51386,_0x2b5dd6,_0x59268d){var _0x145565=_0xd593d2;super(_0x547801,_0x26bd55,_0x16c722,_0x69865,_0x679593,_0x1f89e7,_0x15e29b,_0xb0cf3d,_0x59268d),D(this,'status',_0x145565(0x2a5)),(this[_0x145565(0x4a9)]=_0x465c90,this[_0x145565(0x3ea)]=_0x1c3e2c,this['_localeService']=_0xd51386,this['_collaborationUIEventService']=_0x2b5dd6,this[_0x145565(0x1b6)]=_0x59268d,this[_0x145565(0x20a)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xd593d2(0x437)](){return this;}[_0xd593d2(0x200)](){return this;}['onRemoteRej'](){return this;}[_0xd593d2(0x24d)](){return this;}[_0xd593d2(0x32d)](){return this;}[_0xd593d2(0x22d)](){return this;}[_0xd593d2(0x246)](){var _0x25c2cf=_0xd593d2;throw new Error(_0x25c2cf(0x3fe));}[_0xd593d2(0x22e)](){var _0x53dd4d=_0xd593d2,_0x2bfed3;(_0x2bfed3=this['_localCacheService'])==null||_0x2bfed3[_0x53dd4d(0x183)](this[_0x53dd4d(0x1f9)],this[_0x53dd4d(0x147)],null,[]);}['_showConflictNotification'](){var _0x2be56f=_0xd593d2;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x2be56f(0x35b)]({'id':Q[_0x2be56f(0x316)]}):this[_0x2be56f(0x3bf)][_0x2be56f(0x35b)]({'id':Q[_0x2be56f(0x1ea)]});}[_0xd593d2(0x17b)](){var _0x221d88=_0xd593d2;this[_0x221d88(0x3ea)][_0x221d88(0x19b)](new J[(_0x221d88(0x186))](this[_0x221d88(0x1f9)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0xd593d2(0x23b)](a[_0xd593d2(0x23d)])),A(0x7,a[_0xd593d2(0x231)]),A(0x8,a[_0xd593d2(0x2d8)]),A(0x9,a['Inject'](m[_0xd593d2(0x17e)])),A(0xa,a[_0xd593d2(0x23b)](a[_0xd593d2(0x1b2)])),A(0xb,a['Inject'](te)),A(0xc,a[_0xd593d2(0x218)](z))],exports[_0xd593d2(0x281)]),exports['OfflineState']=class extends _e{constructor(_0x55d229,_0x4d98c4,_0x89d8aa,_0x430b04,_0xa38b66,_0x2e3c98,_0x3f36b5,_0x33634b,_0x2694a4,_0x43affb){var _0x42e9a4=_0xd593d2;super(_0x55d229,_0x4d98c4,_0x89d8aa,_0x430b04,_0xa38b66,_0x33634b,_0x2694a4,_0x3f36b5,_0x43affb),D(this,_0x42e9a4(0x3bc),_0x42e9a4(0x442)),this['_injector']=_0x2e3c98;}[_0xd593d2(0x4a3)](_0x285754){var _0x390dd3=_0xd593d2;return this[_0x390dd3(0x2da)][_0x390dd3(0x37c)](_0x285754),this[_0x390dd3(0x30a)](),this;}[_0xd593d2(0x437)](_0x1f41df){var _0xe5cd3b=_0xd593d2;throw new Error(_0xe5cd3b(0x197));}[_0xd593d2(0x200)](){var _0x260556=_0xd593d2;throw new Error(_0x260556(0x4b0));}[_0xd593d2(0x2d1)](){var _0x5a0680=_0xd593d2;throw new Error(_0x5a0680(0x293));}['onRemoteRetry'](){return this;}[_0xd593d2(0x32d)](){return this;}['toggleOnline'](){var _0x3ebc6e=_0xd593d2;const {_injector:_0x5c3e9e,_pendingMutations:_0x1dee8d,_awaitingChangeset:_0x2862fe,unitID:_0x12a58e,_handler:_0x504e1b,type:_0x4a61e1}=this,_0x36f0d2=Pt(_0x5c3e9e,_0x12a58e,_0x4a61e1,_0x2862fe,_0x1dee8d,_0x504e1b);return _0x36f0d2 instanceof exports['PendingState']?_0x36f0d2['_schedule']():(_0x36f0d2 instanceof exports['AwaitingWithPendingState']||_0x36f0d2 instanceof exports[_0x3ebc6e(0x2fb)])&&_0x36f0d2[_0x3ebc6e(0x246)](),_0x36f0d2;}[_0xd593d2(0x246)](){var _0x47886b=_0xd593d2;throw new Error(_0x47886b(0x3a6));}},exports[_0xd593d2(0x49c)]=le([A(0x5,a[_0xd593d2(0x23b)](a['Injector'])),A(0x6,a[_0xd593d2(0x23b)](m['RevisionService'])),A(0x7,a[_0xd593d2(0x231)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0xd593d2(0x218)](z))],exports[_0xd593d2(0x49c)]),exports[_0xd593d2(0x460)]=class extends _e{constructor(_0x53bbaa,_0x54b1c7,_0x30e383,_0x4dba22,_0x4e1f9b,_0x14d8a2,_0x2cf5dd,_0x4b8767,_0x529ab2,_0x3df491,_0x56fc0b,_0x2f5403,_0xc8a978,_0x5f5d5c){var _0x52651f=_0xd593d2;super(_0x53bbaa,_0x54b1c7,_0x30e383,_0x4dba22,_0x2cf5dd,_0x56fc0b,_0x2f5403,_0x529ab2,_0x5f5d5c),D(this,'status',_0x52651f(0x170)),(this[_0x52651f(0x30e)]=_0x4e1f9b,this[_0x52651f(0x2e3)]=_0x14d8a2,this['_injector']=_0x4b8767,this['_logService']=_0x3df491,this[_0x52651f(0x37b)]=_0xc8a978,this[_0x52651f(0x1b6)]=_0x5f5d5c);}[_0xd593d2(0x236)](_0x25d50a){var _0x5b39e5=_0xd593d2;try{const _0x148880=[..._0x25d50a,...this[_0x5b39e5(0x2e3)]],_0x5ea293=[this['_awaitingChangeset']||this[_0x5b39e5(0x30e)]]['filter'](_0x222f2c=>!!_0x222f2c);let _0x33617b,_0x52026b;if(_0x5ea293[_0x5b39e5(0x311)]){const _0x189206=this[_0x5b39e5(0x37b)][_0x5b39e5(0x466)](_0x148880,_0x5ea293,!0x1);if(!m[_0x5b39e5(0x226)](_0x189206))throw _0x189206[_0x5b39e5(0x28f)];_0x33617b=_0x189206['c1Prime'],_0x52026b=_0x189206[_0x5b39e5(0x1eb)];}else _0x33617b=_0x148880,_0x52026b=[];let _0x5ed477=this[_0x5b39e5(0x2da)];_0x33617b['forEach'](_0x46be84=>{var _0x316cff=_0x5b39e5;let _0x3768a7;if(_0x5ed477[_0x316cff(0x311)]){const _0x4db7cd=this[_0x316cff(0x37b)]['transformMutationsWithChangeset'](_0x46be84,_0x5ed477);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4db7cd))throw _0x4db7cd[_0x316cff(0x28f)];_0x3768a7=_0x4db7cd[_0x316cff(0x254)],_0x5ed477=_0x4db7cd[_0x316cff(0x159)];}else _0x3768a7=_0x46be84;this[_0x316cff(0x314)](_0x3768a7);}),this[_0x5b39e5(0x30e)]&&this['_incrementRevisionNumber'](),this[_0x5b39e5(0x3f4)]&&_0x52026b[_0x5b39e5(0x311)]&&(_0x52026b[0x0][_0x5b39e5(0x2dc)]=this['_getCurrentRevision']());let _0x392878;if(this[_0x5b39e5(0x3f4)]&&_0x5ed477['length']!==0x0)_0x392878=this[_0x5b39e5(0x178)][_0x5b39e5(0x366)](exports[_0x5b39e5(0x199)],this[_0x5b39e5(0x1f9)],this[_0x5b39e5(0x147)],_0x52026b[0x0],_0x5ed477,this['_handler'],void 0x0);else{if(this[_0x5b39e5(0x3f4)]&&_0x5ed477['length']===0x0)_0x52026b[0x0][_0x5b39e5(0x2dc)]=this[_0x5b39e5(0x3aa)](),_0x392878=this['_injector']['createInstance'](exports['AwaitingState'],this[_0x5b39e5(0x1f9)],this[_0x5b39e5(0x147)],_0x52026b[0x0],this[_0x5b39e5(0x372)]);else{if(_0x5ed477[_0x5b39e5(0x311)]!==0x0){const _0x4d3169=this[_0x5b39e5(0x178)][_0x5b39e5(0x366)](exports[_0x5b39e5(0x23f)],this[_0x5b39e5(0x1f9)],this['type'],_0x5ed477,this[_0x5b39e5(0x372)]);_0x4d3169[_0x5b39e5(0x15e)](),_0x392878=_0x4d3169;}else _0x392878=this['_injector'][_0x5b39e5(0x366)](exports['SyncedState'],this[_0x5b39e5(0x1f9)],this[_0x5b39e5(0x147)],this[_0x5b39e5(0x372)]);}}return _0x392878[_0x5b39e5(0x30a)](),_0x392878;}catch(_0x3ef7a1){return this['_logService'][_0x5b39e5(0x28f)](_0x5b39e5(0x2b0),_0x5b39e5(0x391),_0x3ef7a1),this[_0x5b39e5(0x178)][_0x5b39e5(0x366)](exports['ConflictState'],this[_0x5b39e5(0x1f9)],this[_0x5b39e5(0x147)],this['_awaitingChangeset'],this[_0x5b39e5(0x2da)],this['_handler'],!0x1);}}[_0xd593d2(0x246)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x2bd6cc){var _0xe6b3f4=_0xd593d2;return this[_0xe6b3f4(0x2da)][_0xe6b3f4(0x37c)](_0x2bd6cc),this;}[_0xd593d2(0x437)](_0x145522){var _0x5e6ff4=_0xd593d2;return this[_0x5e6ff4(0x2e3)][_0x5e6ff4(0x37c)](_0x145522),this;}[_0xd593d2(0x200)](_0x3f94cc){var _0x2c5b1a=_0xd593d2;if(this[_0x2c5b1a(0x3f4)])return this[_0x2c5b1a(0x30e)]=this[_0x2c5b1a(0x3f4)],this[_0x2c5b1a(0x3f4)]=null,this;throw new Error(_0x2c5b1a(0x2c9));}[_0xd593d2(0x2d1)](_0x326974){var _0x492217=_0xd593d2;return this[_0x492217(0x192)](!!(_0x326974!=null&&_0x326974['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3b4873=_0xd593d2;return this[_0x3b4873(0x178)][_0x3b4873(0x366)](exports[_0x3b4873(0x49c)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3b4873(0x2da)],this[_0x3b4873(0x372)]);}[_0xd593d2(0x22d)](){return this;}[_0xd593d2(0x192)](_0xd44b29){var _0x5a7c09=_0xd593d2;return this[_0x5a7c09(0x178)]['createInstance'](exports[_0x5a7c09(0x281)],this[_0x5a7c09(0x1f9)],this[_0x5a7c09(0x147)],this[_0x5a7c09(0x3f4)],this['_pendingMutations'],this[_0x5a7c09(0x372)],_0xd44b29);}},exports['FetchingMissState']=le([A(0x7,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),A(0x8,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),A(0x9,a['ILogService']),A(0xa,a[_0xd593d2(0x231)]),A(0xb,a[_0xd593d2(0x2d8)]),A(0xc,m[_0xd593d2(0x224)]),A(0xd,a[_0xd593d2(0x218)](z))],exports[_0xd593d2(0x460)]);function Pt(_0x32d1da,_0x2d5714,_0x4f30fe,_0x269948,_0x5a189d,_0x27f107){var _0x105b0e=_0xd593d2;return _0x269948&&_0x5a189d[_0x105b0e(0x311)]?_0x32d1da[_0x105b0e(0x366)](exports[_0x105b0e(0x199)],_0x2d5714,_0x4f30fe,_0x269948,_0x5a189d,_0x27f107,void 0x0):_0x269948?_0x32d1da['createInstance'](exports['AwaitingState'],_0x2d5714,_0x4f30fe,_0x269948,_0x27f107):_0x5a189d['length']?_0x32d1da[_0x105b0e(0x366)](exports[_0x105b0e(0x23f)],_0x2d5714,_0x4f30fe,_0x5a189d,_0x27f107):_0x32d1da[_0x105b0e(0x366)](exports[_0x105b0e(0x289)],_0x2d5714,_0x4f30fe,_0x27f107);}var Pn=Object[_0xd593d2(0x301)],Dn=Object[_0xd593d2(0x2c8)],Ge=(_0x5b8dc4,_0xbdfaa3,_0x404304,_0x307a5c)=>{for(var _0x43a75e=_0x307a5c>0x1?void 0x0:_0x307a5c?Dn(_0xbdfaa3,_0x404304):_0xbdfaa3,_0x59e1ef=_0x5b8dc4['length']-0x1,_0x1fe4e2;_0x59e1ef>=0x0;_0x59e1ef--)(_0x1fe4e2=_0x5b8dc4[_0x59e1ef])&&(_0x43a75e=(_0x307a5c?_0x1fe4e2(_0xbdfaa3,_0x404304,_0x43a75e):_0x1fe4e2(_0x43a75e))||_0x43a75e);return _0x307a5c&&_0x43a75e&&Pn(_0xbdfaa3,_0x404304,_0x43a75e),_0x43a75e;},k=(_0x3a0f28,_0x4ce0d3)=>(_0x51b156,_0x558677)=>_0x4ce0d3(_0x51b156,_0x558677,_0x3a0f28);exports[_0xd593d2(0x1d1)]=class extends a['RxDisposable']{constructor(_0x1811c3,_0x367bae,_0x14d868,_0x2c3757,_0x365aa5,_0x1b71cc,_0x1061ce,_0x1e55b0,_0x510259,_0x648a8b,_0x2ce9ea,_0x2d36c3,_0x2dd8ec){var _0x2ecb26=_0xd593d2;super(),D(this,_0x2ecb26(0x25d),new H[(_0x2ecb26(0x28c))](null)),D(this,_0x2ecb26(0x33c),this['_state$'][_0x2ecb26(0x1a4)]()),D(this,_0x2ecb26(0x271)),D(this,_0x2ecb26(0x161),!0x1),D(this,_0x2ecb26(0x35a),''),D(this,_0x2ecb26(0x401),0x0),D(this,_0x2ecb26(0x387),this[_0x2ecb26(0x33c)][_0x2ecb26(0x21c)](H[_0x2ecb26(0x2cc)](_0x44426b=>_0x44426b?_0x44426b[_0x2ecb26(0x3bc)]:We['OFFLINE']),H[_0x2ecb26(0x3bb)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x2ecb26(0x280),[]),(this[_0x2ecb26(0x1f9)]=_0x1811c3,this['session']=_0x367bae,this['_type']=_0x14d868,this[_0x2ecb26(0x178)]=_0x2c3757,this[_0x2ecb26(0x152)]=_0x365aa5,this[_0x2ecb26(0x1b3)]=_0x1b71cc,this[_0x2ecb26(0x191)]=_0x1061ce,this[_0x2ecb26(0x206)]=_0x1e55b0,this[_0x2ecb26(0x3d9)]=_0x510259,this[_0x2ecb26(0x2c5)]=_0x648a8b,this[_0x2ecb26(0x3ea)]=_0x2ce9ea,this[_0x2ecb26(0x272)]=_0x2d36c3,this[_0x2ecb26(0x263)]=_0x2dd8ec);}get[_0xd593d2(0x3ba)](){var _0x490445=_0xd593d2;return this[_0x490445(0x271)];}async[_0xd593d2(0x166)](){var _0x26029c=_0xd593d2;if(this[_0x26029c(0x3ba)])throw new Error(_0x26029c(0x34b));await this[_0x26029c(0x360)]();}['pauseCollaboration'](){var _0x17fa95=_0xd593d2;return this[_0x17fa95(0x161)]=!0x0,a[_0x17fa95(0x2a7)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xd593d2(0x453)](_0x37d0ba){this['_onLocalMutation'](_0x37d0ba);}['_updateState'](_0x2992ae){var _0xf3d99a=_0xd593d2;this[_0xf3d99a(0x271)]=_0x2992ae,this['_state$'][_0xf3d99a(0x16f)](_0x2992ae);}async[_0xd593d2(0x360)](){var _0x1fe862=_0xd593d2,_0x52e489;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x52e489=this[_0x1fe862(0x272)])==null||_0x52e489['editingUnit'](this['unitID']),this[_0x1fe862(0x196)](this[_0x1fe862(0x272)][_0x1fe862(0x219)](this[_0x1fe862(0x1f9)])[_0x1fe862(0x37e)](_0x2cf5ee=>{var _0x276f56=_0x1fe862;this['_logService'][_0x276f56(0x361)](_0x276f56(0x4ad),'editing\x20status\x20changed\x20to',_0x2cf5ee),_0x2cf5ee===Fe[_0x276f56(0x13f)]?(this[_0x276f56(0x206)]['emitEvent']({'id':Q[_0x276f56(0x168)]}),this[_0x276f56(0x3ea)][_0x276f56(0x19b)](new J[(_0x276f56(0x186))](this[_0x276f56(0x1f9)])['id'],!0x1),this[_0x276f56(0x3ea)][_0x276f56(0x394)](!0x1)):(this[_0x276f56(0x3ea)][_0x276f56(0x19b)](new J[(_0x276f56(0x186))](this[_0x276f56(0x1f9)])['id'],!0x0),this[_0x276f56(0x3ea)][_0x276f56(0x394)](!0x0));})));let _0xc0da5=!0x1;return this['disposeWithMe'](this[_0x1fe862(0x17f)][_0x1fe862(0x1e2)][_0x1fe862(0x37e)](_0x1c2337=>{var _0x2bb354=_0x1fe862;_0x1c2337===se[_0x2bb354(0x449)]?this[_0x2bb354(0x243)](_0xc0da5):_0x1c2337===se[_0x2bb354(0x24a)]&&(_0xc0da5=!0x0,this[_0x2bb354(0x352)]());})),this['disposeWithMe'](this['session'][_0x1fe862(0x37f)][_0x1fe862(0x37e)](_0x3d98d9=>{var _0x6fc708=_0x1fe862;try{switch(_0x3d98d9[_0x6fc708(0x2a8)]){case m[_0x6fc708(0x40d)][_0x6fc708(0x34c)]:{this['_onRemoteChangeset'](m['parseProtocolChangeset'](_0x3d98d9[_0x6fc708(0x4b1)]));break;}case m[_0x6fc708(0x40d)][_0x6fc708(0x26a)]:{this[_0x6fc708(0x1c9)](_0x3d98d9[_0x6fc708(0x4b1)]);break;}case m[_0x6fc708(0x40d)][_0x6fc708(0x416)]:{this[_0x6fc708(0x1c6)]();break;}case m['CollaborationEvent'][_0x6fc708(0x455)]:{this['_onRemoteRetry'](_0x3d98d9[_0x6fc708(0x4b1)]);break;}case m[_0x6fc708(0x40d)][_0x6fc708(0x40a)]:{this[_0x6fc708(0x1e8)](_0x3d98d9[_0x6fc708(0x4b1)][_0x6fc708(0x3f2)][_0x6fc708(0x2cc)](_0x425f21=>m[_0x6fc708(0x370)](_0x425f21)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:{this[_0x6fc708(0x1c6)]({'isPermissionRej':!0x0});break;}case m[_0x6fc708(0x40d)][_0x6fc708(0x3f8)]:break;}}catch(_0x15152e){throw console[_0x6fc708(0x28f)]('Error\x20on\x20receiving\x20event',_0x15152e),_0x15152e;}})),this['_state'];}[_0xd593d2(0x3c1)](){this['_transitionLocked']=!0x1;}[_0xd593d2(0x1df)](){var _0x5014fa=_0xd593d2;if(this[_0x5014fa(0x143)])throw new Error(_0x5014fa(0x36e));this[_0x5014fa(0x143)]=!0x0;}[_0xd593d2(0x318)](_0x3f97e5){var _0x4f4d03=_0xd593d2;this[_0x4f4d03(0x1df)](),this[_0x4f4d03(0x16d)](this[_0x4f4d03(0x271)][_0x4f4d03(0x4a3)](_0x3f97e5)),this[_0x4f4d03(0x3c1)]();}[_0xd593d2(0x160)](_0x19579e){var _0x4a834f=_0xd593d2;if(!(_0x19579e[_0x4a834f(0x308)]<=this[_0x4a834f(0x191)][_0x4a834f(0x3e1)](this[_0x4a834f(0x1f9)]))){if(this['_collaborationPaused']){this[_0x4a834f(0x280)][_0x4a834f(0x37c)](_0x19579e);return;}this[_0x4a834f(0x24f)](_0x19579e);}}[_0xd593d2(0x364)](){var _0x116e92=_0xd593d2;this[_0x116e92(0x280)][_0x116e92(0x440)](_0x559080=>this[_0x116e92(0x24f)](_0x559080)),this[_0x116e92(0x280)]=[];}[_0xd593d2(0x24f)](_0x5b2a56){var _0x2cd80f=_0xd593d2;const _0x9090d2=this['_compressMutationService'][_0x2cd80f(0x43c)]['fetchThroughInterceptors'](this[_0x2cd80f(0x152)][_0x2cd80f(0x43c)][_0x2cd80f(0x389)]()[_0x2cd80f(0x36b)])(_0x5b2a56[_0x2cd80f(0x1a6)],null)||_0x5b2a56['mutations'],_0x4e8ba1={..._0x5b2a56,'mutations':_0x9090d2};this[_0x2cd80f(0x1df)](),this['_updateState'](this[_0x2cd80f(0x271)][_0x2cd80f(0x437)](_0x4e8ba1)),this['_unlockTransition']();}[_0xd593d2(0x1c9)](_0x1ee018){var _0x4b46aa=_0xd593d2;this[_0x4b46aa(0x1df)](),this[_0x4b46aa(0x16d)](this[_0x4b46aa(0x271)]['onRemoteAck'](_0x1ee018)),this[_0x4b46aa(0x3c1)]();}['_onRemoteRejected'](_0x5862ad){var _0xa71842=_0xd593d2;this[_0xa71842(0x1df)](),this[_0xa71842(0x16d)](this[_0xa71842(0x271)][_0xa71842(0x2d1)](_0x5862ad)),this['_unlockTransition']();}['_onRemoteRetry'](_0x22bb73){var _0x4afe43=_0xd593d2;this[_0x4afe43(0x1df)](),this[_0x4afe43(0x16d)](this[_0x4afe43(0x271)][_0x4afe43(0x24d)](_0x22bb73)),this[_0x4afe43(0x3c1)]();}[_0xd593d2(0x1e8)](_0x25d910){var _0x294157=_0xd593d2;if(!(this['_state']instanceof exports[_0x294157(0x460)]))throw new TypeError(_0x294157(0x3eb));const _0x56826b=_0x25d910[_0x294157(0x2cc)](_0x13e6ce=>{var _0x1496d9=_0x294157;const _0x241a64=this[_0x1496d9(0x152)][_0x1496d9(0x43c)]['fetchThroughInterceptors'](this[_0x1496d9(0x152)][_0x1496d9(0x43c)][_0x1496d9(0x389)]()[_0x1496d9(0x36b)])(_0x13e6ce[_0x1496d9(0x1a6)],null)||_0x13e6ce['mutations'];return{..._0x13e6ce,'mutations':_0x241a64};});this[_0x294157(0x1df)](),this[_0x294157(0x16d)](this['_state']['onMissedChangesetFetched'](_0x56826b)),this[_0x294157(0x3c1)]();}[_0xd593d2(0x352)](){var _0x56fc5c=_0xd593d2;this['_lockTransition'](),this[_0x56fc5c(0x16d)](this[_0x56fc5c(0x271)][_0x56fc5c(0x32d)]()),this[_0x56fc5c(0x3c1)]();}[_0xd593d2(0x243)](_0x3b642c=!0x1){var _0x4eb5c4=_0xd593d2;this[_0x4eb5c4(0x1df)](),this[_0x4eb5c4(0x16d)](this[_0x4eb5c4(0x271)][_0x4eb5c4(0x22d)]()),this[_0x4eb5c4(0x3c1)]();const _0x2fa299=this[_0x4eb5c4(0x271)];_0x3b642c&&_0x2fa299 instanceof exports[_0x4eb5c4(0x289)]&&(this['_lockTransition'](),this[_0x4eb5c4(0x16d)](_0x2fa299[_0x4eb5c4(0x2a9)]()),this[_0x4eb5c4(0x3c1)]());}async['_createInitialState'](){return new Promise(_0x427d63=>{var _0x34be6f=_0x1ac9;this[_0x34be6f(0x17f)][_0x34be6f(0x1e2)][_0x34be6f(0x21c)](H[_0x34be6f(0x363)](0x1))[_0x34be6f(0x37e)](async _0x56b137=>{var _0x1a8a30=_0x34be6f;_0x427d63(await this['_createInitialStateImpl'](_0x56b137===se[_0x1a8a30(0x449)]));});});}[_0xd593d2(0x2f1)](){const _0x214deb=this['unitID'];return{'onStateChange':(_0x1920ca,_0x4fe672)=>{var _0x4b3f70=_0x1ac9;if(_0x1920ca!==this[_0x4b3f70(0x271)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1920ca[_0x4b3f70(0x3bc)]+_0x4b3f70(0x35f)+_0x4fe672['status']+'\x0aCurrent:\x20'+this[_0x4b3f70(0x271)][_0x4b3f70(0x3bc)]);this[_0x4b3f70(0x16d)](_0x4fe672);},'onSendChangeset':_0x3bc509=>{var _0x25a9a0=_0x1ac9;_0x3bc509[_0x25a9a0(0x1ec)]||(_0x3bc509[_0x25a9a0(0x1ec)]=this[_0x25a9a0(0x35a)],_0x3bc509[_0x25a9a0(0x3e6)]=++this[_0x25a9a0(0x401)]);const _0x51c5fb={'eventID':m[_0x25a9a0(0x40d)][_0x25a9a0(0x1f0)],'data':{'unitID':_0x3bc509['unitID'],'unitType':this['_type'],'changeset':_0x3bc509,'memberID':this[_0x25a9a0(0x17f)][_0x25a9a0(0x403)]()}};this['session'][_0x25a9a0(0x210)](_0x51c5fb,this[_0x25a9a0(0x1f9)]);},'onMissingChangesets':({from:_0x2feea7,to:_0x443bf0})=>{var _0x80e981=_0x1ac9;this['_logService'][_0x80e981(0x361)](_0x80e981(0x4ad),_0x80e981(0x27e)+_0x2feea7+_0x80e981(0x1ca)+_0x443bf0);const _0x14a5d5={'eventID':m[_0x80e981(0x40d)][_0x80e981(0x3de)],'data':{'unitID':_0x214deb,'unitType':this[_0x80e981(0x17d)],'from':_0x2feea7,'to':_0x443bf0}};this[_0x80e981(0x17f)][_0x80e981(0x210)](_0x14a5d5,this[_0x80e981(0x1f9)]);}};}async[_0xd593d2(0x477)](_0x4af5ca){var _0xe3324b=_0xd593d2,_0x5175df,_0x1b62bd,_0x4e537c;const _0x109a42=await((_0x5175df=this[_0xe3324b(0x263)])==null?void 0x0:_0x5175df[_0xe3324b(0x2fe)](this['unitID'])),_0x4f90ff=(_0x1b62bd=_0x109a42==null?void 0x0:_0x109a42['mutations'])!=null?_0x1b62bd:[],_0x2a15c4=(_0x4e537c=_0x109a42==null?void 0x0:_0x109a42['awaitingChangeset'])!=null?_0x4e537c:null,_0xa4c7a6=!!(_0x2a15c4!=null&&_0x2a15c4[_0xe3324b(0x1ec)])&&!!(_0x2a15c4!=null&&_0x2a15c4['reqId']);this[_0xe3324b(0x35a)]=_0xa4c7a6?_0x2a15c4[_0xe3324b(0x1ec)]:gn(),this[_0xe3324b(0x401)]=_0xa4c7a6?_0x2a15c4['reqId']:0x0;const _0xb0c7b6=this[_0xe3324b(0x1f9)];try{this['_replayCachedMutations'](_0x2a15c4,_0x4f90ff);}catch(_0x7122e0){this[_0xe3324b(0x3d9)]['error'](_0x7122e0);}const _0x116a89=this[_0xe3324b(0x2f1)]();if(_0x4af5ca){const _0x1a63b1=Pt(this['_injector'],_0xb0c7b6,this['_type'],_0x2a15c4,_0x4f90ff,_0x116a89);return _0x1a63b1 instanceof exports[_0xe3324b(0x23f)]?_0x1a63b1['_schedule']():(_0x1a63b1 instanceof exports['AwaitingWithPendingState']||_0x1a63b1 instanceof exports[_0xe3324b(0x2fb)])&&_0x1a63b1['resend'](),_0x1a63b1;}return this[_0xe3324b(0x178)]['createInstance'](exports[_0xe3324b(0x49c)],_0xb0c7b6,this[_0xe3324b(0x17d)],_0x2a15c4,_0x4f90ff,_0x116a89);}[_0xd593d2(0x2ea)](_0x39bfba,_0x377e84){var _0x31dca1=_0xd593d2,_0x7f6822,_0x75bd76;const _0x558ae5=this[_0x31dca1(0x152)]['interceptor'][_0x31dca1(0x1cb)](this[_0x31dca1(0x152)][_0x31dca1(0x43c)][_0x31dca1(0x389)]()[_0x31dca1(0x36b)]);(_0x7f6822=_0x558ae5((_0x39bfba==null?void 0x0:_0x39bfba['mutations'])||[],null))==null||_0x7f6822['forEach'](_0x3fc933=>this[_0x31dca1(0x2c5)][_0x31dca1(0x329)](_0x3fc933['id'],_0x3fc933[_0x31dca1(0x35d)])),(_0x75bd76=_0x558ae5(_0x377e84||[],null))==null||_0x75bd76['forEach'](_0x42e157=>this[_0x31dca1(0x2c5)]['executeCommand'](_0x42e157['id'],_0x42e157[_0x31dca1(0x35d)]));}},exports[_0xd593d2(0x1d1)]=Ge([k(0x3,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),k(0x4,a[_0xd593d2(0x23b)](m[_0xd593d2(0x376)])),k(0x5,a['Inject'](a[_0xd593d2(0x1b2)])),k(0x6,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),k(0x7,a[_0xd593d2(0x23b)](te)),k(0x8,a['ILogService']),k(0x9,a['ICommandService']),k(0xa,a[_0xd593d2(0x23d)]),k(0xb,a[_0xd593d2(0x218)](ve)),k(0xc,a['Optional'](z))],exports['CollaborationEntity']),exports[_0xd593d2(0x4a6)]=class extends exports[_0xd593d2(0x1d1)]{constructor(_0x18728a,_0x44b3a9,_0x1cb95b,_0x2bbe65,_0x52a532,_0x3b9d63,_0x1904bc,_0x2a0502,_0x3245c2,_0x5d6895,_0x4951a4,_0x14d1ef,_0x46e1e1){var _0x4919b5=_0xd593d2;super(_0x18728a,_0x1cb95b,_0x44b3a9,_0x2bbe65,_0x52a532,_0x3b9d63,_0x1904bc,_0x2a0502,_0x3245c2,_0x5d6895,_0x4951a4,_0x14d1ef,_0x46e1e1),D(this,_0x4919b5(0x3ac),null),(this[_0x4919b5(0x1f9)]=_0x18728a,this[_0x4919b5(0x147)]=_0x44b3a9);}['addHandlerCallback'](_0x5860c4){this['_handlerCallback']=_0x5860c4;}['dispose'](){var _0x18390a=_0xd593d2;this[_0x18390a(0x3ac)]=null,super['dispose']();}[_0xd593d2(0x2f1)](){var _0x2fe592=_0xd593d2;const _0x7ea431=super['_createHandler']();return _0x7ea431[_0x2fe592(0x44e)]=_0x377e23=>{var _0x292838=_0x2fe592,_0x505044,_0x133a5d;return(_0x133a5d=(_0x505044=this['_handlerCallback'])==null?void 0x0:_0x505044['onTransformIME'])==null?void 0x0:_0x133a5d[_0x292838(0x496)](_0x505044,_0x377e23);},_0x7ea431['onTransformState']=_0x2f0c67=>{var _0x48e416=_0x2fe592,_0x12ed34,_0x29edfb;return(_0x29edfb=(_0x12ed34=this['_handlerCallback'])==null?void 0x0:_0x12ed34['onTransformState'])==null?void 0x0:_0x29edfb[_0x48e416(0x496)](_0x12ed34,_0x2f0c67);},_0x7ea431[_0x2fe592(0x31f)]=_0xcf0731=>{var _0x5ac900=_0x2fe592,_0x5f2d20,_0x7cacec;return(_0x7cacec=(_0x5f2d20=this[_0x5ac900(0x3ac)])==null?void 0x0:_0x5f2d20[_0x5ac900(0x31f)])==null?void 0x0:_0x7cacec[_0x5ac900(0x496)](_0x5f2d20,_0xcf0731);},_0x7ea431[_0x2fe592(0x396)]=_0x51aa67=>{var _0x215891=_0x2fe592,_0x51da58,_0x444798;return(_0x444798=(_0x51da58=this['_handlerCallback'])==null?void 0x0:_0x51da58[_0x215891(0x396)])==null?void 0x0:_0x444798[_0x215891(0x496)](_0x51da58,_0x51aa67);},_0x7ea431[_0x2fe592(0x26c)]=_0x58a744=>{var _0x11fc6c=_0x2fe592,_0x32ef34,_0x4ce477,_0x8af22f;if(!((_0x32ef34=this[_0x11fc6c(0x3ac)])!=null&&_0x32ef34['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x8af22f=(_0x4ce477=this[_0x11fc6c(0x3ac)])==null?void 0x0:_0x4ce477[_0x11fc6c(0x26c)])==null?void 0x0:_0x8af22f['call'](_0x4ce477,_0x58a744);},_0x7ea431[_0x2fe592(0x270)]=_0x1172b6=>{var _0x1100a0=_0x2fe592,_0x4e5bb8,_0x434b6e,_0x559be9;if(!((_0x4e5bb8=this['_handlerCallback'])!=null&&_0x4e5bb8[_0x1100a0(0x270)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x559be9=(_0x434b6e=this[_0x1100a0(0x3ac)])==null?void 0x0:_0x434b6e[_0x1100a0(0x270)])==null?void 0x0:_0x559be9[_0x1100a0(0x496)](_0x434b6e,_0x1172b6);},_0x7ea431;}async[_0xd593d2(0x360)](){var _0x4ac2f6=_0xd593d2;const _0x1a776d=await super['_init']();return this[_0x4ac2f6(0x196)](this[_0x4ac2f6(0x2c5)][_0x4ac2f6(0x230)]((_0x112503,_0x32981d)=>{var _0x2b6d3b=_0x4ac2f6;if(_0x112503[_0x2b6d3b(0x147)]!==a[_0x2b6d3b(0x421)][_0x2b6d3b(0x156)]||_0x32981d!=null&&_0x32981d[_0x2b6d3b(0x21b)]||_0x32981d!=null&&_0x32981d[_0x2b6d3b(0x252)]||_0x112503['id']===dt[_0x2b6d3b(0x36c)]['id'])return;const _0x10e6b5=_0x112503[_0x2b6d3b(0x35d)];if((_0x10e6b5==null?void 0x0:_0x10e6b5['unitId'])!==this[_0x2b6d3b(0x1f9)])return;const _0x184cd3=_0x112503,_0x2920b3=this[_0x2b6d3b(0x152)][_0x2b6d3b(0x43c)][_0x2b6d3b(0x1cb)](this['_compressMutationService'][_0x2b6d3b(0x43c)][_0x2b6d3b(0x389)]()[_0x2b6d3b(0x377)])([_0x184cd3],null)||[_0x184cd3];this['_onLocalMutation'](_0x2920b3[0x0]);})),_0x1a776d;}},exports['DocCollaborationEntity']=Ge([k(0x3,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a['Inject'](a[_0xd593d2(0x1b2)])),k(0x6,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),k(0x7,a['Inject'](te)),k(0x8,a[_0xd593d2(0x2ac)]),k(0x9,a['ICommandService']),k(0xa,a['IPermissionService']),k(0xb,a[_0xd593d2(0x218)](ve)),k(0xc,a['Optional'](z))],exports[_0xd593d2(0x4a6)]),exports[_0xd593d2(0x38b)]=class extends exports[_0xd593d2(0x1d1)]{constructor(_0x10c8dc,_0x1fbb42,_0x1d79fd,_0x413831,_0x5b899c,_0x48c721,_0x2c2868,_0x4547fd,_0x21c681,_0x1f5c6c,_0x284c2b,_0x48ac01,_0x2ae8b7,_0xa4aa54){var _0x37288f=_0xd593d2;super(_0x10c8dc,_0x1d79fd,_0x1fbb42,_0x413831,_0x5b899c,_0x48c721,_0x2c2868,_0x21c681,_0x1f5c6c,_0x284c2b,_0x48ac01,_0x2ae8b7,_0xa4aa54),this[_0x37288f(0x1f9)]=_0x10c8dc,this[_0x37288f(0x147)]=_0x1fbb42,this[_0x37288f(0x38c)]=_0x4547fd;}[_0xd593d2(0x2f1)](){var _0x39dad8=_0xd593d2;const _0x385929=super[_0x39dad8(0x2f1)]();return _0x385929['onTransformSelections']=_0x1581a1=>this['_sheetTransformSelectionsService'][_0x39dad8(0x16e)](_0x1581a1),_0x385929;}async[_0xd593d2(0x360)](){var _0x407cdd=_0xd593d2;const _0x4dd17d=await super[_0x407cdd(0x360)]();return this['disposeWithMe'](this['_commandService'][_0x407cdd(0x230)]((_0x3fbd70,_0x32e330)=>{var _0x1a67ce=_0x407cdd;if(_0x3fbd70[_0x1a67ce(0x147)]!==a['CommandType']['MUTATION']||_0x32e330!=null&&_0x32e330[_0x1a67ce(0x21b)]||_0x32e330!=null&&_0x32e330[_0x1a67ce(0x252)])return;const _0x466926=_0x3fbd70[_0x1a67ce(0x35d)];if((_0x466926==null?void 0x0:_0x466926['unitId'])!==this['unitID'])return;const _0x311d2a=_0x3fbd70,_0x2ad83a=this['_compressMutationService'][_0x1a67ce(0x43c)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x1a67ce(0x377)])([_0x311d2a],null)||[_0x311d2a];this['_onLocalMutation'](_0x2ad83a[0x0]);})),_0x4dd17d;}},exports[_0xd593d2(0x38b)]=Ge([k(0x3,a[_0xd593d2(0x23b)](a['Injector'])),k(0x4,a[_0xd593d2(0x23b)](m[_0xd593d2(0x376)])),k(0x5,a[_0xd593d2(0x23b)](a[_0xd593d2(0x1b2)])),k(0x6,a[_0xd593d2(0x23b)](m[_0xd593d2(0x17e)])),k(0x7,a['Inject'](exports[_0xd593d2(0x140)])),k(0x8,a[_0xd593d2(0x23b)](te)),k(0x9,a[_0xd593d2(0x2ac)]),k(0xa,a[_0xd593d2(0x231)]),k(0xb,a[_0xd593d2(0x23d)]),k(0xc,a[_0xd593d2(0x218)](ve)),k(0xd,a[_0xd593d2(0x218)](z))],exports[_0xd593d2(0x38b)]);var wn=Object[_0xd593d2(0x301)],An=Object[_0xd593d2(0x2c8)],Ln=(_0x228bbf,_0x41c488,_0x1ae5a0,_0x27d420)=>{var _0x3e3ad6=_0xd593d2;for(var _0x35129c=_0x27d420>0x1?void 0x0:_0x27d420?An(_0x41c488,_0x1ae5a0):_0x41c488,_0x21dc14=_0x228bbf[_0x3e3ad6(0x311)]-0x1,_0x545172;_0x21dc14>=0x0;_0x21dc14--)(_0x545172=_0x228bbf[_0x21dc14])&&(_0x35129c=(_0x27d420?_0x545172(_0x41c488,_0x1ae5a0,_0x35129c):_0x545172(_0x35129c))||_0x35129c);return _0x27d420&&_0x35129c&&wn(_0x41c488,_0x1ae5a0,_0x35129c),_0x35129c;},we=(_0x4ba9f6,_0x3abc5e)=>(_0x16710e,_0x7390c1)=>_0x3abc5e(_0x16710e,_0x7390c1,_0x4ba9f6);exports[_0xd593d2(0x446)]=class extends a[_0xd593d2(0x2dd)]{constructor(_0x45e661,_0x2fae23,_0x48d4b5){var _0xfbdfdb=_0xd593d2;super(),D(this,_0xfbdfdb(0x15c),new Map()),D(this,_0xfbdfdb(0x294),new H[(_0xfbdfdb(0x4a2))]()),D(this,_0xfbdfdb(0x239),this[_0xfbdfdb(0x294)][_0xfbdfdb(0x1a4)]()),(this[_0xfbdfdb(0x178)]=_0x45e661,this['_collabSessionService']=_0x2fae23,this['_univerInstanceService']=_0x48d4b5,this['_init']());}['dispose'](){var _0x3df03b=_0xd593d2;super[_0x3df03b(0x26f)](),this[_0x3df03b(0x15c)]['forEach'](_0x310887=>_0x310887['dispose']()),this['_entities'][_0x3df03b(0x222)]();}['getCollabEntity'](_0x7868e5){var _0x177b73=_0xd593d2,_0x5ef1bf;return(_0x5ef1bf=this[_0x177b73(0x15c)][_0x177b73(0x3be)](_0x7868e5))!=null?_0x5ef1bf:null;}[_0xd593d2(0x27a)](_0x21dcff){var _0x39f7d3=_0xd593d2;const _0xaecf6c=this[_0x39f7d3(0x4af)](_0x21dcff);return _0xaecf6c?H['of'](_0xaecf6c):this[_0x39f7d3(0x294)][_0x39f7d3(0x21c)](W[_0x39f7d3(0x1c0)](_0x482bfe=>_0x482bfe[_0x39f7d3(0x1f9)]===_0x21dcff));}[_0xd593d2(0x3b2)](_0x56acba){var _0x229d91=_0xd593d2;return H[_0x229d91(0x490)](this[_0x229d91(0x27a)](_0x56acba)[_0x229d91(0x21c)](W[_0x229d91(0x2cc)](()=>{})));}[_0xd593d2(0x360)](){var _0x34d0e3=_0xd593d2;this['_univerInstanceService'][_0x34d0e3(0x319)](a[_0x34d0e3(0x256)]['UNIVER_SHEET'])[_0x34d0e3(0x21c)](H[_0x34d0e3(0x24e)](this[_0x34d0e3(0x257)]),W['delay'](0x10))[_0x34d0e3(0x37e)](async _0x24698d=>{var _0x254037=_0x34d0e3;const _0x36fbf2=_0x24698d[_0x254037(0x216)](),_0x3f5bf2=await this[_0x254037(0x386)](_0x36fbf2,Z[_0x254037(0x36f)]);this[_0x254037(0x15c)][_0x254037(0x1e6)](_0x36fbf2,_0x3f5bf2);}),this['_univerInstanceService'][_0x34d0e3(0x319)](a[_0x34d0e3(0x256)][_0x34d0e3(0x148)])[_0x34d0e3(0x21c)](H[_0x34d0e3(0x24e)](this[_0x34d0e3(0x257)]),W[_0x34d0e3(0x385)](0x10))[_0x34d0e3(0x21c)](W[_0x34d0e3(0x1c0)](_0x4b073b=>!_0x4b073b[_0x34d0e3(0x216)]()[_0x34d0e3(0x48d)]('__')))['subscribe'](async _0x357789=>{var _0x43a998=_0x34d0e3;const _0x5cdc39=_0x357789[_0x43a998(0x216)](),_0x1440bf=await this[_0x43a998(0x386)](_0x5cdc39,Z[_0x43a998(0x148)]);this['_entities'][_0x43a998(0x1e6)](_0x5cdc39,_0x1440bf);}),H[_0x34d0e3(0x475)](this[_0x34d0e3(0x25e)][_0x34d0e3(0x43d)](a[_0x34d0e3(0x256)][_0x34d0e3(0x36f)]),this[_0x34d0e3(0x25e)][_0x34d0e3(0x43d)](a[_0x34d0e3(0x256)][_0x34d0e3(0x148)]))['pipe'](H['takeUntil'](this[_0x34d0e3(0x257)]))['subscribe'](_0x17b797=>{var _0x107fa6=_0x34d0e3;const _0x50a8ca=_0x17b797[_0x107fa6(0x216)](),_0x23b51e=this[_0x107fa6(0x15c)]['get'](_0x50a8ca);_0x23b51e&&(_0x23b51e[_0x107fa6(0x26f)](),this[_0x107fa6(0x15c)][_0x107fa6(0x3d0)](_0x50a8ca));});}async[_0xd593d2(0x386)](_0x1c4eb2,_0x24d928){var _0x169d0a=_0xd593d2;const _0x2faedd=await this[_0x169d0a(0x2d9)]['requireSession'](_0x1c4eb2),_0x238531=this['_injector'][_0x169d0a(0x366)](this['_getCtorByUniverType'](_0x24d928),_0x1c4eb2,_0x24d928,_0x2faedd);return await _0x238531[_0x169d0a(0x166)](),this[_0x169d0a(0x294)][_0x169d0a(0x16f)](_0x238531),_0x238531;}[_0xd593d2(0x3b1)](_0x44b010){var _0x382d11=_0xd593d2;switch(_0x44b010){case Z[_0x382d11(0x148)]:return exports[_0x382d11(0x4a6)];case Z[_0x382d11(0x36f)]:return exports[_0x382d11(0x38b)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x44b010);}}},exports[_0xd593d2(0x446)]=Ln([we(0x0,a[_0xd593d2(0x23b)](a[_0xd593d2(0x3cf)])),we(0x1,a['Inject'](exports[_0xd593d2(0x428)])),we(0x2,a[_0xd593d2(0x42b)])],exports[_0xd593d2(0x446)]);var Mn=Object['defineProperty'],xn=Object['getOwnPropertyDescriptor'],jn=(_0x12b524,_0x3a6b29,_0x5bd4cb,_0x54c196)=>{for(var _0x39086c=_0x54c196>0x1?void 0x0:_0x54c196?xn(_0x3a6b29,_0x5bd4cb):_0x3a6b29,_0x26ec56=_0x12b524['length']-0x1,_0x503c8e;_0x26ec56>=0x0;_0x26ec56--)(_0x503c8e=_0x12b524[_0x26ec56])&&(_0x39086c=(_0x54c196?_0x503c8e(_0x3a6b29,_0x5bd4cb,_0x39086c):_0x503c8e(_0x39086c))||_0x39086c);return _0x54c196&&_0x39086c&&Mn(_0x3a6b29,_0x5bd4cb,_0x39086c),_0x39086c;},Xe=(_0x22958f,_0x13b26b)=>(_0x5aba4e,_0xa5e0e9)=>_0x13b26b(_0x5aba4e,_0xa5e0e9,_0x22958f);const $n='DEFAULT_FILE_NAME',Hn=_0xd593d2(0x478);let $e=class extends a[_0xd593d2(0x439)]{constructor(_0x566899,_0x207beb){var _0x1b782f=_0xd593d2;super(),this['_univerInstanceService']=_0x566899,this[_0x1b782f(0x175)]=_0x207beb,this['_init']();}[_0xd593d2(0x360)](){var _0x33a98c=_0xd593d2;this[_0x33a98c(0x196)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x5e13ec=_0x33a98c,_0x2a09cd;const _0x49d6cb=this[_0x5e13ec(0x25e)][_0x5e13ec(0x42a)]();let _0x472bdc=(_0x2a09cd=this[_0x5e13ec(0x175)][_0x5e13ec(0x32c)]($n))!=null?_0x2a09cd:Hn;_0x49d6cb instanceof a[_0x5e13ec(0x368)]&&(_0x472bdc=_0x49d6cb['name']),document[_0x5e13ec(0x27c)]=_0x472bdc;}));}};$e=jn([Xe(0x0,a[_0xd593d2(0x42b)]),Xe(0x1,a[_0xd593d2(0x1a7)])],$e);var kn=Object[_0xd593d2(0x301)],Bn=Object[_0xd593d2(0x2c8)],Fn=(_0x878558,_0x486ecb,_0x561010,_0x3405c8)=>{for(var _0x3099f3=_0x3405c8>0x1?void 0x0:_0x3405c8?Bn(_0x486ecb,_0x561010):_0x486ecb,_0x4efe66=_0x878558['length']-0x1,_0x4a6472;_0x4efe66>=0x0;_0x4efe66--)(_0x4a6472=_0x878558[_0x4efe66])&&(_0x3099f3=(_0x3405c8?_0x4a6472(_0x486ecb,_0x561010,_0x3099f3):_0x4a6472(_0x3099f3))||_0x3099f3);return _0x3405c8&&_0x3099f3&&kn(_0x486ecb,_0x561010,_0x3099f3),_0x3099f3;},Ae=(_0x57dc0f,_0x9c07d7)=>(_0x4e1f8d,_0x402754)=>_0x9c07d7(_0x4e1f8d,_0x402754,_0x57dc0f);let ye=class{constructor(_0x3ad45f,_0x54f089,_0x4144ea){var _0xf5cb7d=_0xd593d2;this['_configService']=_0x3ad45f,this[_0xf5cb7d(0x436)]=_0x54f089,this[_0xf5cb7d(0x419)]=_0x4144ea,this[_0xf5cb7d(0x166)]();}[_0xd593d2(0x166)](){var _0x18216c=_0xd593d2;this[_0x18216c(0x436)][_0x18216c(0x288)]({'priority':0x1,'interceptor':(_0x1768b3,_0x40a16a)=>_0x40a16a(_0x1768b3)['pipe'](H[_0x18216c(0x20c)](async _0x941efc=>{var _0x438d86=_0x18216c;const _0xd9711e=_0x941efc;if(_0xd9711e[_0x438d86(0x3bc)]===0x191){if(typeof window>'u')throw new Error(_0x438d86(0x248));if(window['confirm'](this[_0x438d86(0x419)]['t']('auth.needGotoLoginAlert'))){const _0x4c66e6=window[_0x438d86(0x409)](window[_0x438d86(0x44b)][_0x438d86(0x433)]);window[_0x438d86(0x44b)]['href']=this[_0x438d86(0x381)]()+_0x438d86(0x1fc)+_0x4c66e6;}}return _0xd9711e;}))});}[_0xd593d2(0x381)](){var _0x4d7cbf=_0xd593d2,_0x106046,_0x3d0e74;const _0x50177e=this[_0x4d7cbf(0x175)][_0x4d7cbf(0x32c)](Ct),_0x58ae0c=this[_0x4d7cbf(0x175)][_0x4d7cbf(0x32c)](Y);return(_0x3d0e74=(_0x106046=_0x58ae0c==null?void 0x0:_0x58ae0c[_0x4d7cbf(0x20e)])!=null?_0x106046:_0x50177e)!=null?_0x3d0e74:zt;}};ye=Fn([Ae(0x0,a[_0xd593d2(0x1a7)]),Ae(0x1,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)])),Ae(0x2,a[_0xd593d2(0x23b)](a[_0xd593d2(0x1b2)]))],ye);var Wn=Object[_0xd593d2(0x301)],Gn=Object['getOwnPropertyDescriptor'],Vn=(_0x29c642,_0xaaf86c,_0x1bbddf,_0x5c63bc)=>{for(var _0x10fc3f=_0x5c63bc>0x1?void 0x0:_0x5c63bc?Gn(_0xaaf86c,_0x1bbddf):_0xaaf86c,_0x3f5bcc=_0x29c642['length']-0x1,_0x336b93;_0x3f5bcc>=0x0;_0x3f5bcc--)(_0x336b93=_0x29c642[_0x3f5bcc])&&(_0x10fc3f=(_0x5c63bc?_0x336b93(_0xaaf86c,_0x1bbddf,_0x10fc3f):_0x336b93(_0x10fc3f))||_0x10fc3f);return _0x5c63bc&&_0x10fc3f&&Wn(_0xaaf86c,_0x1bbddf,_0x10fc3f),_0x10fc3f;},Ze=(_0x890569,_0x1b47d4)=>(_0x471182,_0x5c2525)=>_0x1b47d4(_0x471182,_0x5c2525,_0x890569);const Ve=_0xd593d2(0x247),Kn='/universer-api/authz';exports[_0xd593d2(0x14e)]=class extends a[_0xd593d2(0x439)]{constructor(_0x16b5eb,_0x465ee0){var _0x5249b6=_0xd593d2;super(),this['_HTTPService']=_0x16b5eb,this[_0x5249b6(0x175)]=_0x465ee0,this['_initMergeInterceptor']();}[_0xd593d2(0x31a)](){var _0x3ddac0=_0xd593d2;const _0x3194fc=this;this[_0x3ddac0(0x196)](this[_0x3ddac0(0x172)][_0x3ddac0(0x288)]({'priority':0x3e7,'interceptor':q[_0x3ddac0(0x2aa)]({'isMatch'(_0x5c8ced){var _0xb61c1c=_0x3ddac0,_0x585186;if(_0x5c8ced[_0xb61c1c(0x3b0)]==='POST'&&((_0x585186=_0x5c8ced['requestParams'])!=null&&_0x585186['body'])){const {objectID:_0x273429,objectType:_0x47b08a}=_0x5c8ced[_0xb61c1c(0x220)][_0xb61c1c(0x44a)]||{};if(!_0x273429||_0x47b08a===void 0x0)return!0x1;const _0xec3223=_0x3194fc['_getAPIPrefixPath']()+'/'+_0x47b08a+_0xb61c1c(0x44d)+_0x273429+'/allowed';if(_0x5c8ced[_0xb61c1c(0x413)]===_0xec3223)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1c73df){var _0xac38bf=_0x3ddac0,_0x69b18e;return(_0x69b18e=_0x1c73df[_0xac38bf(0x220)])==null?void 0x0:_0x69b18e['body'];},'mergeParamsToRequest'(_0x57dbd1,_0x2df8d8){var _0x235dba=_0x3ddac0;const _0x205d4e=_0x3194fc[_0x235dba(0x190)]()+_0x235dba(0x18c),_0x487db9=_0x57dbd1['reduce']((_0x26ff84,_0x10b846)=>{const {unitID:_0x3a8f71,objectID:_0x5cada7,objectType:_0x3d2e58,actions:_0x575269}=_0x10b846;return _0x26ff84[_0x3a8f71]||(_0x26ff84[_0x3a8f71]={}),_0x26ff84[_0x3a8f71][_0x5cada7]||(_0x26ff84[_0x3a8f71][_0x5cada7]={'objectID':_0x5cada7,'objectType':_0x3d2e58,'actions':[]}),_0x26ff84[_0x3a8f71][_0x5cada7]['actions']['push'](..._0x575269),_0x26ff84;},{}),_0x26bad5=[];for(const _0x3d8f55 in _0x487db9)for(const _0x4bd0d1 in _0x487db9[_0x3d8f55]){const {actions:_0x5b95e8,objectType:_0x2f304c}=_0x487db9[_0x3d8f55][_0x4bd0d1],_0x562cf0=[...new Set(_0x5b95e8)];_0x26bad5['push']({'unitID':_0x3d8f55,'objectID':_0x4bd0d1,'objectType':_0x2f304c,'actions':_0x562cf0});}return new q['HTTPRequest'](_0x235dba(0x14b),_0x205d4e,{'headers':_0x2df8d8[_0x235dba(0x149)],'withCredentials':_0x2df8d8[_0x235dba(0x399)],'responseType':_0x2df8d8[_0x235dba(0x3a1)],'body':{'requests':_0x26bad5}});}},{'distributeResult'(_0x306a9d,_0x3fb293){var _0x467ff6=_0x3ddac0;const {objectActions:_0x498af7}=_0x306a9d;return _0x3fb293[_0x467ff6(0x2cc)](_0x56a23e=>{var _0x2d3c9f=_0x467ff6;const {unitID:_0x366998,objectID:_0x5d7e70,actions:_0x5e8dec}=_0x56a23e,_0x5b7f86=_0x498af7['find'](_0x307c3b=>_0x307c3b[_0x2d3c9f(0x1f9)]===_0x366998&&_0x307c3b[_0x2d3c9f(0x195)]===_0x5d7e70),_0x190dd5=_0x5e8dec[_0x2d3c9f(0x2cc)](_0x3c503e=>_0x5b7f86==null?void 0x0:_0x5b7f86['actions'][_0x2d3c9f(0x424)](_0x5cd69a=>_0x5cd69a[_0x2d3c9f(0x39e)]===_0x3c503e))['filter'](_0x14c015=>!!_0x14c015);return{'config':_0x56a23e,'result':{'actions':_0x190dd5,'error':_0x306a9d[_0x2d3c9f(0x28f)]}};});}})}));}[_0xd593d2(0x190)](){var _0x95f054=_0xd593d2,_0x505119,_0x5e0043;const _0x4ae8e3=this[_0x95f054(0x175)][_0x95f054(0x32c)](Ve),_0x230fc8=this[_0x95f054(0x175)][_0x95f054(0x32c)](Y);return(_0x5e0043=(_0x505119=_0x230fc8==null?void 0x0:_0x230fc8[_0x95f054(0x18a)])!=null?_0x505119:_0x4ae8e3)!=null?_0x5e0043:Kn;}async['create'](_0x4358d7){var _0x1b6bcf=_0xd593d2;const _0x55a595=this[_0x1b6bcf(0x190)]()+'/'+_0x4358d7['objectType']+_0x1b6bcf(0x3cc);return(await this[_0x1b6bcf(0x172)]['post'](_0x55a595,{'body':_0x4358d7}))['body'][_0x1b6bcf(0x195)]||'';}async['list'](_0x24ff3b){var _0x3fc7b8=_0xd593d2;const _0x5ea774=this['_getAPIPrefixPath']()+_0x3fc7b8(0x3fb);return(await this[_0x3fc7b8(0x172)][_0x3fc7b8(0x3f3)](_0x5ea774,{'body':_0x24ff3b}))[_0x3fc7b8(0x44a)]['objects'];}async['update'](_0x2abfbf){var _0x23e04f=_0xd593d2;const _0x1d1af3=this[_0x23e04f(0x190)]()+'/'+_0x2abfbf[_0x23e04f(0x34a)]+_0x23e04f(0x44d)+_0x2abfbf['objectID'];await this[_0x23e04f(0x172)]['put'](_0x1d1af3,{'body':_0x2abfbf});}async[_0xd593d2(0x184)](_0x4304f3){var _0xacb951=_0xd593d2;const _0x488cce=this[_0xacb951(0x190)]()+'/'+_0x4304f3['objectType']+_0xacb951(0x44d)+_0x4304f3['objectID']+_0xacb951(0x2df);return(await this['_HTTPService'][_0xacb951(0x3f3)](_0x488cce,{'body':_0x4304f3}))['body'][_0xacb951(0x2be)];}async['batchAllowed'](_0x53a08c){var _0x3d5582=_0xd593d2;const _0x23d9dc=this[_0x3d5582(0x190)]()+_0x3d5582(0x18c);return(await this[_0x3d5582(0x172)][_0x3d5582(0x3f3)](_0x23d9dc,{'body':{'requests':_0x53a08c}}))['body'][_0x3d5582(0x448)];}async[_0xd593d2(0x2b3)](_0xabc3ea){var _0x5343db=_0xd593d2;const _0x58c0b7=this['_getAPIPrefixPath']()+'/'+_0xabc3ea[_0x5343db(0x34a)]+'/role',_0x486272=await this['_HTTPService']['post'](_0x58c0b7,{'body':_0xabc3ea});return{'roles':_0x486272[_0x5343db(0x44a)][_0x5343db(0x1b0)],'actions':_0x486272[_0x5343db(0x44a)][_0x5343db(0x2be)]};}async[_0xd593d2(0x1c4)](_0x16249f){var _0x5a75ca=_0xd593d2;const _0x49e083=this[_0x5a75ca(0x190)]()+_0x5a75ca(0x472);await this[_0x5a75ca(0x172)][_0x5a75ca(0x3d0)](_0x49e083,{'params':{'collaboratorID':_0x16249f[_0x5a75ca(0x38a)],'objectID':_0x16249f[_0x5a75ca(0x195)],'unitID':_0x16249f[_0x5a75ca(0x1f9)]}});}async[_0xd593d2(0x29b)](_0x5a65d6){var _0x27b2f7=_0xd593d2;const _0x51b2c1=this[_0x27b2f7(0x190)]()+_0x27b2f7(0x472);await this['_HTTPService'][_0x27b2f7(0x1fa)](_0x51b2c1,{'body':_0x5a65d6});}async[_0xd593d2(0x1d7)](_0xea1e55){var _0x1b8f6f=_0xd593d2;const _0x2155be=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1b8f6f(0x172)]['post'](_0x2155be,{'body':_0xea1e55});}async[_0xd593d2(0x19c)](_0x491369){var _0x19ee1a=_0xd593d2;const _0x3c57f4=this['_getAPIPrefixPath']()+_0x19ee1a(0x472);return(await this[_0x19ee1a(0x172)][_0x19ee1a(0x3be)](_0x3c57f4,{'params':{'objectID':_0x491369[_0x19ee1a(0x195)],'unitID':_0x491369[_0x19ee1a(0x1f9)]}}))[_0x19ee1a(0x44a)]['collaborators'];}async[_0xd593d2(0x26e)](_0x4662e3){var _0x895f8d=_0xd593d2;const _0x2e8510=this[_0x895f8d(0x190)]()+_0x895f8d(0x472);await this[_0x895f8d(0x172)][_0x895f8d(0x18f)](_0x2e8510,{'body':_0x4662e3});}},exports[_0xd593d2(0x14e)]=Vn([Ze(0x0,a[_0xd593d2(0x23b)](q['HTTPService'])),Ze(0x1,a[_0xd593d2(0x23b)](a[_0xd593d2(0x1a7)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x1a6d0f){var _0x126132=_0xd593d2;return _0x1a6d0f&&_0x1a6d0f['__esModule']&&Object['prototype']['hasOwnProperty'][_0x126132(0x496)](_0x1a6d0f,_0x126132(0x336))?_0x1a6d0f[_0x126132(0x336)]:_0x1a6d0f;}var Se={'exports':{}};function Yn(_0x36f90a){var _0xd3fd94=_0xd593d2;throw new Error(_0xd3fd94(0x2ec)+_0x36f90a+_0xd3fd94(0x1d6));}var pe={'exports':{}},qn=pe[_0xd593d2(0x233)],Qe;function ee(){return Qe||(Qe=0x1,function(_0x585f81,_0x138575){(function(_0x421825,_0x16f3be){var _0xcbd36b=_0x1ac9;_0x585f81[_0xcbd36b(0x233)]=_0x16f3be();}(qn,function(){var _0x322ef4=_0x322ef4||function(_0x47daf4,_0x214471){var _0x456a57=_0x1ac9,_0x30c976;if(typeof window<'u'&&window[_0x456a57(0x343)]&&(_0x30c976=window[_0x456a57(0x343)]),typeof self<'u'&&self[_0x456a57(0x343)]&&(_0x30c976=self[_0x456a57(0x343)]),typeof globalThis<'u'&&globalThis[_0x456a57(0x343)]&&(_0x30c976=globalThis['crypto']),!_0x30c976&&typeof window<'u'&&window[_0x456a57(0x260)]&&(_0x30c976=window[_0x456a57(0x260)]),!_0x30c976&&typeof Le<'u'&&Le[_0x456a57(0x343)]&&(_0x30c976=Le['crypto']),!_0x30c976&&typeof Yn==_0x456a57(0x1b4))try{_0x30c976=require(_0x456a57(0x343));}catch{}var _0x1e4efc=function(){var _0x10370a=_0x456a57;if(_0x30c976){if(typeof _0x30c976['getRandomValues']==_0x10370a(0x1b4))try{return _0x30c976[_0x10370a(0x450)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x30c976[_0x10370a(0x202)]==_0x10370a(0x1b4))try{return _0x30c976[_0x10370a(0x202)](0x4)[_0x10370a(0x4a8)]();}catch{}}throw new Error(_0x10370a(0x146));},_0x4fa94c=Object['create']||(function(){function _0x463b2c(){}return function(_0x9b8703){var _0x23455d;return _0x463b2c['prototype']=_0x9b8703,_0x23455d=new _0x463b2c(),_0x463b2c['prototype']=null,_0x23455d;};}()),_0x38fd60={},_0x3e7cc0=_0x38fd60[_0x456a57(0x2e1)]={},_0x119724=_0x3e7cc0[_0x456a57(0x470)]=(function(){return{'extend':function(_0xf68a27){var _0x53f6d8=_0x1ac9,_0x6bbbc0=_0x4fa94c(this);return _0xf68a27&&_0x6bbbc0['mixIn'](_0xf68a27),(!_0x6bbbc0[_0x53f6d8(0x1a9)](_0x53f6d8(0x166))||this[_0x53f6d8(0x166)]===_0x6bbbc0[_0x53f6d8(0x166)])&&(_0x6bbbc0[_0x53f6d8(0x166)]=function(){var _0x323f34=_0x53f6d8;_0x6bbbc0[_0x323f34(0x456)][_0x323f34(0x166)][_0x323f34(0x3ff)](this,arguments);}),_0x6bbbc0[_0x53f6d8(0x166)][_0x53f6d8(0x304)]=_0x6bbbc0,_0x6bbbc0[_0x53f6d8(0x456)]=this,_0x6bbbc0;},'create':function(){var _0xf7880e=_0x1ac9,_0x1b9ec3=this[_0xf7880e(0x1ab)]();return _0x1b9ec3[_0xf7880e(0x166)][_0xf7880e(0x3ff)](_0x1b9ec3,arguments),_0x1b9ec3;},'init':function(){},'mixIn':function(_0x26fee1){var _0x16a2a4=_0x1ac9;for(var _0x33340d in _0x26fee1)_0x26fee1[_0x16a2a4(0x1a9)](_0x33340d)&&(this[_0x33340d]=_0x26fee1[_0x33340d]);_0x26fee1[_0x16a2a4(0x1a9)]('toString')&&(this[_0x16a2a4(0x174)]=_0x26fee1['toString']);},'clone':function(){var _0x10addc=_0x1ac9;return this[_0x10addc(0x166)][_0x10addc(0x304)]['extend'](this);}};}()),_0x4dcf72=_0x3e7cc0[_0x456a57(0x362)]=_0x119724[_0x456a57(0x1ab)]({'init':function(_0x40014d,_0x137e9e){var _0x979d0=_0x456a57;_0x40014d=this[_0x979d0(0x39b)]=_0x40014d||[],_0x137e9e!=_0x214471?this[_0x979d0(0x2ab)]=_0x137e9e:this[_0x979d0(0x2ab)]=_0x40014d[_0x979d0(0x311)]*0x4;},'toString':function(_0x191a1e){return(_0x191a1e||_0x1215b7)['stringify'](this);},'concat':function(_0x461e4e){var _0x1748d3=_0x456a57,_0x47ab62=this['words'],_0x7d6783=_0x461e4e[_0x1748d3(0x39b)],_0x5cdf39=this[_0x1748d3(0x2ab)],_0x12a297=_0x461e4e[_0x1748d3(0x2ab)];if(this[_0x1748d3(0x37d)](),_0x5cdf39%0x4)for(var _0x31cec4=0x0;_0x31cec4<_0x12a297;_0x31cec4++){var _0x421865=_0x7d6783[_0x31cec4>>>0x2]>>>0x18-_0x31cec4%0x4*0x8&0xff;_0x47ab62[_0x5cdf39+_0x31cec4>>>0x2]|=_0x421865<<0x18-(_0x5cdf39+_0x31cec4)%0x4*0x8;}else{for(var _0x174559=0x0;_0x174559<_0x12a297;_0x174559+=0x4)_0x47ab62[_0x5cdf39+_0x174559>>>0x2]=_0x7d6783[_0x174559>>>0x2];}return this[_0x1748d3(0x2ab)]+=_0x12a297,this;},'clamp':function(){var _0x23f6d5=_0x456a57,_0xb7764d=this[_0x23f6d5(0x39b)],_0x90e1d0=this['sigBytes'];_0xb7764d[_0x90e1d0>>>0x2]&=0xffffffff<<0x20-_0x90e1d0%0x4*0x8,_0xb7764d['length']=_0x47daf4[_0x23f6d5(0x201)](_0x90e1d0/0x4);},'clone':function(){var _0x2d23ac=_0x456a57,_0x493aa9=_0x119724[_0x2d23ac(0x309)][_0x2d23ac(0x496)](this);return _0x493aa9[_0x2d23ac(0x39b)]=this[_0x2d23ac(0x39b)][_0x2d23ac(0x3c2)](0x0),_0x493aa9;},'random':function(_0xd2892d){var _0x237f07=_0x456a57;for(var _0x2b0949=[],_0x4e002f=0x0;_0x4e002f<_0xd2892d;_0x4e002f+=0x4)_0x2b0949[_0x237f07(0x37c)](_0x1e4efc());return new _0x4dcf72[(_0x237f07(0x166))](_0x2b0949,_0xd2892d);}}),_0x1e216a=_0x38fd60['enc']={},_0x1215b7=_0x1e216a[_0x456a57(0x2ad)]={'stringify':function(_0x2d107d){var _0x219bf6=_0x456a57;for(var _0x2d9166=_0x2d107d[_0x219bf6(0x39b)],_0x3f8603=_0x2d107d[_0x219bf6(0x2ab)],_0x540e8e=[],_0x43b254=0x0;_0x43b254<_0x3f8603;_0x43b254++){var _0x67d17c=_0x2d9166[_0x43b254>>>0x2]>>>0x18-_0x43b254%0x4*0x8&0xff;_0x540e8e[_0x219bf6(0x37c)]((_0x67d17c>>>0x4)[_0x219bf6(0x174)](0x10)),_0x540e8e[_0x219bf6(0x37c)]((_0x67d17c&0xf)[_0x219bf6(0x174)](0x10));}return _0x540e8e[_0x219bf6(0x2b2)]('');},'parse':function(_0x38c469){var _0x338447=_0x456a57;for(var _0x5f0934=_0x38c469[_0x338447(0x311)],_0x5634a5=[],_0x519fc3=0x0;_0x519fc3<_0x5f0934;_0x519fc3+=0x2)_0x5634a5[_0x519fc3>>>0x3]|=parseInt(_0x38c469['substr'](_0x519fc3,0x2),0x10)<<0x18-_0x519fc3%0x8*0x4;return new _0x4dcf72[(_0x338447(0x166))](_0x5634a5,_0x5f0934/0x2);}},_0x50d459=_0x1e216a[_0x456a57(0x228)]={'stringify':function(_0x4fa519){var _0x56344d=_0x456a57;for(var _0x28833c=_0x4fa519[_0x56344d(0x39b)],_0x226a78=_0x4fa519['sigBytes'],_0x41f7ab=[],_0x329231=0x0;_0x329231<_0x226a78;_0x329231++){var _0x34b017=_0x28833c[_0x329231>>>0x2]>>>0x18-_0x329231%0x4*0x8&0xff;_0x41f7ab[_0x56344d(0x37c)](String[_0x56344d(0x49b)](_0x34b017));}return _0x41f7ab[_0x56344d(0x2b2)]('');},'parse':function(_0x3629cc){var _0x217473=_0x456a57;for(var _0x178562=_0x3629cc[_0x217473(0x311)],_0x351fc6=[],_0x8fe9dc=0x0;_0x8fe9dc<_0x178562;_0x8fe9dc++)_0x351fc6[_0x8fe9dc>>>0x2]|=(_0x3629cc['charCodeAt'](_0x8fe9dc)&0xff)<<0x18-_0x8fe9dc%0x4*0x8;return new _0x4dcf72[(_0x217473(0x166))](_0x351fc6,_0x178562);}},_0x27f4bc=_0x1e216a[_0x456a57(0x3e2)]={'stringify':function(_0x4f36fc){var _0xc0ba8e=_0x456a57;try{return decodeURIComponent(escape(_0x50d459[_0xc0ba8e(0x204)](_0x4f36fc)));}catch{throw new Error(_0xc0ba8e(0x468));}},'parse':function(_0x30ca54){var _0x2cacaf=_0x456a57;return _0x50d459[_0x2cacaf(0x438)](unescape(encodeURIComponent(_0x30ca54)));}},_0x312dee=_0x3e7cc0[_0x456a57(0x20d)]=_0x119724[_0x456a57(0x1ab)]({'reset':function(){var _0x596f88=_0x456a57;this[_0x596f88(0x2b8)]=new _0x4dcf72[(_0x596f88(0x166))](),this[_0x596f88(0x3d3)]=0x0;},'_append':function(_0x361b9a){var _0x5a0fec=_0x456a57;typeof _0x361b9a=='string'&&(_0x361b9a=_0x27f4bc[_0x5a0fec(0x438)](_0x361b9a)),this[_0x5a0fec(0x2b8)][_0x5a0fec(0x41e)](_0x361b9a),this[_0x5a0fec(0x3d3)]+=_0x361b9a['sigBytes'];},'_process':function(_0x2604ee){var _0x458907=_0x456a57,_0x5bc2f5,_0x3041a1=this['_data'],_0x48a31e=_0x3041a1[_0x458907(0x39b)],_0x6967be=_0x3041a1[_0x458907(0x2ab)],_0x6471d1=this[_0x458907(0x369)],_0x11ecc7=_0x6471d1*0x4,_0x17a9ca=_0x6967be/_0x11ecc7;_0x2604ee?_0x17a9ca=_0x47daf4['ceil'](_0x17a9ca):_0x17a9ca=_0x47daf4[_0x458907(0x217)]((_0x17a9ca|0x0)-this[_0x458907(0x1d4)],0x0);var _0x496936=_0x17a9ca*_0x6471d1,_0x30aa4c=_0x47daf4[_0x458907(0x177)](_0x496936*0x4,_0x6967be);if(_0x496936){for(var _0x2f511f=0x0;_0x2f511f<_0x496936;_0x2f511f+=_0x6471d1)this[_0x458907(0x16c)](_0x48a31e,_0x2f511f);_0x5bc2f5=_0x48a31e[_0x458907(0x1f8)](0x0,_0x496936),_0x3041a1[_0x458907(0x2ab)]-=_0x30aa4c;}return new _0x4dcf72[(_0x458907(0x166))](_0x5bc2f5,_0x30aa4c);},'clone':function(){var _0x3062dc=_0x456a57,_0x3edc92=_0x119724[_0x3062dc(0x309)][_0x3062dc(0x496)](this);return _0x3edc92[_0x3062dc(0x2b8)]=this['_data'][_0x3062dc(0x309)](),_0x3edc92;},'_minBufferSize':0x0});_0x3e7cc0[_0x456a57(0x21a)]=_0x312dee[_0x456a57(0x1ab)]({'cfg':_0x119724[_0x456a57(0x1ab)](),'init':function(_0x5615da){var _0x5e07e9=_0x456a57;this[_0x5e07e9(0x1b7)]=this[_0x5e07e9(0x1b7)][_0x5e07e9(0x1ab)](_0x5615da),this[_0x5e07e9(0x1f4)]();},'reset':function(){var _0x155c02=_0x456a57;_0x312dee['reset']['call'](this),this[_0x155c02(0x411)]();},'update':function(_0x316538){var _0x180ce3=_0x456a57;return this[_0x180ce3(0x322)](_0x316538),this['_process'](),this;},'finalize':function(_0xd3a96e){var _0x4072b9=_0x456a57;_0xd3a96e&&this[_0x4072b9(0x322)](_0xd3a96e);var _0x3a4704=this[_0x4072b9(0x39d)]();return _0x3a4704;},'blockSize':0x10,'_createHelper':function(_0x5110c3){return function(_0x51bed5,_0x3ef234){var _0x1e58c8=_0x1ac9;return new _0x5110c3['init'](_0x3ef234)[_0x1e58c8(0x3f9)](_0x51bed5);};},'_createHmacHelper':function(_0x54d001){return function(_0x4c71bb,_0x52f240){var _0x2bb8f2=_0x1ac9;return new _0x2d1e0f['HMAC'][(_0x2bb8f2(0x166))](_0x54d001,_0x52f240)[_0x2bb8f2(0x3f9)](_0x4c71bb);};}});var _0x2d1e0f=_0x38fd60[_0x456a57(0x445)]={};return _0x38fd60;}(Math);return _0x322ef4;}));}(pe)),pe['exports'];}var me={'exports':{}},zn=me[_0xd593d2(0x233)],et;function Dt(){return et||(et=0x1,function(_0x32ad94,_0x397ce4){(function(_0x39e8c9,_0xbcbecb){_0x32ad94['exports']=_0xbcbecb(ee());}(zn,function(_0x2f3bbb){var _0x301129=_0x1ac9;return(function(){var _0x144dd3=_0x1ac9,_0x26805d=_0x2f3bbb,_0x2d15f7=_0x26805d[_0x144dd3(0x2e1)],_0x13993d=_0x2d15f7[_0x144dd3(0x362)],_0x12a56b=_0x26805d[_0x144dd3(0x1cf)];_0x12a56b[_0x144dd3(0x1db)]={'stringify':function(_0x334075){var _0x53024c=_0x144dd3,_0x49fe66=_0x334075[_0x53024c(0x39b)],_0x111a90=_0x334075[_0x53024c(0x2ab)],_0x83e7fa=this[_0x53024c(0x48b)];_0x334075['clamp']();for(var _0x441d1b=[],_0x4ffe7b=0x0;_0x4ffe7b<_0x111a90;_0x4ffe7b+=0x3)for(var _0x594648=_0x49fe66[_0x4ffe7b>>>0x2]>>>0x18-_0x4ffe7b%0x4*0x8&0xff,_0x25d9cb=_0x49fe66[_0x4ffe7b+0x1>>>0x2]>>>0x18-(_0x4ffe7b+0x1)%0x4*0x8&0xff,_0x585f1a=_0x49fe66[_0x4ffe7b+0x2>>>0x2]>>>0x18-(_0x4ffe7b+0x2)%0x4*0x8&0xff,_0x33df0d=_0x594648<<0x10|_0x25d9cb<<0x8|_0x585f1a,_0x2b93de=0x0;_0x2b93de<0x4&&_0x4ffe7b+_0x2b93de*0.75<_0x111a90;_0x2b93de++)_0x441d1b[_0x53024c(0x37c)](_0x83e7fa[_0x53024c(0x479)](_0x33df0d>>>0x6*(0x3-_0x2b93de)&0x3f));var _0x2ac4fc=_0x83e7fa[_0x53024c(0x479)](0x40);if(_0x2ac4fc){for(;_0x441d1b['length']%0x4;)_0x441d1b['push'](_0x2ac4fc);}return _0x441d1b[_0x53024c(0x2b2)]('');},'parse':function(_0x5a3a6e){var _0xdc9a1a=_0x144dd3,_0x51f454=_0x5a3a6e[_0xdc9a1a(0x311)],_0x10e90d=this[_0xdc9a1a(0x48b)],_0x1b4fb8=this['_reverseMap'];if(!_0x1b4fb8){_0x1b4fb8=this[_0xdc9a1a(0x3ef)]=[];for(var _0x57cee4=0x0;_0x57cee4<_0x10e90d[_0xdc9a1a(0x311)];_0x57cee4++)_0x1b4fb8[_0x10e90d['charCodeAt'](_0x57cee4)]=_0x57cee4;}var _0x89ca30=_0x10e90d[_0xdc9a1a(0x479)](0x40);if(_0x89ca30){var _0xb21baf=_0x5a3a6e['indexOf'](_0x89ca30);_0xb21baf!==-0x1&&(_0x51f454=_0xb21baf);}return _0x33df94(_0x5a3a6e,_0x51f454,_0x1b4fb8);},'_map':_0x144dd3(0x2e7)};function _0x33df94(_0x411234,_0x48ab17,_0x288e3d){var _0x5ca24c=_0x144dd3;for(var _0x54e0de=[],_0x50d7f2=0x0,_0xf7c2ea=0x0;_0xf7c2ea<_0x48ab17;_0xf7c2ea++)if(_0xf7c2ea%0x4){var _0x11cf6c=_0x288e3d[_0x411234[_0x5ca24c(0x482)](_0xf7c2ea-0x1)]<<_0xf7c2ea%0x4*0x2,_0x1bf493=_0x288e3d[_0x411234[_0x5ca24c(0x482)](_0xf7c2ea)]>>>0x6-_0xf7c2ea%0x4*0x2,_0x5aa382=_0x11cf6c|_0x1bf493;_0x54e0de[_0x50d7f2>>>0x2]|=_0x5aa382<<0x18-_0x50d7f2%0x4*0x8,_0x50d7f2++;}return _0x13993d[_0x5ca24c(0x330)](_0x54e0de,_0x50d7f2);}}()),_0x2f3bbb[_0x301129(0x1cf)][_0x301129(0x1db)];}));}(me)),me['exports'];}var ge={'exports':{}},Jn=ge[_0xd593d2(0x233)],tt;function Xn(){var _0xe90e81=_0xd593d2;return tt||(tt=0x1,function(_0x36833b,_0x3b58af){(function(_0x9ad91e,_0x461935){var _0x248b91=_0x1ac9;_0x36833b[_0x248b91(0x233)]=_0x461935(ee());}(Jn,function(_0x299742){var _0x5a9ee0=_0x1ac9;return function(_0x51c207){var _0x4ec2b8=_0x1ac9,_0x287775=_0x299742,_0x33c4c2=_0x287775[_0x4ec2b8(0x2e1)],_0x595073=_0x33c4c2[_0x4ec2b8(0x362)],_0x37bade=_0x33c4c2['Hasher'],_0x5761db=_0x287775[_0x4ec2b8(0x445)],_0x1a030b=[];(function(){var _0x51b600=_0x4ec2b8;for(var _0xc7d53b=0x0;_0xc7d53b<0x40;_0xc7d53b++)_0x1a030b[_0xc7d53b]=_0x51c207[_0x51b600(0x415)](_0x51c207[_0x51b600(0x158)](_0xc7d53b+0x1))*0x100000000|0x0;}());var _0x5df141=_0x5761db['MD5']=_0x37bade[_0x4ec2b8(0x1ab)]({'_doReset':function(){var _0x391406=_0x4ec2b8;this[_0x391406(0x481)]=new _0x595073[(_0x391406(0x166))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x307f6a,_0x1436af){var _0x4ba426=_0x4ec2b8;for(var _0x50298b=0x0;_0x50298b<0x10;_0x50298b++){var _0x17c4de=_0x1436af+_0x50298b,_0x539190=_0x307f6a[_0x17c4de];_0x307f6a[_0x17c4de]=(_0x539190<<0x8|_0x539190>>>0x18)&0xff00ff|(_0x539190<<0x18|_0x539190>>>0x8)&0xff00ff00;}var _0x1b35d3=this[_0x4ba426(0x481)][_0x4ba426(0x39b)],_0x270f18=_0x307f6a[_0x1436af+0x0],_0x2418c6=_0x307f6a[_0x1436af+0x1],_0x171280=_0x307f6a[_0x1436af+0x2],_0x3bba86=_0x307f6a[_0x1436af+0x3],_0x4d1f25=_0x307f6a[_0x1436af+0x4],_0x4d9d2e=_0x307f6a[_0x1436af+0x5],_0x315ea5=_0x307f6a[_0x1436af+0x6],_0x4a5d4f=_0x307f6a[_0x1436af+0x7],_0x5967b2=_0x307f6a[_0x1436af+0x8],_0x5b8d8d=_0x307f6a[_0x1436af+0x9],_0x1da8b9=_0x307f6a[_0x1436af+0xa],_0x5143fc=_0x307f6a[_0x1436af+0xb],_0xaaeab3=_0x307f6a[_0x1436af+0xc],_0x4c19e5=_0x307f6a[_0x1436af+0xd],_0x28f94e=_0x307f6a[_0x1436af+0xe],_0x3fa1fe=_0x307f6a[_0x1436af+0xf],_0xa699db=_0x1b35d3[0x0],_0x1961a7=_0x1b35d3[0x1],_0x289ba2=_0x1b35d3[0x2],_0x2188a9=_0x1b35d3[0x3];_0xa699db=_0x229ff0(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x270f18,0x7,_0x1a030b[0x0]),_0x2188a9=_0x229ff0(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x2418c6,0xc,_0x1a030b[0x1]),_0x289ba2=_0x229ff0(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x171280,0x11,_0x1a030b[0x2]),_0x1961a7=_0x229ff0(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x3bba86,0x16,_0x1a030b[0x3]),_0xa699db=_0x229ff0(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4d1f25,0x7,_0x1a030b[0x4]),_0x2188a9=_0x229ff0(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x4d9d2e,0xc,_0x1a030b[0x5]),_0x289ba2=_0x229ff0(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x315ea5,0x11,_0x1a030b[0x6]),_0x1961a7=_0x229ff0(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x4a5d4f,0x16,_0x1a030b[0x7]),_0xa699db=_0x229ff0(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x5967b2,0x7,_0x1a030b[0x8]),_0x2188a9=_0x229ff0(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x5b8d8d,0xc,_0x1a030b[0x9]),_0x289ba2=_0x229ff0(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x1da8b9,0x11,_0x1a030b[0xa]),_0x1961a7=_0x229ff0(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x5143fc,0x16,_0x1a030b[0xb]),_0xa699db=_0x229ff0(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0xaaeab3,0x7,_0x1a030b[0xc]),_0x2188a9=_0x229ff0(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x4c19e5,0xc,_0x1a030b[0xd]),_0x289ba2=_0x229ff0(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x28f94e,0x11,_0x1a030b[0xe]),_0x1961a7=_0x229ff0(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x3fa1fe,0x16,_0x1a030b[0xf]),_0xa699db=_0x22c846(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x2418c6,0x5,_0x1a030b[0x10]),_0x2188a9=_0x22c846(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x315ea5,0x9,_0x1a030b[0x11]),_0x289ba2=_0x22c846(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x5143fc,0xe,_0x1a030b[0x12]),_0x1961a7=_0x22c846(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x270f18,0x14,_0x1a030b[0x13]),_0xa699db=_0x22c846(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4d9d2e,0x5,_0x1a030b[0x14]),_0x2188a9=_0x22c846(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x1da8b9,0x9,_0x1a030b[0x15]),_0x289ba2=_0x22c846(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x3fa1fe,0xe,_0x1a030b[0x16]),_0x1961a7=_0x22c846(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x4d1f25,0x14,_0x1a030b[0x17]),_0xa699db=_0x22c846(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x5b8d8d,0x5,_0x1a030b[0x18]),_0x2188a9=_0x22c846(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x28f94e,0x9,_0x1a030b[0x19]),_0x289ba2=_0x22c846(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x3bba86,0xe,_0x1a030b[0x1a]),_0x1961a7=_0x22c846(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x5967b2,0x14,_0x1a030b[0x1b]),_0xa699db=_0x22c846(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4c19e5,0x5,_0x1a030b[0x1c]),_0x2188a9=_0x22c846(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x171280,0x9,_0x1a030b[0x1d]),_0x289ba2=_0x22c846(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x4a5d4f,0xe,_0x1a030b[0x1e]),_0x1961a7=_0x22c846(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0xaaeab3,0x14,_0x1a030b[0x1f]),_0xa699db=_0x1d75d3(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4d9d2e,0x4,_0x1a030b[0x20]),_0x2188a9=_0x1d75d3(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x5967b2,0xb,_0x1a030b[0x21]),_0x289ba2=_0x1d75d3(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x5143fc,0x10,_0x1a030b[0x22]),_0x1961a7=_0x1d75d3(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x28f94e,0x17,_0x1a030b[0x23]),_0xa699db=_0x1d75d3(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x2418c6,0x4,_0x1a030b[0x24]),_0x2188a9=_0x1d75d3(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x4d1f25,0xb,_0x1a030b[0x25]),_0x289ba2=_0x1d75d3(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x4a5d4f,0x10,_0x1a030b[0x26]),_0x1961a7=_0x1d75d3(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x1da8b9,0x17,_0x1a030b[0x27]),_0xa699db=_0x1d75d3(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4c19e5,0x4,_0x1a030b[0x28]),_0x2188a9=_0x1d75d3(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x270f18,0xb,_0x1a030b[0x29]),_0x289ba2=_0x1d75d3(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x3bba86,0x10,_0x1a030b[0x2a]),_0x1961a7=_0x1d75d3(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x315ea5,0x17,_0x1a030b[0x2b]),_0xa699db=_0x1d75d3(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x5b8d8d,0x4,_0x1a030b[0x2c]),_0x2188a9=_0x1d75d3(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0xaaeab3,0xb,_0x1a030b[0x2d]),_0x289ba2=_0x1d75d3(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x3fa1fe,0x10,_0x1a030b[0x2e]),_0x1961a7=_0x1d75d3(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x171280,0x17,_0x1a030b[0x2f]),_0xa699db=_0x40ae58(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x270f18,0x6,_0x1a030b[0x30]),_0x2188a9=_0x40ae58(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x4a5d4f,0xa,_0x1a030b[0x31]),_0x289ba2=_0x40ae58(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x28f94e,0xf,_0x1a030b[0x32]),_0x1961a7=_0x40ae58(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x4d9d2e,0x15,_0x1a030b[0x33]),_0xa699db=_0x40ae58(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0xaaeab3,0x6,_0x1a030b[0x34]),_0x2188a9=_0x40ae58(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x3bba86,0xa,_0x1a030b[0x35]),_0x289ba2=_0x40ae58(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x1da8b9,0xf,_0x1a030b[0x36]),_0x1961a7=_0x40ae58(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x2418c6,0x15,_0x1a030b[0x37]),_0xa699db=_0x40ae58(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x5967b2,0x6,_0x1a030b[0x38]),_0x2188a9=_0x40ae58(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x3fa1fe,0xa,_0x1a030b[0x39]),_0x289ba2=_0x40ae58(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x315ea5,0xf,_0x1a030b[0x3a]),_0x1961a7=_0x40ae58(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x4c19e5,0x15,_0x1a030b[0x3b]),_0xa699db=_0x40ae58(_0xa699db,_0x1961a7,_0x289ba2,_0x2188a9,_0x4d1f25,0x6,_0x1a030b[0x3c]),_0x2188a9=_0x40ae58(_0x2188a9,_0xa699db,_0x1961a7,_0x289ba2,_0x5143fc,0xa,_0x1a030b[0x3d]),_0x289ba2=_0x40ae58(_0x289ba2,_0x2188a9,_0xa699db,_0x1961a7,_0x171280,0xf,_0x1a030b[0x3e]),_0x1961a7=_0x40ae58(_0x1961a7,_0x289ba2,_0x2188a9,_0xa699db,_0x5b8d8d,0x15,_0x1a030b[0x3f]),_0x1b35d3[0x0]=_0x1b35d3[0x0]+_0xa699db|0x0,_0x1b35d3[0x1]=_0x1b35d3[0x1]+_0x1961a7|0x0,_0x1b35d3[0x2]=_0x1b35d3[0x2]+_0x289ba2|0x0,_0x1b35d3[0x3]=_0x1b35d3[0x3]+_0x2188a9|0x0;},'_doFinalize':function(){var _0x54ba75=_0x4ec2b8,_0x2b140d=this[_0x54ba75(0x2b8)],_0x1014e2=_0x2b140d[_0x54ba75(0x39b)],_0x4b9c02=this[_0x54ba75(0x3d3)]*0x8,_0x3820d1=_0x2b140d[_0x54ba75(0x2ab)]*0x8;_0x1014e2[_0x3820d1>>>0x5]|=0x80<<0x18-_0x3820d1%0x20;var _0x4afba4=_0x51c207[_0x54ba75(0x2bc)](_0x4b9c02/0x100000000),_0xa46c8e=_0x4b9c02;_0x1014e2[(_0x3820d1+0x40>>>0x9<<0x4)+0xf]=(_0x4afba4<<0x8|_0x4afba4>>>0x18)&0xff00ff|(_0x4afba4<<0x18|_0x4afba4>>>0x8)&0xff00ff00,_0x1014e2[(_0x3820d1+0x40>>>0x9<<0x4)+0xe]=(_0xa46c8e<<0x8|_0xa46c8e>>>0x18)&0xff00ff|(_0xa46c8e<<0x18|_0xa46c8e>>>0x8)&0xff00ff00,_0x2b140d[_0x54ba75(0x2ab)]=(_0x1014e2[_0x54ba75(0x311)]+0x1)*0x4,this[_0x54ba75(0x1e9)]();for(var _0x2ab040=this['_hash'],_0x2ee6a=_0x2ab040['words'],_0x4393db=0x0;_0x4393db<0x4;_0x4393db++){var _0x5bc8cc=_0x2ee6a[_0x4393db];_0x2ee6a[_0x4393db]=(_0x5bc8cc<<0x8|_0x5bc8cc>>>0x18)&0xff00ff|(_0x5bc8cc<<0x18|_0x5bc8cc>>>0x8)&0xff00ff00;}return _0x2ab040;},'clone':function(){var _0x59aa41=_0x4ec2b8,_0x3d75bf=_0x37bade['clone']['call'](this);return _0x3d75bf[_0x59aa41(0x481)]=this['_hash'][_0x59aa41(0x309)](),_0x3d75bf;}});function _0x229ff0(_0x239da2,_0x257ce8,_0x509b81,_0xbe2a29,_0x376f5c,_0xd03f96,_0x2d0ce8){var _0x309897=_0x239da2+(_0x257ce8&_0x509b81|~_0x257ce8&_0xbe2a29)+_0x376f5c+_0x2d0ce8;return(_0x309897<<_0xd03f96|_0x309897>>>0x20-_0xd03f96)+_0x257ce8;}function _0x22c846(_0x4cb977,_0x5ad858,_0x22dbb8,_0x748b5a,_0x57dba4,_0x54ea0b,_0x244f57){var _0x280327=_0x4cb977+(_0x5ad858&_0x748b5a|_0x22dbb8&~_0x748b5a)+_0x57dba4+_0x244f57;return(_0x280327<<_0x54ea0b|_0x280327>>>0x20-_0x54ea0b)+_0x5ad858;}function _0x1d75d3(_0x5e6b30,_0x1822e1,_0x4c0d0c,_0x2a9411,_0x2e0e32,_0x228e50,_0x75cfe2){var _0x19c462=_0x5e6b30+(_0x1822e1^_0x4c0d0c^_0x2a9411)+_0x2e0e32+_0x75cfe2;return(_0x19c462<<_0x228e50|_0x19c462>>>0x20-_0x228e50)+_0x1822e1;}function _0x40ae58(_0x578b37,_0x48ded5,_0x44bc93,_0x46c0b0,_0x233d6e,_0x29e29e,_0xadd06b){var _0x59b2c4=_0x578b37+(_0x44bc93^(_0x48ded5|~_0x46c0b0))+_0x233d6e+_0xadd06b;return(_0x59b2c4<<_0x29e29e|_0x59b2c4>>>0x20-_0x29e29e)+_0x48ded5;}_0x287775[_0x4ec2b8(0x176)]=_0x37bade[_0x4ec2b8(0x359)](_0x5df141),_0x287775[_0x4ec2b8(0x371)]=_0x37bade['_createHmacHelper'](_0x5df141);}(Math),_0x299742[_0x5a9ee0(0x176)];}));}(ge)),ge[_0xe90e81(0x233)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0xd593d2(0x233)],nt;function Qn(){return nt||(nt=0x1,function(_0x1b0c29,_0x4dcb4b){(function(_0x4f4e1c,_0x477d24){_0x1b0c29['exports']=_0x477d24(ee());}(Zn,function(_0x1da774){var _0x3e9ece=_0x1ac9;return(function(){var _0xd51e76=_0x1ac9,_0xce89de=_0x1da774,_0x41693c=_0xce89de['lib'],_0x545199=_0x41693c['WordArray'],_0x2424dc=_0x41693c['Hasher'],_0x375a6b=_0xce89de[_0xd51e76(0x445)],_0x4cb112=[],_0x27d7f3=_0x375a6b[_0xd51e76(0x3e4)]=_0x2424dc[_0xd51e76(0x1ab)]({'_doReset':function(){var _0x19b8e1=_0xd51e76;this['_hash']=new _0x545199[(_0x19b8e1(0x166))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5f3964,_0x137070){var _0x465469=_0xd51e76;for(var _0x38781e=this[_0x465469(0x481)]['words'],_0x51bbe2=_0x38781e[0x0],_0x52a7f7=_0x38781e[0x1],_0x3bf83a=_0x38781e[0x2],_0x286d68=_0x38781e[0x3],_0x4a1f3e=_0x38781e[0x4],_0x5e103c=0x0;_0x5e103c<0x50;_0x5e103c++){if(_0x5e103c<0x10)_0x4cb112[_0x5e103c]=_0x5f3964[_0x137070+_0x5e103c]|0x0;else{var _0x26613d=_0x4cb112[_0x5e103c-0x3]^_0x4cb112[_0x5e103c-0x8]^_0x4cb112[_0x5e103c-0xe]^_0x4cb112[_0x5e103c-0x10];_0x4cb112[_0x5e103c]=_0x26613d<<0x1|_0x26613d>>>0x1f;}var _0x14cdee=(_0x51bbe2<<0x5|_0x51bbe2>>>0x1b)+_0x4a1f3e+_0x4cb112[_0x5e103c];_0x5e103c<0x14?_0x14cdee+=(_0x52a7f7&_0x3bf83a|~_0x52a7f7&_0x286d68)+0x5a827999:_0x5e103c<0x28?_0x14cdee+=(_0x52a7f7^_0x3bf83a^_0x286d68)+0x6ed9eba1:_0x5e103c<0x3c?_0x14cdee+=(_0x52a7f7&_0x3bf83a|_0x52a7f7&_0x286d68|_0x3bf83a&_0x286d68)-0x70e44324:_0x14cdee+=(_0x52a7f7^_0x3bf83a^_0x286d68)-0x359d3e2a,_0x4a1f3e=_0x286d68,_0x286d68=_0x3bf83a,_0x3bf83a=_0x52a7f7<<0x1e|_0x52a7f7>>>0x2,_0x52a7f7=_0x51bbe2,_0x51bbe2=_0x14cdee;}_0x38781e[0x0]=_0x38781e[0x0]+_0x51bbe2|0x0,_0x38781e[0x1]=_0x38781e[0x1]+_0x52a7f7|0x0,_0x38781e[0x2]=_0x38781e[0x2]+_0x3bf83a|0x0,_0x38781e[0x3]=_0x38781e[0x3]+_0x286d68|0x0,_0x38781e[0x4]=_0x38781e[0x4]+_0x4a1f3e|0x0;},'_doFinalize':function(){var _0x4d1c6a=_0xd51e76,_0x8d3531=this[_0x4d1c6a(0x2b8)],_0x6ffd1b=_0x8d3531['words'],_0x2d0814=this['_nDataBytes']*0x8,_0x450748=_0x8d3531[_0x4d1c6a(0x2ab)]*0x8;return _0x6ffd1b[_0x450748>>>0x5]|=0x80<<0x18-_0x450748%0x20,_0x6ffd1b[(_0x450748+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2d0814/0x100000000),_0x6ffd1b[(_0x450748+0x40>>>0x9<<0x4)+0xf]=_0x2d0814,_0x8d3531[_0x4d1c6a(0x2ab)]=_0x6ffd1b['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x584053=_0xd51e76,_0x407b25=_0x2424dc['clone'][_0x584053(0x496)](this);return _0x407b25['_hash']=this[_0x584053(0x481)][_0x584053(0x309)](),_0x407b25;}});_0xce89de[_0xd51e76(0x3e4)]=_0x2424dc[_0xd51e76(0x359)](_0x27d7f3),_0xce89de['HmacSHA1']=_0x2424dc[_0xd51e76(0x255)](_0x27d7f3);}()),_0x1da774[_0x3e9ece(0x3e4)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},ei=Ce[_0xd593d2(0x233)],it;function ti(){var _0x540da1=_0xd593d2;return it||(it=0x1,function(_0x3688db,_0x12daa4){(function(_0xd55b30,_0x4ae00f){_0x3688db['exports']=_0x4ae00f(ee());}(ei,function(_0x5f047f){(function(){var _0x105016=_0x1ac9,_0x18fcee=_0x5f047f,_0x2bd9c4=_0x18fcee[_0x105016(0x2e1)],_0x3d0af5=_0x2bd9c4['Base'],_0x3e7de5=_0x18fcee[_0x105016(0x1cf)],_0x4fb759=_0x3e7de5[_0x105016(0x3e2)],_0x5030f1=_0x18fcee['algo'];_0x5030f1[_0x105016(0x3d4)]=_0x3d0af5[_0x105016(0x1ab)]({'init':function(_0x5080fe,_0x4948db){var _0x861925=_0x105016;_0x5080fe=this['_hasher']=new _0x5080fe[(_0x861925(0x166))](),typeof _0x4948db==_0x861925(0x31c)&&(_0x4948db=_0x4fb759[_0x861925(0x438)](_0x4948db));var _0x37f553=_0x5080fe[_0x861925(0x369)],_0x1dd38d=_0x37f553*0x4;_0x4948db['sigBytes']>_0x1dd38d&&(_0x4948db=_0x5080fe[_0x861925(0x3f9)](_0x4948db)),_0x4948db[_0x861925(0x37d)]();for(var _0x540567=this['_oKey']=_0x4948db[_0x861925(0x309)](),_0x12fc3a=this['_iKey']=_0x4948db[_0x861925(0x309)](),_0x34c13a=_0x540567['words'],_0x4701bf=_0x12fc3a[_0x861925(0x39b)],_0xb63fd5=0x0;_0xb63fd5<_0x37f553;_0xb63fd5++)_0x34c13a[_0xb63fd5]^=0x5c5c5c5c,_0x4701bf[_0xb63fd5]^=0x36363636;_0x540567['sigBytes']=_0x12fc3a[_0x861925(0x2ab)]=_0x1dd38d,this['reset']();},'reset':function(){var _0x2d16f5=_0x105016,_0x5c784c=this[_0x2d16f5(0x400)];_0x5c784c[_0x2d16f5(0x1f4)](),_0x5c784c[_0x2d16f5(0x1ff)](this['_iKey']);},'update':function(_0x360fa4){var _0x5c52fc=_0x105016;return this[_0x5c52fc(0x400)][_0x5c52fc(0x1ff)](_0x360fa4),this;},'finalize':function(_0xae995f){var _0xeb8df=_0x105016,_0x1efaa1=this[_0xeb8df(0x400)],_0x59d0ba=_0x1efaa1[_0xeb8df(0x3f9)](_0xae995f);_0x1efaa1['reset']();var _0x5a2029=_0x1efaa1[_0xeb8df(0x3f9)](this[_0xeb8df(0x1c3)][_0xeb8df(0x309)]()['concat'](_0x59d0ba));return _0x5a2029;}});}());}));}(Ce)),Ce[_0x540da1(0x233)];}var ni=Ie[_0xd593d2(0x233)],rt;function wt(){var _0x340707=_0xd593d2;return rt||(rt=0x1,function(_0x2263b4,_0x96629f){(function(_0x402978,_0x211bcf,_0xadd1a2){_0x2263b4['exports']=_0x211bcf(ee(),Qn(),ti());}(ni,function(_0x222321){return(function(){var _0xc1ef4f=_0x1ac9,_0x4ec2b2=_0x222321,_0x2932d8=_0x4ec2b2[_0xc1ef4f(0x2e1)],_0x2efb6e=_0x2932d8[_0xc1ef4f(0x470)],_0x2b5c4c=_0x2932d8[_0xc1ef4f(0x362)],_0x387312=_0x4ec2b2[_0xc1ef4f(0x445)],_0x1daec8=_0x387312[_0xc1ef4f(0x176)],_0x493750=_0x387312['EvpKDF']=_0x2efb6e[_0xc1ef4f(0x1ab)]({'cfg':_0x2efb6e[_0xc1ef4f(0x1ab)]({'keySize':0x80/0x20,'hasher':_0x1daec8,'iterations':0x1}),'init':function(_0x2824eb){var _0x3d8acb=_0xc1ef4f;this[_0x3d8acb(0x1b7)]=this[_0x3d8acb(0x1b7)][_0x3d8acb(0x1ab)](_0x2824eb);},'compute':function(_0xe87aa,_0x371379){var _0x298c3d=_0xc1ef4f;for(var _0x25b20d,_0x7b88e2=this['cfg'],_0x4dff2c=_0x7b88e2[_0x298c3d(0x473)][_0x298c3d(0x330)](),_0x4d4de5=_0x2b5c4c[_0x298c3d(0x330)](),_0x543057=_0x4d4de5[_0x298c3d(0x39b)],_0x1aaf67=_0x7b88e2[_0x298c3d(0x212)],_0x10e50d=_0x7b88e2['iterations'];_0x543057[_0x298c3d(0x311)]<_0x1aaf67;){_0x25b20d&&_0x4dff2c['update'](_0x25b20d),_0x25b20d=_0x4dff2c[_0x298c3d(0x1ff)](_0xe87aa)[_0x298c3d(0x3f9)](_0x371379),_0x4dff2c['reset']();for(var _0x521b9d=0x1;_0x521b9d<_0x10e50d;_0x521b9d++)_0x25b20d=_0x4dff2c['finalize'](_0x25b20d),_0x4dff2c[_0x298c3d(0x1f4)]();_0x4d4de5[_0x298c3d(0x41e)](_0x25b20d);}return _0x4d4de5['sigBytes']=_0x1aaf67*0x4,_0x4d4de5;}});_0x4ec2b2['EvpKDF']=function(_0x20e24f,_0x223c8d,_0x581170){var _0x5bdf00=_0xc1ef4f;return _0x493750['create'](_0x581170)[_0x5bdf00(0x296)](_0x20e24f,_0x223c8d);};}()),_0x222321['EvpKDF'];}));}(Ie)),Ie[_0x340707(0x233)];}var Te={'exports':{}},ii=Te[_0xd593d2(0x233)],st;function At(){var _0x5dfe40=_0xd593d2;return st||(st=0x1,function(_0x2aadfb,_0x593f5b){(function(_0x1e91b1,_0x56c281,_0x1149b9){var _0x4d1108=_0x1ac9;_0x2aadfb[_0x4d1108(0x233)]=_0x56c281(ee(),wt());}(ii,function(_0x4c76af){var _0x1d0217=_0x1ac9;_0x4c76af[_0x1d0217(0x2e1)][_0x1d0217(0x414)]||function(_0x1e3095){var _0x1a74b2=_0x1d0217,_0x1c1e07=_0x4c76af,_0x185020=_0x1c1e07[_0x1a74b2(0x2e1)],_0x262846=_0x185020[_0x1a74b2(0x470)],_0x5c3cb4=_0x185020[_0x1a74b2(0x362)],_0x1dedf7=_0x185020['BufferedBlockAlgorithm'],_0x51e6e4=_0x1c1e07['enc'];_0x51e6e4[_0x1a74b2(0x3e2)];var _0x2de8d8=_0x51e6e4[_0x1a74b2(0x1db)],_0x589ef5=_0x1c1e07[_0x1a74b2(0x445)],_0x43e619=_0x589ef5['EvpKDF'],_0x5acd21=_0x185020[_0x1a74b2(0x414)]=_0x1dedf7['extend']({'cfg':_0x262846[_0x1a74b2(0x1ab)](),'createEncryptor':function(_0xd7a8db,_0x479569){var _0xdc16d2=_0x1a74b2;return this['create'](this[_0xdc16d2(0x287)],_0xd7a8db,_0x479569);},'createDecryptor':function(_0x5afa82,_0x58b087){var _0x3add98=_0x1a74b2;return this['create'](this[_0x3add98(0x3a3)],_0x5afa82,_0x58b087);},'init':function(_0x45ef02,_0x7585a4,_0x5009ef){var _0x370240=_0x1a74b2;this[_0x370240(0x1b7)]=this[_0x370240(0x1b7)][_0x370240(0x1ab)](_0x5009ef),this[_0x370240(0x1ce)]=_0x45ef02,this[_0x370240(0x284)]=_0x7585a4,this['reset']();},'reset':function(){_0x1dedf7['reset']['call'](this),this['_doReset']();},'process':function(_0x81e782){var _0x52930f=_0x1a74b2;return this[_0x52930f(0x322)](_0x81e782),this['_process']();},'finalize':function(_0x5ea5b4){var _0x5c79da=_0x1a74b2;_0x5ea5b4&&this['_append'](_0x5ea5b4);var _0x1d4dda=this[_0x5c79da(0x39d)]();return _0x1d4dda;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5041c4(_0x3a29ff){var _0x483fa2=_0x1ac9;return typeof _0x3a29ff==_0x483fa2(0x31c)?_0x2a8163:_0x580096;}return function(_0x526924){return{'encrypt':function(_0xf64e8e,_0x49c6a9,_0x5dc999){var _0x2f2204=_0x1ac9;return _0x5041c4(_0x49c6a9)[_0x2f2204(0x354)](_0x526924,_0xf64e8e,_0x49c6a9,_0x5dc999);},'decrypt':function(_0x3b612d,_0x393849,_0x1338d2){var _0x4361ff=_0x1ac9;return _0x5041c4(_0x393849)[_0x4361ff(0x484)](_0x526924,_0x3b612d,_0x393849,_0x1338d2);}};};}())});_0x185020[_0x1a74b2(0x48c)]=_0x5acd21[_0x1a74b2(0x1ab)]({'_doFinalize':function(){var _0x2d1b2c=_0x1a74b2,_0x1c9958=this[_0x2d1b2c(0x1e9)](!0x0);return _0x1c9958;},'blockSize':0x1});var _0x2ac829=_0x1c1e07['mode']={},_0x5d64ac=_0x185020[_0x1a74b2(0x499)]=_0x262846[_0x1a74b2(0x1ab)]({'createEncryptor':function(_0x50523d,_0x383432){var _0x383bc9=_0x1a74b2;return this['Encryptor'][_0x383bc9(0x330)](_0x50523d,_0x383432);},'createDecryptor':function(_0x351dfa,_0x3a82ef){var _0xadcff9=_0x1a74b2;return this[_0xadcff9(0x164)]['create'](_0x351dfa,_0x3a82ef);},'init':function(_0x8a3183,_0x5358f2){var _0x5a4b39=_0x1a74b2;this[_0x5a4b39(0x326)]=_0x8a3183,this[_0x5a4b39(0x182)]=_0x5358f2;}}),_0x1f3970=_0x2ac829[_0x1a74b2(0x145)]=(function(){var _0xe4f32b=_0x1a74b2,_0x37193a=_0x5d64ac[_0xe4f32b(0x1ab)]();_0x37193a[_0xe4f32b(0x2c1)]=_0x37193a[_0xe4f32b(0x1ab)]({'processBlock':function(_0x2de675,_0x37776c){var _0x2f42b4=_0xe4f32b,_0x45a7a7=this[_0x2f42b4(0x326)],_0x11bdbe=_0x45a7a7[_0x2f42b4(0x369)];_0x185820['call'](this,_0x2de675,_0x37776c,_0x11bdbe),_0x45a7a7[_0x2f42b4(0x2f4)](_0x2de675,_0x37776c),this[_0x2f42b4(0x22b)]=_0x2de675[_0x2f42b4(0x3c2)](_0x37776c,_0x37776c+_0x11bdbe);}}),_0x37193a[_0xe4f32b(0x164)]=_0x37193a[_0xe4f32b(0x1ab)]({'processBlock':function(_0x40e00e,_0x5271f7){var _0x35fec0=_0xe4f32b,_0x5edc27=this[_0x35fec0(0x326)],_0x12dff7=_0x5edc27[_0x35fec0(0x369)],_0x41d4ff=_0x40e00e[_0x35fec0(0x3c2)](_0x5271f7,_0x5271f7+_0x12dff7);_0x5edc27[_0x35fec0(0x1de)](_0x40e00e,_0x5271f7),_0x185820[_0x35fec0(0x496)](this,_0x40e00e,_0x5271f7,_0x12dff7),this[_0x35fec0(0x22b)]=_0x41d4ff;}});function _0x185820(_0x5a1275,_0x3a2d1f,_0x513869){var _0x3be5a5=_0xe4f32b,_0x43bf91,_0x4b7d92=this[_0x3be5a5(0x182)];_0x4b7d92?(_0x43bf91=_0x4b7d92,this[_0x3be5a5(0x182)]=_0x1e3095):_0x43bf91=this[_0x3be5a5(0x22b)];for(var _0x66335f=0x0;_0x66335f<_0x513869;_0x66335f++)_0x5a1275[_0x3a2d1f+_0x66335f]^=_0x43bf91[_0x66335f];}return _0x37193a;}()),_0x2902ac=_0x1c1e07[_0x1a74b2(0x2a1)]={},_0x261a1b=_0x2902ac[_0x1a74b2(0x2c3)]={'pad':function(_0x125f5e,_0x43e38){var _0x5329bd=_0x1a74b2;for(var _0x3be3af=_0x43e38*0x4,_0x2bf84a=_0x3be3af-_0x125f5e['sigBytes']%_0x3be3af,_0x5a99b4=_0x2bf84a<<0x18|_0x2bf84a<<0x10|_0x2bf84a<<0x8|_0x2bf84a,_0x26a324=[],_0x323435=0x0;_0x323435<_0x2bf84a;_0x323435+=0x4)_0x26a324[_0x5329bd(0x37c)](_0x5a99b4);var _0x44b083=_0x5c3cb4['create'](_0x26a324,_0x2bf84a);_0x125f5e[_0x5329bd(0x41e)](_0x44b083);},'unpad':function(_0x20ba86){var _0x40b4bf=_0x1a74b2,_0x2d273a=_0x20ba86[_0x40b4bf(0x39b)][_0x20ba86[_0x40b4bf(0x2ab)]-0x1>>>0x2]&0xff;_0x20ba86['sigBytes']-=_0x2d273a;}};_0x185020['BlockCipher']=_0x5acd21[_0x1a74b2(0x1ab)]({'cfg':_0x5acd21[_0x1a74b2(0x1b7)]['extend']({'mode':_0x1f3970,'padding':_0x261a1b}),'reset':function(){var _0x12c77a=_0x1a74b2,_0x4ca71f;_0x5acd21[_0x12c77a(0x1f4)][_0x12c77a(0x496)](this);var _0x4d7574=this[_0x12c77a(0x1b7)],_0x4a6436=_0x4d7574['iv'],_0x37e772=_0x4d7574[_0x12c77a(0x3fd)];this[_0x12c77a(0x1ce)]==this[_0x12c77a(0x287)]?_0x4ca71f=_0x37e772['createEncryptor']:(_0x4ca71f=_0x37e772[_0x12c77a(0x353)],this[_0x12c77a(0x1d4)]=0x1),this[_0x12c77a(0x1fb)]&&this[_0x12c77a(0x1fb)][_0x12c77a(0x341)]==_0x4ca71f?this[_0x12c77a(0x1fb)]['init'](this,_0x4a6436&&_0x4a6436[_0x12c77a(0x39b)]):(this[_0x12c77a(0x1fb)]=_0x4ca71f['call'](_0x37e772,this,_0x4a6436&&_0x4a6436[_0x12c77a(0x39b)]),this[_0x12c77a(0x1fb)][_0x12c77a(0x341)]=_0x4ca71f);},'_doProcessBlock':function(_0x10ce99,_0x140bfc){var _0x5c7563=_0x1a74b2;this[_0x5c7563(0x1fb)]['processBlock'](_0x10ce99,_0x140bfc);},'_doFinalize':function(){var _0x4fbd54=_0x1a74b2,_0x526dc9,_0x4d906b=this['cfg']['padding'];return this[_0x4fbd54(0x1ce)]==this[_0x4fbd54(0x287)]?(_0x4d906b[_0x4fbd54(0x2a1)](this[_0x4fbd54(0x2b8)],this[_0x4fbd54(0x369)]),_0x526dc9=this[_0x4fbd54(0x1e9)](!0x0)):(_0x526dc9=this[_0x4fbd54(0x1e9)](!0x0),_0x4d906b['unpad'](_0x526dc9)),_0x526dc9;},'blockSize':0x80/0x20});var _0x21c86f=_0x185020[_0x1a74b2(0x33e)]=_0x262846[_0x1a74b2(0x1ab)]({'init':function(_0x55b238){this['mixIn'](_0x55b238);},'toString':function(_0x263568){var _0x463baa=_0x1a74b2;return(_0x263568||this[_0x463baa(0x41c)])[_0x463baa(0x204)](this);}}),_0xd5a5cd=_0x1c1e07['format']={},_0x57a76c=_0xd5a5cd[_0x1a74b2(0x19a)]={'stringify':function(_0x344e44){var _0x5533ae=_0x1a74b2,_0x201d54,_0x4b41e1=_0x344e44[_0x5533ae(0x38f)],_0x3d46cf=_0x344e44[_0x5533ae(0x277)];return _0x3d46cf?_0x201d54=_0x5c3cb4[_0x5533ae(0x330)]([0x53616c74,0x65645f5f])[_0x5533ae(0x41e)](_0x3d46cf)['concat'](_0x4b41e1):_0x201d54=_0x4b41e1,_0x201d54[_0x5533ae(0x174)](_0x2de8d8);},'parse':function(_0x5e72e4){var _0xc4f7cd=_0x1a74b2,_0x165796,_0x1cf539=_0x2de8d8['parse'](_0x5e72e4),_0x8eaa3=_0x1cf539[_0xc4f7cd(0x39b)];return _0x8eaa3[0x0]==0x53616c74&&_0x8eaa3[0x1]==0x65645f5f&&(_0x165796=_0x5c3cb4[_0xc4f7cd(0x330)](_0x8eaa3[_0xc4f7cd(0x3c2)](0x2,0x4)),_0x8eaa3[_0xc4f7cd(0x1f8)](0x0,0x4),_0x1cf539['sigBytes']-=0x10),_0x21c86f[_0xc4f7cd(0x330)]({'ciphertext':_0x1cf539,'salt':_0x165796});}},_0x580096=_0x185020['SerializableCipher']=_0x262846[_0x1a74b2(0x1ab)]({'cfg':_0x262846[_0x1a74b2(0x1ab)]({'format':_0x57a76c}),'encrypt':function(_0x12d450,_0x43568c,_0x583346,_0x2fbe51){var _0x32573c=_0x1a74b2;_0x2fbe51=this[_0x32573c(0x1b7)][_0x32573c(0x1ab)](_0x2fbe51);var _0x4b9434=_0x12d450[_0x32573c(0x1aa)](_0x583346,_0x2fbe51),_0x4dcf49=_0x4b9434['finalize'](_0x43568c),_0x970c17=_0x4b9434[_0x32573c(0x1b7)];return _0x21c86f[_0x32573c(0x330)]({'ciphertext':_0x4dcf49,'key':_0x583346,'iv':_0x970c17['iv'],'algorithm':_0x12d450,'mode':_0x970c17['mode'],'padding':_0x970c17[_0x32573c(0x380)],'blockSize':_0x12d450[_0x32573c(0x369)],'formatter':_0x2fbe51[_0x32573c(0x40b)]});},'decrypt':function(_0x731ba0,_0x430c2a,_0x5defae,_0x215901){var _0xffb06d=_0x1a74b2;_0x215901=this[_0xffb06d(0x1b7)][_0xffb06d(0x1ab)](_0x215901),_0x430c2a=this[_0xffb06d(0x23e)](_0x430c2a,_0x215901[_0xffb06d(0x40b)]);var _0xabe560=_0x731ba0[_0xffb06d(0x353)](_0x5defae,_0x215901)[_0xffb06d(0x3f9)](_0x430c2a[_0xffb06d(0x38f)]);return _0xabe560;},'_parse':function(_0x5641a7,_0x293cb4){var _0x517952=_0x1a74b2;return typeof _0x5641a7==_0x517952(0x31c)?_0x293cb4['parse'](_0x5641a7,this):_0x5641a7;}}),_0x2868ca=_0x1c1e07['kdf']={},_0x984f69=_0x2868ca[_0x1a74b2(0x19a)]={'execute':function(_0xfc75c0,_0x492985,_0xc3a66e,_0x2cb53b,_0x2f938a){var _0x3ef3c1=_0x1a74b2;if(_0x2cb53b||(_0x2cb53b=_0x5c3cb4[_0x3ef3c1(0x3a2)](0x40/0x8)),_0x2f938a)var _0xfbfe29=_0x43e619[_0x3ef3c1(0x330)]({'keySize':_0x492985+_0xc3a66e,'hasher':_0x2f938a})[_0x3ef3c1(0x296)](_0xfc75c0,_0x2cb53b);else var _0xfbfe29=_0x43e619['create']({'keySize':_0x492985+_0xc3a66e})[_0x3ef3c1(0x296)](_0xfc75c0,_0x2cb53b);var _0x536e49=_0x5c3cb4[_0x3ef3c1(0x330)](_0xfbfe29[_0x3ef3c1(0x39b)][_0x3ef3c1(0x3c2)](_0x492985),_0xc3a66e*0x4);return _0xfbfe29[_0x3ef3c1(0x2ab)]=_0x492985*0x4,_0x21c86f['create']({'key':_0xfbfe29,'iv':_0x536e49,'salt':_0x2cb53b});}},_0x2a8163=_0x185020['PasswordBasedCipher']=_0x580096[_0x1a74b2(0x1ab)]({'cfg':_0x580096[_0x1a74b2(0x1b7)][_0x1a74b2(0x1ab)]({'kdf':_0x984f69}),'encrypt':function(_0x2c0236,_0x445afa,_0x1a8717,_0x4bf0ae){var _0x558e5f=_0x1a74b2;_0x4bf0ae=this[_0x558e5f(0x1b7)]['extend'](_0x4bf0ae);var _0x151151=_0x4bf0ae[_0x558e5f(0x42e)][_0x558e5f(0x213)](_0x1a8717,_0x2c0236[_0x558e5f(0x212)],_0x2c0236[_0x558e5f(0x349)],_0x4bf0ae[_0x558e5f(0x277)],_0x4bf0ae[_0x558e5f(0x473)]);_0x4bf0ae['iv']=_0x151151['iv'];var _0x3db01f=_0x580096['encrypt'][_0x558e5f(0x496)](this,_0x2c0236,_0x445afa,_0x151151[_0x558e5f(0x221)],_0x4bf0ae);return _0x3db01f['mixIn'](_0x151151),_0x3db01f;},'decrypt':function(_0x3df76e,_0x175468,_0x4ba1b2,_0x4534e0){var _0x2182bc=_0x1a74b2;_0x4534e0=this[_0x2182bc(0x1b7)]['extend'](_0x4534e0),_0x175468=this[_0x2182bc(0x23e)](_0x175468,_0x4534e0['format']);var _0x5f086a=_0x4534e0[_0x2182bc(0x42e)][_0x2182bc(0x213)](_0x4ba1b2,_0x3df76e[_0x2182bc(0x212)],_0x3df76e['ivSize'],_0x175468[_0x2182bc(0x277)],_0x4534e0[_0x2182bc(0x473)]);_0x4534e0['iv']=_0x5f086a['iv'];var _0x1db660=_0x580096[_0x2182bc(0x484)]['call'](this,_0x3df76e,_0x175468,_0x5f086a[_0x2182bc(0x221)],_0x4534e0);return _0x1db660;}});}();}));}(Te)),Te[_0x5dfe40(0x233)];}var ri=Se['exports'],ot;function si(){var _0x2c63d2=_0xd593d2;return ot||(ot=0x1,function(_0x4cd3d3,_0x59e5c9){(function(_0x253567,_0x179ab4,_0x645b9){var _0x3a117f=_0x1ac9;_0x4cd3d3[_0x3a117f(0x233)]=_0x179ab4(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x1f5047){return(function(){var _0x5ca7e6=_0x1ac9,_0x478944=_0x1f5047,_0x1973e3=_0x478944[_0x5ca7e6(0x2e1)],_0x371370=_0x1973e3[_0x5ca7e6(0x33d)],_0x4dd8a5=_0x478944['algo'],_0x52398d=[],_0x379e65=[],_0x2602ed=[],_0x3e0067=[],_0x41aec2=[],_0x2f8224=[],_0x56bd48=[],_0x32c201=[],_0x353e40=[],_0x2cfb38=[];(function(){for(var _0x4f7cef=[],_0x2c1293=0x0;_0x2c1293<0x100;_0x2c1293++)_0x2c1293<0x80?_0x4f7cef[_0x2c1293]=_0x2c1293<<0x1:_0x4f7cef[_0x2c1293]=_0x2c1293<<0x1^0x11b;for(var _0x10ba51=0x0,_0x13084b=0x0,_0x2c1293=0x0;_0x2c1293<0x100;_0x2c1293++){var _0x6cfc9b=_0x13084b^_0x13084b<<0x1^_0x13084b<<0x2^_0x13084b<<0x3^_0x13084b<<0x4;_0x6cfc9b=_0x6cfc9b>>>0x8^_0x6cfc9b&0xff^0x63,_0x52398d[_0x10ba51]=_0x6cfc9b,_0x379e65[_0x6cfc9b]=_0x10ba51;var _0x17a46d=_0x4f7cef[_0x10ba51],_0x38513f=_0x4f7cef[_0x17a46d],_0x573075=_0x4f7cef[_0x38513f],_0x5227d2=_0x4f7cef[_0x6cfc9b]*0x101^_0x6cfc9b*0x1010100;_0x2602ed[_0x10ba51]=_0x5227d2<<0x18|_0x5227d2>>>0x8,_0x3e0067[_0x10ba51]=_0x5227d2<<0x10|_0x5227d2>>>0x10,_0x41aec2[_0x10ba51]=_0x5227d2<<0x8|_0x5227d2>>>0x18,_0x2f8224[_0x10ba51]=_0x5227d2;var _0x5227d2=_0x573075*0x1010101^_0x38513f*0x10001^_0x17a46d*0x101^_0x10ba51*0x1010100;_0x56bd48[_0x6cfc9b]=_0x5227d2<<0x18|_0x5227d2>>>0x8,_0x32c201[_0x6cfc9b]=_0x5227d2<<0x10|_0x5227d2>>>0x10,_0x353e40[_0x6cfc9b]=_0x5227d2<<0x8|_0x5227d2>>>0x18,_0x2cfb38[_0x6cfc9b]=_0x5227d2,_0x10ba51?(_0x10ba51=_0x17a46d^_0x4f7cef[_0x4f7cef[_0x4f7cef[_0x573075^_0x17a46d]]],_0x13084b^=_0x4f7cef[_0x4f7cef[_0x13084b]]):_0x10ba51=_0x13084b=0x1;}}());var _0x54c97d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x107ad1=_0x4dd8a5[_0x5ca7e6(0x1bf)]=_0x371370[_0x5ca7e6(0x1ab)]({'_doReset':function(){var _0x1c251d=_0x5ca7e6,_0x24248f;if(!(this[_0x1c251d(0x1f6)]&&this['_keyPriorReset']===this[_0x1c251d(0x284)])){for(var _0x502273=this['_keyPriorReset']=this['_key'],_0x152d78=_0x502273[_0x1c251d(0x39b)],_0x201560=_0x502273[_0x1c251d(0x2ab)]/0x4,_0x385750=this[_0x1c251d(0x1f6)]=_0x201560+0x6,_0x268b15=(_0x385750+0x1)*0x4,_0x31a5fe=this['_keySchedule']=[],_0x147b79=0x0;_0x147b79<_0x268b15;_0x147b79++)_0x147b79<_0x201560?_0x31a5fe[_0x147b79]=_0x152d78[_0x147b79]:(_0x24248f=_0x31a5fe[_0x147b79-0x1],_0x147b79%_0x201560?_0x201560>0x6&&_0x147b79%_0x201560==0x4&&(_0x24248f=_0x52398d[_0x24248f>>>0x18]<<0x18|_0x52398d[_0x24248f>>>0x10&0xff]<<0x10|_0x52398d[_0x24248f>>>0x8&0xff]<<0x8|_0x52398d[_0x24248f&0xff]):(_0x24248f=_0x24248f<<0x8|_0x24248f>>>0x18,_0x24248f=_0x52398d[_0x24248f>>>0x18]<<0x18|_0x52398d[_0x24248f>>>0x10&0xff]<<0x10|_0x52398d[_0x24248f>>>0x8&0xff]<<0x8|_0x52398d[_0x24248f&0xff],_0x24248f^=_0x54c97d[_0x147b79/_0x201560|0x0]<<0x18),_0x31a5fe[_0x147b79]=_0x31a5fe[_0x147b79-_0x201560]^_0x24248f);for(var _0x2e166c=this[_0x1c251d(0x29f)]=[],_0x54e983=0x0;_0x54e983<_0x268b15;_0x54e983++){var _0x147b79=_0x268b15-_0x54e983;if(_0x54e983%0x4)var _0x24248f=_0x31a5fe[_0x147b79];else var _0x24248f=_0x31a5fe[_0x147b79-0x4];_0x54e983<0x4||_0x147b79<=0x4?_0x2e166c[_0x54e983]=_0x24248f:_0x2e166c[_0x54e983]=_0x56bd48[_0x52398d[_0x24248f>>>0x18]]^_0x32c201[_0x52398d[_0x24248f>>>0x10&0xff]]^_0x353e40[_0x52398d[_0x24248f>>>0x8&0xff]]^_0x2cfb38[_0x52398d[_0x24248f&0xff]];}}},'encryptBlock':function(_0x442a11,_0x212fb9){var _0x6739e3=_0x5ca7e6;this[_0x6739e3(0x235)](_0x442a11,_0x212fb9,this[_0x6739e3(0x27f)],_0x2602ed,_0x3e0067,_0x41aec2,_0x2f8224,_0x52398d);},'decryptBlock':function(_0xbfa5ea,_0x223c53){var _0xb6bc1a=_0x5ca7e6,_0x24ec0d=_0xbfa5ea[_0x223c53+0x1];_0xbfa5ea[_0x223c53+0x1]=_0xbfa5ea[_0x223c53+0x3],_0xbfa5ea[_0x223c53+0x3]=_0x24ec0d,this['_doCryptBlock'](_0xbfa5ea,_0x223c53,this[_0xb6bc1a(0x29f)],_0x56bd48,_0x32c201,_0x353e40,_0x2cfb38,_0x379e65);var _0x24ec0d=_0xbfa5ea[_0x223c53+0x1];_0xbfa5ea[_0x223c53+0x1]=_0xbfa5ea[_0x223c53+0x3],_0xbfa5ea[_0x223c53+0x3]=_0x24ec0d;},'_doCryptBlock':function(_0x55aaf6,_0x2e0da4,_0x3ae2d9,_0x2129c9,_0x25937e,_0x4f7bdf,_0xd5e0e8,_0x50cd44){var _0xbd3ce2=_0x5ca7e6;for(var _0x5cd24f=this[_0xbd3ce2(0x1f6)],_0x567f2b=_0x55aaf6[_0x2e0da4]^_0x3ae2d9[0x0],_0x3c166f=_0x55aaf6[_0x2e0da4+0x1]^_0x3ae2d9[0x1],_0x349879=_0x55aaf6[_0x2e0da4+0x2]^_0x3ae2d9[0x2],_0x53889e=_0x55aaf6[_0x2e0da4+0x3]^_0x3ae2d9[0x3],_0x23f533=0x4,_0xddd35d=0x1;_0xddd35d<_0x5cd24f;_0xddd35d++){var _0x3d5ef0=_0x2129c9[_0x567f2b>>>0x18]^_0x25937e[_0x3c166f>>>0x10&0xff]^_0x4f7bdf[_0x349879>>>0x8&0xff]^_0xd5e0e8[_0x53889e&0xff]^_0x3ae2d9[_0x23f533++],_0x59cbb2=_0x2129c9[_0x3c166f>>>0x18]^_0x25937e[_0x349879>>>0x10&0xff]^_0x4f7bdf[_0x53889e>>>0x8&0xff]^_0xd5e0e8[_0x567f2b&0xff]^_0x3ae2d9[_0x23f533++],_0x13e829=_0x2129c9[_0x349879>>>0x18]^_0x25937e[_0x53889e>>>0x10&0xff]^_0x4f7bdf[_0x567f2b>>>0x8&0xff]^_0xd5e0e8[_0x3c166f&0xff]^_0x3ae2d9[_0x23f533++],_0x2f9ded=_0x2129c9[_0x53889e>>>0x18]^_0x25937e[_0x567f2b>>>0x10&0xff]^_0x4f7bdf[_0x3c166f>>>0x8&0xff]^_0xd5e0e8[_0x349879&0xff]^_0x3ae2d9[_0x23f533++];_0x567f2b=_0x3d5ef0,_0x3c166f=_0x59cbb2,_0x349879=_0x13e829,_0x53889e=_0x2f9ded;}var _0x3d5ef0=(_0x50cd44[_0x567f2b>>>0x18]<<0x18|_0x50cd44[_0x3c166f>>>0x10&0xff]<<0x10|_0x50cd44[_0x349879>>>0x8&0xff]<<0x8|_0x50cd44[_0x53889e&0xff])^_0x3ae2d9[_0x23f533++],_0x59cbb2=(_0x50cd44[_0x3c166f>>>0x18]<<0x18|_0x50cd44[_0x349879>>>0x10&0xff]<<0x10|_0x50cd44[_0x53889e>>>0x8&0xff]<<0x8|_0x50cd44[_0x567f2b&0xff])^_0x3ae2d9[_0x23f533++],_0x13e829=(_0x50cd44[_0x349879>>>0x18]<<0x18|_0x50cd44[_0x53889e>>>0x10&0xff]<<0x10|_0x50cd44[_0x567f2b>>>0x8&0xff]<<0x8|_0x50cd44[_0x3c166f&0xff])^_0x3ae2d9[_0x23f533++],_0x2f9ded=(_0x50cd44[_0x53889e>>>0x18]<<0x18|_0x50cd44[_0x567f2b>>>0x10&0xff]<<0x10|_0x50cd44[_0x3c166f>>>0x8&0xff]<<0x8|_0x50cd44[_0x349879&0xff])^_0x3ae2d9[_0x23f533++];_0x55aaf6[_0x2e0da4]=_0x3d5ef0,_0x55aaf6[_0x2e0da4+0x1]=_0x59cbb2,_0x55aaf6[_0x2e0da4+0x2]=_0x13e829,_0x55aaf6[_0x2e0da4+0x3]=_0x2f9ded;},'keySize':0x100/0x20});_0x478944[_0x5ca7e6(0x1bf)]=_0x371370['_createHelper'](_0x107ad1);}()),_0x1f5047['AES'];}));}(Se)),Se[_0x2c63d2(0x233)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0xd593d2(0x233)],ct;function li(){var _0x121533=_0xd593d2;return ct||(ct=0x1,function(_0x5a72c2,_0x2455bb){(function(_0x1aff92,_0x57bd15){_0x5a72c2['exports']=_0x57bd15(ee());}(hi,function(_0x56a6b2){var _0xc527a9=_0x1ac9;return _0x56a6b2[_0xc527a9(0x1cf)][_0xc527a9(0x3e2)];}));}(be)),be[_0x121533(0x233)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0xd593d2(0x233)],ht;function vi(){return ht||(ht=0x1,function(_0x8b19b7,_0x4195ef){(function(_0x58f43f,_0x3ce276){var _0x58f990=_0x1ac9;_0x8b19b7[_0x58f990(0x233)]=_0x3ce276(ee());}(di,function(_0x1a5deb){var _0x1b6bfd=_0x1ac9;return(function(){var _0xe93b44=_0x1ac9;if(typeof ArrayBuffer=='function'){var _0x1dde49=_0x1a5deb,_0xa4e8aa=_0x1dde49['lib'],_0x33c617=_0xa4e8aa[_0xe93b44(0x362)],_0x3f779b=_0x33c617[_0xe93b44(0x166)],_0x34934a=_0x33c617[_0xe93b44(0x166)]=function(_0x26c69e){var _0x1b9306=_0xe93b44;if(_0x26c69e instanceof ArrayBuffer&&(_0x26c69e=new Uint8Array(_0x26c69e)),(_0x26c69e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26c69e instanceof Uint8ClampedArray||_0x26c69e instanceof Int16Array||_0x26c69e instanceof Uint16Array||_0x26c69e instanceof Int32Array||_0x26c69e instanceof Uint32Array||_0x26c69e instanceof Float32Array||_0x26c69e instanceof Float64Array)&&(_0x26c69e=new Uint8Array(_0x26c69e[_0x1b9306(0x357)],_0x26c69e['byteOffset'],_0x26c69e['byteLength'])),_0x26c69e instanceof Uint8Array){for(var _0x658dd9=_0x26c69e['byteLength'],_0x35abea=[],_0x5e9c8e=0x0;_0x5e9c8e<_0x658dd9;_0x5e9c8e++)_0x35abea[_0x5e9c8e>>>0x2]|=_0x26c69e[_0x5e9c8e]<<0x18-_0x5e9c8e%0x4*0x8;_0x3f779b[_0x1b9306(0x496)](this,_0x35abea,_0x658dd9);}else _0x3f779b['apply'](this,arguments);};_0x34934a[_0xe93b44(0x304)]=_0x33c617;}}()),_0x1a5deb[_0x1b6bfd(0x2e1)]['WordArray'];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0xd593d2(0x233)],lt;function mi(){var _0x4571ef=_0xd593d2;return lt||(lt=0x1,function(_0xdc2856,_0x54e1e2){(function(_0x9895c0,_0x5812bb,_0x221f2f){_0xdc2856['exports']=_0x5812bb(ee(),At());}(pi,function(_0xf4b0a){var _0x112d4c=_0x1ac9;return _0xf4b0a[_0x112d4c(0x2a1)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xf4b0a['pad'][_0x112d4c(0x265)];}));}(Oe)),Oe[_0x4571ef(0x233)];}var gi=mi();const Ii=fe(gi);function Ei(_0x96d629,_0x3126db){var _0x29237d=_0xd593d2;const _0x14e401=_0x3126db-_0x96d629[_0x29237d(0x311)]%_0x3126db,_0xa7e043=String[_0x29237d(0x49b)](_0x14e401)['repeat'](_0x14e401);return _0x96d629+_0xa7e043;}function Ci(_0x447001,_0x52482c){var _0x4f8001=_0xd593d2;const _0x2e1a7d=Si[_0x4f8001(0x3a2)](0x10),_0x491801=Ei(_0x447001,0x10),_0x14bc8f=ai[_0x4f8001(0x354)](ui['parse'](_0x491801),at['parse'](_0x52482c),{'iv':_0x2e1a7d,'padding':Ii});return _0x2e1a7d[_0x4f8001(0x41e)](_0x14bc8f['ciphertext'])['toString'](at);}function Ti(){var _0x5c301b=_0xd593d2;const _0x52fc48=$t['getGlobalObject']()[_0x5c301b(0x373)];if(_0x52fc48){const _0xeb7eb1={'time':Math[_0x5c301b(0x2bc)](Date[_0x5c301b(0x49a)]()/0x3e8),'domain':location[_0x5c301b(0x469)]};return Ci(JSON[_0x5c301b(0x204)](_0xeb7eb1),_0x52fc48);}}var bi=Object[_0xd593d2(0x301)],Ri=Object[_0xd593d2(0x2c8)],Oi=(_0x4e326c,_0x2ed2c8,_0x32afa3,_0x44bb28)=>{var _0x437e99=_0xd593d2;for(var _0x59dd90=_0x44bb28>0x1?void 0x0:_0x44bb28?Ri(_0x2ed2c8,_0x32afa3):_0x2ed2c8,_0x3acd80=_0x4e326c[_0x437e99(0x311)]-0x1,_0x29aad2;_0x3acd80>=0x0;_0x3acd80--)(_0x29aad2=_0x4e326c[_0x3acd80])&&(_0x59dd90=(_0x44bb28?_0x29aad2(_0x2ed2c8,_0x32afa3,_0x59dd90):_0x29aad2(_0x59dd90))||_0x59dd90);return _0x44bb28&&_0x59dd90&&bi(_0x2ed2c8,_0x32afa3,_0x59dd90),_0x59dd90;},yi=(_0x31b543,_0x4c1b7d)=>(_0x3a3e56,_0x3243f1)=>_0x4c1b7d(_0x3a3e56,_0x3243f1,_0x31b543);let Ne=class{constructor(_0x31a1b2){var _0x25f5d5=_0xd593d2;this['_httpService']=_0x31a1b2,this[_0x25f5d5(0x2c6)]();}[_0xd593d2(0x2c6)](){var _0x29b174=_0xd593d2;this[_0x29b174(0x436)][_0x29b174(0x288)]({'interceptor':(_0x4afd5b,_0x542eab)=>{var _0x15e356=_0x29b174;const _0x51fc23=_0x4afd5b[_0x15e356(0x149)],_0x26c856=Ti();return _0x26c856&&_0x51fc23[_0x15e356(0x1e6)](_0x15e356(0x165),_0x26c856),_0x542eab(_0x4afd5b);}});}};Ne=Oi([yi(0x0,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)]))],Ne);function _0x7201(){var _0x5c662b=['IUniverInstanceService','_snapshotServerService','_onUserJoin','kdf','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot/','UnitSnapshot','shouldCloseConn','href','roomInfos','SEND_CHANGESET_TIMEOUT_KEY','_httpService','onRemoteChangeset','parse','Disposable','_undoRedoService','1090128teeAwb','interceptor','getTypeOfUnitDisposed$','synced','_transformIMECache','forEach','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','offline','_transformSelections','DisposableCollection','algo','CollaborationController','[CollaborationSession]','objectActions','ONLINE','body','location','result','/object/','onTransformIME','_socketMessageSubscription','getRandomValues','values','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onLocalMutation','ICollaborationSocketService','CHANGESET_SHOULD_RETRY','$super','infoRsp','sessionTicket','findIndex','_joinRoom','_unitID','_rescheduleHeartbeat','deserializeToCombResponse','MentionIoHttpService','{fileID}','FetchingMissState','awaiting_with_pending','image/png','55uZQxkH','_sendHeartbeat','error$','transformChangesets','TOO_MANY_REQUESTS','Malformed\x20UTF-8\x20data','hostname','append','close$','_telemetryInfo','search','USERS_ENTER','_emitMembers','Base','335570oqIdqJ','/collaborator','hasher','csRejEvent','merge','_roomCreated$','_createInitialStateImpl','Univer','charAt','SUCCUSS','_stopTelemetryCollaborationNewChangeset','/block/','NOT_FOUND','origin','CollaborationUIEventId','liveShareNewHost','_hash','charCodeAt','serializeCombRequest','decrypt','b64DecodeUnicode','\x20-\x20','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IContextService','randomUUID','deepClone','_map','StreamCipher','startsWith','_getAPIPrefix','unitInfo$','firstValueFrom','onTransformState','onStateChange','SnapshotServerOverHTTPService','snapshot','getUnitType','call','symbol','LICENSE_MAX_UNITS_EXCEEDED','BlockCipherMode','now','fromCharCode','OfflineState','?size=','image/bmp','[CollaborationSessionService]','SessionStatus','close','Subject','appendMutation','collaborators','saveChangeset','DocCollaborationEntity','SNAPSHOT_SERVER_URL_KEY','readInt32LE','_isPermissionRej','_substituteUndoStack','textRanges','getTime','[CollaborationEntity]','getActiveSheet','getCollabEntity','[OfflineState]:\x20received\x20acknowledgement.','data','3922310mjjSKJ','removeMember','InsertSheetMutation','isArray','OTHER_CLIENTS_EDITING','SheetTransformSelectionsService','capture','sheets','_transitionLocked','UUID','CBC','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','type','UNIVER_DOC','headers','change$','POST','ISnapshotServerService','not_collab','AuthzIoHttpService','_roomMembers','_initCloseConn','UNKNOWN_CMD','_compressMutationService','Module','generateRandomId','signUrlServerUrl','MUTATION','COMPLETION_FINISHED','sin','m2Prime','memberID','JOINING','_entities','SNAPSHOT_HAS_BEEN_REMOVED','_schedule','submit\x20changeset\x20error!','_onRemoteChangeset','_collaborationPaused','/universer-api/oidc/authpage','LICENSE_DISTRO_REJECTED','Decryptor','x-univer-host','init','PERMISSION_REJ','OTHER_CLIENT_EDITING','CollaborativeUndoRedoService','_change$','resourceIDs','_doProcessBlock','_updateState','transformSelections','next','fetch_missing','leaveEvent','_HTTPService','onCommentUpdate','toString','_configService','MD5','min','_injector','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','IImageIoService','_disableEditing','4WNdDNn','_type','RevisionService','session','_getSessionTicket','[PendingState]:\x20received\x20acknowledgement.','_iv','updateOfflineData','allowed','_transformStack','WorkbookEditablePermission','rxjs','495350bhALSH','COLLAB_SUBMIT_CHANGESET_URL','authzUrl','@univerjs/network','/-/object/-/batch_allowed','FileId','_resendWithTimeout','put','_getAPIPrefixPath','_revisionService','_onConflict','SHOULD_CLOSE_CONN','JOIN_ROOM_NOT_EXISTS','objectID','disposeWithMe','[OfflineState]:\x20received\x20changeset.','LEAVE','AwaitingWithPendingState','OpenSSL','updatePermissionPoint','listCollaborators','_timeoutTimer','UnitStatus','_clearScheduledTask','unsubscribe','LICENSE_EXPORT_SIZE_EXCEEDED','_undoStacks','_onMessage','asObservable','userID','mutations','IConfigService','AWAITING','hasOwnProperty','createEncryptor','extend','name','_memberService','_transformRemoteChangesetByIMECache','encode','roles','collabWebSocketUrl','LocaleService','_localeService','function','sessionStatus','localCacheService','cfg','resolve','open$','_loadSheet','loadSheet','UNIVER_UNKNOWN','selections','CLOSE_ROOM','AES','filter','_resendTimer','toLowerCase','_oKey','deleteCollaborator','_status$','_onRemoteRejected','commentUpdateEvent','[DataLoaderService]','_onRemoteACK','\x20to\x20','fetchThroughInterceptors','registerDependencies','message$','_xformMode','enc','_incrementRevisionNumber','CollaborationEntity','commentUpdate$','UNAUTHENTICATED','_minBufferSize','_syncEditingCollabCursor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','createCollaborator','routeKey','_onConnectionFailed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Base64','JOIN_ROOM_FULL','_networkConditionService','decryptBlock','_lockTransition','USERS_LEAVE','retryConnectingInterval','sessionStatus$','[CollaborationSessionService]:\x20socket\x20error','toStringTag','bind','set','csShouldRetryEvent','_onFetchMissResult','_process','CONFLICT','c2Prime','sid','LIVESHARE_FETCH_OPERATIONS','ReplaySubject','awaiting','SUBMIT_CHANGESET','MSG_FOR_ERROR','UniverCollaborationClientPlugin','JOIN_ROOM_FAILED','reset','INTERNAL_ERROR','_nRounds','_scheduleCollaborationTimeoutTimer','splice','unitID','patch','_mode','?url=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_replaceFileID','update','onRemoteAck','ceil','randomBytes','SetSelectionsOperation','stringify','isTransformMutationsWithChangesetFailure','_eventService','LOCAL_CACHE_INTERVAL_KEY','univer-pro.collaboration-client.single-active-unit-service','updateMember','_showConflictNotification','_sender','concatMap','BufferedBlockAlgorithm','loginUrlKey','isInternalEditorID','send','_clearCollaborationTimeoutTimer','keySize','execute','ERROR_EXCEED_SIZE','list','getUnitId','max','Optional','getUnitStatus$','Hasher','fromCollab','pipe','UPDATE_CURSOR','/unit/','Undefined','requestParams','key','clear','duration','ITransformService','[SyncedState]:\x20received\x20acknowledgement.','isTransformChangesetsSuccess','rxjs/operators','Latin1','_socketService','newCsEvent','_prevBlock','enableSingleActiveInstanceLock','toggleOnline','_clearLocalCache','APPLY_DUPLICATED','onCommandExecuted','ICommandService','APPLY_NON_SEQUENTIAL_REVISION','exports','getDeserializedSheetBlock','_doCryptBlock','onMissedChangesetFetched','COLLAB_SUBMIT_CHANGESET_URL_KEY','unitId','entityInit$','socket\x20close','Inject','isTransformMutationsWithChangesetSuccess','IPermissionService','_parse','PendingState','session.room-full','_startTelemetryCollaborationNewChangeset','sendChangesetTimeout','_toggleOnline','COLLAB_WEB_SOCKET_URL','pluginName','resend','AUTHZ_URL_KEY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CollaborationSocketService','OFFLINE','_fetchMissChangesets','_sendHeartbeatTimer','onRemoteRetry','takeUntil','_applyRemoteChangeset','fetchMissingChangesets','requireSession','onlyLocal','size','c1Prime','_createHmacHelper','UniverInstanceType','dispose$','[CollaborationUndoRedoService]','workbook','IAuthzIoService','_candidateSocket','CHANGESET_REVISION_CONFILICT','_state$','_univerInstanceService','addImageSourceCache','msCrypto','/universer-api/stream/file/upload','MentionType','_localCacheService','_listenToNetworkCondition','NoPadding','COMMENT_UPDATE','closeSession','GLOBAL_ROOMS_CNT_EXCEEDS','liveShareOperation','CHANGESET_ACK','readAsDataURL','onTransformRemoteChangesetByIMECache','_sessionStatus$','putCollaborators','dispose','onTransformRemoteChangesetByStateCache','_state','_singleActiveUnitService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','HEARTBEAT_INTERVAL','2398596vNFkOb','rng','salt','ImageUploadStatusType','socket\x20open.','getCollabEntity$','ITelemetryService','title','getCurrentUser','fetching\x20missing\x20changesets\x20from\x20','_keySchedule','_remoteChangesetQueue','ConflictState','_scheduleCompleteTimestamp','@univerjs-pro/license','_key','SnapshotService','rev','_ENC_XFORM_MODE','registerHTTPInterceptor','SyncedState','createIdentifier','_commentService','BehaviorSubject','SUBMIT_CHANGESET_TIMEOUT','UNIVER_PROJECT','error','SOCKET_FAILED','members','APPLY_PERMISSION_DENIED','[OfflineState]:\x20received\x20rejection.','_entityInit$','CollaborationStatus','compute','INVALID_ARGUMENT','JOIN','/universer-api/user/session-ticket','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','updateCollaborator','_authzIoService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DataLoaderService','_invKeySchedule','RECV','pad','subject','_decreaseWaiting','_socketReady','conflict','LIVESHARE_OPERATION','toDisposable','eventID','fetchMiss','MergeInterceptorFactory','sigBytes','ILogService','Hex','cmd','has','[FetchMissState]','IDLE','join','listRoles','CONNECTOR_DATA_TOO_LARGE','reduce','RETRY_CONNECTING_MAX_COUNT_KEY','saveImage','_data','collaboration-client.local-cache-service','_imageSourceCache','ALREADY_EXISTS','floor','ThresholdInterceptorFactory','actions','_getSendChangesetTimeout','_clearHeartbeatTimer','Encryptor','_resendTimeout','Pkcs7','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commandService','_initRequestHeader','_members','getOwnPropertyDescriptor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNRECOGNIZED','PERSON','map','HttpImport','CollaborationSession','unitId\x20is\x20not\x20found','online$','onRemoteRej','image/gif','/universer-api/file/{fileID}/sign-url','24YPNDeR','[CollaborationState]:\x20apply\x20error!','connection\x20error','enableAuthServer','IUndoRedoService','_collabSessionService','_pendingMutations','_unitInfo$','baseRev','RxDisposable','CollaborationImageIoService','/allowed','_transformUndoredo','lib','disableLocalCache','_queuedRemoteChangesets','collaMsg','/rev/','_loadDoc','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getResourcesRequest','textEncoder','_replayCachedMutations','@univerjs/core','Could\x20not\x20dynamically\x20require\x20\x22','UniverNetworkPlugin','_getSignURL','ticket','\x20in\x20_schedule.','_createHandler','refreshPermission','_sessions','encryptBlock','_collaborationSessionService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_submitChangeset','3964869LWXKhz','_onRecvEvent','avatar','AwaitingState','ERROR_IMAGE','_commentUpdate$','loadOfflineData','getImageSourceCache','session.join-failed','defineProperty','startTime','_socket','prototype','UnitEmbedded','LIVESHARE_TERMINATE','SNAPSHOT_URL_KEY','revision','clone','_updateLocalCache','session.room-not-exists','SEND_CHANGESET_TIMEOUT','5508474FeWUXq','_acknowledgedAwaitingChangeset','collaboration_new_changeset','UserManagerService','length','onMissingChangesets','_updateStatus','_executeRemoteChangeset','catch','PERMISSION_DENIED','createSocket','_onLocalMutation','getTypeOfUnitAdded$','_initMergeInterceptor','&to=','string','_checkMissing','_substituteRedoStack','onTransformSelections','save\x20fail\x20reason\x20is\x20','_onOffline','_append','loadUnit','searchParams','YUUMI_URL_COL_OUT_OF_RANGE','_cipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SheetsSelectionsService','executeCommand','UniverCollaborationPlugin','_initUnitPermissionChange','getConfig','toggleOffline','_getRedoStack','HttpExport','create','complete','YUUMI_SUBSCRIPTION_NOT_FOUND','copyFileMeta','reject','_telemetryService','default','_tryEnsureSocket','[SyncedState]:\x20received\x20rejection.','LIVESHARE_NEW_HOST','CommentService','awaitingChangeset','state$','BlockCipher','CipherParams','_removeRoom','subUnitId','__creator','getMember','crypto','touchDependencies','getImage','_initDependencies','target','session.room-permission-denied','ivSize','objectType','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','NEW_CHANGESETS','getLocalCacheKey','add','JSONX','UNDEFINED','getRoom','_toggleOffline','createDecryptor','encrypt','setCurrentUser','unknown','buffer','_clearTimeoutTimer','_createHelper','_changesetSessionId','emitEvent','_throwTelemetryCollaborationNewChangeset','params','telemetry\x20info\x20is\x20not\x20initialized','\x0aAfter:\x20','_init','debug','WordArray','take','_exhaustRemoteChangesetQueue','_waitCount','createInstance','_waitForHeartbeatResponse','Workbook','blockSize','/universer-api/snapshot','COMPRESS_MUTATION_APPLY','RichTextEditingMutation','INGEST','[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.','UNIVER_SHEET','parseProtocolChangeset','HmacMD5','_handler','__Key__','getWorkbookSelections','YUUMI_RATE_OVER_LIMIT','CompressMutationService','COMPRESS_MUTATION_SEND','NO_OTHER_CLIENTS_EDITING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','EmptyMutation','_transformService','push','clamp','subscribe','event$','padding','_getLoginPath','_sendingTimer','_event$','UNKNOWN_CODE','delay','_startCollaboration','status$','/universer-api/comb','getInterceptPoints','collaboratorID','SheetCollaborationEntity','_sheetTransformSelectionsService','getCurrentSelections','ImageSourceType','ciphertext','_retryConnectingTimer','failed\x20to\x20apply\x20missed\x20changesets!','onStarting','_clearUndo','setShowComponents','_transformStateCache','onSyncEditingCollabCursor','_getUploadFileURL','_createSocketURL','withCredentials','_onJoinRoomEvent','words','getValue','_doFinalize','action','MemberService','_collaborationTimeoutTimer','responseType','random','_DEC_XFORM_MODE','isPermissionRej','_userManagerService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','code','_members$','FETCH_MISS','_getCurrentRevision','&source=','_handlerCallback','LIVESHARE_REQUEST_HOST','incrementRevOfUnit','setWaitCount','method','_getCtorByUniverType','readyForCollab','csAckEvent','APPLY_REJECT','updatePermissionObjEvent','getSnapshotAPIPath','PENDING','_socket$','SNAPSHOT_INVALID_SNAPSHOT','state','shareReplay','status','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','get','_collaborationUIEventService','FAIL','_unlockTransition','slice','HEARTBEAT','HEARTBEAT_TIMEOUT','CollaborationUIEventService','_transformRemoteChangesetByStateCache','_onCombEvent','includes','equals','transformStack\x20failed!','AWAITING_WITH_PENDING','/object','_createSocket','_tryReconnect','Injector','delete','transformUndoRedo','HTTPService','_nDataBytes','HMAC','Quantity','PY_RUNTIME_SCRIPT_ERROR','runId','25NqbLDi','_logService','/fetchmissing?from=','UNIVER_SLIDE','_shouldReportTelemetry','loadDoc','FETCH_MISSING','@univerjs-pro/collaboration','collaboration-client.config','getCurrentRevOfUnit','Utf8','_registerDependencies','SHA1','getSheetBlock','reqId','@univerjs/telemetry','reverse','every','_permissionService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','mapDocumentTypeToUniverType','HEARTBEAT_INTERVAL_KEY','4DNlsnq','_reverseMap','_onUserLeave','_snapshotService','changesets','post','_awaitingChangeset','range','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ILocalCacheService','UNISCRIPT_RUN','finalize','file','/-/object/list','NOT_COLLAB','mode','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','apply','_hasher','_changesetReqId','snapshotServerUrl','getMemberID','YUUMI_UNABLE_LOAD_URL','ENSURE_SNAPSHOT_EXECUTION','SYNCED','collabSubmitChangesetUrl','_retryCount','encodeURIComponent','PSEUDO_FETCH_MISSING_RESULT','format','HEARTBEAT_TIMEOUT_KEY','CollaborationEvent','UPDATE_PERMISSION_OBJ','Tools','_http','_doReset','APPLY_REVISION_CONFILICT','url','Cipher','abs','CHANGESET_REJ','LOGIN_URL_KEY','saveSnapshot','localeService','HELLO','onSendChangeset','formatter','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','transformMutationsWithChangeset','getSheetId','CommandType','_config','OPTIONAL','find','SOCKET_FAILED_RETRY','originalMeta','setConfig','CollaborationSessionService','LocalUndoRedoService','getFocusedUnit'];_0x7201=function(){return _0x5c662b;};return _0x7201();}var Ni=Object[_0xd593d2(0x301)],Ui=Object[_0xd593d2(0x2c8)],Pi=(_0x149d24,_0x4c9d5c,_0x41f8b9,_0x409be8)=>{var _0x1decfa=_0xd593d2;for(var _0x1b4757=_0x409be8>0x1?void 0x0:_0x409be8?Ui(_0x4c9d5c,_0x41f8b9):_0x4c9d5c,_0x39f084=_0x149d24[_0x1decfa(0x311)]-0x1,_0x4fca87;_0x39f084>=0x0;_0x39f084--)(_0x4fca87=_0x149d24[_0x39f084])&&(_0x1b4757=(_0x409be8?_0x4fca87(_0x4c9d5c,_0x41f8b9,_0x1b4757):_0x4fca87(_0x1b4757))||_0x1b4757);return _0x409be8&&_0x1b4757&&Ni(_0x4c9d5c,_0x41f8b9,_0x1b4757),_0x1b4757;},Me=(_0x392d10,_0x3224b2)=>(_0x37116a,_0x52b6de)=>_0x3224b2(_0x37116a,_0x52b6de,_0x392d10);exports[_0xd593d2(0x29e)]=class extends a[_0xd593d2(0x2dd)]{constructor(_0x2046f5,_0x168e5f,_0x48ff30){var _0x10206b=_0xd593d2;super(),D(this,_0x10206b(0x2db),new H['BehaviorSubject'](null)),D(this,_0x10206b(0x48f),this[_0x10206b(0x2db)][_0x10206b(0x1a4)]()),(this[_0x10206b(0x3d9)]=_0x2046f5,this['_snapshotService']=_0x168e5f,this[_0x10206b(0x263)]=_0x48ff30);}async[_0xd593d2(0x323)](_0x459f91,_0x3badd9,_0x1c879e){var _0x18361d=_0xd593d2;this[_0x18361d(0x2db)][_0x18361d(0x16f)]({'unitId':_0x459f91,'type':_0x3badd9,'subUnitId':_0x1c879e});let _0x138b31=null;switch(_0x3badd9){case Z[_0x18361d(0x36f)]:{_0x138b31=await this['_loadSheet'](_0x459f91);break;}case Z[_0x18361d(0x148)]:{_0x138b31=await this['_loadDoc'](_0x459f91);break;}default:{this[_0x18361d(0x3d9)][_0x18361d(0x28f)](_0x18361d(0x1c8),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x138b31;}async[_0xd593d2(0x1ba)](_0x2b70cb){var _0x4dbc1d=_0xd593d2,_0x1f129a;let _0x3f8eb1=0x0;const _0x53b8b=await((_0x1f129a=this[_0x4dbc1d(0x263)])==null?void 0x0:_0x1f129a[_0x4dbc1d(0x2fe)](_0x2b70cb));return _0x53b8b&&(_0x53b8b[_0x4dbc1d(0x33b)]||_0x53b8b[_0x4dbc1d(0x1a6)][_0x4dbc1d(0x311)]!==0x0)&&(_0x3f8eb1=_0x53b8b[_0x4dbc1d(0x286)]),_0x3f8eb1===0x0&&this[_0x4dbc1d(0x3d9)][_0x4dbc1d(0x361)](_0x4dbc1d(0x1c8),_0x4dbc1d(0x1da)),this[_0x4dbc1d(0x3f1)][_0x4dbc1d(0x1bb)](_0x2b70cb,_0x3f8eb1);}async[_0xd593d2(0x2e6)](_0x338589){var _0x9f7380=_0xd593d2,_0xc3c213;let _0x3446de=0x0;const _0xe0007e=await((_0xc3c213=this[_0x9f7380(0x263)])==null?void 0x0:_0xc3c213['loadOfflineData'](_0x338589));return _0xe0007e&&(_0xe0007e['awaitingChangeset']||_0xe0007e['mutations'][_0x9f7380(0x311)]!==0x0)&&(_0x3446de=_0xe0007e['rev']),_0x3446de===0x0&&this['_logService'][_0x9f7380(0x361)](_0x9f7380(0x1c8),_0x9f7380(0x1da)),this['_snapshotService'][_0x9f7380(0x3dd)](_0x338589,_0x3446de);}},exports[_0xd593d2(0x29e)]=Pi([Me(0x0,a['ILogService']),Me(0x1,a['Inject'](m[_0xd593d2(0x285)])),Me(0x2,a[_0xd593d2(0x218)](z))],exports['DataLoaderService']);var Di=Object[_0xd593d2(0x301)],wi=Object[_0xd593d2(0x2c8)],Ai=(_0x1568d8,_0x4ac056,_0x16f014,_0x1d8d55)=>{for(var _0x382575=_0x1d8d55>0x1?void 0x0:_0x1d8d55?wi(_0x4ac056,_0x16f014):_0x4ac056,_0x409e89=_0x1568d8['length']-0x1,_0x2d5671;_0x409e89>=0x0;_0x409e89--)(_0x2d5671=_0x1568d8[_0x409e89])&&(_0x382575=(_0x1d8d55?_0x2d5671(_0x4ac056,_0x16f014,_0x382575):_0x2d5671(_0x382575))||_0x382575);return _0x1d8d55&&_0x382575&&Di(_0x4ac056,_0x16f014,_0x382575),_0x382575;},xe=(_0xbf464a,_0x128f8b)=>(_0x217deb,_0x1edd44)=>_0x128f8b(_0x217deb,_0x1edd44,_0xbf464a);const Li=[_0xd593d2(0x462),'image/jpeg','image/jpg',_0xd593d2(0x2d2),_0xd593d2(0x49e)],Mi=0x5*0x400*0x400,xi='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ji=_0xd593d2(0x261),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0xd593d2(0x2d3);exports[_0xd593d2(0x2de)]=class{constructor(_0x368c9a,_0x1073c3,_0x4cd2ee){var _0xaf8a3f=_0xd593d2;D(this,_0xaf8a3f(0x365),0x0),D(this,_0xaf8a3f(0x16a),new H[(_0xaf8a3f(0x4a2))]()),D(this,_0xaf8a3f(0x14a),this[_0xaf8a3f(0x16a)]),D(this,_0xaf8a3f(0x2ba),new Map()),(this['_httpService']=_0x368c9a,this['_configService']=_0x1073c3,this[_0xaf8a3f(0x25e)]=_0x4cd2ee);}[_0xd593d2(0x3af)](_0x3fc4a6){var _0x46f0e8=_0xd593d2;this[_0x46f0e8(0x365)]=_0x3fc4a6,this[_0x46f0e8(0x16a)][_0x46f0e8(0x16f)](_0x3fc4a6);}[_0xd593d2(0x2ff)](_0x3ecd5c,_0x411f08){var _0x174501=_0xd593d2;if(_0x411f08===X[_0x174501(0x38e)]['BASE64']){const _0x52b475=new Image();return _0x52b475['src']=_0x3ecd5c,_0x52b475;}return this['_imageSourceCache'][_0x174501(0x3be)](_0x3ecd5c);}[_0xd593d2(0x25f)](_0x261b63,_0x11f31a,_0x3e5382){var _0x520b15=_0xd593d2;_0x11f31a===X[_0x520b15(0x38e)]['BASE64']||_0x3e5382==null||this[_0x520b15(0x2ba)]['set'](_0x261b63,_0x3e5382);}async[_0xd593d2(0x345)](_0x233079){var _0x4df223=_0xd593d2;try{const _0x57457d=this[_0x4df223(0x1fe)](this[_0x4df223(0x2ee)](),''+_0x233079),_0x599a28=(await this[_0x4df223(0x436)][_0x4df223(0x3be)](_0x57457d))[_0x4df223(0x44a)];if(_0x599a28[_0x4df223(0x28f)]&&_0x599a28[_0x4df223(0x28f)]['code']===Tt['OK']){const _0x57dc0a=new URL(_0x599a28[_0x4df223(0x413)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x4df223(0x1b8)](_0x57dc0a);}return Promise[_0x4df223(0x334)](_0x599a28['error']);}catch(_0x42407a){return Promise[_0x4df223(0x334)](_0x42407a);}}async[_0xd593d2(0x2b7)](_0x178f6d){var _0x130e2b=_0xd593d2;let _0x67ecd4='';if(!Li[_0x130e2b(0x3c8)](_0x178f6d[_0x130e2b(0x147)]))return this[_0x130e2b(0x2a3)](),Promise[_0x130e2b(0x334)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x178f6d[_0x130e2b(0x253)]>Mi)return this[_0x130e2b(0x2a3)](),Promise[_0x130e2b(0x334)](new Error(X['ImageUploadStatusType'][_0x130e2b(0x214)]));try{const _0x5eceaf=new FormData();_0x5eceaf[_0x130e2b(0x46a)](_0x130e2b(0x3fa),_0x178f6d);const _0x4c3b8a=this[_0x130e2b(0x25e)][_0x130e2b(0x42a)](),_0x1d8d08=_0x4c3b8a==null?void 0x0:_0x4c3b8a[_0x130e2b(0x216)]();if(!_0x1d8d08)throw new Error(_0x130e2b(0x2cf));const _0x36de42=this[_0x130e2b(0x397)]()+_0x130e2b(0x49d)+_0x178f6d[_0x130e2b(0x253)][_0x130e2b(0x174)]()+_0x130e2b(0x3ab)+bt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x1d8d08),_0x40ac64=await(await fetch(_0x36de42,{'method':'POST','body':_0x5eceaf}))['json']();if(typeof _0x40ac64['FileId']!=_0x130e2b(0x31c))return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x130e2b(0x278)][_0x130e2b(0x2fc)]));_0x67ecd4=_0x40ac64[_0x130e2b(0x18d)];}catch{return this[_0x130e2b(0x2a3)](),Promise[_0x130e2b(0x334)](new Error(X[_0x130e2b(0x278)][_0x130e2b(0x2fc)]));}return new Promise((_0x305a5,_0x46a515)=>{var _0x194712=_0x130e2b;const _0x48555d=new FileReader();_0x48555d[_0x194712(0x26b)](_0x178f6d),_0x48555d['onload']=_0x175736=>{var _0x3f6b08=_0x194712,_0x623528;const _0x5d323e=(_0x623528=_0x175736[_0x3f6b08(0x347)])==null?void 0x0:_0x623528['result'];if(_0x5d323e==null){this[_0x3f6b08(0x2a3)](),_0x46a515(new Error(X[_0x3f6b08(0x278)][_0x3f6b08(0x2fc)]));return;}const _0x302602=a[_0x3f6b08(0x40f)][_0x3f6b08(0x154)](0x6);_0x305a5({'imageId':_0x302602,'imageSourceType':X[_0x3f6b08(0x38e)][_0x3f6b08(0x144)],'source':_0x67ecd4,'base64Cache':_0x5d323e,'status':X[_0x3f6b08(0x278)][_0x3f6b08(0x47a)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0xb502d1=_0xd593d2,_0x558ff7,_0x684a98;const _0x33ee81=this[_0xb502d1(0x175)][_0xb502d1(0x32c)](xi),_0x3662b8=this[_0xb502d1(0x175)][_0xb502d1(0x32c)](Y);return(_0x684a98=(_0x558ff7=_0x3662b8==null?void 0x0:_0x3662b8['uploadFileServerUrl'])!=null?_0x558ff7:_0x33ee81)!=null?_0x684a98:ji;}[_0xd593d2(0x2ee)](){var _0x1ecbce=_0xd593d2,_0x49f521,_0x58fd01;const _0x3f525e=this[_0x1ecbce(0x175)][_0x1ecbce(0x32c)]($i),_0x16dbb0=this['_configService'][_0x1ecbce(0x32c)](Y);return(_0x58fd01=(_0x49f521=_0x16dbb0==null?void 0x0:_0x16dbb0[_0x1ecbce(0x155)])!=null?_0x49f521:_0x3f525e)!=null?_0x58fd01:Hi;}['_getDownloadEndpointURL'](){var _0x387f8d=_0xd593d2,_0x1f7aed;const _0x5a6a20=this[_0x387f8d(0x175)][_0x387f8d(0x32c)](Y);return(_0x1f7aed=_0x5a6a20==null?void 0x0:_0x5a6a20['downloadEndpointUrl'])!=null?_0x1f7aed:location['origin'];}[_0xd593d2(0x1fe)](_0x31a920,_0xd42edc){var _0x5425fc=_0xd593d2;return _0x31a920['replace'](_0x5425fc(0x45f),_0xd42edc);}['_decreaseWaiting'](){var _0x1fa7b8=_0xd593d2;this[_0x1fa7b8(0x365)]-=0x1,this[_0x1fa7b8(0x16a)][_0x1fa7b8(0x16f)](this[_0x1fa7b8(0x365)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0xd593d2(0x23b)](a['IUniverInstanceService']))],exports[_0xd593d2(0x2de)]);var ki=Object[_0xd593d2(0x301)],Bi=Object[_0xd593d2(0x2c8)],Fi=(_0x546ea4,_0x23c739,_0x3903ee,_0x3c5fb9)=>{for(var _0x41c919=_0x3c5fb9>0x1?void 0x0:_0x3c5fb9?Bi(_0x23c739,_0x3903ee):_0x23c739,_0x307789=_0x546ea4['length']-0x1,_0x3e366e;_0x307789>=0x0;_0x307789--)(_0x3e366e=_0x546ea4[_0x307789])&&(_0x41c919=(_0x3c5fb9?_0x3e366e(_0x23c739,_0x3903ee,_0x41c919):_0x3e366e(_0x41c919))||_0x41c919);return _0x3c5fb9&&_0x41c919&&ki(_0x23c739,_0x3903ee,_0x41c919),_0x41c919;},_t=(_0x35a3da,_0x955cc4)=>(_0x395943,_0x4ed4cd)=>_0x955cc4(_0x395943,_0x4ed4cd,_0x35a3da);const Wi='/universer-api/authz';exports[_0xd593d2(0x45e)]=class{constructor(_0x424ded,_0x113435){var _0x4ffb27=_0xd593d2;this['_configService']=_0x424ded,this[_0x4ffb27(0x172)]=_0x113435;}['_getAPIPrefixPath'](){var _0x5b8149=_0xd593d2,_0x312d25,_0x3e4318;const _0x11e00d=this[_0x5b8149(0x175)][_0x5b8149(0x32c)](Ve),_0x3d0fa5=this[_0x5b8149(0x175)][_0x5b8149(0x32c)](Y);return(_0x3e4318=(_0x312d25=_0x3d0fa5==null?void 0x0:_0x3d0fa5[_0x5b8149(0x18a)])!=null?_0x312d25:_0x11e00d)!=null?_0x3e4318:Wi;}async[_0xd593d2(0x215)](_0x34ecf9){var _0x148d3a=_0xd593d2;const _0x1add5a=this[_0x148d3a(0x190)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x1add5a,{'params':{'objectID':_0x34ecf9[_0x148d3a(0x238)],'unitID':_0x34ecf9[_0x148d3a(0x238)]}}))[_0x148d3a(0x44a)][_0x148d3a(0x4a4)][_0x148d3a(0x2cc)](_0x124e5b=>({'objectId':_0x124e5b['id'],'name':_0x124e5b['subject'][_0x148d3a(0x1ac)],'metadata':{'icon':_0x124e5b['subject'][_0x148d3a(0x2fa)]},'label':_0x124e5b[_0x148d3a(0x2a2)][_0x148d3a(0x1ac)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x148d3a(0x262)][_0x148d3a(0x2cb)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0xd593d2(0x23b)](a['IConfigService'])),_t(0x1,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)]))],exports[_0xd593d2(0x45e)]);var Gi=Object[_0xd593d2(0x301)],Vi=Object['getOwnPropertyDescriptor'],Ki=(_0x3f1a7d,_0x469400,_0x357e1d,_0x1fce44)=>{var _0x46e5d7=_0xd593d2;for(var _0x35977d=_0x1fce44>0x1?void 0x0:_0x1fce44?Vi(_0x469400,_0x357e1d):_0x469400,_0x28c113=_0x3f1a7d[_0x46e5d7(0x311)]-0x1,_0x4bcc33;_0x28c113>=0x0;_0x28c113--)(_0x4bcc33=_0x3f1a7d[_0x28c113])&&(_0x35977d=(_0x1fce44?_0x4bcc33(_0x469400,_0x357e1d,_0x35977d):_0x4bcc33(_0x35977d))||_0x35977d);return _0x1fce44&&_0x35977d&&Gi(_0x469400,_0x357e1d,_0x35977d),_0x35977d;},ce=(_0x40b8c1,_0x5a828f)=>(_0x377d00,_0x185524)=>_0x5a828f(_0x377d00,_0x185524,_0x40b8c1);let Ue=class extends a[_0xd593d2(0x2dd)]{constructor(_0x2dd947,_0x3228c7,_0x153f22,_0x6d21c1,_0x58e04a,_0x26b483,_0x3b4a23){var _0x285a14=_0xd593d2;super(),this[_0x285a14(0x178)]=_0x2dd947,this[_0x285a14(0x25e)]=_0x3228c7,this[_0x285a14(0x3ea)]=_0x153f22,this['_collaborationSessionService']=_0x6d21c1,this[_0x285a14(0x3bf)]=_0x58e04a,this[_0x285a14(0x29c)]=_0x26b483,this[_0x285a14(0x43a)]=_0x3b4a23,this[_0x285a14(0x32b)](),this['_initCloseConn']();}[_0xd593d2(0x150)](){var _0x1fb8f3=_0xd593d2;const _0x252507=async _0x430df0=>{var _0x328314=_0x1ac9;(await this[_0x328314(0x2f5)]['requireSession'](_0x430df0))[_0x328314(0x37f)][_0x328314(0x21c)](W['filter'](_0x1d745a=>_0x1d745a[_0x328314(0x2a8)]===m[_0x328314(0x40d)][_0x328314(0x193)]),W[_0x328314(0x24e)](this[_0x328314(0x257)]))[_0x328314(0x37e)](_0x3ccc21=>{var _0x44df66=_0x328314;const _0x2920da=_0x3ccc21,{reason:_0x349cf5}=_0x2920da[_0x44df66(0x4b1)];this[_0x44df66(0x3bf)]['emitEvent']({'id':Q[_0x44df66(0x1be)],'data':_0x349cf5}),this[_0x44df66(0x3ea)]['updatePermissionPoint'](new J[(_0x44df66(0x186))](_0x430df0)['id'],!0x1),this[_0x44df66(0x2f5)][_0x44df66(0x267)](_0x430df0);});};H[_0x1fb8f3(0x475)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1fb8f3(0x256)][_0x1fb8f3(0x36f)]),this['_univerInstanceService'][_0x1fb8f3(0x319)](a[_0x1fb8f3(0x256)][_0x1fb8f3(0x148)]))[_0x1fb8f3(0x21c)](W['map'](_0x322f49=>_0x322f49['getUnitId']()),W[_0x1fb8f3(0x1c0)](_0x4825ae=>!a['isInternalEditorID'](_0x4825ae)),W[_0x1fb8f3(0x24e)](this[_0x1fb8f3(0x257)]))[_0x1fb8f3(0x37e)](_0x2fe20e=>{_0x252507(_0x2fe20e);});}[_0xd593d2(0x32b)](){var _0x794758=_0xd593d2;const _0x49499d=async _0x28a4ea=>{var _0x100772=_0x1ac9;const _0x52ec8a=await this['_collaborationSessionService'][_0x100772(0x251)](_0x28a4ea),_0x320f19=this[_0x100772(0x178)][_0x100772(0x3be)](J['SheetPermissionInitController']);_0x52ec8a[_0x100772(0x37f)][_0x100772(0x21c)](W[_0x100772(0x1c0)](_0x5225a1=>_0x5225a1[_0x100772(0x2a8)]===m[_0x100772(0x40d)][_0x100772(0x40e)]),W[_0x100772(0x24e)](this[_0x100772(0x257)]))[_0x100772(0x37e)](_0x406200=>{var _0x5d1c96=_0x100772;const _0x3a707e=_0x406200,{objectId:_0x57806e}=_0x3a707e[_0x5d1c96(0x4b1)];_0x57806e===_0x28a4ea?_0x320f19['initWorkbookPermissionChange'](_0x28a4ea):_0x320f19[_0x5d1c96(0x2f2)](_0x28a4ea,_0x57806e);});};H[_0x794758(0x475)](this['_univerInstanceService'][_0x794758(0x319)](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x794758(0x319)](a[_0x794758(0x256)][_0x794758(0x148)]))[_0x794758(0x21c)](W['map'](_0x3cebb7=>_0x3cebb7['getUnitId']()),W[_0x794758(0x1c0)](_0x40e007=>!a[_0x794758(0x20f)](_0x40e007)),W[_0x794758(0x24e)](this['dispose$']))[_0x794758(0x37e)](_0x16d7cf=>{_0x49499d(_0x16d7cf);});}};Ue=Ki([ce(0x0,a['Inject'](a['Injector'])),ce(0x1,a[_0xd593d2(0x42b)]),ce(0x2,a[_0xd593d2(0x23d)]),ce(0x3,a[_0xd593d2(0x23b)](exports[_0xd593d2(0x428)])),ce(0x4,a[_0xd593d2(0x23b)](te)),ce(0x5,a[_0xd593d2(0x25a)]),ce(0x6,a['IUndoRedoService'])],Ue);var Yi=Object[_0xd593d2(0x301)],qi=Object[_0xd593d2(0x2c8)],zi=(_0x56654c,_0x41368f,_0x517954,_0x3c0641)=>{var _0x54c957=_0xd593d2;for(var _0x7e2695=_0x3c0641>0x1?void 0x0:_0x3c0641?qi(_0x41368f,_0x517954):_0x41368f,_0x28d25a=_0x56654c[_0x54c957(0x311)]-0x1,_0x9fbc22;_0x28d25a>=0x0;_0x28d25a--)(_0x9fbc22=_0x56654c[_0x28d25a])&&(_0x7e2695=(_0x3c0641?_0x9fbc22(_0x41368f,_0x517954,_0x7e2695):_0x9fbc22(_0x7e2695))||_0x7e2695);return _0x3c0641&&_0x7e2695&&Yi(_0x41368f,_0x517954,_0x7e2695),_0x7e2695;},ut=(_0x584fc2,_0x2e16fc)=>(_0x51d62b,_0x859a54)=>_0x2e16fc(_0x51d62b,_0x859a54,_0x584fc2);exports[_0xd593d2(0x493)]=class{constructor(_0x26ab3e,_0x512f47){var _0x582b06=_0xd593d2;this[_0x582b06(0x175)]=_0x26ab3e,this[_0x582b06(0x436)]=_0x512f47;}async['getUnitOnRev'](_0x533952,_0x345d2c){var _0x27bd99=_0xd593d2,_0x3f62e3;const {unitID:_0x597ac8,type:_0x3d0191,revision:_0x5c0d57=0x0}=_0x345d2c,_0x3aa0d1=this[_0x27bd99(0x3b6)]()+'/'+_0x3d0191+_0x27bd99(0x21e)+_0x597ac8+_0x27bd99(0x2e5)+_0x5c0d57,_0x5a013e=(await this[_0x27bd99(0x436)]['get'](_0x3aa0d1))[_0x27bd99(0x44a)],_0x1af3ad=(_0x3f62e3=_0x5a013e[_0x27bd99(0x494)])==null?void 0x0:_0x3f62e3[_0x27bd99(0x259)];if(_0x1af3ad){const _0x4bdacf=_0x1af3ad==null?void 0x0:_0x1af3ad[_0x27bd99(0x426)],_0x3a95fc=m[_0x27bd99(0x2e9)][_0x27bd99(0x1af)](m[_0x27bd99(0x485)](_0x4bdacf));_0x1af3ad[_0x27bd99(0x426)]=_0x3a95fc,Object['entries'](_0x1af3ad[_0x27bd99(0x142)])['forEach'](([,_0x44fb63])=>{var _0x527806=_0x27bd99;const _0x293417=_0x44fb63[_0x527806(0x426)],_0x31d986=m['textEncoder'][_0x527806(0x1af)](m[_0x527806(0x485)](_0x293417));_0x44fb63[_0x527806(0x426)]=_0x31d986;});}return _0x5a013e;}async[_0xd593d2(0x3e5)](_0x20685a,_0x25bcf5){var _0x21a3dd=_0xd593d2;const {unitID:_0x5cca35,type:_0xe0df05,blockID:_0x35ffc2}=_0x25bcf5,_0x3634e6=this[_0x21a3dd(0x48e)]()+'/'+_0xe0df05+_0x21a3dd(0x21e)+_0x5cca35+'/block/'+_0x35ffc2;return(await this['_httpService'][_0x21a3dd(0x3be)](_0x3634e6))[_0x21a3dd(0x44a)];}async[_0xd593d2(0x234)](_0x5640e3,_0x4a00fe){var _0x4cf421=_0xd593d2;const {unitID:_0x2daccd,type:_0x1ad6d0,blockID:_0xaa594c}=_0x4a00fe,_0x13f8b3=this[_0x4cf421(0x48e)]()+_0x4cf421(0x47c)+_0x1ad6d0+_0x4cf421(0x21e)+_0x2daccd+_0x4cf421(0x47c)+_0xaa594c;return(await this['_httpService'][_0x4cf421(0x3be)](_0x13f8b3))['body'];}async[_0xd593d2(0x250)](_0x209ab6,_0x1ff7ca){var _0x458e46=_0xd593d2;const {unitID:_0x3691a5,type:_0x525088,from:_0x368009,to:_0x9b5f6e}=_0x1ff7ca,_0x10b1f0=this[_0x458e46(0x48e)]()+'/'+_0x525088+_0x458e46(0x21e)+_0x3691a5+_0x458e46(0x3da)+_0x368009+_0x458e46(0x31b)+_0x9b5f6e;return(await this[_0x458e46(0x436)][_0x458e46(0x3be)](_0x10b1f0))[_0x458e46(0x44a)];}[_0xd593d2(0x3b6)](){var _0x179f24=_0xd593d2,_0x12386b;return(_0x12386b=this[_0x179f24(0x175)][_0x179f24(0x32c)](ft))!=null?_0x12386b:this[_0x179f24(0x48e)]();}[_0xd593d2(0x48e)](){var _0x15f208=_0xd593d2,_0x2604df,_0x3930bc;const _0x1f6c4a=this[_0x15f208(0x175)]['getConfig'](vt),_0xfc7fbc=this[_0x15f208(0x175)]['getConfig'](Y);return(_0x3930bc=(_0x2604df=_0xfc7fbc==null?void 0x0:_0xfc7fbc[_0x15f208(0x402)])!=null?_0x2604df:_0x1f6c4a)!=null?_0x3930bc:Ht;}async[_0xd593d2(0x2e8)](_0x1545a4,_0x9b282d){var _0x391bf6=_0xd593d2;const _0x219129=_0x391bf6(0x430)+_0x9b282d[_0x391bf6(0x147)]+'/unit/'+_0x9b282d[_0x391bf6(0x1f9)]+'/resources';return(await this[_0x391bf6(0x436)][_0x391bf6(0x3be)](_0x219129,{'params':{'resourceId':JSON[_0x391bf6(0x204)](_0x9b282d[_0x391bf6(0x16b)])}}))['body'];}[_0xd593d2(0x418)](){var _0x1f4237=_0xd593d2;throw new Error(_0x1f4237(0x327));}['saveSheetBlock'](){var _0x2aff55=_0xd593d2;throw new Error(_0x2aff55(0x327));}[_0xd593d2(0x4a5)](){var _0x402092=_0xd593d2;throw new Error(_0x402092(0x327));}[_0xd593d2(0x333)](){var _0x8af484=_0xd593d2;throw new Error(_0x8af484(0x327));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0xd593d2(0x493)]=zi([ut(0x0,a[_0xd593d2(0x1a7)]),ut(0x1,a[_0xd593d2(0x23b)](q[_0xd593d2(0x3d2)]))],exports[_0xd593d2(0x493)]);var Ji=Object[_0xd593d2(0x301)],Xi=Object[_0xd593d2(0x2c8)],Zi=(_0x29c9a0,_0x593391,_0x54ed51,_0x37df78)=>{var _0xcfcc0a=_0xd593d2;for(var _0x16fa20=_0x37df78>0x1?void 0x0:_0x37df78?Xi(_0x593391,_0x54ed51):_0x593391,_0x17d7df=_0x29c9a0[_0xcfcc0a(0x311)]-0x1,_0x5f535e;_0x17d7df>=0x0;_0x17d7df--)(_0x5f535e=_0x29c9a0[_0x17d7df])&&(_0x16fa20=(_0x37df78?_0x5f535e(_0x593391,_0x54ed51,_0x16fa20):_0x5f535e(_0x16fa20))||_0x16fa20);return _0x37df78&&_0x16fa20&&Ji(_0x593391,_0x54ed51,_0x16fa20),_0x16fa20;},de=(_0x457717,_0x28730d)=>(_0x1a049a,_0x8e5814)=>_0x28730d(_0x1a049a,_0x8e5814,_0x457717);exports[_0xd593d2(0x169)]=class extends a[_0xd593d2(0x429)]{constructor(_0x34b070,_0x4d4e16,_0x334b27,_0x3f1169,_0x3e9c19){var _0x1f1772=_0xd593d2;super(_0x34b070,_0x4d4e16,_0x334b27),this[_0x1f1772(0x37b)]=_0x3f1169,this[_0x1f1772(0x3d9)]=_0x3e9c19;}[_0xd593d2(0x3d1)](_0x2ae4ba,_0x4f8f41){var _0x508685=_0xd593d2;const _0x596d03=this['_getUndoStack'](_0x2ae4ba);if(_0x596d03)try{const _0x1ec017=this[_0x508685(0x185)](_0x596d03,_0x4f8f41);this[_0x508685(0x4aa)](_0x2ae4ba,_0x1ec017);}catch(_0x4e9ac4){this[_0x508685(0x3d9)]['error'](_0x508685(0x258),_0x4e9ac4),this[_0x508685(0x393)](_0x2ae4ba);}const _0x5ccdac=this[_0x508685(0x32e)](_0x2ae4ba);if(_0x5ccdac)try{const _0x2c0226=this[_0x508685(0x185)](_0x5ccdac,_0x4f8f41);this[_0x508685(0x31e)](_0x2ae4ba,_0x2c0226);}catch(_0x58fb52){this[_0x508685(0x3d9)][_0x508685(0x28f)](_0x58fb52),this['_clearRedo'](_0x2ae4ba);}}[_0xd593d2(0x393)](_0x5bce36){var _0x4b62a1=_0xd593d2;const _0x413e50=this['_getUndoStack'](_0x5bce36);_0x413e50&&(_0x413e50[_0x4b62a1(0x311)]=0x0,this[_0x4b62a1(0x313)]());}['_clearRedo'](_0x508209){var _0x1a84d8=_0xd593d2;const _0x3920af=this['_getRedoStack'](_0x508209);_0x3920af&&(_0x3920af[_0x1a84d8(0x311)]=0x0,this[_0x1a84d8(0x313)]());}[_0xd593d2(0x4aa)](_0x2746f0,_0x1bb65a){var _0x5dae0f=_0xd593d2;this[_0x5dae0f(0x1a2)][_0x5dae0f(0x1e6)](_0x2746f0,_0x1bb65a),this[_0x5dae0f(0x313)]();}[_0xd593d2(0x31e)](_0x5ca114,_0x4f495d){var _0x13a014=_0xd593d2;this['_redoStacks'][_0x13a014(0x1e6)](_0x5ca114,_0x4f495d),this[_0x13a014(0x313)]();}[_0xd593d2(0x185)](_0x4e19fd,_0x23e43f){var _0x1639ee=_0xd593d2;const _0xd2c42f=[];let _0x130a28=_0x23e43f,_0x1f6f96=_0x23e43f;for(let _0x545687=_0x4e19fd[_0x1639ee(0x311)]-0x1;_0x545687>=0x0;_0x545687--){const {unitID:_0x5a50ef,undoMutations:_0x5013a7,redoMutations:_0x1a2722}=_0x4e19fd[_0x545687],_0x444366=this['_transformService']['transformMutationsWithChangeset'](_0x130a28,_0x5013a7),_0x1776d4=this[_0x1639ee(0x37b)][_0x1639ee(0x41f)](_0x1f6f96,_0x1a2722);if(m[_0x1639ee(0x205)](_0x444366)||m[_0x1639ee(0x205)](_0x1776d4)){this[_0x1639ee(0x3d9)]['error']('[CollaborationUndoRedoService]',_0x1639ee(0x3ca),_0x444366,_0x1776d4);break;}_0x130a28=_0x444366[_0x1639ee(0x254)],_0x1f6f96=_0x1776d4[_0x1639ee(0x254)],_0xd2c42f[_0x1639ee(0x37c)]({'unitID':_0x5a50ef,'undoMutations':_0x444366[_0x1639ee(0x159)],'redoMutations':_0x1776d4[_0x1639ee(0x159)]});}return _0xd2c42f[_0x1639ee(0x3e8)]();}},exports[_0xd593d2(0x169)]=Zi([de(0x0,a[_0xd593d2(0x42b)]),de(0x1,a[_0xd593d2(0x231)]),de(0x2,a[_0xd593d2(0x488)]),de(0x3,m['ITransformService']),de(0x4,a[_0xd593d2(0x2ac)])],exports[_0xd593d2(0x169)]);var Lt=Object[_0xd593d2(0x301)],Qi=Object['getOwnPropertyDescriptor'],er=(_0x1c2ed5,_0x9fc05b,_0xd9e149)=>_0x9fc05b in _0x1c2ed5?Lt(_0x1c2ed5,_0x9fc05b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd9e149}):_0x1c2ed5[_0x9fc05b]=_0xd9e149,tr=(_0x421c09,_0x5a674d,_0x32fc63,_0x2036a9)=>{for(var _0x567d2c=_0x2036a9>0x1?void 0x0:_0x2036a9?Qi(_0x5a674d,_0x32fc63):_0x5a674d,_0x72d4f3=_0x421c09['length']-0x1,_0x4a9e1f;_0x72d4f3>=0x0;_0x72d4f3--)(_0x4a9e1f=_0x421c09[_0x72d4f3])&&(_0x567d2c=(_0x2036a9?_0x4a9e1f(_0x5a674d,_0x32fc63,_0x567d2c):_0x4a9e1f(_0x567d2c))||_0x567d2c);return _0x2036a9&&_0x567d2c&&Lt(_0x5a674d,_0x32fc63,_0x567d2c),_0x567d2c;},je=(_0x1b3da0,_0x55a187)=>(_0xde484f,_0x394860)=>_0x55a187(_0xde484f,_0x394860,_0x1b3da0),nr=(_0x3b8903,_0x1cc685,_0x33946a)=>er(_0x3b8903,_0x1cc685+'',_0x33946a);const ir='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xd593d2(0x1f2)]=class extends a['Plugin']{constructor(_0x4d3719=Ke,_0x3191c9,_0xd69e41,_0x34bb8a){var _0x5c4f10=_0xd593d2;super(),this[_0x5c4f10(0x422)]=_0x4d3719,this[_0x5c4f10(0x3d9)]=_0x3191c9,this['_injector']=_0xd69e41,this[_0x5c4f10(0x175)]=_0x34bb8a;const {..._0x65dfa9}=a['merge']({},Ke,this[_0x5c4f10(0x422)]);this['_configService'][_0x5c4f10(0x427)](Y,_0x65dfa9);}[_0xd593d2(0x392)](){var _0x112ae4=_0xd593d2;this[_0x112ae4(0x3e3)](),this['_initDependencies']();}[_0xd593d2(0x3e3)](){var _0x2bf1a8=_0xd593d2,_0x20e1c7,_0x39880c,_0x39bc98,_0x464c38;this[_0x2bf1a8(0x178)]['has'](a['IUndoRedoService'])&&this['_logService'][_0x2bf1a8(0x28f)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x276750=a['mergeOverrideWithDependencies']([[a[_0x2bf1a8(0x2d8)],{'useClass':exports[_0x2bf1a8(0x169)]}],[exports[_0x2bf1a8(0x428)]],[exports['MemberService']],[exports[_0x2bf1a8(0x140)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x2bf1a8(0x29e)]],[ke,{'useClass':(_0x39880c=(_0x20e1c7=this['_config'])==null?void 0x0:_0x20e1c7['socketService'])!=null?_0x39880c:exports[_0x2bf1a8(0x249)]}],[m[_0x2bf1a8(0x14c)],{'useClass':exports[_0x2bf1a8(0x493)]}],[a['IAuthzIoService'],{'useClass':exports[_0x2bf1a8(0x14e)]}],[X[_0x2bf1a8(0x17a)],{'useClass':exports[_0x2bf1a8(0x2de)]}],[a['IMentionIOService'],{'useClass':exports[_0x2bf1a8(0x45e)]}],[exports[_0x2bf1a8(0x446)]],[$e]],(_0x39bc98=this['_config'])==null?void 0x0:_0x39bc98['override']);if(!((_0x464c38=this['_config'])!=null&&_0x464c38[_0x2bf1a8(0x22c)])){const _0x23cdec=_0x276750[_0x2bf1a8(0x459)](([_0xf8b3c1])=>_0xf8b3c1===ve);_0x23cdec!==-0x1&&_0x276750[_0x2bf1a8(0x1f8)](_0x23cdec,0x1);}a[_0x2bf1a8(0x1cc)](this[_0x2bf1a8(0x178)],_0x276750);}[_0xd593d2(0x346)](){var _0xcb8e36=_0xd593d2,_0x43637f,_0x52f3a0,_0x28ab6f;this[_0xcb8e36(0x178)][_0xcb8e36(0x3be)](q[_0xcb8e36(0x3d2)])[_0xcb8e36(0x288)]({'priority':0x14,'interceptor':q[_0xcb8e36(0x2bd)]({'maxParallel':0x6})}),(_0x43637f=this[_0xcb8e36(0x422)])!=null&&_0x43637f['enableOfflineEditing']||(_0x52f3a0=this[_0xcb8e36(0x178)][_0xcb8e36(0x3be)](z,a[_0xcb8e36(0x3d5)][_0xcb8e36(0x423)]))==null||_0x52f3a0[_0xcb8e36(0x2e2)](),(_0x28ab6f=this[_0xcb8e36(0x422)])!=null&&_0x28ab6f[_0xcb8e36(0x2d7)]&&a[_0xcb8e36(0x344)](this['_injector'],[[ye]]),a[_0xcb8e36(0x344)](this[_0xcb8e36(0x178)],[[Ne],[exports['CollaborationController']],[Ue]]);}},nr(exports[_0xd593d2(0x1f2)],_0xd593d2(0x245),ir),exports[_0xd593d2(0x1f2)]=tr([a['DependentOn'](m[_0xd593d2(0x32a)],J['UniverSheetsPlugin'],q[_0xd593d2(0x2ed)]),je(0x1,a[_0xd593d2(0x2ac)]),je(0x2,a[_0xd593d2(0x23b)](a['Injector'])),je(0x3,a[_0xd593d2(0x1a7)])],exports[_0xd593d2(0x1f2)]),exports[_0xd593d2(0x247)]=Ve,exports[_0xd593d2(0x29d)]=Y,exports[_0xd593d2(0x237)]=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0xd593d2(0x295)]=We,exports[_0xd593d2(0x47f)]=Q,exports[_0xd593d2(0x3c5)]=te,exports[_0xd593d2(0x33a)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=pt,exports[_0xd593d2(0x487)]=Xt,exports[_0xd593d2(0x3ed)]=mt,exports[_0xd593d2(0x40c)]=He,exports[_0xd593d2(0x454)]=ke,exports[_0xd593d2(0x3f7)]=z,exports['INetworkConditionService']=Rt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0xd593d2(0x207)]=Kt,exports[_0xd593d2(0x417)]=Ct,exports[_0xd593d2(0x441)]=Jt,exports[_0xd593d2(0x2b6)]=It,exports[_0xd593d2(0x435)]=kt,exports[_0xd593d2(0x4a7)]=vt,exports[_0xd593d2(0x307)]=ft,exports[_0xd593d2(0x4a0)]=se,exports[_0xd593d2(0x19e)]=Fe,exports[_0xd593d2(0x45d)]=Ot,exports[_0xd593d2(0x34d)]=In,exports[_0xd593d2(0x483)]=yt;
|