PageSourceSearch

https://visitsweden.de/_next/static/chunks/79.7c1360d50c73f184.js

js visitsweden.de collected 2026-10-02 04:19:59 UTC 9,942 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="234cf3b5-2fcd-42fb-aad1-5b74b1db12e4",e._sentryDebugIdIdentifier="sentry-dbid-234cf3b5-2fcd-42fb-aad1-5b74b1db12e4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79],{79:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>W});var t=n(7876),s=n(4232),o=n(5062),i=n.n(o),l=n(9701),m=n(8808),r=n(7973),g=n(4820),C=n(8835),_=n.n(C),p=n(9665),u=n(5915),S=n(1196),c=n(6742),P=n(1245),d=n(4587),h=n.n(d),x=n(7943),j=n(9723),N=n(5039),b=n.n(N);let v=e=>{let{items:a=[],heading:n="",anchorLink:o=""}=e,[i,l]=(0,s.useState)(!0),[m,r]=(0,s.useState)(!0),[C,p]=(0,g.A)({align:"start",containScroll:"trimSnaps",dragFree:!1,slidesToScroll:1});return(0,s.useEffect)(()=>{if(!p)return;let e=()=>{l(!p.canScrollPrev()),r(!p.canScrollNext())};return p.on("select",e),p.on("reInit",e),e(),()=>{p.off("select",e),p.off("reInit",e)}},[p]),(0,t.jsxs)(x.A,{children:[(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__TopWrapper,children:[n&&(0,t.jsx)("h2",{className:_().CampaignPostSegmentCarousel__Heading,children:o?(0,t.jsx)(j.A,{title:n,id:o}):n}),(0,t.jsx)("div",{className:b()(_().CampaignPostSegmentCarousel__ControlsWrapper,_()["CampaignPostSegmentCarousel__ControlsWrapper--Desktop"]),children:(0,t.jsx)(I,{onPrev:()=>p&&p.scrollPrev(),onNext:()=>p&&p.scrollNext(),prevDisabled:i,nextDisabled:m})})]}),(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel,children:[(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__Carousel,ref:C,children:(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__CarouselContainer,children:a.map((e,a)=>(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__Slide,children:(0,t.jsx)(f,{...e,index:a,hTag:n?"h3":"h2"})},a))})}),(0,t.jsx)("div",{className:b()(_().CampaignPostSegmentCarousel__ControlsWrapper,_()["CampaignPostSegmentCarousel__ControlsWrapper--Mobile"]),children:(0,t.jsx)(I,{onPrev:()=>p&&p.scrollPrev(),onNext:()=>p&&p.scrollNext(),prevDisabled:i,nextDisabled:m})})]})]})};v.propTypes={items:i().array,altLayout:i().string,withTypeStyle:i().string,hasParentTitle:i().bool};let I=e=>{let{onPrev:a,onNext:n,prevDisabled:s,nextDisabled:o}=e;return(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__Controls,children:[(0,t.jsx)("button",{className:_().CampaignPostSegmentCarousel__PrevButton,onClick:a,disabled:s,"aria-label":"Previous"}),(0,t.jsx)("button",{className:_().CampaignPostSegmentCarousel__NextButton,onClick:n,disabled:o,"aria-label":"Next"})]})},f=e=>{let{image:a={src:"",caption:""},overlayImage:n,preamble:o,bulletPoints:i,title:g="",hTag:C="h3"}=e,{t:d}=(0,S.Bd)("common"),x=(0,c.A)({query:`(min-width: ${P.f.m}px)`}),[j,N]=(0,s.useState)(!1),b=(0,m.u)(a,!0),v=_().CampaignPostSegmentCarousel__Card;(0,s.useEffect)(()=>{x?N(!0):N(!1)},[x]);let I=_().CampaignPostSegmentCarousel__Container;return(0,t.jsx)("div",{className:v,children:(0,t.jsxs)("div",{className:I,children:[(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__ImageWrapper,children:[(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__ImageContainer,children:[b&&(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__Image,children:(0,t.jsx)(r.A,{...b,quality:70,sizes:"(min-width: 1440px) 642px, (min-width: 1280px) 560px, (min-width: 1024px) 920px, (min-width: 768px) 720px, 100vw"})}),n&&(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__ImageOverlayWrapper,children:(0,t.jsx)(h(),{src:n,width:250,height:250,alt:"",className:_().CampaignPostSegmentCarousel__ImageOverlay})})]}),g&&(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__ImageTitleWrapper,children:(0,t.jsx)(C,{className:_().CampaignPostSegmentCarousel__ImageTitle,children:g})})]}),(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__Wrapper,children:(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__Content,children:[o&&(0,t.jsx)(p.A,{html:o}),i&&i.length>0&&(0,t.jsxs)("div",{className:_().CampaignPostSegmentCarousel__BulletPointListWrapper,children:[(0,t.jsx)(l.A,{duration:350,height:x||j?"auto":0,className:_().CampaignPostSegmentCarousel__AnimationWrapper,children:(0,t.jsx)("ul",{className:_().CampaignPostSegmentCarousel__BulletPointList,children:i.map((e,a)=>(0,t.jsxs)("li",{className:_().CampaignPostSegmentCarousel__BulletPoint,children:[e.icon&&(0,t.jsx)("div",{className:_().CampaignPostSegmentCarousel__BulletPointIcon,children:(0,t.jsx)("i",{className:_().CampaignPostSegmentCarousel__Icon,style:{maskImage:`url('/img/wagtail-icons/${e.icon}')`}})}),e.text&&(0,t.jsx)(p.A,{html:e.text})]},a))})}),(0,t.jsx)(u.A,{className:_().CampaignPostSegmentCarousel__ToggleButton,type:"Primary",icon:"Plus",untranslatedModifiers:["Button--Toggle"],onClick:()=>
1N(!j),ariaExpanded:j,children:d(j?"author.close":"author.open")})]})]})})]})})};f.propTypes={href:i().string,image:i().object,title:i().string,anchorLink:i().string,text:i().string,single:i().bool,numbered:i().bool,buttonText:i().string,index:i().number};let W=v},7943:(e,a,n)=>{"use strict";n.d(a,{A:()=>_});var t=n(7876);n(4232);var s=n(5062),o=n.n(s),i=n(5039),l=n.n(i),m=n(9723),r=n(8191),g=n.n(r);let C=e=>{let{colors:a=null,heading:n="",anchorLink:s="",classes:o="",children:i=null}=e;return(0,t.jsxs)("section",{className:l()(g().CampaignSection,o,{[g()[`CampaignSection--${a}`]]:!!a}),children:[n&&(0,t.jsx)("h2",{className:g().CampaignSection__Heading,children:s?(0,t.jsx)(m.A,{title:n,id:s}):n}),i]})};C.propTypes={colors:o().string,heading:o().string,anchorLink:o().string,classes:o().string,children:o().node.isRequired};let _=C},8191:e=>{e.exports={CampaignSection__Heading:"CampaignSection_CampaignSection__Heading__qWfXv",CampaignSection:"CampaignSection_CampaignSection__d6O_t","CampaignSection--BlackOnWhite":"CampaignSection_CampaignSection--BlackOnWhite__7G85o","CampaignSection--BlackOnYellow":"CampaignSection_CampaignSection--BlackOnYellow__zRUYZ","CampaignSection--BlueOnYellow60":"CampaignSection_CampaignSection--BlueOnYellow60__KXSfi","CampaignSection--WhiteOnBlue":"CampaignSection_CampaignSection--WhiteOnBlue__hHoZ5","CampaignSection--BlueOnYellow":"CampaignSection_CampaignSection--BlueOnYellow__AC3dm","CampaignSection--YellowOnWhite":"CampaignSection_CampaignSection--YellowOnWhite__134Wu","CampaignSection--YellowOnBlue":"CampaignSection_CampaignSection--YellowOnBlue__hCyMA"}},8835:e=>{e.exports={CampaignPostSegmentCarousel__TopWrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__TopWrapper__qpGTp",CampaignPostSegmentCarousel__Carousel:"C
1ampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Carousel__xwvm7","CampaignPostSegmentCarousel__ControlsWrapper--Mobile":"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ControlsWrapper--Mobile__a7bYI",CampaignPostSegmentCarousel__Heading:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Heading__j_fSJ",CampaignPostSegmentCarousel__ImageTitle:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageTitle__HjNdu",CampaignPostSegmentCarousel:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__lTjHy",CampaignPostSegmentCarousel__CarouselContainer:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__CarouselContainer__DVPZE",CampaignPostSegmentCarousel__Slide:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Slide__I_qaz",CampaignPostSegmentCarousel__Card:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Card__9CAIH","CampaignPostSegmentCarousel__ControlsWrapper--Desktop":"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ControlsWrapper--Desktop__hhekw",CampaignPostSegmentCarousel__Controls:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Controls__md74p",CampaignPostSegmentCarousel__PrevButton:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__PrevButton__HCIOY",CampaignPostSegmentCarousel__NextButton:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__NextButton__XjAQy",CampaignPostSegmentCarousel__Container:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Container__IyWsL",CampaignPostSegmentCarousel__Link:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Link__h2bWa",CampaignPostSegmentCarousel__ImageContainer:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageContainer__kE5_g",CampaignPostSegmentCarousel__ImageWrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageWrapper__at8bs",CampaignPostSegmentCarousel__Image:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Image__p2ee_",CampaignPostSegmentCarousel__ImageTitleWrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageTitleWrapper__ZjYnD",CampaignPostSegmentCarousel__Wrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Wrapper__Nh1Ii",CampaignPostSegmentCarousel__Content:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Content__AoueB",CampaignPostSegmentCarousel__BulletPointListWrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__BulletPointListWrapper__mQjSq",CampaignPostSegmentCarousel__BulletPointList:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__BulletPointList__97ZZm",CampaignPostSegmentCarousel__BulletPoint:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__BulletPoint__ON690",CampaignPostSegmentCarousel__ToggleButton:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ToggleButton__V4DtD",CampaignPostSegmentCarousel__ImageOverlayWrapper:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageOverlayWrapper__T07C2",CampaignPostSegmentCarousel__ImageOverlay:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__ImageOverlay___ZdxO",CampaignPostSegmentCarousel__Icon:"CampaignPostSegmentCarousel_CampaignPostSegmentCarousel__Icon__srBGE"}}}]);
2//# sourceMappingURL=79.7c1360d50c73f184.js.map

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.