PageSourceSearch

https://shredindex.com/_next/static/chunks/pages/index-9e939818c3be6465.js

js shredindex.com collected 2026-10-08 03:41:15 UTC 49,291 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{1868:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(17963).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},9633:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>m,default:()=>h});var a=s(37876);s(14232);var r=s(77328),n=s.n(r),i=s(18847),l=s.n(i);let o={resorts:l()(()=>Promise.all([s.e(5845),s.e(6502),s.e(8355),s.e(8415),s.e(8116)]).then(s.bind(s,18116)),{loadableGenerated:{webpack:()=>[18116]},ssr:!0}),resort:l()(()=>Promise.all([s.e(6895),s.e(5845),s.e(7115),s.e(3707),s.e(101),s.e(9432)]).then(s.bind(s,40101)),{loadableGenerated:{webpack:()=>[40101]},ssr:!0}),about:l()(()=>Promise.all([s.e(5845),s.e(3135)]).then(s.bind(s,3135)),{loadableGenerated:{webpack:()=>[3135]},ssr:!0}),privacy:l()(()=>s.e(6926).then(s.bind(s,56926)),{loadableGenerated:{webpack:()=>[56926]},ssr:!0}),terms:l()(()=>s.e(8223).then(s.bind(s,18223)),{loadableGenerated:{webpack:()=>[18223]},ssr:!0}),home:l()(()=>Promise.resolve().then(s.bind(s,83937)),{loadableGenerated:{webpack:()=>[83937]},ssr:!0}),404:l()(()=>s.e(9540).then(s.bind(s,49540)),{loadableGenerated:{webpack:()=>[49540]},ssr:!0})},d=e=>{let{url:t,layout:s,headerMenuItems:r,footerMenuItems:i}=e,l=s?o[s]:void 0;return l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n(),{children:[(0,a.jsx)("meta",{charSet:"utf-8"}),(0,a.jsx)("title",{children:"ShredIndex - Discover & Compare Ski Resorts Worldwide"}),(0,a.jsx)("meta",{name:"description",content:"Find your ideal ski resort based on your lifestyle. Compare worldwide destinations with expert reviews, detailed ratings, and comprehensive resort information."},"description"),(0,a.jsx)("meta",{property:"og:site_name",content:"ShredIndex"},"og:site_name"),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:image",content:"/images/shredindex-og-default.jpg"},"og:image"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card")]}),(0,a.jsx)(l,{url:t,headerMenuItems:r,footerMenuItems:i})]}):null};var c=s(83937),m=!0;let h=e=>{let{cmsPageData:t,headerMenuItems:s,footerMenuItems:r}=e;return t&&t.cmsPage?(0,a.jsx)(d,{layout:t.cmsPage.layout,url:"/",headerMenuItems:s,footerMenuItems:r}):(console.error("CMS Page data is missing:",t),(0,a.jsx)(c.default,{}))}},16760:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(9633)}])},37576:e=>{e.exports={homeRankedResortList:"HomeRankedResortList_homeRankedResortList__nCWM9",liveBadge:"HomeRankedResortList_liveBadge__lQ_kg",liveDot:"HomeRankedResortList_liveDot___RvqZ",livePulse:"HomeRankedResortList_livePulse__XeeAb",updatedDaily:"HomeRankedResortList_updatedDaily__uZVRN",skeletonShimmer:"HomeRankedResortList_skeletonShimmer__XDSru",formSpinner:"HomeRankedResortList_formSpinner__ptvqr"}},42569:e=>{e.exports={buttons:"HomeLifeStylesFilterButtons_buttons__XqWqW",iconButton:"HomeLifeStylesFilterButtons_iconButton__0a6de",thisWeek:"HomeLifeStylesFilterButtons_thisWeek__qc6Hf",liveDot:"HomeLifeStylesFilterButtons_liveDot__kXMKF",buttonLivePulse:"HomeLifeStylesFilterButtons_buttonLivePulse__r6tTF",skeletonShimmer:"HomeLifeStylesFilterButtons_skeletonShimmer__2XUtL",formSpinner:"HomeLifeStylesFilterButtons_formSpinner__pOJTG"}},45985:(e,t,s)=>{"use strict";s.d(t,{A:()=>N});var a=s(37876),r=s(14232),n=s(50614),i=s(35299),l=s(10674),o=s(34609),d=s(18225),c=s(90535),m=s(81821),h=s(77742),u=s(69455),x=s(69677),p=s(44131),g=s(91507),f=s(44165),y=s(16869),v=s(66215);let w=(e,t)=>{let s=new Set(e.map(e=>e.id)),a=new Set(t.map(e=>e.id));return Array.from(s).filter(e=>a.has(e)).length<Math.min(e.length,t.length)/2},j=e=>{var t,s;let{resort:{id:n,title:i,url:l,url_segment:o,location:d,description:c,keyInsight:m,numerics:j,highlights:b,lowlights:_,snow_conditions:N}}=e,k=(0,h.A)(),S=e=>k.formatMessage({id:"shredindex.filter.label.".concat(e.name.replace(/_?\/_?/g,"_OR_").toUpperCase()),defaultMessage:e.title||e.name}),A=(0,r.useMemo)(()=>j?j.map(e=>({...e,title:S(e)})):[],[j,k]),L=(0,r.useMemo)(()=>b?b.map(e=>({...e,title:S(e)})):[],[b,k]),I=(0,r.useMemo)(()=>_?_.map(e=>({...e,title:S(e)})):[],[_,k]);return(0,a.jsxs)("div",{className:"resort-card__body",children:[(0,a.jsx)("div",{className:"resort-card__content-0 w-100 d-inline-flex justify-content-between",children:(0,a.jsxs)("div",{className:"resort-card__location-wrap",children:[(0,a.jsxs)("div",{className:"resort-card__location text-left d-inline-flex user-select-none",children:[(0,a.jsx)(v.K,{urlSegment:o,className:"link-unstyled",children:(0,a.jsx)(x.A,{location:{city:d.city,country:{name:d.country.name,code:d.country.code},state:d.state?{name:d.state.name,code:d.state.code}:null}})}),(0,a.jsx)(f.A,{resortId:n,title:i,size:"md"}),(0,a.jsx)(g.A,{title:i,resortUrl:l},i)]}),c&&(0,a.jsx)("div",{className:"resort-card__description mb-3 me-2 user-select-none",children:(0,a.jsx)(v.K,{urlSegment:o,className:"link-unstyled",children:(0,a.jsx)("span",{className:"m-0",children:c})})})]})}),m&&(0,a.jsx)(y.A,{keyInsight:{source:m.source,name:m.name,title:m.title||m.name,value:null!=(t=m.value)?t:0,type:m.type?{max_value:null!=(s=m.type.max_value)?s:0,unit:m.type.unit||""}:void 0},snowConditions:N},"keyInsight"),(0,a.jsx)("div",{className:"resort-card__content-wrap",children:(null==A?void 0:A.length)>1&&(0,a.jsx)("div",{className:"resort-card__content-1 mb-2 d-flex",children:(0,a.jsx)("div",{className:"w-100",children:(0,a.jsx)(p.A,{labelMessageId:"shredindex.statistics.STATISTICS",label:"Statistics",numerics:A.map(e=>{var t,s,a,r;return{id:e.id||"",title:e.title,name:e.name,value:null!=(a=e.value)?a:0,type:{max_value:null!=(r=null==(t=e.type)?void 0:t.max_value)?r:0,unit:(null==(s=e.type)?void 0:s.unit)||""}}})})})})}),(0,a.jsxs)("div",{className:"resort-card__content-home mb-2 d-flex gap-2",children:[w(b,_)?(0,a.jsx)(u.A,{className:"w-50",labelMessageId:"shredindex.ratinglist.HIGHLIGHTS",label:"Highlights",ratings:L.slice(0,3).map(e=>{var t;return{id:e.id||"",name:e.name,title:e.title,value:null!=(t=e.value)?t:0}}),urlSegment:o}):(0,a.jsx)(u.A,{className:"w-100",labelMessageId:"shredindex.ratinglist.RATINGS",label:"Ratings",ratings:L.map(e=>{var t;return{id:e.id||"",name:e.name,title:e.title,value:null!=(t=e.value)?t:0}}),urlSegment:o}),w(b,_)&&(0,a.jsx)(u.A,{className:"w-50",labelMessageId:"shredindex.ratinglist.LOWLIGHTS",label:"Lowlights",ratings:I.slice().sort((e,t)=>
1{var s,a;return(null!=(s=e.value)?s:0)>(null!=(a=t.value)?a:0)?-1:1}).map(e=>{var t;return{id:e.id||"",name:e.name,title:e.title,value:null!=(t=e.value)?t:0}}),urlSegment:o})]})]})};var b=s(39535),_=s.n(b);let N=e=>{var t;let{resortData:s,rank:r}=e;if(!s)throw Error("ResortSingle failed to load");let{id:h,title:u,total_score:x,url_segment:p,resort_images:g}=s,f=(null==g||null==(t=g.filter(e=>{try{return null!=e&&"object"==typeof e&&null!==e.image&&void 0!==e.image&&"object"==typeof e.image&&null!==e.image.path&&void 0!==e.image.path&&"string"==typeof e.image.path&&e.image.path.length>0}catch(e){return!1}}))?void 0:t.map((e,t)=>{var s,a;return{id:"".concat(t),name:(null==e?void 0:e.name)||"",alt:(null==e?void 0:e.alt)||"",sort_order:t,image:{path:null==e||null==(s=e.image)?void 0:s.path,content_type:(null==e||null==(a=e.image)?void 0:a.content_type)||"image/jpeg"}}}))||[],y={id:"".concat(h,"-total-score"),name:"Total Score",title:"Total Score",value:null==x?void 0:x.value};return(0,a.jsx)("div",{className:"resort-card resort-card-mini d-flex justify-content-center ".concat(_().resortCardWrapper),children:(0,a.jsxs)(n.E,{className:"full-expanded resort-card__wrap position-relative",children:[r&&r<=3&&(0,a.jsx)("div",{className:"position-absolute top-0 start-0 m-2",style:{zIndex:10},children:(0,a.jsxs)("span",{className:"badge ".concat((e=>{switch(e){case 1:return"bg-warning text-dark";case 2:return"bg-secondary text-dark";case 3:return"bg-danger text-white";default:return"bg-dark text-white"}})(r)," px-2 py-1 fw-bold"),children:["#",r]})}),(0,a.jsx)("div",{children:(0,a.jsx)(c.A,{images:f,showOneImage:!0})}),(0,a.jsxs)(i.V,{className:"resort-card__header-wrap pb-0",children:[(0,a.jsx)("div",{className:"resort-card__small-label user-select-none mb-1",children:"Total score"}),(0,a.jsx)(v.K,{urlSegment:p,className:"link-unstyled",children:(0,a.jsx)(d.A,{title:u,totalScore:y,headingLevel:"h2"})})]}),(0,a.jsx)(l.W,{className:"resort-card__body-wrap pt-0 pb-0",children:(0,a.jsx)(j,{resort:s,collapsed:!1})}),(0,a.jsx)(o.X,{className:"resort-card__footer-wrap pointer-event",children:(0,a.jsx)(m.A,{urlSegment:p,noCollapse:!0})})]})})}},70375:(e,t,s)=>{"use strict";s.d(t,{xd:()=>c});var a=s(28888),r=s(27630);function n(){let e=(0,a._)(["\n  query ResortForCard($url_segment: String!) {\n    resortByUrlSegment(url_segment: $url_segment) {\n      id\n      title\n      url_segment\n      url\n      description\n      resort_images {\n        id\n        name\n        alt\n        sort_order\n        image {\n          path\n          content_type\n        }\n      }\n      total_score {\n        title\n        value\n      }\n      location {\n        id\n        latitude\n        longitude\n        city\n        country {\n          id\n          code\n          name\n        }\n        state {\n          id\n          code\n          name\n        }\n      }\n      highlights {\n        id\n        title\n        value\n        name\n        type {\n          id\n          title\n          name\n          unit\n          max_value\n          category\n        }\n      }\n      lowlights {\n        id\n        title\n        value\n        name\n        type {\n          id\n          title\n          name\n          unit\n          max_value\n          category\n        }\n      }\n      numerics {\n        id\n        title\n        value\n        name\n        type {\n          id\n          title\n          name\n          unit\n          max_value\n          category\n        }\n      }\n      comments {\n        id\n        author\n        comment\n      }\n      keyInsight {\n        id\n        name\n        title\n        value\n        type {\n          id\n          title\n          name\n          unit\n          max_value\n          category\n        }\n      }\n      snow_conditions {\n        conditions7d {\n          score\n          snowfallTotal\n          daysWithSnow\n          powderProbability\n          conditionsSummary\n          avgWindSpeed\n          minTemperature\n          maxTemperature\n          dailyForecast {\n            date\n            snowfall\n            conditions\n            high\n            low\n            windSpeed\n            powderProbability\n          }\n        }\n      }\n    }\n  }\n"]);return n=function(){return e},e}function i(){let e=(0,a._)(["\n  query GetArticles($category: String, $postType: String, $first: Int = 10, $page: Int = 1) {\n    blogPosts(category: $category, post_type: $postType, first: $first, page: $page) {\n      data {\n        id\n        title\n        slug\n        excerpt\n        featured_image\n        category {\n          name\n          slug\n          icon\n          color\n        }\n        post_type\n        region_filter\n        published_at\n        view_count\n      }\n      paginatorInfo {\n        currentPage\n        hasMorePages\n        lastPage\n        perPage\n        total\n      }\n    }\n  }\n"]);return i=function(){return e},e}function l(){let e=(0,a._)(["\n  query GetArticle($slug: String!) {\n    blogPost(slug: $slug) {\n      id\n      title\n      slug\n      excerpt\n      content\n      featured_image\n      meta_title\n      meta_description\n      category {\n        name\n        slug\n        icon\n        color\n      }\n      post_type\n      region_filter\n      related_resort_ids\n      related_resorts {\n        id\n        title\n        url_segment\n        total_score\n        country\n        latitude\n        longitude\n        image_url\n        powder_score\n        snowfall_7d\n        conditions_summary\n        min_temp\n        max_temp\n        avg_wind_speed\n        daily_forecast {\n          date\n          snowfall\n          high\n          low\n          conditions\n          wind_speed\n          powder_probability\n        }\n      }\n      related_articles {\n        id\n        title\n        slug\n        excerpt\n        featured_image\n        category {\n          name\n          slug\n          icon\n          color\n        }\n        post_type\n        published_at\n        recommendation_type\n        recommendation_reason\n      }\n      source_url\n      source_title\n      author_key\n      author_name\n      author_bio\n      author_avatar\n      is_published\n      published_at\n      view_count\n      share_count\n      created_at\n      updated_at\n    }\n  }\n"]);return l=function(){return e},e}function o(){let e=(0,a._)(["\n  query GetArticleCategories {\n    blogCategories {\n      id\n      name\n      slug\n      description\n      icon\n      color\n      is_active\n      post_count\n    }\n  }\n"]);return o=function(){return e},e}function d(){let e=(0,a._)(["\n  query GetLatestPowderArticles($region: String, $first: Int = 5) {\
1n    latestPowderPosts(region: $region, first: $first) {\n      id\n      title\n      slug\n      excerpt\n      featured_image\n      region_filter\n      published_at\n      category {\n        name\n        slug\n        color\n      }\n    }\n  }\n"]);return d=function(){return e},e}(0,r.J1)(n());let c=(0,r.J1)(i());(0,r.J1)(l()),(0,r.J1)(o()),(0,r.J1)(d())},83937:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>e$});var a=s(37876),r=s(14232),n=s(18847),i=s.n(n),l=s(52081),o=s(77328),d=s.n(o),c=s(11651),m=s(99742);let h="ShredIndex",u="/images/shredindex-og-default.jpg",x=[{key:"snow_score_7d",name:"snow_quality",label:"Powder",description:"Live 7-day powder scores from resort snow forecasts, updated daily — see where it's dumping this week"},{key:"family_friendly",name:"family_friendly",label:"Family",description:"Perfect for families with children, featuring easy slopes and comprehensive ski schools"},{key:"shops",name:"shops",label:"Luxury",description:"Premium resorts with high-end amenities and exclusive experiences"},{key:"expert_terrain_score",name:"expert_terrain_score",label:"Extreme",description:"Challenging terrain for advanced skiers seeking thrilling adventures"},{key:"total_score",name:"helicopter",label:"Helicopter",description:"Ultimate skiing experience with helicopter access to pristine backcountry terrain"},{key:"affordability",name:"affordability",label:"Affordable",description:"Budget-friendly resorts offering great value without compromising on experience"}],p=()=>{let e=m.env.NEXT_PUBLIC_BASE_URL||"https://shredindex.com";return(0,a.jsxs)(d(),{children:[(0,a.jsx)("title",{children:"".concat(h," - Live Powder Scores for 6,000+ Ski Resorts")}),(0,a.jsx)("meta",{name:"description",content:"See where it's dumping this week. Live 7-day powder scores for 6,000+ ski resorts worldwide, updated daily. Compare snow, price, crowds and terrain to find your perfect mountain."},"description"),(0,a.jsx)("link",{rel:"canonical",href:e}),(0,a.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large"})]})},g=e=>{var t;let{currentLifestyle:s,resortData:r={}}=e,n=m.env.NEXT_PUBLIC_BASE_URL||"https://shredindex.com",i=(()=>{if(!s){let e=r.Powder||[],t=e.slice(0,3).map(e=>e.title).join(", ");return{title:"".concat(h," - Live Powder Scores for 6,000+ Ski Resorts | Find Your Perfect Mountain"),description:"See where it's dumping this week: live 7-day powder scores for 6,000+ ski resorts worldwide, updated daily".concat(t?" — currently led by ".concat(t):"",". Compare snow, price, crowds and terrain to find your perfect mountain."),url:n,images:[{url:"".concat(n).concat(u),alt:"Live powder scores and ski resort comparison on ShredIndex"}],topResorts:e,topResortsListName:"Best Powder This Week (7-Day Snow Leaders)",currentLifestyleData:x.find(e=>"snow_score_7d"===e.key)||null}}let e=x.find(e=>e.label===s),t=r[s]||[],a=t.slice(0,3).map(e=>e.title).join(", "),i="Powder"===s,l=i?"Best powder this week, ranked by live 7-day snow forecasts".concat(a?": ".concat(a," lead right now"):"",". Powder scores for 6,000+ ski resorts worldwide, updated daily. Find your perfect mountain on ShredIndex."):"Discover top ".concat(s," ski resorts").concat(a?", including ".concat(a):"",". ").concat((null==e?void 0:e.description)||""," Compare resorts by lifestyle: ").concat(x.map(e=>e.label).join(", "),". Find detailed reviews, ratings, and information to plan your perfect ski adventure.");return{title:i?"".concat(h," - Best Powder This Week | Live 7-Day Snow Scores"):"".concat(h," - Top ").concat(s," Ski Resorts | Find Your Perfect Mountain"),description:l,url:n,images:[{url:"".concat(n).concat(u),alt:i?"Best powder this week - live snow scores on ShredIndex":"Top ".concat(s," ski resorts worldwide")}],topResorts:t,topResortsListName:i?"Best Powder This Week (7-Day Snow Leaders)":"Top ".concat(s," Ski Resorts"),currentLifestyleData:e}})();return(0,a.jsxs)(d(),{children:[(0,a.jsx)("title",{children:i.title}),(0,a.jsx)("meta",{name:"description",content:i.description},"description"),(0,a.jsx)("link",{rel:"canonical",href:i.url}),(0,a.jsx)("meta",{name:"keywords",content:"ski resorts, powder forecast, best powder this week, snow forecast, powder score, where is it snowing, ".concat(x.map(e=>"".concat(e.label.toLowerCase()," ski resorts, ").concat(e.label.toLowerCase()," skiing")).join(", "),", ski reviews, resort comparison")}),(0,a.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"}),(0,a.jsx)("meta",{property:"og:site_name",content:h},"og:site_name"),(0,a.jsx)("meta",{property:"og:title",content:i.title}),(0,a.jsx)("meta",{property:"og:description",content:i.description}),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:url",content:i.url}),(0,a.jsx)("meta",{property:"og:image",content:i.images[0].url},"og:image"),(0,a.jsx)("meta",{property:"og:image:alt",content:i.images[0].alt}
1),(0,a.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630"}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,a.jsx)("meta",{name:"twitter:site",content:"@ShredIndex"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"@ShredIndex"}),(0,a.jsx)("meta",{name:"twitter:title",content:i.title}),(0,a.jsx)("meta",{name:"twitter:description",content:i.description}),(0,a.jsx)("meta",{name:"twitter:image",content:i.images[0].url}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:i.images[0].alt}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebSite","@id":i.url,name:h,description:i.description,url:i.url,image:i.images[0].url,potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(i.url,"/resorts/search?q={search_term_string}")},"query-input":"required name=search_term_string"},publisher:{"@type":"Organization",name:h,logo:{"@type":"ImageObject",url:"".concat(n,"/logo.png")}},mainEntity:{"@type":"ItemList",itemListElement:[...i.topResorts.length>0?[{"@type":"ItemList",name:i.topResortsListName,description:null==(t=i.currentLifestyleData)?void 0:t.description,numberOfItems:i.topResorts.length,itemListElement:i.topResorts.map((e,t)=>{var s,a,r,l,o;return{"@type":"SkiResort","@id":"".concat(i.url,"/resort/").concat(e.url_segment||e.id),position:t+1,name:e.title,description:e.description,...e.location&&{address:{"@type":"PostalAddress",addressLocality:e.location.city,addressRegion:null==(s=e.location.state)?void 0:s.name,addressCountry:null==(a=e.location.country)?void 0:a.name}},...e.total_score&&{aggregateRating:{"@type":"AggregateRating",ratingValue:e.total_score.value,bestRating:100,worstRating:0,ratingCount:1}},image:((e,t)=>{if(t)return/^https?:\/\//i.test(t)?t:"".concat(e).concat(t.startsWith("/")?"":"/").concat(t)})(n,null==(o=e.resort_images)||null==(l=o[0])||null==(r=l.image)?void 0:r.path)||i.images[0].url,url:"".concat(i.url,"/resort/").concat(e.url_segment||e.id)}})}]:[],{"@type":"ItemList",name:"Ski Resort Categories",description:"Browse ski resorts by lifestyle category",numberOfItems:x.length,itemListElement:x.map((e,t)=>({"@type":"Thing",position:t+1,name:"".concat(e.label," Ski Resorts"),description:e.description,url:((e,t)=>"snow_score_7d"===t?"".concat(e,"/resorts/best-powder"):"".concat(e,"/resorts?sort=").concat(t))(i.url,e.key)}))}]}},null,2)}})]})},f=e=>(0,a.jsx)(c.A,{fallback:(0,a.jsx)(p,{}),children:(0,a.jsx)(g,{...e})});var y=s(77742),v=s(8733),w=s(54587),j=s.n(w),b=s(48230),_=s.n(b),N=s(91139),k=s.n(N);let S=()=>{let e=(0,y.A)();return(0,a.jsxs)("section",{className:"grid grid-cols-1 grid-rows-[auto] items-center justify-items-center relative w-full ".concat(k().snowfallWrapper),role:"banner","aria-labelledby":"hero-heading",children:[(0,a.jsxs)("div",{className:"row-start-1 col-start-1 w-full overflow-hidden snowfall-container",role:"presentation","aria-hidden":"true",children:[(0,a.jsx)("div",{className:"snowfall snowfall--fade-bottom","aria-hidden":"true",children:[...Array(30)].map((e,t)=>(0,a.jsx)("span",{className:"snowflake"},t))}),(0,a.jsx)("div",{className:"block md:hidden w-full h-full relative",children:(0,a.jsx)(j(),{src:"/images/homepage/hero-mobile.svg",alt:"",width:768,height:600,className:"w-full h-auto","aria-hidden":"true",priority:!0,fetchPriority:"high",placeholder:"empty",sizes:"100vw",style:{maxWidth:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:"hidden md:block lg:hidden w-full h-full relative",children:(0,a.jsx)(j(),{src:"/images/homepage/hero-tablet.svg",alt:"",width:1024,height:700,className:"w-full h-auto","aria-hidden":"true",loading:"lazy",placeholder:"empty",sizes:"100vw",style:{maxWidth:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:"hidden lg:block w-full h-full relative",children:(0,a.jsx)(j(),{src:"/images/homepage/hero-desktop.svg",alt:"",width:1920,height:800,className:"w-full h-auto","aria-hidden":"true",loading:"lazy",placeholder:"empty",sizes:"100vw",style:{maxWidth:"100%",height:"auto"}})})]}),(0,a.jsxs)("div",{className:"row-start-1 col-start-1 p-4 text-[#1d2e39] text-left z-10",role:"presentation",children:[(0,a.jsx)("h1",{id:"hero-heading",className:"font-bold max-w-[70%] text-2xl md:text-3xl lg:text-5xl",children:(0,a.jsx)(v.A,{id:"shredindex.app.SUBTITLE",defaultMessage:"Find Your Perfect Mountain."})}),(0,a.jsx)("p",{className:"max-w-[70%] text-sm md:text-lg lg:text-xl mt-2 fw-medium",children:(0,a.jsx)(v.A,{id:"shredindex.app.SUBTITLE_DESCRIPTION",defaultMessage:"Live powder scores for <strong>6,000+</strong> ski resorts, updated daily — see where it's dumping this week.",values:{strong:e=>(0,a.jsx)("strong",{className:"font-bold",children:e})}})}),(0,a.jsxs)("nav",{className:"flex items-start flex-wrap gap-3 mt-4 z-10","aria-label":e.formatMessage({id:"shredindex.home.PRIMARY_ACTIONS",defaultMessage:"Primary actions"}),children:[(0,a.jsx)(_(),{href:"/resorts/best-powder",className:"inline-block",prefetch:!1,children:(0,a.jsx)("button",{className:"px-4 py-2 bg-warning hover:bg-warning-600 text-white hover:text-gray-800 rounded duration-200 hover:scale-105 active:scale-95 transition-transform",children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.BEST_POWDER",defaultMessage:"See Where It's Dumping"})})}),(0,a.jsx)(_(),{href:"resorts",className:"inline-block",prefetch:!1,children:(0,a.jsx)("button",{className:"px-4 py-2 bg-white/80 hover:bg-white text-[#1d2e39] border border-[#1d2e39]/20 rounded duration-200 hover:scale-105 active:scale-95 transition-transform",children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.BROW
1SE_RESORTS",defaultMessage:"Find a Resort"})})})]})]})]})};var A=s(72618);let L={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},I={hidden:{},visible:{transition:{staggerChildren:.1}}},T={hidden:{opacity:0,x:-50,y:50,rotate:10},visible:{opacity:1,x:0,y:0,rotate:0,transition:{duration:.8,ease:"easeOut"}}},R=()=>(0,a.jsxs)(A.P.div,{className:"resort-stats-wrap",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:I,children:[(0,a.jsxs)("div",{className:"text-center p-2 my-24",children:[(0,a.jsx)(A.P.div,{className:"font-bold text-2xl",variants:L,children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.RESORTS_COUNT",defaultMessage:"{resortCount} resorts in",values:{resortCount:e=>(0,a.jsx)("span",{className:"text-3xl text-info font-bold",children:e})}})}),(0,a.jsx)(A.P.div,{className:"font-bold text-2xl",variants:L,children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.COUNTRIES_COUNT",defaultMessage:"{countryCount} countries",values:{countryCount:e=>(0,a.jsx)("span",{className:"text-3xl text-primary font-bold",children:e})}})}),(0,a.jsx)(A.P.div,{variants:L,children:(0,a.jsx)(_(),{href:"/resorts",passHref:!0,children:(0,a.jsx)(A.P.button,{className:"m-4 text-white p-2 px-4 bg-secondary hover:bg-secondary-50 rounded transition-colors duration-200",whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.BROWSE_RESORTS",defaultMessage:"Browse resorts"})})})}),(0,a.jsxs)(A.P.div,{className:"mt-3",variants:L,children:[(0,a.jsx)("span",{className:"text-xl h4",children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.SKI_ONE_RESORT",defaultMessage:"If you ski {one} resort a day, it'll take",values:{one:e=>(0,a.jsx)("span",{className:"text-primary",children:e})}})}),(0,a.jsx)("div",{className:"text-xl h4",children:(0,a.jsx)(v.A,{id:"shredindex.homeCTA.YEARS_TO_SHRED",defaultMessage:"{years} to shred them all.",values:{years:e=>(0,a.jsx)("span",{className:"text-xl text-info h4",children:e})}})})]})]}),(0,a.jsx)(A.P.div,{className:"h-48 z-[1000] relative w-full md:w-4/5",variants:T,children:(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(j(),{src:"/images/snowboard-grab.svg",alt:"Snowboard Grab",width:450,height:400,className:"max-w-[450px] w-auto h-auto"})})})]});var E=s(89099),P=s(98754),M=s(58855),H=s(45985),C=s(39199),F=s(50614),O=s(35299),B=s(10674),W=s(34609),D=s(23415),G=s(24940),U=s(98606),z=s(39535),K=s.n(z);let q=()=>(0,a.jsx)("div",{className:"resort-card resort-card--skeleton d-flex justify-content-center fade-in ".concat(K().resortCardWrapper),children:(0,a.jsxs)(F.E,{className:"full-expanded resort-card__wrap",children:[(0,a.jsx)("div",{className:"w-100",children:(0,a.jsx)("div",{className:"single-image-container w-100 h-100 gray-300-bg border-radius-medium",children:(0,a.jsx)(D.A,{className:"carousel__image skeleton-image",alt:"resort-loading"})})}),(0,a.jsxs)(O.V,{className:"resort-card__header-wrap pb-0 mb-2",children:[(0,a.jsxs)("div",{className:"skeleton-card__header d-flex mb-3",children:[(0,a.jsx)("div",{className:"skeleton-rating-header me-3"}),(0,a.jsx)("div",{className:"skeleton-rating-title w-100"})]}),(0,a.jsxs)("div",{className:"resort-card__location skeleton-location d-flex mb-2",children:[(0,a.jsx)("div",{className:"resort-card__country-flag-wrap country-flag-wrap me-3 "}),(0,a.jsx)("div",{className:"skeleton-location-details w-50"})]})]}),(0,a.jsxs)(B.W,{className:"resort-card__body pt-0 pb-0 mb-3",children:[(0,a.jsx)("div",{className:"resort-card__content-1 mb-2 d-flex",children:(0,a.jsx)("div",{className:"w-100 d-flex gap-3",children:[1,2,3,4,5].map(e=>(0,a.jsx)("div",{className:"w-25",children:(0,a.jsx)(U.A,{})},e))})}),(0,a.jsxs)("div",{className:"skeleton-content-wrap d-flex mb-2",children:[(0,a.jsx)("div",{className:"skeleton-sub-rating-wrap mt-2 me-2",children:[1,2,3].map(e=>(0,a.jsx)(G.A,{},e))}),(0,a.jsx)("div",{className:"skeleton-sub-rating-wrap mt-2 me-2",children:[1,2,3].map(e=>(0,a.jsx)(G.A,{},e))})]})]}),(0,a.jsx)(W.X,{className:"resort-card__footer-wrap pointer-event skeleton-footer",children:(0,a.jsx)("div",{className:"resort-card__exp
1and"})})]})});var V=s(31880);let $=s(445).b,X={groupedType:[],locationType:{}};var Y=s(37576),J=s.n(Y);let Q=e=>{var t;let{cardLimit:s,lifestyle:n="Powder"}=e,i=(0,E.useRouter)(),{orderBy:l,filters:o,page:d}=(0,r.useMemo)(()=>(0,V.Dk)(i.query),[i.query]),{loading:c,data:m,error:h}=(0,M.A)(s,d,o,l||$),u=(0,r.useRef)({key:"",maxPages:0}),x=[s].join("-");if(u.current.key!==x&&(u.current.key=x,u.current.maxPages=0),h)return(0,a.jsx)(P.A,{title:"Woah!!... Gnarly Crash",titleId:"shredindex.resortcarderror.TITLE",help:"Looks like we french fried instead of pizza'd.",helpId:"shredindex.resortcarderror.HELP",errorName:h.name,errorMessage:"There was an error loading the list of resorts.",errorMessageId:"shredindex.resortcarderror.ERRORMESSAGE",suggestion:"Maybe try resetting the filters...",suggestionId:"shredindex.resortcarderror.SUGGESTION"});let p="Powder"===n,g=()=>(0,a.jsx)("h3",{className:"lifestyles",children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.A,{id:"shredindex.home.SNOW_LEADERS_TITLE",defaultMessage:"7-Day Snow Leaders"}),(0,a.jsxs)("span",{className:J().liveBadge,children:[(0,a.jsx)("span",{className:J().liveDot,"aria-hidden":"true"}),(0,a.jsx)(v.A,{id:"shredindex.home.LIVE_BADGE",defaultMessage:"Live"})]}),(0,a.jsx)("span",{className:J().updatedDaily,children:(0,a.jsx)(v.A,{id:"shredindex.home.UPDATED_DAILY",defaultMessage:"Updated daily from forecasts at every resort"})})]}):(0,a.jsx)(v.A,{id:"shredindex.home.RANKED_LIST_TITLE",defaultMessage:"Top {count} {lifestyle} Resorts",values:{count:s,lifestyle:n}})});if(c)return(0,a.jsxs)("div",{className:"ranked-resort-list",children:[(0,a.jsx)(g,{}),(0,a.jsx)("div",{className:"".concat(J().homeRankedResortList," ranked-resort-list__resort-card-list-wrap d-flex flex-wrap justify-content-center gap-4"),children:Array.from({length:s},(e,t)=>(0,a.jsx)(q,{},t))})]});let f=(null==m||null==(t=m.resorts)?void 0:t.data)||[];return(0,a.jsxs)("div",{className:J().homeRankedResortList,children:[(0,a.jsx)(g,{}),(0,a.jsx)("div",{className:"".concat(J().homeRankedResortList," ranked-resort-list__resort-card-list-wrap d-flex flex-wrap justify-content-center gap-4"),children:f.length>=1?f.map(e=>(0,a.jsx)(H.A,{resortData:e},e.id)):(0,a.jsx)(C.A,{title:"You look a bit lost...",titleId:"shredindex.resortcardnoresorts.TITLE",help:"Let's try and get you back inside the boundary.",helpId:"shredindex.resortcardnoresorts.HELP",errorMessage:"There are no results with your search criteria.",errorMessageId:"shredindex.resortcardnoresorts.THEREARENORESULTSWITHYOURSEARCHCRITERIA",suggestion:"Maybe try resetting the filters...",suggestionId:"shredindex.resortcardnoresorts.SUGGESTION"})})]},n)};var Z=s(1022),ee=s(21438),et=s(86798),es=s(85664),ea=s(95062),er=s.n(ea),en=s(70935),ei=s(75966),el=s(90688),eo=s(7478),ed=s(42569),ec=s.n(ed);let em=[{key:"snow_score_7d",name:"snow_quality",labelKey:"Powder",titleKey:"Powder",translationId:"shredindex.lifestyles.POWDER"},{key:"family_friendly",name:"family_friendly",labelKey:"Family",titleKey:"Family",translationId:"shredindex.lifestyles.FAMILY"},{key:"shops",name:"shops",labelKey:"Luxury",titleKey:"Luxury",translationId:"shredindex.lifestyles.LUXURY"},{key:"expert_terrain_score",name:"expert_terrain_score",labelKey:"Extreme",titleKey:"Extreme",translationId:"shredindex.lifestyles.EXTREME"},{key:"total_score",name:"helicopter",labelKey:"Helicopter",titleKey:"Helicopter",translationId:"shredindex.lifestyles.HELICOPTER"},{key:"affordability",name:"affordability",labelKey:"Affordable",titleKey:"Affordable",translationId:"shredindex.lifestyles.AFFORDABLE"}],eh=e=>{let{setLifeStyleKey:t}=e,[s,n]=(0,es.L4)(en.U5),i=(0,E.useRouter)(),l=(0,y.A)(),[o,d]=(0,r.useState)(!0);(0,r.useEffect)(()=>{let e=()=>{d(window.innerWidth<=eo.A.md)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let c=(0,r.useMemo)(()=>em.map(e=>({...e,label:l.formatMessage({id:e.translationId,defaultMessage:e.labelKey})})),[l]),{loading:m,error:h}=(0,ei.A)(),u=(0,r.useCallback)(e=>{n({type_name:e.key,direction:"desc"}),t(e.titleKey);let s={sort:e.key};"helicopter"===e.name&&(s.helicopter="yes"),i.push({pathname:i.pathname,query:s},void 0,{scroll:!1,shallow:!0}),setTimeout(()=>{let e=document.getElementById("home-lifestyles-cards");e&&e.scrollIntoView({behavior:"smooth",block:"start"})},100)},[i,n,t]),x=(0,r.useCallback)(e=>{let t=i.query.sort;return t!==e&&(t||"snow_score_7d"!==e)?"ghost":"outline"},[i.query]);return h?(0,a.jsx)("p",{children:l.formatMessage({id:"shredindex.error.GENERAL"})}):(0,a.jsx)(ee.q,{children:(0,a.jsx)(et.s,{className:"mb-4",children:(0,a.jsx)("div",{className:ec().buttons,children:m?Array.from({length:6}).map((e,t)=>(0,a.jsxs)("div",{className:"d-flex flex-column align-items-center justify-content-center p-2 m-0",style:{minWidth:o?"70px":"9
10px",height:o?"75px":"95px"},children:[(0,a.jsx)("div",{className:"skeleton rounded-circle",style:{width:o?"2rem":"3rem",height:o?"2rem":"3rem"}}),(0,a.jsx)("div",{className:"skeleton rounded mt-2",style:{width:o?"45px":"60px",height:"12px"}})]},t)):c.map(e=>(0,a.jsxs)(Z.Q,{color:"light",variant:x(e.key),className:"d-flex flex-column align-items-center p-1 m-0 position-relative",onClick:()=>u(e),children:[(0,a.jsx)(el.s,{typeName:e.name,size:o?"2rem":"3rem"}),(0,a.jsx)("span",{className:"mt-1",children:e.label}),"snow_score_7d"===e.key&&(0,a.jsxs)("span",{className:ec().thisWeek,children:[(0,a.jsx)("span",{className:ec().liveDot,"aria-hidden":"true"}),l.formatMessage({id:"shredindex.lifestyles.POWDER_THIS_WEEK",defaultMessage:"This Week"})]})]},e.key))})})})};eh.propTypes={setLifeStyleKey:er().func.isRequired};var eu=s(92447),ex=s.n(eu);let ep=()=>{let e=(0,y.A)(),[t,s]=(0,r.useState)("Powder"),n=(0,r.useMemo)(()=>{let s={Family:"shredindex.lifestyles.FAMILY",Luxury:"shredindex.lifestyles.LUXURY",Extreme:"shredindex.lifestyles.EXTREME",Powder:"shredindex.lifestyles.POWDER",Helicopter:"shredindex.lifestyles.HELICOPTER",Affordable:"shredindex.lifestyles.AFFORDABLE"},a=s[t]||s.Family;return e.formatMessage({id:a})},[t,e]);return(0,a.jsxs)("div",{className:"".concat(ex().homeLifestyles," mb-4"),children:[(0,a.jsx)("div",{className:"".concat(ex().title," mb-4"),children:(0,a.jsx)("h4",{children:(0,a.jsx)(v.A,{id:"shredindex.home.LIFESTYLES",defaultMessage:"Find Resorts That Match Your Style"})})}),(0,a.jsx)("div",{children:(0,a.jsx)(eh,{setLifeStyleKey:s})}),(0,a.jsx)("div",{id:"home-lifestyles-cards",className:ex().cards,children:(0,a.jsx)(Q,{cardLimit:3,lifestyle:n})})]})},eg={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},ef={hidden:{},visible:{transition:{staggerChildren:.15}}},ey={hidden:{opacity:0,x:-30},visible:{opacity:1,x:0,transition:{duration:.6}}},ev={hidden:{opacity:0,x:30},visible:{opacity:1,x:0,transition:{duration:.6}}},ew=e=>{let{title:t,description:s,imageSrc:r,imageAlt:n,isReversed:i}=e;return(0,a.jsx)(A.P.div,{className:"mb-5",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:ef,children:(0,a.jsxs)("div",{className:"pb-5 flex flex-col md:flex-row items-center gap-4",children:[(0,a.jsx)(A.P.div,{className:"w-full md:w-1/2 text-center ".concat(i?"md:text-right md:order-1":"md:text-left md:order-2"),variants:i?ev:ey,children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("h4",{className:"font-bold mb-4",children:(0,a.jsx)(v.A,{id:t.id,defaultMessage:t.defaultMessage})}),(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)("p",{children:(0,a.jsx)(v.A,{id:s.id,defaultMessage:s.defaultMessage,values:{lineBreak:(0,a.jsx)("br",{})}})})})]})}),(0,a.jsx)(A.P.div,{className:"w-full md:w-1/2 ".concat(i?"md:order-2":"md:order-1"," mb-3 md:mb-0 text-center"),variants:i?ey:ev,children:(0,a.jsx)(j(),{src:r,alt:n,width:600,height:400,className:"w-full max-w-96"})}),(0,a.jsx)(A.P.div,{className:"block md:hidden text-center w-full",variants:eg,children:(0,a.jsx)("p",{children:(0,a.jsx)(v.A,{id:s.id,defaultMessage:s.defaultMessage,values:{lineBreak:(0,a.jsx)("br",{})}})})})]})})},ej=[{title:{id:"shredindex.homeFeatures.QUICKVIEW",defaultMessage:"Save time with quick view"},description:{id:"shredindex.homeFeatures.QUICKVIEWDESCRIPTION",defaultMessage:"Get the vibe of a resort in a flash with the click of a button.{lineBreak}{lineBreak}We've got the top details right where you want them."},imageSrc:"/images/homepage/expand-shot.svg",imageAlt:"Quick view feature screenshot",isReversed:!0},{title:{id:"shredindex.homeFeatures.HIGHLIGHTSLOWLIGHTS",defaultMessage:"Highlight & Lowlights"},description:{id:"shredindex.homeFeatures.HIGHLIGHTSLOWLIGHTSDESCRIPTION",defaultMessage:"Get a sense of the place by the things that suit your lifestyle without having to have a try on the hunch a resort might be your paradise."},imageSrc:"/images/homepage/ratings-shot.svg",imageAlt:"Highlights and ratings feature screenshot",isReversed:!1},{title:{id:"shredindex.homeFeatures.COMMENTSANDTIPS",defaultMessage:"Comments and tips"},description:{id:"shredindex.homeFeatures.COMMENTSANDTIPSDESCRIPTION",defaultMessage:"Get the top comments and tips.{lineBreak}{lineBreak}We gather insights from professional athletes, seasons travellers and experienced residents."},imageSrc:"/images/homepage/comments-shot.svg",imageAlt:"Comments and tips feature screenshot",isReversed:!0}],eb=()=>(0,a.jsxs)("span",{className:"text-warning",children:["'",(0,a.jsx)(v.A,{id:"shredindex.homeFeatures.VIBE",defaultMessage:"vibe"}),"'"]}),e_=()=>(0,a.jsxs)("div",{className:"mt-5",children:[(0,a.jsx)(A.P.h3,{className:"font-bold text-center mb-5 font-bold text-2xl md:text-3xl lg:text-4xl mb-4",initial:"hidden",
1whileInView:"visible",viewport:{once:!0,amount:.5},variants:eg,children:(0,a.jsx)(v.A,{id:"shredindex.homeFeatures.GETTHEVIBE",defaultMessage:"Get the {vibe} as you scroll...",values:{vibe:(0,a.jsx)(eb,{})}})}),(0,a.jsx)("div",{className:"px-3 sm:px-4 mx-auto overflow-hidden",style:{maxWidth:"768px"},children:ej.map(e=>(0,a.jsx)(ew,{...e},e.title.id))}),(0,a.jsx)(A.P.div,{className:"flex items-center justify-center text-center mb-5",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.5},variants:eg,children:(0,a.jsx)(_(),{href:"/resorts",children:(0,a.jsx)(A.P.button,{className:"p-2 px-4 bg-warning hover:bg-warning-dark text-white rounded transition-colors duration-200",whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,a.jsx)(v.A,{id:"shredindex.homeFeatures.STARTSCROLLING",defaultMessage:"Start scrolling"})})})})]});var eN=s(1868),ek=s(77781);let eS={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},eA={hidden:{},visible:{transition:{staggerChildren:.1}}},eL={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.5}}},eI=()=>(0,a.jsx)("div",{className:"absolute -top-5 -left-5 z-10 flex items-center justify-center w-10 h-10 rounded-full bg-secondary shadow-lg",children:(0,a.jsx)(eN.A,{size:18,className:"text-white"})}),eT=e=>{let{children:t}=e;return(0,a.jsx)("span",{className:"text-secondary",children:t})},eR=()=>{let e=(0,y.A)(),[,t]=(0,es.L4)(ek.u),s=e.formatMessage({id:"shredindex.home.advancedFilters.ALT_DESKTOP"}),r=e.formatMessage({id:"shredindex.home.advancedFilters.ALT_TABLET"}),n=e.formatMessage({id:"shredindex.home.advancedFilters.ALT_MOBILE"});return(0,a.jsxs)("section",{className:"grid grid-cols-1 grid-rows-[auto] items-center justify-items-center relative w-full",role:"banner","aria-labelledby":"advanced-filters-heading",children:[(0,a.jsxs)("div",{className:"row-start-1 col-start-1 w-full overflow-hidden",role:"presentation","aria-hidden":"true",children:[(0,a.jsx)("div",{className:"block md:hidden w-full h-full relative",children:(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-background-desktop.svg",alt:n,width:1920,height:600,className:"w-full h-auto min-h-[1000px] object-cover","aria-hidden":"true",loading:"lazy"})}),(0,a.jsx)("div",{className:"hidden md:block lg:hidden relative",children:(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-background-tablet.svg",alt:r,width:2024,height:1100,className:"min-h-[1100px] object-cover","aria-hidden":"true",loading:"lazy"})}),(0,a.jsx)("div",{className:"hidden lg:block relative",children:(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-background-desktop.svg",alt:s,width:1920,height:1100,className:"min-h-[1100px] object-cover","aria-hidden":"true",loading:"lazy"})})]}),(0,a.jsxs)(A.P.div,{className:"row-start-1 col-start-1 text-center z-10 px-4 py-8 md:mt-[-22rem] lg:mt-[-16rem] mt-[-14rem]",role:"presentation",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:eA,children:[(0,a.jsx)(A.P.h3,{id:"advanced-filters-heading",className:"font-bold text-2xl md:text-3xl lg:text-4xl mb-3 text-gray-700",variants:eS,children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.HEADLINE",defaultMessage:"Stop Guessing. {scoring}",values:{scoring:(0,a.jsx)(eT,{children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.SCORING_WORD",defaultMessage:"Start Scoring."})})}})}),(0,a.jsx)(A.P.p,{className:"text-base fw-medium md:text-lg text-gray-600 max-w-2xl mx-auto mb-2",variants:eS,children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.SUBHEAD",defaultMessage:"Most travel sites only show you prices. We let you filter by Snow Quality, Crowd Density, and Steepness to find the 1% of resorts that match your style."})}),(0,a.jsx)(A.P.p,{className:"text-sm fw-semibold mb-6 text-gray-500",variants:eS,children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.PRO_UPSELL",defaultMessage:"Basic filters are free. Advanced terrain & weather data available with Pro."})}),(0,a.jsx)(A.P.div,{className:"hidden lg:block max-w-full h-auto w-full p-2 mb-4 mt-4",variants:eL,children:(0,a.jsxs)("div",{className:"relative max-w-lg mx-auto",children:[(0,a.jsx)(eI,{}),(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-filter.svg",alt:"Advanced filter system interface",width:400,height:200,className:"h-auto w-full"})]})}),(0,a.jsx)(A.P.div,{className:"hidden md:block lg:hidden w-full h-full p-2 mb-4 mt-4",variants:eL,children:(0,a.jsxs)("div",{className:"relative max-w-lg mx-auto",children:[(0,a.jsx)(eI,{}),(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-filter.svg",alt:"Advanced filter system interface",width:400,height:200,className:"h-auto w-full"})]})}),(0,a.jsx)(A.P.div,{className:"block md:hidden max-w-full h-auto w-full p-2 mb-4",variants:eL,children:(0,a.jsxs)("div",{className:"relative max-w-lg mx-auto",children:[(0,a.jsx)(eI,{}),(0,a.jsx)(j(),{src:"/images/homepage/advanced-filter-filter.svg",alt:"Advanced filter system interface",width:400,height:200,className:"w-full h-auto"})]})}),(0,a.jsxs)(A.P.div,{className:"w-full text-center flex flex-col items-center gap-2",variants:eS,children:[(0,a.jsx)(_(),{href:"/resorts",passHref:!0,children:(0,a.jsx)(A.P.button,{className:"px-4 py-2 bg-secondary text-white rounded",whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.TRY_FILTERS_BUTTON",defaultMessage:"Try the Filters"})})}),(0,a.jsx)(A.P.button,{onClick:()=>t(!0),className:"text-sm text-secondary hover:text-info-400 fw-bold underline bg-transparent border-none cursor-pointer",whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,a.jsx)(v.A,{id:"shredindex.homeAdvancedFilters.SEE_PRO_FILTERS",defaultMessage:"See all Pro filters"})})]})]})]})};var eE=s(75961),eP=s.n(eE),eM=s(54431),eH=s(17316),eC=s(62556),eF=s(88776),eO
1=s(80697),eB=s(27011),eW=s(57586),eD=s(64041),eG=s(29053),eU=s(70375);let ez={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},eK={hidden:{},visible:{transition:{staggerChildren:.15}}},eq=()=>{var e;let{data:t,loading:s}=(0,eM.IT)(eU.xd,{variables:{first:3}}),r=(null==t||null==(e=t.blogPosts)?void 0:e.data)||[];return s||0!==r.length?(0,a.jsxs)(A.P.section,{className:"home-blog-section",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:eK,children:[(0,a.jsxs)("div",{className:"jsx-66ba35d5c5050055 position-relative overflow-hidden",children:[(0,a.jsx)("div",{style:{background:"linear-gradient(180deg, rgba(16, 29, 37, 0) 0%, rgba(16, 29, 37, 0.95) 15%, rgba(22, 37, 47, 0.98) 50%, rgba(16, 29, 37, 0.95) 85%, rgba(16, 29, 37, 0) 100%)"},className:"jsx-66ba35d5c5050055 position-absolute w-100 h-100 top-0 start-0"}),(0,a.jsxs)(l.T,{className:"position-relative pt-5",style:{paddingBottom:"4rem"},children:[(0,a.jsxs)(A.P.div,{className:"text-center mb-4",variants:ez,children:[(0,a.jsx)("h2",{className:"jsx-66ba35d5c5050055 h3 fw-bold mb-2 text-primary",children:(0,a.jsx)(v.A,{id:"home.articles.TITLE",defaultMessage:"Latest from the Blog"})}),(0,a.jsx)("p",{className:"jsx-66ba35d5c5050055 text-gray-600 mb-0",children:(0,a.jsx)(v.A,{id:"home.articles.SUBTITLE",defaultMessage:"Powder forecasts, resort insights, and ski news"})})]}),s?(0,a.jsx)("div",{className:"jsx-66ba35d5c5050055 text-center py-4",children:(0,a.jsx)(eH.J,{color:"primary",size:"sm"})}):(0,a.jsx)(et.s,{className:"g-3 justify-content-center",children:r.map(e=>(0,a.jsx)(eC.U,{sm:6,lg:4,children:(0,a.jsx)(A.P.div,{variants:ez,className:"h-100",children:(0,a.jsx)(_(),{href:"/articles/".concat(e.slug),className:"text-decoration-none d-block h-100",children:(0,a.jsxs)(F.E,{className:"h-100 border-0 home-blog-card",children:[e.featured_image&&(0,a.jsxs)("div",{style:{height:"160px"},className:"jsx-66ba35d5c5050055 position-relative overflow-hidden",children:[(0,a.jsx)(j(),{src:e.featured_image,alt:e.title,fill:!0,style:{objectFit:"cover"},className:"home-blog-card-image",sizes:"(max-width: 768px) 100vw, 33vw"}),(0,a.jsx)("div",{className:"jsx-66ba35d5c5050055 position-absolute top-0 start-0 p-2",children:(0,a.jsxs)(eF.$,{color:{primary:"primary",secondary:"info",info:"warning"}[e.category.color]||"primary",className:"d-inline-flex align-items-center gap-1",children:[(e=>{switch(e){case"snowflake":return(0,a.jsx)(eO.A,{size:12});case"scale":return(0,a.jsx)(eB.A,{size:12});default:return(0,a.jsx)(eW.A,{size:12})}})(e.category.icon),(0,a.jsx)("span",{className:"jsx-66ba35d5c5050055",children:e.category.name})]})})]}),(0,a.jsxs)(B.W,{className:"p-3",children:[(0,a.jsx)("h3",{className:"jsx-66ba35d5c5050055 h6 fw-bold mb-2 text-white home-blog-card-title",children:e.title}),(0,a.jsxs)("div",{className:"jsx-66ba35d5c5050055 d-flex align-items-center text-gray-600 small",children:[(0,a.jsx)(eD.A,{size:12,className:"me-1"}),(0,a.jsx)("span",{className:"jsx-66ba35d5c5050055",children:new Date(e.published_at).toLocaleDateString("en-US",{month:"short",day:"numeric"})})]})]})]})})})},e.id))}),(0,a.jsx)(A.P.div,{className:"text-center mt-4",variants:ez,children:(0,a.jsx)(_(),{href:"/articles",className:"text-decoration-none",children:(0,a.jsxs)(Z.Q,{color:"primary",className:"px-4 d-inline-flex align-items-center",children:[(0,a.jsx)(v.A,{id:"home.articles.VIEW_ALL",defaultMessage:"View All Posts"}),(0,a.jsx)(eG.A,{size:16,className:"ms-1"})]})})})]})]}),(0,a.jsx)(eP(),{id:"66ba35d5c5050055",children:".home-blog-card{background:rgba(29,46,57,.8);backdrop-filter:blur(8px);transition:transform.3s ease,box-shadow.3s ease,background.3s ease;cursor:pointer;overflow:hidden}.home-blog-card:hover{transform:translatey(-6px);box-shadow:0 12px 24px rgba(0,0,0,.3);background:rgba(40,60,73,.9)}.home-blog-card-image{transition:transform.4s ease}.home-blog-card:hover .home-blog-card-image{transform:scale(1.05)}.home-blog-card-title{line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.home-blog-section .badge{font-size:.7rem;font-weight:600}"})]}):null},eV=i()(()=>s.e(4506).then(s.bind(s,34506)),{loadableGenerated:{webpack:()=>[34506]},ssr:!0}),e$=()=>{var e;let t=(0,es.vc)(en.U5),{data:s}=(0,M.A)(3,1,X,$),r=(null==s||null==(e=s.resorts)?void 0:e.data)||[];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{currentLifestyle:(()=>{switch(null==t?void 0:t.type_name){case"family_friendly":return"Family";case"shops":return"Luxury";case"expert_terrain_score":return"Extreme";case"snow_score_7d":return"Powder";case"helicopter":return"Helicopter";case"affordability":return"Affordable";default:return null}})(),resortData:{Powder:r}}),(0,a.jsxs)("div",{className:"views__home",children:[(0,a.jsx)(S,{}),(0,a.jsxs)(l.T,{className:"max-w-12/12",children:[(0,a.jsx)(ep,{}),(0,a.jsx)(R,{})]}),(0,a.jsx)(eV,{}),(0,a.jsx)(e_,{}),(0,a.jsx)(eR,{}),(0,a.jsx)(eq,{})]})]})}},91139:e=>{e.exports={snowfallWrapper:"HomeHero_snowfallWrapper__6H2qp",snowfall:"HomeHero_snowfall__Tz1MN",snowfallAlt:"HomeHero_snowfallAlt___dNec",snowfallSmall:"HomeHero_snowfallSmall__7IlpT",snowfallSmallAlt:"HomeHero_snowfallSmallAlt__ddROn",skeletonShimmer:"HomeHero_skeletonShimmer__Crqrv",formSpinner:"HomeHero_formSpinner__wEvFA"}},92447:e=>{e.exports={homeLifestyles:"HomeLifestyles_homeLifestyles__mZUCZ",title:"HomeLifestyles_title__qUsJ8",cards:"HomeLifestyles_cards__Oyy4v",skeletonShimmer:"HomeLifestyles_skeletonShimmer__zgUTt",formSpinner:"HomeLifestyles_formSpinner__Dux2k"}}},e=>{e.O(0,[7141,4938,6397,2618,6698,5530,7565,7430,1685,9114,2369,1151,636,6593,8792],()=>e(e.s=16760)),_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.