1(()=>{"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.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)?e(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var n=document.querySelectorAll("input[type=checkbox][name=industries]"),r=document.querySelectorAll(".ind-feat-card"),a=document.querySelector(".ind-feat-grid-cover"),o=[],i=JSON.parse(localStorage.getItem("cf-self-industries")),c=function(e){e.tabIndex=-1,t(e.children).forEach(c)},s=function(e){e.removeAttribute("tabindex"),t(e.children).forEach(s)};function u(e,t,n,r){var a=e.dataset.weightSelected;e.dataset[t].length>0&&(1==r?n.checked&&(a=parseInt(a)+parseInt(e.dataset[t])):0==r&&(a=n.checked?parseInt(a)+parseInt(e.dataset[t]):parseInt(a)-parseInt(e.dataset[t]))),e.dataset.weightSelected=a}function l(e,t){var i=e.value;i=i.charAt(0).toUpperCase()+i.slice(1);var l="weight".concat(i);o=Array.from(n).filter((function(e){return e.checked})).map((function(e){return e.value})),r.forEach((function(n){n.classList.remove("flipped"),u(n,l,e,1==t)})),o.length>0?(a.classList.remove("empty"),a.removeAttribute("aria-hidden","true"),s(a),function(){for(var e=[],t=document.getElementsByTagName("br")[0],n=0;n<r.length;++n)e.push(r[n]);e.sort((function(e,t){return t.dataset.weightSelected.localeCompare(e.dataset.weightSelected,"en",{numeric:!0})})),e.forEach((function(e){document.getElementsByClassName("ind-feat-grid")[0].insertBefore(e,t)}))}()):(a.classList.add("empty"),a.setAttribute("aria-hidden","true"),c(a))}window.onload=function(){null!=i&&i.length>0?(o=i,n.forEach((function(e){o.includes(e.value)&&(e.checked=!0)})),n.forEach((function(e){l(e,!0)}))):(c(a),a.setAttribute("aria-hidden","true"))},n.forEach((function(e){e.addEventListener("change",(function(){l(e,!1),localStorage.setItem("cf-self-industries",JSON.stringify(o))}))})),r.forEach((function(e){for(var t=e.getElementsByClassName("icon-flip"),n=0;n<t.length;n++)t.item(n).addEventListener("click",(function(){e.classList.contains("flipped")?(e.classList.remove("flipped"),setTimeout((function(){t[0].focus()}),50),console.log("focused: ",document.activeElement)):(e.classList.add("flipped"),setTimeout((function(){t[1].focus()}),50),console.log("focused: ",document.activeElement))}))}))})(); 2//# sourceMappingURL=industry-features.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.