'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

require('./_commonjsHelpers-06173234.js');
var React = require('react');
var React__default = _interopDefault(React);
var index = require('./index-fa8ed292.js');
require('prop-types');

var AdSlotsProvider = function AdSlotsProvider(_ref) {
  var children = _ref.children,
      networkID = _ref.networkID,
      _ref$targeting = _ref.targeting,
      targeting = _ref$targeting === undefined ? {} : _ref$targeting,
      _ref$singleRequest = _ref.singleRequest,
      singleRequest = _ref$singleRequest === undefined ? true : _ref$singleRequest;

  return React__default.createElement(
    index.lib_1,
    {
      dfpNetworkId: networkID,
      targeting: targeting,
      singleRequest: singleRequest,
      lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
    children
  );
};

module.exports = AdSlotsProvider;
