PageSourceSearch

https://www.nasaa.org/_jb_static/??f00021977c

js nasaa.org collected 2026-09-24 08:40:28 UTC 48,980 bytes, 78 lines download raw bytes

1(function($){function mc_beforeForm(){$('.mc_signup_submit_button').attr('disabled','disabled')}
2function mc_success(data,status,xhr,submittedForm){let form=$(submittedForm);if(!submittedForm||!form){form=$('.mc_signup_form')}
3$('.mc_signup_submit_button').removeAttr('disabled');form.find('.mc_message_wrapper').html(data);const reg=/class=(["'])mc_success_msg\1/i;if(reg.test(data)){$(form).each(function(){this.reset()});$('.mc_submit_type').val('js')}
4window.scrollTo({top:parseInt(form.offset().top,10)-28,behavior:'smooth',})}
5$(function($){$('.mc_submit_type').val('js');$('.mailchimp_sf_no_js').remove();$('.mc_signup_form').ajaxForm({url:window.mailchimpSF.ajax_url,type:'POST',dataType:'text',beforeSubmit:mc_beforeForm,success:mc_success,})})})(window.jQuery);(function($){if($('.date-pick').length>0){$('.date-pick').each(function(){let format=$(this).data('format')||'mm/dd/yyyy';format=format.replace(/yyyy/i,'yy');$(this).datepicker({autoFocusNextInput:!0,constrainInput:!1,changeMonth:!0,changeYear:!0,beforeShow(input,inst){$('#ui-datepicker-div').addClass('show')},dateFormat:format.toLowerCase(),})})}
6if($('.birthdate-pick').length>0){const d=new Date();$('.birthdate-pick').each(function(){let format=$(this).data('format')||'mm/dd';format=format.replace(/yyyy/i,'yy');$(this).datepicker({autoFocusNextInput:!0,constrainInput:!1,changeMonth:!0,changeYear:!1,minDate:new Date(d.getFullYear(),1-1,1),maxDate:new Date(d.getFullYear(),12-1,31),beforeShow(input,inst){$('#ui-datepicker-div').removeClass('show')},dateFormat:format.toLowerCase(),})})}
7if($('.mailchimp-sf-phone').length>0){$('.mailchimp-sf-phone').each(function(){$(this).on('input',function(){this.setCustomValidity('')}).on('invalid',function(){if(!this.validity.valid){this.setCustomValidity(window.mailchimpSF.phone_validation_error)}})})}})(window.jQuery);(function(){if(!window.mailchimpSF||!window.mailchimpSF.analytics_ajax_url){return}
8const forms=document.querySelectorAll('.mc_signup_form[data-list-id]');const tracked={};for(let i=0;i<forms.length;i++){const listId=forms[i].getAttribute('data-list-id');if(listId&&!tracked[listId]){tracked[listId]=!0;const formData=new FormData();formData.append('action','mailchimp_sf_track_form_view');formData.append('list_id',listId);formData.append('mailchimp_sf_nonce',window.mailchimpSF.analytics_nonce);fetch(window.mailchimpSF.analytics_ajax_url,{method:'POST',body:formData,credentials:'same-origin',}).catch(()=>{})}}})();
9(function($){$(function(){var user_agent=navigator.userAgent;var is_opera_edge;var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];var browser_name='';var browser_class='';if(/trident/i.test(browser[0])){browser_name='ie'}else if(browser[0]==='Chrome'){is_opera_edge=user_agent.match(/\b(OPR|Edge)/);if(is_opera_edge!==null){browser_name=is_opera_edge[0].replace('OPR','opera')}}
10if(''===browser_name){if('standalone' in window.navigator&&!window.navigator.standalone){browser_name='uiwebview'}else{browser_name=browser[0]&&''!==browser[0]?browser[0]:navigator.appName}}
11browser_name=browser_name.toLowerCase();switch(browser_name){case 'msie':browser_class='ie';break;case 'firefox':browser_class='gecko';break;default:browser_class=browser_name;break}
12if(user_agent.match(/iPhone/)){browser_class+=' iphone'}
13$('body').addClass(browser_class)})})(jQuery);
14/*! This file is auto-generated */
15!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t
15={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});;
16
17/*! Max Mega Menu jQuery Plugin */
18(function($){"use strict";let instanceCounter=0;$.maxmegamenu=function(menu,options){const plugin=this;const $menu=$(menu);const $wrap=$menu.parent();const $toggle_bar=$menu.siblings(".mega-menu-toggle");const menuId=$menu.attr("id");const instanceId=menuId+'-'+(++instanceCounter);const docEventNamespace='.megamenu-'+instanceId;const items_with_submenus=$(["li.mega-menu-megamenu.mega-menu-item-has-children","li.mega-menu-flyout.mega-menu-item-has-children","li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children","li.mega-menu-flyout li.mega-menu-item-has-children"].join(","),$menu);const collapse_children_parents=$("li.mega-menu-megamenu li.mega-menu-item-has-children.mega-collapse-children > a.mega-menu-link",$menu);const focusable_selector="a.mega-menu-link, button.mega-menu-link, .mega-search span[role=button]";const tab_key="Tab";const escape_key="Escape";const enter_key="Enter";const space_key=" ";const left_arrow_key="ArrowLeft";const up_arrow_key="ArrowUp";const right_arrow_key="ArrowRight";const down_arrow_key="ArrowDown";const defaults={event:$menu.attr("data-event"),effect:$menu.attr("data-effect"),effect_speed:parseInt($menu.attr("data-effect-speed")),effect_mobile:$menu.attr("data-effect-mobile"),effect_speed_mobile:parseInt($menu.attr("data-effect-speed-mobile")),panel_width:$menu.attr("data-panel-width"),panel_inner_width:$menu.attr("data-panel-inner-width"),mobile_force_width:$menu.attr("data-mobile-force-width"),mobile_overlay:$menu.attr("data-mobile-overlay"),mobile_state:$menu.attr("data-mobile-state"),mobile_direction:$menu.attr("data-mobile-direction"),second_click:$menu.attr("data-second-click"),vertical_behaviour:$menu.attr("data-vertical-behaviour"),document_click:$menu.attr("data-document-click"),breakpoint:$menu.attr("data-breakpoint"),unbind_events:$menu.attr("data-unbind"),hover_intent_timeout:$menu.attr("data-hover-intent-timeout")??300,hover_intent_interval:$menu.attr("data-hover-intent-interval")??100};plugin.settings={};let html_body_class_timeout;plugin.addAnimatingClass=function(element){if(plugin.settings.effect==="disabled"){return}
19$(".mega-animating",$wrap).removeClass("mega-animating");const timeout=plugin.settings.effect_speed+parseInt(plugin.settings.hover_intent_timeout,10);element.addClass("mega-animating");setTimeout(function(){element.removeClass("mega-animating")},timeout)};plugin.hideAllPanels=function(){$(".mega-toggle-on > a.mega-menu-link",$menu).each(function(){plugin.hidePanel($(this),!1)})};plugin.expandMobileSubMenus=function(){if(plugin.settings.mobile_direction!=='vertical'){return}
20$(".mega-menu-item-has-children.mega-expand-on-mobile > a.mega-menu-link",$menu).each(function(){plugin.showPanel($(this),!0)});if(plugin.settings.mobile_state==='expand_all'){$(".mega-menu-item-has-children:not(.mega-toggle-on) > a.mega-menu-link",$menu).each(function(){plugin.showPanel($(this),!0)})}
21if(plugin.settings.mobile_state==='expand_active'){const activeItemSelectors=["li.mega-current-menu-ancestor.mega-menu-item-has-children > a.mega-menu-link","li.mega-current-menu-item.mega-menu-item-has-children > a.mega-menu-link","li.mega-current-menu-parent.mega-menu-item-has-children > a.mega-menu-link","li.mega-current_page_ancestor.mega-menu-item-has-children > a.mega-menu-link","li.mega-current_page_item.mega-menu-item-has-children > a.mega-menu-link"];$menu.find(activeItemSelectors.join(', ')).each(function(){plugin.showPanel($(this),!0)})}};plugin.hideSiblingPanels=function(anchor,immediate){anchor.parent().parent().find(".mega-toggle-on").children("a.mega-menu-link").each(function(){plugin.hidePanel($(this),immediate)})};plugin.isDesktopView=function(){const width=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return width>plugin.settings.breakpoint};plugin.isMobileView=function(){return!plugin.isDesktopView()};plugin.isHorizontalMobileSubmenuMode=function(){return plugin.isMobileView()&&plugin.isMobileOffCanvas()&&plugin.settings.mobile_direction==="horizontal"};const getBackLink=function($submenu){return $submenu.find("> li.mega-mobile-back:visible > button.mega-mobile-back-link").first()};const getDeepestOpenPanel=function(){return $("li.mega-toggle-on:not(.mega-collapse-children) > ul.mega-sub-menu",$menu).last()};plugin.getFocusableItemsInSubmenu=function($submenu){return $submenu.find(focusable_selector).not(".mega-mobile-back-link").filter(function(){return $(this).is(":visible")&&window.getComputedStyle(this).visibility!=='hidden'})};plugin.focusFirstItemInOpenedSubmenu=function($item){if(!plugin.isHorizontalMobileSubmenuMode()||!$wrap.hasClass("mega-keyboard-navigation")){return}
22const $submenu=$item.children("ul.mega-sub-menu");if(!$submenu.length){return}
23const $firstFocusable=$submenu.find(focusable_selector).not(".mega-mobile-back-link").filter(":visible").first();if($firstFocusable.length){$firstFocusable.trigger("focus")}else{getBackLink($submenu).trigger("focus")}};plugin.deferFocusFirstItemInOpenedSubmenu=function($item){const delay=Math.min(120,parseInt(plugin.settings.effect_speed_mobile,10)||0);setTimeout(function(){plugin.focusFirstItemInOpenedSubmenu($item);setTimeout(function(){const focusedInSubmenu=$item.find("ul.mega-sub-menu").has(document.activeElement).length!==0;if(!focusedInSubmenu){plugin.focusFirstItemInOpenedSubmenu($item)}},40)},delay)};const resolveAnchor=function(anchor){if(typeof anchor==='number'||(typeof anchor==='string'&&anchor.trim()!==''&&!isNaN(anchor))){return $("li.mega-menu-item-"+anchor,$menu).find("a.mega-menu-link").first()}
24if(anchor.is("li.mega-menu-item")){return anchor.find("a.mega-menu-link").first()}
25return anchor};plugin.showPanel=function(anchor,immediate){anchor=resolveAnchor(anchor);const $item=anchor.parent();const isDesktop=plugin.isDesktopView();const isMobile=!isDesktop;$item.triggerHandler("before_open_panel");$item.find("[aria-expanded]").first().attr("aria-expanded","true");$(".mega-animating",$wrap).removeClass("mega-animating");if(isMobile&&$item.hasClass("mega-hide-sub-menu-on-mobile")){return}
26if(isDesktop&&($menu.hasClass("mega-menu-horizontal")||$menu.hasClass("mega-menu-vertical"))&&!$item.hasClass("mega-collapse-children")){plugin.hideSiblingPanels(anchor,!0)}
27if((isMobile&&$wrap.hasClass("mega-keyboard-navigation"))||plugin.settings.vertical_behaviour==="accordion"){plugin.hideSiblingPanels(anchor,!1)}
28plugin.calculateDynamicSubmenuWidths(anchor);if(plugin.shouldUseSlideAnimation(anchor,immediate)){const speed=isMobile?plugin.settings.effect_speed_mobile:plugin.settings.effect_speed;anchor.siblings(".mega-sub-menu").css("display","none").animate({"height":"show","paddingTop":"show","paddingBottom":"show","minHeight":"show"},speed,function(){$(this).css("display","")})}
29$item.addClass("mega-toggle-on").triggerHandler("open_panel");plugin.deferFocusFirstItemInOpenedSubmenu($item)};plugin.shouldUseSlideAnimation=function(anchor,immediate){if(immediate===!0){return!1}
30if(anchor.parent().hasClass("mega-collapse-children")){return!0}
31const isDesktop=plugin.isDesktopView();if(isDesktop&&plugin.settings.effect==="slide"){return!0}
32if(!isDesktop){if(plugin.settings.effect_mobile==="slide"){return!0}
33if(plugin.isMobileOffCanvas()){return plugin.settings.mobile_direction!=="horizontal"}}
34return!1};plugin.hidePanel=function(anchor,immediate){anchor=resolveAnchor(anchor);const $item=anchor.parent();const $submenu=anchor.siblings(".mega-sub-menu");const isMobile=plugin.isMobileView();$item.triggerHandler("before_close_panel");
34$item.find("[aria-expanded]").first().attr("aria-expanded","false");if(plugin.shouldUseSlideAnimation(anchor)){const speed=isMobile?plugin.settings.effect_speed_mobile:plugin.settings.effect_speed;$submenu.animate({"height":"hide","paddingTop":"hide","paddingBottom":"hide","minHeight":"hide"},speed,function(){$submenu.css("display","");$item.removeClass("mega-toggle-on").triggerHandler("close_panel")});return}
35if(immediate){$submenu.css("display","none").delay(plugin.settings.effect_speed).queue(function(){$(this).css("display","").dequeue()})}
36$submenu.find(".widget_media_video video").each(function(){if(this.player){this.player.pause()}});$item.removeClass("mega-toggle-on").triggerHandler("close_panel");plugin.addAnimatingClass($item)};const resolveWidthEl=function(val){return val==='$menu'?$menu:val==='$wrap'?$wrap:$(val)};plugin.calculateDynamicSubmenuWidths=function(anchor){const $item=anchor.parent();const $submenu=anchor.siblings(".mega-sub-menu");const isDesktop=plugin.isDesktopView();const isTopLevelMegamenu=$item.hasClass("mega-menu-megamenu")&&$item.parent().hasClass("max-mega-menu");if(isTopLevelMegamenu&&plugin.settings.panel_width){if(isDesktop){const submenu_offset=$menu.offset();if(plugin.settings.panel_width==='100vw'){const target_offset=$('body').offset();$submenu.css({left:(target_offset.left-submenu_offset.left)+"px"})}else{const $panel_width_el=resolveWidthEl(plugin.settings.panel_width);if($panel_width_el.length>0){$submenu.css({width:$panel_width_el.outerWidth(),left:($panel_width_el.offset().left-submenu_offset.left)+"px"})}}}else{$submenu.css({width:"",left:""})}}
37if(isTopLevelMegamenu&&plugin.settings.panel_inner_width){const $panel_inner_width_el=resolveWidthEl(plugin.settings.panel_inner_width);if($panel_inner_width_el.length>0){const target_width=parseInt($panel_inner_width_el.width(),10);$submenu.css({"paddingLeft":"","paddingRight":""});const submenu_width=parseInt($submenu.innerWidth(),10);if(isDesktop&&target_width>0&&target_width<submenu_width){$submenu.css({"paddingLeft":(submenu_width-target_width)/2+"px","paddingRight":(submenu_width-target_width)/2+"px"})}}}};const recalculateSubmenuWidths=function(){plugin.calculateDynamicSubmenuWidths($("> li.mega-menu-megamenu > a.mega-menu-link",$menu))};plugin.bindClickEvents=function(){plugin.unbindClickEvents(!0);let dragging=!1;$(document).on({["touchmove"+docEventNamespace]:function(){dragging=!0},["touchstart"+docEventNamespace]:function(){dragging=!1}});$(document).on("click"+docEventNamespace+" touchend"+docEventNamespace,function(e){if(!dragging&&plugin.settings.document_click==="collapse"&&!$(e.target).closest(".mega-menu-wrap").length){plugin.hideAllPanels();plugin.hideMobileMenu()}
38dragging=!1});collapse_children_parents.off("click.megamenu touchend.megamenu");const clickable_parents=$("> a.mega-menu-link",items_with_submenus).add(collapse_children_parents);clickable_parents.on("touchend.megamenu",function(e){if(plugin.settings.event==="hover_intent"){plugin.unbindHoverIntentEvents()}
39if(plugin.settings.event==="hover"){plugin.unbindHoverEvents()}});clickable_parents.on("click.megamenu",function(e){if($(e.target).hasClass('mega-indicator')){return}
40if(plugin.isDesktopView()&&$(this).parent().hasClass("mega-toggle-on")&&$(this).closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")){if(plugin.settings.second_click==="go"){return}else{e.preventDefault();return}}
41if(dragging){return}
42if(plugin.isMobileView()&&$(this).parent().hasClass("mega-hide-sub-menu-on-mobile")){return}
43if((plugin.settings.second_click==="go"||$(this).parent().hasClass("mega-click-click-go"))&&$(this).attr("href")!==undefined){if(!$(this).parent().hasClass("mega-toggle-on")){e.preventDefault();plugin.showPanel($(this))}}else{e.preventDefault();if($(this).parent().hasClass("mega-toggle-on")){plugin.hidePanel($(this),!1)}else{plugin.showPanel($(this))}}});if(plugin.settings.second_click==="disabled"){clickable_parents.off("click.megamenu")}
44$(".mega-close-after-click:not(.mega-menu-item-has-children) > a.mega-menu-link",$menu).on("click.megamenu",function(){plugin.hideAllPanels();plugin.hideMobileMenu()});$("button.mega-close",$wrap).on("click.megamenu",function(e){plugin.hideMobileMenu()})};plugin.bindHoverEvents=function(){items_with_submenus.on({"mouseenter.megamenu":function(){plugin.unbindClickEvents();if(!$(this).hasClass("mega-toggle-on")){plugin.showPanel($(this).children("a.mega-menu-link"))}},"mouseleave.megamenu":function(){if($(this).hasClass("mega-toggle-on")&&!$(this).hasClass("mega-disable-collapse")&&!$(this).parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel($(this).children("a.mega-menu-link"),!1)}}})};plugin.bindHoverIntentEvents=function(){items_with_submenus.hoverIntent({over:function(){plugin.unbindClickEvents();if(!$(this).hasClass("mega-toggle-on")){plugin.showPanel($(this).children("a.mega-menu-link"))}},out:function(){if($(this).hasClass("mega-toggle-on")&&!$(this).hasClass("mega-disable-collapse")&&!$(this).parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel($(this).children("a.mega-menu-link"),!1)}},timeout:plugin.settings.hover_intent_timeout,interval:plugin.settings.hover_intent_interval})};plugin.isMobileOffCanvas=function(){return plugin.settings.effect_mobile==='slide_left'||plugin.settings.effect_mobile==='slide_right'};plugin.shouldGoToNextTopLevelItem=function(key){return((key===right_arrow_key&&plugin.isDesktopView())||(key===down_arrow_key&&plugin.isMobileView()))&&$menu.hasClass("mega-menu-horizontal")};plugin.shouldGoToPreviousTopLevelItem=function(key){return((key===left_arrow_key&&plugin.isDesktopView())||(key===up_arrow_key&&plugin.isMobileView()))&&$menu.hasClass("mega-menu-horizontal")};plugin.bindKeyboardEvents=function(){const $firstFocusable=$menu.find("a.mega-menu-link").first();const $lastFocusable=$wrap.find("button.mega-close").first();const focusableLinkSelector=focusable_selector.split(", ").map(s=>"> "+s).join(", ");const togglePanelForAnchor=function(anchor){if(!anchor||!anchor.length)return;if(anchor.parent().hasClass("mega-toggle-on")&&!anchor.closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")){plugin.hidePanel(anchor)}else{plugin.showPanel(anchor)}};const closeNearestOpenPanelAndRefocus=function(){const $focused=$menu[0].contains(document.activeElement)?$(document.activeElement):$();const $parentAnchor=$("> a.mega-menu-link",$focused.closest(".mega-toggle-on"));if($parentAnchor.length){plugin.hidePanel($parentAnchor);$parentAnchor.trigger("focus");return!0}
45return!1};const handleTabKey=function(e,$active,isOffCanvasHorizontal,isMobileOffCanvas){
45if($active.is($lastFocusable)&&isMobileOffCanvas){if(!e.shiftKey){e.preventDefault();const $backLink=isOffCanvasHorizontal?getBackLink(getDeepestOpenPanel()):$();($backLink.length?$backLink:$firstFocusable).trigger('focus')}else if(isOffCanvasHorizontal){const $last=plugin.getFocusableItemsInSubmenu(getDeepestOpenPanel()).last();if($last.length){e.preventDefault();$last.trigger('focus')}}
46return}
47if(isMobileOffCanvas&&e.shiftKey&&$active.is($firstFocusable)){e.preventDefault();$lastFocusable.trigger('focus');return}
48if(isOffCanvasHorizontal){const $deepestPanel=getDeepestOpenPanel();if($deepestPanel.length&&!$deepestPanel.has($active).length){e.preventDefault();if(!e.shiftKey){const $backLink=getBackLink($deepestPanel);($backLink.length?$backLink:plugin.getFocusableItemsInSubmenu($deepestPanel).first()).trigger('focus')}else{$lastFocusable.trigger('focus')}
49return}
50const $submenu=$active.parentsUntil($menu,"ul.mega-sub-menu").filter(function(){const $p=$(this).parent();return $p.hasClass("mega-toggle-on")&&!$p.hasClass("mega-collapse-children")}).first();if($submenu.length){if(!e.shiftKey){const $items=plugin.getFocusableItemsInSubmenu($submenu);if($items.length&&$active.is($items.last())){e.preventDefault();$lastFocusable.trigger('focus')}}else if($active.hasClass("mega-mobile-back-link")){e.preventDefault();$lastFocusable.trigger('focus')}else{const $items=plugin.getFocusableItemsInSubmenu($submenu);const $backLink=getBackLink($submenu);if($items.length&&$backLink.length&&$active.is($items.first())){e.preventDefault();$backLink.trigger('focus')}}}}};const handleToggleBarTrigger=function(e){e.preventDefault();if($toggle_bar.hasClass("mega-menu-open")){plugin.hideMobileMenu()}else{plugin.showMobileMenu();html_body_class_timeout=setTimeout(function(){$menu.find("a.mega-menu-link").first().trigger('focus')},plugin.settings.effect_speed_mobile)}};const handleSpaceKey=function(e,$active){if($active.is("a.mega-menu-link")){e.preventDefault();if($active.parent().is(items_with_submenus))togglePanelForAnchor($active);}else if($active.is(".mega-indicator")){e.preventDefault();togglePanelForAnchor($active.parent())}};const handleEscapeKey=function(){const submenu_open=$(".mega-toggle-on",$menu).length!==0;if(submenu_open&&closeNearestOpenPanelAndRefocus())return;if(plugin.isMobileView()&&!submenu_open)plugin.hideMobileMenu();};const handleEnterKey=function(e,$active){if($active.is(".mega-indicator")){togglePanelForAnchor($active.parent());return}
51if($active.parent().is(items_with_submenus)){if(plugin.isMobileView()&&$active.parent().is(".mega-hide-sub-menu-on-mobile"))return;if(!$active.is("[href]")){togglePanelForAnchor($active);return}
52if($active.parent().hasClass("mega-toggle-on")&&!$active.closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed"))return;e.preventDefault();plugin.showPanel($active)}};const handleArrowUpDown=function(e,goingDown){e.preventDefault();const $activeSubmenu=getDeepestOpenPanel();if($activeSubmenu.length){const $backLink=getBackLink($activeSubmenu);const $items=plugin.getFocusableItemsInSubmenu($activeSubmenu);const focusOrder=[];if($backLink.length)focusOrder.push($backLink[0]);$items.each(function(){focusOrder.push(this)});if($lastFocusable.length)focusOrder.push($lastFocusable[0]);const idx=focusOrder.indexOf(document.activeElement);const nextIdx=(idx<0)?(goingDown?0:focusOrder.length-1):(idx+(goingDown?1:-1)+focusOrder.length)%focusOrder.length;$(focusOrder[nextIdx]).trigger('focus')}else{const $topLinks=$menu.children("li.mega-menu-item:visible").find(focusableLinkSelector);const idx=$topLinks.index(document.activeElement);if(idx>=0){const nextIdx=(idx+(goingDown?1:-1)+$topLinks.length)%$topLinks.length;$topLinks.eq(nextIdx).trigger('focus')}}};const handleArrowLeftRight=function(e,goingToNext){e.preventDefault();const $topLinks=$menu.children("li.mega-menu-item:visible").find(focusableLinkSelector);const $topLink=$(document.activeElement).closest($menu.children("li.mega-menu-item")).find(focusableLinkSelector).first();const idx=$topLinks.index($topLink);const nextIdx=goingToNext?idx+1:idx-1;if(idx>=0&&nextIdx>=0){plugin.hideAllPanels();$topLinks.eq(nextIdx).trigger('focus')}};$wrap.on("keyup.megamenu",".max-mega-menu, .mega-menu-toggle",function(e){if(e.key!==tab_key)return;$wrap.addClass("mega-keyboard-navigation");plugin.bindClickEvents();const $target=$(e.target);if(plugin.isDesktopView()&&$target.is(".mega-menu-link")&&$target.parent().parent().hasClass('max-mega-menu')){plugin.hideAllPanels()}});$wrap.on("keydown.megamenu","a.mega-menu-link, button.mega-menu-link, button.mega-mobile-back-link, .mega-indicator, .mega-menu-toggle-block, .mega-menu-toggle-animated-block button, button.mega-close",function(e){if(!$wrap.hasClass("mega-keyboard-navigation"))return;const key=e.key;const $active=$(e.target);const isOffCanvasHorizontal=plugin.isHorizontalMobileSubmenuMode();const isMobileOffCanvas=plugin.isMobileView()&&plugin.isMobileOffCanvas();switch(key){case tab_key:handleTabKey(e,$active,isOffCanvasHorizontal,isMobileOffCanvas);break;case space_key:if($active.is(".mega-menu-toggle-block button, .mega-menu-toggle-animated-block button")){handleToggleBarTrigger(e)}else{handleSpaceKey(e,$active)}
53break;case enter_key:if($active.is(".mega-menu-toggle-block button, .mega-menu-toggle-animated-block button")){handleToggleBarTrigger(e)}else{handleEnterKey(e,$active)}
54break;case escape_key:handleEscapeKey();break;case up_arrow_key:case down_arrow_key:if(isOffCanvasHorizontal){handleArrowUpDown(e,key===down_arrow_key)}
55break;case left_arrow_key:case right_arrow_key:const goingToNext=plugin.shouldGoToNextTopLevelItem(key);const goingToPrev=plugin.shouldGoToPreviousTopLevelItem(key);if(goingToNext||goingToPrev){handleArrowLeftRight(e,goingToNext)}
56break}});$wrap.on("focusout.megamenu",function(e){if($wrap.hasClass("mega-keyboard-navigation")){setTimeout(function(){if(!$wrap[0].c
56ontains(document.activeElement)){$wrap.removeClass("mega-keyboard-navigation");plugin.hideAllPanels();plugin.hideMobileMenu()}},10)}})};plugin.unbindAllEvents=function(){$(document).off(docEventNamespace);$("ul.mega-sub-menu, li.mega-menu-item, li.mega-menu-row, li.mega-menu-column, a.mega-menu-link, .mega-indicator",$menu).off()};plugin.unbindClickEvents=function(force){if(!force&&$wrap.hasClass('mega-keyboard-navigation')){return}
57$(document).off(docEventNamespace);$("> a.mega-menu-link",items_with_submenus).not(collapse_children_parents).off("click.megamenu touchend.megamenu")};plugin.unbindHoverEvents=function(){items_with_submenus.off("mouseenter.megamenu mouseleave.megamenu")};plugin.unbindHoverIntentEvents=function(){items_with_submenus.off("mouseenter mouseleave").removeProp("hoverIntent_t").removeProp("hoverIntent_s")};plugin.unbindKeyboardEvents=function(){$wrap.off("keyup.megamenu keydown.megamenu focusout.megamenu")};plugin.unbindMegaMenuEvents=function(){if(plugin.settings.event==="hover_intent"){plugin.unbindHoverIntentEvents()}
58if(plugin.settings.event==="hover"){plugin.unbindHoverEvents()}
59plugin.unbindClickEvents();plugin.unbindKeyboardEvents()};plugin.bindMegaMenuEvents=function(){plugin.unbindMegaMenuEvents();const isDesktop=plugin.isDesktopView();if(isDesktop&&plugin.settings.event==="hover_intent"){plugin.bindHoverIntentEvents()}
60if(isDesktop&&plugin.settings.event==="hover"){plugin.bindHoverEvents()}
61plugin.bindClickEvents();plugin.bindKeyboardEvents()};plugin.checkWidth=function(){if(plugin.isMobileView()&&$menu.data("view")==="desktop"){plugin.switchToMobile()}
62if(plugin.isDesktopView()&&$menu.data("view")==="mobile"){plugin.switchToDesktop()}
63recalculateSubmenuWidths()};plugin.reverseRightAlignedItems=function(){if(!$("body").hasClass("rtl")&&$menu.hasClass("mega-menu-horizontal")&&$menu.css("display")!=='flex'){$menu.append($menu.children("li.mega-item-align-right").get().reverse())}};plugin.addClearClassesToMobileItems=function(){$(".mega-menu-row",$menu).each(function(){$("> .mega-sub-menu > .mega-menu-column:not(.mega-hide-on-mobile)",$(this)).filter(":even").addClass("mega-menu-clear")})};plugin.initDesktop=function(){$menu.data("view","desktop");plugin.bindMegaMenuEvents();plugin.initIndicators();$menu.trigger("mmm:switchToDesktop")};plugin.initMobile=function(){plugin.switchToMobile()};plugin.switchToDesktop=function(){$menu.data("view","desktop");plugin.bindMegaMenuEvents();plugin.reverseRightAlignedItems();plugin.hideAllPanels();plugin.hideMobileMenu(!0);$menu.removeAttr('role');$menu.removeAttr('aria-modal');$menu.removeAttr('aria-hidden');$menu.trigger("mmm:switchToDesktop")};plugin.switchToMobile=function(){$menu.data("view","mobile");if(plugin.isMobileOffCanvas()&&$toggle_bar.is(":visible")){$menu.attr('role','dialog');$menu.attr('aria-modal','true');$menu.attr('aria-hidden','true')}
64plugin.bindMegaMenuEvents();plugin.initIndicators();plugin.reverseRightAlignedItems();plugin.addClearClassesToMobileItems();plugin.hideAllPanels();plugin.expandMobileSubMenus();$menu.trigger("mmm:switchToMobile")};plugin.initToggleBar=function(){$toggle_bar.on("click",function(e){const isToggleTrigger=$(e.target).closest(".mega-menu-toggle-block, button.mega-toggle-animated, .mega-menu-toggle-custom-block",this).length;if(isToggleTrigger){e.preventDefault();if($(this).hasClass("mega-menu-open")){plugin.hideMobileMenu()}else{plugin.showMobileMenu()}}else if(e.target===this&&plugin.isMobileOffCanvas()){plugin.hideMobileMenu()}})};plugin.initIndicators=function(){$menu.off('click.megamenu','.mega-indicator');$menu.on('click.megamenu','.mega-indicator',function(e){e.preventDefault();e.stopPropagation();if($(this).closest(".mega-menu-item").hasClass("mega-toggle-on")){if(!$(this).closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")||plugin.isMobileView()){plugin.hidePanel($(this).parent(),!1)}}else{plugin.showPanel($(this).parent(),!1)}})};plugin.hideMobileMenu=function(force=!1){if(!$toggle_bar.is(":visible")&&!force){return}
65$menu.attr("aria-hidden","true");clearTimeout(html_body_class_timeout);html_body_class_timeout=setTimeout(function(){$("body").removeClass(menuId+"-mobile-open");$("html").removeClass(menuId+"-off-canvas-open")},plugin.settings.effect_speed_mobile);if($wrap.hasClass("mega-keyboard-navigation")){$(".mega-menu-toggle-block button, button.mega-toggle-animated",$toggle_bar).first().trigger('focus')}
66$(".mega-toggle-label, .mega-toggle-animated",$toggle_bar).attr("aria-expanded","fal
66se");const resetMenuStyles=function(){$menu.css({width:"",left:"",display:""});$toggle_bar.removeClass("mega-menu-open")};if(plugin.settings.effect_mobile==="slide"&&!force){$menu.animate({"height":"hide"},plugin.settings.effect_speed_mobile,resetMenuStyles)}else{resetMenuStyles()}
67$menu.triggerHandler("mmm:hideMobileMenu")};plugin.showMobileMenu=function(){if(!$toggle_bar.is(":visible")){return}
68clearTimeout(html_body_class_timeout);$("body").addClass(menuId+"-mobile-open");plugin.expandMobileSubMenus();if(plugin.isMobileOffCanvas()){$("html").addClass(menuId+"-off-canvas-open")}
69if(plugin.settings.effect_mobile==="slide"){$menu.animate({"height":"show"},plugin.settings.effect_speed_mobile,function(){$(this).css("display","")})}
70$(".mega-toggle-label, .mega-toggle-animated",$toggle_bar).attr("aria-expanded","true");$toggle_bar.addClass("mega-menu-open");plugin.toggleBarForceWidth();$menu.attr("aria-hidden","false");$menu.triggerHandler("mmm:showMobileMenu")};plugin.toggleBarForceWidth=function(){const $force_width_el=$(plugin.settings.mobile_force_width);if($force_width_el.length&&(plugin.settings.effect_mobile==="slide"||plugin.settings.effect_mobile==="disabled")){const submenu_offset=$toggle_bar.offset();const target_offset=$force_width_el.offset();$menu.css({width:$force_width_el.outerWidth(),left:(target_offset.left-submenu_offset.left)+"px"})}};plugin.doConsoleChecks=function(){if(plugin.settings.mobile_force_width!=="false"&&!$(plugin.settings.mobile_force_width).length&&(plugin.settings.effect_mobile==="slide"||plugin.settings.effect_mobile==="disabled")){console.warn('Max Mega Menu #'+$wrap.attr('id')+': Mobile Force Width element ('+plugin.settings.mobile_force_width+') not found')}
71const cssWidthRegex=/^((\d+(\.\d+)?(px|%|em|rem|vw|vh|ch|ex|cm|mm|in|pt|pc))|auto)$/i;if(plugin.settings.panel_width!==undefined&&!cssWidthRegex.test(plugin.settings.panel_width)&&!resolveWidthEl(plugin.settings.panel_width).length){console.warn('Max Mega Menu #'+$wrap.attr('id')+': Panel Width (Outer) element ('+plugin.settings.panel_width+') not found')}
72if(plugin.settings.panel_inner_width!==undefined&&!cssWidthRegex.test(plugin.settings.panel_inner_width)&&!resolveWidthEl(plugin.settings.panel_inner_width).length){console.warn('Max Mega Menu #'+$wrap.attr('id')+': Panel Width (Inner) element ('+plugin.settings.panel_inner_width+') not found')}};plugin.init=function(){$menu.triggerHandler("before_mega_menu_init");plugin.settings=$.extend({},defaults,options);if(window.console){plugin.doConsoleChecks()}
73$menu.removeClass("mega-no-js");plugin.initToggleBar();if(plugin.settings.unbind_events==="true"){plugin.unbindAllEvents()}
74if(document.readyState==='complete'){recalculateSubmenuWidths()}else{$(window).on("load",recalculateSubmenuWidths)}
75if(plugin.isDesktopView()){plugin.initDesktop()}else{plugin.initMobile()}
76$(window).on("resize",function(){plugin.checkWidth()});$menu.triggerHandler("after_mega_menu_init")};plugin.init()};$.fn.maxmegamenu=function(options){return this.each(function(){if(undefined===$(this).data("maxmegamenu")){const plugin=new $.maxmegamenu(this,options);$(this).data("maxmegamenu",plugin)}})};$(function(){$(".max-mega-menu").maxmegamenu()})}(jQuery));
77var ctf_js_exists=void 0!==ctf_js_exists;ctf_js_exists||function(u){function t(){if(window.ctfObject.consentGiven||!window.ctfObject.gdpr)return!0;if(void 0!==window.WPConsent)window.ctfObject.consentGiven=window.WPConsent.hasConsent("marketing");else if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(window.ctfObject.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(window.ctfObject.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var u=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===u.length){var t=u.pop().split(";").shift();window.ctfObject.consentGiven="true"===t}}else if(void 0!==window.cookieconsent)window.ctfObject.consentGiven="allow"===c("cmplz_consent_status")||jQuery("body").hasClass("cmplz-status-marketing");else if(void 0!==window.Cookiebot)window.ctfObject.consentGiven=Cookiebot.consented;else if(void 0!==window.BorlabsCookie)window.ctfObject.consentGiven=void 0!==window.BorlabsCookie.Consents?window.BorlabsCookie.Consents.hasConsent("twitter"):window.BorlabsCookie.checkCookieConsent("twitter");else if(cffCmplzGetCookie("moove_gdpr_popup")){var e=JSON.parse(decodeURIComponent(c("moove_gdpr_popup")));window.ctfObject.consentGiven=void 0!==e.thirdparty&&"1"===e.thirdparty}var n=jQuery.Event("ctfcheckconsent");return n.feed=this,jQuery(window).trigger(n),window.ctfObject.consentGiven}function e(t){t.find(".ctf-hide-avatar").length&&!t.find(".ctf-hide-avatar.ctf-no-consent").length||t.find(".ctf-item").addClass("ctf-hide-avatar ctf-no-consent"),u(".ctf-header-img span").length&&u(".ctf-header-img").addClass("ctf-no-consent")}function n(t){o(),t.find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),t.find(".ctf-author-avatar").each((function(){(function(e){e.replaceWith(u("<img>",{src:e.attr("data-avatar")||"",alt:e.attr("data-alt")||"",width:48,height:48}))})(u(this).find("span"))})),t.find(".ctf-header-img").each((function(){(function(e){e.replaceWith(u("<img>",{src:e.attr("data-avatar")||"",alt:e.attr("data-alt")||"",width:48,height:48}))})(u(this).find("span"))})),t.find(".ctf-no-consent").removeClass("ctf-no-consent"),t.find(".ctf-header .ctf-header-link").on("mouseenter mouseleave",(function(u){switch(u.type){case"mouseenter":t.find(".ctf-header .ctf-header-img-hover").fadeIn(200);break;case"mouseleave":t.find(".ctf-header .ctf-header-img-hover").stop().fadeOut(600)}}))}function i(){t()&&u(".ctf").each((function(){n(u(this))}))}function o(){void 0===typeof window.ctfObject.intentsIncluded&&(window.ctfObject.intentsIncluded=!1),u(".ctf").each((function(){window.ctfObject.intentsIncluded||void 0===typeof u(this).attr("data-ctfintents")||(window.ctfObject.intentsIncluded=!0,function(){if(!window.__twitterIntentHandler){var u=/twitter\.com\/intent\/(\w+)/,t=screen.height,e=screen.width;document.addEventListener?document.addEventListener("click",n,!1):document.attachEvent&&document.attachEvent("onclick",n),window.__twitterIntentHandler=!0}function n(n){for(var i,o,c=(n=n||window.event).target||n.srcElement;c&&"a"!==c.nodeName.toLowerCase();)c=c.parentNode;c&&"a"===c.nodeName.toLowerCase()&&c.href&&c.href.match(u)&&(i=Math.round(e/2-275),o=0,t>420&&(o=Math.round(t/2-210)),window.open(c.href,"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+i+",top="+o),n.returnValue=!1,n.preventDefault&&n.preventDefault())}}())}))}function c(u){for(var t=u+"=",e=window.document.cookie.split(";"),n=0;n<e.length;n++){var i=e[n].trim();if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""}function a(u){var t="content";return u.closest("footer").length?t="footer":u.closest(".header").length||u.closest("header").length?t="header":(u.closest(".sidebar").length||u.closest("aside").length)&&(t="sidebar"),t}window.ctf_init=function(){if(window.ctfObject={},u(".ctf").length&&void 0!==u(".ctf").first().attr("data-ctf-flags")){var i=u(".ctf").first().attr("data-ctf-flags").split(",");if(i.indexOf("gdpr")>-1?(window.ctfObject.consentGiven=!1,window.ctfObject.gdpr=!0):(window.ctfObject.consentGiven=!0,window.ctfObject.gdpr=!1),i.indexOf("locator")>-1){var c=Math.floor(Math.random()*u(".ctf").length);window.ctfObject.locator=1===u(".ctf").length||1===c}else window.ctfObject.locator=!1}else window.ctfObject.consentGiven=!0,window.ctfObject.gdpr=!1,window.ctfObject.locator=!1;function d(i){if(i.addClass("ctf_is_initialized"),window.ctfObject.locator){var o=(i.attr("data-feed-id"),i.attr("data-feed-id")),c=(i.attr("data-postid"),i.attr("data-postid"));jQuery.ajax({url:ctf.ajax_url,type:"post",data:{action:"ctf_do_locator",atts:i.attr("data-ctfshortcode"),feed_id:o,location:a(i),post_id:c},success:function(u){}})}
77t()?n(i):e(i),i.find(".ctf-item.ctf-new").each((function(){var t,e,n,o,c,a,d,f,s=u(this),r=s.find(".ctf-tweet-text-media-wrap"),A=s.find(".ctf-tweet-text").remove(".ctf-tweet-text-media-wrap"),l=" "+A.html();if("true"!=i.attr("data-ctfdisablelinks")&&void 0!==l&&!i.find(".ctf-tweet-text-link").length){var F=i.attr("data-ctflinktextcolor"),C="";F&&(C=F.replace(";","").split("#")[1]),window.ctfLinkify=(t="[a-z\\d.-]+://",e="(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))",n="(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?",o="mailto:",c=new RegExp("(?:\\b"+t+"[^<>\"'\\s]+|\\b"+e+"(?:[;/][^#?<>\\s]*)?"+n+"(?!\\w)|(?:"+o+")?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+e+n+"(?!\\w))","ig"),a=new RegExp("^"+t,"i"),d={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},f={callback:function(u,t){if(!t)return u;if(!/^https?:\/\//i.test(t))return u;var e=String(t).replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]*|#\d+|#x[0-9a-fA-F]+);)/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return '<a href="'+e+'" title="'+e+'" target="_blank">'+u+"</a>"},punct_regexp:/(?:[!?.,:;'"]|(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/},function(u,t){t=t||{};var e,n,i,s,r,A,l,F,C,h,w,B,p="",m=[];for(n in f)void 0===t[n]&&(t[n]=f[n]);for(;e=c.exec(u);)if(i=e[0],l=(A=c.lastIndex)-i.length,!/[\/:]/.test(u.charAt(l-1))){do{F=i,B=i.substr(-1),(w=d[B])&&(C=i.match(new RegExp("\\"+w+"(?!$)","g")),h=i.match(new RegExp("\\"+B,"g")),(C?C.length:0)<(h?h.length:0)&&(i=i.substr(0,i.length-1),A--)),t.punct_regexp&&(i=i.replace(t.punct_regexp,(function(u){return A-=u.length,""})))}while(i.length&&i!==F);s=i,a.test(s)||(s=(-1!==s.indexOf("@")?s.indexOf(o)?o:"":s.indexOf("irc.")?s.indexOf("ftp.")?"http://":"ftp://":"irc://")+s),r!=l&&(m.push([u.slice(r,l)]),r=A),m.push([i,s])}for(m.push([u.substr(r)]),n=0;n<m.length;n++)p+=t.callback.apply(window,m[n]);return p||u}),A.find("a").length||(A.find(".emoji").each((function(){u(this).replaceWith(document.createTextNode(u(this).attr("alt")||""))})),l=" "+A.html(),l=ctfLinkify(l));l.length>0&&(l=(l=l.replace(/<br>/g,"<br> ")).replace(/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u
770EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,(function(u){var t=u.trim();return/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://twitter.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"})));l=l.replace(/[\s][@]+[A-Za-z0-9-_]+/g,(function(u){var t=u.trim();return' <a href="https://twitter.com/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"})),A.html(l.trim()),A.append(r),A.find("a").css("color","#"+C),r.css("color","#"+C)}s.find(".ctf-tweet-text a").each((function(){jQuery(this).text().indexOf("http")>-1&&jQuery(this).text().length>63&&jQuery(this).text(jQuery(this).text().substring(0,60)+"...")}))})),i.find(".ctf-author-name, .ctf-tweet-date, .ctf-author-screenname, .ctf-twitterlink, .ctf-author-box-link, .ctf-retweet-text, .ctf-quoted-tweet").css("color",i.find(".ctf-tweet-text").css("color")),i.find(".ctf_more").off("click").on("click",(function(t){t.preventDefault(),u(this).hide().next(".ctf_remaining").show()})),"function"==typeof ctf_custom_js&&ctf_custom_js(u),i.find(".ctf-author-box-link p:empty").remove()}function f(u,t,e,n,i,o){n.addClass("ctf-loading").append('<div class="ctf-loader"></div>'),n.find(".ctf-loader").css("background-color",n.css("color"));var c=(e.attr("data-feedid"),e.attr("data-feedid")),f=(e.attr("data-postid"),e.attr("data-postid")),s=(e.attr("data-feed"),e.attr("data-feed"));jQuery.ajax({url:ctf.ajax_url,type:"post",data:{action:"ctf_get_more_posts",last_id_data:u,shortcode_data:t,num_needed:i,persistent_index:o,feed_id:c,location:a(e),post_id:f,v2feed:s},success:function(t){""!==u?(-1==t.indexOf("<meta charset")&&e.find(".ctf-item").removeClass("ctf-new").last().after(t),e.find(".ctf-out-of-tweets").length&&(n.hide(),e.find(".ctf-out-of-tweets p").eq(0).fadeIn().end().eq(1).delay(500).fadeIn())):e.find(".ctf-tweets").append(t),n.removeClass("ctf-loading").find(".ctf-loader").remove(),d(e)}})}u(".ctf").length<=u(".ctf_is_initialized").length||(window.ctfObject.consentGiven&&o(),u(".ctf").each((function(){var i=u(this),o=parseInt(i.attr("data-ctfneeded"));i.width()<=480&&i.addClass("ctf-narrow"),i.width()<=320&&i.addClass("ctf-super-narrow"),u(this).hasClass("ctf_is_initialized")||d(i),setTimeout((function(){if(o>0){var u=i.find(".ctf-more"),t=i.find(".ctf-item").last().attr("id"),e=i.find(".ctf-item").length;f(t,i.attr("data-ctfshortcode"),i,u,o,e)}}),500),i.find(".ctf-more").on("click",(function(){var t=u(this),e=i.find(".ctf-item").last().attr("id"),n=i.find(".ctf-item").length;f(e,i.attr("data-ctfshortcode"),i,t,0,n)})),i.find(".ctf-author-box-link p:empty").remove(),setTimeout((function(){t()?n(i):e(i)}),500)})))},jQuery(document).ready((function(u){ctf_init(),u("#cookie-notice a").on("click",(function(){setTimeout((function(){i()}),1e3)})),u("#cookie-law-info-bar a").on("click",(function(){setTimeout((function(){i()}),1e3)}
77)),u(".cli-user-preference-checkbox").on("click",(function(){i()})),u(window).on("CookiebotOnAccept",(function(u){i()})),u(document).on("cmplzEnableScripts",(function(t){"marketing"===t.detail&&u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))})),u(document).on("cmplzFireCategories",(function(t){"marketing"===t.detail.category&&u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))})),u(document).on("borlabs-cookie-consent-saved",(function(u){i()})),void 0!==window.consentApi&&window.consentApi.consent("custom-twitter-feed").then((()=>{try{setTimeout((function(){u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))}),1e3)}catch(u){}})),u(".moove-gdpr-infobar-allow-all").on("click",(function(){setTimeout((function(){u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))}),1e3)})),window.addEventListener("wpconsent_consent_saved",(function(t){setTimeout((function(){u(".ctf").each((function(){i()}))}),1e3)})),window.addEventListener("wpconsent_consent_updated",(function(t){setTimeout((function(){u(".ctf").each((function(){i()}))}),1e3)}))}))}(jQuery);
78;

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.