PageSourceSearch

https://www.westga.edu/_z_resources/js/z/bootstrap-responsive-tabs.js

js westga.edu collected 2026-09-24 08:45:27 UTC 3,567 bytes, 1 lines download raw bytes

1var fakewaffle=function(a,e){"use strict";return e.responsiveTabs=function(s){e.currentPosition="tabs";var t=a(".nav-tabs.responsive"),n="";a.each(t,(function(e){var s,t=a(this),r=t.find("li a");void 0===t.attr("id")&&t.attr("id","tabs-"+e),s=a("<div></div>",{class:"card-soup responsive d-sm-none",id:"collapse-"+t.attr("id")}),a.each(r,(function(){var e=a(this),r=void 0===e.attr("class")?"":e.attr("class"),i="accordion-toggle",o=void 0===e.parent().attr("class")?"":e.parent().attr("class"),c="card",l=e.get(0).hash.replace("#","collapse-");r.length>0&&(i+=" "+r),o.length>0&&(c=(c=(c+=" "+(o=o.replace(/\bactive\b/g,""))).replace(/\s{2,}/g," ")).replace(/^\s+|\s+$/g,"")),e.parent().hasClass("active")&&(n="#"+l),s.append(a("<div>").attr("class",c).html(a("<div>").attr("class","card-header").html(a("<div>").attr("class","card-title").html(a("<a>",{class:i,"data-toggle":"collapse","data-parent":"#collapse-"+t.attr("id"),href:"#"+l,html:e.html()})))).append(a("<div>",{id:l,class:"collapse"})))})),t.next().after(s),t.addClass(" d-none d-sm-flex"),a(".tab-content.responsive").addClass(" d-none d-sm-flex"),n&&a(n).collapse("show")})),e.checkResize(),e.bindTabToCollapse()},e.checkResize=function(){!0===a(".card-soup.responsive").is(":visible")&&"tabs"===e.currentPosition?(e.tabToPanel(),e.currentPosition="panel"):!1===a(".card-soup.responsive").is(":visible")&&"panel"===e.currentPosition&&(e.panelToTab(),e.currentPosition="tabs")},e.tabToPanel=function(){var e=a(".nav-tabs.responsive");a.each(e,(function(e,s){var t=a(s).next(".tab-content").find(".tab-pane");a.each(t,(function(e,s){var t=a(s).attr("id").replace(/^/,"#collapse-");a(s).removeClass("tab-pane").addClass("card-body fw-previous-tab-pane").appendTo(a(t))}))}))},e.panelToTab=function(){var e=a(".card-soup.responsive");a.each(e,(function(e,s){var t=a(s).attr("id").replace("collapse-","#"),n=a(t).next(".tab-content")[0];a(s).find(".card-body.fw-previous-tab-pane").removeClass("card-body fw-previous-tab-pane").addClass("tab-pane").appendTo(a(n)),a(s).find(".card-body.fw-previous-tab-pane.active").removeClass("active"),$(".tabs--vertical .nav-link.active").removeClass("active"),$(".tab-content .active").removeClass("active");var r=0;$(".card-soup.responsive .nav-item").each((function(a){!0===$(this).find(".collapse").hasClass("show")&&(r=a)})),$(".tabs--vertical .nav-link").eq(r).addClass("active"),$(".tab-content .tab-pane").eq(r).addClass("active")}))},e.bindTabToCollapse=function(){var s=a(".nav-tabs.responsive").find("li a"),t=a(".card-soup.responsive").find(".card-collapse");s.on("shown.bs.tab",(function(s){"tabs"===e.currentPosition&&(a(s.currentTarget.hash.replace(/#/,"#collapse-")).collapse("show"),s.relatedTarget&&a(s.relatedTarget.hash.replace(/#/,"#collapse-")).collapse("hide"))})),t.on("shown.bs.collapse",(function(s){if("panel"===e.currentPosition){var t=a(s.target).context.id.replace(/collapse-/g,"#");a('a[href="'+t+'"]').tab("show");var n=a(s.currentTarget).closest(".card-soup.responsive");a(n).find(".card-body").removeClass("active"),a(s.currentTarget).find(".card-body").addClass("active")}}))},a(window).resize((function(){e.checkResize()})),e}(window.jQuery,fakewaffle||{});fakewaffle.responsiveTabs();var version=detectIE();function detectIE(){var a=window.navigator.userAgent,e=a.indexOf("MSIE ");if(e>0)return parseInt(a.substring(e+5,a.indexOf(".",e)),10);if(a.indexOf("Trident/")>0){var s=a.indexOf("rv:");return parseInt(a.substring(s+3,a.indexOf(".",s)),10)}var t=a.indexOf("Edge/");return t>0&&parseInt(a.substring(t+5,a.indexOf(".",t)),10)}

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.