1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47372,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(80064);function i({text:e,className:i,label:n="Copy"}){let{copied:r,copy:o}=function(e=1600){let[t,a]=(0,s.useState)(!1),i=(0,s.useRef)(null);return(0,s.useEffect)(()=>()=>clearTimeout(i.current),[]),{copied:t,copy:(0,s.useCallback)(async t=>{try{await navigator.clipboard.writeText(t)}catch{return}a(!0),clearTimeout(i.current),i.current=setTimeout(()=>a(!1),e)},[e])}}();return(0,t.jsx)("button",{type:"button",onClick:()=>o(e),"aria-live":"polite",className:(0,a.cn)("min-h-9 shrink-0 cursor-pointer rounded-full border border-line-2 bg-white px-3.5 py-1.5 text-[13px] font-medium text-ink-code hover:border-blue",i),children:r?"Copied":n})}e.s(["default",()=>i],47372)},24182,e=>{"use strict";var t=e.i(43476),s=e.i(3270),a=e.i(19610),i=e.i(80064);let n=[["Docs","Guides, endpoints and examples for every channel.","docs.countrystatecity.in","https://docs.countrystatecity.in/"],["Playground","Try requests in the browser before writing code.","playground.countrystatecity.in","https://playground.countrystatecity.in/"],["Status","Uptime and incidents, updated live.","status.countrystatecity.in","https://status.countrystatecity.in/"]],r=[["API","[email protected]"],["Export Tool","[email protected]"],["General support","[email protected]"]],o=[["GitHub","Code, data and issues","https://github.com/dr5hn/countries-states-cities-database"],["LinkedIn","@dr5hn","https://www.linkedin.com/in/dr5hn/"],["X","@dr5hn","https://x.com/dr5hn"],["Kaggle","Dataset mirror","https://www.kaggle.com/datasets/darshangada/countries-states-cities-database"],["data.world","Dataset mirror","https://data.world/dr5hn/country-state-city"]];function l(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"border-y border-hair bg-mist",children:(0,t.jsxs)("div",{className:"wrap grid grid-cols-[repeat(auto-fit,minmax(min(100%,300px),1fr))] gap-3 py-[clamp(56px,7vw,96px)]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3 pr-3",children:[(0,t.jsx)("h2",{className:"m-0 font-cal text-[length:clamp(30px,3.4vw,44px)] font-normal leading-[1.04]",children:"Help yourself first"}),(0,t.jsx)("p",{className:"m-0 text-base leading-[1.55] text-ink-2",children:"Most questions are answered in minutes by the docs assistant."})]}),n.map(([e,a,i,n])=>(0,t.jsxs)(s.default,{href:n,location:`support_selfhelp_${e.toLowerCase()}`,className:"flex flex-col gap-2 rounded-[20px] border border-line bg-white p-[22px] text-ink no-underline transition-colors hover:border-blue hover:text-ink hover:no-underline",children:[(0,t.jsx)("span",{className:"font-cal text-[22px]",children:e}),(0,t.jsx)("span",{className:"text-[15px] leading-normal text-ink-2",children:a}),(0,t.jsx)("span",{className:"mt-auto font-mono text-[13px] text-blue",children:i})]},e))]})}),(0,t.jsxs)("section",{className:"wrap grid grid-cols-[repeat(auto-fit,minmax(min(100%,380px),1fr))] items-start gap-[clamp(28px,5vw,56px)] py-[clamp(56px,7vw,96px)]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3.5",children:[(0,t.jsx)("h2",{className:"display-3 m-0",children:"All contacts"}),(0,t.jsx)("div",{className:"overflow-hidden rounded-[22px] border border-line",children:r.map(([e,s],n)=>(0,t.jsxs)("div",{className:(0,i.cn)("flex flex-wrap items-center justify-between gap-x-4 gap-y-2 px-5 py-4",n>0&&"border-t border-hair"),children:[(0,t.jsx)("span",{className:"text-[15px] font-semibold",children:e}),(0,t.jsx)("a",{href:`mailto:${s}`,onClick:()=>a.trackContact.emailClick(e,s),className:"font-mono text-sm text-blue hover:text-blue-deep hover:underline",children:s})]},e))})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3.5",children:[(0,t.jsx)("h2",{className:"display-3 m-0",children:"Community"}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2",children:o.map(([e,s,i])=>(0,t.jsxs)("a",{href:i,target:"_blank",rel:"noopener noreferrer",onClick:()=>a.trackContact.social(e.toLowerCase(),"contact_page"),className:"flex flex-col gap-1 rounded-[18px] border border-line px-[18px] py-4 text-ink no-underline hover:border-blue hover:text-ink hover:no-underline",children:[(0,t.jsx)("span",{className:"text-[15px] font-semibold",children:e}),(0,t.jsx)("span",{className:"text-[13px] text-ink-3",children:s})]},e))})]})]})]})}e.s(["default",()=>l])},19458,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(3270),i=e.i(47372),n=e.i(56902),r=e.i(19610),o=e.i(80064);let l=[{t:"API or account",d:"Keys, limits, errors",eyebrow:"API and account help",title:"Check the docs, then email the API team.",body:"Most key, quota and error questions are covered in the docs. If yours isn't, email with your account email and the request that failed.",steps:["Include the endpoint and the response code","Never send your API key in full"],cta:"Open the docs",href:"https://docs.countrystatecity.in/",email:"[email protected]",kind:"api"},{t:"Export or billing",d:"Credits, receipts, downloads",eyebrow:"Export Tool and billing",title:"Credits, invoices and failed downloads.",body:"For missing credits, receipts or an export that didn't finish, email the export team with your order details.",steps:["Include your account email and order date","Credits never expire, so nothing is lost"],cta:"Open Export Tool",href:"https://export.countrystatecity.in/",email:"[email protected]",kind:"export"},{t:"Data correction",d:"Wrong or missing place",eyebrow:"Data correction",title:"Fix it directly in the Update Tool.",body:"Corrections are faster through the Update Tool than by email: they're reviewed in the open and ship in the next release.",steps:["Add a source link with your change","Track review status in the tool"],cta:"Submit a change",href:"/product/update-tool",email:"",kind:"update"},{t:"Bug",d:"Something is broken",eyebrow:"Bug report",title:"Open an issue on GitHub.",body:"Bugs in the API, packages or data files are tracked publicly, so others can see the fix too.",steps:["Say what you expected and what happened","Include steps to reproduce"],cta:"Report an issue",href:"https://github.com/dr5hn/countries-states-cities-database/issues",email:"",kind:"issue"},{t:"Enterprise or custom",d:"Higher limits, SLAs",eyebrow:"Enterprise and custom plans",title:"Need more than the Business plan?",body:"We offer negotiated limits, custom data access and dedicated support.",steps:["Tell us your expected monthly requests","Mention any compliance or invoicing needs"],cta:"Compare plans",href:"/pricing",email:"[email protected]",kind:"general"},{t:"Something else",d:"Partnerships, press, hello",eyebrow:"General",title:"Say hello.",body:"For anything that doesn't fit above, email support and it will reach the right person.",steps:["We reply within 24â48 hours on business days"],cta:"Ask the docs assistant",href:"https://docs.countrystatecity.in/",email:"[email protected]",kind:"general"}];
1function c(){let[e,c]=(0,s.useState)(0),d=l[e];return(0,t.jsxs)("section",{className:"wrap-flush flex flex-col gap-7 pb-[clamp(56px,7vw,96px)] pt-[clamp(40px,6vw,80px)]",children:[(0,t.jsxs)("div",{className:"flex max-w-[760px] flex-col gap-3.5 px-2",children:[(0,t.jsx)("div",{className:"eyebrow",children:"Support"}),(0,t.jsx)("h1",{className:"display-1 m-0",children:"What do you need?"}),(0,t.jsx)("p",{className:"lead m-0",children:"Pick one and we'll point you to the fastest route. We reply within 24â48 hours on business days."})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-stretch gap-2.5",children:[(0,t.jsx)("div",{role:"group","aria-label":"What do you need?",className:"grid min-w-0 flex-[1_1_340px] grid-cols-[repeat(auto-fill,minmax(min(100%,220px),1fr))] content-start gap-2",children:l.map((s,a)=>(0,t.jsxs)("button",{type:"button","aria-pressed":a===e,onClick:()=>c(a),className:(0,o.cn)("flex min-h-[88px] cursor-pointer flex-col justify-between gap-1.5 rounded-[18px] border-[1.5px] px-[18px] py-4 text-left transition-colors",a===e?"border-blue bg-field":"border-line bg-white"),children:[(0,t.jsx)("span",{className:"font-cal text-xl text-ink",children:s.t}),(0,t.jsx)("span",{className:"text-sm text-ink-2",children:s.d})]},s.t))}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-[1_1_380px] flex-col gap-4 roun
1ded-[clamp(24px,3vw,32px)] bg-field p-[clamp(20px,3vw,32px)]","aria-live":"polite",children:[(0,t.jsx)("span",{className:"eyebrow text-xs",children:d.eyebrow}),(0,t.jsx)("span",{className:"font-cal text-[length:clamp(26px,3vw,36px)] leading-[1.1]",children:d.title}),(0,t.jsx)("span",{className:"text-base leading-[1.55] text-ink-2",children:d.body}),(0,t.jsx)("ul",{className:"m-0 flex list-none flex-col gap-2 p-0",children:d.steps.map(e=>(0,t.jsxs)("li",{className:"flex gap-2.5 text-[15px] leading-normal text-ink-code",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"shrink-0 text-ok",children:"â"}),(0,t.jsx)("span",{children:e})]},e))}),(0,t.jsxs)("div",{className:"mt-auto flex flex-wrap items-center gap-3 pt-1.5",children:[(0,t.jsx)(a.default,{href:d.href,location:`support_${d.kind}`,track:"update"===d.kind?"update":void 0,onClick:"issue"===d.kind?()=>r.trackContact.githubIssue():void 0,className:(0,n.buttonVariants)(),children:d.cta}),d.email&&(0,t.jsxs)("span",{className:"flex items-center gap-2 rounded-full bg-white py-1.5 pl-3.5 pr-1.5",children:[(0,t.jsx)("span",{className:"font-mono text-sm text-ink",children:d.email}),(0,t.jsx)(i.default,{text:d.email,className:"py-1.5"})]})]})]})]})]})}e.s(["default",()=>c])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.