@wistia/vhs 2.77.0-beta.5c4d1f97.b9911ab → 2.77.0-beta.6b0e8897.b4160b4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v2.77.0-beta.5c4d1f97.b9911ab
3
+ * @license @wistia/vhs v2.77.0-beta.6b0e8897.b4160b4
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1727,7 +1727,7 @@
1727
1727
  align-items: center;
1728
1728
  display: flex;
1729
1729
  position: relative;
1730
- ${({disabled:e})=>!e&&TU}
1730
+ ${({$disabled:e})=>!e&&TU}
1731
1731
  `,RU=li.css`
1732
1732
  cursor: not-allowed;
1733
1733
  `,FU=li.css`
@@ -1750,7 +1750,7 @@
1750
1750
  ${({disabled:e})=>e?RU:FU}
1751
1751
  `,OU=(0,li.default)(Ae)`
1752
1752
  ${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
1753
- `,MU=({onClick:e,disabled:t=!1})=>{let r=Me("grey500");return(0,ea.jsx)(BU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,ea.jsx)(OU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},nP=({inputComponent:e,inputProps:t,onClick:r})=>{let n=el(),[o,a]=(0,h1.useState)(0),{value:s,disabled:l}=t,u=l??!1;(0,h1.useEffect)(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Oa(s),Nn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0?{$forceState:"focus"}:void 0,d={...t,...p},h={onClick:c,disabled:u,"aria-disabled":u};return(0,ea.jsxs)(AU,{disabled:u,onClick:c,children:[(0,ea.jsx)(e,{...d}),(0,ea.jsx)(MU,{...h})]})};i();var g1=60,IU=e=>e.replace(/[^0-9:]/g,""),kU=e=>e?Number.parseFloat(e):0,NU=(e,t,r)=>{let n=F(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},VU=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>kU(d)),a=0,s=0,l=0;F(r)&&(s=Math.floor(r/g1),F(n)&&(s+=n)),F(r)&&(a=r%g1);let u=a.toString();u.length===1&&(a=u.padStart(2,"0"));let c=te(o)?o:0;l=Math.floor(s/g1)+c,s%=g1;let p=s.toString();return l&&p.length===1&&(s=p.padStart(2,"0")),NU(a,s,l)},K3=e=>{if(fe(e)||!lt(e))return"0:00";let t=IU(e);return VU(t)};var tl=require("react/jsx-runtime"),LU=new Set(["search"]),$U=oP.default.div`
1753
+ `,MU=({onClick:e,disabled:t=!1})=>{let r=Me("grey500");return(0,ea.jsx)(BU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,ea.jsx)(OU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},nP=({inputComponent:e,inputProps:t,onClick:r})=>{let n=el(),[o,a]=(0,h1.useState)(0),{value:s,disabled:l}=t,u=l??!1;(0,h1.useEffect)(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Oa(s),Nn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0?{$forceState:"focus"}:void 0,d={...t,...p},h={onClick:c,disabled:u,"aria-disabled":u};return(0,ea.jsxs)(AU,{$disabled:u,onClick:c,children:[(0,ea.jsx)(e,{...d}),(0,ea.jsx)(MU,{...h})]})};i();var g1=60,IU=e=>e.replace(/[^0-9:]/g,""),kU=e=>e?Number.parseFloat(e):0,NU=(e,t,r)=>{let n=F(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},VU=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>kU(d)),a=0,s=0,l=0;F(r)&&(s=Math.floor(r/g1),F(n)&&(s+=n)),F(r)&&(a=r%g1);let u=a.toString();u.length===1&&(a=u.padStart(2,"0"));let c=te(o)?o:0;l=Math.floor(s/g1)+c,s%=g1;let p=s.toString();return l&&p.length===1&&(s=p.padStart(2,"0")),NU(a,s,l)},K3=e=>{if(fe(e)||!lt(e))return"0:00";let t=IU(e);return VU(t)};var tl=require("react/jsx-runtime"),LU=new Set(["search"]),$U=oP.default.div`
1754
1754
  position: relative;
1755
1755
 
1756
1756
  svg {
@@ -2244,7 +2244,7 @@
2244
2244
 
2245
2245
  /* Precedence boost: https://styled-components.com/docs/basics#pseudoelements-pseudoselectors-and-nesting */
2246
2246
  && {
2247
- ${({variant:e})=>F(e)&&sre(e)};
2247
+ ${({$variant:e})=>F(e)&&sre(e)};
2248
2248
  }
2249
2249
  `,Wm=Mn.default.div`
2250
2250
  align-items: center;
@@ -2269,7 +2269,7 @@
2269
2269
  grid-row: span 2;
2270
2270
  text-align: center;
2271
2271
  width: 0;
2272
- `,tM=({children:e,label:t,description:r,badge:n,icon:o,renderAs:a,href:s,target:l,variant:u="primary",...c})=>{let p=a;mt(a)&&(p=te(s)?"a":"div");let d=p==="a"&&Ce(l)?{target:l}:{};return(0,Pe.jsx)(zm,{style:{outline:"none"},...c,asChild:!0,children:(0,Pe.jsx)(jm,{as:p,href:s,variant:u,...d,children:te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)&&(0,Pe.jsx)(Um,{children:o}),(0,Pe.jsxs)(_m,{children:[t," ",n]}),te(r)?(0,Pe.jsx)(nr,{variant:"caption",children:r}):null]})})})},rM=({children:e,label:t,description:r,badge:n,icon:o,indicator:a=(0,Pe.jsx)(Ae,{size:"sm",type:"checkmark"}),...s})=>(0,Pe.jsx)(Vv,{...s,asChild:!0,children:(0,Pe.jsxs)(jm,{children:[te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)?(0,Pe.jsx)(Um,{children:o}):(0,Pe.jsx)(_v,{}),(0,Pe.jsxs)(_m,{children:[t," ",n]}),te(r)?(0,Pe.jsx)(nr,{variant:"caption",children:r}):null]}),(0,Pe.jsx)(Gm,{children:a})]})}),nM=({children:e,label:t,badge:r,description:n,icon:o,indicator:a=(0,Pe.jsx)(Ae,{size:"sm",type:"checkmark"}),...s})=>(0,Pe.jsx)($v,{...s,asChild:!0,children:(0,Pe.jsxs)(jm,{children:[te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)?(0,Pe.jsx)(Um,{children:o}):(0,Pe.jsx)(_v,{}),(0,Pe.jsxs)(_m,{children:[t," ",r]})," ",te(n)?(0,Pe.jsx)(nr,{variant:"caption",children:n}):null]}),(0,Pe.jsx)(Gm,{children:a})]})}),lre=(0,Mn.default)(zv)`
2272
+ `,tM=({children:e,label:t,description:r,badge:n,icon:o,renderAs:a,href:s,target:l,variant:u="primary",...c})=>{let p=a;mt(a)&&(p=te(s)?"a":"div");let d=p==="a"&&Ce(l)?{target:l}:{};return(0,Pe.jsx)(zm,{style:{outline:"none"},...c,asChild:!0,children:(0,Pe.jsx)(jm,{$variant:u,as:p,href:s,...d,children:te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)&&(0,Pe.jsx)(Um,{children:o}),(0,Pe.jsxs)(_m,{children:[t," ",n]}),te(r)?(0,Pe.jsx)(nr,{variant:"caption",children:r}):null]})})})},rM=({children:e,label:t,description:r,badge:n,icon:o,indicator:a=(0,Pe.jsx)(Ae,{size:"sm",type:"checkmark"}),...s})=>(0,Pe.jsx)(Vv,{...s,asChild:!0,children:(0,Pe.jsxs)(jm,{children:[te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)?(0,Pe.jsx)(Um,{children:o}):(0,Pe.jsx)(_v,{}),(0,Pe.jsxs)(_m,{children:[t," ",n]}),te(r)?(0,Pe.jsx)(nr,{variant:"caption",children:r}):null]}),(0,Pe.jsx)(Gm,{children:a})]})}),nM=({children:e,label:t,badge:r,description:n,icon:o,indicator:a=(0,Pe.jsx)(Ae,{size:"sm",type:"checkmark"}),...s})=>(0,Pe.jsx)($v,{...s,asChild:!0,children:(0,Pe.jsxs)(jm,{children:[te(e)?e:(0,Pe.jsxs)(Wm,{children:[te(o)?(0,Pe.jsx)(Um,{children:o}):(0,Pe.jsx)(_v,{}),(0,Pe.jsxs)(_m,{children:[t," ",r]})," ",te(n)?(0,Pe.jsx)(nr,{variant:"caption",children:n}):null]}),(0,Pe.jsx)(Gm,{children:a})]})}),lre=(0,Mn.default)(zv)`
2273
2273
  outline: none;
2274
2274
 
2275
2275
  &[data-state='open'],
@@ -2464,19 +2464,19 @@
2464
2464
  padding: ${({theme:t})=>t.spacing.space05};
2465
2465
  }
2466
2466
  `}
2467
- `,Sre=Aa.default.div`
2468
- align-items: stretch;
2469
- display: flex;
2470
- flex-direction: column;
2471
- width: 100%;
2472
- `,Dre=(0,Aa.default)(mM)`
2467
+ `,Sre=(0,Aa.default)(mM)`
2473
2468
  ${({$allowModalToExceedViewportBounds:e})=>e&&Aa.css`
2474
2469
  ${Be.smAndUp} {
2475
2470
  max-height: min-content;
2476
2471
  margin: auto;
2477
2472
  }
2478
2473
  `}
2479
- `,Ere=e=>F(e)&&R6(e,"current")&&F(e.current),Pre=e=>{(0,Ai.useEffect)(()=>{let t=document.activeElement;if(Ere(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},bM=(0,Ai.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,isOpen:l=!1,shouldTrapFocus:u=!0,onRequestClose:c,shouldCloseOnClickOutside:p=!0,width:d,overflow:h="auto",...g},v)=>{Pre(v);let m=(0,Ai.useRef)(null),y=td(u,{focusSelector:te(s)?s:null});return Hs(m,()=>{c&&p&&c()}),jd(l),Hd("Escape",b=>{c&&c(),b.preventDefault()}),(0,Ta.jsx)(gM,{value:c,children:(0,Ta.jsx)(wre,{$allowModalToExceedViewportBounds:r,alignHorizontal:e,alignVertical:t,children:(0,Ta.jsx)(Dre,{ref:y,$allowModalToExceedViewportBounds:r,$fullHeight:a,$overflow:h,$width:d,"aria-modal":"true",role:"dialog",tabIndex:-1,...g,children:(0,Ta.jsx)(Sre,{ref:m,children:n})})})})}),Jv=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),te(e.className)&&n.classList.add(e.className),te(t)&&(n.id=t);let o=(0,Ai.useRef)(n);return(0,Ai.useEffect)(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),(0,yM.createPortal)((0,Ta.jsx)(Mu,{children:e.isOpen?(0,Ta.jsx)(bM,{ref:o,...r}):null}),o.current)};Jv.displayName="Modal_VHS";bM.displayName="ModalContent";i();var jc=N(require("styled-components"),1);var Zv=require("react/jsx-runtime"),CM=jc.default.div`
2474
+ `,Dre=Aa.default.div`
2475
+ align-items: stretch;
2476
+ display: flex;
2477
+ flex-direction: column;
2478
+ width: 100%;
2479
+ `,Ere=e=>F(e)&&R6(e,"current")&&F(e.current),Pre=e=>{(0,Ai.useEffect)(()=>{let t=document.activeElement;if(Ere(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},bM=(0,Ai.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,isOpen:l=!1,shouldTrapFocus:u=!0,onRequestClose:c,shouldCloseOnClickOutside:p=!0,width:d,overflow:h="auto",...g},v)=>{Pre(v);let m=(0,Ai.useRef)(null),y=td(u,{focusSelector:te(s)?s:null});return Hs(m,()=>{c&&p&&c()}),jd(l),Hd("Escape",b=>{c&&c(),b.preventDefault()}),(0,Ta.jsx)(gM,{value:c,children:(0,Ta.jsx)(wre,{$allowModalToExceedViewportBounds:r,alignHorizontal:e,alignVertical:t,children:(0,Ta.jsx)(Sre,{ref:y,$allowModalToExceedViewportBounds:r,$fullHeight:a,$overflow:h,$width:d,"aria-modal":"true",role:"dialog",tabIndex:-1,...g,children:(0,Ta.jsx)(Dre,{ref:m,children:n})})})})}),Jv=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),te(e.className)&&n.classList.add(e.className),te(t)&&(n.id=t);let o=(0,Ai.useRef)(n);return(0,Ai.useEffect)(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),(0,yM.createPortal)((0,Ta.jsx)(Mu,{children:e.isOpen?(0,Ta.jsx)(bM,{ref:o,...r}):null}),o.current)};Jv.displayName="Modal_VHS";bM.displayName="ModalContent";i();var jc=N(require("styled-components"),1);var Zv=require("react/jsx-runtime"),CM=jc.default.div`
2480
2480
  align-items: center;
2481
2481
  display: flex;
2482
2482
  padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
@@ -2983,7 +2983,7 @@
2983
2983
 
2984
2984
  &:hover {
2985
2985
  path {
2986
- ${({hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
2986
+ ${({$hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
2987
2987
  }
2988
2988
  }
2989
2989
  `,One=({brandmarkColor:e})=>(0,Hr.jsxs)("g",{fill:e,children:[(0,Hr.jsx)("path",{d:`
@@ -3008,7 +3008,7 @@
3008
3008
  3h5.8v16.78h3.08V3h5.91V.22H83.72zm18.12 16.79h3.07V.25h-3.07zm25.31
3009
3009
  0H124l-2.56-5.69h-8L111 19.78h-3.18l.1-.22L116.25.14h2.14zM117.3
3010
3010
  4.93l-2.64 6.39h5.49z
3011
- `})}),Ine=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",D6=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:l="standard",...u}={})=>{let[c]=Me(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[l].brandmark,h=p[l].logotype;if(!e&&!a)return null;let g=(0,Hr.jsxs)(Bne,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:Ine(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...u,children:[(0,Hr.jsx)("title",{children:s}),e?(0,Hr.jsx)(One,{brandmarkColor:d}):null,a?(0,Hr.jsx)(Mne,{logotypeColor:h}):null]});return o!==void 0?(0,Hr.jsx)("a",{href:o,children:g}):g};D6.displayName="WistiaLogo_VHS";i();i();var oI=N(require("styled-components"),1);var jr=require("react/jsx-runtime"),kne=(e,t)=>t?(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}):(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}),Nne=(e,t)=>t?null:(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z"})}),Vne=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Lne=oI.default.svg`
3011
+ `})}),Ine=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",D6=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:l="standard",...u}={})=>{let[c]=Me(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[l].brandmark,h=p[l].logotype;if(!e&&!a)return null;let g=(0,Hr.jsxs)(Bne,{$hoverColor:n,height:r,role:"img",title:"Wistia Logo",viewBox:Ine(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...u,children:[(0,Hr.jsx)("title",{children:s}),e?(0,Hr.jsx)(One,{brandmarkColor:d}):null,a?(0,Hr.jsx)(Mne,{logotypeColor:h}):null]});return o!==void 0?(0,Hr.jsx)("a",{href:o,children:g}):g};D6.displayName="WistiaLogo_VHS";i();i();var oI=N(require("styled-components"),1);var jr=require("react/jsx-runtime"),kne=(e,t)=>t?(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}):(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}),Nne=(e,t)=>t?null:(0,jr.jsx)("g",{fill:e,children:(0,jr.jsx)("path",{d:"M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z"})}),Vne=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Lne=oI.default.svg`
3012
3012
  height: ${({height:e})=>`${e}px`};
3013
3013
 
3014
3014
  /* ensure it will always fit on mobile */
@@ -3017,10 +3017,10 @@
3017
3017
 
3018
3018
  &:hover {
3019
3019
  path {
3020
- ${({hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
3020
+ ${({$hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
3021
3021
  }
3022
3022
  }
3023
- `,E6=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...l})=>{let u="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:u,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=(0,jr.jsxs)(Lne,{height:t,hoverColor:r,role:"img",viewBox:Vne(o),xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,jr.jsx)("title",{children:a}),F(e)?(0,jr.jsx)("desc",{children:e}):null,kne(h,o),Nne(g,o)]});return n!==void 0?(0,jr.jsx)("a",{href:n,children:v}):v};E6.displayName="WistiaLogoNew_VHS";
3023
+ `,E6=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...l})=>{let u="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:u,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=(0,jr.jsxs)(Lne,{$hoverColor:r,height:t,role:"img",viewBox:Vne(o),xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,jr.jsx)("title",{children:a}),F(e)?(0,jr.jsx)("desc",{children:e}):null,kne(h,o),Nne(g,o)]});return n!==void 0?(0,jr.jsx)("a",{href:n,children:v}):v};E6.displayName="WistiaLogoNew_VHS";
3024
3024
  /*! Bundled license information:
3025
3025
 
3026
3026
  react-is/cjs/react-is.production.min.js: