PageSourceSearch

https://www.beiersdorfusa.com/dist/bdfcw/modules/TotalIncome.4af80d13.js

js beiersdorfusa.com collected 2026-09-29 06:54:01 UTC 4,534 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3538],{30277(t,e,r){var a=r(20017),i=r(98517),n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],a=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(t,e,r){var a,i,o=this;this.element=t,this.chartDataContainer=e,this.mapOverlayContainer=r,this.chartContainer=this.element.querySelector(".cw-chart"),this.chartDescription=this.element.querySelector(".cw-chart-description"),this.chartData=[["Country","Percent"]];var c=Array.from(this.chartDataContainer.getElementsByTagName("input"));try{for(var s=n(c),h=s.next();!h.done;h=s.next()){var l=h.value,u=l.dataset.countryName,d=parseFloat(l.dataset.percent);this.chartData.push([u,d])}}catch(t){a={error:t}}finally{try{h&&!h.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}google.charts.load("current",{packages:["corechart"],callback:function(){return o.initGoogleChart()}})}return t.prototype.initGoogleChart=function(){var t=this;setTimeout(function(){return t.redrawDesktopVersion()},1e3),this.chartContainer.addEventListener("resize",function(){return t.redrawDesktopVersion()}),window.addEventListener("resize",function(){return t.redrawDesktopVersion()})},t.prototype.redrawDesktopVersion=function(){var t=this;void 0===google.visualization?google.charts.load("current",{packages:["corechart"],callback:function(){return t.drawChart()}}):this.drawChart()},t.prototype.drawChart=function(){var t=this,e=this.getChartWidth();if(!(e<1)){this.chartOptions={backgroundColor:"transparent",chartArea:{width:"90%",height:"90%",top:5},enableInteractivity:!1,height:e,legend:{position:"none"},pieHole:.5,pieSliceBorderColor:"transparent",pieSliceText:"none",pieStartAngle:parseFloat(this.chartDataContainer.dataset.rotate),tooltip:{trigger:"none"},width:e};var r=google.visualization.arrayToDataTable(this.chartData),a=new google.visualization.PieChart(this.chartContainer);google.visualization.events.addListener(a,"onmouseover",function(e){return t.showSector(e.row)}),google.visualization.events.addListener(a,"onmouseout",function(){return t.hideSector()}),a.draw(r,this.chartOptions);var i=a.getContainer().getElementsByTagName("svg")[0];this.addChartBackground(i,a)}},t.prototype.showSector=function(t){var e=this,r=Array.from(this.chartDataContainer.querySelectorAll("input")).find(function(e,r){return r===t});if(r){var a=r.dataset.represented;a.split(" ").forEach(function(t){e.activeImage=e.mapOverlayContainer.querySelector('[data-map-overlay~="'.concat(t,'"]')),e.activeImage&&e.activeImage.classList.add("active")}),this.activeDescription=this.chartDescription.querySelector('[data-represented="'.concat(a,'"]')),this.activeDescription&&this.activeDescription.classList.add("active")}},t.prototype.hideSector=function(){this.activeImage&&this.activeImage.classList.remove("active"),this.activeDescription&&this.activeDescription.classList.remove("active")},t.prototype.addChartBackground=function(t,e){var r=e.getChartLayoutInterface().getChartAreaBoundingBox(),a=r.height/2,i=document.createElementNS("http://www.w3.org/2000/svg","circle");i.setAttribute("class","cw-chart-background"),i.setAttribute("cx",(a+r.left).toString()),i.setAttribute("cy",(a+r.top).toString()),i.setAttribute("r",a.toString()),t.prepend(i)},t.prototype.getChartWidth=function(){var t=getComputedStyle(this.chartContainer),e=this.chartContainer.clientWidth;return e-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)},t}(),c=function(){function t(t){this.element=t,this.initSliderForMobile();var e=this.element.querySelector(".cw-data"),r=this.element.querySelectorAll(".cw-chart-container"),a=this.element.querySelector(".cw-map-images");r.forEach(function(t){new o(t,e,a)})}return t.setup=function(e){void 0===e&&(e='[data-module="TotalIncome"]'),Array.from(document.querySelectorAll(e)).filter(function(t){return!t.dataset.moduleInitialized}).forEach(function(e){new t(e),e.dataset.moduleInitialized="true"})},t.prototype.initSliderForMobile=function(){(0,a.Fr)()&&new i.A(".cw-graph-slider").mount()},t}();const s=c;
1(0,a.GP)("https://www.gstatic.com/charts/loader.js").then(function(){return new c.setup}).catch(function(t){return console.error("Google visualization could not be loaded.",t)}),r.d(e,["default",0,s])}}]);
2//# sourceMappingURL=/dist/bdfcw/./modules/TotalIncome.4af80d13.js.779625ef.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.