PageSourceSearch

https://www.normanok.gov/sites/default/files/js/js_zMu1dlmAxAznIY9…Eop0pBRYqfS3042k5bcYjpvkFLhR7QsxWrybXosOfxg

js normanok.gov collected 2026-09-24 20:57:33 UTC 19,695 bytes, 9 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(Drupal,$){'use strict';Weglot.initialize({api_key:'wg_9509a3f6070eb560dcfabced03c7b8354',button_style:{full_name:true,with_name:true,is_dropdown:false,with_flags:false},cache:true,switchers:[{button_style:{full_name:true,with_name:true,is_dropdown:false,with_flags:false},location:{target:".languages-container",sibling:null}}]});Drupal.behaviors.weglot_current={attach:function(context,settings){Weglot.on("switchersReady",function(){$('.wgcurrent.wg-li a').append('&nbsp;<i class="fas fa-check"></i>');});Weglot.on("languageChanged",function(){$('.wg-li a .fa-check').remove();$('.wgcurrent.wg-li a').append('&nbsp;<i class="fas fa-check"></i>');});}};})(Drupal,jQuery);;
3(function(w){var s=document.createElement('script');s.src='https://survey.survicate.com/workspaces/b76a53e0865ea7bf7a720db3f6005404/web_surveys.js';s.async=true;var e=document.getElementsByTagName('script')[0];e.parentNode.insertBefore(s,e);})(window);const makeQFocusable=function(){const svQ=document.body.querySelector('#survicate-box .sv__point-question');if(svQ)svQ.setAttribute('tabindex','0');};const startSurvicateMPLogging=function(){if(!window._sva||!window._svd||!window._svd.surveys)return;if(!window.mixpanel){(function(f,b){if(!b.__SV){var e,g,i,h;window.mixpanel=b;b._i=[];b.init=function(e,f,c){function g(a,d){var b=d.split(".");2==b.length&&((a=a[b[0]]),(d=b[1]));a[d]=function(){a.push([d].concat(Array.prototype.slice.call(arguments,0)));};}var a=b;"undefined"!==typeof c?(a=b[c]=[]):(c="mixpanel");a.people=a.people||[];a.toString=function(a){var d="mixpanel";"mixpanel"!==c&&(d+="."+c);a||(d+=" (stub)");return d;};a.people.toString=function(){return a.toString(1)+".people (stub)";};i="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" ");for(h=0;h<i.length;h++)g(a,i[h]);var j="set set_once union unset remove delete".split(" ");a.get_group=function(){function b(c){d[c]=function(){call2_args=arguments;call2=[c].concat(Array.prototype.slice.call(call2_args,0));a.push([e,call2]);};}for(var d={},e=["get_group"].concat(Array.prototype.slice.call(arguments,0)),c=0;c<j.length;c++)b(j[c]);return d;};b._i.push([e,f,c]);};b.__SV=1.2;e=f.createElement("script");e.type="text/javascript";e.async=!0;e.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===f.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";g=f.getElementsByTagName("script")[0];g.parentNode.insertBefore(e,g);}})(document,window.mixpanel||[]);mixpanel.init('afb03a7edb040ce60f13eba79c9f6f37',{debug:false,track_pageview:false,persistence:'localStorage'});}_sva.addEventListener('survey_displayed',function(surveyId,surveyName){_sva.setVisitorTraits({"mixpanel_distinct_id":mixpanel.get_distinct_id()});const currentSurvey=_svd.surveys.find((survey)=>survey.id===surveyId);window._if_survey=currentSurvey;const svBox=document.body.querySelector('#survicate-box .sv__survey');if(svBox){svBox.setAttribute('tabindex','-1');svBox.focus({preventScroll:true,focusVisible:true});}setTimeout(makeQFocusable,1);});_sva.addEventListener('survey_closed',function(surveyId){const firstFocusable=document.body.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(firstFocusable)firstFocusable.focus();});_sva.addEventListener('question_answered',function(surveyId,questionId,answer){if(!answer||!answer.hasOwnProperty('answer_type'))return;const currentQ=window._if_survey.points.find((q)=>q.id===questionId);let mpProps={'surveyId':surveyId,'svQuestionId':questionId,'svAnswer':answer};let qLower='';if(currentQ&&currentQ.content){mpProps.question=currentQ.content;qLower=currentQ.content.toLowerCase();}if(answer.answer_type=="nps"){mpProps['question ID']='nps';if(answer.hasOwnProperty('answer_value')){const vNumeric=parseInt(answer.answer_value);if(!isNaN(vNumeric)){mpProps.response=vNumeric;if(!window._if_identified){window.mixpanel.identify();window._if_identified=true;}window.mixpanel.people.set({'satisfaction':vNumeric});}}}else if(answer.answer_type=="single"&&answer.hasOwnProperty('answer_id')&&currentQ.hasOwnProperty('answers')){const currentA=currentQ.answers.find((a)=>a.id==answer.answer_id);if(currentA&&currentA.possible_answer){mpProps.response=currentA.possible_answer;if(qLower.includes("were you successful")){mpProps['question ID']='comp';if(!window._if_identified){window.mixpanel.identify();window._if_identified=true;}window.mixpanel.people.set({'success':currentA.possible_answer});}else if(qLower.includes("why did you come to the website")){mpProps['question ID']='pov';if(!window._if_identified){window.mixpanel.identify();window._if_identified=true;}window.mixpanel.people.set({'purpose':currentA.possible_answer});}else if(qLower.includes("describes your relationship"))mpProps['question ID']='rel';else{if(qLower.includes("what is your age group"))mpProps['question ID']='age';}}}else{if(answer.answer_type=="text"&&answer.hasOwnProperty('answer_value')){mpProps.response=answer.answer_value;if(qLower.includes("why were you not successful"))mpProps['question ID']='fail';}}mixpanel.track('VOX response',mpProps);setTimeout(makeQFocusable,100);});};setTimeout(startSurvicateMPLogging,1000);;
4/* @license MIT https://github.com/AdamPS/rrssb-plus/blob/master/LICENSE.md */
5+function(i,t,e){"use strict";var s={size:{min:.1,max:10,default:1},shrink:{min:.2,max:1,default:.8},regrow:{min:.2,max:1,default:.8},minRows:{min:1,max:99,default:1},maxRows:{min:1,max:99,default:2},prefixReserve:{min:0,max:.8,default:.3},prefixHide:{min:.1,max:10,default:2},alignRight:{type:"boolean",default:!1}},n=function(){var i=t.fn.jquery.split(".");return 1==i[0]&&i[1]<8}();i.rrssbConfigAll=function(i){t(".rrssb").each(function(){t(this).rrssbConfig(i)})},t.fn.rrssbConfig=function(i){if(!t(this).data("settings")||i){var e={};for(var n in s)e[n]=s[n].default,i&&("boolean"==s[n].type?e[n]=Boolean(i[n]):isNaN(parseFloat(i[n]))||(e[n]=Math.min(s[n].max,Math.max(s[n].min,i[n]))));t(this).data("settings",e),h.call(this)}};var r,a=function(){t(".rrssb").each(h)},h=function(){var i=t(this).data("orig");i||(i=function(){var i=t(".rrssb-prefix",this),e=i.length?i.clone().css({visibility:"hidden","white-space":"nowrap",display:"inline"}).appendTo(this):null;t("ul").contents().filter(function(){return this.nodeType===Node.TEXT_NODE}
5).remove();var s={width:0,buttons:0,height:t("li",this).innerHeight(),fontSize:parseFloat(t(this).css("font-size")),prefixWidth:e?e.innerWidth():0};return t("li",this).each(function(){s.width=Math.max(s.width,t(this).innerWidth()),s.buttons++}),t(this).data("orig",s),e&&e.remove(),s}.call(this));var e=t(this).data("settings"),s=i.width*e.size,r=i.buttons,a=t(this).innerWidth()-1,h=a<s*e.shrink?"":s;n?t("li",this).width(h):t("li",this).innerWidth(h);var o=a/e.shrink,l=i.prefixWidth*e.size;l>o*e.prefixHide?(l=0,t(".rrssb-prefix",this).css("display","none")):t(".rrssb-prefix",this).css("display","");var c=l<=a*e.prefixReserve?o-l:o,f=Math.floor(c/s);f*e.maxRows<r?(t(this).addClass("no-label"),s=i.height*e.size,f=Math.max(1,Math.floor(c/s))):t(this).removeClass("no-label");var d=e.minRows>1?Math.max(1,Math.ceil(r/(e.minRows-1))-1):r;f=Math.min(f,d),f=Math.ceil(r/Math.ceil(r/f)),d=Math.ceil(r/Math.ceil(r/d));var u=Math.floor(1e4/f)/100;t("li",this).css("max-width",u+"%");var m=s*f+l;m>o&&(m-=l,l=0);var p=f<d?e.regrow:1,g=Math.min(p,a/m),b=i.fontSize*e.size*g*.98;if(t(this).css("font-size",b+"px"),l){var x=Math.floor(1e4*l/m)/100;t(".rrssb-buttons",this).css("padding-left",x+"%"),t(".rrssb-prefix",this).css("position","absolute");var v=Math.ceil(r/f)*i.height/i.fontSize;t(".rrssb-prefix",this).css("line-height",v+"em")}else t(".rrssb-buttons",this).css("padding-left",""),t(".rrssb-prefix",this).css("position",""),t(".rrssb-prefix",this).css("line-height","");var w=e.alignRight?"padding-left":"padding-right";if(g>=.999*p){var M=Math.floor(1e4*(a-m*g*1.02)/a)/100;t(this).css(w,M+"%")}else t(this).css(w,"")},o=function(i){r&&clearTimeout(r),r=setTimeout(a,i||200)};t(document).ready(function(){t(".rrssb-buttons a.popup").click(function(e){!function(t,e,s,n){var r=void 0!==i.screenLeft?i.screenLeft:screen.left,a=void 0!==i.screenTop?i.screenTop:screen.top,h=(i.innerWidth?i.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-s/2+r,o=(i.innerHeight?i.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/3-n/3+a,l=i.open(t,e,"scrollbars=yes, width="+s+", height="+n+", top="+o+", left="+h);l&&l.focus&&l.focus()}(t(this).attr("href"),t(this).find(".rrssb-text").html(),580,470),e.preventDefault()}),t(i).resize(o),t(document).ready(function(){rrssbConfigAll()})})}(window,jQuery);;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7(function($){'use strict';Drupal.behaviors.rrssb={attach:function(context,settings){for(var buttonSet in settings.rrssb)$('.rrssb-bs-'+buttonSet).each(function(){$(this).rrssbConfig(settings.rrssb[buttonSet]);});}};})(jQuery);;
8(function(Drupal,$){'use strict';Drupal.searchApiTracking=Drupal.searchApiTracking||{};Drupal.searchApiTracking.onceClass='onceSATrack';Drupal.searchApiTrackingSTOP=false;Drupal.behaviors.searchApiTracking={attach:function(context){const searchEmpty=document.querySelector(drupalSettings.search_api_tracking.search_empty_selector);const selectorAutocomplete=drupalSettings.search_api_tracking.autocomplete_selector;const searchForms=drupalSettings.search_api_tracking.search_form_selectors.split(',');let firstForm;for(let i=0;i<searchForms.length;i++){const form=document.querySelector(searchForms[i]);if(form){firstForm=form;break;}}if(firstForm){if(firstForm.classList.contains(Drupal.searchApiTracking.onceClass))return false;firstForm.classList.add(Drupal.searchApiTracking.onceClass);Drupal.behaviors.searchApiTracking.trackDidYouMean();Drupal.behaviors.searchApiTracking.trackAutocomplete(searchForms,selectorAutocomplete);Drupal.behaviors.searchApiTracking.trackEmptySearch(searchEmpty,firstForm);Drupal.behaviors.searchApiTracking.trackFormSubmit(searchForms);}},trackDidYouMean:function(){const didyouMeanLink=document.querySelector(drupalSettings.search_api_tracking.did_you_mean_selector);if(didyouMeanLink)didyouMeanLink.addEventListener('click',function(e){Drupal.behaviors.searchApiTracking.sendTracking('did_you_mean',e.target.innerHTML);});},trackEmptySearch:function(searchEmpty,searchFieldPopup){if(searchEmpty){const inputSearchFormWithKeywords=searchFieldPopup.querySelector('input');Drupal.behaviors.searchApiTracking.sendTracking('empty',inputSearchFormWithKeywords.value);}},trackAutocomplete:function(searchForms,selectorAutoComplete){for(let i=0;i<searchForms.length;i++){const searchForm=document.querySelector(searchForms[i]);if(!searchForm)continue;let searchField=searchForm.querySelector(selectorAutoComplete);$(searchField).on('autocompleteselect',function(event,ui){Drupal.behaviors.searchApiTracking.trackAutocompleteSendValues(ui.item.value);Drupal.searchApiTrackingSTOP=true;});}},trackAutocompleteSendValues:function(value){Drupal.behaviors.searchApiTracking.sendTracking('autocomplete',value);},trackFormSubmit:function(searchForms){for(let i=0;i<searchForms.length;i++){const searchForm=document.querySelector(searchForms[i]);if(!searchForm)continue;searchForm.addEventListener('submit',function(event){if(!Drupal.searchApiTrackingSTOP){Drupal.behaviors.searchApiTracking.sendTracking('submit',event.target.querySelector('input').value);Drupal.searchApiTrackingSTOP=true;}});}},sendTracking:function(type,searchedString){const sortBy=document.getElementById(drupalSettings.search_api_tracking.sort_by_selector);const sortOrder=document.getElementById(drupalSettings.search_api_tracking.sort_order_selector);let sortByValue='';let sortOrderValue='';if(sortBy)sortByValue=sortBy.value;if(sortOrder)sortOrderValue=sortOrder.value;let xhr=new XMLHttpRequest();xhr.open('POST',Drupal.url('tracking/search-api-tracking'),true);xhr.setRequestHeader('Content-Type','application/json');xhr.send(JSON.stringify({'type':type,'searchedString':searchedString,'sortBy':sortByValue,'sortOrder':sortOrderValue}));}};})(Drupal,jQuery);;
9(function(Drupal,drupalSettings,once){const sitewideAlertsSelector='[data-sitewide-alert]';const shouldShowOnThisPage=(pages=[],negate=true)=>{if(pages.length===0)return true;let pagePathMatches=false;const currentPath=window.location.pathname;for(let i=0;i<pages.length;i++){const baseUrl=drupalSettings.path.baseUrl.slice(0,-1);const page=baseUrl+pages[i];if(page.charAt(page.length-1)==='*'){if(currentPath.startsWith(page.substring(0,page.length-1))){pagePathMatches=true;break;}}else{if(page===currentPath){pagePathMatches=true;break;}}}return negate?!pagePathMatches:pagePathMatches;};const alertWasDismissed=(alert)=>{if(!alert.dismissible)return false;if(!(`alert-dismissed-${alert.uuid}` in window.localStorage))return false;const dismissedAtTimestamp=Number(window.localStorage.getItem(`alert-dismissed-${alert.uuid}`));return dismissedAtTimestamp>=alert.dismissalIgnoreBefore;};const updateLandmarkRole=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);
9roots.forEach((root)=>{const hasAlerts=root.querySelector('[data-uuid]')!==null;if(hasAlerts){root.setAttribute('role','region');root.setAttribute('aria-label',Drupal.t('Site alerts'));}else{root.removeAttribute('role');root.removeAttribute('aria-label');}});};const updateAlertCount=()=>{if(!drupalSettings.sitewideAlert.showCount)return;const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{let count=0;const alerts=root.querySelectorAll('[data-uuid]');const totalCount=alerts.length;alerts.forEach((alert)=>{count++;const alertCountContainer=alert.querySelector('.alert-count');if(!alertCountContainer)return;alertCountContainer.innerHTML=Drupal.t('@current_count of @total_count alerts',{'@current_count':count,'@total_count':totalCount});});});};const removeAlert=(alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-removed',{bubbles:true,composed:true}));alert.remove();updateAlertCount();updateLandmarkRole();};const dismissAlert=(alert)=>{window.localStorage.setItem(`alert-dismissed-${alert.uuid}`,String(Math.round(new Date().getTime()/1000)));document.querySelectorAll(`[data-uuid="${alert.uuid}"]`).forEach((alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-dismissed',{bubbles:true,composed:true}));removeAlert(alert);});};const buildAlertElement=(alert)=>{const alertElement=document.createElement('div');alertElement.innerHTML=alert.renderedAlert;if(alert.dismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alert));}return alertElement.firstElementChild;};const processSsrAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');existingAlerts.forEach((alertElement)=>{const uuid=alertElement.dataset.uuid;const dismissalIgnoreBefore=parseInt(alertElement.dataset.dismissalIgnoreBefore,10)||0;const isDismissible=alertElement.dataset.dismissible==='true';const alertData={uuid,dismissalIgnoreBefore,dismissible:isDismissible};if(alertWasDismissed(alertData)){removeAlert(alertElement);return;}if(isDismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alertData));}});});};const fetchAlerts=()=>{const url=new URL(Drupal.url('sitewide_alert/load'),window.location.origin);url.username='';url.password='';return fetch(url.toString()).then((res)=>res.json()).then((result)=>result.sitewideAlerts,(error)=>{console.error(error);});};const removeStaleAlerts=(alerts)=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');const alertsToBeRemoved=Array.from(existingAlerts).filter((alert)=>!alerts.includes(alert.getAttribute('data-uuid')));alertsToBeRemoved.forEach((alert)=>removeAlert(alert));});};const initAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);fetchAlerts().then((alerts)=>{removeStaleAlerts(alerts.map((alert)=>alert.uuid));alerts.forEach((alert)=>{const dismissed=alertWasDismissed(alert);const showOnThisPage=shouldShowOnThisPage(alert.showOnPages,alert.negateShowOnPages);roots.forEach((root)=>{const existingAlertElement=root.querySelector(`[data-uuid="${alert.uuid}"]`);
9if(showOnThisPage&&!dismissed){if(existingAlertElement&&existingAlertElement.dataset.changed===alert.changed)return;const renderableAlertElement=buildAlertElement(alert);if(existingAlertElement)root.replaceChild(renderableAlertElement,existingAlertElement);else root.appendChild(renderableAlertElement);renderableAlertElement.dispatchEvent(new CustomEvent('sitewide-alert-rendered',{bubbles:true,composed:true}));Drupal.attachBehaviors(renderableAlertElement);return;}if((dismissed||!showOnThisPage)&&existingAlertElement)removeAlert(existingAlertElement);});updateAlertCount();});updateLandmarkRole();});};const supportsHistoryPushState=()=>{return 'pushState' in window.history&&window.history.pushState!==null;};const supportsHistoryReplaceState=()=>{return ('replaceState' in window.history&&window.history.replaceState!==null);};const triggerHistoryEvent=(thisArg,argArray)=>{const event=new CustomEvent('sitewidealerts.popstate',{detail:{state:thisArg,options:argArray}});window.dispatchEvent(event);};const proxyPushState=()=>{if(supportsHistoryPushState())window.history.pushState=new Proxy(window.history.pushState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});if(supportsHistoryReplaceState())window.history.replaceState=new Proxy(window.history.replaceState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});};function debounce(func,wait,immediate){let timeout;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args);};}const historyListener=()=>{const debounced=debounce(initAlerts,2000);window.addEventListener('sitewidealerts.popstate',debounced);window.addEventListener('popstate',debounced);};Drupal.behaviors.sitewide_alert_init={attach:(context)=>{once('sitewide_alerts_init','html',context).forEach(()=>{processSsrAlerts();updateLandmarkRole();if(drupalSettings.sitewideAlert.serverSideRender!==true)initAlerts();proxyPushState();historyListener();if(drupalSettings.sitewideAlert.automaticRefresh===true){const interval=setInterval(()=>initAlerts(),drupalSettings.sitewideAlert.refreshInterval<1000?1000:drupalSettings.sitewideAlert.refreshInterval);if(!drupalSettings.sitewideAlert.automaticRefresh)clearInterval(interval);}});}};})(Drupal,drupalSettings,once);;

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.