PageSourceSearch

https://www.gapfactory.com/static_content/onesitecategory/components/mfe/_next/static/chunks/2wh8jar_9j0y9.js

js gapfactory.com collected 2026-10-03 19:04:55 UTC 32,020 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,396961,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});let a={us:{gap:1,br:2,on:3,at:10,gapfs:34,brfs:35,imx:30},ca:{gap:7,br:8,on:9,at:39,gapfs:52,brfs:50},eu:{gap:20,br:21},jp:{gap:24,br:24},e2:{gap:28,br:29}},n={us:{gap:"GAP_US_OL",br:"BR_US_OL",on:"ON_US_OL",at:"AT_US_OL",gapfs:"GAPFS_US_OL",brfs:"BRFS_US_OL",imx:"IMX_US_OL"},ca:{gap:"GAP_CA_OL",br:"BR_CA_OL",on:"ON_CA_OL",at:"AT_CA_OL",gapfs:"GPFS_CA_OL",brfs:"BRFS_CA_OL"},eu:{gap:"GAP_EU_OL",br:"BR_EU_OL"},jp:{gap:"GAP_JP_OL",br:"BR_JP_OL"},e2:{gap:"GAP_E2_OL",br:"BR_E2_OL"}},i={us:{gap:"gapgidproduction, gapproduction",br:"gapgidproduction, gapbananaproduction",on:"gapgidproduction, gapoldnavyproduction",at:"gapgidproduction, gapathletaproduction",gapfs:"gapgidproduction, gapfactoryproduction",brfs:"gapgidproduction, gapbananafactoryproduction"},ca:{gap:"gapcangidprod, gapcangapprod",br:"gapcangidprod, gapcanbananaprod",on:"gapcangidprod, gapcanoldnavyprod",at:"gapcangidprod, gapcanathletaprod",gapfs:"gapcangidtest, gapcanfactoryprod",brfs:"gapcangidtest, gapcanbananafactoryprod"},eu:{gap:"gapukgidprod, gapukgapprod",br:"gapukgidprod, gapukbananaprod"},jp:{gap:"gapjpgidproduction, gapjpgapproduction",br:"gapjpgidproduction, gapjpbananaproduction"},e2:{gap:"gapeugidproduction, gapeugapproduction",br:"gapeugidproduction, gapeubananaproduction"}},o={us:{gap:"gapgidtest, gaptest",br:"gapgidtest, gapbananaproduction",on:"gapgidtest, gapoldnavytest",at:"gapgidtest, gapathletatest",gapfs:"gapgidtest, gapfactorytest",brfs:"gapgidtest, gapbananafactorytest"},ca:{gap:"gapcangidtest, gapcangaptest",br:"gapcangidtest, gapcanbananatest",on:"gapcangidtest, gapcanoldnavytest",at:"gapcangidtest, gapcanathletatest",gapfs:"gapcangidtest, gapcanfactorytest",brfs:"gapcangidtest, gapcanbananafactorytest"},eu:{gap:"gapukgidtest, gapukgaptest",br:"gapukgidtest, gapukbananatest"},jp:{gap:"gapjpgidtest, gapjpgaptest",br:"gapjpgidtest, gapjpbananatest"},e2:{gap:"gapeugidtest, gapeugaptest",br:"gapeugidtest, gapeubananatest"}},s={us:"metrics.gap.com",ca:"metrics.gapcanada.ca",eu:"metrics.gap.co.uk",jp:"metrics.gap.eu",e2:"metrics.gap.co.jp"},u={us:"securemetrics.gap.com",ca:"securemetrics.gapcanada.ca",eu:"securemetrics.gap.co.uk",jp:"securemetrics.gap.eu",e2:"securemetrics.gap.co.jp"},c={gap:{abbrBrand:"gap",abbrNameForBV:"gp",abbrNameForTealium:"gp",brand:"gap",displayName:"Gap",marketAgnosticBrandCode:1},br:{abbrBrand:"br",abbrNameForBV:"br",abbrNameForTealium:"br",brand:"banana-republic",displayName:"Banana Republic",marketAgnosticBrandCode:2},on:{abbrBrand:"on",abbrNameForBV:"on",abbrNameForTealium:"on",brand:"old-navy",displayName:"Old Navy",marketAgnosticBrandCode:3},at:{abbrBrand:"at",abbrNameForBV:"at",abbrNameForTealium:"at",brand:"athleta",displayName:"Athleta",marketAgnosticBrandCode:10},gapfs:{abbrBrand:"gapfs",abbrNameForBV:"gf",abbrNameForTealium:"gapfs",brand:"gap-factory",displayName:"Gap Factory",marketAgnosticBrandCode:5},brfs:{abbrBrand:"brfs",abbrNameForBV:"brf",abbrNameForTealium:"brfs",brand:"banana-republic-factory",displayName:"Banana Republic Factory",marketAgnosticBrandCode:6}},p=Object.entries(a).reduce((e,[t,r])=>{let a=Object.fromEntries(Object.values(r).map(e=>[e,t]));return{...e,...a}},{}),l=Object.values(c).reduce((e,t)=>{let{marketAgnosticBrandCode:r,abbrBrand:a}=t;return{...e,[r]:a}},{}),d=(e,t="us")=>({...c[e],marketAwareBrandCode:a[t][e],marketAwareBusinessAbbrName:n[t][e],marketAwareReportSuite:i[t][e],marketAwareReportSuiteTest:o[t][e],marketAwareTrackingServer:s[t],marketAwareTrackingSecureServer:u[t]});t.exports={getBrandInformation:d,getBrandInfoForMarketAgnosticBrandCode:(e,t)=>{let r=l[e];return r?d(r,t):void 0},getBrandInfoForMarketAwareBrandCode:e=>{let t=p[e];if(!t)return;let r=Object.entries(a).reduce((e,r)=>{if(!t)return e;let[a,n]=r;if(t!==a)return e;let i=Object.fromEntries(Object.entries(n).map(([e,t])=>[t,e]));return{...e,...i}},{})[e];return r&&"imx"!==r?d(r,t):void 0}}},871285,e=>{"use strict";var t=e.i(398437);e.s(["hoistNonReactStatics",()=>t.default])},801419,(e,t,r)=>{t.exports=e.r(841920)(e.r(139088),"DataView")},717074,(e,t,r)=>{t.exports=e.r(841920)(e.r(139088),"Promise")},106966,(e,t,r)=>{t.exports=e.r(841920)(e.r(139088),"Set")},573895,(e,t,r)=>{t.exports=e.r(841920)(e.r(139088),"WeakMap")},4300,(e,t,r)=>{var a=e.r(674548),n=e.r(25172),i=Object.prototype.hasOwnProperty;t.exports=function(e,t,r){var o=e[t];i.call(e,t)&&n(o,r)&&(void 0!==r||t in e)||a(e,t,r)}},674548,(e,t,r)=>{var a=e.r(524251);t.exports=function(e,t,r){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},566645,(e,t,r)=>{var a=e.r(377684),n=e.r(877289);t.exports=function(e){return n(e)&&"[object Arguments]"==a(e)}},473250,(e,t,r)=>{var a=e.r(566645),n=e.r(877289),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable;t.exports=a(function(){return arguments}())?a:function(e){return n(e)&&o.call(e,"callee")&&!s.call(e,"callee")}},476602,(e,t,r)=>{var a=e.r(377684),n=e.r(98376),i=e.r(877289),o={};
1o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(e){return i(e)&&n(e.length)&&!!o[a(e)]}},233999,(e,t,r)=>{t.exports=function(e){return function(t){return e(t)}}},524251,(e,t,r)=>{var a=e.r(841920);t.exports=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},367426,(e,t,r)=>{var a=e.r(801419),n=e.r(687362),i=e.r(717074),o=e.r(106966),s=e.r(573895),u=e.r(377684),c=e.r(776366),p="[object Map]",l="[object Promise]",d="[object Set]",g="[object WeakMap]",m="[object DataView]",f=c(a),b=c(n),h=c(i),y=c(o),v=c(s),x=u;(a&&x(new a(new ArrayBuffer(1)))!=m||n&&x(new n)!=p||i&&x(i.resolve())!=l||o&&x(new o)!=d||s&&x(new s)!=g)&&(x=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,a=r?c(r):"";if(a)switch(a){case f:return m;case b:return p;case h:return l;case y:return d;case v:return g}return t}),t.exports=x},66397,(e,t,r)=>{var a=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==r||"symbol"!=r&&a.test(e))&&e>-1&&e%1==0&&e<t}},763996,(e,t,r)=>{var a=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}},942369,(e,t,r)=>{t.exports=e.r(825717)(Object.keys,Object)},848477,(e,t,r)=>{var a=e.r(763996),n=e.r(942369),i=Object.prototype.hasOwnProperty;t.exports=function(e){if(!a(e))return n(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},180156,(e,t,r)=>{var a=e.r(100236),n=r&&!r.nodeType&&r,i=n&&t&&!t.nodeType&&t,o=i&&i.exports===n&&a.process;t.exports=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}()},825717,(e,t,r)=>{t.exports=function(e,t){return function(r){return e(t(r))}}},351095,(e,t,r)=>{var a=e.r(771223),n=e.r(98376);t.exports=function(e){return null!=e&&n(e.length)&&!a(e)}},946217,(e,t,r)=>{var a=e.r(848477),n=e.r(367426),i=e.r(473250),o=e.r(45350),s=e.r(351095),u=e.r(356956),c=e.r(763996),p=e.r(3023),l=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||p(e)||i(e)))return!e.length;var t=n(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!a(e).length;for(var r in e)if(l.call(e,r))return!1;return!0}},98376,(e,t,r)=>{t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},3023,(e,t,r)=>{var a=e.r(476602),n=e.r(233999),i=e.r(180156),o=i&&i.isTypedArray;t.exports=o?n(o):a},24013,(e,t,r)=>{t.exports=function(){return!1}},356956,(e,t,r)=>{var a=e.r(139088),n=e.r(24013),i=r&&!r.nodeType&&r,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i?a.Buffer:void 0;t.exports=(s?s.isBuffer:void 0)||n},160478,e=>{"use strict";var t,r={},a=function(){if(t)return r;t=1,r.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var r={},n=e.length;if(n<2)return r;var i=t&&t.decode||p,o=0,s=0,l=0;do{if(-1===(s=e.indexOf("=",o)))break;if(-1===(l=e.indexOf(";",o)))l=n;else if(s>l){o=e.lastIndexOf(";",s-1)+1;continue}var d=u(e,o,s),g=c(e,s,d),m=e.slice(d,g);if(!a.call(r,m)){var f=u(e,s+1,l),b=c(e,l,f);34===e.charCodeAt(f)&&34===e.charCodeAt(b-1)&&(f++,b--);var h=e.slice(f,b);r[m]=function(e,t){try{return t(e)}catch(t){return e}}(h,i)}o=l+1}while(o<n)return r},r.serialize=function(t,r,a){var u=a&&a.encode||encodeURIComponent;if("function"!=typeof u)throw TypeError("option encode is invalid");if(!n.test(t))throw TypeError("argument name is invalid");var c=u(r);
1if(!i.test(c))throw TypeError("argument val is invalid");var p=t+"="+c;if(!a)return p;if(null!=a.maxAge){var l=Math.floor(a.maxAge);if(!isFinite(l))throw TypeError("option maxAge is invalid");p+="; Max-Age="+l}if(a.domain){if(!o.test(a.domain))throw TypeError("option domain is invalid");p+="; Domain="+a.domain}if(a.path){if(!s.test(a.path))throw TypeError("option path is invalid");p+="; Path="+a.path}if(a.expires){var d,g=a.expires;if(d=g,"[object Date]"!==e.call(d)||isNaN(g.valueOf()))throw TypeError("option expires is invalid");p+="; Expires="+g.toUTCString()}if(a.httpOnly&&(p+="; HttpOnly"),a.secure&&(p+="; Secure"),a.partitioned&&(p+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":p+="; Priority=Low";break;case"medium":p+="; Priority=Medium";break;case"high":p+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"none":p+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return p};var e=Object.prototype.toString,a=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function u(e,t,r){do{var a=e.charCodeAt(t);if(32!==a&&9!==a)return t}while(++t<r)return r}function c(e,t,r){for(;t>r;){var a=e.charCodeAt(--t);if(32!==a&&9!==a)return t+1}return r}
1function p(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}return r}();function n(e,t={}){var r;let a=(r=e)&&"j"===r[0]&&":"===r[1]?r.substr(2):r;if(!t.doNotParse)try{return JSON.parse(a)}catch(e){}return e}e.s(["default",0,class{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=a.parse(document.cookie),this._checkChanges(e)};const n="u"<typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?a.parse(e):"object"==typeof e&&null!==e?e:{}}(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=function(){let t=e.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:n(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),n(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let r in this.cookies)t[r]=n(this.cookies[r],e);return t}set(e,t,r){r=r?Object.assign(Object.assign({},this.defaultSetOptions),r):this.defaultSetOptions;let n="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:n}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,n,r)),this._emitChange({name:e,value:t,options:r})}remove(e,t){let r=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,"",r)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}])},300077,618738,120136,886671,e=>{"use strict";var t=e.i(857727),r=e.i(271645),a=e.i(668271),n=e.i(871285),i=e.i(160478);let o=r.default.createContext({minWidth:e=>!0});e.s(["BreakpointContext",0,o],618738);let s=" and (min-aspect-ratio: 1/1)",u=" and (max-aspect-ratio: 1/1)",c="small",p="medium",l="large",d="x-large",g=new Map;g.set([-1,567],c),g.set([568,767],p),g.set([768,1023],l),g.set([1024,1/0],d);let m=Array.from(g.keys()),f={size:d,orientation:"landscape",media:`(min-width: 1024px)${u}`},b={[c]:{size:c,orientation:"portrait",media:"(max-width: 567px)"},[p]:{size:p,orientation:"portrait",media:`(max-width: 767px) and (min-width: 568px)${u}`},[l]:{size:l,orientation:"portrait",media:`(max-width: 1023px) and (min-width: 768px)${u}`},[d]:f},h=[b[c],{size:p,orientation:"landscape",media:`(max-width: 767px) and (min-width: 568px)${s}`},{size:p,orientation:"portrait",media:`(max-width: 767px) and (min-width: 568px)${u}`},{size:l,orientation:"landscape",media:`(max-width: 1023px) and (min-width: 768px)${s}`},{size:l,orientation:"portrait",media:`(max-width: 1023px) and (min-width: 768px)${u}`},{size:d,orientation:"landscape",media:`(min-width: 1024px)${s}`},f,{size:d,orientation:"landscape",media:"(min-width: 1024px)"}];e.s(["LARGE",0,l,"LG_MIN",0,768,"MD_MAX",0,767,"MEDIUM",0,p,"SMALL",0,c,"XLARGE",0,d,"XL_MIN",0,1024,"breakpointRanges",0,m,"breakpoints",0,h,"breakpointsMap",0,b,"breakpointsRangeMap",0,g,"defaultBreakpoint",0,f],120136);var y=e.i(36084);let v={SMALL:c,MEDIUM:p,LARGE:l,XLARGE:d};e.s(["withBreakpoint",0,(e=e=>e)=>r=>{let i=a=>(0,t.jsx)(o.Consumer,{children:n=>(0,t.jsx)(r,{...e({...n,...v}),...a})});return i.displayName=(0,a.getDisplayName)(r),(0,n.hoistNonReactStatics)(i,r)}],886671);let x=new i.default,C=e=>({size:t})=>e===t,w=(e,t)=>h.findIndex(C(e))>=h.findIndex(C(t)),A=(e,t)=>
1!w(e,t),S=()=>!1,_=h.find(e=>e.size===c);e.s(["Breakpoint",0,({is:e,size:t,children:a,testSize:n})=>{let{[e]:i}=(0,r.useContext)(o);return i(t)?a:null},"BreakpointProvider",0,function({children:e,initialSizeClass:a,initialMedia:n,matchMedia:i,cookie:s=x,testSize:u}){let c,[p,l]=(0,r.useState)(()=>(({initialSizeClass:e="",initialMedia:t=""})=>h.find(e=>e.media===t)||("Mobile"===e&&_?_:f))({initialSizeClass:a,initialMedia:n})),y=(c=p.size,{greaterOrEqualTo:w.bind(null,c),minWidth:w.bind(null,c),smallerThan:A.bind(null,c),maxWidth:A.bind(null,c)});(0,r.useEffect)(()=>{let e=e=>{let t=m.find(t=>t[0]<=e&&e<=t[1]),a=t&&g.get(t)||d;(0,r.startTransition)(()=>{l(e=>a!==e.size?b[a]:e)})},t=new ResizeObserver(t=>{let r=t[0];if(r.contentBoxSize){let{inlineSize:t}=r.contentBoxSize[0];e(t)}});return u||e(window.innerWidth),t.observe(document.body),()=>{t.disconnect()}},[i]),(0,r.useEffect)(()=>{s.set("fuiMatchMedia",p.media,{sameSite:"lax"})},[s,p.media]);let v=(0,r.useMemo)(()=>({...p,...y}),[p.size]);return(0,t.jsx)(o.Provider,{value:v,children:e})},"isGreaterOrEqual",0,w,"isSmaller",0,A,"useMediaQuery",0,e=>{let{type:t,range:a}=e,n=`only screen and (width ${a} ${y.default[t]})`,i=(0,r.useCallback)(e=>{let t=window.matchMedia(n);return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[n]),o=(0,r.useCallback)(()=>window.matchMedia(n).matches,[n]);return(0,r.useSyncExternalStore)(i,o,S)},"withBreakpointData",0,e=>{let r=r=>(0,t.jsx)(o.Consumer,{children:a=>(0,t.jsx)(e,{...r,breakpointData:a})});return r.displayName=(0,a.getDisplayName)(e),(0,n.hoistNonReactStatics)(r,e)}],300077)},795846,954186,e=>{"use strict";var t=e.i(857727),r=e.i(724877),a=e.i(408836),n=e.i(271645),i=e.i(606586);function o(e){return parseInt(e.split("ms")[0],10)}let s=(e,t)=>({enter:function({transitionDuration:e,transitionDelay:t="0ms"}){return o(e)+o(t)}(e),exit:function({transitionDuration:e,transitionDelay:t="0ms"}){return o(e)+o(t)}(t)});function u({onEnter:e,...r}){let a=(0,n.useRef)(null),o=(0,n.useCallback)((t,r)=>{t.offsetHeight,e?.(t,r)},[e]);return(0,t.jsx)(i.Transition,{appear:!0,mountOnEnter:!0,onEnter:o,unmountOnExit:!0,nodeRef:a,...r})}e.s(["Transition",0,u,"getTransitionDurations",0,s],954186);let c=(e,t,r=0)=>{let a=t?`${t}ms`:e.transitionDuration;return{...e,transitionDuration:a,transitionDelay:`${r}ms`}};e.s(["Fade",0,function({children:e,delay:n,duration:i,fadeProperty:o,...p}){let l=c(a.transitions.expressive.in,i?.enter,n?.enter),d=c(a.transitions.performance.out,i?.exit,n?.exit),{property:g,start:m,end:f}=o??{property:"opacity",start:0,end:1},b={[g]:f},h={transitionProperty:(0,r.kebabCase)(g),...l,...{[g]:m}},y={entering:b,entered:b,exiting:d,exited:{},unmounted:{}};return(0,t.jsx)(u,{...p,timeout:s(l,d),children:t=>e({...h,...y[t]})})}],795846)},408836,e=>{"use strict";let t="cubic-bezier(0.25, 0, 0.25, 1)",r="cubic-bezier(0, 0.75, 1, 0.75)",a={celebratory:{duration:{enter:450,exit:450}},expressive:{duration:{enter:250,exit:250}},performance:{duration:{enter:130,exit:130}}},n={celebratory:{in:{transitionDuration:`${a.celebratory.duration.enter}ms`,transitionTimingFunction:t},out:{transitionDuration:`${a.celebratory.duration.exit}ms`,transitionTimingFunction:r}},expressive:{in:{transitionDuration:`${a.expressive.duration.enter}ms`,transitionTimingFunction:t},out:{transitionDuration:`${a.expressive.duration.exit}ms`,transitionTimingFunction:r}},performance:{in:{transitionDuration:`${a.performance.duration.enter}ms`,transitionTimingFunction:t},out:{transitionDuration:`${a.performance.duration.exit}ms`,transitionTimingFunction:r}},userTriggeredDelay:"100ms",eventTriggeredDelay:"0ms"};e.s(["transitionParams",0,a,"transitions",0,n])},540009,e=>{"use strict";var t,r=((t={}).Athleta="at",t.BananaRepublic="br",t.BananaRepublicFactoryStore="brfs",t.Gap="gap",t.GapFactoryStore="gapfs",t.OldNavy="on",t);e.s(["Brands",()=>r])},724877,e=>{"use strict";e.s(["kebabCase",0,function(e){return e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.map(e=>e.toLowerCase()).join("-")??""}])},182974,e=>{"use strict";let t=new(e.i(160478)).default(null,{path:"/"});e.s(["getCookie",0,e=>t.get(e),"removePipes",0,e=>e?.replace(/\|/g,"")])},668271,e=>{"use strict";e.i(398437),e.s(["getDisplayName",0,function(e){return e.displayName||e.name||e.constructor?.name||"Component"}])},36084,(e,t,r)=>{t.exports={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},709172,67815,e=>{"use strict";var t=e.i(857727),r=e.i(271645),a=e.i(120140),n=e.i(320839);let i=e=>"string"==typeof e?e.trim():void 0,o=e=>{let t=((e,t)=>{if(!e)return;let[r,a]=t.split("/");return e[t]??e[r]?.[a]??e[a]})(e,"sitewide/marketingFlagOverride"),r=t?.data?.components;return Array.isArray(r)&&0!==r.length?r.reduce((e,t)=>
1{let r,a,n=(r=i(t.originalMarketingFlag),a=i(t.overrideMarketingFlag),r&&a&&t.platforms?.site===!0&&t._meta?.schema==="https://cms.gap.com/schema/content/v1/mobileapp-marketing-flag-override.json"?{originalLabel:r,overrideLabel:a,color:i(t.color)||void 0}:null);return n&&e.push(n),e},[]):[]};e.s(["extractMarketingFlagOverrides",0,o],67815);let s=(0,r.createContext)({});function u(){let{contentData:e}=(0,r.useContext)(s);return{contentData:e}}e.s(["MarketingContext",0,s,"MarketingProvider",0,function(e){let{children:i,value:o,jsonMarketingComponent:u,cmsMarketingComponent:c}=e,p=(0,a.useCMSSlotData)(),{targetEnv:l}=(0,n.usePageContext)(),d=(0,r.useMemo)(()=>({contentData:"preview"!==l&&"wip-stage"!==l?o:{...o,...p},JsonDynamicMarketing:u,CmsDynamicMarketing:c}),[o,p]);return(0,r.useEffect)(()=>{window.contentData=d.contentData},[d]),(0,t.jsx)(s.Provider,{value:d,children:i})},"useContent",0,u,"useMarketingFlagOverrides",0,function(){let{contentData:e}=u();return(0,r.useMemo)(()=>o(e),[e])},"withMarketingData",0,function(e){return function(r){let{contentData:a}=u();return(0,t.jsx)(e,{...r,marketingData:a})}}],709172)},161481,e=>{"use strict";var t=e.i(618566),r=e.i(271645),a=e.i(42848),n=e.i(471453);e.s(["useLastNavSource",0,function(){return(0,n.useRouteKeyState)().current.lastNavSource},"useRouteKey",0,function(){let e=(0,a.useIsBrowseScope)(),i=(0,t.usePathname)(),o=(0,t.useSearchParams)(),s=o?.toString(),u=s?`${i}?${s}`:i,c=(0,n.useRouteKeyState)(),p=globalThis.window?.history?.state?.__navBase,l=c.current.pendingNav&&"spa-nav"===c.current.pendingNavSource?void 0:p,d=void 0===c.current.lastCandidate;return(d||u!==c.current.lastCandidate)&&(c.current.lastCandidate=u,(d||c.current.pendingNav)&&(c.current.currentNavKey=l??u),c.current.pendingNav&&(c.current.lastNavSource=c.current.pendingNavSource,e&&(c.current.lastCommittedRoute=u))),(0,r.useEffect)(()=>{c.current.pendingNav=!1,c.current.pendingNavSource=void 0;let e=globalThis.window?.history?.state;if(!e)return;let t=e.__navBase??c.current.currentNavKey;if(!e.__nonNav&&(void 0!==e.__navBase||void 0===t))return;let{__nonNav:r,...a}=e;history.replaceState({...a,__navBase:t},document.title,location.href)},[u,c]),e?c.current.lastCommittedRoute:void 0}])},120140,e=>{"use strict";var t=e.i(320839),r=e.i(271645);let a=(0,r.createContext)({}),n={};e.s(["CMSSlotDataContext",0,a,"useCMSSlotData",0,function(){let{targetEnv:e}=(0,t.usePageContext)(),i=(0,r.useContext)(a);return"preview"!==e&&"wip-stage"!==e?n:i}])},31428,e=>{"use strict";let t,r=RegExp("^https?://[^/]*(gap.com|gap.eu|gapcanada.ca|bananarepublic.ca|oldnavy.ca|thegap.co.uk|gap.co.uk|bananarepublic.co.uk|bananarepublic.com|oldnavy.com|piperlime.com|athleta.com|local)","i"),a=RegExp("^https?://","i");function n(){return window.crypto?.randomUUID?.()||""}async function i(t=!1,o){var s;let u,c,p=e.g.location?.pathname??"/",l=(u=e.g.document?.referrer||"",r.test(u)||!a.test(u)?"":`${encodeURIComponent(u)}`),d=(s=p).endsWith("/category.do")?"category":s.endsWith("/product.do")?"product":s.endsWith("/division.do")?"division":"/"===s?"home":"other",g=(()=>{let e="";try{let t=(document.cookie.match(/unknownShopperId=([A-Z|0-9]+);/)||[])[1];e=t?.replace(/\|/g,"")||n().replace(/-/g,"").substring(0,32).toUpperCase()}catch(t){e="initialize"}return e||"initialize"})(),m=n(),f={originPath:p,channel:"WEB",screensize:window.gap?.breakpoint==="Desktop"?"large":"small",referrer:l,correlationId:m,pageType:d,...o&&{locale:o}};t&&(c={headers:{"x-loyalty-version":"v2"}});let b=e=>(e instanceof Error&&(window.newrelic?.noticeError(e),window.console.error(e)),{isLoading:!1,isError:!0});try{let e=new URLSearchParams(f);return fetch(`/resources/personalization/v1/${g}?${e.toString()}`,c).then(e=>e.ok?e.json():b(Error(`Personalization request failed with status ${e.status}`)),b).catch(b)}catch(e){return b(e)}}let o=null,s=()=>{o=null,t=void 0};e.s(["getPersonalizationData",0,(e,r)=>{let a=`${globalThis.location?.pathname??"/"}${globalThis.location?.search??""}`;return o&&t!==a&&s(),o||(t=a,o=i(e,r)),o},"resetPersonalizationCache",0,s])},192826,e=>{"use strict";var t=e.i(857727),r=e.i(701572),a=e.i(271645),n=e.i(138080),i=e.i(396961),o=e.i(789533);let s=/^[AT|ON|GAP|GP|BR]*[US|CA|JP|UK|EU]*(DIV|CAT)PREF[_pref\d]*$/,u={CARDSTATUS:"cardholder_status",DS:"discount_sensitivity",EMAILUS:"email_status"};function c(e){try{o.default.upsert({name:"personalization",data:(e=>{var t;let{personalizationInfoV1:r}=e,{featureSelections:a,userContext:n,customerAttributes:i}=r,{cardholder_status:o,division_preference:c="",discount_sensitivity:p="",category_preference:l="",email_status:d=""}=((t=a?.Evergreens||[],Array.isArray(t))?t:[t]).reduce((e,t)=>
1{let r,a=(r=t.AttributeName).match(s)?r.replace(s,(e,t)=>"DIV"===t?"division_preference":"category_preference"):u[r];if(a){let r=e[a]||"";e[a]=r?`${r},${t.AttributeValue}`:t.AttributeValue}return e},{}),{userEmailEncrypt:g="",userEmailMMEncrypt:m="",userEmailEncrypt256:f=""}=n,{virtual_value_message:b}=(e=>{var t,r,a;let{GECardHolder:n,totalRewardValue:i="0",hasOffers:o="false"}=e||{};return{virtual_value_message:(t="true"===String(n),r=o,a=parseFloat(i),t?r?`GE_${a}_OFR`:`GE_${a}_NO`:r?"NG_0_OFR":"NG_0_NO")}})(i),h=(e=>{let{isLoggedInUser:t,isRecognizedUser:r}=e;return"true"===t||"true"===r?"existing":"new"})(n);return{cardholder_status:o,division_preference:c,discount_sensitivity:p,category_preference:l,email_status:d,encrypted_customer_email:g,encrypted_customer_email_mm:m,hashed_customer_email:f,virtual_value_message:b,customer_type:h,recognition_status:(e=>{let{isLoggedInUser:t,isRecognizedUser:r}=e;return"true"===t?"authenticated":"true"===r?"recognized":"unrecognized"})(n),mtl_member_status:i?.mtlMember||"",tier_status:i?.tier||""}})(e)})}catch(e){if(e instanceof Error){let t=`[Personalization Layer] error building: ${e.message}`;window.newrelic.noticeError(e,{error_message:t}),console.error(e.message,t)}}}var p=e.i(161481),l=e.i(31428),d=e.i(182974);let g="is_lhubfl_enabled",m={tier:"CORE",totalRewardValue:"0",isLoggedInUser:!1,isRecognizedUser:!1,firstName:"",totalItemCount:0,shoppingBag:{totalItemCount:0,totalItemAmount:0},isLoading:!0,isError:!1},f=(0,a.createContext)(m);function b(e,t){return!e||"isError"in e?{...m,isLoading:!1,isError:!0}:{...((e,t)=>{let{userContext:r,customerAccount:a,customerAttributes:n={},featureSelections:i={Evergreens:[]},shoppingBag:o,marketingMessageInfo:s,customerUUID:u,customerId:c,personalizationReferrerInfo:p,redpointPersonalizedMarketingData:l,preScreenResponse:g={},...m}=e?.personalizationInfoV1||{},{mtl_member_status:f}=n?(e=>{let{mtlMember:t}=e;return{mtl_member_status:"true"===t}})(n):{mtl_member_status:!1},{tier_status:b}=n?(e=>{let{tier:t}=e;return{tier_status:t&&t.length>0?t.toLowerCase():""}})(n):{tier_status:""},{isLoggedInUser:h,isRecognizedUser:y}=r||{},{firstName:v,memberInd:x=!1}=a||{},{geoLocation:C=""}=s||{},w=!!n&&((e,t=1)=>"true"===e.hasOffers&&((e="",t=1)=>e.split(",").includes(String(t)))(e.offerBrands,t))(n,t),A=!!n&&parseInt(n.totalRewardValue||"0",10)+parseInt(n.mtlTotalRewardValue||"0",10)>0,S={1:"GapCash",2:"Style Notes",3:"Super Cash",5:"GapCash",6:"StyleCash",7:"GapCash",9:"Super Cash",10:"StyleCash"}[t],_=n?parseInt(n.totalRewardValue||"0",10):"0",O=n?.tier||"",k=Number(o?.totalItemCount)||0,E=Number(n?.activePoints)||Number(n?.loyaltyAttributes?.currentPoints)||0;return sessionStorage.setItem("memberInd",JSON.stringify(x)),{tier:O,totalItemCount:k,totalRewardValue:_,currentPointsOfUser:E,customerId:c,customerUUID:u,externalCustomerId:(0,d.removePipes)((0,d.getCookie)("cam")),personalizationReferrerInfo:{headerReferrerUrl:p?.headerReferrerUrl},shoppingBag:{totalItemCount:k,totalItemAmount:Number(o?.totalItemAmount)||0},marketingMessageInfo:s,userContext:r,customerAttributes:n,mtl_member_status:f,tier_status:b,featureSelections:i,firstName:v,memberInd:x,isLoggedInUser:"true"===h,isRecognizedUser:"true"===y,internationalShipping:{...(({globalShippingCountryCode:e=""})=>({countryName:"",countryFlagURL:`${e.toLowerCase()}.gif`}))(r)},virtualValueInterrupterStatus:{bouncebackActive:w,rewardsActive:A,bouncebackText:S,totalRewardValue:_,tier:O,mtlMember:"true"===(n?.mtlMember||"")},geoCoordinates:((e="")=>{try{return{latitude:e?.match(/lat=.*?(?=,)/g)?.shift()?.split("=").pop()??"",longitude:e?.match(/long=.*?(?=,)/g)?.shift()?.split("=").pop()??""}}catch(e){return{latitude:"",longitude:""}}})(C),zipCode:(e=>{try{return e?.match(/zip=.*?(?=(,|\+))/g)?.shift()?.split("=").pop()??""}catch(e){return""}})(C),redpointPersonalizedMarketingData:l,preScreenResponse:g,freeShippingLoyaltyTierMessage:"",formattedTier:"guest",...m}})(e,t),isLoading:!1,isError:!1}}e.s(["PersonalizationContext",0,f,"PersonalizationContextProvider",0,({children:e,disableDatalayerBuilder:o=!1})=>{let[s,u]=(0,a.useState)({...m}),{brandSiteData:d,abSeg:h,locale:y,brand:v}=(0,a.useContext)(r.PageContext),{enabledFeatures:x}=(0,a.useContext)(n.FeatureFlagsContext),C=Number.parseInt(d?.currentBrandCode?.toString()??"1",10),{marketAwareBrandCode:w=1,marketAgnosticBrandCode:A=1}=(0,i.getBrandInfoForMarketAwareBrandCode)(C)??{},S=["gapfs","brfs"].includes(v)?A:w,_=(0,a.useRef)(0);(0,a.useEffect)(()=>{!async function(){if(!x||!h)return;let e=++_.current,t="on"===h?.lhubfl?.toString().trim().toLowerCase()&&!!x?.[g],r=await (0,l.getPersonalizationData)(t,y);if(e===_.current&&r&&"personalizationInfoV1"in r){let e=b(r,S);(0,a.startTransition)(()=>{u(e)}),window.personalizationData=e,o||c(r)}}();let e=e=>{u(t=>({...t,shoppingBag:{...t.shoppingBag,totalItemCount:e.detail.quantity,totalItemAmount:0}}))};return document.addEventListener("updateBagCount",e),()=>{document.removeEventListener("updateBagCount",e)}},[o,x,h]);let O=(0,a.useCallback)(async()=>{let e=++_.current;try{let t=h?.lhubfl?.toString().trim().toLowerCase()??"",r="on"===t&&!!x?.[g],n=await (0,l.getPersonalizationData)(r,y);if(e!==_.current)return;if(n&&"personalizationInfoV1"in n){let e=b(n,S);(0,a.startTransition)(()=>{u(e)}),window.personalizationData=e,o||c(n)}}catch{}},[h,o,x,y,S]),k=(0,p.useRouteKey)();return(0,a.useEffect)(()=>{void 0!==k&&O()},[k,O]),(0,a.useEffect)(()=>{let e=async()=>{(0,l.resetPersonalizationCache)();let e="on"===(h?.lhubfl?.toString()??"").trim().toLowerCase()&&!!x?.[g],t=await (0,l.getPersonalizationData)(e,y);if(t&&"personalizationInfoV1"in t){let e=b(t,S);(0,a.startTransition)(()=>{u(e)}),window.personalizationData=e,o||c(t)}};return window.addEventListener("lgr:settled",e),()=>{window.removeEventListener("lgr:settled",e)}},[h,o,x,y,S]),(0,t.jsx)(f.Provider,{value:s,children:e})},"usePersonalization",0,e=>{let t,i=(0,a.useContext)(f),{abSeg:o}=(0,a.useContext)(r.PageContext),{enabledFeatures:s}=(0,a.useContext)(n.FeatureFlagsContext),u=(0,a.useMemo)(()=>i.externalCustomerId,[i.externalCustomerId]),c=(0,a.useMemo)(()=>i.featureSelections,[i.featureSelections]),{tierMock:p,localizedFreeShippingForLoyaltyTiers:l}=e||{};if(!("on"===o?.lhubfl?.toString().trim().toLowerCase()&&s?.[g]))return{...i,customerId:u,featureSelections:c};if(p)t=new Set(["guest","coreRecognized","coreAuth","premierRecognized","premierAuth","allAccessRecognized","allAccessAuth"]).has(p
1)?p:"guest";else t=i?.tier?(e=>{if(!e)return"guest";let t=i?.isLoggedInUser??!1,r=i?.isRecognizedUser??!1;return(t||r)&&["CORE","PREMIER","ALL-ACCESS"].includes(e)?t?({CORE:"coreAuth",PREMIER:"premierAuth","ALL-ACCESS":"allAccessAuth"})[e]:r?({CORE:"coreRecognized",PREMIER:"premierRecognized","ALL-ACCESS":"allAccessRecognized"})[e]:"guest":"guest"})(i.tier):"guest";let d=((e,t)=>{if(!e||!t)return null;switch(e){case"premierAuth":case"premierRecognized":return t.premier;case"coreAuth":case"coreRecognized":return t.core;case"allAccessAuth":case"allAccessRecognized":return t.allAccess;default:return t.guest}})(t,l);return{...i,customerId:u,featureSelections:c,formattedTier:t,freeShippingLoyaltyTierMessage:d}},"withPersonalizationData",0,function(e){return function(r){let n=(0,a.useContext)(f);return(0,t.jsx)(e,{...r,personalizationData:n})}}],192826)}]);

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.