PageSourceSearch

https://www.patagoniachic.com/_next/static/chunks/3981.c2ab56629b57af38.js

js patagoniachic.com collected 2026-10-02 21:35:37 UTC 7,307 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="be7b2df9-3c3b-4620-9879-1979238e9bec",t._sentryDebugIdIdentifier="sentry-dbid-be7b2df9-3c3b-4620-9879-1979238e9bec")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3981],{33981:function(t,e,n){n.r(e),n.d(e,{default:function(){return k}});var i=n(85893),o=n(67294);n(64172);var r=n(43749),a=n(65264),s=n(19521),l=n(2261),c=n(70352),d=n(4556),u=n(72575);let p=(0,s.F4)(["from{opacity:0;}to{opacity:1;}"]),h=s.ZP.div.withConfig({componentId:"sc-4156b0a9-0"})(["width:100%;height:100%;position:relative;"]),f=(0,s.ZP)(l.tq).withConfig({componentId:"sc-4156b0a9-1"})(["height:100%;"]),b=(0,s.ZP)(d.Z).attrs(t=>{let{$thumbnailData:e}=t,{style:n,...i}=(0,u.f)(e)||{};return{width:335,height:228,quality:"auto",format:"auto",lazyTransition:!0,sizes:"335px",style:n,...i}}).withConfig({componentId:"sc-4156b0a9-2"})(["object-fit:cover;&[alt]::after{display:block;position:absolute;top:50%;left:0;width:100%;height:100%;background-color:",";font-family:'Helvetica';font-weight:300;line-height:2;text-align:center;content:attr(alt);}"],(0,a.$_)("base-white")),g=s.ZP.div.withConfig({componentId:"sc-4156b0a9-3"})(["display:none;",""],(0,c.f)((0,s.iv)(["",":hover &{display:block;}"],h))),m=s.ZP.div.withConfig({componentId:"sc-4156b0a9-4"})(["position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;pointer-events:none;z-index:1;"]),v=(0,s.ZP)(r.Z).withConfig({componentId:"sc-4156b0a9-5"})([""]),w=s.ZP.div.withConfig({componentId:"sc-4156b0a9-6"})(["display:",";width:28px;height:28px;border-radius:100%;background-color:",";z-index:1;align-items:center;justify-content:center;animation:"," 300ms ease;cursor:pointer;box-shadow:",";transition:background-color 0.2s ease;",""],t=>t.show?"flex":"none",(0,a.$_)("base-white"),p,(0,a.AF)("md"),(0,c.f)((0,s.iv)(["&:hover{background-color:",";"," svg path{stroke:",";}}"],(0,a.$_)("gray-neutral-50"),v,(0,a.$_)("gray-neutral-900")))),x=(0,s.ZP)(w).withConfig({componentId:"sc-4156b0a9-7"})(["position:absolute;top:50%;transform:translateY(-50%);left:20px;transition:all 250ms ease;",""],(0,c.f)((0,s.iv)(["&:hover{margin-right:19px;}"]))),y=(0,s.ZP)(w).withConfig({componentId:"sc-4156b0a9-8"})(["position:absolute;top:50%;transform:translateY(-50%);right:20px;transition:all 250ms ease;",""],(0,c.f)((0,s.iv)(["&:hover{margin-left:19px;}"])));var I=n(35709),C=n(17484),Z=n(11119),P=n(40192),j=n(81303),k=t=>{let{list:e,priority:n=!1}=t,[r,a]=(0,o.useState)(0),[s,l]=(0,o.useState)(1),c=o.useRef(null),d=(0,Z.ac)(["A"]),u=(0,Z.ac)(["B"]),p=(0,o.useCallback)(t=>{a(t.activeIndex),l(e=>Math.max(e,t.activeIndex+1))},[]),w=(0,o.useCallback)(t=>{c.current=t},[]);return(0,i.jsxs)(h,{children:[(0,i.jsx)(f,{spaceBetween:0,slidesPerView:1,onActiveIndexChange:p,onSwiper:w,children:e.map((t,e)=>{var o;return(0,i.jsx)(P.Az,{className:"swiper-slide",children:t&&e<=s&&((0,I.cb)(t.url)?(0,i.jsx)(C.Z,{url:t.url,altText:t.altText,thumbnailData:t.thumbnailData,isActive:e===r,priority:n&&0===e}):(0,i.jsx)(b,{src:t.url,alt:null!==(o=t.altText)&&void 0!==o?o:"patagoniachic-image",$thumbnailData:t.thumbnailData,loading:n&&0===e?"eager":"lazy",priority:n&&0===e}))},e)})}),e.length>1&&(0,i.jsx)(m,{children:(0,i.jsx)(j.Z,{count:e.length,activeIndex:r,variant:"active_white",marginTop:0,paddingBottom:0})}),!u&&!d&&(0,i.jsxs)(g,{children:[(0,i.jsx)(x,{onClick:t=>{var e;t.stopPropagation(),t.preventDefault(),null===(e=c.current)||void 0===e||e.slidePrev()},show:r>0,children:(0,i.jsx)(v,{name:"arrow-left",size:10,colorName:"gray-neutral-700"})}),(0,i.jsx)(y,{onClick:t=>{t.stopPropagation(),t.preventDefault();let e=c.current;e&&(e.isEnd?e.slideTo(0):e.slideNext())},show:!0,children:(0,i.jsx)(v,{name:"arrow-right",size:10,colorName:"gray-neutral-700"})})]})]})}},81303:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(85893),o=n(67294),r=n(19521),a=n(65264);let s=r.ZP.div.withConfig({componentId:"sc-80b6550c-0"})(["margin:"," 0;padding-bottom:",";width:calc("," * ","px + ("," - 1) * ","px);position:relative;overflow:hidden;height:12px;display:block;pointer-events:none;"],t=>{let{$mt:e}=t;return null!=e?e:"21px"},t=>{let{$pb:e}=t;return null!=e?e:"0"},5,6,5,5),l=r.ZP.div.withConfig({componentId:"sc-80b6550c-1"})(["position:absolute;inset:0;"]),c=r.ZP.div.withConfig({componentId:"sc-80b6550c-2"})(["display:flex;flex-direction:row;gap:","px;align-items:center;position:absolute;top:0;left:0;transform:",";transition:transform 0.3s ease;"],5,t=>{let{windowStart:e}=t;return"translateX(calc(-".concat(e," * ").concat(11,"px))")}),d=r.ZP.div.withConfig({componentId:"sc-80b6550c-3"})(["width:","px;height:","px;border-radius:50%;transform-origin:center;transition:transform 0.2s cubic-bezier(0.235,0,0.05,0.95),background-color 0.2s ease,opacity 0.2s ease;background-color:",";opacity:",";transform:",";"],6,6,t=>{let{variant:e,active:n}=t;return"active_white"===e?"#FFFFFF":n?(0,a.$_)("gray-neutral-900"):(0,a.$_)("gray-neutral-300")},t=>{let{variant:e,active:n}=t;return"active_white"===e?n?1:.6:1},t=>
1{let{outsideWindow:e,firstBullet:n,lastBullet:i,secondBullet:o,penultimateBullet:r}=t;return e?"scale(0.1667)":n||i?"scale(0.6667)":o||r?"scale(0.8333)":"scale(1)"});var u=t=>{let{count:e,activeIndex:n,variant:r="active_gray",marginTop:a,paddingBottom:u}=t,p=e<=5||n<=2?0:n>=e-3?e-5:n-2,h=Math.min(p+4,e-1),f=p>0,b=h<e-1,g=(0,o.useMemo)(()=>{let t=[];for(let o=0;o<e;o++){let e=o===n,a=o<p||o>h,s=f&&o===p,l=b&&o===h;t.push((0,i.jsx)(d,{active:e,firstBullet:s,secondBullet:!1,penultimateBullet:!1,lastBullet:l,outsideWindow:a,variant:r},o))}return t},[e,n,p,h,f,b,r]);return(0,i.jsx)(s,{$mt:"number"==typeof a?"".concat(a,"px"):a,$pb:"number"==typeof u?"".concat(u,"px"):u,children:(0,i.jsx)(l,{children:(0,i.jsx)(c,{windowStart:p,children:g})})})}},40192:function(t,e,n){n.d(e,{Az:function(){return l},hv:function(){return c},mn:function(){return s},sM:function(){return d}});var i=n(2261),o=n(19521),r=n(65264);let a=(0,o.vJ)(["html{--container:1000;}body{overflow-x:hidden;overscroll-behavior:none;}.swiper-button-disabled{display:none !important;}"]),s=(0,o.ZP)(i.tq).withConfig({componentId:"sc-40b68a00-0"})(["width:100%;overflow:visible;overscroll-behavior:contain;position:relative;cursor:default;z-index:3;"]),l=(0,o.ZP)(i.o5).withConfig({componentId:"sc-40b68a00-1"})(["height:auto;width:auto;"]),c=o.ZP.div.withConfig({componentId:"sc-40b68a00-2"})(["position:relative;width:100%;.swiper-button:not(.swiper-button-disabled),.arrow-gradient:not(.swiper-button-disabled){opacity:",";transition:opacity 300ms ease-in-out;","}"],t=>{let{$isDragging:e}=t;return e?0:1},t=>{let{$isDragging:e}=t;return e&&"pointer-events: none;"}),d=o.ZP.div.withConfig({componentId:"sc-40b68a00-3"})(["height:100%;width:70px;position:absolute;top:0;z-index:3;pointer-events:none;transition:opacity 0.3s ease-in-out;opacity:",";"," ",";"],t=>{let{$visible:e}=t;return e?1:0},t=>{let{$isLeft:e,$offset:n}=t;return e?"\n				left: -".concat(n,"px;\n				transform: scaleX(-1);\n			"):"\n				right: -".concat(n,"px;\n			")},t=>{let{$gradient:e}=t;return(0,r.FL)(e||"fuse-gradient-md-right","all")});e.ZP=a}}]);

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.