PageSourceSearch

https://www.kitchentime.dk/static/8145.9e73e5de6e89857c.js

js kitchentime.dk collected 2026-09-25 05:49:14 UTC 10,704 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknestcom=self.webpackChunknestcom||[]).push([["8145"],{3144:function(e,t,n){let i;n.r(t),n.d(t,{LoginForm:()=>w,RegisteredLoginPage:()=>P});var a=n(8931),o=n(3587),s=n(2018),r=n(7016),l=n(2454),c=n(2743),g=n(2768),d=n(4414),m=n(7630),h=n(8201),p=n(6003),x=n(7043),u=n(2562),S=n(2063),I=n(8992),y=n(9268),f=n(1062),j=n(3538);let P=(0,s.Nj)(function(e){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.O,{heading:(0,s.Tl)(e=>e.login.heading)}),(0,a.jsx)(w,{heading:e.page.heading,description:e.page.content,showRegistrationLink:!0})]})}),w=(0,p.I4)(({changeView:e,heading:t,description:n,showRegistrationLink:i=!1,close:g})=>{let[p,x]=o.useState(""),[u,S]=o.useState(""),[y,P]=o.useState(!1),[w,B]=(0,h.j8)(),z=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi")[0]?.registrationPageUrl,G=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi")[0]?.forgotPasswordPageUrl,[L]=(0,s.T7)({selector:e=>e?.myPagesStartPageUrl},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi"),[E]=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.AuthenticationDetailsApiModel,NordicNest.ContentApi"),{source:R}=(0,c.X)("Login");o.useEffect(()=>{U(E,async t=>{await f.Ek.emit(),"PDP"===R&&e?e("Success"):(g?.(),t!==(0,s.bS)().toString()?await (0,s.c8)(t):await (0,s.Uu)())})},[E,g,e,R]);let F=o.useCallback(t=>{t.preventDefault(),B(new Promise(async(t,n)=>{(await (0,d.iD)(p,u)).success?(t(),"PDP"===R&&e?e("Success"):(g?.(),(0,s.bS)().pathname.toString()===L?await (0,s.Uu)():L&&await (0,s.c8)(L))):(n(),P(!0))}))},[B,p,u,g,e,L,R]),K=o.useCallback((t,n)=>{e&&(t.preventDefault(),t.stopPropagation(),e(n))},[e]),O=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T,{as:m.Sx.Transparent,keepBorder:!0,type:"email",value:p,onChange:e=>x(e.target.value),placeholder:(0,s.Tl)(e=>e.login.email),autoComplete:"username"}),(0,a.jsx)(b,{as:m.Sx.Transparent,keepBorder:!0,type:"password",value:u,onChange:e=>S(e.target.value),placeholder:(0,s.Tl)(e=>e.login.password),autoComplete:"current-password"})]});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(k,{onSubmit:F,children:[t&&(0,a.jsx)(A,{children:t}),(0,a.jsx)(v,{id:"sign-in-with-klarna-container"})]}),(0,a.jsxs)(k,{onSubmit:F,...l.Sv.MyPagesLoginForm,children:[(0,a.jsx)(r.yo,{elements:n}),m.E6?(0,a.jsxs)(C,{children:[(0,a.jsx)(D,{}),O]}):O,y&&(0,a.jsx)(W,{children:(0,s.Tl)(e=>e.login.failedLogin)}),(0,a.jsx)(N,{type:"submit",state:w,as:m.VY?m.Sx.Primary:m.Sx.Secondary,size:I.S9.Large,id:"login-button",children:(0,s.Tl)(e=>e.login.loginAction)}),i&&(0,a.jsx)(M,{...j.Ug.RegisterButton,onClick:e=>K(e,"Registration"),to:z||"",children:(0,s.Tl)(e=>e.login.createAccount)}),(0,a.jsx)(M,{onClick:e=>K(e,"ResetPassword"),to:G||"",children:(0,s.Tl)(e=>e.login.resetPassword)}),(0,a.jsx)("div",{...l.Sv.SignUpFlyoutUspArea})]})]})}),k=p.I4.form((0,S.TG)({marginTop:e=>e.sharedSpacing.m}),{padding:{x:e=>e.sharedSpacing.xl,bottom:0},width:430,fontSize:e=>e.fontSize.xs,textAlign:"center",maxWidth:"100%",display:"flex",flexDirection:"column",alignContent:"center",margin:{x:"auto"}}),v=p.I4.div({width:"100%",marginBottom:e=>e.sharedSpacing.l,minHeight:48}),A=p.I4.h2({fontSize:e=>e.fontSize.l,fontWeight:"bold",marginBottom:e=>e.sharedSpacing.l}),C=p.I4.div({position:"relative",marginTop:48}),T=(0,p.I4)(x.A_,{marginBottom:e=>e.sharedSpacing.m,width:"100%"}),b=(0,p.I4)(x.A_,{marginBottom:e=>e.sharedSpacing.m,width:"100%"}),N=(0,p.I4)(h.y6,{margin:{x:"auto",bottom:e=>e.sharedSpacing.l},padding:{x:e=>e.sharedSpacing.xxl},marginBottom:e=>e.sharedSpacing.xl,width:"100%"}),W=p.I4.div({fontSize:e=>e.sharedFontSize.xxs,marginBottom:e=>e.sharedSpacing.xs,color:e=>e.negative.color}),M=(0,p.I4)(u.A,{marginBottom:e=>e.sharedSpacing.m,textDecoration:"underline",alignSelf:"center"}),D=(0,p.I4)(y.ML,{position:"absolute",bottom:"100%",right:"25%",transform:"translateX(50%)",width:60}),B=!1;async function U(e,t){if(i=t,e?.signInWithKlarnaScriptModel){await (0,s.k0)("https://js.klarna.com/web-sdk/v1/klarna.js");let t=await window.Klarna.init({clientId:e.signInWithKlarnaScriptModel.clientId});B||(t.Identity.on("error",async e=>{console.error(e.message)}),t.Identity.on("signin",async t=>{await (0,s.B2)(new s.Ac("/api/signInWithKlarna/logincallback"),t).then(async t=>{"succeeded"===t.result?await i?.(e.signInWithKlarnaScriptModel.redirectUrl):"needsUpdate"===t.result||t.result}),console.log(t)}),B=!0);let n=t.Identity.button({scope:e.signInWithKlarnaScriptModel.scope,redirectUri:e.signInWithKlarnaScriptModel.redirectUrl,locale:e.signInWithKlarnaScriptModel.locale,theme:"outlined",shape:"rect",interactionMode:"DEVICE_BEST"});document.getElementById("sign-in-with-klarna-container")?.hasChildNodes()||n.mou
1nt("#sign-in-with-klarna-container")}}},2768:function(e,t,n){n.d(t,{O:()=>M,U:()=>D});var i=n(8931),a=n(3587),o=n(6003),s=n(2018),r=n(2063),l=n(7108),c=n(4414),g=n(1814),d=n(6043),m=n(3516),h=n(4422),p=n(6752),x=n(7630),u=n(2454);function S(e){let[t,n]=a.useState(e.activeMenuItem??(0,s.bS)().pathname),o=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi")[0]?.myPagesStartPageUrl,r=a.useMemo(()=>e.menuItemsWithIcon?[{value:o,text:(0,s.Tl)(e=>e.myPages.myPagesStartPageTitle),icon:void 0},...e.menuItemsWithIcon.map(e=>({value:e.link.to,text:e.link.children,icon:e.icon})),{value:"logout",text:(0,s.Tl)(e=>e.login.logout),icon:void 0}]:e.menuItems?[{value:o,text:(0,s.Tl)(e=>e.myPages.myPagesStartPageTitle)},...e.menuItems.map(e=>({value:e.to,text:e.children})),{value:"logout",text:(0,s.Tl)(e=>e.login.logout)}]:[],[o,e.menuItems,e.menuItemsWithIcon]),l=a.useCallback(t=>{"logout"===t?e.logout():(n(t),(0,s.c8)(t))},[e]),c=e=>(0,i.jsxs)(y,{..."logout"===e.value?u.Sv.MyPagesLogoutButton:[],children:[e.value===o?(0,i.jsx)(i.Fragment,{children:x.E6?(0,i.jsx)(C,{}):(0,i.jsx)(A,{})}):"logout"===e.value?(0,i.jsx)(v,{}):(0,i.jsx)(w,{image:e.icon}),e.text]});return(0,i.jsx)(I,{value:t,options:r,onChangeOption:l,selectedTransform:c,optionTransform:c,selectedValueDecorator:f,optionDecorator:j,isOpenDecorator:P,hideSelectedOption:!0})}let I=(0,o.I4)(h.A,{position:"relative",zIndex:2}),y=o.I4.span({display:"flex",alignItems:"center"}),f=(0,o.I4)({padding:{x:e=>e.sharedSpacing.m,y:e=>e.sharedSpacing.xs},border:{x:{style:"none"},top:{style:"none"},bottom:{style:"solid",width:1,color:e=>e.myPagesMenu?.color}},height:56}),j=(0,o.I4)({padding:{x:e=>e.sharedSpacing.m,y:e=>e.sharedSpacing.xs},height:56,display:"flex",alignItems:"center"}),P=(0,o.I4)({backgroundColor:e=>e.myPagesLoyaltyPoints?.color}),w=(0,o.I4)(p.Ay,{marginRight:e=>e.sharedSpacing.m,opacity:1}),k=(0,o.I4)({marginRight:e=>e.sharedSpacing.m,width:25,height:25}),v=(0,o.I4)(d.o4,k,{strokeWidth:x.E6?1.8:1}),A=(0,o.I4)(d.t0,k),C=(0,o.I4)(d.fA,k);var T=n(9268),b=n(6854),N=n(2562),W=n(8725);let M=(0,o.I4)(e=>(0,i.jsx)(O,{children:(0,i.jsxs)(V,{children:[(0,i.jsx)(z,{}),(0,i.jsx)(_,{to:e.myPageStartPageUrl,children:(0,i.jsx)(X,{children:e?.heading})}),e.node]})}));function D({children:e,heading:t,isStartPage:n,backButton:o,activeMenuItem:r,...l}){let[g]=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.MyPages.MyPagesApiModel,NordicNest.ContentApi"),m=(0,s.AC)(),[h]=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi"),p=(0,s.T7)({},"NordicNest.ContentApi.DynamicData.WellknownPagesApiModel,NordicNest.ContentApi")[0]?.startPageUrl??"",I=a.useRef(void 0);a.useEffect(()=>{h?.startPageUrl&&!I.current&&(I.current=h?.startPageUrl)},[h?.startPageUrl]);let y=a.useCallback(()=>{(0,s.c8)(p),(0,c.ri)()},[p]);return(0,i.jsxs)(B,{children:[!m&&(0,i.jsx)("div",{...u.Sv.MyPagesMenu,children:(0,i.jsx)(S,{menuItems:g?.menuItems,menuItemsWithIcon:g?.menuItemsWithIcon,logout:y,activeMenuItem:r})}),(0,i.jsxs)(K,{children:[m&&(0,i.jsxs)(L,{children:[(0,i.jsxs)(F,{css:(0,s.bS)().pathname===h?.myPagesStartPageUrl&&R,to:h?.myPagesStartPageUrl,children:[x.E6||x.G3?(0,i.jsx)(Q,{}):(0,i.jsx)(J,{}),(0,s.Tl)(e=>e.myPages.myPagesStartPageTitle)]}),g?.menuItemsWithIcon?g?.menuItemsWithIcon?.map(e=>(0,i.jsx)("li",{children:(0,i.jsxs)(F,{css:(0,s.bS)().pathname===e.link.to&&R,to:e.link.to,children:[e.icon&&(0,i.jsx)(Z,{image:e.icon})," ",e.link.children]})},e.link.to)):g?.menuItems?.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(F,{css:(0,s.bS)().pathname===e.to&&R,to:e.to,children:e.children})},e.to)),(0,i.jsxs)(H,{onClick:y,...u.Sv.MyPagesLogoutButton,children:[(0,i.jsx)(Y,{})," ",(0,s.Tl)(e=>e.login.logout)]})]}),(0,i.jsxs)(U,{...l,children:[t&&(0,i.jsxs)(E,{css:n&&G,children:[o&&(0,i.jsxs)(ee,{onClick:()=>history.back(),children:[(0,i.jsx)(d.VG,{}),m&&(0,s.Tl)(e=>e.myPages.back)]}),(0,i.jsx)($,{children:t})]}),e]})]})]})}let B=o.I4.div({flexGrow:1}),U=o.I4.div({width:"100%",maxWidth:910}),z=(0,o.I4)(W.ny,{marginRight:e=>e.sharedSpacing.xs,fill:e=>e.dark.color}),G=(0,o.I4)((0,r.$f)({padding:{bottom:0}}),{borderBottom:{width:0}}),L=o.I4.ul(l.y,{minWidth:230}),E=(0,o.I4)(m.eB,(0,r.TG)({padding:{y:22}}),(0,r.$f)({justifyContent:"flex-start"}),{display:"flex",justifyContent:"center",alignItems:"center",position:"relative",padding:{bottom:e=>e.sharedSpacing.m}}),R=(0,o.I4)({fontWeight:"bold"}),F=(0,o.I4)(N.A,{margin:{bottom:e=>e.sharedSpacing.l},display:"flex",fontWeight:e=>e.myPagesMenu?.fontWeight}),K=(0,o.I4)(m.eB,m.jn,m.cX,m.sh,(0,r.$f)({display:"grid",gridTemplateColumns:"1fr 4fr",columnGap:e=>e.sharedSpacing.xxxxl,margin:{top:e=>e.sharedSpacing.xxl,bottom:e=>e.sharedSpacing.xxxl}}),(0,r.H_)({marginTop:e=>e.sharedSpacing.xxl}),{display:"flex",marginBottom:e=>e.sharedSpacing.xxxl}),O=o.I4.div((0,r.TG)({marginBottom:0}),{backgroundColor:"#edece8",marginBottom:e=>e.sharedSpacing.xxxl,border:{y:{style:"solid",width:"thin",color:g.cl}}}),V=(0,o.I4)(m.eB,m.qA,m.cX,m.sh,{display:"flex",alignItems:"center",position:"relative",height:64}),X=o.I4.h1((0,r.TG)({fontSize:e=>e.fontSize.s}),{fontSize:e=>e.fontSize.s,flexGrow:1,marginBottom:0,fontWeight:"normal"}),_=(0,o.I4)(N.A,{flexGrow:1}),$=o.I4.h2((0,r.TG)({fontSize:e=>e.fontSize.l}),{marginBottom:0,width:"100%",textAlign:"center",fontSize:e=>e.fontSize.xl,fontWeight:e=>e.header?.fontWeight}),H=(0,o.I4)(b.U9,{display:"flex",fontWeight:e=>e.myPagesMenu?.fontWeight}),q=(0,o.I4)({marginRight:e=>e.sharedSpacing.m,width:25,height:25}),Y=(0,o.I4)(d.o4,q,{strokeWidth:x.E6?1.8:1}),J=(0,o.I4)(d.t0,q),Q=(0,o.I4)(T.fA,q),Z=(0,o.I4)(p.Ay,{marginRight:e=>e.sharedSpacing.m,opacity:1}),ee=(0,o.I4)(b.U9,(0,r.TG)({marginLeft:e=>e.sharedSpacing.s}),{position:"absolute",left:0,display:"flex",alignItems:"center",columnGap:e=>e.sharedSpacing.xs,marginLeft:e=>e.sharedSpacing.m})}}]);
2//# sourceMappingURL=8145.9e73e5de6e89857c.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.