@univerjs-pro/collaboration-client 0.5.0-nightly.202411241606 → 0.5.0-nightly.202411261607
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 +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x1cc768=_0x3a60;(function(_0x5ad99d,_0x4e8244){const _0x548516=_0x3a60,_0x567784=_0x5ad99d();while(!![]){try{const _0x417219=-parseInt(_0x548516(0x484))/0x1+-parseInt(_0x548516(0x43c))/0x2*(parseInt(_0x548516(0x2e9))/0x3)+parseInt(_0x548516(0x2db))/0x4*(parseInt(_0x548516(0x21e))/0x5)+-parseInt(_0x548516(0x5af))/0x6+-parseInt(_0x548516(0x2b2))/0x7*(parseInt(_0x548516(0x37e))/0x8)+parseInt(_0x548516(0x18c))/0x9+parseInt(_0x548516(0x321))/0xa;if(_0x417219===_0x4e8244)break;else _0x567784['push'](_0x567784['shift']());}catch(_0x4acacc){_0x567784['push'](_0x567784['shift']());}}}(_0x4d1c,0x33efc));var ji=Object[_0x1cc768(0x244)],$i=(_0x44d6fa,_0x3fe53b,_0x21afa5)=>_0x3fe53b in _0x44d6fa?ji(_0x44d6fa,_0x3fe53b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21afa5}):_0x44d6fa[_0x3fe53b]=_0x21afa5,I=(_0x32f988,_0x262172,_0x3583b1)=>$i(_0x32f988,typeof _0x262172!='symbol'?_0x262172+'':_0x262172,_0x3583b1);Object[_0x1cc768(0x244)](exports,Symbol[_0x1cc768(0x5a3)],{'value':_0x1cc768(0x2d1)});const a=require(_0x1cc768(0xfe)),A=require(_0x1cc768(0x297)),V=require(_0x1cc768(0x1f1)),Ce=require(_0x1cc768(0x308)),z=require(_0x1cc768(0x1fd)),te=require(_0x1cc768(0x35f)),p=require(_0x1cc768(0x3ce)),Hi=require(_0x1cc768(0x470)),Ie=require('@univerjs/docs'),J=require(_0x1cc768(0x209)),k=require('@univerjs/sheets'),K=require(_0x1cc768(0x149)),ie=require(_0x1cc768(0x180)),Mt=require(_0x1cc768(0x4fa)),ye=require(_0x1cc768(0x120)),ae=require(_0x1cc768(0x1d8)),Bi=require('@univerjs/rpc'),ii=_0x1cc768(0x12e),ki=_0x1cc768(0x19a),ni='SNAPSHOT_URL_KEY',Wi=_0x1cc768(0x200),Fi=0x7d0,si=_0x1cc768(0x226),Vi=_0x1cc768(0x262),Gi=_0x1cc768(0x5d4),ri=_0x1cc768(0x45f),Yi=0x7530,Et=_0x1cc768(0x1fc),oi=0x4e20,Ki=0x4e20,ai=_0x1cc768(0x5b3),qi=0x3,ci=_0x1cc768(0x3ff),zi=0x3e8,li='COLLAB_SUBMIT_CHANGESET_URL',Xi=_0x1cc768(0x23b),hi=_0x1cc768(0x572),Ji=_0x1cc768(0x486);var _i=(_0x47773f=>(_0x47773f[_0x47773f[_0x1cc768(0x3e3)]=0x0]=_0x1cc768(0x3e3),_0x47773f[_0x47773f['OK']=0x1]='OK',_0x47773f[_0x47773f[_0x1cc768(0x2d2)]=0x2]=_0x1cc768(0x2d2),_0x47773f[_0x47773f[_0x1cc768(0x1ef)]=0x3]='PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x316)]=0x4]=_0x1cc768(0x316),_0x47773f[_0x47773f[_0x1cc768(0x3cf)]=0x5]=_0x1cc768(0x3cf),_0x47773f[_0x47773f[_0x1cc768(0x2c9)]=0x6]=_0x1cc768(0x2c9),_0x47773f[_0x47773f[_0x1cc768(0x4e1)]=0x7]=_0x1cc768(0x4e1),_0x47773f[_0x47773f[_0x1cc768(0x126)]=0x8]=_0x1cc768(0x126),_0x47773f[_0x47773f[_0x1cc768(0x365)]=0x9]=_0x1cc768(0x365),_0x47773f[_0x47773f[_0x1cc768(0x144)]=0x1389]=_0x1cc768(0x144),_0x47773f[_0x47773f[_0x1cc768(0x2ff)]=0x1771]=_0x1cc768(0x2ff),_0x47773f[_0x47773f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cc768(0x1f9),_0x47773f[_0x47773f[_0x1cc768(0x56b)]=0x1773]=_0x1cc768(0x56b),_0x47773f[_0x47773f['APPLY_REJECT']=0x1b59]=_0x1cc768(0x284),_0x47773f[_0x47773f[_0x1cc768(0x5b8)]=0x1b5a]=_0x1cc768(0x5b8),_0x47773f[_0x47773f[_0x1cc768(0x32e)]=0x1b5b]=_0x1cc768(0x32e),_0x47773f[_0x47773f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x4a1)]=0x1b5d]=_0x1cc768(0x4a1),_0x47773f[_0x47773f[_0x1cc768(0x4a4)]=0x1f41]=_0x1cc768(0x4a4),_0x47773f[_0x47773f[_0x1cc768(0x5b6)]=0x2329]=_0x1cc768(0x5b6),_0x47773f[_0x47773f[_0x1cc768(0x15e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x47773f[_0x47773f[_0x1cc768(0x2e3)]=0x232b]=_0x1cc768(0x2e3),_0x47773f[_0x47773f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1cc768(0x4fc),_0x47773f[_0x47773f[_0x1cc768(0x547)]=0x232d]=_0x1cc768(0x547),_0x47773f[_0x47773f[_0x1cc768(0x19c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x47773f[_0x47773f[_0x1cc768(0x510)]=0x2712]=_0x1cc768(0x510),_0x47773f[_0x47773f[_0x1cc768(0x441)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x47773f[_0x47773f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1cc768(0x568),_0x47773f[_0x47773f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x47773f))(_i||{}),ne=(_0x28acd7=>(_0x28acd7[_0x28acd7[_0x1cc768(0x1de)]=0x0]=_0x1cc768(0x1de),_0x28acd7[_0x28acd7[_0x1cc768(0x408)]=0x1]=_0x1cc768(0x408),_0x28acd7[_0x28acd7[_0x1cc768(0x452)]=0x2]=_0x1cc768(0x452),_0x28acd7[_0x28acd7['UNIVER_SLIDE']=0x3]=_0x1cc768(0x1a9),_0x28acd7[_0x28acd7[_0x1cc768(0x443)]=0x4]='UNIVER_PROJECT',_0x28acd7[_0x28acd7[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x28acd7))(ne||{}),G=(_0x2ab1e2=>(_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5b5)]=0x0]=_0x1cc768(0x5b5),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x215)]=0x1]='HELLO',_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x232)]=0x2]=_0x1cc768(0x232),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5d5)]=0x3]='LEAVE',_0x2ab1e2[_0x2ab1e2['INGEST']=0x4]=_0x1cc768(0x455),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x165)]=0x5]=_0x1cc768(0x165),_0x2ab1e2[_0x2ab1e2['RECV']=0x6]=_0x1cc768(0x39c),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x2ab1e2))(G||{}),bt=(_0x1f0b0f=>(_0x1f0b0f[_0x1f0b0f['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x1f0b0f[_0x1f0b0f['OK']=0x1]='OK',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17b)]=0x2]=_0x1cc768(0x17b),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x2f3)]=0x3e9]='JOIN_ROOM_FULL',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x503)]=0x3ea]=_0x1cc768(0x503),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x1f0b0f))(bt||{}),ui=(_0x92427=>(_0x92427[_0x92427[_0x1cc768(0x257)]=0x0]=_0x1cc768(0x257),_0x92427[_0x92427[_0x1cc768(0x4be)]=0x1]=_0x1cc768(0x4be),_0x92427[_0x92427[_0x1cc768(0x589)]=0x2]=_0x1cc768(0x589),_0x92427[_0x92427[_0x1cc768(0x3ca)]=0x3]='UnitEmbedded',_0x92427[_0x92427[_0x1cc768(0x219)]=0x4]=_0x1cc768(0x219),_0x92427[_0x92427[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x92427))(ui||{});const Q=_0x1cc768(0x258),Zi={};function di(_0x41c20a){const _0x2d3280=_0x1cc768;var _0x1b7045,_0x4ed5fe,_0xe5f7a5,_0x12336d,_0xf17158;const _0x358185=_0x41c20a[_0x2d3280(0x48a)],_0x235f54=JSON['parse'](_0x358185);switch(_0x235f54[_0x2d3280(0x217)]){case G[_0x2d3280(0x165)]:case G[_0x2d3280(0x215)]:{const _0x43c56d=_0x235f54['infoRsp'];return{..._0x235f54,'data':_0x43c56d,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x232)]:{const _0x53aac6=_0x235f54[_0x2d3280(0x579)];return{..._0x235f54,'data':_0x53aac6,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x39c)]:{const _0x2a4972=_0x235f54[_0x2d3280(0x1a1)];switch(_0x2a4972['eventID']){case p[_0x2d3280(0x59c)][_0x2d3280(0x576)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x1b7045=_0x2a4972[_0x2d3280(0x2a6)])==null?void 0x0:_0x1b7045['cs']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4a5)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x4ed5fe=_0x2a4972[_0x2d3280(0x37a)])==null?void 0x0:_0x4ed5fe['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent'][_0x2d3280(0x24b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xe5f7a5=_0x2a4972['newCsEvent'])==null?void 0x0:_0xe5f7a5['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x12336d=_0x2a4972[_0x2d3280(0x598)])==null?void 0x0:_0x12336d['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x4ac)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xf17158=_0x2a4972[_0x2d3280(0x280)])==null?void 0x0:_0xf17158['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x59b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2f4)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x41c)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x27d)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x52f)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x372)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['LIVESHARE_NEW_HOST']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972['liveShareNewHost']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4ba)]:case p[_0x2d3280(0x59c)][_0x2d3280(0x3e4)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x558)]},'cmd':_0x235f54['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x1cb)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x47b)]:return{..._0x235f54,'data':_0x2a4972,'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['COMMENT_UPDATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x496)]},'cmd':_0x235f54['cmd']};case p[_0x2d3280(0x59c)]['UPDATE_PERMISSION_OBJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x374)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x3a3)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2e8)]},'cmd':_0x235f54[_0x2d3280(0x217)]};default:return _0x235f54;}}default:return _0x235f54;}}function fi(_0x1f80c9){const _0x4c6f35=_0x1cc768;switch(_0x1f80c9[_0x4c6f35(0x217)]){case G['HEARTBEAT']:case G[_0x4c6f35(0x215)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9['routeKey']});case G[_0x4c6f35(0x455)]:{let _0x31ed52;switch(_0x1f80c9['data'][_0x4c6f35(0x1c1)]){case p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)],'updateCursorEvent':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['USERS_LEAVE']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)]['USERS_LEAVE'],'leaveEvent':_0x1f80c9['data'][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x41c)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x41c)],'joinEvent':_0x1f80c9[_0x4c6f35(0x48a)]['data']};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_NEW_HOST']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x379)],'liveShareNewHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_OPERATION']:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x4f1)]:{_0x31ed52={'eventID':p['CollaborationEvent'][_0x4c6f35(0x4f1)],'liveShareTerminate':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)],'liveShareRequestHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x4ba)]:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x31ed52={'eventID':_0x1f80c9['data'][_0x4c6f35(0x1c1)]};}return JSON['stringify']({'cmd':_0x1f80c9['cmd'],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'collaMsg':_0x31ed52});}case G[_0x4c6f35(0x232)]:return JSON[_0x4c6f35(0x236)]({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'joinReq':_0x1f80c9[_0x4c6f35(0x48a)]});case G[_0x4c6f35(0x5d5)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'leaveReq':_0x1f80c9['data']});default:throw new Error(_0x4c6f35(0x255));}}var Qi=Object[_0x1cc768(0x244)],en=Object[_0x1cc768(0x263)],tn=(_0xd47315,_0x445e79,_0x23e509,_0x1be700)=>{const _0x311d0c=_0x1cc768;for(var _0x4e1bd9=_0x1be700>0x1?void 0x0:_0x1be700?en(_0x445e79,_0x23e509):_0x445e79,_0x103421=_0xd47315[_0x311d0c(0x31e)]-0x1,_0x9ca47d;_0x103421>=0x0;_0x103421--)(_0x9ca47d=_0xd47315[_0x103421])&&(_0x4e1bd9=(_0x1be700?_0x9ca47d(_0x445e79,_0x23e509,_0x4e1bd9):_0x9ca47d(_0x4e1bd9))||_0x4e1bd9);return _0x1be700&&_0x4e1bd9&&Qi(_0x445e79,_0x23e509,_0x4e1bd9),_0x4e1bd9;},Pe=(_0x29f621,_0x123f2c)=>(_0x1ef250,_0x4d8895)=>_0x123f2c(_0x1ef250,_0x4d8895,_0x29f621);const Tt=a[_0x1cc768(0x415)]('univer-pro.collaboration-client-socket-service');function nn(_0x8e9ad2,_0x13df2a,_0xe0677c){const _0x44c554=_0x1cc768;return _0x8e9ad2+'/'+_0x13df2a+_0x44c554(0x480)+_0xe0677c+_0x44c554(0x3b2);}exports['CollaborationSocketService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x2a1455,_0x2e98d8,_0x2b0b36,_0x18b33d,_0x533024){const _0x1ce5bc=_0x1cc768;super(),this[_0x1ce5bc(0x4e0)]=_0x2a1455,this[_0x1ce5bc(0x16d)]=_0x2e98d8,this[_0x1ce5bc(0x2c0)]=_0x2b0b36,this['_logService']=_0x18b33d,this[_0x1ce5bc(0x2aa)]=_0x533024;}['createSocket'](_0x36a300){const _0x705b4a=_0x1cc768,_0x58238e=this[_0x705b4a(0x16d)][_0x705b4a(0x535)](_0x36a300);if(!_0x58238e)throw new Error(_0x705b4a(0x323));const _0x50452d=new a[(_0x705b4a(0x35d))](),_0x5e143c=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e['close$'][_0x705b4a(0x556)](_0x26d783=>_0x5e143c[_0x705b4a(0x122)](_0x26d783))),_0x50452d['add'](a[_0x705b4a(0x329)](()=>_0x5e143c[_0x705b4a(0x4e2)]()));const _0x271489=new A[(_0x705b4a(0x3f0))]();_0x50452d['add'](_0x58238e[_0x705b4a(0x306)]['subscribe'](_0x1f74d3=>_0x271489[_0x705b4a(0x122)](_0x1f74d3))),_0x50452d[_0x705b4a(0x2dd)](a['toDisposable'](()=>_0x271489[_0x705b4a(0x4e2)]()));const _0xfcf8ca=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e[_0x705b4a(0x49e)]['subscribe'](_0x440aec=>{const _0x596d9e=_0x705b4a,_0x337d3d=di(_0x440aec);_0xfcf8ca[_0x596d9e(0x122)](_0x337d3d);})),_0x50452d[_0x705b4a(0x2dd)](a[_0x705b4a(0x329)](()=>_0xfcf8ca[_0x705b4a(0x4e2)]()));let _0x3cd567;const _0x159451=()=>{const _0x48b42b=_0x705b4a;_0x271489['next'](new Event(_0x48b42b(0x343))),_0x5e143c[_0x48b42b(0x122)](new CloseEvent(_0x48b42b(0x343))),_0x3cd567['close']();};return _0x3cd567={'memberID':'','close$':_0x5e143c['asObservable'](),'error$':_0x271489[_0x705b4a(0x575)](),'open$':_0x58238e['open$'],'message$':_0xfcf8ca['asObservable'](),'send':_0x1c263e=>{const _0x443c8e=_0x705b4a;if(_0x1c263e[_0x443c8e(0x217)]===G['INGEST']){if(_0x1c263e['data'][_0x443c8e(0x1c1)]===p[_0x443c8e(0x59c)][_0x443c8e(0x54a)]){this[_0x443c8e(0x245)](_0x3cd567,_0x1c263e[_0x443c8e(0x48a)])[_0x443c8e(0x146)](_0xc22a6f=>{const _0x134419=_0x443c8e;this['_logService'][_0x134419(0x1c4)](_0xc22a6f),_0x159451();});return;}if(_0x1c263e[_0x443c8e(0x48a)]['eventID']===p[_0x443c8e(0x59c)]['FETCH_MISSING']){const _0xd317f5=_0x1c263e['data'];this[_0x443c8e(0x19b)](_0xd317f5)['then'](_0x2d9f1c=>{const _0x4bd678=_0x443c8e;_0xfcf8ca[_0x4bd678(0x122)]({'cmd':G['RECV'],'code':bt['OK'],'routeKey':_0xd317f5[_0x4bd678(0x48a)][_0x4bd678(0x4ed)],'routeType':'','data':{'eventID':p[_0x4bd678(0x59c)][_0x4bd678(0x5d0)],'data':{'changesets':_0x2d9f1c}}});})['catch'](_0x45914e=>{const _0x426baa=_0x443c8e;this[_0x426baa(0x10c)][_0x426baa(0x1c4)](_0x45914e),_0x159451();});return;}}_0x58238e[_0x443c8e(0x48e)](fi(_0x1c263e));},'close':()=>{const _0x30a292=_0x705b4a;_0x58238e['close'](),_0x50452d[_0x30a292(0x14c)]();}},_0x3cd567;}async[_0x1cc768(0x245)](_0x4908d2,_0x231556){const _0x50143b=_0x1cc768;var _0x5cd2d8,_0x413013;const {unitType:_0x34249f,unitID:_0x58dd3b,changeset:_0x453f69}=_0x231556[_0x50143b(0x48a)],_0x5860aa={'unitID':_0x58dd3b,'memberID':_0x4908d2['memberID'],'type':_0x34249f,'changeset':p[_0x50143b(0x1cf)](_0x453f69)},_0x583c2b=this[_0x50143b(0x2c0)][_0x50143b(0x555)](li),_0x401ada=this[_0x50143b(0x2c0)][_0x50143b(0x555)](Q),_0x3ef8d3=nn((_0x413013=(_0x5cd2d8=_0x401ada==null?void 0x0:_0x401ada[_0x50143b(0x2bc)])!=null?_0x5cd2d8:_0x583c2b)!=null?_0x413013:Xi,_0x34249f,_0x58dd3b);try{await this[_0x50143b(0x4e0)][_0x50143b(0x4a3)](_0x3ef8d3,{'body':_0x5860aa});}catch(_0x4714cc){throw this[_0x50143b(0x10c)]['error'](_0x50143b(0x499),_0x50143b(0x593)),_0x4714cc;}}async[_0x1cc768(0x19b)](_0x348344){const _0x56943e=_0x1cc768,{unitID:_0x2a7333,from:_0x51863e,to:_0x1c62e8,unitType:_0x53e780}=_0x348344[_0x56943e(0x48a)];return(await this[_0x56943e(0x2aa)][_0x56943e(0x107)]({'metadata':void 0x0},{'unitID':_0x2a7333,'type':_0x53e780,'from':_0x51863e,'to':_0x1c62e8}))[_0x56943e(0x59e)];}},exports[_0x1cc768(0x3de)]=tn([Pe(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),Pe(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x104)])),Pe(0x2,a[_0x1cc768(0x56f)]),Pe(0x3,a[_0x1cc768(0x1a0)]),Pe(0x4,p[_0x1cc768(0x533)])],exports['CollaborationSocketService']);const sn=_0x1cc768(0x51f);function rn(_0x1b10e5){const _0x1023d6=_0x1cc768;return JSON[_0x1023d6(0x236)](_0x1b10e5)['length'];}class Rt{constructor(){const _0xb8510b=_0x1cc768;I(this,_0xb8510b(0x2dc),new A[(_0xb8510b(0x3f0))]()),I(this,'commentUpdate$',this[_0xb8510b(0x2dc)][_0xb8510b(0x575)]());}[_0x1cc768(0x2e4)](_0x24127d){const _0x46204d=_0x1cc768;this['_commentUpdate$'][_0x46204d(0x122)](_0x24127d);}}var on=Object[_0x1cc768(0x244)],an=Object['getOwnPropertyDescriptor'],cn=(_0x2db426,_0x2904ea,_0x2b38a6,_0x96984d)=>{const _0x278921=_0x1cc768;for(var _0x45b592=_0x96984d>0x1?void 0x0:_0x96984d?an(_0x2904ea,_0x2b38a6):_0x2904ea,_0x3feb11=_0x2db426[_0x278921(0x31e)]-0x1,_0x156222;_0x3feb11>=0x0;_0x3feb11--)(_0x156222=_0x2db426[_0x3feb11])&&(_0x45b592=(_0x96984d?_0x156222(_0x2904ea,_0x2b38a6,_0x45b592):_0x156222(_0x45b592))||_0x45b592);return _0x96984d&&_0x45b592&&on(_0x2904ea,_0x2b38a6,_0x45b592),_0x45b592;},At=(_0x28422f,_0x4c3d0f)=>(_0x391e21,_0x1f761b)=>_0x4c3d0f(_0x391e21,_0x1f761b,_0x28422f);exports['MemberService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x3c0e07,_0x4bb70d){const _0x50e318=_0x1cc768;super(),I(this,'_roomMembers',new Map()),(this[_0x50e318(0x114)]=_0x3c0e07,this['_userManagerService']=_0x4bb70d,this[_0x50e318(0x27e)](a[_0x50e318(0x329)](A[_0x50e318(0x57c)](this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)]['UNIVER_SHEET'])[_0x50e318(0x154)](V[_0x50e318(0x130)](_0x35996c=>_0x35996c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)][_0x50e318(0x408)])['pipe'](V[_0x50e318(0x130)](_0x29b75c=>_0x29b75c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)]['getTypeOfUnitDisposed$'](a[_0x50e318(0x1a7)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x2c6b11=>_0x2c6b11[_0x50e318(0x1f0)]())))[_0x50e318(0x556)](_0x4a7f0d=>this[_0x50e318(0x342)](_0x4a7f0d)))));}['setCurrentUser'](_0x9b6534){const _0x4b55d9=_0x1cc768;this['_userManagerService'][_0x4b55d9(0x2fc)](_0x9b6534);}[_0x1cc768(0x1b0)](){const _0x37d3f4=_0x1cc768;return this[_0x37d3f4(0x56c)][_0x37d3f4(0x1b0)]();}['updateMember'](_0x1094d0,_0x46a62f){const _0x235e8c=_0x1cc768;let _0xde3ae0=this[_0x235e8c(0x2fa)][_0x235e8c(0x4f7)](_0x1094d0);_0xde3ae0||(_0xde3ae0=new ln(),this[_0x235e8c(0x2fa)][_0x235e8c(0x31f)](_0x1094d0,_0xde3ae0)),_0xde3ae0[_0x235e8c(0x22d)](_0x46a62f);}[_0x1cc768(0x347)](_0x21d229,_0x241b32){const _0x50e4e2=_0x1cc768,_0x5c8c00=this[_0x50e4e2(0x2fa)][_0x50e4e2(0x4f7)](_0x21d229);_0x5c8c00&&_0x5c8c00[_0x50e4e2(0x347)](_0x241b32);}[_0x1cc768(0x5d8)](_0x400b89){const _0x3a447d=_0x1cc768;return this[_0x3a447d(0x2fa)]['get'](_0x400b89);}['getMember'](_0x3b0bb0,_0x41f499){const _0x3ea41b=_0x1cc768,_0x5ac280=this[_0x3ea41b(0x2fa)][_0x3ea41b(0x4f7)](_0x3b0bb0);if(_0x5ac280)return _0x5ac280[_0x3ea41b(0x1ed)](_0x41f499);}[_0x1cc768(0x342)](_0x203832){const _0x477ab2=_0x1cc768,_0x4636b6=this['_roomMembers']['get'](_0x203832);_0x4636b6&&(_0x4636b6[_0x477ab2(0x14c)](),this[_0x477ab2(0x2fa)][_0x477ab2(0x24c)](_0x203832));}[_0x1cc768(0x14c)](){const _0x5781d7=_0x1cc768;this[_0x5781d7(0x2fa)][_0x5781d7(0x380)](_0x2317f3=>_0x2317f3[_0x5781d7(0x14c)]()),this[_0x5781d7(0x2fa)][_0x5781d7(0x43d)]();}},exports[_0x1cc768(0x1a6)]=cn([At(0x0,a[_0x1cc768(0x3bd)]),At(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x275)]))],exports['MemberService']);class ln extends a[_0x1cc768(0x1c0)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x1cc768(0x14c)](){const _0x273eb2=_0x1cc768;this[_0x273eb2(0x4d4)][_0x273eb2(0x43d)]();}[_0x1cc768(0x22d)](_0x5b8ca6){const _0x34632d=_0x1cc768;this[_0x34632d(0x4d4)]['set'](_0x5b8ca6[_0x34632d(0x336)],_0x5b8ca6);}[_0x1cc768(0x347)](_0x485b61){const _0xa1879=_0x1cc768;this['_members'][_0xa1879(0x24c)](_0x485b61);}['getMember'](_0x382cac){const _0x233271=_0x1cc768;return this[_0x233271(0x4d4)][_0x233271(0x4f7)](_0x382cac);}[_0x1cc768(0x210)](){const _0x1b8bb4=_0x1cc768;return Array[_0x1b8bb4(0x491)](this[_0x1b8bb4(0x4d4)][_0x1b8bb4(0x3c9)]());}}var hn=Object[_0x1cc768(0x244)],_n=Object[_0x1cc768(0x263)],un=(_0x5e060a,_0x4f6cdd,_0x5c1df0,_0x42caa6)=>{const _0x5716db=_0x1cc768;for(var _0x415a67=_0x42caa6>0x1?void 0x0:_0x42caa6?_n(_0x4f6cdd,_0x5c1df0):_0x4f6cdd,_0x2a4eed=_0x5e060a[_0x5716db(0x31e)]-0x1,_0x3fc2d4;_0x2a4eed>=0x0;_0x2a4eed--)(_0x3fc2d4=_0x5e060a[_0x2a4eed])&&(_0x415a67=(_0x42caa6?_0x3fc2d4(_0x4f6cdd,_0x5c1df0,_0x415a67):_0x3fc2d4(_0x415a67))||_0x415a67);return _0x42caa6&&_0x415a67&&hn(_0x4f6cdd,_0x5c1df0,_0x415a67),_0x415a67;},de=(_0x13aa11,_0x132e8d)=>(_0x2ad7c9,_0x4ac202)=>_0x132e8d(_0x2ad7c9,_0x4ac202,_0x13aa11),se=(_0x47b60b=>(_0x47b60b[_0x47b60b[_0x1cc768(0x394)]=0x0]=_0x1cc768(0x394),_0x47b60b[_0x47b60b[_0x1cc768(0x5a8)]=0x1]=_0x1cc768(0x5a8),_0x47b60b[_0x47b60b[_0x1cc768(0x1b1)]=0x2]=_0x1cc768(0x1b1),_0x47b60b[_0x47b60b[_0x1cc768(0x586)]=0x3]=_0x1cc768(0x586),_0x47b60b))(se||{});exports[_0x1cc768(0x46e)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x37f67e,_0x1c367b,_0xf86a66,_0x203677,_0x53f969,_0x33575a,_0xb2d015,_0x3929e1,_0x2cb85f,_0x29b972){const _0x5b18ac=_0x1cc768;super(),I(this,_0x5b18ac(0x2c6),new A[(_0x5b18ac(0x118))](0x0)),I(this,_0x5b18ac(0x272),this['_sessionStatus$']['asObservable']()),I(this,_0x5b18ac(0x2ab),new A[(_0x5b18ac(0x3f0))]()),I(this,_0x5b18ac(0x3a0),this[_0x5b18ac(0x2ab)]['asObservable']()),I(this,_0x5b18ac(0x26f)),I(this,_0x5b18ac(0x515)),I(this,_0x5b18ac(0x333)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x5b18ac(0x22f),null),(this['_unitID']=_0x37f67e,this[_0x5b18ac(0x10c)]=_0xf86a66,this['_beforeCloseService']=_0x203677,this['_messageService']=_0x53f969,this[_0x5b18ac(0x2c0)]=_0x33575a,this[_0x5b18ac(0x133)]=_0xb2d015,this[_0x5b18ac(0x222)]=_0x3929e1,this[_0x5b18ac(0x4de)]=_0x2cb85f,this[_0x5b18ac(0x433)]=_0x29b972,this[_0x5b18ac(0x1a4)]=!!this[_0x5b18ac(0x433)],_0x1c367b['pipe'](A[_0x5b18ac(0x4cf)](this[_0x5b18ac(0x36e)]))[_0x5b18ac(0x556)](_0x13a749=>{const _0x48b711=_0x5b18ac;var _0x5ba2f9;typeof _0x13a749>'u'||(this['_socket']=_0x13a749,_0x13a749?(this[_0x48b711(0x3b5)](_0x13a749),this[_0x48b711(0x515)]=_0x13a749[_0x48b711(0x49e)][_0x48b711(0x556)](_0x1b859c=>{const _0x3980bd=_0x48b711;_0x1b859c['routeKey']===this[_0x3980bd(0x36f)]&&this[_0x3980bd(0x51e)](_0x1b859c);})):(this[_0x48b711(0x2d9)](),this['_sessionStatus$'][_0x48b711(0x122)](0x2),(_0x5ba2f9=this[_0x48b711(0x515)])==null||_0x5ba2f9[_0x48b711(0x1ca)](),this[_0x48b711(0x515)]=null));}),this['disposeWithMe'](this[_0x5b18ac(0x1e7)]['registerOnClose'](()=>{const _0xe015fa=_0x5b18ac;var _0x4dae6e;(_0x4dae6e=this[_0xe015fa(0x26f)])==null||_0x4dae6e[_0xe015fa(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0xe015fa(0x36f)]}});})));}get[_0x1cc768(0x4da)](){const _0x27eee5=_0x1cc768;return this[_0x27eee5(0x2c6)][_0x27eee5(0x3b3)]();}[_0x1cc768(0x519)](){const _0x42ba2e=_0x1cc768;var _0x409be7,_0x3974be;return(_0x3974be=(_0x409be7=this[_0x42ba2e(0x26f)])==null?void 0x0:_0x409be7[_0x42ba2e(0x336)])!=null?_0x3974be:null;}['dispose'](){const _0x19d64f=_0x1cc768;super[_0x19d64f(0x14c)](),this[_0x19d64f(0x36e)]['next'](),this[_0x19d64f(0x36e)]['complete']();}['close'](){const _0x531e08=_0x1cc768;var _0x29a0d1,_0x160691;this['_throwTelemetryCollaborationNewChangeset'](),(_0x29a0d1=this[_0x531e08(0x26f)])==null||_0x29a0d1[_0x531e08(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x531e08(0x36f)]}}),(_0x160691=this['_socket'])==null||_0x160691[_0x531e08(0x5b1)](),this[_0x531e08(0x2ab)]['complete'](),this['_sessionStatus$'][_0x531e08(0x4e2)](),this[_0x531e08(0x14c)]();}[_0x1cc768(0x51e)](_0x1e333a){const _0x52dff9=_0x1cc768;_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x232)]?this[_0x52dff9(0x2ea)](_0x1e333a):_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x39c)]&&this[_0x52dff9(0x5a4)](_0x1e333a);}[_0x1cc768(0x3b5)](_0x3fdc91){const _0x1845a8=_0x1cc768;this[_0x1845a8(0x2c6)][_0x1845a8(0x122)](0x1),_0x3fdc91[_0x1845a8(0x48e)]({'cmd':G[_0x1845a8(0x232)],'routeKey':this[_0x1845a8(0x36f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1845a8(0x36f)]}]}});}['_onJoinRoomEvent'](_0x3683e2){const _0x5e9b25=_0x1cc768;var _0x2d0ba7;if(_0x3683e2['code']===bt['FAIL']){this[_0x5e9b25(0x124)]['show']({'type':Ce[_0x5e9b25(0x14d)]['Warning'],'content':this[_0x5e9b25(0x133)]['t'](_0x5e9b25(0x57a))}),this[_0x5e9b25(0x2c6)][_0x5e9b25(0x122)](0x2);return;}this[_0x5e9b25(0x2c6)]['next'](0x3);const _0xce0770=(_0x2d0ba7=_0x3683e2['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x2d0ba7[_0x5e9b25(0x5a6)];_0xce0770&&_0xce0770['forEach'](_0x292476=>this[_0x5e9b25(0x222)][_0x5e9b25(0x22d)](this[_0x5e9b25(0x36f)],_0x292476));}[_0x1cc768(0x5a4)](_0x220811){const _0xbc7bae=_0x1cc768;try{const _0x48a21d=_0x220811[_0xbc7bae(0x48a)];switch(_0x48a21d[_0xbc7bae(0x1c1)]){case p[_0xbc7bae(0x59c)][_0xbc7bae(0x41c)]:this[_0xbc7bae(0x52e)](_0x48a21d),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x52f)]:this[_0xbc7bae(0x426)](_0x48a21d),this['_event$']['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)]['CHANGESET_ACK']:case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ac)]:this[_0xbc7bae(0x115)](),this[_0xbc7bae(0x17f)](),this['_event$'][_0xbc7bae(0x122)](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x47b)]:this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0xbc7bae(0x11a)+JSON[_0xbc7bae(0x236)](_0x48a21d)),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ea)]:this['_commentService'][_0xbc7bae(0x2e4)](_0x48a21d[_0xbc7bae(0x48a)]),this['_event$']['next'](_0x48a21d);break;default:this[_0xbc7bae(0x2ab)][_0xbc7bae(0x122)](_0x48a21d);}}catch(_0x59758f){this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0x59758f,_0x220811);}}[_0x1cc768(0x52e)](_0x4bc8c8){const _0x4e276e=_0x1cc768;this[_0x4e276e(0x222)][_0x4e276e(0x22d)](this[_0x4e276e(0x36f)],_0x4bc8c8['data']);}[_0x1cc768(0x426)](_0xef0c77){const _0x3e7f96=_0x1cc768;this[_0x3e7f96(0x222)][_0x3e7f96(0x347)](this['_unitID'],_0xef0c77['data']['memberID']);}async[_0x1cc768(0x48e)](_0x48f504,_0x1bcb30){const _0x3201f5=_0x1cc768;if(this[_0x3201f5(0x4da)]!==0x3||!this[_0x3201f5(0x26f)])throw new Error(_0x3201f5(0x314));try{_0x48f504[_0x3201f5(0x1c1)]===p[_0x3201f5(0x59c)][_0x3201f5(0x54a)]&&(this[_0x3201f5(0x2f8)](),this[_0x3201f5(0x543)](_0x48f504)),this['_socket'][_0x3201f5(0x48e)]({'cmd':G['INGEST'],'routeKey':_0x1bcb30,'routeType':'','data':_0x48f504});}catch(_0x2f6a8c){this[_0x3201f5(0x10c)][_0x3201f5(0x1c4)](_0x2f6a8c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x290bae=_0x1cc768;var _0x103bc7;this['_collaborationTimeoutTimer']=window[_0x290bae(0x2e7)](()=>{const _0x4eb8dc=_0x290bae;this[_0x4eb8dc(0x333)]=null,this[_0x4eb8dc(0x124)][_0x4eb8dc(0x242)]({'type':Ce[_0x4eb8dc(0x14d)][_0x4eb8dc(0x4ef)],'content':this['_localeService']['t'](_0x4eb8dc(0x478))});},(_0x103bc7=this[_0x290bae(0x2c0)][_0x290bae(0x555)](Et))!=null?_0x103bc7:oi);}[_0x1cc768(0x17f)](){const _0x239f7b=_0x1cc768;this[_0x239f7b(0x333)]&&(clearTimeout(this[_0x239f7b(0x333)]),this['_collaborationTimeoutTimer']=null);}[_0x1cc768(0x543)](_0x84f1af){const _0xbe68a1=_0x1cc768;if(!this[_0xbe68a1(0x1a4)])return;const {data:_0x32cf60}=_0x84f1af,{unitID:_0x56ca11,changeset:_0x3e9020}=_0x32cf60,{mutations:_0x4e9e68,type:_0x4310d5}=_0x3e9020;this[_0xbe68a1(0x22f)]={'unitId':_0x56ca11,'type':_0x4310d5,'startTime':performance[_0xbe68a1(0x4f5)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x4e9e68)};}[_0x1cc768(0x115)](){const _0x264fed=_0x1cc768;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x264fed(0x10c)]['error'](_0x264fed(0x499),_0x264fed(0x5ba));return;}this[_0x264fed(0x22f)][_0x264fed(0x526)]=performance[_0x264fed(0x4f5)](),this[_0x264fed(0x22f)][_0x264fed(0x59f)]=this[_0x264fed(0x22f)][_0x264fed(0x526)]-this[_0x264fed(0x22f)][_0x264fed(0x201)],this[_0x264fed(0x433)][_0x264fed(0x406)](sn,this[_0x264fed(0x22f)]),this['_telemetryInfo']=null;}}[_0x1cc768(0x2d9)](){const _0x4c64ed=_0x1cc768;this[_0x4c64ed(0x22f)]=null;}},exports[_0x1cc768(0x46e)]=un([de(0x2,a[_0x1cc768(0x1a0)]),de(0x3,te[_0x1cc768(0x42d)]),de(0x4,te[_0x1cc768(0x1e5)]),de(0x5,a[_0x1cc768(0x56f)]),de(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),de(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),de(0x8,a[_0x1cc768(0x2ca)](Rt)),de(0x9,a['Optional'](Hi[_0x1cc768(0x3bb)]))],exports[_0x1cc768(0x46e)]);var dn=Object[_0x1cc768(0x244)],fn=Object[_0x1cc768(0x263)],vn=(_0x3ca5b3,_0x3f4abc,_0x5bff74,_0x22490b)=>{const _0x3c3f5d=_0x1cc768;for(var _0x154ddb=_0x22490b>0x1?void 0x0:_0x22490b?fn(_0x3f4abc,_0x5bff74):_0x3f4abc,_0x41b251=_0x3ca5b3[_0x3c3f5d(0x31e)]-0x1,_0x280109;_0x41b251>=0x0;_0x41b251--)(_0x280109=_0x3ca5b3[_0x41b251])&&(_0x154ddb=(_0x22490b?_0x280109(_0x3f4abc,_0x5bff74,_0x154ddb):_0x280109(_0x154ddb))||_0x154ddb);return _0x22490b&&_0x154ddb&&dn(_0x3f4abc,_0x5bff74,_0x154ddb),_0x154ddb;},pe=(_0x1cbfb7,_0xe96fec)=>(_0x7aa79f,_0x893683)=>_0xe96fec(_0x7aa79f,_0x893683,_0x1cbfb7);exports[_0x1cc768(0x2e1)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x58af4f,_0x42666f,_0x5b8fd8,_0x1d74b4,_0x6a113e,_0x185fee,_0x4e3253){const _0x57b28f=_0x1cc768;super(),I(this,_0x57b28f(0x540),new A['BehaviorSubject'](void 0x0)),I(this,_0x57b28f(0x2d6),this['_socket$'][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x387),null),I(this,_0x57b28f(0x545),new Map()),I(this,_0x57b28f(0x52a),new A[(_0x57b28f(0x118))](se[_0x57b28f(0x394)])),I(this,_0x57b28f(0x495),this[_0x57b28f(0x52a)][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x590),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x57b28f(0x25a),0x0),I(this,_0x57b28f(0x551)),I(this,_0x57b28f(0x3c5)),(this[_0x57b28f(0x310)]=_0x58af4f,this['_localeService']=_0x42666f,this[_0x57b28f(0x124)]=_0x5b8fd8,this[_0x57b28f(0x10c)]=_0x1d74b4,this[_0x57b28f(0x2c0)]=_0x6a113e,this[_0x57b28f(0x569)]=_0x185fee,this[_0x57b28f(0x2d5)]=_0x4e3253,this[_0x57b28f(0x4c2)]());}get[_0x1cc768(0x26f)](){const _0x40d418=_0x1cc768;return this[_0x40d418(0x540)]['getValue']();}[_0x1cc768(0x4c2)](){const _0x4ae464=_0x1cc768;this['_listenToOfflineEvent'](),this[_0x4ae464(0x53c)]();}[_0x1cc768(0x14c)](){const _0x537f5f=_0x1cc768;super[_0x537f5f(0x14c)](),this[_0x537f5f(0x545)]['forEach'](_0x42a09f=>_0x42a09f[_0x537f5f(0x14c)]()),this[_0x537f5f(0x545)][_0x537f5f(0x43d)](),this[_0x537f5f(0x52a)]['complete']();}async['requireSession'](_0x2e64d4){const _0xdf3ddf=_0x1cc768;if(this[_0xdf3ddf(0x545)]['has'](_0x2e64d4))return this['_sessions']['get'](_0x2e64d4);this[_0xdf3ddf(0x3d3)]();const _0x137bf7=this['_injector']['createInstance'](exports[_0xdf3ddf(0x46e)],_0x2e64d4,this['_socket$']['asObservable']());return this['_sessions'][_0xdf3ddf(0x31f)](_0x2e64d4,_0x137bf7),_0x137bf7;}[_0x1cc768(0x44a)](_0x3826d0){const _0x376aea=_0x1cc768;var _0x476ba4;const _0xb8a4ac=this[_0x376aea(0x545)][_0x376aea(0x4f7)](_0x3826d0);_0xb8a4ac&&(this['_sessions'][_0x376aea(0x24c)](_0x3826d0),_0xb8a4ac[_0x376aea(0x5b1)]()),this['_sessions']['size']||(_0x476ba4=this['_socket'])==null||_0x476ba4[_0x376aea(0x5b1)]();}[_0x1cc768(0x421)](){const _0x304f1f=_0x1cc768;this[_0x304f1f(0x25a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x304f1f(0x300)]),this[_0x304f1f(0x300)]=null),this[_0x304f1f(0xfd)]();}async['_getSessionTicket'](){const _0x3ba7d1=_0x1cc768;var _0x4249ac,_0x5ef5bd,_0x28297c;const _0x5c19f3=this[_0x3ba7d1(0x2c0)][_0x3ba7d1(0x555)](Q),_0x3fa4b7=(_0x4249ac=_0x5c19f3==null?void 0x0:_0x5c19f3[_0x3ba7d1(0x4f2)])!=null?_0x4249ac:Gi;return(_0x28297c=(_0x5ef5bd=(await this[_0x3ba7d1(0x2d5)][_0x3ba7d1(0x4f7)](_0x3fa4b7,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5ef5bd[_0x3ba7d1(0x11c)])!=null?_0x28297c:'';}[_0x1cc768(0x117)](_0x372181){const _0x3911e1=_0x1cc768;var _0xebe134,_0x50bcc1;const _0x312b69=this['_configService'][_0x3911e1(0x555)](si),_0x5c13a5=this['_configService'][_0x3911e1(0x555)](Q),_0x4d947f=(_0x50bcc1=(_0xebe134=_0x5c13a5==null?void 0x0:_0x5c13a5['collabWebSocketUrl'])!=null?_0xebe134:_0x312b69)!=null?_0x50bcc1:Vi,_0x46c494=new URL(_0x4d947f,window[_0x3911e1(0x19f)]['origin']);return _0x46c494['searchParams'][_0x3911e1(0x31f)]('sessionTicket',_0x372181),_0x46c494[_0x3911e1(0x3df)]();}async[_0x1cc768(0x288)](){const _0x582bc4=_0x1cc768,_0x2ce64b=await this[_0x582bc4(0x3b8)](),_0xb7f596=this['_createSocketURL'](_0x2ce64b),_0x4202e6=this[_0x582bc4(0x569)][_0x582bc4(0x535)](_0xb7f596);return this[_0x582bc4(0x387)]=_0x4202e6,_0x4202e6;}async['_tryEnsureSocket'](){const _0x12cfa8=_0x1cc768;var _0x22287d,_0x2c6120;try{const _0x246178=(_0x2c6120=(_0x22287d=this['_socket'])!=null?_0x22287d:this[_0x12cfa8(0x387)])!=null?_0x2c6120:await this[_0x12cfa8(0x288)]();if(_0x246178){const _0x3b1c1f=_0x246178['send'];_0x246178[_0x12cfa8(0x48e)]=_0x1a668d=>(this[_0x12cfa8(0x285)](),_0x3b1c1f[_0x12cfa8(0x119)](_0x246178,[_0x1a668d])),_0x246178[_0x12cfa8(0x49e)][_0x12cfa8(0x556)](_0x33807d=>this[_0x12cfa8(0x238)](_0x246178,_0x33807d)),_0x246178[_0x12cfa8(0x306)][_0x12cfa8(0x154)](V['take'](0x1))[_0x12cfa8(0x556)](_0x465cca=>this[_0x12cfa8(0x10c)][_0x12cfa8(0x1c4)](_0x12cfa8(0x446),_0x465cca)),_0x246178['open$']['pipe'](V['take'](0x1))[_0x12cfa8(0x556)](()=>{const _0x5f4ba1=_0x12cfa8;this[_0x5f4ba1(0x3fa)](_0x246178);}),_0x246178[_0x12cfa8(0x335)][_0x12cfa8(0x154)](V[_0x12cfa8(0x459)](0x1))[_0x12cfa8(0x556)](_0x4f2fb1=>{const _0x278366=_0x12cfa8;this[_0x278366(0x10c)][_0x278366(0x157)](_0x278366(0x29f),_0x278366(0x51c),_0x4f2fb1),this[_0x278366(0x250)]();});}}catch(_0x305592){this['_logService'][_0x12cfa8(0x1c4)](_0x305592),this[_0x12cfa8(0x250)]();}}[_0x1cc768(0x3fa)](_0x4adeef){const _0x190545=_0x1cc768;this[_0x190545(0x10c)][_0x190545(0x157)](_0x190545(0x29f),_0x190545(0x13d)),_0x4adeef[_0x190545(0x48e)]({'cmd':G[_0x190545(0x215)]}),this[_0x190545(0x285)]();}[_0x1cc768(0x438)](){const _0x282bb4=_0x1cc768;window['addEventListener'](_0x282bb4(0x2a7),()=>this['_onOffline']());}[_0x1cc768(0x59d)](){const _0x14f22b=_0x1cc768;this[_0x14f22b(0x590)]=!0x1,this[_0x14f22b(0x387)]=null,this[_0x14f22b(0x52a)][_0x14f22b(0x122)](se[_0x14f22b(0x1b1)]),this[_0x14f22b(0x540)][_0x14f22b(0x122)](null),this[_0x14f22b(0x2c4)](),this[_0x14f22b(0x20d)]();}[_0x1cc768(0x250)](){const _0x5c80f6=_0x1cc768;var _0x311526;this[_0x5c80f6(0x59d)](),this['_retryCount']<((_0x311526=this[_0x5c80f6(0x2c0)][_0x5c80f6(0x555)](ai))!=null?_0x311526:qi)?(this[_0x5c80f6(0x124)]['show']({'key':_0x5c80f6(0x301),'type':Ce['MessageType'][_0x5c80f6(0x268)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x412))}),this[_0x5c80f6(0xfd)]()):this[_0x5c80f6(0x124)][_0x5c80f6(0x242)]({'key':'collaboration-session-retry','type':Ce[_0x5c80f6(0x14d)][_0x5c80f6(0x4ef)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x3e0))});}['_listenToOnlineEvent'](){const _0x547ee2=_0x1cc768,_0x52b1db=()=>{this['_socket']||this['reconnect']();},_0x419f93=()=>{const _0x583536=_0x3a60;this[_0x583536(0x26f)]||document[_0x583536(0x185)]===_0x583536(0x41a)||this['reconnect']();};window['addEventListener'](_0x547ee2(0x3c6),_0x52b1db),document['addEventListener'](_0x547ee2(0x488),_0x419f93);}['_tryReconnect'](){const _0x42ae92=_0x1cc768;var _0x495139;const _0x5b0c07=this[_0x42ae92(0x25a)],_0x48c684=this[_0x42ae92(0x2c0)]['getConfig'](Q),_0x495821=_0x5b0c07===0x0?0x0:((_0x495139=_0x48c684==null?void 0x0:_0x48c684['retryConnectingInterval'])!=null?_0x495139:Ki)*0x2**_0x5b0c07;this[_0x42ae92(0x300)]=window[_0x42ae92(0x2e7)](()=>{const _0x8d31f8=_0x42ae92;clearTimeout(this[_0x8d31f8(0x300)]),this[_0x8d31f8(0x300)]=null,this[_0x8d31f8(0x3d3)]();},_0x495821),this[_0x42ae92(0x25a)]+=0x1;}[_0x1cc768(0x238)](_0x5f4e71,_0x209122){const _0x18dc86=_0x1cc768,{cmd:_0x5d6f73}=_0x209122;_0x5d6f73===G[_0x18dc86(0x215)]&&!this['_socketReady']&&(_0x5f4e71['memberID']=_0x209122['data']['memberID'],this[_0x18dc86(0x540)]['next'](_0x5f4e71),this[_0x18dc86(0x52a)][_0x18dc86(0x122)](se[_0x18dc86(0x586)]),this[_0x18dc86(0x590)]=!0x0,this[_0x18dc86(0x387)]=null),_0x5d6f73===G['HEARTBEAT']&&this[_0x18dc86(0x2c4)](),this[_0x18dc86(0x285)]();}[_0x1cc768(0x285)](){const _0x40cbf1=_0x1cc768;var _0x418ae7;this[_0x40cbf1(0x20d)](),this[_0x40cbf1(0x551)]=window[_0x40cbf1(0x2e7)](()=>this[_0x40cbf1(0x267)](),(_0x418ae7=this[_0x40cbf1(0x2c0)][_0x40cbf1(0x555)](ri))!=null?_0x418ae7:Yi);}[_0x1cc768(0x267)](){const _0x21ece0=_0x1cc768;this['_socket'][_0x21ece0(0x48e)]({'cmd':G[_0x21ece0(0x165)]}),this[_0x21ece0(0x4b7)]();}[_0x1cc768(0x4b7)](){const _0x45ae66=_0x1cc768;var _0x295ba1;this[_0x45ae66(0x3c5)]=window[_0x45ae66(0x2e7)](()=>this[_0x45ae66(0x250)](),(_0x295ba1=this[_0x45ae66(0x2c0)][_0x45ae66(0x555)](Et))!=null?_0x295ba1:oi);}[_0x1cc768(0x20d)](){const _0x28c75e=_0x1cc768;this[_0x28c75e(0x551)]!=null&&(clearTimeout(this[_0x28c75e(0x551)]),this[_0x28c75e(0x551)]=null);}[_0x1cc768(0x2c4)](){const _0x1001d6=_0x1cc768;this[_0x1001d6(0x3c5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1001d6(0x3c5)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),pe(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),pe(0x2,te[_0x1cc768(0x1e5)]),pe(0x3,a[_0x1cc768(0x1a0)]),pe(0x4,a[_0x1cc768(0x56f)]),pe(0x5,Tt),pe(0x6,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports[_0x1cc768(0x2e1)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x1cc768(0x102)]((s+0x100)['toString'](0x10)[_0x1cc768(0x158)](0x1));function Sn(_0x2d22d1,_0x49a0e8=0x0){const _0x108c83=_0x1cc768;return(Y[_0x2d22d1[_0x49a0e8+0x0]]+Y[_0x2d22d1[_0x49a0e8+0x1]]+Y[_0x2d22d1[_0x49a0e8+0x2]]+Y[_0x2d22d1[_0x49a0e8+0x3]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x4]]+Y[_0x2d22d1[_0x49a0e8+0x5]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x6]]+Y[_0x2d22d1[_0x49a0e8+0x7]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x8]]+Y[_0x2d22d1[_0x49a0e8+0x9]]+'-'+Y[_0x2d22d1[_0x49a0e8+0xa]]+Y[_0x2d22d1[_0x49a0e8+0xb]]+Y[_0x2d22d1[_0x49a0e8+0xc]]+Y[_0x2d22d1[_0x49a0e8+0xd]]+Y[_0x2d22d1[_0x49a0e8+0xe]]+Y[_0x2d22d1[_0x49a0e8+0xf]])[_0x108c83(0x112)]();}function _0x4d1c(){const _0x273c22=['file','c2Prime','LIVESHARE_FETCH_OPERATIONS','hostname','SUCCUSS','find','HttpImport','padding','editingUnit','RefRangeService','_initEventListeners','SetSelectionsOperation','COLORS','getResourcesRequest','RETRY_CONNECTING_MAX_COUNT_KEY','onTransformRemoteChangesetByIMECache','_showConflictNotification','byteLength','substr','Plugin','jsxs','getRenderById','_getMergeRange','takeUntil','getDocRanges','unpad','Injector','_invKeySchedule','_members','decrypt','subscribeEvent','c1Prime','list','_isPermissionRej','sessionStatus','history','with','IAuthzIoService','_commentService','size','_http','INVALID_ARGUMENT','complete','deserializeRangeWithSheet','x-univer-host','_getAPIPrefix','textRanges','clearTimeout','_config','drawWith','COMMENT_UPDATE','sheetId','measureText','unitID','getUndoRedoMutationParamsCache','Error','_updateLocalCache','LIVESHARE_TERMINATE','wsSessionTicketUrl','_updateState','indexOf','now','sheets','get','_cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/engine-formula','session','LICENSE_EXPORT_SIZE_EXCEEDED','react.fragment','url(#off-line-single_clip0_910_343)','onMouseMove','enableOfflineEditing','mapDocumentTypeToUniverType','ref','JOIN_ROOM_NOT_ALLOWED','Tooltip','_colorAssignService','OTHER_CLIENTS_EDITING','collabStatus.syncing','transformIMECache','origin','has','_cachedData','_registerDependencies','EffectRefRangId','_decreaseWaiting','_onFetchMissResult','YUUMI_URL_COL_OUT_OF_RANGE','image/jpg','sigBytes','_waitCount','_imageSourceCache','_socketMessageSubscription','DocSelectionManagerService','updatePermissionPoint','init','getMemberID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetCollaborationEntity','socket\x20close','abs','_onCombEvent','collaboration_new_changeset','all','IRemoteInstanceService','_entityInit$','conflict.title','fill','_executeRemoteChangeset','stopTime','onStarting','revision','onSyncEditingCollabCursor','_status$','subject','FETCH_MISSING','_getSheetObject','_onUserJoin','USERS_LEAVE','params','_handleJoinEvent','getUnitOnRev','ISnapshotServerService','Latin1','createSocket','_docTransformSelectionsService','triggerDblclick','_collaborationSessionService','url','sheetID','_hash','_listenToOnlineEvent','registerHTTPInterceptor','objectType','SYNCED','_socket$','_setupBeforeClosingHandler','IUndoRedoService','_startTelemetryCollaborationNewChangeset','BufferedBlockAlgorithm','_sessions','_iv','LICENSE_DISTRO_REJECTED','Could\x20not\x20dynamically\x20require\x20\x22','syncEditingCollabCursor','SUBMIT_CHANGESET','getCollabEntity$','saveOfflineData','_acknowledgedAwaitingChangeset','awaitingChangeset','resourceIDs','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_sendHeartbeatTimer','SnapshotService','_mode','actions','getConfig','subscribe','startColumn','liveShareOperation','permission.content','isActive','rev','unitId\x20is\x20not\x20found','getFocusedUnit','onRemoteRej','#fff','algo','\x20to\x20','Shape','buffer','collabCursorState$','getRelativeToViewportCoord','appendMutation','_handleHeartbeatEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','getStateCache','ENSURE_SNAPSHOT_EXECUTION','_userManagerService','collaboration.single-unit.warning','_change$','IConfigService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_resendTimeout','LOGIN_URL_KEY','disposeUnit','onMissedChangesetFetched','asObservable','PERMISSION_REJ','charCodeAt','every','joinRsp','session.room-full','localeService','merge','cfg','onPointerEnter$','signUrlServerUrl','black','univerjs-icon\x20univerjs-icon-','_collabCursorController','replace','CollaborationStatus','_clearRedo','ONLINE','ILocalStorageService','encrypt','HttpExport','/universer-api/authz','collab-rect-range-','_createInitialState','transformByState','MoveRangeCommandId','getOwnPropertySymbols','_socketReady','none','finalize','submit\x20changeset\x20error!','_clearUndo','_transformUndoredo','[OfflineState]:\x20received\x20acknowledgement.','transformUndoRedo','csRejEvent','entries','b64DecodeUnicode','UPDATE_CURSOR','CollaborationEvent','_onOffline','changesets','duration','AUTHZ_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','onRemoteRetry','toStringTag','_onRecvEvent','IImageIoService','members','handleDeleteRangeMoveUp','JOINING','RECT','getSheetBlock','_toggleOnline','getTypeOfUnitAdded$','DocSkeletonManagerService','sequenceExecute','138912KsfqSN','cursorInfo','close','fromEvent','RETRY_CONNECTING_MAX_COUNT','[UniverCollaborationClientPlugin]','UNKNOWN_CMD','LICENSE_MAX_UNITS_EXCEEDED','font','APPLY_NON_SEQUENTIAL_REVISION','_initStatusListener','telemetry\x20info\x20is\x20not\x20initialized','_hover','/universer-api/snapshot/','Hasher','use','downloadEndpointUrl','_context','jsx','HTTPRequest','_onLocalMutation','_resendTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','function','/-/object/list','DocIMEInputManagerService','for','loadOfflineData','PERSON','charAt','backgroundColor','_toggleOffline','unknown','PSEUDO_FETCH_MISSING_RESULT','change$','InsertRangeMoveDownCommandId','getViewport','/universer-api/user/session-ticket','LEAVE','_undoRedoService','_loadSheet','getRoom','onlyLocal','_tryReconnect','@univerjs/core','focused$','handleInsertRangeMoveDown','debounceTime','push','string','WebSocketService','height','Fragment','fetchMissingChangesets','patch','/resources','_getUndoStack','refreshPermission','_logService','setUndoRedoMutationParamsCache','createEncryptor','enc','_minBufferSize','getColor','toLowerCase','_clearOtherTimers','_univerInstanceService','_stopTelemetryCollaborationNewChangeset','createDecryptor','_createSocketURL','BehaviorSubject','apply','save\x20fail\x20reason\x20is\x20','Error\x20on\x20receiving\x20event','ticket','__creator','setShapeProps','ICommandService','@univerjs/sheets-ui','createElement','next','ImageUploadStatusType','_messageService','delay','TOO_MANY_REQUESTS','AWAITING','ReactCurrentOwner','_getLoginPath','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getTime','_collaborationPaused','[SyncedState]:\x20received\x20rejection.','SNAPSHOT_SERVER_URL_KEY','onSendChangeset','map','_roomMembers$','_anchorDot','_localeService','_commandService','_substituteRedoStack','encodeURIComponent','encode','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','activeSheet$','m1Prime','iterations','top','socket\x20open.','reject','floor','userID','currentSkeleton$','getAncestorScale','_init','CHANGESET_REVISION_CONFILICT','_send','catch','getCollabCursors$','{fileID}','@univerjs/engine-render','_online','getSheetBySheetId','dispose','MessageType','AES','roomMembers','DOC_RANGE_TYPE','isEditing','UniverIcon','state$','pipe','_unitStatus','_labelPosition','debug','slice','SerializableCipher','image/gif','onCommandExecuted','RemoveRowCommandId','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveUpCommandId','_localStorageService','hovered','setActiveRange','imageSourceType','unit','HEARTBEAT','_getCtorByUniverType','getImage','handleDeleteRangeMoveLeft','forwardRef','toggleOnline','listRoles','OpenSSL','_ws','univer-online-status-icon','_xformMode','_createHelper','fillRule','ranges','displayName','onTransformIME','idSuffix','_unlockTransition','getLatestCsReqIdBySid','processBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','DocStateChangeManagerService','FAIL','MUTATION','defaultProps','UNRECOGNIZED','_clearCollaborationTimeoutTimer','@univerjs/drawing','_entities','_awaitingChangeset','throttleTime','_instanceService','visibilityState','requireSession','getParam','LOCAL_CACHE_INTERVAL_KEY','initWorkbookPermissionChange','ERROR_IMAGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','3489741HTqCty','_unitOnClients','_singleActiveUnitService','/fetchmissing?from=','NoPadding','then','/universer-api/stream/file/upload','_applyRemoteChangeset','isArray','labelPosition','newValue','textEncoder','updateOfflineData','svg','/universer-api/snapshot','_fetchMissChangesets','YUUMI_UNABLE_LOAD_URL','0\x200\x2017\x2016','_selfUnitIDs','location','ILogService','collaMsg','subunit','title','_shouldReportTelemetry','CommentService','MemberService','UniverInstanceType','max','UNIVER_SLIDE','requestParams','POST','DEFAULT_FILE_NAME','collab-text-anchor-','_shapes','icon','getCurrentUser','OFFLINE','_ensureSubject','_eventUnsubscribe','_onRemoteRetry','_updateSubUnitFromURLParams','/-/object/-/batch_allowed','InsertRangeMoveRightCommandId','_getAPIPrefixPath','debounce','conflict.content','_redoStacks','getUnit','collabStatus.offline','_onRemoteACK','defIds','Disposable','eventID','setWaitCount','Malformed\x20UTF-8\x20data','error','onRemoteChangeset','transformSelections','_scheduleTimestamp','parseProtocolChangeset','_snapshotService','unsubscribe','liveShareNewHost','action','_getUploadFileURL','blockSize','parseChangesetToProtocol','authzUrl','onTransformSelections','WorkbookEditablePermission','[OfflineState]:\x20received\x20changeset.','conflict','InsertSheetMutation','handleInsertRow','_syncEditingCollabCursorService','react','Pkcs7','getSkeleton','HTTPService','univer-online-status','bind','UNIVER_UNKNOWN','_startDocCollabCursor','[DataLoaderController]','getCurrentSelections','currentTheme$','onTransformRemoteChangesetByStateCache','roomMembers$','IMessageService','transformMutation','_beforeCloseService','rgba(255,\x20255,\x20255,\x200.01)','ERROR_IMAGE_TYPE','_nDataBytes','_initStatusComponent','useCallback','getMember','image/png','PERMISSION_DENIED','getUnitId','rxjs/operators','Optional','getRangePointData','fetching\x20missing\x20changesets\x20from\x20','sid','InsertRowCommandId','routeKey','resize','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','collaboratorID','HEARTBEAT_TIMEOUT','@univerjs/network','fetchMiss','_clearScheduledTask','SEND_CHANGESET_TIMEOUT','startTime','BuiltInUIPart','href','encryptBlock','ivSize','EmptyMutation','hasOwnProperty','_permissionService','@univerjs/docs-ui','IContextService','_transformHistoryAndStateStack','workbook','_clearHeartbeatTimer','reduce','_state','getAllMembers','_nRounds','&to=','reqId','Vector2','HELLO','DependentOn','cmd','className','UnitSnapshot','defs','incrementRevOfUnit','setShowComponents','ImageSourceType','678320YmdGUx','object','target','_checkMissing','_memberService','originalMeta','_incrementRevisionNumber','serializeCombRequest','COLLAB_WEB_SOCKET_URL','searchParams','randomBytes','/block/','_initCommandExecutedListener','_resendWithTimeout','range','updateMember','_docSkeleton','_telemetryInfo','_loadDoc','gold400','JOIN','collab-text-range-','concatMap','fillStyle','stringify','_handleHover','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCollabEntity','/universer-api/comb','getMergeData','mapTo','updateCollaborator','_data','min','getInterceptPoints','show','_disableEditing','defineProperty','_submitChangeset','_saveTaskMap','m2Prime','sin','setAlpha','SessionStatus','NEW_CHANGESETS','delete','Workbook','COMPRESS_MUTATION_APPLY','equals','_onConnectionFailed','_color','div','getItem','deleteCollaborator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_lastPointer','Undefined','collaboration-client.config','_createHandler','_retryCount','state','findNodePositionByCharIndex','/rev/','_sendingTimer','_docClipboardService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_cursors','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','handleInsertRangeMoveRight','_substituteUndoStack','tag','_sendHeartbeat','Warning','Univer','_keySchedule','_queuedRemoteChangesets','1em','code','enableSingleActiveInstanceLock','_socket','RemoveColCommandId','resend','sessionStatus$','_scheduleSaving','uni.network.url-service','UserManagerService','concat','ThresholdInterceptorFactory','_saveCache','extend','_hasher','endRow','name','joinEvent','disposeWithMe','_DEC_XFORM_MODE','csShouldRetryEvent','_remoteChangesetQueue','listCollaborators','serializeRangeWithSheet','APPLY_REJECT','_rescheduleHeartbeat','_hovered','_collabSessionService','_createSocket','onload','lineTo','HMAC','EvpKDF','_onConflict','text','VIEWPORT_KEY','_handleLeaveEvent','subUnitId','_getSaveTimeout','_docStateChangeManagerService','_initCloseConn','Hex','allowed','rxjs','...','addClipboardHook','getImageSourceCache','xlink:href','FETCH_MISS','startRow','_handleEvent','[CollaborationSessionService]','clone','_drawRectRange','_cursor','keySize','IURLService','_onRemoteRejected','permissionRejEvent','offline','_scheduleHeartbeat','_doCryptBlock','_snapshotServerService','_event$','UniverCollaborationClientPlugin','_textBubble','assignAColorForMemberID','update','BlockCipher','IMentionIOService','336kTSNhc','__Key__','MentionType','round','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getSnapshotAPIPrefix','&assign=','exports','_transitionLocked','RichTextEditingMutation','collabSubmitChangesetUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','handleInsertCol','COMPRESS_MUTATION_SEND','_configService','OffLineSingle','socketService','putCollaborators','_clearTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessionStatus$','status','compute','ALREADY_EXISTS','Inject','startsWith','some','_transformRemoteChangesetByStateCache','univer-online-status-title','[FetchMissState]','_prevBlock','Module','INTERNAL_ERROR','_transformUndoRedoStack','ImageIoService','_httpService','socket$','collaborators','pluginName','_throwTelemetryCollaborationNewChangeset','IRenderManagerService','4odAhdH','_commentUpdate$','add','getCurrentRevOfUnit','objectActions','TEXT_RANGE_LAYER_INDEX','CollaborationSessionService','CompressMutationService','LICENSE_IMPORT_SIZE_EXCEEDED','onCommentUpdate','objectID','sendChangesetTimeout','setTimeout','shouldCloseConn','568473OfNUIm','_onJoinRoomEvent','onRendered','colorChannel1','registerRefRange','_themeService','color','onPointerLeave$','unitId','_disabled','JOIN_ROOM_FULL','updateCursorEvent','WordArray','SheetsSelectionsService','$super','_scheduleCollaborationTimeoutTimer','Unknown\x20user','_roomMembers','Decryptor','setCurrentUser','_getAnchorBounding','_draw','SNAPSHOT_INVALID_SNAPSHOT','_retryConnectingTimer','collaboration-session-retry','CommandType','salt','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','error$','doc.mutation.rich-text-editing','@univerjs/design','_renderManagerService','createInstance','save','addImageSourceCache','off-line-single_clip0_910_343','onlineStatus','\x0aCurrent:\x20','_injector','_exhaustRemoteChangesetQueue','_syncEditingCollabCursor','_HTTPService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_colorIndex','NOT_FOUND','_registerRenderDependencies','_transformSelections','addObject','_collaborationController','_onCursorUpdate','_updateURLWithCurrentState','Utf8','length','set','attrs','1404940oraiJO','assign','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','decryptBlock','_compressMutationService','SetTextSelectionsOperation','InsertColCommandId','_heartbeatTimer','toDisposable','_range','arc','getCurrentUnitForType','kdf','APPLY_REVISION_CONFILICT','_notificationService','contains','ceil','storage','_collaborationTimeoutTimer','collaboration-client.offline-data-not-saved','close$','memberID','create','saveSheetBlock','_getScale','MergeInterceptorFactory','M0\x200H16V16H0z','_updateStatus','_initResize','LocaleService','AWAITING_WITH_PENDING','pending','useDependency','_removeRoom','connection\x20error','BASE64','INotificationService','_cursorShapes','removeMember','baseRev','runRefRangeMutations','skeleton','execute','_state$','SetWorksheetActivateCommand','UNIVER_COLLABORATION_CLIENT_PLUGIN','combineLatest','_parse','headers','_startCollaboration','IDocClipboardService','awaiting','_updateCollabCursors','on-line-single_clip0_910_349','CONFLICT','currentColor','ERROR_EXCEED_SIZE','RxDisposable','append','AuthzIoHttpService','DisposableCollection','DocCollaborationEntity','@univerjs/ui','NO_OTHER_CLIENTS_EDITING','mode','_onRemoteChangeset','format','current','COMPLETION_FINISHED','awaiting_with_pending','_collabCursorState$','/collaborator','Tools','pauseCollaboration','SNAPSHOT_URL_KEY','collabStatus.fetchMiss','readAsDataURL','dispose$','_unitID','deserializeToCombResponse','HEARTBEAT_INTERVAL_KEY','leaveEvent','touchDependencies','updatePermissionObjEvent','split','put','[CollaborationState]:\x20apply\x20error!','getCellPositionByOffset','LIVESHARE_NEW_HOST','csAckEvent','DataLoaderController','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','number','34096TcNnrr','MD5','forEach','msCrypto','DesktopCollaborationStatusDisplayController','reset','toRgbString','transformRemoteChangeset','_initMergeInterceptor','_candidateSocket','closePath','CollaborationEntity','_handler','_createHmacHelper','CollaborationController','beginPath','width','TEXT','generateRandomId','_updateLocalCursor','_anchor','[OfflineState]:\x20received\x20rejection.','IDLE','Rectangle','prototype','_drawAnchor','type','mixIn','_cipher','result','RECV','synced','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','failed\x20to\x20apply\x20missed\x20changesets!','event$','replaceDocRanges','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','SHOULD_CLOSE_CONN','row','_sender','call','HmacMD5','Cipher','_imageIoService','/object/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clearInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/file/{fileID}/sign-url','saveImage','shareReplay','FromArray','/new_changes','getValue','toggleOffline','_joinRoom','roles','_transformPreviousActiveRange','_getSessionTicket','PENDING','key','ITelemetryService','pad','IUniverInstanceService','onPointerMove$','_scheduleClearOtherTimer','isTransformMutationsWithChangesetFailure','jiqing500','registerDependencies','getTypeOfUnitDisposed$','disableLocalCache','_timeoutTimer','online','_undoStacks','transformStack\x20failed!','values','UnitEmbedded','_scene','_transformRemoteChangesetByIMECache','/role','@univerjs-pro/collaboration','UNAUTHENTICATED','setItem','lib','_removeCollabCursors','_tryEnsureSocket','setParam','JSONX','_backgroundColor','column','clamp','_oKey','_transformStack','_pendingMutations','onlineStatusIcon','_clearLocalCache','CollaborationSocketService','toString','session.connection-failed','RevisionService','collaboration.closeRoom','UNDEFINED','LIVESHARE_OPERATION','redoState','_key','cursorInfo$','[PendingState]:\x20received\x20acknowledgement.','loadSheet','_changesetReqId','_getCurrentRevision','url(#on-line-single_clip0_910_349)','[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.','bottom','NOT_COLLAB','Subject','_createInitialStateImpl','loginUrlKey','_localCacheService','_drawTextRange','join','ThemeService','purple300','executeCommand','CipherParams','_onConnectionOpen','setInterval','removeParam','on-line-single','flatMap','LOCAL_CACHE_INTERVAL','transformMutationsWithChangeset','randomUUID','byteOffset','compose','transformStateCache','_sheetSkeletonManagerService','capture','ReplaySubject','UNIVER_DOC','ColorKit','selection','_document','COLLAB_SUBMIT_CHANGESET_URL_KEY','urlChange$','IUIPartsService','red300','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_doFinalize','session.will-retry','People','_id','createIdentifier','children','_name','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','hidden','registerRenderModule','USERS_ENTER','mutations','MentionIoHttpService','interceptor','override','reconnect','transformChangesets','?url=','_initUnitPermissionChange','[CollaborationUndoRedoService]','_onUserLeave','isPermissionRej','hasher','transform','_getRedoStack','_initRequestHeader','IPermissionService','IBeforeCloseService','ICollaborationSocketService','fillText','isInternalEditorID','fetchThroughInterceptors','_removeClearOtherTimer','_telemetryService','SnapshotServerOverHTTPService','registerComponent','url(#$1','_refRangeService','_listenToOfflineEvent','onTransformChange$','_docSkeletonManagerService','Encryptor','2jeicnV','clear','getWorkbookSelections','COLLAB_WEB_SOCKET_URL_KEY','LIVESHARE_REQUEST_HOST','YUUMI_RATE_OVER_LIMIT','\x20-\x20','UNIVER_PROJECT','Base64','_replayCachedMutations','[CollaborationSessionService]:\x20socket\x20error','restore','getRandomValues','HmacSHA1','closeSession','collab-client.tooltip.reconnect','_assignedColors','splice','objects','switchMap','source','_schedule','UNIVER_SHEET','_docTransformIMECacheService','random','INGEST','getUnhiddenWorksheets','Rect','_append','take','enableAuthServer','exhaustSavingTask','saveSnapshot','pushState','connectInjector','HEARTBEAT_INTERVAL','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','unit-cache-','_type','isTransformChangesetsSuccess','filter','deepClone','ciphertext','handleIRemoveCol','DeleteRangeMoveLeftCommandId','_replaceFileID','_initDependencies','onStateChange','default','body','CollaborationSession','crypto','@univerjs/telemetry','_keyPriorReset','parse','getUnitType','Base','_lockTransition','_docTransformStateCacheService','includes','session.collaboration-timeout','responseType','_revisionService','MSG_FOR_ERROR','_doReset','RegularPolygon','_refreshCollabCursors','OnLineSingle','/unit/','_sheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]','33956VqBOAb','_reverseMap','/universer-api/oidc/authpage','onTransformState','visibilitychange','clipPath','data','_ENC_XFORM_MODE','_process','ITransformService','send','_hideTimer','image/bmp','from','_onRefRangeChange','unshift','_getSendChangesetTimeout','status$','commentUpdateEvent','fetch_missing','path','[CollaborationSession]','selections','_transformIMECache','_urlService','getUnitStatus$','message$','words','SHA1','APPLY_DUPLICATED','onRemoteAck','post','CONNECTOR_DATA_TOO_LARGE','CHANGESET_ACK','\x0aAfter:\x20','univer-offline','/allowed','replaceState','translate(.97)','getSheetId','CHANGESET_SHOULD_RETRY','_onCursorDelete','docStateChange$','auth.needGotoLoginAlert','handleMoveRange','_changesetSessionId','isTransformMutationFailure','distinctUntilChanged','onMissingChangesets','getSheetObject','undoState','_waitForHeartbeatResponse'];_0x4d1c=function(){return _0x273c22;};return _0x4d1c();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x42e4a7=_0x1cc768;if(!Ze){if(typeof crypto>'u'||!crypto[_0x42e4a7(0x448)])throw new Error(_0x42e4a7(0x12a));Ze=crypto[_0x42e4a7(0x448)][_0x42e4a7(0x1dd)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x1cc768(0x401)]&&crypto[_0x1cc768(0x401)][_0x1cc768(0x1dd)](crypto),Nt={'randomUUID':gn};function In(_0x40b98e,_0x5b899b,_0xe076e6){const _0x187a2a=_0x1cc768;if(Nt['randomUUID']&&!_0x5b899b&&!_0x40b98e)return Nt[_0x187a2a(0x401)]();_0x40b98e=_0x40b98e||{};const _0x3b7b67=_0x40b98e[_0x187a2a(0x454)]||(_0x40b98e['rng']||mn)();return _0x3b7b67[0x6]=_0x3b7b67[0x6]&0xf|0x40,_0x3b7b67[0x8]=_0x3b7b67[0x8]&0x3f|0x80,Sn(_0x3b7b67);}var Cn=Object[_0x1cc768(0x244)],En=Object[_0x1cc768(0x263)],bn=(_0x5ab325,_0x450c6e,_0x2afc08,_0x452a5b)=>{const _0x54c41c=_0x1cc768;for(var _0x36c7a8=_0x452a5b>0x1?void 0x0:_0x452a5b?En(_0x450c6e,_0x2afc08):_0x450c6e,_0x2eff20=_0x5ab325[_0x54c41c(0x31e)]-0x1,_0xd50269;_0x2eff20>=0x0;_0x2eff20--)(_0xd50269=_0x5ab325[_0x2eff20])&&(_0x36c7a8=(_0x452a5b?_0xd50269(_0x450c6e,_0x2afc08,_0x36c7a8):_0xd50269(_0x36c7a8))||_0x36c7a8);return _0x452a5b&&_0x36c7a8&&Cn(_0x450c6e,_0x2afc08,_0x36c7a8),_0x36c7a8;},Qe=(_0x468184,_0x390e6c)=>(_0x3792d6,_0x2055bb)=>_0x390e6c(_0x3792d6,_0x2055bb,_0x468184);let Be=class{constructor(_0x2b36f1,_0x28ffe3,_0x1415d3){const _0x270e00=_0x1cc768;this[_0x270e00(0x310)]=_0x2b36f1,this[_0x270e00(0x1fa)]=_0x28ffe3,this[_0x270e00(0x309)]=_0x1415d3;}['transformIMECache'](_0x458215){const _0x3f7938=_0x1cc768;this[_0x3f7938(0x2d3)](_0x458215),this[_0x3f7938(0x3b7)](_0x458215);}[_0x1cc768(0x385)](_0x41db13){const _0x34ff6e=_0x1cc768,{unitID:_0x3f70e6}=_0x41db13,_0x4559c6=this[_0x34ff6e(0x309)][_0x34ff6e(0x4cd)](_0x3f70e6)[_0x34ff6e(0x4dc)](J[_0x34ff6e(0x5c8)]),{redoCache:_0x35373c}=_0x4559c6[_0x34ff6e(0x4ee)]();if(_0x35373c[_0x34ff6e(0x31e)]===0x0)return _0x41db13;let _0x1851d7=a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13[_0x34ff6e(0x41d)][0x0]);for(let _0x40677a=0x0;_0x40677a<_0x35373c[_0x34ff6e(0x31e)];_0x40677a++){const _0x3f960={'id':_0x34ff6e(0x307),'params':{..._0x35373c[_0x40677a]}},_0x587be5=this[_0x34ff6e(0x1fa)]['transformMutation'](_0x1851d7,_0x3f960,!0x1);if(p[_0x34ff6e(0x4b2)](_0x587be5))throw _0x587be5[_0x34ff6e(0x1c4)];_0x1851d7=_0x587be5[_0x34ff6e(0x13a)];}return{...a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13),'mutations':[_0x1851d7]};}[_0x1cc768(0x2d3)](_0xc2740c){const _0x100e2b=_0x1cc768,{unitID:_0x4622e9}=_0xc2740c,_0x1875af=this['_renderManagerService'][_0x100e2b(0x4cd)](_0x4622e9)['with'](J['DocIMEInputManagerService']),{undoCache:_0x2f58d1,redoCache:_0xb0f56f}=_0x1875af[_0x100e2b(0x4ee)]();if(_0x2f58d1[_0x100e2b(0x31e)]===0x0||_0xb0f56f['length']===0x0)return;const _0x4dd65d=[],_0x1244a2=[];let _0x2c8646=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]),_0x4cc7b5=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]);for(let _0xf9446e=_0x2f58d1[_0x100e2b(0x31e)]-0x1;_0xf9446e>=0x0;_0xf9446e--){const _0x1a224c={'id':'doc.mutation.rich-text-editing','params':{..._0x2f58d1[_0xf9446e]}},_0xcf31b={'id':_0x100e2b(0x307),'params':{..._0xb0f56f[_0xf9446e]}},_0x4bbc55=this[_0x100e2b(0x1fa)]['transformMutation'](_0x2c8646,_0x1a224c,!0x1),_0x83aa0=this[_0x100e2b(0x1fa)]['transformMutation'](_0x4cc7b5,_0xcf31b,!0x1);if(p[_0x100e2b(0x4b2)](_0x4bbc55))throw _0x4bbc55[_0x100e2b(0x1c4)];if(p['isTransformMutationFailure'](_0x83aa0))throw _0x83aa0['error'];_0x4dd65d[_0x100e2b(0x493)](_0x4bbc55[_0x100e2b(0x247)][_0x100e2b(0x530)]),_0x1244a2[_0x100e2b(0x493)](_0x83aa0[_0x100e2b(0x247)]['params']),_0x2c8646=_0x4bbc55['m1Prime'],_0x4cc7b5=_0x83aa0[_0x100e2b(0x13a)];}_0x1875af[_0x100e2b(0x10d)]({'undoCache':_0x4dd65d,'redoCache':_0x1244a2});}[_0x1cc768(0x3b7)](_0x2788ef){const _0x13c195=_0x1cc768,{unitID:_0x312e6d}=_0x2788ef,_0x438482=this[_0x13c195(0x309)]['getRenderById'](_0x312e6d)[_0x13c195(0x4dc)](J[_0x13c195(0x5c8)]),_0x267763=_0x438482['getActiveRange']();if(_0x267763==null)return;const _0x5a6971=[{'id':_0x13c195(0x307),'params':{'unitId':_0x2788ef[_0x13c195(0x4ed)],'actions':null,'textRanges':[_0x267763]}}],_0x4dbae8=this[_0x13c195(0x1fa)]['transformMutationsWithChangeset'](_0x2788ef,_0x5a6971);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4dbae8))throw _0x4dbae8[_0x13c195(0x1c4)];const _0x5894bf=_0x4dbae8[_0x13c195(0x247)][0x0][_0x13c195(0x530)][_0x13c195(0x4e6)];Array['isArray'](_0x5894bf)&&_0x5894bf[_0x13c195(0x31e)]&&_0x438482[_0x13c195(0x162)](_0x5894bf[0x0]);}};Be=bn([Qe(0x0,a['Inject'](a['Injector'])),Qe(0x1,p['ITransformService']),Qe(0x2,K[_0x1cc768(0x2da)])],Be);var Tn=Object[_0x1cc768(0x244)],Rn=Object['getOwnPropertyDescriptor'],yn=(_0x5a7ed7,_0x3f4e85,_0x55540b,_0x5aa9ad)=>{const _0x415146=_0x1cc768;for(var _0x2c5e99=_0x5aa9ad>0x1?void 0x0:_0x5aa9ad?Rn(_0x3f4e85,_0x55540b):_0x3f4e85,_0x1b12b7=_0x5a7ed7[_0x415146(0x31e)]-0x1,_0x38b99b;_0x1b12b7>=0x0;_0x1b12b7--)(_0x38b99b=_0x5a7ed7[_0x1b12b7])&&(_0x2c5e99=(_0x5aa9ad?_0x38b99b(_0x3f4e85,_0x55540b,_0x2c5e99):_0x38b99b(_0x2c5e99))||_0x2c5e99);return _0x5aa9ad&&_0x2c5e99&&Tn(_0x3f4e85,_0x55540b,_0x2c5e99),_0x2c5e99;},we=(_0x3bfd22,_0x2897df)=>(_0x43641d,_0x18bbf0)=>_0x2897df(_0x43641d,_0x18bbf0,_0x3bfd22);exports[_0x1cc768(0x305)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x16dc7c,_0x12df41,_0x4fbd5a,_0x5733ab,_0x455db0){const _0x1049d1=_0x1cc768;super(),I(this,_0x1049d1(0x50b),new Map()),I(this,_0x1049d1(0x246),new Map()),I(this,_0x1049d1(0x2f2),!0x1),(this[_0x1049d1(0x2c0)]=_0x16dc7c,this[_0x1049d1(0x160)]=_0x12df41,this[_0x1049d1(0x1e7)]=_0x4fbd5a,this['_localeService']=_0x5733ab,this[_0x1049d1(0x47a)]=_0x455db0,this[_0x1049d1(0x541)]());}[_0x1cc768(0x3c4)](){const _0x103f91=_0x1cc768;this[_0x103f91(0x2f2)]=!0x0;}['enableLocalCache'](){const _0x494555=_0x1cc768;this[_0x494555(0x2f2)]=!0x1;}[_0x1cc768(0x14c)](){const _0x33029e=_0x1cc768;this[_0x33029e(0x45b)]()[_0x33029e(0x191)](()=>super[_0x33029e(0x14c)]());}async[_0x1cc768(0x5ca)](_0x1586ce){const _0x13ee58=_0x1cc768;return this[_0x13ee58(0x2f2)]?null:this[_0x13ee58(0x160)][_0x13ee58(0x253)](Lt(_0x1586ce));}async[_0x1cc768(0x54c)](_0x22387e,_0xeeac6a){const _0x888dad=_0x1cc768;return!!this[_0x888dad(0x160)]['setItem'](_0x22387e,_0xeeac6a);}[_0x1cc768(0x198)](_0x3ac5a6,_0x1e53f1,_0x5b9a19,_0x1bddb0){const _0x428e97=_0x1cc768,_0x3c4094=this[_0x428e97(0x47a)][_0x428e97(0x2de)](_0x3ac5a6);this[_0x428e97(0x50b)][_0x428e97(0x31f)](_0x3ac5a6,{'unitID':_0x3ac5a6,'type':_0x1e53f1,'awaitingChangeset':_0x5b9a19,'mutations':_0x1bddb0,'rev':_0x3c4094}),this[_0x428e97(0x246)][_0x428e97(0x50a)](_0x3ac5a6)||this[_0x428e97(0x273)](_0x3ac5a6);}[_0x1cc768(0x273)](_0xbb64e8){const _0x3c7eef=_0x1cc768,_0x2d6448=this['_getSaveTimeout']();_0x2d6448===0x0?this[_0x3c7eef(0x278)](_0xbb64e8):this[_0x3c7eef(0x246)][_0x3c7eef(0x31f)](_0xbb64e8,setTimeout(()=>this[_0x3c7eef(0x278)](_0xbb64e8),_0x2d6448));}[_0x1cc768(0x292)](){const _0x460846=_0x1cc768;var _0x29f793;return(_0x29f793=this[_0x460846(0x2c0)]['getConfig'](ci))!=null?_0x29f793:zi;}[_0x1cc768(0x278)](_0x8395e6){const _0x4ff6de=_0x1cc768,_0xe24bc5=this[_0x4ff6de(0x246)][_0x4ff6de(0x4f7)](_0x8395e6);return _0xe24bc5!==void 0x0&&window[_0x4ff6de(0x4e7)](_0xe24bc5),this['_localStorageService'][_0x4ff6de(0x3d0)](Lt(_0x8395e6),this[_0x4ff6de(0x50b)]['get'](_0x8395e6))['then'](()=>this[_0x4ff6de(0x246)][_0x4ff6de(0x24c)](_0x8395e6));}async[_0x1cc768(0x45b)](){const _0x29e335=_0x1cc768,_0x3d6593=[];this['_saveTaskMap'][_0x29e335(0x380)]((_0xeef8b1,_0x4ce0d0)=>{const _0x203650=_0x29e335;window[_0x203650(0x4e7)](_0xeef8b1),_0x3d6593[_0x203650(0x102)](this[_0x203650(0x278)](_0x4ce0d0)[_0x203650(0x191)](()=>{const _0x2acc14=_0x203650;this[_0x2acc14(0x246)][_0x2acc14(0x24c)](_0x4ce0d0);}));}),await Promise[_0x29e335(0x520)](_0x3d6593);}[_0x1cc768(0x541)](){const _0x2c1578=_0x1cc768;this[_0x2c1578(0x27e)](this[_0x2c1578(0x1e7)]['registerBeforeClose'](()=>{const _0x5a255c=_0x2c1578;if(this['_saveTaskMap'][_0x5a255c(0x4df)])return this[_0x5a255c(0x133)]['t'](_0x5a255c(0x334));}));}},exports['LocalCacheService']=yn([we(0x0,a[_0x1cc768(0x56f)]),we(0x1,a[_0x1cc768(0x587)]),we(0x2,te[_0x1cc768(0x42d)]),we(0x3,a['Inject'](a[_0x1cc768(0x33e)])),we(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)]))],exports[_0x1cc768(0x305)]);function Lt(_0x1c5559){const _0x120097=_0x1cc768;return _0x120097(0x461)+_0x1c5559;}var On=Object[_0x1cc768(0x244)],Dn=Object[_0x1cc768(0x263)],Pn=(_0x1e7a02,_0x5cb768,_0x4aead3,_0x186c46)=>{const _0x2709f9=_0x1cc768;for(var _0x2e7b39=_0x186c46>0x1?void 0x0:_0x186c46?Dn(_0x5cb768,_0x4aead3):_0x5cb768,_0x1f87b9=_0x1e7a02[_0x2709f9(0x31e)]-0x1,_0x13682e;_0x1f87b9>=0x0;_0x1f87b9--)(_0x13682e=_0x1e7a02[_0x1f87b9])&&(_0x2e7b39=(_0x186c46?_0x13682e(_0x5cb768,_0x4aead3,_0x2e7b39):_0x13682e(_0x2e7b39))||_0x2e7b39);return _0x186c46&&_0x2e7b39&&On(_0x5cb768,_0x4aead3,_0x2e7b39),_0x2e7b39;},et=(_0x1d3d6c,_0x4fe10c)=>(_0xcc7ceb,_0xbb5443)=>_0x4fe10c(_0xcc7ceb,_0xbb5443,_0x1d3d6c);function wn(_0x168be2){const _0x5e1ffc=_0x1cc768,{unitID:_0x22ee91,mutations:_0x271d27}=_0x168be2;return{'unitId':_0x22ee91,'subUnitId':_0x271d27[0x0][_0x5e1ffc(0x530)][_0x5e1ffc(0x291)]};}let ke=class{constructor(_0x3f6e61,_0xa37e43,_0x102e5b){const _0x31b48f=_0x1cc768;this[_0x31b48f(0x310)]=_0x3f6e61,this[_0x31b48f(0x1fa)]=_0xa37e43,this['_instanceService']=_0x102e5b;}[_0x1cc768(0x1c6)](_0x493b75){const _0x1fa032=_0x1cc768;var _0xb5afdd,_0x4aa63e,_0x51e2c7,_0x265778;const _0x4d9e90=this['_injector'][_0x1fa032(0x4f7)](k[_0x1fa032(0x2f6)]),{unitId:_0x22738b,subUnitId:_0x2cd733}=wn(_0x493b75),_0x524095=_0x4d9e90[_0x1fa032(0x43e)](_0x22738b)[_0x1fa032(0x1e1)](),_0x4b5d38=(_0x4aa63e=(_0xb5afdd=this[_0x1fa032(0x184)][_0x1fa032(0x1bc)](_0x22738b))==null?void 0x0:_0xb5afdd['getActiveSheet']())==null?void 0x0:_0x4aa63e['getSheetId']();if(_0x524095[_0x1fa032(0x31e)]===0x0||!_0x22738b||!_0x2cd733)return;const _0x5ddde8=[{'id':k[_0x1fa032(0x4c3)]['id'],'params':{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':a[_0x1fa032(0x369)]['deepClone'](_0x524095)}}],_0x682daf=this[_0x1fa032(0x1fa)][_0x1fa032(0x400)](_0x493b75,_0x5ddde8);if(!p['isTransformMutationsWithChangesetSuccess'](_0x682daf))throw _0x682daf[_0x1fa032(0x1c4)];const _0x33d842=(_0x265778=(_0x51e2c7=_0x682daf['m2Prime'][0x0])==null?void 0x0:_0x51e2c7[_0x1fa032(0x530)])==null?void 0x0:_0x265778[_0x1fa032(0x49a)];if(Array[_0x1fa032(0x194)](_0x33d842)&&_0x33d842['length']){if(_0x33d842['length']===_0x5ddde8[0x0][_0x1fa032(0x530)][_0x1fa032(0x49a)]['length']&&_0x33d842[_0x1fa032(0x578)]((_0xde0767,_0x546f56)=>a[_0x1fa032(0x395)][_0x1fa032(0x24f)](_0xde0767[_0x1fa032(0x22c)],_0x5ddde8[0x0]['params'][_0x1fa032(0x49a)][_0x546f56]['range'])))return;this[_0x1fa032(0x310)]['get'](a[_0x1fa032(0x11f)])[_0x1fa032(0x3f8)](k['SetSelectionsOperation']['id'],{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':_0x33d842});}}};ke=Pn([et(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),et(0x1,p[_0x1cc768(0x48d)]),et(0x2,a[_0x1cc768(0x3bd)])],ke);const ze=a[_0x1cc768(0x415)]('univer-pro.collaboration-client.single-active-unit-service');var vi=(_0x17bbd6=>(_0x17bbd6[_0x17bbd6[_0x1cc768(0x360)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x17bbd6[_0x17bbd6[_0x1cc768(0x506)]=0x1]=_0x1cc768(0x506),_0x17bbd6))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a[_0x1cc768(0x1c0)]{constructor(){const _0x52d4ed=_0x1cc768;super(),I(this,_0x52d4ed(0x414),a[_0x52d4ed(0x369)]['generateRandomId']()),I(this,_0x52d4ed(0x19e),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x52d4ed(0x328),null),I(this,_0x52d4ed(0x113),new Map()),I(this,_0x52d4ed(0x155),new Map()),this[_0x52d4ed(0x143)]();}[_0x1cc768(0x14c)](){const _0x308264=_0x1cc768;super[_0x308264(0x14c)](),this[_0x308264(0x113)][_0x308264(0x380)]((_0x266610,_0x2c98ea)=>this[_0x308264(0x432)](_0x2c98ea)),this[_0x308264(0x328)]&&window[_0x308264(0x3ac)](this['_heartbeatTimer']);}[_0x1cc768(0x49d)](_0x281e1b){const _0x1e7fb2=_0x1cc768;return this[_0x1e7fb2(0x1b2)](_0x281e1b)['pipe'](A[_0x1e7fb2(0x4b3)]());}[_0x1cc768(0x4c0)](_0x814e39){const _0x18da8f=_0x1cc768;this[_0x18da8f(0x19e)][_0x18da8f(0x4df)]===0x0&&this[_0x18da8f(0x2a8)](),this['_selfUnitIDs']['add'](_0x814e39),this[_0x18da8f(0x145)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x814e39],'isForwarded':!0x1});}[_0x1cc768(0x573)](_0x4f63dd){const _0x3ee48b=_0x1cc768;this[_0x3ee48b(0x19e)]['delete'](_0x4f63dd),this['_selfUnitIDs'][_0x3ee48b(0x4df)]===0x0&&this[_0x3ee48b(0x328)]&&window[_0x3ee48b(0x3ac)](this[_0x3ee48b(0x328)]);}['_init'](){const _0x4144a9=_0x1cc768;this[_0x4144a9(0x27e)](a[_0x4144a9(0x329)](A[_0x4144a9(0x5b2)](window,_0x4144a9(0x332))['subscribe'](_0x5827e8=>{const _0x1e8bff=_0x4144a9;if(_0x5827e8['key']!==jt||!_0x5827e8['newValue'])return;const _0x8e2401=JSON['parse'](_0x5827e8[_0x1e8bff(0x196)]);this[_0x1e8bff(0x29e)](_0x8e2401);}))),window['addEventListener']('unload',()=>this[_0x4144a9(0x145)]({'type':0x1,'memberID':this[_0x4144a9(0x414)],'unitIDs':Array[_0x4144a9(0x491)](this[_0x4144a9(0x19e)])}));}[_0x1cc768(0x29e)](_0x12b316){const _0x20469c=_0x1cc768;switch(_0x12b316[_0x20469c(0x398)]){case 0x0:this[_0x20469c(0x531)](_0x12b316);break;case 0x1:this[_0x20469c(0x290)](_0x12b316);break;case 0x2:this[_0x20469c(0x567)](_0x12b316);break;}}[_0x1cc768(0x531)](_0x11272e){const _0x19d0ce=_0x1cc768,{unitIDs:_0x4f6032,memberID:_0x1f81dd,isForwarded:_0x178712}=_0x11272e;_0x4f6032['forEach'](_0x2fdc85=>{const _0x1e0f2c=_0x3a60;if(!_0x178712&&this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)&&this[_0x1e0f2c(0x1b2)](_0x2fdc85)[_0x1e0f2c(0x122)](0x1),!this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)||!this['_unitOnClients'][_0x1e0f2c(0x4f7)](_0x2fdc85)[_0x1e0f2c(0x50a)](_0x1f81dd)){const _0x42e008=this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x4f7)](_0x2fdc85)||new Set();_0x42e008[_0x1e0f2c(0x2dd)](_0x1f81dd),this[_0x1e0f2c(0x18d)]['set'](_0x2fdc85,_0x42e008),this[_0x1e0f2c(0x3bf)](_0x1f81dd);}}),_0x178712||this[_0x19d0ce(0x145)]({'type':0x0,'memberID':this[_0x19d0ce(0x414)],'unitIDs':[...this[_0x19d0ce(0x19e)]],'isForwarded':!0x0});}[_0x1cc768(0x3bf)](_0x163851){const _0x4455b6=_0x1cc768;this['_removeClearOtherTimer'](_0x163851);const _0x1d6cce=window[_0x4455b6(0x2e7)](()=>{const _0x52cec5=_0x4455b6;this[_0x52cec5(0x18d)][_0x52cec5(0x380)](_0x2e6fc5=>{const _0x4df9c6=_0x52cec5;_0x2e6fc5[_0x4df9c6(0x24c)](_0x163851);});},xt*0x2);this[_0x4455b6(0x113)][_0x4455b6(0x31f)](_0x163851,_0x1d6cce);}[_0x1cc768(0x432)](_0x2f52a9){const _0x3302b7=_0x1cc768;if(this['_clearOtherTimers'][_0x3302b7(0x50a)](_0x2f52a9)){const _0x3fec8b=this[_0x3302b7(0x113)][_0x3302b7(0x4f7)](_0x2f52a9);_0x3fec8b&&window['clearTimeout'](_0x3fec8b),this[_0x3302b7(0x113)][_0x3302b7(0x31f)](_0x2f52a9,null);}}[_0x1cc768(0x290)](_0x386189){const _0x529278=_0x1cc768,{memberID:_0x935178,unitIDs:_0x166c7b}=_0x386189;_0x166c7b[_0x529278(0x380)](_0x4fb356=>{const _0x559913=_0x529278;var _0x7be80a;const _0x237e89=this[_0x559913(0x18d)]['get'](_0x4fb356);_0x237e89&&(_0x237e89[_0x559913(0x24c)](_0x935178),(_0x7be80a=this['_ensureSubject'](_0x4fb356))==null||_0x7be80a[_0x559913(0x122)](_0x237e89[_0x559913(0x4df)]===0x0?0x0:0x1));}),this[_0x529278(0x432)](_0x935178);}[_0x1cc768(0x567)](_0x14b31e){const _0x8d49dc=_0x1cc768;this['_scheduleClearOtherTimer'](_0x14b31e[_0x8d49dc(0x336)]);}['_send'](_0x541876){const _0x4daa00=_0x1cc768;localStorage[_0x4daa00(0x3d0)](jt,JSON[_0x4daa00(0x236)](_0x541876));}[_0x1cc768(0x2a8)](){const _0x243822=_0x1cc768;this[_0x243822(0x328)]=window[_0x243822(0x3fb)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},xt);}['_ensureSubject'](_0x31a3b2){const _0x10768f=_0x1cc768;return this['_unitStatus']['has'](_0x31a3b2)||this[_0x10768f(0x155)][_0x10768f(0x31f)](_0x31a3b2,new A['BehaviorSubject'](0x0)),this[_0x10768f(0x155)][_0x10768f(0x4f7)](_0x31a3b2);}}var Mn=Object[_0x1cc768(0x244)],An=Object[_0x1cc768(0x263)],Nn=(_0x4372a9,_0x1838f0,_0x9f7c8d,_0x322e4d)=>{const _0x1c2546=_0x1cc768;for(var _0x449949=_0x322e4d>0x1?void 0x0:_0x322e4d?An(_0x1838f0,_0x9f7c8d):_0x1838f0,_0x52626a=_0x4372a9[_0x1c2546(0x31e)]-0x1,_0xfe5085;_0x52626a>=0x0;_0x52626a--)(_0xfe5085=_0x4372a9[_0x52626a])&&(_0x449949=(_0x322e4d?_0xfe5085(_0x1838f0,_0x9f7c8d,_0x449949):_0xfe5085(_0x449949))||_0x449949);return _0x322e4d&&_0x449949&&Mn(_0x1838f0,_0x9f7c8d,_0x449949),_0x449949;},tt=(_0x4472a4,_0x471d64)=>(_0x3e98d8,_0x5cf446)=>_0x471d64(_0x3e98d8,_0x5cf446,_0x4472a4);let We=class{constructor(_0x4cb054,_0x4d2135,_0x49a3e8){const _0x3ca6f7=_0x1cc768;this[_0x3ca6f7(0x310)]=_0x4cb054,this[_0x3ca6f7(0x1fa)]=_0x4d2135,this[_0x3ca6f7(0x293)]=_0x49a3e8;}['transformStateCache'](_0x3b746e){const _0x20bf99=_0x1cc768;this[_0x20bf99(0x20b)](_0x3b746e);}[_0x1cc768(0x385)](_0x308b5c){const _0x4fb782=_0x1cc768,{unitID:_0x289101}=_0x308b5c,{collaboration:_0x3ac5eb}=this[_0x4fb782(0x293)][_0x4fb782(0x56a)](_0x289101);if(_0x3ac5eb[_0x4fb782(0x31e)]===0x0)return _0x308b5c;let _0x5e688c=a[_0x4fb782(0x369)]['deepClone'](_0x308b5c[_0x4fb782(0x41d)][0x0]);for(let _0x3db230=0x0;_0x3db230<_0x3ac5eb['length'];_0x3db230++){const _0x5c2d5a={'id':_0x4fb782(0x307),'params':{'unitId':_0x3ac5eb[_0x3db230]['unitId'],..._0x3ac5eb[_0x3db230][_0x4fb782(0x3e5)]}},_0x1eaa63=this[_0x4fb782(0x1fa)]['transformMutation'](_0x5e688c,_0x5c2d5a,!0x1);if(p[_0x4fb782(0x4b2)](_0x1eaa63))throw _0x1eaa63[_0x4fb782(0x1c4)];_0x5e688c=_0x1eaa63[_0x4fb782(0x13a)];}return{...a['Tools'][_0x4fb782(0x465)](_0x308b5c),'mutations':[_0x5e688c]};}[_0x1cc768(0x20b)](_0x42a67c){const _0x4b7e8d=_0x1cc768,{unitID:_0x37eaae}=_0x42a67c,{history:_0x16f965,collaboration:_0x5805f3}=this[_0x4b7e8d(0x293)][_0x4b7e8d(0x56a)](_0x37eaae);if(_0x16f965[_0x4b7e8d(0x31e)]===0x0&&_0x5805f3[_0x4b7e8d(0x31e)]===0x0)return;const _0x466872=[],_0x4dae7c=[];let _0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x35d804=_0x16f965[_0x4b7e8d(0x31e)]-0x1;_0x35d804>=0x0;_0x35d804--){const _0x327bd0={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x4b6)]}},_0x1f442e={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x3e5)]}},_0x20e99d=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x327bd0,!0x1),_0x524a85=this['_transformService'][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1f442e,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x20e99d))throw _0x20e99d[_0x4b7e8d(0x1c4)];if(p['isTransformMutationFailure'](_0x524a85))throw _0x524a85[_0x4b7e8d(0x1c4)];_0x466872[_0x4b7e8d(0x493)]({..._0x16f965[_0x35d804],'undoState':_0x20e99d[_0x4b7e8d(0x247)]['params'],'redoState':_0x524a85[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)]}),_0x36313e=_0x20e99d['m1Prime'],_0x3cbc6a=_0x524a85[_0x4b7e8d(0x13a)];}_0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x383284=_0x5805f3[_0x4b7e8d(0x31e)]-0x1;_0x383284>=0x0;_0x383284--){const _0x25039d={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x4b6)]}},_0x1401a={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x3e5)]}},_0x36adf7=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x25039d,!0x1),_0xca45c1=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1401a,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x36adf7))throw _0x36adf7[_0x4b7e8d(0x1c4)];if(p[_0x4b7e8d(0x4b2)](_0xca45c1))throw _0xca45c1[_0x4b7e8d(0x1c4)];_0x4dae7c[_0x4b7e8d(0x493)]({..._0x5805f3[_0x383284],'undoState':_0x36adf7[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)],'redoState':_0xca45c1['m2Prime']['params']}),_0x36313e=_0x36adf7[_0x4b7e8d(0x13a)],_0x3cbc6a=_0xca45c1[_0x4b7e8d(0x13a)];}this['_docStateChangeManagerService']['setStateCache'](_0x37eaae,{'history':_0x466872,'collaboration':_0x4dae7c});}};We=Nn([tt(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),tt(0x1,p['ITransformService']),tt(0x2,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)]))],We);function Si(_0x2a8c9c){const _0x27c26e=_0x1cc768;let _0x39b8f7='';for(const _0x22b726 of _0x2a8c9c){const {startOffset:_0x48436c,endOffset:_0x305c91,isActive:_0x41718d,rangeType:_0x15bc19,segmentId:_0x43543e,segmentPage:_0x471a98}=_0x22b726;_0x39b8f7[_0x27c26e(0x31e)]&&(_0x39b8f7+=','),_0x39b8f7+=_0x48436c+':'+_0x305c91+':'+(_0x41718d?'1':'0')+':'+_0x15bc19+':'+_0x43543e+':'+_0x471a98;}return _0x39b8f7;}function Ln(_0xeb19ae){const _0x5a4489=_0x1cc768,_0x5c8e7d=_0xeb19ae[_0x5a4489(0x375)](','),_0x348162=[];for(const _0x6bb38c of _0x5c8e7d){const [_0x44fb37,_0x46489c,_0x9b0263,_0x3c9dbb,_0xe3acbe,_0x3e6ba0]=_0x6bb38c[_0x5a4489(0x375)](':');_0x348162[_0x5a4489(0x102)]({'startOffset':Number(_0x44fb37),'endOffset':Number(_0x46489c),'collapsed':_0x44fb37===_0x46489c,'isActive':_0x9b0263==='1','rangeType':_0x3c9dbb===a[_0x5a4489(0x150)]['TEXT']?a[_0x5a4489(0x150)][_0x5a4489(0x38f)]:a[_0x5a4489(0x150)][_0x5a4489(0x5a9)],'segmentId':typeof _0xe3acbe=='string'?String(_0xe3acbe):'','segmentPage':Number(_0x3e6ba0!=null?_0x3e6ba0:-0x1)});}return _0x348162[_0x5a4489(0x2cc)](_0x5f29b6=>_0x5f29b6[_0x5a4489(0x55a)])||(_0x348162[0x0][_0x5a4489(0x55a)]=!0x0),_0x348162;}class yt extends a[_0x1cc768(0x35a)]{constructor(){const _0x406040=_0x1cc768;super(...arguments),I(this,_0x406040(0x367),new A[(_0x406040(0x118))](null)),I(this,_0x406040(0x564),this[_0x406040(0x367)][_0x406040(0x575)]());}['syncEditingCollabCursor'](_0x266e9e){const _0x5f5b39=_0x1cc768,{unitID:_0x349de5,memberID:_0x4a02bf,textRanges:_0x456bf7}=_0x266e9e,_0x28483c=Si(_0x456bf7);if(_0x28483c==='')return;const _0x294a92={'unitID':_0x349de5,'memberID':_0x4a02bf,'selection':_0x28483c};this[_0x5f5b39(0x367)][_0x5f5b39(0x122)](_0x294a92);}}var xn=Object['defineProperty'],jn=Object[_0x1cc768(0x263)],$n=(_0x7263d5,_0x31be3c,_0x40cbc6,_0x2d5bc0)=>{for(var _0x555c93=_0x2d5bc0>0x1?void 0x0:_0x2d5bc0?jn(_0x31be3c,_0x40cbc6):_0x31be3c,_0xe75a7e=_0x7263d5['length']-0x1,_0x401c47;_0xe75a7e>=0x0;_0xe75a7e--)(_0x401c47=_0x7263d5[_0xe75a7e])&&(_0x555c93=(_0x2d5bc0?_0x401c47(_0x31be3c,_0x40cbc6,_0x555c93):_0x401c47(_0x555c93))||_0x555c93);return _0x2d5bc0&&_0x555c93&&xn(_0x31be3c,_0x40cbc6,_0x555c93),_0x555c93;},$t=(_0x4ea7ba,_0x178061)=>(_0x2d62dd,_0x4d104e)=>_0x178061(_0x2d62dd,_0x4d104e,_0x4ea7ba);let Fe=class{constructor(_0x3fd533,_0x2bd28c){const _0x121524=_0x1cc768;this[_0x121524(0x310)]=_0x3fd533,this['_transformService']=_0x2bd28c;}[_0x1cc768(0x1c6)](_0x13aa25){const _0x54a503=_0x1cc768;var _0x385c02;const _0x58df10=this['_injector'][_0x54a503(0x4f7)](Ie['DocSelectionManagerService']),_0x37fe44=(_0x385c02=_0x58df10[_0x54a503(0x4d0)]())!=null?_0x385c02:[];if(_0x37fe44[_0x54a503(0x31e)]===0x0)return;const _0x5a826a=_0x13aa25[_0x54a503(0x4ed)],_0x5eed99=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a826a,'actions':null,'textRanges':_0x37fe44}}],_0x178475=this[_0x54a503(0x1fa)][_0x54a503(0x400)](_0x13aa25,_0x5eed99);if(!p[_0x54a503(0x482)](_0x178475))throw _0x178475[_0x54a503(0x1c4)];const _0xc3b510=_0x178475[_0x54a503(0x247)][0x0]['params'][_0x54a503(0x4e6)];Array[_0x54a503(0x194)](_0xc3b510)&&_0xc3b510[_0x54a503(0x31e)]&&_0x58df10[_0x54a503(0x3a1)](_0xc3b510,{'unitId':_0x5a826a,'subUnitId':_0x5a826a},!0x1);}};Fe=$n([$t(0x0,a[_0x1cc768(0x2ca)](a['Injector'])),$t(0x1,p[_0x1cc768(0x48d)])],Fe);const Hn=new Set([k[_0x1cc768(0x1d5)]['id']]);function Ht(_0x75d2ee,_0x5b8a30,_0x3e2b1c,_0x2e0fad,_0x1975f1){const _0x45e222=_0x1cc768;var _0x17bc35,_0x1cef01,_0xc7fc0a,_0x5ea267;const _0x2ae7d9=[];for(const _0x4e0dbd of _0x75d2ee)if(Hn[_0x45e222(0x50a)](_0x4e0dbd['id'])){if(_0x2ae7d9['length']>0x0)break;_0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);break;}else _0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);const _0x19088b=(_0x1cef01=(_0x17bc35=_0x1975f1['getCurrentUser']())==null?void 0x0:_0x17bc35[_0x45e222(0x140)])!=null?_0x1cef01:'unknown',_0x206ad4=(_0x5ea267=(_0xc7fc0a=_0x1975f1['getCurrentUser']())==null?void 0x0:_0xc7fc0a[_0x45e222(0x336)])!=null?_0x5ea267:_0x45e222(0x5cf);return{'changeset':{'unitID':_0x5b8a30,'type':p[_0x45e222(0x501)](_0x3e2b1c[_0x45e222(0x473)](_0x5b8a30)),'baseRev':_0x2e0fad['getCurrentRevOfUnit'](_0x5b8a30),'revision':0x0,'userID':_0x19088b,'memberID':_0x206ad4,'mutations':_0x2ae7d9},'pendingMutations':_0x75d2ee['slice'](_0x2ae7d9[_0x45e222(0x31e)])};}function Bn(_0x135f65,_0x564ae2,_0xeae072,_0x5b2a8f,_0xe29dce){const _0xbb1c9c=_0x1cc768;var _0x677a8e,_0x45856c,_0x550f3f,_0x26433e;const _0x1a968c=[_0x135f65[_0xbb1c9c(0x20e)]((_0x136da2,_0x57f5ab)=>{const _0x4a6a21=_0xbb1c9c;var _0x39155f;const {id:_0x1720b8}=_0x136da2,{id:_0x63a6cc,type:_0x97fd65}=_0x57f5ab,_0x185301=(_0x39155f=_0x136da2[_0x4a6a21(0x530)])!=null?_0x39155f:{'actions':null},_0x14c8eb=_0x57f5ab['params'];if(_0x1720b8&&_0x1720b8!==_0x63a6cc)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1720b8+_0x4a6a21(0x442)+_0x63a6cc+'.');return{..._0x136da2,'id':_0x63a6cc,'type':_0x97fd65,'params':{'unitId':_0x14c8eb[_0x4a6a21(0x2f1)],'textRanges':_0x14c8eb[_0x4a6a21(0x4e6)],'actions':a[_0x4a6a21(0x3d5)][_0x4a6a21(0x403)](_0x185301['actions'],_0x14c8eb['actions'])}};},{})],_0x219190=(_0x45856c=(_0x677a8e=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x677a8e[_0xbb1c9c(0x140)])!=null?_0x45856c:_0xbb1c9c(0x5cf),_0x9f8bb2=(_0x26433e=(_0x550f3f=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x550f3f[_0xbb1c9c(0x336)])!=null?_0x26433e:'unknown';return{'changeset':{'unitID':_0x564ae2,'type':p[_0xbb1c9c(0x501)](_0xeae072['getUnitType'](_0x564ae2)),'baseRev':_0x5b2a8f[_0xbb1c9c(0x2de)](_0x564ae2),'revision':0x0,'userID':_0x219190,'memberID':_0x9f8bb2,'mutations':_0x1a968c},'pendingMutations':[]};}function pi(_0xad7ea3,_0x17e464){const _0x31dbbd=_0x1cc768,_0x1ce2d0=new A[(_0x31dbbd(0x407))](0x1);return setTimeout(()=>_0x1ce2d0['next'](_0x17e464),_0xad7ea3),_0x1ce2d0['asObservable']()[_0x31dbbd(0x154)](A[_0x31dbbd(0x459)](0x1));}const kn={'id':k[_0x1cc768(0x206)]['id'],'type':a[_0x1cc768(0x302)][_0x1cc768(0x17c)],'params':{}};var Wn=Object[_0x1cc768(0x244)],Fn=Object['getOwnPropertyDescriptor'],Ee=(_0x1fd6d8,_0x59d41f,_0x4aaac4,_0x1a4a01)=>{const _0x5e9855=_0x1cc768;for(var _0x231f0e=_0x1a4a01>0x1?void 0x0:_0x1a4a01?Fn(_0x59d41f,_0x4aaac4):_0x59d41f,_0x13099d=_0x1fd6d8[_0x5e9855(0x31e)]-0x1,_0x210574;_0x13099d>=0x0;_0x13099d--)(_0x210574=_0x1fd6d8[_0x13099d])&&(_0x231f0e=(_0x1a4a01?_0x210574(_0x59d41f,_0x4aaac4,_0x231f0e):_0x210574(_0x231f0e))||_0x231f0e);return _0x1a4a01&&_0x231f0e&&Wn(_0x59d41f,_0x4aaac4,_0x231f0e),_0x231f0e;},N=(_0xac9bd4,_0x6b6704)=>(_0x3195bd,_0x88f789)=>_0x6b6704(_0x3195bd,_0x88f789,_0xac9bd4),q=(_0x69fee=>(_0x69fee[_0x1cc768(0x3ef)]='not_collab',_0x69fee['SYNCED']='synced',_0x69fee[_0x1cc768(0x3b9)]='pending',_0x69fee['AWAITING']=_0x1cc768(0x354),_0x69fee[_0x1cc768(0x33f)]=_0x1cc768(0x366),_0x69fee[_0x1cc768(0x29c)]=_0x1cc768(0x497),_0x69fee[_0x1cc768(0x357)]=_0x1cc768(0x1d4),_0x69fee[_0x1cc768(0x1b1)]=_0x1cc768(0x2a7),_0x69fee))(q||{});const mi=0xea60;class be{constructor(_0x43556c,_0x25312c,_0x52fc2d,_0x5498a2,_0x2b43b6,_0x44e0ed,_0x2672b9,_0x2501d1,_0x2e439){const _0x89b3e3=_0x1cc768;I(this,'_awaitingChangeset',null),I(this,_0x89b3e3(0x3db),[]),(this[_0x89b3e3(0x4ed)]=_0x43556c,this[_0x89b3e3(0x398)]=_0x25312c,this[_0x89b3e3(0x38a)]=_0x2b43b6,this[_0x89b3e3(0x134)]=_0x44e0ed,this[_0x89b3e3(0x5d6)]=_0x2672b9,this[_0x89b3e3(0x47a)]=_0x2501d1,this['_localCacheService']=_0x2e439,this[_0x89b3e3(0x182)]=_0x52fc2d,this[_0x89b3e3(0x3db)]=_0x5498a2);}[_0x1cc768(0x221)](_0x1902c4){const _0x50c428=_0x1cc768,_0x4288e8=this['_revisionService'][_0x50c428(0x2de)](this['unitID']);return _0x1902c4[_0x50c428(0x528)]>_0x4288e8+0x1?(this[_0x50c428(0x38a)][_0x50c428(0x4b4)]({'from':_0x4288e8,'to':_0x1902c4[_0x50c428(0x528)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b9805){const _0x40ffa7=_0x1cc768;this[_0x40ffa7(0x5d6)][_0x40ffa7(0x597)](this[_0x40ffa7(0x4ed)],_0x5b9805);}['_transformSelections'](_0x22edc9){const _0x491c3b=_0x1cc768;var _0xfc469,_0x158fa4;(_0x158fa4=(_0xfc469=this[_0x491c3b(0x38a)])['onTransformSelections'])==null||_0x158fa4['call'](_0xfc469,_0x22edc9);}[_0x1cc768(0x49b)](_0x1fd9c8){const _0xd5970e=_0x1cc768;var _0x551a59,_0x10d2a0;return(_0x10d2a0=(_0x551a59=this[_0xd5970e(0x38a)])[_0xd5970e(0x174)])==null?void 0x0:_0x10d2a0[_0xd5970e(0x3a6)](_0x551a59,_0x1fd9c8);}['_transformStateCache'](_0x27dba0){const _0x37a502=_0x1cc768;var _0x40c84e,_0x148b14;return(_0x148b14=(_0x40c84e=this[_0x37a502(0x38a)])[_0x37a502(0x487)])==null?void 0x0:_0x148b14['call'](_0x40c84e,_0x27dba0);}['_transformRemoteChangesetByIMECache'](_0x2df90a){const _0x478dfd=_0x1cc768;var _0x45ca9d,_0x13bcfe,_0x5b4a75;return(_0x5b4a75=(_0x13bcfe=(_0x45ca9d=this[_0x478dfd(0x38a)])[_0x478dfd(0x4c7)])==null?void 0x0:_0x13bcfe[_0x478dfd(0x3a6)](_0x45ca9d,_0x2df90a))!=null?_0x5b4a75:_0x2df90a;}['_transformRemoteChangesetByStateCache'](_0x5d39b4){const _0x522603=_0x1cc768;var _0x151e1f,_0x2afea7,_0x4ce750;return(_0x4ce750=(_0x2afea7=(_0x151e1f=this[_0x522603(0x38a)])[_0x522603(0x1e3)])==null?void 0x0:_0x2afea7['call'](_0x151e1f,_0x5d39b4))!=null?_0x4ce750:_0x5d39b4;}['_syncEditingCollabCursor'](_0x4f2447){const _0x3ed15a=_0x1cc768;var _0xdeea9a,_0x54d8f0;if(this[_0x3ed15a(0x398)]===ne[_0x3ed15a(0x408)]){const {unitID:_0x2abaef,mutations:_0x19a182,memberID:_0x454460}=_0x4f2447,_0x4a631f=_0x19a182[0x0]['params']['textRanges'];Array[_0x3ed15a(0x194)](_0x4a631f)&&_0x4a631f[_0x3ed15a(0x31e)]>0x0&&((_0x54d8f0=(_0xdeea9a=this[_0x3ed15a(0x38a)])[_0x3ed15a(0x529)])==null||_0x54d8f0['call'](_0xdeea9a,{'unitID':_0x2abaef,'memberID':_0x454460,'textRanges':_0x4a631f}));}}['_updateLocalCache'](){const _0x1fa35c=_0x1cc768;this[_0x1fa35c(0x3f3)][_0x1fa35c(0x198)](this[_0x1fa35c(0x4ed)],this['type'],this[_0x1fa35c(0x182)],this[_0x1fa35c(0x3db)]);}['_getCurrentRevision'](){const _0x3ccc0f=_0x1cc768;return this['_revisionService'][_0x3ccc0f(0x2de)](this[_0x3ccc0f(0x4ed)]);}[_0x1cc768(0x224)](){const _0x316753=_0x1cc768;this['_revisionService'][_0x316753(0x21b)](this[_0x316753(0x4ed)]);}[_0x1cc768(0x525)](_0x40b3e7){const _0x22e073=_0x1cc768;var _0x5ebfdc;let _0x33e3d7=this[_0x22e073(0x3cc)](_0x40b3e7);_0x33e3d7=this[_0x22e073(0x2cd)](_0x33e3d7);const _0x504ab6=a[_0x22e073(0x5ae)](_0x33e3d7['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x504ab6[_0x22e073(0x39b)])throw _0x504ab6[_0x22e073(0x1c4)]instanceof Error?_0x504ab6[_0x22e073(0x1c4)]:new Error((_0x5ebfdc=_0x504ab6[_0x22e073(0x1c4)])!=null?_0x5ebfdc:_0x22e073(0x377));this[_0x22e073(0x49b)](_0x33e3d7),this['_transformStateCache'](_0x33e3d7),this[_0x22e073(0x595)](_0x40b3e7),this[_0x22e073(0x318)](_0x33e3d7),this[_0x22e073(0x312)](_0x33e3d7),this[_0x22e073(0x224)]();}}let Oe=class extends be{constructor(_0x5bad5b,_0x5f3ec2,_0x15b2dd,_0x24b05d,_0x9d194b,_0x27da7d,_0x45281a,_0x27971c,_0x3f77fb,_0x8c2dc5){const _0x23d9b0=_0x1cc768;super(_0x5bad5b,_0x5f3ec2,null,[],_0x15b2dd,_0x27971c,_0x45281a,_0x24b05d,_0x9d194b),I(this,'status',_0x23d9b0(0x39d)),(this[_0x23d9b0(0x310)]=_0x27da7d,this[_0x23d9b0(0x10c)]=_0x3f77fb,this[_0x23d9b0(0x1fa)]=_0x8c2dc5);}[_0x1cc768(0x566)](_0xe552ca){const _0x240c5a=_0x1cc768,_0x251277=this[_0x240c5a(0x310)][_0x240c5a(0x30a)](ce,this['unitID'],this[_0x240c5a(0x398)],[_0xe552ca],this[_0x240c5a(0x38a)]);return _0x251277[_0x240c5a(0x451)](),_0x251277[_0x240c5a(0x4f0)](),_0x251277;}[_0x1cc768(0x1c5)](_0x3da9e7){const _0x2a7b20=_0x1cc768;if(this[_0x2a7b20(0x221)](_0x3da9e7))return this[_0x2a7b20(0x310)]['createInstance'](re,this[_0x2a7b20(0x4ed)],this[_0x2a7b20(0x398)],null,[],null,[_0x3da9e7],this[_0x2a7b20(0x38a)]);try{const _0x1eb4a9=this[_0x2a7b20(0x1fa)][_0x2a7b20(0x400)](_0x3da9e7,[kn]);if(p[_0x2a7b20(0x482)](_0x1eb4a9)){const {c1Prime:_0xdd94d8}=_0x1eb4a9;return this['_executeRemoteChangeset'](_0xdd94d8),this;}throw _0x1eb4a9['error'];}catch(_0x1f9a2f){return this['_logService'][_0x2a7b20(0x1c4)](_0x1f9a2f),this[_0x2a7b20(0x28d)](!0x1);}}[_0x1cc768(0x28d)](_0x31d331){const _0x3531c6=_0x1cc768;return this['_injector'][_0x3531c6(0x30a)](ve,this[_0x3531c6(0x4ed)],this[_0x3531c6(0x398)],null,[],this[_0x3531c6(0x38a)],_0x31d331);}[_0x1cc768(0x4a2)](){const _0x482afe=_0x1cc768;throw new Error(_0x482afe(0x304));}[_0x1cc768(0x55e)](){const _0x4a2e70=_0x1cc768;throw new Error(_0x4a2e70(0x12d));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x83cce2=_0x1cc768;return this[_0x83cce2(0x310)][_0x83cce2(0x30a)](Se,this[_0x83cce2(0x4ed)],this[_0x83cce2(0x398)],null,[],this[_0x83cce2(0x38a)]);}['toggleOnline'](){return this;}['resend'](){const _0x2733e8=_0x1cc768;throw new Error(_0x2733e8(0x2c5));}['fetchMiss'](){const _0xc9d162=_0x1cc768,_0x535e26=this['_revisionService'][_0xc9d162(0x2de)](this[_0xc9d162(0x4ed)]);return this['_handler']['onMissingChangesets']({'from':_0x535e26,'to':0x0}),this[_0xc9d162(0x310)][_0xc9d162(0x30a)](re,this[_0xc9d162(0x4ed)],this[_0xc9d162(0x398)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x4,a['Inject'](exports['LocalCacheService'])),N(0x5,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x6,a[_0x1cc768(0x542)]),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)])],Oe);let ce=class extends be{constructor(_0x2a0d34,_0x4e4cb0,_0x197a58,_0x5e2462,_0x5a8fd7,_0x44ba14,_0x1d3fda,_0x31e179,_0x189efc,_0x35480e,_0x13ec05,_0x291dd5,_0x1e0894,_0x5c6468){const _0x555221=_0x1cc768;super(_0x2a0d34,_0x4e4cb0,null,_0x197a58,_0x5e2462,_0x35480e,_0x5c6468,_0x44ba14,_0x1d3fda),I(this,'status',_0x555221(0x340)),I(this,'_scheduleTimestamp',null),I(this,_0x555221(0x25e),null),(this[_0x555221(0x310)]=_0x5a8fd7,this[_0x555221(0x222)]=_0x31e179,this[_0x555221(0x10c)]=_0x189efc,this[_0x555221(0x2c0)]=_0x13ec05,this[_0x555221(0x1fa)]=_0x291dd5,this['_univerInstanceService']=_0x1e0894);}[_0x1cc768(0x566)](_0x395bd2){const _0x52ddac=_0x1cc768;return this[_0x52ddac(0x3db)][_0x52ddac(0x102)](_0x395bd2),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x13c577){const _0x2a7439=_0x1cc768;if(this[_0x2a7439(0x221)](_0x13c577))return this[_0x2a7439(0x1ff)](),this[_0x2a7439(0x310)][_0x2a7439(0x30a)](re,this['unitID'],this[_0x2a7439(0x398)],null,this[_0x2a7439(0x3db)],null,[_0x13c577],this[_0x2a7439(0x38a)]);try{const _0x2c4658=this[_0x2a7439(0x1fa)]['transformMutationsWithChangeset'](_0x13c577,this[_0x2a7439(0x3db)]);if(p[_0x2a7439(0x482)](_0x2c4658)){const {c1Prime:_0x3563b5,m2Prime:_0x30ee0d}=_0x2c4658;this[_0x2a7439(0x525)](_0x3563b5);const _0x311b0f=this[_0x2a7439(0x310)][_0x2a7439(0x30a)](ce,this[_0x2a7439(0x4ed)],this[_0x2a7439(0x398)],_0x30ee0d,this[_0x2a7439(0x38a)]);return this[_0x2a7439(0x1ff)](),_0x311b0f['_schedule'](this[_0x2a7439(0x1c7)]?Math[_0x2a7439(0x1a8)](0x0,new Date()[_0x2a7439(0x12b)]()-this[_0x2a7439(0x1c7)]):this[_0x2a7439(0x494)]()),_0x311b0f;}throw _0x2c4658[_0x2a7439(0x1c4)];}catch(_0x53d65b){return this['_logService'][_0x2a7439(0x1c4)](_0x53d65b),this['_onConflict'](!0x1);}}[_0x1cc768(0x4a2)](){const _0x34282e=_0x1cc768;throw new Error(_0x34282e(0x3e8));}[_0x1cc768(0x55e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x27a1dd=_0x1cc768;return this[_0x27a1dd(0x1ff)](),this[_0x27a1dd(0x310)][_0x27a1dd(0x30a)](Se,this[_0x27a1dd(0x4ed)],this[_0x27a1dd(0x398)],null,this[_0x27a1dd(0x3db)],this[_0x27a1dd(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x451)](_0x1ea019){const _0x271a35=_0x1cc768,_0x132558=_0x1ea019!=null?_0x1ea019:this[_0x271a35(0x494)]();this['_scheduleTimestamp']=new Date()[_0x271a35(0x12b)](),this[_0x271a35(0x25e)]=window[_0x271a35(0x2e7)](()=>{const _0x4f5579=_0x271a35;this[_0x4f5579(0x1ff)]();let _0x4f0f73=null;switch(this[_0x4f5579(0x398)]){case ne['UNIVER_SHEET']:{_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this[_0x4f5579(0x47a)],this[_0x4f5579(0x222)]);break;}case ne['UNIVER_DOC']:{this['_pendingMutations'][_0x4f5579(0x578)](_0x2b0e95=>_0x2b0e95['id']===Ie[_0x4f5579(0x2bb)]['id'])?_0x4f0f73=Bn(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this['_univerInstanceService'],this['_revisionService'],this[_0x4f5579(0x222)]):_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this['_revisionService'],this[_0x4f5579(0x222)]);break;}default:throw new Error(_0x4f5579(0x239)+this[_0x4f5579(0x398)]+'\x20in\x20_schedule.');}const {changeset:_0x466352,pendingMutations:_0x1adc35}=_0x4f0f73;this[_0x4f5579(0x38a)][_0x4f5579(0x12f)](_0x466352);const _0x5d7185=_0x1adc35[_0x4f5579(0x31e)]?this[_0x4f5579(0x310)][_0x4f5579(0x30a)](le,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,_0x1adc35,this[_0x4f5579(0x38a)],void 0x0):this[_0x4f5579(0x310)]['createInstance'](fe,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,this['_handler']);_0x5d7185['_updateLocalCache'](),this[_0x4f5579(0x38a)][_0x4f5579(0x46b)](this,_0x5d7185);},_0x132558);}[_0x1cc768(0x494)](){const _0x3b21d3=_0x1cc768;var _0x2b4371;const _0x2317d0=this['_configService'][_0x3b21d3(0x555)](Q);return(_0x2b4371=_0x2317d0==null?void 0x0:_0x2317d0[_0x3b21d3(0x2e6)])!=null?_0x2b4371:Fi;}[_0x1cc768(0x271)](){const _0x5816e0=_0x1cc768;throw new Error(_0x5816e0(0x179));}[_0x1cc768(0x1ff)](){const _0x32c438=_0x1cc768;this[_0x32c438(0x25e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1cc768(0x28d)](_0x5065cb){const _0x54c9f6=_0x1cc768;return this[_0x54c9f6(0x1ff)](),this[_0x54c9f6(0x310)][_0x54c9f6(0x30a)](ve,this['unitID'],this[_0x54c9f6(0x398)],null,this[_0x54c9f6(0x3db)],this[_0x54c9f6(0x38a)],_0x5065cb);}};ce=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x6,a['Inject'](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['IConfigService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a[_0x1cc768(0x3bd)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends be{constructor(_0x3d1b9d,_0x4d8294,_0x5e5c43,_0x2a2d00,_0x497b4f,_0x58dcf9,_0x53b282,_0x4d711c,_0x1ece80,_0x101e9a,_0x4fd5a8){const _0x2ef539=_0x1cc768;super(_0x3d1b9d,_0x4d8294,_0x5e5c43,[],_0x2a2d00,_0x4d711c,_0x4fd5a8,_0x58dcf9,_0x53b282),I(this,_0x2ef539(0x2c7),_0x2ef539(0x354)),I(this,'_resendTimeout',0x0),I(this,_0x2ef539(0x5c4)),I(this,_0x2ef539(0x3a5)),(this[_0x2ef539(0x310)]=_0x497b4f,this[_0x2ef539(0x10c)]=_0x1ece80,this[_0x2ef539(0x1fa)]=_0x101e9a);}[_0x1cc768(0x566)](_0x172429){const _0x429a0b=_0x1cc768;this[_0x429a0b(0x1ff)]();const _0xf25899=this[_0x429a0b(0x310)][_0x429a0b(0x30a)](le,this[_0x429a0b(0x4ed)],this[_0x429a0b(0x398)],this[_0x429a0b(0x182)],[_0x172429],this[_0x429a0b(0x38a)],this['_resendTimer']);return _0xf25899['_updateLocalCache'](),_0xf25899;}[_0x1cc768(0x1c5)](_0x2253f3){const _0x18c855=_0x1cc768;if(this[_0x18c855(0x221)](_0x2253f3))return this[_0x18c855(0x1ff)](),this[_0x18c855(0x310)][_0x18c855(0x30a)](re,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],this[_0x18c855(0x182)],[],null,[_0x2253f3],this[_0x18c855(0x38a)]);try{const _0x3e2288=this[_0x18c855(0x1fa)][_0x18c855(0x422)]([_0x2253f3],[this['_awaitingChangeset']],!0x1);if(p[_0x18c855(0x463)](_0x3e2288)){const {c1Prime:_0x4f84c3,c2Prime:_0x5ad462}=_0x3e2288;this[_0x18c855(0x525)](_0x4f84c3[0x0]),_0x5ad462[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x21f47a=this['_injector'][_0x18c855(0x30a)](fe,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],_0x5ad462[0x0],this[_0x18c855(0x38a)]);return _0x21f47a[_0x18c855(0x4f0)](),_0x21f47a;}return this[_0x18c855(0x28d)](!0x1);}catch(_0x352d04){return this[_0x18c855(0x10c)][_0x18c855(0x1c4)](_0x352d04),this[_0x18c855(0x28d)](!0x1);}}[_0x1cc768(0x4a2)](_0x2d9824){const _0x21f845=_0x1cc768;this[_0x21f845(0x1ff)]();const _0x3d2489=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x2d9824[_0x21f845(0x528)]<_0x3d2489-0x1)return this;if(this[_0x21f845(0x221)](_0x2d9824))return this['_injector'][_0x21f845(0x30a)](re,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xe0a23b=this[_0x21f845(0x310)][_0x21f845(0x30a)](Oe,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],this[_0x21f845(0x38a)]);return _0xe0a23b[_0x21f845(0x4f0)](),_0xe0a23b;}['onRemoteRej'](_0x270954){const _0x562fb4=_0x1cc768;return this[_0x562fb4(0x28d)](!!(_0x270954!=null&&_0x270954[_0x562fb4(0x427)]));}[_0x1cc768(0x5a2)](_0x20a5e7){const _0x241f60=_0x1cc768;return this[_0x241f60(0x571)]>mi?this[_0x241f60(0x3b4)]():(this[_0x241f60(0x5c4)]=pi(this[_0x241f60(0x571)],{'timeout':this['_resendTimeout'],'reqId':_0x20a5e7[_0x241f60(0x213)]}),this[_0x241f60(0x3a5)]=this[_0x241f60(0x5c4)][_0x241f60(0x556)](({reqId:_0x723abe,timeout:_0x4c7828})=>{const _0x3608aa=_0x241f60;this[_0x3608aa(0x22b)](_0x723abe,_0x4c7828);}),this);}['toggleOffline'](){const _0x5c88e5=_0x1cc768;return this[_0x5c88e5(0x1ff)](),this[_0x5c88e5(0x310)][_0x5c88e5(0x30a)](Se,this[_0x5c88e5(0x4ed)],this[_0x5c88e5(0x398)],this[_0x5c88e5(0x182)],[],this[_0x5c88e5(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x21bcc9=_0x1cc768;this[_0x21bcc9(0x38a)]['onSendChangeset'](this[_0x21bcc9(0x182)]);}[_0x1cc768(0x28d)](_0x1a8807){const _0x3b79cc=_0x1cc768;return this['_clearScheduledTask'](),this['_injector'][_0x3b79cc(0x30a)](ve,this[_0x3b79cc(0x4ed)],this['type'],this[_0x3b79cc(0x182)],[],this[_0x3b79cc(0x38a)],_0x1a8807);}['_resendWithTimeout'](_0x21a546,_0x1ab975){const _0x1f49a2=_0x1cc768;var _0x45fa72;_0x21a546===((_0x45fa72=this[_0x1f49a2(0x182)])==null?void 0x0:_0x45fa72[_0x1f49a2(0x213)])&&(this[_0x1f49a2(0x271)](),this[_0x1f49a2(0x571)]=_0x1ab975===0x0?0x3e8:_0x1ab975*0x2);}[_0x1cc768(0x1ff)](){const _0xa964d3=_0x1cc768;var _0x62a8ff;(_0x62a8ff=this[_0xa964d3(0x3a5)])==null||_0x62a8ff[_0xa964d3(0x1ca)](),this[_0xa964d3(0x571)]=0x0;}};fe=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x6,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)]),N(0xa,a[_0x1cc768(0x542)])],fe);let le=class extends be{constructor(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x9e7fed,_0x176f0f,_0x3001a6,_0x378fe9,_0x4f5fb7,_0x536d2e,_0x3b0662,_0x40ad07){const _0x187382=_0x1cc768;super(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x4f5fb7,_0x40ad07,_0x3001a6,_0x378fe9),I(this,_0x187382(0x2c7),_0x187382(0x366)),I(this,_0x187382(0x571),0x0),I(this,_0x187382(0x5c4)),I(this,_0x187382(0x3a5)),(this[_0x187382(0x310)]=_0x176f0f,this[_0x187382(0x10c)]=_0x536d2e,this[_0x187382(0x1fa)]=_0x3b0662,_0x9e7fed&&(this[_0x187382(0x5c4)]=_0x9e7fed,this[_0x187382(0x3a5)]=this[_0x187382(0x5c4)][_0x187382(0x556)](({reqId:_0x35e5f6,timeout:_0x511ac4})=>{const _0x545781=_0x187382;this[_0x545781(0x22b)](_0x35e5f6,_0x511ac4);})));}[_0x1cc768(0x566)](_0x47581c){const _0x2dbd59=_0x1cc768;return this[_0x2dbd59(0x3db)]['push'](_0x47581c),this;}['onRemoteChangeset'](_0x1c996d){const _0x6e5097=_0x1cc768;if(this[_0x6e5097(0x221)](_0x1c996d))return this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)]['createInstance'](re,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1c996d],this[_0x6e5097(0x38a)]);try{const _0x330c8f=this[_0x6e5097(0x1fa)][_0x6e5097(0x422)]([_0x1c996d],[this['_awaitingChangeset']],!0x1);if(p[_0x6e5097(0x463)](_0x330c8f)){const {c1Prime:_0x467f63,c2Prime:_0x2b172a}=_0x330c8f,_0x20224b=this[_0x6e5097(0x1fa)]['transformMutationsWithChangeset'](_0x467f63[0x0],this[_0x6e5097(0x3db)]);if(p[_0x6e5097(0x482)](_0x20224b)){const {c1Prime:_0x400882,m2Prime:_0xeabf0a}=_0x20224b;return this[_0x6e5097(0x525)](_0x400882),_0x2b172a[0x0][_0x6e5097(0x348)]=this[_0x6e5097(0x3eb)](),this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)][_0x6e5097(0x30a)](le,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],_0x2b172a[0x0],_0xeabf0a,this[_0x6e5097(0x38a)],void 0x0);}throw _0x20224b[_0x6e5097(0x1c4)];}throw _0x330c8f['error'];}catch(_0x302575){return this[_0x6e5097(0x10c)]['error'](_0x302575),this[_0x6e5097(0x28d)](!0x1);}}['onRemoteAck'](_0xc79485){const _0x2e2aef=_0x1cc768;if(this[_0x2e2aef(0x1ff)](),this[_0x2e2aef(0x221)](_0xc79485))return this[_0x2e2aef(0x310)]['createInstance'](re,this[_0x2e2aef(0x4ed)],this[_0x2e2aef(0x398)],null,this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x182)],[],this[_0x2e2aef(0x38a)]);this[_0x2e2aef(0x224)]();const _0xa6dad6=this[_0x2e2aef(0x310)]['createInstance'](ce,this['unitID'],this[_0x2e2aef(0x398)],this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x38a)]);return _0xa6dad6[_0x2e2aef(0x451)](),_0xa6dad6[_0x2e2aef(0x4f0)](),_0xa6dad6;}['onRemoteRej'](_0x42209c){const _0x18ee2b=_0x1cc768;return this[_0x18ee2b(0x28d)](!!(_0x42209c!=null&&_0x42209c['isPermissionRej']));}[_0x1cc768(0x5a2)](_0x23aaf2){const _0x502c96=_0x1cc768;return this['_resendTimeout']>mi?this['toggleOffline']():(this[_0x502c96(0x5c4)]=pi(this[_0x502c96(0x571)],{'timeout':this[_0x502c96(0x571)],'reqId':_0x23aaf2[_0x502c96(0x213)]}),this[_0x502c96(0x3a5)]=this[_0x502c96(0x5c4)]['subscribe'](({reqId:_0x164103,timeout:_0x37e8fd})=>{this['_resendWithTimeout'](_0x164103,_0x37e8fd);}),this);}['toggleOffline'](){const _0x4c85c6=_0x1cc768;return this[_0x4c85c6(0x1ff)](),this[_0x4c85c6(0x310)][_0x4c85c6(0x30a)](Se,this[_0x4c85c6(0x4ed)],this[_0x4c85c6(0x398)],this[_0x4c85c6(0x182)],this['_pendingMutations'],this[_0x4c85c6(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x47aa59=_0x1cc768;this[_0x47aa59(0x38a)]['onSendChangeset'](this[_0x47aa59(0x182)]);}[_0x1cc768(0x28d)](_0x410d6f){const _0x56b6a2=_0x1cc768;return this['_clearScheduledTask'](),this[_0x56b6a2(0x310)][_0x56b6a2(0x30a)](ve,this[_0x56b6a2(0x4ed)],this[_0x56b6a2(0x398)],null,this[_0x56b6a2(0x3db)],this[_0x56b6a2(0x38a)],_0x410d6f);}[_0x1cc768(0x22b)](_0x2ffc3b,_0x3cc273){const _0x297d8c=_0x1cc768;var _0x45b06a;_0x2ffc3b===((_0x45b06a=this[_0x297d8c(0x182)])==null?void 0x0:_0x45b06a[_0x297d8c(0x213)])&&(this[_0x297d8c(0x271)](),this[_0x297d8c(0x571)]=_0x3cc273===0x0?0x3e8:_0x3cc273*0x2);}[_0x1cc768(0x1ff)](){const _0x4effa3=_0x1cc768;var _0x119b94;(_0x119b94=this[_0x4effa3(0x3a5)])==null||_0x119b94['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['ILogService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a['IUndoRedoService'])],le);let ve=class extends be{constructor(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x2315ea=!0x1,_0x5916c7,_0x38739e,_0x32b1ec,_0x109774,_0x382070,_0x19a378,_0x145f05){const _0xb26ffe=_0x1cc768;super(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x38739e,_0x32b1ec,_0x382070,_0x109774),I(this,_0xb26ffe(0x2c7),'conflict'),(this[_0xb26ffe(0x4d9)]=_0x2315ea,this[_0xb26ffe(0x208)]=_0x5916c7,this[_0xb26ffe(0x133)]=_0x19a378,this[_0xb26ffe(0x32f)]=_0x145f05,this[_0xb26ffe(0x4c8)](),this[_0xb26ffe(0x3dd)](),this[_0xb26ffe(0x243)]());}['appendMutation'](){return this;}[_0x1cc768(0x1c5)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}[_0x1cc768(0x16a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1cc768(0x3dd)](){const _0x591b6e=_0x1cc768;this[_0x591b6e(0x3f3)][_0x591b6e(0x198)](this['unitID'],this[_0x591b6e(0x398)],null,[]);}[_0x1cc768(0x4c8)](){const _0x43b70b=_0x1cc768;this[_0x43b70b(0x4d9)]?this[_0x43b70b(0x32f)]['show']({'title':this[_0x43b70b(0x133)]['t']('permission.title'),'content':this['_localeService']['t'](_0x43b70b(0x559)),'type':'error','duration':0x0}):this[_0x43b70b(0x32f)][_0x43b70b(0x242)]({'title':this['_localeService']['t'](_0x43b70b(0x523)),'content':this['_localeService']['t'](_0x43b70b(0x1ba)),'type':_0x43b70b(0x1c4),'duration':0x0});}[_0x1cc768(0x243)](){const _0x32bd16=_0x1cc768;this['_permissionService']['updatePermissionPoint'](new k[(_0x32bd16(0x1d2))](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x42c)])),N(0x7,a['ICommandService']),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0xb,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),N(0xc,te[_0x1cc768(0x345)])],ve);let Se=class extends be{constructor(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x175b98,_0x55f038,_0x1a8766,_0x74c270,_0x28383b){const _0x42f7c9=_0x1cc768;super(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x74c270,_0x28383b,_0x55f038,_0x1a8766),I(this,_0x42f7c9(0x2c7),_0x42f7c9(0x2a7)),this[_0x42f7c9(0x310)]=_0x175b98;}[_0x1cc768(0x566)](_0x5a22da){const _0x201439=_0x1cc768;return this[_0x201439(0x3db)][_0x201439(0x102)](_0x5a22da),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x4d6bd2){const _0x27f702=_0x1cc768;throw new Error(_0x27f702(0x1d3));}[_0x1cc768(0x4a2)](){const _0x31df20=_0x1cc768;throw new Error(_0x31df20(0x596));}[_0x1cc768(0x55e)](){const _0x738646=_0x1cc768;throw new Error(_0x738646(0x393));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}['toggleOnline'](){const _0x28c76d=_0x1cc768,{_injector:_0xab21cf,_pendingMutations:_0x4c8d92,_awaitingChangeset:_0x7a229a,unitID:_0x86ab9c,_handler:_0xa10773,type:_0x219fcf}=this,_0x240c6b=gi(_0xab21cf,_0x86ab9c,_0x219fcf,_0x7a229a,_0x4c8d92,_0xa10773);return _0x240c6b instanceof ce?_0x240c6b[_0x28c76d(0x451)]():(_0x240c6b instanceof le||_0x240c6b instanceof fe)&&_0x240c6b[_0x28c76d(0x271)](),_0x240c6b;}[_0x1cc768(0x271)](){const _0x26e1f3=_0x1cc768;throw new Error(_0x26e1f3(0x51a));}};Se=Ee([N(0x5,a[_0x1cc768(0x2ca)](a['Injector'])),N(0x6,a['Inject'](p['RevisionService'])),N(0x7,a['Inject'](exports[_0x1cc768(0x305)])),N(0x8,a[_0x1cc768(0x11f)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x2a4fdc,_0x263e09,_0x36c4db,_0x32e208,_0xe66d8f,_0x366863,_0x376662,_0x514328,_0x103391,_0x2c6f53){const _0x4b7b9c=_0x1cc768;super(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x36c4db,_0x514328,_0x103391,_0xe66d8f,_0x366863),I(this,_0x4b7b9c(0x2c7),'fetch_missing'),(this[_0x4b7b9c(0x54d)]=_0x2a4fdc,this[_0x4b7b9c(0x26b)]=_0x263e09,this[_0x4b7b9c(0x310)]=_0x32e208,this[_0x4b7b9c(0x10c)]=_0x376662,this[_0x4b7b9c(0x1fa)]=_0x2c6f53);}[_0x1cc768(0x574)](_0x4eaf3b){const _0x44c716=_0x1cc768;try{const _0x237ace=[..._0x4eaf3b,...this[_0x44c716(0x26b)]],_0x1f8794=[this[_0x44c716(0x182)]||this[_0x44c716(0x54d)]]['filter'](_0x1f3384=>!!_0x1f3384);let _0xf205b2,_0x48a0fb;if(_0x1f8794['length']){const _0x50836e=this[_0x44c716(0x1fa)][_0x44c716(0x422)](_0x237ace,_0x1f8794,!0x1);if(!p[_0x44c716(0x463)](_0x50836e))throw _0x50836e[_0x44c716(0x1c4)];_0xf205b2=_0x50836e['c1Prime'],_0x48a0fb=_0x50836e[_0x44c716(0x4b9)];}else _0xf205b2=_0x237ace,_0x48a0fb=[];let _0x525ea8=this[_0x44c716(0x3db)];_0xf205b2['forEach'](_0x33acf3=>{const _0x57e57a=_0x44c716;let _0x333488;if(_0x525ea8[_0x57e57a(0x31e)]){const _0x84c33a=this[_0x57e57a(0x1fa)][_0x57e57a(0x400)](_0x33acf3,_0x525ea8);if(!p[_0x57e57a(0x482)](_0x84c33a))throw _0x84c33a[_0x57e57a(0x1c4)];_0x333488=_0x84c33a[_0x57e57a(0x4d7)],_0x525ea8=_0x84c33a['m2Prime'];}else _0x333488=_0x33acf3;this[_0x57e57a(0x525)](_0x333488);}),this[_0x44c716(0x54d)]&&this[_0x44c716(0x224)](),this['_awaitingChangeset']&&_0x48a0fb['length']&&(_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)]());let _0x34146e;if(this[_0x44c716(0x182)]&&_0x525ea8[_0x44c716(0x31e)]!==0x0)_0x34146e=this[_0x44c716(0x310)]['createInstance'](le,this[_0x44c716(0x4ed)],this['type'],_0x48a0fb[0x0],_0x525ea8,this[_0x44c716(0x38a)],void 0x0);else{if(this[_0x44c716(0x182)]&&_0x525ea8['length']===0x0)_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)](),_0x34146e=this[_0x44c716(0x310)][_0x44c716(0x30a)](fe,this['unitID'],this[_0x44c716(0x398)],_0x48a0fb[0x0],this[_0x44c716(0x38a)]);else{if(_0x525ea8[_0x44c716(0x31e)]!==0x0){const _0x23631e=this[_0x44c716(0x310)][_0x44c716(0x30a)](ce,this[_0x44c716(0x4ed)],this['type'],_0x525ea8,this[_0x44c716(0x38a)]);_0x23631e['_schedule'](),_0x34146e=_0x23631e;}else _0x34146e=this['_injector'][_0x44c716(0x30a)](Oe,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x38a)]);}}return _0x34146e['_updateLocalCache'](),_0x34146e;}catch(_0x102d5d){return this['_logService']['error'](_0x44c716(0x2cf),_0x44c716(0x39f),_0x102d5d),this[_0x44c716(0x310)]['createInstance'](ve,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x182)],this[_0x44c716(0x3db)],this[_0x44c716(0x38a)],!0x1);}}[_0x1cc768(0x271)](){const _0xd8993=_0x1cc768;throw new Error(_0xd8993(0x138));}[_0x1cc768(0x566)](_0xbacc03){const _0x2f53e4=_0x1cc768;return this[_0x2f53e4(0x3db)]['push'](_0xbacc03),this;}[_0x1cc768(0x1c5)](_0x205c92){return this['_queuedRemoteChangesets']['push'](_0x205c92),this;}[_0x1cc768(0x4a2)](_0x32c36c){const _0x1854a9=_0x1cc768;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1854a9(0x182)],this['_awaitingChangeset']=null,this;throw new Error(_0x1854a9(0x2bd));}[_0x1cc768(0x55e)](_0x1db5d7){const _0x224e23=_0x1cc768;return this[_0x224e23(0x28d)](!!(_0x1db5d7!=null&&_0x1db5d7[_0x224e23(0x427)]));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x57b743=_0x1cc768;return this['_injector'][_0x57b743(0x30a)](Se,this['unitID'],this[_0x57b743(0x398)],this['_awaitingChangeset'],this[_0x57b743(0x3db)],this['_handler']);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x28d)](_0x17b002){const _0x4e6935=_0x1cc768;return this[_0x4e6935(0x310)][_0x4e6935(0x30a)](ve,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x4e6935(0x3db)],this['_handler'],_0x17b002);}};re=Ee([N(0x7,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x8,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x1a0)]),N(0xb,a[_0x1cc768(0x11f)]),N(0xc,a[_0x1cc768(0x542)]),N(0xd,p[_0x1cc768(0x48d)])],re);function gi(_0x3e6ea0,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1){const _0x5d46ba=_0x1cc768;return _0x5ac145&&_0x1031bd['length']?_0x3e6ea0['createInstance'](le,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1,void 0x0):_0x5ac145?_0x3e6ea0['createInstance'](fe,_0x34e641,_0x41ffdd,_0x5ac145,_0x584ce1):_0x1031bd[_0x5d46ba(0x31e)]?_0x3e6ea0['createInstance'](ce,_0x34e641,_0x41ffdd,_0x1031bd,_0x584ce1):_0x3e6ea0[_0x5d46ba(0x30a)](Oe,_0x34e641,_0x41ffdd,_0x584ce1);}var Vn=Object[_0x1cc768(0x244)],Gn=Object[_0x1cc768(0x263)],Ot=(_0xc44ad7,_0x2ca748,_0x4920d3,_0x6dfabb)=>{const _0x23d168=_0x1cc768;for(var _0x45e792=_0x6dfabb>0x1?void 0x0:_0x6dfabb?Gn(_0x2ca748,_0x4920d3):_0x2ca748,_0x2fc1af=_0xc44ad7[_0x23d168(0x31e)]-0x1,_0x2e199f;_0x2fc1af>=0x0;_0x2fc1af--)(_0x2e199f=_0xc44ad7[_0x2fc1af])&&(_0x45e792=(_0x6dfabb?_0x2e199f(_0x2ca748,_0x4920d3,_0x45e792):_0x2e199f(_0x45e792))||_0x45e792);return _0x6dfabb&&_0x45e792&&Vn(_0x2ca748,_0x4920d3,_0x45e792),_0x45e792;},H=(_0x596050,_0x40e87b)=>(_0x14dee8,_0x3f6332)=>_0x40e87b(_0x14dee8,_0x3f6332,_0x596050);exports[_0x1cc768(0x389)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x5dd1ce,_0x2ab812,_0x5ecaf7,_0x36152c,_0x5f58df,_0x3f89ae,_0x36bbd1,_0x16bd0e,_0x410eee,_0x58e408,_0x4e3144,_0x42fcc0,_0x1bb10f){const _0x330425=_0x1cc768;super(),I(this,_0x330425(0x34c),new A[(_0x330425(0x118))](null)),I(this,_0x330425(0x153),this['_state$'][_0x330425(0x575)]()),I(this,_0x330425(0x20f)),I(this,'_collaborationPaused',!0x1),I(this,_0x330425(0x4b1),''),I(this,_0x330425(0x3ea),0x0),I(this,_0x330425(0x495),this[_0x330425(0x153)][_0x330425(0x154)](A[_0x330425(0x130)](_0x235e91=>_0x235e91?_0x235e91['status']:q[_0x330425(0x1b1)]),A[_0x330425(0x3b0)](0x1))),I(this,_0x330425(0x2ba),!0x1),I(this,_0x330425(0x281),[]),(this[_0x330425(0x4ed)]=_0x5dd1ce,this[_0x330425(0x4fb)]=_0x2ab812,this['_type']=_0x5ecaf7,this[_0x330425(0x310)]=_0x36152c,this[_0x330425(0x3f3)]=_0x5f58df,this['_compressMutationService']=_0x3f89ae,this[_0x330425(0x133)]=_0x36bbd1,this['_revisionService']=_0x16bd0e,this['_logService']=_0x410eee,this[_0x330425(0x134)]=_0x58e408,this['_messageService']=_0x4e3144,this[_0x330425(0x208)]=_0x42fcc0,this[_0x330425(0x18e)]=_0x1bb10f);}get['state'](){return this['_state'];}async[_0x1cc768(0x518)](){const _0x369d38=_0x1cc768;if(this[_0x369d38(0x25b)])throw new Error(_0x369d38(0x260));await this[_0x369d38(0x143)]();}[_0x1cc768(0x36a)](){const _0x1340c4=_0x1cc768;return this['_collaborationPaused']=!0x0,a[_0x1340c4(0x329)](()=>{const _0x577dbd=_0x1340c4;this[_0x577dbd(0x12c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x506040){const _0x20058e=_0x1cc768;this[_0x20058e(0x20f)]=_0x506040,this[_0x20058e(0x34c)]['next'](_0x506040);}async[_0x1cc768(0x143)](){const _0x2be841=_0x1cc768;var _0x3da0f5;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3da0f5=this[_0x2be841(0x18e)])==null||_0x3da0f5[_0x2be841(0x4c0)](this['unitID']),this[_0x2be841(0x27e)](this[_0x2be841(0x18e)][_0x2be841(0x49d)](this[_0x2be841(0x4ed)])[_0x2be841(0x556)](_0x1d8d91=>{const _0x2a5080=_0x2be841;this[_0x2a5080(0x10c)][_0x2a5080(0x157)](_0x2a5080(0x483),'editing\x20status\x20changed\x20to',_0x1d8d91),_0x1d8d91===vi[_0x2a5080(0x506)]?(this[_0x2a5080(0x124)][_0x2a5080(0x242)]({'content':this[_0x2a5080(0x133)]['t'](_0x2a5080(0x56d)),'type':Ce[_0x2a5080(0x14d)][_0x2a5080(0x268)]}),this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this['unitID'])['id'],!0x1),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x1)):(this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this[_0x2a5080(0x4ed)])['id'],!0x0),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x0));})));let _0x322e7a=!0x1;return this['disposeWithMe'](this[_0x2be841(0x4fb)][_0x2be841(0x272)][_0x2be841(0x556)](_0x3302d4=>{const _0x3a43a0=_0x2be841;_0x3302d4===se['ONLINE']?this['_toggleOnline'](_0x322e7a):_0x3302d4===se[_0x3a43a0(0x1b1)]&&(_0x322e7a=!0x0,this['_toggleOffline']());})),this[_0x2be841(0x27e)](this[_0x2be841(0x4fb)]['event$']['subscribe'](_0x548eb1=>{const _0x258e66=_0x2be841;try{switch(_0x548eb1[_0x258e66(0x1c1)]){case p[_0x258e66(0x59c)][_0x258e66(0x24b)]:{this[_0x258e66(0x362)](p[_0x258e66(0x1c8)](_0x548eb1[_0x258e66(0x48a)]));break;}case p[_0x258e66(0x59c)]['CHANGESET_ACK']:{this[_0x258e66(0x1be)](_0x548eb1[_0x258e66(0x48a)]);break;}case p[_0x258e66(0x59c)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p[_0x258e66(0x59c)][_0x258e66(0x4ac)]:{this['_onRemoteRetry'](_0x548eb1['data']);break;}case p[_0x258e66(0x59c)][_0x258e66(0x5d0)]:{this[_0x258e66(0x50f)](_0x548eb1[_0x258e66(0x48a)][_0x258e66(0x59e)][_0x258e66(0x130)](_0x109261=>p['parseProtocolChangeset'](_0x109261)));break;}case p[_0x258e66(0x59c)][_0x258e66(0x576)]:this[_0x258e66(0x2a5)]({'isPermissionRej':!0x0});}}catch(_0xdf55ad){throw console[_0x258e66(0x1c4)](_0x258e66(0x11b),_0xdf55ad),_0xdf55ad;}})),this[_0x2be841(0x20f)];}['_unlockTransition'](){const _0x3ffbac=_0x1cc768;this[_0x3ffbac(0x2ba)]=!0x1;}[_0x1cc768(0x475)](){const _0x33e050=_0x1cc768;if(this[_0x33e050(0x2ba)])throw new Error(_0x33e050(0x3ed));this['_transitionLocked']=!0x0;}[_0x1cc768(0x5c3)](_0x2fabdb){const _0x278577=_0x1cc768;this['_lockTransition'](),this[_0x278577(0x4f3)](this[_0x278577(0x20f)]['appendMutation'](_0x2fabdb)),this[_0x278577(0x176)]();}[_0x1cc768(0x362)](_0x2f60b6){const _0x2825b9=_0x1cc768;if(!(_0x2f60b6[_0x2825b9(0x528)]<=this[_0x2825b9(0x47a)][_0x2825b9(0x2de)](this[_0x2825b9(0x4ed)]))){if(this[_0x2825b9(0x12c)]){this[_0x2825b9(0x281)]['push'](_0x2f60b6);return;}this[_0x2825b9(0x193)](_0x2f60b6);}}[_0x1cc768(0x311)](){const _0x5da049=_0x1cc768;this['_remoteChangesetQueue'][_0x5da049(0x380)](_0x445760=>this['_applyRemoteChangeset'](_0x445760)),this[_0x5da049(0x281)]=[];}[_0x1cc768(0x193)](_0x294cfc){const _0x352af9=_0x1cc768,_0x46e47d=this[_0x352af9(0x325)][_0x352af9(0x41f)]['fetchThroughInterceptors'](this[_0x352af9(0x325)]['interceptor'][_0x352af9(0x241)]()[_0x352af9(0x24e)])(_0x294cfc[_0x352af9(0x41d)],null)||_0x294cfc[_0x352af9(0x41d)],_0x1d237d={..._0x294cfc,'mutations':_0x46e47d};this[_0x352af9(0x475)](),this[_0x352af9(0x4f3)](this[_0x352af9(0x20f)][_0x352af9(0x1c5)](_0x1d237d)),this[_0x352af9(0x176)]();}[_0x1cc768(0x1be)](_0x497973){const _0xdb286a=_0x1cc768;this[_0xdb286a(0x475)](),this[_0xdb286a(0x4f3)](this[_0xdb286a(0x20f)]['onRemoteAck'](_0x497973)),this['_unlockTransition']();}[_0x1cc768(0x2a5)](_0x97dcf1){const _0x3a3712=_0x1cc768;this['_lockTransition'](),this[_0x3a3712(0x4f3)](this[_0x3a3712(0x20f)][_0x3a3712(0x55e)](_0x97dcf1)),this['_unlockTransition']();}[_0x1cc768(0x1b4)](_0x9e0e0){const _0x514393=_0x1cc768;this[_0x514393(0x475)](),this[_0x514393(0x4f3)](this[_0x514393(0x20f)][_0x514393(0x5a2)](_0x9e0e0)),this['_unlockTransition']();}['_onFetchMissResult'](_0x378cf9){const _0x644e7c=_0x1cc768;if(!(this['_state']instanceof re))throw new TypeError(_0x644e7c(0x18b));const _0x50a552=_0x378cf9[_0x644e7c(0x130)](_0x3747ac=>{const _0x379950=_0x644e7c,_0x38137d=this[_0x379950(0x325)]['interceptor'][_0x379950(0x431)](this[_0x379950(0x325)]['interceptor'][_0x379950(0x241)]()['COMPRESS_MUTATION_APPLY'])(_0x3747ac[_0x379950(0x41d)],null)||_0x3747ac[_0x379950(0x41d)];return{..._0x3747ac,'mutations':_0x38137d};});this[_0x644e7c(0x475)](),this[_0x644e7c(0x4f3)](this[_0x644e7c(0x20f)][_0x644e7c(0x574)](_0x50a552)),this[_0x644e7c(0x176)]();}[_0x1cc768(0x5ce)](){const _0x5587bd=_0x1cc768;this['_lockTransition'](),this[_0x5587bd(0x4f3)](this[_0x5587bd(0x20f)][_0x5587bd(0x3b4)]()),this[_0x5587bd(0x176)]();}[_0x1cc768(0x5ab)](_0x3cc07d=!0x1){const _0xe618fa=_0x1cc768;this['_lockTransition'](),this[_0xe618fa(0x4f3)](this['_state'][_0xe618fa(0x16a)]()),this[_0xe618fa(0x176)]();const _0x16a1f3=this[_0xe618fa(0x20f)];_0x3cc07d&&_0x16a1f3 instanceof Oe&&(this[_0xe618fa(0x475)](),this[_0xe618fa(0x4f3)](_0x16a1f3[_0xe618fa(0x1fe)]()),this['_unlockTransition']());}async[_0x1cc768(0x58c)](){return new Promise(_0x30bf03=>{const _0x4b52d6=_0x3a60;this['session'][_0x4b52d6(0x272)][_0x4b52d6(0x154)](A[_0x4b52d6(0x459)](0x1))['subscribe'](async _0x40c93b=>{const _0x1eb600=_0x4b52d6;_0x30bf03(await this[_0x1eb600(0x3f1)](_0x40c93b===se['ONLINE']));});});}[_0x1cc768(0x259)](){const _0x5e18d7=_0x1cc768,_0x2f5665=this[_0x5e18d7(0x4ed)];return{'onStateChange':(_0x10c5c0,_0xb41088)=>{const _0x5d0110=_0x5e18d7;if(_0x10c5c0!==this[_0x5d0110(0x20f)])throw new Error(_0x5d0110(0x39e)+_0x10c5c0[_0x5d0110(0x2c7)]+_0x5d0110(0x4a6)+_0xb41088[_0x5d0110(0x2c7)]+_0x5d0110(0x30f)+this[_0x5d0110(0x20f)][_0x5d0110(0x2c7)]);this[_0x5d0110(0x4f3)](_0xb41088);},'onSendChangeset':_0x3a8711=>{const _0x47b6c9=_0x5e18d7;_0x3a8711[_0x47b6c9(0x1f5)]||(_0x3a8711['sid']=this[_0x47b6c9(0x4b1)],_0x3a8711[_0x47b6c9(0x213)]=++this[_0x47b6c9(0x3ea)]);const _0x2a2be1={'eventID':p[_0x47b6c9(0x59c)][_0x47b6c9(0x54a)],'data':{'unitID':_0x3a8711[_0x47b6c9(0x4ed)],'unitType':this['_type'],'changeset':_0x3a8711,'memberID':this[_0x47b6c9(0x4fb)][_0x47b6c9(0x519)]()}};this['session'][_0x47b6c9(0x48e)](_0x2a2be1,this[_0x47b6c9(0x4ed)]);},'onMissingChangesets':({from:_0x40c4eb,to:_0x241b02})=>{const _0x29b325=_0x5e18d7;this[_0x29b325(0x10c)][_0x29b325(0x157)](_0x29b325(0x483),_0x29b325(0x1f4)+_0x40c4eb+_0x29b325(0x561)+_0x241b02);const _0x1ab187={'eventID':p['CollaborationEvent'][_0x29b325(0x52c)],'data':{'unitID':_0x2f5665,'unitType':this[_0x29b325(0x462)],'from':_0x40c4eb,'to':_0x241b02}};this[_0x29b325(0x4fb)][_0x29b325(0x48e)](_0x1ab187,this['unitID']);}};}async['_createInitialStateImpl'](_0x586a03){const _0x54b9ca=_0x1cc768;var _0x1a2adf,_0xd9fea7;const _0x31ff04=await this[_0x54b9ca(0x3f3)][_0x54b9ca(0x5ca)](this['unitID']),_0xf3b5df=(_0x1a2adf=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x41d)])!=null?_0x1a2adf:[],_0x5ec521=(_0xd9fea7=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x54e)])!=null?_0xd9fea7:null,_0x44846a=!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x1f5)])&&!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x213)]);this[_0x54b9ca(0x4b1)]=_0x44846a?_0x5ec521[_0x54b9ca(0x1f5)]:In(),this[_0x54b9ca(0x3ea)]=_0x44846a?_0x5ec521[_0x54b9ca(0x213)]:0x0;const _0x18f218=this[_0x54b9ca(0x4ed)];try{this[_0x54b9ca(0x445)](_0x5ec521,_0xf3b5df);}catch(_0x537949){this['_logService'][_0x54b9ca(0x1c4)](_0x537949);}const _0x242317=this[_0x54b9ca(0x259)]();if(_0x586a03){const _0x4f3c86=gi(this[_0x54b9ca(0x310)],_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);return _0x4f3c86 instanceof ce?_0x4f3c86['_schedule']():(_0x4f3c86 instanceof le||_0x4f3c86 instanceof fe)&&_0x4f3c86[_0x54b9ca(0x271)](),_0x4f3c86;}return this['_injector'][_0x54b9ca(0x30a)](Se,_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);}[_0x1cc768(0x445)](_0x1549f0,_0x137aad){const _0x2d37bf=_0x1cc768;var _0x1dff90,_0x2ef551;const _0x4d302a=this[_0x2d37bf(0x325)]['interceptor'][_0x2d37bf(0x431)](this[_0x2d37bf(0x325)][_0x2d37bf(0x41f)][_0x2d37bf(0x241)]()[_0x2d37bf(0x24e)]);(_0x1dff90=_0x4d302a((_0x1549f0==null?void 0x0:_0x1549f0[_0x2d37bf(0x41d)])||[],null))==null||_0x1dff90[_0x2d37bf(0x380)](_0x2431a1=>this[_0x2d37bf(0x134)][_0x2d37bf(0x3f8)](_0x2431a1['id'],_0x2431a1[_0x2d37bf(0x530)])),(_0x2ef551=_0x4d302a(_0x137aad||[],null))==null||_0x2ef551[_0x2d37bf(0x380)](_0x24b382=>this['_commandService']['executeCommand'](_0x24b382['id'],_0x24b382['params']));}},exports[_0x1cc768(0x389)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),H(0x8,a['ILogService']),H(0x9,a['ICommandService']),H(0xa,te['IMessageService']),H(0xb,a[_0x1cc768(0x42c)]),H(0xc,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x389)]),exports['DocCollaborationEntity']=class extends exports[_0x1cc768(0x389)]{constructor(_0x480afe,_0x69fa0f,_0x168181,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x25cf26,_0x14ca16,_0x4533c2,_0x4576bc,_0x3afa8d,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb){const _0x44286b=_0x1cc768;super(_0x480afe,_0x168181,_0x69fa0f,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb),this[_0x44286b(0x4ed)]=_0x480afe,this[_0x44286b(0x398)]=_0x69fa0f,this['_docStateChangeManagerService']=_0x25cf26,this['_docTransformIMECacheService']=_0x14ca16,this[_0x44286b(0x476)]=_0x4533c2,this[_0x44286b(0x536)]=_0x4576bc,this['_docSyncEditingCollabCursorService']=_0x3afa8d;}[_0x1cc768(0x259)](){const _0x407bd7=_0x1cc768,_0x4c814b=super[_0x407bd7(0x259)]();return _0x4c814b[_0x407bd7(0x174)]=_0x5806b4=>this[_0x407bd7(0x453)][_0x407bd7(0x508)](_0x5806b4),_0x4c814b[_0x407bd7(0x487)]=_0x477ee6=>this[_0x407bd7(0x476)][_0x407bd7(0x404)](_0x477ee6),_0x4c814b[_0x407bd7(0x1d1)]=_0x1a1e65=>this[_0x407bd7(0x536)][_0x407bd7(0x1c6)](_0x1a1e65),_0x4c814b[_0x407bd7(0x529)]=_0x21ffbb=>this['_docSyncEditingCollabCursorService'][_0x407bd7(0x549)](_0x21ffbb),_0x4c814b[_0x407bd7(0x4c7)]=_0x429915=>this[_0x407bd7(0x453)][_0x407bd7(0x385)](_0x429915),_0x4c814b['onTransformRemoteChangesetByStateCache']=_0x2de389=>this[_0x407bd7(0x476)]['transformRemoteChangeset'](_0x2de389),_0x4c814b;}async[_0x1cc768(0x143)](){const _0x1bc21f=_0x1cc768,_0x4c9600=await super[_0x1bc21f(0x143)]();return this[_0x1bc21f(0x27e)](this['_docStateChangeManagerService'][_0x1bc21f(0x4ae)][_0x1bc21f(0x154)](A[_0x1bc21f(0x4cf)](this['dispose$']))['subscribe'](_0x59b347=>{const _0xfadcb6=_0x1bc21f;if(_0x59b347==null)return;const {unitId:_0x4ba585,redoState:_0x186918,commandId:_0x359346}=_0x59b347;if(_0x4ba585!==this['unitID'])return;const _0xe6b026={'id':_0x359346,'type':a[_0xfadcb6(0x302)][_0xfadcb6(0x17c)],'params':{'unitId':_0x4ba585,'actions':_0x186918[_0xfadcb6(0x554)],'textRanges':null}};this[_0xfadcb6(0x5c3)](_0xe6b026);})),this[_0x1bc21f(0x27e)](this[_0x1bc21f(0x134)][_0x1bc21f(0x15b)]((_0x45c3c4,_0x3ee8e1)=>{const _0x57705a=_0x1bc21f;if(_0x45c3c4[_0x57705a(0x398)]!==a[_0x57705a(0x302)]['MUTATION']||_0x3ee8e1!=null&&_0x3ee8e1['fromCollab']||_0x3ee8e1!=null&&_0x3ee8e1[_0x57705a(0x5d9)]||_0x45c3c4['id']===Ie['RichTextEditingMutation']['id'])return;const _0x175a85=_0x45c3c4[_0x57705a(0x530)];if((_0x175a85==null?void 0x0:_0x175a85[_0x57705a(0x2f1)])!==this[_0x57705a(0x4ed)])return;const _0x51b4d8=_0x45c3c4,_0xfb104c=this[_0x57705a(0x325)][_0x57705a(0x41f)]['fetchThroughInterceptors'](this[_0x57705a(0x325)][_0x57705a(0x41f)][_0x57705a(0x241)]()[_0x57705a(0x2bf)])([_0x51b4d8],null)||[_0x51b4d8];this[_0x57705a(0x5c3)](_0xfb104c[0x0]);})),_0x4c9600;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a['Inject'](p[_0x1cc768(0x3e1)])),H(0x8,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)])),H(0x9,a[_0x1cc768(0x2ca)](Be)),H(0xa,a[_0x1cc768(0x2ca)](We)),H(0xb,a[_0x1cc768(0x2ca)](Fe)),H(0xc,a[_0x1cc768(0x2ca)](yt)),H(0xd,a['ILogService']),H(0xe,a[_0x1cc768(0x11f)]),H(0xf,te[_0x1cc768(0x1e5)]),H(0x10,a[_0x1cc768(0x42c)]),H(0x11,a['Optional'](ze))],exports['DocCollaborationEntity']),exports[_0x1cc768(0x51b)]=class extends exports[_0x1cc768(0x389)]{constructor(_0xf2a38b,_0x40c257,_0x464a50,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x580284,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23){const _0x450184=_0x1cc768;super(_0xf2a38b,_0x464a50,_0x40c257,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23),this[_0x450184(0x4ed)]=_0xf2a38b,this[_0x450184(0x398)]=_0x40c257,this[_0x450184(0x481)]=_0x580284;}[_0x1cc768(0x259)](){const _0x405630=_0x1cc768,_0x7c0a34=super[_0x405630(0x259)]();return _0x7c0a34['onTransformSelections']=_0x3dea69=>this['_sheetTransformSelectionsService'][_0x405630(0x1c6)](_0x3dea69),_0x7c0a34;}async[_0x1cc768(0x143)](){const _0x2b59e9=_0x1cc768,_0x5a86d5=await super[_0x2b59e9(0x143)]();return this[_0x2b59e9(0x27e)](this[_0x2b59e9(0x134)][_0x2b59e9(0x15b)]((_0x689b6b,_0x4077cf)=>{const _0x790d8=_0x2b59e9;if(_0x689b6b['type']!==a['CommandType'][_0x790d8(0x17c)]||_0x4077cf!=null&&_0x4077cf['fromCollab']||_0x4077cf!=null&&_0x4077cf['onlyLocal'])return;const _0x199381=_0x689b6b[_0x790d8(0x530)];if((_0x199381==null?void 0x0:_0x199381[_0x790d8(0x2f1)])!==this[_0x790d8(0x4ed)])return;const _0x222248=_0x689b6b,_0x31550f=this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x431)](this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x241)]()[_0x790d8(0x2bf)])([_0x222248],null)||[_0x222248];this['_onLocalMutation'](_0x31550f[0x0]);})),_0x5a86d5;}},exports[_0x1cc768(0x51b)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports['LocalCacheService'])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a['LocaleService'])),H(0x7,a[_0x1cc768(0x2ca)](p['RevisionService'])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x1cc768(0x1a0)]),H(0xa,a[_0x1cc768(0x11f)]),H(0xb,te[_0x1cc768(0x1e5)]),H(0xc,a[_0x1cc768(0x42c)]),H(0xd,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x51b)]);var Yn=Object['defineProperty'],Kn=Object[_0x1cc768(0x263)],qn=(_0x440cd9,_0x12336b,_0x549627,_0x59d6c5)=>{const _0x2a4df0=_0x1cc768;for(var _0x5ad8cc=_0x59d6c5>0x1?void 0x0:_0x59d6c5?Kn(_0x12336b,_0x549627):_0x12336b,_0x3e3fd5=_0x440cd9[_0x2a4df0(0x31e)]-0x1,_0x1283e8;_0x3e3fd5>=0x0;_0x3e3fd5--)(_0x1283e8=_0x440cd9[_0x3e3fd5])&&(_0x5ad8cc=(_0x59d6c5?_0x1283e8(_0x12336b,_0x549627,_0x5ad8cc):_0x1283e8(_0x5ad8cc))||_0x5ad8cc);return _0x59d6c5&&_0x5ad8cc&&Yn(_0x12336b,_0x549627,_0x5ad8cc),_0x5ad8cc;},it=(_0x1961d4,_0x5d4c83)=>(_0x466072,_0x4fe537)=>_0x5d4c83(_0x466072,_0x4fe537,_0x1961d4);exports[_0x1cc768(0x38c)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x2dd568,_0x50f5d2,_0x3c9518){const _0xa43da1=_0x1cc768;super(),I(this,_0xa43da1(0x181),new Map()),I(this,_0xa43da1(0x522),new A[(_0xa43da1(0x3f0))]()),(this[_0xa43da1(0x310)]=_0x2dd568,this[_0xa43da1(0x287)]=_0x50f5d2,this[_0xa43da1(0x114)]=_0x3c9518,this[_0xa43da1(0x143)]());}[_0x1cc768(0x14c)](){const _0x84067b=_0x1cc768;super['dispose'](),this['_entities']['forEach'](_0x530c6f=>_0x530c6f[_0x84067b(0x14c)]()),this[_0x84067b(0x181)]['clear']();}[_0x1cc768(0x23a)](_0x87e1d0){const _0xc77306=_0x1cc768;var _0x72cae9;return(_0x72cae9=this[_0xc77306(0x181)]['get'](_0x87e1d0))!=null?_0x72cae9:null;}['getCollabEntity$'](_0x47fd06){const _0x538fac=_0x1cc768,_0x245ef3=this[_0x538fac(0x23a)](_0x47fd06);return _0x245ef3?A['of'](_0x245ef3):this[_0x538fac(0x522)]['pipe'](V[_0x538fac(0x464)](_0x2df66b=>_0x2df66b[_0x538fac(0x4ed)]===_0x47fd06));}['_init'](){const _0xdeeb40=_0x1cc768;this[_0xdeeb40(0x114)][_0xdeeb40(0x5ac)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x556)](async _0x4945b2=>{const _0x4a642b=_0xdeeb40,_0x2da4ba=_0x4945b2[_0x4a642b(0x1f0)](),_0x5975fa=await this[_0x4a642b(0x352)](_0x2da4ba,ne[_0x4a642b(0x452)]);this[_0x4a642b(0x181)]['set'](_0x2da4ba,_0x5975fa);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x154)](V[_0xdeeb40(0x464)](_0x3da6e2=>!_0x3da6e2['getUnitId']()[_0xdeeb40(0x2cb)]('__')))['subscribe'](async _0xd5d51c=>{const _0x46c564=_0xdeeb40,_0x3c3857=_0xd5d51c[_0x46c564(0x1f0)](),_0x1b2c72=await this[_0x46c564(0x352)](_0x3c3857,ne[_0x46c564(0x408)]);this['_entities'][_0x46c564(0x31f)](_0x3c3857,_0x1b2c72);}),A['merge'](this[_0xdeeb40(0x114)][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)]),this['_univerInstanceService'][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)]))[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]))[_0xdeeb40(0x556)](_0x166d48=>{const _0x5a4f43=_0xdeeb40,_0x1679b6=_0x166d48[_0x5a4f43(0x1f0)](),_0x4dfb26=this[_0x5a4f43(0x181)]['get'](_0x1679b6);_0x4dfb26&&(_0x4dfb26[_0x5a4f43(0x14c)](),this[_0x5a4f43(0x181)]['delete'](_0x1679b6));});}async[_0x1cc768(0x352)](_0x1cfb8a,_0x17ed37){const _0x1bc380=_0x1cc768,_0x780908=await this[_0x1bc380(0x287)][_0x1bc380(0x186)](_0x1cfb8a),_0x36f49c=this['_injector'][_0x1bc380(0x30a)](this['_getCtorByUniverType'](_0x17ed37),_0x1cfb8a,_0x17ed37,_0x780908);return await _0x36f49c['init'](),this[_0x1bc380(0x522)][_0x1bc380(0x122)](_0x36f49c),_0x36f49c;}[_0x1cc768(0x166)](_0x102058){const _0x576392=_0x1cc768;switch(_0x102058){case ne['UNIVER_DOC']:return exports[_0x576392(0x35e)];case ne[_0x576392(0x452)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x576392(0x550)+_0x102058);}}},exports['CollaborationController']=qn([it(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),it(0x1,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x2e1)])),it(0x2,a[_0x1cc768(0x3bd)])],exports[_0x1cc768(0x38c)]);var zn=Object[_0x1cc768(0x244)],Xn=Object[_0x1cc768(0x263)],Jn=(_0x5b7e57,_0x1e8e48,_0x41a99c,_0x10816d)=>{const _0xce0896=_0x1cc768;for(var _0x320101=_0x10816d>0x1?void 0x0:_0x10816d?Xn(_0x1e8e48,_0x41a99c):_0x1e8e48,_0xd38c53=_0x5b7e57[_0xce0896(0x31e)]-0x1,_0x3e0744;_0xd38c53>=0x0;_0xd38c53--)(_0x3e0744=_0x5b7e57[_0xd38c53])&&(_0x320101=(_0x10816d?_0x3e0744(_0x1e8e48,_0x41a99c,_0x320101):_0x3e0744(_0x320101))||_0x320101);return _0x10816d&&_0x320101&&zn(_0x1e8e48,_0x41a99c,_0x320101),_0x320101;},Bt=(_0x2f2200,_0x3a4168)=>(_0x3d3ff5,_0x272c80)=>_0x3a4168(_0x3d3ff5,_0x272c80,_0x2f2200);let Ve=class extends a['RxDisposable']{constructor(_0x3c5af7,_0x32c87b){const _0x1003c0=_0x1cc768;super(),this[_0x1003c0(0x25f)]=_0x3c5af7,this[_0x1003c0(0x3a9)]=_0x32c87b,this[_0x1003c0(0x143)]();}[_0x1cc768(0x143)](){const _0x1fb60c=_0x1cc768,_0x5ad3af=this;this['disposeWithMe'](this[_0x1fb60c(0x25f)][_0x1fb60c(0x299)]({'onBeforePasteImage':async _0xb207a4=>{const _0xc6808b=_0x1fb60c,_0x323cbf=await _0x5ad3af[_0xc6808b(0x3a9)][_0xc6808b(0x3af)](_0xb207a4);return _0x323cbf?{'source':_0x323cbf[_0xc6808b(0x450)],'imageSourceType':_0x323cbf[_0xc6808b(0x163)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x1cc768(0x353)]),Bt(0x1,ie[_0x1cc768(0x5a5)])],Ve);const kt=[_0x1cc768(0x3f7),_0x1cc768(0x3c1),'verdancy600',_0x1cc768(0x40f),'blue400',_0x1cc768(0x231)];class Dt extends a['Disposable']{constructor(){super(...arguments),I(this,'_assignedColors',new Map()),I(this,'_colorIndex',0x0);}[_0x1cc768(0x2ae)](_0xceb7c4){const _0x5e6d0e=_0x1cc768;if(this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x50a)](_0xceb7c4))return this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x4f7)](_0xceb7c4);const _0x3e513e=kt[this[_0x5e6d0e(0x315)]];return this[_0x5e6d0e(0x315)]=(this['_colorIndex']+0x1)%kt['length'],this[_0x5e6d0e(0x44c)]['set'](_0xceb7c4,_0x3e513e),_0x3e513e;}}var Zn=Object[_0x1cc768(0x244)],Qn=Object[_0x1cc768(0x263)],es=(_0x420dcd,_0x173dc5,_0x5c45d1,_0x28621d)=>{const _0x55fe19=_0x1cc768;for(var _0x25aba0=_0x28621d>0x1?void 0x0:_0x28621d?Qn(_0x173dc5,_0x5c45d1):_0x173dc5,_0x3a5141=_0x420dcd[_0x55fe19(0x31e)]-0x1,_0x3436af;_0x3a5141>=0x0;_0x3a5141--)(_0x3436af=_0x420dcd[_0x3a5141])&&(_0x25aba0=(_0x28621d?_0x3436af(_0x173dc5,_0x5c45d1,_0x25aba0):_0x3436af(_0x25aba0))||_0x25aba0);return _0x28621d&&_0x25aba0&&Zn(_0x173dc5,_0x5c45d1,_0x25aba0),_0x25aba0;},me=(_0x2736a8,_0x6a9acd)=>(_0x584c1c,_0x439389)=>_0x6a9acd(_0x584c1c,_0x439389,_0x2736a8);const ts=0x12c,is=0x64;let pt=class extends a['RxDisposable']{constructor(_0x43e8a5,_0x44dde2,_0x58b73a,_0x563768,_0x52e400,_0x1a0998,_0x11a98d,_0x3053f5,_0x497604){const _0x23599c=_0x1cc768;super(),I(this,_0x23599c(0x14a),!0x1),I(this,_0x23599c(0x143),!0x1),I(this,_0x23599c(0x4f8),new A['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this[_0x23599c(0x4f8)]['asObservable']()),I(this,_0x23599c(0x131),new A['BehaviorSubject']([])),I(this,_0x23599c(0x1e4),this[_0x23599c(0x131)][_0x23599c(0x154)](A[_0x23599c(0x101)](ts))),I(this,'_updateLocalCursor',a[_0x23599c(0x1b9)](_0x452966=>{const _0x2bf00e=_0x23599c,_0x1b63a5={'eventID':p[_0x2bf00e(0x59c)][_0x2bf00e(0x59b)],'data':{'unitID':this[_0x2bf00e(0x4ed)],'memberID':this['_session']['getMemberID'](),'selection':Si(_0x452966)}};this[_0x2bf00e(0x15d)]['send'](_0x1b63a5,this[_0x2bf00e(0x4ed)]);},is)),(this[_0x23599c(0x4ed)]=_0x43e8a5,this[_0x23599c(0x15d)]=_0x44dde2,this[_0x23599c(0x310)]=_0x58b73a,this['_colorAssignService']=_0x563768,this[_0x23599c(0x222)]=_0x52e400,this[_0x23599c(0x1d7)]=_0x1a0998,this[_0x23599c(0x1fa)]=_0x11a98d,this['_univerInstanceService']=_0x3053f5,this['_commandService']=_0x497604);}get[_0x1cc768(0x5b0)](){const _0x1f1d09=_0x1cc768;return this[_0x1f1d09(0x4f8)][_0x1f1d09(0x3b3)]();}get[_0x1cc768(0x14f)](){const _0x549dcc=_0x1cc768;return this[_0x549dcc(0x131)]['getValue']();}[_0x1cc768(0x14c)](){const _0x48aac7=_0x1cc768;super[_0x48aac7(0x14c)](),this[_0x48aac7(0x4f8)][_0x48aac7(0x122)](new Map()),this[_0x48aac7(0x4f8)][_0x48aac7(0x4e2)](),this[_0x48aac7(0x131)][_0x48aac7(0x122)]([]),this['_roomMembers$']['complete']();}[_0x1cc768(0x518)](){const _0x447af6=_0x1cc768;this[_0x447af6(0x143)]||(this[_0x447af6(0x143)]=!0x0,this[_0x447af6(0x15d)][_0x447af6(0x272)]['pipe'](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x39c5b5=>{const _0x3b08e6=_0x447af6;_0x39c5b5===se[_0x3b08e6(0x586)]?this[_0x3b08e6(0x5ab)]():this[_0x3b08e6(0x5ce)]();}),this[_0x447af6(0x15d)][_0x447af6(0x3a0)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this['dispose$']))[_0x447af6(0x556)](_0x5afad3=>{const _0x3f1d5d=_0x447af6,_0x4d6544=_0x5afad3[_0x3f1d5d(0x1c1)];_0x4d6544===p[_0x3f1d5d(0x59c)][_0x3f1d5d(0x59b)]&&this[_0x3f1d5d(0x31b)](_0x5afad3),_0x4d6544===p[_0x3f1d5d(0x59c)]['USERS_LEAVE']&&this[_0x3f1d5d(0x4ad)](_0x5afad3);}),this[_0x447af6(0x27e)](this[_0x447af6(0x134)][_0x447af6(0x15b)](_0x524258=>{const _0x30b4da=_0x447af6,_0x12d0e3=_0x524258['params'];_0x12d0e3!=null&&this['_online']&&_0x524258['id']===Ie[_0x30b4da(0x326)]['id']&&_0x12d0e3['unitId']===this[_0x30b4da(0x4ed)]&&_0x12d0e3[_0x30b4da(0x151)]===!0x1&&_0x12d0e3[_0x30b4da(0x172)][_0x30b4da(0x31e)]>0x0&&this[_0x30b4da(0x391)](_0x12d0e3[_0x30b4da(0x172)]);})),this[_0x447af6(0x1d7)][_0x447af6(0x564)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x75736d=>{const _0x97a966=_0x447af6;if((_0x75736d==null?void 0x0:_0x75736d[_0x97a966(0x4ed)])!==this[_0x97a966(0x4ed)])return;const _0xa0c0a4={'eventID':p[_0x97a966(0x59c)]['UPDATE_CURSOR'],'data':_0x75736d};this['_onCursorUpdate'](_0xa0c0a4);}),this[_0x447af6(0x27e)](this['_commandService'][_0x447af6(0x15b)](_0x4a212c=>{const _0x3d10b0=_0x447af6;if(_0x4a212c[_0x3d10b0(0x530)]==null)return;const _0x55b030=_0x4a212c[_0x3d10b0(0x530)];if(_0x4a212c['id']!==Ie[_0x3d10b0(0x2bb)]['id']||_0x55b030[_0x3d10b0(0x2f1)]!==this[_0x3d10b0(0x4ed)])return;const _0x4bca72={'id':_0x3d10b0(0x307),'params':_0x55b030},_0x357b05=this[_0x3d10b0(0x5b0)];for(const [_0x45f7d1,_0x4fe38d]of _0x357b05){const _0x42767d={'id':_0x3d10b0(0x307),'params':{'unitId':this[_0x3d10b0(0x4ed)],'actions':null,'textRanges':_0x4fe38d['ranges']}},_0x227459=this[_0x3d10b0(0x1fa)]['transformMutation'](_0x4bca72,_0x42767d,!0x1);if(p[_0x3d10b0(0x4b2)](_0x227459))throw _0x227459[_0x3d10b0(0x1c4)];_0x357b05[_0x3d10b0(0x31f)](_0x45f7d1,{..._0x4fe38d,'ranges':_0x227459[_0x3d10b0(0x247)][_0x3d10b0(0x530)][_0x3d10b0(0x4e6)]});}queueMicrotask(()=>{const _0x1a5c0a=_0x3d10b0;this[_0x1a5c0a(0x4f8)][_0x1a5c0a(0x122)](_0x357b05);});})));}[_0x1cc768(0x31b)](_0xf05e45){const _0xecdd4a=_0x1cc768;var _0x575564,_0x349ffb;const {memberID:_0x3bd12e,selection:_0x596f20}=_0xf05e45['data'],_0x259dc2=Ln(_0x596f20),_0x2f4dad=(_0x349ffb=(_0x575564=this[_0xecdd4a(0x222)][_0xecdd4a(0x1ed)](this[_0xecdd4a(0x4ed)],_0x3bd12e))==null?void 0x0:_0x575564['name'])!=null?_0x349ffb:_0xecdd4a(0x2f9),_0x39b60f={'color':this[_0xecdd4a(0x505)]['assignAColorForMemberID'](_0x3bd12e),'name':_0x2f4dad,'ranges':_0x259dc2},_0x3d79b7=this[_0xecdd4a(0x5b0)];_0x3d79b7['set'](_0x3bd12e,_0x39b60f),this[_0xecdd4a(0x4f8)][_0xecdd4a(0x122)](_0x3d79b7);}[_0x1cc768(0x4ad)](_0x3f8531){const _0x2f9d01=_0x1cc768,{memberID:_0x37b805}=_0x3f8531[_0x2f9d01(0x48a)],_0x454f76=this[_0x2f9d01(0x5b0)];_0x454f76[_0x2f9d01(0x24c)](_0x37b805),this['_cursorInfo$'][_0x2f9d01(0x122)](_0x454f76);}[_0x1cc768(0x5ab)](){const _0x52b012=_0x1cc768;var _0x32e2b7;if(this[_0x52b012(0x14a)]=!0x0,((_0x32e2b7=this[_0x52b012(0x114)][_0x52b012(0x55d)]())==null?void 0x0:_0x32e2b7['getUnitId']())!==this[_0x52b012(0x4ed)])return;const _0x17b268=this['_injector'][_0x52b012(0x4f7)](Ie[_0x52b012(0x516)])[_0x52b012(0x4d0)]();Array[_0x52b012(0x194)](_0x17b268)&&_0x17b268['length']>0x0&&this[_0x52b012(0x391)](_0x17b268);}[_0x1cc768(0x5ce)](){const _0x3061e6=_0x1cc768;this[_0x3061e6(0x14a)]=!0x1;}};pt=es([me(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),me(0x3,a[_0x1cc768(0x2ca)](Dt)),me(0x4,a['Inject'](exports[_0x1cc768(0x1a6)])),me(0x5,a[_0x1cc768(0x2ca)](yt)),me(0x6,p[_0x1cc768(0x48d)]),me(0x7,a[_0x1cc768(0x3bd)]),me(0x8,a[_0x1cc768(0x11f)])],pt);var ns=Object['defineProperty'],ss=Object[_0x1cc768(0x263)],rs=(_0x2f9559,_0xe596e8,_0x4f4aa9,_0x163c4f)=>{const _0x687f3=_0x1cc768;for(var _0x256c01=_0x163c4f>0x1?void 0x0:_0x163c4f?ss(_0xe596e8,_0x4f4aa9):_0xe596e8,_0x4f5a3a=_0x2f9559[_0x687f3(0x31e)]-0x1,_0x228982;_0x4f5a3a>=0x0;_0x4f5a3a--)(_0x228982=_0x2f9559[_0x4f5a3a])&&(_0x256c01=(_0x163c4f?_0x228982(_0xe596e8,_0x4f4aa9,_0x256c01):_0x228982(_0x256c01))||_0x256c01);return _0x163c4f&&_0x256c01&&ns(_0xe596e8,_0x4f4aa9,_0x256c01),_0x256c01;},Te=(_0x4863c2,_0x530cfe)=>(_0x59e609,_0x4dbb23)=>_0x530cfe(_0x59e609,_0x4dbb23,_0x4863c2);const os=0x12c,as=0x64,cs=()=>{let _0x2fb50f=[],_0x20c830=!0x1;return _0x330d55=>{const _0x30efad=_0x3a60;_0x2fb50f[_0x30efad(0x102)](_0x330d55),_0x20c830||(_0x20c830=!0x0,setTimeout(()=>{const _0xc33a87=_0x30efad;_0x2fb50f[_0xc33a87(0x380)](_0x2b5d65=>_0x2b5d65()),_0x2fb50f=[],_0x20c830=!0x1;}));};};let mt=class extends a[_0x1cc768(0x35a)]{constructor(_0x2b9900,_0x34f7c3,_0x1c7217,_0x3abc6b,_0x24fbfe,_0x4d7366,_0x5e7fa9,_0x43942a){const _0x3c8b5b=_0x1cc768;super(),I(this,_0x3c8b5b(0x14a),!0x1),I(this,_0x3c8b5b(0x143),!0x1),I(this,_0x3c8b5b(0x4f8),new A[(_0x3c8b5b(0x118))](new Map())),I(this,_0x3c8b5b(0x3e7),this[_0x3c8b5b(0x4f8)]['asObservable']()),I(this,_0x3c8b5b(0x131),new A[(_0x3c8b5b(0x118))]([])),I(this,'roomMembers$',this[_0x3c8b5b(0x131)][_0x3c8b5b(0x154)](A[_0x3c8b5b(0x101)](os))),I(this,_0x3c8b5b(0x391),a[_0x3c8b5b(0x1b9)]((_0x26339b,_0x585b0b)=>{const _0x26346b=_0x3c8b5b,_0x7f35fe={'eventID':p['CollaborationEvent'][_0x26346b(0x59b)],'data':{'unitID':this['unitID'],'memberID':this[_0x26346b(0x15d)]['getMemberID'](),'selection':Mt[_0x26346b(0x283)](_0x26339b,_0x585b0b[_0x26346b(0x22c)])}};this[_0x26346b(0x15d)]['send'](_0x7f35fe,this[_0x26346b(0x4ed)]);},as)),(this['unitID']=_0x2b9900,this[_0x3c8b5b(0x15d)]=_0x34f7c3,this['_injector']=_0x1c7217,this[_0x3c8b5b(0x505)]=_0x3abc6b,this['_memberService']=_0x24fbfe,this['_univerInstanceService']=_0x4d7366,this['_commandService']=_0x5e7fa9,this[_0x3c8b5b(0x437)]=_0x43942a);}get['cursorInfo'](){const _0x4a52a0=_0x1cc768;return this[_0x4a52a0(0x4f8)]['getValue']();}get[_0x1cc768(0x14f)](){const _0x48a282=_0x1cc768;return this[_0x48a282(0x131)][_0x48a282(0x3b3)]();}[_0x1cc768(0x14c)](){const _0x4231fa=_0x1cc768;super[_0x4231fa(0x14c)](),this[_0x4231fa(0x4f8)][_0x4231fa(0x122)](new Map()),this[_0x4231fa(0x4f8)]['complete'](),this[_0x4231fa(0x131)]['next']([]),this[_0x4231fa(0x131)]['complete']();}[_0x1cc768(0x518)](){const _0x9883ff=_0x1cc768;this[_0x9883ff(0x143)]||(this['_init']=!0x0,this[_0x9883ff(0x15d)][_0x9883ff(0x272)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x393a6b=>{const _0x14230c=_0x9883ff;_0x393a6b===se['ONLINE']?this[_0x14230c(0x5ab)]():this[_0x14230c(0x5ce)]();}),this['_session'][_0x9883ff(0x3a0)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x413e26=>{const _0x21ee74=_0x9883ff,_0x11a873=_0x413e26[_0x21ee74(0x1c1)];_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x59b)]&&this['_onCursorUpdate'](_0x413e26),_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x52f)]&&this[_0x21ee74(0x4ad)](_0x413e26);}),this[_0x9883ff(0x492)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1af72c=>{const _0x1f7188=_0x9883ff;if(this[_0x1f7188(0x14a)]&&_0x1af72c['id']===k[_0x1f7188(0x4c3)]['id']&&_0x1af72c[_0x1f7188(0x530)][_0x1f7188(0x2f1)]===this[_0x1f7188(0x4ed)]){const _0x526aca=_0x1af72c[_0x1f7188(0x530)];this[_0x1f7188(0x391)](_0x526aca[_0x1f7188(0x291)],_0x526aca[_0x1f7188(0x49a)][0x0]);}})));}['_onCursorUpdate'](_0x2334a3){const _0x9f0f4=_0x1cc768;var _0x27a4f5,_0x140c18;const {memberID:_0x3fead9,selection:_0x318d32}=_0x2334a3[_0x9f0f4(0x48a)],{sheetName:_0x410ac5,range:_0x36f4fd}=Mt[_0x9f0f4(0x4e3)](_0x318d32),_0x2060c8={'name':(_0x140c18=(_0x27a4f5=this[_0x9f0f4(0x222)][_0x9f0f4(0x1ed)](this[_0x9f0f4(0x4ed)],_0x3fead9))==null?void 0x0:_0x27a4f5[_0x9f0f4(0x27c)])!=null?_0x140c18:_0x9f0f4(0x2f9),'range':this[_0x9f0f4(0x4ce)](_0x410ac5,_0x36f4fd),'sheetID':_0x410ac5,'color':this[_0x9f0f4(0x505)][_0x9f0f4(0x2ae)](_0x3fead9),'selection':_0x318d32},_0x4f4f46=this[_0x9f0f4(0x5b0)];_0x4f4f46[_0x9f0f4(0x31f)](_0x3fead9,_0x2060c8),this[_0x9f0f4(0x4f8)][_0x9f0f4(0x122)](_0x4f4f46);}[_0x1cc768(0x4ad)](_0x2efec1){const _0x24b9a7=_0x1cc768,{memberID:_0x224529}=_0x2efec1[_0x24b9a7(0x48a)],_0x51584c=this[_0x24b9a7(0x5b0)];_0x51584c['delete'](_0x224529),this[_0x24b9a7(0x4f8)]['next'](_0x51584c);}[_0x1cc768(0x4ce)](_0x5d1cd0,_0xf5a927){const _0x5b7559=_0x1cc768;var _0xffe094,_0x3d3769;const _0x52b426=(_0x3d3769=(_0xffe094=this[_0x5b7559(0x114)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0xffe094[_0x5b7559(0x14b)](_0x5d1cd0))==null?void 0x0:_0x3d3769[_0x5b7559(0x23c)]();return(_0x52b426==null?void 0x0:_0x52b426[_0x5b7559(0x4bd)](_0x531d7f=>a[_0x5b7559(0x395)][_0x5b7559(0x330)](_0x531d7f,_0xf5a927)))||_0xf5a927;}[_0x1cc768(0x492)](){const _0x7e790f=_0x1cc768,_0xb14d98=new a[(_0x7e790f(0x35d))](),_0x356014=cs(),_0x4914f7=()=>{const _0x3316de=_0x7e790f;_0xb14d98['dispose']();const _0x114c64=(_0x484411,_0x650a45,_0x34b3c4,_0x56d55c)=>{const _0x2cc639=_0x3a60;let _0x3d42c6=[];switch(_0x484411['id']){case k['EffectRefRangId'][_0x2cc639(0x468)]:{_0x3d42c6=k[_0x2cc639(0x168)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x15f)]:{_0x3d42c6=k[_0x2cc639(0x5a7)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x327)]:{_0x3d42c6=k[_0x2cc639(0x2be)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x5d2)]:{_0x3d42c6=k[_0x2cc639(0x100)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x1b7)]:{_0x3d42c6=k[_0x2cc639(0x264)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x1f6)]:{_0x3d42c6=k[_0x2cc639(0x1d6)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x58e)]:{_0x3d42c6=k[_0x2cc639(0x4b0)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x270)]:{_0x3d42c6=k[_0x2cc639(0x467)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x15c)]:{_0x3d42c6=k['handleIRemoveRow'](_0x484411,_0x56d55c);break;}}const _0x1bb114=k[_0x2cc639(0x349)](_0x3d42c6,_0x56d55c),_0xc2a468=this[_0x2cc639(0x5b0)][_0x2cc639(0x4f7)](_0x650a45);if(_0xc2a468&&_0x1bb114){const _0x36e3c2={..._0xc2a468,'range':_0x1bb114};this[_0x2cc639(0x5b0)][_0x2cc639(0x31f)](_0x650a45,_0x36e3c2),_0x356014(()=>{const _0x5a1625=_0x2cc639,_0x121174=this[_0x5a1625(0x437)]['registerRefRange'](_0x1bb114,_0x226fba=>(_0x121174[_0x5a1625(0x14c)](),_0x114c64(_0x226fba,_0x650a45,_0x34b3c4,_0x1bb114)));_0xb14d98[_0x5a1625(0x2dd)](_0x121174);});}return{'redos':[],'undos':[]};};this[_0x3316de(0x5b0)]['forEach']((_0x30f93d,_0x5a4d79)=>{const _0x45d490=_0x3316de,{range:_0x32b2f0,sheetID:_0x40fd73}=_0x30f93d,_0xb4c30=this['_refRangeService'][_0x45d490(0x2ed)](_0x32b2f0,_0x46efc5=>(_0xb4c30[_0x45d490(0x14c)](),_0x114c64(_0x46efc5,_0x5a4d79,_0x40fd73,_0x32b2f0)));_0xb14d98[_0x45d490(0x2dd)](_0xb4c30);});};this[_0x7e790f(0x27e)](a[_0x7e790f(0x329)](this['_cursorInfo$'][_0x7e790f(0x556)](()=>{_0x4914f7();})));}[_0x1cc768(0x5ab)](){const _0x14a79a=_0x1cc768;var _0x513069,_0x582065;if(this['_online']=!0x0,((_0x513069=this[_0x14a79a(0x114)]['getFocusedUnit']())==null?void 0x0:_0x513069[_0x14a79a(0x1f0)]())!==this[_0x14a79a(0x4ed)])return;const _0x432fca=(_0x582065=this['_injector'][_0x14a79a(0x4f7)](k['SheetsSelectionsService'])[_0x14a79a(0x1e1)]())==null?void 0x0:_0x582065[0x0],_0x54c2ab=this['_univerInstanceService'][_0x14a79a(0x32c)](a[_0x14a79a(0x1a7)][_0x14a79a(0x452)])['getActiveSheet']();_0x432fca&&_0x54c2ab&&this[_0x14a79a(0x391)](_0x54c2ab[_0x14a79a(0x4ab)](),_0x432fca);}[_0x1cc768(0x5ce)](){const _0x2d9f01=_0x1cc768;this[_0x2d9f01(0x14a)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a[_0x1cc768(0x4d2)])),Te(0x3,a[_0x1cc768(0x2ca)](Dt)),Te(0x4,a[_0x1cc768(0x2ca)](exports['MemberService'])),Te(0x5,a[_0x1cc768(0x3bd)]),Te(0x6,a[_0x1cc768(0x11f)]),Te(0x7,a[_0x1cc768(0x2ca)](k[_0x1cc768(0x4c1)]))],mt);var ls=Object[_0x1cc768(0x244)],hs=Object[_0x1cc768(0x263)],_s=(_0x51b0ca,_0x10fa93,_0x5d91ea,_0x2ba673)=>{for(var _0x4e7b2a=_0x2ba673>0x1?void 0x0:_0x2ba673?hs(_0x10fa93,_0x5d91ea):_0x10fa93,_0x369dfa=_0x51b0ca['length']-0x1,_0x4c2fca;_0x369dfa>=0x0;_0x369dfa--)(_0x4c2fca=_0x51b0ca[_0x369dfa])&&(_0x4e7b2a=(_0x2ba673?_0x4c2fca(_0x10fa93,_0x5d91ea,_0x4e7b2a):_0x4c2fca(_0x4e7b2a))||_0x4e7b2a);return _0x2ba673&&_0x4e7b2a&&ls(_0x10fa93,_0x5d91ea,_0x4e7b2a),_0x4e7b2a;},nt=(_0x372926,_0x37a669)=>(_0x7afccf,_0x1df256)=>_0x37a669(_0x7afccf,_0x1df256,_0x372926);let De=class extends a[_0x1cc768(0x35a)]{constructor(_0x4b359c,_0x39a0d4,_0x4d0c6a){const _0x528065=_0x1cc768;super(),I(this,_0x528065(0x181),new Map()),I(this,_0x528065(0x522),new A[(_0x528065(0x3f0))]()),(this[_0x528065(0x114)]=_0x4b359c,this['_injector']=_0x39a0d4,this[_0x528065(0x287)]=_0x4d0c6a,this[_0x528065(0x143)]());}[_0x1cc768(0x14c)](){const _0x7ebf31=_0x1cc768;super['dispose'](),this[_0x7ebf31(0x522)][_0x7ebf31(0x4e2)](),this[_0x7ebf31(0x181)]['forEach'](_0x78a58b=>_0x78a58b[_0x7ebf31(0x14c)]());}[_0x1cc768(0x147)](_0x4769e4){const _0x414f8f=_0x1cc768;return this[_0x414f8f(0x181)][_0x414f8f(0x50a)](_0x4769e4)?this[_0x414f8f(0x181)][_0x414f8f(0x4f7)](_0x4769e4)[_0x414f8f(0x3e7)]:this['_entityInit$'][_0x414f8f(0x154)](A[_0x414f8f(0x464)](_0x2636e8=>_0x2636e8['unitID']===_0x4769e4),A['switchMap'](_0x559fdf=>_0x559fdf[_0x414f8f(0x3e7)]));}[_0x1cc768(0x143)](){const _0x1f87de=_0x1cc768;this[_0x1f87de(0x114)][_0x1f87de(0x5ac)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)])[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](async _0x934ef=>{const _0x189ad7=_0x1f87de,_0x2d339a=_0x934ef[_0x189ad7(0x1f0)](),_0xd7fd4=await this['_startSheetCollabCursor'](_0x2d339a);this[_0x189ad7(0x522)][_0x189ad7(0x122)](_0xd7fd4),this[_0x189ad7(0x181)][_0x189ad7(0x31f)](_0x2d339a,_0xd7fd4);}),this['_univerInstanceService'][_0x1f87de(0x5ac)](a['UniverInstanceType']['UNIVER_DOC'])['pipe'](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x154)](A[_0x1f87de(0x464)](_0x598627=>!_0x598627['getUnitId']()[_0x1f87de(0x2cb)]('__')))['subscribe'](async _0x58085a=>{const _0x27c329=_0x1f87de,_0x260f01=_0x58085a[_0x27c329(0x1f0)](),_0x31ee07=await this['_startDocCollabCursor'](_0x260f01);this['_entityInit$'][_0x27c329(0x122)](_0x31ee07),this[_0x27c329(0x181)][_0x27c329(0x31f)](_0x260f01,_0x31ee07);}),A[_0x1f87de(0x57c)](this[_0x1f87de(0x114)]['getTypeOfUnitDisposed$'](a[_0x1f87de(0x1a7)][_0x1f87de(0x408)]),this[_0x1f87de(0x114)][_0x1f87de(0x3c3)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)]))[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](_0x240cf2=>{const _0x4a7c7c=_0x1f87de,_0x134d85=_0x240cf2[_0x4a7c7c(0x1f0)](),_0x45279f=this[_0x4a7c7c(0x181)][_0x4a7c7c(0x4f7)](_0x134d85);_0x45279f&&(_0x45279f[_0x4a7c7c(0x14c)](),this[_0x4a7c7c(0x181)][_0x4a7c7c(0x24c)](_0x134d85));});}async['_startSheetCollabCursor'](_0x35ccab){const _0x2c7f1e=_0x1cc768,_0x3c5d7a=await this['_collabSessionService'][_0x2c7f1e(0x186)](_0x35ccab),_0xd699fd=this[_0x2c7f1e(0x310)][_0x2c7f1e(0x30a)](mt,_0x35ccab,_0x3c5d7a);return _0xd699fd[_0x2c7f1e(0x518)](),_0xd699fd;}async[_0x1cc768(0x1df)](_0x137884){const _0x580e52=_0x1cc768,_0x3939d2=await this[_0x580e52(0x287)]['requireSession'](_0x137884),_0x524d32=this[_0x580e52(0x310)][_0x580e52(0x30a)](pt,_0x137884,_0x3939d2);return _0x524d32[_0x580e52(0x518)](),_0x524d32;}};De=_s([nt(0x0,a[_0x1cc768(0x3bd)]),nt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),nt(0x2,a['Inject'](exports['CollaborationSessionService']))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x4eff5e,_0x28dddb){const _0x496f12=_0x1cc768;let {radius:_0x53516,width:_0x4a98be,height:_0x55a284}=_0x28dddb;_0x53516=_0x53516!=null?_0x53516:0x0,_0x4a98be=_0x4a98be!=null?_0x4a98be:0x1e,_0x55a284=_0x55a284!=null?_0x55a284:0x1e;let _0x3ca8d7=0x0,_0x42dd5b=0x0,_0x5e0832=0x0;_0x3ca8d7=_0x42dd5b=_0x5e0832=Math[_0x496f12(0x240)](_0x53516,_0x4a98be/0x2,_0x55a284/0x2),_0x4eff5e[_0x496f12(0x38d)](),_0x4eff5e['moveTo'](_0x3ca8d7,0x0),_0x4eff5e['lineTo'](_0x4a98be-_0x42dd5b,0x0),_0x4eff5e['arc'](_0x4a98be-_0x42dd5b,_0x42dd5b,_0x42dd5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4eff5e[_0x496f12(0x28a)](_0x4a98be,_0x55a284-_0x5e0832),_0x4eff5e[_0x496f12(0x32b)](_0x4a98be-_0x5e0832,_0x55a284-_0x5e0832,_0x5e0832,0x0,Math['PI']/0x2,!0x1),_0x4eff5e[_0x496f12(0x28a)](0x0,_0x55a284),_0x4eff5e['lineTo'](0x0,_0x3ca8d7),_0x4eff5e['arc'](_0x3ca8d7,_0x3ca8d7,_0x3ca8d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4eff5e[_0x496f12(0x388)](),_0x28dddb['fill']&&(_0x4eff5e[_0x496f12(0x30b)](),_0x4eff5e[_0x496f12(0x235)]=_0x28dddb[_0x496f12(0x524)],_0x28dddb[_0x496f12(0x171)]==='evenodd'?_0x4eff5e[_0x496f12(0x524)]('evenodd'):_0x4eff5e['fill'](),_0x4eff5e[_0x496f12(0x447)]());}class Xe extends K[_0x1cc768(0x562)]{constructor(_0x1fbc3a,_0x4a1bf7){const _0x4e1fb1=_0x1cc768;super(_0x1fbc3a,_0x4a1bf7),I(this,_0x4e1fb1(0x2ef)),I(this,_0x4e1fb1(0x28e)),(this['color']=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x2ef)],this[_0x4e1fb1(0x28e)]=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x28e)]);}static[_0x1cc768(0x4e9)](_0x108246,_0xe26591){const _0x54cc7b=_0x1cc768,{text:_0x317c14,color:_0x1a33b1}=_0xe26591;_0x108246[_0x54cc7b(0x30b)](),_0x108246[_0x54cc7b(0x5b7)]=_0x54cc7b(0x4f9);const _0x23a439=_0x108246[_0x54cc7b(0x4ec)](_0x317c14)[_0x54cc7b(0x38e)],_0x1951eb=Math[_0x54cc7b(0x240)](_0x23a439+0x2*st,Wt);ds(_0x108246,{'height':Le,'radius':0x4,'width':_0x1951eb,'fill':_0x1a33b1,'evented':!0x1}),_0x108246[_0x54cc7b(0x235)]='#FFF';const _0x1ffe41=st,_0x303068=Le-us,_0xb4a171=Wt-0x2*st;if(_0x23a439>_0xb4a171){let _0x6286d7='',_0xe1fa20=0x0;for(const _0x51ded5 of _0x317c14){const _0xe22b96=_0x108246[_0x54cc7b(0x4ec)](_0x51ded5)[_0x54cc7b(0x38e)];if(_0xe1fa20+_0xe22b96<=_0xb4a171-_0x108246[_0x54cc7b(0x4ec)](_0x54cc7b(0x298))[_0x54cc7b(0x38e)])_0x6286d7+=_0x51ded5,_0xe1fa20+=_0xe22b96;else{_0x6286d7+='...';break;}}_0x108246[_0x54cc7b(0x42f)](_0x6286d7,_0x1ffe41,_0x303068);}else _0x108246['fillText'](_0x317c14,_0x1ffe41,_0x303068);_0x108246['restore']();}[_0x1cc768(0x2fe)](_0x15d33c){Xe['drawWith'](_0x15d33c,this);}}const rt=_0x1cc768(0x1ad),fs=_0x1cc768(0x233),vs=_0x1cc768(0x58b),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x1cc768(0x1e8);class Ft{constructor(_0xe5d6cc,_0x46da3b,_0x2f5837,_0x39f0c3){const _0x24fe24=_0x1cc768;I(this,_0x24fe24(0x1ae),[]),I(this,_0x24fe24(0x392),null),I(this,_0x24fe24(0x2ad),null),I(this,_0x24fe24(0x132),null),I(this,_0x24fe24(0x48f),null),I(this,_0x24fe24(0x1b3),null),(this[_0x24fe24(0x2a2)]=_0xe5d6cc,this[_0x24fe24(0x3cb)]=_0x46da3b,this[_0x24fe24(0x22e)]=_0x2f5837,this[_0x24fe24(0x40b)]=_0x39f0c3,this['_render']());}set[_0x1cc768(0x5bb)](_0x56574d){const _0x178289=_0x1cc768;_0x56574d?(this[_0x178289(0x132)]&&this[_0x178289(0x132)]['hide'](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x178289(0x132)]&&this[_0x178289(0x132)][_0x178289(0x242)](),this[_0x178289(0x2ad)]&&this[_0x178289(0x2ad)]['hide']());}['dispose'](){const _0x48bf24=_0x1cc768;for(const _0x32a53d of this[_0x48bf24(0x1ae)])_0x32a53d[_0x48bf24(0x14c)]();this[_0x48bf24(0x2ad)]&&this['_textBubble'][_0x48bf24(0x14c)](),this['_anchorDot']&&this[_0x48bf24(0x132)][_0x48bf24(0x14c)](),this[_0x48bf24(0x392)]&&this[_0x48bf24(0x392)][_0x48bf24(0x14c)](),this[_0x48bf24(0x1b3)]&&this[_0x48bf24(0x1b3)]();}['_render'](){const _0x1ee5e7=_0x1cc768;var _0x2b87c5;const {_docSkeleton:_0x14e0cd,_document:_0xe2ba35}=this,{color:_0x571d10,name:_0x8f1d07,ranges:_0x14b5ac}=this[_0x1ee5e7(0x2a2)],_0x551d84=_0xe2ba35['getOffsetConfig'](),{docsLeft:_0x4d92f0,docsTop:_0x5421ec}=_0x551d84,_0x5714c8=new J['NodePositionConvertToCursor'](_0x551d84,_0x14e0cd);for(const {startOffset:_0x34dd3b,endOffset:_0x36a143,rangeType:_0x425674,segmentId:_0x22d86d,segmentPage:_0x1b8c07,collapsed:_0x2a8cd8,isActive:_0x1b359e}of _0x14b5ac){const _0x897d79=_0x14e0cd[_0x1ee5e7(0x25c)](_0x34dd3b,!0x0,_0x22d86d,_0x1b8c07);let _0x3c34b4=_0x14e0cd['findNodePositionByCharIndex'](_0x36a143,!0x0,_0x22d86d,_0x1b8c07);if(_0x3c34b4==null&&(_0x3c34b4=_0x14e0cd[_0x1ee5e7(0x25c)](_0x36a143-0x1,!0x1,_0x22d86d,_0x1b8c07)),_0x1b359e){const {contentBoxPointGroup:_0x18e107}=_0x5714c8['getRangePointData'](_0x3c34b4,_0x3c34b4);if(_0x18e107[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x397)](_0x571d10,_0x18e107,_0x4d92f0,_0x5421ec,_0x8f1d07),this[_0x1ee5e7(0x1b3)]=this[_0x1ee5e7(0x237)]();}if(_0x897d79&&_0x3c34b4){if(_0x425674===a['DOC_RANGE_TYPE'][_0x1ee5e7(0x5a9)]){const _0x5b9fe0=new J['NodePositionConvertToRectRange'](_0x551d84,_0x14e0cd),{pointGroup:_0x51e92d}=(_0x2b87c5=_0x5b9fe0['getRangePointData'](_0x897d79,_0x3c34b4))!=null?_0x2b87c5:{};if(_0x51e92d==null||_0x51e92d[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x2a1)](_0x571d10,_0x51e92d,_0x4d92f0,_0x5421ec);}else{if(!_0x2a8cd8){const {borderBoxPointGroup:_0x3ede25}=_0x5714c8[_0x1ee5e7(0x1f3)](_0x897d79,_0x3c34b4);if(_0x3ede25['length']===0x0)continue;this['_drawTextRange'](_0x571d10,_0x3ede25,_0x4d92f0,_0x5421ec);}}}}}[_0x1cc768(0x397)](_0x2a057c,_0x217d86,_0x543dcd,_0x132e94,_0x169ad6){const _0x521689=_0x1cc768,_0x340292=this['_getAnchorBounding'](_0x217d86),{left:_0x29a3c1,top:_0x4b450e,height:_0x475e18}=_0x340292,_0x5ad313=this['_getScale'](),_0xc0be78=ps/_0x5ad313,_0x13f4b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94,'height':_0x475e18,'width':Ss,'fill':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)][_0x521689(0x580)],0x0),'strokeWidth':_0xc0be78,'stroke':ms,'evented':!0x0});this['_anchor']=_0x13f4b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x13f4b8,J[_0x521689(0x2e0)]);const _0x3092b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-ot/0x2,'height':ot,'width':ot,'fill':_0x2a057c||K[_0x521689(0x111)](a['COLORS'][_0x521689(0x580)],0x0),'strokeWidth':0x0,'stroke':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)]['black'],0x0),'evented':!0x1});this[_0x521689(0x132)]=_0x3092b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x3092b8,J[_0x521689(0x2e0)]);const _0xf98ac7=new Xe(rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-Le,'text':_0x169ad6,'color':_0x2a057c});this[_0x521689(0x2ad)]=_0xf98ac7,this[_0x521689(0x3cb)][_0x521689(0x319)](_0xf98ac7,J[_0x521689(0x2e0)]),this[_0x521689(0x5bb)]=!0x1;}[_0x1cc768(0x237)](){const _0x19509b=_0x1cc768,_0x1e2b8c=this[_0x19509b(0x392)][_0x19509b(0x57e)][_0x19509b(0x4d6)](()=>{const _0x43af7f=_0x19509b;this[_0x43af7f(0x5bb)]=!0x0;}),_0x326a5e=this[_0x19509b(0x392)][_0x19509b(0x2f0)][_0x19509b(0x4d6)](()=>{const _0x642a4d=_0x19509b;this[_0x642a4d(0x48f)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x4b1aab=_0x642a4d;this[_0x4b1aab(0x5bb)]=!0x1;},0x7d0);});return()=>{const _0x996721=_0x19509b;_0x1e2b8c[_0x996721(0x1ca)](),_0x326a5e[_0x996721(0x1ca)]();};}[_0x1cc768(0x3f4)](_0xb446f9,_0x5abf70,_0x5ec0e7,_0x5dbd69){const _0x4c7ee8=_0x1cc768,_0x494784=new a[(_0x4c7ee8(0x409))](_0xb446f9)['setAlpha'](0.2)[_0x4c7ee8(0x384)](),_0x4b5ddf=new K[(_0x4c7ee8(0x47d))](fs+a[_0x4c7ee8(0x369)][_0x4c7ee8(0x390)](Ue),{'pointsGroup':_0x5abf70,'fill':_0x494784||K[_0x4c7ee8(0x111)](a[_0x4c7ee8(0x4c4)]['black'],0.2),'left':_0x5ec0e7,'top':_0x5dbd69,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c7ee8(0x1ae)][_0x4c7ee8(0x102)](_0x4b5ddf),this[_0x4c7ee8(0x3cb)][_0x4c7ee8(0x319)](_0x4b5ddf,J[_0x4c7ee8(0x2e0)]);}[_0x1cc768(0x2a1)](_0xb0c066,_0x4b328c,_0x1ebd26,_0x1f202b){const _0x255a71=_0x1cc768,_0x507886=new a[(_0x255a71(0x409))](_0xb0c066)[_0x255a71(0x249)](0.2)[_0x255a71(0x384)](),_0x7591f3=new K[(_0x255a71(0x47d))](vs+a[_0x255a71(0x369)]['generateRandomId'](Ue),{'pointsGroup':_0x4b328c,'fill':_0x507886||K[_0x255a71(0x111)](a['COLORS'][_0x255a71(0x580)],0.2),'left':_0x1ebd26,'top':_0x1f202b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x255a71(0x1ae)][_0x255a71(0x102)](_0x7591f3),this[_0x255a71(0x3cb)][_0x255a71(0x319)](_0x7591f3,J[_0x255a71(0x2e0)]);}[_0x1cc768(0x2fd)](_0x44473e){const _0x514bc0=_0x44473e[0x0],_0x19c246=_0x514bc0[0x0],_0x31265e=_0x514bc0[0x2],{x:_0x25d0cf,y:_0x7c7875}=_0x19c246,{x:_0xfd26f1,y:_0x1edf5f}=_0x31265e;return{'left':_0x25d0cf,'top':_0x7c7875,'width':_0xfd26f1-_0x25d0cf,'height':_0x1edf5f-_0x7c7875};}[_0x1cc768(0x339)](){const _0x12ab5c=_0x1cc768,{scaleX:_0x5f49d3,scaleY:_0x3934b1}=this[_0x12ab5c(0x3cb)][_0x12ab5c(0x142)]();return Math[_0x12ab5c(0x1a8)](_0x5f49d3,_0x3934b1);}}var gs=Object['defineProperty'],Is=Object[_0x1cc768(0x263)],Cs=(_0x2df127,_0x225c22,_0xb87fea,_0x36b73c)=>{for(var _0x2c166e=_0x36b73c>0x1?void 0x0:_0x36b73c?Is(_0x225c22,_0xb87fea):_0x225c22,_0x4ecaeb=_0x2df127['length']-0x1,_0x1daf70;_0x4ecaeb>=0x0;_0x4ecaeb--)(_0x1daf70=_0x2df127[_0x4ecaeb])&&(_0x2c166e=(_0x36b73c?_0x1daf70(_0x225c22,_0xb87fea,_0x2c166e):_0x1daf70(_0x2c166e))||_0x2c166e);return _0x36b73c&&_0x2c166e&&gs(_0x225c22,_0xb87fea,_0x2c166e),_0x2c166e;},je=(_0x2f655a,_0x311c82)=>(_0x606c49,_0x6869cd)=>_0x311c82(_0x606c49,_0x6869cd,_0x2f655a);let gt=class extends a[_0x1cc768(0x35a)]{constructor(_0x4f333a,_0x3eadf6,_0x5697a7,_0x2eb292,_0x1b0b12){const _0x3290b5=_0x1cc768;super(),I(this,_0x3290b5(0x346),[]),I(this,_0x3290b5(0x261),[]),(this[_0x3290b5(0x5c0)]=_0x4f333a,this[_0x3290b5(0x43a)]=_0x3eadf6,this[_0x3290b5(0x582)]=_0x5697a7,this[_0x3290b5(0x134)]=_0x2eb292,this[_0x3290b5(0x2ee)]=_0x1b0b12,this[_0x3290b5(0x143)]());}[_0x1cc768(0x143)](){const _0x32eb8b=_0x1cc768,_0x4b9571=this[_0x32eb8b(0x5c0)][_0x32eb8b(0x2f1)],_0x265875=this[_0x32eb8b(0x43a)];this[_0x32eb8b(0x27e)](A[_0x32eb8b(0x34f)]([this['_collabCursorController'][_0x32eb8b(0x147)](_0x4b9571),this['_themeService'][_0x32eb8b(0x1e2)]])[_0x32eb8b(0x154)](V['map'](([_0x37ba75,_0x10e1bb])=>({'skeleton':_0x265875[_0x32eb8b(0x1da)](),'cursors':[..._0x37ba75[_0x32eb8b(0x3c9)]()][_0x32eb8b(0x3fe)](_0x265e75=>({..._0x265e75,'color':_0x10e1bb[_0x265e75[_0x32eb8b(0x2ef)]]}))})))[_0x32eb8b(0x556)](_0x502ad9=>{const _0x5f533d=_0x32eb8b;if(this[_0x5f533d(0x3d2)](),_0x502ad9){const {skeleton:_0xa4a4a3,cursors:_0x27caa4}=_0x502ad9;this[_0x5f533d(0x355)](_0xa4a4a3,_0x27caa4);}})),this[_0x32eb8b(0x33d)](),this[_0x32eb8b(0x22a)]();}[_0x1cc768(0x355)](_0x4532f3,_0x2336d0){const _0x248da9=_0x1cc768,{scene:_0x254867,mainComponent:_0x1ca02e}=this['_context'],_0x225d0b=_0x2336d0['map'](_0x244923=>new Ft(_0x244923,_0x254867,_0x4532f3,_0x1ca02e));this['_cursorShapes']=_0x225d0b,this[_0x248da9(0x261)]=_0x2336d0;}[_0x1cc768(0x47e)](){const _0x3e3b1b=_0x1cc768;this[_0x3e3b1b(0x3d2)]();const {scene:_0x2293f1,mainComponent:_0x1bd200}=this[_0x3e3b1b(0x5c0)],_0x5df984=this['_docSkeletonManagerService'][_0x3e3b1b(0x1da)](),_0x2fd1ca=this[_0x3e3b1b(0x261)][_0x3e3b1b(0x130)](_0x1d6be1=>new Ft(_0x1d6be1,_0x2293f1,_0x5df984,_0x1bd200));this['_cursorShapes']=_0x2fd1ca;}['_removeCollabCursors'](){const _0x343185=_0x1cc768;this[_0x343185(0x346)][_0x343185(0x380)](_0xd2654d=>_0xd2654d[_0x343185(0x14c)]()),this['_cursorShapes']=[];}[_0x1cc768(0x22a)](){const _0x4db03b=_0x1cc768,_0x1b283a=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x4db03b(0x134)][_0x4db03b(0x15b)](_0x1ff6c7=>{const _0x440b4a=_0x4db03b;_0x1b283a['includes'](_0x1ff6c7['id'])&&_0x1ff6c7['params'][_0x440b4a(0x2f1)]===this['_context'][_0x440b4a(0x2f1)]&&this[_0x440b4a(0x47e)]();}));}[_0x1cc768(0x33d)](){const _0x3d6a74=_0x1cc768;this[_0x3d6a74(0x27e)](a['fromEventSubject'](this['_context']['engine'][_0x3d6a74(0x439)])[_0x3d6a74(0x154)](V[_0x3d6a74(0x464)](_0x67207c=>_0x67207c[_0x3d6a74(0x398)]===K[_0x3d6a74(0x3ad)][_0x3d6a74(0x1f8)]),V[_0x3d6a74(0x183)](0x10))['subscribe'](()=>{const _0x17ad64=_0x3d6a74;this[_0x17ad64(0x47e)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x1cc768(0x5ad)])),je(0x2,a[_0x1cc768(0x2ca)](De)),je(0x3,a[_0x1cc768(0x11f)]),je(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x1cc768(0x562)]{constructor(_0x13fba2,_0xe6cb37){const _0x1ad85d=_0x1cc768;super(_0x13fba2,_0xe6cb37),I(this,'_color'),I(this,_0x1ad85d(0x286),!0x1),I(this,_0x1ad85d(0x32a)),I(this,_0x1ad85d(0x417),''),I(this,_0x1ad85d(0x156),_0x1ad85d(0x13c)),I(this,_0x1ad85d(0x3d6)),(_0xe6cb37&&this['setShapeProps'](_0xe6cb37),this[_0x1ad85d(0x57e)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x0})),this[_0x1ad85d(0x2f0)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x1})));}['setShapeProps'](_0x487fe1){const _0x4c2192=_0x1cc768;var _0x311884,_0x377030,_0x32a501,_0x109b1e,_0x44194b,_0x5ac2e8;this[_0x4c2192(0x251)]=(_0x311884=_0x487fe1[_0x4c2192(0x2ef)])!=null?_0x311884:this[_0x4c2192(0x251)],this[_0x4c2192(0x286)]=(_0x377030=_0x487fe1[_0x4c2192(0x161)])!=null?_0x377030:this[_0x4c2192(0x286)],this[_0x4c2192(0x32a)]=(_0x32a501=_0x487fe1[_0x4c2192(0x22c)])!=null?_0x32a501:this[_0x4c2192(0x32a)],this['_name']=(_0x109b1e=_0x487fe1[_0x4c2192(0x27c)])!=null?_0x109b1e:this[_0x4c2192(0x417)],this['_labelPosition']=(_0x44194b=_0x487fe1[_0x4c2192(0x195)])!=null?_0x44194b:this['_labelPosition'],this[_0x4c2192(0x3d6)]=(_0x5ac2e8=_0x487fe1[_0x4c2192(0x5cd)])!=null?_0x5ac2e8:this[_0x4c2192(0x3d6)],this[_0x4c2192(0x58d)]({'width':_0x487fe1[_0x4c2192(0x38e)],'height':_0x487fe1[_0x4c2192(0x105)]});}[_0x1cc768(0x4ff)](_0x318699){const _0x54fc87=_0x1cc768,{row:_0x3253ca,column:_0x46b457}=_0x318699;if(_0x3253ca>=this[_0x54fc87(0x32a)][_0x54fc87(0x29d)]&&_0x3253ca<=this[_0x54fc87(0x32a)][_0x54fc87(0x27b)]&&_0x46b457>=this[_0x54fc87(0x32a)][_0x54fc87(0x557)]&&_0x46b457<=this[_0x54fc87(0x32a)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54fc87(0x11e)]({'hovered':!0x1});}[_0x1cc768(0x537)](_0x3cbac6){return!0x1;}['_draw'](_0x4c43e7){const _0x3c971d=_0x1cc768;K[_0x3c971d(0x457)]['drawWith'](_0x4c43e7,{'width':this['width'],'height':this[_0x3c971d(0x105)],'strokeWidth':bs,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3c971d(0x3d6)]}),this[_0x3c971d(0x286)]&&(_0x4c43e7[_0x3c971d(0x30b)](),_0x4c43e7[_0x3c971d(0x429)](0x1,0x0,0x0,0x1,this['width'],this[_0x3c971d(0x156)]===_0x3c971d(0x3ee)?0x0:-Le),Xe[_0x3c971d(0x4e9)](_0x4c43e7,{'text':this[_0x3c971d(0x417)],'color':this[_0x3c971d(0x251)]}),_0x4c43e7['restore']());}}var Ts=Object[_0x1cc768(0x244)],Rs=Object[_0x1cc768(0x263)],ys=(_0x1034fe,_0x1663c6,_0x3aca66,_0x4130ea)=>{const _0x56913e=_0x1cc768;for(var _0x38ac43=_0x4130ea>0x1?void 0x0:_0x4130ea?Rs(_0x1663c6,_0x3aca66):_0x1663c6,_0x17995c=_0x1034fe[_0x56913e(0x31e)]-0x1,_0x2828e4;_0x17995c>=0x0;_0x17995c--)(_0x2828e4=_0x1034fe[_0x17995c])&&(_0x38ac43=(_0x4130ea?_0x2828e4(_0x1663c6,_0x3aca66,_0x38ac43):_0x2828e4(_0x38ac43))||_0x38ac43);return _0x4130ea&&_0x38ac43&&Ts(_0x1663c6,_0x3aca66,_0x38ac43),_0x38ac43;},at=(_0x4570e6,_0x24988b)=>(_0x401e3f,_0x5ee029)=>_0x24988b(_0x401e3f,_0x5ee029,_0x4570e6);const Os=0x1389;let It=class extends a[_0x1cc768(0x35a)]{constructor(_0x328865,_0x3e8967,_0x27b83e,_0x251c0e){const _0x2a4bc6=_0x1cc768;super(),I(this,'_cursors',new Set()),I(this,_0x2a4bc6(0x256),null),(this[_0x2a4bc6(0x5c0)]=_0x328865,this[_0x2a4bc6(0x405)]=_0x3e8967,this[_0x2a4bc6(0x582)]=_0x27b83e,this[_0x2a4bc6(0x2ee)]=_0x251c0e,this[_0x2a4bc6(0x143)]());}[_0x1cc768(0x143)](){const _0x2728ae=_0x1cc768;this['_sheetSkeletonManagerService'][_0x2728ae(0x141)][_0x2728ae(0x154)](V[_0x2728ae(0x4cf)](this['dispose$']),V['switchMap'](_0x8f39ea=>{const _0x1d35b6=_0x2728ae;if(_0x8f39ea){const _0x3e2d70=_0x8f39ea[_0x1d35b6(0x4eb)];return A[_0x1d35b6(0x34f)](this[_0x1d35b6(0x582)][_0x1d35b6(0x147)](this[_0x1d35b6(0x5c0)][_0x1d35b6(0x2f1)]),this[_0x1d35b6(0x2ee)][_0x1d35b6(0x1e2)])['pipe'](V['map'](([_0x19b5bb,_0x36243b])=>{const _0xf103fc=_0x1d35b6,_0x1683ad=new Map();return _0x19b5bb[_0xf103fc(0x380)]((_0x18b116,_0x5dfa1c)=>{const _0x5dbd5d=_0xf103fc;if(_0x18b116[_0x5dbd5d(0x53a)]===_0x3e2d70){const _0x3bec2c={..._0x18b116};_0x3bec2c['color']=_0x36243b[_0x18b116[_0x5dbd5d(0x2ef)]],_0x1683ad['set'](_0x5dfa1c,_0x3bec2c);}}),{'skeleton':_0x8f39ea,'cursors':_0x1683ad};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x2728ae(0x556)](({skeleton:_0x3aa845,cursors:_0x3349aa})=>{this['_removeCollabCursors'](),_0x3aa845&&this['_updateCollabCursors'](_0x3aa845,_0x3349aa);}),this['_sheetSkeletonManagerService'][_0x2728ae(0x141)]['subscribe'](_0x12561d=>{const _0x25c8ec=_0x2728ae;if(_0x12561d==null)return;const {skeleton:_0x1650a9}=_0x12561d,{scene:_0x298111}=this[_0x25c8ec(0x5c0)];_0x298111[_0x25c8ec(0x3be)]['subscribeEvent'](a['debounce'](_0x39d3a8=>{const _0x5432ea=_0x25c8ec;var _0x239e60,_0x360162;const {offsetX:_0x4c2a37,offsetY:_0x23063d}=_0x39d3a8,{x:_0x3bf2c3,y:_0x107d73}=_0x298111[_0x5432ea(0x565)](K[_0x5432ea(0x214)]['FromArray']([_0x4c2a37,_0x23063d])),{scaleX:_0x4db5bd,scaleY:_0xc668c2}=_0x298111[_0x5432ea(0x142)](),_0x16f705=_0x298111[_0x5432ea(0x5d3)](ye[_0x5432ea(0x28f)]['VIEW_MAIN']),_0x1aec71=_0x298111['getVpScrollXYInfoByPosToVp'](K[_0x5432ea(0x214)][_0x5432ea(0x3b1)]([_0x3bf2c3,_0x107d73]),_0x16f705),_0x3dc15c=_0x1650a9[_0x5432ea(0x378)](_0x4c2a37,_0x23063d,_0x4db5bd,_0xc668c2,_0x1aec71);((_0x239e60=this[_0x5432ea(0x256)])==null?void 0x0:_0x239e60[_0x5432ea(0x3d7)])===_0x3dc15c[_0x5432ea(0x3d7)]&&((_0x360162=this[_0x5432ea(0x256)])==null?void 0x0:_0x360162['row'])===_0x3dc15c[_0x5432ea(0x3a4)]||this['_cursors']['forEach'](_0x2c1196=>{const _0x5a1e79=_0x5432ea;_0x2c1196[_0x5a1e79(0x4ff)](_0x3dc15c);});},0x64));});}[_0x1cc768(0x355)](_0x447393,_0x3d003f){const _0x49af31=_0x1cc768;var _0x140be5;const _0x2e96d5=(_0x140be5=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x140be5[_0x49af31(0x34a)];if(!_0x2e96d5)return;const _0x499ba8=this[_0x49af31(0x52d)]();if(!_0x499ba8)return;this['_cursors'][_0x49af31(0x380)](_0x153587=>{_0x153587['makeDirty']();});const {scene:_0x340dc6}=_0x499ba8,_0x41a10e=Ds(Array[_0x49af31(0x491)](_0x3d003f[_0x49af31(0x3c9)]()))[_0x49af31(0x130)](_0x560037=>{const {color:_0x4b5ea5,range:_0x27f2e1,name:_0x22ec84,selection:_0xf12005,sheetID:_0x130a88}=_0x560037,{startColumn:_0x55b221,startRow:_0x582f95,endColumn:_0x1df28d,endRow:_0x4cbded}=_0x27f2e1,_0x1702cf=ye['getCoordByCell'](_0x582f95,_0x55b221,_0x340dc6,_0x2e96d5),_0x4eec03=ye['getCoordByCell'](_0x4cbded,_0x1df28d,_0x340dc6,_0x2e96d5),{columnHeaderHeightAndMarginTop:_0x1bc33d}=_0x2e96d5,{startX:_0x39d836,startY:_0x1c6cad}=_0x1702cf,{endX:_0xd0806e,endY:_0x43281e}=_0x4eec03,_0xb9e5a9=_0xd0806e-_0x39d836,_0xa98f6d=_0x43281e-_0x1c6cad,_0x1b7f01={'labelPosition':_0x1c6cad-_0x1bc33d>=Le?'top':'bottom','sheetID':_0x130a88,'range':_0x27f2e1,'color':_0x4b5ea5,'name':_0x22ec84,'selection':_0xf12005,'left':_0x39d836,'top':_0x1c6cad,'width':_0xb9e5a9,'height':_0xa98f6d,'evented':!0x1,'zIndex':Os};return new Ii(_0x22ec84,_0x1b7f01);});_0x340dc6['addObjects'](_0x41a10e,Es),this[_0x49af31(0x261)]=new Set(_0x41a10e);}[_0x1cc768(0x3d2)](){const _0x4f7461=_0x1cc768;var _0xc81533;(_0xc81533=this[_0x4f7461(0x261)])==null||_0xc81533[_0x4f7461(0x380)](_0x244460=>_0x244460[_0x4f7461(0x14c)]());}[_0x1cc768(0x52d)](){const _0x3629b9=_0x1cc768;return ye[_0x3629b9(0x4b5)](this[_0x3629b9(0x5c0)][_0x3629b9(0x164)],this[_0x3629b9(0x5c0)]);}};function _0x3a60(_0x3732ce,_0x59d15b){const _0x4d1c53=_0x4d1c();return _0x3a60=function(_0x3a60c3,_0x166701){_0x3a60c3=_0x3a60c3-0xfd;let _0x3bb216=_0x4d1c53[_0x3a60c3];return _0x3bb216;},_0x3a60(_0x3732ce,_0x59d15b);}It=ys([at(0x1,a[_0x1cc768(0x2ca)](ye['SheetSkeletonManagerService'])),at(0x2,a[_0x1cc768(0x2ca)](De)),at(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],It);function Ds(_0x490f55){const _0x3f9ffc=_0x1cc768,_0x21661d=new Map();return _0x490f55['forEach'](_0x43a886=>{const _0x5d4d0b=_0x3a60;if(_0x21661d['has'](_0x43a886[_0x5d4d0b(0x40a)])){const _0x1f2a0a=_0x21661d[_0x5d4d0b(0x4f7)](_0x43a886[_0x5d4d0b(0x40a)]);_0x1f2a0a[_0x5d4d0b(0x27c)]+=',\x20'+_0x43a886[_0x5d4d0b(0x27c)];}else _0x21661d[_0x5d4d0b(0x31f)](_0x43a886['selection'],_0x43a886);}),Array[_0x3f9ffc(0x491)](_0x21661d[_0x3f9ffc(0x3c9)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4ddad4){const _0x412eb8=_0x1cc768;return _0x4ddad4&&_0x4ddad4['__esModule']&&Object[_0x412eb8(0x396)]['hasOwnProperty'][_0x412eb8(0x3a6)](_0x4ddad4,_0x412eb8(0x46c))?_0x4ddad4[_0x412eb8(0x46c)]:_0x4ddad4;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x1cc768(0x5c9)]('react.element'),Us=Symbol[_0x1cc768(0x5c9)](_0x1cc768(0x4fd)),Ms=Object[_0x1cc768(0x396)][_0x1cc768(0x207)],As=Ps[_0x1cc768(0x460)][_0x1cc768(0x128)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x3e49df,_0x2f743b,_0x421c85){const _0x583b56=_0x1cc768;var _0x8024f8,_0x433f2e={},_0x32e489=null,_0x484311=null;_0x421c85!==void 0x0&&(_0x32e489=''+_0x421c85),_0x2f743b[_0x583b56(0x3ba)]!==void 0x0&&(_0x32e489=''+_0x2f743b[_0x583b56(0x3ba)]),_0x2f743b['ref']!==void 0x0&&(_0x484311=_0x2f743b[_0x583b56(0x502)]);for(_0x8024f8 in _0x2f743b)Ms[_0x583b56(0x3a6)](_0x2f743b,_0x8024f8)&&!Ns['hasOwnProperty'](_0x8024f8)&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);if(_0x3e49df&&_0x3e49df[_0x583b56(0x17d)]){for(_0x8024f8 in(_0x2f743b=_0x3e49df[_0x583b56(0x17d)],_0x2f743b))_0x433f2e[_0x8024f8]===void 0x0&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);}return{'$$typeof':ws,'type':_0x3e49df,'key':_0x32e489,'ref':_0x484311,'props':_0x433f2e,'_owner':As[_0x583b56(0x364)]};}Je[_0x1cc768(0x106)]=Us,Je[_0x1cc768(0x5c1)]=Ei,Je[_0x1cc768(0x4cc)]=Ei,Ci[_0x1cc768(0x2b9)]=Je;var ge=Ci[_0x1cc768(0x2b9)],ee=function(){const _0x1e7889=_0x1cc768;return ee=Object[_0x1e7889(0x322)]||function(_0x460c09){const _0x51c261=_0x1e7889;for(var _0x305a89,_0x502ddd=0x1,_0x44a2f0=arguments['length'];_0x502ddd<_0x44a2f0;_0x502ddd++){_0x305a89=arguments[_0x502ddd];for(var _0x5e5f98 in _0x305a89)Object[_0x51c261(0x396)][_0x51c261(0x207)][_0x51c261(0x3a6)](_0x305a89,_0x5e5f98)&&(_0x460c09[_0x5e5f98]=_0x305a89[_0x5e5f98]);}return _0x460c09;},ee[_0x1e7889(0x119)](this,arguments);},Ls=function(_0x202bc5,_0x5cf68f){const _0x31ffba=_0x1cc768;var _0x7031fd={};for(var _0x553886 in _0x202bc5)Object[_0x31ffba(0x396)]['hasOwnProperty'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886)&&_0x5cf68f[_0x31ffba(0x4f4)](_0x553886)<0x0&&(_0x7031fd[_0x553886]=_0x202bc5[_0x553886]);if(_0x202bc5!=null&&typeof Object[_0x31ffba(0x58f)]=='function'){for(var _0x17da7c=0x0,_0x553886=Object[_0x31ffba(0x58f)](_0x202bc5);_0x17da7c<_0x553886[_0x31ffba(0x31e)];_0x17da7c++)_0x5cf68f[_0x31ffba(0x4f4)](_0x553886[_0x17da7c])<0x0&&Object[_0x31ffba(0x396)]['propertyIsEnumerable'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886[_0x17da7c])&&(_0x7031fd[_0x553886[_0x17da7c]]=_0x202bc5[_0x553886[_0x17da7c]]);}return _0x7031fd;},Pt=ae[_0x1cc768(0x169)](function(_0x1c16bf,_0x56ac2f){const _0x307569=_0x1cc768;var _0x2d1cc3=_0x1c16bf[_0x307569(0x1af)],_0x7d00d5=_0x1c16bf['id'],_0x5f2c0d=_0x1c16bf[_0x307569(0x218)],_0x2d5217=_0x1c16bf[_0x307569(0x279)],_0x2fb52b=Ls(_0x1c16bf,[_0x307569(0x1af),'id',_0x307569(0x218),'extend']),_0x292709=_0x307569(0x581)[_0x307569(0x276)](_0x7d00d5,'\x20')[_0x307569(0x276)](_0x5f2c0d||'')['trim'](),_0x357480=ae['useRef']('_'['concat']($s()));return bi(_0x2d1cc3,''[_0x307569(0x276)](_0x7d00d5),{'defIds':_0x2d1cc3[_0x307569(0x1bf)],'idSuffix':_0x357480[_0x307569(0x364)]},ee({'ref':_0x56ac2f,'className':_0x292709},_0x2fb52b),_0x2d5217);});function bi(_0x2bbd71,_0x13d6f2,_0x1d51e6,_0x436d1b,_0x313e88){const _0xa8ff4a=_0x1cc768;return ae[_0xa8ff4a(0x121)](_0x2bbd71[_0xa8ff4a(0x266)],ee(ee({'key':_0x13d6f2},xs(_0x2bbd71,_0x1d51e6,_0x313e88)),_0x436d1b),(js(_0x2bbd71,_0x1d51e6)[_0xa8ff4a(0x416)]||[])[_0xa8ff4a(0x130)](function(_0x51155a,_0x1d9ccf){const _0x2750ca=_0xa8ff4a;return bi(_0x51155a,''[_0x2750ca(0x276)](_0x13d6f2,'-')[_0x2750ca(0x276)](_0x2bbd71[_0x2750ca(0x266)],'-')[_0x2750ca(0x276)](_0x1d9ccf),_0x1d51e6,void 0x0,_0x313e88);}));}function xs(_0xb3c177,_0x279cfb,_0x20b18e){const _0x1496c2=_0x1cc768;var _0x533f3c=ee({},_0xb3c177['attrs']);_0x20b18e!=null&&_0x20b18e[_0x1496c2(0x2ec)]&&_0x533f3c[_0x1496c2(0x524)]==='colorChannel1'&&(_0x533f3c[_0x1496c2(0x524)]=_0x20b18e[_0x1496c2(0x2ec)]);var _0x46ea71=_0x279cfb[_0x1496c2(0x1bf)];return!_0x46ea71||_0x46ea71[_0x1496c2(0x31e)]===0x0||(_0xb3c177[_0x1496c2(0x266)]===_0x1496c2(0x5be)&&_0x533f3c[_0x1496c2(0x29b)]&&(_0x533f3c[_0x1496c2(0x29b)]=_0x533f3c[_0x1496c2(0x29b)]+_0x279cfb[_0x1496c2(0x175)]),Object[_0x1496c2(0x599)](_0x533f3c)['forEach'](function(_0xf5bc5c){const _0x1f3a8f=_0x1496c2;var _0xd2ec4c=_0xf5bc5c[0x0],_0xf3e048=_0xf5bc5c[0x1];typeof _0xf3e048==_0x1f3a8f(0x103)&&(_0x533f3c[_0xd2ec4c]=_0xf3e048[_0x1f3a8f(0x583)](/url\(#(.*)\)/,_0x1f3a8f(0x436)[_0x1f3a8f(0x276)](_0x279cfb[_0x1f3a8f(0x175)],')')));})),_0x533f3c;}function js(_0x2efa8a,_0x433eac){const _0x3a9d9e=_0x1cc768;var _0x5cf049,_0xc2bb40=_0x433eac['defIds'];return!_0xc2bb40||_0xc2bb40[_0x3a9d9e(0x31e)]===0x0?_0x2efa8a:_0x2efa8a[_0x3a9d9e(0x266)]===_0x3a9d9e(0x21a)&&(!((_0x5cf049=_0x2efa8a['children'])===null||_0x5cf049===void 0x0)&&_0x5cf049[_0x3a9d9e(0x31e)])?ee(ee({},_0x2efa8a),{'children':_0x2efa8a[_0x3a9d9e(0x416)][_0x3a9d9e(0x130)](function(_0x111252){const _0x2bdeaa=_0x3a9d9e;return typeof _0x111252[_0x2bdeaa(0x320)]['id']==_0x2bdeaa(0x103)&&_0xc2bb40&&_0xc2bb40[_0x2bdeaa(0x4f4)](_0x111252[_0x2bdeaa(0x320)]['id'])>-0x1?ee(ee({},_0x111252),{'attrs':ee(ee({},_0x111252[_0x2bdeaa(0x320)]),{'id':_0x111252[_0x2bdeaa(0x320)]['id']+_0x433eac[_0x2bdeaa(0x175)]})}):_0x111252;})}):_0x2efa8a;}function $s(){const _0x927970=_0x1cc768;return Math[_0x927970(0x454)]()[_0x927970(0x3df)](0x24)[_0x927970(0x418)](0x2,0x8);}Pt['displayName']=_0x1cc768(0x152);var Hs={'tag':_0x1cc768(0x199),'attrs':{'fill':_0x1cc768(0x591),'viewBox':'0\x200\x2016\x2016','width':_0x1cc768(0x26c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x4fe)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'d':_0x1cc768(0x3a2),'strokeLinecap':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1cc768(0x498),'attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b)}}]}]}],'defIds':[_0x1cc768(0x30d)]},Ti=ae['forwardRef'](function(_0x27d3bf,_0x3af5c8){const _0x1da00b=_0x1cc768;return ae[_0x1da00b(0x121)](Pt,Object[_0x1da00b(0x322)]({},_0x27d3bf,{'id':'off-line-single','ref':_0x3af5c8,'icon':Hs}));});Ti[_0x1cc768(0x173)]=_0x1cc768(0x2c1);var Bs={'tag':'svg','attrs':{'fill':_0x1cc768(0x591),'viewBox':_0x1cc768(0x19d),'width':'1em','height':_0x1cc768(0x26c)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x3ec)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':_0x1cc768(0x356)},'children':[{'tag':'path','attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b),'transform':_0x1cc768(0x4aa)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae['forwardRef'](function(_0x461b10,_0xad76fa){const _0x3a6c46=_0x1cc768;return ae[_0x3a6c46(0x121)](Pt,Object['assign']({},_0x461b10,{'id':_0x3a6c46(0x3fd),'ref':_0xad76fa,'icon':Bs}));});Ri[_0x1cc768(0x173)]=_0x1cc768(0x47f);function yi(_0x2b6889){const _0x59b1ed=_0x1cc768;var _0x4f4b47,_0x4175c9,_0x2054ae='';if(typeof _0x2b6889==_0x59b1ed(0x103)||typeof _0x2b6889==_0x59b1ed(0x37d))_0x2054ae+=_0x2b6889;else{if(typeof _0x2b6889==_0x59b1ed(0x21f)){if(Array[_0x59b1ed(0x194)](_0x2b6889)){var _0x1e03fe=_0x2b6889[_0x59b1ed(0x31e)];for(_0x4f4b47=0x0;_0x4f4b47<_0x1e03fe;_0x4f4b47++)_0x2b6889[_0x4f4b47]&&(_0x4175c9=yi(_0x2b6889[_0x4f4b47]))&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}else{for(_0x4175c9 in _0x2b6889)_0x2b6889[_0x4175c9]&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}}}return _0x2054ae;}function ks(){for(var _0x10663d,_0xee45cc,_0x1c1415=0x0,_0x3a2038='',_0x592298=arguments['length'];_0x1c1415<_0x592298;_0x1c1415++)(_0x10663d=arguments[_0x1c1415])&&(_0xee45cc=yi(_0x10663d))&&(_0x3a2038&&(_0x3a2038+='\x20'),_0x3a2038+=_0xee45cc);return _0x3a2038;}const Ws=_0x1cc768(0x16e),Fs=_0x1cc768(0x2ce),Vs=_0x1cc768(0x1dc),Gs='univer-online',Ys=_0x1cc768(0x4a7),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x21ced4){const _0x5bde04=_0x1cc768;switch(_0x21ced4){case q[_0x5bde04(0x1b1)]:return _0x5bde04(0x1bd);case q[_0x5bde04(0x357)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x5bde04(0x36c);case q[_0x5bde04(0x3ef)]:return'collabStatus.notCollab';case q[_0x5bde04(0x127)]:case q[_0x5bde04(0x33f)]:return _0x5bde04(0x507);case q[_0x5bde04(0x53f)]:case q[_0x5bde04(0x3b9)]:return'collabStatus.synced';}}function Oi(_0x308b4d){const _0x4c63c8=_0x1cc768,{status$:_0x3f9a59}=_0x308b4d,_0x42a353=te['useObservable'](_0x3f9a59,q[_0x4c63c8(0x3ef)]),_0x3813c4=a[_0x4c63c8(0x341)](a[_0x4c63c8(0x33e)]),_0x1c25da=a[_0x4c63c8(0x341)](exports[_0x4c63c8(0x2e1)]),_0x4a4d89=_0x42a353!==q[_0x4c63c8(0x1b1)],_0x49fd45=_0x3813c4['t'](Ks(_0x42a353)),_0x17b11e=ks(Me[_0x4c63c8(0x30e)],{[Me[_0x4c63c8(0x3c6)]]:_0x4a4d89,[Me[_0x4c63c8(0x2a7)]]:!_0x4a4d89}),_0xa5a393=_0x4a4d89?ge[_0x4c63c8(0x5c1)](Ri,{}):ge['jsx'](Ti,{}),_0x2a4c42=ae[_0x4c63c8(0x1ec)](()=>{const _0x183290=_0x4c63c8;_0x4a4d89||_0x1c25da[_0x183290(0x421)]();},[_0x4a4d89,_0x1c25da]);function _0x351b63(){const _0x3a2d12=_0x4c63c8;return ge['jsxs']('div',{'className':_0x17b11e,'onClick':_0x2a4c42,'children':[ge['jsx'](_0x3a2d12(0x252),{'className':Me[_0x3a2d12(0x3dc)],'children':_0xa5a393}),ge[_0x3a2d12(0x5c1)](_0x3a2d12(0x252),{'className':Me['onlineStatusTitle'],'children':_0x49fd45})]});}return _0x4a4d89?_0x351b63():ge[_0x4c63c8(0x5c1)](Ce[_0x4c63c8(0x504)],{'title':_0x3813c4['t'](_0x4c63c8(0x44b)),'children':_0x351b63()});}var qs=Object[_0x1cc768(0x244)],zs=Object[_0x1cc768(0x263)],Xs=(_0x5d8556,_0x1a79ad,_0xfd1869,_0x5489a0)=>{for(var _0x36f971=_0x5489a0>0x1?void 0x0:_0x5489a0?zs(_0x1a79ad,_0xfd1869):_0x1a79ad,_0x3fb321=_0x5d8556['length']-0x1,_0x2d4245;_0x3fb321>=0x0;_0x3fb321--)(_0x2d4245=_0x5d8556[_0x3fb321])&&(_0x36f971=(_0x5489a0?_0x2d4245(_0x1a79ad,_0xfd1869,_0x36f971):_0x2d4245(_0x36f971))||_0x36f971);return _0x5489a0&&_0x36f971&&qs(_0x1a79ad,_0xfd1869,_0x36f971),_0x36f971;},$e=(_0x5ab572,_0x54338a)=>(_0x176753,_0x367c0a)=>_0x54338a(_0x176753,_0x367c0a,_0x5ab572);exports[_0x1cc768(0x382)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4115c0,_0x3baade,_0x28c5ac,_0x2b6546){const _0x30a4cc=_0x1cc768;super(),I(this,_0x30a4cc(0x52a),new A[(_0x30a4cc(0x118))](q[_0x30a4cc(0x3ef)])),(this[_0x30a4cc(0x114)]=_0x4115c0,this['_uiPartsService']=_0x3baade,this[_0x30a4cc(0x310)]=_0x28c5ac,this[_0x30a4cc(0x31a)]=_0x2b6546,this[_0x30a4cc(0x1eb)](),this[_0x30a4cc(0x5b9)]());}[_0x1cc768(0x5b9)](){const _0x52289d=_0x1cc768;this[_0x52289d(0x27e)](this[_0x52289d(0x114)][_0x52289d(0xff)][_0x52289d(0x154)](A[_0x52289d(0x44f)](()=>{const _0x2e06ec=_0x52289d,_0x244fe8=this['_univerInstanceService'][_0x2e06ec(0x55d)]();return _0x244fe8?this[_0x2e06ec(0x31a)][_0x2e06ec(0x54b)](_0x244fe8[_0x2e06ec(0x1f0)]()):A['of'](null);}),A[_0x52289d(0x44f)](_0xd48905=>_0xd48905?_0xd48905[_0x52289d(0x495)]:A['of'](q[_0x52289d(0x3ef)])))['subscribe'](_0x1afaea=>{const _0x3bc0d3=_0x52289d;this[_0x3bc0d3(0x52a)]['next'](_0x1afaea);}));}[_0x1cc768(0x1eb)](){const _0xcdd940=_0x1cc768;this['disposeWithMe'](this['_uiPartsService'][_0xcdd940(0x435)](te[_0xcdd940(0x202)]['HEADER_MENU'],()=>a[_0xcdd940(0x45e)](Js({'status$':this[_0xcdd940(0x52a)][_0xcdd940(0x575)]()}),this[_0xcdd940(0x310)])));}},exports[_0x1cc768(0x382)]=Xs([$e(0x0,a[_0x1cc768(0x3bd)]),$e(0x1,te[_0x1cc768(0x40e)]),$e(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),$e(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x38c)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x39548f){const {status$:_0x4850b2}=_0x39548f;return function(){const _0x3c2715=_0x3a60;return ge[_0x3c2715(0x5c1)](Oi,{'status$':_0x4850b2});};}const wt=a[_0x1cc768(0x415)](_0x1cc768(0x274));var Zs=Object['defineProperty'],Qs=Object[_0x1cc768(0x263)],er=(_0x148a8a,_0x4190ff,_0x2299bd,_0x1d0007)=>{const _0x4625e9=_0x1cc768;for(var _0x1376c5=_0x1d0007>0x1?void 0x0:_0x1d0007?Qs(_0x4190ff,_0x2299bd):_0x4190ff,_0x6c5383=_0x148a8a[_0x4625e9(0x31e)]-0x1,_0x33b4f7;_0x6c5383>=0x0;_0x6c5383--)(_0x33b4f7=_0x148a8a[_0x6c5383])&&(_0x1376c5=(_0x1d0007?_0x33b4f7(_0x4190ff,_0x2299bd,_0x1376c5):_0x33b4f7(_0x1376c5))||_0x1376c5);return _0x1d0007&&_0x1376c5&&Zs(_0x4190ff,_0x2299bd,_0x1376c5),_0x1376c5;},Re=(_0x40ab5d,_0x9c8415)=>(_0x12f4b9,_0xf45450)=>_0x9c8415(_0x12f4b9,_0xf45450,_0x40ab5d);exports[_0x1cc768(0x37b)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x3764cc,_0x5a8ef0,_0x128636,_0x3937bc,_0x32683d,_0x288caa){const _0x5bf154=_0x1cc768;super(),this[_0x5bf154(0x49c)]=_0x3764cc,this[_0x5bf154(0x10c)]=_0x5a8ef0,this['_commandService']=_0x128636,this[_0x5bf154(0x3f3)]=_0x3937bc,this[_0x5bf154(0x1c9)]=_0x32683d,_0x288caa?_0x288caa==null||_0x288caa['whenReady']()[_0x5bf154(0x191)](()=>this['_init']()):(this[_0x5bf154(0x10c)]['debug'](_0x5bf154(0x1e0),_0x5bf154(0x410)),this[_0x5bf154(0x143)]());}async[_0x1cc768(0x143)](){const _0x1770d4=_0x1cc768,_0x314321=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x164)),_0x11da06=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x398));if(!_0x314321||!_0x11da06){this[_0x1770d4(0x10c)][_0x1770d4(0x157)]('[DataLoaderController]',_0x1770d4(0x5c5));return;}switch(Number(_0x11da06)){case ne[_0x1770d4(0x452)]:{const _0x1c81a9=await this[_0x1770d4(0x5d7)](_0x314321);this['_setupSubUnitSync'](_0x1c81a9);break;}case ne[_0x1770d4(0x408)]:{await this[_0x1770d4(0x230)](_0x314321);break;}default:{this[_0x1770d4(0x10c)][_0x1770d4(0x1c4)](_0x1770d4(0x1e0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x32e9ff){const _0x3c5773=_0x1cc768;await this['_updateSubUnitFromURLParams'](_0x32e9ff),_0x32e9ff[_0x3c5773(0x139)][_0x3c5773(0x154)](A[_0x3c5773(0x4cf)](this[_0x3c5773(0x36e)]))[_0x3c5773(0x556)](_0xb7b3da=>{const _0x46a2a8=_0x3c5773;_0xb7b3da&&this[_0x46a2a8(0x31c)](_0xb7b3da);}),this[_0x3c5773(0x49c)][_0x3c5773(0x40d)]['pipe'](A[_0x3c5773(0x4cf)](this['dispose$']))['subscribe'](()=>this[_0x3c5773(0x1b5)](_0x32e9ff));}['_updateURLWithCurrentState'](_0x4914d4,_0xb6335=!0x1){const _0xd4367b=_0x1cc768,_0x97a5ee=this[_0xd4367b(0x49c)][_0xd4367b(0x187)](_0xd4367b(0x1a2));_0x4914d4[_0xd4367b(0x4ab)]()!==_0x97a5ee&&this['_urlService'][_0xd4367b(0x3d4)](_0xd4367b(0x1a2),_0x4914d4[_0xd4367b(0x4ab)](),_0xb6335);}async[_0x1cc768(0x1b5)](_0x3c68be){const _0x578288=_0x1cc768;var _0x14dbb7;const _0x39f1e6=this['_urlService'][_0x578288(0x187)]('subunit');if(!_0x39f1e6||!_0x3c68be['getSheetBySheetId'](_0x39f1e6)){const _0x563637=_0x3c68be[_0x578288(0x456)]()[0x0],_0x48cf36=_0x3c68be[_0x578288(0x14b)](_0x563637);if(!_0x48cf36)return;this[_0x578288(0x31c)](_0x48cf36,!0x0),await this[_0x578288(0x134)]['executeCommand'](k[_0x578288(0x34d)]['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x563637});return;}((_0x14dbb7=_0x3c68be['getActiveSheet']())==null?void 0x0:_0x14dbb7[_0x578288(0x4ab)]())!==_0x39f1e6&&await this[_0x578288(0x134)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x39f1e6});}async[_0x1cc768(0x5d7)](_0x535f06){const _0x19a586=_0x1cc768;let _0x5e5cf2=0x0;const _0x3ad6de=await this['_localCacheService'][_0x19a586(0x5ca)](_0x535f06);return _0x3ad6de&&(_0x3ad6de[_0x19a586(0x54e)]||_0x3ad6de[_0x19a586(0x41d)][_0x19a586(0x31e)]!==0x0)&&(_0x5e5cf2=_0x3ad6de['rev']),_0x5e5cf2===0x0&&this[_0x19a586(0x10c)][_0x19a586(0x157)](_0x19a586(0x1e0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x19a586(0x1c9)][_0x19a586(0x3e9)](_0x535f06,_0x5e5cf2);}async[_0x1cc768(0x230)](_0x3bf2e5){const _0x2636ee=_0x1cc768;let _0x4a7444=0x0;const _0x46b64e=await this[_0x2636ee(0x3f3)][_0x2636ee(0x5ca)](_0x3bf2e5);return _0x46b64e&&(_0x46b64e[_0x2636ee(0x54e)]||_0x46b64e['mutations'][_0x2636ee(0x31e)]!==0x0)&&(_0x4a7444=_0x46b64e[_0x2636ee(0x55b)]),_0x4a7444===0x0&&this['_logService'][_0x2636ee(0x157)](_0x2636ee(0x1e0),_0x2636ee(0x2b6)),this[_0x2636ee(0x1c9)]['loadDoc'](_0x3bf2e5,_0x4a7444);}},exports[_0x1cc768(0x37b)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x1cc768(0x11f)]),Re(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),Re(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x552)])),Re(0x5,a[_0x1cc768(0x1f2)](Bi[_0x1cc768(0x521)]))],exports[_0x1cc768(0x37b)]);var tr=Object[_0x1cc768(0x244)],ir=Object[_0x1cc768(0x263)],nr=(_0x135792,_0xe63532,_0x53e4f7,_0x183557)=>{for(var _0x4ecca3=_0x183557>0x1?void 0x0:_0x183557?ir(_0xe63532,_0x53e4f7):_0xe63532,_0x548372=_0x135792['length']-0x1,_0x315f77;_0x548372>=0x0;_0x548372--)(_0x315f77=_0x135792[_0x548372])&&(_0x4ecca3=(_0x183557?_0x315f77(_0xe63532,_0x53e4f7,_0x4ecca3):_0x315f77(_0x4ecca3))||_0x4ecca3);return _0x183557&&_0x4ecca3&&tr(_0xe63532,_0x53e4f7,_0x4ecca3),_0x4ecca3;},Vt=(_0x5cee61,_0x5b93f7)=>(_0x35831b,_0x31be6e)=>_0x5b93f7(_0x35831b,_0x31be6e,_0x5cee61);const sr=_0x1cc768(0x1ac),rr=_0x1cc768(0x269);let Ge=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4a8a3a,_0x13c31a){const _0x3d7dbc=_0x1cc768;super(),this[_0x3d7dbc(0x114)]=_0x4a8a3a,this[_0x3d7dbc(0x2c0)]=_0x13c31a,this[_0x3d7dbc(0x143)]();}['_init'](){const _0x32d77c=_0x1cc768;this[_0x32d77c(0x27e)](this['_univerInstanceService'][_0x32d77c(0xff)][_0x32d77c(0x556)](()=>{const _0x40d70a=_0x32d77c;var _0x19247f;const _0x553fcd=this[_0x40d70a(0x114)]['getFocusedUnit']();let _0x28b2b2=(_0x19247f=this[_0x40d70a(0x2c0)]['getConfig'](sr))!=null?_0x19247f:rr;_0x553fcd instanceof a[_0x40d70a(0x24d)]&&(_0x28b2b2=_0x553fcd[_0x40d70a(0x27c)]),document[_0x40d70a(0x1a3)]=_0x28b2b2;}));}};Ge=nr([Vt(0x0,a[_0x1cc768(0x3bd)]),Vt(0x1,a[_0x1cc768(0x56f)])],Ge);var or=Object[_0x1cc768(0x244)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x30f563,_0x2cee2c,_0x5165c5,_0x5a8540)=>{for(var _0x11b05a=_0x5a8540>0x1?void 0x0:_0x5a8540?ar(_0x2cee2c,_0x5165c5):_0x2cee2c,_0x55c868=_0x30f563['length']-0x1,_0xd435a6;_0x55c868>=0x0;_0x55c868--)(_0xd435a6=_0x30f563[_0x55c868])&&(_0x11b05a=(_0x5a8540?_0xd435a6(_0x2cee2c,_0x5165c5,_0x11b05a):_0xd435a6(_0x11b05a))||_0x11b05a);return _0x5a8540&&_0x11b05a&&or(_0x2cee2c,_0x5165c5,_0x11b05a),_0x11b05a;},ct=(_0x556cd8,_0x4652ab)=>(_0x15fe95,_0x2c4757)=>_0x4652ab(_0x15fe95,_0x2c4757,_0x556cd8);let Ye=class{constructor(_0x138ab7,_0x86b409,_0x107abb){const _0x3cf045=_0x1cc768;this['_configService']=_0x138ab7,this['_httpService']=_0x86b409,this[_0x3cf045(0x57b)]=_0x107abb,this['init']();}[_0x1cc768(0x518)](){const _0x28e7ce=_0x1cc768;this['_httpService'][_0x28e7ce(0x53d)]({'priority':0x1,'interceptor':(_0x8cfe00,_0x4a8669)=>_0x4a8669(_0x8cfe00)[_0x28e7ce(0x154)](A[_0x28e7ce(0x234)](async _0x4dfa13=>{const _0x186d20=_0x28e7ce,_0x3e3022=_0x4dfa13;if(_0x3e3022['status']===0x191&&window['confirm'](this[_0x186d20(0x57b)]['t'](_0x186d20(0x4af)))){const _0x537e93=window[_0x186d20(0x136)](window['location'][_0x186d20(0x203)]);window[_0x186d20(0x19f)][_0x186d20(0x203)]=this[_0x186d20(0x129)]()+_0x186d20(0x423)+_0x537e93;}return _0x3e3022;}))});}[_0x1cc768(0x129)](){const _0x3df214=_0x1cc768;var _0x52410a,_0x40b661;const _0x50f9b9=this[_0x3df214(0x2c0)][_0x3df214(0x555)](hi),_0x44fb91=this[_0x3df214(0x2c0)][_0x3df214(0x555)](Q);return(_0x40b661=(_0x52410a=_0x44fb91==null?void 0x0:_0x44fb91[_0x3df214(0x3f2)])!=null?_0x52410a:_0x50f9b9)!=null?_0x40b661:Ji;}};Ye=cr([ct(0x0,a[_0x1cc768(0x56f)]),ct(0x1,a['Inject'](z['HTTPService'])),ct(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],Ye);var lr=Object['defineProperty'],hr=Object['getOwnPropertyDescriptor'],_r=(_0x20e484,_0x27edb6,_0x1e47d3,_0x1c87b4)=>{const _0x5f18e1=_0x1cc768;for(var _0x1d359f=_0x1c87b4>0x1?void 0x0:_0x1c87b4?hr(_0x27edb6,_0x1e47d3):_0x27edb6,_0x2088ef=_0x20e484[_0x5f18e1(0x31e)]-0x1,_0x1f2e1d;_0x2088ef>=0x0;_0x2088ef--)(_0x1f2e1d=_0x20e484[_0x2088ef])&&(_0x1d359f=(_0x1c87b4?_0x1f2e1d(_0x27edb6,_0x1e47d3,_0x1d359f):_0x1f2e1d(_0x1d359f))||_0x1d359f);return _0x1c87b4&&_0x1d359f&&lr(_0x27edb6,_0x1e47d3,_0x1d359f),_0x1d359f;},Gt=(_0x131d5e,_0x230e35)=>(_0xa073ad,_0x379604)=>_0x230e35(_0xa073ad,_0x379604,_0x131d5e);const Ut=_0x1cc768(0x5a0),ur=_0x1cc768(0x58a);exports['AuthzIoHttpService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0xb67d99,_0x23340d){const _0x1e2efa=_0x1cc768;super(),this[_0x1e2efa(0x313)]=_0xb67d99,this[_0x1e2efa(0x2c0)]=_0x23340d,this[_0x1e2efa(0x386)]();}[_0x1cc768(0x386)](){const _0x45652f=_0x1cc768,_0x7790c7=this;this[_0x45652f(0x27e)](this['_HTTPService'][_0x45652f(0x53d)]({'priority':0x3e7,'interceptor':z[_0x45652f(0x33a)]({'isMatch'(_0x11301f){const _0x181d2a=_0x45652f;var _0x55ab99;if(_0x11301f['method']==='POST'&&((_0x55ab99=_0x11301f[_0x181d2a(0x1aa)])!=null&&_0x55ab99[_0x181d2a(0x46d)])){const {objectID:_0x26090c,objectType:_0xe5e90d}=_0x11301f['requestParams'][_0x181d2a(0x46d)]||{};if(!_0x26090c||_0xe5e90d===void 0x0)return!0x1;const _0x4ab677=_0x7790c7[_0x181d2a(0x1b8)]()+'/'+_0xe5e90d+_0x181d2a(0x3aa)+_0x26090c+_0x181d2a(0x4a8);if(_0x11301f[_0x181d2a(0x539)]===_0x4ab677)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x131048){const _0x3328cd=_0x45652f;var _0x3b80fe;return(_0x3b80fe=_0x131048[_0x3328cd(0x1aa)])==null?void 0x0:_0x3b80fe['body'];},'mergeParamsToRequest'(_0x17f4a2,_0x97696){const _0x530ce7=_0x45652f,_0x113346=_0x7790c7[_0x530ce7(0x1b8)]()+_0x530ce7(0x1b6),_0x3d6ee5=_0x17f4a2[_0x530ce7(0x20e)]((_0x359d61,_0x4c4394)=>{const _0x5b4a01=_0x530ce7,{unitID:_0x599b49,objectID:_0x8b13a8,objectType:_0x245900,actions:_0x422577}=_0x4c4394;return _0x359d61[_0x599b49]||(_0x359d61[_0x599b49]={}),_0x359d61[_0x599b49][_0x8b13a8]||(_0x359d61[_0x599b49][_0x8b13a8]={'objectID':_0x8b13a8,'objectType':_0x245900,'actions':[]}),_0x359d61[_0x599b49][_0x8b13a8][_0x5b4a01(0x554)][_0x5b4a01(0x102)](..._0x422577),_0x359d61;},{}),_0x4ac697=[];for(const _0xc01711 in _0x3d6ee5)for(const _0x33ad4a in _0x3d6ee5[_0xc01711]){const {actions:_0x2947bd,objectType:_0x950f1}=_0x3d6ee5[_0xc01711][_0x33ad4a],_0x335a37=[...new Set(_0x2947bd)];_0x4ac697[_0x530ce7(0x102)]({'unitID':_0xc01711,'objectID':_0x33ad4a,'objectType':_0x950f1,'actions':_0x335a37});}return new z[(_0x530ce7(0x5c2))](_0x530ce7(0x1ab),_0x113346,{'headers':_0x97696[_0x530ce7(0x351)],'withCredentials':_0x97696['withCredentials'],'responseType':_0x97696[_0x530ce7(0x479)],'body':{'requests':_0x4ac697}});}},{'distributeResult'(_0x3b8743,_0x5b017e){const _0x33c636=_0x45652f,{objectActions:_0x4648b8}=_0x3b8743;return _0x5b017e[_0x33c636(0x130)](_0x3ae35a=>{const _0x208915=_0x33c636,{unitID:_0x534d12,objectID:_0x41727b,actions:_0x36f22f}=_0x3ae35a,_0x5dc0c0=_0x4648b8[_0x208915(0x4bd)](_0x1408df=>_0x1408df[_0x208915(0x4ed)]===_0x534d12&&_0x1408df['objectID']===_0x41727b),_0x463537=_0x36f22f[_0x208915(0x130)](_0x20329b=>_0x5dc0c0==null?void 0x0:_0x5dc0c0[_0x208915(0x554)]['find'](_0x160820=>_0x160820[_0x208915(0x1cc)]===_0x20329b))[_0x208915(0x464)](_0x43b3fd=>!!_0x43b3fd);return{'config':_0x3ae35a,'result':{'actions':_0x463537,'error':_0x3b8743['error']}};});}})}));}[_0x1cc768(0x1b8)](){const _0x3ae440=_0x1cc768;var _0x3edf60,_0x52eb73;const _0x480507=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Ut),_0x28d07d=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Q);return(_0x52eb73=(_0x3edf60=_0x28d07d==null?void 0x0:_0x28d07d[_0x3ae440(0x1d0)])!=null?_0x3edf60:_0x480507)!=null?_0x52eb73:ur;}async[_0x1cc768(0x337)](_0x1efc6b){const _0x4291f8=_0x1cc768,_0xd9821c=this[_0x4291f8(0x1b8)]()+'/'+_0x1efc6b[_0x4291f8(0x53e)]+'/object';return(await this[_0x4291f8(0x313)][_0x4291f8(0x4a3)](_0xd9821c,{'body':_0x1efc6b}))[_0x4291f8(0x46d)][_0x4291f8(0x2e5)]||'';}async[_0x1cc768(0x4d8)](_0x4923e9){const _0x4206a2=_0x1cc768,_0x2721d4=this[_0x4206a2(0x1b8)]()+_0x4206a2(0x5c7);return(await this[_0x4206a2(0x313)]['post'](_0x2721d4,{'body':_0x4923e9}))[_0x4206a2(0x46d)][_0x4206a2(0x44e)];}async[_0x1cc768(0x2af)](_0x226e0c){const _0x371d84=_0x1cc768,_0x3c3ce9=this[_0x371d84(0x1b8)]()+'/'+_0x226e0c[_0x371d84(0x53e)]+_0x371d84(0x3aa)+_0x226e0c['objectID'];await this[_0x371d84(0x313)][_0x371d84(0x376)](_0x3c3ce9,{'body':_0x226e0c});}async[_0x1cc768(0x296)](_0x475672){const _0x4ee2b3=_0x1cc768,_0x2f5d9a=this[_0x4ee2b3(0x1b8)]()+'/'+_0x475672['objectType']+_0x4ee2b3(0x3aa)+_0x475672[_0x4ee2b3(0x2e5)]+_0x4ee2b3(0x4a8);return(await this[_0x4ee2b3(0x313)][_0x4ee2b3(0x4a3)](_0x2f5d9a,{'body':_0x475672}))[_0x4ee2b3(0x46d)][_0x4ee2b3(0x554)];}async['batchAllowed'](_0x2bdd36){const _0x4643ab=_0x1cc768,_0x576503=this[_0x4643ab(0x1b8)]()+_0x4643ab(0x1b6);return(await this[_0x4643ab(0x313)]['post'](_0x576503,{'body':{'requests':_0x2bdd36}}))['body'][_0x4643ab(0x2df)];}async[_0x1cc768(0x16b)](_0x350d2d){const _0xf64e1c=_0x1cc768,_0xb691c6=this['_getAPIPrefixPath']()+'/'+_0x350d2d['objectType']+_0xf64e1c(0x3cd),_0x37e80b=await this[_0xf64e1c(0x313)][_0xf64e1c(0x4a3)](_0xb691c6,{'body':_0x350d2d});return{'roles':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x3b6)],'actions':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x554)]};}async[_0x1cc768(0x254)](_0x20ba37){const _0x7f368=_0x1cc768,_0x36bcd3=this['_getAPIPrefixPath']()+_0x7f368(0x368);await this[_0x7f368(0x313)][_0x7f368(0x24c)](_0x36bcd3,{'params':{'collaboratorID':_0x20ba37[_0x7f368(0x1fb)],'objectID':_0x20ba37[_0x7f368(0x2e5)],'unitID':_0x20ba37[_0x7f368(0x4ed)]}});}async[_0x1cc768(0x23e)](_0x2b9530){const _0x48d740=_0x1cc768,_0xd8a510=this[_0x48d740(0x1b8)]()+'/collaborator';await this[_0x48d740(0x313)][_0x48d740(0x108)](_0xd8a510,{'body':_0x2b9530});}async['createCollaborator'](_0x37dd8d){const _0x5f2198=_0x1cc768,_0x52868a=this[_0x5f2198(0x1b8)]()+_0x5f2198(0x368);await this[_0x5f2198(0x313)][_0x5f2198(0x4a3)](_0x52868a,{'body':_0x37dd8d});}async[_0x1cc768(0x282)](_0x80362){const _0x59d574=_0x1cc768,_0x1ab268=this[_0x59d574(0x1b8)]()+_0x59d574(0x368);return(await this['_HTTPService'][_0x59d574(0x4f7)](_0x1ab268,{'params':{'objectID':_0x80362[_0x59d574(0x2e5)],'unitID':_0x80362[_0x59d574(0x4ed)]}}))[_0x59d574(0x46d)]['collaborators'];}async[_0x1cc768(0x2c3)](_0x4dc465){const _0x437677=_0x1cc768,_0x37e2fa=this[_0x437677(0x1b8)]()+'/collaborator';await this[_0x437677(0x313)][_0x437677(0x376)](_0x37e2fa,{'body':_0x4dc465});}},exports['AuthzIoHttpService']=_r([Gt(0x0,a[_0x1cc768(0x2ca)](z['HTTPService'])),Gt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x56f)]))],exports[_0x1cc768(0x35c)]);var Di={'exports':{}};function dr(_0x46d0f4){const _0xbc54bb=_0x1cc768;throw new Error(_0xbc54bb(0x548)+_0x46d0f4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var lt={'exports':{}},Yt;function oe(){const _0x41cd7a=_0x1cc768;return Yt||(Yt=0x1,function(_0x2c81d7,_0x4be0da){(function(_0x10a15b,_0x38872d){const _0x3a8e28=_0x3a60;_0x2c81d7[_0x3a8e28(0x2b9)]=_0x38872d();}(Z,function(){var _0x1454ec=_0x1454ec||function(_0x473964,_0x105947){const _0x367e48=_0x3a60;var _0x2c5755;if(typeof window<'u'&&window[_0x367e48(0x46f)]&&(_0x2c5755=window[_0x367e48(0x46f)]),typeof self<'u'&&self['crypto']&&(_0x2c5755=self['crypto']),typeof globalThis<'u'&&globalThis[_0x367e48(0x46f)]&&(_0x2c5755=globalThis[_0x367e48(0x46f)]),!_0x2c5755&&typeof window<'u'&&window[_0x367e48(0x381)]&&(_0x2c5755=window[_0x367e48(0x381)]),!_0x2c5755&&typeof Z<'u'&&Z[_0x367e48(0x46f)]&&(_0x2c5755=Z[_0x367e48(0x46f)]),!_0x2c5755&&typeof dr==_0x367e48(0x5c6))try{_0x2c5755=require(_0x367e48(0x46f));}catch{}var _0x5040eb=function(){const _0x5bd4db=_0x367e48;if(_0x2c5755){if(typeof _0x2c5755[_0x5bd4db(0x448)]==_0x5bd4db(0x5c6))try{return _0x2c5755[_0x5bd4db(0x448)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2c5755[_0x5bd4db(0x228)]==_0x5bd4db(0x5c6))try{return _0x2c5755['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5bd4db(0x3ab));},_0x36345f=Object[_0x367e48(0x337)]||(function(){function _0x4efd3f(){}return function(_0x21e5c0){const _0x2aa5ed=_0x3a60;var _0x15ef14;return _0x4efd3f[_0x2aa5ed(0x396)]=_0x21e5c0,_0x15ef14=new _0x4efd3f(),_0x4efd3f[_0x2aa5ed(0x396)]=null,_0x15ef14;};}()),_0x552deb={},_0x357b34=_0x552deb[_0x367e48(0x3d1)]={},_0x32d729=_0x357b34[_0x367e48(0x474)]=(function(){return{'extend':function(_0x1a8448){const _0x1046d0=_0x3a60;var _0x12b73c=_0x36345f(this);return _0x1a8448&&_0x12b73c[_0x1046d0(0x399)](_0x1a8448),(!_0x12b73c[_0x1046d0(0x207)]('init')||this['init']===_0x12b73c[_0x1046d0(0x518)])&&(_0x12b73c[_0x1046d0(0x518)]=function(){const _0x36e4df=_0x1046d0;_0x12b73c[_0x36e4df(0x2f7)]['init'][_0x36e4df(0x119)](this,arguments);}),_0x12b73c[_0x1046d0(0x518)]['prototype']=_0x12b73c,_0x12b73c[_0x1046d0(0x2f7)]=this,_0x12b73c;},'create':function(){const _0x2c07c3=_0x3a60;var _0x9bc75a=this[_0x2c07c3(0x279)]();return _0x9bc75a[_0x2c07c3(0x518)]['apply'](_0x9bc75a,arguments),_0x9bc75a;},'init':function(){},'mixIn':function(_0x4cf4dd){const _0x19bc8b=_0x3a60;for(var _0x118c52 in _0x4cf4dd)_0x4cf4dd[_0x19bc8b(0x207)](_0x118c52)&&(this[_0x118c52]=_0x4cf4dd[_0x118c52]);_0x4cf4dd[_0x19bc8b(0x207)](_0x19bc8b(0x3df))&&(this[_0x19bc8b(0x3df)]=_0x4cf4dd[_0x19bc8b(0x3df)]);},'clone':function(){const _0x489827=_0x3a60;return this[_0x489827(0x518)]['prototype']['extend'](this);}};}()),_0x5e488c=_0x357b34['WordArray']=_0x32d729[_0x367e48(0x279)]({'init':function(_0x28f9cc,_0x22fb16){const _0x873340=_0x367e48;_0x28f9cc=this[_0x873340(0x49f)]=_0x28f9cc||[],_0x22fb16!=_0x105947?this['sigBytes']=_0x22fb16:this[_0x873340(0x512)]=_0x28f9cc[_0x873340(0x31e)]*0x4;},'toString':function(_0x25135){return(_0x25135||_0x3445b8)['stringify'](this);},'concat':function(_0x7b8eeb){const _0x4c966f=_0x367e48;var _0x4e4e38=this[_0x4c966f(0x49f)],_0x436951=_0x7b8eeb[_0x4c966f(0x49f)],_0x29d8e8=this['sigBytes'],_0x5b6a6c=_0x7b8eeb[_0x4c966f(0x512)];if(this[_0x4c966f(0x3d8)](),_0x29d8e8%0x4)for(var _0x336fff=0x0;_0x336fff<_0x5b6a6c;_0x336fff++){var _0x2cc59f=_0x436951[_0x336fff>>>0x2]>>>0x18-_0x336fff%0x4*0x8&0xff;_0x4e4e38[_0x29d8e8+_0x336fff>>>0x2]|=_0x2cc59f<<0x18-(_0x29d8e8+_0x336fff)%0x4*0x8;}else{for(var _0x3dec6a=0x0;_0x3dec6a<_0x5b6a6c;_0x3dec6a+=0x4)_0x4e4e38[_0x29d8e8+_0x3dec6a>>>0x2]=_0x436951[_0x3dec6a>>>0x2];}return this[_0x4c966f(0x512)]+=_0x5b6a6c,this;},'clamp':function(){const _0x25972c=_0x367e48;var _0x38d671=this[_0x25972c(0x49f)],_0x340cec=this['sigBytes'];_0x38d671[_0x340cec>>>0x2]&=0xffffffff<<0x20-_0x340cec%0x4*0x8,_0x38d671[_0x25972c(0x31e)]=_0x473964['ceil'](_0x340cec/0x4);},'clone':function(){const _0xecd96f=_0x367e48;var _0x1f2082=_0x32d729['clone'][_0xecd96f(0x3a6)](this);return _0x1f2082[_0xecd96f(0x49f)]=this[_0xecd96f(0x49f)][_0xecd96f(0x158)](0x0),_0x1f2082;},'random':function(_0x4d315e){const _0x5e206e=_0x367e48;for(var _0x3dbf38=[],_0x22f1fc=0x0;_0x22f1fc<_0x4d315e;_0x22f1fc+=0x4)_0x3dbf38[_0x5e206e(0x102)](_0x5040eb());return new _0x5e488c[(_0x5e206e(0x518))](_0x3dbf38,_0x4d315e);}}),_0x5eaf86=_0x552deb['enc']={},_0x3445b8=_0x5eaf86[_0x367e48(0x295)]={'stringify':function(_0x4611ec){const _0x3ff92f=_0x367e48;for(var _0x492249=_0x4611ec['words'],_0x2dca4e=_0x4611ec['sigBytes'],_0x571f5f=[],_0x2926b0=0x0;_0x2926b0<_0x2dca4e;_0x2926b0++){var _0x3839f0=_0x492249[_0x2926b0>>>0x2]>>>0x18-_0x2926b0%0x4*0x8&0xff;_0x571f5f['push']((_0x3839f0>>>0x4)[_0x3ff92f(0x3df)](0x10)),_0x571f5f[_0x3ff92f(0x102)]((_0x3839f0&0xf)[_0x3ff92f(0x3df)](0x10));}return _0x571f5f[_0x3ff92f(0x3f5)]('');},'parse':function(_0x2e51cc){const _0x2d6cd8=_0x367e48;for(var _0x1a567a=_0x2e51cc[_0x2d6cd8(0x31e)],_0x1b2799=[],_0x443dd2=0x0;_0x443dd2<_0x1a567a;_0x443dd2+=0x2)_0x1b2799[_0x443dd2>>>0x3]|=parseInt(_0x2e51cc[_0x2d6cd8(0x4ca)](_0x443dd2,0x2),0x10)<<0x18-_0x443dd2%0x8*0x4;return new _0x5e488c['init'](_0x1b2799,_0x1a567a/0x2);}},_0x593a41=_0x5eaf86[_0x367e48(0x534)]={'stringify':function(_0x4a125b){const _0x5b08f9=_0x367e48;for(var _0x19a828=_0x4a125b[_0x5b08f9(0x49f)],_0x14b729=_0x4a125b['sigBytes'],_0x457453=[],_0x429318=0x0;_0x429318<_0x14b729;_0x429318++){var _0x10ea39=_0x19a828[_0x429318>>>0x2]>>>0x18-_0x429318%0x4*0x8&0xff;_0x457453[_0x5b08f9(0x102)](String['fromCharCode'](_0x10ea39));}return _0x457453[_0x5b08f9(0x3f5)]('');},'parse':function(_0x12a317){const _0x45e23b=_0x367e48;for(var _0x58c689=_0x12a317['length'],_0x555ee6=[],_0x3e2179=0x0;_0x3e2179<_0x58c689;_0x3e2179++)_0x555ee6[_0x3e2179>>>0x2]|=(_0x12a317[_0x45e23b(0x577)](_0x3e2179)&0xff)<<0x18-_0x3e2179%0x4*0x8;return new _0x5e488c[(_0x45e23b(0x518))](_0x555ee6,_0x58c689);}},_0x470f60=_0x5eaf86[_0x367e48(0x31d)]={'stringify':function(_0x51e153){const _0x423201=_0x367e48;try{return decodeURIComponent(escape(_0x593a41[_0x423201(0x236)](_0x51e153)));}catch{throw new Error(_0x423201(0x1c3));}},'parse':function(_0x2139d8){return _0x593a41['parse'](unescape(encodeURIComponent(_0x2139d8)));}},_0x6d24ca=_0x357b34[_0x367e48(0x544)]=_0x32d729[_0x367e48(0x279)]({'reset':function(){const _0x136c32=_0x367e48;this[_0x136c32(0x23f)]=new _0x5e488c[(_0x136c32(0x518))](),this[_0x136c32(0x1ea)]=0x0;},'_append':function(_0x26de75){const _0x500f3f=_0x367e48;typeof _0x26de75=='string'&&(_0x26de75=_0x470f60[_0x500f3f(0x472)](_0x26de75)),this[_0x500f3f(0x23f)][_0x500f3f(0x276)](_0x26de75),this['_nDataBytes']+=_0x26de75['sigBytes'];},'_process':function(_0x3abaee){const _0x6603ed=_0x367e48;var _0x5f3c32,_0x57f661=this[_0x6603ed(0x23f)],_0x22f74c=_0x57f661[_0x6603ed(0x49f)],_0x13ef9c=_0x57f661[_0x6603ed(0x512)],_0x940195=this[_0x6603ed(0x1ce)],_0x34c448=_0x940195*0x4,_0x304fa4=_0x13ef9c/_0x34c448;_0x3abaee?_0x304fa4=_0x473964[_0x6603ed(0x331)](_0x304fa4):_0x304fa4=_0x473964[_0x6603ed(0x1a8)]((_0x304fa4|0x0)-this[_0x6603ed(0x110)],0x0);var _0x5c766b=_0x304fa4*_0x940195,_0x15882d=_0x473964[_0x6603ed(0x240)](_0x5c766b*0x4,_0x13ef9c);if(_0x5c766b){for(var _0x240035=0x0;_0x240035<_0x5c766b;_0x240035+=_0x940195)this['_doProcessBlock'](_0x22f74c,_0x240035);_0x5f3c32=_0x22f74c[_0x6603ed(0x44d)](0x0,_0x5c766b),_0x57f661[_0x6603ed(0x512)]-=_0x15882d;}return new _0x5e488c[(_0x6603ed(0x518))](_0x5f3c32,_0x15882d);},'clone':function(){const _0xf92bd4=_0x367e48;var _0x4de841=_0x32d729[_0xf92bd4(0x2a0)]['call'](this);return _0x4de841[_0xf92bd4(0x23f)]=this[_0xf92bd4(0x23f)]['clone'](),_0x4de841;},'_minBufferSize':0x0});_0x357b34[_0x367e48(0x5bd)]=_0x6d24ca[_0x367e48(0x279)]({'cfg':_0x32d729[_0x367e48(0x279)](),'init':function(_0x25933b){const _0x152085=_0x367e48;this[_0x152085(0x57d)]=this['cfg'][_0x152085(0x279)](_0x25933b),this[_0x152085(0x383)]();},'reset':function(){const _0x16e9f9=_0x367e48;_0x6d24ca['reset']['call'](this),this[_0x16e9f9(0x47c)]();},'update':function(_0x42932c){const _0x55a5f9=_0x367e48;return this['_append'](_0x42932c),this[_0x55a5f9(0x48c)](),this;},'finalize':function(_0x537933){const _0x2112b8=_0x367e48;_0x537933&&this[_0x2112b8(0x458)](_0x537933);var _0x1732bc=this[_0x2112b8(0x411)]();return _0x1732bc;},'blockSize':0x10,'_createHelper':function(_0x21e65c){return function(_0x5a5e07,_0x444bfa){const _0x163181=_0x3a60;return new _0x21e65c[(_0x163181(0x518))](_0x444bfa)['finalize'](_0x5a5e07);};},'_createHmacHelper':function(_0x315e33){return function(_0x114991,_0x8d0ded){const _0x2b5093=_0x3a60;return new _0x1ea7ae['HMAC'][(_0x2b5093(0x518))](_0x315e33,_0x8d0ded)['finalize'](_0x114991);};}});var _0x1ea7ae=_0x552deb[_0x367e48(0x560)]={};return _0x552deb;}(Math);return _0x1454ec;}));}(lt)),lt[_0x41cd7a(0x2b9)];}var ht={'exports':{}},Kt;function Pi(){const _0x230a23=_0x1cc768;return Kt||(Kt=0x1,function(_0x5601c5,_0x4696bd){(function(_0x19f755,_0x1141d2){const _0x2d3b1d=_0x3a60;_0x5601c5[_0x2d3b1d(0x2b9)]=_0x1141d2(oe());}(Z,function(_0x587e92){const _0x2b1fb0=_0x3a60;return(function(){const _0x5dce97=_0x3a60;var _0x3e0fcb=_0x587e92,_0x4b0156=_0x3e0fcb[_0x5dce97(0x3d1)],_0x23cc29=_0x4b0156[_0x5dce97(0x2f5)],_0x37dda5=_0x3e0fcb[_0x5dce97(0x10f)];_0x37dda5[_0x5dce97(0x444)]={'stringify':function(_0x409d19){const _0x4000f8=_0x5dce97;var _0x26e231=_0x409d19[_0x4000f8(0x49f)],_0x543191=_0x409d19[_0x4000f8(0x512)],_0x165586=this['_map'];_0x409d19['clamp']();for(var _0xc9094b=[],_0x2edb7a=0x0;_0x2edb7a<_0x543191;_0x2edb7a+=0x3)for(var _0x247e85=_0x26e231[_0x2edb7a>>>0x2]>>>0x18-_0x2edb7a%0x4*0x8&0xff,_0x377b12=_0x26e231[_0x2edb7a+0x1>>>0x2]>>>0x18-(_0x2edb7a+0x1)%0x4*0x8&0xff,_0x17d850=_0x26e231[_0x2edb7a+0x2>>>0x2]>>>0x18-(_0x2edb7a+0x2)%0x4*0x8&0xff,_0x1df4eb=_0x247e85<<0x10|_0x377b12<<0x8|_0x17d850,_0x3bee07=0x0;_0x3bee07<0x4&&_0x2edb7a+_0x3bee07*0.75<_0x543191;_0x3bee07++)_0xc9094b['push'](_0x165586[_0x4000f8(0x5cc)](_0x1df4eb>>>0x6*(0x3-_0x3bee07)&0x3f));var _0x5211a7=_0x165586['charAt'](0x40);if(_0x5211a7){for(;_0xc9094b[_0x4000f8(0x31e)]%0x4;)_0xc9094b[_0x4000f8(0x102)](_0x5211a7);}return _0xc9094b[_0x4000f8(0x3f5)]('');},'parse':function(_0x25b56a){const _0x38dea2=_0x5dce97;var _0x14db71=_0x25b56a[_0x38dea2(0x31e)],_0x114078=this['_map'],_0x58b62f=this[_0x38dea2(0x485)];if(!_0x58b62f){_0x58b62f=this['_reverseMap']=[];for(var _0x46c922=0x0;_0x46c922<_0x114078[_0x38dea2(0x31e)];_0x46c922++)_0x58b62f[_0x114078['charCodeAt'](_0x46c922)]=_0x46c922;}var _0x5959bb=_0x114078[_0x38dea2(0x5cc)](0x40);if(_0x5959bb){var _0x46875d=_0x25b56a['indexOf'](_0x5959bb);_0x46875d!==-0x1&&(_0x14db71=_0x46875d);}return _0x2ff081(_0x25b56a,_0x14db71,_0x58b62f);},'_map':_0x5dce97(0x570)};function _0x2ff081(_0x6e1d88,_0x4783ee,_0x289baa){const _0x28ec75=_0x5dce97;for(var _0x19827f=[],_0x590964=0x0,_0x57186b=0x0;_0x57186b<_0x4783ee;_0x57186b++)if(_0x57186b%0x4){var _0x24499a=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b-0x1)]<<_0x57186b%0x4*0x2,_0x4ca346=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b)]>>>0x6-_0x57186b%0x4*0x2,_0xa0bca6=_0x24499a|_0x4ca346;_0x19827f[_0x590964>>>0x2]|=_0xa0bca6<<0x18-_0x590964%0x4*0x8,_0x590964++;}return _0x23cc29[_0x28ec75(0x337)](_0x19827f,_0x590964);}}()),_0x587e92[_0x2b1fb0(0x10f)]['Base64'];}));}(ht)),ht[_0x230a23(0x2b9)];}var _t={'exports':{}},qt;function fr(){const _0x19c9ee=_0x1cc768;return qt||(qt=0x1,function(_0x5ee7ba,_0x2e91d2){(function(_0x4d6994,_0x2f8534){const _0x4ac600=_0x3a60;_0x5ee7ba[_0x4ac600(0x2b9)]=_0x2f8534(oe());}(Z,function(_0x22ef5e){const _0x379710=_0x3a60;return function(_0x11f7bc){const _0x449414=_0x3a60;var _0x15082c=_0x22ef5e,_0x3c8f83=_0x15082c['lib'],_0x535ac1=_0x3c8f83[_0x449414(0x2f5)],_0x10b4a8=_0x3c8f83[_0x449414(0x5bd)],_0x3eb392=_0x15082c[_0x449414(0x560)],_0x332d3e=[];(function(){const _0x5c1383=_0x449414;for(var _0x2fc2af=0x0;_0x2fc2af<0x40;_0x2fc2af++)_0x332d3e[_0x2fc2af]=_0x11f7bc[_0x5c1383(0x51d)](_0x11f7bc[_0x5c1383(0x248)](_0x2fc2af+0x1))*0x100000000|0x0;}());var _0x2963dc=_0x3eb392[_0x449414(0x37f)]=_0x10b4a8[_0x449414(0x279)]({'_doReset':function(){const _0x821797=_0x449414;this['_hash']=new _0x535ac1[(_0x821797(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa94c14,_0x6d2eb3){const _0x424465=_0x449414;for(var _0x2e4d78=0x0;_0x2e4d78<0x10;_0x2e4d78++){var _0x34bce8=_0x6d2eb3+_0x2e4d78,_0x634d33=_0xa94c14[_0x34bce8];_0xa94c14[_0x34bce8]=(_0x634d33<<0x8|_0x634d33>>>0x18)&0xff00ff|(_0x634d33<<0x18|_0x634d33>>>0x8)&0xff00ff00;}var _0x5d9ab5=this['_hash'][_0x424465(0x49f)],_0x1ddd92=_0xa94c14[_0x6d2eb3+0x0],_0x3e5ab1=_0xa94c14[_0x6d2eb3+0x1],_0x2b13d=_0xa94c14[_0x6d2eb3+0x2],_0x18a25b=_0xa94c14[_0x6d2eb3+0x3],_0x449a83=_0xa94c14[_0x6d2eb3+0x4],_0x5b574c=_0xa94c14[_0x6d2eb3+0x5],_0xa43595=_0xa94c14[_0x6d2eb3+0x6],_0x102659=_0xa94c14[_0x6d2eb3+0x7],_0x47021b=_0xa94c14[_0x6d2eb3+0x8],_0x462dce=_0xa94c14[_0x6d2eb3+0x9],_0xe8d0d7=_0xa94c14[_0x6d2eb3+0xa],_0x4d8021=_0xa94c14[_0x6d2eb3+0xb],_0x6f94b2=_0xa94c14[_0x6d2eb3+0xc],_0x59fa4d=_0xa94c14[_0x6d2eb3+0xd],_0x10f12c=_0xa94c14[_0x6d2eb3+0xe],_0x533980=_0xa94c14[_0x6d2eb3+0xf],_0x4a7260=_0x5d9ab5[0x0],_0x44fa6c=_0x5d9ab5[0x1],_0x5aab7d=_0x5d9ab5[0x2],_0x579e17=_0x5d9ab5[0x3];_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x7,_0x332d3e[0x0]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x3e5ab1,0xc,_0x332d3e[0x1]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0x11,_0x332d3e[0x2]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x18a25b,0x16,_0x332d3e[0x3]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x7,_0x332d3e[0x4]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x5b574c,0xc,_0x332d3e[0x5]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0x11,_0x332d3e[0x6]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x102659,0x16,_0x332d3e[0x7]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x7,_0x332d3e[0x8]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x462dce,0xc,_0x332d3e[0x9]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0x11,_0x332d3e[0xa]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x4d8021,0x16,_0x332d3e[0xb]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x7,_0x332d3e[0xc]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x59fa4d,0xc,_0x332d3e[0xd]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0x11,_0x332d3e[0xe]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x533980,0x16,_0x332d3e[0xf]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x5,_0x332d3e[0x10]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xa43595,0x9,_0x332d3e[0x11]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0xe,_0x332d3e[0x12]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x1ddd92,0x14,_0x332d3e[0x13]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x5,_0x332d3e[0x14]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xe8d0d7,0x9,_0x332d3e[0x15]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0xe,_0x332d3e[0x16]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x449a83,0x14,_0x332d3e[0x17]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x5,_0x332d3e[0x18]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x10f12c,0x9,_0x332d3e[0x19]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0xe,_0x332d3e[0x1a]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x47021b,0x14,_0x332d3e[0x1b]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x5,_0x332d3e[0x1c]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x2b13d,0x9,_0x332d3e[0x1d]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0xe,_0x332d3e[0x1e]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x6f94b2,0x14,_0x332d3e[0x1f]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x4,_0x332d3e[0x20]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x47021b,0xb,_0x332d3e[0x21]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0x10,_0x332d3e[0x22]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x10f12c,0x17,_0x332d3e[0x23]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x4,_0x332d3e[0x24]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x449a83,0xb,_0x332d3e[0x25]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0x10,_0x332d3e[0x26]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xe8d0d7,0x17,_0x332d3e[0x27]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x4,_0x332d3e[0x28]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x1ddd92,0xb,_0x332d3e[0x29]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0x10,_0x332d3e[0x2a]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xa43595,0x17,_0x332d3e[0x2b]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x4,_0x332d3e[0x2c]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x6f94b2,0xb,_0x332d3e[0x2d]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0x10,_0x332d3e[0x2e]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x2b13d,0x17,_0x332d3e[0x2f]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x6,_0x332d3e[0x30]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x102659,0xa,_0x332d3e[0x31]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0xf,_0x332d3e[0x32]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x5b574c,0x15,_0x332d3e[0x33]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x6,_0x332d3e[0x34]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x18a25b,0xa,_0x332d3e[0x35]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0xf,_0x332d3e[0x36]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x3e5ab1,0x15,_0x332d3e[0x37]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x6,_0x332d3e[0x38]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x533980,0xa,_0x332d3e[0x39]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0xf,_0x332d3e[0x3a]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x59fa4d,0x15,_0x332d3e[0x3b]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x6,_0x332d3e[0x3c]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x4d8021,0xa,_0x332d3e[0x3d]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0xf,_0x332d3e[0x3e]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x462dce,0x15,_0x332d3e[0x3f]),_0x5d9ab5[0x0]=_0x5d9ab5[0x0]+_0x4a7260|0x0,_0x5d9ab5[0x1]=_0x5d9ab5[0x1]+_0x44fa6c|0x0,_0x5d9ab5[0x2]=_0x5d9ab5[0x2]+_0x5aab7d|0x0,_0x5d9ab5[0x3]=_0x5d9ab5[0x3]+_0x579e17|0x0;},'_doFinalize':function(){const _0x2b150c=_0x449414;var _0x565a4f=this[_0x2b150c(0x23f)],_0x19f3f1=_0x565a4f[_0x2b150c(0x49f)],_0x3467c1=this['_nDataBytes']*0x8,_0x247033=_0x565a4f[_0x2b150c(0x512)]*0x8;_0x19f3f1[_0x247033>>>0x5]|=0x80<<0x18-_0x247033%0x20;var _0x3e414b=_0x11f7bc['floor'](_0x3467c1/0x100000000),_0xab343c=_0x3467c1;_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xf]=(_0x3e414b<<0x8|_0x3e414b>>>0x18)&0xff00ff|(_0x3e414b<<0x18|_0x3e414b>>>0x8)&0xff00ff00,_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xe]=(_0xab343c<<0x8|_0xab343c>>>0x18)&0xff00ff|(_0xab343c<<0x18|_0xab343c>>>0x8)&0xff00ff00,_0x565a4f[_0x2b150c(0x512)]=(_0x19f3f1[_0x2b150c(0x31e)]+0x1)*0x4,this[_0x2b150c(0x48c)]();for(var _0x6706c6=this[_0x2b150c(0x53b)],_0x38774a=_0x6706c6['words'],_0x109243=0x0;_0x109243<0x4;_0x109243++){var _0x421a79=_0x38774a[_0x109243];_0x38774a[_0x109243]=(_0x421a79<<0x8|_0x421a79>>>0x18)&0xff00ff|(_0x421a79<<0x18|_0x421a79>>>0x8)&0xff00ff00;}return _0x6706c6;},'clone':function(){const _0x271098=_0x449414;var _0x4b51ae=_0x10b4a8['clone'][_0x271098(0x3a6)](this);return _0x4b51ae[_0x271098(0x53b)]=this[_0x271098(0x53b)][_0x271098(0x2a0)](),_0x4b51ae;}});function _0x7c402a(_0x249984,_0x34fb45,_0x2bcc45,_0x4b66e5,_0x23b5ed,_0x4ccfd3,_0x23884d){var _0x1a0cff=_0x249984+(_0x34fb45&_0x2bcc45|~_0x34fb45&_0x4b66e5)+_0x23b5ed+_0x23884d;return(_0x1a0cff<<_0x4ccfd3|_0x1a0cff>>>0x20-_0x4ccfd3)+_0x34fb45;}function _0x2cee6f(_0x118b28,_0x5d4633,_0x4963d6,_0x36b21e,_0x2a3b63,_0x5b265b,_0x5ebbcb){var _0x2355db=_0x118b28+(_0x5d4633&_0x36b21e|_0x4963d6&~_0x36b21e)+_0x2a3b63+_0x5ebbcb;return(_0x2355db<<_0x5b265b|_0x2355db>>>0x20-_0x5b265b)+_0x5d4633;}function _0x220aa4(_0x2a9421,_0x405e84,_0x149396,_0xd799e3,_0x2602fb,_0x36c0ee,_0x3739fc){var _0xbc1337=_0x2a9421+(_0x405e84^_0x149396^_0xd799e3)+_0x2602fb+_0x3739fc;return(_0xbc1337<<_0x36c0ee|_0xbc1337>>>0x20-_0x36c0ee)+_0x405e84;}function _0x3c55a5(_0x29bdc2,_0x5e1191,_0x4dcd72,_0x3c0f97,_0x55a83b,_0x257828,_0x28c056){var _0x4b70cc=_0x29bdc2+(_0x4dcd72^(_0x5e1191|~_0x3c0f97))+_0x55a83b+_0x28c056;return(_0x4b70cc<<_0x257828|_0x4b70cc>>>0x20-_0x257828)+_0x5e1191;}_0x15082c['MD5']=_0x10b4a8[_0x449414(0x170)](_0x2963dc),_0x15082c[_0x449414(0x3a7)]=_0x10b4a8[_0x449414(0x38b)](_0x2963dc);}(Math),_0x22ef5e[_0x379710(0x37f)];}));}(_t)),_t[_0x19c9ee(0x2b9)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x3d5840,_0x5d6be2){(function(_0x504f34,_0x3fdbaa){const _0x3c0be7=_0x3a60;_0x3d5840[_0x3c0be7(0x2b9)]=_0x3fdbaa(oe());}(Z,function(_0x38da0a){const _0x2f5232=_0x3a60;return(function(){const _0x24d6a7=_0x3a60;var _0x25c7c2=_0x38da0a,_0xa2605=_0x25c7c2[_0x24d6a7(0x3d1)],_0x378b6a=_0xa2605[_0x24d6a7(0x2f5)],_0x5e2617=_0xa2605[_0x24d6a7(0x5bd)],_0x3eec52=_0x25c7c2[_0x24d6a7(0x560)],_0x4c591b=[],_0x10ff68=_0x3eec52[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x279)]({'_doReset':function(){const _0x42705d=_0x24d6a7;this['_hash']=new _0x378b6a[(_0x42705d(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3183aa,_0x23b25f){const _0x1f8097=_0x24d6a7;for(var _0x48f041=this[_0x1f8097(0x53b)]['words'],_0x10a292=_0x48f041[0x0],_0x36d49c=_0x48f041[0x1],_0x532fc0=_0x48f041[0x2],_0x405ca6=_0x48f041[0x3],_0x29d22f=_0x48f041[0x4],_0x26cbe8=0x0;_0x26cbe8<0x50;_0x26cbe8++){if(_0x26cbe8<0x10)_0x4c591b[_0x26cbe8]=_0x3183aa[_0x23b25f+_0x26cbe8]|0x0;else{var _0x22e8d5=_0x4c591b[_0x26cbe8-0x3]^_0x4c591b[_0x26cbe8-0x8]^_0x4c591b[_0x26cbe8-0xe]^_0x4c591b[_0x26cbe8-0x10];_0x4c591b[_0x26cbe8]=_0x22e8d5<<0x1|_0x22e8d5>>>0x1f;}var _0x5f5b05=(_0x10a292<<0x5|_0x10a292>>>0x1b)+_0x29d22f+_0x4c591b[_0x26cbe8];_0x26cbe8<0x14?_0x5f5b05+=(_0x36d49c&_0x532fc0|~_0x36d49c&_0x405ca6)+0x5a827999:_0x26cbe8<0x28?_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)+0x6ed9eba1:_0x26cbe8<0x3c?_0x5f5b05+=(_0x36d49c&_0x532fc0|_0x36d49c&_0x405ca6|_0x532fc0&_0x405ca6)-0x70e44324:_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)-0x359d3e2a,_0x29d22f=_0x405ca6,_0x405ca6=_0x532fc0,_0x532fc0=_0x36d49c<<0x1e|_0x36d49c>>>0x2,_0x36d49c=_0x10a292,_0x10a292=_0x5f5b05;}_0x48f041[0x0]=_0x48f041[0x0]+_0x10a292|0x0,_0x48f041[0x1]=_0x48f041[0x1]+_0x36d49c|0x0,_0x48f041[0x2]=_0x48f041[0x2]+_0x532fc0|0x0,_0x48f041[0x3]=_0x48f041[0x3]+_0x405ca6|0x0,_0x48f041[0x4]=_0x48f041[0x4]+_0x29d22f|0x0;},'_doFinalize':function(){const _0x653404=_0x24d6a7;var _0x1d4ee9=this['_data'],_0x27cc81=_0x1d4ee9[_0x653404(0x49f)],_0x42b0b0=this[_0x653404(0x1ea)]*0x8,_0x4f0c6a=_0x1d4ee9[_0x653404(0x512)]*0x8;return _0x27cc81[_0x4f0c6a>>>0x5]|=0x80<<0x18-_0x4f0c6a%0x20,_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xe]=Math[_0x653404(0x13f)](_0x42b0b0/0x100000000),_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xf]=_0x42b0b0,_0x1d4ee9[_0x653404(0x512)]=_0x27cc81[_0x653404(0x31e)]*0x4,this['_process'](),this[_0x653404(0x53b)];},'clone':function(){const _0x29b4ce=_0x24d6a7;var _0x2afe7c=_0x5e2617[_0x29b4ce(0x2a0)][_0x29b4ce(0x3a6)](this);return _0x2afe7c['_hash']=this[_0x29b4ce(0x53b)]['clone'](),_0x2afe7c;}});_0x25c7c2[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x170)](_0x10ff68),_0x25c7c2[_0x24d6a7(0x449)]=_0x5e2617['_createHmacHelper'](_0x10ff68);}()),_0x38da0a[_0x2f5232(0x4a0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){const _0x176ee5=_0x1cc768;return Xt||(Xt=0x1,function(_0x56621b,_0x45c09e){(function(_0x3e15d1,_0x4e8c90){const _0xd755b4=_0x3a60;_0x56621b[_0xd755b4(0x2b9)]=_0x4e8c90(oe());}(Z,function(_0x565255){(function(){const _0x2fcc08=_0x3a60;var _0x265b8e=_0x565255,_0x144b58=_0x265b8e[_0x2fcc08(0x3d1)],_0x4d3b17=_0x144b58['Base'],_0x1b10a7=_0x265b8e[_0x2fcc08(0x10f)],_0x173fac=_0x1b10a7['Utf8'],_0x208311=_0x265b8e[_0x2fcc08(0x560)];_0x208311[_0x2fcc08(0x28b)]=_0x4d3b17[_0x2fcc08(0x279)]({'init':function(_0x5d7a10,_0x3073a8){const _0x4dfbd0=_0x2fcc08;_0x5d7a10=this['_hasher']=new _0x5d7a10[(_0x4dfbd0(0x518))](),typeof _0x3073a8==_0x4dfbd0(0x103)&&(_0x3073a8=_0x173fac[_0x4dfbd0(0x472)](_0x3073a8));var _0x53750e=_0x5d7a10[_0x4dfbd0(0x1ce)],_0x38e448=_0x53750e*0x4;_0x3073a8[_0x4dfbd0(0x512)]>_0x38e448&&(_0x3073a8=_0x5d7a10[_0x4dfbd0(0x592)](_0x3073a8)),_0x3073a8[_0x4dfbd0(0x3d8)]();for(var _0x2819fa=this[_0x4dfbd0(0x3d9)]=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x2dde89=this['_iKey']=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x4613f7=_0x2819fa[_0x4dfbd0(0x49f)],_0x385fb6=_0x2dde89[_0x4dfbd0(0x49f)],_0x5cb968=0x0;_0x5cb968<_0x53750e;_0x5cb968++)_0x4613f7[_0x5cb968]^=0x5c5c5c5c,_0x385fb6[_0x5cb968]^=0x36363636;_0x2819fa[_0x4dfbd0(0x512)]=_0x2dde89[_0x4dfbd0(0x512)]=_0x38e448,this[_0x4dfbd0(0x383)]();},'reset':function(){const _0x382048=_0x2fcc08;var _0x200eca=this[_0x382048(0x27a)];_0x200eca[_0x382048(0x383)](),_0x200eca[_0x382048(0x2af)](this['_iKey']);},'update':function(_0x23c93b){const _0xda9855=_0x2fcc08;return this[_0xda9855(0x27a)]['update'](_0x23c93b),this;},'finalize':function(_0x40a8f7){const _0x4d4a12=_0x2fcc08;var _0x239fb7=this[_0x4d4a12(0x27a)],_0x2a08aa=_0x239fb7[_0x4d4a12(0x592)](_0x40a8f7);_0x239fb7['reset']();var _0x1b1927=_0x239fb7[_0x4d4a12(0x592)](this[_0x4d4a12(0x3d9)][_0x4d4a12(0x2a0)]()['concat'](_0x2a08aa));return _0x1b1927;}});}());}));}(ft)),ft[_0x176ee5(0x2b9)];}var Jt;function wi(){const _0x1e332b=_0x1cc768;return Jt||(Jt=0x1,function(_0x44ce33,_0x2dc543){(function(_0x99beab,_0x243078,_0x21d47f){const _0x2cc7c6=_0x3a60;_0x44ce33[_0x2cc7c6(0x2b9)]=_0x243078(oe(),vr(),Sr());}(Z,function(_0xe35b75){return(function(){const _0x16120a=_0x3a60;var _0x4b8b39=_0xe35b75,_0x5ae328=_0x4b8b39[_0x16120a(0x3d1)],_0x205db8=_0x5ae328['Base'],_0x4e196b=_0x5ae328[_0x16120a(0x2f5)],_0x243855=_0x4b8b39[_0x16120a(0x560)],_0x3136e3=_0x243855[_0x16120a(0x37f)],_0xea3c4c=_0x243855['EvpKDF']=_0x205db8[_0x16120a(0x279)]({'cfg':_0x205db8[_0x16120a(0x279)]({'keySize':0x80/0x20,'hasher':_0x3136e3,'iterations':0x1}),'init':function(_0x4693b6){const _0x31a136=_0x16120a;this[_0x31a136(0x57d)]=this[_0x31a136(0x57d)]['extend'](_0x4693b6);},'compute':function(_0x4ed451,_0x3ed6ff){const _0x117424=_0x16120a;for(var _0x33416c,_0x4f899d=this[_0x117424(0x57d)],_0x452fe9=_0x4f899d[_0x117424(0x428)]['create'](),_0x3b304a=_0x4e196b[_0x117424(0x337)](),_0x4b28c7=_0x3b304a[_0x117424(0x49f)],_0x3b8050=_0x4f899d[_0x117424(0x2a3)],_0x3a2131=_0x4f899d[_0x117424(0x13b)];_0x4b28c7['length']<_0x3b8050;){_0x33416c&&_0x452fe9[_0x117424(0x2af)](_0x33416c),_0x33416c=_0x452fe9[_0x117424(0x2af)](_0x4ed451)[_0x117424(0x592)](_0x3ed6ff),_0x452fe9[_0x117424(0x383)]();for(var _0x24f51b=0x1;_0x24f51b<_0x3a2131;_0x24f51b++)_0x33416c=_0x452fe9[_0x117424(0x592)](_0x33416c),_0x452fe9[_0x117424(0x383)]();_0x3b304a['concat'](_0x33416c);}return _0x3b304a[_0x117424(0x512)]=_0x3b8050*0x4,_0x3b304a;}});_0x4b8b39[_0x16120a(0x28c)]=function(_0x34bf1b,_0x51c24d,_0x3cbada){const _0x12ce20=_0x16120a;return _0xea3c4c[_0x12ce20(0x337)](_0x3cbada)[_0x12ce20(0x2c8)](_0x34bf1b,_0x51c24d);};}()),_0xe35b75['EvpKDF'];}));}(ut)),ut[_0x1e332b(0x2b9)];}var vt={'exports':{}},Zt;function Ui(){return Zt||(Zt=0x1,function(_0x20be0a,_0x530391){(function(_0x55cda7,_0x1fa4f3,_0x2f3a29){_0x20be0a['exports']=_0x1fa4f3(oe(),wi());}(Z,function(_0x4853ed){const _0x6ec71e=_0x3a60;_0x4853ed[_0x6ec71e(0x3d1)][_0x6ec71e(0x3a8)]||function(_0x16106){const _0x2014a2=_0x6ec71e;var _0x2f0371=_0x4853ed,_0x58e996=_0x2f0371['lib'],_0x1d16a7=_0x58e996[_0x2014a2(0x474)],_0x5677d4=_0x58e996[_0x2014a2(0x2f5)],_0x570148=_0x58e996['BufferedBlockAlgorithm'],_0x577829=_0x2f0371[_0x2014a2(0x10f)];_0x577829['Utf8'];var _0x1b2da3=_0x577829[_0x2014a2(0x444)],_0x39452f=_0x2f0371[_0x2014a2(0x560)],_0x1b2a33=_0x39452f[_0x2014a2(0x28c)],_0x3a495c=_0x58e996[_0x2014a2(0x3a8)]=_0x570148[_0x2014a2(0x279)]({'cfg':_0x1d16a7[_0x2014a2(0x279)](),'createEncryptor':function(_0x8476d9,_0x46a16e){const _0x111b66=_0x2014a2;return this[_0x111b66(0x337)](this['_ENC_XFORM_MODE'],_0x8476d9,_0x46a16e);},'createDecryptor':function(_0x1d9f85,_0x203df7){const _0x470a02=_0x2014a2;return this['create'](this[_0x470a02(0x27f)],_0x1d9f85,_0x203df7);},'init':function(_0x1439af,_0x425dd5,_0x33358f){const _0x5d88b7=_0x2014a2;this[_0x5d88b7(0x57d)]=this[_0x5d88b7(0x57d)][_0x5d88b7(0x279)](_0x33358f),this[_0x5d88b7(0x16f)]=_0x1439af,this['_key']=_0x425dd5,this[_0x5d88b7(0x383)]();},'reset':function(){const _0x33a2f6=_0x2014a2;_0x570148[_0x33a2f6(0x383)][_0x33a2f6(0x3a6)](this),this[_0x33a2f6(0x47c)]();},'process':function(_0x4492e9){const _0x590ee8=_0x2014a2;return this[_0x590ee8(0x458)](_0x4492e9),this[_0x590ee8(0x48c)]();},'finalize':function(_0x563b0b){const _0x3bd70d=_0x2014a2;_0x563b0b&&this[_0x3bd70d(0x458)](_0x563b0b);var _0xd890a6=this[_0x3bd70d(0x411)]();return _0xd890a6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x553de3(_0x111650){return typeof _0x111650=='string'?_0x4a0c60:_0x30aea8;}return function(_0x413099){return{'encrypt':function(_0x5a49ef,_0x20fc65,_0x5a4927){return _0x553de3(_0x20fc65)['encrypt'](_0x413099,_0x5a49ef,_0x20fc65,_0x5a4927);},'decrypt':function(_0x1b007d,_0x280a08,_0x7e6743){const _0x3fb173=_0x3a60;return _0x553de3(_0x280a08)[_0x3fb173(0x4d5)](_0x413099,_0x1b007d,_0x280a08,_0x7e6743);}};};}())});_0x58e996['StreamCipher']=_0x3a495c[_0x2014a2(0x279)]({'_doFinalize':function(){const _0x427eb3=_0x2014a2;var _0x1f412c=this[_0x427eb3(0x48c)](!0x0);return _0x1f412c;},'blockSize':0x1});var _0x4ed7a0=_0x2f0371[_0x2014a2(0x361)]={},_0x36fca6=_0x58e996['BlockCipherMode']=_0x1d16a7['extend']({'createEncryptor':function(_0x4ece70,_0x4c92ae){const _0x2b5fac=_0x2014a2;return this[_0x2b5fac(0x43b)]['create'](_0x4ece70,_0x4c92ae);},'createDecryptor':function(_0x159b18,_0x31bc39){const _0x225d76=_0x2014a2;return this[_0x225d76(0x2fb)][_0x225d76(0x337)](_0x159b18,_0x31bc39);},'init':function(_0x22b815,_0x1d4e40){const _0x55e121=_0x2014a2;this[_0x55e121(0x39a)]=_0x22b815,this[_0x55e121(0x546)]=_0x1d4e40;}}),_0x3cd79d=_0x4ed7a0['CBC']=(function(){const _0x539e67=_0x2014a2;var _0x35b57f=_0x36fca6[_0x539e67(0x279)]();_0x35b57f[_0x539e67(0x43b)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x269d0c,_0x4abe80){const _0x564bc5=_0x539e67;var _0x307f87=this['_cipher'],_0x23ac10=_0x307f87[_0x564bc5(0x1ce)];_0x7c61a1[_0x564bc5(0x3a6)](this,_0x269d0c,_0x4abe80,_0x23ac10),_0x307f87[_0x564bc5(0x204)](_0x269d0c,_0x4abe80),this[_0x564bc5(0x2d0)]=_0x269d0c[_0x564bc5(0x158)](_0x4abe80,_0x4abe80+_0x23ac10);}}),_0x35b57f[_0x539e67(0x2fb)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x3cbd82,_0x4d7125){const _0x4f2da0=_0x539e67;var _0x4106e2=this[_0x4f2da0(0x39a)],_0x334508=_0x4106e2[_0x4f2da0(0x1ce)],_0x47e60b=_0x3cbd82['slice'](_0x4d7125,_0x4d7125+_0x334508);_0x4106e2[_0x4f2da0(0x324)](_0x3cbd82,_0x4d7125),_0x7c61a1[_0x4f2da0(0x3a6)](this,_0x3cbd82,_0x4d7125,_0x334508),this[_0x4f2da0(0x2d0)]=_0x47e60b;}});function _0x7c61a1(_0x30dabc,_0xb09a6b,_0x58d1c3){const _0x19f7b7=_0x539e67;var _0x43f031,_0x33493b=this[_0x19f7b7(0x546)];_0x33493b?(_0x43f031=_0x33493b,this['_iv']=_0x16106):_0x43f031=this[_0x19f7b7(0x2d0)];for(var _0x2e265f=0x0;_0x2e265f<_0x58d1c3;_0x2e265f++)_0x30dabc[_0xb09a6b+_0x2e265f]^=_0x43f031[_0x2e265f];}return _0x35b57f;}()),_0x270615=_0x2f0371[_0x2014a2(0x3bc)]={},_0x422015=_0x270615[_0x2014a2(0x1d9)]={'pad':function(_0x517d76,_0x513954){const _0x5d2bda=_0x2014a2;for(var _0x6dfce6=_0x513954*0x4,_0xf3638a=_0x6dfce6-_0x517d76[_0x5d2bda(0x512)]%_0x6dfce6,_0x1f9326=_0xf3638a<<0x18|_0xf3638a<<0x10|_0xf3638a<<0x8|_0xf3638a,_0x273d9b=[],_0x2bbf53=0x0;_0x2bbf53<_0xf3638a;_0x2bbf53+=0x4)_0x273d9b[_0x5d2bda(0x102)](_0x1f9326);var _0xca81c=_0x5677d4[_0x5d2bda(0x337)](_0x273d9b,_0xf3638a);_0x517d76[_0x5d2bda(0x276)](_0xca81c);},'unpad':function(_0x706761){const _0x12b158=_0x2014a2;var _0x143873=_0x706761[_0x12b158(0x49f)][_0x706761[_0x12b158(0x512)]-0x1>>>0x2]&0xff;_0x706761['sigBytes']-=_0x143873;}};_0x58e996[_0x2014a2(0x2b0)]=_0x3a495c[_0x2014a2(0x279)]({'cfg':_0x3a495c[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'mode':_0x3cd79d,'padding':_0x422015}),'reset':function(){const _0x4bc45e=_0x2014a2;var _0x2a43c6;_0x3a495c['reset']['call'](this);var _0x3beb0f=this[_0x4bc45e(0x57d)],_0x23f82a=_0x3beb0f['iv'],_0x5616b7=_0x3beb0f['mode'];this['_xformMode']==this[_0x4bc45e(0x48b)]?_0x2a43c6=_0x5616b7[_0x4bc45e(0x10e)]:(_0x2a43c6=_0x5616b7['createDecryptor'],this[_0x4bc45e(0x110)]=0x1),this[_0x4bc45e(0x553)]&&this['_mode'][_0x4bc45e(0x11d)]==_0x2a43c6?this['_mode'][_0x4bc45e(0x518)](this,_0x23f82a&&_0x23f82a[_0x4bc45e(0x49f)]):(this['_mode']=_0x2a43c6[_0x4bc45e(0x3a6)](_0x5616b7,this,_0x23f82a&&_0x23f82a['words']),this['_mode'][_0x4bc45e(0x11d)]=_0x2a43c6);},'_doProcessBlock':function(_0x4c784a,_0x4a4d76){const _0x6a8b01=_0x2014a2;this[_0x6a8b01(0x553)][_0x6a8b01(0x178)](_0x4c784a,_0x4a4d76);},'_doFinalize':function(){const _0x1b38dc=_0x2014a2;var _0x2ba9a0,_0x347e31=this[_0x1b38dc(0x57d)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x347e31[_0x1b38dc(0x3bc)](this[_0x1b38dc(0x23f)],this['blockSize']),_0x2ba9a0=this['_process'](!0x0)):(_0x2ba9a0=this[_0x1b38dc(0x48c)](!0x0),_0x347e31[_0x1b38dc(0x4d1)](_0x2ba9a0)),_0x2ba9a0;},'blockSize':0x80/0x20});var _0x50dddc=_0x58e996[_0x2014a2(0x3f9)]=_0x1d16a7[_0x2014a2(0x279)]({'init':function(_0x4cedf5){const _0x3498aa=_0x2014a2;this[_0x3498aa(0x399)](_0x4cedf5);},'toString':function(_0x15294d){const _0x299520=_0x2014a2;return(_0x15294d||this['formatter'])[_0x299520(0x236)](this);}}),_0x70de26=_0x2f0371[_0x2014a2(0x363)]={},_0x41b5d7=_0x70de26['OpenSSL']={'stringify':function(_0x5dfc76){const _0x197211=_0x2014a2;var _0x1e5237,_0x4c520=_0x5dfc76[_0x197211(0x466)],_0x140350=_0x5dfc76[_0x197211(0x303)];return _0x140350?_0x1e5237=_0x5677d4[_0x197211(0x337)]([0x53616c74,0x65645f5f])[_0x197211(0x276)](_0x140350)[_0x197211(0x276)](_0x4c520):_0x1e5237=_0x4c520,_0x1e5237[_0x197211(0x3df)](_0x1b2da3);},'parse':function(_0x199001){const _0x33e225=_0x2014a2;var _0x447901,_0x4b6648=_0x1b2da3[_0x33e225(0x472)](_0x199001),_0x494615=_0x4b6648[_0x33e225(0x49f)];return _0x494615[0x0]==0x53616c74&&_0x494615[0x1]==0x65645f5f&&(_0x447901=_0x5677d4['create'](_0x494615[_0x33e225(0x158)](0x2,0x4)),_0x494615['splice'](0x0,0x4),_0x4b6648[_0x33e225(0x512)]-=0x10),_0x50dddc[_0x33e225(0x337)]({'ciphertext':_0x4b6648,'salt':_0x447901});}},_0x30aea8=_0x58e996[_0x2014a2(0x159)]=_0x1d16a7[_0x2014a2(0x279)]({'cfg':_0x1d16a7['extend']({'format':_0x41b5d7}),'encrypt':function(_0x3a2b24,_0x499c5b,_0x233622,_0x760576){const _0x255120=_0x2014a2;_0x760576=this['cfg'][_0x255120(0x279)](_0x760576);var _0x11acb7=_0x3a2b24[_0x255120(0x10e)](_0x233622,_0x760576),_0x27a6fb=_0x11acb7[_0x255120(0x592)](_0x499c5b),_0x4e24f1=_0x11acb7[_0x255120(0x57d)];return _0x50dddc[_0x255120(0x337)]({'ciphertext':_0x27a6fb,'key':_0x233622,'iv':_0x4e24f1['iv'],'algorithm':_0x3a2b24,'mode':_0x4e24f1[_0x255120(0x361)],'padding':_0x4e24f1[_0x255120(0x4bf)],'blockSize':_0x3a2b24[_0x255120(0x1ce)],'formatter':_0x760576['format']});},'decrypt':function(_0xc2bc50,_0x5635e4,_0x3f6d4d,_0x4b6ff9){const _0x21e296=_0x2014a2;_0x4b6ff9=this['cfg']['extend'](_0x4b6ff9),_0x5635e4=this[_0x21e296(0x350)](_0x5635e4,_0x4b6ff9[_0x21e296(0x363)]);var _0x376c72=_0xc2bc50[_0x21e296(0x116)](_0x3f6d4d,_0x4b6ff9)[_0x21e296(0x592)](_0x5635e4[_0x21e296(0x466)]);return _0x376c72;},'_parse':function(_0x5f0bd8,_0x4fd46f){const _0x4fa6a1=_0x2014a2;return typeof _0x5f0bd8==_0x4fa6a1(0x103)?_0x4fd46f[_0x4fa6a1(0x472)](_0x5f0bd8,this):_0x5f0bd8;}}),_0x336ca8=_0x2f0371[_0x2014a2(0x32d)]={},_0x4b0ce8=_0x336ca8[_0x2014a2(0x16c)]={'execute':function(_0x5af28f,_0x531b41,_0x1caea9,_0x156565,_0x562c2d){const _0xb56aee=_0x2014a2;if(_0x156565||(_0x156565=_0x5677d4[_0xb56aee(0x454)](0x40/0x8)),_0x562c2d)var _0x98793d=_0x1b2a33['create']({'keySize':_0x531b41+_0x1caea9,'hasher':_0x562c2d})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);else var _0x98793d=_0x1b2a33[_0xb56aee(0x337)]({'keySize':_0x531b41+_0x1caea9})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);var _0x6cfa21=_0x5677d4[_0xb56aee(0x337)](_0x98793d[_0xb56aee(0x49f)][_0xb56aee(0x158)](_0x531b41),_0x1caea9*0x4);return _0x98793d[_0xb56aee(0x512)]=_0x531b41*0x4,_0x50dddc[_0xb56aee(0x337)]({'key':_0x98793d,'iv':_0x6cfa21,'salt':_0x156565});}},_0x4a0c60=_0x58e996['PasswordBasedCipher']=_0x30aea8['extend']({'cfg':_0x30aea8[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'kdf':_0x4b0ce8}),'encrypt':function(_0x4ff7a9,_0x3c6eda,_0x4d6797,_0x24279e){const _0x5cbba9=_0x2014a2;_0x24279e=this[_0x5cbba9(0x57d)][_0x5cbba9(0x279)](_0x24279e);var _0x7b5f34=_0x24279e[_0x5cbba9(0x32d)][_0x5cbba9(0x34b)](_0x4d6797,_0x4ff7a9[_0x5cbba9(0x2a3)],_0x4ff7a9[_0x5cbba9(0x205)],_0x24279e[_0x5cbba9(0x303)],_0x24279e[_0x5cbba9(0x428)]);_0x24279e['iv']=_0x7b5f34['iv'];var _0xb5e3ff=_0x30aea8[_0x5cbba9(0x588)][_0x5cbba9(0x3a6)](this,_0x4ff7a9,_0x3c6eda,_0x7b5f34[_0x5cbba9(0x3ba)],_0x24279e);return _0xb5e3ff[_0x5cbba9(0x399)](_0x7b5f34),_0xb5e3ff;},'decrypt':function(_0x21a8e3,_0x3e849,_0x32564e,_0x631957){const _0x403e05=_0x2014a2;_0x631957=this['cfg'][_0x403e05(0x279)](_0x631957),_0x3e849=this[_0x403e05(0x350)](_0x3e849,_0x631957[_0x403e05(0x363)]);var _0x56a3ad=_0x631957[_0x403e05(0x32d)][_0x403e05(0x34b)](_0x32564e,_0x21a8e3[_0x403e05(0x2a3)],_0x21a8e3[_0x403e05(0x205)],_0x3e849[_0x403e05(0x303)],_0x631957['hasher']);_0x631957['iv']=_0x56a3ad['iv'];var _0x291984=_0x30aea8['decrypt']['call'](this,_0x21a8e3,_0x3e849,_0x56a3ad[_0x403e05(0x3ba)],_0x631957);return _0x291984;}});}();}));}(vt)),vt['exports'];}(function(_0x56edcf,_0x1124f9){(function(_0x4cccb1,_0x32fcfe,_0x2afb2b){_0x56edcf['exports']=_0x32fcfe(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x1cdd71){const _0x56fbac=_0x3a60;return(function(){const _0x377c1f=_0x3a60;var _0x49f35f=_0x1cdd71,_0x58c594=_0x49f35f[_0x377c1f(0x3d1)],_0x41e90d=_0x58c594[_0x377c1f(0x2b0)],_0x4952f8=_0x49f35f[_0x377c1f(0x560)],_0x145fd5=[],_0x4d7e90=[],_0x466535=[],_0xe3f5e4=[],_0xf7ec76=[],_0x5d8f74=[],_0x1d61f7=[],_0x5bee5e=[],_0x4ad22e=[],_0x385957=[];(function(){for(var _0x270e73=[],_0x4de552=0x0;_0x4de552<0x100;_0x4de552++)_0x4de552<0x80?_0x270e73[_0x4de552]=_0x4de552<<0x1:_0x270e73[_0x4de552]=_0x4de552<<0x1^0x11b;for(var _0x1746fb=0x0,_0x4f18ad=0x0,_0x4de552=0x0;_0x4de552<0x100;_0x4de552++){var _0x2401bb=_0x4f18ad^_0x4f18ad<<0x1^_0x4f18ad<<0x2^_0x4f18ad<<0x3^_0x4f18ad<<0x4;_0x2401bb=_0x2401bb>>>0x8^_0x2401bb&0xff^0x63,_0x145fd5[_0x1746fb]=_0x2401bb,_0x4d7e90[_0x2401bb]=_0x1746fb;var _0x2f24b5=_0x270e73[_0x1746fb],_0x32ebf3=_0x270e73[_0x2f24b5],_0x5e3836=_0x270e73[_0x32ebf3],_0x3e91f3=_0x270e73[_0x2401bb]*0x101^_0x2401bb*0x1010100;_0x466535[_0x1746fb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0xe3f5e4[_0x1746fb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0xf7ec76[_0x1746fb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x5d8f74[_0x1746fb]=_0x3e91f3;var _0x3e91f3=_0x5e3836*0x1010101^_0x32ebf3*0x10001^_0x2f24b5*0x101^_0x1746fb*0x1010100;_0x1d61f7[_0x2401bb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0x5bee5e[_0x2401bb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0x4ad22e[_0x2401bb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x385957[_0x2401bb]=_0x3e91f3,_0x1746fb?(_0x1746fb=_0x2f24b5^_0x270e73[_0x270e73[_0x270e73[_0x5e3836^_0x2f24b5]]],_0x4f18ad^=_0x270e73[_0x270e73[_0x4f18ad]]):_0x1746fb=_0x4f18ad=0x1;}}());var _0x48e1de=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a4f50=_0x4952f8[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x279)]({'_doReset':function(){const _0x56edd9=_0x377c1f;var _0x35e4c0;if(!(this[_0x56edd9(0x211)]&&this[_0x56edd9(0x471)]===this[_0x56edd9(0x3e6)])){for(var _0xe44d92=this[_0x56edd9(0x471)]=this[_0x56edd9(0x3e6)],_0x46270d=_0xe44d92[_0x56edd9(0x49f)],_0x1265e0=_0xe44d92[_0x56edd9(0x512)]/0x4,_0x585f6a=this[_0x56edd9(0x211)]=_0x1265e0+0x6,_0x4af175=(_0x585f6a+0x1)*0x4,_0x524bd2=this[_0x56edd9(0x26a)]=[],_0x5cf807=0x0;_0x5cf807<_0x4af175;_0x5cf807++)_0x5cf807<_0x1265e0?_0x524bd2[_0x5cf807]=_0x46270d[_0x5cf807]:(_0x35e4c0=_0x524bd2[_0x5cf807-0x1],_0x5cf807%_0x1265e0?_0x1265e0>0x6&&_0x5cf807%_0x1265e0==0x4&&(_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff]):(_0x35e4c0=_0x35e4c0<<0x8|_0x35e4c0>>>0x18,_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff],_0x35e4c0^=_0x48e1de[_0x5cf807/_0x1265e0|0x0]<<0x18),_0x524bd2[_0x5cf807]=_0x524bd2[_0x5cf807-_0x1265e0]^_0x35e4c0);for(var _0x9b0535=this[_0x56edd9(0x4d3)]=[],_0x4a4022=0x0;_0x4a4022<_0x4af175;_0x4a4022++){var _0x5cf807=_0x4af175-_0x4a4022;if(_0x4a4022%0x4)var _0x35e4c0=_0x524bd2[_0x5cf807];else var _0x35e4c0=_0x524bd2[_0x5cf807-0x4];_0x4a4022<0x4||_0x5cf807<=0x4?_0x9b0535[_0x4a4022]=_0x35e4c0:_0x9b0535[_0x4a4022]=_0x1d61f7[_0x145fd5[_0x35e4c0>>>0x18]]^_0x5bee5e[_0x145fd5[_0x35e4c0>>>0x10&0xff]]^_0x4ad22e[_0x145fd5[_0x35e4c0>>>0x8&0xff]]^_0x385957[_0x145fd5[_0x35e4c0&0xff]];}}},'encryptBlock':function(_0x1d0f6a,_0x479bdf){const _0x13b976=_0x377c1f;this[_0x13b976(0x2a9)](_0x1d0f6a,_0x479bdf,this[_0x13b976(0x26a)],_0x466535,_0xe3f5e4,_0xf7ec76,_0x5d8f74,_0x145fd5);},'decryptBlock':function(_0x1fdef7,_0x42f580){const _0x5412d3=_0x377c1f;var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0,this[_0x5412d3(0x2a9)](_0x1fdef7,_0x42f580,this[_0x5412d3(0x4d3)],_0x1d61f7,_0x5bee5e,_0x4ad22e,_0x385957,_0x4d7e90);var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0;},'_doCryptBlock':function(_0x43dac1,_0x14bbbb,_0x1b3c3e,_0xdbe6bd,_0x531e50,_0x4a4b89,_0x5b9ca1,_0xff2d90){const _0x596ade=_0x377c1f;for(var _0x13d973=this[_0x596ade(0x211)],_0x30696e=_0x43dac1[_0x14bbbb]^_0x1b3c3e[0x0],_0x47e90b=_0x43dac1[_0x14bbbb+0x1]^_0x1b3c3e[0x1],_0x4e77dc=_0x43dac1[_0x14bbbb+0x2]^_0x1b3c3e[0x2],_0x2bbf62=_0x43dac1[_0x14bbbb+0x3]^_0x1b3c3e[0x3],_0x138ea7=0x4,_0x4eeed1=0x1;_0x4eeed1<_0x13d973;_0x4eeed1++){var _0x16d6b9=_0xdbe6bd[_0x30696e>>>0x18]^_0x531e50[_0x47e90b>>>0x10&0xff]^_0x4a4b89[_0x4e77dc>>>0x8&0xff]^_0x5b9ca1[_0x2bbf62&0xff]^_0x1b3c3e[_0x138ea7++],_0x98db34=_0xdbe6bd[_0x47e90b>>>0x18]^_0x531e50[_0x4e77dc>>>0x10&0xff]^_0x4a4b89[_0x2bbf62>>>0x8&0xff]^_0x5b9ca1[_0x30696e&0xff]^_0x1b3c3e[_0x138ea7++],_0x2575ee=_0xdbe6bd[_0x4e77dc>>>0x18]^_0x531e50[_0x2bbf62>>>0x10&0xff]^_0x4a4b89[_0x30696e>>>0x8&0xff]^_0x5b9ca1[_0x47e90b&0xff]^_0x1b3c3e[_0x138ea7++],_0x20bd61=_0xdbe6bd[_0x2bbf62>>>0x18]^_0x531e50[_0x30696e>>>0x10&0xff]^_0x4a4b89[_0x47e90b>>>0x8&0xff]^_0x5b9ca1[_0x4e77dc&0xff]^_0x1b3c3e[_0x138ea7++];_0x30696e=_0x16d6b9,_0x47e90b=_0x98db34,_0x4e77dc=_0x2575ee,_0x2bbf62=_0x20bd61;}var _0x16d6b9=(_0xff2d90[_0x30696e>>>0x18]<<0x18|_0xff2d90[_0x47e90b>>>0x10&0xff]<<0x10|_0xff2d90[_0x4e77dc>>>0x8&0xff]<<0x8|_0xff2d90[_0x2bbf62&0xff])^_0x1b3c3e[_0x138ea7++],_0x98db34=(_0xff2d90[_0x47e90b>>>0x18]<<0x18|_0xff2d90[_0x4e77dc>>>0x10&0xff]<<0x10|_0xff2d90[_0x2bbf62>>>0x8&0xff]<<0x8|_0xff2d90[_0x30696e&0xff])^_0x1b3c3e[_0x138ea7++],_0x2575ee=(_0xff2d90[_0x4e77dc>>>0x18]<<0x18|_0xff2d90[_0x2bbf62>>>0x10&0xff]<<0x10|_0xff2d90[_0x30696e>>>0x8&0xff]<<0x8|_0xff2d90[_0x47e90b&0xff])^_0x1b3c3e[_0x138ea7++],_0x20bd61=(_0xff2d90[_0x2bbf62>>>0x18]<<0x18|_0xff2d90[_0x30696e>>>0x10&0xff]<<0x10|_0xff2d90[_0x47e90b>>>0x8&0xff]<<0x8|_0xff2d90[_0x4e77dc&0xff])^_0x1b3c3e[_0x138ea7++];_0x43dac1[_0x14bbbb]=_0x16d6b9,_0x43dac1[_0x14bbbb+0x1]=_0x98db34,_0x43dac1[_0x14bbbb+0x2]=_0x2575ee,_0x43dac1[_0x14bbbb+0x3]=_0x20bd61;},'keySize':0x100/0x20});_0x49f35f[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x170)](_0x2a4f50);}()),_0x1cdd71[_0x56fbac(0x14e)];}));}(Di));var pr=Di[_0x1cc768(0x2b9)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x44084c,_0x18e092){(function(_0x1d067a,_0x44a5dc){const _0x380ed3=_0x3a60;_0x44084c[_0x380ed3(0x2b9)]=_0x44a5dc(oe());}(Z,function(_0x41b65a){const _0x12c294=_0x3a60;return _0x41b65a[_0x12c294(0x10f)][_0x12c294(0x31d)];}));}(Mi));var Ir=Mi[_0x1cc768(0x2b9)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x5edcd9,_0x269961){(function(_0x27ef59,_0x221b1b){const _0x10790a=_0x3a60;_0x5edcd9[_0x10790a(0x2b9)]=_0x221b1b(oe());}(Z,function(_0x270aad){const _0xe86a9b=_0x3a60;return(function(){const _0x2e9be2=_0x3a60;if(typeof ArrayBuffer==_0x2e9be2(0x5c6)){var _0x47e7a8=_0x270aad,_0x25d790=_0x47e7a8[_0x2e9be2(0x3d1)],_0x4f7c05=_0x25d790[_0x2e9be2(0x2f5)],_0x1e2689=_0x4f7c05[_0x2e9be2(0x518)],_0x532b93=_0x4f7c05[_0x2e9be2(0x518)]=function(_0x23d75b){const _0x38c343=_0x2e9be2;if(_0x23d75b instanceof ArrayBuffer&&(_0x23d75b=new Uint8Array(_0x23d75b)),(_0x23d75b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23d75b instanceof Uint8ClampedArray||_0x23d75b instanceof Int16Array||_0x23d75b instanceof Uint16Array||_0x23d75b instanceof Int32Array||_0x23d75b instanceof Uint32Array||_0x23d75b instanceof Float32Array||_0x23d75b instanceof Float64Array)&&(_0x23d75b=new Uint8Array(_0x23d75b[_0x38c343(0x563)],_0x23d75b[_0x38c343(0x402)],_0x23d75b[_0x38c343(0x4c9)])),_0x23d75b instanceof Uint8Array){for(var _0x786d1f=_0x23d75b[_0x38c343(0x4c9)],_0x3b9c8a=[],_0x305448=0x0;_0x305448<_0x786d1f;_0x305448++)_0x3b9c8a[_0x305448>>>0x2]|=_0x23d75b[_0x305448]<<0x18-_0x305448%0x4*0x8;_0x1e2689['call'](this,_0x3b9c8a,_0x786d1f);}else _0x1e2689[_0x38c343(0x119)](this,arguments);};_0x532b93[_0x2e9be2(0x396)]=_0x4f7c05;}}()),_0x270aad[_0xe86a9b(0x3d1)][_0xe86a9b(0x2f5)];}));}(Ai));var Er=Ai[_0x1cc768(0x2b9)];const br=xe(Er);var Ni={'exports':{}};(function(_0x253646,_0x541f11){(function(_0x3a02e9,_0x5f4cf2,_0x2a04bd){const _0x4e3ce9=_0x3a60;_0x253646[_0x4e3ce9(0x2b9)]=_0x5f4cf2(oe(),Ui());}(Z,function(_0x3b49db){const _0x143bcb=_0x3a60;return _0x3b49db['pad'][_0x143bcb(0x190)]={'pad':function(){},'unpad':function(){}},_0x3b49db[_0x143bcb(0x3bc)][_0x143bcb(0x190)];}));}(Ni));var Tr=Ni['exports'];const Rr=xe(Tr);function yr(_0x53f593,_0xc1a3a8){const _0x2930e8=_0x1cc768,_0x1586ed=_0xc1a3a8-_0x53f593[_0x2930e8(0x31e)]%_0xc1a3a8,_0x34ae15=String['fromCharCode'](_0x1586ed)['repeat'](_0x1586ed);return _0x53f593+_0x34ae15;}function Or(_0x11ad18,_0x4b6b9c){const _0x56c8e5=_0x1cc768,_0x21253c=br['random'](0x10),_0x20510f=yr(_0x11ad18,0x10),_0x5aeb80=mr[_0x56c8e5(0x588)](Cr[_0x56c8e5(0x472)](_0x20510f),Qt['parse'](_0x4b6b9c),{'iv':_0x21253c,'padding':Rr});return _0x21253c[_0x56c8e5(0x276)](_0x5aeb80[_0x56c8e5(0x466)])[_0x56c8e5(0x3df)](Qt);}function Dr(){const _0x2edcdd=_0x1cc768,_0x358b76=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2edcdd(0x2b3)];if(_0x358b76){const _0x3b0ff3={'time':Math[_0x2edcdd(0x13f)](Date['now']()/0x3e8),'domain':location[_0x2edcdd(0x4bb)]};return Or(JSON[_0x2edcdd(0x236)](_0x3b0ff3),_0x358b76);}}var Pr=Object[_0x1cc768(0x244)],wr=Object[_0x1cc768(0x263)],Ur=(_0x2c1d8c,_0x245715,_0x51e3d8,_0x544d22)=>{const _0xac8388=_0x1cc768;for(var _0x2d0c18=_0x544d22>0x1?void 0x0:_0x544d22?wr(_0x245715,_0x51e3d8):_0x245715,_0x3020c6=_0x2c1d8c[_0xac8388(0x31e)]-0x1,_0xe90b9c;_0x3020c6>=0x0;_0x3020c6--)(_0xe90b9c=_0x2c1d8c[_0x3020c6])&&(_0x2d0c18=(_0x544d22?_0xe90b9c(_0x245715,_0x51e3d8,_0x2d0c18):_0xe90b9c(_0x2d0c18))||_0x2d0c18);return _0x544d22&&_0x2d0c18&&Pr(_0x245715,_0x51e3d8,_0x2d0c18),_0x2d0c18;},Mr=(_0x312c93,_0x10d228)=>(_0x40802d,_0x4f9229)=>_0x10d228(_0x40802d,_0x4f9229,_0x312c93);let Ke=class{constructor(_0x282224){const _0x5a7f1b=_0x1cc768;this[_0x5a7f1b(0x2d5)]=_0x282224,this[_0x5a7f1b(0x42b)]();}[_0x1cc768(0x42b)](){const _0x4a0f01=_0x1cc768;this[_0x4a0f01(0x2d5)][_0x4a0f01(0x53d)]({'interceptor':(_0x4d0e49,_0x4aece0)=>{const _0x56b16f=_0x4a0f01,_0x242776=_0x4d0e49[_0x56b16f(0x351)],_0x2eab8a=Dr();return _0x2eab8a&&_0x242776[_0x56b16f(0x31f)](_0x56b16f(0x4e4),_0x2eab8a),_0x4aece0(_0x4d0e49);}});}};Ke=Ur([Mr(0x0,a[_0x1cc768(0x2ca)](z['HTTPService']))],Ke);var Ar=Object[_0x1cc768(0x244)],Nr=Object[_0x1cc768(0x263)],Lr=(_0x39b2e0,_0x2fd6ca,_0x6dc695,_0x6a57c7)=>{const _0x3b50e5=_0x1cc768;for(var _0x3e5ee6=_0x6a57c7>0x1?void 0x0:_0x6a57c7?Nr(_0x2fd6ca,_0x6dc695):_0x2fd6ca,_0x463f70=_0x39b2e0[_0x3b50e5(0x31e)]-0x1,_0x2d061d;_0x463f70>=0x0;_0x463f70--)(_0x2d061d=_0x39b2e0[_0x463f70])&&(_0x3e5ee6=(_0x6a57c7?_0x2d061d(_0x2fd6ca,_0x6dc695,_0x3e5ee6):_0x2d061d(_0x3e5ee6))||_0x3e5ee6);return _0x6a57c7&&_0x3e5ee6&&Ar(_0x2fd6ca,_0x6dc695,_0x3e5ee6),_0x3e5ee6;},St=(_0x4ec93a,_0x2a05a8)=>(_0x3a203d,_0x1cd987)=>_0x2a05a8(_0x3a203d,_0x1cd987,_0x4ec93a);const xr=[_0x1cc768(0x1ee),'image/jpeg',_0x1cc768(0x511),_0x1cc768(0x15a),_0x1cc768(0x490)],jr=0x5*0x400*0x400,$r='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Hr=_0x1cc768(0x192),Br=_0x1cc768(0x419),kr=_0x1cc768(0x3ae);exports[_0x1cc768(0x2d4)]=class{constructor(_0x348b29,_0x50c3fb,_0x4b5788){const _0x392ccf=_0x1cc768;I(this,_0x392ccf(0x513),0x0),I(this,'_change$',new A[(_0x392ccf(0x3f0))]()),I(this,_0x392ccf(0x5d1),this[_0x392ccf(0x56e)]),I(this,_0x392ccf(0x514),new Map()),(this['_httpService']=_0x348b29,this[_0x392ccf(0x2c0)]=_0x50c3fb,this[_0x392ccf(0x114)]=_0x4b5788);}[_0x1cc768(0x1c2)](_0x1821ea){const _0xa835b6=_0x1cc768;this[_0xa835b6(0x513)]=_0x1821ea,this[_0xa835b6(0x56e)][_0xa835b6(0x122)](_0x1821ea);}[_0x1cc768(0x29a)](_0x547dfd,_0x3244b1){const _0x7350c6=_0x1cc768;if(_0x3244b1===ie[_0x7350c6(0x21d)][_0x7350c6(0x344)]){const _0x45ca85=new Image();return _0x45ca85['src']=_0x547dfd,_0x45ca85;}return this[_0x7350c6(0x514)][_0x7350c6(0x4f7)](_0x547dfd);}[_0x1cc768(0x30c)](_0x6ade91,_0x1342b6,_0x319d84){const _0x3fc871=_0x1cc768;_0x1342b6===ie[_0x3fc871(0x21d)][_0x3fc871(0x344)]||_0x319d84==null||this['_imageSourceCache']['set'](_0x6ade91,_0x319d84);}async[_0x1cc768(0x167)](_0x54dffd){const _0xbccf62=_0x1cc768;try{const _0x4a6589=this[_0xbccf62(0x469)](this['_getSignURL'](),''+_0x54dffd),_0x661a57=(await this['_httpService'][_0xbccf62(0x4f7)](_0x4a6589))['body'];if(_0x661a57[_0xbccf62(0x1c4)]&&_0x661a57[_0xbccf62(0x1c4)][_0xbccf62(0x26d)]===_i['OK']){const _0x1060b4=new URL(_0x661a57[_0xbccf62(0x539)],this['_getDownloadEndpointURL']())[_0xbccf62(0x3df)]();return Promise['resolve'](_0x1060b4);}return Promise[_0xbccf62(0x13e)](_0x661a57[_0xbccf62(0x1c4)]);}catch(_0x2783d8){return Promise['reject'](_0x2783d8);}}async[_0x1cc768(0x3af)](_0x2a52e9){const _0x5075d9=_0x1cc768;let _0x3b17fd='';if(!xr[_0x5075d9(0x477)](_0x2a52e9['type']))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x1e9)]));if(_0x2a52e9[_0x5075d9(0x4df)]>jr)return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x359)]));try{const _0x52e668=new FormData();_0x52e668[_0x5075d9(0x35b)](_0x5075d9(0x4b8),_0x2a52e9);const _0x177139=this[_0x5075d9(0x114)]['getFocusedUnit'](),_0x46d3fc=_0x177139==null?void 0x0:_0x177139['getUnitId']();if(!_0x46d3fc)throw new Error(_0x5075d9(0x55c));const _0x410fcd=this['_getUploadFileURL']()+'?size='+_0x2a52e9['size'][_0x5075d9(0x3df)]()+'&source='+ui[_0x5075d9(0x3ca)]+_0x5075d9(0x2b8)+encodeURIComponent(_0x46d3fc),_0x2c27ca=await(await fetch(_0x410fcd,{'method':_0x5075d9(0x1ab),'body':_0x52e668}))['json']();if(typeof _0x2c27ca['FileId']!=_0x5075d9(0x103))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));_0x3b17fd=_0x2c27ca['FileId'];}catch{return this[_0x5075d9(0x50e)](),Promise['reject'](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));}return new Promise((_0x1ab911,_0x1bee91)=>{const _0x5eefe8=_0x5075d9,_0x8bfff5=new FileReader();_0x8bfff5[_0x5eefe8(0x36d)](_0x2a52e9),_0x8bfff5[_0x5eefe8(0x289)]=_0x5c5485=>{const _0x457c28=_0x5eefe8;var _0x2ff427;const _0x2c922a=(_0x2ff427=_0x5c5485[_0x457c28(0x220)])==null?void 0x0:_0x2ff427['result'];if(_0x2c922a==null){this[_0x457c28(0x50e)](),_0x1bee91(new Error(ie[_0x457c28(0x123)][_0x457c28(0x18a)]));return;}const _0x31612f=a[_0x457c28(0x369)][_0x457c28(0x390)](0x6);_0x1ab911({'imageId':_0x31612f,'imageSourceType':ie[_0x457c28(0x21d)]['UUID'],'source':_0x3b17fd,'base64Cache':_0x2c922a,'status':ie[_0x457c28(0x123)][_0x457c28(0x4bc)]}),this[_0x457c28(0x50e)]();};});}[_0x1cc768(0x1cd)](){const _0x31a101=_0x1cc768;var _0x304937,_0x1f33db;const _0x5ced4c=this[_0x31a101(0x2c0)][_0x31a101(0x555)]($r),_0x11ed41=this[_0x31a101(0x2c0)][_0x31a101(0x555)](Q);return(_0x1f33db=(_0x304937=_0x11ed41==null?void 0x0:_0x11ed41['uploadFileServerUrl'])!=null?_0x304937:_0x5ced4c)!=null?_0x1f33db:Hr;}['_getSignURL'](){const _0x1b0eff=_0x1cc768;var _0x58fcca,_0x3d2d85;const _0x4f08e5=this['_configService'][_0x1b0eff(0x555)](Br),_0x443534=this[_0x1b0eff(0x2c0)][_0x1b0eff(0x555)](Q);return(_0x3d2d85=(_0x58fcca=_0x443534==null?void 0x0:_0x443534[_0x1b0eff(0x57f)])!=null?_0x58fcca:_0x4f08e5)!=null?_0x3d2d85:kr;}['_getDownloadEndpointURL'](){const _0x3955e5=_0x1cc768;var _0x144b91;const _0x2ac354=this['_configService'][_0x3955e5(0x555)](Q);return(_0x144b91=_0x2ac354==null?void 0x0:_0x2ac354[_0x3955e5(0x5bf)])!=null?_0x144b91:location[_0x3955e5(0x509)];}[_0x1cc768(0x469)](_0x1e46c8,_0x148a23){const _0x539370=_0x1cc768;return _0x1e46c8['replace'](_0x539370(0x148),_0x148a23);}[_0x1cc768(0x50e)](){const _0xb21cb1=_0x1cc768;this[_0xb21cb1(0x513)]-=0x1,this[_0xb21cb1(0x56e)][_0xb21cb1(0x122)](this[_0xb21cb1(0x513)]);}},exports[_0x1cc768(0x2d4)]=Lr([St(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),St(0x1,a[_0x1cc768(0x56f)]),St(0x2,a['Inject'](a[_0x1cc768(0x3bd)]))],exports['ImageIoService']);var Wr=Object[_0x1cc768(0x244)],Fr=Object[_0x1cc768(0x263)],Vr=(_0x22c75e,_0x52638c,_0x5108f3,_0x4ecdc7)=>{const _0x1db6fb=_0x1cc768;for(var _0x10242b=_0x4ecdc7>0x1?void 0x0:_0x4ecdc7?Fr(_0x52638c,_0x5108f3):_0x52638c,_0x2ad830=_0x22c75e[_0x1db6fb(0x31e)]-0x1,_0x31dda4;_0x2ad830>=0x0;_0x2ad830--)(_0x31dda4=_0x22c75e[_0x2ad830])&&(_0x10242b=(_0x4ecdc7?_0x31dda4(_0x52638c,_0x5108f3,_0x10242b):_0x31dda4(_0x10242b))||_0x10242b);return _0x4ecdc7&&_0x10242b&&Wr(_0x52638c,_0x5108f3,_0x10242b),_0x10242b;},ei=(_0x1caf5a,_0x4a6142)=>(_0x3ca74e,_0x3c9e18)=>_0x4a6142(_0x3ca74e,_0x3c9e18,_0x1caf5a);const Gr=_0x1cc768(0x58a);exports[_0x1cc768(0x41e)]=class{constructor(_0x1126c0,_0x511b54){const _0x28e8c5=_0x1cc768;this['_configService']=_0x1126c0,this[_0x28e8c5(0x313)]=_0x511b54;}['_getAPIPrefixPath'](){const _0x298a25=_0x1cc768;var _0x2c102b,_0x527271;const _0x1ade7b=this[_0x298a25(0x2c0)][_0x298a25(0x555)](Ut),_0x36c370=this[_0x298a25(0x2c0)]['getConfig'](Q);return(_0x527271=(_0x2c102b=_0x36c370==null?void 0x0:_0x36c370[_0x298a25(0x1d0)])!=null?_0x2c102b:_0x1ade7b)!=null?_0x527271:Gr;}async[_0x1cc768(0x4d8)](_0x59e1f8){const _0x389eed=_0x1cc768,_0x544432=this[_0x389eed(0x1b8)]()+_0x389eed(0x368);return{'list':[{'title':_0x389eed(0x413),'mentions':(await this[_0x389eed(0x313)][_0x389eed(0x4f7)](_0x544432,{'params':{'objectID':_0x59e1f8[_0x389eed(0x2f1)],'unitID':_0x59e1f8['unitId']}}))[_0x389eed(0x46d)][_0x389eed(0x2d7)][_0x389eed(0x130)](_0x4183c5=>({'objectId':_0x4183c5['id'],'name':_0x4183c5[_0x389eed(0x52b)][_0x389eed(0x27c)],'metadata':{'icon':_0x4183c5['subject']['avatar']},'label':_0x4183c5[_0x389eed(0x52b)]['name'],'objectType':a[_0x389eed(0x2b4)][_0x389eed(0x5cb)]})),'metadata':{},'type':a['MentionType'][_0x389eed(0x5cb)]}]};}},exports[_0x1cc768(0x41e)]=Vr([ei(0x0,a['Inject'](a[_0x1cc768(0x56f)])),ei(0x1,a['Inject'](z[_0x1cc768(0x1db)]))],exports['MentionIoHttpService']);var Yr=Object['defineProperty'],Kr=Object[_0x1cc768(0x263)],qr=(_0x5a1bd9,_0x17bec7,_0x523972,_0x3d4b44)=>{const _0x50e374=_0x1cc768;for(var _0xbde4be=_0x3d4b44>0x1?void 0x0:_0x3d4b44?Kr(_0x17bec7,_0x523972):_0x17bec7,_0x5c09c0=_0x5a1bd9[_0x50e374(0x31e)]-0x1,_0x158750;_0x5c09c0>=0x0;_0x5c09c0--)(_0x158750=_0x5a1bd9[_0x5c09c0])&&(_0xbde4be=(_0x3d4b44?_0x158750(_0x17bec7,_0x523972,_0xbde4be):_0x158750(_0xbde4be))||_0xbde4be);return _0x3d4b44&&_0xbde4be&&Yr(_0x17bec7,_0x523972,_0xbde4be),_0xbde4be;},Ae=(_0x17e771,_0x168521)=>(_0x31ad84,_0x551050)=>_0x168521(_0x31ad84,_0x551050,_0x17e771);let qe=class extends a['RxDisposable']{constructor(_0x5238ab,_0xf45693,_0x132599,_0x1a5038,_0x17e607){const _0x15f48b=_0x1cc768;super(),this[_0x15f48b(0x310)]=_0x5238ab,this[_0x15f48b(0x114)]=_0xf45693,this[_0x15f48b(0x208)]=_0x132599,this[_0x15f48b(0x538)]=_0x1a5038,this[_0x15f48b(0x133)]=_0x17e607,this['_initUnitPermissionChange'](),this[_0x15f48b(0x294)]();}['_initCloseConn'](){const _0x55c8ff=_0x1cc768,_0x19a987=async _0xe410f6=>{const _0x2c90e8=_0x3a60;(await this[_0x2c90e8(0x538)][_0x2c90e8(0x186)](_0xe410f6))['event$'][_0x2c90e8(0x154)](V[_0x2c90e8(0x464)](_0x11e0c9=>_0x11e0c9[_0x2c90e8(0x1c1)]===p[_0x2c90e8(0x59c)][_0x2c90e8(0x3a3)]),V[_0x2c90e8(0x4cf)](this[_0x2c90e8(0x36e)]))[_0x2c90e8(0x556)](_0x3c830f=>{const _0x515771=_0x2c90e8,_0x58e1f4=_0x3c830f,{reason:_0x49abef}=_0x58e1f4[_0x515771(0x48a)];this[_0x515771(0x310)][_0x515771(0x4f7)](te[_0x515771(0x1e5)])[_0x515771(0x242)]({'type':Ce[_0x515771(0x14d)][_0x515771(0x4ef)],'content':this[_0x515771(0x133)]['t'](_0x515771(0x3e2))+'('+_0x49abef+')'}),this[_0x515771(0x208)][_0x515771(0x517)](new k[(_0x515771(0x1d2))](_0xe410f6)['id'],!0x1),this[_0x515771(0x538)][_0x515771(0x44a)](_0xe410f6);});};A[_0x55c8ff(0x57c)](this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)]['UNIVER_SHEET']),this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)][_0x55c8ff(0x408)]))[_0x55c8ff(0x154)](V[_0x55c8ff(0x130)](_0x2458b0=>_0x2458b0[_0x55c8ff(0x1f0)]()),V[_0x55c8ff(0x464)](_0x4026c8=>!a[_0x55c8ff(0x430)](_0x4026c8)),V['takeUntil'](this[_0x55c8ff(0x36e)]))[_0x55c8ff(0x556)](_0x59c33f=>{_0x19a987(_0x59c33f);});}[_0x1cc768(0x424)](){const _0xa8ff0b=_0x1cc768,_0x5f0563=async _0x4f3742=>{const _0x58ec7e=_0x3a60;(await this[_0x58ec7e(0x538)][_0x58ec7e(0x186)](_0x4f3742))[_0x58ec7e(0x3a0)]['pipe'](V[_0x58ec7e(0x464)](_0x18c83f=>_0x18c83f[_0x58ec7e(0x1c1)]===p[_0x58ec7e(0x59c)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x58ec7e(0x36e)]))['subscribe'](_0x2912b3=>{const _0x41b32a=_0x58ec7e,_0x5a2226=_0x2912b3,{objectId:_0x4b31ad}=_0x5a2226['data'],_0x301f38=this[_0x41b32a(0x310)][_0x41b32a(0x4f7)](ye['SheetPermissionInitController']);_0x4b31ad===_0x4f3742?_0x301f38[_0x41b32a(0x189)](_0x4f3742):_0x301f38[_0x41b32a(0x10b)](_0x4f3742,_0x4b31ad);});};A[_0xa8ff0b(0x57c)](this[_0xa8ff0b(0x114)][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)]['UNIVER_SHEET']),this['_univerInstanceService'][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)][_0xa8ff0b(0x408)]))['pipe'](V[_0xa8ff0b(0x130)](_0x4d16ea=>_0x4d16ea[_0xa8ff0b(0x1f0)]()),V[_0xa8ff0b(0x464)](_0x2de3ab=>!a['isInternalEditorID'](_0x2de3ab)),V[_0xa8ff0b(0x4cf)](this[_0xa8ff0b(0x36e)]))[_0xa8ff0b(0x556)](_0x1be225=>{_0x5f0563(_0x1be225);});}};qe=qr([Ae(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),Ae(0x1,a[_0x1cc768(0x3bd)]),Ae(0x2,a[_0x1cc768(0x42c)]),Ae(0x3,a[_0x1cc768(0x2ca)](exports['CollaborationSessionService'])),Ae(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],qe);var zr=Object['defineProperty'],Xr=Object[_0x1cc768(0x263)],Jr=(_0x4712b3,_0xe65950,_0x5555e0,_0x47f0f2)=>{const _0x52a0c1=_0x1cc768;for(var _0x43dd6e=_0x47f0f2>0x1?void 0x0:_0x47f0f2?Xr(_0xe65950,_0x5555e0):_0xe65950,_0x52beb3=_0x4712b3[_0x52a0c1(0x31e)]-0x1,_0x393082;_0x52beb3>=0x0;_0x52beb3--)(_0x393082=_0x4712b3[_0x52beb3])&&(_0x43dd6e=(_0x47f0f2?_0x393082(_0xe65950,_0x5555e0,_0x43dd6e):_0x393082(_0x43dd6e))||_0x43dd6e);return _0x47f0f2&&_0x43dd6e&&zr(_0xe65950,_0x5555e0,_0x43dd6e),_0x43dd6e;},ti=(_0x40328a,_0x48d214)=>(_0xe326ff,_0x16cb4c)=>_0x48d214(_0xe326ff,_0x16cb4c,_0x40328a);exports[_0x1cc768(0x434)]=class{constructor(_0x2f1e1b,_0x366c5c){const _0x35c9ef=_0x1cc768;this[_0x35c9ef(0x2c0)]=_0x2f1e1b,this[_0x35c9ef(0x2d5)]=_0x366c5c;}async[_0x1cc768(0x532)](_0x1ae1c0,_0x2e7344){const _0xb2fd9=_0x1cc768;var _0x24567d;const {unitID:_0x6c27d5,type:_0x57a848,revision:_0x327e5d=0x0}=_0x2e7344,_0x1b5b7e=this[_0xb2fd9(0x2b7)]()+'/'+_0x57a848+_0xb2fd9(0x480)+_0x6c27d5+_0xb2fd9(0x25d)+_0x327e5d,_0x338848=(await this['_httpService'][_0xb2fd9(0x4f7)](_0x1b5b7e))[_0xb2fd9(0x46d)],_0x5f552e=(_0x24567d=_0x338848['snapshot'])==null?void 0x0:_0x24567d[_0xb2fd9(0x20c)];if(_0x5f552e){const _0x2ee9b7=_0x5f552e==null?void 0x0:_0x5f552e[_0xb2fd9(0x223)],_0x364c0d=p['textEncoder'][_0xb2fd9(0x137)](p[_0xb2fd9(0x59a)](_0x2ee9b7));_0x5f552e[_0xb2fd9(0x223)]=_0x364c0d,Object['entries'](_0x5f552e[_0xb2fd9(0x4f6)])['forEach'](([,_0x13a5b7])=>{const _0xd30979=_0xb2fd9,_0x57203a=_0x13a5b7['originalMeta'],_0x43730f=p[_0xd30979(0x197)]['encode'](p[_0xd30979(0x59a)](_0x57203a));_0x13a5b7[_0xd30979(0x223)]=_0x43730f;});}return _0x338848;}async[_0x1cc768(0x5aa)](_0x3c2c9f,_0x2b76df){const _0x304fd3=_0x1cc768,{unitID:_0x19253d,type:_0x2667b5,blockID:_0x162ceb}=_0x2b76df,_0x122218=this[_0x304fd3(0x4e5)]()+'/'+_0x2667b5+_0x304fd3(0x480)+_0x19253d+'/block/'+_0x162ceb;return(await this['_httpService'][_0x304fd3(0x4f7)](_0x122218))[_0x304fd3(0x46d)];}async['getDeserializedSheetBlock'](_0x34f409,_0x456854){const _0x22bcf5=_0x1cc768,{unitID:_0x2185bb,type:_0x525112,blockID:_0x43dc24}=_0x456854,_0x29e016=this[_0x22bcf5(0x4e5)]()+_0x22bcf5(0x229)+_0x525112+_0x22bcf5(0x480)+_0x2185bb+_0x22bcf5(0x229)+_0x43dc24;return(await this[_0x22bcf5(0x2d5)]['get'](_0x29e016))[_0x22bcf5(0x46d)];}async[_0x1cc768(0x107)](_0x397c01,_0x3045a6){const _0x12b95d=_0x1cc768,{unitID:_0x5f3715,type:_0x385c46,from:_0x14f8c3,to:_0xf01899}=_0x3045a6,_0x35afce=this['_getAPIPrefix']()+'/'+_0x385c46+_0x12b95d(0x480)+_0x5f3715+_0x12b95d(0x18f)+_0x14f8c3+_0x12b95d(0x212)+_0xf01899;return(await this[_0x12b95d(0x2d5)][_0x12b95d(0x4f7)](_0x35afce))[_0x12b95d(0x46d)];}[_0x1cc768(0x2b7)](){const _0x158590=_0x1cc768;var _0x539967;return(_0x539967=this[_0x158590(0x2c0)][_0x158590(0x555)](ni))!=null?_0x539967:this['_getAPIPrefix']();}[_0x1cc768(0x4e5)](){const _0x24f822=_0x1cc768;var _0x4f5799,_0x3db8e6;const _0x24243a=this['_configService'][_0x24f822(0x555)](ii),_0xe1d247=this[_0x24f822(0x2c0)][_0x24f822(0x555)](Q);return(_0x3db8e6=(_0x4f5799=_0xe1d247==null?void 0x0:_0xe1d247['snapshotServerUrl'])!=null?_0x4f5799:_0x24243a)!=null?_0x3db8e6:ki;}async[_0x1cc768(0x4c5)](_0x2eb8b5,_0x177d4e){const _0x315344=_0x1cc768,_0x3f08d1=_0x315344(0x5bc)+_0x177d4e['type']+_0x315344(0x480)+_0x177d4e[_0x315344(0x4ed)]+_0x315344(0x109);return(await this[_0x315344(0x2d5)][_0x315344(0x4f7)](_0x3f08d1,{'params':{'resourceId':JSON[_0x315344(0x236)](_0x177d4e[_0x315344(0x54f)])}}))[_0x315344(0x46d)];}[_0x1cc768(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x338)](){const _0x48a897=_0x1cc768;throw new Error(_0x48a897(0x37c));}['saveChangeset'](){const _0x4684de=_0x1cc768;throw new Error(_0x4684de(0x37c));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x177)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x1cc768(0x434)]=Jr([ti(0x0,a[_0x1cc768(0x56f)]),ti(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports['SnapshotServerOverHTTPService']);var Zr=Object[_0x1cc768(0x244)],Qr=Object[_0x1cc768(0x263)],eo=(_0x186367,_0x3f00da,_0x56a36f,_0x3b4fa1)=>{const _0x37a73b=_0x1cc768;for(var _0xc827d3=_0x3b4fa1>0x1?void 0x0:_0x3b4fa1?Qr(_0x3f00da,_0x56a36f):_0x3f00da,_0x478ec6=_0x186367[_0x37a73b(0x31e)]-0x1,_0x1200ef;_0x478ec6>=0x0;_0x478ec6--)(_0x1200ef=_0x186367[_0x478ec6])&&(_0xc827d3=(_0x3b4fa1?_0x1200ef(_0x3f00da,_0x56a36f,_0xc827d3):_0x1200ef(_0xc827d3))||_0xc827d3);return _0x3b4fa1&&_0xc827d3&&Zr(_0x3f00da,_0x56a36f,_0xc827d3),_0xc827d3;},Ne=(_0x2c8189,_0x85f10b)=>(_0x290a6b,_0x34a914)=>_0x85f10b(_0x290a6b,_0x34a914,_0x2c8189);let Ct=class extends a['LocalUndoRedoService']{constructor(_0x377656,_0x42015c,_0x110924,_0x460398,_0x211d45){const _0x330095=_0x1cc768;super(_0x377656,_0x42015c,_0x110924),this[_0x330095(0x1fa)]=_0x460398,this['_logService']=_0x211d45;}[_0x1cc768(0x597)](_0x4adbc8,_0x12e33c){const _0x372490=_0x1cc768,_0x2a705c=this['_getUndoStack'](_0x4adbc8);if(_0x2a705c)try{const _0x4d082a=this['_transformStack'](_0x2a705c,_0x12e33c);this[_0x372490(0x265)](_0x4adbc8,_0x4d082a);}catch(_0x2200da){this['_logService'][_0x372490(0x1c4)](_0x372490(0x425),_0x2200da),this[_0x372490(0x594)](_0x4adbc8);}const _0x478dbf=this[_0x372490(0x42a)](_0x4adbc8);if(_0x478dbf)try{const _0x49575a=this[_0x372490(0x3da)](_0x478dbf,_0x12e33c);this[_0x372490(0x135)](_0x4adbc8,_0x49575a);}catch(_0x2cab1d){this[_0x372490(0x10c)][_0x372490(0x1c4)](_0x2cab1d),this[_0x372490(0x585)](_0x4adbc8);}}[_0x1cc768(0x594)](_0x37caee){const _0x476cd9=_0x1cc768,_0xc8c586=this[_0x476cd9(0x10a)](_0x37caee);_0xc8c586&&(_0xc8c586[_0x476cd9(0x31e)]=0x0,this[_0x476cd9(0x33c)]());}[_0x1cc768(0x585)](_0xa61488){const _0x134275=_0x1cc768,_0x2bcd3f=this[_0x134275(0x42a)](_0xa61488);_0x2bcd3f&&(_0x2bcd3f[_0x134275(0x31e)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14bbf3,_0x4174fd){const _0x4d4777=_0x1cc768;this[_0x4d4777(0x3c7)][_0x4d4777(0x31f)](_0x14bbf3,_0x4174fd),this[_0x4d4777(0x33c)]();}[_0x1cc768(0x135)](_0x1d11af,_0x5c2d18){const _0x478ac9=_0x1cc768;this[_0x478ac9(0x1bb)][_0x478ac9(0x31f)](_0x1d11af,_0x5c2d18),this[_0x478ac9(0x33c)]();}[_0x1cc768(0x3da)](_0x4e3e3c,_0x444bce){const _0x4b2c99=_0x1cc768,_0xe42bf6=[];let _0x2ad174=_0x444bce,_0x397366=_0x444bce;for(let _0x3ea401=_0x4e3e3c[_0x4b2c99(0x31e)]-0x1;_0x3ea401>=0x0;_0x3ea401--){const {unitID:_0x5b2414,undoMutations:_0x3acbe5,redoMutations:_0x172eca}=_0x4e3e3c[_0x3ea401],_0x9cd709=this['_transformService'][_0x4b2c99(0x400)](_0x2ad174,_0x3acbe5),_0x4f9eb7=this[_0x4b2c99(0x1fa)]['transformMutationsWithChangeset'](_0x397366,_0x172eca);if(p[_0x4b2c99(0x3c0)](_0x9cd709)||p[_0x4b2c99(0x3c0)](_0x4f9eb7)){this[_0x4b2c99(0x10c)][_0x4b2c99(0x1c4)](_0x4b2c99(0x425),_0x4b2c99(0x3c8),_0x9cd709,_0x4f9eb7);break;}_0x2ad174=_0x9cd709[_0x4b2c99(0x4d7)],_0x397366=_0x4f9eb7[_0x4b2c99(0x4d7)],_0xe42bf6['push']({'unitID':_0x5b2414,'undoMutations':_0x9cd709[_0x4b2c99(0x247)],'redoMutations':_0x4f9eb7[_0x4b2c99(0x247)]});}return _0xe42bf6['reverse']();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x1cc768(0x11f)]),Ne(0x2,a[_0x1cc768(0x20a)]),Ne(0x3,p[_0x1cc768(0x48d)]),Ne(0x4,a['ILogService'])],Ct);class Li extends a[_0x1cc768(0x35a)]{constructor(){const _0x5d3d5e=_0x1cc768;super(),I(this,_0x5d3d5e(0x40d)),this[_0x5d3d5e(0x40d)]=A[_0x5d3d5e(0x5b2)](window,'popstate')['pipe'](A[_0x5d3d5e(0x4cf)](this[_0x5d3d5e(0x36e)]),A[_0x5d3d5e(0x3b0)](0x1),A[_0x5d3d5e(0x23d)](void 0x0));}[_0x1cc768(0x3d4)](_0x4e0b33,_0x35b4cb,_0x2adf93=!0x1){const _0x4466d0=_0x1cc768,_0x5388e3=new URL(window[_0x4466d0(0x19f)][_0x4466d0(0x203)]);_0x5388e3[_0x4466d0(0x227)][_0x4466d0(0x31f)](_0x4e0b33,_0x35b4cb),_0x2adf93?window[_0x4466d0(0x4db)][_0x4466d0(0x4a9)]('','',_0x5388e3[_0x4466d0(0x3df)]()):window['history'][_0x4466d0(0x45d)]('','',_0x5388e3[_0x4466d0(0x3df)]());}[_0x1cc768(0x3fc)](_0x3b0467,_0x5a935d=!0x1){const _0x1613b2=_0x1cc768,_0x5d6a98=new URL(window[_0x1613b2(0x19f)]['href']);_0x5d6a98['searchParams'][_0x1613b2(0x24c)](_0x3b0467),_0x5a935d?window[_0x1613b2(0x4db)][_0x1613b2(0x4a9)]('','',_0x5d6a98[_0x1613b2(0x3df)]()):window[_0x1613b2(0x4db)]['pushState']('','',_0x5d6a98[_0x1613b2(0x3df)]());}[_0x1cc768(0x187)](_0x57f264){const _0x303806=_0x1cc768;var _0x1ea163;return(_0x1ea163=new URL(window[_0x303806(0x19f)]['href'])['searchParams'][_0x303806(0x4f7)](_0x57f264))!=null?_0x1ea163:void 0x0;}}var xi=Object[_0x1cc768(0x244)],to=Object[_0x1cc768(0x263)],io=(_0x3fb124,_0x1173d4,_0xb023ba)=>_0x1173d4 in _0x3fb124?xi(_0x3fb124,_0x1173d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb023ba}):_0x3fb124[_0x1173d4]=_0xb023ba,no=(_0x301e36,_0x3df97a,_0x5260a3,_0x138bfa)=>{const _0x2ec999=_0x1cc768;for(var _0x241f7e=_0x138bfa>0x1?void 0x0:_0x138bfa?to(_0x3df97a,_0x5260a3):_0x3df97a,_0x397f19=_0x301e36[_0x2ec999(0x31e)]-0x1,_0x19c793;_0x397f19>=0x0;_0x397f19--)(_0x19c793=_0x301e36[_0x397f19])&&(_0x241f7e=(_0x138bfa?_0x19c793(_0x3df97a,_0x5260a3,_0x241f7e):_0x19c793(_0x241f7e))||_0x241f7e);return _0x138bfa&&_0x241f7e&&xi(_0x3df97a,_0x5260a3,_0x241f7e),_0x241f7e;},He=(_0x5104f0,_0xac4a33)=>(_0x391fbb,_0x53018f)=>_0xac4a33(_0x391fbb,_0x53018f,_0x5104f0),so=(_0x2ae10e,_0x1d12d7,_0x589b5f)=>io(_0x2ae10e,_0x1d12d7+'',_0x589b5f);const ro=_0x1cc768(0x34e);exports[_0x1cc768(0x2ac)]=class extends a[_0x1cc768(0x4cb)]{constructor(_0xe1e606=Zi,_0x2f9078,_0x578b2f,_0x4c1a30,_0x3307dd){const _0xa37168=_0x1cc768;super(),this[_0xa37168(0x4e8)]=_0xe1e606,this['_logService']=_0x2f9078,this[_0xa37168(0x309)]=_0x578b2f,this[_0xa37168(0x310)]=_0x4c1a30,this[_0xa37168(0x2c0)]=_0x3307dd;const {..._0x53efdd}=this[_0xa37168(0x4e8)];this[_0xa37168(0x2c0)]['setConfig'](Q,_0x53efdd);}[_0x1cc768(0x527)](){const _0x15abff=_0x1cc768;this[_0x15abff(0x50c)](),this[_0x15abff(0x46a)]();}['onReady'](){const _0x38b208=_0x1cc768;a[_0x38b208(0x373)](this[_0x38b208(0x310)],[[Ge],[Ve]]);}[_0x1cc768(0x2eb)](){const _0x2214b2=_0x1cc768;this[_0x2214b2(0x317)]();}[_0x1cc768(0x50c)](){const _0xf87cca=_0x1cc768;var _0x21db63,_0x57b7aa,_0x975552,_0x311276;this['_injector'][_0xf87cca(0x50a)](a['IUndoRedoService'])&&this[_0xf87cca(0x10c)]['error'](_0xf87cca(0x5b4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x184032=[[a[_0xf87cca(0x542)],{'useClass':Ct}],[exports[_0xf87cca(0x2e1)]],[Dt],[wt,{'useClass':Li}],[exports['MemberService']],[exports[_0xf87cca(0x305)]],[z[_0xf87cca(0x104)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x57b7aa=(_0x21db63=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x21db63[_0xf87cca(0x2c2)])!=null?_0x57b7aa:exports[_0xf87cca(0x3de)]}],[p[_0xf87cca(0x533)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0xf87cca(0x4dd)],{'useClass':exports[_0xf87cca(0x35c)]}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a[_0xf87cca(0x2b1)],{'useClass':exports[_0xf87cca(0x41e)]}],[exports[_0xf87cca(0x38c)]],[exports['DataLoaderController']],[exports[_0xf87cca(0x382)]],[Ge],[De],[Ve]];(_0x975552=this['_config'])!=null&&_0x975552[_0xf87cca(0x26e)]&&_0x184032['push']([ze,{'useClass':Un}]),a[_0xf87cca(0x3c2)](this[_0xf87cca(0x310)],a['mergeOverrideWithDependencies'](_0x184032,(_0x311276=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x311276[_0xf87cca(0x420)]));}[_0x1cc768(0x317)](){const _0xeed92f=_0x1cc768;this[_0xeed92f(0x27e)](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)]['UNIVER_DOC'],[gt])),this['disposeWithMe'](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)][_0xeed92f(0x452)],[It]));}[_0x1cc768(0x46a)](){const _0x1bdab0=_0x1cc768;var _0x218816,_0x27dfb6;this[_0x1bdab0(0x310)]['get'](z[_0x1bdab0(0x1db)])[_0x1bdab0(0x53d)]({'priority':0x14,'interceptor':z[_0x1bdab0(0x277)]({'maxParallel':0x6})}),(_0x218816=this[_0x1bdab0(0x4e8)])!=null&&_0x218816[_0x1bdab0(0x500)]||this[_0x1bdab0(0x310)]['get'](exports['LocalCacheService'])[_0x1bdab0(0x3c4)](),(_0x27dfb6=this[_0x1bdab0(0x4e8)])!=null&&_0x27dfb6[_0x1bdab0(0x45a)]&&a[_0x1bdab0(0x373)](this[_0x1bdab0(0x310)],[[Ye]]),a['touchDependencies'](this[_0x1bdab0(0x310)],[[Ke],[De],[exports[_0x1bdab0(0x37b)]],[exports[_0x1bdab0(0x38c)]],[exports[_0x1bdab0(0x382)]],[qe]]);}},so(exports[_0x1cc768(0x2ac)],_0x1cc768(0x2d8),ro),exports['UniverCollaborationClientPlugin']=no([a[_0x1cc768(0x216)](p['UniverCollaborationPlugin'],z['UniverNetworkPlugin']),He(0x1,a[_0x1cc768(0x1a0)]),He(0x2,K[_0x1cc768(0x2da)]),He(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),He(0x4,a[_0x1cc768(0x56f)])],exports['UniverCollaborationClientPlugin']),exports[_0x1cc768(0x5a0)]=Ut,exports['COLLAB_CLIENT_CONFIG_KEY']=Q,exports[_0x1cc768(0x40c)]=li,exports[_0x1cc768(0x43f)]=si,exports[_0x1cc768(0x584)]=q,exports['CollaborationStatusDisplay']=Oi,exports[_0x1cc768(0x1a5)]=Rt,exports[_0x1cc768(0x371)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports[_0x1cc768(0x42e)]=Tt,exports[_0x1cc768(0x2a4)]=wt,exports[_0x1cc768(0x188)]=ci,exports['LOGIN_URL_KEY']=hi,exports[_0x1cc768(0x4c6)]=ai,exports[_0x1cc768(0x5a1)]=Wi,exports['SNAPSHOT_SERVER_URL_KEY']=ii,exports[_0x1cc768(0x36b)]=ni,exports[_0x1cc768(0x24a)]=se,exports['SheetCollabCursorShape']=Ii,exports['WebURLService']=Li,exports[_0x1cc768(0x370)]=di,exports[_0x1cc768(0x225)]=fi;
|
1
|
+
'use strict';const _0x3a3cba=_0x131b;(function(_0x17102a,_0x488cc5){const _0x1d2feb=_0x131b,_0x3f1117=_0x17102a();while(!![]){try{const _0x39ed78=-parseInt(_0x1d2feb(0x352))/0x1*(parseInt(_0x1d2feb(0x187))/0x2)+parseInt(_0x1d2feb(0x143))/0x3*(-parseInt(_0x1d2feb(0x5a1))/0x4)+-parseInt(_0x1d2feb(0x3a5))/0x5+-parseInt(_0x1d2feb(0x26c))/0x6*(-parseInt(_0x1d2feb(0x209))/0x7)+parseInt(_0x1d2feb(0x228))/0x8+-parseInt(_0x1d2feb(0x413))/0x9+parseInt(_0x1d2feb(0x140))/0xa;if(_0x39ed78===_0x488cc5)break;else _0x3f1117['push'](_0x3f1117['shift']());}catch(_0x4b42a2){_0x3f1117['push'](_0x3f1117['shift']());}}}(_0x1035,0x63ae1));var ji=Object[_0x3a3cba(0x5d1)],$i=(_0x501024,_0x8332be,_0x1e6244)=>_0x8332be in _0x501024?ji(_0x501024,_0x8332be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e6244}):_0x501024[_0x8332be]=_0x1e6244,I=(_0xe3b79e,_0x3cb23f,_0x53abb0)=>$i(_0xe3b79e,typeof _0x3cb23f!=_0x3a3cba(0x56a)?_0x3cb23f+'':_0x3cb23f,_0x53abb0);Object[_0x3a3cba(0x5d1)](exports,Symbol[_0x3a3cba(0x2fd)],{'value':_0x3a3cba(0x467)});const a=require(_0x3a3cba(0x2be)),A=require(_0x3a3cba(0x44c)),V=require(_0x3a3cba(0x581)),Ce=require('@univerjs/design'),z=require(_0x3a3cba(0x395)),te=require('@univerjs/ui'),p=require('@univerjs-pro/collaboration'),Hi=require(_0x3a3cba(0x4b2)),Ie=require(_0x3a3cba(0x19e)),J=require(_0x3a3cba(0x1b7)),k=require(_0x3a3cba(0x246)),K=require('@univerjs/engine-render'),ie=require(_0x3a3cba(0x4a4)),Mt=require(_0x3a3cba(0x291)),ye=require(_0x3a3cba(0x32e)),ae=require('react'),Bi=require(_0x3a3cba(0x595)),ii=_0x3a3cba(0x2d5),ki='/universer-api/snapshot',ni=_0x3a3cba(0x32c),Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0x3a3cba(0x433),Gi=_0x3a3cba(0x261),ri=_0x3a3cba(0x4c6),Yi=0x7530,Et='HEARTBEAT_TIMEOUT',oi=0x4e20,Ki=0x4e20,ai=_0x3a3cba(0x3fe),qi=0x3,ci='LOCAL_CACHE_INTERVAL',zi=0x3e8,li=_0x3a3cba(0x598),Xi=_0x3a3cba(0x5cc),hi=_0x3a3cba(0x21d),Ji='/universer-api/oidc/authpage';var _i=(_0x1dae27=>(_0x1dae27[_0x1dae27[_0x3a3cba(0x357)]=0x0]=_0x3a3cba(0x357),_0x1dae27[_0x1dae27['OK']=0x1]='OK',_0x1dae27[_0x1dae27['INTERNAL_ERROR']=0x2]=_0x3a3cba(0x40a),_0x1dae27[_0x1dae27[_0x3a3cba(0x1b6)]=0x3]='PERMISSION_DENIED',_0x1dae27[_0x1dae27[_0x3a3cba(0x137)]=0x4]=_0x3a3cba(0x137),_0x1dae27[_0x1dae27[_0x3a3cba(0x443)]=0x5]=_0x3a3cba(0x443),_0x1dae27[_0x1dae27[_0x3a3cba(0x1fd)]=0x6]=_0x3a3cba(0x1fd),_0x1dae27[_0x1dae27[_0x3a3cba(0x205)]=0x7]=_0x3a3cba(0x205),_0x1dae27[_0x1dae27['TOO_MANY_REQUESTS']=0x8]=_0x3a3cba(0x5cd),_0x1dae27[_0x1dae27[_0x3a3cba(0x1f7)]=0x9]=_0x3a3cba(0x1f7),_0x1dae27[_0x1dae27[_0x3a3cba(0x3f3)]=0x1389]=_0x3a3cba(0x3f3),_0x1dae27[_0x1dae27['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3a3cba(0x329),_0x1dae27[_0x1dae27['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3a3cba(0x36a),_0x1dae27[_0x1dae27[_0x3a3cba(0x52e)]=0x1773]=_0x3a3cba(0x52e),_0x1dae27[_0x1dae27[_0x3a3cba(0x1b2)]=0x1b59]=_0x3a3cba(0x1b2),_0x1dae27[_0x1dae27[_0x3a3cba(0x2d9)]=0x1b5a]=_0x3a3cba(0x2d9),_0x1dae27[_0x1dae27[_0x3a3cba(0x3be)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1dae27[_0x1dae27[_0x3a3cba(0x254)]=0x1b5c]=_0x3a3cba(0x254),_0x1dae27[_0x1dae27['APPLY_DUPLICATED']=0x1b5d]=_0x3a3cba(0x18f),_0x1dae27[_0x1dae27[_0x3a3cba(0x366)]=0x1f41]=_0x3a3cba(0x366),_0x1dae27[_0x1dae27[_0x3a3cba(0x248)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1dae27[_0x1dae27[_0x3a3cba(0x458)]=0x232a]=_0x3a3cba(0x458),_0x1dae27[_0x1dae27['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1dae27[_0x1dae27[_0x3a3cba(0x4e8)]=0x232c]=_0x3a3cba(0x4e8),_0x1dae27[_0x1dae27[_0x3a3cba(0x596)]=0x232d]=_0x3a3cba(0x596),_0x1dae27[_0x1dae27[_0x3a3cba(0x59a)]=0x2711]=_0x3a3cba(0x59a),_0x1dae27[_0x1dae27[_0x3a3cba(0x1d7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1dae27[_0x1dae27[_0x3a3cba(0x3cf)]=0x2713]=_0x3a3cba(0x3cf),_0x1dae27[_0x1dae27[_0x3a3cba(0x1a7)]=0x2714]=_0x3a3cba(0x1a7),_0x1dae27[_0x1dae27['UNRECOGNIZED']=-0x1]=_0x3a3cba(0x149),_0x1dae27))(_i||{}),ne=(_0x36f6ac=>(_0x36f6ac[_0x36f6ac['UNIVER_UNKNOWN']=0x0]=_0x3a3cba(0x16c),_0x36f6ac[_0x36f6ac[_0x3a3cba(0x1b1)]=0x1]=_0x3a3cba(0x1b1),_0x36f6ac[_0x36f6ac[_0x3a3cba(0x1b5)]=0x2]=_0x3a3cba(0x1b5),_0x36f6ac[_0x36f6ac['UNIVER_SLIDE']=0x3]=_0x3a3cba(0x23d),_0x36f6ac[_0x36f6ac['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x36f6ac[_0x36f6ac['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x36f6ac))(ne||{}),G=(_0x26fa4e=>(_0x26fa4e[_0x26fa4e[_0x3a3cba(0x1a1)]=0x0]=_0x3a3cba(0x1a1),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x239)]=0x1]=_0x3a3cba(0x239),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x26f)]=0x2]=_0x3a3cba(0x26f),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x1aa)]=0x3]=_0x3a3cba(0x1aa),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x497)]=0x4]=_0x3a3cba(0x497),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x175)]=0x5]=_0x3a3cba(0x175),_0x26fa4e[_0x26fa4e['RECV']=0x6]=_0x3a3cba(0x204),_0x26fa4e[_0x26fa4e[_0x3a3cba(0x149)]=-0x1]=_0x3a3cba(0x149),_0x26fa4e))(G||{}),bt=(_0x504639=>(_0x504639[_0x504639[_0x3a3cba(0x355)]=0x0]=_0x3a3cba(0x355),_0x504639[_0x504639['OK']=0x1]='OK',_0x504639[_0x504639['FAIL']=0x2]=_0x3a3cba(0x3bb),_0x504639[_0x504639[_0x3a3cba(0x388)]=0x3e9]=_0x3a3cba(0x388),_0x504639[_0x504639['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x3a3cba(0x41b),_0x504639[_0x504639[_0x3a3cba(0x149)]=-0x1]=_0x3a3cba(0x149),_0x504639))(bt||{}),ui=(_0x468398=>(_0x468398[_0x468398[_0x3a3cba(0x4ff)]=0x0]=_0x3a3cba(0x4ff),_0x468398[_0x468398[_0x3a3cba(0x557)]=0x1]=_0x3a3cba(0x557),_0x468398[_0x468398['HttpExport']=0x2]=_0x3a3cba(0x3c5),_0x468398[_0x468398[_0x3a3cba(0x37b)]=0x3]=_0x3a3cba(0x37b),_0x468398[_0x468398[_0x3a3cba(0x3dd)]=0x4]=_0x3a3cba(0x3dd),_0x468398[_0x468398[_0x3a3cba(0x149)]=-0x1]=_0x3a3cba(0x149),_0x468398))(ui||{});const Q=_0x3a3cba(0x5d8),Zi={};function _0x1035(){const _0x23c148=['_setupBeforeClosingHandler','blockSize','_doCryptBlock','rxjs/operators','undoState','_initCloseConn','collab-client.tooltip.reconnect','_colorIndex','_httpService','_http','_initEventListeners','randomBytes','_saveCache','_collaborationController','_resendTimeout','interceptor','baseRev','_createSocketURL','_logService','_color','_docTransformIMECacheService','sid','getRenderById','@univerjs/rpc','LICENSE_DISTRO_REJECTED','_sendHeartbeatTimer','COLLAB_SUBMIT_CHANGESET_URL','params','YUUMI_UNABLE_LOAD_URL','conflict.title','DOC_RANGE_TYPE','SheetsSelectionsService','COMMENT_UPDATE','currentSkeleton$','awaitingChangeset','50348ZgbnWf','_scheduleTimestamp','assign','_getSignURL','connectInjector','getUnitType','complete','registerOnClose','measureText','_anchorDot','_socket','deepClone','IBeforeCloseService','_collaborationTimeoutTimer','_compressMutationService','_beforeCloseService','enableLocalCache','collabStatus.fetchMiss','_onCursorUpdate','MUTATION','_loadDoc','addObject','file','unit-cache-','isTransformMutationFailure','registerDependencies','on-line-single','_roomMembers','_ws','location','_onMessage','reset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_createHmacHelper','synced','onRemoteRej','_cachedData','setShowComponents','equals','_onFetchMissResult','CollaborationController','onlyLocal','SHA1','/universer-api/comb','TOO_MANY_REQUESTS','__creator','session.collaboration-timeout','_online','defineProperty','SHOULD_CLOSE_CONN','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','infoRsp','DocStateChangeManagerService','SUBMIT_CHANGESET','useDependency','collaboration-client.config','permission.content','newCsEvent','_startCollaboration','_registerDependencies','connection\x20error','_context','_localStorageService','removeMember','Tools','_id','People','exports','_range','disposeWithMe','getRoom','setActiveRange','BlockCipherMode','joinEvent','distinctUntilChanged','startsWith','rev','repeat','Base64','getAllMembers','_clearRedo','subunit','_getUploadFileURL','_nRounds','indexOf','pluginName','getCollabEntity$','kdf','collaborators','Subject','_messageService','csShouldRetryEvent','Shape','_scheduleCollaborationTimeoutTimer','NOT_FOUND','_getAPIPrefixPath','getColor','COLLAB_SUBMIT_CHANGESET_URL_KEY','_updateCollabCursors','COMPRESS_MUTATION_SEND','RichTextEditingMutation','href','[FetchMissState]','6269040KsjNLN','ERROR_IMAGE_TYPE','hostname','159YHcERu','_disableEditing','slice','sessionStatus','selections','_updateURLWithCurrentState','UNRECOGNIZED','PERSON','close','[PendingState]:\x20received\x20acknowledgement.','collab-text-anchor-','random','transformChangesets','_imageIoService','_docSyncEditingCollabCursorService','SheetCollabCursorShape','fill','POST','findNodePositionByCharIndex','/-/object/list','closePath','LocalCacheService','collabCursorState$','fillStyle','src','min','createEncryptor','HmacSHA1','_changesetReqId','addImageSourceCache','_nDataBytes','moveTo','csAckEvent','application/json','_minBufferSize','FETCH_MISS','_imageSourceCache','unitId','_createHandler','init','length','UNIVER_UNKNOWN','IRenderManagerService','handleInsertRow','has','loginUrlKey','_send','isInternalEditorID','create','ISnapshotServerService','HEARTBEAT','_clearScheduledTask','[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.','_docStateChangeManagerService','getImage','\x20in\x20_schedule.','pipe','_hover','_updateStatus','uni.network.url-service','text','_decreaseWaiting','_resendTimer','close$','setCurrentUser','_getUndoStack','/-/object/-/batch_allowed','_docSkeleton','431602Vxitxt','_socket$','extend','ColorKit','useRef','DisposableCollection','_clearHeartbeatTimer','_append','APPLY_DUPLICATED','xlink:href','_onJoinRoomEvent','children','_document','decrypt','objectActions','_uiPartsService','createIdentifier','syncEditingCollabCursor','code','setParam','data','_permissionService','CollaborationSessionService','@univerjs/docs','_getAnchorBounding','_doReset','UNKNOWN_CMD','roomMembers','collab-text-range-','onTransformRemoteChangesetByStateCache','PENDING','RevisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','_prevBlock','_unlockTransition','LEAVE','byteLength','sheetID','reverse','LIVESHARE_OPERATION','onCommentUpdate','/rev/','UNIVER_DOC','APPLY_REJECT','_shapes','_ensureSubject','UNIVER_SHEET','PERMISSION_DENIED','@univerjs/docs-ui','_resendWithTimeout','hasher','from','revision','_lastPointer','show','_clearOtherTimers','ERROR_IMAGE','substring','_tryReconnect','workbook','[OfflineState]:\x20received\x20changeset.','getUnit','createInstance','unsubscribe','_onConflict','_tryEnsureSocket','IUniverInstanceService','_transformStateCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Tooltip','mapTo','_acknowledgedAwaitingChangeset','{fileID}','Workbook','parseProtocolChangeset','_transformHistoryAndStateStack','joinRsp','_key','_substituteRedoStack','_clearUndo','YUUMI_URL_COL_OUT_OF_RANGE','function','react.fragment','IUIPartsService','listCollaborators','fillText','DocIMEInputManagerService','CollaborationStatus','WorkbookEditablePermission','fetchMissingChangesets','enableAuthServer','replaceDocRanges','requireSession','session.room-full','_lockTransition','_getSaveTimeout','createSocket','createCollaborator','take','collabSubmitChangesetUrl','_transformPreviousActiveRange','saveSnapshot','_transformRemoteChangesetByStateCache','setShapeProps','flatMap','_createHelper','$super','color','cursorInfo','ivSize','getTypeOfUnitAdded$','clone','COMPLETION_FINISHED','isTransformMutationsWithChangesetFailure','_eventUnsubscribe','/new_changes','_changesetSessionId','put','ALREADY_EXISTS','roles','UNIVER_COLLABORATION_CLIENT_PLUGIN','_scheduleSaving','createElement','Error','name','RECV','INVALID_ARGUMENT','_univerInstanceService','Injector','AWAITING_WITH_PENDING','5403671XbPjcH','OffLineSingle','svg','entries','ILocalStorageService','__Key__','url(#$1','_renderManagerService','USERS_ENTER','triggerDblclick','_snapshotService','handleMoveRange','transformMutation','asObservable','Hex','action','InsertRangeMoveRightCommandId','disableLocalCache','/universer-api/authz','PSEUDO_FETCH_MISSING_RESULT','LOGIN_URL_KEY','_scheduleClearOtherTimer','getCoordByCell','IRemoteInstanceService','_substituteUndoStack','_listenToOfflineEvent','_schedule','_refreshCollabCursors','_urlService','currentColor','clearTimeout','3021752OadAsa','Optional','_onRemoteACK','addEventListener','editingUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','exhaustSavingTask','searchParams','MoveRangeCommandId','UniverInstanceType','_transformRemoteChangesetByIMECache','HEARTBEAT_INTERVAL_KEY','snapshotServerUrl','_draw','_state','pending','hasOwnProperty','HELLO','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_fetchMissChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNIVER_SLIDE','_injector','IDLE','includes','sessionStatus$','collabWebSocketUrl','getCurrentUser','getSheetBlock','BuiltInUIPart','@univerjs/sheets','onPointerLeave$','LICENSE_MAX_UNITS_EXCEEDED','key','keySize','disposeUnit','imageSourceType','_updateLocalCache','IDocClipboardService','decryptBlock','subscribe','propertyIsEnumerable','onlineStatus','transformStateCache','APPLY_PERMISSION_DENIED','Malformed\x20UTF-8\x20data','_userManagerService','forwardRef','VIEW_MAIN','toLowerCase','_getCurrentRevision','none','resourceIDs','purple300','makeDirty','MD5','title','/universer-api/user/session-ticket','url','onStarting','getInterceptPoints','liveShareNewHost','_initDependencies','source','c1Prime','UniverCollaborationPlugin','_hovered','delete','6tBknAR','batchAllowed','SessionStatus','JOIN','formatter','ThemeService','_ENC_XFORM_MODE','generateRandomId','CipherParams','onMouseMove','collaMsg','fetching\x20missing\x20changesets\x20from\x20','confirm','handleDeleteRangeMoveLeft','getSkeleton','skeleton','failed\x20to\x20apply\x20missed\x20changesets!','MergeInterceptorFactory','b64DecodeUnicode','touchDependencies','DataLoaderController','forEach','row','liveShareOperation','getUnhiddenWorksheets','_cursorInfo$','DeleteRangeMoveLeftCommandId','unshift','_redoStacks','WebSocketService','Disposable','DependentOn','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IMessageService','incrementRevOfUnit','_queuedRemoteChangesets','fromEvent','@univerjs/engine-formula','_instanceService','_transformSelections','initWorkbookPermissionChange','transformMutationsWithChangeset','_cursorShapes','cursorInfo$','onRemoteAck','_telemetryService','charCodeAt','onTransformSelections','getCurrentUnitForType','SetDocZoomRatioOperation','getCurrentRevOfUnit','[CollaborationState]:\x20apply\x20error!','switchMap','_clearCollaborationTimeoutTimer','patch','...','SYNCED','collabStatus.syncing','restore','_remoteChangesetQueue','_waitCount','_anchor','originalMeta','COMPRESS_MUTATION_APPLY','CollaborationStatusDisplay','changesets','_onUserJoin','EvpKDF','updateOfflineData','_initRequestHeader','LocaleService','_getMergeRange','OpenSSL','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','NEW_CHANGESETS','for','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','list','debug','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sheets','toDisposable','@univerjs/core','BehaviorSubject','getActiveSheet','clamp','verdancy600','_unitOnClients','toString','_drawRectRange','_doProcessBlock','_status$','error$','onlineStatusTitle','_map','loadDoc','objectType','_startDocCollabCursor','[DataLoaderController]','HmacMD5','_memberService','IPermissionService','updateMember','_entityInit$','encodeURIComponent','SNAPSHOT_SERVER_URL_KEY','session.will-retry','FileId','prototype','APPLY_NON_SEQUENTIAL_REVISION','awaiting_with_pending','unpad','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','removeParam','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','salt','HEADER_MENU','AES','DocSelectionManagerService','_removeCollabCursors','error','Rectangle','_sender','translate(.97)','saveChangeset','visibilityState','Encryptor','DocCollaborationEntity','_commentService','updateCollaborator','DocSkeletonManagerService','throttleTime','CommandType','_updateLocalCursor','_DEC_XFORM_MODE','newValue','shareReplay','_initStatusComponent','arc','ICommandService','_createSocket','tag','univer-pro.collaboration-client.single-active-unit-service','AuthzIoHttpService','toStringTag','BufferedBlockAlgorithm','EXCHANGE_SIGN_URL_SERVER_URL_KEY','setTimeout','width','[CollaborationEntity]','createDecryptor','off-line-single','current','subUnitId','_state$','sigBytes','allowed','dispose','collabStatus.offline','session','deserializeRangeWithSheet','sequenceExecute','Error\x20on\x20receiving\x20event','USERS_LEAVE','IConfigService','_sendHeartbeat','0\x200\x2017\x2016','getSheetObject','getValue','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/allowed','change$','sessionTicket','_keyPriorReset','push','buffer','_roomMembers$','cfg','CompressMutationService','useCallback','SheetPermissionInitController','type','image/gif','_textBubble','_parse','_onConnectionOpen','onStateChange','OTHER_CLIENTS_EDITING','SNAPSHOT_INVALID_SNAPSHOT','endRow','_telemetryInfo','SNAPSHOT_URL_KEY','encrypt','@univerjs/sheets-ui','getUniverSheetInstance','encode','cmd','getUndoRedoMutationParamsCache','[CollaborationSession]','onCommandExecuted','react.element','json','getSheetBySheetId','EmptyMutation','authzUrl','clearInterval','IContextService','url(#off-line-single_clip0_910_343)','_handleEvent','clipPath','submit\x20changeset\x20error!','_commandService','_initUnitPermissionChange','_onOffline','HMAC','endColumn','onMissedChangesetFetched','fetchThroughInterceptors','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadSheet','WordArray','enableSingleActiveInstanceLock','wsSessionTicketUrl','debounceTime','_config','editing\x20status\x20changed\x20to','words','path','getCollabEntity','2wjvJVg','&assign=','_replayCachedMutations','UNKNOWN_CODE','_disabled','UNDEFINED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','hovered','Vector2','textRanges','memberID','_onRemoteRejected','_notificationService','onPointerEnter$','ImageSourceType','unitId\x20is\x20not\x20found','&to=','c2Prime','onReady','[CollaborationSessionService]','CONNECTOR_DATA_TOO_LARGE','CollaborationSocketService','_singleActiveUnitService','actions','SNAPSHOT_HAS_BEEN_REMOVED','HTTPService','BlockCipher','ref','_handleLeaveEvent','univerjs-icon\x20univerjs-icon-','save','_hash','UPDATE_CURSOR','appendMutation','SheetCollaborationEntity','_themeService','UniverCollaborationClientPlugin','_oKey','/collaborator','_transformUndoredo','_undoRedoService','UnitEmbedded','_transformService','InsertColCommandId','focused$','engine','COLLAB_WEB_SOCKET_URL_KEY','currentTheme$','getCollabCursors$','_transformStack','_showConflictNotification','Cipher','downloadEndpointUrl','CommentService','JOIN_ROOM_FULL','PasswordBasedCipher','set','CollaborationEvent','backgroundColor','transformIMECache','x-univer-host','sin','TEXT_RANGE_LAYER_INDEX','jsxs','evenodd','_timeoutTimer','JSONX','@univerjs/network','selection','_labelPosition','unload','subscribeEvent','div','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/unit/','_getScale','onRemoteChangeset','image/png','_updateSubUnitFromURLParams','CollaborationEntity','UPDATE_PERMISSION_OBJ','_colorAssignService','Plugin','1149395QNiObh','LIVESHARE_NEW_HOST','updatePermissionObjEvent','whenReady','univer-online','isTransformChangesetsSuccess','SetWorksheetActivateCommand','event$','ciphertext','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','online','then','status','debounce','_pendingMutations','_sessionStatus$','Hasher','drawWith','assignAColorForMemberID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getSnapshotAPIPrefix','_createInitialStateImpl','FAIL','_entities','idSuffix','APPLY_REVISION_CONFILICT','_docSkeletonManagerService','m2Prime','_change$','splice','_sessions','RxDisposable','HttpExport','merge','DeleteRangeMoveUpCommandId','onSendChangeset','_saveTaskMap','fillRule','round','getConfig','find','ReplaySubject','YUUMI_RATE_OVER_LIMIT','_unitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/object/','setUndoRedoMutationParamsCache','_registerRenderDependencies','_commentUpdate$','enc','_HTTPService','floor','0\x200\x2016\x2016','_joinRoom','range','_unitID','UnitSnapshot','loadSheet','headers','catch','unit','_localCacheService','_process','off-line-single_clip0_910_343','_transformUndoRedoStack','lineTo','IURLService','_applyRemoteChangeset','onTransformIME','image/jpg','isActive','_handleHeartbeatEvent','_mode','getRangePointData','Utf8','_startTelemetryCollaborationNewChangeset','permissionRejEvent','ranges','CHANGESET_REVISION_CONFILICT','updatePermissionPoint','_heartbeatTimer','history','compute','_stopTelemetryCollaborationNewChangeset','message$','M0\x200H16V16H0z','toRgbString','toggleOnline','_getRedoStack','RETRY_CONNECTING_MAX_COUNT','_setupSubUnitSync','startColumn','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_rescheduleHeartbeat','getTypeOfUnitDisposed$','stringify','[OfflineState]:\x20received\x20rejection.','black','popstate','Base','INTERNAL_ERROR','unitID','_data','default','_getSheetObject','_type','now','Rect','retryConnectingInterval','357255uNJqtT','onSyncEditingCollabCursor','getUnitOnRev','EffectRefRangId','save\x20fail\x20reason\x20is\x20','_submitChangeset','LOCAL_CACHE_INTERVAL_KEY','_getAPIPrefix','JOIN_ROOM_NOT_ALLOWED','InsertRangeMoveDownCommandId','_docTransformStateCacheService','_incrementRevisionNumber','[SyncedState]:\x20received\x20rejection.','_backgroundColor','some','eventID','_hasher','_replaceFileID','_onConnectionFailed','_clearTimeoutTimer','_xformMode','IImageIoService','Univer','randomUUID','_revisionService','_initStatusListener','getOwnPropertyDescriptor','collaboration.closeRoom','runRefRangeMutations','_drawTextRange','rgba(255,\x20255,\x20255,\x200.01)','defaultProps','ws://127.0.0.1:8000/universer-api/comb/connect','append','fetch_missing','m1Prime','transformSelections','WebURLService','colorChannel1','beginPath','LIVESHARE_REQUEST_HOST','AWAITING','transformUndoRedo','_listenToOnlineEvent','setItem','jsx','mutations','userID','UNAUTHENTICATED','IUndoRedoService','closeSession','concatMap','concat','BASE64','get','#fff','_getSendChangesetTimeout','rxjs','NoPadding','unknown','_syncEditingCollabCursor','\x20to\x20','resize','mapDocumentTypeToUniverType','algo','sheetId','combineLatest','SetSelectionsOperation','processBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERMISSION_REJ','redoState','MessageType','reduce','isTransformMutationsWithChangesetSuccess','deleteCollaborator','loadOfflineData','ImageUploadStatusType','FETCH_MISSING','getWorkbookSelections','_collabCursorState$','sendChangesetTimeout','_handleJoinEvent','_throwTelemetryCollaborationNewChangeset','Module','transformByState','isPermissionRej','_collabCursorController','_onLocalMutation','members','getFocusedUnit','_socketReady','univer-offline','getUnitId','ONLINE','_shouldReportTelemetry','routeKey','_candidateSocket','_invKeySchedule','iterations','_socketMessageSubscription','useObservable','csRejEvent','SUCCUSS','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','blue400','MentionIoHttpService','localeService','status$','_iKey','duration','_socketService','_updateState','MSG_FOR_ERROR','LIVESHARE_FETCH_OPERATIONS','_undoStacks','doc.mutation.rich-text-editing','fromCollab','getMergeData','displayName','getCellPositionByOffset','_reverseMap','update','_assignedColors','resend','RegularPolygon','getDocRanges','univer-online-status','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OnLineSingle','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CONFLICT','INGEST','collabStatus.conflict','HTTPRequest','override','OFFLINE','ImageIoService','_retryConnectingTimer','apply','getUnitStatus$','enableOfflineEditing','height','object','getRelativeToViewportCoord','@univerjs/drawing','registerRefRange','reqId','hide','/fetchmissing?from=','conflict','jiqing500','CHANGESET_SHOULD_RETRY','pad','_executeRemoteChangeset','_initMergeInterceptor','socket\x20close','SEND_CHANGESET_TIMEOUT_KEY','TEXT','@univerjs/telemetry','add','Inject','socket$','_onUserLeave','fetchMiss','delay','CHANGESET_REJ','onTransformRemoteChangesetByIMECache','msCrypto','_getCtorByUniverType','getCurrentSelections','_render','collaboration_new_changeset','finalize','_onRemoteRetry','labelPosition','_clearLocalCache','avatar','_handleHover','HEARTBEAT_INTERVAL','urlChange$','execute','call','_startSheetCollabCursor','offline','ILogService','attrs','AUTHZ_URL_KEY','state','_waitForHeartbeatResponse','_configService','JOINING','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_session','ITransformService','open$','_name','takeUntil','snapshot','Unknown\x20user','permission.title','split','[PendingState]:\x20received\x20rejection.','1em','_toggleOnline','post','handleInsertRangeMoveRight','Latin1','registerHTTPInterceptor','_removeClearOtherTimer','_cursor','onRemoteRetry','UniverNetworkPlugin','LICENSE_EXPORT_SIZE_EXCEEDED','UserManagerService','_docTransformSelectionsService','body','\x0aCurrent:\x20','join','font','_init','univer-online-status-title','objectID','saveOfflineData','_sendingTimer','withCredentials','charAt','format','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','SnapshotServerOverHTTPService','onTransformState','replaceState','Decryptor','onPointerMove$','_onRefRangeChange','putCollaborators','Undefined','_toggleOffline','startRow','target','_event$','_cursors','clear','[CollaborationUndoRedoService]','_localeService','_onRemoteChangeset','CollaborationSession','getMember','getParam','ticket','getSheetId','ITelemetryService','toggleOffline','MemberService','registerRenderModule','_awaitingChangeset','Could\x20not\x20dynamically\x20require\x20\x22','DesktopCollaborationStatusDisplayController','_handler','filter','_iv','roomMembers$','next','\x20-\x20','_exhaustRemoteChangesetQueue','with','stopTime','size','_members','conflict.content','_hideTimer','session.connection-failed','requestParams','readAsDataURL','transformRemoteChangeset','parse','_isPermissionRej','COLORS','collaboration-session-retry','send','refreshPermission','__esModule','serializeCombRequest','ENSURE_SNAPSHOT_EXECUTION','executeCommand','setWaitCount','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getViewport','reconnect','_initResize','_cipher','/block/','lib','defs','_checkMissing','map','NO_OTHER_CLIENTS_EDITING','socketService','setConfig','defIds','_selfUnitIDs','collaboratorID','dispose$','getMemberID','_transformIMECache','setInterval','all','_collaborationSessionService','getRandomValues','padding','INotificationService','crypto','_collaborationPaused','reject','ACTIVE_UNIT_EVENT_CHANNEL','textEncoder','_collabSessionService','isArray','LIVESHARE_TERMINATE','NOT_COLLAB','_retryCount','string','_keySchedule','getStateCache','HttpImport','CHANGESET_ACK','[SyncedState]:\x20received\x20acknowledgement.','icon','max','_sheetTransformSelectionsService','_transitionLocked','_createInitialState','[UniverCollaborationClientPlugin]','IAuthzIoService','transformStack\x20failed!','mergeOverrideWithDependencies','_scheduleHeartbeat','mixIn','onMissingChangesets','_snapshotServerService','getTime','_refRangeService','_scene','symbol','_sheetSkeletonManagerService','replace','Warning','MentionType','UniverIcon','_onCursorDelete','subject','getAncestorScale','_removeRoom','collabStatus.synced','socket\x20open.','IMentionIOService','docStateChange$','values','responseType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getSessionTicket','_syncEditingCollabCursorService','getOwnPropertySymbols'];_0x1035=function(){return _0x23c148;};return _0x1035();}function di(_0x5814be){const _0x580543=_0x3a3cba;var _0x6dcdea,_0x42c9bf,_0x59e56b,_0x3b003c,_0x41d8da;const _0x288ee1=_0x5814be[_0x580543(0x19b)],_0x258e96=JSON[_0x580543(0x526)](_0x288ee1);switch(_0x258e96[_0x580543(0x331)]){case G[_0x580543(0x175)]:case G[_0x580543(0x239)]:{const _0x3f1623=_0x258e96[_0x580543(0x5d4)];return{..._0x258e96,'data':_0x3f1623,'cmd':_0x258e96['cmd']};}case G[_0x580543(0x26f)]:{const _0x3df83b=_0x258e96[_0x580543(0x1d3)];return{..._0x258e96,'data':_0x3df83b,'cmd':_0x258e96['cmd']};}case G[_0x580543(0x204)]:{const _0x4ad6ac=_0x258e96[_0x580543(0x276)];switch(_0x4ad6ac['eventID']){case p[_0x580543(0x38b)]['PERMISSION_REJ']:return{..._0x258e96,'data':{..._0x4ad6ac,'data':(_0x6dcdea=_0x4ad6ac[_0x580543(0x3f1)])==null?void 0x0:_0x6dcdea['cs']},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x558)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':(_0x42c9bf=_0x4ad6ac[_0x580543(0x163)])==null?void 0x0:_0x42c9bf['cs']},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x2b6)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':(_0x59e56b=_0x4ad6ac[_0x580543(0x5da)])==null?void 0x0:_0x59e56b['cs']},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)]['CHANGESET_REJ']:return{..._0x258e96,'data':{..._0x4ad6ac,'data':(_0x3b003c=_0x4ad6ac[_0x580543(0x479)])==null?void 0x0:_0x3b003c['cs']},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x4ab)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':(_0x41d8da=_0x4ad6ac[_0x580543(0x134)])==null?void 0x0:_0x41d8da['cs']},'cmd':_0x258e96[_0x580543(0x331)]};case p['CollaborationEvent'][_0x580543(0x372)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac['updateCursorEvent']},'cmd':_0x258e96['cmd']};case p['CollaborationEvent'][_0x580543(0x211)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac[_0x580543(0x5ea)]},'cmd':_0x258e96['cmd']};case p[_0x580543(0x38b)][_0x580543(0x310)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac['leaveEvent']},'cmd':_0x258e96['cmd']};case p[_0x580543(0x38b)][_0x580543(0x3a6)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac['liveShareNewHost']},'cmd':_0x258e96['cmd']};case p[_0x580543(0x38b)][_0x580543(0x485)]:case p[_0x580543(0x38b)][_0x580543(0x1ae)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac[_0x580543(0x283)]},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x551)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac[_0x580543(0x265)]},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x484)]:return{..._0x258e96,'data':_0x4ad6ac,'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)]['COMMENT_UPDATE']:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac['commentUpdateEvent']},'cmd':_0x258e96['cmd']};case p['CollaborationEvent'][_0x580543(0x3a2)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac[_0x580543(0x3a7)]},'cmd':_0x258e96[_0x580543(0x331)]};case p[_0x580543(0x38b)][_0x580543(0x5d2)]:return{..._0x258e96,'data':{..._0x4ad6ac,'data':_0x4ad6ac['shouldCloseConn']},'cmd':_0x258e96['cmd']};default:return _0x258e96;}}default:return _0x258e96;}}function fi(_0x30ab2){const _0x3d4d3e=_0x3a3cba;switch(_0x30ab2[_0x3d4d3e(0x331)]){case G[_0x3d4d3e(0x175)]:case G['HELLO']:return JSON[_0x3d4d3e(0x405)]({'cmd':_0x30ab2[_0x3d4d3e(0x331)],'routeKey':_0x30ab2['routeKey']});case G['INGEST']:{let _0x388f2b;switch(_0x30ab2['data'][_0x3d4d3e(0x422)]){case p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x372)]:{_0x388f2b={'eventID':p['CollaborationEvent'][_0x3d4d3e(0x372)],'updateCursorEvent':_0x30ab2[_0x3d4d3e(0x19b)]['data']};break;}case p[_0x3d4d3e(0x38b)]['USERS_LEAVE']:{_0x388f2b={'eventID':p[_0x3d4d3e(0x38b)]['USERS_LEAVE'],'leaveEvent':_0x30ab2['data']['data']};break;}case p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x211)]:{_0x388f2b={'eventID':p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x211)],'joinEvent':_0x30ab2['data']['data']};break;}case p[_0x3d4d3e(0x38b)]['LIVESHARE_NEW_HOST']:{_0x388f2b={'eventID':p['CollaborationEvent'][_0x3d4d3e(0x3a6)],'liveShareNewHost':_0x30ab2[_0x3d4d3e(0x19b)]['data']};break;}case p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x1ae)]:{_0x388f2b={'eventID':p['CollaborationEvent'][_0x3d4d3e(0x1ae)],'liveShareOperation':_0x30ab2[_0x3d4d3e(0x19b)][_0x3d4d3e(0x19b)]};break;}case p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x551)]:{_0x388f2b={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x30ab2[_0x3d4d3e(0x19b)]['data']};break;}case p['CollaborationEvent'][_0x3d4d3e(0x43b)]:{_0x388f2b={'eventID':p[_0x3d4d3e(0x38b)][_0x3d4d3e(0x43b)],'liveShareRequestHost':_0x30ab2[_0x3d4d3e(0x19b)][_0x3d4d3e(0x19b)]};break;}case p[_0x3d4d3e(0x38b)]['LIVESHARE_FETCH_OPERATIONS']:{_0x388f2b={'eventID':p[_0x3d4d3e(0x38b)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x388f2b={'eventID':_0x30ab2[_0x3d4d3e(0x19b)][_0x3d4d3e(0x422)]};}return JSON['stringify']({'cmd':_0x30ab2['cmd'],'routeKey':_0x30ab2[_0x3d4d3e(0x473)],'collaMsg':_0x388f2b});}case G[_0x3d4d3e(0x26f)]:return JSON[_0x3d4d3e(0x405)]({'cmd':_0x30ab2[_0x3d4d3e(0x331)],'routeKey':_0x30ab2['routeKey'],'joinReq':_0x30ab2[_0x3d4d3e(0x19b)]});case G[_0x3d4d3e(0x1aa)]:return JSON['stringify']({'cmd':_0x30ab2['cmd'],'routeKey':_0x30ab2['routeKey'],'leaveReq':_0x30ab2[_0x3d4d3e(0x19b)]});default:throw new Error(_0x3d4d3e(0x358));}}var Qi=Object[_0x3a3cba(0x5d1)],en=Object[_0x3a3cba(0x42d)],tn=(_0x49b00d,_0x17f1f1,_0x5b6a03,_0x4e8314)=>{const _0x4fc122=_0x3a3cba;for(var _0x5b1872=_0x4e8314>0x1?void 0x0:_0x4e8314?en(_0x17f1f1,_0x5b6a03):_0x17f1f1,_0x3a4f42=_0x49b00d[_0x4fc122(0x16b)]-0x1,_0x2744f3;_0x3a4f42>=0x0;_0x3a4f42--)(_0x2744f3=_0x49b00d[_0x3a4f42])&&(_0x5b1872=(_0x4e8314?_0x2744f3(_0x17f1f1,_0x5b6a03,_0x5b1872):_0x2744f3(_0x5b1872))||_0x5b1872);return _0x4e8314&&_0x5b1872&&Qi(_0x17f1f1,_0x5b6a03,_0x5b1872),_0x5b1872;},Pe=(_0x4d4b2d,_0x5eb28b)=>(_0x15242f,_0x195800)=>_0x5eb28b(_0x15242f,_0x195800,_0x4d4b2d);const Tt=a[_0x3a3cba(0x197)]('univer-pro.collaboration-client-socket-service');function nn(_0xb7a079,_0x11c077,_0x2ecc90){const _0x5d69f2=_0x3a3cba;return _0xb7a079+'/'+_0x11c077+_0x5d69f2(0x39c)+_0x2ecc90+_0x5d69f2(0x1fa);}exports[_0x3a3cba(0x367)]=class extends a[_0x3a3cba(0x28a)]{constructor(_0x5fe679,_0x51401b,_0x29f6ec,_0x3047e9,_0x196c49){const _0x4b5050=_0x3a3cba;super(),this['_http']=_0x5fe679,this[_0x4b5050(0x5bd)]=_0x51401b,this['_configService']=_0x29f6ec,this[_0x4b5050(0x590)]=_0x3047e9,this[_0x4b5050(0x566)]=_0x196c49;}[_0x3a3cba(0x1e7)](_0x6245b8){const _0x29ba2b=_0x3a3cba,_0x7139e3=this['_ws'][_0x29ba2b(0x1e7)](_0x6245b8);if(!_0x7139e3)throw new Error(_0x29ba2b(0x22d));const _0xf182b1=new a[(_0x29ba2b(0x18c))](),_0x2af862=new A['Subject']();_0xf182b1[_0x29ba2b(0x4b3)](_0x7139e3[_0x29ba2b(0x182)]['subscribe'](_0x42afdb=>_0x2af862['next'](_0x42afdb))),_0xf182b1[_0x29ba2b(0x4b3)](a[_0x29ba2b(0x2bd)](()=>_0x2af862[_0x29ba2b(0x5a7)]()));const _0x3e36e5=new A[(_0x29ba2b(0x132))]();_0xf182b1[_0x29ba2b(0x4b3)](_0x7139e3[_0x29ba2b(0x2c8)][_0x29ba2b(0x250)](_0xda9f18=>_0x3e36e5[_0x29ba2b(0x519)](_0xda9f18))),_0xf182b1[_0x29ba2b(0x4b3)](a[_0x29ba2b(0x2bd)](()=>_0x3e36e5[_0x29ba2b(0x5a7)]()));const _0x3e5c86=new A[(_0x29ba2b(0x132))]();_0xf182b1['add'](_0x7139e3[_0x29ba2b(0x3f9)][_0x29ba2b(0x250)](_0x144b27=>{const _0x3b6add=di(_0x144b27);_0x3e5c86['next'](_0x3b6add);})),_0xf182b1[_0x29ba2b(0x4b3)](a['toDisposable'](()=>_0x3e5c86['complete']()));let _0x204582;const _0x502b8f=()=>{const _0x20ee6e=_0x29ba2b;_0x3e36e5[_0x20ee6e(0x519)](new Event(_0x20ee6e(0x5dd))),_0x2af862['next'](new CloseEvent(_0x20ee6e(0x5dd))),_0x204582[_0x20ee6e(0x14b)]();};return _0x204582={'memberID':'','close$':_0x2af862[_0x29ba2b(0x216)](),'error$':_0x3e36e5['asObservable'](),'open$':_0x7139e3[_0x29ba2b(0x4d6)],'message$':_0x3e5c86['asObservable'](),'send':_0x5ca2bf=>{const _0x54f013=_0x29ba2b;if(_0x5ca2bf[_0x54f013(0x331)]===G['INGEST']){if(_0x5ca2bf['data'][_0x54f013(0x422)]===p[_0x54f013(0x38b)]['SUBMIT_CHANGESET']){this[_0x54f013(0x418)](_0x204582,_0x5ca2bf[_0x54f013(0x19b)])[_0x54f013(0x3e0)](_0x59136b=>{const _0x2869c1=_0x54f013;this[_0x2869c1(0x590)][_0x2869c1(0x2e5)](_0x59136b),_0x502b8f();});return;}if(_0x5ca2bf['data'][_0x54f013(0x422)]===p[_0x54f013(0x38b)][_0x54f013(0x461)]){const _0x23dfff=_0x5ca2bf[_0x54f013(0x19b)];this[_0x54f013(0x23b)](_0x23dfff)[_0x54f013(0x3b0)](_0x23d5c2=>{const _0x28a3f0=_0x54f013;_0x3e5c86[_0x28a3f0(0x519)]({'cmd':G['RECV'],'code':bt['OK'],'routeKey':_0x23dfff[_0x28a3f0(0x19b)][_0x28a3f0(0x40b)],'routeType':'','data':{'eventID':p[_0x28a3f0(0x38b)][_0x28a3f0(0x21c)],'data':{'changesets':_0x23d5c2}}});})[_0x54f013(0x3e0)](_0xb63cf=>{const _0x488eab=_0x54f013;this[_0x488eab(0x590)][_0x488eab(0x2e5)](_0xb63cf),_0x502b8f();});return;}}_0x7139e3[_0x54f013(0x52a)](fi(_0x5ca2bf));},'close':()=>{const _0x2bccf5=_0x29ba2b;_0x7139e3[_0x2bccf5(0x14b)](),_0xf182b1[_0x2bccf5(0x30a)]();}},_0x204582;}async[_0x3a3cba(0x418)](_0x4f74d9,_0x5e32f2){const _0x2ef9c8=_0x3a3cba;var _0x55f0eb,_0x113796;const {unitType:_0x331396,unitID:_0x527cdc,changeset:_0x54593e}=_0x5e32f2['data'],_0x59f929={'unitID':_0x527cdc,'memberID':_0x4f74d9[_0x2ef9c8(0x35c)],'type':_0x331396,'changeset':p['parseChangesetToProtocol'](_0x54593e)},_0x57883a=this['_configService'][_0x2ef9c8(0x3cc)](li),_0x12564e=this[_0x2ef9c8(0x4d1)][_0x2ef9c8(0x3cc)](Q),_0x5459e7=nn((_0x113796=(_0x55f0eb=_0x12564e==null?void 0x0:_0x12564e[_0x2ef9c8(0x1ea)])!=null?_0x55f0eb:_0x57883a)!=null?_0x113796:Xi,_0x331396,_0x527cdc);try{await this[_0x2ef9c8(0x587)][_0x2ef9c8(0x4e0)](_0x5459e7,{'body':_0x59f929});}catch(_0x5d16c9){throw this[_0x2ef9c8(0x590)]['error'](_0x2ef9c8(0x333),_0x2ef9c8(0x33f)),_0x5d16c9;}}async[_0x3a3cba(0x23b)](_0x284ef7){const _0x4d734c=_0x3a3cba,{unitID:_0x326b60,from:_0x3e8326,to:_0x213072,unitType:_0x15207d}=_0x284ef7[_0x4d734c(0x19b)];return(await this[_0x4d734c(0x566)][_0x4d734c(0x1e0)]({'metadata':void 0x0},{'unitID':_0x326b60,'type':_0x15207d,'from':_0x3e8326,'to':_0x213072}))['changesets'];}},exports[_0x3a3cba(0x367)]=tn([Pe(0x0,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)])),Pe(0x1,a[_0x3a3cba(0x4b4)](z['WebSocketService'])),Pe(0x2,a['IConfigService']),Pe(0x3,a[_0x3a3cba(0x4cc)]),Pe(0x4,p['ISnapshotServerService'])],exports[_0x3a3cba(0x367)]);const sn=_0x3a3cba(0x4bf);function rn(_0x48876c){const _0x27930a=_0x3a3cba;return JSON[_0x27930a(0x405)](_0x48876c)['length'];}class Rt{constructor(){const _0x2c02db=_0x3a3cba;I(this,_0x2c02db(0x3d5),new A['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x3a3cba(0x1af)](_0x404008){const _0x55cdf2=_0x3a3cba;this[_0x55cdf2(0x3d5)][_0x55cdf2(0x519)](_0x404008);}}var on=Object[_0x3a3cba(0x5d1)],an=Object['getOwnPropertyDescriptor'],cn=(_0x36e8e8,_0x1067df,_0x15cd28,_0x1fae73)=>{for(var _0xb75f8b=_0x1fae73>0x1?void 0x0:_0x1fae73?an(_0x1067df,_0x15cd28):_0x1067df,_0x1f6ca2=_0x36e8e8['length']-0x1,_0x58404f;_0x1f6ca2>=0x0;_0x1f6ca2--)(_0x58404f=_0x36e8e8[_0x1f6ca2])&&(_0xb75f8b=(_0x1fae73?_0x58404f(_0x1067df,_0x15cd28,_0xb75f8b):_0x58404f(_0xb75f8b))||_0xb75f8b);return _0x1fae73&&_0xb75f8b&&on(_0x1067df,_0x15cd28,_0xb75f8b),_0xb75f8b;},At=(_0x143e3c,_0x346a66)=>(_0x4e1a0f,_0x2febcb)=>_0x346a66(_0x4e1a0f,_0x2febcb,_0x143e3c);exports[_0x3a3cba(0x510)]=class extends a[_0x3a3cba(0x28a)]{constructor(_0x429ddb,_0x4919a0){const _0x515843=_0x3a3cba;super(),I(this,_0x515843(0x5bc),new Map()),(this[_0x515843(0x206)]=_0x429ddb,this['_userManagerService']=_0x4919a0,this[_0x515843(0x5e6)](a[_0x515843(0x2bd)](A['merge'](this[_0x515843(0x206)]['getTypeOfUnitDisposed$'](a[_0x515843(0x231)][_0x515843(0x1b5)])[_0x515843(0x17b)](V[_0x515843(0x53a)](_0x5b9976=>_0x5b9976[_0x515843(0x470)]())),this['_univerInstanceService'][_0x515843(0x404)](a[_0x515843(0x231)]['UNIVER_DOC'])[_0x515843(0x17b)](V['map'](_0x5db454=>_0x5db454[_0x515843(0x470)]())),this[_0x515843(0x206)][_0x515843(0x404)](a[_0x515843(0x231)][_0x515843(0x23d)])[_0x515843(0x17b)](V[_0x515843(0x53a)](_0x5bc962=>_0x5bc962[_0x515843(0x470)]())))[_0x515843(0x250)](_0x277e8d=>this[_0x515843(0x573)](_0x277e8d)))));}[_0x3a3cba(0x183)](_0x17e6d2){const _0x1f3d9b=_0x3a3cba;this['_userManagerService'][_0x1f3d9b(0x183)](_0x17e6d2);}[_0x3a3cba(0x243)](){const _0x2f9d9c=_0x3a3cba;return this[_0x2f9d9c(0x256)][_0x2f9d9c(0x243)]();}[_0x3a3cba(0x2d2)](_0x2855c5,_0x1f3290){const _0xf18ce0=_0x3a3cba;let _0x59b3b9=this[_0xf18ce0(0x5bc)]['get'](_0x2855c5);_0x59b3b9||(_0x59b3b9=new ln(),this[_0xf18ce0(0x5bc)][_0xf18ce0(0x38a)](_0x2855c5,_0x59b3b9)),_0x59b3b9[_0xf18ce0(0x2d2)](_0x1f3290);}[_0x3a3cba(0x5e0)](_0x2d0d0d,_0x23e3f2){const _0x452d47=_0x3a3cba,_0x297dc5=this['_roomMembers'][_0x452d47(0x449)](_0x2d0d0d);_0x297dc5&&_0x297dc5[_0x452d47(0x5e0)](_0x23e3f2);}[_0x3a3cba(0x5e7)](_0x1f2c63){return this['_roomMembers']['get'](_0x1f2c63);}[_0x3a3cba(0x50a)](_0x356fe8,_0x3d6000){const _0x5d0d27=_0x3a3cba,_0x7d5255=this[_0x5d0d27(0x5bc)][_0x5d0d27(0x449)](_0x356fe8);if(_0x7d5255)return _0x7d5255[_0x5d0d27(0x50a)](_0x3d6000);}[_0x3a3cba(0x573)](_0x337230){const _0x136045=_0x3a3cba,_0x11b8ba=this['_roomMembers'][_0x136045(0x449)](_0x337230);_0x11b8ba&&(_0x11b8ba[_0x136045(0x30a)](),this['_roomMembers']['delete'](_0x337230));}[_0x3a3cba(0x30a)](){const _0x26883c=_0x3a3cba;this[_0x26883c(0x5bc)][_0x26883c(0x281)](_0x35e9ba=>_0x35e9ba[_0x26883c(0x30a)]()),this[_0x26883c(0x5bc)][_0x26883c(0x505)]();}},exports[_0x3a3cba(0x510)]=cn([At(0x0,a[_0x3a3cba(0x1c9)]),At(0x1,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x4e9)]))],exports[_0x3a3cba(0x510)]);class ln extends a[_0x3a3cba(0x28a)]{constructor(){const _0x2fafba=_0x3a3cba;super(...arguments),I(this,_0x2fafba(0x51f),new Map());}[_0x3a3cba(0x30a)](){const _0x21e1c8=_0x3a3cba;this[_0x21e1c8(0x51f)][_0x21e1c8(0x505)]();}[_0x3a3cba(0x2d2)](_0x23d90d){const _0x3d3fa5=_0x3a3cba;this['_members'][_0x3d3fa5(0x38a)](_0x23d90d[_0x3d3fa5(0x35c)],_0x23d90d);}['removeMember'](_0x25c8c6){const _0x14b806=_0x3a3cba;this[_0x14b806(0x51f)][_0x14b806(0x26b)](_0x25c8c6);}[_0x3a3cba(0x50a)](_0x54ce17){const _0x2c3dcd=_0x3a3cba;return this[_0x2c3dcd(0x51f)][_0x2c3dcd(0x449)](_0x54ce17);}[_0x3a3cba(0x5f0)](){const _0x28e50c=_0x3a3cba;return Array[_0x28e50c(0x1ba)](this[_0x28e50c(0x51f)][_0x28e50c(0x578)]());}}var hn=Object[_0x3a3cba(0x5d1)],_n=Object[_0x3a3cba(0x42d)],un=(_0x2f1241,_0x24ec3e,_0x3ac40f,_0xd2e102)=>{const _0x56222c=_0x3a3cba;for(var _0x4ac78a=_0xd2e102>0x1?void 0x0:_0xd2e102?_n(_0x24ec3e,_0x3ac40f):_0x24ec3e,_0xed2894=_0x2f1241[_0x56222c(0x16b)]-0x1,_0x4839a3;_0xed2894>=0x0;_0xed2894--)(_0x4839a3=_0x2f1241[_0xed2894])&&(_0x4ac78a=(_0xd2e102?_0x4839a3(_0x24ec3e,_0x3ac40f,_0x4ac78a):_0x4839a3(_0x4ac78a))||_0x4ac78a);return _0xd2e102&&_0x4ac78a&&hn(_0x24ec3e,_0x3ac40f,_0x4ac78a),_0x4ac78a;},de=(_0x513eaa,_0x4f117c)=>(_0xf32946,_0x196a4a)=>_0x4f117c(_0xf32946,_0x196a4a,_0x513eaa),se=(_0x100ec1=>(_0x100ec1[_0x100ec1[_0x3a3cba(0x23f)]=0x0]=_0x3a3cba(0x23f),_0x100ec1[_0x100ec1[_0x3a3cba(0x4d2)]=0x1]=_0x3a3cba(0x4d2),_0x100ec1[_0x100ec1[_0x3a3cba(0x49b)]=0x2]=_0x3a3cba(0x49b),_0x100ec1[_0x100ec1['ONLINE']=0x3]='ONLINE',_0x100ec1))(se||{});exports[_0x3a3cba(0x509)]=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x512c71,_0x5a0848,_0xc5c647,_0x31e1f5,_0x3f906c,_0x1da5a0,_0xe136,_0x959092,_0x51d8c3,_0x360418){const _0x2803f0=_0x3a3cba;super(),I(this,_0x2803f0(0x3b4),new A[(_0x2803f0(0x2bf))](0x0)),I(this,'sessionStatus$',this['_sessionStatus$'][_0x2803f0(0x216)]()),I(this,_0x2803f0(0x503),new A[(_0x2803f0(0x132))]()),I(this,'event$',this['_event$'][_0x2803f0(0x216)]()),I(this,'_socket'),I(this,_0x2803f0(0x477)),I(this,_0x2803f0(0x5ae)),I(this,_0x2803f0(0x472),!0x1),I(this,_0x2803f0(0x32b),null),(this[_0x2803f0(0x3dc)]=_0x512c71,this[_0x2803f0(0x590)]=_0xc5c647,this[_0x2803f0(0x5b0)]=_0x31e1f5,this[_0x2803f0(0x133)]=_0x3f906c,this['_configService']=_0x1da5a0,this[_0x2803f0(0x507)]=_0xe136,this[_0x2803f0(0x2d0)]=_0x959092,this['_commentService']=_0x51d8c3,this[_0x2803f0(0x299)]=_0x360418,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x5a0848[_0x2803f0(0x17b)](A['takeUntil'](this[_0x2803f0(0x541)]))[_0x2803f0(0x250)](_0x15a9af=>{const _0x18f3ca=_0x2803f0;var _0x28887a;typeof _0x15a9af>'u'||(this[_0x18f3ca(0x5ab)]=_0x15a9af,_0x15a9af?(this[_0x18f3ca(0x3da)](_0x15a9af),this[_0x18f3ca(0x477)]=_0x15a9af[_0x18f3ca(0x3f9)][_0x18f3ca(0x250)](_0x4ba600=>{const _0x28b25d=_0x18f3ca;_0x4ba600['routeKey']===this[_0x28b25d(0x3dc)]&&this['_onCombEvent'](_0x4ba600);})):(this[_0x18f3ca(0x466)](),this[_0x18f3ca(0x3b4)][_0x18f3ca(0x519)](0x2),(_0x28887a=this['_socketMessageSubscription'])==null||_0x28887a[_0x18f3ca(0x1c6)](),this[_0x18f3ca(0x477)]=null));}),this['disposeWithMe'](this[_0x2803f0(0x5b0)][_0x2803f0(0x5a8)](()=>{const _0x5b272e=_0x2803f0;var _0x31373e;(_0x31373e=this[_0x5b272e(0x5ab)])==null||_0x31373e[_0x5b272e(0x52a)]({'cmd':G[_0x5b272e(0x1aa)],'data':{'roomID':this[_0x5b272e(0x3dc)]}});})));}get['sessionStatus'](){const _0x45b043=_0x3a3cba;return this[_0x45b043(0x3b4)][_0x45b043(0x315)]();}[_0x3a3cba(0x542)](){const _0x31137a=_0x3a3cba;var _0x418e97,_0x43b3cd;return(_0x43b3cd=(_0x418e97=this[_0x31137a(0x5ab)])==null?void 0x0:_0x418e97['memberID'])!=null?_0x43b3cd:null;}[_0x3a3cba(0x30a)](){const _0x2dc6d6=_0x3a3cba;super[_0x2dc6d6(0x30a)](),this['dispose$'][_0x2dc6d6(0x519)](),this[_0x2dc6d6(0x541)][_0x2dc6d6(0x5a7)]();}[_0x3a3cba(0x14b)](){const _0x61a74b=_0x3a3cba;var _0x375e0d,_0x30a909;this[_0x61a74b(0x466)](),(_0x375e0d=this[_0x61a74b(0x5ab)])==null||_0x375e0d[_0x61a74b(0x52a)]({'cmd':G[_0x61a74b(0x1aa)],'data':{'roomID':this['_unitID']}}),(_0x30a909=this[_0x61a74b(0x5ab)])==null||_0x30a909[_0x61a74b(0x14b)](),this[_0x61a74b(0x503)][_0x61a74b(0x5a7)](),this[_0x61a74b(0x3b4)]['complete'](),this[_0x61a74b(0x30a)]();}['_onCombEvent'](_0x5419a4){const _0x5fd0ce=_0x3a3cba;_0x5419a4['cmd']===G['JOIN']?this['_onJoinRoomEvent'](_0x5419a4):_0x5419a4[_0x5fd0ce(0x331)]===G[_0x5fd0ce(0x204)]&&this['_onRecvEvent'](_0x5419a4);}[_0x3a3cba(0x3da)](_0x5ee0f4){const _0x46b040=_0x3a3cba;this[_0x46b040(0x3b4)]['next'](0x1),_0x5ee0f4[_0x46b040(0x52a)]({'cmd':G['JOIN'],'routeKey':this[_0x46b040(0x3dc)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3a3cba(0x191)](_0x3e53ef){const _0x46ae47=_0x3a3cba;var _0x4fece6;if(_0x3e53ef[_0x46ae47(0x199)]===bt['FAIL']){this[_0x46ae47(0x133)]['show']({'type':Ce[_0x46ae47(0x45b)][_0x46ae47(0x56d)],'content':this['_localeService']['t'](_0x46ae47(0x1e4))}),this[_0x46ae47(0x3b4)][_0x46ae47(0x519)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x558bed=(_0x4fece6=_0x3e53ef[_0x46ae47(0x19b)]['roomInfos'][this[_0x46ae47(0x3dc)]])==null?void 0x0:_0x4fece6[_0x46ae47(0x46c)];_0x558bed&&_0x558bed[_0x46ae47(0x281)](_0x23e066=>this[_0x46ae47(0x2d0)][_0x46ae47(0x2d2)](this['_unitID'],_0x23e066));}['_onRecvEvent'](_0xd11012){const _0xf5457c=_0x3a3cba;try{const _0x484c06=_0xd11012[_0xf5457c(0x19b)];switch(_0x484c06[_0xf5457c(0x422)]){case p[_0xf5457c(0x38b)][_0xf5457c(0x211)]:this[_0xf5457c(0x2ae)](_0x484c06),this['_event$'][_0xf5457c(0x519)](_0x484c06);break;case p[_0xf5457c(0x38b)][_0xf5457c(0x310)]:this[_0xf5457c(0x4b6)](_0x484c06),this[_0xf5457c(0x503)][_0xf5457c(0x519)](_0x484c06);break;case p[_0xf5457c(0x38b)]['CHANGESET_ACK']:case p[_0xf5457c(0x38b)]['CHANGESET_SHOULD_RETRY']:this[_0xf5457c(0x3f8)](),this[_0xf5457c(0x2a1)](),this['_event$']['next'](_0x484c06);break;case p[_0xf5457c(0x38b)]['MSG_FOR_ERROR']:this[_0xf5457c(0x590)]['error'](_0xf5457c(0x417)+JSON['stringify'](_0x484c06)),this[_0xf5457c(0x503)][_0xf5457c(0x519)](_0x484c06);break;case p[_0xf5457c(0x38b)][_0xf5457c(0x59e)]:this[_0xf5457c(0x2ed)][_0xf5457c(0x1af)](_0x484c06['data']),this[_0xf5457c(0x503)][_0xf5457c(0x519)](_0x484c06);break;default:this[_0xf5457c(0x503)]['next'](_0x484c06);}}catch(_0x4c6915){this['_logService']['error'](_0x4c6915,_0xd11012);}}[_0x3a3cba(0x2ae)](_0x4568e3){const _0x154c85=_0x3a3cba;this[_0x154c85(0x2d0)][_0x154c85(0x2d2)](this['_unitID'],_0x4568e3[_0x154c85(0x19b)]);}[_0x3a3cba(0x4b6)](_0x1e8741){const _0x1e4c32=_0x3a3cba;this[_0x1e4c32(0x2d0)][_0x1e4c32(0x5e0)](this['_unitID'],_0x1e8741[_0x1e4c32(0x19b)][_0x1e4c32(0x35c)]);}async['send'](_0x375e13,_0x23a2b9){const _0x4ce01d=_0x3a3cba;if(this[_0x4ce01d(0x146)]!==0x3||!this['_socket'])throw new Error(_0x4ce01d(0x402));try{_0x375e13[_0x4ce01d(0x422)]===p[_0x4ce01d(0x38b)][_0x4ce01d(0x5d6)]&&(this[_0x4ce01d(0x136)](),this[_0x4ce01d(0x3f0)](_0x375e13)),this['_socket']['send']({'cmd':G['INGEST'],'routeKey':_0x23a2b9,'routeType':'','data':_0x375e13});}catch(_0x316fbf){this['_logService']['error'](_0x316fbf);}}[_0x3a3cba(0x136)](){const _0x13050e=_0x3a3cba;var _0x32963a;this[_0x13050e(0x5ae)]=window['setTimeout'](()=>{const _0x9e4fc0=_0x13050e;this[_0x9e4fc0(0x5ae)]=null,this['_messageService'][_0x9e4fc0(0x1bd)]({'type':Ce['MessageType'][_0x9e4fc0(0x202)],'content':this[_0x9e4fc0(0x507)]['t'](_0x9e4fc0(0x5cf))});},(_0x32963a=this[_0x13050e(0x4d1)][_0x13050e(0x3cc)](Et))!=null?_0x32963a:oi);}['_clearCollaborationTimeoutTimer'](){const _0x1d2ed5=_0x3a3cba;this[_0x1d2ed5(0x5ae)]&&(clearTimeout(this[_0x1d2ed5(0x5ae)]),this['_collaborationTimeoutTimer']=null);}[_0x3a3cba(0x3f0)](_0x4eb20d){const _0x365f64=_0x3a3cba;if(!this[_0x365f64(0x472)])return;const {data:_0x299019}=_0x4eb20d,{unitID:_0x2d4870,changeset:_0x1a4993}=_0x299019,{mutations:_0x4c40e2,type:_0x5290b5}=_0x1a4993;this[_0x365f64(0x32b)]={'unitId':_0x2d4870,'type':_0x5290b5,'startTime':performance[_0x365f64(0x410)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x4c40e2)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x17a498=_0x3a3cba;if(this['_shouldReportTelemetry']){if(!this[_0x17a498(0x32b)]){this[_0x17a498(0x590)]['error'](_0x17a498(0x333),_0x17a498(0x401));return;}this['_telemetryInfo'][_0x17a498(0x51d)]=performance['now'](),this['_telemetryInfo'][_0x17a498(0x481)]=this[_0x17a498(0x32b)][_0x17a498(0x51d)]-this[_0x17a498(0x32b)]['startTime'],this[_0x17a498(0x299)]['capture'](sn,this[_0x17a498(0x32b)]),this[_0x17a498(0x32b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x29b8a1=_0x3a3cba;this[_0x29b8a1(0x32b)]=null;}},exports[_0x3a3cba(0x509)]=un([de(0x2,a[_0x3a3cba(0x4cc)]),de(0x3,te[_0x3a3cba(0x5ad)]),de(0x4,te[_0x3a3cba(0x28d)]),de(0x5,a[_0x3a3cba(0x311)]),de(0x6,a[_0x3a3cba(0x4b4)](a['LocaleService'])),de(0x7,a['Inject'](exports[_0x3a3cba(0x510)])),de(0x8,a[_0x3a3cba(0x4b4)](Rt)),de(0x9,a['Optional'](Hi[_0x3a3cba(0x50e)]))],exports[_0x3a3cba(0x509)]);var dn=Object['defineProperty'],fn=Object[_0x3a3cba(0x42d)],vn=(_0x62bc70,_0x472b2e,_0x590516,_0x5045cc)=>{for(var _0x5a4e3c=_0x5045cc>0x1?void 0x0:_0x5045cc?fn(_0x472b2e,_0x590516):_0x472b2e,_0x3f27a1=_0x62bc70['length']-0x1,_0x1d219f;_0x3f27a1>=0x0;_0x3f27a1--)(_0x1d219f=_0x62bc70[_0x3f27a1])&&(_0x5a4e3c=(_0x5045cc?_0x1d219f(_0x472b2e,_0x590516,_0x5a4e3c):_0x1d219f(_0x5a4e3c))||_0x5a4e3c);return _0x5045cc&&_0x5a4e3c&&dn(_0x472b2e,_0x590516,_0x5a4e3c),_0x5a4e3c;},pe=(_0x2592fa,_0x153ca6)=>(_0xdcf772,_0x393b0c)=>_0x153ca6(_0xdcf772,_0x393b0c,_0x2592fa);exports['CollaborationSessionService']=class extends a[_0x3a3cba(0x28a)]{constructor(_0x30764a,_0x2321c5,_0x494623,_0x56d218,_0xece526,_0x208d0a,_0x6bf582){const _0x263b80=_0x3a3cba;super(),I(this,_0x263b80(0x188),new A['BehaviorSubject'](void 0x0)),I(this,_0x263b80(0x4b5),this['_socket$']['asObservable']()),I(this,'_candidateSocket',null),I(this,_0x263b80(0x3c3),new Map()),I(this,_0x263b80(0x2c7),new A[(_0x263b80(0x2bf))](se['IDLE'])),I(this,_0x263b80(0x47f),this['_status$'][_0x263b80(0x216)]()),I(this,_0x263b80(0x46e),!0x1),I(this,'_retryConnectingTimer'),I(this,'_retryCount',0x0),I(this,_0x263b80(0x597)),I(this,_0x263b80(0x393)),(this[_0x263b80(0x23e)]=_0x30764a,this[_0x263b80(0x507)]=_0x2321c5,this[_0x263b80(0x133)]=_0x494623,this['_logService']=_0x56d218,this[_0x263b80(0x4d1)]=_0xece526,this[_0x263b80(0x482)]=_0x208d0a,this[_0x263b80(0x586)]=_0x6bf582,this[_0x263b80(0x588)]());}get[_0x3a3cba(0x5ab)](){const _0x887995=_0x3a3cba;return this[_0x887995(0x188)][_0x887995(0x315)]();}[_0x3a3cba(0x588)](){const _0x46d628=_0x3a3cba;this[_0x46d628(0x222)](),this[_0x46d628(0x43e)]();}[_0x3a3cba(0x30a)](){const _0x4416d9=_0x3a3cba;super[_0x4416d9(0x30a)](),this[_0x4416d9(0x3c3)][_0x4416d9(0x281)](_0x40e0df=>_0x40e0df[_0x4416d9(0x30a)]()),this[_0x4416d9(0x3c3)]['clear'](),this[_0x4416d9(0x2c7)][_0x4416d9(0x5a7)]();}async[_0x3a3cba(0x1e3)](_0x5a3a31){const _0x1ea92c=_0x3a3cba;if(this[_0x1ea92c(0x3c3)][_0x1ea92c(0x16f)](_0x5a3a31))return this[_0x1ea92c(0x3c3)][_0x1ea92c(0x449)](_0x5a3a31);this[_0x1ea92c(0x1c8)]();const _0x2a9bd3=this[_0x1ea92c(0x23e)][_0x1ea92c(0x1c5)](exports['CollaborationSession'],_0x5a3a31,this[_0x1ea92c(0x188)][_0x1ea92c(0x216)]());return this[_0x1ea92c(0x3c3)][_0x1ea92c(0x38a)](_0x5a3a31,_0x2a9bd3),_0x2a9bd3;}[_0x3a3cba(0x445)](_0x38a36a){const _0x312a58=_0x3a3cba;var _0x470242;const _0xd2bf38=this[_0x312a58(0x3c3)][_0x312a58(0x449)](_0x38a36a);_0xd2bf38&&(this[_0x312a58(0x3c3)][_0x312a58(0x26b)](_0x38a36a),_0xd2bf38[_0x312a58(0x14b)]()),this[_0x312a58(0x3c3)][_0x312a58(0x51e)]||(_0x470242=this[_0x312a58(0x5ab)])==null||_0x470242[_0x312a58(0x14b)]();}[_0x3a3cba(0x533)](){const _0x3c2dc1=_0x3a3cba;this[_0x3c2dc1(0x553)]=0x0,this[_0x3c2dc1(0x49d)]!=null&&(clearTimeout(this[_0x3c2dc1(0x49d)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0xe86996=_0x3a3cba;var _0x42bd99,_0x18e4c2,_0x29a931;const _0x26dab7=this[_0xe86996(0x4d1)][_0xe86996(0x3cc)](Q),_0x5ac567=(_0x42bd99=_0x26dab7==null?void 0x0:_0x26dab7[_0xe86996(0x34b)])!=null?_0x42bd99:Gi;return(_0x29a931=(_0x18e4c2=(await this[_0xe86996(0x586)][_0xe86996(0x449)](_0x5ac567,{'headers':{'Content-Type':_0xe86996(0x164)}}))[_0xe86996(0x4eb)])==null?void 0x0:_0x18e4c2[_0xe86996(0x50c)])!=null?_0x29a931:'';}[_0x3a3cba(0x58f)](_0x570b49){const _0x39347f=_0x3a3cba;var _0x4faa37,_0x15cfac;const _0xdfb24d=this[_0x39347f(0x4d1)][_0x39347f(0x3cc)](si),_0x2591f9=this[_0x39347f(0x4d1)]['getConfig'](Q),_0x112ec8=(_0x15cfac=(_0x4faa37=_0x2591f9==null?void 0x0:_0x2591f9[_0x39347f(0x242)])!=null?_0x4faa37:_0xdfb24d)!=null?_0x15cfac:Vi,_0x2c78e8=new URL(_0x112ec8,window[_0x39347f(0x5be)]['origin']);return _0x2c78e8[_0x39347f(0x22f)]['set'](_0x39347f(0x319),_0x570b49),_0x2c78e8[_0x39347f(0x2c4)]();}async[_0x3a3cba(0x2f9)](){const _0x1fa195=_0x3a3cba,_0x306c3b=await this[_0x1fa195(0x57b)](),_0x11ea9b=this[_0x1fa195(0x58f)](_0x306c3b),_0x10a387=this[_0x1fa195(0x482)][_0x1fa195(0x1e7)](_0x11ea9b);return this[_0x1fa195(0x474)]=_0x10a387,_0x10a387;}async[_0x3a3cba(0x1c8)](){const _0x2a234c=_0x3a3cba;var _0x2a26de,_0x3670b8;try{const _0x36b9d9=(_0x3670b8=(_0x2a26de=this[_0x2a234c(0x5ab)])!=null?_0x2a26de:this[_0x2a234c(0x474)])!=null?_0x3670b8:await this[_0x2a234c(0x2f9)]();if(_0x36b9d9){const _0x1ec81c=_0x36b9d9[_0x2a234c(0x52a)];_0x36b9d9['send']=_0x18c0d7=>(this[_0x2a234c(0x403)](),_0x1ec81c['apply'](_0x36b9d9,[_0x18c0d7])),_0x36b9d9[_0x2a234c(0x3f9)][_0x2a234c(0x250)](_0x17f539=>this[_0x2a234c(0x5bf)](_0x36b9d9,_0x17f539)),_0x36b9d9[_0x2a234c(0x2c8)]['pipe'](V[_0x2a234c(0x1e9)](0x1))[_0x2a234c(0x250)](_0x3d31c1=>this[_0x2a234c(0x590)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3d31c1)),_0x36b9d9[_0x2a234c(0x4d6)][_0x2a234c(0x17b)](V['take'](0x1))[_0x2a234c(0x250)](()=>{const _0x4ba9a4=_0x2a234c;this[_0x4ba9a4(0x326)](_0x36b9d9);}),_0x36b9d9[_0x2a234c(0x182)][_0x2a234c(0x17b)](V[_0x2a234c(0x1e9)](0x1))['subscribe'](_0x44fef2=>{const _0x4b8ae6=_0x2a234c;this[_0x4b8ae6(0x590)][_0x4b8ae6(0x2ba)](_0x4b8ae6(0x365),_0x4b8ae6(0x4af),_0x44fef2),this[_0x4b8ae6(0x425)]();});}}catch(_0x10446f){this['_logService'][_0x2a234c(0x2e5)](_0x10446f),this[_0x2a234c(0x425)]();}}[_0x3a3cba(0x326)](_0x455c69){const _0x25dff4=_0x3a3cba;this[_0x25dff4(0x590)][_0x25dff4(0x2ba)](_0x25dff4(0x365),_0x25dff4(0x575)),_0x455c69['send']({'cmd':G[_0x25dff4(0x239)]}),this[_0x25dff4(0x403)]();}[_0x3a3cba(0x222)](){const _0x5ecc1d=_0x3a3cba;window[_0x5ecc1d(0x22b)](_0x5ecc1d(0x4cb),()=>this[_0x5ecc1d(0x342)]());}['_onOffline'](){const _0x12cd8e=_0x3a3cba;this['_socketReady']=!0x1,this[_0x12cd8e(0x474)]=null,this[_0x12cd8e(0x2c7)][_0x12cd8e(0x519)](se[_0x12cd8e(0x49b)]),this['_socket$']['next'](null),this[_0x12cd8e(0x426)](),this[_0x12cd8e(0x18d)]();}['_onConnectionFailed'](){const _0x2ec87c=_0x3a3cba;var _0x416192;this[_0x2ec87c(0x342)](),this[_0x2ec87c(0x553)]<((_0x416192=this[_0x2ec87c(0x4d1)][_0x2ec87c(0x3cc)](ai))!=null?_0x416192:qi)?(this[_0x2ec87c(0x133)][_0x2ec87c(0x1bd)]({'key':_0x2ec87c(0x529),'type':Ce['MessageType'][_0x2ec87c(0x56d)],'content':this['_localeService']['t'](_0x2ec87c(0x2d6))}),this[_0x2ec87c(0x1c1)]()):this[_0x2ec87c(0x133)]['show']({'key':'collaboration-session-retry','type':Ce[_0x2ec87c(0x45b)][_0x2ec87c(0x202)],'content':this[_0x2ec87c(0x507)]['t'](_0x2ec87c(0x522))});}[_0x3a3cba(0x43e)](){const _0x114049=_0x3a3cba,_0x180429=()=>{const _0x13bb24=_0x131b;this[_0x13bb24(0x5ab)]||this[_0x13bb24(0x533)]();},_0x5734e3=()=>{const _0x140fa4=_0x131b;this[_0x140fa4(0x5ab)]||document[_0x140fa4(0x2ea)]==='hidden'||this[_0x140fa4(0x533)]();};window['addEventListener'](_0x114049(0x3af),_0x180429),document[_0x114049(0x22b)]('visibilitychange',_0x5734e3);}[_0x3a3cba(0x1c1)](){const _0xd8958a=_0x3a3cba;var _0x2227c2;const _0x30987b=this[_0xd8958a(0x553)],_0x236007=this[_0xd8958a(0x4d1)][_0xd8958a(0x3cc)](Q),_0x2e6e0c=_0x30987b===0x0?0x0:((_0x2227c2=_0x236007==null?void 0x0:_0x236007[_0xd8958a(0x412)])!=null?_0x2227c2:Ki)*0x2**_0x30987b;this[_0xd8958a(0x49d)]=window[_0xd8958a(0x300)](()=>{const _0x4f004f=_0xd8958a;clearTimeout(this['_retryConnectingTimer']),this[_0x4f004f(0x49d)]=null,this[_0x4f004f(0x1c8)]();},_0x2e6e0c),this[_0xd8958a(0x553)]+=0x1;}['_onMessage'](_0x53dd5c,_0x226111){const _0x3e467a=_0x3a3cba,{cmd:_0x27dcb5}=_0x226111;_0x27dcb5===G[_0x3e467a(0x239)]&&!this['_socketReady']&&(_0x53dd5c[_0x3e467a(0x35c)]=_0x226111[_0x3e467a(0x19b)]['memberID'],this['_socket$'][_0x3e467a(0x519)](_0x53dd5c),this[_0x3e467a(0x2c7)][_0x3e467a(0x519)](se[_0x3e467a(0x471)]),this['_socketReady']=!0x0,this[_0x3e467a(0x474)]=null),_0x27dcb5===G['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x3a3cba(0x403)](){const _0x4b354e=_0x3a3cba;var _0x118e2a;this[_0x4b354e(0x18d)](),this[_0x4b354e(0x597)]=window[_0x4b354e(0x300)](()=>this[_0x4b354e(0x312)](),(_0x118e2a=this[_0x4b354e(0x4d1)][_0x4b354e(0x3cc)](ri))!=null?_0x118e2a:Yi);}['_sendHeartbeat'](){const _0x2bcbf5=_0x3a3cba;this[_0x2bcbf5(0x5ab)][_0x2bcbf5(0x52a)]({'cmd':G[_0x2bcbf5(0x175)]}),this[_0x2bcbf5(0x4d0)]();}[_0x3a3cba(0x4d0)](){const _0x59e5e6=_0x3a3cba;var _0x51ee86;this[_0x59e5e6(0x393)]=window[_0x59e5e6(0x300)](()=>this['_onConnectionFailed'](),(_0x51ee86=this[_0x59e5e6(0x4d1)][_0x59e5e6(0x3cc)](Et))!=null?_0x51ee86:oi);}[_0x3a3cba(0x18d)](){const _0x2eca44=_0x3a3cba;this[_0x2eca44(0x597)]!=null&&(clearTimeout(this[_0x2eca44(0x597)]),this[_0x2eca44(0x597)]=null);}[_0x3a3cba(0x426)](){const _0x2b9d21=_0x3a3cba;this[_0x2b9d21(0x393)]!=null&&(clearTimeout(this[_0x2b9d21(0x393)]),this[_0x2b9d21(0x393)]=null);}},exports[_0x3a3cba(0x19d)]=vn([pe(0x0,a['Inject'](a[_0x3a3cba(0x207)])),pe(0x1,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),pe(0x2,te[_0x3a3cba(0x28d)]),pe(0x3,a[_0x3a3cba(0x4cc)]),pe(0x4,a[_0x3a3cba(0x311)]),pe(0x5,Tt),pe(0x6,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)]))],exports[_0x3a3cba(0x19d)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x3a3cba(0x31b)]((s+0x100)[_0x3a3cba(0x2c4)](0x10)[_0x3a3cba(0x145)](0x1));function Sn(_0x159e28,_0x34e347=0x0){const _0x18ea6a=_0x3a3cba;return(Y[_0x159e28[_0x34e347+0x0]]+Y[_0x159e28[_0x34e347+0x1]]+Y[_0x159e28[_0x34e347+0x2]]+Y[_0x159e28[_0x34e347+0x3]]+'-'+Y[_0x159e28[_0x34e347+0x4]]+Y[_0x159e28[_0x34e347+0x5]]+'-'+Y[_0x159e28[_0x34e347+0x6]]+Y[_0x159e28[_0x34e347+0x7]]+'-'+Y[_0x159e28[_0x34e347+0x8]]+Y[_0x159e28[_0x34e347+0x9]]+'-'+Y[_0x159e28[_0x34e347+0xa]]+Y[_0x159e28[_0x34e347+0xb]]+Y[_0x159e28[_0x34e347+0xc]]+Y[_0x159e28[_0x34e347+0xd]]+Y[_0x159e28[_0x34e347+0xe]]+Y[_0x159e28[_0x34e347+0xf]])[_0x18ea6a(0x259)]();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x34dbb4=_0x3a3cba;if(!Ze){if(typeof crypto>'u'||!crypto[_0x34dbb4(0x547)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ze=crypto['getRandomValues']['bind'](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x3a3cba(0x42a)]&&crypto[_0x3a3cba(0x42a)]['bind'](crypto),Nt={'randomUUID':gn};function In(_0x19991a,_0x152f0a,_0x25775e){const _0x1b0a74=_0x3a3cba;if(Nt[_0x1b0a74(0x42a)]&&!_0x152f0a&&!_0x19991a)return Nt['randomUUID']();_0x19991a=_0x19991a||{};const _0x1dd2dd=_0x19991a[_0x1b0a74(0x14e)]||(_0x19991a['rng']||mn)();return _0x1dd2dd[0x6]=_0x1dd2dd[0x6]&0xf|0x40,_0x1dd2dd[0x8]=_0x1dd2dd[0x8]&0x3f|0x80,Sn(_0x1dd2dd);}var Cn=Object[_0x3a3cba(0x5d1)],En=Object['getOwnPropertyDescriptor'],bn=(_0x25a3e1,_0x28c191,_0x3c932d,_0x1f52a8)=>{const _0x2a55f7=_0x3a3cba;for(var _0x1e2c97=_0x1f52a8>0x1?void 0x0:_0x1f52a8?En(_0x28c191,_0x3c932d):_0x28c191,_0x32e604=_0x25a3e1[_0x2a55f7(0x16b)]-0x1,_0x11504a;_0x32e604>=0x0;_0x32e604--)(_0x11504a=_0x25a3e1[_0x32e604])&&(_0x1e2c97=(_0x1f52a8?_0x11504a(_0x28c191,_0x3c932d,_0x1e2c97):_0x11504a(_0x1e2c97))||_0x1e2c97);return _0x1f52a8&&_0x1e2c97&&Cn(_0x28c191,_0x3c932d,_0x1e2c97),_0x1e2c97;},Qe=(_0x3a164e,_0x3ef390)=>(_0x5cf21d,_0x555662)=>_0x3ef390(_0x5cf21d,_0x555662,_0x3a164e);let Be=class{constructor(_0x2f0100,_0x2503da,_0x23d538){const _0x33173c=_0x3a3cba;this[_0x33173c(0x23e)]=_0x2f0100,this[_0x33173c(0x37c)]=_0x2503da,this[_0x33173c(0x210)]=_0x23d538;}[_0x3a3cba(0x38d)](_0x423159){const _0x308b92=_0x3a3cba;this[_0x308b92(0x3e5)](_0x423159),this[_0x308b92(0x1eb)](_0x423159);}[_0x3a3cba(0x525)](_0x487c56){const _0xe9c8b=_0x3a3cba,{unitID:_0x1d2d16}=_0x487c56,_0x5cb3d4=this['_renderManagerService'][_0xe9c8b(0x594)](_0x1d2d16)[_0xe9c8b(0x51c)](J[_0xe9c8b(0x1dd)]),{redoCache:_0x1a2a76}=_0x5cb3d4[_0xe9c8b(0x332)]();if(_0x1a2a76[_0xe9c8b(0x16b)]===0x0)return _0x487c56;let _0x29c9c7=a['Tools'][_0xe9c8b(0x5ac)](_0x487c56['mutations'][0x0]);for(let _0x5ecef7=0x0;_0x5ecef7<_0x1a2a76[_0xe9c8b(0x16b)];_0x5ecef7++){const _0x5d9a66={'id':_0xe9c8b(0x487),'params':{..._0x1a2a76[_0x5ecef7]}},_0x1c4d9a=this[_0xe9c8b(0x37c)][_0xe9c8b(0x215)](_0x29c9c7,_0x5d9a66,!0x1);if(p[_0xe9c8b(0x5b9)](_0x1c4d9a))throw _0x1c4d9a[_0xe9c8b(0x2e5)];_0x29c9c7=_0x1c4d9a[_0xe9c8b(0x436)];}return{...a['Tools'][_0xe9c8b(0x5ac)](_0x487c56),'mutations':[_0x29c9c7]};}[_0x3a3cba(0x3e5)](_0x125b1a){const _0x5d241e=_0x3a3cba,{unitID:_0x23167c}=_0x125b1a,_0x59ab94=this[_0x5d241e(0x210)][_0x5d241e(0x594)](_0x23167c)[_0x5d241e(0x51c)](J['DocIMEInputManagerService']),{undoCache:_0x569b54,redoCache:_0x1e555e}=_0x59ab94[_0x5d241e(0x332)]();if(_0x569b54[_0x5d241e(0x16b)]===0x0||_0x1e555e[_0x5d241e(0x16b)]===0x0)return;const _0x4312b0=[],_0x41af90=[];let _0x5b2446=a[_0x5d241e(0x5e1)][_0x5d241e(0x5ac)](_0x125b1a[_0x5d241e(0x441)][0x0]),_0x1c7025=a['Tools'][_0x5d241e(0x5ac)](_0x125b1a[_0x5d241e(0x441)][0x0]);for(let _0x3aacee=_0x569b54[_0x5d241e(0x16b)]-0x1;_0x3aacee>=0x0;_0x3aacee--){const _0x5ee047={'id':'doc.mutation.rich-text-editing','params':{..._0x569b54[_0x3aacee]}},_0x121f9c={'id':_0x5d241e(0x487),'params':{..._0x1e555e[_0x3aacee]}},_0x33b9e0=this['_transformService'][_0x5d241e(0x215)](_0x5b2446,_0x5ee047,!0x1),_0x1314a8=this['_transformService'][_0x5d241e(0x215)](_0x1c7025,_0x121f9c,!0x1);if(p[_0x5d241e(0x5b9)](_0x33b9e0))throw _0x33b9e0[_0x5d241e(0x2e5)];if(p['isTransformMutationFailure'](_0x1314a8))throw _0x1314a8[_0x5d241e(0x2e5)];_0x4312b0[_0x5d241e(0x287)](_0x33b9e0[_0x5d241e(0x3c0)][_0x5d241e(0x599)]),_0x41af90[_0x5d241e(0x287)](_0x1314a8[_0x5d241e(0x3c0)][_0x5d241e(0x599)]),_0x5b2446=_0x33b9e0[_0x5d241e(0x436)],_0x1c7025=_0x1314a8[_0x5d241e(0x436)];}_0x59ab94[_0x5d241e(0x3d3)]({'undoCache':_0x4312b0,'redoCache':_0x41af90});}[_0x3a3cba(0x1eb)](_0x14dbf2){const _0x2e0e37=_0x3a3cba,{unitID:_0x4053bc}=_0x14dbf2,_0x35c975=this['_renderManagerService']['getRenderById'](_0x4053bc)['with'](J[_0x2e0e37(0x1dd)]),_0x567566=_0x35c975['getActiveRange']();if(_0x567566==null)return;const _0x2e0806=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x14dbf2[_0x2e0e37(0x40b)],'actions':null,'textRanges':[_0x567566]}}],_0x459c0d=this[_0x2e0e37(0x37c)][_0x2e0e37(0x295)](_0x14dbf2,_0x2e0806);if(!p[_0x2e0e37(0x45d)](_0x459c0d))throw _0x459c0d[_0x2e0e37(0x2e5)];const _0x58c94a=_0x459c0d['m2Prime'][0x0][_0x2e0e37(0x599)][_0x2e0e37(0x35b)];Array[_0x2e0e37(0x550)](_0x58c94a)&&_0x58c94a[_0x2e0e37(0x16b)]&&_0x35c975[_0x2e0e37(0x5e8)](_0x58c94a[0x0]);}};Be=bn([Qe(0x0,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),Qe(0x1,p[_0x3a3cba(0x4d5)]),Qe(0x2,K[_0x3a3cba(0x16d)])],Be);var Tn=Object[_0x3a3cba(0x5d1)],Rn=Object[_0x3a3cba(0x42d)],yn=(_0x1cf298,_0x3330ab,_0x19f0ae,_0x476203)=>{const _0x4d1b55=_0x3a3cba;for(var _0x1be4da=_0x476203>0x1?void 0x0:_0x476203?Rn(_0x3330ab,_0x19f0ae):_0x3330ab,_0x3372d3=_0x1cf298[_0x4d1b55(0x16b)]-0x1,_0x2aaa47;_0x3372d3>=0x0;_0x3372d3--)(_0x2aaa47=_0x1cf298[_0x3372d3])&&(_0x1be4da=(_0x476203?_0x2aaa47(_0x3330ab,_0x19f0ae,_0x1be4da):_0x2aaa47(_0x1be4da))||_0x1be4da);return _0x476203&&_0x1be4da&&Tn(_0x3330ab,_0x19f0ae,_0x1be4da),_0x1be4da;},we=(_0x52fd3a,_0x283768)=>(_0x3f49b7,_0xd23fa5)=>_0x283768(_0x3f49b7,_0xd23fa5,_0x52fd3a);exports[_0x3a3cba(0x158)]=class extends a[_0x3a3cba(0x28a)]{constructor(_0x5b7e5d,_0xd37033,_0xcbacd2,_0x4d7d33,_0x1f0c59){const _0x4c5de5=_0x3a3cba;super(),I(this,_0x4c5de5(0x5c5),new Map()),I(this,_0x4c5de5(0x3c9),new Map()),I(this,_0x4c5de5(0x356),!0x1),(this[_0x4c5de5(0x4d1)]=_0x5b7e5d,this[_0x4c5de5(0x5df)]=_0xd37033,this['_beforeCloseService']=_0xcbacd2,this[_0x4c5de5(0x507)]=_0x4d7d33,this[_0x4c5de5(0x42b)]=_0x1f0c59,this[_0x4c5de5(0x57e)]());}[_0x3a3cba(0x21a)](){const _0x22a5ac=_0x3a3cba;this[_0x22a5ac(0x356)]=!0x0;}[_0x3a3cba(0x5b1)](){const _0x2b0496=_0x3a3cba;this[_0x2b0496(0x356)]=!0x1;}[_0x3a3cba(0x30a)](){const _0x5622da=_0x3a3cba;this[_0x5622da(0x22e)]()[_0x5622da(0x3b0)](()=>super[_0x5622da(0x30a)]());}async[_0x3a3cba(0x45f)](_0x1c4c58){const _0x362662=_0x3a3cba;return this[_0x362662(0x356)]?null:this[_0x362662(0x5df)]['getItem'](Lt(_0x1c4c58));}async[_0x3a3cba(0x4f2)](_0x369b48,_0x642d47){const _0x338399=_0x3a3cba;return!!this[_0x338399(0x5df)][_0x338399(0x43f)](_0x369b48,_0x642d47);}[_0x3a3cba(0x2b0)](_0x59a8a3,_0xc606b,_0x30c3c8,_0x23b367){const _0x113699=_0x3a3cba,_0x42f4da=this[_0x113699(0x42b)][_0x113699(0x29e)](_0x59a8a3);this[_0x113699(0x5c5)]['set'](_0x59a8a3,{'unitID':_0x59a8a3,'type':_0xc606b,'awaitingChangeset':_0x30c3c8,'mutations':_0x23b367,'rev':_0x42f4da}),this[_0x113699(0x3c9)]['has'](_0x59a8a3)||this[_0x113699(0x200)](_0x59a8a3);}['_scheduleSaving'](_0x34b113){const _0x306fd6=_0x3a3cba,_0x207cec=this[_0x306fd6(0x1e6)]();_0x207cec===0x0?this[_0x306fd6(0x58a)](_0x34b113):this[_0x306fd6(0x3c9)][_0x306fd6(0x38a)](_0x34b113,setTimeout(()=>this['_saveCache'](_0x34b113),_0x207cec));}[_0x3a3cba(0x1e6)](){const _0x57add5=_0x3a3cba;var _0x372d5f;return(_0x372d5f=this[_0x57add5(0x4d1)][_0x57add5(0x3cc)](ci))!=null?_0x372d5f:zi;}['_saveCache'](_0x3b3965){const _0x50210f=_0x3a3cba,_0x2fcaaa=this[_0x50210f(0x3c9)][_0x50210f(0x449)](_0x3b3965);return _0x2fcaaa!==void 0x0&&window[_0x50210f(0x227)](_0x2fcaaa),this[_0x50210f(0x5df)]['setItem'](Lt(_0x3b3965),this[_0x50210f(0x5c5)][_0x50210f(0x449)](_0x3b3965))[_0x50210f(0x3b0)](()=>this[_0x50210f(0x3c9)][_0x50210f(0x26b)](_0x3b3965));}async[_0x3a3cba(0x22e)](){const _0x33d76d=_0x3a3cba,_0xddd7b7=[];this['_saveTaskMap'][_0x33d76d(0x281)]((_0x116e47,_0xfd8ba0)=>{window['clearTimeout'](_0x116e47),_0xddd7b7['push'](this['_saveCache'](_0xfd8ba0)['then'](()=>{const _0x4c1870=_0x131b;this['_saveTaskMap'][_0x4c1870(0x26b)](_0xfd8ba0);}));}),await Promise[_0x33d76d(0x545)](_0xddd7b7);}[_0x3a3cba(0x57e)](){const _0x376e9a=_0x3a3cba;this['disposeWithMe'](this[_0x376e9a(0x5b0)]['registerBeforeClose'](()=>{const _0xefcf1c=_0x376e9a;if(this[_0xefcf1c(0x3c9)][_0xefcf1c(0x51e)])return this[_0xefcf1c(0x507)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x3a3cba(0x158)]=yn([we(0x0,a[_0x3a3cba(0x311)]),we(0x1,a[_0x3a3cba(0x20d)]),we(0x2,te['IBeforeCloseService']),we(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),we(0x4,a[_0x3a3cba(0x4b4)](p[_0x3a3cba(0x1a6)]))],exports[_0x3a3cba(0x158)]);function Lt(_0x4f1763){const _0x46082e=_0x3a3cba;return _0x46082e(0x5b8)+_0x4f1763;}var On=Object[_0x3a3cba(0x5d1)],Dn=Object[_0x3a3cba(0x42d)],Pn=(_0x301bdf,_0x5ee33b,_0x5af68b,_0x2c6bd7)=>{for(var _0x47f68c=_0x2c6bd7>0x1?void 0x0:_0x2c6bd7?Dn(_0x5ee33b,_0x5af68b):_0x5ee33b,_0x23f3ab=_0x301bdf['length']-0x1,_0x53e8ae;_0x23f3ab>=0x0;_0x23f3ab--)(_0x53e8ae=_0x301bdf[_0x23f3ab])&&(_0x47f68c=(_0x2c6bd7?_0x53e8ae(_0x5ee33b,_0x5af68b,_0x47f68c):_0x53e8ae(_0x47f68c))||_0x47f68c);return _0x2c6bd7&&_0x47f68c&&On(_0x5ee33b,_0x5af68b,_0x47f68c),_0x47f68c;},et=(_0x14c1d5,_0x50cbba)=>(_0x56151d,_0x37a9e0)=>_0x50cbba(_0x56151d,_0x37a9e0,_0x14c1d5);function wn(_0x4c0135){const _0x1576ff=_0x3a3cba,{unitID:_0x301e90,mutations:_0x20730b}=_0x4c0135;return{'unitId':_0x301e90,'subUnitId':_0x20730b[0x0][_0x1576ff(0x599)][_0x1576ff(0x306)]};}let ke=class{constructor(_0x3c1b65,_0x1a3b9e,_0x2746e9){const _0x2cff8b=_0x3a3cba;this['_injector']=_0x3c1b65,this[_0x2cff8b(0x37c)]=_0x1a3b9e,this['_instanceService']=_0x2746e9;}[_0x3a3cba(0x437)](_0x92859c){const _0x3b1769=_0x3a3cba;var _0x17b8e6,_0x2f2e93,_0x361d9e,_0x5cbe98;const _0x5dd0e4=this[_0x3b1769(0x23e)][_0x3b1769(0x449)](k[_0x3b1769(0x59d)]),{unitId:_0x51de0e,subUnitId:_0x439874}=wn(_0x92859c),_0x45161b=_0x5dd0e4[_0x3b1769(0x462)](_0x51de0e)[_0x3b1769(0x4bd)](),_0x437f35=(_0x2f2e93=(_0x17b8e6=this[_0x3b1769(0x292)][_0x3b1769(0x1c4)](_0x51de0e))==null?void 0x0:_0x17b8e6[_0x3b1769(0x2c0)]())==null?void 0x0:_0x2f2e93[_0x3b1769(0x50d)]();if(_0x45161b[_0x3b1769(0x16b)]===0x0||!_0x51de0e||!_0x439874)return;const _0x1a7a22=[{'id':k[_0x3b1769(0x456)]['id'],'params':{'unitId':_0x51de0e,'subUnitId':_0x437f35,'selections':a[_0x3b1769(0x5e1)][_0x3b1769(0x5ac)](_0x45161b)}}],_0x3e2904=this['_transformService'][_0x3b1769(0x295)](_0x92859c,_0x1a7a22);if(!p[_0x3b1769(0x45d)](_0x3e2904))throw _0x3e2904[_0x3b1769(0x2e5)];const _0x417275=(_0x5cbe98=(_0x361d9e=_0x3e2904[_0x3b1769(0x3c0)][0x0])==null?void 0x0:_0x361d9e[_0x3b1769(0x599)])==null?void 0x0:_0x5cbe98[_0x3b1769(0x147)];if(Array[_0x3b1769(0x550)](_0x417275)&&_0x417275['length']){if(_0x417275[_0x3b1769(0x16b)]===_0x1a7a22[0x0][_0x3b1769(0x599)]['selections']['length']&&_0x417275['every']((_0x3bb8,_0x4a5c23)=>a['Rectangle'][_0x3b1769(0x5c7)](_0x3bb8[_0x3b1769(0x3db)],_0x1a7a22[0x0][_0x3b1769(0x599)][_0x3b1769(0x147)][_0x4a5c23][_0x3b1769(0x3db)])))return;this['_injector']['get'](a['ICommandService'])['executeCommand'](k[_0x3b1769(0x456)]['id'],{'unitId':_0x51de0e,'subUnitId':_0x437f35,'selections':_0x417275});}}};ke=Pn([et(0x0,a['Inject'](a[_0x3a3cba(0x207)])),et(0x1,p['ITransformService']),et(0x2,a[_0x3a3cba(0x1c9)])],ke);const ze=a['createIdentifier'](_0x3a3cba(0x2fb));var vi=(_0x289e4d=>(_0x289e4d[_0x289e4d[_0x3a3cba(0x53b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x289e4d[_0x289e4d[_0x3a3cba(0x328)]=0x1]=_0x3a3cba(0x328),_0x289e4d))(vi||{});const xt=0x7530,jt=_0x3a3cba(0x54d);class Un extends a[_0x3a3cba(0x28a)]{constructor(){const _0x876d11=_0x3a3cba;super(),I(this,_0x876d11(0x5e2),a[_0x876d11(0x5e1)][_0x876d11(0x273)]()),I(this,_0x876d11(0x53f),new Set()),I(this,_0x876d11(0x2c3),new Map()),I(this,_0x876d11(0x3f5),null),I(this,_0x876d11(0x1be),new Map()),I(this,_0x876d11(0x3d0),new Map()),this[_0x876d11(0x4ef)]();}[_0x3a3cba(0x30a)](){const _0x509f16=_0x3a3cba;super[_0x509f16(0x30a)](),this[_0x509f16(0x1be)][_0x509f16(0x281)]((_0x18c311,_0x4e2f97)=>this[_0x509f16(0x4e4)](_0x4e2f97)),this[_0x509f16(0x3f5)]&&window['clearInterval'](this[_0x509f16(0x3f5)]);}[_0x3a3cba(0x49f)](_0x376014){const _0x53b331=_0x3a3cba;return this['_ensureSubject'](_0x376014)[_0x53b331(0x17b)](A[_0x53b331(0x5eb)]());}['editingUnit'](_0x257d24){const _0x52adf5=_0x3a3cba;this[_0x52adf5(0x53f)][_0x52adf5(0x51e)]===0x0&&this[_0x52adf5(0x563)](),this[_0x52adf5(0x53f)][_0x52adf5(0x4b3)](_0x257d24),this[_0x52adf5(0x171)]({'type':0x0,'memberID':this[_0x52adf5(0x5e2)],'unitIDs':[_0x257d24],'isForwarded':!0x1});}[_0x3a3cba(0x24b)](_0x2268ca){const _0x316661=_0x3a3cba;this[_0x316661(0x53f)][_0x316661(0x26b)](_0x2268ca),this[_0x316661(0x53f)][_0x316661(0x51e)]===0x0&&this[_0x316661(0x3f5)]&&window[_0x316661(0x33a)](this[_0x316661(0x3f5)]);}['_init'](){const _0x1083af=_0x3a3cba;this[_0x1083af(0x5e6)](a[_0x1083af(0x2bd)](A[_0x1083af(0x290)](window,'storage')[_0x1083af(0x250)](_0x156fbc=>{const _0x55a9da=_0x1083af;if(_0x156fbc['key']!==jt||!_0x156fbc[_0x55a9da(0x2f4)])return;const _0x1efd52=JSON[_0x55a9da(0x526)](_0x156fbc[_0x55a9da(0x2f4)]);this['_handleEvent'](_0x1efd52);}))),window[_0x1083af(0x22b)](_0x1083af(0x398),()=>this[_0x1083af(0x171)]({'type':0x1,'memberID':this[_0x1083af(0x5e2)],'unitIDs':Array[_0x1083af(0x1ba)](this[_0x1083af(0x53f)])}));}[_0x3a3cba(0x33d)](_0x4b779e){const _0x124314=_0x3a3cba;switch(_0x4b779e[_0x124314(0x322)]){case 0x0:this[_0x124314(0x465)](_0x4b779e);break;case 0x1:this[_0x124314(0x36e)](_0x4b779e);break;case 0x2:this[_0x124314(0x3ec)](_0x4b779e);break;}}['_handleJoinEvent'](_0x1aa56d){const _0x33b516=_0x3a3cba,{unitIDs:_0x2f2a26,memberID:_0x554fa1,isForwarded:_0x141e98}=_0x1aa56d;_0x2f2a26[_0x33b516(0x281)](_0x356457=>{const _0x5dafd=_0x33b516;if(!_0x141e98&&this[_0x5dafd(0x2c3)][_0x5dafd(0x16f)](_0x356457)&&this[_0x5dafd(0x1b4)](_0x356457)['next'](0x1),!this[_0x5dafd(0x2c3)][_0x5dafd(0x16f)](_0x356457)||!this[_0x5dafd(0x2c3)][_0x5dafd(0x449)](_0x356457)[_0x5dafd(0x16f)](_0x554fa1)){const _0x406cfd=this[_0x5dafd(0x2c3)][_0x5dafd(0x449)](_0x356457)||new Set();_0x406cfd[_0x5dafd(0x4b3)](_0x554fa1),this['_unitOnClients'][_0x5dafd(0x38a)](_0x356457,_0x406cfd),this['_scheduleClearOtherTimer'](_0x554fa1);}}),_0x141e98||this[_0x33b516(0x171)]({'type':0x0,'memberID':this[_0x33b516(0x5e2)],'unitIDs':[...this[_0x33b516(0x53f)]],'isForwarded':!0x0});}[_0x3a3cba(0x21e)](_0x259ab2){const _0x349525=_0x3a3cba;this['_removeClearOtherTimer'](_0x259ab2);const _0x58cd91=window[_0x349525(0x300)](()=>{const _0x1997bf=_0x349525;this[_0x1997bf(0x2c3)][_0x1997bf(0x281)](_0xe97503=>{const _0x2d4b13=_0x1997bf;_0xe97503[_0x2d4b13(0x26b)](_0x259ab2);});},xt*0x2);this[_0x349525(0x1be)][_0x349525(0x38a)](_0x259ab2,_0x58cd91);}['_removeClearOtherTimer'](_0x5bf1d8){const _0x2fbc78=_0x3a3cba;if(this[_0x2fbc78(0x1be)][_0x2fbc78(0x16f)](_0x5bf1d8)){const _0x8021d4=this[_0x2fbc78(0x1be)][_0x2fbc78(0x449)](_0x5bf1d8);_0x8021d4&&window[_0x2fbc78(0x227)](_0x8021d4),this['_clearOtherTimers'][_0x2fbc78(0x38a)](_0x5bf1d8,null);}}[_0x3a3cba(0x36e)](_0x451574){const _0x36f05f=_0x3a3cba,{memberID:_0x5b9c4b,unitIDs:_0x41ba6f}=_0x451574;_0x41ba6f[_0x36f05f(0x281)](_0x2c1759=>{const _0xaa6c06=_0x36f05f;var _0x2eb7cc;const _0x5d41ee=this[_0xaa6c06(0x2c3)][_0xaa6c06(0x449)](_0x2c1759);_0x5d41ee&&(_0x5d41ee[_0xaa6c06(0x26b)](_0x5b9c4b),(_0x2eb7cc=this['_ensureSubject'](_0x2c1759))==null||_0x2eb7cc[_0xaa6c06(0x519)](_0x5d41ee[_0xaa6c06(0x51e)]===0x0?0x0:0x1));}),this[_0x36f05f(0x4e4)](_0x5b9c4b);}[_0x3a3cba(0x3ec)](_0x14b3a5){const _0x50c5a9=_0x3a3cba;this['_scheduleClearOtherTimer'](_0x14b3a5[_0x50c5a9(0x35c)]);}['_send'](_0x5ba162){const _0x3025c7=_0x3a3cba;localStorage[_0x3025c7(0x43f)](jt,JSON[_0x3025c7(0x405)](_0x5ba162));}[_0x3a3cba(0x563)](){const _0x4aca56=_0x3a3cba;this[_0x4aca56(0x3f5)]=window[_0x4aca56(0x544)](()=>{const _0x157201=_0x4aca56;this[_0x157201(0x171)]({'type':0x2,'memberID':this[_0x157201(0x5e2)]});},xt);}[_0x3a3cba(0x1b4)](_0x5f1cd1){const _0x134120=_0x3a3cba;return this[_0x134120(0x3d0)][_0x134120(0x16f)](_0x5f1cd1)||this[_0x134120(0x3d0)][_0x134120(0x38a)](_0x5f1cd1,new A[(_0x134120(0x2bf))](0x0)),this['_unitStatus'][_0x134120(0x449)](_0x5f1cd1);}}var Mn=Object[_0x3a3cba(0x5d1)],An=Object[_0x3a3cba(0x42d)],Nn=(_0x1ac121,_0x2857ea,_0x502518,_0x3489aa)=>{const _0x40a511=_0x3a3cba;for(var _0x16b29f=_0x3489aa>0x1?void 0x0:_0x3489aa?An(_0x2857ea,_0x502518):_0x2857ea,_0x5e82b4=_0x1ac121[_0x40a511(0x16b)]-0x1,_0x419c8e;_0x5e82b4>=0x0;_0x5e82b4--)(_0x419c8e=_0x1ac121[_0x5e82b4])&&(_0x16b29f=(_0x3489aa?_0x419c8e(_0x2857ea,_0x502518,_0x16b29f):_0x419c8e(_0x16b29f))||_0x16b29f);return _0x3489aa&&_0x16b29f&&Mn(_0x2857ea,_0x502518,_0x16b29f),_0x16b29f;},tt=(_0x4ccd3f,_0x58f634)=>(_0x4eb890,_0x3fd119)=>_0x58f634(_0x4eb890,_0x3fd119,_0x4ccd3f);let We=class{constructor(_0x4e3479,_0xb8c196,_0x29eb41){const _0x1868c1=_0x3a3cba;this[_0x1868c1(0x23e)]=_0x4e3479,this[_0x1868c1(0x37c)]=_0xb8c196,this[_0x1868c1(0x178)]=_0x29eb41;}[_0x3a3cba(0x253)](_0x5d8e44){this['_transformHistoryAndStateStack'](_0x5d8e44);}['transformRemoteChangeset'](_0x1670c9){const _0x5c0924=_0x3a3cba,{unitID:_0x4ad29e}=_0x1670c9,{collaboration:_0xe4637c}=this[_0x5c0924(0x178)][_0x5c0924(0x556)](_0x4ad29e);if(_0xe4637c[_0x5c0924(0x16b)]===0x0)return _0x1670c9;let _0x423f2c=a['Tools'][_0x5c0924(0x5ac)](_0x1670c9[_0x5c0924(0x441)][0x0]);for(let _0x411400=0x0;_0x411400<_0xe4637c[_0x5c0924(0x16b)];_0x411400++){const _0x218e23={'id':_0x5c0924(0x487),'params':{'unitId':_0xe4637c[_0x411400][_0x5c0924(0x168)],..._0xe4637c[_0x411400][_0x5c0924(0x45a)]}},_0x39d013=this[_0x5c0924(0x37c)]['transformMutation'](_0x423f2c,_0x218e23,!0x1);if(p[_0x5c0924(0x5b9)](_0x39d013))throw _0x39d013[_0x5c0924(0x2e5)];_0x423f2c=_0x39d013[_0x5c0924(0x436)];}return{...a[_0x5c0924(0x5e1)][_0x5c0924(0x5ac)](_0x1670c9),'mutations':[_0x423f2c]};}[_0x3a3cba(0x1d2)](_0x466c02){const _0x47d947=_0x3a3cba,{unitID:_0x984b2f}=_0x466c02,{history:_0x3b23b5,collaboration:_0x24a1c0}=this['_docStateChangeManagerService'][_0x47d947(0x556)](_0x984b2f);if(_0x3b23b5[_0x47d947(0x16b)]===0x0&&_0x24a1c0['length']===0x0)return;const _0x44d3b3=[],_0x10abd4=[];let _0x5a89e0=a['Tools'][_0x47d947(0x5ac)](_0x466c02[_0x47d947(0x441)][0x0]),_0x294513=a[_0x47d947(0x5e1)][_0x47d947(0x5ac)](_0x466c02[_0x47d947(0x441)][0x0]);for(let _0x3b0d29=_0x3b23b5['length']-0x1;_0x3b0d29>=0x0;_0x3b0d29--){const _0xe83591={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b23b5[_0x3b0d29][_0x47d947(0x168)],..._0x3b23b5[_0x3b0d29][_0x47d947(0x582)]}},_0x55f908={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b23b5[_0x3b0d29][_0x47d947(0x168)],..._0x3b23b5[_0x3b0d29]['redoState']}},_0x53f103=this['_transformService']['transformMutation'](_0x5a89e0,_0xe83591,!0x1),_0x1d29d3=this[_0x47d947(0x37c)]['transformMutation'](_0x294513,_0x55f908,!0x1);if(p[_0x47d947(0x5b9)](_0x53f103))throw _0x53f103[_0x47d947(0x2e5)];if(p[_0x47d947(0x5b9)](_0x1d29d3))throw _0x1d29d3[_0x47d947(0x2e5)];_0x44d3b3[_0x47d947(0x287)]({..._0x3b23b5[_0x3b0d29],'undoState':_0x53f103[_0x47d947(0x3c0)][_0x47d947(0x599)],'redoState':_0x1d29d3[_0x47d947(0x3c0)][_0x47d947(0x599)]}),_0x5a89e0=_0x53f103[_0x47d947(0x436)],_0x294513=_0x1d29d3[_0x47d947(0x436)];}_0x5a89e0=a[_0x47d947(0x5e1)][_0x47d947(0x5ac)](_0x466c02[_0x47d947(0x441)][0x0]),_0x294513=a[_0x47d947(0x5e1)][_0x47d947(0x5ac)](_0x466c02[_0x47d947(0x441)][0x0]);for(let _0x17ffa7=_0x24a1c0[_0x47d947(0x16b)]-0x1;_0x17ffa7>=0x0;_0x17ffa7--){const _0x59a578={'id':_0x47d947(0x487),'params':{'unitId':_0x24a1c0[_0x17ffa7][_0x47d947(0x168)],..._0x24a1c0[_0x17ffa7][_0x47d947(0x582)]}},_0x1a5189={'id':_0x47d947(0x487),'params':{'unitId':_0x24a1c0[_0x17ffa7][_0x47d947(0x168)],..._0x24a1c0[_0x17ffa7][_0x47d947(0x45a)]}},_0x1fdd3d=this['_transformService'][_0x47d947(0x215)](_0x5a89e0,_0x59a578,!0x1),_0x3f8fbf=this['_transformService']['transformMutation'](_0x294513,_0x1a5189,!0x1);if(p[_0x47d947(0x5b9)](_0x1fdd3d))throw _0x1fdd3d[_0x47d947(0x2e5)];if(p['isTransformMutationFailure'](_0x3f8fbf))throw _0x3f8fbf[_0x47d947(0x2e5)];_0x10abd4['unshift']({..._0x24a1c0[_0x17ffa7],'undoState':_0x1fdd3d[_0x47d947(0x3c0)]['params'],'redoState':_0x3f8fbf['m2Prime'][_0x47d947(0x599)]}),_0x5a89e0=_0x1fdd3d[_0x47d947(0x436)],_0x294513=_0x3f8fbf[_0x47d947(0x436)];}this[_0x47d947(0x178)]['setStateCache'](_0x984b2f,{'history':_0x44d3b3,'collaboration':_0x10abd4});}};We=Nn([tt(0x0,a['Inject'](a[_0x3a3cba(0x207)])),tt(0x1,p[_0x3a3cba(0x4d5)]),tt(0x2,a[_0x3a3cba(0x4b4)](J['DocStateChangeManagerService']))],We);function Si(_0x4bf4b7){const _0x2e6224=_0x3a3cba;let _0x300f31='';for(const _0x2fe675 of _0x4bf4b7){const {startOffset:_0x29bcad,endOffset:_0x36854d,isActive:_0x143b74,rangeType:_0x5227ac,segmentId:_0x18d445,segmentPage:_0x45c1af}=_0x2fe675;_0x300f31[_0x2e6224(0x16b)]&&(_0x300f31+=','),_0x300f31+=_0x29bcad+':'+_0x36854d+':'+(_0x143b74?'1':'0')+':'+_0x5227ac+':'+_0x18d445+':'+_0x45c1af;}return _0x300f31;}function Ln(_0x218a95){const _0x241853=_0x3a3cba,_0x1fb43d=_0x218a95[_0x241853(0x4dc)](','),_0x36b64e=[];for(const _0x48724b of _0x1fb43d){const [_0x4bbfe7,_0x3fce49,_0x2504d5,_0x36ab1e,_0x667f17,_0x15cfba]=_0x48724b['split'](':');_0x36b64e[_0x241853(0x31b)]({'startOffset':Number(_0x4bbfe7),'endOffset':Number(_0x3fce49),'collapsed':_0x4bbfe7===_0x3fce49,'isActive':_0x2504d5==='1','rangeType':_0x36ab1e===a['DOC_RANGE_TYPE'][_0x241853(0x4b1)]?a[_0x241853(0x59c)][_0x241853(0x4b1)]:a[_0x241853(0x59c)]['RECT'],'segmentId':typeof _0x667f17==_0x241853(0x554)?String(_0x667f17):'','segmentPage':Number(_0x15cfba!=null?_0x15cfba:-0x1)});}return _0x36b64e[_0x241853(0x421)](_0x3d8e62=>_0x3d8e62[_0x241853(0x3eb)])||(_0x36b64e[0x0]['isActive']=!0x0),_0x36b64e;}class yt extends a[_0x3a3cba(0x3c4)]{constructor(){const _0x3b7bb8=_0x3a3cba;super(...arguments),I(this,_0x3b7bb8(0x463),new A['BehaviorSubject'](null)),I(this,_0x3b7bb8(0x159),this[_0x3b7bb8(0x463)]['asObservable']());}[_0x3a3cba(0x198)](_0x3ca8b8){const _0x439765=_0x3a3cba,{unitID:_0x1fb286,memberID:_0x203f1f,textRanges:_0x1b746a}=_0x3ca8b8,_0x33cbdc=Si(_0x1b746a);if(_0x33cbdc==='')return;const _0xcda017={'unitID':_0x1fb286,'memberID':_0x203f1f,'selection':_0x33cbdc};this[_0x439765(0x463)][_0x439765(0x519)](_0xcda017);}}var xn=Object[_0x3a3cba(0x5d1)],jn=Object[_0x3a3cba(0x42d)],$n=(_0xa58492,_0xc37112,_0x42b2a1,_0x5ccb49)=>{for(var _0x2a062e=_0x5ccb49>0x1?void 0x0:_0x5ccb49?jn(_0xc37112,_0x42b2a1):_0xc37112,_0x33f38e=_0xa58492['length']-0x1,_0x2934f8;_0x33f38e>=0x0;_0x33f38e--)(_0x2934f8=_0xa58492[_0x33f38e])&&(_0x2a062e=(_0x5ccb49?_0x2934f8(_0xc37112,_0x42b2a1,_0x2a062e):_0x2934f8(_0x2a062e))||_0x2a062e);return _0x5ccb49&&_0x2a062e&&xn(_0xc37112,_0x42b2a1,_0x2a062e),_0x2a062e;},$t=(_0x4fe42f,_0x1c50fd)=>(_0x201adc,_0x31ad3c)=>_0x1c50fd(_0x201adc,_0x31ad3c,_0x4fe42f);let Fe=class{constructor(_0x2a6c54,_0x3717ae){const _0x2d70b1=_0x3a3cba;this['_injector']=_0x2a6c54,this[_0x2d70b1(0x37c)]=_0x3717ae;}[_0x3a3cba(0x437)](_0x1f4e31){const _0x376ef4=_0x3a3cba;var _0x11fd52;const _0x2c4dd6=this[_0x376ef4(0x23e)][_0x376ef4(0x449)](Ie[_0x376ef4(0x2e3)]),_0x3e76ef=(_0x11fd52=_0x2c4dd6[_0x376ef4(0x491)]())!=null?_0x11fd52:[];if(_0x3e76ef[_0x376ef4(0x16b)]===0x0)return;const _0x192bac=_0x1f4e31[_0x376ef4(0x40b)],_0x562732=[{'id':_0x376ef4(0x487),'params':{'unitId':_0x192bac,'actions':null,'textRanges':_0x3e76ef}}],_0x3c4a88=this['_transformService'][_0x376ef4(0x295)](_0x1f4e31,_0x562732);if(!p[_0x376ef4(0x45d)](_0x3c4a88))throw _0x3c4a88[_0x376ef4(0x2e5)];const _0x192c03=_0x3c4a88[_0x376ef4(0x3c0)][0x0][_0x376ef4(0x599)][_0x376ef4(0x35b)];Array[_0x376ef4(0x550)](_0x192c03)&&_0x192c03['length']&&_0x2c4dd6[_0x376ef4(0x1e2)](_0x192c03,{'unitId':_0x192bac,'subUnitId':_0x192bac},!0x1);}};Fe=$n([$t(0x0,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),$t(0x1,p[_0x3a3cba(0x4d5)])],Fe);const Hn=new Set([k['InsertSheetMutation']['id']]);function Ht(_0x50e62a,_0x222d59,_0x4d7b88,_0x508d03,_0x243fb6){const _0x484797=_0x3a3cba;var _0xb544fc,_0x4508af,_0x219e91,_0x56dde1;const _0x381963=[];for(const _0x4c1838 of _0x50e62a)if(Hn[_0x484797(0x16f)](_0x4c1838['id'])){if(_0x381963['length']>0x0)break;_0x381963[_0x484797(0x31b)](_0x4c1838);break;}else _0x381963[_0x484797(0x31b)](_0x4c1838);const _0x8b8180=(_0x4508af=(_0xb544fc=_0x243fb6[_0x484797(0x243)]())==null?void 0x0:_0xb544fc[_0x484797(0x442)])!=null?_0x4508af:_0x484797(0x44e),_0x2a6929=(_0x56dde1=(_0x219e91=_0x243fb6[_0x484797(0x243)]())==null?void 0x0:_0x219e91[_0x484797(0x35c)])!=null?_0x56dde1:_0x484797(0x44e);return{'changeset':{'unitID':_0x222d59,'type':p['mapDocumentTypeToUniverType'](_0x4d7b88[_0x484797(0x5a6)](_0x222d59)),'baseRev':_0x508d03[_0x484797(0x29e)](_0x222d59),'revision':0x0,'userID':_0x8b8180,'memberID':_0x2a6929,'mutations':_0x381963},'pendingMutations':_0x50e62a[_0x484797(0x145)](_0x381963[_0x484797(0x16b)])};}function Bn(_0x1a1ce9,_0x1f8ba2,_0x5a67f8,_0xdbc94,_0x44c2d4){const _0x44cc86=_0x3a3cba;var _0x4df066,_0x1059cb,_0x1f5a51,_0xa22c48;const _0x4d62bd=[_0x1a1ce9['reduce']((_0x479c2f,_0x40d97a)=>{const _0x53baae=_0x131b;var _0x124c92;const {id:_0x5c5347}=_0x479c2f,{id:_0x2a581b,type:_0x2afec7}=_0x40d97a,_0x57f79e=(_0x124c92=_0x479c2f[_0x53baae(0x599)])!=null?_0x124c92:{'actions':null},_0x18771b=_0x40d97a[_0x53baae(0x599)];if(_0x5c5347&&_0x5c5347!==_0x2a581b)throw new Error(_0x53baae(0x2b8)+_0x5c5347+_0x53baae(0x51a)+_0x2a581b+'.');return{..._0x479c2f,'id':_0x2a581b,'type':_0x2afec7,'params':{'unitId':_0x18771b[_0x53baae(0x168)],'textRanges':_0x18771b['textRanges'],'actions':a[_0x53baae(0x394)]['compose'](_0x57f79e[_0x53baae(0x369)],_0x18771b['actions'])}};},{})],_0x562cf0=(_0x1059cb=(_0x4df066=_0x44c2d4[_0x44cc86(0x243)]())==null?void 0x0:_0x4df066['userID'])!=null?_0x1059cb:'unknown',_0x47c435=(_0xa22c48=(_0x1f5a51=_0x44c2d4[_0x44cc86(0x243)]())==null?void 0x0:_0x1f5a51[_0x44cc86(0x35c)])!=null?_0xa22c48:_0x44cc86(0x44e);return{'changeset':{'unitID':_0x1f8ba2,'type':p[_0x44cc86(0x452)](_0x5a67f8[_0x44cc86(0x5a6)](_0x1f8ba2)),'baseRev':_0xdbc94[_0x44cc86(0x29e)](_0x1f8ba2),'revision':0x0,'userID':_0x562cf0,'memberID':_0x47c435,'mutations':_0x4d62bd},'pendingMutations':[]};}function pi(_0x30067e,_0x105542){const _0x335761=_0x3a3cba,_0x31245a=new A[(_0x335761(0x3ce))](0x1);return setTimeout(()=>_0x31245a[_0x335761(0x519)](_0x105542),_0x30067e),_0x31245a[_0x335761(0x216)]()[_0x335761(0x17b)](A[_0x335761(0x1e9)](0x1));}const kn={'id':k[_0x3a3cba(0x338)]['id'],'type':a['CommandType'][_0x3a3cba(0x5b4)],'params':{}};var Wn=Object['defineProperty'],Fn=Object[_0x3a3cba(0x42d)],Ee=(_0xc02724,_0x57aa2c,_0x912f60,_0x4717b2)=>{for(var _0x4c7730=_0x4717b2>0x1?void 0x0:_0x4717b2?Fn(_0x57aa2c,_0x912f60):_0x57aa2c,_0x57746a=_0xc02724['length']-0x1,_0x49af30;_0x57746a>=0x0;_0x57746a--)(_0x49af30=_0xc02724[_0x57746a])&&(_0x4c7730=(_0x4717b2?_0x49af30(_0x57aa2c,_0x912f60,_0x4c7730):_0x49af30(_0x4c7730))||_0x4c7730);return _0x4717b2&&_0x4c7730&&Wn(_0x57aa2c,_0x912f60,_0x4c7730),_0x4c7730;},N=(_0x17b699,_0x55976e)=>(_0x40264e,_0xbacf19)=>_0x55976e(_0x40264e,_0xbacf19,_0x17b699),q=(_0x335859=>(_0x335859[_0x3a3cba(0x552)]='not_collab',_0x335859['SYNCED']=_0x3a3cba(0x5c3),_0x335859[_0x3a3cba(0x1a5)]=_0x3a3cba(0x237),_0x335859[_0x3a3cba(0x43c)]='awaiting',_0x335859[_0x3a3cba(0x208)]=_0x3a3cba(0x2da),_0x335859['FETCH_MISS']=_0x3a3cba(0x435),_0x335859[_0x3a3cba(0x496)]=_0x3a3cba(0x4a9),_0x335859['OFFLINE']=_0x3a3cba(0x4cb),_0x335859))(q||{});const mi=0xea60;class be{constructor(_0x3feaff,_0x538e53,_0x4d7fea,_0xe8f761,_0x4e1fd7,_0x2e5493,_0x4c3954,_0x3bc433,_0x187fa0){const _0x35e70a=_0x3a3cba;I(this,_0x35e70a(0x512),null),I(this,'_pendingMutations',[]),(this[_0x35e70a(0x40b)]=_0x3feaff,this[_0x35e70a(0x322)]=_0x538e53,this[_0x35e70a(0x515)]=_0x4e1fd7,this[_0x35e70a(0x340)]=_0x2e5493,this[_0x35e70a(0x37a)]=_0x4c3954,this[_0x35e70a(0x42b)]=_0x3bc433,this[_0x35e70a(0x3e2)]=_0x187fa0,this[_0x35e70a(0x512)]=_0x4d7fea,this['_pendingMutations']=_0xe8f761);}[_0x3a3cba(0x539)](_0x5afab8){const _0x8244f9=_0x3a3cba,_0x1f0234=this[_0x8244f9(0x42b)][_0x8244f9(0x29e)](this[_0x8244f9(0x40b)]);return _0x5afab8[_0x8244f9(0x1bb)]>_0x1f0234+0x1?(this[_0x8244f9(0x515)][_0x8244f9(0x565)]({'from':_0x1f0234,'to':_0x5afab8[_0x8244f9(0x1bb)]-0x1}),!0x0):!0x1;}[_0x3a3cba(0x379)](_0x35c138){const _0x1305f2=_0x3a3cba;this[_0x1305f2(0x37a)]['transformUndoRedo'](this[_0x1305f2(0x40b)],_0x35c138);}[_0x3a3cba(0x293)](_0x3bdbfa){const _0x5c70be=_0x3a3cba;var _0x99e54a,_0x5234fd;(_0x5234fd=(_0x99e54a=this[_0x5c70be(0x515)])['onTransformSelections'])==null||_0x5234fd[_0x5c70be(0x4c9)](_0x99e54a,_0x3bdbfa);}['_transformIMECache'](_0x8444de){const _0x9a7ce6=_0x3a3cba;var _0x5da8cd,_0xd4db30;return(_0xd4db30=(_0x5da8cd=this['_handler'])[_0x9a7ce6(0x3e9)])==null?void 0x0:_0xd4db30[_0x9a7ce6(0x4c9)](_0x5da8cd,_0x8444de);}[_0x3a3cba(0x1ca)](_0x299fee){const _0x1022a5=_0x3a3cba;var _0x3809e7,_0x211bb1;return(_0x211bb1=(_0x3809e7=this[_0x1022a5(0x515)])[_0x1022a5(0x4f9)])==null?void 0x0:_0x211bb1['call'](_0x3809e7,_0x299fee);}[_0x3a3cba(0x232)](_0x3692d1){const _0x46d89b=_0x3a3cba;var _0xab53f3,_0x59da9d,_0x561697;return(_0x561697=(_0x59da9d=(_0xab53f3=this[_0x46d89b(0x515)])[_0x46d89b(0x4ba)])==null?void 0x0:_0x59da9d[_0x46d89b(0x4c9)](_0xab53f3,_0x3692d1))!=null?_0x561697:_0x3692d1;}[_0x3a3cba(0x1ed)](_0x3921b6){const _0x36b288=_0x3a3cba;var _0x4eb360,_0x350eb3,_0x585d74;return(_0x585d74=(_0x350eb3=(_0x4eb360=this['_handler'])[_0x36b288(0x1a4)])==null?void 0x0:_0x350eb3[_0x36b288(0x4c9)](_0x4eb360,_0x3921b6))!=null?_0x585d74:_0x3921b6;}[_0x3a3cba(0x44f)](_0x15ee6e){const _0x5e0f32=_0x3a3cba;var _0x5ec068,_0x54ea03;if(this[_0x5e0f32(0x322)]===ne[_0x5e0f32(0x1b1)]){const {unitID:_0x1556fb,mutations:_0x386dea,memberID:_0x30d21a}=_0x15ee6e,_0x17073f=_0x386dea[0x0][_0x5e0f32(0x599)][_0x5e0f32(0x35b)];Array['isArray'](_0x17073f)&&_0x17073f[_0x5e0f32(0x16b)]>0x0&&((_0x54ea03=(_0x5ec068=this[_0x5e0f32(0x515)])['onSyncEditingCollabCursor'])==null||_0x54ea03['call'](_0x5ec068,{'unitID':_0x1556fb,'memberID':_0x30d21a,'textRanges':_0x17073f}));}}[_0x3a3cba(0x24d)](){const _0x249c97=_0x3a3cba;this[_0x249c97(0x3e2)][_0x249c97(0x2b0)](this['unitID'],this[_0x249c97(0x322)],this[_0x249c97(0x512)],this[_0x249c97(0x3b3)]);}[_0x3a3cba(0x25a)](){const _0x32319b=_0x3a3cba;return this[_0x32319b(0x42b)][_0x32319b(0x29e)](this['unitID']);}[_0x3a3cba(0x41e)](){const _0x3de19a=_0x3a3cba;this[_0x3de19a(0x42b)][_0x3de19a(0x28e)](this['unitID']);}['_executeRemoteChangeset'](_0x3c6af6){const _0x31b3a8=_0x3a3cba;var _0x23e9a0;let _0x192135=this[_0x31b3a8(0x232)](_0x3c6af6);_0x192135=this[_0x31b3a8(0x1ed)](_0x192135);const _0x5f1037=a[_0x31b3a8(0x30e)](_0x192135[_0x31b3a8(0x441)],this[_0x31b3a8(0x340)],{'fromCollab':!0x0});if(!_0x5f1037['result'])throw _0x5f1037[_0x31b3a8(0x2e5)]instanceof Error?_0x5f1037[_0x31b3a8(0x2e5)]:new Error((_0x23e9a0=_0x5f1037['error'])!=null?_0x23e9a0:_0x31b3a8(0x29f));this[_0x31b3a8(0x543)](_0x192135),this[_0x31b3a8(0x1ca)](_0x192135),this[_0x31b3a8(0x379)](_0x3c6af6),this['_transformSelections'](_0x192135),this[_0x31b3a8(0x44f)](_0x192135),this[_0x31b3a8(0x41e)]();}}let Oe=class extends be{constructor(_0x2cc6ee,_0x288495,_0x53260d,_0x18bd73,_0x4d36f3,_0x3ad5b8,_0x193c3e,_0x2e800a,_0x4411e3,_0x1707a1){const _0x46efd1=_0x3a3cba;super(_0x2cc6ee,_0x288495,null,[],_0x53260d,_0x2e800a,_0x193c3e,_0x18bd73,_0x4d36f3),I(this,_0x46efd1(0x3b1),'synced'),(this['_injector']=_0x3ad5b8,this[_0x46efd1(0x590)]=_0x4411e3,this['_transformService']=_0x1707a1);}[_0x3a3cba(0x373)](_0x7a5ae5){const _0x225b2e=_0x3a3cba,_0x4d97e4=this[_0x225b2e(0x23e)]['createInstance'](ce,this[_0x225b2e(0x40b)],this['type'],[_0x7a5ae5],this[_0x225b2e(0x515)]);return _0x4d97e4[_0x225b2e(0x223)](),_0x4d97e4[_0x225b2e(0x24d)](),_0x4d97e4;}[_0x3a3cba(0x39e)](_0x4e91ca){const _0x5f41bb=_0x3a3cba;if(this[_0x5f41bb(0x539)](_0x4e91ca))return this['_injector'][_0x5f41bb(0x1c5)](re,this[_0x5f41bb(0x40b)],this['type'],null,[],null,[_0x4e91ca],this[_0x5f41bb(0x515)]);try{const _0x36abe5=this[_0x5f41bb(0x37c)]['transformMutationsWithChangeset'](_0x4e91ca,[kn]);if(p[_0x5f41bb(0x45d)](_0x36abe5)){const {c1Prime:_0x1fb7da}=_0x36abe5;return this['_executeRemoteChangeset'](_0x1fb7da),this;}throw _0x36abe5['error'];}catch(_0xbe2593){return this['_logService'][_0x5f41bb(0x2e5)](_0xbe2593),this[_0x5f41bb(0x1c7)](!0x1);}}[_0x3a3cba(0x1c7)](_0x101096){const _0x44f072=_0x3a3cba;return this['_injector']['createInstance'](ve,this[_0x44f072(0x40b)],this[_0x44f072(0x322)],null,[],this[_0x44f072(0x515)],_0x101096);}[_0x3a3cba(0x298)](){const _0x1f8b65=_0x3a3cba;throw new Error(_0x1f8b65(0x559));}[_0x3a3cba(0x5c4)](){const _0x42f6b6=_0x3a3cba;throw new Error(_0x42f6b6(0x41f));}['onRemoteRetry'](){return this;}[_0x3a3cba(0x50f)](){const _0x2e9f61=_0x3a3cba;return this[_0x2e9f61(0x23e)][_0x2e9f61(0x1c5)](Se,this[_0x2e9f61(0x40b)],this[_0x2e9f61(0x322)],null,[],this[_0x2e9f61(0x515)]);}[_0x3a3cba(0x3fc)](){return this;}['resend'](){const _0xe34cc0=_0x3a3cba;throw new Error(_0xe34cc0(0x1cb));}[_0x3a3cba(0x4b7)](){const _0x3d8405=_0x3a3cba,_0x1ff4cf=this[_0x3d8405(0x42b)][_0x3d8405(0x29e)](this['unitID']);return this['_handler'][_0x3d8405(0x565)]({'from':_0x1ff4cf,'to':0x0}),this[_0x3d8405(0x23e)][_0x3d8405(0x1c5)](re,this[_0x3d8405(0x40b)],this[_0x3d8405(0x322)],null,[],null,[],this[_0x3d8405(0x515)]);}};Oe=Ee([N(0x3,a[_0x3a3cba(0x4b4)](p['RevisionService'])),N(0x4,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),N(0x5,a[_0x3a3cba(0x4b4)](a['Injector'])),N(0x6,a[_0x3a3cba(0x444)]),N(0x7,a[_0x3a3cba(0x2f8)]),N(0x8,a['ILogService']),N(0x9,p['ITransformService'])],Oe);let ce=class extends be{constructor(_0x233399,_0xdf109,_0x213b34,_0x49ab70,_0x6ac4c3,_0x5ab454,_0x3e8c50,_0x27cef9,_0xa41a01,_0x40f07b,_0x1d3c53,_0x157954,_0xfeed18,_0x3aea50){const _0x2da475=_0x3a3cba;super(_0x233399,_0xdf109,null,_0x213b34,_0x49ab70,_0x40f07b,_0x3aea50,_0x5ab454,_0x3e8c50),I(this,_0x2da475(0x3b1),'pending'),I(this,_0x2da475(0x5a2),null),I(this,_0x2da475(0x4f3),null),(this[_0x2da475(0x23e)]=_0x6ac4c3,this[_0x2da475(0x2d0)]=_0x27cef9,this[_0x2da475(0x590)]=_0xa41a01,this[_0x2da475(0x4d1)]=_0x1d3c53,this[_0x2da475(0x37c)]=_0x157954,this[_0x2da475(0x206)]=_0xfeed18);}[_0x3a3cba(0x373)](_0x4647a8){const _0x3b923f=_0x3a3cba;return this[_0x3b923f(0x3b3)][_0x3b923f(0x31b)](_0x4647a8),this[_0x3b923f(0x24d)](),this;}[_0x3a3cba(0x39e)](_0x4d718f){const _0x37fd39=_0x3a3cba;if(this['_checkMissing'](_0x4d718f))return this[_0x37fd39(0x176)](),this[_0x37fd39(0x23e)]['createInstance'](re,this[_0x37fd39(0x40b)],this['type'],null,this[_0x37fd39(0x3b3)],null,[_0x4d718f],this[_0x37fd39(0x515)]);try{const _0x54d9c5=this['_transformService'][_0x37fd39(0x295)](_0x4d718f,this[_0x37fd39(0x3b3)]);if(p[_0x37fd39(0x45d)](_0x54d9c5)){const {c1Prime:_0x5bc376,m2Prime:_0x18ded6}=_0x54d9c5;this[_0x37fd39(0x4ad)](_0x5bc376);const _0x44b3a8=this[_0x37fd39(0x23e)][_0x37fd39(0x1c5)](ce,this[_0x37fd39(0x40b)],this[_0x37fd39(0x322)],_0x18ded6,this['_handler']);return this[_0x37fd39(0x176)](),_0x44b3a8[_0x37fd39(0x223)](this[_0x37fd39(0x5a2)]?Math['max'](0x0,new Date()[_0x37fd39(0x567)]()-this[_0x37fd39(0x5a2)]):this[_0x37fd39(0x44b)]()),_0x44b3a8;}throw _0x54d9c5['error'];}catch(_0x38aa1f){return this[_0x37fd39(0x590)][_0x37fd39(0x2e5)](_0x38aa1f),this[_0x37fd39(0x1c7)](!0x1);}}[_0x3a3cba(0x298)](){const _0x29f98b=_0x3a3cba;throw new Error(_0x29f98b(0x14c));}[_0x3a3cba(0x5c4)](){const _0x5c8d4c=_0x3a3cba;throw new Error(_0x5c8d4c(0x4dd));}[_0x3a3cba(0x4e6)](){return this;}[_0x3a3cba(0x50f)](){const _0x43f949=_0x3a3cba;return this[_0x43f949(0x176)](),this['_injector'][_0x43f949(0x1c5)](Se,this[_0x43f949(0x40b)],this[_0x43f949(0x322)],null,this[_0x43f949(0x3b3)],this['_handler']);}[_0x3a3cba(0x3fc)](){return this;}[_0x3a3cba(0x223)](_0x5588ee){const _0x364891=_0x3a3cba,_0x1bd803=_0x5588ee!=null?_0x5588ee:this['_getSendChangesetTimeout']();this[_0x364891(0x5a2)]=new Date()[_0x364891(0x567)](),this[_0x364891(0x4f3)]=window[_0x364891(0x300)](()=>{const _0x5c0040=_0x364891;this[_0x5c0040(0x176)]();let _0x218a21=null;switch(this['type']){case ne['UNIVER_SHEET']:{_0x218a21=Ht(this['_pendingMutations'],this[_0x5c0040(0x40b)],this[_0x5c0040(0x206)],this[_0x5c0040(0x42b)],this[_0x5c0040(0x2d0)]);break;}case ne[_0x5c0040(0x1b1)]:{this[_0x5c0040(0x3b3)]['every'](_0x4ab9f5=>_0x4ab9f5['id']===Ie['RichTextEditingMutation']['id'])?_0x218a21=Bn(this['_pendingMutations'],this[_0x5c0040(0x40b)],this[_0x5c0040(0x206)],this['_revisionService'],this[_0x5c0040(0x2d0)]):_0x218a21=Ht(this[_0x5c0040(0x3b3)],this[_0x5c0040(0x40b)],this[_0x5c0040(0x206)],this[_0x5c0040(0x42b)],this[_0x5c0040(0x2d0)]);break;}default:throw new Error(_0x5c0040(0x531)+this[_0x5c0040(0x322)]+_0x5c0040(0x17a));}const {changeset:_0x297b68,pendingMutations:_0x430f66}=_0x218a21;this['_handler']['onSendChangeset'](_0x297b68);const _0x376404=_0x430f66['length']?this['_injector'][_0x5c0040(0x1c5)](le,this[_0x5c0040(0x40b)],this[_0x5c0040(0x322)],_0x297b68,_0x430f66,this['_handler'],void 0x0):this[_0x5c0040(0x23e)]['createInstance'](fe,this['unitID'],this[_0x5c0040(0x322)],_0x297b68,this[_0x5c0040(0x515)]);_0x376404[_0x5c0040(0x24d)](),this[_0x5c0040(0x515)][_0x5c0040(0x327)](this,_0x376404);},_0x1bd803);}[_0x3a3cba(0x44b)](){const _0x1d5d13=_0x3a3cba;var _0x58ab66;const _0x2638b4=this['_configService'][_0x1d5d13(0x3cc)](Q);return(_0x58ab66=_0x2638b4==null?void 0x0:_0x2638b4[_0x1d5d13(0x464)])!=null?_0x58ab66:Fi;}[_0x3a3cba(0x48f)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x1f9684=_0x3a3cba;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f9684(0x4f3)]),this[_0x1f9684(0x4f3)]=null);}[_0x3a3cba(0x1c7)](_0x2d4b56){const _0x5b83e6=_0x3a3cba;return this[_0x5b83e6(0x176)](),this[_0x5b83e6(0x23e)][_0x5b83e6(0x1c5)](ve,this[_0x5b83e6(0x40b)],this[_0x5b83e6(0x322)],null,this[_0x5b83e6(0x3b3)],this['_handler'],_0x2d4b56);}};ce=Ee([N(0x4,a[_0x3a3cba(0x4b4)](a['Injector'])),N(0x5,a[_0x3a3cba(0x4b4)](p['RevisionService'])),N(0x6,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),N(0x7,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x510)])),N(0x8,a['ILogService']),N(0x9,a[_0x3a3cba(0x2f8)]),N(0xa,a[_0x3a3cba(0x311)]),N(0xb,p[_0x3a3cba(0x4d5)]),N(0xc,a[_0x3a3cba(0x1c9)]),N(0xd,a[_0x3a3cba(0x444)])],ce);let fe=class extends be{constructor(_0x331e81,_0x28183f,_0x2e1f17,_0x404672,_0x20a90f,_0x565ffa,_0x34b259,_0x3870f4,_0xbc04b6,_0x441c1d,_0x1b3501){const _0x202cec=_0x3a3cba;super(_0x331e81,_0x28183f,_0x2e1f17,[],_0x404672,_0x3870f4,_0x1b3501,_0x565ffa,_0x34b259),I(this,_0x202cec(0x3b1),'awaiting'),I(this,_0x202cec(0x58c),0x0),I(this,'_resendTimer'),I(this,_0x202cec(0x2e7)),(this['_injector']=_0x20a90f,this[_0x202cec(0x590)]=_0xbc04b6,this['_transformService']=_0x441c1d);}[_0x3a3cba(0x373)](_0x2751ed){const _0x10675a=_0x3a3cba;this[_0x10675a(0x176)]();const _0x172dc9=this[_0x10675a(0x23e)][_0x10675a(0x1c5)](le,this[_0x10675a(0x40b)],this[_0x10675a(0x322)],this['_awaitingChangeset'],[_0x2751ed],this[_0x10675a(0x515)],this['_resendTimer']);return _0x172dc9[_0x10675a(0x24d)](),_0x172dc9;}[_0x3a3cba(0x39e)](_0x4e476f){const _0x28f2a0=_0x3a3cba;if(this[_0x28f2a0(0x539)](_0x4e476f))return this[_0x28f2a0(0x176)](),this['_injector'][_0x28f2a0(0x1c5)](re,this[_0x28f2a0(0x40b)],this[_0x28f2a0(0x322)],this[_0x28f2a0(0x512)],[],null,[_0x4e476f],this[_0x28f2a0(0x515)]);try{const _0x5f1cde=this[_0x28f2a0(0x37c)]['transformChangesets']([_0x4e476f],[this[_0x28f2a0(0x512)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x5f1cde)){const {c1Prime:_0x5314e3,c2Prime:_0x575334}=_0x5f1cde;this[_0x28f2a0(0x4ad)](_0x5314e3[0x0]),_0x575334[0x0][_0x28f2a0(0x58e)]=this['_getCurrentRevision'](),this[_0x28f2a0(0x176)]();const _0x1120ed=this['_injector'][_0x28f2a0(0x1c5)](fe,this[_0x28f2a0(0x40b)],this[_0x28f2a0(0x322)],_0x575334[0x0],this[_0x28f2a0(0x515)]);return _0x1120ed['_updateLocalCache'](),_0x1120ed;}return this[_0x28f2a0(0x1c7)](!0x1);}catch(_0x40a6c5){return this['_logService'][_0x28f2a0(0x2e5)](_0x40a6c5),this['_onConflict'](!0x1);}}[_0x3a3cba(0x298)](_0x249803){const _0x518bd4=_0x3a3cba;this[_0x518bd4(0x176)]();const _0x29a828=this['_revisionService'][_0x518bd4(0x29e)](this['unitID']);if(_0x249803[_0x518bd4(0x1bb)]<_0x29a828-0x1)return this;if(this[_0x518bd4(0x539)](_0x249803))return this['_injector'][_0x518bd4(0x1c5)](re,this[_0x518bd4(0x40b)],this[_0x518bd4(0x322)],null,[],this[_0x518bd4(0x512)],[],this[_0x518bd4(0x515)]);this['_incrementRevisionNumber']();const _0x3faefe=this['_injector'][_0x518bd4(0x1c5)](Oe,this[_0x518bd4(0x40b)],this[_0x518bd4(0x322)],this['_handler']);return _0x3faefe[_0x518bd4(0x24d)](),_0x3faefe;}[_0x3a3cba(0x5c4)](_0x21e8c9){const _0x2b9ba8=_0x3a3cba;return this[_0x2b9ba8(0x1c7)](!!(_0x21e8c9!=null&&_0x21e8c9['isPermissionRej']));}['onRemoteRetry'](_0x546d96){const _0x4d41e7=_0x3a3cba;return this[_0x4d41e7(0x58c)]>mi?this[_0x4d41e7(0x50f)]():(this['_resendTimer']=pi(this['_resendTimeout'],{'timeout':this[_0x4d41e7(0x58c)],'reqId':_0x546d96[_0x4d41e7(0x4a6)]}),this[_0x4d41e7(0x2e7)]=this[_0x4d41e7(0x181)][_0x4d41e7(0x250)](({reqId:_0x46b719,timeout:_0x2afb59})=>{this['_resendWithTimeout'](_0x46b719,_0x2afb59);}),this);}['toggleOffline'](){const _0x699433=_0x3a3cba;return this[_0x699433(0x176)](),this[_0x699433(0x23e)]['createInstance'](Se,this[_0x699433(0x40b)],this[_0x699433(0x322)],this[_0x699433(0x512)],[],this['_handler']);}[_0x3a3cba(0x3fc)](){return this;}[_0x3a3cba(0x48f)](){const _0x398a93=_0x3a3cba;this[_0x398a93(0x515)][_0x398a93(0x3c8)](this[_0x398a93(0x512)]);}['_onConflict'](_0x45fe15){const _0x3cabe5=_0x3a3cba;return this[_0x3cabe5(0x176)](),this['_injector'][_0x3cabe5(0x1c5)](ve,this[_0x3cabe5(0x40b)],this[_0x3cabe5(0x322)],this[_0x3cabe5(0x512)],[],this[_0x3cabe5(0x515)],_0x45fe15);}[_0x3a3cba(0x1b8)](_0x4a2016,_0x3f38b3){const _0x23e51e=_0x3a3cba;var _0x3a7a38;_0x4a2016===((_0x3a7a38=this[_0x23e51e(0x512)])==null?void 0x0:_0x3a7a38[_0x23e51e(0x4a6)])&&(this[_0x23e51e(0x48f)](),this[_0x23e51e(0x58c)]=_0x3f38b3===0x0?0x3e8:_0x3f38b3*0x2);}[_0x3a3cba(0x176)](){const _0x5aa052=_0x3a3cba;var _0x2d2ab7;(_0x2d2ab7=this[_0x5aa052(0x2e7)])==null||_0x2d2ab7[_0x5aa052(0x1c6)](),this[_0x5aa052(0x58c)]=0x0;}};fe=Ee([N(0x4,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),N(0x5,a['Inject'](p[_0x3a3cba(0x1a6)])),N(0x6,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),N(0x7,a[_0x3a3cba(0x2f8)]),N(0x8,a[_0x3a3cba(0x4cc)]),N(0x9,p[_0x3a3cba(0x4d5)]),N(0xa,a[_0x3a3cba(0x444)])],fe);let le=class extends be{constructor(_0x2217cd,_0x1d0412,_0x3b11ba,_0x219fda,_0x27d255,_0x3a98ae,_0x899716,_0x314409,_0x1664f5,_0x55c29c,_0xd6b5a8,_0x387cd2,_0x2c2d34){const _0x49bfef=_0x3a3cba;super(_0x2217cd,_0x1d0412,_0x3b11ba,_0x219fda,_0x27d255,_0x55c29c,_0x2c2d34,_0x314409,_0x1664f5),I(this,_0x49bfef(0x3b1),_0x49bfef(0x2da)),I(this,_0x49bfef(0x58c),0x0),I(this,_0x49bfef(0x181)),I(this,'_sender'),(this[_0x49bfef(0x23e)]=_0x899716,this['_logService']=_0xd6b5a8,this[_0x49bfef(0x37c)]=_0x387cd2,_0x3a98ae&&(this[_0x49bfef(0x181)]=_0x3a98ae,this[_0x49bfef(0x2e7)]=this['_resendTimer'][_0x49bfef(0x250)](({reqId:_0x85515d,timeout:_0x198996})=>{const _0x5a34f0=_0x49bfef;this[_0x5a34f0(0x1b8)](_0x85515d,_0x198996);})));}['appendMutation'](_0x222014){const _0x1e72eb=_0x3a3cba;return this[_0x1e72eb(0x3b3)][_0x1e72eb(0x31b)](_0x222014),this;}[_0x3a3cba(0x39e)](_0x4bcda6){const _0x244a64=_0x3a3cba;if(this[_0x244a64(0x539)](_0x4bcda6))return this[_0x244a64(0x176)](),this[_0x244a64(0x23e)][_0x244a64(0x1c5)](re,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x244a64(0x3b3)],null,[_0x4bcda6],this['_handler']);try{const _0x570df7=this['_transformService'][_0x244a64(0x14f)]([_0x4bcda6],[this[_0x244a64(0x512)]],!0x1);if(p[_0x244a64(0x3aa)](_0x570df7)){const {c1Prime:_0x475b23,c2Prime:_0x181569}=_0x570df7,_0x209f8b=this[_0x244a64(0x37c)][_0x244a64(0x295)](_0x475b23[0x0],this['_pendingMutations']);if(p[_0x244a64(0x45d)](_0x209f8b)){const {c1Prime:_0x789d0,m2Prime:_0xdbdd4a}=_0x209f8b;return this[_0x244a64(0x4ad)](_0x789d0),_0x181569[0x0]['baseRev']=this[_0x244a64(0x25a)](),this[_0x244a64(0x176)](),this[_0x244a64(0x23e)][_0x244a64(0x1c5)](le,this[_0x244a64(0x40b)],this[_0x244a64(0x322)],_0x181569[0x0],_0xdbdd4a,this['_handler'],void 0x0);}throw _0x209f8b[_0x244a64(0x2e5)];}throw _0x570df7[_0x244a64(0x2e5)];}catch(_0x4fad10){return this[_0x244a64(0x590)][_0x244a64(0x2e5)](_0x4fad10),this['_onConflict'](!0x1);}}[_0x3a3cba(0x298)](_0x3fb3a3){const _0x322efa=_0x3a3cba;if(this['_clearScheduledTask'](),this[_0x322efa(0x539)](_0x3fb3a3))return this[_0x322efa(0x23e)]['createInstance'](re,this['unitID'],this[_0x322efa(0x322)],null,this['_pendingMutations'],this[_0x322efa(0x512)],[],this[_0x322efa(0x515)]);this['_incrementRevisionNumber']();const _0x32d803=this['_injector'][_0x322efa(0x1c5)](ce,this['unitID'],this[_0x322efa(0x322)],this[_0x322efa(0x3b3)],this[_0x322efa(0x515)]);return _0x32d803[_0x322efa(0x223)](),_0x32d803['_updateLocalCache'](),_0x32d803;}[_0x3a3cba(0x5c4)](_0x4669c1){const _0x4e8e0a=_0x3a3cba;return this['_onConflict'](!!(_0x4669c1!=null&&_0x4669c1[_0x4e8e0a(0x469)]));}[_0x3a3cba(0x4e6)](_0x4026c1){const _0x4cd3b5=_0x3a3cba;return this[_0x4cd3b5(0x58c)]>mi?this[_0x4cd3b5(0x50f)]():(this[_0x4cd3b5(0x181)]=pi(this[_0x4cd3b5(0x58c)],{'timeout':this[_0x4cd3b5(0x58c)],'reqId':_0x4026c1[_0x4cd3b5(0x4a6)]}),this['_sender']=this[_0x4cd3b5(0x181)][_0x4cd3b5(0x250)](({reqId:_0x2e91d1,timeout:_0x3b4d8c})=>{const _0x490e5c=_0x4cd3b5;this[_0x490e5c(0x1b8)](_0x2e91d1,_0x3b4d8c);}),this);}[_0x3a3cba(0x50f)](){const _0x2530cd=_0x3a3cba;return this['_clearScheduledTask'](),this['_injector'][_0x2530cd(0x1c5)](Se,this['unitID'],this[_0x2530cd(0x322)],this[_0x2530cd(0x512)],this['_pendingMutations'],this[_0x2530cd(0x515)]);}[_0x3a3cba(0x3fc)](){return this;}[_0x3a3cba(0x48f)](){const _0x3c1ed5=_0x3a3cba;this['_handler'][_0x3c1ed5(0x3c8)](this[_0x3c1ed5(0x512)]);}[_0x3a3cba(0x1c7)](_0x1e3a17){const _0x468ce1=_0x3a3cba;return this[_0x468ce1(0x176)](),this[_0x468ce1(0x23e)][_0x468ce1(0x1c5)](ve,this['unitID'],this[_0x468ce1(0x322)],null,this[_0x468ce1(0x3b3)],this[_0x468ce1(0x515)],_0x1e3a17);}[_0x3a3cba(0x1b8)](_0x57a53d,_0x27f15a){const _0x1fbaf7=_0x3a3cba;var _0x56cc41;_0x57a53d===((_0x56cc41=this[_0x1fbaf7(0x512)])==null?void 0x0:_0x56cc41[_0x1fbaf7(0x4a6)])&&(this[_0x1fbaf7(0x48f)](),this[_0x1fbaf7(0x58c)]=_0x27f15a===0x0?0x3e8:_0x27f15a*0x2);}[_0x3a3cba(0x176)](){const _0x5ee2f6=_0x3a3cba;var _0x47e551;(_0x47e551=this[_0x5ee2f6(0x2e7)])==null||_0x47e551[_0x5ee2f6(0x1c6)](),this[_0x5ee2f6(0x58c)]=0x0;}};le=Ee([N(0x6,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),N(0x7,a[_0x3a3cba(0x4b4)](p['RevisionService'])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0x3a3cba(0x2f8)]),N(0xa,a[_0x3a3cba(0x4cc)]),N(0xb,p[_0x3a3cba(0x4d5)]),N(0xc,a['IUndoRedoService'])],le);let ve=class extends be{constructor(_0x250bb8,_0x4f137c,_0xfc0b33,_0xd5794e,_0x5e361f,_0x3fd9de=!0x1,_0x5cec96,_0x3d35f1,_0x2d77ad,_0x4941bf,_0x18a616,_0x13ab99,_0x20a029){const _0x496988=_0x3a3cba;super(_0x250bb8,_0x4f137c,_0xfc0b33,_0xd5794e,_0x5e361f,_0x3d35f1,_0x2d77ad,_0x18a616,_0x4941bf),I(this,_0x496988(0x3b1),_0x496988(0x4a9)),(this['_isPermissionRej']=_0x3fd9de,this['_permissionService']=_0x5cec96,this[_0x496988(0x507)]=_0x13ab99,this[_0x496988(0x35e)]=_0x20a029,this[_0x496988(0x384)](),this[_0x496988(0x4c3)](),this[_0x496988(0x144)]());}[_0x3a3cba(0x373)](){return this;}[_0x3a3cba(0x39e)](){return this;}[_0x3a3cba(0x298)](){return this;}[_0x3a3cba(0x5c4)](){return this;}[_0x3a3cba(0x4e6)](){return this;}[_0x3a3cba(0x50f)](){return this;}[_0x3a3cba(0x3fc)](){return this;}[_0x3a3cba(0x48f)](){const _0x3476c7=_0x3a3cba;throw new Error(_0x3476c7(0x23a));}[_0x3a3cba(0x4c3)](){const _0x2e625a=_0x3a3cba;this[_0x2e625a(0x3e2)]['updateOfflineData'](this[_0x2e625a(0x40b)],this['type'],null,[]);}['_showConflictNotification'](){const _0x29c498=_0x3a3cba;this[_0x29c498(0x527)]?this[_0x29c498(0x35e)][_0x29c498(0x1bd)]({'title':this[_0x29c498(0x507)]['t'](_0x29c498(0x4db)),'content':this['_localeService']['t'](_0x29c498(0x5d9)),'type':_0x29c498(0x2e5),'duration':0x0}):this[_0x29c498(0x35e)][_0x29c498(0x1bd)]({'title':this[_0x29c498(0x507)]['t'](_0x29c498(0x59b)),'content':this[_0x29c498(0x507)]['t'](_0x29c498(0x520)),'type':_0x29c498(0x2e5),'duration':0x0});}[_0x3a3cba(0x144)](){const _0xc4675d=_0x3a3cba;this[_0xc4675d(0x19c)][_0xc4675d(0x3f4)](new k[(_0xc4675d(0x1df))](this[_0xc4675d(0x40b)])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2d1)])),N(0x7,a['ICommandService']),N(0x8,a[_0x3a3cba(0x444)]),N(0x9,a[_0x3a3cba(0x4b4)](exports['LocalCacheService'])),N(0xa,a[_0x3a3cba(0x4b4)](p['RevisionService'])),N(0xb,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),N(0xc,te[_0x3a3cba(0x549)])],ve);let Se=class extends be{constructor(_0x120428,_0x2a97d2,_0x18a867,_0xa5af4,_0x2f37ae,_0x47260a,_0x5da44f,_0x2028a6,_0x14f9f1,_0x1af97d){const _0x43c699=_0x3a3cba;super(_0x120428,_0x2a97d2,_0x18a867,_0xa5af4,_0x2f37ae,_0x14f9f1,_0x1af97d,_0x5da44f,_0x2028a6),I(this,_0x43c699(0x3b1),_0x43c699(0x4cb)),this[_0x43c699(0x23e)]=_0x47260a;}[_0x3a3cba(0x373)](_0x116747){const _0x45de11=_0x3a3cba;return this[_0x45de11(0x3b3)][_0x45de11(0x31b)](_0x116747),this['_updateLocalCache'](),this;}[_0x3a3cba(0x39e)](_0x28b11a){const _0x5725b1=_0x3a3cba;throw new Error(_0x5725b1(0x1c3));}[_0x3a3cba(0x298)](){const _0x4025e5=_0x3a3cba;throw new Error(_0x4025e5(0x2de));}[_0x3a3cba(0x5c4)](){const _0x26e66d=_0x3a3cba;throw new Error(_0x26e66d(0x406));}[_0x3a3cba(0x4e6)](){return this;}['toggleOffline'](){return this;}[_0x3a3cba(0x3fc)](){const _0x48f6b3=_0x3a3cba,{_injector:_0x1d2f21,_pendingMutations:_0x40c921,_awaitingChangeset:_0x20d72e,unitID:_0x367521,_handler:_0x5d5b20,type:_0x31754d}=this,_0x4f2daa=gi(_0x1d2f21,_0x367521,_0x31754d,_0x20d72e,_0x40c921,_0x5d5b20);return _0x4f2daa instanceof ce?_0x4f2daa[_0x48f6b3(0x223)]():(_0x4f2daa instanceof le||_0x4f2daa instanceof fe)&&_0x4f2daa[_0x48f6b3(0x48f)](),_0x4f2daa;}[_0x3a3cba(0x48f)](){const _0x26c6be=_0x3a3cba;throw new Error(_0x26c6be(0x47b));}};Se=Ee([N(0x5,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),N(0x6,a['Inject'](p['RevisionService'])),N(0x7,a['Inject'](exports[_0x3a3cba(0x158)])),N(0x8,a[_0x3a3cba(0x2f8)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x1bc84b,_0x2f6d4e,_0x2d13b2,_0x46bd85,_0x138a6c,_0x32715c,_0x2198b1,_0x22fd1c,_0x5a4224,_0xd1bed6,_0x369018,_0x535030,_0xa7be52,_0x931742){const _0x563ea2=_0x3a3cba;super(_0x1bc84b,_0x2f6d4e,_0x2d13b2,_0x46bd85,_0x2198b1,_0x535030,_0xa7be52,_0x5a4224,_0xd1bed6),I(this,_0x563ea2(0x3b1),_0x563ea2(0x435)),(this[_0x563ea2(0x1ce)]=_0x138a6c,this[_0x563ea2(0x28f)]=_0x32715c,this[_0x563ea2(0x23e)]=_0x22fd1c,this[_0x563ea2(0x590)]=_0x369018,this[_0x563ea2(0x37c)]=_0x931742);}[_0x3a3cba(0x345)](_0x1f9514){const _0x470771=_0x3a3cba;try{const _0x5ce706=[..._0x1f9514,...this['_queuedRemoteChangesets']],_0xdab2b0=[this['_awaitingChangeset']||this[_0x470771(0x1ce)]][_0x470771(0x516)](_0x189c5a=>!!_0x189c5a);let _0x1c2ba6,_0x19455a;if(_0xdab2b0['length']){const _0x5ec67d=this['_transformService']['transformChangesets'](_0x5ce706,_0xdab2b0,!0x1);if(!p['isTransformChangesetsSuccess'](_0x5ec67d))throw _0x5ec67d[_0x470771(0x2e5)];_0x1c2ba6=_0x5ec67d[_0x470771(0x268)],_0x19455a=_0x5ec67d[_0x470771(0x363)];}else _0x1c2ba6=_0x5ce706,_0x19455a=[];let _0x11aadc=this[_0x470771(0x3b3)];_0x1c2ba6['forEach'](_0x5453c7=>{const _0x352926=_0x470771;let _0x1bf1d4;if(_0x11aadc[_0x352926(0x16b)]){const _0x1edf53=this[_0x352926(0x37c)][_0x352926(0x295)](_0x5453c7,_0x11aadc);if(!p[_0x352926(0x45d)](_0x1edf53))throw _0x1edf53[_0x352926(0x2e5)];_0x1bf1d4=_0x1edf53[_0x352926(0x268)],_0x11aadc=_0x1edf53[_0x352926(0x3c0)];}else _0x1bf1d4=_0x5453c7;this[_0x352926(0x4ad)](_0x1bf1d4);}),this[_0x470771(0x1ce)]&&this[_0x470771(0x41e)](),this[_0x470771(0x512)]&&_0x19455a[_0x470771(0x16b)]&&(_0x19455a[0x0][_0x470771(0x58e)]=this[_0x470771(0x25a)]());let _0x699247;if(this['_awaitingChangeset']&&_0x11aadc[_0x470771(0x16b)]!==0x0)_0x699247=this[_0x470771(0x23e)][_0x470771(0x1c5)](le,this[_0x470771(0x40b)],this[_0x470771(0x322)],_0x19455a[0x0],_0x11aadc,this[_0x470771(0x515)],void 0x0);else{if(this[_0x470771(0x512)]&&_0x11aadc[_0x470771(0x16b)]===0x0)_0x19455a[0x0][_0x470771(0x58e)]=this[_0x470771(0x25a)](),_0x699247=this[_0x470771(0x23e)][_0x470771(0x1c5)](fe,this['unitID'],this['type'],_0x19455a[0x0],this[_0x470771(0x515)]);else{if(_0x11aadc[_0x470771(0x16b)]!==0x0){const _0x5c3bc7=this[_0x470771(0x23e)][_0x470771(0x1c5)](ce,this['unitID'],this[_0x470771(0x322)],_0x11aadc,this['_handler']);_0x5c3bc7[_0x470771(0x223)](),_0x699247=_0x5c3bc7;}else _0x699247=this[_0x470771(0x23e)][_0x470771(0x1c5)](Oe,this[_0x470771(0x40b)],this['type'],this[_0x470771(0x515)]);}}return _0x699247[_0x470771(0x24d)](),_0x699247;}catch(_0x2ec8bb){return this[_0x470771(0x590)]['error'](_0x470771(0x13f),_0x470771(0x27c),_0x2ec8bb),this[_0x470771(0x23e)]['createInstance'](ve,this['unitID'],this['type'],this[_0x470771(0x512)],this[_0x470771(0x3b3)],this[_0x470771(0x515)],!0x1);}}[_0x3a3cba(0x48f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3a3cba(0x373)](_0x26c4b5){const _0x1b9f97=_0x3a3cba;return this[_0x1b9f97(0x3b3)][_0x1b9f97(0x31b)](_0x26c4b5),this;}['onRemoteChangeset'](_0x23a17f){const _0xa867e7=_0x3a3cba;return this[_0xa867e7(0x28f)][_0xa867e7(0x31b)](_0x23a17f),this;}['onRemoteAck'](_0x2b7fde){const _0x4d9306=_0x3a3cba;if(this[_0x4d9306(0x512)])return this['_acknowledgedAwaitingChangeset']=this[_0x4d9306(0x512)],this[_0x4d9306(0x512)]=null,this;throw new Error(_0x4d9306(0x5c1));}['onRemoteRej'](_0x16f750){const _0x4b070b=_0x3a3cba;return this[_0x4b070b(0x1c7)](!!(_0x16f750!=null&&_0x16f750[_0x4b070b(0x469)]));}[_0x3a3cba(0x4e6)](){return this;}[_0x3a3cba(0x50f)](){const _0x5c7f8e=_0x3a3cba;return this[_0x5c7f8e(0x23e)][_0x5c7f8e(0x1c5)](Se,this['unitID'],this[_0x5c7f8e(0x322)],this[_0x5c7f8e(0x512)],this['_pendingMutations'],this[_0x5c7f8e(0x515)]);}[_0x3a3cba(0x3fc)](){return this;}[_0x3a3cba(0x1c7)](_0x5f4097){const _0x139042=_0x3a3cba;return this[_0x139042(0x23e)][_0x139042(0x1c5)](ve,this[_0x139042(0x40b)],this[_0x139042(0x322)],this[_0x139042(0x512)],this[_0x139042(0x3b3)],this[_0x139042(0x515)],_0x5f4097);}};re=Ee([N(0x7,a['Inject'](a[_0x3a3cba(0x207)])),N(0x8,a[_0x3a3cba(0x4b4)](p['RevisionService'])),N(0x9,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),N(0xa,a[_0x3a3cba(0x4cc)]),N(0xb,a['ICommandService']),N(0xc,a[_0x3a3cba(0x444)]),N(0xd,p[_0x3a3cba(0x4d5)])],re);function gi(_0x4bc0e4,_0x677293,_0x447bcb,_0x915a4d,_0x904e28,_0x41fc64){const _0x43c948=_0x3a3cba;return _0x915a4d&&_0x904e28[_0x43c948(0x16b)]?_0x4bc0e4[_0x43c948(0x1c5)](le,_0x677293,_0x447bcb,_0x915a4d,_0x904e28,_0x41fc64,void 0x0):_0x915a4d?_0x4bc0e4[_0x43c948(0x1c5)](fe,_0x677293,_0x447bcb,_0x915a4d,_0x41fc64):_0x904e28['length']?_0x4bc0e4[_0x43c948(0x1c5)](ce,_0x677293,_0x447bcb,_0x904e28,_0x41fc64):_0x4bc0e4['createInstance'](Oe,_0x677293,_0x447bcb,_0x41fc64);}function _0x131b(_0x249497,_0xb0f8f5){const _0x103525=_0x1035();return _0x131b=function(_0x131bfb,_0x26567b){_0x131bfb=_0x131bfb-0x12b;let _0x46491b=_0x103525[_0x131bfb];return _0x46491b;},_0x131b(_0x249497,_0xb0f8f5);}var Vn=Object[_0x3a3cba(0x5d1)],Gn=Object['getOwnPropertyDescriptor'],Ot=(_0x43ebd8,_0x22c189,_0x463f10,_0x227af0)=>{const _0x3af78a=_0x3a3cba;for(var _0x2cc2dd=_0x227af0>0x1?void 0x0:_0x227af0?Gn(_0x22c189,_0x463f10):_0x22c189,_0x1ac7b7=_0x43ebd8[_0x3af78a(0x16b)]-0x1,_0x486b7b;_0x1ac7b7>=0x0;_0x1ac7b7--)(_0x486b7b=_0x43ebd8[_0x1ac7b7])&&(_0x2cc2dd=(_0x227af0?_0x486b7b(_0x22c189,_0x463f10,_0x2cc2dd):_0x486b7b(_0x2cc2dd))||_0x2cc2dd);return _0x227af0&&_0x2cc2dd&&Vn(_0x22c189,_0x463f10,_0x2cc2dd),_0x2cc2dd;},H=(_0x19edb8,_0x5c1a69)=>(_0x4450d3,_0x9852b0)=>_0x5c1a69(_0x4450d3,_0x9852b0,_0x19edb8);exports[_0x3a3cba(0x3a1)]=class extends a['RxDisposable']{constructor(_0x2b95bb,_0x353008,_0x281202,_0x5017bb,_0x52f976,_0x5174af,_0x51ebd0,_0x385c9a,_0x452ba8,_0x331909,_0x36d9b1,_0xc904a,_0x1e17cd){const _0x42b8a4=_0x3a3cba;super(),I(this,_0x42b8a4(0x307),new A['BehaviorSubject'](null)),I(this,'state$',this[_0x42b8a4(0x307)][_0x42b8a4(0x216)]()),I(this,_0x42b8a4(0x236)),I(this,_0x42b8a4(0x54b),!0x1),I(this,_0x42b8a4(0x1fb),''),I(this,_0x42b8a4(0x15f),0x0),I(this,_0x42b8a4(0x47f),this['state$'][_0x42b8a4(0x17b)](A[_0x42b8a4(0x53a)](_0x448c95=>_0x448c95?_0x448c95[_0x42b8a4(0x3b1)]:q[_0x42b8a4(0x49b)]),A['shareReplay'](0x1))),I(this,_0x42b8a4(0x55d),!0x1),I(this,_0x42b8a4(0x2a7),[]),(this['unitID']=_0x2b95bb,this[_0x42b8a4(0x30c)]=_0x353008,this[_0x42b8a4(0x40f)]=_0x281202,this[_0x42b8a4(0x23e)]=_0x5017bb,this[_0x42b8a4(0x3e2)]=_0x52f976,this['_compressMutationService']=_0x5174af,this[_0x42b8a4(0x507)]=_0x51ebd0,this[_0x42b8a4(0x42b)]=_0x385c9a,this['_logService']=_0x452ba8,this[_0x42b8a4(0x340)]=_0x331909,this[_0x42b8a4(0x133)]=_0x36d9b1,this[_0x42b8a4(0x19c)]=_0xc904a,this[_0x42b8a4(0x368)]=_0x1e17cd);}get[_0x3a3cba(0x4cf)](){return this['_state'];}async['init'](){const _0x1022be=_0x3a3cba;if(this[_0x1022be(0x4cf)])throw new Error(_0x1022be(0x347));await this[_0x1022be(0x4ef)]();}['pauseCollaboration'](){const _0x509537=_0x3a3cba;return this[_0x509537(0x54b)]=!0x0,a[_0x509537(0x2bd)](()=>{const _0x174e8d=_0x509537;this[_0x174e8d(0x54b)]=!0x1,this[_0x174e8d(0x51b)]();});}[_0x3a3cba(0x483)](_0x5c515d){const _0x2ee63a=_0x3a3cba;this[_0x2ee63a(0x236)]=_0x5c515d,this['_state$'][_0x2ee63a(0x519)](_0x5c515d);}async[_0x3a3cba(0x4ef)](){const _0x5ca796=_0x3a3cba;var _0x74daf7;this[_0x5ca796(0x483)](await this[_0x5ca796(0x55e)]()),this[_0x5ca796(0x368)]&&((_0x74daf7=this[_0x5ca796(0x368)])==null||_0x74daf7[_0x5ca796(0x22c)](this[_0x5ca796(0x40b)]),this[_0x5ca796(0x5e6)](this['_singleActiveUnitService'][_0x5ca796(0x49f)](this[_0x5ca796(0x40b)])[_0x5ca796(0x250)](_0x1d7cce=>{const _0x10a75c=_0x5ca796;this[_0x10a75c(0x590)][_0x10a75c(0x2ba)](_0x10a75c(0x302),_0x10a75c(0x34e),_0x1d7cce),_0x1d7cce===vi[_0x10a75c(0x328)]?(this[_0x10a75c(0x133)][_0x10a75c(0x1bd)]({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':Ce[_0x10a75c(0x45b)]['Warning']}),this[_0x10a75c(0x19c)][_0x10a75c(0x3f4)](new k['WorkbookEditablePermission'](this[_0x10a75c(0x40b)])['id'],!0x1),this['_permissionService'][_0x10a75c(0x5c6)](!0x1)):(this['_permissionService'][_0x10a75c(0x3f4)](new k[(_0x10a75c(0x1df))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x10a75c(0x5c6)](!0x0));})));let _0x213ffb=!0x1;return this['disposeWithMe'](this[_0x5ca796(0x30c)]['sessionStatus$'][_0x5ca796(0x250)](_0x436bd8=>{const _0x509bb4=_0x5ca796;_0x436bd8===se[_0x509bb4(0x471)]?this[_0x509bb4(0x4df)](_0x213ffb):_0x436bd8===se['OFFLINE']&&(_0x213ffb=!0x0,this[_0x509bb4(0x500)]());})),this['disposeWithMe'](this[_0x5ca796(0x30c)]['event$'][_0x5ca796(0x250)](_0x13b274=>{const _0x4e8f5e=_0x5ca796;try{switch(_0x13b274['eventID']){case p[_0x4e8f5e(0x38b)][_0x4e8f5e(0x2b6)]:{this[_0x4e8f5e(0x508)](p[_0x4e8f5e(0x1d1)](_0x13b274[_0x4e8f5e(0x19b)]));break;}case p[_0x4e8f5e(0x38b)][_0x4e8f5e(0x558)]:{this[_0x4e8f5e(0x22a)](_0x13b274[_0x4e8f5e(0x19b)]);break;}case p[_0x4e8f5e(0x38b)][_0x4e8f5e(0x4b9)]:{this['_onRemoteRejected']();break;}case p[_0x4e8f5e(0x38b)][_0x4e8f5e(0x4ab)]:{this[_0x4e8f5e(0x4c1)](_0x13b274[_0x4e8f5e(0x19b)]);break;}case p[_0x4e8f5e(0x38b)][_0x4e8f5e(0x21c)]:{this['_onFetchMissResult'](_0x13b274[_0x4e8f5e(0x19b)][_0x4e8f5e(0x2ad)]['map'](_0x5b8e5d=>p[_0x4e8f5e(0x1d1)](_0x5b8e5d)));break;}case p['CollaborationEvent'][_0x4e8f5e(0x459)]:this[_0x4e8f5e(0x35d)]({'isPermissionRej':!0x0});}}catch(_0x135665){throw console[_0x4e8f5e(0x2e5)](_0x4e8f5e(0x30f),_0x135665),_0x135665;}})),this['_state'];}['_unlockTransition'](){const _0x75cbc8=_0x3a3cba;this[_0x75cbc8(0x55d)]=!0x1;}[_0x3a3cba(0x1e5)](){const _0x70b701=_0x3a3cba;if(this[_0x70b701(0x55d)])throw new Error(_0x70b701(0x177));this['_transitionLocked']=!0x0;}[_0x3a3cba(0x46b)](_0x43f525){const _0x1701df=_0x3a3cba;this[_0x1701df(0x1e5)](),this[_0x1701df(0x483)](this['_state'][_0x1701df(0x373)](_0x43f525)),this[_0x1701df(0x1a9)]();}[_0x3a3cba(0x508)](_0xc50f64){const _0x1fe15e=_0x3a3cba;if(!(_0xc50f64[_0x1fe15e(0x1bb)]<=this['_revisionService'][_0x1fe15e(0x29e)](this[_0x1fe15e(0x40b)]))){if(this[_0x1fe15e(0x54b)]){this[_0x1fe15e(0x2a7)][_0x1fe15e(0x31b)](_0xc50f64);return;}this[_0x1fe15e(0x3e8)](_0xc50f64);}}[_0x3a3cba(0x51b)](){const _0x97731e=_0x3a3cba;this[_0x97731e(0x2a7)]['forEach'](_0xdba284=>this[_0x97731e(0x3e8)](_0xdba284)),this[_0x97731e(0x2a7)]=[];}[_0x3a3cba(0x3e8)](_0x1cda4e){const _0x103438=_0x3a3cba,_0x1c6ac6=this[_0x103438(0x5af)]['interceptor'][_0x103438(0x346)](this[_0x103438(0x5af)]['interceptor'][_0x103438(0x264)]()[_0x103438(0x2ab)])(_0x1cda4e[_0x103438(0x441)],null)||_0x1cda4e['mutations'],_0x2bf0e3={..._0x1cda4e,'mutations':_0x1c6ac6};this[_0x103438(0x1e5)](),this[_0x103438(0x483)](this[_0x103438(0x236)][_0x103438(0x39e)](_0x2bf0e3)),this[_0x103438(0x1a9)]();}[_0x3a3cba(0x22a)](_0x16a644){const _0x125318=_0x3a3cba;this[_0x125318(0x1e5)](),this[_0x125318(0x483)](this[_0x125318(0x236)][_0x125318(0x298)](_0x16a644)),this[_0x125318(0x1a9)]();}[_0x3a3cba(0x35d)](_0x28b8c4){const _0x54885e=_0x3a3cba;this[_0x54885e(0x1e5)](),this[_0x54885e(0x483)](this['_state'][_0x54885e(0x5c4)](_0x28b8c4)),this[_0x54885e(0x1a9)]();}['_onRemoteRetry'](_0x2c240a){const _0x3aa658=_0x3a3cba;this[_0x3aa658(0x1e5)](),this[_0x3aa658(0x483)](this[_0x3aa658(0x236)][_0x3aa658(0x4e6)](_0x2c240a)),this['_unlockTransition']();}[_0x3a3cba(0x5c8)](_0x4f76e4){const _0x336d61=_0x3a3cba;if(!(this[_0x336d61(0x236)]instanceof re))throw new TypeError(_0x336d61(0x2dc));const _0x466fd9=_0x4f76e4[_0x336d61(0x53a)](_0x300668=>{const _0x28c980=_0x336d61,_0x12bdfa=this[_0x28c980(0x5af)][_0x28c980(0x58d)][_0x28c980(0x346)](this[_0x28c980(0x5af)][_0x28c980(0x58d)][_0x28c980(0x264)]()[_0x28c980(0x2ab)])(_0x300668[_0x28c980(0x441)],null)||_0x300668[_0x28c980(0x441)];return{..._0x300668,'mutations':_0x12bdfa};});this[_0x336d61(0x1e5)](),this[_0x336d61(0x483)](this[_0x336d61(0x236)][_0x336d61(0x345)](_0x466fd9)),this[_0x336d61(0x1a9)]();}[_0x3a3cba(0x500)](){const _0x36a870=_0x3a3cba;this[_0x36a870(0x1e5)](),this[_0x36a870(0x483)](this['_state'][_0x36a870(0x50f)]()),this['_unlockTransition']();}['_toggleOnline'](_0x26003d=!0x1){const _0x4569dc=_0x3a3cba;this[_0x4569dc(0x1e5)](),this['_updateState'](this['_state'][_0x4569dc(0x3fc)]()),this[_0x4569dc(0x1a9)]();const _0x3f8b5d=this['_state'];_0x26003d&&_0x3f8b5d instanceof Oe&&(this['_lockTransition'](),this[_0x4569dc(0x483)](_0x3f8b5d[_0x4569dc(0x4b7)]()),this[_0x4569dc(0x1a9)]());}async[_0x3a3cba(0x55e)](){return new Promise(_0x31113b=>{const _0x37bf19=_0x131b;this['session'][_0x37bf19(0x241)][_0x37bf19(0x17b)](A[_0x37bf19(0x1e9)](0x1))['subscribe'](async _0x5b0d61=>{const _0x3b849d=_0x37bf19;_0x31113b(await this[_0x3b849d(0x3ba)](_0x5b0d61===se[_0x3b849d(0x471)]));});});}['_createHandler'](){const _0x355361=_0x3a3cba,_0x432685=this[_0x355361(0x40b)];return{'onStateChange':(_0x58506d,_0x294c29)=>{const _0x24f8e4=_0x355361;if(_0x58506d!==this[_0x24f8e4(0x236)])throw new Error(_0x24f8e4(0x23c)+_0x58506d[_0x24f8e4(0x3b1)]+'\x0aAfter:\x20'+_0x294c29[_0x24f8e4(0x3b1)]+_0x24f8e4(0x4ec)+this['_state']['status']);this[_0x24f8e4(0x483)](_0x294c29);},'onSendChangeset':_0x2d2324=>{const _0x5a7ef2=_0x355361;_0x2d2324[_0x5a7ef2(0x593)]||(_0x2d2324['sid']=this[_0x5a7ef2(0x1fb)],_0x2d2324[_0x5a7ef2(0x4a6)]=++this[_0x5a7ef2(0x15f)]);const _0x102321={'eventID':p[_0x5a7ef2(0x38b)][_0x5a7ef2(0x5d6)],'data':{'unitID':_0x2d2324[_0x5a7ef2(0x40b)],'unitType':this[_0x5a7ef2(0x40f)],'changeset':_0x2d2324,'memberID':this[_0x5a7ef2(0x30c)][_0x5a7ef2(0x542)]()}};this[_0x5a7ef2(0x30c)][_0x5a7ef2(0x52a)](_0x102321,this[_0x5a7ef2(0x40b)]);},'onMissingChangesets':({from:_0x199413,to:_0x391dd9})=>{const _0x53d851=_0x355361;this[_0x53d851(0x590)]['debug'](_0x53d851(0x302),_0x53d851(0x277)+_0x199413+_0x53d851(0x450)+_0x391dd9);const _0x4fed9a={'eventID':p['CollaborationEvent'][_0x53d851(0x461)],'data':{'unitID':_0x432685,'unitType':this['_type'],'from':_0x199413,'to':_0x391dd9}};this[_0x53d851(0x30c)][_0x53d851(0x52a)](_0x4fed9a,this[_0x53d851(0x40b)]);}};}async[_0x3a3cba(0x3ba)](_0x1fc2ba){const _0x1d425b=_0x3a3cba;var _0x543af8,_0x4e58c4;const _0x7cda96=await this[_0x1d425b(0x3e2)][_0x1d425b(0x45f)](this[_0x1d425b(0x40b)]),_0x56a3b7=(_0x543af8=_0x7cda96==null?void 0x0:_0x7cda96[_0x1d425b(0x441)])!=null?_0x543af8:[],_0x5f2259=(_0x4e58c4=_0x7cda96==null?void 0x0:_0x7cda96['awaitingChangeset'])!=null?_0x4e58c4:null,_0x4f7608=!!(_0x5f2259!=null&&_0x5f2259[_0x1d425b(0x593)])&&!!(_0x5f2259!=null&&_0x5f2259['reqId']);this[_0x1d425b(0x1fb)]=_0x4f7608?_0x5f2259[_0x1d425b(0x593)]:In(),this[_0x1d425b(0x15f)]=_0x4f7608?_0x5f2259[_0x1d425b(0x4a6)]:0x0;const _0x15be9e=this[_0x1d425b(0x40b)];try{this[_0x1d425b(0x354)](_0x5f2259,_0x56a3b7);}catch(_0x1cfd68){this[_0x1d425b(0x590)][_0x1d425b(0x2e5)](_0x1cfd68);}const _0x5a2514=this['_createHandler']();if(_0x1fc2ba){const _0xb915e=gi(this[_0x1d425b(0x23e)],_0x15be9e,this[_0x1d425b(0x40f)],_0x5f2259,_0x56a3b7,_0x5a2514);return _0xb915e instanceof ce?_0xb915e['_schedule']():(_0xb915e instanceof le||_0xb915e instanceof fe)&&_0xb915e[_0x1d425b(0x48f)](),_0xb915e;}return this[_0x1d425b(0x23e)][_0x1d425b(0x1c5)](Se,_0x15be9e,this[_0x1d425b(0x40f)],_0x5f2259,_0x56a3b7,_0x5a2514);}[_0x3a3cba(0x354)](_0x20c82f,_0x13c611){const _0x4189c9=_0x3a3cba;var _0x42c905,_0x2a5529;const _0x288ea2=this[_0x4189c9(0x5af)][_0x4189c9(0x58d)][_0x4189c9(0x346)](this['_compressMutationService']['interceptor'][_0x4189c9(0x264)]()[_0x4189c9(0x2ab)]);(_0x42c905=_0x288ea2((_0x20c82f==null?void 0x0:_0x20c82f[_0x4189c9(0x441)])||[],null))==null||_0x42c905['forEach'](_0x1a31cb=>this[_0x4189c9(0x340)][_0x4189c9(0x52f)](_0x1a31cb['id'],_0x1a31cb[_0x4189c9(0x599)])),(_0x2a5529=_0x288ea2(_0x13c611||[],null))==null||_0x2a5529[_0x4189c9(0x281)](_0x518cd7=>this[_0x4189c9(0x340)]['executeCommand'](_0x518cd7['id'],_0x518cd7['params']));}},exports[_0x3a3cba(0x3a1)]=Ot([H(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),H(0x4,a['Inject'](exports[_0x3a3cba(0x158)])),H(0x5,a[_0x3a3cba(0x4b4)](p['CompressMutationService'])),H(0x6,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),H(0x7,a[_0x3a3cba(0x4b4)](p['RevisionService'])),H(0x8,a[_0x3a3cba(0x4cc)]),H(0x9,a['ICommandService']),H(0xa,te[_0x3a3cba(0x28d)]),H(0xb,a[_0x3a3cba(0x2d1)]),H(0xc,a[_0x3a3cba(0x229)](ze))],exports[_0x3a3cba(0x3a1)]),exports[_0x3a3cba(0x2ec)]=class extends exports[_0x3a3cba(0x3a1)]{constructor(_0x4cc245,_0x378dbb,_0x4915c2,_0x36cc87,_0x2cb21b,_0x289164,_0x3919a3,_0x419c28,_0x1b1d7a,_0x286b4f,_0x4c2f5d,_0x465e7c,_0xc0ab6c,_0x3bd72e,_0x5c0f2d,_0x4f087b,_0x40e419,_0x319e49){const _0x1f133a=_0x3a3cba;super(_0x4cc245,_0x4915c2,_0x378dbb,_0x36cc87,_0x2cb21b,_0x289164,_0x3919a3,_0x419c28,_0x3bd72e,_0x5c0f2d,_0x4f087b,_0x40e419,_0x319e49),this[_0x1f133a(0x40b)]=_0x4cc245,this['type']=_0x378dbb,this[_0x1f133a(0x178)]=_0x1b1d7a,this[_0x1f133a(0x592)]=_0x286b4f,this[_0x1f133a(0x41d)]=_0x4c2f5d,this[_0x1f133a(0x4ea)]=_0x465e7c,this['_docSyncEditingCollabCursorService']=_0xc0ab6c;}[_0x3a3cba(0x169)](){const _0x2d67db=_0x3a3cba,_0x5d3bd3=super[_0x2d67db(0x169)]();return _0x5d3bd3[_0x2d67db(0x3e9)]=_0x4c0c4c=>this[_0x2d67db(0x592)]['transformIMECache'](_0x4c0c4c),_0x5d3bd3[_0x2d67db(0x4f9)]=_0x5eb350=>this[_0x2d67db(0x41d)][_0x2d67db(0x253)](_0x5eb350),_0x5d3bd3[_0x2d67db(0x29b)]=_0x33fd49=>this[_0x2d67db(0x4ea)][_0x2d67db(0x437)](_0x33fd49),_0x5d3bd3[_0x2d67db(0x414)]=_0x28b0a4=>this[_0x2d67db(0x151)][_0x2d67db(0x198)](_0x28b0a4),_0x5d3bd3[_0x2d67db(0x4ba)]=_0x589c82=>this[_0x2d67db(0x592)]['transformRemoteChangeset'](_0x589c82),_0x5d3bd3['onTransformRemoteChangesetByStateCache']=_0x4caf4c=>this[_0x2d67db(0x41d)]['transformRemoteChangeset'](_0x4caf4c),_0x5d3bd3;}async[_0x3a3cba(0x4ef)](){const _0x316996=_0x3a3cba,_0x23534a=await super[_0x316996(0x4ef)]();return this[_0x316996(0x5e6)](this['_docStateChangeManagerService'][_0x316996(0x577)]['pipe'](A['takeUntil'](this[_0x316996(0x541)]))['subscribe'](_0x97d0b3=>{const _0x14e61d=_0x316996;if(_0x97d0b3==null)return;const {unitId:_0x56998c,redoState:_0x518169,commandId:_0x11c183}=_0x97d0b3;if(_0x56998c!==this['unitID'])return;const _0x226535={'id':_0x11c183,'type':a['CommandType'][_0x14e61d(0x5b4)],'params':{'unitId':_0x56998c,'actions':_0x518169[_0x14e61d(0x369)],'textRanges':null}};this[_0x14e61d(0x46b)](_0x226535);})),this[_0x316996(0x5e6)](this[_0x316996(0x340)]['onCommandExecuted']((_0x5077cb,_0x5eee10)=>{const _0x897113=_0x316996;if(_0x5077cb[_0x897113(0x322)]!==a['CommandType'][_0x897113(0x5b4)]||_0x5eee10!=null&&_0x5eee10[_0x897113(0x488)]||_0x5eee10!=null&&_0x5eee10[_0x897113(0x5ca)]||_0x5077cb['id']===Ie[_0x897113(0x13d)]['id'])return;const _0x39e1cc=_0x5077cb[_0x897113(0x599)];if((_0x39e1cc==null?void 0x0:_0x39e1cc[_0x897113(0x168)])!==this['unitID'])return;const _0x5193ed=_0x5077cb,_0x5190c6=this[_0x897113(0x5af)]['interceptor'][_0x897113(0x346)](this[_0x897113(0x5af)][_0x897113(0x58d)][_0x897113(0x264)]()[_0x897113(0x13c)])([_0x5193ed],null)||[_0x5193ed];this[_0x897113(0x46b)](_0x5190c6[0x0]);})),_0x23534a;}},exports[_0x3a3cba(0x2ec)]=Ot([H(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),H(0x4,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),H(0x5,a[_0x3a3cba(0x4b4)](p[_0x3a3cba(0x31f)])),H(0x6,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),H(0x7,a[_0x3a3cba(0x4b4)](p[_0x3a3cba(0x1a6)])),H(0x8,a[_0x3a3cba(0x4b4)](J[_0x3a3cba(0x5d5)])),H(0x9,a[_0x3a3cba(0x4b4)](Be)),H(0xa,a['Inject'](We)),H(0xb,a[_0x3a3cba(0x4b4)](Fe)),H(0xc,a[_0x3a3cba(0x4b4)](yt)),H(0xd,a[_0x3a3cba(0x4cc)]),H(0xe,a[_0x3a3cba(0x2f8)]),H(0xf,te[_0x3a3cba(0x28d)]),H(0x10,a['IPermissionService']),H(0x11,a['Optional'](ze))],exports[_0x3a3cba(0x2ec)]),exports[_0x3a3cba(0x374)]=class extends exports[_0x3a3cba(0x3a1)]{constructor(_0x377dd7,_0x2f5c42,_0x45f556,_0x2281fb,_0x21efd5,_0x1fbfef,_0x3d26fb,_0x292abf,_0xd452f1,_0x409342,_0xc529ca,_0x4161a0,_0x29a653,_0x1916bf){const _0x12824f=_0x3a3cba;super(_0x377dd7,_0x45f556,_0x2f5c42,_0x2281fb,_0x21efd5,_0x1fbfef,_0x3d26fb,_0x292abf,_0x409342,_0xc529ca,_0x4161a0,_0x29a653,_0x1916bf),this[_0x12824f(0x40b)]=_0x377dd7,this[_0x12824f(0x322)]=_0x2f5c42,this[_0x12824f(0x55c)]=_0xd452f1;}[_0x3a3cba(0x169)](){const _0x3c9622=_0x3a3cba,_0x3e7f40=super[_0x3c9622(0x169)]();return _0x3e7f40['onTransformSelections']=_0x509f53=>this[_0x3c9622(0x55c)][_0x3c9622(0x437)](_0x509f53),_0x3e7f40;}async['_init'](){const _0x281d15=_0x3a3cba,_0x528547=await super[_0x281d15(0x4ef)]();return this[_0x281d15(0x5e6)](this['_commandService'][_0x281d15(0x334)]((_0x447bb4,_0xd3c565)=>{const _0x328d95=_0x281d15;if(_0x447bb4[_0x328d95(0x322)]!==a[_0x328d95(0x2f1)][_0x328d95(0x5b4)]||_0xd3c565!=null&&_0xd3c565[_0x328d95(0x488)]||_0xd3c565!=null&&_0xd3c565[_0x328d95(0x5ca)])return;const _0x5825af=_0x447bb4[_0x328d95(0x599)];if((_0x5825af==null?void 0x0:_0x5825af['unitId'])!==this[_0x328d95(0x40b)])return;const _0x47252b=_0x447bb4,_0x18a054=this[_0x328d95(0x5af)]['interceptor'][_0x328d95(0x346)](this[_0x328d95(0x5af)][_0x328d95(0x58d)][_0x328d95(0x264)]()[_0x328d95(0x13c)])([_0x47252b],null)||[_0x47252b];this[_0x328d95(0x46b)](_0x18a054[0x0]);})),_0x528547;}},exports[_0x3a3cba(0x374)]=Ot([H(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),H(0x4,a['Inject'](exports[_0x3a3cba(0x158)])),H(0x5,a[_0x3a3cba(0x4b4)](p[_0x3a3cba(0x31f)])),H(0x6,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)])),H(0x7,a[_0x3a3cba(0x4b4)](p['RevisionService'])),H(0x8,a[_0x3a3cba(0x4b4)](ke)),H(0x9,a[_0x3a3cba(0x4cc)]),H(0xa,a[_0x3a3cba(0x2f8)]),H(0xb,te['IMessageService']),H(0xc,a[_0x3a3cba(0x2d1)]),H(0xd,a[_0x3a3cba(0x229)](ze))],exports[_0x3a3cba(0x374)]);var Yn=Object[_0x3a3cba(0x5d1)],Kn=Object[_0x3a3cba(0x42d)],qn=(_0x1a36fd,_0x58102a,_0x2b3d40,_0x28e2cf)=>{for(var _0x2c19da=_0x28e2cf>0x1?void 0x0:_0x28e2cf?Kn(_0x58102a,_0x2b3d40):_0x58102a,_0x587f93=_0x1a36fd['length']-0x1,_0x560991;_0x587f93>=0x0;_0x587f93--)(_0x560991=_0x1a36fd[_0x587f93])&&(_0x2c19da=(_0x28e2cf?_0x560991(_0x58102a,_0x2b3d40,_0x2c19da):_0x560991(_0x2c19da))||_0x2c19da);return _0x28e2cf&&_0x2c19da&&Yn(_0x58102a,_0x2b3d40,_0x2c19da),_0x2c19da;},it=(_0x4c430e,_0x1e9e61)=>(_0x374c3e,_0x1c35fe)=>_0x1e9e61(_0x374c3e,_0x1c35fe,_0x4c430e);exports[_0x3a3cba(0x5c9)]=class extends a['RxDisposable']{constructor(_0x2c048b,_0xff9c48,_0x256f65){const _0x118fe3=_0x3a3cba;super(),I(this,_0x118fe3(0x3bc),new Map()),I(this,'_entityInit$',new A[(_0x118fe3(0x132))]()),(this[_0x118fe3(0x23e)]=_0x2c048b,this['_collabSessionService']=_0xff9c48,this[_0x118fe3(0x206)]=_0x256f65,this[_0x118fe3(0x4ef)]());}['dispose'](){const _0x34c15c=_0x3a3cba;super[_0x34c15c(0x30a)](),this['_entities'][_0x34c15c(0x281)](_0x441259=>_0x441259['dispose']()),this['_entities'][_0x34c15c(0x505)]();}[_0x3a3cba(0x351)](_0x4145ad){const _0x21712c=_0x3a3cba;var _0x40afe4;return(_0x40afe4=this['_entities'][_0x21712c(0x449)](_0x4145ad))!=null?_0x40afe4:null;}[_0x3a3cba(0x12f)](_0x500ed1){const _0x201d88=_0x3a3cba,_0x58b8a1=this[_0x201d88(0x351)](_0x500ed1);return _0x58b8a1?A['of'](_0x58b8a1):this['_entityInit$']['pipe'](V[_0x201d88(0x516)](_0x1ed85a=>_0x1ed85a['unitID']===_0x500ed1));}[_0x3a3cba(0x4ef)](){const _0x5b5d65=_0x3a3cba;this[_0x5b5d65(0x206)][_0x5b5d65(0x1f5)](a['UniverInstanceType'][_0x5b5d65(0x1b5)])[_0x5b5d65(0x17b)](A[_0x5b5d65(0x4d8)](this[_0x5b5d65(0x541)]),V[_0x5b5d65(0x4b8)](0x10))[_0x5b5d65(0x250)](async _0x1c5cae=>{const _0x8f936=_0x5b5d65,_0x1b3520=_0x1c5cae['getUnitId'](),_0x319631=await this[_0x8f936(0x5db)](_0x1b3520,ne['UNIVER_SHEET']);this[_0x8f936(0x3bc)][_0x8f936(0x38a)](_0x1b3520,_0x319631);}),this[_0x5b5d65(0x206)][_0x5b5d65(0x1f5)](a['UniverInstanceType'][_0x5b5d65(0x1b1)])[_0x5b5d65(0x17b)](A[_0x5b5d65(0x4d8)](this[_0x5b5d65(0x541)]),V[_0x5b5d65(0x4b8)](0x10))[_0x5b5d65(0x17b)](V[_0x5b5d65(0x516)](_0x57d1c5=>!_0x57d1c5[_0x5b5d65(0x470)]()[_0x5b5d65(0x5ec)]('__')))[_0x5b5d65(0x250)](async _0x224512=>{const _0x6af0af=_0x5b5d65,_0x2dc13d=_0x224512[_0x6af0af(0x470)](),_0x2de3c2=await this[_0x6af0af(0x5db)](_0x2dc13d,ne[_0x6af0af(0x1b1)]);this[_0x6af0af(0x3bc)][_0x6af0af(0x38a)](_0x2dc13d,_0x2de3c2);}),A['merge'](this[_0x5b5d65(0x206)][_0x5b5d65(0x404)](a[_0x5b5d65(0x231)][_0x5b5d65(0x1b5)]),this[_0x5b5d65(0x206)][_0x5b5d65(0x404)](a[_0x5b5d65(0x231)][_0x5b5d65(0x1b1)]))['pipe'](A[_0x5b5d65(0x4d8)](this[_0x5b5d65(0x541)]))[_0x5b5d65(0x250)](_0xd20707=>{const _0x8b3f83=_0x5b5d65,_0x4da381=_0xd20707[_0x8b3f83(0x470)](),_0x3d5a3b=this[_0x8b3f83(0x3bc)][_0x8b3f83(0x449)](_0x4da381);_0x3d5a3b&&(_0x3d5a3b[_0x8b3f83(0x30a)](),this[_0x8b3f83(0x3bc)]['delete'](_0x4da381));});}async['_startCollaboration'](_0x322067,_0x381249){const _0x3586ed=_0x3a3cba,_0x1280a0=await this[_0x3586ed(0x54f)][_0x3586ed(0x1e3)](_0x322067),_0x333c3d=this[_0x3586ed(0x23e)][_0x3586ed(0x1c5)](this[_0x3586ed(0x4bc)](_0x381249),_0x322067,_0x381249,_0x1280a0);return await _0x333c3d['init'](),this[_0x3586ed(0x2d3)][_0x3586ed(0x519)](_0x333c3d),_0x333c3d;}[_0x3a3cba(0x4bc)](_0x5314ef){const _0x866b93=_0x3a3cba;switch(_0x5314ef){case ne[_0x866b93(0x1b1)]:return exports[_0x866b93(0x2ec)];case ne['UNIVER_SHEET']:return exports[_0x866b93(0x374)];default:throw new Error(_0x866b93(0x28c)+_0x5314ef);}}},exports['CollaborationController']=qn([it(0x0,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),it(0x1,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x19d)])),it(0x2,a[_0x3a3cba(0x1c9)])],exports[_0x3a3cba(0x5c9)]);var zn=Object[_0x3a3cba(0x5d1)],Xn=Object[_0x3a3cba(0x42d)],Jn=(_0x4b39f6,_0x47b328,_0x42d9f8,_0xb3680a)=>{for(var _0x346023=_0xb3680a>0x1?void 0x0:_0xb3680a?Xn(_0x47b328,_0x42d9f8):_0x47b328,_0x33e14e=_0x4b39f6['length']-0x1,_0x2f3064;_0x33e14e>=0x0;_0x33e14e--)(_0x2f3064=_0x4b39f6[_0x33e14e])&&(_0x346023=(_0xb3680a?_0x2f3064(_0x47b328,_0x42d9f8,_0x346023):_0x2f3064(_0x346023))||_0x346023);return _0xb3680a&&_0x346023&&zn(_0x47b328,_0x42d9f8,_0x346023),_0x346023;},Bt=(_0x1c92ea,_0x29bf89)=>(_0x26a43d,_0x661f1f)=>_0x29bf89(_0x26a43d,_0x661f1f,_0x1c92ea);let Ve=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x45eabc,_0x3a8d47){const _0xeb6a41=_0x3a3cba;super(),this['_docClipboardService']=_0x45eabc,this[_0xeb6a41(0x150)]=_0x3a8d47,this['_init']();}[_0x3a3cba(0x4ef)](){const _0x229af7=_0x3a3cba,_0x8a0891=this;this[_0x229af7(0x5e6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x55f336=>{const _0x167f6d=_0x229af7,_0x56fded=await _0x8a0891[_0x167f6d(0x150)]['saveImage'](_0x55f336);return _0x56fded?{'source':_0x56fded[_0x167f6d(0x267)],'imageSourceType':_0x56fded[_0x167f6d(0x24c)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x3a3cba(0x24e)]),Bt(0x1,ie[_0x3a3cba(0x428)])],Ve);const kt=[_0x3a3cba(0x25d),_0x3a3cba(0x4aa),_0x3a3cba(0x2c2),'red300',_0x3a3cba(0x47c),'gold400'];class Dt extends a[_0x3a3cba(0x28a)]{constructor(){const _0x1da065=_0x3a3cba;super(...arguments),I(this,_0x1da065(0x48e),new Map()),I(this,_0x1da065(0x585),0x0);}['assignAColorForMemberID'](_0x44bd96){const _0x1804af=_0x3a3cba;if(this[_0x1804af(0x48e)][_0x1804af(0x16f)](_0x44bd96))return this[_0x1804af(0x48e)][_0x1804af(0x449)](_0x44bd96);const _0x504b89=kt[this['_colorIndex']];return this['_colorIndex']=(this[_0x1804af(0x585)]+0x1)%kt[_0x1804af(0x16b)],this[_0x1804af(0x48e)][_0x1804af(0x38a)](_0x44bd96,_0x504b89),_0x504b89;}}var Zn=Object['defineProperty'],Qn=Object[_0x3a3cba(0x42d)],es=(_0x4f696f,_0x113325,_0x3d0180,_0x17eaaf)=>{for(var _0x56ee00=_0x17eaaf>0x1?void 0x0:_0x17eaaf?Qn(_0x113325,_0x3d0180):_0x113325,_0x1e844d=_0x4f696f['length']-0x1,_0x59b117;_0x1e844d>=0x0;_0x1e844d--)(_0x59b117=_0x4f696f[_0x1e844d])&&(_0x56ee00=(_0x17eaaf?_0x59b117(_0x113325,_0x3d0180,_0x56ee00):_0x59b117(_0x56ee00))||_0x56ee00);return _0x17eaaf&&_0x56ee00&&Zn(_0x113325,_0x3d0180,_0x56ee00),_0x56ee00;},me=(_0x12ae08,_0x5c1c11)=>(_0x9e9854,_0x45b3a2)=>_0x5c1c11(_0x9e9854,_0x45b3a2,_0x12ae08);const ts=0x12c,is=0x64;let pt=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x4e822d,_0x402fb8,_0x2b4e4f,_0x2b4a6d,_0x140686,_0x1031ac,_0x4bf63e,_0x306238,_0x247ddf){const _0x240982=_0x3a3cba;super(),I(this,_0x240982(0x5d0),!0x1),I(this,_0x240982(0x4ef),!0x1),I(this,_0x240982(0x285),new A[(_0x240982(0x2bf))](new Map())),I(this,_0x240982(0x297),this[_0x240982(0x285)][_0x240982(0x216)]()),I(this,_0x240982(0x31d),new A[(_0x240982(0x2bf))]([])),I(this,_0x240982(0x518),this[_0x240982(0x31d)][_0x240982(0x17b)](A['debounceTime'](ts))),I(this,_0x240982(0x2f2),a[_0x240982(0x3b2)](_0x341403=>{const _0x35399d=_0x240982,_0x48886b={'eventID':p[_0x35399d(0x38b)][_0x35399d(0x372)],'data':{'unitID':this[_0x35399d(0x40b)],'memberID':this[_0x35399d(0x4d4)]['getMemberID'](),'selection':Si(_0x341403)}};this[_0x35399d(0x4d4)][_0x35399d(0x52a)](_0x48886b,this[_0x35399d(0x40b)]);},is)),(this[_0x240982(0x40b)]=_0x4e822d,this[_0x240982(0x4d4)]=_0x402fb8,this['_injector']=_0x2b4e4f,this[_0x240982(0x3a3)]=_0x2b4a6d,this['_memberService']=_0x140686,this['_syncEditingCollabCursorService']=_0x1031ac,this['_transformService']=_0x4bf63e,this[_0x240982(0x206)]=_0x306238,this['_commandService']=_0x247ddf);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x3a3cba(0x1a2)](){const _0x10b654=_0x3a3cba;return this[_0x10b654(0x31d)]['getValue']();}[_0x3a3cba(0x30a)](){const _0x3a6d89=_0x3a3cba;super[_0x3a6d89(0x30a)](),this[_0x3a6d89(0x285)]['next'](new Map()),this[_0x3a6d89(0x285)][_0x3a6d89(0x5a7)](),this[_0x3a6d89(0x31d)][_0x3a6d89(0x519)]([]),this[_0x3a6d89(0x31d)][_0x3a6d89(0x5a7)]();}['init'](){const _0x1b6f20=_0x3a3cba;this[_0x1b6f20(0x4ef)]||(this[_0x1b6f20(0x4ef)]=!0x0,this[_0x1b6f20(0x4d4)][_0x1b6f20(0x241)][_0x1b6f20(0x17b)](A['takeUntil'](this[_0x1b6f20(0x541)]))[_0x1b6f20(0x250)](_0x1dd942=>{const _0x1e05b4=_0x1b6f20;_0x1dd942===se[_0x1e05b4(0x471)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1b6f20(0x4d4)]['event$']['pipe'](A[_0x1b6f20(0x4d8)](this[_0x1b6f20(0x541)]))[_0x1b6f20(0x250)](_0xf15d55=>{const _0x33662e=_0x1b6f20,_0x1c6731=_0xf15d55[_0x33662e(0x422)];_0x1c6731===p[_0x33662e(0x38b)][_0x33662e(0x372)]&&this[_0x33662e(0x5b3)](_0xf15d55),_0x1c6731===p['CollaborationEvent']['USERS_LEAVE']&&this[_0x33662e(0x570)](_0xf15d55);}),this[_0x1b6f20(0x5e6)](this['_commandService']['onCommandExecuted'](_0xab2b73=>{const _0x1598dc=_0x1b6f20,_0x284be3=_0xab2b73[_0x1598dc(0x599)];_0x284be3!=null&&this[_0x1598dc(0x5d0)]&&_0xab2b73['id']===Ie['SetTextSelectionsOperation']['id']&&_0x284be3[_0x1598dc(0x168)]===this[_0x1598dc(0x40b)]&&_0x284be3['isEditing']===!0x1&&_0x284be3['ranges'][_0x1598dc(0x16b)]>0x0&&this[_0x1598dc(0x2f2)](_0x284be3[_0x1598dc(0x3f2)]);})),this[_0x1b6f20(0x57c)][_0x1b6f20(0x159)][_0x1b6f20(0x17b)](A[_0x1b6f20(0x4d8)](this[_0x1b6f20(0x541)]))[_0x1b6f20(0x250)](_0x26c268=>{const _0x26fe28=_0x1b6f20;if((_0x26c268==null?void 0x0:_0x26c268[_0x26fe28(0x40b)])!==this[_0x26fe28(0x40b)])return;const _0x575868={'eventID':p[_0x26fe28(0x38b)]['UPDATE_CURSOR'],'data':_0x26c268};this[_0x26fe28(0x5b3)](_0x575868);}),this[_0x1b6f20(0x5e6)](this['_commandService']['onCommandExecuted'](_0xa410d8=>{const _0x29df1d=_0x1b6f20;if(_0xa410d8[_0x29df1d(0x599)]==null)return;const _0x39498c=_0xa410d8[_0x29df1d(0x599)];if(_0xa410d8['id']!==Ie[_0x29df1d(0x13d)]['id']||_0x39498c[_0x29df1d(0x168)]!==this[_0x29df1d(0x40b)])return;const _0x10ef1b={'id':'doc.mutation.rich-text-editing','params':_0x39498c},_0x2f4e37=this[_0x29df1d(0x1f3)];for(const [_0x1be15d,_0x581164]of _0x2f4e37){const _0x42b23e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x29df1d(0x40b)],'actions':null,'textRanges':_0x581164['ranges']}},_0x331682=this[_0x29df1d(0x37c)][_0x29df1d(0x215)](_0x10ef1b,_0x42b23e,!0x1);if(p[_0x29df1d(0x5b9)](_0x331682))throw _0x331682[_0x29df1d(0x2e5)];_0x2f4e37['set'](_0x1be15d,{..._0x581164,'ranges':_0x331682['m2Prime'][_0x29df1d(0x599)][_0x29df1d(0x35b)]});}queueMicrotask(()=>{const _0x4abeef=_0x29df1d;this[_0x4abeef(0x285)][_0x4abeef(0x519)](_0x2f4e37);});})));}[_0x3a3cba(0x5b3)](_0x73f2c0){const _0x1a3caa=_0x3a3cba;var _0x3c21a2,_0x3d164c;const {memberID:_0x4e6cae,selection:_0x35c7c8}=_0x73f2c0[_0x1a3caa(0x19b)],_0x3a606f=Ln(_0x35c7c8),_0x4958f8=(_0x3d164c=(_0x3c21a2=this['_memberService']['getMember'](this[_0x1a3caa(0x40b)],_0x4e6cae))==null?void 0x0:_0x3c21a2[_0x1a3caa(0x203)])!=null?_0x3d164c:'Unknown\x20user',_0x445be0={'color':this[_0x1a3caa(0x3a3)][_0x1a3caa(0x3b7)](_0x4e6cae),'name':_0x4958f8,'ranges':_0x3a606f},_0x4a40bc=this[_0x1a3caa(0x1f3)];_0x4a40bc[_0x1a3caa(0x38a)](_0x4e6cae,_0x445be0),this[_0x1a3caa(0x285)][_0x1a3caa(0x519)](_0x4a40bc);}[_0x3a3cba(0x570)](_0xf337a1){const _0xb12488=_0x3a3cba,{memberID:_0x258d75}=_0xf337a1[_0xb12488(0x19b)],_0x49a931=this[_0xb12488(0x1f3)];_0x49a931['delete'](_0x258d75),this[_0xb12488(0x285)]['next'](_0x49a931);}[_0x3a3cba(0x4df)](){const _0x5216bf=_0x3a3cba;var _0x117514;if(this[_0x5216bf(0x5d0)]=!0x0,((_0x117514=this[_0x5216bf(0x206)]['getFocusedUnit']())==null?void 0x0:_0x117514['getUnitId']())!==this[_0x5216bf(0x40b)])return;const _0x118431=this[_0x5216bf(0x23e)][_0x5216bf(0x449)](Ie[_0x5216bf(0x2e3)])[_0x5216bf(0x491)]();Array[_0x5216bf(0x550)](_0x118431)&&_0x118431[_0x5216bf(0x16b)]>0x0&&this['_updateLocalCursor'](_0x118431);}['_toggleOffline'](){const _0xa60fbc=_0x3a3cba;this[_0xa60fbc(0x5d0)]=!0x1;}};pt=es([me(0x2,a['Inject'](a[_0x3a3cba(0x207)])),me(0x3,a[_0x3a3cba(0x4b4)](Dt)),me(0x4,a[_0x3a3cba(0x4b4)](exports['MemberService'])),me(0x5,a[_0x3a3cba(0x4b4)](yt)),me(0x6,p['ITransformService']),me(0x7,a['IUniverInstanceService']),me(0x8,a['ICommandService'])],pt);var ns=Object[_0x3a3cba(0x5d1)],ss=Object['getOwnPropertyDescriptor'],rs=(_0x3c03ea,_0x2cd030,_0x233ea0,_0x5bc469)=>{const _0x1ce82c=_0x3a3cba;for(var _0x10257f=_0x5bc469>0x1?void 0x0:_0x5bc469?ss(_0x2cd030,_0x233ea0):_0x2cd030,_0x14c504=_0x3c03ea[_0x1ce82c(0x16b)]-0x1,_0x295c2e;_0x14c504>=0x0;_0x14c504--)(_0x295c2e=_0x3c03ea[_0x14c504])&&(_0x10257f=(_0x5bc469?_0x295c2e(_0x2cd030,_0x233ea0,_0x10257f):_0x295c2e(_0x10257f))||_0x10257f);return _0x5bc469&&_0x10257f&&ns(_0x2cd030,_0x233ea0,_0x10257f),_0x10257f;},Te=(_0x43ed69,_0x50ded9)=>(_0x4098d4,_0x166b0e)=>_0x50ded9(_0x4098d4,_0x166b0e,_0x43ed69);const os=0x12c,as=0x64,cs=()=>{let _0x50d718=[],_0x1b06eb=!0x1;return _0x5b6b7c=>{const _0xdfd3a3=_0x131b;_0x50d718[_0xdfd3a3(0x31b)](_0x5b6b7c),_0x1b06eb||(_0x1b06eb=!0x0,setTimeout(()=>{_0x50d718['forEach'](_0x1fbaba=>_0x1fbaba()),_0x50d718=[],_0x1b06eb=!0x1;}));};};let mt=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x471b34,_0x130742,_0x3ce3de,_0x2a4e3a,_0x57a6ae,_0x5ebf98,_0x7a3555,_0x346989){const _0x415008=_0x3a3cba;super(),I(this,_0x415008(0x5d0),!0x1),I(this,'_init',!0x1),I(this,_0x415008(0x285),new A['BehaviorSubject'](new Map())),I(this,_0x415008(0x297),this[_0x415008(0x285)][_0x415008(0x216)]()),I(this,_0x415008(0x31d),new A[(_0x415008(0x2bf))]([])),I(this,'roomMembers$',this[_0x415008(0x31d)]['pipe'](A[_0x415008(0x34c)](os))),I(this,'_updateLocalCursor',a[_0x415008(0x3b2)]((_0x1838fd,_0x387619)=>{const _0x5b2e9a=_0x415008,_0x2ae65f={'eventID':p[_0x5b2e9a(0x38b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5b2e9a(0x40b)],'memberID':this[_0x5b2e9a(0x4d4)][_0x5b2e9a(0x542)](),'selection':Mt['serializeRangeWithSheet'](_0x1838fd,_0x387619[_0x5b2e9a(0x3db)])}};this['_session'][_0x5b2e9a(0x52a)](_0x2ae65f,this[_0x5b2e9a(0x40b)]);},as)),(this['unitID']=_0x471b34,this[_0x415008(0x4d4)]=_0x130742,this[_0x415008(0x23e)]=_0x3ce3de,this[_0x415008(0x3a3)]=_0x2a4e3a,this[_0x415008(0x2d0)]=_0x57a6ae,this[_0x415008(0x206)]=_0x5ebf98,this[_0x415008(0x340)]=_0x7a3555,this[_0x415008(0x568)]=_0x346989);}get[_0x3a3cba(0x1f3)](){return this['_cursorInfo$']['getValue']();}get[_0x3a3cba(0x1a2)](){const _0x5b9ea6=_0x3a3cba;return this['_roomMembers$'][_0x5b9ea6(0x315)]();}['dispose'](){const _0x456055=_0x3a3cba;super['dispose'](),this[_0x456055(0x285)][_0x456055(0x519)](new Map()),this[_0x456055(0x285)][_0x456055(0x5a7)](),this[_0x456055(0x31d)][_0x456055(0x519)]([]),this[_0x456055(0x31d)][_0x456055(0x5a7)]();}['init'](){const _0x2fb821=_0x3a3cba;this[_0x2fb821(0x4ef)]||(this[_0x2fb821(0x4ef)]=!0x0,this[_0x2fb821(0x4d4)][_0x2fb821(0x241)]['pipe'](A['takeUntil'](this['dispose$']))[_0x2fb821(0x250)](_0x32c4e6=>{const _0xcde688=_0x2fb821;_0x32c4e6===se['ONLINE']?this[_0xcde688(0x4df)]():this[_0xcde688(0x500)]();}),this[_0x2fb821(0x4d4)][_0x2fb821(0x3ac)]['pipe'](A[_0x2fb821(0x4d8)](this['dispose$']))[_0x2fb821(0x250)](_0x30b7e7=>{const _0x42830b=_0x2fb821,_0x3f883a=_0x30b7e7[_0x42830b(0x422)];_0x3f883a===p[_0x42830b(0x38b)][_0x42830b(0x372)]&&this[_0x42830b(0x5b3)](_0x30b7e7),_0x3f883a===p['CollaborationEvent'][_0x42830b(0x310)]&&this[_0x42830b(0x570)](_0x30b7e7);}),this[_0x2fb821(0x4fd)](),this[_0x2fb821(0x5e6)](this['_commandService'][_0x2fb821(0x334)](_0x1c04c0=>{const _0x5ed259=_0x2fb821;if(this[_0x5ed259(0x5d0)]&&_0x1c04c0['id']===k[_0x5ed259(0x456)]['id']&&_0x1c04c0[_0x5ed259(0x599)][_0x5ed259(0x168)]===this['unitID']){const _0x36e56f=_0x1c04c0['params'];this[_0x5ed259(0x2f2)](_0x36e56f[_0x5ed259(0x306)],_0x36e56f[_0x5ed259(0x147)][0x0]);}})));}[_0x3a3cba(0x5b3)](_0x1af385){const _0x1d8cc4=_0x3a3cba;var _0x5405cb,_0x3fa850;const {memberID:_0x4e68f9,selection:_0x1bbdd4}=_0x1af385['data'],{sheetName:_0x2fb29b,range:_0x29a26d}=Mt[_0x1d8cc4(0x30d)](_0x1bbdd4),_0x5358cf={'name':(_0x3fa850=(_0x5405cb=this['_memberService'][_0x1d8cc4(0x50a)](this[_0x1d8cc4(0x40b)],_0x4e68f9))==null?void 0x0:_0x5405cb[_0x1d8cc4(0x203)])!=null?_0x3fa850:_0x1d8cc4(0x4da),'range':this[_0x1d8cc4(0x2b3)](_0x2fb29b,_0x29a26d),'sheetID':_0x2fb29b,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4e68f9),'selection':_0x1bbdd4},_0x33073a=this['cursorInfo'];_0x33073a['set'](_0x4e68f9,_0x5358cf),this['_cursorInfo$'][_0x1d8cc4(0x519)](_0x33073a);}[_0x3a3cba(0x570)](_0x34d633){const _0x30a9b9=_0x3a3cba,{memberID:_0x46436e}=_0x34d633[_0x30a9b9(0x19b)],_0x40da6a=this[_0x30a9b9(0x1f3)];_0x40da6a[_0x30a9b9(0x26b)](_0x46436e),this['_cursorInfo$'][_0x30a9b9(0x519)](_0x40da6a);}['_getMergeRange'](_0x43f02f,_0x48ffcd){const _0x1b87d8=_0x3a3cba;var _0x20c933,_0x431dca;const _0x55f53c=(_0x431dca=(_0x20c933=this[_0x1b87d8(0x206)][_0x1b87d8(0x32f)](this[_0x1b87d8(0x40b)]))==null?void 0x0:_0x20c933[_0x1b87d8(0x337)](_0x43f02f))==null?void 0x0:_0x431dca[_0x1b87d8(0x489)]();return(_0x55f53c==null?void 0x0:_0x55f53c[_0x1b87d8(0x3cd)](_0x66568c=>a[_0x1b87d8(0x2e6)]['contains'](_0x66568c,_0x48ffcd)))||_0x48ffcd;}[_0x3a3cba(0x4fd)](){const _0x1123a3=_0x3a3cba,_0x4f6f85=new a[(_0x1123a3(0x18c))](),_0x354bb4=cs(),_0x2af65c=()=>{const _0x8e82c0=_0x1123a3;_0x4f6f85['dispose']();const _0xb9c8cc=(_0x4be8f5,_0x55a8a1,_0x4ad19d,_0x582142)=>{const _0x5b67d6=_0x131b;let _0x162371=[];switch(_0x4be8f5['id']){case k[_0x5b67d6(0x416)][_0x5b67d6(0x286)]:{_0x162371=k[_0x5b67d6(0x279)](_0x4be8f5,_0x582142);break;}case k[_0x5b67d6(0x416)][_0x5b67d6(0x3c7)]:{_0x162371=k['handleDeleteRangeMoveUp'](_0x4be8f5,_0x582142);break;}case k['EffectRefRangId'][_0x5b67d6(0x37d)]:{_0x162371=k['handleInsertCol'](_0x4be8f5,_0x582142);break;}case k['EffectRefRangId'][_0x5b67d6(0x41c)]:{_0x162371=k['handleInsertRangeMoveDown'](_0x4be8f5,_0x582142);break;}case k['EffectRefRangId'][_0x5b67d6(0x219)]:{_0x162371=k[_0x5b67d6(0x4e1)](_0x4be8f5,_0x582142);break;}case k['EffectRefRangId']['InsertRowCommandId']:{_0x162371=k[_0x5b67d6(0x16e)](_0x4be8f5,_0x582142);break;}case k[_0x5b67d6(0x416)][_0x5b67d6(0x230)]:{_0x162371=k[_0x5b67d6(0x214)](_0x4be8f5,_0x582142);break;}case k[_0x5b67d6(0x416)]['RemoveColCommandId']:{_0x162371=k['handleIRemoveCol'](_0x4be8f5,_0x582142);break;}case k[_0x5b67d6(0x416)]['RemoveRowCommandId']:{_0x162371=k['handleIRemoveRow'](_0x4be8f5,_0x582142);break;}}const _0x4b7c10=k[_0x5b67d6(0x42f)](_0x162371,_0x582142),_0x40f1e9=this['cursorInfo']['get'](_0x55a8a1);if(_0x40f1e9&&_0x4b7c10){const _0x373aaa={..._0x40f1e9,'range':_0x4b7c10};this['cursorInfo']['set'](_0x55a8a1,_0x373aaa),_0x354bb4(()=>{const _0x3b9b98=_0x5b67d6,_0x5f247f=this[_0x3b9b98(0x568)][_0x3b9b98(0x4a5)](_0x4b7c10,_0x4fba66=>(_0x5f247f[_0x3b9b98(0x30a)](),_0xb9c8cc(_0x4fba66,_0x55a8a1,_0x4ad19d,_0x4b7c10)));_0x4f6f85[_0x3b9b98(0x4b3)](_0x5f247f);});}return{'redos':[],'undos':[]};};this[_0x8e82c0(0x1f3)][_0x8e82c0(0x281)]((_0xc5f17b,_0x257185)=>{const _0x38c3ef=_0x8e82c0,{range:_0x1f5388,sheetID:_0xa8937e}=_0xc5f17b,_0x4cb252=this[_0x38c3ef(0x568)]['registerRefRange'](_0x1f5388,_0x495c10=>(_0x4cb252[_0x38c3ef(0x30a)](),_0xb9c8cc(_0x495c10,_0x257185,_0xa8937e,_0x1f5388)));_0x4f6f85[_0x38c3ef(0x4b3)](_0x4cb252);});};this['disposeWithMe'](a['toDisposable'](this[_0x1123a3(0x285)][_0x1123a3(0x250)](()=>{_0x2af65c();})));}['_toggleOnline'](){const _0x4bf3fe=_0x3a3cba;var _0x41a06c,_0x4ca3ce;if(this[_0x4bf3fe(0x5d0)]=!0x0,((_0x41a06c=this['_univerInstanceService'][_0x4bf3fe(0x46d)]())==null?void 0x0:_0x41a06c[_0x4bf3fe(0x470)]())!==this[_0x4bf3fe(0x40b)])return;const _0x1d90db=(_0x4ca3ce=this[_0x4bf3fe(0x23e)][_0x4bf3fe(0x449)](k[_0x4bf3fe(0x59d)])[_0x4bf3fe(0x4bd)]())==null?void 0x0:_0x4ca3ce[0x0],_0x4728be=this['_univerInstanceService'][_0x4bf3fe(0x29c)](a['UniverInstanceType'][_0x4bf3fe(0x1b5)])['getActiveSheet']();_0x1d90db&&_0x4728be&&this[_0x4bf3fe(0x2f2)](_0x4728be['getSheetId'](),_0x1d90db);}['_toggleOffline'](){const _0x145690=_0x3a3cba;this[_0x145690(0x5d0)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a['Injector'])),Te(0x3,a[_0x3a3cba(0x4b4)](Dt)),Te(0x4,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x510)])),Te(0x5,a[_0x3a3cba(0x1c9)]),Te(0x6,a['ICommandService']),Te(0x7,a[_0x3a3cba(0x4b4)](k['RefRangeService']))],mt);var ls=Object[_0x3a3cba(0x5d1)],hs=Object['getOwnPropertyDescriptor'],_s=(_0x5659c6,_0x4bfacc,_0x1c8ddf,_0x17eba6)=>{const _0x228949=_0x3a3cba;for(var _0x4ee38d=_0x17eba6>0x1?void 0x0:_0x17eba6?hs(_0x4bfacc,_0x1c8ddf):_0x4bfacc,_0x43eeb3=_0x5659c6[_0x228949(0x16b)]-0x1,_0x26c408;_0x43eeb3>=0x0;_0x43eeb3--)(_0x26c408=_0x5659c6[_0x43eeb3])&&(_0x4ee38d=(_0x17eba6?_0x26c408(_0x4bfacc,_0x1c8ddf,_0x4ee38d):_0x26c408(_0x4ee38d))||_0x4ee38d);return _0x17eba6&&_0x4ee38d&&ls(_0x4bfacc,_0x1c8ddf,_0x4ee38d),_0x4ee38d;},nt=(_0x3d5d12,_0x1dcae3)=>(_0x12b5e3,_0x17cc6b)=>_0x1dcae3(_0x12b5e3,_0x17cc6b,_0x3d5d12);let De=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x3e81ca,_0x166a5d,_0x63a604){const _0xffa128=_0x3a3cba;super(),I(this,'_entities',new Map()),I(this,_0xffa128(0x2d3),new A[(_0xffa128(0x132))]()),(this[_0xffa128(0x206)]=_0x3e81ca,this[_0xffa128(0x23e)]=_0x166a5d,this[_0xffa128(0x54f)]=_0x63a604,this[_0xffa128(0x4ef)]());}['dispose'](){const _0x5bd3b6=_0x3a3cba;super[_0x5bd3b6(0x30a)](),this['_entityInit$'][_0x5bd3b6(0x5a7)](),this[_0x5bd3b6(0x3bc)][_0x5bd3b6(0x281)](_0x15a234=>_0x15a234[_0x5bd3b6(0x30a)]());}[_0x3a3cba(0x382)](_0x33fc4b){const _0x8f275c=_0x3a3cba;return this[_0x8f275c(0x3bc)]['has'](_0x33fc4b)?this[_0x8f275c(0x3bc)][_0x8f275c(0x449)](_0x33fc4b)[_0x8f275c(0x297)]:this[_0x8f275c(0x2d3)][_0x8f275c(0x17b)](A[_0x8f275c(0x516)](_0x28fe76=>_0x28fe76[_0x8f275c(0x40b)]===_0x33fc4b),A[_0x8f275c(0x2a0)](_0x2bbcf1=>_0x2bbcf1[_0x8f275c(0x297)]));}[_0x3a3cba(0x4ef)](){const _0x16ca16=_0x3a3cba;this[_0x16ca16(0x206)]['getTypeOfUnitAdded$'](a[_0x16ca16(0x231)][_0x16ca16(0x1b5)])[_0x16ca16(0x17b)](A[_0x16ca16(0x4d8)](this['dispose$']))[_0x16ca16(0x250)](async _0x3d7b69=>{const _0x112bb3=_0x16ca16,_0x5eb729=_0x3d7b69[_0x112bb3(0x470)](),_0x5219c9=await this[_0x112bb3(0x4ca)](_0x5eb729);this[_0x112bb3(0x2d3)][_0x112bb3(0x519)](_0x5219c9),this[_0x112bb3(0x3bc)]['set'](_0x5eb729,_0x5219c9);}),this[_0x16ca16(0x206)][_0x16ca16(0x1f5)](a[_0x16ca16(0x231)][_0x16ca16(0x1b1)])[_0x16ca16(0x17b)](A[_0x16ca16(0x4d8)](this[_0x16ca16(0x541)]))[_0x16ca16(0x17b)](A['filter'](_0x1b3ccb=>!_0x1b3ccb[_0x16ca16(0x470)]()[_0x16ca16(0x5ec)]('__')))['subscribe'](async _0x33f1e7=>{const _0x323e9a=_0x16ca16,_0x10b2a2=_0x33f1e7[_0x323e9a(0x470)](),_0x83bf89=await this[_0x323e9a(0x2cd)](_0x10b2a2);this[_0x323e9a(0x2d3)][_0x323e9a(0x519)](_0x83bf89),this['_entities'][_0x323e9a(0x38a)](_0x10b2a2,_0x83bf89);}),A[_0x16ca16(0x3c6)](this[_0x16ca16(0x206)][_0x16ca16(0x404)](a[_0x16ca16(0x231)][_0x16ca16(0x1b1)]),this[_0x16ca16(0x206)][_0x16ca16(0x404)](a[_0x16ca16(0x231)]['UNIVER_SHEET']))[_0x16ca16(0x17b)](A[_0x16ca16(0x4d8)](this[_0x16ca16(0x541)]))[_0x16ca16(0x250)](_0x4a007e=>{const _0x338381=_0x16ca16,_0x3576d2=_0x4a007e[_0x338381(0x470)](),_0x3629d1=this['_entities'][_0x338381(0x449)](_0x3576d2);_0x3629d1&&(_0x3629d1['dispose'](),this[_0x338381(0x3bc)][_0x338381(0x26b)](_0x3576d2));});}async['_startSheetCollabCursor'](_0x118175){const _0x117c22=_0x3a3cba,_0x25f49f=await this[_0x117c22(0x54f)][_0x117c22(0x1e3)](_0x118175),_0x3c670d=this[_0x117c22(0x23e)][_0x117c22(0x1c5)](mt,_0x118175,_0x25f49f);return _0x3c670d[_0x117c22(0x16a)](),_0x3c670d;}async[_0x3a3cba(0x2cd)](_0x3fe1a6){const _0x50259c=_0x3a3cba,_0x4c27fe=await this['_collabSessionService']['requireSession'](_0x3fe1a6),_0xb4f4e8=this[_0x50259c(0x23e)][_0x50259c(0x1c5)](pt,_0x3fe1a6,_0x4c27fe);return _0xb4f4e8[_0x50259c(0x16a)](),_0xb4f4e8;}};De=_s([nt(0x0,a['IUniverInstanceService']),nt(0x1,a['Inject'](a[_0x3a3cba(0x207)])),nt(0x2,a['Inject'](exports['CollaborationSessionService']))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x44a52e,_0x4aaad3){const _0xdbfaa=_0x3a3cba;let {radius:_0x324a97,width:_0x958f49,height:_0x6bcc2}=_0x4aaad3;_0x324a97=_0x324a97!=null?_0x324a97:0x0,_0x958f49=_0x958f49!=null?_0x958f49:0x1e,_0x6bcc2=_0x6bcc2!=null?_0x6bcc2:0x1e;let _0x14d494=0x0,_0x41d24f=0x0,_0x1a5c00=0x0;_0x14d494=_0x41d24f=_0x1a5c00=Math['min'](_0x324a97,_0x958f49/0x2,_0x6bcc2/0x2),_0x44a52e[_0xdbfaa(0x43a)](),_0x44a52e[_0xdbfaa(0x162)](_0x14d494,0x0),_0x44a52e[_0xdbfaa(0x3e6)](_0x958f49-_0x41d24f,0x0),_0x44a52e[_0xdbfaa(0x2f7)](_0x958f49-_0x41d24f,_0x41d24f,_0x41d24f,Math['PI']*0x3/0x2,0x0,!0x1),_0x44a52e[_0xdbfaa(0x3e6)](_0x958f49,_0x6bcc2-_0x1a5c00),_0x44a52e[_0xdbfaa(0x2f7)](_0x958f49-_0x1a5c00,_0x6bcc2-_0x1a5c00,_0x1a5c00,0x0,Math['PI']/0x2,!0x1),_0x44a52e[_0xdbfaa(0x3e6)](0x0,_0x6bcc2),_0x44a52e[_0xdbfaa(0x3e6)](0x0,_0x14d494),_0x44a52e[_0xdbfaa(0x2f7)](_0x14d494,_0x14d494,_0x14d494,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44a52e[_0xdbfaa(0x157)](),_0x4aaad3[_0xdbfaa(0x153)]&&(_0x44a52e[_0xdbfaa(0x370)](),_0x44a52e[_0xdbfaa(0x15a)]=_0x4aaad3[_0xdbfaa(0x153)],_0x4aaad3[_0xdbfaa(0x3ca)]===_0xdbfaa(0x392)?_0x44a52e['fill'](_0xdbfaa(0x392)):_0x44a52e[_0xdbfaa(0x153)](),_0x44a52e[_0xdbfaa(0x2a6)]());}class Xe extends K['Shape']{constructor(_0x4250db,_0x1000c7){const _0x229e34=_0x3a3cba;super(_0x4250db,_0x1000c7),I(this,_0x229e34(0x1f2)),I(this,'text'),(this[_0x229e34(0x1f2)]=_0x1000c7==null?void 0x0:_0x1000c7[_0x229e34(0x1f2)],this[_0x229e34(0x17f)]=_0x1000c7==null?void 0x0:_0x1000c7[_0x229e34(0x17f)]);}static[_0x3a3cba(0x3b6)](_0x43bddc,_0x4a39c8){const _0x5ef0ac=_0x3a3cba,{text:_0x48e1d5,color:_0x5e929e}=_0x4a39c8;_0x43bddc['save'](),_0x43bddc[_0x5ef0ac(0x4ee)]=_0x5ef0ac(0x493);const _0x50ffdc=_0x43bddc['measureText'](_0x48e1d5)[_0x5ef0ac(0x301)],_0x1a8ab=Math['min'](_0x50ffdc+0x2*st,Wt);ds(_0x43bddc,{'height':Le,'radius':0x4,'width':_0x1a8ab,'fill':_0x5e929e,'evented':!0x1}),_0x43bddc['fillStyle']='#FFF';const _0x38d4de=st,_0x3e9883=Le-us,_0x23ccf5=Wt-0x2*st;if(_0x50ffdc>_0x23ccf5){let _0x5956db='',_0x4c337b=0x0;for(const _0x2136d5 of _0x48e1d5){const _0x34aaac=_0x43bddc[_0x5ef0ac(0x5a9)](_0x2136d5)[_0x5ef0ac(0x301)];if(_0x4c337b+_0x34aaac<=_0x23ccf5-_0x43bddc[_0x5ef0ac(0x5a9)](_0x5ef0ac(0x2a3))[_0x5ef0ac(0x301)])_0x5956db+=_0x2136d5,_0x4c337b+=_0x34aaac;else{_0x5956db+='...';break;}}_0x43bddc['fillText'](_0x5956db,_0x38d4de,_0x3e9883);}else _0x43bddc[_0x5ef0ac(0x1dc)](_0x48e1d5,_0x38d4de,_0x3e9883);_0x43bddc[_0x5ef0ac(0x2a6)]();}[_0x3a3cba(0x235)](_0x12d4cd){Xe['drawWith'](_0x12d4cd,this);}}const rt=_0x3a3cba(0x14d),fs=_0x3a3cba(0x1a3),vs='collab-rect-range-',Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x3a3cba(0x431);class Ft{constructor(_0x412e34,_0x2bffba,_0x114247,_0x5ae8c8){const _0xa6b871=_0x3a3cba;I(this,'_shapes',[]),I(this,'_anchor',null),I(this,'_textBubble',null),I(this,_0xa6b871(0x5aa),null),I(this,_0xa6b871(0x521),null),I(this,'_eventUnsubscribe',null),(this[_0xa6b871(0x4e5)]=_0x412e34,this['_scene']=_0x2bffba,this[_0xa6b871(0x186)]=_0x114247,this[_0xa6b871(0x193)]=_0x5ae8c8,this[_0xa6b871(0x4be)]());}set[_0x3a3cba(0x17c)](_0x12ce0c){const _0x1a740a=_0x3a3cba;_0x12ce0c?(this[_0x1a740a(0x5aa)]&&this[_0x1a740a(0x5aa)][_0x1a740a(0x4a7)](),this[_0x1a740a(0x324)]&&this[_0x1a740a(0x324)][_0x1a740a(0x1bd)]()):(this['_anchorDot']&&this[_0x1a740a(0x5aa)][_0x1a740a(0x1bd)](),this['_textBubble']&&this['_textBubble'][_0x1a740a(0x4a7)]());}[_0x3a3cba(0x30a)](){const _0xc42a67=_0x3a3cba;for(const _0x2b0271 of this[_0xc42a67(0x1b3)])_0x2b0271[_0xc42a67(0x30a)]();this[_0xc42a67(0x324)]&&this[_0xc42a67(0x324)][_0xc42a67(0x30a)](),this[_0xc42a67(0x5aa)]&&this[_0xc42a67(0x5aa)][_0xc42a67(0x30a)](),this[_0xc42a67(0x2a9)]&&this[_0xc42a67(0x2a9)][_0xc42a67(0x30a)](),this[_0xc42a67(0x1f9)]&&this[_0xc42a67(0x1f9)]();}['_render'](){const _0x46aa8c=_0x3a3cba;var _0x28ef2c;const {_docSkeleton:_0x3599c5,_document:_0x3e05d0}=this,{color:_0xc34a36,name:_0x2413f8,ranges:_0x4f2da4}=this[_0x46aa8c(0x4e5)],_0x3e2190=_0x3e05d0['getOffsetConfig'](),{docsLeft:_0x33ec67,docsTop:_0x3f5706}=_0x3e2190,_0x113fdb=new J['NodePositionConvertToCursor'](_0x3e2190,_0x3599c5);for(const {startOffset:_0x26a98d,endOffset:_0x22c63b,rangeType:_0x25c6bd,segmentId:_0x188e2e,segmentPage:_0x156fc6,collapsed:_0x2cb16c,isActive:_0x512709}of _0x4f2da4){const _0x56e67b=_0x3599c5['findNodePositionByCharIndex'](_0x26a98d,!0x0,_0x188e2e,_0x156fc6);let _0x30f15a=_0x3599c5[_0x46aa8c(0x155)](_0x22c63b,!0x0,_0x188e2e,_0x156fc6);if(_0x30f15a==null&&(_0x30f15a=_0x3599c5['findNodePositionByCharIndex'](_0x22c63b-0x1,!0x1,_0x188e2e,_0x156fc6)),_0x512709){const {contentBoxPointGroup:_0x4fd999}=_0x113fdb[_0x46aa8c(0x3ee)](_0x30f15a,_0x30f15a);if(_0x4fd999[_0x46aa8c(0x16b)]===0x0)continue;this['_drawAnchor'](_0xc34a36,_0x4fd999,_0x33ec67,_0x3f5706,_0x2413f8),this['_eventUnsubscribe']=this[_0x46aa8c(0x4c5)]();}if(_0x56e67b&&_0x30f15a){if(_0x25c6bd===a[_0x46aa8c(0x59c)]['RECT']){const _0x4b6e7e=new J['NodePositionConvertToRectRange'](_0x3e2190,_0x3599c5),{pointGroup:_0x5de88a}=(_0x28ef2c=_0x4b6e7e[_0x46aa8c(0x3ee)](_0x56e67b,_0x30f15a))!=null?_0x28ef2c:{};if(_0x5de88a==null||_0x5de88a[_0x46aa8c(0x16b)]===0x0)continue;this[_0x46aa8c(0x2c5)](_0xc34a36,_0x5de88a,_0x33ec67,_0x3f5706);}else{if(!_0x2cb16c){const {borderBoxPointGroup:_0x36b938}=_0x113fdb[_0x46aa8c(0x3ee)](_0x56e67b,_0x30f15a);if(_0x36b938[_0x46aa8c(0x16b)]===0x0)continue;this[_0x46aa8c(0x430)](_0xc34a36,_0x36b938,_0x33ec67,_0x3f5706);}}}}}['_drawAnchor'](_0x293731,_0x309a19,_0x42dd79,_0x2ab1de,_0x649834){const _0x4d2bee=_0x3a3cba,_0x4e4e8e=this[_0x4d2bee(0x19f)](_0x309a19),{left:_0x4ab676,top:_0x220748,height:_0x284304}=_0x4e4e8e,_0x2ed149=this[_0x4d2bee(0x39d)](),_0x302ec3=ps/_0x2ed149,_0x13d752=new K[(_0x4d2bee(0x411))](rt+a[_0x4d2bee(0x5e1)][_0x4d2bee(0x273)](Ue),{'left':_0x4ab676+_0x42dd79-_0x302ec3,'top':_0x220748+_0x2ab1de,'height':_0x284304,'width':Ss,'fill':_0x293731||K[_0x4d2bee(0x139)](a[_0x4d2bee(0x528)]['black'],0x0),'strokeWidth':_0x302ec3,'stroke':ms,'evented':!0x0});this[_0x4d2bee(0x2a9)]=_0x13d752,this[_0x4d2bee(0x569)][_0x4d2bee(0x5b6)](_0x13d752,J[_0x4d2bee(0x390)]);const _0x3fb3ec=new K[(_0x4d2bee(0x411))](rt+a['Tools'][_0x4d2bee(0x273)](Ue),{'left':_0x4ab676+_0x42dd79-_0x302ec3,'top':_0x220748+_0x2ab1de-ot/0x2,'height':ot,'width':ot,'fill':_0x293731||K[_0x4d2bee(0x139)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x293731||K[_0x4d2bee(0x139)](a[_0x4d2bee(0x528)][_0x4d2bee(0x407)],0x0),'evented':!0x1});this[_0x4d2bee(0x5aa)]=_0x3fb3ec,this[_0x4d2bee(0x569)][_0x4d2bee(0x5b6)](_0x3fb3ec,J[_0x4d2bee(0x390)]);const _0x1eecb3=new Xe(rt+a[_0x4d2bee(0x5e1)][_0x4d2bee(0x273)](Ue),{'left':_0x4ab676+_0x42dd79-_0x302ec3,'top':_0x220748+_0x2ab1de-Le,'text':_0x649834,'color':_0x293731});this[_0x4d2bee(0x324)]=_0x1eecb3,this[_0x4d2bee(0x569)][_0x4d2bee(0x5b6)](_0x1eecb3,J['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x3a3cba(0x4c5)](){const _0x455b41=_0x3a3cba,_0x3158a8=this[_0x455b41(0x2a9)][_0x455b41(0x35f)][_0x455b41(0x399)](()=>{const _0xb6e1a8=_0x455b41;this[_0xb6e1a8(0x17c)]=!0x0;}),_0x422e06=this[_0x455b41(0x2a9)][_0x455b41(0x247)]['subscribeEvent'](()=>{const _0x572cb6=_0x455b41;this[_0x572cb6(0x521)]&&clearTimeout(this[_0x572cb6(0x521)]),this[_0x572cb6(0x521)]=setTimeout(()=>{const _0xa9c0c0=_0x572cb6;this[_0xa9c0c0(0x17c)]=!0x1;},0x7d0);});return()=>{const _0x3b023a=_0x455b41;_0x3158a8[_0x3b023a(0x1c6)](),_0x422e06['unsubscribe']();};}['_drawTextRange'](_0x25ce1d,_0x54378e,_0x164618,_0x5336f7){const _0xe1913a=_0x3a3cba,_0x755194=new a[(_0xe1913a(0x18a))](_0x25ce1d)['setAlpha'](0.2)['toRgbString'](),_0x57844c=new K[(_0xe1913a(0x490))](fs+a[_0xe1913a(0x5e1)][_0xe1913a(0x273)](Ue),{'pointsGroup':_0x54378e,'fill':_0x755194||K[_0xe1913a(0x139)](a[_0xe1913a(0x528)][_0xe1913a(0x407)],0.2),'left':_0x164618,'top':_0x5336f7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe1913a(0x1b3)][_0xe1913a(0x31b)](_0x57844c),this[_0xe1913a(0x569)][_0xe1913a(0x5b6)](_0x57844c,J[_0xe1913a(0x390)]);}['_drawRectRange'](_0x5f16dc,_0x3f1d24,_0x944d45,_0x24eb35){const _0x4fabee=_0x3a3cba,_0x2c34be=new a[(_0x4fabee(0x18a))](_0x5f16dc)['setAlpha'](0.2)[_0x4fabee(0x3fb)](),_0x54fc0d=new K[(_0x4fabee(0x490))](vs+a[_0x4fabee(0x5e1)]['generateRandomId'](Ue),{'pointsGroup':_0x3f1d24,'fill':_0x2c34be||K[_0x4fabee(0x139)](a[_0x4fabee(0x528)][_0x4fabee(0x407)],0.2),'left':_0x944d45,'top':_0x24eb35,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4fabee(0x1b3)]['push'](_0x54fc0d),this[_0x4fabee(0x569)][_0x4fabee(0x5b6)](_0x54fc0d,J['TEXT_RANGE_LAYER_INDEX']);}[_0x3a3cba(0x19f)](_0x3f57d6){const _0x36e016=_0x3f57d6[0x0],_0x4a4cdf=_0x36e016[0x0],_0x6aad40=_0x36e016[0x2],{x:_0x1f46e3,y:_0x497c84}=_0x4a4cdf,{x:_0x54a92e,y:_0x46b91b}=_0x6aad40;return{'left':_0x1f46e3,'top':_0x497c84,'width':_0x54a92e-_0x1f46e3,'height':_0x46b91b-_0x497c84};}['_getScale'](){const _0x56ddf3=_0x3a3cba,{scaleX:_0x1bbe76,scaleY:_0x21033a}=this[_0x56ddf3(0x569)][_0x56ddf3(0x572)]();return Math[_0x56ddf3(0x55b)](_0x1bbe76,_0x21033a);}}var gs=Object[_0x3a3cba(0x5d1)],Is=Object['getOwnPropertyDescriptor'],Cs=(_0x3447a9,_0x130f78,_0x279374,_0x330404)=>{for(var _0x2ae8ea=_0x330404>0x1?void 0x0:_0x330404?Is(_0x130f78,_0x279374):_0x130f78,_0x2780e3=_0x3447a9['length']-0x1,_0x2550a8;_0x2780e3>=0x0;_0x2780e3--)(_0x2550a8=_0x3447a9[_0x2780e3])&&(_0x2ae8ea=(_0x330404?_0x2550a8(_0x130f78,_0x279374,_0x2ae8ea):_0x2550a8(_0x2ae8ea))||_0x2ae8ea);return _0x330404&&_0x2ae8ea&&gs(_0x130f78,_0x279374,_0x2ae8ea),_0x2ae8ea;},je=(_0x50797b,_0x54ffdc)=>(_0x57ab0d,_0x5a217f)=>_0x54ffdc(_0x57ab0d,_0x5a217f,_0x50797b);let gt=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x5dc894,_0x342746,_0x19ec80,_0x1d5480,_0x187191){const _0xe6b109=_0x3a3cba;super(),I(this,_0xe6b109(0x296),[]),I(this,'_cursors',[]),(this[_0xe6b109(0x5de)]=_0x5dc894,this[_0xe6b109(0x3bf)]=_0x342746,this[_0xe6b109(0x46a)]=_0x19ec80,this['_commandService']=_0x1d5480,this[_0xe6b109(0x375)]=_0x187191,this[_0xe6b109(0x4ef)]());}['_init'](){const _0x21b7a4=_0x3a3cba,_0xb3fe5f=this[_0x21b7a4(0x5de)][_0x21b7a4(0x168)],_0xd7c015=this[_0x21b7a4(0x3bf)];this[_0x21b7a4(0x5e6)](A[_0x21b7a4(0x455)]([this['_collabCursorController']['getCollabCursors$'](_0xb3fe5f),this[_0x21b7a4(0x375)][_0x21b7a4(0x381)]])['pipe'](V[_0x21b7a4(0x53a)](([_0x6075a6,_0x3acc28])=>({'skeleton':_0xd7c015[_0x21b7a4(0x27a)](),'cursors':[..._0x6075a6[_0x21b7a4(0x578)]()][_0x21b7a4(0x1ef)](_0x4942ae=>({..._0x4942ae,'color':_0x3acc28[_0x4942ae['color']]}))})))[_0x21b7a4(0x250)](_0x22eac5=>{const _0x11c792=_0x21b7a4;if(this[_0x11c792(0x2e4)](),_0x22eac5){const {skeleton:_0x198cad,cursors:_0x1afff8}=_0x22eac5;this[_0x11c792(0x13b)](_0x198cad,_0x1afff8);}})),this[_0x21b7a4(0x534)](),this['_initCommandExecutedListener']();}[_0x3a3cba(0x13b)](_0x17e8ce,_0x386c85){const _0x57a2af=_0x3a3cba,{scene:_0x28937d,mainComponent:_0x318d59}=this['_context'],_0x681590=_0x386c85[_0x57a2af(0x53a)](_0x16fcba=>new Ft(_0x16fcba,_0x28937d,_0x17e8ce,_0x318d59));this[_0x57a2af(0x296)]=_0x681590,this[_0x57a2af(0x504)]=_0x386c85;}[_0x3a3cba(0x224)](){const _0x3df2e8=_0x3a3cba;this[_0x3df2e8(0x2e4)]();const {scene:_0x1429d5,mainComponent:_0x5e4081}=this[_0x3df2e8(0x5de)],_0x1b9a3b=this[_0x3df2e8(0x3bf)]['getSkeleton'](),_0x5719c0=this['_cursors'][_0x3df2e8(0x53a)](_0x3e0a4d=>new Ft(_0x3e0a4d,_0x1429d5,_0x1b9a3b,_0x5e4081));this['_cursorShapes']=_0x5719c0;}[_0x3a3cba(0x2e4)](){const _0x4d65e4=_0x3a3cba;this[_0x4d65e4(0x296)][_0x4d65e4(0x281)](_0x4ad6c9=>_0x4ad6c9[_0x4d65e4(0x30a)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x3fe8ca=_0x3a3cba,_0x397cc8=[J[_0x3fe8ca(0x29d)]['id']];this[_0x3fe8ca(0x5e6)](this[_0x3fe8ca(0x340)][_0x3fe8ca(0x334)](_0x8008c4=>{const _0x4bb2d1=_0x3fe8ca;_0x397cc8[_0x4bb2d1(0x240)](_0x8008c4['id'])&&_0x8008c4[_0x4bb2d1(0x599)][_0x4bb2d1(0x168)]===this[_0x4bb2d1(0x5de)][_0x4bb2d1(0x168)]&&this[_0x4bb2d1(0x224)]();}));}['_initResize'](){const _0x458bda=_0x3a3cba;this[_0x458bda(0x5e6)](a['fromEventSubject'](this['_context'][_0x458bda(0x37f)]['onTransformChange$'])['pipe'](V['filter'](_0x14811b=>_0x14811b[_0x458bda(0x322)]===K[_0x458bda(0x3d1)][_0x458bda(0x451)]),V[_0x458bda(0x2f0)](0x10))[_0x458bda(0x250)](()=>{this['_refreshCollabCursors']();}));}};gt=Cs([je(0x1,a[_0x3a3cba(0x4b4)](Ie[_0x3a3cba(0x2ef)])),je(0x2,a[_0x3a3cba(0x4b4)](De)),je(0x3,a[_0x3a3cba(0x2f8)]),je(0x4,a['Inject'](a['ThemeService']))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x3a3cba(0x135)]{constructor(_0x7bd835,_0x46acd7){const _0x3d46f0=_0x3a3cba;super(_0x7bd835,_0x46acd7),I(this,'_color'),I(this,_0x3d46f0(0x26a),!0x1),I(this,_0x3d46f0(0x5e5)),I(this,_0x3d46f0(0x4d7),''),I(this,'_labelPosition','top'),I(this,_0x3d46f0(0x420)),(_0x46acd7&&this[_0x3d46f0(0x1ee)](_0x46acd7),this['onPointerEnter$'][_0x3d46f0(0x399)](()=>this[_0x3d46f0(0x1ee)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3d46f0(0x399)](()=>this[_0x3d46f0(0x1ee)]({'hovered':!0x1})));}[_0x3a3cba(0x1ee)](_0x21fb14){const _0x29d534=_0x3a3cba;var _0x1245f3,_0x348742,_0x6a2b4,_0x5e12d5,_0xb02d3a,_0x1b08ac;this['_color']=(_0x1245f3=_0x21fb14[_0x29d534(0x1f2)])!=null?_0x1245f3:this[_0x29d534(0x591)],this['_hovered']=(_0x348742=_0x21fb14[_0x29d534(0x359)])!=null?_0x348742:this['_hovered'],this[_0x29d534(0x5e5)]=(_0x6a2b4=_0x21fb14[_0x29d534(0x3db)])!=null?_0x6a2b4:this[_0x29d534(0x5e5)],this[_0x29d534(0x4d7)]=(_0x5e12d5=_0x21fb14[_0x29d534(0x203)])!=null?_0x5e12d5:this[_0x29d534(0x4d7)],this['_labelPosition']=(_0xb02d3a=_0x21fb14[_0x29d534(0x4c2)])!=null?_0xb02d3a:this[_0x29d534(0x397)],this[_0x29d534(0x420)]=(_0x1b08ac=_0x21fb14[_0x29d534(0x38c)])!=null?_0x1b08ac:this['_backgroundColor'],this[_0x29d534(0x468)]({'width':_0x21fb14[_0x29d534(0x301)],'height':_0x21fb14[_0x29d534(0x4a1)]});}['onMouseMove'](_0x2ff5e3){const _0xced1fa=_0x3a3cba,{row:_0x3203cb,column:_0x46af3b}=_0x2ff5e3;if(_0x3203cb>=this[_0xced1fa(0x5e5)][_0xced1fa(0x501)]&&_0x3203cb<=this[_0xced1fa(0x5e5)][_0xced1fa(0x32a)]&&_0x46af3b>=this['_range'][_0xced1fa(0x400)]&&_0x46af3b<=this['_range'][_0xced1fa(0x344)]){this[_0xced1fa(0x1ee)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3a3cba(0x212)](_0x44b88f){return!0x1;}[_0x3a3cba(0x235)](_0x3a01dd){const _0x142b0f=_0x3a3cba;K[_0x142b0f(0x411)]['drawWith'](_0x3a01dd,{'width':this[_0x142b0f(0x301)],'height':this[_0x142b0f(0x4a1)],'strokeWidth':bs,'stroke':this[_0x142b0f(0x591)],'evented':!0x1,'fill':this[_0x142b0f(0x420)]}),this['_hovered']&&(_0x3a01dd[_0x142b0f(0x370)](),_0x3a01dd['transform'](0x1,0x0,0x0,0x1,this[_0x142b0f(0x301)],this[_0x142b0f(0x397)]==='bottom'?0x0:-Le),Xe['drawWith'](_0x3a01dd,{'text':this[_0x142b0f(0x4d7)],'color':this[_0x142b0f(0x591)]}),_0x3a01dd[_0x142b0f(0x2a6)]());}}var Ts=Object[_0x3a3cba(0x5d1)],Rs=Object[_0x3a3cba(0x42d)],ys=(_0x4626a2,_0x4ce200,_0x217de0,_0x13f1d7)=>{const _0x2ea869=_0x3a3cba;for(var _0x27d90c=_0x13f1d7>0x1?void 0x0:_0x13f1d7?Rs(_0x4ce200,_0x217de0):_0x4ce200,_0x3b83a9=_0x4626a2[_0x2ea869(0x16b)]-0x1,_0x35c10f;_0x3b83a9>=0x0;_0x3b83a9--)(_0x35c10f=_0x4626a2[_0x3b83a9])&&(_0x27d90c=(_0x13f1d7?_0x35c10f(_0x4ce200,_0x217de0,_0x27d90c):_0x35c10f(_0x27d90c))||_0x27d90c);return _0x13f1d7&&_0x27d90c&&Ts(_0x4ce200,_0x217de0,_0x27d90c),_0x27d90c;},at=(_0x74c50b,_0x3f57f1)=>(_0x46392b,_0x16ec66)=>_0x3f57f1(_0x46392b,_0x16ec66,_0x74c50b);const Os=0x1389;let It=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x35ecc9,_0x354f07,_0x82816c,_0x51c4cc){const _0x395c29=_0x3a3cba;super(),I(this,_0x395c29(0x504),new Set()),I(this,_0x395c29(0x1bc),null),(this[_0x395c29(0x5de)]=_0x35ecc9,this['_sheetSkeletonManagerService']=_0x354f07,this[_0x395c29(0x46a)]=_0x82816c,this[_0x395c29(0x375)]=_0x51c4cc,this[_0x395c29(0x4ef)]());}[_0x3a3cba(0x4ef)](){const _0x3989fd=_0x3a3cba;this[_0x3989fd(0x56b)][_0x3989fd(0x59f)]['pipe'](V['takeUntil'](this['dispose$']),V[_0x3989fd(0x2a0)](_0x1aef07=>{const _0x1ab5ce=_0x3989fd;if(_0x1aef07){const _0x43c929=_0x1aef07[_0x1ab5ce(0x454)];return A[_0x1ab5ce(0x455)](this['_collabCursorController'][_0x1ab5ce(0x382)](this[_0x1ab5ce(0x5de)][_0x1ab5ce(0x168)]),this['_themeService'][_0x1ab5ce(0x381)])[_0x1ab5ce(0x17b)](V['map'](([_0x40d69a,_0xd3728f])=>{const _0x73cc86=_0x1ab5ce,_0x51f1f2=new Map();return _0x40d69a[_0x73cc86(0x281)]((_0x1a894b,_0x1fdcb3)=>{const _0x4aac8c=_0x73cc86;if(_0x1a894b[_0x4aac8c(0x1ac)]===_0x43c929){const _0x488d44={..._0x1a894b};_0x488d44[_0x4aac8c(0x1f2)]=_0xd3728f[_0x1a894b['color']],_0x51f1f2[_0x4aac8c(0x38a)](_0x1fdcb3,_0x488d44);}}),{'skeleton':_0x1aef07,'cursors':_0x51f1f2};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3d8d78,cursors:_0x3fcfc3})=>{const _0x43631e=_0x3989fd;this['_removeCollabCursors'](),_0x3d8d78&&this[_0x43631e(0x13b)](_0x3d8d78,_0x3fcfc3);}),this[_0x3989fd(0x56b)][_0x3989fd(0x59f)][_0x3989fd(0x250)](_0x467527=>{const _0x268b24=_0x3989fd;if(_0x467527==null)return;const {skeleton:_0x3979d1}=_0x467527,{scene:_0x29cbfa}=this[_0x268b24(0x5de)];_0x29cbfa[_0x268b24(0x4fc)][_0x268b24(0x399)](a[_0x268b24(0x3b2)](_0x53eeab=>{const _0x49aa11=_0x268b24;var _0x27d05b,_0x161753;const {offsetX:_0x47bb07,offsetY:_0x275a4c}=_0x53eeab,{x:_0x259978,y:_0x102f54}=_0x29cbfa[_0x49aa11(0x4a3)](K[_0x49aa11(0x35a)]['FromArray']([_0x47bb07,_0x275a4c])),{scaleX:_0x4c3dc6,scaleY:_0x4fec65}=_0x29cbfa[_0x49aa11(0x572)](),_0x556890=_0x29cbfa[_0x49aa11(0x532)](ye['VIEWPORT_KEY'][_0x49aa11(0x258)]),_0x1a0ed8=_0x29cbfa['getVpScrollXYInfoByPosToVp'](K[_0x49aa11(0x35a)]['FromArray']([_0x259978,_0x102f54]),_0x556890),_0x1ef042=_0x3979d1[_0x49aa11(0x48b)](_0x47bb07,_0x275a4c,_0x4c3dc6,_0x4fec65,_0x1a0ed8);((_0x27d05b=this[_0x49aa11(0x1bc)])==null?void 0x0:_0x27d05b['column'])===_0x1ef042['column']&&((_0x161753=this['_lastPointer'])==null?void 0x0:_0x161753[_0x49aa11(0x282)])===_0x1ef042[_0x49aa11(0x282)]||this['_cursors'][_0x49aa11(0x281)](_0x27a051=>{const _0x12b0be=_0x49aa11;_0x27a051[_0x12b0be(0x275)](_0x1ef042);});},0x64));});}[_0x3a3cba(0x13b)](_0xe8e2f6,_0x2f8317){const _0x520fe7=_0x3a3cba;var _0x17204f;const _0x43641f=(_0x17204f=this[_0x520fe7(0x56b)]['getCurrent']())==null?void 0x0:_0x17204f[_0x520fe7(0x27b)];if(!_0x43641f)return;const _0x2a12a0=this['_getSheetObject']();if(!_0x2a12a0)return;this['_cursors'][_0x520fe7(0x281)](_0x5139a5=>{const _0x6ee2bd=_0x520fe7;_0x5139a5[_0x6ee2bd(0x25e)]();});const {scene:_0x29668b}=_0x2a12a0,_0x15bc99=Ds(Array[_0x520fe7(0x1ba)](_0x2f8317['values']()))['map'](_0x46b51e=>{const _0x23de78=_0x520fe7,{color:_0x277bee,range:_0x2738a4,name:_0x26e7e3,selection:_0x47d4e1,sheetID:_0x235a14}=_0x46b51e,{startColumn:_0x1941d8,startRow:_0x5f3706,endColumn:_0x1b3152,endRow:_0x52b3ae}=_0x2738a4,_0x26dfd2=ye[_0x23de78(0x21f)](_0x5f3706,_0x1941d8,_0x29668b,_0x43641f),_0x44a0d8=ye[_0x23de78(0x21f)](_0x52b3ae,_0x1b3152,_0x29668b,_0x43641f),{columnHeaderHeightAndMarginTop:_0x49f402}=_0x43641f,{startX:_0x420884,startY:_0x5ed1ff}=_0x26dfd2,{endX:_0x3c95d3,endY:_0x161a76}=_0x44a0d8,_0x39a08f=_0x3c95d3-_0x420884,_0x3e7c18=_0x161a76-_0x5ed1ff,_0xf17660={'labelPosition':_0x5ed1ff-_0x49f402>=Le?'top':'bottom','sheetID':_0x235a14,'range':_0x2738a4,'color':_0x277bee,'name':_0x26e7e3,'selection':_0x47d4e1,'left':_0x420884,'top':_0x5ed1ff,'width':_0x39a08f,'height':_0x3e7c18,'evented':!0x1,'zIndex':Os};return new Ii(_0x26e7e3,_0xf17660);});_0x29668b['addObjects'](_0x15bc99,Es),this[_0x520fe7(0x504)]=new Set(_0x15bc99);}[_0x3a3cba(0x2e4)](){const _0x1faff4=_0x3a3cba;var _0x4db8d4;(_0x4db8d4=this[_0x1faff4(0x504)])==null||_0x4db8d4[_0x1faff4(0x281)](_0x27bfc0=>_0x27bfc0[_0x1faff4(0x30a)]());}[_0x3a3cba(0x40e)](){const _0x3c5fca=_0x3a3cba;return ye[_0x3c5fca(0x314)](this[_0x3c5fca(0x5de)][_0x3c5fca(0x3e1)],this[_0x3c5fca(0x5de)]);}};It=ys([at(0x1,a[_0x3a3cba(0x4b4)](ye['SheetSkeletonManagerService'])),at(0x2,a[_0x3a3cba(0x4b4)](De)),at(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x271)]))],It);function Ds(_0x595973){const _0x406d9c=_0x3a3cba,_0x1a6007=new Map();return _0x595973[_0x406d9c(0x281)](_0x221ae7=>{const _0x27e7d4=_0x406d9c;if(_0x1a6007[_0x27e7d4(0x16f)](_0x221ae7['selection'])){const _0x286405=_0x1a6007['get'](_0x221ae7[_0x27e7d4(0x396)]);_0x286405[_0x27e7d4(0x203)]+=',\x20'+_0x221ae7['name'];}else _0x1a6007[_0x27e7d4(0x38a)](_0x221ae7[_0x27e7d4(0x396)],_0x221ae7);}),Array['from'](_0x1a6007[_0x406d9c(0x578)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0xb6e12e){const _0x3d6d92=_0x3a3cba;return _0xb6e12e&&_0xb6e12e[_0x3d6d92(0x52c)]&&Object[_0x3d6d92(0x2d8)][_0x3d6d92(0x238)][_0x3d6d92(0x4c9)](_0xb6e12e,'default')?_0xb6e12e[_0x3d6d92(0x40d)]:_0xb6e12e;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x3a3cba(0x2b7)](_0x3a3cba(0x335)),Us=Symbol['for'](_0x3a3cba(0x1d9)),Ms=Object[_0x3a3cba(0x2d8)][_0x3a3cba(0x238)],As=Ps[_0x3a3cba(0x3ae)]['ReactCurrentOwner'],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x2631c6,_0x465708,_0x2bd0a3){const _0x1747d0=_0x3a3cba;var _0x498967,_0x1fb5d9={},_0x24e4a3=null,_0x31e2f6=null;_0x2bd0a3!==void 0x0&&(_0x24e4a3=''+_0x2bd0a3),_0x465708['key']!==void 0x0&&(_0x24e4a3=''+_0x465708[_0x1747d0(0x249)]),_0x465708[_0x1747d0(0x36d)]!==void 0x0&&(_0x31e2f6=_0x465708[_0x1747d0(0x36d)]);for(_0x498967 in _0x465708)Ms[_0x1747d0(0x4c9)](_0x465708,_0x498967)&&!Ns['hasOwnProperty'](_0x498967)&&(_0x1fb5d9[_0x498967]=_0x465708[_0x498967]);if(_0x2631c6&&_0x2631c6[_0x1747d0(0x432)]){for(_0x498967 in(_0x465708=_0x2631c6[_0x1747d0(0x432)],_0x465708))_0x1fb5d9[_0x498967]===void 0x0&&(_0x1fb5d9[_0x498967]=_0x465708[_0x498967]);}return{'$$typeof':ws,'type':_0x2631c6,'key':_0x24e4a3,'ref':_0x31e2f6,'props':_0x1fb5d9,'_owner':As[_0x1747d0(0x305)]};}Je['Fragment']=Us,Je[_0x3a3cba(0x440)]=Ei,Je[_0x3a3cba(0x391)]=Ei,Ci[_0x3a3cba(0x5e4)]=Je;var ge=Ci[_0x3a3cba(0x5e4)],ee=function(){const _0x2543a7=_0x3a3cba;return ee=Object['assign']||function(_0x3817f2){const _0xa45411=_0x131b;for(var _0x1aa209,_0x5d4d9d=0x1,_0x167b5b=arguments[_0xa45411(0x16b)];_0x5d4d9d<_0x167b5b;_0x5d4d9d++){_0x1aa209=arguments[_0x5d4d9d];for(var _0x338056 in _0x1aa209)Object[_0xa45411(0x2d8)][_0xa45411(0x238)][_0xa45411(0x4c9)](_0x1aa209,_0x338056)&&(_0x3817f2[_0x338056]=_0x1aa209[_0x338056]);}return _0x3817f2;},ee[_0x2543a7(0x49e)](this,arguments);},Ls=function(_0x5871d9,_0x518f95){const _0x1fd8d1=_0x3a3cba;var _0x3bb723={};for(var _0x33f8bf in _0x5871d9)Object[_0x1fd8d1(0x2d8)][_0x1fd8d1(0x238)][_0x1fd8d1(0x4c9)](_0x5871d9,_0x33f8bf)&&_0x518f95['indexOf'](_0x33f8bf)<0x0&&(_0x3bb723[_0x33f8bf]=_0x5871d9[_0x33f8bf]);if(_0x5871d9!=null&&typeof Object[_0x1fd8d1(0x57d)]==_0x1fd8d1(0x1d8)){for(var _0x284ae2=0x0,_0x33f8bf=Object[_0x1fd8d1(0x57d)](_0x5871d9);_0x284ae2<_0x33f8bf[_0x1fd8d1(0x16b)];_0x284ae2++)_0x518f95[_0x1fd8d1(0x12d)](_0x33f8bf[_0x284ae2])<0x0&&Object['prototype'][_0x1fd8d1(0x251)][_0x1fd8d1(0x4c9)](_0x5871d9,_0x33f8bf[_0x284ae2])&&(_0x3bb723[_0x33f8bf[_0x284ae2]]=_0x5871d9[_0x33f8bf[_0x284ae2]]);}return _0x3bb723;},Pt=ae[_0x3a3cba(0x257)](function(_0x224502,_0x2383de){const _0x280cb2=_0x3a3cba;var _0x212c67=_0x224502[_0x280cb2(0x55a)],_0x231e93=_0x224502['id'],_0x57545b=_0x224502['className'],_0x128ccb=_0x224502[_0x280cb2(0x189)],_0x44ffee=Ls(_0x224502,[_0x280cb2(0x55a),'id','className',_0x280cb2(0x189)]),_0x2bfcfc=_0x280cb2(0x36f)['concat'](_0x231e93,'\x20')['concat'](_0x57545b||'')['trim'](),_0xdb98e9=ae[_0x280cb2(0x18b)]('_'['concat']($s()));return bi(_0x212c67,''[_0x280cb2(0x447)](_0x231e93),{'defIds':_0x212c67['defIds'],'idSuffix':_0xdb98e9[_0x280cb2(0x305)]},ee({'ref':_0x2383de,'className':_0x2bfcfc},_0x44ffee),_0x128ccb);});function bi(_0x213202,_0xbd114b,_0x1c5f81,_0x4dd6dd,_0x2c5bc9){const _0x50dc44=_0x3a3cba;return ae[_0x50dc44(0x201)](_0x213202['tag'],ee(ee({'key':_0xbd114b},xs(_0x213202,_0x1c5f81,_0x2c5bc9)),_0x4dd6dd),(js(_0x213202,_0x1c5f81)[_0x50dc44(0x192)]||[])['map'](function(_0x3acb2b,_0x38b930){const _0x467e4d=_0x50dc44;return bi(_0x3acb2b,''[_0x467e4d(0x447)](_0xbd114b,'-')[_0x467e4d(0x447)](_0x213202[_0x467e4d(0x2fa)],'-')[_0x467e4d(0x447)](_0x38b930),_0x1c5f81,void 0x0,_0x2c5bc9);}));}function xs(_0x233ee1,_0x48b5ba,_0x14989e){const _0x42d4ca=_0x3a3cba;var _0x512897=ee({},_0x233ee1[_0x42d4ca(0x4cd)]);_0x14989e!=null&&_0x14989e[_0x42d4ca(0x439)]&&_0x512897[_0x42d4ca(0x153)]===_0x42d4ca(0x439)&&(_0x512897[_0x42d4ca(0x153)]=_0x14989e[_0x42d4ca(0x439)]);var _0x5dab57=_0x48b5ba['defIds'];return!_0x5dab57||_0x5dab57[_0x42d4ca(0x16b)]===0x0||(_0x233ee1[_0x42d4ca(0x2fa)]==='use'&&_0x512897[_0x42d4ca(0x190)]&&(_0x512897['xlink:href']=_0x512897[_0x42d4ca(0x190)]+_0x48b5ba['idSuffix']),Object[_0x42d4ca(0x20c)](_0x512897)[_0x42d4ca(0x281)](function(_0x29928b){const _0x5358b1=_0x42d4ca;var _0x37f97a=_0x29928b[0x0],_0x5187e8=_0x29928b[0x1];typeof _0x5187e8=='string'&&(_0x512897[_0x37f97a]=_0x5187e8[_0x5358b1(0x56c)](/url\(#(.*)\)/,_0x5358b1(0x20f)[_0x5358b1(0x447)](_0x48b5ba['idSuffix'],')')));})),_0x512897;}function js(_0x2ca346,_0x32a208){const _0x42eab7=_0x3a3cba;var _0x68eb62,_0x5b829f=_0x32a208[_0x42eab7(0x53e)];return!_0x5b829f||_0x5b829f[_0x42eab7(0x16b)]===0x0?_0x2ca346:_0x2ca346['tag']==='defs'&&(!((_0x68eb62=_0x2ca346['children'])===null||_0x68eb62===void 0x0)&&_0x68eb62[_0x42eab7(0x16b)])?ee(ee({},_0x2ca346),{'children':_0x2ca346['children']['map'](function(_0x4d1c5a){const _0x3665b5=_0x42eab7;return typeof _0x4d1c5a[_0x3665b5(0x4cd)]['id']==_0x3665b5(0x554)&&_0x5b829f&&_0x5b829f[_0x3665b5(0x12d)](_0x4d1c5a[_0x3665b5(0x4cd)]['id'])>-0x1?ee(ee({},_0x4d1c5a),{'attrs':ee(ee({},_0x4d1c5a['attrs']),{'id':_0x4d1c5a['attrs']['id']+_0x32a208[_0x3665b5(0x3bd)]})}):_0x4d1c5a;})}):_0x2ca346;}function $s(){const _0x19b25f=_0x3a3cba;return Math[_0x19b25f(0x14e)]()['toString'](0x24)[_0x19b25f(0x1c0)](0x2,0x8);}Pt['displayName']=_0x3a3cba(0x56f);var Hs={'tag':_0x3a3cba(0x20b),'attrs':{'fill':_0x3a3cba(0x25b),'viewBox':_0x3a3cba(0x3d9),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3cba(0x33c)},'children':[{'tag':_0x3a3cba(0x350),'attrs':{'stroke':_0x3a3cba(0x226),'d':_0x3a3cba(0x4f7),'strokeLinecap':_0x3a3cba(0x3cb),'strokeLinejoin':_0x3a3cba(0x3cb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3a3cba(0x33e),'attrs':{'id':_0x3a3cba(0x3e4)},'children':[{'tag':_0x3a3cba(0x350),'attrs':{'fill':_0x3a3cba(0x44a),'d':_0x3a3cba(0x3fa)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ti=ae['forwardRef'](function(_0xc67dc,_0x29bb16){const _0x4a1b05=_0x3a3cba;return ae[_0x4a1b05(0x201)](Pt,Object['assign']({},_0xc67dc,{'id':_0x4a1b05(0x304),'ref':_0x29bb16,'icon':Hs}));});Ti[_0x3a3cba(0x48a)]=_0x3a3cba(0x20a);var Bs={'tag':_0x3a3cba(0x20b),'attrs':{'fill':_0x3a3cba(0x25b),'viewBox':_0x3a3cba(0x313),'width':_0x3a3cba(0x4de),'height':_0x3a3cba(0x4de)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3a3cba(0x350),'attrs':{'stroke':_0x3a3cba(0x226),'d':_0x3a3cba(0x2b5),'strokeLinecap':'round','strokeLinejoin':_0x3a3cba(0x3cb),'strokeWidth':1.2}}]},{'tag':_0x3a3cba(0x538),'attrs':{},'children':[{'tag':_0x3a3cba(0x33e),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3a3cba(0x350),'attrs':{'fill':_0x3a3cba(0x44a),'d':_0x3a3cba(0x3fa),'transform':_0x3a3cba(0x2e8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae[_0x3a3cba(0x257)](function(_0x4c66fa,_0x1d9029){const _0x4dc60a=_0x3a3cba;return ae[_0x4dc60a(0x201)](Pt,Object[_0x4dc60a(0x5a3)]({},_0x4c66fa,{'id':_0x4dc60a(0x5bb),'ref':_0x1d9029,'icon':Bs}));});Ri[_0x3a3cba(0x48a)]=_0x3a3cba(0x494);function yi(_0xd6278f){const _0x5532f1=_0x3a3cba;var _0x5a98bc,_0x1a3785,_0x10d749='';if(typeof _0xd6278f==_0x5532f1(0x554)||typeof _0xd6278f=='number')_0x10d749+=_0xd6278f;else{if(typeof _0xd6278f==_0x5532f1(0x4a2)){if(Array[_0x5532f1(0x550)](_0xd6278f)){var _0x54d165=_0xd6278f['length'];for(_0x5a98bc=0x0;_0x5a98bc<_0x54d165;_0x5a98bc++)_0xd6278f[_0x5a98bc]&&(_0x1a3785=yi(_0xd6278f[_0x5a98bc]))&&(_0x10d749&&(_0x10d749+='\x20'),_0x10d749+=_0x1a3785);}else{for(_0x1a3785 in _0xd6278f)_0xd6278f[_0x1a3785]&&(_0x10d749&&(_0x10d749+='\x20'),_0x10d749+=_0x1a3785);}}}return _0x10d749;}function ks(){const _0x27a66f=_0x3a3cba;for(var _0x2b683e,_0x445131,_0x468da9=0x0,_0x468245='',_0x4ec45b=arguments[_0x27a66f(0x16b)];_0x468da9<_0x4ec45b;_0x468da9++)(_0x2b683e=arguments[_0x468da9])&&(_0x445131=yi(_0x2b683e))&&(_0x468245&&(_0x468245+='\x20'),_0x468245+=_0x445131);return _0x468245;}const Ws='univer-online-status-icon',Fs=_0x3a3cba(0x4f0),Vs=_0x3a3cba(0x492),Gs=_0x3a3cba(0x3a9),Ys=_0x3a3cba(0x46f),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x57fcc8){const _0x466309=_0x3a3cba;switch(_0x57fcc8){case q[_0x466309(0x49b)]:return _0x466309(0x30b);case q[_0x466309(0x496)]:return _0x466309(0x498);case q[_0x466309(0x166)]:return _0x466309(0x5b2);case q['NOT_COLLAB']:return'collabStatus.notCollab';case q[_0x466309(0x43c)]:case q['AWAITING_WITH_PENDING']:return _0x466309(0x2a5);case q[_0x466309(0x2a4)]:case q[_0x466309(0x1a5)]:return _0x466309(0x574);}}function Oi(_0x40e037){const _0x2177f8=_0x3a3cba,{status$:_0x391b8b}=_0x40e037,_0x51512d=te[_0x2177f8(0x478)](_0x391b8b,q[_0x2177f8(0x552)]),_0x2ceda3=a[_0x2177f8(0x5d7)](a[_0x2177f8(0x2b2)]),_0x38365a=a[_0x2177f8(0x5d7)](exports[_0x2177f8(0x19d)]),_0x4b6412=_0x51512d!==q[_0x2177f8(0x49b)],_0x421797=_0x2ceda3['t'](Ks(_0x51512d)),_0x258949=ks(Me[_0x2177f8(0x252)],{[Me[_0x2177f8(0x3af)]]:_0x4b6412,[Me[_0x2177f8(0x4cb)]]:!_0x4b6412}),_0x1ecc6b=_0x4b6412?ge['jsx'](Ri,{}):ge['jsx'](Ti,{}),_0x4714ed=ae[_0x2177f8(0x320)](()=>{const _0xc56f8d=_0x2177f8;_0x4b6412||_0x38365a[_0xc56f8d(0x533)]();},[_0x4b6412,_0x38365a]);function _0x1c2b7a(){const _0x4cd756=_0x2177f8;return ge[_0x4cd756(0x391)](_0x4cd756(0x39a),{'className':_0x258949,'onClick':_0x4714ed,'children':[ge['jsx'](_0x4cd756(0x39a),{'className':Me['onlineStatusIcon'],'children':_0x1ecc6b}),ge[_0x4cd756(0x440)](_0x4cd756(0x39a),{'className':Me[_0x4cd756(0x2c9)],'children':_0x421797})]});}return _0x4b6412?_0x1c2b7a():ge[_0x2177f8(0x440)](Ce[_0x2177f8(0x1cc)],{'title':_0x2ceda3['t'](_0x2177f8(0x584)),'children':_0x1c2b7a()});}var qs=Object[_0x3a3cba(0x5d1)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x22bfc2,_0xafdff4,_0x2b61d9,_0xfef219)=>{const _0x5ce9c2=_0x3a3cba;for(var _0x3c4f2b=_0xfef219>0x1?void 0x0:_0xfef219?zs(_0xafdff4,_0x2b61d9):_0xafdff4,_0x2517ba=_0x22bfc2[_0x5ce9c2(0x16b)]-0x1,_0x2eda64;_0x2517ba>=0x0;_0x2517ba--)(_0x2eda64=_0x22bfc2[_0x2517ba])&&(_0x3c4f2b=(_0xfef219?_0x2eda64(_0xafdff4,_0x2b61d9,_0x3c4f2b):_0x2eda64(_0x3c4f2b))||_0x3c4f2b);return _0xfef219&&_0x3c4f2b&&qs(_0xafdff4,_0x2b61d9,_0x3c4f2b),_0x3c4f2b;},$e=(_0x33e032,_0x6b1533)=>(_0x4847bd,_0x34284e)=>_0x6b1533(_0x4847bd,_0x34284e,_0x33e032);exports[_0x3a3cba(0x514)]=class extends a[_0x3a3cba(0x28a)]{constructor(_0x1f0d6e,_0x1d3d01,_0x49e8d3,_0x5ac92f){const _0x47aa5a=_0x3a3cba;super(),I(this,'_status$',new A[(_0x47aa5a(0x2bf))](q[_0x47aa5a(0x552)])),(this[_0x47aa5a(0x206)]=_0x1f0d6e,this[_0x47aa5a(0x196)]=_0x1d3d01,this[_0x47aa5a(0x23e)]=_0x49e8d3,this[_0x47aa5a(0x58b)]=_0x5ac92f,this[_0x47aa5a(0x2f6)](),this[_0x47aa5a(0x42c)]());}[_0x3a3cba(0x42c)](){const _0x6c826e=_0x3a3cba;this[_0x6c826e(0x5e6)](this[_0x6c826e(0x206)][_0x6c826e(0x37e)][_0x6c826e(0x17b)](A['switchMap'](()=>{const _0x1c74a6=_0x6c826e,_0x5a6c11=this[_0x1c74a6(0x206)][_0x1c74a6(0x46d)]();return _0x5a6c11?this['_collaborationController']['getCollabEntity$'](_0x5a6c11[_0x1c74a6(0x470)]()):A['of'](null);}),A['switchMap'](_0x5c0baa=>_0x5c0baa?_0x5c0baa[_0x6c826e(0x47f)]:A['of'](q[_0x6c826e(0x552)])))[_0x6c826e(0x250)](_0x3c0558=>{const _0x4b46ff=_0x6c826e;this[_0x4b46ff(0x2c7)][_0x4b46ff(0x519)](_0x3c0558);}));}[_0x3a3cba(0x2f6)](){const _0x456fb6=_0x3a3cba;this[_0x456fb6(0x5e6)](this['_uiPartsService']['registerComponent'](te[_0x456fb6(0x245)][_0x456fb6(0x2e1)],()=>a[_0x456fb6(0x5a5)](Js({'status$':this['_status$'][_0x456fb6(0x216)]()}),this[_0x456fb6(0x23e)])));}},exports[_0x3a3cba(0x514)]=Xs([$e(0x0,a['IUniverInstanceService']),$e(0x1,te[_0x3a3cba(0x1da)]),$e(0x2,a[_0x3a3cba(0x4b4)](a['Injector'])),$e(0x3,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x5c9)]))],exports[_0x3a3cba(0x514)]);function Js(_0x450c50){const {status$:_0x34e14f}=_0x450c50;return function(){const _0x5e657c=_0x131b;return ge[_0x5e657c(0x440)](Oi,{'status$':_0x34e14f});};}const wt=a['createIdentifier'](_0x3a3cba(0x17e));var Zs=Object[_0x3a3cba(0x5d1)],Qs=Object[_0x3a3cba(0x42d)],er=(_0x10d8b2,_0x292c57,_0x46f62e,_0x1e42d1)=>{const _0x596860=_0x3a3cba;for(var _0x50edd9=_0x1e42d1>0x1?void 0x0:_0x1e42d1?Qs(_0x292c57,_0x46f62e):_0x292c57,_0x2a4447=_0x10d8b2[_0x596860(0x16b)]-0x1,_0xb08661;_0x2a4447>=0x0;_0x2a4447--)(_0xb08661=_0x10d8b2[_0x2a4447])&&(_0x50edd9=(_0x1e42d1?_0xb08661(_0x292c57,_0x46f62e,_0x50edd9):_0xb08661(_0x50edd9))||_0x50edd9);return _0x1e42d1&&_0x50edd9&&Zs(_0x292c57,_0x46f62e,_0x50edd9),_0x50edd9;},Re=(_0x649672,_0x246640)=>(_0x491265,_0x2efe25)=>_0x246640(_0x491265,_0x2efe25,_0x649672);exports[_0x3a3cba(0x280)]=class extends a[_0x3a3cba(0x3c4)]{constructor(_0x667a49,_0x5e0ec8,_0x422032,_0xb9e2b4,_0x119408,_0x1c4e5e){const _0x222821=_0x3a3cba;super(),this[_0x222821(0x225)]=_0x667a49,this[_0x222821(0x590)]=_0x5e0ec8,this[_0x222821(0x340)]=_0x422032,this[_0x222821(0x3e2)]=_0xb9e2b4,this[_0x222821(0x213)]=_0x119408,_0x1c4e5e?_0x1c4e5e==null||_0x1c4e5e[_0x222821(0x3a8)]()[_0x222821(0x3b0)](()=>this[_0x222821(0x4ef)]()):(this['_logService'][_0x222821(0x2ba)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x222821(0x4ef)]());}async['_init'](){const _0x9d27cd=_0x3a3cba,_0x28bcf7=this[_0x9d27cd(0x225)][_0x9d27cd(0x50b)](_0x9d27cd(0x3e1)),_0x5be726=this[_0x9d27cd(0x225)]['getParam']('type');if(!_0x28bcf7||!_0x5be726){this[_0x9d27cd(0x590)]['debug'](_0x9d27cd(0x2ce),_0x9d27cd(0x39b));return;}switch(Number(_0x5be726)){case ne[_0x9d27cd(0x1b5)]:{const _0x2b7b90=await this[_0x9d27cd(0x348)](_0x28bcf7);this['_setupSubUnitSync'](_0x2b7b90);break;}case ne[_0x9d27cd(0x1b1)]:{await this[_0x9d27cd(0x5b5)](_0x28bcf7);break;}default:{this['_logService'][_0x9d27cd(0x2e5)](_0x9d27cd(0x2ce),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x3a3cba(0x3ff)](_0xd8197){const _0x3770c1=_0x3a3cba;await this[_0x3770c1(0x3a0)](_0xd8197),_0xd8197['activeSheet$'][_0x3770c1(0x17b)](A[_0x3770c1(0x4d8)](this[_0x3770c1(0x541)]))[_0x3770c1(0x250)](_0x55c89e=>{_0x55c89e&&this['_updateURLWithCurrentState'](_0x55c89e);}),this[_0x3770c1(0x225)]['urlChange$'][_0x3770c1(0x17b)](A[_0x3770c1(0x4d8)](this['dispose$']))[_0x3770c1(0x250)](()=>this['_updateSubUnitFromURLParams'](_0xd8197));}[_0x3a3cba(0x148)](_0xd4006d,_0x535404=!0x1){const _0xb07f4=_0x3a3cba,_0x11da73=this[_0xb07f4(0x225)]['getParam'](_0xb07f4(0x5f2));_0xd4006d[_0xb07f4(0x50d)]()!==_0x11da73&&this[_0xb07f4(0x225)][_0xb07f4(0x19a)](_0xb07f4(0x5f2),_0xd4006d[_0xb07f4(0x50d)](),_0x535404);}async['_updateSubUnitFromURLParams'](_0x28d287){const _0x125710=_0x3a3cba;var _0x28fa5b;const _0x24de78=this[_0x125710(0x225)][_0x125710(0x50b)](_0x125710(0x5f2));if(!_0x24de78||!_0x28d287[_0x125710(0x337)](_0x24de78)){const _0x478806=_0x28d287[_0x125710(0x284)]()[0x0],_0x55fe8b=_0x28d287[_0x125710(0x337)](_0x478806);if(!_0x55fe8b)return;this[_0x125710(0x148)](_0x55fe8b,!0x0),await this['_commandService'][_0x125710(0x52f)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x28d287[_0x125710(0x470)](),'subUnitId':_0x478806});return;}((_0x28fa5b=_0x28d287[_0x125710(0x2c0)]())==null?void 0x0:_0x28fa5b[_0x125710(0x50d)]())!==_0x24de78&&await this[_0x125710(0x340)][_0x125710(0x52f)](k[_0x125710(0x3ab)]['id'],{'unitId':_0x28d287[_0x125710(0x470)](),'subUnitId':_0x24de78});}async[_0x3a3cba(0x348)](_0x40baba){const _0x38f3e7=_0x3a3cba;let _0x4a076c=0x0;const _0xfa3b9d=await this['_localCacheService'][_0x38f3e7(0x45f)](_0x40baba);return _0xfa3b9d&&(_0xfa3b9d[_0x38f3e7(0x5a0)]||_0xfa3b9d[_0x38f3e7(0x441)]['length']!==0x0)&&(_0x4a076c=_0xfa3b9d[_0x38f3e7(0x5ed)]),_0x4a076c===0x0&&this['_logService']['debug'](_0x38f3e7(0x2ce),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x38f3e7(0x3de)](_0x40baba,_0x4a076c);}async[_0x3a3cba(0x5b5)](_0x1b25d3){const _0x4f34e1=_0x3a3cba;let _0x5c4065=0x0;const _0x919455=await this[_0x4f34e1(0x3e2)][_0x4f34e1(0x45f)](_0x1b25d3);return _0x919455&&(_0x919455['awaitingChangeset']||_0x919455['mutations'][_0x4f34e1(0x16b)]!==0x0)&&(_0x5c4065=_0x919455['rev']),_0x5c4065===0x0&&this[_0x4f34e1(0x590)][_0x4f34e1(0x2ba)](_0x4f34e1(0x2ce),_0x4f34e1(0x4d3)),this[_0x4f34e1(0x213)][_0x4f34e1(0x2cb)](_0x1b25d3,_0x5c4065);}},exports[_0x3a3cba(0x280)]=er([Re(0x0,wt),Re(0x1,a[_0x3a3cba(0x4cc)]),Re(0x2,a[_0x3a3cba(0x2f8)]),Re(0x3,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x158)])),Re(0x4,a[_0x3a3cba(0x4b4)](p['SnapshotService'])),Re(0x5,a[_0x3a3cba(0x229)](Bi[_0x3a3cba(0x220)]))],exports[_0x3a3cba(0x280)]);var tr=Object['defineProperty'],ir=Object[_0x3a3cba(0x42d)],nr=(_0x29e7c8,_0x5184d9,_0x69549f,_0x48caa4)=>{const _0xca85b2=_0x3a3cba;for(var _0x1fdaac=_0x48caa4>0x1?void 0x0:_0x48caa4?ir(_0x5184d9,_0x69549f):_0x5184d9,_0x32bf41=_0x29e7c8[_0xca85b2(0x16b)]-0x1,_0x30c362;_0x32bf41>=0x0;_0x32bf41--)(_0x30c362=_0x29e7c8[_0x32bf41])&&(_0x1fdaac=(_0x48caa4?_0x30c362(_0x5184d9,_0x69549f,_0x1fdaac):_0x30c362(_0x1fdaac))||_0x1fdaac);return _0x48caa4&&_0x1fdaac&&tr(_0x5184d9,_0x69549f,_0x1fdaac),_0x1fdaac;},Vt=(_0x2ed1e1,_0x342b20)=>(_0x340b97,_0x3759b8)=>_0x342b20(_0x340b97,_0x3759b8,_0x2ed1e1);const sr='DEFAULT_FILE_NAME',rr=_0x3a3cba(0x429);let Ge=class extends a[_0x3a3cba(0x28a)]{constructor(_0x58da72,_0x22afba){const _0x3c1f4f=_0x3a3cba;super(),this[_0x3c1f4f(0x206)]=_0x58da72,this[_0x3c1f4f(0x4d1)]=_0x22afba,this['_init']();}[_0x3a3cba(0x4ef)](){const _0x4c5274=_0x3a3cba;this[_0x4c5274(0x5e6)](this[_0x4c5274(0x206)][_0x4c5274(0x37e)][_0x4c5274(0x250)](()=>{const _0x22fc92=_0x4c5274;var _0x20e2c5;const _0x345b20=this[_0x22fc92(0x206)][_0x22fc92(0x46d)]();let _0x5e279c=(_0x20e2c5=this[_0x22fc92(0x4d1)]['getConfig'](sr))!=null?_0x20e2c5:rr;_0x345b20 instanceof a[_0x22fc92(0x1d0)]&&(_0x5e279c=_0x345b20['name']),document[_0x22fc92(0x260)]=_0x5e279c;}));}};Ge=nr([Vt(0x0,a['IUniverInstanceService']),Vt(0x1,a['IConfigService'])],Ge);var or=Object[_0x3a3cba(0x5d1)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x35734,_0x599df3,_0x32f1ac,_0x3247ad)=>{const _0x237e8f=_0x3a3cba;for(var _0x56436d=_0x3247ad>0x1?void 0x0:_0x3247ad?ar(_0x599df3,_0x32f1ac):_0x599df3,_0x52d3af=_0x35734[_0x237e8f(0x16b)]-0x1,_0x457cf4;_0x52d3af>=0x0;_0x52d3af--)(_0x457cf4=_0x35734[_0x52d3af])&&(_0x56436d=(_0x3247ad?_0x457cf4(_0x599df3,_0x32f1ac,_0x56436d):_0x457cf4(_0x56436d))||_0x56436d);return _0x3247ad&&_0x56436d&&or(_0x599df3,_0x32f1ac,_0x56436d),_0x56436d;},ct=(_0x15d57d,_0x2e9455)=>(_0x1aa83f,_0x469b84)=>_0x2e9455(_0x1aa83f,_0x469b84,_0x15d57d);let Ye=class{constructor(_0x42e6d3,_0x1dca49,_0x16f967){const _0x42ab57=_0x3a3cba;this[_0x42ab57(0x4d1)]=_0x42e6d3,this[_0x42ab57(0x586)]=_0x1dca49,this['localeService']=_0x16f967,this['init']();}[_0x3a3cba(0x16a)](){const _0x45d865=_0x3a3cba;this['_httpService'][_0x45d865(0x4e3)]({'priority':0x1,'interceptor':(_0x31c11c,_0x3cd3f6)=>_0x3cd3f6(_0x31c11c)[_0x45d865(0x17b)](A[_0x45d865(0x446)](async _0x30e11e=>{const _0x23b8ac=_0x45d865,_0xc76d40=_0x30e11e;if(_0xc76d40[_0x23b8ac(0x3b1)]===0x191&&window[_0x23b8ac(0x278)](this[_0x23b8ac(0x47e)]['t']('auth.needGotoLoginAlert'))){const _0x21a39e=window[_0x23b8ac(0x2d4)](window[_0x23b8ac(0x5be)][_0x23b8ac(0x13e)]);window['location']['href']=this['_getLoginPath']()+'?url='+_0x21a39e;}return _0xc76d40;}))});}['_getLoginPath'](){const _0x5d6ef6=_0x3a3cba;var _0x5a0e18,_0x2f869e;const _0x44b8aa=this[_0x5d6ef6(0x4d1)]['getConfig'](hi),_0x33bc3d=this[_0x5d6ef6(0x4d1)][_0x5d6ef6(0x3cc)](Q);return(_0x2f869e=(_0x5a0e18=_0x33bc3d==null?void 0x0:_0x33bc3d[_0x5d6ef6(0x170)])!=null?_0x5a0e18:_0x44b8aa)!=null?_0x2f869e:Ji;}};Ye=cr([ct(0x0,a[_0x3a3cba(0x311)]),ct(0x1,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)])),ct(0x2,a[_0x3a3cba(0x4b4)](a['LocaleService']))],Ye);var lr=Object[_0x3a3cba(0x5d1)],hr=Object['getOwnPropertyDescriptor'],_r=(_0x37263d,_0x29beed,_0x7d68ed,_0x3cb18c)=>{const _0x2fa566=_0x3a3cba;for(var _0x2b2df9=_0x3cb18c>0x1?void 0x0:_0x3cb18c?hr(_0x29beed,_0x7d68ed):_0x29beed,_0x427317=_0x37263d[_0x2fa566(0x16b)]-0x1,_0x3824f4;_0x427317>=0x0;_0x427317--)(_0x3824f4=_0x37263d[_0x427317])&&(_0x2b2df9=(_0x3cb18c?_0x3824f4(_0x29beed,_0x7d68ed,_0x2b2df9):_0x3824f4(_0x2b2df9))||_0x2b2df9);return _0x3cb18c&&_0x2b2df9&&lr(_0x29beed,_0x7d68ed,_0x2b2df9),_0x2b2df9;},Gt=(_0x221f19,_0x1f42d4)=>(_0x210d71,_0x1fa82e)=>_0x1f42d4(_0x210d71,_0x1fa82e,_0x221f19);const Ut='AUTHZ_URL_KEY',ur=_0x3a3cba(0x21b);exports[_0x3a3cba(0x2fc)]=class extends a[_0x3a3cba(0x28a)]{constructor(_0x4fbad7,_0x54b6d5){const _0x2e5ba6=_0x3a3cba;super(),this['_HTTPService']=_0x4fbad7,this[_0x2e5ba6(0x4d1)]=_0x54b6d5,this[_0x2e5ba6(0x4ae)]();}[_0x3a3cba(0x4ae)](){const _0x49f975=_0x3a3cba,_0x51dae6=this;this[_0x49f975(0x5e6)](this[_0x49f975(0x3d7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x49f975(0x27d)]({'isMatch'(_0x3097ae){const _0x22337a=_0x49f975;var _0x1ead5e;if(_0x3097ae['method']==='POST'&&((_0x1ead5e=_0x3097ae[_0x22337a(0x523)])!=null&&_0x1ead5e[_0x22337a(0x4eb)])){const {objectID:_0x4fcd8d,objectType:_0x313aa2}=_0x3097ae[_0x22337a(0x523)][_0x22337a(0x4eb)]||{};if(!_0x4fcd8d||_0x313aa2===void 0x0)return!0x1;const _0x182beb=_0x51dae6['_getAPIPrefixPath']()+'/'+_0x313aa2+_0x22337a(0x3d2)+_0x4fcd8d+_0x22337a(0x317);if(_0x3097ae['url']===_0x182beb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x35cf4f){const _0x1b2850=_0x49f975;var _0x19d917;return(_0x19d917=_0x35cf4f['requestParams'])==null?void 0x0:_0x19d917[_0x1b2850(0x4eb)];},'mergeParamsToRequest'(_0x57e8d7,_0x381df4){const _0x279825=_0x49f975,_0x1a28ca=_0x51dae6['_getAPIPrefixPath']()+_0x279825(0x185),_0x1bcb94=_0x57e8d7[_0x279825(0x45c)]((_0x230603,_0xb2d7c2)=>{const _0x6e1d0d=_0x279825,{unitID:_0x42abe1,objectID:_0x49c188,objectType:_0x6386d9,actions:_0x191bf9}=_0xb2d7c2;return _0x230603[_0x42abe1]||(_0x230603[_0x42abe1]={}),_0x230603[_0x42abe1][_0x49c188]||(_0x230603[_0x42abe1][_0x49c188]={'objectID':_0x49c188,'objectType':_0x6386d9,'actions':[]}),_0x230603[_0x42abe1][_0x49c188][_0x6e1d0d(0x369)][_0x6e1d0d(0x31b)](..._0x191bf9),_0x230603;},{}),_0x5c92a4=[];for(const _0x4b5f03 in _0x1bcb94)for(const _0x319e7b in _0x1bcb94[_0x4b5f03]){const {actions:_0x2ad691,objectType:_0x3ba9d3}=_0x1bcb94[_0x4b5f03][_0x319e7b],_0x398e42=[...new Set(_0x2ad691)];_0x5c92a4[_0x279825(0x31b)]({'unitID':_0x4b5f03,'objectID':_0x319e7b,'objectType':_0x3ba9d3,'actions':_0x398e42});}return new z[(_0x279825(0x499))](_0x279825(0x154),_0x1a28ca,{'headers':_0x381df4[_0x279825(0x3df)],'withCredentials':_0x381df4[_0x279825(0x4f4)],'responseType':_0x381df4[_0x279825(0x579)],'body':{'requests':_0x5c92a4}});}},{'distributeResult'(_0x359975,_0x2fb16a){const _0x3201a9=_0x49f975,{objectActions:_0x2558be}=_0x359975;return _0x2fb16a[_0x3201a9(0x53a)](_0x1c7e0d=>{const _0x370bb1=_0x3201a9,{unitID:_0x447b83,objectID:_0x30e27b,actions:_0x1e214f}=_0x1c7e0d,_0xd08f29=_0x2558be[_0x370bb1(0x3cd)](_0x36c038=>_0x36c038[_0x370bb1(0x40b)]===_0x447b83&&_0x36c038[_0x370bb1(0x4f1)]===_0x30e27b),_0xb6e71=_0x1e214f[_0x370bb1(0x53a)](_0x2de4d0=>_0xd08f29==null?void 0x0:_0xd08f29[_0x370bb1(0x369)][_0x370bb1(0x3cd)](_0x24ee33=>_0x24ee33[_0x370bb1(0x218)]===_0x2de4d0))['filter'](_0x3d5988=>!!_0x3d5988);return{'config':_0x1c7e0d,'result':{'actions':_0xb6e71,'error':_0x359975[_0x370bb1(0x2e5)]}};});}})}));}[_0x3a3cba(0x138)](){const _0x21b1d9=_0x3a3cba;var _0x43d32e,_0x5e4ce8;const _0x57c9b7=this['_configService'][_0x21b1d9(0x3cc)](Ut),_0x989520=this['_configService']['getConfig'](Q);return(_0x5e4ce8=(_0x43d32e=_0x989520==null?void 0x0:_0x989520['authzUrl'])!=null?_0x43d32e:_0x57c9b7)!=null?_0x5e4ce8:ur;}async['create'](_0x150b1e){const _0x3d1737=_0x3a3cba,_0x3e81cd=this[_0x3d1737(0x138)]()+'/'+_0x150b1e['objectType']+'/object';return(await this[_0x3d1737(0x3d7)]['post'](_0x3e81cd,{'body':_0x150b1e}))['body'][_0x3d1737(0x4f1)]||'';}async['list'](_0x29de6e){const _0x4987cf=_0x3a3cba,_0x2b1a04=this[_0x4987cf(0x138)]()+_0x4987cf(0x156);return(await this[_0x4987cf(0x3d7)][_0x4987cf(0x4e0)](_0x2b1a04,{'body':_0x29de6e}))[_0x4987cf(0x4eb)]['objects'];}async[_0x3a3cba(0x48d)](_0xc3edef){const _0x58795a=_0x3a3cba,_0x2ef5db=this[_0x58795a(0x138)]()+'/'+_0xc3edef[_0x58795a(0x2cc)]+_0x58795a(0x3d2)+_0xc3edef['objectID'];await this[_0x58795a(0x3d7)][_0x58795a(0x1fc)](_0x2ef5db,{'body':_0xc3edef});}async[_0x3a3cba(0x309)](_0x511091){const _0x145a32=_0x3a3cba,_0x22a2a8=this[_0x145a32(0x138)]()+'/'+_0x511091['objectType']+'/object/'+_0x511091[_0x145a32(0x4f1)]+_0x145a32(0x317);return(await this['_HTTPService'][_0x145a32(0x4e0)](_0x22a2a8,{'body':_0x511091}))[_0x145a32(0x4eb)][_0x145a32(0x369)];}async[_0x3a3cba(0x26d)](_0x3e7fc5){const _0x38c607=_0x3a3cba,_0x5e031c=this[_0x38c607(0x138)]()+'/-/object/-/batch_allowed';return(await this[_0x38c607(0x3d7)]['post'](_0x5e031c,{'body':{'requests':_0x3e7fc5}}))[_0x38c607(0x4eb)][_0x38c607(0x195)];}async['listRoles'](_0x1e920a){const _0x44764c=_0x3a3cba,_0x13718b=this['_getAPIPrefixPath']()+'/'+_0x1e920a[_0x44764c(0x2cc)]+'/role',_0x344837=await this['_HTTPService'][_0x44764c(0x4e0)](_0x13718b,{'body':_0x1e920a});return{'roles':_0x344837[_0x44764c(0x4eb)][_0x44764c(0x1fe)],'actions':_0x344837[_0x44764c(0x4eb)][_0x44764c(0x369)]};}async[_0x3a3cba(0x45e)](_0x115b65){const _0x205104=_0x3a3cba,_0x21efa7=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x205104(0x3d7)][_0x205104(0x26b)](_0x21efa7,{'params':{'collaboratorID':_0x115b65[_0x205104(0x540)],'objectID':_0x115b65[_0x205104(0x4f1)],'unitID':_0x115b65[_0x205104(0x40b)]}});}async[_0x3a3cba(0x2ee)](_0xbee5af){const _0xfdc17d=_0x3a3cba,_0x4a5876=this['_getAPIPrefixPath']()+_0xfdc17d(0x378);await this[_0xfdc17d(0x3d7)][_0xfdc17d(0x2a2)](_0x4a5876,{'body':_0xbee5af});}async[_0x3a3cba(0x1e8)](_0x281447){const _0xceacf1=_0x3a3cba,_0xeb701a=this[_0xceacf1(0x138)]()+'/collaborator';await this[_0xceacf1(0x3d7)][_0xceacf1(0x4e0)](_0xeb701a,{'body':_0x281447});}async[_0x3a3cba(0x1db)](_0x72329e){const _0x415ec2=_0x3a3cba,_0x17e7b7=this[_0x415ec2(0x138)]()+_0x415ec2(0x378);return(await this[_0x415ec2(0x3d7)][_0x415ec2(0x449)](_0x17e7b7,{'params':{'objectID':_0x72329e['objectID'],'unitID':_0x72329e['unitID']}}))[_0x415ec2(0x4eb)]['collaborators'];}async[_0x3a3cba(0x4fe)](_0x29f22e){const _0x50b13b=_0x3a3cba,_0x4e1541=this['_getAPIPrefixPath']()+_0x50b13b(0x378);await this[_0x50b13b(0x3d7)][_0x50b13b(0x1fc)](_0x4e1541,{'body':_0x29f22e});}},exports['AuthzIoHttpService']=_r([Gt(0x0,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)])),Gt(0x1,a['Inject'](a[_0x3a3cba(0x311)]))],exports[_0x3a3cba(0x2fc)]);var Di={'exports':{}};function dr(_0xc03937){const _0x325415=_0x3a3cba;throw new Error(_0x325415(0x513)+_0xc03937+_0x325415(0x3b8));}var lt={'exports':{}},Yt;function oe(){const _0x37a7ba=_0x3a3cba;return Yt||(Yt=0x1,function(_0x19ac36,_0x23c311){(function(_0x291f4a,_0x3a772d){const _0x4579b3=_0x131b;_0x19ac36[_0x4579b3(0x5e4)]=_0x3a772d();}(Z,function(){var _0x566c19=_0x566c19||function(_0xcc201f,_0x56ab62){const _0x4133bc=_0x131b;var _0x448c77;if(typeof window<'u'&&window[_0x4133bc(0x54a)]&&(_0x448c77=window[_0x4133bc(0x54a)]),typeof self<'u'&&self[_0x4133bc(0x54a)]&&(_0x448c77=self[_0x4133bc(0x54a)]),typeof globalThis<'u'&&globalThis[_0x4133bc(0x54a)]&&(_0x448c77=globalThis[_0x4133bc(0x54a)]),!_0x448c77&&typeof window<'u'&&window[_0x4133bc(0x4bb)]&&(_0x448c77=window[_0x4133bc(0x4bb)]),!_0x448c77&&typeof Z<'u'&&Z[_0x4133bc(0x54a)]&&(_0x448c77=Z[_0x4133bc(0x54a)]),!_0x448c77&&typeof dr==_0x4133bc(0x1d8))try{_0x448c77=require(_0x4133bc(0x54a));}catch{}var _0x6cf2dd=function(){const _0x116f61=_0x4133bc;if(_0x448c77){if(typeof _0x448c77[_0x116f61(0x547)]==_0x116f61(0x1d8))try{return _0x448c77[_0x116f61(0x547)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x448c77[_0x116f61(0x589)]==_0x116f61(0x1d8))try{return _0x448c77[_0x116f61(0x589)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x116f61(0x5d3));},_0xbb4280=Object['create']||(function(){function _0x16443d(){}return function(_0x3914c0){const _0x53cfdf=_0x131b;var _0x381931;return _0x16443d['prototype']=_0x3914c0,_0x381931=new _0x16443d(),_0x16443d[_0x53cfdf(0x2d8)]=null,_0x381931;};}()),_0xc1535b={},_0x5146d0=_0xc1535b[_0x4133bc(0x537)]={},_0x530102=_0x5146d0[_0x4133bc(0x409)]=(function(){return{'extend':function(_0x3f0a28){const _0x17bdb3=_0x131b;var _0x5f138e=_0xbb4280(this);return _0x3f0a28&&_0x5f138e['mixIn'](_0x3f0a28),(!_0x5f138e[_0x17bdb3(0x238)]('init')||this[_0x17bdb3(0x16a)]===_0x5f138e[_0x17bdb3(0x16a)])&&(_0x5f138e[_0x17bdb3(0x16a)]=function(){const _0x2b0653=_0x17bdb3;_0x5f138e[_0x2b0653(0x1f1)][_0x2b0653(0x16a)][_0x2b0653(0x49e)](this,arguments);}),_0x5f138e[_0x17bdb3(0x16a)][_0x17bdb3(0x2d8)]=_0x5f138e,_0x5f138e['$super']=this,_0x5f138e;},'create':function(){const _0x575602=_0x131b;var _0x1a5529=this[_0x575602(0x189)]();return _0x1a5529[_0x575602(0x16a)][_0x575602(0x49e)](_0x1a5529,arguments),_0x1a5529;},'init':function(){},'mixIn':function(_0x599e6f){const _0x26f8ba=_0x131b;for(var _0xf309be in _0x599e6f)_0x599e6f[_0x26f8ba(0x238)](_0xf309be)&&(this[_0xf309be]=_0x599e6f[_0xf309be]);_0x599e6f[_0x26f8ba(0x238)]('toString')&&(this['toString']=_0x599e6f[_0x26f8ba(0x2c4)]);},'clone':function(){return this['init']['prototype']['extend'](this);}};}()),_0x466683=_0x5146d0['WordArray']=_0x530102[_0x4133bc(0x189)]({'init':function(_0x5f09ba,_0x5111f6){const _0x5f2ef1=_0x4133bc;_0x5f09ba=this[_0x5f2ef1(0x34f)]=_0x5f09ba||[],_0x5111f6!=_0x56ab62?this[_0x5f2ef1(0x308)]=_0x5111f6:this['sigBytes']=_0x5f09ba[_0x5f2ef1(0x16b)]*0x4;},'toString':function(_0x3b5974){const _0x18d154=_0x4133bc;return(_0x3b5974||_0x2f280b)[_0x18d154(0x405)](this);},'concat':function(_0xca2a00){const _0x34eb97=_0x4133bc;var _0x4cac13=this[_0x34eb97(0x34f)],_0x4e6bc9=_0xca2a00['words'],_0x3bc88c=this[_0x34eb97(0x308)],_0x2b9d54=_0xca2a00['sigBytes'];if(this[_0x34eb97(0x2c1)](),_0x3bc88c%0x4)for(var _0x37cb8c=0x0;_0x37cb8c<_0x2b9d54;_0x37cb8c++){var _0x200a51=_0x4e6bc9[_0x37cb8c>>>0x2]>>>0x18-_0x37cb8c%0x4*0x8&0xff;_0x4cac13[_0x3bc88c+_0x37cb8c>>>0x2]|=_0x200a51<<0x18-(_0x3bc88c+_0x37cb8c)%0x4*0x8;}else{for(var _0x5491aa=0x0;_0x5491aa<_0x2b9d54;_0x5491aa+=0x4)_0x4cac13[_0x3bc88c+_0x5491aa>>>0x2]=_0x4e6bc9[_0x5491aa>>>0x2];}return this[_0x34eb97(0x308)]+=_0x2b9d54,this;},'clamp':function(){const _0x25da22=_0x4133bc;var _0x7edd54=this['words'],_0x3c7b68=this['sigBytes'];_0x7edd54[_0x3c7b68>>>0x2]&=0xffffffff<<0x20-_0x3c7b68%0x4*0x8,_0x7edd54[_0x25da22(0x16b)]=_0xcc201f['ceil'](_0x3c7b68/0x4);},'clone':function(){const _0x313332=_0x4133bc;var _0x3f465f=_0x530102[_0x313332(0x1f6)][_0x313332(0x4c9)](this);return _0x3f465f[_0x313332(0x34f)]=this[_0x313332(0x34f)]['slice'](0x0),_0x3f465f;},'random':function(_0x3ff619){const _0x2ef3e3=_0x4133bc;for(var _0xa7b76b=[],_0x191733=0x0;_0x191733<_0x3ff619;_0x191733+=0x4)_0xa7b76b[_0x2ef3e3(0x31b)](_0x6cf2dd());return new _0x466683[(_0x2ef3e3(0x16a))](_0xa7b76b,_0x3ff619);}}),_0x165487=_0xc1535b['enc']={},_0x2f280b=_0x165487[_0x4133bc(0x217)]={'stringify':function(_0x1b6377){const _0x495fe3=_0x4133bc;for(var _0x17de69=_0x1b6377[_0x495fe3(0x34f)],_0x547693=_0x1b6377[_0x495fe3(0x308)],_0x3c943c=[],_0x5f121f=0x0;_0x5f121f<_0x547693;_0x5f121f++){var _0xa4091e=_0x17de69[_0x5f121f>>>0x2]>>>0x18-_0x5f121f%0x4*0x8&0xff;_0x3c943c[_0x495fe3(0x31b)]((_0xa4091e>>>0x4)[_0x495fe3(0x2c4)](0x10)),_0x3c943c[_0x495fe3(0x31b)]((_0xa4091e&0xf)[_0x495fe3(0x2c4)](0x10));}return _0x3c943c['join']('');},'parse':function(_0x38af82){const _0x3d5850=_0x4133bc;for(var _0x3edbf1=_0x38af82[_0x3d5850(0x16b)],_0x254a29=[],_0x49d388=0x0;_0x49d388<_0x3edbf1;_0x49d388+=0x2)_0x254a29[_0x49d388>>>0x3]|=parseInt(_0x38af82['substr'](_0x49d388,0x2),0x10)<<0x18-_0x49d388%0x8*0x4;return new _0x466683['init'](_0x254a29,_0x3edbf1/0x2);}},_0xc8961=_0x165487[_0x4133bc(0x4e2)]={'stringify':function(_0x1d735d){const _0x3db790=_0x4133bc;for(var _0xbe00da=_0x1d735d[_0x3db790(0x34f)],_0x54bb12=_0x1d735d[_0x3db790(0x308)],_0x5e0e63=[],_0x4135be=0x0;_0x4135be<_0x54bb12;_0x4135be++){var _0x192913=_0xbe00da[_0x4135be>>>0x2]>>>0x18-_0x4135be%0x4*0x8&0xff;_0x5e0e63[_0x3db790(0x31b)](String['fromCharCode'](_0x192913));}return _0x5e0e63[_0x3db790(0x4ed)]('');},'parse':function(_0x14a26c){const _0x63b0d4=_0x4133bc;for(var _0x27646a=_0x14a26c[_0x63b0d4(0x16b)],_0x370dd7=[],_0x3dfff8=0x0;_0x3dfff8<_0x27646a;_0x3dfff8++)_0x370dd7[_0x3dfff8>>>0x2]|=(_0x14a26c['charCodeAt'](_0x3dfff8)&0xff)<<0x18-_0x3dfff8%0x4*0x8;return new _0x466683[(_0x63b0d4(0x16a))](_0x370dd7,_0x27646a);}},_0x4f6ff3=_0x165487[_0x4133bc(0x3ef)]={'stringify':function(_0x485294){const _0x3ed037=_0x4133bc;try{return decodeURIComponent(escape(_0xc8961[_0x3ed037(0x405)](_0x485294)));}catch{throw new Error(_0x3ed037(0x255));}},'parse':function(_0x1e150b){const _0x3df963=_0x4133bc;return _0xc8961[_0x3df963(0x526)](unescape(encodeURIComponent(_0x1e150b)));}},_0x2b348c=_0x5146d0[_0x4133bc(0x2fe)]=_0x530102[_0x4133bc(0x189)]({'reset':function(){const _0x1953e0=_0x4133bc;this[_0x1953e0(0x40c)]=new _0x466683[(_0x1953e0(0x16a))](),this[_0x1953e0(0x161)]=0x0;},'_append':function(_0x3e8b6f){const _0x44a594=_0x4133bc;typeof _0x3e8b6f==_0x44a594(0x554)&&(_0x3e8b6f=_0x4f6ff3[_0x44a594(0x526)](_0x3e8b6f)),this[_0x44a594(0x40c)][_0x44a594(0x447)](_0x3e8b6f),this[_0x44a594(0x161)]+=_0x3e8b6f[_0x44a594(0x308)];},'_process':function(_0x3b5864){const _0x56a40d=_0x4133bc;var _0x4b9878,_0x2b511f=this[_0x56a40d(0x40c)],_0x1f0c93=_0x2b511f['words'],_0x2edabe=_0x2b511f['sigBytes'],_0x4ed01a=this['blockSize'],_0x4b3601=_0x4ed01a*0x4,_0x1c6548=_0x2edabe/_0x4b3601;_0x3b5864?_0x1c6548=_0xcc201f['ceil'](_0x1c6548):_0x1c6548=_0xcc201f['max']((_0x1c6548|0x0)-this['_minBufferSize'],0x0);var _0x54b3d1=_0x1c6548*_0x4ed01a,_0x48e4ae=_0xcc201f[_0x56a40d(0x15c)](_0x54b3d1*0x4,_0x2edabe);if(_0x54b3d1){for(var _0x565879=0x0;_0x565879<_0x54b3d1;_0x565879+=_0x4ed01a)this[_0x56a40d(0x2c6)](_0x1f0c93,_0x565879);_0x4b9878=_0x1f0c93[_0x56a40d(0x3c2)](0x0,_0x54b3d1),_0x2b511f[_0x56a40d(0x308)]-=_0x48e4ae;}return new _0x466683[(_0x56a40d(0x16a))](_0x4b9878,_0x48e4ae);},'clone':function(){const _0x4b8bd8=_0x4133bc;var _0xe5514f=_0x530102[_0x4b8bd8(0x1f6)][_0x4b8bd8(0x4c9)](this);return _0xe5514f[_0x4b8bd8(0x40c)]=this[_0x4b8bd8(0x40c)]['clone'](),_0xe5514f;},'_minBufferSize':0x0});_0x5146d0[_0x4133bc(0x3b5)]=_0x2b348c[_0x4133bc(0x189)]({'cfg':_0x530102[_0x4133bc(0x189)](),'init':function(_0x4c1b85){const _0x3edae2=_0x4133bc;this[_0x3edae2(0x31e)]=this['cfg'][_0x3edae2(0x189)](_0x4c1b85),this['reset']();},'reset':function(){const _0x69c160=_0x4133bc;_0x2b348c[_0x69c160(0x5c0)]['call'](this),this['_doReset']();},'update':function(_0xc635da){const _0x495a55=_0x4133bc;return this[_0x495a55(0x18e)](_0xc635da),this[_0x495a55(0x3e3)](),this;},'finalize':function(_0x26c68f){const _0x49642d=_0x4133bc;_0x26c68f&&this[_0x49642d(0x18e)](_0x26c68f);var _0x2f2bb2=this['_doFinalize']();return _0x2f2bb2;},'blockSize':0x10,'_createHelper':function(_0x37560b){return function(_0x5024fa,_0x10eeca){const _0x1dc590=_0x131b;return new _0x37560b[(_0x1dc590(0x16a))](_0x10eeca)[_0x1dc590(0x4c0)](_0x5024fa);};},'_createHmacHelper':function(_0x1d05f0){return function(_0x51c72e,_0x984df3){const _0x203c7c=_0x131b;return new _0x2cc415['HMAC'][(_0x203c7c(0x16a))](_0x1d05f0,_0x984df3)[_0x203c7c(0x4c0)](_0x51c72e);};}});var _0x2cc415=_0xc1535b['algo']={};return _0xc1535b;}(Math);return _0x566c19;}));}(lt)),lt[_0x37a7ba(0x5e4)];}var ht={'exports':{}},Kt;function Pi(){const _0x2c691a=_0x3a3cba;return Kt||(Kt=0x1,function(_0x58f948,_0x1e00d7){(function(_0x3f8685,_0x274dc3){const _0x22b963=_0x131b;_0x58f948[_0x22b963(0x5e4)]=_0x274dc3(oe());}(Z,function(_0xcab8d6){const _0x5afb50=_0x131b;return(function(){const _0x9c2c3a=_0x131b;var _0x4d7242=_0xcab8d6,_0x5f3de0=_0x4d7242[_0x9c2c3a(0x537)],_0x4f604c=_0x5f3de0['WordArray'],_0x488e7b=_0x4d7242[_0x9c2c3a(0x3d6)];_0x488e7b[_0x9c2c3a(0x5ef)]={'stringify':function(_0x48b77b){const _0x11fb2c=_0x9c2c3a;var _0x26cb33=_0x48b77b['words'],_0x303f47=_0x48b77b[_0x11fb2c(0x308)],_0x148630=this[_0x11fb2c(0x2ca)];_0x48b77b[_0x11fb2c(0x2c1)]();for(var _0x4e957f=[],_0x3e957b=0x0;_0x3e957b<_0x303f47;_0x3e957b+=0x3)for(var _0x3b452c=_0x26cb33[_0x3e957b>>>0x2]>>>0x18-_0x3e957b%0x4*0x8&0xff,_0x48e226=_0x26cb33[_0x3e957b+0x1>>>0x2]>>>0x18-(_0x3e957b+0x1)%0x4*0x8&0xff,_0x319061=_0x26cb33[_0x3e957b+0x2>>>0x2]>>>0x18-(_0x3e957b+0x2)%0x4*0x8&0xff,_0x3046db=_0x3b452c<<0x10|_0x48e226<<0x8|_0x319061,_0x2e1415=0x0;_0x2e1415<0x4&&_0x3e957b+_0x2e1415*0.75<_0x303f47;_0x2e1415++)_0x4e957f[_0x11fb2c(0x31b)](_0x148630['charAt'](_0x3046db>>>0x6*(0x3-_0x2e1415)&0x3f));var _0x3912e5=_0x148630['charAt'](0x40);if(_0x3912e5){for(;_0x4e957f['length']%0x4;)_0x4e957f[_0x11fb2c(0x31b)](_0x3912e5);}return _0x4e957f[_0x11fb2c(0x4ed)]('');},'parse':function(_0x4a641a){const _0x475b01=_0x9c2c3a;var _0x55da96=_0x4a641a[_0x475b01(0x16b)],_0x46c8d0=this[_0x475b01(0x2ca)],_0x257006=this[_0x475b01(0x48c)];if(!_0x257006){_0x257006=this[_0x475b01(0x48c)]=[];for(var _0x5dc0b7=0x0;_0x5dc0b7<_0x46c8d0[_0x475b01(0x16b)];_0x5dc0b7++)_0x257006[_0x46c8d0[_0x475b01(0x29a)](_0x5dc0b7)]=_0x5dc0b7;}var _0x3b7b39=_0x46c8d0[_0x475b01(0x4f5)](0x40);if(_0x3b7b39){var _0x581d23=_0x4a641a[_0x475b01(0x12d)](_0x3b7b39);_0x581d23!==-0x1&&(_0x55da96=_0x581d23);}return _0x4aae56(_0x4a641a,_0x55da96,_0x257006);},'_map':_0x9c2c3a(0x495)};function _0x4aae56(_0x146011,_0x436bb3,_0x35cbdd){const _0x147cde=_0x9c2c3a;for(var _0x27b532=[],_0xaada9e=0x0,_0x1eb7c0=0x0;_0x1eb7c0<_0x436bb3;_0x1eb7c0++)if(_0x1eb7c0%0x4){var _0x537928=_0x35cbdd[_0x146011[_0x147cde(0x29a)](_0x1eb7c0-0x1)]<<_0x1eb7c0%0x4*0x2,_0x70606f=_0x35cbdd[_0x146011['charCodeAt'](_0x1eb7c0)]>>>0x6-_0x1eb7c0%0x4*0x2,_0x258909=_0x537928|_0x70606f;_0x27b532[_0xaada9e>>>0x2]|=_0x258909<<0x18-_0xaada9e%0x4*0x8,_0xaada9e++;}return _0x4f604c[_0x147cde(0x173)](_0x27b532,_0xaada9e);}}()),_0xcab8d6[_0x5afb50(0x3d6)][_0x5afb50(0x5ef)];}));}(ht)),ht[_0x2c691a(0x5e4)];}var _t={'exports':{}},qt;function fr(){const _0x204198=_0x3a3cba;return qt||(qt=0x1,function(_0x4e1506,_0x355e0c){(function(_0x34c872,_0x5b917f){const _0x50a3c8=_0x131b;_0x4e1506[_0x50a3c8(0x5e4)]=_0x5b917f(oe());}(Z,function(_0x4b8f4e){const _0x226dc4=_0x131b;return function(_0xb5e668){const _0x437e9d=_0x131b;var _0x2a875f=_0x4b8f4e,_0x466fac=_0x2a875f[_0x437e9d(0x537)],_0x5f48b2=_0x466fac[_0x437e9d(0x349)],_0x91172e=_0x466fac[_0x437e9d(0x3b5)],_0xc2e49a=_0x2a875f['algo'],_0x54acc6=[];(function(){const _0xc159bf=_0x437e9d;for(var _0x1d72ee=0x0;_0x1d72ee<0x40;_0x1d72ee++)_0x54acc6[_0x1d72ee]=_0xb5e668['abs'](_0xb5e668[_0xc159bf(0x38f)](_0x1d72ee+0x1))*0x100000000|0x0;}());var _0x188429=_0xc2e49a['MD5']=_0x91172e[_0x437e9d(0x189)]({'_doReset':function(){const _0x5ee91c=_0x437e9d;this['_hash']=new _0x5f48b2[(_0x5ee91c(0x16a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f77fe,_0x3a5c9c){const _0x497be1=_0x437e9d;for(var _0x14ebba=0x0;_0x14ebba<0x10;_0x14ebba++){var _0x5e0980=_0x3a5c9c+_0x14ebba,_0x19a9ed=_0x1f77fe[_0x5e0980];_0x1f77fe[_0x5e0980]=(_0x19a9ed<<0x8|_0x19a9ed>>>0x18)&0xff00ff|(_0x19a9ed<<0x18|_0x19a9ed>>>0x8)&0xff00ff00;}var _0x29e584=this[_0x497be1(0x371)][_0x497be1(0x34f)],_0x1d5579=_0x1f77fe[_0x3a5c9c+0x0],_0x29768c=_0x1f77fe[_0x3a5c9c+0x1],_0x3529d9=_0x1f77fe[_0x3a5c9c+0x2],_0x5f1cf8=_0x1f77fe[_0x3a5c9c+0x3],_0x3dcf7d=_0x1f77fe[_0x3a5c9c+0x4],_0x49afc6=_0x1f77fe[_0x3a5c9c+0x5],_0x3fc340=_0x1f77fe[_0x3a5c9c+0x6],_0x179bad=_0x1f77fe[_0x3a5c9c+0x7],_0x212cd5=_0x1f77fe[_0x3a5c9c+0x8],_0x41f12c=_0x1f77fe[_0x3a5c9c+0x9],_0x4fbcfd=_0x1f77fe[_0x3a5c9c+0xa],_0xbf3e49=_0x1f77fe[_0x3a5c9c+0xb],_0x44304d=_0x1f77fe[_0x3a5c9c+0xc],_0x2b5427=_0x1f77fe[_0x3a5c9c+0xd],_0x13d38a=_0x1f77fe[_0x3a5c9c+0xe],_0x53e5c3=_0x1f77fe[_0x3a5c9c+0xf],_0x257e57=_0x29e584[0x0],_0x2c415a=_0x29e584[0x1],_0x4734da=_0x29e584[0x2],_0x448a5b=_0x29e584[0x3];_0x257e57=_0x5ab02f(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x1d5579,0x7,_0x54acc6[0x0]),_0x448a5b=_0x5ab02f(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x29768c,0xc,_0x54acc6[0x1]),_0x4734da=_0x5ab02f(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x3529d9,0x11,_0x54acc6[0x2]),_0x2c415a=_0x5ab02f(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x5f1cf8,0x16,_0x54acc6[0x3]),_0x257e57=_0x5ab02f(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x3dcf7d,0x7,_0x54acc6[0x4]),_0x448a5b=_0x5ab02f(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x49afc6,0xc,_0x54acc6[0x5]),_0x4734da=_0x5ab02f(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x3fc340,0x11,_0x54acc6[0x6]),_0x2c415a=_0x5ab02f(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x179bad,0x16,_0x54acc6[0x7]),_0x257e57=_0x5ab02f(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x212cd5,0x7,_0x54acc6[0x8]),_0x448a5b=_0x5ab02f(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x41f12c,0xc,_0x54acc6[0x9]),_0x4734da=_0x5ab02f(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x4fbcfd,0x11,_0x54acc6[0xa]),_0x2c415a=_0x5ab02f(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0xbf3e49,0x16,_0x54acc6[0xb]),_0x257e57=_0x5ab02f(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x44304d,0x7,_0x54acc6[0xc]),_0x448a5b=_0x5ab02f(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x2b5427,0xc,_0x54acc6[0xd]),_0x4734da=_0x5ab02f(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x13d38a,0x11,_0x54acc6[0xe]),_0x2c415a=_0x5ab02f(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x53e5c3,0x16,_0x54acc6[0xf]),_0x257e57=_0x252493(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x29768c,0x5,_0x54acc6[0x10]),_0x448a5b=_0x252493(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x3fc340,0x9,_0x54acc6[0x11]),_0x4734da=_0x252493(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0xbf3e49,0xe,_0x54acc6[0x12]),_0x2c415a=_0x252493(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x1d5579,0x14,_0x54acc6[0x13]),_0x257e57=_0x252493(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x49afc6,0x5,_0x54acc6[0x14]),_0x448a5b=_0x252493(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x4fbcfd,0x9,_0x54acc6[0x15]),_0x4734da=_0x252493(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x53e5c3,0xe,_0x54acc6[0x16]),_0x2c415a=_0x252493(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x3dcf7d,0x14,_0x54acc6[0x17]),_0x257e57=_0x252493(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x41f12c,0x5,_0x54acc6[0x18]),_0x448a5b=_0x252493(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x13d38a,0x9,_0x54acc6[0x19]),_0x4734da=_0x252493(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x5f1cf8,0xe,_0x54acc6[0x1a]),_0x2c415a=_0x252493(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x212cd5,0x14,_0x54acc6[0x1b]),_0x257e57=_0x252493(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x2b5427,0x5,_0x54acc6[0x1c]),_0x448a5b=_0x252493(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x3529d9,0x9,_0x54acc6[0x1d]),_0x4734da=_0x252493(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x179bad,0xe,_0x54acc6[0x1e]),_0x2c415a=_0x252493(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x44304d,0x14,_0x54acc6[0x1f]),_0x257e57=_0x47b754(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x49afc6,0x4,_0x54acc6[0x20]),_0x448a5b=_0x47b754(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x212cd5,0xb,_0x54acc6[0x21]),_0x4734da=_0x47b754(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0xbf3e49,0x10,_0x54acc6[0x22]),_0x2c415a=_0x47b754(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x13d38a,0x17,_0x54acc6[0x23]),_0x257e57=_0x47b754(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x29768c,0x4,_0x54acc6[0x24]),_0x448a5b=_0x47b754(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x3dcf7d,0xb,_0x54acc6[0x25]),_0x4734da=_0x47b754(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x179bad,0x10,_0x54acc6[0x26]),_0x2c415a=_0x47b754(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x4fbcfd,0x17,_0x54acc6[0x27]),_0x257e57=_0x47b754(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x2b5427,0x4,_0x54acc6[0x28]),_0x448a5b=_0x47b754(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x1d5579,0xb,_0x54acc6[0x29]),_0x4734da=_0x47b754(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x5f1cf8,0x10,_0x54acc6[0x2a]),_0x2c415a=_0x47b754(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x3fc340,0x17,_0x54acc6[0x2b]),_0x257e57=_0x47b754(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x41f12c,0x4,_0x54acc6[0x2c]),_0x448a5b=_0x47b754(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x44304d,0xb,_0x54acc6[0x2d]),_0x4734da=_0x47b754(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x53e5c3,0x10,_0x54acc6[0x2e]),_0x2c415a=_0x47b754(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x3529d9,0x17,_0x54acc6[0x2f]),_0x257e57=_0xbfc06c(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x1d5579,0x6,_0x54acc6[0x30]),_0x448a5b=_0xbfc06c(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x179bad,0xa,_0x54acc6[0x31]),_0x4734da=_0xbfc06c(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x13d38a,0xf,_0x54acc6[0x32]),_0x2c415a=_0xbfc06c(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x49afc6,0x15,_0x54acc6[0x33]),_0x257e57=_0xbfc06c(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x44304d,0x6,_0x54acc6[0x34]),_0x448a5b=_0xbfc06c(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x5f1cf8,0xa,_0x54acc6[0x35]),_0x4734da=_0xbfc06c(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x4fbcfd,0xf,_0x54acc6[0x36]),_0x2c415a=_0xbfc06c(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x29768c,0x15,_0x54acc6[0x37]),_0x257e57=_0xbfc06c(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x212cd5,0x6,_0x54acc6[0x38]),_0x448a5b=_0xbfc06c(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0x53e5c3,0xa,_0x54acc6[0x39]),_0x4734da=_0xbfc06c(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x3fc340,0xf,_0x54acc6[0x3a]),_0x2c415a=_0xbfc06c(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x2b5427,0x15,_0x54acc6[0x3b]),_0x257e57=_0xbfc06c(_0x257e57,_0x2c415a,_0x4734da,_0x448a5b,_0x3dcf7d,0x6,_0x54acc6[0x3c]),_0x448a5b=_0xbfc06c(_0x448a5b,_0x257e57,_0x2c415a,_0x4734da,_0xbf3e49,0xa,_0x54acc6[0x3d]),_0x4734da=_0xbfc06c(_0x4734da,_0x448a5b,_0x257e57,_0x2c415a,_0x3529d9,0xf,_0x54acc6[0x3e]),_0x2c415a=_0xbfc06c(_0x2c415a,_0x4734da,_0x448a5b,_0x257e57,_0x41f12c,0x15,_0x54acc6[0x3f]),_0x29e584[0x0]=_0x29e584[0x0]+_0x257e57|0x0,_0x29e584[0x1]=_0x29e584[0x1]+_0x2c415a|0x0,_0x29e584[0x2]=_0x29e584[0x2]+_0x4734da|0x0,_0x29e584[0x3]=_0x29e584[0x3]+_0x448a5b|0x0;},'_doFinalize':function(){const _0x56b900=_0x437e9d;var _0x17b160=this[_0x56b900(0x40c)],_0x2ec4e9=_0x17b160[_0x56b900(0x34f)],_0x24021c=this[_0x56b900(0x161)]*0x8,_0x262020=_0x17b160[_0x56b900(0x308)]*0x8;_0x2ec4e9[_0x262020>>>0x5]|=0x80<<0x18-_0x262020%0x20;var _0xffffba=_0xb5e668[_0x56b900(0x3d8)](_0x24021c/0x100000000),_0x2b7ec1=_0x24021c;_0x2ec4e9[(_0x262020+0x40>>>0x9<<0x4)+0xf]=(_0xffffba<<0x8|_0xffffba>>>0x18)&0xff00ff|(_0xffffba<<0x18|_0xffffba>>>0x8)&0xff00ff00,_0x2ec4e9[(_0x262020+0x40>>>0x9<<0x4)+0xe]=(_0x2b7ec1<<0x8|_0x2b7ec1>>>0x18)&0xff00ff|(_0x2b7ec1<<0x18|_0x2b7ec1>>>0x8)&0xff00ff00,_0x17b160[_0x56b900(0x308)]=(_0x2ec4e9[_0x56b900(0x16b)]+0x1)*0x4,this[_0x56b900(0x3e3)]();for(var _0x246102=this[_0x56b900(0x371)],_0x1fceca=_0x246102[_0x56b900(0x34f)],_0x41f4b0=0x0;_0x41f4b0<0x4;_0x41f4b0++){var _0x16975b=_0x1fceca[_0x41f4b0];_0x1fceca[_0x41f4b0]=(_0x16975b<<0x8|_0x16975b>>>0x18)&0xff00ff|(_0x16975b<<0x18|_0x16975b>>>0x8)&0xff00ff00;}return _0x246102;},'clone':function(){const _0x450283=_0x437e9d;var _0x21086b=_0x91172e[_0x450283(0x1f6)]['call'](this);return _0x21086b[_0x450283(0x371)]=this['_hash'][_0x450283(0x1f6)](),_0x21086b;}});function _0x5ab02f(_0x506fc5,_0x54ed4a,_0x3910fa,_0x9c0a4f,_0x466d06,_0x5ad4e7,_0x4f0492){var _0x132305=_0x506fc5+(_0x54ed4a&_0x3910fa|~_0x54ed4a&_0x9c0a4f)+_0x466d06+_0x4f0492;return(_0x132305<<_0x5ad4e7|_0x132305>>>0x20-_0x5ad4e7)+_0x54ed4a;}function _0x252493(_0x126d47,_0x2d23ac,_0xea8407,_0x3fa4f5,_0x127082,_0x6a15c1,_0x36f00a){var _0x14df2a=_0x126d47+(_0x2d23ac&_0x3fa4f5|_0xea8407&~_0x3fa4f5)+_0x127082+_0x36f00a;return(_0x14df2a<<_0x6a15c1|_0x14df2a>>>0x20-_0x6a15c1)+_0x2d23ac;}function _0x47b754(_0x1ae732,_0x39848e,_0x517e06,_0x36aadc,_0x4fd662,_0x271ec6,_0x3b29be){var _0x2fe2d9=_0x1ae732+(_0x39848e^_0x517e06^_0x36aadc)+_0x4fd662+_0x3b29be;return(_0x2fe2d9<<_0x271ec6|_0x2fe2d9>>>0x20-_0x271ec6)+_0x39848e;}function _0xbfc06c(_0x2a3a88,_0x3d36f6,_0x3514c1,_0xb0a3b9,_0x283b77,_0x26ddd4,_0x9b0c20){var _0x39e207=_0x2a3a88+(_0x3514c1^(_0x3d36f6|~_0xb0a3b9))+_0x283b77+_0x9b0c20;return(_0x39e207<<_0x26ddd4|_0x39e207>>>0x20-_0x26ddd4)+_0x3d36f6;}_0x2a875f[_0x437e9d(0x25f)]=_0x91172e[_0x437e9d(0x1f0)](_0x188429),_0x2a875f[_0x437e9d(0x2cf)]=_0x91172e[_0x437e9d(0x5c2)](_0x188429);}(Math),_0x4b8f4e[_0x226dc4(0x25f)];}));}(_t)),_t[_0x204198(0x5e4)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){const _0x2a71b3=_0x3a3cba;return zt||(zt=0x1,function(_0x5667a5,_0x17e965){(function(_0x4ab8c8,_0x23de62){const _0x964141=_0x131b;_0x5667a5[_0x964141(0x5e4)]=_0x23de62(oe());}(Z,function(_0x565e3e){const _0x4681c0=_0x131b;return(function(){const _0x12e644=_0x131b;var _0x15d4c3=_0x565e3e,_0x398fb9=_0x15d4c3[_0x12e644(0x537)],_0x4dbae6=_0x398fb9[_0x12e644(0x349)],_0x37ce4c=_0x398fb9['Hasher'],_0x4db9b0=_0x15d4c3[_0x12e644(0x453)],_0x1441ca=[],_0xf9de0e=_0x4db9b0[_0x12e644(0x5cb)]=_0x37ce4c[_0x12e644(0x189)]({'_doReset':function(){const _0x3da61a=_0x12e644;this[_0x3da61a(0x371)]=new _0x4dbae6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5eeaca,_0x5d44c8){const _0x34d8c3=_0x12e644;for(var _0x5a8d97=this[_0x34d8c3(0x371)]['words'],_0x44ecb5=_0x5a8d97[0x0],_0x1adb0d=_0x5a8d97[0x1],_0x2f974b=_0x5a8d97[0x2],_0x373336=_0x5a8d97[0x3],_0xee202d=_0x5a8d97[0x4],_0x61315a=0x0;_0x61315a<0x50;_0x61315a++){if(_0x61315a<0x10)_0x1441ca[_0x61315a]=_0x5eeaca[_0x5d44c8+_0x61315a]|0x0;else{var _0x5c35eb=_0x1441ca[_0x61315a-0x3]^_0x1441ca[_0x61315a-0x8]^_0x1441ca[_0x61315a-0xe]^_0x1441ca[_0x61315a-0x10];_0x1441ca[_0x61315a]=_0x5c35eb<<0x1|_0x5c35eb>>>0x1f;}var _0x4d2169=(_0x44ecb5<<0x5|_0x44ecb5>>>0x1b)+_0xee202d+_0x1441ca[_0x61315a];_0x61315a<0x14?_0x4d2169+=(_0x1adb0d&_0x2f974b|~_0x1adb0d&_0x373336)+0x5a827999:_0x61315a<0x28?_0x4d2169+=(_0x1adb0d^_0x2f974b^_0x373336)+0x6ed9eba1:_0x61315a<0x3c?_0x4d2169+=(_0x1adb0d&_0x2f974b|_0x1adb0d&_0x373336|_0x2f974b&_0x373336)-0x70e44324:_0x4d2169+=(_0x1adb0d^_0x2f974b^_0x373336)-0x359d3e2a,_0xee202d=_0x373336,_0x373336=_0x2f974b,_0x2f974b=_0x1adb0d<<0x1e|_0x1adb0d>>>0x2,_0x1adb0d=_0x44ecb5,_0x44ecb5=_0x4d2169;}_0x5a8d97[0x0]=_0x5a8d97[0x0]+_0x44ecb5|0x0,_0x5a8d97[0x1]=_0x5a8d97[0x1]+_0x1adb0d|0x0,_0x5a8d97[0x2]=_0x5a8d97[0x2]+_0x2f974b|0x0,_0x5a8d97[0x3]=_0x5a8d97[0x3]+_0x373336|0x0,_0x5a8d97[0x4]=_0x5a8d97[0x4]+_0xee202d|0x0;},'_doFinalize':function(){const _0x15f104=_0x12e644;var _0x269af8=this[_0x15f104(0x40c)],_0x54147f=_0x269af8[_0x15f104(0x34f)],_0x41ca47=this[_0x15f104(0x161)]*0x8,_0x515522=_0x269af8['sigBytes']*0x8;return _0x54147f[_0x515522>>>0x5]|=0x80<<0x18-_0x515522%0x20,_0x54147f[(_0x515522+0x40>>>0x9<<0x4)+0xe]=Math[_0x15f104(0x3d8)](_0x41ca47/0x100000000),_0x54147f[(_0x515522+0x40>>>0x9<<0x4)+0xf]=_0x41ca47,_0x269af8[_0x15f104(0x308)]=_0x54147f['length']*0x4,this[_0x15f104(0x3e3)](),this[_0x15f104(0x371)];},'clone':function(){const _0x3d446d=_0x12e644;var _0x45a1a4=_0x37ce4c['clone'][_0x3d446d(0x4c9)](this);return _0x45a1a4[_0x3d446d(0x371)]=this[_0x3d446d(0x371)][_0x3d446d(0x1f6)](),_0x45a1a4;}});_0x15d4c3[_0x12e644(0x5cb)]=_0x37ce4c[_0x12e644(0x1f0)](_0xf9de0e),_0x15d4c3[_0x12e644(0x15e)]=_0x37ce4c[_0x12e644(0x5c2)](_0xf9de0e);}()),_0x565e3e[_0x4681c0(0x5cb)];}));}(dt)),dt[_0x2a71b3(0x5e4)];}var ft={'exports':{}},Xt;function Sr(){const _0x54caff=_0x3a3cba;return Xt||(Xt=0x1,function(_0x3f0bef,_0x357e98){(function(_0xb6d9a2,_0x53fc81){const _0x5e6d8c=_0x131b;_0x3f0bef[_0x5e6d8c(0x5e4)]=_0x53fc81(oe());}(Z,function(_0x2c0db7){(function(){const _0x43122d=_0x131b;var _0x26f156=_0x2c0db7,_0x4b448c=_0x26f156[_0x43122d(0x537)],_0x26a2bc=_0x4b448c['Base'],_0xecbd32=_0x26f156[_0x43122d(0x3d6)],_0x42041c=_0xecbd32[_0x43122d(0x3ef)],_0x3f8f98=_0x26f156[_0x43122d(0x453)];_0x3f8f98[_0x43122d(0x343)]=_0x26a2bc[_0x43122d(0x189)]({'init':function(_0x4a4049,_0x55cc2c){const _0x18ddcf=_0x43122d;_0x4a4049=this[_0x18ddcf(0x423)]=new _0x4a4049[(_0x18ddcf(0x16a))](),typeof _0x55cc2c=='string'&&(_0x55cc2c=_0x42041c[_0x18ddcf(0x526)](_0x55cc2c));var _0x17f141=_0x4a4049[_0x18ddcf(0x57f)],_0x4344f2=_0x17f141*0x4;_0x55cc2c[_0x18ddcf(0x308)]>_0x4344f2&&(_0x55cc2c=_0x4a4049[_0x18ddcf(0x4c0)](_0x55cc2c)),_0x55cc2c[_0x18ddcf(0x2c1)]();for(var _0x3315c6=this[_0x18ddcf(0x377)]=_0x55cc2c[_0x18ddcf(0x1f6)](),_0x7f2f78=this[_0x18ddcf(0x480)]=_0x55cc2c[_0x18ddcf(0x1f6)](),_0x51e155=_0x3315c6[_0x18ddcf(0x34f)],_0x482003=_0x7f2f78[_0x18ddcf(0x34f)],_0x5829c0=0x0;_0x5829c0<_0x17f141;_0x5829c0++)_0x51e155[_0x5829c0]^=0x5c5c5c5c,_0x482003[_0x5829c0]^=0x36363636;_0x3315c6[_0x18ddcf(0x308)]=_0x7f2f78[_0x18ddcf(0x308)]=_0x4344f2,this['reset']();},'reset':function(){const _0x13c942=_0x43122d;var _0x1fea61=this[_0x13c942(0x423)];_0x1fea61['reset'](),_0x1fea61['update'](this[_0x13c942(0x480)]);},'update':function(_0x4855bb){const _0x13d9d0=_0x43122d;return this[_0x13d9d0(0x423)]['update'](_0x4855bb),this;},'finalize':function(_0x538f3c){const _0x33f6b9=_0x43122d;var _0x39d4c9=this[_0x33f6b9(0x423)],_0x2aa69e=_0x39d4c9[_0x33f6b9(0x4c0)](_0x538f3c);_0x39d4c9[_0x33f6b9(0x5c0)]();var _0x4b181f=_0x39d4c9[_0x33f6b9(0x4c0)](this[_0x33f6b9(0x377)]['clone']()['concat'](_0x2aa69e));return _0x4b181f;}});}());}));}(ft)),ft[_0x54caff(0x5e4)];}var Jt;function wi(){const _0x1c3417=_0x3a3cba;return Jt||(Jt=0x1,function(_0x59f688,_0x2ae1e2){(function(_0x35b03c,_0xbd9323,_0x5565eb){_0x59f688['exports']=_0xbd9323(oe(),vr(),Sr());}(Z,function(_0x349600){const _0x3ef2cb=_0x131b;return(function(){const _0x4c4f17=_0x131b;var _0x262ea3=_0x349600,_0x26291b=_0x262ea3[_0x4c4f17(0x537)],_0x48fb09=_0x26291b[_0x4c4f17(0x409)],_0x2e0bdf=_0x26291b[_0x4c4f17(0x349)],_0x23c819=_0x262ea3[_0x4c4f17(0x453)],_0xdde1ba=_0x23c819['MD5'],_0x565f21=_0x23c819[_0x4c4f17(0x2af)]=_0x48fb09[_0x4c4f17(0x189)]({'cfg':_0x48fb09[_0x4c4f17(0x189)]({'keySize':0x80/0x20,'hasher':_0xdde1ba,'iterations':0x1}),'init':function(_0x17076e){const _0x4518a7=_0x4c4f17;this[_0x4518a7(0x31e)]=this['cfg'][_0x4518a7(0x189)](_0x17076e);},'compute':function(_0x48bc7d,_0x27aaaf){const _0xb93710=_0x4c4f17;for(var _0x62e0d0,_0x4e94ae=this['cfg'],_0x1027bc=_0x4e94ae[_0xb93710(0x1b9)]['create'](),_0x2f126e=_0x2e0bdf['create'](),_0x5f3826=_0x2f126e[_0xb93710(0x34f)],_0x35a40b=_0x4e94ae[_0xb93710(0x24a)],_0x51e7b5=_0x4e94ae[_0xb93710(0x476)];_0x5f3826[_0xb93710(0x16b)]<_0x35a40b;){_0x62e0d0&&_0x1027bc[_0xb93710(0x48d)](_0x62e0d0),_0x62e0d0=_0x1027bc[_0xb93710(0x48d)](_0x48bc7d)[_0xb93710(0x4c0)](_0x27aaaf),_0x1027bc[_0xb93710(0x5c0)]();for(var _0xf18033=0x1;_0xf18033<_0x51e7b5;_0xf18033++)_0x62e0d0=_0x1027bc[_0xb93710(0x4c0)](_0x62e0d0),_0x1027bc[_0xb93710(0x5c0)]();_0x2f126e[_0xb93710(0x447)](_0x62e0d0);}return _0x2f126e[_0xb93710(0x308)]=_0x35a40b*0x4,_0x2f126e;}});_0x262ea3[_0x4c4f17(0x2af)]=function(_0x2fd379,_0x3241a8,_0x475c70){const _0x1af825=_0x4c4f17;return _0x565f21[_0x1af825(0x173)](_0x475c70)['compute'](_0x2fd379,_0x3241a8);};}()),_0x349600[_0x3ef2cb(0x2af)];}));}(ut)),ut[_0x1c3417(0x5e4)];}var vt={'exports':{}},Zt;function Ui(){const _0x2c588c=_0x3a3cba;return Zt||(Zt=0x1,function(_0x340f7d,_0x59d3c4){(function(_0x194f5a,_0x1bcd7f,_0x51436a){const _0x452224=_0x131b;_0x340f7d[_0x452224(0x5e4)]=_0x1bcd7f(oe(),wi());}(Z,function(_0x27aeab){const _0x1266ed=_0x131b;_0x27aeab[_0x1266ed(0x537)][_0x1266ed(0x385)]||function(_0x3c0ca2){const _0x356285=_0x1266ed;var _0x2cc9e3=_0x27aeab,_0x1ed4eb=_0x2cc9e3[_0x356285(0x537)],_0x396902=_0x1ed4eb[_0x356285(0x409)],_0xbdb506=_0x1ed4eb['WordArray'],_0x72fda3=_0x1ed4eb['BufferedBlockAlgorithm'],_0x431e87=_0x2cc9e3['enc'];_0x431e87[_0x356285(0x3ef)];var _0x58b9e8=_0x431e87[_0x356285(0x5ef)],_0x20f158=_0x2cc9e3[_0x356285(0x453)],_0xbaf72f=_0x20f158[_0x356285(0x2af)],_0x89b91=_0x1ed4eb[_0x356285(0x385)]=_0x72fda3[_0x356285(0x189)]({'cfg':_0x396902[_0x356285(0x189)](),'createEncryptor':function(_0x26e108,_0xcf777a){const _0x589bb4=_0x356285;return this['create'](this[_0x589bb4(0x272)],_0x26e108,_0xcf777a);},'createDecryptor':function(_0xbc11d1,_0x39f295){const _0x299e62=_0x356285;return this[_0x299e62(0x173)](this[_0x299e62(0x2f3)],_0xbc11d1,_0x39f295);},'init':function(_0x3ccc73,_0x5c9ee2,_0xf2bfdb){const _0x22c6e2=_0x356285;this[_0x22c6e2(0x31e)]=this[_0x22c6e2(0x31e)][_0x22c6e2(0x189)](_0xf2bfdb),this[_0x22c6e2(0x427)]=_0x3ccc73,this[_0x22c6e2(0x1d4)]=_0x5c9ee2,this[_0x22c6e2(0x5c0)]();},'reset':function(){const _0x3e25fa=_0x356285;_0x72fda3['reset']['call'](this),this[_0x3e25fa(0x1a0)]();},'process':function(_0x5b29e1){const _0x353b5b=_0x356285;return this[_0x353b5b(0x18e)](_0x5b29e1),this[_0x353b5b(0x3e3)]();},'finalize':function(_0xed3362){const _0x5d055b=_0x356285;_0xed3362&&this[_0x5d055b(0x18e)](_0xed3362);var _0x7755a4=this['_doFinalize']();return _0x7755a4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4cbb13(_0xee4a4a){return typeof _0xee4a4a=='string'?_0x3f6996:_0x57f9f9;}return function(_0x55a106){return{'encrypt':function(_0x489e38,_0x5a9a1e,_0x39e568){return _0x4cbb13(_0x5a9a1e)['encrypt'](_0x55a106,_0x489e38,_0x5a9a1e,_0x39e568);},'decrypt':function(_0x1bb6e4,_0x573d23,_0x525478){const _0x4c05ef=_0x131b;return _0x4cbb13(_0x573d23)[_0x4c05ef(0x194)](_0x55a106,_0x1bb6e4,_0x573d23,_0x525478);}};};}())});_0x1ed4eb['StreamCipher']=_0x89b91[_0x356285(0x189)]({'_doFinalize':function(){const _0x5b2b3d=_0x356285;var _0x47bfe0=this[_0x5b2b3d(0x3e3)](!0x0);return _0x47bfe0;},'blockSize':0x1});var _0x36b45a=_0x2cc9e3['mode']={},_0x20cf1c=_0x1ed4eb[_0x356285(0x5e9)]=_0x396902['extend']({'createEncryptor':function(_0x28795c,_0xe1e735){const _0x18b0ea=_0x356285;return this[_0x18b0ea(0x2eb)][_0x18b0ea(0x173)](_0x28795c,_0xe1e735);},'createDecryptor':function(_0x2456d9,_0x1e3e44){const _0x544050=_0x356285;return this[_0x544050(0x4fb)][_0x544050(0x173)](_0x2456d9,_0x1e3e44);},'init':function(_0x306ff1,_0xe6e455){this['_cipher']=_0x306ff1,this['_iv']=_0xe6e455;}}),_0x5979d1=_0x36b45a['CBC']=(function(){const _0x2d46b2=_0x356285;var _0x2d8324=_0x20cf1c[_0x2d46b2(0x189)]();_0x2d8324[_0x2d46b2(0x2eb)]=_0x2d8324[_0x2d46b2(0x189)]({'processBlock':function(_0x4524e2,_0x44fb90){const _0x4e269b=_0x2d46b2;var _0x1c065c=this[_0x4e269b(0x535)],_0x4cbb0c=_0x1c065c[_0x4e269b(0x57f)];_0x26efda[_0x4e269b(0x4c9)](this,_0x4524e2,_0x44fb90,_0x4cbb0c),_0x1c065c['encryptBlock'](_0x4524e2,_0x44fb90),this['_prevBlock']=_0x4524e2[_0x4e269b(0x145)](_0x44fb90,_0x44fb90+_0x4cbb0c);}}),_0x2d8324['Decryptor']=_0x2d8324[_0x2d46b2(0x189)]({'processBlock':function(_0x3dbc2f,_0x255981){const _0x1a5055=_0x2d46b2;var _0x1aab0b=this[_0x1a5055(0x535)],_0x5e823f=_0x1aab0b[_0x1a5055(0x57f)],_0x4bb7b0=_0x3dbc2f[_0x1a5055(0x145)](_0x255981,_0x255981+_0x5e823f);_0x1aab0b[_0x1a5055(0x24f)](_0x3dbc2f,_0x255981),_0x26efda[_0x1a5055(0x4c9)](this,_0x3dbc2f,_0x255981,_0x5e823f),this[_0x1a5055(0x1a8)]=_0x4bb7b0;}});function _0x26efda(_0x9ee8f9,_0x3ac436,_0x1e95bf){const _0x52295f=_0x2d46b2;var _0x47cada,_0x31c461=this[_0x52295f(0x517)];_0x31c461?(_0x47cada=_0x31c461,this['_iv']=_0x3c0ca2):_0x47cada=this[_0x52295f(0x1a8)];for(var _0x3246a2=0x0;_0x3246a2<_0x1e95bf;_0x3246a2++)_0x9ee8f9[_0x3ac436+_0x3246a2]^=_0x47cada[_0x3246a2];}return _0x2d8324;}()),_0x4b3c3d=_0x2cc9e3[_0x356285(0x4ac)]={},_0x9e4466=_0x4b3c3d['Pkcs7']={'pad':function(_0x5241f6,_0x46b960){const _0x228859=_0x356285;for(var _0x5052cf=_0x46b960*0x4,_0x36b87d=_0x5052cf-_0x5241f6['sigBytes']%_0x5052cf,_0x59bd70=_0x36b87d<<0x18|_0x36b87d<<0x10|_0x36b87d<<0x8|_0x36b87d,_0xa38fa0=[],_0x546122=0x0;_0x546122<_0x36b87d;_0x546122+=0x4)_0xa38fa0['push'](_0x59bd70);var _0x3263b6=_0xbdb506[_0x228859(0x173)](_0xa38fa0,_0x36b87d);_0x5241f6[_0x228859(0x447)](_0x3263b6);},'unpad':function(_0x4465f6){const _0x213538=_0x356285;var _0x1e0b33=_0x4465f6['words'][_0x4465f6[_0x213538(0x308)]-0x1>>>0x2]&0xff;_0x4465f6[_0x213538(0x308)]-=_0x1e0b33;}};_0x1ed4eb[_0x356285(0x36c)]=_0x89b91[_0x356285(0x189)]({'cfg':_0x89b91[_0x356285(0x31e)][_0x356285(0x189)]({'mode':_0x5979d1,'padding':_0x9e4466}),'reset':function(){const _0x133983=_0x356285;var _0x5e6fee;_0x89b91['reset'][_0x133983(0x4c9)](this);var _0x44fd35=this['cfg'],_0x31c98f=_0x44fd35['iv'],_0x424208=_0x44fd35['mode'];this[_0x133983(0x427)]==this['_ENC_XFORM_MODE']?_0x5e6fee=_0x424208[_0x133983(0x15d)]:(_0x5e6fee=_0x424208[_0x133983(0x303)],this[_0x133983(0x165)]=0x1),this[_0x133983(0x3ed)]&&this[_0x133983(0x3ed)][_0x133983(0x5ce)]==_0x5e6fee?this[_0x133983(0x3ed)]['init'](this,_0x31c98f&&_0x31c98f[_0x133983(0x34f)]):(this[_0x133983(0x3ed)]=_0x5e6fee['call'](_0x424208,this,_0x31c98f&&_0x31c98f[_0x133983(0x34f)]),this[_0x133983(0x3ed)][_0x133983(0x5ce)]=_0x5e6fee);},'_doProcessBlock':function(_0x4c38b7,_0x27ef1d){const _0x491433=_0x356285;this[_0x491433(0x3ed)][_0x491433(0x457)](_0x4c38b7,_0x27ef1d);},'_doFinalize':function(){const _0x115129=_0x356285;var _0x3de2b4,_0x2040d4=this['cfg']['padding'];return this[_0x115129(0x427)]==this[_0x115129(0x272)]?(_0x2040d4[_0x115129(0x4ac)](this[_0x115129(0x40c)],this[_0x115129(0x57f)]),_0x3de2b4=this[_0x115129(0x3e3)](!0x0)):(_0x3de2b4=this[_0x115129(0x3e3)](!0x0),_0x2040d4[_0x115129(0x2db)](_0x3de2b4)),_0x3de2b4;},'blockSize':0x80/0x20});var _0x4f2449=_0x1ed4eb[_0x356285(0x274)]=_0x396902[_0x356285(0x189)]({'init':function(_0x26193f){const _0x1396a3=_0x356285;this[_0x1396a3(0x564)](_0x26193f);},'toString':function(_0x137c55){const _0x52f5d8=_0x356285;return(_0x137c55||this[_0x52f5d8(0x270)])[_0x52f5d8(0x405)](this);}}),_0x2da142=_0x2cc9e3[_0x356285(0x4f6)]={},_0x22f63d=_0x2da142[_0x356285(0x2b4)]={'stringify':function(_0x222448){const _0x29ba5f=_0x356285;var _0x5c77ae,_0x5d5c60=_0x222448[_0x29ba5f(0x3ad)],_0xaf216f=_0x222448[_0x29ba5f(0x2e0)];return _0xaf216f?_0x5c77ae=_0xbdb506[_0x29ba5f(0x173)]([0x53616c74,0x65645f5f])[_0x29ba5f(0x447)](_0xaf216f)[_0x29ba5f(0x447)](_0x5d5c60):_0x5c77ae=_0x5d5c60,_0x5c77ae['toString'](_0x58b9e8);},'parse':function(_0x5cc6f0){const _0x9703bd=_0x356285;var _0x263587,_0x1da9c1=_0x58b9e8[_0x9703bd(0x526)](_0x5cc6f0),_0x4638fe=_0x1da9c1[_0x9703bd(0x34f)];return _0x4638fe[0x0]==0x53616c74&&_0x4638fe[0x1]==0x65645f5f&&(_0x263587=_0xbdb506[_0x9703bd(0x173)](_0x4638fe[_0x9703bd(0x145)](0x2,0x4)),_0x4638fe[_0x9703bd(0x3c2)](0x0,0x4),_0x1da9c1[_0x9703bd(0x308)]-=0x10),_0x4f2449[_0x9703bd(0x173)]({'ciphertext':_0x1da9c1,'salt':_0x263587});}},_0x57f9f9=_0x1ed4eb['SerializableCipher']=_0x396902[_0x356285(0x189)]({'cfg':_0x396902['extend']({'format':_0x22f63d}),'encrypt':function(_0x3d5eec,_0x24419f,_0x135f5c,_0x499694){const _0x4fc371=_0x356285;_0x499694=this[_0x4fc371(0x31e)][_0x4fc371(0x189)](_0x499694);var _0x6d6e4a=_0x3d5eec['createEncryptor'](_0x135f5c,_0x499694),_0x8a9d20=_0x6d6e4a[_0x4fc371(0x4c0)](_0x24419f),_0x57b57d=_0x6d6e4a[_0x4fc371(0x31e)];return _0x4f2449['create']({'ciphertext':_0x8a9d20,'key':_0x135f5c,'iv':_0x57b57d['iv'],'algorithm':_0x3d5eec,'mode':_0x57b57d['mode'],'padding':_0x57b57d[_0x4fc371(0x548)],'blockSize':_0x3d5eec['blockSize'],'formatter':_0x499694['format']});},'decrypt':function(_0x482712,_0x38b268,_0x51fbd3,_0x47f865){const _0x2e2f5b=_0x356285;_0x47f865=this[_0x2e2f5b(0x31e)][_0x2e2f5b(0x189)](_0x47f865),_0x38b268=this[_0x2e2f5b(0x325)](_0x38b268,_0x47f865['format']);var _0x46f6fe=_0x482712[_0x2e2f5b(0x303)](_0x51fbd3,_0x47f865)['finalize'](_0x38b268[_0x2e2f5b(0x3ad)]);return _0x46f6fe;},'_parse':function(_0x43aab7,_0x122d7b){const _0x2d57bd=_0x356285;return typeof _0x43aab7==_0x2d57bd(0x554)?_0x122d7b[_0x2d57bd(0x526)](_0x43aab7,this):_0x43aab7;}}),_0xfecdd=_0x2cc9e3[_0x356285(0x130)]={},_0x269b4c=_0xfecdd[_0x356285(0x2b4)]={'execute':function(_0x31f64e,_0x50bebf,_0x18728a,_0x5be886,_0xd33ba5){const _0xe87d5d=_0x356285;if(_0x5be886||(_0x5be886=_0xbdb506[_0xe87d5d(0x14e)](0x40/0x8)),_0xd33ba5)var _0x480617=_0xbaf72f[_0xe87d5d(0x173)]({'keySize':_0x50bebf+_0x18728a,'hasher':_0xd33ba5})[_0xe87d5d(0x3f7)](_0x31f64e,_0x5be886);else var _0x480617=_0xbaf72f['create']({'keySize':_0x50bebf+_0x18728a})[_0xe87d5d(0x3f7)](_0x31f64e,_0x5be886);var _0x1e5dc1=_0xbdb506[_0xe87d5d(0x173)](_0x480617[_0xe87d5d(0x34f)]['slice'](_0x50bebf),_0x18728a*0x4);return _0x480617['sigBytes']=_0x50bebf*0x4,_0x4f2449['create']({'key':_0x480617,'iv':_0x1e5dc1,'salt':_0x5be886});}},_0x3f6996=_0x1ed4eb[_0x356285(0x389)]=_0x57f9f9[_0x356285(0x189)]({'cfg':_0x57f9f9[_0x356285(0x31e)][_0x356285(0x189)]({'kdf':_0x269b4c}),'encrypt':function(_0x456617,_0x4afef4,_0x83c5,_0x2ff876){const _0x5810e7=_0x356285;_0x2ff876=this[_0x5810e7(0x31e)][_0x5810e7(0x189)](_0x2ff876);var _0x4a8dce=_0x2ff876[_0x5810e7(0x130)]['execute'](_0x83c5,_0x456617['keySize'],_0x456617[_0x5810e7(0x1f4)],_0x2ff876[_0x5810e7(0x2e0)],_0x2ff876[_0x5810e7(0x1b9)]);_0x2ff876['iv']=_0x4a8dce['iv'];var _0x52a0b6=_0x57f9f9[_0x5810e7(0x32d)][_0x5810e7(0x4c9)](this,_0x456617,_0x4afef4,_0x4a8dce['key'],_0x2ff876);return _0x52a0b6[_0x5810e7(0x564)](_0x4a8dce),_0x52a0b6;},'decrypt':function(_0x28963d,_0x4e0151,_0x262e8c,_0x4d646b){const _0x331a6a=_0x356285;_0x4d646b=this[_0x331a6a(0x31e)][_0x331a6a(0x189)](_0x4d646b),_0x4e0151=this[_0x331a6a(0x325)](_0x4e0151,_0x4d646b[_0x331a6a(0x4f6)]);var _0x1937e3=_0x4d646b['kdf'][_0x331a6a(0x4c8)](_0x262e8c,_0x28963d['keySize'],_0x28963d[_0x331a6a(0x1f4)],_0x4e0151['salt'],_0x4d646b[_0x331a6a(0x1b9)]);_0x4d646b['iv']=_0x1937e3['iv'];var _0x363941=_0x57f9f9[_0x331a6a(0x194)]['call'](this,_0x28963d,_0x4e0151,_0x1937e3[_0x331a6a(0x249)],_0x4d646b);return _0x363941;}});}();}));}(vt)),vt[_0x2c588c(0x5e4)];}(function(_0x1249f9,_0x2db74a){(function(_0x25f9b3,_0x5a23da,_0x1dbdad){const _0x27541b=_0x131b;_0x1249f9[_0x27541b(0x5e4)]=_0x5a23da(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x5bf6e0){const _0x3756c0=_0x131b;return(function(){const _0x3c4064=_0x131b;var _0x22709e=_0x5bf6e0,_0x4ebf85=_0x22709e[_0x3c4064(0x537)],_0x2c93ac=_0x4ebf85['BlockCipher'],_0x2bea49=_0x22709e[_0x3c4064(0x453)],_0x4deb59=[],_0x218e38=[],_0x530e56=[],_0x19bae5=[],_0x268577=[],_0x4b39dc=[],_0xb9fd0b=[],_0x2e7316=[],_0x4090c2=[],_0x556f79=[];(function(){for(var _0x4d101d=[],_0xd2bdeb=0x0;_0xd2bdeb<0x100;_0xd2bdeb++)_0xd2bdeb<0x80?_0x4d101d[_0xd2bdeb]=_0xd2bdeb<<0x1:_0x4d101d[_0xd2bdeb]=_0xd2bdeb<<0x1^0x11b;for(var _0x566a94=0x0,_0x2ea674=0x0,_0xd2bdeb=0x0;_0xd2bdeb<0x100;_0xd2bdeb++){var _0x1f46b2=_0x2ea674^_0x2ea674<<0x1^_0x2ea674<<0x2^_0x2ea674<<0x3^_0x2ea674<<0x4;_0x1f46b2=_0x1f46b2>>>0x8^_0x1f46b2&0xff^0x63,_0x4deb59[_0x566a94]=_0x1f46b2,_0x218e38[_0x1f46b2]=_0x566a94;var _0x4088c6=_0x4d101d[_0x566a94],_0x4b1e9b=_0x4d101d[_0x4088c6],_0xe04a94=_0x4d101d[_0x4b1e9b],_0x3604ba=_0x4d101d[_0x1f46b2]*0x101^_0x1f46b2*0x1010100;_0x530e56[_0x566a94]=_0x3604ba<<0x18|_0x3604ba>>>0x8,_0x19bae5[_0x566a94]=_0x3604ba<<0x10|_0x3604ba>>>0x10,_0x268577[_0x566a94]=_0x3604ba<<0x8|_0x3604ba>>>0x18,_0x4b39dc[_0x566a94]=_0x3604ba;var _0x3604ba=_0xe04a94*0x1010101^_0x4b1e9b*0x10001^_0x4088c6*0x101^_0x566a94*0x1010100;_0xb9fd0b[_0x1f46b2]=_0x3604ba<<0x18|_0x3604ba>>>0x8,_0x2e7316[_0x1f46b2]=_0x3604ba<<0x10|_0x3604ba>>>0x10,_0x4090c2[_0x1f46b2]=_0x3604ba<<0x8|_0x3604ba>>>0x18,_0x556f79[_0x1f46b2]=_0x3604ba,_0x566a94?(_0x566a94=_0x4088c6^_0x4d101d[_0x4d101d[_0x4d101d[_0xe04a94^_0x4088c6]]],_0x2ea674^=_0x4d101d[_0x4d101d[_0x2ea674]]):_0x566a94=_0x2ea674=0x1;}}());var _0x420f29=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x428716=_0x2bea49[_0x3c4064(0x2e2)]=_0x2c93ac['extend']({'_doReset':function(){const _0x83080=_0x3c4064;var _0x36decb;if(!(this[_0x83080(0x12c)]&&this[_0x83080(0x31a)]===this[_0x83080(0x1d4)])){for(var _0x3f9d19=this['_keyPriorReset']=this[_0x83080(0x1d4)],_0x2a298f=_0x3f9d19[_0x83080(0x34f)],_0x4dc41e=_0x3f9d19[_0x83080(0x308)]/0x4,_0x2e5fcd=this[_0x83080(0x12c)]=_0x4dc41e+0x6,_0x403ff5=(_0x2e5fcd+0x1)*0x4,_0x425e78=this[_0x83080(0x555)]=[],_0xe92488=0x0;_0xe92488<_0x403ff5;_0xe92488++)_0xe92488<_0x4dc41e?_0x425e78[_0xe92488]=_0x2a298f[_0xe92488]:(_0x36decb=_0x425e78[_0xe92488-0x1],_0xe92488%_0x4dc41e?_0x4dc41e>0x6&&_0xe92488%_0x4dc41e==0x4&&(_0x36decb=_0x4deb59[_0x36decb>>>0x18]<<0x18|_0x4deb59[_0x36decb>>>0x10&0xff]<<0x10|_0x4deb59[_0x36decb>>>0x8&0xff]<<0x8|_0x4deb59[_0x36decb&0xff]):(_0x36decb=_0x36decb<<0x8|_0x36decb>>>0x18,_0x36decb=_0x4deb59[_0x36decb>>>0x18]<<0x18|_0x4deb59[_0x36decb>>>0x10&0xff]<<0x10|_0x4deb59[_0x36decb>>>0x8&0xff]<<0x8|_0x4deb59[_0x36decb&0xff],_0x36decb^=_0x420f29[_0xe92488/_0x4dc41e|0x0]<<0x18),_0x425e78[_0xe92488]=_0x425e78[_0xe92488-_0x4dc41e]^_0x36decb);for(var _0x3bce8f=this[_0x83080(0x475)]=[],_0x436823=0x0;_0x436823<_0x403ff5;_0x436823++){var _0xe92488=_0x403ff5-_0x436823;if(_0x436823%0x4)var _0x36decb=_0x425e78[_0xe92488];else var _0x36decb=_0x425e78[_0xe92488-0x4];_0x436823<0x4||_0xe92488<=0x4?_0x3bce8f[_0x436823]=_0x36decb:_0x3bce8f[_0x436823]=_0xb9fd0b[_0x4deb59[_0x36decb>>>0x18]]^_0x2e7316[_0x4deb59[_0x36decb>>>0x10&0xff]]^_0x4090c2[_0x4deb59[_0x36decb>>>0x8&0xff]]^_0x556f79[_0x4deb59[_0x36decb&0xff]];}}},'encryptBlock':function(_0x2e9d8c,_0xcc84e1){const _0x9741e3=_0x3c4064;this[_0x9741e3(0x580)](_0x2e9d8c,_0xcc84e1,this[_0x9741e3(0x555)],_0x530e56,_0x19bae5,_0x268577,_0x4b39dc,_0x4deb59);},'decryptBlock':function(_0xe1b95c,_0x35904e){const _0x470535=_0x3c4064;var _0x29d712=_0xe1b95c[_0x35904e+0x1];_0xe1b95c[_0x35904e+0x1]=_0xe1b95c[_0x35904e+0x3],_0xe1b95c[_0x35904e+0x3]=_0x29d712,this[_0x470535(0x580)](_0xe1b95c,_0x35904e,this[_0x470535(0x475)],_0xb9fd0b,_0x2e7316,_0x4090c2,_0x556f79,_0x218e38);var _0x29d712=_0xe1b95c[_0x35904e+0x1];_0xe1b95c[_0x35904e+0x1]=_0xe1b95c[_0x35904e+0x3],_0xe1b95c[_0x35904e+0x3]=_0x29d712;},'_doCryptBlock':function(_0xa74764,_0x469484,_0x2cf44a,_0x65c51c,_0x5f0b09,_0x121b25,_0x2ab9a9,_0x33891e){const _0x1fb0d5=_0x3c4064;for(var _0x589eeb=this[_0x1fb0d5(0x12c)],_0x53fd7c=_0xa74764[_0x469484]^_0x2cf44a[0x0],_0x41b2fc=_0xa74764[_0x469484+0x1]^_0x2cf44a[0x1],_0x9d36c2=_0xa74764[_0x469484+0x2]^_0x2cf44a[0x2],_0x105da4=_0xa74764[_0x469484+0x3]^_0x2cf44a[0x3],_0x51932a=0x4,_0x255c87=0x1;_0x255c87<_0x589eeb;_0x255c87++){var _0x1eb8e3=_0x65c51c[_0x53fd7c>>>0x18]^_0x5f0b09[_0x41b2fc>>>0x10&0xff]^_0x121b25[_0x9d36c2>>>0x8&0xff]^_0x2ab9a9[_0x105da4&0xff]^_0x2cf44a[_0x51932a++],_0x2d19a3=_0x65c51c[_0x41b2fc>>>0x18]^_0x5f0b09[_0x9d36c2>>>0x10&0xff]^_0x121b25[_0x105da4>>>0x8&0xff]^_0x2ab9a9[_0x53fd7c&0xff]^_0x2cf44a[_0x51932a++],_0x2b9b1c=_0x65c51c[_0x9d36c2>>>0x18]^_0x5f0b09[_0x105da4>>>0x10&0xff]^_0x121b25[_0x53fd7c>>>0x8&0xff]^_0x2ab9a9[_0x41b2fc&0xff]^_0x2cf44a[_0x51932a++],_0x3dadf0=_0x65c51c[_0x105da4>>>0x18]^_0x5f0b09[_0x53fd7c>>>0x10&0xff]^_0x121b25[_0x41b2fc>>>0x8&0xff]^_0x2ab9a9[_0x9d36c2&0xff]^_0x2cf44a[_0x51932a++];_0x53fd7c=_0x1eb8e3,_0x41b2fc=_0x2d19a3,_0x9d36c2=_0x2b9b1c,_0x105da4=_0x3dadf0;}var _0x1eb8e3=(_0x33891e[_0x53fd7c>>>0x18]<<0x18|_0x33891e[_0x41b2fc>>>0x10&0xff]<<0x10|_0x33891e[_0x9d36c2>>>0x8&0xff]<<0x8|_0x33891e[_0x105da4&0xff])^_0x2cf44a[_0x51932a++],_0x2d19a3=(_0x33891e[_0x41b2fc>>>0x18]<<0x18|_0x33891e[_0x9d36c2>>>0x10&0xff]<<0x10|_0x33891e[_0x105da4>>>0x8&0xff]<<0x8|_0x33891e[_0x53fd7c&0xff])^_0x2cf44a[_0x51932a++],_0x2b9b1c=(_0x33891e[_0x9d36c2>>>0x18]<<0x18|_0x33891e[_0x105da4>>>0x10&0xff]<<0x10|_0x33891e[_0x53fd7c>>>0x8&0xff]<<0x8|_0x33891e[_0x41b2fc&0xff])^_0x2cf44a[_0x51932a++],_0x3dadf0=(_0x33891e[_0x105da4>>>0x18]<<0x18|_0x33891e[_0x53fd7c>>>0x10&0xff]<<0x10|_0x33891e[_0x41b2fc>>>0x8&0xff]<<0x8|_0x33891e[_0x9d36c2&0xff])^_0x2cf44a[_0x51932a++];_0xa74764[_0x469484]=_0x1eb8e3,_0xa74764[_0x469484+0x1]=_0x2d19a3,_0xa74764[_0x469484+0x2]=_0x2b9b1c,_0xa74764[_0x469484+0x3]=_0x3dadf0;},'keySize':0x100/0x20});_0x22709e[_0x3c4064(0x2e2)]=_0x2c93ac[_0x3c4064(0x1f0)](_0x428716);}()),_0x5bf6e0[_0x3756c0(0x2e2)];}));}(Di));var pr=Di[_0x3a3cba(0x5e4)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x439ce3,_0x37670c){(function(_0x4f0f9f,_0x4ce06a){const _0x1e4755=_0x131b;_0x439ce3[_0x1e4755(0x5e4)]=_0x4ce06a(oe());}(Z,function(_0x2685ff){return _0x2685ff['enc']['Utf8'];}));}(Mi));var Ir=Mi[_0x3a3cba(0x5e4)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x378eb9,_0x361e42){(function(_0x3c7543,_0x3b5f31){_0x378eb9['exports']=_0x3b5f31(oe());}(Z,function(_0x2c873c){const _0x54d28b=_0x131b;return(function(){const _0x1b60d8=_0x131b;if(typeof ArrayBuffer==_0x1b60d8(0x1d8)){var _0x2b453e=_0x2c873c,_0x3f7e92=_0x2b453e[_0x1b60d8(0x537)],_0x12f209=_0x3f7e92[_0x1b60d8(0x349)],_0x2a6ed9=_0x12f209[_0x1b60d8(0x16a)],_0x15e882=_0x12f209[_0x1b60d8(0x16a)]=function(_0x56b101){const _0x20c9ff=_0x1b60d8;if(_0x56b101 instanceof ArrayBuffer&&(_0x56b101=new Uint8Array(_0x56b101)),(_0x56b101 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x56b101 instanceof Uint8ClampedArray||_0x56b101 instanceof Int16Array||_0x56b101 instanceof Uint16Array||_0x56b101 instanceof Int32Array||_0x56b101 instanceof Uint32Array||_0x56b101 instanceof Float32Array||_0x56b101 instanceof Float64Array)&&(_0x56b101=new Uint8Array(_0x56b101[_0x20c9ff(0x31c)],_0x56b101['byteOffset'],_0x56b101[_0x20c9ff(0x1ab)])),_0x56b101 instanceof Uint8Array){for(var _0x19dd68=_0x56b101[_0x20c9ff(0x1ab)],_0x4c4bb2=[],_0x34e6a3=0x0;_0x34e6a3<_0x19dd68;_0x34e6a3++)_0x4c4bb2[_0x34e6a3>>>0x2]|=_0x56b101[_0x34e6a3]<<0x18-_0x34e6a3%0x4*0x8;_0x2a6ed9[_0x20c9ff(0x4c9)](this,_0x4c4bb2,_0x19dd68);}else _0x2a6ed9[_0x20c9ff(0x49e)](this,arguments);};_0x15e882[_0x1b60d8(0x2d8)]=_0x12f209;}}()),_0x2c873c[_0x54d28b(0x537)][_0x54d28b(0x349)];}));}(Ai));var Er=Ai[_0x3a3cba(0x5e4)];const br=xe(Er);var Ni={'exports':{}};(function(_0x4d399c,_0x54da6c){(function(_0x302d71,_0x49a829,_0x33be3f){_0x4d399c['exports']=_0x49a829(oe(),Ui());}(Z,function(_0x25ecd6){const _0x54a017=_0x131b;return _0x25ecd6[_0x54a017(0x4ac)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x25ecd6[_0x54a017(0x4ac)][_0x54a017(0x44d)];}));}(Ni));var Tr=Ni['exports'];const Rr=xe(Tr);function yr(_0x5a6d6a,_0x377e7d){const _0x4f56c1=_0x3a3cba,_0x54de2e=_0x377e7d-_0x5a6d6a[_0x4f56c1(0x16b)]%_0x377e7d,_0x13b183=String['fromCharCode'](_0x54de2e)[_0x4f56c1(0x5ee)](_0x54de2e);return _0x5a6d6a+_0x13b183;}function Or(_0xf4fae2,_0x320302){const _0x5c538b=_0x3a3cba,_0x290487=br['random'](0x10),_0x1a09db=yr(_0xf4fae2,0x10),_0x15bc35=mr['encrypt'](Cr['parse'](_0x1a09db),Qt[_0x5c538b(0x526)](_0x320302),{'iv':_0x290487,'padding':Rr});return _0x290487['concat'](_0x15bc35[_0x5c538b(0x3ad)])[_0x5c538b(0x2c4)](Qt);}function Dr(){const _0x5985cf=_0x3a3cba,_0x3eced2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5985cf(0x20e)];if(_0x3eced2){const _0x486bfa={'time':Math[_0x5985cf(0x3d8)](Date[_0x5985cf(0x410)]()/0x3e8),'domain':location[_0x5985cf(0x142)]};return Or(JSON[_0x5985cf(0x405)](_0x486bfa),_0x3eced2);}}var Pr=Object['defineProperty'],wr=Object[_0x3a3cba(0x42d)],Ur=(_0x3671e6,_0x58c8ea,_0x4eddc5,_0x3d46fa)=>{const _0x1fdd58=_0x3a3cba;for(var _0x538087=_0x3d46fa>0x1?void 0x0:_0x3d46fa?wr(_0x58c8ea,_0x4eddc5):_0x58c8ea,_0x24d0f4=_0x3671e6[_0x1fdd58(0x16b)]-0x1,_0x12ba4c;_0x24d0f4>=0x0;_0x24d0f4--)(_0x12ba4c=_0x3671e6[_0x24d0f4])&&(_0x538087=(_0x3d46fa?_0x12ba4c(_0x58c8ea,_0x4eddc5,_0x538087):_0x12ba4c(_0x538087))||_0x538087);return _0x3d46fa&&_0x538087&&Pr(_0x58c8ea,_0x4eddc5,_0x538087),_0x538087;},Mr=(_0x3caddf,_0xae1dd3)=>(_0x4afcda,_0x312079)=>_0xae1dd3(_0x4afcda,_0x312079,_0x3caddf);let Ke=class{constructor(_0x4dbb0c){const _0x25e7a8=_0x3a3cba;this[_0x25e7a8(0x586)]=_0x4dbb0c,this[_0x25e7a8(0x2b1)]();}['_initRequestHeader'](){const _0x14d919=_0x3a3cba;this[_0x14d919(0x586)][_0x14d919(0x4e3)]({'interceptor':(_0x5b24d7,_0x424126)=>{const _0x2fa047=_0x14d919,_0x3f4c11=_0x5b24d7['headers'],_0x439fc5=Dr();return _0x439fc5&&_0x3f4c11[_0x2fa047(0x38a)](_0x2fa047(0x38e),_0x439fc5),_0x424126(_0x5b24d7);}});}};Ke=Ur([Mr(0x0,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)]))],Ke);var Ar=Object[_0x3a3cba(0x5d1)],Nr=Object['getOwnPropertyDescriptor'],Lr=(_0x20bda3,_0x40dbae,_0x127164,_0x5f2c11)=>{const _0x1245d0=_0x3a3cba;for(var _0x423b20=_0x5f2c11>0x1?void 0x0:_0x5f2c11?Nr(_0x40dbae,_0x127164):_0x40dbae,_0x470412=_0x20bda3[_0x1245d0(0x16b)]-0x1,_0x182dda;_0x470412>=0x0;_0x470412--)(_0x182dda=_0x20bda3[_0x470412])&&(_0x423b20=(_0x5f2c11?_0x182dda(_0x40dbae,_0x127164,_0x423b20):_0x182dda(_0x423b20))||_0x423b20);return _0x5f2c11&&_0x423b20&&Ar(_0x40dbae,_0x127164,_0x423b20),_0x423b20;},St=(_0x1bcd5f,_0x4f8289)=>(_0x4e81ba,_0x3f8e7b)=>_0x4f8289(_0x4e81ba,_0x3f8e7b,_0x1bcd5f);const xr=[_0x3a3cba(0x39f),'image/jpeg',_0x3a3cba(0x3ea),_0x3a3cba(0x323),'image/bmp'],jr=0x5*0x400*0x400,$r=_0x3a3cba(0x316),Hr='/universer-api/stream/file/upload',Br=_0x3a3cba(0x2ff),kr='/universer-api/file/{fileID}/sign-url';exports[_0x3a3cba(0x49c)]=class{constructor(_0x459250,_0xac2319,_0x5dd05b){const _0x2bbf90=_0x3a3cba;I(this,_0x2bbf90(0x2a8),0x0),I(this,_0x2bbf90(0x3c1),new A['Subject']()),I(this,_0x2bbf90(0x318),this[_0x2bbf90(0x3c1)]),I(this,_0x2bbf90(0x167),new Map()),(this[_0x2bbf90(0x586)]=_0x459250,this[_0x2bbf90(0x4d1)]=_0xac2319,this[_0x2bbf90(0x206)]=_0x5dd05b);}[_0x3a3cba(0x530)](_0x3c6e64){const _0x5c7966=_0x3a3cba;this[_0x5c7966(0x2a8)]=_0x3c6e64,this[_0x5c7966(0x3c1)]['next'](_0x3c6e64);}['getImageSourceCache'](_0x2f3ae9,_0x4e999e){const _0x605350=_0x3a3cba;if(_0x4e999e===ie[_0x605350(0x360)][_0x605350(0x448)]){const _0x317e2e=new Image();return _0x317e2e[_0x605350(0x15b)]=_0x2f3ae9,_0x317e2e;}return this[_0x605350(0x167)]['get'](_0x2f3ae9);}[_0x3a3cba(0x160)](_0x5eaec6,_0x4ef884,_0x13d528){const _0x5c7abc=_0x3a3cba;_0x4ef884===ie['ImageSourceType'][_0x5c7abc(0x448)]||_0x13d528==null||this[_0x5c7abc(0x167)][_0x5c7abc(0x38a)](_0x5eaec6,_0x13d528);}async[_0x3a3cba(0x179)](_0x367c9c){const _0x27b78c=_0x3a3cba;try{const _0x17d58d=this['_replaceFileID'](this[_0x27b78c(0x5a4)](),''+_0x367c9c),_0x284dd4=(await this[_0x27b78c(0x586)]['get'](_0x17d58d))[_0x27b78c(0x4eb)];if(_0x284dd4[_0x27b78c(0x2e5)]&&_0x284dd4[_0x27b78c(0x2e5)][_0x27b78c(0x199)]===_i['OK']){const _0x111e84=new URL(_0x284dd4[_0x27b78c(0x262)],this['_getDownloadEndpointURL']())[_0x27b78c(0x2c4)]();return Promise['resolve'](_0x111e84);}return Promise[_0x27b78c(0x54c)](_0x284dd4['error']);}catch(_0x85b098){return Promise[_0x27b78c(0x54c)](_0x85b098);}}async['saveImage'](_0x2e999c){const _0x196709=_0x3a3cba;let _0x5e3670='';if(!xr['includes'](_0x2e999c[_0x196709(0x322)]))return this[_0x196709(0x180)](),Promise[_0x196709(0x54c)](new Error(ie[_0x196709(0x460)][_0x196709(0x141)]));if(_0x2e999c[_0x196709(0x51e)]>jr)return this[_0x196709(0x180)](),Promise[_0x196709(0x54c)](new Error(ie[_0x196709(0x460)]['ERROR_EXCEED_SIZE']));try{const _0x3a017b=new FormData();_0x3a017b[_0x196709(0x434)](_0x196709(0x5b7),_0x2e999c);const _0x261665=this['_univerInstanceService'][_0x196709(0x46d)](),_0x1c8ee7=_0x261665==null?void 0x0:_0x261665[_0x196709(0x470)]();if(!_0x1c8ee7)throw new Error(_0x196709(0x361));const _0x2088c9=this[_0x196709(0x12b)]()+'?size='+_0x2e999c[_0x196709(0x51e)][_0x196709(0x2c4)]()+'&source='+ui[_0x196709(0x37b)]+_0x196709(0x353)+encodeURIComponent(_0x1c8ee7),_0x451396=await(await fetch(_0x2088c9,{'method':'POST','body':_0x3a017b}))[_0x196709(0x336)]();if(typeof _0x451396[_0x196709(0x2d7)]!=_0x196709(0x554))return this[_0x196709(0x180)](),Promise['reject'](new Error(ie['ImageUploadStatusType'][_0x196709(0x1bf)]));_0x5e3670=_0x451396[_0x196709(0x2d7)];}catch{return this[_0x196709(0x180)](),Promise[_0x196709(0x54c)](new Error(ie[_0x196709(0x460)][_0x196709(0x1bf)]));}return new Promise((_0x20edbb,_0x48732d)=>{const _0x180421=_0x196709,_0x26354b=new FileReader();_0x26354b[_0x180421(0x524)](_0x2e999c),_0x26354b['onload']=_0x54e7f7=>{const _0x12ac10=_0x180421;var _0x990ceb;const _0x178a30=(_0x990ceb=_0x54e7f7[_0x12ac10(0x502)])==null?void 0x0:_0x990ceb['result'];if(_0x178a30==null){this[_0x12ac10(0x180)](),_0x48732d(new Error(ie['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x38b1c9=a['Tools'][_0x12ac10(0x273)](0x6);_0x20edbb({'imageId':_0x38b1c9,'imageSourceType':ie['ImageSourceType']['UUID'],'source':_0x5e3670,'base64Cache':_0x178a30,'status':ie[_0x12ac10(0x460)][_0x12ac10(0x47a)]}),this[_0x12ac10(0x180)]();};});}[_0x3a3cba(0x12b)](){const _0xf4da1e=_0x3a3cba;var _0x4bbb20,_0x4d3214;const _0xcc304a=this[_0xf4da1e(0x4d1)][_0xf4da1e(0x3cc)]($r),_0x3e0c2c=this[_0xf4da1e(0x4d1)][_0xf4da1e(0x3cc)](Q);return(_0x4d3214=(_0x4bbb20=_0x3e0c2c==null?void 0x0:_0x3e0c2c['uploadFileServerUrl'])!=null?_0x4bbb20:_0xcc304a)!=null?_0x4d3214:Hr;}[_0x3a3cba(0x5a4)](){const _0x417b2c=_0x3a3cba;var _0x1df006,_0x112bf3;const _0x3edce2=this[_0x417b2c(0x4d1)]['getConfig'](Br),_0x20e1f5=this[_0x417b2c(0x4d1)][_0x417b2c(0x3cc)](Q);return(_0x112bf3=(_0x1df006=_0x20e1f5==null?void 0x0:_0x20e1f5[_0x417b2c(0x2df)])!=null?_0x1df006:_0x3edce2)!=null?_0x112bf3:kr;}['_getDownloadEndpointURL'](){const _0x3538ea=_0x3a3cba;var _0x555d02;const _0x7821a0=this['_configService']['getConfig'](Q);return(_0x555d02=_0x7821a0==null?void 0x0:_0x7821a0[_0x3538ea(0x386)])!=null?_0x555d02:location['origin'];}[_0x3a3cba(0x424)](_0x57a6cb,_0xe65189){const _0x1715bb=_0x3a3cba;return _0x57a6cb['replace'](_0x1715bb(0x1cf),_0xe65189);}['_decreaseWaiting'](){const _0x2e993f=_0x3a3cba;this[_0x2e993f(0x2a8)]-=0x1,this[_0x2e993f(0x3c1)][_0x2e993f(0x519)](this['_waitCount']);}},exports[_0x3a3cba(0x49c)]=Lr([St(0x0,a['Inject'](z[_0x3a3cba(0x36b)])),St(0x1,a['IConfigService']),St(0x2,a[_0x3a3cba(0x4b4)](a['IUniverInstanceService']))],exports[_0x3a3cba(0x49c)]);var Wr=Object[_0x3a3cba(0x5d1)],Fr=Object[_0x3a3cba(0x42d)],Vr=(_0x27c87e,_0x13fd26,_0x383beb,_0xb9359b)=>{const _0x20ef2e=_0x3a3cba;for(var _0x363762=_0xb9359b>0x1?void 0x0:_0xb9359b?Fr(_0x13fd26,_0x383beb):_0x13fd26,_0x232a66=_0x27c87e[_0x20ef2e(0x16b)]-0x1,_0x217503;_0x232a66>=0x0;_0x232a66--)(_0x217503=_0x27c87e[_0x232a66])&&(_0x363762=(_0xb9359b?_0x217503(_0x13fd26,_0x383beb,_0x363762):_0x217503(_0x363762))||_0x363762);return _0xb9359b&&_0x363762&&Wr(_0x13fd26,_0x383beb,_0x363762),_0x363762;},ei=(_0x481585,_0xd7c017)=>(_0x541d5d,_0x3b4ef4)=>_0xd7c017(_0x541d5d,_0x3b4ef4,_0x481585);const Gr=_0x3a3cba(0x21b);exports[_0x3a3cba(0x47d)]=class{constructor(_0x27b8b9,_0x5d0789){const _0x2bef3b=_0x3a3cba;this[_0x2bef3b(0x4d1)]=_0x27b8b9,this[_0x2bef3b(0x3d7)]=_0x5d0789;}[_0x3a3cba(0x138)](){const _0x1d2d7a=_0x3a3cba;var _0x5db57d,_0x32609a;const _0x2d20e1=this[_0x1d2d7a(0x4d1)][_0x1d2d7a(0x3cc)](Ut),_0x423afd=this['_configService']['getConfig'](Q);return(_0x32609a=(_0x5db57d=_0x423afd==null?void 0x0:_0x423afd[_0x1d2d7a(0x339)])!=null?_0x5db57d:_0x2d20e1)!=null?_0x32609a:Gr;}async[_0x3a3cba(0x2b9)](_0x4004e1){const _0x296721=_0x3a3cba,_0x32c6fb=this[_0x296721(0x138)]()+_0x296721(0x378);return{'list':[{'title':_0x296721(0x5e3),'mentions':(await this[_0x296721(0x3d7)][_0x296721(0x449)](_0x32c6fb,{'params':{'objectID':_0x4004e1[_0x296721(0x168)],'unitID':_0x4004e1['unitId']}}))[_0x296721(0x4eb)][_0x296721(0x131)]['map'](_0xccd81e=>({'objectId':_0xccd81e['id'],'name':_0xccd81e[_0x296721(0x571)]['name'],'metadata':{'icon':_0xccd81e[_0x296721(0x571)][_0x296721(0x4c4)]},'label':_0xccd81e['subject'][_0x296721(0x203)],'objectType':a[_0x296721(0x56e)][_0x296721(0x14a)]})),'metadata':{},'type':a[_0x296721(0x56e)]['PERSON']}]};}},exports['MentionIoHttpService']=Vr([ei(0x0,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x311)])),ei(0x1,a[_0x3a3cba(0x4b4)](z['HTTPService']))],exports[_0x3a3cba(0x47d)]);var Yr=Object[_0x3a3cba(0x5d1)],Kr=Object[_0x3a3cba(0x42d)],qr=(_0x3d78e9,_0x602c97,_0x2589fd,_0x4298c2)=>{for(var _0x2d86d8=_0x4298c2>0x1?void 0x0:_0x4298c2?Kr(_0x602c97,_0x2589fd):_0x602c97,_0x296d22=_0x3d78e9['length']-0x1,_0x5be574;_0x296d22>=0x0;_0x296d22--)(_0x5be574=_0x3d78e9[_0x296d22])&&(_0x2d86d8=(_0x4298c2?_0x5be574(_0x602c97,_0x2589fd,_0x2d86d8):_0x5be574(_0x2d86d8))||_0x2d86d8);return _0x4298c2&&_0x2d86d8&&Yr(_0x602c97,_0x2589fd,_0x2d86d8),_0x2d86d8;},Ae=(_0x12b235,_0x75e8ca)=>(_0x4aa56b,_0x148b51)=>_0x75e8ca(_0x4aa56b,_0x148b51,_0x12b235);let qe=class extends a['RxDisposable']{constructor(_0xf74398,_0x2f85dc,_0x2c1abd,_0x167213,_0x2e15d6){const _0x3314f2=_0x3a3cba;super(),this[_0x3314f2(0x23e)]=_0xf74398,this[_0x3314f2(0x206)]=_0x2f85dc,this['_permissionService']=_0x2c1abd,this[_0x3314f2(0x546)]=_0x167213,this[_0x3314f2(0x507)]=_0x2e15d6,this[_0x3314f2(0x341)](),this[_0x3314f2(0x583)]();}[_0x3a3cba(0x583)](){const _0x12b49f=_0x3a3cba,_0x402bcb=async _0x3d175c=>{const _0x3c0518=_0x131b;(await this['_collaborationSessionService'][_0x3c0518(0x1e3)](_0x3d175c))[_0x3c0518(0x3ac)][_0x3c0518(0x17b)](V['filter'](_0x2a13e2=>_0x2a13e2[_0x3c0518(0x422)]===p[_0x3c0518(0x38b)][_0x3c0518(0x5d2)]),V[_0x3c0518(0x4d8)](this[_0x3c0518(0x541)]))[_0x3c0518(0x250)](_0x5c3bb6=>{const _0x56a69c=_0x3c0518,_0x54d4ee=_0x5c3bb6,{reason:_0x5a3759}=_0x54d4ee[_0x56a69c(0x19b)];this[_0x56a69c(0x23e)]['get'](te[_0x56a69c(0x28d)])[_0x56a69c(0x1bd)]({'type':Ce[_0x56a69c(0x45b)]['Error'],'content':this[_0x56a69c(0x507)]['t'](_0x56a69c(0x42e))+'('+_0x5a3759+')'}),this[_0x56a69c(0x19c)]['updatePermissionPoint'](new k[(_0x56a69c(0x1df))](_0x3d175c)['id'],!0x1),this[_0x56a69c(0x546)][_0x56a69c(0x445)](_0x3d175c);});};A['merge'](this['_univerInstanceService'][_0x12b49f(0x1f5)](a[_0x12b49f(0x231)]['UNIVER_SHEET']),this[_0x12b49f(0x206)]['getTypeOfUnitAdded$'](a[_0x12b49f(0x231)][_0x12b49f(0x1b1)]))[_0x12b49f(0x17b)](V['map'](_0x42bbec=>_0x42bbec[_0x12b49f(0x470)]()),V['filter'](_0x25febe=>!a[_0x12b49f(0x172)](_0x25febe)),V['takeUntil'](this[_0x12b49f(0x541)]))[_0x12b49f(0x250)](_0x5537ae=>{_0x402bcb(_0x5537ae);});}[_0x3a3cba(0x341)](){const _0x452bff=_0x3a3cba,_0x114a15=async _0x40a87c=>{const _0x334dfc=_0x131b;(await this[_0x334dfc(0x546)][_0x334dfc(0x1e3)](_0x40a87c))[_0x334dfc(0x3ac)]['pipe'](V['filter'](_0x308564=>_0x308564[_0x334dfc(0x422)]===p[_0x334dfc(0x38b)][_0x334dfc(0x3a2)]),V[_0x334dfc(0x4d8)](this[_0x334dfc(0x541)]))['subscribe'](_0x285f4a=>{const _0x4d6162=_0x334dfc,_0x51bbba=_0x285f4a,{objectId:_0x7901c2}=_0x51bbba[_0x4d6162(0x19b)],_0x185f5c=this[_0x4d6162(0x23e)][_0x4d6162(0x449)](ye[_0x4d6162(0x321)]);_0x7901c2===_0x40a87c?_0x185f5c[_0x4d6162(0x294)](_0x40a87c):_0x185f5c[_0x4d6162(0x52b)](_0x40a87c,_0x7901c2);});};A['merge'](this[_0x452bff(0x206)][_0x452bff(0x1f5)](a[_0x452bff(0x231)][_0x452bff(0x1b5)]),this['_univerInstanceService'][_0x452bff(0x1f5)](a[_0x452bff(0x231)][_0x452bff(0x1b1)]))[_0x452bff(0x17b)](V[_0x452bff(0x53a)](_0x5015e4=>_0x5015e4[_0x452bff(0x470)]()),V['filter'](_0x3e4615=>!a[_0x452bff(0x172)](_0x3e4615)),V['takeUntil'](this['dispose$']))[_0x452bff(0x250)](_0x93e6c5=>{_0x114a15(_0x93e6c5);});}};qe=qr([Ae(0x0,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),Ae(0x1,a['IUniverInstanceService']),Ae(0x2,a[_0x3a3cba(0x2d1)]),Ae(0x3,a[_0x3a3cba(0x4b4)](exports[_0x3a3cba(0x19d)])),Ae(0x4,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x2b2)]))],qe);var zr=Object[_0x3a3cba(0x5d1)],Xr=Object[_0x3a3cba(0x42d)],Jr=(_0x43fdb1,_0x15afc3,_0x1be342,_0x307993)=>{for(var _0x128751=_0x307993>0x1?void 0x0:_0x307993?Xr(_0x15afc3,_0x1be342):_0x15afc3,_0x42ff00=_0x43fdb1['length']-0x1,_0x66b547;_0x42ff00>=0x0;_0x42ff00--)(_0x66b547=_0x43fdb1[_0x42ff00])&&(_0x128751=(_0x307993?_0x66b547(_0x15afc3,_0x1be342,_0x128751):_0x66b547(_0x128751))||_0x128751);return _0x307993&&_0x128751&&zr(_0x15afc3,_0x1be342,_0x128751),_0x128751;},ti=(_0x33b7d3,_0x386592)=>(_0x275a9e,_0x3666bf)=>_0x386592(_0x275a9e,_0x3666bf,_0x33b7d3);exports[_0x3a3cba(0x4f8)]=class{constructor(_0x188d9d,_0x1eb461){const _0x3ceee8=_0x3a3cba;this['_configService']=_0x188d9d,this[_0x3ceee8(0x586)]=_0x1eb461;}async[_0x3a3cba(0x415)](_0x56df25,_0xef9119){const _0x13c5b9=_0x3a3cba;var _0x3b9ac0;const {unitID:_0x15f904,type:_0x724776,revision:_0x1cbab1=0x0}=_0xef9119,_0x285544=this[_0x13c5b9(0x3b9)]()+'/'+_0x724776+_0x13c5b9(0x39c)+_0x15f904+_0x13c5b9(0x1b0)+_0x1cbab1,_0x2ae5d8=(await this[_0x13c5b9(0x586)]['get'](_0x285544))[_0x13c5b9(0x4eb)],_0x2e9f29=(_0x3b9ac0=_0x2ae5d8[_0x13c5b9(0x4d9)])==null?void 0x0:_0x3b9ac0[_0x13c5b9(0x1c2)];if(_0x2e9f29){const _0x379ead=_0x2e9f29==null?void 0x0:_0x2e9f29[_0x13c5b9(0x2aa)],_0x4ff9b4=p[_0x13c5b9(0x54e)][_0x13c5b9(0x330)](p['b64DecodeUnicode'](_0x379ead));_0x2e9f29[_0x13c5b9(0x2aa)]=_0x4ff9b4,Object['entries'](_0x2e9f29[_0x13c5b9(0x2bc)])['forEach'](([,_0x3f72ad])=>{const _0x5940db=_0x13c5b9,_0x29e43f=_0x3f72ad[_0x5940db(0x2aa)],_0x3c01b7=p[_0x5940db(0x54e)][_0x5940db(0x330)](p[_0x5940db(0x27e)](_0x29e43f));_0x3f72ad[_0x5940db(0x2aa)]=_0x3c01b7;});}return _0x2ae5d8;}async[_0x3a3cba(0x244)](_0x1a2e04,_0x160f83){const _0x77ef18=_0x3a3cba,{unitID:_0x3e4559,type:_0x4608e0,blockID:_0x274a2e}=_0x160f83,_0x2df467=this[_0x77ef18(0x41a)]()+'/'+_0x4608e0+_0x77ef18(0x39c)+_0x3e4559+_0x77ef18(0x536)+_0x274a2e;return(await this[_0x77ef18(0x586)]['get'](_0x2df467))[_0x77ef18(0x4eb)];}async['getDeserializedSheetBlock'](_0x1be328,_0xc47721){const _0x48d827=_0x3a3cba,{unitID:_0x4eaaee,type:_0x34b0a6,blockID:_0x4a7eb5}=_0xc47721,_0x89bc8=this[_0x48d827(0x41a)]()+'/block/'+_0x34b0a6+_0x48d827(0x39c)+_0x4eaaee+'/block/'+_0x4a7eb5;return(await this[_0x48d827(0x586)][_0x48d827(0x449)](_0x89bc8))[_0x48d827(0x4eb)];}async[_0x3a3cba(0x1e0)](_0x16bb16,_0xce5341){const _0x218d32=_0x3a3cba,{unitID:_0x197cec,type:_0x881090,from:_0x6778c2,to:_0x165643}=_0xce5341,_0x3dfcda=this[_0x218d32(0x41a)]()+'/'+_0x881090+'/unit/'+_0x197cec+_0x218d32(0x4a8)+_0x6778c2+_0x218d32(0x362)+_0x165643;return(await this[_0x218d32(0x586)][_0x218d32(0x449)](_0x3dfcda))[_0x218d32(0x4eb)];}[_0x3a3cba(0x3b9)](){const _0x5504a0=_0x3a3cba;var _0x8af806;return(_0x8af806=this[_0x5504a0(0x4d1)][_0x5504a0(0x3cc)](ni))!=null?_0x8af806:this[_0x5504a0(0x41a)]();}[_0x3a3cba(0x41a)](){const _0x38b124=_0x3a3cba;var _0x52e8a6,_0x20ca7b;const _0x66545e=this[_0x38b124(0x4d1)][_0x38b124(0x3cc)](ii),_0x34a1d5=this[_0x38b124(0x4d1)][_0x38b124(0x3cc)](Q);return(_0x20ca7b=(_0x52e8a6=_0x34a1d5==null?void 0x0:_0x34a1d5[_0x38b124(0x234)])!=null?_0x52e8a6:_0x66545e)!=null?_0x20ca7b:ki;}async['getResourcesRequest'](_0x32bc7f,_0x25c2c0){const _0x3d0cb7=_0x3a3cba,_0x21ce8f='/universer-api/snapshot/'+_0x25c2c0['type']+_0x3d0cb7(0x39c)+_0x25c2c0[_0x3d0cb7(0x40b)]+'/resources';return(await this['_httpService']['get'](_0x21ce8f,{'params':{'resourceId':JSON['stringify'](_0x25c2c0[_0x3d0cb7(0x25c)])}}))[_0x3d0cb7(0x4eb)];}[_0x3a3cba(0x1ec)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0xcde7f8=_0x3a3cba;throw new Error(_0xcde7f8(0x2bb));}[_0x3a3cba(0x2e9)](){const _0x3128c3=_0x3a3cba;throw new Error(_0x3128c3(0x2bb));}['copyFileMeta'](){const _0x138b39=_0x3a3cba;throw new Error(_0x138b39(0x2bb));}['getLatestCsReqIdBySid'](){const _0x207c6a=_0x3a3cba;throw new Error(_0x207c6a(0x2bb));}},exports[_0x3a3cba(0x4f8)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a[_0x3a3cba(0x4b4)](z[_0x3a3cba(0x36b)]))],exports[_0x3a3cba(0x4f8)]);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0xf188d6,_0x5242ea,_0x5db9aa,_0x40ea39)=>{const _0x154e81=_0x3a3cba;for(var _0x431bc9=_0x40ea39>0x1?void 0x0:_0x40ea39?Qr(_0x5242ea,_0x5db9aa):_0x5242ea,_0x502ef5=_0xf188d6[_0x154e81(0x16b)]-0x1,_0xdc9f98;_0x502ef5>=0x0;_0x502ef5--)(_0xdc9f98=_0xf188d6[_0x502ef5])&&(_0x431bc9=(_0x40ea39?_0xdc9f98(_0x5242ea,_0x5db9aa,_0x431bc9):_0xdc9f98(_0x431bc9))||_0x431bc9);return _0x40ea39&&_0x431bc9&&Zr(_0x5242ea,_0x5db9aa,_0x431bc9),_0x431bc9;},Ne=(_0x136c9d,_0x14f0c1)=>(_0x36feda,_0x325721)=>_0x14f0c1(_0x36feda,_0x325721,_0x136c9d);let Ct=class extends a['LocalUndoRedoService']{constructor(_0x253af2,_0x399b10,_0x13261c,_0x422da6,_0x1b9c13){const _0x2eb2ed=_0x3a3cba;super(_0x253af2,_0x399b10,_0x13261c),this[_0x2eb2ed(0x37c)]=_0x422da6,this[_0x2eb2ed(0x590)]=_0x1b9c13;}[_0x3a3cba(0x43d)](_0x1d1c87,_0x2df800){const _0x4a49a8=_0x3a3cba,_0x43d0e5=this[_0x4a49a8(0x184)](_0x1d1c87);if(_0x43d0e5)try{const _0x3d77b1=this['_transformStack'](_0x43d0e5,_0x2df800);this[_0x4a49a8(0x221)](_0x1d1c87,_0x3d77b1);}catch(_0x5cd839){this[_0x4a49a8(0x590)][_0x4a49a8(0x2e5)](_0x4a49a8(0x506),_0x5cd839),this['_clearUndo'](_0x1d1c87);}const _0x534f91=this[_0x4a49a8(0x3fd)](_0x1d1c87);if(_0x534f91)try{const _0x560bc5=this[_0x4a49a8(0x383)](_0x534f91,_0x2df800);this[_0x4a49a8(0x1d5)](_0x1d1c87,_0x560bc5);}catch(_0x46402b){this[_0x4a49a8(0x590)][_0x4a49a8(0x2e5)](_0x46402b),this[_0x4a49a8(0x5f1)](_0x1d1c87);}}[_0x3a3cba(0x1d6)](_0x597340){const _0x2faf01=_0x3a3cba,_0x2102ad=this['_getUndoStack'](_0x597340);_0x2102ad&&(_0x2102ad[_0x2faf01(0x16b)]=0x0,this[_0x2faf01(0x17d)]());}[_0x3a3cba(0x5f1)](_0x1e13f6){const _0x25d4a2=_0x3a3cba,_0x48751b=this[_0x25d4a2(0x3fd)](_0x1e13f6);_0x48751b&&(_0x48751b[_0x25d4a2(0x16b)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xe5aace,_0x1396fe){const _0x42818f=_0x3a3cba;this[_0x42818f(0x486)][_0x42818f(0x38a)](_0xe5aace,_0x1396fe),this[_0x42818f(0x17d)]();}[_0x3a3cba(0x1d5)](_0x4784e4,_0xb10481){const _0x32a6dd=_0x3a3cba;this[_0x32a6dd(0x288)][_0x32a6dd(0x38a)](_0x4784e4,_0xb10481),this[_0x32a6dd(0x17d)]();}[_0x3a3cba(0x383)](_0x578fa3,_0x103e70){const _0x44ffbd=_0x3a3cba,_0x45cdb3=[];let _0x2afeab=_0x103e70,_0x2fdee1=_0x103e70;for(let _0x5442a8=_0x578fa3[_0x44ffbd(0x16b)]-0x1;_0x5442a8>=0x0;_0x5442a8--){const {unitID:_0xe8b2ac,undoMutations:_0x225770,redoMutations:_0x2d04ac}=_0x578fa3[_0x5442a8],_0x8abafc=this[_0x44ffbd(0x37c)][_0x44ffbd(0x295)](_0x2afeab,_0x225770),_0x42b4e7=this[_0x44ffbd(0x37c)][_0x44ffbd(0x295)](_0x2fdee1,_0x2d04ac);if(p['isTransformMutationsWithChangesetFailure'](_0x8abafc)||p[_0x44ffbd(0x1f8)](_0x42b4e7)){this[_0x44ffbd(0x590)]['error']('[CollaborationUndoRedoService]',_0x44ffbd(0x561),_0x8abafc,_0x42b4e7);break;}_0x2afeab=_0x8abafc['c1Prime'],_0x2fdee1=_0x42b4e7['c1Prime'],_0x45cdb3[_0x44ffbd(0x31b)]({'unitID':_0xe8b2ac,'undoMutations':_0x8abafc[_0x44ffbd(0x3c0)],'redoMutations':_0x42b4e7['m2Prime']});}return _0x45cdb3[_0x44ffbd(0x1ad)]();}};Ct=eo([Ne(0x0,a[_0x3a3cba(0x1c9)]),Ne(0x1,a['ICommandService']),Ne(0x2,a[_0x3a3cba(0x33b)]),Ne(0x3,p[_0x3a3cba(0x4d5)]),Ne(0x4,a[_0x3a3cba(0x4cc)])],Ct);class Li extends a[_0x3a3cba(0x3c4)]{constructor(){const _0x5b3afe=_0x3a3cba;super(),I(this,_0x5b3afe(0x4c7)),this['urlChange$']=A['fromEvent'](window,_0x5b3afe(0x408))[_0x5b3afe(0x17b)](A[_0x5b3afe(0x4d8)](this[_0x5b3afe(0x541)]),A[_0x5b3afe(0x2f5)](0x1),A[_0x5b3afe(0x1cd)](void 0x0));}['setParam'](_0x162915,_0x7b1880,_0xe12111=!0x1){const _0x4f16c2=_0x3a3cba,_0x2998d7=new URL(window[_0x4f16c2(0x5be)][_0x4f16c2(0x13e)]);_0x2998d7[_0x4f16c2(0x22f)][_0x4f16c2(0x38a)](_0x162915,_0x7b1880),_0xe12111?window[_0x4f16c2(0x3f6)][_0x4f16c2(0x4fa)]('','',_0x2998d7[_0x4f16c2(0x2c4)]()):window[_0x4f16c2(0x3f6)]['pushState']('','',_0x2998d7[_0x4f16c2(0x2c4)]());}[_0x3a3cba(0x2dd)](_0x579d71,_0xa974c1=!0x1){const _0xdac430=_0x3a3cba,_0x326f60=new URL(window['location'][_0xdac430(0x13e)]);_0x326f60[_0xdac430(0x22f)][_0xdac430(0x26b)](_0x579d71),_0xa974c1?window['history'][_0xdac430(0x4fa)]('','',_0x326f60[_0xdac430(0x2c4)]()):window[_0xdac430(0x3f6)]['pushState']('','',_0x326f60[_0xdac430(0x2c4)]());}[_0x3a3cba(0x50b)](_0x44e509){const _0x25c274=_0x3a3cba;var _0x17fd28;return(_0x17fd28=new URL(window[_0x25c274(0x5be)][_0x25c274(0x13e)])[_0x25c274(0x22f)][_0x25c274(0x449)](_0x44e509))!=null?_0x17fd28:void 0x0;}}var xi=Object[_0x3a3cba(0x5d1)],to=Object[_0x3a3cba(0x42d)],io=(_0x170c7e,_0x35bb09,_0x348bd0)=>_0x35bb09 in _0x170c7e?xi(_0x170c7e,_0x35bb09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x348bd0}):_0x170c7e[_0x35bb09]=_0x348bd0,no=(_0x122486,_0x283b2c,_0x201a80,_0x1d4136)=>{const _0x119c10=_0x3a3cba;for(var _0x44209a=_0x1d4136>0x1?void 0x0:_0x1d4136?to(_0x283b2c,_0x201a80):_0x283b2c,_0x50aa84=_0x122486[_0x119c10(0x16b)]-0x1,_0x3a378e;_0x50aa84>=0x0;_0x50aa84--)(_0x3a378e=_0x122486[_0x50aa84])&&(_0x44209a=(_0x1d4136?_0x3a378e(_0x283b2c,_0x201a80,_0x44209a):_0x3a378e(_0x44209a))||_0x44209a);return _0x1d4136&&_0x44209a&&xi(_0x283b2c,_0x201a80,_0x44209a),_0x44209a;},He=(_0x4d196b,_0x3773eb)=>(_0x14644f,_0x170599)=>_0x3773eb(_0x14644f,_0x170599,_0x4d196b),so=(_0x2cbf3a,_0x2c1256,_0x21cefc)=>io(_0x2cbf3a,_0x2c1256+'',_0x21cefc);const ro=_0x3a3cba(0x1ff);exports['UniverCollaborationClientPlugin']=class extends a[_0x3a3cba(0x3a4)]{constructor(_0x1921be=Zi,_0x1cad3e,_0x54af93,_0x41aa21,_0x3ba17d){const _0x4d5b25=_0x3a3cba;super(),this['_config']=_0x1921be,this[_0x4d5b25(0x590)]=_0x1cad3e,this['_renderManagerService']=_0x54af93,this[_0x4d5b25(0x23e)]=_0x41aa21,this['_configService']=_0x3ba17d;const {..._0x5d08e2}=this['_config'];this[_0x4d5b25(0x4d1)][_0x4d5b25(0x53d)](Q,_0x5d08e2);}[_0x3a3cba(0x263)](){const _0x16582d=_0x3a3cba;this[_0x16582d(0x5dc)](),this[_0x16582d(0x266)]();}[_0x3a3cba(0x364)](){const _0x2bcb6c=_0x3a3cba;a[_0x2bcb6c(0x27f)](this[_0x2bcb6c(0x23e)],[[Ge],[Ve]]);}['onRendered'](){const _0x47226f=_0x3a3cba;this[_0x47226f(0x3d4)]();}[_0x3a3cba(0x5dc)](){const _0x3a1703=_0x3a3cba;var _0x550fcd,_0x6d82e9,_0x564560,_0x358b85;this['_injector'][_0x3a1703(0x16f)](a[_0x3a1703(0x444)])&&this[_0x3a1703(0x590)]['error'](_0x3a1703(0x55f),_0x3a1703(0x57a));const _0x172155=[[a[_0x3a1703(0x444)],{'useClass':Ct}],[exports['CollaborationSessionService']],[Dt],[wt,{'useClass':Li}],[exports['MemberService']],[exports[_0x3a1703(0x158)]],[z[_0x3a1703(0x289)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x6d82e9=(_0x550fcd=this[_0x3a1703(0x34d)])==null?void 0x0:_0x550fcd[_0x3a1703(0x53c)])!=null?_0x6d82e9:exports[_0x3a1703(0x367)]}],[p[_0x3a1703(0x174)],{'useClass':exports[_0x3a1703(0x4f8)]}],[a[_0x3a1703(0x560)],{'useClass':exports[_0x3a1703(0x2fc)]}],[ie[_0x3a1703(0x428)],{'useClass':exports[_0x3a1703(0x49c)]}],[a[_0x3a1703(0x576)],{'useClass':exports[_0x3a1703(0x47d)]}],[exports[_0x3a1703(0x5c9)]],[exports['DataLoaderController']],[exports[_0x3a1703(0x514)]],[Ge],[De],[Ve]];(_0x564560=this[_0x3a1703(0x34d)])!=null&&_0x564560[_0x3a1703(0x34a)]&&_0x172155[_0x3a1703(0x31b)]([ze,{'useClass':Un}]),a[_0x3a1703(0x5ba)](this[_0x3a1703(0x23e)],a[_0x3a1703(0x562)](_0x172155,(_0x358b85=this[_0x3a1703(0x34d)])==null?void 0x0:_0x358b85[_0x3a1703(0x49a)]));}[_0x3a3cba(0x3d4)](){const _0x5123e4=_0x3a3cba;this[_0x5123e4(0x5e6)](this[_0x5123e4(0x210)]['registerRenderModule'](a[_0x5123e4(0x231)][_0x5123e4(0x1b1)],[gt])),this[_0x5123e4(0x5e6)](this['_renderManagerService'][_0x5123e4(0x511)](a['UniverInstanceType'][_0x5123e4(0x1b5)],[It]));}['_initDependencies'](){const _0xbff4a8=_0x3a3cba;var _0x540802,_0x524c6a;this[_0xbff4a8(0x23e)]['get'](z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x540802=this[_0xbff4a8(0x34d)])!=null&&_0x540802[_0xbff4a8(0x4a0)]||this['_injector'][_0xbff4a8(0x449)](exports[_0xbff4a8(0x158)])[_0xbff4a8(0x21a)](),(_0x524c6a=this[_0xbff4a8(0x34d)])!=null&&_0x524c6a[_0xbff4a8(0x1e1)]&&a['touchDependencies'](this[_0xbff4a8(0x23e)],[[Ye]]),a[_0xbff4a8(0x27f)](this[_0xbff4a8(0x23e)],[[Ke],[De],[exports[_0xbff4a8(0x280)]],[exports['CollaborationController']],[exports[_0xbff4a8(0x514)]],[qe]]);}},so(exports['UniverCollaborationClientPlugin'],_0x3a3cba(0x12e),ro),exports[_0x3a3cba(0x376)]=no([a[_0x3a3cba(0x28b)](p[_0x3a3cba(0x269)],z[_0x3a3cba(0x4e7)]),He(0x1,a[_0x3a3cba(0x4cc)]),He(0x2,K[_0x3a3cba(0x16d)]),He(0x3,a[_0x3a3cba(0x4b4)](a[_0x3a3cba(0x207)])),He(0x4,a[_0x3a3cba(0x311)])],exports[_0x3a3cba(0x376)]),exports[_0x3a3cba(0x4ce)]=Ut,exports['COLLAB_CLIENT_CONFIG_KEY']=Q,exports[_0x3a3cba(0x13a)]=li,exports[_0x3a3cba(0x380)]=si,exports[_0x3a3cba(0x1de)]=q,exports[_0x3a3cba(0x2ac)]=Oi,exports[_0x3a3cba(0x387)]=Rt,exports[_0x3a3cba(0x233)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports['ICollaborationSocketService']=Tt,exports[_0x3a3cba(0x3e7)]=wt,exports[_0x3a3cba(0x419)]=ci,exports[_0x3a3cba(0x21d)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x3a3cba(0x4b0)]=Wi,exports['SNAPSHOT_SERVER_URL_KEY']=ii,exports[_0x3a3cba(0x32c)]=ni,exports[_0x3a3cba(0x26e)]=se,exports[_0x3a3cba(0x152)]=Ii,exports[_0x3a3cba(0x438)]=Li,exports['deserializeToCombResponse']=di,exports[_0x3a3cba(0x52d)]=fi;
|