1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var l in r)r.hasOwnProperty(l)&&(e[l]=r[l])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:travronden":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="677b249d-55b0-40c2-aff8-40d78b60a54d",e._sentryDebugIdIdentifier="sentry-dbid-677b249d-55b0-40c2-aff8-40d78b60a54d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8481],{6360:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(37876),n=r(54348),s=r(20817);let i=({track:e,date:t,race:r,...i})=>(0,l.jsxs)(n.EY,{color:"primary",fontSize:[0,null,1],fontWeight:"bold",...i,children:[e,t&&(0,l.jsxs)(l.Fragment,{children:[" ",(0,l.jsx)(s.gX,{date:t,format:"dd/LL"}),r&&` â Lopp ${r}`]})]})},23951:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var l=r(37876),n=r(54348),s=r(89802);let i={chronicle:"Kr\xf6nika",editorial:"Ledare",debate:"Debatt",submitted:"Ins\xe4ndare"},a=({article:e,...t})=>(0,s.Ns)(e)?(0,l.jsx)(n.EY,{color:"primary",fontSize:[0,null,1],fontWeight:"bold",...t,children:i[e.type]}):null},33620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>L});var l=r(37876),n=r(54348),s=r(89099),i=r.n(s),a=r(14232),d=r(97816),o=r(92478),c=r(32149),u=r(13079),h=r(93293),p=r(81102),x=r(70299),m=r(54230),g=r(45860);let f=({query:e="",setQuery:t})=>(0,l.jsx)(n.kD,{bg:"greys.1",borderRadius:[0,null,2],mt:"3",mb:[1,null,5],mx:["-16px",null,0],children:(0,l.jsxs)(n.pT,{padding:"3",children:[(0,l.jsx)(n.ks,{name:"query",placeholder:"S\xf6k p\xe5 travronden.se",enterKeyHint:"search",value:e,onChange:e=>t(e.target.value)}),(0,l.jsx)(n.$n,{bc:"primary",disabled:0===e.length,width:"65px",ml:"2",size:"xlarge",type:"submit",children:"S\xf6k"})]})});var j=r(77232);let b=j.I4.div.withConfig({componentId:"sc-bfc3681d-0"})(["display:block;position:absolute;top:3px;width:16px;height:16px;margin-left:-16px;border:1px solid #c7c7c7;border-radius:100%;box-shadow:inset 0 1px 3px 0 rgb(115 115 115 / 15%);"]),y=j.I4.input.attrs({type:"radio"}).withConfig({componentId:"sc-bfc3681d-1"})(["&[type='radio']{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0;white-space:nowrap;&:checked + ","{&::before{content:'';display:block;position:absolute;top:3px;left:3px;width:8px;height:8px;border-radius:100%;background-color:red;}}}"],b),k=({checked:e,onChange:t,name:r,value:s,label:i,ml:a})=>(0,l.jsxs)(w,{ml:a,pl:"16px",alignItems:"center",children:[(0,l.jsx)(y,{name:r,id:s,value:s,checked:e,onChange:t}),(0,l.jsx)(b,{onClick:t}),(0,l.jsx)(n.EY,{as:"label",htmlFor:s,fontSize:"1",fontWeight:"bold",pl:"1",children:i})]});var w=(0,j.I4)(n.pT).withConfig({componentId:"sc-bfc3681d-2"})(["position:relative;"]);let _=({ordering:e,setOrdering:t})=>(0,l.jsxs)(n.pT,{mt:[1,null,0],alignItems:"center",children:[(0,l.jsx)(n.EY,{fontSize:"1",children:"Sortera s\xf6kresultat:"}),(0,l.jsx)(k,{ml:"3",label:"Mest relevanta",name:"ordering",value:"score",checked:"score"===e,onChange:()=>t("score")}),(0,l.jsx)(k,{ml:"3",label:"Senaste",name:"ordering",value:"publish_start",checked:"publish_start"===e,onChange:()=>t("publish_start")})]}),v=({urlQuery:e,query:t,setQuery:r,ordering:s,setOrdering:i,count:d=null})=>(0,l.jsxs)(g.A,{headline:"S\xf6kresultat",children:[(0,l.jsxs)(n.pT,{flexWrap:"wrap",flexDirection:["column",null,"row"],children:[(0,l.jsx)(n.EY,{children:null!==d?(0,l.jsxs)(a.Fragment,{children:["Din s\xf6kning p\xe5 ",(0,l.jsxs)(n.EY,{display:"inline-block",fontWeight:"bold",children:["â",e,"â"]})," gav ",(0,l.jsx)(n.EY,{display:"inline-block",fontWeight:"bold",children:d})," tr\xe4ffar."]}):(0,l.jsxs)(a.Fragment,{children:["S\xf6ker p\xe5 ",(0,l.jsxs)(n.EY,{display:"inline-block",fontWeight:"bold",children:["â",e,"â"]})]})}),(0,l.jsx)(n.pT,{ml:[0,null,"auto"],children:(0,l.jsx)(_,{ordering:s,setOrdering:i})})]}),(0,l.jsx)(f,{query:t,setQuery:r})]}),S=({query:e,setQuery:t,ordering:r,setOrdering:s})=>(0,l.jsxs)(g.A,{headline:"S\xf6k",children:[(0,l.jsx)(n.pT,{justifyContent:["flex-start",null,"flex-end"],children:(0,l.jsx)(_,{ordering:r,setOrdering:s})}),(0,l.jsx)(f,{query:e,setQuery:t})]});var A=r(97366),T=r(53203);let C=["score","publish_start"];function E(e){let t=(0,m.P)(e);return null!=t&&C.includes(t)?t:u.ch}let z=()=>{let{query:e}=(0,s.useRouter)(),t=(0,m.P)(e.query),r=(0,m.P)(e.ordering),d=null!=t;null!=r&&C.includes(r)||(r=u.ch);let{query:o,setQuery:g,ordering:f,setOrdering:j,submit:b}=(e=>{let t=(0,h.j)(),[r,l]=(0,a.useState)(()=>E(e.ordering)),[n,s]=(0,a.useState)(()=>(0,m.P)(e.query)??"");(0,a.useEffect)(()=>
1{l(E(e.ordering))},[e.ordering,l]);let d=(0,a.useCallback)((r,l)=>{if(r===e.query&&l===e.ordering)return;t((0,A.cL)());let n={};null!=r&&(n.query=r),null!=l&&(n.ordering=l),i().push({pathname:"/sok",query:n})},[t,e]),o=(0,a.useCallback)(e=>{e.preventDefault(),d(n,r)},[d,n,r]),c=(0,a.useCallback)(e=>{l(e),d(n,e)},[l,d,n]);return{query:n,setQuery:s,ordering:r,setOrdering:c,submit:o}})(e),y=((e,t)=>{var r;let l,n=(0,h.j)(),s=(r={query:e,ordering:t},(null==(l=(0,a.useRef)(void 0)).current||JSON.stringify(r)!==JSON.stringify(l.current))&&(l.current=r),l.current),i=(0,h.G)(A.fn);(0,a.useEffect)(()=>{e&&n((0,T.M)({...s,query:e}))},[n,e,t,s]);let{data:{next:d,results:o=[]}={}}=i,c=o.length,u=!!d,p=(0,a.useCallback)(()=>{u&&e&&n((0,T.M)({...s,query:e,offset:c}))},[u,n,s,e,c]);return{...i,loadMore:u?p:void 0}})(t,r),k=d&&(y.fetching||y.data?.results)?(0,l.jsx)(v,{urlQuery:t,query:o,setQuery:g,ordering:f,setOrdering:j,count:y.data?.count}):(0,l.jsx)(S,{query:o,setQuery:g,ordering:f,setOrdering:j});return(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(c.A,{title:"S\xf6k"}),(0,l.jsx)(x.R,{header:(0,l.jsx)(n.az,{as:"form",action:"/sok",method:"get",onSubmit:b,children:k}),listData:d?y:{fetching:!1,pastDelay:!1},renderItem:e=>(0,l.jsx)(p.A,{article:e},e.slug)})]})};z.getLayout=e=>(0,l.jsx)(o.A,{children:(0,l.jsx)(d.A,{showPanorama:!0,children:e})});let L=z},45860:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var l=r(37876),n=r(54348);let s=({headline:e,children:t})=>(0,l.jsxs)(n.Vw,{as:"header",between:"5",after:{_:6,md:8},children:[e&&(0,l.jsx)(n.H1,{children:e}),t]})},54230:(e,t,r)=>{"use strict";function l(e){if("string"==typeof e&&e.trim().length>0)return e.trim()}r.d(t,{P:()=>l})},57710:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(37876),n=r(54348),s=r(20817);let i=({track:e,date:t,...r})=>(0,l.jsxs)(n.EY,{color:"primary",fontSize:[0,null,1],fontWeight:"bold",...r,children:[e,t&&(0,l.jsxs)(l.Fragment,{children:[" ",(0,l.jsx)(s.gX,{date:t,format:"dd/LL"})]})," ","â Sammanfattning"]})},59030:(e,t,r)=>{"use strict";function l(e,t){if(Array.isArray(e)){let r=t[0]/t[1],l=e[0];for(let t=0;t<e.length;t++)if(Math.abs(e[t].aspect_ratio-r)<(t<e.length-1?Math.abs(e[t+1].aspect_ratio-r):1/0)){l=e[t];break}return l}return e}r.d(t,{U:()=>l})},67185:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var l=r(37876),n=r(54348),s=r(48230),i=r.n(s),a=r(12934);let d=({article:e,children:t,as:r,...s})=>{if(null!=r)throw Error("Unsupported prop 'as'. ArticleLink can only be rendered as an Anchor component");let d=(0,a.kX)(e);return(0,l.jsx)(n.Mz,{href:d,as:i(),...s,children:t})}},70299:(e,t,r)=>{"use strict";r.d(t,{h:()=>p,R:()=>x});var l=r(37876),n=r(54348),s=r(14232),i=r(1283),a=r(13079),d=r(83322),o=r(40625),c=r(91336);let u=({autoLoadEnabled:e=!0,fetching:t=!1,onClick:r,placeholderType:i,autoLoadLimit:a=3})=>{let u=((e,t,r=-1)=>{let[l,n]=(0,o.Wx)({threshold:0}),i=(0,d.ZC)(n),[a,c]=(0,s.useState)(0),[u,h]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{h(-1===r||r>a)},[a,r,h]),(0,s.useEffect)(()=>{u&&!e&&n&&!i&&(t(),c(e=>e+1))},[n,i,u,e,t,c]),l})(t,r,e?a:0);return(0,l.jsxs)(n.az,{ref:u,pt:"4",children:[t&&(0,l.jsx)(c.A,{visible:!0,type:i}),!t&&(0,l.jsx)(n.$n,{bc:"primary",width:"100%",onClick:r,children:"Visa fler"})]})},h=({autoLoadEnabled:e,more:t,placeholderType:r})=>null!=t?(0,l.jsx)(u,{autoLoadEnabled:e,fetching:t.fetching,onClick:t.load,placeholderType:r}):null,p=({header:e,listData:t,autoLoadEnabled:r=!0,renderItem:d,renderFirstItem:o})=>(0,l.jsxs)(n.az,{as:"section",children:[e,(0,l.jsx)(i.A,{state:t,render:e=>{let{results:t,more:i}=e,c=o&&t.length>0?(0,l.jsx)(n.az,{mb:"4",children:o(t[0])}):null,u=(o?t.slice(1):t).map(d);return(0,l.jsxs)(s.Fragment,{children:[c,(0,l.jsx)(n.xA,{gap:"4",gridTemplateColumns:"repeat(auto-fill, minmax(235px, 1fr))",children:u}),(0,l.jsx)(h,{autoLoadEnabled:r,more:i,placeholderType:a.Lx.CONTENT_GRID})]})},placeholderType:a.Lx.CONTENT_GRID})]}),x=({header:e,listData:t,autoLoadEnabled:r=!0,renderItem:d,renderFirstItem:o})=>(0,l.jsxs)(n.az,{as:"section",mt:"3",pt:"2",children:[e,(0,l.jsx)(i.A,{state:t,render:e=>{let{results:t,more:i}=e,c=o&&t.length>0?o(t[0]):null,u=(o?t.slice(1):t).map(d);return(0,l.jsxs)(s.Fragment,{children:[(0,l.jsxs)(n.BJ,{between:"4",width:"100%",sx:{dis
1play:"flex",flexDirection:"column"},children:[c,u]}),(0,l.jsx)(h,{autoLoadEnabled:r,more:i,placeholderType:a.Lx.CONTENT_LIST})]})},placeholderType:a.Lx.CONTENT_LIST})]})},71635:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sok",function(){return r(33620)}])},79632:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var l=r(37876),n=r(77232),s=r(54348),i=r(84688),a=r(59030),d=r(82502);let o=(e,t,r)=>[100,200,300,400,500,600,700,800,900,1e3,1100,1200,1400,1800].map(l=>`${i.LR.getUrl(t,l,e,r)} ${l}w`).join(","),c=({mediaQuery:e,desktopRatio:t,mobileRatio:r,children:n})=>(0,l.jsxs)(h,{as:"figure",width:"100%",$_css:r.join("/"),$_css2:e,$_css3:t.join("/"),children:[(0,l.jsx)(s.Xe,{width:"100%",height:"100%",bg:"greys.1"}),n]}),u=({media:e,desktopRatio:t=[16,9],desktopSizes:r=["100vw"],mobileRatio:n=[2,1],mobileSizes:u=["100vw"],placeholder:h=!1,loadStrategy:x="lazy"})=>{let m=(0,d.A)();if(!e||Array.isArray(e)&&0===e.length)return h?(0,l.jsx)(c,{mediaQuery:m,desktopRatio:t,mobileRatio:n}):null;let{id:g,focus:f,alt:j=""}=(0,a.U)(e,t),{id:b,focus:y}=(0,a.U)(e,n),k="lazy"===x,w={desktop:i.LR.getFocusGravity(f??null),mobile:i.LR.getFocusGravity(y??null)},_={desktop:o(t,g,w.desktop),mobile:o(n,b,w.mobile)},v=i.LR.getUrl(g,600,t,w.desktop),S=k?`${i.LR.getUrl(g,300,t,[...w.desktop,"q_25","e_blur:500"])} 300w`:void 0,A=k?`${i.LR.getUrl(b,300,n,[...w.mobile,"q_25","e_blur:500"])} 300w`:void 0;return(0,l.jsx)(p,{as:"figure",width:"100%",$_css4:n.join("/"),$_css5:m,$_css6:t.join("/"),children:(0,l.jsx)(s.Xe,{width:"100%",height:"100%",children:(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{media:m,"data-srcset":k?_.desktop:void 0,srcSet:k?S:_.desktop,sizes:r.join(",")}),(0,l.jsx)("source",{media:"","data-srcset":k?_.mobile:void 0,srcSet:k?A:_.mobile,sizes:u.join(",")}),(0,l.jsx)(s.az,{width:"100%",as:"img",alt:j,src:v,className:k?"lazyload":void 0})]})})})};var h=(0,n.Ay)(s.CJ).withConfig({componentId:"sc-9246d891-0"})(["padding-bottom:calc(100% / (","));@media ","{padding-bottom:calc(100% / (","));}"],e=>e.$_css,e=>e.$_css2,e=>e.$_css3),p=(0,n.Ay)(s.CJ).withConfig({componentId:"sc-9246d891-1"})(["aspect-ratio:",";@media ","{aspect-ratio:",";}"],e=>e.$_css4,e=>e.$_css5,e=>e.$_css6)},81102:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var l=r(37876),n=r(77232),s=r(54348),i=r(67185),a=r(90810),d=r(62722),o=r(79632),c=r(57710),u=r(23951),h=r(6360),p=r(30195),x=r(89802),m=r(92605);let g=({article:e,hideAuthorPortrait:t})=>{let{headline:r,preamble:n,type:i}=e,d="teaser_headline"in e?e.teaser_headline:null,m="teaser"in e?e.teaser:null,g="track"in e?e.track:null,f="race"in e?e.race:null,b="meet"in e?e.meet:null,y=m||n;return(0,l.jsxs)(s.az,{padding:["2,5",null,3],children:[(0,l.jsx)(j,{ml:[null,null,"auto"],mt:[(0,x.Ns)(e)?"24px":"12px",null,"-6px"],mr:["-2px",null,"-6px"],pb:["2,5",null,"10px"],pl:[2,null,3],width:["113px",null,"226px"],children:(0,l.jsx)(o.A,{mobileSizes:["100px"],mobileRatio:[4,5],desktopSizes:["210px"],media:(0,x.cb)(e,t)})}),(0,l.jsx)(u.A,{article:e,mt:["-4px",null,0]}),null!=g&&null!=f&&"meet_summary"!==i&&(0,l.jsx)(h.A,{mt:["-4px",null,0],track:g.name,date:f.start_time,race:f.race_number}),null!=g&&null!=b&&"meet_summary"===i&&(0,l.jsx)(c.A,{mt:["-4px",null,0],track:g.name,date:b.race_date}),(0,l.jsxs)(s.H3,{color:"text.primary",userSelect:"none",lineHeight:"medium",mt:[1,null,2],mb:"2",children:[(0,l.jsx)(a.A,{article:e}),d||r]}),y&&"latest_news"!==e.type&&(0,l.jsx)(s.EY,{width:"100%",color:"text.primary",lineHeight:"base",fontSize:[1,null,2],children:(0,p.qG)(y,160)})]})},f=({article:e,hideAuthorPortrait:t,showDateLine:r=!0})=>(0,l.jsx)(d.A,{children:(0,l.jsx)(s.kD,{width:"100%",flexShrink:"0",children:(0,l.jsxs)(s.pT,{flexDirection:["column",null,"row"],children:[r&&(0,l.jsx)(m.A,{article:e}),(0,l.jsx)(s.kD,{bg:"background.secondary",boxShadow:"gridItem",flexGrow:"1",children:(0,l.jsx)(i.A,{article:e,variant:"heading",children:(0,l.jsx)(g,{article:e,hideAuthorPortrait:t})})})]})})});var j=(0,n.Ay)(s.az).withConfig({componentId:"sc-d376dc18-0"})(["float:right;"])},82502:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var l=r(77232);let n=()=>{let{breakpoints:e}=(0,l.DP)();return`only screen and (min-width: ${e.sm})`}},90810:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var l=r(37876),n=r(54348);let s=({article:e})=>
1{if("chronicle"!==e.type||!("authors"in e)||0===e.authors.length)return null;let[t]=e.authors,r="";return t.firstname&&t.lastname?r=`${t.firstname} ${t.lastname}: `:t.lastname?r=`${t.lastname}: `:"string"==typeof t&&(r=`${t}: `),(0,l.jsx)(n.Xq,{fontWeight:"regular",children:r})}},92605:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(37876),n=r(54348),s=r(20817);let i=({article:e})=>(0,l.jsx)(n.kD,{width:"100px",mr:"70px",borderTop:"1",borderTopColor:"greys.1",flexShrink:"0",flexGrow:"0",mb:"1",py:"1",children:(0,l.jsx)(s.sR,{date:e.publish_start,fontSize:"1",color:"text.primary"})})},97816:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var l=r(37876),n=r(54348),s=r(20817),i=r(83322),a=r(14232),d=r(77232),o=r(58481),c=r(77527);let u=()=>{let{breakpoints:e}=(0,d.DP)(),t=Number.parseInt(e.xl,10),r=(0,a.useRef)((0,c._)()),[s,u]=(0,a.useState)(null!=r.current&&r.current?.width>=t),h=(0,a.useCallback)(()=>{r.current=(0,c._)(),u(null!=r.current&&r.current?.width>=t)},[t]);return((0,i.Vk)("resize",h),s)?(0,l.jsx)(n.BJ,{between:"3",children:["Square 1","Square 2","Square 3","Square 4","Square 5","Square 6","Square 7","Square 8","Square 9","Square 10"].map((e,t)=>(0,l.jsx)(o.A,{placement:e,showLabel:0===t},e))}):null},h=({children:e,showPanorama:t=!1})=>(0,l.jsx)(n.mc,{pt:"siteMainTopPadding",pb:"siteMainBottomPadding",children:(0,l.jsxs)(n.pT,{flexDirection:{xl:"row"},children:[(0,l.jsxs)(n.az,{flex:{_:"0 0 100%",xl:"1 1 0%"},maxWidth:"columns.mainLarge",children:[t&&(0,l.jsx)(n.az,{mb:{_:"3,5",lg:4},children:(0,l.jsx)(o.A,{placement:"Panorama"})}),e]}),(0,l.jsx)(n.az,{display:{_:"none",xl:"block"},width:{xl:"columns.outsider"},ml:{lg:"auto"},children:(0,l.jsxs)(s.in,{children:[(0,l.jsx)(u,{}),(0,l.jsx)(n.Xt,{offsetTop:"pageHeader.desktopRow2",pt:"3",children:(0,l.jsx)(o.A,{placement:"Sticky"})})]})})]})})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=71635)),_N_E=e.O()}]);
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.