PageSourceSearch

https://www.gap.at/_next/static/chunks/3862-131e26abd4d59a95.js

js gap.at collected 2026-10-06 13:17:51 UTC 15,448 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3862],{25037:(e,r,a)=>{"use strict";a.d(r,{Z:()=>l,s:()=>t});let t=e=>{let r,[a,t,l]=[(r=parseInt(e.slice(1),16))>>16&255,r>>8&255,255&r];return(299*a+587*t+114*l)/1e3<128},l=e=>{if("#fff"===e.toLowerCase()||"#ffffff"==e.toLowerCase())return!0}},25636:e=>{e.exports={FormSliderThumb:"FormSlider_FormSliderThumb__piFlH"}},33862:(e,r,a)=>{"use strict";a.d(r,{g:()=>T});var t=a(26514),l=a(23469),n=a.n(l),s=a(14366),o=a(51055),i=a(75406),c=a(81586),d=a(25037),u=a(73394),m=a(75834),p=a(95347),h=a(39285);let x=e=>{let{name:r,defaultValue:a=null,register:l=()=>({}),disabled:n=!1,id:s}=e;return(0,t.jsx)("textarea",{...l(r),disabled:n,placeholder:" ",className:(0,i.cn)({"py-3 w-full border rounded-input h-[126px] resize-none focus:outline-none hover:ring-1 focus:ring-1 hover:ring-black focus:ring-black peer mb-3":!0,"focus:ring-danger-500 border-danger-500":e.error,...(0,h.H)({base:"px-6",orsay:"px-[25px]"})}),defaultValue:a,id:s})};var b=a(57966),f=a(87754),v=a(25636),g=a.n(v),w=a(80254),j=a(63466),y=a(55047);let N=(e,r,a)=>Math.min(Math.max(e,r),a),_=({postfix:e,className:r,error:a,onChange:l,...n})=>{let s=(0,m.useRef)(null),o=(0,m.useRef)(l);return(0,m.useEffect)(()=>{o.current=l}),(0,m.useEffect)(()=>{if(!s.current)return;let e=s.current,r=e=>e.shiftKey?10:e.ctrlKey||e.metaKey?100:1,a=(e,r,a)=>{e.preventDefault(),r.value=`${N(a,Number(n.min),Number(n.max))}`,r.dispatchEvent(new Event("input",{bubbles:!0})),o.current&&o.current(e)},t=t=>{e&&("ArrowUp"===t.key?a(t,e,Number(e.value)+r(t)):"ArrowDown"===t.key&&a(t,e,Number(e.value)-r(t)))};return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}},[n.min,n.max]),(0,m.useEffect)(()=>{if(!s.current)return;let e=s.current;void 0!==n.value?e.value=`${n.value}`:void 0!==n.defaultValue&&(e.value=`${n.defaultValue}`)},[n.value,n.defaultValue]),(0,t.jsxs)("label",{className:(0,i.cn)({"flex items-center justify-center relative h-[35px] px-[10px] border transition duration-150 ease-in-out":!0,"placeholder:text-neutral-600 placeholder:font-normal":!0,"active:ring-inset active:shadow-[inset_0_0_4px_rgba(0,0,0,0.6)]":!0,"focus-within:outline-none":!0,"hover:ring-1 focus-within:ring-1 hover:ring-black focus-within:ring-black":!n.disabled,"bg-neutral-300 text-neutral-600 cursor-not-allowed":n.disabled,"text-danger-500 focus-within:ring-danger-500 border-danger-500":!!a,[`${r}`]:r}),children:[(0,t.jsx)("input",{ref:s,className:(0,i.cn)({"border-0 min-w-0 [field-sizing:content] leading-none bg-transparent appearance-none focus:outline-none text-base":!0,"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none":!0,"cursor-not-allowed":n.disabled}),type:"number",onChange:l,...n}),e&&(0,t.jsx)("div",{className:"text-base font-normal ml-1",children:e})]})};var k=a(86750),$=a(67351),S=a(73637);let F=n()(()=>Promise.all([a.e(6359),a.e(6960)]).then(a.bind(a,56960)).then(e=>e.FormPhoneNumber),{loadableGenerated:{webpack:()=>[56960]},ssr:!1}),M={color:e=>{let{label:r,disabled:a,color:l="#000",defaultChecked:n}=e,{settings:u}=(0,c.Pj)(),m=(0,d.s)(l)?["border-transparent","fill-white"]:(0,d.Z)(l)?["border","fill-black"]:["border-transparent","fill-black"];return(0,t.jsxs)("label",{className:(0,i.cn)({"relative text-center inline-block":!0,"opacity-30 cursor-not-allowed":a,"cursor-pointer":!a}),title:r?r.toString():void 0,children:[(0,t.jsx)(o.p,{...e,className:(0,i.cn)({"w-full h-full absolute bg-transparent cursor-pointer appearance-none inset-0":!0,"pointer-events-none":a})}),(0,t.jsx)("div",{className:(0,i.cn)({"relative w-12 h-12 lg:w-10 lg:h-10 flex rounded-[--form-color__border-radius] items-center justify-center cursor-pointer z-10 pointer-events-none mx-auto":!0,[m[0]]:!0,"outline outline-2 outline-offset-2":u.isGap()&&n}),style:{background:"multicolor"===l?"linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet)":l},children:(0,t.jsx)(s.I,{icon:"/images/icons/check.svg",className:(0,i.cn)({"w-6 h-6 absolute top-[12px] left-[12px] transition-opacity lg:w-4 lg:h-4":!0,"opacity-100":n,"opacity-0":!n,[m[1]]:m[1]})})}),(0,t.jsx)("span",{className:"mt-1 text-center lg:hidden",children:r})]})},slider:({name:e,control:r,register:a,data:l,onFinalChange:n,className:s,...o})=>{let{t:c}=(0,y.Bd)("common"),d=(0,m.useMemo)(()=>l.min===l.max,[l.min,l.max]),[u,p]=(0,m.useState)(()=>l.from??l.min),[h,x]=(0,m.useState)(()=>d?l.from??l.min:l.to??l.max),[v,k]=(0,m.useState)(u),[$,S]=(0,m.useState)(()=>
1d?u:h),[F,M]=(0,j.$)(),{field:{onChange:T}}=(0,f.as)({name:e,control:r}),C=()=>{let r=N(u,l.min,h),a=N(h,u,l.max);p(r),x(a),n&&n([r,a]),(v!==r||$!==a||v!==u||$!==h)&&(k(r),S(a),T({[`${e}From`]:r,[`${e}To`]:a,[`${e}Min`]:l.min,[`${e}Max`]:l.max}))};return((0,m.useEffect)(()=>{void 0===l.from&&p(l.min),void 0===l.to&&x(l.max)},[l.from,l.to,l.min,l.max]),0===l.length)?null:(0,t.jsxs)("div",{className:(0,i.cn)({"c-form-slider":!0,"pt-2 relative w-full":!0,[`${s}`]:s}),...o,children:[(0,t.jsx)("input",{...a(`${e}_min`),type:"hidden",defaultValue:l.min,"data-testid":w.Q.FormSliderInputMin}),(0,t.jsx)("input",{...a(`${e}_max`),type:"hidden",defaultValue:l.max,"data-testid":w.Q.FormSliderInputMax}),(0,t.jsx)("div",{className:(0,i.cn)({"opacity-30 cursor-not-allowed":d}),children:(0,t.jsx)(b.Range,{draggableTrack:!d,disabled:d,values:[N(u,l.min,l.max),N(h,l.min,l.max)],step:1,min:l.min,max:d?l.max+1:l.max,onChange:e=>{M(),p(e[0]),x(e[1])},onFinalChange:r=>{n&&n(r),T({[`${e}From`]:u,[`${e}To`]:h,[`${e}Min`]:l.min,[`${e}Max`]:l.max})},renderTrack:({props:e,children:r})=>(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("div",{className:"w-[calc(100%_-_var(--form-slider\\_\\_thumb--size))] h-1 relative",onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:{...e.style},"data-testid":w.Q.FormSliderRange,children:(0,t.jsx)("div",{className:"h-1 w-full rounded relative z-10 self-center",ref:e.ref,style:{background:d?"var(--form-slider__range-color-default, var(--gray-400))":(0,b.getTrackBackground)({values:[u,h],colors:["var(--form-slider__range-color--default, var(--gray-400))","var(--form-slider__range-color--active, var(--black))","var(--form-slider__range-color--default, var(--gray-400))"],min:l.min,max:l.max})},children:r})})}),renderThumb:({props:e})=>(0,m.createElement)("div",{className:(0,i.cn)({"p-1 rounded-full":!0,"!cursor-auto":!d}),"data-testid":w.Q.FormSliderThumb,...e,"aria-label":c(0===e.key?"slider__aria-label__from":"slider__aria-label__to",{ariaLabel:String(e["aria-valuenow"])}),key:e.key},(0,t.jsx)("div",{className:(0,i.cn)({"rounded-full border":!0,"cursor-pointer":!d,[g().FormSliderThumb]:!0})}))})}),(0,t.jsxs)("div",{className:"pt-6 w-full flex justify-between gap-4",children:[(0,t.jsx)("div",{className:"min-w-[67px]",children:(0,t.jsx)(_,{name:`${e}_from`,defaultValue:N(u,l.min,l.max),onChange:e=>{p(Number(e.target.value))},onBlur:C,postfix:l.unit,"data-testid":w.Q.FormSliderInputFrom,min:l.min,max:l.max,step:1,disabled:d},`slider_from_${F}`)}),!d&&(0,t.jsx)("div",{className:"min-w-[47px]",children:(0,t.jsx)(_,{name:`${e}_to`,defaultValue:N(h,l.min,l.max),onChange:e=>{x(Number(e.target.value))},onBlur:C,postfix:l.unit,"data-testid":w.Q.FormSliderInputTo,min:l.min,max:l.max,step:1,disabled:d},`slider_to_${F}`)})]})]})},button:u.p,checkbox:e=>{let{label:r,className:a,id:l}=e,n=(0,m.useId)(),c=l||n;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:(0,i.cn)({"block c-checkbox my-4 text-sm relative":!0,[`${a}`]:a}),children:(0,t.jsxs)("div",{className:(0,i.cn)({"relative flex items-center justify-start":!0,"pointer-events-none opacity-30":e.disabled}),children:[(0,t.jsxs)("label",{className:"flex relative",children:[(0,t.jsx)(o.p,{id:c,...e,className:(0,i.cn)({"checked:bg-[--filter-item__background-color] appearance-none w-6 h-6 border border-gray-500 rounded-[--filter-item__border-radius] checked:border-2 checked:border-black":!0,"hover:border-1 hover:border-black":!e.disabled})}),(0,t.jsx)("div",{className:"absolute top-0 left-0 z-10 w-6 h-6 items-center justify-center flex opacity-0 transition duration-300",children:(0,t.jsx)(s.I,{icon:"/images/icons/check.svg",className:"fill-[--filter-item__icon__fill-color] cursor-pointer h-3 w-3"})})]}),(0,t.jsx)("label",{htmlFor:c,className:(0,i.cn)({"text-left ml-4":!0,"cursor-pointer hover:underline":!e.disabled,"cursor-not-allowed":e.disabled}),children:r})]})})})},textarea:e=>{let{error:r,label:a,className:l}=e,n=(0,m.useId)(),s={...e};return s.id||(s.id=n),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(x,{...s}),a&&(0,t.jsx)(p.l,{className:(0,i.cn)({"peer-placeholder-shown:top-6":!0,[`${l}`]:l}),error:r,htmlFor:n,children:a})]})},default:({type:e,inputClassname:r,error:a,label:l,disabled:n,className:c,...d})=>{let[u,x]=(0,m.useState)(!1),b=(0,m.useId)(),f="email"===e,v={disabled:n,...d};return v.id||(v.id=b),(0,t.jsx)("div",{className:(0,i.cn)({"my-6 relative":!0,[`${c}`]:c}),children:(0,t.jsxs)("div",{className:"text-base relative",children:[(0,t.jsx)(o.p,{...v,placeholder:v.placeholder||" ",type:"password"===e&&u?"text":e,inputMode:v.inputMode??(f?"email":void 0),className:(0,i.cn)({[`${r}`]:r,"placeholder:text-neutral-600 w-full h-16 rounded-input border font-medium pr-4 transition duration-150 ease-in-out focus:outline-none peer":!0,"bg-neutral-300 text-neutral-600 cursor-not-allowed":n,"hover:ring-1 focus:ring-1 hover:ring-black focus:ring-black active:ring-inset active:shadow-[inset_0_0_4px_rgba(0,0,0,0.6)]":!n,"focus:ring-danger-500 border-danger-500 text-danger-500":a,...(0,h.H)({base:"pl-6",orsay:"pl-[25px]"})})}),l&&(0,t.jsx)(p.l,{error:a,htmlFor:v.id,children:l}),"password"===e&&(0,t.jsx)("div",{className:"absolute flex items-center justify-center inset-y-0 right-0 w-16 cursor-pointer",onMouseDown:()=>x(!0),onMouseUp:()=>x(!1),onMouseLeave:()=>x(!1),onTouchStart:()=>x(!0),onTouchEnd:()=>x(!1),children:(0,t.jsx)(s.I,{icon:`/images/icons/${u?"hidden-eye":"eye"}.svg`,className:"w-5 bg-white"})})]})})},image:e=>{let{label:r,media:a,disabled:l}=e;return(0,t.jsxs)("label",{className:(0,i.cn)({"c-form-group--image block relative text-center mr-4":!0,"cursor-not-allowed opacity-30":l}),children:[(0,t.jsx)(o.p,{...e,className:(0,i.cn)({"absolute bg-transparent appearance-none inset-0":!0,"cursor-not-allowed":l,"cursor-pointer":!l})}),a?(0,t.jsx)("div",{className:"border-2 border-white rounded-full transition-colors duration-300",children:(0,t.jsx)(k.$,{src:a.path,width:60,height:60,className:"mx-auto border-2 border-white rounded-full"})}):null,(0,t.jsx)("div",{className:"mt-1 text-center",children:(0,t.jsx)("span",{className:"text-base mt-1",children:r})})]})},phoneNumber:F,radio:$.M},T=e=>{let{error:r,variant:a="default",errorMessageClassName:l}=e,n=M[a];return n?(0,t.jsx)(S.l,{error:r,type:e.type,errorMessageClassName:l,children:(0,t.jsx)(n,{...e})}):null}},51055:(e,r,a)=>{"use strict";a.d(r,{p:()=>n});var t=a(26514),l=a(75406);let n=e=>{let{id:r=null,type:a="text",name:n,defaultChecked:s=null,defaultValue:o=null,onChange:i=null,register:c=()=>({}),disabled:d=!1,className:u="",placeholder:m,min:p,max:h,...x}=e;return(0,t.jsx)("input",{type:a,...c(n,{onChange:e=>{i&&i(e)}}),defaultValue:o,defaultChecked:s,value:"radio"===a?o:void 0,id:r,disabled:d,className:(0,l.cn)({"text-input"
1:!0,[`${u}`]:u}),placeholder:m,min:p,max:h,...x})}},63466:(e,r,a)=>{"use strict";a.d(r,{$:()=>l});var t=a(75834);let l=()=>{let[e,r]=(0,t.useState)(Date.now().toString());return[e,()=>r(Date.now().toString())]}},67351:(e,r,a)=>{"use strict";a.d(r,{M:()=>s});var t=a(26514),l=a(51055),n=a(75406);let s=e=>{let{label:r,className:a,disabled:s}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("label",{className:(0,n.cn)({"block c-checkbox py-4 border-b text-sm relative":!0,"cursor-pointer hover:underline group":!s,"cursor-not-allowed text-gray-600":s,[`${a}`]:!!a}),children:(0,t.jsxs)("div",{className:"relative flex items-center justify-start",children:[(0,t.jsx)("div",{className:"flex relative",children:(0,t.jsx)(l.p,{...e,className:"appearance-none w-6 h-6 border border-gray-500 rounded-full checked:border-2 checked:border-black group-hover:enabled:border-1 group-hover:enabled:border-black transition duration-200 after:content-[''] after:absolute after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2 after:w-[0.938rem] after:h-[0.938rem] after:bg-black after:rounded-full after:opacity-0 after:transition-opacity after:duration-300 checked:after:opacity-100"})}),(0,t.jsx)("span",{className:"text-left ml-4",children:r})]})})})}},73394:(e,r,a)=>{"use strict";a.d(r,{a:()=>c,p:()=>i});var t=a(26514),l=a(51055),n=a(60269),s=a(73637),o=a(75406);a(75834);let i=e=>{let{label:r,disabled:a,className:s,checked:i,style:c,defaultChecked:d}=e;return(0,t.jsxs)("label",{className:(0,o.cn)({"c-form-group--button hover:outline-2 outline-black relative text-center h-full block":!0,"opacity-30":a,[`${s}`]:s}),children:[(0,t.jsx)(l.p,{...e,className:(0,o.cn)({"absolute w-full h-full bg-transparent appearance-none inset-0":!0,"cursor-not-allowed":a,"cursor-pointer":!a}),defaultChecked:i||d||void 0}),(0,t.jsx)(n.S,{variant:"light",className:(0,o.cn)({"pointer-events-none":a,"w-full font-normal":!0}),type:"button",style:c,children:(0,t.jsx)("span",{className:"truncate",children:r})})]})},c=({label:e,button:r,error:a,className:l,ref:i,...c})=>(0,t.jsx)(s.l,{error:a,type:c.type,children:(0,t.jsxs)("label",{className:(0,o.cn)({"c-form-group--button shadow-[0_0_0_1px_rgba(0,0,0,0.12)] hover:shadow-[0_0_0_1px_rgba(0,0,0,1)]":!0,"opacity-30 cursor-not-allowed":c.disabled,"cursor-pointer relative text-center h-full block":!0,[`${e?.className}`]:e?.className}),title:e?.label,children:[(0,t.jsx)("input",{ref:i,...c,className:(0,o.cn)({"absolute w-full h-full bg-transparent cursor-pointer appearance-none inset-0 checked:shadow-[0_0_0_1px_rgba(0,0,0,1)]":!0,"cursor-not-allowed":c.disabled,[`${l}`]:l})}),(0,t.jsx)(n.S,{className:(0,o.cn)({"!border-none w-full":!0}),variant:"light",style:r?.style,as:"span",children:(0,t.jsx)("span",{className:"truncate min-h-6 font-normal",children:e?.label})})]})})},73637:(e,r,a)=>{"use strict";a.d(r,{l:()=>n});var t=a(26514),l=a(75406);let n=({children:e,error:r,type:a,errorMessageClassName:n})=>(0,t.jsxs)("div",{children:[e,r&&r.message&&(0,t.jsx)("div",{className:(0,l.cn)({"text-left text-danger-500":!0,["checkbox"===a?"mt-2":"mb-2 -mt-3.5"]:!n,[`${n}`]:n}),children:r.message})]})},95347:(e,r,a)=>{"use strict";a.d(r,{l:()=>s});var t=a(26514),l=a(75406),n=a(39285);let s=({children:e,className:r,error:a,...s})=>(0,t.jsx)("label",{className:(0,l.cn)({"absolute left-4 top-1/2 z-10 -translate-y-1/2 text-neutral-600 duration-300 text-base w-max":!0,"peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:bg-transparent":!0,"peer-[:not(:placeholder-shown)]:-translate-y-4 peer-[:not(:placeholder-shown)]:text-black peer-[:not(:placeholder-shown)]:bg-white":!0,"peer-focus:-translate-y-4 peer-focus:text-black peer-focus:bg-white":!0,"text-danger-500 peer-[:not(:placeholder-shown)]:text-danger-500 peer-placeholder-shown:text-danger-500 peer-focus:text-danger-500":!!a,[`${r}`]:r,...(0,n.H)({base:"peer-focus:top-[0.2rem] peer-[:not(:placeholder-shown)]:top-[0.2rem] px-2",orsay:"peer-focus:top-[0.3rem] peer-[:not(:placeholder-shown)]:top-[0.3rem] px-2.5"})}),...s,children:e})}}]);

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.