PageSourceSearch

https://kultmopeds.de/plugins/ws5_eucookie/frontend/js/dist/assets/PaymentModal-sGecj8kR.js

js kultmopeds.de collected 2026-09-25 13:22:34 UTC 5,131 bytes, 1 lines download raw bytes

1import{D as r,g as f,d as b,c as o,s as d,h as C,u as e,S as h,i as M,r as u,E as B}from"../main-v2.6.0.js";import{s as n,C as v,B as m,a as N}from"./Buttons-C5DDr4X5.js";import{s as S,B as E,C as I,I as x}from"./serviceUtils-Db-tHjFo.js";import{u as P}from"./generalHooks-USfzaekL.js";import{A as L}from"./AccessibilitySwitch-DojcsWF0.js";const T="_container_193qt_1",A="_paymentModalButton_193qt_11",D="_header_193qt_26",H="_footer_193qt_30",O="_listItemName_193qt_36",R="_listItemDescription_193qt_40",q="_table_193qt_46",s={container:T,paymentModalButton:A,header:D,footer:H,listItemName:O,listItemDescription:R,table:q},J=l=>{const a=window.EuCookie.config.sprachvariablen,c=window.EuCookie.config.settings,i=window.EuCookie?.config?.currentLanguage??r,g=f(l.services),p=S("name",g,i),[_,y]=b(!1),k=o(n.mx1,s.paymentModalButton,{[d.filledButton]:!c?.ws_eu_cookie_nudging,[d.emptyButton]:c?.ws_eu_cookie_nudging});return C(()=>{function t(w){w.key==="Tab"&&document.getElementById("eu-cookie-banner-header")!==void 0&&document.getElementById("eu-cookie-banner-header")!==null&&(document.getElementById("eu-cookie-banner-header").focus(),document.removeEventListener("keyup",t))}return document.addEventListener("keyup",t),()=>{document.removeEventListener("keyup",t)}},[]),P(B),e(N,{className:o(s.container,n.themeColors),children:_?e(h,{children:[e(E,{topLeft:!0,onClickHandler:()=>y(!1)}),e(I,{service:_})]}):e(h,{children:[l.closeable&&e(v,{topRight:!0,onClickHandler:window.EuCookie.closeModalOrConsentManager}),e("div",{style:{display:"flex",flexDirection:"column",gap:25},children:[e("div",{"data-nosnippet":"true",className:o(s.header),children:e("div",{className:o(n.flex,n.justifyContentCenter,n.my2),children:e("div",{id:"eu-cookie-banner-header",role:"alert","aria-live":"assertive",tabIndex:0,"aria-label":"Payment Cookie Banner","data-nosnippet":"true",className:o(d.modal_header_big),dangerouslySetInnerHTML:{__html:a?.ws_eu_cookie_paymentModalHeader}})})}),e("div",{className:o(n.flexColumn),children:e("span",{"data-nosnippet":"true",className:n.textAlignJustify,dangerouslySetInnerHTML:{__html:a?.ws_eu_cookie_paymentModalText}})}),e("div",{className:o(n.px2,n.py2,n.borderRadius15,{[n.darkBackdrop]:c.ws_eu_cookie_theme==="dark",[n.lightBackdrop]:["light","custom","individuell"].includes(c.ws_eu_cookie_theme)}),style:{scrollbarWidth:"unset"}
1,children:e("table",{className:o(s.table,n.width100),style:{margin:"0px",background:"none",borderSpacing:"2px"},children:[e("colgroup",{children:[e("col",{style:{width:140}}),e("col",{style:{width:"auto"}}),e("col",{style:{width:75}})]}),e("thead",{children:e("tr",{children:[e("th",{dangerouslySetInnerHTML:{__html:a?.ws_eu_cookie_consentManager_table_name??"Name"},style:{border:"none"}}),e("th",{dangerouslySetInnerHTML:{__html:a?.ws_eu_cookie_consentManager_table_description??"Description"},style:{border:"none"}}),e("th",{style:{border:"none"}})]})}),e("tbody",{children:p.map(t=>e("tr",{children:[e("td",{style:{background:"none",border:"none"},children:e("div",{className:o(s.listItemName),children:e("span",{children:t?.name?.[i]??t?.name?.[r]??""})})}),e("td",{style:{background:"none",border:"none"},children:e("div",{className:o(s.listItemDescription),children:e("span",{children:t?.description?.[i]??t?.description?.[r]??""})})}),e("td",{className:n.textAlignRight,style:{background:"none",border:"none"},children:e("div",{style:{display:"flex",alignItems:"center"},children:[e(x,{service:t,setServiceModalOpen:y,labelname:(t?.name?.[i]??t?.name?.[r]??"")+(i==="de"?" Dienst Beschreibung":" Service Description")}),e(L,{id:t.serviceId,labelname:(t?.name?.[i]??t?.name?.[r]??"")+(i==="de"?" Dienst Zustimmung Schalter, Beschreibung: ":" Service Consent Switch, Description: ")+(t?.description?.[i]??t?.description?.[r]??""),disabled:M(t.category),checked:t.consent,onChangeHandler:()=>l.toggleConsentOfService(t.serviceId)})]})})]},"serviceListItem"+t.serviceId))})]})}),e("div",{className:o(s.footer,n.flex,n.justifyContentFlexEnd),children:e("div",{className:o(d.buttonContainer,n.width100,n.justifyContentBetween,n.flexRowReverse),children:[e(m,{classNames:o(d.filledButton,n.mx1,s.paymentModalButton),labelname:a?.ws_eu_cookie_paymentModal_consentToAll,onClickHandler:()=>{l.consentToAllPaymentProviderServices(),sessionStorage.setItem("ws5_eucookie_wasPaymentModalAnswered","true"),window.EuCookie.config.settings?.reloadPageInPaymentModal&&u()},children:a?.ws_eu_cookie_paymentModal_consentToAll}),e(m,{classNames:o(d.filledButton,n.mx1,s.paymentModalButton),labelname:a?.ws_eu_cookie_paymentModal_save,onClickHandler:()=>{l.consentToCustom(),sessionStorage.setItem("ws5_eucookie_wasPaymentModalAnswered","true"),window.EuCookie.config.settings?.reloadPageInPaymentModal&&u()},children:a?.ws_eu_cookie_paymentModal_save}),e(m,{classNames:k,labelname:a?.ws_eu_cookie_paymentModal_decline,onClickHandler:()=>{l.consentToNecessary(),sessionStorage.setItem("ws5_eucookie_wasPaymentModalAnswered","true"),window.EuCookie.config.settings?.reloadPageInPaymentModal&&u()},children:a?.ws_eu_cookie_paymentModal_decline})]})})]})]})})};export{J as default};

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.