PageSourceSearch

https://www.janakkalansanomat.fi/_next/static/chunks/1469-ecfb903bb465ad7b.js

js janakkalansanomat.fi collected 2026-09-25 00:51:50 UTC 12,585 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1469],{9223:(e,t,a)=>{a.d(t,{z:()=>r});var s=a(27964),n=a(14232);let r=()=>{let e,t,a,r=(0,s.c)(5),[i,l]=(0,n.useState)(!1);r[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{l(!0)},t=[],r[0]=e,r[1]=t):(e=r[0],t=r[1]),(0,n.useEffect)(e,t);let o=!i;return r[2]!==i||r[3]!==o?(a={hydrated:i,firstPageLoad:o},r[2]=i,r[3]=o,r[4]=a):a=r[4],a}},14236:(e,t,a)=>{a.d(t,{n:()=>v});var s=a(27964),n=a(72848),r=a(23191),i=a(18858),l=a(63593),o=a(92739),c=a(38679),u=a(59404),d=a(51144),m=a(14232),f=a(12139),g=a(2200),h=a(74730);let v=e=>{let t,a,g,v,S,y,b,x,P,w=(0,s.c)(27),{adSetup:j,paidArticleLoaded:k,liveArticleLoaded:E}=e,{userProfile:_}=(0,o.sb)(),D=(0,c.d)(),{useInkBridge:I}=(0,l.g$)(),U=(0,m.useRef)(!1),{"html.ads.enabled":N,"html.cop.funnel":F}=(0,i.R7)(),T=(0,n.P)(),{environment:A}=(0,r.U)();w[0]!==T||w[1]!==F||w[2]!==A?(t=(0,h.kc)(T,A,F),w[0]=T,w[1]=F,w[2]=A,w[3]=t):t=w[3];let L=t,O=null==j?void 0:j.adPositionsOnPage,R=null==j?void 0:j.metadata,M=null==j?void 0:j.isFirstPageLoad,[z,C]=(0,m.useState)(!1);w[4]!==(null==j?void 0:j.pageDataStatus)?(a=()=>{(null==j?void 0:j.pageDataStatus)===u.n.Success&&C(!0)},w[4]=null==j?void 0:j.pageDataStatus,w[5]=a):a=w[5];let W=null==j?void 0:j.pageDataStatus;return w[6]!==W?(g=[W],w[6]=W,w[7]=g):g=w[7],(0,m.useEffect)(a,g),(null==j?void 0:j.pageDataStatus)!==u.n.Success&&z&&C(!1),w[8]!==z||w[9]!==O||w[10]!==R||w[11]!==N||w[12]!==T||w[13]!==L||w[14]!==A||w[15]!==D||w[16]!==M||w[17]!==I||w[18]!==_?(v=()=>{if(void 0===O||void 0===R||void 0===M)return;let e=_.authenticationStatus===d.J.Unauthenticated||_.authenticationStatus===d.J.Authenticated,t=M&&!U.current||!M;N&&z&&e&&(!I||D)&&t&&((0,f.H)({userProfile:_,brand:T,environment:A,useInkBridge:I,inkDeviceUserData:D,ccmCopFunnelUrl:L},R),U.current=!0,O.forEach(p))},S=[z,O,R,M,N,T,L,A,D,I,_],w[8]=z,w[9]=O,w[10]=R,w[11]=N,w[12]=T,w[13]=L,w[14]=A,w[15]=D,w[16]=M,w[17]=I,w[18]=_,w[19]=v,w[20]=S):(v=w[19],S=w[20]),(0,m.useEffect)(v,S),w[21]!==k?(y=()=>{k&&(0,f.z)("paid-article-content-loaded")},b=[k],w[21]=k,w[22]=y,w[23]=b):(y=w[22],b=w[23]),(0,m.useEffect)(y,b),w[24]!==E?(P=()=>{E&&(0,f.z)("live-article-content-loaded")},x=[E],w[24]=E,w[25]=x,w[26]=P):(x=w[25],P=w[26]),(0,m.useEffect)(P,x),null};function p(e){(0,g.ZD)(e)}},32614:(e,t,a)=>{a.d(t,{a:()=>r});var s=a(27964),n=a(14232);let r=()=>{let e,t,a=(0,s.c)(2),r=(0,n.useRef)(!1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>(r.current=!0,function(){r.current=!1}),t=[],a[0]=e,a[1]=t):(e=a[0],t=a[1]),(0,n.useEffect)(e,t),r}},41951:(e,t,a)=>{a.d(t,{p:()=>h});var s=a(72848),n=a(23191),r=a(20952),i=a(63593),l=a(92739),o=a(56905),c=a(14232),u=a(71497),d=a(96078),m=a(32614),f=a(38679);let g="paywallFunnelSessionID",h=()=>{let e=(0,s.P)(),t=(0,n.U)(),a=(0,r.p)(),h=(0,f.d)(),{platform:v}=(0,i.g$)(),{userProfile:p,userIds:S}=(0,l.sb)(),y=t["hosts.er.whitelabel"],b=(0,m.a)();return(0,c.useCallback)(async(t,s)=>{if(!b.current||!y)return;let n={core:{brand:e,source:o.k.Other,visitID:(0,d.h9)(),nodeID:a.nodeId,user:(0,u.gL)(p,S),device:(0,u.NW)(v,h)},paywallfunnel:{...t,paywallFunnelSessionID:(()=>{let e=sessionStorage.getItem(g);if(e)return e;let t="pf-session-".concat(crypto.randomUUID());return sessionStorage.setItem(g,t),t})()},asset:s};return(0,u.Xz)(y,"/v2/paywallfunnel",n,e)},[e,y,b,a.nodeId,v,S,p,h])}},42910:(e,t,a)=>{a.d(t,{M:()=>o});var s=a(27964),n=a(72848),r=a(61127),i=a(14232),l=a(59712);let o=e=>{let t,a,o,c,u=(0,s.c)(11),d=(0,n.P)(),{getBrazeFeatureFlag:m,brazeFeatureFlagsUpToDate:f,shouldLoadBraze:g}=(0,r.ml)();
1if(u[0]!==d||u[1]!==m){let e=m("sndp.".concat(d,".puomi-paywall-target-group"));t=(null==e?void 0:e.getStringProperty("targetGroup"))||void 0,u[0]=d,u[1]=m,u[2]=t}else t=u[2];let h=t,v=!1===g||!0===g&&f,[p,S]=(0,i.useState)(!1);u[3]!==d||u[4]!==v||u[5]!==e?(a=()=>{if(v||e)return;let t=setTimeout(()=>{S(!0),(0,l.Xo)("feature flag timeout","sndp.".concat(d,".puomi-paywall-target-group"))},500);return()=>clearTimeout(t)},o=[v,e,d],u[3]=d,u[4]=v,u[5]=e,u[6]=a,u[7]=o):(a=u[6],o=u[7]),(0,i.useEffect)(a,o);let y=v||p,b=y&&!p?h:void 0;return u[8]!==y||u[9]!==b?(c={brazeTargetGroup:b,isReady:y},u[8]=y,u[9]=b,u[10]=c):c=u[10],c}},43751:(e,t,a)=>{a.d(t,{L:()=>w,j:()=>P});var s=a(37876),n=a(27964),r=a(72848),i=a(23191),l=a(18858),o=a(63593),c=a(92739),u=a(51144),d=a(14232),m=a(68684),f=a(32214),g=a(41116),h=a.n(g),v=a(59712),p=a(35990),S=a(74730);let y=e=>{let t,a,i,o,c,u,m,g=(0,n.c)(17),{setUnauthenticatedUserProfileWithCache:y,sanomaSSOHost:b}=e,x=(0,r.P)(),P=(0,l.R7)(),[w,j]=(0,d.useState)(!0);return g[0]!==w||g[1]!==b||g[2]!==y?(t=()=>{let e=e=>{e.origin===b&&"ssoWidgetDismissed"===e.data&&(j(!1),(0,p.Xv)(),t(),y())},t=()=>{window.removeEventListener("message",e)};return w&&window.addEventListener("message",e),()=>{t()}},a=[w,y,j,b],g[0]=w,g[1]=b,g[2]=y,g[3]=t,g[4]=a):(t=g[3],a=g[4]),(0,d.useEffect)(t,a),g[5]!==y?(i=()=>{j(!1),y(),(0,v.rK)()},g[5]=y,g[6]=i):i=g[6],g[7]!==x||g[8]!==P?(o=(0,S.II)(x,P),g[7]=x,g[8]=P,g[9]=o):o=g[9],g[10]===Symbol.for("react.memo_cache_sentinel")?(c={checkOrigin:!1},g[10]=c):c=g[10],g[11]!==o?(u=(0,s.jsx)(f.h,{title:"Kirjaudu sis\xe4\xe4n",src:o,showSpinner:!0,resizeOptions:c,className:"sso-iframe-container min-w-minSiteWidth sm:min-w-[500px]"}),g[11]=o,g[12]=u):u=g[12],g[13]!==w||g[14]!==i||g[15]!==u?(m=(0,s.jsx)(h(),{isOpen:w,onRequestClose:i,className:"xs:mx-nof-8 sm:mt-nof-24 mt-nof-8 justify-center overflow-y-auto outline-hidden",overlayClassName:"flex flex-col items-center w-full fixed inset-0 bg-black-opacity",children:u}),g[13]=w,g[14]=i,g[15]=u,g[16]=m):m=g[16],m};var b=a(71152);let x=e=>{let{sessionTestStatus:t,setSessionTestStatus:a,setUnauthenticatedUserProfileWithCache:n,sanomaSSOHost:r,brand:i,configProperties:l}=e,o=(0,d.useRef)(null),c="".concat(r,"/session-test");return(0,d.useEffect)(()=>{let e=()=>{window.removeEventListener("message",t),null!==o.current&&clearTimeout(o.current)},t=t=>{if(t.origin===r)switch(t.data){case"sso-session-test-success":(0,b.F2)()?a(P.Success):window.location.href=(0,S.ZX)(i,l,{targetQueryParams:{fromAWB:"true"}}),e();break;case"sso-session-test-failure":a(P.Failure),e(),n();break;default:return}};return window.addEventListener("message",t),a(P.InProgress),null!=o.current||(o.current=setTimeout(()=>{a(P.Failure),e(),n()},1e4)),()=>{e(),null!==o.current&&clearTimeout(o.current)}},[n,r,a,i,l]),(0,s.jsx)(s.Fragment,{children:t===P.InProgress&&(0,s.jsx)("iframe",{title:"Session test","aria-hidden":"true",src:c})})},P={NotAsked:"NotAsked",InProgress:"Progress",Success:"Success",Failure:"Failure"},w=()=>{var e;let t=(0,n.c)(1),a=(0,l.R7)(),{enableAutoWelcomeBack:r}=(0,o.g$)(),i=r&&!0===(null!=(e=a["html.autowelcomeback.enabled"])&&e),{userProfile:d}=(0,c.sb)();if(!i||d.authenticationStatus!==u.J.AutoWelcomeBack)return null;{let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.jsx)(j,{}),t[0]=e):e=t[0],e}},j=()=>{let e,t,a,o,f=(0,n.c)(17),[g,h]=(0,d.useState)(P.NotAsked),{setUserProfile:v}=(0,c.sb)(),p=(0,r.P)(),S=(0,l.R7)(),{environment:b,"hosts.sanomaSSO":w}=(0,i.U)();f[0]!==p||f[1]!==b||f[2]!==v?(e=()=>{(0,m.Hf)(p,b,!1,!1),v({authenticationStatus:u.J.Unauthenticated})},f[0]=p,f[1]=b,f[2]=v,f[3]=e):e=f[3];let j=e;return f[4]!==p||f[5]!==S||f[6]!==w||f[7]!==g||f[8]!==j?(t=(g===P.InProgress||g===P.NotAsked)&&(0,s.jsx)(x,{sessionTestStatus:g,setSessionTestStatus:h,setUnauthenticatedUserProfileWithCache:j,sanomaSSOHost:w,brand:p,configProperties:S}),f[4]=p,f[5]=S,f[6]=w,f[7]=g,f[8]=j,f[9]=t):t=f[9],f[10]!==w||f[11]!==g||f[12]!==j?(a=g===P.Success&&(0,s.jsx)(y,{setUnauthenticatedUserProfileWithCache:j,sanomaSSOHost:w}),f[10]=w,f[11]=g,f[12]=j,f[13]=a):a=f[13],f[14]!==t||f[15]!==a?(o=(0,s.jsxs)(s.Fragment,{children:[t,a]}),f[14]=t,f[15]=a,f[16]=o):o=f[16],o}},71469:(e,t,a)=>{a.d(t,{t:()=>L});var s=a(37876),n=a(27964),r=a(43751),i=a(48943),l=a(14236),o=a(72872),c=a(93801),u=a(28400),d=a(46190),m=a(67701),f=a(
172848),g=a(61127),h=a(23191),v=a(18858),p=a(63593),S=a(59575),y=a(92739),b=a(41951),x=a(9223),P=a(42910);let w="success";var j=a(33399),k=a(59404),E=a(89099),_=a(14232),D=a(85933),I=a(59712),U=a(60697),N=a(89384),F=a(96078),T=a(68646),A=a(74730);let L=e=>{let t,a,L,O,R,M,z,C,W,H,X,$,B,J,K,G,V,Z,q,Q,Y=(0,n.c)(62),{campaignId:ee,platform:et,seoResult:ea,canonicalUrl:es}=e,en=(0,f.P)(),er=(0,h.U)(),ei=(0,v.R7)(),{isDarkMode:el}=(0,S.DP)(),[eo,ec]=(0,_.useState)(k.n.NotAsked),{getValidSessionToken:eu,userProfile:ed}=(0,y.sb)(),{renderHeader:em,useInkAuth:ef}=(0,p.g$)(),{handleBrazeCustomEvent:eg}=(0,g.ml)(),eh=(0,b.p)();Y[0]!==ed.authenticationStatus?(t=(0,T.FH)(ed.authenticationStatus),Y[0]=ed.authenticationStatus,Y[1]=t):t=Y[1];let ev=t,{brazeTargetGroup:ep,isReady:eS}=(0,P.M)(ev===D.kj.Pending),{firstPageLoad:ey}=(0,x.z)();Y[2]!==ef?(a=(e,t)=>{(0,I.q4)(e,ef,t)},Y[2]=ef,Y[3]=a):a=Y[3];let eb=a;Y[4]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{ec(k.n.Success)},Y[4]=L):L=Y[4],Y[5]!==eo?(O=[eo],Y[5]=eo,Y[6]=O):O=Y[6],(0,_.useEffect)(L,O);let ex=(0,E.useRouter)(),eP=ea.type===w?ea.seoMetadata:void 0;if(Y[7]!==en||Y[8]!==(null==eP?void 0:eP.title)){var ew;R=null!=(ew=null==eP?void 0:eP.title)?ew:"Tilausvalikoima | ".concat((0,U.w9)(en)),Y[7]=en,Y[8]=null==eP?void 0:eP.title,Y[9]=R}else R=Y[9];let ej=R,ek=et!==j.OD.Web||ea.type!==w||(null==eP?void 0:eP.allowSearchEngineIndexing)===!1;Y[10]===Symbol.for("react.memo_cache_sentinel")?(M={},z={},Y[10]=M,Y[11]=z):(M=Y[10],z=Y[11]),Y[12]!==et?(C={...et===j.OD.iOS?{is_cop_subscription_funnel:"true"}:{}},Y[12]=et,Y[13]=C):C=Y[13];let eE=null==eP?void 0:eP.seoDescription;Y[14]!==es||Y[15]!==eE||Y[16]!==ej?(W={shareTitle:ej,shareUrl:es,description:eE},Y[14]=es,Y[15]=eE,Y[16]=ej,Y[17]=W):W=Y[17],Y[18]!==ek?(H=ek?{googleBot:"noindex, nofollow, noarchive"}:void 0,Y[18]=ek,Y[19]=H):H=Y[19],Y[20]!==W||Y[21]!==H||Y[22]!==C?(X={analyticsMetadata:M,analyticsMetadataV2:z,adMetadata:C,nodeUrl:"",nodeId:0,sharingMetadata:W,headMetadata:H},Y[20]=W,Y[21]=H,Y[22]=C,Y[23]=X):X=Y[23];let e_=X;return Y[24]!==e_||Y[25]!==ej?($=(0,s.jsx)(i.y,{metadata:e_,title:ej}),Y[24]=e_,Y[25]=ej,Y[26]=$):$=Y[26],Y[27]!==ex.asPath?(B={isStickyHeaderVisible:!1,setIsStickyHeaderVisible:N.t,currentPath:ex.asPath,addAdPositionOnPage:N.t,pageSectionTheme:void 0},Y[27]=ex.asPath,Y[28]=B):B=Y[28],Y[29]!==em?(J=em&&(0,s.jsx)(c.Y9,{renderNavBar:!1}),Y[29]=em,Y[30]=J):J=Y[30],Y[31]!==ev||Y[32]!==en||Y[33]!==ep||Y[34]!==ee||Y[35]!==er||Y[36]!==ei||Y[37]!==eu||Y[38]!==eg||Y[39]!==eb||Y[40]!==eh||Y[41]!==eS||Y[42]!==el||Y[43]!==et||Y[44]!==ea.type?(K="not-found"===ea.type?(0,s.jsx)(o.K,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Y,{children:(0,s.jsx)(r.L,{})}),eS&&(0,s.jsx)(D.QT,{env:(0,T.AR)(er),brand:en,campaignId:ee,isDarkMode:el,authState:ev,loginUrl:(0,A.ZX)(en,ei),registerUrl:(0,A.Ln)(en,ei),getJwtToken:eu,platform:et,brazeTargetGroup:ep,p2pDecile:(0,F.Wc)(),onBrazeCustomEvent:eg,onCDPAnalyticsEvent:eb,onEventRelayEvent:eh})]}),Y[31]=ev,Y[32]=en,Y[33]=ep,Y[34]=ee,Y[35]=er,Y[36]=ei,Y[37]=eu,Y[38]=eg,Y[39]=eb,Y[40]=eh,Y[41]=eS,Y[42]=el,Y[43]=et,Y[44]=ea.type,Y[45]=K):K=Y[45],Y[46]!==B||Y[47]!==J||Y[48]!==K?(G=(0,s.jsxs)(m.m,{appState:B,children:[J,K]}),Y[46]=B,Y[47]=J,Y[48]=K,Y[49]=G):G=Y[49],Y[50]!==e_?(V=(0,s.jsx)(d.X,{metadata:e_}),Y[50]=e_,Y[51]=V):V=Y[51],Y[52]===Symbol.for("react.memo_cache_sentinel")?(Z=[],Y[52]=Z):Z=Y[52],Y[53]!==ey||Y[54]!==e_||Y[55]!==eo?(q=(0,s.jsx)(l.n,{adSetup:{adPositionsOnPage:Z,pageDataStatus:eo,isFirstPageLoad:ey,metadata:e_},paidArticleLoaded:!1,liveArticleLoaded:!1}),Y[53]=ey,Y[54]=e_,Y[55]=eo,Y[56]=q):q=Y[56],Y[57]!==$||Y[58]!==G||Y[59]!==V||Y[60]!==q?(Q=(0,s.jsxs)(s.Fragment,{children:[$,G,V,q]}),Y[57]=$,Y[58]=G,Y[59]=V,Y[60]=q,Y[61]=Q):Q=Y[61],Q}},72872:(e,t,a)=>{a.d(t,{K:()=>o});var s=a(37876),n=a(27964),r=a(15039),i=a.n(r),l=a(7982);let o=e=>{let t,a,r,o,c=(0,n.c)(11),{id:u,className:d,primaryMessage:m,secondaryMessage:f}=e,g=void 0===m?"Sivua ei l\xf6ydy":m,h=void 0===f?"Hakemaasi sivua ei l\xf6ytynyt.":f;return c[0]!==d?(t=i()("text-nof-foreground-primary","flex","flex-col","items-center","my-32",d),c[0]=d,c[1]=t):t=c[1],c[2]!==g?(a=(0,s.jsx)(l.$,{level:"h1",className:"nof-component-article-title-m-mobile text-nof-foreground-primary sm:nof-component-article-title-m-desktop text-brand-1 mb-(--article-m-title-margin-bottom)",title:g}),c[2]=g,c[3]=a):a=c[3],c[4]!==h?(r=(0,s.jsx)(l.$,{level:"h2",className:"nof-ui-body-medium",title:h}),c[4]=h,c[5]=r):r=c[5],c[6]!==u||c[7]!==t||c[8]!==a||c[9]!==r?(o=(0,s.jsxs)("article",{"data-id":u,className:t,children:[a,r]}),c[6]=u,c[7]=t,c[8]=a,c[9]=r,c[10]=o):o=c[10],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.