1import{a as e,n as t,t as n}from"./jsx-runtime-B-hcVAMW.js";import{a as r,i,n as a,t as o}from"./dist-aFqP7lWN.js";import{a as s,s as c,t as l}from"./utils-CsCBr66e.js";import{t as u}from"./dist-B1ACA3OL.js";import{r as d,t as f}from"./dist-BeIGv8uH.js";import{t as p}from"./createLucideIcon-CLdWFMku.js";import{t as m}from"./check-36OnHiEM.js";import{d as h,n as ee,o as te,r as g,t as _,u as v}from"./Header-BFrslff9.js";import{t as y}from"./chevron-right-CHJcvRU6.js";import{t as b}from"./use-mobile-Cu1GnzVE.js";import{t as x}from"./heart-BFO9Yoo3.js";import{r as ne,t as re}from"./Footer-CHkeDF39.js";import{n as S,r as C,t as ie}from"./ionic-vignola-new-DEeOGuMa.js";import{t as w}from"./users-D2taoQBY.js";import{a as T,c as E,d as D,i as ae,l as oe,n as se,o as ce,r as le,s as ue,t as de,u as fe}from"./dialog-B1Ty6GeA.js";import{A as O,C as k,D as A,E as pe,S as j,T as me,d as M,h as he,m as ge,p as N,w as P}from"./index-Cypeoolf.js";import{n as F}from"./client-CsWjoftM.js";import{t as I}from"./party-logo-D0SmkBHX.js";import"./hero-architecture-C6AqBTa-.js";import"./hero-vaxholm-uCfGAa2_.js";import{t as L}from"./CandidateCarousel-Cqz0kTFK.js";import{t as _e}from"./MembershipForm-BvWVHK66.js";import{i as ve,r as ye}from"./useScrollRestore-BksjM4uf.js";var R=p(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),be=p(`facebook`,[[`path`,{d:`M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z`,key:`1jg4f8`}]]),xe=p(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),Se=p(`message-circle`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]),Ce=p(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),we=p(`share-2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),Te=p(`thumbs-down`,[[`path`,{d:`M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z`,key:`m61m77`}],[`path`,{d:`M17 14V2`,key:`8ymqnk`}]]),Ee=p(`thumbs-up`,[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`,key:`emmmcr`}],[`path`,{d:`M7 10v12`,key:`1qc93n`}]]),z=e(t(),1),B=n(),De=Object.defineProperty,V=(e,t)=>De(e,`name`,{value:t,configurable:!0}),H=`Popover`,[U,Oe]=i(H,[A]),W=A(),[ke,G]=U(H),Ae=V(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,c=W(t),l=z.useRef(null),[u,d]=z.useState(!1),[f,p]=o({prop:r,defaultProp:i??!1,onChange:a,caller:H});return(0,B.jsx)(pe,{...c,children:(0,B.jsx)(ke,{scope:t,contentId:D(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:z.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:u,onCustomAnchorAdd:z.useCallback(()=>d(!0),[]),onCustomAnchorRemove:z.useCallback(()=>d(!1),[]),modal:s,children:n})})},`Popover`),je=`PopoverTrigger`,Me=z.forwardRef(V(function(e,t){let{__scopePopover:n,...i}=e,a=G(je,n),o=W(n),s=c(t,a.triggerRef),l=(0,B.jsx)(u.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":Y(a.open),...i,ref:s,onClick:r(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:(0,B.jsx)(P,{asChild:!0,...o,children:l})},`PopoverTrigger`)),K=`PopoverPortal`,[Ne,Pe]=U(K,{forceMount:void 0}),Fe=V(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=G(K,t);return(0,B.jsx)(Ne,{scope:t,forceMount:n,children:(0,B.jsx)(a,{present:n||o.open,children:(0,B.jsx)(f,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),q=`PopoverContent`,Ie=z.forwardRef(V(function(e,t){let n=Pe(q,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=G(q,e.__scopePopover);return(0,B.jsx)(a,{present:r||o.open,children:o.modal?(0,B.jsx)(Re,{...i,ref:t}):(0,B.jsx)(ze,{...i,ref:t})})},`PopoverContent`)),Le=s(`PopoverContent.RemoveScroll`),Re=z.forwardRef(V(function(e,t){let n=G(q,e.__scopePopover),i=z.useRef(null),a=c(t,i),o=z.useRef(!1);return z.useEffect(()=>{let e=i.current;if(e)return ue(e)},[]),(0,B.jsx)(E,{as:Le,allowPinchZoom:!0,children:(0,B.jsx)(J,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:r(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:r(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;o.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:r(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),ze=z.forwardRef(V(function(e,t){let n=G(q,e.__scopePopover),r=z.useRef(!1),i=z.useRef(!1);return(0,B.jsx)(J,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`PopoverContentNonModal`)),J=z.forwardRef(V(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...f}=e,p=G(q,n),m=W(n);return oe(),(0,B.jsx)(fe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,B.jsx)(d,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,B.jsx)(me,{"data-state":Y(p.open),role:`dialog`,id:p.contentId,...m,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})},`PopoverContentImpl`));function Y(e){return e?`open`:`closed`}V(Y,`getState`);var Be=Ae,Ve=Me,He=Fe,X=Ie,Ue=Be,Z=Ve,Q=z.forwardRef(({className:e,align:t=`center`,sideOffset:n=4,...r},i)=>(0,B.jsx)(He,{children:(0,B.jsx)(X,{ref:i,align:t,sideOffset:n,className:l(`z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e),...r})}));Q.displayName=X.displayName;var We=({showFirstSupporterLink:e=!1})=>{let t=ge(),n=N(),{t:r,language:i}=k(),{cityName:a}=j(),o={Stockholm:`/assets/hero-nacka-Cpn8YBfz.jpg`,Uppsala:`/assets/hero-uppsala-IJUxeitL.jpg`,Växjö:`/assets/hero-vaxjo-new-BnyWlSow.jpg`,Danderyd:`/assets/hero-danderyd-DMuO4EJ5.jpg`,Vaxholm:`/assets/hero-vaxholm-Cm8AuTJE.jpg`}[a]||`/assets/hero-architecture-BzcIITYV.jpg`;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`section`,{className:`relative min-h-screen flex items-center justify-center overflow-hidden`,children:[(0,B.jsxs)(`div`,{className:`absolute inset-0 z-0`,children:[(0,B.jsx)(`img`,{src:o,alt:`Klassisk europeisk arkitektur`,className:`w-full h-full object-cover object-[35%_center]`}),(0,B.jsx)(`div`,{className:`absolute bottom-0 left-0 right-0 h-32 md:h-48 bg-gradient-to-t from-background via-background/70 to-transparent`})]}),(0,B.jsx)(`div`,{className:`relative z-10 w-full container mx-auto px-4 pt-20 pb-16 md:pt-20 lg:pt-28 flex flex-col items-center justify-center min-h-[100svh] md:min-h-screen`,children:(0,B.jsxs)(`div`,{className:`max-w-4xl 2xl:max-w-6xl mx-auto text-center w-full`,children:[(0,B.jsx)(`div`,{className:`mt-4 md:mt-4 lg:mt-8 xl:mt-0 2xl:mt-0 mb-6 md:mb-4 lg:mb-1 animate-fade-in`,children:(0,B.jsx)(`img`,{src:I,alt:`Arkitekturupproret logotyp`,className:`h-36 md:h-40 lg:h-36 xl:h-44 2xl:h-72 w-auto mx-auto drop-shadow-lg`})}),(0,B.jsxs)(`div`,{className:`mb-4 lg:mb-3 animate-fade-in-up`,children:[(0,B.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,B.jsx)(`span`,{className:`party-name text-3xl sm:text-4xl md:text-4xl lg:text-4xl xl:text-6xl 2xl:text-8xl text-navy-text leading-none text-center whitespace-nowrap [text-shadow:_0_0_8px_white,_0_0_15px_white,_0_0_25px_white,_0_0_40px_rgba(255,255,255,0.8),_0_0_60px_rgba(255,255,255,0.6),_0_0_100px_rgba(255,255,255,0.4)]`,style:{paddingLeft:`0.45em`},children:i===`sv`?`Partiet`:`Reform Party`})}),i===`en`?(0,B.jsxs)(`span`,{className:`party-name text-xs sm:text-xl md:text-2xl lg:text-2xl xl:text-[2.5rem] 2xl:text-[3.5rem] text-navy-text block leading-tight tracking-wide sm:tracking-[0.15em] md:tracking-[0.2em] mt-1 md:mt-2 whitespace-nowrap text-center [text-shadow:_0_0_8px_white,_0_0_15px_white,_0_0_25px_white,_0_0_40px_rgba(255,255,255,0.8),_0_0_60px_rgba(255,255,255,0.6),_0_0_100px_rgba(255,255,255,0.4)]`,style:{paddingLeft:`0.1em`},children:[`for `,r(`party.name2`)]}):(0,B.jsx)(`span`,{className:`party-name text-[1.05rem] sm:text-2xl md:text-3xl lg:text-3xl xl:text-4xl 2xl:text-6xl text-navy-text block leading-tight tracking-[0.25em] sm:tracking-[0.45em] [text-shadow:_0_0_8px_white,_0_0_15px_white,_0_0_25px_white,_0_0_40px_rgba(255,255,255,0.8),_0_0_60px_rgba(255,255,255,0.6),_0_0_100px_rgba(255,255,255,0.4)]`,style:{paddingLeft:`0.45em`},children:r(`party.name2`)}),(0,B.jsxs)(`div`,{className:`flex items-center justify-center gap-2 mt-1 lg:mt-1 relative`,children:[(0,B.jsx)(`div`,{className:`h-px w-4 md:w-5 lg:w-6 bg-navy-text/60`}),(0,B.jsx)(`span`,{className:`font-script text-3xl sm:text-3xl md:text-3xl lg:text-3xl xl:text-4xl 2xl:text-6xl text-navy-text normal-case tracking-[0.15em] font-semibold -rotate-3 [text-shadow:_0_0_8px_white,_0_0_15px_white,_0_0_25px_white,_0_0_40px_rgba(255,255,255,0.8),_0_0_60px_rgba(255,255,255,0.6),_0_0_100px_rgba(255,255,255,0.4)]`,style:{paddingLeft:`0.15em`},children:a}),(0,B.jsx)(`div`,{className:`h-px w-4 md:w-5 lg:w-6 bg-navy-text/60`})]})]}),(0,B.jsx)(`div`,{className:`relative`,children:(0,B.jsx)(`p`,{className:`text-sm md:text-sm lg:text-sm xl:text-lg 2xl:text-xl text-navy-text font-normal md:font-light max-w-2xl xl:max-w-3xl mx-auto mt-4 mb-8 lg:mt-6 lg:mb-10 leading-relaxed animate-fade-in-delay [text-shadow:_0_0_8px_white,_0_0_15px_white,_0_0_25px_white,_0_0_40px_rgba(255,255,255,0.8)]`,children:i===`sv`?(0,B.jsxs)(B.Fragment,{children:[`Hjälp oss göra världen vackrare!`,(0,B.jsx)(`br`,{}),`â inte tvärtom.`]}):(0,B.jsxs)(B.Fragment,{children:[`Help us make the world more beautiful!`,(0,B.jsx)(`br`,{}),`â not the other way around.`]})})}),(0,B.jsxs)(`div`,{className:`relative z-20 flex flex-col sm:flex-row items-center justify-center gap-3 animate-fade-in-delay-2 pb-4 md:pb-8 lg:pb-10 xl:pb-4 2xl:pb-24`,children:[(0,B.jsx)(v,{variant:`cta`,size:`default`,className:`w-48 border border-[hsl(50_70%_55%)] !bg-[hsl(50_75%_68%)] hover:!bg-[hsl(50_75%_63%)]`,asChild:!0,children:(0,B.jsx)(`a`,{href:`#om-oss`,children:i===`sv`?`Läs vÃ¥rt manifest`:`Read our manifesto`})}),(0,B.jsx)(v,{variant:`outline`,size:`default`,className:`border-[hsl(50_70%_55%)] bg-gradient-to-b from-white/90 to-white/70 text-gold w-48 shadow-[0_4px_20px_rgba(255,255,255,0.8)] [text-shadow:_0_0_10px_white,_0_0_20px_white,_0_0_30px_rgba(255,255,255,0.8)] hover:bg-white hover:from-white hover:to-white hover:text-primary hover:shadow-[0_6px_30px_rgba(255,255,255,0.9)] transition-all duration-300`,onClick:()=>
1{if(n.pathname===`/var-med-och-forandra`){let e=document.getElementById(`bli-medlem-knapp`);if(e){let t=e.getBoundingClientRect(),n=t.top+t.height/2-window.innerHeight/2+window.scrollY;window.scrollTo({top:n,behavior:`smooth`})}}else t(`/var-med-och-forandra`)},children:i===`sv`?`Jag är intresserad!`:`I'm interested!`})]})]})})]}),(0,B.jsxs)(`div`,{id:`kandidat-karusell`,className:`scroll-mt-20`,children:[(0,B.jsx)(L,{homepageOnly:!0}),(0,B.jsx)(`div`,{className:`flex justify-center mt-6 mb-4`,children:(()=>{let e=`${typeof window<`u`?window.location.origin:``}/#kandidat-karusell`,t=i===`sv`?`Våra kandidater`:`Our candidates`,n=i===`sv`?`Se våra kandidater hos Partiet för Arkitekturupproret`:`Meet the candidates of The Architectural Uprising Party`,r=encodeURIComponent(e),a=encodeURIComponent(`${n} ${e}`),o=encodeURIComponent(t),s=encodeURIComponent(`${n}\n\n${e}`),c=`flex items-center gap-3 w-full px-3 py-2 rounded-xs text-sm text-foreground hover:bg-primary/10 transition-colors`;return(0,B.jsxs)(Ue,{children:[(0,B.jsx)(Z,{asChild:!0,children:(0,B.jsxs)(v,{variant:`outline`,size:`sm`,className:`border-[hsl(50_70%_55%)] bg-white/80 text-gold hover:bg-white hover:text-primary transition-all`,children:[(0,B.jsx)(we,{className:`mr-2 h-4 w-4`}),i===`sv`?`Dela`:`Share`]})}),(0,B.jsx)(Q,{className:`w-56 p-2 bg-background`,align:`center`,children:(0,B.jsxs)(`div`,{className:`flex flex-col`,children:[(0,B.jsxs)(`a`,{className:c,href:`sms:?&body=${a}`,children:[(0,B.jsx)(Ce,{className:`h-4 w-4`}),`SMS`]}),(0,B.jsxs)(`a`,{className:c,href:`https://wa.me/?text=${a}`,target:`_blank`,rel:`noopener noreferrer`,children:[(0,B.jsx)(Se,{className:`h-4 w-4`}),`WhatsApp`]}),(0,B.jsxs)(`a`,{className:c,href:`mailto:?subject=${o}&body=${s}`,children:[(0,B.jsx)(ne,{className:`h-4 w-4`}),i===`sv`?`E-post`:`Email`]}),(0,B.jsxs)(`a`,{className:c,href:`https://www.facebook.com/sharer/sharer.php?u=${r}`,target:`_blank`,rel:`noopener noreferrer`,children:[(0,B.jsx)(be,{className:`h-4 w-4`}),`Facebook`]}),(0,B.jsxs)(`button`,{type:`button`,className:c,onClick:async()=>{try{await navigator.clipboard.writeText(e),O({title:i===`sv`?`Adress kopierad`:`Address copied`})}catch{O({title:i===`sv`?`Kunde inte kopiera`:`Could not copy`})}},children:[(0,B.jsx)(xe,{className:`h-4 w-4`}),i===`sv`?`Kopiera adress`:`Copy address`]})]})})]})})()})]}),(0,B.jsx)(`div`,{className:`relative z-20 mt-12 lg:mt-16 xl:mt-20 2xl:mt-24 hidden md:flex justify-center animate-fade-in pointer-events-none`,children:(0,B.jsx)(`img`,{src:S,alt:``,className:`w-[280px] lg:w-[340px] xl:w-[360px] 2xl:w-[600px] h-auto opacity-90`})}),(0,B.jsx)(`div`,{className:`flex justify-center mt-16 md:hidden animate-fade-in`,children:(0,B.jsx)(`img`,{src:S,alt:``,className:`w-[360px] h-auto opacity-90`})})]})},$=`/assets/comparison-classical-C-obrI5_.jpg`,Ge=`/assets/comparison-classical-no-couple-C77Eg6X2.jpg`,Ke=`/assets/comparison-modernist-BWcx82eo.jpg`,qe=`/assets/snape-overlay-BkDgKeku.png`,Je=()=>{let{language:e}=k(),[t,n]=(0,z.useState)(!1),r=!!g(`gold_member`),i=(0,z.useRef)(()=>{if(r){try{let e=JSON.parse(g(`gold_member`)||`{}`);if(e.email)return`gold_${e.email.toLowerCase()}`}catch{}return`gold_${crypto.randomUUID()}`}let e=ee(`comparison_visitor_id`);if(e)return e;let t=crypto.randomUUID();return te(`comparison_visitor_id`,t),t}).current(),[a,o]=(0,z.useState)({classicalLikes:0,classicalDislikes:0,modernistLikes:0,modernistDislikes:0}),[s,c]=(0,z.useState)({}),l=(0,z.useRef)({}),[u,d]=(0,z.useState)({}),[f,p]=(0,z.useState)(!1),[m,h]=(0,z.useState)(!1);(0,z.useEffect)(()=>{let e=new Image;e.src=$;let t=new Image;t.src=qe},[]),(0,z.useEffect)(()=>{(async()=>{let e=!!g(`gold_member`),[t,n]=await Promise.all([F.from(`comparison_votes`).select(`vote_type, reaction`),F.from(`comparison_votes`).select(`vote_type, reaction, created_at`).eq(`visitor_id`,i)]);if(t.data&&o({classicalLikes:t.data.filter(e=>e.vote_type===`classical`&&e.reaction===`like`).length,classicalDislikes:t.data.filter(e=>e.vote_type===`classical`&&e.reaction===`dislike`).length,modernistLikes:t.data.filter(e=>e.vote_type===`modernist`&&e.reaction===`like`).length,modernistDislikes:t.data.filter(e=>e.vote_type===`modernist`&&e.reaction===`dislike`).length}),n.data&&n.data.length>0){let t=(Date.now()-n.data.reduce((e,t)=>
1{let n=new Date(t.created_at).getTime();return n>e?n:e},0))/36e5;if(!(!e&&t>=24)){let e={};n.data.forEach(t=>{e[t.vote_type]=t.reaction}),c(e),l.current=e,h(!0)}}p(!0)})()},[]);let _=async(e,t)=>{if(!f)return;if(m&&!r){n(!0);return}let a=l.current,s=a[e],u=e===`classical`?`modernist`:`classical`;if(s===t){let n={...a};delete n[e],l.current=n,c(n),d(t=>{let n={...t};return delete n[e],n});let r=`${e}${t===`like`?`Likes`:`Dislikes`}`;o(e=>({...e,[r]:Math.max(0,e[r]-1)})),F.from(`comparison_votes`).delete().eq(`visitor_id`,i).eq(`vote_type`,e).then();return}if(s){let n=`${e}${s===`like`?`Likes`:`Dislikes`}`,r=`${e}${t===`like`?`Likes`:`Dislikes`}`,u={...a,[e]:t};l.current=u,c(u),d(n=>({...n,[e]:t})),o(e=>({...e,[n]:Math.max(0,e[n]-1),[r]:e[r]+1})),F.from(`comparison_votes`).delete().eq(`visitor_id`,i).eq(`vote_type`,e).then(),F.from(`comparison_votes`).insert({vote_type:e,reaction:t,visitor_id:i}).then();return}let p={...a,[e]:t};if(a[u]===t){delete p[u];let e=`${u}${t===`like`?`Likes`:`Dislikes`}`;o(t=>({...t,[e]:Math.max(0,t[e]-1)})),d(e=>{let t={...e};return delete t[u],t}),F.from(`comparison_votes`).delete().eq(`visitor_id`,i).eq(`vote_type`,u).then()}l.current=p,c(p),d(n=>({...n,[e]:t}));let h=`${e}${t===`like`?`Likes`:`Dislikes`}`;o(e=>({...e,[h]:e[h]+1})),F.from(`comparison_votes`).insert({vote_type:e,reaction:t,visitor_id:i}).then()},y=(t,n,r)=>{let i=e===`sv`,o=t===`classical`,s=o?a.classicalLikes:a.modernistLikes,c=o?a.classicalDislikes:a.modernistDislikes;return n===`like`?o&&c>0?i?`${r} ${r===1?`vanlig person`:`vanliga personer`} har gillat`:`${r} ${r===1?`regular person`:`regular people`} liked this`:!o&&c>0?i?`${r} ${r===1?`arkitekt`:`arkitekter`} har gillat`:`${r} ${r===1?`architect`:`architects`} liked this`:i?`${r} ${r===1?`person`:`personer`} har gillat`:`${r} ${r===1?`person`:`people`} liked this`:o&&r>0?i?`${r} ${r===1?`arkitekt`:`arkitekter`} har ogillat`:`${r} ${r===1?`architect`:`architects`} disliked this`:!o&&s>0&&r>0?i?`${r} ${r===1?`vanlig person`:`vanliga personer`} har ogillat`:`${r} ${r===1?`regular person`:`regular people`} disliked this`:i?`${r} ${r===1?`person`:`personer`} har ogillat`:`${r} ${r===1?`person`:`people`} disliked this`},b=(e,t,n)=>{s[e];let r=s[e]===`like`,i=s[e]===`dislike`,a=t>=n;return(0,B.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,B.jsx)(`button`,{onClick:()=>_(e,`like`),className:`flex items-center gap-1.5 px-3 py-1.5 rounded-full transition-all ${r?`bg-green-600 text-white hover:bg-green-700`:a&&t>0?`bg-green-600/80 text-white hover:bg-green-700`:`bg-white/20 text-white hover:bg-white/30`}`,children:(0,B.jsx)(Ee,{className:`w-4 h-4`})}),(0,B.jsx)(`span`,{className:`text-white/90 text-sm`,children:y(e,`like`,t)})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,B.jsx)(`button`,{onClick:()=>_(e,`dislike`),className:`flex items-center gap-1.5 px-3 py-1.5 rounded-full transition-all ${i?`bg-red-600 text-white hover:bg-red-700`:!a&&n>0?`bg-red-600/80 text-white hover:bg-red-700`:`bg-white/20 text-white hover:bg-white/30`}`,children:(0,B.jsx)(Te,{className:`w-4 h-4`})}),(0,B.jsx)(`span`,{className:`text-white/90 text-sm`,children:y(e,`dislike`,n)})]})]})};return(0,B.jsxs)(`div`,{id:`jamforelse`,className:`mt-16 mb-32 scroll-mt-20`,children:[(0,B.jsx)(`h3`,{className:`font-display text-3xl md:text-4xl lg:text-5xl text-center text-foreground mb-4 tracking-wider normal-case mt-16`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`span`,{className:`md:hidden`,children:[`Vilken värld vill du`,(0,B.jsx)(`br`,{}),`leva i?`]}),(0,B.jsx)(`span`,{className:`hidden md:inline`,children:`Vilken värld vill du leva i?`})]}):`Which world would you live in?`}),(0,B.jsx)(`p`,{className:`text-center text-muted-foreground mb-10 text-base md:text-lg`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`span`,{className:`md:hidden`,children:[`Arkitektur pÃ¥verkar hur vi mÃ¥r,`,(0,B.jsx)(`br`,{}),`varje dag.`]}),(0,B.jsx)(`span`,{className:`hidden md:inline`,children:`Arkitektur pÃ¥verkar hur vi mÃ¥r â varje dag.`})]}):`Architecture affects how we feel â every day.`}),(0,B.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-14 md:gap-10 max-w-5xl mx-auto`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`relative rounded-lg overflow-hidden shadow-lg`,children:[(0,B.jsxs)(`div`,{className:`relative`,children:[(0,B.jsx)(`img`,{src:u.classical===`like`?$:Ge,alt:`Poun
1dbury, Dorset`,className:`w-full aspect-[4/5] object-cover`,loading:`lazy`,width:800,height:1024}),u.classical===`like`&&(0,B.jsx)(`div`,{className:`absolute bottom-[38%] left-[42%] pointer-events-none`,children:(0,B.jsx)(`span`,{className:`text-white font-display text-3xl md:text-4xl tracking-widest drop-shadow-[0_2px_8px_rgba(0,0,0,0.7)] -rotate-6`,children:e===`sv`?`Tack!`:`Thank you!`})})]}),(0,B.jsxs)(`div`,{className:`absolute bottom-0 inset-x-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-6 pt-16`,children:[(0,B.jsx)(`h4`,{className:`text-white font-display text-2xl tracking-wider mb-1 normal-case`,children:`Urbanism`}),(0,B.jsx)(`p`,{className:`text-white/80 text-sm mb-4`,children:e===`sv`?`Mänsklig skala, skönhet och liv pÃ¥ gatorna.`:`Human scale, beauty, and life on the streets.`}),(0,B.jsx)(`div`,{className:`flex items-center gap-3`,children:b(`classical`,a.classicalLikes,a.classicalDislikes)})]})]}),(0,B.jsxs)(`div`,{className:`text-center mt-3`,children:[(0,B.jsx)(`p`,{className:`text-foreground font-semibold text-base`,children:`Poundbury, Dorset`}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-sm italic mt-1`,children:e===`sv`?`Byggt 1993â2025 i klassisk stil`:`Built 1993â2025 in classical style`})]})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`relative rounded-lg overflow-hidden shadow-lg`,children:[(0,B.jsxs)(`div`,{className:`relative`,children:[(0,B.jsx)(`img`,{src:Ke,alt:`Barkarbystaden, Stockholm`,className:`w-full aspect-[4/5] object-cover object-center scale-x-[-1]`,loading:`lazy`,width:800,height:1024}),u.modernist===`like`&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`img`,{src:`/assets/snape-overlay-BkDgKeku.png`,alt:``,className:`absolute bottom-[5%] left-[15%] h-[55%] w-auto pointer-events-none`}),(0,B.jsx)(`div`,{className:`absolute bottom-[35%] right-[10%] pointer-events-none`,children:(0,B.jsx)(`span`,{className:`text-white font-display text-3xl md:text-4xl tracking-widest drop-shadow-[0_2px_8px_rgba(0,0,0,0.7)] rotate-3`,children:e===`sv`?`Tack!`:`Thank you!`})})]})]}),(0,B.jsxs)(`div`,{className:`absolute bottom-0 inset-x-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-6 pt-16`,children:[(0,B.jsx)(`h4`,{className:`text-white font-display text-2xl tracking-wider mb-1 normal-case`,children:`Modernism`}),(0,B.jsx)(`p`,{className:`text-white/80 text-xs sm:text-sm mb-4`,children:e===`sv`?`Mörka fasader, tomma gator och repetitiva lÃ¥dor.`:`Dark facades, empty streets, and repetitive boxes.`}),(0,B.jsx)(`div`,{className:`flex items-center gap-3`,children:b(`modernist`,a.modernistLikes,a.modernistDislikes)})]})]}),(0,B.jsxs)(`div`,{className:`text-center mt-3`,children:[(0,B.jsx)(`p`,{className:`text-foreground font-semibold text-base`,children:`Barkarbystaden, Stockholm`}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-sm italic mt-1`,children:e===`sv`?`Byggt 2015â25 i modern stil`:`Built 2015â25 in modern style`})]})]})]}),(0,B.jsx)(de,{open:t,onOpenChange:n,children:(0,B.jsxs)(se,{className:`gap-3 md:pb-16`,children:[(0,B.jsxs)(T,{className:`pb-0`,children:[(0,B.jsx)(ce,{className:`md:relative md:top-[10px]`,children:e===`sv`?`Du har redan röstat`:`You have already voted`}),(0,B.jsx)(le,{className:`whitespace-pre-line md:relative md:top-3`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`Du ges bara ett tillfälle per person`,(0,B.jsx)(`span`,{className:`hidden md:inline`,children:`/arkitekt`}),` och dag.`,` 2`,`Välkommen Ã¥ter om frÃ¥gan är viktig för dig!`]}):(0,B.jsxs)(B.Fragment,{children:[`You only get one chance per person`,(0,B.jsx)(`span`,{className:`hidden md:inline`,children:`/architect`}),` per day.`,` 3`,`Welcome back if this question matters to you!`]})})]}),(0,B.jsx)(ae,{className:`pt-0 md:absolute md:bottom-6 md:right-6`,children:(0,B.jsx)(v,{onClick:()=>n(!1),children:`OK`})})]})})]})},Ye=()=>{let{language:e}=k(),{cityName:t,residentName:n}=j(),r=b(),[i,a]=(0,z.useState)(new Set),[o,s]=(0,z.useState)(!1);return(0,z.useEffect)(()=>{let e=e=>{e.target.closest(`header`)&&(a(new Set),s(!1))};return document.addEventListener(`click`,e,!0),()=>document.removeEventListener(`click`,e,!0)},[]),(0,B.jsx)(`section`,{id:`om-oss`,className:`py-24 md:py-32 bg-page-bg`,children:(0,B.jsxs)(`div`,{className:`container mx-auto px-4`,children:[(0,B.jsx)(`div`,{className:`max-w-3xl mx-auto text-center mb-6`,children:(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium block`,children:e===`sv`?`Om oss`:`About us`})}),(0,B.jsxs)(`div`,{className:`max-w-3xl mx-auto text-center mb-20 bg-card rounded-xs shadow-card border border-border px-2 py-6 md:p-12`,children:[(0,B.jsx)(`h3`,{className:`font-display text-3xl md:text-4xl text-navy-dark mt-4 mb-6 tracking-[0.15em] font-semibold`,children:e===`sv`?`â Manifest â`:`â Manifesto â`}),(0,B.jsxs)(`div`,{className:`text-muted-foreground text-[0.95rem] md:text-base leading-relaxed space-y-4`,style:{textWrap:`pretty`},children:[(0,B.jsx)(`p`,{children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`God arkitektur är`,` `,(0,B.jsx)(`span`,{className:`underline decoration-[0.5px] underline-offset-[3px]`,children:`resultatet`}),` av ett`,(0,B.jsx)(`br`,{className:`md:hidden`}),` `,(0,B.jsx)(`span`,{className:`whitespace-nowrap`,children:`välfungerande\xA0samhälle.`})]}):(0,B.jsxs)(B.Fragment,{children:[`Good architecture is`,` `,(0,B.jsx)(`span`,{className:`underline decoration-[0.5px] underline-offset-[3px]`,children:`the result`}),` of a`,(0,B.jsx)(`br`,{className:`md:hidden`}),` `,(0,B.jsx)(`span`,{className:`whitespace-nowrap`,children:`well-functioning\xA0society.`})]})}),(0,B.jsx)(`p`,{children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`God arkitektur är`,` `,(0,B.jsx)(`span`,{className:`underline decoration-[0.5px] underline-offset-[3px]`,children:`inte\xA0vad\xA0som\xA0skapar`}),` `,`ett`,(0,B.jsx)(`br`,{className:`md:hidden`}),` `,(0,B.jsx)(`span`,{className:`whitespace-nowrap`,children:`välfungerande\xA0samhälle.`})]}):(0,B.jsxs)(B.Fragment,{children:[`Good architecture is`,` `,(0,B.jsx)(`span`,{className:`underline decoration-[0.5px] underline-offset-[3px]`,children:`not what creates`}),` a`,(0,B.jsx)(`br`,{className:`md:hidden`}),` `,(0,B.jsx)(`span`,{className:`whitespace-nowrap`,children:`well-functioning\xA0society.`})]})}),(0,B.jsx)(`p`,{className:`text-lg md:text-xl text-foreground`,children:e===`sv`?`VÃ¥rt mÃ¥l är god arkitektur.`:`Our goal is good architecture.`}),(0,B.jsx)(`p`,{children:e===`sv`?`Därför vill vi lägga grunden för ett välfungerande samhälle.`:`Therefore we want to lay a well-functioning foundation for it.`}),o?(0,B.jsxs)(`div`,{className:`pt-4`,children:[(0,B.jsx)(`h4`,{className:`font-script text-3xl md:text-4xl text-navy-dark mb-2 normal-case font-semibold`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`span`,{className:`text-4xl md:text-5xl tracking-[-0.05em]`,children:`1`}),`:a tillägget`]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`span`,{className:`text-4xl md:text-5xl tracking-[-0.05em]`,children:`1`}),`st amendment`]})}),(0,B.jsx)(`p`,{className:`text-[0.85rem] md:text-[0.9rem]`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`För övrigt`,(0,B.jsx)(`br`,{}),`bortser vi frÃ¥n följande,`,(0,B.jsx)(`br`,{}),`huruvida du är ung eller gammal,`,(0,B.jsx)(`br`,{}),`kvinna eller man, rik eller fattig,`,(0,B.jsx)(`br`,{}),`din etnicitet, samhälleliga ställning`,(0,B.jsx)(`br`,{}),`och dylika anseende,`,(0,B.jsx)(`br`,{}),`dÃ¥ det enda som är viktigt för oss`,(0,B.jsx)(`br`,{}),`avseende ditt bidrag till samhället,`,(0,B.jsx)(`br`,{}),`är att du är en hederlig människa`,(0,B.jsx)(`br`,{}),`och att du accepterar`,(0,B.jsx)(`br`,{}),`Friheten framför tryggheten`,(0,B.jsx)(`br`,{}),`som den drivande kraften bakom`,(0,B.jsx)(`br`,{}),`ett bättre samhälle`,(0,B.jsx)(`br`,{}),`för alla.`]}):(0,B.jsxs)(B.Fragment,{children:[`... Furthermore, it doesn't matter to us whether you are young or old, woman or man, rich or poor, or whether your skin is light or dark â the only thing the Architectural Uprising Party cares about is that you are an`,` `,(0,B.jsx)(`span`,{className:`underline decoration-[0.5px] underline-offset-[3px]`,children:`honest person`}),` and that you accept Freedom over security as the driving force behind a better society for everyone.`]})}),(0,B.jsx)(`button`,{onClick:()=>s(!1),className:`text-gold-onLight hover:text-gold-onLight/80 transition-colors mt-4 mb-6 inline-flex items-center gap-1 cursor-pointer`,children:(0,B.jsx)(R,{className:`w-5 h-5`})})]}):(0,B.jsx)(`div`,{className:`pt-4 pb-8`,children:(0,B.jsx)(`button`,{onClick:()=>s(!0),className:`text-gold-onLight hover:text-gold-onLight/80 transition-colors font-medium inline-block cursor-pointer text-sm`,children:e===`sv`?`Läs vÃ¥ra tillägg...`:`Read our amendments...`})})]})]}),(0,B.jsx)(`div`,{id:`partiblomman`,className:`flex flex-col items-center mt-0 mb-32`,children:(0,B.jsxs)(M,{to:`/partiblomman`,className:`group flex flex-col items-center text-gold-onLight hover:text-gold-onLight/80 transition-colors`,children:[(0,B.jsx)(`img`,{src:I,alt:`Partiblomman`,className:`h-32 md:h-40 w-auto mb-4 group-hover:scale-105 transition-transform duration-300`}),(0,B.jsx)(`span`,{className:`text-sm font-medium tracking-wide text-center`,children:e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`Läs om vÃ¥r`,(0,B.jsx)(`br`,{}),(0,B.jsxs)(`span`,{className:`relative`,children:[`partiblomma`,(0,B.jsx)(`span`,{className:`absolute -right-4`,children:`...`})]})]}):(0,B.jsxs)(B.Fragment,{children:[`Read about our`,(0,B.jsx)(`br`,{}),(0,B.jsxs)(`span`,{className:`relative`,children:[`party flower`,(0,B.jsx)(`span`,{className:`absolute -right-4`,children:`...`})]})]})})]})}),(0,B.jsx)(Je,{}),(0,B.jsxs)(`div`,{id:`ideologi`,className:`max-w-3xl mx-auto text-center mb-10 scroll-mt-20`,children:[(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium mb-4 block`,children:e===`sv`?`Ideologi`:`Ideology`}),(0,B.jsx)(`h3`,{className:`font-display text-2xl md:text-3xl text-navy-dark mt-0 mb-0 tracking-[0.15em] font-semibold`,children:e===`sv`?`â VÃ¥ra tre pelare â`:`â Our three pillars â`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-3 gap-8 max-w-5xl mx-auto`,children:(e===`sv`?[{icon:w,title:`Demokrati`,description:`Vi tror pÃ¥ att lyssna till vad folket vill, inte\xA0genom\xA0symbolpolitisk\xA0"medborgardialog", utan med hjälp av konkreta och digitala folkomröstningar i\xA0arkitekttävlingar.`,descriptionDesktop:`Vi tror pÃ¥ att lyssna till vad folket vill, inte genom symbolpolitisk "medborgardialog", utan med hjälp av konkreta och digitala folkomröstningar i arkitekttävlingar.`,linkTo:`/weinmar-modellen`,linkLabel:`Weinmar-modellen`},{icon:x,title:`Hälsa`,description:`Vi tror pÃ¥ en ny byggnadskultur vars resultat talar till människans själ, för nya hÃ¥llbara stadsmiljöer i mänsklig skala som inspirerar, istället för att alienera.`,descriptionDesktop:`Vi tror pÃ¥ en ny byggnadskultur vars resultat talar till människans själ, för nya hÃ¥llbara stadsmiljöer i mänsklig skala som inspirerar, istället för att alienera.`,linkTo:`/#jamforelse`,linkLabel:`Poundbury`},{icon:C,title:`VälstÃ¥nd`,description:`Vi tror pÃ¥ färre restriktioner och en fri marknad, där arkitekter hyser omsorg för brukaren och byggherrarna har incitament för\xA0att\xA0göra\xA0världen\xA0bättre.`,descriptionDesktop:`Vi tror pÃ¥ färre restriktioner och en fri marknad, där arkitekter hyser omsorg för brukaren och byggherrarna har incitament för att göra världen bättre.`,linkTo:`/partiprogram/statens-drift-och-finansiering`,linkLabel:`Statens drift och finansiering`}]:[{icon:w,title:`Democracy`,description:`We believe in listening to what the people want, not through symbolic "citizen dialogues", but through digital referendums in e.g. competitions.`,descriptionDesktop:`We believe in listening to what the people want, not through symbolic "citizen dialogues", but through digital referendums in e.g. competitions.`,linkTo:`/weinmar-modellen`,linkLabel:`The Weinmar Model`},{icon:x,title:`Health`,description:`We believe in a new building culture whose results speak to the human soul, for new urban environments at a human scale that inspire rather than alienate.`,descriptionDesktop:`We believe in a new building culture whose results speak to the human soul, for new urban environments at a human scale that inspire rather than alienate.`,linkTo:`/#jamforelse`,linkLabel:`Poundbury`},{icon:C,title:`Prosperity`,description:`We believe in fewer restrictions and a free market, where architects care for the user and developers have incentives to make the world better.`,descriptionDesktop:`We believe in fewer restrictions and a free market, where architects care for the user and developers have incentives to make the world better.`,linkTo:`/partiprogram/statens-drift-och-finansiering`,linkLabel:`Government Operations`}]).map((t,n)=>{let o=i.has(n);return(0,B.jsxs)(`div`,{className:`group text-center bg-card rounded-xs shadow-card hover:shadow-hover transition-all duration-300 overflow-hidden`,style:{animationDelay:`${n*.1}s`},children:[(0,B.jsx)(`div`,{className:`relative flex items-center justify-center mx-auto transition-all duration-500 ${r&&!o?`h-10 mt-4 mb-0 overflow-hidden`:`h-16 w-16 mt-4 mb-4 bg-secondary rounded-full group-hover:bg-accent/10`}`,children:(0,B.jsx)(`div`,{className:`flex items-center justify-center transition-all duration-500 ${r&&!o?`w-16 h-16 bg-secondary rounded-full absolute top-0`:`w-full h-full`}`,children:(0,B.jsx)(t.icon,{className:`w-7 h-7 text-gold-onLight`})})}),r&&(0,B.jsx)(`div`,{className:`h-px bg-border mx-4 mt-0 mb-2`}),(0,B.jsxs)(`div`,{className:`p-4 pt-0`,children:[(0,B.jsx)(`h3`,{className:`font-display text-foreground tracking-wide whitespace-nowrap text-2xl md:text-3xl ${r&&!o?`mb-0`:`mb-2`}`,children:t.title}),r&&!o?(0,B.jsx)(`button`,{onClick:()=>a(e=>new Set(e).add(n)),className:`text-gold-onLight text-sm font-medium hover:text-gold-onLight/80 transition-colors mt-1`,children:e===`sv`?`Läs mer`:`Read more`}):(0,B.jsxs)(B.Fragment,{children:[r&&(0,B.jsx)(`div`,{className:`h-px bg-border mx-4 mb-3`}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-sm leading-relaxed whitespace-pre-line md:hidden`,children:t.description}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-sm leading-relaxed whitespace-pre-line hidden md:block`,children:t.descriptionDesktop}),t.linkTo&&(0,B.jsx)(M,{to:t.linkTo,className:`block text-center text-gold-onLight text-sm font-medium hover:text-gold-onLight/80 transition-colors mt-2`,children:e===`sv`?`Läs mer`:`Read more`}),r&&(0,B.jsx)(`button`,{onClick:()=>a(e=>{let t=new Set(e);return t.delete(n),t}),className:`text-gold-onLight hover:text-gold-onLight/80 transition-colors mt-2 inline-flex items-center gap-1 cursor-pointer`,children:(0,B.jsx)(R,{className:`w-4 h-4`})})]})]})]},t.title)})}),(0,B.jsx)(`div`,{className:`flex justify-center mt-10 mb-20`,children:(0,B.jsxs)(M,{to:`/partiprogram`,className:`inline-flex items-center gap-2 text-gold-onLight text-sm font-medium hover:text-gold-onLight/80 transition-colors`,children:[e===`sv`?`Se hela vÃ¥rt partiprogram`:`See our full party program`,(0,B.jsx)(y,{className:`w-4 h-4`})]})}),(0,B.jsxs)(`div`,{className:`max-w-4xl mx-auto mt-8`,children:[(0,B.jsxs)(`blockquote`,{className:`relative mb-8 text-left`,children:[(0,B.jsxs)(`p`,{className:`font-display text-xl md:text-2xl lg:text-3xl text-foreground italic leading-relaxed tracking-wide`,children:[(0,B.jsx)(`span`,{className:`font-serif text-gold-onLight text-3xl md:text-4xl lg:text-5xl leading-none inline-block rotate-180 relative top-1 md:top-2 mr-1 md:mr-2`,children:`â`}),e===`sv`?`Arkitektur är frusen musik...`:`Architecture is frozen music...`,(0,B.jsx)(`span`,{className:`font-serif text-gold-onLight text-3xl md:text-4xl lg:text-5xl leading-none inline-block relative top-1 md:top-2 ml-1 md:ml-2`,children:`â`})]}),(0,B.jsxs)(`footer`,{className:`mt-3 text-muted-foreground text-xs md:text-sm`,children:[(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:`Johann Wolfgang von Goethe`}),(0,B.jsx)(`br`,{}),(0,B.jsx)(`span`,{children:e===`sv`?`Tysk författare och statsman`:`German author and statesman`})]})]}),(0,B.jsxs)(`blockquote`,{clas
3sName:`relative text-right`,children:[(0,B.jsxs)(`p`,{className:`font-display text-2xl md:text-3xl lg:text-4xl text-foreground italic leading-relaxed tracking-wide`,children:[(0,B.jsx)(`span`,{className:`font-serif text-gold-onLight text-4xl md:text-5xl lg:text-6xl leading-none inline-block rotate-180 relative top-1 md:top-2 mr-1 md:mr-2`,children:`â`}),e===`sv`?(0,B.jsxs)(B.Fragment,{children:[`... och vi har fullständigt`,(0,B.jsx)(`br`,{className:`md:hidden`}),` tappat takten!`]}):(0,B.jsxs)(B.Fragment,{children:[`... and we have completely`,(0,B.jsx)(`br`,{className:`md:hidden`}),` lost the beat!`]}),(0,B.jsx)(`span`,{className:`font-serif text-gold-onLight text-4xl md:text-5xl lg:text-6xl leading-none inline-block relative top-1 md:top-2 ml-1 md:ml-2`,children:`â`})]}),(0,B.jsxs)(`footer`,{className:`mt-3 text-muted-foreground text-xs md:text-sm`,children:[(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:`Léon Krier`}),(0,B.jsx)(`br`,{}),(0,B.jsx)(`span`,{children:e===`sv`?(0,B.jsx)(B.Fragment,{children:`Urbanist frÃ¥n Luxemburg`}):(0,B.jsxs)(B.Fragment,{children:[`Urbanist`,(0,B.jsx)(`br`,{className:`md:hidden`}),` from Luxembourg`]})})]})]}),(0,B.jsx)(`div`,{className:`mb-2`})]})]})})},Xe=()=>{let{t:e,language:t}=k(),n=b(),[r,i]=(0,z.useState)(new Set),a=[{number:`01`,title:e(`policy.01.title`),description:e(`policy.01.desc`),linkTo:`/partiprogram/bostader-och-samhallsplanering`},{number:`02`,title:e(`policy.02.title`),description:e(`policy.02.desc`),linkTo:`/skonhetspolicy`},{number:`03`,title:e(`policy.03.title`),description:e(`policy.03.desc`),linkTo:`/weinmar-modellen`},{number:`04`,title:e(`policy.04.title`),description:e(`policy.04.desc`),linkTo:`/partiprogram/utbildning`},{number:`05`,title:e(`policy.05.title`),description:e(`policy.05.desc`),linkTo:`/hoghuspolicy`},{number:`06`,title:e(`policy.06.title`),description:e(`policy.06.desc`),linkTo:`/partiprogram/miljo-och-klimat`}];return(0,B.jsx)(`section`,{id:`politik`,className:`py-8 md:py-16 bg-secondary scroll-mt-20`,children:(0,B.jsxs)(`div`,{className:`container mx-auto px-4`,children:[(0,B.jsxs)(`div`,{className:`max-w-3xl mx-auto text-center mb-10`,children:[(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium mb-3 block`,children:e(`policy.label`)}),(0,B.jsx)(`h2`,{className:`font-display text-3xl md:text-4xl lg:text-5xl text-foreground mb-4 tracking-wider`,children:e(`policy.title`)}),(0,B.jsx)(`div`,{className:`ornament w-24 mx-auto mb-6`}),!n&&(0,B.jsxs)(`p`,{className:`text-muted-foreground text-lg leading-relaxed`,children:[e(`policy.description`),` `,t===`sv`?(0,B.jsxs)(B.Fragment,{children:[`Läs hela vÃ¥rt `,(0,B.jsx)(M,{to:`/partiprogram`,className:`text-gold-onLight hover:text-gold-onLight/80 transition-colors font-medium`,children:`partiprogram`}),`.`]}):(0,B.jsxs)(B.Fragment,{children:[`Read our full `,(0,B.jsx)(M,{to:`/partiprogram`,className:`text-gold-onLight hover:text-gold-onLight/80 transition-colors font-medium`,children:`party program`}),`.`]})]})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto`,children:a.map(a=>(0,B.jsxs)(`article`,{className:`group bg-card rounded-xs shadow-card hover:shadow-hover transition-all duration-300 cursor-pointer border border-transparent hover:border-gold-onLight/20 overflow-hidden`,children:[(0,B.jsx)(`div`,{className:`px-8 pt-6 mb-2`,children:(0,B.jsx)(`span`,{className:`text-gold-onLight font-display text-3xl font-light block`,children:a.number})}),n&&(0,B.jsx)(`div`,{className:`border-t border-border mx-4 transition-all duration-500`}),(0,B.jsxs)(`div`,{className:`${n?`px-8 pb-6 pt-2`:`px-8 pb-8`}`,children:[(0,B.jsx)(`h3`,{className:`font-display text-xl text-foreground group-hover:text-gold-onLight transition-colors duration-200 tracking-wide ${n&&!r.has(a.number)?`mb-0`:`mb-3`}`,children:a.title}),n&&!r.has(a.number)?(0,B.jsx)(`button`,{onClick:()=>i(e=>new Set(e).add(a.number)),className:`text-gold-onLight text-sm font-medium hover:text-gold-onLight/80 transition-colors mt-1`,children:t===`sv`?`Läs mer`:`Read more`}):(0,B.jsxs)(B.Fragment,{children:[n&&(0,B.jsx)(`div`,{className:`border-t border-border mb-3 -mx-4`}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-sm leading-relaxed mb-4 whitespace-pre-line`,children:a.description}),(0,B.jsxs)(M,{to:a.linkTo,className:`inline-flex items-center text-gold-onLight text-sm font-medium md:opacity-0 md:group-hover:opacity-100 transition-opacity duration-200 hover:text-gold-onLight/80`,children:[e(`policy.readmore`),` `,(0,B.jsx)(y,{className:`w-4 h-4 ml-1`})]})]})]})]},a.number))})]})})},Ze=()=>{let{t:e,language:t}=k(),{cityName:n,residentName:r}=j(),i=b(),[a,o]=(0,z.useState)(!1),s=r(t);return(0,B.jsx)(`section`,{id:`vision`,className:`py-24 md:py-32 bg-primary text-foreground overflow-hidden`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-2 gap-12 lg:gap-20 items-center`,children:[(0,B.jsxs)(`div`,{className:`max-w-xl`,children:[(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium mb-4 block`,children:e(`vision.label`)}),(0,B.jsxs)(`h2`,{className:`font-display text-[1.65rem] md:text-4xl lg:text-5xl mb-8 leading-tight tracking-wider`,children:[e(`vision.title1`).replace(`{city}`,n),` `,(0,B.jsx)(`span`,{className:`text-accent whitespace-nowrap`,children:e(`vision.title2`)}),` `,(0,B.jsx)(`span`,{className:`whitespace-nowrap`,children:e(`vision.title3`).replace(`{residents}`,s)})]}),i&&!a?(0,B.jsxs)(`div`,{className:`text-muted-foreground mt-4`,children:[(0,B.jsx)(`p`,{className:`text-lg leading-relaxed`,children:t===`sv`?`Vi drömmer om...`:`We dream of...`}),(0,B.jsx)(`button`,{onClick:()=>o(!0),className:`text-gold-onLight text-lg leading-relaxed font-bold hover:text-gold-onLight/80 transition-colors`,children:t===`sv`?`Läs mer`:`Read more`})]}):(0,B.jsxs)(`div`,{className:`space-y-6 text-muted-foreground`,children:[(0,B.jsx)(`p`,{className:`text-lg leading-relaxed`,children:e(`vision.p1`).replace(`{city}`,n)}),e(`vision.p2`)&&(0,B.jsx)(`p`,{className:`text-lg leading-relaxed`,children:e(`vision.p2`)})]})]}),(0,B.jsx)(`div`,{className:`aspect-[4/5] rounded-xs overflow-hidden bg-foreground
3/5 border border-foreground/10`,children:(0,B.jsx)(`img`,{src:ie,alt:`Jonisk kolonn med entablatur - klassisk arkitektur efter Vignola`,className:`w-full h-full object-cover brightness-110 -scale-x-100`})})]})})})},Qe=()=>{let[e,t]=(0,z.useState)(!1),[n,r]=(0,z.useState)(!1),i=N(),a=b();(0,z.useEffect)(()=>{i.hash===`#medlemsformular`&&t(!0)},[i.hash]);let{t:o,language:s}=k(),c=s===`sv`?[`Rösträtt på årsmöten`,`Tillgång till vårt nyhetsblad`,`Inbjudan till exklusiva evenemang`,`Utökat nätverk av arkitekturvänner`,`Möjlighet att engagera dig lokalt`]:[`Voting rights at annual meetings`,`Access to our newsletter`,`Invitation to exclusive events`,`Part of our network of architecture enthusiasts`,`Opportunity to get involved locally`],l=s===`sv`?[{amount:`100`,label:`Medlem`,sublabel:`(100 kr/år)`,path:`/donera-100`},{amount:`500`,label:`Guldmedlem`,sublabel:`(200 kr/år)`,path:`/donera-500`},{amount:`1 000`,label:`Mecenat`,sublabel:`(alt. valfritt`,sublabel2:`belopp)`,path:`/donera-1000`}]:[{amount:`100`,label:`Member`,sublabel:`(100 kr/yr)`,path:`/donera-100`},{amount:`500`,label:`Gold member`,sublabel:`(200 kr/yr)`,path:`/donera-500`},{amount:`1 000`,label:`Benefactor`,sublabel:`(... or any`,sublabel2:`amount)`,path:`/donera-1000`}];return(0,B.jsx)(`section`,{id:`bli-medlem`,className:`py-24 md:py-32 bg-page-bg`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`grid gap-12 lg:gap-20 max-w-3xl mx-auto`,children:[(0,B.jsxs)(`div`,{className:`bg-card p-8 md:p-12 rounded-xs shadow-elegant border border-border`,children:[(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium mb-4 block`,children:o(`membership.title`)}),(0,B.jsx)(`h2`,{className:`font-display text-3xl md:text-4xl text-foreground mb-6 tracking-wider`,children:s===`sv`?`Bli medlem`:`Become a member`}),a&&!n?(0,B.jsxs)(`div`,{className:`text-muted-foreground mt-4`,children:[(0,B.jsx)(`p`,{className:`text-lg leading-relaxed`,children:s===`sv`?`Som medlem...`:`As a member...`}),(0,B.jsx)(`button`,{onClick:()=>r(!0),className:`text-gold-onLight text-lg leading-relaxed font-bold hover:text-gold-onLight/80 transition-colors`,children:s===`sv`?`Läs mer`:`Read more`})]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`p`,{className:`text-muted-foreground text-lg mb-8 leading-relaxed`,children:s===`sv`?`Som medlem i Partiet Arkitekturupproret blir du en del av en växande rörelse för vackrare städer och en mer mänsklig arkitektur.`:`As a member of the Architecture Uprising Party, you become part of a growing movement for more beautiful cities and more humane architecture.`}),(0,B.jsx)(`ul`,{className:`space-y-4 mb-8`,children:c.map(e=>(0,B.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(m,{className:`w-5 h-5 text-gold-onLight flex-shrink-0 mt-0.5`}),(0,B.jsx)(`span`,{className:`text-foreground`,children:e})]},e))})]}),(0,B.jsx)(`div`,{id:`bli-medlem-knapp`,className:`pt-6 border-t border-border`,children:(0,B.jsx)(v,{variant:`elegant`,size:`lg`,className:`w-full`,onClick:()=>t(!0),children:o(`membership.submit`)})})]}),(0,B.jsx)(_e,{open:e,onOpenChange:t}),(0,B.jsxs)(`div`,{id:`donera`,className:`bg-secondary p-8 md:p-12 rounded-xs`,children:[(0,B.jsx)(`span`,{className:`text-gold-onLight text-sm tracking-[0.2em] uppercase font-medium mb-4 block`,children:o(`nav.support`)}),(0,B.jsx)(`h2`,{className:`font-display text-3xl md:text-4xl text-foreground mb-6 tracking-wider`,children:s===`sv`?`Ge en gåva`:`Make a donation`}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-lg mb-8 leading-relaxed`,children:s===`sv`?`Din donation gör det möjligt för oss att sprida kunskap, organisera evenemang och driva vår politik för en vackrare framtid.`:`Your donation enables us to spread knowledge, organize events, and advocate for a more beautiful future.`}),(0,B.jsxs)(`div`,{className:`grid grid-cols-2 auto-rows-fr gap-4 mb-8`,children:[l.map(e=>(0,B.jsxs)(M,{to:e.path,className:`p-4 bg-card rounded-xs border border-border hover:border-gold-onLight transition-colors duration-200 text-left group`,children:[(0,B.jsxs)(`span`,{className:`font-display text-2xl text-foreground block group-hover:text-gold-onLight transition-colors`,children:[e.amount,` kr`]}),(0,B.jsx)(`span`,{className:`text-sm text-muted-foreground block`,children:e.label}),(0,B.jsxs)(`span`,{className:`text-sm text-muted-foreground block`,children:[e.sublabel,e.sublabel2&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(`br`,{}),e.sublabel2]})]})]},e.amount)),(0,B.jsxs)(M,{to:`/donera-forbind`,className:`p-4 bg-card rounded-xs border border-border hover:border-gold-onLight transition-colors duration-200 text-left group`,children:[(0,B.jsx)(`span`,{className:`font-display text-2xl text-foreground block group-hover:text-gold-onLight transition-colors`,children:s===`sv`?a?`Löfte`:`Förbindelse`:`Pledge`}),(0,B.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:s===`sv`?`Valfritt belopp förutsatt...`:`Any amount provided that...`})]})]}),(0,B.jsx)(`div`,{id:`donera-knapp`,children:(0,B.jsx)(v,{variant:`cta`,size:`lg`,className:`w-full`,asChild:!0,children:(0,B.jsx)(M,{to:`/donera`,children:(0,B.jsx)(`span`,{className:`font-bold`,children:s===`sv`?`Donera nu`:`Donate now`})})})}),(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground mt-6 text-center`,children:s===`sv`?(0,B.jsxs)(B.Fragment,{children:[`Alla donationer är skatteavdragsgilla.`,(0,B.jsx)(`br`,{}),`Tack för ditt stöd!`]}):(0,B.jsxs)(B.Fragment,{children:[`All donations are tax-deductible.`,(0,B.jsx)(`br`,{}
3),`Thank you for your support!`]})})]})]})})})},$e=({scrollTo:e})=>{let t=N(),n=he(),{language:r}=k(),[i,a]=(0,z.useState)(!1),[o,s]=(0,z.useState)(!0),{hasSelected:c}=j(),[l,u]=(0,z.useState)(!1);(0,z.useEffect)(()=>{try{localStorage.getItem(`municipalityChosen`)!==`true`&&u(!0)}catch{u(!0)}},[]);let d=n===`POP`;return ye(`index`),ve(e||t.hash?`__skip__`:`index`),(0,z.useEffect)(()=>{let e=e=>{e.target.closest(`a, button, [role="button"], [role="link"]`)&&a(!1)};return document.addEventListener(`click`,e,!0),()=>document.removeEventListener(`click`,e,!0)},[]),(0,z.useEffect)(()=>{if(e&&!d){let t=document.getElementById(e);if(t){let e=()=>{let e=t.getBoundingClientRect(),n=e.top+e.height/2-window.innerHeight/2+window.scrollY;window.scrollTo({top:n,behavior:`smooth`})};setTimeout(e,150),setTimeout(e,500)}}},[e,d]),(0,z.useLayoutEffect)(()=>{let e=(typeof performance<`u`?performance.getEntriesByType(`navigation`)[0]:void 0)?.type===`reload`;if(t.hash===`#kandidat-karusell`&&!e){let e=[];window.scrollTo({top:window.innerHeight-180,behavior:`instant`});let t=(n=0)=>{let r=document.getElementById(`kandidat-karusell`);if(r){let i=r.getBoundingClientRect().top+window.scrollY-180;window.scrollTo({top:Math.max(0,i),behavior:`instant`}),n<12&&e.push(setTimeout(()=>t(n+1),n<4?50:200));return}if(n<20){e.push(setTimeout(()=>t(n+1),50));return}};return t(),()=>{e.forEach(clearTimeout)}}},[t.hash,d]),(0,z.useEffect)(()=>{if(t.hash&&t.hash!==`#kandidat-karusell`&&!d){let e=t.hash===`#om-oss`||t.hash===`#politik`||t.hash===`#jamforelse`?`start`:`center`,n=(r=0)=>{let i=document.querySelector(t.hash);i?i.scrollIntoView({behavior:`smooth`,block:e}):r<20&&setTimeout(()=>n(r+1),100)};setTimeout(()=>n(),100)}},[t,d]),(0,z.useEffect)(()=>{let e=setTimeout(()=>{a(!0)},6e3),t=setTimeout(()=>{a(!1),s(!1)},12e3),n,r=setTimeout(()=>{n=setInterval(()=>{a(e=>!e)},6e3)},12e3);return()=>{clearTimeout(e),clearTimeout(t),clearTimeout(r),n&&clearInterval(n)}},[]),(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[l&&(0,B.jsx)(h,{onSelect:()=>{localStorage.setItem(`municipalityChosen`,`true`),u(!1)}}),(0,B.jsx)(_,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(`div`,{className:`relative`,children:(0,B.jsx)(We,{showFirstSupporterLink:i&&o})}),(0,B.jsx)(Ye,{}),(0,B.jsx)(Xe,{}),(0,B.jsx)(Ze,{}),(0,B.jsx)(Qe,{})]}),(0,B.jsx)(re,{})]})};export{$e as t};
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.