profinansy-ui-lib 4.1.52 → 4.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6809,6 +6809,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6809
6809
  z-index: 2100;
6810
6810
  bottom: ${({$fabOffset:e,$isWithoutBottom:t})=>e?.mobileBottom??(t?20:82)}px;
6811
6811
  }
6812
+ /* Хост задаёт svg { vertical-align: middle } — сбрасываем baseline.
6813
+ overflow не трогаем: SupportFailed и другие глифы рисуются с запасом viewBox. */
6814
+ svg {
6815
+ display: block;
6816
+ vertical-align: top;
6817
+ }
6818
+
6812
6819
  @media (max-width: ${oe}px) {
6813
6820
  ${({$isOpen:e})=>e&&u.css`
6814
6821
  top: 64px;
@@ -7202,16 +7209,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7202
7209
  gap: 4px;
7203
7210
  margin-top: 0;
7204
7211
  flex-shrink: 0;
7212
+ line-height: 0;
7205
7213
  opacity: ${e=>e.$mine?.5:1};
7206
7214
  `,u1=u.styled.span`
7207
- display: flex;
7215
+ display: inline-flex;
7208
7216
  align-items: center;
7217
+ justify-content: center;
7209
7218
  width: 14px;
7210
- height: 8px;
7219
+ height: 14px;
7220
+ min-width: 14px;
7221
+ min-height: 0;
7211
7222
  flex-shrink: 0;
7223
+ overflow: hidden;
7224
+ line-height: 0;
7225
+ font-size: 0;
7212
7226
  & svg {
7227
+ display: block;
7213
7228
  width: 14px;
7214
7229
  height: 8px;
7230
+ overflow: hidden;
7231
+ flex-shrink: 0;
7232
+ vertical-align: top;
7215
7233
  }
7216
7234
  & svg path {
7217
7235
  fill: ${e=>e.theme.icons.contrastThemed};
@@ -7227,9 +7245,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7227
7245
  justify-content: center;
7228
7246
  background: transparent;
7229
7247
  padding: 0;
7248
+ overflow: visible;
7230
7249
  & svg {
7250
+ display: block;
7231
7251
  width: 16px;
7232
7252
  height: 16px;
7253
+ overflow: visible;
7254
+ flex-shrink: 0;
7233
7255
  }
7234
7256
  & svg path {
7235
7257
  fill: ${e=>e.theme.icons.negative};
@@ -7432,10 +7454,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7432
7454
  justify-content: flex-end;
7433
7455
  gap: 4px;
7434
7456
  height: 14px;
7457
+ line-height: 0;
7435
7458
  opacity: ${e=>e.$mine?.5:1};
7436
7459
  & > svg {
7460
+ display: block;
7437
7461
  width: 14px;
7438
7462
  height: 14px;
7463
+ flex-shrink: 0;
7464
+ overflow: hidden;
7465
+ vertical-align: top;
7439
7466
  }
7440
7467
  & > svg path {
7441
7468
  stroke: ${e=>e.theme.icons.contrastThemed};
@@ -7960,7 +7987,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7960
7987
  & svg path {
7961
7988
  fill: ${e=>e.theme.icons.negative};
7962
7989
  }
7963
- `,GB=({title:e,bankLabel:t,subtitle:n,status:r,closeLabel:i,showMenu:o=!0,onClose:s,onOpenBank:l})=>{const c=m.useRef(null),[p,f]=m.useState(!1),h=m.useCallback(()=>f(!1),[]);Bi(p,h,c);const g=a.jsx(U,{variant:"description-Regular",tag:"span",colorName:"contrastThemed",children:n});return a.jsxs(IP,{children:[a.jsxs(jP,{children:[a.jsxs(DP,{ref:c,children:[o?a.jsxs(TP,{type:"button","aria-expanded":p,"aria-haspopup":"listbox",onClick:()=>f(x=>!x),children:[a.jsx(U,{variant:"header5-Bold",tag:"span",colorName:"contrastThemed",children:e}),a.jsx(AP,{$open:p,children:a.jsx(Fu,{})})]}):a.jsx(U,{variant:"header5-Bold",tag:"span",colorName:"contrastThemed",children:e}),o&&p?a.jsxs(RP,{role:"listbox",children:[a.jsx(A4,{type:"button",$active:!0,role:"option","aria-selected":!0,onClick:h,children:a.jsx(U,{variant:"text-Medium",tag:"span",colorName:"accent",children:e})}),a.jsx(A4,{type:"button",role:"option",onClick:()=>{h(),l()},children:a.jsx(U,{variant:"text-Medium",tag:"span",colorName:"primary",children:t})})]}):null]}),a.jsxs(BP,{$active:r!=="online",children:[r==="loading"?a.jsx(OP,{"aria-hidden":!0,children:a.jsx(SP,{})}):null,r==="typing"?a.jsx(HP,{children:g}):g]})]}),a.jsx(NP,{type:"button","aria-label":i,onClick:s,children:a.jsx(oc,{})})]})},Cf=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M20.5 10.19H17.61C15.24 10.19 13.31 8.26 13.31 5.89V3C13.31 2.45 12.86 2 12.31 2H8.07C4.99 2 2.5 4 2.5 7.57V16.43C2.5 20 4.99 22 8.07 22H15.93C19.01 22 21.5 20 21.5 16.43V11.19C21.5 10.64 21.05 10.19 20.5 10.19Z",fill:"#6553F5"}),d.createElement("path",{d:"M15.8 2.21C15.39 1.8 14.68 2.08 14.68 2.65V6.14C14.68 7.6 15.92 8.81 17.43 8.81C18.38 8.82 19.7 8.82 20.83 8.82C21.4 8.82 21.7 8.15 21.3 7.75C19.86 6.3 17.28 3.69 15.8 2.21Z",fill:"#6553F5"})),UB=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"clock"},d.createElement("path",{id:"Vector",d:"M12.8333 7C12.8333 10.22 10.22 12.8333 7 12.8333C3.78 12.8333 1.16667 10.22 1.16667 7C1.16667 3.78 3.78 1.16667 7 1.16667C10.22 1.16667 12.8333 3.78 12.8333 7Z",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M9.16417 8.855L7.35583 7.77583C7.04083 7.58917 6.78417 7.14 6.78417 6.7725V4.38083",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),XB=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"info-circle"},d.createElement("path",{id:"Vector",d:"M12 2C6.49 2 2 6.49 2 12C2 17.51 6.49 22 12 22C17.51 22 22 17.51 22 12C22 6.49 17.51 2 12 2ZM11.25 8C11.25 7.59 11.59 7.25 12 7.25C12.41 7.25 12.75 7.59 12.75 8V13C12.75 13.41 12.41 13.75 12 13.75C11.59 13.75 11.25 13.41 11.25 13V8ZM12.92 16.38C12.87 16.51 12.8 16.61 12.71 16.71C12.61 16.8 12.5 16.87 12.38 16.92C12.26 16.97 12.13 17 12 17C11.87 17 11.74 16.97 11.62 16.92C11.5 16.87 11.39 16.8 11.29 16.71C11.2 16.61 11.13 16.51 11.08 16.38C11.03 16.26 11 16.13 11 16C11 15.87 11.03 15.74 11.08 15.62C11.13 15.5 11.2 15.39 11.29 15.29C11.39 15.2 11.5 15.13 11.62 15.08C11.86 14.98 12.14 14.98 12.38 15.08C12.5 15.13 12.61 15.2 12.71 15.29C12.8 15.39 12.87 15.5 12.92 15.62C12.97 15.74 13 15.87 13 16C13 16.13 12.97 16.26 12.92 16.38Z",fill:"#6553F5"}),d.createElement("g",{id:"Vector_2",opacity:0}))),QB=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"arrow-down"},d.createElement("path",{id:"Vector",d:"M16.5642 13.2275L11 18.7917L5.43583 13.2275",stroke:"#6553F5",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M11 3.20833V18.6358",stroke:"#6553F5",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),p1=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:10.4997,height:7.7717,viewBox:"0 0 10.4997 7.7717",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"Read"},d.createElement("path",{id:"Shape",d:"M9.63477 0.153527C9.82352 -0.0420838 10.1403 -0.0520851 10.3418 0.131066C10.5209 0.294136 10.5486 0.55579 10.4199 0.74923L10.3652 0.818566L3.80371 7.61837C3.62916 7.79927 3.34709 7.82011 3.14746 7.68087L3.07617 7.6213L0.137696 4.62228C-0.0526453 4.42803 -0.0445907 4.12072 0.155274 3.93575C0.33301 3.77139 0.602469 3.7591 0.793946 3.89474L0.862306 3.95236L3.43555 6.57833L9.63477 0.153527Z",fill:"white"}))),z4=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"add"},d.createElement("path",{id:"Vector",d:"M2.66667 2.66667L13.3332 13.3332",stroke:"#7D7D95",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M2.66676 13.3332L13.3333 2.66667",stroke:"#7D7D95",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),u2=({chips:e,onSelect:t,center:n})=>e.length?a.jsx(cB,{$center:n,children:e.map(r=>a.jsx(dB,{type:"button",$accent:r.kind==="operator",onClick:()=>t(r),children:r.label},r.id))}):null,p2=e=>d.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10 1.66667C5.40833 1.66667 1.66667 5.40833 1.66667 10C1.66667 14.5917 5.40833 18.3333 10 18.3333C14.5917 18.3333 18.3333 14.5917 18.3333 10C18.3333 5.40833 14.5917 1.66667 10 1.66667ZM12.8 11.9167C13.0417 12.1583 13.0417 12.5583 12.8 12.8C12.675 12.925 12.5167 12.9833 12.3583 12.9833C12.2 12.9833 12.0417 12.925 11.9167 12.8L10 10.8833L8.08333 12.8C7.95833 12.925 7.8 12.9833 7.64167 12.9833C7.48333 12.9833 7.325 12.925 7.2 12.8C6.95833 12.5583 6.95833 12.1583 7.2 11.9167L9.11667 10L7.2 8.08333C6.95833 7.84167 6.95833 7.44167 7.2 7.2C7.44167 6.95833 7.84167 6.95833 8.08333 7.2L10 9.11667L11.9167 7.2C12.1583 6.95833 12.5583 6.95833 12.8 7.2C13.0417 7.44167 13.0417 7.84167 12.8 8.08333L10.8833 10L12.8 11.9167Z",fill:"#A1A0AC"})),yf=({preview:e,onDismiss:t,compact:n,copyLabel:r,mine:i=!1})=>{const o=[e.title,e.hostname].map(c=>c?.trim()||"").find(c=>c&&!/^https?:?\/?\/?$/i.test(c))||"",s=!!(o||e.description||e.image),l=()=>{typeof navigator>"u"||!navigator.clipboard||navigator.clipboard.writeText(e.url).catch(()=>{})};return s?n?a.jsxs(xB,{children:[a.jsx(vB,{}),a.jsxs(EB,{children:[o?a.jsx(U,{variant:"caption2-SemiBold",tag:"span",colorName:"accent",children:o}):null,e.description?a.jsx(U,{variant:"caption2-Medium",tag:"span",colorName:"primary",children:e.description}):null]}),t?a.jsx(bB,{type:"button",onClick:t,children:a.jsx(p2,{})}):null]}):a.jsxs(yB,{type:"button",title:r,onClick:l,$mine:i,children:[a.jsx(wB,{$mine:i}),a.jsxs(kB,{children:[a.jsxs($B,{$mine:i,children:[o?a.jsx(U,{variant:"caption2-SemiBold",tag:"span",colorName:i?"contrastThemed":"accent",children:o}):null,e.description?a.jsx(U,{variant:"caption2-Medium",tag:"span",colorName:i?"contrastThemed":"primary",children:e.description}):null]}),e.image?a.jsx(_B,{children:a.jsx("img",{src:e.image,alt:""})}):null]})]}):null},JB=u.styled.div`
7990
+ `,GB=({title:e,bankLabel:t,subtitle:n,status:r,closeLabel:i,showMenu:o=!0,onClose:s,onOpenBank:l})=>{const c=m.useRef(null),[p,f]=m.useState(!1),h=m.useCallback(()=>f(!1),[]);Bi(p,h,c);const g=a.jsx(U,{variant:"description-Regular",tag:"span",colorName:"contrastThemed",children:n});return a.jsxs(IP,{children:[a.jsxs(jP,{children:[a.jsxs(DP,{ref:c,children:[o?a.jsxs(TP,{type:"button","aria-expanded":p,"aria-haspopup":"listbox",onClick:()=>f(x=>!x),children:[a.jsx(U,{variant:"header5-Bold",tag:"span",colorName:"contrastThemed",children:e}),a.jsx(AP,{$open:p,children:a.jsx(Fu,{})})]}):a.jsx(U,{variant:"header5-Bold",tag:"span",colorName:"contrastThemed",children:e}),o&&p?a.jsxs(RP,{role:"listbox",children:[a.jsx(A4,{type:"button",$active:!0,role:"option","aria-selected":!0,onClick:h,children:a.jsx(U,{variant:"text-Medium",tag:"span",colorName:"accent",children:e})}),a.jsx(A4,{type:"button",role:"option",onClick:()=>{h(),l()},children:a.jsx(U,{variant:"text-Medium",tag:"span",colorName:"primary",children:t})})]}):null]}),a.jsxs(BP,{$active:r!=="online",children:[r==="loading"?a.jsx(OP,{"aria-hidden":!0,children:a.jsx(SP,{})}):null,r==="typing"?a.jsx(HP,{children:g}):g]})]}),a.jsx(NP,{type:"button","aria-label":i,onClick:s,children:a.jsx(oc,{})})]})},Cf=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M20.5 10.19H17.61C15.24 10.19 13.31 8.26 13.31 5.89V3C13.31 2.45 12.86 2 12.31 2H8.07C4.99 2 2.5 4 2.5 7.57V16.43C2.5 20 4.99 22 8.07 22H15.93C19.01 22 21.5 20 21.5 16.43V11.19C21.5 10.64 21.05 10.19 20.5 10.19Z",fill:"#6553F5"}),d.createElement("path",{d:"M15.8 2.21C15.39 1.8 14.68 2.08 14.68 2.65V6.14C14.68 7.6 15.92 8.81 17.43 8.81C18.38 8.82 19.7 8.82 20.83 8.82C21.4 8.82 21.7 8.15 21.3 7.75C19.86 6.3 17.28 3.69 15.8 2.21Z",fill:"#6553F5"})),UB=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"clock"},d.createElement("path",{id:"Vector",d:"M12.8333 7C12.8333 10.22 10.22 12.8333 7 12.8333C3.78 12.8333 1.16667 10.22 1.16667 7C1.16667 3.78 3.78 1.16667 7 1.16667C10.22 1.16667 12.8333 3.78 12.8333 7Z",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M9.16417 8.855L7.35583 7.77583C7.04083 7.58917 6.78417 7.14 6.78417 6.7725V4.38083",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),XB=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.49 2 2 6.49 2 12C2 17.51 6.49 22 12 22C17.51 22 22 17.51 22 12C22 6.49 17.51 2 12 2ZM11.25 8C11.25 7.59 11.59 7.25 12 7.25C12.41 7.25 12.75 7.59 12.75 8V13C12.75 13.41 12.41 13.75 12 13.75C11.59 13.75 11.25 13.41 11.25 13V8ZM12.92 16.38C12.87 16.51 12.8 16.61 12.71 16.71C12.61 16.8 12.5 16.87 12.38 16.92C12.26 16.97 12.13 17 12 17C11.87 17 11.74 16.97 11.62 16.92C11.5 16.87 11.39 16.8 11.29 16.71C11.2 16.61 11.13 16.51 11.08 16.38C11.03 16.26 11 16.13 11 16C11 15.87 11.03 15.74 11.08 15.62C11.13 15.5 11.2 15.39 11.29 15.29C11.39 15.2 11.5 15.13 11.62 15.08C11.86 14.98 12.14 14.98 12.38 15.08C12.5 15.13 12.61 15.2 12.71 15.29C12.8 15.39 12.87 15.5 12.92 15.62C12.97 15.74 13 15.87 13 16C13 16.13 12.97 16.26 12.92 16.38Z",fill:"#FF3B30"})),QB=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"arrow-down"},d.createElement("path",{id:"Vector",d:"M16.5642 13.2275L11 18.7917L5.43583 13.2275",stroke:"#6553F5",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M11 3.20833V18.6358",stroke:"#6553F5",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),p1=e=>d.createElement("svg",{width:14,height:8,viewBox:"-0.2 -0.2 10.9 8.2",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",...e},d.createElement("path",{d:"M9.63477 0.153527C9.82352 -0.0420838 10.1403 -0.0520851 10.3418 0.131066C10.5209 0.294136 10.5486 0.55579 10.4199 0.74923L10.3652 0.818566L3.80371 7.61837C3.62916 7.79927 3.34709 7.82011 3.14746 7.68087L3.07617 7.6213L0.137696 4.62228C-0.0526453 4.42803 -0.0445907 4.12072 0.155274 3.93575C0.33301 3.77139 0.602469 3.7591 0.793946 3.89474L0.862306 3.95236L3.43555 6.57833L9.63477 0.153527Z",fill:"white"})),z4=e=>d.createElement("svg",{preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"add"},d.createElement("path",{id:"Vector",d:"M2.66667 2.66667L13.3332 13.3332",stroke:"#7D7D95",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{id:"Vector_2",d:"M2.66676 13.3332L13.3333 2.66667",stroke:"#7D7D95",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{id:"Vector_3",opacity:0}))),u2=({chips:e,onSelect:t,center:n})=>e.length?a.jsx(cB,{$center:n,children:e.map(r=>a.jsx(dB,{type:"button",$accent:r.kind==="operator",onClick:()=>t(r),children:r.label},r.id))}):null,p2=e=>d.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10 1.66667C5.40833 1.66667 1.66667 5.40833 1.66667 10C1.66667 14.5917 5.40833 18.3333 10 18.3333C14.5917 18.3333 18.3333 14.5917 18.3333 10C18.3333 5.40833 14.5917 1.66667 10 1.66667ZM12.8 11.9167C13.0417 12.1583 13.0417 12.5583 12.8 12.8C12.675 12.925 12.5167 12.9833 12.3583 12.9833C12.2 12.9833 12.0417 12.925 11.9167 12.8L10 10.8833L8.08333 12.8C7.95833 12.925 7.8 12.9833 7.64167 12.9833C7.48333 12.9833 7.325 12.925 7.2 12.8C6.95833 12.5583 6.95833 12.1583 7.2 11.9167L9.11667 10L7.2 8.08333C6.95833 7.84167 6.95833 7.44167 7.2 7.2C7.44167 6.95833 7.84167 6.95833 8.08333 7.2L10 9.11667L11.9167 7.2C12.1583 6.95833 12.5583 6.95833 12.8 7.2C13.0417 7.44167 13.0417 7.84167 12.8 8.08333L10.8833 10L12.8 11.9167Z",fill:"#A1A0AC"})),yf=({preview:e,onDismiss:t,compact:n,copyLabel:r,mine:i=!1})=>{const o=[e.title,e.hostname].map(c=>c?.trim()||"").find(c=>c&&!/^https?:?\/?\/?$/i.test(c))||"",s=!!(o||e.description||e.image),l=()=>{typeof navigator>"u"||!navigator.clipboard||navigator.clipboard.writeText(e.url).catch(()=>{})};return s?n?a.jsxs(xB,{children:[a.jsx(vB,{}),a.jsxs(EB,{children:[o?a.jsx(U,{variant:"caption2-SemiBold",tag:"span",colorName:"accent",children:o}):null,e.description?a.jsx(U,{variant:"caption2-Medium",tag:"span",colorName:"primary",children:e.description}):null]}),t?a.jsx(bB,{type:"button",onClick:t,children:a.jsx(p2,{})}):null]}):a.jsxs(yB,{type:"button",title:r,onClick:l,$mine:i,children:[a.jsx(wB,{$mine:i}),a.jsxs(kB,{children:[a.jsxs($B,{$mine:i,children:[o?a.jsx(U,{variant:"caption2-SemiBold",tag:"span",colorName:i?"contrastThemed":"accent",children:o}):null,e.description?a.jsx(U,{variant:"caption2-Medium",tag:"span",colorName:i?"contrastThemed":"primary",children:e.description}):null]}),e.image?a.jsx(_B,{children:a.jsx("img",{src:e.image,alt:""})}):null]})]}):null},JB=u.styled.div`
7964
7991
  display: flex;
7965
7992
  align-items: center;
7966
7993
  justify-content: center;