(function(g){var f=window.AmazonUIPageJS||window.P,r=f._namespace||f.attributeErrors,e=r?r("AmazonRushRouter",""):f;e.guardFatal?e.guardFatal(g)(e,window):e.execute(function(){g(e,window)})})(function(g,f,r){g.when("A").register("rush-routable-application-base",function(e){return e.createClass({init:function(c){this.applicationName=c},name:function(){return this.applicationName},unload:function(){return{}},load:function(){return!0}})});"use strict";g.when("A").register("rush-router-html5-history-support", function(e){var c=e.$.extend,n=/OS ([0-9]+)(?:_([0-9]+))?/,g=/Android ([0-9]+)(?:\.([0-9]+))?/,h=/iPhone|iPad|iPod/;return function(e){function b(a,b,d){b=d.match(b);return{major:a&&b&&b[1]?parseInt(b[1],10):-1,minor:a&&b&&b[2]?parseInt(b[2],10):-1}}function p(a){if(!a||!a.url&&!a.state)return!1;d.replaceState(c({},d.state(),a.state),d.title(),a.url);return!0}var d=e||{userAgent:f.navigator.userAgent,pushState:function(a,b,d){f.history.pushState(a,b,d)},replaceState:function(a,b,d){f.history.replaceState(a, b,d)},title:function(){return document.title},state:function(){return f.history.state},addStateChangeHandler:function(a){f.addEventListener("popstate",a,!1)},removeStateChangeHandler:function(a){f.removeEventListener("popstate",a)},hasNativeHistorySupport:function(){return f.history&&f.history.replaceState}};return{isSupportedBrowser:function(){var a=d.userAgent;return d.hasNativeHistorySupport()?h.test(a)?(a=b(!0,n,a),5<=a.major):-1!==a.indexOf("Android")?(a=b(!0,g,a),4