PageSourceSearch

https://www.dogactionwelfaregroup.ie/dawg/wp-content/plugins/shopw…/reactPlayerDash.af301fce15b87f189b1e.js

js dogactionwelfaregroup.ie collected 2026-10-06 12:11:37 UTC 4,134 bytes, 2 lines download raw bytes

1/*! For license information please see reactPlayerDash.af301fce15b87f189b1e.js.LICENSE.txt */
2"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["reactPlayerDash"],{
vendor: 3,942 bytes, line 2
2"./node_modules/dash-video-element/dist/react.js":(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var n=i("react"),s=i("./node_modules/custom-media-element/dist/custom-media-element.js"),o=i("./node_modules/media-tracks/dist/index.js");class a extends((0,o.u6)(s.lB)){static shadowRootOptions={...s.lB.shadowRootOptions};static getTemplateHTML=e=>{const{src:t,...i}=e;return s.lB.getTemplateHTML(i)};#e;attributeChangedCallback(e,t,i){"src"!==e&&super.attributeChangedCallback(e,t,i),"src"===e&&t!=i&&this.load()}async load(){if(this.#e)return void this.api.attachSource(this.src);this.#e=!0;const e=await i.e("vendors-node_modules_dashjs_dist_modern_esm_dash_all_min_js").then(i.bind(i,"./node_modules/dashjs/dist/modern/esm/dash.all.min.js"));this.api=e.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(e.MediaPlayer.events.STREAM_INITIALIZED,(()=>{const e=this.api.getRepresentationsByType("video");let t=this.videoTracks.getTrackById("main");t||(t=this.addVideoTrack("main"),t.id="main",t.selected=!0),e.forEach((e=>{const i=e.bandwidth??e.bitrate??(Number.isFinite(e.bitrateInKbit)?1e3*e.bitrateInKbit:void 0);t.addRendition(e.id,e.width,e.height,e.mimeType??e.codec,i).id=e.id})),this.videoRenditions.addEventListener("change",(()=>{const e=this.videoRenditions[this.videoRenditions.selectedIndex];(null==e?void 0:e.id)?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",e.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})}))}))}}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",a);var r=a,d=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),l={className:"class",htmlFor:"for"};function u(e){return e.toLowerCase()}function c(e){return"boolean"==typeof e?e?"":void 0:"function"==typeof e||"object"==typeof e&&null!==e?void 0:e}function h(e,t,i){var n;e[t]=i,null==i&&t in((null==(n=globalThis.HTMLElement)?void 0:n.prototype)??{})&&e.removeAttribute(t)}var m=function({react:e,tagName:t,elementClass:i,events:n,displayName:s,defaultProps:o,toAttributeName:a=u,toAttributeValue:r=c}){const m=Number.parseInt(e.version)>=19,p=e.forwardRef(((s,u)=>{var p,f;const v=e.useRef(null),b=e.useRef(new Map),y={},g={},w={},T={};for(const[e,t]of Object.entries(s)){if(d.has(e)){w[e]=t;continue}const n=a(l[e]??e);if(i.prototype&&e in i.prototype&&!(e in((null==(p=globalThis.HTMLElement)?void 0:p.prototype)??{}))&&!(null==(f=i.observedAttributes)?void 0:f.some((e=>e===n)))){T[e]=t;continue}if(e.startsWith("on")){y[e]=t;continue}const s=r(t);if(n&&null!=s&&(g[n]=String(s),m||(w[n]=s)),n&&m){const e=c(t);w[n]=s!==e?s:t}}if("undefined"!=typeof window){for(const t in y){const i=y[t],s=t.endsWith("Capture"),o=((null==n?void 0:n[t])??t.slice(2).toLowerCase()).slice(0,s?-7:void 0);e.useLayoutEffect((()=>{const e=null==v?void 0:v.current;if(e&&"function"==typeof i)return e.addEventListener(o,i,s),()=>{e.removeEventListener(o,i,s)}}),[null==v?void 0:v.current,i])}e.useLayoutEffect((()=>{if(null===v.current)return;const e=new Map;for(const t in T)h(v.current,t,T[t]),b.current.delete(t),e.set(t,T[t]);for(const[e,t]of b.current)h(v.current,e,void 0);b.current=e}))}if("undefined"==typeof window&&(null==i?void 0:i.getTemplateHTML)&&(null==i?void 0:i.shadowRootOptions)){const{mode:t,delegatesFocus:n}=i.shadowRootOptions,o=e.createElement("template",{shadowrootmode:t,shadowrootdelegatesfocus:n,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(g,s)}});w.children=[o,w.children]}return e.createElement(t,{...o,...w,ref:e.useCallback((e=>{v.current=e,"function"==typeof u?u(e):null!==u&&(u.current=e)}),[u])})}));return p.displayName=s??i.name,p}({react:n,tagName:"dash-video",elementClass:r,toAttributeName:e=>"muted"===e?"":"defaultMuted"===e?"muted":u(e)})}
2}]);

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.