import{t as e}from"./got-BBDj7u1e.mjs";import{n as t,t as n}from"./utils-D0udJKhT.mjs";const r={path:`/new-arrivals/:country/:gender`,categories:[`shopping`],example:`/arcteryx/new-arrivals/us/mens`,parameters:{country:`country`,gender:`gender`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`arcteryx.com/:country/en/c/:gender/new-arrivals`]}],name:`New Arrivals`,maintainers:[`EthanWng97`],handler:i,description:`Country

| United States | Canada | United Kingdom |
| ------------- | ------ | -------------- |
| us            | ca     | gb             |

  gender

| male | female |
| ---- | ------ |
| mens | womens |

::: tip
  Parameter \`country\` can be found within the url of \`Arcteryx\` website.
:::`};async function i(r){let{country:i,gender:a}=r.req.param(),o=`https://arcteryx.com/${i}/en/`,s=`${o}api/fredhopper/query`,c=`${o}shop/`,l=`${o}c/${a}/new-arrivals`,u=(await e({method:`get`,url:s,searchParams:{fh_location:`//catalog01/en_CA/gender>{${a}}/intended_use>{newarrivals}`,fh_country:i,fh_view_size:`all`}})).data.universes.universe[1][`items-section`].items.item.map((e,t,r)=>n(e,t,r,i));return{title:`Arcteryx - New Arrivals(${i.toUpperCase()}) - ${a.toUpperCase()}`,link:l,description:`Arcteryx - New Arrivals(${i.toUpperCase()}) - ${a.toUpperCase()}`,item:u.map(e=>({title:e.name,link:c+e.slug,description:t(e)}))}}export{r as route};