PageSourceSearch

https://www.gantri.com/_next/static/chunks/pages/account/orders/[id]-e598db40e70e9e38.js

js gantri.com collected 2026-10-03 19:32:22 UTC 31,440 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1117],{23465:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/orders/[id]",function(){return n(58683)}])},1044:function(e,t,n){"use strict";n.d(t,{I:function(){return s},T:function(){return f}});var i=n(85893),r=n(14655);let s=r.DG.monochrome_black,o={footerVisible:!0,headingTransparentIconColor:"white",headingTransparentTextColor:r.DG.monochrome_white,maxWidth:"var(--vw)"};var a=n(67294),l=n(2962),d=n(76119),c=n(13265),u=n(11163),m=n(82492),p=n.n(m),h=n(67383),x=n(37340);function g(){let e=(0,x._)(["\n      height: 9.6rem;\n  "]);return g=function(){return e},e}let v=n(19521).ZP.div.withConfig({componentId:"sc-b38436b8-0"})(["position:absolute;z-index:1000;inset:0;bottom:unset;height:14rem;background:linear-gradient( 180deg,rgba(0,0,0,0.37) 0%,rgba(0,0,0,0) 100% );pointer-events:none;",""],r.BC.lessThan("md")(g())),f=e=>{var t,n;let{backgroundColor:s,children:m,className:h,footerVisible:x,hasGradient:g,headerLocked:v,headingTransparentIconColor:f,headingTransparentTextColor:y,hero:b,maxWidth:C,minHeight:w,seoConfig:T}={...o,...e},k=(0,u.useRouter)(),S={canonical:"".concat(c.N.CANONICAL_URL).concat(k.asPath.split("?")[0]),...p()(T,{noindex:(null==T?void 0:T.noindex)||!c.N.IS_PRODUCTION,openGraph:{description:(null==T?void 0:null===(t=T.openGraph)||void 0===t?void 0:t.description)||(null==T?void 0:T.description),title:(null==T?void 0:null===(n=T.openGraph)||void 0===n?void 0:n.title)||(null==T?void 0:T.title)}})},{lockHeaderVisible:Z,setFooterVisibility:P,setHeaderVisibility:D,setTransparentHeadingColors:I,unlockHeaderVisible:B}=(0,d.$Y)();return(0,a.useEffect)(()=>{setTimeout(()=>{D(!1)},0)},[]),(0,a.useEffect)(()=>{I({headingTransparentIconColor:f,headingTransparentTextColor:y})},[f,y]),(0,a.useEffect)(()=>{if(v)return Z(),()=>{B()};B()},[v]),(0,a.useEffect)(()=>{P(x)},[x]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.PB,{...S}),(0,i.jsxs)(r.xu,{backgroundColor:s,className:h,horizontalMargin:"auto",maxWidth:C,minHeight:w,width:"100%",children:[(0,i.jsx)(j,{hasGradient:g}),b,m]})]})},j=e=>{let{hasGradient:t}=e;return(0,h.s4)()&&t&&(0,i.jsx)(v,{})}},22410:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var i=n(85893),r=n(19521);let s=(0,r.F4)(["0%{transform:scale(1) rotate(0deg);}15%{transform:scale(1.2) rotate(40deg);animation-timing-function:ease-out;}35%{transform:scale(0.7) rotate(120deg);animation-timing-function:ease-out;}40%{transform:scale(1) rotate(180deg);animation-timing-function:ease-out;}45%{transform:scale(0.99) rotate(179deg);animation-timing-function:ease-in-out;}50%{transform:scale(1) rotate(180deg);animation-timing-function:ease-out;}60%{transform:scale(0.8) rotate(200deg);animation-timing-function:ease-out;}85%{transform:scale(1.2) rotate(320deg);animation-timing-function:ease-out;}100%{transform:scale(1) rotate(360deg);}"]),o=r.ZP.div.withConfig({componentId:"sc-598155d2-0"})(["",""],e=>{let{$active:t,$animateOnHover:n,$containerSize:i,$withBorder:o,theme:l}=e;return(0,r.iv)(["display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:",";height:",";max-width:",";max-height:",";position:relative;cursor:pointer;"," ",""],i,i,i,i,o&&(0,r.iv)(["border:2px solid ",";&:hover{border:2px solid ",";}"],t?l.colors.palette.green_500:l.colors.dividers.t1,t?l.colors.palette.green_500:l.colors.dividers.t2),n&&(0,r.iv)(["cursor:pointer;&:hover ","{animation:"," 3s linear infinite;}"],a,s))}),a=r.ZP.div.withConfig({componentId:"sc-598155d2-1"})(["",""],e=>{let{$size:t,$strokeWidth:n}=e,i=n?"calc(100% - ".concat(n," * 2)"):"70%";return(0,r.iv)(["width:",";height:",";background:conic-gradient( from 0deg,#335dc9 0deg,#d43444 90deg,#ffc658 180deg,#00855b 270deg,#335dc9 360deg );border-radius:50%;position:relative;transform:rotate(0deg);transition:transform 0.1s;&::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:",";height:",";background:var(--mono-white);border-radius:50%;z-index:1;}"],t,t,i,i)}),l={containerSize:"4.4rem",size:"2.8rem",strokeWidth:"4px"},d=e=>
1{let{active:t,animateOnHover:n,containerSize:r,onClick:s,size:d,strokeWidth:c,style:u,withBorder:m}={...l,...e};return(0,i.jsx)(o,{$active:t,$animateOnHover:n,$containerSize:r,$withBorder:m,style:u,onClick:s,children:(0,i.jsx)(a,{$size:d,$strokeWidth:c})})}},58683:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eI}});var i=n(70953),r=n(85893),s=n(1044),o=n(67294),a=n(14655),l=n(97199),d=n(93819),c=n(45371),u=n(11163),m=n(61977),p=n(83244),h=n(39471),x=n(80162),g=n(29614),v=n(90152),f=n(91123),j=n(37340),y=n(19521);function b(){let e=(0,j._)(["\n        row-gap: ",";\n      "]);return b=function(){return e},e}function C(){let e=(0,j._)(["\n           margin: 0 -",";\n        "]);return C=function(){return e},e}function w(){let e=(0,j._)(["\n       top: -2.3rem;\n    "]);return w=function(){return e},e}function T(){let e=(0,j._)(["\n       top: -2.3rem;\n    "]);return T=function(){return e},e}let k=y.ZP.div.withConfig({componentId:"sc-23db20d0-0"})(["",""],e=>{let{theme:t}=e;return(0,y.iv)(["display:flex;flex-direction:column;row-gap:",";",""],t.dimensions.spacing.s3,a.BC.lessThan("md")(b(),t.dimensions.spacing.s1))}),S=y.ZP.div.withConfig({componentId:"sc-23db20d0-1"})(["",""],e=>{let{theme:t,verticalPadding:n}=e;return(0,y.iv)(["height:1px;width:unset;background-color:",";margin:"," 0;"],t.colors.dividers.t1,t.dimensions.spacing[n])}),Z=(0,y.ZP)(S).withConfig({componentId:"sc-23db20d0-2"})(["",""],e=>{let{isLast:t,theme:n}=e;return(0,y.iv)(["",""],a.BC.lessThan("sm")(C(),t?n.dimensions.spacing.s1:0))}),P=y.ZP.div.withConfig({componentId:"sc-23db20d0-3"})(["position:relative;& > *:first-child{position:absolute;top:-1.8rem;left:0;"," ","}"],a.BC.lessThan("md")(w()),a.BC.lessThan("sm")(T())),D=(0,y.ZP)(a.ZT).withConfig({componentId:"sc-23db20d0-4"})(["span{line-height:initial;}"]);var I=n(41664),B=n.n(I),N=n(33951),_=n(13741),L=n(96026),M=n.n(L);let A={Assembling:3,Delivered:6,Finishing:2,Printing:1,QA:4,Shipping:5},z=e=>{var t;return null!==(t=e&&A[e])&&void 0!==t?t:0};var O=n(63513),E=n(84292),q=n(64357),W=n(38163),G=n(68615),R=n(83990);function Y(){let e=(0,j._)(["\n        padding: 0 ",";\n      "]);return Y=function(){return e},e}function F(){let e=(0,j._)(["\n        padding: 0 ",";\n      "]);return F=function(){return e},e}function U(){let e=(0,j._)(["\n        gap: ",";\n      "]);return U=function(){return e},e}function V(){let e=(0,j._)(["\n        grid-template-columns: repeat(7, 13.3rem);\n      "]);return V=function(){return e},e}function H(){let e=(0,j._)(["\n          font-size: ",";\n          line-height: ",";\n        "]);return H=function(){return e},e}function $(){let e=(0,j._)(["\n          font-size: ",";\n          line-height: ",";\n          max-width: 30.9rem;\n        "]);return $=function(){return e},e}let Q=y.ZP.div.withConfig({componentId:"sc-685dfa0b-0"})(["",";"],e=>{let{theme:t}=e;return(0,y.iv)(["height:2.8rem;width:2.8rem;display:flex;justify-content:center;align-content:center;border:1px solid ",";border-radius:50%;position:relative;& > p{line-height:2.6rem;}"],t.colors.palette.monochrome_white)}),X=y.ZP.div.withConfig({componentId:"sc-685dfa0b-1"})(["",";"],e=>{let{theme:t}=e;return(0,y.iv)(["height:2.4rem;width:2.4rem;display:flex;justify-content:center;align-content:center;border:1px solid ",";border-radius:50%;"],t.colors.palette.monochrome_black)}),K=y.ZP.div.withConfig({componentId:"sc-685dfa0b-2"})(["",";"],e=>{let{theme:t}=e;return(0,y.iv)(["display:flex;position:absolute;inset:0;margin:auto;width:100%;justify-content:space-between;align-items:center;padding:0 ",";cursor:pointer;pointer-events:none;z-index:10;"," ",";"],t.dimensions.spacing.s3,a.BC.lessThan("md")(Y(),t.dimensions.spacing.s2),a.BC.lessThan("sm")(F(),t.dimensions.spacing.s1))}),J=y.ZP.div.withConfig({componentId:"sc-685dfa0b-3"})(["",";"],e=>{let{$visible:t}=e;return(0,y.iv)(["height:4.4rem;width:4.4rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:rgba(0,0,0,0.4);opacity:",";pointer-events:",";svg{padding:1rem;}"],t?1:0,t?"auto":"none")}),ee=y.ZP.div.withConfig({componentId:"sc-685dfa0b-4"})(["overflow:hidden;"]),et=(0,y.ZP)(R.q.div).withConfig({componentId:"sc-685dfa0b-5"})(["",";"],e=>{let{theme:t}=e;return(0,y.iv)(["display:grid;grid-template-columns:repeat(5,1fr);
1justify-content:space-between;margin-top:3.2rem;max-width:100%;gap:",";"," ",""],t.dimensions.spacing.s3,a.BC.lessThan("md")(U(),t.dimensions.spacing.s1),a.BC.lessThan("sm")(V()))}),en=y.ZP.div.withConfig({componentId:"sc-685dfa0b-6"})(["",";"],e=>{let{$active:t,theme:n}=e;return(0,y.iv)(["border-top:1px solid ",";padding-top:",";opacity:",";display:flex;flex-direction:column;gap:0.8rem;transition:",";cursor:pointer;"],t?n.colors.palette.monochrome_black:"transparent",n.dimensions.spacing.s1,t?1:.4,n.transitions.base)});y.ZP.div.withConfig({componentId:"sc-685dfa0b-7"})(["",";"],e=>{let{theme:t}=e;return(0,y.iv)(["&,& > *,& > *:active{display:inline;font-size:",";line-height:",";font-family:",",Helvetica,sans-serif;"," ","}& > a{text-decoration:underline;}"],t.fonts.p1.size,t.fonts.p1.lineHeight,t.fonts.p1.family,a.BC.lessThan("md")(H(),t.fonts.p1.sizeMedium,t.fonts.p1.lineHeightMedium),a.BC.lessThan("sm")($(),t.fonts.p1.sizeSmaller,t.fonts.p1.lineHeightSmaller))});let ei=["step2_dgjxhi","step3_hij1if","step4_kddvbx","step5_pjhgm2","step6_hugfye"],er=e=>{let{position:t}=e;return(0,r.jsxs)(a.rj,{backgroundColor:"green_500",columns:{lg:"1fr 35.3rem",sm:"1fr"},gap:"unset",height:{lg:"55.4rem",sm:"100%"},rows:{lg:"unset",sm:"max-content 1fr"},children:[(0,r.jsx)(a.Ee,{alt:"How is made ".concat(t),containerAspectRatio:{sm:"100:80"},maxHeight:{sm:"25rem"},src:"mantle/made/how-is-made/".concat(ei[t-1]),transformationsVariant:"hhf",width:"100%"}),(0,r.jsxs)(a.bL,{alignContent:{lg:"center",sm:"start"},horizontalPadding:"s3",verticalPadding:{sm:"s3"},children:[(0,r.jsx)(Q,{children:(0,r.jsx)(a.ZT,{color:"alt",text:t,variant:"p1"})}),(0,r.jsx)(a.ZT,{color:"alt",maxWidth:"26.6rem",tx:"account:howIsMade:step".concat(t,".title"),variant:"h2",verticalPadding:"s1"}),(0,r.jsx)(a.ZT,{color:"alt",tx:"account:howIsMade:step".concat(t,".description"),variant:"p1"})]})]})},es=e=>{let{page:t=0}=e,[n,i]=(0,o.useState)(t),s=(0,q.rA)(),[l,d]=(0,E.q_)(()=>({x:0}));(0,o.useEffect)(()=>{d({x:s?-((133*n+16*n)*1):0})},[n,s]);let c=e=>{i(e),(0,W.ec)("howitworks_clicked")};return(0,r.jsxs)(a.xu,{backgroundColor:"yellow_100",height:"100%",horizontalPadding:{lg:"s3",md:"s2",sm:"s1"},paddingBottom:{lg:"4.1rem",md:"s3",sm:"s3"},paddingTop:{lg:"9rem",sm:"6.4rem"},width:"100%",children:[(0,r.jsx)(a.ZT,{align:"center",fontSize:{lg:"5.2rem",md:"4.8rem",sm:"3.2rem"},marginBottom:"s4",tx:"account:howIsMade.title",variant:"h2"}),(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)(a.rj,{style:{zIndex:1},children:(0,r.jsx)(O.A,{activePage:n,gap:".5x",gapVisible:!0,itemsCount:5,itemsPerPage:1,mode:"page",renderItem:e=>(0,r.jsx)(er,{position:e+1}),onPageChange:c})}),(0,r.jsxs)(K,{children:[(0,r.jsx)(J,{$visible:n>0,children:(0,r.jsx)(G.c,{color:"white",currentPage:n,increment:1,setCurrentPage:c,size:"4.4rem"})}),(0,r.jsx)(J,{$visible:n<4,children:(0,r.jsx)(G.A,{color:"white",currentPage:n,increment:1,itemsPerPage:1,numberOfPages:5,setCurrentPage:c,size:"4.4rem"})})]})]}),(0,r.jsx)(ee,{children:(0,r.jsx)(et,{style:l,children:M()(1,6).map(e=>(0,r.jsxs)(en,{$active:n===e-1,"data-indicator-position":e,onClick:()=>c(e-1),children:[(0,r.jsx)(X,{children:(0,r.jsx)(a.ZT,{text:e})}),(0,r.jsx)(a.ZT,{tx:"account:howIsMade:step".concat(e,".indicator"),variant:"h4"})]},e))})})]})},eo=y.ZP.div.withConfig({componentId:"sc-7713012e-0"})(["",""],e=>{let{active:t,theme:n}=e;return(0,y.iv)(["height:1rem;width:unset;background-color:",";border-radius:0.2rem;"],t?n.colors.surfaces.green.t3:n.colors.surfaces.monochrome.t2)}),ea=(0,y.ZP)(a.ZT).withConfig({componentId:"sc-7713012e-1"})(["cursor:pointer;"]),el=e=>{let{stepActive:t,stepNumber:n,titleTx:i}=e,s=n===t;return(0,r.jsxs)(a.kC,{direction:"column",gap:".4rem",children:[(0,r.jsx)(a.ZT,{color:s?"t1":"t2",fontSize:{md:"1.2rem"},lineHeight:{md:"1.5rem"},textStyle:s?"bold":"regular",tx:i}),(0,r.jsx)(eo,{active:n<=t})]})},ed=e=>{let{currentStep:t,trackingNumber:n}=e,i=z(t),{showModal:s}=(0,_.dd)({backgroundColor:"yellow_100",template:(0,r.jsx)(es,{}),variant:{lg:"standard",md:"fullscreen"},width:"92rem"});return(0,r.jsxs)(a.kC,{direction:"column",gap:"x",children:[(0,r.jsx)(a.rj,{columnGap:".4rem",columns:{lg:"repeat(5, 7.2rem)",sm:"repeat(5, 5.9rem)"},children:M()(1,6).map(e=>(0,r.jsx)(el,{stepActive:i,stepNumber:e,titleTx:"account:howIsMade:step".concat(e,".indicator")},e))}),"Shipping"===t&&n?(0,r.jsx)(eC,{trackingNumber:n}):(0,r.jsx)(ea,{color:"link",decoration:"underline",text:"Learn more",onClick:()=>s({page:Math.max(0,i-1)})})]})};var ec=n(10003);let eu=[ec.m.Refunded,ec.m.ReturnInProgress],em=e=>{let{refundId:t,status:n}=e;return t?(0,r.jsx)(m.r,{color:"link",href:"/account/orders/".concat(t),text:n}):(0,r.jsx)(a.ZT,{color:"alert",text:n})};var ep=n(86524),eh=n(22410);let ex=e=>{let{headerText:t,isInternationalShipping:n,showProgress:i,stocks:s}=e;
1return(0,r.jsxs)(a.rj,{children:[(0,r.jsx)(a.rj,{alignItems:"center",gap:"unset",justifyContent:"start",children:(0,r.jsx)(a.ZT,{text:t,textStyle:"bold",variant:"p1"})}),(0,r.jsx)(a.Kq,{gap:{lg:"s3",md:"s1",sm:"3.2rem"},marginTop:{lg:"unset",md:"s1"},padding:"unset",children:s.map(e=>{var t,s,l,d,c;let{product:u,refundId:m,status:p,step:h}=e,x=eu.includes(p),g="/products/".concat(null==u?void 0:u.id,"/").concat(null==u?void 0:u.fullUrlName,"?sku=").concat(null==u?void 0:u.sku),v=[(null==u?void 0:u.isPainted)?null==u?void 0:null===(t=u.color)||void 0===t?void 0:t.name:"",(0,ep.TD)(null==u?void 0:u.sku,null==u?void 0:null===(l=u.variants)||void 0===l?void 0:null===(s=l[0])||void 0===s?void 0:s.name)].filter(Boolean).join(", ");return(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(a.rj,{columns:{lg:2,sm:1},rowGap:{sm:"4x"},children:[(0,r.jsxs)(a.rj,{alignItems:"center",columns:"6.6rem 1fr",gap:"2x",children:[(0,r.jsx)(N.hX,{stock:e}),(0,r.jsxs)(a.kC,{direction:"column",children:[(0,r.jsx)(B(),{href:g.toLowerCase(),children:(0,r.jsx)(a.ZT,{text:null==u?void 0:u.fullName,variant:"p2"})}),(0,r.jsx)(a.ZT,{color:"t2",icon:(null==u?void 0:u.isCustom)&&(0,r.jsx)(eh.T,{containerSize:"1.2rem",size:"1.2rem",strokeWidth:"2px",style:{top:"3px"}}),text:v,variant:"p2"}),(0,r.jsx)(a.hW,{condition:!!(null==u?void 0:u.variant),children:(0,r.jsx)(a.ZT,{color:"t2",text:(null==u?void 0:u.category)==="Pendant Light"?(0,ep.qu)(null==u?void 0:u.variant):null==u?void 0:u.variant,variant:"p2"})}),(0,r.jsx)(a.ZT,{color:"t2",text:(0,f.cq)(null!==(c=null==u?void 0:null===(d=u.amount)||void 0===d?void 0:d.subtotal)&&void 0!==c?c:0,{hideCurrency:!n,omitLocationCheck:n}),variant:"p2"})]})]}),(0,r.jsx)(a.hW,{condition:x,Fallback:(0,r.jsx)(a.hW,{condition:!!i,children:(0,r.jsx)(ed,{currentStep:h})}),children:(0,r.jsx)(em,{refundId:m,status:p})})]})},e.id)})})]})};var eg=n(76163),ev=n(7739),ef=n.n(ev),ej=n(59905),ey=n(35145);let eb=e=>{let{gifts:t,isInternationalShipping:n}=e;(0,g.S)([{namespace:"cart",translations:[{language:"en",locale:ey}]}]);let i=ef()(t,e=>e.sendDate),s=Object.keys(i).length;return(0,r.jsx)(r.Fragment,{children:Object.entries(i).map((e,t)=>{let[i,l]=e,[d]=l;return(0,r.jsxs)(a.rj,{marginBottom:{lg:t===s-1?"3x":"unset",md:"unset",sm:"unset"},children:[(0,r.jsxs)(a.rj,{alignItems:"center",gap:"unset",justifyContent:"start",children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:(0,eg.m0)(d.sentDate),txValues:{deliveredOnDate:(0,ej.Vv)(i,"MM/DD"),estimateDeliveryDate:(0,ej.Vv)(i,"MM/DD")},variant:"p1"}),(0,r.jsx)(a.ZT,{color:"link",icon:(0,r.jsx)(a.xu,{style:{position:"relative",top:"1px"},children:(0,r.jsx)(a.JO,{color:"link",name:"payment:gift_card"})}),iconGap:".2rem",tx:"cart:digitalGiftCard",variant:"mp3"})]}),(0,r.jsx)(a.Kq,{gap:{lg:"s3",md:"s1",sm:"3.2rem"},marginTop:{lg:"unset",md:"s1"},padding:"unset",children:l.map(e=>{let t=(0,eg.C1)(e.status);return(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(a.rj,{columns:{lg:2,sm:1},rowGap:{sm:"3.2rem"},children:[(0,r.jsxs)(a.rj,{columns:"8.8rem 1fr",gap:"s1",children:[(0,r.jsx)(N.ll,{gift:e}),(0,r.jsxs)(a.kC,{direction:"column",children:[(0,r.jsx)(a.ZT,{tx:"cart:digitalGiftCard",variant:"p2"}),(0,r.jsx)(a.ZT,{color:"t2",text:e.design.designer.name}),(0,r.jsx)(a.ZT,{color:"t2",text:e.design.designer.location}),(0,r.jsx)(a.ZT,{color:"t2",text:(0,f.cq)(e.amount,{hideCurrency:!n,omitLocationCheck:n})})]})]}),(0,r.jsxs)(a.kC,{direction:"column",children:[(0,r.jsx)(a.ZT,{text:e.status,textStyle:"bold"}),(0,r.jsx)(a.ZT,{color:"t2",text:"".concat(t," ").concat(e.recipientEmail)})]})]})},e.id)})})]},i)})})},eC=e=>{let{trackingNumber:t}=e;return t&&(0,r.jsxs)(a.kC,{alignItems:"center",gap:"0.5rem",children:[(0,r.jsx)(a.ZT,{tx:"account:order.tracking"}),(0,r.jsx)(m.r,{color:"link",href:"https://wwwapps.ups.com/tracking/tracking.cgi?tracknum=".concat(t),target:"_blank",text:"#".concat(t)})]})};var ew=n(50479);let eT=e=>{let{isInternationalShipping:t,shipment:n,stocks:i}=e;return(0,r.jsxs)(a.rj,{children:[(0,r.jsxs)(a.rj,{alignItems:"center",gap:"unset",justifyContent:"start",children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:(0,eg.d7)(n),txValues:{deliveredOn
1Date:(0,ej.Vv)(n.estimateDate.deliveredOnSec,"MM/DD"),deliveringDate:(0,ej.Vv)(n.estimateDate.deliveryBySec,"MM/DD"),estimateDeliveryDate:(0,ej.Vv)(n.estimateDate.estDeliveryBySec,"MM/DD")},variant:"p1"}),"immediately"===n.estimateDate.leadTime||"1-2 weeks"===n.estimateDate.leadTime&&(0,r.jsx)(D,{color:"link",icon:(0,r.jsx)(a.JO,{color:"link",name:"alert:lightning_bolt_filled"}),iconGap:"0.2rem",tx:"common.quickShip"})]}),(0,r.jsx)(a.Kq,{gap:{lg:"s3",md:"s1",sm:"3.2rem"},marginTop:{lg:"unset",md:"s1"},padding:"unset",children:n.stocks.map(e=>{var i,s;let{product:l,refundId:d,status:c,step:u}=e,m=eu.includes(c),p="/products/".concat(null==l?void 0:l.id,"/").concat(null==l?void 0:l.fullUrlName,"?sku=").concat(l.sku),h=[l.isPainted?l.color.name:"",(0,ep.TD)(l.sku,null===(s=l.variants)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:i.name)].filter(Boolean).join(", ");return(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(a.rj,{columns:{lg:2,sm:1},rowGap:{sm:"4x"},children:[(0,r.jsxs)(a.rj,{alignItems:"center",columns:"6.6rem 1fr",gap:"2x",children:[(0,r.jsx)(N.hX,{stock:e}),(0,r.jsxs)(a.kC,{direction:"column",children:[(0,r.jsx)(B(),{href:p.toLowerCase(),children:(0,r.jsx)(a.ZT,{text:l.fullName,variant:"p2"})}),(0,r.jsx)(a.ZT,{color:"t2",icon:(null==l?void 0:l.isCustom)&&(0,r.jsx)(eh.T,{containerSize:"1.2rem",size:"1.2rem",strokeWidth:"2px",style:{top:"3px"}}),text:h,variant:"p2"}),(0,r.jsx)(a.hW,{condition:!!l.variant,children:(0,r.jsx)(a.ZT,{color:"t2",text:"Pendant Light"===l.category?(0,ep.qu)(l.variant):l.variant,variant:"p2"})}),(0,r.jsx)(a.ZT,{color:"t2",text:(0,f.cq)(l.amount.subtotal,{hideCurrency:!t,omitLocationCheck:t}),variant:"p2"})]})]}),(0,r.jsx)(a.hW,{condition:m,Fallback:(0,r.jsx)(a.hW,{condition:"Delivered"===u,Fallback:(0,r.jsx)(ed,{currentStep:u,trackingNumber:n.trackingNumber}),children:(0,r.jsxs)(a.kC,{direction:"column",justifyContent:"space-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{paddingBottom:".5x",textStyle:"bold",tx:"account:order.stepStatus.delivered"}),(0,r.jsx)(eC,{trackingNumber:n.trackingNumber})]}),(0,r.jsx)(ew.u,{stocks:[e]})]})}),children:(0,r.jsx)(em,{refundId:d,status:c})})]})},l.id)})})]})},ek=e=>{let{address:t,shipping:n}=e;return(0,r.jsxs)(k,{children:[(0,r.jsx)(a.ZT,{tx:"account:order.details.shipping.title",variant:"h4"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:"account:order.details.shipping.address"}),(0,r.jsx)(a.ZT,{text:t.name||"".concat(t.firstName," ").concat(t.lastName)}),(0,r.jsx)(a.ZT,{tx:t.unit?"account:order.details.streetWithUnit":"account:order.details.street",txValues:{street:t.street,unit:t.unit}}),(0,r.jsx)(a.ZT,{tx:"account:order.details.state",txValues:{city:t.city,state:t.state,zip:t.zip}}),(0,r.jsx)(a.ZT,{text:t.country}),(0,r.jsx)(a.ZT,{text:(0,f.CN)(t.phone)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:"account:order.details.shipping.method"}),(0,r.jsx)(a.ZT,{tx:"account:order.details.shipping.shippingMethod",txValues:{provider:n.provider,time:n.option}})]})]})},eS=e=>{let{amount:t,country:n,gift:i}=e,s=(0,o.useMemo)(()=>n?!["United States","US"].includes(n):!(0,f.Qe)(),[n]);return(0,r.jsxs)(k,{children:[(0,r.jsx)(a.ZT,{tx:"account:order.details.payment",variant:"h4"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.subtotal"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(t.subtotal)})]}),(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.stepStatus.shipping"}),(0,r.jsx)(a.ZT,{color:0===t.shipping?"link":null,text:0===t.shipping?"Free":(0,f.cq)(t.shipping)})]}),(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.tax"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(t.tax,{hideCurrency:!s,omitLocationCheck:s})})]}),!!t.gift&&(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.discount"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(-t.gift,{hideCurrency:!s,omitLocationCheck:s})})]}),(null==i?void 0:i.type)==="Gift"&&(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.giftCode"}),(0,r.jsx)(a.ZT,{text:i.code})]}),!!t.promotionDiscount&&(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.promotionDiscount"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(-t.promotionDiscount,{hideCurrency:!s,omitLocationCheck:s})})]}),!!t.credit&&(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{tx:"account:order.paymentSummary.credits"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(-t.credit,{hideCurrency:!s,omitLocationCheck:s})})]}),(0,r.jsx)(S,{verticalPadding:"x"}),(0,r.jsxs)(a.kC,{justifyContent:"space-between",children:[(0,r.jsx)(a.ZT,{text:"Total",textStyle:"bold"}),(0,r.jsx)(a.ZT,{text:(0,f.cq)(t.total,{hideCurrency:!s,omitLocationCheck:s}),textStyle:"bold"})]})]})]})},eZ=e=>{let{createdAtSec:t,deliveryBySec:n,shipsAtSec:i,status:s}=e;return(0,r.jsxs)(k,{children:[(0,r.jsx)(a.ZT,{tx:"account:order.details.detailSection",variant:"h4"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:"account:order.created"}),(0,r.jsx)(a.ZT,{text:(0,ej.Vv)(t,"MM/DD/YYYY [at] hh:mmA")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{textStyle:"bold",tx:"account:order.status"}),(0,r.jsx)(a.ZT,{text:s})]}),!!i&&(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{text:"Ships by",textStyle:"bold"}),(0,r.jsx)(a.ZT,{text:(0,ej.Vv)(i,"MM/DD/YYYY")})]}),!!n&&(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{text:"Estimated delivery",textStyle:"bold"}),(0,r.jsx)(a.ZT,{text:(0,ej.Vv)(n,"MM/DD/YYYY")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.ZT,{text:"Order completed",textStyle:"bold"}),(0,r.jsx)(a.ZT,{text:"TBD"})]})]})},eP=e=>{var t;let{order:n}=e;
1return(0,r.jsxs)(a.rj,{columns:{lg:3,md:3,sm:1},gap:{lg:"s5",md:"s4"},marginTop:{lg:"3x",md:"unset",sm:"unset"},children:[(0,r.jsx)(eZ,{createdAtSec:n.createdAtSec,deliveryBySec:n.deliveryBySec,shipsAtSec:n.shipsAtSec,status:n.status}),!!n.address&&!["Refund","Third Party Refund"].includes(n.type)&&(0,r.jsx)(ek,{address:n.address,shipping:n.shipping}),!["Third Party","Third Party Refund"].includes(n.type)&&(0,r.jsx)(eS,{amount:n.amount,country:null==n?void 0:null===(t=n.address)||void 0===t?void 0:t.country,gift:n.gift})]})},eD=()=>{var e,t,n,i;(0,g.S)([{namespace:"account",translations:[{language:"en",locale:v}]}]);let[j,y]=(0,o.useState)(null),{push:b,query:C}=(0,u.useRouter)(),{notifyError:w}=(0,c.lm)();(0,l.Z)(async()=>{if(C.id){let{data:e,error:t,success:n}=await d.hi.payment.getSingle(String(C.id));if(n){y(e.order);return}w(null==t?void 0:t.message),await b("/account/orders")}},[C.id]);let T=(0,o.useMemo)(()=>{var e,t;return(null==j?void 0:null===(e=j.address)||void 0===e?void 0:e.country)?!["United States","US"].includes(null==j?void 0:null===(t=j.address)||void 0===t?void 0:t.country):!(0,f.Qe)()},[null==j?void 0:null===(e=j.address)||void 0===e?void 0:e.country]),k=(0,o.useMemo)(()=>{var e;return(null!==(e=null==j?void 0:j.stocks)&&void 0!==e?e:[]).filter(e=>!e.shipmentId)},[null==j?void 0:j.stocks]),S=(0,o.useMemo)(()=>k.filter(e=>{var t;return!!(null===(t=e.product)||void 0===t?void 0:t.isPreOrderEnabled)}),[k]),D=(0,o.useMemo)(()=>k.filter(e=>{var t;return!(null===(t=e.product)||void 0===t?void 0:t.isPreOrderEnabled)}),[k]);return j?(0,r.jsx)(s.T,{headerLocked:!0,seoConfig:{noindex:!0,title:"Account Orders | Gantri\xae"},children:(0,r.jsxs)(a.Kq,{gap:{lg:"s3",md:"3x",sm:"s1"},padding:"unset",children:[(0,r.jsxs)(P,{children:[(0,r.jsx)(a.Oo,{separator:"/",children:(0,r.jsx)(m.r,{href:"/account/orders",tx:"account:order.myOrders"})}),(0,r.jsx)(a.ZT,{tx:"account:order.title",txValues:{number:C.id,type:j.type},variant:"h2"})]}),(0,r.jsx)(a.ZT,{htmlText:'For questions about your order or to start a return email us at <a href="mailto:'.concat(x.Xy,'">').concat(x.Xy,"</a>")}),(0,r.jsxs)(a.Kq,{paddingRight:{lg:p.ap,md:"unset"},paddingTop:{lg:"s3",md:"x",sm:"s1"},rowGap:{lg:"3x",md:"4x",sm:"4x"},children:[j.shipments.map((e,t)=>{var n;let i=t===j.shipments.length-1&&!D.length&&!S.length&&!(null===(n=j.giftCards)||void 0===n?void 0:n.length);return(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(eT,{isInternationalShipping:T,shipment:e,stocks:j.stocks},e.id),i&&(0,r.jsx)(h.L,{height:"3x",hidden:{lg:!1,md:!0,sm:!0}}),(0,r.jsx)(Z,{isLast:i})]},e.id)}),(0,r.jsxs)(a.hW,{condition:D.length>0,children:[(0,r.jsx)(ex,{headerText:"Processing",isInternationalShipping:T,showProgress:!0,stocks:D}),(0,r.jsx)(Z,{isLast:!S.length&&!(null===(t=j.giftCards)||void 0===t?void 0:t.length)})]}),(0,r.jsxs)(a.hW,{condition:S.length>0,children:[(0,r.jsx)(ex,{headerText:"Reserved — ships this fall",isInternationalShipping:T,stocks:S}),(0,r.jsx)(Z,{isLast:!(null===(n=j.giftCards)||void 0===n?void 0:n.length)})]}),!!(null===(i=j.giftCards)||void 0===i?void 0:i.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eb,{gifts:j.giftCards,isInternationalShipping:T}),(0,r.jsx)(Z,{isLast:!0})]}),(0,r.jsx)(eP,{order:j})]})]})}):null};eD.Layout=i.Bn;var eI=eD},90152:function(e){"use strict";e.exports=JSON.parse('{"addresses":{"editBtn":"Edit","form":{"addBtn":"Add Address","addressPlaceholder":"Enter a location","backBtn":"Back","city":"City","company":"Company","country":"Country","firstName":"First Name","lastName":"Last Name","optional":"Optional","phone":"Phone","state":"State","streetAddress":"Street Address","unit":"Unit","updateBtn":"Update Address","zip":"ZIP"},"newAddressBtn":"New Address","newBtn":"New","title":"Shipping address"},"howIsMade":{"step1":{"description":"3D printers begin extruding Gantri Plant Polymers to create each part. Then, our QA team performs an initial inspection.","indicator":"Printing","title":"Printing"},"step2":{"description":"Parts individually sanded, primed and painted using our premium water-based paint.","indicator":"Finishing","title":"Finishing"},"step3":{"description":"An assembly team member assembles the light, prepares the power cord, wires the socket and installs an LED bulb.","indicator":"Assembly","title":"Assembly"},"step4":{"description":"The new light is carefully examined from top to bottom, ensuring the highest quality before shipment.","indicator":"QA","title":"QA"}
1,"step5":{"description":"Your order is shipped out of our facility and to your door!","indicator":"Shipping","title":"Shipping"},"title":"How it’s made"},"order":{"completed":"Completed","created":"Created","details":{"card":"{{type}} *{{number}}","detailSection":"Order Details","name":"{{firstName}} {{lastName}}","payMonthlyWith":"Pay monthly with ","payment":"Payment Summary","shipping":{"address":"Shipping address","method":"Shipping method","shippingMethod":"{{provider}} {{time}}","title":"Shipping Information"},"state":"{{city}}, {{state}} {{zip}}","street":"{{street}}","streetWithUnit":"{{street}}, {{unit}}","summary":"Summary"},"leaveReview":"Leave a review","myOrders":"My Orders","paymentSummary":{"credits":"Credits","discount":"Discount","giftCode":"Gift Code","promotionDiscount":"Promotion Discount","subtotal":"Subtotal","tax":"Tax"},"reviewed":"Reviewed","status":"Status","stepStatus":{"delivered":"Delivered","shipping":"Shipping"},"title":"{{type}} #{{number}}","tracking":"Tracking"},"orders":{"card":{"deliveredOn":"Delivered on {{deliveredOnDate}}","deliveringOn":"Delivering on {{deliveringDate}}","detailsBtn":"View Details","estimatedDelivery":"Est. delivery by {{estimateDeliveryDate}}","giftEstimatedDelivery":"Send on {{estimateDeliveryDate}}","multipleShipmentsTitle":"Shipment {{current}} of {{total}}","orderNumber":"{{type}} #{{number}}","singleShipmentTitle":"Your shipment","tooltip":"We’re making this for you from scratch. Track live production progress\\n          of each item below. You’ll receive an email when they\'re shipped."},"completed":"COMPLETED","current":"CURRENT","noOrders":"You currently dont have any orders yet.","shopBtn":"Shop Gantri products","title":"My orders"},"payments":{"addCardBtn":"Add new card","backBtn":"Back","cardNumber":"{{type}} ending in {{number}}","cardsListTitle":"Cards","credits":"Credits ","newBtn":"New","newCardBtn":"New Card","refer":"Refer more friends","removeBtn":"Remove","saveCardBtn":"Save Card","title":"Payments"},"profile":{"behanceLabel":"Behance username","behancePlaceholder":"No @ needed","cityLabel":"City","cityPlaceholder":"E.g. San Francisco","countryLabel":"Country","instagramLabel":"Instagram handle","instagramPlaceholder":"No @ needed","logo":"Logo","logoDescription":"Your brand. We recommend that you use the same logo across social channels.","nameLabel":"Designer name","namePlaceholder":"Ashley Mason","nameSubtitle":"What your brand would be. This can be your full name or studio name.","optional":"(optional)","profileInfo":"Profile info","required":"(required)","saveBtn":"Save Profile","socialLinks":"Social links","stateLabel":"State / Province","storefrontUrlDescription":"Your URL on Gantri.","storefrontUrlLabel":"Gantri Storefront URL","taglineDescription":"Describe what\'s special about you in one line.","taglineLabel":"Tagline","taglinePlaceholder":"E.g. Design studio for essentialism","title":"Designer profile","twitterLabel":"Twitter handle","twitterPlaceholder":"No @ needed","websiteLabel":"Website","websitePlaceholder":"johnsmith.com"},"settings":{"accountInfo":{"email":"Email","firstName":"First Name","lastName":"Last Name","title":"Account info"},"password":{"current":"Current Password","new":"New Password","title":"Account password"},"preferences":{"news":"News and updates","report":"Weekly sales report","sales":"Quarterly sales report","subtitle":"Subscribe to emails that interest you.","title":"Email preferences"},"title":"Settings","updateBtn":"Update Profile"},"wishlist":{"addMoreToCardBtn":"Add Another to Cart","addToCardBtn":"Add to Cart","empty":"Your wishlist is empty","shareBtn":"Share","title":"Wishlist"}}')}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=23465)}),_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.