"use strict";const e={success:"#0ca127",warning:"#b88700",critical:"#e22222",boldDefault:"#333",default:"#545454",defaultButton:"#fff",defaultLink:"#1879b9"},t={success:"#e8f8eb",warning:"#fff8e0",critical:"#ffebeb",default:"#f0f8ff",info:"#f0f8ff"},o={success:"#d0ecd3",warning:"#f0e4bc",critical:"#facccc",default:"#d1e6f5",info:"#d1e6f5"},s={normal:"400",bold:"500"},a={small:"12px",medium:"16px",large:"18px",xlarge:"24px"};exports.buttonColor={primary:"#1879b9",defaultText:"#fff",secondary:"#d9d9d9"},exports.checkIsValidURL=e=>/^(?:https?:\/\/|ftp:\/\/|ftps:\/\/)(?:[a-zA-Z\d-]+\.)+[a-zA-Z]{2,}(?:\/\S*)?$/.test(e),exports.makeBgColor=e=>t[e||"default"],exports.makeBorderColor=e=>o[e||"default"],exports.makeFontSize=e=>e&&"default"!==e?a[e||"medium"]:"14px",exports.makeFontWeight=e=>s[e||"normal"],exports.makeTextColor=(t,o)=>"default"===t&&"bold"===o?e.boldDefault:e[t||"default"],exports.postPurchaseBgColor=t,exports.postPurchaseBorderColor=o,exports.postPurchaseFontSize=a,exports.postPurchaseFontWeight=s,exports.postPurchaseSpacing={none:"14px",xtight:"5px",tight:"9px",loose:"21px",xloose:"38px"},exports.postPurchaseTextColor=e,exports.postPurchaseViewSpacing={base:"28px",extraTight:"10px",tight:"18px",loose:"42px",extraLoose:"76px"};
