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