PageSourceSearch

https://media.nngroup.com/static/js/publication-nav.cdc61c34893a.js

js nngroup.com collected 2026-09-24 06:20:00 UTC 4,306 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknng_ui=self.webpackChunknng_ui||[]).push([[501],{6680(e,t,n){var r=n(5999),o=n(354);(0,r.Gc)(function(){var e,t,n,r,c,i,a,l;e=document.querySelectorAll("#navTopicsAll"),t=document.querySelectorAll("#navTopicsPopular"),n=document.querySelector("#navTopics__seeAll"),r=document.querySelector("#navTopics__seeFewer"),n.addEventListener("click",function(n){n.preventDefault(),(0,o.jD)(t),(0,o.WU)(e)}),r.addEventListener("click",function(n){n.preventDefault(),(0,o.jD)(e),(0,o.WU)(t)}),c=document.querySelectorAll("#navAuthorsAll"),i=document.querySelectorAll("#navAuthorsMain"),a=document.querySelector("#navAuthors__seeAll"),l=document.querySelector("#navAuthors__seeFewer"),a.addEventListener("click",function(e){e.preventDefault(),(0,o.jD)(i),(0,o.WU)(c)}),l.addEventListener("click",function(e){e.preventDefault(),(0,o.jD)(c),(0,o.WU)(i)})})},354(e,t,n){function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||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.")}()}function o(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}n.d(t,{L8:()=>f,N6:()=>l,WU:()=>a,b9:()=>c,jD:()=>i,k6:()=>d,vE:()=>s});var c="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe",i=function(e){r(e).forEach(function(e){e.style.display="none"})},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";r(e).forEach(function(e){e.style.display=t})},l=function(){document.querySelectorAll(".clickable-card").forEach(function(e){var t=e.querySelector("a");t&&(e.addEventListener("click",function(e){e.target.closest(".clickable-card--ignore")||t.click()}),e.classList.add("ready"))})},u=function(e){var t=e.currentTarget,n=e.target,r=t.querySelector("input[type=checkbox]:not([disabled])");r&&(n.closest("input[type=checkbox]")||n.closest("select")||r.click())},s=function(){document.querySelectorAll("table tr.selectable-row").forEach(function(e){e.addEventListener("click",u)})},d=function(){document.querySelectorAll(".copy-link-btn").forEach(function(e){var t=e.closest(".copy-link-container"),n=t.querySelector(".copy-link-copied"),r=t.querySelector("[role=status]");e.addEventListener("click",function(){var e=t.querySelector(".copy-link-text").textContent.trim();navigator.clipboard.writeText(e),r.textContent="Link copied to clipboard",n.classList.add("is-visible"),setTimeout(function(){n.classList.remove("is-visible"),r.textContent=""},5e3)})})},f=function(){var e=document.querySelectorAll(".scroll-reveal");if(e.length){var t=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(e.target.classList.add("is-visible"),t.unobserve(e.target))})},{threshold:.2});e.forEach(function(e){return t.observe(e)})}}},5999(e,t,n){n.d(t,{G$:()=>o,Gc:()=>r,Ri:()=>c,nF:()=>a,sg:()=>i});var r=function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},o=function(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,t},c=function(e){var t="; ".concat(document.cookie).match(";\\s*".concat(e,"=([^;]+)"));return t?t[1]:""},i=function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var o=arguments.length,c=new Array(o),i=0;i<o;i++)c[i]=arguments[i];clearTimeout(t),t=setTimeout(function(){e.apply(n,c)},r)}},a=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,o=arguments.length>2?arguments[2]:void 0;return function(){for(var c=arguments.length,i=new Array(c),a=0;a<c;a++)i[a]=arguments[a];var l=o||this,u=Number(new Date);t&&u<t+r?(clearTimeout(n),n=setTimeout(function(){t=u,e.apply(l,i)},r)):(t=u,e.apply(l,i))}}}},e=>{e.O(0,[644],()=>e(e.s=6680)),e.O()}]);;

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.