PageSourceSearch

https://phanomprofessionals.com/assets/react-0jkQKv8B.js

js phanomprofessionals.com collected 2026-10-03 21:19:32 UTC 3,146 bytes, 11 lines download raw bytes

1import{_ as A,R as C}from"./index-DUt3thwd.js";import{C as m}from"./custom-media-element-Ce0vsE-t.js";class L extends m{static shadowRootOptions={...m.shadowRootOptions};static getTemplateHTML=i=>{const{src:n,...s}=i;return m.getTemplateHTML(s)};#t;attributeChangedCallback(i,n,s){i!=="src"&&super.attributeChangedCallback(i,n,s),i==="src"&&n!=s&&this.load()}async load(){if(this.#t)this.api.attachSource(this.src);else{this.#t=!0;const i=await A(()=>import("./dash.all.min-c_ldjLP4.js"),[]);this.api=i.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay)}}}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",L);var N=L,O=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),S={className:"class",htmlFor:"for"};function M(t){return t.toLowerCase()}function g(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function I({react:t,tagName:i,elementClass:n,events:s,displayName:P,defaultProps:R,toAttributeName:H=M,toAttributeValue:k=g}){const v=Number.parseInt(t.version)>=19,y=t.forwardRef((b,d)=>{var T,E;const a=t.useRef(null),p=t.useRef(new Map),h={},_={},l={},f={};for(const[e,o]of Object.entries(b)){if(O.has(e)){l[e]=o;continue}const r=H(S[e]??e);if(e in n.prototype&&!(e in(((T=globalThis.HTMLElement)==null?void 0:T.prototype)??{}))&&!((E=n.observedAttributes)!=null&&E.some(c=>c===r))){f[e]=o;continue}if(e.startsWith("on")){h[e]=o;continue}const u=k(o);if(r&&u!=null&&(_[r]=String(u),v||(l[r]=u)),r&&v){const c=g(o);u!==c?l[r]=u:l[r]=o}}if(typeof window<"u"){for(const e in h){const o=h[e],r=e.endsWith("Capture"),u=(s?.[e]??e.slice(2).toLowerCase()).slice(0,r?-7:void 0);t.useLayoutEffect(()=>{const c=a?.current;if(!(!c||typeof o!="function"))return c.addEventListener(u,o,r),()=>{c.removeEventListener(u,o,r)}},[a?.current,o])}t.useLayoutEffect(()=>{if(a.current===null)return;const e=new Map;for(const o in f)w(a.current,o,f[o]),p.current.delete(o),e.set(o,f[o]);for(const[o,r]of p.current)w(a.current,o,void 0);p.current=e})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:e,delegatesFocus:o}=n.shadowRootOptions,r=t.createElement("template",{shadowrootmode:e,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(_,b)}});l.children=[r,l.children]}return t.createElement(i,{...R,...l,ref:t.useCallback(e=>{a.current=e,typeof d=="function"?d(e):d!==null&&(d.current=e)},[d])})});return y.displayName=P??n.name,y}function w(t,i,n){var s;t[i]=n,n==null&&i in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&t.removeAttribute(i)}var F=I({react:C,tagName:"dash-video",elementClass:N,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":M(t)}});/*! Bundled license information:
2
3ce-la-react/dist/ce-la-react.js:
4  (**
5   * @license
6   * Copyright 2018 Google LLC
7   * SPDX-License-Identifier: BSD-3-Clause
8   *
9   * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
10   *)
11*/export{F as default};

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.