/*! For license information please see detail.js.LICENSE.txt */ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=34)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports={".permissions_box":{"":{paddingTop:["50rpx",0,0,0],paddingRight:["30rpx",0,0,0],paddingBottom:["50rpx",0,0,0],paddingLeft:["30rpx",0,0,0],fontSize:["30rpx",0,0,0],lineHeight:["50rpx",0,0,0],backgroundColor:["#ffffff",0,0,0]}},"@VERSION":2}},function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s,u,l){var c,d="function"==typeof e?e.options:e;if(u){d.components||(d.components={});var p=Object.prototype.hasOwnProperty;for(var f in u)p.call(u,f)&&!p.call(d.components,f)&&(d.components[f]=u[f])}if(l&&("function"==typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(d.functional){d._injectStyles=c;var g=d.render;d.render=function(e,t){return c.call(t),g(e,t)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:d}}n.d(t,"a",(function(){return r}))},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ZegoWatermark=t.ZegoVoiceChangerParam=t.ZegoViewMode=t.ZegoVideoStreamType=t.ZegoVideoMirrorMode=t.ZegoVideoConfigPreset=t.ZegoVideoConfig=t.ZegoVideoCodecID=t.ZegoUser=t.ZegoUpdateType=t.ZegoTrafficControlProperty=t.ZegoTrafficControlMinVideoBitrateMode=t.ZegoStreamResourceType=t.ZegoStreamResourceSwitchMode=t.ZegoStreamResourceMode=t.ZegoStreamRelayCDNUpdateReason=t.ZegoStreamRelayCDNState=t.ZegoStreamQualityLevel=t.ZegoSoundLevelConfig=t.ZegoScenario=t.ZegoRoomStateChangedReason=t.ZegoRoomState=t.ZegoRoomMode=t.ZegoRoomConfig=t.ZegoRemoteDeviceState=t.ZegoRect=t.ZegoPublisherState=t.ZegoPublisherConfig=t.ZegoPublishChannel=t.ZegoPlayerState=t.ZegoPlayerMediaEvent=t.ZegoPlayerConfig=t.ZegoOrientation=t.ZegoNetWorkResourceCache=t.ZegoMultimediaLoadType=t.ZegoMixerVideoConfig=t.ZegoMixerTask=t.ZegoMixerOutput=t.ZegoMixerInputContentType=t.ZegoMixerInput=t.ZegoMixerAudioConfig=t.ZegoMediaPlayerState=t.ZegoMediaPlayerResource=t.ZegoMediaPlayerNetworkEvent=t.ZegoMediaPlayerAudioChannel=t.ZegoMediaPlayer=t.ZegoLogConfig=t.ZegoEngineState=t.ZegoEngineProfile=t.ZegoEngineConfig=t.ZegoEffectsBeautyParam=t.ZegoDeviceType=t.ZegoDeviceExceptionType=t.ZegoDataRecordType=t.ZegoDataRecordState=t.ZegoDataRecordProgress=t.ZegoDataRecordConfig=t.ZegoCDNConfig=t.ZegoAutoMixerTask=t.ZegoAudioRoute=t.ZegoAudioMixMode=t.ZegoAudioConfigPreset=t.ZegoAudioConfig=t.ZegoAudioCodecID=t.ZegoAudioChannel=t.ZegoAlphaLayoutType=t.ZegoAccurateSeekConfig=t.ZegoANSMode=t.ZegoAECMode=void 0;var o,a,i,s,u,l,c,d,p,f,g,h,m,y,v,x,S,b,C,k,M,I,P,_,w,E,Z,A,R,D,T,O,L,V,j,N,B,q,U,F,H,G,W=r(n(27)),z=r(n(26));t.ZegoScenario=o,function(e){e[e.General=0]="General",e[e.Communication=1]="Communication",e[e.Live=2]="Live",e[e.Default=3]="Default",e[e.StandardVideoCall=4]="StandardVideoCall",e[e.HighQualityVideoCall=5]="HighQualityVideoCall",e[e.StandardChatroom=6]="StandardChatroom",e[e.HighQualityChatroom=7]="HighQualityChatroom",e[e.Broadcast=8]="Broadcast",e[e.Karaoke=9]="Karaoke",e[e.StandardVoiceCall=10]="StandardVoiceCall"}(o||(t.ZegoScenario=o={})),t.ZegoRoomMode=a,function(e){e[e.SingleRoom=0]="SingleRoom",e[e.MultiRoom=1]="MultiRoom"}(a||(t.ZegoRoomMode=a={})),t.ZegoEngineState=i,function(e){e[e.Start=0]="Start",e[e.Stop=1]="Stop"}(i||(t.ZegoEngineState=i={})),t.ZegoRoomState=s,function(e){e[e.Disconnected=0]="Disconnected",e[e.Connecting=1]="Connecting",e[e.Connected=2]="Connected"}(s||(t.ZegoRoomState=s={})),t.ZegoRoomStateChangedReason=u,function(e){e[e.Logining=0]="Logining",e[e.Logined=1]="Logined",e[e.LoginFailed=2]="LoginFailed",e[e.Reconnecting=3]="Reconnecting",e[e.Reconnected=4]="Reconnected",e[e.ReconnectFailed=5]="ReconnectFailed",e[e.KickOut=6]="KickOut",e[e.Logout=7]="Logout",e[e.LogoutFailed=8]="LogoutFailed"}(u||(t.ZegoRoomStateChangedReason=u={})),t.ZegoPublishChannel=l,function(e){e[e.Main=0]="Main",e[e.Aux=1]="Aux",e[e.Third=2]="Third",e[e.Fourth=3]="Fourth"}(l||(t.ZegoPublishChannel=l={})),t.ZegoViewMode=c,function(e){e[e.AspectFit=0]="AspectFit",e[e.AspectFill=1]="AspectFill",e[e.ScaleToFill=2]="ScaleToFill"}(c||(t.ZegoViewMode=c={})),t.ZegoVideoMirrorMode=d,function(e){e[e.OnlyPreviewMirror=0]="OnlyPreviewMirror",e[e.BothMirror=1]="BothMirror",e[e.NoMirror=2]="NoMirror",e[e.OnlyPublishMirror=3]="OnlyPublishMirror"}(d||(t.ZegoVideoMirrorMode=d={})),t.ZegoPublisherState=p,function(e){e[e.NoPublish=0]="NoPublish",e[e.PublishRequesting=1]="PublishRequesting",e[e.Publishing=2]="Publishing"}(p||(t.ZegoPublisherState=p={})),t.ZegoVideoConfigPreset=f,function(e){e[e.Preset180P=0]="Preset180P",e[e.Preset270P=1]="Preset270P",e[e.Preset360P=2]="Preset360P",e[e.Preset540P=3]="Preset540P",e[e.Preset720P=4]="Preset720P",e[e.Preset1080P=5]="Preset1080P"}(f||(t.ZegoVideoConfigPreset=f={})),t.ZegoStreamQualityLevel=g,function(e){e[e.Excellent=0]="Excellent",e[e.Good=1]="Good",e[e.Medium=2]="Medium",e[e.Bad=3]="Bad",e[e.Die=4]="Die",e[e.Unknown=5]="Unknown"}(g||(t.ZegoStreamQualityLevel=g={})),t.ZegoAudioChannel=h,function(e){e[e.Unknown=0]="Unknown",e[e.Mono=1]="Mono",e[e.Stereo=2]="Stereo"}(h||(t.ZegoAudioChannel=h={})),t.ZegoAudioMixMode=m,function(e){e[e.Raw=0]="Raw",e[e.Focused=1]="Focused"}(m||(t.ZegoAudioMixMode=m={})),t.ZegoAudioCodecID=y,function(e){e[e.Default=0]="Default",e[e.Normal=1]="Normal",e[e.Normal2=2]="Normal2",e[e.Normal3=3]="Normal3",e[e.Low=4]="Low",e[e.Low2=5]="Low2",e[e.Low3=6]="Low3"}(y||(t.ZegoAudioCodecID=y={})),t.ZegoVideoCodecID=v,function(e){e[e.Default=0]="Default",e[e.SVC=1]="SVC",e[e.VP8=2]="VP8",e[e.H265=3]="H265",e[e.H264DualStream=4]="H264DualStream",e[e.Unknown=100]="Unknown"}(v||(t.ZegoVideoCodecID=v={})),t.ZegoOrientation=x,function(e){e[e.PortraitUp=0]="PortraitUp",e[e.LandscapeLeft=1]="LandscapeLeft",e[e.PortraitDown=2]="PortraitDown",e[e.LandscapeRight=3]="LandscapeRight"}(x||(t.ZegoOrientation=x={})),t.ZegoVideoStreamType=S,function(e){e[e.Default=0]="Default",e[e.Small=1]="Small",e[e.Big=2]="Big"}(S||(t.ZegoVideoStreamType=S={})),t.ZegoAECMode=b,function(e){e[e.Aggressive=0]="Aggressive",e[e.Medium=1]="Medium",e[e.Soft=2]="Soft"}(b||(t.ZegoAECMode=b={})),t.ZegoANSMode=C,function(e){e[e.Soft=0]="Soft",e[e.Medium=1]="Medium",e[e.Aggressive=2]="Aggressive",e[e.AI=3]="AI",e[e.AIBalanced=4]="AIBalanced"}(C||(t.ZegoANSMode=C={})),t.ZegoTrafficControlProperty=k,function(e){e[e.Basic=0]="Basic",e[e.AdaptiveFPS=1]="AdaptiveFPS",e[e.AdaptiveResolution=2]="AdaptiveResolution",e[e.AdaptiveAudioBitrate=4]="AdaptiveAudioBitrate"}(k||(t.ZegoTrafficControlProperty=k={})),t.ZegoTrafficControlMinVideoBitrateMode=M,function(e){e[e.NoVideo=0]="NoVideo",e[e.UltraLowFPS=1]="UltraLowFPS"}(M||(t.ZegoTrafficControlMinVideoBitrateMode=M={})),t.ZegoPlayerState=I,function(e){e[e.NoPlay=0]="NoPlay",e[e.PlayRequesting=1]="PlayRequesting",e[e.Playing=2]="Playing"}(I||(t.ZegoPlayerState=I={})),t.ZegoPlayerMediaEvent=P,function(e){e[e.AudioBreakOccur=0]="AudioBreakOccur",e[e.AudioBreakResume=1]="AudioBreakResume",e[e.VideoBreakOccur=2]="VideoBreakOccur",e[e.VideoBreakResume=3]="VideoBreakResume"}(P||(t.ZegoPlayerMediaEvent=P={})),t.ZegoStreamResourceMode=_,function(e){e[e.Default=0]="Default",e[e.OnlyCDN=1]="OnlyCDN",e[e.OnlyL3=2]="OnlyL3",e[e.OnlyRTC=3]="OnlyRTC",e[e.CDNPlus=4]="CDNPlus"}(_||(t.ZegoStreamResourceMode=_={})),t.ZegoStreamResourceSwitchMode=w,function(e){e[e.Default=0]="Default",e[e.SwitchToRTC=1]="SwitchToRTC",e[e.KeepOriginal=2]="KeepOriginal"}(w||(t.ZegoStreamResourceSwitchMode=w={})),t.ZegoStreamResourceType=E,function(e){e[e.Default=0]="Default",e[e.CDN=1]="CDN",e[e.L3=2]="L3"}(E||(t.ZegoStreamResourceType=E={})),t.ZegoUpdateType=Z,function(e){e[e.Add=0]="Add",e[e.Delete=1]="Delete"}(Z||(t.ZegoUpdateType=Z={})),t.ZegoStreamRelayCDNState=A,function(e){e[e.NoRelay=0]="NoRelay",e[e.RelayRequesting=1]="RelayRequesting",e[e.Relaying=2]="Relaying"}(A||(t.ZegoStreamRelayCDNState=A={})),t.ZegoStreamRelayCDNUpdateReason=R,function(e){e[e.None=0]="None",e[e.ServerError=1]="ServerError",e[e.HandshakeFailed=2]="HandshakeFailed",e[e.AccessPointError=3]="AccessPointError",e[e.CreateStreamFailed=4]="CreateStreamFailed",e[e.BadName=5]="BadName",e[e.CDNServerDisconnected=6]="CDNServerDisconnected",e[e.Disconnected=7]="Disconnected",e[e.MixStreamAllInputStreamClosed=8]="MixStreamAllInputStreamClosed",e[e.MixStreamAllInputStreamNoData=9]="MixStreamAllInputStreamNoData",e[e.MixStreamServerInternalError=10]="MixStreamServerInternalError"}(R||(t.ZegoStreamRelayCDNUpdateReason=R={})),t.ZegoDeviceType=D,function(e){e[e.Unknown=0]="Unknown",e[e.Camera=1]="Camera",e[e.Microphone=2]="Microphone",e[e.Speaker=3]="Speaker",e[e.AudioDevice=4]="AudioDevice",e[e.AudioSession=5]="AudioSession"}(D||(t.ZegoDeviceType=D={})),t.ZegoDeviceExceptionType=T,function(e){e[e.Unknown=0]="Unknown",e[e.Generic=1]="Generic",e[e.InvalidId=2]="InvalidId",e[e.PermissionNotGranted=3]="PermissionNotGranted",e[e.ZeroCaptureFps=4]="ZeroCaptureFps",e[e.DeviceOccupied=5]="DeviceOccupied",e[e.DeviceUnplugged=6]="DeviceUnplugged",e[e.RebootRequired=7]="RebootRequired",e[e.MediaServicesWereLost=8]="MediaServicesWereLost",e[e.SiriIsRecording=9]="SiriIsRecording",e[e.SoundLevelTooLow=10]="SoundLevelTooLow",e[e.MagneticCase=11]="MagneticCase",e[e.AudioSessionDeactive=12]="AudioSessionDeactive",e[e.AudioSessionCategoryChange=13]="AudioSessionCategoryChange"}(T||(t.ZegoDeviceExceptionType=T={})),t.ZegoRemoteDeviceState=O,function(e){e[e.Open=0]="Open",e[e.GenericError=1]="GenericError",e[e.InvalidID=2]="InvalidID",e[e.NoAuthorization=3]="NoAuthorization",e[e.ZeroFPS=4]="ZeroFPS",e[e.InUseByOther=5]="InUseByOther",e[e.Unplugged=6]="Unplugged",e[e.RebootRequired=7]="RebootRequired",e[e.SystemMediaServicesLost=8]="SystemMediaServicesLost",e[e.Disable=9]="Disable",e[e.Mute=10]="Mute",e[e.Interruption=11]="Interruption",e[e.InBackground=12]="InBackground",e[e.MultiForegroundApp=13]="MultiForegroundApp",e[e.BySystemPressure=14]="BySystemPressure",e[e.NotSupport=15]="NotSupport"}(O||(t.ZegoRemoteDeviceState=O={})),t.ZegoAudioRoute=L,function(e){e[e.Speaker=0]="Speaker",e[e.Headphone=1]="Headphone",e[e.Bluetooth=2]="Bluetooth",e[e.Receiver=3]="Receiver",e[e.ExternalUSB=4]="ExternalUSB",e[e.AirPlay=5]="AirPlay"}(L||(t.ZegoAudioRoute=L={})),t.ZegoMixerInputContentType=V,function(e){e[e.Audio=0]="Audio",e[e.Video=1]="Video",e[e.VideoOnly=2]="VideoOnly"}(V||(t.ZegoMixerInputContentType=V={})),t.ZegoAudioConfigPreset=j,function(e){e[e.BasicQuality=0]="BasicQuality",e[e.StandardQuality=1]="StandardQuality",e[e.StandardQualityStereo=2]="StandardQualityStereo",e[e.HighQuality=3]="HighQuality",e[e.HighQualityStereo=4]="HighQualityStereo"}(j||(t.ZegoAudioConfigPreset=j={})),t.ZegoMediaPlayerState=N,function(e){e[e.NoPlay=0]="NoPlay",e[e.Playing=1]="Playing",e[e.Pausing=2]="Pausing",e[e.PlayEnded=3]="PlayEnded"}(N||(t.ZegoMediaPlayerState=N={})),t.ZegoMediaPlayerNetworkEvent=B,function(e){e[e.BufferBegin=0]="BufferBegin",e[e.BufferEnded=1]="BufferEnded"}(B||(t.ZegoMediaPlayerNetworkEvent=B={})),t.ZegoMediaPlayerAudioChannel=q,function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.All=2]="All"}(q||(t.ZegoMediaPlayerAudioChannel=q={})),t.ZegoDataRecordType=U,function(e){e[e.Default=0]="Default",e[e.OnlyAudio=1]="OnlyAudio",e[e.OnlyVideo=2]="OnlyVideo",e[e.AudioAndVideo=3]="AudioAndVideo"}(U||(t.ZegoDataRecordType=U={})),t.ZegoDataRecordState=F,function(e){e[e.NoRecord=0]="NoRecord",e[e.Recording=1]="Recording",e[e.Success=2]="Success"}(F||(t.ZegoDataRecordState=F={})),t.ZegoMultimediaLoadType=H,function(e){e[e.FilePath=0]="FilePath",e[e.Memory=1]="Memory",e[e.ResourceID=2]="ResourceID"}(H||(t.ZegoMultimediaLoadType=H={})),t.ZegoAlphaLayoutType=G,function(e){e[e.None=0]="None",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Bottom=3]="Bottom"}(G||(t.ZegoAlphaLayoutType=G={}));var Y=(0,W.default)((function e(){(0,z.default)(this,e),this.logPath="",this.logSize=5242880,this.logCount=3}));t.ZegoLogConfig=Y;var $=(0,W.default)((function e(t,n,r){(0,z.default)(this,e),this.appID=t,this.appSign=n,this.scenario=r}));t.ZegoEngineProfile=$;var J=(0,W.default)((function e(){(0,z.default)(this,e)}));t.ZegoEngineConfig=J;var Q=(0,W.default)((function e(t,n,r){(0,z.default)(this,e),this.maxMemberCount=t,this.isUserStatusNotify=n,this.token=r}));t.ZegoRoomConfig=Q;var K=(0,W.default)((function e(t,n,r,o,a,i,s){(0,z.default)(this,e),this.captureWidth=t,this.captureHeight=n,this.encodeWidth=r,this.encodeHeight=o,this.fps=a,this.bitrate=i,this.codecID=s}));t.ZegoVideoConfig=K;var X=(0,W.default)((function e(t){(0,z.default)(this,e),this.pitch=t}));t.ZegoVoiceChangerParam=X;var ee=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.userID=t,this.userName=n}));t.ZegoUser=ee;var te=(0,W.default)((function e(t,n,r,o){(0,z.default)(this,e),this.x=t,this.y=n,this.width=r,this.height=o}));t.ZegoRect=te;var ne=(0,W.default)((function e(){(0,z.default)(this,e)}));t.ZegoPublisherConfig=ne;var re=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.url=t,this.authParam=n}));t.ZegoCDNConfig=re;var oe=(0,W.default)((function e(t){(0,z.default)(this,e),this.cdnConfig=t}));t.ZegoPlayerConfig=oe;var ae=(0,W.default)((function e(){(0,z.default)(this,e),this.whitenIntensity=50,this.rosyIntensity=50,this.smoothIntensity=50,this.sharpenIntensity=50}));t.ZegoEffectsBeautyParam=ae;var ie=(0,W.default)((function e(){(0,z.default)(this,e),this.bitrate=48,this.channel=h.Mono,this.codecID=y.Default,this.mixMode=m.Raw}));t.ZegoMixerAudioConfig=ie;var se=(0,W.default)((function e(){(0,z.default)(this,e),this.width=360,this.height=640,this.fps=15,this.bitrate=600}));t.ZegoMixerVideoConfig=se;var ue=(0,W.default)((function e(t,n,r,o){(0,z.default)(this,e),this.streamID=t,this.contentType=n,this.layout=r,this.soundLevelID=o}));t.ZegoMixerInput=ue;var le=(0,W.default)((function e(t){(0,z.default)(this,e),this.target=t}));t.ZegoMixerOutput=le;var ce=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.imageURL=t,this.layout=n}));t.ZegoWatermark=ce;var de=(0,W.default)((function e(t){(0,z.default)(this,e),this.taskID=t,this.inputList=[],this.outputList=[],this.audioConfig=new ie,this.videoConfig=new se,this.enableSoundLevel=!1,this.backgroundImageURL="",this.watermark=new ce("",new te(0,0,0,0)),this.advancedConfig=new Map}));t.ZegoMixerTask=de;var pe=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.millisecond=t,this.enableVAD=n}));t.ZegoSoundLevelConfig=pe;var fe=(0,W.default)((function e(){(0,z.default)(this,e),this.taskID="",this.roomID="",this.outputList=[],this.audioConfig=new ie,this.enableSoundLevel=!1}));t.ZegoAutoMixerTask=fe;var ge=(0,W.default)((function e(t,n,r){(0,z.default)(this,e),this.bitrate=t,this.channel=n,this.codecID=r}));t.ZegoAudioConfig=ge;var he=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.filePath=t,this.recordType=n}));t.ZegoDataRecordConfig=he;var me=(0,W.default)((function e(t,n,r){(0,z.default)(this,e),this.duration=t,this.currentFileSize=n,this.quality=r}));t.ZegoDataRecordProgress=me;var ye=(0,W.default)((function e(){(0,z.default)(this,e),this.timeout=5e3}));t.ZegoAccurateSeekConfig=ye;var ve=(0,W.default)((function e(t,n){(0,z.default)(this,e),this.time=t,this.size=n}));t.ZegoNetWorkResourceCache=ve;var xe=(0,W.default)((function e(){(0,z.default)(this,e),this.loadType=H.FilePath,this.startPosition=0,this.alphaLayout=G.None,this.filePath="",this.memory=void 0,this.resourceID=""}));t.ZegoMediaPlayerResource=xe;var Se=(0,W.default)((function e(){(0,z.default)(this,e)}));t.ZegoMediaPlayer=Se},,function(e,t,n){"use strict";var r=n(18),o=n(10),a=n(2);var i=Object(a.a)(o.default,r.b,r.c,!1,null,null,"532bb526",!1,r.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(32).default,this.options.style):Object.assign(this.options.style,n(32).default)}).call(i),t.default=i.exports},function(e,t,n){"use strict";function r(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function o(){return"string"==typeof __channelId__&&__channelId__}function a(e,t){switch(r(t)){case"Function":return"function() { [native code] }";default:return t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n1){var l=s.pop();u=s.join("---COMMA---"),0===l.indexOf(" at ")?u+=l:u+="---COMMA---"+l}else u=s[0];console[i](u)},t.log=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=r(n(24)),i=r(n(28)),s=r(n(25)),u=n(38),l=(o={costDescription:function(e){return(0,u.request)({url:"api/costDescription",method:"get",data:e})},userSpeedDating:function(e){return(0,u.request)({url:"api/user/userSpeedDating",method:"post",data:e})},sameCitySpeedDating:function(e){return(0,u.request)({url:"api/user/sameCitySpeedDating",method:"post",data:e})},giftGiving:function(e){return(0,u.request)({url:"api/user/giftGiving",method:"post",data:e})}},(0,i.default)(o,"giftGiving",(function(e){return(0,u.request)({url:"api/user/giftGiving",method:"post",data:e})})),(0,i.default)(o,"giftList",(function(e){return(0,u.request)({url:"api/giftList",method:"post",data:e})})),(0,i.default)(o,"createPoster",(function(e){return(0,u.request)({url:"api/user/createPoster",method:"post",data:e})})),(0,i.default)(o,"wxAppOneKeyLogin",(function(e){return(0,u.request)({url:"api/wxpublic/wxAppOneKeyLogin",method:"post",data:e})})),(0,i.default)(o,"findChatList",(function(e){return(0,u.request)({url:"api/user/findChatList",method:"post",data:e})})),(0,i.default)(o,"cityList",(function(e){return(0,u.request)({url:"api/cityList",method:"get",data:e})})),(0,i.default)(o,"cleanAllMsg",(function(e){return(0,u.request)({url:"api/user/cleanAllMsg",method:"post",data:e})})),(0,i.default)(o,"cleanOneMsg",(function(e){return(0,u.request)({url:"api/user/cleanOneMsg",method:"post",data:e})})),(0,i.default)(o,"dashaCount",(function(e){return(0,u.request)({url:"api/user/dashaCount",method:"post",data:e})})),(0,i.default)(o,"refundOrder",(function(e){return(0,u.request)({url:"api/user/refundOrder",method:"post",data:e})})),(0,i.default)(o,"acceptOrder",(function(e){return(0,u.request)({url:"api/user/acceptOrder",method:"post",data:e})})),(0,i.default)(o,"serviceOrder",(function(e){return(0,u.request)({url:"api/user/serviceOrder",method:"post",data:e})})),(0,i.default)(o,"serviceCompleteOrder",(function(e){return(0,u.request)({url:"api/user/serviceCompleteOrder",method:"post",data:e})})),(0,i.default)(o,"deleteOrder",(function(e){return(0,u.request)({url:"api/user/deleteOrder",method:"post",data:e})})),(0,i.default)(o,"cancelOrder",(function(e){return(0,u.request)({url:"api/user/cancelOrder",method:"post",data:e})})),(0,i.default)(o,"orderDetail",(function(e){return(0,u.request)({url:"api/user/orderDetail",method:"post",data:e})})),(0,i.default)(o,"orderList",(function(e){return(0,u.request)({url:"api/user/orderList",method:"post",data:e})})),(0,i.default)(o,"trackUpload",(function(e){return(0,u.request)({url:"api/user/trackUpload",method:"post",data:e})})),(0,i.default)(o,"findFrindList",(function(e){return(0,u.request)({url:"api/user/findFrindList",method:"post",data:e})})),(0,i.default)(o,"systemNoticeList",(function(e){return(0,u.request)({url:"api/systemNoticeList",method:"post",data:e})})),(0,i.default)(o,"urbanCooperation",(function(e){return(0,u.request)({url:"api/user/urbanCooperation",method:"post",data:e})})),(0,i.default)(o,"feedback",(function(e){return(0,u.request)({url:"api/user/feedback",method:"post",data:e})})),(0,i.default)(o,"feedbackList",(function(e){return(0,u.request)({url:"api/user/feedbackList",method:"post",data:e})})),(0,i.default)(o,"helpCenter",(function(e){return(0,u.request)({url:"api/helpCenter",method:"get",data:e})})),(0,i.default)(o,"closeTeenageMode",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/closeTeenageMode",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"openTeenageMode",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/openTeenageMode",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"cancelAccount",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/cancelAccount",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"privacyConfig",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/privacyConfig",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"addOrRemoveBlacklist",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/addOrRemoveBlacklist",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"myTeam",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/myTeam",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"taskList",(function(e){return(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.request)({url:"api/user/taskList",method:"post",data:e}));case 1:case"end":return t.stop()}}),t)})))()})),(0,i.default)(o,"editSitter",(function(e){return(0,u.request)({url:"api/user/editSitter",method:"post",data:e})})),(0,i.default)(o,"sitterRegister",(function(e){return(0,u.request)({url:"api/user/sitterRegister",method:"post",data:e})})),(0,i.default)(o,"sellerUserList",(function(e){return(0,u.request)({url:"api/user/sellerUserList",method:"post",data:e})})),(0,i.default)(o,"userRecordList",(function(e){return(0,u.request)({url:"api/user/userRecordList",method:"post",data:e})})),(0,i.default)(o,"mealsetRechargeCreateOrder",(function(e){return(0,u.request)({url:"api/user/mealsetRechargeCreateOrder",method:"post",data:e})})),(0,i.default)(o,"mealsetList",(function(e){return(0,u.request)({url:"api/mealsetList",method:"post",data:e})})),(0,i.default)(o,"withdrawal",(function(e){return(0,u.request)({url:"api/user/withdrawal",method:"post",data:e})})),(0,i.default)(o,"userWallet",(function(e){return(0,u.request)({url:"api/user/userWallet",method:"post",data:e})})),(0,i.default)(o,"sitterList",(function(e){return(0,u.request)({url:"api/sitterList",method:"post",data:e})})),(0,i.default)(o,"friendList",(function(e){return(0,u.request)({url:"api/user/friendList",method:"post",data:e})})),(0,i.default)(o,"findZegoToken",(function(e){return(0,u.request)({url:"api/user/findZegoToken",method:"post",data:e})})),(0,i.default)(o,"preCreateOrder",(function(e){return(0,u.request)({url:"api/user/preCreateOrder",method:"post",data:e})})),(0,i.default)(o,"membershipBenefits",(function(e){return(0,u.request)({url:"api/user/membershipBenefits",method:"post",data:e})})),(0,i.default)(o,"careOrCancel",(function(e){return(0,u.request)({url:"api/user/careOrCancel",method:"post",data:e})})),(0,i.default)(o,"findOtherUserInfo",(function(e){return(0,u.request)({url:"api/user/findOtherUserInfo",method:"post",data:e})})),(0,i.default)(o,"nearbyCustomerList",(function(e){return(0,u.request)({url:"api/user/nearbyCustomerList",method:"post",data:e})})),(0,i.default)(o,"customerRecommendList",(function(e){return(0,u.request)({url:"api/user/customerRecommendList",method:"post",data:e})})),(0,i.default)(o,"socialConsumption",(function(e){return(0,u.request)({url:"api/user/socialConsumption",method:"post",data:e})})),(0,i.default)(o,"chat",(function(e){return(0,u.request)({url:"api/user/chat",method:"post",data:e})})),(0,i.default)(o,"userBalance",(function(e){return(0,u.request)({url:"api/user/userBalance",method:"post",data:e})})),(0,i.default)(o,"setAccostDefault",(function(e){return(0,u.request)({url:"api/user/setAccostDefault",method:"post",data:e})})),(0,i.default)(o,"findAccost",(function(e){return(0,u.request)({url:"api/user/findAccost",method:"post",data:e})})),(0,i.default)(o,"report",(function(e){return(0,u.request)({url:"api/user/report",method:"post",data:e})})),(0,i.default)(o,"zan",(function(e){return(0,u.request)({url:"api/user/zan",method:"post",data:e})})),(0,i.default)(o,"commentReply",(function(e){return(0,u.request)({url:"api/user/commentReply",method:"post",data:e})})),(0,i.default)(o,"articleDetail",(function(e){return(0,u.request)({url:"api/user/articleDetail",method:"post",data:e})})),(0,i.default)(o,"userArticleList",(function(e){return(0,u.request)({url:"api/user/userArticleList",method:"post",data:e})})),(0,i.default)(o,"userArticleList",(function(e){return(0,u.request)({url:"api/user/userArticleList",method:"post",data:e})})),(0,i.default)(o,"userSellerServiceList",(function(e){return(0,u.request)({url:"api/user/userSellerServiceList",method:"post",data:e})})),(0,i.default)(o,"paymentOrder",(function(e){return(0,u.request)({url:"api/user/paymentOrder",method:"get",data:e})})),(0,i.default)(o,"memberCreateOrder",(function(e){return(0,u.request)({url:"api/user/memberCreateOrder",method:"post",data:e})})),(0,i.default)(o,"getConfigData",(function(e){return(0,u.request)({url:"api/getConfigData",method:"get",data:e})})),(0,i.default)(o,"memberList",(function(e){return(0,u.request)({url:"api/memberList",method:"get",data:e})})),(0,i.default)(o,"sign",(function(e){return(0,u.request)({url:"api/user/sign",method:"post",data:e})})),(0,i.default)(o,"articleDetailt",(function(e){return(0,u.request)({url:"api/user/articleDetailt",method:"post",data:e})})),(0,i.default)(o,"publishArticle",(function(e){return(0,u.request)({url:"api/user/publishArticle",method:"post",data:e})})),(0,i.default)(o,"articleList",(function(e){return(0,u.request)({url:"api/user/articleList",method:"post",data:e})})),(0,i.default)(o,"myAlbums",(function(e){return(0,u.request)({url:"api/user/myAlbums",method:"post",data:e})})),(0,i.default)(o,"editUser",(function(e){return(0,u.request)({url:"api/user/editUser",method:"post",data:e})})),(0,i.default)(o,"voiceSign",(function(e){return(0,u.request)({url:"api/user/voiceSign",method:"post",data:e})})),(0,i.default)(o,"getDictDataByType",(function(e){return(0,u.request)({url:"api/getDictDataByType",method:"get",data:e})})),(0,i.default)(o,"detectLivingFace",(function(e){return(0,u.request)({url:"api/user/detectLivingFace",method:"post",data:e})})),(0,i.default)(o,"realNameAuth",(function(e){return(0,u.request)({url:"api/user/realNameAuth",method:"post",data:e})})),(0,i.default)(o,"phoneAuth",(function(e){return(0,u.request)({url:"api/user/phoneAuth",method:"post",data:e})})),(0,i.default)(o,"findUserInfo",(function(e){return(0,u.request)({url:"api/user/findUserInfo",method:"post",data:e})})),(0,i.default)(o,"forgetPsw",(function(e){return(0,u.request)({url:"api/forgetPsw",method:"post",data:e})})),(0,i.default)(o,"sendSmsCode",(function(e){return(0,u.request)({url:"api/sendSmsCode",method:"post",data:e})})),(0,i.default)(o,"toLogin",(function(e){return(0,u.request)({url:"api/loginByCode",method:"post",data:e})})),(0,i.default)(o,"regByCode",(function(e){return(0,u.request)({url:"api/regByCode",method:"post",data:e})})),(0,i.default)(o,"loginForPsw",(function(e){return(0,u.request)({url:"/api/loginForPsw",method:"post",data:e})})),(0,i.default)(o,"registerEditUser",(function(e){return(0,u.request)({url:"api/user/registerEditUser",method:"post",data:e})})),(0,i.default)(o,"getMemberInfo",(function(e){return(0,u.request)({url:"api/user/getinfo",method:"post",data:e})})),o);t.default=l},function(e,t,n){var r=n(3).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.request=function(e){return new Promise((function(t,n){var r=a+"/prod-api/"+e.url;uni.request({url:r,data:e.data,method:e.method,header:{token:uni.getStorageSync("userInfo").token,"Content-type":"application/json",deviceSn:uni.getStorageSync("deviceSn")},success:function(e){200==e.data.code||-1==e.data.code?t(e.data):401==e.data.code?uni.showModal({title:"\u6e29\u99a8\u63d0\u793a",content:"\u5f53\u524d\u8d26\u53f7\u5df2\u8fc7\u671f\uff0c\u662f\u5426\u91cd\u65b0\u767b\u5f55",confirmColor:"#05754D",success:function(e){uni.removeStorageSync("userInfo"),uni.navigateTo({url:"/pages/login/login"})}}):(n(e.data),uni.showToast({icon:"none",title:e.data.msg,duration:3e3}))},fail:function(e){n(e)},complete:function(){}})}))};var o=r(n(39)),a="https://api.lyiyuan.cn";o.default.prototype.$baseUrl=a},function(e,t){e.exports=Vue},function(e,t,n){(function(t){var n;n="iOS"==plus.os.name,e.exports={judgeIosPermission:function(e){return"location"==e?(r=plus.ios.import("CLLocationManager"),o=r.authorizationStatus(),t("log","\u5b9a\u4f4d\u6743\u9650\u5f00\u542f\uff1a"+(n=2!=o)," at js_sdk/wa-permission/permission.js:48"),plus.ios.deleteObject(r),n):"camera"==e?function(){var e=!1,n=plus.ios.import("AVCaptureDevice"),r=n.authorizationStatusForMediaType("vide");return t("log","authStatus:"+r," at js_sdk/wa-permission/permission.js:86"),3==r?(e=!0,t("log","\u76f8\u673a\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:89")):t("log","\u76f8\u673a\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:91"),plus.ios.deleteObject(n),e}():"photoLibrary"==e?function(){var e=!1,n=plus.ios.import("PHPhotoLibrary"),r=n.authorizationStatus();return t("log","authStatus:"+r," at js_sdk/wa-permission/permission.js:102"),3==r?(e=!0,t("log","\u76f8\u518c\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:105")):t("log","\u76f8\u518c\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:107"),plus.ios.deleteObject(n),e}():"record"==e?function(){var e=!1,n=plus.ios.import("AVAudioSession"),r=n.sharedInstance().recordPermission();return t("log","permissionStatus:"+r," at js_sdk/wa-permission/permission.js:70"),1684369017==r||1970168948==r?t("log","\u9ea6\u514b\u98ce\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:72"):(e=!0,t("log","\u9ea6\u514b\u98ce\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:75")),plus.ios.deleteObject(n),e}():"push"==e?function(){var e=!1,n=plus.ios.import("UIApplication"),r=n.sharedApplication(),o=0;if(r.currentUserNotificationSettings){var a=r.currentUserNotificationSettings();o=a.plusGetAttribute("types"),t("log","enabledTypes1:"+o," at js_sdk/wa-permission/permission.js:19"),0==o?t("log","\u63a8\u9001\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:21"):(e=!0,t("log","\u5df2\u7ecf\u5f00\u542f\u63a8\u9001\u529f\u80fd!"," at js_sdk/wa-permission/permission.js:24")),plus.ios.deleteObject(a)}else 0==(o=r.enabledRemoteNotificationTypes())?t("log","\u63a8\u9001\u6743\u9650\u6ca1\u6709\u5f00\u542f!"," at js_sdk/wa-permission/permission.js:30"):(e=!0,t("log","\u5df2\u7ecf\u5f00\u542f\u63a8\u9001\u529f\u80fd!"," at js_sdk/wa-permission/permission.js:33")),t("log","enabledTypes2:"+o," at js_sdk/wa-permission/permission.js:35");return plus.ios.deleteObject(r),plus.ios.deleteObject(n),e}():"contact"==e?function(){var e=!1,n=plus.ios.import("CNContactStore");return 3==n.authorizationStatusForEntityType(0)?(e=!0,t("log","\u901a\u8baf\u5f55\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:120")):t("log","\u901a\u8baf\u5f55\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:122"),plus.ios.deleteObject(n),e}():"calendar"==e?function(){var e=!1,n=plus.ios.import("EKEventStore");return 3==n.authorizationStatusForEntityType(0)?(e=!0,t("log","\u65e5\u5386\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:135")):t("log","\u65e5\u5386\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:137"),plus.ios.deleteObject(n),e}():"memo"==e&&function(){var e=!1,n=plus.ios.import("EKEventStore");return 3==n.authorizationStatusForEntityType(1)?(e=!0,t("log","\u5907\u5fd8\u5f55\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at js_sdk/wa-permission/permission.js:150")):t("log","\u5907\u5fd8\u5f55\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at js_sdk/wa-permission/permission.js:152"),plus.ios.deleteObject(n),e}();var n,r,o},requestAndroidPermission:function(e){return new Promise((function(n,r){plus.android.requestPermissions([e],(function(e){t("log",1111,e," at js_sdk/wa-permission/permission.js:164");for(var r=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setDummyCaptureImagePath",{filePath:t,channel:n})}},{key:"loginRoom",value:function(t,n,r){return e._callMethod("loginRoom",{roomID:t,user:n,config:r})}},{key:"logoutRoom",value:function(t){return e._callMethod("logoutRoom",{roomID:t})}},{key:"loginMultiRoom",value:function(t,n){return e._callMethod("loginMultiRoom",{roomID:t,config:n})}},{key:"switchRoom",value:function(t,n,r){return e._callMethod("switchRoom",{fromRoomID:t,toRoomID:n,config:r})}},{key:"renewToken",value:function(t,n){return e._callMethod("renewToken",{roomID:t,token:n})}},{key:"setRoomExtraInfo",value:function(t,n,r){return e._callMethod("setRoomExtraInfo",{roomID:t,key:n,value:r})}},{key:"startPublishingStream",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main,r=arguments.length>2?arguments[2]:void 0;return e._callMethod("startPublishingStream",{streamID:t,channel:n,config:r})}},{key:"stopPublishingStream",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("stopPublishingStream",{channel:t})}},{key:"startPreview",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("startPreview",{channel:t})}},{key:"setStreamExtraInfo",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setStreamExtraInfo",{extraInfo:t,channel:n})}},{key:"stopPreview",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("stopPreview",{channel:t})}},{key:"setVideoConfig",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setVideoConfig",{config:t,channel:n})}},{key:"getVideoConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("getVideoConfig",{channel:t})}},{key:"setVideoMirrorMode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setVideoMirrorMode",{mode:t,channel:n})}},{key:"setAppOrientation",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setAppOrientation",{orientation:t,channel:n})}},{key:"setAudioConfig",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setAudioConfig",{config:t,channel:n})}},{key:"getAudioConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("getAudioConfig",{channel:t})}},{key:"setPublishStreamEncryptionKey",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setPublishStreamEncryptionKey",{key:t,channel:n})}},{key:"takePublishStreamSnapshot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("takePublishStreamSnapshot",{channel:t})}},{key:"mutePublishStreamAudio",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("mutePublishStreamAudio",{mute:t,channel:n})}},{key:"mutePublishStreamVideo",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("mutePublishStreamVideo",{mute:t,channel:n})}},{key:"enableTrafficControl",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.ZegoPublishChannel.Main;return e._callMethod("enableTrafficControl",{enable:t,property:n,channel:r})}},{key:"setMinVideoBitrateForTrafficControl",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.ZegoPublishChannel.Main;return e._callMethod("setMinVideoBitrateForTrafficControl",{bitrate:t,mode:n,channel:r})}},{key:"setCaptureVolume",value:function(t){return e._callMethod("setCaptureVolume",{volume:t})}},{key:"addPublishCdnUrl",value:function(t,n){return e._callMethod("addPublishCdnUrl",{streamID:t,targetURL:n})}},{key:"removePublishCdnUrl",value:function(t,n){return e._callMethod("removePublishCdnUrl",{targetURL:t,streamID:n})}},{key:"enablePublishDirectToCDN",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.ZegoPublishChannel.Main;return e._callMethod("enablePublishDirectToCDN",{enable:t,config:n,channel:r})}},{key:"setPublishWatermark",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.ZegoPublishChannel.Main;return e._callMethod("setPublishWatermark",{watermark:t,isPreviewVisible:n,channel:r})}},{key:"sendSEI",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("sendSEI",{data:t,channel:n})}},{key:"enableHardwareEncoder",value:function(t){return e._callMethod("enableHardwareEncoder",{enable:t})}},{key:"startPlayingStream",value:function(t,n){return e._callMethod("startPlayingStream",{streamID:t,config:n})}},{key:"stopPlayingStream",value:function(t){return e._callMethod("stopPlayingStream",{streamID:t})}},{key:"setPlayStreamDecryptionKey",value:function(t,n){return e._callMethod("setPlayStreamDecryptionKey",{key:t,streamID:n})}},{key:"takePlayStreamSnapshot",value:function(t){return e._callMethod("takePlayStreamSnapshot",{streamID:t})}},{key:"setPlayVolume",value:function(t,n){return e._callMethod("setPlayVolume",{streamID:t,volume:n})}},{key:"setAllPlayStreamVolume",value:function(t){return e._callMethod("setAllPlayStreamVolume",{volume:t})}},{key:"setPlayStreamVideoType",value:function(t,n){return e._callMethod("setPlayStreamVideoType",{streamID:t,streamType:n})}},{key:"setPlayStreamBufferIntervalRange",value:function(t,n,r){return e._callMethod("setPlayStreamBufferIntervalRange",{streamID:t,minBufferInterval:n,maxBufferInterval:r})}},{key:"setPlayStreamFocusOn",value:function(t){return e._callMethod("setPlayStreamFocusOn",{streamID:t})}},{key:"mutePlayStreamAudio",value:function(t,n){return e._callMethod("mutePlayStreamAudio",{streamID:t,mute:n})}},{key:"mutePlayStreamVideo",value:function(t,n){return e._callMethod("mutePlayStreamVideo",{streamID:t,mute:n})}},{key:"muteAllPlayStreamAudio",value:function(t){return e._callMethod("muteAllPlayStreamAudio",{mute:t})}},{key:"muteAllPlayStreamVideo",value:function(t){return e._callMethod("muteAllPlayStreamVideo",{mute:t})}},{key:"enableHardwareDecoder",value:function(t){return e._callMethod("enableHardwareDecoder",{enable:t})}},{key:"enableCheckPoc",value:function(t){return e._callMethod("enableCheckPoc",{enable:t})}},{key:"startMixerTask",value:function(t){return e._callMethod("startMixerTask",{task:t})}},{key:"stopMixerTask",value:function(t){return e._callMethod("stopMixerTask",{task:t})}},{key:"startAutoMixerTask",value:function(t){return e._callMethod("startAutoMixerTask",{task:t})}},{key:"stopAutoMixerTask",value:function(t){return e._callMethod("stopAutoMixerTask",{task:t})}},{key:"muteMicrophone",value:function(t){return e._callMethod("muteMicrophone",{mute:t})}},{key:"isMicrophoneMuted",value:function(){return e._callMethod("isMicrophoneMuted")}},{key:"muteSpeaker",value:function(t){return e._callMethod("muteSpeaker",{mute:t})}},{key:"isSpeakerMuted",value:function(){return e._callMethod("isSpeakerMuted")}},{key:"enableAudioCaptureDevice",value:function(t){return e._callMethod("enableAudioCaptureDevice",{enable:t})}},{key:"getAudioRouteType",value:function(){return e._callMethod("getAudioRouteType")}},{key:"setAudioRouteToSpeaker",value:function(t){return e._callMethod("setAudioRouteToSpeaker",{defaultToSpeaker:t})}},{key:"enableCamera",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("enableCamera",{enable:t,channel:n})}},{key:"useFrontCamera",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("useFrontCamera",{enable:t,channel:n})}},{key:"setCameraZoomFactor",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("setCameraZoomFactor",{factor:t,channel:n})}},{key:"getCameraMaxZoomFactor",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("getCameraMaxZoomFactor",{channel:t})}},{key:"startSoundLevelMonitor",value:function(t){return e._callMethod("startSoundLevelMonitor",{config:t})}},{key:"stopSoundLevelMonitor",value:function(){return e._callMethod("stopSoundLevelMonitor")}},{key:"startAudioSpectrumMonitor",value:function(t){return e._callMethod("startAudioSpectrumMonitor",{millisecond:t})}},{key:"stopAudioSpectrumMonitor",value:function(){return e._callMethod("stopAudioSpectrumMonitor")}},{key:"enableHeadphoneMonitor",value:function(t){return e._callMethod("enableHeadphoneMonitor",{enable:t})}},{key:"setHeadphoneMonitorVolume",value:function(t){return e._callMethod("setHeadphoneMonitorVolume",{volume:t})}},{key:"enableAEC",value:function(t){return e._callMethod("enableAEC",{enable:t})}},{key:"enableHeadphoneAEC",value:function(t){return e._callMethod("enableHeadphoneAEC",{enable:t})}},{key:"setAECMode",value:function(t){return e._callMethod("setAECMode",{mode:t})}},{key:"enableAGC",value:function(t){return e._callMethod("enableAGC",{enable:t})}},{key:"enableANS",value:function(t){return e._callMethod("enableANS",{enable:t})}},{key:"enableTransientANS",value:function(t){return e._callMethod("enableTransientANS",{enable:t})}},{key:"setANSMode",value:function(t){return e._callMethod("setANSMode",{mode:t})}},{key:"startEffectsEnv",value:function(){return e._callMethod("startEffectsEnv")}},{key:"stopEffectsEnv",value:function(){return e._callMethod("stopEffectsEnv")}},{key:"enableEffectsBeauty",value:function(t){return e._callMethod("enableEffectsBeauty",{enable:t})}},{key:"setEffectsBeautyParam",value:function(t){return e._callMethod("setEffectsBeautyParam",{param:t})}},{key:"setAudioEqualizerGain",value:function(t,n){return e._callMethod("setAudioEqualizerGain",{bandGain:t,bandIndex:n})}},{key:"setVoiceChangerParam",value:function(t,n){return e._callMethod("setVoiceChangerParam",{param:t,audioChannel:n})}},{key:"enableVirtualStereo",value:function(t,n){return e._callMethod("enableVirtualStereo",{enable:t,angle:n})}},{key:"sendBroadcastMessage",value:function(t,n){return e._callMethod("sendBroadcastMessage",{roomID:t,message:n})}},{key:"sendBarrageMessage",value:function(t,n){return e._callMethod("sendBarrageMessage",{roomID:t,message:n})}},{key:"sendCustomCommand",value:function(t,n,r){return e._callMethod("sendCustomCommand",{roomID:t,command:n,toUserList:r})}},{key:"startScreenCapture",value:function(){return e._callMethod("startScreenCapture")}},{key:"stopScreenCapture",value:function(){return e._callMethod("stopScreenCapture")}},{key:"enableTorch",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("enableTorch",{enable:t,channel:n})}},{key:"createMediaPlayer",value:(p=(0,i.default)(o.default.mark((function t(){var n,r,a;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e._callMethod("createMediaPlayer");case 2:if(n=t.sent,!((r=n.playerID)>=0)){t.next=8;break}return a=new x(r),e._mediaPlayerMap.set(r,a),t.abrupt("return",a);case 8:return t.abrupt("return",void 0);case 9:case"end":return t.stop()}}),t)}))),function(){return p.apply(this,arguments)})},{key:"destroyMediaPlayer",value:(a=(0,i.default)(o.default.mark((function t(n){var r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!((r=n.getIndex())>=0)){t.next=8;break}return t.next=4,e._callMethod("destroyMediaPlayer",{index:r});case 4:e._mediaPlayerMap.delete(r),n.off("mediaPlayerStateUpdate"),n.off("mediaPlayerNetworkEvent"),n.off("mediaPlayerPlayingProgress");case 8:return t.abrupt("return");case 9:case"end":return t.stop()}}),t)}))),function(e){return a.apply(this,arguments)})},{key:"startRecordingCapturedData",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.ZegoPublishChannel.Main;return e._callMethod("startRecordingCapturedData",{config:t,channel:n})}},{key:"stopRecordingCapturedData",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.ZegoPublishChannel.Main;return e._callMethod("stopRecordingCapturedData",{channel:t})}}],[{key:"_callMethod",value:function(e,t){return new Promise((function(n,r){m.callMethod({method:e,args:t},(function(e){n(e)}))}))}},{key:"getInstance",value:function(){if(g)return g;throw new Error("Get instance failed, Please create engine first")}},{key:"createEngineWithProfile",value:(r=(0,i.default)(o.default.mark((function t(n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!g){t.next=2;break}return t.abrupt("return",g);case 2:return t.next=4,e._callMethod("createEngineWithProfile",{profile:n});case 4:return g=new e,t.next=7,e._callMethod("setPluginVersion",{version:c.pluginVersion});case 7:return t.abrupt("return",g);case 8:case"end":return t.stop()}}),t)}))),function(e){return r.apply(this,arguments)})},{key:"createEngine",value:(n=(0,i.default)(o.default.mark((function t(n,r,a,i){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!g){t.next=2;break}return t.abrupt("return",g);case 2:return t.next=4,e._callMethod("createEngine",{appID:n,appSign:r,isTestEnv:a,scenario:i});case 4:return g=new e,t.next=7,e._callMethod("setPluginVersion",{version:c.pluginVersion});case 7:return t.abrupt("return",g);case 8:case"end":return t.stop()}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)})},{key:"destroyEngine",value:(t=(0,i.default)(o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return g=void 0,e._mediaPlayerMap.forEach((function(t,n){e._callMethod("destroyMediaPlayer",{key:n})})),t.next=4,e._callMethod("destroyEngine");case 4:e._listeners.forEach((function(e,t){h.removeEventListener(y+t)})),e._listeners.clear(),e._mediaPlayerMap.clear();case 7:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})},{key:"setLogConfig",value:function(t){return e._callMethod("setLogConfig",{config:t})}},{key:"getVersion",value:function(){return e._callMethod("getVersion")}},{key:"setEngineConfig",value:function(t){return e._callMethod("setEngineConfig",{config:t})}},{key:"setRoomMode",value:function(t){return e._callMethod("setRoomMode",{mode:t})}}]),e}();t.ZegoExpressEngineImpl=v,v._listeners=new Map,v._mediaPlayerMap=new Map;var x=function(){function e(t){(0,u.default)(this,e),this._index=t}return(0,l.default)(e,[{key:"_callMethod",value:function(e,t){var n=this;return new Promise((function(r,o){m.callMethod({method:e,args:f({playerID:n._index},t)},(function(e){r(e)}))}))}},{key:"on",value:function(e,t){var n=function(e){var n=e.data,r=e.idx;if(r>=0){var o=v._mediaPlayerMap.get(r);t.apply(void 0,[o].concat((0,s.default)(n)))}},r=v._listeners.get(e);void 0===r&&(r=new Map,v._listeners.set(e,r)),r.set(t,n),h.addEventListener(y+e,n),v._listeners.set(e,r)}},{key:"off",value:function(e,t){if(void 0===t)h.removeEventListener(y+e),v._listeners.delete(e);else{var n=v._listeners.get(e);if(void 0===n)return;h.removeEventListener(y+e,n.get(t)),n.delete(t)}}},{key:"loadResource",value:function(e){return this._callMethod("mediaPlayerLoadResource",{path:e})}},{key:"loadResourceWithConfig",value:function(e){return this._callMethod("mediaPlayerLoadResourceWithConfig",{config:e})}},{key:"start",value:function(){return this._callMethod("mediaPlayerStart")}},{key:"stop",value:function(){return this._callMethod("mediaPlayerStop")}},{key:"pause",value:function(){return this._callMethod("mediaPlayerPause")}},{key:"resume",value:function(){return this._callMethod("mediaPlayerResume")}},{key:"setPlayerView",value:function(e){return this._callMethod("mediaPlayerSetPlayerView",{playerID:e})}},{key:"seekTo",value:function(e){return this._callMethod("mediaPlayerSeekTo",{millisecond:e})}},{key:"enableRepeat",value:function(e){return this._callMethod("mediaPlayerEnableRepeat",{enable:e})}},{key:"enableAux",value:function(e){return this._callMethod("mediaPlayerEnableAux",{enable:e})}},{key:"setPlaySpeed",value:function(e){return this._callMethod("mediaPlayerSetPlaySpeed",{speed:e})}},{key:"muteLocal",value:function(e){return this._callMethod("mediaPlayerMuteLocal",{mute:e})}},{key:"setVolume",value:function(e){return this._callMethod("mediaPlayerSetVolume",{volume:e})}},{key:"setPlayVolume",value:function(e){return this._callMethod("mediaPlayerSetPlayVolume",{volume:e})}},{key:"setPublishVolume",value:function(e){return this._callMethod("mediaPlayerSetPublishVolume",{volume:e})}},{key:"setProgressInterval",value:function(e){return this._callMethod("mediaPlayerSetProgressInterval",{millisecond:e})}},{key:"setAudioTrackIndex",value:function(e){return this._callMethod("mediaPlayerSetAudioTrackIndex",{index:e})}},{key:"setVoiceChangerParam",value:function(e,t){return this._callMethod("mediaPlayerSetVoiceChangerParam",{param:e,audioChannel:t})}},{key:"takeSnapshot",value:function(){return this._callMethod("mediaPlayerTakeSnapshot")}},{key:"setNetworkResourceMaxCache",value:function(e,t){return this._callMethod("mediaPlayerSetNetworkResourceMaxCache",{time:e,size:t})}},{key:"setNetworkBufferThreshold",value:function(e){return this._callMethod("mediaPlayerSetNetworkBufferThreshold",{threshold:e})}},{key:"enableAccurateSeek",value:function(e,t){return this._callMethod("mediaPlayerEnableAccurateSeek",{enable:e,config:t})}},{key:"getNetworkResourceCache",value:function(){return this._callMethod("mediaPlayerGetNetworkResourceCache")}},{key:"getPlayVolume",value:function(){return this._callMethod("mediaPlayerGetPlayVolume")}},{key:"getPublishVolume",value:function(){return this._callMethod("mediaPlayerGetPublishVolume")}},{key:"getTotalDuration",value:function(){return this._callMethod("mediaPlayerGetTotalDuration")}},{key:"getCurrentProgress",value:function(){return this._callMethod("mediaPlayerGetCurrentProgress")}},{key:"getAudioTrackCount",value:function(){return this._callMethod("mediaPlayerGetAudioTrackCount")}},{key:"getCurrentState",value:function(){return this._callMethod("mediaPlayerGetCurrentState")}},{key:"getIndex",value:function(){return this._index}}]),e}();t.ZegoMediaPlayerImpl=x}).call(this,n(43).default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return weex.requireModule(e)}},function(e,t,n){var r=n(45),o=n(46),a=n(47),i=n(48);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(31);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(31);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0});var o={pluginVersion:!0};t.pluginVersion=t.default=void 0;var a=r(n(30)),i=n(4);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=a.default;t.default=s;t.pluginVersion="3.16.0"},function(e,t,n){"use strict";n.r(t);var r=n(19),o=n(12);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var i=n(2);var s=Object(i.a)(o.default,r.b,r.c,!1,null,null,"70de059a",!1,r.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(s),t.default=s.exports},function(e,t,n){"use strict";n.r(t);var r=n(20),o=n(14);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var i=n(2);var s=Object(i.a)(o.default,r.b,r.c,!1,null,null,"4ba4d204",!1,r.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(s),t.default=s.exports}]);