-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-c95ab80c048b49b10fc2.js
2 lines (2 loc) · 26.9 KB
/
app-c95ab80c048b49b10fc2.js
1
2
webpackJsonp([0xd2a57dc1d883],{74:function(n,e,o){"use strict";function t(n,e,o){var t=r.map(function(o){if(o.plugin[n]){var t=o.plugin[n](e,o.options);return t}});return t=t.filter(function(n){return"undefined"!=typeof n}),t.length>0?t:o?[o]:[]}function u(n,e,o){return r.reduce(function(o,t){return t.plugin[n]?o.then(function(){return t.plugin[n](e,t.options)}):o},Promise.resolve())}e.__esModule=!0,e.apiRunner=t,e.apiRunnerAsync=u;var r=[{plugin:o(377),options:{plugins:[],trackingId:"46025715",webvisor:!0,trackHash:!0}}]},212:function(n,e,o){"use strict";e.components={"component---src-templates-usluga-template-js":o(354),"component---src-pages-404-js":o(350),"component---src-pages-en-index-js":o(351),"component---src-pages-index-js":o(352),"component---src-pages-modules-js":o(353)},e.json={"layout-index.json":o(355),"modules-integrations-9.json":o(370),"modules-core-7.json":o(364),"modules-integrations-10.json":o(366),"modules-integrations-11.json":o(367),"modules-core-8.json":o(365),"modules-integrations-6.json":o(369),"modules-integrations-5.json":o(368),"modules-integrations-smev-4.json":o(371),"uslugi-gradoustroistvo-11.json":o(375),"uslugi-gradoustroistvo-2.json":o(376),"modules-blagoustroistvo-3.json":o(363),"modules-blagoustroistvo-2.json":o(362),"modules-blagoustroistvo-1.json":o(361),"uslugi-blagoustroistvo-2.json":o(373),"uslugi-blagoustroistvo-3.json":o(374),"uslugi-blagoustroistvo-1.json":o(372),"404.json":o(356),"en.json":o(358),"index.json":o(359),"modules.json":o(360),"404-html.json":o(357)},e.layouts={"layout---index":o(349)}},213:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}function u(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function r(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?n:e}function a(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(n[t]=o[t])}return n},i=o(1),l=t(i),c=o(8),f=t(c),p=o(145),d=t(p),m=o(53),g=t(m),h=o(74),y=o(516),v=t(y),j=function(n){var e=n.children;return l.default.createElement("div",null,e())},x=function(n){function e(o){u(this,e);var t=r(this,n.call(this)),a=o.location;return d.default.getPage(a.pathname)||(a=s({},a,{pathname:"/404.html"})),t.state={location:a,pageResources:d.default.getResourcesForPathname(a.pathname)},t}return a(e,n),e.prototype.componentWillReceiveProps=function(n){var e=this;if(this.state.location.pathname!==n.location.pathname){var o=d.default.getResourcesForPathname(n.location.pathname);if(o)this.setState({location:n.location,pageResources:o});else{var t=n.location;d.default.getPage(t.pathname)||(t=s({},t,{pathname:"/404.html"})),d.default.getResourcesForPathname(t.pathname,function(n){e.setState({location:t,pageResources:n})})}}},e.prototype.componentDidMount=function(){var n=this;g.default.on("onPostLoadPageResources",function(e){d.default.getPage(n.state.location.pathname)&&e.page.path===d.default.getPage(n.state.location.pathname).path&&n.setState({pageResources:e.pageResources})})},e.prototype.shouldComponentUpdate=function(n,e){return!e.pageResources||(!(this.state.pageResources||!e.pageResources)||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||(0,v.default)(this,n,e)))))},e.prototype.render=function(){var n=(0,h.apiRunner)("replaceComponentRenderer",{props:s({},this.props,{pageResources:this.state.pageResources}),loader:p.publicLoader}),e=n[0];return this.props.page?this.state.pageResources?e||(0,i.createElement)(this.state.pageResources.component,s({key:this.props.location.pathname},this.props,this.state.pageResources.json)):null:this.props.layout?e||(0,i.createElement)(this.state.pageResources&&this.state.pageResources.layout?this.state.pageResources.layout:j,s({key:this.state.pageResources&&this.state.pageResources.layout?this.state.pageResources.layout:"DefaultLayout"},this.props)):null},e}(l.default.Component);x.propTypes={page:f.default.bool,layout:f.default.bool,location:f.default.object},e.default=x,n.exports=e.default},53:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}var u=o(410),r=t(u),a=(0,r.default)();n.exports=a},214:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}var u=o(71),r=o(146),a=t(r),s={};n.exports=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(o){var t=decodeURIComponent(o),r=(0,a.default)(t,e);if(r.split("#").length>1&&(r=r.split("#").slice(0,-1).join("")),r.split("?").length>1&&(r=r.split("?").slice(0,-1).join("")),s[r])return s[r];var i=void 0;return n.some(function(n){if(n.matchPath){if((0,u.matchPath)(r,{path:n.path})||(0,u.matchPath)(r,{path:n.matchPath}))return i=n,s[r]=n,!0}else{if((0,u.matchPath)(r,{path:n.path,exact:!0}))return i=n,s[r]=n,!0;if((0,u.matchPath)(r,{path:n.path+"index.html"}))return i=n,s[r]=n,!0}return!1}),i}}},215:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}var u=o(383),r=t(u),a=o(74),s=(0,a.apiRunner)("replaceHistory"),i=s[0],l=i||(0,r.default)();n.exports=l},357:function(n,e,o){o(5),n.exports=function(n){return o.e(0xa2868bfb69fc,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(387)})})}},356:function(n,e,o){o(5),n.exports=function(n){return o.e(0xe70826b53c04,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(388)})})}},358:function(n,e,o){o(5),n.exports=function(n){return o.e(0xe6dec63aeb7a,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(389)})})}},359:function(n,e,o){o(5),n.exports=function(n){return o.e(0x81b8806e4260,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(390)})})}},355:function(n,e,o){o(5),n.exports=function(n){return o.e(60335399758886,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(105)})})}},361:function(n,e,o){o(5),n.exports=function(n){return o.e(22516654348865,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(391)})})}},362:function(n,e,o){o(5),n.exports=function(n){return o.e(0xd5000c4066fd,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(392)})})}},363:function(n,e,o){o(5),n.exports=function(n){return o.e(0xd86265e9450a,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(393)})})}},364:function(n,e,o){o(5),n.exports=function(n){return o.e(0x8cf7b1b63e16,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(394)})})}},365:function(n,e,o){o(5),n.exports=function(n){return o.e(41472708559843,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(395)})})}},366:function(n,e,o){o(5),n.exports=function(n){return o.e(42841765559406,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(396)})})}},367:function(n,e,o){o(5),n.exports=function(n){return o.e(96004828562737,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(397)})})}},368:function(n,e,o){o(5),n.exports=function(n){return o.e(9006925421735,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(398)})})}},369:function(n,e,o){o(5),n.exports=function(n){return o.e(0xd1d8c5d22186,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(399)})})}},370:function(n,e,o){o(5),n.exports=function(n){return o.e(0xca16ce7c7601,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(400)})})}},371:function(n,e,o){o(5),n.exports=function(n){return o.e(98629662040826,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(401)})})}},360:function(n,e,o){o(5),n.exports=function(n){return o.e(0x9a4f798583ba,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(402)})})}},372:function(n,e,o){o(5),n.exports=function(n){return o.e(0xfca7f2dca0a6,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(403)})})}},373:function(n,e,o){o(5),n.exports=function(n){return o.e(0xb4df5481a4fd,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(404)})})}},374:function(n,e,o){o(5),n.exports=function(n){return o.e(68711838807151,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(405)})})}},375:function(n,e,o){o(5),n.exports=function(n){return o.e(2818471931670,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(406)})})}},376:function(n,e,o){o(5),n.exports=function(n){return o.e(0xec0942ff462,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(407)})})}},349:function(n,e,o){o(5),n.exports=function(n){return o.e(0x67ef26645b2a,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(216)})})}},145:function(n,e,o){(function(n){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}e.__esModule=!0,e.publicLoader=void 0;var u=o(1),r=(t(u),o(214)),a=t(r),s=o(53),i=t(s),l=o(146),c=t(l),f=void 0,p={},d={},m={},g={},h={},y=[],v=[],j={},x="",R=[],C={},b=function(n){return n&&n.default||n},N=void 0,w=!0,_=[],k={},P={},E=5;N=o(217)({getNextQueuedResources:function(){return R.slice(-1)[0]},createResourceDownload:function(n){T(n,function(){R=R.filter(function(e){return e!==n}),N.onResourcedFinished(n)})}}),i.default.on("onPreLoadPageResources",function(n){N.onPreLoadPageResources(n)}),i.default.on("onPostLoadPageResources",function(n){N.onPostLoadPageResources(n)});var O=function(n,e){return C[n]>C[e]?1:C[n]<C[e]?-1:0},L=function(n,e){return j[n]>j[e]?1:j[n]<j[e]?-1:0},T=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if(g[e])n.nextTick(function(){o(null,g[e])});else{var t=void 0;t="component---"===e.slice(0,12)?d.components[e]:"layout---"===e.slice(0,9)?d.layouts[e]:d.json[e],t(function(n,t){g[e]=t,_.push({resource:e,succeeded:!n}),P[e]||(P[e]=n),_=_.slice(-E),o(n,t)})}},S=function(e,o){h[e]?n.nextTick(function(){o(null,h[e])}):P[e]?n.nextTick(function(){o(P[e])}):T(e,function(n,t){if(n)o(n);else{var u=b(t());h[e]=u,o(n,u)}})},A=function(){var n=navigator.onLine;if("boolean"==typeof n)return n;var e=_.find(function(n){return n.succeeded});return!!e},D=function(n,e){console.log(e),k[n]||(k[n]=e),A()&&window.location.pathname.replace(/\/$/g,"")!==n.replace(/\/$/g,"")&&(window.location.pathname=n)},M=1,U={empty:function(){v=[],j={},C={},R=[],y=[],x=""},addPagesArray:function(n){y=n,f=(0,a.default)(n,x)},addDevRequires:function(n){p=n},addProdRequires:function(n){d=n},dequeue:function(){return v.pop()},enqueue:function(n){var e=(0,c.default)(n,x);if(!y.some(function(n){return n.path===e}))return!1;var o=1/M;M+=1,j[e]?j[e]+=1:j[e]=1,U.has(e)||v.unshift(e),v.sort(L);var t=f(e);return t.jsonName&&(C[t.jsonName]?C[t.jsonName]+=1+o:C[t.jsonName]=1+o,R.indexOf(t.jsonName)!==-1||g[t.jsonName]||R.unshift(t.jsonName)),t.componentChunkName&&(C[t.componentChunkName]?C[t.componentChunkName]+=1+o:C[t.componentChunkName]=1+o,R.indexOf(t.componentChunkName)!==-1||g[t.jsonName]||R.unshift(t.componentChunkName)),R.sort(O),N.onNewResourcesAdded(),!0},getResources:function(){return{resourcesArray:R,resourcesCount:C}},getPages:function(){return{pathArray:v,pathCount:j}},getPage:function(n){return f(n)},has:function(n){return v.some(function(e){return e===n})},getResourcesForPathname:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};w&&navigator&&navigator.serviceWorker&&navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&(f(e)||navigator.serviceWorker.getRegistrations().then(function(n){if(n.length){for(var e=n,o=Array.isArray(e),t=0,e=o?e:e[Symbol.iterator]();;){var u;if(o){if(t>=e.length)break;u=e[t++]}else{if(t=e.next(),t.done)break;u=t.value}var r=u;r.unregister()}window.location.reload()}})),w=!1;if(k[e])return D(e,'Previously detected load failure for "'+e+'"'),o();var t=f(e);if(!t)return D(e,"A page wasn't found for \""+e+'"'),o();if(e=t.path,m[e])return n.nextTick(function(){o(m[e]),i.default.emit("onPostLoadPageResources",{page:t,pageResources:m[e]})}),m[e];i.default.emit("onPreLoadPageResources",{path:e});var u=void 0,r=void 0,a=void 0,s=function(){if(u&&r&&(!t.layoutComponentChunkName||a)){m[e]={component:u,json:r,layout:a,page:t};var n={component:u,json:r,layout:a,page:t};o(n),i.default.emit("onPostLoadPageResources",{page:t,pageResources:n})}};return S(t.componentChunkName,function(n,e){n&&D(t.path,"Loading the component for "+t.path+" failed"),u=e,s()}),S(t.jsonName,function(n,e){n&&D(t.path,"Loading the JSON for "+t.path+" failed"),r=e,s()}),void(t.layoutComponentChunkName&&S(t.layout,function(n,e){n&&D(t.path,"Loading the Layout for "+t.path+" failed"),a=e,s()}))},peek:function(n){return v.slice(-1)[0]},length:function(){return v.length},indexOf:function(n){return v.length-v.indexOf(n)-1}};e.publicLoader={getResourcesForPathname:U.getResourcesForPathname};e.default=U}).call(e,o(114))},408:function(n,e){n.exports=[{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-9.json",path:"/modules/integrations/9"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-core-7.json",path:"/modules/core/7"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-10.json",path:"/modules/integrations/10"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-11.json",path:"/modules/integrations/11"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-core-8.json",path:"/modules/core/8"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-6.json",path:"/modules/integrations/6"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-5.json",path:"/modules/integrations/5"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-integrations-smev-4.json",path:"/modules/integrations/smev/4"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"uslugi-gradoustroistvo-11.json",path:"/uslugi/gradoustroistvo/11"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"uslugi-gradoustroistvo-2.json",path:"/uslugi/gradoustroistvo/2"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-blagoustroistvo-3.json",path:"/modules/blagoustroistvo/3"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-blagoustroistvo-2.json",path:"/modules/blagoustroistvo/2"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules-blagoustroistvo-1.json",path:"/modules/blagoustroistvo/1"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"uslugi-blagoustroistvo-2.json",path:"/uslugi/blagoustroistvo/2"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"uslugi-blagoustroistvo-3.json",path:"/uslugi/blagoustroistvo/3"},{componentChunkName:"component---src-templates-usluga-template-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"uslugi-blagoustroistvo-1.json",path:"/uslugi/blagoustroistvo/1"},{componentChunkName:"component---src-pages-404-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"404.json",path:"/404/"},{componentChunkName:"component---src-pages-en-index-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"en.json",path:"/en/"},{componentChunkName:"component---src-pages-index-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"index.json",path:"/"},{componentChunkName:"component---src-pages-modules-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"modules.json",path:"/modules/"},{componentChunkName:"component---src-pages-404-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"404-html.json",path:"/404.html"}]},217:function(n,e){"use strict";n.exports=function(n){var e=n.getNextQueuedResources,o=n.createResourceDownload,t=[],u=[],r=function(){var n=e();n&&(u.push(n),o(n))},a=function(n){switch(n.type){case"RESOURCE_FINISHED":u=u.filter(function(e){return e!==n.payload});break;case"ON_PRE_LOAD_PAGE_RESOURCES":t.push(n.payload.path);break;case"ON_POST_LOAD_PAGE_RESOURCES":t=t.filter(function(e){return e!==n.payload.page.path});break;case"ON_NEW_RESOURCES_ADDED":}setTimeout(function(){0===u.length&&0===t.length&&r()},0)};return{onResourcedFinished:function(n){a({type:"RESOURCE_FINISHED",payload:n})},onPreLoadPageResources:function(n){a({type:"ON_PRE_LOAD_PAGE_RESOURCES",payload:n})},onPostLoadPageResources:function(n){a({type:"ON_POST_LOAD_PAGE_RESOURCES",payload:n})},onNewResourcesAdded:function(){a({type:"ON_NEW_RESOURCES_ADDED"})},getState:function(){return{pagesLoading:t,resourcesDownloading:u}},empty:function(){t=[],u=[]}}}},0:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}var u=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(n[t]=o[t])}return n},r=o(74),a=o(1),s=t(a),i=o(178),l=t(i),c=o(71),f=o(381),p=o(331),d=t(p),m=o(16),g=o(215),h=t(g),y=o(53),v=t(y),j=o(408),x=t(j),R=o(409),C=t(R),b=o(213),N=t(b),w=o(212),_=t(w),k=o(145),P=t(k);o(253),window.___history=h.default,window.___emitter=v.default,P.default.addPagesArray(x.default),P.default.addProdRequires(_.default),window.asyncRequires=_.default,window.___loader=P.default,window.matchPath=c.matchPath;var E=C.default.reduce(function(n,e){return n[e.fromPath]=e,n},{}),O=function(n){var e=E[n];return null!=e&&(h.default.replace(e.toPath),!0)};O(window.location.pathname),(0,r.apiRunnerAsync)("onClientEntry").then(function(){function n(n){window.___history&&i!==!1||(window.___history=n,i=!0,n.listen(function(n,e){O(n.pathname)||setTimeout(function(){(0,r.apiRunner)("onRouteUpdate",{location:n,action:e})},0)}))}function e(n,e){var o=e.location.pathname,t=(0,r.apiRunner)("shouldUpdateScroll",{prevRouterProps:n,pathname:o});if(t.length>0)return t[0];if(n){var u=n.location.pathname;if(u===o)return!1}return!0}(0,r.apiRunner)("registerServiceWorker").length>0&&o(218);var t=function(n){function e(n){n.page.path===P.default.getPage(t).path&&(v.default.off("onPostLoadPageResources",e),clearTimeout(a),window.___history.push(o))}var o=(0,m.createLocation)(n,null,null,h.default.location),t=o.pathname,u=E[t];u&&(t=u.toPath);var r=window.location;if(r.pathname!==o.pathname||r.search!==o.search||r.hash!==o.hash){var a=setTimeout(function(){v.default.off("onPostLoadPageResources",e),v.default.emit("onDelayedLoadPageResources",{pathname:t}),window.___history.push(o)},1e3);P.default.getResourcesForPathname(t)?(clearTimeout(a),window.___history.push(o)):v.default.on("onPostLoadPageResources",e)}};window.___navigateTo=t,(0,r.apiRunner)("onRouteUpdate",{location:h.default.location,action:h.default.action});var i=!1,p=(0,r.apiRunner)("replaceRouterComponent",{history:h.default})[0],g=function(n){var e=n.children;return s.default.createElement(c.Router,{history:h.default},e)},y=(0,c.withRouter)(N.default);P.default.getResourcesForPathname(window.location.pathname,function(){var o=function(){return(0,a.createElement)(p?p:g,null,(0,a.createElement)(f.ScrollContext,{shouldUpdateScroll:e},(0,a.createElement)(y,{layout:!0,children:function(e){return(0,a.createElement)(c.Route,{render:function(o){n(o.history);var t=e?e:o;return P.default.getPage(t.location.pathname)?(0,a.createElement)(N.default,u({page:!0},t)):(0,a.createElement)(N.default,{page:!0,location:{pathname:"/404.html"}})}})}})))},t=(0,r.apiRunner)("wrapRootComponent",{Root:o},o)[0];(0,d.default)(function(){return l.default.render(s.default.createElement(t,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,function(){(0,r.apiRunner)("onInitialClientRender")})})})})},409:function(n,e){n.exports=[]},218:function(n,e,o){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}var u=o(53),r=t(u),a="/";"serviceWorker"in navigator&&navigator.serviceWorker.register(a+"sw.js").then(function(n){n.addEventListener("updatefound",function(){var e=n.installing;console.log("installingWorker",e),e.addEventListener("statechange",function(){switch(e.state){case"installed":navigator.serviceWorker.controller?window.location.reload():(console.log("Content is now available offline!"),r.default.emit("sw:installed"));break;case"redundant":console.error("The installing service worker became redundant.")}})})}).catch(function(n){console.error("Error during service worker registration:",n)})},146:function(n,e){"use strict";e.__esModule=!0,e.default=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.substr(0,e.length)===e?n.slice(e.length):n},n.exports=e.default},41:function(n,e){function o(n){return n&&n.__esModule?n:{default:n}}n.exports=o},331:function(n,e,o){!function(e,o){n.exports=o()}("domready",function(){var n,e=[],o=document,t=o.documentElement.doScroll,u="DOMContentLoaded",r=(t?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState);return r||o.addEventListener(u,n=function(){for(o.removeEventListener(u,n),r=1;n=e.shift();)n()}),function(n){r?setTimeout(n,0):e.push(n)}})},5:function(n,e,o){"use strict";function t(){function n(n){var e=t.lastChild;return"SCRIPT"!==e.tagName?void("undefined"!=typeof console&&console.warn&&console.warn("Script is not a script",e)):void(e.onload=e.onerror=function(){e.onload=e.onerror=null,setTimeout(n,0)})}var e,t=document.querySelector("head"),u=o.e,r=o.s;o.e=function(t,a){var s=!1,i=!0,l=function(n){a&&(a(o,n),a=null)};return!r&&e&&e[t]?void l(!0):(u(t,function(){s||(s=!0,i?setTimeout(function(){l()}):l())}),void(s||(i=!1,n(function(){s||(s=!0,r?r[t]=void 0:(e||(e={}),e[t]=!0),l(!0))}))))}}t()},377:function(n,e,o){"use strict";e.onRouteUpdate=function(n){var e=n.location;"undefined"!=typeof window.yaCounter&&"function"==typeof window.yaCounter.hit&&window.yaCounter.hit((e||{}).pathname)}},410:function(n,e){function o(n){return n=n||Object.create(null),{on:function(e,o){(n[e]||(n[e]=[])).push(o)},off:function(e,o){n[e]&&n[e].splice(n[e].indexOf(o)>>>0,1)},emit:function(e,o){(n[e]||[]).slice().map(function(n){n(o)}),(n["*"]||[]).slice().map(function(n){n(e,o)})}}}n.exports=o},114:function(n,e){function o(){throw new Error("setTimeout has not been defined")}function t(){throw new Error("clearTimeout has not been defined")}function u(n){if(c===setTimeout)return setTimeout(n,0);if((c===o||!c)&&setTimeout)return c=setTimeout,setTimeout(n,0);try{return c(n,0)}catch(e){try{return c.call(null,n,0)}catch(e){return c.call(this,n,0)}}}function r(n){if(f===clearTimeout)return clearTimeout(n);if((f===t||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(e){try{return f.call(null,n)}catch(e){return f.call(this,n)}}}function a(){g&&d&&(g=!1,d.length?m=d.concat(m):h=-1,m.length&&s())}function s(){if(!g){var n=u(a);g=!0;for(var e=m.length;e;){for(d=m,m=[];++h<e;)d&&d[h].run();h=-1,e=m.length}d=null,g=!1,r(n)}}function i(n,e){this.fun=n,this.array=e}function l(){}var c,f,p=n.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:o}catch(n){c=o}try{f="function"==typeof clearTimeout?clearTimeout:t}catch(n){f=t}}();var d,m=[],g=!1,h=-1;p.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];m.push(new i(n,e)),1!==m.length||g||u(s)},i.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=l,p.addListener=l,p.once=l,p.off=l,p.removeListener=l,p.removeAllListeners=l,p.emit=l,p.prependListener=l,p.prependOnceListener=l,p.listeners=function(n){return[]},p.binding=function(n){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(n){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},516:function(n,e){"use strict";function o(n,e){for(var o in n)if(!(o in e))return!0;for(var t in e)if(n[t]!==e[t])return!0;return!1}e.__esModule=!0,e.default=function(n,e,t){return o(n.props,e)||o(n.state,t)},n.exports=e.default},350:function(n,e,o){o(5),n.exports=function(n){return o.e(0x9427c64ab85d,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(239)})})}},351:function(n,e,o){o(5),n.exports=function(n){return o.e(1135276415346,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(240)})})}},352:function(n,e,o){o(5),n.exports=function(n){return o.e(35783957827783,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(241)})})}},353:function(n,e,o){o(5),n.exports=function(n){return o.e(48555284016869,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(242)})})}},354:function(n,e,o){o(5),n.exports=function(n){return o.e(0xb68d74327ab0,function(e,t){t?(console.log("bundle loading error",t),n(!0)):n(null,function(){return o(243)})})}}});
//# sourceMappingURL=app-c95ab80c048b49b10fc2.js.map