PageSourceSearch

https://www.gap.at/_next/static/chunks/153.bb7557f727b9d55f.js

js gap.at collected 2026-10-06 13:18:49 UTC 3,425 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[153],{23052:e=>{e.exports={container:"OnlineReturn_container__xCr34",columns:"OnlineReturn_columns__MLt47"}},70153:(e,r,t)=>{"use strict";t.r(r),t.d(r,{OnlineReturn:()=>O});var n=t(26514),s=t(81586),a=t(59429),i=t(75834),l=t(46225),d=t(55047),u=t(97053),o=t(33862),c=t(60269),m=t(51973),_=t(16074),x=t(75406);let g=({children:e,className:r})=>{let{t}=(0,d.Bd)();return(0,n.jsxs)("div",{className:(0,x.cn)({"border-2 rounded-[6px] p-7 md:p-10 text-center max-w-[385px] shrink-0 grow-0":!0,[`${r}`]:r}),children:[(0,n.jsx)(_.h,{heading:1,className:"!m-0 !font-bold !text-2xl text-balance",children:t("return-form__title")}),e]})};var h=t(80254);let f=({className:e})=>{let[r,t]=(0,i.useState)(!1),a=(0,l.useRouter)(),{t:_}=(0,d.Bd)(),{settings:x,alert:f}=(0,s.Pj)(),b="email",j="orderNumber",p=async e=>{if(e.preventDefault(),r)return;t(!0);let n=new FormData(e.target),s="string"==typeof n.get(b)?String(n.get(b)):null,i="string"==typeof n.get(j)?String(n.get(j)):null;if(!s||!i){f.handleError([{message:_("online-return-error__missing-fields")}]),t(!1);return}let[l,d]=await (0,u.dJ)({email:s,orderNumber:i});if(d||!l){Array.isArray(d)&&d.length>0&&f.handleError(d),t(!1);return}l&&l.redirectTo?a.push(l.redirectTo):f.handleError([{message:_("online-return-error__failed-to-redirect")}]),t(!1)};return(0,n.jsx)(g,{className:e,children:(0,n.jsxs)("form",{name:"findOrderForReturnForm",onSubmit:p,children:[(0,n.jsx)(o.g,{label:_("return-form__label__e-mail"),name:b,type:"email",required:!0,register:()=>({name:b}),defaultValue:"",className:"!mb-4 !mt-8"}),(0,n.jsx)(o.g,{label:_("return-form__label__order-number"),name:j,type:"text",required:!0,register:()=>({name:j}),defaultValue:"",className:"!mb-4"}),(0,n.jsx)(c.S,{type:"submit",className:"w-full !mb-10",disabled:r,"data-testid":h.Q.StaticPagesOnlineReturnFindOrderForReturnFormButton,children:_("return-form__button__submit")}),x.routes.userLogin&&(0,n.jsx)(m.A,{href:x.routes.userLogin,className:"grid","data-testid":h.Q.StaticPagesOnlineReturnFindOrderForReturnFormSignInLink,children:(0,n.jsx)(c.S,{variant:"inverted",as:"span",children:_("return-form__button__sign-in")})})]})})},b=({className:e})=>{let{settings:r}=(0,s.Pj)(),{t}=(0,d.Bd)();return(0,n.jsx)(g,{className:e,children:r.routes.userOrders&&(0,n.jsx)(m.A,{href:r.routes.userOrders,className:"grid mt-8","data-testid":h.Q.OrderHistoryFindOrderForReturnFormLink,children:(0,n.jsx)(c.S,{as:"span",children:t("return-form__button__order-history")})})})};var j=t(49421);let p=(0,a.PA)(e=>{let{user:r}=(0,s.Pj)(),t=r.fetched&&void 0!==r.user;return r.fetched?t?(0,n.jsx)(b,{...e}):(0,n.jsx)(f,{...e}):(0,n.jsx)(g,{...e,className:(0,x.cn)({relative:!0,[`${e.className}`]:e.className}),children:(0,n.jsx)("div",{className:"absolute inset-1",children:(0,n.jsx)(j.a,{isActive:!0})})})});var N=t(23052),v=t.n(N),y=t(35564),F=t(70069);let O=({page:e})=>(0,n.jsx)(F.Q,{sidebar:e.sidebar,children:(0,n.jsx)("div",{className:v().container,"data-testid":h.Q.StaticPagesStaticPageDiv,children:(0,n.jsxs)("div",{className:v().columns,children:[(0,n.jsx)(p,{}),e.content&&(0,n.jsx)(y.q,{wysiwyg:e.content,className:"overflow-hidden flex-1 w-full"})]})})})},97053:(e,r,t)=>{"use strict";t.d(r,{bl:()=>a,dJ:()=>s});var n=t(25110);t(17260);let s=async e=>await (0,n.g)("postFindOrderReturn",e),a=async(e,r,t)=>await (0,n.g)("postOrderReturnForm",e,`/${r}/${t}`)}}]);

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.