PageSourceSearch

https://www.travronden.se/_next/static/chunks/pages/tagg/[slug]-ede16a596c2c24ec.js

js travronden.se collected 2026-10-02 13:02:15 UTC 7,599 bytes, 1 lines download raw bytes

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]="0e013b0a-8ac3-498d-ac52-5ec6c8c62752",e._sentryDebugIdIdentifier="sentry-dbid-0e013b0a-8ac3-498d-ac52-5ec6c8c62752")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7829],{8091:(e,t,r)=>{"use strict";r.d(t,{I:()=>o,u:()=>a});var n=r(30195);let a=(e,t)=>null!=e?`Nyheter, information, fakta och reportage om ${e}${null!=t?`, ${t}`:""}.`:null,o=(e,t)=>{if(void 0===t)return;let r=(0,n.S3)(t);if(null!=r)return e[r]}},15765:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(89099),a=r(14232);let o=()=>{let{push:e}=(0,n.useRouter)();return(0,a.useCallback)(t=>{let r=null,n=t.target;for(;null!=n&&n!==t.currentTarget;){if("A"===n.tagName){r=n;break}n=n.parentNode}r&&r.href.startsWith("https://www.travronden.se")&&(t.preventDefault(),e(r.href.replace("https://www.travronden.se","")))},[e])}},19116:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tagg/[slug]",function(){return r(67581)}])},23520:(e,t,r)=>{"use strict";var n=r(97225),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?l:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=l;var i=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var a=y(r);a&&a!==p&&e(t,a,n)}var l=c(r);f&&(l=l.concat(f(r)));for(var s=u(t),m=u(r),b=0;b<l.length;++b){var g=l[b];if(!o[g]&&!(n&&n[g])&&!(m&&m[g])&&!(s&&s[g])){var h=d(r,g);try{i(t,g,h)}catch(e){}}}}return t}},45860:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),a=r(54348);let o=({headline:e,children:t})=>(0,n.jsxs)(a.Vw,{as:"header",between:"5",after:{_:6,md:8},children:[e&&(0,n.jsx)(a.H1,{children:e}),t]})},67581:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(37876),a=r(14232),o=r(32149),l=r(69936),s=r(81102),u=r(41858),i=r(45860),c=r(70299),f=r(94967),d=r(54230),y=r(8091);let p={driver:"travkusk",trainer:"travtr\xe4nare",horse:"travh\xe4st",track:"travbana"},m=(0,l.h)(({listData:e})=>{let[t,r,l]=function(e){if(null==e)return[null,null,null];let t=e.type in p?p[e.type]:null,r="text"in e&&"string"==typeof e.text&&e.text.length>0?e.text:e.name&&null!=t?(0,y.u)(e.name,t):null;return[e.name,`L\xe4s mer om ${e.name}`,r]}(e.data?.meta?.tag);return(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)(o.A,{title:t??void 0}),(0,n.jsx)(c.R,{header:(0,n.jsx)(i.A,{headline:r??"",children:null!=l&&(0,n.jsx)(f.A,{content:l})}),listData:e,renderFirstItem:e=>(0,n.jsx)(u.A,{article:e},e.id),renderItem:e=>(0,n.jsx)(s.A,{article:e},e.id)})]})},e=>{let t=(0,d.P)(e.query.slug);return t?{tag:t}:null})},69936:(e,t,r)=>{"use strict";r.d(t,{h:()=>g});var n=r(37876),a=r(97816),o=r(92478),l=r(79578),s=r(40059),u=r(56738),i=r(37351),c=r(11971),f=r(32881),d=r(16761),y=r(54230),p=r(88454);let m=e=>(0,n.jsx)(o.A,{children:(0,n.jsx)(a.A,{showPanorama:!0,children:e})});function b(e){return"type"in e&&"latest_news"===e.type}let g=(e,t)=>{let r=t=>{let{stateKey:r,filters:a={},query:o,asPath:l}=t,s=(0,u.A)(r,a,{loadData:!1}),c=b(a)?(0,y.P)(o.slug)??null:null,f=(0,i.a$)(c)||{},d=((e,t)=>{if(!t.data)return e;if(e.fetching||t.fetching)return{...e,fetching:!0};let r=e.data?.results??[];return{...e,data:e.data?{...e.data,results:[t.data,...r]}:void 0}})(s,f);return(0,n.jsx)(e,{listData:d,hasSingleArticleData:!!f.data,asPath:l,query:o})};return r.getInitialProps=(0,f.A)((e,r)=>{let{res:n,query:a,asPath:o,pathname:s}=r,u=t(r);if(null==u)return{error:new d.m_,stateKey:"",query:a};let i=(0,y.P)(a.slug),f={offset:0,limit:20,exclude_slug:b(u)?i:void 0,...u},p=`listpage${Object.keys(f).filter(e=>"limit"!==e&&"offset"!==e).reduce((e,t)=>
1`${e}/${t}:${String(f[t])}`,"")}`;return e.dispatch((0,l.p)(p,f)),b(u)&&i&&o&&e.dispatch((0,c.qu)({asPath:o,pathname:s,slug:i,suppressRedirect:!0})),null!=n&&n.setHeader("Cache-Control","public, s-maxage=180, stale-while-revalidate=900"),{filters:f,stateKey:p,query:a,asPath:o}},(0,s.uo)(),(e,t)=>{let r=t.filters&&b(t.filters)?(0,y.P)(t.query?.slug):null;return null==r?{fetching:!1}:(0,p.xA)(e,{slug:r})}),r.getLayout=m,r}},70789:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,i=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,h=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,$=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case o:case s:case l:case y:return e;default:switch(e=e&&e.$$typeof){case i:case d:case b:case m:case u:return e;default:return t}}case a:return t}}}function x(e){return w(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=i,t.ContextProvider=u,t.Element=n,t.ForwardRef=d,t.Fragment=o,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=l,t.Suspense=y,t.isAsyncMode=function(e){return x(e)||w(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===i},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===y},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===l||e===y||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===i||e.$$typeof===d||e.$$typeof===h||e.$$typeof===v||e.$$typeof===$||e.$$typeof===g)},t.typeOf=w},87287:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),a=r(42306),o=r(15765);let l=({html:e,variant:t="default",between:r=4})=>{let l=(0,o.A)();return(0,n.jsx)(a.Ed,{html:e,variant:t,between:r,onClickCapture:l})}},94967:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),a=r(87287);let o=({content:e})=>(0,n.jsx)(a.A,{html:e})},97225:(e,t,r)=>{"use strict";e.exports=r(70789)}},e=>{e.O(0,[9004,3246,636,6593,8792],()=>e(e.s=19116)),_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.