PageSourceSearch

https://www.adyen.com/payment-methods_nuxt/MfkmkYWG.js

js adyen.com collected 2026-09-24 07:14:21 UTC 4,484 bytes, 1 lines download raw bytes

1import{m as K}from"./CI7eJy7a.js";import{e as O,L as W,s as R,u as V}from"./CjtRbcb9.js";import{aa as q,q as v,o as a,c as p,k as x,w as E,j as h,n as l,f as d,t as b,l as P,u as r,C as L,ab as U,h as k,ac as Y,W as A,A as X,E as G,p as j,e as w,a1 as B,Y as D,x as H,v as J,T as Q}from"./B8LN8Hki.js";import{s as Z}from"./DrkyX6cD.js";const ee={key:0,class:"ds-text"},N="left",te="center",re=Object.assign({name:"DsCardTextIcon"},{__name:"card-text-icon",props:{icon:{type:[Object,null],default:null},title:{type:String,default:""},text:{type:String,default:""},link:{type:Object,default:null,validator:e=>["title","url","openInNewWindow","nuxt"].every(i=>i in e)},alignment:{type:String,default:N,validator:e=>[N,te].includes(e)},withTitleSizeLarge:{type:Boolean,default:!1},iconFrameSize:{type:String,default:"40"}},setup(e){const{trackingDataProvided:i}=O(),g=e,f=q(),m=v(()=>!!f.default||!!g.text);return(t,o)=>(a(),p("div",{class:l({[`ds-text-align-${e.alignment}`]:e.alignment})},[e.icon?(a(),x(K,{key:0,"align-x":e.alignment,class:l({"ds-card-text-icon__icon--center":e.alignment==="center"}),size:e.iconFrameSize},{default:E(()=>[h(W,{category:e.icon.category,name:e.icon.name,class:"ds-color-green"},null,8,["category","name"])]),_:1},8,["align-x","class","size"])):d("",!0),e.title?(a(),p("h4",{key:1,class:l(["ds-margin-top-24",[e.withTitleSizeLarge?"ds-heading-small":"ds-heading-xsmall"]])},b(e.title),3)):d("",!0),m.value?(a(),p("div",{key:2,class:l([e.title?"ds-margin-top-12":"ds-margin-top-24"])},[P(t.$slots,"default",{},()=>[e.text?(a(),p("p",ee,b(e.text),1)):d("",!0)])],2)):d("",!0),e.link?(a(),x(L,{key:3,"tracking-data":{"component-name":t.$options.name,text:e.link.title,title:e.title,...r(i)},url:e.link.url,"lazy-url-endpoint":e.link.lazyUrlEndpoint,"open-in-new-window":e.link.openInNewWindow,nuxt:e.link.nuxt,content:e.link.title,"icon-right":{category:"arrows",name:"chevron-right-small"},class:"ds-margin-top-24"},null,8,["tracking-data","url","lazy-url-endpoint","open-in-new-window","nuxt","content"])):d("",!0)],2))}}),ne=["data-track-component-name","onKeydown"],ae=["id","aria-hidden"],y=327,I=24,de=Object.assign({name:"DsTooltip"},{__name:"tooltip",props:{...R,description:{type:String,required:!0},withSmallText:{type:Boolean,default:!1},link:{type:Object,default:null,validator:e=>["title","url","openInNewWindow","nuxt"].every(i=>i in e)}},emits:["link-clicked","item-shown"],setup(e,{emit:i}){const g=Z(),f=i,{trackingDataProvided:m}=O(),t=U({left:0,right:0}),o=k(!1),s=k(!1),S=k(null),M=v(()=>t.left<=y/2?`-${t.left}px`:""),F=v(()=>t.right<=y/2?`-${t.right}px`:`calc(50% - ${y/2}px)`),_=Y(),z=()=>{o.value=!o.value,s.value=o.value},$=()=>{s.value&&(s.value=o.value=!1)},T=n=>{o.value||!n||(s.value=n.type!=="mouseleave")},C=()=>{if(typeof window>"u")return;const n=typeof window<"u"?window.innerWidth:0,c=S.value,u=c?.getBoundingClientRect();if(!u){t.left=0,t.right=0;return}t.left=u.left-I,t.right=n-u.right-I};return A(s,n=>{n===!0&&f("item-shown",{label:"info"})}),X(async()=>{await G(),C()}),(n,c)=>j((a(),p("div",{class:l(`ds-tooltip ds-tooltip--${n.theme}`),onMouseover:T,onMouseleave:T},[w("button",{ref_key:"tooltipRef",ref:S,"data-track-component-name":r(m)["component-name"]||n.$options.name,type:"button",tabindex:"0",class:"ds-tooltip__button","data-j-button":"",onClick:z,onKeydown:[B(D(z,["prevent"]),["enter"]),B(D($,["prevent"]),["escape"])]},[h(W,{"aria-describedby":`tooltip-box-${r(_)}`,name:"info-filled",category:"interface",class:l(["ds-tooltip__icon",{"ds-tooltip__icon--active":o.value}])},null,8,["aria-describedby","class"])],40,ne),h(Q,{name:"fade"},{default:E(()=>[j(w("div",{id:`tooltip-box-${r(_)}`,role:"tooltip","aria-hidden":!s.value,style:H({left:M.value,right:F.value}),class:"ds-tooltip__tooltip-box ds-shadow"},[w("p",{class:l(e.withSmallText?"ds-text-small":"ds-text"),"data-j-text":""},b(e.description),3),e.link?(a(),x(L,{key:0,"tracking-data":{"component-name":n.$options.name,text:e.link.title,...r(m)},url:e.link.url,"lazy-url-endpoint":e.link.lazyUrlEndpoint,"open-in-new-window":e.link.openInNewWindow,nuxt:e.link.nuxt,content:e.link.title,class:l([{"ds-text-small":e.withSmallText},"ds-margin-top-24"]),"data-j-link":"",onLinkClicked:c[0]||(c[0]=u=>
1n.$emit("link-clicked",{...u,label:e.link.title}))},null,8,["tracking-data","url","lazy-url-endpoint","open-in-new-window","nuxt","content","class"])):d("",!0)],12,ae),[[J,s.value]])]),_:1})],34)),[[r(V),$],[r(g),C]])}});export{re as F,de as a};

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.