1"use strict";(self.webpackChunkecotricity=self.webpackChunkecotricity||[]).push([[2833],{2833:function(e,n,t){t.r(n),t.d(n,{eco_gen_wind_mill:function(){return c}});var a=t(4883);const i=e=>Math.round(10*e)/10,c=class{constructor(e){(0,a.r)(this,e),this.power=void 0,this.peak=void 0}render(){const e=Math.max(this.peak,this.power),n=this.power/e,t=100*n,c=this.power>0?10-8*n+"s":"0s";return(0,a.h)(a.H,{key:"dcce1bd87fbf030b45249423ffae78a66afb166c"},(0,a.h)("svg",{key:"510e23182d06e25f01cc7c12a8249847fad9dd04",viewBox:"-135 -140 270 340",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{key:"7d86417813475c910f38a2947759af286caecdef",transform:"translate(-11 -6)",fill:"#FAFAFA",stroke:"black","stroke-width":"1",d:"M5.5 6.1C5.6 3 8.1.5 11.3.5c3.1 0 5.7 2.5 5.7 5.6L22.5 208.5H.5L5.5 6.1Z"}),(0,a.h)("g",{key:"470943eaebfe692fc527bcdaa2b193089a531437",class:"blades",style:{animationDuration:c}},(0,a.h)("path",{key:"50e6312307d5f916e1213aec28db8b64ebd27039",transform:"translate(-132 -113)",fill:"#FAFAFA","stroke-width":"1",stroke:"black",d:"M202.6 1.5c.2-.4 0-.9-.3-1.2-.3-.3-.7-.3-1.1-.2l-1.2.5c-.5.2-.9.5-1.2.9l-2.8 3.5c-.2.2-.3.4-.4.6l-4.8 8.5-6.5 9.8-7.3 9.4-15.5 19.9-10.3 14.1-6.6 10.4-8.6 17.4-3.9 6.8-.7 1c-3.5.1-6.6 1.8-8.4 4.5l-24.6-.7-33-.6-33.5.3-26.6.8-4.5.7c-.4.1-.8.4-.9.9-.1.4.1.8.4 1.1l1 .8c.4.3.9.5 1.4.6l4.4.7c.2 0 .5.1.8.1h9.6l11.6.8 11.6 1.7 24.7 3.7 17.2 2 12.2.6 19.1-1.1h7.8l1.5.1c1.7 2.2 4.1 3.7 7 4.1l12.5 23.4 16 29.3 17 29.4 14 23 2.9 3.6c.3.3.7.5 1.2.3.4-.1.7-.5.7-.9l.2-1.3c.1-.5-0-1-.2-1.5l-1.6-4.2c-.1-.2-.2-.5-.3-.7l-4.8-8.5-5.1-10.7-4.4-11.1-9.2-23.5-6.9-16.1-5.6-11-10.5-16.3-3.9-6.8-1.1-2.2c.7-1.4 1.1-3 1.1-4.6 0-1.2-.2-2.4-.6-3.5l13.3-22 17-28.7L188.4 29.6 201 5.8l1.7-4.4Z"}))),(0,a.h)("div",{key:"2a2fc0279acbda15773723feba55c35ecabfebce",class:"overlay"},(0,a.h)("div",{key:"97d79730ef75b57cb881a1e9594f0e73dd5a436f",class:"label"},(0,a.h)("p",{key:"80f88dcf864ae544bee3c55bcdaa68e29001f944",class:"metric-value"},i(this.power),(0,a.h)("span",{key:"d4abeb12ff8323bdac38c48cfb354dd3778655b8"},"MW")),(0,a.h)("p",{key:"b7464dc4b3d837dfb6204c4d4b43b3407a9f4de5",class:"metric-label"},"output")),(0,a.h)("div",{key:"bf9081e6a7f5be891fc79954b9552f9fe2ba24f9",class:"label right"},(0,a.h)("p",{key:"089280d5bc97ded2359fa82bb7d5a75c54c1f126",class:"metric-value"},i(t),"%"),(0,a.h)("p",{key:"2ca2e91453408788fce8bb18dcaf8823249fc8b3",class:"metric-label"},"compared to peak output"))))}get element(){return(0,a.g)(this)}};c.style=':host {\n display: block;\n font-family: "Lubalin Graph", Arial, Helvetica, sans-serif;\n position: relative;\n height: 100%;\n width: 100%;\n}\n\n@keyframes rotate{\n from{\n transform: rotate(0deg);}to{\n transform: rotate(360deg);\n }\n}\n\nsvg {\n border-bottom: 1px dotted black;\n height: 100%;\n width: 100%;\n}\n\n.blades {\n animation: rotate 5s infinite linear;\n}\n\n@media (prefers-reduced-motion) {\n .blades {\n animation: rotate 30s infinite linear !important;\n }\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n align-items: end;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding-bottom: 4px;\n}\n\n.label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 110px;\n padding-bottom: 10px;\n}\n\n.label .metric-value {\n margin: 0;\n font-size: 36px;\n font-weight: 700;\n color: #9AD43A;\n\n span {\n font-size: 16px;\n }\n}\n\n.label .metric-label {\n margin: 0;\n font-size: 14px;\n font-weight: 600;\n}\n\n.label.right {\n text-align: end;\n}'}}]); 2//# sourceMappingURL=2833-c2b7176d3d3390ac64c4.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.