import Script from 'next/script';
import IfActive from '../../IfActive';
import AdStubScript from './AdStubScript';
import SourcepointConfigScript from './SourcepointConfigScript';
import AdConfigScript from './AdConfigScript';
const HeadCompliance = function HeadCompliance(props) {
  const {
    embed
  } = props;
  return <IfActive active={!embed}>
      <AdStubScript />
      <SourcepointConfigScript />
      <Script id="sourcpoint-load-script" src="https://cdn.privacy-mgmt.com/unified/wrapperMessagingWithoutDetection.js" type="text/javascript" />
      <AdConfigScript />
      <Script id="ad-load-script" type="text/javascript" src="https://www.asadcdn.com/adlib/pages/politico.js" />
    </IfActive>;
};
export default HeadCompliance;