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,EAAD,MACA,gBAAC,EAAD,MACA,gBAAC,EAAD,MACA,gBAAC,EAAD,MAbJ,SAAiBmB,GACf,IAAK,IAAIC,EAAID,EAAEE,OAAS,EAAGD,EAAI,EAAGA,IAAK,CACrC,IAAME,EAAIC,KAAKC,MAAMD,KAAKE,UAAYL,EAAI,IADL,EAEtB,CAACD,EAAEG,GAAIH,EAAEC,IAAvBD,EAAEC,GAFkC,KAE9BD,EAAEG,GAF4B,KAIvC,OAAOH,EASJO,CAAQR,GAAQS,KAAI,gBAAGX,EAAH,EAAGA,GAAIY,EAAP,EAAOA,KAAMC,EAAb,EAAaA,gBAAb,OACnB,gBAAC,EAAAC,EAAD,CACE9B,UAAU,QACV+B,IAAKf,EACLgB,IAAKJ,EACLK,MAAOJ,SCtBXK,EAAO,CACXC,QAAS,QACTC,WAAY,OACZC,YAAa,OACbC,UAAW,UAGPC,EAAa,CACjBC,MAAO,UACPC,WAAY,gBACZC,gBAAiB,QACjBlC,OAAQ,UAsBV,EAnBoB,WAClB,IAAMU,GCnBOyB,EAAAA,EAAAA,gBAAe,aAkBhBC,QAAQC,MAAMlB,KAAI,SAACmB,GAAD,wBACzBA,EAAKC,gBADoB,CAE5B/B,GAAI8B,EAAK9B,GACTY,KAAMkB,EAAKlB,UDAb,OACE,uBAAKZ,GAAG,WACN,gBAACgC,EAAA,EAAD,KACE,0DACA,wBAAMpB,KAAK,cAAcqB,QAAQ,WAEnC,wBAAMhD,MAAOsC,GACX,gBAAC,EAAAW,KAAD,CAAMC,GAAG,IAAIlD,MAAOiC,GAApB,QAGA,gBAAC,EAAD,CAAShB,OAAQA,Q","sources":["webpack://kiwiziti.com/./src/components/info.js","webpack://kiwiziti.com/./src/components/registry.js","webpack://kiwiziti.com/./src/components/rsvp.js","webpack://kiwiziti.com/./src/components/schedule.js","webpack://kiwiziti.com/./src/components/gallery.js","webpack://kiwiziti.com/./src/pages/wedding.js","webpack://kiwiziti.com/./src/utils/hooks/useGallery.js"],"sourcesContent":["import * as React from \"react\";\nimport KiwiZitiImage from \"../images/kiwiziti.min.svg\";\n\nconst InfoSection = () => {\n return (\n
\n
\n

We're getting married!

\n

June 4, 2022 at 4:30 PM

\n \n

The Pavillion at Nicks Road

\n
\n

6602 Nicks Rd

\n

Mebane, NC 27302

\n
\n
\n \n
\n
\n );\n};\n\nexport default InfoSection;\n","import * as React from \"react\";\nimport { StaticImage } from \"gatsby-plugin-image\";\n\nconst RegistrySection = () => {\n return (\n \n

Registry

\n \n \n );\n};\n\nexport default RegistrySection;\n","import * as React from \"react\";\nimport { StaticImage } from \"gatsby-plugin-image\";\n\nconst RsvpSection = () => {\n return (\n \n
\n Can you make it?\n

RSVP

\n \n
\n \n );\n};\n\nexport default RsvpSection;\n","import * as React from \"react\";\n\nconst ScheduleSection = () => {\n return (\n
\n
\n

The Details

\n

\n Dress code: \n Semi-formal\n

\n

\n Dress for warm weather (think sundresses, cocktail dresses, slacks and\n jackets in breathable fabrics). Shoes that can handle grass, dirt and\n gravel are a good idea.\n

\n

\n After the ceremony: \n There will be appetizers (including homemade cheese!), drinks, dinner\n from the delicious{` `}\n \n Mediterranean Deli\n \n , live music from the talented{\" \"}\n \n Teacup Gin\n \n , and dancing!\n

\n

We can't wait to see you there!

\n
\n
\n );\n};\n\nexport default ScheduleSection;\n","import * as React from \"react\";\nimport { GatsbyImage } from \"gatsby-plugin-image\";\nimport PropTypes from \"prop-types\";\nimport \"./gallery.css\";\nimport InfoSection from \"../components/info\";\nimport RegistrySection from \"../components/registry\";\nimport RsvpSection from \"../components/rsvp\";\nimport ScheduleSection from \"../components/schedule\";\n\nconst Gallery = ({ images }) => {\n function shuffle(a) {\n for (let i = a.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1));\n [a[i], a[j]] = [a[j], a[i]];\n }\n return a;\n }\n\n return (\n
\n \n \n \n \n {shuffle(images).map(({ id, name, gatsbyImageData }) => (\n \n ))}\n
\n );\n};\n\nGallery.propTypes = {\n images: PropTypes.arrayOf(PropTypes.object),\n};\n\nexport default Gallery;\n","import * as React from \"react\";\nimport { Link } from \"gatsby\";\nimport Helmet from \"react-helmet\";\nimport Gallery from \"../components/gallery\";\nimport \"@fontsource/inter/variable.css\";\nimport { useGallery } from \"../utils/hooks/useGallery\";\n\nconst text = {\n display: \"block\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n textAlign: \"center\",\n};\n\nconst pageStyles = {\n color: \"#232129\",\n fontFamily: \"InterVariable\",\n backgroundColor: \"white\",\n margin: \"0.5rem\",\n};\n\nconst WeddingPage = () => {\n const images = useGallery();\n\n return (\n
\n \n kiwiziti.com | Sam & Matt\n \n \n
\n \n home\n \n \n
\n
\n );\n};\n\nexport default WeddingPage;\n","import { graphql, useStaticQuery } from \"gatsby\";\n\nexport const useGallery = () => {\n const data = useStaticQuery(graphql`\n query {\n allFile(\n filter: {\n sourceInstanceName: { eq: \"images\" }\n relativeDirectory: { eq: \"photos\" }\n }\n ) {\n nodes {\n id\n name\n childImageSharp {\n gatsbyImageData(layout: CONSTRAINED, formats: [JPG, WEBP, AVIF])\n }\n }\n }\n }\n `);\n return data.allFile.nodes.map((node) => ({\n ...node.childImageSharp, // Note that we're spreading the childImageSharp object here\n id: node.id,\n name: node.name,\n }));\n};\n"],"names":["className","style","padding","fontSize","href","objectPosition","target","rel","margin","S","maxWidth","alignSelf","marginBottom","src","paddingBottom","zIndex","id","fontWeight","images","a","i","length","j","Math","floor","random","shuffle","map","name","gatsbyImageData","G","key","alt","image","text","display","marginLeft","marginRight","textAlign","pageStyles","color","fontFamily","backgroundColor","useStaticQuery","allFile","nodes","node","childImageSharp","Helmet","content","Link","to"],"sourceRoot":""}