import PropTypes from 'prop-types';

function WPCloudLogo( { className = 'wpcloud-logo', size = 72 } ) {
	return (
		<svg
			version="1.1"
			id="Layer_1"
			xmlns="http://www.w3.org/2000/svg"
			xmlnsXlink="http://www.w3.org/1999/xlink"
			x="0px"
			y="0px"
			width={ size }
			viewBox="0 0 181 34"
			className={ className }
		>
			<style type="text/css">{ `.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#000;}` }</style>
			<g>
				<path
					className="st0"
					d="M53.0978 1.003H46.8446C44.0016 0.899245 41.3315 2.37263 39.8996 4.87668L36.8699 10.3275L33.8124 4.86285C32.4981 2.51097 29.8834 0.996087 27.158 0.996087C24.3911 0.996087 21.8317 2.46947 20.469 4.85593L17.3908 10.3552L14.3264 4.8836C13.3303 3.10586 11.6979 1.82616 9.72643 1.27278C7.76192 0.726313 5.70057 0.968418 3.92282 1.96451C2.14508 2.97443 0.858466 4.59999 0.298166 6.5645C-0.262134 8.52901 -0.0200288 10.5973 0.969143 12.375L10.7364 29.8066L10.7571 29.7927C11.4281 30.9825 12.4173 32.0201 13.69 32.7464C14.8867 33.3828 16.1664 33.6872 17.4184 33.6872C20.0954 33.6872 22.6548 32.2899 24.0452 29.8066L27.1511 24.3004L30.2293 29.7997L30.2431 29.7927C30.9072 30.9687 31.8756 31.9855 33.1276 32.698C34.1652 33.3482 35.4103 33.6872 36.7108 33.6872C37.3195 33.6872 37.9351 33.6111 38.5508 33.4658C40.6536 32.9539 42.4521 31.6189 43.5104 29.7927L48.0482 21.658H53.0978C58.9498 21.658 63.5291 17.1479 63.5291 11.3928C63.536 5.65834 58.853 1.003 53.0978 1.003ZM3.00282 7.33232C3.35561 6.08721 4.17185 5.05653 5.29936 4.42706C6.41996 3.79759 7.72733 3.63849 8.97244 3.99127C10.2176 4.33714 11.2482 5.14646 11.8777 6.26706L15.7791 13.2397L10.7018 22.3152C10.5357 22.6126 10.3974 22.917 10.2798 23.2282L3.42478 10.9985C2.79531 9.87788 2.64313 8.57743 3.00282 7.33232ZM21.5965 28.43C20.3099 30.7404 17.4184 31.5428 15.0458 30.2839C12.7147 28.9558 11.8639 26.0021 13.1505 23.6848L22.9177 6.24631C23.7754 4.74526 25.401 3.81142 27.1649 3.81142C28.8873 3.81142 30.5405 4.76601 31.3706 6.23247L35.272 13.212L30.2016 22.329C30.0356 22.6195 29.9041 22.9239 29.7866 23.2282L27.1718 18.5591L21.5965 28.43ZM53.0978 18.8427H46.395L41.0617 28.4024C40.3977 29.5506 39.2356 30.4015 37.8798 30.7335C36.6831 31.024 35.4864 30.8718 34.6079 30.3046L34.5387 30.2631C32.2076 28.9488 31.3637 26.009 32.6503 23.6986L42.3553 6.25322C43.2268 4.73142 44.8247 3.8045 46.6094 3.8045C46.6716 3.8045 46.7408 3.8045 46.8031 3.81142H53.1047C57.3104 3.81142 60.7276 7.21473 60.7276 11.3928C60.7207 15.5708 57.3727 18.8427 53.0978 18.8427Z"
				/>
				<path
					className="st0"
					d="M76.4782 25.7185L71.982 9.04089H74.6936L78 22.8409L81.8045 9.04089H84.5853L88.2722 22.8409L91.5787 9.04089H94.2902L89.7248 25.6977H86.7781L83.1396 12.6379L79.3835 25.6977L76.4782 25.7185Z"
				/>
				<path
					className="st0"
					d="M96.6075 9.04089H102.439C103.739 9.04089 104.818 9.26224 105.676 9.69803C106.534 10.1338 107.17 10.7287 107.592 11.4827C108.014 12.2367 108.222 13.0875 108.222 14.0421C108.222 14.9483 108.021 15.7783 107.613 16.5254C107.212 17.2794 106.575 17.8812 105.725 18.3239C104.867 18.7666 103.774 18.9879 102.439 18.9879H99.1323V25.6977H96.6075V9.04089ZM99.1323 16.9128H102.321C103.511 16.9128 104.362 16.6568 104.881 16.138C105.399 15.6192 105.655 14.9206 105.655 14.0352C105.655 13.1152 105.399 12.3958 104.881 11.8839C104.362 11.372 103.511 11.1092 102.321 11.1092H99.1323V16.9128Z"
				/>
				<path
					className="st0"
					d="M124.138 25.9744C122.492 25.9744 121.067 25.6147 119.87 24.8953C118.674 24.1759 117.747 23.166 117.097 21.8725C116.446 20.5789 116.121 19.0848 116.121 17.3901C116.121 15.6746 116.446 14.1735 117.097 12.88C117.747 11.5864 118.674 10.5765 119.87 9.84329C121.067 9.11698 122.492 8.75036 124.138 8.75036C126.089 8.75036 127.68 9.22766 128.918 10.1753C130.156 11.1299 130.938 12.458 131.277 14.1735H128.469C128.247 13.2051 127.77 12.4373 127.044 11.8631C126.317 11.289 125.342 11.0054 124.118 11.0054C122.45 11.0054 121.136 11.5726 120.168 12.707C119.199 13.8415 118.715 15.3979 118.715 17.3831C118.715 19.3476 119.199 20.8971 120.168 22.0246C121.136 23.1521 122.45 23.7124 124.118 23.7124C125.342 23.7124 126.317 23.4427 127.044 22.9031C127.77 22.3636 128.247 21.6234 128.469 20.6896H131.277C130.945 22.3428 130.156 23.6294 128.918 24.5702C127.68 25.5109 126.089 25.9744 124.138 25.9744Z"
				/>
				<path className="st0" d="M133.961 25.6908V8.5636H136.486V25.6908H133.961Z" />
				<path
					className="st0"
					d="M145.195 25.9744C144.067 25.9744 143.057 25.7185 142.158 25.1997C141.259 24.6809 140.553 23.9615 140.027 23.0346C139.502 22.1076 139.246 21.0216 139.246 19.7903C139.246 18.5591 139.509 17.4731 140.041 16.5392C140.574 15.6123 141.293 14.8929 142.192 14.3741C143.099 13.8622 144.102 13.5994 145.215 13.5994C146.343 13.5994 147.353 13.8553 148.252 14.3741C149.144 14.8929 149.864 15.6123 150.396 16.5392C150.929 17.4661 151.192 18.5522 151.192 19.7903C151.192 21.0285 150.929 22.1076 150.396 23.0346C149.864 23.9615 149.144 24.6809 148.245 25.1997C147.332 25.7185 146.315 25.9744 145.195 25.9744ZM145.195 23.8093C145.796 23.8093 146.357 23.6571 146.869 23.3597C147.387 23.0553 147.802 22.6126 148.121 22.0177C148.439 21.4228 148.598 20.6827 148.598 19.7903C148.598 18.898 148.446 18.1579 148.134 17.563C147.823 16.9681 147.415 16.5185 146.896 16.221C146.377 15.9167 145.824 15.7714 145.222 15.7714C144.62 15.7714 144.06 15.9236 143.548 16.221C143.029 16.5254 142.614 16.9681 142.296 17.563C141.978 18.1579 141.819 18.898 141.819 19.7903C141.819 20.6827 141.978 21.4228 142.296 22.0177C142.614 22.6126 143.023 23.0622 143.534 23.3597C144.032 23.664 144.586 23.8093 145.195 23.8093Z"
				/>
				<path
					className="st0"
					d="M158.275 25.9744C156.85 25.9744 155.723 25.5317 154.906 24.6394C154.09 23.747 153.682 22.4258 153.682 20.6688V13.8899H156.207V20.406C156.207 22.6887 157.141 23.83 159.015 23.83C159.949 23.83 160.717 23.498 161.326 22.834C161.927 22.1699 162.232 21.2153 162.232 19.9771V13.883H164.757V25.6908H162.522L162.336 23.6225C161.969 24.3488 161.436 24.9299 160.731 25.3449C160.011 25.7669 159.195 25.9744 158.275 25.9744Z"
				/>
				<path
					className="st0"
					d="M173.341 25.9744C172.2 25.9744 171.19 25.7046 170.318 25.1651C169.447 24.6255 168.762 23.8854 168.271 22.9515C167.779 22.0177 167.53 20.9525 167.53 19.7627C167.53 18.5729 167.779 17.5146 168.271 16.5876C168.762 15.6607 169.447 14.9275 170.325 14.4018C171.204 13.8692 172.213 13.6063 173.362 13.6063C174.296 13.6063 175.119 13.7861 175.824 14.1528C176.53 14.5194 177.083 15.0313 177.478 15.7022V8.5636H180.002V25.6908H177.74L177.478 23.8577C177.097 24.4111 176.571 24.9022 175.907 25.3311C175.243 25.76 174.385 25.9744 173.341 25.9744ZM173.791 23.7885C174.87 23.7885 175.755 23.415 176.44 22.6679C177.132 21.9209 177.478 20.9663 177.478 19.7903C177.478 18.6006 177.132 17.6391 176.44 16.8989C175.748 16.1588 174.863 15.7922 173.791 15.7922C172.712 15.7922 171.826 16.1588 171.127 16.8989C170.429 17.6391 170.083 18.6006 170.083 19.7903C170.083 20.5651 170.242 21.2568 170.56 21.8586C170.878 22.4604 171.314 22.9308 171.881 23.2767C172.435 23.6156 173.078 23.7885 173.791 23.7885Z"
				/>
			</g>
		</svg>
	);
}

WPCloudLogo.propTypes = {
	className: PropTypes.string,
	size: PropTypes.number,
};

export default WPCloudLogo;
