1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42009,e=>{"use strict";let a=(0,e.i(75254).default)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);e.s(["Award",0,a],42009)},76838,e=>{"use strict";let a=(0,e.i(75254).default)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["BadgeCheck",0,a],76838)},78917,e=>{"use strict";let a=(0,e.i(75254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,a],78917)},81664,46897,e=>{"use strict";var a=e.i(75254);let r=(0,a.default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);e.s(["Feather",0,r],81664);let t=(0,a.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],46897)},87130,e=>{"use strict";let a=(0,e.i(75254).default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);e.s(["Filter",0,a],87130)},55436,e=>{"use strict";let a=(0,e.i(75254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,a],55436)},81418,e=>{"use strict";let a=(0,e.i(75254).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",0,a],81418)},40695,e=>{"use strict";var a=e.i(43476),r=e.i(71645),t=e.i(70703),s=e.i(88653),i=e.i(46932),l=e.i(42009),n=e.i(76838),d=e.i(75254);let o=(0,d.default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),c=(0,d.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var p=e.i(78917),x=e.i(81664),m=e.i(87130),h=e.i(46897),g=e.i(55436),u=e.i(81418),v=e.i(37727),b=e.i(95109),f=e.i(60207),j=e.i(23660),y=e.i(40294),N=e.i(20770);let w=(0,t.default)(()=>e.A(79057),{loadableGenerated:{modules:[2328]},ssr:!1,loading:()=>(0,a.jsx)("div",{className:"flex w-full items-center justify-center bg-[var(--walnut)]",style:{height:"clamp(280px, 50dvh, 650px)"},children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"mx-auto mb-4 h-8 w-8 animate-spin rounded-full border-2 border-[var(--antique-gold)] border-t-transparent"}),(0,a.jsx)("p",{className:"font-display text-sm tracking-wider text-[var(--antique-gold-muted)]",children:"Loading map..."})]})})}),k={1:{label:"Tier I",title:"Anchor reference",description:"Named pattern authority, specialist shop, signature tyer, or deep regional bench used as a high-confidence sourcing lead."},2:{label:"Tier II",title:"Regional corroborator",description:"Strong local knowledge used to cross-check species, water, presentation, and seasonal fly logic."},3:{label:"Tier III",title:"Niche craft lead",description:"Focused maker or technical reference for difficult patterns, narrow water types, and local nuance."}};function S({value:e,label:r}){return(0,a.jsxs)("div",{className:"px-3 text-center",children:[(0,a.jsx)("p",{className:"font-display text-2xl text-[var(--antique-gold)]",children:e}),(0,a.jsx)("p",{className:"mt-1 font-code text-[10px] uppercase tracking-[0.16em] text-[var(--cream)]/52",children:r})]})}function C({value:e,label:r}){return(0,a.jsxs)("div",{className:"border border-[var(--paper-edge)] bg-[var(--linen)] p-3",children:[(0,a.jsx)("p",{className:"font-display text-xl text-[var(--walnut)]",children:e}),(0,a.jsx)("p",{className:"mt-1 font-code text-[9px] uppercase tracking-[0.16em] text-[var(--warm-gray)]",children:r})]})}
1function q({artisan:e,index:r,region:t,isOpen:s,onToggle:d}){var m;let g=e.website?(m=e.website,/^https?:\/\//i.test(m)?m:`https://${m}`):null,u=k[e.partnershipTier];return(0,a.jsxs)(i.motion.article,{layout:!0,initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.24,ease:[.16,1,.3,1]},className:"group border border-[rgba(200,185,159,0.92)] bg-[var(--linen)] shadow-[0_18px_38px_-34px_rgba(23,19,15,0.78)] transition-colors hover:border-[var(--antique-gold)]",children:[(0,a.jsxs)("button",{type:"button",onClick:d,className:"grid w-full gap-4 p-4 text-left sm:p-5 lg:grid-cols-[minmax(0,1fr)_220px_44px] lg:items-center","aria-expanded":s,children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("p",{className:"font-code text-[10px] uppercase tracking-[0.18em] text-[var(--antique-gold)]",children:["No. ",String(r+1).padStart(2,"0")," / ",u.label]}),(0,a.jsxs)("div",{className:"mt-2 flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[(0,a.jsx)("h3",{className:"font-display text-2xl leading-tight text-[var(--walnut)]",children:e.name}),(0,a.jsx)("p",{className:"font-display text-xs uppercase tracking-[0.14em] text-[var(--copper)]",children:e.businessName})]}),(0,a.jsx)("div",{className:"mt-3 flex flex-wrap gap-1.5",children:e.specialties.slice(0,4).map(e=>(0,a.jsx)("span",{className:"border border-[var(--paper-edge)] bg-[var(--parchment)] px-2 py-1 text-[10px] uppercase tracking-[0.08em] text-[var(--walnut)]/72",children:e},e))})]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs text-[var(--warm-gray)] sm:grid-cols-2 lg:block lg:space-y-2",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(h.MapPin,{className:"h-3.5 w-3.5 text-[var(--antique-gold)]",strokeWidth:1.6}),e.location]}),(0,a.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(x.Feather,{className:"h-3.5 w-3.5 text-[var(--antique-gold)]",strokeWidth:1.6}),t?.shortName??"Regional"]}),(0,a.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(n.BadgeCheck,{className:"h-3.5 w-3.5 text-[var(--antique-gold)]",strokeWidth:1.6}),u.title]})]}),(0,a.jsx)("span",{className:"inline-flex h-11 w-11 items-center justify-center border border-[var(--paper-edge)] text-[var(--walnut)] transition-colors group-hover:border-[var(--antique-gold)]",children:(0,a.jsx)(c,{className:`h-4 w-4 transition-transform ${s?"rotate-180":""}`,strokeWidth:1.7})})]}),(0,a.jsx)("div",{className:`grid transition-[grid-template-rows] duration-300 ${s?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,a.jsx)("div",{className:"overflow-hidden",children:(0,a.jsx)("div",{className:"border-t border-[var(--paper-edge)] p-4 pt-5 sm:p-5",children:(0,a.jsxs)("div",{className:"grid gap-5 lg:grid-cols-[minmax(0,1fr)_300px]",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm leading-relaxed text-[var(--walnut)]/78",children:e.bio}),(0,a.jsxs)("div",{className:"mt-5 border-l-2 border-[var(--antique-gold)] bg-[rgba(185,148,85,0.08)] px-3 py-2",children:[(0,a.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,a.jsx)(l.Award,{className:"h-3.5 w-3.5 text-[var(--copper)]",strokeWidth:1.6}),(0,a.jsx)("span",{className:"font-display text-[10px] uppercase tracking-[0.16em] text-[var(--copper)]",children:"Credential or Research Signal"})]}),(0,a.jsx)("p",{className:"text-xs leading-relaxed text-[var(--walnut)]/75",children:e.credential})]})]}),(0,a.jsxs)("div",{className:"border border-[var(--paper-edge)] bg-[var(--parchment)] p-4",children:[(0,a.jsx)("p",{className:"font-display text-[10px] uppercase tracking-[0.18em] text-[var(--copper)]",children:"Dossier Notes"}),(0,a.jsxs)("div",{className:"mt-3 space-y-2 text-xs leading-relaxed text-[var(--walnut)]/72",children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("span",{className:"font-semibold text-[var(--walnut)]",children:"Role:"})," ",u.description]}),e.yearsExperience&&(0,a.jsxs)("p",{children:[(0,a.jsx)("span",{className:"font-semibold text-[var(--walnut)]",children:"Known tenure:"})," ",e.yearsExperience,"+ years"]}),e.signaturePatterns&&e.signaturePatterns.length>0&&(0,a.jsxs)("p",{className:"inline-flex items-start gap-2",children:[(0,a.jsx)(o,{className:"mt-0.5 h-3.5 w-3.5 shrink-0 text-[var(--antique-gold)]",strokeWidth:1.6}),(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"font-semibold text-[var(--walnut)]",children:"Pattern note:"}
1)," ",e.signaturePatterns.join(", ")]})]})]}),g&&(0,a.jsxs)("a",{href:g,target:"_blank",rel:"noreferrer",className:"mt-4 inline-flex min-h-11 w-full items-center justify-center gap-2 border border-[var(--rule-strong)] px-3 py-2 font-display text-[10px] uppercase tracking-[0.14em] text-[var(--walnut)] transition-colors hover:border-[var(--antique-gold)] hover:bg-[var(--walnut)] hover:text-[var(--cream)]",children:["Visit Independent Site",(0,a.jsx)(p.ExternalLink,{className:"h-3.5 w-3.5",strokeWidth:1.6})]})]})]})})})})]})}e.s(["default",0,function(){let[e,t]=(0,r.useState)(""),[l,n]=(0,r.useState)(""),[d,o]=(0,r.useState)("all"),[c,p]=(0,r.useState)(null),[x,h]=(0,r.useState)(null),I=(0,r.useMemo)(()=>(0,b.getAllArtisans)(),[]),T=(0,b.getArtisanCount)(),A=(0,r.useMemo)(()=>(0,y.buildFishingMapGeoJSON)((0,f.getAllLocations)(),(0,j.getFishingWaters)()),[]),M=(0,r.useMemo)(()=>new Map(f.regions.map(e=>[e.id,e])),[]),L=(0,r.useMemo)(()=>I.reduce((e,a)=>(e[a.partnershipTier]+=1,e),{1:0,2:0,3:0}),[I]),R=(0,r.useMemo)(()=>f.regions.map(e=>{let a=I.filter(a=>a.regionId===e.id),r=a.filter(e=>1===e.partnershipTier).length,t=Array.from(new Set(a.flatMap(e=>e.specialties).slice(0,14))).slice(0,3);return{...e,count:a.length,tierOneCount:r,specialties:t}}),[I]),_=e?R.find(a=>a.id===e):null,z=x?R.find(e=>e.id===x):null,F=l.trim().toLowerCase(),W=(0,r.useMemo)(()=>I.filter(a=>{let r=!e||a.regionId===e,t="all"===d||a.partnershipTier===Number(d);if(!r||!t)return!1;if(!F)return!0;let s=M.get(a.regionId)?.name??"";return[a.name,a.businessName,a.location,a.bio,a.credential,s,...a.specialties,...a.signaturePatterns??[]].join(" ").toLowerCase().includes(F)}),[I,F,M,e,d]),P=_?.shortName??"All Regions",$=I.reduce((e,a)=>e+(a.yearsExperience??0),0),O=I.filter(e=>e.website).length,V=!!(e||"all"!==d||l);function G(){t(""),o("all"),n(""),p(null)}let B=(0,r.useCallback)(e=>{e&&(t(a=>a===e?"":e),p(null))},[]),E=(0,r.useCallback)((e,a,r,s)=>{if(!s?.regionId)return;let i=s.regionId;t(e=>e===i?"":i),p(null)},[]);return(0,a.jsxs)("div",{className:"relative overflow-hidden",children:[(0,a.jsxs)("section",{className:"relative overflow-hidden bg-[var(--walnut)] pt-24 text-[var(--cream)] sm:pt-28 lg:pt-32",children:[(0,a.jsx)("div",{className:"absolute inset-0 noise-overlay opacity-55","aria-hidden":"true"}),(0,a.jsx)("div",{className:"absolute inset-0 opacity-30","aria-hidden":"true",style:{background:"linear-gradient(90deg, rgba(185,148,85,0.1) 1px, transparent 1px), linear-gradient(180deg, rgba(185,148,85,0.08) 1px, transparent 1px)",backgroundSize:"84px 84px"}}),(0,a.jsxs)("div",{className:"relative z-10 twg-container-wide pb-12 sm:pb-16",children:[(0,a.jsxs)(N.default,{animation:"fade-up",className:"grid gap-10 lg:grid-cols-[minmax(0,1fr)_440px] lg:items-end",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"heritage-kicker mb-4",children:"Independent Sourcing Ledger"}),(0,a.jsxs)("h1",{className:"font-display text-4xl leading-[0.95] sm:text-6xl lg:text-7xl",style:{fontWeight:300},children:["Tiers,",(0,a.jsx)("span",{className:"block text-gold-gradient",children:"Indexed by Region"})]}),(0,a.jsx)("p",{className:"mt-6 max-w-3xl text-base leading-relaxed text-[var(--cream)]/72 sm:text-lg",children:"A field index of independent fly tiers, specialist shops, pattern designers, and regional references used to support the Flybox sourcing logic. A listing is a research signal, not a claim of ownership, inventory, endorsement, or formal affiliation."})]}),(0,a.jsxs)("div",{className:"border border-[rgba(185,148,85,0.24)] bg-[rgba(23,19,15,0.76)] p-5 shadow-[var(--shadow-inset-brass)]",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-5 border-b border-[rgba(185,148,85,0.18)] pb-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-display text-[10px] uppercase tracking-[0.24em] text-[var(--antique-gold)]",children:"Research Roster"}),(0,a.jsx)("p",{className:"mt-1 font-display text-5xl text-[var(--cream)]",children:T})]}),(0,a.jsx)(u.ShieldCheck,{className:"h-10 w-10 text-[var(--antique-gold)]",strokeWidth:1.25})]}),(0,a.jsxs)("div",{className:"grid grid-cols-3 divide-x divide-[rgba(185,148,85,0.16)] pt-4",children:[(0,a.jsx)(S,{value:"10",label:"Regions"}),(0,a.jsx)(S,{value:String(O),label:"Source Sites"}),(0,a.jsx)(S,{value:String($),label:"Known Years"})]}),(0,a.jsx)("p",{className:"mt-4 border-t border-[rgba(185,148,85,0.18)] pt-4 text-xs leading-relaxed text-[var(--cream)]/58",children:"Use the roster as a starting point for corroboration and source discovery. Availability, pricing, and terms belong to each independent tier or shop."})]})]}),(0,a.jsx)(N.default,{animation:"fade-up",delay:.08,className:"mt-8 grid gap-3 md:grid-cols-3",children:[1,2,3].map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>{o(String(e)),p(null)},className:`border p-4 text-left transition-colors ${d===String(e)?"border-[var(--antique-gold)] bg-[rgba(185,148,85,0.14)]":"border-[rgba(185,148,85,0.2)] bg-[rgba(53,37,27,0.44)] hover:border-[rgba(185,148,85,0.44)]"}`,"aria-pressed":d===String(e),children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3",children:[(0,a.jsx)("span",{className:"font-code text-[11px] uppercase tracking-[0.16em] text-[var(--antique-gold)]",children:k[e].label}),(0,a.jsx)("span",{className:"font-display text-2xl text-[var(--cream)]",children:L[e]})]}),(0,a.jsx)("h2",{className:"font-display text-lg text-[var(--cream)]",children:k[e].title}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-[var(--cream)]/62",children:k[e].description})]},e))})]})]}),(0,a.jsx)("section",{className:"bg-[var(--parchment)] py-8 sm:py-12 lg:py-14",children:(0,a.jsxs)("div",{className:"twg-container-wide",children:[(0,a.jsx)(N.default,{animation:"fade-up",className:"heritage-panel overflow-hidden p-0",children:(0,a.jsxs)("div",{className:"grid gap-0 xl:grid-cols-[minmax(0,1fr)_340px]",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"border-b border-[var(--paper-edge)] bg-[var(--linen)] p-5 sm:p-6",children:[(0,a.jsx)("p",{className:"heritage-kicker mb-2",children:"Regional Field Map"}),(0,a.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[minmax(0,1fr)_260px] lg:items-end",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-display text-3xl leading-tight text-[var(--walnut)]",children:"Start with the water, then inspect the tiers."}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-relaxed text-[var(--warm-gray)]",children:"Click a state or water dot to narrow the roster. The map uses the same regional engine as the fly-selection workflow, so the sourcing view starts from the same geography as the Flybox."})]}),(0,a.jsxs)("div",{className:"border border-[var(--paper-edge)] bg-[var(--parchment)] p-3",children:[(0,a.jsx)("p",{className:"font-display text-[10px] uppercase tracking-[0.18em] text-[var(--copper)]",children:"Active View"}),(0,a.jsx)("p",{className:"mt-1 font-display text-xl leading-tight text-[var(--walnut)]",children:_?.shortName??"All Regions"}),(0,a.jsxs)("p",{className:"mt-1 font-code text-[10px] uppercase tracking-[0.14em] text-[var(--warm-gray)]",children:[W.length," visible / ",T," total"]})]})]})]}),(0,a.jsxs)("div",{className:"heritage-map-frame",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 border border-[var(--antique-gold)]/10"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-2 z-10 border border-[var(--antique-gold)]/5"}),(0,a.jsx)("div",{className:"pointer-events-none absolute right-4 top-4 z-10 text-[var(--antique-gold)] opacity-30 sm:right-6 sm:top-6",children:(0,a.jsxs)("svg",{viewBox:"0 0 40 40",className:"h-8 w-8 sm:h-10 sm:w-10",fill:"none",stroke:"currentColor",strokeWidth:"0.5",children:[(0,a.jsx)("circle",{cx:"20",cy:"20",r:"18"}),(0,a.jsx)("path",{d:"M20 2 L20 38 M2 20 L38 20"}),(0,a.jsx)("path",{d:"M20 5 L18 15 L20 12 L22 15 Z",fill:"currentColor"}),(0,a.jsx)("text",{x:"20",y:"3",textAnchor:"middle",fontSize:"4",fill:"
1currentColor",stroke:"none",children:"N"})]})}),(0,a.jsx)(w,{selectedRegion:e||null,onRegionHover:h,onRegionClick:B,regions:f.regions,locationGeoJSON:A,onLocationClick:E}),(0,a.jsx)(s.AnimatePresence,{children:z&&!e&&(0,a.jsxs)(i.motion.div,{className:"glass absolute bottom-4 left-4 z-20 max-w-xs px-5 py-3 text-[var(--cream)] shadow-xl sm:bottom-8 sm:left-8",initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.2},children:[(0,a.jsx)("p",{className:"mb-1 font-display text-lg",children:z.name}),(0,a.jsxs)("p",{className:"text-xs text-[var(--antique-gold)]",children:[z.count," tiers /"," ",z.keySpecies.slice(0,3).join(", ")]}),z.specialties.length>0&&(0,a.jsx)("p",{className:"mt-1 text-[10px] leading-relaxed text-[var(--warm-gray)]",children:z.specialties.join(", ")})]})})]})]}),(0,a.jsxs)("aside",{className:"border-t border-[var(--paper-edge)] bg-[var(--linen)] p-4 sm:p-5 xl:border-l xl:border-t-0",children:[(0,a.jsx)("p",{className:"heritage-kicker mb-3",children:"Map Selection"}),(0,a.jsx)("h3",{className:"font-display text-3xl leading-tight text-[var(--walnut)]",children:_?.name??"All sourcing regions"}),(0,a.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-[var(--warm-gray)]",children:_?`${_.count} independent tier leads are mapped to this fishery region. Use the filter strip below to search names, waters, species, or pattern specialties.`:"Use the map, water dots, or region chips to focus the roster without leaving the source-led browsing flow."}),(0,a.jsxs)("div",{className:"mt-5 grid grid-cols-2 gap-3",children:[(0,a.jsx)(C,{value:String(W.length),label:"Showing"}),(0,a.jsx)(C,{value:"all"===d?"I-III":k[Number(d)].label,label:"Tier"}),(0,a.jsx)(C,{value:l?"Active":"Open",label:"Search"}),(0,a.jsx)(C,{value:_?String(_.tierOneCount):String(L[1]),label:"Anchors"})]}),(0,a.jsxs)("div",{className:"mt-5 border-l-2 border-[var(--antique-gold)] bg-[rgba(185,148,85,0.08)] px-4 py-3",children:[(0,a.jsx)("p",{className:"font-display text-[10px] uppercase tracking-[0.18em] text-[var(--copper)]",children:"Affiliation Guardrail"}),(0,a.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-[var(--walnut)]/72",children:"These are independent tiers and shops. TWG uses them as research, corroboration, and sourcing references unless a specific purchase path says otherwise."})]})]})]})}),(0,a.jsxs)("nav",{"aria-label":"Tier regions",className:"-mx-4 mt-4 flex flex-nowrap gap-2 overflow-x-auto px-4 pb-2 sm:mx-0 sm:flex-wrap sm:overflow-visible sm:px-0 sm:pb-0",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{t(""),p(null)},className:`flex min-h-11 shrink-0 items-center gap-2 border px-3 py-2 font-display text-xs uppercase tracking-[0.1em] transition-colors ${!e?"border-[var(--walnut)] bg-[var(--walnut)] text-[var(--cream)] shadow-md":"border-[var(--paper-edge)] bg-[var(--linen)] text-[var(--walnut)]/70 hover:border-[var(--antique-gold)] hover:text-[var(--walnut)]"}`,"aria-pressed":!e,children:[(0,a.jsx)("span",{className:"h-2.5 w-2.5 bg-[var(--antique-gold)]","aria-hidden":"true"}),"All Regions",(0,a.jsx)("span",{className:"font-code text-[10px] opacity-70",children:T})]}),R.map(r=>(0,a.jsxs)("button",{type:"button","data-region-chip":r.id,onClick:()=>B(r.id),className:`flex min-h-11 shrink-0 items-center gap-2 border px-3 py-2 font-display text-xs uppercase tracking-[0.1em] transition-colors ${e===r.id?"border-[var(--walnut)] bg-[var(--walnut)] text-[var(--cream)] shadow-md":"border-[var(--paper-edge)] bg-[var(--linen)] text-[var(--walnut)]/70 hover:border-[var(--antique-gold)] hover:text-[var(--walnut)]"}`,"aria-pressed":e===r.id,children:[(0,a.jsx)("span",{className:"h-2.5 w-2.5 shrink-0",style:{backgroundColor:r.mapColor},"aria-hidden":"true"}),r.shortName,(0,a.jsx)("span",{className:"font-code text-[10px] opacity-70",children:r.count})]},r.id))]}),(0,a.jsxs)(N.default,{animation:"fade-up",delay:.06,className:"mt-5 border border-[var(--paper-edge)] bg-[rgba(249,244,232,0.86)] p-3 shadow-[0_18px_44px_-38px_rgba(23,19,15,0.72)] sm:p-4",children:[(0,a.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[minmax(0,1fr)_210px_auto] lg:items-end",children:[(0,a.jsxs)("label",{className:"block",children:[(0,a.jsx)("span",{className:"heritage-kicker mb-2 block",children:"Search the Ledger"}),(0,a.jsxs)("span",{className:"flex min-h-11 items-center gap-2 border border-[var(--paper-edge)] bg-[var(--linen)] px-3 py-2 focus-within:border-[var(--antique-gold)]",children:[(0,a.jsx)(g.Search,{className:"h-4 w-4 shrink-0 text-[var(--antique-gold)]",strokeWidth:1.6}
1),(0,a.jsx)("input",{value:l,onChange:e=>n(e.target.value),placeholder:"Name, shop, water, species, pattern...",className:"w-full bg-transparent text-sm text-[var(--walnut)] outline-none placeholder:text-[var(--warm-gray)]/70"})]})]}),(0,a.jsxs)("label",{className:"block",children:[(0,a.jsx)("span",{className:"heritage-kicker mb-2 block",children:"Tier"}),(0,a.jsxs)("span",{className:"flex min-h-11 items-center gap-2 border border-[var(--paper-edge)] bg-[var(--linen)] px-3 py-2 focus-within:border-[var(--antique-gold)]",children:[(0,a.jsx)(m.Filter,{className:"h-4 w-4 shrink-0 text-[var(--antique-gold)]",strokeWidth:1.6}),(0,a.jsxs)("select",{value:d,onChange:e=>{o(e.target.value),p(null)},className:"w-full bg-transparent font-display text-xs uppercase tracking-[0.12em] text-[var(--walnut)] outline-none",children:[(0,a.jsx)("option",{value:"all",children:"All Tiers"}),(0,a.jsx)("option",{value:"1",children:"Tier I"}),(0,a.jsx)("option",{value:"2",children:"Tier II"}),(0,a.jsx)("option",{value:"3",children:"Tier III"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-end gap-2 lg:justify-end",children:[(0,a.jsxs)("div",{className:"min-h-11 border border-[var(--paper-edge)] bg-[var(--linen)] px-3 py-2",children:[(0,a.jsx)("p",{className:"font-code text-[10px] uppercase tracking-[0.16em] text-[var(--warm-gray)]",children:"Showing"}),(0,a.jsx)("p",{className:"font-display text-lg leading-none text-[var(--walnut)]",children:W.length})]}),V&&(0,a.jsxs)("button",{type:"button",onClick:G,className:"inline-flex min-h-11 items-center gap-2 border border-[var(--paper-edge)] bg-[var(--linen)] px-3 py-2 font-display text-[10px] uppercase tracking-[0.14em] text-[var(--walnut)] transition-colors hover:border-[var(--antique-gold)] hover:bg-[var(--walnut)] hover:text-[var(--cream)]",children:[(0,a.jsx)(v.X,{className:"h-3.5 w-3.5",strokeWidth:1.7}),"Clear"]})]})]}),(0,a.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2 text-[10px] uppercase tracking-[0.12em] text-[var(--warm-gray)]",children:[(0,a.jsx)("span",{className:"border border-[var(--paper-edge)] bg-[var(--linen)] px-2 py-1",children:P}),(0,a.jsx)("span",{className:"border border-[var(--paper-edge)] bg-[var(--linen)] px-2 py-1",children:"all"===d?"All research tiers":k[Number(d)].title}),(0,a.jsx)("span",{className:"border border-[var(--paper-edge)] bg-[var(--linen)] px-2 py-1",children:"Independent references only"})]})]}),(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsxs)("div",{className:"mb-5 flex flex-col justify-between gap-4 border-b border-[var(--paper-edge)] pb-5 sm:flex-row sm:items-end",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"heritage-kicker mb-2",children:"Current View"}),(0,a.jsxs)("h2",{className:"font-display text-3xl text-[var(--walnut)]",children:[W.length," ",1===W.length?"Tier":"Tiers"," in the Ledger"]})]}),(0,a.jsx)("p",{className:"max-w-xl text-sm leading-relaxed text-[var(--warm-gray)]",children:"Dossiers stay collapsed for scanning. Open one to inspect credentials, specialties, signature patterns, and source links."})]}),(0,a.jsx)("div",{className:"space-y-3",children:W.map((e,r)=>(0,a.jsx)(q,{artisan:e,index:r,region:M.get(e.regionId),isOpen:c===e.id,onToggle:()=>p(c===e.id?null:e.id)},e.id))}),0===W.length&&(0,a.jsxs)("div",{className:"border border-[var(--paper-edge)] bg-[var(--linen)] py-20 text-center",children:[(0,a.jsx)("p",{className:"mb-2 font-display text-lg text-[var(--walnut)]",children:"No tiers match that filter"}),(0,a.jsx)("p",{className:"mx-auto mb-5 max-w-md text-sm text-[var(--warm-gray)]",children:"Try a broader region, remove the research-tier filter, or search by species, state, shop, or pattern style."}),(0,a.jsx)("button",{type:"button",onClick:G,className:"btn-vintage text-xs",children:"Show All Tiers"})]})]})]})})]})}],40695)},79057,e=>{e.v(a=>Promise.all(["static/immutable/chunks/2vz02ijqv52w9.js","static/immutable/chunks/039p5rquccd1i.js"].map(a=>e.l(a))).then(()=>a(2328)))},40294,e=>{"use strict";e.s(["buildFishingMapGeoJSON",0,function(e,a){let r={type:"FeatureCollection",features:e.map(e=>({type:"Feature",geometry:{type:"Point",coordinates:e.coordinates},properties:{name:e.name,state:e.state,waterType:e.waterType,flyCount:e.flyCount,flyIds:e.flyIds.join(","),fishSpecies:e.fishSpecies.join("|"),regionId:e.regionId,sourceType:"catalog",evidence:"Catalog fly placements"}}))}.features,t=new Set(e.map(e=>`${e.name.toLowerCase()}|${e.state}`));return{type:"FeatureCollection",features:[...r,...a.filter(e=>!t.has(`${e.name.toLowerCase()}|${e.state}`)).map(e=>({type:"Feature",geometry:{type:"Point",coordinates:e.coordinates},properties:{name:e.name,state:e.state,waterType:e.waterType,flyCount:0,flyIds:"",fishSpecies:e.fishSpecies.join("|"),regionId:e.regionId,sourceType:"atlas",evidence:e.evidence.join("|")}}))]}}])}]);
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.