PageSourceSearch

https://www.aba.com/assets/project/common/js/third-party/simplemaps/select.min.js?v=2026-09-16T15:30:16.000Z

js aba.com collected 2026-09-24 07:28:14 UTC 2,196 bytes, 1 lines download raw bytes

1!function(e){Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),function(e,t){e=e||"docReady",t=t||window;var a=[],c=!1,n=!1;function o(){if(!c){c=!0;for(var e=0;e<a.length;e++)a[e].fn.call(window,a[e].ctx);a=[]}}function i(){"complete"===document.readyState&&o()}t[e]=function(e,t){c?setTimeout((function(){e(t)}),1):(a.push({fn:e,ctx:t}),"complete"===document.readyState||!document.attachEvent&&"interactive"===document.readyState?setTimeout(o,1):n||(document.addEventListener?(document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",o,!1)):(document.attachEvent("onreadystatechange",i),window.attachEvent("onload",o)),n=!0))}}("docReady",window),window[e]={map:!1,on_shift:!1,selected_color:!1},docReady((function(){var t=window[e],a=t.map?t.map:simplemaps_usmap,c=t.on_shift,n=t.selected_color?t.selected_color:a.mapdata.main_settings.state_hover_color,o=[],i=!!t.max&&t.max,s=JSON.parse(JSON.stringify(a.mapdata));a.mapdata.main_settings;function d(e){a.mapdata.state_specific[e]||(a.mapdata.state_specific[e]={}),s.state_specific[e]?s.state_specific[e].color||(s.state_specific[e].color="default"):(s.state_specific[e]={},s.state_specific[e].color="default")}var l=function(e){a.states[e].stop();var t=o.indexOf(e);t>-1&&(o.splice(t,1),d(e),a.mapdata.state_specific[e].color=s.state_specific[e].color),m(e)},f=function(e){o.indexOf(e)<0&&(d(e),function(e){if(t.max&&o.length>=t.max){var a=o[0];t.deselect(a)}}(),a.mapdata.state_specific[e].color=t.selected_color,o.push(e),m(e))},r=function(){for(var e in simplemaps_usmap_mapinfo.paths)f(e)},p=function(){for(var e=o.length,t=1;t<e+1;t++){var a=o[e-t];l(a)}};function m(e){a.refresh_state(e),t.selected=o}var u=function(e,a){if(t.on_shift){var c=a||w.event,n=t.selected.length,i=t.selected.indexOf(e),s=t.selected[n-1];0==n?t.select(e):n>0&&(c.shiftKey?i>-1?t.deselect(e):t.select(e):(t.deselect_all(s),t.select(e)))}else{(i=o.indexOf(e))>-1?l(e):f(e)}};a.hooks.click_state=u,window[e]={map:a,on_shift:c,selected_color:n,max:i,selected:o,upon_click:u,select:f,deselect:l,select_all:r,deselect_all:p},t=window[e]}))}("simplemaps_select");

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.