1import{a as g,r as m,ax as w,ay as v}from"./react-vendor-dcfd0bcc.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="094ab161-f1b3-4aba-9100-4715a3c98bdf",t._sentryDebugIdIdentifier="sentry-dbid-094ab161-f1b3-4aba-9100-4715a3c98bdf")}catch(a){}})();function O(t,e){for(var a=0;a<e.length;a++){const n=e[a];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in t)){const o=Object.getOwnPropertyDescriptor(n,r);o&&Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var D=Object.create,i=Object.defineProperty,k=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,E=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,S=(t,e,a)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,R=(t,e)=>{for(var a in e)i(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of C(e))!I.call(t,r)&&r!==a&&i(t,r,{get:()=>e[r],enumerable:!(n=k(e,r))||n.enumerable});return t},j=(t,e,a)=>(a=t!=null?D(E(t)):{},d(e||!t||!t.__esModule?i(a,"default",{value:t,enumerable:!0}):a,t)),W=t=>d(i({},"__esModule",{value:!0}),t),s=(t,e,a)=>(S(t,typeof e!="symbol"?e+"":e,a),a),h={};R(h,{default:()=>l});var b=W(h),y=j(m),c=w,_=v;const x="https://fast.wistia.com/assets/external/E-v1.js",M="Wistia",A="wistia-player-";class l extends y.Component{constructor(){super(...arguments),s(this,"callPlayer",c.callPlayer),s(this,"playerID",this.props.config.playerId||"".concat(A).concat((0,c.randomString)())),s(this,"onPlay",(...e)=>this.props.onPlay(...e)),s(this,"onPause",(...e)=>this.props.onPause(...e)),s(this,"onSeek",(...e)=>this.props.onSeek(...e)),s(this,"onEnded",(...e)=>this.props.onEnded(...e)),s(this,"onPlaybackRateChange",(...e)=>this.props.onPlaybackRateChange(...e)),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{playing:a,muted:n,controls:r,onReady:o,config:p,onError:f}=this.props;(0,c.getSDK)(x,M).then(P=>{p.customControls&&p.customControls.forEach(u=>P.defineControl(u)),window._wq=window._wq||[],window._wq.push({id:this.playerID,options:{autoPlay:a,silentAutoPlay:"allow",muted:n,controlsVisibleOnLoad:r,fullscreenButton:r,playbar:r,playbackRateControl:r,qualityControl:r,volumeControl:r,settingsControl:r,smallPlayButton:r,...p.options},onReady:u=>{this.player=u,this.unbind(),this.player.bind("play",this.onPlay),this.player.bind("pause",this.onPause),this.player.bind("seek",this.onSeek),this.player.bind("end",this.onEnded),this.player.bind("playbackratechange",this.onPlaybackRateChange),o()}})},f)}unbind(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.unbind(),this.callPlayer("remove")}seekTo(e,a=!0){this.callPlayer("time",e),a||this.pause()}setVolume(e){this.callPlayer("volume",e)}setPlaybackRate(e){this.callPlayer("playbackRate",e)}getDuration(){return this.callPlayer("duration")}getCurrentTime(){return this.callPlayer("time")}getSecondsLoaded(){return null}render(){const{url:e}=this.props,a=e&&e.match(_.MATCH_URL_WISTIA)[1],n="wistia_embed wistia_async_".concat(a),r={width:"100%",height:"100%"};return y.default.createElement("div",{id:this.playerID,key:a,className:n,style:r})}}s(l,"displayName","Wistia");s(l,"canPlay",_.canPlay.wistia);s(l,"loopOnEnded",!0);const L=g(b),N=O({__proto__:null,default:L},[b]);export{N as W};
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.