PageSourceSearch

https://7maravilhas.pt/build/assets/show-CKBlYJqd.js

js 7maravilhas.pt collected 2026-10-02 12:03:14 UTC 2,253 bytes, 1 lines download raw bytes

1import{j as e,Y as n,q as p}from"./app-Dpdn6RkY.js";import{G as u}from"./gala-hero-DOq5aIE5.js";import{C as c,M as d}from"./monument-poster-card-C3ZWWF7m.js";import{o as m,p as g,M as x}from"./main-layout-DueMfrwV.js";import{P as h}from"./partners-lnawbEvo.js";/* empty css            */import"./proxy-Bef8oLZF.js";import"./single-value-DUybrRiC.js";import"./badge-DIC5sZhc.js";import"./primary-button-Cc1Q7518.js";import"./tvi-pass-links-DoRhKFm8.js";import"./image-CzJRggyT.js";import"./map-pin-BSCRR-_c.js";import"./index-H3WrPmOw.js";import"./index-Dr1PzIeU.js";function y({activeResult:s,categories:i,countNounSingular:o,countNounPlural:r}){const l=i.map(a=>({key:a.key,title:a.tagline,count:a.monuments.length,items:a.monuments,emptyMessage:`Sem ${r} nesta categoria.`}));return e.jsxs(e.Fragment,{children:[e.jsx("nav",{"aria-label":"Resultados nacionais",className:"border-arraial-gold-bright/40 bg-arraial-azul-deep border-y",children:e.jsx("div",{className:"mx-auto flex max-w-6xl flex-col justify-center gap-2 px-4 py-4 sm:flex-row sm:gap-3 sm:px-6 lg:px-8",children:m.map(a=>{const t=a.key===s;return e.jsx(n,{href:route("results.show",{result:a.key}),"aria-current":t?"page":void 0,className:`rounded-md border px-4 py-2.5 text-center text-sm font-semibold transition ${g(a.key,t)}`,children:a.title},a.key)})})}),e.jsx(c,{buckets:l,countNounSingular:o,countNounPlural:r,renderItem:(a,t)=>e.jsx(d,{monument:{id:a.id,slug:a.slug,name:a.name,image_url:a.image_url,category_short_label:a.category_short_label,phase:a.phase,phase_badge_label:a.phase_badge_label,municipality:a.municipality,district:a.district,ivr:null,copyright:a.copyright},staggerIndex:t},a.id)})]})}function T(){const{result:s,categories:i}=p().props;return e.jsxs(x,{title:s.key==="vencedores"?s.title:`${s.title} — Novas 7 Maravilhas de Portugal®`,description:s.description,keywords:"novas 7 maravilhas de portugal, vencedores, finalistas nacionais, semifinalistas nacionais, património",children:[e.jsx(u,{title:s.title,subtitle:"Descubra os patrimónios apurados ao longo desta eleição.",showTviTagline:!1}),e.jsx(y,{activeResult:s.key,categories:i,countNounSingular:s.count_noun_singular,countNounPlural:s.count_noun_plural}),e.jsx(h,{})]})}export{T 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.