PageSourceSearch

https://www.energea.com/1218.1218.924c0c4357818ad5346b.js

js energea.com collected 2026-10-02 16:47:00 UTC 7,548 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"873debb53a048ee93a98631eede0e544cd3d3d53"};var i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="52d205f7-b89f-448b-be04-191f6a9f93e6",e._sentryDebugIdIdentifier="sentry-dbid-52d205f7-b89f-448b-be04-191f6a9f93e6")}catch(e){}}(),(self.webpackChunkusers=self.webpackChunkusers||[]).push([[1218],{11735(e,i,n){"use strict";n.d(i,{A:()=>r});var t=n(20561),a=n(74848);const r=(0,t.A)((0,a.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},58746(e,i,n){"use strict";n.d(i,{A:()=>h}),n(96540);var t=n(5556),a=n.n(t),r=n(11735),o=n(77406),l=n(61224),s=n(33551),d=n(47820),c=n(54153),u=n(13652),p=n(74848),f=function(){window.history.back()},m=function(e){var i=e.caption,n=e.children,t=e.mediaMaxWidth;return(0,p.jsxs)(o.A,{component:"main",style:{backgroundColor:c.A.palette.common.black},sx:function(e){return{position:"relative",width:"100%",minHeight:"100vh",overflow:"hidden",color:e.palette.common.white}},children:[(0,p.jsx)(o.A,{sx:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",px:{xs:0,xl:5}},children:(0,p.jsx)(o.A,{sx:{width:"100%",height:"100%",maxWidth:t},children:n})}),(0,p.jsx)(o.A,{sx:function(e){return{position:"absolute",inset:0,pointerEvents:"none",background:"linear-gradient(180deg, ".concat((0,d.X4)(e.palette.common.black,0)," 45%, ").concat((0,d.X4)(e.palette.common.black,.68)," 100%)")}}}),"undefined"!=typeof window&&window.history.length>1&&["energea.com","www.energea.com","localhost","127.0.0.1"].includes(window.location.hostname)?(0,p.jsx)(l.A,{startIcon:(0,p.jsx)(r.A,{}),onClick:f,sx:function(e){return{position:"absolute",zIndex:2,top:{xs:18,sm:28},left:{xs:18,sm:28},minHeight:40,px:2,borderRadius:"999px",color:(0,d.X4)(e.palette.common.white,.92),backgroundColor:(0,d.X4)(e.palette.common.black,.26),backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",letterSpacing:0,"&:hover":{backgroundColor:(0,d.X4)(e.palette.common.black,.4)}}},children:"Back"}):null,(0,p.jsx)(o.A,{sx:{position:"relative",zIndex:1,minHeight:"100vh",display:"flex",alignItems:"flex-end",px:{xs:3,sm:5,md:8},py:{xs:4,sm:5,md:7},pointerEvents:"none"},children:(0,p.jsx)(u.A,{delay:.35,threshold:0,style:{maxWidth:760},children:(0,p.jsx)(s.A,{component:"p",sx:function(e){return{m:0,maxWidth:"68ch",fontSize:{xs:"1rem",sm:"1.1rem",md:"1.22rem"},lineHeight:1.55,fontWeight:400,color:(0,d.X4)(e.palette.common.white,.92),textShadow:"0 2px 18px ".concat((0,d.X4)(e.palette.common.black,.4))}},children:i})})})]})};m.propTypes={caption:a().string.isRequired,children:a().node.isRequired,mediaMaxWidth:a().oneOfType([a().number,a().string]).isRequired};const h=m},21218(e,i,n){"use strict";n.r(i),n.d(i,{default:()=>r}),n(96540);var t=n(14889),a=n(74848);const r=function(){return(0,a.jsx)(t.A,{ariaLabel:"Smart Humans conversation about the cost of solar electricity",caption:"Can solar compete on cost without subsidies? In this Smart Humans clip, Energea draws on investments in South Africa, Brazil, and Colombia, where it sees solar compete with other electricity sources without tax credits or tariffs. The takeaway from those markets: solar is the cheapest.",eventUrl:"/solar-is-the-cheapest",posterStartOffset:0,publicId:"energea/updates/solar-is-the-cheapest/solar-is-the-cheapest-portrait"})}},14889(e,i,n){"use strict";n.d(i,{A:()=>v}),n(96540);var t=n(5556),a=n.n(t),r=n(65364),o=n(77406),l=n(37859),s=n(58746),d=n(79730),c=n(6327),u=n.n(c),p=n(74848),f=new l.Cloudinary({cloud_name:"energea",secure:!0}),m=function(e,i){return f.video_url(e,{resource_type:"video",transformation:[{gravity:"auto"},{width:i?540:960,height:i?960:540,crop:"fill",quality:"auto"}],format:"mp4"})},h=function(e,i,n){return f.url(e,{resource_type:"video",start_offset:i,width:n?540:960,height:n?960:540,crop:"fill",gravity:"auto",quality:"auto",format:"jpg"})},b=function(e){var i=e.ariaLabel,n=e.caption,t=e.eventUrl,a=e.fallbackPortrait,l=e.posterStartOffset,c=void 0===l?0:l,f=e.publicId;return(0,p.jsx)(r.X,{query:u(),variables:{url:t},children:function(e){var t,r=e.data,l=null==r||null===(t=r.event)||void 0===t?void 0:t.bannerVideo,u=(0,d.A)(l)||f,b=(null==l?void 0:l.portraitPublicId)===u&&l.portraitPublicId!==l.landscapePublicId||u===f&&a;
1return(0,p.jsx)(s.A,{caption:n,mediaMaxWidth:b?540:960,children:(0,p.jsx)(o.A,{component:"video","aria-label":i,src:m(u,b),poster:h(u,c,b),autoPlay:!0,muted:!0,playsInline:!0,controls:!0,preload:"metadata",sx:{display:"block",width:"100%",height:"100%",objectFit:"contain"}},u)})}})};b.propTypes={ariaLabel:a().string.isRequired,caption:a().string.isRequired,eventUrl:a().string.isRequired,fallbackPortrait:a().bool,posterStartOffset:a().number.isRequired,publicId:a().string.isRequired},b.defaultProps={fallbackPortrait:!1};const v=b},79730(e,i,n){"use strict";n.d(i,{A:()=>t});const t=function(e){return e&&(e.portraitPublicId||e.public_id||e.landscapePublicId)||null}},6327(e){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getVideoClipEvent"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"event"},name:{kind:"Name",value:"getEventByUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bannerVideo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"public_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landscapePublicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"portraitPublicId"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:179}};function n(e,i){if("FragmentSpread"===e.kind)i.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&i.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){n(e,i)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){n(e,i)}),e.definitions&&e.definitions.forEach(function(e){n(e,i)})}i.loc.source={body:"query getVideoClipEvent($url: String!) {\n  event: getEventByUrl(url: $url) {\n    bannerVideo {\n      id\n      public_id\n      landscapePublicId\n      portraitPublicId\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}i.definitions.forEach(function(e){if(e.name){var i=new Set;n(e,i),t[e.name.value]=i}}),e.exports=i,e.exports.getVideoClipEvent=function(e,i){var n={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var r=t[i]||new Set,o=new Set,l=new Set;for(r.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach(function(e){l.add(e)}))})}return o.forEach(function(i){var t=a(e,i);t&&n.definitions.push(t)}),n}(i,"getVideoClipEvent")}}]);

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.