"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../tslib.es6-C4EgNkz1.js"),c=require("react"),i=require("classnames"),r=require("../utils-C9NL3q0j.js"),E=e=>{var{ctaText:t,href:s,className:n}=e,l=a.__rest(e,["ctaText","href","className"]);return t?c.createElement("a",Object.assign({},l,{className:i("section-title__cta",n),href:s}),t):null},T=e=>{var{href:t,ctaText:s,className:n,children:l}=e,N=a.__rest(e,["href","ctaText","className","children"]);const b=i(n,"section-title"),_=r.findComponent(l,o),f=r.findComponent(l,m),h=r.findComponent(l,u),v=r.findComponent(l,d);return c.createElement("div",Object.assign({},N,{className:b}),c.createElement("div",{className:"section-title__title-container"},_||c.createElement(o,null,l),f),t&&c.createElement(E,{href:t,ctaText:s})||h||v)},o=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("h2",Object.assign({},n,{className:i(s,"section-title__title")}),t)},m=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("span",Object.assign({},n,{className:i(s,"section-title__subtitle")}),t)},u=e=>{var{className:t,children:s}=e,n=a.__rest(e,["className","children"]);return c.createElement("div",Object.assign({},n,{className:i(t,"section-title__info")}),s)},d=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("div",Object.assign({},n,{className:i(s,"section-title__overflow")}),t)};exports.EbaySectionTitle=T;exports.EbaySectionTitleInfo=u;exports.EbaySectionTitleOverflow=d;exports.EbaySectionTitleSubtitle=m;exports.EbaySectionTitleTitle=o;
