import{template as e,makeStyleResponsive as r}from"@gem-sdk/core";import{createAttr as t,createStyle as a,createClass as l}from"@gem-sdk/system";let o="feature-video gp-w-full gp-h-full gp-relative",p="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",i=({src:i,alt:m,style:s,autoplay:c,controls:f,aspectRatio:u,allowfullscreen:d,frameborder:g="0",allow:y=p,className:n=o})=>{let $=t({src:i,alt:m,allow:y,frameborder:g,...s,...c?{autoplay:c}:{},controls:f,allowfullscreen:d}),k=a({...r("aspect",u)}),v=l({[n]:!0});return e`
    <iframe
      ${{...$}}
      style="${k}"
      class="${v}"
    >
    </iframe>
  `};export{i as default};
