(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{"4mgG":function(e,t,r){},Wn8s:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r("q1tI")),i=o(r("17x9")),d=o(r("vOnD")),n=r("zGJ3");function o(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(null==e)return{};var r,a,i=function(e,t){if(null==e)return{};var r,a,i={},d=Object.keys(e);for(a=0;a<d.length;a++)r=d[a],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(a=0;a<d.length;a++)r=d[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r("4mgG");var c={"iphone-x":{borderRadius:32,width:342,scale:.78},"iphone-8":{borderRadius:0,width:336,scale:.78},"ipad-pro":{borderRadius:0,width:560,scale:.62},"imac-pro":{borderRadius:0,width:624,scale:.56},macbook:{borderRadius:0,width:740,scale:.47},"macbook-pro":{borderRadius:0,width:740,scale:.47},"surface-pro":{borderRadius:0,width:561,scale:.62},"surface-book":{borderRadius:0,width:728,scale:.47},"surface-studio":{borderRadius:0,width:640,scale:.55},"galaxy-s8":{borderRadius:0,width:321,scale:.8},"google-pixel":{borderRadius:0,width:360,scale:.72},"google-pixel-2-xl":{borderRadius:0,width:360,scale:.72},"apple-watch":{borderRadius:0,width:200,scale:1}},s={img:["alt","title","src","srcSet","sizes","loading","key","children"],video:["alt","title","muted","autoplay","loop","key","children"]},u=function(e){return[a.default.createElement(e.type,s[e.type].reduce((function(t,r){return t[r]=e.props[r],t}),{}))]},f=function e(t){var r=(0,n.mergeProps)(t,e,["style","width","height"]),i=r.type,d=r.children,o=r.style,s=r.className,f=(r.width,r.height,l(r,["type","children","style","className","width","height"])),h=c[i]||{},m=h.zIndex,v=void 0===m?0:m,b=h.borderRadius,y=void 0===b?0:b;return a.default.createElement(p,Object.assign({},f,{type:i,className:"device device-".concat(i," ").concat(s).trim(),style:o,contentRadius:y,contentZIndex:v}),a.default.createElement("div",{className:"device-frame"},a.default.createElement("div",{className:"device-content"},function e(t){for(var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=0;i<t.length;i++){var d=t[i];if(["img","video"].includes(d.type))return u(d);if(d.props&&d.props.children){var n=a.default.Children.toArray(d.props.children),o=e(n,!1);if(o)return o}}return r?t:null}(a.default.Children.toArray(d)))),a.default.createElement("div",{className:"device-stripe"}),a.default.createElement("div",{className:"device-header"}),a.default.createElement("div",{className:"device-sensors"}),a.default.createElement("div",{className:"device-btns"}),a.default.createElement("div",{className:"device-power"}))},p=d.default.div.withConfig({displayName:"Screenshot__Div",componentId:"el6nkq-0"})(["@media (max-width:","px){transform-origin:0 0;transform:scale(",");}.device-content video,.device-content img{border-radius:","px;background-color:#fff;background-position:center center;background-size:cover;object-fit:cover;width:100.1%;height:100.1%;}"],(function(e){return c[e.type].width}),(function(e){return c[e.type].scale}),(function(e){return e.contentRadius}));f.propTypes={type:i.default.oneOf(Object.keys(c)),children:i.default.any.isRequired,className:i.default.string,width:i.default.number,height:i.default.number,style:i.default.oneOfType([i.default.object,i.default.string])},f.defaultProps={type:"iphone-x",className:"",style:"{}",width:0,height:0};var h=f;t.default=h}}]);
//# sourceMappingURL=17-94e913d753e41afdb392.js.map