Are NFTs bad for the environment?

Beth Howell
Written By
Updated on 12 July 2022

NFTs have exploded in popularity in the past year, with sales increasing by 1,700% between December 2020 and February 2021 alone (Nonfungible.com, 2021).

This uptake in digital art has led some artists around the world to earn millions of pounds just from selling one single image.

But what makes crypto art worth this much money? Basically, each piece holds a unique string of code, allowing someone to take ownership of it, and making it more valuable than your bog-standard online image.

There is, however, a dark side to NFTs.

These collectables are partially responsible for the enormous amount of emissions generated by the cryptocurrency industry. How exactly can images on the internet cause so much environmental damage? Scroll down to find out.

someone buying an NFTs

NFT stands for ‘non-fungible token’ – a fancy phrase that basically means it’s unique and can’t be traded for something else, unlike regular money or various cryptocurrencies.

Most NFTs are part of the Ethereum ‘blockchain’ (another technical word, describing a system that records information in a way that is difficult to alter) and are paid for in Ethereum, which is the second-largest cryptocurrency.

These digital images can depict absolutely anything, and will usually sell for thousands – if not millions – of pounds. Twitter CEO Jack Dorsey even sold an image of his first tweet for £2.1 million, and the unique edition of the Nyan Cat GIF sold for £428,000.

One of the most profitable NFTs so far was created by digital artist Mike Winkelmann in March 2021. He sold a digital collage of 5,000 artworks, titled “Everydays: the First 5,000 Days”, for £50.5 million at Christie’s auction house.

Although the code behind these images is unique, artists retain the copyright over their work – even after it’s sold. On top of this, other people can still copy and paste the artwork or simply download it for free.

For collectors, NFTs are an investment – just like physical art. For others, however, buying an NFT is simply a status symbol.

Yes. Although NFTs are literally just images on the internet, they rack up a lot of emissions. In fact, the average NFT generates 211 kg of CO2, compared to an average of 2.3 kg for a piece of print artwork.

In other words, NFTs release 92 times more carbon emissions than a physical piece of art. 

To put this into context, we’ve compared the average carbon emissions of an NFT, a piece of physical art, and driving a car for 100 miles in the graph below.

As you can see, the amount of CO2 released when generating and storing an NFT is significantly higher than driving 100 miles. In fact, the sale of a single NFT is the emissions equivalent of driving the length of England (from the tip of Cornwall, all the way to Newcastle).

If more people knew about this colossal impact, perhaps NFTs wouldn’t be so popular, given 60% of people want to go greener.

The size of an NFT’s carbon footprint comes down to the amount of energy it takes to power the whole process.

We only need to look to French digital artist Joanie Lemercier to put this into perspective. The artist cancelled his submission of six works after calculating how much energy it would take to sell them. In total, the NFT sale would use enough electricity to power Lemercier’s entire studio for two years in just ten seconds.

But the logic behind this is a little more complicated than simply ‘using a lot of energy’ – and it comes with lots of confusing words, so bear with us.

Proof of work vs proof of stake

There are two popular blockchain consensus tools used with cryptocurrencies, which make sure that transactions on a blockchain are legitimate:

  1. Proof of work (PoW) – This system involves a function called ‘mining’, which is when energy-intensive computers take turns guessing the combination to a ‘digital lock’ (a long string of random digits). The computer that correctly guesses the combination wins a reward, which is paid in a cryptocurrency. The digital lock resets roughly every 15 seconds, and the competition continues. On top of this, PoW only allows users to validate transactions if they own a large enough percentage of the network’s computational power, encouraging people to use more energy to gain more power
  2. Proof of stake (PoS) – This is when a validator (someone who is responsible for verifying transactions on a blockchain) keeps a certain value of their own possession of cryptocurrency as collateral – referred to as their ‘stake’. The algorithm periodically rewards one of the validators with the privilege to create the next ‘block’ in the blockchain

Most major cryptocurrencies are built on a proof-of-work system, which consumes far more energy than a PoS system. By having these computers running constantly, some crypto companies are consuming huge amounts of electricity, which then leads to a high level of emissions.

Just how bad is proof of work? The annual electricity consumption by Bitcoin (the largest PoW blockchain) accounts for an estimated 0.6% of global energy usage.

Finding out the exact carbon footprint of each NFT is quite difficult, since there are several steps involved and very little research has been carried out on emissions during each stage.

What we do know is that Ethereum is one of the highest-emitting NFT platforms, so any images purchased through it will have large carbon footprints. And unfortunately, most NFTs are part of the Ethereum blockchain, which uses a PoW system and churns through about 31 terawatt-hours (TWh) of electricity per year – about as much as the whole of Nigeria.

One popular NFT, ‘Space Cat’ (a GIF of a cat in a rocket, heading to the moon), is generated and stored by Ethereum, and has a carbon footprint equivalent to an EU resident’s electricity usage for two months.

In comparison, digital artist Akten analysed 18,000 NFTs and found that the average image produces the equivalent emissions to a month’s worth of electricity for someone living in the EU.

NFTs don’t have to be this bad for the environment.

As we stated earlier, the main reason behind NFTs’ large carbon footprints is the various blockchains using a PoW system.

One alternative to this is to swap to a PoS blockchain – a system that doesn’t rely on massive computing power, and therefore consumes far less electricity.

According to Tezos, a popular PoS blockchain platform, the estimated annual energy consumption of its blockchain is 0.00006 TWh, compared to Ethereum’s 33.57 TWh.

Earlier this year, Ethereum stated that it was just ‘months away’ from shifting to a proof-of-state system in a bid to cut down emissions, but nothing has been implemented so far.

NFT platforms are generating more electricity than entire countries. And when so many people around the world still don’t have access to reliable electricity – whilst others are already feeling the effects of climate change – is this really what we should be prioritising?

Thankfully, there does seem to be a push for more sustainability in the crypto world, so hopefully we can see an increase in renewable energy and a decrease in emissions in the near future.

Written By

Beth Howell

Beth has written for The Eco Experts for over three years, combining her journalistic skills with her knowledge of the environmental industry, garnering thousands of readers along the way.

With her articles covering a range of environmental topics – from solar panel suggestions to the future of green tech, environmental news to heat pump recommendations – Beth really does have the know-how when it comes to environmental living.

Since joining The Eco Experts team, her work has been featured in various publications, such as The BBC, Forbes, The Express, Greenpeace, and in multiple academic journals. She has also attended Grand Designs Live as a Green Living Expert, providing tailored advice to members of the public about heat pumps and solar panels.

Her level of expertise has grown vastly over the years, after delving deep into complex analysis pieces, such as The Most Polluting Industries, What Is Carbon Capture And Does It Actually Work?, and Is Renewable Energy Cheaper Than Gas?

You can contact Beth via email at sale@solarproz.com

More about
");const i=V?V.createHTML(t):t;if(re===oe)try{e=(new C).parseFromString(i,se)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(re,"template",null);try{e.documentElement.innerHTML=ie?Z:i}catch(t){}}const n=e.body||e.documentElement;return t&&o&&n.insertBefore(r.createTextNode(o),n.childNodes[0]||null),re===oe?dt.call(e,Mt?"html":"body")[0]:Mt?e.documentElement:n},Te=function(t){return ut.call(t.ownerDocument||t,t,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Fe=function(t){return t instanceof N&&(void 0!==t.__depth&&"number"!=typeof t.__depth||void 0!==t.__removalCount&&"number"!=typeof t.__removalCount||"string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof m)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ne=function(t){return"function"==typeof u&&t instanceof u},Se=function(t,e,r){ht[t]&&f(ht[t],(t=>{t.call(o,e,r,de)}))},Ce=function(t){let e=null;if(Se("beforeSanitizeElements",t,null),Fe(t))return Ae(t),!0;const r=ce(t.nodeName);if(Se("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),t.hasChildNodes()&&!Ne(t.firstElementChild)&&T(/<[/\w]/g,t.innerHTML)&&T(/<[/\w]/g,t.textContent))return Ae(t),!0;if(t.nodeType===it)return Ae(t),!0;if(Dt&&t.nodeType===nt&&T(/<[/\w]/g,t.data))return Ae(t),!0;if(!xt[r]||St[r]){if(!St[r]&&Le(r)){if(Nt.tagNameCheck instanceof RegExp&&T(Nt.tagNameCheck,r))return!1;if(Nt.tagNameCheck instanceof Function&&Nt.tagNameCheck(r))return!1}if(jt&&!Xt[r]){const e=J(t)||t.parentNode,o=X(t)||t.childNodes;if(o&&e){for(let r=o.length-1;r>=0;--r){const i=Y(o[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,$(t))}}}return Ae(t),!0}return t instanceof d&&!ve(t)?(Ae(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!T(/<\/no(script|embed|frames)/i,t.innerHTML)?(It&&t.nodeType===rt&&(e=t.textContent,f([mt,ft,gt],(t=>{e=v(e,t," ")})),t.textContent!==e&&(y(o.removed,{element:t.cloneNode()}),t.textContent=e)),Se("afterSanitizeElements",t,null),!1):(Ae(t),!0)},ke=function(t,e,o){if(Wt&&("id"===e||"name"===e)&&(o in r||o in he||"__depth"===o||"__removalCount"===o))return!1;if(Lt&&!Ct[e]&&T(yt,e));else if(kt&&T(wt,e));else if(!Tt[e]||Ct[e]){if(!(Le(t)&&(Nt.tagNameCheck instanceof RegExp&&T(Nt.tagNameCheck,t)||Nt.tagNameCheck instanceof Function&&Nt.tagNameCheck(t))&&(Nt.attributeNameCheck instanceof RegExp&&T(Nt.attributeNameCheck,e)||Nt.attributeNameCheck instanceof Function&&Nt.attributeNameCheck(e))||"is"===e&&Nt.allowCustomizedBuiltInElements&&(Nt.tagNameCheck instanceof RegExp&&T(Nt.tagNameCheck,o)||Nt.tagNameCheck instanceof Function&&Nt.tagNameCheck(o))))return!1}else if(Zt[e]);else if(T(At,v(o,bt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==A(o,"data:")||!Kt[t]){if(Rt&&!T(_t,v(o,bt,"")));else if(o)return!1}else;return!0},Le=function(t){return"annotation-xml"!==t&&b(t,vt)},Re=function(t){Se("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Tt};let i=e.length;for(;i--;){const n=e[i],{name:a,namespaceURI:s,value:l}=n,u=ce(a);let c="value"===a?l:x(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,Se("uponSanitizeAttribute",t,r),c=r.attrValue,r.forceKeepAttr)continue;if(xe(a,t),!r.keepAttr)continue;if(!Ot&&T(/\/>/i,c)){xe(a,t);continue}if(Dt&&T(/((--!?|])>)|<\/(style|title)/i,c)){xe(a,t);continue}It&&f([mt,ft,gt],(t=>{c=v(c,t," ")}));const d=ce(t.nodeName);if(ke(d,u,c)){if(!Gt||"id"!==u&&"name"!==u||(xe(a,t),c=qt+c),V&&"object"==typeof L&&"function"==typeof L.getAttributeType)if(s);else switch(L.getAttributeType(d,u)){case"TrustedHTML":c=V.createHTML(c);break;case"TrustedScriptURL":c=V.createScriptURL(c)}try{s?t.setAttributeNS(s,a,c):t.setAttribute(a,c),Fe(t)?Ae(t):g(o.removed)}catch(t){}}}Se("afterSanitizeAttributes",t,null)},Oe=function t(e){let o=null;const r=Te(e);for(Se("beforeSanitizeShadowDOM",e,null);o=r.nextNode();){if(Se("uponSanitizeShadowNode",o,null),Ce(o))continue;const e=J(o);o.nodeType===ot&&(e&&e.__depth?o.__depth=(o.__removalCount||0)+e.__depth+1:o.__depth=1),(o.__depth>=pe||o.__depth<0||S(o.__depth))&&Ae(o),o.content instanceof s&&(o.content.__depth=o.__depth,t(o.content)),Re(o)}Se("afterSanitizeShadowDOM",e,null)};return o.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,n=null,a=null,l=null;if(ie=!t,ie&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ne(t)){if("function"!=typeof t.toString)throw F("toString is not a function");if("string"!=typeof(t=t.toString()))throw F("dirty is not a string, aborting")}if(!o.isSupported)return t;if(Ut||fe(e),o.removed=[],"string"==typeof t&&(Yt=!1),Yt){if(t.nodeName){const e=ce(t.nodeName);if(!xt[e]||St[e])throw F("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)r=Ee("\x3c!----\x3e"),n=r.ownerDocument.importNode(t,!0),n.nodeType===ot&&"BODY"===n.nodeName||"HTML"===n.nodeName?r=n:r.appendChild(n);else{if(!zt&&!It&&!Mt&&-1===t.indexOf("<"))return V&&Bt?V.createHTML(t):t;if(r=Ee(t),!r)return zt?null:Bt?Z:""}r&&Pt&&Ae(r.firstChild);const c=Te(Yt?t:r);for(;a=c.nextNode();){if(Ce(a))continue;const t=J(a);a.nodeType===ot&&(t&&t.__depth?a.__depth=(a.__removalCount||0)+t.__depth+1:a.__depth=1),(a.__depth>=pe||a.__depth<0||S(a.__depth))&&Ae(a),a.content instanceof s&&(a.content.__depth=a.__depth,Oe(a.content)),Re(a)}if(Yt)return t;if(zt){if(Ht)for(l=ct.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(Tt.shadowroot||Tt.shadowrootmode)&&(l=pt.call(i,l,!0)),l}let d=Mt?r.outerHTML:r.innerHTML;return Mt&&xt["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&T(Q,r.ownerDocument.doctype.name)&&(d="\n"+d),It&&f([mt,ft,gt],(t=>{d=v(d,t," ")})),V&&Bt?V.createHTML(d):d},o.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};fe(t),Ut=!0},o.clearConfig=function(){de=null,Ut=!1},o.isValidAttribute=function(t,e,o){de||fe({});const r=ce(t),i=ce(e);return ke(r,i,o)},o.addHook=function(t,e){"function"==typeof e&&(ht[t]=ht[t]||[],y(ht[t],e))},o.removeHook=function(t){if(ht[t])return g(ht[t])},o.removeHooks=function(t){ht[t]&&(ht[t]=[])},o.removeAllHooks=function(){ht={}},o}();function pt(){if(null==ut){var t=function(){var t=window.location;"about:srcdoc"==t.href&&(t=window.parent.location);var e={};return function(t,o,r){for(;r=o.exec(t);)e[decodeURIComponent(r[1])]=decodeURIComponent(r[2])}(t.search.substring(1).replace(/\+/g,"%20"),/([^&=]+)=?([^&]*)/g),e}();ut="referrer"in t?/^https:\/\/medium.com\//.test(t.referrer):!("auto"in t)}return ut}function ht(t){var e=t||window.innerWidth;return e>999?650:e>599?575:400}function mt(t){if(t&&window.top!==window.self){var e=window;"srcdoc"==e.location.pathname&&(e=e.parent);var o={sender:"Flourish",method:"scrolly",captions:t.captions};e.parent.postMessage(JSON.stringify(o),"*")}}function ft(t,e){if(window.top!==window.self){var o=window;if("srcdoc"==o.location.pathname&&(o=o.parent),ct)return t=parseInt(t,10),void o.parent.postMessage({sentinel:"amp",type:"embed-size",height:t},"*");var r={sender:"Flourish",context:"iframe.resize",method:"resize",height:t,src:o.location.toString()};if(e)for(var i in e)r[i]=e[i];o.parent.postMessage(JSON.stringify(r),"*")}}function gt(){return(-1!==navigator.userAgent.indexOf("Safari")||-1!==navigator.userAgent.indexOf("iPhone"))&&-1==navigator.userAgent.indexOf("Chrome")}function yt(t){return"string"==typeof t||t instanceof String}function wt(t){return"warn"!==t.method?(console.warn("BUG: validateWarnMessage called for method"+t.method),!1):!(null!=t.message&&!yt(t.message))&&!(null!=t.explanation&&!yt(t.explanation))}function _t(t){return"resize"!==t.method?(console.warn("BUG: validateResizeMessage called for method"+t.method),!1):!!yt(t.src)&&(!!yt(t.context)&&!!("number"==typeof(e=t.height)?!isNaN(e)&&e>=0:yt(e)&&/\d/.test(e)&&/^[0-9]*(\.[0-9]*)?(cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax|%)?$/i.test(e)));var e}function bt(t){throw new Error("Validation for setSetting is not implemented yet; see issue #4328")}function vt(t){return"scrolly"!==t.method?(console.warn("BUG: validateScrolly called for method"+t.method),!1):!!Array.isArray(t.captions)}function At(t){return"customerAnalytics"===t.method||(console.warn("BUG: validateCustomerAnalyticsMessage called for method"+t.method),!1)}function xt(t){return"request-upload"!==t.method?(console.warn("BUG: validateResizeMessage called for method"+t.method),!1):!!yt(t.name)&&!(null!=t.accept&&!yt(t.accept))}function Et(t,e,o){var r=function(t){for(var e={warn:wt,resize:_t,setSetting:bt,customerAnalytics:At,"request-upload":xt,scrolly:vt},o={},r=0;r1)return n;var s=setInterval((function(){window._flourish_poll_items=window._flourish_poll_items.filter((function(t){return!t.iframe.offsetParent||(St(t.embed_url,t.container,t.iframe,t.width,t.height,t.play_on_load),!1)})),window._flourish_poll_items.length||clearInterval(s)}),500)}return n}function St(t,e,o,r,i,n){var a;return r&&"number"==typeof r?(a=r,r+="px"):r&&r.match(/^[ \t\r\n\f]*([+-]?\d+|\d*\.\d+(?:[eE][+-]?\d+)?)(?:\\?[Pp]|\\0{0,4}[57]0(?:\r\n|[ \t\r\n\f])?)(?:\\?[Xx]|\\0{0,4}[57]8(?:\r\n|[ \t\r\n\f])?)[ \t\r\n\f]*$/)&&(a=parseFloat(r)),i&&"number"==typeof i&&(i+="px"),r?o.style.width=r:gt()?o.style.width=e.offsetWidth+"px":o.style.width="100%",!!i||(t.match(/\?/)?t+="&auto=1":t+="?auto=1",i=ht(a||o.offsetWidth)+"px"),i&&("%"===i.charAt(i.length-1)&&(i=parseFloat(i)/100*e.parentNode.offsetHeight+"px"),o.style.height=i),o.setAttribute("src",t+(n?"#play-on-load":"")),o}var Ct={de:{credits:{default:"Erstellt mit Flourish"}},en:{credits:{default:{text:"A Flourish data visualization",url:"https://flourish.studio/"},annotator:{text:"Interactive content by Flourish",url:"https://app.flourish.studio/@flourish/svg-annotator"},"bar-chart-race":{text:"A Flourish bar chart race",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bubble-chart":{text:"A Flourish bubble chart",url:"https://flourish.studio/blog/introducing-bubble-chart-template/"},cards:{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/cards-template/"},chart:{text:"A Flourish chart",url:"https://flourish.studio/visualisations/line-bar-pie-charts/"},chord:{text:"A Flourish chord diagram",url:"https://flourish.studio/blog/how-to-make-a-chord-diagram/"},countdown:{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/number-ticker-countdown-templates/"},"data-explorer":{text:"A Flourish data explorer",url:"https://flourish.studio/blog/data-explorer-template/"},draw:{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/draw-the-line-chart/"},election:{text:"A Flourish election chart",url:"https://app.flourish.studio/@flourish/election-results-chart"},gantt:{text:"A Flourish gantt chart",url:"https://flourish.studio/blog/gantt-chart-template/"},gauge:{text:"A Flourish gauge visualization",url:"https://flourish.studio/visualisations/gauge/"},globe:{text:"A Flourish connections globe",url:"https://flourish.studio/visualisations/maps/"},heatmap:{text:"A Flourish heatmap",url:"https://flourish.studio/visualisations/heatmaps/"},hierarchy:{text:"A Flourish hierarchy chart",url:"https://flourish.studio/visualisations/treemaps/"},map:{text:"A Flourish map",url:"https://flourish.studio/visualisations/maps/"},marimekko:{text:"A Flourish marimekko chart",url:"https://flourish.studio/visualisations/marimekko-charts/"},model:{text:"Interactive content by Flourish",url:"https://app.flourish.studio/@flourish/3d-viewer"},network:{text:"A Flourish network chart",url:"https://flourish.studio/visualisations/network-charts/"},"number-ticker":{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/number-ticker-countdown-templates/"},parliament:{text:"A Flourish election chart",url:"https://flourish.studio/blog/how-to-make-parliament-chart/"},"photo-slider":{text:"Interactive content by Flourish",url:"https://app.flourish.studio/@flourish/photo-slider"},pictogram:{text:"A Flourish pictogram",url:"https://flourish.studio/blog/pictogram-isotype/"},quiz:{text:"A Flourish quiz",url:"https://app.flourish.studio/@flourish/quiz"},radar:{text:"A Flourish radar chart",url:"https://flourish.studio/blog/create-online-radar-spider-charts/"},ranking:{text:"A Flourish line chart race",url:"https://flourish.studio/blog/line-chart-race-updates/"},sankey:{text:"A Flourish sankey chart",url:"https://flourish.studio/visualisations/sankey-charts/"},scatter:{text:"A Flourish scatter chart",url:"https://flourish.studio/visualisations/scatter-charts/"},slope:{text:"A Flourish slope chart",url:"https://flourish.studio/visualisations/slope-charts/"},sports:{text:"A Flourish sports visualization",url:"https://app.flourish.studio/@flourish/sports-race"},survey:{text:"A Flourish survey visualization",url:"https://flourish.studio/visualisations/survey-data/"},table:{text:"A Flourish table",url:"https://flourish.studio/visualisations/create-a-table/"},timeline:{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/responsive-interactive-timeline/"},"text-annotator":{text:"Interactive content by Flourish",url:"https://flourish.studio/blog/text-annotator-template/"},tournament:{text:"Interactive content by Flourish",url:"https://flourish.studio/visualisations/tournament-chart/"},"word-cloud":{text:"A Flourish data visualization",url:"https://flourish.studio/blog/online-wordcloud-custom-fonts/"}}},es:{credits:{default:"Creado con Flourish",bar_race:{text:"Creado con Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Creado con Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}},fr:{credits:{default:"Créé avec Flourish",bar_race:{text:"Créé avec Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Créé avec Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}},it:{credits:{default:"Creato con Flourish",bar_race:{text:"Creato con Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Creato con Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}},mi:{credits:{default:"Hangaia ki te Flourish",bar_race:{text:"Hangaia ki te Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Hangaia ki te Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}},nl:{credits:{default:"Gemaakt met Flourish",bar_race:{text:"Gemaakt met Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Gemaakt met Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}},pt:{default:"Feito com Flourish",bar_race:{text:"Feito com Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"},"bar-chart-race":{text:"Feito com Flourish",url:"https://flourish.studio/visualisations/bar-chart-race/"}}};!function(){var t=[];function n(){if(!window.FlourishLoaded){window.FlourishLoaded=!0;var r=window.Flourish&&window.Flourish.external,n="en",a=document.querySelector("meta[name='language'],meta[name='LANGUAGE']");a&&a.hasAttribute("content")&&(n=a.getAttribute("content").substr(0,2),Ct[n]||(n="en"));var s,l=Array.prototype.slice.call(document.querySelectorAll(".flourish-embed"));if(!r)for(var u=document.querySelectorAll("script"),c=0;c1||window.Flourish&&window.Flourish.hide;if(a=u[0],r?(l=a,e=window.FlourishConfig.public_url,o="?utm_source=embed&utm_campaign="+a):(l=(i=0===a.indexOf("template/"))?window.FlourishConfig.app_url+"/"+a+"/preview":window.FlourishConfig.embeds_url+a+"/embed",e=s+a+"/",o="?utm_source=showcase&utm_campaign="+a),m.createEmbedIframe(l,t,t.getAttribute("data-width"),t.getAttribute("data-height"),t.hasAttribute("data-play-on-load")),!i&&!c){for(var d="",p=t.className.split(" "),h=0;h{var o,t={7429:()=>{function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},o(t)}function t(o,t){for(var i=0;i=u.height?(n.style.top="".concat(5+a.height,"px"),n.style.bottom="unset"):(n.style.top="unset",n.style.bottom="".concat(5+a.height,"px")),e&&e.classList.remove(o.popupActiveClass)}))}))}},{key:"initBodyClick",value:function(){var o=this;document.body.addEventListener("click",(function(t){if(!t.target.closest(".js-bio-info .js-open-bio-info, .js-bio-info .author-popup")){var e=document.querySelector(".".concat(o.popupActiveClass));e&&e.classList.remove(o.popupActiveClass)}}))}},{key:"generateBioInfoPopup",value:function(o){var t=this,e=o.closest(".authors-box__author"),i=this.getAuthorBoxIndex(e),n=document.querySelectorAll(".authors-box .authors-box__column")[i];if(e&&n){var r=n.querySelector(".author-info__more-info"),a=n.querySelector(".author-info__name").innerHTML.trim(),u=r.getAttribute("href"),c=n.querySelector(".author-info__position"),s=c?c.innerHTML.trim():"",v=n.querySelector(".author-info__bio").innerHTML.trim(),l=n.querySelector("img"),d=l?l.getAttribute("src"):"",p=d?'').concat(a,''):"",f='
\n
\n \n\n
\n
\n ').concat(p,'\n
\n\n
\n ').concat(a,'\n ').concat(s,'\n
\n
\n\n
').concat(v,'
\n\n More about\n
\n
');o.insertAdjacentHTML("beforeend",f),o.querySelector(".author-popup__close").setAttribute("data-eventlabel",a),o.querySelector(".author-popup__close").addEventListener("click",(function(){o.querySelector(".author-popup").classList.remove(t.popupActiveClass)}))}}}],e&&t(o.prototype,e),i&&t(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,e,i}();document.addEventListener("DOMContentLoaded",(function(){new i}))},6509:()=>{},6448:()=>{},1851:()=>{},5296:()=>{},3881:()=>{},9103:()=>{},6166:()=>{},6919:()=>{},4026:()=>{},6959:()=>{},4332:()=>{},9788:()=>{},8096:()=>{},8042:()=>{},8353:()=>{},9694:()=>{},6834:()=>{},9470:()=>{},4654:()=>{},7931:()=>{},8539:()=>{},1079:()=>{},6671:()=>{},4750:()=>{},8425:()=>{},4854:()=>{},9847:()=>{},9531:()=>{},7538:()=>{},3024:()=>{},5785:()=>{},9833:()=>{},8532:()=>{},2168:()=>{},6308:()=>{},4943:()=>{},2619:()=>{},3129:()=>{},756:()=>{},1841:()=>{},5746:()=>{},3389:()=>{},3393:()=>{},7079:()=>{},7250:()=>{},2877:()=>{},5430:()=>{},5186:()=>{},9367:()=>{},7277:()=>{},1029:()=>{}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,i),r.exports}i.m=t,o=[],i.O=(t,e,n,r)=>{if(!e){var a=1/0;for(v=0;v=r)&&Object.keys(i.O).every((o=>i.O[o](e[c])))?e.splice(c--,1):(u=!1,r0&&o[v-1][2]>r;v--)o[v]=o[v-1];o[v]=[e,n,r]},i.o=(o,t)=>Object.prototype.hasOwnProperty.call(o,t),(()=>{var o={6153:0,9273:0,1072:0,1081:0,2391:0,7892:0,6310:0,4685:0,3538:0,9301:0,1604:0,7066:0,625:0,9515:0,1263:0,4180:0,2779:0,8885:0,3348:0,5293:0,6737:0,562:0,3171:0,792:0,2798:0,2833:0,4093:0,9965:0,8523:0,5637:0,2958:0,8891:0,8333:0,6599:0,2536:0,5867:0,686:0,1594:0,1720:0,1113:0,8792:0,5657:0,200:0,7958:0,8586:0,8088:0,520:0,6727:0,5607:0,9163:0,3731:0,27:0};i.O.j=t=>0===o[t];var t=(t,e)=>{var n,r,[a,u,c]=e,s=0;if(a.some((t=>0!==o[t]))){for(n in u)i.o(u,n)&&(i.m[n]=u[n]);if(c)var v=c(i)}for(t&&t(e);si(7429))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(5430))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(5186))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9367))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(7277))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(1029))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6509))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6448))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(1851))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(5296))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(3881))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9103))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6166))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6919))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4026))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6959))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4332))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9788))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8096))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8042))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8353))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9694))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6834))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9470))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4654))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(7931))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8539))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(1079))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6671))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4750))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8425))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4854))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9847))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9531))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(7538))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(3024))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(5785))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(9833))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(8532))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(2168))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(6308))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(4943))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(2619))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(3129))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(756))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(1841))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(5746))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(3389))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(3393))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(7079))),i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(7250)));var n=i.O(void 0,[9273,1072,1081,2391,7892,6310,4685,3538,9301,1604,7066,625,9515,1263,4180,2779,8885,3348,5293,6737,562,3171,792,2798,2833,4093,9965,8523,5637,2958,8891,8333,6599,2536,5867,686,1594,1720,1113,8792,5657,200,7958,8586,8088,520,6727,5607,9163,3731,27],(()=>i(2877)));n=i.O(n)})();(()=>{function t(i){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(i)}function i(t,i){for(var n=0;n=this.maxElementOnDesktop&&(this.isMobile||this.toggleExpand()),-1!==this.currentSectionIndex){var i=this.contentSections[this.currentSectionIndex];this.jumpLinks.forEach((function(e,n){t.contentSections[n]===i?e.classList.add("anchor-link--current"):e.classList.remove("anchor-link--current")})),1!==this.expandTrigger||this.isMobile||this.jumpLinks.forEach((function(e,n){if(t.contentSections[n]===i){var s=t.getLinkPosition(e);t.jumpList.scrollTo({top:s,behavior:"smooth"})}}))}}},{key:"checkWindowSize",value:function(){var t=window.innerWidth<=this.isMobileBreakpoint;t!==this.isMobile&&(this.isMobile=t,this.clearExpandList(),this.checkExpandList())}},{key:"checkExpandList",value:function(){var t=this,i=this.maxElementOnMobile;this.jumpLinks.forEach((function(i,e){var n=t.getLinkPosition(i),s=window.innerHeight-200;0===t.expandTrigger&&n>=s-100&&ni&&(this.limitLinksShown=i,this.updateExpandList()):this.jumpLinks.length>this.maxElementOnDesktop&&(this.limitLinksShown=this.maxElementOnDesktop,this.updateExpandList())}},{key:"clearExpandList",value:function(){this.jumpList.style.maxHeight=null,this.removeLinksAttributes(),this.expandButton.style.display="none"}},{key:"updateExpandList",value:function(){this.isMobile?this.jumpListHeightExpand="1000px":this.jumpListHeightExpand="calc(100vh - 180px)",this.addLinksAttributes(),this.jumpListHeightCropped="".concat(this.jumpList.scrollHeight,"px"),this.jumpList.style.maxHeight=this.jumpListHeightCropped,this.expandButton.style.display="block",this.expandButtonParent.classList.contains("expand")&&(this.expandButtonParent.classList.remove("expand"),this.expandButton.setAttribute("aria-label","Show more links"),this.jumpList.style.maxHeight=this.jumpListHeightCropped,this.addLinksAttributes())}},{key:"removeLinksAttributes",value:function(){this.jumpLinks.forEach((function(t){t.classList.contains("hidden")&&(t.classList.remove("hidden"),t.style.display="block",t.setAttribute("data-visible","true"))}))}},{key:"addLinksAttributes",value:function(){var t=this;this.jumpLinks.forEach((function(i,e){e>t.limitLinksShown-1&&(i.classList.add("hidden"),i.style.display="none",i.setAttribute("data-visible","false"))}))}},{key:"getLinkPosition",value:function(t){var i=t.getBoundingClientRect(),e=this.jumpList.getBoundingClientRect(),n=this.jumpList.scrollTop;return i.top-e.top+n}},{key:"toggleExpand",value:function(){this.expandButtonParent.classList.contains("expand")?(this.expandButtonParent.classList.remove("expand"),this.expandButton.setAttribute("aria-label","Show more links"),this.jumpList.style.maxHeight=this.jumpListHeightCropped,this.expandTrigger=0,this.addLinksAttributes()):(this.expandButtonParent.classList.add("expand"),this.expandButton.setAttribute("aria-label","Show less links"),this.jumpList.style.maxHeight=this.jumpListHeightExpand,this.expandTrigger=1,this.removeLinksAttributes())}},{key:"initExpandButton",value:function(){var t=this;this.expandButton.addEventListener("click",(function(){t.toggleExpand()}))}}])&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".jump-links").forEach((function(t){new n(t,".jump-links__anchor-link",".article__content h2",".jump-links__button")}))}))})();(()=>{var e={send:function(e,t){return fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(t).toString()})},init:function(){var e=this;document.querySelectorAll(".newsletter").forEach((function(t){e.initForm(t)})),this.initRecaptchaApi(),this.initCaptchaMessageCloseButtons(),this.initValidation()},initRecaptchaApi:function(){var e=document.querySelectorAll(".newsletter__fields .input");function t(){window.flexi_vars&&window.flexi_vars.loadRecaptcha&&window.flexi_vars.loadRecaptcha(),e.forEach((function(e){e.removeEventListener("focus",t)}))}e.forEach((function(e){e.addEventListener("focus",t,{once:!0})}))},initCaptchaMessageCloseButtons:function(){document.querySelectorAll(".newsletter__message .js-close").forEach((function(e){e.addEventListener("click",(function(){e.closest(".newsletter__message").classList.remove("show")}))}))},initValidation:function(){document.querySelectorAll(".newsletter__fields .input").forEach((function(e){e.addEventListener("blur",(function(){e.value=e.value.trim()})),e.addEventListener("input",(function(){""!==e.value.trim()&&e.closest(".newsletter__field").classList.remove("error")})),e.addEventListener("keypress",(function(t){13===t.which&&e.closest(".newsletter").querySelector(".newsletter__subscribe-btn").click()}))}))},initForm:function(e){var t=this,n=e.querySelector(".loader"),s=e.querySelector('[name="name"]'),r=e.querySelector('[name="email"]');e.querySelector(".newsletter__subscribe-btn").addEventListener("click",(function(i){i.preventDefault();var c=!0;if(s.value.trim()||(s.closest(".newsletter__field").classList.add("error"),c=!1),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.value)||(r.closest(".newsletter__field").classList.add("error"),c=!1),c){var o={action:"newsletter_subscribe",name:s.value,email:r.value};n.classList.add("show");var a=function(s){o.captchaToken=s,t.send(window.flexi_vars.ajaxurl,o).then((function(e){return e.json()})).then((function(s){n.classList.remove("show"),t.processResponse(s,e)}))};window.grecaptcha?window.grecaptcha.ready((function(){try{window.grecaptcha.execute(window.flexi_vars.recaptchaSiteKey,{action:"submit"}).then((function(e){a(e)}))}catch(s){var t=e.querySelector(".newsletter__message");t.querySelector(".js-message").innerHTML="Invalid recaptcha configuration",t.classList.add("show"),n.classList.remove("show")}})):a("")}}))},processResponse:function(e,t){var n=t.querySelector(".newsletter__message");!0===e.success?(n.classList.remove("show"),t.querySelectorAll(".newsletter__fields, .newsletter__privacy-policy, .newsletter__subscribe").forEach((function(e){e.remove()})),t.querySelector(".newsletter__title").innerHTML=e.title,t.querySelector(".newsletter__subtitle").innerHTML=e.subtitle):(n.querySelector(".js-message").innerHTML=e.message,n.classList.add("show"))}};document.addEventListener("DOMContentLoaded",(function(){e.init()}))})();(()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:".header",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"header--sticky";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stickySelector=document.querySelector(o),this.toggleClass=i,this.toggleHeaderSticky(),window.addEventListener("scroll",(function(){t.toggleHeaderSticky()}),{passive:!0}),window.addEventListener("resize",(function(){t.toggleHeaderStickyOnResize()}))},(o=[{key:"toggleHeaderSticky",value:function(){this.stickySelector.classList.toggle(this.toggleClass,window.scrollY>this.stickySelector.offsetHeight)}},{key:"toggleHeaderStickyOnResize",value:function(){window.scrollY<=this.stickySelector.offsetHeight?this.stickySelector.classList.remove(this.toggleClass):this.toggleHeaderSticky()}}])&&t(e.prototype,o),i&&t(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o,i}();document.addEventListener("DOMContentLoaded",(function(){return new i}))})();(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n{function e(r){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(r)}function r(e,r){for(var o=0;o{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var r=0;r{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var o=0;o1200&&e&&(this.body.classList.remove("menu-active"),this.buttons.forEach((function(t){t.setAttribute("aria-expanded","false")})))}}])&&e(t.prototype,n),o&&e(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,o}();document.addEventListener("DOMContentLoaded",(function(){return new o}))})();(()=>{var n={createModalBoxHtml:function(n){var e=document.createElement("div"),a=document.createRange().createContextualFragment('
\n
\n \n close \n \n
\n
\n