PageSourceSearch

https://www.pharmaron.com/wp-content/themes/pharmaron/js/background-cards.eac4004acc510e1043c7.js

js pharmaron.com collected 2026-09-25 20:17:12 UTC 2,848 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkpharmaron=self.webpackChunkpharmaron||[]).push([[432],{6231:function(t,e,r){r.r(e);var n=r(9062),i=r(5671),o=r(4942);r(4747),r(1249);var a=embark.breakpoints,u=function t(e){var r=this;(0,i.Z)(this,t),(0,o.Z)(this,"setHeights",(function(){window.requestAnimationFrame((function(){if(r.sameHeightEls.forEach((function(t){t.style.minHeight=""})),a.above("lg")){var t,e=0;r.sameHeightEls.forEach((function(r,n){var i=0,o=r.querySelector(".background-card__body");if(o){var a=window.getComputedStyle(o),u=parseInt(a.getPropertyValue("padding-top")),c=parseInt(a.getPropertyValue("padding-bottom"));u&&(i+=u),c&&(i+=c)}var l=r.querySelector(".background-card__headline");if(l){i+=l.clientHeight;var s=window.getComputedStyle(l),f=parseInt(s.getPropertyValue("margin-bottom"));f&&(i+=f)}var h=r.querySelector(".background-card__container-inner");if(h&&(i+=h.clientHeight),e=i>e?i:e,0===n){var d=window.getComputedStyle(r);t=parseInt(d.getPropertyValue("min-height"))}})),e>t&&r.sameHeightEls.forEach((function(t){t.style.minHeight="".concat(e,"px")}))}}))})),e&&(this.el=e,this.sameHeightEls=this.el.querySelectorAll(".background-card__inner"),this.sameHeightEls.length&&(this.setHeights(),window.addEventListener("resize",this.setHeights)))},c=function(t,e,r){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var n=e.length;return function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}(e,n)}return t(e,r)}(n.Z,document.querySelectorAll(".em-card-grid"));c.length&&c.map((function(t){return new u(t)}))},907:function(t,e,r){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Z:function(){return n}})},5057:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(907);function i(t){if(Array.isArray(t))return(0,n.Z)(t)}},9199:function(t,e,r){function n(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{Z:function(){return n}})},2786:function(t,e,r){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,{Z:function(){return n}})},9062:function(t,e,r){r.d(e,{Z:function(){return u}});var n=r(5057),i=r(9199),o=r(181),a=r(2786);function u(t){return(0,n.Z)(t)||(0,i.Z)(t)||(0,o.Z)(t)||(0,a.Z)()}},181:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(907);function i(t,e){if(t){if("string"==typeof t)return(0,n.Z)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(t,e):void 0}}}}]);
2//# sourceMappingURL=background-cards.eac4004acc510e1043c7.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.