-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrc__pages__index__components__Hero.async.js
2 lines (2 loc) · 6.55 KB
/
src__pages__index__components__Hero.async.js
1
2
!(function(){"use strict";var q=Object.defineProperty,tt=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var N=(n,e,t)=>e in n?q(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,g=(n,e)=>{for(var t in e||(e={}))H.call(e,t)&&N(n,t,e[t]);if(z)for(var t of z(e))G.call(e,t)&&N(n,t,e[t]);return n},W=(n,e)=>tt(n,et(e));var J=(n,e)=>{var t={};for(var a in n)H.call(n,a)&&e.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&z)for(var a of z(n))e.indexOf(a)<0&&G.call(n,a)&&(t[a]=n[a]);return t};(self.webpackChunk=self.webpackChunk||[]).push([[836],{56556:function(n,e,t){t.d(e,{Z:function(){return I}});var a=t(38497),d=t(4280),x=t(90869),u=t(43358),p=t(39095),m=t(25761),j=t(5028),h=t(96469),v=(0,j.Z)((0,h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),y=t(38196),A=t(69566);const S=o=>{const{classes:r,variant:i,colorDefault:l}=o,f={root:["root",i,l&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,x.Z)(f,y.$,r)},D=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:i}=o;return[r.root,r[i.variant],i.colorDefault&&r.colorDefault]}})((0,p.Z)(({theme:o})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:o.typography.fontFamily,fontSize:o.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(o.vars||o).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:g({color:(o.vars||o).palette.background.default},o.vars?{backgroundColor:o.vars.palette.Avatar.defaultBg}:g({backgroundColor:o.palette.grey[400]},o.applyStyles("dark",{backgroundColor:o.palette.grey[600]})))}]}))),R=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(o,r)=>r.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),C=(0,u.ZP)(v,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(o,r)=>r.fallback})({width:"75%",height:"75%"});function M({crossOrigin:o,referrerPolicy:r,src:i,srcSet:l}){const[f,P]=a.useState(!1);return a.useEffect(()=>{if(!i&&!l)return;P(!1);let E=!0;const c=new Image;return c.onload=()=>{E&&P("loaded")},c.onerror=()=>{E&&P("error")},c.crossOrigin=o,c.referrerPolicy=r,c.src=i,l&&(c.srcset=l),()=>{E=!1}},[o,r,i,l]),f}var I=a.forwardRef(function(r,i){const l=(0,m.i)({props:r,name:"MuiAvatar"}),$=l,{alt:f,children:P,className:E,component:c="div",slots:T={},slotProps:U={},imgProps:K,sizes:Q,src:b,srcSet:B,variant:V="circular"}=$,X=J($,["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"]);let O=null;const Z=W(g({},l),{component:c,variant:V}),Y=M(W(g(g({},K),typeof U.img=="function"?U.img(Z):U.img),{src:b,srcSet:B})),_=b||B,F=_&&Y!=="error";Z.colorDefault=!F,delete Z.ownerState;const L=S(Z),[k,w]=(0,A.Z)("img",{className:L.img,elementType:R,externalForwardedProps:{slots:T,slotProps:{img:g(g({},K),U.img)}},additionalProps:{alt:f,src:b,srcSet:B,sizes:Q},ownerState:Z});return F?O=(0,h.jsx)(k,g({},w)):P||P===0?O=P:_&&f?O=f[0]:O=(0,h.jsx)(C,{ownerState:Z,className:L.fallback}),(0,h.jsx)(D,W(g({as:c,className:(0,d.Z)(L.root,E),ref:i},X),{ownerState:Z,children:O}))})},38196:function(n,e,t){t.d(e,{$:function(){return x}});var a=t(63986),d=t(14548);function x(p){return(0,d.ZP)("MuiAvatar",p)}const u=(0,a.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);e.Z=u},53491:function(n,e,t){t.d(e,{Z:function(){return p}});var a=t(38497),d=t(77783),x=t(63161),u=t(18192);function p(){const m=(0,d.Z)(x.Z);return m[u.Z]||m}},7199:function(n,e,t){var a=t(39346),d=t.n(a),x=t(42525),u=t.n(x),p=t(964),m=t(85043),j=t(96469),h=["children","hover","icon","size","sx"];e.Z=function(v){var y=v.children,A=v.hover,S=A===void 0?!0:A,D=v.icon,R=D===void 0?p.Z:D,C=v.size,M=C===void 0?24:C,s=v.sx,I=s===void 0?{}:s,o=u()(v,h),r=-(M/2+1),i=R,l={position:"absolute",fontSize:M,color:"GrayText",zIndex:20};return(0,j.jsxs)(m.Z,d()(d()({sx:d()({boxSizing:"border-box",position:"relative",border:2,borderStyle:"dashed",borderColor:"divider"},I)},o),{},{children:[(0,j.jsx)(i,{sx:d()({top:r,left:r},l)}),(0,j.jsx)(i,{sx:d()({top:r,right:r},l)}),(0,j.jsx)(i,{sx:d()({bottom:r,left:r},l)}),(0,j.jsx)(i,{sx:d()({bottom:r,right:r},l)}),y]}))}},28320:function(n,e,t){t.r(e),t.d(e,{default:function(){return r}});var a=t(56556),d=t(33524),x=t(85043),u=t(66850),p=t(51494),m=t(54646),j=t(53491),h=t(17713),v=t(38497),y=t(68501),A=t(7199),S=t(39346),D=t.n(S),R=t(42525),C=t.n(R),M=t(79651),s=t(96469),I=["children","animate"],o=function(i){var l=i.children,f=i.animate,P=f===void 0?{}:f,E=C()(i,I),c=(0,v.useRef)(),T=(0,v.useRef)();return(0,v.useEffect)(function(){return c.current&&(T.current=new M.Z(c.current,D()({typeSpeed:30,loop:!0},P))),function(){T.current.destroy()}},[]),(0,s.jsx)(h.Z,D()(D()({},E),{},{children:(0,s.jsx)("span",{ref:c,children:l})}))};function r(){var i=(0,j.Z)(),l=i.palette.mode==="dark";return(0,s.jsx)(x.Z,{sx:{overflow:"hidden",position:"relative"},children:(0,s.jsx)(p.Z,{maxWidth:"md",sx:{position:"relative",py:"120px",zIndex:3},children:(0,s.jsxs)(m.Z,{spacing:4,children:[(0,s.jsxs)(m.Z,{spacing:2,justifyContent:"center",alignItems:"center",children:[(0,s.jsx)(A.Z,{sx:{p:2},children:(0,s.jsx)(h.Z,{sx:{fontSize:48,fontWeight:600,lineHeight:1.2,textAlign:"center"},children:"Totalizer"})}),(0,s.jsx)(x.Z,{sx:{height:30},children:(0,s.jsx)(o,{sx:{fontSize:24,fontWeight:600,lineHeight:1.2,textAlign:"center"},animate:{strings:["Develop the future, we\u2019ll make it seamless.","To empower technology to deliver value in simpler ways."],typeSpeed:50}})})]}),(0,s.jsxs)(m.Z,{direction:"row",spacing:2,sx:{justifyContent:"center"},children:[(0,s.jsx)(u.Z,{variant:"outlined",onClick:function(){y.m8.push("/fe")},children:"Browse All Projects"}),(0,s.jsx)(u.Z,{onClick:function(){y.m8.push("/pricing")},children:"custom built"})]}),(0,s.jsxs)(m.Z,{direction:"row",spacing:1,sx:{alignItems:"center",justifyContent:"center "},children:[(0,s.jsxs)(d.Z,{children:[(0,s.jsx)(a.Z,{alt:"User 5",src:"/assets/avatar-5.png"}),(0,s.jsx)(a.Z,{alt:"User 1",src:"/assets/avatar-1.png"}),(0,s.jsx)(a.Z,{alt:"User 2",src:"/assets/avatar-2.png"})]}),(0,s.jsxs)(h.Z,{sx:{whiteSpace:"nowrap"},variant:"caption",children:["Developed by"," ",(0,s.jsx)(h.Z,{color:"inherit",component:"span",sx:{fontWeight:700},variant:"inherit",children:"20+"})," ","experts"]})]})]})})})}}}]);
}());