{"version":3,"file":"Simplecast.Dev9MCDc.mjs","names":[],"sources":["https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/framerusercontent.com/modules/q2cL7syGc9ukRT0XBvXQ/eisuJ8RdREB9nFBEu9GQ/Simplecast.js"],"sourcesContent":["/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{containerStyles}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";/**\n * SIMPLECAST\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */ export default function Simplecast({embedId,theme,showShare,style,...props}){return(/*#__PURE__*/ _jsx(motion.div,{style:{...containerStyles,...style,height:200},...props,children:embedId?/*#__PURE__*/ _jsx(\"iframe\",{height:\"100%\",width:\"100%\",frameBorder:\"no\",scrolling:\"no\",seamless:true,src:`https://player.simplecast.com/${embedId}?dark=${theme===\"dark\"?\"true\":\"false\"}&hide_share=${!showShare}`}):/*#__PURE__*/ _jsxs(motion.div,{style:{...emptyStateStyle,...style},children:[/*#__PURE__*/ _jsx(\"h1\",{style:stateTitleStyle,children:\"Simplecast\"}),/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"Set an episode ID in the Properties.\"})]})}));};addPropertyControls(Simplecast,{embedId:{title:\"ID\",type:ControlType.String,placeholder:\"00000000-0000-0000-0000-000000000000\",defaultValue:\"87dc4001-95cb-49bf-a372-7c25539957e2\",description:\"Share an episode on [Simplecast](https://simplecast.com/) and copy its embed ID.\"},theme:{title:\"Theme\",type:ControlType.Enum,options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],displaySegmentedControl:true},showShare:{title:\"Share\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Simplecast\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"400\",\"framerIntrinsicHeight\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Simplecast.map"],"mappings":"unBCQI,SAAwB,EAAW,CAAC,UAAQ,QAAM,YAAU,QAAM,GAAG,GAAO,CAAC,OAAqB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAgB,GAAG,EAAM,OAAO,IAAI,CAAC,GAAG,EAAM,SAAS,EAAsB,EAAK,SAAS,CAAC,OAAO,OAAO,MAAM,OAAO,YAAY,KAAK,UAAU,KAAK,SAAS,GAAK,IAAI,iCAAiC,EAAQ,QAAQ,IAAQ,OAAO,OAAO,QAAQ,cAAc,CAAC,IAAY,CAAC,CAAe,EAAM,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAgB,GAAG,EAAM,CAAC,SAAS,CAAe,EAAK,KAAK,CAAC,MAAM,EAAgB,SAAS,aAAa,CAAC,CAAe,EAAK,IAAI,CAAC,MAAM,EAAoB,SAAS,uCAAuC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAR1lB,IAAoD,IAAkC,IAAkF,IAA0H,CAQ4T,EAAoB,EAAW,CAAC,QAAQ,CAAC,MAAM,KAAK,KAAK,EAAY,OAAO,YAAY,uCAAuC,aAAa,uCAAuC,YAAY,mFAAmF,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAK,EAAY,KAAK,QAAQ,CAAC,QAAQ,OAAO,CAAC,aAAa,CAAC,QAAQ,OAAO,CAAC,wBAAwB,GAAK,CAAC,UAAU,CAAC,MAAM,QAAQ,KAAK,EAAY,QAAQ,aAAa,OAAO,cAAc,OAAO,aAAa,GAAM,CAAC,CAAC"}