-
Notifications
You must be signed in to change notification settings - Fork 1
/
fffa596caa5e50f86619798ecf1e2a6f.js
2 lines (2 loc) · 46.3 KB
/
fffa596caa5e50f86619798ecf1e2a6f.js
1
2
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(this,function(){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){var r=n(1),o=n(1),i=n(12);i.default&&(i=i.default);var a=n(35);a.default&&(a=a.default);var l=n(36);l.default&&(l=l.default),o.render(r.createElement(i,{sections:[{title:"Get-Started",url:"get-started",pages:[{title:"Installation",url:"get-started/installation"},{title:"Running",url:"get-started/running"},{title:"Project Overview",url:"get-started/overview"}]},{title:"Guides",url:"guides",pages:[{title:"asdf",url:"guides/asdf"}]},{title:"Developing",url:"developing",pages:[{title:"developing/01_Adding_a_Route",url:"developing/01_Adding_a_Route"}]},{title:"Deployment",url:"deployment",pages:[{title:"deployment/gcloud-deployment",url:"deployment/gcloud-deployment"}]},{title:"Examples",url:"examples",pages:[{title:"Heroku Deploy",url:"examples/Heroku_Deployment"},{title:"IIS",url:"examples/IIS"}]},{title:"Generators",url:"generators",pages:[{title:"App",url:"generators/app"},{title:"Route",url:"generators/route"},{title:"Service",url:"generators/service"},{title:"Component",url:"generators/component"},{title:"Controller",url:"generators/controller"},{title:"Decorator",url:"generators/decorator"},{title:"Directive",url:"generators/directive"},{title:"Endpoint",url:"generators/endpoint"},{title:"Filter",url:"generators/filter"},{title:"Heroku",url:"generators/heroku"},{title:"Openshift",url:"generators/openshift"}]},{title:"Other",url:"/",pages:[]}],pageUrl:"examples/IIS"}),document.getElementById("components/navigation/navigation.jsx")),o.render(r.createElement(a,{sections:[{title:"Get-Started",url:"get-started",pages:[{title:"Installation",url:"get-started/installation"},{title:"Running",url:"get-started/running"},{title:"Project Overview",url:"get-started/overview"}]},{title:"Guides",url:"guides",pages:[{title:"asdf",url:"guides/asdf"}]},{title:"Developing",url:"developing",pages:[{title:"developing/01_Adding_a_Route",url:"developing/01_Adding_a_Route"}]},{title:"Deployment",url:"deployment",pages:[{title:"deployment/gcloud-deployment",url:"deployment/gcloud-deployment"}]},{title:"Examples",url:"examples",pages:[{title:"Heroku Deploy",url:"examples/Heroku_Deployment"},{title:"IIS",url:"examples/IIS"}]},{title:"Generators",url:"generators",pages:[{title:"App",url:"generators/app"},{title:"Route",url:"generators/route"},{title:"Service",url:"generators/service"},{title:"Component",url:"generators/component"},{title:"Controller",url:"generators/controller"},{title:"Decorator",url:"generators/decorator"},{title:"Directive",url:"generators/directive"},{title:"Endpoint",url:"generators/endpoint"},{title:"Filter",url:"generators/filter"},{title:"Heroku",url:"generators/heroku"},{title:"Openshift",url:"generators/openshift"}]},{title:"Other",url:"/",pages:[]}]}),document.getElementById("components/sidebar-mobile/sidebar-mobile.jsx")),o.render(r.createElement(l,{sectionName:"examples",pages:[{url:"examples/Heroku_Deployment",title:"Heroku Deploy",anchors:[]},{url:"examples/IIS",title:"IIS",anchors:[{title:"Angular Full-Stack Generator deployment on Windows",id:"angular-full-stack-generator-deployment-on-windows"},{title:"Prerequisites",id:"prerequisites"},{title:"Getting your project started",id:"getting-your-project-started"},{title:"Move App into production",id:"move-app-into-production"},{title:"Congratulations, you did it! Now go code something awesome!",id:"congratulations-you-did-it-now-go-code-something-awesome-"}]}],currentPage:"examples/IIS"}),document.getElementById("components/sidebar/sidebar.jsx"))},function(e,t,n){(function(t){!function(t,r){e.exports=r(n(3),n(11))}(this,function(e,n){function r(){return null}function o(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&x(e.attributes,t.defaultProps),n&&x(e.attributes,n)}function i(e,t){var n,r,o;if(t){for(o in t)if(n=G.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[G.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function a(e,t,r){var o=t&&t._preactCompatRendered&&t._preactCompatRendered.base;o&&o.parentNode!==t&&(o=null),o||(o=t.children[0]);for(var i=t.childNodes.length;i--;)t.childNodes[i]!==o&&t.removeChild(t.childNodes[i]);var a=n.render(e,t,o);return t&&(t._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof r&&r(),a&&a._component||a}function l(e,t,r,o){var i=n.h(Y,{context:e.context},t),l=a(i,r);return o&&o(l),l._component||l.base}function u(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(n.render(n.h(r),e,t),!0)}function c(e){return h.bind(null,e)}function s(e,t){for(var n=t||0;n<e.length;n++){var r=e[n];Array.isArray(r)?s(r):r&&"object"==typeof r&&!y(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=h(r.type||r.nodeName,r.props||r.attributes,r.children))}}function f(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function p(e){return k({displayName:e.displayName||e.name,render:function(){return e(this.props,this.context)}})}function d(e){var t=e[W];return t?t===!0?e:t:(t=p(e),Object.defineProperty(t,W,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,W,{configurable:!0,value:t}),t)}function h(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return s(e,2),m(n.h.apply(void 0,e))}function m(e){e.preactCompatNormalized=!0,_(e),f(e.nodeName)&&(e.nodeName=d(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!X||"string"!==n&&"number"!==n||(e.attributes.ref=g(t,X)),b(e),e}function v(e,t){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!y(e))return e;var i=e.attributes||e.props,a=n.h(e.nodeName||e.type,i,e.children||i&&i.children),l=[a,t];return r&&r.length?l.push(r):t&&t.children&&l.push(t.children),m(n.cloneElement.apply(void 0,l))}function y(e){return e&&(e instanceof F||e.$$typeof===B)}function g(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function b(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=T([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function x(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function w(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function N(e){return e&&e.base||e}function E(){}function k(e){function t(e,t){P(this),I.call(this,e,t,q),j.call(this,e,t)}return e=x({constructor:t},e),e.mixins&&C(e,O(e.mixins)),e.statics&&x(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),E.prototype=I.prototype,t.prototype=x(new E,e),t.displayName=e.displayName||"Component",t}function O(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function C(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=T(t[n].concat(e[n]||Z),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function P(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||V.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function S(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function T(e,t){return function(){for(var n,r=arguments,o=this,i=0;i<e.length;i++){var a=S(o,e[i],r);if(t&&null!=a){n||(n={});for(var l in a)a.hasOwnProperty(l)&&(n[l]=a[l])}else"undefined"!=typeof a&&(n=a)}return n}}function j(e,t){A.call(this,e,t),this.componentWillReceiveProps=T([A,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=T([A,R,this.render||"render",D])}function A(t,n){if(t){var r=t.children;if(r&&Array.isArray(r)&&1===r.length&&(t.children=r[0],t.children&&"object"==typeof t.children&&(t.children.length=1,t.children[0]=t.children)),H){var o="function"==typeof this?this:this.constructor,i=this.propTypes||o.propTypes,a=this.displayName||o.name;i&&e.checkPropTypes(i,t,"prop",a)}}}function R(e){X=this}function D(){X===this&&(X=null)}function I(e,t,r){n.Component.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},r!==q&&j.call(this,e,t)}function M(e,t){I.call(this,e,t)}e="default"in e?e.default:e;var U="15.1.0",L="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,W="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",V={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},G=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vert|word|writing|x)[A-Z]/,q={},H="undefined"==typeof t||!t.env||"production"!==t.env.NODE_ENV,F=n.h("a",null).constructor;F.prototype.$$typeof=B,F.prototype.preactCompatUpgraded=!1,F.prototype.preactCompatNormalized=!1,Object.defineProperty(F.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(F.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var $=n.options.event;n.options.event=function(e){return $&&(e=$(e)),e.persist=Object,e.nativeEvent=e,e};var z=n.options.vnode;n.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=x({},e.attributes);"function"==typeof t?(t[W]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||m(e),o(e)):(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),i(e,n))}z&&z(e)};var Y=function(){};Y.prototype.getChildContext=function(){return this.props.context},Y.prototype.render=function(e){return e.children[0]};for(var X,Z=[],J={map:function(e,t,n){return null==e?null:(e=J.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){return null==e?null:(e=J.toArray(e),n&&n!==e&&(t=t.bind(n)),void e.forEach(t))},count:function(e){return e&&e.length||0},only:function(e){if(e=J.toArray(e),1!==e.length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:Array.isArray&&Array.isArray(e)?e:Z.concat(e)}},K={},Q=L.length;Q--;)K[L[Q]]=c(L[Q]);x(I.prototype=new n.Component,{constructor:I,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in n.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),E.prototype=I.prototype,M.prototype=new E,M.prototype.isPureReactComponent=!0,M.prototype.shouldComponentUpdate=function(e,t){return w(this.props,e)||w(this.state,t)};var ee={version:U,DOM:K,PropTypes:e,Children:J,render:a,createClass:k,createFactory:c,createElement:h,cloneElement:v,isValidElement:y,findDOMNode:N,unmountComponentAtNode:u,Component:I,PureComponent:M,unstable_renderSubtreeIntoContainer:l};return ee})}).call(t,n(2))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):v=-1,h.length&&l())}function l(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++v<t;)d&&d[v].run();v=-1,t=h.length}d=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var s,f,p=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:n}catch(e){s=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],m=!1,v=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||m||o(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},i=!0;e.exports=n(4)(o,i)}else e.exports=n(10)()}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(5),o=n(6),i=n(7),a=n(8),l=n(9);e.exports=function(e,n){function u(e){var t=e&&(P&&e[P]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function s(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,m){if(p=p||T,h=h||f,m!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=p+":"+f;!l[v]&&u<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),l[v]=!0,u++)}return null==c[f]?r?new s(null===c[f]?"The "+d+" `"+h+"` is marked as required "+("in `"+p+"`, but its value is `null`."):"The "+d+" `"+h+"` is marked as required in "+("`"+p+"`, but its value is `undefined`.")):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var l={},u=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var l=t[n],u=E(l);if(u!==e){var c=k(l);return new s("Invalid "+o+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return f(t)}function d(){return f(r.thatReturnsNull)}function h(e){function t(t,n,r,o,i){if("function"!=typeof e)return new s("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){var u=E(l);return new s("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<l.length;c++){var f=e(l,c,r,o,i+"["+c+"]",a);if(f instanceof Error)return f}return null}return f(t)}function m(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){var l=E(a);return new s("Invalid "+o+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return f(t)}function v(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||T,l=C(t[n]);return new s("Invalid "+o+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return f(t)}function y(e){function n(t,n,r,o,i){for(var a=t[n],l=0;l<e.length;l++)if(c(a,e[l]))return null;var u=JSON.stringify(e);return new s("Invalid "+o+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+u+"."))}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,r.thatReturnsNull)}function g(e){function t(t,n,r,o,i){if("function"!=typeof e)return new s("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],u=E(l);if("object"!==u)return new s("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."));for(var c in l)if(l.hasOwnProperty(c)){var f=e(l,c,r,o,i+"."+c,a);if(f instanceof Error)return f}return null}return f(t)}function b(e){function n(t,n,r,o,i){for(var l=0;l<e.length;l++){var u=e[l];if(null==u(t,n,r,o,i,a))return null}return new s("Invalid "+o+" `"+i+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,r.thatReturnsNull;for(var o=0;o<e.length;o++){var l=e[o];if("function"!=typeof l)return i(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",O(l),o),r.thatReturnsNull}return f(n)}function _(){function e(e,t,n,r,o){return w(e[t])?null:new s("Invalid "+r+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return f(e)}function x(e){function t(t,n,r,o,i){var l=t[n],u=E(l);if("object"!==u)return new s("Invalid "+o+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."));for(var c in e){var f=e[c];if(f){var p=f(l,c,r,o,i+"."+c,a);if(p)return p}}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!w(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!w(i[1]))return!1}return!0;default:return!1}}function N(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function E(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":N(t,e)?"symbol":t}function k(e){if("undefined"==typeof e||null===e)return""+e;var t=E(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function O(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:T}var P="function"==typeof Symbol&&Symbol.iterator,S="@@iterator",T="<<anonymous>>",j={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:d(),arrayOf:h,element:m(),instanceOf:v,node:_(),objectOf:g,oneOf:y,oneOfType:b,shape:x};return s.prototype=Error.prototype,j.checkPropTypes=l,j.PropTypes=j,j}}).call(t,n(2))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";function n(e,t,n,o,i,a,l,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,i,a,l,u],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(5),o=r;"production"!==t.env.NODE_ENV&&!function(){var e=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(t,n){if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==n.indexOf("Failed Composite propType: ")&&!t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];e.apply(void 0,[n].concat(o))}}}(),e.exports=o}).call(t,n(2))},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,n,r,u,c){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var f;try{o("function"==typeof e[s],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",u||"React class",r,s),f=e[s](n,s,u,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",r,s,typeof f),f instanceof Error&&!(f.message in l)){l[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(6),i=n(7),a=n(8),l={};e.exports=r}).call(t,n(2))},function(e,t,n){"use strict";var r=n(5),o=n(6),i=n(8);e.exports=function(){function e(e,t,n,r,a,l){l!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){!function(e,n){n(t)}(this,function(e){function t(e,t,n){this.nodeName=e,this.attributes=t,this.children=n,this.key=t&&t.key}function n(e,n){var r,o,i,a,l=[];for(a=arguments.length;a-- >2;)W.push(arguments[a]);for(n&&n.children&&(W.length||W.push(n.children),delete n.children);W.length;)if((o=W.pop())instanceof Array)for(a=o.length;a--;)W.push(o[a]);else null!=o&&o!==!1&&("number"!=typeof o&&o!==!0||(o=String(o)),i="string"==typeof o,i&&r?l[l.length-1]+=o:(l.push(o),r=i));var u=new t(e,n||void 0,l);return B.vnode&&B.vnode(u),u}function r(e,t){if(t)for(var n in t)e[n]=t[n];return e}function o(e){return r({},e)}function i(e,t){for(var n=t.split("."),r=0;r<n.length&&e;r++)e=e[n[r]];return e}function a(e){return"function"==typeof e}function l(e){return"string"==typeof e}function u(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function c(e,t){return n(e.nodeName,r(o(e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function s(e,t,n){var r=t.split(".");return function(t){for(var o=t&&t.target||this,a={},u=a,c=l(n)?i(t,n):o.nodeName?o.type.match(/^che|rad/)?o.checked:o.value:t,s=0;s<r.length-1;s++)u=u[r[s]]||(u[r[s]]=!s&&e.state[r[s]]||{});u[r[s]]=c,e.setState(a)}}function f(e){!e._dirty&&(e._dirty=!0)&&1==X.push(e)&&(B.debounceRendering||H)(p)}function p(){var e,t=X;for(X=[];e=t.pop();)e._dirty&&D(e)}function d(e){var t=e&&e.nodeName;return t&&a(t)&&!(t.prototype&&t.prototype.render)}function h(e,t){return e.nodeName(y(e),t||F)}function m(e,t){return l(t)?e instanceof Text:l(t.nodeName)?v(e,t.nodeName):a(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function v(e,t){return e.normalizedNodeName===t||G(e.nodeName)===G(t)}function y(e){var t=o(e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n,r,o){if("className"===t&&(t="class"),"class"===t&&r&&"object"==typeof r&&(r=u(r)),"key"===t);else if("class"!==t||o)if("style"===t){if((!r||l(r)||l(n))&&(e.style.cssText=r||""),r&&"object"==typeof r){if(!l(n))for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"!=typeof r[i]||z[i]?r[i]:r[i]+"px"}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html);else if("o"==t[0]&&"n"==t[1]){var c=e._listeners||(e._listeners={});t=G(t.substring(2)),r?c[t]||e.addEventListener(t,x,!!Y[t]):c[t]&&e.removeEventListener(t,x,!!Y[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)_(e,t,null==r?"":r),null!=r&&r!==!1||e.removeAttribute(t);else{var s=o&&t.match(/^xlink\:?(.+)/);null==r||r===!1?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",G(s[1])):e.removeAttribute(t):"object"==typeof r||a(r)||(s?e.setAttributeNS("http://www.w3.org/1999/xlink",G(s[1]),r):e.setAttribute(t,r))}else e.className=r||""}function _(e,t,n){try{e[t]=n}catch(e){}}function x(e){return this._listeners[e.type](B.event&&B.event(e)||e)}function w(e){if(g(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||G(e.nodeName);(Z[t]||(Z[t]=[])).push(e)}}function N(e,t){var n=G(e),r=Z[n]&&Z[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function E(){for(var e;e=J.pop();)B.afterMount&&B.afterMount(e),e.componentDidMount&&e.componentDidMount()}function k(e,t,n,r,o,i){K++||(Q=o instanceof SVGElement);var a=O(e,t,n,r);return o&&a.parentNode!==o&&o.appendChild(a),--K||i||E(),a}function O(e,t,n,r){for(var o=t&&t.attributes;d(t);)t=h(t,n);if(null==t&&(t=""),l(t)){if(e){if(e instanceof Text&&e.parentNode)return e.nodeValue!=t&&(e.nodeValue=t),e;S(e)}return document.createTextNode(t)}if(a(t.nodeName))return I(e,t,n,r);var i=e,u=t.nodeName,c=Q,s=t.children;if(l(u)||(u=String(u)),Q="svg"===u||"foreignObject"!==u&&Q,e){if(!v(e,u)){for(i=N(u,Q);e.firstChild;)i.appendChild(e.firstChild);S(e)}}else i=N(u,Q);s&&1===s.length&&"string"==typeof s[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue!=s[0]&&(i.firstChild.nodeValue=s[0]):(s&&s.length||i.firstChild)&&C(i,s,n,r);var f=i[$];if(!f){i[$]=f={};for(var p=i.attributes,m=p.length;m--;)f[p[m].name]=p[m].value}return T(i,t.attributes,f),o&&"function"==typeof o.ref&&(f.ref=o.ref)(i),Q=c,i}function C(e,t,n,r){var o,i,l,u,c=e.childNodes,s=[],f={},p=0,d=0,h=c.length,v=0,y=t&&t.length;if(h)for(var g=0;g<h;g++){var b=c[g],_=y?(i=b._component)?i.__key:(i=b[$])?i.key:null:null;_||0===_?(p++,f[_]=b):s[v++]=b}if(y)for(var g=0;g<y;g++){l=t[g],u=null;var _=l.key;if(null!=_)p&&_ in f&&(u=f[_],f[_]=void 0,p--);else if(!u&&d<v){for(o=d;o<v;o++)if(i=s[o],i&&m(i,l)){u=i,s[o]=void 0,o===v-1&&v--,o===d&&d++;break}!u&&d<v&&a(l.nodeName)&&r&&(u=s[d],s[d++]=void 0)}u=O(u,l,n,r),u&&u!==e&&u!==c[g]&&e.insertBefore(u,c[g]||null)}if(p)for(var g in f)f[g]&&S(f[g]);d<v&&P(s)}function P(e,t){for(var n=e.length;n--;)e[n]&&S(e[n],t)}function S(e,t){var n=e._component;n?M(n,!t):(e[$]&&e[$].ref&&e[$].ref(null),t||w(e),e.childNodes&&e.childNodes.length&&P(e.childNodes,t))}function T(e,t,n){for(var r in n)t&&r in t||null==n[r]||b(e,r,n[r],n[r]=void 0,Q);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||b(e,o,n[o],n[o]=t[o],Q)}function j(e){var t=e.constructor.name,n=ee[t];n?n.push(e):ee[t]=[e]}function A(e,t,n){var r=new e(t,n),o=ee[e.name];if(U.call(r,t,n),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function R(e,t,n,r,o){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&B.syncComponentUpdates===!1&&e.base?f(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var l,u,c,s,f=e.props,p=e.state,m=e.context,v=e.prevProps||f,g=e.prevState||p,b=e.prevContext||m,_=e.base,x=e.nextBase,w=_||x,N=e._component;if(_&&(e.props=v,e.state=g,e.context=b,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,m)===!1?l=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,m),e.props=f,e.state=p,e.context=m),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!l){for(e.render&&(u=e.render(f,p,m)),e.getChildContext&&(m=r(o(m),e.getChildContext()));d(u);)u=h(u,m);var O,C,P=u&&u.nodeName;if(a(P)){c=N;var T=y(u);c&&c.constructor===P?R(c,T,1,m):(O=c,c=A(P,T,m),c.nextBase=c.nextBase||x,c._parentComponent=e,e._component=c,R(c,T,0,m),D(c,1,n,!0)),C=c.base}else s=w,O=N,O&&(s=e._component=null),(w||1===t)&&(s&&(s._component=null),C=k(s,u,m,n||!_,w&&w.parentNode,!0));if(w&&C!==w&&c!==N){var j=w.parentNode;j&&C!==j&&(j.replaceChild(C,w),O||(w._component=null,S(w)))}if(O&&M(O,C!==w),e.base=C,C&&!i){for(var I=e,U=e;U=U._parentComponent;)(I=U).base=C;C._component=I,C._componentConstructor=I.constructor}}!_||n?J.unshift(e):l||(e.componentDidUpdate&&e.componentDidUpdate(v,g,b),B.afterUpdate&&B.afterUpdate(e));var L,W=e._renderCallbacks;if(W)for(;L=W.pop();)L.call(e);K||i||E()}}function I(e,t,n,r){for(var o=e&&e._component,i=e,a=o&&e._componentConstructor===t.nodeName,l=a,u=y(t);o&&!l&&(o=o._parentComponent);)l=o.constructor===t.nodeName;return o&&l&&(!r||o._component)?(R(o,u,3,n,r),e=o.base):(o&&!a&&(M(o,!0),e=i=null),o=A(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,i=null),R(o,u,1,n,r),e=o.base,i&&e!==i&&(i._component=null,S(i))),e}function M(e,t){B.beforeUnmount&&B.beforeUnmount(e);var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?M(r,t):n&&(n[$]&&n[$].ref&&n[$].ref(null),e.nextBase=n,t&&(g(n),j(e)),P(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function U(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function L(e,t,n){return k(n,e,{},!1,t)}var B={},W=[],V={},G=function(e){return V[e]||(V[e]=e.toLowerCase())},q="undefined"!=typeof Promise&&Promise.resolve(),H=q?function(e){q.then(e)}:setTimeout,F={},$="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_",z={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},Y={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},X=[],Z={},J=[],K=0,Q=!1,ee={};r(U.prototype,{linkState:function(e,t){var n=this._linkedStates||(this._linkedStates={});return n[e+t]||(n[e+t]=s(this,e,t));
},setState:function(e,t){var n=this.state;this.prevState||(this.prevState=o(n)),r(n,a(e)?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),f(this)},forceUpdate:function(){D(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=U,e.render=L,e.rerender=p,e.options=B})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),s=n(13),f=r(s),p=n(32),d=r(p),h=n(33),m=r(h),v=[{title:"Getting Started",url:"get-started"},{title:"Guides",url:"guides",children:[{title:"Getting Started",url:"get-started"},{title:"Developing",url:"developing"},{title:"Deployment",url:"deployment"},{title:"Examples",url:"examples"}]},{title:"Generators",url:"generators"},{title:"Donate",url:"https://opencollective.com/angular-fullstack"}],y=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"render",value:function(){var e=this;this.props.pageUrl;return c.default.createElement("header",{className:"navigation"},c.default.createElement(d.default,{className:"navigation__inner"},c.default.createElement("div",{className:"navigation__mobile",onClick:this._toggleSidebar},c.default.createElement("i",{className:"icon-menu"})),c.default.createElement(f.default,{className:"navigation__logo",to:"/"},c.default.createElement(m.default,{light:!0}),c.default.createElement("span",{className:"logo-text"},"Angular Full-Stack")),c.default.createElement("nav",{className:"navigation__links"},v.map(function(t){var n=e._isActive(t),r=n?"navigation__link--active":"";return c.default.createElement(f.default,{key:"navigation__link-"+t.title,className:"navigation__link "+r,to:"/"+t.url},t.title)})),c.default.createElement("div",{className:"navigation__search"},c.default.createElement("input",{type:"text",className:"navigation__search-input",placeholder:"Search documentation…",onBlur:this._toggleSearch.bind(this)}),c.default.createElement("button",{className:"navigation__search-icon icon-magnifying-glass",onClick:this._toggleSearch.bind(this)}),c.default.createElement("button",{className:"navigation__search-icon icon-cross",onClick:this._toggleSearch.bind(this)}))),v.filter(function(t){return e._isActive(t)&&t.children}).map(function(t){return c.default.createElement("div",{className:"navigation__bottom",key:t.title},c.default.createElement(d.default,{className:"navigation__inner"},t.children.map(function(t){var n=e._isActive(t)?"navigation__child--active":"";return c.default.createElement(f.default,{key:"navigation__child-"+t.title,className:"navigation__child "+n,to:"/"+t.url},t.title)})))}))}},{key:"componentDidMount",value:function(){var e=this;"undefined"!=typeof window&&(window.docsearch({apiKey:"fac401d1a5f68bc41f01fb6261661490",indexName:"webpack-js-org",inputSelector:".navigation__search-input"}),window.addEventListener("keyup",function(t){9===t.which&&t.target.classList.contains("navigation__search-input")&&e._openSearch()}))}},{key:"_isActive",value:function(e){var t=this.props.pageUrl,n=void 0===t?"":t;return e.children?e.children.some(function(e){return n.includes(e.url+"/")}):n.includes(e.url+"/")}},{key:"_toggleSidebar",value:function(e){var t=document.querySelector(".sidebar-mobile"),n="sidebar-mobile--visible";t.classList.toggle(n)}},{key:"_toggleSearch",value:function(){var e=document.querySelector(".navigation"),t=document.querySelector(".navigation__search-input"),n=e.classList.toggle("navigation--search-mode");n===!0&&t.focus()}},{key:"_openSearch",value:function(){var e=document.querySelector(".navigation");e.classList.add("navigation--search-mode")}}]),t}(c.default.Component);t.default=y},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}Object.defineProperty(t,"__esModule",{value:!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},a=n(1),l=r(a),u=n(14),c=r(u),s=function(e){var t=e.to,n=o(e,["to"]);return(0,c.default)(t,"http")||(0,c.default)(t,"//")?l.default.createElement("a",i({href:t,target:"_blank"},n)):l.default.createElement("a",i({href:t},n))};t.default=s},function(e,t,n){function r(e,t,n){return e=l(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n(15),i=n(16),a=n(27),l=n(31);e.exports=r},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(l(e))return s?s.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var o=n(17),i=n(20),a=n(21),l=n(22),u=1/0,c=o?o.prototype:void 0,s=c?c.toString:void 0;e.exports=r},function(e,t,n){var r=n(18),o=r.Symbol;e.exports=o},function(e,t,n){var r=n(19),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(23),i=n(26),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?u:l:c&&c in Object(e)?i(e):a(e)}var o=n(17),i=n(24),a=n(25),l="[object Null]",u="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=l.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(17),i=Object.prototype,a=i.hasOwnProperty,l=i.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(28);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if(e=o(e),e===i||e===-i){var t=e<0?-1:1;return t*a}return e===e?e:0}var o=n(29),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=c.test(e);return n||s.test(e)?f(e.slice(2),n?2:8):u.test(e)?a:+e}var o=n(30),i=n(22),a=NaN,l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(16);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.className,n=void 0===t?"":t;return i.default.createElement("div",{className:"container "+n},e.children)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(34),l=r(a);t.default=function(){return i.default.createElement("img",{className:"logo",src:l.default})}},function(e,t,n){e.exports=n.p+"44c8aeaa24cb28d0a5c6a45de449fd7d.svg"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),s=n(13),f=r(s),p={},d={},h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n._handleBodyClick=n._handleBodyClick.bind(n),n}return a(t,e),l(t,[{key:"render",value:function(){var e=this;return c.default.createElement("nav",{className:"sidebar-mobile",ref:function(t){return e.container=t},onTouchStart:this._handleTouchStart.bind(this),onTouchMove:this._handleTouchMove.bind(this),onTouchEnd:this._handleTouchEnd.bind(this)},c.default.createElement("div",{className:"sidebar-mobile__toggle",onTouchStart:this._handleTouchStart.bind(this),onTouchMove:this._handleOpenerTouchMove.bind(this),onTouchEnd:this._handleTouchEnd.bind(this)}),c.default.createElement("div",{className:"sidebar-mobile__content"},c.default.createElement("i",{className:"sidebar-mobile__close icon-cross",onClick:this._close.bind(this)}),this._getSections()))}},{key:"componentDidMount",value:function(){"undefined"!=typeof window&&(window.addEventListener("click",this._handleBodyClick),window.addEventListener("touchstart",this._handleBodyClick))}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&(window.removeEventListener("click",this._handleBodyClick),window.removeEventListener("touchstart",this._handleBodyClick))}},{key:"_getSections",value:function(){var e=this,t="";return"undefined"!=typeof window&&(t=window.location.pathname),this.props.sections.map(function(n){var r=t===n.url||t.includes("/"+n.url),o="/"+n.url;return c.default.createElement("div",{className:"sidebar-mobile__section "+(r?"sidebar-mobile__section--active":""),key:o},c.default.createElement(f.default,{className:"sidebar-mobile__section-header",key:o,to:o,onClick:e._close.bind(e)},c.default.createElement("h3",null,n.title)),e._getPages(n.pages))})}},{key:"_getPages",value:function(e){var t=this,n="";return"undefined"!=typeof window&&(n=window.location.pathname),e.map(function(e){var r="/"+e.url,o=n===r||n.includes(r+"/");return c.default.createElement(f.default,{key:r,className:"sidebar-mobile__page "+(o?"sidebar-mobile__page--active":""),to:r,onClick:t._close.bind(t)},e.title)})}},{key:"_handleBodyClick",value:function(e){e.target.classList.contains("icon-menu")||this.container.contains(e.target)||this._close()}},{key:"_close",value:function(){this.container.classList.remove("sidebar-mobile--visible")}},{key:"_open",value:function(){this.container.classList.add("sidebar-mobile--visible")}},{key:"_handleTouchStart",value:function(e){p.x=e.touches[0].pageX,p.y=e.touches[0].pageY,this.container.classList.add("no-delay")}},{key:"_handleTouchMove",value:function(e){var t=p.x-e.touches[0].pageX,n=p.y-e.touches[0].pageY,r=Math.abs(n/t);t>0&&r<.8&&(e.preventDefault(),this.container.style.transform="translateX(-"+t+"px)",d.x=e.touches[0].pageX,d.y=e.touches[0].pageY)}},{key:"_handleOpenerTouchMove",value:function(e){var t=e.touches[0].pageX-p.x,n=p.y-e.touches[0].pageY,r=Math.abs(n/t);t>0&&t<295&&r<.8&&(e.preventDefault(),this.container.style.transform="translateX(calc(-100% + "+t+"px))",d.x=e.touches[0].pageX,d.y=e.touches[0].pageY)}},{key:"_handleTouchEnd",value:function(e){this.container.classList.remove("no-delay"),this.container.style.transform="",p.x-d.x>100?this._close():d.x-p.x>100&&this._open()}}]),t}(c.default.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(37),l=r(a);t.default=function(e){var t=e.sectionName,n=e.pages,r=e.currentPage;return i.default.createElement("nav",{className:"sidebar"},i.default.createElement("div",{className:"sidebar__inner"},i.default.createElement("h3",{className:"sidebar-item__version"},"Version 4.1.x"),i.default.createElement(l.default,{url:"/"+t,title:"Introduction",currentPage:r}),n.map(function(e,t){var n=e.url,o=e.title,a=e.anchors;return i.default.createElement(l.default,{key:"sidebar-item-"+t,index:t,url:"/"+n,title:o,anchors:a,currentPage:r})})))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),s=n(13),f=r(s),p=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={open:!1},n}return a(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.index,n=e.url,r=e.title,o=e.anchors,i=void 0===o?[]:o,a=e.currentPage,l=i.length?"":"sidebar-item--empty",u="/"+a===n,s=u||this.state.open?"sidebar-item--open":"",p=u?"#":n+"#";return c.default.createElement("div",{className:"sidebar-item "+l+" "+s},c.default.createElement(f.default,{className:"sidebar-item__title",to:n},r),c.default.createElement("i",{className:"sidebar-item__toggle icon-chevron-down",onClick:this.toggle.bind(this)}),c.default.createElement("ul",{className:"sidebar-item__anchors"},i.map(function(e,n){return c.default.createElement("li",{className:"sidebar-item__anchor",key:"anchor-"+t+"-"+n},c.default.createElement("a",{href:p+e.id},e.title))})))}},{key:"toggle",value:function(e){this.setState({open:!this.state.open})}}]),t}(c.default.Component);t.default=p}])});