1(self.webpackChunkJomashop=self.webpackChunkJomashop||[]).push([[6328],{53903:(e,t,a)=>{var r,o=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,__copyProps=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))p.call(e,o)||o===a||i(e,o,{get:()=>t[o],enumerable:!(r=n(t,o))||r.enumerable}) 2return e},__publicField=(e,t,a)=>(((e,t,a)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a})(e,"symbol"!=typeof t?t+"":t,a),a),u={};((e,t)=>{for(var a in t)i(e,a,{get:t[a],enumerable:!0})})(u,{default:()=>DailyMotion}),e.exports=(r=u,__copyProps(i({},"__esModule",{value:!0}),r)) 3var h=((e,t,a)=>(a=null!=e?o(l(e)):{},__copyProps(!t&&e&&e.__esModule?a:i(a,"default",{value:e,enumerable:!0}),e)))(a(96540)),y=a(87032),c=a(87430) 4class DailyMotion extends h.Component{constructor(){super(...arguments),__publicField(this,"callPlayer",y.callPlayer),__publicField(this,"onDurationChange",()=>{const e=this.getDuration() 5this.props.onDuration(e)}),__publicField(this,"mute",()=>{this.callPlayer("setMuted",!0)}),__publicField(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),__publicField(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{controls:t,config:a,onError:r,playing:o}=this.props,[,i]=e.match(c.MATCH_URL_DAILYMOTION) 6this.player?this.player.load(i,{start:(0,y.parseStartTime)(e),autoplay:o}):(0,y.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",e=>e.player).then(o=>{if(!this.container)return 7const n=o.player 8this.player=new n(this.container,{width:"100%",height:"100%",video:i,params:{controls:t,autoplay:this.props.playing,mute:this.props.muted,start:(0,y.parseStartTime)(e),origin:window.location.origin,...a.params},events:{apiready:this.props.onReady,seeked:()=>this.props.onSeek(this.player.currentTime),video_end:this.props.onEnded,durationchange:this.onDurationChange,pause:this.props.onPause,playing:this.props.onPlay,waiting:this.props.onBuffer,error:e=>r(e)}})},r)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("seek",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}getDuration(){return this.player.duration||null}getCurrentTime(){return this.player.currentTime}getSecondsLoaded(){return this.player.bufferedTime}render(){const{display:e}=this.props,t={width:"100%",height:"100%",display:e} 9return h.default.createElement("div",{style:t},h.default.createElement("div",{ref:this.ref}))}}__publicField(DailyMotion,"displayName","DailyMotion"),__publicField(DailyMotion,"canPlay",c.canPlay.dailymotion),__publicField(DailyMotion,"loopOnEnded",!0)}}])
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.