From f569eeb445dff9b0cdb8f30341cc016848ab59db Mon Sep 17 00:00:00 2001 From: Ratan Gulati Date: Wed, 3 Jul 2024 00:10:57 +0530 Subject: [PATCH] Update code --- .../{About-DTa-_fHd.js => About-Cyl6ZgIB.js} | 2 +- ...ontact-D2XFzUfp.js => Contact-DhpQT0NQ.js} | 2 +- ...nce-BYF1exfA.js => Experience-ISsF6LMR.js} | 2 +- ...{Footer-DPrNANg3.js => Footer-B-r5ut5q.js} | 2 +- .../{Home-Bkj1u5iF.js => Home-CGpcZShK.js} | 2 +- ...jects-CS5ES1lU.js => Projects-DDeNT6YA.js} | 2 +- dist/assets/index-B8y1DC09.js | 41 ------------------- dist/assets/index-Ba99ZtIc.js | 41 +++++++++++++++++++ dist/index.html | 2 +- src/App.jsx | 6 +-- 10 files changed, 51 insertions(+), 51 deletions(-) rename dist/assets/{About-DTa-_fHd.js => About-Cyl6ZgIB.js} (94%) rename dist/assets/{Contact-D2XFzUfp.js => Contact-DhpQT0NQ.js} (99%) rename dist/assets/{Experience-BYF1exfA.js => Experience-ISsF6LMR.js} (98%) rename dist/assets/{Footer-DPrNANg3.js => Footer-B-r5ut5q.js} (99%) rename dist/assets/{Home-Bkj1u5iF.js => Home-CGpcZShK.js} (87%) rename dist/assets/{Projects-CS5ES1lU.js => Projects-DDeNT6YA.js} (95%) delete mode 100644 dist/assets/index-B8y1DC09.js create mode 100644 dist/assets/index-Ba99ZtIc.js diff --git a/dist/assets/About-DTa-_fHd.js b/dist/assets/About-Cyl6ZgIB.js similarity index 94% rename from dist/assets/About-DTa-_fHd.js rename to dist/assets/About-Cyl6ZgIB.js index 052a36b..0b4b94f 100644 --- a/dist/assets/About-DTa-_fHd.js +++ b/dist/assets/About-Cyl6ZgIB.js @@ -1 +1 @@ -import{j as e}from"./index-B8y1DC09.js";import{s as n}from"./constants-BvORooUw.js";import{F as i}from"./Footer-DPrNANg3.js";import"react-router-dom";const a=({url:t,text:r,padding:s})=>e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`transition ease-in-out duration-300 ${s} rounded-md text-white border-2 hover:bg-white hover:text-black hover:scale-110 hover:-translate-y-1 cursor-pointer`,children:r}),o=({service:t})=>e.jsx("div",{className:"sm:w-[250px] w-full",children:e.jsx("div",{className:"w-full green-pink-gradient p-[1px] rounded-[20px]",children:e.jsxs("div",{className:"rounded-[20px] py-5 px-12 min-h-[280px] flex justify-evenly items-center flex-col",style:{background:"#151030"},children:[e.jsx("img",{src:t.icon,alt:"service_icon",className:"w-16 h-16 object-contain"}),e.jsx("h3",{className:"text-white text-[20px] font-bold text-center",children:t.title})]})})}),m=()=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-black min-h-screen w-full text-white sm:flex sm:justify-around about py-12 mt-8 overflow-x-hidden",id:"about",children:e.jsxs("div",{className:"flex flex-col justify-around",children:[e.jsxs("div",{className:"sm:px-16 px-2",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold m-2",children:"Introduction"}),e.jsxs("p",{className:"mt-3 mb-6 text-[17px] max-w-3xl leading-[30px]",children:["• Hi, I'm Ratan Gulati 👨‍💻",e.jsx("br",{}),"• I am currently in my third year of Bachelor of Computer Applications. As an aspiring ",e.jsx("a",{className:"text-green-300 hover:text-green-500 duration-300",href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",children:"Software developer"})," I specialize in both MERN stack, Cloud and DevOps technologies 🚀",e.jsx("br",{}),"• Beyond coding, I love sharing my learnings and experiences on various platforms, where I delve into the intricacies of software development and technology trends."]}),e.jsx(a,{url:"https://docs.google.com/document/d/14H0FDivvmYsD8k9MIAPx4qi-9l4JXS4HrrlmE0gYGE4/edit?usp=sharing",text:"View Resume →",padding:"p-3"})]}),e.jsx("div",{className:"mt-5 flex justify-center flex-wrap gap-7",children:n.map((t,r)=>e.jsx(o,{service:t},r))})]})}),e.jsx(i,{})]});export{m as default}; +import{j as e}from"./index-Ba99ZtIc.js";import{s as n}from"./constants-BvORooUw.js";import{F as i}from"./Footer-B-r5ut5q.js";import"react-router-dom";const a=({url:t,text:r,padding:s})=>e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`transition ease-in-out duration-300 ${s} rounded-md text-white border-2 hover:bg-white hover:text-black hover:scale-110 hover:-translate-y-1 cursor-pointer`,children:r}),o=({service:t})=>e.jsx("div",{className:"sm:w-[250px] w-full",children:e.jsx("div",{className:"w-full green-pink-gradient p-[1px] rounded-[20px]",children:e.jsxs("div",{className:"rounded-[20px] py-5 px-12 min-h-[280px] flex justify-evenly items-center flex-col",style:{background:"#151030"},children:[e.jsx("img",{src:t.icon,alt:"service_icon",className:"w-16 h-16 object-contain"}),e.jsx("h3",{className:"text-white text-[20px] font-bold text-center",children:t.title})]})})}),m=()=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-black min-h-screen w-full text-white sm:flex sm:justify-around about py-12 mt-8 overflow-x-hidden",id:"about",children:e.jsxs("div",{className:"flex flex-col justify-around",children:[e.jsxs("div",{className:"sm:px-16 px-2",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold m-2",children:"Introduction"}),e.jsxs("p",{className:"mt-3 mb-6 text-[17px] max-w-3xl leading-[30px]",children:["• Hi, I'm Ratan Gulati 👨‍💻",e.jsx("br",{}),"• I am currently in my third year of Bachelor of Computer Applications. As an aspiring ",e.jsx("a",{className:"text-green-300 hover:text-green-500 duration-300",href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",children:"Software developer"})," I specialize in both MERN stack, Cloud and DevOps technologies 🚀",e.jsx("br",{}),"• Beyond coding, I love sharing my learnings and experiences on various platforms, where I delve into the intricacies of software development and technology trends."]}),e.jsx(a,{url:"https://docs.google.com/document/d/14H0FDivvmYsD8k9MIAPx4qi-9l4JXS4HrrlmE0gYGE4/edit?usp=sharing",text:"View Resume →",padding:"p-3"})]}),e.jsx("div",{className:"mt-5 flex justify-center flex-wrap gap-7",children:n.map((t,r)=>e.jsx(o,{service:t},r))})]})}),e.jsx(i,{})]});export{m as default}; diff --git a/dist/assets/Contact-D2XFzUfp.js b/dist/assets/Contact-DhpQT0NQ.js similarity index 99% rename from dist/assets/Contact-D2XFzUfp.js rename to dist/assets/Contact-DhpQT0NQ.js index df6c1ba..8d02e18 100644 --- a/dist/assets/Contact-D2XFzUfp.js +++ b/dist/assets/Contact-DhpQT0NQ.js @@ -1,4 +1,4 @@ -import{r as de,j as M}from"./index-B8y1DC09.js";import{E as Be,a as Ge,b as Ye}from"./constants-BvORooUw.js";import"react-router-dom";class me{constructor(t=0,e="Network Error"){this.status=t,this.text=e}}const Je=()=>{if(!(typeof localStorage>"u"))return{get:r=>Promise.resolve(localStorage.getItem(r)),set:(r,t)=>Promise.resolve(localStorage.setItem(r,t)),remove:r=>Promise.resolve(localStorage.removeItem(r))}},S={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:Je()},Pe=r=>r?typeof r=="string"?{publicKey:r}:r.toString()==="[object Object]"?r:{}:{},We=(r,t="https://api.emailjs.com")=>{if(!r)return;const e=Pe(r);S.publicKey=e.publicKey,S.blockHeadless=e.blockHeadless,S.storageProvider=e.storageProvider,S.blockList=e.blockList,S.limitRate=e.limitRate,S.origin=e.origin||t},De=async(r,t,e={})=>{const l=await fetch(S.origin+r,{method:"POST",headers:e,body:t}),v=await l.text(),a=new me(l.status,v);if(l.ok)return a;throw a},Ee=(r,t,e)=>{if(!r||typeof r!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!e||typeof e!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},$e=r=>{if(r&&r.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Re=r=>r.webdriver||!r.languages||r.languages.length===0,Ce=()=>new me(451,"Unavailable For Headless Browser"),Xe=(r,t)=>{if(!Array.isArray(r))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},Ze=r=>{var t;return!((t=r.list)!=null&&t.length)||!r.watchVariable},Qe=(r,t)=>r instanceof FormData?r.get(t):r[t],Oe=(r,t)=>{if(Ze(r))return!1;Xe(r.list,r.watchVariable);const e=Qe(t,r.watchVariable);return typeof e!="string"?!1:r.list.includes(e)},Ae=()=>new me(403,"Forbidden"),er=(r,t)=>{if(typeof r!="number"||r<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a string"},rr=async(r,t,e)=>{const l=Number(await e.get(r)||0);return t-Date.now()+l},He=async(r,t,e)=>{if(!t.throttle||!e)return!1;er(t.throttle,t.id);const l=t.id||r;return await rr(l,t.throttle,e)>0?!0:(await e.set(l,Date.now().toString()),!1)},qe=()=>new me(429,"Too Many Requests"),tr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};return b&&Re(navigator)?Promise.reject(Ce()):(Ee(a,r,t),$e(e),e&&Oe(k,e)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):De("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:a,service_id:r,template_id:t,template_params:e}),{"Content-type":"application/json"}))},ar=r=>{if(!r||r.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},or=r=>typeof r=="string"?document.querySelector(r):r,sr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};if(b&&Re(navigator))return Promise.reject(Ce());const j=or(e);Ee(a,r,t),ar(j);const c=new FormData(j);return Oe(k,c)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):(c.append("lib_version","4.3.3"),c.append("service_id",r),c.append("template_id",t),c.append("user_id",a),De("/api/v1.0/email/send-form",c))},nr={init:We,send:tr,sendForm:sr,EmailJSResponseStatus:me};var Ie={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.makeNoise2D=void 0;var ue=(3-Math.sqrt(3))/6,Me=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[1,0],[-1,0],[0,1],[0,-1],[0,1],[0,-1]];function ir(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k){var x=(y+k)*.5*(Math.sqrt(3)-1),j=Math.floor(y+x),c=Math.floor(k+x),E=(j+c)*ue,U=j-E,V=c-E,T=y-U,N=k-V,W=T>N?1:0,i=T>N?0:1,s=T-W+ue,h=N-i+ue,d=T-1+2*ue,n=N-1+2*ue,u=j&255,m=c&255,w=Me[b[u+a[m]]],p=Me[b[u+W+a[m+i]]],_=Me[b[u+1+a[m+1]]],L=.5-T*T-N*N,K=L<0?0:Math.pow(L,4)*(w[0]*T+w[1]*N),I=.5-s*s-h*h,B=I<0?0:Math.pow(I,4)*(p[0]*s+p[1]*h),z=.5-d*d-n*n,G=z<0?0:Math.pow(z,4)*(_[0]*d+_[1]*n);return 70.14805770653952*(K+B+G)}}ke.makeNoise2D=ir;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.makeNoise3D=void 0;var J=1/6,ye=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,-1],[0,1,-1],[0,-1,-1]];function lr(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x){var j=(y+k+x)/3,c=Math.floor(y+j),E=Math.floor(k+j),U=Math.floor(x+j),V=(c+E+U)*J,T=c-V,N=E-V,W=U-V,i=y-T,s=k-N,h=x-W,d,n,u,m,w,p;i>=s?s>=h?(d=m=w=1,n=u=p=0):i>=h?(d=m=p=1,n=u=w=0):(u=m=p=1,d=n=w=0):s0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x,j){var c=(y+k+x+j)*(Math.sqrt(5)-1)/4,E=Math.floor(y+c),U=Math.floor(k+c),V=Math.floor(x+c),T=Math.floor(j+c),N=(E+U+V+T)*P,W=E-N,i=U-N,s=V-N,h=T-N,d=y-W,n=k-i,u=x-s,m=j-h,w=0,p=0,_=0,L=0;d>n?w++:p++,d>u?w++:_++,d>m?w++:L++,n>u?p++:_++,n>m?p++:L++,u>m?_++:L++;var K=w>=3?1:0,I=p>=3?1:0,B=_>=3?1:0,z=L>=3?1:0,G=w>=2?1:0,oe=p>=2?1:0,$=_>=2?1:0,R=L>=2?1:0,X=w>=1?1:0,Z=p>=1?1:0,Q=_>=1?1:0,o=L>=1?1:0,f=d-K+P,g=n-I+P,D=u-B+P,C=m-z+P,O=d-G+2*P,q=n-oe+2*P,A=u-$+2*P,Y=m-R+2*P,H=d-X+3*P,F=n-Z+3*P,ee=u-Q+3*P,ie=m-o+3*P,le=d-1+4*P,re=n-1+4*P,ce=u-1+4*P,ve=m-1+4*P,te=E&255,ae=U&255,se=V&255,ne=T&255,he=fe[a[te+a[ae+a[se+a[ne]]]]%32],pe=fe[a[te+K+a[ae+I+a[se+B+a[ne+z]]]]%32],ge=fe[a[te+G+a[ae+oe+a[se+$+a[ne+R]]]]%32],be=fe[a[te+X+a[ae+Z+a[se+Q+a[ne+o]]]]%32],we=fe[a[te+1+a[ae+1+a[se+1+a[ne+1]]]]%32],Se=.5-d*d-n*n-u*u-m*m,ze=Se<0?0:Math.pow(Se,4)*(he[0]*d+he[1]*n+he[2]*u+he[3]*m),Ne=.5-f*f-g*g-D*D-C*C,Fe=Ne<0?0:Math.pow(Ne,4)*(pe[0]*f+pe[1]*g+pe[2]*D+pe[3]*C),_e=.5-O*O-q*q-A*A-Y*Y,Ue=_e<0?0:Math.pow(_e,4)*(ge[0]*O+ge[1]*q+ge[2]*A+ge[3]*Y),Le=.5-H*H-F*F-ee*ee-ie*ie,Ve=Le<0?0:Math.pow(Le,4)*(be[0]*H+be[1]*F+be[2]*ee+be[3]*ie),Te=.5-le*le-re*re-ce*ce-ve*ve,Ke=Te<0?0:Math.pow(Te,4)*(we[0]*le+we[1]*re+we[2]*ce+we[3]*ve);return 72.37855765153665*(ze+Fe+Ue+Ve+Ke)}}je.makeNoise4D=cr;(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.makeNoise4D=r.makeNoise3D=r.makeNoise2D=void 0;var t=ke;Object.defineProperty(r,"makeNoise2D",{enumerable:!0,get:function(){return t.makeNoise2D}});var e=xe;Object.defineProperty(r,"makeNoise3D",{enumerable:!0,get:function(){return e.makeNoise3D}});var l=je;Object.defineProperty(r,"makeNoise4D",{enumerable:!0,get:function(){return l.makeNoise4D}})})(Ie);function vr(){const N="hsla(260,40%,5%,1)";let W,i,s,h,d,n,u;function m(){w(),p(),K(),$()}function w(){W=document.querySelector(".content--canvas"),i={a:document.createElement("canvas"),b:document.createElement("canvas")},i.b.style=` +import{r as de,j as M}from"./index-Ba99ZtIc.js";import{E as Be,a as Ge,b as Ye}from"./constants-BvORooUw.js";import"react-router-dom";class me{constructor(t=0,e="Network Error"){this.status=t,this.text=e}}const Je=()=>{if(!(typeof localStorage>"u"))return{get:r=>Promise.resolve(localStorage.getItem(r)),set:(r,t)=>Promise.resolve(localStorage.setItem(r,t)),remove:r=>Promise.resolve(localStorage.removeItem(r))}},S={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:Je()},Pe=r=>r?typeof r=="string"?{publicKey:r}:r.toString()==="[object Object]"?r:{}:{},We=(r,t="https://api.emailjs.com")=>{if(!r)return;const e=Pe(r);S.publicKey=e.publicKey,S.blockHeadless=e.blockHeadless,S.storageProvider=e.storageProvider,S.blockList=e.blockList,S.limitRate=e.limitRate,S.origin=e.origin||t},De=async(r,t,e={})=>{const l=await fetch(S.origin+r,{method:"POST",headers:e,body:t}),v=await l.text(),a=new me(l.status,v);if(l.ok)return a;throw a},Ee=(r,t,e)=>{if(!r||typeof r!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!e||typeof e!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},$e=r=>{if(r&&r.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Re=r=>r.webdriver||!r.languages||r.languages.length===0,Ce=()=>new me(451,"Unavailable For Headless Browser"),Xe=(r,t)=>{if(!Array.isArray(r))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},Ze=r=>{var t;return!((t=r.list)!=null&&t.length)||!r.watchVariable},Qe=(r,t)=>r instanceof FormData?r.get(t):r[t],Oe=(r,t)=>{if(Ze(r))return!1;Xe(r.list,r.watchVariable);const e=Qe(t,r.watchVariable);return typeof e!="string"?!1:r.list.includes(e)},Ae=()=>new me(403,"Forbidden"),er=(r,t)=>{if(typeof r!="number"||r<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a string"},rr=async(r,t,e)=>{const l=Number(await e.get(r)||0);return t-Date.now()+l},He=async(r,t,e)=>{if(!t.throttle||!e)return!1;er(t.throttle,t.id);const l=t.id||r;return await rr(l,t.throttle,e)>0?!0:(await e.set(l,Date.now().toString()),!1)},qe=()=>new me(429,"Too Many Requests"),tr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};return b&&Re(navigator)?Promise.reject(Ce()):(Ee(a,r,t),$e(e),e&&Oe(k,e)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):De("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:a,service_id:r,template_id:t,template_params:e}),{"Content-type":"application/json"}))},ar=r=>{if(!r||r.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},or=r=>typeof r=="string"?document.querySelector(r):r,sr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};if(b&&Re(navigator))return Promise.reject(Ce());const j=or(e);Ee(a,r,t),ar(j);const c=new FormData(j);return Oe(k,c)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):(c.append("lib_version","4.3.3"),c.append("service_id",r),c.append("template_id",t),c.append("user_id",a),De("/api/v1.0/email/send-form",c))},nr={init:We,send:tr,sendForm:sr,EmailJSResponseStatus:me};var Ie={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.makeNoise2D=void 0;var ue=(3-Math.sqrt(3))/6,Me=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[1,0],[-1,0],[0,1],[0,-1],[0,1],[0,-1]];function ir(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k){var x=(y+k)*.5*(Math.sqrt(3)-1),j=Math.floor(y+x),c=Math.floor(k+x),E=(j+c)*ue,U=j-E,V=c-E,T=y-U,N=k-V,W=T>N?1:0,i=T>N?0:1,s=T-W+ue,h=N-i+ue,d=T-1+2*ue,n=N-1+2*ue,u=j&255,m=c&255,w=Me[b[u+a[m]]],p=Me[b[u+W+a[m+i]]],_=Me[b[u+1+a[m+1]]],L=.5-T*T-N*N,K=L<0?0:Math.pow(L,4)*(w[0]*T+w[1]*N),I=.5-s*s-h*h,B=I<0?0:Math.pow(I,4)*(p[0]*s+p[1]*h),z=.5-d*d-n*n,G=z<0?0:Math.pow(z,4)*(_[0]*d+_[1]*n);return 70.14805770653952*(K+B+G)}}ke.makeNoise2D=ir;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.makeNoise3D=void 0;var J=1/6,ye=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,-1],[0,1,-1],[0,-1,-1]];function lr(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x){var j=(y+k+x)/3,c=Math.floor(y+j),E=Math.floor(k+j),U=Math.floor(x+j),V=(c+E+U)*J,T=c-V,N=E-V,W=U-V,i=y-T,s=k-N,h=x-W,d,n,u,m,w,p;i>=s?s>=h?(d=m=w=1,n=u=p=0):i>=h?(d=m=p=1,n=u=w=0):(u=m=p=1,d=n=w=0):s0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x,j){var c=(y+k+x+j)*(Math.sqrt(5)-1)/4,E=Math.floor(y+c),U=Math.floor(k+c),V=Math.floor(x+c),T=Math.floor(j+c),N=(E+U+V+T)*P,W=E-N,i=U-N,s=V-N,h=T-N,d=y-W,n=k-i,u=x-s,m=j-h,w=0,p=0,_=0,L=0;d>n?w++:p++,d>u?w++:_++,d>m?w++:L++,n>u?p++:_++,n>m?p++:L++,u>m?_++:L++;var K=w>=3?1:0,I=p>=3?1:0,B=_>=3?1:0,z=L>=3?1:0,G=w>=2?1:0,oe=p>=2?1:0,$=_>=2?1:0,R=L>=2?1:0,X=w>=1?1:0,Z=p>=1?1:0,Q=_>=1?1:0,o=L>=1?1:0,f=d-K+P,g=n-I+P,D=u-B+P,C=m-z+P,O=d-G+2*P,q=n-oe+2*P,A=u-$+2*P,Y=m-R+2*P,H=d-X+3*P,F=n-Z+3*P,ee=u-Q+3*P,ie=m-o+3*P,le=d-1+4*P,re=n-1+4*P,ce=u-1+4*P,ve=m-1+4*P,te=E&255,ae=U&255,se=V&255,ne=T&255,he=fe[a[te+a[ae+a[se+a[ne]]]]%32],pe=fe[a[te+K+a[ae+I+a[se+B+a[ne+z]]]]%32],ge=fe[a[te+G+a[ae+oe+a[se+$+a[ne+R]]]]%32],be=fe[a[te+X+a[ae+Z+a[se+Q+a[ne+o]]]]%32],we=fe[a[te+1+a[ae+1+a[se+1+a[ne+1]]]]%32],Se=.5-d*d-n*n-u*u-m*m,ze=Se<0?0:Math.pow(Se,4)*(he[0]*d+he[1]*n+he[2]*u+he[3]*m),Ne=.5-f*f-g*g-D*D-C*C,Fe=Ne<0?0:Math.pow(Ne,4)*(pe[0]*f+pe[1]*g+pe[2]*D+pe[3]*C),_e=.5-O*O-q*q-A*A-Y*Y,Ue=_e<0?0:Math.pow(_e,4)*(ge[0]*O+ge[1]*q+ge[2]*A+ge[3]*Y),Le=.5-H*H-F*F-ee*ee-ie*ie,Ve=Le<0?0:Math.pow(Le,4)*(be[0]*H+be[1]*F+be[2]*ee+be[3]*ie),Te=.5-le*le-re*re-ce*ce-ve*ve,Ke=Te<0?0:Math.pow(Te,4)*(we[0]*le+we[1]*re+we[2]*ce+we[3]*ve);return 72.37855765153665*(ze+Fe+Ue+Ve+Ke)}}je.makeNoise4D=cr;(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.makeNoise4D=r.makeNoise3D=r.makeNoise2D=void 0;var t=ke;Object.defineProperty(r,"makeNoise2D",{enumerable:!0,get:function(){return t.makeNoise2D}});var e=xe;Object.defineProperty(r,"makeNoise3D",{enumerable:!0,get:function(){return e.makeNoise3D}});var l=je;Object.defineProperty(r,"makeNoise4D",{enumerable:!0,get:function(){return l.makeNoise4D}})})(Ie);function vr(){const N="hsla(260,40%,5%,1)";let W,i,s,h,d,n,u;function m(){w(),p(),K(),$()}function w(){W=document.querySelector(".content--canvas"),i={a:document.createElement("canvas"),b:document.createElement("canvas")},i.b.style=` position: fixed; top: 0; left: 0; diff --git a/dist/assets/Experience-BYF1exfA.js b/dist/assets/Experience-ISsF6LMR.js similarity index 98% rename from dist/assets/Experience-BYF1exfA.js rename to dist/assets/Experience-ISsF6LMR.js index ca04637..bf0c3ec 100644 --- a/dist/assets/Experience-BYF1exfA.js +++ b/dist/assets/Experience-ISsF6LMR.js @@ -1,4 +1,4 @@ -import{r as y,g as Y,j as d}from"./index-B8y1DC09.js";import{e as G}from"./constants-BvORooUw.js";import{F as J}from"./Footer-DPrNANg3.js";import"react-router-dom";var N={},W={exports:{}},Q="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",X=Q,Z=X;function D(){}function L(){}L.resetWarningCache=D;var ee=function(){function e(o,t,n,l,a,c){if(c!==Z){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function r(){return e}var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:D};return i.PropTypes=i,i};W.exports=ee();var U=W.exports,q={exports:{}};/*! +import{r as y,g as Y,j as d}from"./index-Ba99ZtIc.js";import{e as G}from"./constants-BvORooUw.js";import{F as J}from"./Footer-B-r5ut5q.js";import"react-router-dom";var N={},W={exports:{}},Q="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",X=Q,Z=X;function D(){}function L(){}L.resetWarningCache=D;var ee=function(){function e(o,t,n,l,a,c){if(c!==Z){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function r(){return e}var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:D};return i.PropTypes=i,i};W.exports=ee();var U=W.exports,q={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames diff --git a/dist/assets/Footer-DPrNANg3.js b/dist/assets/Footer-B-r5ut5q.js similarity index 99% rename from dist/assets/Footer-DPrNANg3.js rename to dist/assets/Footer-B-r5ut5q.js index d966a6e..c911845 100644 --- a/dist/assets/Footer-DPrNANg3.js +++ b/dist/assets/Footer-B-r5ut5q.js @@ -1 +1 @@ -import{R as o,j as a}from"./index-B8y1DC09.js";var v={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},m=o.createContext&&o.createContext(v),x=["attr","size","title"];function b(t,e){if(t==null)return{};var r=j(t,e),n,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function j(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;eo.createElement(e.tag,h({key:r},e.attr),g(e.child)))}function s(t){return e=>o.createElement(z,u({attr:h({},t.attr)},e),g(t.child))}function z(t){var e=r=>{var{attr:n,size:i,title:l}=t,p=b(t,x),d=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),o.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,p,{className:c,style:h(h({color:t.color||r.color},r.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&o.createElement("title",null,l),t.children)};return m!==void 0?o.createElement(m.Consumer,null,r=>e(r)):e(v)}function N(t){return s({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"},child:[]}]})(t)}function P(t){return s({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(t)}function C(t){return s({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(t)}function _(t){return s({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"},child:[]}]})(t)}function E(t){return s({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"},child:[]},{tag:"polyline",attr:{points:"22,6 12,13 2,6"},child:[]}]})(t)}const H=()=>{const t=new Date().getFullYear();return a.jsx("div",{className:"bg-slate-900 p-4",style:{cursor:"default"},children:a.jsxs("div",{className:"flex justify-between flex-wrap gap-4",children:[a.jsxs("p",{className:"text-white text-center w-full sm:w-auto font-light",children:["© ",t," Ratan Gulati. All rights reserved."]}),a.jsxs("div",{className:"text-white flex justify-around sm:w-[250px] w-full",children:[a.jsx("a",{href:"mailto:i.ratangulati@gmail.com",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(E,{className:"text-xl"})}),a.jsx("a",{href:"https://twitter.com/ratanstwt",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(C,{className:"text-xl"})}),a.jsx("a",{href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(_,{className:"text-xl"})}),a.jsx("a",{href:"https://github.com/Ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(P,{className:"text-xl"})}),a.jsx("a",{href:"https://dev.to/ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(N,{className:"text-xl"})})]})]})})};export{H as F}; +import{R as o,j as a}from"./index-Ba99ZtIc.js";var v={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},m=o.createContext&&o.createContext(v),x=["attr","size","title"];function b(t,e){if(t==null)return{};var r=j(t,e),n,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function j(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;eo.createElement(e.tag,h({key:r},e.attr),g(e.child)))}function s(t){return e=>o.createElement(z,u({attr:h({},t.attr)},e),g(t.child))}function z(t){var e=r=>{var{attr:n,size:i,title:l}=t,p=b(t,x),d=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),o.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,p,{className:c,style:h(h({color:t.color||r.color},r.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&o.createElement("title",null,l),t.children)};return m!==void 0?o.createElement(m.Consumer,null,r=>e(r)):e(v)}function N(t){return s({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"},child:[]}]})(t)}function P(t){return s({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(t)}function C(t){return s({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(t)}function _(t){return s({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"},child:[]}]})(t)}function E(t){return s({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"},child:[]},{tag:"polyline",attr:{points:"22,6 12,13 2,6"},child:[]}]})(t)}const H=()=>{const t=new Date().getFullYear();return a.jsx("div",{className:"bg-slate-900 p-4",style:{cursor:"default"},children:a.jsxs("div",{className:"flex justify-between flex-wrap gap-4",children:[a.jsxs("p",{className:"text-white text-center w-full sm:w-auto font-light",children:["© ",t," Ratan Gulati. All rights reserved."]}),a.jsxs("div",{className:"text-white flex justify-around sm:w-[250px] w-full",children:[a.jsx("a",{href:"mailto:i.ratangulati@gmail.com",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(E,{className:"text-xl"})}),a.jsx("a",{href:"https://twitter.com/ratanstwt",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(C,{className:"text-xl"})}),a.jsx("a",{href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(_,{className:"text-xl"})}),a.jsx("a",{href:"https://github.com/Ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(P,{className:"text-xl"})}),a.jsx("a",{href:"https://dev.to/ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(N,{className:"text-xl"})})]})]})})};export{H as F}; diff --git a/dist/assets/Home-Bkj1u5iF.js b/dist/assets/Home-CGpcZShK.js similarity index 87% rename from dist/assets/Home-Bkj1u5iF.js rename to dist/assets/Home-CGpcZShK.js index d17cfb6..b3b25c3 100644 --- a/dist/assets/Home-Bkj1u5iF.js +++ b/dist/assets/Home-CGpcZShK.js @@ -1 +1 @@ -import{r,j as e}from"./index-B8y1DC09.js";import{n as a}from"./constants-BvORooUw.js";import{F as o}from"./Footer-DPrNANg3.js";import"react-router-dom";const u=()=>{const t=r.useRef(0),[c,n]=r.useState("");return r.useEffect(()=>{const l=setInterval(()=>{t.currents+a[t.current-1]))},250);return()=>clearInterval(l)},[]),e.jsxs("div",{className:"area relative z-0 bg-black w-screen h-screen",children:[e.jsx("ul",{className:"circles",children:[...Array(10)].map((l,s)=>e.jsx("li",{},s))}),e.jsx("div",{className:"hero relative h-[calc(100vh)] flex justify-center items-center text-white",id:"hero",children:e.jsxs("div",{className:"pt-4 h-36 backdrop-blur-sm rounded-3xl",children:[e.jsxs("h1",{className:"text-6xl sm:text-7xl font-extrabold mt-2",children:["Hi, I'm ",e.jsx("span",{className:"text-yellow-200 font-extrabold",children:c})]}),e.jsx("p",{className:"mt-3 text-xl",children:"I love to build projects using MERN, Cloud & DevOps."})]})}),e.jsx(o,{})]})};export{u as default}; +import{r,j as e}from"./index-Ba99ZtIc.js";import{n as a}from"./constants-BvORooUw.js";import{F as o}from"./Footer-B-r5ut5q.js";import"react-router-dom";const u=()=>{const t=r.useRef(0),[c,n]=r.useState("");return r.useEffect(()=>{const l=setInterval(()=>{t.currents+a[t.current-1]))},250);return()=>clearInterval(l)},[]),e.jsxs("div",{className:"area relative z-0 bg-black w-screen h-screen",children:[e.jsx("ul",{className:"circles",children:[...Array(10)].map((l,s)=>e.jsx("li",{},s))}),e.jsx("div",{className:"hero relative h-[calc(100vh)] flex justify-center items-center text-white",id:"hero",children:e.jsxs("div",{className:"pt-4 h-36 backdrop-blur-sm rounded-3xl",children:[e.jsxs("h1",{className:"text-6xl sm:text-7xl font-extrabold mt-2",children:["Hi, I'm ",e.jsx("span",{className:"text-yellow-200 font-extrabold",children:c})]}),e.jsx("p",{className:"mt-3 text-xl",children:"I love to build projects using MERN, Cloud & DevOps."})]})}),e.jsx(o,{})]})};export{u as default}; diff --git a/dist/assets/Projects-CS5ES1lU.js b/dist/assets/Projects-DDeNT6YA.js similarity index 95% rename from dist/assets/Projects-CS5ES1lU.js rename to dist/assets/Projects-DDeNT6YA.js index c6196a1..26471a4 100644 --- a/dist/assets/Projects-CS5ES1lU.js +++ b/dist/assets/Projects-DDeNT6YA.js @@ -1 +1 @@ -import{j as e}from"./index-B8y1DC09.js";import{F as n}from"./Footer-DPrNANg3.js";import"react-router-dom";const c="/ratangulati/assets/classroom-B9W-LDqR.png",d="/ratangulati/assets/compilex-DLxgW9-i.png",g="/ratangulati/assets/quicksend-DEm1V0Qx.png",m=({image:t,title:s,description:a,git:i,technologies:r})=>e.jsxs("div",{className:"flex flex-col bg-gray-900 border border-neutral-100 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-lg",children:[e.jsx("div",{className:"h-48 overflow-hidden",children:e.jsx("img",{className:"w-full h-full object-cover",src:t,alt:s})}),e.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[e.jsx("h5",{className:"text-2xl font-bold mb-3 tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-200 to-pink-500",children:s}),e.jsx("p",{className:"text-sm text-gray-300 dark:text-gray-400 mb-4 flex-grow",children:a}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:r.map((o,l)=>e.jsxs("span",{className:"px-2 py-1 text-xs font-semibold text-blue-500 bg-blue-100 rounded-full",children:["#",o]},`${l}-${o}`))}),e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"text-center py-2 px-4 bg-gradient-to-r from-purple-500 to-pink-500 text-white font-semibold rounded-lg shadow-md hover:from-purple-600 hover:to-pink-600 transition-all duration-300",children:"View on GitHub"})]})]}),f=()=>e.jsxs("div",{className:"min-h-screen flex flex-col bg-black",children:[e.jsxs("div",{className:"flex-grow container mx-auto px-4 py-16",children:[e.jsx("h2",{className:"text-4xl font-bold text-center text-white mt-4 mb-12",children:"My Projects"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:x.map((t,s)=>e.jsx(m,{image:t.image,title:t.title,description:t.description,git:t.git,technologies:t.technologies},s))})]}),e.jsx(n,{})]}),x=[{title:"Classroom",description:"A School Management System that streamlines administrative tasks, improves communication, and enhances overall efficiency in educational institutions.",image:c,git:"https://github.com/Ratangulati/Classroom",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]},{title:"CompileX",description:"A real-time collaborative code editor/compiler that helps users connect, share, code & debug together seamlessly.",image:d,git:"https://github.com/Ratangulati/CompileX",technologies:["ReactJS","NodeJS","ExpressJS","Socket.io"]},{title:"QuickSend",description:"An easy, fast, reliable, and secure money transfer web application for sending money to friends and family with just a few clicks.",image:g,git:"https://github.com/Ratangulati/QuickSend",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]}];export{f as default}; +import{j as e}from"./index-Ba99ZtIc.js";import{F as n}from"./Footer-B-r5ut5q.js";import"react-router-dom";const c="/ratangulati/assets/classroom-B9W-LDqR.png",d="/ratangulati/assets/compilex-DLxgW9-i.png",g="/ratangulati/assets/quicksend-DEm1V0Qx.png",m=({image:t,title:s,description:a,git:i,technologies:r})=>e.jsxs("div",{className:"flex flex-col bg-gray-900 border border-neutral-100 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-lg",children:[e.jsx("div",{className:"h-48 overflow-hidden",children:e.jsx("img",{className:"w-full h-full object-cover",src:t,alt:s})}),e.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[e.jsx("h5",{className:"text-2xl font-bold mb-3 tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-200 to-pink-500",children:s}),e.jsx("p",{className:"text-sm text-gray-300 dark:text-gray-400 mb-4 flex-grow",children:a}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:r.map((o,l)=>e.jsxs("span",{className:"px-2 py-1 text-xs font-semibold text-blue-500 bg-blue-100 rounded-full",children:["#",o]},`${l}-${o}`))}),e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"text-center py-2 px-4 bg-gradient-to-r from-purple-500 to-pink-500 text-white font-semibold rounded-lg shadow-md hover:from-purple-600 hover:to-pink-600 transition-all duration-300",children:"View on GitHub"})]})]}),f=()=>e.jsxs("div",{className:"min-h-screen flex flex-col bg-black",children:[e.jsxs("div",{className:"flex-grow container mx-auto px-4 py-16",children:[e.jsx("h2",{className:"text-4xl font-bold text-center text-white mt-4 mb-12",children:"My Projects"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:x.map((t,s)=>e.jsx(m,{image:t.image,title:t.title,description:t.description,git:t.git,technologies:t.technologies},s))})]}),e.jsx(n,{})]}),x=[{title:"Classroom",description:"A School Management System that streamlines administrative tasks, improves communication, and enhances overall efficiency in educational institutions.",image:c,git:"https://github.com/Ratangulati/Classroom",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]},{title:"CompileX",description:"A real-time collaborative code editor/compiler that helps users connect, share, code & debug together seamlessly.",image:d,git:"https://github.com/Ratangulati/CompileX",technologies:["ReactJS","NodeJS","ExpressJS","Socket.io"]},{title:"QuickSend",description:"An easy, fast, reliable, and secure money transfer web application for sending money to friends and family with just a few clicks.",image:g,git:"https://github.com/Ratangulati/QuickSend",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]}];export{f as default}; diff --git a/dist/assets/index-B8y1DC09.js b/dist/assets/index-B8y1DC09.js deleted file mode 100644 index bd5c139..0000000 --- a/dist/assets/index-B8y1DC09.js +++ /dev/null @@ -1,41 +0,0 @@ -const __vite__fileDeps=["assets/Home-Bkj1u5iF.js","assets/constants-BvORooUw.js","assets/Footer-DPrNANg3.js","assets/Experience-BYF1exfA.js","assets/Experience-CnZtrC8p.css","assets/Projects-CS5ES1lU.js","assets/About-DTa-_fHd.js","assets/Contact-D2XFzUfp.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{HashRouter as uc,Routes as ic,Route as ct}from"react-router-dom";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Kd(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),t}var Yi={exports:{}},tl={},Xi={exports:{}},L={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Gt=Symbol.for("react.element"),ac=Symbol.for("react.portal"),cc=Symbol.for("react.fragment"),fc=Symbol.for("react.strict_mode"),dc=Symbol.for("react.profiler"),pc=Symbol.for("react.provider"),mc=Symbol.for("react.context"),vc=Symbol.for("react.forward_ref"),hc=Symbol.for("react.suspense"),yc=Symbol.for("react.memo"),gc=Symbol.for("react.lazy"),Fu=Symbol.iterator;function wc(e){return e===null||typeof e!="object"?null:(e=Fu&&e[Fu]||e["@@iterator"],typeof e=="function"?e:null)}var Gi={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zi=Object.assign,Ji={};function lt(e,n,t){this.props=e,this.context=n,this.refs=Ji,this.updater=t||Gi}lt.prototype.isReactComponent={};lt.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};lt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function qi(){}qi.prototype=lt.prototype;function Bo(e,n,t){this.props=e,this.context=n,this.refs=Ji,this.updater=t||Gi}var Ho=Bo.prototype=new qi;Ho.constructor=Bo;Zi(Ho,lt.prototype);Ho.isPureReactComponent=!0;var Uu=Array.isArray,bi=Object.prototype.hasOwnProperty,Wo={current:null},es={key:!0,ref:!0,__self:!0,__source:!0};function ns(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)bi.call(n,r)&&!es.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1>>1,X=_[H];if(0>>1;Hl(kl,z))ynl(tr,kl)?(_[H]=tr,_[yn]=z,H=yn):(_[H]=kl,_[hn]=z,H=hn);else if(ynl(tr,z))_[H]=tr,_[yn]=z,H=yn;else break e}}return N}function l(_,N){var z=_.sortIndex-N.sortIndex;return z!==0?z:_.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,i=u.now();e.unstable_now=function(){return u.now()-i}}var s=[],c=[],m=1,v=null,p=3,g=!1,w=!1,S=!1,I=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var N=t(c);N!==null;){if(N.callback===null)r(c);else if(N.startTime<=_)r(c),N.sortIndex=N.expirationTime,n(s,N);else break;N=t(c)}}function h(_){if(S=!1,d(_),!w)if(t(s)!==null)w=!0,wl(E);else{var N=t(c);N!==null&&Sl(h,N.startTime-_)}}function E(_,N){w=!1,S&&(S=!1,f(P),P=-1),g=!0;var z=p;try{for(d(N),v=t(s);v!==null&&(!(v.expirationTime>N)||_&&!Pe());){var H=v.callback;if(typeof H=="function"){v.callback=null,p=v.priorityLevel;var X=H(v.expirationTime<=N);N=e.unstable_now(),typeof X=="function"?v.callback=X:v===t(s)&&r(s),d(N)}else r(s);v=t(s)}if(v!==null)var nr=!0;else{var hn=t(c);hn!==null&&Sl(h,hn.startTime-N),nr=!1}return nr}finally{v=null,p=z,g=!1}}var C=!1,x=null,P=-1,B=5,T=-1;function Pe(){return!(e.unstable_now()-T_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var N=3;break;default:N=p}var z=p;p=N;try{return _()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,N){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var z=p;p=_;try{return N()}finally{p=z}},e.unstable_scheduleCallback=function(_,N,z){var H=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0H?(_.sortIndex=z,n(c,_),t(s)===null&&_===t(c)&&(S?(f(P),P=-1):S=!0,Sl(h,z-H))):(_.sortIndex=X,n(s,_),w||g||(w=!0,wl(E))),_},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(_){var N=p;return function(){var z=p;p=N;try{return _.apply(this,arguments)}finally{p=z}}}})(us);os.exports=us;var Tc=os.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Rc=rl,ye=Tc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gl=Object.prototype.hasOwnProperty,Oc=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Au={},Vu={};function jc(e){return Gl.call(Vu,e)?!0:Gl.call(Au,e)?!1:Oc.test(e)?Vu[e]=!0:(Au[e]=!0,!1)}function Dc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mc(e,n,t,r){if(n===null||typeof n>"u"||Dc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function se(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ee[n]=new se(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ee[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ko=/[\-:]([a-z])/g;function Yo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ko,Yo);ee[n]=new se(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ko,Yo);ee[n]=new se(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ko,Yo);ee[n]=new se(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Xo(e,n,t,r){var l=ee.hasOwnProperty(n)?ee[n]:null;(l!==null?l.type!==0:r||!(2i||l[u]!==o[i]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{Cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?wt(e):""}function Ic(e){switch(e.tag){case 5:return wt(e.type);case 16:return wt("Lazy");case 13:return wt("Suspense");case 19:return wt("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function bl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case jn:return"Portal";case Zl:return"Profiler";case Go:return"StrictMode";case Jl:return"Suspense";case ql:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case as:return(e.displayName||"Context")+".Consumer";case ss:return(e._context.displayName||"Context")+".Provider";case Zo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jo:return n=e.displayName||null,n!==null?n:bl(e.type)||"Memo";case Ze:n=e._payload,e=e._init;try{return bl(e(n))}catch{}}return null}function Fc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return bl(n);case 8:return n===Go?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Uc(e){var n=fs(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function or(e){e._valueTracker||(e._valueTracker=Uc(e))}function ds(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=fs(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Or(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function eo(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Hu(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=fn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ps(e,n){n=n.checked,n!=null&&Xo(e,"checked",n,!1)}function no(e,n){ps(e,n);var t=fn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?to(e,n.type,t):n.hasOwnProperty("defaultValue")&&to(e,n.type,fn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Wu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function to(e,n,t){(n!=="number"||Or(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var St=Array.isArray;function Qn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function jt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var _t={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$c=["Webkit","ms","Moz","O"];Object.keys(_t).forEach(function(e){$c.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),_t[n]=_t[e]})});function ys(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||_t.hasOwnProperty(e)&&_t[e]?(""+n).trim():n+"px"}function gs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ys(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ac=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function oo(e,n){if(n){if(Ac[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function uo(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var io=null;function qo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var so=null,Kn=null,Yn=null;function Yu(e){if(e=qt(e)){if(typeof so!="function")throw Error(y(280));var n=e.stateNode;n&&(n=sl(n),so(e.stateNode,e.type,n))}}function ws(e){Kn?Yn?Yn.push(e):Yn=[e]:Kn=e}function Ss(){if(Kn){var e=Kn,n=Yn;if(Yn=Kn=null,Yu(e),n)for(e=0;e>>=0,e===0?32:31-(Jc(e)/qc|0)|0}var ir=64,sr=4194304;function kt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ir(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,u=t&268435455;if(u!==0){var i=u&~l;i!==0?r=kt(i):(o&=u,o!==0&&(r=kt(o)))}else u=t&~l,u!==0?r=kt(u):o!==0&&(r=kt(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Zt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Re(n),e[n]=t}function tf(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=xt),ti=" ",ri=!1;function As(e,n){switch(e){case"keyup":return Rf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function jf(e,n){switch(e){case"compositionend":return Vs(n);case"keypress":return n.which!==32?null:(ri=!0,ti);case"textInput":return e=n.data,e===ti&&ri?null:e;default:return null}}function Df(e,n){if(Mn)return e==="compositionend"||!uu&&As(e,n)?(e=Us(),_r=ru=en=null,Mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=ii(t)}}function Qs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Qs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ks(){for(var e=window,n=Or();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Or(e.document)}return n}function iu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Hf(e){var n=Ks(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Qs(t.ownerDocument.documentElement,t)){if(r!==null&&iu(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=si(t,o);var u=si(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,In=null,vo=null,Nt=null,ho=!1;function ai(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ho||In==null||In!==Or(r)||(r=In,"selectionStart"in r&&iu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Nt&&$t(Nt,r)||(Nt=r,r=$r(vo,"onSelect"),0$n||(e.current=Eo[$n],Eo[$n]=null,$n--)}function j(e,n){$n++,Eo[$n]=e.current,e.current=n}var dn={},le=mn(dn),fe=mn(!1),xn=dn;function qn(e,n){var t=e.type.contextTypes;if(!t)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Vr(){M(fe),M(le)}function hi(e,n,t){if(le.current!==dn)throw Error(y(168));j(le,n),j(fe,t)}function na(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fc(e)||"Unknown",l));return A({},t,r)}function Br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,xn=le.current,j(le,e),j(fe,fe.current),!0}function yi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=na(e,n,xn),r.__reactInternalMemoizedMergedChildContext=e,M(fe),M(le),j(le,e)):M(fe),j(fe,t)}var Ae=null,al=!1,$l=!1;function ta(e){Ae===null?Ae=[e]:Ae.push(e)}function nd(e){al=!0,ta(e)}function vn(){if(!$l&&Ae!==null){$l=!0;var e=0,n=O;try{var t=Ae;for(O=1;e>=u,l-=u,Ve=1<<32-Re(n)+l|t<P?(B=x,x=null):B=x.sibling;var T=p(f,x,d[P],h);if(T===null){x===null&&(x=B);break}e&&x&&T.alternate===null&&n(f,x),a=o(T,a,P),C===null?E=T:C.sibling=T,C=T,x=B}if(P===d.length)return t(f,x),F&&gn(f,P),E;if(x===null){for(;PP?(B=x,x=null):B=x.sibling;var Pe=p(f,x,T.value,h);if(Pe===null){x===null&&(x=B);break}e&&x&&Pe.alternate===null&&n(f,x),a=o(Pe,a,P),C===null?E=Pe:C.sibling=Pe,C=Pe,x=B}if(T.done)return t(f,x),F&&gn(f,P),E;if(x===null){for(;!T.done;P++,T=d.next())T=v(f,T.value,h),T!==null&&(a=o(T,a,P),C===null?E=T:C.sibling=T,C=T);return F&&gn(f,P),E}for(x=r(f,x);!T.done;P++,T=d.next())T=g(x,f,P,T.value,h),T!==null&&(e&&T.alternate!==null&&x.delete(T.key===null?P:T.key),a=o(T,a,P),C===null?E=T:C.sibling=T,C=T);return e&&x.forEach(function(st){return n(f,st)}),F&&gn(f,P),E}function I(f,a,d,h){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case lr:e:{for(var E=d.key,C=a;C!==null;){if(C.key===E){if(E=d.type,E===Dn){if(C.tag===7){t(f,C.sibling),a=l(C,d.props.children),a.return=f,f=a;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ze&&Si(E)===C.type){t(f,C.sibling),a=l(C,d.props),a.ref=ht(f,C,d),a.return=f,f=a;break e}t(f,C);break}else n(f,C);C=C.sibling}d.type===Dn?(a=Cn(d.props.children,f.mode,h,d.key),a.return=f,f=a):(h=Rr(d.type,d.key,d.props,null,f.mode,h),h.ref=ht(f,a,d),h.return=f,f=h)}return u(f);case jn:e:{for(C=d.key;a!==null;){if(a.key===C)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Yl(d,f.mode,h),a.return=f,f=a}return u(f);case Ze:return C=d._init,I(f,a,C(d._payload),h)}if(St(d))return w(f,a,d,h);if(ft(d))return S(f,a,d,h);vr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Kl(d,f.mode,h),a.return=f,f=a),u(f)):t(f,a)}return I}var et=ua(!0),ia=ua(!1),Qr=mn(null),Kr=null,Bn=null,fu=null;function du(){fu=Bn=Kr=null}function pu(e){var n=Qr.current;M(Qr),e._currentValue=n}function xo(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Gn(e,n){Kr=e,fu=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ce=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(fu!==e)if(e={context:e,memoizedValue:n,next:null},Bn===null){if(Kr===null)throw Error(y(308));Bn=e,Kr.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return n}var kn=null;function mu(e){kn===null?kn=[e]:kn.push(e)}function sa(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,mu(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ke(e,r)}function Ke(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Je=!1;function vu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aa(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function He(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function un(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,R&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ke(e,t)}return l=r.interleaved,l===null?(n.next=n,mu(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ke(e,t)}function xr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eu(e,t)}}function ki(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=u:o=o.next=u,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Yr(e,n,t,r){var l=e.updateQueue;Je=!1;var o=l.firstBaseUpdate,u=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,c=s.next;s.next=null,u===null?o=c:u.next=c,u=s;var m=e.alternate;m!==null&&(m=m.updateQueue,i=m.lastBaseUpdate,i!==u&&(i===null?m.firstBaseUpdate=c:i.next=c,m.lastBaseUpdate=s))}if(o!==null){var v=l.baseState;u=0,m=c=s=null,i=o;do{var p=i.lane,g=i.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:g,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var w=e,S=i;switch(p=n,g=t,S.tag){case 1:if(w=S.payload,typeof w=="function"){v=w.call(g,v,p);break e}v=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,p=typeof w=="function"?w.call(g,v,p):w,p==null)break e;v=A({},v,p);break e;case 2:Je=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[i]:p.push(i))}else g={eventTime:g,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},m===null?(c=m=g,s=v):m=m.next=g,u|=p;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;p=i,i=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(s=v),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);zn|=u,e.lanes=u,e.memoizedState=v}}function Ei(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),n()}finally{O=t,Vl.transition=r}}function Pa(){return xe().memoizedState}function od(e,n,t){var r=an(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Na(e))za(n,t);else if(t=sa(e,n,t,r),t!==null){var l=ue();Oe(t,e,r,l),La(t,n,r)}}function ud(e,n,t){var r=an(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Na(e))za(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var u=n.lastRenderedState,i=o(u,t);if(l.hasEagerState=!0,l.eagerState=i,je(i,u)){var s=n.interleaved;s===null?(l.next=l,mu(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=sa(e,n,l,r),t!==null&&(l=ue(),Oe(t,e,r,l),La(t,n,r))}}function Na(e){var n=e.alternate;return e===$||n!==null&&n===$}function za(e,n){zt=Gr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function La(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eu(e,t)}}var Zr={readContext:Ce,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},id={readContext:Ce,useCallback:function(e,n){return Me().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:Ci,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Nr(4194308,4,ka.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Nr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Nr(4,2,e,n)},useMemo:function(e,n){var t=Me();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Me();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=od.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var n=Me();return e={current:e},n.memoizedState=e},useState:_i,useDebugValue:_u,useDeferredValue:function(e){return Me().memoizedState=e},useTransition:function(){var e=_i(!1),n=e[0];return e=ld.bind(null,e[1]),Me().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=$,l=Me();if(F){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),J===null)throw Error(y(349));Nn&30||pa(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Ci(va.bind(null,r,o,e),[e]),r.flags|=2048,Yt(9,ma.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Me(),n=J.identifierPrefix;if(F){var t=Be,r=Ve;t=(r&~(1<<32-Re(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Qt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Ie]=n,e[Bt]=r,$a(e,n,!1,!1),n.stateNode=e;e:{switch(u=uo(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lrt&&(n.flags|=128,r=!0,yt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Xr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),yt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!F)return te(n),null}else 2*W()-o.renderingStartTime>rt&&t!==1073741824&&(n.flags|=128,r=!0,yt(o,!1),n.lanes=4194304);o.isBackwards?(u.sibling=n.child,n.child=u):(t=o.last,t!==null?t.sibling=u:n.child=u,o.last=u)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=W(),n.sibling=null,t=U.current,j(U,r?t&1|2:t&1),n):(te(n),null);case 22:case 23:return Lu(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?me&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function vd(e,n){switch(au(n),n.tag){case 1:return de(n.type)&&Vr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return nt(),M(fe),M(le),gu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return yu(n),null;case 13:if(M(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));bn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return M(U),null;case 4:return nt(),null;case 10:return pu(n.type._context),null;case 22:case 23:return Lu(),null;case 24:return null;default:return null}}var yr=!1,re=!1,hd=typeof WeakSet=="function"?WeakSet:Set,k=null;function Hn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function Do(e,n,t){try{t()}catch(r){V(e,n,r)}}var Mi=!1;function yd(e,n){if(yo=Fr,e=Ks(),iu(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var u=0,i=-1,s=-1,c=0,m=0,v=e,p=null;n:for(;;){for(var g;v!==t||l!==0&&v.nodeType!==3||(i=u+l),v!==o||r!==0&&v.nodeType!==3||(s=u+r),v.nodeType===3&&(u+=v.nodeValue.length),(g=v.firstChild)!==null;)p=v,v=g;for(;;){if(v===e)break n;if(p===t&&++c===l&&(i=u),p===o&&++m===r&&(s=u),(g=v.nextSibling)!==null)break;v=p,p=v.parentNode}v=g}t=i===-1||s===-1?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(go={focusedElem:e,selectionRange:t},Fr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,I=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:ze(n.type,S),I);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){V(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Mi,Mi=!1,w}function Lt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Do(n,t,o)}l=l.next}while(l!==r)}}function dl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Mo(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ba(e){var n=e.alternate;n!==null&&(e.alternate=null,Ba(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ie],delete n[Bt],delete n[ko],delete n[bf],delete n[ed])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ha(e){return e.tag===5||e.tag===3||e.tag===4}function Ii(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Io(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ar));else if(r!==4&&(e=e.child,e!==null))for(Io(e,n,t),e=e.sibling;e!==null;)Io(e,n,t),e=e.sibling}function Fo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Fo(e,n,t),e=e.sibling;e!==null;)Fo(e,n,t),e=e.sibling}var q=null,Le=!1;function Ge(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(ll,t)}catch{}switch(t.tag){case 5:re||Hn(t,n);case 6:var r=q,l=Le;q=null,Ge(e,n,t),q=r,Le=l,q!==null&&(Le?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Le?(e=q,t=t.stateNode,e.nodeType===8?Ul(e.parentNode,t):e.nodeType===1&&Ul(e,t),Ft(e)):Ul(q,t.stateNode));break;case 4:r=q,l=Le,q=t.stateNode.containerInfo,Le=!0,Ge(e,n,t),q=r,Le=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,u=o.destroy;o=o.tag,u!==void 0&&(o&2||o&4)&&Do(t,n,u),l=l.next}while(l!==r)}Ge(e,n,t);break;case 1:if(!re&&(Hn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){V(t,n,i)}Ge(e,n,t);break;case 21:Ge(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ge(e,n,t),re=r):Ge(e,n,t);break;default:Ge(e,n,t)}}function Fi(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new hd),n.forEach(function(r){var l=Pd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Ne(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~o}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wd(r/1960))-r,10e?16:e,nn===null)var r=!1;else{if(e=nn,nn=null,br=0,R&6)throw Error(y(331));var l=R;for(R|=4,k=e.current;k!==null;){var o=k,u=o.child;if(k.flags&16){var i=o.deletions;if(i!==null){for(var s=0;sW()-Nu?_n(e,0):Pu|=t),pe(e,n)}function qa(e,n){n===0&&(e.mode&1?(n=sr,sr<<=1,!(sr&130023424)&&(sr=4194304)):n=1);var t=ue();e=Ke(e,n),e!==null&&(Zt(e,n,t),pe(e,t))}function xd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),qa(e,t)}function Pd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),qa(e,t)}var ba;ba=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ce=!1,pd(e,n,t);ce=!!(e.flags&131072)}else ce=!1,F&&n.flags&1048576&&ra(n,Wr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;zr(e,n),e=n.pendingProps;var l=qn(n,le.current);Gn(n,t),l=Su(null,n,r,e,l,t);var o=ku();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,de(r)?(o=!0,Br(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,vu(n),l.updater=fl,n.stateNode=l,l._reactInternals=n,No(n,r,e,t),n=To(null,n,r,!0,o,t)):(n.tag=0,F&&o&&su(n),oe(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(zr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=zd(r),e=ze(r,e),l){case 0:n=Lo(null,n,r,e,t);break e;case 1:n=Oi(null,n,r,e,t);break e;case 11:n=Ti(null,n,r,e,t);break e;case 14:n=Ri(null,n,r,ze(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Lo(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Oi(e,n,r,l,t);case 3:e:{if(Ia(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,aa(e,n),Yr(n,r,null,t);var u=n.memoizedState;if(r=u.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=tt(Error(y(423)),n),n=ji(e,n,r,t,l);break e}else if(r!==l){l=tt(Error(y(424)),n),n=ji(e,n,r,t,l);break e}else for(ve=on(n.stateNode.containerInfo.firstChild),he=n,F=!0,Te=null,t=ia(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(bn(),r===l){n=Ye(e,n,t);break e}oe(e,n,r,t)}n=n.child}return n;case 5:return ca(n),e===null&&Co(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,u=l.children,wo(r,l)?u=null:o!==null&&wo(r,o)&&(n.flags|=32),Ma(e,n),oe(e,n,u,t),n.child;case 6:return e===null&&Co(n),null;case 13:return Fa(e,n,t);case 4:return hu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=et(n,null,r,t):oe(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Ti(e,n,r,l,t);case 7:return oe(e,n,n.pendingProps,t),n.child;case 8:return oe(e,n,n.pendingProps.children,t),n.child;case 12:return oe(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,u=l.value,j(Qr,r._currentValue),r._currentValue=u,o!==null)if(je(o.value,u)){if(o.children===l.children&&!fe.current){n=Ye(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var i=o.dependencies;if(i!==null){u=o.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=He(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),xo(o.return,t,n),i.lanes|=t;break}s=s.next}}else if(o.tag===10)u=o.type===n.type?null:o.child;else if(o.tag===18){if(u=o.return,u===null)throw Error(y(341));u.lanes|=t,i=u.alternate,i!==null&&(i.lanes|=t),xo(u,t,n),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===n){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}oe(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Gn(n,t),l=Ce(l),r=r(l),n.flags|=1,oe(e,n,r,t),n.child;case 14:return r=n.type,l=ze(r,n.pendingProps),l=ze(r.type,l),Ri(e,n,r,l,t);case 15:return ja(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),zr(e,n),n.tag=1,de(r)?(e=!0,Br(n)):e=!1,Gn(n,t),Ta(n,r,l),No(n,r,l,t),To(null,n,r,!0,e,t);case 19:return Ua(e,n,t);case 22:return Da(e,n,t)}throw Error(y(156,n.tag))};function ec(e,n){return Ns(e,n)}function Nd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(e,n,t,r){return new Nd(e,n,t,r)}function Ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zd(e){if(typeof e=="function")return Ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zo)return 11;if(e===Jo)return 14}return 2}function cn(e,n){var t=e.alternate;return t===null?(t=Ee(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Rr(e,n,t,r,l,o){var u=2;if(r=e,typeof e=="function")Ru(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Dn:return Cn(t.children,l,o,n);case Go:u=8,l|=8;break;case Zl:return e=Ee(12,t,n,l|2),e.elementType=Zl,e.lanes=o,e;case Jl:return e=Ee(13,t,n,l),e.elementType=Jl,e.lanes=o,e;case ql:return e=Ee(19,t,n,l),e.elementType=ql,e.lanes=o,e;case cs:return ml(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ss:u=10;break e;case as:u=9;break e;case Zo:u=11;break e;case Jo:u=14;break e;case Ze:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=Ee(u,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Cn(e,n,t,r){return e=Ee(7,e,r,n),e.lanes=t,e}function ml(e,n,t,r){return e=Ee(22,e,r,n),e.elementType=cs,e.lanes=t,e.stateNode={isHidden:!1},e}function Kl(e,n,t){return e=Ee(6,e,null,n),e.lanes=t,e}function Yl(e,n,t){return n=Ee(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ld(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Nl(0),this.expirationTimes=Nl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ou(e,n,t,r,l,o,u,i,s){return e=new Ld(e,n,t,i,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=Ee(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(o),e}function Td(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lc)}catch(e){console.error(e)}}lc(),ls.exports=ge;var Md=ls.exports,Qi=Md;Xl.createRoot=Qi.createRoot,Xl.hydrateRoot=Qi.hydrateRoot;const Id="modulepreload",Fd=function(e){return"/ratangulati/"+e},Ki={},er=function(n,t,r){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),u=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.all(t.map(i=>{if(i=Fd(i),i in Ki)return;Ki[i]=!0;const s=i.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${c}`))return;const m=document.createElement("link");if(m.rel=s?"stylesheet":Id,s||(m.as="script",m.crossOrigin=""),m.href=i,u&&m.setAttribute("nonce",u),document.head.appendChild(m),s)return new Promise((v,p)=>{m.addEventListener("load",v),m.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})}))}return l.then(()=>n()).catch(o=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o})},Ud=()=>G.jsx("div",{className:"flex justify-center items-center h-screen bg-gray-900",children:G.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-white"})}),$d=ot.lazy(()=>er(()=>import("./Home-Bkj1u5iF.js"),__vite__mapDeps([0,1,2]))),Ad=ot.lazy(()=>er(()=>import("./Experience-BYF1exfA.js"),__vite__mapDeps([3,1,2,4]))),Vd=ot.lazy(()=>er(()=>import("./Projects-CS5ES1lU.js"),__vite__mapDeps([5,2]))),Bd=ot.lazy(()=>er(()=>import("./About-DTa-_fHd.js"),__vite__mapDeps([6,1,2]))),Hd=ot.lazy(()=>er(()=>import("./Contact-D2XFzUfp.js"),__vite__mapDeps([7,1]))),Wd=()=>G.jsx(uc,{basename:"/ratangulati",children:G.jsx(rl.Suspense,{fallback:G.jsx(Ud,{}),children:G.jsxs(ic,{children:[G.jsx(ct,{path:"/",element:G.jsx($d,{})})," // Now includes base path",G.jsx(ct,{path:"/ratangulati/experience",element:G.jsx(Ad,{})}),G.jsx(ct,{path:"/ratangulati/projects",element:G.jsx(Vd,{})}),G.jsx(ct,{path:"/ratangulati/about",element:G.jsx(Bd,{})}),G.jsx(ct,{path:"/ratangulati/contact",element:G.jsx(Hd,{})})]})})});Xl.createRoot(document.getElementById("root")).render(G.jsx(ot.StrictMode,{children:G.jsx(Wd,{})}));export{ot as R,Kd as g,G as j,rl as r}; diff --git a/dist/assets/index-Ba99ZtIc.js b/dist/assets/index-Ba99ZtIc.js new file mode 100644 index 0000000..9b1544a --- /dev/null +++ b/dist/assets/index-Ba99ZtIc.js @@ -0,0 +1,41 @@ +const __vite__fileDeps=["assets/Home-CGpcZShK.js","assets/constants-BvORooUw.js","assets/Footer-B-r5ut5q.js","assets/Experience-ISsF6LMR.js","assets/Experience-CnZtrC8p.css","assets/Projects-DDeNT6YA.js","assets/About-Cyl6ZgIB.js","assets/Contact-DhpQT0NQ.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{useLocation as uc,Link as me,BrowserRouter as sc,Routes as ac,Route as dt}from"react-router-dom";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function cc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gd(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),t}var Xu={exports:{}},ll={},Gu={exports:{}},T={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Jt=Symbol.for("react.element"),fc=Symbol.for("react.portal"),dc=Symbol.for("react.fragment"),pc=Symbol.for("react.strict_mode"),mc=Symbol.for("react.profiler"),hc=Symbol.for("react.provider"),vc=Symbol.for("react.context"),yc=Symbol.for("react.forward_ref"),gc=Symbol.for("react.suspense"),wc=Symbol.for("react.memo"),kc=Symbol.for("react.lazy"),Ui=Symbol.iterator;function Sc(e){return e===null||typeof e!="object"?null:(e=Ui&&e[Ui]||e["@@iterator"],typeof e=="function"?e:null)}var Zu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ju=Object.assign,qu={};function it(e,n,t){this.props=e,this.context=n,this.refs=qu,this.updater=t||Zu}it.prototype.isReactComponent={};it.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};it.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bu(){}bu.prototype=it.prototype;function Ho(e,n,t){this.props=e,this.context=n,this.refs=qu,this.updater=t||Zu}var Wo=Ho.prototype=new bu;Wo.constructor=Ho;Ju(Wo,it.prototype);Wo.isPureReactComponent=!0;var $i=Array.isArray,es=Object.prototype.hasOwnProperty,Qo={current:null},ns={key:!0,ref:!0,__self:!0,__source:!0};function ts(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)es.call(n,r)&&!ns.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1>>1,G=x[W];if(0>>1;Wl(El,L))gnl(lr,El)?(x[W]=lr,x[gn]=L,W=gn):(x[W]=El,x[yn]=L,W=yn);else if(gnl(lr,L))x[W]=lr,x[gn]=L,W=gn;else break e}}return z}function l(x,z){var L=x.sortIndex-z.sortIndex;return L!==0?L:x.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],m=1,h=null,p=3,g=!1,w=!1,k=!1,F=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(x){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=x)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(x){if(k=!1,d(x),!w)if(t(s)!==null)w=!0,kl(E);else{var z=t(c);z!==null&&Sl(v,z.startTime-x)}}function E(x,z){w=!1,k&&(k=!1,f(P),P=-1),g=!0;var L=p;try{for(d(z),h=t(s);h!==null&&(!(h.expirationTime>z)||x&&!Ne());){var W=h.callback;if(typeof W=="function"){h.callback=null,p=h.priorityLevel;var G=W(h.expirationTime<=z);z=e.unstable_now(),typeof G=="function"?h.callback=G:h===t(s)&&r(s),d(z)}else r(s);h=t(s)}if(h!==null)var rr=!0;else{var yn=t(c);yn!==null&&Sl(v,yn.startTime-z),rr=!1}return rr}finally{h=null,p=L,g=!1}}var _=!1,C=null,P=-1,H=5,j=-1;function Ne(){return!(e.unstable_now()-jx||125W?(x.sortIndex=L,n(c,x),t(s)===null&&x===t(c)&&(k?(f(P),P=-1):k=!0,Sl(v,L-W))):(x.sortIndex=G,n(s,x),w||g||(w=!0,kl(E))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var z=p;return function(){var L=p;p=z;try{return x.apply(this,arguments)}finally{p=L}}}})(us);is.exports=us;var Rc=is.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Oc=qn,ge=Rc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zl=Object.prototype.hasOwnProperty,Mc=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Vi={},Bi={};function Dc(e){return Zl.call(Bi,e)?!0:Zl.call(Vi,e)?!1:Mc.test(e)?Bi[e]=!0:(Vi[e]=!0,!1)}function Ic(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Fc(e,n,t,r){if(n===null||typeof n>"u"||Ic(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function se(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ee[n]=new se(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ee[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Yo=/[\-:]([a-z])/g;function Xo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Yo,Xo);ee[n]=new se(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Yo,Xo);ee[n]=new se(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Yo,Xo);ee[n]=new se(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Go(e,n,t,r){var l=ee.hasOwnProperty(n)?ee[n]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?St(e):""}function Uc(e){switch(e.tag){case 5:return St(e.type);case 16:return St("Lazy");case 13:return St("Suspense");case 19:return St("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function eo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case Mn:return"Portal";case Jl:return"Profiler";case Zo:return"StrictMode";case ql:return"Suspense";case bl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cs:return(e.displayName||"Context")+".Consumer";case as:return(e._context.displayName||"Context")+".Provider";case Jo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qo:return n=e.displayName||null,n!==null?n:eo(e.type)||"Memo";case Je:n=e._payload,e=e._init;try{return eo(e(n))}catch{}}return null}function $c(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return eo(n);case 8:return n===Zo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ds(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ac(e){var n=ds(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function ur(e){e._valueTracker||(e._valueTracker=Ac(e))}function ps(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ds(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Mr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function no(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Wi(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ms(e,n){n=n.checked,n!=null&&Go(e,"checked",n,!1)}function to(e,n){ms(e,n);var t=dn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?ro(e,n.type,t):n.hasOwnProperty("defaultValue")&&ro(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Qi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function ro(e,n,t){(n!=="number"||Mr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Et=Array.isArray;function Kn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=sr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Dt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Ct={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vc=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(e){Vc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ct[n]=Ct[e]})});function gs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Ct.hasOwnProperty(e)&&Ct[e]?(""+n).trim():n+"px"}function ws(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=gs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Bc=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function io(e,n){if(n){if(Bc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function uo(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var so=null;function bo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ao=null,Yn=null,Xn=null;function Xi(e){if(e=er(e)){if(typeof ao!="function")throw Error(y(280));var n=e.stateNode;n&&(n=al(n),ao(e.stateNode,e.type,n))}}function ks(e){Yn?Xn?Xn.push(e):Xn=[e]:Yn=e}function Ss(){if(Yn){var e=Yn,n=Xn;if(Xn=Yn=null,Xi(e),n)for(e=0;e>>=0,e===0?32:31-(bc(e)/ef|0)|0}var ar=64,cr=4194304;function xt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ur(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=xt(u):(o&=i,o!==0&&(r=xt(o)))}else i=t&~l,i!==0?r=xt(i):o!==0&&(r=xt(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Re(n),e[n]=t}function lf(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Nt),ru=" ",lu=!1;function Vs(e,n){switch(e){case"keyup":return Of.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function Df(e,n){switch(e){case"compositionend":return Bs(n);case"keypress":return n.which!==32?null:(lu=!0,ru);case"textInput":return e=n.data,e===ru&&lu?null:e;default:return null}}function If(e,n){if(In)return e==="compositionend"||!ui&&Vs(e,n)?(e=$s(),Cr=li=nn=null,In=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=su(t)}}function Ks(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ks(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ys(){for(var e=window,n=Mr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Mr(e.document)}return n}function si(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Qf(e){var n=Ys(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ks(t.ownerDocument.documentElement,t)){if(r!==null&&si(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=au(t,o);var i=au(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Fn=null,vo=null,Lt=null,yo=!1;function cu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;yo||Fn==null||Fn!==Mr(r)||(r=Fn,"selectionStart"in r&&si(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Lt&&Vt(Lt,r)||(Lt=r,r=Vr(vo,"onSelect"),0An||(e.current=xo[An],xo[An]=null,An--)}function M(e,n){An++,xo[An]=e.current,e.current=n}var pn={},le=hn(pn),fe=hn(!1),Pn=pn;function et(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Hr(){I(fe),I(le)}function yu(e,n,t){if(le.current!==pn)throw Error(y(168));M(le,n),M(fe,t)}function ta(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,$c(e)||"Unknown",l));return V({},t,r)}function Wr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Pn=le.current,M(le,e),M(fe,fe.current),!0}function gu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ta(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,I(fe),I(le),M(le,e)):I(fe),M(fe,t)}var Ve=null,cl=!1,Al=!1;function ra(e){Ve===null?Ve=[e]:Ve.push(e)}function rd(e){cl=!0,ra(e)}function vn(){if(!Al&&Ve!==null){Al=!0;var e=0,n=O;try{var t=Ve;for(O=1;e>=i,l-=i,Be=1<<32-Re(n)+l|t<P?(H=C,C=null):H=C.sibling;var j=p(f,C,d[P],v);if(j===null){C===null&&(C=H);break}e&&C&&j.alternate===null&&n(f,C),a=o(j,a,P),_===null?E=j:_.sibling=j,_=j,C=H}if(P===d.length)return t(f,C),U&&wn(f,P),E;if(C===null){for(;PP?(H=C,C=null):H=C.sibling;var Ne=p(f,C,j.value,v);if(Ne===null){C===null&&(C=H);break}e&&C&&Ne.alternate===null&&n(f,C),a=o(Ne,a,P),_===null?E=Ne:_.sibling=Ne,_=Ne,C=H}if(j.done)return t(f,C),U&&wn(f,P),E;if(C===null){for(;!j.done;P++,j=d.next())j=h(f,j.value,v),j!==null&&(a=o(j,a,P),_===null?E=j:_.sibling=j,_=j);return U&&wn(f,P),E}for(C=r(f,C);!j.done;P++,j=d.next())j=g(C,f,P,j.value,v),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?P:j.key),a=o(j,a,P),_===null?E=j:_.sibling=j,_=j);return e&&C.forEach(function(ct){return n(f,ct)}),U&&wn(f,P),E}function F(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ir:e:{for(var E=d.key,_=a;_!==null;){if(_.key===E){if(E=d.type,E===Dn){if(_.tag===7){t(f,_.sibling),a=l(_,d.props.children),a.return=f,f=a;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Je&&Su(E)===_.type){t(f,_.sibling),a=l(_,d.props),a.ref=gt(f,_,d),a.return=f,f=a;break e}t(f,_);break}else n(f,_);_=_.sibling}d.type===Dn?(a=Cn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Or(d.type,d.key,d.props,null,f.mode,v),v.ref=gt(f,a,d),v.return=f,f=v)}return i(f);case Mn:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Xl(d,f.mode,v),a.return=f,f=a}return i(f);case Je:return _=d._init,F(f,a,_(d._payload),v)}if(Et(d))return w(f,a,d,v);if(pt(d))return k(f,a,d,v);yr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Yl(d,f.mode,v),a.return=f,f=a),i(f)):t(f,a)}return F}var tt=ua(!0),sa=ua(!1),Yr=hn(null),Xr=null,Hn=null,di=null;function pi(){di=Hn=Xr=null}function mi(e){var n=Yr.current;I(Yr),e._currentValue=n}function Po(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Zn(e,n){Xr=e,di=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ce=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(di!==e)if(e={context:e,memoizedValue:n,next:null},Hn===null){if(Xr===null)throw Error(y(308));Hn=e,Xr.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return n}var En=null;function hi(e){En===null?En=[e]:En.push(e)}function aa(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,hi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ye(e,r)}function Ye(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var qe=!1;function vi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ca(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function We(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,R&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ye(e,t)}return l=r.interleaved,l===null?(n.next=n,hi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ye(e,t)}function Nr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ni(e,t)}}function Eu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=i:o=o.next=i,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Gr(e,n,t,r){var l=e.updateQueue;qe=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(o!==null){var h=l.baseState;i=0,m=c=s=null,u=o;do{var p=u.lane,g=u.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,k=u;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){h=w.call(g,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,h,p):w,p==null)break e;h=V({},h,p);break e;case 2:qe=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else g={eventTime:g,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=g,s=h):m=m.next=g,i|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,n=l.shared.interleaved,n!==null){l=n;do i|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);Ln|=i,e.lanes=i,e.memoizedState=h}}function xu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Bl.transition;Bl.transition={};try{e(!1),n()}finally{O=t,Bl.transition=r}}function Na(){return Pe().memoizedState}function ud(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},za(e))La(n,t);else if(t=aa(e,n,t,r),t!==null){var l=ie();Oe(t,e,r,l),Ta(t,n,r)}}function sd(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(za(e))La(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,Me(u,i)){var s=n.interleaved;s===null?(l.next=l,hi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=aa(e,n,l,r),t!==null&&(l=ie(),Oe(t,e,r,l),Ta(t,n,r))}}function za(e){var n=e.alternate;return e===A||n!==null&&n===A}function La(e,n){Tt=Jr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Ta(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ni(e,t)}}var qr={readContext:Ce,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},ad={readContext:Ce,useCallback:function(e,n){return Ie().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:Cu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Lr(4194308,4,Ea.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Lr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Lr(4,2,e,n)},useMemo:function(e,n){var t=Ie();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ie();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ud.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var n=Ie();return e={current:e},n.memoizedState=e},useState:_u,useDebugValue:_i,useDeferredValue:function(e){return Ie().memoizedState=e},useTransition:function(){var e=_u(!1),n=e[0];return e=id.bind(null,e[1]),Ie().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=A,l=Ie();if(U){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),J===null)throw Error(y(349));zn&30||ma(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Cu(va.bind(null,r,o,e),[e]),r.flags|=2048,Gt(9,ha.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ie(),n=J.identifierPrefix;if(U){var t=He,r=Be;t=(r&~(1<<32-Re(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Yt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Fe]=n,e[Wt]=r,Aa(e,n,!1,!1),n.stateNode=e;e:{switch(i=uo(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;l<_t.length;l++)D(_t[l],e);l=r;break;case"source":D("error",e),l=r;break;case"img":case"image":case"link":D("error",e),D("load",e),l=r;break;case"details":D("toggle",e),l=r;break;case"input":Wi(e,r),l=no(e,r),D("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),D("invalid",e);break;case"textarea":Ki(e,r),l=lo(e,r),D("invalid",e);break;default:l=r}io(t,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?ws(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ys(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&Dt(e,s):typeof s=="number"&&Dt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Mt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&D("scroll",e):s!=null&&Go(e,o,s,i))}switch(t){case"input":ur(e),Qi(e,r,!1);break;case"textarea":ur(e),Yi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+dn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Kn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Kn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Br)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return te(n),null;case 6:if(e&&n.stateNode!=null)Ba(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=xn(Kt.current),xn($e.current),vr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Fe]=n,(o=r.nodeValue!==t)&&(e=ye,e!==null))switch(e.tag){case 3:hr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&hr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Fe]=n,n.stateNode=r}return te(n),null;case 13:if(I($),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&n.mode&1&&!(n.flags&128))ia(),nt(),n.flags|=98560,o=!1;else if(o=vr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Fe]=n}else nt(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;te(n),o=!1}else je!==null&&(Bo(je),je=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||$.current&1?X===0&&(X=3):ji())),n.updateQueue!==null&&(n.flags|=4),te(n),null);case 4:return rt(),Mo(e,n),e===null&&Bt(n.stateNode.containerInfo),te(n),null;case 10:return mi(n.type._context),te(n),null;case 17:return de(n.type)&&Hr(),te(n),null;case 19:if(I($),o=n.memoizedState,o===null)return te(n),null;if(r=(n.flags&128)!==0,i=o.rendering,i===null)if(r)wt(o,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(i=Zr(e),i!==null){for(n.flags|=128,wt(o,!1),r=i.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return M($,$.current&1|2),n.child}e=e.sibling}o.tail!==null&&Q()>ot&&(n.flags|=128,r=!0,wt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Zr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),wt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return te(n),null}else 2*Q()-o.renderingStartTime>ot&&t!==1073741824&&(n.flags|=128,r=!0,wt(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=Q(),n.sibling=null,t=$.current,M($,r?t&1|2:t&1),n):(te(n),null);case 22:case 23:return Ti(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?he&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function yd(e,n){switch(ci(n),n.tag){case 1:return de(n.type)&&Hr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),I(fe),I(le),wi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return gi(n),null;case 13:if(I($),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return I($),null;case 4:return rt(),null;case 10:return mi(n.type._context),null;case 22:case 23:return Ti(),null;case 24:return null;default:return null}}var wr=!1,re=!1,gd=typeof WeakSet=="function"?WeakSet:Set,S=null;function Wn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){B(e,n,r)}else t.current=null}function Do(e,n,t){try{t()}catch(r){B(e,n,r)}}var Iu=!1;function wd(e,n){if(go=$r,e=Ys(),si(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,c=0,m=0,h=e,p=null;n:for(;;){for(var g;h!==t||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)p=h,h=g;for(;;){if(h===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++m===r&&(s=i),(g=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=g}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(wo={focusedElem:e,selectionRange:t},$r=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,F=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?k:Le(n.type,k),F);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){B(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=Iu,Iu=!1,w}function jt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Do(n,t,o)}l=l.next}while(l!==r)}}function pl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Io(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ha(e){var n=e.alternate;n!==null&&(e.alternate=null,Ha(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Fe],delete n[Wt],delete n[Eo],delete n[nd],delete n[td])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Wa(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Br));else if(r!==4&&(e=e.child,e!==null))for(Fo(e,n,t),e=e.sibling;e!==null;)Fo(e,n,t),e=e.sibling}function Uo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Uo(e,n,t),e=e.sibling;e!==null;)Uo(e,n,t),e=e.sibling}var q=null,Te=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Qa(e,n,t),t=t.sibling}function Qa(e,n,t){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(ol,t)}catch{}switch(t.tag){case 5:re||Wn(t,n);case 6:var r=q,l=Te;q=null,Ze(e,n,t),q=r,Te=l,q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?$l(e.parentNode,t):e.nodeType===1&&$l(e,t),$t(e)):$l(q,t.stateNode));break;case 4:r=q,l=Te,q=t.stateNode.containerInfo,Te=!0,Ze(e,n,t),q=r,Te=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Do(t,n,i),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!re&&(Wn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){B(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ze(e,n,t),re=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Uu(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new gd),n.forEach(function(r){var l=zd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sd(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,nl=0,R&6)throw Error(y(331));var l=R;for(R|=4,S=e.current;S!==null;){var o=S,i=o.child;if(S.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sQ()-zi?_n(e,0):Ni|=t),pe(e,n)}function ba(e,n){n===0&&(e.mode&1?(n=cr,cr<<=1,!(cr&130023424)&&(cr=4194304)):n=1);var t=ie();e=Ye(e,n),e!==null&&(qt(e,n,t),pe(e,t))}function Nd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ba(e,t)}function zd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ba(e,t)}var ec;ec=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ce=!1,hd(e,n,t);ce=!!(e.flags&131072)}else ce=!1,U&&n.flags&1048576&&la(n,Kr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Tr(e,n),e=n.pendingProps;var l=et(n,le.current);Zn(n,t),l=Si(null,n,r,e,l,t);var o=Ei();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,de(r)?(o=!0,Wr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,vi(n),l.updater=dl,n.stateNode=l,l._reactInternals=n,zo(n,r,e,t),n=jo(null,n,r,!0,o,t)):(n.tag=0,U&&o&&ai(n),oe(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Tr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Td(r),e=Le(r,e),l){case 0:n=To(null,n,r,e,t);break e;case 1:n=Ou(null,n,r,e,t);break e;case 11:n=ju(null,n,r,e,t);break e;case 14:n=Ru(null,n,r,Le(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),To(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Ou(e,n,r,l,t);case 3:e:{if(Fa(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ca(e,n),Gr(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=lt(Error(y(423)),n),n=Mu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(y(424)),n),n=Mu(e,n,r,t,l);break e}else for(ve=un(n.stateNode.containerInfo.firstChild),ye=n,U=!0,je=null,t=sa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}oe(e,n,r,t)}n=n.child}return n;case 5:return fa(n),e===null&&Co(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,ko(r,l)?i=null:o!==null&&ko(r,o)&&(n.flags|=32),Ia(e,n),oe(e,n,i,t),n.child;case 6:return e===null&&Co(n),null;case 13:return Ua(e,n,t);case 4:return yi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(n,null,r,t):oe(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),ju(e,n,r,l,t);case 7:return oe(e,n,n.pendingProps,t),n.child;case 8:return oe(e,n,n.pendingProps.children,t),n.child;case 12:return oe(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,M(Yr,r._currentValue),r._currentValue=i,o!==null)if(Me(o.value,i)){if(o.children===l.children&&!fe.current){n=Xe(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=We(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Po(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),Po(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}oe(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Zn(n,t),l=Ce(l),r=r(l),n.flags|=1,oe(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(r.type,l),Ru(e,n,r,l,t);case 15:return Ma(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Tr(e,n),n.tag=1,de(r)?(e=!0,Wr(n)):e=!1,Zn(n,t),ja(n,r,l),zo(n,r,l,t),jo(null,n,r,!0,e,t);case 19:return $a(e,n,t);case 22:return Da(e,n,t)}throw Error(y(156,n.tag))};function nc(e,n){return zs(e,n)}function Ld(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xe(e,n,t,r){return new Ld(e,n,t,r)}function Ri(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Td(e){if(typeof e=="function")return Ri(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jo)return 11;if(e===qo)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=xe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Or(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")Ri(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Dn:return Cn(t.children,l,o,n);case Zo:i=8,l|=8;break;case Jl:return e=xe(12,t,n,l|2),e.elementType=Jl,e.lanes=o,e;case ql:return e=xe(13,t,n,l),e.elementType=ql,e.lanes=o,e;case bl:return e=xe(19,t,n,l),e.elementType=bl,e.lanes=o,e;case fs:return hl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case as:i=10;break e;case cs:i=9;break e;case Jo:i=11;break e;case qo:i=14;break e;case Je:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=xe(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Cn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function hl(e,n,t,r){return e=xe(22,e,r,n),e.elementType=fs,e.lanes=t,e.stateNode={isHidden:!1},e}function Yl(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Xl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function jd(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Oi(e,n,t,r,l,o,i,u,s){return e=new jd(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=xe(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},vi(o),e}function Rd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(oc)}catch(e){console.error(e)}}oc(),os.exports=we;var Fd=os.exports,Ku=Fd;Gl.createRoot=Ku.createRoot,Gl.hydrateRoot=Ku.hydrateRoot;const Ud="modulepreload",$d=function(e){return"/ratangulati/"+e},Yu={},tr=function(n,t,r){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.all(t.map(u=>{if(u=$d(u),u in Yu)return;Yu[u]=!0;const s=u.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${c}`))return;const m=document.createElement("link");if(m.rel=s?"stylesheet":Ud,s||(m.as="script",m.crossOrigin=""),m.href=u,i&&m.setAttribute("nonce",i),document.head.appendChild(m),s)return new Promise((h,p)=>{m.addEventListener("load",h),m.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}return l.then(()=>n()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Ad=()=>{const[e,n]=qn.useState(!1),{pathname:t}=uc();qn.useEffect(()=>{window.scrollTo(0,0)},[t]);const r=()=>{n(!e)},l=()=>{n(!1)};return N.jsx("nav",{className:"bg-gray-800 p-4 text-white fixed w-full z-10 top-0",style:{cursor:"default"},children:N.jsxs("div",{className:"mx-auto text-center flex w-5/6 justify-between",children:[N.jsx("div",{className:"text-3xl sm:text-2xl font-extrabold",children:N.jsx(me,{to:"/",children:"Ratan Gulati"})}),N.jsxs("div",{className:"hidden sm:flex space-x-6 items-center text-sm",children:[N.jsx(me,{to:"/",children:"Home"}),N.jsx(me,{to:"/about",children:"About"}),N.jsx(me,{to:"/projects",children:"Projects"}),N.jsx(me,{to:"/experience",children:"Experience"}),N.jsx(me,{to:"https://bento.me/ratangulati",target:"_blank",rel:"noopener noreferrer",children:"Links"}),N.jsx(me,{to:"/contact",children:"Contact"})]}),N.jsx("div",{className:"sm:hidden",children:N.jsx("button",{onClick:r,className:"text-xl focus:outline-none",children:e?"✕":"☰"})}),N.jsxs("div",{className:`sm:hidden fixed top-0 left-0 w-full h-full bg-gray-800 text-center ${e?"flex flex-col items-center justify-center":"hidden"}`,children:[N.jsx("button",{onClick:l,className:"text-xl absolute top-4 right-4 focus:outline-none",children:"✕"}),N.jsxs("ul",{className:"font-medium text-2xl space-y-4",children:[N.jsx("li",{children:N.jsx(me,{to:"/",onClick:l,children:"Home"})}),N.jsx("li",{children:N.jsx(me,{to:"/about",onClick:l,children:"About"})}),N.jsx("li",{children:N.jsx(me,{to:"/projects",onClick:l,children:"Projects"})}),N.jsx("li",{children:N.jsx(me,{to:"/experience",onClick:l,children:"Experience"})}),N.jsx(me,{to:"https://bento.me/ratangulati",children:"Links"}),N.jsx("li",{children:N.jsx(me,{to:"/contact",onClick:l,children:"Contact"})})]})]})]})})},Vd=()=>N.jsx("div",{className:"flex justify-center items-center h-screen bg-gray-900",children:N.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-white"})}),Bd=ut.lazy(()=>tr(()=>import("./Home-CGpcZShK.js"),__vite__mapDeps([0,1,2]))),Hd=ut.lazy(()=>tr(()=>import("./Experience-ISsF6LMR.js"),__vite__mapDeps([3,1,2,4]))),Wd=ut.lazy(()=>tr(()=>import("./Projects-DDeNT6YA.js"),__vite__mapDeps([5,2]))),Qd=ut.lazy(()=>tr(()=>import("./About-Cyl6ZgIB.js"),__vite__mapDeps([6,1,2]))),Kd=ut.lazy(()=>tr(()=>import("./Contact-DhpQT0NQ.js"),__vite__mapDeps([7,1]))),Yd=()=>N.jsxs(sc,{basename:"/ratangulati",children:[N.jsx(Ad,{}),N.jsx(qn.Suspense,{fallback:N.jsx(Vd,{}),children:N.jsxs(ac,{children:[N.jsx(dt,{path:"/",element:N.jsx(Bd,{})}),N.jsx(dt,{path:"/experience",element:N.jsx(Hd,{})}),N.jsx(dt,{path:"/projects",element:N.jsx(Wd,{})}),N.jsx(dt,{path:"/about",element:N.jsx(Qd,{})}),N.jsx(dt,{path:"/contact",element:N.jsx(Kd,{})})]})})]});Gl.createRoot(document.getElementById("root")).render(N.jsx(ut.StrictMode,{children:N.jsx(Yd,{})}));export{ut as R,Gd as g,N as j,qn as r}; diff --git a/dist/index.html b/dist/index.html index 992863b..1f6b70f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -17,7 +17,7 @@ } }(window.location)) - + diff --git a/src/App.jsx b/src/App.jsx index 378a348..1a58726 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,5 +1,5 @@ import React, { Suspense } from 'react'; -import { BrowserRouter, Routes, Route } from 'react-router-dom'; +import { HashRouter, Routes, Route } from 'react-router-dom'; import Navbar from './components/Navbar'; import Footer from './components/Footer'; import Loading from './components/Loading'; @@ -12,7 +12,7 @@ const Contact = React.lazy(() => import('./components/Contact')); const App = () => { return ( - + }> @@ -24,7 +24,7 @@ const App = () => { {/*