PageSourceSearch

https://vegan-ntinet-fiber-flow.base44.app/assets/CoverageChecker-Cy4xcagH.js

js vegan-ntinet-fiber-flow.base44.app collected 2026-10-03 03:10:01 UTC 6,112 bytes, 1 lines download raw bytes

1import{r as s,j as e,b as u}from"./index-Z0ADEg5l.js";const b="Coverage results are based on FCC/provider-reported mobile coverage data and public FCC speed-test information where available. Actual service may vary by device, indoor location, terrain, network congestion, roaming availability, and other conditions. Coverage is not guaranteed.",g={strong:{bg:"#e6f9ec",border:"#22c55e",icon:"✅",color:"#15803d"},possible:{bg:"#fffbeb",border:"#f59e0b",icon:"⚠️",color:"#b45309"},weak:{bg:"#fef2f2",border:"#ef4444",icon:"❌",color:"#b91c1c"},unknown:{bg:"#f5f5f5",border:"#9ca3af",icon:"❓",color:"#374151"}};function m({result:n}){var t;const r=g[n.resultStatus]||g.unknown;return e.jsxs("div",{style:{background:r.bg,border:`2px solid ${r.border}`,borderRadius:16,padding:"28px 24px",fontFamily:"Arial, Helvetica, sans-serif"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12,marginBottom:16},children:[e.jsx("span",{style:{fontSize:28},children:r.icon}),e.jsxs("div",{children:[e.jsx("div",{style:{fontWeight:900,fontSize:18,color:r.color,lineHeight:1.2},children:n.resultTitle}),n.address&&e.jsx("div",{style:{fontSize:12,color:"#6b7280",marginTop:3},children:n.address})]})]}),n.resultMessage&&e.jsx("p",{style:{fontSize:14,color:"#374151",lineHeight:1.6,margin:"0 0 16px"},children:n.resultMessage}),((t=n.technologies)==null?void 0:t.length)>0&&e.jsxs("div",{style:{marginBottom:14},children:[e.jsx("p",{style:{fontSize:11,fontWeight:700,color:"#9ca3af",textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:6},children:"Technologies Found"}),e.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:n.technologies.map(a=>e.jsx("span",{style:{background:"#fff",border:`1px solid ${r.border}`,color:r.color,fontWeight:700,fontSize:12,padding:"4px 12px",borderRadius:999},children:a},a))})]}),n.confidenceNote&&e.jsx("p",{style:{fontSize:12,color:"#6b7280",fontStyle:"italic",margin:0},children:n.confidenceNote})]})}function v(){const[n,r]=s.useState(""),[t,a]=s.useState(!1),[l,c]=s.useState(null),[p,d]=s.useState(null),f=s.useRef(null);s.useEffect(()=>{const o=()=>{const h=document.body.scrollHeight;window.parent.postMessage({type:"ntinet-mobile-coverage-resize",height:h},"*")};o();const i=new ResizeObserver(o);return i.observe(document.body),()=>i.disconnect()});const x=async()=>{if(!n.trim()){d("Please enter an address.");return}d(null),c(null),a(!0);const o=await u.functions.invoke("runCoverageCheck",{address:n.trim()});a(!1);const i=(o==null?void 0:o.data)||o;(i==null?void 0:i.success)===!1&&!(i!=null&&i.resultStatus)?d((i==null?void 0:i.error)||"Something went wrong. Please try again."):c(i)};return e.jsxs("div",{ref:f,style:{background:"#fff",fontFamily:"Arial, Helvetica, sans-serif",minHeight:"100vh",padding:"0"},children:[e.jsxs("div",{style:{background:"#111111",padding:"48px 24px 40px",textAlign:"center"},children:[e.jsx("div",{style:{display:"inline-flex",alignItems:"center",gap:"8px",background:"rgba(198,0,0,0.2)",color:"#ff6b6b",borderRadius:"999px",padding:"6px 16px",fontSize:"11px",fontWeight:900,letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"16px"},children:"📶 NTInet Mobile"}),e.jsx("h1",{style:{color:"#fff",fontSize:"clamp(24px,5vw,38px)",fontWeight:900,margin:"0 0 10px",lineHeight:1.15},children:"Check NTInet Mobile Coverage"}),e.jsx("p",{style:{color:"rgba(255,255,255,0.65)",fontSize:"15px",margin:"0 0 32px",maxWidth:"520px",marginLeft:"auto",marginRight:"auto"},children:"Enter your address to see estimated wireless coverage in your area."}),e.jsxs("div",{style:{maxWidth:"560px",margin:"0 auto",display:"flex",borderRadius:"12px",overflow:"hidden",boxShadow:"0 8px 32px rgba(0,0,0,0.4)"},children:[e.jsx("input",{type:"text",value:n,onChange:o=>{r(o.target.value),d(null)},onKeyDown:o=>o.key==="Enter"&&x(),placeholder:"123 Main St, Orangeburg, SC 29115",style:{flex:1,padding:"16px 20px",border:"none",outline:"none",fontSize:"15px",background:"#fff",color:"#111"}}),e.jsx("button",{onClick:x,disabled:t,style:{background:t?"#999":"#C60000",color:"#fff",border:"none",padding:"16px 28px",fontWeight:900,fontSize:"14px",cursor:t?"wait":"pointer",whiteSpace:"nowrap",transition:"background 0.2s"},children:t?"Checking…":"Check Coverage"})]}),p&&e.jsx("p",{style:{color:"#ff6b6b",marginTop:"12px",fontSize:"13px"},children:p})]}),t&&e.jsxs("div",{style:{textAlign:"center",padding:"48px 24px"},children:[e.jsx("div",{style:{width:"40px",height:"40px",border:"4px solid #f0f
10f0",borderTop:"4px solid #C60000",borderRadius:"50%",animation:"spin 0.8s linear infinite",margin:"0 auto 16px"}}),e.jsx("p",{style:{color:"#666",fontSize:"14px"},children:"Checking FCC coverage data…"}),e.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"})]}),l&&!t&&e.jsxs("div",{style:{maxWidth:"680px",margin:"0 auto",padding:"32px 24px"},children:[e.jsx(m,{result:l}),e.jsx("p",{style:{marginTop:"24px",fontSize:"11px",color:"#9ca3af",lineHeight:1.6,borderTop:"1px solid #e5e7eb",paddingTop:"16px"},children:b})]}),!l&&!t&&e.jsx("div",{style:{maxWidth:"680px",margin:"0 auto",padding:"48px 24px"},children:e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(180px, 1fr))",gap:"16px"},children:[{icon:"🗺️",title:"FCC Data",desc:"Based on official FCC National Broadband Map provider coverage data."},{icon:"📡",title:"5G & 4G LTE",desc:"We check both 5G-NR and 4G LTE availability at your address."},{icon:"⚡",title:"Speed Confidence",desc:"FCC crowdsourced speed-test data adds real-world confidence."},{icon:"🔒",title:"No Guarantees",desc:"Results are estimated. Actual coverage may vary by device and location."}].map(o=>e.jsxs("div",{style:{background:"#f5f5f5",borderRadius:"12px",padding:"20px 16px",textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"28px",marginBottom:"8px"},children:o.icon}),e.jsx("div",{style:{fontWeight:800,color:"#111",fontSize:"13px",marginBottom:"6px"},children:o.title}),e.jsx("div",{style:{color:"#666",fontSize:"12px",lineHeight:1.5},children:o.desc})]},o.title))})})]})}export{v as default};

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.