{"version":3,"file":"ProductionProcessVideo.BhKJi-eL.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/iRHSnO3GBZvvpeNkYeJm/Le9htuyPzt1f1eyqYh8Z/ProductionProcessVideo.js"],"sourcesContent":["/*!\n * @license\n * MyFonts Webfont Build ID 3867246, 2020-12-16T11:57:38-0500\n * \n * The fonts listed in this notice are subject to the End User License\n * Agreement(s) entered into by the website owner. All other parties are \n * explicitly restricted from using the Licensed Webfonts(s).\n * \n * You may obtain a valid license at the URLs below.\n * \n * Webfont: Futura Maxi Pro Light by Monotype\n * URL: https://www.myfonts.com/collections/monotype-imaging-foundry\n * Copyright: Copyright © 2026 Monotype Imaging Inc. All rights reserved.\n *\n * Webfont: Futura Maxi Pro Book by Monotype\n * URL: https://www.myfonts.com/collections/monotype-imaging-foundry\n * Copyright: Copyright © 2026 Monotype Imaging Inc. All rights reserved.\n * \n * © 2026 MyFonts Inc.\n *//*!\n * The Future Light and The Future Regular webfonts © Klim Type Foundry.\n * Licensed for web use on tagra.com. Use the supplied WOFF2 webfont files only.\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const defaultPoster={src:\"https://framerusercontent.com/images/WdJPLcjh5la2P5eYKuUMkqrqQzI.png\",alt:\"Production process video poster\"};const defaultLabelFont={fontFamily:\"The Future, Inter, sans-serif\",fontWeight:400,fontSize:16,lineHeight:\"24px\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ProductionProcessVideo(props){const{poster=defaultPoster,videoId=\"7OGbd5s1FiM\",label=\"Watch Video\",labelFont=defaultLabelFont,overlayOpacity=.4,hoverOverlayOpacity=.5}=props;const[playing,setPlaying]=React.useState(false);const[hovered,setHovered]=React.useState(false);const src=poster?.src||defaultPoster.src;const alt=poster?.alt||defaultPoster.alt;const trimmedVideoId=String(videoId||\"\").trim();const validVideoId=trimmedVideoId&&trimmedVideoId!==\"__NO_VIDEO__\"?trimmedVideoId:\"\";const embedUrl=validVideoId?\"https://www.youtube.com/embed/\"+encodeURIComponent(validVideoId)+\"?autoplay=1&rel=0\":\"\";const currentOverlay=hovered?hoverOverlayOpacity:overlayOpacity;if(playing&&embedUrl){return /*#__PURE__*/_jsx(\"div\",{style:styles.root,children:/*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,title:\"Tagra production process\",allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,style:styles.iframe})});}return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-label\":label,onClick:()=>embedUrl&&setPlaying(true),onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{...styles.button,cursor:embedUrl?\"pointer\":\"default\"},children:[/*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:styles.poster}),/*#__PURE__*/_jsx(\"span\",{style:{...styles.overlay,background:`rgba(0, 0, 0, ${currentOverlay})`}}),/*#__PURE__*/_jsxs(\"span\",{style:styles.playWrap,\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"svg\",{width:\"78\",height:\"78\",viewBox:\"0 0 78 78\",fill:\"none\",style:styles.playIcon,children:/*#__PURE__*/_jsx(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M39 0C17.4609 0 0 17.4609 0 39C0 60.5391 17.4609 78 39 78C60.5391 78 78 60.5391 78 39C78 17.4609 60.5391 0 39 0ZM52.9286 39L33.4286 50.1429V27.8571L52.9286 39Z\",fill:\"#fff\"})}),/*#__PURE__*/_jsx(\"span\",{style:{...styles.label,...labelFont,color:\"#fff\"},children:label})]})]});}const styles={root:{position:\"relative\",width:\"100%\",height:\"100%\",background:\"#000\",overflow:\"hidden\"},iframe:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0},button:{position:\"relative\",display:\"block\",width:\"100%\",height:\"100%\",padding:0,margin:0,border:0,background:\"#000\",cursor:\"pointer\",overflow:\"hidden\",font:\"inherit\"},poster:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"},overlay:{position:\"absolute\",inset:0,transition:\"background 0.2s ease\"},playWrap:{position:\"absolute\",inset:0,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:12,color:\"#fff\",pointerEvents:\"none\"},playIcon:{display:\"block\",flex:\"0 0 auto\"},label:{color:\"#fff\"}};addPropertyControls(ProductionProcessVideo,{poster:{type:ControlType.ResponsiveImage,title:\"Poster\"},videoId:{type:ControlType.String,title:\"YouTube ID\",defaultValue:\"7OGbd5s1FiM\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Watch Video\"},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:\"24px\",variant:\"Regular\",letterSpacing:\"0em\"}},overlayOpacity:{type:ControlType.Number,title:\"Overlay\",defaultValue:.4,min:0,max:1,step:.05},hoverOverlayOpacity:{type:ControlType.Number,title:\"Hover Overlay\",defaultValue:.5,min:0,max:1,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductionProcessVideo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductionProcessVideo.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAyBG,SAAwB,EAAuB,EAAM,CAAC,GAAK,CAAC,SAAO,EAAc,UAAQ,cAAc,QAAM,cAAc,YAAU,EAAiB,iBAAe,GAAG,sBAAoB,IAAI,EAAW,CAAC,EAAQ,GAAYA,EAAe,EAAK,EAAO,CAAC,EAAQ,GAAYA,EAAe,EAAK,EAAQ,EAAI,GAAQ,KAAK,EAAc,IAAU,EAAI,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