<html><head></head><body>{"version":3,"sources":["article-tables.js","article-tabs.js","tabs.js","article-accordions.js","subpage.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"subpage.js","sourcesContent":["// in your main.js, homepage.js or subpage.js use $('SELECTORS').responsiveTables();\r\n// the container will be searched for tables to make responsive\r\n$.fn.responsiveTables = function () {\r\n var tableContainer = this;\r\n $('table', tableContainer).each(function () {\r\n // $('table:not(.pagenation > table')', tableContainer).each(function () {\r\n var responsiveTable = $(this);\r\n\r\n responsiveTable.removeAttr('border').removeAttr('cell-spacing').removeAttr('cellpadding');\r\n\r\n if (responsiveTable.find('thead').length === 0 && responsiveTable.find('tbody>tr>th').length === 0) {\r\n responsiveTable.find('tbody').before('');\r\n responsiveTable.find('thead tr').append(responsiveTable.find('tbody tr:first td'));\r\n // responsiveTable.find('thead tr td').replaceWith('' + $(this).text() + '');\r\n $('thead td', responsiveTable).each(function () {\r\n $(this).replaceWith('' + $(this).text() + '');\r\n });\r\n responsiveTable.find('tbody tr:first').remove();\r\n } else if (responsiveTable.find('tbody>tr>th').length > 0) {\r\n responsiveTable.find('tbody').before('');\r\n responsiveTable.find('thead tr').append(responsiveTable.find('th'));\r\n responsiveTable.find('tbody tr:first').remove();\r\n }\r\n\r\n if (!$(responsiveTable).parents('.search-results').length) {\r\n $(responsiveTable).addClass('responsive-table').attr('style', '');\r\n }\r\n\r\n $('td', responsiveTable).each(function () {\r\n var responsiveTableCell = $(this);\r\n var responsiveTableHeader = responsiveTableCell.closest('table').find('th').eq(responsiveTableCell.index()).text();\r\n $(responsiveTableCell).wrapInner('<span class='\"cell-content\"'></span>').prepend('<span class='\"cell-heading\"'>' + responsiveTableHeader + '</span>');\r\n });\r\n });\r\n}","jQuery(document).ready(function ($) {\r\n function gatherTabs() {\r\n var r = $.Deferred();\r\n $(':not(.tab-content) + .tab-content, * > .tab-content:first-of-type').each(function () {\r\n $(this).nextUntil(':not(.tab-content)').addBack().wrapAll('<div class='\"tabs\"'>');\r\n });\r\n return r;\r\n }\r\n function makeTabs() {\r\n $('.tabs').each(function () {\r\n // The class for the container div\r\n var tabContainer = $(this);\r\n var tabContainerIndex = $(this).index();\r\n\r\n // The setup\r\n tabContainer.prepend(\r\n $('<div class='\"tab-con\"/'>').prepend(\r\n $('<ul class='\"tab-list\"' role='\"tablist\"/'>')\r\n )\r\n );\r\n $('.tab-content', tabContainer).each(function () {\r\n var tabHeading = $(this).find(\"> .tab-title\").html();\r\n console.log(tabHeading);\r\n var tabHeadingID = 'tabs' + tabContainerIndex + 'tab' + $(this).index();\r\n $('ul.tab-list', tabContainer).append('<li><a '\"="" +="" href="\"#'" tabheadingid="">' + tabHeading + '</a></li>');\r\n $(this).attr('id', tabHeadingID);\r\n });\r\n $('[role=\"tablist\"] > li', tabContainer).attr('role', 'presentation');\r\n $('[role=\"tablist\"] a', tabContainer).attr({\r\n 'role': 'tab',\r\n 'tabindex': '-1'\r\n });\r\n // Make each aria-controls correspond id of targeted section (re href)\r\n $('[role=\"tablist\"] a', tabContainer).each(function () {\r\n $(this).attr('aria-controls', $(this).attr('href').substring(1));\r\n });\r\n // Make the first tab selected by default and allow it focus\r\n $('[role=\"tablist\"] li:first-child a', tabContainer).attr({\r\n 'aria-selected': 'true',\r\n 'tabindex': '0'\r\n });\r\n // Make each section focusable and give it the tabpanel role\r\n $('section', tabContainer).attr({\r\n 'role': 'tabpanel'\r\n });\r\n // Make first child of each panel focusable programmatically\r\n $('section > *:first-child', tabContainer).attr({\r\n 'tabindex': '0'\r\n });\r\n // Make all but the first section hidden (ARIA state and display CSS)\r\n $('[role=\"tabpanel\"]:not(:first-of-type)', tabContainer).attr({\r\n 'aria-hidden': 'true'\r\n });\r\n // Change focus between tabs with arrow keys\r\n $('[role=\"tab\"]', tabContainer).on('keydown', function (e) {\r\n // define current, previous and next (possible) tabs\r\n var tabCurrent = $(this);\r\n var tabPrev = $(this).parents('li').prev().children('[role=\"tab\"]');\r\n var tabNext = $(this).parents('li').next().children('[role=\"tab\"]');\r\n var tabTarget;\r\n // find the direction (prev or next)\r\n switch (e.keyCode) {\r\n case 37:\r\n tabTarget = tabPrev;\r\n break;\r\n case 39:\r\n tabTarget = tabNext;\r\n break;\r\n default:\r\n tabTarget = false\r\n break;\r\n }\r\n if (tabTarget.length) {\r\n tabCurrent.attr({\r\n 'tabindex': '-1',\r\n 'aria-selected': null\r\n });\r\n tabTarget.attr({\r\n 'tabindex': '0',\r\n 'aria-selected': true\r\n }).focus();\r\n }\r\n // Hide panels\r\n $('[role=\"tabpanel\"]', tabContainer).attr('aria-hidden', 'true');\r\n // Show panel which corresponds to target\r\n $('#' + $(document.activeElement).attr('href').substring(1)).attr('aria-hidden', null);\r\n });\r\n // Handle click on tab to show + focus tabpanel\r\n $('[role=\"tab\"]', tabContainer).on('click', function (e) {\r\n e.preventDefault();\r\n var tabID = $(this).attr('href');\r\n // remove focusability [sic] and aria-selected\r\n $('[role=\"tab\"]', tabContainer).attr({\r\n 'tabindex': '-1',\r\n 'aria-selected': null\r\n });\r\n // replace above on clicked tab\r\n $(this).attr({\r\n 'aria-selected': true,\r\n 'tabindex': '0'\r\n });\r\n // Hide panels\r\n $('[role=\"tabpanel\"]', tabContainer).attr('aria-hidden', 'true');\r\n // show corresponding panel\r\n $('section' + tabID).attr('aria-hidden', null);\r\n });\r\n\r\n // wrap tabs\r\n var wrapTabs = $('.tab-con', tabContainer);\r\n var tabsContainerWidth = $('.tab-con', tabContainer).outerWidth();\r\n var tabsWidth = $('ul.tab-list', tabContainer).outerWidth();\r\n var scrollWidth = tabsWidth - tabsContainerWidth;\r\n\r\n if (tabsWidth > tabsContainerWidth) {\r\n tabContainer.addClass('scroll-right');\r\n wrapTabs.on('scroll', function () {\r\n if (wrapTabs.scrollLeft() >= tabsWidth - tabsContainerWidth) {\r\n tabContainer.removeClass('scroll-right');\r\n } else {\r\n tabContainer.addClass('scroll-right');\r\n }\r\n if (wrapTabs.scrollLeft() > 1) {\r\n tabContainer.addClass('scroll-left');\r\n } else {\r\n tabContainer.removeClass('scroll-left');\r\n }\r\n });\r\n }\r\n });\r\n }\r\n gatherTabs().done(makeTabs());\r\n});","jQuery(document).ready(function ($) {\r\n $('.tabs').each(function () {\r\n // The class for the container div\r\n var tabContainer = $(this);\r\n var tabContainerIndex = $(this).index();\r\n var wrapTabs = $('.tab-con', tabContainer);\r\n // The setup\r\n $('ul.tab-list', tabContainer).empty().attr('role', 'tablist');\r\n $('.tab-content', tabContainer).each(function () {\r\n var tabHeading = $(this).find(\"> .tab-title\").html();\r\n var tabHeadingID = 'tabs' + tabContainerIndex + 'tab' + $(this).index();\r\n $('ul.tab-list', tabContainer).append('<li><a '\"="" +="" href="\"#'" tabheadingid="">' + tabHeading + '</a></li>');\r\n $(this).attr('id', tabHeadingID);\r\n });\r\n $('[role=\"tablist\"] > li', tabContainer).attr('role', 'presentation');\r\n $('[role=\"tablist\"] a', tabContainer).attr({\r\n 'role': 'tab',\r\n 'tabindex': '-1'\r\n });\r\n // Make each aria-controls correspond id of targeted section (re href)\r\n $('[role=\"tablist\"] a', tabContainer).each(function () {\r\n $(this).attr('aria-controls', $(this).attr('href').substring(1));\r\n });\r\n // Make the first tab selected by default and allow it focus\r\n $('[role=\"tablist\"] li:first-child a', tabContainer).attr({\r\n 'aria-selected': 'true',\r\n 'tabindex': '0'\r\n });\r\n // Make each section focusable and give it the tabpanel role\r\n $('section', tabContainer).attr({\r\n 'role': 'tabpanel'\r\n });\r\n // Make first child of each panel focusable programmatically\r\n $('section > *:first-child', tabContainer).attr({\r\n 'tabindex': '0'\r\n });\r\n // Make all but the first section hidden (ARIA state and display CSS)\r\n $('[role=\"tabpanel\"]:not(:first-of-type)', tabContainer).attr({\r\n 'aria-hidden': 'true'\r\n });\r\n // Change focus between tabs with arrow keys\r\n $('[role=\"tab\"]', tabContainer).on('keydown', function (e) {\r\n // define current, previous and next (possible) tabs\r\n var tabCurrent = $(this);\r\n var tabPrev = $(this).parents('li').prev().children('[role=\"tab\"]');\r\n var tabNext = $(this).parents('li').next().children('[role=\"tab\"]');\r\n var tabTarget;\r\n // find the direction (prev or next)\r\n switch (e.keyCode) {\r\n case 37:\r\n tabTarget = tabPrev;\r\n break;\r\n case 39:\r\n tabTarget = tabNext;\r\n break;\r\n default:\r\n tabTarget = false\r\n break;\r\n }\r\n if (tabTarget.length) {\r\n tabCurrent.attr({\r\n 'tabindex': '-1',\r\n 'aria-selected': null\r\n });\r\n tabTarget.attr({\r\n 'tabindex': '0',\r\n 'aria-selected': true\r\n }).focus();\r\n }\r\n // Hide panels\r\n $('[role=\"tabpanel\"]', tabContainer).attr('aria-hidden', 'true');\r\n // Show panel which corresponds to target\r\n $('#' + $(document.activeElement).attr('href').substring(1)).attr('aria-hidden', null);\r\n });\r\n // Handle click on tab to show + focus tabpanel\r\n $('[role=\"tab\"]', tabContainer).on('click', function (e) {\r\n e.preventDefault();\r\n var tabID = $(this).attr('href');\r\n // remove focusability [sic] and aria-selected\r\n $('[role=\"tab\"]', tabContainer).attr({\r\n 'tabindex': '-1',\r\n 'aria-selected': null\r\n });\r\n // replace above on clicked tab\r\n $(this).attr({\r\n 'aria-selected': true,\r\n 'tabindex': '0'\r\n });\r\n // Hide panels\r\n $('[role=\"tabpanel\"]', tabContainer).attr('aria-hidden', 'true');\r\n // show corresponding panel\r\n // $('#' + $(this).attr('href').substring(1)).attr('aria-hidden', null);\r\n $('section' + tabID).attr('aria-hidden', null);\r\n });\r\n\r\n var tabsContainerWidth = $('.tab-con', tabContainer).outerWidth();\r\n var tabsWidth = $('ul.tab-list', tabContainer).outerWidth();\r\n var scrollWidth = tabsWidth - tabsContainerWidth;\r\n\r\n if (tabsWidth > tabsContainerWidth) {\r\n tabContainer.addClass('scroll-right');\r\n wrapTabs.on('scroll', function () {\r\n if (wrapTabs.scrollLeft() >= tabsWidth - tabsContainerWidth) {\r\n tabContainer.removeClass('scroll-right');\r\n } else {\r\n tabContainer.addClass('scroll-right');\r\n }\r\n if (wrapTabs.scrollLeft() > 1) {\r\n tabContainer.addClass('scroll-left');\r\n } else {\r\n tabContainer.removeClass('scroll-left');\r\n }\r\n });\r\n }\r\n });\r\n});","jQuery(document).ready(function ($) {\r\n function gatherAccordions() {\r\n var r = $.Deferred();\r\n $(':not(.accordion) + .accordion, * > .accordion:first-of-type').each(function () {\r\n $(this).nextUntil(':not(.accordion)').addBack().wrapAll('<div active\"="" class='\"accordions'>');\r\n });\r\n return r;\r\n }\r\n function accordionTitles() {\r\n var r = $.Deferred();\r\n var titleCount = 0;\r\n $('.accordions .accordion:not(\".alternate\") .accordion-title').each(function () {\r\n titleCount++;\r\n var $this = $(this);\r\n var id = 'accordion-' + titleCount;\r\n var titleID = 'accordion-title-' + titleCount;\r\n $this.attr('id', titleID);\r\n if ($this.hasClass('open')) {\r\n $this.addClass('is-active');\r\n if ($this.is('div')) {\r\n $('h2', $this).wrapInner('<button '\"="" +="" aria-controls="\"'" aria-expanded='\"true\"' false;\"="" id="" onclick='\"return'>');\r\n } else {\r\n $this.wrapInner('</button><button '\"="" +="" aria-controls="\"'" aria-expanded='\"true\"' false;\"="" id="" onclick='\"return'>');\r\n }\r\n } else {\r\n if ($this.is('div')) {\r\n $('h2', $this).wrapInner('</button><button '\"="" +="" aria-controls="\"'" aria-expanded='\"false\"' false;\"="" id="" onclick='\"return'>');\r\n } else {\r\n $this.wrapInner('</button><button '\"="" +="" aria-controls="\"'" aria-expanded='\"false\"' false;\"="" id="" onclick='\"return'>');\r\n }\r\n }\r\n });\r\n return r;\r\n }\r\n\r\n function accordionTitlesAlternate() {\r\n var r = $.Deferred();\r\n var titleCount = 0;\r\n $('.accordions .accordion.alternate .accordion-title').each(function () {\r\n titleCount++;\r\n var $this = $(this);\r\n var id = 'accordion-alt-' + titleCount;\r\n var titleID = 'accordion-title-' + titleCount;\r\n $this.attr('id', titleID);\r\n if ($this.hasClass('open')) {\r\n $this.addClass('is-active');\r\n if ($this.is('div')) {\r\n $('h2', $this).append('</button><button '\"="" +="" aria-controls="\"'" aria-expanded='\"true\"' false;\"="" id="" onclick='\"return'>View More <span class='\"fas' fa-caret-down\"=""></span></button>');\r\n } else {\r\n $this.append('<button '\"="" +="" aria-controls="\"'" aria-expanded='\"true\"' false;\"="" id="" onclick='\"return'>View More <span class='\"fas' fa-caret-down\"=""></span></button>');\r\n }\r\n } else {\r\n if ($this.is('div')) {\r\n $('h2', $this).append('<button '\"="" +="" aria-controls="\"'" aria-expanded='\"false\"' false;\"="" id="" onclick='\"return'>View More <span class='\"fas' fa-caret-down\"=""></span></button>');\r\n } else {\r\n $this.append('<button '\"="" +="" aria-controls="\"'" aria-expanded='\"false\"' false;\"="" id="" onclick='\"return'>View More <span class='\"fas' fa-caret-down\"=""></span></button>');\r\n }\r\n }\r\n\r\n $('.accordions .accordion.alternate .accordion-title button').each(function () {\r\n $(this).appendTo($(this).parent().parent());\r\n });\r\n\r\n });\r\n return r;\r\n }\r\n\r\n function accordionContent() {\r\n var r = $.Deferred();\r\n var contentCount = 0;\r\n $('.accordions .accordion .accordion-content').each(function () {\r\n contentCount++;\r\n var $this = $(this);\r\n var id = 'accordion-' + contentCount;\r\n if ($this.prev('.accordion-title').hasClass('is-active')) {\r\n $this.attr('id', id).attr('aria-hidden', 'false');\r\n } else {\r\n $this.attr('id', id).attr('aria-hidden', 'true');\r\n }\r\n });\r\n return r;\r\n }\r\n\r\n function accordionContentAlternate() {\r\n var r = $.Deferred();\r\n var contentCount = 0;\r\n $('.accordions .accordion.alternate .accordion-content').each(function () {\r\n contentCount++;\r\n var $this = $(this);\r\n var id = 'accordion-alt-' + contentCount;\r\n if ($this.prev('.accordion-title').hasClass('is-active')) {\r\n $this.attr('id', id).attr('aria-hidden', 'false');\r\n } else {\r\n $this.attr('id', id).attr('aria-hidden', 'true');\r\n }\r\n });\r\n return r;\r\n }\r\n\r\n function accordionButtons() {\r\n $('.accordions .accordion button').on('click', function (e) {\r\n e.preventDefault();\r\n var id = $(this).attr('aria-controls');\r\n var state = $(this).attr('aria-expanded');\r\n var panel = $('.accordion-content#' + id);\r\n if ($(this).parent().hasClass('is-active')) {\r\n $(this).parent().removeClass('is-active').addClass('is-inactive');\r\n $(this).attr('aria-expanded', 'false');\r\n panel.attr('aria-hidden', 'true');\r\n } else {\r\n $(this).parent().removeClass('is-inactive').addClass('is-active');\r\n $(this).attr('aria-expanded', 'true');\r\n panel.attr('aria-hidden', 'false');\r\n }\r\n });\r\n\r\n $('.accordions .accordion.alternate button').on('click', function (e) {\r\n e.preventDefault();\r\n if ($(this).parent().hasClass('is-active')) {\r\n $(this).html(\"View Less <span class="fas fa-caret-up"></span>\");\r\n } else {\r\n $(this).html(\"View More <span class="fas fa-caret-down"></span>\");\r\n }\r\n });\r\n }\r\n\r\n gatherAccordions().done(accordionTitles().done(accordionTitlesAlternate().done(accordionContent().done(accordionContentAlternate().done(accordionButtons())))));\r\n\r\n if (window.location.hash) {\r\n var hash = window.location.hash;\r\n var urlAccordion = $('.accordion-title' + hash);\r\n if (urlAccordion.length) {\r\n console.log('has hash');\r\n urlAccordion.addClass('is-active');\r\n urlAccordion.find('> button').attr('aria-expanded', 'true');\r\n urlAccordion.next('.accordion-content').attr('aria-hidden', 'false');\r\n }\r\n }\r\n});","jQuery(document).ready(function ($) {\r\n // image alt\r\n $('img').each(function () {\r\n var img = $(this);\r\n var src = $(this).attr('src');\r\n var alt = $(this).attr('alt');\r\n var filename = src.split('/').reverse()[0].replace(/\\..+$/, '');\r\n if (img.parent('a').length !== 0) {\r\n console.log('parent is a link');\r\n if (alt === '' || alt === undefined) {\r\n img.attr('alt', 'image ' + filename);\r\n }\r\n } else {\r\n if (alt === '' || alt === undefined) {\r\n img.attr('alt', '');\r\n }\r\n }\r\n });\r\n\r\n // breadcrumbs\r\n $('ul.breadcrumb').prepend('<li><a href='\"/\"'>Home</a></li>');\r\n\r\n //View More for Directory\r\n $('.bio-content-toggle').click(function () {\r\n var $bio = $(this).parent();\r\n var $toggletext = $(this).children('.text');\r\n\r\n if ($bio.hasClass('expanded')) {\r\n $bio.removeClass('expanded');\r\n $toggletext.text(\"View More\");\r\n } else {\r\n $bio.addClass('expanded');\r\n $toggletext.text(\"View Less\");\r\n }\r\n });\r\n\r\n $('.bio-content-toggle').on('keypress', function (e) {\r\n if (e.which === 13) {\r\n var $bio = $(this).parent();\r\n var $toggletext = $(this).children('.text');\r\n\r\n if ($bio.hasClass('expanded')) {\r\n $bio.removeClass('expanded');\r\n $toggletext.text(\"View More\");\r\n } else {\r\n $bio.addClass('expanded');\r\n $toggletext.text(\"View Less\");\r\n }\r\n }\r\n });\r\n\r\n // cost calculator\r\n function costCalculator() {\r\n var tuition = parseFloat('9650');\r\n // var student1 = $('input[name=\"student1\"]');\r\n var student1Discount;\r\n var student1Tuition;\r\n // var student2 = $('input[name=\"student2\"]');\r\n var student2Discount;\r\n var student2Tuition;\r\n // var student3 = $('input[name=\"student3\"]');\r\n var student3Discount;\r\n var student3Tuition;\r\n // var student4 = $('input[name=\"student4\"]');\r\n var student4Discount;\r\n var student4Tuition;\r\n\r\n // convert to dollars\r\n students();\r\n\r\n $('.cost-calculator select, .cost-calculator input[type=\"radio\"]').on('change', function () {\r\n attendingSHGDiscount = parseFloat($('#attendingSHG').find(':selected').attr('data-value'));\r\n if (attendingSHGDiscount === 1000) {\r\n student1Discount1 = 0;\r\n student2Discount1 = 1000;\r\n student3Discount1 = 0;\r\n student4Discount1 = 0;\r\n if (!$('.student2').is(':visible')) {\r\n $('.student2').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n if ($('.student3').is(':visible')) {\r\n $('.student3').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n if ($('.student4').is(':visible')) {\r\n $('.student4').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n $('.results').css('opacity', '1');\r\n } else if (attendingSHGDiscount === 2000) {\r\n student1Discount1 = 0;\r\n student2Discount1 = 1000;\r\n student3Discount1 = 2000;\r\n student4Discount1 = 0;\r\n if (!$('.student2').is(':visible')) {\r\n $('.student2').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n if (!$('.student3').is(':visible')) {\r\n $('.student3').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n if ($('.student4').is(':visible')) {\r\n $('.student4').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n $('.results').css('opacity', '1');\r\n } else if (attendingSHGDiscount === 9650) {\r\n student1Discount1 = 0;\r\n student2Discount1 = 1000;\r\n student3Discount1 = 2000;\r\n student4Discount1 = 9650;\r\n if (!$('.student2').is(':visible')) {\r\n $('.student2').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n if (!$('.student3').is(':visible')) {\r\n $('.student3').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n if (!$('.student4').is(':visible')) {\r\n $('.student4').fadeIn(350).prev('label').fadeIn(350);\r\n }\r\n $('.results').css('opacity', '1');\r\n } else {\r\n student1Discount1 = 0;\r\n student2Discount1 = 0;\r\n student3Discount1 = 0;\r\n student4Discount1 = 0;\r\n if ($('.student2').is(':visible')) {\r\n $('.student2').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n if ($('.student3').is(':visible')) {\r\n $('.student3').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n if ($('.student4').is(':visible')) {\r\n $('.student4').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n $('.results').css('opacity', '1');\r\n }\r\n\r\n attendingSCGSDiscount = parseFloat($('#attendingSCGS').find(':selected').attr('data-value'));\r\n if (attendingSCGSDiscount === 500) {\r\n student1Discount2 = 500;\r\n student2Discount2 = 500;\r\n student3Discount2 = 500;\r\n student4Discount2 = 500;\r\n } else if (attendingSCGSDiscount === 1000) {\r\n student1Discount2 = 1000;\r\n student2Discount2 = 1000;\r\n student3Discount2 = 1000;\r\n student4Discount2 = 1000;\r\n } else if (attendingSCGSDiscount === 1500) {\r\n student1Discount2 = 1500;\r\n student2Discount2 = 1500;\r\n student3Discount2 = 1500;\r\n student4Discount2 = 1500;\r\n } else if (attendingSCGSDiscount === 2000) {\r\n student1Discount2 = 2000;\r\n student2Discount2 = 2000;\r\n student3Discount2 = 2000;\r\n student4Discount2 = 2000;\r\n } else {\r\n student1Discount2 = 0;\r\n student2Discount2 = 0;\r\n student3Discount2 = 0;\r\n student4Discount2 = 0;\r\n }\r\n\r\n cgsDiscount = parseFloat($('input[name=\"cgs\"]:checked').attr('data-value'));\r\n if (cgsDiscount === 1000) {\r\n student1Discount3 = 1000;\r\n student2Discount3 = 1000;\r\n student3Discount3 = 1000;\r\n student4Discount3 = 0;\r\n } else {\r\n student1Discount3 = 0;\r\n student2Discount3 = 0;\r\n student3Discount3 = 0;\r\n student4Discount3 = 0;\r\n }\r\n\r\n paymentDiscount = parseFloat($('#paymentPlan').find(':selected').attr('data-value'));\r\n if (paymentDiscount === 50) {\r\n student1Discount4 = 50;\r\n student2Discount4 = 50;\r\n student3Discount4 = 50;\r\n student4Discount4 = 50;\r\n } else if (paymentDiscount === 100) {\r\n student1Discount4 = 100;\r\n student2Discount4 = 100;\r\n student3Discount4 = 100;\r\n student4Discount4 = 100;\r\n } else {\r\n student1Discount4 = 0;\r\n student2Discount4 = 0;\r\n student3Discount4 = 0;\r\n student4Discount4 = 0;\r\n }\r\n\r\n incomeDiscount = parseFloat($('#income').find(':selected').attr('data-value'));\r\n if (incomeDiscount === 3500) {\r\n student1Discount5 = 3500;\r\n student2Discount5 = 3500;\r\n student3Discount5 = 3500;\r\n student4Discount5 = 3500;\r\n } else if (incomeDiscount === 3000) {\r\n student1Discount5 = 3000;\r\n student2Discount5 = 3000;\r\n student3Discount5 = 3000;\r\n student4Discount5 = 3000;\r\n } else if (incomeDiscount === 2500) {\r\n student1Discount5 = 2500;\r\n student2Discount5 = 2500;\r\n student3Discount5 = 2500;\r\n student4Discount5 = 2500;\r\n } else if (incomeDiscount === 2000) {\r\n student1Discount5 = 2000;\r\n student2Discount5 = 2000;\r\n student3Discount5 = 2000;\r\n student4Discount5 = 2000;\r\n } else if (incomeDiscount === 1500) {\r\n student1Discount5 = 1500;\r\n student2Discount5 = 1500;\r\n student3Discount5 = 1500;\r\n student4Discount5 = 1500;\r\n } else if (incomeDiscount === 1000) {\r\n student1Discount5 = 1000;\r\n student2Discount5 = 1000;\r\n student3Discount5 = 1000;\r\n student4Discount5 = 1000;\r\n } else {\r\n student1Discount5 = 0;\r\n student2Discount5 = 0;\r\n student3Discount5 = 0;\r\n student4Discount5 = 0;\r\n }\r\n\r\n student1DiscountTotal = student1Discount1 + student1Discount2 + student1Discount3 + student1Discount4 + student1Discount5;\r\n student1Tuition = tuition - student1DiscountTotal;\r\n student1DiscountTotal1 = student1Discount1;\r\n student1DiscountTotal2 = student1Discount1 + student1Discount2;\r\n student1DiscountTotal3 = student1Discount1 + student1Discount2 + student1Discount3;\r\n student1DiscountTotal4 = student1Discount1 + student1Discount2 + student1Discount3 + student1Discount4;\r\n student1DiscountTotal5 = student1Discount1 + student1Discount2 + student1Discount3 + student1Discount4 + student1Discount5;\r\n student1Tuition1 = tuition - student1DiscountTotal1;\r\n student1Tuition2 = tuition - student1DiscountTotal2;\r\n student1Tuition3 = tuition - student1DiscountTotal3;\r\n student1Tuition4 = tuition - student1DiscountTotal4;\r\n student1Tuition5 = tuition - student1DiscountTotal5;\r\n if (student1Tuition <= 0) {\r\n student1Tuition = 0;\r\n // $('.student2').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n\r\n $('.attendingSHG .student1').attr('data-value', student1Tuition1);\r\n $('.attendingSCGS .student1').attr('data-value', student1Tuition2);\r\n $('.employed .student1').attr('data-value', student1Tuition3);\r\n $('.paymentPlan .student1').attr('data-value', student1Tuition4);\r\n $('.income .student1').attr('data-value', student1Tuition5);\r\n\r\n student2DiscountTotal1 = student2Discount1;\r\n student2DiscountTotal2 = student2Discount1 + student2Discount2;\r\n student2DiscountTotal3 = student2Discount1 + student2Discount2 + student2Discount3;\r\n student2DiscountTotal4 = student2Discount1 + student2Discount2 + student2Discount3 + student2Discount4;\r\n student2DiscountTotal5 = student2Discount1 + student2Discount2 + student2Discount3 + student2Discount4 + student2Discount5;\r\n student2Tuition1 = tuition - student2DiscountTotal1;\r\n student2Tuition2 = tuition - student2DiscountTotal2;\r\n student2Tuition3 = tuition - student2DiscountTotal3;\r\n student2Tuition4 = tuition - student2DiscountTotal4;\r\n student2Tuition5 = tuition - student2DiscountTotal5;\r\n if (student2Tuition <= 0) {\r\n student2Tuition = 0;\r\n // $('.student2').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n\r\n $('.attendingSHG .student2').attr('data-value', student2Tuition1);\r\n $('.attendingSCGS .student2').attr('data-value', student2Tuition2);\r\n $('.employed .student2').attr('data-value', student2Tuition3);\r\n $('.paymentPlan .student2').attr('data-value', student2Tuition4);\r\n $('.income .student2').attr('data-value', student2Tuition5);\r\n\r\n student3DiscountTotal1 = student3Discount1;\r\n student3DiscountTotal2 = student3Discount1 + student3Discount2;\r\n student3DiscountTotal3 = student3Discount1 + student3Discount2 + student3Discount3;\r\n student3DiscountTotal4 = student3Discount1 + student3Discount2 + student3Discount3 + student3Discount4;\r\n student3DiscountTotal5 = student3Discount1 + student3Discount2 + student3Discount3 + student3Discount4 + student3Discount5;\r\n student3Tuition1 = tuition - student3DiscountTotal1;\r\n student3Tuition2 = tuition - student3DiscountTotal2;\r\n student3Tuition3 = tuition - student3DiscountTotal3;\r\n student3Tuition4 = tuition - student3DiscountTotal4;\r\n student3Tuition5 = tuition - student3DiscountTotal5;\r\n if (student3Tuition <= 0) {\r\n student3Tuition = 0;\r\n // $('.student2').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n\r\n $('.attendingSHG .student3').attr('data-value', student3Tuition1);\r\n $('.attendingSCGS .student3').attr('data-value', student3Tuition2);\r\n $('.employed .student3').attr('data-value', student3Tuition3);\r\n $('.paymentPlan .student3').attr('data-value', student3Tuition4);\r\n $('.income .student3').attr('data-value', student3Tuition5);\r\n\r\n student4DiscountTotal = student4Discount1 + student4Discount2 + student4Discount3 + student4Discount4 + student4Discount5;\r\n student4Tuition = tuition - student4DiscountTotal;\r\n if (student4Tuition <= 0) {\r\n student4Tuition = 0;\r\n // $('.student4').fadeOut(350).prev('label').fadeOut(350);\r\n }\r\n $('.student4').attr('data-value', student4Tuition);\r\n\r\n if (!$(this).closest('div').next('div').is(':visible')) {\r\n $(this).closest('div').addClass('completed').next('div').addClass('show').fadeIn(350);\r\n }\r\n students();\r\n });\r\n\r\n function students() {\r\n // $('input[name=\"student1\"]').val(student1Tuition);\r\n // $('input[name=\"student2\"]').val(student2Tuition);\r\n // $('input[name=\"student3\"]').val(student3Tuition);\r\n // $('input[name=\"student4\"]').val(student4Tuition);\r\n $('.student input[type=\"text\"]').each(function () {\r\n var studentValue = $(this).attr('data-value');\r\n $(this).val('$' + parseFloat(studentValue, 10).toFixed(2).replace(/(\\d)(?=(\\d{3})+\\.)/g, '$1,').toString());\r\n });\r\n\r\n }\r\n }\r\n costCalculator();\r\n\r\n //View More for Alternative Accordions List\r\n $('.accordion-alt-item .read-more').click(function () {\r\n var $more = $(this).closest('.accordion-alt-item');\r\n var $toggletext = $(this).closest('.accordion-alt-item .read-more');\r\n\r\n if ($more.hasClass('expanded')) {\r\n $more.removeClass('expanded');\r\n $toggletext.html(\"View Course Details <span class="fas fa-caret-down"></span>\");\r\n } else {\r\n $more.addClass('expanded');\r\n $toggletext.html(\"Hide Course Details <span class="fas fa-caret-up"></span>\");\r\n }\r\n });\r\n\r\n $('.accordion-alt-item .read-more').on('keypress', function (e) {\r\n if (e.which === 13) {\r\n var $more = $(this).closest('.accordion-alt-item');\r\n var $toggletext = $(this).closest('.accordion-alt-item .read-more');\r\n\r\n if ($more.hasClass('expanded')) {\r\n $more.removeClass('expanded');\r\n $toggletext.html(\"View Course Details <span class="fas fa-caret-down"></span>\");\r\n } else {\r\n $more.addClass('expanded');\r\n $toggletext.html(\"Hide Course Details <span class="fas fa-caret-up"></span>\");\r\n }\r\n }\r\n });\r\n\r\n //Image Turning Effect\r\n $(\".image-turning img\").click(function () {\r\n $(\".image-turning img.front-image\").toggleClass('hidden').toggleClass('active');\r\n $(\".image-turning img.back-image\").toggleClass('active').toggleClass('hidden');\r\n });\r\n\r\n //Unwrap iframe from figure\r\n if ($('figure iframe').length) {\r\n $(this).unwrap();\r\n }\r\n\r\n});\r\n\r\n//Tables\r\n$('#main').responsiveTables();"]}</div></ul></div></div><style> .hidden { display: none; } </style> <a href="http://nyuyll.mmxz911.com" class="hidden">光宇游戏论坛</a> <a href="http://mhealb.jiedeng.net" class="hidden">南漳水镜论坛</a> <a href="http://uqhtic.language-24.com" class="hidden">洛阳社区 </a> <a href="http://www.hairstylescn.com" class="hidden">bbin</a> <a href="http://btwpvv.lkmjfh.com" class="hidden">玄殿社区</a> <a href="http://swezst.lstotem.com" class="hidden">深圳雅图文化科技集团</a> <a href="http://www.xinglongmaofang.com" class="hidden">Regular-gaming-platform-support@xinglongmaofang.com</a> <a href="http://uzcquc.abrasser.com" class="hidden">深圳DJ舞曲网</a> <a href="http://www.rf518.com" class="hidden">体育博彩平台</a> <a href="http://www.nbzhiai.com" class="hidden">Crown-Sports-service@nbzhiai.com</a> <a href="http://fufmdy.cspc-football.com" class="hidden">超凡中国商标网</a> <a href="http://www.ruansaen.com" class="hidden">Sun-City-marketing@ruansaen.com</a> <a href="http://www.haerbinjiudian.com" class="hidden">沙巴体育官网</a> <a href="http://www.xlhl.net" class="hidden">Buy-ball-app-admin@xlhl.net</a> <a href="http://twesid.chinave.net" class="hidden">九江房产网</a> <a href="http://www.asungroup.com" class="hidden">Sun-City-Group-support@asungroup.com</a> <a href="http://www.szbestwin.com" class="hidden">欧洲杯下注</a> <a href="http://www.izuanhui.net" class="hidden">Buy-ball-app-info@izuanhui.net</a> <a href="http://www.uc1112.com" class="hidden">澳门威尼斯</a> <a href="http://www.hongjiuchina.com" class="hidden">esball-contactus@hongjiuchina.com</a> <a href="https://acrmc.com/search/✔️网址:la66.net✔️科普一下新葡萄平台8883的百科✔️网址:la66.net✔️科普一下新葡萄平台8883的百科" class="hidden">中国长江三峡集团公司</a> <a href="https://stock.adobe.com/search/images?k=hga2024官网下载(中国)有限公司✔️网址:la666.net✔️.mez" class="hidden">高中化学网</a> <a href="https://m.facebook.com/public/✔️最新网址:la55.net✔️科普一下冰球突破手机版下载的百科.mti" class="hidden">尚七网</a> <a href="https://stock.adobe.com/search?k=冰球突破豪华版游戏下载-冰球突破豪华版游戏下载官方网站✔️官方网址:la777.net✔️" class="hidden">MISSHA谜尚官方网站 </a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la666.net✔️正规线上博彩365平台(中国)有限公司" class="hidden">泗洪房产网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️最新网址:ad22.net✔️bt365手机网站.vde" class="hidden">金万维</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=十大网赌信誉平台-十大网赌信誉平台官方网站✔️最新网址:la55.net✔️.dzp" class="hidden">大智创新</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:la66.net✔️(关于pg电子app手机版的简介)pg电子app手机版.jpu" class="hidden">济南天气预报</a> <a href="https://stock.adobe.com/search/images?k=✔️官方网址:la777.net✔️亚游手机app下载(中国)有限公司.mrm" class="hidden">李维斯牛仔裤爱好者论坛</a> <a href="https://m.facebook.com/public/太阳城集团博彩>>✔️最新网址:ad22.net✔️手输<<太阳城集团博彩>>✔️最新网址:ad22.net✔️手输<<" class="hidden">辛集人才网 </a> <a href="/cn/vkvgpm-152839" class="hidden">法易网</a> <a href="/CN/jddddz-479913" class="hidden">网站价值评估查询</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/html/cuudjd-654127.html" class="hidden">峰峰信息港综艺频道</a> </body></html>