@univerjs-pro/collaboration-client 0.6.10-nightly.202504191606 → 0.6.10-nightly.202504201606

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 _0x46aeb6=_0x3338;(function(_0x3d39b9,_0x15690e){var _0x44c2db=_0x3338,_0x12e94c=_0x3d39b9();while(!![]){try{var _0x1010fa=-parseInt(_0x44c2db(0x1ca))/0x1+-parseInt(_0x44c2db(0x9a))/0x2*(-parseInt(_0x44c2db(0x314))/0x3)+-parseInt(_0x44c2db(0x10f))/0x4+-parseInt(_0x44c2db(0x386))/0x5+-parseInt(_0x44c2db(0x14d))/0x6+-parseInt(_0x44c2db(0x3bd))/0x7*(parseInt(_0x44c2db(0x36e))/0x8)+parseInt(_0x44c2db(0x38e))/0x9;if(_0x1010fa===_0x15690e)break;else _0x12e94c['push'](_0x12e94c['shift']());}catch(_0x13bf89){_0x12e94c['push'](_0x12e94c['shift']());}}}(_0xa1e4,0x69ce4));var wt=Object[_0x46aeb6(0x19d)],Lt=(_0x4be0f7,_0x2d18c7,_0x476a76)=>_0x2d18c7 in _0x4be0f7?wt(_0x4be0f7,_0x2d18c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476a76}):_0x4be0f7[_0x2d18c7]=_0x476a76,A=(_0x83222d,_0x6d6231,_0x2d10d5)=>Lt(_0x83222d,typeof _0x6d6231!=_0x46aeb6(0x1b1)?_0x6d6231+'':_0x6d6231,_0x2d10d5);Object['defineProperty'](exports,Symbol[_0x46aeb6(0x362)],{'value':_0x46aeb6(0x29e)});const a=require(_0x46aeb6(0x39c)),j=require(_0x46aeb6(0x3e8)),V=require(_0x46aeb6(0x20e)),g=require(_0x46aeb6(0x3c9)),q=require(_0x46aeb6(0xac)),Mt=require(_0x46aeb6(0x37a)),ut=require(_0x46aeb6(0x336)),Z=require(_0x46aeb6(0x109)),J=require(_0x46aeb6(0x2d8)),xt=require(_0x46aeb6(0x32d)),dt=_0x46aeb6(0x2c3),kt=_0x46aeb6(0x3fc),vt=_0x46aeb6(0x14f),Ht=_0x46aeb6(0x175),jt=0x7d0,St=_0x46aeb6(0x28f),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x46aeb6(0x29f),pt=_0x46aeb6(0x159),Bt=0x7530,je=_0x46aeb6(0x316),gt=0x4e20,Ft=0x4e20,It=_0x46aeb6(0x1cb),Vt=0x3,Wt=_0x46aeb6(0x132),Gt=0x3e8,mt=_0x46aeb6(0x22e),Kt=_0x46aeb6(0x3b6),Et='LOGIN_URL_KEY',Yt=_0x46aeb6(0x15b),qt=_0x46aeb6(0x33f),zt=_0x46aeb6(0x16f);var Ct=(_0x39a342=>(_0x39a342[_0x39a342[_0x46aeb6(0x13f)]=0x0]=_0x46aeb6(0x13f),_0x39a342[_0x39a342['OK']=0x1]='OK',_0x39a342[_0x39a342[_0x46aeb6(0x366)]=0x2]=_0x46aeb6(0x366),_0x39a342[_0x39a342[_0x46aeb6(0x2ec)]=0x3]=_0x46aeb6(0x2ec),_0x39a342[_0x39a342[_0x46aeb6(0x3d2)]=0x4]=_0x46aeb6(0x3d2),_0x39a342[_0x39a342['UNAUTHENTICATED']=0x5]=_0x46aeb6(0x116),_0x39a342[_0x39a342['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x39a342[_0x39a342[_0x46aeb6(0x30d)]=0x7]=_0x46aeb6(0x30d),_0x39a342[_0x39a342[_0x46aeb6(0x3cf)]=0x8]=_0x46aeb6(0x3cf),_0x39a342[_0x39a342[_0x46aeb6(0x1b2)]=0x9]=_0x46aeb6(0x1b2),_0x39a342[_0x39a342[_0x46aeb6(0x287)]=0xa]='LOGIN_FAILED',_0x39a342[_0x39a342[_0x46aeb6(0x141)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x39a342[_0x39a342[_0x46aeb6(0x147)]=0x1771]=_0x46aeb6(0x147),_0x39a342[_0x39a342[_0x46aeb6(0x368)]=0x1772]=_0x46aeb6(0x368),_0x39a342[_0x39a342['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x46aeb6(0x135),_0x39a342[_0x39a342[_0x46aeb6(0x1ac)]=0x1b59]='APPLY_REJECT',_0x39a342[_0x39a342[_0x46aeb6(0x3b7)]=0x1b5a]=_0x46aeb6(0x3b7),_0x39a342[_0x39a342[_0x46aeb6(0x1ef)]=0x1b5b]=_0x46aeb6(0x1ef),_0x39a342[_0x39a342[_0x46aeb6(0x296)]=0x1b5c]=_0x46aeb6(0x296),_0x39a342[_0x39a342[_0x46aeb6(0x196)]=0x1b5d]='APPLY_DUPLICATED',_0x39a342[_0x39a342[_0x46aeb6(0x18e)]=0x1f41]=_0x46aeb6(0x18e),_0x39a342[_0x39a342[_0x46aeb6(0x26f)]=0x2329]=_0x46aeb6(0x26f),_0x39a342[_0x39a342['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x39a342[_0x39a342[_0x46aeb6(0x2e1)]=0x232b]=_0x46aeb6(0x2e1),_0x39a342[_0x39a342[_0x46aeb6(0xfc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x39a342[_0x39a342['LICENSE_DISTRO_REJECTED']=0x232d]=_0x46aeb6(0x2dd),_0x39a342[_0x39a342[_0x46aeb6(0x40d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x39a342[_0x39a342[_0x46aeb6(0x115)]=0x2712]=_0x46aeb6(0x115),_0x39a342[_0x39a342[_0x46aeb6(0x35b)]=0x2713]=_0x46aeb6(0x35b),_0x39a342[_0x39a342[_0x46aeb6(0xe2)]=0x2714]=_0x46aeb6(0xe2),_0x39a342[_0x39a342[_0x46aeb6(0x2e7)]=0x271a]=_0x46aeb6(0x2e7),_0x39a342[_0x39a342[_0x46aeb6(0x107)]=0x271b]=_0x46aeb6(0x107),_0x39a342[_0x39a342[_0x46aeb6(0x18f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x39a342[_0x39a342[_0x46aeb6(0x3b4)]=0x2ee1]=_0x46aeb6(0x3b4),_0x39a342[_0x39a342[_0x46aeb6(0x258)]=0x2ee2]=_0x46aeb6(0x258),_0x39a342[_0x39a342[_0x46aeb6(0x1d5)]=0x2ee3]=_0x46aeb6(0x1d5),_0x39a342[_0x39a342[_0x46aeb6(0x146)]=0x2ee4]=_0x46aeb6(0x146),_0x39a342[_0x39a342[_0x46aeb6(0x35d)]=0x2ee5]=_0x46aeb6(0x35d),_0x39a342[_0x39a342[_0x46aeb6(0x201)]=0x32c9]=_0x46aeb6(0x201),_0x39a342[_0x39a342[_0x46aeb6(0xef)]=0x32ca]=_0x46aeb6(0xef),_0x39a342[_0x39a342[_0x46aeb6(0x245)]=0x32cb]=_0x46aeb6(0x245),_0x39a342[_0x39a342['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39a342))(Ct||{}),X=(_0x39d1c8=>(_0x39d1c8[_0x39d1c8['UNIVER_UNKNOWN']=0x0]=_0x46aeb6(0x21f),_0x39d1c8[_0x39d1c8[_0x46aeb6(0x1c8)]=0x1]='UNIVER_DOC',_0x39d1c8[_0x39d1c8[_0x46aeb6(0x3ca)]=0x2]=_0x46aeb6(0x3ca),_0x39d1c8[_0x39d1c8[_0x46aeb6(0x3c2)]=0x3]=_0x46aeb6(0x3c2),_0x39d1c8[_0x39d1c8[_0x46aeb6(0x15a)]=0x4]=_0x46aeb6(0x15a),_0x39d1c8[_0x39d1c8[_0x46aeb6(0x3ee)]=-0x1]=_0x46aeb6(0x3ee),_0x39d1c8))(X||{}),W=(_0x1cd7c5=>(_0x1cd7c5[_0x1cd7c5['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1cd7c5[_0x1cd7c5['HELLO']=0x1]=_0x46aeb6(0x1e6),_0x1cd7c5[_0x1cd7c5[_0x46aeb6(0x312)]=0x2]=_0x46aeb6(0x312),_0x1cd7c5[_0x1cd7c5['LEAVE']=0x3]=_0x46aeb6(0x30b),_0x1cd7c5[_0x1cd7c5['INGEST']=0x4]='INGEST',_0x1cd7c5[_0x1cd7c5[_0x46aeb6(0xe0)]=0x5]=_0x46aeb6(0xe0),_0x1cd7c5[_0x1cd7c5[_0x46aeb6(0x11c)]=0x6]=_0x46aeb6(0x11c),_0x1cd7c5[_0x1cd7c5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1cd7c5))(W||{}),ae=(_0x2ea598=>(_0x2ea598[_0x2ea598[_0x46aeb6(0x272)]=0x0]='UNKNOWN_CODE',_0x2ea598[_0x2ea598['OK']=0x1]='OK',_0x2ea598[_0x2ea598[_0x46aeb6(0x3ba)]=0x2]='FAIL',_0x2ea598[_0x2ea598[_0x46aeb6(0xe8)]=0x3e9]='JOIN_ROOM_FULL',_0x2ea598[_0x2ea598['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x46aeb6(0x3d1),_0x2ea598[_0x2ea598[_0x46aeb6(0x244)]=0x3eb]=_0x46aeb6(0x244),_0x2ea598[_0x2ea598[_0x46aeb6(0x1c1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2ea598[_0x2ea598[_0x46aeb6(0x3ee)]=-0x1]=_0x46aeb6(0x3ee),_0x2ea598))(ae||{}),Tt=(_0x1eea4c=>(_0x1eea4c[_0x1eea4c[_0x46aeb6(0x402)]=0x0]='Undefined',_0x1eea4c[_0x1eea4c['HttpImport']=0x1]='HttpImport',_0x1eea4c[_0x1eea4c['HttpExport']=0x2]=_0x46aeb6(0x2fa),_0x1eea4c[_0x1eea4c['UnitEmbedded']=0x3]='UnitEmbedded',_0x1eea4c[_0x1eea4c['UnitSnapshot']=0x4]=_0x46aeb6(0x151),_0x1eea4c[_0x1eea4c[_0x46aeb6(0xd4)]=0x5]=_0x46aeb6(0xd4),_0x1eea4c[_0x1eea4c[_0x46aeb6(0x3ee)]=-0x1]=_0x46aeb6(0x3ee),_0x1eea4c))(Tt||{});const Y=_0x46aeb6(0x194),Jt={};var Q=(_0x47285c=>(_0x47285c[_0x46aeb6(0x238)]=_0x46aeb6(0x238),_0x47285c['PERMISSION_DENIED']=_0x46aeb6(0x2ec),_0x47285c[_0x46aeb6(0x352)]=_0x46aeb6(0x352),_0x47285c[_0x46aeb6(0x337)]='CLOSE_ROOM',_0x47285c[_0x46aeb6(0xd1)]=_0x46aeb6(0xd1),_0x47285c['SOCKET_FAILED_RETRY']=_0x46aeb6(0x2e4),_0x47285c['SOCKET_FAILED']=_0x46aeb6(0x2ce),_0x47285c['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x47285c))(Q||{});class te{constructor(){var _0x44e678=_0x46aeb6;A(this,_0x44e678(0x2c4),new j[(_0x44e678(0xc1))]()),A(this,_0x44e678(0x404),this[_0x44e678(0x2c4)]['asObservable']());}[_0x46aeb6(0x1ec)](_0xc796ba){var _0x644853=_0x46aeb6;this[_0x644853(0x2c4)][_0x644853(0x3a5)](_0xc796ba);}}const bt=a[_0x46aeb6(0x390)](_0x46aeb6(0x3cc));function Rt(_0x4bbac6){var _0x3fd901=_0x46aeb6,_0x3d26aa,_0xd451e7,_0x4aceef,_0x1906ca,_0x24fb39;const _0x3d9777=_0x4bbac6[_0x3fd901(0x2eb)],_0x3d13bc=JSON[_0x3fd901(0x2b9)](_0x3d9777);switch(_0x3d13bc[_0x3fd901(0x32e)]){case W[_0x3fd901(0xe0)]:case W['HELLO']:{const _0x207b37=_0x3d13bc['infoRsp'];return{..._0x3d13bc,'data':_0x207b37,'cmd':_0x3d13bc[_0x3fd901(0x32e)]};}case W[_0x3fd901(0x312)]:{const _0x3df999=_0x3d13bc[_0x3fd901(0x271)];return{..._0x3d13bc,'data':_0x3df999,'cmd':_0x3d13bc[_0x3fd901(0x32e)]};}case W[_0x3fd901(0x11c)]:{const _0x1c5eaa=_0x3d13bc[_0x3fd901(0x35a)];switch(_0x1c5eaa[_0x3fd901(0x2c6)]){case g['CollaborationEvent']['PERMISSION_REJ']:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':(_0x3d26aa=_0x1c5eaa[_0x3fd901(0x22b)])==null?void 0x0:_0x3d26aa['cs']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g['CollaborationEvent']['CHANGESET_ACK']:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':(_0xd451e7=_0x1c5eaa['csAckEvent'])==null?void 0x0:_0xd451e7['cs']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x169)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':(_0x4aceef=_0x1c5eaa[_0x3fd901(0x1fd)])==null?void 0x0:_0x4aceef['cs']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)]['CHANGESET_REJ']:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':(_0x1906ca=_0x1c5eaa[_0x3fd901(0x34c)])==null?void 0x0:_0x1906ca['cs']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x27b)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':(_0x24fb39=_0x1c5eaa['csShouldRetryEvent'])==null?void 0x0:_0x24fb39['cs']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x40b)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa[_0x3fd901(0x1e9)]},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x263)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa['joinEvent']},'cmd':_0x3d13bc['cmd']};case g[_0x3fd901(0x237)][_0x3fd901(0xb3)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa[_0x3fd901(0x139)]},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x311)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa['liveShareNewHost']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x174)]:case g[_0x3fd901(0x237)][_0x3fd901(0x1ae)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa['liveShareOperation']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x1dd)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa['liveShareNewHost']},'cmd':_0x3d13bc['cmd']};case g[_0x3fd901(0x237)][_0x3fd901(0xf5)]:return{..._0x3d13bc,'data':_0x1c5eaa,'cmd':_0x3d13bc['cmd']};case g['CollaborationEvent'][_0x3fd901(0x186)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa[_0x3fd901(0x370)]},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0xf7)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa[_0x3fd901(0x1e4)]},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)][_0x3fd901(0x1f7)]:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa['shouldCloseConn']},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};case g[_0x3fd901(0x237)]['UNISCRIPT_RUN']:return{..._0x3d13bc,'data':{..._0x1c5eaa,'data':_0x1c5eaa[_0x3fd901(0x403)]},'cmd':_0x3d13bc[_0x3fd901(0x32e)]};default:return _0x3d13bc;}}default:return _0x3d13bc;}}function Ot(_0x516872){var _0x4e73ee=_0x46aeb6;switch(_0x516872[_0x4e73ee(0x32e)]){case W['HEARTBEAT']:case W[_0x4e73ee(0x1e6)]:return JSON['stringify']({'cmd':_0x516872[_0x4e73ee(0x32e)],'routeKey':_0x516872[_0x4e73ee(0x130)]});case W[_0x4e73ee(0x2f1)]:{let _0x1f8ce4;switch(_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2c6)]){case g[_0x4e73ee(0x237)][_0x4e73ee(0x40b)]:{_0x1f8ce4={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x516872[_0x4e73ee(0x2eb)]['data']};break;}case g[_0x4e73ee(0x237)][_0x4e73ee(0xb3)]:{_0x1f8ce4={'eventID':g['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2eb)]};break;}case g[_0x4e73ee(0x237)][_0x4e73ee(0x263)]:{_0x1f8ce4={'eventID':g[_0x4e73ee(0x237)][_0x4e73ee(0x263)],'joinEvent':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2eb)]};break;}case g['CollaborationEvent'][_0x4e73ee(0x311)]:{_0x1f8ce4={'eventID':g[_0x4e73ee(0x237)][_0x4e73ee(0x311)],'liveShareNewHost':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2eb)]};break;}case g[_0x4e73ee(0x237)][_0x4e73ee(0x1ae)]:{_0x1f8ce4={'eventID':g[_0x4e73ee(0x237)][_0x4e73ee(0x1ae)],'liveShareOperation':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2eb)]};break;}case g[_0x4e73ee(0x237)][_0x4e73ee(0x1dd)]:{_0x1f8ce4={'eventID':g[_0x4e73ee(0x237)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x516872[_0x4e73ee(0x2eb)]['data']};break;}case g[_0x4e73ee(0x237)]['LIVESHARE_REQUEST_HOST']:{_0x1f8ce4={'eventID':g[_0x4e73ee(0x237)][_0x4e73ee(0x131)],'liveShareRequestHost':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2eb)]};break;}case g[_0x4e73ee(0x237)][_0x4e73ee(0x174)]:{_0x1f8ce4={'eventID':g['CollaborationEvent'][_0x4e73ee(0x174)]};break;}default:_0x1f8ce4={'eventID':_0x516872[_0x4e73ee(0x2eb)][_0x4e73ee(0x2c6)]};}return JSON[_0x4e73ee(0x188)]({'cmd':_0x516872[_0x4e73ee(0x32e)],'routeKey':_0x516872[_0x4e73ee(0x130)],'collaMsg':_0x1f8ce4});}case W[_0x4e73ee(0x312)]:return JSON[_0x4e73ee(0x188)]({'cmd':_0x516872[_0x4e73ee(0x32e)],'routeKey':_0x516872[_0x4e73ee(0x130)],'joinReq':_0x516872[_0x4e73ee(0x2eb)]});case W['LEAVE']:return JSON[_0x4e73ee(0x188)]({'cmd':_0x516872['cmd'],'routeKey':_0x516872[_0x4e73ee(0x130)],'leaveReq':_0x516872[_0x4e73ee(0x2eb)]});default:throw new Error(_0x4e73ee(0x249));}}var Xt=Object[_0x46aeb6(0x103)],Zt=(_0x1f33fb,_0x321644,_0x287674,_0x1f135b)=>{var _0x17748e=_0x46aeb6;for(var _0x528f58=_0x1f135b>0x1?void 0x0:_0x1f135b?Xt(_0x321644,_0x287674):_0x321644,_0x162185=_0x1f33fb[_0x17748e(0x3f0)]-0x1,_0x5d569c;_0x162185>=0x0;_0x162185--)(_0x5d569c=_0x1f33fb[_0x162185])&&(_0x528f58=_0x5d569c(_0x528f58)||_0x528f58);return _0x528f58;},le=(_0x14c0a5,_0x5b19a0)=>(_0x5784e9,_0x3c820e)=>_0x5b19a0(_0x5784e9,_0x3c820e,_0x14c0a5);const $e=a[_0x46aeb6(0x390)](_0x46aeb6(0x3f5));function Qt(_0x156db2,_0x15020d,_0x4bf3c8){var _0x191eb4=_0x46aeb6;return _0x156db2+'/'+_0x15020d+_0x191eb4(0x1b4)+_0x4bf3c8+_0x191eb4(0x100);}exports[_0x46aeb6(0x39d)]=class extends a[_0x46aeb6(0x1d4)]{constructor(_0x3cd1a7,_0x256170,_0x1caa81,_0x2a18bd,_0x210f23){var _0x1dc886=_0x46aeb6;super(),this[_0x1dc886(0x393)]=_0x3cd1a7,this[_0x1dc886(0x1b3)]=_0x256170,this[_0x1dc886(0x2d2)]=_0x1caa81,this[_0x1dc886(0x40e)]=_0x2a18bd,this[_0x1dc886(0x17a)]=_0x210f23;}['_doCreateSocket'](_0x2f740b){var _0x227910=_0x46aeb6;const _0x2dffd1=this[_0x227910(0x393)][_0x227910(0x25e)](q['ISocketService']);if(!_0x2dffd1)throw new Error(_0x227910(0x355));const _0x247a80=_0x2dffd1[_0x227910(0x3dd)](_0x2f740b);if(!_0x247a80)throw new Error(_0x227910(0x1ed));const _0x2a52a7=new a['DisposableCollection'](),_0x494326=new j[(_0x227910(0xc1))]();_0x2a52a7['add'](_0x247a80[_0x227910(0x384)]['subscribe'](_0x2eb27a=>_0x494326['next'](_0x2eb27a))),_0x2a52a7[_0x227910(0x23e)](a[_0x227910(0x3ed)](()=>_0x494326[_0x227910(0x29b)]()));const _0x4a6501=new j[(_0x227910(0xc1))]();_0x2a52a7[_0x227910(0x23e)](_0x247a80[_0x227910(0x28a)][_0x227910(0x224)](_0x1b4070=>_0x4a6501[_0x227910(0x3a5)](_0x1b4070))),_0x2a52a7[_0x227910(0x23e)](a[_0x227910(0x3ed)](()=>_0x4a6501['complete']()));const _0x29e7c8=new j[(_0x227910(0xc1))]();_0x2a52a7[_0x227910(0x23e)](_0x247a80[_0x227910(0x1a3)][_0x227910(0x224)](_0x41a9dc=>{var _0x46cdb2=_0x227910;const _0x384b91=Rt(_0x41a9dc);_0x29e7c8[_0x46cdb2(0x3a5)](_0x384b91);})),_0x2a52a7['add'](a[_0x227910(0x3ed)](()=>_0x29e7c8[_0x227910(0x29b)]()));let _0x14d8b5;const _0xa8f0fd=()=>{var _0xeba6aa=_0x227910;_0x4a6501[_0xeba6aa(0x3a5)](new Event(_0xeba6aa(0x2ef))),_0x494326[_0xeba6aa(0x3a5)](new Event('connection\x20error')),_0x14d8b5[_0xeba6aa(0x214)]();};return _0x14d8b5={'memberID':'','close$':_0x494326[_0x227910(0x32a)](),'error$':_0x4a6501[_0x227910(0x32a)](),'open$':_0x247a80[_0x227910(0x302)],'message$':_0x29e7c8[_0x227910(0x32a)](),'send':_0x27898b=>{var _0x5cfa76=_0x227910;if(_0x27898b[_0x5cfa76(0x32e)]===W['INGEST']){if(_0x27898b['data'][_0x5cfa76(0x2c6)]===g['CollaborationEvent'][_0x5cfa76(0x305)]){this[_0x5cfa76(0x9b)](_0x14d8b5,_0x27898b[_0x5cfa76(0x2eb)])['catch'](_0x3977a5=>{var _0x28d7a1=_0x5cfa76;this[_0x28d7a1(0x40e)][_0x28d7a1(0x409)](_0x3977a5),_0xa8f0fd();});return;}if(_0x27898b[_0x5cfa76(0x2eb)][_0x5cfa76(0x2c6)]===g[_0x5cfa76(0x237)][_0x5cfa76(0x2dc)]){const _0x12701d=_0x27898b[_0x5cfa76(0x2eb)];this[_0x5cfa76(0x3df)](_0x12701d)[_0x5cfa76(0x133)](_0xd38abb=>{var _0x213248=_0x5cfa76;_0x29e7c8[_0x213248(0x3a5)]({'cmd':W[_0x213248(0x11c)],'code':ae['OK'],'routeKey':_0x12701d[_0x213248(0x2eb)][_0x213248(0x3e5)],'routeType':'','data':{'eventID':g[_0x213248(0x237)][_0x213248(0x11a)],'data':{'changesets':_0xd38abb}}});})[_0x5cfa76(0x345)](_0x10ffe1=>{var _0x62472a=_0x5cfa76;this['_logService'][_0x62472a(0x409)](_0x10ffe1),_0xa8f0fd();});return;}}_0x247a80['send'](Ot(_0x27898b));},'close':()=>{var _0x1bdf68=_0x227910;_0x247a80[_0x1bdf68(0x214)](),_0x2a52a7[_0x1bdf68(0x122)]();}},_0x14d8b5;}async[_0x46aeb6(0x9b)](_0x282585,_0x1715d6){var _0x507fc1=_0x46aeb6,_0x52faac,_0xabcbfa;const {unitType:_0x7abd99,unitID:_0xfa66a1,changeset:_0x3ddbf0}=_0x1715d6[_0x507fc1(0x2eb)],_0x3f6d63={'unitID':_0xfa66a1,'memberID':_0x282585['memberID'],'type':_0x7abd99,'changeset':g[_0x507fc1(0x1a8)](_0x3ddbf0)},_0x5d48f5=this[_0x507fc1(0x2d2)]['getConfig'](mt),_0x61c7e1=this[_0x507fc1(0x2d2)][_0x507fc1(0x2a3)](Y),_0x9c6523=Qt((_0xabcbfa=(_0x52faac=_0x61c7e1==null?void 0x0:_0x61c7e1[_0x507fc1(0x8f)])!=null?_0x52faac:_0x5d48f5)!=null?_0xabcbfa:Kt,_0x7abd99,_0xfa66a1);try{await this['_httpService'][_0x507fc1(0x1de)](_0x9c6523,{'body':_0x3f6d63});}catch(_0x35193c){throw this[_0x507fc1(0x40e)][_0x507fc1(0x409)](_0x507fc1(0xfd),'submit\x20changeset\x20error!'),_0x35193c;}}async[_0x46aeb6(0x3df)](_0x12c932){var _0x555543=_0x46aeb6;const {unitID:_0x47bbca,from:_0x10dcc4,to:_0x20290c,unitType:_0x53c3fc}=_0x12c932[_0x555543(0x2eb)];return(await this[_0x555543(0x17a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x47bbca,'type':_0x53c3fc,'from':_0x10dcc4,'to':_0x20290c}))[_0x555543(0x289)];}},exports[_0x46aeb6(0x39d)]=Zt([le(0x0,a['Inject'](a[_0x46aeb6(0x1b0)])),le(0x1,a['Inject'](q[_0x46aeb6(0x24b)])),le(0x2,a[_0x46aeb6(0xdc)]),le(0x3,a[_0x46aeb6(0x2b1)]),le(0x4,g[_0x46aeb6(0x9e)])],exports[_0x46aeb6(0x39d)]);const ei=_0x46aeb6(0xae);function ti(_0x14f5a6){var _0x6093b2=_0x46aeb6;return JSON[_0x6093b2(0x188)](_0x14f5a6)[_0x6093b2(0x3f0)];}class Be{constructor(){var _0x46e67f=_0x46aeb6;A(this,_0x46e67f(0x30e),new j[(_0x46e67f(0xc1))]()),A(this,_0x46e67f(0x1ce),this['_commentUpdate$'][_0x46e67f(0x32a)]());}[_0x46aeb6(0x320)](_0x2d02b1){var _0x43b2d6=_0x46aeb6;this['_commentUpdate$'][_0x43b2d6(0x3a5)](_0x2d02b1);}}var ii=Object[_0x46aeb6(0x103)],ni=(_0x4b21c2,_0x49a467,_0x4587aa,_0x47c437)=>{var _0x38b698=_0x46aeb6;for(var _0x3aad3f=_0x47c437>0x1?void 0x0:_0x47c437?ii(_0x49a467,_0x4587aa):_0x49a467,_0x50f369=_0x4b21c2[_0x38b698(0x3f0)]-0x1,_0x50b108;_0x50f369>=0x0;_0x50f369--)(_0x50b108=_0x4b21c2[_0x50f369])&&(_0x3aad3f=_0x50b108(_0x3aad3f)||_0x3aad3f);return _0x3aad3f;},Ke=(_0x442326,_0x5f1ad4)=>(_0x13c06a,_0x49c325)=>_0x5f1ad4(_0x13c06a,_0x49c325,_0x442326);exports[_0x46aeb6(0x17f)]=class extends a[_0x46aeb6(0x1d4)]{constructor(_0x51990d,_0xbd240){var _0x43ba6a=_0x46aeb6;super(),A(this,_0x43ba6a(0x274),new Map()),A(this,_0x43ba6a(0xab),new j['Subject']()),(this[_0x43ba6a(0x267)]=_0x51990d,this[_0x43ba6a(0x392)]=_0xbd240,this['disposeWithMe'](j[_0x43ba6a(0xb1)](this[_0x43ba6a(0x267)][_0x43ba6a(0x2f4)](a[_0x43ba6a(0x205)][_0x43ba6a(0x3ca)])['pipe'](V[_0x43ba6a(0xb5)](_0x24dd53=>_0x24dd53[_0x43ba6a(0x3f6)]())),this[_0x43ba6a(0x267)][_0x43ba6a(0x2f4)](a['UniverInstanceType'][_0x43ba6a(0x1c8)])[_0x43ba6a(0x20f)](V[_0x43ba6a(0xb5)](_0x58cf2a=>_0x58cf2a[_0x43ba6a(0x3f6)]())),this[_0x43ba6a(0x267)][_0x43ba6a(0x2f4)](a[_0x43ba6a(0x205)]['UNIVER_SLIDE'])[_0x43ba6a(0x20f)](V['map'](_0x45221b=>_0x45221b[_0x43ba6a(0x3f6)]())))['subscribe'](_0x3eac85=>this[_0x43ba6a(0x364)](_0x3eac85))));}[_0x46aeb6(0x1c6)](_0x48c6bd){var _0x2f5e31=_0x46aeb6;return this['_roomMembers'][_0x2f5e31(0x120)](_0x48c6bd)?j['of'](this[_0x2f5e31(0x274)][_0x2f5e31(0x25e)](_0x48c6bd)):this[_0x2f5e31(0xab)]['pipe'](V[_0x2f5e31(0xb5)](_0x254389=>{var _0x2840fa=_0x2f5e31;if(_0x254389===_0x48c6bd)return this[_0x2840fa(0x274)]['get'](_0x254389);}));}['setCurrentUser'](_0x29d4bd){var _0x2b18ed=_0x46aeb6;this[_0x2b18ed(0x392)][_0x2b18ed(0xe7)](_0x29d4bd);}[_0x46aeb6(0x110)](){var _0x102e98=_0x46aeb6;return this[_0x102e98(0x392)][_0x102e98(0x110)]();}['updateMember'](_0x30d70c,_0x58da60){var _0x1a323e=_0x46aeb6;let _0x45c876=this[_0x1a323e(0x274)][_0x1a323e(0x25e)](_0x30d70c);_0x45c876||(_0x45c876=new ri(),this[_0x1a323e(0x274)]['set'](_0x30d70c,_0x45c876),this[_0x1a323e(0xab)][_0x1a323e(0x3a5)](_0x30d70c)),_0x45c876[_0x1a323e(0x387)](_0x58da60);}[_0x46aeb6(0xd9)](_0x6dbd87,_0x292132){var _0x323ebd=_0x46aeb6;const _0x2a7b06=this['_roomMembers'][_0x323ebd(0x25e)](_0x6dbd87);_0x2a7b06&&_0x2a7b06[_0x323ebd(0xd9)](_0x292132);}[_0x46aeb6(0x20a)](_0x16b32b){var _0x17f771=_0x46aeb6;return this[_0x17f771(0x274)][_0x17f771(0x25e)](_0x16b32b);}[_0x46aeb6(0x284)](_0x1b761f,_0x2472be){var _0x3da34a=_0x46aeb6;const _0x96eae1=this[_0x3da34a(0x274)][_0x3da34a(0x25e)](_0x1b761f);if(_0x96eae1)return _0x96eae1[_0x3da34a(0x284)](_0x2472be);}[_0x46aeb6(0x364)](_0x3dae8a){var _0x3aea08=_0x46aeb6;const _0x33a269=this[_0x3aea08(0x274)][_0x3aea08(0x25e)](_0x3dae8a);_0x33a269&&(_0x33a269[_0x3aea08(0x122)](),this[_0x3aea08(0x274)][_0x3aea08(0x251)](_0x3dae8a));}[_0x46aeb6(0x122)](){var _0x77f031=_0x46aeb6;this[_0x77f031(0x274)]['forEach'](_0x3d3277=>_0x3d3277[_0x77f031(0x122)]()),this[_0x77f031(0x274)][_0x77f031(0x117)](),this[_0x77f031(0xab)][_0x77f031(0x29b)]();}},exports[_0x46aeb6(0x17f)]=ni([Ke(0x0,a[_0x46aeb6(0x23d)]),Ke(0x1,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x381)]))],exports[_0x46aeb6(0x17f)]);class ri extends a[_0x46aeb6(0x1d4)]{constructor(){var _0x380cc2=_0x46aeb6;super(...arguments),A(this,_0x380cc2(0xa2),new Map()),A(this,_0x380cc2(0x128),new j[(_0x380cc2(0x3d8))](this[_0x380cc2(0xa2)])),A(this,_0x380cc2(0x3cd),this[_0x380cc2(0x128)][_0x380cc2(0x32a)]());}['dispose'](){var _0x2e48cb=_0x46aeb6;this[_0x2e48cb(0xa2)][_0x2e48cb(0x117)]();}[_0x46aeb6(0x387)](_0x5c4605){var _0x192316=_0x46aeb6;this[_0x192316(0xa2)]['set'](_0x5c4605[_0x192316(0x213)],_0x5c4605),this[_0x192316(0xee)]();}['removeMember'](_0x4ba415){var _0xad554b=_0x46aeb6;this[_0xad554b(0xa2)][_0xad554b(0x251)](_0x4ba415);}[_0x46aeb6(0x284)](_0x32b1af){var _0x225182=_0x46aeb6;return this[_0x225182(0xa2)][_0x225182(0x25e)](_0x32b1af);}[_0x46aeb6(0x405)](){var _0x3c9bc9=_0x46aeb6;return Array['from'](this[_0x3c9bc9(0xa2)][_0x3c9bc9(0x2c2)]());}['_emitMembers'](){var _0x365131=_0x46aeb6;this[_0x365131(0x128)][_0x365131(0x3a5)](this[_0x365131(0xa2)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x12fcd5,_0x321f07,_0xd5cf5e,_0x7768b9)=>{var _0x1ed676=_0x46aeb6;for(var _0x558556=_0x7768b9>0x1?void 0x0:_0x7768b9?si(_0x321f07,_0xd5cf5e):_0x321f07,_0x16d050=_0x12fcd5[_0x1ed676(0x3f0)]-0x1,_0x838c12;_0x16d050>=0x0;_0x16d050--)(_0x838c12=_0x12fcd5[_0x16d050])&&(_0x558556=_0x838c12(_0x558556)||_0x558556);return _0x558556;},oe=(_0x6d041a,_0x185f6e)=>(_0x5b080d,_0x394166)=>_0x185f6e(_0x5b080d,_0x394166,_0x6d041a),se=(_0x5600aa=>(_0x5600aa[_0x5600aa[_0x46aeb6(0x2b8)]=0x0]='IDLE',_0x5600aa[_0x5600aa['JOINING']=0x1]=_0x46aeb6(0x406),_0x5600aa[_0x5600aa[_0x46aeb6(0x2f7)]=0x2]='OFFLINE',_0x5600aa[_0x5600aa[_0x46aeb6(0x346)]=0x3]='ONLINE',_0x5600aa))(se||{});const Ye={[ae[_0x46aeb6(0x3ba)]]:_0x46aeb6(0x3be),[ae[_0x46aeb6(0xe8)]]:_0x46aeb6(0x306),[ae[_0x46aeb6(0x3d1)]]:_0x46aeb6(0x207),[ae[_0x46aeb6(0x244)]]:_0x46aeb6(0x332),[ae[_0x46aeb6(0x1c1)]]:'session.room-cnt-exceeds'};exports[_0x46aeb6(0x2d3)]=class extends a[_0x46aeb6(0x17d)]{constructor(_0x5a3d32,_0x393d67,_0xd8100f,_0x893ae1,_0xdb6cf9,_0x11f823,_0x1607ae,_0x396b36,_0x59667f){var _0x2f173b=_0x46aeb6;super(),A(this,_0x2f173b(0x21b),new j[(_0x2f173b(0x3d8))](0x0)),A(this,_0x2f173b(0x33d),this[_0x2f173b(0x21b)][_0x2f173b(0x32a)]()),A(this,_0x2f173b(0x2c4),new j['Subject']()),A(this,_0x2f173b(0x404),this[_0x2f173b(0x2c4)][_0x2f173b(0x32a)]()),A(this,_0x2f173b(0xe4)),A(this,'_socketMessageSubscription'),A(this,_0x2f173b(0x329)),A(this,_0x2f173b(0xa0),!0x1),A(this,_0x2f173b(0x108),null),(this[_0x2f173b(0x396)]=_0x5a3d32,this[_0x2f173b(0x40e)]=_0xd8100f,this[_0x2f173b(0x2d2)]=_0x893ae1,this['_localeService']=_0xdb6cf9,this[_0x2f173b(0x19b)]=_0x11f823,this[_0x2f173b(0x1da)]=_0x1607ae,this['_collaborationUIEventService']=_0x396b36,this[_0x2f173b(0x3a1)]=_0x59667f,this[_0x2f173b(0xa0)]=!!this[_0x2f173b(0x3a1)],_0x393d67[_0x2f173b(0x20f)](j[_0x2f173b(0x38a)](this[_0x2f173b(0x379)]))[_0x2f173b(0x224)](_0x3f0ba7=>{var _0x49ecea=_0x2f173b,_0x1c939b;typeof _0x3f0ba7>'u'||(this['_socket']=_0x3f0ba7,_0x3f0ba7?(this['_joinRoom'](_0x3f0ba7),this['_socketMessageSubscription']=_0x3f0ba7[_0x49ecea(0x1a3)]['subscribe'](_0x6c15fd=>{var _0x2218dc=_0x49ecea;_0x6c15fd['routeKey']===this[_0x2218dc(0x396)]&&this['_onCombEvent'](_0x6c15fd);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x49ecea(0x21b)][_0x49ecea(0x3a5)](0x2),(_0x1c939b=this[_0x49ecea(0x2df)])==null||_0x1c939b[_0x49ecea(0x209)](),this['_socketMessageSubscription']=null));}));}get[_0x46aeb6(0x360)](){var _0x28fe3a=_0x46aeb6;return this['_sessionStatus$'][_0x28fe3a(0x281)]();}['getMemberID'](){var _0x2a15f1=_0x46aeb6,_0x5f3ca9,_0x1900e9;return(_0x1900e9=(_0x5f3ca9=this['_socket'])==null?void 0x0:_0x5f3ca9[_0x2a15f1(0x213)])!=null?_0x1900e9:null;}['dispose'](){var _0x2271f9=_0x46aeb6;super['dispose'](),this[_0x2271f9(0x379)][_0x2271f9(0x3a5)](),this[_0x2271f9(0x379)][_0x2271f9(0x29b)]();}['close'](){var _0x35580e=_0x46aeb6,_0x26041f,_0x39dcb1;this[_0x35580e(0x398)](),(_0x26041f=this[_0x35580e(0xe4)])==null||_0x26041f[_0x35580e(0x98)]({'cmd':W[_0x35580e(0x30b)],'data':{'roomID':this[_0x35580e(0x396)]}}),(_0x39dcb1=this[_0x35580e(0xe4)])==null||_0x39dcb1[_0x35580e(0x214)](),this[_0x35580e(0x2c4)][_0x35580e(0x29b)](),this[_0x35580e(0x21b)][_0x35580e(0x29b)](),this[_0x35580e(0x122)]();}['_onCombEvent'](_0x526689){var _0x1088bd=_0x46aeb6;_0x526689['cmd']===W[_0x1088bd(0x312)]?this[_0x1088bd(0x40f)](_0x526689):_0x526689['cmd']===W[_0x1088bd(0x11c)]&&this[_0x1088bd(0x3d0)](_0x526689);}[_0x46aeb6(0x144)](_0x4a0553){var _0x71b9de=_0x46aeb6;this[_0x71b9de(0x21b)][_0x71b9de(0x3a5)](0x1),_0x4a0553[_0x71b9de(0x98)]({'cmd':W[_0x71b9de(0x312)],'routeKey':this[_0x71b9de(0x396)],'routeType':'','data':{'rooms':[{'roomID':this[_0x71b9de(0x396)]}]}});}['_onJoinRoomEvent'](_0x5ae0cd){var _0x2dbfa5=_0x46aeb6,_0x25153b;if(_0x5ae0cd[_0x2dbfa5(0x3ef)]in Ye){this[_0x2dbfa5(0x3ac)][_0x2dbfa5(0x1ec)]({'id':Q[_0x2dbfa5(0xd1)],'data':Ye[_0x5ae0cd[_0x2dbfa5(0x3ef)]]}),this['_sessionStatus$'][_0x2dbfa5(0x3a5)](0x2);return;}this[_0x2dbfa5(0x21b)][_0x2dbfa5(0x3a5)](0x3);const _0x1e4db8=(_0x25153b=_0x5ae0cd['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x25153b['members'];_0x1e4db8&&_0x1e4db8[_0x2dbfa5(0x30c)](_0x3c7f06=>this[_0x2dbfa5(0x19b)][_0x2dbfa5(0x387)](this[_0x2dbfa5(0x396)],_0x3c7f06));}[_0x46aeb6(0x3d0)](_0x83a742){var _0xc59498=_0x46aeb6;try{const _0x4f92bc=_0x83a742[_0xc59498(0x2eb)];switch(_0x4f92bc[_0xc59498(0x2c6)]){case g[_0xc59498(0x237)]['USERS_ENTER']:this[_0xc59498(0xa3)](_0x4f92bc),this[_0xc59498(0x2c4)][_0xc59498(0x3a5)](_0x4f92bc);break;case g[_0xc59498(0x237)][_0xc59498(0xb3)]:this[_0xc59498(0xd7)](_0x4f92bc),this[_0xc59498(0x2c4)][_0xc59498(0x3a5)](_0x4f92bc);break;case g[_0xc59498(0x237)][_0xc59498(0x2fe)]:case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0xc59498(0x273)](),this[_0xc59498(0x1d6)](),this[_0xc59498(0x2c4)][_0xc59498(0x3a5)](_0x4f92bc);break;case g[_0xc59498(0x237)][_0xc59498(0xf5)]:this[_0xc59498(0x40e)][_0xc59498(0x409)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xc59498(0x188)](_0x4f92bc)),this[_0xc59498(0x2c4)][_0xc59498(0x3a5)](_0x4f92bc);break;case g['CollaborationEvent']['COMMENT_UPDATE']:this[_0xc59498(0x1da)][_0xc59498(0x320)](_0x4f92bc[_0xc59498(0x2eb)]),this[_0xc59498(0x2c4)][_0xc59498(0x3a5)](_0x4f92bc);break;default:this[_0xc59498(0x2c4)]['next'](_0x4f92bc);}}catch(_0x59e66f){this[_0xc59498(0x40e)]['error'](_0x59e66f,_0x83a742);}}['_onUserJoin'](_0x198f9e){var _0x1fc020=_0x46aeb6;this[_0x1fc020(0x19b)]['updateMember'](this['_unitID'],_0x198f9e[_0x1fc020(0x2eb)]);}[_0x46aeb6(0xd7)](_0x2eb16f){var _0x2c2954=_0x46aeb6;this[_0x2c2954(0x19b)][_0x2c2954(0xd9)](this[_0x2c2954(0x396)],_0x2eb16f[_0x2c2954(0x2eb)][_0x2c2954(0x213)]);}async[_0x46aeb6(0x98)](_0x3b5c18,_0x1a31e3){var _0x530f7c=_0x46aeb6;if(this[_0x530f7c(0x360)]!==0x3||!this[_0x530f7c(0xe4)])throw new Error(_0x530f7c(0x307));try{_0x3b5c18[_0x530f7c(0x2c6)]===g[_0x530f7c(0x237)][_0x530f7c(0x305)]&&(this[_0x530f7c(0x2bb)](),this[_0x530f7c(0x31f)](_0x3b5c18)),this[_0x530f7c(0xe4)][_0x530f7c(0x98)]({'cmd':W['INGEST'],'routeKey':_0x1a31e3,'routeType':'','data':_0x3b5c18});}catch(_0x30820f){this['_logService'][_0x530f7c(0x409)](_0x30820f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x392829=_0x46aeb6,_0x1e06d9;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x592dc1=_0x3338;this[_0x592dc1(0x329)]=null,this[_0x592dc1(0x3ac)][_0x592dc1(0x1ec)]({'id':Q[_0x592dc1(0x222)]});},(_0x1e06d9=this[_0x392829(0x2d2)][_0x392829(0x2a3)](je))!=null?_0x1e06d9:gt);}['_clearCollaborationTimeoutTimer'](){var _0xd3809a=_0x46aeb6;this[_0xd3809a(0x329)]&&(clearTimeout(this[_0xd3809a(0x329)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x3ed91b){var _0x60d59f=_0x46aeb6;if(!this['_shouldReportTelemetry'])return;const {data:_0x598901}=_0x3ed91b,{unitID:_0x37d127,changeset:_0x32a242}=_0x598901,{mutations:_0x4152f3,type:_0x2107b1}=_0x32a242;this['_telemetryInfo']={'unitId':_0x37d127,'type':_0x2107b1,'startTime':performance[_0x60d59f(0x199)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x4152f3)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x449e74=_0x46aeb6;if(this[_0x449e74(0xa0)]){if(!this[_0x449e74(0x108)]){this[_0x449e74(0x40e)][_0x449e74(0x409)](_0x449e74(0xfd),_0x449e74(0x197));return;}this['_telemetryInfo'][_0x449e74(0x319)]=performance['now'](),this['_telemetryInfo'][_0x449e74(0x3af)]=this['_telemetryInfo']['stopTime']-this[_0x449e74(0x108)][_0x449e74(0x2b2)],this[_0x449e74(0x3a1)]['capture'](ei,this[_0x449e74(0x108)]),this[_0x449e74(0x108)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x174d11=_0x46aeb6;this[_0x174d11(0x108)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x46aeb6(0x2b1)]),oe(0x3,a[_0x46aeb6(0xdc)]),oe(0x4,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)])),oe(0x5,a['Inject'](exports['MemberService'])),oe(0x6,a[_0x46aeb6(0x136)](Be)),oe(0x7,a[_0x46aeb6(0x136)](te)),oe(0x8,a['Optional'](Mt[_0x46aeb6(0x2f0)]))],exports[_0x46aeb6(0x2d3)]);var ai=Object[_0x46aeb6(0x103)],ci=(_0x5dcc0d,_0x25517e,_0x20666d,_0x30c1db)=>{var _0x2892b7=_0x46aeb6;for(var _0x4297cd=_0x30c1db>0x1?void 0x0:_0x30c1db?ai(_0x25517e,_0x20666d):_0x25517e,_0x154429=_0x5dcc0d[_0x2892b7(0x3f0)]-0x1,_0x40d1df;_0x154429>=0x0;_0x154429--)(_0x40d1df=_0x5dcc0d[_0x154429])&&(_0x4297cd=_0x40d1df(_0x4297cd)||_0x4297cd);return _0x4297cd;},_e=(_0x5f34b9,_0x5ed900)=>(_0x201fb7,_0x3f0543)=>_0x5ed900(_0x201fb7,_0x3f0543,_0x5f34b9);exports['CollaborationSessionService']=class extends a[_0x46aeb6(0x1d4)]{constructor(_0xe05d7c,_0x1ce5ce,_0x448825,_0x4a6664,_0x2f2986,_0x446c24){var _0x96a769=_0x46aeb6;super(),A(this,'_socket$',new j[(_0x96a769(0x3d8))](void 0x0)),A(this,'socket$',this[_0x96a769(0x308)][_0x96a769(0x32a)]()),A(this,_0x96a769(0x280),null),A(this,'_sessions',new Map()),A(this,_0x96a769(0x142),new j[(_0x96a769(0x3d8))](se['IDLE'])),A(this,_0x96a769(0x177),this[_0x96a769(0x142)][_0x96a769(0x32a)]()),A(this,_0x96a769(0x29a),!0x1),A(this,_0x96a769(0x2aa)),A(this,_0x96a769(0x12f),0x0),A(this,_0x96a769(0x1fc)),A(this,_0x96a769(0x397)),(this[_0x96a769(0x393)]=_0xe05d7c,this[_0x96a769(0x40e)]=_0x1ce5ce,this[_0x96a769(0x2d2)]=_0x448825,this[_0x96a769(0x25b)]=_0x4a6664,this['_collaborationUIEventService']=_0x2f2986,this[_0x96a769(0x3bb)]=_0x446c24,this[_0x96a769(0xc3)]());}get[_0x46aeb6(0xe4)](){var _0x17636d=_0x46aeb6;return this[_0x17636d(0x308)]['getValue']();}['_listenToNetworkCondition'](){var _0x493122=_0x46aeb6;this[_0x493122(0x3bb)]&&this[_0x493122(0x20b)](this[_0x493122(0x3bb)][_0x493122(0x3f8)][_0x493122(0x224)](_0x213400=>{var _0x294196=_0x493122;_0x213400&&!this[_0x294196(0xe4)]&&this[_0x294196(0x36f)](),_0x213400||this[_0x294196(0x23a)]();}));}['dispose'](){var _0x214ae2=_0x46aeb6;super['dispose'](),this[_0x214ae2(0x25c)](),this['_clearTimeoutTimer'](),this[_0x214ae2(0xa7)](),this['_sessions'][_0x214ae2(0x30c)](_0x758718=>_0x758718[_0x214ae2(0x122)]()),this[_0x214ae2(0x1a2)][_0x214ae2(0x117)](),this[_0x214ae2(0x142)][_0x214ae2(0x29b)]();}async[_0x46aeb6(0x3ff)](_0x38a8bd){var _0x3aed85=_0x46aeb6;if(this[_0x3aed85(0x1a2)][_0x3aed85(0x120)](_0x38a8bd))return this[_0x3aed85(0x1a2)][_0x3aed85(0x25e)](_0x38a8bd);this[_0x3aed85(0x2f8)]();const _0x40c1ef=this['_injector'][_0x3aed85(0x16c)](exports[_0x3aed85(0x2d3)],_0x38a8bd,this['_socket$'][_0x3aed85(0x32a)]());return this['_sessions'][_0x3aed85(0x253)](_0x38a8bd,_0x40c1ef),_0x40c1ef;}[_0x46aeb6(0x1a1)](_0x447f55){var _0x2bd49e=_0x46aeb6,_0x2f8958;const _0x93ba9=this['_sessions'][_0x2bd49e(0x25e)](_0x447f55);_0x93ba9&&(this[_0x2bd49e(0x1a2)][_0x2bd49e(0x251)](_0x447f55),_0x93ba9[_0x2bd49e(0x214)]()),this[_0x2bd49e(0x1a2)][_0x2bd49e(0x2d5)]||(_0x2f8958=this[_0x2bd49e(0xe4)])==null||_0x2f8958[_0x2bd49e(0x214)]();}['reconnect'](){var _0x415164=_0x46aeb6;this['_retryCount']=0x0,this[_0x415164(0x25c)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x1410fd=_0x46aeb6;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1410fd(0x2aa)]),this[_0x1410fd(0x2aa)]=null);}async['_createSocket'](){var _0x34a2e9=_0x46aeb6,_0x3b7db8,_0x40ffe6;const _0xda9395=this[_0x34a2e9(0x2d2)][_0x34a2e9(0x2a3)](St),_0x362e16=this[_0x34a2e9(0x2d2)][_0x34a2e9(0x2a3)](Y),_0x26602f=(_0x40ffe6=(_0x3b7db8=_0x362e16==null?void 0x0:_0x362e16[_0x34a2e9(0x230)])!=null?_0x3b7db8:_0xda9395)!=null?_0x40ffe6:ft,_0x13165a=await this[_0x34a2e9(0x25b)][_0x34a2e9(0x3dd)](_0x26602f);return this[_0x34a2e9(0x280)]=_0x13165a,_0x13165a;}async[_0x46aeb6(0x2f8)](){var _0x1d25c2=_0x46aeb6,_0x26e087,_0x728400;try{const _0x5e6c84=(_0x728400=(_0x26e087=this[_0x1d25c2(0xe4)])!=null?_0x26e087:this[_0x1d25c2(0x280)])!=null?_0x728400:await this[_0x1d25c2(0x168)]();if(_0x5e6c84){const _0x4f4c0e=_0x5e6c84['send'];_0x5e6c84[_0x1d25c2(0x98)]=_0x1cd218=>(this[_0x1d25c2(0x18b)](),_0x4f4c0e[_0x1d25c2(0x9f)](_0x5e6c84,[_0x1cd218])),_0x5e6c84['message$'][_0x1d25c2(0x224)](_0x5d0009=>this[_0x1d25c2(0x2d6)](_0x5e6c84,_0x5d0009)),_0x5e6c84[_0x1d25c2(0x28a)][_0x1d25c2(0x20f)](V[_0x1d25c2(0x37f)](0x1))[_0x1d25c2(0x224)](_0x374d67=>this['_logService'][_0x1d25c2(0x409)](_0x1d25c2(0x150),_0x374d67)),_0x5e6c84[_0x1d25c2(0x302)][_0x1d25c2(0x20f)](V[_0x1d25c2(0x37f)](0x1))[_0x1d25c2(0x224)](()=>{var _0x4b786d=_0x1d25c2;this[_0x4b786d(0x15f)](_0x5e6c84);}),_0x5e6c84[_0x1d25c2(0x384)][_0x1d25c2(0x20f)](V[_0x1d25c2(0x37f)](0x1))[_0x1d25c2(0x224)](_0x451587=>{var _0x2f3b34=_0x1d25c2;this[_0x2f3b34(0x40e)][_0x2f3b34(0x3a7)](_0x2f3b34(0x1a6),_0x2f3b34(0x356),_0x451587),this['_onConnectionFailed']();});}}catch(_0x2ae95c){this[_0x1d25c2(0x40e)][_0x1d25c2(0x409)](_0x2ae95c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4cbd7d){var _0x56be08=_0x46aeb6;this[_0x56be08(0x40e)][_0x56be08(0x3a7)](_0x56be08(0x1a6),_0x56be08(0x227)),_0x4cbd7d[_0x56be08(0x98)]({'cmd':W[_0x56be08(0x1e6)]}),this[_0x56be08(0x18b)]();}[_0x46aeb6(0x23a)](){var _0x267b80=_0x46aeb6;this[_0x267b80(0x29a)]=!0x1,this[_0x267b80(0x280)]=null,this[_0x267b80(0x142)][_0x267b80(0x3a5)](se[_0x267b80(0x2f7)]),this[_0x267b80(0x308)][_0x267b80(0x3a5)](null),this[_0x267b80(0x3ce)](),this[_0x267b80(0xa7)]();}[_0x46aeb6(0x3d4)](){var _0x58f29b=_0x46aeb6,_0x5c8cf2;this[_0x58f29b(0x23a)](),this[_0x58f29b(0x12f)]<((_0x5c8cf2=this[_0x58f29b(0x2d2)][_0x58f29b(0x2a3)](It))!=null?_0x5c8cf2:Vt)?(this[_0x58f29b(0x3ac)]['emitEvent']({'id':Q[_0x58f29b(0x2e4)]}),this[_0x58f29b(0xcb)]()):this[_0x58f29b(0x3ac)]['emitEvent']({'id':Q[_0x58f29b(0x2ce)]});}[_0x46aeb6(0xcb)](){var _0x3a75d3=_0x46aeb6,_0x1fd68b;const _0x3bf850=this['_retryCount'],_0x1e8500=this[_0x3a75d3(0x2d2)][_0x3a75d3(0x2a3)](Y),_0x296342=_0x3bf850===0x0?0x0:((_0x1fd68b=_0x1e8500==null?void 0x0:_0x1e8500[_0x3a75d3(0x39f)])!=null?_0x1fd68b:Ft)*0x2**_0x3bf850;this[_0x3a75d3(0x2aa)]=setTimeout(()=>{var _0x3490f3=_0x3a75d3;clearTimeout(this[_0x3490f3(0x2aa)]),this[_0x3490f3(0x2aa)]=null,this[_0x3490f3(0x2f8)]();},_0x296342),this[_0x3a75d3(0x12f)]+=0x1;}['_onMessage'](_0x3abe10,_0xd65776){var _0x3274b4=_0x46aeb6;const {cmd:_0x5d2860}=_0xd65776;_0x5d2860===W[_0x3274b4(0x1e6)]&&!this[_0x3274b4(0x29a)]&&(_0x3abe10[_0x3274b4(0x213)]=_0xd65776[_0x3274b4(0x2eb)][_0x3274b4(0x213)],this[_0x3274b4(0x308)]['next'](_0x3abe10),this[_0x3274b4(0x142)][_0x3274b4(0x3a5)](se[_0x3274b4(0x346)]),this[_0x3274b4(0x29a)]=!0x0,this['_candidateSocket']=null),_0x5d2860===W[_0x3274b4(0xe0)]&&this[_0x3274b4(0x3ce)](),this[_0x3274b4(0x18b)]();}[_0x46aeb6(0x18b)](){var _0x45600a=_0x46aeb6,_0x39bbce;this[_0x45600a(0xa7)](),this[_0x45600a(0x1fc)]=setTimeout(()=>this[_0x45600a(0x1e0)](),(_0x39bbce=this[_0x45600a(0x2d2)][_0x45600a(0x2a3)](pt))!=null?_0x39bbce:Bt);}[_0x46aeb6(0x1e0)](){var _0x2cab40=_0x46aeb6;this[_0x2cab40(0xe4)][_0x2cab40(0x98)]({'cmd':W[_0x2cab40(0xe0)]}),this['_waitForHeartbeatResponse']();}[_0x46aeb6(0x12e)](){var _0x2058d9=_0x46aeb6,_0x461698;this[_0x2058d9(0x397)]=setTimeout(()=>this[_0x2058d9(0x3d4)](),(_0x461698=this[_0x2058d9(0x2d2)]['getConfig'](je))!=null?_0x461698:gt);}[_0x46aeb6(0xa7)](){var _0x199789=_0x46aeb6;this[_0x199789(0x1fc)]!=null&&(clearTimeout(this[_0x199789(0x1fc)]),this[_0x199789(0x1fc)]=null);}[_0x46aeb6(0x3ce)](){var _0x3ec458=_0x46aeb6;this[_0x3ec458(0x397)]!=null&&(clearTimeout(this[_0x3ec458(0x397)]),this[_0x3ec458(0x397)]=null);}},exports[_0x46aeb6(0x10c)]=ci([_e(0x0,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),_e(0x1,a[_0x46aeb6(0x2b1)]),_e(0x2,a['IConfigService']),_e(0x3,$e),_e(0x4,a[_0x46aeb6(0x136)](te)),_e(0x5,a['Optional'](bt))],exports[_0x46aeb6(0x10c)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x46aeb6(0x106)]((n+0x100)[_0x46aeb6(0x30f)](0x10)[_0x46aeb6(0x371)](0x1));function hi(_0x5cc402,_0x4f6417=0x0){return(G[_0x5cc402[_0x4f6417+0x0]]+G[_0x5cc402[_0x4f6417+0x1]]+G[_0x5cc402[_0x4f6417+0x2]]+G[_0x5cc402[_0x4f6417+0x3]]+'-'+G[_0x5cc402[_0x4f6417+0x4]]+G[_0x5cc402[_0x4f6417+0x5]]+'-'+G[_0x5cc402[_0x4f6417+0x6]]+G[_0x5cc402[_0x4f6417+0x7]]+'-'+G[_0x5cc402[_0x4f6417+0x8]]+G[_0x5cc402[_0x4f6417+0x9]]+'-'+G[_0x5cc402[_0x4f6417+0xa]]+G[_0x5cc402[_0x4f6417+0xb]]+G[_0x5cc402[_0x4f6417+0xc]]+G[_0x5cc402[_0x4f6417+0xd]]+G[_0x5cc402[_0x4f6417+0xe]]+G[_0x5cc402[_0x4f6417+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x3b33f7=_0x46aeb6;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3b33f7(0x401)])throw new Error(_0x3b33f7(0x313));Ue=crypto[_0x3b33f7(0x401)][_0x3b33f7(0xa9)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0x46aeb6(0x90)]&&crypto[_0x46aeb6(0x90)][_0x46aeb6(0xa9)](crypto),qe={'randomUUID':ui};function di(_0x25fe0d,_0x4bc261,_0x56632b){var _0x32f027=_0x46aeb6,_0x3081dc,_0x23770e,_0x1dfe43;if(qe['randomUUID']&&!_0x25fe0d)return qe[_0x32f027(0x90)]();_0x25fe0d=_0x25fe0d||{};const _0x864ac1=(_0x1dfe43=(_0x23770e=_0x25fe0d['random'])!=null?_0x23770e:(_0x3081dc=_0x25fe0d['rng'])==null?void 0x0:_0x3081dc['call'](_0x25fe0d))!=null?_0x1dfe43:li();if(_0x864ac1[_0x32f027(0x3f0)]<0x10)throw new Error(_0x32f027(0x35c));return _0x864ac1[0x6]=_0x864ac1[0x6]&0xf|0x40,_0x864ac1[0x8]=_0x864ac1[0x8]&0x3f|0x80,hi(_0x864ac1);}const z=a['createIdentifier']('collaboration-client.local-cache-service');function vi(_0x486666){var _0x51c4b9=_0x46aeb6;return _0x51c4b9(0x269)+_0x486666;}var Si=Object[_0x46aeb6(0x103)],fi=(_0x3e49e9,_0x4b6f95,_0x5c23f3,_0x19142a)=>{var _0x45ea63=_0x46aeb6;for(var _0x4a635f=_0x19142a>0x1?void 0x0:_0x19142a?Si(_0x4b6f95,_0x5c23f3):_0x4b6f95,_0x256309=_0x3e49e9[_0x45ea63(0x3f0)]-0x1,_0x17e016;_0x256309>=0x0;_0x256309--)(_0x17e016=_0x3e49e9[_0x256309])&&(_0x4a635f=_0x17e016(_0x4a635f)||_0x4a635f);return _0x4a635f;},Ae=(_0x2cfe82,_0x4bc6cd)=>(_0x12734b,_0x3df7c8)=>_0x4bc6cd(_0x12734b,_0x3df7c8,_0x2cfe82);function pi(_0x5a72fb){var _0x1fff58=_0x46aeb6;const {unitID:_0x57f8b2,mutations:_0x10fc59}=_0x5a72fb;return{'unitId':_0x57f8b2,'subUnitId':_0x10fc59[0x0][_0x1fff58(0xf4)][_0x1fff58(0xc8)]};}exports[_0x46aeb6(0x2e9)]=class{constructor(_0x3af344,_0x54c12d,_0x27eddd){var _0x56f20b=_0x46aeb6;this[_0x56f20b(0x393)]=_0x3af344,this[_0x56f20b(0x155)]=_0x54c12d,this[_0x56f20b(0x3a0)]=_0x27eddd;}[_0x46aeb6(0xc2)](_0x2830ac){var _0x11389e=_0x46aeb6,_0x411b25,_0x1d1842,_0x40753d,_0x3b3f12;const _0x2c8d3c=this[_0x11389e(0x393)][_0x11389e(0x25e)](Z[_0x11389e(0x215)]),{unitId:_0x44144e,subUnitId:_0x11fa04}=pi(_0x2830ac),_0x4a8ee7=_0x2c8d3c==null?void 0x0:_0x2c8d3c[_0x11389e(0x2a0)](_0x44144e)['getCurrentSelections'](),_0x5745f9=(_0x1d1842=(_0x411b25=this[_0x11389e(0x3a0)][_0x11389e(0x3b0)](_0x44144e))==null?void 0x0:_0x411b25[_0x11389e(0x1cd)]())==null?void 0x0:_0x1d1842[_0x11389e(0x376)]();if(_0x4a8ee7[_0x11389e(0x3f0)]===0x0||!_0x44144e||!_0x11fa04)return;const _0x116252=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x44144e,'subUnitId':_0x5745f9,'selections':a[_0x11389e(0xa1)][_0x11389e(0x359)](_0x4a8ee7)}}],_0x5c8d0c=this[_0x11389e(0x155)][_0x11389e(0xfe)](_0x2830ac,_0x116252);if(!g['isTransformMutationsWithChangesetSuccess'](_0x5c8d0c))throw _0x5c8d0c[_0x11389e(0x409)];const _0x997e7f=(_0x3b3f12=(_0x40753d=_0x5c8d0c[_0x11389e(0x1fb)][0x0])==null?void 0x0:_0x40753d[_0x11389e(0xf4)])==null?void 0x0:_0x3b3f12[_0x11389e(0x1f1)];if(Array['isArray'](_0x997e7f)&&_0x997e7f[_0x11389e(0x3f0)]){if(_0x997e7f[_0x11389e(0x3f0)]===_0x116252[0x0][_0x11389e(0xf4)][_0x11389e(0x1f1)][_0x11389e(0x3f0)]&&_0x997e7f[_0x11389e(0x164)]((_0xaefd03,_0x4706f7)=>a[_0x11389e(0x265)][_0x11389e(0x3c5)](_0xaefd03['range'],_0x116252[0x0]['params'][_0x11389e(0x1f1)][_0x4706f7][_0x11389e(0x365)])))return;this[_0x11389e(0x393)]['get'](a[_0x11389e(0x1e7)])[_0x11389e(0x2ab)](Z['SetSelectionsOperation']['id'],{'unitId':_0x44144e,'subUnitId':_0x5745f9,'selections':_0x997e7f});}}},exports[_0x46aeb6(0x2e9)]=fi([Ae(0x0,a[_0x46aeb6(0x136)](a['Injector'])),Ae(0x1,g[_0x46aeb6(0x3b2)]),Ae(0x2,a['IUniverInstanceService'])],exports[_0x46aeb6(0x2e9)]);const ve=a[_0x46aeb6(0x390)](_0x46aeb6(0x28e));var Fe=(_0x7ce59f=>(_0x7ce59f[_0x7ce59f[_0x46aeb6(0x33c)]=0x0]=_0x46aeb6(0x33c),_0x7ce59f[_0x7ce59f[_0x46aeb6(0xa5)]=0x1]=_0x46aeb6(0xa5),_0x7ce59f))(Fe||{});const gi=new Set([Z[_0x46aeb6(0x1aa)]['id']]);function ze(_0x372b0a,_0x47bf11,_0x236b29,_0x3d5072,_0xfdbae4){var _0x149cc4=_0x46aeb6,_0x83d979,_0x499652,_0x100e3d,_0x43fe6;const _0xa9d1df=[];for(const _0x5857cc of _0x372b0a)if(gi[_0x149cc4(0x120)](_0x5857cc['id'])){if(_0xa9d1df[_0x149cc4(0x3f0)]>0x0)break;_0xa9d1df[_0x149cc4(0x106)](_0x5857cc);break;}else _0xa9d1df[_0x149cc4(0x106)](_0x5857cc);const _0x385739=(_0x499652=(_0x83d979=_0xfdbae4[_0x149cc4(0x110)]())==null?void 0x0:_0x83d979[_0x149cc4(0x212)])!=null?_0x499652:'unknown',_0x447db2=(_0x43fe6=(_0x100e3d=_0xfdbae4[_0x149cc4(0x110)]())==null?void 0x0:_0x100e3d[_0x149cc4(0x213)])!=null?_0x43fe6:_0x149cc4(0x27a);return{'changeset':{'unitID':_0x47bf11,'type':g['mapDocumentTypeToUniverType'](_0x236b29['getUnitType'](_0x47bf11)),'baseRev':_0x3d5072[_0x149cc4(0x2d1)](_0x47bf11),'revision':0x0,'userID':_0x385739,'memberID':_0x447db2,'mutations':_0xa9d1df},'pendingMutations':_0x372b0a[_0x149cc4(0x371)](_0xa9d1df[_0x149cc4(0x3f0)])};}function Ii(_0x137dbd,_0x2cfb5b,_0x43edf7,_0x2c4b3b,_0xb1292a){var _0x428ef9=_0x46aeb6,_0x29af9b,_0x3535e9,_0x27176f,_0x2fb924;const _0x71961b=[_0x137dbd[_0x428ef9(0x195)]((_0x3971ec,_0x5af31f)=>{var _0x561786=_0x428ef9,_0x403cdb;const {id:_0x1532d4}=_0x3971ec,{id:_0x111ba8,type:_0x38a9a4}=_0x5af31f,_0x541fb5=(_0x403cdb=_0x3971ec[_0x561786(0xf4)])!=null?_0x403cdb:{'actions':null},_0x4cdd71=_0x5af31f[_0x561786(0xf4)];if(_0x1532d4&&_0x1532d4!==_0x111ba8)throw new Error(_0x561786(0x140)+_0x1532d4+'\x20-\x20'+_0x111ba8+'.');return{..._0x3971ec,'id':_0x111ba8,'type':_0x38a9a4,'params':{'unitId':_0x4cdd71['unitId'],'textRanges':_0x4cdd71[_0x561786(0xb0)],'actions':a[_0x561786(0xcf)][_0x561786(0x36d)](_0x541fb5[_0x561786(0x3a4)],_0x4cdd71[_0x561786(0x3a4)])}};},{})],_0x33472a=(_0x3535e9=(_0x29af9b=_0xb1292a['getCurrentUser']())==null?void 0x0:_0x29af9b[_0x428ef9(0x212)])!=null?_0x3535e9:_0x428ef9(0x27a),_0x35801f=(_0x2fb924=(_0x27176f=_0xb1292a[_0x428ef9(0x110)]())==null?void 0x0:_0x27176f[_0x428ef9(0x213)])!=null?_0x2fb924:_0x428ef9(0x27a);return{'changeset':{'unitID':_0x2cfb5b,'type':g[_0x428ef9(0x19c)](_0x43edf7[_0x428ef9(0x322)](_0x2cfb5b)),'baseRev':_0x2c4b3b['getCurrentRevOfUnit'](_0x2cfb5b),'revision':0x0,'userID':_0x33472a,'memberID':_0x35801f,'mutations':_0x71961b},'pendingMutations':[]};}function yt(_0x1e082e,_0x47227d){var _0x53b244=_0x46aeb6;const _0x159195=new j[(_0x53b244(0x328))](0x1);return setTimeout(()=>_0x159195[_0x53b244(0x3a5)](_0x47227d),_0x1e082e),_0x159195['asObservable']()[_0x53b244(0x20f)](j[_0x53b244(0x37f)](0x1));}const mi={'id':Z[_0x46aeb6(0x22c)]['id'],'type':a[_0x46aeb6(0x165)]['MUTATION'],'params':{}};var Ei=Object[_0x46aeb6(0x103)],ce=(_0x14ffce,_0x2e1c20,_0x197856,_0x4ab2d5)=>{var _0x4f2ee4=_0x46aeb6;for(var _0x46428c=_0x4ab2d5>0x1?void 0x0:_0x4ab2d5?Ei(_0x2e1c20,_0x197856):_0x2e1c20,_0x4bdd72=_0x14ffce[_0x4f2ee4(0x3f0)]-0x1,_0x26a96a;_0x4bdd72>=0x0;_0x4bdd72--)(_0x26a96a=_0x14ffce[_0x4bdd72])&&(_0x46428c=_0x26a96a(_0x46428c)||_0x46428c);return _0x46428c;},w=(_0x22dc46,_0x79cc2e)=>(_0x192e02,_0x335487)=>_0x79cc2e(_0x192e02,_0x335487,_0x22dc46),Ve=(_0x1160e9=>(_0x1160e9[_0x46aeb6(0x167)]='not_collab',_0x1160e9['SYNCED']=_0x46aeb6(0x38c),_0x1160e9['PENDING']=_0x46aeb6(0x275),_0x1160e9[_0x46aeb6(0x2f3)]=_0x46aeb6(0x330),_0x1160e9[_0x46aeb6(0x2a8)]=_0x46aeb6(0x3bc),_0x1160e9[_0x46aeb6(0x301)]=_0x46aeb6(0x1ea),_0x1160e9[_0x46aeb6(0x352)]='conflict',_0x1160e9['OFFLINE']=_0x46aeb6(0x18d),_0x1160e9))(Ve||{});const Nt=0xea60;class he{constructor(_0x1f1892,_0x1b3519,_0x33d770,_0x1765cc,_0x104eb6,_0x100b50,_0x520ad5,_0x1893fb,_0x9f09a8){var _0x2f8a61=_0x46aeb6;A(this,_0x2f8a61(0x3ae),null),A(this,_0x2f8a61(0x261),[]),(this[_0x2f8a61(0x3e5)]=_0x1f1892,this[_0x2f8a61(0x2c5)]=_0x1b3519,this[_0x2f8a61(0x2a2)]=_0x104eb6,this['_commandService']=_0x100b50,this[_0x2f8a61(0xc6)]=_0x520ad5,this[_0x2f8a61(0x250)]=_0x1893fb,this[_0x2f8a61(0x38d)]=_0x9f09a8,this['_awaitingChangeset']=_0x33d770,this['_pendingMutations']=_0x1765cc);}[_0x46aeb6(0x25d)](_0x3e429b){var _0x34875b=_0x46aeb6;const _0x3f3923=this[_0x34875b(0x250)][_0x34875b(0x2d1)](this[_0x34875b(0x3e5)]);return _0x3e429b['revision']>_0x3f3923+0x1?(this[_0x34875b(0x2a2)][_0x34875b(0x2fd)]({'from':_0x3f3923,'to':_0x3e429b['revision']-0x1}),!0x0):!0x1;}[_0x46aeb6(0x173)](_0x34eb16){var _0x4ac46e=_0x46aeb6;this['_undoRedoService'][_0x4ac46e(0x154)](this[_0x4ac46e(0x3e5)],_0x34eb16);}['_transformSelections'](_0x241a77){var _0x51408e=_0x46aeb6,_0x550a47,_0x3c1058;(_0x3c1058=(_0x550a47=this[_0x51408e(0x2a2)])[_0x51408e(0x288)])==null||_0x3c1058[_0x51408e(0x91)](_0x550a47,_0x241a77);}['_transformIMECache'](_0x165916){var _0xf0017d=_0x46aeb6,_0x231f11,_0x15b62a;return(_0x15b62a=(_0x231f11=this[_0xf0017d(0x2a2)])[_0xf0017d(0x16b)])==null?void 0x0:_0x15b62a[_0xf0017d(0x91)](_0x231f11,_0x165916);}[_0x46aeb6(0xa6)](_0x18a8ad){var _0x2da379=_0x46aeb6,_0x56c08c,_0x40a002;return(_0x40a002=(_0x56c08c=this[_0x2da379(0x2a2)])[_0x2da379(0x138)])==null?void 0x0:_0x40a002[_0x2da379(0x91)](_0x56c08c,_0x18a8ad);}['_transformRemoteChangesetByIMECache'](_0x589f0e){var _0x318005=_0x46aeb6,_0x339446,_0xfc7db2,_0xf8927b;return(_0xf8927b=(_0xfc7db2=(_0x339446=this[_0x318005(0x2a2)])[_0x318005(0x315)])==null?void 0x0:_0xfc7db2[_0x318005(0x91)](_0x339446,_0x589f0e))!=null?_0xf8927b:_0x589f0e;}[_0x46aeb6(0x10a)](_0x51a6b6){var _0x2d0ce9=_0x46aeb6,_0xc8d38e,_0x1a863e,_0x48007d;return(_0x48007d=(_0x1a863e=(_0xc8d38e=this[_0x2d0ce9(0x2a2)])[_0x2d0ce9(0x14c)])==null?void 0x0:_0x1a863e['call'](_0xc8d38e,_0x51a6b6))!=null?_0x48007d:_0x51a6b6;}[_0x46aeb6(0x369)](_0x422f46){var _0x509ea6=_0x46aeb6,_0x10f2b6,_0x982d9a;if(this[_0x509ea6(0x2c5)]===X['UNIVER_DOC']){const {unitID:_0x3ded37,mutations:_0x357b8a,memberID:_0x14e051}=_0x422f46,_0x168853=_0x357b8a[0x0][_0x509ea6(0xf4)][_0x509ea6(0xb0)];Array[_0x509ea6(0x348)](_0x168853)&&_0x168853[_0x509ea6(0x3f0)]>0x0&&((_0x982d9a=(_0x10f2b6=this['_handler'])[_0x509ea6(0x264)])==null||_0x982d9a[_0x509ea6(0x91)](_0x10f2b6,{'unitID':_0x3ded37,'memberID':_0x14e051,'textRanges':_0x168853}));}}[_0x46aeb6(0x1df)](){var _0xaa862=_0x46aeb6,_0x3ce411;(_0x3ce411=this['_localCacheService'])==null||_0x3ce411[_0xaa862(0x3f3)](this['unitID'],this[_0xaa862(0x2c5)],this[_0xaa862(0x3ae)],this[_0xaa862(0x261)]);}['_getCurrentRevision'](){var _0x15c186=_0x46aeb6;return this[_0x15c186(0x250)][_0x15c186(0x2d1)](this[_0x15c186(0x3e5)]);}[_0x46aeb6(0x2d4)](){var _0x4daaa7=_0x46aeb6;this[_0x4daaa7(0x250)][_0x4daaa7(0x3fe)](this[_0x4daaa7(0x3e5)]);}[_0x46aeb6(0x3e1)](_0x4e9f9d){var _0x42575f=_0x46aeb6,_0xfede07;let _0xc82989=this[_0x42575f(0x181)](_0x4e9f9d);_0xc82989=this[_0x42575f(0x10a)](_0xc82989);const _0x7a588=a[_0x42575f(0x183)](_0xc82989['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x7a588[_0x42575f(0x3bf)])throw _0x7a588[_0x42575f(0x409)]instanceof Error?_0x7a588['error']:new Error((_0xfede07=_0x7a588[_0x42575f(0x409)])!=null?_0xfede07:_0x42575f(0x31e));this['_transformIMECache'](_0xc82989),this[_0x42575f(0xa6)](_0xc82989),this[_0x42575f(0x173)](_0x4e9f9d),this[_0x42575f(0x171)](_0xc82989),this[_0x42575f(0x369)](_0xc82989),this['_incrementRevisionNumber']();}}exports[_0x46aeb6(0x2ad)]=class extends he{constructor(_0x811f8e,_0x217669,_0x5a3426,_0x984518,_0x3d28f6,_0xdf84a1,_0x1c7d73,_0x2b6a05,_0x33b355,_0x106e5a){var _0xcc3d01=_0x46aeb6;super(_0x811f8e,_0x217669,null,[],_0x5a3426,_0x1c7d73,_0xdf84a1,_0x984518,_0x106e5a),A(this,_0xcc3d01(0x190),'synced'),(this['_injector']=_0x3d28f6,this[_0xcc3d01(0x40e)]=_0x2b6a05,this[_0xcc3d01(0x155)]=_0x33b355,this[_0xcc3d01(0x394)]=_0x106e5a);}[_0x46aeb6(0x1bf)](_0x2191b2){var _0x42709a=_0x46aeb6;const _0xa5f3f5=this[_0x42709a(0x393)][_0x42709a(0x16c)](exports[_0x42709a(0xfa)],this[_0x42709a(0x3e5)],this[_0x42709a(0x2c5)],[_0x2191b2],this[_0x42709a(0x2a2)]);return _0xa5f3f5[_0x42709a(0xf8)](),_0xa5f3f5[_0x42709a(0x1df)](),_0xa5f3f5;}[_0x46aeb6(0x373)](_0x4c180e){var _0x43c7f2=_0x46aeb6;if(this['_checkMissing'](_0x4c180e))return this[_0x43c7f2(0x393)][_0x43c7f2(0x16c)](exports[_0x43c7f2(0x408)],this[_0x43c7f2(0x3e5)],this[_0x43c7f2(0x2c5)],null,[],null,[_0x4c180e],this[_0x43c7f2(0x2a2)]);try{const _0x501d0f=this[_0x43c7f2(0x155)][_0x43c7f2(0xfe)](_0x4c180e,[mi]);if(g[_0x43c7f2(0xaf)](_0x501d0f)){const {c1Prime:_0x1f8f26}=_0x501d0f;return this[_0x43c7f2(0x3e1)](_0x1f8f26),this;}throw _0x501d0f[_0x43c7f2(0x409)];}catch(_0x452897){return this[_0x43c7f2(0x40e)][_0x43c7f2(0x409)](_0x452897),this[_0x43c7f2(0x347)](!0x1);}}[_0x46aeb6(0x347)](_0x41689b){var _0x5ea208=_0x46aeb6;return this['_injector']['createInstance'](exports[_0x5ea208(0x262)],this[_0x5ea208(0x3e5)],this[_0x5ea208(0x2c5)],null,[],this[_0x5ea208(0x2a2)],_0x41689b);}[_0x46aeb6(0x13a)](){var _0x3f9489=_0x46aeb6;throw new Error(_0x3f9489(0x331));}['onRemoteRej'](){var _0x478d4a=_0x46aeb6;throw new Error(_0x478d4a(0x1e8));}[_0x46aeb6(0x19f)](){return this;}['toggleOffline'](){var _0x1d8a5d=_0x46aeb6;return this[_0x1d8a5d(0x393)][_0x1d8a5d(0x16c)](exports['OfflineState'],this[_0x1d8a5d(0x3e5)],this[_0x1d8a5d(0x2c5)],null,[],this[_0x1d8a5d(0x2a2)]);}[_0x46aeb6(0x18c)](){return this;}[_0x46aeb6(0x2b7)](){var _0x1767e6=_0x46aeb6;throw new Error(_0x1767e6(0xfb));}[_0x46aeb6(0x180)](){var _0x5f3e2d=_0x46aeb6;const _0x55bbc2=this[_0x5f3e2d(0x250)][_0x5f3e2d(0x2d1)](this[_0x5f3e2d(0x3e5)]);return this[_0x5f3e2d(0x2a2)][_0x5f3e2d(0x2fd)]({'from':_0x55bbc2,'to':0x0}),this[_0x5f3e2d(0x393)][_0x5f3e2d(0x16c)](exports[_0x5f3e2d(0x408)],this[_0x5f3e2d(0x3e5)],this[_0x5f3e2d(0x2c5)],null,[],null,[],this[_0x5f3e2d(0x2a2)]);}},exports[_0x46aeb6(0x2ad)]=ce([w(0x3,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x15c)])),w(0x4,a['Inject'](a[_0x46aeb6(0x1b0)])),w(0x5,a['IUndoRedoService']),w(0x6,a['ICommandService']),w(0x7,a[_0x46aeb6(0x2b1)]),w(0x8,g[_0x46aeb6(0x3b2)]),w(0x9,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x2ad)]),exports[_0x46aeb6(0xfa)]=class extends he{constructor(_0x1521dc,_0x582509,_0x6b0e55,_0x157fd2,_0x4a7c39,_0x169098,_0x49bb04,_0x3038af,_0x49014f,_0x4f0dc9,_0x5923b2,_0x206de9,_0x4d917a,_0x45da68){var _0x439091=_0x46aeb6;super(_0x1521dc,_0x582509,null,_0x6b0e55,_0x157fd2,_0x49014f,_0x4d917a,_0x169098,_0x45da68),A(this,_0x439091(0x190),_0x439091(0x275)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x439091(0x374),null),(this[_0x439091(0x393)]=_0x4a7c39,this['_memberService']=_0x49bb04,this[_0x439091(0x40e)]=_0x3038af,this[_0x439091(0x2d2)]=_0x4f0dc9,this[_0x439091(0x155)]=_0x5923b2,this[_0x439091(0x267)]=_0x206de9);}[_0x46aeb6(0x1bf)](_0x1d68d2){var _0x45cd07=_0x46aeb6;return this[_0x45cd07(0x261)][_0x45cd07(0x106)](_0x1d68d2),this[_0x45cd07(0x1df)](),this;}['onRemoteChangeset'](_0x55c5c6){var _0x168df1=_0x46aeb6;if(this['_checkMissing'](_0x55c5c6))return this[_0x168df1(0x338)](),this[_0x168df1(0x393)]['createInstance'](exports[_0x168df1(0x408)],this[_0x168df1(0x3e5)],this[_0x168df1(0x2c5)],null,this[_0x168df1(0x261)],null,[_0x55c5c6],this[_0x168df1(0x2a2)]);try{const _0x7097b6=this[_0x168df1(0x155)]['transformMutationsWithChangeset'](_0x55c5c6,this['_pendingMutations']);if(g['isTransformMutationsWithChangesetSuccess'](_0x7097b6)){const {c1Prime:_0x34daf5,m2Prime:_0x3cd879}=_0x7097b6;this[_0x168df1(0x3e1)](_0x34daf5);const _0x996ce4=this[_0x168df1(0x393)][_0x168df1(0x16c)](exports[_0x168df1(0xfa)],this[_0x168df1(0x3e5)],this['type'],_0x3cd879,this['_handler']);this[_0x168df1(0x338)]();const _0x3946b6=new Date()[_0x168df1(0x2be)](),_0x1aabfa=this[_0x168df1(0x378)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x3946b6,0x0):this[_0x168df1(0x1f8)]();return _0x996ce4[_0x168df1(0xf8)](_0x1aabfa),_0x996ce4;}throw _0x7097b6[_0x168df1(0x409)];}catch(_0x3a64c1){return this[_0x168df1(0x40e)][_0x168df1(0x409)](_0x3a64c1),this[_0x168df1(0x347)](!0x1);}}['onRemoteAck'](){var _0x43b06e=_0x46aeb6;throw new Error(_0x43b06e(0x149));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x46aeb6(0x19f)](){return this;}[_0x46aeb6(0x226)](){var _0x4b6f80=_0x46aeb6;return this[_0x4b6f80(0x338)](),this['_injector'][_0x4b6f80(0x16c)](exports[_0x4b6f80(0x1a4)],this['unitID'],this[_0x4b6f80(0x2c5)],null,this[_0x4b6f80(0x261)],this['_handler']);}[_0x46aeb6(0x18c)](){return this;}[_0x46aeb6(0xf8)](_0x3d292f){var _0x4c0b03=_0x46aeb6;const _0x58307e=_0x3d292f!=null?_0x3d292f:this[_0x4c0b03(0x1f8)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x58307e,this[_0x4c0b03(0x374)]=setTimeout(()=>{var _0x1fea8c=_0x4c0b03;this[_0x1fea8c(0x338)]();let _0xa6bb4e=null;switch(this[_0x1fea8c(0x2c5)]){case X[_0x1fea8c(0x3ca)]:{_0xa6bb4e=ze(this[_0x1fea8c(0x261)],this[_0x1fea8c(0x3e5)],this[_0x1fea8c(0x267)],this[_0x1fea8c(0x250)],this['_memberService']);break;}case X[_0x1fea8c(0x1c8)]:{this[_0x1fea8c(0x261)][_0x1fea8c(0x164)](_0x5a1d86=>_0x5a1d86['id']===ut[_0x1fea8c(0x2e2)]['id'])?_0xa6bb4e=Ii(this[_0x1fea8c(0x261)],this[_0x1fea8c(0x3e5)],this['_univerInstanceService'],this[_0x1fea8c(0x250)],this[_0x1fea8c(0x19b)]):_0xa6bb4e=ze(this[_0x1fea8c(0x261)],this[_0x1fea8c(0x3e5)],this['_univerInstanceService'],this['_revisionService'],this[_0x1fea8c(0x19b)]);break;}default:throw new Error(_0x1fea8c(0x231)+this['type']+_0x1fea8c(0x127));}const {changeset:_0x3e92dd,pendingMutations:_0x395cdc}=_0xa6bb4e;this['_handler'][_0x1fea8c(0x200)](_0x3e92dd);const _0x87fb1b=_0x395cdc[_0x1fea8c(0x3f0)]?this[_0x1fea8c(0x393)][_0x1fea8c(0x16c)](exports[_0x1fea8c(0x170)],this[_0x1fea8c(0x3e5)],this['type'],_0x3e92dd,_0x395cdc,this[_0x1fea8c(0x2a2)],void 0x0):this[_0x1fea8c(0x393)][_0x1fea8c(0x16c)](exports['AwaitingState'],this[_0x1fea8c(0x3e5)],this[_0x1fea8c(0x2c5)],_0x3e92dd,this[_0x1fea8c(0x2a2)]);_0x87fb1b[_0x1fea8c(0x1df)](),this[_0x1fea8c(0x2a2)]['onStateChange'](this,_0x87fb1b);},_0x58307e);}[_0x46aeb6(0x1f8)](){var _0x15e3e8=_0x46aeb6,_0x515baf;const _0x388148=this[_0x15e3e8(0x2d2)][_0x15e3e8(0x2a3)](Y);return(_0x515baf=_0x388148==null?void 0x0:_0x388148['sendChangesetTimeout'])!=null?_0x515baf:jt;}[_0x46aeb6(0x2b7)](){var _0x46497e=_0x46aeb6;throw new Error(_0x46497e(0x123));}['_clearScheduledTask'](){var _0xdb89f7=_0x46aeb6;this[_0xdb89f7(0x374)]!=null&&(clearTimeout(this[_0xdb89f7(0x374)]),this[_0xdb89f7(0x374)]=null);}[_0x46aeb6(0x347)](_0x5a9340){var _0x2756ba=_0x46aeb6;return this[_0x2756ba(0x338)](),this[_0x2756ba(0x393)][_0x2756ba(0x16c)](exports[_0x2756ba(0x262)],this[_0x2756ba(0x3e5)],this['type'],null,this[_0x2756ba(0x261)],this['_handler'],_0x5a9340);}},exports[_0x46aeb6(0xfa)]=ce([w(0x4,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x46aeb6(0x136)](exports['MemberService'])),w(0x7,a[_0x46aeb6(0x2b1)]),w(0x8,a['ICommandService']),w(0x9,a[_0x46aeb6(0xdc)]),w(0xa,g['ITransformService']),w(0xb,a[_0x46aeb6(0x23d)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0xfa)]),exports[_0x46aeb6(0x38f)]=class extends he{constructor(_0x296725,_0x4ebdfa,_0x21b823,_0x47562a,_0x72c444,_0x41345d,_0x2b5f5a,_0x2b8be6,_0x5c54d4,_0x115d20,_0x25fa14){var _0x5a4dbe=_0x46aeb6;super(_0x296725,_0x4ebdfa,_0x21b823,[],_0x47562a,_0x2b5f5a,_0x115d20,_0x41345d,_0x25fa14),A(this,_0x5a4dbe(0x190),_0x5a4dbe(0x330)),A(this,_0x5a4dbe(0x11f),0x0),A(this,_0x5a4dbe(0x2e3)),A(this,_0x5a4dbe(0x2a5)),(this[_0x5a4dbe(0x393)]=_0x72c444,this[_0x5a4dbe(0x40e)]=_0x2b8be6,this[_0x5a4dbe(0x155)]=_0x5c54d4);}[_0x46aeb6(0x1bf)](_0x336911){var _0x2e16ae=_0x46aeb6;this['_clearScheduledTask']();const _0x3960ff=this[_0x2e16ae(0x393)][_0x2e16ae(0x16c)](exports['AwaitingWithPendingState'],this[_0x2e16ae(0x3e5)],this[_0x2e16ae(0x2c5)],this[_0x2e16ae(0x3ae)],[_0x336911],this['_handler'],this['_resendTimer']);return _0x3960ff[_0x2e16ae(0x1df)](),_0x3960ff;}['onRemoteChangeset'](_0x248916){var _0x236f99=_0x46aeb6;if(this[_0x236f99(0x25d)](_0x248916))return this['_clearScheduledTask'](),this[_0x236f99(0x393)]['createInstance'](exports[_0x236f99(0x408)],this['unitID'],this[_0x236f99(0x2c5)],this['_awaitingChangeset'],[],null,[_0x248916],this[_0x236f99(0x2a2)]);try{const _0x15ef99=this[_0x236f99(0x155)][_0x236f99(0x104)]([_0x248916],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0x15ef99)){const {c1Prime:_0x48f294,c2Prime:_0x190f7b}=_0x15ef99;this[_0x236f99(0x3e1)](_0x48f294[0x0]),_0x190f7b[0x0][_0x236f99(0x363)]=this['_getCurrentRevision'](),this[_0x236f99(0x338)]();const _0x43d497=this[_0x236f99(0x393)][_0x236f99(0x16c)](exports['AwaitingState'],this[_0x236f99(0x3e5)],this[_0x236f99(0x2c5)],_0x190f7b[0x0],this[_0x236f99(0x2a2)]);return _0x43d497[_0x236f99(0x1df)](),_0x43d497;}return this[_0x236f99(0x347)](!0x1);}catch(_0x5961ee){return this['_logService'][_0x236f99(0x409)](_0x5961ee),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4e5e99){var _0x3eb530=_0x46aeb6;this['_clearScheduledTask']();const _0x5145ee=this[_0x3eb530(0x250)]['getCurrentRevOfUnit'](this[_0x3eb530(0x3e5)]);if(_0x4e5e99[_0x3eb530(0x234)]<_0x5145ee-0x1)return this;if(this['_checkMissing'](_0x4e5e99))return this['_injector']['createInstance'](exports[_0x3eb530(0x408)],this[_0x3eb530(0x3e5)],this[_0x3eb530(0x2c5)],null,[],this['_awaitingChangeset'],[],this[_0x3eb530(0x2a2)]);this[_0x3eb530(0x2d4)]();const _0xb9969c=this[_0x3eb530(0x393)][_0x3eb530(0x16c)](exports[_0x3eb530(0x2ad)],this[_0x3eb530(0x3e5)],this[_0x3eb530(0x2c5)],this[_0x3eb530(0x2a2)]);return _0xb9969c['_updateLocalCache'](),_0xb9969c;}[_0x46aeb6(0x242)](_0xddb44c){var _0x4e41c9=_0x46aeb6;return this[_0x4e41c9(0x347)](!!(_0xddb44c!=null&&_0xddb44c[_0x4e41c9(0x34a)]));}[_0x46aeb6(0x19f)](_0x360cc9){var _0x5838a2=_0x46aeb6;return this[_0x5838a2(0x11f)]>Nt?this[_0x5838a2(0x226)]():(this[_0x5838a2(0x2e3)]=yt(this['_resendTimeout'],{'timeout':this[_0x5838a2(0x11f)],'reqId':_0x360cc9['reqId']}),this['_sender']=this[_0x5838a2(0x2e3)][_0x5838a2(0x224)](({reqId:_0x2a2e18,timeout:_0x35e057})=>{var _0x20d811=_0x5838a2;this[_0x20d811(0xd0)](_0x2a2e18,_0x35e057);}),this);}[_0x46aeb6(0x226)](){var _0x3ed6e3=_0x46aeb6;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x3ed6e3(0x1a4)],this[_0x3ed6e3(0x3e5)],this['type'],this[_0x3ed6e3(0x3ae)],[],this[_0x3ed6e3(0x2a2)]);}[_0x46aeb6(0x18c)](){return this;}[_0x46aeb6(0x2b7)](){var _0x17778c=_0x46aeb6;this[_0x17778c(0x2a2)][_0x17778c(0x200)](this[_0x17778c(0x3ae)]);}['_onConflict'](_0x29d988){var _0x2dcd3d=_0x46aeb6;return this[_0x2dcd3d(0x338)](),this[_0x2dcd3d(0x393)][_0x2dcd3d(0x16c)](exports['ConflictState'],this[_0x2dcd3d(0x3e5)],this[_0x2dcd3d(0x2c5)],this[_0x2dcd3d(0x3ae)],[],this[_0x2dcd3d(0x2a2)],_0x29d988);}['_resendWithTimeout'](_0x440d22,_0x4bbd40){var _0x5ea50e=_0x46aeb6,_0x1c5f3f;_0x440d22===((_0x1c5f3f=this[_0x5ea50e(0x3ae)])==null?void 0x0:_0x1c5f3f['reqId'])&&(this[_0x5ea50e(0x2b7)](),this[_0x5ea50e(0x11f)]=_0x4bbd40===0x0?0x3e8:_0x4bbd40*0x2);}['_clearScheduledTask'](){var _0x3f2750=_0x46aeb6,_0x3ac784;(_0x3ac784=this['_sender'])==null||_0x3ac784[_0x3f2750(0x209)](),this[_0x3f2750(0x11f)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),w(0x5,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x15c)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,g[_0x46aeb6(0x3b2)]),w(0x9,a[_0x46aeb6(0x27d)]),w(0xa,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x38f)]),exports[_0x46aeb6(0x170)]=class extends he{constructor(_0x23d879,_0x690d9e,_0x95fa52,_0x4d2289,_0x245882,_0x1a70bf,_0x2479a7,_0x48d452,_0x32e010,_0x44f769,_0x1effd2,_0x1c7c3f,_0x465739){var _0x413187=_0x46aeb6;super(_0x23d879,_0x690d9e,_0x95fa52,_0x4d2289,_0x245882,_0x32e010,_0x1c7c3f,_0x48d452,_0x465739),A(this,'status',_0x413187(0x3bc)),A(this,_0x413187(0x11f),0x0),A(this,'_resendTimer'),A(this,_0x413187(0x2a5)),(this[_0x413187(0x393)]=_0x2479a7,this[_0x413187(0x40e)]=_0x44f769,this[_0x413187(0x155)]=_0x1effd2,this[_0x413187(0x394)]=_0x465739,_0x1a70bf&&(this[_0x413187(0x2e3)]=_0x1a70bf,this['_sender']=this[_0x413187(0x2e3)][_0x413187(0x224)](({reqId:_0x328577,timeout:_0x15c449})=>{this['_resendWithTimeout'](_0x328577,_0x15c449);})));}['appendMutation'](_0x7cf1a9){var _0x278d4c=_0x46aeb6;return this[_0x278d4c(0x261)]['push'](_0x7cf1a9),this;}[_0x46aeb6(0x373)](_0x2f1530){var _0x611240=_0x46aeb6;if(this[_0x611240(0x25d)](_0x2f1530))return this[_0x611240(0x338)](),this['_injector'][_0x611240(0x16c)](exports[_0x611240(0x408)],this['unitID'],this[_0x611240(0x2c5)],this[_0x611240(0x3ae)],this[_0x611240(0x261)],null,[_0x2f1530],this[_0x611240(0x2a2)]);try{const _0x44d320=this[_0x611240(0x155)]['transformChangesets']([_0x2f1530],[this[_0x611240(0x3ae)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x44d320)){const {c1Prime:_0x3fb50a,c2Prime:_0x2fd9f7}=_0x44d320,_0x13756b=this[_0x611240(0x155)][_0x611240(0xfe)](_0x3fb50a[0x0],this['_pendingMutations']);if(g[_0x611240(0xaf)](_0x13756b)){const {c1Prime:_0x1837c7,m2Prime:_0x2738e8}=_0x13756b;return this[_0x611240(0x3e1)](_0x1837c7),_0x2fd9f7[0x0][_0x611240(0x363)]=this[_0x611240(0x2ea)](),this[_0x611240(0x338)](),this[_0x611240(0x393)][_0x611240(0x16c)](exports['AwaitingWithPendingState'],this[_0x611240(0x3e5)],this['type'],_0x2fd9f7[0x0],_0x2738e8,this[_0x611240(0x2a2)],void 0x0);}throw _0x13756b[_0x611240(0x409)];}throw _0x44d320[_0x611240(0x409)];}catch(_0x376138){return this['_logService'][_0x611240(0x409)](_0x376138),this[_0x611240(0x347)](!0x1);}}[_0x46aeb6(0x13a)](_0x1ba128){var _0x765b5e=_0x46aeb6;if(this[_0x765b5e(0x338)](),this[_0x765b5e(0x25d)](_0x1ba128))return this[_0x765b5e(0x393)][_0x765b5e(0x16c)](exports['FetchingMissState'],this[_0x765b5e(0x3e5)],this['type'],null,this[_0x765b5e(0x261)],this['_awaitingChangeset'],[],this[_0x765b5e(0x2a2)]);this['_incrementRevisionNumber']();const _0x26066f=this[_0x765b5e(0x393)][_0x765b5e(0x16c)](exports[_0x765b5e(0xfa)],this[_0x765b5e(0x3e5)],this['type'],this[_0x765b5e(0x261)],this[_0x765b5e(0x2a2)]);return _0x26066f['_schedule'](),_0x26066f[_0x765b5e(0x1df)](),_0x26066f;}['onRemoteRej'](_0x500313){var _0x1b1205=_0x46aeb6;return this[_0x1b1205(0x347)](!!(_0x500313!=null&&_0x500313[_0x1b1205(0x34a)]));}[_0x46aeb6(0x19f)](_0x28de88){var _0x628695=_0x46aeb6;return this[_0x628695(0x11f)]>Nt?this['toggleOffline']():(this['_resendTimer']=yt(this[_0x628695(0x11f)],{'timeout':this[_0x628695(0x11f)],'reqId':_0x28de88[_0x628695(0x2db)]}),this['_sender']=this[_0x628695(0x2e3)][_0x628695(0x224)](({reqId:_0x18c55d,timeout:_0x162cf8})=>{var _0x44eb50=_0x628695;this[_0x44eb50(0xd0)](_0x18c55d,_0x162cf8);}),this);}['toggleOffline'](){var _0x11859=_0x46aeb6;return this[_0x11859(0x338)](),this['_injector'][_0x11859(0x16c)](exports[_0x11859(0x1a4)],this[_0x11859(0x3e5)],this[_0x11859(0x2c5)],this[_0x11859(0x3ae)],this['_pendingMutations'],this[_0x11859(0x2a2)]);}[_0x46aeb6(0x18c)](){return this;}['resend'](){var _0xe3fbc9=_0x46aeb6;this[_0xe3fbc9(0x2a2)][_0xe3fbc9(0x200)](this[_0xe3fbc9(0x3ae)]);}[_0x46aeb6(0x347)](_0x4aa6ea){var _0x1ce624=_0x46aeb6;return this[_0x1ce624(0x338)](),this['_injector'][_0x1ce624(0x16c)](exports[_0x1ce624(0x262)],this['unitID'],this['type'],null,this[_0x1ce624(0x261)],this[_0x1ce624(0x2a2)],_0x4aa6ea);}[_0x46aeb6(0xd0)](_0x4079f1,_0x3f594c){var _0x48aabb=_0x46aeb6,_0x537fa6;_0x4079f1===((_0x537fa6=this[_0x48aabb(0x3ae)])==null?void 0x0:_0x537fa6[_0x48aabb(0x2db)])&&(this[_0x48aabb(0x2b7)](),this['_resendTimeout']=_0x3f594c===0x0?0x3e8:_0x3f594c*0x2);}[_0x46aeb6(0x338)](){var _0x49dcf3=_0x46aeb6,_0x3a1855;(_0x3a1855=this[_0x49dcf3(0x2a5)])==null||_0x3a1855['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x46aeb6(0x170)]=ce([w(0x6,a[_0x46aeb6(0x136)](a['Injector'])),w(0x7,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x15c)])),w(0x8,a[_0x46aeb6(0x1e7)]),w(0x9,a[_0x46aeb6(0x2b1)]),w(0xa,g[_0x46aeb6(0x3b2)]),w(0xb,a[_0x46aeb6(0x27d)]),w(0xc,a['Optional'](z))],exports[_0x46aeb6(0x170)]),exports[_0x46aeb6(0x262)]=class extends he{constructor(_0x5798da,_0x4c1a40,_0x136807,_0x665497,_0xba5e7b,_0x84e9fd=!0x1,_0x57dcde,_0x40395f,_0xe7a28e,_0x4dcfcd,_0x3d328c,_0xcec2d3,_0x76b0c0){var _0x50767a=_0x46aeb6;super(_0x5798da,_0x4c1a40,_0x136807,_0x665497,_0xba5e7b,_0x40395f,_0xe7a28e,_0x4dcfcd,_0x76b0c0),A(this,_0x50767a(0x190),_0x50767a(0x3e7)),(this['_isPermissionRej']=_0x84e9fd,this[_0x50767a(0x416)]=_0x57dcde,this[_0x50767a(0x223)]=_0x3d328c,this[_0x50767a(0x3ac)]=_0xcec2d3,this[_0x50767a(0x394)]=_0x76b0c0,this[_0x50767a(0x410)](),this['_clearLocalCache'](),this[_0x50767a(0x1bd)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x46aeb6(0x13a)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x46aeb6(0x226)](){return this;}[_0x46aeb6(0x18c)](){return this;}[_0x46aeb6(0x2b7)](){var _0x452d52=_0x46aeb6;throw new Error(_0x452d52(0x163));}[_0x46aeb6(0x97)](){var _0x329542=_0x46aeb6,_0x517e5c;(_0x517e5c=this['_localCacheService'])==null||_0x517e5c['updateOfflineData'](this[_0x329542(0x3e5)],this['type'],null,[]);}[_0x46aeb6(0x410)](){var _0x336976=_0x46aeb6;this['_isPermissionRej']?this[_0x336976(0x3ac)]['emitEvent']({'id':Q[_0x336976(0x2ec)]}):this['_collaborationUIEventService'][_0x336976(0x1ec)]({'id':Q[_0x336976(0x352)]});}[_0x46aeb6(0x1bd)](){var _0x21e004=_0x46aeb6;this[_0x21e004(0x416)][_0x21e004(0x1b5)](new Z['WorkbookEditablePermission'](this[_0x21e004(0x3e5)])['id'],!0x1);}},exports[_0x46aeb6(0x262)]=ce([w(0x6,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x2c9)])),w(0x7,a[_0x46aeb6(0x1e7)]),w(0x8,a[_0x46aeb6(0x27d)]),w(0x9,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x15c)])),w(0xa,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)])),w(0xb,a[_0x46aeb6(0x136)](te)),w(0xc,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x262)]),exports[_0x46aeb6(0x1a4)]=class extends he{constructor(_0x1abbef,_0x4d71bf,_0x47190e,_0x406717,_0x4f7db1,_0x5162f7,_0x1b3deb,_0x104043,_0x849686,_0x2f789b){var _0x10aba7=_0x46aeb6;super(_0x1abbef,_0x4d71bf,_0x47190e,_0x406717,_0x4f7db1,_0x104043,_0x849686,_0x1b3deb,_0x2f789b),A(this,_0x10aba7(0x190),'offline'),this[_0x10aba7(0x393)]=_0x5162f7;}[_0x46aeb6(0x1bf)](_0x5c145a){var _0x512385=_0x46aeb6;return this['_pendingMutations'][_0x512385(0x106)](_0x5c145a),this[_0x512385(0x1df)](),this;}[_0x46aeb6(0x373)](_0x2d3b3c){var _0x3f875c=_0x46aeb6;throw new Error(_0x3f875c(0x413));}[_0x46aeb6(0x13a)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xa77301=_0x46aeb6;throw new Error(_0xa77301(0x36b));}[_0x46aeb6(0x19f)](){return this;}[_0x46aeb6(0x226)](){return this;}[_0x46aeb6(0x18c)](){var _0x30df10=_0x46aeb6;const {_injector:_0x11254b,_pendingMutations:_0x376506,_awaitingChangeset:_0x3dc299,unitID:_0x4af2ac,_handler:_0x77f750,type:_0x3fb523}=this,_0x3d2ed7=Dt(_0x11254b,_0x4af2ac,_0x3fb523,_0x3dc299,_0x376506,_0x77f750);return _0x3d2ed7 instanceof exports[_0x30df10(0xfa)]?_0x3d2ed7[_0x30df10(0xf8)]():(_0x3d2ed7 instanceof exports[_0x30df10(0x170)]||_0x3d2ed7 instanceof exports['AwaitingState'])&&_0x3d2ed7[_0x30df10(0x2b7)](),_0x3d2ed7;}[_0x46aeb6(0x2b7)](){var _0xa4454e=_0x46aeb6;throw new Error(_0xa4454e(0x324));}},exports['OfflineState']=ce([w(0x5,a[_0x46aeb6(0x136)](a['Injector'])),w(0x6,a[_0x46aeb6(0x136)](g['RevisionService'])),w(0x7,a[_0x46aeb6(0x1e7)]),w(0x8,a[_0x46aeb6(0x27d)]),w(0x9,a['Optional'](z))],exports[_0x46aeb6(0x1a4)]),exports[_0x46aeb6(0x408)]=class extends he{constructor(_0x38558e,_0x1f6f1a,_0x28d410,_0x4b7d5f,_0x4e198d,_0x32779e,_0x3b94ec,_0x2e07d1,_0x3572b8,_0x479ef7,_0x175079,_0x10ee3f,_0xc78508,_0x1852d0){var _0x5127e9=_0x46aeb6;super(_0x38558e,_0x1f6f1a,_0x28d410,_0x4b7d5f,_0x3b94ec,_0x175079,_0x10ee3f,_0x3572b8,_0x1852d0),A(this,_0x5127e9(0x190),'fetch_missing'),(this[_0x5127e9(0x21a)]=_0x4e198d,this['_queuedRemoteChangesets']=_0x32779e,this[_0x5127e9(0x393)]=_0x2e07d1,this[_0x5127e9(0x40e)]=_0x479ef7,this[_0x5127e9(0x155)]=_0xc78508,this[_0x5127e9(0x394)]=_0x1852d0);}[_0x46aeb6(0x327)](_0x5cbefe){var _0x190c5b=_0x46aeb6;try{const _0x5889e5=[..._0x5cbefe,...this[_0x190c5b(0x26c)]],_0x19bdea=[this[_0x190c5b(0x3ae)]||this[_0x190c5b(0x21a)]]['filter'](_0x5399a3=>!!_0x5399a3);let _0x26550c,_0xd49ac2;if(_0x19bdea['length']){const _0x502c76=this[_0x190c5b(0x155)][_0x190c5b(0x104)](_0x5889e5,_0x19bdea,!0x1);if(!g['isTransformChangesetsSuccess'](_0x502c76))throw _0x502c76[_0x190c5b(0x409)];_0x26550c=_0x502c76[_0x190c5b(0x1ba)],_0xd49ac2=_0x502c76[_0x190c5b(0x399)];}else _0x26550c=_0x5889e5,_0xd49ac2=[];let _0x15cbc0=this[_0x190c5b(0x261)];_0x26550c[_0x190c5b(0x30c)](_0x2010b0=>{var _0x45e36b=_0x190c5b;let _0x4358f9;if(_0x15cbc0[_0x45e36b(0x3f0)]){const _0x5ea8fd=this[_0x45e36b(0x155)]['transformMutationsWithChangeset'](_0x2010b0,_0x15cbc0);if(!g[_0x45e36b(0xaf)](_0x5ea8fd))throw _0x5ea8fd[_0x45e36b(0x409)];_0x4358f9=_0x5ea8fd[_0x45e36b(0x1ba)],_0x15cbc0=_0x5ea8fd[_0x45e36b(0x1fb)];}else _0x4358f9=_0x2010b0;this['_executeRemoteChangeset'](_0x4358f9);}),this[_0x190c5b(0x21a)]&&this[_0x190c5b(0x2d4)](),this[_0x190c5b(0x3ae)]&&_0xd49ac2[_0x190c5b(0x3f0)]&&(_0xd49ac2[0x0][_0x190c5b(0x363)]=this[_0x190c5b(0x2ea)]());let _0x197509;if(this[_0x190c5b(0x3ae)]&&_0x15cbc0[_0x190c5b(0x3f0)]!==0x0)_0x197509=this[_0x190c5b(0x393)][_0x190c5b(0x16c)](exports[_0x190c5b(0x170)],this['unitID'],this[_0x190c5b(0x2c5)],_0xd49ac2[0x0],_0x15cbc0,this[_0x190c5b(0x2a2)],void 0x0);else{if(this[_0x190c5b(0x3ae)]&&_0x15cbc0[_0x190c5b(0x3f0)]===0x0)_0xd49ac2[0x0][_0x190c5b(0x363)]=this['_getCurrentRevision'](),_0x197509=this[_0x190c5b(0x393)][_0x190c5b(0x16c)](exports[_0x190c5b(0x38f)],this['unitID'],this[_0x190c5b(0x2c5)],_0xd49ac2[0x0],this[_0x190c5b(0x2a2)]);else{if(_0x15cbc0[_0x190c5b(0x3f0)]!==0x0){const _0x241c07=this[_0x190c5b(0x393)][_0x190c5b(0x16c)](exports[_0x190c5b(0xfa)],this['unitID'],this[_0x190c5b(0x2c5)],_0x15cbc0,this['_handler']);_0x241c07[_0x190c5b(0xf8)](),_0x197509=_0x241c07;}else _0x197509=this[_0x190c5b(0x393)][_0x190c5b(0x16c)](exports[_0x190c5b(0x2ad)],this[_0x190c5b(0x3e5)],this[_0x190c5b(0x2c5)],this['_handler']);}}return _0x197509[_0x190c5b(0x1df)](),_0x197509;}catch(_0x451401){return this[_0x190c5b(0x40e)][_0x190c5b(0x409)](_0x190c5b(0x395),_0x190c5b(0x3b1),_0x451401),this['_injector'][_0x190c5b(0x16c)](exports[_0x190c5b(0x262)],this[_0x190c5b(0x3e5)],this[_0x190c5b(0x2c5)],this['_awaitingChangeset'],this[_0x190c5b(0x261)],this['_handler'],!0x1);}}['resend'](){var _0x165bda=_0x46aeb6;throw new Error(_0x165bda(0x210));}['appendMutation'](_0x44de39){var _0x4ef8bb=_0x46aeb6;return this[_0x4ef8bb(0x261)][_0x4ef8bb(0x106)](_0x44de39),this;}[_0x46aeb6(0x373)](_0x2c4458){var _0xd3d976=_0x46aeb6;return this['_queuedRemoteChangesets'][_0xd3d976(0x106)](_0x2c4458),this;}['onRemoteAck'](_0x2dd5ce){var _0x30cba3=_0x46aeb6;if(this[_0x30cba3(0x3ae)])return this['_acknowledgedAwaitingChangeset']=this[_0x30cba3(0x3ae)],this[_0x30cba3(0x3ae)]=null,this;throw new Error(_0x30cba3(0x192));}[_0x46aeb6(0x242)](_0x2f46a6){var _0x3dfd2b=_0x46aeb6;return this['_onConflict'](!!(_0x2f46a6!=null&&_0x2f46a6[_0x3dfd2b(0x34a)]));}[_0x46aeb6(0x19f)](){return this;}['toggleOffline'](){var _0x3ca3c4=_0x46aeb6;return this['_injector'][_0x3ca3c4(0x16c)](exports[_0x3ca3c4(0x1a4)],this[_0x3ca3c4(0x3e5)],this[_0x3ca3c4(0x2c5)],this[_0x3ca3c4(0x3ae)],this[_0x3ca3c4(0x261)],this[_0x3ca3c4(0x2a2)]);}[_0x46aeb6(0x18c)](){return this;}[_0x46aeb6(0x347)](_0x2af5a3){var _0x24de3c=_0x46aeb6;return this[_0x24de3c(0x393)][_0x24de3c(0x16c)](exports[_0x24de3c(0x262)],this['unitID'],this[_0x24de3c(0x2c5)],this['_awaitingChangeset'],this[_0x24de3c(0x261)],this['_handler'],_0x2af5a3);}},exports[_0x46aeb6(0x408)]=ce([w(0x7,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),w(0x8,a['Inject'](g[_0x46aeb6(0x15c)])),w(0x9,a[_0x46aeb6(0x2b1)]),w(0xa,a[_0x46aeb6(0x1e7)]),w(0xb,a[_0x46aeb6(0x27d)]),w(0xc,g[_0x46aeb6(0x3b2)]),w(0xd,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x408)]);function Dt(_0x1c35ed,_0x1e55e0,_0x3d73cc,_0x5eaf50,_0x17b4a8,_0xe27a18){var _0xadf6e=_0x46aeb6;return _0x5eaf50&&_0x17b4a8[_0xadf6e(0x3f0)]?_0x1c35ed[_0xadf6e(0x16c)](exports[_0xadf6e(0x170)],_0x1e55e0,_0x3d73cc,_0x5eaf50,_0x17b4a8,_0xe27a18,void 0x0):_0x5eaf50?_0x1c35ed['createInstance'](exports[_0xadf6e(0x38f)],_0x1e55e0,_0x3d73cc,_0x5eaf50,_0xe27a18):_0x17b4a8['length']?_0x1c35ed[_0xadf6e(0x16c)](exports[_0xadf6e(0xfa)],_0x1e55e0,_0x3d73cc,_0x17b4a8,_0xe27a18):_0x1c35ed[_0xadf6e(0x16c)](exports[_0xadf6e(0x2ad)],_0x1e55e0,_0x3d73cc,_0xe27a18);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x2c16ad,_0x2e3889,_0x2e7376,_0x4512f1)=>{var _0x1d86f7=_0x46aeb6;for(var _0x3590d2=_0x4512f1>0x1?void 0x0:_0x4512f1?Ci(_0x2e3889,_0x2e7376):_0x2e3889,_0x320963=_0x2c16ad[_0x1d86f7(0x3f0)]-0x1,_0xc55201;_0x320963>=0x0;_0x320963--)(_0xc55201=_0x2c16ad[_0x320963])&&(_0x3590d2=_0xc55201(_0x3590d2)||_0x3590d2);return _0x3590d2;},$=(_0x402600,_0x570c6a)=>(_0x16d070,_0x513666)=>_0x570c6a(_0x16d070,_0x513666,_0x402600);exports[_0x46aeb6(0x252)]=class extends a[_0x46aeb6(0x17d)]{constructor(_0x3635b4,_0x1a9d78,_0x5ea1a8,_0x296c36,_0x4d7022,_0x592618,_0x46d72f,_0x4435f1,_0x1de356,_0x3f6c5e,_0x138d7a,_0x4e73e9,_0x366f4c){var _0x5ba6e3=_0x46aeb6;super(),A(this,'_state$',new j['BehaviorSubject'](null)),A(this,_0x5ba6e3(0x3b5),this['_state$']['asObservable']()),A(this,_0x5ba6e3(0xbb)),A(this,_0x5ba6e3(0x3d6),!0x1),A(this,_0x5ba6e3(0x179),''),A(this,_0x5ba6e3(0x21d),0x0),A(this,_0x5ba6e3(0x177),this[_0x5ba6e3(0x3b5)][_0x5ba6e3(0x20f)](j['map'](_0x23030f=>_0x23030f?_0x23030f[_0x5ba6e3(0x190)]:Ve[_0x5ba6e3(0x2f7)]),j[_0x5ba6e3(0xc9)](0x1))),A(this,_0x5ba6e3(0x219),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x5ba6e3(0x3e5)]=_0x3635b4,this['session']=_0x1a9d78,this[_0x5ba6e3(0x2ee)]=_0x5ea1a8,this[_0x5ba6e3(0x393)]=_0x296c36,this[_0x5ba6e3(0x1cf)]=_0x4d7022,this[_0x5ba6e3(0x223)]=_0x592618,this['_revisionService']=_0x46d72f,this[_0x5ba6e3(0xc4)]=_0x4435f1,this[_0x5ba6e3(0x40e)]=_0x1de356,this[_0x5ba6e3(0x254)]=_0x3f6c5e,this['_permissionService']=_0x138d7a,this[_0x5ba6e3(0x158)]=_0x4e73e9,this[_0x5ba6e3(0x38d)]=_0x366f4c);}get[_0x46aeb6(0x1c4)](){var _0x140f22=_0x46aeb6;return this[_0x140f22(0xbb)];}async[_0x46aeb6(0x31b)](){var _0x408b55=_0x46aeb6;if(this[_0x408b55(0x1c4)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x46aeb6(0x27c)](){var _0x413764=_0x46aeb6;return this[_0x413764(0x3d6)]=!0x0,a['toDisposable'](()=>{var _0x23f5b4=_0x413764;this[_0x23f5b4(0x3d6)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x46aeb6(0x94)](_0x1755fd){var _0x316d9c=_0x46aeb6;this[_0x316d9c(0x1fa)](_0x1755fd);}[_0x46aeb6(0x114)](_0x12fae4){var _0x17a922=_0x46aeb6;this['_state']=_0x12fae4,this['_state$'][_0x17a922(0x3a5)](_0x12fae4);}async[_0x46aeb6(0x3a2)](){var _0x1aa223=_0x46aeb6,_0x44c1ec;this[_0x1aa223(0x114)](await this[_0x1aa223(0x2a7)]()),this[_0x1aa223(0x158)]&&((_0x44c1ec=this[_0x1aa223(0x158)])==null||_0x44c1ec[_0x1aa223(0x3c1)](this['unitID']),this['disposeWithMe'](this[_0x1aa223(0x158)]['getUnitStatus$'](this['unitID'])[_0x1aa223(0x224)](_0x4b403c=>{var _0x3ebc3c=_0x1aa223;this[_0x3ebc3c(0x40e)][_0x3ebc3c(0x3a7)](_0x3ebc3c(0xde),_0x3ebc3c(0x160),_0x4b403c),_0x4b403c===Fe['OTHER_CLIENTS_EDITING']?(this[_0x3ebc3c(0xc4)]['emitEvent']({'id':Q[_0x3ebc3c(0x238)]}),this[_0x3ebc3c(0x416)][_0x3ebc3c(0x1b5)](new Z[(_0x3ebc3c(0x24e))](this[_0x3ebc3c(0x3e5)])['id'],!0x1),this[_0x3ebc3c(0x416)][_0x3ebc3c(0x233)](!0x1)):(this[_0x3ebc3c(0x416)][_0x3ebc3c(0x1b5)](new Z['WorkbookEditablePermission'](this[_0x3ebc3c(0x3e5)])['id'],!0x0),this[_0x3ebc3c(0x416)][_0x3ebc3c(0x233)](!0x0));})));let _0x557804=!0x1;return this[_0x1aa223(0x20b)](this[_0x1aa223(0x33e)][_0x1aa223(0x33d)]['subscribe'](_0x506140=>{var _0x240361=_0x1aa223;_0x506140===se[_0x240361(0x346)]?this['_toggleOnline'](_0x557804):_0x506140===se[_0x240361(0x2f7)]&&(_0x557804=!0x0,this['_toggleOffline']());})),this[_0x1aa223(0x20b)](this[_0x1aa223(0x33e)][_0x1aa223(0x404)][_0x1aa223(0x224)](_0x4ea733=>{var _0x4a0c66=_0x1aa223;try{switch(_0x4ea733[_0x4a0c66(0x2c6)]){case g[_0x4a0c66(0x237)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](g[_0x4a0c66(0x19a)](_0x4ea733[_0x4a0c66(0x2eb)]));break;}case g[_0x4a0c66(0x237)][_0x4a0c66(0x2fe)]:{this['_onRemoteACK'](_0x4ea733[_0x4a0c66(0x2eb)]);break;}case g[_0x4a0c66(0x237)][_0x4a0c66(0x357)]:{this[_0x4a0c66(0xa4)]();break;}case g[_0x4a0c66(0x237)][_0x4a0c66(0x27b)]:{this[_0x4a0c66(0x2c1)](_0x4ea733[_0x4a0c66(0x2eb)]);break;}case g[_0x4a0c66(0x237)][_0x4a0c66(0x11a)]:{this[_0x4a0c66(0x217)](_0x4ea733[_0x4a0c66(0x2eb)][_0x4a0c66(0x289)][_0x4a0c66(0xb5)](_0x834867=>g[_0x4a0c66(0x19a)](_0x834867)));break;}case g[_0x4a0c66(0x237)]['PERMISSION_REJ']:{this[_0x4a0c66(0xa4)]({'isPermissionRej':!0x0});break;}case g[_0x4a0c66(0x237)][_0x4a0c66(0x2bc)]:break;}}catch(_0x5b1ceb){throw console[_0x4a0c66(0x409)](_0x4a0c66(0x16d),_0x5b1ceb),_0x5b1ceb;}})),this[_0x1aa223(0xbb)];}[_0x46aeb6(0x380)](){var _0x31e6be=_0x46aeb6;this[_0x31e6be(0x219)]=!0x1;}[_0x46aeb6(0x96)](){var _0x645362=_0x46aeb6;if(this[_0x645362(0x219)])throw new Error(_0x645362(0x375));this[_0x645362(0x219)]=!0x0;}['_onLocalMutation'](_0x1cdee2){var _0xf58589=_0x46aeb6;this['_lockTransition'](),this[_0xf58589(0x114)](this[_0xf58589(0xbb)][_0xf58589(0x1bf)](_0x1cdee2)),this[_0xf58589(0x380)]();}[_0x46aeb6(0x2bd)](_0x2b4370){var _0x367529=_0x46aeb6;if(!(_0x2b4370[_0x367529(0x234)]<=this[_0x367529(0x250)][_0x367529(0x2d1)](this[_0x367529(0x3e5)]))){if(this[_0x367529(0x3d6)]){this['_remoteChangesetQueue']['push'](_0x2b4370);return;}this[_0x367529(0x2ca)](_0x2b4370);}}[_0x46aeb6(0x187)](){var _0x1209e9=_0x46aeb6;this[_0x1209e9(0x1bc)]['forEach'](_0x18edba=>this['_applyRemoteChangeset'](_0x18edba)),this[_0x1209e9(0x1bc)]=[];}[_0x46aeb6(0x2ca)](_0x3b75c0){var _0x354906=_0x46aeb6;const _0x142998=this[_0x354906(0x1cf)]['interceptor']['fetchThroughInterceptors'](this[_0x354906(0x1cf)][_0x354906(0xe9)]['getInterceptPoints']()[_0x354906(0x2e0)])(_0x3b75c0[_0x354906(0x33b)],null)||_0x3b75c0['mutations'],_0x2935a3={..._0x3b75c0,'mutations':_0x142998};this[_0x354906(0x96)](),this[_0x354906(0x114)](this[_0x354906(0xbb)][_0x354906(0x373)](_0x2935a3)),this['_unlockTransition']();}[_0x46aeb6(0xdb)](_0x47204d){var _0x36e28b=_0x46aeb6;this[_0x36e28b(0x96)](),this['_updateState'](this[_0x36e28b(0xbb)][_0x36e28b(0x13a)](_0x47204d)),this['_unlockTransition']();}[_0x46aeb6(0xa4)](_0x4d2074){var _0x11165d=_0x46aeb6;this['_lockTransition'](),this['_updateState'](this[_0x11165d(0xbb)][_0x11165d(0x242)](_0x4d2074)),this['_unlockTransition']();}[_0x46aeb6(0x2c1)](_0x1412aa){var _0x14f6d6=_0x46aeb6;this[_0x14f6d6(0x96)](),this['_updateState'](this['_state'][_0x14f6d6(0x19f)](_0x1412aa)),this[_0x14f6d6(0x380)]();}[_0x46aeb6(0x217)](_0x248d05){var _0x2b420d=_0x46aeb6;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x2b420d(0x229));const _0x106d62=_0x248d05[_0x2b420d(0xb5)](_0x2176e8=>{var _0x4c1908=_0x2b420d;const _0x586e9a=this[_0x4c1908(0x1cf)][_0x4c1908(0xe9)][_0x4c1908(0x111)](this[_0x4c1908(0x1cf)]['interceptor'][_0x4c1908(0x34d)]()[_0x4c1908(0x2e0)])(_0x2176e8[_0x4c1908(0x33b)],null)||_0x2176e8[_0x4c1908(0x33b)];return{..._0x2176e8,'mutations':_0x586e9a};});this['_lockTransition'](),this[_0x2b420d(0x114)](this[_0x2b420d(0xbb)]['onMissedChangesetFetched'](_0x106d62)),this['_unlockTransition']();}[_0x46aeb6(0x17e)](){var _0x2f3b4f=_0x46aeb6;this[_0x2f3b4f(0x96)](),this[_0x2f3b4f(0x114)](this['_state'][_0x2f3b4f(0x226)]()),this[_0x2f3b4f(0x380)]();}[_0x46aeb6(0x26b)](_0x22da78=!0x1){var _0x438612=_0x46aeb6;this[_0x438612(0x96)](),this[_0x438612(0x114)](this[_0x438612(0xbb)][_0x438612(0x18c)]()),this[_0x438612(0x380)]();const _0xa7a188=this[_0x438612(0xbb)];_0x22da78&&_0xa7a188 instanceof exports[_0x438612(0x2ad)]&&(this[_0x438612(0x96)](),this[_0x438612(0x114)](_0xa7a188[_0x438612(0x180)]()),this[_0x438612(0x380)]());}async['_createInitialState'](){return new Promise(_0x20748c=>{var _0x40b5c6=_0x3338;this[_0x40b5c6(0x33e)][_0x40b5c6(0x33d)]['pipe'](j['take'](0x1))['subscribe'](async _0x6cf4c3=>{var _0x46d026=_0x40b5c6;_0x20748c(await this[_0x46d026(0x3f2)](_0x6cf4c3===se[_0x46d026(0x346)]));});});}['_createHandler'](){var _0x21a10c=_0x46aeb6;const _0x1b6233=this[_0x21a10c(0x3e5)];return{'onStateChange':(_0xc98ce5,_0x2accb0)=>{var _0x457337=_0x21a10c;if(_0xc98ce5!==this[_0x457337(0xbb)])throw new Error(_0x457337(0x3c6)+_0xc98ce5[_0x457337(0x190)]+_0x457337(0x2a6)+_0x2accb0['status']+_0x457337(0x12d)+this['_state'][_0x457337(0x190)]);this[_0x457337(0x114)](_0x2accb0);},'onSendChangeset':_0x4cca84=>{var _0x9f665=_0x21a10c;_0x4cca84['sid']||(_0x4cca84[_0x9f665(0x21c)]=this['_changesetSessionId'],_0x4cca84[_0x9f665(0x2db)]=++this['_changesetReqId']);const _0x117176={'eventID':g[_0x9f665(0x237)][_0x9f665(0x305)],'data':{'unitID':_0x4cca84[_0x9f665(0x3e5)],'unitType':this[_0x9f665(0x2ee)],'changeset':_0x4cca84,'memberID':this[_0x9f665(0x33e)]['getMemberID']()}};this[_0x9f665(0x33e)][_0x9f665(0x98)](_0x117176,this[_0x9f665(0x3e5)]);},'onMissingChangesets':({from:_0x5e4e93,to:_0x5a6088})=>{var _0x50c54c=_0x21a10c;this[_0x50c54c(0x40e)][_0x50c54c(0x3a7)](_0x50c54c(0xde),_0x50c54c(0xf6)+_0x5e4e93+_0x50c54c(0x377)+_0x5a6088);const _0x4ee7e6={'eventID':g[_0x50c54c(0x237)]['FETCH_MISSING'],'data':{'unitID':_0x1b6233,'unitType':this[_0x50c54c(0x2ee)],'from':_0x5e4e93,'to':_0x5a6088}};this[_0x50c54c(0x33e)][_0x50c54c(0x98)](_0x4ee7e6,this[_0x50c54c(0x3e5)]);}};}async['_createInitialStateImpl'](_0x39f561){var _0xe7ad50=_0x46aeb6,_0x4a84fe,_0x550f9d,_0x22bd5f;const _0x19b4e0=await((_0x4a84fe=this['_localCacheService'])==null?void 0x0:_0x4a84fe[_0xe7ad50(0x125)](this['unitID'])),_0x301873=(_0x550f9d=_0x19b4e0==null?void 0x0:_0x19b4e0[_0xe7ad50(0x33b)])!=null?_0x550f9d:[],_0x26a618=(_0x22bd5f=_0x19b4e0==null?void 0x0:_0x19b4e0[_0xe7ad50(0x326)])!=null?_0x22bd5f:null,_0x3c2905=!!(_0x26a618!=null&&_0x26a618['sid'])&&!!(_0x26a618!=null&&_0x26a618[_0xe7ad50(0x2db)]);this[_0xe7ad50(0x179)]=_0x3c2905?_0x26a618[_0xe7ad50(0x21c)]:di(),this[_0xe7ad50(0x21d)]=_0x3c2905?_0x26a618['reqId']:0x0;const _0x1d4370=this[_0xe7ad50(0x3e5)];try{this[_0xe7ad50(0x2fc)](_0x26a618,_0x301873);}catch(_0x416569){this['_logService']['error'](_0x416569);}const _0x46b000=this[_0xe7ad50(0x32b)]();if(_0x39f561){const _0x1f6ecc=Dt(this['_injector'],_0x1d4370,this['_type'],_0x26a618,_0x301873,_0x46b000);return _0x1f6ecc instanceof exports[_0xe7ad50(0xfa)]?_0x1f6ecc[_0xe7ad50(0xf8)]():(_0x1f6ecc instanceof exports[_0xe7ad50(0x170)]||_0x1f6ecc instanceof exports['AwaitingState'])&&_0x1f6ecc[_0xe7ad50(0x2b7)](),_0x1f6ecc;}return this['_injector'][_0xe7ad50(0x16c)](exports[_0xe7ad50(0x1a4)],_0x1d4370,this[_0xe7ad50(0x2ee)],_0x26a618,_0x301873,_0x46b000);}['_replayCachedMutations'](_0x39d401,_0xe10465){var _0x36d753=_0x46aeb6,_0x57a30d,_0x33368e;const _0x427fd6=this[_0x36d753(0x1cf)]['interceptor']['fetchThroughInterceptors'](this[_0x36d753(0x1cf)][_0x36d753(0xe9)][_0x36d753(0x34d)]()['COMPRESS_MUTATION_APPLY']);(_0x57a30d=_0x427fd6((_0x39d401==null?void 0x0:_0x39d401[_0x36d753(0x33b)])||[],null))==null||_0x57a30d[_0x36d753(0x30c)](_0x5eebbf=>this['_commandService'][_0x36d753(0x2ab)](_0x5eebbf['id'],_0x5eebbf[_0x36d753(0xf4)])),(_0x33368e=_0x427fd6(_0xe10465||[],null))==null||_0x33368e[_0x36d753(0x30c)](_0x4e0527=>this['_commandService'][_0x36d753(0x2ab)](_0x4e0527['id'],_0x4e0527[_0x36d753(0xf4)]));}},exports['CollaborationEntity']=We([$(0x3,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),$(0x4,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x3e0)])),$(0x5,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)])),$(0x6,a['Inject'](g[_0x46aeb6(0x15c)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x46aeb6(0x2b1)]),$(0x9,a[_0x46aeb6(0x1e7)]),$(0xa,a[_0x46aeb6(0x2c9)]),$(0xb,a[_0x46aeb6(0xad)](ve)),$(0xc,a[_0x46aeb6(0xad)](z))],exports['CollaborationEntity']),exports[_0x46aeb6(0x13d)]=class extends exports['CollaborationEntity']{constructor(_0x4d6348,_0x51b2b2,_0x25b335,_0x177597,_0x449f12,_0xe310b5,_0x39c298,_0x1f8d78,_0x23e877,_0x2582f5,_0x36f572,_0x9b3f7e,_0x49837e){var _0x23efff=_0x46aeb6;super(_0x4d6348,_0x25b335,_0x51b2b2,_0x177597,_0x449f12,_0xe310b5,_0x39c298,_0x1f8d78,_0x23e877,_0x2582f5,_0x36f572,_0x9b3f7e,_0x49837e),A(this,_0x23efff(0x3dc),null),(this['unitID']=_0x4d6348,this['type']=_0x51b2b2);}[_0x46aeb6(0x1eb)](_0x44912f){var _0x23ed6e=_0x46aeb6;this[_0x23ed6e(0x3dc)]=_0x44912f;}[_0x46aeb6(0x122)](){var _0x16de6f=_0x46aeb6;this[_0x16de6f(0x3dc)]=null,super[_0x16de6f(0x122)]();}[_0x46aeb6(0x32b)](){var _0x26d232=_0x46aeb6;const _0x131f53=super[_0x26d232(0x32b)]();return _0x131f53[_0x26d232(0x16b)]=_0x3e3ae6=>{var _0x5814c4=_0x26d232,_0x2c95c5,_0x24d6ab;return(_0x24d6ab=(_0x2c95c5=this[_0x5814c4(0x3dc)])==null?void 0x0:_0x2c95c5[_0x5814c4(0x16b)])==null?void 0x0:_0x24d6ab['call'](_0x2c95c5,_0x3e3ae6);},_0x131f53[_0x26d232(0x138)]=_0x1ca412=>{var _0x56e2f9=_0x26d232,_0x409615,_0x934169;return(_0x934169=(_0x409615=this[_0x56e2f9(0x3dc)])==null?void 0x0:_0x409615[_0x56e2f9(0x138)])==null?void 0x0:_0x934169['call'](_0x409615,_0x1ca412);},_0x131f53[_0x26d232(0x288)]=_0x4b90c8=>{var _0x3612eb=_0x26d232,_0x5f25bc,_0x3b1de2;return(_0x3b1de2=(_0x5f25bc=this[_0x3612eb(0x3dc)])==null?void 0x0:_0x5f25bc[_0x3612eb(0x288)])==null?void 0x0:_0x3b1de2[_0x3612eb(0x91)](_0x5f25bc,_0x4b90c8);},_0x131f53[_0x26d232(0x264)]=_0x244c9d=>{var _0x434f59=_0x26d232,_0x4c367d,_0x3a34c4;return(_0x3a34c4=(_0x4c367d=this[_0x434f59(0x3dc)])==null?void 0x0:_0x4c367d['onSyncEditingCollabCursor'])==null?void 0x0:_0x3a34c4[_0x434f59(0x91)](_0x4c367d,_0x244c9d);},_0x131f53[_0x26d232(0x315)]=_0x187904=>{var _0x4e1435=_0x26d232,_0x43416c,_0xb4dde,_0x3b262f;if(!((_0x43416c=this[_0x4e1435(0x3dc)])!=null&&_0x43416c[_0x4e1435(0x315)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3b262f=(_0xb4dde=this[_0x4e1435(0x3dc)])==null?void 0x0:_0xb4dde['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3b262f[_0x4e1435(0x91)](_0xb4dde,_0x187904);},_0x131f53['onTransformRemoteChangesetByStateCache']=_0x354177=>{var _0x584984=_0x26d232,_0x52d359,_0x246566,_0x5e6476;if(!((_0x52d359=this[_0x584984(0x3dc)])!=null&&_0x52d359[_0x584984(0x14c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5e6476=(_0x246566=this[_0x584984(0x3dc)])==null?void 0x0:_0x246566[_0x584984(0x14c)])==null?void 0x0:_0x5e6476['call'](_0x246566,_0x354177);},_0x131f53;}async[_0x46aeb6(0x3a2)](){var _0x3d5ae1=_0x46aeb6;const _0x229b0e=await super[_0x3d5ae1(0x3a2)]();return this[_0x3d5ae1(0x20b)](this['_commandService'][_0x3d5ae1(0x292)]((_0x1f40cf,_0x5f2cc9)=>{var _0x45e846=_0x3d5ae1;if(_0x1f40cf[_0x45e846(0x2c5)]!==a[_0x45e846(0x165)][_0x45e846(0x291)]||_0x5f2cc9!=null&&_0x5f2cc9[_0x45e846(0x119)]||_0x5f2cc9!=null&&_0x5f2cc9[_0x45e846(0x1a9)]||_0x1f40cf['id']===ut[_0x45e846(0x2e2)]['id'])return;const _0x54a3a1=_0x1f40cf[_0x45e846(0xf4)];if((_0x54a3a1==null?void 0x0:_0x54a3a1[_0x45e846(0x3ab)])!==this[_0x45e846(0x3e5)])return;const _0x501754=_0x1f40cf,_0x1fa4e6=this[_0x45e846(0x1cf)][_0x45e846(0xe9)][_0x45e846(0x111)](this['_compressMutationService']['interceptor'][_0x45e846(0x34d)]()[_0x45e846(0x218)])([_0x501754],null)||[_0x501754];this[_0x45e846(0x1fa)](_0x1fa4e6[0x0]);})),_0x229b0e;}},exports[_0x46aeb6(0x13d)]=We([$(0x3,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),$(0x4,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x3e0)])),$(0x5,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)])),$(0x6,a['Inject'](g[_0x46aeb6(0x15c)])),$(0x7,a[_0x46aeb6(0x136)](te)),$(0x8,a[_0x46aeb6(0x2b1)]),$(0x9,a[_0x46aeb6(0x1e7)]),$(0xa,a[_0x46aeb6(0x2c9)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x13d)]),exports['SheetCollaborationEntity']=class extends exports[_0x46aeb6(0x252)]{constructor(_0x5ee965,_0xc550d,_0x37d773,_0x992d9f,_0x254000,_0xacb15c,_0x13d3d6,_0xea597e,_0x20ee2d,_0x2d1f63,_0x4bf160,_0x1cada2,_0x4a3f48,_0x58f586){var _0x31fc90=_0x46aeb6;super(_0x5ee965,_0x37d773,_0xc550d,_0x992d9f,_0x254000,_0xacb15c,_0x13d3d6,_0x20ee2d,_0x2d1f63,_0x4bf160,_0x1cada2,_0x4a3f48,_0x58f586),this[_0x31fc90(0x3e5)]=_0x5ee965,this[_0x31fc90(0x2c5)]=_0xc550d,this[_0x31fc90(0xf2)]=_0xea597e;}[_0x46aeb6(0x32b)](){var _0x173641=_0x46aeb6;const _0x2ab44f=super[_0x173641(0x32b)]();return _0x2ab44f['onTransformSelections']=_0x7a8cb7=>this[_0x173641(0xf2)][_0x173641(0xc2)](_0x7a8cb7),_0x2ab44f;}async['_init'](){var _0x1dd8d4=_0x46aeb6;const _0x514fed=await super[_0x1dd8d4(0x3a2)]();return this[_0x1dd8d4(0x20b)](this['_commandService'][_0x1dd8d4(0x292)]((_0x1be8db,_0x5908eb)=>{var _0x329ecb=_0x1dd8d4;if(_0x1be8db[_0x329ecb(0x2c5)]!==a[_0x329ecb(0x165)][_0x329ecb(0x291)]||_0x5908eb!=null&&_0x5908eb[_0x329ecb(0x119)]||_0x5908eb!=null&&_0x5908eb[_0x329ecb(0x1a9)])return;const _0xe22112=_0x1be8db[_0x329ecb(0xf4)];if((_0xe22112==null?void 0x0:_0xe22112[_0x329ecb(0x3ab)])!==this['unitID'])return;const _0x361d7f=_0x1be8db,_0xf2e521=this[_0x329ecb(0x1cf)]['interceptor']['fetchThroughInterceptors'](this[_0x329ecb(0x1cf)][_0x329ecb(0xe9)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x361d7f],null)||[_0x361d7f];this['_onLocalMutation'](_0xf2e521[0x0]);})),_0x514fed;}},exports[_0x46aeb6(0x270)]=We([$(0x3,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),$(0x4,a[_0x46aeb6(0x136)](g[_0x46aeb6(0x3e0)])),$(0x5,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)])),$(0x6,a['Inject'](g[_0x46aeb6(0x15c)])),$(0x7,a[_0x46aeb6(0x136)](exports[_0x46aeb6(0x2e9)])),$(0x8,a[_0x46aeb6(0x136)](te)),$(0x9,a[_0x46aeb6(0x2b1)]),$(0xa,a[_0x46aeb6(0x1e7)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x46aeb6(0xad)](ve)),$(0xd,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x270)]);var Ti=Object[_0x46aeb6(0x103)],bi=(_0x5e6f35,_0x36e635,_0x16c8d3,_0x48768b)=>{for(var _0x516290=_0x48768b>0x1?void 0x0:_0x48768b?Ti(_0x36e635,_0x16c8d3):_0x36e635,_0x24715b=_0x5e6f35['length']-0x1,_0x16201b;_0x24715b>=0x0;_0x24715b--)(_0x16201b=_0x5e6f35[_0x24715b])&&(_0x516290=_0x16201b(_0x516290)||_0x516290);return _0x516290;},Pe=(_0x447823,_0x1aa007)=>(_0x12c3e3,_0x196a2c)=>_0x1aa007(_0x12c3e3,_0x196a2c,_0x447823);exports[_0x46aeb6(0x31c)]=class extends a[_0x46aeb6(0x17d)]{constructor(_0x2d0060,_0xf5db20,_0x5e9ea1){var _0x5719b5=_0x46aeb6;super(),A(this,_0x5719b5(0x260),new Map()),A(this,_0x5719b5(0x3c8),new j['Subject']()),A(this,_0x5719b5(0x182),this[_0x5719b5(0x3c8)][_0x5719b5(0x32a)]()),(this['_injector']=_0x2d0060,this[_0x5719b5(0x37b)]=_0xf5db20,this['_univerInstanceService']=_0x5e9ea1,this[_0x5719b5(0x3a2)]());}[_0x46aeb6(0x122)](){var _0x200d50=_0x46aeb6;super[_0x200d50(0x122)](),this[_0x200d50(0x260)][_0x200d50(0x30c)](_0x353bfb=>_0x353bfb['dispose']()),this[_0x200d50(0x260)][_0x200d50(0x117)]();}[_0x46aeb6(0x30a)](_0x1238d9){var _0x2cdd1e=_0x46aeb6,_0x237c7d;return(_0x237c7d=this['_entities'][_0x2cdd1e(0x25e)](_0x1238d9))!=null?_0x237c7d:null;}[_0x46aeb6(0x1ee)](_0x1aff37){var _0x52c62c=_0x46aeb6;const _0x3c7d69=this[_0x52c62c(0x30a)](_0x1aff37);return _0x3c7d69?j['of'](_0x3c7d69):this[_0x52c62c(0x3c8)]['pipe'](V[_0x52c62c(0x40c)](_0x7020e6=>_0x7020e6[_0x52c62c(0x3e5)]===_0x1aff37));}[_0x46aeb6(0x12b)](_0x216a2e){var _0x10a273=_0x46aeb6;return j[_0x10a273(0x102)](this[_0x10a273(0x1ee)](_0x216a2e)['pipe'](V[_0x10a273(0xb5)](()=>{})));}[_0x46aeb6(0x3a2)](){var _0x40750d=_0x46aeb6;this[_0x40750d(0x267)]['getTypeOfUnitAdded$'](a[_0x40750d(0x205)][_0x40750d(0x3ca)])[_0x40750d(0x20f)](j[_0x40750d(0x38a)](this[_0x40750d(0x379)]),V['delay'](0x10))[_0x40750d(0x224)](async _0x5f216b=>{var _0x52032a=_0x40750d;const _0x5024af=_0x5f216b['getUnitId'](),_0x46a3a9=await this['_startCollaboration'](_0x5024af,X[_0x52032a(0x3ca)]);this[_0x52032a(0x260)][_0x52032a(0x253)](_0x5024af,_0x46a3a9);}),this[_0x40750d(0x267)]['getTypeOfUnitAdded$'](a[_0x40750d(0x205)][_0x40750d(0x1c8)])[_0x40750d(0x20f)](j[_0x40750d(0x38a)](this['dispose$']),V[_0x40750d(0x95)](0x10))[_0x40750d(0x20f)](V[_0x40750d(0x40c)](_0x20d859=>!_0x20d859[_0x40750d(0x3f6)]()[_0x40750d(0x2ff)]('__')))[_0x40750d(0x224)](async _0x2141cb=>{var _0x429c88=_0x40750d;const _0x2c8955=_0x2141cb[_0x429c88(0x3f6)](),_0x42aae4=await this[_0x429c88(0xec)](_0x2c8955,X[_0x429c88(0x1c8)]);this[_0x429c88(0x260)][_0x429c88(0x253)](_0x2c8955,_0x42aae4);}),j[_0x40750d(0xb1)](this[_0x40750d(0x267)][_0x40750d(0x2f4)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x40750d(0x267)][_0x40750d(0x2f4)](a['UniverInstanceType']['UNIVER_DOC']))[_0x40750d(0x20f)](j[_0x40750d(0x38a)](this[_0x40750d(0x379)]))['subscribe'](_0x1b09d2=>{var _0x293893=_0x40750d;const _0x7c840b=_0x1b09d2[_0x293893(0x3f6)](),_0x4f7d83=this[_0x293893(0x260)][_0x293893(0x25e)](_0x7c840b);_0x4f7d83&&(_0x4f7d83[_0x293893(0x122)](),this[_0x293893(0x260)][_0x293893(0x251)](_0x7c840b));});}async['_startCollaboration'](_0x2a1786,_0x119ec2){var _0x1ff170=_0x46aeb6;const _0x33d2dd=await this[_0x1ff170(0x37b)]['requireSession'](_0x2a1786),_0x5a13e0=this[_0x1ff170(0x393)][_0x1ff170(0x16c)](this['_getCtorByUniverType'](_0x119ec2),_0x2a1786,_0x119ec2,_0x33d2dd);return await _0x5a13e0[_0x1ff170(0x31b)](),this[_0x1ff170(0x3c8)][_0x1ff170(0x3a5)](_0x5a13e0),_0x5a13e0;}[_0x46aeb6(0xb7)](_0x4673a7){var _0x3e1ae8=_0x46aeb6;switch(_0x4673a7){case X['UNIVER_DOC']:return exports[_0x3e1ae8(0x13d)];case X[_0x3e1ae8(0x3ca)]:return exports[_0x3e1ae8(0x270)];default:throw new Error(_0x3e1ae8(0x407)+_0x4673a7);}}},exports[_0x46aeb6(0x31c)]=bi([Pe(0x0,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x1b0)])),Pe(0x1,a[_0x46aeb6(0x136)](exports['CollaborationSessionService'])),Pe(0x2,a[_0x46aeb6(0x23d)])],exports['CollaborationController']);var Ri=Object[_0x46aeb6(0x103)],Oi=(_0x320445,_0x3b8fe3,_0x38e1c7,_0x4b6ae7)=>{for(var _0x4486f5=_0x4b6ae7>0x1?void 0x0:_0x4b6ae7?Ri(_0x3b8fe3,_0x38e1c7):_0x3b8fe3,_0x53db69=_0x320445['length']-0x1,_0x405161;_0x53db69>=0x0;_0x53db69--)(_0x405161=_0x320445[_0x53db69])&&(_0x4486f5=_0x405161(_0x4486f5)||_0x4486f5);return _0x4486f5;},Je=(_0x166ef0,_0x1bf2e9)=>(_0xebd459,_0x9ad5bf)=>_0x1bf2e9(_0xebd459,_0x9ad5bf,_0x166ef0);const yi=_0x46aeb6(0x3e4),Ni='Univer';function _0x3338(_0x511c74,_0x163be6){var _0xa1e47f=_0xa1e4();return _0x3338=function(_0x33382a,_0x2a1370){_0x33382a=_0x33382a-0x8e;var _0x5ee665=_0xa1e47f[_0x33382a];return _0x5ee665;},_0x3338(_0x511c74,_0x163be6);}let He=class extends a[_0x46aeb6(0x1d4)]{constructor(_0x420567,_0x130f4c){var _0xf79d2c=_0x46aeb6;super(),this[_0xf79d2c(0x267)]=_0x420567,this[_0xf79d2c(0x2d2)]=_0x130f4c,this[_0xf79d2c(0x3a2)]();}[_0x46aeb6(0x3a2)](){var _0x175682=_0x46aeb6;this['disposeWithMe'](this[_0x175682(0x267)][_0x175682(0x198)][_0x175682(0x224)](()=>{var _0x34837b=_0x175682,_0x268633;const _0xb71682=this['_univerInstanceService'][_0x34837b(0x1d0)]();let _0x20bf2e=(_0x268633=this['_configService'][_0x34837b(0x2a3)](yi))!=null?_0x268633:Ni;_0xb71682 instanceof a[_0x34837b(0x37d)]&&(_0x20bf2e=_0xb71682[_0x34837b(0x3d9)]),document[_0x34837b(0x21e)]=_0x20bf2e;}));}};He=Oi([Je(0x0,a[_0x46aeb6(0x23d)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x46aeb6(0x103)],Ui=(_0x13fb1b,_0x324083,_0x48e3df,_0x2eece8)=>{var _0x29d790=_0x46aeb6;for(var _0xf83e04=_0x2eece8>0x1?void 0x0:_0x2eece8?Di(_0x324083,_0x48e3df):_0x324083,_0x1f6fad=_0x13fb1b[_0x29d790(0x3f0)]-0x1,_0x3f1619;_0x1f6fad>=0x0;_0x1f6fad--)(_0x3f1619=_0x13fb1b[_0x1f6fad])&&(_0xf83e04=_0x3f1619(_0xf83e04)||_0xf83e04);return _0xf83e04;},we=(_0x1cf615,_0x38dcf2)=>(_0x63dc5e,_0x55d525)=>_0x38dcf2(_0x63dc5e,_0x55d525,_0x1cf615);let ye=class{constructor(_0x417ff0,_0x1294f0,_0xf45f71){var _0x5b878c=_0x46aeb6;this[_0x5b878c(0x2d2)]=_0x417ff0,this[_0x5b878c(0x1b3)]=_0x1294f0,this[_0x5b878c(0x323)]=_0xf45f71,this[_0x5b878c(0x31b)]();}['init'](){var _0x5d5d2d=_0x46aeb6;this[_0x5d5d2d(0x1b3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x531d55,_0x300048)=>_0x300048(_0x531d55)[_0x5d5d2d(0x20f)](j['concatMap'](async _0x56b7c2=>{var _0x26ebb2=_0x5d5d2d;const _0x229418=_0x56b7c2;if(_0x229418['status']===0x191){if(typeof window>'u')throw new Error(_0x26ebb2(0x3ea));if(window[_0x26ebb2(0x14a)](this[_0x26ebb2(0x323)]['t'](_0x26ebb2(0xd3)))){const _0x36b77b=window[_0x26ebb2(0xf3)](window[_0x26ebb2(0x3a3)][_0x26ebb2(0x143)]);window[_0x26ebb2(0x3a3)][_0x26ebb2(0x143)]=this[_0x26ebb2(0x3c7)]()+'?url='+_0x36b77b;}}return _0x229418;}))});}[_0x46aeb6(0x3c7)](){var _0x48c85b=_0x46aeb6,_0x2fed7b,_0x11341f;const _0x3453fb=this[_0x48c85b(0x2d2)][_0x48c85b(0x2a3)](Et),_0xe0b9d4=this['_configService'][_0x48c85b(0x2a3)](Y);return(_0x11341f=(_0x2fed7b=_0xe0b9d4==null?void 0x0:_0xe0b9d4[_0x48c85b(0xca)])!=null?_0x2fed7b:_0x3453fb)!=null?_0x11341f:Yt;}};ye=Ui([we(0x0,a[_0x46aeb6(0xdc)]),we(0x1,a[_0x46aeb6(0x136)](q[_0x46aeb6(0x24b)])),we(0x2,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x36a)]))],ye);var Ai=Object[_0x46aeb6(0x103)],Pi=(_0x1de2b7,_0xc41069,_0x562868,_0x3fc149)=>{var _0x4010a4=_0x46aeb6;for(var _0x294a12=_0x3fc149>0x1?void 0x0:_0x3fc149?Ai(_0xc41069,_0x562868):_0xc41069,_0x291d13=_0x1de2b7[_0x4010a4(0x3f0)]-0x1,_0x3ce935;_0x291d13>=0x0;_0x291d13--)(_0x3ce935=_0x1de2b7[_0x291d13])&&(_0x294a12=_0x3ce935(_0x294a12)||_0x294a12);return _0x294a12;},Xe=(_0xca2a93,_0x3eae79)=>(_0x584f8b,_0xaffb10)=>_0x3eae79(_0x584f8b,_0xaffb10,_0xca2a93);const Ge=_0x46aeb6(0x17b),wi=_0x46aeb6(0x3f1);exports[_0x46aeb6(0x35e)]=class extends a[_0x46aeb6(0x1d4)]{constructor(_0x394b1d,_0x26d393){var _0xb4937f=_0x46aeb6;super(),this[_0xb4937f(0x204)]=_0x394b1d,this[_0xb4937f(0x2d2)]=_0x26d393,this[_0xb4937f(0xed)]();}[_0x46aeb6(0xed)](){var _0x1f72a4=_0x46aeb6;const _0x512e59=this;this[_0x1f72a4(0x20b)](this[_0x1f72a4(0x204)][_0x1f72a4(0x391)]({'priority':0x3e7,'interceptor':q[_0x1f72a4(0x1f3)]({'isMatch'(_0x5ad268){var _0x523adf=_0x1f72a4,_0x3f858f;if(_0x5ad268[_0x523adf(0x382)]==='POST'&&((_0x3f858f=_0x5ad268[_0x523adf(0xeb)])!=null&&_0x3f858f[_0x523adf(0x93)])){const {objectID:_0xf00d3d,objectType:_0x55d7ba}=_0x5ad268['requestParams'][_0x523adf(0x93)]||{};if(!_0xf00d3d||_0x55d7ba===void 0x0)return!0x1;const _0x5442cc=_0x512e59[_0x523adf(0x277)]()+'/'+_0x55d7ba+_0x523adf(0x10e)+_0xf00d3d+'/allowed';if(_0x5ad268[_0x523adf(0xf0)]===_0x5442cc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x361d7e){var _0x415df4=_0x1f72a4,_0x46c76b;return(_0x46c76b=_0x361d7e[_0x415df4(0xeb)])==null?void 0x0:_0x46c76b['body'];},'mergeParamsToRequest'(_0x26678b,_0x283c2a){var _0x2fade2=_0x1f72a4;const _0x58ccc3=_0x512e59[_0x2fade2(0x277)]()+_0x2fade2(0x3e2),_0x532515=_0x26678b['reduce']((_0x2d1ee8,_0x4715c7)=>{var _0x1667bb=_0x2fade2;const {unitID:_0x196982,objectID:_0xb22f73,objectType:_0x11ec92,actions:_0x58ac8a}=_0x4715c7;return _0x2d1ee8[_0x196982]||(_0x2d1ee8[_0x196982]={}),_0x2d1ee8[_0x196982][_0xb22f73]||(_0x2d1ee8[_0x196982][_0xb22f73]={'objectID':_0xb22f73,'objectType':_0x11ec92,'actions':[]}),_0x2d1ee8[_0x196982][_0xb22f73]['actions'][_0x1667bb(0x106)](..._0x58ac8a),_0x2d1ee8;},{}),_0x49695d=[];for(const _0x1941f2 in _0x532515)for(const _0x58ba24 in _0x532515[_0x1941f2]){const {actions:_0x223dd3,objectType:_0x24cd1d}=_0x532515[_0x1941f2][_0x58ba24],_0x58820f=[...new Set(_0x223dd3)];_0x49695d['push']({'unitID':_0x1941f2,'objectID':_0x58ba24,'objectType':_0x24cd1d,'actions':_0x58820f});}return new q[(_0x2fade2(0x2a9))]('POST',_0x58ccc3,{'headers':_0x283c2a[_0x2fade2(0x38b)],'withCredentials':_0x283c2a[_0x2fade2(0x2e5)],'responseType':_0x283c2a[_0x2fade2(0x2da)],'body':{'requests':_0x49695d}});}},{'distributeResult'(_0x12fa6f,_0x1d9253){var _0x5999ee=_0x1f72a4;const {objectActions:_0x1c9c0c}=_0x12fa6f;return _0x1d9253[_0x5999ee(0xb5)](_0x2502fe=>{var _0x284198=_0x5999ee;const {unitID:_0x2a1a49,objectID:_0x2f661d,actions:_0x33909d}=_0x2502fe,_0x264dbe=_0x1c9c0c[_0x284198(0x24f)](_0xd520d5=>_0xd520d5['unitID']===_0x2a1a49&&_0xd520d5['objectID']===_0x2f661d),_0x50cdfb=_0x33909d[_0x284198(0xb5)](_0x5b4c4b=>_0x264dbe==null?void 0x0:_0x264dbe[_0x284198(0x3a4)][_0x284198(0x24f)](_0x2fbcbc=>_0x2fbcbc[_0x284198(0x225)]===_0x5b4c4b))[_0x284198(0x40c)](_0x24854d=>!!_0x24854d);return{'config':_0x2502fe,'result':{'actions':_0x50cdfb,'error':_0x12fa6f[_0x284198(0x409)]}};});}})}));}[_0x46aeb6(0x277)](){var _0x31d60a=_0x46aeb6,_0x2c64ff,_0x1cb037;const _0x56d624=this[_0x31d60a(0x2d2)][_0x31d60a(0x2a3)](Ge),_0x261f91=this[_0x31d60a(0x2d2)][_0x31d60a(0x2a3)](Y);return(_0x1cb037=(_0x2c64ff=_0x261f91==null?void 0x0:_0x261f91[_0x31d60a(0x1b6)])!=null?_0x2c64ff:_0x56d624)!=null?_0x1cb037:wi;}async[_0x46aeb6(0x2de)](_0x2d4114){var _0x58d3df=_0x46aeb6;const _0x13a094=this[_0x58d3df(0x277)]()+'/'+_0x2d4114[_0x58d3df(0x92)]+_0x58d3df(0x321);return(await this[_0x58d3df(0x204)][_0x58d3df(0x1de)](_0x13a094,{'body':_0x2d4114}))[_0x58d3df(0x93)]['objectID']||'';}async[_0x46aeb6(0x255)](_0x42e764){var _0x1e3e3c=_0x46aeb6;const _0x524c1a=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x1e3e3c(0x204)][_0x1e3e3c(0x1de)](_0x524c1a,{'body':_0x42e764}))[_0x1e3e3c(0x93)][_0x1e3e3c(0xbd)];}async[_0x46aeb6(0x351)](_0x33c7ad){var _0x2ff741=_0x46aeb6,_0x55638f,_0xcd59fc;const _0x17efc4=this[_0x2ff741(0x277)]()+'/'+_0x33c7ad['objectType']+_0x2ff741(0x10e)+_0x33c7ad[_0x2ff741(0x137)],_0x498c40=await this['_HTTPService'][_0x2ff741(0x148)](_0x17efc4,{'body':_0x33c7ad});if(((_0xcd59fc=(_0x55638f=_0x498c40==null?void 0x0:_0x498c40['body'])==null?void 0x0:_0x55638f[_0x2ff741(0x409)])==null?void 0x0:_0xcd59fc[_0x2ff741(0x3ef)])!==0x1)throw new Error(_0x2ff741(0x3e3));}async[_0x46aeb6(0x24a)](_0x1e9e3a){var _0x489eaf=_0x46aeb6;const _0x551a8c=this[_0x489eaf(0x277)]()+'/'+_0x1e9e3a[_0x489eaf(0x92)]+_0x489eaf(0x10e)+_0x1e9e3a[_0x489eaf(0x137)]+_0x489eaf(0x282);return(await this['_HTTPService'][_0x489eaf(0x1de)](_0x551a8c,{'body':_0x1e9e3a}))[_0x489eaf(0x93)][_0x489eaf(0x3a4)];}async[_0x46aeb6(0x34f)](_0x169462){var _0x265457=_0x46aeb6;const _0x438e7d=this['_getAPIPrefixPath']()+_0x265457(0x3e2);return(await this[_0x265457(0x204)]['post'](_0x438e7d,{'body':{'requests':_0x169462}}))['body'][_0x265457(0x1e2)];}async[_0x46aeb6(0x341)](_0x5c982a){var _0x3f00d4=_0x46aeb6;const _0x5a3d3d=this[_0x3f00d4(0x277)]()+'/'+_0x5c982a['objectType']+_0x3f00d4(0x13c),_0x3f60a1=await this[_0x3f00d4(0x204)]['post'](_0x5a3d3d,{'body':_0x5c982a});return{'roles':_0x3f60a1['body'][_0x3f00d4(0xcd)],'actions':_0x3f60a1[_0x3f00d4(0x93)][_0x3f00d4(0x3a4)]};}async[_0x46aeb6(0x11e)](_0x56ad37){var _0x5053c1=_0x46aeb6;const _0x65db07=this[_0x5053c1(0x277)]()+_0x5053c1(0x266);await this[_0x5053c1(0x204)][_0x5053c1(0x251)](_0x65db07,{'params':{'collaboratorID':_0x56ad37[_0x5053c1(0xd5)],'objectID':_0x56ad37[_0x5053c1(0x137)],'unitID':_0x56ad37[_0x5053c1(0x3e5)]}});}async[_0x46aeb6(0x129)](_0x2ed17a){var _0x201ced=_0x46aeb6;const _0xc4bed8=this['_getAPIPrefixPath']()+_0x201ced(0x266);await this[_0x201ced(0x204)][_0x201ced(0x1c2)](_0xc4bed8,{'body':_0x2ed17a});}async[_0x46aeb6(0x3db)](_0x1b1374){var _0x590a36=_0x46aeb6;const _0x5f1b43=this[_0x590a36(0x277)]()+_0x590a36(0x266);await this[_0x590a36(0x204)][_0x590a36(0x1de)](_0x5f1b43,{'body':_0x1b1374});}async[_0x46aeb6(0xdf)](_0x2fad15){var _0x22af94=_0x46aeb6;const _0x5351c0=this[_0x22af94(0x277)]()+'/collaborator';return(await this[_0x22af94(0x204)][_0x22af94(0x25e)](_0x5351c0,{'params':{'objectID':_0x2fad15[_0x22af94(0x137)],'unitID':_0x2fad15[_0x22af94(0x3e5)]}}))['body'][_0x22af94(0x1af)];}async[_0x46aeb6(0xe3)](_0x3c31b5){var _0x1a2dd3=_0x46aeb6;const _0x35894d=this[_0x1a2dd3(0x277)]()+_0x1a2dd3(0x266);await this[_0x1a2dd3(0x204)][_0x1a2dd3(0x148)](_0x35894d,{'body':_0x3c31b5});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x46aeb6(0x136)](q[_0x46aeb6(0x24b)])),Xe(0x1,a['Inject'](a[_0x46aeb6(0xdc)]))],exports['AuthzIoHttpService']);function _0xa1e4(){var _0x105102=['ConflictState','USERS_ENTER','onSyncEditingCollabCursor','Rectangle','/collaborator','_univerInstanceService','UnitStatus','unit-cache-','rev','_toggleOnline','_queuedRemoteChangesets','CollaborativeUndoRedoService','cfg','LICENSE_MAX_UNITS_EXCEEDED','SheetCollaborationEntity','joinRsp','UNKNOWN_CODE','_stopTelemetryCollaborationNewChangeset','_roomMembers','pending','_DEC_XFORM_MODE','_getAPIPrefixPath','image/jpeg','_minBufferSize','unknown','CHANGESET_SHOULD_RETRY','pauseCollaboration','IUndoRedoService','abs','image/png','_candidateSocket','getValue','/allowed','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getMember','originalMeta','byteLength','LOGIN_FAILED','onTransformSelections','changesets','error$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ciphertext','getSheetBlock','univer-pro.collaboration-client.single-active-unit-service','COLLAB_WEB_SOCKET_URL','getTypeOfUnitAdded$','MUTATION','onCommandExecuted','_iv','_parse','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','algo','Hasher','unitId\x20is\x20not\x20found','_socketReady','complete','/resources','getSnapshotAPIPath','Module','/universer-api/user/session-ticket','getWorkbookSelections','_initRequestHeader','_handler','getConfig','b64DecodeUnicode','_sender','\x0aAfter:\x20','_createInitialState','AWAITING_WITH_PENDING','HTTPRequest','_retryConnectingTimer','executeCommand','EvpKDF','SyncedState','SerializableCipher','_doProcessBlock','override','ILogService','startTime','words','decryptBlock','_append','Decryptor','resend','IDLE','parse','SheetPermissionInitController','_scheduleCollaborationTimeoutTimer','UNISCRIPT_RUN','_onRemoteChangeset','getTime','_registerDependencies','OpenSSL','_onRemoteRetry','values','SNAPSHOT_SERVER_URL_KEY','_event$','type','eventID','src','charCodeAt','IPermissionService','_applyRemoteChangeset','/universer-api/file/{fileID}/sign-url','json','enableAuthServer','SOCKET_FAILED','ICollaborationSocketService','randomBytes','getCurrentRevOfUnit','_configService','CollaborationSession','_incrementRevisionNumber','size','_onMessage','_keyPriorReset','@univerjs/drawing','lib','responseType','reqId','FETCH_MISSING','LICENSE_DISTRO_REJECTED','create','_socketMessageSubscription','COMPRESS_MUTATION_APPLY','LICENSE_IMPORT_SIZE_EXCEEDED','RichTextEditingMutation','_resendTimer','SOCKET_FAILED_RETRY','withCredentials','keySize','YUUMI_NO_CUBOID_FOR_QUESTION','append','SheetTransformSelectionsService','_getCurrentRevision','data','PERMISSION_DENIED','ImageUploadStatusType','_type','connection\x20error','ITelemetryService','INGEST','_key','AWAITING','getTypeOfUnitDisposed$','_doFinalize','disableLocalCache','OFFLINE','_tryEnsureSocket','SessionStatus','HttpExport','_hasher','_replayCachedMutations','onMissingChangesets','CHANGESET_ACK','startsWith','isInternalEditorID','FETCH_MISS','open$','_invKeySchedule','_initCloseConn','SUBMIT_CHANGESET','session.room-full','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socket$','mode','getCollabEntity','LEAVE','forEach','INVALID_ARGUMENT','_commentUpdate$','toString','encode','LIVESHARE_NEW_HOST','JOIN','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','2002515TznDdg','onTransformRemoteChangesetByIMECache','HEARTBEAT_TIMEOUT','pad','addImageSourceCache','stopTime','saveImage','init','CollaborationController','extend','[CollaborationState]:\x20apply\x20error!','_startTelemetryCollaborationNewChangeset','onCommentUpdate','/object','getUnitType','localeService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Could\x20not\x20dynamically\x20require\x20\x22','awaitingChangeset','onMissedChangesetFetched','ReplaySubject','_collaborationTimeoutTimer','asObservable','_createHandler','transformStack\x20failed!','@univerjs-pro/license','cmd','EXCHANGE_SIGN_URL_SERVER_URL_KEY','awaiting','[SyncedState]:\x20received\x20acknowledgement.','session.room-permission-denied','key','resourceIDs','_doCryptBlock','@univerjs/docs','CLOSE_ROOM','_clearScheduledTask','touchDependencies','_substituteUndoStack','mutations','NO_OTHER_CLIENTS_EDITING','sessionStatus$','session','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','salt','listRoles','&to=','isTransformMutationsWithChangesetFailure','Base','catch','ONLINE','_onConflict','isArray','compute','isPermissionRej','getLocalCacheKey','csRejEvent','getInterceptPoints','_initUnitPermissionChange','batchAllowed','BlockCipher','update','CONFLICT','NoPadding','hostname','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','socket\x20close','CHANGESET_REJ','findIndex','deepClone','collaMsg','YUUMI_RATE_OVER_LIMIT','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','INVITE_CODE_ALREADY_BOUND','AuthzIoHttpService','Quantity','sessionStatus','_keySchedule','toStringTag','baseRev','_removeRoom','range','INTERNAL_ERROR','_undoStacks','SNAPSHOT_HAS_BEEN_REMOVED','_syncEditingCollabCursor','LocaleService','[OfflineState]:\x20received\x20rejection.','concat','compose','99656OgJSlm','reconnect','commentUpdateEvent','slice','_cipher','onRemoteChangeset','_sendingTimer','[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.','getSheetId','\x20to\x20','_scheduleCompleteTimestamp','dispose$','@univerjs/telemetry','_collabSessionService','floor','Workbook','_mode','take','_unlockTransition','UserManagerService','method','clamp','close$','DependentOn','2736000mMuGOq','updateMember','ERROR_IMAGE_TYPE','_redoStacks','takeUntil','headers','synced','_localCacheService','16409358CrjUfN','AwaitingState','createIdentifier','registerHTTPInterceptor','_userManagerService','_injector','localCacheService','[FetchMissState]','_unitID','_timeoutTimer','_throwTelemetryCollaborationNewChangeset','c2Prime','iterations','unitInfo$','@univerjs/core','CollaborationSocketService','HEARTBEAT_TIMEOUT_KEY','retryConnectingInterval','_instanceService','_telemetryService','_init','location','actions','next','__Key__','debug','_createHelper','_imageSourceCache','exports','unitId','_collaborationUIEventService','socketService','_awaitingChangeset','duration','getUnit','failed\x20to\x20apply\x20missed\x20changesets!','ITransformService','target','INVITE_CODE_HAS_BEEN_UES','state$','/universer-api/comb','APPLY_NON_SEQUENTIAL_REVISION','_getAPIPrefix','COLLAB_WEB_SOCKET_URL_KEY','FAIL','_networkConditionService','awaiting_with_pending','161qqvcqK','session.join-failed','result','getImage','editingUnit','UNIVER_SLIDE','image/jpg','reverse','equals','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getLoginPath','_entityInit$','@univerjs-pro/collaboration','UNIVER_SHEET','saveSnapshot','univer-pro.collaboration-client.network-condition.service','members$','_clearTimeoutTimer','TOO_MANY_REQUESTS','_onRecvEvent','JOIN_ROOM_NOT_EXISTS','NOT_FOUND','MD5','_onConnectionFailed','getLatestCsReqIdBySid','_collaborationPaused','charAt','BehaviorSubject','name','_clearRedo','createCollaborator','_handlerCallback','createSocket','_nRounds','_fetchMissChangesets','CompressMutationService','_executeRemoteChangeset','/-/object/-/batch_allowed','Failed\x20to\x20update\x20permission\x20point','DEFAULT_FILE_NAME','unitID','_oKey','conflict','rxjs','CollaborationImageIoService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_loadSheet','Base64','toDisposable','UNRECOGNIZED','code','length','/universer-api/authz','_createInitialStateImpl','updateOfflineData','LocalUndoRedoService','univer-pro.collaboration-client-socket-service','getUnitId','join','online$','ceil','reject','MentionIoHttpService','/universer-api/snapshot','BlockCipherMode','incrementRevOfUnit','requireSession','origin','getRandomValues','Undefined','uniscriptRunEvent','event$','getAllMembers','JOINING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','FetchingMissState','error','reset','UPDATE_CURSOR','filter','YUUMI_UNABLE_LOAD_URL','_logService','_onJoinRoomEvent','_showConflictNotification','function','_prevBlock','[OfflineState]:\x20received\x20changeset.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getDeserializedSheetBlock','_permissionService','BASE64','collabSubmitChangesetUrl','randomUUID','call','objectType','body','onLocalMutation','delay','_lockTransition','_clearLocalCache','send','default','2gmVSIG','_submitChangeset','_decreaseWaiting','enableSingleActiveInstanceLock','ISnapshotServerService','apply','_shouldReportTelemetry','Tools','_members','_onUserJoin','_onRemoteRejected','OTHER_CLIENTS_EDITING','_transformStateCache','_clearHeartbeatTimer','_updateStatus','bind','_getUploadFileURL','_roomCreated$','@univerjs/network','Optional','collaboration_new_changeset','isTransformMutationsWithChangesetSuccess','textRanges','merge','IImageIoService','USERS_LEAVE','kdf','map','BufferedBlockAlgorithm','_getCtorByUniverType','IMentionIOService','indexOf','&assign=','_state','SnapshotServerOverHTTPService','objects','_map','_transformStack','random','Subject','transformSelections','_listenToNetworkCondition','_eventService','formatter','_undoRedoService','/universer-api/stream/file/upload','subUnitId','shareReplay','loginUrlKey','_tryReconnect','string','roles','_collaborationSessionService','JSONX','_resendWithTimeout','JOIN_ROOM_FAILED','_ENC_XFORM_MODE','auth.needGotoLoginAlert','UserProfileImg','collaboratorID','_snapshotService','_onUserLeave','clone','removeMember','UniverCollaborationClientPlugin','_onRemoteACK','IConfigService','initWorkbookPermissionChange','[CollaborationEntity]','listCollaborators','HEARTBEAT','image/bmp','YUUMI_SUBSCRIPTION_NOT_FOUND','putCollaborators','_socket','UnitEmbedded','$super','setCurrentUser','JOIN_ROOM_FULL','interceptor','POST','requestParams','_startCollaboration','_initMergeInterceptor','_emitMembers','MOBILE_HAS_BEEN_BOUND','url','mergeOverrideWithDependencies','_sheetTransformSelectionsService','encodeURIComponent','params','MSG_FOR_ERROR','fetching\x20missing\x20changesets\x20from\x20','UPDATE_PERMISSION_OBJ','_schedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','PendingState','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationSession]','transformMutationsWithChangeset','[DataLoaderService]','/new_changes','_nDataBytes','firstValueFrom','getOwnPropertyDescriptor','transformChangesets','_initDependencies','push','YUUMI_ASYNCIO_CANCELLED','_telemetryInfo','@univerjs/sheets','_transformRemoteChangesetByStateCache','decrypt','CollaborationSessionService','_hash','/object/','1311320zOuABg','getCurrentUser','fetchThroughInterceptors','execute','Cipher','_updateState','YUUMI_URL_COL_OUT_OF_RANGE','UNAUTHENTICATED','clear','__esModule','fromCollab','PSEUDO_FETCH_MISSING_RESULT','prototype','RECV','&source=','deleteCollaborator','_resendTimeout','has','/universer-api/snapshot/','dispose','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','max','loadOfflineData','Encryptor','\x20in\x20_schedule.','_members$','updateCollaborator','_data','readyForCollab','copyFileMeta','\x0aCurrent:\x20','_waitForHeartbeatResponse','_retryCount','routeKey','LIVESHARE_REQUEST_HOST','LOCAL_CACHE_INTERVAL','then','WordArray','ENSURE_SNAPSHOT_EXECUTION','Inject','objectID','onTransformState','leaveEvent','onRemoteAck','MentionType','/role','DocCollaborationEntity','hasOwnProperty','UNDEFINED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CHANGESET_REVISION_CONFILICT','_status$','href','_joinRoom','createDecryptor','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','put','[PendingState]:\x20received\x20acknowledgement.','confirm','signUrlServerUrl','onTransformRemoteChangesetByStateCache','4177230LHOUBM','_replaceFileID','SNAPSHOT_URL_KEY','[CollaborationSessionService]:\x20socket\x20error','UnitSnapshot','resolve','hasher','transformUndoRedo','_transformService','_iKey','OPTIONAL','_singleActiveUnitService','HEARTBEAT_INTERVAL','UNIVER_PROJECT','/universer-api/oidc/authpage','RevisionService','/block/','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_onConnectionOpen','editing\x20status\x20changed\x20to','snapshot','COLLAB_SUBMIT_CHANGESET_URL_KEY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','every','CommandType','PERSON','NOT_COLLAB','_createSocket','NEW_CHANGESETS','sigBytes','onTransformIME','createInstance','Error\x20on\x20receiving\x20event','HMAC','/universer-api/uniscript','AwaitingWithPendingState','_transformSelections','[CollaborationUndoRedoService]','_transformUndoredo','LIVESHARE_FETCH_OPERATIONS','SEND_CHANGESET_TIMEOUT','getUnitOnRev','status$','ThresholdInterceptorFactory','_changesetSessionId','_snapshotServerService','AUTHZ_URL_KEY','LOGIN_URL_KEY','RxDisposable','_toggleOffline','MemberService','fetchMiss','_transformRemoteChangesetByIMECache','entityInit$','sequenceExecute','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unpad','COMMENT_UPDATE','_exhaustRemoteChangesetQueue','stringify','pluginName','CBC','_rescheduleHeartbeat','toggleOnline','offline','CONNECTOR_DATA_TOO_LARGE','PY_RUNTIME_SCRIPT_ERROR','status','CommentService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getUndoStack','collaboration-client.config','reduce','APPLY_DUPLICATED','telemetry\x20info\x20is\x20not\x20initialized','focused$','now','parseProtocolChangeset','_memberService','mapDocumentTypeToUniverType','defineProperty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onRemoteRetry','includes','closeSession','_sessions','message$','OfflineState','snapshotServerUrl','[CollaborationSessionService]','DataLoaderService','parseChangesetToProtocol','onlyLocal','InsertSheetMutation','finalize','APPLY_REJECT','setWaitCount','LIVESHARE_OPERATION','collaborators','Injector','symbol','COMPLETION_FINISHED','_httpService','/unit/','updatePermissionPoint','authzUrl','DEFAULT_COLLAB_WEB_SOCKET_URL','IAuthzIoService','StreamCipher','c1Prime','padding','_remoteChangesetQueue','_disableEditing','fromCharCode','appendMutation','_substituteRedoStack','GLOBAL_ROOMS_CNT_EXCEEDS','patch','uploadFileServerUrl','state','Utf8','waitForRoom$','subject','UNIVER_DOC','_doReset','199641ZLZgna','RETRY_CONNECTING_MAX_COUNT','msCrypto','getActiveSheet','commentUpdate$','_compressMutationService','getFocusedUnit','ERROR_IMAGE','People','x-univer-host','Disposable','INVITE_CODE_REQUIRED','_clearCollaborationTimeoutTimer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','processBlock','_process','_commentService','?size=','AES','LIVESHARE_TERMINATE','post','_updateLocalCache','_sendHeartbeat','buffer','objectActions','_config','updatePermissionObjEvent','enc','HELLO','ICommandService','[SyncedState]:\x20received\x20rejection.','updateCursorEvent','fetch_missing','addHandlerCallback','emitEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCollabEntity$','APPLY_REVISION_CONFILICT','saveChangeset','selections','blockSize','MergeInterceptorFactory','FileId','image/gif','Plugin','SHOULD_CLOSE_CONN','_getSendChangesetTimeout','mixIn','_onLocalMutation','m2Prime','_sendHeartbeatTimer','newCsEvent','HEARTBEAT_INTERVAL_KEY','avatar','onSendChangeset','WECHAT_HAS_BEEN_BOUND','_createHmacHelper','splice','_HTTPService','UniverInstanceType','sheets','session.room-not-exists','_unitInfo$','unsubscribe','getRoom','disposeWithMe','loadUnit','saveSheetBlock','rxjs/operators','pipe','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','serializeCombRequest','userID','memberID','close','SheetsSelectionsService','byteOffset','_onFetchMissResult','COMPRESS_MUTATION_SEND','_transitionLocked','_acknowledgedAwaitingChangeset','_sessionStatus$','sid','_changesetReqId','title','UNIVER_UNKNOWN','_getDownloadEndpointURL','_waitCount','SUBMIT_CHANGESET_TIMEOUT','_localeService','subscribe','action','toggleOffline','socket\x20open.','ivSize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','encrypt','permissionRejEvent','EmptyMutation','format','COLLAB_SUBMIT_CHANGESET_URL','generateRandomId','collabWebSocketUrl','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ImageSourceType','setShowComponents','revision','file','registerDependencies','CollaborationEvent','OTHER_CLIENT_EDITING','Pkcs7','_onOffline','change$','_loadDoc','IUniverInstanceService','add','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ILocalCacheService','onRemoteRej','_change$','JOIN_ROOM_PERMISSION_DENIED','EMAIL_HAS_BEEN_BOUND','createEncryptor','crypto','loadSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','allowed','HTTPService','_getRedoStack','SHA1','WorkbookEditablePermission','find','_revisionService','delete','CollaborationEntity','set','_commandService','list','/rev/','_getSignURL','INVALID_INVITE_CODE','loadDoc','getImageSourceCache','_socketService','_clearRetryConnectingTimer','_checkMissing','get','_xformMode','_entities','_pendingMutations'];_0xa1e4=function(){return _0x105102;};return _0xa1e4();}var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x68fe47){var _0x44a304=_0x46aeb6;return _0x68fe47&&_0x68fe47[_0x44a304(0x118)]&&Object[_0x44a304(0x11b)][_0x44a304(0x13e)][_0x44a304(0x91)](_0x68fe47,_0x44a304(0x99))?_0x68fe47[_0x44a304(0x99)]:_0x68fe47;}var fe={'exports':{}};function Li(_0x2d083d){var _0x12dd57=_0x46aeb6;throw new Error(_0x12dd57(0x325)+_0x2d083d+_0x12dd57(0x283));}var pe={'exports':{}},Mi=pe[_0x46aeb6(0x3aa)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x3e981d,_0x45861f){(function(_0x2ea2de,_0x4baad5){var _0x3b7e1a=_0x3338;_0x3e981d[_0x3b7e1a(0x3aa)]=_0x4baad5();}(Mi,function(){var _0x111e74=_0x111e74||function(_0x21bad8,_0x3d4243){var _0x102643=_0x3338,_0x4bb79e;if(typeof window<'u'&&window[_0x102643(0x247)]&&(_0x4bb79e=window[_0x102643(0x247)]),typeof self<'u'&&self[_0x102643(0x247)]&&(_0x4bb79e=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4bb79e=globalThis['crypto']),!_0x4bb79e&&typeof window<'u'&&window['msCrypto']&&(_0x4bb79e=window[_0x102643(0x1cc)]),!_0x4bb79e&&typeof Le<'u'&&Le[_0x102643(0x247)]&&(_0x4bb79e=Le[_0x102643(0x247)]),!_0x4bb79e&&typeof Li==_0x102643(0x411))try{_0x4bb79e=require(_0x102643(0x247));}catch{}var _0x146081=function(){var _0x48d5e1=_0x102643;if(_0x4bb79e){if(typeof _0x4bb79e[_0x48d5e1(0x401)]=='function')try{return _0x4bb79e[_0x48d5e1(0x401)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4bb79e[_0x48d5e1(0x2d0)]==_0x48d5e1(0x411))try{return _0x4bb79e[_0x48d5e1(0x2d0)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x48d5e1(0x28b));},_0x1d911=Object[_0x102643(0x2de)]||(function(){function _0x31bd48(){}return function(_0x333f5d){var _0x1f5383=_0x3338,_0x3e902e;return _0x31bd48['prototype']=_0x333f5d,_0x3e902e=new _0x31bd48(),_0x31bd48[_0x1f5383(0x11b)]=null,_0x3e902e;};}()),_0x661b6c={},_0x27d6a9=_0x661b6c['lib']={},_0x1f7f3d=_0x27d6a9[_0x102643(0x344)]=(function(){return{'extend':function(_0x4bf11f){var _0x1d4a73=_0x3338,_0x5b2763=_0x1d911(this);return _0x4bf11f&&_0x5b2763[_0x1d4a73(0x1f9)](_0x4bf11f),(!_0x5b2763['hasOwnProperty']('init')||this['init']===_0x5b2763['init'])&&(_0x5b2763[_0x1d4a73(0x31b)]=function(){var _0x3c42f9=_0x1d4a73;_0x5b2763[_0x3c42f9(0xe6)]['init'][_0x3c42f9(0x9f)](this,arguments);}),_0x5b2763[_0x1d4a73(0x31b)][_0x1d4a73(0x11b)]=_0x5b2763,_0x5b2763[_0x1d4a73(0xe6)]=this,_0x5b2763;},'create':function(){var _0x5b491c=_0x3338,_0x3edbca=this[_0x5b491c(0x31d)]();return _0x3edbca[_0x5b491c(0x31b)][_0x5b491c(0x9f)](_0x3edbca,arguments),_0x3edbca;},'init':function(){},'mixIn':function(_0x3994d3){var _0x3d4943=_0x3338;for(var _0x3cb4cd in _0x3994d3)_0x3994d3[_0x3d4943(0x13e)](_0x3cb4cd)&&(this[_0x3cb4cd]=_0x3994d3[_0x3cb4cd]);_0x3994d3[_0x3d4943(0x13e)]('toString')&&(this[_0x3d4943(0x30f)]=_0x3994d3['toString']);},'clone':function(){var _0x1b8433=_0x3338;return this[_0x1b8433(0x31b)][_0x1b8433(0x11b)][_0x1b8433(0x31d)](this);}};}()),_0x2232a4=_0x27d6a9[_0x102643(0x134)]=_0x1f7f3d['extend']({'init':function(_0x27ee4b,_0x59acf2){var _0x5c6370=_0x102643;_0x27ee4b=this['words']=_0x27ee4b||[],_0x59acf2!=_0x3d4243?this[_0x5c6370(0x16a)]=_0x59acf2:this['sigBytes']=_0x27ee4b['length']*0x4;},'toString':function(_0x2e16aa){var _0x42b370=_0x102643;return(_0x2e16aa||_0x26d6f7)[_0x42b370(0x188)](this);},'concat':function(_0x3136c5){var _0x339a01=_0x102643,_0x23f40e=this[_0x339a01(0x2b3)],_0x1bfce2=_0x3136c5[_0x339a01(0x2b3)],_0x4590d6=this[_0x339a01(0x16a)],_0x586d90=_0x3136c5[_0x339a01(0x16a)];if(this['clamp'](),_0x4590d6%0x4)for(var _0x289359=0x0;_0x289359<_0x586d90;_0x289359++){var _0x5a8925=_0x1bfce2[_0x289359>>>0x2]>>>0x18-_0x289359%0x4*0x8&0xff;_0x23f40e[_0x4590d6+_0x289359>>>0x2]|=_0x5a8925<<0x18-(_0x4590d6+_0x289359)%0x4*0x8;}else{for(var _0x4b36e8=0x0;_0x4b36e8<_0x586d90;_0x4b36e8+=0x4)_0x23f40e[_0x4590d6+_0x4b36e8>>>0x2]=_0x1bfce2[_0x4b36e8>>>0x2];}return this[_0x339a01(0x16a)]+=_0x586d90,this;},'clamp':function(){var _0xf5e791=_0x102643,_0x54ab6e=this[_0xf5e791(0x2b3)],_0x278df0=this['sigBytes'];_0x54ab6e[_0x278df0>>>0x2]&=0xffffffff<<0x20-_0x278df0%0x4*0x8,_0x54ab6e[_0xf5e791(0x3f0)]=_0x21bad8[_0xf5e791(0x3f9)](_0x278df0/0x4);},'clone':function(){var _0x514acc=_0x102643,_0xfb0fb7=_0x1f7f3d[_0x514acc(0xd8)][_0x514acc(0x91)](this);return _0xfb0fb7['words']=this[_0x514acc(0x2b3)]['slice'](0x0),_0xfb0fb7;},'random':function(_0x132c91){var _0x21673d=_0x102643;for(var _0x2a6201=[],_0xa6322c=0x0;_0xa6322c<_0x132c91;_0xa6322c+=0x4)_0x2a6201['push'](_0x146081());return new _0x2232a4[(_0x21673d(0x31b))](_0x2a6201,_0x132c91);}}),_0x3bbe28=_0x661b6c[_0x102643(0x1e5)]={},_0x26d6f7=_0x3bbe28['Hex']={'stringify':function(_0x5bbeb6){var _0x1a9ce1=_0x102643;for(var _0x1064d4=_0x5bbeb6[_0x1a9ce1(0x2b3)],_0x300f24=_0x5bbeb6['sigBytes'],_0x446acb=[],_0x407e58=0x0;_0x407e58<_0x300f24;_0x407e58++){var _0x13cf27=_0x1064d4[_0x407e58>>>0x2]>>>0x18-_0x407e58%0x4*0x8&0xff;_0x446acb[_0x1a9ce1(0x106)]((_0x13cf27>>>0x4)['toString'](0x10)),_0x446acb['push']((_0x13cf27&0xf)[_0x1a9ce1(0x30f)](0x10));}return _0x446acb['join']('');},'parse':function(_0x5f2254){var _0x1a6aab=_0x102643;for(var _0x128ef1=_0x5f2254[_0x1a6aab(0x3f0)],_0x4e1221=[],_0xdef4d2=0x0;_0xdef4d2<_0x128ef1;_0xdef4d2+=0x2)_0x4e1221[_0xdef4d2>>>0x3]|=parseInt(_0x5f2254['substr'](_0xdef4d2,0x2),0x10)<<0x18-_0xdef4d2%0x8*0x4;return new _0x2232a4[(_0x1a6aab(0x31b))](_0x4e1221,_0x128ef1/0x2);}},_0x347472=_0x3bbe28['Latin1']={'stringify':function(_0x115db3){var _0x1621c5=_0x102643;for(var _0x58faab=_0x115db3[_0x1621c5(0x2b3)],_0x50771b=_0x115db3[_0x1621c5(0x16a)],_0xc2e3a5=[],_0x4d3ab4=0x0;_0x4d3ab4<_0x50771b;_0x4d3ab4++){var _0x5abe4c=_0x58faab[_0x4d3ab4>>>0x2]>>>0x18-_0x4d3ab4%0x4*0x8&0xff;_0xc2e3a5[_0x1621c5(0x106)](String[_0x1621c5(0x1be)](_0x5abe4c));}return _0xc2e3a5[_0x1621c5(0x3f7)]('');},'parse':function(_0x27b8ef){var _0x53c18d=_0x102643;for(var _0x6c2d98=_0x27b8ef[_0x53c18d(0x3f0)],_0x116a17=[],_0x425333=0x0;_0x425333<_0x6c2d98;_0x425333++)_0x116a17[_0x425333>>>0x2]|=(_0x27b8ef[_0x53c18d(0x2c8)](_0x425333)&0xff)<<0x18-_0x425333%0x4*0x8;return new _0x2232a4[(_0x53c18d(0x31b))](_0x116a17,_0x6c2d98);}},_0x4221e9=_0x3bbe28[_0x102643(0x1c5)]={'stringify':function(_0x54a3d6){var _0x4ecf1e=_0x102643;try{return decodeURIComponent(escape(_0x347472[_0x4ecf1e(0x188)](_0x54a3d6)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xbcdb33){var _0x451968=_0x102643;return _0x347472[_0x451968(0x2b9)](unescape(encodeURIComponent(_0xbcdb33)));}},_0x47d9a9=_0x27d6a9[_0x102643(0xb6)]=_0x1f7f3d[_0x102643(0x31d)]({'reset':function(){var _0x13d834=_0x102643;this[_0x13d834(0x12a)]=new _0x2232a4[(_0x13d834(0x31b))](),this[_0x13d834(0x101)]=0x0;},'_append':function(_0x472d43){var _0x4f3b48=_0x102643;typeof _0x472d43==_0x4f3b48(0xcc)&&(_0x472d43=_0x4221e9[_0x4f3b48(0x2b9)](_0x472d43)),this[_0x4f3b48(0x12a)]['concat'](_0x472d43),this[_0x4f3b48(0x101)]+=_0x472d43[_0x4f3b48(0x16a)];},'_process':function(_0x1682b0){var _0x5e7668=_0x102643,_0x492466,_0x264b9f=this[_0x5e7668(0x12a)],_0x24887b=_0x264b9f['words'],_0x314abf=_0x264b9f[_0x5e7668(0x16a)],_0x4c73a6=this[_0x5e7668(0x1f2)],_0x2f8da2=_0x4c73a6*0x4,_0x40f048=_0x314abf/_0x2f8da2;_0x1682b0?_0x40f048=_0x21bad8[_0x5e7668(0x3f9)](_0x40f048):_0x40f048=_0x21bad8[_0x5e7668(0x124)]((_0x40f048|0x0)-this[_0x5e7668(0x279)],0x0);var _0x5efc54=_0x40f048*_0x4c73a6,_0x2c146a=_0x21bad8['min'](_0x5efc54*0x4,_0x314abf);if(_0x5efc54){for(var _0x37b94a=0x0;_0x37b94a<_0x5efc54;_0x37b94a+=_0x4c73a6)this[_0x5e7668(0x2af)](_0x24887b,_0x37b94a);_0x492466=_0x24887b[_0x5e7668(0x203)](0x0,_0x5efc54),_0x264b9f[_0x5e7668(0x16a)]-=_0x2c146a;}return new _0x2232a4[(_0x5e7668(0x31b))](_0x492466,_0x2c146a);},'clone':function(){var _0x175ad5=_0x102643,_0x43f7ff=_0x1f7f3d[_0x175ad5(0xd8)]['call'](this);return _0x43f7ff[_0x175ad5(0x12a)]=this['_data']['clone'](),_0x43f7ff;},'_minBufferSize':0x0});_0x27d6a9[_0x102643(0x298)]=_0x47d9a9[_0x102643(0x31d)]({'cfg':_0x1f7f3d[_0x102643(0x31d)](),'init':function(_0xc3e018){var _0x25a0ab=_0x102643;this['cfg']=this[_0x25a0ab(0x26e)]['extend'](_0xc3e018),this[_0x25a0ab(0x40a)]();},'reset':function(){var _0x3ce941=_0x102643;_0x47d9a9[_0x3ce941(0x40a)][_0x3ce941(0x91)](this),this[_0x3ce941(0x1c9)]();},'update':function(_0x3d6eb0){var _0x572102=_0x102643;return this[_0x572102(0x2b5)](_0x3d6eb0),this['_process'](),this;},'finalize':function(_0x22e470){var _0x2b9ceb=_0x102643;_0x22e470&&this[_0x2b9ceb(0x2b5)](_0x22e470);var _0x526737=this[_0x2b9ceb(0x2f5)]();return _0x526737;},'blockSize':0x10,'_createHelper':function(_0x20e642){return function(_0x38cfe5,_0x3a92b0){var _0x529de0=_0x3338;return new _0x20e642[(_0x529de0(0x31b))](_0x3a92b0)[_0x529de0(0x1ab)](_0x38cfe5);};},'_createHmacHelper':function(_0x1594b0){return function(_0x115652,_0x596b95){var _0x1335b3=_0x3338;return new _0x82e4f4[(_0x1335b3(0x16e))]['init'](_0x1594b0,_0x596b95)[_0x1335b3(0x1ab)](_0x115652);};}});var _0x82e4f4=_0x661b6c[_0x102643(0x297)]={};return _0x661b6c;}(Math);return _0x111e74;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x46aeb6(0x3aa)],Qe;function Ut(){var _0x67bfa7=_0x46aeb6;return Qe||(Qe=0x1,function(_0x3092be,_0x5b2de4){(function(_0x22239a,_0x4eb922){var _0x2be896=_0x3338;_0x3092be[_0x2be896(0x3aa)]=_0x4eb922(ee());}(xi,function(_0x453c86){var _0x5b134f=_0x3338;return(function(){var _0x486011=_0x3338,_0x1cafc1=_0x453c86,_0x15f19a=_0x1cafc1[_0x486011(0x2d9)],_0x5e2d64=_0x15f19a[_0x486011(0x134)],_0x5c5c4c=_0x1cafc1['enc'];_0x5c5c4c[_0x486011(0x3ec)]={'stringify':function(_0x51dc04){var _0x340592=_0x486011,_0x54e82d=_0x51dc04['words'],_0x3fa2b2=_0x51dc04[_0x340592(0x16a)],_0x2aed66=this[_0x340592(0xbe)];_0x51dc04['clamp']();for(var _0x51b865=[],_0x40f90a=0x0;_0x40f90a<_0x3fa2b2;_0x40f90a+=0x3)for(var _0x1af700=_0x54e82d[_0x40f90a>>>0x2]>>>0x18-_0x40f90a%0x4*0x8&0xff,_0x39991f=_0x54e82d[_0x40f90a+0x1>>>0x2]>>>0x18-(_0x40f90a+0x1)%0x4*0x8&0xff,_0x5a2752=_0x54e82d[_0x40f90a+0x2>>>0x2]>>>0x18-(_0x40f90a+0x2)%0x4*0x8&0xff,_0x30917c=_0x1af700<<0x10|_0x39991f<<0x8|_0x5a2752,_0x3bfb90=0x0;_0x3bfb90<0x4&&_0x40f90a+_0x3bfb90*0.75<_0x3fa2b2;_0x3bfb90++)_0x51b865['push'](_0x2aed66['charAt'](_0x30917c>>>0x6*(0x3-_0x3bfb90)&0x3f));var _0x5a0a1d=_0x2aed66['charAt'](0x40);if(_0x5a0a1d){for(;_0x51b865[_0x340592(0x3f0)]%0x4;)_0x51b865[_0x340592(0x106)](_0x5a0a1d);}return _0x51b865['join']('');},'parse':function(_0x36a634){var _0x2250bc=_0x486011,_0x42f283=_0x36a634[_0x2250bc(0x3f0)],_0x23d11d=this[_0x2250bc(0xbe)],_0x3d3332=this['_reverseMap'];if(!_0x3d3332){_0x3d3332=this['_reverseMap']=[];for(var _0x3a8305=0x0;_0x3a8305<_0x23d11d[_0x2250bc(0x3f0)];_0x3a8305++)_0x3d3332[_0x23d11d[_0x2250bc(0x2c8)](_0x3a8305)]=_0x3a8305;}var _0x5ab5f7=_0x23d11d[_0x2250bc(0x3d7)](0x40);if(_0x5ab5f7){var _0xc3293f=_0x36a634[_0x2250bc(0xb9)](_0x5ab5f7);_0xc3293f!==-0x1&&(_0x42f283=_0xc3293f);}return _0x5b9787(_0x36a634,_0x42f283,_0x3d3332);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5b9787(_0x53fcc6,_0x5d3faa,_0x219ff5){var _0x2e50b0=_0x486011;for(var _0x3dd2c1=[],_0x353644=0x0,_0x1a505d=0x0;_0x1a505d<_0x5d3faa;_0x1a505d++)if(_0x1a505d%0x4){var _0x468518=_0x219ff5[_0x53fcc6[_0x2e50b0(0x2c8)](_0x1a505d-0x1)]<<_0x1a505d%0x4*0x2,_0x45dbdd=_0x219ff5[_0x53fcc6[_0x2e50b0(0x2c8)](_0x1a505d)]>>>0x6-_0x1a505d%0x4*0x2,_0x1dc31a=_0x468518|_0x45dbdd;_0x3dd2c1[_0x353644>>>0x2]|=_0x1dc31a<<0x18-_0x353644%0x4*0x8,_0x353644++;}return _0x5e2d64[_0x2e50b0(0x2de)](_0x3dd2c1,_0x353644);}}()),_0x453c86[_0x5b134f(0x1e5)][_0x5b134f(0x3ec)];}));}(ge)),ge[_0x67bfa7(0x3aa)];}var Ie={'exports':{}},ki=Ie[_0x46aeb6(0x3aa)],et;function Hi(){var _0x57204d=_0x46aeb6;return et||(et=0x1,function(_0x48b9a4,_0x2705c0){(function(_0x3a1153,_0x4dfc43){var _0x3a6efd=_0x3338;_0x48b9a4[_0x3a6efd(0x3aa)]=_0x4dfc43(ee());}(ki,function(_0x267c6e){var _0x1ab861=_0x3338;return function(_0x334ae0){var _0x2f1885=_0x3338,_0x2abf15=_0x267c6e,_0x2a4e60=_0x2abf15['lib'],_0x10b559=_0x2a4e60[_0x2f1885(0x134)],_0x37be9a=_0x2a4e60[_0x2f1885(0x298)],_0x5be6e5=_0x2abf15[_0x2f1885(0x297)],_0x37da70=[];(function(){var _0x1adc60=_0x2f1885;for(var _0x30e5e3=0x0;_0x30e5e3<0x40;_0x30e5e3++)_0x37da70[_0x30e5e3]=_0x334ae0[_0x1adc60(0x27e)](_0x334ae0['sin'](_0x30e5e3+0x1))*0x100000000|0x0;}());var _0x3b57a8=_0x5be6e5[_0x2f1885(0x3d3)]=_0x37be9a[_0x2f1885(0x31d)]({'_doReset':function(){var _0x4aa6dc=_0x2f1885;this['_hash']=new _0x10b559[(_0x4aa6dc(0x31b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xd8558f,_0x382146){var _0x424fbe=_0x2f1885;for(var _0x2cafc7=0x0;_0x2cafc7<0x10;_0x2cafc7++){var _0x18b364=_0x382146+_0x2cafc7,_0x4da5d2=_0xd8558f[_0x18b364];_0xd8558f[_0x18b364]=(_0x4da5d2<<0x8|_0x4da5d2>>>0x18)&0xff00ff|(_0x4da5d2<<0x18|_0x4da5d2>>>0x8)&0xff00ff00;}var _0x3e0212=this[_0x424fbe(0x10d)][_0x424fbe(0x2b3)],_0x156342=_0xd8558f[_0x382146+0x0],_0xf5b9c9=_0xd8558f[_0x382146+0x1],_0x458e6b=_0xd8558f[_0x382146+0x2],_0x5175d8=_0xd8558f[_0x382146+0x3],_0x216222=_0xd8558f[_0x382146+0x4],_0x160799=_0xd8558f[_0x382146+0x5],_0x2d353f=_0xd8558f[_0x382146+0x6],_0xa1940d=_0xd8558f[_0x382146+0x7],_0x492705=_0xd8558f[_0x382146+0x8],_0x266316=_0xd8558f[_0x382146+0x9],_0x253aca=_0xd8558f[_0x382146+0xa],_0x59cf9d=_0xd8558f[_0x382146+0xb],_0x30b3d8=_0xd8558f[_0x382146+0xc],_0x5574dc=_0xd8558f[_0x382146+0xd],_0x491cb5=_0xd8558f[_0x382146+0xe],_0x5540a3=_0xd8558f[_0x382146+0xf],_0x3a8731=_0x3e0212[0x0],_0x182179=_0x3e0212[0x1],_0x227f09=_0x3e0212[0x2],_0xa312d5=_0x3e0212[0x3];_0x3a8731=_0x433240(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x156342,0x7,_0x37da70[0x0]),_0xa312d5=_0x433240(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0xf5b9c9,0xc,_0x37da70[0x1]),_0x227f09=_0x433240(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x458e6b,0x11,_0x37da70[0x2]),_0x182179=_0x433240(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x5175d8,0x16,_0x37da70[0x3]),_0x3a8731=_0x433240(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x216222,0x7,_0x37da70[0x4]),_0xa312d5=_0x433240(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x160799,0xc,_0x37da70[0x5]),_0x227f09=_0x433240(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x2d353f,0x11,_0x37da70[0x6]),_0x182179=_0x433240(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0xa1940d,0x16,_0x37da70[0x7]),_0x3a8731=_0x433240(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x492705,0x7,_0x37da70[0x8]),_0xa312d5=_0x433240(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x266316,0xc,_0x37da70[0x9]),_0x227f09=_0x433240(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x253aca,0x11,_0x37da70[0xa]),_0x182179=_0x433240(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x59cf9d,0x16,_0x37da70[0xb]),_0x3a8731=_0x433240(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x30b3d8,0x7,_0x37da70[0xc]),_0xa312d5=_0x433240(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x5574dc,0xc,_0x37da70[0xd]),_0x227f09=_0x433240(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x491cb5,0x11,_0x37da70[0xe]),_0x182179=_0x433240(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x5540a3,0x16,_0x37da70[0xf]),_0x3a8731=_0x3dd458(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0xf5b9c9,0x5,_0x37da70[0x10]),_0xa312d5=_0x3dd458(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x2d353f,0x9,_0x37da70[0x11]),_0x227f09=_0x3dd458(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x59cf9d,0xe,_0x37da70[0x12]),_0x182179=_0x3dd458(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x156342,0x14,_0x37da70[0x13]),_0x3a8731=_0x3dd458(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x160799,0x5,_0x37da70[0x14]),_0xa312d5=_0x3dd458(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x253aca,0x9,_0x37da70[0x15]),_0x227f09=_0x3dd458(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x5540a3,0xe,_0x37da70[0x16]),_0x182179=_0x3dd458(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x216222,0x14,_0x37da70[0x17]),_0x3a8731=_0x3dd458(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x266316,0x5,_0x37da70[0x18]),_0xa312d5=_0x3dd458(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x491cb5,0x9,_0x37da70[0x19]),_0x227f09=_0x3dd458(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x5175d8,0xe,_0x37da70[0x1a]),_0x182179=_0x3dd458(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x492705,0x14,_0x37da70[0x1b]),_0x3a8731=_0x3dd458(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x5574dc,0x5,_0x37da70[0x1c]),_0xa312d5=_0x3dd458(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x458e6b,0x9,_0x37da70[0x1d]),_0x227f09=_0x3dd458(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0xa1940d,0xe,_0x37da70[0x1e]),_0x182179=_0x3dd458(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x30b3d8,0x14,_0x37da70[0x1f]),_0x3a8731=_0x435fa9(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x160799,0x4,_0x37da70[0x20]),_0xa312d5=_0x435fa9(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x492705,0xb,_0x37da70[0x21]),_0x227f09=_0x435fa9(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x59cf9d,0x10,_0x37da70[0x22]),_0x182179=_0x435fa9(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x491cb5,0x17,_0x37da70[0x23]),_0x3a8731=_0x435fa9(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0xf5b9c9,0x4,_0x37da70[0x24]),_0xa312d5=_0x435fa9(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x216222,0xb,_0x37da70[0x25]),_0x227f09=_0x435fa9(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0xa1940d,0x10,_0x37da70[0x26]),_0x182179=_0x435fa9(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x253aca,0x17,_0x37da70[0x27]),_0x3a8731=_0x435fa9(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x5574dc,0x4,_0x37da70[0x28]),_0xa312d5=_0x435fa9(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x156342,0xb,_0x37da70[0x29]),_0x227f09=_0x435fa9(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x5175d8,0x10,_0x37da70[0x2a]),_0x182179=_0x435fa9(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x2d353f,0x17,_0x37da70[0x2b]),_0x3a8731=_0x435fa9(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x266316,0x4,_0x37da70[0x2c]),_0xa312d5=_0x435fa9(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x30b3d8,0xb,_0x37da70[0x2d]),_0x227f09=_0x435fa9(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x5540a3,0x10,_0x37da70[0x2e]),_0x182179=_0x435fa9(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x458e6b,0x17,_0x37da70[0x2f]),_0x3a8731=_0x2a5d2f(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x156342,0x6,_0x37da70[0x30]),_0xa312d5=_0x2a5d2f(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0xa1940d,0xa,_0x37da70[0x31]),_0x227f09=_0x2a5d2f(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x491cb5,0xf,_0x37da70[0x32]),_0x182179=_0x2a5d2f(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x160799,0x15,_0x37da70[0x33]),_0x3a8731=_0x2a5d2f(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x30b3d8,0x6,_0x37da70[0x34]),_0xa312d5=_0x2a5d2f(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x5175d8,0xa,_0x37da70[0x35]),_0x227f09=_0x2a5d2f(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x253aca,0xf,_0x37da70[0x36]),_0x182179=_0x2a5d2f(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0xf5b9c9,0x15,_0x37da70[0x37]),_0x3a8731=_0x2a5d2f(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x492705,0x6,_0x37da70[0x38]),_0xa312d5=_0x2a5d2f(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x5540a3,0xa,_0x37da70[0x39]),_0x227f09=_0x2a5d2f(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x2d353f,0xf,_0x37da70[0x3a]),_0x182179=_0x2a5d2f(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x5574dc,0x15,_0x37da70[0x3b]),_0x3a8731=_0x2a5d2f(_0x3a8731,_0x182179,_0x227f09,_0xa312d5,_0x216222,0x6,_0x37da70[0x3c]),_0xa312d5=_0x2a5d2f(_0xa312d5,_0x3a8731,_0x182179,_0x227f09,_0x59cf9d,0xa,_0x37da70[0x3d]),_0x227f09=_0x2a5d2f(_0x227f09,_0xa312d5,_0x3a8731,_0x182179,_0x458e6b,0xf,_0x37da70[0x3e]),_0x182179=_0x2a5d2f(_0x182179,_0x227f09,_0xa312d5,_0x3a8731,_0x266316,0x15,_0x37da70[0x3f]),_0x3e0212[0x0]=_0x3e0212[0x0]+_0x3a8731|0x0,_0x3e0212[0x1]=_0x3e0212[0x1]+_0x182179|0x0,_0x3e0212[0x2]=_0x3e0212[0x2]+_0x227f09|0x0,_0x3e0212[0x3]=_0x3e0212[0x3]+_0xa312d5|0x0;},'_doFinalize':function(){var _0x321d97=_0x2f1885,_0x526e76=this[_0x321d97(0x12a)],_0xbe3078=_0x526e76[_0x321d97(0x2b3)],_0x3a4d4a=this[_0x321d97(0x101)]*0x8,_0x591942=_0x526e76['sigBytes']*0x8;_0xbe3078[_0x591942>>>0x5]|=0x80<<0x18-_0x591942%0x20;var _0x1f2032=_0x334ae0[_0x321d97(0x37c)](_0x3a4d4a/0x100000000),_0x2b50ab=_0x3a4d4a;_0xbe3078[(_0x591942+0x40>>>0x9<<0x4)+0xf]=(_0x1f2032<<0x8|_0x1f2032>>>0x18)&0xff00ff|(_0x1f2032<<0x18|_0x1f2032>>>0x8)&0xff00ff00,_0xbe3078[(_0x591942+0x40>>>0x9<<0x4)+0xe]=(_0x2b50ab<<0x8|_0x2b50ab>>>0x18)&0xff00ff|(_0x2b50ab<<0x18|_0x2b50ab>>>0x8)&0xff00ff00,_0x526e76[_0x321d97(0x16a)]=(_0xbe3078['length']+0x1)*0x4,this[_0x321d97(0x1d9)]();for(var _0x4ea35d=this[_0x321d97(0x10d)],_0x360483=_0x4ea35d['words'],_0x397688=0x0;_0x397688<0x4;_0x397688++){var _0xb33a8d=_0x360483[_0x397688];_0x360483[_0x397688]=(_0xb33a8d<<0x8|_0xb33a8d>>>0x18)&0xff00ff|(_0xb33a8d<<0x18|_0xb33a8d>>>0x8)&0xff00ff00;}return _0x4ea35d;},'clone':function(){var _0x190124=_0x2f1885,_0x27ce66=_0x37be9a[_0x190124(0xd8)][_0x190124(0x91)](this);return _0x27ce66[_0x190124(0x10d)]=this['_hash']['clone'](),_0x27ce66;}});function _0x433240(_0x2970ac,_0x53ed68,_0x19be58,_0x540c9e,_0x51bda3,_0xcbad8a,_0x20a377){var _0x38bf42=_0x2970ac+(_0x53ed68&_0x19be58|~_0x53ed68&_0x540c9e)+_0x51bda3+_0x20a377;return(_0x38bf42<<_0xcbad8a|_0x38bf42>>>0x20-_0xcbad8a)+_0x53ed68;}function _0x3dd458(_0x3378a9,_0x3fc3e9,_0x52e6c5,_0x49c8cc,_0x5e58b9,_0x11610a,_0x3c83d5){var _0x2cf450=_0x3378a9+(_0x3fc3e9&_0x49c8cc|_0x52e6c5&~_0x49c8cc)+_0x5e58b9+_0x3c83d5;return(_0x2cf450<<_0x11610a|_0x2cf450>>>0x20-_0x11610a)+_0x3fc3e9;}function _0x435fa9(_0x2fc641,_0xc8172b,_0x79385c,_0x19d22f,_0x149193,_0x3d90fc,_0x5c9a2d){var _0x4a5d29=_0x2fc641+(_0xc8172b^_0x79385c^_0x19d22f)+_0x149193+_0x5c9a2d;return(_0x4a5d29<<_0x3d90fc|_0x4a5d29>>>0x20-_0x3d90fc)+_0xc8172b;}function _0x2a5d2f(_0x50c7dd,_0x5cdde4,_0xf6940b,_0x128856,_0x564bfb,_0x4b07f1,_0x38aed5){var _0x1710f4=_0x50c7dd+(_0xf6940b^(_0x5cdde4|~_0x128856))+_0x564bfb+_0x38aed5;return(_0x1710f4<<_0x4b07f1|_0x1710f4>>>0x20-_0x4b07f1)+_0x5cdde4;}_0x2abf15['MD5']=_0x37be9a['_createHelper'](_0x3b57a8),_0x2abf15['HmacMD5']=_0x37be9a[_0x2f1885(0x202)](_0x3b57a8);}(Math),_0x267c6e[_0x1ab861(0x3d3)];}));}(Ie)),Ie[_0x57204d(0x3aa)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x2f10fe=_0x46aeb6;return tt||(tt=0x1,function(_0xcd16c2,_0x102494){(function(_0x5e0b37,_0x50ce92){var _0x1433fd=_0x3338;_0xcd16c2[_0x1433fd(0x3aa)]=_0x50ce92(ee());}(ji,function(_0x3fc6a2){var _0x3b27ca=_0x3338;return(function(){var _0x4e1af6=_0x3338,_0x363eea=_0x3fc6a2,_0x37c299=_0x363eea[_0x4e1af6(0x2d9)],_0x183d86=_0x37c299[_0x4e1af6(0x134)],_0x19ecdb=_0x37c299[_0x4e1af6(0x298)],_0xd955b9=_0x363eea[_0x4e1af6(0x297)],_0x5efc9b=[],_0x536da3=_0xd955b9['SHA1']=_0x19ecdb[_0x4e1af6(0x31d)]({'_doReset':function(){var _0x486fae=_0x4e1af6;this['_hash']=new _0x183d86[(_0x486fae(0x31b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35778d,_0x27b841){var _0x2cc8fc=_0x4e1af6;for(var _0x59118f=this[_0x2cc8fc(0x10d)]['words'],_0x5d995d=_0x59118f[0x0],_0x194b1b=_0x59118f[0x1],_0x5aa8c0=_0x59118f[0x2],_0x640a67=_0x59118f[0x3],_0x1e792d=_0x59118f[0x4],_0x7d38e4=0x0;_0x7d38e4<0x50;_0x7d38e4++){if(_0x7d38e4<0x10)_0x5efc9b[_0x7d38e4]=_0x35778d[_0x27b841+_0x7d38e4]|0x0;else{var _0x5a15ef=_0x5efc9b[_0x7d38e4-0x3]^_0x5efc9b[_0x7d38e4-0x8]^_0x5efc9b[_0x7d38e4-0xe]^_0x5efc9b[_0x7d38e4-0x10];_0x5efc9b[_0x7d38e4]=_0x5a15ef<<0x1|_0x5a15ef>>>0x1f;}var _0x13182a=(_0x5d995d<<0x5|_0x5d995d>>>0x1b)+_0x1e792d+_0x5efc9b[_0x7d38e4];_0x7d38e4<0x14?_0x13182a+=(_0x194b1b&_0x5aa8c0|~_0x194b1b&_0x640a67)+0x5a827999:_0x7d38e4<0x28?_0x13182a+=(_0x194b1b^_0x5aa8c0^_0x640a67)+0x6ed9eba1:_0x7d38e4<0x3c?_0x13182a+=(_0x194b1b&_0x5aa8c0|_0x194b1b&_0x640a67|_0x5aa8c0&_0x640a67)-0x70e44324:_0x13182a+=(_0x194b1b^_0x5aa8c0^_0x640a67)-0x359d3e2a,_0x1e792d=_0x640a67,_0x640a67=_0x5aa8c0,_0x5aa8c0=_0x194b1b<<0x1e|_0x194b1b>>>0x2,_0x194b1b=_0x5d995d,_0x5d995d=_0x13182a;}_0x59118f[0x0]=_0x59118f[0x0]+_0x5d995d|0x0,_0x59118f[0x1]=_0x59118f[0x1]+_0x194b1b|0x0,_0x59118f[0x2]=_0x59118f[0x2]+_0x5aa8c0|0x0,_0x59118f[0x3]=_0x59118f[0x3]+_0x640a67|0x0,_0x59118f[0x4]=_0x59118f[0x4]+_0x1e792d|0x0;},'_doFinalize':function(){var _0x348cf0=_0x4e1af6,_0x1777b6=this[_0x348cf0(0x12a)],_0x22c379=_0x1777b6[_0x348cf0(0x2b3)],_0x41cea3=this['_nDataBytes']*0x8,_0x1a6eaf=_0x1777b6[_0x348cf0(0x16a)]*0x8;return _0x22c379[_0x1a6eaf>>>0x5]|=0x80<<0x18-_0x1a6eaf%0x20,_0x22c379[(_0x1a6eaf+0x40>>>0x9<<0x4)+0xe]=Math[_0x348cf0(0x37c)](_0x41cea3/0x100000000),_0x22c379[(_0x1a6eaf+0x40>>>0x9<<0x4)+0xf]=_0x41cea3,_0x1777b6[_0x348cf0(0x16a)]=_0x22c379[_0x348cf0(0x3f0)]*0x4,this[_0x348cf0(0x1d9)](),this[_0x348cf0(0x10d)];},'clone':function(){var _0x11b38b=_0x4e1af6,_0x3582d9=_0x19ecdb[_0x11b38b(0xd8)][_0x11b38b(0x91)](this);return _0x3582d9['_hash']=this[_0x11b38b(0x10d)][_0x11b38b(0xd8)](),_0x3582d9;}});_0x363eea[_0x4e1af6(0x24d)]=_0x19ecdb[_0x4e1af6(0x3a8)](_0x536da3),_0x363eea['HmacSHA1']=_0x19ecdb['_createHmacHelper'](_0x536da3);}()),_0x3fc6a2[_0x3b27ca(0x24d)];}));}(Ee)),Ee[_0x2f10fe(0x3aa)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x2973a8,_0x406379){(function(_0x15593,_0x2dbf5c){var _0x42376e=_0x3338;_0x2973a8[_0x42376e(0x3aa)]=_0x2dbf5c(ee());}(Bi,function(_0x5f1cf5){(function(){var _0x1ce1a3=_0x3338,_0x186f5a=_0x5f1cf5,_0x56747c=_0x186f5a[_0x1ce1a3(0x2d9)],_0x65cab5=_0x56747c['Base'],_0x1546bc=_0x186f5a[_0x1ce1a3(0x1e5)],_0xab0e87=_0x1546bc[_0x1ce1a3(0x1c5)],_0x15913b=_0x186f5a['algo'];_0x15913b[_0x1ce1a3(0x16e)]=_0x65cab5['extend']({'init':function(_0x582477,_0x20c0bc){var _0x2688db=_0x1ce1a3;_0x582477=this[_0x2688db(0x2fb)]=new _0x582477[(_0x2688db(0x31b))](),typeof _0x20c0bc==_0x2688db(0xcc)&&(_0x20c0bc=_0xab0e87[_0x2688db(0x2b9)](_0x20c0bc));var _0xbab0b9=_0x582477[_0x2688db(0x1f2)],_0x36b6d1=_0xbab0b9*0x4;_0x20c0bc[_0x2688db(0x16a)]>_0x36b6d1&&(_0x20c0bc=_0x582477['finalize'](_0x20c0bc)),_0x20c0bc[_0x2688db(0x383)]();for(var _0x340709=this[_0x2688db(0x3e6)]=_0x20c0bc['clone'](),_0x485695=this[_0x2688db(0x156)]=_0x20c0bc['clone'](),_0x2e0fa7=_0x340709[_0x2688db(0x2b3)],_0x47b3be=_0x485695['words'],_0x54166c=0x0;_0x54166c<_0xbab0b9;_0x54166c++)_0x2e0fa7[_0x54166c]^=0x5c5c5c5c,_0x47b3be[_0x54166c]^=0x36363636;_0x340709['sigBytes']=_0x485695[_0x2688db(0x16a)]=_0x36b6d1,this['reset']();},'reset':function(){var _0x4e4076=_0x1ce1a3,_0x29dc6d=this[_0x4e4076(0x2fb)];_0x29dc6d[_0x4e4076(0x40a)](),_0x29dc6d[_0x4e4076(0x351)](this[_0x4e4076(0x156)]);},'update':function(_0xc06ba5){var _0x326ba2=_0x1ce1a3;return this[_0x326ba2(0x2fb)][_0x326ba2(0x351)](_0xc06ba5),this;},'finalize':function(_0x56678e){var _0x4b0606=_0x1ce1a3,_0x2f66e0=this[_0x4b0606(0x2fb)],_0x53bc2c=_0x2f66e0[_0x4b0606(0x1ab)](_0x56678e);_0x2f66e0['reset']();var _0x168eb9=_0x2f66e0['finalize'](this[_0x4b0606(0x3e6)]['clone']()['concat'](_0x53bc2c));return _0x168eb9;}});}());}));}(Ce)),Ce['exports'];}var Vi=me[_0x46aeb6(0x3aa)],nt;function At(){return nt||(nt=0x1,function(_0x45c00c,_0x2fb35a){(function(_0x24a34a,_0xd9c609,_0x3cb6c3){_0x45c00c['exports']=_0xd9c609(ee(),$i(),Fi());}(Vi,function(_0x282ca4){var _0x3d44d3=_0x3338;return(function(){var _0x152444=_0x3338,_0x5c190d=_0x282ca4,_0x3818c7=_0x5c190d[_0x152444(0x2d9)],_0x2326e9=_0x3818c7[_0x152444(0x344)],_0x282d02=_0x3818c7[_0x152444(0x134)],_0x5456ea=_0x5c190d[_0x152444(0x297)],_0x2a1a1e=_0x5456ea['MD5'],_0x6e5f97=_0x5456ea[_0x152444(0x2ac)]=_0x2326e9[_0x152444(0x31d)]({'cfg':_0x2326e9['extend']({'keySize':0x80/0x20,'hasher':_0x2a1a1e,'iterations':0x1}),'init':function(_0x38b254){var _0x51776f=_0x152444;this[_0x51776f(0x26e)]=this['cfg'][_0x51776f(0x31d)](_0x38b254);},'compute':function(_0x2e8a0a,_0xe28373){var _0x29b97a=_0x152444;for(var _0x55fc4b,_0x541eb3=this[_0x29b97a(0x26e)],_0x21d7c7=_0x541eb3[_0x29b97a(0x153)][_0x29b97a(0x2de)](),_0x37f20c=_0x282d02[_0x29b97a(0x2de)](),_0x397d8e=_0x37f20c[_0x29b97a(0x2b3)],_0xca675=_0x541eb3['keySize'],_0x4489af=_0x541eb3[_0x29b97a(0x39a)];_0x397d8e[_0x29b97a(0x3f0)]<_0xca675;){_0x55fc4b&&_0x21d7c7[_0x29b97a(0x351)](_0x55fc4b),_0x55fc4b=_0x21d7c7['update'](_0x2e8a0a)['finalize'](_0xe28373),_0x21d7c7['reset']();for(var _0x2211d5=0x1;_0x2211d5<_0x4489af;_0x2211d5++)_0x55fc4b=_0x21d7c7[_0x29b97a(0x1ab)](_0x55fc4b),_0x21d7c7[_0x29b97a(0x40a)]();_0x37f20c[_0x29b97a(0x36c)](_0x55fc4b);}return _0x37f20c['sigBytes']=_0xca675*0x4,_0x37f20c;}});_0x5c190d['EvpKDF']=function(_0x50407c,_0x62ebaa,_0x28cb6f){var _0x105ee0=_0x152444;return _0x6e5f97[_0x105ee0(0x2de)](_0x28cb6f)[_0x105ee0(0x349)](_0x50407c,_0x62ebaa);};}()),_0x282ca4[_0x3d44d3(0x2ac)];}));}(me)),me['exports'];}var Te={'exports':{}},Wi=Te[_0x46aeb6(0x3aa)],rt;function Pt(){var _0x337a39=_0x46aeb6;return rt||(rt=0x1,function(_0x98de23,_0x42d398){(function(_0x45dc5a,_0x496eeb,_0x1c6d45){var _0x17a150=_0x3338;_0x98de23[_0x17a150(0x3aa)]=_0x496eeb(ee(),At());}(Wi,function(_0x405a76){var _0x4c2bb8=_0x3338;_0x405a76[_0x4c2bb8(0x2d9)][_0x4c2bb8(0x113)]||function(_0x2416e4){var _0x54f0bd=_0x4c2bb8,_0x4dcd21=_0x405a76,_0x986543=_0x4dcd21[_0x54f0bd(0x2d9)],_0x2e8b43=_0x986543['Base'],_0x5675bc=_0x986543[_0x54f0bd(0x134)],_0x21b4eb=_0x986543['BufferedBlockAlgorithm'],_0x3494aa=_0x4dcd21['enc'];_0x3494aa[_0x54f0bd(0x1c5)];var _0xb13abc=_0x3494aa[_0x54f0bd(0x3ec)],_0x3333db=_0x4dcd21[_0x54f0bd(0x297)],_0x28dd12=_0x3333db[_0x54f0bd(0x2ac)],_0x3f783b=_0x986543[_0x54f0bd(0x113)]=_0x21b4eb['extend']({'cfg':_0x2e8b43['extend'](),'createEncryptor':function(_0x2c7cee,_0x1abcc3){var _0x3fed8a=_0x54f0bd;return this[_0x3fed8a(0x2de)](this[_0x3fed8a(0xd2)],_0x2c7cee,_0x1abcc3);},'createDecryptor':function(_0x4bea8e,_0x41fc7b){var _0x32bb3c=_0x54f0bd;return this[_0x32bb3c(0x2de)](this[_0x32bb3c(0x276)],_0x4bea8e,_0x41fc7b);},'init':function(_0x224348,_0x4eb1d8,_0x6d32f0){var _0x47edda=_0x54f0bd;this[_0x47edda(0x26e)]=this[_0x47edda(0x26e)][_0x47edda(0x31d)](_0x6d32f0),this[_0x47edda(0x25f)]=_0x224348,this['_key']=_0x4eb1d8,this['reset']();},'reset':function(){_0x21b4eb['reset']['call'](this),this['_doReset']();},'process':function(_0x3d0cfb){var _0x107f10=_0x54f0bd;return this[_0x107f10(0x2b5)](_0x3d0cfb),this['_process']();},'finalize':function(_0x378a7b){var _0x3b7d39=_0x54f0bd;_0x378a7b&&this['_append'](_0x378a7b);var _0x42f833=this[_0x3b7d39(0x2f5)]();return _0x42f833;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2af902(_0x3a1994){var _0x5a6897=_0x3338;return typeof _0x3a1994==_0x5a6897(0xcc)?_0x5ccc2d:_0x42642a;}return function(_0x54bb35){return{'encrypt':function(_0x2819c4,_0xcda814,_0xbf86ea){var _0x1d389e=_0x3338;return _0x2af902(_0xcda814)[_0x1d389e(0x22a)](_0x54bb35,_0x2819c4,_0xcda814,_0xbf86ea);},'decrypt':function(_0x13b04e,_0x4092a8,_0x5980bc){var _0x58a497=_0x3338;return _0x2af902(_0x4092a8)[_0x58a497(0x10b)](_0x54bb35,_0x13b04e,_0x4092a8,_0x5980bc);}};};}())});_0x986543[_0x54f0bd(0x1b9)]=_0x3f783b[_0x54f0bd(0x31d)]({'_doFinalize':function(){var _0xa11e88=_0x54f0bd,_0x407f12=this[_0xa11e88(0x1d9)](!0x0);return _0x407f12;},'blockSize':0x1});var _0x82eee6=_0x4dcd21[_0x54f0bd(0x309)]={},_0xc2529a=_0x986543[_0x54f0bd(0x3fd)]=_0x2e8b43['extend']({'createEncryptor':function(_0x5b41ad,_0x207e8a){var _0x237e12=_0x54f0bd;return this[_0x237e12(0x126)]['create'](_0x5b41ad,_0x207e8a);},'createDecryptor':function(_0x3431cb,_0x1c1b1f){var _0x58cff3=_0x54f0bd;return this[_0x58cff3(0x2b6)]['create'](_0x3431cb,_0x1c1b1f);},'init':function(_0x10c931,_0x3988c4){var _0xbf7ffa=_0x54f0bd;this[_0xbf7ffa(0x372)]=_0x10c931,this[_0xbf7ffa(0x293)]=_0x3988c4;}}),_0x9f0521=_0x82eee6[_0x54f0bd(0x18a)]=(function(){var _0x2987ed=_0x54f0bd,_0x2631a6=_0xc2529a[_0x2987ed(0x31d)]();_0x2631a6[_0x2987ed(0x126)]=_0x2631a6['extend']({'processBlock':function(_0x1fb90a,_0x9faab9){var _0xce9063=_0x2987ed,_0x12cbe3=this[_0xce9063(0x372)],_0x30b858=_0x12cbe3[_0xce9063(0x1f2)];_0x16200c[_0xce9063(0x91)](this,_0x1fb90a,_0x9faab9,_0x30b858),_0x12cbe3['encryptBlock'](_0x1fb90a,_0x9faab9),this[_0xce9063(0x412)]=_0x1fb90a[_0xce9063(0x371)](_0x9faab9,_0x9faab9+_0x30b858);}}),_0x2631a6[_0x2987ed(0x2b6)]=_0x2631a6['extend']({'processBlock':function(_0x416b1d,_0x3e2f2d){var _0x50422d=_0x2987ed,_0x4242ac=this[_0x50422d(0x372)],_0x22033c=_0x4242ac[_0x50422d(0x1f2)],_0x4062f3=_0x416b1d[_0x50422d(0x371)](_0x3e2f2d,_0x3e2f2d+_0x22033c);_0x4242ac[_0x50422d(0x2b4)](_0x416b1d,_0x3e2f2d),_0x16200c[_0x50422d(0x91)](this,_0x416b1d,_0x3e2f2d,_0x22033c),this[_0x50422d(0x412)]=_0x4062f3;}});function _0x16200c(_0x40dd46,_0x100dc2,_0xfe4d21){var _0x312c33=_0x2987ed,_0x3e290f,_0x2b19aa=this[_0x312c33(0x293)];_0x2b19aa?(_0x3e290f=_0x2b19aa,this[_0x312c33(0x293)]=_0x2416e4):_0x3e290f=this[_0x312c33(0x412)];for(var _0x47861f=0x0;_0x47861f<_0xfe4d21;_0x47861f++)_0x40dd46[_0x100dc2+_0x47861f]^=_0x3e290f[_0x47861f];}return _0x2631a6;}()),_0x37f3d6=_0x4dcd21[_0x54f0bd(0x317)]={},_0x1dd5ed=_0x37f3d6[_0x54f0bd(0x239)]={'pad':function(_0xdfca7c,_0x44727d){var _0x3da8ee=_0x54f0bd;for(var _0x259a85=_0x44727d*0x4,_0x5b5c50=_0x259a85-_0xdfca7c[_0x3da8ee(0x16a)]%_0x259a85,_0x10f54b=_0x5b5c50<<0x18|_0x5b5c50<<0x10|_0x5b5c50<<0x8|_0x5b5c50,_0x2c41cd=[],_0x19a650=0x0;_0x19a650<_0x5b5c50;_0x19a650+=0x4)_0x2c41cd['push'](_0x10f54b);var _0x25e6f2=_0x5675bc[_0x3da8ee(0x2de)](_0x2c41cd,_0x5b5c50);_0xdfca7c[_0x3da8ee(0x36c)](_0x25e6f2);},'unpad':function(_0x3c451a){var _0x18b633=_0x54f0bd,_0x178463=_0x3c451a[_0x18b633(0x2b3)][_0x3c451a[_0x18b633(0x16a)]-0x1>>>0x2]&0xff;_0x3c451a[_0x18b633(0x16a)]-=_0x178463;}};_0x986543[_0x54f0bd(0x350)]=_0x3f783b[_0x54f0bd(0x31d)]({'cfg':_0x3f783b[_0x54f0bd(0x26e)][_0x54f0bd(0x31d)]({'mode':_0x9f0521,'padding':_0x1dd5ed}),'reset':function(){var _0x59c2f4=_0x54f0bd,_0x26da2a;_0x3f783b[_0x59c2f4(0x40a)]['call'](this);var _0x560c57=this[_0x59c2f4(0x26e)],_0xf18d7b=_0x560c57['iv'],_0x1506f6=_0x560c57[_0x59c2f4(0x309)];this[_0x59c2f4(0x25f)]==this[_0x59c2f4(0xd2)]?_0x26da2a=_0x1506f6[_0x59c2f4(0x246)]:(_0x26da2a=_0x1506f6[_0x59c2f4(0x145)],this['_minBufferSize']=0x1),this[_0x59c2f4(0x37e)]&&this[_0x59c2f4(0x37e)]['__creator']==_0x26da2a?this['_mode'][_0x59c2f4(0x31b)](this,_0xf18d7b&&_0xf18d7b[_0x59c2f4(0x2b3)]):(this[_0x59c2f4(0x37e)]=_0x26da2a['call'](_0x1506f6,this,_0xf18d7b&&_0xf18d7b[_0x59c2f4(0x2b3)]),this[_0x59c2f4(0x37e)]['__creator']=_0x26da2a);},'_doProcessBlock':function(_0x42f39f,_0x5a59c4){var _0x273512=_0x54f0bd;this['_mode'][_0x273512(0x1d8)](_0x42f39f,_0x5a59c4);},'_doFinalize':function(){var _0x35458b=_0x54f0bd,_0x94a01a,_0xc903ad=this[_0x35458b(0x26e)][_0x35458b(0x1bb)];return this[_0x35458b(0x25f)]==this[_0x35458b(0xd2)]?(_0xc903ad[_0x35458b(0x317)](this[_0x35458b(0x12a)],this[_0x35458b(0x1f2)]),_0x94a01a=this[_0x35458b(0x1d9)](!0x0)):(_0x94a01a=this['_process'](!0x0),_0xc903ad[_0x35458b(0x185)](_0x94a01a)),_0x94a01a;},'blockSize':0x80/0x20});var _0x3015ae=_0x986543['CipherParams']=_0x2e8b43[_0x54f0bd(0x31d)]({'init':function(_0x5e70d0){this['mixIn'](_0x5e70d0);},'toString':function(_0x3c6a47){var _0x259530=_0x54f0bd;return(_0x3c6a47||this[_0x259530(0xc5)])[_0x259530(0x188)](this);}}),_0x5d4cd7=_0x4dcd21[_0x54f0bd(0x22d)]={},_0x1bd33e=_0x5d4cd7[_0x54f0bd(0x2c0)]={'stringify':function(_0xaee723){var _0x3ebfaa=_0x54f0bd,_0x5e0138,_0x2653af=_0xaee723['ciphertext'],_0x31357a=_0xaee723[_0x3ebfaa(0x340)];return _0x31357a?_0x5e0138=_0x5675bc[_0x3ebfaa(0x2de)]([0x53616c74,0x65645f5f])[_0x3ebfaa(0x36c)](_0x31357a)[_0x3ebfaa(0x36c)](_0x2653af):_0x5e0138=_0x2653af,_0x5e0138[_0x3ebfaa(0x30f)](_0xb13abc);},'parse':function(_0x48d5ea){var _0x1f021e=_0x54f0bd,_0x1db577,_0x158267=_0xb13abc[_0x1f021e(0x2b9)](_0x48d5ea),_0xcbb625=_0x158267['words'];return _0xcbb625[0x0]==0x53616c74&&_0xcbb625[0x1]==0x65645f5f&&(_0x1db577=_0x5675bc[_0x1f021e(0x2de)](_0xcbb625[_0x1f021e(0x371)](0x2,0x4)),_0xcbb625[_0x1f021e(0x203)](0x0,0x4),_0x158267[_0x1f021e(0x16a)]-=0x10),_0x3015ae[_0x1f021e(0x2de)]({'ciphertext':_0x158267,'salt':_0x1db577});}},_0x42642a=_0x986543[_0x54f0bd(0x2ae)]=_0x2e8b43[_0x54f0bd(0x31d)]({'cfg':_0x2e8b43[_0x54f0bd(0x31d)]({'format':_0x1bd33e}),'encrypt':function(_0xab0b52,_0x1b0bdb,_0x59d6da,_0x2e1be4){var _0x47f942=_0x54f0bd;_0x2e1be4=this['cfg'][_0x47f942(0x31d)](_0x2e1be4);var _0x906220=_0xab0b52['createEncryptor'](_0x59d6da,_0x2e1be4),_0x4efc17=_0x906220[_0x47f942(0x1ab)](_0x1b0bdb),_0x4a4361=_0x906220[_0x47f942(0x26e)];return _0x3015ae[_0x47f942(0x2de)]({'ciphertext':_0x4efc17,'key':_0x59d6da,'iv':_0x4a4361['iv'],'algorithm':_0xab0b52,'mode':_0x4a4361[_0x47f942(0x309)],'padding':_0x4a4361[_0x47f942(0x1bb)],'blockSize':_0xab0b52[_0x47f942(0x1f2)],'formatter':_0x2e1be4[_0x47f942(0x22d)]});},'decrypt':function(_0x19c4c2,_0x4705d3,_0x2b58c2,_0x2f02b4){var _0x388bcd=_0x54f0bd;_0x2f02b4=this['cfg'][_0x388bcd(0x31d)](_0x2f02b4),_0x4705d3=this[_0x388bcd(0x294)](_0x4705d3,_0x2f02b4[_0x388bcd(0x22d)]);var _0x998a0=_0x19c4c2[_0x388bcd(0x145)](_0x2b58c2,_0x2f02b4)[_0x388bcd(0x1ab)](_0x4705d3[_0x388bcd(0x28c)]);return _0x998a0;},'_parse':function(_0x4c12d1,_0x4e86d2){var _0xe769d1=_0x54f0bd;return typeof _0x4c12d1==_0xe769d1(0xcc)?_0x4e86d2['parse'](_0x4c12d1,this):_0x4c12d1;}}),_0x5e6b8f=_0x4dcd21[_0x54f0bd(0xb4)]={},_0x526911=_0x5e6b8f[_0x54f0bd(0x2c0)]={'execute':function(_0x586f4a,_0x5d57f5,_0x15f129,_0x838f59,_0x326b76){var _0x3b311f=_0x54f0bd;if(_0x838f59||(_0x838f59=_0x5675bc[_0x3b311f(0xc0)](0x40/0x8)),_0x326b76)var _0x43525f=_0x28dd12['create']({'keySize':_0x5d57f5+_0x15f129,'hasher':_0x326b76})['compute'](_0x586f4a,_0x838f59);else var _0x43525f=_0x28dd12['create']({'keySize':_0x5d57f5+_0x15f129})['compute'](_0x586f4a,_0x838f59);var _0x4e9213=_0x5675bc[_0x3b311f(0x2de)](_0x43525f[_0x3b311f(0x2b3)][_0x3b311f(0x371)](_0x5d57f5),_0x15f129*0x4);return _0x43525f['sigBytes']=_0x5d57f5*0x4,_0x3015ae[_0x3b311f(0x2de)]({'key':_0x43525f,'iv':_0x4e9213,'salt':_0x838f59});}},_0x5ccc2d=_0x986543['PasswordBasedCipher']=_0x42642a[_0x54f0bd(0x31d)]({'cfg':_0x42642a['cfg'][_0x54f0bd(0x31d)]({'kdf':_0x526911}),'encrypt':function(_0x4ea4a2,_0x186b74,_0x3bbb71,_0x247a3){var _0x2cac2e=_0x54f0bd;_0x247a3=this[_0x2cac2e(0x26e)][_0x2cac2e(0x31d)](_0x247a3);var _0x5060cf=_0x247a3['kdf'][_0x2cac2e(0x112)](_0x3bbb71,_0x4ea4a2[_0x2cac2e(0x2e6)],_0x4ea4a2[_0x2cac2e(0x228)],_0x247a3[_0x2cac2e(0x340)],_0x247a3[_0x2cac2e(0x153)]);_0x247a3['iv']=_0x5060cf['iv'];var _0xcf9ea5=_0x42642a['encrypt'][_0x2cac2e(0x91)](this,_0x4ea4a2,_0x186b74,_0x5060cf[_0x2cac2e(0x333)],_0x247a3);return _0xcf9ea5[_0x2cac2e(0x1f9)](_0x5060cf),_0xcf9ea5;},'decrypt':function(_0x326a6f,_0x172a8a,_0x23d9fe,_0x42189a){var _0x35e980=_0x54f0bd;_0x42189a=this[_0x35e980(0x26e)]['extend'](_0x42189a),_0x172a8a=this['_parse'](_0x172a8a,_0x42189a[_0x35e980(0x22d)]);var _0x5d4973=_0x42189a[_0x35e980(0xb4)][_0x35e980(0x112)](_0x23d9fe,_0x326a6f[_0x35e980(0x2e6)],_0x326a6f[_0x35e980(0x228)],_0x172a8a[_0x35e980(0x340)],_0x42189a[_0x35e980(0x153)]);_0x42189a['iv']=_0x5d4973['iv'];var _0x42fa9a=_0x42642a[_0x35e980(0x10b)][_0x35e980(0x91)](this,_0x326a6f,_0x172a8a,_0x5d4973[_0x35e980(0x333)],_0x42189a);return _0x42fa9a;}});}();}));}(Te)),Te[_0x337a39(0x3aa)];}var Gi=fe[_0x46aeb6(0x3aa)],st;function Ki(){var _0x49e2b5=_0x46aeb6;return st||(st=0x1,function(_0x36bb12,_0x496473){(function(_0x3e6b25,_0x5b53db,_0x347cd9){var _0xc1284f=_0x3338;_0x36bb12[_0xc1284f(0x3aa)]=_0x5b53db(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4a2e98){return(function(){var _0x506e8a=_0x3338,_0x25e1e5=_0x4a2e98,_0x3c1c6a=_0x25e1e5['lib'],_0x3b5540=_0x3c1c6a['BlockCipher'],_0x1e2bf7=_0x25e1e5[_0x506e8a(0x297)],_0x5073d6=[],_0x4b6245=[],_0x21f8b5=[],_0x3f6b58=[],_0x20c327=[],_0x92a9e9=[],_0x2daec4=[],_0x1e193d=[],_0x1cdd59=[],_0x40375c=[];(function(){for(var _0x490d05=[],_0x34a9ef=0x0;_0x34a9ef<0x100;_0x34a9ef++)_0x34a9ef<0x80?_0x490d05[_0x34a9ef]=_0x34a9ef<<0x1:_0x490d05[_0x34a9ef]=_0x34a9ef<<0x1^0x11b;for(var _0x57700a=0x0,_0x19b672=0x0,_0x34a9ef=0x0;_0x34a9ef<0x100;_0x34a9ef++){var _0x4f043d=_0x19b672^_0x19b672<<0x1^_0x19b672<<0x2^_0x19b672<<0x3^_0x19b672<<0x4;_0x4f043d=_0x4f043d>>>0x8^_0x4f043d&0xff^0x63,_0x5073d6[_0x57700a]=_0x4f043d,_0x4b6245[_0x4f043d]=_0x57700a;var _0x294c53=_0x490d05[_0x57700a],_0x3c514=_0x490d05[_0x294c53],_0x540084=_0x490d05[_0x3c514],_0x3b48ee=_0x490d05[_0x4f043d]*0x101^_0x4f043d*0x1010100;_0x21f8b5[_0x57700a]=_0x3b48ee<<0x18|_0x3b48ee>>>0x8,_0x3f6b58[_0x57700a]=_0x3b48ee<<0x10|_0x3b48ee>>>0x10,_0x20c327[_0x57700a]=_0x3b48ee<<0x8|_0x3b48ee>>>0x18,_0x92a9e9[_0x57700a]=_0x3b48ee;var _0x3b48ee=_0x540084*0x1010101^_0x3c514*0x10001^_0x294c53*0x101^_0x57700a*0x1010100;_0x2daec4[_0x4f043d]=_0x3b48ee<<0x18|_0x3b48ee>>>0x8,_0x1e193d[_0x4f043d]=_0x3b48ee<<0x10|_0x3b48ee>>>0x10,_0x1cdd59[_0x4f043d]=_0x3b48ee<<0x8|_0x3b48ee>>>0x18,_0x40375c[_0x4f043d]=_0x3b48ee,_0x57700a?(_0x57700a=_0x294c53^_0x490d05[_0x490d05[_0x490d05[_0x540084^_0x294c53]]],_0x19b672^=_0x490d05[_0x490d05[_0x19b672]]):_0x57700a=_0x19b672=0x1;}}());var _0x254456=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x937c08=_0x1e2bf7['AES']=_0x3b5540[_0x506e8a(0x31d)]({'_doReset':function(){var _0xe8065b=_0x506e8a,_0x41f03d;if(!(this[_0xe8065b(0x3de)]&&this['_keyPriorReset']===this[_0xe8065b(0x2f2)])){for(var _0x145476=this[_0xe8065b(0x2d7)]=this[_0xe8065b(0x2f2)],_0xf3c06c=_0x145476[_0xe8065b(0x2b3)],_0x40c8c4=_0x145476[_0xe8065b(0x16a)]/0x4,_0x1aa3f0=this[_0xe8065b(0x3de)]=_0x40c8c4+0x6,_0x13de19=(_0x1aa3f0+0x1)*0x4,_0x2aaa60=this[_0xe8065b(0x361)]=[],_0x1628f9=0x0;_0x1628f9<_0x13de19;_0x1628f9++)_0x1628f9<_0x40c8c4?_0x2aaa60[_0x1628f9]=_0xf3c06c[_0x1628f9]:(_0x41f03d=_0x2aaa60[_0x1628f9-0x1],_0x1628f9%_0x40c8c4?_0x40c8c4>0x6&&_0x1628f9%_0x40c8c4==0x4&&(_0x41f03d=_0x5073d6[_0x41f03d>>>0x18]<<0x18|_0x5073d6[_0x41f03d>>>0x10&0xff]<<0x10|_0x5073d6[_0x41f03d>>>0x8&0xff]<<0x8|_0x5073d6[_0x41f03d&0xff]):(_0x41f03d=_0x41f03d<<0x8|_0x41f03d>>>0x18,_0x41f03d=_0x5073d6[_0x41f03d>>>0x18]<<0x18|_0x5073d6[_0x41f03d>>>0x10&0xff]<<0x10|_0x5073d6[_0x41f03d>>>0x8&0xff]<<0x8|_0x5073d6[_0x41f03d&0xff],_0x41f03d^=_0x254456[_0x1628f9/_0x40c8c4|0x0]<<0x18),_0x2aaa60[_0x1628f9]=_0x2aaa60[_0x1628f9-_0x40c8c4]^_0x41f03d);for(var _0xc03923=this[_0xe8065b(0x303)]=[],_0x39de76=0x0;_0x39de76<_0x13de19;_0x39de76++){var _0x1628f9=_0x13de19-_0x39de76;if(_0x39de76%0x4)var _0x41f03d=_0x2aaa60[_0x1628f9];else var _0x41f03d=_0x2aaa60[_0x1628f9-0x4];_0x39de76<0x4||_0x1628f9<=0x4?_0xc03923[_0x39de76]=_0x41f03d:_0xc03923[_0x39de76]=_0x2daec4[_0x5073d6[_0x41f03d>>>0x18]]^_0x1e193d[_0x5073d6[_0x41f03d>>>0x10&0xff]]^_0x1cdd59[_0x5073d6[_0x41f03d>>>0x8&0xff]]^_0x40375c[_0x5073d6[_0x41f03d&0xff]];}}},'encryptBlock':function(_0x57d2f9,_0x281213){var _0x794d0c=_0x506e8a;this[_0x794d0c(0x335)](_0x57d2f9,_0x281213,this['_keySchedule'],_0x21f8b5,_0x3f6b58,_0x20c327,_0x92a9e9,_0x5073d6);},'decryptBlock':function(_0x26aafd,_0x31343c){var _0x4ebe71=_0x506e8a,_0x4af453=_0x26aafd[_0x31343c+0x1];_0x26aafd[_0x31343c+0x1]=_0x26aafd[_0x31343c+0x3],_0x26aafd[_0x31343c+0x3]=_0x4af453,this[_0x4ebe71(0x335)](_0x26aafd,_0x31343c,this[_0x4ebe71(0x303)],_0x2daec4,_0x1e193d,_0x1cdd59,_0x40375c,_0x4b6245);var _0x4af453=_0x26aafd[_0x31343c+0x1];_0x26aafd[_0x31343c+0x1]=_0x26aafd[_0x31343c+0x3],_0x26aafd[_0x31343c+0x3]=_0x4af453;},'_doCryptBlock':function(_0x3032d8,_0x3ddc8d,_0x43ee1f,_0xfb9982,_0x68f21d,_0x5c343d,_0x4c3cc0,_0x5b6c18){var _0xba9bf9=_0x506e8a;for(var _0x2cb2cc=this[_0xba9bf9(0x3de)],_0x27c642=_0x3032d8[_0x3ddc8d]^_0x43ee1f[0x0],_0x53d11f=_0x3032d8[_0x3ddc8d+0x1]^_0x43ee1f[0x1],_0x57c4b8=_0x3032d8[_0x3ddc8d+0x2]^_0x43ee1f[0x2],_0x2da391=_0x3032d8[_0x3ddc8d+0x3]^_0x43ee1f[0x3],_0x38d5e4=0x4,_0x314052=0x1;_0x314052<_0x2cb2cc;_0x314052++){var _0x3e60c9=_0xfb9982[_0x27c642>>>0x18]^_0x68f21d[_0x53d11f>>>0x10&0xff]^_0x5c343d[_0x57c4b8>>>0x8&0xff]^_0x4c3cc0[_0x2da391&0xff]^_0x43ee1f[_0x38d5e4++],_0x23d268=_0xfb9982[_0x53d11f>>>0x18]^_0x68f21d[_0x57c4b8>>>0x10&0xff]^_0x5c343d[_0x2da391>>>0x8&0xff]^_0x4c3cc0[_0x27c642&0xff]^_0x43ee1f[_0x38d5e4++],_0x1fc1cf=_0xfb9982[_0x57c4b8>>>0x18]^_0x68f21d[_0x2da391>>>0x10&0xff]^_0x5c343d[_0x27c642>>>0x8&0xff]^_0x4c3cc0[_0x53d11f&0xff]^_0x43ee1f[_0x38d5e4++],_0x48b2c1=_0xfb9982[_0x2da391>>>0x18]^_0x68f21d[_0x27c642>>>0x10&0xff]^_0x5c343d[_0x53d11f>>>0x8&0xff]^_0x4c3cc0[_0x57c4b8&0xff]^_0x43ee1f[_0x38d5e4++];_0x27c642=_0x3e60c9,_0x53d11f=_0x23d268,_0x57c4b8=_0x1fc1cf,_0x2da391=_0x48b2c1;}var _0x3e60c9=(_0x5b6c18[_0x27c642>>>0x18]<<0x18|_0x5b6c18[_0x53d11f>>>0x10&0xff]<<0x10|_0x5b6c18[_0x57c4b8>>>0x8&0xff]<<0x8|_0x5b6c18[_0x2da391&0xff])^_0x43ee1f[_0x38d5e4++],_0x23d268=(_0x5b6c18[_0x53d11f>>>0x18]<<0x18|_0x5b6c18[_0x57c4b8>>>0x10&0xff]<<0x10|_0x5b6c18[_0x2da391>>>0x8&0xff]<<0x8|_0x5b6c18[_0x27c642&0xff])^_0x43ee1f[_0x38d5e4++],_0x1fc1cf=(_0x5b6c18[_0x57c4b8>>>0x18]<<0x18|_0x5b6c18[_0x2da391>>>0x10&0xff]<<0x10|_0x5b6c18[_0x27c642>>>0x8&0xff]<<0x8|_0x5b6c18[_0x53d11f&0xff])^_0x43ee1f[_0x38d5e4++],_0x48b2c1=(_0x5b6c18[_0x2da391>>>0x18]<<0x18|_0x5b6c18[_0x27c642>>>0x10&0xff]<<0x10|_0x5b6c18[_0x53d11f>>>0x8&0xff]<<0x8|_0x5b6c18[_0x57c4b8&0xff])^_0x43ee1f[_0x38d5e4++];_0x3032d8[_0x3ddc8d]=_0x3e60c9,_0x3032d8[_0x3ddc8d+0x1]=_0x23d268,_0x3032d8[_0x3ddc8d+0x2]=_0x1fc1cf,_0x3032d8[_0x3ddc8d+0x3]=_0x48b2c1;},'keySize':0x100/0x20});_0x25e1e5[_0x506e8a(0x1dc)]=_0x3b5540[_0x506e8a(0x3a8)](_0x937c08);}()),_0x4a2e98['AES'];}));}(fe)),fe[_0x49e2b5(0x3aa)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x46aeb6(0x3aa)],at;function Xi(){var _0x5652c8=_0x46aeb6;return at||(at=0x1,function(_0x15e604,_0x482685){(function(_0x218b2a,_0x37aa37){var _0x4425cb=_0x3338;_0x15e604[_0x4425cb(0x3aa)]=_0x37aa37(ee());}(Ji,function(_0x56222f){var _0x2333dc=_0x3338;return _0x56222f[_0x2333dc(0x1e5)][_0x2333dc(0x1c5)];}));}(be)),be[_0x5652c8(0x3aa)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x46aeb6(0x3aa)],ct;function tn(){var _0x360dc3=_0x46aeb6;return ct||(ct=0x1,function(_0x1cb28c,_0x208dc9){(function(_0x20bb1c,_0x4f4720){var _0x1ec3b4=_0x3338;_0x1cb28c[_0x1ec3b4(0x3aa)]=_0x4f4720(ee());}(en,function(_0x67f35a){var _0x36c043=_0x3338;return(function(){var _0x432762=_0x3338;if(typeof ArrayBuffer==_0x432762(0x411)){var _0x5a0eff=_0x67f35a,_0x194807=_0x5a0eff[_0x432762(0x2d9)],_0x1c3102=_0x194807['WordArray'],_0x16275d=_0x1c3102[_0x432762(0x31b)],_0x18a82a=_0x1c3102[_0x432762(0x31b)]=function(_0x15c1e3){var _0x118e72=_0x432762;if(_0x15c1e3 instanceof ArrayBuffer&&(_0x15c1e3=new Uint8Array(_0x15c1e3)),(_0x15c1e3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15c1e3 instanceof Uint8ClampedArray||_0x15c1e3 instanceof Int16Array||_0x15c1e3 instanceof Uint16Array||_0x15c1e3 instanceof Int32Array||_0x15c1e3 instanceof Uint32Array||_0x15c1e3 instanceof Float32Array||_0x15c1e3 instanceof Float64Array)&&(_0x15c1e3=new Uint8Array(_0x15c1e3[_0x118e72(0x1e1)],_0x15c1e3[_0x118e72(0x216)],_0x15c1e3[_0x118e72(0x286)])),_0x15c1e3 instanceof Uint8Array){for(var _0x4e7fe7=_0x15c1e3[_0x118e72(0x286)],_0xc54076=[],_0x3e9704=0x0;_0x3e9704<_0x4e7fe7;_0x3e9704++)_0xc54076[_0x3e9704>>>0x2]|=_0x15c1e3[_0x3e9704]<<0x18-_0x3e9704%0x4*0x8;_0x16275d['call'](this,_0xc54076,_0x4e7fe7);}else _0x16275d[_0x118e72(0x9f)](this,arguments);};_0x18a82a[_0x432762(0x11b)]=_0x1c3102;}}()),_0x67f35a['lib'][_0x36c043(0x134)];}));}(Re)),Re[_0x360dc3(0x3aa)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x46aeb6(0x3aa)],ht;function on(){var _0x3fc80d=_0x46aeb6;return ht||(ht=0x1,function(_0x23aa01,_0x540a23){(function(_0x46a9a1,_0x2e4e70,_0x25bf90){var _0x4d329e=_0x3338;_0x23aa01[_0x4d329e(0x3aa)]=_0x2e4e70(ee(),Pt());}(sn,function(_0x5ad0ed){var _0x5c3adc=_0x3338;return _0x5ad0ed['pad'][_0x5c3adc(0x353)]={'pad':function(){},'unpad':function(){}},_0x5ad0ed[_0x5c3adc(0x317)][_0x5c3adc(0x353)];}));}(Oe)),Oe[_0x3fc80d(0x3aa)];}var an=on();const cn=Se(an);function hn(_0x4958d1,_0x17124e){var _0x4bc5f4=_0x46aeb6;const _0x59d8e6=_0x17124e-_0x4958d1[_0x4bc5f4(0x3f0)]%_0x17124e,_0x555891=String[_0x4bc5f4(0x1be)](_0x59d8e6)['repeat'](_0x59d8e6);return _0x4958d1+_0x555891;}function _n(_0x859814,_0x2ebb6e){var _0x57f20c=_0x46aeb6;const _0x1911c0=rn[_0x57f20c(0xc0)](0x10),_0x6ec91=hn(_0x859814,0x10),_0x2b7b12=qi[_0x57f20c(0x22a)](Qi[_0x57f20c(0x2b9)](_0x6ec91),ot[_0x57f20c(0x2b9)](_0x2ebb6e),{'iv':_0x1911c0,'padding':cn});return _0x1911c0['concat'](_0x2b7b12[_0x57f20c(0x28c)])[_0x57f20c(0x30f)](ot);}function ln(){var _0x5ee297=_0x46aeb6;const _0x4ec8fa=xt['getGlobalObject']()[_0x5ee297(0x3a6)];if(_0x4ec8fa){const _0x47af9f={'time':Math[_0x5ee297(0x37c)](Date['now']()/0x3e8),'domain':location[_0x5ee297(0x354)]};return _n(JSON['stringify'](_0x47af9f),_0x4ec8fa);}}var un=Object[_0x46aeb6(0x103)],dn=(_0x4945c5,_0x45943d,_0x41cebc,_0x3fe82e)=>{var _0x42a0e7=_0x46aeb6;for(var _0x3cf115=_0x3fe82e>0x1?void 0x0:_0x3fe82e?un(_0x45943d,_0x41cebc):_0x45943d,_0x39a13e=_0x4945c5[_0x42a0e7(0x3f0)]-0x1,_0x525dde;_0x39a13e>=0x0;_0x39a13e--)(_0x525dde=_0x4945c5[_0x39a13e])&&(_0x3cf115=_0x525dde(_0x3cf115)||_0x3cf115);return _0x3cf115;},vn=(_0x6dc239,_0x260f59)=>(_0x167702,_0x1e4776)=>_0x260f59(_0x167702,_0x1e4776,_0x6dc239);let Ne=class{constructor(_0x58b101){var _0x39334b=_0x46aeb6;this[_0x39334b(0x1b3)]=_0x58b101,this['_initRequestHeader']();}[_0x46aeb6(0x2a1)](){var _0x3aa9b9=_0x46aeb6;this[_0x3aa9b9(0x1b3)][_0x3aa9b9(0x391)]({'interceptor':(_0x3164bb,_0x52fd53)=>{var _0x2794c7=_0x3aa9b9;const _0x38cf68=_0x3164bb[_0x2794c7(0x38b)],_0x2f165f=ln();return _0x2f165f&&_0x38cf68[_0x2794c7(0x253)](_0x2794c7(0x1d3),_0x2f165f),_0x52fd53(_0x3164bb);}});}};Ne=dn([vn(0x0,a[_0x46aeb6(0x136)](q[_0x46aeb6(0x24b)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0xb087db,_0x2fb48c,_0x50f29a,_0x1fc3f4)=>{for(var _0x8d6a91=_0x1fc3f4>0x1?void 0x0:_0x1fc3f4?Sn(_0x2fb48c,_0x50f29a):_0x2fb48c,_0x51f457=_0xb087db['length']-0x1,_0x4e492;_0x51f457>=0x0;_0x51f457--)(_0x4e492=_0xb087db[_0x51f457])&&(_0x8d6a91=_0x4e492(_0x8d6a91)||_0x8d6a91);return _0x8d6a91;},Me=(_0x1cde9c,_0x1c0856)=>(_0x40046a,_0x2029f0)=>_0x1c0856(_0x40046a,_0x2029f0,_0x1cde9c);exports[_0x46aeb6(0x1a7)]=class extends a['RxDisposable']{constructor(_0x31322c,_0x12584a,_0x579a36){var _0x542c6b=_0x46aeb6;super(),A(this,_0x542c6b(0x208),new j['BehaviorSubject'](null)),A(this,_0x542c6b(0x39b),this[_0x542c6b(0x208)][_0x542c6b(0x32a)]()),(this['_logService']=_0x31322c,this[_0x542c6b(0xd6)]=_0x12584a,this[_0x542c6b(0x38d)]=_0x579a36);}async[_0x46aeb6(0x20c)](_0x640c76,_0x143bf6,_0x155ee9){var _0x1b5899=_0x46aeb6;this[_0x1b5899(0x208)][_0x1b5899(0x3a5)]({'unitId':_0x640c76,'type':_0x143bf6,'subUnitId':_0x155ee9});let _0x2c8920=null;switch(_0x143bf6){case X['UNIVER_SHEET']:{_0x2c8920=await this['_loadSheet'](_0x640c76);break;}case X[_0x1b5899(0x1c8)]:{_0x2c8920=await this[_0x1b5899(0x23c)](_0x640c76);break;}default:{this[_0x1b5899(0x40e)][_0x1b5899(0x409)](_0x1b5899(0xff),_0x1b5899(0x295));break;}}return _0x2c8920;}async[_0x46aeb6(0x3eb)](_0x40cd49){var _0x100eb1=_0x46aeb6,_0x900f87;let _0xa237d=0x0;const _0x4e5369=await((_0x900f87=this[_0x100eb1(0x38d)])==null?void 0x0:_0x900f87[_0x100eb1(0x125)](_0x40cd49));return _0x4e5369&&(_0x4e5369[_0x100eb1(0x326)]||_0x4e5369[_0x100eb1(0x33b)][_0x100eb1(0x3f0)]!==0x0)&&(_0xa237d=_0x4e5369[_0x100eb1(0x26a)]),_0xa237d===0x0&&this[_0x100eb1(0x40e)]['debug'](_0x100eb1(0xff),_0x100eb1(0x240)),this[_0x100eb1(0xd6)][_0x100eb1(0x248)](_0x40cd49,_0xa237d);}async[_0x46aeb6(0x23c)](_0x24cb9b){var _0x2579af=_0x46aeb6,_0x4e04b5;let _0x288c4d=0x0;const _0x367fec=await((_0x4e04b5=this[_0x2579af(0x38d)])==null?void 0x0:_0x4e04b5['loadOfflineData'](_0x24cb9b));return _0x367fec&&(_0x367fec['awaitingChangeset']||_0x367fec[_0x2579af(0x33b)]['length']!==0x0)&&(_0x288c4d=_0x367fec['rev']),_0x288c4d===0x0&&this[_0x2579af(0x40e)][_0x2579af(0x3a7)]('[DataLoaderService]',_0x2579af(0x240)),this[_0x2579af(0xd6)][_0x2579af(0x259)](_0x24cb9b,_0x288c4d);}},exports[_0x46aeb6(0x1a7)]=fn([Me(0x0,a[_0x46aeb6(0x2b1)]),Me(0x1,a[_0x46aeb6(0x136)](g['SnapshotService'])),Me(0x2,a[_0x46aeb6(0xad)](z))],exports[_0x46aeb6(0x1a7)]);var pn=Object[_0x46aeb6(0x103)],gn=(_0xe1a437,_0x32d440,_0x59767e,_0x57f34f)=>{for(var _0x24e653=_0x57f34f>0x1?void 0x0:_0x57f34f?pn(_0x32d440,_0x59767e):_0x32d440,_0x1262f5=_0xe1a437['length']-0x1,_0x27f434;_0x1262f5>=0x0;_0x1262f5--)(_0x27f434=_0xe1a437[_0x1262f5])&&(_0x24e653=_0x27f434(_0x24e653)||_0x24e653);return _0x24e653;},xe=(_0xaa3eae,_0x5b45eb)=>(_0x351ef7,_0x2d0666)=>_0x5b45eb(_0x351ef7,_0x2d0666,_0xaa3eae);const In=[_0x46aeb6(0x27f),_0x46aeb6(0x278),_0x46aeb6(0x3c3),_0x46aeb6(0x1f5),_0x46aeb6(0xe1)],mn=0x5*0x400*0x400,En=_0x46aeb6(0x15e),Cn=_0x46aeb6(0xc7),Tn=_0x46aeb6(0x32f),bn=_0x46aeb6(0x2cb);exports[_0x46aeb6(0x3e9)]=class{constructor(_0x11ad23,_0x96c10a,_0x2b644d){var _0x4073eb=_0x46aeb6;A(this,'_waitCount',0x0),A(this,_0x4073eb(0x243),new j['Subject']()),A(this,_0x4073eb(0x23b),this[_0x4073eb(0x243)]),A(this,_0x4073eb(0x3a9),new Map()),(this[_0x4073eb(0x1b3)]=_0x11ad23,this[_0x4073eb(0x2d2)]=_0x96c10a,this[_0x4073eb(0x267)]=_0x2b644d);}[_0x46aeb6(0x1ad)](_0x131588){var _0x1f1dc0=_0x46aeb6;this[_0x1f1dc0(0x221)]=_0x131588,this[_0x1f1dc0(0x243)][_0x1f1dc0(0x3a5)](_0x131588);}[_0x46aeb6(0x25a)](_0x134c6f,_0x239800){var _0x2a2f01=_0x46aeb6;if(_0x239800===J[_0x2a2f01(0x232)][_0x2a2f01(0x8e)]){const _0x18a4b9=new Image();return _0x18a4b9[_0x2a2f01(0x2c7)]=_0x134c6f,_0x18a4b9;}return this[_0x2a2f01(0x3a9)][_0x2a2f01(0x25e)](_0x134c6f);}[_0x46aeb6(0x318)](_0x525f73,_0x318ae0,_0x2af5ae){var _0x3f7379=_0x46aeb6;_0x318ae0===J['ImageSourceType']['BASE64']||_0x2af5ae==null||this[_0x3f7379(0x3a9)][_0x3f7379(0x253)](_0x525f73,_0x2af5ae);}async[_0x46aeb6(0x3c0)](_0x1b46f9){var _0x2e7d65=_0x46aeb6;try{const _0x4a097e=this[_0x2e7d65(0x14e)](this[_0x2e7d65(0x257)](),''+_0x1b46f9),_0x566be6=(await this[_0x2e7d65(0x1b3)]['get'](_0x4a097e))[_0x2e7d65(0x93)];if(_0x566be6[_0x2e7d65(0x409)]&&_0x566be6[_0x2e7d65(0x409)]['code']===Ct['OK']){const _0xcc6fbd=new URL(_0x566be6[_0x2e7d65(0xf0)],this[_0x2e7d65(0x220)]())[_0x2e7d65(0x30f)]();return Promise[_0x2e7d65(0x152)](_0xcc6fbd);}return Promise[_0x2e7d65(0x3fa)](_0x566be6['error']);}catch(_0x12812f){return Promise['reject'](_0x12812f);}}async[_0x46aeb6(0x31a)](_0x392331){var _0x172af1=_0x46aeb6;let _0x4db655='';if(!In[_0x172af1(0x1a0)](_0x392331['type']))return this[_0x172af1(0x9c)](),Promise[_0x172af1(0x3fa)](new Error(J[_0x172af1(0x2ed)][_0x172af1(0x388)]));if(_0x392331[_0x172af1(0x2d5)]>mn)return this[_0x172af1(0x9c)](),Promise[_0x172af1(0x3fa)](new Error(J['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x193809=new FormData();_0x193809[_0x172af1(0x2e8)](_0x172af1(0x235),_0x392331);const _0x562464=this[_0x172af1(0x267)][_0x172af1(0x1d0)](),_0x36f717=_0x562464==null?void 0x0:_0x562464[_0x172af1(0x3f6)]();if(!_0x36f717)throw new Error(_0x172af1(0x299));const _0x1f1430=this[_0x172af1(0xaa)]()+_0x172af1(0x1db)+_0x392331[_0x172af1(0x2d5)]['toString']()+_0x172af1(0x11d)+Tt[_0x172af1(0xe5)]+_0x172af1(0xba)+encodeURIComponent(_0x36f717),_0x102fb2=await(await fetch(_0x1f1430,{'method':_0x172af1(0xea),'body':_0x193809}))[_0x172af1(0x2cc)]();if(typeof _0x102fb2[_0x172af1(0x1f4)]!=_0x172af1(0xcc))return this[_0x172af1(0x9c)](),Promise[_0x172af1(0x3fa)](new Error(J['ImageUploadStatusType'][_0x172af1(0x1d1)]));_0x4db655=_0x102fb2[_0x172af1(0x1f4)];}catch{return this[_0x172af1(0x9c)](),Promise[_0x172af1(0x3fa)](new Error(J[_0x172af1(0x2ed)]['ERROR_IMAGE']));}return new Promise((_0x189cce,_0x2d73e7)=>{const _0x5b82bb=new FileReader();_0x5b82bb['readAsDataURL'](_0x392331),_0x5b82bb['onload']=_0x5a9c27=>{var _0x2849ce=_0x3338,_0x447e6b;const _0x2f8de0=(_0x447e6b=_0x5a9c27[_0x2849ce(0x3b3)])==null?void 0x0:_0x447e6b[_0x2849ce(0x3bf)];if(_0x2f8de0==null){this[_0x2849ce(0x9c)](),_0x2d73e7(new Error(J['ImageUploadStatusType'][_0x2849ce(0x1d1)]));return;}const _0x89b606=a['Tools'][_0x2849ce(0x22f)](0x6);_0x189cce({'imageId':_0x89b606,'imageSourceType':J[_0x2849ce(0x232)]['UUID'],'source':_0x4db655,'base64Cache':_0x2f8de0,'status':J[_0x2849ce(0x2ed)]['SUCCUSS']}),this[_0x2849ce(0x9c)]();};});}['_getUploadFileURL'](){var _0x5edc17=_0x46aeb6,_0x5490df,_0x233a60;const _0x2acc6c=this[_0x5edc17(0x2d2)][_0x5edc17(0x2a3)](En),_0x43d13a=this['_configService']['getConfig'](Y);return(_0x233a60=(_0x5490df=_0x43d13a==null?void 0x0:_0x43d13a[_0x5edc17(0x1c3)])!=null?_0x5490df:_0x2acc6c)!=null?_0x233a60:Cn;}[_0x46aeb6(0x257)](){var _0x376959=_0x46aeb6,_0x160b07,_0x298320;const _0xc2c5f4=this[_0x376959(0x2d2)]['getConfig'](Tn),_0x117480=this[_0x376959(0x2d2)][_0x376959(0x2a3)](Y);return(_0x298320=(_0x160b07=_0x117480==null?void 0x0:_0x117480[_0x376959(0x14b)])!=null?_0x160b07:_0xc2c5f4)!=null?_0x298320:bn;}['_getDownloadEndpointURL'](){var _0x17ce98=_0x46aeb6,_0x1000ba;const _0x59dc28=this[_0x17ce98(0x2d2)][_0x17ce98(0x2a3)](Y);return(_0x1000ba=_0x59dc28==null?void 0x0:_0x59dc28['downloadEndpointUrl'])!=null?_0x1000ba:location[_0x17ce98(0x400)];}[_0x46aeb6(0x14e)](_0x10e313,_0x1e5b20){return _0x10e313['replace']('{fileID}',_0x1e5b20);}[_0x46aeb6(0x9c)](){var _0x1bcaba=_0x46aeb6;this[_0x1bcaba(0x221)]-=0x1,this['_change$']['next'](this['_waitCount']);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x46aeb6(0x136)](q[_0x46aeb6(0x24b)])),xe(0x1,a[_0x46aeb6(0xdc)]),xe(0x2,a[_0x46aeb6(0x136)](a[_0x46aeb6(0x23d)]))],exports[_0x46aeb6(0x3e9)]);var Rn=Object['getOwnPropertyDescriptor'],On=(_0x56d80f,_0x168e70,_0x2d1f4b,_0x201ea3)=>{for(var _0x489595=_0x201ea3>0x1?void 0x0:_0x201ea3?Rn(_0x168e70,_0x2d1f4b):_0x168e70,_0x2909f7=_0x56d80f['length']-0x1,_0x1fceb1;_0x2909f7>=0x0;_0x2909f7--)(_0x1fceb1=_0x56d80f[_0x2909f7])&&(_0x489595=_0x1fceb1(_0x489595)||_0x489595);return _0x489595;},_t=(_0x411399,_0x2bfe3d)=>(_0x26d09f,_0x560597)=>_0x2bfe3d(_0x26d09f,_0x560597,_0x411399);const yn=_0x46aeb6(0x3f1);exports[_0x46aeb6(0x3fb)]=class{constructor(_0x372abb,_0x4242eb){var _0x5f1fe1=_0x46aeb6;this[_0x5f1fe1(0x2d2)]=_0x372abb,this[_0x5f1fe1(0x204)]=_0x4242eb;}[_0x46aeb6(0x277)](){var _0x1689ac=_0x46aeb6,_0x2a7e37,_0xac48eb;const _0x4b373b=this['_configService'][_0x1689ac(0x2a3)](Ge),_0x6f1cb3=this['_configService'][_0x1689ac(0x2a3)](Y);return(_0xac48eb=(_0x2a7e37=_0x6f1cb3==null?void 0x0:_0x6f1cb3[_0x1689ac(0x1b6)])!=null?_0x2a7e37:_0x4b373b)!=null?_0xac48eb:yn;}async[_0x46aeb6(0x255)](_0x4bbfed){var _0x2d8130=_0x46aeb6;const _0x1439a0=this[_0x2d8130(0x277)]()+_0x2d8130(0x266);return{'list':[{'title':_0x2d8130(0x1d2),'mentions':(await this['_HTTPService'][_0x2d8130(0x25e)](_0x1439a0,{'params':{'objectID':_0x4bbfed[_0x2d8130(0x3ab)],'unitID':_0x4bbfed['unitId']}}))['body'][_0x2d8130(0x1af)][_0x2d8130(0xb5)](_0x8742d2=>({'objectId':_0x8742d2['id'],'name':_0x8742d2['subject']['name'],'metadata':{'icon':_0x8742d2[_0x2d8130(0x1c7)][_0x2d8130(0x1ff)]},'label':_0x8742d2['subject'][_0x2d8130(0x3d9)],'objectType':a[_0x2d8130(0x13b)][_0x2d8130(0x166)]})),'metadata':{},'type':a['MentionType'][_0x2d8130(0x166)]}]};}},exports[_0x46aeb6(0x3fb)]=On([_t(0x0,a[_0x46aeb6(0x136)](a[_0x46aeb6(0xdc)])),_t(0x1,a[_0x46aeb6(0x136)](q[_0x46aeb6(0x24b)]))],exports[_0x46aeb6(0x3fb)]);var Nn=Object[_0x46aeb6(0x103)],Dn=(_0x55ebca,_0x27277e,_0x397306,_0x267903)=>{var _0x345ca3=_0x46aeb6;for(var _0x27bfa3=_0x267903>0x1?void 0x0:_0x267903?Nn(_0x27277e,_0x397306):_0x27277e,_0x4904bb=_0x55ebca[_0x345ca3(0x3f0)]-0x1,_0x56de52;_0x4904bb>=0x0;_0x4904bb--)(_0x56de52=_0x55ebca[_0x4904bb])&&(_0x27bfa3=_0x56de52(_0x27bfa3)||_0x27bfa3);return _0x27bfa3;},ue=(_0x5be6f6,_0x33a157)=>(_0x13dc5e,_0x42b993)=>_0x33a157(_0x13dc5e,_0x42b993,_0x5be6f6);let De=class extends a['RxDisposable']{constructor(_0x18dd13,_0x441065,_0xc6282a,_0x2fcfc9,_0x49d8e0){var _0x174a02=_0x46aeb6;super(),this[_0x174a02(0x393)]=_0x18dd13,this[_0x174a02(0x267)]=_0x441065,this[_0x174a02(0x416)]=_0xc6282a,this[_0x174a02(0xce)]=_0x2fcfc9,this['_collaborationUIEventService']=_0x49d8e0,this[_0x174a02(0x34e)](),this[_0x174a02(0x304)]();}['_initCloseConn'](){var _0x20f7ce=_0x46aeb6;const _0x1a7ef8=async _0x4ecba2=>{var _0x3fd3d7=_0x3338;(await this['_collaborationSessionService']['requireSession'](_0x4ecba2))[_0x3fd3d7(0x404)]['pipe'](V[_0x3fd3d7(0x40c)](_0x4a2f4c=>_0x4a2f4c[_0x3fd3d7(0x2c6)]===g[_0x3fd3d7(0x237)][_0x3fd3d7(0x1f7)]),V[_0x3fd3d7(0x38a)](this[_0x3fd3d7(0x379)]))[_0x3fd3d7(0x224)](_0x38ca5b=>{var _0x2d5369=_0x3fd3d7;const _0x4d5598=_0x38ca5b,{reason:_0x411784}=_0x4d5598[_0x2d5369(0x2eb)];this[_0x2d5369(0x3ac)]['emitEvent']({'id':Q['CLOSE_ROOM'],'data':_0x411784}),this[_0x2d5369(0x416)][_0x2d5369(0x1b5)](new Z['WorkbookEditablePermission'](_0x4ecba2)['id'],!0x1),this[_0x2d5369(0xce)][_0x2d5369(0x1a1)](_0x4ecba2);});};j[_0x20f7ce(0xb1)](this[_0x20f7ce(0x267)][_0x20f7ce(0x290)](a[_0x20f7ce(0x205)][_0x20f7ce(0x3ca)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x20f7ce(0x205)][_0x20f7ce(0x1c8)]))[_0x20f7ce(0x20f)](V[_0x20f7ce(0xb5)](_0x11e1d5=>_0x11e1d5[_0x20f7ce(0x3f6)]()),V['filter'](_0x20e9d0=>!a[_0x20f7ce(0x300)](_0x20e9d0)),V['takeUntil'](this[_0x20f7ce(0x379)]))[_0x20f7ce(0x224)](_0x58f595=>{_0x1a7ef8(_0x58f595);});}[_0x46aeb6(0x34e)](){var _0x5cd271=_0x46aeb6;const _0x127602=async _0x36cda0=>{var _0x38905b=_0x3338;const _0x1aea75=await this[_0x38905b(0xce)]['requireSession'](_0x36cda0),_0x1ee441=this[_0x38905b(0x393)][_0x38905b(0x25e)](Z[_0x38905b(0x2ba)]);_0x1aea75[_0x38905b(0x404)][_0x38905b(0x20f)](V[_0x38905b(0x40c)](_0x281ab9=>_0x281ab9[_0x38905b(0x2c6)]===g[_0x38905b(0x237)][_0x38905b(0xf7)]),V[_0x38905b(0x38a)](this[_0x38905b(0x379)]))[_0x38905b(0x224)](_0x4a3586=>{var _0x4bfc1b=_0x38905b;const _0x200ce3=_0x4a3586,{objectId:_0x2528bf}=_0x200ce3[_0x4bfc1b(0x2eb)];_0x2528bf===_0x36cda0?_0x1ee441[_0x4bfc1b(0xdd)](_0x36cda0):_0x1ee441['refreshPermission'](_0x36cda0,_0x2528bf);});};j[_0x5cd271(0xb1)](this[_0x5cd271(0x267)][_0x5cd271(0x290)](a['UniverInstanceType'][_0x5cd271(0x3ca)]))['pipe'](V[_0x5cd271(0xb5)](_0x212dad=>_0x212dad[_0x5cd271(0x3f6)]()),V[_0x5cd271(0x40c)](_0x3902e7=>!a[_0x5cd271(0x300)](_0x3902e7)),V[_0x5cd271(0x38a)](this['dispose$']))[_0x5cd271(0x224)](_0x3371f6=>{_0x127602(_0x3371f6);});}};De=Dn([ue(0x0,a[_0x46aeb6(0x136)](a['Injector'])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a['IPermissionService']),ue(0x3,a['Inject'](exports['CollaborationSessionService'])),ue(0x4,a[_0x46aeb6(0x136)](te))],De);var Un=Object[_0x46aeb6(0x103)],An=(_0x46e4ad,_0x576a2c,_0x53f2fd,_0x23cc8c)=>{for(var _0xd2452e=_0x23cc8c>0x1?void 0x0:_0x23cc8c?Un(_0x576a2c,_0x53f2fd):_0x576a2c,_0x30f964=_0x46e4ad['length']-0x1,_0x31721d;_0x30f964>=0x0;_0x30f964--)(_0x31721d=_0x46e4ad[_0x30f964])&&(_0xd2452e=_0x31721d(_0xd2452e)||_0xd2452e);return _0xd2452e;},lt=(_0x5c745e,_0x420075)=>(_0x3a3b69,_0x5169fb)=>_0x420075(_0x3a3b69,_0x5169fb,_0x5c745e);exports[_0x46aeb6(0xbc)]=class{constructor(_0x47eee4,_0x4a7a70){var _0x5c5049=_0x46aeb6;this['_configService']=_0x47eee4,this[_0x5c5049(0x1b3)]=_0x4a7a70;}async[_0x46aeb6(0x176)](_0x58e80d,_0x16116a){var _0x8f84d9=_0x46aeb6,_0x23aef2;const {unitID:_0x44ac75,type:_0x5140d7,revision:_0x12b756=0x0}=_0x16116a,_0x357967=this[_0x8f84d9(0x29d)]()+'/'+_0x5140d7+'/unit/'+_0x44ac75+_0x8f84d9(0x256)+_0x12b756,_0x511256=(await this[_0x8f84d9(0x1b3)][_0x8f84d9(0x25e)](_0x357967))[_0x8f84d9(0x93)],_0x34ed8a=(_0x23aef2=_0x511256[_0x8f84d9(0x161)])==null?void 0x0:_0x23aef2['workbook'];if(_0x34ed8a){const _0x3da3c5=_0x34ed8a==null?void 0x0:_0x34ed8a['originalMeta'],_0x2211ab=g['textEncoder'][_0x8f84d9(0x310)](g[_0x8f84d9(0x2a4)](_0x3da3c5));_0x34ed8a['originalMeta']=_0x2211ab,Object['entries'](_0x34ed8a[_0x8f84d9(0x206)])[_0x8f84d9(0x30c)](([,_0x13c021])=>{var _0x2f9179=_0x8f84d9;const _0x1fb5ea=_0x13c021['originalMeta'],_0x26b5b4=g['textEncoder'][_0x2f9179(0x310)](g[_0x2f9179(0x2a4)](_0x1fb5ea));_0x13c021[_0x2f9179(0x285)]=_0x26b5b4;});}return _0x511256;}async[_0x46aeb6(0x28d)](_0x842fe7,_0x278866){var _0x488866=_0x46aeb6;const {unitID:_0x1ad5c7,type:_0xddcce9,blockID:_0x13dcbe}=_0x278866,_0x1cb2ca=this[_0x488866(0x3b8)]()+'/'+_0xddcce9+_0x488866(0x1b4)+_0x1ad5c7+'/block/'+_0x13dcbe;return(await this[_0x488866(0x1b3)][_0x488866(0x25e)](_0x1cb2ca))[_0x488866(0x93)];}async[_0x46aeb6(0x415)](_0x1eeee1,_0x3e3701){var _0x35670e=_0x46aeb6;const {unitID:_0x4c6243,type:_0x53d37a,blockID:_0x463314}=_0x3e3701,_0x57e619=this[_0x35670e(0x3b8)]()+_0x35670e(0x15d)+_0x53d37a+_0x35670e(0x1b4)+_0x4c6243+_0x35670e(0x15d)+_0x463314;return(await this['_httpService'][_0x35670e(0x25e)](_0x57e619))['body'];}async['fetchMissingChangesets'](_0x3b37c4,_0x4d0912){var _0x479979=_0x46aeb6;const {unitID:_0x1f5624,type:_0x40cf49,from:_0x31610e,to:_0x4852db}=_0x4d0912,_0x46be08=this['_getAPIPrefix']()+'/'+_0x40cf49+'/unit/'+_0x1f5624+'/fetchmissing?from='+_0x31610e+_0x479979(0x342)+_0x4852db;return(await this[_0x479979(0x1b3)][_0x479979(0x25e)](_0x46be08))[_0x479979(0x93)];}['getSnapshotAPIPath'](){var _0x27a741=_0x46aeb6,_0x6b68cf;return(_0x6b68cf=this['_configService'][_0x27a741(0x2a3)](vt))!=null?_0x6b68cf:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x26b779=_0x46aeb6,_0x33b07e,_0x439ada;const _0x1df70=this[_0x26b779(0x2d2)][_0x26b779(0x2a3)](dt),_0x50ebc3=this[_0x26b779(0x2d2)][_0x26b779(0x2a3)](Y);return(_0x439ada=(_0x33b07e=_0x50ebc3==null?void 0x0:_0x50ebc3[_0x26b779(0x1a5)])!=null?_0x33b07e:_0x1df70)!=null?_0x439ada:kt;}async['getResourcesRequest'](_0x5bae1e,_0x1fd9e1){var _0xb6ddf1=_0x46aeb6;const _0x333962=_0xb6ddf1(0x121)+_0x1fd9e1[_0xb6ddf1(0x2c5)]+'/unit/'+_0x1fd9e1[_0xb6ddf1(0x3e5)]+_0xb6ddf1(0x29c);return(await this[_0xb6ddf1(0x1b3)][_0xb6ddf1(0x25e)](_0x333962,{'params':{'resourceId':JSON[_0xb6ddf1(0x188)](_0x1fd9e1[_0xb6ddf1(0x334)])}}))[_0xb6ddf1(0x93)];}[_0x46aeb6(0x3cb)](){var _0x1bb32c=_0x46aeb6;throw new Error(_0x1bb32c(0x23f));}[_0x46aeb6(0x20d)](){var _0x118b71=_0x46aeb6;throw new Error(_0x118b71(0x23f));}[_0x46aeb6(0x1f0)](){var _0x301377=_0x46aeb6;throw new Error(_0x301377(0x23f));}[_0x46aeb6(0x12c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46aeb6(0x3d5)](){var _0x5e2b91=_0x46aeb6;throw new Error(_0x5e2b91(0x23f));}},exports[_0x46aeb6(0xbc)]=An([lt(0x0,a[_0x46aeb6(0xdc)]),lt(0x1,a[_0x46aeb6(0x136)](q['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x46aeb6(0x103)],wn=(_0x38870,_0x49cb44,_0x42f693,_0x45ea79)=>{var _0x2be0e1=_0x46aeb6;for(var _0x1d9baa=_0x45ea79>0x1?void 0x0:_0x45ea79?Pn(_0x49cb44,_0x42f693):_0x49cb44,_0x2e8921=_0x38870[_0x2be0e1(0x3f0)]-0x1,_0xc9daf5;_0x2e8921>=0x0;_0x2e8921--)(_0xc9daf5=_0x38870[_0x2e8921])&&(_0x1d9baa=_0xc9daf5(_0x1d9baa)||_0x1d9baa);return _0x1d9baa;},de=(_0x402250,_0x231dc6)=>(_0x4020b7,_0x340a60)=>_0x231dc6(_0x4020b7,_0x340a60,_0x402250);exports[_0x46aeb6(0x26d)]=class extends a[_0x46aeb6(0x3f4)]{constructor(_0x1cc991,_0x58428b,_0x1886bf,_0x176f41,_0x59b918){var _0x2bb5aa=_0x46aeb6;super(_0x1cc991,_0x58428b,_0x1886bf),this[_0x2bb5aa(0x155)]=_0x176f41,this['_logService']=_0x59b918;}[_0x46aeb6(0x154)](_0x5328fe,_0x16c04d){var _0x1e6114=_0x46aeb6;const _0x40c680=this[_0x1e6114(0x193)](_0x5328fe);if(_0x40c680)try{const _0x3e31b0=this[_0x1e6114(0xbf)](_0x40c680,_0x16c04d);this[_0x1e6114(0x33a)](_0x5328fe,_0x3e31b0);}catch(_0x48886b){this[_0x1e6114(0x40e)][_0x1e6114(0x409)](_0x1e6114(0x172),_0x48886b),this['_clearUndo'](_0x5328fe);}const _0x1df808=this[_0x1e6114(0x24c)](_0x5328fe);if(_0x1df808)try{const _0xdc4410=this['_transformStack'](_0x1df808,_0x16c04d);this[_0x1e6114(0x1c0)](_0x5328fe,_0xdc4410);}catch(_0x280269){this[_0x1e6114(0x40e)][_0x1e6114(0x409)](_0x280269),this['_clearRedo'](_0x5328fe);}}['_clearUndo'](_0xead02c){var _0x4388e3=_0x46aeb6;const _0x1afbbd=this[_0x4388e3(0x193)](_0xead02c);_0x1afbbd&&(_0x1afbbd[_0x4388e3(0x3f0)]=0x0,this[_0x4388e3(0xa8)]());}[_0x46aeb6(0x3da)](_0x1aaaca){var _0x5f1eaa=_0x46aeb6;const _0x17cbc9=this['_getRedoStack'](_0x1aaaca);_0x17cbc9&&(_0x17cbc9['length']=0x0,this[_0x5f1eaa(0xa8)]());}['_substituteUndoStack'](_0x3a34bb,_0x5339a3){var _0x138fa1=_0x46aeb6;this[_0x138fa1(0x367)][_0x138fa1(0x253)](_0x3a34bb,_0x5339a3),this['_updateStatus']();}['_substituteRedoStack'](_0x50a92d,_0x297003){var _0x563c07=_0x46aeb6;this[_0x563c07(0x389)][_0x563c07(0x253)](_0x50a92d,_0x297003),this['_updateStatus']();}[_0x46aeb6(0xbf)](_0x7fc56a,_0x39b182){var _0x39ba1b=_0x46aeb6;const _0x39e387=[];let _0x144a84=_0x39b182,_0x442558=_0x39b182;for(let _0x204f09=_0x7fc56a[_0x39ba1b(0x3f0)]-0x1;_0x204f09>=0x0;_0x204f09--){const {unitID:_0x3d4646,undoMutations:_0xbc237b,redoMutations:_0x2ac4d6}=_0x7fc56a[_0x204f09],_0x250003=this[_0x39ba1b(0x155)]['transformMutationsWithChangeset'](_0x144a84,_0xbc237b),_0x2b891e=this[_0x39ba1b(0x155)][_0x39ba1b(0xfe)](_0x442558,_0x2ac4d6);if(g[_0x39ba1b(0x343)](_0x250003)||g[_0x39ba1b(0x343)](_0x2b891e)){this[_0x39ba1b(0x40e)]['error'](_0x39ba1b(0x172),_0x39ba1b(0x32c),_0x250003,_0x2b891e);break;}_0x144a84=_0x250003[_0x39ba1b(0x1ba)],_0x442558=_0x2b891e['c1Prime'],_0x39e387[_0x39ba1b(0x106)]({'unitID':_0x3d4646,'undoMutations':_0x250003[_0x39ba1b(0x1fb)],'redoMutations':_0x2b891e['m2Prime']});}return _0x39e387[_0x39ba1b(0x3c4)]();}},exports[_0x46aeb6(0x26d)]=wn([de(0x0,a[_0x46aeb6(0x23d)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,g['ITransformService']),de(0x4,a[_0x46aeb6(0x2b1)])],exports[_0x46aeb6(0x26d)]);var Ln=Object['defineProperty'],Mn=Object[_0x46aeb6(0x103)],xn=(_0x3e7a8b,_0x54dc03,_0x241f1a)=>_0x54dc03 in _0x3e7a8b?Ln(_0x3e7a8b,_0x54dc03,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x241f1a}):_0x3e7a8b[_0x54dc03]=_0x241f1a,kn=(_0x2c2946,_0x3c6c2b,_0xf4bd5c,_0x17cb83)=>{var _0x51a7e6=_0x46aeb6;for(var _0x49107e=_0x17cb83>0x1?void 0x0:_0x17cb83?Mn(_0x3c6c2b,_0xf4bd5c):_0x3c6c2b,_0x246045=_0x2c2946[_0x51a7e6(0x3f0)]-0x1,_0x485f5e;_0x246045>=0x0;_0x246045--)(_0x485f5e=_0x2c2946[_0x246045])&&(_0x49107e=_0x485f5e(_0x49107e)||_0x49107e);return _0x49107e;},ke=(_0x3dd22c,_0x413c8f)=>(_0x4beeb8,_0x3b9eaa)=>_0x413c8f(_0x4beeb8,_0x3b9eaa,_0x3dd22c),Hn=(_0x183f1d,_0xe9d5d9,_0x53c104)=>xn(_0x183f1d,_0xe9d5d9+'',_0x53c104);const jn=_0x46aeb6(0xf9);exports[_0x46aeb6(0xda)]=class extends a[_0x46aeb6(0x1f6)]{constructor(_0x3b4fb3,_0xab1a53,_0x5c99f8,_0x3e8cf5){var _0x45dae2=_0x46aeb6;super(),A(this,'_config'),(this[_0x45dae2(0x40e)]=_0xab1a53,this[_0x45dae2(0x393)]=_0x5c99f8,this['_configService']=_0x3e8cf5);const {..._0x13dc48}=a[_0x45dae2(0xb1)]({},Jt,_0x3b4fb3);if(!_0x13dc48[_0x45dae2(0x3ad)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x45dae2(0x1e3)]=_0x13dc48,this['_configService']['setConfig'](Y,_0x13dc48);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x46aeb6(0x2bf)](){var _0x3af791=_0x46aeb6,_0x8bb32b,_0x517de3;this[_0x3af791(0x393)][_0x3af791(0x120)](a['IUndoRedoService'])&&this['_logService'][_0x3af791(0x409)]('[UniverCollaborationClientPlugin]',_0x3af791(0x414));const _0x519282=a[_0x3af791(0xf1)]([[a[_0x3af791(0x27d)],{'useClass':exports[_0x3af791(0x26d)]}],[exports[_0x3af791(0x10c)]],[exports['MemberService']],[exports[_0x3af791(0x2e9)]],[ye],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x3af791(0x1e3)][_0x3af791(0x3ad)]}],[g[_0x3af791(0x9e)],{'useClass':exports[_0x3af791(0xbc)]}],[a[_0x3af791(0x1b8)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x3af791(0xb2)],{'useClass':exports[_0x3af791(0x3e9)]}],[a[_0x3af791(0xb8)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x3af791(0x31c)]],[He]],(_0x8bb32b=this[_0x3af791(0x1e3)])==null?void 0x0:_0x8bb32b[_0x3af791(0x2b0)]);if(!((_0x517de3=this[_0x3af791(0x1e3)])!=null&&_0x517de3[_0x3af791(0x9d)])){const _0x1e067a=_0x519282[_0x3af791(0x358)](([_0x3a384c])=>_0x3a384c===ve);_0x1e067a!==-0x1&&_0x519282[_0x3af791(0x203)](_0x1e067a,0x1);}a[_0x3af791(0x236)](this[_0x3af791(0x393)],_0x519282);}[_0x46aeb6(0x105)](){var _0x4299cc=_0x46aeb6,_0x124cf5,_0x3474ea,_0x2851f3;this[_0x4299cc(0x393)][_0x4299cc(0x25e)](q[_0x4299cc(0x24b)])[_0x4299cc(0x391)]({'priority':0x14,'interceptor':q[_0x4299cc(0x178)]({'maxParallel':0x6})}),(_0x124cf5=this['_config'])!=null&&_0x124cf5['enableOfflineEditing']||(_0x3474ea=this['_injector']['get'](z,a[_0x4299cc(0x35f)][_0x4299cc(0x157)]))==null||_0x3474ea[_0x4299cc(0x2f6)](),(_0x2851f3=this[_0x4299cc(0x1e3)])!=null&&_0x2851f3[_0x4299cc(0x2cd)]&&a[_0x4299cc(0x339)](this[_0x4299cc(0x393)],[[ye]]),a[_0x4299cc(0x339)](this['_injector'],[[Ne],[exports[_0x4299cc(0x31c)]],[De]]);}},Hn(exports[_0x46aeb6(0xda)],_0x46aeb6(0x189),jn),exports[_0x46aeb6(0xda)]=kn([a[_0x46aeb6(0x385)](g['UniverCollaborationPlugin'],q['UniverNetworkPlugin']),ke(0x1,a[_0x46aeb6(0x2b1)]),ke(0x2,a['Inject'](a['Injector'])),ke(0x3,a[_0x46aeb6(0xdc)])],exports[_0x46aeb6(0xda)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x46aeb6(0x1d7)]=Y,exports[_0x46aeb6(0x162)]=mt,exports[_0x46aeb6(0x3b9)]=St,exports['CollaborationStatus']=Ve,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x46aeb6(0x191)]=Be,exports[_0x46aeb6(0x1b7)]=ft,exports[_0x46aeb6(0x184)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x46aeb6(0x1fe)]=pt,exports[_0x46aeb6(0x39e)]=je,exports[_0x46aeb6(0x2cf)]=$e,exports[_0x46aeb6(0x241)]=z,exports['INetworkConditionService']=bt,exports['ISingleActiveUnitService']=ve,exports[_0x46aeb6(0x132)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x46aeb6(0x17c)]=Et,exports[_0x46aeb6(0x19e)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x46aeb6(0x2c3)]=dt,exports[_0x46aeb6(0x14f)]=vt,exports[_0x46aeb6(0x2f9)]=se,exports[_0x46aeb6(0x268)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x46aeb6(0x34b)]=vi,exports[_0x46aeb6(0x211)]=Ot;
1
+ 'use strict';var _0x2017aa=_0x30c8;(function(_0x220a42,_0x3c0833){var _0x1525ee=_0x30c8,_0x471059=_0x220a42();while(!![]){try{var _0x5e99ad=parseInt(_0x1525ee(0x3a7))/0x1+parseInt(_0x1525ee(0x279))/0x2*(-parseInt(_0x1525ee(0x1f4))/0x3)+parseInt(_0x1525ee(0x22a))/0x4+-parseInt(_0x1525ee(0x3d8))/0x5+parseInt(_0x1525ee(0x1ab))/0x6*(parseInt(_0x1525ee(0x4fa))/0x7)+parseInt(_0x1525ee(0x2fe))/0x8+-parseInt(_0x1525ee(0x296))/0x9;if(_0x5e99ad===_0x3c0833)break;else _0x471059['push'](_0x471059['shift']());}catch(_0x285b7b){_0x471059['push'](_0x471059['shift']());}}}(_0xd0f4,0x7e0bd));var wt=Object['defineProperty'],Lt=(_0x470a83,_0x369e28,_0x1d2912)=>_0x369e28 in _0x470a83?wt(_0x470a83,_0x369e28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d2912}):_0x470a83[_0x369e28]=_0x1d2912,A=(_0x471708,_0x1d9d52,_0x25ca19)=>Lt(_0x471708,typeof _0x1d9d52!='symbol'?_0x1d9d52+'':_0x1d9d52,_0x25ca19);Object['defineProperty'](exports,Symbol[_0x2017aa(0x4a0)],{'value':_0x2017aa(0x257)});const a=require('@univerjs/core'),j=require('rxjs'),V=require('rxjs/operators'),g=require(_0x2017aa(0x511)),q=require('@univerjs/network'),Mt=require(_0x2017aa(0x1ac)),ut=require(_0x2017aa(0x1b3)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require('@univerjs-pro/license'),dt=_0x2017aa(0x23c),kt='/universer-api/snapshot',vt=_0x2017aa(0x35b),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x2017aa(0x338),ft=_0x2017aa(0x287),$t='/universer-api/user/session-ticket',pt=_0x2017aa(0x43f),Bt=0x7530,je=_0x2017aa(0x3e2),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x2017aa(0x1a0),Gt=0x3e8,mt=_0x2017aa(0x275),Kt='/universer-api/comb',Et='LOGIN_URL_KEY',Yt=_0x2017aa(0x3e7),qt=_0x2017aa(0x46c),zt=_0x2017aa(0x2da);var Ct=(_0x45727b=>(_0x45727b[_0x45727b[_0x2017aa(0x360)]=0x0]='UNDEFINED',_0x45727b[_0x45727b['OK']=0x1]='OK',_0x45727b[_0x45727b[_0x2017aa(0x2a4)]=0x2]=_0x2017aa(0x2a4),_0x45727b[_0x45727b[_0x2017aa(0x4a6)]=0x3]=_0x2017aa(0x4a6),_0x45727b[_0x45727b[_0x2017aa(0x29a)]=0x4]=_0x2017aa(0x29a),_0x45727b[_0x45727b['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x45727b[_0x45727b['ALREADY_EXISTS']=0x6]=_0x2017aa(0x356),_0x45727b[_0x45727b[_0x2017aa(0x208)]=0x7]=_0x2017aa(0x208),_0x45727b[_0x45727b[_0x2017aa(0x481)]=0x8]=_0x2017aa(0x481),_0x45727b[_0x45727b[_0x2017aa(0x4f2)]=0x9]='COMPLETION_FINISHED',_0x45727b[_0x45727b[_0x2017aa(0x3b9)]=0xa]=_0x2017aa(0x3b9),_0x45727b[_0x45727b[_0x2017aa(0x1bf)]=0x1389]=_0x2017aa(0x1bf),_0x45727b[_0x45727b[_0x2017aa(0x3d7)]=0x1771]=_0x2017aa(0x3d7),_0x45727b[_0x45727b[_0x2017aa(0x1d1)]=0x1772]=_0x2017aa(0x1d1),_0x45727b[_0x45727b[_0x2017aa(0x4bc)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x45727b[_0x45727b[_0x2017aa(0x1c5)]=0x1b59]='APPLY_REJECT',_0x45727b[_0x45727b[_0x2017aa(0x450)]=0x1b5a]=_0x2017aa(0x450),_0x45727b[_0x45727b[_0x2017aa(0x493)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x45727b[_0x45727b[_0x2017aa(0x462)]=0x1b5c]=_0x2017aa(0x462),_0x45727b[_0x45727b[_0x2017aa(0x3f0)]=0x1b5d]='APPLY_DUPLICATED',_0x45727b[_0x45727b[_0x2017aa(0x4c4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x45727b[_0x45727b[_0x2017aa(0x245)]=0x2329]=_0x2017aa(0x245),_0x45727b[_0x45727b[_0x2017aa(0x205)]=0x232a]=_0x2017aa(0x205),_0x45727b[_0x45727b[_0x2017aa(0x364)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x45727b[_0x45727b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2017aa(0x252),_0x45727b[_0x45727b[_0x2017aa(0x334)]=0x232d]=_0x2017aa(0x334),_0x45727b[_0x45727b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x45727b[_0x45727b[_0x2017aa(0x1e5)]=0x2712]=_0x2017aa(0x1e5),_0x45727b[_0x45727b[_0x2017aa(0x34d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45727b[_0x45727b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2017aa(0x40a),_0x45727b[_0x45727b[_0x2017aa(0x292)]=0x271a]=_0x2017aa(0x292),_0x45727b[_0x45727b[_0x2017aa(0x359)]=0x271b]=_0x2017aa(0x359),_0x45727b[_0x45727b[_0x2017aa(0x1fa)]=0x2af9]=_0x2017aa(0x1fa),_0x45727b[_0x45727b[_0x2017aa(0x35f)]=0x2ee1]=_0x2017aa(0x35f),_0x45727b[_0x45727b[_0x2017aa(0x39f)]=0x2ee2]='INVALID_INVITE_CODE',_0x45727b[_0x45727b[_0x2017aa(0x1cb)]=0x2ee3]=_0x2017aa(0x1cb),_0x45727b[_0x45727b[_0x2017aa(0x3ca)]=0x2ee4]=_0x2017aa(0x3ca),_0x45727b[_0x45727b[_0x2017aa(0x1dc)]=0x2ee5]=_0x2017aa(0x1dc),_0x45727b[_0x45727b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2017aa(0x4ae),_0x45727b[_0x45727b[_0x2017aa(0x1bc)]=0x32ca]=_0x2017aa(0x1bc),_0x45727b[_0x45727b[_0x2017aa(0x449)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45727b[_0x45727b[_0x2017aa(0x291)]=-0x1]='UNRECOGNIZED',_0x45727b))(Ct||{}),X=(_0xd861dd=>(_0xd861dd[_0xd861dd['UNIVER_UNKNOWN']=0x0]=_0x2017aa(0x3aa),_0xd861dd[_0xd861dd[_0x2017aa(0x1d3)]=0x1]='UNIVER_DOC',_0xd861dd[_0xd861dd[_0x2017aa(0x38f)]=0x2]=_0x2017aa(0x38f),_0xd861dd[_0xd861dd[_0x2017aa(0x483)]=0x3]=_0x2017aa(0x483),_0xd861dd[_0xd861dd[_0x2017aa(0x4b3)]=0x4]='UNIVER_PROJECT',_0xd861dd[_0xd861dd['UNRECOGNIZED']=-0x1]=_0x2017aa(0x291),_0xd861dd))(X||{}),W=(_0x3e926d=>(_0x3e926d[_0x3e926d['UNKNOWN_CMD']=0x0]=_0x2017aa(0x1de),_0x3e926d[_0x3e926d[_0x2017aa(0x446)]=0x1]='HELLO',_0x3e926d[_0x3e926d[_0x2017aa(0x256)]=0x2]=_0x2017aa(0x256),_0x3e926d[_0x3e926d[_0x2017aa(0x2ad)]=0x3]=_0x2017aa(0x2ad),_0x3e926d[_0x3e926d['INGEST']=0x4]='INGEST',_0x3e926d[_0x3e926d['HEARTBEAT']=0x5]=_0x2017aa(0x3d5),_0x3e926d[_0x3e926d['RECV']=0x6]=_0x2017aa(0x428),_0x3e926d[_0x3e926d[_0x2017aa(0x291)]=-0x1]='UNRECOGNIZED',_0x3e926d))(W||{}),ae=(_0x51a8a6=>(_0x51a8a6[_0x51a8a6['UNKNOWN_CODE']=0x0]=_0x2017aa(0x1e0),_0x51a8a6[_0x51a8a6['OK']=0x1]='OK',_0x51a8a6[_0x51a8a6[_0x2017aa(0x47c)]=0x2]='FAIL',_0x51a8a6[_0x51a8a6[_0x2017aa(0x349)]=0x3e9]=_0x2017aa(0x349),_0x51a8a6[_0x51a8a6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2017aa(0x411),_0x51a8a6[_0x51a8a6['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x51a8a6[_0x51a8a6['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2017aa(0x2df),_0x51a8a6[_0x51a8a6[_0x2017aa(0x291)]=-0x1]=_0x2017aa(0x291),_0x51a8a6))(ae||{}),Tt=(_0x1b6c0a=>(_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x2bd)]=0x0]='Undefined',_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x453)]=0x1]=_0x2017aa(0x453),_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x1ee)]=0x2]=_0x2017aa(0x1ee),_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x28c)]=0x3]=_0x2017aa(0x28c),_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x2de)]=0x4]='UnitSnapshot',_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x380)]=0x5]=_0x2017aa(0x380),_0x1b6c0a[_0x1b6c0a[_0x2017aa(0x291)]=-0x1]='UNRECOGNIZED',_0x1b6c0a))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x557f78=>(_0x557f78[_0x2017aa(0x2af)]=_0x2017aa(0x2af),_0x557f78[_0x2017aa(0x4a6)]=_0x2017aa(0x4a6),_0x557f78[_0x2017aa(0x2e5)]=_0x2017aa(0x2e5),_0x557f78[_0x2017aa(0x20b)]=_0x2017aa(0x20b),_0x557f78[_0x2017aa(0x355)]=_0x2017aa(0x355),_0x557f78['SOCKET_FAILED_RETRY']=_0x2017aa(0x32b),_0x557f78[_0x2017aa(0x300)]=_0x2017aa(0x300),_0x557f78['SUBMIT_CHANGESET_TIMEOUT']=_0x2017aa(0x1ae),_0x557f78))(Q||{});class te{constructor(){var _0x130697=_0x2017aa;A(this,'_event$',new j[(_0x130697(0x2b6))]()),A(this,'event$',this[_0x130697(0x3ba)]['asObservable']());}['emitEvent'](_0x171fe9){var _0x1512f7=_0x2017aa;this[_0x1512f7(0x3ba)][_0x1512f7(0x498)](_0x171fe9);}}const bt=a[_0x2017aa(0x473)](_0x2017aa(0x372));function Rt(_0x6d6df3){var _0x49bb26=_0x2017aa,_0x16058,_0x2bae20,_0x98056f,_0x119a14,_0x56f56a;const _0x231fae=_0x6d6df3[_0x49bb26(0x40f)],_0x18bf71=JSON['parse'](_0x231fae);switch(_0x18bf71[_0x49bb26(0x1ba)]){case W['HEARTBEAT']:case W[_0x49bb26(0x446)]:{const _0x4f40b9=_0x18bf71[_0x49bb26(0x470)];return{..._0x18bf71,'data':_0x4f40b9,'cmd':_0x18bf71['cmd']};}case W[_0x49bb26(0x256)]:{const _0x324fbd=_0x18bf71['joinRsp'];return{..._0x18bf71,'data':_0x324fbd,'cmd':_0x18bf71[_0x49bb26(0x1ba)]};}case W['RECV']:{const _0x3041ae=_0x18bf71[_0x49bb26(0x2f3)];switch(_0x3041ae[_0x49bb26(0x4ab)]){case g[_0x49bb26(0x1fc)][_0x49bb26(0x3ce)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':(_0x16058=_0x3041ae[_0x49bb26(0x49c)])==null?void 0x0:_0x16058['cs']},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x4fe)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':(_0x2bae20=_0x3041ae['csAckEvent'])==null?void 0x0:_0x2bae20['cs']},'cmd':_0x18bf71['cmd']};case g[_0x49bb26(0x1fc)][_0x49bb26(0x29c)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':(_0x98056f=_0x3041ae['newCsEvent'])==null?void 0x0:_0x98056f['cs']},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x288)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':(_0x119a14=_0x3041ae[_0x49bb26(0x40d)])==null?void 0x0:_0x119a14['cs']},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x4e7)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':(_0x56f56a=_0x3041ae[_0x49bb26(0x486)])==null?void 0x0:_0x56f56a['cs']},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x26e)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x19d)]},'cmd':_0x18bf71['cmd']};case g[_0x49bb26(0x1fc)][_0x49bb26(0x30f)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x4bf)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x283)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x1a8)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x4e9)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae['liveShareNewHost']},'cmd':_0x18bf71['cmd']};case g[_0x49bb26(0x1fc)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x49bb26(0x1fc)][_0x49bb26(0x2cb)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae['liveShareOperation']},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g['CollaborationEvent'][_0x49bb26(0x2ef)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x43b)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)]['MSG_FOR_ERROR']:return{..._0x18bf71,'data':_0x3041ae,'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g[_0x49bb26(0x1fc)][_0x49bb26(0x200)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x4c3)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x326)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g['CollaborationEvent'][_0x49bb26(0x319)]:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x432)]},'cmd':_0x18bf71[_0x49bb26(0x1ba)]};case g['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x18bf71,'data':{..._0x3041ae,'data':_0x3041ae[_0x49bb26(0x3a6)]},'cmd':_0x18bf71['cmd']};default:return _0x18bf71;}}default:return _0x18bf71;}}function Ot(_0x1a1cc0){var _0x4cc2d8=_0x2017aa;switch(_0x1a1cc0[_0x4cc2d8(0x1ba)]){case W[_0x4cc2d8(0x3d5)]:case W[_0x4cc2d8(0x446)]:return JSON['stringify']({'cmd':_0x1a1cc0[_0x4cc2d8(0x1ba)],'routeKey':_0x1a1cc0[_0x4cc2d8(0x37e)]});case W[_0x4cc2d8(0x2b7)]:{let _0xcfc74c;switch(_0x1a1cc0[_0x4cc2d8(0x40f)]['eventID']){case g[_0x4cc2d8(0x1fc)]['UPDATE_CURSOR']:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x26e)],'updateCursorEvent':_0x1a1cc0['data'][_0x4cc2d8(0x40f)]};break;}case g[_0x4cc2d8(0x1fc)]['USERS_LEAVE']:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x283)],'leaveEvent':_0x1a1cc0['data'][_0x4cc2d8(0x40f)]};break;}case g['CollaborationEvent'][_0x4cc2d8(0x30f)]:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x30f)],'joinEvent':_0x1a1cc0['data']['data']};break;}case g['CollaborationEvent'][_0x4cc2d8(0x4e9)]:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x4e9)],'liveShareNewHost':_0x1a1cc0['data'][_0x4cc2d8(0x40f)]};break;}case g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x2cb)]:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x2cb)],'liveShareOperation':_0x1a1cc0['data'][_0x4cc2d8(0x40f)]};break;}case g[_0x4cc2d8(0x1fc)]['LIVESHARE_TERMINATE']:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x2ef)],'liveShareTerminate':_0x1a1cc0[_0x4cc2d8(0x40f)][_0x4cc2d8(0x40f)]};break;}case g[_0x4cc2d8(0x1fc)]['LIVESHARE_REQUEST_HOST']:{_0xcfc74c={'eventID':g['CollaborationEvent'][_0x4cc2d8(0x387)],'liveShareRequestHost':_0x1a1cc0[_0x4cc2d8(0x40f)][_0x4cc2d8(0x40f)]};break;}case g['CollaborationEvent'][_0x4cc2d8(0x2fa)]:{_0xcfc74c={'eventID':g[_0x4cc2d8(0x1fc)][_0x4cc2d8(0x2fa)]};break;}default:_0xcfc74c={'eventID':_0x1a1cc0[_0x4cc2d8(0x40f)]['eventID']};}return JSON['stringify']({'cmd':_0x1a1cc0[_0x4cc2d8(0x1ba)],'routeKey':_0x1a1cc0['routeKey'],'collaMsg':_0xcfc74c});}case W[_0x4cc2d8(0x256)]:return JSON['stringify']({'cmd':_0x1a1cc0[_0x4cc2d8(0x1ba)],'routeKey':_0x1a1cc0[_0x4cc2d8(0x37e)],'joinReq':_0x1a1cc0['data']});case W['LEAVE']:return JSON[_0x4cc2d8(0x3ac)]({'cmd':_0x1a1cc0[_0x4cc2d8(0x1ba)],'routeKey':_0x1a1cc0[_0x4cc2d8(0x37e)],'leaveReq':_0x1a1cc0[_0x4cc2d8(0x40f)]});default:throw new Error(_0x4cc2d8(0x35e));}}var Xt=Object[_0x2017aa(0x36a)],Zt=(_0x3162c9,_0xaf6258,_0x5a6443,_0x54d2b3)=>{var _0x3627e6=_0x2017aa;for(var _0x2c33ad=_0x54d2b3>0x1?void 0x0:_0x54d2b3?Xt(_0xaf6258,_0x5a6443):_0xaf6258,_0x587b07=_0x3162c9[_0x3627e6(0x42c)]-0x1,_0x4624f9;_0x587b07>=0x0;_0x587b07--)(_0x4624f9=_0x3162c9[_0x587b07])&&(_0x2c33ad=_0x4624f9(_0x2c33ad)||_0x2c33ad);return _0x2c33ad;},le=(_0x16b70f,_0xf41d38)=>(_0xafdca4,_0x6b974a)=>_0xf41d38(_0xafdca4,_0x6b974a,_0x16b70f);const $e=a['createIdentifier'](_0x2017aa(0x343));function Qt(_0x5246e8,_0x149939,_0x1c6e3c){var _0x2a3adb=_0x2017aa;return _0x5246e8+'/'+_0x149939+_0x2a3adb(0x48a)+_0x1c6e3c+_0x2a3adb(0x23a);}exports[_0x2017aa(0x1be)]=class extends a[_0x2017aa(0x4b9)]{constructor(_0xdcfa13,_0x99b4cb,_0xf90506,_0x14670e,_0x3ecb2b){var _0x555466=_0x2017aa;super(),this['_injector']=_0xdcfa13,this[_0x555466(0x329)]=_0x99b4cb,this['_configService']=_0xf90506,this[_0x555466(0x261)]=_0x14670e,this[_0x555466(0x50f)]=_0x3ecb2b;}[_0x2017aa(0x467)](_0x57d4b6){var _0x52d24c=_0x2017aa;const _0x3143fe=this['_injector'][_0x52d24c(0x30a)](q[_0x52d24c(0x3e8)]);if(!_0x3143fe)throw new Error(_0x52d24c(0x409));const _0x20decf=_0x3143fe[_0x52d24c(0x38b)](_0x57d4b6);if(!_0x20decf)throw new Error(_0x52d24c(0x412));const _0x31e6d1=new a['DisposableCollection'](),_0x1ed35c=new j[(_0x52d24c(0x2b6))]();_0x31e6d1[_0x52d24c(0x332)](_0x20decf[_0x52d24c(0x35a)]['subscribe'](_0x4cf732=>_0x1ed35c[_0x52d24c(0x498)](_0x4cf732))),_0x31e6d1[_0x52d24c(0x332)](a[_0x52d24c(0x1bd)](()=>_0x1ed35c[_0x52d24c(0x19c)]()));const _0x44d30a=new j['Subject']();_0x31e6d1[_0x52d24c(0x332)](_0x20decf[_0x52d24c(0x33c)][_0x52d24c(0x1d2)](_0x44934e=>_0x44d30a[_0x52d24c(0x498)](_0x44934e))),_0x31e6d1[_0x52d24c(0x332)](a['toDisposable'](()=>_0x44d30a['complete']()));const _0x1b605b=new j[(_0x52d24c(0x2b6))]();_0x31e6d1[_0x52d24c(0x332)](_0x20decf[_0x52d24c(0x249)][_0x52d24c(0x1d2)](_0x48c376=>{const _0x4f30dc=Rt(_0x48c376);_0x1b605b['next'](_0x4f30dc);})),_0x31e6d1[_0x52d24c(0x332)](a[_0x52d24c(0x1bd)](()=>_0x1b605b[_0x52d24c(0x19c)]()));let _0x36972e;const _0x1bbab2=()=>{var _0x2520f2=_0x52d24c;_0x44d30a[_0x2520f2(0x498)](new Event('connection\x20error')),_0x1ed35c['next'](new Event(_0x2520f2(0x42a))),_0x36972e['close']();};return _0x36972e={'memberID':'','close$':_0x1ed35c[_0x52d24c(0x4dd)](),'error$':_0x44d30a['asObservable'](),'open$':_0x20decf['open$'],'message$':_0x1b605b[_0x52d24c(0x4dd)](),'send':_0x3521e3=>{var _0x28024c=_0x52d24c;if(_0x3521e3[_0x28024c(0x1ba)]===W[_0x28024c(0x2b7)]){if(_0x3521e3[_0x28024c(0x40f)][_0x28024c(0x4ab)]===g['CollaborationEvent'][_0x28024c(0x304)]){this['_submitChangeset'](_0x36972e,_0x3521e3[_0x28024c(0x40f)])[_0x28024c(0x2d2)](_0x86af89=>{var _0x1b872c=_0x28024c;this[_0x1b872c(0x261)][_0x1b872c(0x227)](_0x86af89),_0x1bbab2();});return;}if(_0x3521e3[_0x28024c(0x40f)][_0x28024c(0x4ab)]===g['CollaborationEvent']['FETCH_MISSING']){const _0x20d946=_0x3521e3['data'];this['_fetchMissChangesets'](_0x20d946)[_0x28024c(0x47f)](_0x38b4bd=>{var _0xc0767=_0x28024c;_0x1b605b[_0xc0767(0x498)]({'cmd':W[_0xc0767(0x428)],'code':ae['OK'],'routeKey':_0x20d946['data']['unitID'],'routeType':'','data':{'eventID':g[_0xc0767(0x1fc)][_0xc0767(0x36b)],'data':{'changesets':_0x38b4bd}}});})[_0x28024c(0x2d2)](_0x115d19=>{var _0x3cf95a=_0x28024c;this['_logService'][_0x3cf95a(0x227)](_0x115d19),_0x1bbab2();});return;}}_0x20decf[_0x28024c(0x2d7)](Ot(_0x3521e3));},'close':()=>{var _0x23e2dd=_0x52d24c;_0x20decf[_0x23e2dd(0x418)](),_0x31e6d1[_0x23e2dd(0x25b)]();}},_0x36972e;}async[_0x2017aa(0x213)](_0x35381e,_0x4b6d20){var _0x2294ee=_0x2017aa,_0x27b42d,_0xb18a0c;const {unitType:_0x4c8e13,unitID:_0x3592f7,changeset:_0x41d72c}=_0x4b6d20[_0x2294ee(0x40f)],_0x2cd33d={'unitID':_0x3592f7,'memberID':_0x35381e[_0x2294ee(0x1b7)],'type':_0x4c8e13,'changeset':g[_0x2294ee(0x229)](_0x41d72c)},_0x27d318=this[_0x2294ee(0x278)][_0x2294ee(0x43e)](mt),_0x5b23ce=this[_0x2294ee(0x278)]['getConfig'](Y),_0x455d3c=Qt((_0xb18a0c=(_0x27b42d=_0x5b23ce==null?void 0x0:_0x5b23ce['collabSubmitChangesetUrl'])!=null?_0x27b42d:_0x27d318)!=null?_0xb18a0c:Kt,_0x4c8e13,_0x3592f7);try{await this[_0x2294ee(0x329)]['post'](_0x455d3c,{'body':_0x2cd33d});}catch(_0x26d242){throw this[_0x2294ee(0x261)][_0x2294ee(0x227)](_0x2294ee(0x2f0),_0x2294ee(0x4f9)),_0x26d242;}}async[_0x2017aa(0x2a0)](_0x5c261f){var _0x359b39=_0x2017aa;const {unitID:_0x4e520d,from:_0x4fb536,to:_0x37a602,unitType:_0x338556}=_0x5c261f[_0x359b39(0x40f)];return(await this[_0x359b39(0x50f)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4e520d,'type':_0x338556,'from':_0x4fb536,'to':_0x37a602}))[_0x359b39(0x28d)];}},exports[_0x2017aa(0x1be)]=Zt([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)])),le(0x2,a[_0x2017aa(0x20f)]),le(0x3,a[_0x2017aa(0x3bd)]),le(0x4,g[_0x2017aa(0x512)])],exports[_0x2017aa(0x1be)]);const ei=_0x2017aa(0x397);function ti(_0xfb07b1){var _0x468281=_0x2017aa;return JSON['stringify'](_0xfb07b1)[_0x468281(0x42c)];}class Be{constructor(){var _0x40b0b2=_0x2017aa;A(this,_0x40b0b2(0x26f),new j[(_0x40b0b2(0x2b6))]()),A(this,_0x40b0b2(0x4d5),this[_0x40b0b2(0x26f)]['asObservable']());}['onCommentUpdate'](_0x120d59){var _0x3d2a6b=_0x2017aa;this[_0x3d2a6b(0x26f)][_0x3d2a6b(0x498)](_0x120d59);}}var ii=Object[_0x2017aa(0x36a)],ni=(_0x4d92ec,_0xc54e37,_0xa62af6,_0x1b3743)=>{var _0x16f56f=_0x2017aa;for(var _0x2be775=_0x1b3743>0x1?void 0x0:_0x1b3743?ii(_0xc54e37,_0xa62af6):_0xc54e37,_0x1d7e0b=_0x4d92ec[_0x16f56f(0x42c)]-0x1,_0xfe7a1a;_0x1d7e0b>=0x0;_0x1d7e0b--)(_0xfe7a1a=_0x4d92ec[_0x1d7e0b])&&(_0x2be775=_0xfe7a1a(_0x2be775)||_0x2be775);return _0x2be775;},Ke=(_0x153068,_0x33c111)=>(_0x4bbd49,_0x5c737b)=>_0x33c111(_0x4bbd49,_0x5c737b,_0x153068);exports['MemberService']=class extends a[_0x2017aa(0x4b9)]{constructor(_0x8bbd48,_0x3f7814){var _0x4a7daa=_0x2017aa;super(),A(this,_0x4a7daa(0x1b2),new Map()),A(this,'_roomCreated$',new j[(_0x4a7daa(0x2b6))]()),(this['_univerInstanceService']=_0x8bbd48,this[_0x4a7daa(0x474)]=_0x3f7814,this['disposeWithMe'](j[_0x4a7daa(0x305)](this[_0x4a7daa(0x3ec)][_0x4a7daa(0x270)](a[_0x4a7daa(0x39e)][_0x4a7daa(0x38f)])[_0x4a7daa(0x2a5)](V[_0x4a7daa(0x350)](_0x155017=>_0x155017[_0x4a7daa(0x482)]())),this[_0x4a7daa(0x3ec)][_0x4a7daa(0x270)](a[_0x4a7daa(0x39e)]['UNIVER_DOC'])[_0x4a7daa(0x2a5)](V['map'](_0x58bfae=>_0x58bfae[_0x4a7daa(0x482)]())),this[_0x4a7daa(0x3ec)][_0x4a7daa(0x270)](a[_0x4a7daa(0x39e)]['UNIVER_SLIDE'])[_0x4a7daa(0x2a5)](V['map'](_0x132150=>_0x132150[_0x4a7daa(0x482)]())))[_0x4a7daa(0x1d2)](_0xf0cc3e=>this[_0x4a7daa(0x253)](_0xf0cc3e))));}[_0x2017aa(0x4fb)](_0x208bbd){var _0x226161=_0x2017aa;return this[_0x226161(0x1b2)][_0x226161(0x3be)](_0x208bbd)?j['of'](this['_roomMembers'][_0x226161(0x30a)](_0x208bbd)):this[_0x226161(0x2ee)][_0x226161(0x2a5)](V[_0x226161(0x350)](_0x362e62=>{if(_0x362e62===_0x208bbd)return this['_roomMembers']['get'](_0x362e62);}));}[_0x2017aa(0x476)](_0x23c8a4){this['_userManagerService']['setCurrentUser'](_0x23c8a4);}[_0x2017aa(0x1c9)](){var _0x1db3c1=_0x2017aa;return this['_userManagerService'][_0x1db3c1(0x1c9)]();}[_0x2017aa(0x410)](_0x277790,_0x1dfdb2){var _0x31c4d6=_0x2017aa;let _0x498425=this[_0x31c4d6(0x1b2)][_0x31c4d6(0x30a)](_0x277790);_0x498425||(_0x498425=new ri(),this['_roomMembers'][_0x31c4d6(0x342)](_0x277790,_0x498425),this[_0x31c4d6(0x2ee)][_0x31c4d6(0x498)](_0x277790)),_0x498425[_0x31c4d6(0x410)](_0x1dfdb2);}[_0x2017aa(0x1a5)](_0x35c866,_0x25e433){var _0x53fb07=_0x2017aa;const _0x249392=this['_roomMembers']['get'](_0x35c866);_0x249392&&_0x249392[_0x53fb07(0x1a5)](_0x25e433);}[_0x2017aa(0x271)](_0x551fa4){var _0x3bc1a2=_0x2017aa;return this[_0x3bc1a2(0x1b2)][_0x3bc1a2(0x30a)](_0x551fa4);}[_0x2017aa(0x3e5)](_0x88749e,_0x1cc31c){var _0x143b5e=_0x2017aa;const _0x60749e=this[_0x143b5e(0x1b2)][_0x143b5e(0x30a)](_0x88749e);if(_0x60749e)return _0x60749e['getMember'](_0x1cc31c);}[_0x2017aa(0x253)](_0x32b46f){var _0x16cce3=_0x2017aa;const _0xb92adc=this[_0x16cce3(0x1b2)][_0x16cce3(0x30a)](_0x32b46f);_0xb92adc&&(_0xb92adc[_0x16cce3(0x25b)](),this[_0x16cce3(0x1b2)]['delete'](_0x32b46f));}[_0x2017aa(0x25b)](){var _0x10e19f=_0x2017aa;this[_0x10e19f(0x1b2)][_0x10e19f(0x32f)](_0x6a91e3=>_0x6a91e3['dispose']()),this['_roomMembers']['clear'](),this[_0x10e19f(0x2ee)][_0x10e19f(0x19c)]();}},exports[_0x2017aa(0x22f)]=ni([Ke(0x0,a[_0x2017aa(0x317)]),Ke(0x1,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x1d9)]))],exports['MemberService']);class ri extends a[_0x2017aa(0x4b9)]{constructor(){var _0x2b637c=_0x2017aa;super(...arguments),A(this,'_members',new Map()),A(this,_0x2b637c(0x1a2),new j[(_0x2b637c(0x378))](this[_0x2b637c(0x35c)])),A(this,_0x2b637c(0x24a),this[_0x2b637c(0x1a2)][_0x2b637c(0x4dd)]());}[_0x2017aa(0x25b)](){var _0x5e835d=_0x2017aa;this[_0x5e835d(0x35c)][_0x5e835d(0x1c2)]();}[_0x2017aa(0x410)](_0x11854b){var _0x146209=_0x2017aa;this['_members']['set'](_0x11854b[_0x146209(0x1b7)],_0x11854b),this['_emitMembers']();}[_0x2017aa(0x1a5)](_0x2eddb1){var _0x582a34=_0x2017aa;this[_0x582a34(0x35c)][_0x582a34(0x422)](_0x2eddb1);}[_0x2017aa(0x3e5)](_0x4c6e1d){var _0x505954=_0x2017aa;return this[_0x505954(0x35c)][_0x505954(0x30a)](_0x4c6e1d);}[_0x2017aa(0x1e7)](){var _0x360cc6=_0x2017aa;return Array[_0x360cc6(0x1ad)](this[_0x360cc6(0x35c)][_0x360cc6(0x4c6)]());}['_emitMembers'](){var _0x1d6be4=_0x2017aa;this[_0x1d6be4(0x1a2)][_0x1d6be4(0x498)](this[_0x1d6be4(0x35c)]);}}var si=Object[_0x2017aa(0x36a)],oi=(_0x1953f3,_0xe3177a,_0x13fdb9,_0x30bce1)=>{var _0x5a219b=_0x2017aa;for(var _0x4d250d=_0x30bce1>0x1?void 0x0:_0x30bce1?si(_0xe3177a,_0x13fdb9):_0xe3177a,_0x2e920e=_0x1953f3[_0x5a219b(0x42c)]-0x1,_0x10ff23;_0x2e920e>=0x0;_0x2e920e--)(_0x10ff23=_0x1953f3[_0x2e920e])&&(_0x4d250d=_0x10ff23(_0x4d250d)||_0x4d250d);return _0x4d250d;},oe=(_0x2cdf9e,_0x1612b2)=>(_0x38f49d,_0x5a9896)=>_0x1612b2(_0x38f49d,_0x5a9896,_0x2cdf9e),se=(_0x4ae648=>(_0x4ae648[_0x4ae648[_0x2017aa(0x24c)]=0x0]=_0x2017aa(0x24c),_0x4ae648[_0x4ae648[_0x2017aa(0x377)]=0x1]=_0x2017aa(0x377),_0x4ae648[_0x4ae648[_0x2017aa(0x309)]=0x2]=_0x2017aa(0x309),_0x4ae648[_0x4ae648['ONLINE']=0x3]=_0x2017aa(0x24e),_0x4ae648))(se||{});const Ye={[ae[_0x2017aa(0x47c)]]:_0x2017aa(0x3a0),[ae[_0x2017aa(0x349)]]:_0x2017aa(0x2e2),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x2017aa(0x383),[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x2017aa(0x2ff),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x2017aa(0x2e6)};exports[_0x2017aa(0x454)]=class extends a[_0x2017aa(0x34a)]{constructor(_0x436745,_0x6a158d,_0x32b006,_0x23d2e5,_0x876162,_0x25260e,_0x1e0536,_0x44e291,_0x5ef23){var _0x58abcc=_0x2017aa;super(),A(this,_0x58abcc(0x44c),new j[(_0x58abcc(0x378))](0x0)),A(this,_0x58abcc(0x286),this[_0x58abcc(0x44c)][_0x58abcc(0x4dd)]()),A(this,_0x58abcc(0x3ba),new j[(_0x58abcc(0x2b6))]()),A(this,_0x58abcc(0x4fd),this[_0x58abcc(0x3ba)]['asObservable']()),A(this,_0x58abcc(0x4b8)),A(this,_0x58abcc(0x2c7)),A(this,_0x58abcc(0x40e)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x58abcc(0x31b),null),(this['_unitID']=_0x436745,this[_0x58abcc(0x261)]=_0x32b006,this[_0x58abcc(0x278)]=_0x23d2e5,this[_0x58abcc(0x23f)]=_0x876162,this[_0x58abcc(0x33f)]=_0x25260e,this['_commentService']=_0x1e0536,this[_0x58abcc(0x1b6)]=_0x44e291,this[_0x58abcc(0x3c1)]=_0x5ef23,this[_0x58abcc(0x46e)]=!!this['_telemetryService'],_0x6a158d[_0x58abcc(0x2a5)](j[_0x58abcc(0x2f4)](this[_0x58abcc(0x3d4)]))['subscribe'](_0x290485=>{var _0x465f2f=_0x58abcc,_0x45110e;typeof _0x290485>'u'||(this[_0x465f2f(0x4b8)]=_0x290485,_0x290485?(this[_0x465f2f(0x306)](_0x290485),this[_0x465f2f(0x2c7)]=_0x290485['message$'][_0x465f2f(0x1d2)](_0x42a2fa=>{var _0xf8960d=_0x465f2f;_0x42a2fa[_0xf8960d(0x37e)]===this[_0xf8960d(0x4d9)]&&this[_0xf8960d(0x4de)](_0x42a2fa);})):(this[_0x465f2f(0x2d8)](),this[_0x465f2f(0x44c)]['next'](0x2),(_0x45110e=this['_socketMessageSubscription'])==null||_0x45110e['unsubscribe'](),this[_0x465f2f(0x2c7)]=null));}));}get[_0x2017aa(0x341)](){var _0x463a7c=_0x2017aa;return this[_0x463a7c(0x44c)][_0x463a7c(0x21e)]();}[_0x2017aa(0x320)](){var _0xa2c089=_0x2017aa,_0x348ddf,_0x5624dd;return(_0x5624dd=(_0x348ddf=this['_socket'])==null?void 0x0:_0x348ddf[_0xa2c089(0x1b7)])!=null?_0x5624dd:null;}[_0x2017aa(0x25b)](){var _0x49e01b=_0x2017aa;super['dispose'](),this[_0x49e01b(0x3d4)][_0x49e01b(0x498)](),this[_0x49e01b(0x3d4)]['complete']();}[_0x2017aa(0x418)](){var _0xf7ad=_0x2017aa,_0x3e22ff,_0x35d149;this[_0xf7ad(0x2d8)](),(_0x3e22ff=this['_socket'])==null||_0x3e22ff['send']({'cmd':W[_0xf7ad(0x2ad)],'data':{'roomID':this[_0xf7ad(0x4d9)]}}),(_0x35d149=this[_0xf7ad(0x4b8)])==null||_0x35d149[_0xf7ad(0x418)](),this[_0xf7ad(0x3ba)]['complete'](),this[_0xf7ad(0x44c)][_0xf7ad(0x19c)](),this[_0xf7ad(0x25b)]();}[_0x2017aa(0x4de)](_0x3db006){var _0x207479=_0x2017aa;_0x3db006[_0x207479(0x1ba)]===W[_0x207479(0x256)]?this[_0x207479(0x28b)](_0x3db006):_0x3db006[_0x207479(0x1ba)]===W['RECV']&&this[_0x207479(0x1af)](_0x3db006);}['_joinRoom'](_0xde05af){var _0x1ecd22=_0x2017aa;this[_0x1ecd22(0x44c)][_0x1ecd22(0x498)](0x1),_0xde05af[_0x1ecd22(0x2d7)]({'cmd':W['JOIN'],'routeKey':this[_0x1ecd22(0x4d9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1ecd22(0x4d9)]}]}});}['_onJoinRoomEvent'](_0x3a4b5b){var _0x85374e=_0x2017aa,_0x2c8a85;if(_0x3a4b5b['code']in Ye){this[_0x85374e(0x1b6)][_0x85374e(0x361)]({'id':Q[_0x85374e(0x355)],'data':Ye[_0x3a4b5b[_0x85374e(0x4bd)]]}),this[_0x85374e(0x44c)][_0x85374e(0x498)](0x2);return;}this[_0x85374e(0x44c)]['next'](0x3);const _0x537092=(_0x2c8a85=_0x3a4b5b['data']['roomInfos'][this[_0x85374e(0x4d9)]])==null?void 0x0:_0x2c8a85['members'];_0x537092&&_0x537092[_0x85374e(0x32f)](_0x34a353=>this[_0x85374e(0x33f)][_0x85374e(0x410)](this['_unitID'],_0x34a353));}[_0x2017aa(0x1af)](_0xb4930c){var _0x29cb10=_0x2017aa;try{const _0x26b70d=_0xb4930c[_0x29cb10(0x40f)];switch(_0x26b70d[_0x29cb10(0x4ab)]){case g[_0x29cb10(0x1fc)]['USERS_ENTER']:this[_0x29cb10(0x4c5)](_0x26b70d),this[_0x29cb10(0x3ba)][_0x29cb10(0x498)](_0x26b70d);break;case g[_0x29cb10(0x1fc)][_0x29cb10(0x283)]:this[_0x29cb10(0x204)](_0x26b70d),this[_0x29cb10(0x3ba)]['next'](_0x26b70d);break;case g[_0x29cb10(0x1fc)][_0x29cb10(0x4fe)]:case g[_0x29cb10(0x1fc)]['CHANGESET_SHOULD_RETRY']:this[_0x29cb10(0x2ab)](),this[_0x29cb10(0x35d)](),this[_0x29cb10(0x3ba)][_0x29cb10(0x498)](_0x26b70d);break;case g[_0x29cb10(0x1fc)][_0x29cb10(0x25f)]:this[_0x29cb10(0x261)][_0x29cb10(0x227)](_0x29cb10(0x236)+JSON[_0x29cb10(0x3ac)](_0x26b70d)),this[_0x29cb10(0x3ba)][_0x29cb10(0x498)](_0x26b70d);break;case g[_0x29cb10(0x1fc)][_0x29cb10(0x200)]:this[_0x29cb10(0x504)]['onCommentUpdate'](_0x26b70d[_0x29cb10(0x40f)]),this[_0x29cb10(0x3ba)][_0x29cb10(0x498)](_0x26b70d);break;default:this[_0x29cb10(0x3ba)]['next'](_0x26b70d);}}catch(_0x28785c){this[_0x29cb10(0x261)][_0x29cb10(0x227)](_0x28785c,_0xb4930c);}}[_0x2017aa(0x4c5)](_0x61a0e7){var _0x28ba19=_0x2017aa;this[_0x28ba19(0x33f)][_0x28ba19(0x410)](this[_0x28ba19(0x4d9)],_0x61a0e7[_0x28ba19(0x40f)]);}[_0x2017aa(0x204)](_0x31631f){var _0x54699f=_0x2017aa;this[_0x54699f(0x33f)]['removeMember'](this[_0x54699f(0x4d9)],_0x31631f[_0x54699f(0x40f)]['memberID']);}async[_0x2017aa(0x2d7)](_0x25d74f,_0x333a5b){var _0x4e13b2=_0x2017aa;if(this[_0x4e13b2(0x341)]!==0x3||!this[_0x4e13b2(0x4b8)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x25d74f['eventID']===g[_0x4e13b2(0x1fc)][_0x4e13b2(0x304)]&&(this[_0x4e13b2(0x339)](),this['_startTelemetryCollaborationNewChangeset'](_0x25d74f)),this[_0x4e13b2(0x4b8)][_0x4e13b2(0x2d7)]({'cmd':W[_0x4e13b2(0x2b7)],'routeKey':_0x333a5b,'routeType':'','data':_0x25d74f});}catch(_0xdbf4be){this[_0x4e13b2(0x261)][_0x4e13b2(0x227)](_0xdbf4be);}}[_0x2017aa(0x339)](){var _0x120447=_0x2017aa,_0x3f5320;this[_0x120447(0x40e)]=setTimeout(()=>{var _0x53b8e1=_0x120447;this[_0x53b8e1(0x40e)]=null,this[_0x53b8e1(0x1b6)][_0x53b8e1(0x361)]({'id':Q[_0x53b8e1(0x1ae)]});},(_0x3f5320=this[_0x120447(0x278)][_0x120447(0x43e)](je))!=null?_0x3f5320:gt);}['_clearCollaborationTimeoutTimer'](){var _0x515ca6=_0x2017aa;this[_0x515ca6(0x40e)]&&(clearTimeout(this[_0x515ca6(0x40e)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x3b8edd){var _0x3ea6f8=_0x2017aa;if(!this[_0x3ea6f8(0x46e)])return;const {data:_0x4700c4}=_0x3b8edd,{unitID:_0x4148c8,changeset:_0x4ac7a4}=_0x4700c4,{mutations:_0x2bed0c,type:_0x116d01}=_0x4ac7a4;this[_0x3ea6f8(0x31b)]={'unitId':_0x4148c8,'type':_0x116d01,'startTime':performance[_0x3ea6f8(0x502)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2bed0c)};}[_0x2017aa(0x2ab)](){var _0x247c7a=_0x2017aa;if(this[_0x247c7a(0x46e)]){if(!this[_0x247c7a(0x31b)]){this[_0x247c7a(0x261)][_0x247c7a(0x227)](_0x247c7a(0x2f0),_0x247c7a(0x39c));return;}this['_telemetryInfo'][_0x247c7a(0x2c8)]=performance[_0x247c7a(0x502)](),this['_telemetryInfo']['duration']=this[_0x247c7a(0x31b)][_0x247c7a(0x2c8)]-this[_0x247c7a(0x31b)][_0x247c7a(0x4f6)],this['_telemetryService'][_0x247c7a(0x20a)](ei,this[_0x247c7a(0x31b)]),this[_0x247c7a(0x31b)]=null;}}[_0x2017aa(0x2d8)](){var _0x595a82=_0x2017aa;this[_0x595a82(0x31b)]=null;}},exports[_0x2017aa(0x454)]=oi([oe(0x2,a[_0x2017aa(0x3bd)]),oe(0x3,a[_0x2017aa(0x20f)]),oe(0x4,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x4a8)])),oe(0x5,a[_0x2017aa(0x4fc)](exports[_0x2017aa(0x22f)])),oe(0x6,a[_0x2017aa(0x4fc)](Be)),oe(0x7,a[_0x2017aa(0x4fc)](te)),oe(0x8,a[_0x2017aa(0x3cc)](Mt[_0x2017aa(0x26c)]))],exports[_0x2017aa(0x454)]);var ai=Object[_0x2017aa(0x36a)],ci=(_0x4e8d3a,_0x141b33,_0x41b3d5,_0x4d5baa)=>{var _0x47a954=_0x2017aa;for(var _0x924b59=_0x4d5baa>0x1?void 0x0:_0x4d5baa?ai(_0x141b33,_0x41b3d5):_0x141b33,_0x1652ef=_0x4e8d3a[_0x47a954(0x42c)]-0x1,_0x5aa03b;_0x1652ef>=0x0;_0x1652ef--)(_0x5aa03b=_0x4e8d3a[_0x1652ef])&&(_0x924b59=_0x5aa03b(_0x924b59)||_0x924b59);return _0x924b59;},_e=(_0x35c99b,_0x10acfb)=>(_0x29d21e,_0x1611df)=>_0x10acfb(_0x29d21e,_0x1611df,_0x35c99b);exports[_0x2017aa(0x38a)]=class extends a[_0x2017aa(0x4b9)]{constructor(_0x2bd63e,_0xba8974,_0x21ee92,_0x1a1e3d,_0x58470a,_0xf147dd){var _0x52272a=_0x2017aa;super(),A(this,_0x52272a(0x31d),new j[(_0x52272a(0x378))](void 0x0)),A(this,_0x52272a(0x3c4),this[_0x52272a(0x31d)][_0x52272a(0x4dd)]()),A(this,_0x52272a(0x43a),null),A(this,_0x52272a(0x4eb),new Map()),A(this,_0x52272a(0x250),new j[(_0x52272a(0x378))](se['IDLE'])),A(this,_0x52272a(0x49e),this[_0x52272a(0x250)][_0x52272a(0x4dd)]()),A(this,_0x52272a(0x209),!0x1),A(this,_0x52272a(0x514)),A(this,_0x52272a(0x246),0x0),A(this,_0x52272a(0x4cd)),A(this,_0x52272a(0x42d)),(this[_0x52272a(0x32e)]=_0x2bd63e,this[_0x52272a(0x261)]=_0xba8974,this['_configService']=_0x21ee92,this[_0x52272a(0x3cb)]=_0x1a1e3d,this[_0x52272a(0x1b6)]=_0x58470a,this[_0x52272a(0x254)]=_0xf147dd,this[_0x52272a(0x41a)]());}get[_0x2017aa(0x4b8)](){var _0x39a242=_0x2017aa;return this[_0x39a242(0x31d)][_0x39a242(0x21e)]();}['_listenToNetworkCondition'](){var _0x35d26d=_0x2017aa;this[_0x35d26d(0x254)]&&this[_0x35d26d(0x1e2)](this[_0x35d26d(0x254)][_0x35d26d(0x3f8)][_0x35d26d(0x1d2)](_0x25a01c=>{var _0x2c3ac7=_0x35d26d;_0x25a01c&&!this[_0x2c3ac7(0x4b8)]&&this[_0x2c3ac7(0x345)](),_0x25a01c||this[_0x2c3ac7(0x2dd)]();}));}['dispose'](){var _0x401777=_0x2017aa;super['dispose'](),this[_0x401777(0x3bb)](),this[_0x401777(0x3b3)](),this[_0x401777(0x32a)](),this[_0x401777(0x4eb)]['forEach'](_0x340e5a=>_0x340e5a[_0x401777(0x25b)]()),this[_0x401777(0x4eb)][_0x401777(0x1c2)](),this[_0x401777(0x250)][_0x401777(0x19c)]();}async[_0x2017aa(0x3f3)](_0x5d001c){var _0x225ab8=_0x2017aa;if(this[_0x225ab8(0x4eb)][_0x225ab8(0x3be)](_0x5d001c))return this['_sessions'][_0x225ab8(0x30a)](_0x5d001c);this['_tryEnsureSocket']();const _0x45d637=this[_0x225ab8(0x32e)][_0x225ab8(0x216)](exports[_0x225ab8(0x454)],_0x5d001c,this[_0x225ab8(0x31d)][_0x225ab8(0x4dd)]());return this['_sessions'][_0x225ab8(0x342)](_0x5d001c,_0x45d637),_0x45d637;}[_0x2017aa(0x265)](_0x3cc7e9){var _0x2db0bf=_0x2017aa,_0x1b5038;const _0x25d41d=this[_0x2db0bf(0x4eb)]['get'](_0x3cc7e9);_0x25d41d&&(this[_0x2db0bf(0x4eb)][_0x2db0bf(0x422)](_0x3cc7e9),_0x25d41d[_0x2db0bf(0x418)]()),this[_0x2db0bf(0x4eb)]['size']||(_0x1b5038=this['_socket'])==null||_0x1b5038[_0x2db0bf(0x418)]();}[_0x2017aa(0x345)](){var _0x4daa34=_0x2017aa;this[_0x4daa34(0x246)]=0x0,this[_0x4daa34(0x3bb)](),this[_0x4daa34(0x480)]();}['_clearRetryConnectingTimer'](){var _0x403600=_0x2017aa;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x403600(0x514)]=null);}async[_0x2017aa(0x29f)](){var _0x4c58b3=_0x2017aa,_0x15dce2,_0x47837b;const _0x355323=this[_0x4c58b3(0x278)][_0x4c58b3(0x43e)](St),_0x356de8=this[_0x4c58b3(0x278)][_0x4c58b3(0x43e)](Y),_0x332242=(_0x47837b=(_0x15dce2=_0x356de8==null?void 0x0:_0x356de8[_0x4c58b3(0x389)])!=null?_0x15dce2:_0x355323)!=null?_0x47837b:ft,_0x34e876=await this[_0x4c58b3(0x3cb)][_0x4c58b3(0x38b)](_0x332242);return this[_0x4c58b3(0x43a)]=_0x34e876,_0x34e876;}async[_0x2017aa(0x1e9)](){var _0x5a43a8=_0x2017aa,_0x55c8bd,_0x3468db;try{const _0x59f9eb=(_0x3468db=(_0x55c8bd=this[_0x5a43a8(0x4b8)])!=null?_0x55c8bd:this[_0x5a43a8(0x43a)])!=null?_0x3468db:await this[_0x5a43a8(0x29f)]();if(_0x59f9eb){const _0x5e842f=_0x59f9eb[_0x5a43a8(0x2d7)];_0x59f9eb[_0x5a43a8(0x2d7)]=_0x49cd83=>(this[_0x5a43a8(0x293)](),_0x5e842f[_0x5a43a8(0x416)](_0x59f9eb,[_0x49cd83])),_0x59f9eb[_0x5a43a8(0x249)][_0x5a43a8(0x1d2)](_0xa80bec=>this[_0x5a43a8(0x21a)](_0x59f9eb,_0xa80bec)),_0x59f9eb[_0x5a43a8(0x33c)]['pipe'](V[_0x5a43a8(0x1ff)](0x1))[_0x5a43a8(0x1d2)](_0x571d01=>this['_logService'][_0x5a43a8(0x227)]('[CollaborationSessionService]:\x20socket\x20error',_0x571d01)),_0x59f9eb[_0x5a43a8(0x248)][_0x5a43a8(0x2a5)](V[_0x5a43a8(0x1ff)](0x1))[_0x5a43a8(0x1d2)](()=>{this['_onConnectionOpen'](_0x59f9eb);}),_0x59f9eb[_0x5a43a8(0x35a)][_0x5a43a8(0x2a5)](V['take'](0x1))['subscribe'](_0xa6f82c=>{var _0x522cad=_0x5a43a8;this['_logService'][_0x522cad(0x4d7)](_0x522cad(0x1a9),_0x522cad(0x4e5),_0xa6f82c),this[_0x522cad(0x244)]();});}}catch(_0x5e4fb4){this[_0x5a43a8(0x261)][_0x5a43a8(0x227)](_0x5e4fb4),this['_onConnectionFailed']();}}[_0x2017aa(0x2b2)](_0x166c74){var _0x53cc94=_0x2017aa;this[_0x53cc94(0x261)]['debug']('[CollaborationSessionService]',_0x53cc94(0x1e6)),_0x166c74[_0x53cc94(0x2d7)]({'cmd':W[_0x53cc94(0x446)]}),this[_0x53cc94(0x293)]();}['_onOffline'](){var _0x1f123e=_0x2017aa;this[_0x1f123e(0x209)]=!0x1,this[_0x1f123e(0x43a)]=null,this['_status$']['next'](se[_0x1f123e(0x309)]),this[_0x1f123e(0x31d)][_0x1f123e(0x498)](null),this[_0x1f123e(0x3b3)](),this[_0x1f123e(0x32a)]();}[_0x2017aa(0x244)](){var _0x124540=_0x2017aa,_0x2cc458;this['_onOffline'](),this['_retryCount']<((_0x2cc458=this[_0x124540(0x278)][_0x124540(0x43e)](It))!=null?_0x2cc458:Vt)?(this[_0x124540(0x1b6)][_0x124540(0x361)]({'id':Q[_0x124540(0x32b)]}),this[_0x124540(0x480)]()):this[_0x124540(0x1b6)][_0x124540(0x361)]({'id':Q[_0x124540(0x300)]});}[_0x2017aa(0x480)](){var _0x13d36d=_0x2017aa,_0x5aabf2;const _0xd3af71=this['_retryCount'],_0x45e9ca=this[_0x13d36d(0x278)]['getConfig'](Y),_0x18ccf1=_0xd3af71===0x0?0x0:((_0x5aabf2=_0x45e9ca==null?void 0x0:_0x45e9ca[_0x13d36d(0x456)])!=null?_0x5aabf2:Ft)*0x2**_0xd3af71;this[_0x13d36d(0x514)]=setTimeout(()=>{var _0xe1359c=_0x13d36d;clearTimeout(this[_0xe1359c(0x514)]),this[_0xe1359c(0x514)]=null,this[_0xe1359c(0x1e9)]();},_0x18ccf1),this[_0x13d36d(0x246)]+=0x1;}[_0x2017aa(0x21a)](_0x3c7e96,_0x17e862){var _0x51f8d8=_0x2017aa;const {cmd:_0x30c48a}=_0x17e862;_0x30c48a===W['HELLO']&&!this['_socketReady']&&(_0x3c7e96[_0x51f8d8(0x1b7)]=_0x17e862[_0x51f8d8(0x40f)]['memberID'],this['_socket$'][_0x51f8d8(0x498)](_0x3c7e96),this[_0x51f8d8(0x250)]['next'](se['ONLINE']),this[_0x51f8d8(0x209)]=!0x0,this['_candidateSocket']=null),_0x30c48a===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x2017aa(0x293)](){var _0x2bf7ea=_0x2017aa,_0x2f2bc2;this[_0x2bf7ea(0x32a)](),this[_0x2bf7ea(0x4cd)]=setTimeout(()=>this[_0x2bf7ea(0x25c)](),(_0x2f2bc2=this['_configService'][_0x2bf7ea(0x43e)](pt))!=null?_0x2f2bc2:Bt);}['_sendHeartbeat'](){var _0x1472af=_0x2017aa;this[_0x1472af(0x4b8)][_0x1472af(0x2d7)]({'cmd':W[_0x1472af(0x3d5)]}),this[_0x1472af(0x4ca)]();}[_0x2017aa(0x4ca)](){var _0x34a2b1=_0x2017aa,_0x1dcdc7;this[_0x34a2b1(0x42d)]=setTimeout(()=>this[_0x34a2b1(0x244)](),(_0x1dcdc7=this[_0x34a2b1(0x278)]['getConfig'](je))!=null?_0x1dcdc7:gt);}[_0x2017aa(0x32a)](){var _0x5cbce5=_0x2017aa;this[_0x5cbce5(0x4cd)]!=null&&(clearTimeout(this[_0x5cbce5(0x4cd)]),this[_0x5cbce5(0x4cd)]=null);}[_0x2017aa(0x3b3)](){var _0x914c28=_0x2017aa;this[_0x914c28(0x42d)]!=null&&(clearTimeout(this[_0x914c28(0x42d)]),this[_0x914c28(0x42d)]=null);}},exports[_0x2017aa(0x38a)]=ci([_e(0x0,a[_0x2017aa(0x4fc)](a['Injector'])),_e(0x1,a[_0x2017aa(0x3bd)]),_e(0x2,a[_0x2017aa(0x20f)]),_e(0x3,$e),_e(0x4,a[_0x2017aa(0x4fc)](te)),_e(0x5,a[_0x2017aa(0x3cc)](bt))],exports[_0x2017aa(0x38a)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x2017aa(0x2e9)]((n+0x100)[_0x2017aa(0x25e)](0x10)[_0x2017aa(0x413)](0x1));function hi(_0x386172,_0x45a626=0x0){var _0x59e745=_0x2017aa;return(G[_0x386172[_0x45a626+0x0]]+G[_0x386172[_0x45a626+0x1]]+G[_0x386172[_0x45a626+0x2]]+G[_0x386172[_0x45a626+0x3]]+'-'+G[_0x386172[_0x45a626+0x4]]+G[_0x386172[_0x45a626+0x5]]+'-'+G[_0x386172[_0x45a626+0x6]]+G[_0x386172[_0x45a626+0x7]]+'-'+G[_0x386172[_0x45a626+0x8]]+G[_0x386172[_0x45a626+0x9]]+'-'+G[_0x386172[_0x45a626+0xa]]+G[_0x386172[_0x45a626+0xb]]+G[_0x386172[_0x45a626+0xc]]+G[_0x386172[_0x45a626+0xd]]+G[_0x386172[_0x45a626+0xe]]+G[_0x386172[_0x45a626+0xf]])[_0x59e745(0x298)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x94d49a=_0x2017aa;if(!Ue){if(typeof crypto>'u'||!crypto[_0x94d49a(0x407)])throw new Error(_0x94d49a(0x395));Ue=crypto[_0x94d49a(0x407)]['bind'](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0x2017aa(0x2b5)]&&crypto[_0x2017aa(0x2b5)][_0x2017aa(0x45a)](crypto),qe={'randomUUID':ui};function di(_0x274220,_0x1bc0fc,_0x375428){var _0x2921dd=_0x2017aa,_0x6c34f6,_0x2bbcb3,_0x361214;if(qe[_0x2921dd(0x2b5)]&&!_0x274220)return qe[_0x2921dd(0x2b5)]();_0x274220=_0x274220||{};const _0x1e7a8d=(_0x361214=(_0x2bbcb3=_0x274220['random'])!=null?_0x2bbcb3:(_0x6c34f6=_0x274220[_0x2921dd(0x3ef)])==null?void 0x0:_0x6c34f6[_0x2921dd(0x1d8)](_0x274220))!=null?_0x361214:li();if(_0x1e7a8d[_0x2921dd(0x42c)]<0x10)throw new Error(_0x2921dd(0x426));return _0x1e7a8d[0x6]=_0x1e7a8d[0x6]&0xf|0x40,_0x1e7a8d[0x8]=_0x1e7a8d[0x8]&0x3f|0x80,hi(_0x1e7a8d);}const z=a[_0x2017aa(0x473)](_0x2017aa(0x393));function vi(_0x39a1ef){var _0x577305=_0x2017aa;return _0x577305(0x327)+_0x39a1ef;}var Si=Object[_0x2017aa(0x36a)],fi=(_0x4802a3,_0x1bfda0,_0x479402,_0xb65af4)=>{var _0x4b3f13=_0x2017aa;for(var _0xd1fd4c=_0xb65af4>0x1?void 0x0:_0xb65af4?Si(_0x1bfda0,_0x479402):_0x1bfda0,_0x10e2ef=_0x4802a3[_0x4b3f13(0x42c)]-0x1,_0x34cd5c;_0x10e2ef>=0x0;_0x10e2ef--)(_0x34cd5c=_0x4802a3[_0x10e2ef])&&(_0xd1fd4c=_0x34cd5c(_0xd1fd4c)||_0xd1fd4c);return _0xd1fd4c;},Ae=(_0x61e58b,_0x2d63cf)=>(_0x3263bc,_0x257a0b)=>_0x2d63cf(_0x3263bc,_0x257a0b,_0x61e58b);function pi(_0x2e58d5){var _0x3616a7=_0x2017aa;const {unitID:_0x4f8553,mutations:_0xd4dc19}=_0x2e58d5;return{'unitId':_0x4f8553,'subUnitId':_0xd4dc19[0x0][_0x3616a7(0x2c9)][_0x3616a7(0x398)]};}exports[_0x2017aa(0x46f)]=class{constructor(_0x57c333,_0x348d24,_0x58efe0){var _0x554203=_0x2017aa;this[_0x554203(0x32e)]=_0x57c333,this[_0x554203(0x4f4)]=_0x348d24,this[_0x554203(0x494)]=_0x58efe0;}[_0x2017aa(0x1da)](_0x4a8545){var _0x4d388a=_0x2017aa,_0x9daa95,_0x467cff,_0xd746a1,_0x4bca23;const _0x5f1738=this['_injector'][_0x4d388a(0x30a)](Z['SheetsSelectionsService']),{unitId:_0x1531d,subUnitId:_0x191872}=pi(_0x4a8545),_0x1f7887=_0x5f1738==null?void 0x0:_0x5f1738[_0x4d388a(0x1f2)](_0x1531d)[_0x4d388a(0x2d6)](),_0x596473=(_0x467cff=(_0x9daa95=this[_0x4d388a(0x494)][_0x4d388a(0x4b2)](_0x1531d))==null?void 0x0:_0x9daa95[_0x4d388a(0x2c2)]())==null?void 0x0:_0x467cff[_0x4d388a(0x518)]();if(_0x1f7887[_0x4d388a(0x42c)]===0x0||!_0x1531d||!_0x191872)return;const _0x312cb5=[{'id':Z[_0x4d388a(0x3fb)]['id'],'params':{'unitId':_0x1531d,'subUnitId':_0x596473,'selections':a[_0x4d388a(0x4b1)][_0x4d388a(0x4cc)](_0x1f7887)}}],_0x164ef6=this['_transformService']['transformMutationsWithChangeset'](_0x4a8545,_0x312cb5);if(!g[_0x4d388a(0x50c)](_0x164ef6))throw _0x164ef6[_0x4d388a(0x227)];const _0x4fa272=(_0x4bca23=(_0xd746a1=_0x164ef6['m2Prime'][0x0])==null?void 0x0:_0xd746a1[_0x4d388a(0x2c9)])==null?void 0x0:_0x4bca23[_0x4d388a(0x51b)];if(Array[_0x4d388a(0x228)](_0x4fa272)&&_0x4fa272[_0x4d388a(0x42c)]){if(_0x4fa272[_0x4d388a(0x42c)]===_0x312cb5[0x0]['params'][_0x4d388a(0x51b)]['length']&&_0x4fa272[_0x4d388a(0x3cd)]((_0x4080bb,_0x1aedb3)=>a[_0x4d388a(0x433)][_0x4d388a(0x4b0)](_0x4080bb[_0x4d388a(0x3a4)],_0x312cb5[0x0][_0x4d388a(0x2c9)]['selections'][_0x1aedb3][_0x4d388a(0x3a4)])))return;this['_injector'][_0x4d388a(0x30a)](a[_0x4d388a(0x479)])[_0x4d388a(0x3af)](Z['SetSelectionsOperation']['id'],{'unitId':_0x1531d,'subUnitId':_0x596473,'selections':_0x4fa272});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),Ae(0x1,g[_0x2017aa(0x3a5)]),Ae(0x2,a['IUniverInstanceService'])],exports[_0x2017aa(0x46f)]);const ve=a[_0x2017aa(0x473)](_0x2017aa(0x1f6));var Fe=(_0xd9f0f=>(_0xd9f0f[_0xd9f0f['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2017aa(0x508),_0xd9f0f[_0xd9f0f['OTHER_CLIENTS_EDITING']=0x1]=_0x2017aa(0x1a1),_0xd9f0f))(Fe||{});const gi=new Set([Z[_0x2017aa(0x475)]['id']]);function ze(_0x362f64,_0x4e9e72,_0x1f3b44,_0x20f50e,_0xaba40f){var _0x154fa6=_0x2017aa,_0x407ac8,_0xc9094,_0x2becf6,_0x574eaa;const _0x209a53=[];for(const _0x550afc of _0x362f64)if(gi['has'](_0x550afc['id'])){if(_0x209a53['length']>0x0)break;_0x209a53['push'](_0x550afc);break;}else _0x209a53[_0x154fa6(0x2e9)](_0x550afc);const _0x196c3b=(_0xc9094=(_0x407ac8=_0xaba40f[_0x154fa6(0x1c9)]())==null?void 0x0:_0x407ac8[_0x154fa6(0x23e)])!=null?_0xc9094:_0x154fa6(0x27f),_0x46efce=(_0x574eaa=(_0x2becf6=_0xaba40f[_0x154fa6(0x1c9)]())==null?void 0x0:_0x2becf6[_0x154fa6(0x1b7)])!=null?_0x574eaa:'unknown';return{'changeset':{'unitID':_0x4e9e72,'type':g[_0x154fa6(0x45d)](_0x1f3b44[_0x154fa6(0x4ef)](_0x4e9e72)),'baseRev':_0x20f50e['getCurrentRevOfUnit'](_0x4e9e72),'revision':0x0,'userID':_0x196c3b,'memberID':_0x46efce,'mutations':_0x209a53},'pendingMutations':_0x362f64[_0x154fa6(0x413)](_0x209a53[_0x154fa6(0x42c)])};}function Ii(_0x1b9b03,_0x39c448,_0x50ae4d,_0x5e25f0,_0x3cc147){var _0x57440e=_0x2017aa,_0x1f0613,_0x5fce69,_0x3ee4fa,_0x4a6e64;const _0x54f5ef=[_0x1b9b03[_0x57440e(0x478)]((_0x14b62d,_0x18615a)=>{var _0x42f1aa=_0x57440e,_0x3d0712;const {id:_0x4fbcdb}=_0x14b62d,{id:_0x2e1bd8,type:_0x3d8e20}=_0x18615a,_0x3c8a85=(_0x3d0712=_0x14b62d[_0x42f1aa(0x2c9)])!=null?_0x3d0712:{'actions':null},_0x1ce720=_0x18615a[_0x42f1aa(0x2c9)];if(_0x4fbcdb&&_0x4fbcdb!==_0x2e1bd8)throw new Error(_0x42f1aa(0x49d)+_0x4fbcdb+_0x42f1aa(0x2b4)+_0x2e1bd8+'.');return{..._0x14b62d,'id':_0x2e1bd8,'type':_0x3d8e20,'params':{'unitId':_0x1ce720[_0x42f1aa(0x3e3)],'textRanges':_0x1ce720[_0x42f1aa(0x2ac)],'actions':a[_0x42f1aa(0x36d)][_0x42f1aa(0x49f)](_0x3c8a85[_0x42f1aa(0x403)],_0x1ce720['actions'])}};},{})],_0x426397=(_0x5fce69=(_0x1f0613=_0x3cc147[_0x57440e(0x1c9)]())==null?void 0x0:_0x1f0613[_0x57440e(0x23e)])!=null?_0x5fce69:_0x57440e(0x27f),_0x2af90e=(_0x4a6e64=(_0x3ee4fa=_0x3cc147['getCurrentUser']())==null?void 0x0:_0x3ee4fa[_0x57440e(0x1b7)])!=null?_0x4a6e64:_0x57440e(0x27f);return{'changeset':{'unitID':_0x39c448,'type':g[_0x57440e(0x45d)](_0x50ae4d['getUnitType'](_0x39c448)),'baseRev':_0x5e25f0[_0x57440e(0x276)](_0x39c448),'revision':0x0,'userID':_0x426397,'memberID':_0x2af90e,'mutations':_0x54f5ef},'pendingMutations':[]};}function yt(_0x230ca9,_0xfa5d2a){var _0x1dbb8a=_0x2017aa;const _0x188e40=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x188e40[_0x1dbb8a(0x498)](_0xfa5d2a),_0x230ca9),_0x188e40[_0x1dbb8a(0x4dd)]()[_0x1dbb8a(0x2a5)](j[_0x1dbb8a(0x1ff)](0x1));}const mi={'id':Z[_0x2017aa(0x312)]['id'],'type':a['CommandType'][_0x2017aa(0x1a7)],'params':{}};var Ei=Object[_0x2017aa(0x36a)],ce=(_0x1b5261,_0x321087,_0x36a77e,_0x162fb4)=>{var _0x506043=_0x2017aa;for(var _0x3b46e5=_0x162fb4>0x1?void 0x0:_0x162fb4?Ei(_0x321087,_0x36a77e):_0x321087,_0x303ccf=_0x1b5261[_0x506043(0x42c)]-0x1,_0x59a1f5;_0x303ccf>=0x0;_0x303ccf--)(_0x59a1f5=_0x1b5261[_0x303ccf])&&(_0x3b46e5=_0x59a1f5(_0x3b46e5)||_0x3b46e5);return _0x3b46e5;},w=(_0x2196d4,_0x320635)=>(_0x9286ec,_0x31de12)=>_0x320635(_0x9286ec,_0x31de12,_0x2196d4),Ve=(_0x40d242=>(_0x40d242[_0x2017aa(0x4a5)]=_0x2017aa(0x280),_0x40d242[_0x2017aa(0x19b)]=_0x2017aa(0x19f),_0x40d242[_0x2017aa(0x390)]=_0x2017aa(0x4df),_0x40d242[_0x2017aa(0x3de)]=_0x2017aa(0x4c8),_0x40d242['AWAITING_WITH_PENDING']=_0x2017aa(0x2f1),_0x40d242['FETCH_MISS']=_0x2017aa(0x4f0),_0x40d242[_0x2017aa(0x2e5)]=_0x2017aa(0x3b7),_0x40d242[_0x2017aa(0x309)]=_0x2017aa(0x316),_0x40d242))(Ve||{});const Nt=0xea60;class he{constructor(_0x31a31f,_0x513a0e,_0x40b408,_0x56d012,_0x20e67c,_0x187e04,_0x3361b9,_0x3ba85e,_0x3613c6){var _0x2e2f3d=_0x2017aa;A(this,'_awaitingChangeset',null),A(this,_0x2e2f3d(0x264),[]),(this['unitID']=_0x31a31f,this[_0x2e2f3d(0x2f5)]=_0x513a0e,this[_0x2e2f3d(0x2f2)]=_0x20e67c,this[_0x2e2f3d(0x487)]=_0x187e04,this[_0x2e2f3d(0x30e)]=_0x3361b9,this[_0x2e2f3d(0x22d)]=_0x3ba85e,this[_0x2e2f3d(0x1e8)]=_0x3613c6,this[_0x2e2f3d(0x2a6)]=_0x40b408,this[_0x2e2f3d(0x264)]=_0x56d012);}['_checkMissing'](_0x2a6367){var _0x4e52b3=_0x2017aa;const _0x17e62d=this[_0x4e52b3(0x22d)][_0x4e52b3(0x276)](this['unitID']);return _0x2a6367['revision']>_0x17e62d+0x1?(this['_handler']['onMissingChangesets']({'from':_0x17e62d,'to':_0x2a6367[_0x4e52b3(0x1cd)]-0x1}),!0x0):!0x1;}[_0x2017aa(0x202)](_0x5cd448){var _0x43c61e=_0x2017aa;this['_undoRedoService'][_0x43c61e(0x2d9)](this['unitID'],_0x5cd448);}[_0x2017aa(0x358)](_0x15a5db){var _0x46fb8e=_0x2017aa,_0x327419,_0xf97a45;(_0xf97a45=(_0x327419=this[_0x46fb8e(0x2f2)])[_0x46fb8e(0x1d4)])==null||_0xf97a45[_0x46fb8e(0x1d8)](_0x327419,_0x15a5db);}[_0x2017aa(0x4e4)](_0xf37597){var _0x30f3cb=_0x2017aa,_0x520742,_0x565e0d;return(_0x565e0d=(_0x520742=this['_handler'])[_0x30f3cb(0x266)])==null?void 0x0:_0x565e0d[_0x30f3cb(0x1d8)](_0x520742,_0xf37597);}[_0x2017aa(0x294)](_0x45444f){var _0x55395c=_0x2017aa,_0x1bd1d3,_0x10bfd3;return(_0x10bfd3=(_0x1bd1d3=this[_0x55395c(0x2f2)])[_0x55395c(0x222)])==null?void 0x0:_0x10bfd3['call'](_0x1bd1d3,_0x45444f);}[_0x2017aa(0x400)](_0x281e4c){var _0x2c47b9=_0x2017aa,_0x4a5f12,_0x29f9c6,_0x43c8d3;return(_0x43c8d3=(_0x29f9c6=(_0x4a5f12=this['_handler'])[_0x2c47b9(0x3b6)])==null?void 0x0:_0x29f9c6[_0x2c47b9(0x1d8)](_0x4a5f12,_0x281e4c))!=null?_0x43c8d3:_0x281e4c;}[_0x2017aa(0x3b8)](_0x2995e9){var _0x62f867=_0x2017aa,_0xb32efc,_0x3ea597,_0x136ce1;return(_0x136ce1=(_0x3ea597=(_0xb32efc=this[_0x62f867(0x2f2)])[_0x62f867(0x324)])==null?void 0x0:_0x3ea597[_0x62f867(0x1d8)](_0xb32efc,_0x2995e9))!=null?_0x136ce1:_0x2995e9;}['_syncEditingCollabCursor'](_0x1780c5){var _0x11b0d0=_0x2017aa,_0x414c7d,_0x5b140d;if(this[_0x11b0d0(0x2f5)]===X[_0x11b0d0(0x1d3)]){const {unitID:_0x46b407,mutations:_0x4e393c,memberID:_0x2288f7}=_0x1780c5,_0x408105=_0x4e393c[0x0]['params'][_0x11b0d0(0x2ac)];Array[_0x11b0d0(0x228)](_0x408105)&&_0x408105[_0x11b0d0(0x42c)]>0x0&&((_0x5b140d=(_0x414c7d=this[_0x11b0d0(0x2f2)])['onSyncEditingCollabCursor'])==null||_0x5b140d[_0x11b0d0(0x1d8)](_0x414c7d,{'unitID':_0x46b407,'memberID':_0x2288f7,'textRanges':_0x408105}));}}[_0x2017aa(0x32d)](){var _0x1a99e2=_0x2017aa,_0x42ffaf;(_0x42ffaf=this[_0x1a99e2(0x1e8)])==null||_0x42ffaf[_0x1a99e2(0x282)](this[_0x1a99e2(0x388)],this['type'],this[_0x1a99e2(0x2a6)],this[_0x1a99e2(0x264)]);}[_0x2017aa(0x3dd)](){var _0x207959=_0x2017aa;return this[_0x207959(0x22d)][_0x207959(0x276)](this[_0x207959(0x388)]);}[_0x2017aa(0x47e)](){var _0x31e9eb=_0x2017aa;this[_0x31e9eb(0x22d)][_0x31e9eb(0x4e2)](this[_0x31e9eb(0x388)]);}[_0x2017aa(0x4aa)](_0x364a67){var _0x34733e=_0x2017aa,_0x11369d;let _0x880831=this['_transformRemoteChangesetByIMECache'](_0x364a67);_0x880831=this['_transformRemoteChangesetByStateCache'](_0x880831);const _0x1542c9=a[_0x34733e(0x1a4)](_0x880831[_0x34733e(0x40c)],this[_0x34733e(0x487)],{'fromCollab':!0x0});if(!_0x1542c9[_0x34733e(0x3a8)])throw _0x1542c9['error']instanceof Error?_0x1542c9[_0x34733e(0x227)]:new Error((_0x11369d=_0x1542c9['error'])!=null?_0x11369d:_0x34733e(0x206));this['_transformIMECache'](_0x880831),this[_0x34733e(0x294)](_0x880831),this['_transformUndoredo'](_0x364a67),this['_transformSelections'](_0x880831),this['_syncEditingCollabCursor'](_0x880831),this[_0x34733e(0x47e)]();}}exports[_0x2017aa(0x506)]=class extends he{constructor(_0x3b25d9,_0x495b59,_0x3d76ec,_0x680f03,_0x288406,_0x54c141,_0x5a5e77,_0xfc5be4,_0x3c0fde,_0x25ecd6){var _0x31843d=_0x2017aa;super(_0x3b25d9,_0x495b59,null,[],_0x3d76ec,_0x5a5e77,_0x54c141,_0x680f03,_0x25ecd6),A(this,_0x31843d(0x238),'synced'),(this[_0x31843d(0x32e)]=_0x288406,this[_0x31843d(0x261)]=_0xfc5be4,this['_transformService']=_0x3c0fde,this[_0x31843d(0x272)]=_0x25ecd6);}[_0x2017aa(0x3c5)](_0x321b05){var _0x32ac4d=_0x2017aa;const _0x1f89b6=this[_0x32ac4d(0x32e)]['createInstance'](exports[_0x32ac4d(0x461)],this[_0x32ac4d(0x388)],this[_0x32ac4d(0x2f5)],[_0x321b05],this[_0x32ac4d(0x2f2)]);return _0x1f89b6['_schedule'](),_0x1f89b6[_0x32ac4d(0x32d)](),_0x1f89b6;}[_0x2017aa(0x4d8)](_0x3b38cc){var _0x5c84bd=_0x2017aa;if(this[_0x5c84bd(0x33a)](_0x3b38cc))return this[_0x5c84bd(0x32e)]['createInstance'](exports[_0x5c84bd(0x201)],this['unitID'],this[_0x5c84bd(0x2f5)],null,[],null,[_0x3b38cc],this[_0x5c84bd(0x2f2)]);try{const _0x3c962b=this[_0x5c84bd(0x4f4)][_0x5c84bd(0x24d)](_0x3b38cc,[mi]);if(g['isTransformMutationsWithChangesetSuccess'](_0x3c962b)){const {c1Prime:_0x5eaea7}=_0x3c962b;return this[_0x5c84bd(0x4aa)](_0x5eaea7),this;}throw _0x3c962b['error'];}catch(_0x633151){return this['_logService'][_0x5c84bd(0x227)](_0x633151),this['_onConflict'](!0x1);}}['_onConflict'](_0x54a374){var _0x3f87d4=_0x2017aa;return this[_0x3f87d4(0x32e)]['createInstance'](exports['ConflictState'],this[_0x3f87d4(0x388)],this[_0x3f87d4(0x2f5)],null,[],this[_0x3f87d4(0x2f2)],_0x54a374);}['onRemoteAck'](){var _0x175697=_0x2017aa;throw new Error(_0x175697(0x1f9));}[_0x2017aa(0x31f)](){var _0x896177=_0x2017aa;throw new Error(_0x896177(0x382));}[_0x2017aa(0x230)](){return this;}['toggleOffline'](){var _0x533835=_0x2017aa;return this[_0x533835(0x32e)]['createInstance'](exports[_0x533835(0x26d)],this[_0x533835(0x388)],this[_0x533835(0x2f5)],null,[],this[_0x533835(0x2f2)]);}[_0x2017aa(0x1cf)](){return this;}[_0x2017aa(0x3ed)](){var _0xf1ec81=_0x2017aa;throw new Error(_0xf1ec81(0x46a));}[_0x2017aa(0x441)](){var _0x3e3cac=_0x2017aa;const _0x4b8eb9=this[_0x3e3cac(0x22d)][_0x3e3cac(0x276)](this[_0x3e3cac(0x388)]);return this[_0x3e3cac(0x2f2)][_0x3e3cac(0x457)]({'from':_0x4b8eb9,'to':0x0}),this[_0x3e3cac(0x32e)][_0x3e3cac(0x216)](exports[_0x3e3cac(0x201)],this[_0x3e3cac(0x388)],this[_0x3e3cac(0x2f5)],null,[],null,[],this[_0x3e3cac(0x2f2)]);}},exports[_0x2017aa(0x506)]=ce([w(0x3,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x492)])),w(0x4,a['Inject'](a[_0x2017aa(0x2ca)])),w(0x5,a[_0x2017aa(0x2be)]),w(0x6,a[_0x2017aa(0x479)]),w(0x7,a['ILogService']),w(0x8,g[_0x2017aa(0x3a5)]),w(0x9,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x506)]),exports['PendingState']=class extends he{constructor(_0x4441f4,_0xcf505e,_0x3d2264,_0x2898cf,_0x128a7a,_0x207257,_0x42b205,_0x4bdcc8,_0x2e864d,_0x214410,_0x5bbf3a,_0x39c05b,_0x5a4c40,_0xc3b0da){var _0x367791=_0x2017aa;super(_0x4441f4,_0xcf505e,null,_0x3d2264,_0x2898cf,_0x2e864d,_0x5a4c40,_0x207257,_0xc3b0da),A(this,_0x367791(0x238),_0x367791(0x4df)),A(this,_0x367791(0x2ae),null),A(this,_0x367791(0x333),null),(this[_0x367791(0x32e)]=_0x128a7a,this[_0x367791(0x33f)]=_0x42b205,this['_logService']=_0x4bdcc8,this['_configService']=_0x214410,this['_transformService']=_0x5bbf3a,this['_univerInstanceService']=_0x39c05b);}[_0x2017aa(0x3c5)](_0x5e44a2){var _0x1a9a03=_0x2017aa;return this[_0x1a9a03(0x264)][_0x1a9a03(0x2e9)](_0x5e44a2),this[_0x1a9a03(0x32d)](),this;}[_0x2017aa(0x4d8)](_0xf18f5b){var _0x45577f=_0x2017aa;if(this[_0x45577f(0x33a)](_0xf18f5b))return this[_0x45577f(0x4ed)](),this['_injector'][_0x45577f(0x216)](exports[_0x45577f(0x201)],this[_0x45577f(0x388)],this['type'],null,this[_0x45577f(0x264)],null,[_0xf18f5b],this['_handler']);try{const _0x59c694=this[_0x45577f(0x4f4)]['transformMutationsWithChangeset'](_0xf18f5b,this[_0x45577f(0x264)]);if(g[_0x45577f(0x50c)](_0x59c694)){const {c1Prime:_0x237e72,m2Prime:_0x4356cd}=_0x59c694;this[_0x45577f(0x4aa)](_0x237e72);const _0x16e9b3=this['_injector'][_0x45577f(0x216)](exports[_0x45577f(0x461)],this[_0x45577f(0x388)],this[_0x45577f(0x2f5)],_0x4356cd,this['_handler']);this[_0x45577f(0x4ed)]();const _0x574c8d=new Date()[_0x45577f(0x405)](),_0x129483=this['_scheduleCompleteTimestamp']?Math[_0x45577f(0x30c)](this[_0x45577f(0x2ae)]-_0x574c8d,0x0):this[_0x45577f(0x1b5)]();return _0x16e9b3[_0x45577f(0x28a)](_0x129483),_0x16e9b3;}throw _0x59c694[_0x45577f(0x227)];}catch(_0x26540d){return this['_logService'][_0x45577f(0x227)](_0x26540d),this[_0x45577f(0x36f)](!0x1);}}[_0x2017aa(0x2ba)](){var _0x3a7e32=_0x2017aa;throw new Error(_0x3a7e32(0x37d));}['onRemoteRej'](){var _0xb1c3dd=_0x2017aa;throw new Error(_0xb1c3dd(0x351));}[_0x2017aa(0x230)](){return this;}[_0x2017aa(0x262)](){var _0x4320c0=_0x2017aa;return this[_0x4320c0(0x4ed)](),this[_0x4320c0(0x32e)][_0x4320c0(0x216)](exports[_0x4320c0(0x26d)],this[_0x4320c0(0x388)],this[_0x4320c0(0x2f5)],null,this['_pendingMutations'],this['_handler']);}[_0x2017aa(0x1cf)](){return this;}[_0x2017aa(0x28a)](_0x4a1cef){var _0x1ccef9=_0x2017aa;const _0x584bf3=_0x4a1cef!=null?_0x4a1cef:this[_0x1ccef9(0x1b5)]();this[_0x1ccef9(0x2ae)]=new Date()[_0x1ccef9(0x405)]()+_0x584bf3,this[_0x1ccef9(0x333)]=setTimeout(()=>{var _0x2f12c1=_0x1ccef9;this[_0x2f12c1(0x4ed)]();let _0x544b39=null;switch(this[_0x2f12c1(0x2f5)]){case X['UNIVER_SHEET']:{_0x544b39=ze(this['_pendingMutations'],this['unitID'],this[_0x2f12c1(0x3ec)],this[_0x2f12c1(0x22d)],this[_0x2f12c1(0x33f)]);break;}case X[_0x2f12c1(0x1d3)]:{this['_pendingMutations']['every'](_0x415857=>_0x415857['id']===ut[_0x2f12c1(0x3c8)]['id'])?_0x544b39=Ii(this[_0x2f12c1(0x264)],this[_0x2f12c1(0x388)],this[_0x2f12c1(0x3ec)],this[_0x2f12c1(0x22d)],this[_0x2f12c1(0x33f)]):_0x544b39=ze(this[_0x2f12c1(0x264)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x2f12c1(0x33f)]);break;}default:throw new Error(_0x2f12c1(0x4d1)+this[_0x2f12c1(0x2f5)]+_0x2f12c1(0x489));}const {changeset:_0xf5bb21,pendingMutations:_0x2380fb}=_0x544b39;this[_0x2f12c1(0x2f2)][_0x2f12c1(0x4e1)](_0xf5bb21);const _0x312f12=_0x2380fb[_0x2f12c1(0x42c)]?this[_0x2f12c1(0x32e)][_0x2f12c1(0x216)](exports[_0x2f12c1(0x224)],this[_0x2f12c1(0x388)],this['type'],_0xf5bb21,_0x2380fb,this['_handler'],void 0x0):this[_0x2f12c1(0x32e)][_0x2f12c1(0x216)](exports[_0x2f12c1(0x3f5)],this[_0x2f12c1(0x388)],this['type'],_0xf5bb21,this[_0x2f12c1(0x2f2)]);_0x312f12[_0x2f12c1(0x32d)](),this[_0x2f12c1(0x2f2)][_0x2f12c1(0x3c7)](this,_0x312f12);},_0x584bf3);}['_getSendChangesetTimeout'](){var _0x454765=_0x2017aa,_0x349ddb;const _0x2930e9=this[_0x454765(0x278)][_0x454765(0x43e)](Y);return(_0x349ddb=_0x2930e9==null?void 0x0:_0x2930e9[_0x454765(0x2f7)])!=null?_0x349ddb:jt;}[_0x2017aa(0x3ed)](){var _0x26630c=_0x2017aa;throw new Error(_0x26630c(0x34e));}[_0x2017aa(0x4ed)](){var _0x5a575b=_0x2017aa;this[_0x5a575b(0x333)]!=null&&(clearTimeout(this[_0x5a575b(0x333)]),this[_0x5a575b(0x333)]=null);}[_0x2017aa(0x36f)](_0x283f98){var _0x2044a5=_0x2017aa;return this[_0x2044a5(0x4ed)](),this[_0x2044a5(0x32e)]['createInstance'](exports[_0x2044a5(0x25a)],this['unitID'],this[_0x2044a5(0x2f5)],null,this[_0x2044a5(0x264)],this[_0x2044a5(0x2f2)],_0x283f98);}},exports[_0x2017aa(0x461)]=ce([w(0x4,a['Inject'](a[_0x2017aa(0x2ca)])),w(0x5,a['Inject'](g[_0x2017aa(0x492)])),w(0x6,a['Inject'](exports[_0x2017aa(0x22f)])),w(0x7,a[_0x2017aa(0x3bd)]),w(0x8,a['ICommandService']),w(0x9,a[_0x2017aa(0x20f)]),w(0xa,g[_0x2017aa(0x3a5)]),w(0xb,a[_0x2017aa(0x317)]),w(0xc,a[_0x2017aa(0x2be)]),w(0xd,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x461)]),exports['AwaitingState']=class extends he{constructor(_0x59f87c,_0x11e3d3,_0x52b443,_0x1b3dda,_0x521856,_0x43fa09,_0x849cb5,_0x2b2c1f,_0xb9c957,_0x1cef85,_0x2d78f0){var _0x5aa8ed=_0x2017aa;super(_0x59f87c,_0x11e3d3,_0x52b443,[],_0x1b3dda,_0x849cb5,_0x1cef85,_0x43fa09,_0x2d78f0),A(this,_0x5aa8ed(0x238),_0x5aa8ed(0x4c8)),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x5aa8ed(0x32e)]=_0x521856,this[_0x5aa8ed(0x261)]=_0x2b2c1f,this['_transformService']=_0xb9c957);}['appendMutation'](_0x17a6d0){var _0x4e3b5a=_0x2017aa;this[_0x4e3b5a(0x4ed)]();const _0x122a58=this[_0x4e3b5a(0x32e)][_0x4e3b5a(0x216)](exports['AwaitingWithPendingState'],this[_0x4e3b5a(0x388)],this[_0x4e3b5a(0x2f5)],this[_0x4e3b5a(0x2a6)],[_0x17a6d0],this[_0x4e3b5a(0x2f2)],this[_0x4e3b5a(0x255)]);return _0x122a58['_updateLocalCache'](),_0x122a58;}[_0x2017aa(0x4d8)](_0x5ac8d0){var _0x32d655=_0x2017aa;if(this[_0x32d655(0x33a)](_0x5ac8d0))return this[_0x32d655(0x4ed)](),this['_injector'][_0x32d655(0x216)](exports[_0x32d655(0x201)],this[_0x32d655(0x388)],this[_0x32d655(0x2f5)],this[_0x32d655(0x2a6)],[],null,[_0x5ac8d0],this[_0x32d655(0x2f2)]);try{const _0x2b1d8d=this['_transformService']['transformChangesets']([_0x5ac8d0],[this['_awaitingChangeset']],!0x1);if(g[_0x32d655(0x1d0)](_0x2b1d8d)){const {c1Prime:_0x238710,c2Prime:_0x155b4a}=_0x2b1d8d;this['_executeRemoteChangeset'](_0x238710[0x0]),_0x155b4a[0x0][_0x32d655(0x4b6)]=this[_0x32d655(0x3dd)](),this['_clearScheduledTask']();const _0x47588a=this[_0x32d655(0x32e)][_0x32d655(0x216)](exports['AwaitingState'],this[_0x32d655(0x388)],this[_0x32d655(0x2f5)],_0x155b4a[0x0],this[_0x32d655(0x2f2)]);return _0x47588a[_0x32d655(0x32d)](),_0x47588a;}return this['_onConflict'](!0x1);}catch(_0xb157ab){return this['_logService'][_0x32d655(0x227)](_0xb157ab),this[_0x32d655(0x36f)](!0x1);}}[_0x2017aa(0x2ba)](_0xe8b131){var _0x45ec5c=_0x2017aa;this[_0x45ec5c(0x4ed)]();const _0x420bb1=this['_revisionService'][_0x45ec5c(0x276)](this['unitID']);if(_0xe8b131[_0x45ec5c(0x1cd)]<_0x420bb1-0x1)return this;if(this[_0x45ec5c(0x33a)](_0xe8b131))return this[_0x45ec5c(0x32e)][_0x45ec5c(0x216)](exports[_0x45ec5c(0x201)],this[_0x45ec5c(0x388)],this[_0x45ec5c(0x2f5)],null,[],this['_awaitingChangeset'],[],this[_0x45ec5c(0x2f2)]);this[_0x45ec5c(0x47e)]();const _0x26b00f=this['_injector'][_0x45ec5c(0x216)](exports[_0x45ec5c(0x506)],this[_0x45ec5c(0x388)],this['type'],this[_0x45ec5c(0x2f2)]);return _0x26b00f[_0x45ec5c(0x32d)](),_0x26b00f;}[_0x2017aa(0x31f)](_0x834f97){var _0x44c320=_0x2017aa;return this[_0x44c320(0x36f)](!!(_0x834f97!=null&&_0x834f97[_0x44c320(0x1ed)]));}['onRemoteRetry'](_0x3c26bb){var _0x1c25e3=_0x2017aa;return this[_0x1c25e3(0x2d5)]>Nt?this[_0x1c25e3(0x262)]():(this[_0x1c25e3(0x255)]=yt(this['_resendTimeout'],{'timeout':this[_0x1c25e3(0x2d5)],'reqId':_0x3c26bb[_0x1c25e3(0x273)]}),this['_sender']=this[_0x1c25e3(0x255)][_0x1c25e3(0x1d2)](({reqId:_0x9d97,timeout:_0x537183})=>{var _0x367f14=_0x1c25e3;this[_0x367f14(0x384)](_0x9d97,_0x537183);}),this);}[_0x2017aa(0x262)](){var _0x20b0a7=_0x2017aa;return this[_0x20b0a7(0x4ed)](),this['_injector'][_0x20b0a7(0x216)](exports['OfflineState'],this['unitID'],this['type'],this[_0x20b0a7(0x2a6)],[],this['_handler']);}[_0x2017aa(0x1cf)](){return this;}['resend'](){var _0x5c68b4=_0x2017aa;this[_0x5c68b4(0x2f2)]['onSendChangeset'](this[_0x5c68b4(0x2a6)]);}['_onConflict'](_0x35d21a){var _0x5e7b3b=_0x2017aa;return this['_clearScheduledTask'](),this[_0x5e7b3b(0x32e)][_0x5e7b3b(0x216)](exports[_0x5e7b3b(0x25a)],this[_0x5e7b3b(0x388)],this[_0x5e7b3b(0x2f5)],this['_awaitingChangeset'],[],this[_0x5e7b3b(0x2f2)],_0x35d21a);}[_0x2017aa(0x384)](_0x41677b,_0x1122e2){var _0x45adfc=_0x2017aa,_0x32a4a0;_0x41677b===((_0x32a4a0=this[_0x45adfc(0x2a6)])==null?void 0x0:_0x32a4a0['reqId'])&&(this[_0x45adfc(0x3ed)](),this[_0x45adfc(0x2d5)]=_0x1122e2===0x0?0x3e8:_0x1122e2*0x2);}[_0x2017aa(0x4ed)](){var _0x3321c5=_0x2017aa,_0x1790eb;(_0x1790eb=this[_0x3321c5(0x2dc)])==null||_0x1790eb[_0x3321c5(0x447)](),this[_0x3321c5(0x2d5)]=0x0;}},exports[_0x2017aa(0x3f5)]=ce([w(0x4,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),w(0x5,a['Inject'](g[_0x2017aa(0x492)])),w(0x6,a[_0x2017aa(0x479)]),w(0x7,a[_0x2017aa(0x3bd)]),w(0x8,g['ITransformService']),w(0x9,a[_0x2017aa(0x2be)]),w(0xa,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x3f5)]),exports[_0x2017aa(0x224)]=class extends he{constructor(_0x59e128,_0x3a9223,_0x207178,_0x227ae6,_0x112001,_0x2b19fc,_0x1c0931,_0x6112c6,_0x1735cb,_0x6278df,_0x37a2bb,_0x3c8e54,_0x217c0b){var _0x4664a0=_0x2017aa;super(_0x59e128,_0x3a9223,_0x207178,_0x227ae6,_0x112001,_0x1735cb,_0x3c8e54,_0x6112c6,_0x217c0b),A(this,'status',_0x4664a0(0x2f1)),A(this,'_resendTimeout',0x0),A(this,_0x4664a0(0x255)),A(this,_0x4664a0(0x2dc)),(this[_0x4664a0(0x32e)]=_0x1c0931,this[_0x4664a0(0x261)]=_0x6278df,this[_0x4664a0(0x4f4)]=_0x37a2bb,this[_0x4664a0(0x272)]=_0x217c0b,_0x2b19fc&&(this[_0x4664a0(0x255)]=_0x2b19fc,this[_0x4664a0(0x2dc)]=this[_0x4664a0(0x255)][_0x4664a0(0x1d2)](({reqId:_0x356f88,timeout:_0x1cba14})=>{var _0x299b83=_0x4664a0;this[_0x299b83(0x384)](_0x356f88,_0x1cba14);})));}[_0x2017aa(0x3c5)](_0x42dbd5){var _0x56c8fe=_0x2017aa;return this[_0x56c8fe(0x264)]['push'](_0x42dbd5),this;}['onRemoteChangeset'](_0x2db3d4){var _0x2facf=_0x2017aa;if(this[_0x2facf(0x33a)](_0x2db3d4))return this[_0x2facf(0x4ed)](),this['_injector'][_0x2facf(0x216)](exports[_0x2facf(0x201)],this[_0x2facf(0x388)],this[_0x2facf(0x2f5)],this['_awaitingChangeset'],this[_0x2facf(0x264)],null,[_0x2db3d4],this[_0x2facf(0x2f2)]);try{const _0x481130=this[_0x2facf(0x4f4)][_0x2facf(0x203)]([_0x2db3d4],[this[_0x2facf(0x2a6)]],!0x1);if(g[_0x2facf(0x1d0)](_0x481130)){const {c1Prime:_0x4aa5b1,c2Prime:_0x8bc6ab}=_0x481130,_0x153028=this[_0x2facf(0x4f4)][_0x2facf(0x24d)](_0x4aa5b1[0x0],this[_0x2facf(0x264)]);if(g[_0x2facf(0x50c)](_0x153028)){const {c1Prime:_0x5f2a7b,m2Prime:_0x537318}=_0x153028;return this['_executeRemoteChangeset'](_0x5f2a7b),_0x8bc6ab[0x0][_0x2facf(0x4b6)]=this['_getCurrentRevision'](),this[_0x2facf(0x4ed)](),this['_injector']['createInstance'](exports[_0x2facf(0x224)],this[_0x2facf(0x388)],this[_0x2facf(0x2f5)],_0x8bc6ab[0x0],_0x537318,this[_0x2facf(0x2f2)],void 0x0);}throw _0x153028[_0x2facf(0x227)];}throw _0x481130['error'];}catch(_0x5dafc0){return this[_0x2facf(0x261)][_0x2facf(0x227)](_0x5dafc0),this[_0x2facf(0x36f)](!0x1);}}[_0x2017aa(0x2ba)](_0xdfa63d){var _0x3c9284=_0x2017aa;if(this[_0x3c9284(0x4ed)](),this[_0x3c9284(0x33a)](_0xdfa63d))return this[_0x3c9284(0x32e)][_0x3c9284(0x216)](exports['FetchingMissState'],this[_0x3c9284(0x388)],this[_0x3c9284(0x2f5)],null,this[_0x3c9284(0x264)],this[_0x3c9284(0x2a6)],[],this[_0x3c9284(0x2f2)]);this[_0x3c9284(0x47e)]();const _0x51ce61=this[_0x3c9284(0x32e)]['createInstance'](exports[_0x3c9284(0x461)],this[_0x3c9284(0x388)],this['type'],this[_0x3c9284(0x264)],this[_0x3c9284(0x2f2)]);return _0x51ce61['_schedule'](),_0x51ce61[_0x3c9284(0x32d)](),_0x51ce61;}[_0x2017aa(0x31f)](_0x4d1aea){var _0x2b8c9f=_0x2017aa;return this[_0x2b8c9f(0x36f)](!!(_0x4d1aea!=null&&_0x4d1aea[_0x2b8c9f(0x1ed)]));}[_0x2017aa(0x230)](_0x59c8be){var _0x5f52f5=_0x2017aa;return this[_0x5f52f5(0x2d5)]>Nt?this[_0x5f52f5(0x262)]():(this['_resendTimer']=yt(this['_resendTimeout'],{'timeout':this[_0x5f52f5(0x2d5)],'reqId':_0x59c8be['reqId']}),this[_0x5f52f5(0x2dc)]=this[_0x5f52f5(0x255)]['subscribe'](({reqId:_0xa2f6fa,timeout:_0x4e56d0})=>{var _0x323d59=_0x5f52f5;this[_0x323d59(0x384)](_0xa2f6fa,_0x4e56d0);}),this);}[_0x2017aa(0x262)](){var _0x2a4893=_0x2017aa;return this['_clearScheduledTask'](),this['_injector'][_0x2a4893(0x216)](exports['OfflineState'],this[_0x2a4893(0x388)],this[_0x2a4893(0x2f5)],this[_0x2a4893(0x2a6)],this[_0x2a4893(0x264)],this['_handler']);}[_0x2017aa(0x1cf)](){return this;}[_0x2017aa(0x3ed)](){var _0x43087f=_0x2017aa;this['_handler'][_0x43087f(0x4e1)](this[_0x43087f(0x2a6)]);}[_0x2017aa(0x36f)](_0x4d35cb){var _0x498280=_0x2017aa;return this[_0x498280(0x4ed)](),this[_0x498280(0x32e)][_0x498280(0x216)](exports['ConflictState'],this[_0x498280(0x388)],this[_0x498280(0x2f5)],null,this[_0x498280(0x264)],this['_handler'],_0x4d35cb);}[_0x2017aa(0x384)](_0x21ef3c,_0x11b0bc){var _0x1f1c2b=_0x2017aa,_0x5a844a;_0x21ef3c===((_0x5a844a=this[_0x1f1c2b(0x2a6)])==null?void 0x0:_0x5a844a['reqId'])&&(this[_0x1f1c2b(0x3ed)](),this[_0x1f1c2b(0x2d5)]=_0x11b0bc===0x0?0x3e8:_0x11b0bc*0x2);}[_0x2017aa(0x4ed)](){var _0x151ad2=_0x2017aa,_0x43133a;(_0x43133a=this[_0x151ad2(0x2dc)])==null||_0x43133a[_0x151ad2(0x447)](),this[_0x151ad2(0x2d5)]=0x0;}},exports[_0x2017aa(0x224)]=ce([w(0x6,a['Inject'](a[_0x2017aa(0x2ca)])),w(0x7,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x492)])),w(0x8,a['ICommandService']),w(0x9,a[_0x2017aa(0x3bd)]),w(0xa,g[_0x2017aa(0x3a5)]),w(0xb,a[_0x2017aa(0x2be)]),w(0xc,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x224)]),exports[_0x2017aa(0x25a)]=class extends he{constructor(_0x5edfa8,_0x577f66,_0x47cd38,_0x437050,_0x34cb3c,_0x5a678f=!0x1,_0x1684b6,_0x426af0,_0x5b649e,_0x404362,_0x556b02,_0xdb4580,_0x123a66){var _0x5707a3=_0x2017aa;super(_0x5edfa8,_0x577f66,_0x47cd38,_0x437050,_0x34cb3c,_0x426af0,_0x5b649e,_0x404362,_0x123a66),A(this,_0x5707a3(0x238),_0x5707a3(0x3b7)),(this[_0x5707a3(0x235)]=_0x5a678f,this[_0x5707a3(0x19a)]=_0x1684b6,this[_0x5707a3(0x23f)]=_0x556b02,this[_0x5707a3(0x1b6)]=_0xdb4580,this[_0x5707a3(0x272)]=_0x123a66,this['_showConflictNotification'](),this[_0x5707a3(0x352)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x2017aa(0x4d8)](){return this;}[_0x2017aa(0x2ba)](){return this;}['onRemoteRej'](){return this;}[_0x2017aa(0x230)](){return this;}['toggleOffline'](){return this;}[_0x2017aa(0x1cf)](){return this;}[_0x2017aa(0x3ed)](){var _0x384150=_0x2017aa;throw new Error(_0x384150(0x4b7));}[_0x2017aa(0x352)](){var _0x506254=_0x2017aa,_0x54bc93;(_0x54bc93=this[_0x506254(0x1e8)])==null||_0x54bc93[_0x506254(0x282)](this['unitID'],this[_0x506254(0x2f5)],null,[]);}['_showConflictNotification'](){var _0x9ccffc=_0x2017aa;this[_0x9ccffc(0x235)]?this[_0x9ccffc(0x1b6)][_0x9ccffc(0x361)]({'id':Q[_0x9ccffc(0x4a6)]}):this[_0x9ccffc(0x1b6)][_0x9ccffc(0x361)]({'id':Q[_0x9ccffc(0x2e5)]});}[_0x2017aa(0x259)](){var _0x271289=_0x2017aa;this[_0x271289(0x19a)]['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0x271289(0x388)])['id'],!0x1);}},exports[_0x2017aa(0x25a)]=ce([w(0x6,a['Inject'](a[_0x2017aa(0x318)])),w(0x7,a[_0x2017aa(0x479)]),w(0x8,a[_0x2017aa(0x2be)]),w(0x9,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x492)])),w(0xa,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x4a8)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x25a)]),exports['OfflineState']=class extends he{constructor(_0x2dc609,_0x2b3b14,_0x53ec2b,_0x235030,_0x573713,_0x4314c9,_0x5ebef5,_0x2e35d2,_0x293bdf,_0x117e76){var _0x5e2ac1=_0x2017aa;super(_0x2dc609,_0x2b3b14,_0x53ec2b,_0x235030,_0x573713,_0x2e35d2,_0x293bdf,_0x5ebef5,_0x117e76),A(this,'status',_0x5e2ac1(0x316)),this['_injector']=_0x4314c9;}[_0x2017aa(0x3c5)](_0x4d9696){var _0xf55cf5=_0x2017aa;return this['_pendingMutations']['push'](_0x4d9696),this[_0xf55cf5(0x32d)](),this;}[_0x2017aa(0x4d8)](_0x7cfb78){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x7ed1ca=_0x2017aa;throw new Error(_0x7ed1ca(0x46d));}[_0x2017aa(0x31f)](){var _0x190a08=_0x2017aa;throw new Error(_0x190a08(0x1aa));}[_0x2017aa(0x230)](){return this;}['toggleOffline'](){return this;}[_0x2017aa(0x1cf)](){var _0x22f536=_0x2017aa;const {_injector:_0x4e9401,_pendingMutations:_0x1d0363,_awaitingChangeset:_0x3886ea,unitID:_0x4687a7,_handler:_0x464ebf,type:_0x413ca8}=this,_0x386a45=Dt(_0x4e9401,_0x4687a7,_0x413ca8,_0x3886ea,_0x1d0363,_0x464ebf);return _0x386a45 instanceof exports[_0x22f536(0x461)]?_0x386a45[_0x22f536(0x28a)]():(_0x386a45 instanceof exports['AwaitingWithPendingState']||_0x386a45 instanceof exports['AwaitingState'])&&_0x386a45[_0x22f536(0x3ed)](),_0x386a45;}[_0x2017aa(0x3ed)](){var _0x1f5424=_0x2017aa;throw new Error(_0x1f5424(0x199));}},exports[_0x2017aa(0x26d)]=ce([w(0x5,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),w(0x6,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x492)])),w(0x7,a[_0x2017aa(0x479)]),w(0x8,a[_0x2017aa(0x2be)]),w(0x9,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x26d)]),exports[_0x2017aa(0x201)]=class extends he{constructor(_0x4a64de,_0x216633,_0x2a4790,_0x381e7a,_0x216b40,_0x4f2909,_0xdb14b2,_0x1ae32d,_0x4f4ce4,_0x7e3850,_0x15bd86,_0x5cfb5a,_0x334f63,_0x253589){var _0x3011ff=_0x2017aa;super(_0x4a64de,_0x216633,_0x2a4790,_0x381e7a,_0xdb14b2,_0x15bd86,_0x5cfb5a,_0x4f4ce4,_0x253589),A(this,_0x3011ff(0x238),_0x3011ff(0x4f0)),(this[_0x3011ff(0x2b9)]=_0x216b40,this[_0x3011ff(0x1f8)]=_0x4f2909,this['_injector']=_0x1ae32d,this[_0x3011ff(0x261)]=_0x7e3850,this['_transformService']=_0x334f63,this['localCacheService']=_0x253589);}[_0x2017aa(0x22b)](_0x181edf){var _0x1bfc29=_0x2017aa;try{const _0x55f1f4=[..._0x181edf,...this[_0x1bfc29(0x1f8)]],_0x2afa24=[this[_0x1bfc29(0x2a6)]||this[_0x1bfc29(0x2b9)]]['filter'](_0x1f1be8=>!!_0x1f1be8);let _0x4a46cf,_0x342fe4;if(_0x2afa24[_0x1bfc29(0x42c)]){const _0x54a2f9=this[_0x1bfc29(0x4f4)][_0x1bfc29(0x203)](_0x55f1f4,_0x2afa24,!0x1);if(!g['isTransformChangesetsSuccess'](_0x54a2f9))throw _0x54a2f9[_0x1bfc29(0x227)];_0x4a46cf=_0x54a2f9[_0x1bfc29(0x464)],_0x342fe4=_0x54a2f9[_0x1bfc29(0x451)];}else _0x4a46cf=_0x55f1f4,_0x342fe4=[];let _0x160d52=this[_0x1bfc29(0x264)];_0x4a46cf[_0x1bfc29(0x32f)](_0x62de36=>{var _0x394f34=_0x1bfc29;let _0x477b20;if(_0x160d52[_0x394f34(0x42c)]){const _0x4015a6=this['_transformService']['transformMutationsWithChangeset'](_0x62de36,_0x160d52);if(!g[_0x394f34(0x50c)](_0x4015a6))throw _0x4015a6[_0x394f34(0x227)];_0x477b20=_0x4015a6[_0x394f34(0x464)],_0x160d52=_0x4015a6['m2Prime'];}else _0x477b20=_0x62de36;this[_0x394f34(0x4aa)](_0x477b20);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x1bfc29(0x2a6)]&&_0x342fe4['length']&&(_0x342fe4[0x0]['baseRev']=this[_0x1bfc29(0x3dd)]());let _0x308df2;if(this[_0x1bfc29(0x2a6)]&&_0x160d52[_0x1bfc29(0x42c)]!==0x0)_0x308df2=this[_0x1bfc29(0x32e)][_0x1bfc29(0x216)](exports[_0x1bfc29(0x224)],this[_0x1bfc29(0x388)],this[_0x1bfc29(0x2f5)],_0x342fe4[0x0],_0x160d52,this[_0x1bfc29(0x2f2)],void 0x0);else{if(this[_0x1bfc29(0x2a6)]&&_0x160d52[_0x1bfc29(0x42c)]===0x0)_0x342fe4[0x0]['baseRev']=this[_0x1bfc29(0x3dd)](),_0x308df2=this[_0x1bfc29(0x32e)][_0x1bfc29(0x216)](exports[_0x1bfc29(0x3f5)],this[_0x1bfc29(0x388)],this[_0x1bfc29(0x2f5)],_0x342fe4[0x0],this[_0x1bfc29(0x2f2)]);else{if(_0x160d52['length']!==0x0){const _0x3f2a8b=this[_0x1bfc29(0x32e)][_0x1bfc29(0x216)](exports[_0x1bfc29(0x461)],this[_0x1bfc29(0x388)],this[_0x1bfc29(0x2f5)],_0x160d52,this[_0x1bfc29(0x2f2)]);_0x3f2a8b[_0x1bfc29(0x28a)](),_0x308df2=_0x3f2a8b;}else _0x308df2=this['_injector']['createInstance'](exports[_0x1bfc29(0x506)],this['unitID'],this['type'],this[_0x1bfc29(0x2f2)]);}}return _0x308df2[_0x1bfc29(0x32d)](),_0x308df2;}catch(_0x16aaa8){return this[_0x1bfc29(0x261)][_0x1bfc29(0x227)](_0x1bfc29(0x515),_0x1bfc29(0x4f7),_0x16aaa8),this['_injector'][_0x1bfc29(0x216)](exports[_0x1bfc29(0x25a)],this['unitID'],this['type'],this[_0x1bfc29(0x2a6)],this[_0x1bfc29(0x264)],this[_0x1bfc29(0x2f2)],!0x1);}}[_0x2017aa(0x3ed)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2017aa(0x3c5)](_0x200280){var _0x2fc098=_0x2017aa;return this[_0x2fc098(0x264)][_0x2fc098(0x2e9)](_0x200280),this;}[_0x2017aa(0x4d8)](_0x2de3ab){var _0x73e21f=_0x2017aa;return this[_0x73e21f(0x1f8)][_0x73e21f(0x2e9)](_0x2de3ab),this;}[_0x2017aa(0x2ba)](_0x3cace2){var _0x3082ca=_0x2017aa;if(this[_0x3082ca(0x2a6)])return this[_0x3082ca(0x2b9)]=this['_awaitingChangeset'],this[_0x3082ca(0x2a6)]=null,this;throw new Error(_0x3082ca(0x50d));}[_0x2017aa(0x31f)](_0x217c48){var _0x4fb523=_0x2017aa;return this[_0x4fb523(0x36f)](!!(_0x217c48!=null&&_0x217c48[_0x4fb523(0x1ed)]));}[_0x2017aa(0x230)](){return this;}[_0x2017aa(0x262)](){var _0x2b0722=_0x2017aa;return this[_0x2b0722(0x32e)]['createInstance'](exports[_0x2b0722(0x26d)],this[_0x2b0722(0x388)],this[_0x2b0722(0x2f5)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x2017aa(0x1cf)](){return this;}[_0x2017aa(0x36f)](_0x45b27d){var _0x34a676=_0x2017aa;return this[_0x34a676(0x32e)][_0x34a676(0x216)](exports[_0x34a676(0x25a)],this[_0x34a676(0x388)],this['type'],this['_awaitingChangeset'],this[_0x34a676(0x264)],this['_handler'],_0x45b27d);}},exports[_0x2017aa(0x201)]=ce([w(0x7,a[_0x2017aa(0x4fc)](a['Injector'])),w(0x8,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x492)])),w(0x9,a['ILogService']),w(0xa,a['ICommandService']),w(0xb,a[_0x2017aa(0x2be)]),w(0xc,g[_0x2017aa(0x3a5)]),w(0xd,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x201)]);function Dt(_0xd5d701,_0x87c6be,_0x1d3a4b,_0x913e04,_0x4a6755,_0xf66c67){var _0x1f3201=_0x2017aa;return _0x913e04&&_0x4a6755[_0x1f3201(0x42c)]?_0xd5d701[_0x1f3201(0x216)](exports[_0x1f3201(0x224)],_0x87c6be,_0x1d3a4b,_0x913e04,_0x4a6755,_0xf66c67,void 0x0):_0x913e04?_0xd5d701['createInstance'](exports['AwaitingState'],_0x87c6be,_0x1d3a4b,_0x913e04,_0xf66c67):_0x4a6755[_0x1f3201(0x42c)]?_0xd5d701[_0x1f3201(0x216)](exports[_0x1f3201(0x461)],_0x87c6be,_0x1d3a4b,_0x4a6755,_0xf66c67):_0xd5d701['createInstance'](exports[_0x1f3201(0x506)],_0x87c6be,_0x1d3a4b,_0xf66c67);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x3341a8,_0x4bfc2b,_0x140017,_0x5646f4)=>{var _0xaca418=_0x2017aa;for(var _0x2a7f08=_0x5646f4>0x1?void 0x0:_0x5646f4?Ci(_0x4bfc2b,_0x140017):_0x4bfc2b,_0x50bcdd=_0x3341a8[_0xaca418(0x42c)]-0x1,_0x14f16d;_0x50bcdd>=0x0;_0x50bcdd--)(_0x14f16d=_0x3341a8[_0x50bcdd])&&(_0x2a7f08=_0x14f16d(_0x2a7f08)||_0x2a7f08);return _0x2a7f08;},$=(_0x4d2445,_0x37f067)=>(_0x42d22c,_0x17dd7d)=>_0x37f067(_0x42d22c,_0x17dd7d,_0x4d2445);exports[_0x2017aa(0x471)]=class extends a[_0x2017aa(0x34a)]{constructor(_0x34c3c4,_0x486de9,_0x53af1e,_0xed75e4,_0x533871,_0x169a36,_0x1d2874,_0x56e858,_0x336878,_0xfb163e,_0x5494c2,_0x4a6f46,_0x3b6dfc){var _0x411472=_0x2017aa;super(),A(this,'_state$',new j[(_0x411472(0x378))](null)),A(this,_0x411472(0x3d6),this[_0x411472(0x477)]['asObservable']()),A(this,_0x411472(0x445)),A(this,_0x411472(0x463),!0x1),A(this,'_changesetSessionId',''),A(this,_0x411472(0x1c7),0x0),A(this,'status$',this[_0x411472(0x3d6)][_0x411472(0x2a5)](j['map'](_0x1d4355=>_0x1d4355?_0x1d4355[_0x411472(0x238)]:Ve[_0x411472(0x309)]),j[_0x411472(0x29e)](0x1))),A(this,_0x411472(0x2e7),!0x1),A(this,_0x411472(0x260),[]),(this[_0x411472(0x388)]=_0x34c3c4,this[_0x411472(0x21f)]=_0x486de9,this[_0x411472(0x4db)]=_0x53af1e,this[_0x411472(0x32e)]=_0xed75e4,this[_0x411472(0x1c3)]=_0x533871,this[_0x411472(0x23f)]=_0x169a36,this['_revisionService']=_0x1d2874,this[_0x411472(0x48c)]=_0x56e858,this[_0x411472(0x261)]=_0x336878,this[_0x411472(0x487)]=_0xfb163e,this[_0x411472(0x19a)]=_0x5494c2,this[_0x411472(0x4a7)]=_0x4a6f46,this[_0x411472(0x1e8)]=_0x3b6dfc);}get[_0x2017aa(0x1db)](){var _0x100fbf=_0x2017aa;return this[_0x100fbf(0x445)];}async[_0x2017aa(0x1c4)](){var _0xa6cdd0=_0x2017aa;if(this[_0xa6cdd0(0x1db)])throw new Error(_0xa6cdd0(0x37a));await this[_0xa6cdd0(0x21b)]();}['pauseCollaboration'](){var _0x487f24=_0x2017aa;return this['_collaborationPaused']=!0x0,a[_0x487f24(0x1bd)](()=>{var _0x2f2e11=_0x487f24;this[_0x2f2e11(0x463)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2017aa(0x3e9)](_0x33927c){var _0xc0e47=_0x2017aa;this[_0xc0e47(0x231)](_0x33927c);}[_0x2017aa(0x465)](_0x3f309a){var _0x2db5c8=_0x2017aa;this['_state']=_0x3f309a,this[_0x2db5c8(0x477)]['next'](_0x3f309a);}async['_init'](){var _0x11517f=_0x2017aa,_0x5b517d;this[_0x11517f(0x465)](await this[_0x11517f(0x314)]()),this[_0x11517f(0x4a7)]&&((_0x5b517d=this['_singleActiveUnitService'])==null||_0x5b517d['editingUnit'](this[_0x11517f(0x388)]),this[_0x11517f(0x1e2)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x11517f(0x1d2)](_0x7fa8e6=>{var _0x55a397=_0x11517f;this[_0x55a397(0x261)][_0x55a397(0x4d7)](_0x55a397(0x448),_0x55a397(0x4a1),_0x7fa8e6),_0x7fa8e6===Fe[_0x55a397(0x1a1)]?(this[_0x55a397(0x48c)][_0x55a397(0x361)]({'id':Q[_0x55a397(0x2af)]}),this[_0x55a397(0x19a)][_0x55a397(0x1ef)](new Z[(_0x55a397(0x1c6))](this['unitID'])['id'],!0x1),this[_0x55a397(0x19a)][_0x55a397(0x3d1)](!0x1)):(this[_0x55a397(0x19a)][_0x55a397(0x1ef)](new Z[(_0x55a397(0x1c6))](this[_0x55a397(0x388)])['id'],!0x0),this[_0x55a397(0x19a)]['setShowComponents'](!0x0));})));let _0x397097=!0x1;return this[_0x11517f(0x1e2)](this[_0x11517f(0x21f)][_0x11517f(0x286)][_0x11517f(0x1d2)](_0x1cefb2=>{var _0x102e84=_0x11517f;_0x1cefb2===se[_0x102e84(0x24e)]?this[_0x102e84(0x277)](_0x397097):_0x1cefb2===se[_0x102e84(0x309)]&&(_0x397097=!0x0,this[_0x102e84(0x435)]());})),this[_0x11517f(0x1e2)](this[_0x11517f(0x21f)]['event$']['subscribe'](_0x493bbf=>{var _0x5704bd=_0x11517f;try{switch(_0x493bbf[_0x5704bd(0x4ab)]){case g['CollaborationEvent'][_0x5704bd(0x29c)]:{this[_0x5704bd(0x211)](g['parseProtocolChangeset'](_0x493bbf[_0x5704bd(0x40f)]));break;}case g['CollaborationEvent'][_0x5704bd(0x4fe)]:{this[_0x5704bd(0x2f8)](_0x493bbf['data']);break;}case g[_0x5704bd(0x1fc)][_0x5704bd(0x288)]:{this[_0x5704bd(0x1bb)]();break;}case g[_0x5704bd(0x1fc)][_0x5704bd(0x4e7)]:{this[_0x5704bd(0x459)](_0x493bbf[_0x5704bd(0x40f)]);break;}case g[_0x5704bd(0x1fc)][_0x5704bd(0x36b)]:{this[_0x5704bd(0x2bc)](_0x493bbf[_0x5704bd(0x40f)]['changesets'][_0x5704bd(0x350)](_0x35c419=>g['parseProtocolChangeset'](_0x35c419)));break;}case g[_0x5704bd(0x1fc)][_0x5704bd(0x3ce)]:{this[_0x5704bd(0x1bb)]({'isPermissionRej':!0x0});break;}case g[_0x5704bd(0x1fc)][_0x5704bd(0x4ce)]:break;}}catch(_0x339a6a){throw console[_0x5704bd(0x227)](_0x5704bd(0x3b0),_0x339a6a),_0x339a6a;}})),this[_0x11517f(0x445)];}[_0x2017aa(0x488)](){var _0x34b353=_0x2017aa;this[_0x34b353(0x2e7)]=!0x1;}[_0x2017aa(0x2fc)](){var _0x28d1dd=_0x2017aa;if(this['_transitionLocked'])throw new Error(_0x28d1dd(0x47d));this[_0x28d1dd(0x2e7)]=!0x0;}[_0x2017aa(0x231)](_0x43dd5e){var _0x2bf315=_0x2017aa;this[_0x2bf315(0x2fc)](),this[_0x2bf315(0x465)](this[_0x2bf315(0x445)]['appendMutation'](_0x43dd5e)),this[_0x2bf315(0x488)]();}[_0x2017aa(0x211)](_0x16db0b){var _0x66fca3=_0x2017aa;if(!(_0x16db0b[_0x66fca3(0x1cd)]<=this[_0x66fca3(0x22d)][_0x66fca3(0x276)](this[_0x66fca3(0x388)]))){if(this[_0x66fca3(0x463)]){this['_remoteChangesetQueue'][_0x66fca3(0x2e9)](_0x16db0b);return;}this['_applyRemoteChangeset'](_0x16db0b);}}[_0x2017aa(0x1c1)](){var _0xeeac56=_0x2017aa;this[_0xeeac56(0x260)][_0xeeac56(0x32f)](_0x4e9443=>this['_applyRemoteChangeset'](_0x4e9443)),this[_0xeeac56(0x260)]=[];}[_0x2017aa(0x22c)](_0x2323b5){var _0x4f33dc=_0x2017aa;const _0x5cb7f9=this[_0x4f33dc(0x1c3)]['interceptor'][_0x4f33dc(0x3f4)](this['_compressMutationService'][_0x4f33dc(0x2ec)]['getInterceptPoints']()[_0x4f33dc(0x1b9)])(_0x2323b5['mutations'],null)||_0x2323b5[_0x4f33dc(0x40c)],_0x338b77={..._0x2323b5,'mutations':_0x5cb7f9};this[_0x4f33dc(0x2fc)](),this[_0x4f33dc(0x465)](this['_state'][_0x4f33dc(0x4d8)](_0x338b77)),this['_unlockTransition']();}[_0x2017aa(0x2f8)](_0x2692aa){var _0x1338a5=_0x2017aa;this[_0x1338a5(0x2fc)](),this['_updateState'](this[_0x1338a5(0x445)]['onRemoteAck'](_0x2692aa)),this['_unlockTransition']();}[_0x2017aa(0x1bb)](_0x3aa84){var _0x213baa=_0x2017aa;this[_0x213baa(0x2fc)](),this[_0x213baa(0x465)](this[_0x213baa(0x445)]['onRemoteRej'](_0x3aa84)),this[_0x213baa(0x488)]();}[_0x2017aa(0x459)](_0x3fd2f2){var _0x51df71=_0x2017aa;this[_0x51df71(0x2fc)](),this[_0x51df71(0x465)](this[_0x51df71(0x445)]['onRemoteRetry'](_0x3fd2f2)),this[_0x51df71(0x488)]();}['_onFetchMissResult'](_0x593bd7){var _0x3a1284=_0x2017aa;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x3a1284(0x247));const _0xb3987a=_0x593bd7['map'](_0x160dd5=>{var _0x3a2c2a=_0x3a1284;const _0x24f756=this[_0x3a2c2a(0x1c3)][_0x3a2c2a(0x2ec)][_0x3a2c2a(0x3f4)](this[_0x3a2c2a(0x1c3)]['interceptor'][_0x3a2c2a(0x241)]()[_0x3a2c2a(0x1b9)])(_0x160dd5[_0x3a2c2a(0x40c)],null)||_0x160dd5[_0x3a2c2a(0x40c)];return{..._0x160dd5,'mutations':_0x24f756};});this['_lockTransition'](),this[_0x3a1284(0x465)](this['_state']['onMissedChangesetFetched'](_0xb3987a)),this[_0x3a1284(0x488)]();}[_0x2017aa(0x435)](){var _0x55569d=_0x2017aa;this[_0x55569d(0x2fc)](),this[_0x55569d(0x465)](this[_0x55569d(0x445)][_0x55569d(0x262)]()),this[_0x55569d(0x488)]();}[_0x2017aa(0x277)](_0x27a4b9=!0x1){var _0x2267c1=_0x2017aa;this[_0x2267c1(0x2fc)](),this[_0x2267c1(0x465)](this['_state'][_0x2267c1(0x1cf)]()),this[_0x2267c1(0x488)]();const _0x4fba4b=this[_0x2267c1(0x445)];_0x27a4b9&&_0x4fba4b instanceof exports[_0x2267c1(0x506)]&&(this[_0x2267c1(0x2fc)](),this[_0x2267c1(0x465)](_0x4fba4b[_0x2267c1(0x441)]()),this['_unlockTransition']());}async[_0x2017aa(0x314)](){return new Promise(_0x55bd17=>{var _0x31f128=_0x30c8;this[_0x31f128(0x21f)][_0x31f128(0x286)]['pipe'](j[_0x31f128(0x1ff)](0x1))[_0x31f128(0x1d2)](async _0x3dbfef=>{_0x55bd17(await this['_createInitialStateImpl'](_0x3dbfef===se['ONLINE']));});});}[_0x2017aa(0x2a2)](){var _0xb2658d=_0x2017aa;const _0x3db3f8=this[_0xb2658d(0x388)];return{'onStateChange':(_0x165222,_0x4a5d64)=>{var _0x1e6132=_0xb2658d;if(_0x165222!==this[_0x1e6132(0x445)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x165222[_0x1e6132(0x238)]+'\x0aAfter:\x20'+_0x4a5d64[_0x1e6132(0x238)]+_0x1e6132(0x219)+this['_state'][_0x1e6132(0x238)]);this[_0x1e6132(0x465)](_0x4a5d64);},'onSendChangeset':_0x36f088=>{var _0x19e017=_0xb2658d;_0x36f088['sid']||(_0x36f088[_0x19e017(0x323)]=this['_changesetSessionId'],_0x36f088[_0x19e017(0x273)]=++this[_0x19e017(0x1c7)]);const _0x3e54b7={'eventID':g[_0x19e017(0x1fc)][_0x19e017(0x304)],'data':{'unitID':_0x36f088['unitID'],'unitType':this[_0x19e017(0x4db)],'changeset':_0x36f088,'memberID':this[_0x19e017(0x21f)]['getMemberID']()}};this[_0x19e017(0x21f)][_0x19e017(0x2d7)](_0x3e54b7,this['unitID']);},'onMissingChangesets':({from:_0x49e65c,to:_0x2a6e60})=>{var _0x2cb558=_0xb2658d;this[_0x2cb558(0x261)][_0x2cb558(0x4d7)](_0x2cb558(0x448),_0x2cb558(0x284)+_0x49e65c+_0x2cb558(0x3e1)+_0x2a6e60);const _0x98dd64={'eventID':g[_0x2cb558(0x1fc)][_0x2cb558(0x233)],'data':{'unitID':_0x3db3f8,'unitType':this[_0x2cb558(0x4db)],'from':_0x49e65c,'to':_0x2a6e60}};this['session'][_0x2cb558(0x2d7)](_0x98dd64,this[_0x2cb558(0x388)]);}};}async[_0x2017aa(0x38c)](_0x460640){var _0x9d9fb9=_0x2017aa,_0x1657a0,_0x2a7385,_0x5154de;const _0x9ec2e7=await((_0x1657a0=this['_localCacheService'])==null?void 0x0:_0x1657a0[_0x9d9fb9(0x49b)](this[_0x9d9fb9(0x388)])),_0x55ccc0=(_0x2a7385=_0x9ec2e7==null?void 0x0:_0x9ec2e7['mutations'])!=null?_0x2a7385:[],_0x574327=(_0x5154de=_0x9ec2e7==null?void 0x0:_0x9ec2e7[_0x9d9fb9(0x3ff)])!=null?_0x5154de:null,_0x5df96f=!!(_0x574327!=null&&_0x574327[_0x9d9fb9(0x323)])&&!!(_0x574327!=null&&_0x574327['reqId']);this[_0x9d9fb9(0x28f)]=_0x5df96f?_0x574327[_0x9d9fb9(0x323)]:di(),this[_0x9d9fb9(0x1c7)]=_0x5df96f?_0x574327[_0x9d9fb9(0x273)]:0x0;const _0x13bf84=this[_0x9d9fb9(0x388)];try{this[_0x9d9fb9(0x47b)](_0x574327,_0x55ccc0);}catch(_0x12e016){this[_0x9d9fb9(0x261)][_0x9d9fb9(0x227)](_0x12e016);}const _0x251f30=this[_0x9d9fb9(0x2a2)]();if(_0x460640){const _0x549d80=Dt(this[_0x9d9fb9(0x32e)],_0x13bf84,this[_0x9d9fb9(0x4db)],_0x574327,_0x55ccc0,_0x251f30);return _0x549d80 instanceof exports[_0x9d9fb9(0x461)]?_0x549d80[_0x9d9fb9(0x28a)]():(_0x549d80 instanceof exports[_0x9d9fb9(0x224)]||_0x549d80 instanceof exports[_0x9d9fb9(0x3f5)])&&_0x549d80[_0x9d9fb9(0x3ed)](),_0x549d80;}return this['_injector'][_0x9d9fb9(0x216)](exports[_0x9d9fb9(0x26d)],_0x13bf84,this[_0x9d9fb9(0x4db)],_0x574327,_0x55ccc0,_0x251f30);}['_replayCachedMutations'](_0x5e9d42,_0x216658){var _0x56f428=_0x2017aa,_0x4e9178,_0x4aa454;const _0x4590f5=this[_0x56f428(0x1c3)][_0x56f428(0x2ec)][_0x56f428(0x3f4)](this[_0x56f428(0x1c3)][_0x56f428(0x2ec)][_0x56f428(0x241)]()['COMPRESS_MUTATION_APPLY']);(_0x4e9178=_0x4590f5((_0x5e9d42==null?void 0x0:_0x5e9d42['mutations'])||[],null))==null||_0x4e9178[_0x56f428(0x32f)](_0x3813ba=>this[_0x56f428(0x487)]['executeCommand'](_0x3813ba['id'],_0x3813ba[_0x56f428(0x2c9)])),(_0x4aa454=_0x4590f5(_0x216658||[],null))==null||_0x4aa454['forEach'](_0x4b1d15=>this[_0x56f428(0x487)][_0x56f428(0x3af)](_0x4b1d15['id'],_0x4b1d15[_0x56f428(0x2c9)]));}},exports['CollaborationEntity']=We([$(0x3,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),$(0x4,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x3d9)])),$(0x5,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x4a8)])),$(0x6,a['Inject'](g[_0x2017aa(0x492)])),$(0x7,a[_0x2017aa(0x4fc)](te)),$(0x8,a[_0x2017aa(0x3bd)]),$(0x9,a[_0x2017aa(0x479)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x2017aa(0x3cc)](ve)),$(0xc,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x471)]),exports[_0x2017aa(0x41c)]=class extends exports['CollaborationEntity']{constructor(_0x5d020a,_0x3e066a,_0x2978d6,_0x77a14f,_0x21822b,_0x318a33,_0x2c773e,_0x37e1af,_0x5cdc52,_0x34fdd6,_0x2738d5,_0x443567,_0x258cfc){var _0x440812=_0x2017aa;super(_0x5d020a,_0x2978d6,_0x3e066a,_0x77a14f,_0x21822b,_0x318a33,_0x2c773e,_0x37e1af,_0x5cdc52,_0x34fdd6,_0x2738d5,_0x443567,_0x258cfc),A(this,'_handlerCallback',null),(this[_0x440812(0x388)]=_0x5d020a,this[_0x440812(0x2f5)]=_0x3e066a);}[_0x2017aa(0x458)](_0x5e76aa){var _0x5482c9=_0x2017aa;this[_0x5482c9(0x51c)]=_0x5e76aa;}['dispose'](){var _0x27c04e=_0x2017aa;this[_0x27c04e(0x51c)]=null,super[_0x27c04e(0x25b)]();}[_0x2017aa(0x2a2)](){var _0x3a100c=_0x2017aa;const _0x45e4e8=super['_createHandler']();return _0x45e4e8[_0x3a100c(0x266)]=_0x4afcdf=>{var _0x1726e3=_0x3a100c,_0x4f6432,_0x44f0d3;return(_0x44f0d3=(_0x4f6432=this['_handlerCallback'])==null?void 0x0:_0x4f6432[_0x1726e3(0x266)])==null?void 0x0:_0x44f0d3[_0x1726e3(0x1d8)](_0x4f6432,_0x4afcdf);},_0x45e4e8[_0x3a100c(0x222)]=_0x284f56=>{var _0x18bb56=_0x3a100c,_0x183bb2,_0x2ae5fc;return(_0x2ae5fc=(_0x183bb2=this[_0x18bb56(0x51c)])==null?void 0x0:_0x183bb2[_0x18bb56(0x222)])==null?void 0x0:_0x2ae5fc[_0x18bb56(0x1d8)](_0x183bb2,_0x284f56);},_0x45e4e8['onTransformSelections']=_0xbc00e2=>{var _0x34a388=_0x3a100c,_0x2292ee,_0x5c9b3d;return(_0x5c9b3d=(_0x2292ee=this['_handlerCallback'])==null?void 0x0:_0x2292ee[_0x34a388(0x1d4)])==null?void 0x0:_0x5c9b3d[_0x34a388(0x1d8)](_0x2292ee,_0xbc00e2);},_0x45e4e8[_0x3a100c(0x26a)]=_0x4ee183=>{var _0x14d057=_0x3a100c,_0x44f9ca,_0x30f066;return(_0x30f066=(_0x44f9ca=this[_0x14d057(0x51c)])==null?void 0x0:_0x44f9ca[_0x14d057(0x26a)])==null?void 0x0:_0x30f066[_0x14d057(0x1d8)](_0x44f9ca,_0x4ee183);},_0x45e4e8['onTransformRemoteChangesetByIMECache']=_0x59f50a=>{var _0x196b7a=_0x3a100c,_0x53583f,_0x41d817,_0x417aac;if(!((_0x53583f=this[_0x196b7a(0x51c)])!=null&&_0x53583f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x196b7a(0x366));return(_0x417aac=(_0x41d817=this['_handlerCallback'])==null?void 0x0:_0x41d817[_0x196b7a(0x3b6)])==null?void 0x0:_0x417aac[_0x196b7a(0x1d8)](_0x41d817,_0x59f50a);},_0x45e4e8[_0x3a100c(0x324)]=_0x24ee6e=>{var _0x1048e1=_0x3a100c,_0x14cdf6,_0x541c12,_0x2c359b;if(!((_0x14cdf6=this['_handlerCallback'])!=null&&_0x14cdf6[_0x1048e1(0x324)]))throw new Error(_0x1048e1(0x490));return(_0x2c359b=(_0x541c12=this[_0x1048e1(0x51c)])==null?void 0x0:_0x541c12[_0x1048e1(0x324)])==null?void 0x0:_0x2c359b[_0x1048e1(0x1d8)](_0x541c12,_0x24ee6e);},_0x45e4e8;}async[_0x2017aa(0x21b)](){var _0x17fde2=_0x2017aa;const _0x1dab5b=await super[_0x17fde2(0x21b)]();return this['disposeWithMe'](this[_0x17fde2(0x487)][_0x17fde2(0x2cf)]((_0x5cc441,_0x55cc3a)=>{var _0x50a6bd=_0x17fde2;if(_0x5cc441['type']!==a[_0x50a6bd(0x429)][_0x50a6bd(0x1a7)]||_0x55cc3a!=null&&_0x55cc3a[_0x50a6bd(0x44f)]||_0x55cc3a!=null&&_0x55cc3a[_0x50a6bd(0x3c9)]||_0x5cc441['id']===ut[_0x50a6bd(0x3c8)]['id'])return;const _0x647f85=_0x5cc441['params'];if((_0x647f85==null?void 0x0:_0x647f85['unitId'])!==this[_0x50a6bd(0x388)])return;const _0x5a86a5=_0x5cc441,_0x2ea709=this['_compressMutationService']['interceptor'][_0x50a6bd(0x3f4)](this[_0x50a6bd(0x1c3)][_0x50a6bd(0x2ec)][_0x50a6bd(0x241)]()[_0x50a6bd(0x2e4)])([_0x5a86a5],null)||[_0x5a86a5];this['_onLocalMutation'](_0x2ea709[0x0]);})),_0x1dab5b;}},exports['DocCollaborationEntity']=We([$(0x3,a['Inject'](a[_0x2017aa(0x2ca)])),$(0x4,a['Inject'](g[_0x2017aa(0x3d9)])),$(0x5,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x4a8)])),$(0x6,a[_0x2017aa(0x4fc)](g['RevisionService'])),$(0x7,a[_0x2017aa(0x4fc)](te)),$(0x8,a[_0x2017aa(0x3bd)]),$(0x9,a[_0x2017aa(0x479)]),$(0xa,a[_0x2017aa(0x318)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x2017aa(0x3cc)](z))],exports[_0x2017aa(0x41c)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x455d80,_0x5a38e5,_0x218d17,_0x256bca,_0x101d06,_0x3172d9,_0x5b5532,_0x2aa595,_0x184d5f,_0x42e71e,_0x190b6a,_0x1e81bb,_0x27db8f,_0x1d7ba0){var _0x4e745d=_0x2017aa;super(_0x455d80,_0x218d17,_0x5a38e5,_0x256bca,_0x101d06,_0x3172d9,_0x5b5532,_0x184d5f,_0x42e71e,_0x190b6a,_0x1e81bb,_0x27db8f,_0x1d7ba0),this[_0x4e745d(0x388)]=_0x455d80,this[_0x4e745d(0x2f5)]=_0x5a38e5,this['_sheetTransformSelectionsService']=_0x2aa595;}['_createHandler'](){var _0x2c527a=_0x2017aa;const _0xd36b6a=super['_createHandler']();return _0xd36b6a['onTransformSelections']=_0x13bdd7=>this[_0x2c527a(0x392)]['transformSelections'](_0x13bdd7),_0xd36b6a;}async[_0x2017aa(0x21b)](){var _0x3c2683=_0x2017aa;const _0x2925da=await super[_0x3c2683(0x21b)]();return this[_0x3c2683(0x1e2)](this[_0x3c2683(0x487)][_0x3c2683(0x2cf)]((_0x11a524,_0x24d0a6)=>{var _0x1f9df3=_0x3c2683;if(_0x11a524[_0x1f9df3(0x2f5)]!==a[_0x1f9df3(0x429)][_0x1f9df3(0x1a7)]||_0x24d0a6!=null&&_0x24d0a6['fromCollab']||_0x24d0a6!=null&&_0x24d0a6['onlyLocal'])return;const _0x59e17c=_0x11a524['params'];if((_0x59e17c==null?void 0x0:_0x59e17c[_0x1f9df3(0x3e3)])!==this[_0x1f9df3(0x388)])return;const _0x2d8880=_0x11a524,_0x586cf8=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x1f9df3(0x1c3)]['interceptor'][_0x1f9df3(0x241)]()['COMPRESS_MUTATION_SEND'])([_0x2d8880],null)||[_0x2d8880];this[_0x1f9df3(0x231)](_0x586cf8[0x0]);})),_0x2925da;}},exports[_0x2017aa(0x3fd)]=We([$(0x3,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),$(0x4,a['Inject'](g[_0x2017aa(0x3d9)])),$(0x5,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x4a8)])),$(0x6,a[_0x2017aa(0x4fc)](g['RevisionService'])),$(0x7,a[_0x2017aa(0x4fc)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x2017aa(0x4fc)](te)),$(0x9,a[_0x2017aa(0x3bd)]),$(0xa,a[_0x2017aa(0x479)]),$(0xb,a[_0x2017aa(0x318)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x2017aa(0x3cc)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x2017aa(0x36a)],bi=(_0x83ad72,_0x21db6f,_0x1673a9,_0x1d4634)=>{var _0x1fd2ef=_0x2017aa;for(var _0x4a8dc5=_0x1d4634>0x1?void 0x0:_0x1d4634?Ti(_0x21db6f,_0x1673a9):_0x21db6f,_0x1a9e2f=_0x83ad72[_0x1fd2ef(0x42c)]-0x1,_0x3598ec;_0x1a9e2f>=0x0;_0x1a9e2f--)(_0x3598ec=_0x83ad72[_0x1a9e2f])&&(_0x4a8dc5=_0x3598ec(_0x4a8dc5)||_0x4a8dc5);return _0x4a8dc5;},Pe=(_0x385e88,_0x25abab)=>(_0x3a74d0,_0x4efecf)=>_0x25abab(_0x3a74d0,_0x4efecf,_0x385e88);exports[_0x2017aa(0x472)]=class extends a[_0x2017aa(0x34a)]{constructor(_0x3ebc49,_0x4eeb01,_0x42729e){var _0x3dc994=_0x2017aa;super(),A(this,_0x3dc994(0x2ed),new Map()),A(this,'_entityInit$',new j[(_0x3dc994(0x2b6))]()),A(this,_0x3dc994(0x335),this[_0x3dc994(0x28e)]['asObservable']()),(this[_0x3dc994(0x32e)]=_0x3ebc49,this[_0x3dc994(0x505)]=_0x4eeb01,this[_0x3dc994(0x3ec)]=_0x42729e,this[_0x3dc994(0x21b)]());}['dispose'](){var _0x71c7f7=_0x2017aa;super['dispose'](),this[_0x71c7f7(0x2ed)][_0x71c7f7(0x32f)](_0x2b48df=>_0x2b48df[_0x71c7f7(0x25b)]()),this[_0x71c7f7(0x2ed)]['clear']();}[_0x2017aa(0x460)](_0x1a1f2a){var _0x5dfdd2;return(_0x5dfdd2=this['_entities']['get'](_0x1a1f2a))!=null?_0x5dfdd2:null;}[_0x2017aa(0x399)](_0x174d16){var _0x378031=_0x2017aa;const _0x55a049=this['getCollabEntity'](_0x174d16);return _0x55a049?j['of'](_0x55a049):this[_0x378031(0x28e)]['pipe'](V[_0x378031(0x2f9)](_0x415e86=>_0x415e86[_0x378031(0x388)]===_0x174d16));}['readyForCollab'](_0x357510){var _0x12a451=_0x2017aa;return j[_0x12a451(0x51d)](this[_0x12a451(0x399)](_0x357510)[_0x12a451(0x2a5)](V[_0x12a451(0x350)](()=>{})));}[_0x2017aa(0x21b)](){var _0x60539=_0x2017aa;this[_0x60539(0x3ec)][_0x60539(0x4b4)](a[_0x60539(0x39e)][_0x60539(0x38f)])[_0x60539(0x2a5)](j[_0x60539(0x2f4)](this[_0x60539(0x3d4)]),V[_0x60539(0x31e)](0x10))[_0x60539(0x1d2)](async _0x528f64=>{var _0x513321=_0x60539;const _0x594ced=_0x528f64[_0x513321(0x482)](),_0x34b5fc=await this['_startCollaboration'](_0x594ced,X[_0x513321(0x38f)]);this[_0x513321(0x2ed)][_0x513321(0x342)](_0x594ced,_0x34b5fc);}),this[_0x60539(0x3ec)][_0x60539(0x4b4)](a[_0x60539(0x39e)][_0x60539(0x1d3)])[_0x60539(0x2a5)](j[_0x60539(0x2f4)](this[_0x60539(0x3d4)]),V[_0x60539(0x31e)](0x10))[_0x60539(0x2a5)](V[_0x60539(0x2f9)](_0x5a4424=>!_0x5a4424['getUnitId']()[_0x60539(0x404)]('__')))[_0x60539(0x1d2)](async _0x80b768=>{var _0x2d40d9=_0x60539;const _0xdd046a=_0x80b768['getUnitId'](),_0x55234f=await this[_0x2d40d9(0x3eb)](_0xdd046a,X[_0x2d40d9(0x1d3)]);this['_entities'][_0x2d40d9(0x342)](_0xdd046a,_0x55234f);}),j[_0x60539(0x305)](this[_0x60539(0x3ec)][_0x60539(0x270)](a['UniverInstanceType'][_0x60539(0x38f)]),this[_0x60539(0x3ec)][_0x60539(0x270)](a[_0x60539(0x39e)][_0x60539(0x1d3)]))[_0x60539(0x2a5)](j[_0x60539(0x2f4)](this[_0x60539(0x3d4)]))[_0x60539(0x1d2)](_0x4e856d=>{var _0x15d1a6=_0x60539;const _0x1e0bf4=_0x4e856d[_0x15d1a6(0x482)](),_0x4ccca3=this['_entities']['get'](_0x1e0bf4);_0x4ccca3&&(_0x4ccca3['dispose'](),this[_0x15d1a6(0x2ed)][_0x15d1a6(0x422)](_0x1e0bf4));});}async['_startCollaboration'](_0x3981f8,_0x27c627){var _0x298f71=_0x2017aa;const _0x22b11a=await this['_collabSessionService']['requireSession'](_0x3981f8),_0x586acb=this[_0x298f71(0x32e)][_0x298f71(0x216)](this['_getCtorByUniverType'](_0x27c627),_0x3981f8,_0x27c627,_0x22b11a);return await _0x586acb[_0x298f71(0x1c4)](),this[_0x298f71(0x28e)][_0x298f71(0x498)](_0x586acb),_0x586acb;}[_0x2017aa(0x440)](_0x5a01cd){var _0x120191=_0x2017aa;switch(_0x5a01cd){case X[_0x120191(0x1d3)]:return exports[_0x120191(0x41c)];case X['UNIVER_SHEET']:return exports[_0x120191(0x3fd)];default:throw new Error(_0x120191(0x3e6)+_0x5a01cd);}}},exports[_0x2017aa(0x472)]=bi([Pe(0x0,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),Pe(0x1,a['Inject'](exports[_0x2017aa(0x38a)])),Pe(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var Ri=Object[_0x2017aa(0x36a)],Oi=(_0x41f0ee,_0x35b1c9,_0x3c7f3f,_0x5e4ac7)=>{for(var _0x2ef146=_0x5e4ac7>0x1?void 0x0:_0x5e4ac7?Ri(_0x35b1c9,_0x3c7f3f):_0x35b1c9,_0x581d67=_0x41f0ee['length']-0x1,_0x31db47;_0x581d67>=0x0;_0x581d67--)(_0x31db47=_0x41f0ee[_0x581d67])&&(_0x2ef146=_0x31db47(_0x2ef146)||_0x2ef146);return _0x2ef146;},Je=(_0x30d51e,_0x48f38b)=>(_0x77d963,_0x5d1c36)=>_0x48f38b(_0x77d963,_0x5d1c36,_0x30d51e);const yi=_0x2017aa(0x4d0),Ni='Univer';let He=class extends a[_0x2017aa(0x4b9)]{constructor(_0x475a82,_0x1d8bca){var _0x461c6a=_0x2017aa;super(),this[_0x461c6a(0x3ec)]=_0x475a82,this[_0x461c6a(0x278)]=_0x1d8bca,this[_0x461c6a(0x21b)]();}['_init'](){var _0x3bbf06=_0x2017aa;this[_0x3bbf06(0x1e2)](this['_univerInstanceService'][_0x3bbf06(0x36c)]['subscribe'](()=>{var _0x5c63f1=_0x3bbf06,_0x5369c4;const _0x1f63d4=this[_0x5c63f1(0x3ec)][_0x5c63f1(0x3c0)]();let _0x40f6b5=(_0x5369c4=this[_0x5c63f1(0x278)][_0x5c63f1(0x43e)](yi))!=null?_0x5369c4:Ni;_0x1f63d4 instanceof a[_0x5c63f1(0x2c4)]&&(_0x40f6b5=_0x1f63d4[_0x5c63f1(0x43c)]),document[_0x5c63f1(0x4e8)]=_0x40f6b5;}));}};He=Oi([Je(0x0,a[_0x2017aa(0x317)]),Je(0x1,a[_0x2017aa(0x20f)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x46529a,_0x448a10,_0x1c8a51,_0x50ba55)=>{var _0x59b3cf=_0x2017aa;for(var _0x5f46b6=_0x50ba55>0x1?void 0x0:_0x50ba55?Di(_0x448a10,_0x1c8a51):_0x448a10,_0x1e87af=_0x46529a[_0x59b3cf(0x42c)]-0x1,_0x5cefbc;_0x1e87af>=0x0;_0x1e87af--)(_0x5cefbc=_0x46529a[_0x1e87af])&&(_0x5f46b6=_0x5cefbc(_0x5f46b6)||_0x5f46b6);return _0x5f46b6;},we=(_0x9b97f5,_0x2ada5e)=>(_0x454250,_0x197874)=>_0x2ada5e(_0x454250,_0x197874,_0x9b97f5);let ye=class{constructor(_0x5d1a6b,_0x248a12,_0x540426){var _0x134741=_0x2017aa;this[_0x134741(0x278)]=_0x5d1a6b,this[_0x134741(0x329)]=_0x248a12,this[_0x134741(0x20e)]=_0x540426,this[_0x134741(0x1c4)]();}[_0x2017aa(0x1c4)](){var _0x1e0404=_0x2017aa;this['_httpService'][_0x1e0404(0x1a3)]({'priority':0x1,'interceptor':(_0x214344,_0x49f983)=>_0x49f983(_0x214344)[_0x1e0404(0x2a5)](j[_0x1e0404(0x396)](async _0x45fbf1=>{var _0x416502=_0x1e0404;const _0x59e32c=_0x45fbf1;if(_0x59e32c[_0x416502(0x238)]===0x191){if(typeof window>'u')throw new Error(_0x416502(0x406));if(window[_0x416502(0x499)](this[_0x416502(0x20e)]['t'](_0x416502(0x4bb)))){const _0xe24bc4=window[_0x416502(0x373)](window[_0x416502(0x221)]['href']);window[_0x416502(0x221)][_0x416502(0x1d6)]=this[_0x416502(0x268)]()+'?url='+_0xe24bc4;}}return _0x59e32c;}))});}[_0x2017aa(0x268)](){var _0x278545=_0x2017aa,_0x168152,_0x260678;const _0x397520=this[_0x278545(0x278)]['getConfig'](Et),_0x44dae3=this[_0x278545(0x278)][_0x278545(0x43e)](Y);return(_0x260678=(_0x168152=_0x44dae3==null?void 0x0:_0x44dae3['loginUrlKey'])!=null?_0x168152:_0x397520)!=null?_0x260678:Yt;}};ye=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x2017aa(0x4fc)](q['HTTPService'])),we(0x2,a[_0x2017aa(0x4fc)](a['LocaleService']))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x41570c,_0xcb4f6e,_0x4cdc64,_0x37e702)=>{var _0x10f10a=_0x2017aa;for(var _0x801d22=_0x37e702>0x1?void 0x0:_0x37e702?Ai(_0xcb4f6e,_0x4cdc64):_0xcb4f6e,_0x31e670=_0x41570c[_0x10f10a(0x42c)]-0x1,_0x55deb4;_0x31e670>=0x0;_0x31e670--)(_0x55deb4=_0x41570c[_0x31e670])&&(_0x801d22=_0x55deb4(_0x801d22)||_0x801d22);return _0x801d22;},Xe=(_0x56cd2f,_0x27e952)=>(_0x894989,_0x44e759)=>_0x27e952(_0x894989,_0x44e759,_0x56cd2f);const Ge=_0x2017aa(0x4a4),wi='/universer-api/authz';exports[_0x2017aa(0x2fb)]=class extends a[_0x2017aa(0x4b9)]{constructor(_0x13182c,_0x1cd4bc){var _0x2db33b=_0x2017aa;super(),this['_HTTPService']=_0x13182c,this[_0x2db33b(0x278)]=_0x1cd4bc,this[_0x2db33b(0x20c)]();}[_0x2017aa(0x20c)](){var _0x49cd45=_0x2017aa;const _0x4e7fea=this;this[_0x49cd45(0x1e2)](this[_0x49cd45(0x51a)][_0x49cd45(0x1a3)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x3b28e4){var _0xbf45c2=_0x49cd45,_0x5a9411;if(_0x3b28e4[_0xbf45c2(0x27a)]===_0xbf45c2(0x452)&&((_0x5a9411=_0x3b28e4['requestParams'])!=null&&_0x5a9411[_0xbf45c2(0x3a2)])){const {objectID:_0xa36047,objectType:_0xf4d124}=_0x3b28e4[_0xbf45c2(0x48d)][_0xbf45c2(0x3a2)]||{};if(!_0xa36047||_0xf4d124===void 0x0)return!0x1;const _0x4ad880=_0x4e7fea[_0xbf45c2(0x2fd)]()+'/'+_0xf4d124+_0xbf45c2(0x348)+_0xa36047+_0xbf45c2(0x301);if(_0x3b28e4[_0xbf45c2(0x381)]===_0x4ad880)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x294d97){var _0x245b1d=_0x49cd45,_0x7757ba;return(_0x7757ba=_0x294d97[_0x245b1d(0x48d)])==null?void 0x0:_0x7757ba[_0x245b1d(0x3a2)];},'mergeParamsToRequest'(_0x663c06,_0xe0adcc){var _0x4b6ba7=_0x49cd45;const _0x5e7c4b=_0x4e7fea[_0x4b6ba7(0x2fd)]()+_0x4b6ba7(0x1e4),_0x4d0d1d=_0x663c06[_0x4b6ba7(0x478)]((_0x3b0f7b,_0x345f86)=>{var _0x3280e0=_0x4b6ba7;const {unitID:_0x42c47d,objectID:_0x4dfafa,objectType:_0x122e4a,actions:_0x33e15f}=_0x345f86;return _0x3b0f7b[_0x42c47d]||(_0x3b0f7b[_0x42c47d]={}),_0x3b0f7b[_0x42c47d][_0x4dfafa]||(_0x3b0f7b[_0x42c47d][_0x4dfafa]={'objectID':_0x4dfafa,'objectType':_0x122e4a,'actions':[]}),_0x3b0f7b[_0x42c47d][_0x4dfafa][_0x3280e0(0x403)][_0x3280e0(0x2e9)](..._0x33e15f),_0x3b0f7b;},{}),_0x1abde0=[];for(const _0x6e11fc in _0x4d0d1d)for(const _0x11c226 in _0x4d0d1d[_0x6e11fc]){const {actions:_0xc1ec9c,objectType:_0x5e64a6}=_0x4d0d1d[_0x6e11fc][_0x11c226],_0x311781=[...new Set(_0xc1ec9c)];_0x1abde0[_0x4b6ba7(0x2e9)]({'unitID':_0x6e11fc,'objectID':_0x11c226,'objectType':_0x5e64a6,'actions':_0x311781});}return new q[(_0x4b6ba7(0x33e))](_0x4b6ba7(0x452),_0x5e7c4b,{'headers':_0xe0adcc['headers'],'withCredentials':_0xe0adcc['withCredentials'],'responseType':_0xe0adcc[_0x4b6ba7(0x3bc)],'body':{'requests':_0x1abde0}});}},{'distributeResult'(_0x3f8cf5,_0x4a3fdf){var _0x64827f=_0x49cd45;const {objectActions:_0x75e26c}=_0x3f8cf5;return _0x4a3fdf[_0x64827f(0x350)](_0x339111=>{var _0x4cb2d7=_0x64827f;const {unitID:_0x4248fc,objectID:_0x5278aa,actions:_0x3d2853}=_0x339111,_0x20c68d=_0x75e26c[_0x4cb2d7(0x269)](_0x50b397=>_0x50b397[_0x4cb2d7(0x388)]===_0x4248fc&&_0x50b397[_0x4cb2d7(0x1a6)]===_0x5278aa),_0x261097=_0x3d2853[_0x4cb2d7(0x350)](_0x412622=>_0x20c68d==null?void 0x0:_0x20c68d[_0x4cb2d7(0x403)][_0x4cb2d7(0x269)](_0x33e688=>_0x33e688[_0x4cb2d7(0x423)]===_0x412622))[_0x4cb2d7(0x2f9)](_0x450e02=>!!_0x450e02);return{'config':_0x339111,'result':{'actions':_0x261097,'error':_0x3f8cf5[_0x4cb2d7(0x227)]}};});}})}));}[_0x2017aa(0x2fd)](){var _0x21f339=_0x2017aa,_0x5bf4da,_0x14d24b;const _0x2ade48=this[_0x21f339(0x278)][_0x21f339(0x43e)](Ge),_0x17d041=this[_0x21f339(0x278)]['getConfig'](Y);return(_0x14d24b=(_0x5bf4da=_0x17d041==null?void 0x0:_0x17d041[_0x21f339(0x367)])!=null?_0x5bf4da:_0x2ade48)!=null?_0x14d24b:wi;}async[_0x2017aa(0x4a2)](_0x7d616c){var _0x33d653=_0x2017aa;const _0x14a18a=this[_0x33d653(0x2fd)]()+'/'+_0x7d616c['objectType']+'/object';return(await this['_HTTPService']['post'](_0x14a18a,{'body':_0x7d616c}))[_0x33d653(0x3a2)]['objectID']||'';}async[_0x2017aa(0x509)](_0x2ee74f){var _0x27494e=_0x2017aa;const _0x204e7e=this[_0x27494e(0x2fd)]()+'/-/object/list';return(await this[_0x27494e(0x51a)][_0x27494e(0x3fa)](_0x204e7e,{'body':_0x2ee74f}))[_0x27494e(0x3a2)][_0x27494e(0x375)];}async[_0x2017aa(0x357)](_0x195e46){var _0x4f8143=_0x2017aa,_0x2de54e,_0x4d2b4b;const _0x12f9db=this['_getAPIPrefixPath']()+'/'+_0x195e46[_0x4f8143(0x1fb)]+'/object/'+_0x195e46[_0x4f8143(0x1a6)],_0x326103=await this['_HTTPService'][_0x4f8143(0x43d)](_0x12f9db,{'body':_0x195e46});if(((_0x4d2b4b=(_0x2de54e=_0x326103==null?void 0x0:_0x326103[_0x4f8143(0x3a2)])==null?void 0x0:_0x2de54e[_0x4f8143(0x227)])==null?void 0x0:_0x4d2b4b[_0x4f8143(0x4bd)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2017aa(0x434)](_0x36a3ed){var _0x1b3abb=_0x2017aa;const _0x503658=this[_0x1b3abb(0x2fd)]()+'/'+_0x36a3ed[_0x1b3abb(0x1fb)]+_0x1b3abb(0x348)+_0x36a3ed['objectID']+_0x1b3abb(0x301);return(await this[_0x1b3abb(0x51a)][_0x1b3abb(0x3fa)](_0x503658,{'body':_0x36a3ed}))['body']['actions'];}async['batchAllowed'](_0x3a7d9f){var _0x422782=_0x2017aa;const _0x45451c=this[_0x422782(0x2fd)]()+_0x422782(0x1e4);return(await this[_0x422782(0x51a)][_0x422782(0x3fa)](_0x45451c,{'body':{'requests':_0x3a7d9f}}))[_0x422782(0x3a2)][_0x422782(0x3c3)];}async[_0x2017aa(0x376)](_0xf93967){var _0x20344a=_0x2017aa;const _0x5b2ebb=this[_0x20344a(0x2fd)]()+'/'+_0xf93967[_0x20344a(0x1fb)]+_0x20344a(0x3c2),_0x25d05a=await this[_0x20344a(0x51a)][_0x20344a(0x3fa)](_0x5b2ebb,{'body':_0xf93967});return{'roles':_0x25d05a[_0x20344a(0x3a2)][_0x20344a(0x516)],'actions':_0x25d05a[_0x20344a(0x3a2)][_0x20344a(0x403)]};}async[_0x2017aa(0x385)](_0x149e8a){var _0x47104d=_0x2017aa;const _0x123ad1=this[_0x47104d(0x2fd)]()+_0x47104d(0x442);await this['_HTTPService'][_0x47104d(0x422)](_0x123ad1,{'params':{'collaboratorID':_0x149e8a[_0x47104d(0x4a3)],'objectID':_0x149e8a[_0x47104d(0x1a6)],'unitID':_0x149e8a[_0x47104d(0x388)]}});}async[_0x2017aa(0x1b1)](_0x4cd7b8){var _0x1a66f7=_0x2017aa;const _0x4a0ef8=this[_0x1a66f7(0x2fd)]()+'/collaborator';await this['_HTTPService'][_0x1a66f7(0x21c)](_0x4a0ef8,{'body':_0x4cd7b8});}async['createCollaborator'](_0x464c63){var _0x262f85=_0x2017aa;const _0x4f45bc=this[_0x262f85(0x2fd)]()+_0x262f85(0x442);await this[_0x262f85(0x51a)][_0x262f85(0x3fa)](_0x4f45bc,{'body':_0x464c63});}async[_0x2017aa(0x2a9)](_0x36d336){var _0x3862fd=_0x2017aa;const _0x58dc28=this[_0x3862fd(0x2fd)]()+_0x3862fd(0x442);return(await this[_0x3862fd(0x51a)][_0x3862fd(0x30a)](_0x58dc28,{'params':{'objectID':_0x36d336[_0x3862fd(0x1a6)],'unitID':_0x36d336[_0x3862fd(0x388)]}}))['body'][_0x3862fd(0x1df)];}async[_0x2017aa(0x315)](_0x10261f){var _0x417c93=_0x2017aa;const _0x3cdb17=this[_0x417c93(0x2fd)]()+'/collaborator';await this['_HTTPService'][_0x417c93(0x43d)](_0x3cdb17,{'body':_0x10261f});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)])),Xe(0x1,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x20f)]))],exports[_0x2017aa(0x2fb)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x3c6f9e){var _0x2c59b4=_0x2017aa;return _0x3c6f9e&&_0x3c6f9e[_0x2c59b4(0x1eb)]&&Object[_0x2c59b4(0x1e1)][_0x2c59b4(0x4f5)][_0x2c59b4(0x1d8)](_0x3c6f9e,_0x2c59b4(0x2e0))?_0x3c6f9e[_0x2c59b4(0x2e0)]:_0x3c6f9e;}var fe={'exports':{}};function Li(_0x518169){var _0x342830=_0x2017aa;throw new Error(_0x342830(0x310)+_0x518169+_0x342830(0x2b3));}var pe={'exports':{}},Mi=pe[_0x2017aa(0x3b1)],Ze;function ee(){var _0x1e5229=_0x2017aa;return Ze||(Ze=0x1,function(_0x2278a2,_0xbb87ac){(function(_0x6b1348,_0x1c4e54){var _0x289582=_0x30c8;_0x2278a2[_0x289582(0x3b1)]=_0x1c4e54();}(Mi,function(){var _0x4087c5=_0x4087c5||function(_0x2f15e6,_0x1bb395){var _0x3d5364=_0x30c8,_0x3a24de;if(typeof window<'u'&&window[_0x3d5364(0x4ac)]&&(_0x3a24de=window[_0x3d5364(0x4ac)]),typeof self<'u'&&self[_0x3d5364(0x4ac)]&&(_0x3a24de=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3d5364(0x4ac)]&&(_0x3a24de=globalThis[_0x3d5364(0x4ac)]),!_0x3a24de&&typeof window<'u'&&window[_0x3d5364(0x225)]&&(_0x3a24de=window[_0x3d5364(0x225)]),!_0x3a24de&&typeof Le<'u'&&Le['crypto']&&(_0x3a24de=Le[_0x3d5364(0x4ac)]),!_0x3a24de&&typeof Li==_0x3d5364(0x468))try{_0x3a24de=require(_0x3d5364(0x4ac));}catch{}var _0x138e13=function(){var _0x4772eb=_0x3d5364;if(_0x3a24de){if(typeof _0x3a24de[_0x4772eb(0x407)]=='function')try{return _0x3a24de['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3a24de[_0x4772eb(0x48e)]==_0x4772eb(0x468))try{return _0x3a24de[_0x4772eb(0x48e)](0x4)[_0x4772eb(0x26b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4e3b91=Object[_0x3d5364(0x4a2)]||(function(){function _0x2a9a34(){}return function(_0x242d30){var _0x5426bd=_0x30c8,_0x1e0850;return _0x2a9a34[_0x5426bd(0x1e1)]=_0x242d30,_0x1e0850=new _0x2a9a34(),_0x2a9a34[_0x5426bd(0x1e1)]=null,_0x1e0850;};}()),_0x33ae28={},_0x28091b=_0x33ae28[_0x3d5364(0x4da)]={},_0x510ab4=_0x28091b['Base']=(function(){return{'extend':function(_0x18666d){var _0x1af79a=_0x30c8,_0x40141f=_0x4e3b91(this);return _0x18666d&&_0x40141f[_0x1af79a(0x4cb)](_0x18666d),(!_0x40141f[_0x1af79a(0x4f5)](_0x1af79a(0x1c4))||this[_0x1af79a(0x1c4)]===_0x40141f[_0x1af79a(0x1c4)])&&(_0x40141f[_0x1af79a(0x1c4)]=function(){var _0x16aaa1=_0x1af79a;_0x40141f['$super'][_0x16aaa1(0x1c4)][_0x16aaa1(0x416)](this,arguments);}),_0x40141f[_0x1af79a(0x1c4)][_0x1af79a(0x1e1)]=_0x40141f,_0x40141f['$super']=this,_0x40141f;},'create':function(){var _0x299d46=_0x30c8,_0x45393e=this['extend']();return _0x45393e[_0x299d46(0x1c4)][_0x299d46(0x416)](_0x45393e,arguments),_0x45393e;},'init':function(){},'mixIn':function(_0x3f7a9f){var _0x25901d=_0x30c8;for(var _0x5de9a1 in _0x3f7a9f)_0x3f7a9f[_0x25901d(0x4f5)](_0x5de9a1)&&(this[_0x5de9a1]=_0x3f7a9f[_0x5de9a1]);_0x3f7a9f[_0x25901d(0x4f5)](_0x25901d(0x25e))&&(this[_0x25901d(0x25e)]=_0x3f7a9f[_0x25901d(0x25e)]);},'clone':function(){var _0xd4421d=_0x30c8;return this['init'][_0xd4421d(0x1e1)]['extend'](this);}};}()),_0x3b9fab=_0x28091b[_0x3d5364(0x4c9)]=_0x510ab4[_0x3d5364(0x30d)]({'init':function(_0x50bc7a,_0x1ad81a){var _0x29b7fb=_0x3d5364;_0x50bc7a=this['words']=_0x50bc7a||[],_0x1ad81a!=_0x1bb395?this['sigBytes']=_0x1ad81a:this['sigBytes']=_0x50bc7a[_0x29b7fb(0x42c)]*0x4;},'toString':function(_0x199739){var _0x19f6df=_0x3d5364;return(_0x199739||_0x536279)[_0x19f6df(0x3ac)](this);},'concat':function(_0x55087d){var _0x2bb6c8=_0x3d5364,_0x48c3ee=this[_0x2bb6c8(0x431)],_0x53bffc=_0x55087d[_0x2bb6c8(0x431)],_0x36f057=this[_0x2bb6c8(0x420)],_0x28765c=_0x55087d[_0x2bb6c8(0x420)];if(this['clamp'](),_0x36f057%0x4)for(var _0x4c32d5=0x0;_0x4c32d5<_0x28765c;_0x4c32d5++){var _0x13692d=_0x53bffc[_0x4c32d5>>>0x2]>>>0x18-_0x4c32d5%0x4*0x8&0xff;_0x48c3ee[_0x36f057+_0x4c32d5>>>0x2]|=_0x13692d<<0x18-(_0x36f057+_0x4c32d5)%0x4*0x8;}else{for(var _0x375b13=0x0;_0x375b13<_0x28765c;_0x375b13+=0x4)_0x48c3ee[_0x36f057+_0x375b13>>>0x2]=_0x53bffc[_0x375b13>>>0x2];}return this[_0x2bb6c8(0x420)]+=_0x28765c,this;},'clamp':function(){var _0x4e92b9=_0x3d5364,_0x373db4=this['words'],_0x534def=this[_0x4e92b9(0x420)];_0x373db4[_0x534def>>>0x2]&=0xffffffff<<0x20-_0x534def%0x4*0x8,_0x373db4[_0x4e92b9(0x42c)]=_0x2f15e6['ceil'](_0x534def/0x4);},'clone':function(){var _0x961604=_0x3d5364,_0x1a87f0=_0x510ab4[_0x961604(0x3df)][_0x961604(0x1d8)](this);return _0x1a87f0[_0x961604(0x431)]=this[_0x961604(0x431)][_0x961604(0x413)](0x0),_0x1a87f0;},'random':function(_0x3f9bde){var _0x4132eb=_0x3d5364;for(var _0x3c04ec=[],_0x4b3124=0x0;_0x4b3124<_0x3f9bde;_0x4b3124+=0x4)_0x3c04ec[_0x4132eb(0x2e9)](_0x138e13());return new _0x3b9fab[(_0x4132eb(0x1c4))](_0x3c04ec,_0x3f9bde);}}),_0x381439=_0x33ae28[_0x3d5364(0x325)]={},_0x536279=_0x381439['Hex']={'stringify':function(_0x276c27){var _0x4486ec=_0x3d5364;for(var _0x27a3cf=_0x276c27[_0x4486ec(0x431)],_0x4d9aef=_0x276c27[_0x4486ec(0x420)],_0x520740=[],_0x1bf642=0x0;_0x1bf642<_0x4d9aef;_0x1bf642++){var _0x3951de=_0x27a3cf[_0x1bf642>>>0x2]>>>0x18-_0x1bf642%0x4*0x8&0xff;_0x520740[_0x4486ec(0x2e9)]((_0x3951de>>>0x4)[_0x4486ec(0x25e)](0x10)),_0x520740['push']((_0x3951de&0xf)[_0x4486ec(0x25e)](0x10));}return _0x520740[_0x4486ec(0x3ae)]('');},'parse':function(_0x2679af){var _0x41eef4=_0x3d5364;for(var _0x50fefa=_0x2679af[_0x41eef4(0x42c)],_0x31d141=[],_0x266b91=0x0;_0x266b91<_0x50fefa;_0x266b91+=0x2)_0x31d141[_0x266b91>>>0x3]|=parseInt(_0x2679af[_0x41eef4(0x299)](_0x266b91,0x2),0x10)<<0x18-_0x266b91%0x8*0x4;return new _0x3b9fab[(_0x41eef4(0x1c4))](_0x31d141,_0x50fefa/0x2);}},_0x5a6473=_0x381439['Latin1']={'stringify':function(_0x29f4ef){var _0xf22a45=_0x3d5364;for(var _0x4e2d77=_0x29f4ef[_0xf22a45(0x431)],_0x1be452=_0x29f4ef[_0xf22a45(0x420)],_0x28ef61=[],_0x410eeb=0x0;_0x410eeb<_0x1be452;_0x410eeb++){var _0x2a9174=_0x4e2d77[_0x410eeb>>>0x2]>>>0x18-_0x410eeb%0x4*0x8&0xff;_0x28ef61[_0xf22a45(0x2e9)](String['fromCharCode'](_0x2a9174));}return _0x28ef61['join']('');},'parse':function(_0x545036){var _0x3c9b26=_0x3d5364;for(var _0x1a6113=_0x545036['length'],_0x593861=[],_0xd3c61e=0x0;_0xd3c61e<_0x1a6113;_0xd3c61e++)_0x593861[_0xd3c61e>>>0x2]|=(_0x545036[_0x3c9b26(0x507)](_0xd3c61e)&0xff)<<0x18-_0xd3c61e%0x4*0x8;return new _0x3b9fab[(_0x3c9b26(0x1c4))](_0x593861,_0x1a6113);}},_0x11aa3b=_0x381439[_0x3d5364(0x44b)]={'stringify':function(_0x978d6f){var _0x67c938=_0x3d5364;try{return decodeURIComponent(escape(_0x5a6473[_0x67c938(0x3ac)](_0x978d6f)));}catch{throw new Error(_0x67c938(0x240));}},'parse':function(_0xdd5b8){return _0x5a6473['parse'](unescape(encodeURIComponent(_0xdd5b8)));}},_0x308d41=_0x28091b[_0x3d5364(0x234)]=_0x510ab4['extend']({'reset':function(){var _0x44e230=_0x3d5364;this[_0x44e230(0x3cf)]=new _0x3b9fab[(_0x44e230(0x1c4))](),this[_0x44e230(0x2ea)]=0x0;},'_append':function(_0x55ca8d){var _0x3bec79=_0x3d5364;typeof _0x55ca8d==_0x3bec79(0x519)&&(_0x55ca8d=_0x11aa3b[_0x3bec79(0x243)](_0x55ca8d)),this[_0x3bec79(0x3cf)][_0x3bec79(0x3fe)](_0x55ca8d),this[_0x3bec79(0x2ea)]+=_0x55ca8d[_0x3bec79(0x420)];},'_process':function(_0x1dd239){var _0x27deb0=_0x3d5364,_0x1883a9,_0x3acbe9=this[_0x27deb0(0x3cf)],_0x585c90=_0x3acbe9[_0x27deb0(0x431)],_0x5cfed9=_0x3acbe9[_0x27deb0(0x420)],_0x232ec9=this[_0x27deb0(0x362)],_0x3c6121=_0x232ec9*0x4,_0x12f278=_0x5cfed9/_0x3c6121;_0x1dd239?_0x12f278=_0x2f15e6['ceil'](_0x12f278):_0x12f278=_0x2f15e6[_0x27deb0(0x30c)]((_0x12f278|0x0)-this[_0x27deb0(0x3c6)],0x0);var _0x3e5f9f=_0x12f278*_0x232ec9,_0xd048e5=_0x2f15e6[_0x27deb0(0x346)](_0x3e5f9f*0x4,_0x5cfed9);if(_0x3e5f9f){for(var _0x19c567=0x0;_0x19c567<_0x3e5f9f;_0x19c567+=_0x232ec9)this[_0x27deb0(0x37f)](_0x585c90,_0x19c567);_0x1883a9=_0x585c90[_0x27deb0(0x1b4)](0x0,_0x3e5f9f),_0x3acbe9[_0x27deb0(0x420)]-=_0xd048e5;}return new _0x3b9fab[(_0x27deb0(0x1c4))](_0x1883a9,_0xd048e5);},'clone':function(){var _0x5c6aa9=_0x3d5364,_0x3f0344=_0x510ab4['clone']['call'](this);return _0x3f0344['_data']=this[_0x5c6aa9(0x3cf)]['clone'](),_0x3f0344;},'_minBufferSize':0x0});_0x28091b[_0x3d5364(0x3f7)]=_0x308d41[_0x3d5364(0x30d)]({'cfg':_0x510ab4[_0x3d5364(0x30d)](),'init':function(_0x5afa37){var _0xff53ba=_0x3d5364;this[_0xff53ba(0x1ea)]=this['cfg'][_0xff53ba(0x30d)](_0x5afa37),this[_0xff53ba(0x513)]();},'reset':function(){var _0x5ef32b=_0x3d5364;_0x308d41[_0x5ef32b(0x513)][_0x5ef32b(0x1d8)](this),this[_0x5ef32b(0x297)]();},'update':function(_0x513f57){var _0x560b73=_0x3d5364;return this[_0x560b73(0x212)](_0x513f57),this[_0x560b73(0x4b5)](),this;},'finalize':function(_0x27e063){var _0x47bffb=_0x3d5364;_0x27e063&&this[_0x47bffb(0x212)](_0x27e063);var _0x4f8f7a=this[_0x47bffb(0x3d3)]();return _0x4f8f7a;},'blockSize':0x10,'_createHelper':function(_0x18d5da){return function(_0xbfc9e,_0x5512d1){var _0x25b023=_0x30c8;return new _0x18d5da[(_0x25b023(0x1c4))](_0x5512d1)[_0x25b023(0x31c)](_0xbfc9e);};},'_createHmacHelper':function(_0x4cbda7){return function(_0x4dfe6e,_0x37f867){var _0x2649b2=_0x30c8;return new _0x2ca72c[(_0x2649b2(0x285))]['init'](_0x4cbda7,_0x37f867)[_0x2649b2(0x31c)](_0x4dfe6e);};}});var _0x2ca72c=_0x33ae28[_0x3d5364(0x4af)]={};return _0x33ae28;}(Math);return _0x4087c5;}));}(pe)),pe[_0x1e5229(0x3b1)];}var ge={'exports':{}},xi=ge[_0x2017aa(0x3b1)],Qe;function Ut(){var _0x3201f6=_0x2017aa;return Qe||(Qe=0x1,function(_0x1bf450,_0x468468){(function(_0x58476c,_0x3348d5){_0x1bf450['exports']=_0x3348d5(ee());}(xi,function(_0x5b0ad1){var _0x56701c=_0x30c8;return(function(){var _0x58140f=_0x30c8,_0x3adb0e=_0x5b0ad1,_0x5afefa=_0x3adb0e[_0x58140f(0x4da)],_0xc7df9c=_0x5afefa[_0x58140f(0x4c9)],_0x48ea07=_0x3adb0e[_0x58140f(0x325)];_0x48ea07[_0x58140f(0x263)]={'stringify':function(_0x30e30a){var _0x44d752=_0x58140f,_0x1b2ced=_0x30e30a[_0x44d752(0x431)],_0x2bf79b=_0x30e30a[_0x44d752(0x420)],_0x59c77f=this[_0x44d752(0x394)];_0x30e30a[_0x44d752(0x33d)]();for(var _0x47050b=[],_0x3016f8=0x0;_0x3016f8<_0x2bf79b;_0x3016f8+=0x3)for(var _0x53bc85=_0x1b2ced[_0x3016f8>>>0x2]>>>0x18-_0x3016f8%0x4*0x8&0xff,_0x1b9d79=_0x1b2ced[_0x3016f8+0x1>>>0x2]>>>0x18-(_0x3016f8+0x1)%0x4*0x8&0xff,_0x331118=_0x1b2ced[_0x3016f8+0x2>>>0x2]>>>0x18-(_0x3016f8+0x2)%0x4*0x8&0xff,_0x1027f3=_0x53bc85<<0x10|_0x1b9d79<<0x8|_0x331118,_0x677a8a=0x0;_0x677a8a<0x4&&_0x3016f8+_0x677a8a*0.75<_0x2bf79b;_0x677a8a++)_0x47050b[_0x44d752(0x2e9)](_0x59c77f[_0x44d752(0x421)](_0x1027f3>>>0x6*(0x3-_0x677a8a)&0x3f));var _0x56d20b=_0x59c77f['charAt'](0x40);if(_0x56d20b){for(;_0x47050b['length']%0x4;)_0x47050b[_0x44d752(0x2e9)](_0x56d20b);}return _0x47050b[_0x44d752(0x3ae)]('');},'parse':function(_0x5b8442){var _0x51cf91=_0x58140f,_0x149dcc=_0x5b8442[_0x51cf91(0x42c)],_0x577559=this['_map'],_0x51e9e6=this['_reverseMap'];if(!_0x51e9e6){_0x51e9e6=this[_0x51cf91(0x485)]=[];for(var _0x4512e8=0x0;_0x4512e8<_0x577559[_0x51cf91(0x42c)];_0x4512e8++)_0x51e9e6[_0x577559[_0x51cf91(0x507)](_0x4512e8)]=_0x4512e8;}var _0x858aa4=_0x577559['charAt'](0x40);if(_0x858aa4){var _0x1a48ac=_0x5b8442['indexOf'](_0x858aa4);_0x1a48ac!==-0x1&&(_0x149dcc=_0x1a48ac);}return _0x32867e(_0x5b8442,_0x149dcc,_0x51e9e6);},'_map':_0x58140f(0x371)};function _0x32867e(_0x29772e,_0x298eba,_0x1327be){var _0x31f23d=_0x58140f;for(var _0x253fd2=[],_0x33dc5f=0x0,_0x20771c=0x0;_0x20771c<_0x298eba;_0x20771c++)if(_0x20771c%0x4){var _0x12c13a=_0x1327be[_0x29772e[_0x31f23d(0x507)](_0x20771c-0x1)]<<_0x20771c%0x4*0x2,_0x19701a=_0x1327be[_0x29772e[_0x31f23d(0x507)](_0x20771c)]>>>0x6-_0x20771c%0x4*0x2,_0x5459b2=_0x12c13a|_0x19701a;_0x253fd2[_0x33dc5f>>>0x2]|=_0x5459b2<<0x18-_0x33dc5f%0x4*0x8,_0x33dc5f++;}return _0xc7df9c[_0x31f23d(0x4a2)](_0x253fd2,_0x33dc5f);}}()),_0x5b0ad1[_0x56701c(0x325)][_0x56701c(0x263)];}));}(ge)),ge[_0x3201f6(0x3b1)];}var Ie={'exports':{}},ki=Ie[_0x2017aa(0x3b1)],et;function Hi(){var _0x5c6d53=_0x2017aa;return et||(et=0x1,function(_0x2e2140,_0x1d3e6b){(function(_0x44fe8c,_0x1d0375){var _0x38f5cd=_0x30c8;_0x2e2140[_0x38f5cd(0x3b1)]=_0x1d0375(ee());}(ki,function(_0x50418a){var _0x5be48b=_0x30c8;return function(_0xee3c66){var _0x5956dc=_0x30c8,_0x9385f5=_0x50418a,_0x4d22eb=_0x9385f5[_0x5956dc(0x4da)],_0x1d9422=_0x4d22eb[_0x5956dc(0x4c9)],_0x2269ba=_0x4d22eb[_0x5956dc(0x3f7)],_0x4bea7c=_0x9385f5[_0x5956dc(0x4af)],_0x3e2846=[];(function(){var _0x1b66ec=_0x5956dc;for(var _0xbc298a=0x0;_0xbc298a<0x40;_0xbc298a++)_0x3e2846[_0xbc298a]=_0xee3c66['abs'](_0xee3c66[_0x1b66ec(0x2d0)](_0xbc298a+0x1))*0x100000000|0x0;}());var _0xd419e3=_0x4bea7c['MD5']=_0x2269ba[_0x5956dc(0x30d)]({'_doReset':function(){this['_hash']=new _0x1d9422['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa0c32,_0x4976ab){var _0x1562b3=_0x5956dc;for(var _0x184723=0x0;_0x184723<0x10;_0x184723++){var _0x53cff0=_0x4976ab+_0x184723,_0x1b6870=_0xa0c32[_0x53cff0];_0xa0c32[_0x53cff0]=(_0x1b6870<<0x8|_0x1b6870>>>0x18)&0xff00ff|(_0x1b6870<<0x18|_0x1b6870>>>0x8)&0xff00ff00;}var _0x2272ed=this[_0x1562b3(0x330)][_0x1562b3(0x431)],_0x586c0c=_0xa0c32[_0x4976ab+0x0],_0x8b09cb=_0xa0c32[_0x4976ab+0x1],_0x3303f0=_0xa0c32[_0x4976ab+0x2],_0x2998ec=_0xa0c32[_0x4976ab+0x3],_0x406115=_0xa0c32[_0x4976ab+0x4],_0x1f9f09=_0xa0c32[_0x4976ab+0x5],_0x2a25fb=_0xa0c32[_0x4976ab+0x6],_0x4834db=_0xa0c32[_0x4976ab+0x7],_0x37c21a=_0xa0c32[_0x4976ab+0x8],_0x5a2295=_0xa0c32[_0x4976ab+0x9],_0x5b340d=_0xa0c32[_0x4976ab+0xa],_0x104a94=_0xa0c32[_0x4976ab+0xb],_0x5b6656=_0xa0c32[_0x4976ab+0xc],_0x914dc6=_0xa0c32[_0x4976ab+0xd],_0x5dddb7=_0xa0c32[_0x4976ab+0xe],_0x4214e0=_0xa0c32[_0x4976ab+0xf],_0x439d5f=_0x2272ed[0x0],_0x17746a=_0x2272ed[0x1],_0x2b7128=_0x2272ed[0x2],_0x50c977=_0x2272ed[0x3];_0x439d5f=_0x225437(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x586c0c,0x7,_0x3e2846[0x0]),_0x50c977=_0x225437(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x8b09cb,0xc,_0x3e2846[0x1]),_0x2b7128=_0x225437(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x3303f0,0x11,_0x3e2846[0x2]),_0x17746a=_0x225437(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x2998ec,0x16,_0x3e2846[0x3]),_0x439d5f=_0x225437(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x406115,0x7,_0x3e2846[0x4]),_0x50c977=_0x225437(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x1f9f09,0xc,_0x3e2846[0x5]),_0x2b7128=_0x225437(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x2a25fb,0x11,_0x3e2846[0x6]),_0x17746a=_0x225437(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x4834db,0x16,_0x3e2846[0x7]),_0x439d5f=_0x225437(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x37c21a,0x7,_0x3e2846[0x8]),_0x50c977=_0x225437(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x5a2295,0xc,_0x3e2846[0x9]),_0x2b7128=_0x225437(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x5b340d,0x11,_0x3e2846[0xa]),_0x17746a=_0x225437(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x104a94,0x16,_0x3e2846[0xb]),_0x439d5f=_0x225437(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x5b6656,0x7,_0x3e2846[0xc]),_0x50c977=_0x225437(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x914dc6,0xc,_0x3e2846[0xd]),_0x2b7128=_0x225437(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x5dddb7,0x11,_0x3e2846[0xe]),_0x17746a=_0x225437(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x4214e0,0x16,_0x3e2846[0xf]),_0x439d5f=_0x2c969e(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x8b09cb,0x5,_0x3e2846[0x10]),_0x50c977=_0x2c969e(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x2a25fb,0x9,_0x3e2846[0x11]),_0x2b7128=_0x2c969e(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x104a94,0xe,_0x3e2846[0x12]),_0x17746a=_0x2c969e(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x586c0c,0x14,_0x3e2846[0x13]),_0x439d5f=_0x2c969e(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x1f9f09,0x5,_0x3e2846[0x14]),_0x50c977=_0x2c969e(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x5b340d,0x9,_0x3e2846[0x15]),_0x2b7128=_0x2c969e(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x4214e0,0xe,_0x3e2846[0x16]),_0x17746a=_0x2c969e(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x406115,0x14,_0x3e2846[0x17]),_0x439d5f=_0x2c969e(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x5a2295,0x5,_0x3e2846[0x18]),_0x50c977=_0x2c969e(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x5dddb7,0x9,_0x3e2846[0x19]),_0x2b7128=_0x2c969e(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x2998ec,0xe,_0x3e2846[0x1a]),_0x17746a=_0x2c969e(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x37c21a,0x14,_0x3e2846[0x1b]),_0x439d5f=_0x2c969e(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x914dc6,0x5,_0x3e2846[0x1c]),_0x50c977=_0x2c969e(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x3303f0,0x9,_0x3e2846[0x1d]),_0x2b7128=_0x2c969e(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x4834db,0xe,_0x3e2846[0x1e]),_0x17746a=_0x2c969e(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x5b6656,0x14,_0x3e2846[0x1f]),_0x439d5f=_0x407718(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x1f9f09,0x4,_0x3e2846[0x20]),_0x50c977=_0x407718(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x37c21a,0xb,_0x3e2846[0x21]),_0x2b7128=_0x407718(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x104a94,0x10,_0x3e2846[0x22]),_0x17746a=_0x407718(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x5dddb7,0x17,_0x3e2846[0x23]),_0x439d5f=_0x407718(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x8b09cb,0x4,_0x3e2846[0x24]),_0x50c977=_0x407718(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x406115,0xb,_0x3e2846[0x25]),_0x2b7128=_0x407718(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x4834db,0x10,_0x3e2846[0x26]),_0x17746a=_0x407718(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x5b340d,0x17,_0x3e2846[0x27]),_0x439d5f=_0x407718(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x914dc6,0x4,_0x3e2846[0x28]),_0x50c977=_0x407718(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x586c0c,0xb,_0x3e2846[0x29]),_0x2b7128=_0x407718(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x2998ec,0x10,_0x3e2846[0x2a]),_0x17746a=_0x407718(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x2a25fb,0x17,_0x3e2846[0x2b]),_0x439d5f=_0x407718(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x5a2295,0x4,_0x3e2846[0x2c]),_0x50c977=_0x407718(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x5b6656,0xb,_0x3e2846[0x2d]),_0x2b7128=_0x407718(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x4214e0,0x10,_0x3e2846[0x2e]),_0x17746a=_0x407718(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x3303f0,0x17,_0x3e2846[0x2f]),_0x439d5f=_0x23051f(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x586c0c,0x6,_0x3e2846[0x30]),_0x50c977=_0x23051f(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x4834db,0xa,_0x3e2846[0x31]),_0x2b7128=_0x23051f(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x5dddb7,0xf,_0x3e2846[0x32]),_0x17746a=_0x23051f(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x1f9f09,0x15,_0x3e2846[0x33]),_0x439d5f=_0x23051f(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x5b6656,0x6,_0x3e2846[0x34]),_0x50c977=_0x23051f(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x2998ec,0xa,_0x3e2846[0x35]),_0x2b7128=_0x23051f(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x5b340d,0xf,_0x3e2846[0x36]),_0x17746a=_0x23051f(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x8b09cb,0x15,_0x3e2846[0x37]),_0x439d5f=_0x23051f(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x37c21a,0x6,_0x3e2846[0x38]),_0x50c977=_0x23051f(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x4214e0,0xa,_0x3e2846[0x39]),_0x2b7128=_0x23051f(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x2a25fb,0xf,_0x3e2846[0x3a]),_0x17746a=_0x23051f(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x914dc6,0x15,_0x3e2846[0x3b]),_0x439d5f=_0x23051f(_0x439d5f,_0x17746a,_0x2b7128,_0x50c977,_0x406115,0x6,_0x3e2846[0x3c]),_0x50c977=_0x23051f(_0x50c977,_0x439d5f,_0x17746a,_0x2b7128,_0x104a94,0xa,_0x3e2846[0x3d]),_0x2b7128=_0x23051f(_0x2b7128,_0x50c977,_0x439d5f,_0x17746a,_0x3303f0,0xf,_0x3e2846[0x3e]),_0x17746a=_0x23051f(_0x17746a,_0x2b7128,_0x50c977,_0x439d5f,_0x5a2295,0x15,_0x3e2846[0x3f]),_0x2272ed[0x0]=_0x2272ed[0x0]+_0x439d5f|0x0,_0x2272ed[0x1]=_0x2272ed[0x1]+_0x17746a|0x0,_0x2272ed[0x2]=_0x2272ed[0x2]+_0x2b7128|0x0,_0x2272ed[0x3]=_0x2272ed[0x3]+_0x50c977|0x0;},'_doFinalize':function(){var _0x38e6c1=_0x5956dc,_0x415272=this[_0x38e6c1(0x3cf)],_0x256bcf=_0x415272['words'],_0x180cf1=this['_nDataBytes']*0x8,_0x5e908d=_0x415272['sigBytes']*0x8;_0x256bcf[_0x5e908d>>>0x5]|=0x80<<0x18-_0x5e908d%0x20;var _0x4a28dd=_0xee3c66[_0x38e6c1(0x1f1)](_0x180cf1/0x100000000),_0x35ac75=_0x180cf1;_0x256bcf[(_0x5e908d+0x40>>>0x9<<0x4)+0xf]=(_0x4a28dd<<0x8|_0x4a28dd>>>0x18)&0xff00ff|(_0x4a28dd<<0x18|_0x4a28dd>>>0x8)&0xff00ff00,_0x256bcf[(_0x5e908d+0x40>>>0x9<<0x4)+0xe]=(_0x35ac75<<0x8|_0x35ac75>>>0x18)&0xff00ff|(_0x35ac75<<0x18|_0x35ac75>>>0x8)&0xff00ff00,_0x415272[_0x38e6c1(0x420)]=(_0x256bcf['length']+0x1)*0x4,this[_0x38e6c1(0x4b5)]();for(var _0x4f1abb=this[_0x38e6c1(0x330)],_0x2d0a3a=_0x4f1abb[_0x38e6c1(0x431)],_0x31778c=0x0;_0x31778c<0x4;_0x31778c++){var _0x238cd5=_0x2d0a3a[_0x31778c];_0x2d0a3a[_0x31778c]=(_0x238cd5<<0x8|_0x238cd5>>>0x18)&0xff00ff|(_0x238cd5<<0x18|_0x238cd5>>>0x8)&0xff00ff00;}return _0x4f1abb;},'clone':function(){var _0x1d0a7c=_0x5956dc,_0x501e49=_0x2269ba[_0x1d0a7c(0x3df)][_0x1d0a7c(0x1d8)](this);return _0x501e49[_0x1d0a7c(0x330)]=this[_0x1d0a7c(0x330)][_0x1d0a7c(0x3df)](),_0x501e49;}});function _0x225437(_0x4da252,_0x550e6d,_0x1fe0ef,_0x2dea17,_0x2e4733,_0x4d29c1,_0x294ce1){var _0x597c44=_0x4da252+(_0x550e6d&_0x1fe0ef|~_0x550e6d&_0x2dea17)+_0x2e4733+_0x294ce1;return(_0x597c44<<_0x4d29c1|_0x597c44>>>0x20-_0x4d29c1)+_0x550e6d;}function _0x2c969e(_0x5a6781,_0x36eb3f,_0x5ef54d,_0x197b1f,_0x2e654b,_0x17af91,_0x24a509){var _0x5f0e34=_0x5a6781+(_0x36eb3f&_0x197b1f|_0x5ef54d&~_0x197b1f)+_0x2e654b+_0x24a509;return(_0x5f0e34<<_0x17af91|_0x5f0e34>>>0x20-_0x17af91)+_0x36eb3f;}function _0x407718(_0x594f67,_0x2300fe,_0xc297b8,_0x574e1e,_0x51fcd2,_0x216b64,_0x360245){var _0x415390=_0x594f67+(_0x2300fe^_0xc297b8^_0x574e1e)+_0x51fcd2+_0x360245;return(_0x415390<<_0x216b64|_0x415390>>>0x20-_0x216b64)+_0x2300fe;}function _0x23051f(_0x53ba47,_0x2bc135,_0x1656ad,_0x3cd025,_0x14b18c,_0x111fa6,_0x4fab49){var _0x4a380e=_0x53ba47+(_0x1656ad^(_0x2bc135|~_0x3cd025))+_0x14b18c+_0x4fab49;return(_0x4a380e<<_0x111fa6|_0x4a380e>>>0x20-_0x111fa6)+_0x2bc135;}_0x9385f5['MD5']=_0x2269ba['_createHelper'](_0xd419e3),_0x9385f5[_0x5956dc(0x4a9)]=_0x2269ba[_0x5956dc(0x3ea)](_0xd419e3);}(Math),_0x50418a[_0x5be48b(0x19e)];}));}(Ie)),Ie[_0x5c6d53(0x3b1)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x2017aa(0x3b1)],tt;function $i(){var _0xf5245c=_0x2017aa;return tt||(tt=0x1,function(_0x3473b4,_0x552d99){(function(_0x3277ac,_0x4e492f){var _0x184d17=_0x30c8;_0x3473b4[_0x184d17(0x3b1)]=_0x4e492f(ee());}(ji,function(_0x2ed508){return(function(){var _0x4e661c=_0x30c8,_0x1f8951=_0x2ed508,_0x54a8ec=_0x1f8951[_0x4e661c(0x4da)],_0xac35da=_0x54a8ec[_0x4e661c(0x4c9)],_0x596144=_0x54a8ec[_0x4e661c(0x3f7)],_0x50a9e4=_0x1f8951[_0x4e661c(0x4af)],_0x168233=[],_0x1bc72c=_0x50a9e4[_0x4e661c(0x223)]=_0x596144['extend']({'_doReset':function(){var _0x29fc52=_0x4e661c;this[_0x29fc52(0x330)]=new _0xac35da['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7caa6e,_0x11d754){var _0x12a2e2=_0x4e661c;for(var _0x394bcd=this[_0x12a2e2(0x330)][_0x12a2e2(0x431)],_0x16c887=_0x394bcd[0x0],_0x5caac1=_0x394bcd[0x1],_0x3b2c27=_0x394bcd[0x2],_0x42a3f2=_0x394bcd[0x3],_0x569ad1=_0x394bcd[0x4],_0x4c3224=0x0;_0x4c3224<0x50;_0x4c3224++){if(_0x4c3224<0x10)_0x168233[_0x4c3224]=_0x7caa6e[_0x11d754+_0x4c3224]|0x0;else{var _0x27c5cb=_0x168233[_0x4c3224-0x3]^_0x168233[_0x4c3224-0x8]^_0x168233[_0x4c3224-0xe]^_0x168233[_0x4c3224-0x10];_0x168233[_0x4c3224]=_0x27c5cb<<0x1|_0x27c5cb>>>0x1f;}var _0x47129b=(_0x16c887<<0x5|_0x16c887>>>0x1b)+_0x569ad1+_0x168233[_0x4c3224];_0x4c3224<0x14?_0x47129b+=(_0x5caac1&_0x3b2c27|~_0x5caac1&_0x42a3f2)+0x5a827999:_0x4c3224<0x28?_0x47129b+=(_0x5caac1^_0x3b2c27^_0x42a3f2)+0x6ed9eba1:_0x4c3224<0x3c?_0x47129b+=(_0x5caac1&_0x3b2c27|_0x5caac1&_0x42a3f2|_0x3b2c27&_0x42a3f2)-0x70e44324:_0x47129b+=(_0x5caac1^_0x3b2c27^_0x42a3f2)-0x359d3e2a,_0x569ad1=_0x42a3f2,_0x42a3f2=_0x3b2c27,_0x3b2c27=_0x5caac1<<0x1e|_0x5caac1>>>0x2,_0x5caac1=_0x16c887,_0x16c887=_0x47129b;}_0x394bcd[0x0]=_0x394bcd[0x0]+_0x16c887|0x0,_0x394bcd[0x1]=_0x394bcd[0x1]+_0x5caac1|0x0,_0x394bcd[0x2]=_0x394bcd[0x2]+_0x3b2c27|0x0,_0x394bcd[0x3]=_0x394bcd[0x3]+_0x42a3f2|0x0,_0x394bcd[0x4]=_0x394bcd[0x4]+_0x569ad1|0x0;},'_doFinalize':function(){var _0x270a6c=_0x4e661c,_0x46d5f4=this[_0x270a6c(0x3cf)],_0x9d1d40=_0x46d5f4[_0x270a6c(0x431)],_0x566841=this['_nDataBytes']*0x8,_0x16ecab=_0x46d5f4[_0x270a6c(0x420)]*0x8;return _0x9d1d40[_0x16ecab>>>0x5]|=0x80<<0x18-_0x16ecab%0x20,_0x9d1d40[(_0x16ecab+0x40>>>0x9<<0x4)+0xe]=Math[_0x270a6c(0x1f1)](_0x566841/0x100000000),_0x9d1d40[(_0x16ecab+0x40>>>0x9<<0x4)+0xf]=_0x566841,_0x46d5f4[_0x270a6c(0x420)]=_0x9d1d40[_0x270a6c(0x42c)]*0x4,this[_0x270a6c(0x4b5)](),this[_0x270a6c(0x330)];},'clone':function(){var _0x4729a1=_0x4e661c,_0x16e085=_0x596144['clone'][_0x4729a1(0x1d8)](this);return _0x16e085['_hash']=this[_0x4729a1(0x330)][_0x4729a1(0x3df)](),_0x16e085;}});_0x1f8951['SHA1']=_0x596144[_0x4e661c(0x41e)](_0x1bc72c),_0x1f8951[_0x4e661c(0x370)]=_0x596144[_0x4e661c(0x3ea)](_0x1bc72c);}()),_0x2ed508['SHA1'];}));}(Ee)),Ee[_0xf5245c(0x3b1)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x3bac19=_0x2017aa;return it||(it=0x1,function(_0x78681,_0x175120){(function(_0x5697f1,_0x28317c){var _0x41a6b1=_0x30c8;_0x78681[_0x41a6b1(0x3b1)]=_0x28317c(ee());}(Bi,function(_0x1f6919){(function(){var _0x5574ef=_0x30c8,_0x57512d=_0x1f6919,_0xf06784=_0x57512d['lib'],_0x38408d=_0xf06784['Base'],_0x1f31d5=_0x57512d['enc'],_0x40b9aa=_0x1f31d5[_0x5574ef(0x44b)],_0x440a92=_0x57512d['algo'];_0x440a92[_0x5574ef(0x285)]=_0x38408d['extend']({'init':function(_0x4f2a34,_0x4d3042){var _0x33cd1b=_0x5574ef;_0x4f2a34=this['_hasher']=new _0x4f2a34[(_0x33cd1b(0x1c4))](),typeof _0x4d3042==_0x33cd1b(0x519)&&(_0x4d3042=_0x40b9aa['parse'](_0x4d3042));var _0x175699=_0x4f2a34['blockSize'],_0x1097ea=_0x175699*0x4;_0x4d3042[_0x33cd1b(0x420)]>_0x1097ea&&(_0x4d3042=_0x4f2a34['finalize'](_0x4d3042)),_0x4d3042[_0x33cd1b(0x33d)]();for(var _0xa10432=this[_0x33cd1b(0x31a)]=_0x4d3042[_0x33cd1b(0x3df)](),_0x55451b=this[_0x33cd1b(0x210)]=_0x4d3042[_0x33cd1b(0x3df)](),_0x1c9f01=_0xa10432['words'],_0x57fc1e=_0x55451b[_0x33cd1b(0x431)],_0x545874=0x0;_0x545874<_0x175699;_0x545874++)_0x1c9f01[_0x545874]^=0x5c5c5c5c,_0x57fc1e[_0x545874]^=0x36363636;_0xa10432[_0x33cd1b(0x420)]=_0x55451b[_0x33cd1b(0x420)]=_0x1097ea,this[_0x33cd1b(0x513)]();},'reset':function(){var _0x7f431c=_0x5574ef,_0x5a1685=this[_0x7f431c(0x2a1)];_0x5a1685[_0x7f431c(0x513)](),_0x5a1685[_0x7f431c(0x357)](this[_0x7f431c(0x210)]);},'update':function(_0x5c9a12){var _0x506e06=_0x5574ef;return this[_0x506e06(0x2a1)][_0x506e06(0x357)](_0x5c9a12),this;},'finalize':function(_0x123c03){var _0x2596f6=_0x5574ef,_0xf6e15b=this[_0x2596f6(0x2a1)],_0x4216f5=_0xf6e15b[_0x2596f6(0x31c)](_0x123c03);_0xf6e15b[_0x2596f6(0x513)]();var _0x5882c6=_0xf6e15b[_0x2596f6(0x31c)](this[_0x2596f6(0x31a)][_0x2596f6(0x3df)]()[_0x2596f6(0x3fe)](_0x4216f5));return _0x5882c6;}});}());}));}(Ce)),Ce[_0x3bac19(0x3b1)];}var Vi=me[_0x2017aa(0x3b1)],nt;function At(){var _0x16f28a=_0x2017aa;return nt||(nt=0x1,function(_0x45f36a,_0x5ea7d2){(function(_0x424060,_0x3f8f34,_0xa378dd){var _0x28d5a3=_0x30c8;_0x45f36a[_0x28d5a3(0x3b1)]=_0x3f8f34(ee(),$i(),Fi());}(Vi,function(_0x3a9459){var _0x2b0990=_0x30c8;return(function(){var _0xe4c2f0=_0x30c8,_0xd07f6c=_0x3a9459,_0x22f8ae=_0xd07f6c[_0xe4c2f0(0x4da)],_0x4c628b=_0x22f8ae['Base'],_0x2c297f=_0x22f8ae[_0xe4c2f0(0x4c9)],_0x416b80=_0xd07f6c[_0xe4c2f0(0x4af)],_0x13bddd=_0x416b80[_0xe4c2f0(0x19e)],_0x12aaf0=_0x416b80['EvpKDF']=_0x4c628b[_0xe4c2f0(0x30d)]({'cfg':_0x4c628b[_0xe4c2f0(0x30d)]({'keySize':0x80/0x20,'hasher':_0x13bddd,'iterations':0x1}),'init':function(_0x52bb9){var _0x41361c=_0xe4c2f0;this[_0x41361c(0x1ea)]=this[_0x41361c(0x1ea)][_0x41361c(0x30d)](_0x52bb9);},'compute':function(_0x5618ad,_0x4479d3){var _0x14e230=_0xe4c2f0;for(var _0x2d36aa,_0x3e385e=this[_0x14e230(0x1ea)],_0x745178=_0x3e385e['hasher'][_0x14e230(0x4a2)](),_0xea5feb=_0x2c297f['create'](),_0x56ed12=_0xea5feb[_0x14e230(0x431)],_0x47e826=_0x3e385e[_0x14e230(0x1ec)],_0x42bc5d=_0x3e385e[_0x14e230(0x321)];_0x56ed12[_0x14e230(0x42c)]<_0x47e826;){_0x2d36aa&&_0x745178[_0x14e230(0x357)](_0x2d36aa),_0x2d36aa=_0x745178[_0x14e230(0x357)](_0x5618ad)[_0x14e230(0x31c)](_0x4479d3),_0x745178[_0x14e230(0x513)]();for(var _0x14b978=0x1;_0x14b978<_0x42bc5d;_0x14b978++)_0x2d36aa=_0x745178[_0x14e230(0x31c)](_0x2d36aa),_0x745178[_0x14e230(0x513)]();_0xea5feb['concat'](_0x2d36aa);}return _0xea5feb[_0x14e230(0x420)]=_0x47e826*0x4,_0xea5feb;}});_0xd07f6c[_0xe4c2f0(0x439)]=function(_0x243db0,_0x191f70,_0x4ceeb7){var _0x19ae26=_0xe4c2f0;return _0x12aaf0[_0x19ae26(0x4a2)](_0x4ceeb7)['compute'](_0x243db0,_0x191f70);};}()),_0x3a9459[_0x2b0990(0x439)];}));}(me)),me[_0x16f28a(0x3b1)];}var Te={'exports':{}},Wi=Te[_0x2017aa(0x3b1)],rt;function Pt(){return rt||(rt=0x1,function(_0x2fb373,_0x16b111){(function(_0x35ee35,_0x19e783,_0x4887fb){var _0x543f9c=_0x30c8;_0x2fb373[_0x543f9c(0x3b1)]=_0x19e783(ee(),At());}(Wi,function(_0x44bdd3){var _0x3c861c=_0x30c8;_0x44bdd3[_0x3c861c(0x4da)][_0x3c861c(0x3ee)]||function(_0x581b9b){var _0x5c48d3=_0x3c861c,_0x27e542=_0x44bdd3,_0x47e0fd=_0x27e542[_0x5c48d3(0x4da)],_0x30f67e=_0x47e0fd[_0x5c48d3(0x39d)],_0x41c2b6=_0x47e0fd[_0x5c48d3(0x4c9)],_0x2c1e22=_0x47e0fd['BufferedBlockAlgorithm'],_0x4c0ba3=_0x27e542['enc'];_0x4c0ba3[_0x5c48d3(0x44b)];var _0x5791e3=_0x4c0ba3[_0x5c48d3(0x263)],_0x46b743=_0x27e542[_0x5c48d3(0x4af)],_0x1d8f2e=_0x46b743[_0x5c48d3(0x439)],_0x4629a3=_0x47e0fd['Cipher']=_0x2c1e22[_0x5c48d3(0x30d)]({'cfg':_0x30f67e[_0x5c48d3(0x30d)](),'createEncryptor':function(_0x2c6182,_0x815201){var _0x43ca52=_0x5c48d3;return this[_0x43ca52(0x4a2)](this[_0x43ca52(0x23b)],_0x2c6182,_0x815201);},'createDecryptor':function(_0x30cefd,_0x57eb39){var _0xf4bbf2=_0x5c48d3;return this[_0xf4bbf2(0x4a2)](this['_DEC_XFORM_MODE'],_0x30cefd,_0x57eb39);},'init':function(_0x9b0a16,_0x3834ab,_0x12a84a){var _0x4fe57a=_0x5c48d3;this[_0x4fe57a(0x1ea)]=this[_0x4fe57a(0x1ea)][_0x4fe57a(0x30d)](_0x12a84a),this['_xformMode']=_0x9b0a16,this['_key']=_0x3834ab,this['reset']();},'reset':function(){var _0x1748df=_0x5c48d3;_0x2c1e22[_0x1748df(0x513)][_0x1748df(0x1d8)](this),this[_0x1748df(0x297)]();},'process':function(_0x723db0){var _0x18807b=_0x5c48d3;return this[_0x18807b(0x212)](_0x723db0),this[_0x18807b(0x4b5)]();},'finalize':function(_0x4de121){var _0x5e6c4f=_0x5c48d3;_0x4de121&&this[_0x5e6c4f(0x212)](_0x4de121);var _0x3d5ccb=this[_0x5e6c4f(0x3d3)]();return _0x3d5ccb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x49d264(_0x26616d){var _0x4a394e=_0x30c8;return typeof _0x26616d==_0x4a394e(0x519)?_0x1bc566:_0x5597a6;}return function(_0x4e5d92){return{'encrypt':function(_0x253448,_0x4d5f24,_0x5ea41e){var _0x50eae9=_0x30c8;return _0x49d264(_0x4d5f24)[_0x50eae9(0x4c1)](_0x4e5d92,_0x253448,_0x4d5f24,_0x5ea41e);},'decrypt':function(_0x45a483,_0x1b7a3a,_0x1a0e9c){return _0x49d264(_0x1b7a3a)['decrypt'](_0x4e5d92,_0x45a483,_0x1b7a3a,_0x1a0e9c);}};};}())});_0x47e0fd[_0x5c48d3(0x2cd)]=_0x4629a3[_0x5c48d3(0x30d)]({'_doFinalize':function(){var _0x294ed9=_0x5c48d3,_0x727c99=this[_0x294ed9(0x4b5)](!0x0);return _0x727c99;},'blockSize':0x1});var _0x3f0255=_0x27e542[_0x5c48d3(0x34b)]={},_0x37590f=_0x47e0fd['BlockCipherMode']=_0x30f67e[_0x5c48d3(0x30d)]({'createEncryptor':function(_0x330108,_0x3413a5){var _0x547a73=_0x5c48d3;return this[_0x547a73(0x2b0)][_0x547a73(0x4a2)](_0x330108,_0x3413a5);},'createDecryptor':function(_0x3c8d99,_0x17e032){var _0x2da8f3=_0x5c48d3;return this[_0x2da8f3(0x417)][_0x2da8f3(0x4a2)](_0x3c8d99,_0x17e032);},'init':function(_0x2390a4,_0x11a41d){var _0x31e4a4=_0x5c48d3;this[_0x31e4a4(0x4ee)]=_0x2390a4,this['_iv']=_0x11a41d;}}),_0x2c17dd=_0x3f0255[_0x5c48d3(0x23d)]=(function(){var _0x48631c=_0x5c48d3,_0x28773e=_0x37590f[_0x48631c(0x30d)]();_0x28773e[_0x48631c(0x2b0)]=_0x28773e[_0x48631c(0x30d)]({'processBlock':function(_0x5facee,_0x5125d7){var _0x9f552f=_0x48631c,_0xac0478=this['_cipher'],_0x5d298d=_0xac0478[_0x9f552f(0x362)];_0x16ea36[_0x9f552f(0x1d8)](this,_0x5facee,_0x5125d7,_0x5d298d),_0xac0478[_0x9f552f(0x1e3)](_0x5facee,_0x5125d7),this[_0x9f552f(0x353)]=_0x5facee[_0x9f552f(0x413)](_0x5125d7,_0x5125d7+_0x5d298d);}}),_0x28773e[_0x48631c(0x417)]=_0x28773e[_0x48631c(0x30d)]({'processBlock':function(_0x68cd3c,_0x5e49ae){var _0xeb3d52=_0x48631c,_0x21e28f=this[_0xeb3d52(0x4ee)],_0x2fdb9d=_0x21e28f['blockSize'],_0x3e568e=_0x68cd3c[_0xeb3d52(0x413)](_0x5e49ae,_0x5e49ae+_0x2fdb9d);_0x21e28f[_0xeb3d52(0x401)](_0x68cd3c,_0x5e49ae),_0x16ea36[_0xeb3d52(0x1d8)](this,_0x68cd3c,_0x5e49ae,_0x2fdb9d),this[_0xeb3d52(0x353)]=_0x3e568e;}});function _0x16ea36(_0x29188d,_0x5496d8,_0x17e87c){var _0x5de43c=_0x48631c,_0x4ed351,_0x9dc83a=this[_0x5de43c(0x3da)];_0x9dc83a?(_0x4ed351=_0x9dc83a,this[_0x5de43c(0x3da)]=_0x581b9b):_0x4ed351=this[_0x5de43c(0x353)];for(var _0x312a0e=0x0;_0x312a0e<_0x17e87c;_0x312a0e++)_0x29188d[_0x5496d8+_0x312a0e]^=_0x4ed351[_0x312a0e];}return _0x28773e;}()),_0x2835e6=_0x27e542[_0x5c48d3(0x307)]={},_0x2da2b0=_0x2835e6[_0x5c48d3(0x45e)]={'pad':function(_0xc5ddac,_0x362ba1){var _0x4af299=_0x5c48d3;for(var _0x33114c=_0x362ba1*0x4,_0x4a3d4a=_0x33114c-_0xc5ddac['sigBytes']%_0x33114c,_0x306398=_0x4a3d4a<<0x18|_0x4a3d4a<<0x10|_0x4a3d4a<<0x8|_0x4a3d4a,_0x2281ea=[],_0x5b7e44=0x0;_0x5b7e44<_0x4a3d4a;_0x5b7e44+=0x4)_0x2281ea[_0x4af299(0x2e9)](_0x306398);var _0x56e518=_0x41c2b6[_0x4af299(0x4a2)](_0x2281ea,_0x4a3d4a);_0xc5ddac[_0x4af299(0x3fe)](_0x56e518);},'unpad':function(_0x144f02){var _0x1bb91e=_0x5c48d3,_0x449c79=_0x144f02[_0x1bb91e(0x431)][_0x144f02[_0x1bb91e(0x420)]-0x1>>>0x2]&0xff;_0x144f02['sigBytes']-=_0x449c79;}};_0x47e0fd[_0x5c48d3(0x365)]=_0x4629a3[_0x5c48d3(0x30d)]({'cfg':_0x4629a3[_0x5c48d3(0x1ea)][_0x5c48d3(0x30d)]({'mode':_0x2c17dd,'padding':_0x2da2b0}),'reset':function(){var _0x1614e7=_0x5c48d3,_0x35b76e;_0x4629a3[_0x1614e7(0x513)][_0x1614e7(0x1d8)](this);var _0x22530f=this[_0x1614e7(0x1ea)],_0x42248d=_0x22530f['iv'],_0xa2e8f4=_0x22530f[_0x1614e7(0x34b)];this[_0x1614e7(0x311)]==this[_0x1614e7(0x23b)]?_0x35b76e=_0xa2e8f4[_0x1614e7(0x4f3)]:(_0x35b76e=_0xa2e8f4[_0x1614e7(0x2c3)],this[_0x1614e7(0x3c6)]=0x1),this[_0x1614e7(0x500)]&&this[_0x1614e7(0x500)]['__creator']==_0x35b76e?this[_0x1614e7(0x500)][_0x1614e7(0x1c4)](this,_0x42248d&&_0x42248d[_0x1614e7(0x431)]):(this[_0x1614e7(0x500)]=_0x35b76e[_0x1614e7(0x1d8)](_0xa2e8f4,this,_0x42248d&&_0x42248d[_0x1614e7(0x431)]),this['_mode'][_0x1614e7(0x347)]=_0x35b76e);},'_doProcessBlock':function(_0x1dbb99,_0x53d849){var _0x15987b=_0x5c48d3;this['_mode'][_0x15987b(0x415)](_0x1dbb99,_0x53d849);},'_doFinalize':function(){var _0x25eb59=_0x5c48d3,_0xd14f15,_0x2a8458=this[_0x25eb59(0x1ea)]['padding'];return this[_0x25eb59(0x311)]==this[_0x25eb59(0x23b)]?(_0x2a8458[_0x25eb59(0x307)](this[_0x25eb59(0x3cf)],this[_0x25eb59(0x362)]),_0xd14f15=this[_0x25eb59(0x4b5)](!0x0)):(_0xd14f15=this[_0x25eb59(0x4b5)](!0x0),_0x2a8458['unpad'](_0xd14f15)),_0xd14f15;},'blockSize':0x80/0x20});var _0x1663cb=_0x47e0fd[_0x5c48d3(0x3e0)]=_0x30f67e['extend']({'init':function(_0xc46c26){var _0x1563a7=_0x5c48d3;this[_0x1563a7(0x4cb)](_0xc46c26);},'toString':function(_0x1856ec){var _0x2d049f=_0x5c48d3;return(_0x1856ec||this[_0x2d049f(0x27c)])[_0x2d049f(0x3ac)](this);}}),_0x567828=_0x27e542[_0x5c48d3(0x3bf)]={},_0x214e31=_0x567828[_0x5c48d3(0x503)]={'stringify':function(_0x1ccd1b){var _0x5d33dc=_0x5c48d3,_0x399558,_0x1ebbd7=_0x1ccd1b[_0x5d33dc(0x1d5)],_0xec86a6=_0x1ccd1b[_0x5d33dc(0x4dc)];return _0xec86a6?_0x399558=_0x41c2b6[_0x5d33dc(0x4a2)]([0x53616c74,0x65645f5f])[_0x5d33dc(0x3fe)](_0xec86a6)[_0x5d33dc(0x3fe)](_0x1ebbd7):_0x399558=_0x1ebbd7,_0x399558['toString'](_0x5791e3);},'parse':function(_0x171613){var _0x285733=_0x5c48d3,_0x5df2b6,_0x1e9558=_0x5791e3[_0x285733(0x243)](_0x171613),_0x3917ea=_0x1e9558[_0x285733(0x431)];return _0x3917ea[0x0]==0x53616c74&&_0x3917ea[0x1]==0x65645f5f&&(_0x5df2b6=_0x41c2b6[_0x285733(0x4a2)](_0x3917ea[_0x285733(0x413)](0x2,0x4)),_0x3917ea[_0x285733(0x1b4)](0x0,0x4),_0x1e9558['sigBytes']-=0x10),_0x1663cb['create']({'ciphertext':_0x1e9558,'salt':_0x5df2b6});}},_0x5597a6=_0x47e0fd[_0x5c48d3(0x1f0)]=_0x30f67e[_0x5c48d3(0x30d)]({'cfg':_0x30f67e[_0x5c48d3(0x30d)]({'format':_0x214e31}),'encrypt':function(_0x50974a,_0x2940d0,_0xffe204,_0x237cd8){var _0x5656cd=_0x5c48d3;_0x237cd8=this[_0x5656cd(0x1ea)][_0x5656cd(0x30d)](_0x237cd8);var _0x539832=_0x50974a[_0x5656cd(0x4f3)](_0xffe204,_0x237cd8),_0x41f8f4=_0x539832[_0x5656cd(0x31c)](_0x2940d0),_0x3496e5=_0x539832[_0x5656cd(0x1ea)];return _0x1663cb[_0x5656cd(0x4a2)]({'ciphertext':_0x41f8f4,'key':_0xffe204,'iv':_0x3496e5['iv'],'algorithm':_0x50974a,'mode':_0x3496e5['mode'],'padding':_0x3496e5[_0x5656cd(0x46b)],'blockSize':_0x50974a[_0x5656cd(0x362)],'formatter':_0x237cd8[_0x5656cd(0x3bf)]});},'decrypt':function(_0x201dd4,_0x5c2959,_0x5e944b,_0x5bc2cc){var _0x3a0c8b=_0x5c48d3;_0x5bc2cc=this['cfg']['extend'](_0x5bc2cc),_0x5c2959=this['_parse'](_0x5c2959,_0x5bc2cc[_0x3a0c8b(0x3bf)]);var _0x34488d=_0x201dd4[_0x3a0c8b(0x2c3)](_0x5e944b,_0x5bc2cc)['finalize'](_0x5c2959[_0x3a0c8b(0x1d5)]);return _0x34488d;},'_parse':function(_0x595566,_0x130c79){var _0x188ff4=_0x5c48d3;return typeof _0x595566==_0x188ff4(0x519)?_0x130c79[_0x188ff4(0x243)](_0x595566,this):_0x595566;}}),_0x3e2703=_0x27e542['kdf']={},_0x4cd2b3=_0x3e2703[_0x5c48d3(0x503)]={'execute':function(_0x1db6aa,_0x4ecfe9,_0x43fc48,_0x199220,_0x464ac9){var _0x4e6b60=_0x5c48d3;if(_0x199220||(_0x199220=_0x41c2b6[_0x4e6b60(0x437)](0x40/0x8)),_0x464ac9)var _0x1bdaf3=_0x1d8f2e[_0x4e6b60(0x4a2)]({'keySize':_0x4ecfe9+_0x43fc48,'hasher':_0x464ac9})[_0x4e6b60(0x4d2)](_0x1db6aa,_0x199220);else var _0x1bdaf3=_0x1d8f2e[_0x4e6b60(0x4a2)]({'keySize':_0x4ecfe9+_0x43fc48})[_0x4e6b60(0x4d2)](_0x1db6aa,_0x199220);var _0x53cb23=_0x41c2b6['create'](_0x1bdaf3[_0x4e6b60(0x431)][_0x4e6b60(0x413)](_0x4ecfe9),_0x43fc48*0x4);return _0x1bdaf3[_0x4e6b60(0x420)]=_0x4ecfe9*0x4,_0x1663cb[_0x4e6b60(0x4a2)]({'key':_0x1bdaf3,'iv':_0x53cb23,'salt':_0x199220});}},_0x1bc566=_0x47e0fd['PasswordBasedCipher']=_0x5597a6[_0x5c48d3(0x30d)]({'cfg':_0x5597a6['cfg'][_0x5c48d3(0x30d)]({'kdf':_0x4cd2b3}),'encrypt':function(_0xe6de5b,_0x130d46,_0x3fa627,_0x31ea22){var _0xc279a5=_0x5c48d3;_0x31ea22=this[_0xc279a5(0x1ea)][_0xc279a5(0x30d)](_0x31ea22);var _0x2f99a5=_0x31ea22[_0xc279a5(0x2b1)][_0xc279a5(0x50a)](_0x3fa627,_0xe6de5b['keySize'],_0xe6de5b[_0xc279a5(0x4d6)],_0x31ea22[_0xc279a5(0x4dc)],_0x31ea22[_0xc279a5(0x33b)]);_0x31ea22['iv']=_0x2f99a5['iv'];var _0x47310c=_0x5597a6['encrypt'][_0xc279a5(0x1d8)](this,_0xe6de5b,_0x130d46,_0x2f99a5['key'],_0x31ea22);return _0x47310c[_0xc279a5(0x4cb)](_0x2f99a5),_0x47310c;},'decrypt':function(_0x3800e3,_0xe39641,_0x34c321,_0x210fcc){var _0x2960cb=_0x5c48d3;_0x210fcc=this[_0x2960cb(0x1ea)][_0x2960cb(0x30d)](_0x210fcc),_0xe39641=this[_0x2960cb(0x4c7)](_0xe39641,_0x210fcc[_0x2960cb(0x3bf)]);var _0x46230d=_0x210fcc[_0x2960cb(0x2b1)]['execute'](_0x34c321,_0x3800e3[_0x2960cb(0x1ec)],_0x3800e3[_0x2960cb(0x4d6)],_0xe39641[_0x2960cb(0x4dc)],_0x210fcc[_0x2960cb(0x33b)]);_0x210fcc['iv']=_0x46230d['iv'];var _0x179309=_0x5597a6[_0x2960cb(0x419)]['call'](this,_0x3800e3,_0xe39641,_0x46230d['key'],_0x210fcc);return _0x179309;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x2017aa(0x3b1)],st;function Ki(){return st||(st=0x1,function(_0x276aba,_0x29f39e){(function(_0x36021a,_0x5b4e58,_0x501b48){var _0x16635a=_0x30c8;_0x276aba[_0x16635a(0x3b1)]=_0x5b4e58(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x35f3c4){var _0x59c204=_0x30c8;return(function(){var _0x12b6bd=_0x30c8,_0x54b0e9=_0x35f3c4,_0x4b7c94=_0x54b0e9['lib'],_0x4fdf81=_0x4b7c94['BlockCipher'],_0x16f9ae=_0x54b0e9[_0x12b6bd(0x4af)],_0x11d53a=[],_0x451f78=[],_0x3447c4=[],_0x2391ad=[],_0x33c20d=[],_0x2f1220=[],_0x79cd75=[],_0xae3d63=[],_0x4c675a=[],_0x283f9b=[];(function(){for(var _0x44fa8f=[],_0x395cdf=0x0;_0x395cdf<0x100;_0x395cdf++)_0x395cdf<0x80?_0x44fa8f[_0x395cdf]=_0x395cdf<<0x1:_0x44fa8f[_0x395cdf]=_0x395cdf<<0x1^0x11b;for(var _0x45e309=0x0,_0x4a539a=0x0,_0x395cdf=0x0;_0x395cdf<0x100;_0x395cdf++){var _0x21f645=_0x4a539a^_0x4a539a<<0x1^_0x4a539a<<0x2^_0x4a539a<<0x3^_0x4a539a<<0x4;_0x21f645=_0x21f645>>>0x8^_0x21f645&0xff^0x63,_0x11d53a[_0x45e309]=_0x21f645,_0x451f78[_0x21f645]=_0x45e309;var _0xd3b846=_0x44fa8f[_0x45e309],_0x312ef1=_0x44fa8f[_0xd3b846],_0x22c026=_0x44fa8f[_0x312ef1],_0x207487=_0x44fa8f[_0x21f645]*0x101^_0x21f645*0x1010100;_0x3447c4[_0x45e309]=_0x207487<<0x18|_0x207487>>>0x8,_0x2391ad[_0x45e309]=_0x207487<<0x10|_0x207487>>>0x10,_0x33c20d[_0x45e309]=_0x207487<<0x8|_0x207487>>>0x18,_0x2f1220[_0x45e309]=_0x207487;var _0x207487=_0x22c026*0x1010101^_0x312ef1*0x10001^_0xd3b846*0x101^_0x45e309*0x1010100;_0x79cd75[_0x21f645]=_0x207487<<0x18|_0x207487>>>0x8,_0xae3d63[_0x21f645]=_0x207487<<0x10|_0x207487>>>0x10,_0x4c675a[_0x21f645]=_0x207487<<0x8|_0x207487>>>0x18,_0x283f9b[_0x21f645]=_0x207487,_0x45e309?(_0x45e309=_0xd3b846^_0x44fa8f[_0x44fa8f[_0x44fa8f[_0x22c026^_0xd3b846]]],_0x4a539a^=_0x44fa8f[_0x44fa8f[_0x4a539a]]):_0x45e309=_0x4a539a=0x1;}}());var _0x47d7bb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5e1f30=_0x16f9ae[_0x12b6bd(0x3d2)]=_0x4fdf81[_0x12b6bd(0x30d)]({'_doReset':function(){var _0x4b0bb7=_0x12b6bd,_0x29f54b;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x4b0bb7(0x501)])){for(var _0x2a28cb=this[_0x4b0bb7(0x22e)]=this[_0x4b0bb7(0x501)],_0xa14cbb=_0x2a28cb[_0x4b0bb7(0x431)],_0x4b9699=_0x2a28cb[_0x4b0bb7(0x420)]/0x4,_0x33c868=this['_nRounds']=_0x4b9699+0x6,_0x1da567=(_0x33c868+0x1)*0x4,_0x2aa755=this[_0x4b0bb7(0x497)]=[],_0x5c6aec=0x0;_0x5c6aec<_0x1da567;_0x5c6aec++)_0x5c6aec<_0x4b9699?_0x2aa755[_0x5c6aec]=_0xa14cbb[_0x5c6aec]:(_0x29f54b=_0x2aa755[_0x5c6aec-0x1],_0x5c6aec%_0x4b9699?_0x4b9699>0x6&&_0x5c6aec%_0x4b9699==0x4&&(_0x29f54b=_0x11d53a[_0x29f54b>>>0x18]<<0x18|_0x11d53a[_0x29f54b>>>0x10&0xff]<<0x10|_0x11d53a[_0x29f54b>>>0x8&0xff]<<0x8|_0x11d53a[_0x29f54b&0xff]):(_0x29f54b=_0x29f54b<<0x8|_0x29f54b>>>0x18,_0x29f54b=_0x11d53a[_0x29f54b>>>0x18]<<0x18|_0x11d53a[_0x29f54b>>>0x10&0xff]<<0x10|_0x11d53a[_0x29f54b>>>0x8&0xff]<<0x8|_0x11d53a[_0x29f54b&0xff],_0x29f54b^=_0x47d7bb[_0x5c6aec/_0x4b9699|0x0]<<0x18),_0x2aa755[_0x5c6aec]=_0x2aa755[_0x5c6aec-_0x4b9699]^_0x29f54b);for(var _0x4c9f4b=this[_0x4b0bb7(0x281)]=[],_0x4d10df=0x0;_0x4d10df<_0x1da567;_0x4d10df++){var _0x5c6aec=_0x1da567-_0x4d10df;if(_0x4d10df%0x4)var _0x29f54b=_0x2aa755[_0x5c6aec];else var _0x29f54b=_0x2aa755[_0x5c6aec-0x4];_0x4d10df<0x4||_0x5c6aec<=0x4?_0x4c9f4b[_0x4d10df]=_0x29f54b:_0x4c9f4b[_0x4d10df]=_0x79cd75[_0x11d53a[_0x29f54b>>>0x18]]^_0xae3d63[_0x11d53a[_0x29f54b>>>0x10&0xff]]^_0x4c675a[_0x11d53a[_0x29f54b>>>0x8&0xff]]^_0x283f9b[_0x11d53a[_0x29f54b&0xff]];}}},'encryptBlock':function(_0xdd7b4c,_0x408c9d){var _0x1f22a8=_0x12b6bd;this[_0x1f22a8(0x496)](_0xdd7b4c,_0x408c9d,this[_0x1f22a8(0x497)],_0x3447c4,_0x2391ad,_0x33c20d,_0x2f1220,_0x11d53a);},'decryptBlock':function(_0x32cd45,_0x5482ce){var _0x1fc4e7=_0x12b6bd,_0x4e6672=_0x32cd45[_0x5482ce+0x1];_0x32cd45[_0x5482ce+0x1]=_0x32cd45[_0x5482ce+0x3],_0x32cd45[_0x5482ce+0x3]=_0x4e6672,this[_0x1fc4e7(0x496)](_0x32cd45,_0x5482ce,this[_0x1fc4e7(0x281)],_0x79cd75,_0xae3d63,_0x4c675a,_0x283f9b,_0x451f78);var _0x4e6672=_0x32cd45[_0x5482ce+0x1];_0x32cd45[_0x5482ce+0x1]=_0x32cd45[_0x5482ce+0x3],_0x32cd45[_0x5482ce+0x3]=_0x4e6672;},'_doCryptBlock':function(_0x47e547,_0x45804f,_0x251b9d,_0x59e741,_0x535d55,_0x1425a7,_0x14b9b4,_0x53d902){var _0x187804=_0x12b6bd;for(var _0x4280ec=this[_0x187804(0x1dd)],_0x589572=_0x47e547[_0x45804f]^_0x251b9d[0x0],_0x41d326=_0x47e547[_0x45804f+0x1]^_0x251b9d[0x1],_0x4cc3e5=_0x47e547[_0x45804f+0x2]^_0x251b9d[0x2],_0x137e1b=_0x47e547[_0x45804f+0x3]^_0x251b9d[0x3],_0x1d7d37=0x4,_0xe2ab89=0x1;_0xe2ab89<_0x4280ec;_0xe2ab89++){var _0x17ddbb=_0x59e741[_0x589572>>>0x18]^_0x535d55[_0x41d326>>>0x10&0xff]^_0x1425a7[_0x4cc3e5>>>0x8&0xff]^_0x14b9b4[_0x137e1b&0xff]^_0x251b9d[_0x1d7d37++],_0x2bd8a0=_0x59e741[_0x41d326>>>0x18]^_0x535d55[_0x4cc3e5>>>0x10&0xff]^_0x1425a7[_0x137e1b>>>0x8&0xff]^_0x14b9b4[_0x589572&0xff]^_0x251b9d[_0x1d7d37++],_0x1a1c6d=_0x59e741[_0x4cc3e5>>>0x18]^_0x535d55[_0x137e1b>>>0x10&0xff]^_0x1425a7[_0x589572>>>0x8&0xff]^_0x14b9b4[_0x41d326&0xff]^_0x251b9d[_0x1d7d37++],_0x4d421d=_0x59e741[_0x137e1b>>>0x18]^_0x535d55[_0x589572>>>0x10&0xff]^_0x1425a7[_0x41d326>>>0x8&0xff]^_0x14b9b4[_0x4cc3e5&0xff]^_0x251b9d[_0x1d7d37++];_0x589572=_0x17ddbb,_0x41d326=_0x2bd8a0,_0x4cc3e5=_0x1a1c6d,_0x137e1b=_0x4d421d;}var _0x17ddbb=(_0x53d902[_0x589572>>>0x18]<<0x18|_0x53d902[_0x41d326>>>0x10&0xff]<<0x10|_0x53d902[_0x4cc3e5>>>0x8&0xff]<<0x8|_0x53d902[_0x137e1b&0xff])^_0x251b9d[_0x1d7d37++],_0x2bd8a0=(_0x53d902[_0x41d326>>>0x18]<<0x18|_0x53d902[_0x4cc3e5>>>0x10&0xff]<<0x10|_0x53d902[_0x137e1b>>>0x8&0xff]<<0x8|_0x53d902[_0x589572&0xff])^_0x251b9d[_0x1d7d37++],_0x1a1c6d=(_0x53d902[_0x4cc3e5>>>0x18]<<0x18|_0x53d902[_0x137e1b>>>0x10&0xff]<<0x10|_0x53d902[_0x589572>>>0x8&0xff]<<0x8|_0x53d902[_0x41d326&0xff])^_0x251b9d[_0x1d7d37++],_0x4d421d=(_0x53d902[_0x137e1b>>>0x18]<<0x18|_0x53d902[_0x589572>>>0x10&0xff]<<0x10|_0x53d902[_0x41d326>>>0x8&0xff]<<0x8|_0x53d902[_0x4cc3e5&0xff])^_0x251b9d[_0x1d7d37++];_0x47e547[_0x45804f]=_0x17ddbb,_0x47e547[_0x45804f+0x1]=_0x2bd8a0,_0x47e547[_0x45804f+0x2]=_0x1a1c6d,_0x47e547[_0x45804f+0x3]=_0x4d421d;},'keySize':0x100/0x20});_0x54b0e9[_0x12b6bd(0x3d2)]=_0x4fdf81[_0x12b6bd(0x41e)](_0x5e1f30);}()),_0x35f3c4[_0x59c204(0x3d2)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x2017aa(0x3b1)],at;function Xi(){return at||(at=0x1,function(_0x23a8a4,_0x2bc11f){(function(_0x372066,_0x55f2cf){var _0x3995f3=_0x30c8;_0x23a8a4[_0x3995f3(0x3b1)]=_0x55f2cf(ee());}(Ji,function(_0x32915f){var _0x33bb7a=_0x30c8;return _0x32915f[_0x33bb7a(0x325)]['Utf8'];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x573758=_0x2017aa;return ct||(ct=0x1,function(_0x34b43e,_0x74c08a){(function(_0x46c1f8,_0x56391b){_0x34b43e['exports']=_0x56391b(ee());}(en,function(_0x50d772){return(function(){var _0x3eb49b=_0x30c8;if(typeof ArrayBuffer==_0x3eb49b(0x468)){var _0x14ba6b=_0x50d772,_0x4dabde=_0x14ba6b['lib'],_0x2a32a5=_0x4dabde[_0x3eb49b(0x4c9)],_0x4ee654=_0x2a32a5[_0x3eb49b(0x1c4)],_0x46738f=_0x2a32a5[_0x3eb49b(0x1c4)]=function(_0x326afe){var _0x348025=_0x3eb49b;if(_0x326afe instanceof ArrayBuffer&&(_0x326afe=new Uint8Array(_0x326afe)),(_0x326afe instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x326afe instanceof Uint8ClampedArray||_0x326afe instanceof Int16Array||_0x326afe instanceof Uint16Array||_0x326afe instanceof Int32Array||_0x326afe instanceof Uint32Array||_0x326afe instanceof Float32Array||_0x326afe instanceof Float64Array)&&(_0x326afe=new Uint8Array(_0x326afe['buffer'],_0x326afe['byteOffset'],_0x326afe[_0x348025(0x2d4)])),_0x326afe instanceof Uint8Array){for(var _0x43fb07=_0x326afe[_0x348025(0x2d4)],_0x2949a6=[],_0xa58c02=0x0;_0xa58c02<_0x43fb07;_0xa58c02++)_0x2949a6[_0xa58c02>>>0x2]|=_0x326afe[_0xa58c02]<<0x18-_0xa58c02%0x4*0x8;_0x4ee654[_0x348025(0x1d8)](this,_0x2949a6,_0x43fb07);}else _0x4ee654[_0x348025(0x416)](this,arguments);};_0x46738f[_0x3eb49b(0x1e1)]=_0x2a32a5;}}()),_0x50d772['lib']['WordArray'];}));}(Re)),Re[_0x573758(0x3b1)];}var nn=tn();function _0x30c8(_0x10bebf,_0x4ad6d9){var _0xd0f4f3=_0xd0f4();return _0x30c8=function(_0x30c8ac,_0x452263){_0x30c8ac=_0x30c8ac-0x199;var _0x31c921=_0xd0f4f3[_0x30c8ac];return _0x31c921;},_0x30c8(_0x10bebf,_0x4ad6d9);}const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x2017aa(0x3b1)],ht;function on(){return ht||(ht=0x1,function(_0x4faaac,_0x1b46f1){(function(_0x3c598f,_0x632366,_0x4e74cc){var _0x282c6d=_0x30c8;_0x4faaac[_0x282c6d(0x3b1)]=_0x632366(ee(),Pt());}(sn,function(_0x48af67){var _0xcdd22e=_0x30c8;return _0x48af67[_0xcdd22e(0x307)][_0xcdd22e(0x4c0)]={'pad':function(){},'unpad':function(){}},_0x48af67[_0xcdd22e(0x307)]['NoPadding'];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x153e3c,_0x2ae828){var _0x33996c=_0x2017aa;const _0x6e8e5f=_0x2ae828-_0x153e3c[_0x33996c(0x42c)]%_0x2ae828,_0x2e6cb6=String[_0x33996c(0x2c6)](_0x6e8e5f)['repeat'](_0x6e8e5f);return _0x153e3c+_0x2e6cb6;}function _n(_0x4d85d9,_0x4aa45c){var _0x2e9741=_0x2017aa;const _0x16ccef=rn[_0x2e9741(0x437)](0x10),_0x3ed164=hn(_0x4d85d9,0x10),_0x460dfb=qi[_0x2e9741(0x4c1)](Qi[_0x2e9741(0x243)](_0x3ed164),ot['parse'](_0x4aa45c),{'iv':_0x16ccef,'padding':cn});return _0x16ccef[_0x2e9741(0x3fe)](_0x460dfb[_0x2e9741(0x1d5)])[_0x2e9741(0x25e)](ot);}function ln(){var _0x2cb58c=_0x2017aa;const _0x380e5d=xt[_0x2cb58c(0x3a9)]()['__Key__'];if(_0x380e5d){const _0x1cf4fd={'time':Math[_0x2cb58c(0x1f1)](Date[_0x2cb58c(0x502)]()/0x3e8),'domain':location['hostname']};return _n(JSON[_0x2cb58c(0x3ac)](_0x1cf4fd),_0x380e5d);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x2b4a72,_0x3eff84,_0x12f9ef,_0x42b1e6)=>{var _0x303571=_0x2017aa;for(var _0x3cdfe7=_0x42b1e6>0x1?void 0x0:_0x42b1e6?un(_0x3eff84,_0x12f9ef):_0x3eff84,_0x55268f=_0x2b4a72[_0x303571(0x42c)]-0x1,_0x458696;_0x55268f>=0x0;_0x55268f--)(_0x458696=_0x2b4a72[_0x55268f])&&(_0x3cdfe7=_0x458696(_0x3cdfe7)||_0x3cdfe7);return _0x3cdfe7;},vn=(_0x5e68b0,_0x3d3854)=>(_0x53146b,_0x18c7ec)=>_0x3d3854(_0x53146b,_0x18c7ec,_0x5e68b0);let Ne=class{constructor(_0xafe76a){var _0x1e48a5=_0x2017aa;this[_0x1e48a5(0x329)]=_0xafe76a,this[_0x1e48a5(0x379)]();}[_0x2017aa(0x379)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4136cd,_0xb0a544)=>{var _0x1c6512=_0x30c8;const _0x353d76=_0x4136cd[_0x1c6512(0x41d)],_0x2b8e74=ln();return _0x2b8e74&&_0x353d76[_0x1c6512(0x342)](_0x1c6512(0x217),_0x2b8e74),_0xb0a544(_0x4136cd);}});}};Ne=dn([vn(0x0,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x21258d,_0x57834d,_0x55761d,_0x5a018c)=>{for(var _0x381a9d=_0x5a018c>0x1?void 0x0:_0x5a018c?Sn(_0x57834d,_0x55761d):_0x57834d,_0x4c6cae=_0x21258d['length']-0x1,_0x2fd23d;_0x4c6cae>=0x0;_0x4c6cae--)(_0x2fd23d=_0x21258d[_0x4c6cae])&&(_0x381a9d=_0x2fd23d(_0x381a9d)||_0x381a9d);return _0x381a9d;},Me=(_0x2385f2,_0x1ed671)=>(_0x5bf854,_0x1740bd)=>_0x1ed671(_0x5bf854,_0x1740bd,_0x2385f2);exports['DataLoaderService']=class extends a[_0x2017aa(0x34a)]{constructor(_0x2b48ac,_0x42ff06,_0x3f151b){var _0x53477d=_0x2017aa;super(),A(this,'_unitInfo$',new j[(_0x53477d(0x378))](null)),A(this,_0x53477d(0x344),this[_0x53477d(0x4e6)][_0x53477d(0x4dd)]()),(this[_0x53477d(0x261)]=_0x2b48ac,this[_0x53477d(0x2d1)]=_0x42ff06,this[_0x53477d(0x1e8)]=_0x3f151b);}async[_0x2017aa(0x2a7)](_0x534113,_0xf389e9,_0x562cb){var _0x176a7d=_0x2017aa;this[_0x176a7d(0x4e6)][_0x176a7d(0x498)]({'unitId':_0x534113,'type':_0xf389e9,'subUnitId':_0x562cb});let _0x34f442=null;switch(_0xf389e9){case X['UNIVER_SHEET']:{_0x34f442=await this[_0x176a7d(0x4ea)](_0x534113);break;}case X[_0x176a7d(0x1d3)]:{_0x34f442=await this[_0x176a7d(0x251)](_0x534113);break;}default:{this['_logService'][_0x176a7d(0x227)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x34f442;}async[_0x2017aa(0x4ea)](_0x16cb68){var _0x439c40=_0x2017aa,_0x259f3b;let _0x3afb58=0x0;const _0x2a5cf7=await((_0x259f3b=this[_0x439c40(0x1e8)])==null?void 0x0:_0x259f3b[_0x439c40(0x49b)](_0x16cb68));return _0x2a5cf7&&(_0x2a5cf7[_0x439c40(0x3ff)]||_0x2a5cf7[_0x439c40(0x40c)]['length']!==0x0)&&(_0x3afb58=_0x2a5cf7[_0x439c40(0x510)]),_0x3afb58===0x0&&this[_0x439c40(0x261)][_0x439c40(0x4d7)](_0x439c40(0x1fd),_0x439c40(0x2c1)),this[_0x439c40(0x2d1)]['loadSheet'](_0x16cb68,_0x3afb58);}async[_0x2017aa(0x251)](_0x1ce136){var _0x2fe1d9=_0x2017aa,_0x55399a;let _0x1150fc=0x0;const _0x272700=await((_0x55399a=this[_0x2fe1d9(0x1e8)])==null?void 0x0:_0x55399a[_0x2fe1d9(0x49b)](_0x1ce136));return _0x272700&&(_0x272700['awaitingChangeset']||_0x272700['mutations'][_0x2fe1d9(0x42c)]!==0x0)&&(_0x1150fc=_0x272700[_0x2fe1d9(0x510)]),_0x1150fc===0x0&&this['_logService'][_0x2fe1d9(0x4d7)](_0x2fe1d9(0x1fd),_0x2fe1d9(0x2c1)),this[_0x2fe1d9(0x2d1)][_0x2fe1d9(0x38e)](_0x1ce136,_0x1150fc);}},exports[_0x2017aa(0x41f)]=fn([Me(0x0,a[_0x2017aa(0x3bd)]),Me(0x1,a[_0x2017aa(0x4fc)](g[_0x2017aa(0x331)])),Me(0x2,a['Optional'](z))],exports['DataLoaderService']);var pn=Object[_0x2017aa(0x36a)],gn=(_0x53e469,_0x537b70,_0x318012,_0xc8328d)=>{for(var _0x23e0b9=_0xc8328d>0x1?void 0x0:_0xc8328d?pn(_0x537b70,_0x318012):_0x537b70,_0x52a49b=_0x53e469['length']-0x1,_0x2b9485;_0x52a49b>=0x0;_0x52a49b--)(_0x2b9485=_0x53e469[_0x52a49b])&&(_0x23e0b9=_0x2b9485(_0x23e0b9)||_0x23e0b9);return _0x23e0b9;},xe=(_0x4e34c2,_0x2aadb2)=>(_0x4e1acf,_0x143586)=>_0x2aadb2(_0x4e1acf,_0x143586,_0x4e34c2);const In=[_0x2017aa(0x50b),_0x2017aa(0x2c5),'image/jpg',_0x2017aa(0x1cc),_0x2017aa(0x2c0)],mn=0x5*0x400*0x400,En=_0x2017aa(0x354),Cn=_0x2017aa(0x37c),Tn=_0x2017aa(0x4f8),bn=_0x2017aa(0x27b);function _0xd0f4(){var _0x247fb3=['EvpKDF','_candidateSocket','liveShareNewHost','name','put','getConfig','HEARTBEAT_INTERVAL','_getCtorByUniverType','fetchMiss','/collaborator','_substituteRedoStack','onload','_state','HELLO','unsubscribe','[CollaborationEntity]','EMAIL_HAS_BEEN_BOUND','fetchMissingChangesets','Utf8','_sessionStatus$','DEFAULT_COLLAB_WEB_SOCKET_URL','ERROR_IMAGE','fromCollab','APPLY_NON_SEQUENTIAL_REVISION','c2Prime','POST','HttpImport','CollaborationSession','_transformStack','retryConnectingInterval','onMissingChangesets','addHandlerCallback','_onRemoteRetry','bind','disableLocalCache','reject','mapDocumentTypeToUniverType','Pkcs7','replace','getCollabEntity','PendingState','APPLY_PERMISSION_DENIED','_collaborationPaused','c1Prime','_updateState','mergeOverrideWithDependencies','_doCreateSocket','function','COLLAB_WEB_SOCKET_URL_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','padding','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[OfflineState]:\x20received\x20acknowledgement.','_shouldReportTelemetry','SheetTransformSelectionsService','infoRsp','CollaborationEntity','CollaborationController','createIdentifier','_userManagerService','InsertSheetMutation','setCurrentUser','_state$','reduce','ICommandService','/rev/','_replayCachedMutations','FAIL','[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.','_incrementRevisionNumber','then','_tryReconnect','TOO_MANY_REQUESTS','getUnitId','UNIVER_SLIDE','getImage','_reverseMap','csShouldRetryEvent','_commandService','_unlockTransition','\x20in\x20_schedule.','/unit/','HTTPService','_eventService','requestParams','randomBytes','_getUndoStack','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','initWorkbookPermissionChange','RevisionService','APPLY_REVISION_CONFILICT','_instanceService','_substituteUndoStack','_doCryptBlock','_keySchedule','next','confirm','[UniverCollaborationClientPlugin]','loadOfflineData','permissionRejEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','status$','compose','toStringTag','editing\x20status\x20changed\x20to','create','collaboratorID','AUTHZ_URL_KEY','NOT_COLLAB','PERMISSION_DENIED','_singleActiveUnitService','LocaleService','HmacMD5','_executeRemoteChangeset','eventID','crypto','_getAPIPrefix','WECHAT_HAS_BEEN_BOUND','algo','equals','Tools','getUnit','UNIVER_PROJECT','getTypeOfUnitAdded$','_process','baseRev','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','Disposable','_initDependencies','auth.needGotoLoginAlert','ENSURE_SNAPSHOT_EXECUTION','code','People','joinEvent','NoPadding','encrypt','SheetPermissionInitController','commentUpdateEvent','CONNECTOR_DATA_TOO_LARGE','_onUserJoin','values','_parse','awaiting','WordArray','_waitForHeartbeatResponse','mixIn','deepClone','_sendHeartbeatTimer','UNISCRIPT_RUN','_getUploadFileURL','DEFAULT_FILE_NAME','[PendingState]:\x20unhandled\x20univer\x20type:\x20','compute','_clearRedo','socketService','commentUpdate$','ivSize','debug','onRemoteChangeset','_unitID','lib','_type','salt','asObservable','_onCombEvent','pending','COLLAB_SUBMIT_CHANGESET_URL_KEY','onSendChangeset','incrementRevOfUnit','LocalUndoRedoService','_transformIMECache','socket\x20close','_unitInfo$','CHANGESET_SHOULD_RETRY','title','LIVESHARE_NEW_HOST','_loadSheet','_sessions','&to=','_clearScheduledTask','_cipher','getUnitType','fetch_missing','CollaborativeUndoRedoService','COMPLETION_FINISHED','createEncryptor','_transformService','hasOwnProperty','startTime','failed\x20to\x20apply\x20missed\x20changesets!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','submit\x20changeset\x20error!','95774HNmUlJ','waitForRoom$','Inject','event$','CHANGESET_ACK','subject','_mode','_key','now','OpenSSL','_commentService','_collabSessionService','SyncedState','charCodeAt','NO_OTHER_CLIENTS_EDITING','list','execute','image/png','isTransformMutationsWithChangesetSuccess','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/block/','_snapshotServerService','rev','@univerjs-pro/collaboration','ISnapshotServerService','reset','_retryConnectingTimer','[FetchMissState]','roles','entries','getSheetId','string','_HTTPService','selections','_handlerCallback','firstValueFrom','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_permissionService','SYNCED','complete','updateCursorEvent','MD5','synced','LOCAL_CACHE_INTERVAL','OTHER_CLIENTS_EDITING','_members$','registerHTTPInterceptor','sequenceExecute','removeMember','objectID','MUTATION','leaveEvent','[CollaborationSessionService]','[OfflineState]:\x20received\x20rejection.','210XwPWZz','@univerjs/telemetry','from','SUBMIT_CHANGESET_TIMEOUT','_onRecvEvent','saveSnapshot','updateCollaborator','_roomMembers','@univerjs/docs','splice','_getSendChangesetTimeout','_collaborationUIEventService','memberID','_collaborationSessionService','COMPRESS_MUTATION_APPLY','cmd','_onRemoteRejected','MOBILE_HAS_BEEN_BOUND','toDisposable','CollaborationSocketService','CHANGESET_REVISION_CONFILICT','CommentService','_exhaustRemoteChangesetQueue','clear','_compressMutationService','init','APPLY_REJECT','WorkbookEditablePermission','_changesetReqId','CollaborationUIEventId','getCurrentUser','ThresholdInterceptorFactory','INVITE_CODE_REQUIRED','image/gif','revision','?size=','toggleOnline','isTransformChangesetsSuccess','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','UNIVER_DOC','onTransformSelections','ciphertext','href','HEARTBEAT_TIMEOUT_KEY','call','UserManagerService','transformSelections','state','INVITE_CODE_ALREADY_BOUND','_nRounds','UNKNOWN_CMD','collaborators','UNKNOWN_CODE','prototype','disposeWithMe','encryptBlock','/-/object/-/batch_allowed','YUUMI_URL_COL_OUT_OF_RANGE','socket\x20open.','getAllMembers','_localCacheService','_tryEnsureSocket','cfg','__esModule','keySize','isPermissionRej','HttpExport','updatePermissionPoint','SerializableCipher','floor','getWorkbookSelections','enableOfflineEditing','111lXWuhD','getLatestCsReqIdBySid','univer-pro.collaboration-client.single-active-unit-service','_imageSourceCache','_queuedRemoteChangesets','[SyncedState]:\x20received\x20acknowledgement.','PY_RUNTIME_SCRIPT_ERROR','objectType','CollaborationEvent','[DataLoaderService]','getUnitOnRev','take','COMMENT_UPDATE','FetchingMissState','_transformUndoredo','transformChangesets','_onUserLeave','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationState]:\x20apply\x20error!','/universer-api/authz','INVALID_ARGUMENT','_socketReady','capture','CLOSE_ROOM','_initMergeInterceptor','UniverNetworkPlugin','localeService','IConfigService','_iKey','_onRemoteChangeset','_append','_submitChangeset','CollaborationUIEventService','ImageUploadStatusType','createInstance','x-univer-host','b64DecodeUnicode','\x0aCurrent:\x20','_onMessage','_init','patch','_getRedoStack','getValue','session','unitId\x20is\x20not\x20found','location','onTransformState','SHA1','AwaitingWithPendingState','msCrypto','setWaitCount','error','isArray','parseChangesetToProtocol','2402792lQKCKm','onMissedChangesetFetched','_applyRemoteChangeset','_revisionService','_keyPriorReset','MemberService','onRemoteRetry','_onLocalMutation','reverse','FETCH_MISSING','BufferedBlockAlgorithm','_isPermissionRej','save\x20fail\x20reason\x20is\x20','ImageSourceType','status','UUID','/new_changes','_ENC_XFORM_MODE','SNAPSHOT_SERVER_URL_KEY','CBC','userID','_localeService','Malformed\x20UTF-8\x20data','getInterceptPoints','m2Prime','parse','_onConnectionFailed','LICENSE_MAX_UNITS_EXCEEDED','_retryCount','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','open$','message$','members$','originalMeta','IDLE','transformMutationsWithChangeset','ONLINE','encode','_status$','_loadDoc','LICENSE_EXPORT_SIZE_EXCEEDED','_removeRoom','_networkConditionService','_resendTimer','JOIN','Module','UPDATE_PERMISSION_OBJ','_disableEditing','ConflictState','dispose','_sendHeartbeat','CollaborationStatus','toString','MSG_FOR_ERROR','_remoteChangesetQueue','_logService','toggleOffline','Base64','_pendingMutations','closeSession','onTransformIME','MentionIoHttpService','_getLoginPath','find','onSyncEditingCollabCursor','readInt32LE','ITelemetryService','OfflineState','UPDATE_CURSOR','_commentUpdate$','getTypeOfUnitDisposed$','getRoom','localCacheService','reqId','_initCloseConn','COLLAB_SUBMIT_CHANGESET_URL','getCurrentRevOfUnit','_toggleOnline','_configService','50626emfIFI','method','/universer-api/file/{fileID}/sign-url','formatter','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initUnitPermissionChange','unknown','not_collab','_invKeySchedule','updateOfflineData','USERS_LEAVE','fetching\x20missing\x20changesets\x20from\x20','HMAC','sessionStatus$','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_REJ','LOCAL_CACHE_INTERVAL_KEY','_schedule','_onJoinRoomEvent','UnitEmbedded','changesets','_entityInit$','_changesetSessionId','_registerDependencies','UNRECOGNIZED','YUUMI_NO_CUBOID_FOR_QUESTION','_rescheduleHeartbeat','_transformStateCache','BASE64','867276tUpfmc','_doReset','toLowerCase','substr','NOT_FOUND','_clearUndo','NEW_CHANGESETS','{fileID}','shareReplay','_createSocket','_fetchMissChangesets','_hasher','_createHandler','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','pipe','_awaitingChangeset','loadUnit','snapshotServerUrl','listCollaborators','_waitCount','_stopTelemetryCollaborationNewChangeset','textRanges','LEAVE','_scheduleCompleteTimestamp','OTHER_CLIENT_EDITING','Encryptor','kdf','_onConnectionOpen','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','\x20-\x20','randomUUID','Subject','INGEST','UniverCollaborationClientPlugin','_acknowledgedAwaitingChangeset','onRemoteAck','_change$','_onFetchMissResult','Undefined','IUndoRedoService','findIndex','image/bmp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getActiveSheet','createDecryptor','Workbook','image/jpeg','fromCharCode','_socketMessageSubscription','stopTime','params','Injector','LIVESHARE_OPERATION','refreshPermission','StreamCipher','append','onCommandExecuted','sin','_snapshotService','catch','getSheetBlock','byteLength','_resendTimeout','getCurrentSelections','send','_throwTelemetryCollaborationNewChangeset','transformUndoRedo','/universer-api/uniscript','size','_sender','_onOffline','UnitSnapshot','GLOBAL_ROOMS_CNT_EXCEEDS','default','_undoStacks','session.room-full','UniverCollaborationPlugin','COMPRESS_MUTATION_SEND','CONFLICT','session.room-cnt-exceeds','_transitionLocked','_decreaseWaiting','push','_nDataBytes','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','interceptor','_entities','_roomCreated$','LIVESHARE_TERMINATE','[CollaborationSession]','awaiting_with_pending','_handler','collaMsg','takeUntil','type','ERROR_EXCEED_SIZE','sendChangesetTimeout','_onRemoteACK','filter','LIVESHARE_FETCH_OPERATIONS','AuthzIoHttpService','_lockTransition','_getAPIPrefixPath','8062984yZDMDK','session.room-permission-denied','SOCKET_FAILED','/allowed','signUrlServerUrl','isTransformMutationsWithChangesetFailure','SUBMIT_CHANGESET','merge','_joinRoom','pad','uploadFileServerUrl','OFFLINE','get','deserializeToCombResponse','max','extend','_undoRedoService','USERS_ENTER','Could\x20not\x20dynamically\x20require\x20\x22','_xformMode','EmptyMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createInitialState','putCollaborators','offline','IUniverInstanceService','IPermissionService','SHOULD_CLOSE_CONN','_oKey','_telemetryInfo','finalize','_socket$','delay','onRemoteRej','getMemberID','iterations','saveSheetBlock','sid','onTransformRemoteChangesetByStateCache','enc','updatePermissionObjEvent','unit-cache-','resolve','_httpService','_clearHeartbeatTimer','SOCKET_FAILED_RETRY','IMentionIOService','_updateLocalCache','_injector','forEach','_hash','SnapshotService','add','_sendingTimer','LICENSE_DISTRO_REJECTED','entityInit$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getLocalCacheKey','COLLAB_WEB_SOCKET_URL','_scheduleCollaborationTimeoutTimer','_checkMissing','hasher','error$','clamp','HTTPRequest','_memberService','SnapshotServerOverHTTPService','sessionStatus','set','univer-pro.collaboration-client-socket-service','unitInfo$','reconnect','min','__creator','/object/','JOIN_ROOM_FULL','RxDisposable','mode','CollaborationImageIoService','YUUMI_RATE_OVER_LIMIT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isInternalEditorID','map','[PendingState]:\x20received\x20rejection.','_clearLocalCache','_prevBlock','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','JOIN_ROOM_FAILED','ALREADY_EXISTS','update','_transformSelections','YUUMI_ASYNCIO_CANCELLED','close$','SNAPSHOT_URL_KEY','_members','_clearCollaborationTimeoutTimer','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INVITE_CODE_HAS_BEEN_UES','UNDEFINED','emitEvent','blockSize','setConfig','LICENSE_IMPORT_SIZE_EXCEEDED','BlockCipher','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','authzUrl','_getDownloadEndpointURL','Plugin','getOwnPropertyDescriptor','PSEUDO_FETCH_MISSING_RESULT','focused$','JSONX','MentionType','_onConflict','HmacSHA1','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univer-pro.collaboration-client.network-condition.service','encodeURIComponent','sheets','objects','listRoles','JOINING','BehaviorSubject','_initRequestHeader','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','textEncoder','/universer-api/stream/file/upload','[PendingState]:\x20received\x20acknowledgement.','routeKey','_doProcessBlock','UserProfileImg','url','[SyncedState]:\x20received\x20rejection.','session.room-not-exists','_resendWithTimeout','deleteCollaborator','snapshot','LIVESHARE_REQUEST_HOST','unitID','collabWebSocketUrl','CollaborationSessionService','createSocket','_createInitialStateImpl','serializeCombRequest','loadDoc','UNIVER_SHEET','PENDING','&source=','_sheetTransformSelectionsService','collaboration-client.local-cache-service','_map','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','concatMap','collaboration_new_changeset','subUnitId','getCollabEntity$','/universer-api/snapshot/','ICollaborationSocketService','telemetry\x20info\x20is\x20not\x20initialized','Base','UniverInstanceType','INVALID_INVITE_CODE','session.join-failed','PERSON','body','DependentOn','range','ITransformService','uniscriptRunEvent','64914TIjPzi','result','getGlobalObject','UNIVER_UNKNOWN','ERROR_IMAGE_TYPE','stringify','Quantity','join','executeCommand','Error\x20on\x20receiving\x20event','exports','transformStack\x20failed!','_clearTimeoutTimer','FileId','RETRY_CONNECTING_MAX_COUNT_KEY','onTransformRemoteChangesetByIMECache','conflict','_transformRemoteChangesetByStateCache','LOGIN_FAILED','_event$','_clearRetryConnectingTimer','responseType','ILogService','has','format','getFocusedUnit','_telemetryService','/role','objectActions','socket$','appendMutation','_minBufferSize','onStateChange','RichTextEditingMutation','onlyLocal','USER_NOT_INVITED_CODE','_socketService','Optional','every','PERMISSION_REJ','_data','pluginName','setShowComponents','AES','_doFinalize','dispose$','HEARTBEAT','state$','SNAPSHOT_INVALID_SNAPSHOT','3015625JfQglJ','CompressMutationService','_iv','enableSingleActiveInstanceLock','_replaceFileID','_getCurrentRevision','AWAITING','clone','CipherParams','\x20to\x20','HEARTBEAT_TIMEOUT','unitId','target','getMember','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/universer-api/oidc/authpage','ISocketService','onLocalMutation','_createHmacHelper','_startCollaboration','_univerInstanceService','resend','Cipher','rng','APPLY_DUPLICATED','override','generateRandomId','requireSession','fetchThroughInterceptors','AwaitingState','LOGIN_URL_KEY','Hasher','online$','_redoStacks','post','SetSelectionsOperation','copyFileMeta','SheetCollaborationEntity','concat','awaitingChangeset','_transformRemoteChangesetByIMECache','decryptBlock','HEARTBEAT_INTERVAL_KEY','actions','startsWith','getTime','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getRandomValues','IImageIoService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_SUBSCRIPTION_NOT_FOUND','SEND_CHANGESET_TIMEOUT_KEY','mutations','csRejEvent','_collaborationTimeoutTimer','data','updateMember','JOIN_ROOM_NOT_EXISTS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','slice','ISingleActiveUnitService','processBlock','apply','Decryptor','close','decrypt','_listenToNetworkCondition','resourceIDs','DocCollaborationEntity','headers','_createHelper','DataLoaderService','sigBytes','charAt','delete','action','change$','_updateStatus','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','enableAuthServer','RECV','CommandType','connection\x20error','/resources','length','_timeoutTimer','[CollaborationUndoRedoService]','_config','IContextService','words','shouldCloseConn','Rectangle','allowed','_toggleOffline','touchDependencies','random','src'];_0xd0f4=function(){return _0x247fb3;};return _0xd0f4();}exports['CollaborationImageIoService']=class{constructor(_0x361a51,_0x40e765,_0x5c010d){var _0x56ec9b=_0x2017aa;A(this,_0x56ec9b(0x2aa),0x0),A(this,_0x56ec9b(0x2bb),new j['Subject']()),A(this,_0x56ec9b(0x424),this[_0x56ec9b(0x2bb)]),A(this,_0x56ec9b(0x1f7),new Map()),(this['_httpService']=_0x361a51,this[_0x56ec9b(0x278)]=_0x40e765,this[_0x56ec9b(0x3ec)]=_0x5c010d);}[_0x2017aa(0x226)](_0x2ad5ea){var _0x24b6dd=_0x2017aa;this['_waitCount']=_0x2ad5ea,this[_0x24b6dd(0x2bb)]['next'](_0x2ad5ea);}['getImageSourceCache'](_0x58a5c9,_0x1125c9){var _0x534043=_0x2017aa;if(_0x1125c9===J[_0x534043(0x237)][_0x534043(0x295)]){const _0x46d53b=new Image();return _0x46d53b[_0x534043(0x438)]=_0x58a5c9,_0x46d53b;}return this[_0x534043(0x1f7)][_0x534043(0x30a)](_0x58a5c9);}['addImageSourceCache'](_0x2f18b5,_0x338005,_0x38ced4){var _0x3f1691=_0x2017aa;_0x338005===J[_0x3f1691(0x237)]['BASE64']||_0x38ced4==null||this['_imageSourceCache'][_0x3f1691(0x342)](_0x2f18b5,_0x38ced4);}async[_0x2017aa(0x484)](_0x503cca){var _0x3fdeca=_0x2017aa;try{const _0x4580fd=this['_replaceFileID'](this['_getSignURL'](),''+_0x503cca),_0x186f07=(await this[_0x3fdeca(0x329)][_0x3fdeca(0x30a)](_0x4580fd))[_0x3fdeca(0x3a2)];if(_0x186f07[_0x3fdeca(0x227)]&&_0x186f07[_0x3fdeca(0x227)][_0x3fdeca(0x4bd)]===Ct['OK']){const _0x58377b=new URL(_0x186f07['url'],this[_0x3fdeca(0x368)]())[_0x3fdeca(0x25e)]();return Promise[_0x3fdeca(0x328)](_0x58377b);}return Promise[_0x3fdeca(0x45c)](_0x186f07[_0x3fdeca(0x227)]);}catch(_0x5e9e4f){return Promise[_0x3fdeca(0x45c)](_0x5e9e4f);}}async['saveImage'](_0x110ebe){var _0x345402=_0x2017aa;let _0x3185c3='';if(!In['includes'](_0x110ebe[_0x345402(0x2f5)]))return this[_0x345402(0x2e8)](),Promise[_0x345402(0x45c)](new Error(J[_0x345402(0x215)][_0x345402(0x3ab)]));if(_0x110ebe[_0x345402(0x2db)]>mn)return this['_decreaseWaiting'](),Promise[_0x345402(0x45c)](new Error(J[_0x345402(0x215)][_0x345402(0x2f6)]));try{const _0x4527eb=new FormData();_0x4527eb[_0x345402(0x2ce)]('file',_0x110ebe);const _0x152352=this['_univerInstanceService'][_0x345402(0x3c0)](),_0x510790=_0x152352==null?void 0x0:_0x152352[_0x345402(0x482)]();if(!_0x510790)throw new Error(_0x345402(0x220));const _0x49d68c=this['_getUploadFileURL']()+_0x345402(0x1ce)+_0x110ebe[_0x345402(0x2db)][_0x345402(0x25e)]()+_0x345402(0x391)+Tt[_0x345402(0x28c)]+'&assign='+encodeURIComponent(_0x510790),_0x2798b7=await(await fetch(_0x49d68c,{'method':_0x345402(0x452),'body':_0x4527eb}))['json']();if(typeof _0x2798b7[_0x345402(0x3b4)]!=_0x345402(0x519))return this[_0x345402(0x2e8)](),Promise['reject'](new Error(J[_0x345402(0x215)][_0x345402(0x44e)]));_0x3185c3=_0x2798b7['FileId'];}catch{return this[_0x345402(0x2e8)](),Promise[_0x345402(0x45c)](new Error(J[_0x345402(0x215)][_0x345402(0x44e)]));}return new Promise((_0x2ee266,_0x4165d2)=>{var _0x54bec6=_0x345402;const _0x5db476=new FileReader();_0x5db476['readAsDataURL'](_0x110ebe),_0x5db476[_0x54bec6(0x444)]=_0x268dd4=>{var _0xde45d5=_0x54bec6,_0x3ac383;const _0x16062d=(_0x3ac383=_0x268dd4[_0xde45d5(0x3e4)])==null?void 0x0:_0x3ac383[_0xde45d5(0x3a8)];if(_0x16062d==null){this['_decreaseWaiting'](),_0x4165d2(new Error(J[_0xde45d5(0x215)]['ERROR_IMAGE']));return;}const _0x45655c=a[_0xde45d5(0x4b1)][_0xde45d5(0x3f2)](0x6);_0x2ee266({'imageId':_0x45655c,'imageSourceType':J[_0xde45d5(0x237)][_0xde45d5(0x239)],'source':_0x3185c3,'base64Cache':_0x16062d,'status':J[_0xde45d5(0x215)]['SUCCUSS']}),this[_0xde45d5(0x2e8)]();};});}[_0x2017aa(0x4cf)](){var _0x37dbfe=_0x2017aa,_0xd9f670,_0x372686;const _0x47af20=this[_0x37dbfe(0x278)][_0x37dbfe(0x43e)](En),_0x55cf26=this[_0x37dbfe(0x278)][_0x37dbfe(0x43e)](Y);return(_0x372686=(_0xd9f670=_0x55cf26==null?void 0x0:_0x55cf26[_0x37dbfe(0x308)])!=null?_0xd9f670:_0x47af20)!=null?_0x372686:Cn;}['_getSignURL'](){var _0x5e0455=_0x2017aa,_0x590cd,_0x28328a;const _0x3153f9=this['_configService'][_0x5e0455(0x43e)](Tn),_0x677c73=this[_0x5e0455(0x278)][_0x5e0455(0x43e)](Y);return(_0x28328a=(_0x590cd=_0x677c73==null?void 0x0:_0x677c73[_0x5e0455(0x302)])!=null?_0x590cd:_0x3153f9)!=null?_0x28328a:bn;}[_0x2017aa(0x368)](){var _0x3e9f81=_0x2017aa,_0x3803ff;const _0x3efef7=this[_0x3e9f81(0x278)][_0x3e9f81(0x43e)](Y);return(_0x3803ff=_0x3efef7==null?void 0x0:_0x3efef7['downloadEndpointUrl'])!=null?_0x3803ff:location['origin'];}[_0x2017aa(0x3dc)](_0x7e69e7,_0x18eb9a){var _0xae156=_0x2017aa;return _0x7e69e7[_0xae156(0x45f)](_0xae156(0x29d),_0x18eb9a);}['_decreaseWaiting'](){var _0x798734=_0x2017aa;this[_0x798734(0x2aa)]-=0x1,this['_change$'][_0x798734(0x498)](this[_0x798734(0x2aa)]);}},exports[_0x2017aa(0x34c)]=gn([xe(0x0,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x317)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x2017aa(0x36a)],On=(_0x493c3b,_0xc9bf3e,_0x128e38,_0x42999e)=>{var _0x301346=_0x2017aa;for(var _0x2c5f7c=_0x42999e>0x1?void 0x0:_0x42999e?Rn(_0xc9bf3e,_0x128e38):_0xc9bf3e,_0x1653ab=_0x493c3b[_0x301346(0x42c)]-0x1,_0x49ed09;_0x1653ab>=0x0;_0x1653ab--)(_0x49ed09=_0x493c3b[_0x1653ab])&&(_0x2c5f7c=_0x49ed09(_0x2c5f7c)||_0x2c5f7c);return _0x2c5f7c;},_t=(_0x890669,_0x3a3801)=>(_0x2e5b02,_0x2fbf8c)=>_0x3a3801(_0x2e5b02,_0x2fbf8c,_0x890669);const yn=_0x2017aa(0x207);exports[_0x2017aa(0x267)]=class{constructor(_0x14323b,_0x5c2c12){var _0x1dca90=_0x2017aa;this[_0x1dca90(0x278)]=_0x14323b,this[_0x1dca90(0x51a)]=_0x5c2c12;}[_0x2017aa(0x2fd)](){var _0x39031a=_0x2017aa,_0xe2413,_0x23ad35;const _0xb0aaeb=this[_0x39031a(0x278)][_0x39031a(0x43e)](Ge),_0x14d70a=this[_0x39031a(0x278)][_0x39031a(0x43e)](Y);return(_0x23ad35=(_0xe2413=_0x14d70a==null?void 0x0:_0x14d70a[_0x39031a(0x367)])!=null?_0xe2413:_0xb0aaeb)!=null?_0x23ad35:yn;}async[_0x2017aa(0x509)](_0x1d2e24){var _0x1cbbf8=_0x2017aa;const _0x5e84f2=this['_getAPIPrefixPath']()+_0x1cbbf8(0x442);return{'list':[{'title':_0x1cbbf8(0x4be),'mentions':(await this['_HTTPService'][_0x1cbbf8(0x30a)](_0x5e84f2,{'params':{'objectID':_0x1d2e24['unitId'],'unitID':_0x1d2e24[_0x1cbbf8(0x3e3)]}}))['body'][_0x1cbbf8(0x1df)][_0x1cbbf8(0x350)](_0x419fb1=>({'objectId':_0x419fb1['id'],'name':_0x419fb1['subject'][_0x1cbbf8(0x43c)],'metadata':{'icon':_0x419fb1[_0x1cbbf8(0x4ff)]['avatar']},'label':_0x419fb1['subject'][_0x1cbbf8(0x43c)],'objectType':a[_0x1cbbf8(0x36e)]['PERSON']})),'metadata':{},'type':a[_0x1cbbf8(0x36e)][_0x1cbbf8(0x3a1)]}]};}},exports[_0x2017aa(0x267)]=On([_t(0x0,a['Inject'](a[_0x2017aa(0x20f)])),_t(0x1,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)]))],exports[_0x2017aa(0x267)]);var Nn=Object[_0x2017aa(0x36a)],Dn=(_0x2bc255,_0x178aa5,_0x41fe73,_0x2a4709)=>{var _0x2cdc2a=_0x2017aa;for(var _0x4d3e0e=_0x2a4709>0x1?void 0x0:_0x2a4709?Nn(_0x178aa5,_0x41fe73):_0x178aa5,_0x2aa8dd=_0x2bc255[_0x2cdc2a(0x42c)]-0x1,_0x5f1661;_0x2aa8dd>=0x0;_0x2aa8dd--)(_0x5f1661=_0x2bc255[_0x2aa8dd])&&(_0x4d3e0e=_0x5f1661(_0x4d3e0e)||_0x4d3e0e);return _0x4d3e0e;},ue=(_0x213d31,_0x40982f)=>(_0x3a7a8e,_0x4245a1)=>_0x40982f(_0x3a7a8e,_0x4245a1,_0x213d31);let De=class extends a['RxDisposable']{constructor(_0xccd7ff,_0x4fef87,_0x3d14aa,_0x5817b0,_0x58e476){var _0x32719f=_0x2017aa;super(),this[_0x32719f(0x32e)]=_0xccd7ff,this['_univerInstanceService']=_0x4fef87,this[_0x32719f(0x19a)]=_0x3d14aa,this[_0x32719f(0x1b8)]=_0x5817b0,this[_0x32719f(0x1b6)]=_0x58e476,this[_0x32719f(0x27e)](),this['_initCloseConn']();}[_0x2017aa(0x274)](){var _0x21960a=_0x2017aa;const _0x203e79=async _0x360601=>{var _0x3620f1=_0x30c8;(await this[_0x3620f1(0x1b8)][_0x3620f1(0x3f3)](_0x360601))[_0x3620f1(0x4fd)][_0x3620f1(0x2a5)](V[_0x3620f1(0x2f9)](_0x5cd3ca=>_0x5cd3ca['eventID']===g[_0x3620f1(0x1fc)][_0x3620f1(0x319)]),V['takeUntil'](this[_0x3620f1(0x3d4)]))[_0x3620f1(0x1d2)](_0x3bf92d=>{var _0x5e90ec=_0x3620f1;const _0x516bc2=_0x3bf92d,{reason:_0x5915eb}=_0x516bc2['data'];this['_collaborationUIEventService'][_0x5e90ec(0x361)]({'id':Q[_0x5e90ec(0x20b)],'data':_0x5915eb}),this[_0x5e90ec(0x19a)][_0x5e90ec(0x1ef)](new Z[(_0x5e90ec(0x1c6))](_0x360601)['id'],!0x1),this[_0x5e90ec(0x1b8)][_0x5e90ec(0x265)](_0x360601);});};j[_0x21960a(0x305)](this[_0x21960a(0x3ec)][_0x21960a(0x4b4)](a[_0x21960a(0x39e)][_0x21960a(0x38f)]),this[_0x21960a(0x3ec)][_0x21960a(0x4b4)](a[_0x21960a(0x39e)][_0x21960a(0x1d3)]))[_0x21960a(0x2a5)](V[_0x21960a(0x350)](_0x3e69fa=>_0x3e69fa[_0x21960a(0x482)]()),V[_0x21960a(0x2f9)](_0x2d02fa=>!a[_0x21960a(0x34f)](_0x2d02fa)),V[_0x21960a(0x2f4)](this['dispose$']))[_0x21960a(0x1d2)](_0x4fb355=>{_0x203e79(_0x4fb355);});}[_0x2017aa(0x27e)](){var _0x8a55c1=_0x2017aa;const _0x10e22a=async _0x143806=>{var _0x2923ae=_0x30c8;const _0x524168=await this[_0x2923ae(0x1b8)][_0x2923ae(0x3f3)](_0x143806),_0x33e063=this[_0x2923ae(0x32e)][_0x2923ae(0x30a)](Z[_0x2923ae(0x4c2)]);_0x524168['event$'][_0x2923ae(0x2a5)](V['filter'](_0x51da3f=>_0x51da3f[_0x2923ae(0x4ab)]===g['CollaborationEvent'][_0x2923ae(0x258)]),V[_0x2923ae(0x2f4)](this['dispose$']))['subscribe'](_0xa5fe83=>{var _0x3f78d3=_0x2923ae;const _0xe33623=_0xa5fe83,{objectId:_0x19dd60}=_0xe33623[_0x3f78d3(0x40f)];_0x19dd60===_0x143806?_0x33e063[_0x3f78d3(0x491)](_0x143806):_0x33e063[_0x3f78d3(0x2cc)](_0x143806,_0x19dd60);});};j[_0x8a55c1(0x305)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x8a55c1(0x38f)]))[_0x8a55c1(0x2a5)](V[_0x8a55c1(0x350)](_0x14c85a=>_0x14c85a[_0x8a55c1(0x482)]()),V[_0x8a55c1(0x2f9)](_0x3e29fc=>!a[_0x8a55c1(0x34f)](_0x3e29fc)),V['takeUntil'](this[_0x8a55c1(0x3d4)]))[_0x8a55c1(0x1d2)](_0x1980e9=>{_0x10e22a(_0x1980e9);});}};De=Dn([ue(0x0,a[_0x2017aa(0x4fc)](a[_0x2017aa(0x2ca)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x2017aa(0x318)]),ue(0x3,a[_0x2017aa(0x4fc)](exports['CollaborationSessionService'])),ue(0x4,a[_0x2017aa(0x4fc)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x5f23fd,_0x1ba230,_0x52fdb4,_0x1f1a44)=>{var _0x232ec8=_0x2017aa;for(var _0x2ea032=_0x1f1a44>0x1?void 0x0:_0x1f1a44?Un(_0x1ba230,_0x52fdb4):_0x1ba230,_0x2b63b2=_0x5f23fd[_0x232ec8(0x42c)]-0x1,_0x2ef1ed;_0x2b63b2>=0x0;_0x2b63b2--)(_0x2ef1ed=_0x5f23fd[_0x2b63b2])&&(_0x2ea032=_0x2ef1ed(_0x2ea032)||_0x2ea032);return _0x2ea032;},lt=(_0x412901,_0x3f5315)=>(_0x2b7cfa,_0x26afd1)=>_0x3f5315(_0x2b7cfa,_0x26afd1,_0x412901);exports[_0x2017aa(0x340)]=class{constructor(_0x3f2ac1,_0x574c7f){var _0x1dbc40=_0x2017aa;this[_0x1dbc40(0x278)]=_0x3f2ac1,this[_0x1dbc40(0x329)]=_0x574c7f;}async[_0x2017aa(0x1fe)](_0x2fb863,_0x173d90){var _0x432047=_0x2017aa,_0x29ad12;const {unitID:_0x1dc500,type:_0x455b16,revision:_0x1e9b69=0x0}=_0x173d90,_0x15a11a=this['getSnapshotAPIPath']()+'/'+_0x455b16+_0x432047(0x48a)+_0x1dc500+_0x432047(0x47a)+_0x1e9b69,_0x1b5237=(await this[_0x432047(0x329)][_0x432047(0x30a)](_0x15a11a))[_0x432047(0x3a2)],_0x34f42a=(_0x29ad12=_0x1b5237[_0x432047(0x386)])==null?void 0x0:_0x29ad12['workbook'];if(_0x34f42a){const _0x33eeb8=_0x34f42a==null?void 0x0:_0x34f42a[_0x432047(0x24b)],_0x5c3329=g[_0x432047(0x37b)][_0x432047(0x24f)](g['b64DecodeUnicode'](_0x33eeb8));_0x34f42a[_0x432047(0x24b)]=_0x5c3329,Object[_0x432047(0x517)](_0x34f42a[_0x432047(0x374)])['forEach'](([,_0x4e0bf8])=>{var _0x8a1841=_0x432047;const _0x2a2d01=_0x4e0bf8[_0x8a1841(0x24b)],_0x590807=g[_0x8a1841(0x37b)][_0x8a1841(0x24f)](g[_0x8a1841(0x218)](_0x2a2d01));_0x4e0bf8[_0x8a1841(0x24b)]=_0x590807;});}return _0x1b5237;}async[_0x2017aa(0x2d3)](_0x7d6833,_0x1408a1){var _0xa7924b=_0x2017aa;const {unitID:_0xc3077b,type:_0x366e08,blockID:_0x305f5f}=_0x1408a1,_0x41a1b6=this[_0xa7924b(0x4ad)]()+'/'+_0x366e08+'/unit/'+_0xc3077b+_0xa7924b(0x50e)+_0x305f5f;return(await this['_httpService'][_0xa7924b(0x30a)](_0x41a1b6))['body'];}async['getDeserializedSheetBlock'](_0x4583ee,_0x1c53ab){var _0x500f7e=_0x2017aa;const {unitID:_0x1e1208,type:_0x17d3dc,blockID:_0x46486e}=_0x1c53ab,_0x2c4d85=this[_0x500f7e(0x4ad)]()+_0x500f7e(0x50e)+_0x17d3dc+_0x500f7e(0x48a)+_0x1e1208+_0x500f7e(0x50e)+_0x46486e;return(await this['_httpService'][_0x500f7e(0x30a)](_0x2c4d85))[_0x500f7e(0x3a2)];}async[_0x2017aa(0x44a)](_0x4dd5ba,_0x1636de){var _0x1fba5c=_0x2017aa;const {unitID:_0x53bca1,type:_0x24da17,from:_0x2ac7a4,to:_0x2ab82b}=_0x1636de,_0x54dbf9=this[_0x1fba5c(0x4ad)]()+'/'+_0x24da17+'/unit/'+_0x53bca1+'/fetchmissing?from='+_0x2ac7a4+_0x1fba5c(0x4ec)+_0x2ab82b;return(await this['_httpService']['get'](_0x54dbf9))['body'];}['getSnapshotAPIPath'](){var _0x49688c=_0x2017aa,_0x49b7b0;return(_0x49b7b0=this[_0x49688c(0x278)][_0x49688c(0x43e)](vt))!=null?_0x49b7b0:this[_0x49688c(0x4ad)]();}['_getAPIPrefix'](){var _0x9a7d47=_0x2017aa,_0x58a254,_0x3f0825;const _0x231d8a=this[_0x9a7d47(0x278)][_0x9a7d47(0x43e)](dt),_0x281a77=this[_0x9a7d47(0x278)]['getConfig'](Y);return(_0x3f0825=(_0x58a254=_0x281a77==null?void 0x0:_0x281a77[_0x9a7d47(0x2a8)])!=null?_0x58a254:_0x231d8a)!=null?_0x3f0825:kt;}async['getResourcesRequest'](_0x4ef6aa,_0xdebba8){var _0x1986cb=_0x2017aa;const _0x1b4d5a=_0x1986cb(0x39a)+_0xdebba8['type']+_0x1986cb(0x48a)+_0xdebba8[_0x1986cb(0x388)]+_0x1986cb(0x42b);return(await this[_0x1986cb(0x329)]['get'](_0x1b4d5a,{'params':{'resourceId':JSON[_0x1986cb(0x3ac)](_0xdebba8[_0x1986cb(0x41b)])}}))['body'];}[_0x2017aa(0x1b0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2017aa(0x322)](){var _0x64537e=_0x2017aa;throw new Error(_0x64537e(0x336));}['saveChangeset'](){var _0x1e3efa=_0x2017aa;throw new Error(_0x1e3efa(0x336));}[_0x2017aa(0x3fc)](){var _0x21cf27=_0x2017aa;throw new Error(_0x21cf27(0x336));}[_0x2017aa(0x1f5)](){var _0x5ba0a1=_0x2017aa;throw new Error(_0x5ba0a1(0x336));}},exports[_0x2017aa(0x340)]=An([lt(0x0,a['IConfigService']),lt(0x1,a[_0x2017aa(0x4fc)](q[_0x2017aa(0x48b)]))],exports[_0x2017aa(0x340)]);var Pn=Object['getOwnPropertyDescriptor'],wn=(_0x49cb7d,_0x588d9a,_0x5a8041,_0x3112ba)=>{for(var _0x102b84=_0x3112ba>0x1?void 0x0:_0x3112ba?Pn(_0x588d9a,_0x5a8041):_0x588d9a,_0x949eef=_0x49cb7d['length']-0x1,_0x5ee5af;_0x949eef>=0x0;_0x949eef--)(_0x5ee5af=_0x49cb7d[_0x949eef])&&(_0x102b84=_0x5ee5af(_0x102b84)||_0x102b84);return _0x102b84;},de=(_0x486163,_0x436e07)=>(_0x2900c5,_0x2bf7e8)=>_0x436e07(_0x2900c5,_0x2bf7e8,_0x486163);exports[_0x2017aa(0x4f1)]=class extends a[_0x2017aa(0x4e3)]{constructor(_0x116167,_0x41538e,_0x35f55e,_0x132d4b,_0xc1ff61){var _0x3d2aeb=_0x2017aa;super(_0x116167,_0x41538e,_0x35f55e),this[_0x3d2aeb(0x4f4)]=_0x132d4b,this[_0x3d2aeb(0x261)]=_0xc1ff61;}[_0x2017aa(0x2d9)](_0x2b7a88,_0x2e1edd){var _0x2ee8fa=_0x2017aa;const _0x4c0b17=this['_getUndoStack'](_0x2b7a88);if(_0x4c0b17)try{const _0x25d5ef=this[_0x2ee8fa(0x455)](_0x4c0b17,_0x2e1edd);this[_0x2ee8fa(0x495)](_0x2b7a88,_0x25d5ef);}catch(_0x380569){this[_0x2ee8fa(0x261)][_0x2ee8fa(0x227)](_0x2ee8fa(0x42e),_0x380569),this[_0x2ee8fa(0x29b)](_0x2b7a88);}const _0x32d435=this[_0x2ee8fa(0x21d)](_0x2b7a88);if(_0x32d435)try{const _0x341772=this[_0x2ee8fa(0x455)](_0x32d435,_0x2e1edd);this[_0x2ee8fa(0x443)](_0x2b7a88,_0x341772);}catch(_0x13ddd9){this['_logService'][_0x2ee8fa(0x227)](_0x13ddd9),this['_clearRedo'](_0x2b7a88);}}['_clearUndo'](_0xa56df8){var _0x3ed31a=_0x2017aa;const _0x4d7b8a=this[_0x3ed31a(0x48f)](_0xa56df8);_0x4d7b8a&&(_0x4d7b8a[_0x3ed31a(0x42c)]=0x0,this['_updateStatus']());}[_0x2017aa(0x4d3)](_0x4eb530){var _0x1533ea=_0x2017aa;const _0x38cc4e=this[_0x1533ea(0x21d)](_0x4eb530);_0x38cc4e&&(_0x38cc4e[_0x1533ea(0x42c)]=0x0,this[_0x1533ea(0x425)]());}[_0x2017aa(0x495)](_0x52128f,_0x1c0bdc){var _0xe17c72=_0x2017aa;this[_0xe17c72(0x2e1)]['set'](_0x52128f,_0x1c0bdc),this[_0xe17c72(0x425)]();}['_substituteRedoStack'](_0x1de43c,_0x4bd211){var _0x57adeb=_0x2017aa;this[_0x57adeb(0x3f9)][_0x57adeb(0x342)](_0x1de43c,_0x4bd211),this[_0x57adeb(0x425)]();}[_0x2017aa(0x455)](_0x32af49,_0x55bf7a){var _0xe0cc92=_0x2017aa;const _0xdc1749=[];let _0x50da6d=_0x55bf7a,_0x2abfb9=_0x55bf7a;for(let _0x442eaf=_0x32af49[_0xe0cc92(0x42c)]-0x1;_0x442eaf>=0x0;_0x442eaf--){const {unitID:_0x174bb3,undoMutations:_0x1d8bc5,redoMutations:_0x2b02cf}=_0x32af49[_0x442eaf],_0x4d2caa=this[_0xe0cc92(0x4f4)][_0xe0cc92(0x24d)](_0x50da6d,_0x1d8bc5),_0x2e7b2c=this['_transformService'][_0xe0cc92(0x24d)](_0x2abfb9,_0x2b02cf);if(g[_0xe0cc92(0x303)](_0x4d2caa)||g[_0xe0cc92(0x303)](_0x2e7b2c)){this[_0xe0cc92(0x261)]['error'](_0xe0cc92(0x42e),_0xe0cc92(0x3b2),_0x4d2caa,_0x2e7b2c);break;}_0x50da6d=_0x4d2caa[_0xe0cc92(0x464)],_0x2abfb9=_0x2e7b2c['c1Prime'],_0xdc1749[_0xe0cc92(0x2e9)]({'unitID':_0x174bb3,'undoMutations':_0x4d2caa[_0xe0cc92(0x242)],'redoMutations':_0x2e7b2c[_0xe0cc92(0x242)]});}return _0xdc1749[_0xe0cc92(0x232)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x2017aa(0x317)]),de(0x1,a['ICommandService']),de(0x2,a[_0x2017aa(0x430)]),de(0x3,g[_0x2017aa(0x3a5)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object[_0x2017aa(0x36a)],xn=(_0x1b8ca9,_0x32103b,_0x1f2b81)=>_0x32103b in _0x1b8ca9?Ln(_0x1b8ca9,_0x32103b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f2b81}):_0x1b8ca9[_0x32103b]=_0x1f2b81,kn=(_0x582aac,_0x17b8c9,_0x154dca,_0x6ee475)=>{var _0xceecc5=_0x2017aa;for(var _0x4d8797=_0x6ee475>0x1?void 0x0:_0x6ee475?Mn(_0x17b8c9,_0x154dca):_0x17b8c9,_0x139505=_0x582aac[_0xceecc5(0x42c)]-0x1,_0x49c800;_0x139505>=0x0;_0x139505--)(_0x49c800=_0x582aac[_0x139505])&&(_0x4d8797=_0x49c800(_0x4d8797)||_0x4d8797);return _0x4d8797;},ke=(_0x3b1236,_0x5614da)=>(_0x4e6998,_0x5196fe)=>_0x5614da(_0x4e6998,_0x5196fe,_0x3b1236),Hn=(_0x46c799,_0x165ad3,_0x5dd940)=>xn(_0x46c799,_0x165ad3+'',_0x5dd940);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x2017aa(0x2b8)]=class extends a[_0x2017aa(0x369)]{constructor(_0x30c1b0,_0x44bd30,_0x287c27,_0x362531){var _0x2bfc37=_0x2017aa;super(),A(this,_0x2bfc37(0x42f)),(this[_0x2bfc37(0x261)]=_0x44bd30,this[_0x2bfc37(0x32e)]=_0x287c27,this['_configService']=_0x362531);const {..._0xbcfcd8}=a['merge']({},Jt,_0x30c1b0);if(!_0xbcfcd8['socketService'])throw new Error(_0x2bfc37(0x27d));this[_0x2bfc37(0x42f)]=_0xbcfcd8,this[_0x2bfc37(0x278)][_0x2bfc37(0x363)](Y,_0xbcfcd8);}['onStarting'](){var _0x4d4c73=_0x2017aa;this[_0x4d4c73(0x290)](),this['_initDependencies']();}[_0x2017aa(0x290)](){var _0x28185c=_0x2017aa,_0x5e011d,_0x4c4806;this[_0x28185c(0x32e)][_0x28185c(0x3be)](a['IUndoRedoService'])&&this[_0x28185c(0x261)][_0x28185c(0x227)](_0x28185c(0x49a),_0x28185c(0x2eb));const _0x3cff1a=a[_0x28185c(0x466)]([[a[_0x28185c(0x2be)],{'useClass':exports[_0x28185c(0x4f1)]}],[exports[_0x28185c(0x38a)]],[exports[_0x28185c(0x22f)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports[_0x28185c(0x41f)]],[$e,{'useClass':this[_0x28185c(0x42f)][_0x28185c(0x4d4)]}],[g[_0x28185c(0x512)],{'useClass':exports[_0x28185c(0x340)]}],[a['IAuthzIoService'],{'useClass':exports[_0x28185c(0x2fb)]}],[J[_0x28185c(0x408)],{'useClass':exports[_0x28185c(0x34c)]}],[a[_0x28185c(0x32c)],{'useClass':exports[_0x28185c(0x267)]}],[exports[_0x28185c(0x472)]],[He]],(_0x5e011d=this[_0x28185c(0x42f)])==null?void 0x0:_0x5e011d[_0x28185c(0x3f1)]);if(!((_0x4c4806=this[_0x28185c(0x42f)])!=null&&_0x4c4806[_0x28185c(0x3db)])){const _0x22500c=_0x3cff1a[_0x28185c(0x2bf)](([_0x4ff2ab])=>_0x4ff2ab===ve);_0x22500c!==-0x1&&_0x3cff1a[_0x28185c(0x1b4)](_0x22500c,0x1);}a['registerDependencies'](this[_0x28185c(0x32e)],_0x3cff1a);}[_0x2017aa(0x4ba)](){var _0x392331=_0x2017aa,_0xcf63db,_0x19ea13,_0x416ee2;this[_0x392331(0x32e)][_0x392331(0x30a)](q[_0x392331(0x48b)])[_0x392331(0x1a3)]({'priority':0x14,'interceptor':q[_0x392331(0x1ca)]({'maxParallel':0x6})}),(_0xcf63db=this[_0x392331(0x42f)])!=null&&_0xcf63db[_0x392331(0x1f3)]||(_0x19ea13=this[_0x392331(0x32e)][_0x392331(0x30a)](z,a[_0x392331(0x3ad)]['OPTIONAL']))==null||_0x19ea13[_0x392331(0x45b)](),(_0x416ee2=this[_0x392331(0x42f)])!=null&&_0x416ee2[_0x392331(0x427)]&&a[_0x392331(0x436)](this[_0x392331(0x32e)],[[ye]]),a['touchDependencies'](this['_injector'],[[Ne],[exports[_0x392331(0x472)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x2017aa(0x3d0),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x2017aa(0x3a3)](g[_0x2017aa(0x2e3)],q[_0x2017aa(0x20d)]),ke(0x1,a[_0x2017aa(0x3bd)]),ke(0x2,a[_0x2017aa(0x4fc)](a['Injector'])),ke(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x2017aa(0x4e0)]=mt,exports[_0x2017aa(0x469)]=St,exports[_0x2017aa(0x25d)]=Ve,exports[_0x2017aa(0x1c8)]=Q,exports[_0x2017aa(0x214)]=te,exports[_0x2017aa(0x1c0)]=Be,exports[_0x2017aa(0x44d)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x2017aa(0x2a3)]=$t,exports[_0x2017aa(0x402)]=pt,exports[_0x2017aa(0x1d7)]=je,exports[_0x2017aa(0x39b)]=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0x2017aa(0x414)]=ve,exports[_0x2017aa(0x1a0)]=Gt,exports[_0x2017aa(0x289)]=Wt,exports[_0x2017aa(0x3f6)]=Et,exports[_0x2017aa(0x313)]=qt,exports[_0x2017aa(0x3b5)]=It,exports[_0x2017aa(0x40b)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports['SNAPSHOT_URL_KEY']=vt,exports['SessionStatus']=se,exports['UnitStatus']=Fe,exports[_0x2017aa(0x30b)]=Rt,exports[_0x2017aa(0x337)]=vi,exports[_0x2017aa(0x38d)]=Ot;