var k=Object.defineProperty,w=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(t,i,o)=>i in t?k(t,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[i]=o,a=(t,i)=>{for(var o in i||(i={}))p.call(i,o)&&s(t,o,i[o]);if(e)for(var o of e(i))d.call(i,o)&&s(t,o,i[o]);return t},l=(t,i)=>w(t,b(i));var r=(t,i)=>{var o={};for(var n in t)p.call(t,n)&&i.indexOf(n)<0&&(o[n]=t[n]);if(t!=null&&e)for(var n of e(t))i.indexOf(n)<0&&d.call(t,n)&&(o[n]=t[n]);return o};import"react";import{Flex as y}from"@chakra-ui/react";import"react";import u from"@emotion/styled";import{Text as L}from"@chakra-ui/react";import{jsx as m,jsxs as z}from"react/jsx-runtime";var T=u(L)`
  .one {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0s;
    animation: dot 1.3s infinite;
    animation-delay: 0s;
  }

  .two {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0.2s;
    animation: dot 1.3s infinite;
    animation-delay: 0.2s;
  }

  .three {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0.3s;
    animation: dot 1.3s infinite;
    animation-delay: 0.3s;
  }

  @-webkit-keyframes dot {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes dot {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
`,h=o=>{var n=o,{text:t="Loading"}=n,i=r(n,["text"]);return z(T,l(a({},i),{children:[t,m("span",{className:"one",children:"."}),m("span",{className:"two",children:"."}),m("span",{className:"three",children:"."})]}))},f=h;import"react";import{Spinner as F}from"@chakra-ui/react";import{jsx as R}from"react/jsx-runtime";var N=i=>{var t=r(i,[]);return R(F,a({thickness:"4px",speed:"1.5s",emptyColor:"input",color:"black",size:"xl"},t))},c=N;import{jsx as x,jsxs as g}from"react/jsx-runtime";var W=({completed:t,message:i})=>t?null:g(y,{flexDir:"column",w:"full",justifyContent:"center",alignItems:"center",children:[g(y,{align:"center",mb:"4",children:[x(c,{size:"md",mr:"10px"}),x(f,{text:"Minting In Progress",fontSize:22,fontWeight:600})]}),i()]}),X=W;export{X as default};
