"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react");require("@gem-sdk/core"),require("next/link");var t=require("../../../../../video/components/Video.js"),u=r.memo(u=>{let{url:o,aspectRatio:i}=u,l=r.useMemo(()=>o.includes("youtu.be")?"youtube":o.includes("vimeo")?"vimeo":"html5",[o]);return e.jsx(e.Fragment,{children:e.jsx(t.default,{setting:{type:l,html5Url:o,youtubeUrl:o,vimeoUrl:o,preload:!0,controls:!0,aspectRatio:i}})})});exports.default=u;
