PageSourceSearch

https://www.costco.ca/consumer-web/browse/prd/homepage-cabc/_next/static/chunks/1459-bb054a4ad5c3d188.js

js costco.ca collected 2026-10-01 10:20:16 UTC 37,254 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1459],{19530:(e,t,l)=>{l.d(t,{p:()=>n});let n="\xa0"},22573:(e,t,l)=>{l.d(t,{Ar:()=>p,DJ:()=>x,Jj:()=>g,Lk:()=>d,R9:()=>c,dR:()=>r,hQ:()=>u,l7:()=>i,o9:()=>s,xg:()=>o});var n=l(24880);let i="10px 10px 0 0",o="0 0 10px 10px",r="10px",a={alignItems:"center",alignSelf:"stretch",display:"flex",flex:1,flexDirection:"column",gap:n.D3H},d=a,s={alignItems:"flex-start",alignSelf:"stretch",display:"flex",flex:"1 0 0",flexDirection:"column",gap:"4px"},x=a,p={"& > div":{flex:1,height:"100%",justifyContent:"center"},height:"100%"},c={flex:"1 0 0"},u={"& > div":{flex:1,justifyContent:"center"},alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column"},g={borderRadius:r,height:{lg:"249px",md:"736px",xs:"343px"},width:{lg:"976px",md:"736px",xs:"343px"}}},34397:(e,t,l)=>{l.d(t,{C:()=>n,I:()=>i});let n={"en-us":"USD","en-ca":"CAD","fr-ca":"CAD"},i={space:" ",period:"."}},39105:(e,t,l)=>{l.d(t,{ZP:()=>n,nS:()=>o,nt:()=>i});let n="strip",i="top_strip",o="bottom_strip"},39303:(e,t,l)=>{l.d(t,{qF:()=>A,y:()=>R,$K:()=>q,J6:()=>$,DB:()=>ee,oC:()=>F,SF:()=>M,K_:()=>W,Py:()=>B,Y1:()=>G,QF:()=>Z,JR:()=>N,Gb:()=>X,Y6:()=>Y,lk:()=>T,fI:()=>L,aN:()=>U,gm:()=>E,ey:()=>D,RD:()=>O,x_:()=>Q,vY:()=>J});var n=l(95155),i=l(51563),o=l(12115),r=l(24880),a=l(39105);let d=r.DJJ,s=r.H4y,x=r.hGW,p={alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",justifyContent:"center",padding:"1% 5%"},c={alignSelf:"stretch",fontWeight:r.Pqj,lineHeight:r.xUz,textAlign:"center",wordBreak:"break-word"},u={...c,fontSize:{lg:"1.625rem",md:"1.375rem",xs:"1.375rem"}},g={...c,fontSize:{lg:"0.875rem",md:"0.875rem",xs:"0.625rem"}};var f=l(22573);let h=r.H4y,m=r.hGW,_=r.DJJ,v=r.hGW,y={borderRadius:f.dR,display:"flex",flexDirection:"column"},b={...y,alignItems:"flex-start",alignSelf:"stretch",padding:`${r.iAn} ${r.Mzk}`},z={...y,alignItems:"center",gap:"8px",justifyContent:"center",minWidth:"100%",padding:`10px ${r.Mzk}`},j={alignSelf:"stretch",borderRadius:f.dR},w={textAlign:"center",wordBreak:"break-word"},k={...w,alignSelf:"stretch",fontSize:r.Hrl,fontWeight:r.Pqj,lineHeight:1.167},S={...w,fontSize:r.MkR,fontWeight:r.Pqj,lineHeight:1.25},I={...w,alignSelf:"stretch",fontSize:r.tGh,fontWeight:r.Pqj,lineHeight:r.xUz};var P=l(41639),H=l(80836),C=l(55252);let A=e=>e.split("&#10;").map((e,t,l)=>(0,n.jsxs)(o.Fragment,{children:[e,t<l.length-1&&(0,n.jsx)("br",{})]},t)),F=e=>{var t;if(!(null==(t=e.composable_window)?void 0:t.length))return{};let l=Object.fromEntries(e.composable_window.map(e=>[e.text_only.development_field_key,e.text_only.body])),n=l["popupVisitExter
1nalLink.titleContent"],i=l["popupVisitExternalLink.bodyContent"];return{warningPrimaryButtonText:l["popupVisitExternalLink.primaryButtonContent"],warningSecondaryButtonText:l["popupVisitExternalLink.secondaryButtonContent"],warningText:i,warningTitle:n}},q=e=>{if(!e||!("background_gradient_style"in e)||!("background_gradient_color"in e)||!("background_color"in e))return null;{let{background_gradient_style:t,background_gradient_color:l,background_color:n}=e;if(!n.hex&&"solid"===t||"no-background"===t)return null;if(l&&("linear"===t||"radial"===t)){let e,n;return e=null==l?void 0:l.color1.hex,n=null==l?void 0:l.color2.hex,`${t.toLowerCase()}-gradient(${e}, ${n})`}return n.hex}},$=e=>{var t,l;if(!e||!("border_color_type"in e)||!("border_color"in e))return{border:"none",boxShadow:"none"};{let{border_color:n,border_color_type:i}=e;if("no-border"===i||!n)return{border:"none",boxShadow:"none"};if("solid"===i){let e=(null==(t=null==n?void 0:n.solid)?void 0:t.hex)||H.yp;return{border:`1px solid ${e}`}}if("shadow"===i){let e=(null==(l=null==n?void 0:n.shadow)?void 0:l.hex)||H.yp;return{boxShadow:`0px 2px 6px 0px ${e}`}}}},W=(e,t,l)=>{if(!Array.isArray(l)||!l.length)return null;{let{imageName:n}=l[0];if((0,i.AY)(n))return n;let o=n.replace(/\.jpg$/,""),{siteType:r}=t.properties[0],a=r.slice(0,2),d=r.slice(-2),s=((e,t)=>{if(!t)return null;let{imageBasePath:l}=e.custom.envConfig;return l[t]})(e,d),x=((e,t,l)=>{if(!l||!t)return null;let{imageProfileId:n}=e.custom.envConfig;return n[`${t}${l}`]})(e,d,a),{imgServerPath:p}=e.custom.envConfig;return`${s}${p}?profileId=${x}&imageId=${o}__1&recipeName=350`}},B=(e,t)=>{if(!Array.isArray(t)||!t.length)return null;{var l;let{itemNumber:n}=t[0],{siteType:i}=e.properties[0],o=(l=i.slice(0,2))?C.C7[l]:null;return`${o}.product.${n}.html`}},M=e=>{var t;if(!Array.isArray(null==e?void 0:e.dynamic_landing_page_builder_ref)||null==(t=null==e?void 0:e.dynamic_landing_page_builder_ref)||!t.length)return null;{let{uid:t}=e.dynamic_landing_page_builder_ref[0];return`/dlp/-/${t}`}},R=(e,t)=>Array.isArray(e)?e.find(({add_text_banner:e})=>e.text_banner_type===t)??null:null,Y=(e,t)=>Array.isArray(e)?e.find(({strip:e})=>e.strip_type===t)??null:null,V=(e,t)=>{var l;return Array.isArray(e)?(null==(l=e.find(({overlay_style:e})=>e.applicability===t))?void 0:l.overlay_style)??null:null},D=e=>{let t,l,n,i;for(let o of e){if("content"in o&&(null==o?void 0:o.content.text.length)>0)switch(o.content.content_type){case P.eL:t||(t=o);break;case P.S4:l||(l=o);break;case P.tG:case P.Y3:n||(n=o)}else"prices_and_percentages"in o&&(null==o?void 0:o.prices_and_percentages.value.length)>0&&(i=o);if(t&&l&&n&&i)break}return{pricesAndPercentagesContent:i,subtitleContent:l,titleContent:t,urlOrButtonContentDeprecated:n}},N=({enable_custom_background:e,background_group:t})=>{let l=q(t)??"transparent";return{...e?{background:l}:{}}},G=({top_and_bottom_strip:e,text_content_placement:t})=>{let l=Y(e,a.nt),n=Y(e,a.nS);return t===P._l?{borderRadius:l?"inherit":f.l7}:(l||t===P.yb)&&!n?{borderRadius:f.xg}:!l&&t!==P.yb&&n?{borderRadius:f.l7}:l||n?{borderRadius:"inherit"}:{borderRadius:f.dR}},L=({ad_type:e,strip_type:t,background_color:l,text_content_placement:n,font_size:i})=>{let o=q(l),r="30px !important";"large"===i&&(r={lg:"50px !important",xs:"30px !important"});let a={},d={};return"top_strip"===t&&(a={...p,background:o??s,borderRadius:n===P.yb?"inherit":f.l7,flexBasis:r}),"bottom_strip"===t&&(d={...p,background:o??x,borderRadius:n===P._l?"inherit":f.xg,..."full"===e?{flexBasis:{lg:"40px !important",xs:"25px !important"}}:{flexBasis:"25px !important"}}),{...a,...d}},T=({strip_type:e,text_color:t,ad_type:l})=>{let n=(null==t?void 0:t.hex)??d;return"top_strip"===e?{...u,..."one_third"===l||"large_ad"===l?{fontSize:"1.125rem",lineHeight:1.25}:{},..."one_fourth"===l||"item_driver"===l?{fontSize:"1.125rem",lineHeight:1.25}:{},color:n}:{...g,color:n}},E=({text_banner_type:e,banner_background_color:t,font_size:l})=>{let n=q(t),i=n?`${r.iAn} ${r.Mzk}`:"0";return{..."top_banner"===e&&"small"!==l?{...b,background:n??"#01F9C6"}:{},..."bottom_banner"===e&&"small"!==l?{...z,background:n??h}:{},..."small"===l?{...j,background:n??"transparent",padding:i}:{}}},U=({text_banner_type:e,text_color:t,font_size:l})=>{let n=(null==t?void 0:t.hex)??m,i=(null==t?void 0:t.hex)??_,o=("small"===l&&(null==t?void 0:t.hex))??v;return{..."top_banner"===e&&"small"!==l?{...k,color:n}:{},..."bottom_banner"===e&&"small"!==l?{...S,color:i}:{},..."small"===l?{...I,color:o}:{}}},J=({content_type:e})=>({...H.Dt,..."url"===e?{gap:"4px"}:{},..."button"===e?{gap:{md:"4px",xs:"0px"}}:{}});function X(e){let t,l;e&&(t=V(e,P.uE),l=V(e,P.Tn));let n={height:(null==t?void 0:t.overlay_fill_type)==="vertical"?`${null==t?void 0:t.overlay_fill_}%`:"auto",width:(null==t?void 0:t.overlay_fill_type)==="horizontal"?`${null==t?void 0:t.overlay_fill_}%`:"auto",justifyItems:(null==t?void 0:t.overlay_position)==="center"?"center":(null==t?void 0:t.overlay_position)==="right"?"flex-end":"flex-start",alignItems:(null==t?void 0:t.overlay_position)==="center"?"center":(null==t?void 0:t.overlay_position)==="right"?"flex-end":"flex-start",backgroundColor:q(null==t?void 0:t.overlay_background_color)},i={height:(null==l?void 0:l.overlay_fill_type)==="vertical"?`${null==l?void 0:l.overlay_fill_}%`:"auto",width:(null==l?void 0:l.overlay_fill_type)==="horizontal"?`${null==l?void 0:l.overlay_fill_}%`:"auto",justifyItems:(null==l?void 0:l.overlay_position)==="center"?"center":(null==l?void 0:l.overlay_position)==="right"?"flex-end":"flex-start",alignItems:(null==l?void 0:l.overlay_position)==="center"?"center":(null==l?void 0:l.overlay_position)==="right"?"flex-end":"flex-start",backgroundColor:q(null==l?void 0:l.overlay_background_color)},o=n.backgroundColor&&"transparent"!==n.backgroundColor||i.backgroundColor&&"transparent"!==i.backgroundColor;return{width:l?{md:n.width,xs:i.width}:n.width,height:l?{md:n.height,xs:i.height}:n.height,justifyItems:l?{md:n.justifyItems,xs:i.justifyItems}
1:n.justifyItems,alignItems:l?{md:n.alignItems,xs:i.alignItems}:n.alignItems,background:l?{md:n.backgroundColor??"transparent",xs:i.backgroundColor??"transparent"}:n.backgroundColor??"transparent",...o&&{padding:{lg:`${r.VJP}`,md:`${r.rQK}`,xs:`${r.yF6}`},borderRadius:"4px"}}}let K=e=>{if(Array.isArray(e)){let t=e.find(({above_below_the_ad_styles:e})=>!!(null==e?void 0:e.text_alignment));return(null==t?void 0:t.above_below_the_ad_styles)??null}return null},Q=({ad_type:e,content_type:t,text_content_overlay_styles:l,text_content_above_below_the_ad_styles:n,background_group:i,enable_custom_background:o,text_content_placement:a})=>{let d;switch(a){case P._l:d=(({content_type:e,text_content_above_below_the_ad_styles:t,background_group:l,enable_custom_background:n})=>{let i=K(t),o=q(l);return{...H.jd,...(null==i?void 0:i.text_alignment)==="center"?{alignItems:"center",textAlign:"center"}:{alignItems:"flex-start",textAlign:"left"},...n&&{background:o},..."url"===e?{gap:"2px"}:{},..."button"===e?{gap:"8px"}:{}}})({content_type:t,text_content_above_below_the_ad_styles:n,background_group:i,enable_custom_background:o});break;case P.yb:d=(({content_type:e,text_content_above_below_the_ad_styles:t,background_group:l,enable_custom_background:n})=>{let i=K(t),o=q(l);return{...H.hA,...(null==i?void 0:i.text_alignment)==="center"?{alignItems:"center",textAlign:"center"}:{alignItems:"flex-start",textAlign:"left"},...n&&{background:o},..."url"===e?{gap:"2px"}:{},..."button"===e?{gap:"8px"}:{}}})({content_type:t,text_content_above_below_the_ad_styles:n,background_group:i,enable_custom_background:o});break;default:d=(({text_content_overlay_styles:e,content_type:t,ad_type:l})=>{let n=V(e,P.uE),i=V(e,P.Tn),o={alignItems:(null==n?void 0:n.overlay_position)==="center"?"center":(null==n?void 0:n.overlay_position)==="right"?"flex-end":"flex-start",height:"100%",justifyContent:(null==n?void 0:n.text_alignment)==="top"||(null==n?void 0:n.text_alignment)==="middle"||(null==n?void 0:n.text_alignment)==="bottom"?P.Gh[n.text_alignment]:P.Gh[P.hI],left:(null==n?void 0:n.overlay_position)==="left"?"0":"auto",right:(null==n?void 0:n.overlay_position)==="right"?"0":"auto",width:`${null==n?void 0:n.overlay_fill_}%`},a={alignItems:(null==i?void 0:i.overlay_position)==="center"?"center":(null==i?void 0:i.overlay_position)==="right"?"flex-end":"flex-start",bottom:(null==i?void 0:i.overlay_position)==="bottom"?"0":"auto",height:`${null==i?void 0:i.overlay_fill_}%`,justifyContent:(null==i?void 0:i.overlay_position)==="top"||(null==i?void 0:i.overlay_position)==="bottom"?P.$6[i.overlay_position]:P.$6[P.MR],top:(null==i?void 0:i.overlay_position)==="top"?"0":"auto",width:"100%"};return{...H.YG,alignItems:i?{md:o.alignItems,xs:a.alignItems}:o.alignItems,bottom:i?{md:"auto",xs:a.bottom}:"auto",height:i?{md:o.height,xs:a.height}:o.height,justifyContent:i?{md:o.justifyContent,xs:a.justifyContent}:o.justifyContent,left:o.left,right:o.right,top:i?{md:"auto",xs:a.top}:"auto",width:i?{md:o.width,xs:a.width}:o.width,..."one_third"===l||"large_ad"===l?{padding:{md:`${r.Mzk} ${r.i_v}`,xs:r.Mzk}}:{},..."url"===t?{gap:"2px"}:{},..."button"===t?{gap:"8px"}:{}}})({ad_type:e,content_type:t,text_content_overlay_styles:l})}return d},O=({ad_type:e,content_type:t,text_color:l,text_content_overlay_styles:n,text_content_placement:i,hasPricesAndPercentagesContent:o})=>{let r;switch(i){case P._l:r=(({content_type:e,text_color:t,hasPricesAndPercentagesContent:l})=>{let n={[P.Y3]:H.Js,[P.l_]:H.Js,[P.S4]:l?H.Z1:H.AX,[P.eL]:l?H.XQ:H.lI,[P.tG]:H.q8,[P.Yo]:H.q8},i=null==t?void 0:t.hex;return n[P.eL].color=i??H.Cb,n[P.S4].color=i??H.Cb,n[P.tG].color=i??H.SH,n[P.Y3].color=i??H.ln,{...n[e]}})({content_type:t,hasPricesAndPercentagesContent:o,text_color:l});break;case P.yb:r=(({content_type:e,text_color:t})=>{let l={[P.Y3]:H.bH,[P.l_]:H.bH,[P.S4]:H.Xx,[P.eL]:H.V,[P.tG]:H.gN,[P.Yo]:H.gN},n=null==t?void 0:t.hex;return l[P.eL].color=n??H.w2,l[P.S4].color=n??H.w2,l[P.tG].color=n??H.SH,l[P.Y3].color=n??H.ln,{...l[e]}})({content_type:t,text_color:l});break;default:r=(({ad_type:e,content_type:t,text_color:l,text_content_overlay_styles:n,hasPricesAndPercentagesContent:i})=>{let o,r;
1n&&(o=V(n,P.uE),r=V(n,P.Tn));let a={textAlign:(null==o?void 0:o.overlay_position)==="left"||(null==o?void 0:o.overlay_position)==="center"||(null==o?void 0:o.overlay_position)==="right"?P.Pn[o.overlay_position]:P.Pn[P.GB]},d={textAlign:(null==r?void 0:r.text_alignment)==="left"||(null==r?void 0:r.text_alignment)==="center"?P.sN[r.text_alignment]:P.sN[P.jK]},s={[P.Y3]:H.Rm,[P.l_]:H.Rm,[P.S4]:i?H.vC:H.dg,[P.eL]:i?H.xZ:H.f5,[P.tG]:H.Gc,[P.Yo]:H.Gc},x=null==l?void 0:l.hex;return s[P.eL].color=x??H.l4,s[P.S4].color=x??H.l4,s[P.tG].color=x??H.SH,s[P.Y3].color=x??H.ln,"one_third"===e||"large_ad"===e?(s[P.eL]={...s[P.eL],...H.Qh},s[P.S4]={...s[P.S4],...H.Qx},s[P.tG]={...s[P.tG],...H.Y3},s[P.Y3]={...s[P.Y3],...H.Y3}):("one_fourth"===e||"one_fourth_mix"===e||"item_driver"===e)&&(s[P.eL]={...s[P.eL],...H.jJ},s[P.S4]={...s[P.S4],...H.Hc},s[P.tG]={...s[P.tG],...H.r8},s[P.Y3]={...s[P.Y3],...H.r8}),{textAlign:r?{md:a.textAlign,xs:d.textAlign}:a.textAlign,...s[t]}})({ad_type:e,content_type:t,hasPricesAndPercentagesContent:o,text_color:l,text_content_overlay_styles:n})}return r},Z=e=>{let t,l;e&&(t=V(e,P.uE),l=V(e,P.Tn));let n={textAlign:(null==t?void 0:t.overlay_position)==="right"?"right":(null==t?void 0:t.overlay_position)==="center"?"center":"left",alignSelf:(null==t?void 0:t.overlay_position)==="right"?"flex-end":(null==t?void 0:t.overlay_position)==="center"?"center":"flex-start"},i={textAlign:(null==l?void 0:l.overlay_position)==="right"?"right":(null==l?void 0:l.overlay_position)==="center"?"center":"left",alignSelf:(null==l?void 0:l.overlay_position)==="right"?"flex-end":(null==l?void 0:l.overlay_position)==="center"?"center":"flex-start"};return{textAlign:l?{md:n.textAlign,xs:i.textAlign}:n.textAlign,alignSelf:l?{md:n.alignSelf,xs:i.alignSelf}:n.alignSelf}},ee=e=>e?"half"===e?"aduilder_one_half":`aduilder_${e}`:null},41639:(e,t,l)=>{l.d(t,{$6:()=>h,CD:()=>n,GB:()=>v,Gh:()=>m,J9:()=>w,MR:()=>y,Pn:()=>f,Rg:()=>j,S4:()=>d,Tn:()=>g,Y3:()=>x,Yo:()=>p,_l:()=>i,b0:()=>S,cV:()=>k,eL:()=>a,hI:()=>b,jK:()=>z,jW:()=>o,l_:()=>c,sN:()=>_,tG:()=>s,uE:()=>u,yb:()=>r});let n="text_content",i="below_the_ad",o="overlay",r="above_the_ad",a="title",d="subtitle",s="url",x="button",p="url_v2",c="button_v2",u="default",g="mobile",f={center:"center",left:"start",right:"end"},h={bottom:"flex-end",top:"flex-start"},m={bottom:"flex-end",middle:"center",top:"flex-start"},_={center:"center",left:"start"},v="left",y="top",b="top",z="left",j=["title_with_xl",a,"heading",d,"body","caption"],w=["title_with_xl_v2","title_v2","heading_v2","subheading_v2","body_copy_v2","caption_v2",p,c],k={h1:{component:"span",props:{style:{all:"inherit"}}},h2:{component:"span",props:{style:{all:"inherit"}}},h3:{component:"span",props:{style:{all:"inherit"}}}},S={h1:{props:{style:{all:"inherit"}}},h2:{props:{style:{all:"inherit"}}},h3:{props:{style:{all:"inherit"}}}}},43525:(e,t,l)=>{l.d(t,{L:()=>ea});var n=l(95155),i=l(19530),o=l(12115),r=l(39303),a=l(25719),d=l(34397);let s=(e,t="en-us",l=!1)=>e.map(e=>{var n;let i,o=null==e?void 0:e.trim(),r=!o,{normalizedValue:a,originalThousandsSeparator:s}=((e,t)=>{let l=e.trim();if("fr-ca"!==t)return{normalizedValue:parseFloat(l.replace(/,/g,""))};{let e=/\s/.test(l),t=l.includes("."),n=l.includes(",");return e&&t?{normalizedValue:parseFloat(l.replace(/\./g,"").replace(/\s/g,"").replace(",",".")),originalThousandsSeparator:"space"}:e?{normalizedValue:parseFloat(l.replace(/\s/g,"").replace(",",".")),originalThousandsSeparator:"space"}:t&&n?{normalizedValue:parseFloat(l.replace(/\./g,"").replace(",",".")),originalThousandsSeparator:"period"}:n?{normalizedValue:parseFloat(l.replace(",","."))}:{normalizedValue:parseFloat(l)}}})(o||"0",t||"en-us"),x=!!l&&(r||Number.isNaN(a)||0===a),p=(n=t||"en-us",i={style:"currency",currency:d.C[n]},new Intl.NumberFormat(n,i).formatToParts(a));return{shouldMaskPrice:x,priceParts:"fr-ca"===t&&s?((e,t)=>{if(!t)return e;let l=d.I[t];return e.map(e=>"group"===e.type?{...e,value:l}:e)})(p,s):p}}),x=(e,t=!1,l=!0)=>{var n,i;let o={type:"decimal",value:(null==(n=e.find(e=>"decimal"===e.type))?void 0:n.value)??"."},{integerParts:r,fractionPart:a,decimalPart:d,groupParts:s,literalParts:x}={integerParts:e.filter(e=>"integer"===e.type),fractionPart:e.find(e=>"fraction"===e.type),decimalPart:e.find(e=>"decimal"===e.type),groupParts:e.filter(e=>"group"===e.type),literalParts:e.filter(e=>
1"literal"===e.type)},p=e.find(e=>"currency"===e.type);return{integerParts:t?[{type:"integer",value:"XX"}]:r,fractionPart:t?{type:"fraction",value:"XX"}:a,decimalPart:t?o:d,groupParts:s,literalParts:x,currencyPart:p,prependCurrency:(null==(i=e[0])?void 0:i.type)==="currency",showCurrencySymbol:l&&!!p}},p=(e,t,l)=>e&&(t||parseFloat(e.value)>0)||!l;var c=l(86670),u=l(12158),g=l(24880);let f=g.hGW,h=e=>"select_style"!==e&&"text_content_placement"!==e,m=e=>"text_content_placement"!==e,_=e=>"text_content_placement"!==e&&"text_color"!==e,v=(0,c.default)(a.CostcoBox,{shouldForwardProp:h})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",display:"inline-flex",flexDirection:"Vertical"===e?"column":"row",gap:g.m72,padding:`${g.iAn} 0px`,zIndex:1})),y=(0,c.default)(u.Text,{shouldForwardProp:e=>"select_style"!==e&&"text_content_placement"!==e&&"text_color"!==e})(({select_style:e="Horizontal",text_color:t,theme:l})=>({color:(null==t?void 0:t.hex)??f,fontWeight:g.Pqj,fontSize:g.x9N,lineHeight:"Vertical"===e?.889:.944,[l.breakpoints.down("md")]:{fontSize:"Vertical"===e?g.Yvi:"0.6875rem",lineHeight:"Vertical"===e?1:1.091},zIndex:1})),b=(0,c.default)(a.CostcoBox)({alignItems:"flex-start",display:"flex",gap:g.m72,justifyContent:"center",zIndex:1,position:"relative"}),z=(0,c.default)(u.Text)({alignItems:"flex-start",display:"flex",gap:"1px",zIndex:1}),j=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,fontSize:g.x9N,lineHeight:.889,zIndex:1})),w=(0,c.default)(u.Text)({alignItems:"flex-start",display:"flex",zIndex:1}),k=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,fontSize:"2.5rem",lineHeight:.8,[t.breakpoints.down("md")]:{fontSize:g.mNA,lineHeight:.786}})),S=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,fontSize:g.x9N,lineHeight:.889})),I=(0,c.default)(u.Text)({position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0}),P=(0,c.default)(a.CostcoBox)({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",zIndex:1}),H=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,textTransform:"uppercase",fontSize:g.x9N,lineHeight:.889})),C=(0,c.default)(a.CostcoBox,{shouldForwardProp:h})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",zIndex:1,..."Vertical"===e?{paddingLeft:"11px"}:{}})),A=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,fontSize:g.x9N,lineHeight:.944,[t.breakpoints.down("md")]:{fontSize:"0.6875rem",lineHeight:1.091}})),F=(0,c.default)(a.CostcoBox,{shouldForwardProp:e=>"select_style"!==e})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",display:"flex",flexDirection:"Vertical"===e?"column":"row",gap:g.m72,zIndex:1})),q=(0,c.default)(a.CostcoBox,{shouldForwardProp:m})({alignItems:"flex-start",display:"flex",padding:`${g.iAn} 0px`,zIndex:1}),$=(0,c.default)(a.CostcoBox,{shouldForwardProp:m})(({theme:e})=>({alignItems:"flex-start",display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"2px",[e.breakpoints.down("md")]:{gap:"1px"},zIndex:1})),W=(0,c.default)(a.CostcoBox,{shouldForwardProp:m})({alignItems:"flex-start",display:"flex",gap:g.m72,padding:`${g.iAn} 0px`,zIndex:1}),B=(0,c.default)(a.CostcoBox)({alignItems:"center",display:"inline-flex",gap:g.m72,zIndex:1,position:"relative"}),M=(0,c.default)(a.CostcoBox,{shouldForwardProp:e=>"highlighterColor"!==e})(({highlighterColor:e})=>({background:e,position:"absolute",width:"100%",zIndex:0,borderRadius:6,top:6,bottom:6})),R=(0,c.default)(u.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??f,fontWeight:g.Pqj,textAlign:"start",fontSize:"2.5rem",lineHeight:1.1,[t.breakpoints.down("md")]:{fontSize:g.mNA,lineHeight:1.214},zIndex:1})),Y=(0,c.default)(a.CostcoBox,{shouldForwardProp:e=>"text_content_placement"!==e&&"select_style"!==e})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",padding:"6px 0px",zIndex:1,..."Vertical"===e?{paddingLeft:"11px"}:{},..."Horizontal"===e?{padding:`${g.iAn} 0px`}:{}})),V=(e,t,l,r,d=!1)=>{var s;let{integerParts:c,fractionPart:u,decimalPart:g,groupParts:f,literalParts:h,currencyPart:m,prependCurrency:_,showCurrencySymbol:v}=x(e,d,t);return(0,n.jsx)(z,{component:"p",uniqueId:"prices_and_percentages_prices",children:(0,n.jsx)(w,{component:"span",children:_?(0,n.jsxs)(n.Fragment,{children:[v&&m&&(0,n.jsx)(j,{text_color:l,text_content_placement:r,component:"span",children:m.value}),c.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[t>0&&f[t-1]&&(0,n.jsx)(k,{text_color:l,text_content_placement:r,component:"span",children:f[t-1].value}),(0,n.jsx)(k,{text_color:l,text_content_placement:r,component:"span",children:e.value})]},`integer-${t}`)),p(u,d,t)&&(0,n.jsxs)(n.Fragment,{children:[t&&g&&(0,n.jsx)(I,{component:"span",children:g.value}),(0,n.jsx)(S,{text_color:l,text_content_placement:r,component:"span",children:t?null==u?void 0:u.value:"%"})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(k,{text_color:l,text_content_placement:r,component:"span",children:[c.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[t>0&&f[t-1]&&(0,n.jsx)(a.CostcoBox,{component:"span",children:f[t-1].value}),(0,n.jsx)(a.CostcoBox,{component:"span",children:e.value})]},`integer-fr-${t}`)),u&&parseFloat(u.value)>0&&g&&t&&(0,n.jsxs)(n.Fragment,{children:[g.value,u.value]}),v&&m&&(0,n.jsxs)(n.Fragment,{children:[(null==(s=h[0])?void 0:s.value)||i.p,m.value]})]}),!t&&(0,n.jsx)(S,{text_color:l,text_content_placement:r,component:"span",children:"%"})]})})})},D=(e,t)=>(0,n.jsx)(P,{children:(0,n.jsx)(H,{text_color:e,text_content_placement:t,uniqueId:"prices_and_percentages_off_text",children:"OFF"})}),N=(e,t,l,i)=>(0,n.jsx)(y,{select_style:i,text_color:t,text_content_placement:l,uniqueId:"prices_and_percentages_prepend_text",children:(0,r.qF)(e)}),G=(e,t,l)=>(0,n.jsx)(A,{text_color:t,text_content_placement:l,uniqueId:"prices_and_percentages_append_text",children:(0,r.qF)(e)}),L=({highlighter_color:e})=>e?(0,n.jsx)(M,{highlighterColor:e}):null,T=({enablePreview:e,content:t,text_content_placement:l,sx:i,locale:o})=>
1{let{select_style:r,prepend_text:d,add_currency:x,value:p,has_off:c,append_text:u,text_color:g,highlighter_color:f}=t.prices_and_percentages,h=s(p,o,e),m=1===p.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(v,{select_style:r,sx:i,children:[d&&N(d,g,l,r),(0,n.jsxs)(b,{children:[(0,n.jsxs)(B,{children:[V(h[0].priceParts,x,g,l,h[0].shouldMaskPrice),c&&D(g,l),L({highlighter_color:f})]}),"Vertical"!==r&&u&&(0,n.jsx)(C,{select_style:r,text_content_placement:l,children:G(u,g,l)})]}),"Vertical"===r&&u&&(0,n.jsx)(C,{select_style:r,text_content_placement:l,children:G(u,g,l)})]})}):null,_=2===p.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(F,{select_style:r,children:[d&&(0,n.jsx)(q,{text_content_placement:l,children:N(d,g,l,r)}),(0,n.jsxs)($,{text_content_placement:l,children:[(0,n.jsx)(W,{text_content_placement:l,children:(0,n.jsxs)(B,{children:[V(h[0].priceParts,x,g,l,h[0].shouldMaskPrice),L({highlighter_color:f})]})}),(0,n.jsx)(R,{text_color:g,text_content_placement:l,uniqueId:"prices_and_percentages_hyphen",children:"-"}),(0,n.jsx)(W,{text_content_placement:l,children:(0,n.jsxs)(B,{children:[V(h[1].priceParts,x,g,l,h[1].shouldMaskPrice),c&&D(g,l),L({highlighter_color:f})]})})]}),u&&(0,n.jsx)(Y,{select_style:r,text_content_placement:l,children:G(u,g,l)})]})}):null;return(0,n.jsxs)(a.CostcoBox,{sx:{position:"relative"},children:[m,_]}
1)},E=(0,c.default)(j)({fontSize:".625rem",fontWeight:g.Pqj,lineHeight:g.MlV}),U=(0,c.default)(k)(({theme:e})=>({fontSize:g.MkR,fontWeight:g.Pqj,lineHeight:g.xUz,[e.breakpoints.down("md")]:{fontSize:g.MkR,lineHeight:g.xUz}})),J=(0,c.default)(R)(({theme:e})=>({fontSize:g.MkR,fontWeight:g.Pqj,lineHeight:g.xUz,alignSelf:"center",[e.breakpoints.down("md")]:{fontSize:g.MkR,lineHeight:g.xUz}})),X=(0,c.default)(S)(({theme:e})=>({fontSize:g.MkR,fontWeight:g.Pqj,lineHeight:g.xUz,[e.breakpoints.down("md")]:{fontSize:g.MkR,lineHeight:g.xUz}})),K=(0,c.default)(v)({alignItems:"baseline",padding:0}),Q=(0,c.default)(F)({display:"inline-flex",alignItems:"baseline",padding:0}),O=(0,c.default)(A)(({theme:e})=>({fontSize:g.Yvi,lineHeight:g.MlV,fontWeight:g.Pqj,[e.breakpoints.down("md")]:{fontSize:g.Yvi,lineHeight:g.MlV}})),Z=(0,c.default)(y)(({theme:e})=>({display:"flex",fontSize:g.Yvi,lineHeight:g.MlV,fontWeight:g.Pqj,alignSelf:"flex-end",[e.breakpoints.down("md")]:{fontSize:g.Yvi,lineHeight:g.MlV}})),ee=(0,c.default)(b)({padding:"0 2px",alignItems:"flex-end"}),et=(0,c.default)(H)({fontSize:g.Yvi,fontWeight:g.Pqj,lineHeight:g.MlV}),el=({prices:e,add_currency:t,text_color:l,text_content_placement:r,shouldMaskPrice:a=!1})=>{var d;let{integerParts:s,fractionPart:c,decimalPart:u,groupParts:g,literalParts:f,currencyPart:h,prependCurrency:m,showCurrencySymbol:_}=x(e,a,t);return(0,n.jsxs)(z,{"data-testid":"prices_and_percentages_prices",children:[_&&m&&h&&(0,n.jsx)(E,{text_color:l,text_content_placement:r,children:h.value}),(0,n.jsxs)(w,{children:[s.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[t>0&&g[t-1]&&(0,n.jsx)(U,{text_color:l,text_content_placement:r,component:"span",children:g[t-1].value}),(0,n.jsx)(U,{text_color:l,text_content_placement:r,children:e.value})]},`integer-${t}`)),p(c,a,t)&&(0,n.jsxs)(X,{text_color:l,text_content_placement:r,children:[t&&s.length>0&&(null==u?void 0:u.value),t?null==c?void 0:c.value:"%"]}),_&&!m&&h&&(0,n.jsxs)(X,{text_color:l,text_content_placement:r,children:[(null==(d=f[0])?void 0:d.value)||i.p,h.value]})]})]})},en=({text_color:e,text_content_placement:t})=>(0,n.jsx)(et,{text_color:e,text_content_placement:t,uniqueId:"prices_and_percentages_off_text",children:"OFF"}),ei=({prepend_text:e,text_color:t,text_content_placement:l,select_style:i})=>(0,n.jsx)(Z,{select_style:i,text_color:t,text_content_placement:l,uniqueId:"prices_and_percentages_prepend_text",children:(0,r.qF)(e)}),eo=({append_text:e,text_color:t,text_content_placement:l})=>(0,n.jsx)(O,{text_color:t,text_content_placement:l,uniqueId:"prices_and_percentages_append_text",children:(0,r.qF)(e)}),er=({enablePreview:e=!1,content:t,text_content_placement:l,locale:i})=>{let{select_style:o,prepend_text:r,add_currency:d,value:x,has_off:p,append_text:c,text_color:u}=t.prices_and_percentages,g=s(x,i,e),f=1===x.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(K,{select_style:o,children:[r&&(0,n.jsx)(ei,{prepend_text:r,text_color:u,text_content_placement:l,select_style:o}),(0,n.jsxs)(ee,{children:[(0,n.jsx)(el,{prices:g[0].priceParts,add_currency:d,text_color:u,text_content_placement:l,shouldMaskPrice:g[0].shouldMaskPrice}),p&&(0,n.jsx)(en,{text_color:u,text_content_placement:l}),"Vertical"!==o&&c&&(0,n.jsx)(eo,{append_text:c,text_color:u,text_content_placement:l})]}),"Vertical"===o&&c&&(0,n.jsx)(eo,{append_text:c,text_color:u,text_content_placement:l})]})}):null,h=2===x.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(Q,{select_style:o,children:[r&&(0,n.jsx)(ei,{prepend_text:r,text_color:u,text_content_placement:l,select_style:o}),(0,n.jsxs)(ee,{children:[(0,n.jsx)(el,{prices:g[0].priceParts,add_currency:d,text_color:u,text_content_placement:l,shouldMaskPrice:g[0].shouldMaskPrice}),(0,n.jsx)(J,{text_color:u,text_content_placement:l,uniqueId:"prices_and_percentages_hyphen",children:"-"}),(0,n.jsx)(el,{prices:g[1].priceParts,add_currency:d,text_color:u,text_content_placement:l,shouldMaskPrice:g[1].shouldMaskPrice}),p&&(0,n.jsx)(en,{text_color:u,text_content_placement:l})]}),c&&(0,n.jsx)(eo,{append_text:c,text_color:u,text_content_placement:l})]})}):null;return(0,n.jsxs)(a.CostcoBox,{sx:{position:"relative"},children:[f,h]})},ea=({variant:e="primary",...t})=>"coupon-set-secondary"===e?(0,n.jsx)(er,{...t}):(0,n.jsx)(T,{...t})},55252:(e,t,l)=>{l.d(t,{C7:()=>o,EA:()=>n,sh:()=>i});let n="AdBuilder",i="skeleton",o={CA:"https://www.costco.ca/",US:"https://www.costco.com/"}},78951:(e,t,l)=>{l.d(t,{f:()=>n});function n(e,t,l){return!0===e?{target:"_blank",hasExternalLinkWarning:!0}:"_self"===l||"_blank"===l?{target:l,hasExternalLinkWarning:!1}:!1===t?{target:"_blank",hasExternalLinkWarning:!1}:{target:"_self",hasExternalLinkWarning:!1}}},80836:(e,t,l)=>{l.d(t,{AK:()=>O,AX:()=>V,Al:()=>ei,BW:()=>eo,BY:()=>ea,Cb:()=>s,Cz:()=>en,Dt:()=>b,Eo:()=>et,Gc:()=>$,HU:()=>el,Hc:()=>k,Js:()=>L,Qh:()=>z,Qx:()=>
1w,Rm:()=>W,SH:()=>p,V:()=>U,XQ:()=>Y,Xx:()=>J,Y3:()=>A,YG:()=>y,Z1:()=>D,bH:()=>Q,dg:()=>H,f5:()=>I,gN:()=>K,hA:()=>T,hE:()=>Z,hl:()=>er,jJ:()=>j,jd:()=>B,l4:()=>d,lI:()=>R,ln:()=>c,q8:()=>G,r8:()=>F,rI:()=>ee,vC:()=>C,w2:()=>x,xZ:()=>P,yp:()=>h});var n=l(86670),i=l(12158),o=l(24880),r=l(22573),a=l(25719);let d=o.hGW,s=o.d1D,x=o.d1D,p=o.H4y,c=o.DJJ,u=o.H4y,g=o.hGW,f=o.U_w,h=o.XgP,m=e=>"select_style"!==e&&"text_content_placement"!==e,_=e=>"text_content_placement"!==e&&"text_color"!==e,v=e=>"text_content_placement"!==e,y={alignItems:"flex-start",alignSelf:"stretch",display:"flex",flex:"1 0 0",flexDirection:"column",padding:{lg:`${o.pMV} ${o.rSY}`,md:`${o.Mzk} ${o.i_v}`,xs:o.Mzk},position:"absolute"},b={alignItems:"inherit",alignSelf:"stretch",display:"flex",flexDirection:"column"},z={fontSize:{lg:o.mNA,md:o.x9N,xs:o.Hrl},lineHeight:{lg:1.143,md:o.xUz,xs:1.167}},j={fontSize:{lg:o.mNA,md:o.mNA,xs:"1.25rem"},lineHeight:{lg:1,md:1,xs:1.4}},w={fontSize:{lg:o.MkR,md:o.tGh,xs:o.tGh},lineHeight:{lg:o.MlV,md:1.429,xs:1.429}},k={fontSize:{lg:o.x9N,md:o.x9N,xs:o.Yvi},lineHeight:{lg:1.111,md:1.111,xs:1.667}},S={color:d,width:"100%",wordBreak:"break-word"},I={...S,fontSize:{lg:"2.5rem",md:o.mNA,xs:o.Hrl},fontWeight:o.Pqj,lineHeight:{lg:1.25,md:1.143,xs:1.167}},P={...S,fontSize:{md:o.mNA,xs:o.Hrl},fontWeight:o.Pqj,lineHeight:{md:1.143,xs:1.167}},H={...S,fontSize:{lg:o.qED,md:o.x9N,xs:o.tGh},fontWeight:o.awq,lineHeight:{lg:o.xUz,md:1.333,xs:1.429}},C={...S,fontSize:{md:o.x9N,xs:o.tGh},fontWeight:o.awq,lineHeight:{md:1.333,xs:1.429}},A={fontSize:{lg:o.Yvi,md:o.Yvi,xs:o.Yvi},lineHeight:{lg:1.333,md:1.333,xs:1.333}},F={fontSize:{lg:o.Yvi,md:o.Yvi,xs:o.Yvi},lineHeight:{lg:1.333,md:1.333,xs:1.333}},q={alignItems:"center",borderRadius:o.oOK,display:"flex",fontSize:{lg:o.MkR,md:o.MkR,xs:o.Yvi},fontWeight:o.awq,gap:o.iAn,justifyContent:"center",letterSpacing:{md:"inherit",xs:"0.2px"},lineHeight:{lg:1.25,md:1.25,xs:1.333},wordBreak:"break-word"},$={...q,color:p,padding:{md:"10px 0px",xs:"3px 0px 5px 0px"},textDecorationLine:"underline"},W={...q,backgroundColor:u,color:c,padding:{md:`10px ${o.Mzk}`,xs:`3px ${o.Mzk} 5px ${o.Mzk}`}},B={alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",background:f,height:"100%",padding:o.iAn,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},M={color:s,width:"100%",wordBreak:"break-word"},R={...M,fontSize:{lg:o.Hrl,md:o.x9N,xs:o.tGh},fontWeight:o.Pqj,lineHeight:{lg:1.143,md:o.MlV,xs:o.xUz}},Y={...M,fontSize:{xs:o.tGh},fontWeight:o.Pqj,lineHeight:{xs:1.429}},V={...M,fontSize:{lg:o.tGh,xs:o.Yvi},fontWeight:o.awq,lineHeight:{lg:o.xUz,xs:"18px"}},D={...M,fontSize:{xs:o.Yvi},fontWeight:o.awq,lineHeight:{xs:o.MlV}},N={alignItems:"center",borderRadius:o.oOK,display:"flex",fontSize:o.MkR,fontWeight:o.awq,gap:o.iAn,justifyContent:"center",lineHeight:o.xUz,wordBreak:"break-word"},G={...N,color:p,padding:"10px 0px",textDecorationLine:"underline"},L={...N,backgroundColor:u,color:c,padding:`10px ${o.Mzk}`},T={alignItems:"flex-start",alignSelf:"stretch",background:f,borderRadius:r.l7,display:"flex",flexDirection:"column",padding:o.D3H},E={color:s,width:"100%",wordBreak:"break-word"},U={...E,fontSize:{md:o.mNA,xs:o.MkR},fontWeight:o.Pqj,lineHeight:{md:1.143,xs:o.MlV}},J={...E,fontSize:{md:o.x9N,xs:o.tGh},fontWeight:o.awq,lineHeight:{md:1.333,xs:1.429}},X={alignItems:"center",borderRadius:o.oOK,display:"flex",fontSize:o.MkR,fontWeight:o.awq,gap:o.iAn,justifyContent:"center",lineHeight:o.xUz,wordBreak:"break-word"},K={...X,color:p,padding:"10px 0px",textDecorationLine:"underline"},Q={...X,backgroundColor:u,color:c,padding:`10px ${o.Mzk}`,zIndex:1},O=(0,n.default)(a.CostcoBox,{shouldForwardProp:m})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",display:"inline-flex",flexDirection:"Vertical"===e?"column":"row",gap:o.m72,padding:`${o.iAn} 0px`,zIndex:1})),Z=(0,n.default)(i.Text,{shouldForwardProp:e=>"select_style"!==e&&"text_content_placement"!==e&&"text_color"!==e})(({select_style:e="Horizontal",text_color:t,theme:l})=>({color:(null==t?void 0:t.hex)??g,fontWeight:o.Pqj,fontSize:o.x9N,lineHeight:"Vertical"===e?.889:.944,[l.breakpoints.down("md")]:{fontSize:"Vertical"===e?o.Yvi:"0.6875rem",lineHeight:"Vertical"===e?1:1.091},zIndex:1})),ee=(0,n.default)(a.CostcoBox)({alignItems:"flex-start",display:"flex",gap:o.m72,justifyContent:"center",zIndex:1,position:"relative"});(0,n.default)(a.CostcoBox)({alignItems:"flex-start",display:"flex",gap:"1px",zIndex:1});let et=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,fontSize:o.x9N,lineHeight:.889,zIndex:1}));(0,n.default)(a.CostcoBox)({alignItems:"flex-start",display:"flex",zIndex:1});let el=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,fontSize:"2.5rem",lineHeight:.8,[t.breakpoints.down("md")]:{fontSize:o.mNA,lineHeight:.786}})),en=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,fontSize:o.x9N,lineHeight:.889}));(0,n.default)(a.CostcoBox)({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",zIndex:1});let ei=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,textTransform:"uppercase",fontSize:o.x9N,lineHeight:.889}));(0,n.default)(a.CostcoBox,{shouldForwardProp:m})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",zIndex:1,..."Vertical"===e?{paddingLeft:"11px"}:{}}));let eo=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,fontSize:o.x9N,lineHeight:.944,[t.breakpoints.down("md")]:{fontSize:"0.6875rem",lineHeight:1.091}})),er=(0,n.default)(a.CostcoBox,{shouldForwardProp:e=>"select_style"!==e})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",display:"flex",flexDirection:"Vertical"===e?"column":"row",gap:o.m72,zIndex:1}));(0,n.default)(a.CostcoBox,{shouldForwardProp:v})({alignItems:"flex-start",display:"flex",padding:`${o.iAn} 0px`,zIndex:1}),(0,n.default)(a.CostcoBox,{shouldForwardProp:v})(({theme:e})=>({alignItems:"flex-start",display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"2px",[e.breakpoints.down("md")]:{gap:"1px"},zIndex:1})),(0,n.default)(a.CostcoBox,{shouldForwardProp:v})({alignItems:"flex-start",display:"flex",gap:o.m72,padding:`${o.iAn} 0px`,zIndex:1}),(0,n.default)(a.CostcoBox)({alignItems:"center",display:"inline-flex",gap:o.m72,zIndex:1,position:"relative"}),(0,n.default)(a.CostcoBox)({background:"#DFF0D8",position:"absolute",width:"100%",zIndex:0,borderRadius:6,top:6,bottom:6});let ea=(0,n.default)(i.Text,{shouldForwardProp:_})(({text_color:e,theme:t})=>({color:(null==e?void 0:e.hex)??g,fontWeight:o.Pqj,textAlign:"start",fontSize:"2.5rem",lineHeight:1.1,[t.breakpoints.down("md")]:{fontSize:o.mNA,lineHeight:1.214},zIndex:1}));(0,n.default)(a.CostcoBox,{shouldForwardProp:e=>"text_content_placement"!==e&&"select_style"!==e})(({select_style:e="Horizontal"})=>({alignItems:"flex-start",alignSelf:"stretch",display:"flex",flexDirection:"column",padding:"6px 0px",zIndex:1,..."Vertical"===e?{paddingLeft:"11px"}:{},..."Horizontal"===e?{padding:`${o.iAn} 0px`}:{}})),(0,n.default)("div")({position:"relative"})}}]);

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.