{"version":3,"file":"states.CIrat_e9.js","sources":["../../../../../../src/lib/states.ts"],"sourcesContent":["export const STATES = [\n\t{ slug: 'al', name: 'Alabama' },\n\t{ slug: 'ak', name: 'Alaska' },\n\t{ slug: 'az', name: 'Arizona', active: true },\n\t{ slug: 'ar', name: 'Arkansas', active: true },\n\t{ slug: 'ca', name: 'California', active: true },\n\t{ slug: 'co', name: 'Colorado' },\n\t{ slug: 'ct', name: 'Connecticut', active: true },\n\t{ slug: 'de', name: 'Delaware' },\n\t{ slug: 'fl', name: 'Florida', active: true },\n\t{ slug: 'ga', name: 'Georgia', active: true },\n\t{ slug: 'hi', name: 'Hawaii' },\n\t{ slug: 'id', name: 'Idaho' },\n\t{ slug: 'il', name: 'Illinois' },\n\t{ slug: 'in', name: 'Indiana' },\n\t{ slug: 'ia', name: 'Iowa' },\n\t{ slug: 'ks', name: 'Kansas' },\n\t{ slug: 'ky', name: 'Kentucky' },\n\t{ slug: 'la', name: 'Louisiana' },\n\t{ slug: 'me', name: 'Maine' },\n\t{ slug: 'md', name: 'Maryland' },\n\t{ slug: 'ma', name: 'Massachusetts' },\n\t{ slug: 'mi', name: 'Michigan', active: true },\n\t{ slug: 'mn', name: 'Minnesota' },\n\t{ slug: 'ms', name: 'Mississippi' },\n\t{ slug: 'mo', name: 'Missouri' },\n\t{ slug: 'mt', name: 'Montana' },\n\t{ slug: 'ne', name: 'Nebraska' },\n\t{ slug: 'nv', name: 'Nevada' },\n\t{ slug: 'nh', name: 'New Hampshire' },\n\t{ slug: 'nj', name: 'New Jersey', active: true },\n\t{ slug: 'nm', name: 'New Mexico' },\n\t{ slug: 'ny', name: 'New York' },\n\t{ slug: 'nc', name: 'North Carolina' },\n\t{ slug: 'nd', name: 'North Dakota' },\n\t{ slug: 'oh', name: 'Ohio' },\n\t{ slug: 'ok', name: 'Oklahoma' },\n\t{ slug: 'or', name: 'Oregon' },\n\t{ slug: 'pa', name: 'Pennsylvania' },\n\t{ slug: 'ri', name: 'Rhode Island' },\n\t{ slug: 'sc', name: 'South Carolina' },\n\t{ slug: 'sd', name: 'South Dakota' },\n\t{ slug: 'tn', name: 'Tennessee' },\n\t{ slug: 'tx', name: 'Texas', active: true },\n\t{ slug: 'ut', name: 'Utah' },\n\t{ slug: 'vt', name: 'Vermont' },\n\t{ slug: 'va', name: 'Virginia' },\n\t{ slug: 'wa', name: 'Washington' },\n\t{ slug: 'wv', name: 'West Virginia', active: true },\n\t{ slug: 'wi', name: 'Wisconsin' },\n\t{ slug: 'wy', name: 'Wyoming' }\n];\n\nexport const isStateActiveByName = (name: string) => {\n\tconst state = STATES.find((state) => state.name === name);\n\treturn state ? state.active : false;\n};\n\nexport const getStateNameBySlug = (slug: string) => {\n\tconst state = STATES.find((state) => state.slug === slug);\n\treturn state ? state.name : '';\n};\n\nexport const getStateSlugByName = (name: string) => {\n\tconst state = STATES.find((state) => state.name === name);\n\treturn state ? state.slug : '';\n};\n"],"names":["STATES","isStateActiveByName","name","state","getStateNameBySlug","slug","getStateSlugByName"],"mappings":"mVAAO,MAAMA,EAAS,CACrB,CAAE,KAAM,KAAM,KAAM,SAAU,EAC9B,CAAE,KAAM,KAAM,KAAM,QAAS,EAC7B,CAAE,KAAM,KAAM,KAAM,UAAW,OAAQ,EAAK,EAC5C,CAAE,KAAM,KAAM,KAAM,WAAY,OAAQ,EAAK,EAC7C,CAAE,KAAM,KAAM,KAAM,aAAc,OAAQ,EAAK,EAC/C,CAAE,KAAM,KAAM,KAAM,UAAW,EAC/B,CAAE,KAAM,KAAM,KAAM,cAAe,OAAQ,EAAK,EAChD,CAAE,KAAM,KAAM,KAAM,UAAW,EAC/B,CAAE,KAAM,KAAM,KAAM,UAAW,OAAQ,EAAK,EAC5C,CAAE,KAAM,KAAM,KAAM,UAAW,OAAQ,EAAK,EAC5C,CAAE,KAAM,KAAM,KAAM,QAAS,EAC7B,CAAE,KAAM,KAAM,KAAM,OAAQ,EAC5B,CAAE,KAAM,KAAM,KAAM,UAAW,EAC/B,CAAE,KA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