"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[16],{68:(s,e,a)=>{a.d(e,{a:()=>b});var n=a(1),r=a(2),l=a(11),i=a(43),c=a(4),d=a(75);const{wrapper:t,wrapperDescription:p,wrapperMoreText:o,wrapperModal:j,wrapperModalTitle:h,wrapperModalSVG:x,wrapperModalContent:m,wrapperModalCard:M,wrapperModalFooter:O}=d.a,g=[l.h,l.p,l.v],b=({afterPay:{notAvailableDescriptionHTML:s,descriptionHTML:e,moreInfoText:a,titleModal:d,descriptionModal:b,afterPayModalData:u,afterPayModalFooterText:v}})=>{const{isOpen:w,handelOpen:N,handelClose:C}=(()=>{const[s,e]=(0,c.useState)(!1);return{handelOpen:()=>e(!0),handelClose:()=>e(!1),isOpen:s}})();return(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(i.a,Object.assign({isOpen:w,onClose:C},{children:(0,n.jsxs)("div",Object.assign({className:j},{children:[(0,n.jsxs)("div",Object.assign({className:h},{children:[(0,n.jsx)("span",Object.assign({className:x},{children:(0,n.jsx)(l.a,{})})),(0,n.jsx)("h4",{children:d}),(0,n.jsx)("p",{children:b})]})),(0,n.jsx)("div",Object.assign({className:m},{children:u.length>0&&u.map((({name:s,description:e},a)=>(0,n.jsxs)("div",Object.assign({className:M},{children:[(0,n.jsx)("span",{children:g[a]()}),(0,n.jsx)("h4",{children:s}),(0,n.jsx)("p",{children:e})]}))))})),(0,n.jsx)("p",Object.assign({className:O},{children:v}))]}))})),e?(0,n.jsxs)("div",Object.assign({class:t},{children:[(0,n.jsx)("div",{className:p,dangerouslySetInnerHTML:{__html:e}}),(0,n.jsx)(l.a,{}),(0,n.jsx)("span",Object.assign({onClick:N,className:o},{children:a}))]})):(0,n.jsxs)("div",Object.assign({class:t},{children:[(0,n.jsx)(l.a,{}),(0,n.jsx)("div",{className:p,dangerouslySetInnerHTML:{__html:s}})]}))]})}}}]);