diff --git a/authentic-init.pl b/authentic-init.pl index 43a325284..768141452 100644 --- a/authentic-init.pl +++ b/authentic-init.pl @@ -2105,4 +2105,14 @@ sub embed_product_branding print $brand; } +sub navigation_link_clean +{ + my ($link) = @_; + if ($link) { + $link =~ s/\?$xnav&/?/g; + $link =~ s/[?|&]$xnav//g; + } + return $link; +} + 1; diff --git a/authentic.pl b/authentic.pl index 104dc206f..34a9d6cb7 100644 --- a/authentic.pl +++ b/authentic.pl @@ -172,7 +172,7 @@ sub theme_footer $url = "/" . &get_module_name() . "/$url"; } $url = "$theme_webprefix$url" if ($url =~ /^\//); - $url = $url . "/" if ($url =~ /[^\/]$/ && $url !~ /.cgi/ && $url !~ /javascript:history/); + $url = $url . "/" if ($url =~ /[^\/]$/ && $url !~ /.cgi/ && $url !~ /javascript:history/ && $url !~ /[&?]/); print "   ", &text('main_return', $_[$i + 1]), "\n"; @@ -1353,24 +1353,26 @@ sub theme_get_webprefix sub theme_redirect { - if ($ENV{'REQUEST_URI'} =~ /noredirect=1/) { + my $request_uri = navigation_link_clean($ENV{'REQUEST_URI'}); + if ($request_uri =~ /noredirect=1/) { head(); return; } my $origin = $ENV{'HTTP_ORIGIN'}; - my $referer = $ENV{'HTTP_REFERER'}; + my $referer = navigation_link_clean($ENV{'HTTP_REFERER'}); my $prefix = $theme_webprefix; my $noredir = $gconfig{'webprefixnoredir'}; my $relredir = $gconfig{'relative_redir'}; - my ($arg1, $arg2) = ($_[0], $_[1]); + my ($arg1, $arg2) = (navigation_link_clean($_[0]), + navigation_link_clean($_[1])); # Clean redirected links query string if requested - if ($ENV{'REQUEST_URI'} =~ /no-query=string/) { + if ($request_uri =~ /no-query=string/) { my $nocache = "no-cache=1"; $arg1 =~ s/\.cgi.*/.cgi/; $arg2 =~ s/\.cgi.*/.cgi/; - if ($ENV{'REQUEST_URI'} =~ /\Q$nocache\E/) { + if ($request_uri =~ /\Q$nocache\E/) { $arg1 .= "?" . $nocache; $arg2 .= "?" . $nocache; } diff --git a/unauthenticated/js/bundle.min.js b/unauthenticated/js/bundle.min.js index 158c9d16e..78baf5d8f 100644 --- a/unauthenticated/js/bundle.min.js +++ b/unauthenticated/js/bundle.min.js @@ -90,7 +90,7 @@ if(typeof jQuery==="undefined"){throw new Error("Bootstrap's JavaScript requires * Copyright 2012 Chris Wanstrath * Licensed under MIT */ -(function(e){function t(t,a,n){n=x(a,n);return this.on("click.pjax",t,function(t){var a=n;if(!a.container){a=e.extend({},n);a.container=e(this).attr("data-pjax")}r(t,a)})}function r(t,r,a){a=x(r,a);var i=t.currentTarget;var o=e(i);if(i.tagName.toUpperCase()!=="A")throw"$.fn.pjax or $.pjax.click requires an anchor element";if(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;if(location.protocol!==i.protocol||location.hostname!==i.hostname)return;if(i.href.indexOf("#")>-1&&g(i)==g(location))return;if(t.isDefaultPrevented())return;var s={url:i.href,container:o.attr("data-pjax"),target:i};var l=e.extend({},s,a);var u=e.Event("pjax:click");o.trigger(u,[l]);if(!u.isDefaultPrevented()){n(l);t.preventDefault();o.trigger("pjax:clicked",[l])}}function a(t,r,a){a=x(r,a);var i=t.currentTarget,o=e(i);if(i.tagName.toUpperCase()!=="FORM")throw"$.pjax.submit requires a form element";var s={type:(o.attr("method")||"GET").toUpperCase(),url:o.attr("action"),container:o.attr("data-pjax"),target:i};if(s.type!=="GET"&&window.FormData!==undefined){var l=o.attr("enctype")&&o.attr("enctype").indexOf("form-data")>-1?0:1;s.data=l?o.serialize():new FormData(o[0]);s.processData=false;s.contentType=false}else{if(o.find(":file").length){return}s.data=o.serializeArray()}n(e.extend({},s,a));t.preventDefault()}function n(t){t=e.extend(true,{},e.ajaxSettings,n.defaults,t);if(e.isFunction(t.url)){t.url=t.url()}var r=m(t.url).hash;var a=e.type(t.container);if(a!=="string"){throw"expected string value for 'container' option; got "+a}var i=t.context=e(t.container);if(!i.length){throw"the container selector '"+t.container+"' did not match anything"}if(!t.data)t.data={};function s(r,a,n){if(!n)n={};n.relatedTarget=t.target;var o=e.Event(r,n);i.trigger(o,a);return!o.isDefaultPrevented()}var l;t.beforeSend=function(a,n){if(n.type!=="GET"){n.timeout=0}var i=plugins.pjax.headers.send.get();if(!e.isEmptyObject(i)){for(const e in i){a.setRequestHeader(e+"",i[e])}}a.setRequestHeader("x-pjax","true");a.setRequestHeader("x-pjax-container",t.container);a.setRequestHeader("x-pjax-url",t.url);if(!s("pjax:beforeSend",[a,n]))return false;if(n.timeout>0){l=setTimeout(function(){if(s("pjax:timeout",[a,t]))a.abort("timeout")},n.timeout);n.timeout=0}var o=m(n.url);if(r)o.hash=r;t.requestUrl=v(o)};t.complete=function(e,r){if(l)clearTimeout(l);s("pjax:complete",[e,r,t]);s("pjax:end",[e,t])};t.error=function(e,r,a){var n=y("",e,t);var i=s("pjax:error",[e,r,a,t]);if(t.type=="GET"&&r!=="abort"&&i){o(n.url)}};t.success=function(a,o,l){if(!session.status(a)){return}if(v___theme_reload){return}if(snippets.pjaxHooks(a,"csf")){return}var u=n.state;var c=typeof e.pjax.defaults.version==="function"?e.pjax.defaults.version():e.pjax.defaults.version;var p=l.getResponseHeader("x-pjax-version");var f=y(a,l,t);var h=m(f.url);if(r){h.hash=r;f.url=h.href}if(c&&p&&c!==p){theme_open_new_tab(f.url);page_remove_progress();return}if(!f.contents){var v=XHR.headers(l)[1],g=l.getResponseHeader("Content-Disposition");if(g&&g.toLowerCase()==="attachment"){g=1}else{g=0}if(vars.previous_request&&g){var x=e(vars.previous_request.currentTarget).serialize();window.location.href=vars.previous_request.currentTarget.action+"?"+x;plugins.pjax.page.link.get(location.href);vars.previous_request=String();return}if(!a.includes("data-predownload")&&(Test.strContains(v,"text/html")||Test.strContains(v,"text/plain"))){if(core.curModule("theme")||core.curModule("change-user")||core.curModuleFile("webmin","change_theme.cgi")){window.location.href=location.origin+v___location_prefix}else{theme_open_new_tab(f.url)}}else{theme_open_new_tab(h.href);setTimeout(function(){page_remove_progress()},300)}page_remove_progress();return}n.state={id:t.id||d(),url:f.url,title:f.title,container:t.container,fragment:t.fragment,timeout:t.timeout};if(t.push||t.replace){var _=(!f.url.endsWith("/")&&!Test.strContains(f.url,".cgi")?f.url+"/":f.url)+(!Test.strContains(f.url,$__theme_navigation)?(Test.strContains(f.url,"?")?"&":"?")+$__theme_navigation:"");if(v___theme_pjax_call===1){if(f.url==="/"){var j=String();try{var b=URI(v___location_previous),T=b.path();if(T&&T!=="/"){j=T}}catch(e){}_=link_type_convert(j||v___location_prefix+"/"+vars.pages.dashboard,2)}if(typeof v___module==="string"){_=_.replaceAll(/(?0&&!v___theme_ajax_error){if(t.push&&!t.replace){if(v___theme_pjax_call!==1){S(n.state.id,[t.container,h(i)])}v___location_previous=location.href;v___module_previous=v___module||""}s("pjax:start",[u,t]);s("pjax:send",[u,t])}return n.xhr}function i(t,r){var a={url:window.location.href,push:false,replace:true,scrollTo:false};return n(e.extend(a,x(t,r)))}function o(e){window.history.replaceState(null,"",n.state.url);window.location.replace(e)}var s=true;var l=window.location.href;var u=window.history.state;if(u&&u.container){n.state=u}if("state"in window.history){s=false}function c(t){var r=t&&t.state&&t.state.url&&vars.pjax.cache.disabled(t.state.url);if(vars.h.selector.content.get().hasClass("progressing")||r){if(r){plugins.pjax.page.link.get(t.state.url);return}if(!unbuffered_header_processor_allow_popstate()){window.history.go(1);return}}if(page.handle.content.preloader.processing()){theme.veiled(1);theme_reload(1);return}if(!s){f(n.xhr)}var a=n.state;var i=t.state;var u;if(i&&i.container){if(s&&l==i.url)return;if(a){if(a.id===i.id)return;u=a.id",{method:a==="GET"?"GET":"POST",action:r,style:"display:none"});if(a!=="GET"&&a!=="POST"){n.append(e("",{type:"hidden",name:"_method",value:a.toLowerCase()}))}var i=t.data;if(typeof i==="string"){e.each(i.split("&"),function(t,r){var a=r.split("=");n.append(e("",{type:"hidden",name:a[0],value:a[1]}))})}else if(e.isArray(i)){e.each(i,function(t,r){n.append(e("",{type:"hidden",name:r.name,value:r.value}))})}else if(typeof i==="object"){var o;for(o in i)n.append(e("",{type:"hidden",name:o,value:i[o]}))}e(document.body).append(n);n.submit()}function f(t){if(t&&t.readyState<4){t.onreadystatechange=e.noop;t.abort()}}function d(){return(new Date).getTime()}function h(e){var t=e.clone();t.find("script").each(function(){if(!this.src)jQuery._data(this,"globalEval",false)});return t.contents()}function v(e){e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,"");return e.href.replace(/\?($|#)/,"$1")}function m(e){var t=document.createElement("a");t.href=e;return t}function g(e){return e.href.replace(/#.*/,"")}function x(t,r){if(t&&r){r=e.extend({},r);r.container=t;return r}else if(e.isPlainObject(t)){return t}else{return{container:t}}}function _(e,t){return e.filter(t).add(e.find(t))}function j(t){return e.parseHTML(t,document,true)}function y(t,r,a){var n={},i=/]*>([\s\S.]*)<\/head>/i)[0]));var p=t.match(/]*>([\s\S.]*)<\/body>/i);if(p&&p.length){u=e(j(p[0]))}else{u=e(j(extract_content(t,"",0)))}}else{c=u=e(j(t))}if(u.length===0)return n;n.title=_(c,"title").last().text();if(a.fragment){var f=String();if(a.fragment==="body"){f=u}else{f=_(u,a.fragment).first()}if(f.length){n.contents=a.fragment==="body"?f:f.contents();if(!n.title)n.title=f.attr("title")||f.data("title")}}else if(!i){n.contents=u}if(n.contents){n.contents=n.contents.not(function(){return e(this).is("title")});n.contents.find("title").remove();n.scripts=_(n.contents,"script[src]").remove();n.contents=n.contents.not(n.scripts)}if(n.title)n.title=e.trim(n.title);return n}function w(t){if(!t)return;var r=e("script[src]");t.each(function(){var t=this.src;var a=r.filter(function(){return this.src===t});if(a.length)return;var n=document.createElement("script");var i=e(this).attr("type");if(i)n.type=i;n.src=e(this).attr("src");document.head.appendChild(n)})}var b={};var T=[];var E=[];function S(t,r,a){if(vars.pjax.cache.disabled()){if(!a){return}}if(a){t=e.pjax.state.id;r=[e.pjax.options.container,h(a[0])];e.pjax.state={id:d(),url:a[1],title:a[2],container:e.pjax.options.container,fragment:e.pjax.options.fragment,timeout:e.pjax.options.timeout};window.history.pushState(e.pjax.state,a[2],a[1])}b[t]=r;E.push(t);k(T,0);k(E,n.defaults.maxCacheLength)}n.cache=S;function C(e,t,r){var a,i;b[t]=r;if(e==="forward"){a=E;i=T}else{a=T;i=E}a.push(t);if(t=i.pop())delete b[t];k(a,n.defaults.maxCacheLength)}function k(e,t){while(e.length>t)delete b[e.shift()]}function q(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&t.toLowerCase()==="x-pjax-version"}).attr("content")}function R(){e.fn.pjax=t;e.pjax=n;e.pjax.enable=e.noop;e.pjax.disable=D;e.pjax.click=r;e.pjax.submit=a;e.pjax.reload=i;e.pjax.defaults={timeout:650,push:true,replace:false,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:10,version:q};e(window).on("popstate.pjax",c)}function D(){e.fn.pjax=function(){return this};e.pjax=p;e.pjax.enable=R;e.pjax.disable=e.noop;e.pjax.click=e.noop;e.pjax.submit=e.noop;e.pjax.reload=function(){window.location.reload()};e(window).off("popstate.pjax",c)}if(e.event.props&&e.inArray("state",e.event.props)<0){e.event.props.push("state")}else if(!("state"in e.Event.prototype)){e.event.addProp("state")}e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/);e.support.pjax?R():D()})(jQuery); +(function(e){function t(t,a,n){n=x(a,n);return this.on("click.pjax",t,function(t){var a=n;if(!a.container){a=e.extend({},n);a.container=e(this).attr("data-pjax")}r(t,a)})}function r(t,r,a){a=x(r,a);var i=t.currentTarget;var o=e(i);if(i.tagName.toUpperCase()!=="A")throw"$.fn.pjax or $.pjax.click requires an anchor element";if(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;if(location.protocol!==i.protocol||location.hostname!==i.hostname)return;if(i.href.indexOf("#")>-1&&g(i)==g(location))return;if(t.isDefaultPrevented())return;var s={url:i.href,container:o.attr("data-pjax"),target:i};var l=e.extend({},s,a);var u=e.Event("pjax:click");o.trigger(u,[l]);if(!u.isDefaultPrevented()){n(l);t.preventDefault();o.trigger("pjax:clicked",[l])}}function a(t,r,a){a=x(r,a);var i=t.currentTarget,o=e(i);if(i.tagName.toUpperCase()!=="FORM")throw"$.pjax.submit requires a form element";var s={type:(o.attr("method")||"GET").toUpperCase(),url:o.attr("action"),container:o.attr("data-pjax"),target:i};if(s.type!=="GET"&&window.FormData!==undefined){var l=o.attr("enctype")&&o.attr("enctype").indexOf("form-data")>-1?0:1;s.data=l?o.serialize():new FormData(o[0]);s.processData=false;s.contentType=false}else{if(o.find(":file").length){return}s.data=o.serializeArray()}n(e.extend({},s,a));t.preventDefault()}function n(t){t=e.extend(true,{},e.ajaxSettings,n.defaults,t);if(e.isFunction(t.url)){t.url=t.url()}var r=m(t.url).hash;var a=e.type(t.container);if(a!=="string"){throw"expected string value for 'container' option; got "+a}var i=t.context=e(t.container);if(!i.length){throw"the container selector '"+t.container+"' did not match anything"}if(!t.data)t.data={};function s(r,a,n){if(!n)n={};n.relatedTarget=t.target;var o=e.Event(r,n);i.trigger(o,a);return!o.isDefaultPrevented()}var l;t.beforeSend=function(a,n){if(n.type!=="GET"){n.timeout=0}var i=plugins.pjax.headers.send.get();if(!e.isEmptyObject(i)){for(const e in i){a.setRequestHeader(e+"",i[e])}}a.setRequestHeader("x-pjax","true");a.setRequestHeader("x-pjax-container",t.container);a.setRequestHeader("x-pjax-url",t.url);if(!s("pjax:beforeSend",[a,n]))return false;if(n.timeout>0){l=setTimeout(function(){if(s("pjax:timeout",[a,t]))a.abort("timeout")},n.timeout);n.timeout=0}var o=m(n.url);if(r)o.hash=r;t.requestUrl=v(o)};t.complete=function(e,r){if(l)clearTimeout(l);s("pjax:complete",[e,r,t]);s("pjax:end",[e,t])};t.error=function(e,r,a){var n=y("",e,t);var i=s("pjax:error",[e,r,a,t]);if(t.type=="GET"&&r!=="abort"&&i){o(n.url)}};t.success=function(a,o,l){if(!session.status(a)){return}if(v___theme_reload){return}if(snippets.pjaxHooks(a,"csf")){return}var u=n.state;var c=typeof e.pjax.defaults.version==="function"?e.pjax.defaults.version():e.pjax.defaults.version;var p=l.getResponseHeader("x-pjax-version");var f=y(a,l,t);var h=m(f.url);if(r){h.hash=r;f.url=h.href}if(c&&p&&c!==p){theme_open_new_tab(f.url);page_remove_progress();return}if(!f.contents){var v=XHR.headers(l)[1],g=l.getResponseHeader("Content-Disposition");if(g&&g.toLowerCase()==="attachment"){g=1}else{g=0}if(vars.previous_request&&g){var x=e(vars.previous_request.currentTarget).serialize();window.location.href=vars.previous_request.currentTarget.action+"?"+x;plugins.pjax.page.link.get(location.href);vars.previous_request=String();return}if(!a.includes("data-predownload")&&(Test.strContains(v,"text/html")||Test.strContains(v,"text/plain"))){if(core.curModule("theme")||core.curModule("change-user")||core.curModuleFile("webmin","change_theme.cgi")){window.location.href=location.origin+v___location_prefix}else{theme_open_new_tab(f.url)}}else{theme_open_new_tab(h.href);setTimeout(function(){page_remove_progress()},300)}page_remove_progress();return}n.state={id:t.id||d(),url:f.url,title:f.title,container:t.container,fragment:t.fragment,timeout:t.timeout};if(t.push||t.replace){var _=(!f.url.endsWith("/")&&!Test.strContains(f.url,".cgi")&&!Test.strContains(f.url,"?")&&!Test.strContains(f.url,"&")?f.url+"/":f.url)+(!Test.strContains(f.url,$__theme_navigation)?(Test.strContains(f.url,"?")?"&":"?")+$__theme_navigation:"");if(v___theme_pjax_call===1){if(f.url==="/"){var j=String();try{var b=URI(v___location_previous),T=b.path();if(T&&T!=="/"){j=T}}catch(e){}_=link_type_convert(j||v___location_prefix+"/"+vars.pages.dashboard,2)}if(typeof v___module==="string"){_=_.replaceAll(/(?0&&!v___theme_ajax_error){if(t.push&&!t.replace){if(v___theme_pjax_call!==1){E(n.state.id,[t.container,h(i)])}v___location_previous=location.href;v___module_previous=v___module||""}s("pjax:start",[u,t]);s("pjax:send",[u,t])}return n.xhr}function i(t,r){var a={url:window.location.href,push:false,replace:true,scrollTo:false};return n(e.extend(a,x(t,r)))}function o(e){window.history.replaceState(null,"",n.state.url);window.location.replace(e)}var s=true;var l=window.location.href;var u=window.history.state;if(u&&u.container){n.state=u}if("state"in window.history){s=false}function c(t){var r=t&&t.state&&t.state.url&&vars.pjax.cache.disabled(t.state.url);if(vars.h.selector.content.get().hasClass("progressing")||r){if(r){plugins.pjax.page.link.get(t.state.url);return}if(!unbuffered_header_processor_allow_popstate()){window.history.go(1);return}}if(page.handle.content.preloader.processing()){theme.veiled(1);theme_reload(1);return}if(!s){f(n.xhr)}var a=n.state;var i=t.state;var u;if(i&&i.container){if(s&&l==i.url)return;if(a){if(a.id===i.id)return;u=a.id",{method:a==="GET"?"GET":"POST",action:r,style:"display:none"});if(a!=="GET"&&a!=="POST"){n.append(e("",{type:"hidden",name:"_method",value:a.toLowerCase()}))}var i=t.data;if(typeof i==="string"){e.each(i.split("&"),function(t,r){var a=r.split("=");n.append(e("",{type:"hidden",name:a[0],value:a[1]}))})}else if(e.isArray(i)){e.each(i,function(t,r){n.append(e("",{type:"hidden",name:r.name,value:r.value}))})}else if(typeof i==="object"){var o;for(o in i)n.append(e("",{type:"hidden",name:o,value:i[o]}))}e(document.body).append(n);n.submit()}function f(t){if(t&&t.readyState<4){t.onreadystatechange=e.noop;t.abort()}}function d(){return(new Date).getTime()}function h(e){var t=e.clone();t.find("script").each(function(){if(!this.src)jQuery._data(this,"globalEval",false)});return t.contents()}function v(e){e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,"");return e.href.replace(/\?($|#)/,"$1")}function m(e){var t=document.createElement("a");t.href=e;return t}function g(e){return e.href.replace(/#.*/,"")}function x(t,r){if(t&&r){r=e.extend({},r);r.container=t;return r}else if(e.isPlainObject(t)){return t}else{return{container:t}}}function _(e,t){return e.filter(t).add(e.find(t))}function j(t){return e.parseHTML(t,document,true)}function y(t,r,a){var n={},i=/]*>([\s\S.]*)<\/head>/i)[0]));var p=t.match(/]*>([\s\S.]*)<\/body>/i);if(p&&p.length){u=e(j(p[0]))}else{u=e(j(extract_content(t,"",0)))}}else{c=u=e(j(t))}if(u.length===0)return n;n.title=_(c,"title").last().text();if(a.fragment){var f=String();if(a.fragment==="body"){f=u}else{f=_(u,a.fragment).first()}if(f.length){n.contents=a.fragment==="body"?f:f.contents();if(!n.title)n.title=f.attr("title")||f.data("title")}}else if(!i){n.contents=u}if(n.contents){n.contents=n.contents.not(function(){return e(this).is("title")});n.contents.find("title").remove();n.scripts=_(n.contents,"script[src]").remove();n.contents=n.contents.not(n.scripts)}if(n.title)n.title=e.trim(n.title);return n}function w(t){if(!t)return;var r=e("script[src]");t.each(function(){var t=this.src;var a=r.filter(function(){return this.src===t});if(a.length)return;var n=document.createElement("script");var i=e(this).attr("type");if(i)n.type=i;n.src=e(this).attr("src");document.head.appendChild(n)})}var b={};var T=[];var C=[];function E(t,r,a){if(vars.pjax.cache.disabled()){if(!a){return}}if(a){t=e.pjax.state.id;r=[e.pjax.options.container,h(a[0])];e.pjax.state={id:d(),url:a[1],title:a[2],container:e.pjax.options.container,fragment:e.pjax.options.fragment,timeout:e.pjax.options.timeout};window.history.pushState(e.pjax.state,a[2],a[1])}b[t]=r;C.push(t);k(T,0);k(C,n.defaults.maxCacheLength)}n.cache=E;function S(e,t,r){var a,i;b[t]=r;if(e==="forward"){a=C;i=T}else{a=T;i=C}a.push(t);if(t=i.pop())delete b[t];k(a,n.defaults.maxCacheLength)}function k(e,t){while(e.length>t)delete b[e.shift()]}function q(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&t.toLowerCase()==="x-pjax-version"}).attr("content")}function R(){e.fn.pjax=t;e.pjax=n;e.pjax.enable=e.noop;e.pjax.disable=D;e.pjax.click=r;e.pjax.submit=a;e.pjax.reload=i;e.pjax.defaults={timeout:650,push:true,replace:false,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:10,version:q};e(window).on("popstate.pjax",c)}function D(){e.fn.pjax=function(){return this};e.pjax=p;e.pjax.enable=R;e.pjax.disable=e.noop;e.pjax.click=e.noop;e.pjax.submit=e.noop;e.pjax.reload=function(){window.location.reload()};e(window).off("popstate.pjax",c)}if(e.event.props&&e.inArray("state",e.event.props)<0){e.event.props.push("state")}else if(!("state"in e.Event.prototype)){e.event.addProp("state")}e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/);e.support.pjax?R():D()})(jQuery); /*! * Malihu Scrollbar Plugin 3.1.5 (https://github.com/malihu/malihu-custom-scrollbar-plugin) * Copyright 2014 Manos Malihutsakis diff --git a/unauthenticated/js/bundle.min.js.gz b/unauthenticated/js/bundle.min.js.gz index d7711f51b..15a6ab778 100644 Binary files a/unauthenticated/js/bundle.min.js.gz and b/unauthenticated/js/bundle.min.js.gz differ