-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.6e058038.js
2 lines (2 loc) · 47.2 KB
/
common.6e058038.js
1
2
/*! For license information please see common.6e058038.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{159:function(e,t,n){"use strict";var r=n(0),a=n(63);t.a=function(){return Object(r.useContext)(a.a)}},160:function(e,t,n){"use strict";n(170),n(167),n(195);var r=n(0),a=n.n(r),o=n(38),i=n(165),c=n(56),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};t.a=function(e){var t,n=e.isNavLink,s=u(e,["isNavLink"]),l=s.to,f=s.href,d=l||f,p=Object(i.a)(d),h=Object(r.useRef)(!1),m=n?o.c:o.b,b=c.a.canUseIntersectionObserver;return Object(r.useEffect)((function(){return!b&&p&&window.docusaurus.prefetch(d),function(){b&&t&&t.disconnect()}}),[d,b,p]),d&&p&&!d.startsWith("#")?a.a.createElement(m,Object.assign({},s,{onMouseEnter:function(){h.current||(window.docusaurus.preload(d),h.current=!0)},innerRef:function(e){var n,r;b&&e&&p&&(n=e,r=function(){window.docusaurus.prefetch(d)},(t=new window.IntersectionObserver((function(e){e.forEach((function(e){n===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(t.unobserve(n),t.disconnect(),r())}))}))).observe(n))},to:d})):a.a.createElement("a",Object.assign({href:d},!p&&{target:"_blank",rel:"noopener noreferrer"},s))}},161:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},162:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return h}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=a.a.createContext({}),l=function(e){var t=a.a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},f=function(e){var t=l(e.components);return a.a.createElement(s.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},p=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,i=e.parentName,s=u(e,["components","mdxType","originalType","parentName"]),f=l(n),p=r,h=f["".concat(i,".").concat(p)]||f[p]||d[p]||o;return n?a.a.createElement(h,c(c({ref:t},s),{},{components:n})):a.a.createElement(h,c({ref:t},s))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=p;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var s=2;s<o;s++)i[s]=n[s];return a.a.createElement.apply(null,i)}return a.a.createElement.apply(null,n)}p.displayName="MDXCreateElement"},163:function(e,t,n){"use strict";var r=n(0),a=n.n(r),o=n(169),i=n(165),c=n(159),u=n(164),s="",l="dark",f=function(){var e=Object(c.a)().siteConfig,t=(e=void 0===e?{}:e).themeConfig.disableDarkMode,n=Object(r.useState)("undefined"!=typeof document?document.documentElement.getAttribute("data-theme"):s),a=n[0],o=n[1],i=Object(r.useCallback)((function(e){try{localStorage.setItem("theme",e)}catch(t){console.error(t)}}),[o]),u=Object(r.useCallback)((function(){o(s),i(s)}),[]),f=Object(r.useCallback)((function(){o(l),i(l)}),[]);return Object(r.useEffect)((function(){document.documentElement.setAttribute("data-theme",a)}),[a]),Object(r.useEffect)((function(){if(!t)try{var e=localStorage.getItem("theme");null!==e&&o(e)}catch(n){console.error(n)}}),[o]),Object(r.useEffect)((function(){t||window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){var t=e.matches;o(t?l:s)}))}),[]),{isDarkTheme:a===l,setLightTheme:u,setDarkTheme:f}},d=n(178);var p=function(e){var t=f(),n=t.isDarkTheme,r=t.setLightTheme,o=t.setDarkTheme;return a.a.createElement(d.a.Provider,{value:{isDarkTheme:n,setLightTheme:r,setDarkTheme:o}},e.children)},h=(n(170),n(167),function(){var e=Object(r.useState)({}),t=e[0],n=e[1],a=Object(r.useCallback)((function(e,t){try{localStorage.setItem("docusaurus.tab."+e,t)}catch(n){console.error(n)}}),[]);return Object(r.useEffect)((function(){try{for(var e={},t=0;t<localStorage.length;t+=1){var r=localStorage.key(t);if(r.startsWith("docusaurus.tab."))e[r.substring("docusaurus.tab.".length)]=localStorage.getItem(r)}n(e)}catch(a){console.error(a)}}),[]),{tabGroupChoices:t,setTabGroupChoices:function(e,t){n((function(n){var r;return Object.assign({},n,((r={})[e]=t,r))})),a(e,t)}}}),m=Object(r.createContext)({tabGroupChoices:{},setTabGroupChoices:function(){}});var b=function(e){var t=h(),n=t.tabGroupChoices,r=t.setTabGroupChoices;return a.a.createElement(m.Provider,{value:{tabGroupChoices:n,setTabGroupChoices:r}},e.children)},v=n(179),y=function(){var e=Object(c.a)().siteConfig,t=(e=void 0===e?{}:e).themeConfig.announcementBar,n=(t=void 0===t?{}:t).id,a=Object(r.useState)(!0),o=a[0],i=a[1];return Object(r.useEffect)((function(){if(n){var e=localStorage.getItem("docusaurus.announcement.id"),t=n!==e;localStorage.setItem("docusaurus.announcement.id",n),t&&localStorage.setItem("docusaurus.announcement.dismiss",!1),(t||"false"===localStorage.getItem("docusaurus.announcement.dismiss"))&&i(!1)}}),[]),{isAnnouncementBarClosed:o,closeAnnouncementBar:function(){localStorage.setItem("docusaurus.announcement.dismiss",!0),i(!0)}}};var g=function(e){var t=y(),n=t.isAnnouncementBarClosed,r=t.closeAnnouncementBar;return a.a.createElement(v.a.Provider,{value:{isAnnouncementBarClosed:n,closeAnnouncementBar:r}},e.children)},O=n(180),E=n(129),w=n.n(E);var k=function(){var e=Object(c.a)().siteConfig,t=(e=void 0===e?{}:e).themeConfig.announcementBar,n=void 0===t?{}:t,r=n.content,o=n.backgroundColor,i=n.textColor,u=Object(O.a)(),s=u.isAnnouncementBarClosed,l=u.closeAnnouncementBar;return!r||s?null:a.a.createElement("div",{className:w.a.announcementBar,style:{backgroundColor:o,color:i},role:"banner"},a.a.createElement("div",{className:w.a.announcementBarContent,dangerouslySetInnerHTML:{__html:r}}),a.a.createElement("button",{type:"button",className:w.a.announcementBarClose,onClick:l,"aria-label":"Close"},a.a.createElement("span",{"aria-hidden":"true"},"\xd7")))},j=n(2),T=(n(181),n(9)),C=n(161),S=n.n(C),_=n(160),N=function(){return null},A=n(200),P=n.n(A),x=n(130),L=n.n(x),I=function(){return a.a.createElement("span",{className:S()(L.a.toggle,L.a.moon)})},M=function(){return a.a.createElement("span",{className:S()(L.a.toggle,L.a.sun)})},B=function(e){var t=Object(c.a)().isClient;return a.a.createElement(P.a,Object(j.a)({disabled:!t,icons:{checked:a.a.createElement(I,null),unchecked:a.a.createElement(M,null)}},e))},D=n(173),R=n(185);var F=function(e){var t=Object(r.useState)(e),n=t[0],a=t[1];return Object(r.useEffect)((function(){var e=function(){return a(window.location.hash)};return window.addEventListener("hashchange",e),function(){return window.removeEventListener("hashchange",e)}}),[]),[n,a]},H=n(186),U=function(e){var t=Object(r.useState)(!0),n=t[0],a=t[1],o=Object(r.useState)(!1),i=o[0],c=o[1],u=Object(r.useState)(0),s=u[0],l=u[1],f=Object(r.useState)(0),d=f[0],p=f[1],h=Object(r.useCallback)((function(e){null!==e&&p(e.getBoundingClientRect().height)}),[]),m=Object(R.b)(),b=F(m.hash),v=b[0],y=b[1];return Object(H.a)((function(t){var n=t.scrollY;if(e&&(0===n&&a(!0),!(n<d))){if(i)return c(!1),a(!1),void l(n);var r=document.documentElement.scrollHeight-d,o=window.innerHeight;s&&n>=s?a(!1):n+o<r&&a(!0),l(n)}}),[s,d]),Object(r.useEffect)((function(){e&&(a(!0),y(m.hash))}),[m]),Object(r.useEffect)((function(){e&&v&&c(!0)}),[v]),{navbarRef:h,isNavbarVisible:n}},Y=n(187),X=n(188),W=n(131),q=n.n(W);function K(e){var t=e.activeBasePath,n=e.activeBaseRegex,r=e.to,o=e.href,i=e.label,c=e.activeClassName,s=void 0===c?"navbar__link--active":c,l=e.prependBaseUrlToHref,f=Object(T.a)(e,["activeBasePath","activeBaseRegex","to","href","label","activeClassName","prependBaseUrlToHref"]),d=Object(u.a)(r),p=Object(u.a)(t),h=Object(u.a)(o,!0);return a.a.createElement(_.a,Object(j.a)({},o?{target:"_blank",rel:"noopener noreferrer",href:l?h:o}:Object.assign({isNavLink:!0,activeClassName:s,to:d},t||n?{isActive:function(e,t){return n?new RegExp(n).test(t.pathname):t.pathname.startsWith(p)}}:null),f),i)}function G(e){var t=e.items,n=e.position,r=e.className,o=Object(T.a)(e,["items","position","className"]),i=function(e,t){return void 0===t&&(t=!1),S()({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?a.a.createElement("div",{className:S()("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===n,"dropdown--right":"right"===n})},a.a.createElement(K,Object(j.a)({className:i(r)},o,{onClick:function(e){return e.preventDefault()},onKeyDown:function(e){"Enter"===e.key&&e.target.parentNode.classList.toggle("dropdown--show")}}),o.label),a.a.createElement("ul",{className:"dropdown__menu"},t.map((function(e,t){var n=e.className,r=Object(T.a)(e,["className"]);return a.a.createElement("li",{key:t},a.a.createElement(K,Object(j.a)({activeClassName:"dropdown__link--active",className:i(n,!0)},r)))})))):a.a.createElement(K,Object(j.a)({className:i(r)},o))}function z(e){var t=e.items,n=(e.position,e.className),r=Object(T.a)(e,["items","position","className"]),o=function(e,t){return void 0===t&&(t=!1),S()("menu__link",{"menu__link--sublist":t},e)};return t?a.a.createElement("li",{className:"menu__list-item"},a.a.createElement(K,Object(j.a)({className:o(n,!0)},r),r.label),a.a.createElement("ul",{className:"menu__list"},t.map((function(e,t){var n=e.className,i=Object(T.a)(e,["className"]);return a.a.createElement("li",{className:"menu__list-item",key:t},a.a.createElement(K,Object(j.a)({activeClassName:"menu__link--active",className:o(n)},i,{onClick:r.onClick})))})))):a.a.createElement("li",{className:"menu__list-item"},a.a.createElement(K,Object(j.a)({className:o(n)},r)))}var J=function(){var e,t,n=Object(c.a)(),o=n.siteConfig.themeConfig,i=o.navbar,u=(i=void 0===i?{}:i).title,s=i.links,l=void 0===s?[]:s,f=i.hideOnScroll,d=void 0!==f&&f,p=o.disableDarkMode,h=void 0!==p&&p,m=n.isClient,b=Object(r.useState)(!1),v=b[0],y=b[1],g=Object(r.useState)(!1),O=g[0],E=g[1],w=Object(D.a)(),k=w.isDarkTheme,T=w.setLightTheme,C=w.setDarkTheme,A=U(d),P=A.navbarRef,x=A.isNavbarVisible,L=Object(X.a)(),I=L.logoLink,M=L.logoLinkProps,R=L.logoImageUrl,F=L.logoAlt;Object(Y.a)(v);var H=Object(r.useCallback)((function(){y(!0)}),[y]),W=Object(r.useCallback)((function(){y(!1)}),[y]),K=Object(r.useCallback)((function(e){return e.target.checked?C():T()}),[T,C]);return a.a.createElement("nav",{ref:P,className:S()("navbar","navbar--light","navbar--fixed-top",(e={"navbar-sidebar--show":v},e[q.a.navbarHideable]=d,e[q.a.navbarHidden]=!x,e))},a.a.createElement("div",{className:"navbar__inner"},a.a.createElement("div",{className:"navbar__items"},null!=l&&0!==l.length&&a.a.createElement("div",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",role:"button",tabIndex:0,onClick:H,onKeyDown:H},a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",role:"img",focusable:"false"},a.a.createElement("title",null,"Menu"),a.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),a.a.createElement(_.a,Object(j.a)({className:"navbar__brand",to:I},M),null!=R&&a.a.createElement("img",{key:m,className:"navbar__logo",src:R,alt:F}),null!=u&&a.a.createElement("strong",{className:S()("navbar__title",(t={},t[q.a.hideLogoText]=O,t))},u)),l.filter((function(e){return"left"===e.position})).map((function(e,t){return a.a.createElement(G,Object(j.a)({},e,{key:t}))}))),a.a.createElement("div",{className:"navbar__items navbar__items--right"},l.filter((function(e){return"right"===e.position})).map((function(e,t){return a.a.createElement(G,Object(j.a)({},e,{key:t}))})),!h&&a.a.createElement(B,{className:q.a.displayOnlyInLargeViewport,"aria-label":"Dark mode toggle",checked:k,onChange:K}),a.a.createElement(N,{handleSearchBarToggle:E,isSearchBarExpanded:O}))),a.a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:W}),a.a.createElement("div",{className:"navbar-sidebar"},a.a.createElement("div",{className:"navbar-sidebar__brand"},a.a.createElement(_.a,Object(j.a)({className:"navbar__brand",onClick:W,to:I},M),null!=R&&a.a.createElement("img",{key:m,className:"navbar__logo",src:R,alt:F}),null!=u&&a.a.createElement("strong",{className:"navbar__title"},u)),!h&&v&&a.a.createElement(B,{"aria-label":"Dark mode toggle in sidebar",checked:k,onChange:K})),a.a.createElement("div",{className:"navbar-sidebar__items"},a.a.createElement("div",{className:"menu"},a.a.createElement("ul",{className:"menu__list"},l.map((function(e,t){return a.a.createElement(z,Object(j.a)({},e,{onClick:W,key:t}))})))))))},V=n(132),$=n.n(V);function Q(e){var t=e.to,n=e.href,r=e.label,o=e.prependBaseUrlToHref,i=Object(T.a)(e,["to","href","label","prependBaseUrlToHref"]),c=Object(u.a)(t),s=Object(u.a)(n,!0);return a.a.createElement(_.a,Object(j.a)({className:"footer__link-item"},n?{target:"_blank",rel:"noopener noreferrer",href:o?s:n}:{to:c},i),r)}var Z=function(e){var t=e.url,n=e.alt;return a.a.createElement("img",{className:"footer__logo",alt:n,src:t})};var ee=function(){var e=Object(c.a)().siteConfig,t=(void 0===e?{}:e).themeConfig,n=(void 0===t?{}:t).footer,r=n||{},o=r.copyright,i=r.links,s=void 0===i?[]:i,l=r.logo,f=void 0===l?{}:l,d=Object(u.a)(f.src);return n?a.a.createElement("footer",{className:S()("footer",{"footer--dark":"dark"===n.style})},a.a.createElement("div",{className:"container"},s&&s.length>0&&a.a.createElement("div",{className:"row footer__links"},s.map((function(e,t){return a.a.createElement("div",{key:t,className:"col footer__col"},null!=e.title?a.a.createElement("h4",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?a.a.createElement("ul",{className:"footer__items"},e.items.map((function(e,t){return e.html?a.a.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):a.a.createElement("li",{key:e.href||e.to,className:"footer__item"},a.a.createElement(Q,e))}))):null)}))),(f||o)&&a.a.createElement("div",{className:"text--center"},f&&f.src&&a.a.createElement("div",{className:"margin-bottom--sm"},f.href?a.a.createElement("a",{href:f.href,target:"_blank",rel:"noopener noreferrer",className:$.a.footerLogoLink},a.a.createElement(Z,{alt:f.alt,url:d})):a.a.createElement(Z,{alt:f.alt,url:d})),a.a.createElement("div",{dangerouslySetInnerHTML:{__html:o}})))):null};n(133);t.a=function(e){var t=Object(c.a)().siteConfig,n=void 0===t?{}:t,r=n.favicon,s=n.title,l=n.themeConfig.image,f=n.url,d=e.children,h=e.title,m=e.noFooter,v=e.description,y=e.image,O=e.keywords,E=e.permalink,w=e.version,j=h?h+" | "+s:s,T=y||l,C=f+Object(u.a)(T);Object(i.a)(T)||(C=T);var S=Object(u.a)(r);return a.a.createElement(p,null,a.a.createElement(b,null,a.a.createElement(g,null,a.a.createElement(o.a,null,a.a.createElement("html",{lang:"en"}),j&&a.a.createElement("title",null,j),j&&a.a.createElement("meta",{property:"og:title",content:j}),r&&a.a.createElement("link",{rel:"shortcut icon",href:S}),v&&a.a.createElement("meta",{name:"description",content:v}),v&&a.a.createElement("meta",{property:"og:description",content:v}),w&&a.a.createElement("meta",{name:"docsearch:version",content:w}),O&&O.length&&a.a.createElement("meta",{name:"keywords",content:O.join(",")}),T&&a.a.createElement("meta",{property:"og:image",content:C}),T&&a.a.createElement("meta",{property:"twitter:image",content:C}),T&&a.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+j}),E&&a.a.createElement("meta",{property:"og:url",content:f+E}),E&&a.a.createElement("link",{rel:"canonical",href:f+E}),a.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),a.a.createElement(k,null),a.a.createElement(J,null),a.a.createElement("div",{className:"main-wrapper"},d),!m&&a.a.createElement(ee,null))))}},164:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(167);var r=n(159);function a(e){var t=(Object(r.a)().siteConfig||{}).baseUrl,n=void 0===t?"/":t;if(!e)return e;return/^(https?:|\/\/)/.test(e)?e:e.startsWith("/")?n+e.slice(1):n+e}},165:function(e,t,n){"use strict";function r(e){return!1===/^(https?:|\/\/|mailto:|tel:)/.test(e)}n.d(t,"a",(function(){return r}))},167:function(e,t,n){"use strict";var r=n(17),a=n(35),o=n(176),i="".startsWith;r(r.P+r.F*n(177)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=a(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return i?i.call(t,r,n):t.slice(n,n+r.length)===r}})},169:function(e,t,n){"use strict";var r=n(0),a=n.n(r),o=n(189);t.a=function(e){return a.a.createElement(o.a,e)}},170:function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(192)})},171:function(e,t){t.f=Object.getOwnPropertySymbols},172:function(e,t,n){var r=n(82),a=n(55).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},173:function(e,t,n){"use strict";var r=n(0),a=n(178);t.a=function(){return Object(r.useContext)(a.a)}},176:function(e,t,n){var r=n(72),a=n(27);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(a(e))}},177:function(e,t,n){var r=n(3)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(a){}}return!0}},178:function(e,t,n){"use strict";var r=n(0),a=n.n(r).a.createContext({isDarkTheme:!1,setLightTheme:function(){},setDarkTheme:function(){}});t.a=a},179:function(e,t,n){"use strict";var r=n(0),a=Object(r.createContext)({isAnnouncementBarClosed:!1,closeAnnouncementBar:function(){}});t.a=a},180:function(e,t,n){"use strict";var r=n(0),a=n(179);t.a=function(){return Object(r.useContext)(a.a)}},181:function(e,t,n){var r=n(6),a=n(193),o=n(23).f,i=n(172).f,c=n(72),u=n(79),s=r.RegExp,l=s,f=s.prototype,d=/a/g,p=/a/g,h=new s(d)!==d;if(n(11)&&(!h||n(18)((function(){return p[n(3)("match")]=!1,s(d)!=d||s(p)==p||"/a/i"!=s(d,"i")})))){s=function(e,t){var n=this instanceof s,r=c(e),o=void 0===t;return!n&&r&&e.constructor===s&&o?e:a(h?new l(r&&!o?e.source:e,t):l((r=e instanceof s)?e.source:e,r&&o?u.call(e):t),n?this:f,s)};for(var m=function(e){e in s||o(s,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},b=i(l),v=0;b.length>v;)m(b[v++]);f.constructor=s,s.prototype=f,n(13)(r,"RegExp",s)}n(85)("RegExp")},182:function(e,t,n){var r=n(71),a=n(51),o=n(25),i=n(76),c=n(24),u=n(80),s=Object.getOwnPropertyDescriptor;t.f=n(11)?s:function(e,t){if(e=o(e),t=i(t,!0),u)try{return s(e,t)}catch(n){}if(c(e,t))return a(!r.f.call(e,t),e[t])}},183:function(e,t,n){t.f=n(3)},184:function(e,t,n){var r=n(21);e.exports=Array.isArray||function(e){return"Array"==r(e)}},185:function(e,t,n){"use strict";var r=n(38);n.d(t,"a",(function(){return r.d})),n.d(t,"b",(function(){return r.e}))},186:function(e,t,n){"use strict";var r=n(0),a=n(56),o=function(){return{scrollX:a.a.canUseDOM?window.pageXOffset:0,scrollY:a.a.canUseDOM?window.pageYOffset:0}};t.a=function(e,t){void 0===t&&(t=[]);var n=Object(r.useState)(o()),a=n[0],i=n[1],c=function(){var t=o();i(t),e&&e(t)};return Object(r.useEffect)((function(){return window.addEventListener("scroll",c),function(){return window.removeEventListener("scroll",c,{passive:!0})}}),t),a}},187:function(e,t,n){"use strict";var r=n(0);t.a=function(e){void 0===e&&(e=!0),Object(r.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e])}},188:function(e,t,n){"use strict";var r=n(159),a=n(173),o=n(164),i=n(165);t.a=function(){var e=Object(r.a)().siteConfig,t=(e=void 0===e?{}:e).themeConfig.navbar,n=(t=void 0===t?{}:t).logo,c=void 0===n?{}:n,u=Object(a.a)().isDarkTheme,s=Object(o.a)(c.href||"/"),l={};c.target?l={target:c.target}:Object(i.a)(s)||(l={rel:"noopener noreferrer",target:"_blank"});var f=c.srcDark&&u?c.srcDark:c.src;return{logoLink:s,logoLinkProps:l,logoImageUrl:Object(o.a)(f),logoAlt:c.alt}}},189:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return me}));var r,a,o,i,c=n(15),u=n.n(c),s=n(190),l=n.n(s),f=n(191),d=n.n(f),p=n(0),h=n.n(p),m=n(54),b=n.n(m),v="bodyAttributes",y="htmlAttributes",g="titleAttributes",O={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},E=(Object.keys(O).map((function(e){return O[e]})),"charset"),w="cssText",k="href",j="http-equiv",T="innerHTML",C="itemprop",S="name",_="property",N="rel",A="src",P="target",x={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},L="defaultTitle",I="defer",M="encodeSpecialCharacters",B="onChangeClientState",D="titleTemplate",R=Object.keys(x).reduce((function(e,t){return e[x[t]]=t,e}),{}),F=[O.NOSCRIPT,O.SCRIPT,O.STYLE],H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Y=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}}(),X=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},W=function(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},q=function(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},K=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},G=function(e){var t=Q(e,O.TITLE),n=Q(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,L);return t||r||void 0},z=function(e){return Q(e,B)||function(){}},J=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return X({},e,t)}),{})},V=function(e,t){return t.filter((function(e){return void 0!==e[O.BASE]})).map((function(e){return e[O.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},$=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+H(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),i=0;i<o.length;i++){var c=o[i],u=c.toLowerCase();-1===t.indexOf(u)||n===N&&"canonical"===e[n].toLowerCase()||u===N&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(c)||c!==T&&c!==w&&c!==C||(n=c)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][s]&&(a[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i++){var c=o[i],u=b()({},r[c],a[c]);r[c]=u}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Z=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){Z(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Z:e.requestAnimationFrame||Z,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:e.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ae=null,oe=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;ue(O.BODY,r),ue(O.HTML,a),ce(f,d);var p={baseTag:se(O.BASE,n),linkTags:se(O.LINK,o),metaTags:se(O.META,i),noscriptTags:se(O.NOSCRIPT,c),scriptTags:se(O.SCRIPT,s),styleTags:se(O.STYLE,l)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),u(e,h,m)},ie=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){void 0!==e&&document.title!==e&&(document.title=ie(e)),ue(O.TITLE,t)},ue=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),c=0;c<i.length;c++){var u=i[c],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===a.indexOf(u)&&a.push(u);var l=o.indexOf(u);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);a.length===o.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==i.join(",")&&n.setAttribute("data-react-helmet",i.join(","))}},se=function(e,t){var n=document.head||document.querySelector(O.HEAD),r=n.querySelectorAll(e+"[data-react-helmet]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===T)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute("data-react-helmet","true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},le=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[x[n]||n]=e[n],t}),t)},de=function(e,t,n){switch(e){case O.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})["data-react-helmet"]=!0,a=fe(n,r),[h.a.createElement(O.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=le(n),o=ie(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+K(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+K(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case y:return{toComponent:function(){return fe(t)},toString:function(){return le(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(t).forEach((function(e){var n=x[e]||e;if(n===T||n===w){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),h.a.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===T||e===w)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+K(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===F.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.scriptTags,s=e.styleTags,l=e.title,f=void 0===l?"":l,d=e.titleAttributes;return{base:de(O.BASE,t,r),bodyAttributes:de(v,n,r),htmlAttributes:de(y,a,r),link:de(O.LINK,o,r),meta:de(O.META,i,r),noscript:de(O.NOSCRIPT,c,r),script:de(O.SCRIPT,u,r),style:de(O.STYLE,s,r),title:de(O.TITLE,{title:f,titleAttributes:d},r)}},he=l()((function(e){return{baseTag:V([k,P],e),bodyAttributes:J(v,e),defer:Q(e,I),encode:Q(e,M),htmlAttributes:J(y,e),linkTags:$(O.LINK,[N,k],e),metaTags:$(O.META,[S,E,j,_,C],e),noscriptTags:$(O.NOSCRIPT,[T],e),onChangeClientState:z(e),scriptTags:$(O.SCRIPT,[A,T],e),styleTags:$(O.STYLE,[w],e),title:G(e),titleAttributes:J(g,e)}}),(function(e){ae&&ne(ae),e.defer?ae=te((function(){oe(e,(function(){ae=null}))})):(oe(e),ae=null)}),pe)((function(){return null})),me=(a=he,i=o=function(e){function t(){return U(this,t),q(this,e.apply(this,arguments))}return function(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)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case O.SCRIPT:case O.NOSCRIPT:return{innerHTML:t};case O.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return X({},r,((t={})[n.type]=[].concat(r[n.type]||[],[X({},a,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case O.TITLE:return X({},a,((t={})[r.type]=i,t.titleAttributes=X({},o),t));case O.BODY:return X({},a,{bodyAttributes:X({},o)});case O.HTML:return X({},a,{htmlAttributes:X({},o)})}return X({},a,((n={})[r.type]=X({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=X({},t);return Object.keys(e).forEach((function(t){var r;n=X({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return h.a.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[R[n]||n]=e[n],t}),t)}(W(a,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case O.LINK:case O.META:case O.NOSCRIPT:case O.SCRIPT:case O.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=X({},n);return t&&(r=this.mapChildrenToProps(t,r)),h.a.createElement(a,r)},Y(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(h.a.Component),o.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);me.renderStatic=me.rewind}).call(this,n(84))},190:function(e,t,n){"use strict";var r,a=n(0),o=(r=a)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,s=[];function l(){u=e(s.map((function(e){return e.props}))),f.canUseDOM?t(u):n&&(u=n(u))}var f=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return u},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,s=[],e};var i=a.prototype;return i.UNSAFE_componentWillMount=function(){s.push(this),l()},i.componentDidUpdate=function(){l()},i.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),l()},i.render=function(){return o.createElement(r,this.props)},a}(a.PureComponent);return i(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(f,"canUseDOM",c),f}}},191:function(e,t){var n="undefined"!=typeof Element,r="function"==typeof Map,a="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var c,u,s,l;if(Array.isArray(t)){if((c=t.length)!=i.length)return!1;for(u=c;0!=u--;)if(!e(t[u],i[u]))return!1;return!0}if(r&&t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!i.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!e(u.value[1],i.get(u.value[0])))return!1;return!0}if(a&&t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(i)){if((c=t.length)!=i.length)return!1;for(u=c;0!=u--;)if(t[u]!==i[u])return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((c=(s=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(u=c;0!=u--;)if(!Object.prototype.hasOwnProperty.call(i,s[u]))return!1;if(n&&t instanceof Element)return!1;for(u=c;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!t.$$typeof)&&!e(t[s[u]],i[s[u]]))return!1;return!0}return t!=t&&i!=i}(e,t)}catch(i){if((i.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw i}}},192:function(e,t,n){"use strict";var r=n(11),a=n(26),o=n(171),i=n(71),c=n(50),u=n(78),s=Object.assign;e.exports=!s||n(18)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r}))?function(e,t){for(var n=c(e),s=arguments.length,l=1,f=o.f,d=i.f;s>l;)for(var p,h=u(arguments[l++]),m=f?a(h).concat(f(h)):a(h),b=m.length,v=0;b>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:s},193:function(e,t,n){var r=n(12),a=n(194).set;e.exports=function(e,t,n){var o,i=t.constructor;return i!==n&&"function"==typeof i&&(o=i.prototype)!==n.prototype&&r(o)&&a&&a(e,o),e}},194:function(e,t,n){var r=n(12),a=n(8),o=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(28)(Function.call,n(182).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(a){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},195:function(e,t,n){"use strict";var r=n(6),a=n(24),o=n(11),i=n(17),c=n(13),u=n(196).KEY,s=n(18),l=n(39),f=n(41),d=n(37),p=n(3),h=n(183),m=n(197),b=n(198),v=n(184),y=n(8),g=n(12),O=n(50),E=n(25),w=n(76),k=n(51),j=n(81),T=n(199),C=n(182),S=n(171),_=n(23),N=n(26),A=C.f,P=_.f,x=T.f,L=r.Symbol,I=r.JSON,M=I&&I.stringify,B=p("_hidden"),D=p("toPrimitive"),R={}.propertyIsEnumerable,F=l("symbol-registry"),H=l("symbols"),U=l("op-symbols"),Y=Object.prototype,X="function"==typeof L&&!!S.f,W=r.QObject,q=!W||!W.prototype||!W.prototype.findChild,K=o&&s((function(){return 7!=j(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(Y,t);r&&delete Y[t],P(e,t,n),r&&e!==Y&&P(Y,t,r)}:P,G=function(e){var t=H[e]=j(L.prototype);return t._k=e,t},z=X&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},J=function(e,t,n){return e===Y&&J(U,t,n),y(e),t=w(t,!0),y(n),a(H,t)?(n.enumerable?(a(e,B)&&e[B][t]&&(e[B][t]=!1),n=j(n,{enumerable:k(0,!1)})):(a(e,B)||P(e,B,k(1,{})),e[B][t]=!0),K(e,t,n)):P(e,t,n)},V=function(e,t){y(e);for(var n,r=b(t=E(t)),a=0,o=r.length;o>a;)J(e,n=r[a++],t[n]);return e},$=function(e){var t=R.call(this,e=w(e,!0));return!(this===Y&&a(H,e)&&!a(U,e))&&(!(t||!a(this,e)||!a(H,e)||a(this,B)&&this[B][e])||t)},Q=function(e,t){if(e=E(e),t=w(t,!0),e!==Y||!a(H,t)||a(U,t)){var n=A(e,t);return!n||!a(H,t)||a(e,B)&&e[B][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=x(E(e)),r=[],o=0;n.length>o;)a(H,t=n[o++])||t==B||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===Y,r=x(n?U:E(e)),o=[],i=0;r.length>i;)!a(H,t=r[i++])||n&&!a(Y,t)||o.push(H[t]);return o};X||(c((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===Y&&t.call(U,n),a(this,B)&&a(this[B],e)&&(this[B][e]=!1),K(this,e,k(1,n))};return o&&q&&K(Y,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),C.f=Q,_.f=J,n(172).f=T.f=Z,n(71).f=$,S.f=ee,o&&!n(36)&&c(Y,"propertyIsEnumerable",$,!0),h.f=function(e){return G(p(e))}),i(i.G+i.W+i.F*!X,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=N(p.store),ae=0;re.length>ae;)m(re[ae++]);i(i.S+i.F*!X,"Symbol",{for:function(e){return a(F,e+="")?F[e]:F[e]=L(e)},keyFor:function(e){if(!z(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!X,"Object",{create:function(e,t){return void 0===t?j(e):V(j(e),t)},defineProperty:J,defineProperties:V,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var oe=s((function(){S.f(1)}));i(i.S+i.F*oe,"Object",{getOwnPropertySymbols:function(e){return S.f(O(e))}}),I&&i(i.S+i.F*(!X||s((function(){var e=L();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(g(t)||void 0!==e)&&!z(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!z(t))return t}),r[1]=t,M.apply(I,r)}}),L.prototype[D]||n(10)(L.prototype,D,L.prototype.valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},196:function(e,t,n){var r=n(37)("meta"),a=n(12),o=n(24),i=n(23).f,c=0,u=Object.isExtensible||function(){return!0},s=!n(18)((function(){return u(Object.preventExtensions({}))})),l=function(e){i(e,r,{value:{i:"O"+ ++c,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return s&&f.NEED&&u(e)&&!o(e,r)&&l(e),e}}},197:function(e,t,n){var r=n(6),a=n(14),o=n(36),i=n(183),c=n(23).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:i.f(e)})}},198:function(e,t,n){var r=n(26),a=n(171),o=n(71);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var i,c=n(e),u=o.f,s=0;c.length>s;)u.call(e,i=c[s++])&&t.push(i);return t}},199:function(e,t,n){var r=n(25),a=n(172).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(t){return i.slice()}}(e):a(r(e))}},200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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=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}}(),o=n(0),i=d(o),c=d(n(161)),u=d(n(15)),s=d(n(201)),l=d(n(202)),f=n(203);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(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)}(t,e),a(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}},{key:"handleTouchStart",value:function(e){this.startX=(0,f.pointerCoord)(e).x,this.activated=!0}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,f.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,f.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,a=(t.icons,function(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}(t,["className","icons"])),o=(0,c.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return i.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},i.default.createElement("div",{className:"react-toggle-track"},i.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),i.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),i.default.createElement("div",{className:"react-toggle-thumb"}),i.default.createElement("input",r({},a,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(o.PureComponent);t.default=p,p.displayName="Toggle",p.defaultProps={icons:{checked:i.default.createElement(s.default,null),unchecked:i.default.createElement(l.default,null)}},p.propTypes={checked:u.default.bool,disabled:u.default.bool,defaultChecked:u.default.bool,onChange:u.default.func,onFocus:u.default.func,onBlur:u.default.func,className:u.default.string,name:u.default.string,value:u.default.string,id:u.default.string,"aria-labelledby":u.default.string,"aria-label":u.default.string,icons:u.default.oneOfType([u.default.bool,u.default.shape({checked:u.default.node,unchecked:u.default.node})])}},201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(0),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("title",null,"switch-check"),o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(0),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("title",null,"switch-x"),o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},203:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}}}]);