PageSourceSearch

https://www.volstate.edu/sites/default/files/js/js_se1siaiw_FqMWot…mICCfLnEX_Y0LUHXfFWrimwuZ4_XZ5D6yaYxfswrD1Q

js volstate.edu collected 2026-10-01 11:25:28 UTC 12,978 bytes, 4 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($,Drupal,drupalSettings,once){Drupal.behaviors.mtMainSlideshowBlock={attach:function(context,settings){once("mtMainSlideshowBlockInit",".main-slideshow-block .rev_slider",context).forEach(function(item){if(typeof $.fn.revolution==='undefined'){console.error('Revolution Slider library not loaded');return;}const windowHeight=window.innerHeight;const autoHeightCalc=$(item).closest(".main-slideshow-block").attr("data-attribute-mt-autoheight");const tabIncluded=$(item).closest(".main-slideshow-block").attr("data-attribute-mt-tabs-enable");const tabsHeight=tabIncluded==="1"?95:0;const countdownHeight=$("#titleDiv").outerHeight()??0;const gridHeight=windowHeight-tabsHeight;const maxHeight=windowHeight-tabsHeight-countdownHeight;const fullScreenOffsetContainer=$(item).closest(".main-slideshow-block").attr("data-attribute-mt-ignore-header");let sliderLayoutCalc=$(item).closest(".main-slideshow-block").attr("data-attribute-mt-layout");sliderLayoutCalc=sliderLayoutCalc==="fullscreen"?sliderLayout:"fullwidth";var revapi=$(item).show().revolution({sliderType:"standard",sliderLayout:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-layout"),gridwidth:[1170,970,750,450],gridheight:parseInt($(item).closest(".main-slideshow-block").attr("data-attribute-mt-initial-height")),autoHeight:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-autoheight"),fullScreenOffsetContainer:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-ignore-header"),delay:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-effect-duration"),disableProgressBar:"off",responsiveLevels:[1199,991,767,480],navigation:{onHoverStop:"off",arrows:{enable:true,tmp:"",left:{h_align:"left",v_align:"center",h_offset:40,v_offset:0},right:{h_align:"right",v_align:"center",h_offset:40,v_offset:0}},tabs:{style:"",enable:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-tabs-enable"),width:410,height:95,min_width:240,wrapper_padding:0,wrapper_opacity:"1",tmp:'<div class="tp-tab-content"><span class="tp-tab-title">{{title}}</span></div>',visibleAmount:6,hide_onmobile:false,hide_onleave:false,direction:"horizontal",span:true,position:"outer-bottom",space:0,h_align:"left",v_align:"bottom",h_offset:0,v_offset:0},bullets:{style:"",enable:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-bullets-enable"),direction:"horizontal",space:5,h_align:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-bullets-position"),v_align:"bottom",h_offset:0,v_offset:20,tmp:""},touch:{touchenabled:$(item).closest(".main-slideshow-block").attr("data-attribute-mt-touch-swipe-nav"),swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:false,swipe_direction:"horizontal"}}});initializeVideoPlayers(item);ensureA11yForSlider(item,revapi);$(document).on("click",".play-pause-btn",function(){const platform=$(this).data("platform");const videoId=$(this).data("video-id");const button=$(this);const videoElement=$(item).find(`[data-ytid='${videoId}'], [data-vimeoid='${videoId}']`).get(0);if(platform==="youtube"&&videoElement){const iframe=$(videoElement).find("iframe").get(0);if(iframe)toggleYouTubePlayPause(iframe,button);}else{if(platform==="vimeo"&&videoElement){const iframe=$(videoElement).find("iframe").get(0);if(iframe)toggleVimeoPlayPause(iframe,button);}}});function toggleYouTubePlayPause(iframe,button){let isPlaying=$(iframe).data("playing")??true;const message={event:"command",func:isPlaying?"pauseVideo":"playVideo",args:[]};iframe.contentWindow.postMessage(JSON.stringify(message),"*");$(iframe).data("playing",!isPlaying);button.removeClass("btn-show-play btn-show-pause");button.addClass(isPlaying?"btn-show-play":"btn-show-pause");button.attr("aria-pressed",!isPlaying?"true":"false").find(".visually-hidden, .hidden").text(!isPlaying?"Pause background video":"Play background video");if(isPlaying)revapi.revpause();else revapi.revresume();}window.addEventListener("message",function(event){if(event.data&&typeof event.data==="string"&&event.data.includes('"event":"onStateChange"')){const data=JSON.parse(event.data);if(data.info===1){const iframe=$(item).find("iframe[src*='youtube']").get(0);if(iframe){$(iframe).data("playing",true);$(".play-pause-btn[data-platform='youtube']").html("").addClass("visible").removeClass("hidden").addClass("btn-show-pause").attr("aria-pressed","true").find(".visually-hidden, .hidden").text("Pause background video");}}}});function toggleVimeoPlayPause(iframe,button){if(!iframe.vimeoPlayer){iframe.vimeoPlayer=new Vimeo.Player(iframe);iframe.vimeoPlayer.on("play",function(){button.removeClass("btn-show-play btn-show-pause");button.addClass("btn-show-pause");$(iframe).data("playing",true);button.attr("aria-pressed","true").find(".visually-hidden, .hidden").text("Pause background video");revapi.revpause();});iframe.vimeoPlayer.on("pause",function(){button.removeClass("btn-show-play btn-show-pause");button.addClass("btn-show-play");$(iframe).data("playing",false);
2button.attr("aria-pressed","false").find(".visually-hidden, .hidden").text("Play background video");revapi.revresume();});}iframe.vimeoPlayer.getPaused().then(function(paused){if(paused)iframe.vimeoPlayer.play();else iframe.vimeoPlayer.pause();});}function initializeVideoPlayers(item){$(item).find("iframe[src*='vimeo']").each(function(){const iframe=this;const button=$(".play-pause-btn[data-platform='vimeo']");if(!iframe.vimeoPlayer){iframe.vimeoPlayer=new Vimeo.Player(iframe);button.html("");button.addClass("btn-show-pause");if(!button.attr("type"))button.attr("type","button");if(!button.is("[aria-pressed]"))button.attr("aria-pressed","true");if(!button.find(".visually-hidden, .hidden").length)button.prepend('<span class="visually-hidden">Pause background video</span>');else button.find(".visually-hidden, .hidden").text("Pause background video");iframe.vimeoPlayer.on("play",function(){button.addClass("btn-show-pause");$(iframe).data("playing",true);button.attr("aria-pressed","true").find(".visually-hidden, .hidden").text("Pause background video");revapi.revpause();});iframe.vimeoPlayer.on("pause",function(){button.html("");button.addClass("btn-show-play");$(iframe).data("playing",false);button.attr("aria-pressed","false").find(".visually-hidden, .hidden").text("Play background video");revapi.revresume();});}});$(item).find("iframe[src*='youtube']").each(function(){const iframe=this;$(iframe).data("playing",false);});}$(item).find(".ms-transparent-background").each(function(){var captionOpacity=$(this).attr("data-attribute-mt-caption-opacity"),captionBackgroundColor=$(this).find(".tp-caption__title").css("background-color").replace(")",","+captionOpacity+")").replace("rgb","rgba");$(this).find(".tp-caption__title").css("background-color",captionBackgroundColor);$(this).find(".tp-caption__text").css("background-color",captionBackgroundColor);});$(item).find(".transparent-background").css("backgroundColor","rgba(0,0,0,"+$(item).closest(".main-slideshow-block").attr("data-attribute-mt-background-opacity")+")");});}};function ensureA11yForSlider(item,revapi){function getSlideTitleFrom(el){const $li=$(el).closest("li");const fromData=$li.attr("data-title")||"";const fromCaption=($li.find(".tp-caption__title").first().text()||"").trim();return (fromData||fromCaption||"Background video").trim();}function patchIframes(){$(item).find(".rs-background-video-layer").each(function(){const $layer=$(this);const $iframe=$layer.find("iframe");if(!$iframe.length)return;const title=getSlideTitleFrom($layer);$iframe.attr({title,"aria-hidden":null,tabindex:null});});$(item).find("a.overlay-target-link").each(function(){const $a=$(this);const hasText=$a.text().trim().length>0;const hasImgAlt=$a.find("img[alt]").length>0;const hasAria=$a.is("[aria-label]")||$a.is("[aria-labelledby]");if(!hasText&&!hasImgAlt&&!hasAria)$a.attr("aria-label",getSlideTitleFrom($a));});}function wireButtons(){$(item).find(".play-pause-btn").each(function(){const $btn=$(this);if(!$btn.attr("type"))$btn.attr("type","button");if(!$btn.is("[aria-pressed]"))$btn.attr("aria-pressed","true");const $sr=$btn.find(".visually-hidden, .hidden");if(!$sr.length)$btn.prepend('<span class="visually-hidden">Pause background video</span>');else $sr.text("Pause background video");});}wireButtons();patchIframes();$(item).on("revolution.slide.onloaded revolution.slide.onchange",patchIframes);setTimeout(patchIframes,500);setTimeout(patchIframes,1500);}})(window.jQ3||jQuery,Drupal,drupalSettings,once);;
3(function(Drupal,$){Drupal.behaviors.searchToggle={attach:function(context,settings){if($('.search-icon').length==0)$('#block-searchform').prepend('<div class="search-icon"><i class="fa fa-magnifying-glass" aria-hidden="true"></i></div>');$('#block-searchform .search-icon').click(function(){$('#block-searchform form').toggle();$('input[type="search"]').focus();$(this).toggleClass('search-close');$(this).find('svg').toggleClass('fa-magnifying-glass').toggleClass('fa-xmark');});$('#block-searchform .form-actions').click(function(){$('#block-searchform form').submit();});}};Drupal.behaviors.pdfLinks={attach:function(context,settings){$("a[href*='.pdf']").click(function(e){window.open(this.href,'_blank');e.preventDefault();});}};Drupal.behaviors.foundationScholarship={attach:function(context,settings){$('#buttonApplication').click(function(event){if($("#checkApplication").is(":checked"))window.location="https://volstate.academicworks.com/users/sign_in";else alert("Please read all of the above information and then check the checkbox.");event.preventDefault();});}};Drupal.behaviors.azIndex={attach:function(context,settings){var ltr=document.URL.substr(document.URL.length-1);$(".az-nav a").each(function(){var url=$(this).attr('href');var lastChar=url.substr(url.length-1);if(lastChar==ltr)$(this).addClass("active-az");});}};Drupal.behaviors.listingDegreePrograms={attach:function(context,settings){$('select.alpha-programs-dropdown').on('change',function(){window.location.href=$('select.alpha-programs-dropdown').val();});$("#alpha-programs-form").submit(function(event){window.location.href=$('select.alpha-programs-dropdown').val();event.preventDefault();});}};Drupal.behaviors.libraryHours={attach:function(context,settings){if($("#s_lc_tdh_1177_0").length)var s_lc_tdh_1177_0=new $.LibCalTodayHours($("#s_lc_tdh_1177_0"),{iid:1177,lid:0,key:"476dac32bd5fa1f791f163765edee4cf"});}};Drupal.behaviors.expandActiveTrailMenu={attach:function(context,settings){document.querySelectorAll('ul.cta-active-exansion-hook li.active-trail').forEach(function(li){li.classList.add('sf-expanded');const directUl=Array.from(li.children).find((el)=>el.tagName==='UL');if(directUl){directUl.classList.remove('sf-hidden');directUl.style.display='block';}});const activeLink=document.querySelector('ul.cta-active-exansion-hook a.is-active');if(activeLink){let el=activeLink.parentElement;while(el&&el.matches('li, ul')){el.classList.add('is-active-trail');el=el.parentElement;}}}};Drupal.behaviors.superfishToggleSpanFix={attach:function(context,settings){$(context).find('.sf-accordion-toggle > a[id^="superfish-"][id$="-toggle"] > span').each(function(){var $span=$(this);if($span.text().trim()===''&&$span.children().length===0)$span.replaceWith('<span class="hidden">Superfish Toggle</span>');});}};Drupal.behaviors.trackingPixelAltFix={attach:function(context,settings){$(context).find('body > img[src*="jelly.mdhv.io/v1/star.gif"]').each(function(){var $img=$(this);if(!$img.is('[alt]'))$img.attr('alt','Tracking Pixel');});}};}(Drupal,jQuery));function loadVideo(myFile,myImage){jwplayer().load([{file:"http://streaming.volstate.edu/vod/"+myFile}]);jwplayer().play();}function formatDate(date){var year=date.getYear();if(year<1900)year+=1900;var month=date.getMonth()+1;var day=date.getDate();return month+'/'+day+'/ '+year;};
4(function(Drupal,$){Drupal.behaviors.dashboardOverlay={attach:function(context,settings){console.log('Dashboard behavior attached');once('dashboardToggle','.dashboard-toggle',context).forEach(function(toggleBtn){toggleBtn.addEventListener('click',function(){console.log('Toggle clicked');const overlay=document.getElementById('dashboardOverlay');if(overlay)overlay.classList.toggle('active');});});once('searchToggle','.search-toggle',context).forEach(function(searchBtn){searchBtn.addEventListener('click',function(){console.log('Search toggle clicked');const overlay=document.getElementById('dashboardOverlay');if(overlay){overlay.classList.add('active');setTimeout(function(){const searchInput=overlay.querySelector('input[type="search"]');if(searchInput)searchInput.focus();},200);}});});once('dashboardClose','.dashboard-close-button',context).forEach(function(closeBtn){closeBtn.addEventListener('click',function(){console.log('Close clicked');const overlay=document.getElementById('dashboardOverlay');if(overlay)overlay.classList.remove('active');});});}};})(Drupal,jQuery);;

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.