zreact-router-rails 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactRouter=t(require("react")):e.ReactRouter=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.PropTypes=t.RoutingContext=t.RouterContext=t.createRoutes=t.useRoutes=t.RouteContext=t.Lifecycle=t.History=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;var o=n(5);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var u=n(15);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return u.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return u.routerShape}});var a=n(8);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return a.formatPattern}});var i=n(39),s=r(i),c=n(20),f=r(c),l=n(33),d=r(l),p=n(52),h=r(p),v=n(34),y=r(v),m=n(35),g=r(m),_=n(21),R=r(_),O=n(37),b=r(O),P=n(32),w=r(P),M=n(36),x=r(M),j=n(38),E=r(j),S=n(51),A=r(S),C=n(10),k=r(C),T=n(40),H=r(T),q=r(u),L=n(49),U=r(L),N=n(26),B=r(N),I=n(42),W=r(I),D=n(43),F=r(D),Q=n(47),K=r(Q),V=n(23),$=r(V);t.Router=s["default"],t.Link=f["default"],t.IndexLink=d["default"],t.withRouter=h["default"],t.IndexRedirect=y["default"],t.IndexRoute=g["default"],t.Redirect=R["default"],t.Route=b["default"],t.History=w["default"],t.Lifecycle=x["default"],t.RouteContext=E["default"],t.useRoutes=A["default"],t.RouterContext=k["default"],t.RoutingContext=H["default"],t.PropTypes=q["default"],t.match=U["default"],t.useRouterHistory=B["default"],t.applyRouterMiddleware=W["default"],t.browserHistory=F["default"],t.hashHistory=K["default"],t.createMemoryHistory=$["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(s[t])return;s[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i["default"].apply(void 0,[e,t].concat(r))}function u(){s={}}t.__esModule=!0,t["default"]=o,t._resetWarned=u;var a=n(63),i=r(a),s={}},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=function(e,t,n,r,o,u,a,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,u,a,i],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return null==e||d["default"].isValidElement(e)}function u(e){return o(e)||Array.isArray(e)&&e.every(o)}function a(e,t){return f({},e,t)}function i(e){var t=e.type,n=a(t.defaultProps,e.props);if(n.children){var r=s(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function s(e,t){var n=[];return d["default"].Children.forEach(e,function(e){if(d["default"].isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(i(e))}),n}function c(e){return u(e)?e=s(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=u,t.createRouteFromReactElement=i,t.createRoutesFromReactChildren=s,t.createRoutes=c;var l=n(2),d=r(l)},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(2),u=o.PropTypes.func,a=o.PropTypes.object,i=o.PropTypes.arrayOf,s=o.PropTypes.oneOfType,c=o.PropTypes.element,f=o.PropTypes.shape,l=o.PropTypes.string,d=(t.history=f({listen:u.isRequired,push:u.isRequired,replace:u.isRequired,go:u.isRequired,goBack:u.isRequired,goForward:u.isRequired}),t.component=s([u,l])),p=(t.components=s([d,a]),t.route=s([a,c]));t.routes=s([p,i(p)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}function u(e){var t=o(e),n="",r="",u=t.indexOf("#");u!==-1&&(r=t.substring(u),t=t.substring(0,u));var a=t.indexOf("?");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0,t.extractPath=o,t.parsePath=u;var a=n(4);r(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u(e){for(var t="",n=[],r=[],u=void 0,a=0,i=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;u=i.exec(e);)u.index!==a&&(r.push(e.slice(a,u.index)),t+=o(e.slice(a,u.index))),u[1]?(t+="([^/]+)",n.push(u[1])):"**"===u[0]?(t+="(.*)",n.push("splat")):"*"===u[0]?(t+="(.*?)",n.push("splat")):"("===u[0]?t+="(?:":")"===u[0]&&(t+=")?"),r.push(u[0]),a=i.lastIndex;return a!==e.length&&(r.push(e.slice(a,e.length)),t+=o(e.slice(a,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function a(e){return p[e]||(p[e]=u(e)),p[e]}function i(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=a(e),r=n.regexpSource,o=n.paramNames,u=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===u[u.length-1]&&(r+="$");var i=t.match(new RegExp("^"+r,"i"));if(null==i)return null;var s=i[0],c=t.substr(s.length);if(c){if("/"!==s.charAt(s.length-1))return null;c="/"+c}return{remainingPathname:c,paramNames:o,paramValues:i.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function s(e){return a(e).paramNames}function c(e,t){var n=i(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,u={};return r.forEach(function(e,t){u[e]=o[t]}),u}function f(e,t){t=t||{};for(var n=a(e),r=n.tokens,o=0,u="",i=0,s=void 0,c=void 0,f=void 0,l=0,p=r.length;l<p;++l)s=r[l],"*"===s||"**"===s?(f=Array.isArray(t.splat)?t.splat[i++]:t.splat,null!=f||o>0?void 0:(0,d["default"])(!1),null!=f&&(u+=encodeURI(f))):"("===s?o+=1:")"===s?o-=1:":"===s.charAt(0)?(c=s.substring(1),f=t[c],null!=f||o>0?void 0:(0,d["default"])(!1),null!=f&&(u+=encodeURIComponent(f))):u+=s;return u.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=i,t.getParamNames=s,t.getParams=c,t.formatPattern=f;var l=n(3),d=r(l),p=Object.create(null)},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var o="POP";t.POP=o,t["default"]={PUSH:n,REPLACE:r,POP:o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(3),i=r(a),s=n(2),c=r(s),f=n(11),l=(r(f),n(46)),d=r(l),p=n(5),h=n(1),v=(r(h),c["default"].PropTypes),y=v.array,m=v.func,g=v.object,_=c["default"].createClass({displayName:"RouterContext",propTypes:{history:g,router:g.isRequired,location:g.isRequired,routes:y.isRequired,params:g.isRequired,components:y.isRequired,createElement:m.isRequired},getDefaultProps:function(){return{createElement:c["default"].createElement}},childContextTypes:{history:g,location:g.isRequired,router:g.isRequired},getChildContext:function(){var e=this.props,t=e.router,n=e.history,r=e.location;return t||(t=u({},n,{setRouteLeaveHook:n.listenBeforeLeavingRoute}),delete t.listenBeforeLeavingRoute),{history:n,location:r,router:t}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,a=t.routes,s=t.params,f=t.components,l=null;return f&&(l=f.reduceRight(function(t,i,c){if(null==i)return t;var f=a[c],l=(0,d["default"])(f,s),h={history:n,location:r,params:s,route:f,routeParams:l,routes:a};if((0,p.isReactChildren)(t))h.children=t;else if(t)for(var v in t)Object.prototype.hasOwnProperty.call(t,v)&&(h[v]=t[v]);if("object"===("undefined"==typeof i?"undefined":o(i))){var y={};for(var m in i)Object.prototype.hasOwnProperty.call(i,m)&&(y[m]=e.createElement(i[m],u({key:m},h)));return y}return e.createElement(i,h)},l)),null===l||l===!1||c["default"].isValidElement(l)?void 0:(0,i["default"])(!1),l}});t["default"]=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.canUseMembrane=void 0;var o=n(1),u=(r(o),t.canUseMembrane=!1,function(e){return e});t["default"]=u},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return s.stringify(e).replace(/%20/g,"+")}function u(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=b(t.substring(1)),e[h]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[h],o=t?O(t):"";if(!r&&!o)return e;"string"==typeof e&&(e=l.parsePath(e));var u=void 0;u=r&&e.search===r.search?r.searchBase:e.search||"";var i=u;return o&&(i+=(i?"&":"?")+o),a({},e,(n={search:i},n[h]={search:i,searchBase:u},n))}function r(e){return R.listenBefore(function(n,r){f["default"](e,t(n),r)})}function u(e){return R.listen(function(n){e(t(n))})}function i(e){R.push(n(e,e.query))}function s(e){R.replace(n(e,e.query))}function c(e,t){return R.createPath(n(e,t||e.query))}function d(e,t){return R.createHref(n(e,t||e.query))}function y(e){for(var r=arguments.length,o=Array(r>1?r-1:0),u=1;u<r;u++)o[u-1]=arguments[u];var a=R.createLocation.apply(R,[n(e,e.query)].concat(o));return e.query&&(a.query=e.query),t(a)}function m(e,t,n){"string"==typeof t&&(t=l.parsePath(t)),i(a({state:e},t,{query:n}))}function g(e,t,n){"string"==typeof t&&(t=l.parsePath(t)),s(a({state:e},t,{query:n}))}var _=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],R=e(_),O=_.stringifyQuery,b=_.parseQueryString;return"function"!=typeof O&&(O=o),"function"!=typeof b&&(b=v),a({},R,{listenBefore:r,listen:u,push:i,replace:s,createPath:c,createHref:d,createLocation:y,pushState:p["default"](m,"pushState is deprecated; use push instead"),replaceState:p["default"](g,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(4),s=(r(i),n(61)),c=n(19),f=r(c),l=n(7),d=n(18),p=r(d),h="$searchBase",v=s.parse;t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){return a=!0,i?void(c=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(s=!0,!i)){for(i=!0;!a&&u<e&&s;)s=!1,t.call(this,u++,o,r);return i=!1,a?void n.apply(this,c):void(u>=e&&s&&(a=!0,n()))}}var u=0,a=!1,i=!1,s=!1,c=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(u[e]=r,a=++i===o,a&&n(null,u)))}var o=e.length,u=[];if(0===o)return n(null,u);var a=!1,i=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.router=t.routes=t.route=t.components=t.component=t.location=t.history=t.falsy=t.locationShape=t.routerShape=void 0;var u=n(2),a=n(11),i=(o(a),n(6)),s=r(i),c=n(1),f=(o(c),u.PropTypes.func),l=u.PropTypes.object,d=u.PropTypes.shape,p=u.PropTypes.string,h=t.routerShape=d({push:f.isRequired,replace:f.isRequired,go:f.isRequired,goBack:f.isRequired,goForward:f.isRequired,setRouteLeaveHook:f.isRequired,isActive:f.isRequired}),v=t.locationShape=d({pathname:p.isRequired,search:p.isRequired,state:l,action:p.isRequired,key:p}),y=t.falsy=s.falsy,m=t.history=s.history,g=t.location=v,_=t.component=s.component,R=t.components=s.components,O=t.route=s.route,b=(t.routes=s.routes,t.router=h),P={falsy:y,history:m,location:g,component:_,components:R,route:O,router:b};t["default"]=P},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function u(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=void 0;return n&&n!==!0||null!==r?(t={pathname:t,query:n},o=r||!1):(t=e.createLocation(t),o=n),(0,d["default"])(t,o,_.location,_.routes,_.params)}function r(e,n){R&&R.location===e?u(R,n):(0,y["default"])(t,e,function(t,r){t?n(t):r?u(a({},r,{location:e}),n):n()})}function u(e,t){function n(n,o){return n||o?r(n,o):void(0,h["default"])(e,function(n,r){n?t(n):t(null,null,_=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,c["default"])(_,e),u=o.leaveRoutes,i=o.changeRoutes,s=o.enterRoutes;(0,f.runLeaveHooks)(u,_),u.filter(function(e){return s.indexOf(e)===-1}).forEach(v),(0,f.runChangeHooks)(i,_,e,function(t,o){return t||o?r(t,o):void(0,f.runEnterHooks)(s,e,n)})}function i(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=O++)}function s(e){return e.reduce(function(e,t){return e.push.apply(e,b[i(t)]),e},[])}function l(e,n){(0,y["default"])(t,e,function(t,r){if(null==r)return void n();R=a({},r,{location:e});for(var o=s((0,c["default"])(_,R).leaveRoutes),u=void 0,i=0,f=o.length;null==u&&i<f;++i)u=o[i](e);n(u)})}function p(){if(_.routes){for(var e=s(_.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function v(e){var t=i(e,!1);t&&(delete b[t],o(b)||(P&&(P(),P=null),w&&(w(),w=null)))}function m(t,n){var r=i(t),u=b[r];if(u)u.indexOf(n)===-1&&u.push(n);else{var a=!o(b);b[r]=[n],a&&(P=e.listenBefore(l),e.listenBeforeUnload&&(w=e.listenBeforeUnload(p)))}return function(){var e=b[r];if(e){var o=e.filter(function(e){return e!==n});0===o.length?v(t):b[r]=o}}}function g(t){return e.listen(function(n){_.location===n?t(null,_):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})})}var _={},R=void 0,O=1,b=Object.create(null),P=void 0,w=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:m,listen:g}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=u;var i=n(1),s=(r(i),n(44)),c=r(s),f=n(41),l=n(48),d=r(l),p=n(45),h=r(p),v=n(50),y=r(v)},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function u(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function a(){return window.location.pathname+window.location.search+window.location.hash}function i(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function c(){var e=navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}function f(){var e=navigator.userAgent;return e.indexOf("Firefox")===-1}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=o,t.replaceHashPath=u,t.getWindowPath=a,t.go=i,t.getUserConfirmation=s,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var u=n(4);r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var u=n(4);r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){return 0===e.button}function a(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function i(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function s(e,t){var n=t.query,r=t.hash,o=t.state;return n||r||o?{pathname:e,query:n,hash:r,state:o}:e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=n(2),l=r(f),d=n(1),p=(r(d),n(3)),h=r(p),v=n(15),y=l["default"].PropTypes,m=y.bool,g=y.object,_=y.string,R=y.func,O=y.oneOfType,b=l["default"].createClass({displayName:"Link",contextTypes:{router:v.routerShape},propTypes:{to:O([_,g]),query:g,hash:_,state:g,activeStyle:g,activeClassName:_,onlyActiveOnIndex:m.isRequired,onClick:R,target:_},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented&&(this.context.router?void 0:(0,h["default"])(!1),!a(e)&&u(e)&&!this.props.target)){e.preventDefault();var t=this.props,n=t.to,r=t.query,o=t.hash,i=t.state,c=s(n,{query:r,hash:o,state:i});this.context.router.push(c)}},render:function(){var e=this.props,t=e.to,n=e.query,r=e.hash,u=e.state,a=e.activeClassName,f=e.activeStyle,d=e.onlyActiveOnIndex,p=o(e,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]),h=this.context.router;if(h){if(null==t)return l["default"].createElement("a",p);var v=s(t,{query:n,hash:r,state:u});p.href=h.createHref(v),(a||null!=f&&!i(f))&&h.isActive(v,d)&&(a&&(p.className?p.className+=" "+a:p.className=a),f&&(p.style=c({},p.style,f)))}return l["default"].createElement("a",c({},p,{onClick:this.handleClick}))}});t["default"]=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),u=r(o),a=n(3),i=r(a),s=n(5),c=n(8),f=n(6),l=u["default"].PropTypes,d=l.string,p=l.object,h=u["default"].createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,s.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,u=void 0;if("/"===t.to.charAt(0))u=(0,c.formatPattern)(t.to,o);else if(t.to){var a=e.routes.indexOf(t),i=h.getRoutePattern(e.routes,a-1),s=i.replace(/\/*$/,"/")+t.to;u=(0,c.formatPattern)(s,o)}else u=r.pathname;n({pathname:u,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],u=o.path||"";if(n=u.replace(/\/*$/,"/")+n,0===u.indexOf("/"))break}return"/"+n}},propTypes:{path:d,from:d,to:d.isRequired,query:p,state:p,onEnter:f.falsy,children:f.falsy},render:function(){(0,i["default"])(!1)}});t["default"]=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return a({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive})}function u(e,t){return e=a({},e,t)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=o,t.createRoutingHistory=u;var i=n(11);r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=(0,f["default"])(e),n=function(){return t},r=(0,a["default"])((0,s["default"])(n))(e);return r.__v2_compatible__=!0,r}t.__esModule=!0,t["default"]=o;var u=n(13),a=r(u),i=n(31),s=r(i),c=n(59),f=r(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t["default"]=function(e){var t=void 0;return a&&(t=(0,u["default"])(e)()),t};var o=n(26),u=r(o),a=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return u({},e,t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var a=(n(11),n(1));r(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(t){var n=(0,a["default"])((0,s["default"])(e))(t);return n.__v2_compatible__=!0,n}}t.__esModule=!0,t["default"]=o;var u=n(13),a=r(u),i=n(31),s=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return s+e}function u(e,t){try{null==t?window.sessionStorage.removeItem(o(e)):window.sessionStorage.setItem(o(e),JSON.stringify(t))}catch(n){if(n.name===f)return;if(c.indexOf(n.name)>=0&&0===window.sessionStorage.length)return;throw n}}function a(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(n){if(n.name===f)return null}if(t)try{return JSON.parse(t)}catch(n){}return null}t.__esModule=!0,t.saveState=u,t.readState=a;var i=n(4),s=(r(i),"@@History/"),c=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],f="SecurityError"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return s.canUseDOM?void 0:i["default"](!1),n.listen(e)}var n=l["default"](u({getUserConfirmation:c.getUserConfirmation},e,{go:c.go}));return u({},n,{listen:t})}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(3),i=r(a),s=n(12),c=n(17),f=n(30),l=r(f);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"string"==typeof e&&"/"===e.charAt(0)}function u(){var e=m.getHashPath();return!!o(e)||(m.replaceHashPath("/"+e),!1)}function a(e,t,n){return e+(e.indexOf("?")===-1?"?":"&")+(t+"="+n)}function i(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function s(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function c(){function e(){var e=m.getHashPath(),t=void 0,n=void 0;j?(t=s(e,j),e=i(e,j),t?n=g.readState(t):(n=null,t=E.createKey(),m.replaceHashPath(a(e,j,t)))):t=n=null;var r=v.parsePath(e);return E.createLocation(f({},r,{state:n}),void 0,t)}function t(t){function n(){u()&&r(e())}var r=t.transitionTo;return u(),m.addEventListener(window,"hashchange",n),function(){m.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.state,u=e.action,i=e.key;if(u!==h.POP){var s=(t||"")+n+r;j?(s=a(s,j,i),g.saveState(i,o)):e.key=e.state=null;var c=m.getHashPath();u===h.PUSH?c!==s&&(window.location.hash=s):c!==s&&m.replaceHashPath(s)}}function r(e){1===++S&&(A=t(E));var n=E.listenBefore(e);return function(){n(),0===--S&&A()}}function o(e){1===++S&&(A=t(E));var n=E.listen(e);return function(){n(),0===--S&&A()}}function c(e){E.push(e)}function l(e){E.replace(e)}function d(e){E.go(e)}function _(e){return"#"+E.createHref(e)}function b(e){1===++S&&(A=t(E)),E.registerTransitionHook(e)}function P(e){E.unregisterTransitionHook(e),0===--S&&A()}function w(e,t){E.pushState(e,t)}function M(e,t){E.replaceState(e,t)}var x=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];y.canUseDOM?void 0:p["default"](!1);var j=x.queryKey;(void 0===j||j)&&(j="string"==typeof j?j:O);var E=R["default"](f({},x,{getCurrentLocation:e,finishTransition:n,saveState:g.saveState})),S=0,A=void 0;m.supportsGoWithoutReloadUsingHash();return f({},E,{listenBefore:r,listen:o,push:c,replace:l,go:d,createHref:_,registerTransitionHook:b,unregisterTransitionHook:P,pushState:w,replaceState:M})}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(4),d=(r(l),n(3)),p=r(d),h=n(9),v=n(7),y=n(12),m=n(17),g=n(27),_=n(28),R=r(_),O="_k";t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Math.random().toString(36).substr(2,e)}function u(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&f["default"](e.state,t.state)}function a(){function e(e){return N.push(e),function(){N=N.filter(function(t){return t!==e})}}function t(){return D&&D.action===p.POP?B.indexOf(D.key):W?B.indexOf(W.key):-1}function n(e){var n=t();W=e,W.action===p.PUSH?B=[].concat(B.slice(0,n+1),[W.key]):W.action===p.REPLACE&&(B[n]=W.key),I.forEach(function(e){e(W)})}function r(e){if(I.push(e),W)e(W);else{var t=k();B=[t.key],n(t)}return function(){I=I.filter(function(t){return t!==e})}}function a(e,t){d.loopAsync(N.length,function(t,n,r){m["default"](N[t],e,function(e){null!=e?r(e):n()})},function(e){L&&"string"==typeof e?L(e,function(e){t(e!==!1)}):t(e!==!1)})}function s(e){W&&u(W,e)||(D=e,a(e,function(t){if(D===e)if(t){if(e.action===p.PUSH){var r=b(W),o=b(e);o===r&&f["default"](W.state,e.state)&&(e.action=p.REPLACE)}T(e)!==!1&&n(e)}else if(W&&e.action===p.POP){var u=B.indexOf(W.key),a=B.indexOf(e.key);u!==-1&&a!==-1&&q(u-a)}}))}function c(e){s(w(e,p.PUSH,O()))}function h(e){s(w(e,p.REPLACE,O()))}function y(){q(-1)}function g(){q(1)}function O(){return o(U)}function b(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,o=t;return n&&(o+=n),r&&(o+=r),o}function P(e){return b(e)}function w(e,t){var n=arguments.length<=2||void 0===arguments[2]?O():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=l.parsePath(e)),e=i({},e,{state:t}),t=n,n=arguments[3]||O()),v["default"](e,t,n)}function M(e){W?(x(W,e),n(W)):x(k(),e)}function x(e,t){e.state=i({},e.state,t),H(e.key,e.state)}function j(e){N.indexOf(e)===-1&&N.push(e)}function E(e){N=N.filter(function(t){return t!==e})}function S(e,t){"string"==typeof t&&(t=l.parsePath(t)),c(i({state:e},t))}function A(e,t){"string"==typeof t&&(t=l.parsePath(t)),h(i({state:e},t))}var C=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],k=C.getCurrentLocation,T=C.finishTransition,H=C.saveState,q=C.go,L=C.getUserConfirmation,U=C.keyLength;"number"!=typeof U&&(U=R);var N=[],B=[],I=[],W=void 0,D=void 0;return{listenBefore:e,listen:r,transitionTo:s,push:c,replace:h,go:q,goBack:y,goForward:g,createKey:O,createPath:b,createHref:P,createLocation:w,setState:_["default"](M,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:_["default"](j,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:_["default"](E,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:_["default"](S,"pushState is deprecated; use push instead"),replaceState:_["default"](A,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(4),c=(r(s),n(53)),f=r(c),l=n(7),d=n(56),p=n(9),h=n(58),v=r(h),y=n(19),m=r(y),g=n(18),_=r(g),R=6;t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){function t(){if(!O){if(null==R&&i.canUseDOM){var e=document.getElementsByTagName("base")[0],t=e&&e.getAttribute("href");null!=t&&(R=t)}O=!0}}function n(e){return t(),R&&null==e.basename&&(0===e.pathname.indexOf(R)?(e.pathname=e.pathname.substring(R.length),e.basename=R,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function r(e){if(t(),!R)return e;"string"==typeof e&&(e=s.parsePath(e));var n=e.pathname,r="/"===R.slice(-1)?R:R+"/",o="/"===n.charAt(0)?n.slice(1):n,a=r+o;return u({},e,{pathname:a})}function o(e){return _.listenBefore(function(t,r){f["default"](e,n(t),r)})}function a(e){return _.listen(function(t){e(n(t))})}function c(e){_.push(r(e))}function l(e){_.replace(r(e))}function p(e){return _.createPath(r(e))}function h(e){return _.createHref(r(e))}function v(e){for(var t=arguments.length,o=Array(t>1?t-1:0),u=1;u<t;u++)o[u-1]=arguments[u];return n(_.createLocation.apply(_,[r(e)].concat(o)))}function y(e,t){"string"==typeof t&&(t=s.parsePath(t)),c(u({state:e},t))}function m(e,t){"string"==typeof t&&(t=s.parsePath(t)),l(u({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],_=e(g),R=g.basename,O=!1;return u({},_,{listenBefore:o,listen:a,push:c,replace:l,createPath:p,createHref:h,createLocation:v,pushState:d["default"](y,"pushState is deprecated; use push instead"),replaceState:d["default"](m,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(4),i=(r(a),n(12)),s=n(7),c=n(19),f=r(c),l=n(18),d=r(l);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),u=(r(o),n(6)),a={contextTypes:{history:u.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(2),a=r(u),i=n(20),s=r(i),c=a["default"].createClass({displayName:"IndexLink",render:function(){return a["default"].createElement(s["default"],o({},this.props,{onlyActiveOnIndex:!0}))}});t["default"]=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),u=r(o),a=n(1),i=(r(a),n(3)),s=r(i),c=n(21),f=r(c),l=n(6),d=u["default"].PropTypes,p=d.string,h=d.object,v=u["default"].createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=f["default"].createRouteFromReactElement(e))}},propTypes:{to:p.isRequired,query:h,state:h,onEnter:l.falsy,children:l.falsy},render:function(){(0,s["default"])(!1)}});t["default"]=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),u=r(o),a=n(1),i=(r(a),n(3)),s=r(i),c=n(5),f=n(6),l=u["default"].PropTypes.func,d=u["default"].createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,c.createRouteFromReactElement)(e))}},propTypes:{path:f.falsy,component:f.component,components:f.components,getComponent:l,getComponents:l},render:function(){(0,s["default"])(!1)}});t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),u=(r(o),n(2)),a=r(u),i=n(3),s=r(i),c=a["default"].PropTypes.object,f={contextTypes:{history:c.isRequired,route:c},propTypes:{route:c},componentDidMount:function(){this.routerWillLeave?void 0:(0,s["default"])(!1);var e=this.props.route||this.context.route;e?void 0:(0,
2
+ s["default"])(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t["default"]=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),u=r(o),a=n(3),i=r(a),s=n(5),c=n(6),f=u["default"].PropTypes,l=f.string,d=f.func,p=u["default"].createClass({displayName:"Route",statics:{createRouteFromReactElement:s.createRouteFromReactElement},propTypes:{path:l,component:c.component,components:c.components,getComponent:d,getComponents:d},render:function(){(0,i["default"])(!1)}});t["default"]=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),u=(r(o),n(2)),a=r(u),i=a["default"].PropTypes.object,s={propTypes:{route:i.isRequired},childContextTypes:{route:i.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t["default"]=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){return!e||!e.__v2_compatible__}function a(e){return e&&e.getCurrentLocation}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(29),c=r(s),f=n(13),l=r(f),d=n(3),p=r(d),h=n(2),v=r(h),y=n(16),m=r(y),g=n(6),_=n(10),R=r(_),O=n(5),b=n(22),P=n(1),w=(r(P),v["default"].PropTypes),M=w.func,x=w.object,j=v["default"].createClass({displayName:"Router",propTypes:{history:x,children:g.routes,routes:g.routes,render:M,createElement:M,onError:M,onUpdate:M,parseQueryString:M,stringifyQuery:M,matchContext:x},getDefaultProps:function(){return{render:function(e){return v["default"].createElement(R["default"],e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},componentWillMount:function(){var e=this,t=this.props,n=(t.parseQueryString,t.stringifyQuery,this.createRouterObjects()),r=n.history,o=n.transitionManager,u=n.router;this._unlisten=o.listen(function(t,n){t?e.handleError(t):e.setState(n,e.props.onUpdate)}),this.history=r,this.router=u},createRouterObjects:function(){var e=this.props.matchContext;if(e)return e;var t=this.props.history,n=this.props,r=n.routes,o=n.children;a(t)?(0,p["default"])(!1):void 0,u(t)&&(t=this.wrapDeprecatedHistory(t));var i=(0,m["default"])(t,(0,O.createRoutes)(r||o)),s=(0,b.createRouterObject)(t,i),c=(0,b.createRoutingHistory)(t,i);return{history:c,transitionManager:i,router:s}},wrapDeprecatedHistory:function(e){var t=this.props,n=t.parseQueryString,r=t.stringifyQuery,o=void 0;return o=e?function(){return e}:c["default"],(0,l["default"])(o)({parseQueryString:n,stringifyQuery:r})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function E(){var e=this.state,t=e.location,n=e.routes,r=e.params,u=e.components,a=this.props,s=a.createElement,E=a.render,c=o(a,["createElement","render"]);return null==t?null:(Object.keys(j.propTypes).forEach(function(e){return delete c[e]}),E(i({},c,{history:this.history,router:this.router,location:t,routes:n,params:r,components:u,createElement:s})))}});t["default"]=j},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),u=r(o),a=n(10),i=r(a),s=n(1),c=(r(s),u["default"].createClass({displayName:"RoutingContext",componentWillMount:function(){},render:function(){return u["default"].createElement(i["default"],this.props)}}));t["default"]=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){return function(){for(var r=arguments.length,o=Array(r),u=0;u<r;u++)o[u]=arguments[u];if(e.apply(t,o),e.length<n){var a=o[o.length-1];a()}}}function u(e){return e.reduce(function(e,t){return t.onEnter&&e.push(o(t.onEnter,t,3)),e},[])}function a(e){return e.reduce(function(e,t){return t.onChange&&e.push(o(t.onChange,t,4)),e},[])}function i(e,t,n){function r(e,t,n){return t?void(o={pathname:t,query:n,state:e}):void(o=e)}if(!e)return void n();var o=void 0;(0,l.loopAsync)(e,function(e,n,u){t(e,r,function(e){e||o?u(e,o):n()})},n)}function s(e,t,n){var r=u(e);return i(r.length,function(e,n,o){r[e](t,n,o)},n)}function c(e,t,n,r){var o=a(e);return i(o.length,function(e,r,u){o[e](t,n,r,u)},r)}function f(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=s,t.runChangeHooks=c,t.runLeaveHooks=f;var l=n(14),d=n(1);r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(2),a=r(u),i=n(10),s=r(i),c=n(1);r(c);t["default"]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),i=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),c=function(){var e=arguments.length<=0||void 0===arguments[0]?u.createElement:arguments[0];return function(t,n){return i.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},a["default"].createElement(s["default"],o({},e,{createElement:c(e.createElement)})))}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(57),u=r(o),a=n(24),i=r(a);t["default"]=(0,i["default"])(u["default"])},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,u.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,u=void 0,a=void 0,i=void 0;return n?!function(){var s=!1;u=n.filter(function(n){if(s)return!0;var u=o.indexOf(n)===-1||r(n,e,t);return u&&(s=!0),u}),u.reverse(),i=[],a=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=u.indexOf(e)!==-1;t||r?i.push(e):a.push(e)})}():(u=[],a=[],i=o),{leaveRoutes:u,changeRoutes:a,enterRoutes:i}}t.__esModule=!0;var u=n(8);t["default"]=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(!r)return void n();var o=e.location,u=(0,s["default"])(e,o);r.call(t,u,n)}function u(e,t){(0,a.mapAsync)(e.routes,function(t,n,r){o(e,t,r)},t)}t.__esModule=!0;var a=n(14),i=n(25),s=r(i);t["default"]=u},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var o=n(8);t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(29),u=r(o),a=n(24),i=r(a);t["default"]=(0,i["default"])(u["default"])},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":s(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function u(e,t,n){for(var r=e,o=[],u=[],a=0,i=t.length;a<i;++a){var s=t[a],f=s.path||"";if("/"===f.charAt(0)&&(r=e,o=[],u=[]),null!==r&&f){var l=(0,c.matchPattern)(f,r);if(l?(r=l.remainingPathname,o=[].concat(o,l.paramNames),u=[].concat(u,l.paramValues)):r=null,""===r)return o.every(function(e,t){return String(u[t])===String(n[e])})}}return!1}function a(e,t){return null==t?null==e:null==e||r(e,t)}function i(e,t,n,r,i){var s=e.pathname,c=e.query;return null!=n&&("/"!==s.charAt(0)&&(s="/"+s),!!(o(s,n.pathname)||!t&&u(s,r,i))&&a(c,n.query))}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=i;var c=n(8)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e,t){var n=e.history,r=e.routes,u=e.location,s=o(e,["history","routes","location"]);n||u?void 0:(0,c["default"])(!1),n=n?n:(0,l["default"])(s);var f=(0,p["default"])(n,(0,h.createRoutes)(r)),d=void 0;u?u=n.createLocation(u):d=n.listen(function(e){u=e});var y=(0,v.createRouterObject)(n,f);n=(0,v.createRoutingHistory)(n,f),f.match(u,function(e,r,o){t(e,r&&y.createLocation(r,i.REPLACE),o&&a({},o,{history:n,router:y,matchContext:{history:n,transitionManager:f,router:y}})),d&&d()})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(9),s=n(3),c=r(s),f=n(23),l=r(f),d=n(16),p=r(d),h=n(5),v=n(22);t["default"]=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var u=!0,a=void 0,s={location:t,params:i(n,r)},c=(0,h["default"])(s,t);return e.getChildRoutes(c,function(e,t){return t=!e&&(0,m.createRoutes)(t),u?void(a=[e,t]):void o(e,t)}),u=!1,a}function u(e,t,n,r,o){if(e.indexRoute)o(null,e.indexRoute);else if(e.getIndexRoute){var a={location:t,params:i(n,r)},s=(0,h["default"])(a,t);e.getIndexRoute(s,function(e,t){o(e,!e&&(0,m.createRoutes)(t)[0])})}else e.childRoutes?!function(){var a=e.childRoutes.filter(function(e){return!e.path});(0,d.loopAsync)(a.length,function(e,o,i){u(a[e],t,n,r,function(t,n){if(t||n){var r=[a[e]].concat(Array.isArray(n)?n:[n]);i(t,r)}else o()})},function(e,t){o(null,t)})}():o()}function a(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function i(e,t){return a({},e,t)}function s(e,t,n,r,a,s){var f=e.path||"";if("/"===f.charAt(0)&&(n=t.pathname,r=[],a=[]),null!==n&&f){try{var d=(0,v.matchPattern)(f,n);d?(n=d.remainingPathname,r=[].concat(r,d.paramNames),a=[].concat(a,d.paramValues)):n=null}catch(p){s(p)}if(""===n){var h=function(){var n={routes:[e],params:i(r,a)};return u(e,t,r,a,function(e,t){if(e)s(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);s(null,n)}}),{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":l(h)))return h.v}}if(null!=n||e.childRoutes){var y=function(o,u){o?s(o):u?c(u,t,function(t,n){t?s(t):n?(n.routes.unshift(e),s(null,n)):s()},n,r,a):s()},m=o(e,t,r,a,y);m&&y.apply(void 0,m)}else s()}function c(e,t,n,r){var o=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],u=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=f({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,d.loopAsync)(e.length,function(n,a,i){s(e[n],t,r,o,u,function(e,t){e||t?i(e,t):a()})},n)}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=c;var d=n(14),p=n(25),h=r(p),v=n(8),y=n(1),m=(r(y),n(5))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=o(t,["routes"]),u=(0,s["default"])(e)(r),i=(0,f["default"])(u,n);return a({},u,i)}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),s=r(i),c=n(16),f=r(c),l=n(1);r(l);t["default"]=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.displayName||e.name||"Component"}function u(e,t){var n=t&&t.withRef,r=f["default"].createClass({displayName:"WithRouter",contextTypes:{router:p.routerShape},propTypes:{router:p.routerShape},getWrappedInstance:function(){return n?void 0:(0,s["default"])(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router,o=a({},this.props,{router:r});return n&&(o.ref=function(e){t.wrappedInstance=e}),f["default"].createElement(e,o)}});return r.displayName="withRouter("+o(e)+")",r.WrappedComponent=e,(0,d["default"])(r,e)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=u;var i=n(3),s=r(i),c=n(2),f=r(c),l=n(60),d=r(l),p=n(15)},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}function u(e,t,n){var u,f;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return!!s(t)&&(e=a.call(e),t=a.call(t),c(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}try{var l=i(e),d=i(t)}catch(p){return!1}if(l.length!=d.length)return!1;for(l.sort(),d.sort(),u=l.length-1;u>=0;u--)if(l[u]!=d[u])return!1;for(u=l.length-1;u>=0;u--)if(f=l[u],!c(e[f],t[f],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,i=n(55),s=n(54),c=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:u(e,t,n))}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){"use strict";function n(e,t,n){function o(){return i=!0,s?void(f=[].concat(r.call(arguments))):void n.apply(this,arguments)}function u(){if(!i&&(c=!0,!s)){for(s=!0;!i&&a<e&&c;)c=!1,t.call(this,a++,u,o);return s=!1,i?void n.apply(this,f):void(a>=e&&c&&(i=!0,n()))}}var a=0,i=!1,s=!1,c=!1,f=void 0;u()}t.__esModule=!0;var r=Array.prototype.slice;t.loopAsync=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){function e(e){try{e=e||window.history.state||{}}catch(t){e={}}var n=l.getWindowPath(),r=e,o=r.key,a=void 0;o?a=d.readState(o):(a=null,o=_.createKey(),m&&window.history.replaceState(u({},e,{key:o}),null));var i=c.parsePath(n);return _.createLocation(u({},i,{state:a}),void 0,o)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return l.addEventListener(window,"popstate",n),function(){l.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.hash,u=e.state,a=e.action,i=e.key;if(a!==s.POP){d.saveState(i,u);var c=(t||"")+n+r+o,f={key:i};if(a===s.PUSH){if(g)return window.location.href=c,!1;window.history.pushState(f,null,c)}else{if(g)return window.location.replace(c),!1;window.history.replaceState(f,null,c)}}}function r(e){1===++R&&(O=t(_));var n=_.listenBefore(e);return function(){n(),0===--R&&O()}}function o(e){1===++R&&(O=t(_));var n=_.listen(e);return function(){n(),0===--R&&O()}}function a(e){1===++R&&(O=t(_)),_.registerTransitionHook(e)}function p(e){_.unregisterTransitionHook(e),0===--R&&O()}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];f.canUseDOM?void 0:i["default"](!1);var y=v.forceRefresh,m=l.supportsHistory(),g=!m||y,_=h["default"](u({},v,{getCurrentLocation:e,finishTransition:n,saveState:d.saveState})),R=0,O=void 0;return u({},_,{listenBefore:r,listen:o,registerTransitionHook:a,unregisterTransitionHook:p})}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(3),i=r(a),s=n(9),c=n(7),f=n(12),l=n(17),d=n(27),p=n(28),h=r(p);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?i.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=s.parsePath(e)),"object"==typeof t&&(e=u({},e,{state:t}),t=n||i.POP,n=r);var o=e.pathname||"/",a=e.search||"",c=e.hash||"",f=e.state||null;return{pathname:o,search:a,hash:c,state:f,action:t,key:n}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(4),i=(r(a),n(9)),s=n(7);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function u(){function e(e,t){m[e]=t}function t(e){return m[e]}function n(){var e=v[y],n=e.basename,r=e.pathname,o=e.search,u=(n||"")+r+(o||""),i=void 0,s=void 0;e.key?(i=e.key,s=t(i)):(i=d.createKey(),s=null,e.key=i);var c=f.parsePath(u);return d.createLocation(a({},c,{state:s}),void 0,i)}function r(e){var t=y+e;return t>=0&&t<v.length}function u(e){if(e){if(!r(e))return;y+=e;var t=n();d.transitionTo(a({},t,{action:l.POP}))}}function i(t){switch(t.action){case l.PUSH:y+=1,y<v.length&&v.splice(y),v.push(t),e(t.key,t.state);break;case l.REPLACE:v[y]=t,e(t.key,t.state)}}var s=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(s)?s={entries:s}:"string"==typeof s&&(s={entries:[s]});var d=p["default"](a({},s,{getCurrentLocation:n,finishTransition:i,saveState:e,go:u})),h=s,v=h.entries,y=h.current;"string"==typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map(function(e){var t=d.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?a({},e,{key:t}):void c["default"](!1)}),null==y?y=v.length-1:y>=0&&y<v.length?void 0:c["default"](!1);var m=o(v);return d}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(4),s=(r(i),n(3)),c=r(s),f=n(7),l=n(9),d=n(30),p=r(d);t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,u){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var i=0;i<a.length;++i)if(!(n[a[i]]||r[a[i]]||u&&u[a[i]]))try{e[a[i]]=t[a[i]]}catch(s){}}return e}},function(e,t,n){"use strict";var r=n(62);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){return"string"!=typeof e?{}:(e=e.trim().replace(/^(\?|#|&)/,""),e?e.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;return r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),e.hasOwnProperty(r)?Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]:e[r]=o,e},{}):{})},t.stringify=function(e){return e?Object.keys(e).sort().map(function(t){var n=e[t];return void 0===n?"":null===n?t:Array.isArray(n)?n.slice().sort().map(function(e){return r(t)+"="+r(e)}).join("&"):r(t)+"="+r(n)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";var r=function(){};e.exports=r}])});
@@ -0,0 +1,73 @@
1
+ // Unobtrusive scripting adapter for React Router based on react-rails gem.
2
+ // https://github.com/reactjs/react-rails/blob/master/lib/assets/javascripts/react_ujs.js
3
+ (function(document, window, React, ReactDOM, ReactRouter) {
4
+ var ROUTER_CLASS_NAME = 'data-react-router-class';
5
+ var LOCATION_CLASS_NAME = 'data-react-router-location';
6
+ var DATA_CLASS_NAME = 'data-react-router-data';
7
+
8
+ // jQuery is optional. Use it to support legacy browsers.
9
+ var $ = (typeof jQuery !== 'undefined') && jQuery;
10
+
11
+ var findReactRouterDOMNodes = function() {
12
+ var SELECTOR = '[' + ROUTER_CLASS_NAME + ']';
13
+ if ($) {
14
+ return $(SELECTOR);
15
+ } else {
16
+ return document.querySelectorAll(SELECTOR);
17
+ }
18
+ };
19
+
20
+ var mountReactRouter = function() {
21
+ var nodes = findReactRouterDOMNodes();
22
+ if (nodes.length >= 1) {
23
+ if (nodes.length > 1) {
24
+ console.warn('React Router is designed to have a single root router. ' + nodes.length + ' routers were found on the html. Using the first one.');
25
+ }
26
+ var routerNode = nodes[0];
27
+
28
+ // Assume className is simple and can be found at top-level (window).
29
+ // Fallback to eval to handle cases like 'My.React.ComponentName'.
30
+ var className = routerNode.getAttribute(ROUTER_CLASS_NAME);
31
+ var routes = window[className] || eval.call(window, className);
32
+
33
+ var locationName = routerNode.getAttribute(LOCATION_CLASS_NAME);
34
+ var location = ReactRouter[locationName] ;
35
+
36
+ var dataJson = routerNode.getAttribute(DATA_CLASS_NAME);
37
+ var data = JSON.parse(dataJson);
38
+
39
+ console.log(className);
40
+
41
+ ReactDOM.render(React.createElement(className, data), routerNode);
42
+ }
43
+ };
44
+
45
+ var handleTurbolinksEvents = function() {
46
+ var handleEvent;
47
+ if ($) {
48
+ handleEvent = function(eventName, callback) {
49
+ $(document).on(eventName, callback);
50
+ };
51
+ } else {
52
+ handleEvent = function(eventName, callback) {
53
+ document.addEventListener(eventName, callback);
54
+ };
55
+ }
56
+ handleEvent('page:change', mountReactRouter);
57
+ };
58
+
59
+ var handleNativeEvents = function() {
60
+ if ($) {
61
+ $(mountReactRouter);
62
+ } else {
63
+ document.addEventListener('DOMContentLoaded', mountReactRouter);
64
+ }
65
+ };
66
+
67
+ if (typeof Turbolinks !== 'undefined' && Turbolinks.supported) {
68
+ handleTurbolinksEvents();
69
+ } else {
70
+ handleNativeEvents();
71
+ }
72
+
73
+ })(document, window, React, ReactDOM, ReactRouter);
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zreact-router-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.8.1
5
+ platform: ruby
6
+ authors:
7
+ - Thuong Nguyen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: react-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ description: React-Router for Rails Asset Pipeline
70
+ email:
71
+ - thuongnh.uit@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE
77
+ - README.md
78
+ - lib/zreact/router/rails.rb
79
+ - lib/zreact/router/rails/engine.rb
80
+ - lib/zreact/router/rails/railtie.rb
81
+ - lib/zreact/router/rails/version.rb
82
+ - lib/zreact/router/rails/view_helper.rb
83
+ - lib/zreact/router/renderer.rb
84
+ - vendor/assets/javascripts/react_router.js
85
+ - vendor/assets/javascripts/react_router.min.js
86
+ - vendor/assets/javascripts/react_router_ujs.js
87
+ homepage: https://github.com/zelic91/react-router-rails
88
+ licenses:
89
+ - MIT
90
+ metadata: {}
91
+ post_install_message:
92
+ rdoc_options: []
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubyforge_project:
107
+ rubygems_version: 2.6.4
108
+ signing_key:
109
+ specification_version: 4
110
+ summary: A gem for distribution of the react-router using the asset pipeline
111
+ test_files: []