1!function(){function t(){var t=document.querySelectorAll(".industry-selector__pill"),e=document.querySelector(".list-group"),a=document.querySelector(".dna-industry-selector__pills-wrapper"),s=document.querySelector(".dna-industry-selector__container"),i=window.matchMedia("(min-width: 992px)");t.length>0&&i.matches&&e&&a&&s&&(e.classList.add("dynamic-wrap"),setTimeout((function(){(function(t,e){if(!t||!e.length)return!1;for(var a=t.offsetWidth,s=0,i=0;i<e.length;i++)s+=e[i].offsetWidth,i>0&&(s+=16);return s>a})(e,t)&&(a.classList.add("has-multi-row"),s.classList.add("has-multi-row"))}),0))}t(),setTimeout(t,0),"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",t);var e=0,a=setInterval((function(){e>=10?clearInterval(a):(document.querySelectorAll(".industry-selector__pill").length>0&&(t(),clearInterval(a)),e++)}),10)}(),$(document).ready((function(){var t=new Event("textanimation"),e=window.matchMedia("(min-width: 992px)"),a=window.matchMedia("(max-width: 991px)"),s=window.matchMedia("(min-width: 1280px)"),i=$(".industry-selector__pill"),r=($(".industry-selector-pill-tab"),$(".list-group"));function n(){if(a.matches){var t=$(".list-group"),e=$(".scroll-wrapper"),s=$(".industry-selector__pill");if(t.length&&e.length&&s.length){var i=Array.from(s).reduce((function(t,e){return t+$(e).outerWidth(!0)}),0);i>e.width()&&(t.css("min-width",i+40+"px"),t.css("width","auto"))}}}function o(){var t=$(".dna-industry-selector__pills-wrapper"),a=$(".dna-industry-selector__container");r.find(".line-break").remove(),e.matches&&i.length>0?(r.hasClass("dynamic-wrap")||r.addClass("dynamic-wrap"),r.hasClass("multi-row")&&r.removeClass("multi-row"),setTimeout((function(){var e=r.width(),s=0;i.each((function(){s+=$(this).outerWidth()})),i.length>1&&(s+=16*(i.length-1)),s>e?(t.hasClass("has-multi-row")||t.addClass("has-multi-row"),a.hasClass("has-multi-row")||a.addClass("has-multi-row")):(t.hasClass("has-multi-row")&&t.removeClass("has-multi-row"),a.hasClass("has-multi-row")&&a.removeClass("has-multi-row"))}),10)):(r.hasClass("dynamic-wrap")&&r.removeClass("dynamic-wrap"),r.hasClass("multi-row")&&r.removeClass("multi-row"),t.hasClass("has-multi-row")&&t.removeClass("has-multi-row"),a.hasClass("has-multi-row")&&a.removeClass("has-multi-row"))}a.matches&&(n(),$(window).resize((function(){a.matches&&n()}))),o(),e.addListener((function(t){r.hasClass("dynamic-wrap"),o(),r.hasClass("dynamic-wrap")})),$(window).resize((function(){e.matches&&(clearTimeout(window.industryLayoutResizeTimeout),window.industryLayoutResizeTimeout=setTimeout((function(){o()}),100))}));var l="homepage_user_choice",c="homepage_user_choice_id",d=localStorage.getItem(c);function u(t,e){(i=$(".industry-selector__pill")).removeClass("industry-selector__pill--selected"),$(".industry-selector-pill-tab").removeClass("active show");var a=i.filter((function(){return $(this).data("industry").toLowerCase()===t.toLowerCase()}));a.addClass("industry-selector__pill--selected");var r=a.data("industry"),n=a.data("industrylabel"),o=$("#list-".concat(r));o.length&&o.addClass("active show"),localStorage.setItem(l,n),localStorage.setItem(c,r);var d,u=$("#list-".concat(r," .ecosystem-v1"));u.length&&!e&&(d=s.matches?64:0,$("html, body").stop().animate({scrollTop:u.offset().top-d},1e3))}function h(t){var e={"link-category":"body interactions","link-type":"button click","link-label":t,restriction:"public",cname:"Industry Selector","page-area":"2"};window.document.dispatchEvent(new CustomEvent("msiAEMDataTransfer",{detail:{action:"click","data-uet":e}}))}d&&i.filter('[data-industry="'.concat(d,'"]')).length||(d=i.first().data("industry"),localStorage.setItem(c,d)),u(d,!0),function(){if(i.off("click.industrySelector touchstart.industrySelector touchend.industrySelector"),i.off("click.bs.tab"),i.off("shown.bs.tab"),i=$(".industry-selector__pill"),/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)){var e=null;i.on("touchstart.industrySelector",(function(t){var a=t.originalEvent.touches[0],s=$(".scroll-wrapper");e={x:a.clientX,y:a.clientY,time:Date.now(),target:this,inScrollContainer:s.length>0&&s[0].scrollWidth>s[0].clientWidth},s.length&&s[0]}
1)),i.on("touchend.industrySelector",(function(a){if(e&&e.target===this){var s=a.originalEvent.changedTouches[0],i=Math.abs(s.clientX-e.x),r=Math.abs(s.clientY-e.y),n=Date.now()-e.time,o=n<250,d=n>600,m=i<=12&&r<=12,w=i>15&&(i>r||i>10),y=r>25&&r>1.2*i;if(e.target,e=null,!d&&!w&&!y&&(o&&m||n<=400&&i<=15&&r<=15||n<=150&&i<=20&&r<=20)){a.preventDefault(),a.stopPropagation();var p=$(this),f=p.data("industry"),g=p.data("industrylabel");if(!f||!g)return;if(p.data("processing"))return;p.data("processing",!0),setTimeout((function(){p.removeData("processing")}),300),u(f,!1),h("industry selector_"+g);try{localStorage.setItem(c,f),localStorage.setItem(l,g),document.dispatchEvent(t)}catch(t){console.warn("localStorage not available:",t)}}}else e=null})),i.on("click.industrySelector",(function(e){var a=$(this);if(!a.data("processing")){e.preventDefault(),e.stopPropagation();var s=a.data("industry"),i=a.data("industrylabel");a.data("processing",!0),setTimeout((function(){a.removeData("processing")}),200),u(s,!1),h("industry selector_"+i),localStorage.setItem(c,s),localStorage.setItem(l,i),document.dispatchEvent(t)}}))}else i.on("click.industrySelector",(function(e){e.preventDefault();var a=$(this),s=a.data("industry"),i=a.data("industrylabel");u(s,!1),h("industry selector_"+i),localStorage.setItem(c,s),localStorage.setItem(l,i),document.dispatchEvent(t)}));i.each((function(){var t=$(this);t.attr("data-toggle")||t.attr("data-toggle","list"),t.attr("role")||t.attr("role","tab")}))}(),$("#all-industries-btn").on("click",(function(){h("all industries")})),e.matches&&$(".herocarousel-v1").find(".herocarousel-v1__carousel").length>0&&$(".dna-industry-selector__wrapper").css({position:"absolute"})})); 2//# sourceMappingURL=industrySelector.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.