@univerjs-pro/collaboration-client 0.6.0-nightly.202502071606 → 0.6.0-nightly.202502081605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _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 _0x5344e8=_0x4b08;(function(_0x5a9c0d,_0xe79a60){var _0x4cadfa=_0x4b08,_0x59c58d=_0x5a9c0d();while(!![]){try{var _0x28385e=-parseInt(_0x4cadfa(0x406))/0x1+-parseInt(_0x4cadfa(0x4d4))/0x2*(parseInt(_0x4cadfa(0x1fa))/0x3)+-parseInt(_0x4cadfa(0x3c3))/0x4*(parseInt(_0x4cadfa(0x23f))/0x5)+parseInt(_0x4cadfa(0x421))/0x6+-parseInt(_0x4cadfa(0x531))/0x7*(parseInt(_0x4cadfa(0x216))/0x8)+-parseInt(_0x4cadfa(0x38e))/0x9*(-parseInt(_0x4cadfa(0x39b))/0xa)+-parseInt(_0x4cadfa(0x3cc))/0xb*(-parseInt(_0x4cadfa(0x1b2))/0xc);if(_0x28385e===_0xe79a60)break;else _0x59c58d['push'](_0x59c58d['shift']());}catch(_0xcea29b){_0x59c58d['push'](_0x59c58d['shift']());}}}(_0x55de,0x38579));var Mt=Object[_0x5344e8(0x201)],xt=(_0x3b7064,_0x22732b,_0x5e71ed)=>_0x22732b in _0x3b7064?Mt(_0x3b7064,_0x22732b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e71ed}):_0x3b7064[_0x22732b]=_0x5e71ed,D=(_0x15825d,_0x40fa83,_0x13bf36)=>xt(_0x15825d,typeof _0x40fa83!=_0x5344e8(0x4fd)?_0x40fa83+'':_0x40fa83,_0x13bf36);Object[_0x5344e8(0x201)](exports,Symbol[_0x5344e8(0x289)],{'value':'Module'});const a=require(_0x5344e8(0x40a)),H=require('rxjs'),W=require(_0x5344e8(0x313)),q=require('@univerjs/network'),m=require('@univerjs-pro/collaboration'),jt=require(_0x5344e8(0x384)),dt=require('@univerjs/docs'),J=require(_0x5344e8(0x205)),X=require(_0x5344e8(0x23d)),$t=require(_0x5344e8(0x4eb)),vt=_0x5344e8(0x517),Ht=_0x5344e8(0x214),ft=_0x5344e8(0x52e),kt=_0x5344e8(0x48d),Bt=0x7d0,St=_0x5344e8(0x459),pt=_0x5344e8(0x245),Ft=_0x5344e8(0x2ba),mt=_0x5344e8(0x2aa),Wt=0x7530,He=_0x5344e8(0x33e),gt=0x4e20,Gt=0x4e20,It=_0x5344e8(0x20e),Vt=0x3,Kt=_0x5344e8(0x511),Yt=0x3e8,Et='COLLAB_SUBMIT_CHANGESET_URL',qt=_0x5344e8(0x29d),Ct=_0x5344e8(0x2e7),zt='/universer-api/oidc/authpage',Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x5344e8(0x52a);var Tt=(_0x89a7b=>(_0x89a7b[_0x89a7b['UNDEFINED']=0x0]=_0x5344e8(0x1e1),_0x89a7b[_0x89a7b['OK']=0x1]='OK',_0x89a7b[_0x89a7b[_0x5344e8(0x352)]=0x2]=_0x5344e8(0x352),_0x89a7b[_0x89a7b['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x89a7b[_0x89a7b['NOT_FOUND']=0x4]=_0x5344e8(0x3c0),_0x89a7b[_0x89a7b['UNAUTHENTICATED']=0x5]=_0x5344e8(0x35e),_0x89a7b[_0x89a7b[_0x5344e8(0x3b2)]=0x6]=_0x5344e8(0x3b2),_0x89a7b[_0x89a7b[_0x5344e8(0x394)]=0x7]='INVALID_ARGUMENT',_0x89a7b[_0x89a7b[_0x5344e8(0x20c)]=0x8]=_0x5344e8(0x20c),_0x89a7b[_0x89a7b[_0x5344e8(0x467)]=0x9]='COMPLETION_FINISHED',_0x89a7b[_0x89a7b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5344e8(0x310),_0x89a7b[_0x89a7b[_0x5344e8(0x347)]=0x1771]=_0x5344e8(0x347),_0x89a7b[_0x89a7b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5344e8(0x414),_0x89a7b[_0x89a7b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5344e8(0x491),_0x89a7b[_0x89a7b['APPLY_REJECT']=0x1b59]=_0x5344e8(0x240),_0x89a7b[_0x89a7b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5344e8(0x373),_0x89a7b[_0x89a7b[_0x5344e8(0x2e4)]=0x1b5b]=_0x5344e8(0x2e4),_0x89a7b[_0x89a7b[_0x5344e8(0x261)]=0x1b5c]=_0x5344e8(0x261),_0x89a7b[_0x89a7b[_0x5344e8(0x34c)]=0x1b5d]=_0x5344e8(0x34c),_0x89a7b[_0x89a7b[_0x5344e8(0x50c)]=0x1f41]=_0x5344e8(0x50c),_0x89a7b[_0x89a7b[_0x5344e8(0x3a3)]=0x2329]=_0x5344e8(0x3a3),_0x89a7b[_0x89a7b[_0x5344e8(0x475)]=0x232a]=_0x5344e8(0x475),_0x89a7b[_0x89a7b[_0x5344e8(0x3de)]=0x232b]=_0x5344e8(0x3de),_0x89a7b[_0x89a7b[_0x5344e8(0x2ca)]=0x232c]=_0x5344e8(0x2ca),_0x89a7b[_0x89a7b[_0x5344e8(0x3cb)]=0x232d]=_0x5344e8(0x3cb),_0x89a7b[_0x89a7b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x89a7b[_0x89a7b[_0x5344e8(0x38b)]=0x2712]=_0x5344e8(0x38b),_0x89a7b[_0x89a7b[_0x5344e8(0x311)]=0x2713]=_0x5344e8(0x311),_0x89a7b[_0x89a7b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5344e8(0x520),_0x89a7b[_0x89a7b[_0x5344e8(0x486)]=0x2af9]=_0x5344e8(0x486),_0x89a7b[_0x89a7b[_0x5344e8(0x2cb)]=-0x1]=_0x5344e8(0x2cb),_0x89a7b))(Tt||{}),Z=(_0x3cb50f=>(_0x3cb50f[_0x3cb50f[_0x5344e8(0x359)]=0x0]=_0x5344e8(0x359),_0x3cb50f[_0x3cb50f[_0x5344e8(0x3ba)]=0x1]=_0x5344e8(0x3ba),_0x3cb50f[_0x3cb50f[_0x5344e8(0x237)]=0x2]='UNIVER_SHEET',_0x3cb50f[_0x3cb50f[_0x5344e8(0x22a)]=0x3]=_0x5344e8(0x22a),_0x3cb50f[_0x3cb50f[_0x5344e8(0x3b7)]=0x4]=_0x5344e8(0x3b7),_0x3cb50f[_0x3cb50f[_0x5344e8(0x2cb)]=-0x1]=_0x5344e8(0x2cb),_0x3cb50f))(Z||{}),G=(_0x3629d0=>(_0x3629d0[_0x3629d0[_0x5344e8(0x402)]=0x0]='UNKNOWN_CMD',_0x3629d0[_0x3629d0[_0x5344e8(0x480)]=0x1]=_0x5344e8(0x480),_0x3629d0[_0x3629d0[_0x5344e8(0x2c8)]=0x2]=_0x5344e8(0x2c8),_0x3629d0[_0x3629d0['LEAVE']=0x3]=_0x5344e8(0x508),_0x3629d0[_0x3629d0[_0x5344e8(0x218)]=0x4]=_0x5344e8(0x218),_0x3629d0[_0x3629d0['HEARTBEAT']=0x5]=_0x5344e8(0x308),_0x3629d0[_0x3629d0[_0x5344e8(0x415)]=0x6]='RECV',_0x3629d0[_0x3629d0[_0x5344e8(0x2cb)]=-0x1]=_0x5344e8(0x2cb),_0x3629d0))(G||{}),he=(_0x3e7c76=>(_0x3e7c76[_0x3e7c76[_0x5344e8(0x392)]=0x0]=_0x5344e8(0x392),_0x3e7c76[_0x3e7c76['OK']=0x1]='OK',_0x3e7c76[_0x3e7c76[_0x5344e8(0x21f)]=0x2]='FAIL',_0x3e7c76[_0x3e7c76['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x3e7c76[_0x3e7c76[_0x5344e8(0x52b)]=0x3ea]=_0x5344e8(0x52b),_0x3e7c76[_0x3e7c76[_0x5344e8(0x303)]=0x3eb]=_0x5344e8(0x303),_0x3e7c76[_0x3e7c76[_0x5344e8(0x2a7)]=0x3ec]=_0x5344e8(0x2a7),_0x3e7c76[_0x3e7c76[_0x5344e8(0x2cb)]=-0x1]=_0x5344e8(0x2cb),_0x3e7c76))(he||{}),bt=(_0x45890f=>(_0x45890f[_0x45890f[_0x5344e8(0x2a1)]=0x0]=_0x5344e8(0x2a1),_0x45890f[_0x45890f[_0x5344e8(0x2cf)]=0x1]=_0x5344e8(0x2cf),_0x45890f[_0x45890f['HttpExport']=0x2]=_0x5344e8(0x399),_0x45890f[_0x45890f['UnitEmbedded']=0x3]='UnitEmbedded',_0x45890f[_0x45890f[_0x5344e8(0x336)]=0x4]=_0x5344e8(0x336),_0x45890f[_0x45890f[_0x5344e8(0x2cb)]=-0x1]=_0x5344e8(0x2cb),_0x45890f))(bt||{});const Y=_0x5344e8(0x3a1),Ke={};var Q=(_0x56c65d=>(_0x56c65d[_0x5344e8(0x31a)]='OTHER_CLIENT_EDITING',_0x56c65d[_0x5344e8(0x3c6)]='PERMISSION_DENIED',_0x56c65d[_0x5344e8(0x2cc)]=_0x5344e8(0x2cc),_0x56c65d['CLOSE_ROOM']=_0x5344e8(0x37d),_0x56c65d[_0x5344e8(0x223)]=_0x5344e8(0x223),_0x56c65d[_0x5344e8(0x332)]=_0x5344e8(0x332),_0x56c65d[_0x5344e8(0x284)]=_0x5344e8(0x284),_0x56c65d[_0x5344e8(0x318)]=_0x5344e8(0x318),_0x56c65d))(Q||{});class te{constructor(){var _0x1b7a80=_0x5344e8;D(this,_0x1b7a80(0x488),new H[(_0x1b7a80(0x45c))]()),D(this,_0x1b7a80(0x379),this[_0x1b7a80(0x488)][_0x1b7a80(0x458)]());}['emitEvent'](_0x51c498){var _0x36da95=_0x5344e8;this[_0x36da95(0x488)][_0x36da95(0x35a)](_0x51c498);}}const Rt=a[_0x5344e8(0x22f)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x3dde27){var _0x12b10d=_0x5344e8,_0x42d9e6,_0x1ccf62,_0x11638b,_0x3b4b01,_0x352c76;const _0x4bd61f=_0x3dde27[_0x12b10d(0x2d7)],_0x41fa7d=JSON[_0x12b10d(0x34f)](_0x4bd61f);switch(_0x41fa7d[_0x12b10d(0x513)]){case G['HEARTBEAT']:case G[_0x12b10d(0x480)]:{const _0x468bb2=_0x41fa7d[_0x12b10d(0x3f8)];return{..._0x41fa7d,'data':_0x468bb2,'cmd':_0x41fa7d[_0x12b10d(0x513)]};}case G[_0x12b10d(0x2c8)]:{const _0x1de8d0=_0x41fa7d[_0x12b10d(0x1e3)];return{..._0x41fa7d,'data':_0x1de8d0,'cmd':_0x41fa7d[_0x12b10d(0x513)]};}case G['RECV']:{const _0x4f4f77=_0x41fa7d[_0x12b10d(0x2bb)];switch(_0x4f4f77['eventID']){case m[_0x12b10d(0x45e)][_0x12b10d(0x230)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':(_0x42d9e6=_0x4f4f77['permissionRejEvent'])==null?void 0x0:_0x42d9e6['cs']},'cmd':_0x41fa7d['cmd']};case m[_0x12b10d(0x45e)][_0x12b10d(0x1e5)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':(_0x1ccf62=_0x4f4f77[_0x12b10d(0x28a)])==null?void 0x0:_0x1ccf62['cs']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x2e5)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':(_0x11638b=_0x4f4f77['newCsEvent'])==null?void 0x0:_0x11638b['cs']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)]['CHANGESET_REJ']:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':(_0x3b4b01=_0x4f4f77[_0x12b10d(0x358)])==null?void 0x0:_0x3b4b01['cs']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x314)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':(_0x352c76=_0x4f4f77[_0x12b10d(0x2dc)])==null?void 0x0:_0x352c76['cs']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x51b)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77['updateCursorEvent']},'cmd':_0x41fa7d['cmd']};case m[_0x12b10d(0x45e)][_0x12b10d(0x450)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x1de)]},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x325)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x3c1)]},'cmd':_0x41fa7d['cmd']};case m[_0x12b10d(0x45e)]['LIVESHARE_NEW_HOST']:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x3a4)]},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m['CollaborationEvent'][_0x12b10d(0x4ae)]:case m['CollaborationEvent'][_0x12b10d(0x326)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77['liveShareOperation']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x327)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x3a4)]},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x52d)]:return{..._0x41fa7d,'data':_0x4f4f77,'cmd':_0x41fa7d['cmd']};case m[_0x12b10d(0x45e)][_0x12b10d(0x3bd)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x257)]},'cmd':_0x41fa7d['cmd']};case m[_0x12b10d(0x45e)][_0x12b10d(0x3f2)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77['updatePermissionObjEvent']},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m[_0x12b10d(0x45e)][_0x12b10d(0x2f9)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x324)]},'cmd':_0x41fa7d[_0x12b10d(0x513)]};case m['CollaborationEvent'][_0x12b10d(0x3e1)]:return{..._0x41fa7d,'data':{..._0x4f4f77,'data':_0x4f4f77[_0x12b10d(0x4be)]},'cmd':_0x41fa7d[_0x12b10d(0x513)]};default:return _0x41fa7d;}}default:return _0x41fa7d;}}function yt(_0x463a17){var _0x2a2846=_0x5344e8;switch(_0x463a17[_0x2a2846(0x513)]){case G[_0x2a2846(0x308)]:case G['HELLO']:return JSON['stringify']({'cmd':_0x463a17[_0x2a2846(0x513)],'routeKey':_0x463a17[_0x2a2846(0x312)]});case G[_0x2a2846(0x218)]:{let _0x10b61e;switch(_0x463a17[_0x2a2846(0x2d7)][_0x2a2846(0x3db)]){case m[_0x2a2846(0x45e)]['UPDATE_CURSOR']:{_0x10b61e={'eventID':m['CollaborationEvent'][_0x2a2846(0x51b)],'updateCursorEvent':_0x463a17[_0x2a2846(0x2d7)]['data']};break;}case m[_0x2a2846(0x45e)]['USERS_LEAVE']:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)][_0x2a2846(0x325)],'leaveEvent':_0x463a17[_0x2a2846(0x2d7)]['data']};break;}case m[_0x2a2846(0x45e)][_0x2a2846(0x450)]:{_0x10b61e={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x463a17[_0x2a2846(0x2d7)][_0x2a2846(0x2d7)]};break;}case m[_0x2a2846(0x45e)]['LIVESHARE_NEW_HOST']:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)][_0x2a2846(0x365)],'liveShareNewHost':_0x463a17[_0x2a2846(0x2d7)]['data']};break;}case m[_0x2a2846(0x45e)][_0x2a2846(0x326)]:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x463a17[_0x2a2846(0x2d7)][_0x2a2846(0x2d7)]};break;}case m[_0x2a2846(0x45e)][_0x2a2846(0x327)]:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)][_0x2a2846(0x327)],'liveShareTerminate':_0x463a17['data'][_0x2a2846(0x2d7)]};break;}case m[_0x2a2846(0x45e)][_0x2a2846(0x222)]:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)][_0x2a2846(0x222)],'liveShareRequestHost':_0x463a17[_0x2a2846(0x2d7)]['data']};break;}case m['CollaborationEvent'][_0x2a2846(0x4ae)]:{_0x10b61e={'eventID':m[_0x2a2846(0x45e)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x10b61e={'eventID':_0x463a17['data'][_0x2a2846(0x3db)]};}return JSON['stringify']({'cmd':_0x463a17[_0x2a2846(0x513)],'routeKey':_0x463a17[_0x2a2846(0x312)],'collaMsg':_0x10b61e});}case G['JOIN']:return JSON[_0x2a2846(0x2df)]({'cmd':_0x463a17['cmd'],'routeKey':_0x463a17[_0x2a2846(0x312)],'joinReq':_0x463a17['data']});case G[_0x2a2846(0x508)]:return JSON[_0x2a2846(0x2df)]({'cmd':_0x463a17[_0x2a2846(0x513)],'routeKey':_0x463a17['routeKey'],'leaveReq':_0x463a17[_0x2a2846(0x2d7)]});default:throw new Error(_0x2a2846(0x315));}}var Zt=Object[_0x5344e8(0x201)],Qt=Object[_0x5344e8(0x3d4)],en=(_0x55544b,_0x4156db,_0x5ad6ec,_0x4b50d4)=>{var _0x5b7d54=_0x5344e8;for(var _0x15ac95=_0x4b50d4>0x1?void 0x0:_0x4b50d4?Qt(_0x4156db,_0x5ad6ec):_0x4156db,_0x4490de=_0x55544b[_0x5b7d54(0x28d)]-0x1,_0x43322d;_0x4490de>=0x0;_0x4490de--)(_0x43322d=_0x55544b[_0x4490de])&&(_0x15ac95=(_0x4b50d4?_0x43322d(_0x4156db,_0x5ad6ec,_0x15ac95):_0x43322d(_0x15ac95))||_0x15ac95);return _0x4b50d4&&_0x15ac95&&Zt(_0x4156db,_0x5ad6ec,_0x15ac95),_0x15ac95;},ue=(_0xe0d939,_0x15fc2a)=>(_0x148059,_0x877528)=>_0x15fc2a(_0x148059,_0x877528,_0xe0d939);const ke=a[_0x5344e8(0x22f)](_0x5344e8(0x409));function tn(_0x41b8ff,_0x49ed17,_0xabb0c9){var _0x36c06f=_0x5344e8;return _0x41b8ff+'/'+_0x49ed17+_0x36c06f(0x242)+_0xabb0c9+_0x36c06f(0x4d2);}exports[_0x5344e8(0x2a8)]=class extends a[_0x5344e8(0x260)]{constructor(_0x9add61,_0x1434af,_0x3aaeb0,_0x18aba6,_0x16a4f6){var _0x4f22f3=_0x5344e8;super(),this[_0x4f22f3(0x50b)]=_0x9add61,this['_http']=_0x1434af,this[_0x4f22f3(0x21a)]=_0x3aaeb0,this[_0x4f22f3(0x282)]=_0x18aba6,this[_0x4f22f3(0x2d2)]=_0x16a4f6;}[_0x5344e8(0x530)](_0x56e09d){var _0xe24ce7=_0x5344e8;const _0x4e77e8=this[_0xe24ce7(0x50b)][_0xe24ce7(0x34a)](q[_0xe24ce7(0x2be)]);if(!_0x4e77e8)throw new Error(_0xe24ce7(0x4b4));const _0x4f44b6=_0x4e77e8[_0xe24ce7(0x530)](_0x56e09d);if(!_0x4f44b6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x133b57=new a['DisposableCollection'](),_0x521470=new H[(_0xe24ce7(0x45c))]();_0x133b57['add'](_0x4f44b6[_0xe24ce7(0x4e5)][_0xe24ce7(0x366)](_0x1a99a7=>_0x521470[_0xe24ce7(0x35a)](_0x1a99a7))),_0x133b57['add'](a[_0xe24ce7(0x43f)](()=>_0x521470[_0xe24ce7(0x4df)]()));const _0x3afd89=new H['Subject']();_0x133b57[_0xe24ce7(0x50d)](_0x4f44b6[_0xe24ce7(0x46a)][_0xe24ce7(0x366)](_0x24ebe7=>_0x3afd89['next'](_0x24ebe7))),_0x133b57[_0xe24ce7(0x50d)](a[_0xe24ce7(0x43f)](()=>_0x3afd89[_0xe24ce7(0x4df)]()));const _0x530771=new H[(_0xe24ce7(0x45c))]();_0x133b57[_0xe24ce7(0x50d)](_0x4f44b6[_0xe24ce7(0x376)][_0xe24ce7(0x366)](_0x5fa06b=>{var _0x379197=_0xe24ce7;const _0x2c0cbf=Ot(_0x5fa06b);_0x530771[_0x379197(0x35a)](_0x2c0cbf);})),_0x133b57['add'](a[_0xe24ce7(0x43f)](()=>_0x530771['complete']()));let _0x1ee456;const _0x1da648=()=>{var _0x5a549f=_0xe24ce7;_0x3afd89['next'](new Event(_0x5a549f(0x275))),_0x521470[_0x5a549f(0x35a)](new CloseEvent(_0x5a549f(0x275))),_0x1ee456[_0x5a549f(0x3e6)]();};return _0x1ee456={'memberID':'','close$':_0x521470[_0xe24ce7(0x458)](),'error$':_0x3afd89[_0xe24ce7(0x458)](),'open$':_0x4f44b6[_0xe24ce7(0x3eb)],'message$':_0x530771[_0xe24ce7(0x458)](),'send':_0x517e8d=>{var _0x4feb3b=_0xe24ce7;if(_0x517e8d[_0x4feb3b(0x513)]===G[_0x4feb3b(0x218)]){if(_0x517e8d['data'][_0x4feb3b(0x3db)]===m[_0x4feb3b(0x45e)][_0x4feb3b(0x36c)]){this[_0x4feb3b(0x444)](_0x1ee456,_0x517e8d['data'])[_0x4feb3b(0x368)](_0x4d902c=>{var _0x1a58bf=_0x4feb3b;this['_logService'][_0x1a58bf(0x438)](_0x4d902c),_0x1da648();});return;}if(_0x517e8d[_0x4feb3b(0x2d7)][_0x4feb3b(0x3db)]===m[_0x4feb3b(0x45e)][_0x4feb3b(0x387)]){const _0x506858=_0x517e8d[_0x4feb3b(0x2d7)];this['_fetchMissChangesets'](_0x506858)[_0x4feb3b(0x2d4)](_0x499f63=>{var _0x87d787=_0x4feb3b;_0x530771[_0x87d787(0x35a)]({'cmd':G[_0x87d787(0x415)],'code':he['OK'],'routeKey':_0x506858[_0x87d787(0x2d7)][_0x87d787(0x1c7)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x87d787(0x3ff)],'data':{'changesets':_0x499f63}}});})[_0x4feb3b(0x368)](_0x530fbb=>{var _0xde3f83=_0x4feb3b;this[_0xde3f83(0x282)][_0xde3f83(0x438)](_0x530fbb),_0x1da648();});return;}}_0x4f44b6[_0x4feb3b(0x49a)](yt(_0x517e8d));},'close':()=>{var _0x5db1e0=_0xe24ce7;_0x4f44b6[_0x5db1e0(0x3e6)](),_0x133b57['dispose']();}},_0x1ee456;}async['_submitChangeset'](_0x4b2217,_0x1bdcde){var _0x3df1cf=_0x5344e8,_0x5a1b1b,_0x227b38;const {unitType:_0xf24b38,unitID:_0x492866,changeset:_0x521759}=_0x1bdcde['data'],_0x34780b={'unitID':_0x492866,'memberID':_0x4b2217[_0x3df1cf(0x4d5)],'type':_0xf24b38,'changeset':m[_0x3df1cf(0x430)](_0x521759)},_0x27e454=this['_configService'][_0x3df1cf(0x4fc)](Et),_0x3f22a5=this[_0x3df1cf(0x21a)][_0x3df1cf(0x4fc)](Y),_0x132e32=tn((_0x227b38=(_0x5a1b1b=_0x3f22a5==null?void 0x0:_0x3f22a5['collabSubmitChangesetUrl'])!=null?_0x5a1b1b:_0x27e454)!=null?_0x227b38:qt,_0xf24b38,_0x492866);try{await this[_0x3df1cf(0x1d6)][_0x3df1cf(0x27c)](_0x132e32,{'body':_0x34780b});}catch(_0x524b8e){throw this[_0x3df1cf(0x282)]['error']('[CollaborationSession]',_0x3df1cf(0x473)),_0x524b8e;}}async['_fetchMissChangesets'](_0x2ceb9d){var _0x1dc8b2=_0x5344e8;const {unitID:_0x28998c,from:_0x4883e3,to:_0x2aa7d8,unitType:_0x521a25}=_0x2ceb9d[_0x1dc8b2(0x2d7)];return(await this['_snapshotServerService'][_0x1dc8b2(0x1be)]({'metadata':void 0x0},{'unitID':_0x28998c,'type':_0x521a25,'from':_0x4883e3,'to':_0x2aa7d8}))['changesets'];}},exports[_0x5344e8(0x2a8)]=en([ue(0x0,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),ue(0x1,a[_0x5344e8(0x21d)](q[_0x5344e8(0x1d4)])),ue(0x2,a[_0x5344e8(0x470)]),ue(0x3,a[_0x5344e8(0x3b4)]),ue(0x4,m[_0x5344e8(0x1fb)])],exports[_0x5344e8(0x2a8)]);const nn=_0x5344e8(0x4c9);function rn(_0x5edd02){var _0x394900=_0x5344e8;return JSON['stringify'](_0x5edd02)[_0x394900(0x28d)];}class Be{constructor(){var _0x20f6b7=_0x5344e8;D(this,_0x20f6b7(0x3f4),new H[(_0x20f6b7(0x45c))]()),D(this,_0x20f6b7(0x40b),this['_commentUpdate$'][_0x20f6b7(0x458)]());}[_0x5344e8(0x3c5)](_0x5630e4){var _0x3aaa07=_0x5344e8;this['_commentUpdate$'][_0x3aaa07(0x35a)](_0x5630e4);}}var sn=Object['defineProperty'],on=Object[_0x5344e8(0x3d4)],an=(_0x13cf85,_0x4dcef7,_0x125d02,_0xd2e3a5)=>{var _0x516bde=_0x5344e8;for(var _0x204f06=_0xd2e3a5>0x1?void 0x0:_0xd2e3a5?on(_0x4dcef7,_0x125d02):_0x4dcef7,_0x71108=_0x13cf85[_0x516bde(0x28d)]-0x1,_0x26e036;_0x71108>=0x0;_0x71108--)(_0x26e036=_0x13cf85[_0x71108])&&(_0x204f06=(_0xd2e3a5?_0x26e036(_0x4dcef7,_0x125d02,_0x204f06):_0x26e036(_0x204f06))||_0x204f06);return _0xd2e3a5&&_0x204f06&&sn(_0x4dcef7,_0x125d02,_0x204f06),_0x204f06;},Ye=(_0x9f6572,_0x22d830)=>(_0x109142,_0x198e27)=>_0x22d830(_0x109142,_0x198e27,_0x9f6572);exports[_0x5344e8(0x51f)]=class extends a[_0x5344e8(0x260)]{constructor(_0x200583,_0x29e7c5){var _0x2acf7d=_0x5344e8;super(),D(this,_0x2acf7d(0x4d7),new Map()),D(this,'_roomCreated$',new H['Subject']()),(this['_univerInstanceService']=_0x200583,this[_0x2acf7d(0x206)]=_0x29e7c5,this['disposeWithMe'](H[_0x2acf7d(0x1cd)](this[_0x2acf7d(0x29a)][_0x2acf7d(0x221)](a[_0x2acf7d(0x3c7)][_0x2acf7d(0x237)])['pipe'](W[_0x2acf7d(0x534)](_0x24cf05=>_0x24cf05[_0x2acf7d(0x4b2)]())),this[_0x2acf7d(0x29a)][_0x2acf7d(0x221)](a['UniverInstanceType'][_0x2acf7d(0x3ba)])[_0x2acf7d(0x2ae)](W['map'](_0x5c5698=>_0x5c5698[_0x2acf7d(0x4b2)]())),this[_0x2acf7d(0x29a)][_0x2acf7d(0x221)](a[_0x2acf7d(0x3c7)]['UNIVER_SLIDE'])[_0x2acf7d(0x2ae)](W['map'](_0x4a9084=>_0x4a9084[_0x2acf7d(0x4b2)]())))['subscribe'](_0x594700=>this[_0x2acf7d(0x1ff)](_0x594700))));}['waitForRoom$'](_0x5f45e3){var _0x4cb066=_0x5344e8;return this[_0x4cb066(0x4d7)][_0x4cb066(0x2cd)](_0x5f45e3)?H['of'](this[_0x4cb066(0x4d7)][_0x4cb066(0x34a)](_0x5f45e3)):this[_0x4cb066(0x3a8)][_0x4cb066(0x2ae)](W[_0x4cb066(0x534)](_0x4464c9=>{var _0x25f0b9=_0x4cb066;if(_0x4464c9===_0x5f45e3)return this[_0x25f0b9(0x4d7)][_0x25f0b9(0x34a)](_0x4464c9);}));}[_0x5344e8(0x2f5)](_0xad32f6){var _0x221eea=_0x5344e8;this[_0x221eea(0x206)]['setCurrentUser'](_0xad32f6);}[_0x5344e8(0x2f1)](){var _0x53f6f7=_0x5344e8;return this[_0x53f6f7(0x206)]['getCurrentUser']();}['updateMember'](_0x73a82a,_0x1d61df){var _0x42de35=_0x5344e8;let _0x4f6d45=this[_0x42de35(0x4d7)][_0x42de35(0x34a)](_0x73a82a);_0x4f6d45||(_0x4f6d45=new cn(),this[_0x42de35(0x4d7)][_0x42de35(0x425)](_0x73a82a,_0x4f6d45),this['_roomCreated$'][_0x42de35(0x35a)](_0x73a82a)),_0x4f6d45[_0x42de35(0x210)](_0x1d61df);}[_0x5344e8(0x1c8)](_0x50cd92,_0x1dda3c){var _0x4beb9b=_0x5344e8;const _0x26dd6d=this[_0x4beb9b(0x4d7)][_0x4beb9b(0x34a)](_0x50cd92);_0x26dd6d&&_0x26dd6d['removeMember'](_0x1dda3c);}[_0x5344e8(0x3ac)](_0x29cdb9){var _0x4e95c9=_0x5344e8;return this[_0x4e95c9(0x4d7)]['get'](_0x29cdb9);}['getMember'](_0x134d7d,_0x2f8f3d){var _0x2b35d2=_0x5344e8;const _0x43a8a5=this[_0x2b35d2(0x4d7)][_0x2b35d2(0x34a)](_0x134d7d);if(_0x43a8a5)return _0x43a8a5[_0x2b35d2(0x1bc)](_0x2f8f3d);}[_0x5344e8(0x1ff)](_0x2d2e7c){var _0x17c0db=_0x5344e8;const _0x3aa577=this[_0x17c0db(0x4d7)]['get'](_0x2d2e7c);_0x3aa577&&(_0x3aa577[_0x17c0db(0x420)](),this[_0x17c0db(0x4d7)]['delete'](_0x2d2e7c));}[_0x5344e8(0x420)](){var _0x5e2cc9=_0x5344e8;this[_0x5e2cc9(0x4d7)]['forEach'](_0x422ac4=>_0x422ac4[_0x5e2cc9(0x420)]()),this[_0x5e2cc9(0x4d7)]['clear'](),this[_0x5e2cc9(0x3a8)][_0x5e2cc9(0x4df)]();}},exports[_0x5344e8(0x51f)]=an([Ye(0x0,a[_0x5344e8(0x1ba)]),Ye(0x1,a['Inject'](a[_0x5344e8(0x369)]))],exports[_0x5344e8(0x51f)]);class cn extends a[_0x5344e8(0x260)]{constructor(){var _0x202c27=_0x5344e8;super(...arguments),D(this,_0x202c27(0x393),new Map()),D(this,_0x202c27(0x2c0),new H[(_0x202c27(0x374))](this['_members'])),D(this,_0x202c27(0x215),this[_0x202c27(0x2c0)]['asObservable']());}[_0x5344e8(0x420)](){var _0x40a00c=_0x5344e8;this[_0x40a00c(0x393)]['clear']();}[_0x5344e8(0x210)](_0x124b87){var _0x3125eb=_0x5344e8;this['_members']['set'](_0x124b87['memberID'],_0x124b87),this[_0x3125eb(0x2eb)]();}[_0x5344e8(0x1c8)](_0x2351e6){var _0x53662b=_0x5344e8;this['_members'][_0x53662b(0x505)](_0x2351e6);}[_0x5344e8(0x1bc)](_0x628cd1){var _0x25fa12=_0x5344e8;return this[_0x25fa12(0x393)]['get'](_0x628cd1);}[_0x5344e8(0x4f2)](){var _0x1f5806=_0x5344e8;return Array[_0x1f5806(0x207)](this[_0x1f5806(0x393)][_0x1f5806(0x1f4)]());}['_emitMembers'](){var _0x5a2153=_0x5344e8;this[_0x5a2153(0x2c0)][_0x5a2153(0x35a)](this[_0x5a2153(0x393)]);}}var hn=Object[_0x5344e8(0x201)],ln=Object[_0x5344e8(0x3d4)],_n=(_0x9caafb,_0x28791e,_0x54f342,_0x7a075d)=>{var _0xe67e70=_0x5344e8;for(var _0x4cb9ff=_0x7a075d>0x1?void 0x0:_0x7a075d?ln(_0x28791e,_0x54f342):_0x28791e,_0x2ccfc4=_0x9caafb[_0xe67e70(0x28d)]-0x1,_0x25043a;_0x2ccfc4>=0x0;_0x2ccfc4--)(_0x25043a=_0x9caafb[_0x2ccfc4])&&(_0x4cb9ff=(_0x7a075d?_0x25043a(_0x28791e,_0x54f342,_0x4cb9ff):_0x25043a(_0x4cb9ff))||_0x4cb9ff);return _0x7a075d&&_0x4cb9ff&&hn(_0x28791e,_0x54f342,_0x4cb9ff),_0x4cb9ff;},oe=(_0xad5abf,_0x3ca55e)=>(_0x1c27cb,_0x175bb0)=>_0x3ca55e(_0x1c27cb,_0x175bb0,_0xad5abf),se=(_0x2f66d4=>(_0x2f66d4[_0x2f66d4[_0x5344e8(0x209)]=0x0]=_0x5344e8(0x209),_0x2f66d4[_0x2f66d4['JOINING']=0x1]=_0x5344e8(0x400),_0x2f66d4[_0x2f66d4['OFFLINE']=0x2]=_0x5344e8(0x29b),_0x2f66d4[_0x2f66d4[_0x5344e8(0x1f9)]=0x3]=_0x5344e8(0x1f9),_0x2f66d4))(se||{});const qe={[he[_0x5344e8(0x21f)]]:_0x5344e8(0x4ce),[he['JOIN_ROOM_FULL']]:_0x5344e8(0x32d),[he[_0x5344e8(0x52b)]]:_0x5344e8(0x2dd),[he[_0x5344e8(0x303)]]:'session.room-permission-denied',[he[_0x5344e8(0x2a7)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x5344e8(0x42b)]{constructor(_0x5afa32,_0x1bbce8,_0x1311fb,_0x4ea8d7,_0x1e79b7,_0x36f944,_0x521e6e,_0xfc7233,_0x5af140){var _0x1e8da7=_0x5344e8;super(),D(this,'_sessionStatus$',new H[(_0x1e8da7(0x374))](0x0)),D(this,_0x1e8da7(0x452),this[_0x1e8da7(0x217)][_0x1e8da7(0x458)]()),D(this,'_event$',new H[(_0x1e8da7(0x45c))]()),D(this,_0x1e8da7(0x379),this[_0x1e8da7(0x488)]['asObservable']()),D(this,_0x1e8da7(0x2b8)),D(this,'_socketMessageSubscription'),D(this,_0x1e8da7(0x1ed)),D(this,_0x1e8da7(0x32f),!0x1),D(this,'_telemetryInfo',null),(this[_0x1e8da7(0x408)]=_0x5afa32,this[_0x1e8da7(0x282)]=_0x1311fb,this[_0x1e8da7(0x21a)]=_0x4ea8d7,this['_localeService']=_0x1e79b7,this['_memberService']=_0x36f944,this[_0x1e8da7(0x232)]=_0x521e6e,this['_collaborationUIEventService']=_0xfc7233,this[_0x1e8da7(0x446)]=_0x5af140,this['_shouldReportTelemetry']=!!this[_0x1e8da7(0x446)],_0x1bbce8[_0x1e8da7(0x2ae)](H[_0x1e8da7(0x479)](this['dispose$']))[_0x1e8da7(0x366)](_0x2eab75=>{var _0x58eadf=_0x1e8da7,_0x122c4f;typeof _0x2eab75>'u'||(this[_0x58eadf(0x2b8)]=_0x2eab75,_0x2eab75?(this['_joinRoom'](_0x2eab75),this[_0x58eadf(0x45f)]=_0x2eab75[_0x58eadf(0x376)][_0x58eadf(0x366)](_0x47005=>{var _0xf3cb7c=_0x58eadf;_0x47005[_0xf3cb7c(0x312)]===this[_0xf3cb7c(0x408)]&&this[_0xf3cb7c(0x1f7)](_0x47005);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x58eadf(0x217)][_0x58eadf(0x35a)](0x2),(_0x122c4f=this[_0x58eadf(0x45f)])==null||_0x122c4f[_0x58eadf(0x3ad)](),this[_0x58eadf(0x45f)]=null));}));}get[_0x5344e8(0x27b)](){var _0x13ad58=_0x5344e8;return this[_0x13ad58(0x217)][_0x13ad58(0x4a0)]();}[_0x5344e8(0x3d5)](){var _0x33a3cf=_0x5344e8,_0x6e7955,_0xdafaec;return(_0xdafaec=(_0x6e7955=this[_0x33a3cf(0x2b8)])==null?void 0x0:_0x6e7955[_0x33a3cf(0x4d5)])!=null?_0xdafaec:null;}[_0x5344e8(0x420)](){var _0x5bb0e4=_0x5344e8;super[_0x5bb0e4(0x420)](),this[_0x5bb0e4(0x328)]['next'](),this[_0x5bb0e4(0x328)][_0x5bb0e4(0x4df)]();}[_0x5344e8(0x3e6)](){var _0x23fe9b=_0x5344e8,_0x23a0a6,_0x25a18a;this[_0x23fe9b(0x28b)](),(_0x23a0a6=this[_0x23fe9b(0x2b8)])==null||_0x23a0a6[_0x23fe9b(0x49a)]({'cmd':G[_0x23fe9b(0x508)],'data':{'roomID':this[_0x23fe9b(0x408)]}}),(_0x25a18a=this[_0x23fe9b(0x2b8)])==null||_0x25a18a[_0x23fe9b(0x3e6)](),this['_event$'][_0x23fe9b(0x4df)](),this[_0x23fe9b(0x217)][_0x23fe9b(0x4df)](),this['dispose']();}['_onCombEvent'](_0xd08370){var _0x28900d=_0x5344e8;_0xd08370[_0x28900d(0x513)]===G[_0x28900d(0x2c8)]?this['_onJoinRoomEvent'](_0xd08370):_0xd08370['cmd']===G[_0x28900d(0x415)]&&this[_0x28900d(0x24a)](_0xd08370);}[_0x5344e8(0x27a)](_0x33b0ad){var _0x24a619=_0x5344e8;this[_0x24a619(0x217)][_0x24a619(0x35a)](0x1),_0x33b0ad['send']({'cmd':G[_0x24a619(0x2c8)],'routeKey':this[_0x24a619(0x408)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24a619(0x408)]}]}});}['_onJoinRoomEvent'](_0x23cdbc){var _0x32887f=_0x5344e8,_0x40562e;if(_0x23cdbc[_0x32887f(0x26f)]in qe){this[_0x32887f(0x404)][_0x32887f(0x485)]({'id':Q[_0x32887f(0x223)],'data':qe[_0x23cdbc['code']]}),this[_0x32887f(0x217)][_0x32887f(0x35a)](0x2);return;}this[_0x32887f(0x217)][_0x32887f(0x35a)](0x3);const _0x6d227b=(_0x40562e=_0x23cdbc[_0x32887f(0x2d7)][_0x32887f(0x1f8)][this[_0x32887f(0x408)]])==null?void 0x0:_0x40562e[_0x32887f(0x302)];_0x6d227b&&_0x6d227b['forEach'](_0x4afc33=>this['_memberService']['updateMember'](this['_unitID'],_0x4afc33));}[_0x5344e8(0x24a)](_0x423a6a){var _0x2f69d0=_0x5344e8;try{const _0x471cd5=_0x423a6a[_0x2f69d0(0x2d7)];switch(_0x471cd5[_0x2f69d0(0x3db)]){case m[_0x2f69d0(0x45e)][_0x2f69d0(0x450)]:this[_0x2f69d0(0x287)](_0x471cd5),this[_0x2f69d0(0x488)][_0x2f69d0(0x35a)](_0x471cd5);break;case m[_0x2f69d0(0x45e)][_0x2f69d0(0x325)]:this[_0x2f69d0(0x248)](_0x471cd5),this[_0x2f69d0(0x488)][_0x2f69d0(0x35a)](_0x471cd5);break;case m[_0x2f69d0(0x45e)]['CHANGESET_ACK']:case m[_0x2f69d0(0x45e)][_0x2f69d0(0x314)]:this[_0x2f69d0(0x1ce)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2f69d0(0x488)][_0x2f69d0(0x35a)](_0x471cd5);break;case m['CollaborationEvent'][_0x2f69d0(0x52d)]:this[_0x2f69d0(0x282)][_0x2f69d0(0x438)](_0x2f69d0(0x329)+JSON[_0x2f69d0(0x2df)](_0x471cd5)),this[_0x2f69d0(0x488)][_0x2f69d0(0x35a)](_0x471cd5);break;case m['CollaborationEvent'][_0x2f69d0(0x3bd)]:this[_0x2f69d0(0x232)]['onCommentUpdate'](_0x471cd5[_0x2f69d0(0x2d7)]),this['_event$'][_0x2f69d0(0x35a)](_0x471cd5);break;default:this['_event$'][_0x2f69d0(0x35a)](_0x471cd5);}}catch(_0x29a7da){this[_0x2f69d0(0x282)][_0x2f69d0(0x438)](_0x29a7da,_0x423a6a);}}[_0x5344e8(0x287)](_0x40d64a){var _0x4c4eeb=_0x5344e8;this[_0x4c4eeb(0x27d)][_0x4c4eeb(0x210)](this['_unitID'],_0x40d64a[_0x4c4eeb(0x2d7)]);}[_0x5344e8(0x248)](_0x82aa34){var _0x2e1236=_0x5344e8;this[_0x2e1236(0x27d)]['removeMember'](this[_0x2e1236(0x408)],_0x82aa34['data'][_0x2e1236(0x4d5)]);}async[_0x5344e8(0x49a)](_0xdc423,_0x123353){var _0x4d9c7b=_0x5344e8;if(this[_0x4d9c7b(0x27b)]!==0x3||!this[_0x4d9c7b(0x2b8)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xdc423[_0x4d9c7b(0x3db)]===m['CollaborationEvent'][_0x4d9c7b(0x36c)]&&(this[_0x4d9c7b(0x44c)](),this[_0x4d9c7b(0x40c)](_0xdc423)),this[_0x4d9c7b(0x2b8)][_0x4d9c7b(0x49a)]({'cmd':G[_0x4d9c7b(0x218)],'routeKey':_0x123353,'routeType':'','data':_0xdc423});}catch(_0x162b20){this['_logService']['error'](_0x162b20);}}['_scheduleCollaborationTimeoutTimer'](){var _0x69ab43=_0x5344e8,_0x4073cd;this[_0x69ab43(0x1ed)]=setTimeout(()=>{var _0x5476e5=_0x69ab43;this[_0x5476e5(0x1ed)]=null,this[_0x5476e5(0x404)][_0x5476e5(0x485)]({'id':Q[_0x5476e5(0x318)]});},(_0x4073cd=this[_0x69ab43(0x21a)][_0x69ab43(0x4fc)](He))!=null?_0x4073cd:gt);}[_0x5344e8(0x1e9)](){var _0x483b78=_0x5344e8;this[_0x483b78(0x1ed)]&&(clearTimeout(this[_0x483b78(0x1ed)]),this[_0x483b78(0x1ed)]=null);}[_0x5344e8(0x40c)](_0xea8426){var _0x4c2720=_0x5344e8;if(!this[_0x4c2720(0x32f)])return;const {data:_0x15a695}=_0xea8426,{unitID:_0x584f6f,changeset:_0x3859c9}=_0x15a695,{mutations:_0x5bb838,type:_0x40164e}=_0x3859c9;this['_telemetryInfo']={'unitId':_0x584f6f,'type':_0x40164e,'startTime':performance[_0x4c2720(0x203)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x5bb838)};}[_0x5344e8(0x1ce)](){var _0x2f25d8=_0x5344e8;if(this[_0x2f25d8(0x32f)]){if(!this[_0x2f25d8(0x298)]){this[_0x2f25d8(0x282)][_0x2f25d8(0x438)]('[CollaborationSession]',_0x2f25d8(0x2d3));return;}this[_0x2f25d8(0x298)][_0x2f25d8(0x4f5)]=performance[_0x2f25d8(0x203)](),this['_telemetryInfo'][_0x2f25d8(0x1cf)]=this[_0x2f25d8(0x298)][_0x2f25d8(0x4f5)]-this['_telemetryInfo'][_0x2f25d8(0x43b)],this[_0x2f25d8(0x446)][_0x2f25d8(0x501)](nn,this[_0x2f25d8(0x298)]),this[_0x2f25d8(0x298)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x5344e8(0x247)]=_n([oe(0x2,a['ILogService']),oe(0x3,a[_0x5344e8(0x470)]),oe(0x4,a[_0x5344e8(0x21d)](a[_0x5344e8(0x35f)])),oe(0x5,a[_0x5344e8(0x21d)](exports['MemberService'])),oe(0x6,a[_0x5344e8(0x21d)](Be)),oe(0x7,a[_0x5344e8(0x21d)](te)),oe(0x8,a[_0x5344e8(0x524)](jt[_0x5344e8(0x277)]))],exports[_0x5344e8(0x247)]);var un=Object[_0x5344e8(0x201)],dn=Object['getOwnPropertyDescriptor'],vn=(_0x35c18b,_0x201838,_0x317ba0,_0x3b7679)=>{var _0x449921=_0x5344e8;for(var _0x33cfc8=_0x3b7679>0x1?void 0x0:_0x3b7679?dn(_0x201838,_0x317ba0):_0x201838,_0x441f86=_0x35c18b[_0x449921(0x28d)]-0x1,_0x322f45;_0x441f86>=0x0;_0x441f86--)(_0x322f45=_0x35c18b[_0x441f86])&&(_0x33cfc8=(_0x3b7679?_0x322f45(_0x201838,_0x317ba0,_0x33cfc8):_0x322f45(_0x33cfc8))||_0x33cfc8);return _0x3b7679&&_0x33cfc8&&un(_0x201838,_0x317ba0,_0x33cfc8),_0x33cfc8;},ae=(_0x346d50,_0x161632)=>(_0x170d09,_0x6da10e)=>_0x161632(_0x170d09,_0x6da10e,_0x346d50);exports[_0x5344e8(0x2f3)]=class extends a[_0x5344e8(0x260)]{constructor(_0x2e620e,_0x348449,_0x1e4c06,_0x261471,_0x50b3b1,_0x15985a,_0x28fe88){var _0xb60f85=_0x5344e8;super(),D(this,'_socket$',new H[(_0xb60f85(0x374))](void 0x0)),D(this,_0xb60f85(0x2a4),this['_socket$']['asObservable']()),D(this,_0xb60f85(0x3f1),null),D(this,_0xb60f85(0x465),new Map()),D(this,_0xb60f85(0x4fe),new H[(_0xb60f85(0x374))](se['IDLE'])),D(this,_0xb60f85(0x47e),this[_0xb60f85(0x4fe)]['asObservable']()),D(this,_0xb60f85(0x1c1),!0x1),D(this,_0xb60f85(0x31b)),D(this,_0xb60f85(0x354),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0xb60f85(0x29c)),(this[_0xb60f85(0x50b)]=_0x2e620e,this[_0xb60f85(0x282)]=_0x348449,this[_0xb60f85(0x21a)]=_0x1e4c06,this[_0xb60f85(0x4da)]=_0x261471,this[_0xb60f85(0x4a4)]=_0x50b3b1,this[_0xb60f85(0x404)]=_0x15985a,this[_0xb60f85(0x30f)]=_0x28fe88,this[_0xb60f85(0x268)]());}get[_0x5344e8(0x2b8)](){var _0x1828f6=_0x5344e8;return this['_socket$'][_0x1828f6(0x4a0)]();}['_listenToNetworkCondition'](){var _0x503ec0=_0x5344e8;this[_0x503ec0(0x30f)]&&this['disposeWithMe'](this[_0x503ec0(0x30f)][_0x503ec0(0x24c)][_0x503ec0(0x366)](_0x4621d9=>{var _0x905f1c=_0x503ec0;_0x4621d9&&!this[_0x905f1c(0x2b8)]&&this[_0x905f1c(0x483)](),_0x4621d9||this[_0x905f1c(0x3a0)]();}));}['dispose'](){var _0x1edeba=_0x5344e8;super[_0x1edeba(0x420)](),this[_0x1edeba(0x465)]['forEach'](_0x3c42b9=>_0x3c42b9[_0x1edeba(0x420)]()),this[_0x1edeba(0x465)]['clear'](),this[_0x1edeba(0x4fe)][_0x1edeba(0x4df)]();}async['requireSession'](_0x2b0196){var _0x277e16=_0x5344e8;if(this['_sessions']['has'](_0x2b0196))return this['_sessions']['get'](_0x2b0196);this[_0x277e16(0x4dd)]();const _0x243459=this[_0x277e16(0x50b)][_0x277e16(0x2ec)](exports[_0x277e16(0x247)],_0x2b0196,this[_0x277e16(0x496)][_0x277e16(0x458)]());return this['_sessions']['set'](_0x2b0196,_0x243459),_0x243459;}[_0x5344e8(0x47a)](_0xd6f0e3){var _0x3d935d=_0x5344e8,_0x49960c;const _0x83a324=this['_sessions'][_0x3d935d(0x34a)](_0xd6f0e3);_0x83a324&&(this[_0x3d935d(0x465)]['delete'](_0xd6f0e3),_0x83a324[_0x3d935d(0x3e6)]()),this[_0x3d935d(0x465)][_0x3d935d(0x1f6)]||(_0x49960c=this[_0x3d935d(0x2b8)])==null||_0x49960c[_0x3d935d(0x3e6)]();}[_0x5344e8(0x483)](){var _0x2881e4=_0x5344e8;this[_0x2881e4(0x354)]=0x0,this[_0x2881e4(0x31b)]!=null&&(clearTimeout(this[_0x2881e4(0x31b)]),this[_0x2881e4(0x31b)]=null),this[_0x2881e4(0x24f)]();}async['_getSessionTicket'](){var _0x195d83=_0x5344e8,_0x392262,_0x448595,_0x158dd4;const _0x3ea6ae=this[_0x195d83(0x21a)]['getConfig'](Y),_0x2c56a9=(_0x392262=_0x3ea6ae==null?void 0x0:_0x3ea6ae[_0x195d83(0x38a)])!=null?_0x392262:Ft;return(_0x158dd4=(_0x448595=(await this[_0x195d83(0x4a4)]['get'](_0x2c56a9,{'headers':{'Content-Type':_0x195d83(0x417)}}))[_0x195d83(0x38c)])==null?void 0x0:_0x448595[_0x195d83(0x320)])!=null?_0x158dd4:'';}['_createSocketURL'](_0xa9923d){var _0x34d361=_0x5344e8,_0x5b0ad6,_0x2fc74d;const _0x67ce40=this[_0x34d361(0x21a)][_0x34d361(0x4fc)](St),_0x331079=this[_0x34d361(0x21a)][_0x34d361(0x4fc)](Y),_0x29527d=(_0x2fc74d=(_0x5b0ad6=_0x331079==null?void 0x0:_0x331079[_0x34d361(0x3df)])!=null?_0x5b0ad6:_0x67ce40)!=null?_0x2fc74d:pt,_0xb78f=typeof window>'u'?new URL(_0x29527d):new URL(_0x29527d,window[_0x34d361(0x432)][_0x34d361(0x3c4)]);_0xb78f[_0x34d361(0x22e)][_0x34d361(0x425)](_0x34d361(0x47c),_0xa9923d);const _0x5e644=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34d361(0x432)][_0x34d361(0x333)]);return _0x5e644[_0x34d361(0x34a)](_0x34d361(0x4a2))&&_0xb78f[_0x34d361(0x22e)]['set'](_0x34d361(0x4a2),_0x5e644[_0x34d361(0x34a)]('runId')),_0xb78f[_0x34d361(0x416)]();}async['_createSocket'](){var _0x5f1a26=_0x5344e8;const _0x2be36b=await this[_0x5f1a26(0x2a2)](),_0xa949da=this[_0x5f1a26(0x286)](_0x2be36b),_0x49273b=this[_0x5f1a26(0x4da)][_0x5f1a26(0x530)](_0xa949da);return this[_0x5f1a26(0x3f1)]=_0x49273b,_0x49273b;}async[_0x5344e8(0x4dd)](){var _0x3e7cf3=_0x5344e8,_0x4192ee,_0x2e2eb3;try{const _0x1d46cd=(_0x2e2eb3=(_0x4192ee=this['_socket'])!=null?_0x4192ee:this['_candidateSocket'])!=null?_0x2e2eb3:await this[_0x3e7cf3(0x254)]();if(_0x1d46cd){const _0x40308f=_0x1d46cd[_0x3e7cf3(0x49a)];_0x1d46cd[_0x3e7cf3(0x49a)]=_0x2691d9=>(this[_0x3e7cf3(0x1ee)](),_0x40308f[_0x3e7cf3(0x1da)](_0x1d46cd,[_0x2691d9])),_0x1d46cd[_0x3e7cf3(0x376)][_0x3e7cf3(0x366)](_0x388e1b=>this['_onMessage'](_0x1d46cd,_0x388e1b)),_0x1d46cd[_0x3e7cf3(0x46a)][_0x3e7cf3(0x2ae)](W[_0x3e7cf3(0x4d6)](0x1))[_0x3e7cf3(0x366)](_0x110af3=>this['_logService'][_0x3e7cf3(0x438)](_0x3e7cf3(0x447),_0x110af3)),_0x1d46cd[_0x3e7cf3(0x3eb)]['pipe'](W[_0x3e7cf3(0x4d6)](0x1))['subscribe'](()=>{var _0x514eb9=_0x3e7cf3;this[_0x514eb9(0x1bd)](_0x1d46cd);}),_0x1d46cd[_0x3e7cf3(0x4e5)][_0x3e7cf3(0x2ae)](W['take'](0x1))[_0x3e7cf3(0x366)](_0x277a9d=>{var _0x5e3e16=_0x3e7cf3;this['_logService'][_0x5e3e16(0x3a9)](_0x5e3e16(0x455),_0x5e3e16(0x3bc),_0x277a9d),this[_0x5e3e16(0x3be)]();});}}catch(_0x58caff){this[_0x3e7cf3(0x282)][_0x3e7cf3(0x438)](_0x58caff),this[_0x3e7cf3(0x3be)]();}}[_0x5344e8(0x1bd)](_0x3989ba){var _0x315f6d=_0x5344e8;this[_0x315f6d(0x282)][_0x315f6d(0x3a9)](_0x315f6d(0x455),_0x315f6d(0x3f5)),_0x3989ba[_0x315f6d(0x49a)]({'cmd':G[_0x315f6d(0x480)]}),this[_0x315f6d(0x1ee)]();}['_onOffline'](){var _0x5b4733=_0x5344e8;this['_socketReady']=!0x1,this[_0x5b4733(0x3f1)]=null,this[_0x5b4733(0x4fe)][_0x5b4733(0x35a)](se['OFFLINE']),this['_socket$'][_0x5b4733(0x35a)](null),this[_0x5b4733(0x276)](),this[_0x5b4733(0x1c3)]();}['_onConnectionFailed'](){var _0x21e0c0=_0x5344e8,_0x4f4d1b;this[_0x21e0c0(0x3a0)](),this[_0x21e0c0(0x354)]<((_0x4f4d1b=this['_configService'][_0x21e0c0(0x4fc)](It))!=null?_0x4f4d1b:Vt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x21e0c0(0x332)]}),this[_0x21e0c0(0x24f)]()):this[_0x21e0c0(0x404)][_0x21e0c0(0x485)]({'id':Q['SOCKET_FAILED']});}[_0x5344e8(0x24f)](){var _0x25312=_0x5344e8,_0x3e51bb;const _0x10583d=this[_0x25312(0x354)],_0x3c9cf1=this['_configService'][_0x25312(0x4fc)](Y),_0x2b2e91=_0x10583d===0x0?0x0:((_0x3e51bb=_0x3c9cf1==null?void 0x0:_0x3c9cf1[_0x25312(0x4c4)])!=null?_0x3e51bb:Gt)*0x2**_0x10583d;this[_0x25312(0x31b)]=setTimeout(()=>{var _0x4fab8a=_0x25312;clearTimeout(this[_0x4fab8a(0x31b)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x2b2e91),this[_0x25312(0x354)]+=0x1;}[_0x5344e8(0x1db)](_0x14abbb,_0x5c5b5b){var _0x356f86=_0x5344e8;const {cmd:_0x3dc563}=_0x5c5b5b;_0x3dc563===G['HELLO']&&!this[_0x356f86(0x1c1)]&&(_0x14abbb[_0x356f86(0x4d5)]=_0x5c5b5b[_0x356f86(0x2d7)][_0x356f86(0x4d5)],this[_0x356f86(0x496)][_0x356f86(0x35a)](_0x14abbb),this[_0x356f86(0x4fe)][_0x356f86(0x35a)](se[_0x356f86(0x1f9)]),this['_socketReady']=!0x0,this[_0x356f86(0x3f1)]=null),_0x3dc563===G[_0x356f86(0x308)]&&this[_0x356f86(0x276)](),this['_rescheduleHeartbeat']();}[_0x5344e8(0x1ee)](){var _0x4ac23a=_0x5344e8,_0x2efd7d;this[_0x4ac23a(0x1c3)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4ac23a(0x3c2)](),(_0x2efd7d=this[_0x4ac23a(0x21a)]['getConfig'](mt))!=null?_0x2efd7d:Wt);}[_0x5344e8(0x3c2)](){var _0x81d3e3=_0x5344e8;this[_0x81d3e3(0x2b8)][_0x81d3e3(0x49a)]({'cmd':G[_0x81d3e3(0x308)]}),this[_0x81d3e3(0x252)]();}['_waitForHeartbeatResponse'](){var _0x389470=_0x5344e8,_0x9caf09;this[_0x389470(0x29c)]=setTimeout(()=>this[_0x389470(0x3be)](),(_0x9caf09=this[_0x389470(0x21a)][_0x389470(0x4fc)](He))!=null?_0x9caf09:gt);}[_0x5344e8(0x1c3)](){var _0x39dc4e=_0x5344e8;this[_0x39dc4e(0x37e)]!=null&&(clearTimeout(this[_0x39dc4e(0x37e)]),this['_sendHeartbeatTimer']=null);}[_0x5344e8(0x276)](){var _0x514774=_0x5344e8;this[_0x514774(0x29c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x514774(0x29c)]=null);}},exports['CollaborationSessionService']=vn([ae(0x0,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),ae(0x1,a[_0x5344e8(0x3b4)]),ae(0x2,a[_0x5344e8(0x470)]),ae(0x3,ke),ae(0x4,a[_0x5344e8(0x21d)](q[_0x5344e8(0x1d4)])),ae(0x5,a[_0x5344e8(0x21d)](te)),ae(0x6,a[_0x5344e8(0x524)](Rt))],exports[_0x5344e8(0x2f3)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x5344e8(0x2a6)]((r+0x100)[_0x5344e8(0x416)](0x10)[_0x5344e8(0x4ac)](0x1));function fn(_0x2e21b3,_0x3ffa98=0x0){return(V[_0x2e21b3[_0x3ffa98+0x0]]+V[_0x2e21b3[_0x3ffa98+0x1]]+V[_0x2e21b3[_0x3ffa98+0x2]]+V[_0x2e21b3[_0x3ffa98+0x3]]+'-'+V[_0x2e21b3[_0x3ffa98+0x4]]+V[_0x2e21b3[_0x3ffa98+0x5]]+'-'+V[_0x2e21b3[_0x3ffa98+0x6]]+V[_0x2e21b3[_0x3ffa98+0x7]]+'-'+V[_0x2e21b3[_0x3ffa98+0x8]]+V[_0x2e21b3[_0x3ffa98+0x9]]+'-'+V[_0x2e21b3[_0x3ffa98+0xa]]+V[_0x2e21b3[_0x3ffa98+0xb]]+V[_0x2e21b3[_0x3ffa98+0xc]]+V[_0x2e21b3[_0x3ffa98+0xd]]+V[_0x2e21b3[_0x3ffa98+0xe]]+V[_0x2e21b3[_0x3ffa98+0xf]])['toLowerCase']();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x5ea753=_0x5344e8;if(!Pe){if(typeof crypto>'u'||!crypto[_0x5ea753(0x463)])throw new Error(_0x5ea753(0x466));Pe=crypto[_0x5ea753(0x463)][_0x5ea753(0x307)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5344e8(0x2b9)][_0x5344e8(0x307)](crypto),ze={'randomUUID':mn};function gn(_0x31c278,_0x3482c2,_0x515d50){var _0x3a14f5=_0x5344e8,_0x135952,_0x448834,_0x1fb1f3;if(ze[_0x3a14f5(0x2b9)]&&!_0x31c278)return ze['randomUUID']();_0x31c278=_0x31c278||{};const _0x3d55be=(_0x1fb1f3=(_0x448834=_0x31c278['random'])!=null?_0x448834:(_0x135952=_0x31c278[_0x3a14f5(0x1fd)])==null?void 0x0:_0x135952[_0x3a14f5(0x1e8)](_0x31c278))!=null?_0x1fb1f3:pn();if(_0x3d55be['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3d55be[0x6]=_0x3d55be[0x6]&0xf|0x40,_0x3d55be[0x8]=_0x3d55be[0x8]&0x3f|0x80,fn(_0x3d55be);}const z=a[_0x5344e8(0x22f)](_0x5344e8(0x262));function In(_0xaa72c8){var _0x3cdaa8=_0x5344e8;return _0x3cdaa8(0x317)+_0xaa72c8;}var En=Object[_0x5344e8(0x201)],Cn=Object[_0x5344e8(0x3d4)],Tn=(_0x25cee3,_0x3ce96d,_0x18d066,_0xa50a31)=>{for(var _0x529b7d=_0xa50a31>0x1?void 0x0:_0xa50a31?Cn(_0x3ce96d,_0x18d066):_0x3ce96d,_0xa7a0fe=_0x25cee3['length']-0x1,_0x1d9dc0;_0xa7a0fe>=0x0;_0xa7a0fe--)(_0x1d9dc0=_0x25cee3[_0xa7a0fe])&&(_0x529b7d=(_0xa50a31?_0x1d9dc0(_0x3ce96d,_0x18d066,_0x529b7d):_0x1d9dc0(_0x529b7d))||_0x529b7d);return _0xa50a31&&_0x529b7d&&En(_0x3ce96d,_0x18d066,_0x529b7d),_0x529b7d;},De=(_0x54dd45,_0x2465db)=>(_0x972902,_0x320f45)=>_0x2465db(_0x972902,_0x320f45,_0x54dd45);function bn(_0x280ffc){var _0x74bb7d=_0x5344e8;const {unitID:_0x4ae11a,mutations:_0x43d1c6}=_0x280ffc;return{'unitId':_0x4ae11a,'subUnitId':_0x43d1c6[0x0][_0x74bb7d(0x451)]['subUnitId']};}exports[_0x5344e8(0x29f)]=class{constructor(_0x372674,_0x5bc7fa,_0x57c615){var _0x22f65f=_0x5344e8;this[_0x22f65f(0x50b)]=_0x372674,this['_transformService']=_0x5bc7fa,this[_0x22f65f(0x330)]=_0x57c615;}[_0x5344e8(0x4bd)](_0x1dfaa8){var _0x4731ce=_0x5344e8,_0x162ade,_0x20bf5d,_0x491f8e,_0x3e3421;const _0x4b0e72=this[_0x4731ce(0x50b)][_0x4731ce(0x34a)](J['SheetsSelectionsService']),{unitId:_0x3eec98,subUnitId:_0x2b9e9c}=bn(_0x1dfaa8),_0x26dae3=_0x4b0e72==null?void 0x0:_0x4b0e72['getWorkbookSelections'](_0x3eec98)[_0x4731ce(0x4db)](),_0x594363=(_0x20bf5d=(_0x162ade=this[_0x4731ce(0x330)][_0x4731ce(0x51e)](_0x3eec98))==null?void 0x0:_0x162ade[_0x4731ce(0x35d)]())==null?void 0x0:_0x20bf5d[_0x4731ce(0x2d1)]();if(_0x26dae3[_0x4731ce(0x28d)]===0x0||!_0x3eec98||!_0x2b9e9c)return;const _0x471824=[{'id':J[_0x4731ce(0x46d)]['id'],'params':{'unitId':_0x3eec98,'subUnitId':_0x594363,'selections':a['Tools'][_0x4731ce(0x413)](_0x26dae3)}}],_0x5abb3a=this['_transformService'][_0x4731ce(0x2de)](_0x1dfaa8,_0x471824);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5abb3a))throw _0x5abb3a[_0x4731ce(0x438)];const _0x3ea0da=(_0x3e3421=(_0x491f8e=_0x5abb3a[_0x4731ce(0x23c)][0x0])==null?void 0x0:_0x491f8e['params'])==null?void 0x0:_0x3e3421['selections'];if(Array['isArray'](_0x3ea0da)&&_0x3ea0da[_0x4731ce(0x28d)]){if(_0x3ea0da[_0x4731ce(0x28d)]===_0x471824[0x0][_0x4731ce(0x451)][_0x4731ce(0x460)]['length']&&_0x3ea0da[_0x4731ce(0x396)]((_0x1b4f4a,_0x49185f)=>a['Rectangle']['equals'](_0x1b4f4a[_0x4731ce(0x3da)],_0x471824[0x0][_0x4731ce(0x451)][_0x4731ce(0x460)][_0x49185f]['range'])))return;this[_0x4731ce(0x50b)][_0x4731ce(0x34a)](a[_0x4731ce(0x26a)])['executeCommand'](J[_0x4731ce(0x46d)]['id'],{'unitId':_0x3eec98,'subUnitId':_0x594363,'selections':_0x3ea0da});}}},exports[_0x5344e8(0x29f)]=Tn([De(0x0,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),De(0x1,m[_0x5344e8(0x41b)]),De(0x2,a['IUniverInstanceService'])],exports[_0x5344e8(0x29f)]);const ve=a['createIdentifier'](_0x5344e8(0x4a7));var Fe=(_0x4cf25c=>(_0x4cf25c[_0x4cf25c[_0x5344e8(0x1d8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4cf25c[_0x4cf25c[_0x5344e8(0x45b)]=0x1]=_0x5344e8(0x45b),_0x4cf25c))(Fe||{});const Rn=new Set([J[_0x5344e8(0x4b5)]['id']]);function Je(_0xebd82c,_0x24849d,_0x5c2c0b,_0x2745c6,_0x151de3){var _0x50d314=_0x5344e8,_0x5d1681,_0x4b6d36,_0x48f017,_0x4548c7;const _0x1e71f7=[];for(const _0x3c3f19 of _0xebd82c)if(Rn[_0x50d314(0x2cd)](_0x3c3f19['id'])){if(_0x1e71f7[_0x50d314(0x28d)]>0x0)break;_0x1e71f7[_0x50d314(0x2a6)](_0x3c3f19);break;}else _0x1e71f7[_0x50d314(0x2a6)](_0x3c3f19);const _0x122098=(_0x4b6d36=(_0x5d1681=_0x151de3[_0x50d314(0x2f1)]())==null?void 0x0:_0x5d1681[_0x50d314(0x464)])!=null?_0x4b6d36:_0x50d314(0x281),_0x3a8ab5=(_0x4548c7=(_0x48f017=_0x151de3[_0x50d314(0x2f1)]())==null?void 0x0:_0x48f017[_0x50d314(0x4d5)])!=null?_0x4548c7:_0x50d314(0x281);return{'changeset':{'unitID':_0x24849d,'type':m['mapDocumentTypeToUniverType'](_0x5c2c0b['getUnitType'](_0x24849d)),'baseRev':_0x2745c6['getCurrentRevOfUnit'](_0x24849d),'revision':0x0,'userID':_0x122098,'memberID':_0x3a8ab5,'mutations':_0x1e71f7},'pendingMutations':_0xebd82c[_0x50d314(0x4ac)](_0x1e71f7[_0x50d314(0x28d)])};}function On(_0x29cb56,_0xe2449b,_0x4f4ba7,_0x82d14d,_0x3dcff4){var _0x2203ff=_0x5344e8,_0x2ca83c,_0x14a87b,_0xce2359,_0x381f8d;const _0x583b92=[_0x29cb56['reduce']((_0x43fa8c,_0x220d36)=>{var _0x4fefbc=_0x4b08,_0x2d723e;const {id:_0x4e318c}=_0x43fa8c,{id:_0x566b93,type:_0x3031ff}=_0x220d36,_0x2b0cb0=(_0x2d723e=_0x43fa8c['params'])!=null?_0x2d723e:{'actions':null},_0xcd6de4=_0x220d36[_0x4fefbc(0x451)];if(_0x4e318c&&_0x4e318c!==_0x566b93)throw new Error(_0x4fefbc(0x377)+_0x4e318c+_0x4fefbc(0x4b7)+_0x566b93+'.');return{..._0x43fa8c,'id':_0x566b93,'type':_0x3031ff,'params':{'unitId':_0xcd6de4[_0x4fefbc(0x51a)],'textRanges':_0xcd6de4[_0x4fefbc(0x4d0)],'actions':a['JSONX'][_0x4fefbc(0x49f)](_0x2b0cb0[_0x4fefbc(0x28f)],_0xcd6de4[_0x4fefbc(0x28f)])}};},{})],_0xa096d=(_0x14a87b=(_0x2ca83c=_0x3dcff4[_0x2203ff(0x2f1)]())==null?void 0x0:_0x2ca83c[_0x2203ff(0x464)])!=null?_0x14a87b:_0x2203ff(0x281),_0x3e3d56=(_0x381f8d=(_0xce2359=_0x3dcff4['getCurrentUser']())==null?void 0x0:_0xce2359[_0x2203ff(0x4d5)])!=null?_0x381f8d:_0x2203ff(0x281);return{'changeset':{'unitID':_0xe2449b,'type':m[_0x2203ff(0x504)](_0x4f4ba7[_0x2203ff(0x322)](_0xe2449b)),'baseRev':_0x82d14d[_0x2203ff(0x4fb)](_0xe2449b),'revision':0x0,'userID':_0xa096d,'memberID':_0x3e3d56,'mutations':_0x583b92},'pendingMutations':[]};}function Nt(_0x49569a,_0x5d1a95){var _0x45d557=_0x5344e8;const _0x509e99=new H[(_0x45d557(0x38f))](0x1);return setTimeout(()=>_0x509e99[_0x45d557(0x35a)](_0x5d1a95),_0x49569a),_0x509e99[_0x45d557(0x458)]()['pipe'](H[_0x45d557(0x4d6)](0x1));}const yn={'id':J[_0x5344e8(0x270)]['id'],'type':a[_0x5344e8(0x445)]['MUTATION'],'params':{}};var Nn=Object[_0x5344e8(0x201)],Un=Object[_0x5344e8(0x3d4)],le=(_0x597416,_0x406c9d,_0x11b37e,_0xdac6f6)=>{for(var _0x46d466=_0xdac6f6>0x1?void 0x0:_0xdac6f6?Un(_0x406c9d,_0x11b37e):_0x406c9d,_0x5574b7=_0x597416['length']-0x1,_0x20906b;_0x5574b7>=0x0;_0x5574b7--)(_0x20906b=_0x597416[_0x5574b7])&&(_0x46d466=(_0xdac6f6?_0x20906b(_0x406c9d,_0x11b37e,_0x46d466):_0x20906b(_0x46d466))||_0x46d466);return _0xdac6f6&&_0x46d466&&Nn(_0x406c9d,_0x11b37e,_0x46d466),_0x46d466;},A=(_0x570c5b,_0x37db17)=>(_0x5c106c,_0x369f84)=>_0x37db17(_0x5c106c,_0x369f84,_0x570c5b),We=(_0x2900ba=>(_0x2900ba['NOT_COLLAB']=_0x5344e8(0x433),_0x2900ba['SYNCED']='synced',_0x2900ba[_0x5344e8(0x228)]=_0x5344e8(0x1ca),_0x2900ba[_0x5344e8(0x338)]=_0x5344e8(0x345),_0x2900ba[_0x5344e8(0x39f)]=_0x5344e8(0x407),_0x2900ba[_0x5344e8(0x4ee)]=_0x5344e8(0x502),_0x2900ba[_0x5344e8(0x2cc)]=_0x5344e8(0x515),_0x2900ba[_0x5344e8(0x29b)]=_0x5344e8(0x2da),_0x2900ba))(We||{});const Ut=0xea60;class _e{constructor(_0x1a0ad9,_0x952ce1,_0x3703cc,_0x1a468f,_0xd08219,_0x5495e8,_0x1befae,_0x2022cf,_0x59119c){var _0x5ed86b=_0x5344e8;D(this,_0x5ed86b(0x1c2),null),D(this,'_pendingMutations',[]),(this[_0x5ed86b(0x1c7)]=_0x1a0ad9,this[_0x5ed86b(0x383)]=_0x952ce1,this[_0x5ed86b(0x46b)]=_0xd08219,this['_commandService']=_0x5495e8,this[_0x5ed86b(0x4d3)]=_0x1befae,this[_0x5ed86b(0x23a)]=_0x2022cf,this[_0x5ed86b(0x33a)]=_0x59119c,this[_0x5ed86b(0x1c2)]=_0x3703cc,this[_0x5ed86b(0x267)]=_0x1a468f);}[_0x5344e8(0x22d)](_0x59a6a6){var _0x5ce62f=_0x5344e8;const _0x564eb2=this[_0x5ce62f(0x23a)][_0x5ce62f(0x4fb)](this[_0x5ce62f(0x1c7)]);return _0x59a6a6[_0x5ce62f(0x3b9)]>_0x564eb2+0x1?(this[_0x5ce62f(0x46b)][_0x5ce62f(0x251)]({'from':_0x564eb2,'to':_0x59a6a6['revision']-0x1}),!0x0):!0x1;}[_0x5344e8(0x32b)](_0x55b24f){var _0x2dee5c=_0x5344e8;this[_0x2dee5c(0x4d3)][_0x2dee5c(0x291)](this[_0x2dee5c(0x1c7)],_0x55b24f);}[_0x5344e8(0x2d6)](_0x2810a3){var _0x4d584d=_0x5344e8,_0x22a72e,_0x25b477;(_0x25b477=(_0x22a72e=this[_0x4d584d(0x46b)])[_0x4d584d(0x529)])==null||_0x25b477[_0x4d584d(0x1e8)](_0x22a72e,_0x2810a3);}['_transformIMECache'](_0x251b76){var _0x70c9db=_0x5344e8,_0x2df8bc,_0x3968bf;return(_0x3968bf=(_0x2df8bc=this[_0x70c9db(0x46b)])[_0x70c9db(0x4f8)])==null?void 0x0:_0x3968bf['call'](_0x2df8bc,_0x251b76);}[_0x5344e8(0x48e)](_0x204d28){var _0x18a96d=_0x5344e8,_0x1de714,_0x4d5f46;return(_0x4d5f46=(_0x1de714=this[_0x18a96d(0x46b)])[_0x18a96d(0x47f)])==null?void 0x0:_0x4d5f46[_0x18a96d(0x1e8)](_0x1de714,_0x204d28);}[_0x5344e8(0x227)](_0x48e43c){var _0x3ec876=_0x5344e8,_0x246ed8,_0xa2ec1,_0x34d8d5;return(_0x34d8d5=(_0xa2ec1=(_0x246ed8=this[_0x3ec876(0x46b)])[_0x3ec876(0x3b3)])==null?void 0x0:_0xa2ec1[_0x3ec876(0x1e8)](_0x246ed8,_0x48e43c))!=null?_0x34d8d5:_0x48e43c;}[_0x5344e8(0x21e)](_0x13fe60){var _0x5508ae=_0x5344e8,_0x4aedbe,_0x218323,_0xc53854;return(_0xc53854=(_0x218323=(_0x4aedbe=this['_handler'])[_0x5508ae(0x1d0)])==null?void 0x0:_0x218323[_0x5508ae(0x1e8)](_0x4aedbe,_0x13fe60))!=null?_0xc53854:_0x13fe60;}[_0x5344e8(0x4cb)](_0x21a8a7){var _0x37233a=_0x5344e8,_0x2f2951,_0x300d3c;if(this['type']===Z[_0x37233a(0x3ba)]){const {unitID:_0x33c6ac,mutations:_0x4c9698,memberID:_0x3a69a3}=_0x21a8a7,_0x594ea4=_0x4c9698[0x0][_0x37233a(0x451)]['textRanges'];Array['isArray'](_0x594ea4)&&_0x594ea4[_0x37233a(0x28d)]>0x0&&((_0x300d3c=(_0x2f2951=this['_handler'])[_0x37233a(0x351)])==null||_0x300d3c[_0x37233a(0x1e8)](_0x2f2951,{'unitID':_0x33c6ac,'memberID':_0x3a69a3,'textRanges':_0x594ea4}));}}['_updateLocalCache'](){var _0x1a01db=_0x5344e8,_0x31ad71;(_0x31ad71=this[_0x1a01db(0x33a)])==null||_0x31ad71[_0x1a01db(0x1eb)](this[_0x1a01db(0x1c7)],this['type'],this[_0x1a01db(0x1c2)],this['_pendingMutations']);}[_0x5344e8(0x208)](){var _0x3cc7b5=_0x5344e8;return this[_0x3cc7b5(0x23a)][_0x3cc7b5(0x4fb)](this['unitID']);}['_incrementRevisionNumber'](){var _0x5412e0=_0x5344e8;this[_0x5412e0(0x23a)][_0x5412e0(0x2fc)](this[_0x5412e0(0x1c7)]);}['_executeRemoteChangeset'](_0x566f93){var _0x23a362=_0x5344e8,_0xc8a854;let _0x3cf245=this[_0x23a362(0x227)](_0x566f93);_0x3cf245=this[_0x23a362(0x21e)](_0x3cf245);const _0x4f9497=a[_0x23a362(0x26e)](_0x3cf245[_0x23a362(0x462)],this[_0x23a362(0x4bb)],{'fromCollab':!0x0});if(!_0x4f9497['result'])throw _0x4f9497[_0x23a362(0x438)]instanceof Error?_0x4f9497[_0x23a362(0x438)]:new Error((_0xc8a854=_0x4f9497[_0x23a362(0x438)])!=null?_0xc8a854:'[CollaborationState]:\x20apply\x20error!');this[_0x23a362(0x375)](_0x3cf245),this[_0x23a362(0x48e)](_0x3cf245),this[_0x23a362(0x32b)](_0x566f93),this['_transformSelections'](_0x3cf245),this['_syncEditingCollabCursor'](_0x3cf245),this[_0x23a362(0x411)]();}}exports['SyncedState']=class extends _e{constructor(_0x4d74b6,_0xad3be3,_0x48fc69,_0x1d1fd8,_0x3f3a3c,_0x3f4a41,_0x36a542,_0x3d3124,_0x4a9e55,_0x120b8d){var _0x3915e1=_0x5344e8;super(_0x4d74b6,_0xad3be3,null,[],_0x48fc69,_0x36a542,_0x3f4a41,_0x1d1fd8,_0x120b8d),D(this,_0x3915e1(0x274),_0x3915e1(0x3cd)),(this[_0x3915e1(0x50b)]=_0x3f3a3c,this[_0x3915e1(0x282)]=_0x3d3124,this[_0x3915e1(0x27f)]=_0x4a9e55,this[_0x3915e1(0x259)]=_0x120b8d);}['appendMutation'](_0x29e37f){var _0x11c943=_0x5344e8;const _0x29831a=this[_0x11c943(0x50b)][_0x11c943(0x2ec)](exports[_0x11c943(0x34d)],this[_0x11c943(0x1c7)],this[_0x11c943(0x383)],[_0x29e37f],this['_handler']);return _0x29831a['_schedule'](),_0x29831a[_0x11c943(0x506)](),_0x29831a;}[_0x5344e8(0x441)](_0x122119){var _0x1da16d=_0x5344e8;if(this['_checkMissing'](_0x122119))return this[_0x1da16d(0x50b)][_0x1da16d(0x2ec)](exports[_0x1da16d(0x42f)],this['unitID'],this[_0x1da16d(0x383)],null,[],null,[_0x122119],this[_0x1da16d(0x46b)]);try{const _0x453791=this[_0x1da16d(0x27f)][_0x1da16d(0x2de)](_0x122119,[yn]);if(m[_0x1da16d(0x1b7)](_0x453791)){const {c1Prime:_0x47d205}=_0x453791;return this[_0x1da16d(0x367)](_0x47d205),this;}throw _0x453791[_0x1da16d(0x438)];}catch(_0x2d4db0){return this[_0x1da16d(0x282)][_0x1da16d(0x438)](_0x2d4db0),this[_0x1da16d(0x1ea)](!0x1);}}[_0x5344e8(0x1ea)](_0x3de45e){var _0x451df2=_0x5344e8;return this[_0x451df2(0x50b)][_0x451df2(0x2ec)](exports[_0x451df2(0x348)],this['unitID'],this[_0x451df2(0x383)],null,[],this[_0x451df2(0x46b)],_0x3de45e);}[_0x5344e8(0x225)](){var _0x545303=_0x5344e8;throw new Error(_0x545303(0x42e));}[_0x5344e8(0x4e0)](){var _0xcc084e=_0x5344e8;throw new Error(_0xcc084e(0x346));}['onRemoteRetry'](){return this;}[_0x5344e8(0x33c)](){var _0x532cb1=_0x5344e8;return this[_0x532cb1(0x50b)]['createInstance'](exports['OfflineState'],this[_0x532cb1(0x1c7)],this['type'],null,[],this[_0x532cb1(0x46b)]);}['toggleOnline'](){return this;}[_0x5344e8(0x1dd)](){var _0x71c9b=_0x5344e8;throw new Error(_0x71c9b(0x316));}[_0x5344e8(0x3ea)](){var _0x34e980=_0x5344e8;const _0x26b054=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x34e980(0x46b)]['onMissingChangesets']({'from':_0x26b054,'to':0x0}),this[_0x34e980(0x50b)][_0x34e980(0x2ec)](exports['FetchingMissState'],this[_0x34e980(0x1c7)],this[_0x34e980(0x383)],null,[],null,[],this['_handler']);}},exports['SyncedState']=le([A(0x3,a['Inject'](m[_0x5344e8(0x2b7)])),A(0x4,a[_0x5344e8(0x21d)](a['Injector'])),A(0x5,a[_0x5344e8(0x3e4)]),A(0x6,a[_0x5344e8(0x26a)]),A(0x7,a[_0x5344e8(0x3b4)]),A(0x8,m[_0x5344e8(0x41b)]),A(0x9,a['Optional'](z))],exports['SyncedState']),exports[_0x5344e8(0x34d)]=class extends _e{constructor(_0x372273,_0x5cce5f,_0x4f5bc8,_0x392365,_0x25a04b,_0x2bfe4f,_0x1c897f,_0x67acd,_0x1d27dd,_0x475859,_0x40a227,_0x42d7f5,_0x4bc793,_0x5cd8e2){var _0x204c4a=_0x5344e8;super(_0x372273,_0x5cce5f,null,_0x4f5bc8,_0x392365,_0x1d27dd,_0x4bc793,_0x2bfe4f,_0x5cd8e2),D(this,'status',_0x204c4a(0x1ca)),D(this,_0x204c4a(0x280),null),D(this,_0x204c4a(0x3d1),null),(this[_0x204c4a(0x50b)]=_0x25a04b,this[_0x204c4a(0x27d)]=_0x1c897f,this[_0x204c4a(0x282)]=_0x67acd,this[_0x204c4a(0x21a)]=_0x475859,this['_transformService']=_0x40a227,this[_0x204c4a(0x29a)]=_0x42d7f5);}['appendMutation'](_0x5b2197){var _0x4bc62a=_0x5344e8;return this[_0x4bc62a(0x267)][_0x4bc62a(0x2a6)](_0x5b2197),this[_0x4bc62a(0x506)](),this;}[_0x5344e8(0x441)](_0x5cdaeb){var _0x43787e=_0x5344e8;if(this[_0x43787e(0x22d)](_0x5cdaeb))return this['_clearScheduledTask'](),this['_injector'][_0x43787e(0x2ec)](exports['FetchingMissState'],this[_0x43787e(0x1c7)],this[_0x43787e(0x383)],null,this[_0x43787e(0x267)],null,[_0x5cdaeb],this['_handler']);try{const _0x196f43=this['_transformService'][_0x43787e(0x2de)](_0x5cdaeb,this[_0x43787e(0x267)]);if(m[_0x43787e(0x1b7)](_0x196f43)){const {c1Prime:_0x256d93,m2Prime:_0x300123}=_0x196f43;this['_executeRemoteChangeset'](_0x256d93);const _0x2b9422=this[_0x43787e(0x50b)]['createInstance'](exports[_0x43787e(0x34d)],this[_0x43787e(0x1c7)],this['type'],_0x300123,this['_handler']);this['_clearScheduledTask']();const _0xc79313=new Date()[_0x43787e(0x382)](),_0x3330c1=this[_0x43787e(0x280)]?Math[_0x43787e(0x4c8)](this['_scheduleCompleteTimestamp']-_0xc79313,0x0):this[_0x43787e(0x1cc)]();return _0x2b9422['_schedule'](_0x3330c1),_0x2b9422;}throw _0x196f43[_0x43787e(0x438)];}catch(_0x4b5bd1){return this['_logService'][_0x43787e(0x438)](_0x4b5bd1),this['_onConflict'](!0x1);}}[_0x5344e8(0x225)](){var _0x2118a9=_0x5344e8;throw new Error(_0x2118a9(0x32e));}[_0x5344e8(0x4e0)](){var _0x4ca20f=_0x5344e8;throw new Error(_0x4ca20f(0x378));}[_0x5344e8(0x273)](){return this;}[_0x5344e8(0x33c)](){var _0x45912c=_0x5344e8;return this[_0x45912c(0x323)](),this[_0x45912c(0x50b)][_0x45912c(0x2ec)](exports[_0x45912c(0x1cb)],this[_0x45912c(0x1c7)],this[_0x45912c(0x383)],null,this[_0x45912c(0x267)],this['_handler']);}[_0x5344e8(0x3b6)](){return this;}[_0x5344e8(0x3fa)](_0x304d72){var _0x1d5e57=_0x5344e8;const _0x4d8f2d=_0x304d72!=null?_0x304d72:this[_0x1d5e57(0x1cc)]();this[_0x1d5e57(0x280)]=new Date()[_0x1d5e57(0x382)]()+_0x4d8f2d,this[_0x1d5e57(0x3d1)]=setTimeout(()=>{var _0x430d5e=_0x1d5e57;this[_0x430d5e(0x323)]();let _0x1d1c00=null;switch(this[_0x430d5e(0x383)]){case Z[_0x430d5e(0x237)]:{_0x1d1c00=Je(this['_pendingMutations'],this[_0x430d5e(0x1c7)],this[_0x430d5e(0x29a)],this[_0x430d5e(0x23a)],this[_0x430d5e(0x27d)]);break;}case Z[_0x430d5e(0x3ba)]:{this['_pendingMutations'][_0x430d5e(0x396)](_0x2eb76e=>_0x2eb76e['id']===dt[_0x430d5e(0x26c)]['id'])?_0x1d1c00=On(this['_pendingMutations'],this[_0x430d5e(0x1c7)],this[_0x430d5e(0x29a)],this[_0x430d5e(0x23a)],this[_0x430d5e(0x27d)]):_0x1d1c00=Je(this[_0x430d5e(0x267)],this[_0x430d5e(0x1c7)],this[_0x430d5e(0x29a)],this[_0x430d5e(0x23a)],this[_0x430d5e(0x27d)]);break;}default:throw new Error(_0x430d5e(0x3ef)+this[_0x430d5e(0x383)]+_0x430d5e(0x3cf));}const {changeset:_0x37b194,pendingMutations:_0x3edf4f}=_0x1d1c00;this[_0x430d5e(0x46b)][_0x430d5e(0x44e)](_0x37b194);const _0xe2d1d1=_0x3edf4f[_0x430d5e(0x28d)]?this[_0x430d5e(0x50b)][_0x430d5e(0x2ec)](exports[_0x430d5e(0x3bb)],this['unitID'],this[_0x430d5e(0x383)],_0x37b194,_0x3edf4f,this[_0x430d5e(0x46b)],void 0x0):this[_0x430d5e(0x50b)][_0x430d5e(0x2ec)](exports['AwaitingState'],this[_0x430d5e(0x1c7)],this[_0x430d5e(0x383)],_0x37b194,this[_0x430d5e(0x46b)]);_0xe2d1d1[_0x430d5e(0x506)](),this[_0x430d5e(0x46b)][_0x430d5e(0x361)](this,_0xe2d1d1);},_0x4d8f2d);}[_0x5344e8(0x1cc)](){var _0x5afd70=_0x5344e8,_0x38ebd1;const _0x3e30e5=this['_configService']['getConfig'](Y);return(_0x38ebd1=_0x3e30e5==null?void 0x0:_0x3e30e5[_0x5afd70(0x362)])!=null?_0x38ebd1:Bt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x2fa21a=_0x5344e8;this[_0x2fa21a(0x3d1)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2fa21a(0x3d1)]=null);}[_0x5344e8(0x1ea)](_0x40f9ee){var _0x72a714=_0x5344e8;return this[_0x72a714(0x323)](),this[_0x72a714(0x50b)][_0x72a714(0x2ec)](exports['ConflictState'],this['unitID'],this[_0x72a714(0x383)],null,this[_0x72a714(0x267)],this[_0x72a714(0x46b)],_0x40f9ee);}},exports['PendingState']=le([A(0x4,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),A(0x5,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),A(0x6,a['Inject'](exports[_0x5344e8(0x51f)])),A(0x7,a[_0x5344e8(0x3b4)]),A(0x8,a[_0x5344e8(0x26a)]),A(0x9,a[_0x5344e8(0x470)]),A(0xa,m[_0x5344e8(0x41b)]),A(0xb,a[_0x5344e8(0x1ba)]),A(0xc,a['IUndoRedoService']),A(0xd,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x34d)]),exports[_0x5344e8(0x4e3)]=class extends _e{constructor(_0x343a06,_0x534670,_0x1d765f,_0x5609a7,_0x4a84e6,_0x4492a2,_0x7f73d,_0x3d30e7,_0x1d75c8,_0x10308b,_0x3876ba){var _0x43e1f1=_0x5344e8;super(_0x343a06,_0x534670,_0x1d765f,[],_0x5609a7,_0x7f73d,_0x10308b,_0x4492a2,_0x3876ba),D(this,'status',_0x43e1f1(0x345)),D(this,'_resendTimeout',0x0),D(this,_0x43e1f1(0x293)),D(this,_0x43e1f1(0x39a)),(this[_0x43e1f1(0x50b)]=_0x4a84e6,this[_0x43e1f1(0x282)]=_0x3d30e7,this[_0x43e1f1(0x27f)]=_0x1d75c8);}[_0x5344e8(0x4f1)](_0x239cd7){var _0x5e37de=_0x5344e8;this['_clearScheduledTask']();const _0x18f5ab=this[_0x5e37de(0x50b)]['createInstance'](exports[_0x5e37de(0x3bb)],this['unitID'],this[_0x5e37de(0x383)],this[_0x5e37de(0x1c2)],[_0x239cd7],this[_0x5e37de(0x46b)],this[_0x5e37de(0x293)]);return _0x18f5ab[_0x5e37de(0x506)](),_0x18f5ab;}[_0x5344e8(0x441)](_0x3fa9a6){var _0x4bf8b4=_0x5344e8;if(this['_checkMissing'](_0x3fa9a6))return this[_0x4bf8b4(0x323)](),this[_0x4bf8b4(0x50b)][_0x4bf8b4(0x2ec)](exports['FetchingMissState'],this[_0x4bf8b4(0x1c7)],this[_0x4bf8b4(0x383)],this[_0x4bf8b4(0x1c2)],[],null,[_0x3fa9a6],this['_handler']);try{const _0x1bcb29=this['_transformService'][_0x4bf8b4(0x1fe)]([_0x3fa9a6],[this[_0x4bf8b4(0x1c2)]],!0x1);if(m[_0x4bf8b4(0x212)](_0x1bcb29)){const {c1Prime:_0x3df0a1,c2Prime:_0x2746ca}=_0x1bcb29;this[_0x4bf8b4(0x367)](_0x3df0a1[0x0]),_0x2746ca[0x0][_0x4bf8b4(0x2c7)]=this[_0x4bf8b4(0x208)](),this[_0x4bf8b4(0x323)]();const _0x6985e3=this[_0x4bf8b4(0x50b)][_0x4bf8b4(0x2ec)](exports[_0x4bf8b4(0x4e3)],this['unitID'],this[_0x4bf8b4(0x383)],_0x2746ca[0x0],this[_0x4bf8b4(0x46b)]);return _0x6985e3[_0x4bf8b4(0x506)](),_0x6985e3;}return this[_0x4bf8b4(0x1ea)](!0x1);}catch(_0x309823){return this[_0x4bf8b4(0x282)][_0x4bf8b4(0x438)](_0x309823),this[_0x4bf8b4(0x1ea)](!0x1);}}[_0x5344e8(0x225)](_0x37f55c){var _0x3f2e50=_0x5344e8;this[_0x3f2e50(0x323)]();const _0x4a5873=this[_0x3f2e50(0x23a)][_0x3f2e50(0x4fb)](this[_0x3f2e50(0x1c7)]);if(_0x37f55c['revision']<_0x4a5873-0x1)return this;if(this['_checkMissing'](_0x37f55c))return this[_0x3f2e50(0x50b)]['createInstance'](exports['FetchingMissState'],this[_0x3f2e50(0x1c7)],this['type'],null,[],this[_0x3f2e50(0x1c2)],[],this[_0x3f2e50(0x46b)]);this[_0x3f2e50(0x411)]();const _0x3dc85b=this[_0x3f2e50(0x50b)][_0x3f2e50(0x2ec)](exports[_0x3f2e50(0x2c4)],this['unitID'],this['type'],this[_0x3f2e50(0x46b)]);return _0x3dc85b[_0x3f2e50(0x506)](),_0x3dc85b;}['onRemoteRej'](_0x475e68){var _0x40a78c=_0x5344e8;return this[_0x40a78c(0x1ea)](!!(_0x475e68!=null&&_0x475e68[_0x40a78c(0x219)]));}['onRemoteRetry'](_0x51089c){var _0x53b745=_0x5344e8;return this['_resendTimeout']>Ut?this[_0x53b745(0x33c)]():(this[_0x53b745(0x293)]=Nt(this[_0x53b745(0x3ce)],{'timeout':this[_0x53b745(0x3ce)],'reqId':_0x51089c['reqId']}),this[_0x53b745(0x39a)]=this[_0x53b745(0x293)][_0x53b745(0x366)](({reqId:_0x15800f,timeout:_0x1aad68})=>{this['_resendWithTimeout'](_0x15800f,_0x1aad68);}),this);}[_0x5344e8(0x33c)](){var _0x155e39=_0x5344e8;return this[_0x155e39(0x323)](),this[_0x155e39(0x50b)][_0x155e39(0x2ec)](exports[_0x155e39(0x1cb)],this[_0x155e39(0x1c7)],this['type'],this[_0x155e39(0x1c2)],[],this[_0x155e39(0x46b)]);}['toggleOnline'](){return this;}[_0x5344e8(0x1dd)](){var _0x877dc8=_0x5344e8;this['_handler']['onSendChangeset'](this[_0x877dc8(0x1c2)]);}[_0x5344e8(0x1ea)](_0x5d8520){var _0x517e8f=_0x5344e8;return this[_0x517e8f(0x323)](),this[_0x517e8f(0x50b)][_0x517e8f(0x2ec)](exports[_0x517e8f(0x348)],this[_0x517e8f(0x1c7)],this[_0x517e8f(0x383)],this[_0x517e8f(0x1c2)],[],this[_0x517e8f(0x46b)],_0x5d8520);}[_0x5344e8(0x30c)](_0x3ca5fd,_0x2eab28){var _0x3d1ca0=_0x5344e8,_0x37da5e;_0x3ca5fd===((_0x37da5e=this[_0x3d1ca0(0x1c2)])==null?void 0x0:_0x37da5e[_0x3d1ca0(0x4e1)])&&(this[_0x3d1ca0(0x1dd)](),this[_0x3d1ca0(0x3ce)]=_0x2eab28===0x0?0x3e8:_0x2eab28*0x2);}[_0x5344e8(0x323)](){var _0x2ea807=_0x5344e8,_0x5ed439;(_0x5ed439=this[_0x2ea807(0x39a)])==null||_0x5ed439[_0x2ea807(0x3ad)](),this[_0x2ea807(0x3ce)]=0x0;}},exports[_0x5344e8(0x4e3)]=le([A(0x4,a['Inject'](a[_0x5344e8(0x494)])),A(0x5,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),A(0x6,a[_0x5344e8(0x26a)]),A(0x7,a[_0x5344e8(0x3b4)]),A(0x8,m[_0x5344e8(0x41b)]),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x5344e8(0x524)](z))],exports['AwaitingState']),exports[_0x5344e8(0x3bb)]=class extends _e{constructor(_0x5911d8,_0x40428f,_0x522c87,_0x3fb947,_0x38f11f,_0x3002f5,_0x2882de,_0x22ca5b,_0x454def,_0x5d02b6,_0x54d2c7,_0x16169d,_0x207a11){var _0x598832=_0x5344e8;super(_0x5911d8,_0x40428f,_0x522c87,_0x3fb947,_0x38f11f,_0x454def,_0x16169d,_0x22ca5b,_0x207a11),D(this,'status',_0x598832(0x407)),D(this,_0x598832(0x3ce),0x0),D(this,_0x598832(0x293)),D(this,_0x598832(0x39a)),(this[_0x598832(0x50b)]=_0x2882de,this[_0x598832(0x282)]=_0x5d02b6,this[_0x598832(0x27f)]=_0x54d2c7,this['localCacheService']=_0x207a11,_0x3002f5&&(this[_0x598832(0x293)]=_0x3002f5,this[_0x598832(0x39a)]=this[_0x598832(0x293)]['subscribe'](({reqId:_0x454e3b,timeout:_0x26ddfb})=>{var _0x34df6f=_0x598832;this[_0x34df6f(0x30c)](_0x454e3b,_0x26ddfb);})));}[_0x5344e8(0x4f1)](_0x28cfeb){var _0x522439=_0x5344e8;return this[_0x522439(0x267)][_0x522439(0x2a6)](_0x28cfeb),this;}[_0x5344e8(0x441)](_0x5789dc){var _0x53e4e7=_0x5344e8;if(this['_checkMissing'](_0x5789dc))return this[_0x53e4e7(0x323)](),this[_0x53e4e7(0x50b)][_0x53e4e7(0x2ec)](exports[_0x53e4e7(0x42f)],this['unitID'],this[_0x53e4e7(0x383)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x5789dc],this[_0x53e4e7(0x46b)]);try{const _0x3b6380=this[_0x53e4e7(0x27f)][_0x53e4e7(0x1fe)]([_0x5789dc],[this[_0x53e4e7(0x1c2)]],!0x1);if(m[_0x53e4e7(0x212)](_0x3b6380)){const {c1Prime:_0x1c70a0,c2Prime:_0x1792e8}=_0x3b6380,_0xc7df69=this[_0x53e4e7(0x27f)][_0x53e4e7(0x2de)](_0x1c70a0[0x0],this[_0x53e4e7(0x267)]);if(m[_0x53e4e7(0x1b7)](_0xc7df69)){const {c1Prime:_0x1c4571,m2Prime:_0x1c9eb0}=_0xc7df69;return this['_executeRemoteChangeset'](_0x1c4571),_0x1792e8[0x0][_0x53e4e7(0x2c7)]=this[_0x53e4e7(0x208)](),this['_clearScheduledTask'](),this[_0x53e4e7(0x50b)]['createInstance'](exports[_0x53e4e7(0x3bb)],this['unitID'],this[_0x53e4e7(0x383)],_0x1792e8[0x0],_0x1c9eb0,this[_0x53e4e7(0x46b)],void 0x0);}throw _0xc7df69['error'];}throw _0x3b6380[_0x53e4e7(0x438)];}catch(_0x58f040){return this['_logService'][_0x53e4e7(0x438)](_0x58f040),this[_0x53e4e7(0x1ea)](!0x1);}}['onRemoteAck'](_0x29f661){var _0x2655bc=_0x5344e8;if(this['_clearScheduledTask'](),this[_0x2655bc(0x22d)](_0x29f661))return this[_0x2655bc(0x50b)][_0x2655bc(0x2ec)](exports[_0x2655bc(0x42f)],this[_0x2655bc(0x1c7)],this['type'],null,this['_pendingMutations'],this[_0x2655bc(0x1c2)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1146f6=this[_0x2655bc(0x50b)][_0x2655bc(0x2ec)](exports[_0x2655bc(0x34d)],this[_0x2655bc(0x1c7)],this['type'],this[_0x2655bc(0x267)],this[_0x2655bc(0x46b)]);return _0x1146f6[_0x2655bc(0x3fa)](),_0x1146f6[_0x2655bc(0x506)](),_0x1146f6;}['onRemoteRej'](_0x563e0f){var _0x2cba4c=_0x5344e8;return this[_0x2cba4c(0x1ea)](!!(_0x563e0f!=null&&_0x563e0f['isPermissionRej']));}[_0x5344e8(0x273)](_0x100661){var _0x1ba37e=_0x5344e8;return this[_0x1ba37e(0x3ce)]>Ut?this[_0x1ba37e(0x33c)]():(this[_0x1ba37e(0x293)]=Nt(this[_0x1ba37e(0x3ce)],{'timeout':this[_0x1ba37e(0x3ce)],'reqId':_0x100661[_0x1ba37e(0x4e1)]}),this[_0x1ba37e(0x39a)]=this[_0x1ba37e(0x293)]['subscribe'](({reqId:_0x5eb6c3,timeout:_0x39bda1})=>{var _0x53615b=_0x1ba37e;this[_0x53615b(0x30c)](_0x5eb6c3,_0x39bda1);}),this);}[_0x5344e8(0x33c)](){var _0x3f9f39=_0x5344e8;return this[_0x3f9f39(0x323)](),this[_0x3f9f39(0x50b)][_0x3f9f39(0x2ec)](exports['OfflineState'],this['unitID'],this['type'],this[_0x3f9f39(0x1c2)],this[_0x3f9f39(0x267)],this['_handler']);}['toggleOnline'](){return this;}[_0x5344e8(0x1dd)](){var _0x21fd4a=_0x5344e8;this[_0x21fd4a(0x46b)][_0x21fd4a(0x44e)](this[_0x21fd4a(0x1c2)]);}[_0x5344e8(0x1ea)](_0x4a65e3){var _0x30a397=_0x5344e8;return this[_0x30a397(0x323)](),this[_0x30a397(0x50b)]['createInstance'](exports['ConflictState'],this[_0x30a397(0x1c7)],this['type'],null,this['_pendingMutations'],this[_0x30a397(0x46b)],_0x4a65e3);}['_resendWithTimeout'](_0x4ab0c3,_0x5b5cb5){var _0x216043=_0x5344e8,_0x4c991d;_0x4ab0c3===((_0x4c991d=this[_0x216043(0x1c2)])==null?void 0x0:_0x4c991d[_0x216043(0x4e1)])&&(this[_0x216043(0x1dd)](),this[_0x216043(0x3ce)]=_0x5b5cb5===0x0?0x3e8:_0x5b5cb5*0x2);}['_clearScheduledTask'](){var _0x485acf=_0x5344e8,_0x1f0b57;(_0x1f0b57=this[_0x485acf(0x39a)])==null||_0x1f0b57[_0x485acf(0x3ad)](),this[_0x485acf(0x3ce)]=0x0;}},exports[_0x5344e8(0x3bb)]=le([A(0x6,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),A(0x7,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),A(0x8,a[_0x5344e8(0x26a)]),A(0x9,a['ILogService']),A(0xa,m[_0x5344e8(0x41b)]),A(0xb,a[_0x5344e8(0x3e4)]),A(0xc,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x3bb)]),exports[_0x5344e8(0x348)]=class extends _e{constructor(_0x5b9c3f,_0x32251c,_0x1cc76f,_0x2adaf1,_0x48f04f,_0x3f3357=!0x1,_0x74dda1,_0x14148f,_0x5e883e,_0x1fb431,_0xbec271,_0x9ddcfe,_0xe4096d){var _0x48784a=_0x5344e8;super(_0x5b9c3f,_0x32251c,_0x1cc76f,_0x2adaf1,_0x48f04f,_0x14148f,_0x5e883e,_0x1fb431,_0xe4096d),D(this,_0x48784a(0x274),'conflict'),(this[_0x48784a(0x25c)]=_0x3f3357,this[_0x48784a(0x1e7)]=_0x74dda1,this['_localeService']=_0xbec271,this['_collaborationUIEventService']=_0x9ddcfe,this[_0x48784a(0x259)]=_0xe4096d,this[_0x48784a(0x1e2)](),this[_0x48784a(0x44b)](),this['_disableEditing']());}[_0x5344e8(0x4f1)](){return this;}[_0x5344e8(0x441)](){return this;}[_0x5344e8(0x225)](){return this;}[_0x5344e8(0x4e0)](){return this;}[_0x5344e8(0x273)](){return this;}[_0x5344e8(0x33c)](){return this;}['toggleOnline'](){return this;}[_0x5344e8(0x1dd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5344e8(0x44b)](){var _0x59ca97=_0x5344e8,_0x34e20c;(_0x34e20c=this[_0x59ca97(0x33a)])==null||_0x34e20c['updateOfflineData'](this[_0x59ca97(0x1c7)],this[_0x59ca97(0x383)],null,[]);}['_showConflictNotification'](){var _0x5efec5=_0x5344e8;this[_0x5efec5(0x25c)]?this[_0x5efec5(0x404)]['emitEvent']({'id':Q[_0x5efec5(0x3c6)]}):this[_0x5efec5(0x404)][_0x5efec5(0x485)]({'id':Q['CONFLICT']});}[_0x5344e8(0x2ee)](){var _0x554c09=_0x5344e8;this[_0x554c09(0x1e7)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x554c09(0x1c7)])['id'],!0x1);}},exports[_0x5344e8(0x348)]=le([A(0x6,a[_0x5344e8(0x21d)](a[_0x5344e8(0x2f6)])),A(0x7,a['ICommandService']),A(0x8,a[_0x5344e8(0x3e4)]),A(0x9,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),A(0xa,a['Inject'](a[_0x5344e8(0x35f)])),A(0xb,a[_0x5344e8(0x21d)](te)),A(0xc,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x348)]),exports[_0x5344e8(0x1cb)]=class extends _e{constructor(_0x49e770,_0x3a7828,_0x3c5567,_0x1b3708,_0x45f403,_0x2eeeac,_0x19de2f,_0x2e4bcc,_0x1fed58,_0x49f15f){var _0x1d097d=_0x5344e8;super(_0x49e770,_0x3a7828,_0x3c5567,_0x1b3708,_0x45f403,_0x2e4bcc,_0x1fed58,_0x19de2f,_0x49f15f),D(this,_0x1d097d(0x274),_0x1d097d(0x2da)),this[_0x1d097d(0x50b)]=_0x2eeeac;}[_0x5344e8(0x4f1)](_0x377d0c){var _0xe87839=_0x5344e8;return this['_pendingMutations'][_0xe87839(0x2a6)](_0x377d0c),this[_0xe87839(0x506)](),this;}[_0x5344e8(0x441)](_0x23fde9){var _0xf6dd4c=_0x5344e8;throw new Error(_0xf6dd4c(0x36d));}[_0x5344e8(0x225)](){var _0x3737f2=_0x5344e8;throw new Error(_0x3737f2(0x428));}[_0x5344e8(0x4e0)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5344e8(0x33c)](){return this;}['toggleOnline'](){var _0x292d5f=_0x5344e8;const {_injector:_0x11b604,_pendingMutations:_0x27fde8,_awaitingChangeset:_0x22fe7c,unitID:_0x56ee1f,_handler:_0x1c733f,type:_0x31a908}=this,_0x521fb8=Pt(_0x11b604,_0x56ee1f,_0x31a908,_0x22fe7c,_0x27fde8,_0x1c733f);return _0x521fb8 instanceof exports[_0x292d5f(0x34d)]?_0x521fb8[_0x292d5f(0x3fa)]():(_0x521fb8 instanceof exports[_0x292d5f(0x3bb)]||_0x521fb8 instanceof exports[_0x292d5f(0x4e3)])&&_0x521fb8['resend'](),_0x521fb8;}[_0x5344e8(0x1dd)](){var _0x30bbec=_0x5344e8;throw new Error(_0x30bbec(0x47d));}},exports[_0x5344e8(0x1cb)]=le([A(0x5,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),A(0x6,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),A(0x7,a[_0x5344e8(0x26a)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x1cb)]),exports[_0x5344e8(0x42f)]=class extends _e{constructor(_0x2031b5,_0x329060,_0x87bf2a,_0x251d93,_0x501222,_0x2ebe44,_0x401727,_0x207b03,_0x5e7a1d,_0x561226,_0x3cf27b,_0x5e6d90,_0x3823b5,_0x40300d){var _0x27f473=_0x5344e8;super(_0x2031b5,_0x329060,_0x87bf2a,_0x251d93,_0x401727,_0x3cf27b,_0x5e6d90,_0x5e7a1d,_0x40300d),D(this,_0x27f473(0x274),_0x27f473(0x502)),(this[_0x27f473(0x44f)]=_0x501222,this[_0x27f473(0x527)]=_0x2ebe44,this[_0x27f473(0x50b)]=_0x207b03,this['_logService']=_0x561226,this[_0x27f473(0x27f)]=_0x3823b5,this[_0x27f473(0x259)]=_0x40300d);}[_0x5344e8(0x32c)](_0x2dcf0c){var _0x2fb62e=_0x5344e8;try{const _0x168fc7=[..._0x2dcf0c,...this['_queuedRemoteChangesets']],_0x174732=[this[_0x2fb62e(0x1c2)]||this['_acknowledgedAwaitingChangeset']][_0x2fb62e(0x258)](_0x2b42cb=>!!_0x2b42cb);let _0x293d19,_0x121c4c;if(_0x174732['length']){const _0x4aef34=this[_0x2fb62e(0x27f)][_0x2fb62e(0x1fe)](_0x168fc7,_0x174732,!0x1);if(!m[_0x2fb62e(0x212)](_0x4aef34))throw _0x4aef34[_0x2fb62e(0x438)];_0x293d19=_0x4aef34[_0x2fb62e(0x2a5)],_0x121c4c=_0x4aef34[_0x2fb62e(0x4aa)];}else _0x293d19=_0x168fc7,_0x121c4c=[];let _0x3e0b40=this['_pendingMutations'];_0x293d19['forEach'](_0x4804e3=>{var _0x11f8c0=_0x2fb62e;let _0x5309bb;if(_0x3e0b40['length']){const _0x295c4c=this[_0x11f8c0(0x27f)][_0x11f8c0(0x2de)](_0x4804e3,_0x3e0b40);if(!m[_0x11f8c0(0x1b7)](_0x295c4c))throw _0x295c4c['error'];_0x5309bb=_0x295c4c[_0x11f8c0(0x2a5)],_0x3e0b40=_0x295c4c[_0x11f8c0(0x23c)];}else _0x5309bb=_0x4804e3;this['_executeRemoteChangeset'](_0x5309bb);}),this[_0x2fb62e(0x44f)]&&this[_0x2fb62e(0x411)](),this[_0x2fb62e(0x1c2)]&&_0x121c4c[_0x2fb62e(0x28d)]&&(_0x121c4c[0x0]['baseRev']=this[_0x2fb62e(0x208)]());let _0x4ecb76;if(this[_0x2fb62e(0x1c2)]&&_0x3e0b40[_0x2fb62e(0x28d)]!==0x0)_0x4ecb76=this['_injector'][_0x2fb62e(0x2ec)](exports[_0x2fb62e(0x3bb)],this[_0x2fb62e(0x1c7)],this['type'],_0x121c4c[0x0],_0x3e0b40,this[_0x2fb62e(0x46b)],void 0x0);else{if(this[_0x2fb62e(0x1c2)]&&_0x3e0b40[_0x2fb62e(0x28d)]===0x0)_0x121c4c[0x0]['baseRev']=this[_0x2fb62e(0x208)](),_0x4ecb76=this[_0x2fb62e(0x50b)][_0x2fb62e(0x2ec)](exports['AwaitingState'],this['unitID'],this[_0x2fb62e(0x383)],_0x121c4c[0x0],this[_0x2fb62e(0x46b)]);else{if(_0x3e0b40[_0x2fb62e(0x28d)]!==0x0){const _0x2d7070=this['_injector']['createInstance'](exports[_0x2fb62e(0x34d)],this[_0x2fb62e(0x1c7)],this[_0x2fb62e(0x383)],_0x3e0b40,this[_0x2fb62e(0x46b)]);_0x2d7070[_0x2fb62e(0x3fa)](),_0x4ecb76=_0x2d7070;}else _0x4ecb76=this[_0x2fb62e(0x50b)]['createInstance'](exports[_0x2fb62e(0x2c4)],this[_0x2fb62e(0x1c7)],this[_0x2fb62e(0x383)],this['_handler']);}}return _0x4ecb76[_0x2fb62e(0x506)](),_0x4ecb76;}catch(_0x40b0bf){return this['_logService']['error'](_0x2fb62e(0x2a0),_0x2fb62e(0x3c9),_0x40b0bf),this['_injector'][_0x2fb62e(0x2ec)](exports[_0x2fb62e(0x348)],this['unitID'],this[_0x2fb62e(0x383)],this[_0x2fb62e(0x1c2)],this[_0x2fb62e(0x267)],this[_0x2fb62e(0x46b)],!0x1);}}[_0x5344e8(0x1dd)](){var _0x170fea=_0x5344e8;throw new Error(_0x170fea(0x224));}[_0x5344e8(0x4f1)](_0x2f0cbe){var _0x3f82f8=_0x5344e8;return this[_0x3f82f8(0x267)]['push'](_0x2f0cbe),this;}[_0x5344e8(0x441)](_0x422a0f){var _0x511cc0=_0x5344e8;return this['_queuedRemoteChangesets'][_0x511cc0(0x2a6)](_0x422a0f),this;}[_0x5344e8(0x225)](_0x1a344a){var _0x561cd3=_0x5344e8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x561cd3(0x1c2)],this[_0x561cd3(0x1c2)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5344e8(0x4e0)](_0x84ec67){var _0xa4397b=_0x5344e8;return this['_onConflict'](!!(_0x84ec67!=null&&_0x84ec67[_0xa4397b(0x219)]));}['onRemoteRetry'](){return this;}[_0x5344e8(0x33c)](){var _0x505198=_0x5344e8;return this[_0x505198(0x50b)][_0x505198(0x2ec)](exports[_0x505198(0x1cb)],this[_0x505198(0x1c7)],this[_0x505198(0x383)],this[_0x505198(0x1c2)],this[_0x505198(0x267)],this['_handler']);}[_0x5344e8(0x3b6)](){return this;}[_0x5344e8(0x1ea)](_0x6c31c5){var _0x2cbc4e=_0x5344e8;return this['_injector']['createInstance'](exports[_0x2cbc4e(0x348)],this[_0x2cbc4e(0x1c7)],this[_0x2cbc4e(0x383)],this['_awaitingChangeset'],this[_0x2cbc4e(0x267)],this[_0x2cbc4e(0x46b)],_0x6c31c5);}},exports[_0x5344e8(0x42f)]=le([A(0x7,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),A(0x8,a[_0x5344e8(0x21d)](m['RevisionService'])),A(0x9,a[_0x5344e8(0x3b4)]),A(0xa,a[_0x5344e8(0x26a)]),A(0xb,a['IUndoRedoService']),A(0xc,m[_0x5344e8(0x41b)]),A(0xd,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x42f)]);function Pt(_0x31d452,_0x3ffc9e,_0x58d756,_0x306184,_0x3273df,_0x24d3f8){var _0x3608f0=_0x5344e8;return _0x306184&&_0x3273df['length']?_0x31d452[_0x3608f0(0x2ec)](exports[_0x3608f0(0x3bb)],_0x3ffc9e,_0x58d756,_0x306184,_0x3273df,_0x24d3f8,void 0x0):_0x306184?_0x31d452[_0x3608f0(0x2ec)](exports[_0x3608f0(0x4e3)],_0x3ffc9e,_0x58d756,_0x306184,_0x24d3f8):_0x3273df['length']?_0x31d452[_0x3608f0(0x2ec)](exports[_0x3608f0(0x34d)],_0x3ffc9e,_0x58d756,_0x3273df,_0x24d3f8):_0x31d452['createInstance'](exports[_0x3608f0(0x2c4)],_0x3ffc9e,_0x58d756,_0x24d3f8);}var Pn=Object[_0x5344e8(0x201)],Dn=Object[_0x5344e8(0x3d4)],Ge=(_0x56dc37,_0x2cc664,_0x57df33,_0x537897)=>{var _0x492fb2=_0x5344e8;for(var _0x7f64e5=_0x537897>0x1?void 0x0:_0x537897?Dn(_0x2cc664,_0x57df33):_0x2cc664,_0x4376e0=_0x56dc37[_0x492fb2(0x28d)]-0x1,_0x4c846c;_0x4376e0>=0x0;_0x4376e0--)(_0x4c846c=_0x56dc37[_0x4376e0])&&(_0x7f64e5=(_0x537897?_0x4c846c(_0x2cc664,_0x57df33,_0x7f64e5):_0x4c846c(_0x7f64e5))||_0x7f64e5);return _0x537897&&_0x7f64e5&&Pn(_0x2cc664,_0x57df33,_0x7f64e5),_0x7f64e5;},k=(_0x147676,_0x221123)=>(_0x5a96d7,_0x1ffd5c)=>_0x221123(_0x5a96d7,_0x1ffd5c,_0x147676);exports[_0x5344e8(0x353)]=class extends a[_0x5344e8(0x42b)]{constructor(_0x14d2bc,_0x24c361,_0x586c8f,_0x543d2b,_0x4cd9da,_0x20bae7,_0x4b842d,_0x40565e,_0x43d11f,_0x475cb6,_0x44b71f,_0x4bfb59,_0x4ef348){var _0xc34622=_0x5344e8;super(),D(this,'_state$',new H[(_0xc34622(0x374))](null)),D(this,_0xc34622(0x3b8),this[_0xc34622(0x4f3)][_0xc34622(0x458)]()),D(this,_0xc34622(0x40d)),D(this,_0xc34622(0x492),!0x1),D(this,_0xc34622(0x33d),''),D(this,_0xc34622(0x1ef),0x0),D(this,_0xc34622(0x47e),this[_0xc34622(0x3b8)]['pipe'](H['map'](_0x1f8497=>_0x1f8497?_0x1f8497[_0xc34622(0x274)]:We[_0xc34622(0x29b)]),H[_0xc34622(0x3e7)](0x1))),D(this,_0xc34622(0x518),!0x1),D(this,_0xc34622(0x2ea),[]),(this[_0xc34622(0x1c7)]=_0x14d2bc,this[_0xc34622(0x1f0)]=_0x24c361,this['_type']=_0x586c8f,this['_injector']=_0x543d2b,this['_compressMutationService']=_0x4cd9da,this[_0xc34622(0x489)]=_0x20bae7,this[_0xc34622(0x23a)]=_0x4b842d,this['_eventService']=_0x40565e,this['_logService']=_0x43d11f,this['_commandService']=_0x475cb6,this[_0xc34622(0x1e7)]=_0x44b71f,this[_0xc34622(0x229)]=_0x4bfb59,this[_0xc34622(0x33a)]=_0x4ef348);}get[_0x5344e8(0x2b5)](){var _0x598cb5=_0x5344e8;return this[_0x598cb5(0x40d)];}async[_0x5344e8(0x30a)](){var _0x290081=_0x5344e8;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x290081(0x294)]();}['pauseCollaboration'](){var _0x16ca83=_0x5344e8;return this[_0x16ca83(0x492)]=!0x0,a['toDisposable'](()=>{var _0x31bd10=_0x16ca83;this[_0x31bd10(0x492)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5344e8(0x2b4)](_0x39003a){var _0x59ec88=_0x5344e8;this[_0x59ec88(0x1fc)](_0x39003a);}[_0x5344e8(0x25b)](_0x30b90c){var _0x2cc798=_0x5344e8;this[_0x2cc798(0x40d)]=_0x30b90c,this['_state$'][_0x2cc798(0x35a)](_0x30b90c);}async[_0x5344e8(0x294)](){var _0x420031=_0x5344e8,_0x57c8ae;this['_updateState'](await this[_0x420031(0x1b6)]()),this[_0x420031(0x229)]&&((_0x57c8ae=this[_0x420031(0x229)])==null||_0x57c8ae[_0x420031(0x4ab)](this[_0x420031(0x1c7)]),this[_0x420031(0x490)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x420031(0x1c7)])['subscribe'](_0x2c72c4=>{var _0x46bb33=_0x420031;this[_0x46bb33(0x282)][_0x46bb33(0x3a9)](_0x46bb33(0x2b2),_0x46bb33(0x1e4),_0x2c72c4),_0x2c72c4===Fe[_0x46bb33(0x45b)]?(this[_0x46bb33(0x4e8)][_0x46bb33(0x485)]({'id':Q[_0x46bb33(0x31a)]}),this[_0x46bb33(0x1e7)][_0x46bb33(0x4c7)](new J[(_0x46bb33(0x48b))](this[_0x46bb33(0x1c7)])['id'],!0x1),this[_0x46bb33(0x1e7)][_0x46bb33(0x2ef)](!0x1)):(this[_0x46bb33(0x1e7)][_0x46bb33(0x4c7)](new J['WorkbookEditablePermission'](this[_0x46bb33(0x1c7)])['id'],!0x0),this[_0x46bb33(0x1e7)]['setShowComponents'](!0x0));})));let _0x2c99af=!0x1;return this['disposeWithMe'](this[_0x420031(0x1f0)][_0x420031(0x452)][_0x420031(0x366)](_0xd92666=>{var _0x4243ee=_0x420031;_0xd92666===se['ONLINE']?this['_toggleOnline'](_0x2c99af):_0xd92666===se[_0x4243ee(0x29b)]&&(_0x2c99af=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session']['event$'][_0x420031(0x366)](_0x32e78a=>{var _0xd4eaea=_0x420031;try{switch(_0x32e78a[_0xd4eaea(0x3db)]){case m[_0xd4eaea(0x45e)][_0xd4eaea(0x2e5)]:{this[_0xd4eaea(0x49c)](m[_0xd4eaea(0x4b8)](_0x32e78a['data']));break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x1e5)]:{this[_0xd4eaea(0x391)](_0x32e78a[_0xd4eaea(0x2d7)]);break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x266)]:{this['_onRemoteRejected']();break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x314)]:{this['_onRemoteRetry'](_0x32e78a[_0xd4eaea(0x2d7)]);break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x3ff)]:{this[_0xd4eaea(0x285)](_0x32e78a[_0xd4eaea(0x2d7)]['changesets'][_0xd4eaea(0x534)](_0x229221=>m[_0xd4eaea(0x4b8)](_0x229221)));break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x230)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case m[_0xd4eaea(0x45e)][_0xd4eaea(0x3e1)]:break;}}catch(_0x4cfb2d){throw console[_0xd4eaea(0x438)](_0xd4eaea(0x2ad),_0x4cfb2d),_0x4cfb2d;}})),this['_state'];}[_0x5344e8(0x3fb)](){this['_transitionLocked']=!0x1;}[_0x5344e8(0x461)](){var _0x4d9442=_0x5344e8;if(this['_transitionLocked'])throw new Error(_0x4d9442(0x3a2));this[_0x4d9442(0x518)]=!0x0;}[_0x5344e8(0x1fc)](_0x13338a){var _0x27af21=_0x5344e8;this[_0x27af21(0x461)](),this['_updateState'](this['_state']['appendMutation'](_0x13338a)),this[_0x27af21(0x3fb)]();}[_0x5344e8(0x49c)](_0x1f3008){var _0x4c7264=_0x5344e8;if(!(_0x1f3008[_0x4c7264(0x3b9)]<=this[_0x4c7264(0x23a)][_0x4c7264(0x4fb)](this[_0x4c7264(0x1c7)]))){if(this[_0x4c7264(0x492)]){this[_0x4c7264(0x2ea)][_0x4c7264(0x2a6)](_0x1f3008);return;}this[_0x4c7264(0x4f7)](_0x1f3008);}}[_0x5344e8(0x4d9)](){var _0x4a6c0c=_0x5344e8;this['_remoteChangesetQueue'][_0x4a6c0c(0x38d)](_0x27edff=>this['_applyRemoteChangeset'](_0x27edff)),this[_0x4a6c0c(0x2ea)]=[];}[_0x5344e8(0x4f7)](_0x1d20dd){var _0x55d4e6=_0x5344e8;const _0x592ef2=this[_0x55d4e6(0x397)][_0x55d4e6(0x509)][_0x55d4e6(0x51c)](this['_compressMutationService'][_0x55d4e6(0x509)]['getInterceptPoints']()[_0x55d4e6(0x4b3)])(_0x1d20dd['mutations'],null)||_0x1d20dd['mutations'],_0x3b9f12={..._0x1d20dd,'mutations':_0x592ef2};this[_0x55d4e6(0x461)](),this[_0x55d4e6(0x25b)](this['_state'][_0x55d4e6(0x441)](_0x3b9f12)),this['_unlockTransition']();}[_0x5344e8(0x391)](_0x39dd6b){var _0x155bcd=_0x5344e8;this[_0x155bcd(0x461)](),this[_0x155bcd(0x25b)](this[_0x155bcd(0x40d)][_0x155bcd(0x225)](_0x39dd6b)),this[_0x155bcd(0x3fb)]();}[_0x5344e8(0x1dc)](_0x475e33){var _0x5d7299=_0x5344e8;this[_0x5d7299(0x461)](),this[_0x5d7299(0x25b)](this[_0x5d7299(0x40d)][_0x5d7299(0x4e0)](_0x475e33)),this[_0x5d7299(0x3fb)]();}['_onRemoteRetry'](_0x24347f){var _0x14462f=_0x5344e8;this['_lockTransition'](),this[_0x14462f(0x25b)](this[_0x14462f(0x40d)][_0x14462f(0x273)](_0x24347f)),this[_0x14462f(0x3fb)]();}[_0x5344e8(0x285)](_0x282ad7){var _0x4f8569=_0x5344e8;if(!(this[_0x4f8569(0x40d)]instanceof exports[_0x4f8569(0x42f)]))throw new TypeError(_0x4f8569(0x41e));const _0x51860b=_0x282ad7[_0x4f8569(0x534)](_0x3b87c0=>{var _0x4cf34d=_0x4f8569;const _0x5eed05=this['_compressMutationService'][_0x4cf34d(0x509)][_0x4cf34d(0x51c)](this['_compressMutationService']['interceptor'][_0x4cf34d(0x204)]()[_0x4cf34d(0x4b3)])(_0x3b87c0[_0x4cf34d(0x462)],null)||_0x3b87c0[_0x4cf34d(0x462)];return{..._0x3b87c0,'mutations':_0x5eed05};});this[_0x4f8569(0x461)](),this[_0x4f8569(0x25b)](this[_0x4f8569(0x40d)][_0x4f8569(0x32c)](_0x51860b)),this[_0x4f8569(0x3fb)]();}[_0x5344e8(0x42c)](){var _0xa4fc6c=_0x5344e8;this[_0xa4fc6c(0x461)](),this[_0xa4fc6c(0x25b)](this[_0xa4fc6c(0x40d)][_0xa4fc6c(0x33c)]()),this[_0xa4fc6c(0x3fb)]();}[_0x5344e8(0x1d9)](_0x4b05dd=!0x1){var _0x50bab6=_0x5344e8;this[_0x50bab6(0x461)](),this['_updateState'](this[_0x50bab6(0x40d)][_0x50bab6(0x3b6)]()),this[_0x50bab6(0x3fb)]();const _0x250957=this[_0x50bab6(0x40d)];_0x4b05dd&&_0x250957 instanceof exports[_0x50bab6(0x2c4)]&&(this['_lockTransition'](),this[_0x50bab6(0x25b)](_0x250957[_0x50bab6(0x3ea)]()),this[_0x50bab6(0x3fb)]());}async[_0x5344e8(0x1b6)](){return new Promise(_0x35bf93=>{var _0x4e06aa=_0x4b08;this[_0x4e06aa(0x1f0)][_0x4e06aa(0x452)]['pipe'](H['take'](0x1))[_0x4e06aa(0x366)](async _0x5553ea=>{var _0xa0ddfd=_0x4e06aa;_0x35bf93(await this[_0xa0ddfd(0x512)](_0x5553ea===se[_0xa0ddfd(0x1f9)]));});});}[_0x5344e8(0x4e6)](){var _0x32f3d0=_0x5344e8;const _0x3a4526=this[_0x32f3d0(0x1c7)];return{'onStateChange':(_0x12fb7d,_0x4e824e)=>{var _0x2050c7=_0x32f3d0;if(_0x12fb7d!==this[_0x2050c7(0x40d)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x12fb7d['status']+_0x2050c7(0x4e7)+_0x4e824e[_0x2050c7(0x274)]+_0x2050c7(0x3af)+this['_state']['status']);this[_0x2050c7(0x25b)](_0x4e824e);},'onSendChangeset':_0x1f35ad=>{var _0x442cd4=_0x32f3d0;_0x1f35ad[_0x442cd4(0x35c)]||(_0x1f35ad['sid']=this[_0x442cd4(0x33d)],_0x1f35ad[_0x442cd4(0x4e1)]=++this[_0x442cd4(0x1ef)]);const _0x351d61={'eventID':m[_0x442cd4(0x45e)][_0x442cd4(0x36c)],'data':{'unitID':_0x1f35ad['unitID'],'unitType':this['_type'],'changeset':_0x1f35ad,'memberID':this[_0x442cd4(0x1f0)]['getMemberID']()}};this['session'][_0x442cd4(0x49a)](_0x351d61,this[_0x442cd4(0x1c7)]);},'onMissingChangesets':({from:_0x2c55d9,to:_0x5d6712})=>{var _0x264748=_0x32f3d0;this['_logService'][_0x264748(0x3a9)](_0x264748(0x2b2),_0x264748(0x507)+_0x2c55d9+_0x264748(0x40f)+_0x5d6712);const _0x13d291={'eventID':m['CollaborationEvent'][_0x264748(0x387)],'data':{'unitID':_0x3a4526,'unitType':this[_0x264748(0x401)],'from':_0x2c55d9,'to':_0x5d6712}};this[_0x264748(0x1f0)][_0x264748(0x49a)](_0x13d291,this[_0x264748(0x1c7)]);}};}async[_0x5344e8(0x512)](_0x515468){var _0x11c707=_0x5344e8,_0x1e6da5,_0x2e2c75,_0x3d5c5b;const _0x3973a6=await((_0x1e6da5=this[_0x11c707(0x33a)])==null?void 0x0:_0x1e6da5['loadOfflineData'](this[_0x11c707(0x1c7)])),_0x11ce09=(_0x2e2c75=_0x3973a6==null?void 0x0:_0x3973a6[_0x11c707(0x462)])!=null?_0x2e2c75:[],_0x422c14=(_0x3d5c5b=_0x3973a6==null?void 0x0:_0x3973a6[_0x11c707(0x1f2)])!=null?_0x3d5c5b:null,_0x5ade5d=!!(_0x422c14!=null&&_0x422c14['sid'])&&!!(_0x422c14!=null&&_0x422c14[_0x11c707(0x4e1)]);this[_0x11c707(0x33d)]=_0x5ade5d?_0x422c14[_0x11c707(0x35c)]:gn(),this[_0x11c707(0x1ef)]=_0x5ade5d?_0x422c14[_0x11c707(0x4e1)]:0x0;const _0x4b0e85=this[_0x11c707(0x1c7)];try{this['_replayCachedMutations'](_0x422c14,_0x11ce09);}catch(_0x34749a){this['_logService']['error'](_0x34749a);}const _0x40b41c=this['_createHandler']();if(_0x515468){const _0x2d237e=Pt(this[_0x11c707(0x50b)],_0x4b0e85,this[_0x11c707(0x401)],_0x422c14,_0x11ce09,_0x40b41c);return _0x2d237e instanceof exports[_0x11c707(0x34d)]?_0x2d237e['_schedule']():(_0x2d237e instanceof exports['AwaitingWithPendingState']||_0x2d237e instanceof exports[_0x11c707(0x4e3)])&&_0x2d237e[_0x11c707(0x1dd)](),_0x2d237e;}return this['_injector'][_0x11c707(0x2ec)](exports['OfflineState'],_0x4b0e85,this[_0x11c707(0x401)],_0x422c14,_0x11ce09,_0x40b41c);}[_0x5344e8(0x427)](_0x3b906b,_0x1602b9){var _0x3912bb=_0x5344e8,_0x533533,_0x3eb6dc;const _0x3fd647=this['_compressMutationService']['interceptor'][_0x3912bb(0x51c)](this['_compressMutationService'][_0x3912bb(0x509)][_0x3912bb(0x204)]()[_0x3912bb(0x4b3)]);(_0x533533=_0x3fd647((_0x3b906b==null?void 0x0:_0x3b906b[_0x3912bb(0x462)])||[],null))==null||_0x533533[_0x3912bb(0x38d)](_0x24245f=>this[_0x3912bb(0x4bb)][_0x3912bb(0x20d)](_0x24245f['id'],_0x24245f['params'])),(_0x3eb6dc=_0x3fd647(_0x1602b9||[],null))==null||_0x3eb6dc[_0x3912bb(0x38d)](_0x56166d=>this[_0x3912bb(0x4bb)][_0x3912bb(0x20d)](_0x56166d['id'],_0x56166d['params']));}},exports[_0x5344e8(0x353)]=Ge([k(0x3,a[_0x5344e8(0x21d)](a['Injector'])),k(0x4,a[_0x5344e8(0x21d)](m['CompressMutationService'])),k(0x5,a[_0x5344e8(0x21d)](a['LocaleService'])),k(0x6,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),k(0x7,a['Inject'](te)),k(0x8,a[_0x5344e8(0x3b4)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5344e8(0x2f6)]),k(0xb,a[_0x5344e8(0x524)](ve)),k(0xc,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x353)]),exports[_0x5344e8(0x3d6)]=class extends exports[_0x5344e8(0x353)]{constructor(_0x306f26,_0x410bb4,_0x5cd53c,_0x216e8a,_0x5dea36,_0x31fde6,_0x25148a,_0x4bcb3a,_0xa1f943,_0x2171d5,_0x49f477,_0x1fceca,_0x56a7a6){var _0x3a8794=_0x5344e8;super(_0x306f26,_0x5cd53c,_0x410bb4,_0x216e8a,_0x5dea36,_0x31fde6,_0x25148a,_0x4bcb3a,_0xa1f943,_0x2171d5,_0x49f477,_0x1fceca,_0x56a7a6),D(this,'_handlerCallback',null),(this[_0x3a8794(0x1c7)]=_0x306f26,this['type']=_0x410bb4);}['addHandlerCallback'](_0x59df8c){this['_handlerCallback']=_0x59df8c;}[_0x5344e8(0x420)](){var _0x2b0b6f=_0x5344e8;this[_0x2b0b6f(0x1b5)]=null,super['dispose']();}['_createHandler'](){var _0x643c83=_0x5344e8;const _0x3422d7=super[_0x643c83(0x4e6)]();return _0x3422d7['onTransformIME']=_0x224fe0=>{var _0x3114fa=_0x643c83,_0x123181,_0x25f59d;return(_0x25f59d=(_0x123181=this[_0x3114fa(0x1b5)])==null?void 0x0:_0x123181[_0x3114fa(0x4f8)])==null?void 0x0:_0x25f59d[_0x3114fa(0x1e8)](_0x123181,_0x224fe0);},_0x3422d7['onTransformState']=_0x19f49d=>{var _0xc89a3a=_0x643c83,_0x110e6c,_0xb5cb9d;return(_0xb5cb9d=(_0x110e6c=this[_0xc89a3a(0x1b5)])==null?void 0x0:_0x110e6c[_0xc89a3a(0x47f)])==null?void 0x0:_0xb5cb9d[_0xc89a3a(0x1e8)](_0x110e6c,_0x19f49d);},_0x3422d7[_0x643c83(0x529)]=_0x48af60=>{var _0x56deee=_0x643c83,_0x2c05f4,_0x270ed0;return(_0x270ed0=(_0x2c05f4=this[_0x56deee(0x1b5)])==null?void 0x0:_0x2c05f4['onTransformSelections'])==null?void 0x0:_0x270ed0[_0x56deee(0x1e8)](_0x2c05f4,_0x48af60);},_0x3422d7[_0x643c83(0x351)]=_0x1e17ac=>{var _0x1e0329=_0x643c83,_0x1c52d7,_0x53d496;return(_0x53d496=(_0x1c52d7=this[_0x1e0329(0x1b5)])==null?void 0x0:_0x1c52d7[_0x1e0329(0x351)])==null?void 0x0:_0x53d496[_0x1e0329(0x1e8)](_0x1c52d7,_0x1e17ac);},_0x3422d7[_0x643c83(0x3b3)]=_0x57035d=>{var _0x4bf083=_0x643c83,_0x96d538,_0x50f3ef,_0x3de66a;if(!((_0x96d538=this[_0x4bf083(0x1b5)])!=null&&_0x96d538[_0x4bf083(0x3b3)]))throw new Error(_0x4bf083(0x3fc));return(_0x3de66a=(_0x50f3ef=this['_handlerCallback'])==null?void 0x0:_0x50f3ef[_0x4bf083(0x3b3)])==null?void 0x0:_0x3de66a[_0x4bf083(0x1e8)](_0x50f3ef,_0x57035d);},_0x3422d7[_0x643c83(0x1d0)]=_0x58bad1=>{var _0x5aba88=_0x643c83,_0x4c5a83,_0x422149,_0x54f452;if(!((_0x4c5a83=this[_0x5aba88(0x1b5)])!=null&&_0x4c5a83['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5aba88(0x2fb));return(_0x54f452=(_0x422149=this[_0x5aba88(0x1b5)])==null?void 0x0:_0x422149[_0x5aba88(0x1d0)])==null?void 0x0:_0x54f452[_0x5aba88(0x1e8)](_0x422149,_0x58bad1);},_0x3422d7;}async[_0x5344e8(0x294)](){var _0x5adfc8=_0x5344e8;const _0x23acc6=await super[_0x5adfc8(0x294)]();return this[_0x5adfc8(0x490)](this[_0x5adfc8(0x4bb)][_0x5adfc8(0x253)]((_0x499287,_0x2898a5)=>{var _0x2fed92=_0x5adfc8;if(_0x499287[_0x2fed92(0x383)]!==a[_0x2fed92(0x445)][_0x2fed92(0x456)]||_0x2898a5!=null&&_0x2898a5[_0x2fed92(0x46c)]||_0x2898a5!=null&&_0x2898a5[_0x2fed92(0x469)]||_0x499287['id']===dt['RichTextEditingMutation']['id'])return;const _0x390cc9=_0x499287[_0x2fed92(0x451)];if((_0x390cc9==null?void 0x0:_0x390cc9[_0x2fed92(0x51a)])!==this[_0x2fed92(0x1c7)])return;const _0xf6704b=_0x499287,_0x488772=this['_compressMutationService'][_0x2fed92(0x509)][_0x2fed92(0x51c)](this[_0x2fed92(0x397)][_0x2fed92(0x509)][_0x2fed92(0x204)]()[_0x2fed92(0x31c)])([_0xf6704b],null)||[_0xf6704b];this[_0x2fed92(0x1fc)](_0x488772[0x0]);})),_0x23acc6;}},exports[_0x5344e8(0x3d6)]=Ge([k(0x3,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),k(0x4,a[_0x5344e8(0x21d)](m[_0x5344e8(0x283)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x5344e8(0x21d)](m[_0x5344e8(0x2b7)])),k(0x7,a[_0x5344e8(0x21d)](te)),k(0x8,a[_0x5344e8(0x3b4)]),k(0x9,a[_0x5344e8(0x26a)]),k(0xa,a['IPermissionService']),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](z))],exports[_0x5344e8(0x3d6)]),exports[_0x5344e8(0x339)]=class extends exports['CollaborationEntity']{constructor(_0x20a0ea,_0x24432d,_0x11bf02,_0x4990cf,_0x59ea1a,_0x54b1f6,_0x197a20,_0x546085,_0xe91746,_0x541bd9,_0x12e3df,_0x40d9fc,_0x59b049,_0xf5f36){var _0xe80e15=_0x5344e8;super(_0x20a0ea,_0x11bf02,_0x24432d,_0x4990cf,_0x59ea1a,_0x54b1f6,_0x197a20,_0xe91746,_0x541bd9,_0x12e3df,_0x40d9fc,_0x59b049,_0xf5f36),this[_0xe80e15(0x1c7)]=_0x20a0ea,this['type']=_0x24432d,this['_sheetTransformSelectionsService']=_0x546085;}[_0x5344e8(0x4e6)](){var _0x550dff=_0x5344e8;const _0x3d8203=super[_0x550dff(0x4e6)]();return _0x3d8203[_0x550dff(0x529)]=_0x38c94e=>this[_0x550dff(0x3b1)]['transformSelections'](_0x38c94e),_0x3d8203;}async[_0x5344e8(0x294)](){var _0x3d406b=_0x5344e8;const _0x1dad86=await super['_init']();return this[_0x3d406b(0x490)](this[_0x3d406b(0x4bb)]['onCommandExecuted']((_0x1c5157,_0x2d6164)=>{var _0x51f5f8=_0x3d406b;if(_0x1c5157[_0x51f5f8(0x383)]!==a[_0x51f5f8(0x445)]['MUTATION']||_0x2d6164!=null&&_0x2d6164['fromCollab']||_0x2d6164!=null&&_0x2d6164['onlyLocal'])return;const _0x336e20=_0x1c5157[_0x51f5f8(0x451)];if((_0x336e20==null?void 0x0:_0x336e20[_0x51f5f8(0x51a)])!==this[_0x51f5f8(0x1c7)])return;const _0x1561c7=_0x1c5157,_0x1c0f77=this['_compressMutationService'][_0x51f5f8(0x509)]['fetchThroughInterceptors'](this[_0x51f5f8(0x397)][_0x51f5f8(0x509)][_0x51f5f8(0x204)]()[_0x51f5f8(0x31c)])([_0x1561c7],null)||[_0x1561c7];this[_0x51f5f8(0x1fc)](_0x1c0f77[0x0]);})),_0x1dad86;}},exports[_0x5344e8(0x339)]=Ge([k(0x3,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),k(0x4,a['Inject'](m[_0x5344e8(0x283)])),k(0x5,a['Inject'](a[_0x5344e8(0x35f)])),k(0x6,a['Inject'](m[_0x5344e8(0x2b7)])),k(0x7,a[_0x5344e8(0x21d)](exports[_0x5344e8(0x29f)])),k(0x8,a[_0x5344e8(0x21d)](te)),k(0x9,a[_0x5344e8(0x3b4)]),k(0xa,a['ICommandService']),k(0xb,a[_0x5344e8(0x2f6)]),k(0xc,a['Optional'](ve)),k(0xd,a[_0x5344e8(0x524)](z))],exports[_0x5344e8(0x339)]);var wn=Object['defineProperty'],An=Object[_0x5344e8(0x3d4)],Ln=(_0x56b33e,_0x2e4e25,_0x3f9a77,_0x5d9712)=>{for(var _0x5353f7=_0x5d9712>0x1?void 0x0:_0x5d9712?An(_0x2e4e25,_0x3f9a77):_0x2e4e25,_0x476498=_0x56b33e['length']-0x1,_0x20b699;_0x476498>=0x0;_0x476498--)(_0x20b699=_0x56b33e[_0x476498])&&(_0x5353f7=(_0x5d9712?_0x20b699(_0x2e4e25,_0x3f9a77,_0x5353f7):_0x20b699(_0x5353f7))||_0x5353f7);return _0x5d9712&&_0x5353f7&&wn(_0x2e4e25,_0x3f9a77,_0x5353f7),_0x5353f7;},we=(_0x185dd0,_0x305b48)=>(_0x3bc496,_0x333f0e)=>_0x305b48(_0x3bc496,_0x333f0e,_0x185dd0);exports['CollaborationController']=class extends a[_0x5344e8(0x42b)]{constructor(_0x212fec,_0x152693,_0x500c7c){var _0x14bc9e=_0x5344e8;super(),D(this,'_entities',new Map()),D(this,_0x14bc9e(0x49e),new H[(_0x14bc9e(0x45c))]()),D(this,_0x14bc9e(0x3c8),this[_0x14bc9e(0x49e)][_0x14bc9e(0x458)]()),(this[_0x14bc9e(0x50b)]=_0x212fec,this[_0x14bc9e(0x472)]=_0x152693,this[_0x14bc9e(0x29a)]=_0x500c7c,this[_0x14bc9e(0x294)]());}[_0x5344e8(0x420)](){var _0x22b97a=_0x5344e8;super['dispose'](),this['_entities'][_0x22b97a(0x38d)](_0x5aa4c1=>_0x5aa4c1[_0x22b97a(0x420)]()),this[_0x22b97a(0x301)]['clear']();}[_0x5344e8(0x4bf)](_0x307a98){var _0x512826=_0x5344e8,_0x566f62;return(_0x566f62=this[_0x512826(0x301)][_0x512826(0x34a)](_0x307a98))!=null?_0x566f62:null;}[_0x5344e8(0x510)](_0x391e2a){var _0x411644=_0x5344e8;const _0x189af5=this['getCollabEntity'](_0x391e2a);return _0x189af5?H['of'](_0x189af5):this[_0x411644(0x49e)]['pipe'](W['filter'](_0x28abf5=>_0x28abf5[_0x411644(0x1c7)]===_0x391e2a));}['readyForCollab'](_0x36b854){var _0x5b184f=_0x5344e8;return H['firstValueFrom'](this[_0x5b184f(0x510)](_0x36b854)['pipe'](W[_0x5b184f(0x534)](()=>{})));}['_init'](){var _0x21b938=_0x5344e8;this[_0x21b938(0x29a)]['getTypeOfUnitAdded$'](a[_0x21b938(0x3c7)][_0x21b938(0x237)])[_0x21b938(0x2ae)](H[_0x21b938(0x479)](this[_0x21b938(0x328)]),W[_0x21b938(0x41d)](0x10))[_0x21b938(0x366)](async _0x5b5718=>{var _0x25b8b3=_0x21b938;const _0x862328=_0x5b5718['getUnitId'](),_0x195ef0=await this[_0x25b8b3(0x3e8)](_0x862328,Z['UNIVER_SHEET']);this[_0x25b8b3(0x301)][_0x25b8b3(0x425)](_0x862328,_0x195ef0);}),this[_0x21b938(0x29a)][_0x21b938(0x37f)](a[_0x21b938(0x3c7)][_0x21b938(0x3ba)])['pipe'](H[_0x21b938(0x479)](this[_0x21b938(0x328)]),W[_0x21b938(0x41d)](0x10))[_0x21b938(0x2ae)](W['filter'](_0x1bd2ae=>!_0x1bd2ae[_0x21b938(0x4b2)]()[_0x21b938(0x3ae)]('__')))['subscribe'](async _0x12981e=>{var _0x2a378a=_0x21b938;const _0x2a566b=_0x12981e[_0x2a378a(0x4b2)](),_0x3a4bd7=await this[_0x2a378a(0x3e8)](_0x2a566b,Z[_0x2a378a(0x3ba)]);this[_0x2a378a(0x301)]['set'](_0x2a566b,_0x3a4bd7);}),H[_0x21b938(0x1cd)](this[_0x21b938(0x29a)][_0x21b938(0x221)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x21b938(0x29a)][_0x21b938(0x221)](a['UniverInstanceType'][_0x21b938(0x3ba)]))['pipe'](H[_0x21b938(0x479)](this[_0x21b938(0x328)]))[_0x21b938(0x366)](_0x4ae67c=>{var _0x2d5d45=_0x21b938;const _0x47b00e=_0x4ae67c[_0x2d5d45(0x4b2)](),_0x1e6d7f=this[_0x2d5d45(0x301)][_0x2d5d45(0x34a)](_0x47b00e);_0x1e6d7f&&(_0x1e6d7f[_0x2d5d45(0x420)](),this[_0x2d5d45(0x301)][_0x2d5d45(0x505)](_0x47b00e));});}async[_0x5344e8(0x3e8)](_0x1b7c4c,_0x192163){var _0x5ab159=_0x5344e8;const _0x6fc539=await this[_0x5ab159(0x472)][_0x5ab159(0x49b)](_0x1b7c4c),_0x127d3f=this[_0x5ab159(0x50b)][_0x5ab159(0x2ec)](this[_0x5ab159(0x4f9)](_0x192163),_0x1b7c4c,_0x192163,_0x6fc539);return await _0x127d3f[_0x5ab159(0x30a)](),this['_entityInit$'][_0x5ab159(0x35a)](_0x127d3f),_0x127d3f;}[_0x5344e8(0x4f9)](_0x507a8a){var _0x544657=_0x5344e8;switch(_0x507a8a){case Z['UNIVER_DOC']:return exports[_0x544657(0x3d6)];case Z[_0x544657(0x237)]:return exports[_0x544657(0x339)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x507a8a);}}},exports['CollaborationController']=Ln([we(0x0,a['Inject'](a[_0x5344e8(0x494)])),we(0x1,a[_0x5344e8(0x21d)](exports[_0x5344e8(0x2f3)])),we(0x2,a[_0x5344e8(0x1ba)])],exports[_0x5344e8(0x522)]);var Mn=Object[_0x5344e8(0x201)],xn=Object[_0x5344e8(0x3d4)],jn=(_0x41494f,_0x3ff1d4,_0x468beb,_0x3ea9a9)=>{for(var _0x218cd9=_0x3ea9a9>0x1?void 0x0:_0x3ea9a9?xn(_0x3ff1d4,_0x468beb):_0x3ff1d4,_0x2a1d6b=_0x41494f['length']-0x1,_0x1b349e;_0x2a1d6b>=0x0;_0x2a1d6b--)(_0x1b349e=_0x41494f[_0x2a1d6b])&&(_0x218cd9=(_0x3ea9a9?_0x1b349e(_0x3ff1d4,_0x468beb,_0x218cd9):_0x1b349e(_0x218cd9))||_0x218cd9);return _0x3ea9a9&&_0x218cd9&&Mn(_0x3ff1d4,_0x468beb,_0x218cd9),_0x218cd9;},Xe=(_0x11614e,_0x5a97c5)=>(_0x44c51d,_0x36ec0d)=>_0x5a97c5(_0x44c51d,_0x36ec0d,_0x11614e);const $n=_0x5344e8(0x2af),Hn=_0x5344e8(0x419);let $e=class extends a[_0x5344e8(0x260)]{constructor(_0x4f30c1,_0x4a156b){super(),this['_univerInstanceService']=_0x4f30c1,this['_configService']=_0x4a156b,this['_init']();}[_0x5344e8(0x294)](){var _0xc8f270=_0x5344e8;this['disposeWithMe'](this[_0xc8f270(0x29a)][_0xc8f270(0x255)][_0xc8f270(0x366)](()=>{var _0x1b589c=_0xc8f270,_0x3074ec;const _0x1fc50e=this[_0x1b589c(0x29a)][_0x1b589c(0x2b3)]();let _0x6489b=(_0x3074ec=this[_0x1b589c(0x21a)][_0x1b589c(0x4fc)]($n))!=null?_0x3074ec:Hn;_0x1fc50e instanceof a[_0x1b589c(0x498)]&&(_0x6489b=_0x1fc50e[_0x1b589c(0x2bc)]),document[_0x1b589c(0x1d3)]=_0x6489b;}));}};$e=jn([Xe(0x0,a[_0x5344e8(0x1ba)]),Xe(0x1,a['IConfigService'])],$e);var kn=Object[_0x5344e8(0x201)],Bn=Object[_0x5344e8(0x3d4)],Fn=(_0x23886e,_0x10018f,_0x424785,_0x5c618d)=>{for(var _0x300b08=_0x5c618d>0x1?void 0x0:_0x5c618d?Bn(_0x10018f,_0x424785):_0x10018f,_0x1644d5=_0x23886e['length']-0x1,_0x524f7b;_0x1644d5>=0x0;_0x1644d5--)(_0x524f7b=_0x23886e[_0x1644d5])&&(_0x300b08=(_0x5c618d?_0x524f7b(_0x10018f,_0x424785,_0x300b08):_0x524f7b(_0x300b08))||_0x300b08);return _0x5c618d&&_0x300b08&&kn(_0x10018f,_0x424785,_0x300b08),_0x300b08;},Ae=(_0x1b3078,_0x5c0c63)=>(_0x183b01,_0x5a8077)=>_0x5c0c63(_0x183b01,_0x5a8077,_0x1b3078);let ye=class{constructor(_0x5af8cd,_0x19a3f7,_0x4a61d0){var _0x1cd188=_0x5344e8;this['_configService']=_0x5af8cd,this[_0x1cd188(0x4a4)]=_0x19a3f7,this[_0x1cd188(0x1df)]=_0x4a61d0,this[_0x1cd188(0x30a)]();}[_0x5344e8(0x30a)](){var _0xe36447=_0x5344e8;this[_0xe36447(0x4a4)][_0xe36447(0x271)]({'priority':0x1,'interceptor':(_0x160239,_0x1fdc07)=>_0x1fdc07(_0x160239)[_0xe36447(0x2ae)](H['concatMap'](async _0x5e3bf8=>{var _0x5a1d4d=_0xe36447;const _0x1aba96=_0x5e3bf8;if(_0x1aba96[_0x5a1d4d(0x274)]===0x191){if(typeof window>'u')throw new Error(_0x5a1d4d(0x418));if(window['confirm'](this[_0x5a1d4d(0x1df)]['t'](_0x5a1d4d(0x2e2)))){const _0x4086d5=window[_0x5a1d4d(0x442)](window['location'][_0x5a1d4d(0x2e8)]);window['location'][_0x5a1d4d(0x2e8)]=this[_0x5a1d4d(0x45a)]()+_0x5a1d4d(0x4fa)+_0x4086d5;}}return _0x1aba96;}))});}['_getLoginPath'](){var _0x412c12=_0x5344e8,_0x38a1c5,_0x15f589;const _0x444fcb=this[_0x412c12(0x21a)]['getConfig'](Ct),_0x15e5c3=this[_0x412c12(0x21a)][_0x412c12(0x4fc)](Y);return(_0x15f589=(_0x38a1c5=_0x15e5c3==null?void 0x0:_0x15e5c3['loginUrlKey'])!=null?_0x38a1c5:_0x444fcb)!=null?_0x15f589:zt;}};ye=Fn([Ae(0x0,a[_0x5344e8(0x470)]),Ae(0x1,a[_0x5344e8(0x21d)](q[_0x5344e8(0x1d4)])),Ae(0x2,a['Inject'](a[_0x5344e8(0x35f)]))],ye);var Wn=Object[_0x5344e8(0x201)],Gn=Object['getOwnPropertyDescriptor'],Vn=(_0x539d09,_0x1e7590,_0x93cdb4,_0x2fdf93)=>{for(var _0x1657c8=_0x2fdf93>0x1?void 0x0:_0x2fdf93?Gn(_0x1e7590,_0x93cdb4):_0x1e7590,_0x3d3e68=_0x539d09['length']-0x1,_0x5f0716;_0x3d3e68>=0x0;_0x3d3e68--)(_0x5f0716=_0x539d09[_0x3d3e68])&&(_0x1657c8=(_0x2fdf93?_0x5f0716(_0x1e7590,_0x93cdb4,_0x1657c8):_0x5f0716(_0x1657c8))||_0x1657c8);return _0x2fdf93&&_0x1657c8&&Wn(_0x1e7590,_0x93cdb4,_0x1657c8),_0x1657c8;},Ze=(_0x470c56,_0x212029)=>(_0x5676dc,_0x5397ea)=>_0x212029(_0x5676dc,_0x5397ea,_0x470c56);const Ve=_0x5344e8(0x20f),Kn=_0x5344e8(0x3f6);exports[_0x5344e8(0x2e3)]=class extends a[_0x5344e8(0x260)]{constructor(_0x5a9a62,_0x16cc42){var _0x4b09fb=_0x5344e8;super(),this[_0x4b09fb(0x437)]=_0x5a9a62,this[_0x4b09fb(0x21a)]=_0x16cc42,this[_0x4b09fb(0x495)]();}['_initMergeInterceptor'](){var _0x410af2=_0x5344e8;const _0x426089=this;this['disposeWithMe'](this[_0x410af2(0x437)][_0x410af2(0x271)]({'priority':0x3e7,'interceptor':q[_0x410af2(0x4d1)]({'isMatch'(_0x139061){var _0x414888=_0x410af2,_0x154406;if(_0x139061[_0x414888(0x234)]===_0x414888(0x37b)&&((_0x154406=_0x139061[_0x414888(0x36f)])!=null&&_0x154406['body'])){const {objectID:_0x2059e3,objectType:_0xe3fe3c}=_0x139061['requestParams'][_0x414888(0x38c)]||{};if(!_0x2059e3||_0xe3fe3c===void 0x0)return!0x1;const _0x2fdb42=_0x426089[_0x414888(0x482)]()+'/'+_0xe3fe3c+_0x414888(0x443)+_0x2059e3+_0x414888(0x29e);if(_0x139061['url']===_0x2fdb42)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32f8dd){var _0x1ef485;return(_0x1ef485=_0x32f8dd['requestParams'])==null?void 0x0:_0x1ef485['body'];},'mergeParamsToRequest'(_0x542bef,_0x37929d){var _0x5d97ce=_0x410af2;const _0x1940d1=_0x426089[_0x5d97ce(0x482)]()+'/-/object/-/batch_allowed',_0x19ac2d=_0x542bef[_0x5d97ce(0x476)]((_0x3a7e51,_0x479176)=>{var _0x519105=_0x5d97ce;const {unitID:_0x2d1fe3,objectID:_0x530463,objectType:_0x39fd7f,actions:_0x4b47a9}=_0x479176;return _0x3a7e51[_0x2d1fe3]||(_0x3a7e51[_0x2d1fe3]={}),_0x3a7e51[_0x2d1fe3][_0x530463]||(_0x3a7e51[_0x2d1fe3][_0x530463]={'objectID':_0x530463,'objectType':_0x39fd7f,'actions':[]}),_0x3a7e51[_0x2d1fe3][_0x530463][_0x519105(0x28f)][_0x519105(0x2a6)](..._0x4b47a9),_0x3a7e51;},{}),_0x29fb96=[];for(const _0x472780 in _0x19ac2d)for(const _0xec8d66 in _0x19ac2d[_0x472780]){const {actions:_0xa2de3c,objectType:_0x32f244}=_0x19ac2d[_0x472780][_0xec8d66],_0x59aabd=[...new Set(_0xa2de3c)];_0x29fb96[_0x5d97ce(0x2a6)]({'unitID':_0x472780,'objectID':_0xec8d66,'objectType':_0x32f244,'actions':_0x59aabd});}return new q[(_0x5d97ce(0x3a6))](_0x5d97ce(0x37b),_0x1940d1,{'headers':_0x37929d[_0x5d97ce(0x4cf)],'withCredentials':_0x37929d['withCredentials'],'responseType':_0x37929d[_0x5d97ce(0x226)],'body':{'requests':_0x29fb96}});}},{'distributeResult'(_0x24cb71,_0x5cb4d4){var _0x26ae9d=_0x410af2;const {objectActions:_0x117664}=_0x24cb71;return _0x5cb4d4[_0x26ae9d(0x534)](_0x50270c=>{var _0x191dbc=_0x26ae9d;const {unitID:_0x447d1a,objectID:_0x45cf68,actions:_0x11bddb}=_0x50270c,_0xf3a6c0=_0x117664['find'](_0x3d68de=>_0x3d68de[_0x191dbc(0x1c7)]===_0x447d1a&&_0x3d68de[_0x191dbc(0x39d)]===_0x45cf68),_0x55e264=_0x11bddb['map'](_0x1d2380=>_0xf3a6c0==null?void 0x0:_0xf3a6c0[_0x191dbc(0x28f)]['find'](_0x243e3e=>_0x243e3e['action']===_0x1d2380))[_0x191dbc(0x258)](_0x17dd6a=>!!_0x17dd6a);return{'config':_0x50270c,'result':{'actions':_0x55e264,'error':_0x24cb71['error']}};});}})}));}[_0x5344e8(0x482)](){var _0x5cc9ac=_0x5344e8,_0xc6576a,_0x409aca;const _0xbb6a6f=this[_0x5cc9ac(0x21a)]['getConfig'](Ve),_0x2447e5=this[_0x5cc9ac(0x21a)]['getConfig'](Y);return(_0x409aca=(_0xc6576a=_0x2447e5==null?void 0x0:_0x2447e5['authzUrl'])!=null?_0xc6576a:_0xbb6a6f)!=null?_0x409aca:Kn;}async['create'](_0x31d104){var _0x4ac074=_0x5344e8;const _0x265fb4=this[_0x4ac074(0x482)]()+'/'+_0x31d104[_0x4ac074(0x52c)]+_0x4ac074(0x50a);return(await this[_0x4ac074(0x437)][_0x4ac074(0x27c)](_0x265fb4,{'body':_0x31d104}))[_0x4ac074(0x38c)]['objectID']||'';}async[_0x5344e8(0x278)](_0x4d5582){var _0x18aeeb=_0x5344e8;const _0x4c41cf=this[_0x18aeeb(0x482)]()+'/-/object/list';return(await this['_HTTPService'][_0x18aeeb(0x27c)](_0x4c41cf,{'body':_0x4d5582}))[_0x18aeeb(0x38c)][_0x18aeeb(0x48f)];}async[_0x5344e8(0x239)](_0x5f52b5){var _0x334771=_0x5344e8;const _0x22de4e=this[_0x334771(0x482)]()+'/'+_0x5f52b5[_0x334771(0x52c)]+'/object/'+_0x5f52b5[_0x334771(0x39d)];await this['_HTTPService'][_0x334771(0x2fd)](_0x22de4e,{'body':_0x5f52b5});}async[_0x5344e8(0x410)](_0x432fa1){var _0x3c2563=_0x5344e8;const _0x41bc4e=this[_0x3c2563(0x482)]()+'/'+_0x432fa1[_0x3c2563(0x52c)]+_0x3c2563(0x443)+_0x432fa1['objectID']+_0x3c2563(0x29e);return(await this[_0x3c2563(0x437)][_0x3c2563(0x27c)](_0x41bc4e,{'body':_0x432fa1}))[_0x3c2563(0x38c)][_0x3c2563(0x28f)];}async['batchAllowed'](_0x563469){var _0x1f41bf=_0x5344e8;const _0x156cdb=this[_0x1f41bf(0x482)]()+_0x1f41bf(0x2fa);return(await this[_0x1f41bf(0x437)][_0x1f41bf(0x27c)](_0x156cdb,{'body':{'requests':_0x563469}}))[_0x1f41bf(0x38c)][_0x1f41bf(0x535)];}async[_0x5344e8(0x341)](_0x4d467d){var _0x2e5015=_0x5344e8;const _0x28be3a=this['_getAPIPrefixPath']()+'/'+_0x4d467d[_0x2e5015(0x52c)]+_0x2e5015(0x2ce),_0x4cb90c=await this[_0x2e5015(0x437)][_0x2e5015(0x27c)](_0x28be3a,{'body':_0x4d467d});return{'roles':_0x4cb90c[_0x2e5015(0x38c)]['roles'],'actions':_0x4cb90c[_0x2e5015(0x38c)][_0x2e5015(0x28f)]};}async['deleteCollaborator'](_0x464e56){var _0x1ea254=_0x5344e8;const _0x46f84a=this[_0x1ea254(0x482)]()+_0x1ea254(0x46e);await this['_HTTPService'][_0x1ea254(0x505)](_0x46f84a,{'params':{'collaboratorID':_0x464e56['collaboratorID'],'objectID':_0x464e56[_0x1ea254(0x39d)],'unitID':_0x464e56[_0x1ea254(0x1c7)]}});}async[_0x5344e8(0x412)](_0xdc0cdc){var _0x1c4324=_0x5344e8;const _0x391db6=this[_0x1c4324(0x482)]()+'/collaborator';await this[_0x1c4324(0x437)]['patch'](_0x391db6,{'body':_0xdc0cdc});}async[_0x5344e8(0x1bf)](_0x2cf794){var _0x28c29c=_0x5344e8;const _0x400744=this[_0x28c29c(0x482)]()+_0x28c29c(0x46e);await this['_HTTPService'][_0x28c29c(0x27c)](_0x400744,{'body':_0x2cf794});}async[_0x5344e8(0x32a)](_0x5992b8){var _0x5f408d=_0x5344e8;const _0x584d3f=this['_getAPIPrefixPath']()+_0x5f408d(0x46e);return(await this[_0x5f408d(0x437)]['get'](_0x584d3f,{'params':{'objectID':_0x5992b8[_0x5f408d(0x39d)],'unitID':_0x5992b8[_0x5f408d(0x1c7)]}}))['body'][_0x5f408d(0x497)];}async['putCollaborators'](_0x4c6f5b){var _0x76ba1=_0x5344e8;const _0x2aa48e=this[_0x76ba1(0x482)]()+_0x76ba1(0x46e);await this[_0x76ba1(0x437)]['put'](_0x2aa48e,{'body':_0x4c6f5b});}},exports[_0x5344e8(0x2e3)]=Vn([Ze(0x0,a['Inject'](q['HTTPService'])),Ze(0x1,a[_0x5344e8(0x21d)](a[_0x5344e8(0x470)]))],exports[_0x5344e8(0x2e3)]);function _0x4b08(_0x3d768e,_0x327f71){var _0x55deb2=_0x55de();return _0x4b08=function(_0x4b0823,_0x5d616a){_0x4b0823=_0x4b0823-0x1b2;var _0x3cd03b=_0x55deb2[_0x4b0823];return _0x3cd03b;},_0x4b08(_0x3d768e,_0x327f71);}var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x57a724){var _0x1f1174=_0x5344e8;return _0x57a724&&_0x57a724[_0x1f1174(0x244)]&&Object[_0x1f1174(0x4c2)]['hasOwnProperty'][_0x1f1174(0x1e8)](_0x57a724,_0x1f1174(0x304))?_0x57a724[_0x1f1174(0x304)]:_0x57a724;}var Se={'exports':{}};function Yn(_0x1b58fe){var _0x57ddd3=_0x5344e8;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1b58fe+_0x57ddd3(0x2b1));}var pe={'exports':{}},qn=pe[_0x5344e8(0x2b0)],Qe;function ee(){return Qe||(Qe=0x1,function(_0x246d3d,_0x3cdd4c){(function(_0xaed51d,_0x2b3f1a){var _0x40e48a=_0x4b08;_0x246d3d[_0x40e48a(0x2b0)]=_0x2b3f1a();}(qn,function(){var _0x676c03=_0x676c03||function(_0x9ea46b,_0x220f58){var _0x3b8653=_0x4b08,_0x448509;if(typeof window<'u'&&window[_0x3b8653(0x4a5)]&&(_0x448509=window['crypto']),typeof self<'u'&&self[_0x3b8653(0x4a5)]&&(_0x448509=self[_0x3b8653(0x4a5)]),typeof globalThis<'u'&&globalThis[_0x3b8653(0x4a5)]&&(_0x448509=globalThis[_0x3b8653(0x4a5)]),!_0x448509&&typeof window<'u'&&window[_0x3b8653(0x36a)]&&(_0x448509=window[_0x3b8653(0x36a)]),!_0x448509&&typeof Le<'u'&&Le[_0x3b8653(0x4a5)]&&(_0x448509=Le['crypto']),!_0x448509&&typeof Yn=='function')try{_0x448509=require(_0x3b8653(0x4a5));}catch{}var _0x420a99=function(){var _0x2704c9=_0x3b8653;if(_0x448509){if(typeof _0x448509[_0x2704c9(0x463)]==_0x2704c9(0x380))try{return _0x448509[_0x2704c9(0x463)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x448509[_0x2704c9(0x435)]=='function')try{return _0x448509['randomBytes'](0x4)[_0x2704c9(0x448)]();}catch{}}throw new Error(_0x2704c9(0x356));},_0x55816f=Object[_0x3b8653(0x1f3)]||(function(){function _0x247b4a(){}return function(_0xbb2e57){var _0x23c294=_0x4b08,_0x3979b0;return _0x247b4a[_0x23c294(0x4c2)]=_0xbb2e57,_0x3979b0=new _0x247b4a(),_0x247b4a['prototype']=null,_0x3979b0;};}()),_0xa55012={},_0x3751cd=_0xa55012[_0x3b8653(0x370)]={},_0x6d89e=_0x3751cd['Base']=(function(){return{'extend':function(_0x2c6be1){var _0x415862=_0x4b08,_0x48ecff=_0x55816f(this);return _0x2c6be1&&_0x48ecff[_0x415862(0x25a)](_0x2c6be1),(!_0x48ecff[_0x415862(0x300)](_0x415862(0x30a))||this[_0x415862(0x30a)]===_0x48ecff['init'])&&(_0x48ecff[_0x415862(0x30a)]=function(){var _0x57ac51=_0x415862;_0x48ecff[_0x57ac51(0x2c6)][_0x57ac51(0x30a)][_0x57ac51(0x1da)](this,arguments);}),_0x48ecff[_0x415862(0x30a)][_0x415862(0x4c2)]=_0x48ecff,_0x48ecff[_0x415862(0x2c6)]=this,_0x48ecff;},'create':function(){var _0x215f16=_0x4b08,_0x2982a4=this[_0x215f16(0x4b1)]();return _0x2982a4[_0x215f16(0x30a)][_0x215f16(0x1da)](_0x2982a4,arguments),_0x2982a4;},'init':function(){},'mixIn':function(_0x31598d){var _0x4a25ef=_0x4b08;for(var _0x3786af in _0x31598d)_0x31598d[_0x4a25ef(0x300)](_0x3786af)&&(this[_0x3786af]=_0x31598d[_0x3786af]);_0x31598d[_0x4a25ef(0x300)](_0x4a25ef(0x416))&&(this[_0x4a25ef(0x416)]=_0x31598d[_0x4a25ef(0x416)]);},'clone':function(){var _0x5087ca=_0x4b08;return this[_0x5087ca(0x30a)]['prototype'][_0x5087ca(0x4b1)](this);}};}()),_0x2ae831=_0x3751cd[_0x3b8653(0x265)]=_0x6d89e[_0x3b8653(0x4b1)]({'init':function(_0x2bd932,_0x2d575c){var _0x102586=_0x3b8653;_0x2bd932=this[_0x102586(0x249)]=_0x2bd932||[],_0x2d575c!=_0x220f58?this['sigBytes']=_0x2d575c:this[_0x102586(0x3d8)]=_0x2bd932[_0x102586(0x28d)]*0x4;},'toString':function(_0xec11b2){var _0x3dc962=_0x3b8653;return(_0xec11b2||_0x4dc4f7)[_0x3dc962(0x2df)](this);},'concat':function(_0x3c366e){var _0x4be197=_0x3b8653,_0x3ebeee=this[_0x4be197(0x249)],_0x1a858a=_0x3c366e[_0x4be197(0x249)],_0x489c5f=this[_0x4be197(0x3d8)],_0x5aa366=_0x3c366e[_0x4be197(0x3d8)];if(this[_0x4be197(0x40e)](),_0x489c5f%0x4)for(var _0x6d6d84=0x0;_0x6d6d84<_0x5aa366;_0x6d6d84++){var _0x43bfe1=_0x1a858a[_0x6d6d84>>>0x2]>>>0x18-_0x6d6d84%0x4*0x8&0xff;_0x3ebeee[_0x489c5f+_0x6d6d84>>>0x2]|=_0x43bfe1<<0x18-(_0x489c5f+_0x6d6d84)%0x4*0x8;}else{for(var _0x297dd0=0x0;_0x297dd0<_0x5aa366;_0x297dd0+=0x4)_0x3ebeee[_0x489c5f+_0x297dd0>>>0x2]=_0x1a858a[_0x297dd0>>>0x2];}return this[_0x4be197(0x3d8)]+=_0x5aa366,this;},'clamp':function(){var _0x3da8ff=_0x3b8653,_0x588997=this[_0x3da8ff(0x249)],_0x4b3ca9=this[_0x3da8ff(0x3d8)];_0x588997[_0x4b3ca9>>>0x2]&=0xffffffff<<0x20-_0x4b3ca9%0x4*0x8,_0x588997[_0x3da8ff(0x28d)]=_0x9ea46b['ceil'](_0x4b3ca9/0x4);},'clone':function(){var _0x1289fe=_0x3b8653,_0xa311ba=_0x6d89e[_0x1289fe(0x3f0)]['call'](this);return _0xa311ba[_0x1289fe(0x249)]=this['words'][_0x1289fe(0x4ac)](0x0),_0xa311ba;},'random':function(_0x52165b){var _0x44fff2=_0x3b8653;for(var _0x580d33=[],_0x4672f6=0x0;_0x4672f6<_0x52165b;_0x4672f6+=0x4)_0x580d33['push'](_0x420a99());return new _0x2ae831[(_0x44fff2(0x30a))](_0x580d33,_0x52165b);}}),_0x1e6ec4=_0xa55012[_0x3b8653(0x360)]={},_0x4dc4f7=_0x1e6ec4[_0x3b8653(0x371)]={'stringify':function(_0x46c211){var _0x5579ef=_0x3b8653;for(var _0x53f508=_0x46c211['words'],_0x13628c=_0x46c211['sigBytes'],_0xfac6c8=[],_0xadcca4=0x0;_0xadcca4<_0x13628c;_0xadcca4++){var _0x2d7106=_0x53f508[_0xadcca4>>>0x2]>>>0x18-_0xadcca4%0x4*0x8&0xff;_0xfac6c8[_0x5579ef(0x2a6)]((_0x2d7106>>>0x4)['toString'](0x10)),_0xfac6c8[_0x5579ef(0x2a6)]((_0x2d7106&0xf)[_0x5579ef(0x416)](0x10));}return _0xfac6c8[_0x5579ef(0x4a8)]('');},'parse':function(_0xf4228e){var _0x39974f=_0x3b8653;for(var _0x1cc9f4=_0xf4228e['length'],_0x4cb181=[],_0x1ff0e4=0x0;_0x1ff0e4<_0x1cc9f4;_0x1ff0e4+=0x2)_0x4cb181[_0x1ff0e4>>>0x3]|=parseInt(_0xf4228e['substr'](_0x1ff0e4,0x2),0x10)<<0x18-_0x1ff0e4%0x8*0x4;return new _0x2ae831[(_0x39974f(0x30a))](_0x4cb181,_0x1cc9f4/0x2);}},_0x59de6b=_0x1e6ec4['Latin1']={'stringify':function(_0x211697){var _0x27e926=_0x3b8653;for(var _0xbc24dd=_0x211697['words'],_0x1c79ac=_0x211697[_0x27e926(0x3d8)],_0x495714=[],_0x6eb7cb=0x0;_0x6eb7cb<_0x1c79ac;_0x6eb7cb++){var _0x441ab6=_0xbc24dd[_0x6eb7cb>>>0x2]>>>0x18-_0x6eb7cb%0x4*0x8&0xff;_0x495714[_0x27e926(0x2a6)](String['fromCharCode'](_0x441ab6));}return _0x495714[_0x27e926(0x4a8)]('');},'parse':function(_0x54b87a){var _0xf8cdfe=_0x3b8653;for(var _0x36db67=_0x54b87a[_0xf8cdfe(0x28d)],_0x3f3dc3=[],_0x11036e=0x0;_0x11036e<_0x36db67;_0x11036e++)_0x3f3dc3[_0x11036e>>>0x2]|=(_0x54b87a[_0xf8cdfe(0x1d2)](_0x11036e)&0xff)<<0x18-_0x11036e%0x4*0x8;return new _0x2ae831[(_0xf8cdfe(0x30a))](_0x3f3dc3,_0x36db67);}},_0x39d29b=_0x1e6ec4[_0x3b8653(0x381)]={'stringify':function(_0x13b69c){var _0x1aa321=_0x3b8653;try{return decodeURIComponent(escape(_0x59de6b[_0x1aa321(0x2df)](_0x13b69c)));}catch{throw new Error(_0x1aa321(0x3ca));}},'parse':function(_0x57544a){var _0x416fe8=_0x3b8653;return _0x59de6b[_0x416fe8(0x34f)](unescape(encodeURIComponent(_0x57544a)));}},_0x4121a1=_0x3751cd[_0x3b8653(0x272)]=_0x6d89e[_0x3b8653(0x4b1)]({'reset':function(){var _0x6d0a5f=_0x3b8653;this[_0x6d0a5f(0x24e)]=new _0x2ae831[(_0x6d0a5f(0x30a))](),this[_0x6d0a5f(0x390)]=0x0;},'_append':function(_0x483790){var _0x589b7f=_0x3b8653;typeof _0x483790==_0x589b7f(0x2d9)&&(_0x483790=_0x39d29b[_0x589b7f(0x34f)](_0x483790)),this['_data'][_0x589b7f(0x279)](_0x483790),this['_nDataBytes']+=_0x483790[_0x589b7f(0x3d8)];},'_process':function(_0x525e3c){var _0x1ca7d8=_0x3b8653,_0x5bc826,_0x2c9fd8=this[_0x1ca7d8(0x24e)],_0x45ceef=_0x2c9fd8[_0x1ca7d8(0x249)],_0x176326=_0x2c9fd8[_0x1ca7d8(0x3d8)],_0x19a1b4=this['blockSize'],_0x2f82ee=_0x19a1b4*0x4,_0x5745f1=_0x176326/_0x2f82ee;_0x525e3c?_0x5745f1=_0x9ea46b[_0x1ca7d8(0x424)](_0x5745f1):_0x5745f1=_0x9ea46b['max']((_0x5745f1|0x0)-this['_minBufferSize'],0x0);var _0x37abdf=_0x5745f1*_0x19a1b4,_0x1259f2=_0x9ea46b[_0x1ca7d8(0x2d8)](_0x37abdf*0x4,_0x176326);if(_0x37abdf){for(var _0x4656f9=0x0;_0x4656f9<_0x37abdf;_0x4656f9+=_0x19a1b4)this[_0x1ca7d8(0x238)](_0x45ceef,_0x4656f9);_0x5bc826=_0x45ceef[_0x1ca7d8(0x202)](0x0,_0x37abdf),_0x2c9fd8['sigBytes']-=_0x1259f2;}return new _0x2ae831[(_0x1ca7d8(0x30a))](_0x5bc826,_0x1259f2);},'clone':function(){var _0x5d513=_0x3b8653,_0xf13f21=_0x6d89e[_0x5d513(0x3f0)]['call'](this);return _0xf13f21['_data']=this[_0x5d513(0x24e)]['clone'](),_0xf13f21;},'_minBufferSize':0x0});_0x3751cd['Hasher']=_0x4121a1[_0x3b8653(0x4b1)]({'cfg':_0x6d89e[_0x3b8653(0x4b1)](),'init':function(_0x26800c){var _0x3e84ff=_0x3b8653;this['cfg']=this[_0x3e84ff(0x306)][_0x3e84ff(0x4b1)](_0x26800c),this['reset']();},'reset':function(){var _0x2a1c50=_0x3b8653;_0x4121a1[_0x2a1c50(0x499)][_0x2a1c50(0x1e8)](this),this[_0x2a1c50(0x3dd)]();},'update':function(_0x175455){return this['_append'](_0x175455),this['_process'](),this;},'finalize':function(_0x18cb5d){var _0x193cba=_0x3b8653;_0x18cb5d&&this[_0x193cba(0x28c)](_0x18cb5d);var _0x14dfd6=this[_0x193cba(0x3dc)]();return _0x14dfd6;},'blockSize':0x10,'_createHelper':function(_0x1e3830){return function(_0x57b0f3,_0x249cd3){var _0x44c9fa=_0x4b08;return new _0x1e3830[(_0x44c9fa(0x30a))](_0x249cd3)[_0x44c9fa(0x35b)](_0x57b0f3);};},'_createHmacHelper':function(_0x387806){return function(_0x3354e2,_0xe0a25a){var _0x20e860=_0x4b08;return new _0x5ed270[(_0x20e860(0x4cd))]['init'](_0x387806,_0xe0a25a)[_0x20e860(0x35b)](_0x3354e2);};}});var _0x5ed270=_0xa55012[_0x3b8653(0x34e)]={};return _0xa55012;}(Math);return _0x676c03;}));}(pe)),pe['exports'];}var me={'exports':{}},zn=me['exports'],et;function Dt(){var _0x417743=_0x5344e8;return et||(et=0x1,function(_0x5dce38,_0x3bd993){(function(_0x1e85b1,_0x288de3){var _0x594bca=_0x4b08;_0x5dce38[_0x594bca(0x2b0)]=_0x288de3(ee());}(zn,function(_0x5dd7f7){var _0x36523b=_0x4b08;return(function(){var _0x34a37f=_0x4b08,_0x586364=_0x5dd7f7,_0x375d06=_0x586364['lib'],_0x36cd76=_0x375d06[_0x34a37f(0x265)],_0x576ba6=_0x586364[_0x34a37f(0x360)];_0x576ba6[_0x34a37f(0x3e9)]={'stringify':function(_0x342b13){var _0x498cb2=_0x34a37f,_0x24edf7=_0x342b13[_0x498cb2(0x249)],_0x166fbb=_0x342b13[_0x498cb2(0x3d8)],_0x5e0cea=this[_0x498cb2(0x51d)];_0x342b13[_0x498cb2(0x40e)]();for(var _0x5f5685=[],_0xb99b4f=0x0;_0xb99b4f<_0x166fbb;_0xb99b4f+=0x3)for(var _0x5df840=_0x24edf7[_0xb99b4f>>>0x2]>>>0x18-_0xb99b4f%0x4*0x8&0xff,_0x2ddc40=_0x24edf7[_0xb99b4f+0x1>>>0x2]>>>0x18-(_0xb99b4f+0x1)%0x4*0x8&0xff,_0x238f9b=_0x24edf7[_0xb99b4f+0x2>>>0x2]>>>0x18-(_0xb99b4f+0x2)%0x4*0x8&0xff,_0x7d0927=_0x5df840<<0x10|_0x2ddc40<<0x8|_0x238f9b,_0x426edf=0x0;_0x426edf<0x4&&_0xb99b4f+_0x426edf*0.75<_0x166fbb;_0x426edf++)_0x5f5685[_0x498cb2(0x2a6)](_0x5e0cea[_0x498cb2(0x436)](_0x7d0927>>>0x6*(0x3-_0x426edf)&0x3f));var _0x3b29ce=_0x5e0cea[_0x498cb2(0x436)](0x40);if(_0x3b29ce){for(;_0x5f5685[_0x498cb2(0x28d)]%0x4;)_0x5f5685[_0x498cb2(0x2a6)](_0x3b29ce);}return _0x5f5685['join']('');},'parse':function(_0x298d07){var _0x3d30bd=_0x34a37f,_0x3ddf7e=_0x298d07[_0x3d30bd(0x28d)],_0x4606c0=this[_0x3d30bd(0x51d)],_0x26b9c3=this[_0x3d30bd(0x1b4)];if(!_0x26b9c3){_0x26b9c3=this['_reverseMap']=[];for(var _0x3892e0=0x0;_0x3892e0<_0x4606c0['length'];_0x3892e0++)_0x26b9c3[_0x4606c0[_0x3d30bd(0x1d2)](_0x3892e0)]=_0x3892e0;}var _0x3e0184=_0x4606c0[_0x3d30bd(0x436)](0x40);if(_0x3e0184){var _0x1fdcc4=_0x298d07[_0x3d30bd(0x26b)](_0x3e0184);_0x1fdcc4!==-0x1&&(_0x3ddf7e=_0x1fdcc4);}return _0x1c98b3(_0x298d07,_0x3ddf7e,_0x26b9c3);},'_map':_0x34a37f(0x4f0)};function _0x1c98b3(_0xc26111,_0x5cc912,_0x1da7a4){var _0x392278=_0x34a37f;for(var _0x2cc60b=[],_0x403cf7=0x0,_0x466f26=0x0;_0x466f26<_0x5cc912;_0x466f26++)if(_0x466f26%0x4){var _0x4585ab=_0x1da7a4[_0xc26111[_0x392278(0x1d2)](_0x466f26-0x1)]<<_0x466f26%0x4*0x2,_0x506ad7=_0x1da7a4[_0xc26111[_0x392278(0x1d2)](_0x466f26)]>>>0x6-_0x466f26%0x4*0x2,_0x337e29=_0x4585ab|_0x506ad7;_0x2cc60b[_0x403cf7>>>0x2]|=_0x337e29<<0x18-_0x403cf7%0x4*0x8,_0x403cf7++;}return _0x36cd76[_0x392278(0x1f3)](_0x2cc60b,_0x403cf7);}}()),_0x5dd7f7[_0x36523b(0x360)][_0x36523b(0x3e9)];}));}(me)),me[_0x417743(0x2b0)];}var ge={'exports':{}},Jn=ge[_0x5344e8(0x2b0)],tt;function Xn(){var _0x4eb625=_0x5344e8;return tt||(tt=0x1,function(_0x295905,_0x303a0d){(function(_0x40b882,_0xc43f26){_0x295905['exports']=_0xc43f26(ee());}(Jn,function(_0xf68e0b){var _0x1c86ea=_0x4b08;return function(_0x55f44c){var _0x2145be=_0x4b08,_0x40daa6=_0xf68e0b,_0x1d41d9=_0x40daa6[_0x2145be(0x370)],_0x2ef87a=_0x1d41d9[_0x2145be(0x265)],_0x1c1b5e=_0x1d41d9['Hasher'],_0x133903=_0x40daa6['algo'],_0x43cbaf=[];(function(){var _0x3e068b=_0x2145be;for(var _0x3d6df2=0x0;_0x3d6df2<0x40;_0x3d6df2++)_0x43cbaf[_0x3d6df2]=_0x55f44c[_0x3e068b(0x319)](_0x55f44c['sin'](_0x3d6df2+0x1))*0x100000000|0x0;}());var _0x33972c=_0x133903[_0x2145be(0x4e4)]=_0x1c1b5e[_0x2145be(0x4b1)]({'_doReset':function(){var _0x597849=_0x2145be;this['_hash']=new _0x2ef87a[(_0x597849(0x30a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bc6d1,_0x441ba7){var _0x8e91d6=_0x2145be;for(var _0x171132=0x0;_0x171132<0x10;_0x171132++){var _0x3d7b5b=_0x441ba7+_0x171132,_0x3c4d93=_0x4bc6d1[_0x3d7b5b];_0x4bc6d1[_0x3d7b5b]=(_0x3c4d93<<0x8|_0x3c4d93>>>0x18)&0xff00ff|(_0x3c4d93<<0x18|_0x3c4d93>>>0x8)&0xff00ff00;}var _0x3bffd6=this[_0x8e91d6(0x4dc)][_0x8e91d6(0x249)],_0xcab2f3=_0x4bc6d1[_0x441ba7+0x0],_0x29d974=_0x4bc6d1[_0x441ba7+0x1],_0xd41729=_0x4bc6d1[_0x441ba7+0x2],_0x2c1005=_0x4bc6d1[_0x441ba7+0x3],_0xfc75ea=_0x4bc6d1[_0x441ba7+0x4],_0x5bad4b=_0x4bc6d1[_0x441ba7+0x5],_0xa2e795=_0x4bc6d1[_0x441ba7+0x6],_0x197486=_0x4bc6d1[_0x441ba7+0x7],_0x3daef3=_0x4bc6d1[_0x441ba7+0x8],_0xee3556=_0x4bc6d1[_0x441ba7+0x9],_0x406c26=_0x4bc6d1[_0x441ba7+0xa],_0x2c5bb1=_0x4bc6d1[_0x441ba7+0xb],_0x42c103=_0x4bc6d1[_0x441ba7+0xc],_0x1db266=_0x4bc6d1[_0x441ba7+0xd],_0x3f68bc=_0x4bc6d1[_0x441ba7+0xe],_0x31ef87=_0x4bc6d1[_0x441ba7+0xf],_0x123349=_0x3bffd6[0x0],_0xe5783a=_0x3bffd6[0x1],_0x2b2e3a=_0x3bffd6[0x2],_0x3d5248=_0x3bffd6[0x3];_0x123349=_0x19c2aa(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xcab2f3,0x7,_0x43cbaf[0x0]),_0x3d5248=_0x19c2aa(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x29d974,0xc,_0x43cbaf[0x1]),_0x2b2e3a=_0x19c2aa(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0xd41729,0x11,_0x43cbaf[0x2]),_0xe5783a=_0x19c2aa(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x2c1005,0x16,_0x43cbaf[0x3]),_0x123349=_0x19c2aa(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xfc75ea,0x7,_0x43cbaf[0x4]),_0x3d5248=_0x19c2aa(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x5bad4b,0xc,_0x43cbaf[0x5]),_0x2b2e3a=_0x19c2aa(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0xa2e795,0x11,_0x43cbaf[0x6]),_0xe5783a=_0x19c2aa(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x197486,0x16,_0x43cbaf[0x7]),_0x123349=_0x19c2aa(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x3daef3,0x7,_0x43cbaf[0x8]),_0x3d5248=_0x19c2aa(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0xee3556,0xc,_0x43cbaf[0x9]),_0x2b2e3a=_0x19c2aa(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x406c26,0x11,_0x43cbaf[0xa]),_0xe5783a=_0x19c2aa(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x2c5bb1,0x16,_0x43cbaf[0xb]),_0x123349=_0x19c2aa(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x42c103,0x7,_0x43cbaf[0xc]),_0x3d5248=_0x19c2aa(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x1db266,0xc,_0x43cbaf[0xd]),_0x2b2e3a=_0x19c2aa(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x3f68bc,0x11,_0x43cbaf[0xe]),_0xe5783a=_0x19c2aa(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x31ef87,0x16,_0x43cbaf[0xf]),_0x123349=_0x2e9423(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x29d974,0x5,_0x43cbaf[0x10]),_0x3d5248=_0x2e9423(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0xa2e795,0x9,_0x43cbaf[0x11]),_0x2b2e3a=_0x2e9423(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x2c5bb1,0xe,_0x43cbaf[0x12]),_0xe5783a=_0x2e9423(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0xcab2f3,0x14,_0x43cbaf[0x13]),_0x123349=_0x2e9423(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x5bad4b,0x5,_0x43cbaf[0x14]),_0x3d5248=_0x2e9423(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x406c26,0x9,_0x43cbaf[0x15]),_0x2b2e3a=_0x2e9423(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x31ef87,0xe,_0x43cbaf[0x16]),_0xe5783a=_0x2e9423(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0xfc75ea,0x14,_0x43cbaf[0x17]),_0x123349=_0x2e9423(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xee3556,0x5,_0x43cbaf[0x18]),_0x3d5248=_0x2e9423(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x3f68bc,0x9,_0x43cbaf[0x19]),_0x2b2e3a=_0x2e9423(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x2c1005,0xe,_0x43cbaf[0x1a]),_0xe5783a=_0x2e9423(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x3daef3,0x14,_0x43cbaf[0x1b]),_0x123349=_0x2e9423(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x1db266,0x5,_0x43cbaf[0x1c]),_0x3d5248=_0x2e9423(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0xd41729,0x9,_0x43cbaf[0x1d]),_0x2b2e3a=_0x2e9423(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x197486,0xe,_0x43cbaf[0x1e]),_0xe5783a=_0x2e9423(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x42c103,0x14,_0x43cbaf[0x1f]),_0x123349=_0x49f548(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x5bad4b,0x4,_0x43cbaf[0x20]),_0x3d5248=_0x49f548(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x3daef3,0xb,_0x43cbaf[0x21]),_0x2b2e3a=_0x49f548(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x2c5bb1,0x10,_0x43cbaf[0x22]),_0xe5783a=_0x49f548(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x3f68bc,0x17,_0x43cbaf[0x23]),_0x123349=_0x49f548(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x29d974,0x4,_0x43cbaf[0x24]),_0x3d5248=_0x49f548(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0xfc75ea,0xb,_0x43cbaf[0x25]),_0x2b2e3a=_0x49f548(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x197486,0x10,_0x43cbaf[0x26]),_0xe5783a=_0x49f548(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x406c26,0x17,_0x43cbaf[0x27]),_0x123349=_0x49f548(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x1db266,0x4,_0x43cbaf[0x28]),_0x3d5248=_0x49f548(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0xcab2f3,0xb,_0x43cbaf[0x29]),_0x2b2e3a=_0x49f548(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x2c1005,0x10,_0x43cbaf[0x2a]),_0xe5783a=_0x49f548(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0xa2e795,0x17,_0x43cbaf[0x2b]),_0x123349=_0x49f548(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xee3556,0x4,_0x43cbaf[0x2c]),_0x3d5248=_0x49f548(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x42c103,0xb,_0x43cbaf[0x2d]),_0x2b2e3a=_0x49f548(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x31ef87,0x10,_0x43cbaf[0x2e]),_0xe5783a=_0x49f548(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0xd41729,0x17,_0x43cbaf[0x2f]),_0x123349=_0x51d213(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xcab2f3,0x6,_0x43cbaf[0x30]),_0x3d5248=_0x51d213(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x197486,0xa,_0x43cbaf[0x31]),_0x2b2e3a=_0x51d213(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x3f68bc,0xf,_0x43cbaf[0x32]),_0xe5783a=_0x51d213(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x5bad4b,0x15,_0x43cbaf[0x33]),_0x123349=_0x51d213(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x42c103,0x6,_0x43cbaf[0x34]),_0x3d5248=_0x51d213(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x2c1005,0xa,_0x43cbaf[0x35]),_0x2b2e3a=_0x51d213(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0x406c26,0xf,_0x43cbaf[0x36]),_0xe5783a=_0x51d213(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x29d974,0x15,_0x43cbaf[0x37]),_0x123349=_0x51d213(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0x3daef3,0x6,_0x43cbaf[0x38]),_0x3d5248=_0x51d213(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x31ef87,0xa,_0x43cbaf[0x39]),_0x2b2e3a=_0x51d213(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0xa2e795,0xf,_0x43cbaf[0x3a]),_0xe5783a=_0x51d213(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0x1db266,0x15,_0x43cbaf[0x3b]),_0x123349=_0x51d213(_0x123349,_0xe5783a,_0x2b2e3a,_0x3d5248,_0xfc75ea,0x6,_0x43cbaf[0x3c]),_0x3d5248=_0x51d213(_0x3d5248,_0x123349,_0xe5783a,_0x2b2e3a,_0x2c5bb1,0xa,_0x43cbaf[0x3d]),_0x2b2e3a=_0x51d213(_0x2b2e3a,_0x3d5248,_0x123349,_0xe5783a,_0xd41729,0xf,_0x43cbaf[0x3e]),_0xe5783a=_0x51d213(_0xe5783a,_0x2b2e3a,_0x3d5248,_0x123349,_0xee3556,0x15,_0x43cbaf[0x3f]),_0x3bffd6[0x0]=_0x3bffd6[0x0]+_0x123349|0x0,_0x3bffd6[0x1]=_0x3bffd6[0x1]+_0xe5783a|0x0,_0x3bffd6[0x2]=_0x3bffd6[0x2]+_0x2b2e3a|0x0,_0x3bffd6[0x3]=_0x3bffd6[0x3]+_0x3d5248|0x0;},'_doFinalize':function(){var _0xaa561d=_0x2145be,_0x4da01d=this[_0xaa561d(0x24e)],_0x45202d=_0x4da01d[_0xaa561d(0x249)],_0x4a3702=this[_0xaa561d(0x390)]*0x8,_0xc0b7f8=_0x4da01d['sigBytes']*0x8;_0x45202d[_0xc0b7f8>>>0x5]|=0x80<<0x18-_0xc0b7f8%0x20;var _0x5603e5=_0x55f44c[_0xaa561d(0x213)](_0x4a3702/0x100000000),_0x55f2f1=_0x4a3702;_0x45202d[(_0xc0b7f8+0x40>>>0x9<<0x4)+0xf]=(_0x5603e5<<0x8|_0x5603e5>>>0x18)&0xff00ff|(_0x5603e5<<0x18|_0x5603e5>>>0x8)&0xff00ff00,_0x45202d[(_0xc0b7f8+0x40>>>0x9<<0x4)+0xe]=(_0x55f2f1<<0x8|_0x55f2f1>>>0x18)&0xff00ff|(_0x55f2f1<<0x18|_0x55f2f1>>>0x8)&0xff00ff00,_0x4da01d[_0xaa561d(0x3d8)]=(_0x45202d['length']+0x1)*0x4,this[_0xaa561d(0x4ff)]();for(var _0x577c4c=this['_hash'],_0x3786c5=_0x577c4c[_0xaa561d(0x249)],_0x5d2636=0x0;_0x5d2636<0x4;_0x5d2636++){var _0x44780a=_0x3786c5[_0x5d2636];_0x3786c5[_0x5d2636]=(_0x44780a<<0x8|_0x44780a>>>0x18)&0xff00ff|(_0x44780a<<0x18|_0x44780a>>>0x8)&0xff00ff00;}return _0x577c4c;},'clone':function(){var _0xacd5af=_0x2145be,_0xfde32d=_0x1c1b5e[_0xacd5af(0x3f0)][_0xacd5af(0x1e8)](this);return _0xfde32d[_0xacd5af(0x4dc)]=this['_hash'][_0xacd5af(0x3f0)](),_0xfde32d;}});function _0x19c2aa(_0x964434,_0x554e11,_0x97a984,_0x27d063,_0xe80f99,_0xfce3d4,_0x1f5f39){var _0x1b6bd7=_0x964434+(_0x554e11&_0x97a984|~_0x554e11&_0x27d063)+_0xe80f99+_0x1f5f39;return(_0x1b6bd7<<_0xfce3d4|_0x1b6bd7>>>0x20-_0xfce3d4)+_0x554e11;}function _0x2e9423(_0x9f8c25,_0x39ac0d,_0x5f385b,_0x693a63,_0x336a29,_0x33d7f7,_0x24e452){var _0x3c147c=_0x9f8c25+(_0x39ac0d&_0x693a63|_0x5f385b&~_0x693a63)+_0x336a29+_0x24e452;return(_0x3c147c<<_0x33d7f7|_0x3c147c>>>0x20-_0x33d7f7)+_0x39ac0d;}function _0x49f548(_0x6a9c4d,_0x56d60a,_0x1e5419,_0x25045a,_0x39b39b,_0x45d83b,_0x2dde44){var _0x16684a=_0x6a9c4d+(_0x56d60a^_0x1e5419^_0x25045a)+_0x39b39b+_0x2dde44;return(_0x16684a<<_0x45d83b|_0x16684a>>>0x20-_0x45d83b)+_0x56d60a;}function _0x51d213(_0x3b4d60,_0x5e3a9d,_0x582907,_0x34d976,_0x4c0762,_0x4833a8,_0x103832){var _0x380917=_0x3b4d60+(_0x582907^(_0x5e3a9d|~_0x34d976))+_0x4c0762+_0x103832;return(_0x380917<<_0x4833a8|_0x380917>>>0x20-_0x4833a8)+_0x5e3a9d;}_0x40daa6[_0x2145be(0x4e4)]=_0x1c1b5e[_0x2145be(0x1b9)](_0x33972c),_0x40daa6['HmacMD5']=_0x1c1b5e['_createHmacHelper'](_0x33972c);}(Math),_0xf68e0b[_0x1c86ea(0x4e4)];}));}(ge)),ge[_0x4eb625(0x2b0)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5344e8(0x2b0)],nt;function Qn(){return nt||(nt=0x1,function(_0x2b1715,_0x4aa3e7){(function(_0x17451c,_0x5b3c7e){var _0x3eac87=_0x4b08;_0x2b1715[_0x3eac87(0x2b0)]=_0x5b3c7e(ee());}(Zn,function(_0x4de114){var _0x2e1e6a=_0x4b08;return(function(){var _0x542a37=_0x4b08,_0x4580bd=_0x4de114,_0xdd7799=_0x4580bd[_0x542a37(0x370)],_0x333480=_0xdd7799[_0x542a37(0x265)],_0x276605=_0xdd7799[_0x542a37(0x3d2)],_0xce43f3=_0x4580bd[_0x542a37(0x34e)],_0x55f22c=[],_0x4f2ef2=_0xce43f3[_0x542a37(0x3d3)]=_0x276605['extend']({'_doReset':function(){var _0x31bb15=_0x542a37;this[_0x31bb15(0x4dc)]=new _0x333480[(_0x31bb15(0x30a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x45e08e,_0x25b672){var _0xe25634=_0x542a37;for(var _0x122a3e=this[_0xe25634(0x4dc)][_0xe25634(0x249)],_0x177cea=_0x122a3e[0x0],_0xf4932a=_0x122a3e[0x1],_0x44a198=_0x122a3e[0x2],_0x332e13=_0x122a3e[0x3],_0x899b43=_0x122a3e[0x4],_0xd5cdd1=0x0;_0xd5cdd1<0x50;_0xd5cdd1++){if(_0xd5cdd1<0x10)_0x55f22c[_0xd5cdd1]=_0x45e08e[_0x25b672+_0xd5cdd1]|0x0;else{var _0x53d41a=_0x55f22c[_0xd5cdd1-0x3]^_0x55f22c[_0xd5cdd1-0x8]^_0x55f22c[_0xd5cdd1-0xe]^_0x55f22c[_0xd5cdd1-0x10];_0x55f22c[_0xd5cdd1]=_0x53d41a<<0x1|_0x53d41a>>>0x1f;}var _0x123f53=(_0x177cea<<0x5|_0x177cea>>>0x1b)+_0x899b43+_0x55f22c[_0xd5cdd1];_0xd5cdd1<0x14?_0x123f53+=(_0xf4932a&_0x44a198|~_0xf4932a&_0x332e13)+0x5a827999:_0xd5cdd1<0x28?_0x123f53+=(_0xf4932a^_0x44a198^_0x332e13)+0x6ed9eba1:_0xd5cdd1<0x3c?_0x123f53+=(_0xf4932a&_0x44a198|_0xf4932a&_0x332e13|_0x44a198&_0x332e13)-0x70e44324:_0x123f53+=(_0xf4932a^_0x44a198^_0x332e13)-0x359d3e2a,_0x899b43=_0x332e13,_0x332e13=_0x44a198,_0x44a198=_0xf4932a<<0x1e|_0xf4932a>>>0x2,_0xf4932a=_0x177cea,_0x177cea=_0x123f53;}_0x122a3e[0x0]=_0x122a3e[0x0]+_0x177cea|0x0,_0x122a3e[0x1]=_0x122a3e[0x1]+_0xf4932a|0x0,_0x122a3e[0x2]=_0x122a3e[0x2]+_0x44a198|0x0,_0x122a3e[0x3]=_0x122a3e[0x3]+_0x332e13|0x0,_0x122a3e[0x4]=_0x122a3e[0x4]+_0x899b43|0x0;},'_doFinalize':function(){var _0x425b27=_0x542a37,_0x30ff26=this[_0x425b27(0x24e)],_0x262845=_0x30ff26[_0x425b27(0x249)],_0x4407fb=this[_0x425b27(0x390)]*0x8,_0x5b7743=_0x30ff26[_0x425b27(0x3d8)]*0x8;return _0x262845[_0x5b7743>>>0x5]|=0x80<<0x18-_0x5b7743%0x20,_0x262845[(_0x5b7743+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4407fb/0x100000000),_0x262845[(_0x5b7743+0x40>>>0x9<<0x4)+0xf]=_0x4407fb,_0x30ff26['sigBytes']=_0x262845[_0x425b27(0x28d)]*0x4,this['_process'](),this[_0x425b27(0x4dc)];},'clone':function(){var _0x3eb4b5=_0x542a37,_0x30dd97=_0x276605['clone'][_0x3eb4b5(0x1e8)](this);return _0x30dd97['_hash']=this[_0x3eb4b5(0x4dc)][_0x3eb4b5(0x3f0)](),_0x30dd97;}});_0x4580bd[_0x542a37(0x3d3)]=_0x276605[_0x542a37(0x1b9)](_0x4f2ef2),_0x4580bd['HmacSHA1']=_0x276605[_0x542a37(0x434)](_0x4f2ef2);}()),_0x4de114[_0x2e1e6a(0x3d3)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},ei=Ce[_0x5344e8(0x2b0)],it;function ti(){var _0x42f8c5=_0x5344e8;return it||(it=0x1,function(_0x40c491,_0xf61287){(function(_0x34f9e4,_0x4e1d8f){var _0x2f4000=_0x4b08;_0x40c491[_0x2f4000(0x2b0)]=_0x4e1d8f(ee());}(ei,function(_0x2bb805){(function(){var _0x55ab11=_0x4b08,_0x4518c2=_0x2bb805,_0x30f7ec=_0x4518c2[_0x55ab11(0x370)],_0x4f5d9f=_0x30f7ec['Base'],_0x5579bc=_0x4518c2[_0x55ab11(0x360)],_0x4b45c3=_0x5579bc[_0x55ab11(0x381)],_0x591c25=_0x4518c2[_0x55ab11(0x34e)];_0x591c25['HMAC']=_0x4f5d9f[_0x55ab11(0x4b1)]({'init':function(_0x4855f8,_0x3a2c29){var _0x1c79fc=_0x55ab11;_0x4855f8=this[_0x1c79fc(0x533)]=new _0x4855f8[(_0x1c79fc(0x30a))](),typeof _0x3a2c29==_0x1c79fc(0x2d9)&&(_0x3a2c29=_0x4b45c3[_0x1c79fc(0x34f)](_0x3a2c29));var _0x518c35=_0x4855f8[_0x1c79fc(0x30b)],_0x29b34f=_0x518c35*0x4;_0x3a2c29[_0x1c79fc(0x3d8)]>_0x29b34f&&(_0x3a2c29=_0x4855f8[_0x1c79fc(0x35b)](_0x3a2c29)),_0x3a2c29[_0x1c79fc(0x40e)]();for(var _0x2cecb9=this[_0x1c79fc(0x1c4)]=_0x3a2c29[_0x1c79fc(0x3f0)](),_0x2d9785=this[_0x1c79fc(0x31f)]=_0x3a2c29[_0x1c79fc(0x3f0)](),_0x3669da=_0x2cecb9[_0x1c79fc(0x249)],_0x56ec2f=_0x2d9785[_0x1c79fc(0x249)],_0x1f2bc6=0x0;_0x1f2bc6<_0x518c35;_0x1f2bc6++)_0x3669da[_0x1f2bc6]^=0x5c5c5c5c,_0x56ec2f[_0x1f2bc6]^=0x36363636;_0x2cecb9['sigBytes']=_0x2d9785[_0x1c79fc(0x3d8)]=_0x29b34f,this[_0x1c79fc(0x499)]();},'reset':function(){var _0x5a4050=_0x55ab11,_0x41f3b5=this['_hasher'];_0x41f3b5[_0x5a4050(0x499)](),_0x41f3b5[_0x5a4050(0x239)](this[_0x5a4050(0x31f)]);},'update':function(_0x55d27a){var _0x501acb=_0x55ab11;return this[_0x501acb(0x533)][_0x501acb(0x239)](_0x55d27a),this;},'finalize':function(_0x22e54b){var _0x5e264c=_0x55ab11,_0x4a9697=this[_0x5e264c(0x533)],_0x46ff25=_0x4a9697[_0x5e264c(0x35b)](_0x22e54b);_0x4a9697[_0x5e264c(0x499)]();var _0x44b148=_0x4a9697['finalize'](this[_0x5e264c(0x1c4)][_0x5e264c(0x3f0)]()[_0x5e264c(0x279)](_0x46ff25));return _0x44b148;}});}());}));}(Ce)),Ce[_0x42f8c5(0x2b0)];}var ni=Ie['exports'],rt;function wt(){return rt||(rt=0x1,function(_0x9f449e,_0x4c0908){(function(_0x279f8a,_0x4165ab,_0x3b6a72){var _0x5d42da=_0x4b08;_0x9f449e[_0x5d42da(0x2b0)]=_0x4165ab(ee(),Qn(),ti());}(ni,function(_0x140b99){return(function(){var _0x391de3=_0x4b08,_0x44e0e0=_0x140b99,_0x581a69=_0x44e0e0[_0x391de3(0x370)],_0x5d016f=_0x581a69[_0x391de3(0x4ed)],_0x99f108=_0x581a69['WordArray'],_0x441b75=_0x44e0e0[_0x391de3(0x34e)],_0xbc861b=_0x441b75[_0x391de3(0x4e4)],_0x1ef68b=_0x441b75[_0x391de3(0x30d)]=_0x5d016f[_0x391de3(0x4b1)]({'cfg':_0x5d016f[_0x391de3(0x4b1)]({'keySize':0x80/0x20,'hasher':_0xbc861b,'iterations':0x1}),'init':function(_0x1bbcb3){var _0x5f448a=_0x391de3;this[_0x5f448a(0x306)]=this[_0x5f448a(0x306)][_0x5f448a(0x4b1)](_0x1bbcb3);},'compute':function(_0x1c6bba,_0x91d1c0){var _0x496476=_0x391de3;for(var _0xc8bece,_0x506c2b=this[_0x496476(0x306)],_0x381bd9=_0x506c2b[_0x496476(0x48c)][_0x496476(0x1f3)](),_0x50e79e=_0x99f108[_0x496476(0x1f3)](),_0x106c0d=_0x50e79e[_0x496476(0x249)],_0xbb63b5=_0x506c2b[_0x496476(0x422)],_0x2f5cad=_0x506c2b['iterations'];_0x106c0d[_0x496476(0x28d)]<_0xbb63b5;){_0xc8bece&&_0x381bd9[_0x496476(0x239)](_0xc8bece),_0xc8bece=_0x381bd9[_0x496476(0x239)](_0x1c6bba)[_0x496476(0x35b)](_0x91d1c0),_0x381bd9[_0x496476(0x499)]();for(var _0x4abc70=0x1;_0x4abc70<_0x2f5cad;_0x4abc70++)_0xc8bece=_0x381bd9['finalize'](_0xc8bece),_0x381bd9[_0x496476(0x499)]();_0x50e79e[_0x496476(0x279)](_0xc8bece);}return _0x50e79e[_0x496476(0x3d8)]=_0xbb63b5*0x4,_0x50e79e;}});_0x44e0e0['EvpKDF']=function(_0x17874e,_0x50d114,_0x130763){var _0x23ff19=_0x391de3;return _0x1ef68b['create'](_0x130763)[_0x23ff19(0x1bb)](_0x17874e,_0x50d114);};}()),_0x140b99['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},ii=Te[_0x5344e8(0x2b0)],st;function At(){var _0x50729c=_0x5344e8;return st||(st=0x1,function(_0xdc60a9,_0x4224e4){(function(_0x3f2b61,_0x176405,_0x59a149){var _0x19debd=_0x4b08;_0xdc60a9[_0x19debd(0x2b0)]=_0x176405(ee(),wt());}(ii,function(_0x407326){var _0x313849=_0x4b08;_0x407326['lib'][_0x313849(0x521)]||function(_0x69ea46){var _0x4f2ef5=_0x313849,_0x14a0ca=_0x407326,_0x288037=_0x14a0ca[_0x4f2ef5(0x370)],_0x3bd5d3=_0x288037[_0x4f2ef5(0x4ed)],_0x4a609e=_0x288037[_0x4f2ef5(0x265)],_0x1786cf=_0x288037[_0x4f2ef5(0x272)],_0x5d3bd8=_0x14a0ca[_0x4f2ef5(0x360)];_0x5d3bd8[_0x4f2ef5(0x381)];var _0x3d2ab9=_0x5d3bd8[_0x4f2ef5(0x3e9)],_0x45dc94=_0x14a0ca[_0x4f2ef5(0x34e)],_0x40ba65=_0x45dc94[_0x4f2ef5(0x30d)],_0x321828=_0x288037['Cipher']=_0x1786cf[_0x4f2ef5(0x4b1)]({'cfg':_0x3bd5d3['extend'](),'createEncryptor':function(_0x496774,_0x47bf12){var _0x5a4a6a=_0x4f2ef5;return this['create'](this[_0x5a4a6a(0x1d7)],_0x496774,_0x47bf12);},'createDecryptor':function(_0x5b3759,_0x2c5020){var _0x1aebd2=_0x4f2ef5;return this[_0x1aebd2(0x1f3)](this[_0x1aebd2(0x3d0)],_0x5b3759,_0x2c5020);},'init':function(_0x55f58c,_0x47683b,_0x31e47d){var _0x4fc131=_0x4f2ef5;this[_0x4fc131(0x306)]=this['cfg'][_0x4fc131(0x4b1)](_0x31e47d),this['_xformMode']=_0x55f58c,this[_0x4fc131(0x233)]=_0x47683b,this[_0x4fc131(0x499)]();},'reset':function(){var _0x1ae3bf=_0x4f2ef5;_0x1786cf[_0x1ae3bf(0x499)][_0x1ae3bf(0x1e8)](this),this[_0x1ae3bf(0x3dd)]();},'process':function(_0x2dd969){var _0x5ea655=_0x4f2ef5;return this[_0x5ea655(0x28c)](_0x2dd969),this[_0x5ea655(0x4ff)]();},'finalize':function(_0x1905b){var _0x3f165f=_0x4f2ef5;_0x1905b&&this[_0x3f165f(0x28c)](_0x1905b);var _0x4d716e=this[_0x3f165f(0x3dc)]();return _0x4d716e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x7a3e54(_0xc49ce6){return typeof _0xc49ce6=='string'?_0x10cf81:_0x58ce46;}return function(_0x39b50b){return{'encrypt':function(_0x40de3d,_0x496846,_0x5a6560){var _0x20acc5=_0x4b08;return _0x7a3e54(_0x496846)[_0x20acc5(0x3e2)](_0x39b50b,_0x40de3d,_0x496846,_0x5a6560);},'decrypt':function(_0x1cc652,_0x33fe75,_0x5d4fed){var _0x3ecab4=_0x4b08;return _0x7a3e54(_0x33fe75)[_0x3ecab4(0x4ad)](_0x39b50b,_0x1cc652,_0x33fe75,_0x5d4fed);}};};}())});_0x288037[_0x4f2ef5(0x2a3)]=_0x321828['extend']({'_doFinalize':function(){var _0x4d3093=_0x4f2ef5,_0x55ccbe=this[_0x4d3093(0x4ff)](!0x0);return _0x55ccbe;},'blockSize':0x1});var _0x12333b=_0x14a0ca[_0x4f2ef5(0x331)]={},_0x231094=_0x288037[_0x4f2ef5(0x1e0)]=_0x3bd5d3[_0x4f2ef5(0x4b1)]({'createEncryptor':function(_0x5d52a9,_0x185dcb){var _0x2b87e7=_0x4f2ef5;return this[_0x2b87e7(0x4c0)][_0x2b87e7(0x1f3)](_0x5d52a9,_0x185dcb);},'createDecryptor':function(_0x32b819,_0x369d57){var _0x1af0c0=_0x4f2ef5;return this['Decryptor'][_0x1af0c0(0x1f3)](_0x32b819,_0x369d57);},'init':function(_0x537df3,_0x804e18){var _0x1c0663=_0x4f2ef5;this[_0x1c0663(0x2a9)]=_0x537df3,this[_0x1c0663(0x4c6)]=_0x804e18;}}),_0x2fef15=_0x12333b[_0x4f2ef5(0x37c)]=(function(){var _0x44f3ce=_0x4f2ef5,_0x35f071=_0x231094['extend']();_0x35f071[_0x44f3ce(0x4c0)]=_0x35f071[_0x44f3ce(0x4b1)]({'processBlock':function(_0x16ddfa,_0x296361){var _0x29ad0b=_0x44f3ce,_0x1a3764=this['_cipher'],_0x5f34ba=_0x1a3764[_0x29ad0b(0x30b)];_0x191657[_0x29ad0b(0x1e8)](this,_0x16ddfa,_0x296361,_0x5f34ba),_0x1a3764[_0x29ad0b(0x22c)](_0x16ddfa,_0x296361),this[_0x29ad0b(0x4de)]=_0x16ddfa[_0x29ad0b(0x4ac)](_0x296361,_0x296361+_0x5f34ba);}}),_0x35f071[_0x44f3ce(0x48a)]=_0x35f071['extend']({'processBlock':function(_0x92e884,_0x1f40aa){var _0xe6b4cf=_0x44f3ce,_0x9f3e65=this[_0xe6b4cf(0x2a9)],_0x9b237c=_0x9f3e65[_0xe6b4cf(0x30b)],_0xec7b=_0x92e884['slice'](_0x1f40aa,_0x1f40aa+_0x9b237c);_0x9f3e65[_0xe6b4cf(0x340)](_0x92e884,_0x1f40aa),_0x191657[_0xe6b4cf(0x1e8)](this,_0x92e884,_0x1f40aa,_0x9b237c),this[_0xe6b4cf(0x4de)]=_0xec7b;}});function _0x191657(_0x3a0054,_0x3a8ac3,_0x44e3e8){var _0xe68b0a=_0x44f3ce,_0x3db0a6,_0x347405=this[_0xe68b0a(0x4c6)];_0x347405?(_0x3db0a6=_0x347405,this[_0xe68b0a(0x4c6)]=_0x69ea46):_0x3db0a6=this[_0xe68b0a(0x4de)];for(var _0xc0a87=0x0;_0xc0a87<_0x44e3e8;_0xc0a87++)_0x3a0054[_0x3a8ac3+_0xc0a87]^=_0x3db0a6[_0xc0a87];}return _0x35f071;}()),_0x2ddfc2=_0x14a0ca['pad']={},_0x58fcd8=_0x2ddfc2[_0x4f2ef5(0x1c0)]={'pad':function(_0x1b2ac7,_0x4450e1){var _0x448e67=_0x4f2ef5;for(var _0x48fe75=_0x4450e1*0x4,_0x15d1e4=_0x48fe75-_0x1b2ac7[_0x448e67(0x3d8)]%_0x48fe75,_0xd5b654=_0x15d1e4<<0x18|_0x15d1e4<<0x10|_0x15d1e4<<0x8|_0x15d1e4,_0x300c08=[],_0x1459be=0x0;_0x1459be<_0x15d1e4;_0x1459be+=0x4)_0x300c08[_0x448e67(0x2a6)](_0xd5b654);var _0x1ffc9e=_0x4a609e[_0x448e67(0x1f3)](_0x300c08,_0x15d1e4);_0x1b2ac7[_0x448e67(0x279)](_0x1ffc9e);},'unpad':function(_0x7bed4f){var _0x336e02=_0x4f2ef5,_0x6a7250=_0x7bed4f[_0x336e02(0x249)][_0x7bed4f[_0x336e02(0x3d8)]-0x1>>>0x2]&0xff;_0x7bed4f[_0x336e02(0x3d8)]-=_0x6a7250;}};_0x288037[_0x4f2ef5(0x236)]=_0x321828[_0x4f2ef5(0x4b1)]({'cfg':_0x321828[_0x4f2ef5(0x306)][_0x4f2ef5(0x4b1)]({'mode':_0x2fef15,'padding':_0x58fcd8}),'reset':function(){var _0x1ba9e1=_0x4f2ef5,_0x55aa88;_0x321828['reset'][_0x1ba9e1(0x1e8)](this);var _0x5e4b01=this[_0x1ba9e1(0x306)],_0x3924d3=_0x5e4b01['iv'],_0x4b0ab0=_0x5e4b01[_0x1ba9e1(0x331)];this[_0x1ba9e1(0x357)]==this[_0x1ba9e1(0x1d7)]?_0x55aa88=_0x4b0ab0[_0x1ba9e1(0x1ec)]:(_0x55aa88=_0x4b0ab0['createDecryptor'],this[_0x1ba9e1(0x1f5)]=0x1),this['_mode']&&this[_0x1ba9e1(0x342)][_0x1ba9e1(0x3fe)]==_0x55aa88?this['_mode'][_0x1ba9e1(0x30a)](this,_0x3924d3&&_0x3924d3[_0x1ba9e1(0x249)]):(this['_mode']=_0x55aa88[_0x1ba9e1(0x1e8)](_0x4b0ab0,this,_0x3924d3&&_0x3924d3['words']),this[_0x1ba9e1(0x342)]['__creator']=_0x55aa88);},'_doProcessBlock':function(_0x2fce26,_0x3f9004){var _0x4ebc55=_0x4f2ef5;this['_mode'][_0x4ebc55(0x33f)](_0x2fce26,_0x3f9004);},'_doFinalize':function(){var _0x2269ed=_0x4f2ef5,_0x4fd3f4,_0x262fe1=this[_0x2269ed(0x306)][_0x2269ed(0x309)];return this[_0x2269ed(0x357)]==this[_0x2269ed(0x1d7)]?(_0x262fe1[_0x2269ed(0x2e9)](this[_0x2269ed(0x24e)],this['blockSize']),_0x4fd3f4=this['_process'](!0x0)):(_0x4fd3f4=this['_process'](!0x0),_0x262fe1['unpad'](_0x4fd3f4)),_0x4fd3f4;},'blockSize':0x80/0x20});var _0x7b5dc=_0x288037['CipherParams']=_0x3bd5d3[_0x4f2ef5(0x4b1)]({'init':function(_0xe6297e){var _0x3c3119=_0x4f2ef5;this[_0x3c3119(0x25a)](_0xe6297e);},'toString':function(_0x4f8812){var _0x4d3fc4=_0x4f2ef5;return(_0x4f8812||this[_0x4d3fc4(0x26d)])[_0x4d3fc4(0x2df)](this);}}),_0xd2fc5b=_0x14a0ca[_0x4f2ef5(0x20b)]={},_0xd29ef2=_0xd2fc5b[_0x4f2ef5(0x288)]={'stringify':function(_0x1767e0){var _0xfb92ae=_0x4f2ef5,_0x597030,_0x58d5f7=_0x1767e0['ciphertext'],_0x43fffb=_0x1767e0[_0xfb92ae(0x454)];return _0x43fffb?_0x597030=_0x4a609e[_0xfb92ae(0x1f3)]([0x53616c74,0x65645f5f])[_0xfb92ae(0x279)](_0x43fffb)['concat'](_0x58d5f7):_0x597030=_0x58d5f7,_0x597030[_0xfb92ae(0x416)](_0x3d2ab9);},'parse':function(_0x3dfe2f){var _0x44e5c9=_0x4f2ef5,_0x765c3d,_0x2a6c81=_0x3d2ab9[_0x44e5c9(0x34f)](_0x3dfe2f),_0x59cf38=_0x2a6c81[_0x44e5c9(0x249)];return _0x59cf38[0x0]==0x53616c74&&_0x59cf38[0x1]==0x65645f5f&&(_0x765c3d=_0x4a609e[_0x44e5c9(0x1f3)](_0x59cf38[_0x44e5c9(0x4ac)](0x2,0x4)),_0x59cf38['splice'](0x0,0x4),_0x2a6c81['sigBytes']-=0x10),_0x7b5dc[_0x44e5c9(0x1f3)]({'ciphertext':_0x2a6c81,'salt':_0x765c3d});}},_0x58ce46=_0x288037[_0x4f2ef5(0x264)]=_0x3bd5d3[_0x4f2ef5(0x4b1)]({'cfg':_0x3bd5d3[_0x4f2ef5(0x4b1)]({'format':_0xd29ef2}),'encrypt':function(_0x1fc59c,_0x3a7fc8,_0x4de7db,_0xf1c610){var _0x354bfe=_0x4f2ef5;_0xf1c610=this[_0x354bfe(0x306)][_0x354bfe(0x4b1)](_0xf1c610);var _0x7b6fe6=_0x1fc59c['createEncryptor'](_0x4de7db,_0xf1c610),_0x2225d4=_0x7b6fe6['finalize'](_0x3a7fc8),_0x4c93d4=_0x7b6fe6[_0x354bfe(0x306)];return _0x7b5dc[_0x354bfe(0x1f3)]({'ciphertext':_0x2225d4,'key':_0x4de7db,'iv':_0x4c93d4['iv'],'algorithm':_0x1fc59c,'mode':_0x4c93d4['mode'],'padding':_0x4c93d4['padding'],'blockSize':_0x1fc59c[_0x354bfe(0x30b)],'formatter':_0xf1c610[_0x354bfe(0x20b)]});},'decrypt':function(_0x2b9fb4,_0x4aca98,_0x2eb224,_0x4c042e){var _0x19b72f=_0x4f2ef5;_0x4c042e=this[_0x19b72f(0x306)]['extend'](_0x4c042e),_0x4aca98=this[_0x19b72f(0x41f)](_0x4aca98,_0x4c042e[_0x19b72f(0x20b)]);var _0x3dbf75=_0x2b9fb4['createDecryptor'](_0x2eb224,_0x4c042e)[_0x19b72f(0x35b)](_0x4aca98[_0x19b72f(0x477)]);return _0x3dbf75;},'_parse':function(_0x136132,_0x34478d){var _0x44687a=_0x4f2ef5;return typeof _0x136132==_0x44687a(0x2d9)?_0x34478d[_0x44687a(0x34f)](_0x136132,this):_0x136132;}}),_0x595b0e=_0x14a0ca['kdf']={},_0x609597=_0x595b0e[_0x4f2ef5(0x288)]={'execute':function(_0x2537fe,_0x659251,_0x535299,_0x4c8b9b,_0x39b19c){var _0x51ca66=_0x4f2ef5;if(_0x4c8b9b||(_0x4c8b9b=_0x4a609e['random'](0x40/0x8)),_0x39b19c)var _0x55e1a4=_0x40ba65[_0x51ca66(0x1f3)]({'keySize':_0x659251+_0x535299,'hasher':_0x39b19c})[_0x51ca66(0x1bb)](_0x2537fe,_0x4c8b9b);else var _0x55e1a4=_0x40ba65[_0x51ca66(0x1f3)]({'keySize':_0x659251+_0x535299})[_0x51ca66(0x1bb)](_0x2537fe,_0x4c8b9b);var _0x3a88e6=_0x4a609e[_0x51ca66(0x1f3)](_0x55e1a4[_0x51ca66(0x249)][_0x51ca66(0x4ac)](_0x659251),_0x535299*0x4);return _0x55e1a4[_0x51ca66(0x3d8)]=_0x659251*0x4,_0x7b5dc[_0x51ca66(0x1f3)]({'key':_0x55e1a4,'iv':_0x3a88e6,'salt':_0x4c8b9b});}},_0x10cf81=_0x288037[_0x4f2ef5(0x2c5)]=_0x58ce46[_0x4f2ef5(0x4b1)]({'cfg':_0x58ce46['cfg'][_0x4f2ef5(0x4b1)]({'kdf':_0x609597}),'encrypt':function(_0x1da2ee,_0x3150e1,_0x5dd14c,_0xe08e4c){var _0xbe9ab=_0x4f2ef5;_0xe08e4c=this[_0xbe9ab(0x306)][_0xbe9ab(0x4b1)](_0xe08e4c);var _0x3b02b4=_0xe08e4c['kdf']['execute'](_0x5dd14c,_0x1da2ee[_0xbe9ab(0x422)],_0x1da2ee[_0xbe9ab(0x4e9)],_0xe08e4c['salt'],_0xe08e4c['hasher']);_0xe08e4c['iv']=_0x3b02b4['iv'];var _0x48f009=_0x58ce46[_0xbe9ab(0x3e2)]['call'](this,_0x1da2ee,_0x3150e1,_0x3b02b4[_0xbe9ab(0x372)],_0xe08e4c);return _0x48f009[_0xbe9ab(0x25a)](_0x3b02b4),_0x48f009;},'decrypt':function(_0x4fd0af,_0x49f38b,_0x845aa8,_0x19b6cf){var _0x118654=_0x4f2ef5;_0x19b6cf=this[_0x118654(0x306)][_0x118654(0x4b1)](_0x19b6cf),_0x49f38b=this[_0x118654(0x41f)](_0x49f38b,_0x19b6cf[_0x118654(0x20b)]);var _0x3f0113=_0x19b6cf[_0x118654(0x3ee)]['execute'](_0x845aa8,_0x4fd0af[_0x118654(0x422)],_0x4fd0af[_0x118654(0x4e9)],_0x49f38b[_0x118654(0x454)],_0x19b6cf['hasher']);_0x19b6cf['iv']=_0x3f0113['iv'];var _0x6503a4=_0x58ce46[_0x118654(0x4ad)][_0x118654(0x1e8)](this,_0x4fd0af,_0x49f38b,_0x3f0113[_0x118654(0x372)],_0x19b6cf);return _0x6503a4;}});}();}));}(Te)),Te[_0x50729c(0x2b0)];}var ri=Se[_0x5344e8(0x2b0)],ot;function _0x55de(){var _0x10e7b3=['c2Prime','editingUnit','slice','decrypt','LIVESHARE_FETCH_OPERATIONS','x-univer-host','DEFAULT_COLLAB_WEB_SOCKET_URL','extend','getUnitId','COMPRESS_MUTATION_APPLY','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','InsertSheetMutation','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x20-\x20','parseProtocolChangeset','HEARTBEAT_INTERVAL_KEY','_getAPIPrefix','_commandService','_loadDoc','transformSelections','uniscriptRunEvent','getCollabEntity','Encryptor','SnapshotService','prototype','unitInfo$','retryConnectingInterval','_initCloseConn','_iv','updatePermissionPoint','max','collaboration_new_changeset','resourceIDs','_syncEditingCollabCursor','MentionIoHttpService','HMAC','session.join-failed','headers','textRanges','MergeInterceptorFactory','/new_changes','_undoRedoService','259154VWFpGx','memberID','take','_roomMembers','image/png','_exhaustRemoteChangesetQueue','_socketService','getCurrentSelections','_hash','_tryEnsureSocket','_prevBlock','complete','onRemoteRej','reqId','__Key__','AwaitingState','MD5','close$','_createHandler','\x0aAfter:\x20','_eventService','ivSize','CollaborativeUndoRedoService','@univerjs-pro/license','byteLength','Base','FETCH_MISS','CollaborationStatus','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','appendMutation','getAllMembers','_state$','_config','stopTime','Plugin','_applyRemoteChangeset','onTransformIME','_getCtorByUniverType','?url=','getCurrentRevOfUnit','getConfig','symbol','_status$','_process','_getSignURL','capture','fetch_missing','socketService','mapDocumentTypeToUniverType','delete','_updateLocalCache','fetching\x20missing\x20changesets\x20from\x20','LEAVE','interceptor','/object','_injector','CONNECTOR_DATA_TOO_LARGE','add','saveSnapshot','RETRY_CONNECTING_MAX_COUNT_KEY','getCollabEntity$','LOCAL_CACHE_INTERVAL','_createInitialStateImpl','cmd','SheetPermissionInitController','conflict','unitId\x20is\x20not\x20found','SNAPSHOT_SERVER_URL_KEY','_transitionLocked','getDeserializedSheetBlock','unitId','UPDATE_CURSOR','fetchThroughInterceptors','_map','getUnit','MemberService','YUUMI_SUBSCRIPTION_NOT_FOUND','Cipher','CollaborationController','IImageIoService','Optional','addImageSourceCache','loadUnit','_queuedRemoteChangesets','_nRounds','onTransformSelections','/universer-api/uniscript','JOIN_ROOM_NOT_EXISTS','objectType','MSG_FOR_ERROR','SNAPSHOT_URL_KEY','_doCryptBlock','createSocket','14YJcBDh','hostname','_hasher','map','objectActions','1524OWwBIO','LOCAL_CACHE_INTERVAL_KEY','_reverseMap','_handlerCallback','_createInitialState','isTransformMutationsWithChangesetSuccess','BASE64','_createHelper','IUniverInstanceService','compute','getMember','_onConnectionOpen','fetchMissingChangesets','createCollaborator','Pkcs7','_socketReady','_awaitingChangeset','_clearHeartbeatTimer','_oKey','[DataLoaderService]','getSnapshotAPIPath','unitID','removeMember','_collaborationSessionService','pending','OfflineState','_getSendChangesetTimeout','merge','_stopTelemetryCollaborationNewChangeset','duration','onTransformRemoteChangesetByStateCache','ERROR_IMAGE','charCodeAt','title','HTTPService','PERSON','_http','_ENC_XFORM_MODE','NO_OTHER_CLIENTS_EDITING','_toggleOnline','apply','_onMessage','_onRemoteRejected','resend','joinEvent','localeService','BlockCipherMode','UNDEFINED','_showConflictNotification','joinRsp','editing\x20status\x20changed\x20to','CHANGESET_ACK','UniverCollaborationPlugin','_permissionService','call','_clearCollaborationTimeoutTimer','_onConflict','updateOfflineData','createEncryptor','_collaborationTimeoutTimer','_rescheduleHeartbeat','_changesetReqId','session','enableAuthServer','awaitingChangeset','create','values','_minBufferSize','size','_onCombEvent','roomInfos','ONLINE','3sxusxv','ISnapshotServerService','_onLocalMutation','rng','transformChangesets','_removeRoom','readAsDataURL','defineProperty','splice','now','getInterceptPoints','@univerjs/sheets','_userManagerService','from','_getCurrentRevision','IDLE','IMentionIOService','format','TOO_MANY_REQUESTS','executeCommand','RETRY_CONNECTING_MAX_COUNT','AUTHZ_URL_KEY','updateMember','findIndex','isTransformChangesetsSuccess','floor','/universer-api/snapshot','members$','458968IDPBYz','_sessionStatus$','INGEST','isPermissionRej','_configService','OPTIONAL','byteOffset','Inject','_transformRemoteChangesetByStateCache','FAIL','/universer-api/stream/file/upload','getTypeOfUnitDisposed$','LIVESHARE_REQUEST_HOST','JOIN_ROOM_FAILED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteAck','responseType','_transformRemoteChangesetByIMECache','PENDING','_singleActiveUnitService','UNIVER_SLIDE','entries','encryptBlock','_checkMissing','searchParams','createIdentifier','PERMISSION_REJ','_keySchedule','_commentService','_key','method','getLocalCacheKey','BlockCipher','UNIVER_SHEET','_doProcessBlock','update','_revisionService','/universer-api/file/{fileID}/sign-url','m2Prime','@univerjs/drawing','_transformStack','2202535rZihqr','APPLY_REJECT','_change$','/unit/','json','__esModule','ws://127.0.0.1:8000/universer-api/comb/connect','reject','CollaborationSession','_onUserLeave','words','_onRecvEvent','_getUploadFileURL','online$','saveSheetBlock','_data','_tryReconnect','_waitCount','onMissingChangesets','_waitForHeartbeatResponse','onCommandExecuted','_createSocket','focused$','src','commentUpdateEvent','filter','localCacheService','mixIn','_updateState','_isPermissionRej','ICollaborationSocketService','UUID','generateRandomId','Disposable','APPLY_PERMISSION_DENIED','collaboration-client.local-cache-service','saveImage','SerializableCipher','WordArray','CHANGESET_REJ','_pendingMutations','_listenToNetworkCondition','uploadFileServerUrl','ICommandService','indexOf','RichTextEditingMutation','formatter','sequenceExecute','code','EmptyMutation','registerHTTPInterceptor','BufferedBlockAlgorithm','onRemoteRetry','status','connection\x20error','_clearTimeoutTimer','ITelemetryService','list','concat','_joinRoom','sessionStatus','post','_memberService','_initUnitPermissionChange','_transformService','_scheduleCompleteTimestamp','unknown','_logService','CompressMutationService','SOCKET_FAILED','_onFetchMissResult','_createSocketURL','_onUserJoin','OpenSSL','toStringTag','csAckEvent','_throwTelemetryCollaborationNewChangeset','_append','length','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','actions','append','transformUndoRedo','reverse','_resendTimer','_init','_invKeySchedule','NoPadding','&to=','_telemetryInfo','/block/','_univerInstanceService','OFFLINE','_timeoutTimer','/universer-api/comb','/allowed','SheetTransformSelectionsService','[FetchMissState]','Undefined','_getSessionTicket','StreamCipher','socket$','c1Prime','push','GLOBAL_ROOMS_CNT_EXCEEDS','CollaborationSocketService','_cipher','HEARTBEAT_INTERVAL','ImageSourceType','_getDownloadEndpointURL','Error\x20on\x20receiving\x20event','pipe','DEFAULT_FILE_NAME','exports','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationEntity]','getFocusedUnit','onLocalMutation','state','_loadSheet','RevisionService','_socket','randomUUID','/universer-api/user/session-ticket','collaMsg','name','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ISocketService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_members$','_getUndoStack','refreshPermission','authzUrl','SyncedState','PasswordBasedCipher','$super','baseRev','JOIN','IContextService','LICENSE_EXPORT_SIZE_EXCEEDED','UNRECOGNIZED','CONFLICT','has','/role','HttpImport','onload','getSheetId','_snapshotServerService','telemetry\x20info\x20is\x20not\x20initialized','then','_clearUndo','_transformSelections','data','min','string','offline','replace','csShouldRetryEvent','session.room-not-exists','transformMutationsWithChangeset','stringify','_replaceFileID','CollaborationImageIoService','auth.needGotoLoginAlert','AuthzIoHttpService','APPLY_REVISION_CONFILICT','NEW_CHANGESETS','_unitInfo$','LOGIN_URL_KEY','href','pad','_remoteChangesetQueue','_emitMembers','createInstance','_keyPriorReset','_disableEditing','setShowComponents','_decreaseWaiting','getCurrentUser','snapshot','CollaborationSessionService','setConfig','setCurrentUser','IPermissionService','loadOfflineData','_clearRedo','SHOULD_CLOSE_CONN','/-/object/-/batch_allowed','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','incrementRevOfUnit','put','COLLAB_SUBMIT_CHANGESET_URL_KEY','sheets','hasOwnProperty','_entities','members','JOIN_ROOM_PERMISSION_DENIED','default','_initRequestHeader','cfg','bind','HEARTBEAT','padding','init','blockSize','_resendWithTimeout','EvpKDF','override','_networkConditionService','CHANGESET_REVISION_CONFILICT','YUUMI_RATE_OVER_LIMIT','routeKey','rxjs/operators','CHANGESET_SHOULD_RETRY','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','SUBMIT_CHANGESET_TIMEOUT','abs','OTHER_CLIENT_EDITING','_retryConnectingTimer','COMPRESS_MUTATION_SEND','signUrlServerUrl','ERROR_IMAGE_TYPE','_iKey','ticket','resolve','getUnitType','_clearScheduledTask','shouldCloseConn','USERS_LEAVE','LIVESHARE_OPERATION','LIVESHARE_TERMINATE','dispose$','save\x20fail\x20reason\x20is\x20','listCollaborators','_transformUndoredo','onMissedChangesetFetched','session.room-full','[PendingState]:\x20received\x20acknowledgement.','_shouldReportTelemetry','_instanceService','mode','SOCKET_FAILED_RETRY','search','_updateStatus','getImageSourceCache','UnitSnapshot','random','AWAITING','SheetCollaborationEntity','_localCacheService','encode','toggleOffline','_changesetSessionId','HEARTBEAT_TIMEOUT','processBlock','decryptBlock','listRoles','_mode','textEncoder','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','awaiting','[SyncedState]:\x20received\x20rejection.','SNAPSHOT_INVALID_SNAPSHOT','ConflictState','_snapshotService','get','rev','APPLY_DUPLICATED','PendingState','algo','parse','[CollaborationUndoRedoService]','onSyncEditingCollabCursor','INTERNAL_ERROR','CollaborationEntity','_retryCount','IAuthzIoService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_xformMode','csRejEvent','UNIVER_UNKNOWN','next','finalize','sid','getActiveSheet','UNAUTHENTICATED','LocaleService','enc','onStateChange','sendChangesetTimeout','_initDependencies','MentionType','LIVESHARE_NEW_HOST','subscribe','_executeRemoteChangeset','catch','UserManagerService','msCrypto','SnapshotServerOverHTTPService','SUBMIT_CHANGESET','[OfflineState]:\x20received\x20changeset.','originalMeta','requestParams','lib','Hex','key','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','_transformIMECache','message$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[PendingState]:\x20received\x20rejection.','event$','UniverSheetsPlugin','POST','CBC','CLOSE_ROOM','_sendHeartbeatTimer','getTypeOfUnitAdded$','function','Utf8','getTime','type','@univerjs/telemetry','Quantity','SessionStatus','FETCH_MISSING','CollaborationUIEventId','&source=','wsSessionTicketUrl','YUUMI_URL_COL_OUT_OF_RANGE','body','forEach','846819IptZdT','ReplaySubject','_nDataBytes','_onRemoteACK','UNKNOWN_CODE','_members','INVALID_ARGUMENT','FileId','every','_compressMutationService','_substituteRedoStack','HttpExport','_sender','30JbxqzI','workbook','objectID','/fetchmissing?from=','AWAITING_WITH_PENDING','_onOffline','collaboration-client.config','[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.','LICENSE_MAX_UNITS_EXCEEDED','liveShareNewHost','file','HTTPRequest','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_roomCreated$','debug','mergeOverrideWithDependencies','b64DecodeUnicode','getRoom','unsubscribe','startsWith','\x0aCurrent:\x20','image/jpeg','_sheetTransformSelectionsService','ALREADY_EXISTS','onTransformRemoteChangesetByIMECache','ILogService','image/jpg','toggleOnline','UNIVER_PROJECT','state$','revision','UNIVER_DOC','AwaitingWithPendingState','socket\x20close','COMMENT_UPDATE','_onConnectionFailed','getGlobalObject','NOT_FOUND','leaveEvent','_sendHeartbeat','4hWuvZs','origin','onCommentUpdate','PERMISSION_DENIED','UniverInstanceType','entityInit$','failed\x20to\x20apply\x20missed\x20changesets!','Malformed\x20UTF-8\x20data','LICENSE_DISTRO_REJECTED','78298tGiBns','synced','_resendTimeout','\x20in\x20_schedule.','_DEC_XFORM_MODE','_sendingTimer','Hasher','SHA1','getOwnPropertyDescriptor','getMemberID','DocCollaborationEntity','{fileID}','sigBytes','COLLAB_WEB_SOCKET_URL_KEY','range','eventID','_doFinalize','_doReset','LICENSE_IMPORT_SIZE_EXCEEDED','collabWebSocketUrl','_getRedoStack','UNISCRIPT_RUN','encrypt','repeat','IUndoRedoService','ILocalCacheService','close','shareReplay','_startCollaboration','Base64','fetchMiss','open$','INetworkConditionService','isTransformMutationsWithChangesetFailure','kdf','[PendingState]:\x20unhandled\x20univer\x20type:\x20','clone','_candidateSocket','UPDATE_PERMISSION_OBJ','UniverCollaborationClientPlugin','_commentUpdate$','socket\x20open.','/universer-api/authz','image/gif','infoRsp','subject','_schedule','_unlockTransition','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','DataLoaderService','__creator','PSEUDO_FETCH_MISSING_RESULT','JOINING','_type','UNKNOWN_CMD','AES','_collaborationUIEventService','LocalUndoRedoService','293398aguCAw','awaiting_with_pending','_unitID','univer-pro.collaboration-client-socket-service','@univerjs/core','commentUpdate$','_startTelemetryCollaborationNewChangeset','_state','clamp','\x20to\x20','allowed','_incrementRevisionNumber','updateCollaborator','deepClone','SNAPSHOT_HAS_BEEN_REMOVED','RECV','toString','application/json','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Univer','[UniverCollaborationClientPlugin]','ITransformService','getLatestCsReqIdBySid','delay','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_parse','dispose','136452ZIeXth','keySize','ERROR_EXCEED_SIZE','ceil','set','copyFileMeta','_replayCachedMutations','[OfflineState]:\x20received\x20acknowledgement.','_substituteUndoStack','setWaitCount','RxDisposable','_toggleOffline','deserializeToCombResponse','[SyncedState]:\x20received\x20acknowledgement.','FetchingMissState','parseChangesetToProtocol','ImageUploadStatusType','location','not_collab','_createHmacHelper','randomBytes','charAt','_HTTPService','error','change$','avatar','startTime','HEARTBEAT_TIMEOUT_KEY','onStarting','SEND_CHANGESET_TIMEOUT_KEY','toDisposable','pluginName','onRemoteChangeset','encodeURIComponent','/object/','_submitChangeset','CommandType','_telemetryService','[CollaborationSessionService]:\x20socket\x20error','readInt32LE','loadDoc','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_clearLocalCache','_scheduleCollaborationTimeoutTimer','target','onSendChangeset','_acknowledgedAwaitingChangeset','USERS_ENTER','params','sessionStatus$','result','salt','[CollaborationSessionService]','MUTATION','&assign=','asObservable','COLLAB_WEB_SOCKET_URL','_getLoginPath','OTHER_CLIENTS_EDITING','Subject','_imageSourceCache','CollaborationEvent','_socketMessageSubscription','selections','_lockTransition','mutations','getRandomValues','userID','_sessions','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','COMPLETION_FINISHED','includes','onlyLocal','error$','_handler','fromCollab','SetSelectionsOperation','/collaborator','saveChangeset','IConfigService','loadSheet','_collabSessionService','submit\x20changeset\x20error!','disableLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reduce','ciphertext','initWorkbookPermissionChange','takeUntil','closeSession','enableSingleActiveInstanceLock','sessionTicket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','onTransformState','HELLO','enableOfflineEditing','_getAPIPrefixPath','reconnect','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','emitEvent','PY_RUNTIME_SCRIPT_ERROR','getUnitOnRev','_event$','_localeService','Decryptor','WorkbookEditablePermission','hasher','SEND_CHANGESET_TIMEOUT','_transformStateCache','objects','disposeWithMe','ENSURE_SNAPSHOT_EXECUTION','_collaborationPaused','registerDependencies','Injector','_initMergeInterceptor','_socket$','collaborators','Workbook','reset','send','requireSession','_onRemoteChangeset','UnitStatus','_entityInit$','compose','getValue','snapshotServerUrl','runId','Tools','_httpService','crypto','touchDependencies','univer-pro.collaboration-client.single-active-unit-service','join','getImage'];_0x55de=function(){return _0x10e7b3;};return _0x55de();}function si(){var _0x5a8f0e=_0x5344e8;return ot||(ot=0x1,function(_0x579753,_0x118eb0){(function(_0x1497da,_0x5acda3,_0x24b4f1){var _0x50595a=_0x4b08;_0x579753[_0x50595a(0x2b0)]=_0x5acda3(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x5e13a4){var _0x4ea14a=_0x4b08;return(function(){var _0x14b292=_0x4b08,_0x238704=_0x5e13a4,_0x26fb2f=_0x238704[_0x14b292(0x370)],_0x2d55b6=_0x26fb2f['BlockCipher'],_0x52d518=_0x238704['algo'],_0x271c8b=[],_0x1bfd2d=[],_0x3398cf=[],_0x91d94a=[],_0x4cb000=[],_0x3e83e7=[],_0x49e495=[],_0x4686d1=[],_0x5c9fa3=[],_0x96cc05=[];(function(){for(var _0x39e629=[],_0x45c2fb=0x0;_0x45c2fb<0x100;_0x45c2fb++)_0x45c2fb<0x80?_0x39e629[_0x45c2fb]=_0x45c2fb<<0x1:_0x39e629[_0x45c2fb]=_0x45c2fb<<0x1^0x11b;for(var _0x4b69d8=0x0,_0x24566f=0x0,_0x45c2fb=0x0;_0x45c2fb<0x100;_0x45c2fb++){var _0x4617b9=_0x24566f^_0x24566f<<0x1^_0x24566f<<0x2^_0x24566f<<0x3^_0x24566f<<0x4;_0x4617b9=_0x4617b9>>>0x8^_0x4617b9&0xff^0x63,_0x271c8b[_0x4b69d8]=_0x4617b9,_0x1bfd2d[_0x4617b9]=_0x4b69d8;var _0x4f54b5=_0x39e629[_0x4b69d8],_0x4d342e=_0x39e629[_0x4f54b5],_0x5b68b7=_0x39e629[_0x4d342e],_0x1ef0c6=_0x39e629[_0x4617b9]*0x101^_0x4617b9*0x1010100;_0x3398cf[_0x4b69d8]=_0x1ef0c6<<0x18|_0x1ef0c6>>>0x8,_0x91d94a[_0x4b69d8]=_0x1ef0c6<<0x10|_0x1ef0c6>>>0x10,_0x4cb000[_0x4b69d8]=_0x1ef0c6<<0x8|_0x1ef0c6>>>0x18,_0x3e83e7[_0x4b69d8]=_0x1ef0c6;var _0x1ef0c6=_0x5b68b7*0x1010101^_0x4d342e*0x10001^_0x4f54b5*0x101^_0x4b69d8*0x1010100;_0x49e495[_0x4617b9]=_0x1ef0c6<<0x18|_0x1ef0c6>>>0x8,_0x4686d1[_0x4617b9]=_0x1ef0c6<<0x10|_0x1ef0c6>>>0x10,_0x5c9fa3[_0x4617b9]=_0x1ef0c6<<0x8|_0x1ef0c6>>>0x18,_0x96cc05[_0x4617b9]=_0x1ef0c6,_0x4b69d8?(_0x4b69d8=_0x4f54b5^_0x39e629[_0x39e629[_0x39e629[_0x5b68b7^_0x4f54b5]]],_0x24566f^=_0x39e629[_0x39e629[_0x24566f]]):_0x4b69d8=_0x24566f=0x1;}}());var _0x26feb7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4ee751=_0x52d518[_0x14b292(0x403)]=_0x2d55b6[_0x14b292(0x4b1)]({'_doReset':function(){var _0x4f0573=_0x14b292,_0x347061;if(!(this['_nRounds']&&this[_0x4f0573(0x2ed)]===this['_key'])){for(var _0x4502cb=this['_keyPriorReset']=this['_key'],_0x15fc1f=_0x4502cb[_0x4f0573(0x249)],_0x32e445=_0x4502cb['sigBytes']/0x4,_0x310d68=this['_nRounds']=_0x32e445+0x6,_0x485d3d=(_0x310d68+0x1)*0x4,_0x25dc9c=this[_0x4f0573(0x231)]=[],_0x1c9b70=0x0;_0x1c9b70<_0x485d3d;_0x1c9b70++)_0x1c9b70<_0x32e445?_0x25dc9c[_0x1c9b70]=_0x15fc1f[_0x1c9b70]:(_0x347061=_0x25dc9c[_0x1c9b70-0x1],_0x1c9b70%_0x32e445?_0x32e445>0x6&&_0x1c9b70%_0x32e445==0x4&&(_0x347061=_0x271c8b[_0x347061>>>0x18]<<0x18|_0x271c8b[_0x347061>>>0x10&0xff]<<0x10|_0x271c8b[_0x347061>>>0x8&0xff]<<0x8|_0x271c8b[_0x347061&0xff]):(_0x347061=_0x347061<<0x8|_0x347061>>>0x18,_0x347061=_0x271c8b[_0x347061>>>0x18]<<0x18|_0x271c8b[_0x347061>>>0x10&0xff]<<0x10|_0x271c8b[_0x347061>>>0x8&0xff]<<0x8|_0x271c8b[_0x347061&0xff],_0x347061^=_0x26feb7[_0x1c9b70/_0x32e445|0x0]<<0x18),_0x25dc9c[_0x1c9b70]=_0x25dc9c[_0x1c9b70-_0x32e445]^_0x347061);for(var _0x5a676f=this[_0x4f0573(0x295)]=[],_0x297709=0x0;_0x297709<_0x485d3d;_0x297709++){var _0x1c9b70=_0x485d3d-_0x297709;if(_0x297709%0x4)var _0x347061=_0x25dc9c[_0x1c9b70];else var _0x347061=_0x25dc9c[_0x1c9b70-0x4];_0x297709<0x4||_0x1c9b70<=0x4?_0x5a676f[_0x297709]=_0x347061:_0x5a676f[_0x297709]=_0x49e495[_0x271c8b[_0x347061>>>0x18]]^_0x4686d1[_0x271c8b[_0x347061>>>0x10&0xff]]^_0x5c9fa3[_0x271c8b[_0x347061>>>0x8&0xff]]^_0x96cc05[_0x271c8b[_0x347061&0xff]];}}},'encryptBlock':function(_0x365fac,_0x4bf4f0){var _0xd0bb31=_0x14b292;this[_0xd0bb31(0x52f)](_0x365fac,_0x4bf4f0,this[_0xd0bb31(0x231)],_0x3398cf,_0x91d94a,_0x4cb000,_0x3e83e7,_0x271c8b);},'decryptBlock':function(_0x4bf35e,_0x3896e9){var _0x5f266f=_0x14b292,_0x138aee=_0x4bf35e[_0x3896e9+0x1];_0x4bf35e[_0x3896e9+0x1]=_0x4bf35e[_0x3896e9+0x3],_0x4bf35e[_0x3896e9+0x3]=_0x138aee,this[_0x5f266f(0x52f)](_0x4bf35e,_0x3896e9,this['_invKeySchedule'],_0x49e495,_0x4686d1,_0x5c9fa3,_0x96cc05,_0x1bfd2d);var _0x138aee=_0x4bf35e[_0x3896e9+0x1];_0x4bf35e[_0x3896e9+0x1]=_0x4bf35e[_0x3896e9+0x3],_0x4bf35e[_0x3896e9+0x3]=_0x138aee;},'_doCryptBlock':function(_0x446976,_0x5b1f6f,_0x3be5cc,_0x482c6d,_0x430c7b,_0x580ce9,_0x505475,_0x574b38){var _0x2d942f=_0x14b292;for(var _0x10cb5a=this[_0x2d942f(0x528)],_0x37e358=_0x446976[_0x5b1f6f]^_0x3be5cc[0x0],_0x27a627=_0x446976[_0x5b1f6f+0x1]^_0x3be5cc[0x1],_0x4532e3=_0x446976[_0x5b1f6f+0x2]^_0x3be5cc[0x2],_0x3d96e0=_0x446976[_0x5b1f6f+0x3]^_0x3be5cc[0x3],_0x34fdc8=0x4,_0x14c883=0x1;_0x14c883<_0x10cb5a;_0x14c883++){var _0x455467=_0x482c6d[_0x37e358>>>0x18]^_0x430c7b[_0x27a627>>>0x10&0xff]^_0x580ce9[_0x4532e3>>>0x8&0xff]^_0x505475[_0x3d96e0&0xff]^_0x3be5cc[_0x34fdc8++],_0x4c25b3=_0x482c6d[_0x27a627>>>0x18]^_0x430c7b[_0x4532e3>>>0x10&0xff]^_0x580ce9[_0x3d96e0>>>0x8&0xff]^_0x505475[_0x37e358&0xff]^_0x3be5cc[_0x34fdc8++],_0x46c468=_0x482c6d[_0x4532e3>>>0x18]^_0x430c7b[_0x3d96e0>>>0x10&0xff]^_0x580ce9[_0x37e358>>>0x8&0xff]^_0x505475[_0x27a627&0xff]^_0x3be5cc[_0x34fdc8++],_0x4852ff=_0x482c6d[_0x3d96e0>>>0x18]^_0x430c7b[_0x37e358>>>0x10&0xff]^_0x580ce9[_0x27a627>>>0x8&0xff]^_0x505475[_0x4532e3&0xff]^_0x3be5cc[_0x34fdc8++];_0x37e358=_0x455467,_0x27a627=_0x4c25b3,_0x4532e3=_0x46c468,_0x3d96e0=_0x4852ff;}var _0x455467=(_0x574b38[_0x37e358>>>0x18]<<0x18|_0x574b38[_0x27a627>>>0x10&0xff]<<0x10|_0x574b38[_0x4532e3>>>0x8&0xff]<<0x8|_0x574b38[_0x3d96e0&0xff])^_0x3be5cc[_0x34fdc8++],_0x4c25b3=(_0x574b38[_0x27a627>>>0x18]<<0x18|_0x574b38[_0x4532e3>>>0x10&0xff]<<0x10|_0x574b38[_0x3d96e0>>>0x8&0xff]<<0x8|_0x574b38[_0x37e358&0xff])^_0x3be5cc[_0x34fdc8++],_0x46c468=(_0x574b38[_0x4532e3>>>0x18]<<0x18|_0x574b38[_0x3d96e0>>>0x10&0xff]<<0x10|_0x574b38[_0x37e358>>>0x8&0xff]<<0x8|_0x574b38[_0x27a627&0xff])^_0x3be5cc[_0x34fdc8++],_0x4852ff=(_0x574b38[_0x3d96e0>>>0x18]<<0x18|_0x574b38[_0x37e358>>>0x10&0xff]<<0x10|_0x574b38[_0x27a627>>>0x8&0xff]<<0x8|_0x574b38[_0x4532e3&0xff])^_0x3be5cc[_0x34fdc8++];_0x446976[_0x5b1f6f]=_0x455467,_0x446976[_0x5b1f6f+0x1]=_0x4c25b3,_0x446976[_0x5b1f6f+0x2]=_0x46c468,_0x446976[_0x5b1f6f+0x3]=_0x4852ff;},'keySize':0x100/0x20});_0x238704[_0x14b292(0x403)]=_0x2d55b6['_createHelper'](_0x4ee751);}()),_0x5e13a4[_0x4ea14a(0x403)];}));}(Se)),Se[_0x5a8f0e(0x2b0)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x5e1ca8=_0x5344e8;return ct||(ct=0x1,function(_0x30ba02,_0x1fac14){(function(_0x96b3d9,_0x7c43b3){var _0x3164b6=_0x4b08;_0x30ba02[_0x3164b6(0x2b0)]=_0x7c43b3(ee());}(hi,function(_0x481ef9){var _0x3192c0=_0x4b08;return _0x481ef9['enc'][_0x3192c0(0x381)];}));}(be)),be[_0x5e1ca8(0x2b0)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5344e8(0x2b0)],ht;function vi(){return ht||(ht=0x1,function(_0x2ed11b,_0x462d3a){(function(_0x19c184,_0x4b0b3b){var _0x3ca471=_0x4b08;_0x2ed11b[_0x3ca471(0x2b0)]=_0x4b0b3b(ee());}(di,function(_0x3e1c7a){var _0x2e40b1=_0x4b08;return(function(){var _0x530044=_0x4b08;if(typeof ArrayBuffer==_0x530044(0x380)){var _0x3c6959=_0x3e1c7a,_0x57941e=_0x3c6959[_0x530044(0x370)],_0x4564ba=_0x57941e['WordArray'],_0x52383c=_0x4564ba[_0x530044(0x30a)],_0x33d427=_0x4564ba[_0x530044(0x30a)]=function(_0x197d4a){var _0x4eab3d=_0x530044;if(_0x197d4a instanceof ArrayBuffer&&(_0x197d4a=new Uint8Array(_0x197d4a)),(_0x197d4a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x197d4a instanceof Uint8ClampedArray||_0x197d4a instanceof Int16Array||_0x197d4a instanceof Uint16Array||_0x197d4a instanceof Int32Array||_0x197d4a instanceof Uint32Array||_0x197d4a instanceof Float32Array||_0x197d4a instanceof Float64Array)&&(_0x197d4a=new Uint8Array(_0x197d4a['buffer'],_0x197d4a[_0x4eab3d(0x21c)],_0x197d4a['byteLength'])),_0x197d4a instanceof Uint8Array){for(var _0x5c8175=_0x197d4a[_0x4eab3d(0x4ec)],_0x2c1d90=[],_0x2f3111=0x0;_0x2f3111<_0x5c8175;_0x2f3111++)_0x2c1d90[_0x2f3111>>>0x2]|=_0x197d4a[_0x2f3111]<<0x18-_0x2f3111%0x4*0x8;_0x52383c[_0x4eab3d(0x1e8)](this,_0x2c1d90,_0x5c8175);}else _0x52383c[_0x4eab3d(0x1da)](this,arguments);};_0x33d427['prototype']=_0x4564ba;}}()),_0x3e1c7a[_0x2e40b1(0x370)]['WordArray'];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5344e8(0x2b0)],lt;function mi(){var _0x2004b0=_0x5344e8;return lt||(lt=0x1,function(_0xd5a623,_0x5a5144){(function(_0x1715d1,_0x42ef23,_0x2bfa3e){var _0x3180bd=_0x4b08;_0xd5a623[_0x3180bd(0x2b0)]=_0x42ef23(ee(),At());}(pi,function(_0x24a37d){var _0x230c30=_0x4b08;return _0x24a37d[_0x230c30(0x2e9)][_0x230c30(0x296)]={'pad':function(){},'unpad':function(){}},_0x24a37d[_0x230c30(0x2e9)][_0x230c30(0x296)];}));}(Oe)),Oe[_0x2004b0(0x2b0)];}var gi=mi();const Ii=fe(gi);function Ei(_0x3b2fc0,_0x21227c){var _0x3c2fd8=_0x5344e8;const _0x31ece0=_0x21227c-_0x3b2fc0[_0x3c2fd8(0x28d)]%_0x21227c,_0x37b0eb=String['fromCharCode'](_0x31ece0)[_0x3c2fd8(0x3e3)](_0x31ece0);return _0x3b2fc0+_0x37b0eb;}function Ci(_0x21d33c,_0x52a511){var _0x4ecd78=_0x5344e8;const _0x12824b=Si[_0x4ecd78(0x337)](0x10),_0x3a84b2=Ei(_0x21d33c,0x10),_0x516f3d=ai[_0x4ecd78(0x3e2)](ui[_0x4ecd78(0x34f)](_0x3a84b2),at[_0x4ecd78(0x34f)](_0x52a511),{'iv':_0x12824b,'padding':Ii});return _0x12824b[_0x4ecd78(0x279)](_0x516f3d[_0x4ecd78(0x477)])[_0x4ecd78(0x416)](at);}function Ti(){var _0x413d3f=_0x5344e8;const _0x170e17=$t[_0x413d3f(0x3bf)]()[_0x413d3f(0x4e2)];if(_0x170e17){const _0x3d755d={'time':Math[_0x413d3f(0x213)](Date[_0x413d3f(0x203)]()/0x3e8),'domain':location[_0x413d3f(0x532)]};return Ci(JSON['stringify'](_0x3d755d),_0x170e17);}}var bi=Object[_0x5344e8(0x201)],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x356cc9,_0x1b6ab5,_0x47acfb,_0x26eb2a)=>{var _0x262b39=_0x5344e8;for(var _0x29b0c9=_0x26eb2a>0x1?void 0x0:_0x26eb2a?Ri(_0x1b6ab5,_0x47acfb):_0x1b6ab5,_0x3b8ae4=_0x356cc9[_0x262b39(0x28d)]-0x1,_0x384717;_0x3b8ae4>=0x0;_0x3b8ae4--)(_0x384717=_0x356cc9[_0x3b8ae4])&&(_0x29b0c9=(_0x26eb2a?_0x384717(_0x1b6ab5,_0x47acfb,_0x29b0c9):_0x384717(_0x29b0c9))||_0x29b0c9);return _0x26eb2a&&_0x29b0c9&&bi(_0x1b6ab5,_0x47acfb,_0x29b0c9),_0x29b0c9;},yi=(_0x35c41f,_0x352828)=>(_0x552e0e,_0x32a54d)=>_0x352828(_0x552e0e,_0x32a54d,_0x35c41f);let Ne=class{constructor(_0x158cf7){var _0x57e180=_0x5344e8;this[_0x57e180(0x4a4)]=_0x158cf7,this[_0x57e180(0x305)]();}[_0x5344e8(0x305)](){var _0x12aa6c=_0x5344e8;this[_0x12aa6c(0x4a4)][_0x12aa6c(0x271)]({'interceptor':(_0x192b2c,_0x2426ba)=>{var _0x71b9da=_0x12aa6c;const _0x13efd1=_0x192b2c[_0x71b9da(0x4cf)],_0x4dcb2a=Ti();return _0x4dcb2a&&_0x13efd1[_0x71b9da(0x425)](_0x71b9da(0x4af),_0x4dcb2a),_0x2426ba(_0x192b2c);}});}};Ne=Oi([yi(0x0,a[_0x5344e8(0x21d)](q[_0x5344e8(0x1d4)]))],Ne);var Ni=Object[_0x5344e8(0x201)],Ui=Object[_0x5344e8(0x3d4)],Pi=(_0x346c75,_0x2864b5,_0x1a60e2,_0x26c115)=>{var _0x60bf72=_0x5344e8;for(var _0x3acea6=_0x26c115>0x1?void 0x0:_0x26c115?Ui(_0x2864b5,_0x1a60e2):_0x2864b5,_0x48b993=_0x346c75[_0x60bf72(0x28d)]-0x1,_0x20fa3c;_0x48b993>=0x0;_0x48b993--)(_0x20fa3c=_0x346c75[_0x48b993])&&(_0x3acea6=(_0x26c115?_0x20fa3c(_0x2864b5,_0x1a60e2,_0x3acea6):_0x20fa3c(_0x3acea6))||_0x3acea6);return _0x26c115&&_0x3acea6&&Ni(_0x2864b5,_0x1a60e2,_0x3acea6),_0x3acea6;},Me=(_0x253b03,_0x249975)=>(_0x5dcc4f,_0x1bde2c)=>_0x249975(_0x5dcc4f,_0x1bde2c,_0x253b03);exports[_0x5344e8(0x3fd)]=class extends a[_0x5344e8(0x42b)]{constructor(_0x52b760,_0x453717,_0x2c1d70){var _0x22c09c=_0x5344e8;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x22c09c(0x4c3),this['_unitInfo$']['asObservable']()),(this['_logService']=_0x52b760,this[_0x22c09c(0x349)]=_0x453717,this[_0x22c09c(0x33a)]=_0x2c1d70);}async[_0x5344e8(0x526)](_0x5f31c1,_0x36e21e,_0x3b0614){var _0x1e7fba=_0x5344e8;this[_0x1e7fba(0x2e6)][_0x1e7fba(0x35a)]({'unitId':_0x5f31c1,'type':_0x36e21e,'subUnitId':_0x3b0614});let _0x119878=null;switch(_0x36e21e){case Z['UNIVER_SHEET']:{_0x119878=await this['_loadSheet'](_0x5f31c1);break;}case Z[_0x1e7fba(0x3ba)]:{_0x119878=await this[_0x1e7fba(0x4bc)](_0x5f31c1);break;}default:{this[_0x1e7fba(0x282)]['error']('[DataLoaderService]',_0x1e7fba(0x28e));break;}}return _0x119878;}async[_0x5344e8(0x2b6)](_0x487881){var _0x918c54=_0x5344e8,_0x39be2c;let _0x3af9a2=0x0;const _0x5bd915=await((_0x39be2c=this[_0x918c54(0x33a)])==null?void 0x0:_0x39be2c['loadOfflineData'](_0x487881));return _0x5bd915&&(_0x5bd915['awaitingChangeset']||_0x5bd915[_0x918c54(0x462)][_0x918c54(0x28d)]!==0x0)&&(_0x3af9a2=_0x5bd915[_0x918c54(0x34b)]),_0x3af9a2===0x0&&this[_0x918c54(0x282)][_0x918c54(0x3a9)](_0x918c54(0x1c5),_0x918c54(0x4b6)),this[_0x918c54(0x349)][_0x918c54(0x471)](_0x487881,_0x3af9a2);}async[_0x5344e8(0x4bc)](_0x4a87ec){var _0x259756=_0x5344e8,_0x242c27;let _0x5edc3f=0x0;const _0x182e2e=await((_0x242c27=this[_0x259756(0x33a)])==null?void 0x0:_0x242c27[_0x259756(0x2f7)](_0x4a87ec));return _0x182e2e&&(_0x182e2e[_0x259756(0x1f2)]||_0x182e2e[_0x259756(0x462)][_0x259756(0x28d)]!==0x0)&&(_0x5edc3f=_0x182e2e['rev']),_0x5edc3f===0x0&&this['_logService'][_0x259756(0x3a9)](_0x259756(0x1c5),_0x259756(0x4b6)),this[_0x259756(0x349)][_0x259756(0x449)](_0x4a87ec,_0x5edc3f);}},exports[_0x5344e8(0x3fd)]=Pi([Me(0x0,a['ILogService']),Me(0x1,a['Inject'](m[_0x5344e8(0x4c1)])),Me(0x2,a['Optional'](z))],exports[_0x5344e8(0x3fd)]);var Di=Object[_0x5344e8(0x201)],wi=Object[_0x5344e8(0x3d4)],Ai=(_0x153c5b,_0x409494,_0x195540,_0x5e0282)=>{var _0xbc251c=_0x5344e8;for(var _0x2231fe=_0x5e0282>0x1?void 0x0:_0x5e0282?wi(_0x409494,_0x195540):_0x409494,_0x641a6=_0x153c5b[_0xbc251c(0x28d)]-0x1,_0x45f51b;_0x641a6>=0x0;_0x641a6--)(_0x45f51b=_0x153c5b[_0x641a6])&&(_0x2231fe=(_0x5e0282?_0x45f51b(_0x409494,_0x195540,_0x2231fe):_0x45f51b(_0x2231fe))||_0x2231fe);return _0x5e0282&&_0x2231fe&&Di(_0x409494,_0x195540,_0x2231fe),_0x2231fe;},xe=(_0xe14626,_0x243fa7)=>(_0x3bc37b,_0x4eb3d5)=>_0x243fa7(_0x3bc37b,_0x4eb3d5,_0xe14626);const Li=[_0x5344e8(0x4d8),_0x5344e8(0x3b0),_0x5344e8(0x3b5),_0x5344e8(0x3f7),'image/bmp'],Mi=0x5*0x400*0x400,xi='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ji=_0x5344e8(0x220),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x5344e8(0x23b);exports[_0x5344e8(0x2e1)]=class{constructor(_0x18fd08,_0x3d909d,_0x2175ee){var _0x285a0f=_0x5344e8;D(this,_0x285a0f(0x250),0x0),D(this,_0x285a0f(0x241),new H['Subject']()),D(this,_0x285a0f(0x439),this[_0x285a0f(0x241)]),D(this,_0x285a0f(0x45d),new Map()),(this['_httpService']=_0x18fd08,this[_0x285a0f(0x21a)]=_0x3d909d,this[_0x285a0f(0x29a)]=_0x2175ee);}[_0x5344e8(0x42a)](_0x11be24){var _0x550dea=_0x5344e8;this[_0x550dea(0x250)]=_0x11be24,this[_0x550dea(0x241)][_0x550dea(0x35a)](_0x11be24);}[_0x5344e8(0x335)](_0x25d5b5,_0x53c0bd){var _0x4b1a75=_0x5344e8;if(_0x53c0bd===X[_0x4b1a75(0x2ab)][_0x4b1a75(0x1b8)]){const _0x263ca9=new Image();return _0x263ca9[_0x4b1a75(0x256)]=_0x25d5b5,_0x263ca9;}return this[_0x4b1a75(0x45d)][_0x4b1a75(0x34a)](_0x25d5b5);}[_0x5344e8(0x525)](_0x5afd11,_0x194370,_0x46313f){var _0x7cf40=_0x5344e8;_0x194370===X['ImageSourceType'][_0x7cf40(0x1b8)]||_0x46313f==null||this[_0x7cf40(0x45d)][_0x7cf40(0x425)](_0x5afd11,_0x46313f);}async[_0x5344e8(0x4a9)](_0x3aed9c){var _0x339d1f=_0x5344e8;try{const _0x273e30=this[_0x339d1f(0x2e0)](this[_0x339d1f(0x500)](),''+_0x3aed9c),_0x38943d=(await this['_httpService']['get'](_0x273e30))[_0x339d1f(0x38c)];if(_0x38943d[_0x339d1f(0x438)]&&_0x38943d['error'][_0x339d1f(0x26f)]===Tt['OK']){const _0x4de108=new URL(_0x38943d['url'],this[_0x339d1f(0x2ac)]())[_0x339d1f(0x416)]();return Promise[_0x339d1f(0x321)](_0x4de108);}return Promise[_0x339d1f(0x246)](_0x38943d[_0x339d1f(0x438)]);}catch(_0x4351b4){return Promise[_0x339d1f(0x246)](_0x4351b4);}}async[_0x5344e8(0x263)](_0x8fceeb){var _0x1b6f3c=_0x5344e8;let _0x15b10b='';if(!Li[_0x1b6f3c(0x468)](_0x8fceeb[_0x1b6f3c(0x383)]))return this['_decreaseWaiting'](),Promise[_0x1b6f3c(0x246)](new Error(X[_0x1b6f3c(0x431)][_0x1b6f3c(0x31e)]));if(_0x8fceeb[_0x1b6f3c(0x1f6)]>Mi)return this[_0x1b6f3c(0x2f0)](),Promise[_0x1b6f3c(0x246)](new Error(X[_0x1b6f3c(0x431)][_0x1b6f3c(0x423)]));try{const _0x1c20b5=new FormData();_0x1c20b5[_0x1b6f3c(0x290)](_0x1b6f3c(0x3a5),_0x8fceeb);const _0x5e05b1=this[_0x1b6f3c(0x29a)][_0x1b6f3c(0x2b3)](),_0x38fad4=_0x5e05b1==null?void 0x0:_0x5e05b1[_0x1b6f3c(0x4b2)]();if(!_0x38fad4)throw new Error(_0x1b6f3c(0x516));const _0x1a997a=this[_0x1b6f3c(0x24b)]()+'?size='+_0x8fceeb[_0x1b6f3c(0x1f6)][_0x1b6f3c(0x416)]()+_0x1b6f3c(0x389)+bt['UnitEmbedded']+_0x1b6f3c(0x457)+encodeURIComponent(_0x38fad4),_0x3f399e=await(await fetch(_0x1a997a,{'method':_0x1b6f3c(0x37b),'body':_0x1c20b5}))[_0x1b6f3c(0x243)]();if(typeof _0x3f399e[_0x1b6f3c(0x395)]!=_0x1b6f3c(0x2d9))return this[_0x1b6f3c(0x2f0)](),Promise[_0x1b6f3c(0x246)](new Error(X['ImageUploadStatusType'][_0x1b6f3c(0x1d1)]));_0x15b10b=_0x3f399e[_0x1b6f3c(0x395)];}catch{return this[_0x1b6f3c(0x2f0)](),Promise[_0x1b6f3c(0x246)](new Error(X[_0x1b6f3c(0x431)]['ERROR_IMAGE']));}return new Promise((_0x4d3ec7,_0x2b623c)=>{var _0x174e30=_0x1b6f3c;const _0x43ea59=new FileReader();_0x43ea59[_0x174e30(0x200)](_0x8fceeb),_0x43ea59[_0x174e30(0x2d0)]=_0x431b68=>{var _0x5006a5=_0x174e30,_0x433786;const _0x1128c8=(_0x433786=_0x431b68[_0x5006a5(0x44d)])==null?void 0x0:_0x433786[_0x5006a5(0x453)];if(_0x1128c8==null){this[_0x5006a5(0x2f0)](),_0x2b623c(new Error(X[_0x5006a5(0x431)][_0x5006a5(0x1d1)]));return;}const _0x5ee770=a[_0x5006a5(0x4a3)][_0x5006a5(0x25f)](0x6);_0x4d3ec7({'imageId':_0x5ee770,'imageSourceType':X[_0x5006a5(0x2ab)][_0x5006a5(0x25e)],'source':_0x15b10b,'base64Cache':_0x1128c8,'status':X[_0x5006a5(0x431)]['SUCCUSS']}),this[_0x5006a5(0x2f0)]();};});}[_0x5344e8(0x24b)](){var _0x22378d=_0x5344e8,_0x366acf,_0x3a7e90;const _0x3f3d6a=this[_0x22378d(0x21a)][_0x22378d(0x4fc)](xi),_0x1d74f5=this['_configService']['getConfig'](Y);return(_0x3a7e90=(_0x366acf=_0x1d74f5==null?void 0x0:_0x1d74f5[_0x22378d(0x269)])!=null?_0x366acf:_0x3f3d6a)!=null?_0x3a7e90:ji;}[_0x5344e8(0x500)](){var _0x302a0d=_0x5344e8,_0x264c20,_0x582696;const _0x2fd133=this[_0x302a0d(0x21a)][_0x302a0d(0x4fc)]($i),_0xb156ba=this[_0x302a0d(0x21a)][_0x302a0d(0x4fc)](Y);return(_0x582696=(_0x264c20=_0xb156ba==null?void 0x0:_0xb156ba[_0x302a0d(0x31d)])!=null?_0x264c20:_0x2fd133)!=null?_0x582696:Hi;}[_0x5344e8(0x2ac)](){var _0x429af6=_0x5344e8,_0x79e655;const _0x442c46=this['_configService'][_0x429af6(0x4fc)](Y);return(_0x79e655=_0x442c46==null?void 0x0:_0x442c46['downloadEndpointUrl'])!=null?_0x79e655:location[_0x429af6(0x3c4)];}[_0x5344e8(0x2e0)](_0x1bc0f1,_0xe5ba78){var _0x74f7d9=_0x5344e8;return _0x1bc0f1[_0x74f7d9(0x2db)](_0x74f7d9(0x3d7),_0xe5ba78);}['_decreaseWaiting'](){var _0xa38c0b=_0x5344e8;this[_0xa38c0b(0x250)]-=0x1,this[_0xa38c0b(0x241)][_0xa38c0b(0x35a)](this[_0xa38c0b(0x250)]);}},exports[_0x5344e8(0x2e1)]=Ai([xe(0x0,a[_0x5344e8(0x21d)](q[_0x5344e8(0x1d4)])),xe(0x1,a[_0x5344e8(0x470)]),xe(0x2,a[_0x5344e8(0x21d)](a[_0x5344e8(0x1ba)]))],exports['CollaborationImageIoService']);var ki=Object['defineProperty'],Bi=Object[_0x5344e8(0x3d4)],Fi=(_0x40bcfd,_0x674712,_0x12d399,_0x3784f4)=>{var _0xe84f7d=_0x5344e8;for(var _0x2d4e14=_0x3784f4>0x1?void 0x0:_0x3784f4?Bi(_0x674712,_0x12d399):_0x674712,_0x275749=_0x40bcfd[_0xe84f7d(0x28d)]-0x1,_0x2b48fe;_0x275749>=0x0;_0x275749--)(_0x2b48fe=_0x40bcfd[_0x275749])&&(_0x2d4e14=(_0x3784f4?_0x2b48fe(_0x674712,_0x12d399,_0x2d4e14):_0x2b48fe(_0x2d4e14))||_0x2d4e14);return _0x3784f4&&_0x2d4e14&&ki(_0x674712,_0x12d399,_0x2d4e14),_0x2d4e14;},_t=(_0x1a5228,_0x1bc97b)=>(_0x273488,_0x1d58e2)=>_0x1bc97b(_0x273488,_0x1d58e2,_0x1a5228);const Wi='/universer-api/authz';exports[_0x5344e8(0x4cc)]=class{constructor(_0xb8b23,_0x4b40f1){this['_configService']=_0xb8b23,this['_HTTPService']=_0x4b40f1;}[_0x5344e8(0x482)](){var _0x679ca7=_0x5344e8,_0x1abb0e,_0x4810d0;const _0x38be9b=this[_0x679ca7(0x21a)][_0x679ca7(0x4fc)](Ve),_0x3f10b3=this[_0x679ca7(0x21a)]['getConfig'](Y);return(_0x4810d0=(_0x1abb0e=_0x3f10b3==null?void 0x0:_0x3f10b3[_0x679ca7(0x2c3)])!=null?_0x1abb0e:_0x38be9b)!=null?_0x4810d0:Wi;}async['list'](_0x1a7300){var _0x3aa549=_0x5344e8;const _0x154ca8=this['_getAPIPrefixPath']()+_0x3aa549(0x46e);return{'list':[{'title':'People','mentions':(await this[_0x3aa549(0x437)][_0x3aa549(0x34a)](_0x154ca8,{'params':{'objectID':_0x1a7300[_0x3aa549(0x51a)],'unitID':_0x1a7300[_0x3aa549(0x51a)]}}))[_0x3aa549(0x38c)][_0x3aa549(0x497)]['map'](_0x217fb3=>({'objectId':_0x217fb3['id'],'name':_0x217fb3[_0x3aa549(0x3f9)][_0x3aa549(0x2bc)],'metadata':{'icon':_0x217fb3[_0x3aa549(0x3f9)][_0x3aa549(0x43a)]},'label':_0x217fb3[_0x3aa549(0x3f9)]['name'],'objectType':a[_0x3aa549(0x364)][_0x3aa549(0x1d5)]})),'metadata':{},'type':a['MentionType'][_0x3aa549(0x1d5)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0x5344e8(0x21d)](a['IConfigService'])),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0x5344e8(0x4cc)]);var Gi=Object['defineProperty'],Vi=Object[_0x5344e8(0x3d4)],Ki=(_0x158993,_0x31fcc1,_0x4cc135,_0x463266)=>{var _0x1fbc19=_0x5344e8;for(var _0x4c81fd=_0x463266>0x1?void 0x0:_0x463266?Vi(_0x31fcc1,_0x4cc135):_0x31fcc1,_0x30fa25=_0x158993[_0x1fbc19(0x28d)]-0x1,_0x268f7f;_0x30fa25>=0x0;_0x30fa25--)(_0x268f7f=_0x158993[_0x30fa25])&&(_0x4c81fd=(_0x463266?_0x268f7f(_0x31fcc1,_0x4cc135,_0x4c81fd):_0x268f7f(_0x4c81fd))||_0x4c81fd);return _0x463266&&_0x4c81fd&&Gi(_0x31fcc1,_0x4cc135,_0x4c81fd),_0x4c81fd;},ce=(_0x40e3d8,_0x58007a)=>(_0x315e2f,_0x4561e0)=>_0x58007a(_0x315e2f,_0x4561e0,_0x40e3d8);let Ue=class extends a['RxDisposable']{constructor(_0x1228f6,_0x3e0a5b,_0x7a5306,_0x899b7d,_0x4eda7b,_0x1ea29a,_0x475deb){var _0x47deaf=_0x5344e8;super(),this[_0x47deaf(0x50b)]=_0x1228f6,this['_univerInstanceService']=_0x3e0a5b,this[_0x47deaf(0x1e7)]=_0x7a5306,this[_0x47deaf(0x1c9)]=_0x899b7d,this['_collaborationUIEventService']=_0x4eda7b,this['_authzIoService']=_0x1ea29a,this[_0x47deaf(0x4d3)]=_0x475deb,this[_0x47deaf(0x27e)](),this[_0x47deaf(0x4c5)]();}['_initCloseConn'](){var _0x5d6fa8=_0x5344e8;const _0xa9f284=async _0x5cb625=>{var _0x3911bf=_0x4b08;(await this[_0x3911bf(0x1c9)][_0x3911bf(0x49b)](_0x5cb625))[_0x3911bf(0x379)]['pipe'](W[_0x3911bf(0x258)](_0x48a2b9=>_0x48a2b9[_0x3911bf(0x3db)]===m[_0x3911bf(0x45e)]['SHOULD_CLOSE_CONN']),W[_0x3911bf(0x479)](this['dispose$']))[_0x3911bf(0x366)](_0x46e1f9=>{var _0x3e570c=_0x3911bf;const _0x3bd34b=_0x46e1f9,{reason:_0x640645}=_0x3bd34b[_0x3e570c(0x2d7)];this[_0x3e570c(0x404)][_0x3e570c(0x485)]({'id':Q[_0x3e570c(0x37d)],'data':_0x640645}),this['_permissionService'][_0x3e570c(0x4c7)](new J[(_0x3e570c(0x48b))](_0x5cb625)['id'],!0x1),this[_0x3e570c(0x1c9)][_0x3e570c(0x47a)](_0x5cb625);});};H[_0x5d6fa8(0x1cd)](this[_0x5d6fa8(0x29a)][_0x5d6fa8(0x37f)](a['UniverInstanceType'][_0x5d6fa8(0x237)]),this[_0x5d6fa8(0x29a)][_0x5d6fa8(0x37f)](a[_0x5d6fa8(0x3c7)][_0x5d6fa8(0x3ba)]))[_0x5d6fa8(0x2ae)](W[_0x5d6fa8(0x534)](_0x5c3156=>_0x5c3156[_0x5d6fa8(0x4b2)]()),W['filter'](_0x3781fb=>!a['isInternalEditorID'](_0x3781fb)),W[_0x5d6fa8(0x479)](this[_0x5d6fa8(0x328)]))[_0x5d6fa8(0x366)](_0x2aff02=>{_0xa9f284(_0x2aff02);});}[_0x5344e8(0x27e)](){var _0x3386ad=_0x5344e8;const _0x397f20=async _0x2dc78a=>{var _0x40c7bd=_0x4b08;const _0x21ca18=await this[_0x40c7bd(0x1c9)][_0x40c7bd(0x49b)](_0x2dc78a),_0x2621a9=this[_0x40c7bd(0x50b)][_0x40c7bd(0x34a)](J[_0x40c7bd(0x514)]);_0x21ca18[_0x40c7bd(0x379)][_0x40c7bd(0x2ae)](W[_0x40c7bd(0x258)](_0x449275=>_0x449275['eventID']===m[_0x40c7bd(0x45e)]['UPDATE_PERMISSION_OBJ']),W[_0x40c7bd(0x479)](this[_0x40c7bd(0x328)]))[_0x40c7bd(0x366)](_0xe849ad=>{var _0x548018=_0x40c7bd;const _0x324d96=_0xe849ad,{objectId:_0x4a8cd2}=_0x324d96['data'];_0x4a8cd2===_0x2dc78a?_0x2621a9[_0x548018(0x478)](_0x2dc78a):_0x2621a9[_0x548018(0x2c2)](_0x2dc78a,_0x4a8cd2);});};H['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3386ad(0x3c7)][_0x3386ad(0x237)]),this[_0x3386ad(0x29a)][_0x3386ad(0x37f)](a['UniverInstanceType'][_0x3386ad(0x3ba)]))[_0x3386ad(0x2ae)](W['map'](_0x56ba91=>_0x56ba91['getUnitId']()),W['filter'](_0x1b31e5=>!a['isInternalEditorID'](_0x1b31e5)),W[_0x3386ad(0x479)](this['dispose$']))[_0x3386ad(0x366)](_0x3674af=>{_0x397f20(_0x3674af);});}};Ue=Ki([ce(0x0,a[_0x5344e8(0x21d)](a[_0x5344e8(0x494)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x5344e8(0x2f6)]),ce(0x3,a[_0x5344e8(0x21d)](exports[_0x5344e8(0x2f3)])),ce(0x4,a[_0x5344e8(0x21d)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x5344e8(0x3e4)])],Ue);var Yi=Object[_0x5344e8(0x201)],qi=Object[_0x5344e8(0x3d4)],zi=(_0x19565c,_0x4723a5,_0x502cd7,_0x3812fa)=>{var _0xacb462=_0x5344e8;for(var _0x415706=_0x3812fa>0x1?void 0x0:_0x3812fa?qi(_0x4723a5,_0x502cd7):_0x4723a5,_0x3a67a6=_0x19565c[_0xacb462(0x28d)]-0x1,_0x5f5766;_0x3a67a6>=0x0;_0x3a67a6--)(_0x5f5766=_0x19565c[_0x3a67a6])&&(_0x415706=(_0x3812fa?_0x5f5766(_0x4723a5,_0x502cd7,_0x415706):_0x5f5766(_0x415706))||_0x415706);return _0x3812fa&&_0x415706&&Yi(_0x4723a5,_0x502cd7,_0x415706),_0x415706;},ut=(_0x43004f,_0x1c7a94)=>(_0x86e0eb,_0x3b9387)=>_0x1c7a94(_0x86e0eb,_0x3b9387,_0x43004f);exports[_0x5344e8(0x36b)]=class{constructor(_0xeeb3e2,_0x39ccf4){var _0x3abcba=_0x5344e8;this[_0x3abcba(0x21a)]=_0xeeb3e2,this[_0x3abcba(0x4a4)]=_0x39ccf4;}async[_0x5344e8(0x487)](_0x29cc9b,_0x276509){var _0x348474=_0x5344e8,_0x26b33c;const {unitID:_0x254594,type:_0x51e74c,revision:_0x6e1f4d=0x0}=_0x276509,_0x151c3c=this[_0x348474(0x1c6)]()+'/'+_0x51e74c+_0x348474(0x242)+_0x254594+'/rev/'+_0x6e1f4d,_0x270b4f=(await this['_httpService'][_0x348474(0x34a)](_0x151c3c))['body'],_0x2a57a7=(_0x26b33c=_0x270b4f[_0x348474(0x2f2)])==null?void 0x0:_0x26b33c[_0x348474(0x39c)];if(_0x2a57a7){const _0x493be0=_0x2a57a7==null?void 0x0:_0x2a57a7[_0x348474(0x36e)],_0x24ad25=m[_0x348474(0x343)]['encode'](m[_0x348474(0x3ab)](_0x493be0));_0x2a57a7['originalMeta']=_0x24ad25,Object[_0x348474(0x22b)](_0x2a57a7[_0x348474(0x2ff)])['forEach'](([,_0x16c9ef])=>{var _0x39f7cc=_0x348474;const _0x3315c1=_0x16c9ef[_0x39f7cc(0x36e)],_0xcc84f4=m[_0x39f7cc(0x343)][_0x39f7cc(0x33b)](m[_0x39f7cc(0x3ab)](_0x3315c1));_0x16c9ef[_0x39f7cc(0x36e)]=_0xcc84f4;});}return _0x270b4f;}async['getSheetBlock'](_0x7614e2,_0x49f84d){var _0x2cea46=_0x5344e8;const {unitID:_0x1fecb4,type:_0x5b9fc7,blockID:_0x1e29b1}=_0x49f84d,_0x188eb6=this[_0x2cea46(0x4ba)]()+'/'+_0x5b9fc7+_0x2cea46(0x242)+_0x1fecb4+_0x2cea46(0x299)+_0x1e29b1;return(await this[_0x2cea46(0x4a4)][_0x2cea46(0x34a)](_0x188eb6))[_0x2cea46(0x38c)];}async[_0x5344e8(0x519)](_0x182e25,_0x368335){var _0x275165=_0x5344e8;const {unitID:_0x5363d5,type:_0x38857f,blockID:_0x9a906c}=_0x368335,_0x5ec3fe=this[_0x275165(0x4ba)]()+_0x275165(0x299)+_0x38857f+_0x275165(0x242)+_0x5363d5+_0x275165(0x299)+_0x9a906c;return(await this[_0x275165(0x4a4)][_0x275165(0x34a)](_0x5ec3fe))[_0x275165(0x38c)];}async['fetchMissingChangesets'](_0x61c04c,_0x49417c){var _0x3bc8d1=_0x5344e8;const {unitID:_0x489abd,type:_0x47ea11,from:_0x59dcd9,to:_0x48da82}=_0x49417c,_0x4071a1=this['_getAPIPrefix']()+'/'+_0x47ea11+_0x3bc8d1(0x242)+_0x489abd+_0x3bc8d1(0x39e)+_0x59dcd9+_0x3bc8d1(0x297)+_0x48da82;return(await this['_httpService'][_0x3bc8d1(0x34a)](_0x4071a1))[_0x3bc8d1(0x38c)];}[_0x5344e8(0x1c6)](){var _0x2b8a34=_0x5344e8,_0x1bcb48;return(_0x1bcb48=this[_0x2b8a34(0x21a)]['getConfig'](ft))!=null?_0x1bcb48:this['_getAPIPrefix']();}[_0x5344e8(0x4ba)](){var _0x480386=_0x5344e8,_0x1bb540,_0x36735f;const _0x32067d=this['_configService'][_0x480386(0x4fc)](vt),_0x8b8b99=this[_0x480386(0x21a)][_0x480386(0x4fc)](Y);return(_0x36735f=(_0x1bb540=_0x8b8b99==null?void 0x0:_0x8b8b99[_0x480386(0x4a1)])!=null?_0x1bb540:_0x32067d)!=null?_0x36735f:Ht;}async['getResourcesRequest'](_0x307484,_0x4c44ff){var _0x394500=_0x5344e8;const _0x22d0d6='/universer-api/snapshot/'+_0x4c44ff[_0x394500(0x383)]+_0x394500(0x242)+_0x4c44ff[_0x394500(0x1c7)]+'/resources';return(await this[_0x394500(0x4a4)][_0x394500(0x34a)](_0x22d0d6,{'params':{'resourceId':JSON[_0x394500(0x2df)](_0x4c44ff[_0x394500(0x4ca)])}}))[_0x394500(0x38c)];}[_0x5344e8(0x50e)](){var _0x39f350=_0x5344e8;throw new Error(_0x39f350(0x484));}[_0x5344e8(0x24d)](){var _0x305fab=_0x5344e8;throw new Error(_0x305fab(0x484));}[_0x5344e8(0x46f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5344e8(0x426)](){var _0x519c4f=_0x5344e8;throw new Error(_0x519c4f(0x484));}[_0x5344e8(0x41c)](){var _0x53dc96=_0x5344e8;throw new Error(_0x53dc96(0x484));}},exports['SnapshotServerOverHTTPService']=zi([ut(0x0,a[_0x5344e8(0x470)]),ut(0x1,a['Inject'](q['HTTPService']))],exports[_0x5344e8(0x36b)]);var Ji=Object[_0x5344e8(0x201)],Xi=Object[_0x5344e8(0x3d4)],Zi=(_0x32794a,_0x1fa549,_0x1940d4,_0x113907)=>{var _0x264e02=_0x5344e8;for(var _0x147f9c=_0x113907>0x1?void 0x0:_0x113907?Xi(_0x1fa549,_0x1940d4):_0x1fa549,_0x319ffc=_0x32794a[_0x264e02(0x28d)]-0x1,_0x33d87d;_0x319ffc>=0x0;_0x319ffc--)(_0x33d87d=_0x32794a[_0x319ffc])&&(_0x147f9c=(_0x113907?_0x33d87d(_0x1fa549,_0x1940d4,_0x147f9c):_0x33d87d(_0x147f9c))||_0x147f9c);return _0x113907&&_0x147f9c&&Ji(_0x1fa549,_0x1940d4,_0x147f9c),_0x147f9c;},de=(_0x526a4a,_0x4ab333)=>(_0x22bc3b,_0x367f40)=>_0x4ab333(_0x22bc3b,_0x367f40,_0x526a4a);exports[_0x5344e8(0x4ea)]=class extends a[_0x5344e8(0x405)]{constructor(_0x307883,_0x488ae6,_0x354e70,_0x3e5aa2,_0x62271f){var _0x362e39=_0x5344e8;super(_0x307883,_0x488ae6,_0x354e70),this[_0x362e39(0x27f)]=_0x3e5aa2,this[_0x362e39(0x282)]=_0x62271f;}[_0x5344e8(0x291)](_0x12dad0,_0x1276cc){var _0x2458a2=_0x5344e8;const _0x463f06=this['_getUndoStack'](_0x12dad0);if(_0x463f06)try{const _0x577a71=this['_transformStack'](_0x463f06,_0x1276cc);this[_0x2458a2(0x429)](_0x12dad0,_0x577a71);}catch(_0x35adb5){this['_logService'][_0x2458a2(0x438)](_0x2458a2(0x350),_0x35adb5),this[_0x2458a2(0x2d5)](_0x12dad0);}const _0x486b4b=this[_0x2458a2(0x3e0)](_0x12dad0);if(_0x486b4b)try{const _0x15aa4a=this[_0x2458a2(0x23e)](_0x486b4b,_0x1276cc);this['_substituteRedoStack'](_0x12dad0,_0x15aa4a);}catch(_0x9c3b4e){this[_0x2458a2(0x282)]['error'](_0x9c3b4e),this[_0x2458a2(0x2f8)](_0x12dad0);}}[_0x5344e8(0x2d5)](_0xed02c7){var _0x49ce49=_0x5344e8;const _0x372ca3=this[_0x49ce49(0x2c1)](_0xed02c7);_0x372ca3&&(_0x372ca3[_0x49ce49(0x28d)]=0x0,this[_0x49ce49(0x334)]());}[_0x5344e8(0x2f8)](_0x1c3dca){var _0x2fca7c=_0x5344e8;const _0x44b7bb=this['_getRedoStack'](_0x1c3dca);_0x44b7bb&&(_0x44b7bb['length']=0x0,this[_0x2fca7c(0x334)]());}[_0x5344e8(0x429)](_0x57b21f,_0x3d4c33){var _0x1b7a5a=_0x5344e8;this['_undoStacks'][_0x1b7a5a(0x425)](_0x57b21f,_0x3d4c33),this['_updateStatus']();}[_0x5344e8(0x398)](_0x225017,_0x24f9d5){var _0x6a3934=_0x5344e8;this['_redoStacks'][_0x6a3934(0x425)](_0x225017,_0x24f9d5),this[_0x6a3934(0x334)]();}[_0x5344e8(0x23e)](_0xfe2c38,_0x66305f){var _0x1a88cc=_0x5344e8;const _0x18b6b9=[];let _0x27415f=_0x66305f,_0x20d955=_0x66305f;for(let _0x4a7216=_0xfe2c38[_0x1a88cc(0x28d)]-0x1;_0x4a7216>=0x0;_0x4a7216--){const {unitID:_0x561d93,undoMutations:_0x134028,redoMutations:_0x5a20e9}=_0xfe2c38[_0x4a7216],_0x45bea0=this[_0x1a88cc(0x27f)]['transformMutationsWithChangeset'](_0x27415f,_0x134028),_0xc2fbf2=this[_0x1a88cc(0x27f)]['transformMutationsWithChangeset'](_0x20d955,_0x5a20e9);if(m[_0x1a88cc(0x3ed)](_0x45bea0)||m[_0x1a88cc(0x3ed)](_0xc2fbf2)){this['_logService']['error'](_0x1a88cc(0x350),'transformStack\x20failed!',_0x45bea0,_0xc2fbf2);break;}_0x27415f=_0x45bea0['c1Prime'],_0x20d955=_0xc2fbf2['c1Prime'],_0x18b6b9['push']({'unitID':_0x561d93,'undoMutations':_0x45bea0['m2Prime'],'redoMutations':_0xc2fbf2[_0x1a88cc(0x23c)]});}return _0x18b6b9[_0x1a88cc(0x292)]();}},exports[_0x5344e8(0x4ea)]=Zi([de(0x0,a[_0x5344e8(0x1ba)]),de(0x1,a[_0x5344e8(0x26a)]),de(0x2,a[_0x5344e8(0x2c9)]),de(0x3,m[_0x5344e8(0x41b)]),de(0x4,a[_0x5344e8(0x3b4)])],exports['CollaborativeUndoRedoService']);var Lt=Object['defineProperty'],Qi=Object[_0x5344e8(0x3d4)],er=(_0x3fa922,_0x1cd752,_0x549f7a)=>_0x1cd752 in _0x3fa922?Lt(_0x3fa922,_0x1cd752,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x549f7a}):_0x3fa922[_0x1cd752]=_0x549f7a,tr=(_0x466bf8,_0xc31179,_0x8a49c2,_0xe301f7)=>{var _0x38cac8=_0x5344e8;for(var _0x1f492a=_0xe301f7>0x1?void 0x0:_0xe301f7?Qi(_0xc31179,_0x8a49c2):_0xc31179,_0x4ce624=_0x466bf8[_0x38cac8(0x28d)]-0x1,_0x49f405;_0x4ce624>=0x0;_0x4ce624--)(_0x49f405=_0x466bf8[_0x4ce624])&&(_0x1f492a=(_0xe301f7?_0x49f405(_0xc31179,_0x8a49c2,_0x1f492a):_0x49f405(_0x1f492a))||_0x1f492a);return _0xe301f7&&_0x1f492a&&Lt(_0xc31179,_0x8a49c2,_0x1f492a),_0x1f492a;},je=(_0x3bc341,_0x1d1b2f)=>(_0x15d71d,_0x1fad66)=>_0x1d1b2f(_0x15d71d,_0x1fad66,_0x3bc341),nr=(_0x1d7e87,_0x246e2b,_0x1fc323)=>er(_0x1d7e87,_0x246e2b+'',_0x1fc323);const ir=_0x5344e8(0x2bf);exports[_0x5344e8(0x3f3)]=class extends a[_0x5344e8(0x4f6)]{constructor(_0x5eea33=Ke,_0x38d325,_0xa06848,_0x20277b){var _0x95675d=_0x5344e8;super(),this[_0x95675d(0x4f4)]=_0x5eea33,this[_0x95675d(0x282)]=_0x38d325,this[_0x95675d(0x50b)]=_0xa06848,this['_configService']=_0x20277b;const {..._0xd95c7f}=a[_0x95675d(0x1cd)]({},Ke,this[_0x95675d(0x4f4)]);this[_0x95675d(0x21a)][_0x95675d(0x2f4)](Y,_0xd95c7f);}[_0x5344e8(0x43d)](){this['_registerDependencies'](),this['_initDependencies']();}['_registerDependencies'](){var _0x3a7afb=_0x5344e8,_0x1fe32e,_0x331a4a,_0x586f48,_0x45c82d;this['_injector']['has'](a['IUndoRedoService'])&&this[_0x3a7afb(0x282)][_0x3a7afb(0x438)](_0x3a7afb(0x41a),_0x3a7afb(0x2bd));const _0x324700=a[_0x3a7afb(0x3aa)]([[a['IUndoRedoService'],{'useClass':exports[_0x3a7afb(0x4ea)]}],[exports[_0x3a7afb(0x2f3)]],[exports[_0x3a7afb(0x51f)]],[exports[_0x3a7afb(0x29f)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x3a7afb(0x3fd)]],[ke,{'useClass':(_0x331a4a=(_0x1fe32e=this[_0x3a7afb(0x4f4)])==null?void 0x0:_0x1fe32e[_0x3a7afb(0x503)])!=null?_0x331a4a:exports[_0x3a7afb(0x2a8)]}],[m[_0x3a7afb(0x1fb)],{'useClass':exports[_0x3a7afb(0x36b)]}],[a[_0x3a7afb(0x355)],{'useClass':exports['AuthzIoHttpService']}],[X[_0x3a7afb(0x523)],{'useClass':exports[_0x3a7afb(0x2e1)]}],[a[_0x3a7afb(0x20a)],{'useClass':exports[_0x3a7afb(0x4cc)]}],[exports[_0x3a7afb(0x522)]],[$e]],(_0x586f48=this[_0x3a7afb(0x4f4)])==null?void 0x0:_0x586f48[_0x3a7afb(0x30e)]);if(!((_0x45c82d=this[_0x3a7afb(0x4f4)])!=null&&_0x45c82d[_0x3a7afb(0x47b)])){const _0x136d3e=_0x324700[_0x3a7afb(0x211)](([_0x12f459])=>_0x12f459===ve);_0x136d3e!==-0x1&&_0x324700['splice'](_0x136d3e,0x1);}a[_0x3a7afb(0x493)](this['_injector'],_0x324700);}[_0x5344e8(0x363)](){var _0x343401=_0x5344e8,_0x1e733f,_0x4c81ba,_0x538e1d;this[_0x343401(0x50b)][_0x343401(0x34a)](q[_0x343401(0x1d4)])[_0x343401(0x271)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1e733f=this[_0x343401(0x4f4)])!=null&&_0x1e733f[_0x343401(0x481)]||(_0x4c81ba=this[_0x343401(0x50b)][_0x343401(0x34a)](z,a[_0x343401(0x385)][_0x343401(0x21b)]))==null||_0x4c81ba[_0x343401(0x474)](),(_0x538e1d=this[_0x343401(0x4f4)])!=null&&_0x538e1d[_0x343401(0x1f1)]&&a[_0x343401(0x4a6)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x343401(0x50b)],[[Ne],[exports[_0x343401(0x522)]],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],_0x5344e8(0x440),ir),exports[_0x5344e8(0x3f3)]=tr([a['DependentOn'](m[_0x5344e8(0x1e6)],J[_0x5344e8(0x37a)],q['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a['Inject'](a[_0x5344e8(0x494)])),je(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x5344e8(0x20f)]=Ve,exports[_0x5344e8(0x3a7)]=Y,exports[_0x5344e8(0x2fe)]=Et,exports[_0x5344e8(0x3d9)]=St,exports[_0x5344e8(0x4ef)]=We,exports[_0x5344e8(0x388)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x5344e8(0x4b0)]=pt,exports[_0x5344e8(0x44a)]=Xt,exports[_0x5344e8(0x4b9)]=mt,exports[_0x5344e8(0x43c)]=He,exports[_0x5344e8(0x25d)]=ke,exports[_0x5344e8(0x3e5)]=z,exports[_0x5344e8(0x3ec)]=Rt,exports['ISingleActiveUnitService']=ve,exports[_0x5344e8(0x511)]=Yt,exports[_0x5344e8(0x1b3)]=Kt,exports['LOGIN_URL_KEY']=Ct,exports[_0x5344e8(0x344)]=Jt,exports[_0x5344e8(0x50f)]=It,exports[_0x5344e8(0x43e)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x5344e8(0x52e)]=ft,exports[_0x5344e8(0x386)]=se,exports[_0x5344e8(0x49d)]=Fe,exports[_0x5344e8(0x42d)]=Ot,exports[_0x5344e8(0x235)]=In,exports['serializeCombRequest']=yt;