{"version":3,"file":"Termly.BVg4DDPa.mjs","names":[],"sources":["https:/framerusercontent.com/modules/CtmkpFkz7SHqMMtEWrKP/tRBHrKZQzkNU6o6BdGG2/Termly.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function TermlyComponent(props){const{policyId}=props;useEffect(()=>{const script=document.createElement(\"script\");script.src=\"https://app.termly.io/embed-policy.min.js\";script.async=true;document.body.appendChild(script);return()=>{document.body.removeChild(script);};},[]);return /*#__PURE__*/_jsx(\"div\",{...props,name:\"termly-embed\",\"data-id\":policyId});}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={width:\"100%\"};addPropertyControls(TermlyComponent,{policyId:{type:ControlType.String,title:\"ID of Policy\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TermlyComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Termly.map"],"mappings":"kQAQG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,YAAU,EAAmO,OAA7N,MAAc,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAA4G,MAA3G,GAAO,IAAI,4CAA4C,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,KAAW,CAAC,SAAS,KAAK,YAAY,EAAO,GAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,GAAG,EAAM,KAAK,eAAe,UAAU,EAAS,CAAC,kBAN3U,IAA6B,IAAoD,CAQxF,EAAoB,EAAgB,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,CAAC,CAAC"}