1import{j as e,A as s}from"../js/app.CzHXv3OC.js";import{E as m}from"./ErrorBoundary.BSDeRbzo.js";import{F as p}from"./FetchModel.b4lX_zup.js";import{e as l}from"./error.ME9RekgK.js";import{z as r,f as c,v as u}from"./index.D6mVWLHx.js";import"./Button-BiUVeREU._Zr2edyt.js";import{i as a}from"./EmptyState-88DFHM10.eGA62kar.js";import{o as d}from"./VideoEmbed-DDBvAEIp.DUBpA1pD.js";import"./vendor.CLXKpVbq.js";import"./elastic.CDqqVJuy.js";import"./lodash.B7ss2v9R.js";import"./index.Cc6U5CDM.js";import"./index.C0XwLixv.js";import"./AspectRatio-CtOdFHlD.stWsQ-Lj.js";import"./index.DesP4aAh.js";const j="AEHVideo",x=r.object({source:r.enum(["youtube","vimeo"]),videoId:r.string(),title:r.string(),muted:r.boolean().optional(),autoPlay:r.boolean().optional(),controls:r.boolean().optional(),loop:r.boolean().optional(),loading:r.enum(["lazy","eager"]).optional(),allowFullScreen:r.boolean().optional()}),f=({componentModel:t})=>{const i=x.safeParse(t);if(!i.success){const{error:n}=i;return console.error(`${j}: ${c(n).toString()}`),e.jsx(a,{illustration:e.jsx(u,{}),title:l.title,supportingText:l.description,className:"twp"})}const{data:o}=i;return e.jsx("div",{className:"twp",children:e.jsx(d,{provider:o==null?void 0:o.source,videoId:o==null?void 0:o.videoId,title:o==null?void 0:o.title,loading:o==null?void 0:o.loading,muted:o==null?void 0:o.muted,autoplay:o==null?void 0:o.autoPlay,controls:o==null?void 0:o.controls,loop:o==null?void 0:o.loop,allowFullScreen:o==null?void 0:o.allowFullScreen})})},R=({pathModelHTLAttribute:t,componentModelHTLAttribute:i})=>e.jsx(m,{children:e.jsx(s,{componentName:"aeh-video",children:e.jsx(p,{pathModelHTLAttribute:t,componentModelHTLAttribute:i,children:(o,n)=>e.jsx(f,{pathModel:o,componentModel:n})})})});export{R as AEHVideo};
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.