PageSourceSearch

https://www.trafigura.com/js/284.ae52cb786a98bb69f8b1.runtime.js

js trafigura.com collected 2026-10-02 02:41:28 UTC 15,859 bytes, 1 lines download raw bytes

vendor: 4,562 bytes, line 1
1"use strict";(self.webpackChunktrafigura_rebrand_fe=self.webpackChunktrafigura_rebrand_fe||[]).push([[284],{64284:(t,e,r)=>{r.r(e);var n=r(8863),o=r(59697),i=r(33918),a=r(85435),c=r(67310);function u(t){return u="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},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new O(o||[]);return n(a,"_invoke",{value:S(t,r,c)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var p={};function h(){}function y(){}function v(){}var m={};s(m,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(P([])));b&&b!==e&&r.call(b,i)&&(m=b);var w=v.prototype=h.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function o(n,i,a,c){var l=d(t[n],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=d(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function C(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=d(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function P(t){if(t||""===t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}throw new TypeError(u(t)+" is not iterable")}return y.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:y,configurable:!0}),y.displayName=s(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},_(k.prototype),s(k.prototype,a,(function(){return this})),t.AsyncIterator=k,t.async=function(e,r,n,o,i){void 0===i&&(i=Prom
1ise);var a=new k(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(w),s(w,c,"Generator"),s(w,i,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}!function(){var t=(0,n.$)(".social-block");if(t){var e=["social-block-sign-up-input","social-block-name-input","cm-privacy-consent"],r=(0,n.$)(".sign-up__button",t),u=(0,n.$)("form",t),s=(0,n.$)(".js-cm-result",t),d=(0,n.$)(".js-cm-error",t),p=!1,h=[],y=function(){p||(p=!0,(0,c.default)(o.$z.NewsletterFormFlowStart,{}))},v=function(){var t=f(l().mark((function t(){var e,r;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=h[0],r=h[1],t.prev=2,t.next=5,fetch("/umbraco/api/newslettersubscription/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e?e.getValue():"",name:r?r.getValue():"",listId:u.dataset.listId})});case 5:t.sent.ok?m():g(),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),g();case 12:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(){return t.apply(this,arguments)}}(),m=function(){s&&u&&(u.hidden=!0,s.hidden=!1)},g=function(){d&&(u.hidden=!0,d.hidden=!1)},b=function(){var t=f(l().mark((function t(e){var n,i,s,f,d,p;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((i=null==u||null===(n=u.dataset)||void 0===n?void 0:n.listId)&&e.preventDefault(),s=!0,h.forEach((function(t){t&&(t.triggerValidationVisibility(),s=s?t.getValidity():s)})),s){t.next=6;break}return t.abrupt("return");case 6:if((f=null==r?void 0:r.querySelector("span.button-label"))&&(d=f.textContent||f.innerText,(0,c.default)(o.$z.CTAClickNewsletter,{link_text:d,link_url:""})),p=h[0],(0,c.default)(o.$z.NewsletterFormFlowEnd,{form_email:p?p.getValue():"",form_language:(0,a.W)()}),!i){t.next=14;break}return t.next=13,v();case 13:return t.abrupt("return");case 14:u.submit();case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();u&&u.addEventListener("submit",b),(h=e.map((function(e){return(0,i.Z)(e,t)}
1))).forEach((function(t){t&&t.on("input",y)}))}}()},8863:(t,e,r)=>{r.d(e,{$:()=>n,$$:()=>o,H:()=>i,Z:()=>a});var n=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector(t)},o=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelectorAll(t)},i=function(t){return function(e){return t.querySelector(e)}},a=function(t){return function(e){return t.querySelectorAll(e)}}},59697:(t,e,r)=>{var n;function o(t){return o="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},o(t)}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{$z:()=>l,Jp:()=>u,VQ:()=>f,Yn:()=>p,ai:()=>d,dF:()=>a,eM:()=>c,qK:()=>s});var a={News:"News",CaseStudy:"CaseStudy",Publication:"Publication",Video:"Video",Podcast:"Podcast",PressRelease:"PressRelease",Insights:"Insights",Other:"Other"},c={News:"news",CaseStudy:"caseStudy",Publication:"publication",Publication_FinancialReports:"publication_FinancialReports",Publication_SustainabilityReports:"publication_SustainabilityReports",Video:"video",Podcast:"podcast",PressRelease:"pressRelease",Insights:"insights",Other:"other"},u={Hidden:"hidden",Visible:"visible"},l={AccordionExpand:"accordion_expand",AccordionCollapse:"accordion_collapse",BreadcrumpLink:"breadcrumb_link",CTAClick:"CTA_click",CTAClickReadOnline:"CTA_click_read_online",CTAClickNewsletter:"CTA_click_newsletter",CarouselImpression:"carousel_impression",CarouselClickThrough:"carousel_clickthrough",ContactFormFlowStart:"contact_form_flow_start",ContactFormFlowEnd:"contact_form_flow_end",NewsletterFormFlowStart:"newsletter_form_flow_start",NewsletterFormFlowEnd:"newsletter_form_flow_end",NotifyMeFormFlowStart:"notify_me_form_flow_start",NotifyMeFormFlowEnd:"notify_me_form_flow_end",ShareContent:"share_content",Video:"video",NavigationMainLink:"navigation_main_link",NavigationSecondaryLink:"navigation_secondary_link",NavigationFooterLink:"navigation_footer_link",NavigationLanguageSwitch:"navigation_language_switch",NavigationAndCountrySwitch:"navigation_language_and_country_switch",PageTabClick:"page_tab_click",TableOfContentLink:"table_of_content_link",ContentPageDetails:"content_page_details",ViewSearchResults:"view_search_results"},s={STORY:"story",CLOUD:"cloud"},f={ArchiveBlock:".archive-block",BiographyPage:".biography-page",Block404:".block404",Block500:".block500",ContainerBlock:".container-block",FeaturedContent:".featured_content",Menu:".menu",TitleBlock:".title-block",ProgrammeSlider:".programme-slider",SpotBanner:".spot-banner",SocialBlock:".social-block",SimpleCard:".simple-card",LocationCard:".location-card",GalleryBlockCTAs:".gallery-block--wrapper__ctas",CardSliderBlockCTAs:".card-slider-block--wrapper__ctas",CardBlockView:".card-block-view",GroupCompanyBlock:".group-company-block",MenuItemPrimary:".menu__item_main",MenuItemSecondary:".menu__item_secondary",Footer:".footer",HeaderMenuButton:".header__menu-button",HeaderButtonBlockRight:".header__block_right",LanguageSelect:"#select-language",Form:"form",TabsHeader:".tabs-block__header",ContentMenu:".content-page__content__menu",SignUpBtn:".sign-up__button",AccordionBlockButtonGroup:".accordion-block__button-group",Media:".media",Popup:".popup",CardBlockViewReadable:'.card-block-view__controls-container[data-control-type="readable"]',CardBlocksViewFooter:".card-block-view__footer"},d={Default:"default",SearchSuggestion:"searchSuggestion",Advanced:"advancedSearch"},p=(i(n={},d.Default,"default"),i(n,d.SearchSuggestion,"via search suggestion"),i(n,d.Advanced,"advanced search"),n)},33918:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(8863);const o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,r=(0,n.$)("#".concat(t),e);if(!r)return null;var o=function(){},i=function(){},a=!1,c=function(t,e){t&&e&&r.addEventListener(t,e)},u=function(){r.classList.add("touched")},l=function(){var t=r.checkValidity();t!==a&&i(a=t)};c("blur",(function(){u()}
1)),c("input",(function(){l()})),c("change",(function(){"SELECT"===r.tagName&&(o(r.value),l())}));var s=r.parentNode,f=s?Array.from(s.children):null;return f&&f.forEach((function(e){e.id!==t&&e.addEventListener("mousedown",(function(){r.focus()}))})),{getElement:function(){return r},on:c,onValueChange:function(t){o=t},onValidityChange:function(t){i=t},setValue:function(t){r.value=t,o(t)},getValue:function(){return r.value},getValidity:function(){return r.checkValidity()},triggerValidationVisibility:u,blur:function(){r.blur()},focus:function(){r.focus()}}}},85435:(t,e,r)=>{function n(){return document.documentElement.lang||"en"}r.d(e,{W:()=>n})},67310:(t,e,r)=>{function n(t){return n="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},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){window.dataLayer=window.dataLayer||[];var r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({event:t},e);window.dataLayer.push(r)}r.r(e),r.d(e,{default:()=>a})}}]);

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.