PageSourceSearch

https://thinggaard.dk/assets/index-D3LoDrmk.js

js thinggaard.dk collected 2026-10-04 14:37:30 UTC 12,575 bytes, 1 lines download raw bytes

1import{x as f,ap as A,dc as v,j as e,B as g,_ as u,A as w,aq as b,M as H,av as F,S as N,cD as _,l as z,bc as S,dd as R,aS as $,as as V,bT as B,h as D,dx as I,i as M,P as y,aR as Q,be as E,bd as O}from"./index-C2KlasXz.js";import{u as K}from"./useSuspenseQuery-ClZze5o7.js";import{H as U}from"./HeroWithSearch-4QqUCDRf.js";import{C as q}from"./CmsRichContent-DXXnxUMj.js";import{B as J}from"./JsonLd-oPZG_Lc4.js";import{s as W,e as Y,a as G,f as X,I as Z,F as ee,c as re,d as se}from"./seoContent-BiIBgvor.js";import{h as te}from"./sommer-saalbach-BYFynxG4.js";import{T as ie}from"./ThinggaardHome-IdWPRNwi.js";import{a as ne}from"./PromotionBanner-DauXo3zu.js";import{f as ae}from"./format-CcuQNiUV.js";import"./popover-BqHJ35iX.js";import"./Combination-CeEgcgKC.js";import"./index-DKDLRde6.js";import"./calendar-CvFob9Fg.js";import"./sv-Ck_oPXh3.js";import"./addDays-DNFCnsBi.js";import"./differenceInCalendarDays-Bdj24hXD.js";import"./startOfMonth-CIr-jQJN.js";import"./differenceInCalendarMonths-DJ3pnmAM.js";import"./endOfMonth-v-IWtdIM.js";import"./isBefore-DTHIM6ZK.js";import"./getDaysInMonth-BYr9pxoR.js";import"./chevron-left-CJsgApjC.js";import"./select-CPzs3Wea.js";import"./index-CPuoDE1N.js";import"./index-C9knx1gI.js";import"./check-DfJlNiyZ.js";import"./chevron-up-DJNnrg5Y.js";import"./checkinMatrix-BpITQYPk.js";import"./input-B9Pgl5GR.js";import"./transportLinks-CtpBjL7x.js";import"./airportCountryMatch-CCw6Qfag.js";import"./brandTransport-CS1j5n-k.js";import"./ThinggaardWinterSearch-B3P8iskd.js";import"./index-ar34ZFVp.js";import"./busTravelDates-eJlnbRUx.js";import"./uiEvents-TPCcUV_Y.js";import"./parseISO-BCQeBgxI.js";import"./da-B7XcGeSU.js";import"./map-pin-DkGDUWhX.js";import"./plane-C-OqHIBv.js";import"./clock-Bp4jq3hu.js";import"./calendar-CVNBS7Nj.js";import"./users-Cg6aKTzm.js";import"./minus-DwgnLCls.js";import"./plus-DAjNhTsx.js";import"./trash-2-kQS2SJxV.js";import"./label-BVFt2x2p.js";import"./separator-Bl4Zl3xT.js";import"./car-Boi02PEg.js";import"./TrustBox-DSkibjoY.js";import"./globe-CpnVqsEB.js";import"./EditableContent-BupauXGv.js";import"./useServerFn-Cw002wbj.js";import"./auth-middleware-D_8ambqu.js";import"./mediaLibrary.functions-DK8oC5Ge.js";import"./RichTextEditor-D49IvDAw.js";import"./dialog-C69FC96d.js";import"./pen-line-BhpcRnkP.js";import"./usePublishedInlineContent-C_AB3rN7.js";import"./bus-DvTjbbxr.js";const oe={da:{eyebrow:"Personlig rådgivning",h2:"Skal vi arrangere din næste skiferie?",p1:"Vi har arrangeret skirejser siden 1993 og har et stort kendskab til Østrig. Lige nu hjælper vi en masse glade gæster med at planlægge årets højdepunkt, nemlig skiferien.",p2:"Kan vi også hjælpe dig, så ring eller skriv endelig til os, hvis du har brug for inspiration eller hjælp til at booke årets skirejse.",seeAll:"Se alle rejsemål",call:"Ring",usps:[{title:"Østrig-eksperter",desc:"Stort kendskab til Østrigs bedste skiområder siden 1993"},{title:"Personlig service",desc:"Vi hjælper dig med at finde den helt rigtige skiferie"},{title:"Håndplukkede hoteller",desc:"Vi kender vores hoteller og vælger kun de bedste"},{title:"Tryghed hele vejen",desc:"Rejsegarantifonden og personlig kundeservice hele vejen"}],offerEyebrow:"Uforpligtende tilbud",offerH2:"Modtag et tilbud på din skiferie",offerP:"Lad os hjælpe dig med at finde den helt rigtige skiferie til Østrig. Vi sender dig et uforpligtende tilbud inden for 24 timer.",offerCta:"Få et tilbud"},sv:{eyebrow:"Personlig rådgivning",h2:"Ska vi arrangera din nästa skidsemester?",p1:"Vi har arrangerat skidresor sedan 1993 och har stor kännedom om Österrike. Just nu hjälper vi många nöjda gäster att planera årets höjdpunkt – skidsemestern.",p2:"Kan vi hjälpa dig också? Ring eller skriv gärna till oss om du behöver inspiration eller hjälp att boka årets skidresa.",seeAll:"Se alla resmål",call:"Ring",usps:[{title:"Österrike-experter",desc:"Stor kännedom om Österrikes bästa skidområden sedan 1993"},{title:"Personlig service",desc:"Vi hjälper dig att hitta precis rätt skidsemester"},{title:"Handplockade hotell",desc:"Vi känner våra hotell och väljer bara de bästa"},{title:"Trygghet hela vägen",desc:"Rejsegarantifonden och personlig kundservice hela vägen"}],offerEyebrow:"Kostnadsfritt förslag",offerH2:"Få ett förslag på din 
1skidsemester",offerP:"Låt oss hjälpa dig att hitta precis rätt skidsemester i Österrike. Du får ett kostnadsfritt förslag inom 24 timmar.",offerCta:"Få ett förslag"}},le=[H,F,N,_],de=({hideCmsText:i=!1})=>{const n=f(),t=oe[n.language==="sv"?"sv":"da"],r=A(n),m=v(n.language).winter;return e.jsxs(e.Fragment,{children:[!i&&e.jsx("section",{className:"py-20 md:py-28 bg-[image:var(--gradient-brand-soft)] [content-visibility:auto] [contain-intrinsic-size:1px_520px]",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("span",{className:"eyebrow",children:t.eyebrow}),e.jsx("h2",{className:"font-display text-3xl md:text-[2.5rem] leading-[1.1] font-extrabold text-foreground mt-3 mb-6",children:t.h2}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-4",children:t.p1}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-8",children:t.p2}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsx(g,{asChild:!0,size:"lg",className:"gap-2 rounded-full px-7 font-semibold",children:e.jsxs(u,{to:m,children:[t.seeAll,e.jsx(w,{className:"h-4 w-4"})]})}),e.jsx(g,{asChild:!0,variant:"outline",size:"lg",className:"gap-2 rounded-full px-7 font-semibold",children:e.jsxs("a",{href:`tel:${r.tel}`,children:[e.jsx(b,{className:"h-4 w-4"}),t.call," ",r.display]})})]})]})})}),e.jsx("section",{className:"py-16 md:py-20 bg-background [content-visibility:auto] [contain-intrinsic-size:1px_360px]",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
15",children:t.usps.map(({title:l,desc:o},c)=>{const d=le[c];return e.jsxs("div",{className:"card-hover rounded-2xl border border-border bg-card p-6 shadow-[var(--shadow-soft)]",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:e.jsx(d,{className:"h-6 w-6 text-primary"})}),e.jsx("h3",{className:"font-display font-bold text-foreground mb-2",children:l}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:o})]},l)})})})}),e.jsx("section",{className:"py-16 md:py-20 [content-visibility:auto] [contain-intrinsic-size:1px_420px]",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"relative overflow-hidden rounded-[1.75rem] bg-[image:var(--gradient-brand)] px-6 py-14 md:px-16 md:py-16 text-primary-foreground shadow-[var(--shadow-elevated)]",children:e.jsxs("div",{className:"relative max-w-2xl",children:[e.jsx("span",{className:"eyebrow eyebrow-on-dark",children:t.offerEyebrow}),e.jsx("h2",{className:"font-display text-3xl md:text-[2.5rem] leading-[1.1] font-extrabold text-primary-foreground mt-3 mb-4",children:t.offerH2}),e.jsx("p",{className:"text-lg text-primary-foreground/85 mb-8 leading-relaxed",children:t.offerP}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[e.jsx(g,{asChild:!0,size:"lg",className:"gap-2 rounded-full px-7 font-bold bg-warm text-warm-foreground hover:bg-warm/90",children:e.jsxs(u,{to:"/kontakt",children:[e.jsx(z,{className:"h-4 w-4"}),t.offerCta]})}),e.jsx(g,{asChild:!0,size:"lg",variant:"outline",className:"gap-2 rounded-full px-7 font-semibold bg-transparent border-primary-foreground/40 text-primary-foreground hover:bg-primary-foreground/10 hover:text-primary-foreground",children:e.jsxs("a",{href:`tel:${r.tel}`,children:[e.jsx(b,{className:"h-4 w-4"}),r.display]})})]})]})})})})]})},me=({type:i})=>{const n=i==="winter",t=f(),r=t.language==="sv",m=v(t.language),l=S(t.language),o={winter:{icon:N,title:r?"Hitta din skidsemester här":"Find din skiferie her",description:r?`Hos ${t.name} tar vi väl hand om din semester och vi älskar att hjälpa våra gäster att arrangera årets höjdpunkt – skidsemestern. Se alla våra spännande skidområden i Österrike.`:`Hos ${t.name} passer vi godt på din ferie og vi elsker at hjælpe vores kunder med at arrangere årets højdepunkt – nemlig skiferien. Se alle vores spændende skiområder i Østrig.`,image:"/images/hero/ski-schlossalm-2.jpg",link:m.winter,linkText:r?"Se alla resmål":"Se alle rejsemål"},summer:{icon:$,title:r?"Sommarresor i Österrike":"Sommerrejser i Østrig",description:r?"Upplev de österrikiska alperna på sommaren med vandringar, mountainbike och wellness. Våra handplockade hotell ligger perfekt för sommarupplevelser i världsklass.":"Oplev de østrigske alper om sommeren med vandreture, mountainbiking og wellness. Vores håndplukkede hoteller ligger perfekt placeret til sommeroplevelser i verdensklasse.",image:R,link:`${l.summer}/oestrig`,linkText:r?"Se sommardestinationer":"Se sommerdestinationer"}},{icon:c,title:d,description:p,image:h,link:x,linkText:s}=o[i];return e.jsx("section",{className:"py-20 md:py-28 bg-[image:var(--gradient-brand-soft)] [content-visibility:auto] [contain-intrinsic-size:1px_640px]",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:`grid md:grid-cols-2 gap-12 items-center ${n?"":"md:flex-row-reverse"}`,children:[e.jsxs("div",{className:`relative rounded-[1.75rem] overflow-hidden shadow-[var(--shadow-elevated)] ${n?"":"md:order-2"}`,children:[e.jsx("img",{src:h,alt:d,className:"w-full h-80 md:h-96 object-cover",loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/30 to-transparent"})]}),e.jsxs("div",{className:n?"":"md:order-1",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-primary/10 px-3.5 py-1.5 text-primary mb-5",children:[e.jsx(c,{className:"h-4 w-4"}),e.jsx("span",{className:"eyebrow",children:n?"Vinter":r?"Sommar":"Sommer"})]}),e.jsx("h2",{className:"font-display text-3xl md:text-[2.5rem] leading-[1.1] font-extrabold text-foreground mb-4",children:d}),e.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:p}),e.jsx(g,{asChild:!0,size:"lg",variant:n?"default":"outline",className:"rounded-full px-7 font-semibold",children:e.jsxs(u,{to:x,className:"gap-2",children:[s,e.jsx(w,{className:"h-4 w-4"})]})})]})]})})})};function jr(){const i=f(),{data:n}=K(V(void 0,i.code,i.domain)),{t}=B(),r=n.brand?.defaultSeason||"winter",m=D(),l=I.useLoaderData(),o=l?.cms??null,c=l?.promotionBanners??null,d=n.destinations||[],p=(s,P=r)=>{if(!s.destination||!s.date)return;const j=d.find(T=>T.slug===s.destination.slug)?.countrySlug||s.destination.country_slug;if(!j)return;const k=S(i.language),L=E(i.language),C=P==="winter"?k.winter:k.summer,a={date:ae(s.date,"yyyy-MM-dd"),duration:s.duration,adults:s.adults};s.rooms&&s.rooms.length>1&&(a.rooms=s.rooms.length,a.occ=O(s.rooms)),s.children>0&&(a.children=s.children),s.childAges.length>0&&(a.childAges=s.childAges.join(",")),s.transport==="self-drive"?a.transport="self-drive":s.transport&&(a.transport=s.transport.arrival_code),s.from&&(a.from=s.from),s.includeTransfer&&(a.transfer="1"),m({to:`${C}/$country/$destination/${L}`,params:{country:j,destination:s.destination.slug},search:a})};
1if(M(i.code))return e.jsxs(y,{brand:n.brand,children:[e.jsx(ie,{language:i.language,onSearch:s=>p(s,"winter")}),e.jsx(ne,{banners:c})]});const h=r==="winter"?re:se,x=i.language==="sv"?r==="winter"?W:Y:r==="winter"?G:X;return e.jsxs(y,{brand:n.brand,children:[e.jsx(J,{items:[{name:i.language==="sv"?"Startsida":"Forside",url:"/"},{name:t(r==="winter"?"season.winterLabel":"season.summerLabel"),url:v(i.language)[r]}]}),e.jsx(U,{onSearch:p,season:r,h1:t(r==="winter"?"season.winterLabel":"season.summerLabel"),heroImage:o?.hero_image_url||(r==="winter"?Q:te)}),o?.content_html&&e.jsx(q,{html:o.content_html,season:r}),e.jsx(de,{hideCmsText:!!o?.content_html}),e.jsx(me,{type:r}),i.language!=="sv"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(Z,{title:i.language==="sv"?r==="winter"?"Populära skiddestinationer":"Populära sommardestinationer":r==="winter"?"Populære skidestinationer":"Populære sommerdestinationer",links:x})}),e.jsx("div",{className:"bg-muted/60 py-16 md:py-20",children:e.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:e.jsx(ee,{items:h})})})]})]})}export{jr as component};

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.