PageSourceSearch

https://nextjs.onthesnow.com/_next/static/chunks/7437-f881ab145b04f636.js

js onthesnow.com collected 2026-09-24 08:58:18 UTC 15,580 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7437],{20265:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},92451:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},10407:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},17e3:function(e,t,n){n.d(t,{N:function(){return s}});var r=n(57437),i=n(66856),l=n(19296),o=n(59191),a=n(27110),u=n(81851);let s=e=>{let{t}=(0,u.ZF)("common");return(0,r.jsx)(a.W2,{as:"section",width:"xl-only",className:"px-4 py-16 md:py-24",children:(0,r.jsxs)("div",{className:"mx-auto max-w-2xl space-y-6 text-center",children:[(0,r.jsx)(l.X,{level:1,children:t("common.dataError")}),(0,r.jsx)(o.x,{variant:"muted",children:t("common.dataErrorBody")}),(0,r.jsx)("div",{className:"pt-2",children:(0,r.jsx)(i.o,{})})]})})}},15670:function(e,t,n){n.d(t,{e:function(){return u}});var r=n(57437);n(2265);var i=n(27648),l=n(16010),o=n(19296),a=n(59191);let u=e=>{let{title:t,excerpt:n,image:u,category:s,date:c,href:d,external:m,headingLevel:h=3,className:g}=e,f=!!(s||c),p=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"aspect-[4/3] w-full overflow-hidden rounded-md bg-muted",children:u&&(0,r.jsx)("img",{src:u,alt:t,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition duration-300 group-hover:scale-[1.03]"})}),(0,r.jsxs)("div",{className:"mt-3",children:[f&&(0,r.jsxs)("div",{className:"mb-1.5 flex items-center gap-2 text-xs font-bold uppercase tracking-wider text-muted-foreground",children:[s&&(0,r.jsx)("span",{className:"text-primary",children:s}),s&&c&&(0,r.jsx)("span",{"aria-hidden":!0,children:"\xb7"}),c&&(0,r.jsx)("span",{children:c})]}),(0,r.jsx)(o.X,{level:h,className:"mb-1.5 font-heading text-lg font-bold leading-snug text-secondary group-hover:text-primary group-hover:underline underline-offset-2",children:t}),n&&(0,r.jsx)(a.x,{variant:"default",className:"line-clamp-2 text-sm text-muted-foreground",children:n})]})]});if(d){let e=(0,l.cn)("group block no-underline hover:no-underline",g);return m?(0,r.jsx)("a",{href:d,className:e,children:p}):(0,r.jsx)(i.default,{href:d,className:e,children:p})}return(0,r.jsx)("div",{className:(0,l.cn)("group block",g),children:p})}},59571:function(e,t,n){n.d(t,{p:function(){return b}});var r=n(57437),i=n(2265),l=n(81851),o=n(82258),a=n(31444),u=n(57973),s=n(19588),c=n(10466);let d="https://it.newsonthesnow.com/news/wp-content/themes/otstheme/images/default-img-skiinfo.jpg",m="https://it.newsonthesnow.com/news/wp-content/themes/otstheme/images/default-img.jpg",h={[c.I.EN_US]:m,[c.I.DE_DE]:d,[c.I.EN_GB]:m,[c.I.FR_FR]:d,[c.I.IT_IT]:d,[c.I.PL_P
1L]:d,[c.I.CS_CZ]:m,[c.I.SK_SK]:m,[c.I.ES_ES]:"",[c.I.DA_DK]:"",[c.I.NN_NO]:"",[c.I.NL_NL]:"",[c.I.SV_SE]:""},g=()=>h[(0,s.Kd)()];var f=n(15104),p=n(50037);let x=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:150,[l,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!p.DM){let i=()=>{if(e.current){let n=e.current.getBoundingClientRect(),i=n.y>-r&&n.y<window.innerHeight+r,l=n.y+n.height>-r&&n.y+n.height<window.innerHeight+r,a=i||l;t?o(e=>e||a):o(a)}else o(e=>(!e||!!t)&&e)};return window.addEventListener("scroll",i),window.addEventListener("resize",i),n||i(),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}}},[o]),l};var v=n(15670);let I=e=>{var t,n;let{news:l}=e,o=(0,i.useRef)(null),a=x(o,!0)?l.image||g():"",s=(0,f.ct)(l.title||""),c=(0,f.ct)(l.description||""),d=null===(n=l.categories)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.title,m=l.link||"";return(0,r.jsx)("div",{ref:o,className:"h-full",children:(0,r.jsx)(v.e,{title:s,excerpt:c,image:a,category:d,href:m,external:(0,u.Z)(m),className:"h-full"})})},b=e=>{let t,n,{title:i,news:u,weatherNews:s}=e,{t:c}=(0,l.ZF)("common");return s?(t=o.Z5.weather,n=c("snowWeather.home.viewAllWeatherNews")):i&&(t=o.Z5.magazine,n=c("common.loadMore")),(0,r.jsx)("section",{className:"mt-4 md:max-lg:px-4",children:(0,r.jsx)(a.R,{title:i,viewAllHref:t,viewAllLabel:n,children:u.map(e=>(0,r.jsx)(a.R.Item,{children:(0,r.jsx)(I,{news:e})},e.uuid))})})}},66856:function(e,t,n){n.d(t,{o:function(){return c}});var r=n(57437),i=n(2265),l=n(16010),o=n(81851),a=n(68484),u=n(53752),s=n(97407);let c=e=>{let{className:t,placeholder:n,searchQuery:c,clearSearchQuery:d}=e,{t:m}=(0,o.ZF)("common"),h=(0,u.z$)(),[g,f]=(0,i.useState)(!1),p=(0,i.useCallback)(()=>{new Promise(e=>{d&&d(),f(!g),g||h.searchBox(),e()}).then(()=>{(0,s.B)()}).catch(()=>{})},[g]);(0,i.useEffect)(()=>{f(!!c)},[c]);let x=(0,i.useCallback)(e=>null==e?void 0:e.preventDefault(),[]),v=(0,i.useCallback)(e=>null==e?void 0:e.target.blur(),[]);return(0,r.jsxs)(r.Fragment,{children:[g&&(0,r.jsx)(a.SearchPopup,{closePopup:p,query:c}),(0,r.jsxs)("form",{className:(0,l.cn)("relative mx-auto mb-[50px] w-3/5 max-xl:w-full",t),onSubmit:x,children:[(0,r.jsx)("input",{className:"block w-full h-[60px] bg-white opacity-[0.85] shadow-[0_15px_53px_rgba(0,0,0,0.23)] rounded-[9px] text-[1.009375rem] leading-[117%] text-[#576A85] px-[18px] py-5 border-0 outline-none max-md:h-[45px] max-md:rounded-[9px] max-md:text-xs max-md:text-[#1F1F1F] max-md:px-[13px] max-md:py-[14px] max-md:opacity-100",type:"text",placeholder:n||m("homePage.searchBarHelpText"),onClick:p,onFocus:v}),(0,r.jsx)("button",{type:"submit",className:"absolute top-[5px] right-[5px] min-w-[120px] h-[50px] bg-[#33B0D9] rounded-md font-medium text-sm leading-[117%] text-white border-0 max-md:min-w-[86px] max-md:h-[34px]",onClick:p,children:m("common.searchButton")})]})]})}},80734:function(e,t,n){n.d(t,{S9:function(){return d},WJ:function(){return c},oO:function(){return g},tQ:function(){return m}});var r=n(93360),i=n(38939),l=n(45766),o=n(81851),a=n(69919);let u={cmOrInch:{normalize:i.b4,i18nKey:{[l.n.METRIC]:"cm",[l.n.IMPERIAL]:"inch"}},cmOrInchShort:{normalize:i.b4,i18nKey:{[l.n.METRIC]:"cmShort",[l.n.IMPERIAL]:"inchShort"}},mOrFeet:{normalize:i.W4,i18nKey:{[l.n.METRIC]:"m",[l.n.IMPERIAL]:"feet"}},mOrFeetShort:{normalize:i.W4,i18nKey:{[l.n.METRIC]:"mShort",[l.n.IMPERIAL]:"feetShort"}},kmOrMile:{normalize:i.Zk,i18nKey:{[l.n.METRIC]:"km",[l.n.IMPERIAL]:"mile"}},acOrHa:{normalize:i.A1,i18nKey:{[l.n.METRIC]:"hectares",[l.n.IMPERIAL]:"acres"}},kmhOrMileh:{normalize:i.TZ,i18nKey:{[l.n.METRIC]:"kmph",[l.n.IMPERIAL]:"mph"}}},s={temperature:{normalize:i.jX,i18nKey:{[l.UJ.CELSIUS]:"celsius",[l.UJ.FAHRENHEIT]:"fahrenheit"}}},c=e=>{let{t}=(0,o.ZF)("unit"),{t:n}=(0,o.ZF)("common"),i=(0,r.eF)();return(r,l,o,a,s,c)=>{let d=(Array.isArray(r)?r:[r]).filter(e=>null!=e||!!c).filter((e,t,n)=>!s||0===t||n[t-1]!==e);return!d.length&&o?n(o):d.map((n,r)=>{if(null!=n){let l=u[e].normalize(n,i);return r===d.length-1||a?t(u[e].i18nKey[i],{count:l}):l}return c}).join(l||"")}},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temperature",{t}=(0,o.ZF)("unit"),{t:n}=(0,o.ZF)("common"),i=(0,r.VD)();return(r,l,o,a,u)=>{let c=(Array.isArray(r)?r:[r]).filter(e=>
1void 0!==e).filter((e,t,n)=>!u||0===t||n[t-1]!==e);return!c.length&&o?n(o):c.map((n,r)=>{let l=s[e].normalize(n,i);return r===c.length-1||a?t(s[e].i18nKey[i],{count:l}):l}).join(l||"")}},m=()=>c("cmOrInchShort"),h=e=>{let t=e.match(/^[0-9]+/);if(!t)return e;let n=e.slice(t[0].length);return Number(t[0]).toLocaleString([a.SP,"en-US"])+n},g=()=>{let e=c("mOrFeetShort");return t=>h(e(t))}},38939:function(e,t,n){n.d(t,{A1:function(){return y},TZ:function(){return w},W4:function(){return b},YL:function(){return c},Zk:function(){return E},b4:function(){return I},jX:function(){return v}});var r=n(45766);let i=e=>{if(!("number"==typeof e&&Number.isFinite(e))){try{let t=Number.parseFloat(e);if(Number.isFinite(t)&&!Number.isNaN(t))return t}catch(e){}return}return e},l=e=>.393700787*e,o=e=>3.2808399*e,a=e=>.621371192*e,u=e=>.404686*e,s=e=>.621371192*e,c=e=>3.6*e,d=e=>1.8*e+32,m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return t===r.n.METRIC?e:l(e)},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return t===r.n.METRIC?e:o(e)},g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return t===r.n.METRIC?e:a(e)},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return t===r.n.IMPERIAL?e:u(e)},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return t===r.n.METRIC?e:s(e)},x=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.n.METRIC,l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=i(e);if(void 0!==a){if(l)return Number(t(a,n).toFixed(1));let e=t(a,n);return o?Math.ceil(e):Math.round(e)}},v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.UJ.CELSIUS,n=i(e);if(void 0!==n)return t===r.UJ.FAHRENHEIT?Math.round(d(n)):Math.round(n)},I=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return x(e,m,t,2.5>Number(e),!1)},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return x(e,h,t)},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return x(e,g,t,!0)},y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return x(e,f,t)},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.n.METRIC;return x(e,p,t)}},60746:function(e,t,n){n.d(t,{ZP:function(){return m}});var r=n(57437),i=n(99376),l=n(2265),o=n(17e3),a=n(16788),u=n(21025),s=n(80712),c=n(53752),d=n(60128);function m(){var e;let t=null!==(e=(0,i.usePathname)())&&void 0!==e?e:"";return(0,l.useEffect)(()=>{var e;d.gd.error({tag:"400-page",message:"Page Error",data:{url:null===(e=n.g.location)||void 0===e?void 0:e.href,route:t}})},[t]),(0,r.jsx)(c.AnalyticsContext,{templateId:"1.2",templateName:"400 Page",children:(0,r.jsx)(a.h9,{adType:"other",adTKey:"error",children:(0,r.jsxs)("div",{style:{background:"#f4f5f5"},children:[(0,r.jsx)(u.e,{current:u.a.MAIN}),(0,r.jsx)(o.N,{}),(0,r.jsx)(s.Footer,{})]})})})}},47800:function(e,t,n){n.d(t,{d:function(){return m}});var r=n(57437),i=n(16010),l=n(2265),o=n(66527),a=n(16788),u=n(14021),s=n(57082),c=n(50037),d=n(26473);let m=e=>{let{wrapperClassName:t,className:n,isFirst:m}=e,[h,g]=(0,l.useState)(!1),f=(0,l.useRef)(null),{registerCandidate:p,unRegisterCandidate:x}=(0,a.vg)();(0,l.useEffect)(()=>{let e=p(f,g);return()=>x(e)},[]);let v=m?s.S.RegularFirstOnPage:s.S.Regular;return(0,r.jsx)("div",{"data-adunit":v,className:(0,i.cn)(t,!h&&"!m-0 !p-0 h-0"),children:(0,r.jsxs)(d.x,{children:[(0,r.jsx)("div",{ref:f,className:(0,i.cn)("absolute h-2.5 w-2.5 rounded-full z-[100] -translate-y-1.5",h?"bg-[#0B7595] z-[101] translate-x-0.5":"bg-red-500 -translate-x-0.5",c.jR&&"opacity-0 pointer-events-none"),title:h?"Debug: Advertisement is requested here":"Debug: Advertisement is ignored here"}),h&&(0,r.jsx)(o.lT,{generator:u.l4[v],className:(0,i.cn)(n,o.DQ.infinite)})]})})}},15104:function(e,t,n){n.d(t,{Bm:function(){return F},SH:function(){return N},ct:function(){return k},nK:function(){return L},xE:function(){return i}});var r,i,l=n(2265),o=n(68481),a=n.n(o);(r=i||(i={})).Strict="strict",r.TextOnly="text",r.Normal="normal",r.Partial="partial",r.
1NormalWithImages="normalWithImages";let u=["a","abbr","b","bdi","bdo","blockquote","br","caption","cite","code","data","dd","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","kbd","li","mark","ol","p","pre","q","s","samp","small","span","strong","sub","sup","time","u","ul","var","wbr"],s=[...u,"img"],c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return e.forEach(e=>{var r;n[e]=null!==(r=t[e])&&void 0!==r?r:[]}),n.a&&(n.a=Array.from(new Set([...n.a,"href","name","target","rel"]))),n.img&&(n.img=Array.from(new Set([...n.img,"src","srcset","alt","title","width","height","loading","align"]))),n},d=(e,t)=>{if("a"===e&&"rel"===t)return'rel="noopener noreferrer nofollow"'},m=e=>e.replace(/<a\b(?![^>]*\brel=)([^>]*)>/gi,'<a$1 rel="noopener noreferrer nofollow">'),h=["script","style","iframe","object","embed","noscript"],g={normal:{whiteList:c(u),stripIgnoreTag:!0,stripIgnoreTagBody:h,onTagAttr:d},strict:{whiteList:{a:["href","name","target","rel"]},stripIgnoreTag:!0,stripIgnoreTagBody:h,onTagAttr:d},text:{whiteList:{},stripIgnoreTag:!0,stripIgnoreTagBody:h},partial:{whiteList:c(["b","i","em","strong","a","h2","h3","h4","h5","p","span"]),stripIgnoreTag:!0,stripIgnoreTagBody:h,onTagAttr:d},normalWithImages:{whiteList:c(s),stripIgnoreTag:!0,stripIgnoreTagBody:h,onTagAttr:d}},f=RegExp("<(p|div|li|h[1-6])\\b[^>]*>".concat("(?:\\s|&nbsp;|&#160;|\\u00A0|<br\\s*\\/?>)*","<\\/\\1>"),"gi"),p=e=>{let t=e;for(let e=0;e<5;e+=1){let e=t.replace(f,"");if(e===t)return e;t=e}return t},x="(?:\\s|&nbsp;|&#160;|\\u00A0|<br\\s*\\/?>)",v=RegExp("".concat(x,"*<br\\s*\\/?>").concat(x,"*(?=(?:<\\/[a-zA-Z][a-zA-Z0-9]*>\\s*)*$)"),"gi"),I=e=>{let t=e;for(let e=0;e<5;e+=1){let e=t.replace(v,"");if(e===t)return e;t=e}return t},b=RegExp("^((?:\\s*<(?!br\\b|hr\\b|img\\b|wbr\\b)[a-zA-Z][a-zA-Z0-9]*\\b[^>]*>)*)".concat(x,"*<br\\s*\\/?>").concat(x,"*"),"gi"),E=e=>{let t=e;for(let e=0;e<5;e+=1){let e=t.replace(b,"$1");if(e===t)return e;t=e}return t},y=e=>E(I(p(e))),w=(e,t,n)=>{let r={...g[t],...n},i=a()(null!=e?e:"",r);return"text"===t?i:m(i)},N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2?arguments[2]:void 0;return{dangerouslySetInnerHTML:{__html:y(w(e,t,n))}}},j={grave:"̀",acute:"́",circ:"̂",tilde:"̃",uml:"̈",ring:"̊",cedil:"̧"},T={...(()=>{let e={};return Object.entries(j).forEach(t=>{let[n,r]=t;Array.from("AaEeIiOoUuYyNnCc").forEach(t=>{let i="".concat(t).concat(r).normalize("NFC");1===i.length&&(e["".concat(t).concat(n)]=i)})}),e})(),quot:'"',apos:"'",nbsp:"\xa0",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",ndash:"–",mdash:"—",hellip:"…",bull:"•",middot:"\xb7",prime:"′",Prime:"″",laquo:"\xab",raquo:"\xbb",lsaquo:"‹",rsaquo:"›",deg:"\xb0",plusmn:"\xb1",times:"\xd7",divide:"\xf7",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",copy:"\xa9",reg:"\xae",trade:"™",euro:"€",pound:"\xa3",yen:"\xa5",cent:"\xa2",sect:"\xa7",para:"\xb6",micro:"\xb5",szlig:"\xdf",aelig:"\xe6",AElig:"\xc6",oslash:"\xf8",Oslash:"\xd8",aring:"\xe5",Aring:"\xc5",lt:"<",gt:">"},R=/&#(x[0-9a-f]+|[0-9]+);/gi,M=/&([a-z][a-z0-9]{1,31});/gi,A=/&amp;/gi,C=(e,t)=>{let n="x"===t[0]||"X"===t[0]?parseInt(t.slice(1),16):parseInt(t,10);return!Number.isFinite(n)||n<=0||n>1114111||n>=55296&&n<=57343?e:String.fromCodePoint(n)},S=e=>e.replace(R,C).replace(M,(e,t)=>{var n;return null!==(n=T[t])&&void 0!==n?n:e}).replace(A,"&"),k=e=>{let t=S(w(e,"text"));return t.includes("<")?S(w(t,"text")):t},F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2?arguments[2]:void 0;return(0,l.useMemo)(()=>y(w(e,t,n)),[e,t])},L=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2?arguments[2]:void 0;return(0,l.useMemo)(()=>N(e,t,n),[e,t,n])}}}]);
2//# sourceMappingURL=7437-f881ab145b04f636.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.