You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
102 KiB
2 lines
102 KiB
/*! 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=42)}([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){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){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,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;n<e;n++)t[n]=arguments[n];var i=t.shift();if(o())return t.push(t.pop().replace("at ","uni-app:///")),console[i].apply(console,t);var s=t.map((function(e){var t=Object.prototype.toString.call(e).toLowerCase();if("[object object]"===t||"[object array]"===t)try{e="---BEGIN:JSON---"+JSON.stringify(e,a)+"---END:JSON---"}catch(n){e=t}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{var n=r(e).toUpperCase();e="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+e+"---END:"+n+"---":String(e)}return e})),u="";if(s.length>1){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;r<t;r++)n[r-1]=arguments[r];console[e].apply(console,n)}},function(e,t,n){var r=n(1),o=n(29)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,u,"next",e)}function u(e){n(i,o,a,s,u,"throw",e)}s(void 0)}))}},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(35)),z=r(n(34));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 J=(0,W.default)((function e(){(0,z.default)(this,e),this.logPath="",this.logSize=5242880,this.logCount=3}));t.ZegoLogConfig=J;var Y=(0,W.default)((function e(t,n,r){(0,z.default)(this,e),this.appID=t,this.appSign=n,this.scenario=r}));t.ZegoEngineProfile=Y;var $=(0,W.default)((function e(){(0,z.default)(this,e)}));t.ZegoEngineConfig=$;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(23),o=n(15),a=n(3);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(39).default,this.options.style):Object.assign(this.options.style,n(39).default)}).call(i),t.default=i.exports},function(e,t,n){var r=n(11);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(1).default,o=n(31);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t,n){"use strict";var r=n(16),o=n.n(r);t.default=o.a},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),a=r(n(6)),i=r(n(30)),s=r(n(43)),u=r(n(44)),l=r(n(53)),c=r(n(54)),d=null,p={isUserStatusNotify:!0},f={appID:267111980,appSign:"afcaa90a7750ee556e450ca62287c5f9a362e9ed711789717cda0e18f088858e",scenario:0},g={components:{ZegoLocalView:c.default,ZegoRemoteView:l.default},data:function(){return{isYuyin:!0,isGuaduan:!0,isYangshengqi:!0,isShexiang:!0,isJieshou:!0,isToggle:!0,winWidth:0,winHeight:0,userInfo:{},playStreamId:"",title:"",count:0,balanceInfo:{},userOtherInfo:{},background:{background:"url(https://api.lyiyuan.cn/profile/upload/static/yuyin-bg.png) center top no-repeat",backgroundSize:"100 auto"},engine:null,roomId:"",type:2,statusBarHeight:0,sellerStreamId:"",viewModeIndex:0,isCamera:!0,isStart:!0,toIsBack:!0}},onLoad:function(t){e("log",t," at pages/pipei/shipin/detail.nvue:204"),this.id=t.id,this.type=t.type,this.title=1==this.type||3==this.type?"\u8bed\u97f3\u901a\u8bdd":"\u89c6\u9891\u901a\u8bdd",this.isStart=3!=this.type&&4!=this.type||!t.fid,this.isShexiang=2==this.type||4==this.type,this.isJieshou=t.type<=2,this.statusBarHeight=uni.getSystemInfoSync().statusBarHeight,this.winWidth=uni.getSystemInfoSync().windowWidth,this.winHeight=uni.getSystemInfoSync().windowHeight},onReady:function(){var t=this;return(0,a.default)(o.default.mark((function n(){var r,a,i;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t,uni.$on("watchEvent",(function(e){"message"==e.topic&&12==e.type&&uni.getStorageSync("userInfo").id==e.sellerId&&r.toGuaduan(1)})),uni.$on("toJieshouYinship",(function(t){e("log","toJieshouYinship",t," at pages/pipei/shipin/detail.nvue:228"),"message"==t.topic&&20==t.type&&uni.getStorageSync("userInfo").id==t.sellerId&&r.toJieshou()})),"android"!==uni.getSystemInfoSync().platform){n.next=12;break}return n.next=6,s.default.requestAndroidPermission("android.permission.RECORD_AUDIO");case 6:return a=n.sent,n.next=9,s.default.requestAndroidPermission("android.permission.CAMERA");case 9:return i=n.sent,1==a&&1==i&&(t.type<=2?(t.toPermission(),t.getOtherUserInfo()):(t.getOtherUserInfo(),t.getUserInfo(1))),n.abrupt("return");case 12:t.type<=2?(t.toPermission(),t.getOtherUserInfo()):(t.getOtherUserInfo(),t.getUserInfo(1));case 13:case"end":return n.stop()}}),n)})))()},methods:{toJieshou1:function(){uni.$emit("jieshouYinship",{userId:uni.getStorageSync("userInfo").id,sellerId:this.id,type:20,topic:"message"}),0==this.isStart&&this.toJieshou()},onBack:function(){e("log",1111," at pages/pipei/shipin/detail.nvue:279");var t=this;uni.showModal({title:"\u6e29\u99a8\u63d0\u793a",content:"\u662f\u5426\u8981\u9000\u51fa\u623f\u95f4\uff1f",confirmColor:"#000000",success:function(e){e.confirm&&(t.isGuaduan=!1,t.toGuaduan())}})},toGuaduan:function(e){var t,n,r,o;1!=e&&uni.$emit("duanYinship",{userId:uni.getStorageSync("userInfo").id,sellerId:this.id,type:12,topic:"message"}),this.socialConsumption(),clearInterval(d),uni.$emit("watchSocket"),0!=this.toIsBack&&(this.toIsBack=!1,this.isGuaduan=!1,null===(t=this.engine)||void 0===t||t.stopPublishingStream(),null===(n=this.engine)||void 0===n||n.stopPreview(),null===(r=this.engine)||void 0===r||r.stopPlayingStream(this.sellerStreamId),null===(o=this.engine)||void 0===o||o.logoutRoom(this.roomId),u.default.destroyEngine(),uni.navigateBack({delta:1}))},toJieshou:function(){this.toPermission(),this.$forceUpdate()},toggleYuyin:function(){this.isYuyin=!this.isYuyin,this.engine.muteMicrophone(!this.isYuyin)},toggleShexiang:function(){this.isShexiang=!this.isShexiang,this.engine.enableCamera(this.isShexiang)},toggleHuamian:function(){this.isCamera=!this.isCamera,this.engine.useFrontCamera(this.isCamera)},toggleYangsheng:function(){this.isYangshengqi=!this.isYangshengqi,this.engine.setAudioRouteToSpeaker(this.isCamera)},toPermission:function(){var e=this;return(0,a.default)(o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:3!=e.type&&1!=e.type||e.getOtherUserInfo(),e.getUserInfo();case 2:case"end":return t.stop()}}),t)})))()},getUserInfo:function(e){var t=this;return(0,a.default)(o.default.mark((function n(){var r,a,s,u;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i.default.findUserInfo({userId:uni.getStorageSync("userInfo").id});case 2:r=n.sent,a=r.code,s=r.data,u=r.msg,200==a?(t.userInfo=s,1!=e&&(t.userBalance(),t.loginRoom())):uni.showToast({title:u,position:"bottom",icon:"none"});case 7:case"end":return n.stop()}}),n)})))()},getOtherUserInfo:function(t){var n=this;return(0,a.default)(o.default.mark((function t(){var r,a,s,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.default.findOtherUserInfo({userId:uni.getStorageSync("userInfo").id,sellerId:n.id});case 2:r=t.sent,a=r.code,s=r.data,u=r.msg,200==a?(e("log","getOtherUserInfo",s," at pages/pipei/shipin/detail.nvue:372"),n.userOtherInfo=s):uni.showToast({title:u,position:"bottom",icon:"none"});case 7:case"end":return t.stop()}}),t)})))()},loginRoom:function(){var t=this;return(0,a.default)(o.default.mark((function n(){var r,a,s;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t,n.next=3,i.default.findZegoToken({userId:uni.getStorageSync("userInfo").id,sellerId:t.id});case 3:if(200!=(a=n.sent).code){n.next=38;break}return p.token=a.data.token,t.playStreamId=a.data.userStreamId,t.sellerStreamId=a.data.sellerStreamId,t.roomId=a.data.roomId,e("log","loginRoom11",a.data," at pages/pipei/shipin/detail.nvue:394"),n.next=12,u.default.createEngineWithProfile(f);case 12:return t.engine=n.sent,t.engine.enableCamera(t.isShexiang),n.next=16,t.engine.startEffectsEnv();case 16:t.engine.enableEffectsBeauty(!0),(s={}).whitenIntensity=t.userInfo.reserved5,s.rosyIntensity=t.userInfo.reserved6,s.smoothIntensity=t.userInfo.reserved7,s.sharpenIntensity=t.userInfo.reserved8,t.engine.setEffectsBeautyParam(s),t.engine.useFrontCamera(t.isCamera),t.engine.on("roomStateUpdate",(function(t,n,r,o){e("log","roomStateUpdate",t," at pages/pipei/shipin/detail.nvue:412")})),t.engine.on("roomUserUpdate",(function(t,n,r){e("log","roomUserUpdate",t,n,r," at pages/pipei/shipin/detail.nvue:418")})),t.engine.on("playerStateUpdate",(function(t,n,r){e("log","playerStateUpdate",t," at pages/pipei/shipin/detail.nvue:422")})),t.engine.on("roomStreamUpdate",(function(t,n,r){e("log","roomStreamUpdate",n,r," at pages/pipei/shipin/detail.nvue:426")})),r.engine.on("publisherStateUpdate",(function(t,n,r,o){e("log","publisherStateUpdate",t," at pages/pipei/shipin/detail.nvue:432")})),t.engine.loginRoom(a.data.roomId,{userID:uni.getStorageSync("userInfo").id,userName:uni.getStorageSync("userInfo").nickname},p),t.engine.startPreview(),t.engine.startPublishingStream(t.playStreamId),t.isJieshou=!0,clearInterval(d),r.title=r.formatFun(r.count),d=setInterval((function(){if(1==uni.getStorageSync("userInfo").sex)if(1==r.type){if(60*r.balanceInfo.voiceCoins<r.count)return clearInterval(d),r.toGuaduan(),void(r.title=r.formatFun(r.count))}else if(2==r.type&&60*r.balanceInfo.videoCoins<r.count)return clearInterval(d),r.toGuaduan(),void(r.title=r.formatFun(r.count));r.count++,r.title=r.formatFun(r.count)}),1e3),setTimeout((function(){t.toTuiliu()}),100);case 38:case"end":return n.stop()}}),n)})))()},userBalance:function(){var e=this;return(0,a.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.$api.userBalance({userId:uni.getStorageSync("userInfo").id});case 2:n=t.sent,r=n.code,a=n.data,200==r&&(e.balanceInfo=a);case 6:case"end":return t.stop()}}),t)})))()},socialConsumption:function(e){var t=this;return(0,a.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.socialConsumption({userId:uni.getStorageSync("userInfo").id,sellerId:t.id,type:1==t.type||3==t.type?1:2,duration:t.count+1});case 2:t.userBalance();case 3:case"end":return e.stop()}}),e)})))()},formatFun:function(e){var t,n,r;return((t=Math.floor(e/3600))<=9?"0"+t:t)+":"+((n=Math.floor((e-3600*t)/60))<=9?"0"+n:n)+":"+((r=e-3600*t-60*n)<=9?"0"+r:r)},toTuiliu:function(){e("log","toTuiliu",this.sellerStreamId," at pages/pipei/shipin/detail.nvue:505"),this.engine.startPlayingStream(this.sellerStreamId),u.default.instance().on("playerStateUpdate",(function(t,n,r,o){e("log","playerStateUpdate",t," at pages/pipei/shipin/detail.nvue:510")}))}},onBackPress:function(){this.isGuaduan&&this.toGuaduan()}};t.default=g}).call(this,n(4).default)},function(e,t,n){"use strict";n.r(t);var r=n(18),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7),o={name:"ZegoRemoteView",props:{viewMode:{type:Number,default:r.ZegoViewMode.ScaleToFill},canvasType:{type:Number,default:0},streamID:{type:String,default:""}}};t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(20),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7),o={name:"ZegoLocalView",props:{viewMode:{type:Number,default:r.ZegoViewMode.ScaleToFill},channel:{type:Number,default:r.ZegoPublishChannel.Main},canvasType:{type:Number,default:0}}};t.default=o},function(e,t){e.exports={".room":{"":{backgroundColor:["#000000",0,0,16]}},".room-navbar":{"":{height:["44",0,0,17],position:["fixed",0,0,17],left:[0,0,0,17],top:[0,0,0,17],zIndex:[22,0,0,17],display:["flex",0,0,17],flexDirection:["row",0,0,17]}},".navbar":{".room-navbar ":{flexDirection:["row",0,1,18],height:["44",0,1,18],lineHeight:["44",0,1,18],position:["relative",0,1,18],textAlign:["center",0,1,18],fontSize:["30",0,1,18]}},".txt":{".room-navbar .navbar ":{fontSize:["20",0,2,19],color:["#ffffff",0,2,19]},".room-bd .dian-on .info ":{marginTop:["20rpx",0,3,38],opacity:[.3,0,3,38]},".room-fd .item ":{marginTop:["20rpx",0,2,42]}},".title":{".room-navbar .navbar ":{display:["flex",0,2,20],alignItems:["center",0,2,20],justifyContent:["center",0,2,20]}},".back":{".room-navbar .navbar ":{width:["50",0,2,21],height:["44",0,2,21],position:["fixed",0,2,21],left:[0,0,2,21],top:["50",0,2,21],zIndex:[44,0,2,21],display:["flex",0,2,21],alignItems:["center",0,2,21],justifyContent:["center",0,2,21]}},".img":{".room-navbar .navbar .back ":{width:["20",0,3,22],height:["20",0,3,22]}},".room-hd":{"":{flexDirection:["column",0,0,23],position:["relative",0,0,23]}},".shitu":{".room-hd ":{width:["300rpx",0,1,24],height:["300rpx",0,1,24],borderRadius:["10rpx",0,1,24],overflow:["hidden",0,1,24],position:["absolute",0,1,24],right:["20rpx",0,1,24],top:["120rpx",0,1,24],zIndex:[12,0,1,24]}},".room-bd":{"":{position:["relative",0,0,25]}},".pic":{".room-bd ":{width:[100,0,1,26],height:[100,0,1,26]},".room-fd .item ":{width:["130rpx",0,2,44],height:["130rpx",0,2,44],borderRadius:[50,0,2,44],display:["flex",0,2,44],alignItems:["center",0,2,44],justifyContent:["center",0,2,44],marginTop:[0,0,2,44],marginBottom:["10rpx",0,2,44]},".room-fd1 .items ":{width:["130rpx",0,2,48],height:["130rpx",0,2,48],borderRadius:[50,0,2,48],display:["flex",0,2,48],alignItems:["center",0,2,48],justifyContent:["center",0,2,48],marginTop:[0,0,2,48],marginBottom:["10rpx",0,2,48]}},".dian-on":{".room-bd ":{width:["650rpx",0,1,27],minHeight:["648rpx",0,1,27],position:["absolute",0,1,27],marginLeft:["50rpx",0,1,27],top:["250rpx",0,1,27],zIndex:[1,0,1,27]}},".tag":{".room-bd .dian-on ":{width:["660rpx",0,2,28],height:["330rpx",0,2,28],backgroundColor:["rgba(35,32,48,0.36)",0,2,28],borderRadius:["20rpx",0,2,28],marginTop:["30rpx",0,2,28],marginBottom:[0,0,2,28],paddingTop:["30rpx",0,2,28],paddingRight:["30rpx",0,2,28],paddingBottom:["30rpx",0,2,28],paddingLeft:["30rpx",0,2,28],boxSizing:["border-box",0,2,28],textAlign:["left",0,2,28]}},".t":{".room-bd .dian-on .tag .titles ":{fontWeight:["bold",0,4,29],fontSize:["30rpx",0,4,29],color:["#FFFFFF",0,4,29]},".room-bd .dian-on .tag .descs ":{fontSize:["24rpx",0,4,31],color:["#B8B7BC",0,4,31],lineHeight:["45rpx",0,4,31],fontWeight:["400",0,4,31]},".room-bd .dian-on .info .name ":{fontSize:["28rpx",0,4,35],color:["#FFFFFF",0,4,35]},".room-bd .dian-on .info .btn ":{fontWeight:["bold",0,4,37],fontSize:["30rpx",0,4,37],color:["#FFFFFF",0,4,37]},".room-bd .dian-on .info .txt ":{fontWeight:["500",0,4,39],fontSize:["26rpx",0,4,39],color:["#FFFFFF",0,4,39]},".room-fd .item .txt ":{fontSize:["30rpx",0,3,43],color:["#ffffff",0,3,43]}},".descs":{".room-bd .dian-on .tag ":{marginTop:["20rpx",0,3,30]}},".info":{".room-bd .dian-on ":{textAlign:["center",0,2,32],overflow:["hidden",0,2,32],display:["flex",0,2,32],justifyContent:["center",0,2,32],alignItems:["center",0,2,32],flexDirection:["column",0,2,32]}},".avatar":{".room-bd .dian-on .info ":{width:["180rpx",0,3,33],height:["180rpx",0,3,33],borderRadius:[50,0,3,33],marginTop:[0,0,3,33],marginBottom:[0,0,3,33]}},".name":{".room-bd .dian-on .info ":{fontWeight:["500",0,3,34],marginTop:["10rpx",0,3,34],whiteSpace:["nowrap",0,3,34],overflow:["hidden",0,3,34],textOverflow:["ellipsis",0,3,34],textAlign:["center",0,3,34]}},".btn":{".room-bd .dian-on .info ":{width:["170rpx",0,3,36],lineHeight:["56rpx",0,3,36],backgroundImage:["linear-gradient(0deg, #FF9124, #BD4700)",0,3,36],borderRadius:["56rpx",0,3,36],marginTop:["20rpx",0,3,36],marginBottom:[0,0,3,36]}},".room-fd":{"":{height:["220rpx",0,0,40],position:["fixed",0,0,40],left:[0,0,0,40],bottom:["200rpx",0,0,40],zIndex:[44,0,0,40],flexDirection:["row",0,0,40]}},".item":{".room-fd ":{flex:[1,0,1,41],textAlign:["center",0,1,41],fontSize:["30rpx",0,1,41],fontWeight:["400",0,1,41],display:["flex",0,1,41],justifyContent:["center",0,1,41],alignItems:["center",0,1,41]}},".pimg":{".room-fd .item .pic ":{width:["130rpx",0,3,45],height:["130rpx",0,3,45]},".room-fd1 .items .pic ":{width:["130rpx",0,3,49],height:["130rpx",0,3,49]}},".room-fd1":{"":{height:["220rpx",0,0,46],position:["fixed",0,0,46],left:[0,0,0,46],bottom:["40rpx",0,0,46],zIndex:[44,0,0,46],flexDirection:["row",0,0,46],flexWrap:["wrap",0,0,46]}},".items":{".room-fd1 ":{flex:[1,0,1,47],marginTop:["70rpx",0,1,47],position:["relative",0,1,47],flexDirection:["row",0,1,47],display:["flex",0,1,47],justifyContent:["center",0,1,47],alignItems:["center",0,1,47]}},".off":{".room-fd1 .items ":{width:["49rpx",0,2,50],height:["44rpx",0,2,50],position:["absolute",0,2,50],right:["200rpx",0,2,50],zIndex:[2,0,2,50],top:["50rpx",0,2,50]}},"@VERSION":2}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("scroll-view",{staticStyle:{flexDirection:"column"},attrs:{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true"}},[n("view",{staticClass:["room"],style:{width:e.winWidth+"px",height:e.winHeight+"px"}},[n("view",{staticClass:["room-navbar"],style:{width:e.winWidth+"px",height:e.statusBarHeight+44+"px"}},[n("view",{staticClass:["navbar"],style:{width:e.winWidth+"px","margin-top":e.statusBarHeight+"px"}},[n("view",{staticClass:["back"],on:{click:function(t){e.onBack()}}},[n("u-image",{staticClass:["img"],attrs:{src:"/static/arrow-left.png"}})],1),n("view",{staticClass:["title"],style:{width:e.winWidth+"px"}},[n("u-text",{staticClass:["txt"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.title))])])])]),2==e.type||4==e.type?n("view",[e.isToggle?n("view",{staticClass:["room-hd"]},[n("zego-local-view",{staticClass:["video-view"],style:{width:e.winWidth+"px",height:e.winHeight+"px"}}),n("zego-remote-view",{staticClass:["shitu"],style:{top:e.statusBarHeight+60+"px"},attrs:{streamID:e.sellerStreamId}})],1):n("view",{staticClass:["room-hd"]},[n("zego-remote-view",{staticClass:["video-view"],style:{width:e.winWidth+"px",height:e.winHeight+"px"},attrs:{streamID:e.sellerStreamId}}),n("zego-local-view",{staticClass:["shitu"],style:{top:e.statusBarHeight+60+"px"}})],1)]):e._e(),1==e.type||3==e.type?n("view",{staticClass:["room-bd"],style:{width:e.winWidth+"px",height:e.winHeight+"px"}},[n("u-image",{staticClass:["pic"],style:{width:e.winWidth+"px",height:e.winHeight+"px"},attrs:{src:"/static/yuyin-bg.png"}}),n("view",{staticClass:["dian-on"]},[n("view",{staticClass:["info"]},[n("u-image",{staticClass:["avatar"],attrs:{src:e.userOtherInfo.faceImage?e.userOtherInfo.faceImage:e.userOtherInfo.img}}),n("view",{staticClass:["name"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.userOtherInfo.nickname))])]),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.userOtherInfo.age)+"/"+e._s(e.userOtherInfo.height))])])],1),n("view",{staticClass:["tag"]},[n("view",{staticClass:["titles"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u4e2a\u6027\u7b7e\u540d\uff1a")])]),n("view",{staticClass:["descs"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.userOtherInfo.declaration))])])])])],1):e._e(),1==e.type||3==e.type?n("view",{staticClass:["room-fd"],style:{width:e.winWidth+"px"}},[n("view",{staticClass:["item"]},[1==e.isJieshou?n("view",{staticClass:["pic"],on:{click:function(t){e.toggleYuyin()}}},[e.isYuyin?n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-01.png"}}):n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-01-on.png"}})],1):e._e(),1==e.isJieshou?n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isYuyin?"\u5f00\u542f":"\u5173\u95ed"))])]):e._e()]),e.isJieshou?n("view",{staticClass:["item"]},[n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-02.png"},on:{click:function(t){e.toGuaduan()}}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u6302\u65ad")])])]):e._e(),0==e.isJieshou?[n("view",{staticClass:["item"]},[n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-02.png"},on:{click:function(t){e.toGuaduan()}}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u6302\u65ad")])])]),n("view",{staticClass:["item"]}),n("view",{staticClass:["item"]},[e.isStart?n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-05.png"}})],1):n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-05.png"},on:{click:function(t){e.toJieshou1()}}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isStart?"\u7b49\u5f85":"\u63a5\u53d7"))])])])]:e._e(),n("view",{staticClass:["item"]},[1==e.isJieshou?n("view",{staticClass:["pic"],on:{click:function(t){e.toggleYangsheng()}}},[e.isYangshengqi?n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-03.png"}}):n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-03-on.png"}})],1):e._e(),1==e.isJieshou?n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isYangshengqi?"\u5f00\u542f":"\u5173\u95ed"))])]):e._e()])],2):e._e(),2==e.type||4==e.type?n("view",{staticClass:["room-fd"],style:{width:e.winWidth+"px"}},[e.isJieshou?n("view",{staticClass:["item"]},[1==e.isJieshou?n("view",{staticClass:["pic"],on:{click:function(t){e.toggleYuyin()}}},[e.isYuyin?n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-01.png"}}):n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-01-on.png"}})],1):e._e(),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isYuyin?"\u5f00\u542f":"\u5173\u95ed"))])])]):e._e(),e.isJieshou?n("view",{staticClass:["item"]},[n("view",{staticClass:["pic"],on:{click:function(t){e.toggleYangsheng()}}},[e.isYangshengqi?n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-03.png"}}):n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-03-on.png"}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isYangshengqi?"\u5f00\u542f":"\u5173\u95ed"))])])]):e._e(),e.isJieshou?n("view",{staticClass:["item"]},[1==e.isJieshou?n("view",{staticClass:["pic"],on:{click:function(t){e.toggleShexiang()}}},[e.isShexiang?n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-04.png"}}):n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-04-on.png"}})],1):e._e(),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isShexiang?"\u5f00\u542f":"\u5173\u95ed"))])])]):e._e(),0==e.isJieshou?[n("view",{staticClass:["item"]},[n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-02.png"},on:{click:function(t){e.toGuaduan()}}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u6302\u65ad")])])]),n("view",{staticClass:["item"]},[e.isStart?n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-05.png"}})],1):n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-05.png"},on:{click:function(t){e.toJieshou1()}}})],1),n("view",{staticClass:["txt"]},[n("u-text",{staticClass:["t"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.isStart?"\u7b49\u5f85":"\u63a5\u53d7"))])])])]:e._e()],2):e._e(),e.isJieshou?[2==e.type||4==e.type?n("view",{staticClass:["room-fd1"],style:{width:e.winWidth+"px"}},[n("view",{staticClass:["items"]},[n("view",{staticClass:["pic"]},[n("u-image",{staticClass:["pimg"],attrs:{src:"/static/yuyin-02.png"},on:{click:function(t){e.toGuaduan()}}})],1),n("u-image",{staticClass:["off"],attrs:{src:"/static/yuyin-off.png"},on:{click:function(t){e.toggleHuamian()}}})],1)]):e._e()]:e._e()],2)])},o=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;return(this._self._c||e)("ZegoExpress-Remote-View",{attrs:{viewMode:this.viewMode,streamID:this.streamID,canvasType:this.canvasType}})},o=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;return(this._self._c||e)("ZegoExpress-Local-View",{attrs:{viewMode:this.viewMode,channel:this.channel,canvasType:this.canvasType}})},o=[]},function(e,t,n){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(n(27).default,Vue.prototype.__$appStyle__)},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=o.a},function(e,t){if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}},function(e,t,n){var r=n(1).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,i=a.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof x?t:x,a=Object.create(o.prototype),i=new R(r||[]);return s(a,"_invoke",{value:w(e,n,i)}),a}function g(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var h="suspendedStart",m="executing",y="completed",v={};function x(){}function S(){}function b(){}var C={};p(C,l,(function(){return this}));var k=Object.getPrototypeOf,M=k&&k(k(D([])));M&&M!==a&&i.call(M,l)&&(C=M);var I=b.prototype=x.prototype=Object.create(C);function P(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(o,a,s,u){var l=g(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,u)}))}u(l.arg)}var o;s(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}})}function w(e,n,r){var o=h;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var s=r.delegate;if(s){var u=E(s,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var l=g(e,n,r);if("normal"===l.type){if(o=r.done?y:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function E(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=g(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function Z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Z,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return S.prototype=b,s(I,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:S,configurable:!0}),S.displayName=p(b,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,d,"GeneratorFunction")),e.prototype=Object.create(I),e},n.awrap=function(e){return{__await:e}},P(_.prototype),p(_.prototype,c,(function(){return this})),n.AsyncIterator=_,n.async=function(e,t,r,o,a){void 0===a&&(a=Promise);var i=new _(f(e,t,r,o),a);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},P(I),p(I,d,"Generator"),p(I,l,(function(){return this})),p(I,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=D,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=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<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=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(5)),i=r(n(10)),s=r(n(6)),u=n(32),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(1).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";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.request=function(t){return new Promise((function(n,r){var o=a+"/prod-api/"+t.url;uni.request({url:o,data:t.data,method:t.method,header:{token:uni.getStorageSync("userInfo").token,"Content-type":"application/json",deviceSn:uni.getStorageSync("deviceSn")},success:function(o){200==o.data.code||-1==o.data.code?(e("log",t," at api/request.js:19"),e("log","\u8fd4\u56de\u7ed3\u679c\uff1a"+JSON.stringify(o.data)," at api/request.js:20"),n(o.data)):401==o.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"})}}):(r(o.data),uni.showToast({icon:"none",title:o.data.msg,duration:3e3}))},fail:function(e){r(e)},complete:function(){}})}))};var o=r(n(33)),a="https://api.lyiyuan.cn";o.default.prototype.$baseUrl=a}).call(this,n(4).default)},function(e,t){e.exports=Vue},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(11);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),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.default=void 0;var o=r(n(34)),a=r(n(35)),i=n(45),s=function(){function e(){(0,o.default)(this,e)}return(0,a.default)(e,[{key:"uploadLog",value:function(){return i.ZegoExpressEngineImpl.getInstance().uploadLog()}},{key:"callExperimentalAPI",value:function(e){return i.ZegoExpressEngineImpl.getInstance().callExperimentalAPI(e)}},{key:"on",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().on(e,t)}},{key:"off",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().off(e,t)}},{key:"loginRoom",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().loginRoom(e,t,n)}},{key:"logoutRoom",value:function(e){return i.ZegoExpressEngineImpl.getInstance().logoutRoom(e)}},{key:"switchRoom",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().switchRoom(e,t,n)}},{key:"renewToken",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().renewToken(e,t)}},{key:"setRoomExtraInfo",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().setRoomExtraInfo(e,t,n)}},{key:"startPublishingStream",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().startPublishingStream(e,t,n)}},{key:"stopPublishingStream",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopPublishingStream(e)}},{key:"setStreamExtraInfo",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setStreamExtraInfo(e,t)}},{key:"startPreview",value:function(e){return i.ZegoExpressEngineImpl.getInstance().startPreview(e)}},{key:"stopPreview",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopPreview(e)}},{key:"setVideoConfig",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setVideoConfig(e,t)}},{key:"getVideoConfig",value:function(e){return i.ZegoExpressEngineImpl.getInstance().getVideoConfig(e)}},{key:"setVideoMirrorMode",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setVideoMirrorMode(e,t)}},{key:"setAppOrientation",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setAppOrientation(e,t)}},{key:"setAudioConfig",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setAudioConfig(e,t)}},{key:"getAudioConfig",value:function(e){return i.ZegoExpressEngineImpl.getInstance().getAudioConfig(e)}},{key:"takePublishStreamSnapshot",value:function(e){return i.ZegoExpressEngineImpl.getInstance().takePublishStreamSnapshot(e)}},{key:"mutePublishStreamAudio",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().mutePublishStreamAudio(e,t)}},{key:"mutePublishStreamVideo",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().mutePublishStreamVideo(e,t)}},{key:"enableTrafficControl",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().enableTrafficControl(e,t,n)}},{key:"setMinVideoBitrateForTrafficControl",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().setMinVideoBitrateForTrafficControl(e,t,n)}},{key:"setCaptureVolume",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setCaptureVolume(e)}},{key:"addPublishCdnUrl",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().addPublishCdnUrl(e,t)}},{key:"removePublishCdnUrl",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().removePublishCdnUrl(e,t)}},{key:"enablePublishDirectToCDN",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().enablePublishDirectToCDN(e,t,n)}},{key:"setPublishWatermark",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().setPublishWatermark(e,t,n)}},{key:"enableHardwareEncoder",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableHardwareEncoder(e)}},{key:"setDummyCaptureImagePath",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setDummyCaptureImagePath(e,t)}},{key:"startPlayingStream",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().startPlayingStream(e,t)}},{key:"stopPlayingStream",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopPlayingStream(e)}},{key:"takePlayStreamSnapshot",value:function(e){return i.ZegoExpressEngineImpl.getInstance().takePlayStreamSnapshot(e)}},{key:"setPlayVolume",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setPlayVolume(e,t)}},{key:"setAllPlayStreamVolume",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setAllPlayStreamVolume(e)}},{key:"setPlayStreamVideoType",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setPlayStreamVideoType(e,t)}},{key:"setPlayStreamBufferIntervalRange",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().setPlayStreamBufferIntervalRange(e,t,n)}},{key:"setPlayStreamFocusOn",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setPlayStreamFocusOn(e)}},{key:"mutePlayStreamAudio",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().mutePlayStreamAudio(e,t)}},{key:"mutePlayStreamVideo",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().mutePlayStreamVideo(e,t)}},{key:"muteAllPlayStreamAudio",value:function(e){return i.ZegoExpressEngineImpl.getInstance().muteAllPlayStreamAudio(e)}},{key:"muteAllPlayStreamVideo",value:function(e){return i.ZegoExpressEngineImpl.getInstance().muteAllPlayStreamVideo(e)}},{key:"enableHardwareDecoder",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableHardwareDecoder(e)}},{key:"startMixerTask",value:function(e){return i.ZegoExpressEngineImpl.getInstance().startMixerTask(e)}},{key:"stopMixerTask",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopMixerTask(e)}},{key:"startAutoMixerTask",value:function(e){return i.ZegoExpressEngineImpl.getInstance().startAutoMixerTask(e)}},{key:"stopAutoMixerTask",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopAutoMixerTask(e)}},{key:"muteMicrophone",value:function(e){return i.ZegoExpressEngineImpl.getInstance().muteMicrophone(e)}},{key:"isMicrophoneMuted",value:function(){return i.ZegoExpressEngineImpl.getInstance().isMicrophoneMuted()}},{key:"muteSpeaker",value:function(e){return i.ZegoExpressEngineImpl.getInstance().muteSpeaker(e)}},{key:"isSpeakerMuted",value:function(){return i.ZegoExpressEngineImpl.getInstance().isSpeakerMuted()}},{key:"enableAudioCaptureDevice",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableAudioCaptureDevice(e)}},{key:"getAudioRouteType",value:function(){return i.ZegoExpressEngineImpl.getInstance().getAudioRouteType()}},{key:"setAudioRouteToSpeaker",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setAudioRouteToSpeaker(e)}},{key:"enableCamera",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().enableCamera(e,t)}},{key:"useFrontCamera",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().useFrontCamera(e,t)}},{key:"setCameraZoomFactor",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().setCameraZoomFactor(e,t)}},{key:"getCameraMaxZoomFactor",value:function(e){return i.ZegoExpressEngineImpl.getInstance().getCameraMaxZoomFactor(e)}},{key:"startSoundLevelMonitor",value:function(e){return i.ZegoExpressEngineImpl.getInstance().startSoundLevelMonitor(e)}},{key:"stopSoundLevelMonitor",value:function(){return i.ZegoExpressEngineImpl.getInstance().stopSoundLevelMonitor()}},{key:"enableHeadphoneMonitor",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableHeadphoneMonitor(e)}},{key:"setHeadphoneMonitorVolume",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setHeadphoneMonitorVolume(e)}},{key:"enableTorch",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().enableTorch(e,t)}},{key:"enableAEC",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableAEC(e)}},{key:"enableHeadphoneAEC",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableHeadphoneAEC(e)}},{key:"setAECMode",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setAECMode(e)}},{key:"enableAGC",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableAGC(e)}},{key:"enableANS",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableANS(e)}},{key:"enableTransientANS",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableTransientANS(e)}},{key:"setANSMode",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setANSMode(e)}},{key:"startEffectsEnv",value:function(){return i.ZegoExpressEngineImpl.getInstance().startEffectsEnv()}},{key:"stopEffectsEnv",value:function(){return i.ZegoExpressEngineImpl.getInstance().stopEffectsEnv()}},{key:"enableEffectsBeauty",value:function(e){return i.ZegoExpressEngineImpl.getInstance().enableEffectsBeauty(e)}},{key:"setEffectsBeautyParam",value:function(e){return i.ZegoExpressEngineImpl.getInstance().setEffectsBeautyParam(e)}},{key:"sendBroadcastMessage",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().sendBroadcastMessage(e,t)}},{key:"sendBarrageMessage",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().sendBarrageMessage(e,t)}},{key:"sendCustomCommand",value:function(e,t,n){return i.ZegoExpressEngineImpl.getInstance().sendCustomCommand(e,t,n)}},{key:"createMediaPlayer",value:function(){return i.ZegoExpressEngineImpl.getInstance().createMediaPlayer()}},{key:"destroyMediaPlayer",value:function(e){return i.ZegoExpressEngineImpl.getInstance().destroyMediaPlayer(e)}},{key:"startRecordingCapturedData",value:function(e,t){return i.ZegoExpressEngineImpl.getInstance().startRecordingCapturedData(e,t)}},{key:"stopRecordingCapturedData",value:function(e){return i.ZegoExpressEngineImpl.getInstance().stopRecordingCapturedData(e)}}],[{key:"instance",value:function(){return i.ZegoExpressEngineImpl.getInstance()}},{key:"createEngineWithProfile",value:function(e){return i.ZegoExpressEngineImpl.createEngineWithProfile(e)}},{key:"destroyEngine",value:function(){return i.ZegoExpressEngineImpl.destroyEngine()}},{key:"setEngineConfig",value:function(e){return i.ZegoExpressEngineImpl.setEngineConfig(e)}},{key:"setRoomMode",value:function(e){return i.ZegoExpressEngineImpl.setRoomMode(e)}},{key:"getVersion",value:function(){return i.ZegoExpressEngineImpl.getVersion()}},{key:"createEngine",value:function(e,t,n,r){return i.ZegoExpressEngineImpl.createEngine(e,t,n,r)}}]),e}();t.default=s},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t);var r=n(21),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=o.a},,,function(e,t,n){"use strict";n.r(t);n(26),n(28);var r=n(9);r.default.mpType="page",r.default.route="pages/pipei/shipin/detail",r.default.el="#root",new Vue(r.default)},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;o<e.granted.length;o++){var a=e.granted[o];t("log","\u5df2\u83b7\u53d6\u7684\u6743\u9650\uff1a"+a," at js_sdk/wa-permission/permission.js:168"),r=1}for(o=0;o<e.deniedPresent.length;o++){var i=e.deniedPresent[o];t("log","\u62d2\u7edd\u672c\u6b21\u7533\u8bf7\u7684\u6743\u9650\uff1a"+i," at js_sdk/wa-permission/permission.js:173"),r=0}for(o=0;o<e.deniedAlways.length;o++){var s=e.deniedAlways[o];t("log","\u6c38\u4e45\u62d2\u7edd\u7533\u8bf7\u7684\u6743\u9650\uff1a"+s," at js_sdk/wa-permission/permission.js:178"),r=-1}uni.$emit("onPopup",r),n(r)}),(function(e){t("log",2222,1," at js_sdk/wa-permission/permission.js:189"),t("log","\u7533\u8bf7\u6743\u9650\u9519\u8bef\uff1a"+e.code+" = "+e.message," at js_sdk/wa-permission/permission.js:190"),n({code:e.code,message:e.message})}))}))},checkSystemEnableLocation:function(){if(n){var e=!1,r=plus.ios.import("CLLocationManager");e=r.locationServicesEnabled();return t("log","\u7cfb\u7edf\u5b9a\u4f4d\u5f00\u542f:"+e," at js_sdk/wa-permission/permission.js:256"),plus.ios.deleteObject(r),e}var o=plus.android.importClass("android.content.Context"),a=plus.android.importClass("android.location.LocationManager");return e=plus.android.runtimeMainActivity().getSystemService(o.LOCATION_SERVICE).isProviderEnabled(a.GPS_PROVIDER),t("log","\u7cfb\u7edf\u5b9a\u4f4d\u5f00\u542f:"+e," at js_sdk/wa-permission/permission.js:265"),e},gotoAppPermissionSetting:function(){if(n){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),r=t.URLWithString("app-settings:");e.openURL(r),plus.ios.deleteObject(r),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var o=plus.android.importClass("android.content.Intent"),a=plus.android.importClass("android.provider.Settings"),i=plus.android.importClass("android.net.Uri"),s=plus.android.runtimeMainActivity(),u=new o;u.setAction(a.ACTION_APPLICATION_DETAILS_SETTINGS);var l=i.fromParts("package",s.getPackageName(),null);u.setData(l),s.startActivity(u)}}}}).call(this,n(4).default)},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(37)),i=n(7);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";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ZegoMediaPlayerImpl=t.ZegoExpressEngineImpl=void 0;var o=r(n(5)),a=r(n(10)),i=r(n(6)),s=r(n(47)),u=r(n(34)),l=r(n(35)),c=n(52),d=n(7);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g,h=e("globalEvent"),m=e("zego-ZegoExpressUniAppSDK_ZegoExpressUniAppEngine"),y=m.prefix(),v=function(){function e(){(0,u.default)(this,e)}var t,n,r,a,p;return(0,l.default)(e,[{key:"on",value:function(t,n){var r=function(e){var t=e.data;n.apply(void 0,(0,s.default)(t))},o=e._listeners.get(t);void 0===o&&(o=new Map,e._listeners.set(t,o)),o.set(n,r),h.addEventListener(y+t,r)}},{key:"off",value:function(t,n){if(void 0===n)h.removeEventListener(y+t),e._listeners.delete(t);else{var r=e._listeners.get(t);if(void 0===r)return;h.removeEventListener(y+t,r.get(n)),r.delete(n)}}},{key:"uploadLog",value:function(){return e._callMethod("uploadLog")}},{key:"callExperimentalAPI",value:function(t){return e._callMethod("callExperimentalAPI",{params:t})}},{key:"setDummyCaptureImagePath",value:function(t){var n=arguments.length>1&&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(46).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(48),o=n(49),a=n(50),i=n(51);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(38);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(38);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(37)),i=n(7);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(24),o=n(17);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var i=n(3);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(25),o=n(19);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);var i=n(3);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}]); |