PageSourceSearch

https://owp.klarna.com/static/features-klarnaMarketing-view-components-core-Card-0cea78f6.js

js klarna.com collected 2026-09-24 08:26:07 UTC 15,148 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[66149],{59958(e,r,t){t(27495);var n=t(79120);t.d(r,{},{b:(e,r)=>{if((0,n.kK)(e)){let t=(0,n.i4)(r.pathname);if(e.startsWith("#"))return(0,n.M)({pathname:t,search:r.search,hash:e});if(e.startsWith("?"))return(0,n.M)({pathname:t,search:e,hash:r.hash});if(!e.startsWith("/"))return(0,n.M)({pathname:(0,n.i4)(t+e),search:r.search,hash:r.hash})}return e}})},34808(e,r,t){t.d(r,{A:()=>a});var n=t(74848);t(18111),t(22489);var o=t(59958),i=t(40267),l=t(72875);let c=({children:e,className:r="",draggable:t,href:c,includeReferrerIfBlank:s,onClick:a,onDragStart:u,ref:f,rel:p,style:b,target:d,title:y,"aria-label":O})=>{let h,g=(h=(0,l.zy)(),(0,o.b)(c,h));return(0,n.jsx)(i.A,{ref:f,"aria-label":O,className:r,draggable:t,href:g,rel:"_blank"===d?["noopener",!s&&"noreferrer",p].filter(Boolean).join(" "):p,style:b,target:d,title:y,onClick:a,onDragStart:u,children:e})};var s=t(70561);let a=function(e){var r,t;let{children:o,onClick:i,trackingProps:l,className:a="",ref:u}=e,f=function(e,r){if(null==e)return{};var t,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,r){if(null==e)return{};var t,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)t=i[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);return o}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["children","onClick","trackingProps","className","ref"]);return(0,n.jsx)(c,(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({ref:u,className:a,onClick:r=>{(0,s.rM)(r,{href:e.href,trackingProps:l}),null==i||i(r)}},f),t=t={children:o},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}),r))}},56797(e,r,t){var n=t(96540);let o=(0,n.createContext)({inverse:!1});t.d(r,{},{A:o,M:()=>(0,n.use)(o)})},5920(e,r,t){t.r(r);var n=t(74848),o=t(49963),i=t(76899),l=t(53312),c=t(34808),s=t(56797),a=t(83392),u=t(96540);function f(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}function p(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}let b={default:o.M["grayscale/white"],inverse:o.M["grayscale/100"],primary:o.M["pink/30"],secondary:"#F9F8F5",brandOne:o.M["sticky-note/10"],brandTwo:o.M["sticky-note/10"],brandThree:"#B798BE",brandFour:"#B798BE",brandFive:"#B798BE",brandSix:o.M["sticky-note/10"],brandSeven:"#F9F8F5",brandEight:"#E4E3DF",brandNine:o.M["sticky-note/10"],brandTen:"#B798BE",brandEleven:"#2C2242"},d=({link:e,children:r})=>e?(0,n.jsx)(c.A,p(f({},e),{children:r})):(0,n.jsx)(n.Fragment,{children:r}),y=({imageProps:e,illustration:r})=>{if(r)return(0,n.jsx)(i.H,{webOnlyProps:{css:{display:"block",padding:"32px 32px 0px 32px"}},children:r});if(!e)return null;let t=(0,n.jsx)(a.Ay,p(f({alt:""},e),{layout:"auto",ratio:e.ratio}));return(0,n.jsx)(i.H,{webOnlyProps:{css:{display:"block",overflow:"hidden",[`.${a.C$}, .${a.hA}`]:{height:"100%"},img:{display:"block",width:"100%",height:"100%",objectFit:"cover"}}},children:t})},O=({direction:e="row",body:r,imageProps:t,illustration:c,badge:s,badgeAlignment:a="Right",bodyClassName:u,inverse:b})=>{let d="column"===e;return(0,n.jsxs)(i.H,{webOnlyProps:{css:f({position:"relative",display:"flex",flexDirection:"column",flex:"auto"},d?{"@media (min-width: 1024px)":f({flexDirection:"row"},t?{"> div":{flex:"0 0 50%"}}:{})}:{})},children:[s&&(0,n.jsx)(l.v,p(f({fontWeight:"bold",position:"absolute",size:"m",textToken:"label/xs",top:"space/16",webOnlyProps:{css:{zIndex:1}}},"Right"===a?{right:"space/16"}:{left:"space/16"}),{children:s})),(0,n.jsx)(y,{illustration:c,imageProps:t}),r&&(0,n.jsx)(i.H,{webOnlyProps:{className:u,css:p(f({padding:"32px"},d?{margin:"auto"}:{}),{flex:"auto",display:"flex",flexDirection:"column","&&":{"[data-role='typography']":{color:b?o.M["grayscale/white"]:o.M["grayscale/100"]}},".first-sublabel":{fontWeight:700,"&.has-second":{marginBottom:"8px"}},".second-sublabel":{color:`${o.M["purple/60"]} !important`,fontWeight:400},".richtext":{flexGrow:1}})},children:r})]})};t.d(r,{},{default:function(e){let{clickableLink:r,backgroundColor:t,inverse:l,ref:c}=e,a=function(e,r){if(null==e)return{};var t,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,r){if(null==e)return{};var t,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)t=i[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);return o}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["clickableLink","backgroundColor","inverse","ref"]),p=(0,u.useMemo)(()=>({inverse:l}),[l]);return(0,n.jsx)(d,{link:r,children:(0,n.jsx)(s.A,{value:p,children:(0,n.jsx)(i.H,{ref:c,webOnlyProps:{css:f({display:"flex",flexDirection:"row",alignItems:"stretch",border:"1px solid rgba(0, 0, 0, 0.12)",height:"100%",width:"100%",borderRadius:"32px",overflow:"hidden","&&":{backgroundColor:l&&"inverse"===t?o.M["grayscale/100"]:t?b[t]:o.M["grayscale/white"],borderColor:l?o.M["grayscale/100"]:o.M["grayscale/20"]}},r?{"&:hover":{background:"#f3f3f3"}}:{})},children:(0,n.jsx)(O,f({inverse:l},a))})})})}})},83392(e,r,t){t.d(r,{hA:()=>h,C$:()=>O,Ay:()=>w}),t(18111),t(61701),t(62953),t(27495);var n=t(74848),o=t(42092),i=t(76899);t(44114),t(22489),t(17642),t(58004),t(33853),t(45876),t(32475),t(15024),t(31698),t(20116);
1var l=t(93376),c=t(10885),s=t(60316),a=t(47251);let u={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],allSizes:[640,750,828,1080,1200,1920,2048,3840],domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"]};function f(e,{src:r,width:t,sizes:n},o){var i,l;if(!o.resizeWidth&&!o.resizeHeight)return;let c=e(r,null,[1,2],o);return{src:null!=(i=c.src)?i:r,srcSet:null!=(l=c.srcSet)?l:void 0,sizes:n||(!n&&t?"100vw":void 0),sources:c.sources}}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}function b(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}function d(e,r){if(null==e)return{};var t,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,r){if(null==e)return{};var t,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)t=i[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);return o}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}let y="radius/32",O="marketing-image__root",h="marketing-image__container",g={width:"100%",maxWidth:"100%",alignSelf:"center"};function m(e){return"contain"===e?"contain":"fill"===e?"fill":"cover"}function j(e){let{fillParent:r,sources:t}=e,i=d(e,["fillParent","sources"]),l=(0,n.jsx)(o._,p({},i));return t&&t.length>0?(0,n.jsxs)("picture",{style:r?{display:"block",height:"100%",width:"100%"}:void 0,children:[t.map(e=>{var r;return(0,n.jsx)("source",{srcSet:e.srcSet,type:e.mimeType},null!=(r=e.mimeType)?r:e.srcSet)}),l]}):l}let w=e=>{let{className:r,ratio:t,rounded:o,alt:w,src:v="",height:P,width:x=0,layout:S,loading:k,onError:E,onLoad:N,quality:D,lazyLoad:M,unoptimized:R=!1,objectFit:z,objectPosition:A}=e,_=d(e,["className","ratio","rounded","alt","src","height","width","layout","loading","onError","onLoad","quality","lazyLoad","unoptimized","objectFit","objectPosition"]),I=P;if(t){let[e,r]=t.split(":");I="number"==typeof x&&x>0?Math.round(x*Number(r)/Number(e)):r}let{sizes:L,srcSet:H,src:C,sources:F}=function({src:e,unoptimized:r=!1,width:t,sizes:n,height:o,quality:i=90}){if(r)return{src:e,srcSet:void 0,sizes:void 0};let p=function({src:e,width:r,height:t,sizes:n,quality:o}){return{src:e,resizeWidth:(0,a.LG)(r),resizeHeight:(0,a.LG)(t),quality:o,width:r,sizes:n}}({src:e,width:t,height:o,sizes:n,quality:i}),b=(0,l.t)(p.src)?function(e){let{resizeWidth:r,resizeHeight:t,quality:n}=e;return f(s.Q,e,{resizeWidth:r,resizeHeight:t,quality:n})}(p):"assetsPlatform"===(0,c.q)(p.src)?function(e){let{resizeWidth:r,resizeHeight:t,quality:n}=e;return f(c.Y,e,{resizeWidth:r,resizeHeight:t,resizeMode:"fill",quality:n})}(p):void 0;return b||function({src:e,width:r,sizes:t}){let{widths:n,kind:o}=function({deviceSizes:e,allSizes:r},t,n){if(n){let t=/(^|\s)(1?\d?\d)vw/g,o=[];for(let e;e=t.exec(n);)o.push(parseInt(e[2]));if(o.length){let t=.01*Math.min(...o);return{widths:r.filter(r=>r>=e[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t?{widths:e,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(r=>r>=e)||r[r.length-1]))],kind:"x"}}(u,r,t);return{sizes:t||"w"!==o?t:"100vw",srcSet:n.map((r,t)=>`${e} ${"w"===o?r:t+1}${o}`).join(", "),src:e}}(p)}({src:v,unoptimized:R,width:x,height:I,quality:D}),B=function(e,r){if(e||r)return p({},e?{className:e}:{},r?{css:{objectPosition:r}}:{})}(r,A),K=E?()=>{E({})}:void 0,T=N?()=>{N({})}:void 0;if(t){let[e,r]=t.split(":"),l=Number(e)/Number(r);return(0,n.jsx)(i.H,b(p({display:"flex",webOnlyProps:{className:O}},g),{children:(0,n.jsx)(i.H,{overflow:"hidden",position:"relative",webOnlyProps:{className:h},width:"100%",children:(0,n.jsx)(j,p({sources:F},b(p({alt:w,aspectRatio:l,borderRadius:o?y:void 0,lazyLoad:M,resizeMode:"cover",sizes:L,src:C,srcSet:H,webOnlyProps:B,width:"100%"},_),{onError:K,onLoad:T})))})}))}if(P&&x){let e=null==x||null==P||0===Number(P)||Number.isNaN(Number(x))||Number.isNaN(Number(P))?void 0:Number(x)/Number(P);return(0,n.jsx)(i.H,b(p({display:"flex",height:"auto"===S?"auto":void 0,webOnlyProps:{className:O}},g),{children:(0,n.jsx)(i.H,{height:"auto"===S?"auto":"100%",overflow:"hidden",position:"relative",webOnlyProps:{className:h},width:"100%",children:(0,n.jsx)(j,p({sources:F},b(p({alt:w,aspectRatio:e,borderRadius:o?y:void 0,lazyLoad:M,resizeMode:m(z),sizes:L,src:C,srcSet:H,webOnlyProps:B,width:"100%"},_),{onError:K,onLoad:T})))})}))}return"fill"===S?(0,n.jsx)(i.H,{absoluteFill:!0,height:"100%",overflow:"hidden",
1width:"100%",webOnlyProps:{className:O,css:{"& img, & picture":{display:"block",height:"100%",width:"100%"}}},children:(0,n.jsx)(j,p({fillParent:!0,sources:F},b(p({alt:w,borderRadius:o?y:void 0,height:"100%",lazyLoad:M,resizeMode:m(z),sizes:L,src:C,srcSet:H,webOnlyProps:{className:r,css:{height:"100%",objectFit:m(z),objectPosition:A||"center",width:"100%"}},width:"100%"},_),{onError:K,onLoad:T})))}):(0,n.jsx)(i.H,b(p({display:"flex",webOnlyProps:{className:O}},g),{children:(0,n.jsx)(j,p({sources:F},b(p({alt:w,borderRadius:o?y:void 0,lazyLoad:M,resizeMode:m(z),sizes:L,src:C,srcSet:H,webOnlyProps:B},_),{onError:K,onLoad:T})))}))}},40267(e,r,t){t(62953),t(3296),t(27208),t(48408),t(14603),t(47566),t(98721),t(27495),t(25440);var n=t(74848),o=t(54510),i=t(59313),l=t(97746),c=t(79120),s=t(96540);function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}function u(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}let f={production:"www.klarna.com",staging:"www.nonprod.klarna.com",development:"www.nonprod.klarna.com"};t.d(r,{},{A:e=>{let{href:r="",children:t,className:p}=e,b=function(e,r){if(null==e)return{};var t,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,r){if(null==e)return{};var t,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)t=i[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);return o}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),o=0;o<t.length;o++)n=t[o],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["href","children","className"]),d=(0,s.useMemo)(()=>{if(r&&!(0,c.kK)(r)){let e=new URL(r);if(f[(0,l.Z3)("SERVICE_STAGE")]===e.hostname)return e.href.replace(e.origin,"")}return r},[r]);return(0,c.$3)(d)?(0,n.jsx)(o.A,u(a({className:p,href:d},b),{children:t})):(0,n.jsx)(i.A,u(a({className:p,href:d},b),{children: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.