{"version":3,"sources":["Horoscope.js","Sign.js","RinsArt.js","Desc.js","About.js","App.js","index.js"],"names":["Horoscope","props","callAPI","state","sign","contentDiv","document","querySelector","setInterval","classList","toggle","className","this","style","color","Component","Sign","signVars","toLowerCase","RinsArt","rinsVars","href","Desc","getTrait","desc","filter","item","About","getAbout","about","traits","celebs","key","map","App","handleSubmit","e","preventDefault","month","day","length","date","astro_dates","signs","colors","astro_colors","setState","warn","innerHTML","setTimeout","handleChange","target","value","name","nextElementSibling","focus","Date","toISOString","substr","year","birth","onSubmit","type","id","onChange","placeholder","max","ReactDOM","render","StrictMode","getElementById"],"mappings":"yQAsCeA,G,wDAnCX,WAAYC,GAAO,IAAD,8BACd,cAAMA,IAeVC,QAAU,WAEN,MAAM,mkBAhBN,EAAKC,MAAQ,CACTC,KAAM,EAAKH,MAAMG,MAHP,E,iEAQd,IAAMC,EAAaC,SAASC,cAAc,uBACvCF,GACCG,aAAY,WACRH,EAAWI,UAAUC,OAAO,cAC7B,Q,+BAUP,OACI,qBAAKC,UAAU,gBAAf,SACyB,OAApBC,KAAKX,MAAMG,MACZ,sBAAKO,UAAU,qBAAqBE,MAAQ,CAAC,YAAeD,KAAKX,MAAMa,OAAvE,UACI,uCAAQF,KAAKX,MAAMG,KAAnB,gBACA,4BAAIQ,KAAKV,qB,GA5BLa,cC+BTC,E,mLA5BP,IAAMX,EAAaC,SAASC,cAAc,kBACvCF,GACCG,aAAY,WACRH,EAAWI,UAAUC,OAAO,cAC7B,O,+BAIP,IAAIO,EAAW,GAQf,OAPuB,OAApBL,KAAKX,MAAMG,OAEVa,EAAW,CACP,gBAAkB,SAAlB,OAA4BL,KAAKX,MAAMG,KAAKc,cAA5C,KACA,YAAeN,KAAKX,MAAMa,QAI9B,qBAAKH,UAAU,WAAf,SAGyB,OAApBC,KAAKX,MAAMG,MACZ,qBAAKS,MAAOI,EAAUN,UAAU,wB,GAxB7BI,aCgCJI,E,mLA5BP,IAAMd,EAAaC,SAASC,cAAc,iBACvC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,KAC7D,cAAC,EAAD,CAAMxC,KAAQQ,KAAKT,MAAMC,KAAMU,MAASF,KAAKT,MAAMyC,OAAO,KAC1D,cAAC,EAAD,CAAOxC,KAAQQ,KAAKT,MAAMC,KAAMU,MAASF,KAAKT,MAAMyC,OAAO,KAC3D,qBAAKjC,UAAU,UACf,qBAAKA,UAAU,qB,GAxILI,aCFlBoD,IAASC,OACP,cAAC,IAAMC,WAAP,UASE,cAAC,EAAD,MAEF/D,SAASgE,eAAe,W","file":"static/js/main.829931c6.chunk.js","sourcesContent":["import React, {Component} from 'react';\r\n\r\nclass Horoscope extends Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n sign: this.props.sign\r\n }\r\n }\r\n\r\n componentDidUpdate(){\r\n const contentDiv = document.querySelector('.horoscopeContainer');\r\n if(contentDiv){\r\n setInterval(()=>{\r\n contentDiv.classList.toggle('starAnim');\r\n }, 16000);\r\n }\r\n }\r\n\r\n callAPI = () => {\r\n // return 'placeholder';\r\n return `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aenean et tortor at risus viverra. Eu turpis egestas pretium aenean pharetra magna. Nam aliquam sem et tortor. Elementum nibh tellus molestie nunc non blandit massa. Enim ut sem viverra aliquet. Volutpat ac tincidunt vitae semper quis lectus nulla. Condimentum id venenatis a condimentum vitae sapien pellentesque habitant. Ultricies tristique nulla aliquet enim tortor at. Suspendisse faucibus interdum posuere lorem ipsum dolor sit amet consectetur.`;\r\n }\r\n\r\n render(){\r\n return(\r\n
\r\n {this.props.sign !== null && \r\n
\r\n

{`${this.props.sign} Horoscope`}

\r\n

{this.callAPI()}

\r\n
\r\n }\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Horoscope;","import React, {Component} from 'react';\r\n\r\nclass Sign extends Component {\r\n\r\n componentDidUpdate(){\r\n const contentDiv = document.querySelector('.signContainer');\r\n if(contentDiv){\r\n setInterval(()=>{\r\n contentDiv.classList.toggle('starAnim');\r\n }, 4000);\r\n }\r\n }\r\n render(){\r\n let signVars = {};\r\n if(this.props.sign !== null){\r\n // let url = `./styles/images/${this.props.sign.toLowerCase()}.png`;\r\n signVars = {\r\n 'backgroundImage': `var(--${this.props.sign.toLowerCase()})`,\r\n 'borderColor': this.props.color\r\n };\r\n }\r\n return(\r\n
\r\n {/* {props.sign !== null &&\r\n
} */}\r\n {this.props.sign !== null &&\r\n
}\r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default Sign;","import React, {Component} from 'react';\r\n\r\n\r\nclass RinsArt extends Component {\r\n\r\n componentDidUpdate(){\r\n const contentDiv = document.querySelector('.artContainer');\r\n if(contentDiv){\r\n setInterval(()=>{\r\n contentDiv.classList.toggle('starAnim');\r\n }, 10000);\r\n }\r\n }\r\n render(){\r\n let rinsVars = {};\r\n if(this.props.sign !== null){\r\n rinsVars = {\r\n 'backgroundImage': `var(--rins${this.props.sign.toLowerCase()})`,\r\n };\r\n }\r\n return(\r\n
\r\n {this.props.sign !== null && \r\n
\r\n {/*

{this.props.sign} Art

*/}\r\n
\r\n Etsy Link\r\n
\r\n }\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default RinsArt;","import React, {Component} from 'react';\r\n\r\nclass Desc extends Component{\r\n constructor(){\r\n super();\r\n this.desc = [\r\n {sign: 'Aries', desc: 'Aries loves to be number one, so it’s no surprise that these audacious rams are the first sign of the zodiac. Bold and ambitious, Aries dives headfirst into even the most challenging situations.'},\r\n {sign: 'Taurus', desc: 'Taurus is an earth sign represented by the bull. Like their celestial spirit animal, Taureans enjoy relaxing in serene, bucolic environments surrounded by soft sounds, soothing aromas, and succulent flavors.'},\r\n {sign: 'Gemini', desc: 'Have you ever been so busy that you wished you could clone yourself just to get everything done? That’s the Gemini experience in a nutshell. Appropriately symbolized by the celestial twins, this air sign was interested in so many pursuits that it had to double itself.'},\r\n {sign: 'Cancer', desc: 'Cancer is a cardinal water sign. Represented by the crab, this crustacean seamlessly weaves between the sea and shore representing Cancer’s ability to exist in both emotional and material realms. Cancers are highly intuitive and their psychic abilities manifest in tangible spaces: For instance, Cancers can effortlessly pick up the energies in a room.'},\r\n {sign: 'Leo', desc: 'Roll out the red carpet because Leo has arrived. Leo is represented by the lion and these spirited fire signs are the kings and queens of the celestial jungle. They’re delighted to embrace their royal status: Vivacious, theatrical, and passionate, Leos love to bask in the spotlight and celebrate themselves.'},\r\n {sign: 'Virgo', desc: 'Virgo is an earth sign historically represented by the goddess of wheat and agriculture, an association that speaks to Virgo’s deep-rooted presence in the material world. Virgos are logical, practical, and systematic in their approach to life. This earth sign is a perfectionist at heart and isn’t afraid to improve skills through diligent and consistent practice.'},\r\n {sign: 'Libra', desc: `Libra is an air sign represented by the scales (interestingly, the only inanimate object of the zodiac), an association that reflects Libra's fixation on balance and harmony. Libra is obsessed with symmetry and strives to create equilibrium in all areas of life.`},\r\n {sign: 'Scorpio', desc: 'Scorpio is one of the most misunderstood signs of the zodiac. Because of its incredible passion and power, Scorpio is often mistaken for a fire sign. In fact, Scorpio is a water sign that derives its strength from the psychic, emotional realm.'},\r\n {sign: 'Sagittarius', desc: 'Represented by the archer, Sagittarians are always on a quest for knowledge. The last fire sign of the zodiac, Sagittarius launches its many pursuits like blazing arrows, chasing after geographical, intellectual, and spiritual adventures.'},\r\n {sign: 'Capricorn', desc: 'The last earth sign of the zodiac, Capricorn is represented by the sea goat, a mythological creature with the body of a goat and tail of a fish. Accordingly, Capricorns are skilled at navigating both the material and emotional realms.'},\r\n {sign: 'Aquarius', desc: 'Despite the “aqua” in its name, Aquarius is actually the last air sign of the zodiac. Aquarius is represented by the water bearer, the mystical healer who bestows water, or life, upon the land. Accordingly, Aquarius is the most humanitarian astrological sign.'},\r\n {sign: 'Pisces', desc: `Pisces, a water sign, is the last constellation of the zodiac. It's symbolized by two fish swimming in opposite directions, representing the constant division of Pisces' attention between fantasy and reality. As the final sign, Pisces has absorbed every lesson — the joys and the pain, the hopes and the fears — learned by all of the other signs.`},\r\n\r\n ];\r\n }\r\n\r\n componentDidUpdate(){\r\n const contentDiv = document.querySelector('.desc');\r\n if(contentDiv){\r\n setInterval(()=>{\r\n contentDiv.classList.toggle('starAnim');\r\n }, 7000);\r\n }\r\n }\r\n\r\n getTrait = (sign) =>{\r\n const desc = this.desc.filter((item)=>{\r\n return sign === item.sign;\r\n })[0].desc;\r\n return desc;\r\n }\r\n\r\n render(){\r\n return(\r\n
\r\n {this.props.sign !== null &&\r\n
\r\n

{this.props.sign} Description

\r\n

{this.getTrait(this.props.sign)}

\r\n
}\r\n
\r\n );\r\n }\r\n \r\n}\r\n\r\nexport default Desc;","import React, {Component} from 'react';\r\n\r\nclass About extends Component{\r\n constructor(){\r\n super();\r\n this.about = [\r\n {sign: 'Aries', traits: [\"No filter\",\"Gets angry, then forgets why they were angry\",\"Thinks everything is a game they can win\",\"Will do anything on a dare\",\"Easily bored\"], celebs: [\"Mariah Carey\", \"Jackie Chan\", \"Leonardo DaVinci\", \"Charles Baudelaire\", \"Harry Houdini\", \"Cesar Chavez\", \"Andrei Tarkovsky\", \"Ilana Glazer\"]},\r\n {sign: 'Taurus', traits: [\"Just wants to cuddle\",\"Homebody\",\"All or nothing, No in between\",\"Wears the same outfit everyday\",\"Hates big changes\"], celebs: [\"Karl Marx\",\"Malcolm X\",\"Audrey Hepburn\",\"William Shakespeare\",\"James Brown\",\"Grace Jones\",\"Mr. T\",\"John Waters\"] },\r\n {sign: 'Gemini', traits: [\"Charismatic\",\"Uses humor as a crutch\",\"Could talk to a brick wall\",\"Arguments as flirting\",\"Knows a little about everything\"], celebs: [\"Kanye West\",\"Kendrick Lamar\",\"Jean-Paul Sartre\",\"Allen Ginsberg\",\"Thomas Mann\",\"Prince\",\"Laurie Anderson\",\"Stevie Nicks\"]},\r\n {sign: 'Cancer', traits: [\"Very sensitive\",\"Seeks comfort\",\"Forgives but never forgets\",\"Only has one boundary, but it is very firm\",\"Takes on other people’s problems\"], celebs: [\"Ariana Grande\",\"Frida Kahlo\",\"Marcel Proust\",\"Assata Shakur\",\"Stokely Carmichael\",\"Franz Kafka\",\"Patrice Lumumba\",\"Emma Goldman\"]},\r\n {sign: 'Leo', traits: [\"Exudes warmth and creativity\",\"A little bit vain\",\"Really big personality\",\"Wants to stand out\",\"Interested in luxury\"], celebs: [\"Kobe Bryant\",\"James Baldwin\",\"Kylie Jenner\",\"Coco Chanel\",\"Kate Bush\",\"Lil Yachty\",\"Duchamp\",\"Charli XCX\"]},\r\n {sign: 'Virgo', traits: [\"Needs to feel useful\",\"Has a quick fix for everything\",\"Judgmental, but with good intentions\",\"Exceptional spatial awareness\",\"A million ideas per second\"], celebs: [\"Fred Hampton\",\"Bernie Sanders\",\"Agatha Christie\",\"Mary Shelley\",\"D. H. Lawrence\",\"Georges Bataille\",\"Antonin Artaud\",\"Marsha P. Johnson\"]},\r\n {sign: 'Libra', traits: [\"Hates being alone\",\"Really good aesthetics\",\"Conflict avoidant\",\"Sees every side\",\"Prone to fantasy\",\"Can’t make decisions\"], celebs: [\"Michel Foucault\",\"Friedrich Nietzsche\",\"Kim Kardashian\",\"Donald Glover\",\"Gwyneth Paltrow\",\"Neil DeGrasse Tyson\",\"Nico\",\"Arthur Rimbaud\"]},\r\n {sign: 'Scorpio', traits: [\"Primary emotion is betrayal\",\"Looks cool in a leather jacket\",\"OK with uncomfortable silence\",\"Can’t be sure if they’re serious or joking\",\"Eyes that look into your soul\"], celebs: [\"Leonardo DiCaprio\",\"Charles Manson\",\"Marie Antoinette\",\"Frank Ocean\",\"Albert Camus\",\"Fyodor Dostoevsky\",\"Sylvia Plath\",\"Björk\"]},\r\n {sign: 'Sagittarius', traits: [\"No indoor voice\",\"Forms opinions off of pure emotion\",\"Obsessed with self-improvement\",\"Wields their truth like a blunt weapon\",\"Friendliest person at the party\"], celebs: [\"Chadwick Boseman\",\"Nicki Minaj\",\"Jane Austen\",\"Jean Michel Basquiat\",\"Nostradamus\",\"Emily Dickinson\",\"Diego Rivera\",\"Friedrich Engels\"]},\r\n {sign: 'Capricorn', traits: [\"Full grown adult since age six\",\"The responsible friend\",\"Motivated by duty\",\"Takes a while to warm up to people\",\"Represses any emotion that gets in the way of success\"], celebs: [\"Martin Luther King Jr.\",\"Jeff Bezos\",\"Timothee Chalamet\",\"Michelle Obama\",\"Dolly Parton\",\"Mao Zedong\",\"Hayao Miyazaki\",\"Edgar Allan Poe\"]},\r\n {sign: 'Aquarius', traits: [\"Purposefully esoteric\",\"Doesn’t ‘do’ feelings, just concepts\",\"Actually believes in conspiracy theories\",\"More in love with humanity as a whole than individuals\",\"Always feels like an outcast\",\"Fetishizes personal freedom\"], celebs: [\"Angela Davis\",\"Virginia Woolf\",\"Frederick Douglas\",\"Michael Jordan\",\"Yoko Ono\",\"Grigori Rasputin\",\"Huey P. Newton\",\"James Joyce\",\"Audre Lorde\"]},\r\n {sign: 'Pisces', traits: [\"Somehow both 5 and 50 years old at once\",\"Thinks everything is a sign\",\"Can’t remember if they dreamt it or it actually happened\",\"Excessively romantic\",\"Prone to fantasy\",\"No boundaries\"], celebs: [\"Nina Simone\",\"Pier Paolo Pasolini\",\"Genesis P. Orridge\",\"Gabriel Garcia Marquez\",\"Anais Nin\",\"Rihanna\",\"Victor Hugo\",\"Rosa Luxemburg\"]},\r\n ];\r\n }\r\n getAbout = (sign) =>{\r\n return this.about.filter((item)=>{\r\n return sign === item.sign;\r\n })[0];\r\n }\r\n\r\n componentDidUpdate(){\r\n const contentDiv = document.querySelector('.about');\r\n if(contentDiv){\r\n setInterval(()=>{\r\n contentDiv.classList.toggle('starAnim');\r\n }, 13000);\r\n }\r\n }\r\n\r\n render(){\r\n let traits = [];\r\n let celebs = [];\r\n let key = 0;\r\n if(this.props.sign !== null){\r\n let about = this.getAbout(this.props.sign);\r\n traits = about.traits.map(item =>{\r\n return
  • {item}
  • ;\r\n });\r\n key = 0;\r\n celebs = about.celebs.map(item => {\r\n return
  • {item}
  • ;\r\n });\r\n }\r\n return(\r\n
    \r\n {this.props.sign !== null &&\r\n
    \r\n

    About {this.props.sign}

    \r\n
    \r\n
    \r\n

    Traits

    \r\n
      {traits}
    \r\n
    \r\n
    \r\n

    Famous {this.props.sign}

    \r\n
      {celebs}
    \r\n
    \r\n
    \r\n \r\n
    }\r\n
    \r\n )\r\n }\r\n}\r\n\r\nexport default About;","import './styles/App.css';\nimport React, {Component} from 'react';\nimport Horoscope from './Horoscope';\nimport Sign from './Sign';\nimport RinsArt from './RinsArt';\nimport Desc from './Desc';\nimport About from './About';\n\nclass App extends Component {\n\n constructor(){\n super();\n var curr = new Date();\n var date = curr.toISOString().substr(0,10);\n this.state = {\n sign: null,\n day: \"\",\n month: \"\",\n year: \"\",\n birth: date,\n colors: []\n }\n this.astro_colors = [\n {sign:'Sagittarius', colors:['#A6606D', '#F2A341', '#F29544', '#F27D52', '#D97762']},\n {sign:'Capricorn', colors:['#E8DDCB', '#CDB380', '#2B6665', '#123649', '#031634']},\n {sign:'Aquarius', colors:['#409092', '#62D4CD', '#F4E94D', '#EC602F', '#73E29B']}, //orange is an interesting choice\n {sign:'Pisces', colors:['#C2BDF9', '#2CECDD', '#F8F99B', '#F6BCDF', '#CCCCFF']},\n {sign:'Leo', colors:['#408F8A', '#3C154F', '#E24263', '#ED6F31', '#F4B43C']},\n {sign:'Virgo', colors:['#979797', '#C3B0A0', '#E0CFBC', '#ED6F31', '#C699390']},\n {sign:'Libra', colors:['#F5C46C', '#FBEAE2', '#EF886D', '#B2DDDE', '#D9CDD6']},\n {sign:'Scorpio', colors:['#2C6556', '#609979', '#912635', '#531639', '#010734']},\n {sign:'Aries', colors:['#F63A3A', '#FFBC84', '#FFEE8A', '#BA1818', '#DD6A6A']},\n {sign:'Taurus', colors:['#27A930', '#008337', '#00693C', '#5A3C00', '#E4A5AE']},\n {sign:'Gemini', colors:['#DB8CF0', '#8BB1F2', '#F47676', '#F29C54', '#EAD13C']}, //gemini may be bad\n {sign:'Cancer', colors:['#B0D6E3', '#83B6D4', '#D2D6D8', '#EDBBC1', '#E57290']}\n ];// '#FFD6E9', '#FFBCDA', '#E1B09C', '#C79274', '#946656'\n // this.astro_signs = ['Sagittarius', 'Capricorn','Aquarius','Pisces','Leo','Virgo','Libra','Scorpio','Aries','Taurus','Gemini','Cancer'];\n\n this.astro_dates = [{month: '01', date: 20, signs:['Capricorn', 'Aquarius']}, {month: '02', date: 19, signs:['Aquarius', 'Pisces']}, {month: '03', date: 21, signs:['Pisces', 'Aries']}, {month: '04', date: 20, signs:['Aries', 'Taurus']}, {month: '05', date: 21, signs:['Taurus', 'Gemini']}, {month: '06', date: 22, signs:['Gemini', 'Cancer']}, {month: '07', date: 23, signs:['Cancer', 'Leo']}, {month: '08', date: 23, signs:['Leo', 'Virgo']}, {month: '09', date: 23, signs:['Virgo', 'Libra']}, {month: '10', date: 24, signs:['Libra', 'Scorpio']}, {month: '11', date: 22, signs:['Scorpio', 'Sagittarius']}, {month: '12', date: 22, signs:['Sagittarius', 'Capricorn']}];\n }\n\n handleSubmit = (e) => {\n e.preventDefault();\n let month = this.state.month;\n let day = this.state.day;\n if(month !== null && day !==null && month.length === 2 && month > 0 && day > 0 && day.length === 2){\n const date = this.astro_dates.filter(item =>{\n return item.month === month;\n })[0];\n let sign = null;\n if(day < date.date){\n sign = date.signs[0];\n }else{\n sign = date.signs[1];\n }\n let colors = this.astro_colors.filter(item => {\n return item.sign === sign;\n })[0].colors;\n this.setState({\n sign,\n colors\n });\n }\n else{\n const warn = document.querySelector('#warning');\n warn.innerHTML = \"Enter date as DD-MM-YYYY\";\n warn.classList.toggle('show');\n setTimeout(()=>{\n const warn = document.querySelector('#warning');\n warn.innerHTML = \"\";\n warn.classList.toggle('show');\n }, 3000);\n }\n }\n\n handleChange = (e) => {\n const {value, name} = e.target;\n this.setState({\n [name]: value\n });\n if(value.length >= 2 && name !== \"year\"){\n e.target.nextElementSibling.focus();\n }\n }\n\n render(){\n return (\n
    \n
    \n

    Color Stella

    \n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n );\n }\n}\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './styles/index.css';\nimport './styles/space.css';\nimport App from './App';\n\nReactDOM.render(\n \n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n
    ,\n document.getElementById('root')\n);\n"],"sourceRoot":""}