PageSourceSearch

https://www.ottoversand.at/assets/turbo/60feea67/ottoversandat/_next/static/chunks/6709.a6bf498ed1c79100.js

js ottoversand.at collected 2026-09-25 03:57:23 UTC 8,702 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5156,6709],{8872:(e,r,t)=>{"use strict";t.d(r,{c:()=>k});var a,s=t(54568),l=t(7620),o=t(98404),n=t(81610),i=t(37677),d=((a={}).STRONG="strong",a.MEDIUM="medium",a.WEAK="weak",a.TOO_SHORT="tooshort",a.TOO_LONG="toolong",a.INVALID="invalid",a);let c=6,u=15,p={strong:{breakpoint:9},medium:{breakpoint:7},weak:{breakpoint:1},tooshort:{breakpoint:0},toolong:{breakpoint:-1},invalid:{breakpoint:0}},m=[e=>{let r=0;return e.length>=6&&(r+=1),e.length>=9&&(r+=2),e.length>=12&&(r+=1),r},e=>+(e.toLowerCase()!==e),e=>+(e.toUpperCase()!==e),e=>{let r=0;return/\d/.test(e)&&(r+=1),/.+\d.+/.test(e)&&(r+=1),r},e=>{let r=0;return/([^\d\w\s]|_)/.test(e)&&(r+=1),/.+([^\d\w\s]|_).+/.test(e)&&(r+=1),r}],g={[d.INVALID]:{id:"passwordstrength.invalid",defaultMessage:"ung\xfcltig",className:"text-color-error-dark"},[d.TOO_SHORT]:{id:"passwordstrength.tooshort",defaultMessage:"zu kurz",className:"text-color-error-dark"},[d.TOO_LONG]:{id:"passwordstrength.toolong",defaultMessage:"zu lang",className:"text-color-error-dark"},[d.WEAK]:{id:"passwordstrength.weak",defaultMessage:"schwach",className:"text-color-error-dark"},[d.MEDIUM]:{id:"passwordstrength.medium",defaultMessage:"mittel",className:"text-color-warning-dark"},[d.STRONG]:{id:"passwordstrength.strong",defaultMessage:"stark",className:"text-color-success-dark"}},x={[d.INVALID]:"bg-color-grey",[d.WEAK]:"bg-color-error",[d.MEDIUM]:"bg-color-warning",[d.STRONG]:"bg-color-success",[d.TOO_LONG]:"bg-color-grey",[d.TOO_SHORT]:"bg-color-grey"},f=({level:e,id:r})=>{let t=x[e]||x[d.INVALID];return(0,s.jsx)("div",{className:`h-0.5 w-full rounded transition-all duration-1000 ${t}`})},h=({level:e})=>{let r=e,t=e;return[d.MEDIUM,d.STRONG,d.WEAK].includes(e)||(r="default",t=d.INVALID),(0,s.jsx)(f,{level:t,id:`first-${r}`})},N=({level:e})=>{let r=e,t=e;return[d.MEDIUM,d.STRONG].includes(e)||(r="default",t=d.INVALID),(0,s.jsx)(f,{level:t,id:`second-${r}`})},b=({level:e})=>e===d.STRONG?(0,s.jsx)(f,{level:d.STRONG,id:"third-strong"}):(0,s.jsx)(f,{level:d.INVALID,id:"third-default"}),v=({level:e})=>{let r=g[e];return r?(0,s.jsx)("span",{className:`font-bold ${r.className}`,children:(0,s.jsx)(i.A,{id:r.id,defaultMessage:r.defaultMessage})}):null},y=({level:e})=>(0,s.jsxs)("div",{className:"mt-1 space-y-1 text-center",children:[(0,s.jsxs)("div",{className:"grid grid-cols-3 items-center justify-center gap-0.5",children:[(0,s.jsx)(h,{level:e}),(0,s.jsx)(N,{level:e}),(0,s.jsx)(b,{level:e})]}),(0,s.jsxs)("div",{className:"text-size-body-xs text-start",children:[(0,s.jsx)(i.A,{id:"passwordstrength.prefix",defaultMessage:"Passwortst\xe4rke: "}),(0,s.jsx)(v,{level:e})]})]}),k=(0,l.forwardRef)(({showPasswordButtonLabelShow:e,showPasswordButtonLabelHide:r,charsCounterLabel:t,value:a="",error:i,label:d,helperText:g,checkPasswordStrength:x=!1,minLength:f=6,maxLength:h=256,onBlur:N,...b},v)=>{let[k,w]=(0,l.useState)(!1),j=(0,l.useMemo)(()=>((e,r=c,t=u,a=p,s=m)=>((e,r=p)=>e>=r.strong.breakpoint?"strong":e>=r.medium.breakpoint?"medium":e>=r.weak.breakpoint?"weak":0===e?"tooshort":-1===e?"toolong":"invalid")(((e,r=c,t=u,a=m)=>e.length<r?0:t>-1&&e.length>t?-1:a.reduce((r,t)=>r+t(e),0))(e,r,t,s),a))(a,f,h),[a,f,h]);return(0,s.jsxs)("div",{children:[(0,s.jsx)(o.p,{ref:v,label:d,error:i,helperText:g,...b,autoComplete:"off",onBlur:e=>{N?.(e)},onChange:e=>{b.onChange?.(e)},type:k?"text":"password",className:"hide-default-browser-icon rounded-sm",children:(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)("p",{className:`text-size-body-sm absolute top-[-18px] right-0 ${i?"text-color-grey-dark":"text-color-success-dark"}`,children:`${a?.length||0} ${t}`}),r&&e&&(0,s.jsx)(n.Button,{onClick:e=>{e.preventDefault(),w(e=>!e)},"aria-label":k?r:e,className:"text-grey-light bg-color-transparent enabled:hover:bg-color-transparent absolute top-0 right-0 h-full border-0 px-1",children:k?r:e})]})}),x&&(0,s.jsx)(y,{level:j})]})})},25156:()=>{},27850:(e,r,t)=>{"use strict";t.d(r,{P:()=>l});var a=t(54568),s=t(51445);let l=({className:e,value:r=0,mode:t="indeterminate",ariaLabel:l="Content loading"})=>{let o=2*Math.PI*20.2;return(0,a.jsxs)("span",{className:(0,s.cn)("icon-emp-spinner relative inline-flex items-center justify-center","determinate"===t?"-rotate-90":"",e),role:"progressbar","aria-valuenow":"determinate"===t?r:void 0,children:["determinate"===t&&(0,a.jsxs)("span",{className:"text-color-text-darktransparent text-size-body-sm absolute rotate-90",children:[r,(0,a.jsx)("span",{className:"text-sm",children:"%"})]}),(0,a.jsx)("span",{className:`${"indeterminate"===t?"animate-circular-progress":""} absolute h-full w-full`,children:(0,a.jsx)("svg",{viewBox:"22 22 44 44","aria-label":l,children:(0,a.jsx)("circle",{className:`${"indeterminate"===t?"animate-circular-progress-circle":""} text-color-primary`,style:{stroke:"currentcolor",strokeDasharray:"determinate"===t?o.toFixed(3):"80px, 200px",strokeDashoffset:"determinate"===t?`${((100-r)/100*o).toFixed(3)}px`:"0",strokeLinecap:"round"},cx:44,cy:44,r:20.2,fill:"none",strokeWidth:3.6})})}),(0,a.jsx)("svg",{viewBox:"22 22 44 44","aria-label":l,children:(0,a.jsx)("circle",{className:"text-color-linear-progress-background",style:{stroke:"currentcolor",strokeDashoffset:"0",strokeLinecap:"round"},cx:44,cy:44,r:20.2,fill:"none",strokeWidth:3.6})})]})}},37677:(e,r,t)=>{"use strict";t.d(r,{A:()=>d});var a=t(32978),s=t(7620),l=t(62722),o=t(85958);function n(e){var r=(0,o.A)(),t=r.formatMessage,a=r.textComponent,l=void 0===a?s.Fragment:a,n=e.id,i=e.description,d=e.defaultMessage,c=e.values,u=e.children,p=e.tagName,m=void 0===p?l:p,g=t({id:n,description:i,defaultMessage:d},c,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(g)?g:[g]):m?s.createElement(m,null,g):s.createElement(s.Fragment,null,g)}n.displayName="FormattedMessage";var i=s.memo(n,function(e,r){var t=e.values,s=(0,a.__rest)(e,["values"]),o=r.values,n=(0,a.__rest)(r,["values"]);return(0,l.bN)(o,t)&&(0,l.bN)(s,n)});i.displayName="MemoizedFormattedMessage";let d=i},63362:(e,r,t)=>{"use strict";t.d(r,{D:()=>u});
1var a=t(7620),s=t(30720),l=t(9520),o=t(15933),n=t(19170),i=t(69715),d=t(916),c=t.n(d);let u=()=>{let{jwtToken:e}=(0,l.w)(),r=(0,s.U)();return(0,a.useMemo)(()=>e?new n.LoginApi(new i.Configuration({fetchApi:(e,r)=>fetch(e,r),headers:{accept:"application/json"},apiKey:e,middleware:[o.apiKeyManager.sessionInvalidationMiddleware,new(c())("feature-backend-customer")],basePath:r.apiEndpoints.customer})):null,[r,e])}},94577:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Card:()=>n,CardAction:()=>g,CardContent:()=>p,CardDescription:()=>u,CardFooter:()=>m,CardHeader:()=>i,CardSubtitle:()=>c,CardTitle:()=>d});var a=t(54568),s=t(7620),l=t(51445);let o=(0,t(91397).F)("bg-color-background-base rounded transition-all",{variants:{hasAutoSeparation:{true:"divide-color-grey divide-y",false:""},layout:{outlined:"border-color-grey border",default:"shadow-xs"},isActive:{true:"border-l-color-primary border-l-4",false:""}},defaultVariants:{hasAutoSeparation:!1,layout:"default",isActive:!1}}),n=s.forwardRef(({className:e,hasAutoSeparation:r,isActive:t,layout:s="default",...n},i)=>(0,a.jsx)("div",{ref:i,className:(0,l.cn)(o({hasAutoSeparation:r,isActive:t,layout:s}),e),...n}));n.displayName="Card";let i=s.forwardRef(({className:e,hasDivider:r,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex gap-2 px-3 py-1.5",r&&"border-color-grey border-b",e),...t}));i.displayName="CardHeader";let d=s.forwardRef(({className:e,...r},t)=>(0,a.jsx)("p",{ref:t,className:(0,l.cn)("text-size-headline-base",e),...r}));d.displayName="CardTitle";let c=s.forwardRef(({className:e,...r},t)=>(0,a.jsx)("p",{ref:t,className:(0,l.cn)("text-size-body-sm text-color-text-darktransparent mt-0.5",e),...r}));c.displayName="CardSubtitle";let u=s.forwardRef(({className:e,...r},t)=>(0,a.jsx)("p",{ref:t,className:(0,l.cn)("text-size-body-xs mt-0.5",e),...r}));u.displayName="CardDescription";let p=s.forwardRef(({className:e,...r},t)=>(0,a.jsx)("div",{ref:t,className:(0,l.cn)("px-2 pt-2",e),...r}));p.displayName="CardContent";let m=s.forwardRef(({hasDivider:e,className:r,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex items-center px-2",e&&"border-color-grey border-t",r),...t}));m.displayName="CardFooter";let g=s.forwardRef(({className:e,icon:r,children:t,...s},o)=>(0,a.jsxs)("button",{ref:o,type:"button",className:(0,l.cn)("text-color-text-dark hover:bg-color-grey-light text-size-body-sm flex items-center gap-2 rounded-[8px] transition-colors",r?"ps-0.5 pe-1":"px-1",e),...s,children:[r&&(0,a.jsx)("span",{className:(0,l.cn)(r,"size-3")}),(0,a.jsx)("span",{children:t})]}));g.displayName="CardAction"}}]);
2//# sourceMappingURL=6709.a6bf498ed1c79100.js.map

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.