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 n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}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]="64b9a07b-e06d-4521-97f5-5fcf937b635e",e._sentryDebugIdIdentifier="sentry-dbid-64b9a07b-e06d-4521-97f5-5fcf937b635e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1926],{11912:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876),l=r(54348);let s=({children:e})=>(0,n.jsx)(l.kD,{display:"flex",bg:"white",boxShadow:"gridItem",flexDirection:["column",null,"row"],alignItems:["left",null,"center"],justifyContent:"stretch",children:e})},13622:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(37876),l=r(1283),s=r(13079),a=r(56738),o=r(14174),i=r(54348),d=r(83322),c=r(7940),u=r(48230),p=r.n(u),h=r(25630),f=r(23627),m=r(55867),x=r(12934);let y=({primaryArticle:e,variant:t,children:r})=>{let l=(0,x.nt)(e);return(0,n.jsx)(i.Mz,{href:l,as:p(),variant:t,children:r})},b=({primaryArticle:e,storyData:t,showMax:r,overflowVariant:l,wrap:s=e=>e})=>{let[a,o]=(0,d.eY)(!1),{story:{name:u}}=e,{count:p,results:x}=t;if(0===x.length)return null;let b=p>r,g=a?x:x.slice(0,r);return s((0,n.jsxs)(h.A,{label:u,labelWrap:t=>(0,n.jsx)(y,{primaryArticle:e,variant:"matchText",children:t}),children:[g.map(e=>(0,n.jsx)(f.A,{article:e},e.id)),b&&"link"===l&&(0,n.jsx)(i.az,{children:(0,n.jsx)(y,{primaryArticle:e,children:(0,n.jsxs)(i.pT,{alignItems:"center",children:["Visa allt i det h\xe4r \xe4mnet"," ",(0,n.jsx)(m.A,{pointTo:"right",size:"22px",mt:"1px"})]})})}),b&&"toggle"===l&&(0,n.jsxs)(i.$n,{bc:"primary",size:"xlarge",width:"100%",onClick:o,children:[a?"Visa f\xe4rre":"Visa fler"," ",(0,n.jsx)(c.cL,{direction:a?"up":"down",size:"22px",mt:"2px"})]})]}),b)},g=({article:e,content:t})=>{let r=(0,a.A)(`articlepage/${e.id}:stories`,{story:null!=t?t.slug:void 0,exclude:e.id,limit:3,ordering:"-featured,-publish_start"},{loadData:null!=t});return(0,o.au)(e)?(0,n.jsx)(l.A,{state:r,render:t=>(0,n.jsx)(b,{primaryArticle:e,storyData:t,showMax:3,overflowVariant:"link"}),placeholderType:s.Lx.RELATED}):null}},16006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(64252)._(r(14232)),l=r(72936),s=[],a=[],o=!1;function i(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function i(){if(!s){let t=new d(e,r);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let e=r.webpack&&1?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return i()})}function c(e,t){let a;i(),(a=n.default.useContext(l.LoadableContext))&&Array.isArray(r.modules)&&r.modules.forEac
1h(e=>{a(e)});let o=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(r.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return c.preload=()=>i(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(i,e)}function u(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return u(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{u(s).then(e,t)}),c.preloadReady=(e=[])=>new Promise(t=>{let r=()=>(o=!0,t());u(a,e).then(r,r)}),window.__NEXT_PRELOADREADY=c.preloadReady;let p=c},18847:(e,t,r)=>{e.exports=r(20705)},20705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return d},noSSR:function(){return i}};for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]});let s=r(64252);r(37876),r(14232);let a=s._(r(16006));function o(e){return{default:e?.default||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function d(e,t){let r=a.default,n={loading:({error:e,isLoading:t,pastDelay:r})=>null};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let l=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=l?l().then(o):Promise.resolve(o(()=>null))}):(delete n.webpack,delete n.modules,i(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23520:(e,t,r)=>{"use strict";var n=r(97225),l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return n.isMemo(e)?a:o[e.$$typeof]||l}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=a;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var l=h(r);l&&l!==f&&e(t,l,n)}var a=c(r);u&&(a=a.concat(u(r)));for(var o=i(t),m=i(r),x=0;x<a.length;++x){var y=a[x];if(!s[y]&&!(n&&n[y])&&!(m&&m[y])&&!(o&&o[y])){var b=p(r,y);try{d(t,y,b)}catch(e){}}}}return t}},37484:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(37876),l=r(54348),s=r(48230),a=r.n(s),o=r(25214),i=r(44501),d=r(14232),c=r(77739),u=d.forwardRef(function(e,t){return d.createElement(c.y,(0,i.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 50 50"},e,{ref:t}),d.createElement("path",{d:"m9.6 40.4 2.5-9.9L27 15.6l7.4 7.4-14.9 14.9-9.9 2.5zm4.3-8.9-1.5 6.1 6.1-1.5L31.6 23 27 18.4 13.9 31.5z"}),d.createElement("path",{d:"M17.8 37.3c-.6-2.5-2.6-4.5-5.1-5.1l.5-1.9c3.2.8 5.7 3.3 6.5 6.5l-1.9.5z"}),d.createElement("path",{d:"m29.298 19.287 1.414 1.414-13.01 13.02-1.414-1.41zM11 39l2.9-.7c-.3-1.
11-1.1-1.9-2.2-2.2L11 39zM35 22.4 27.6 15l3-3 .5.1c3.6.5 6.4 3.3 6.9 6.9l.1.5-3.1 2.9zM30.4 15l4.6 4.6.9-.9c-.5-2.3-2.3-4.1-4.6-4.6l-.9.9z"}))});u.displayName="Pencil";let p=(0,r(7940).Fd)(u),h=()=>(0,n.jsx)(o.A,{strokeColor:"slate",children:(0,n.jsx)(l.Vw,{between:"1",bg:"lightBlue",p:"3",children:(0,n.jsx)(l.iY,{fontSize:{_:1,lg:2},children:"Detta \xe4r en kommenterande text. Skribenten svarar f\xf6r analys och st\xe4llningstagande i texten."})})}),f=()=>(0,n.jsx)(o.A,{strokeColor:"slate",children:(0,n.jsxs)(l.Vw,{between:"2",bg:"lightBlue",p:"3",children:[(0,n.jsxs)(l.pT,{children:[(0,n.jsx)(l.H4,{color:"petrol",children:"Ins\xe4ndare i Travronden"}),(0,n.jsx)(p,{size:[32,null,42],color:"petrol",ml:"2",mt:["-12px",null,"-15px"]})]}),(0,n.jsx)(l.iY,{fontSize:{_:1,lg:2},fontWeight:"bold",children:"Detta \xe4r en ins\xe4ndare. Skribenten svarar f\xf6r analys och st\xe4llningstagande i texten."}),(0,n.jsxs)(l.iY,{fontSize:{_:1,lg:2},children:["Travronden v\xe4rnar om det fria ordet och yttrandefrihet. Vi vill att du ska uttrycka din \xe5sikt och dela med dig av dina goda tankar och id\xe9er. F\xf6r att bli publicerad kr\xe4vs att du h\xe5ller god ton, f\xf6ljer v\xe5ra riktlinjer och svensk lag."," "]}),(0,n.jsx)(l.az,{children:(0,n.jsx)(l.Mz,{href:"/insandare-i-travronden",as:a(),fontSize:{_:1,lg:2},children:"L\xe4s mer om hur du skickar din ins\xe4ndare eller replik till redaktionen f\xf6r ev. publicering."})})]})}),m=({article:e})=>"submitted"===e.type?(0,n.jsx)(f,{}):(0,n.jsx)(h,{})},37679:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(37876),l=r(54348),s=r(20817),a=r(48230),o=r.n(a),i=r(77232),d=r(13079),c=r(14174),u=r(89802),p=r(12934);let h={chronicle:"\xc5sikter",debate:"\xc5sikter",editorial:"\xc5sikter",news_article:"Travnyheter",report:"Referat",meet_summary:"Referat",submitted:"\xc5sikter"},f=({color:e,side:t})=>{let r=(0,i.DP)().sizes.buttonHeights.tiny;return(0,n.jsx)(l.kD,{width:"0",height:"0",borderRightWidth:"right"===t?"6px":void 0,borderLeftWidth:"left"===t?"6px":void 0,borderColor:"transparent",borderBottomColor:"left"===t?e:void 0,borderTopColor:"right"===t?e:void 0,sx:{borderBottomWidth:"left"===t?`${r}px`:void 0,borderTopWidth:"right"===t?`${r}px`:void 0},children:(0,n.jsx)(s.Bw,{})})},m=({article:e})=>{let t=(e=>{if((0,c.au)(e))return[[e.story.name,"primary",(0,p.nt)(e)]];if("feature"===e.type)return;let t=[],r=h[e.type];if(null!=r&&t.push([r,"primary",(0,p.C0)(e)]),(0,u.Ns)(e))t.push([u.mh[e.type],"slate",(0,p.m0)(e)]);else if((0,c.ZK)(e)){let r=(0,u.Is)(e);null!=r&&r.chain.slice(0,d.Ni).forEach(({name:r,slug:n})=>t.push([r,"slate",(0,p.hT)(e,0,n)]))}return t})(e);return null!=t&&t.length>0?(0,n.jsx)(l.B8,{axis:"horizontal",children:t.map(([e,t,r])=>(0,n.jsx)(l.ck,{children:(0,n.jsxs)(l.$n,{href:r,as:o(),shape:"square",size:"tiny",px:"0",display:"inline-flex",bg:"transparent",color:"white",children:[(0,n.jsx)(f,{color:t,side:"left"}),(0,n.jsx)(l.pT,{bg:t,px:"1",alignItems:"center",height:"100%",children:e.toUpperCase()}),(0,n.jsx)(f,{color:t,side:"right"})]})},e))}):null}},51202:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(37876),l=r(54348),s=r(7940),a=r(48230),o=r.n(a),i=r(55867);function d({back:e,forward:t,onBack:r,onForward:a,size:c="large",icon:u="arrow",...p}){return(0,n.jsxs)(l.az,{...p,children:[e&&(0,n.jsx)(l.$n,{as:null==r?o():void 0,href:null==r?e:void 0,px:"2",mr:t&&"2px",onClick:r,disabled:"disabled"===e,palette:"lightGrey",shape:t?"square":"round",size:"large",sx:{cursor:"pointer",pointerEvents:"disabled"===e?"none":void 0,borderTopRightRadius:t?0:void 0,borderBottomRightRadius:t?0:void 0},children:"arrow"===u?(0,n.jsx)(i.A,{size:`buttonHeights.${c}`,pointTo:"left"}):(0,n.jsx)(s.cL,{size:`buttonHeights.${c}`,direction:"left"})}),t&&(0,n.jsx)(l.$n,{as:null==a?o():void 0,href:null==a?t:void 0,px:"2",onClick:a,disabled:"disabled"===t,palette:"lightGrey",shape:e?"square":"round",size:"large",sx:{cursor:"pointer",pointerEvents:"disabled"===t?"none":void 0,borderTopLeftRadius:e?0:void 0,borderBottomLeftRadius:e?0:void 0},children:"arrow"===u?(0,n.jsx)(i.A,{size:`buttonHeights.${c}`,pointTo:"right"}):(0,n.jsx)(s.cL,{size:`buttonHeights.${c}`,direction:"right"})})]})}},62084:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),l=r(54348),s=r(14232),a=r(12934),o=r(48230),i=r.n(o);let d=({topic:e,href:t})=>(0,n.jsx)(l.Mz,{href:t,as:i(),fontWeight:"semiBold",fontSize:{_:1,lg:2},lineHeight:"buttonHeights.xlarge",children:e.name});d.tv=({topic:e,href:t})=>(0,n.jsx)(l.Mz,{href:t,as:i(),children:e.name});let c=({article:e,article:{type:t},content:r})=>"tv"===t?(0,n.jsxs)(l.az,{mr:{_:0,md:3},mt:{_:1,md:0},children:[(0,n.jsx)(l.Xl,{mr:"1",children:"\xc4mnen:"}),r.map((t,r)=>{let l=(0,a.hT)(e,r,t.slug);return(0,n.jsxs)(s.Fragment,{children:[r>0&&", ",(0,n.jsx)(d.tv,{href:l,topic:t})]},t.id)})]}):(0,n.jsxs)(l.BJ,{as:"section",between:"2,5",children:[(0,n.jsx)(l.H4,{variant:"mainList",mb:"3",children:"\xc4mnen i artikeln"}),(0,n.jsx)(l.B8,{gap:"1",children:r.map((t,r)=>{let s=(0,a.hT)(e,r,t.slug);return(0,n.jsx)(l.ck,{bg:"background.secondary",px:"3",children:(0,n.jsx)(d,{href:s,topic:t})},t.id)})})]})},66778:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876),l=r(54348);let s=({label:e,flex:t=1,children:r,divider:s})=>
1(0,n.jsxs)(l.CJ,{flex:t,px:["3,5",null,4],py:"3",children:[s&&(0,n.jsx)(l.Xe,{bg:"divider",width:["auto",null,"1px"],height:["1px",null,"auto"],top:[0,null,3],left:["3,5",null,0],right:["3,5",null,0],bottom:[0,null,3]}),(0,n.jsx)(l.EY,{fontSize:[4,null,5],fontWeight:"bold",color:"accent",children:r}),(0,n.jsx)(l.EY,{fontSize:[1,null,2],textTransform:"uppercase",children:e})]})},67170:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auktioner/[slug]",function(){return r(85751)}])},70789:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,l=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,u=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,x=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,j=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case u:case s:case o:case a:case h:return e;default:switch(e=e&&e.$$typeof){case d:case p:case x:case m:case i:return e;default:return t}}case l:return t}}}function v(e){return _(e)===u}t.AsyncMode=c,t.ConcurrentMode=u,t.ContextConsumer=d,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=x,t.Memo=m,t.Portal=l,t.Profiler=o,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return v(e)||_(e)===c},t.isConcurrentMode=v,t.isContextConsumer=function(e){return _(e)===d},t.isContextProvider=function(e){return _(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===s},t.isLazy=function(e){return _(e)===x},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===l},t.isProfiler=function(e){return _(e)===o},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===u||e===o||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===x||e.$$typeof===m||e.$$typeof===i||e.$$typeof===d||e.$$typeof===p||e.$$typeof===b||e.$$typeof===g||e.$$typeof===j||e.$$typeof===y)},t.typeOf=_},72936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext(null)},75314:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(37876),l=r(77232),s=r(54348),a=r(44501),o=r(14232),i=r(77739),d=o.forwardRef(function(e,t){return o.createElement(i.y,(0,a.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),o.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}))});d.displayName="Person";let c=(0,r(7940).Fd)(d),u=()=>(0,n.jsxs)(s.pT,{alignItems:"flex-start",children:[(0,n.jsx)(p,{flexShrink:"0",display:"inline-block",border:"1",borderColor:"greys.2",p:"3px",borderRadius:"circle",children:(0,n.jsx)(c,{size:"16px",color:"greys.3"})}),(0,n.jsx)(s.EY,{color:"greys.3",pl:"2",children:"Den h\xe4r artikeln kan bara du som prenumererar l\xe4sa"})]});var p=(0,l.Ay)(s.kD).withConfig({componentId:"sc-eb0b6171-0"})(["line-height:0;"])},85751:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(37876),l=r(54348),s=r(97816),a=r(92478),o=r(60621),i=r(13079),d=r(89802),c=r(37351),u=r(51202);let p=({main:e,aside:t})=>(0,n.jsxs)(l.Vw,{between:"4",children:[(0,n.jsxs)(l.az,{display:"grid",width:"100%",sx:{gridTemplateColumns:["1fr auto",null,"auto 1fr"]},children:[(0,n.jsx)(l.az,{children:e.filter(e=>"headline"===e.type).map(e=>e.element)}),(0,n.jsx)(u.A,{back:"/auktioner",order:["auto",null,"-1"],mr:[0,null,"3,5"],mt:[0,null,"1,5"]})]}),(0,n.jsxs)(l.az,{display:"grid",sx:{gridGap:["3,5",0,"3,5"],gridTemplateColumns:["1fr",null,"1fr 1fr"]},children:[(0,n.jsx)(l.az,{children:e.filter(e=>"headline"!==e.type).map(e=>e.element)}),(0,n.jsx)(l.az,{as:"aside",order:[-1,null,0],children:t.map(e=>e.element)})]})]});var h=r(68473),f=r(64929),m=r(77232),x=r(21651),y=r(20817),b=r(89099),g=r(14232),j=r(11912),_=r(66778),v=r(54230),w=r(83322),A=r(78755);let k=({css:e,children:t,...r})=>{let s=(0,g.useRef)(null),[a,o]=(e=>{let[t,r]=(0,g.useState)(0),[n,l]=(0,g.useState)(0),s=(0,g.useCallback)(()=>{let t=e.current;r(t?t.scrollWidth-t.clientWidth:0)},[e]),a=(0,g.useCallback)(e=>
1{l(Math.ceil(e.currentTarget.scrollLeft))},[]);return(0,w.Vk)(A.canUseDOM&&"resizeObserver"in window?[]:"resize",s),(0,w.UQ)(()=>{let t,r=e.current;return s(),"ResizeObserver"in window&&(t=new ResizeObserver(()=>{s()}),r&&t.observe(r)),document.fonts.addEventListener("loadingdone",s),()=>{t?.disconnect(),document.fonts.removeEventListener("loadingdone",s)}},[]),[t-n>0,a]})(s),i=(0,m.DP)().colors.background.primary;return(0,n.jsxs)(l.az,{sx:{position:"relative"},children:[(0,n.jsx)(C,{right:"0",width:"40px",height:"100%",opacity:+!!a,$_css:i,$_css2:i}),(0,n.jsx)(z,{overflow:"auto",ref:s,onScroll:o,children:(0,n.jsx)(S,{as:"table",width:"100%",...r,$_css3:e,children:t})})]})};var S=(0,m.Ay)(l.az).withConfig({componentId:"sc-7132052b-0"})(["border-collapse:collapse;",""],e=>e.$_css3),z=(0,m.Ay)(l.az).withConfig({componentId:"sc-7132052b-1"})(["-webkit-overflow-scrolling:touch;"]),C=(0,m.Ay)(l.Xe).withConfig({componentId:"sc-7132052b-2"})(["background:linear-gradient( 270deg,","FF 0%,","00 100% );transition:opacity 0.2s ease-in-out;pointer-events:none;"],e=>e.$_css,e=>e.$_css2);let D=({value:e,bold:t=!1,textAlign:r="left",children:s,colSpan:a,...o})=>(0,n.jsxs)(l.az,{as:"td",py:"2,5",px:"1",colSpan:a,...o,verticalAlign:"top",children:[e&&(0,n.jsx)(l.EY,{fontWeight:t?"bold":"normal",textAlign:r,children:e}),s]});var T=r(48230),$=r.n(T),E=r(55867);let M=({value:e,name:t,order:r,textAlign:s="left",...a})=>{let{slug:o}=(0,b.useRouter)().query;return(0,n.jsx)(O,{as:"th",py:"2",px:"1",...a,children:(0,n.jsx)(P,{as:$(),passHref:!0,scroll:!1,replace:!0,href:`${o}?ordering=${t}${r.startsWith(t)&&!r.endsWith("_desc")?"_desc":""}`,children:(0,n.jsxs)(l.EY,{textAlign:s,children:[e,(0,n.jsx)(E.A,{pointTo:r.endsWith("_desc")?"up":"down",size:"22px",mb:"4px",opacity:.5*!!r.startsWith(t)})]})})})};var P=(0,m.Ay)(l.Mz).withConfig({componentId:"sc-568933d1-0"})({textDecoration:"none",color:"white"}),O=(0,m.Ay)(l.az).withConfig({componentId:"sc-568933d1-1"})({whiteSpace:"nowrap"});let R={sold:"S\xe5ld",not_sold:"Ej s\xe5ld",recalled:"\xc5terrop",scratched:"Struken"};var L=(0,m.Ay)(l.az).withConfig({componentId:"sc-377d8107-0"})(["@media screen and (max-width:758px){> tr:nth-child(6n + 3) > td{background-color:white;}> tr:nth-child(2n + 2) > td{background-color:",";}}"],(0,x.y)("colors.background.primary")),I=r(37679),F=r(2719),N=r(40260),V=r(37484),W=r(17354),q=r(88324),B=r(13622),H=r(75314),Y=r(62084),X=r(33476),G=r(45624);let K=({headerContent:e,mainContent:t,asideContent:r})=>(0,n.jsxs)(G.F,{children:[(0,n.jsx)(p,{main:e,aside:r}),(0,n.jsx)(h.A,{content:t})]}),J=[{type:"meta",area:"top",Component:N.A},{type:"badges",area:"top",Component:I.A},{type:"headline",area:"top",Component:F.A},{type:"subscriberAccessInfo",area:"top",Component:H.A},{type:"archive_images",area:"aside",Component:f.A,validator:e=>!("video"in e)||null==e.video},{type:"video",area:"top",Component:X.A},{type:"sponsor_box",area:"main",Component:W.A},{type:"preamble",area:"top",Component:({content:e})=>(0,n.jsx)(l.az,{pl:0,pr:0,ml:0,mt:{md:0,sm:"1rem"},children:(0,n.jsx)(l.EY,{children:e})})},{type:"opinionDisclaimer",area:"main",Component:V.A,validator:e=>(0,d.Ns)(e)},{type:"stackedArticleTrigger",area:"main",Component:q.A},{type:"story",area:"main",Component:B.A},{type:"topics",area:"main",Component:Y.A},{type:"paywall",area:"main",Component:o.A},{type:"auction",area:"main",Component:({article:e})=>{let[t,r]=(0,g.useState)(null),s=(0,b.useRouter)(),{auction:a}=e??{},o=(0,v.P)(s.query.ordering)||"auction_number",i=(0,g.useCallback)(e=>{r(t=>e===t?null:e)},[]),d=(0,g.useMemo)(()=>a&&a.horses?[...a.horses].sort((e,t)=>{let r=o.replace("_desc","");if(e[r]===t[r])return 0;let n=o.endsWith("_desc")?-1:1;return"auction_number"===r?n*(Number.parseInt(e[r])>Number.parseInt(t[r])?1:-1):n*((e[r]??"")>(t[r]??"")?1:-1)}):[],[o,a]);return a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.Vw,{between:"1","data-no-between":"true",children:[(0,n.jsxs)(j.A,{children:[(0,n.jsx)(_.A,{label:"S\xe5lda h\xe4star",children:a.statistics.sold}),(0,n.jsx)(_.A,{label:"Snittpris",divider:!0,children:(0,n.jsx)(y.v0,{value:a.statistics.price_average,unit:"main"})}),(0,n.jsx)(_.A,{label:"Medianpris",divider:!0,children:(0,n.jsx)(y.v0,{value:a.statistics.price_median,unit:"main"})}
1),(0,n.jsxs)(_.A,{label:"F\xf6rs\xe4ljningsprocent",divider:!0,children:[a.statistics.sold_percent,"%"]})]}),(0,n.jsxs)(j.A,{children:[(0,n.jsx)(_.A,{label:"Toppris",children:(0,n.jsx)(y.v0,{value:a.statistics.price_max,unit:"main"})}),(0,n.jsx)(_.A,{label:"Antal \xe5terrop",divider:!0,children:a.statistics.recall??0}),(0,n.jsx)(_.A,{label:"Hingst med h\xf6gst snittpris",flex:2.35,divider:!0,children:a.statistics.stallion_average_max})]})]}),(0,n.jsxs)(k,{children:[(0,n.jsx)(l.az,{as:"thead",bg:"slate",color:"white",children:(0,n.jsxs)(l.az,{as:"tr",children:[(0,n.jsx)(M,{value:"Nr",name:"auction_number",pl:"2",order:o}),(0,n.jsx)(M,{value:"Namn",name:"horse_name",order:o}),(0,n.jsx)(M,{value:"F\xf6dd",name:"horse_birthyear",order:o,display:["none",null,"table-cell"]}),(0,n.jsx)(M,{value:"K\xf6n",name:"horse_sex",order:o,display:["none",null,"table-cell"]}),(0,n.jsx)(M,{value:"Far",name:"horse_father",order:o,display:["none",null,"table-cell"]}),(0,n.jsx)(M,{value:"Mor",name:"horse_mother",order:o,display:["none",null,"table-cell"]}),(0,n.jsx)(M,{value:"Morfar",name:"horse_grandfather",order:o,display:["none",null,"table-cell"]}),(0,n.jsx)(M,{value:"Slutpris",name:"horse_price",pr:"2",textAlign:"right",order:o})]})}),(0,n.jsx)(L,{as:"tbody",children:d.map((e,r)=>(0,n.jsxs)(g.Fragment,{children:[(0,n.jsxs)(l.kD,{as:"tr",bg:"white",boxShadow:"0 -1px 0 0 #DDDDDD",tabIndex:0,sx:{cursor:["pointer",null,"inherit"]},onClick:()=>i(e.auction_number),children:[(0,n.jsx)(D,{pl:"2",value:e.auction_number,bold:!0}),(0,n.jsx)(D,{value:e.horse_name,bold:!0}),(0,n.jsx)(D,{display:["none",null,"table-cell"],value:e.horse_birthyear}),(0,n.jsx)(D,{display:["none",null,"table-cell"],value:e.horse_sex}),(0,n.jsx)(D,{display:["none",null,"table-cell"],value:e.horse_father}),(0,n.jsx)(D,{display:["none",null,"table-cell"],value:e.horse_mother}),(0,n.jsx)(D,{display:["none",null,"table-cell"],value:e.horse_grandfather}),(0,n.jsx)(D,{pr:"2",bold:!0,value:"sold"===e.status&&null!=e.horse_price?(0,n.jsx)(y.v0,{value:e.horse_price,unit:"main"}):"-",textAlign:"right"})]}),(0,n.jsxs)(l.kD,{as:"tr",display:["none",null,"table-row"],color:"greys.5",boxShadow:"0 1px 0 0 #DDDDDD",children:[(0,n.jsx)(D,{}),(0,n.jsxs)(D,{colSpan:7,py:"2",children:[(0,n.jsx)(l.Xq,{color:"greys.3",mr:"3",fontWeight:"bold",children:"K\xf6pare"}),(0,n.jsx)(l.Xq,{color:"greys.3",children:"sold"===e.status?e.horse_buyer:R[e.status]})]})]}),(0,n.jsx)(l.kD,{as:"tr",display:[t===e.auction_number?"table-row":"none",null,"none"],color:"greys.5",boxShadow:"0 -1px 0 0 #DDDDDD",children:(0,n.jsx)(l.az,{as:"td",py:"3",px:"2",colSpan:8,children:(0,n.jsx)(l.az,{as:"table",width:"100%",sx:{"* + * td":{paddingTop:1}},children:(0,n.jsx)(l.az,{as:"tbody",children:[["F\xf6dd",e.horse_birthyear],["K\xf6n",e.horse_sex],["Far",e.horse_father],["Mor",e.horse_mother],["Morfar",e.horse_grandfather],["K\xf6pare",e.horse_buyer]].map(([e,t])=>(0,n.jsxs)(l.az,{as:"tr",children:[(0,n.jsx)(l.EY,{as:"td",fontWeight:"bold",children:e}),(0,n.jsx)(l.EY,{as:"td",textAlign:"right",children:t})]},e))})})})})]},`horse${r}`))})]})]}):null}}],U=({slug:e})=>(0,n.jsx)(c.n9,{slug:e,components:J,PageLayout:K,placeholderType:i.Lx.NEWS_ARTICLE});U.getLayout=e=>(0,n.jsx)(a.A,{children:(0,n.jsx)(s.A,{showPanorama:!0,children:e})});let Z=(0,c.JU)(U)},88324:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),l=r(54348),s=r(83322),a=r(14232),o=r(40625),i=r(93293),d=r(88454);let c=({content:e})=>{let t=(0,i.j)(),[r,c]=(0,o.Wx)({threshold:0}),u=(0,s.ZC)(c);return(0,a.useEffect)(()=>{c&&!u&&t((0,d.rR)({index:e}))},[c,u,t,e]),(0,n.jsx)(l.az,{ref:r,height:"1px","data-no-between":"true"})}},97225:(e,t,r)=>{"use strict";e.exports=r(70789)},97816:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(37876),l=r(54348),s=r(20817),a=r(83322),o=r(14232),i=r(77232),d=r(58481),c=r(77527);let u=()=>{let{breakpoints:e}=(0,i.DP)(),t=Number.parseInt(e.xl,10),r=(0,o.useRef)((0,c._)()),[s,u]=(0,o.useState)(null!=r.current&&r.current?.width>=t),p=(0,o.useCallback)(()=>{r.current=(0,c._)(),u(null!=r.current&&r.current?.width>=t)},[t]);return((0,a.Vk)("resize",p),s)?(0,n.jsx)(l.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,n.jsx)(d.A,{placement:e,showLabel:0===t},e))}):null},p=({children:e,showPanorama:t=!1})=>(0,n.jsx)(l.mc,{pt:"siteMainTopPadding",pb:"siteMainBottomPadding",children:(0,n.jsxs)(l.pT,{flexDirection:{xl:"row"},children:[(0,n.jsxs)(l.az,{flex:{_:"0 0 100%",xl:"1 1 0%"},maxWidth:"columns.mainLarge",children:[t&&(0,n.jsx)(l.az,{mb:{_:"3,5",lg:4},children:(0,n.jsx)(d.A,{placement:"Panorama"})}),e]}),(0,n.jsx)(l.az,{display:{_:"none",xl:"block"},width:{xl:"columns.outsider"},ml:{lg:"auto"},children:(0,n.jsxs)(s.in,{children:[(0,n.jsx)(u,{}),(0,n.jsx)(l.Xt,{offsetTop:"pageHeader.desktopRow2",pt:"3",children:(0,n.jsx)(d.A,{placement:"Sticky"})})]})})]})})}},e=>{e.O(0,[1242,150,9004,3646,636,6593,8792],()=>e(e.s=67170)),_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.