From 7aaa09c70e5b281ac91c51d1be16e3fb6d6ed5a3 Mon Sep 17 00:00:00 2001 From: Jonathan Hill Date: Tue, 29 Sep 2020 13:42:46 -0400 Subject: [PATCH 1/4] dev-6045 aria label for table row expand --- components/table/ExpandableRow.jsx | 1 + dist/index.js | 4 +- docs/iframe.html | 11 +- docs/index.html | 11 +- docs/main.44b2d03b5bf4085b2d0b.bundle.js | 1 + docs/main.8d2305287a3fdd5e443f.bundle.js | 2 - docs/main.8d2305287a3fdd5e443f.bundle.js.map | 1 - docs/main.bc0cb98698183044dc6d.bundle.js | 2 + docs/main.bc0cb98698183044dc6d.bundle.js.map | 1 + docs/main.bdeb9f13706318054a20.bundle.js | 1 - ...ntime~main.286b69a873d49f2f199c.bundle.js} | 0 ...me~main.8d2305287a3fdd5e443f.bundle.js.map | 1 - ...ntime~main.bc0cb98698183044dc6d.bundle.js} | 2 +- ...me~main.bc0cb98698183044dc6d.bundle.js.map | 1 + docs/sb_dll/storybook_ui-manifest.json | 2 +- docs/sb_dll/storybook_ui_dll.LICENCE | 123 +++++++------ docs/sb_dll/storybook_ui_dll.js | 2 +- ...endors~main.3d238527487f67fa0c8a.bundle.js | 112 ------------ ...endors~main.459801d1cd2e00f6dbbd.bundle.js | 128 ++++++++++++++ ...endors~main.8d2305287a3fdd5e443f.bundle.js | 162 ------------------ ...rs~main.8d2305287a3fdd5e443f.bundle.js.map | 1 - ...endors~main.bc0cb98698183044dc6d.bundle.js | 3 + ...bc0cb98698183044dc6d.bundle.js.LICENSE.txt | 153 +++++++++++++++++ ...rs~main.bc0cb98698183044dc6d.bundle.js.map | 1 + 24 files changed, 373 insertions(+), 353 deletions(-) create mode 100644 docs/main.44b2d03b5bf4085b2d0b.bundle.js delete mode 100644 docs/main.8d2305287a3fdd5e443f.bundle.js delete mode 100644 docs/main.8d2305287a3fdd5e443f.bundle.js.map create mode 100644 docs/main.bc0cb98698183044dc6d.bundle.js create mode 100644 docs/main.bc0cb98698183044dc6d.bundle.js.map delete mode 100644 docs/main.bdeb9f13706318054a20.bundle.js rename docs/{runtime~main.44172ae601677c5429df.bundle.js => runtime~main.286b69a873d49f2f199c.bundle.js} (100%) delete mode 100644 docs/runtime~main.8d2305287a3fdd5e443f.bundle.js.map rename docs/{runtime~main.8d2305287a3fdd5e443f.bundle.js => runtime~main.bc0cb98698183044dc6d.bundle.js} (97%) create mode 100644 docs/runtime~main.bc0cb98698183044dc6d.bundle.js.map delete mode 100644 docs/vendors~main.3d238527487f67fa0c8a.bundle.js create mode 100644 docs/vendors~main.459801d1cd2e00f6dbbd.bundle.js delete mode 100644 docs/vendors~main.8d2305287a3fdd5e443f.bundle.js delete mode 100644 docs/vendors~main.8d2305287a3fdd5e443f.bundle.js.map create mode 100644 docs/vendors~main.bc0cb98698183044dc6d.bundle.js create mode 100644 docs/vendors~main.bc0cb98698183044dc6d.bundle.js.LICENSE.txt create mode 100644 docs/vendors~main.bc0cb98698183044dc6d.bundle.js.map diff --git a/components/table/ExpandableRow.jsx b/components/table/ExpandableRow.jsx index de98afc4..5f505ee2 100644 --- a/components/table/ExpandableRow.jsx +++ b/components/table/ExpandableRow.jsx @@ -47,6 +47,7 @@ const ExpandableRow = ({ className="usda-table__cell"> diff --git a/dist/index.js b/dist/index.js index b70773aa..3324f295 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,6 +1,6 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("prop-types"),require("react"),require("lodash"),require("accounting")):"function"==typeof define&&define.amd?define(["prop-types","React","lodash","accounting"],e):"object"==typeof exports?exports["data-transparency-ui"]=e(require("prop-types"),require("react"),require("lodash"),require("accounting")):t["data-transparency-ui"]=e(t["prop-types"],t.React,t.lodash,t.accounting)}(global,(function(t,e,n,a){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var n=0;n-1;r--){var o=n[r],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=o)}return z.head.insertBefore(e,a),t}}var vt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function yt(){for(var t=12,e="";t-- >0;)e+=vt[62*Math.random()|0];return e}function wt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function _t(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Ot(t){return t.size!==gt.size||t.x!==gt.x||t.y!==gt.y||t.rotate!==gt.rotate||t.flipX||t.flipY}function kt(t){var e=t.transform,n=t.containerWidth,a=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}var xt={x:0,y:0,width:"100%",height:"100%"};function Et(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Pt(t){var e=t.icons,n=e.main,a=e.mask,r=t.prefix,o=t.iconName,i=t.transform,s=t.symbol,l=t.title,c=t.extra,u=t.watchable,f=void 0!==u&&u,p=a.found?a:n,d=p.width,m=p.height,h="fa-w-".concat(Math.ceil(d/m*16)),g=[U.replacementClass,o?"".concat(U.familyPrefix,"-").concat(o):"",h].filter((function(t){return-1===c.classes.indexOf(t)})).concat(c.classes).join(" "),b={children:[],attributes:E({},c.attributes,{"data-prefix":r,"data-icon":o,class:g,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};f&&(b.attributes[R]=""),l&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(yt())},children:[l]});var v=E({},b,{prefix:r,iconName:o,main:n,mask:a,transform:i,symbol:s,styles:c.styles}),y=a.found&&n.found?function(t){var e,n=t.children,a=t.attributes,r=t.main,o=t.mask,i=t.transform,s=r.width,l=r.icon,c=o.width,u=o.icon,f=kt({transform:i,containerWidth:c,iconWidth:s}),p={tag:"rect",attributes:E({},xt,{fill:"white"})},d=l.children?{children:l.children.map(Et)}:{},m={tag:"g",attributes:E({},f.inner),children:[Et(E({tag:l.tag,attributes:E({},l.attributes,f.path)},d))]},h={tag:"g",attributes:E({},f.outer),children:[m]},g="mask-".concat(yt()),b="clip-".concat(yt()),v={tag:"mask",attributes:E({},xt,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,h]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=u,"g"===e.tag?e.children:[e])},v]};return n.push(y,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},xt)}),{children:n,attributes:a}}(v):function(t){var e=t.children,n=t.attributes,a=t.main,r=t.transform,o=_t(t.styles);if(o.length>0&&(n.style=o),Ot(r)){var i=kt({transform:r,containerWidth:a.width,iconWidth:a.width});e.push({tag:"g",attributes:E({},i.outer),children:[{tag:"g",attributes:E({},i.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:E({},a.icon.attributes,i.path)}]}]})}else e.push(a.icon);return{children:e,attributes:n}}(v),w=y.children,_=y.attributes;return v.children=w,v.attributes=_,s?function(t){var e=t.prefix,n=t.iconName,a=t.children,r=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:E({},r,{id:!0===o?"".concat(e,"-").concat(U.familyPrefix,"-").concat(n):o}),children:a}]}]}(v):function(t){var e=t.children,n=t.main,a=t.mask,r=t.attributes,o=t.styles,i=t.transform;if(Ot(i)&&n.found&&!a.found){var s={x:n.width/n.height/2,y:.5};r.style=_t(E({},o,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(v)}var Tt=function(){},St=(U.measurePerformance&&I&&I.mark&&I.measure,function(t,e,n,a){var r,o,i,s=Object.keys(t),l=s.length,c=void 0!==a?function(t,e){return function(n,a,r,o){return t.call(e,n,a,r,o)}}(e,a):e;for(void 0===n?(r=1,i=t[s[0]]):(r=0,i=n);r2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,a=void 0!==n&&n,r=Object.keys(e).reduce((function(t,n){var a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{});"function"!=typeof Q.hooks.addPack||a?Q.styles[t]=E({},Q.styles[t]||{},r):Q.hooks.addPack(t,r),"fas"===t&&jt("fa",e)}var Nt=Q.styles,Ct=Q.shims,Mt=function(){var t=function(t){return St(Nt,(function(e,n,a){return e[a]=St(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var a=e[2];return t[n]=n,a.forEach((function(e){t[e]=n})),t}));var e="far"in Nt;St(Ct,(function(t,n){var a=n[0],r=n[1],o=n[2];return"far"!==r||e||(r="fas"),t[a]={prefix:r,iconName:o},t}),{})};Mt();Q.styles;function At(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function zt(t){var e=t.tag,n=t.attributes,a=void 0===n?{}:n,r=t.children,o=void 0===r?[]:r;return"string"==typeof t?wt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(wt(t[n]),'" ')}),"").trim()}(a),">").concat(o.map(zt).join(""),"")}var It=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return t.flipX=!0,t;if(a&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(a){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),e):e};function qt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}qt.prototype=Object.create(Error.prototype),qt.prototype.constructor=qt;var Lt={fill:"currentColor"},Dt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Rt={tag:"path",attributes:E({},Lt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},Wt=E({},Dt,{attributeName:"opacity"});E({},Lt,{cx:"256",cy:"364",r:"28"}),E({},Dt,{attributeName:"r",values:"28;14;28;28;14;28;"}),E({},Wt,{values:"1;0;1;1;0;1;"}),E({},Lt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),E({},Wt,{values:"1;0;0;0;0;1;"}),E({},Lt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),E({},Wt,{values:"0;0;1;1;0;0;"}),Q.styles;function Ft(t){var e=t[0],n=t[1],a=P(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(U.familyPrefix,"-").concat(H.GROUP)},children:[{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(H.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(H.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}Q.styles;var Ht='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';function Bt(){var t=L,e=D,n=U.familyPrefix,a=U.replacementClass,r=Ht;if(n!==t||a!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),i=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(a))}return r}function Yt(){U.autoAddCss&&!Gt&&(bt(Bt()),Gt=!0)}function Ut(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return zt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(q){var e=z.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Xt(t){var e=t.prefix,n=void 0===e?"fa":e,a=t.iconName;if(a)return At(Vt.definitions,n,a)||At(Q.styles,n,a)}var Qt,Vt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,a;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,a=void 0===n?gt:n,r=e.symbol,o=void 0!==r&&r,i=e.mask,s=void 0===i?null:i,l=e.title,c=void 0===l?null:l,u=e.classes,f=void 0===u?[]:u,p=e.attributes,d=void 0===p?{}:p,m=e.styles,h=void 0===m?{}:m;if(t){var g=t.prefix,b=t.iconName,v=t.icon;return Ut(E({type:"icon"},t),(function(){return Yt(),U.autoA11y&&(c?d["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(yt()):(d["aria-hidden"]="true",d.focusable="false")),Pt({icons:{main:Ft(v),mask:s?Ft(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:b,transform:E({},gt,a),symbol:o,title:c,extra:{attributes:d,styles:h,classes:f}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Xt(t||{}),a=e.mask;return a&&(a=(a||{}).icon?a:Xt(a||{})),Qt(n,E({},e,{mask:a}))});function Zt(t){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function te(t){for(var e=1;e=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function ne(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?$t({},t,e):{}}function se(t){var e=t.icon,n=t.mask,a=t.symbol,r=t.className,o=t.title,i=oe(e),s=ie("classes",[].concat(ne(function(t){var e,n=t.spin,a=t.pulse,r=t.fixedWidth,o=t.inverse,i=t.border,s=t.listItem,l=t.flip,c=t.size,u=t.rotation,f=t.pull,p=($t(e={"fa-spin":n,"fa-pulse":a,"fa-fw":r,"fa-inverse":o,"fa-border":i,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(c),null!=c),$t(e,"fa-rotate-".concat(u),null!=u),$t(e,"fa-pull-".concat(f),null!=f),$t(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(p).map((function(t){return p[t]?t:null})).filter((function(t){return t}))}(t)),ne(r.split(" ")))),l=ie("transform","string"==typeof t.transform?Kt.transform(t.transform):t.transform),c=ie("mask",oe(n)),u=Jt(i,te({},s,l,c,{symbol:a,title:o}));if(!u)return function(){var t;!re&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",i),null;var f=u.abstract,p={};return Object.keys(t).forEach((function(e){se.defaultProps.hasOwnProperty(e)||(p[e]=t[e])})),le(f[0],p)}se.displayName="FontAwesomeIcon",se.propTypes={border:g.a.bool,className:g.a.string,mask:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),fixedWidth:g.a.bool,inverse:g.a.bool,flip:g.a.oneOf(["horizontal","vertical","both"]),icon:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),listItem:g.a.bool,pull:g.a.oneOf(["right","left"]),pulse:g.a.bool,rotation:g.a.oneOf([90,180,270]),size:g.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:g.a.bool,symbol:g.a.oneOfType([g.a.bool,g.a.string]),title:g.a.string,transform:g.a.oneOfType([g.a.string,g.a.object]),swapOpacity:g.a.bool},se.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var le=function t(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return t(e,n)})),o=Object.keys(n.attributes||{}).reduce((function(t,e){var a=n.attributes[e];switch(e){case"class":t.attrs.className=a,delete n.attributes.class;break;case"style":t.attrs.style=a.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n,a=e.indexOf(":"),r=ae(e.slice(0,a)),o=e.slice(a+1).trim();return r.startsWith("webkit")?t[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=o:t[r]=o,t}),{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=a:t.attrs[ae(e)]=a}return t}),{attrs:{}}),i=a.style,s=void 0===i?{}:i,l=ee(a,["style"]);return o.attrs.style=te({},o.attrs.style,s),e.apply(void 0,[n.tag,te({},o.attrs,l)].concat(ne(r)))}.bind(null,m.a.createElement),ce={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number.isRequired,pageSize:g.a.number.isRequired},ue=function(t){function e(){return r()(this,e),l()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getPager",value:function(){var t,e,n=this.props,a=n.totalItems,r=n.currentPage,o=n.pageSize,i=n.changePage,s=Math.ceil(a/o),l=m.a.createElement("li",{className:"pager__ellipsis"},"..."),c=m.a.createElement("li",{className:"pager__ellipsis"},"..."),u=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),f=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},_(s,0)));s<5?(t=1,e=s,l="",c="",u="",f=""):(t=r-1,e=r+1,r<4?(l="",u="",1===r?(t=r,e=r+2):3===r&&(t=1,e=4)):r>s-3&&(c="",f="",r===s?(t=r-2,e=r):r===s-2&&(t=r-1,e=s)));var p=(r-1)*o,d=Math.min(p+(o-1),a-1),h=Object(y.range)(t,e+1);return{totalPages:s,startPage:t,endPage:e,startIndex:p,endIndex:d,pages:h,prevEllipses:l,nextEllipses:c,firstButton:u,lastButton:f}}},{key:"generatePageButtons",value:function(t){var e=this,n=this.props.currentPage;return t.map((function(t,a){return m.a.createElement("li",{key:a,className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(n===t?"pager__button_active":""),type:"button",onClick:function(){return e.props.changePage(t)}},_(t,0)))}))}},{key:"render",value:function(){var t=this.props,e=t.currentPage,n=t.changePage,a=this.getPager(),r=this.generatePageButtons(a.pages,a.totalPages);return m.a.createElement("ul",{className:"pager"},m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(1===e?"pager__button_disabled":""),type:"button",disabled:1===e,onClick:function(){return n(e-1)},title:"Previous page"},m.a.createElement(se,{icon:"angle-left"}))),a.firstButton,a.prevEllipses,r,a.nextEllipses,a.lastButton,m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(e===a.totalPages?"pager__button_disabled":""),type:"button",disabled:e===a.totalPages,onClick:function(){return n(e+1)},title:"Next page"},m.a.createElement(se,{icon:"angle-right"}))))}}]),e}(m.a.Component);ue.propTypes=ce;var fe=n(3),pe=n.n(fe),de={changeLimit:g.a.func.isRequired,pageSize:g.a.number,limitList:g.a.arrayOf(g.a.number),label:g.a.string},me=function(t){function e(t){var n;return r()(this,e),(n=l()(this,u()(e).call(this,t))).changeLimit=n.changeLimit.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changeLimit",value:function(t){t.preventDefault();var e=parseInt(t.target.value,10);this.props.changeLimit(e)}},{key:"render",value:function(){var t=this.props.label?this.props.label:"Rows per page: ",e=this.props,n=e.limitList,a=e.pageSize,r=n.map((function(t){return m.a.createElement("option",{key:"limit-".concat(t),value:t},t)}));return m.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},m.a.createElement("label",null,t),m.a.createElement("select",{onChange:this.changeLimit,value:a,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},r))}}]),e}(m.a.Component);me.propTypes=de,me.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var he={changePage:g.a.func.isRequired,totalPages:g.a.number,id:g.a.string},ge=function(t){function e(t){var n;return r()(this,e),(n=l()(this,u()(e).call(this,t))).state={goToPage:""},n.changePage=n.changePage.bind(pe()(n)),n.changedInput=n.changedInput.bind(pe()(n)),n.validPage=n.validPage.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changePage",value:function(t){t.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(t){this.setState({goToPage:t.target.value})}},{key:"validPage",value:function(){var t=this.state.goToPage,e=this.props.totalPages;return!(""===t||parseInt(t,10)<1||parseInt(t,10)>e)}},{key:"render",value:function(){var t=this.props.totalPages,e=t>1?"1-".concat(t):"1";return m.a.createElement("form",{className:"usa-dt-pagination__go-to"},m.a.createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),m.a.createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(t),min:"1",max:t,placeholder:e,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),m.a.createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),e}(m.a.Component);ge.propTypes=he,ge.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var be={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number,pageSize:g.a.number,resultsText:g.a.oneOfType([g.a.bool,g.a.element]),limitSelector:g.a.bool,changeLimit:g.a.func,goToPage:g.a.bool,id:g.a.string};n(16);var ve=function(t){function e(){return r()(this,e),l()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getResultsText",value:function(){var t=this.props,e=t.resultsText,n=t.totalItems,a=t.currentPage,r=t.pageSize;if(m.a.isValidElement(e))return e;if(e){var o=function(t,e,n){var a=(t-1)*e+1,r=t*e;return t===Math.ceil(n/e)&&(r=n),{start:a,end:r}}(a,r,n),i=_(o.start,0),s=_(o.end,0),l=_(n,0);return m.a.createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(l," results"))}return null}},{key:"render",value:function(){var t=this.props,e=t.limitSelector,n=t.goToPage,a=t.changePage,r=t.changeLimit,o=t.currentPage,i=t.pageSize,s=t.totalItems,l=t.id,c=Math.ceil(s/i),u=this.getResultsText(),f=e?m.a.createElement(me,{changeLimit:r,pageSize:i}):null,p=n?m.a.createElement(ge,{changePage:a,totalPages:c,id:l}):null;return!e&&c<=1?null:m.a.createElement("div",{className:"usa-dt-pagination"},u,m.a.createElement("div",{className:"usa-dt-pagination__wrapper"},f,m.a.createElement(ue,{changePage:a,totalItems:s,currentPage:o,pageSize:i}),p))}}]),e}(m.a.Component);ve.propTypes=be,ve.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var ye=n(4),we=n.n(ye),_e=n(11),Oe=n.n(_e);function ke(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function xe(t){for(var e=1;e800?700:a-Ee:"bottom"===n.props.tooltipPosition?n.props.width:n.props.wide?e>800?700:e-Ee:n.props.width})),we()(pe()(n),"getDimensionsForMobile",(function(t,e){return t?{top:"".concat(n.tooltipContainer.clientHeight+n.tooltipContainer.offsetTop+8,"px"),width:e,left:"".concat(n.tooltipContainer.clientWidth/2-8,"px")}:xe({},n.state.spacerStyles,{width:e})})),n.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},n.showTooltip=n.showTooltip.bind(pe()(n)),n.closeTooltip=n.closeTooltip.bind(pe()(n)),n.setTooltipDimensions=Object(y.throttle)(n.setTooltipDimensions.bind(pe()(n)),16),n}return p()(e,t),i()(e,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",Object(y.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",Object(y.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(t){t.wide===this.props.wide&&t.tooltipPosition===this.props.tooltipPosition||this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var t=window.innerWidth,e=this.tooltipContainer,n=e.offsetLeft;return{right:t-n-e.clientWidth,left:n,total:t}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var t=this.getTooltipWidth(),e=this.getAvailableHorizontalSpace(),n=e.left,a=e.total,r=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,o=a<700;if("bottom"===this.props.tooltipPosition||o)this.setState({arrowDirection:"bottom",spacerStyle:xe({},this.getDimensionsForMobile(o,t))});else if("left"===this.props.tooltipPosition){var i=n-t;this.setState({arrowDirection:"right",spacerStyle:{top:r,left:i-Ee,width:t}})}else{var s=n+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:r,left:s+Ee,width:t}})}}}},{key:"showTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.state.showTooltip||this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function(){var t=this,e=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(e=m.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},m.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function(e){t.tooltipReference=e}},m.a.createElement("div",{className:"tooltip__interior"},m.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),m.a.createElement("div",{className:"tooltip__content"},m.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),m.a.createElement("div",{className:Oe()(we()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},m.a.createElement("div",{ref:function(e){t.tooltipContainer=e}},m.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&Se[this.props.icon]),e))}}]),e}(m.a.Component);je.propTypes=Pe,je.defaultProps=Te;n(18);var Ne={title:g.a.string,children:g.a.node,className:g.a.string,textAlign:g.a.shape({title:g.a.oneOf(["center","left"]),text:g.a.oneOf(["center","left"])})},Ce={title:"Tooltip Info",children:m.a.createElement("p",null,"Here is some info."),className:null,textAlign:{title:"left",text:"left"}},Me=function(t){var e=t.children,n=t.title,a=t.className,r=t.textAlign;return m.a.createElement("div",{className:Oe()(we()({},a,null!==a))},m.a.createElement("h1",{className:Oe()("tooltip__title",r.title)},n),m.a.createElement("div",{className:Oe()("tooltip__text",r.text)},e))};Me.propTypes=Ne,Me.defaultProps=Ce;var Ae=Me,ze=n(10),Ie=n.n(ze),qe={disabled:g.a.bool,active:g.a.bool,showPeriods:g.a.bool,quarter:g.a.string,handleSelection:g.a.func,handleHover:g.a.func,handleBlur:g.a.func,toggleTooltip:g.a.func,title:g.a.string},Le=function(t){var e=t.disabled,n=t.active,a=t.quarter,r=t.handleSelection,o=t.toggleTooltip,i=t.title,s=void 0===i?"":i,l=t.handleHover,c=t.handleBlur,u=t.showPeriods,f=void 0!==u&&u,p=s||"Q ".concat(a),d=function(){e?o(a):l(a,f?"period":"quarter")},h=function(){o(0),c(f?"period":"quarter")},g=function(t){t.preventDefault(),e||r(a)},b=e?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===a?b+="usa-dt-quarter-picker__quarter_first":"4"===a?b+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(b+="usa-dt-quarter-picker__quarter_double"),!e&&n&&(b+=" usa-dt-quarter-picker__quarter_active"),m.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(b),onMouseDown:g,onClick:g,onMouseOver:d,onMouseEnter:d,onFocus:d,onMouseLeave:h,onBlur:h,"aria-disabled":e},p)};Le.propTypes=qe;var De=Le,Re=(n(22),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=Object(d.useState)(t),n=Ie()(e,2),a=n[0],r=n[1],o=function(t){var e=parseInt(t,10),n=a.map((function(t){return parseInt(t,10)})).filter((function(t){return t<=e})).map((function(t){return"".concat(t)}));r(n.concat([t]))};return[a,o]}),We=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],Fe=function(t,e){return e.some((function(e){return parseInt(e,10)>=parseInt(t,10)}))},He={handleSelection:g.a.func,selectedQuarters:g.a.arrayOf(g.a.string),disabledQuarters:g.a.arrayOf(g.a.string),selectedPeriods:g.a.arrayOf(g.a.string),disabledPeriods:g.a.arrayOf(g.a.string),periodsPerQuarter:g.a.arrayOf(g.a.arrayOf(g.a.shape({title:g.a.string,id:g.a.string}))),showPeriods:g.a.bool,isCumulative:g.a.bool},Be=function(t){var e=t.handleSelection,n=t.disabledQuarters,a=void 0===n?[]:n,r=t.disabledPeriods,o=void 0===r?[]:r,i=t.periodsPerQuarter,s=void 0===i?We:i,l=t.selectedQuarters,c=void 0===l?[]:l,u=t.selectedPeriods,f=void 0===u?[]:u,p=t.showPeriods,h=void 0!==p&&p,g=t.isCumulative,b=void 0!==g&&g,v=Object(d.useState)(""),w=Ie()(v,2),_=w[0],O=w[1],k=Object(d.useState)(""),x=Ie()(k,2),E=x[0],P=x[1],T=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===e?P(t):O(t)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===t?P(""):O("")};return m.a.createElement("div",{className:"usa-dt-quarter-picker"},m.a.createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(t,n){var r=n+1,i="".concat(r);if(h){var l=s[n],u=l.every((function(t){return o.includes(t.id)}));return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:Object(y.uniqueId)()},m.a.createElement("p",{className:u?"disabled":""},"Q".concat(r)),m.a.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},l.map((function(t){return m.a.createElement("li",{className:Object.keys(t).includes("className")?"".concat(t.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(De,{showPeriods:h,quarter:t.id,title:t.title,disabled:o.includes(t.id),active:Fe(t.id,f)||parseInt(_,10)>=parseInt(t.id,10),handleHover:T,handleBlur:S,handleSelection:e,toggleTooltip:function(){}}))}))))}return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(De,{quarter:i,disabled:a.includes(i),active:b?Fe(i,c)||parseInt(E,10)>=r:c.includes(i)||E===i,handleSelection:e,handleHover:T,handleBlur:S,toggleTooltip:function(){}}))}))))};Be.propTypes=He;var Ye=Be;function Ue(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Xe(t){for(var e=1;ee.name?1:0},Ke=function(t){var e=t.className,n=void 0===e?"":e,a=t.id,r=void 0===a?"":a,o=t.options,i=t.selectedOption,s=t.icon,l=void 0===s?null:s,c=t.sortFn,u=void 0===c?Ge:c,f=t.isFixedWidth,p=void 0!==f&&f,h=t.children,g=t.dropdownDirection,b=void 0===g?"right":g,v=Object(d.useRef)(null),y=Object(d.useRef)(null),w=Object(d.useState)(!1),_=Ie()(w,2),O=_[0],k=_[1],x=Object(d.useState)({top:0,width:0,left:0,right:0}),E=Ie()(x,2),P=E[0],T=E[1],S=function(t){t.preventDefault(),k(!O)},j=function(){y.current&&v.current&&T({top:y.current.offsetHeight,width:y.current.offsetWidth,left:y.current.offsetLeft,right:v.current.offsetWidth-(y.current.offsetWidth+y.current.offsetLeft)})};Object(d.useEffect)((function(){0!==P.width&&p&&y.current&&y.current.offsetWidth!==P.width&&j()})),Object(d.useEffect)((function(){var t=function(t){O&&v.current&&!v.current.contains(t.target)&&t.target.id!=="".concat(r,"-").concat(Qe)&&t.target.parentNode.id!=="".concat(r,"-").concat(Qe)&&k(!1)};return j(),document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}),[O]);return m.a.createElement("div",{id:r,className:"usa-dt-picker ".concat(n),ref:v},l&&m.a.createElement("div",{className:"usa-dt-picker__icon"},l),m.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},h?m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:S},h):m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:S},m.a.createElement("span",{className:"usa-dt-picker__button-text"},i),m.a.createElement("span",{className:"usa-dt-picker__button-icon"},!O&&m.a.createElement(se,{id:"".concat(r,"-").concat(Qe),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),O&&m.a.createElement(se,{id:"".concat(r,"-").concat(Qe),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),m.a.createElement("ul",{className:"usa-dt-picker__list ".concat(O?"":"hide"),style:function(){var t={top:"".concat(P.top,"px"),left:"".concat(P.left,"px")};return p&&"right"===b?Xe({},t,{width:"".concat(P.width,"px")}):p&&"left"===b?{top:t.top,right:"".concat(P.right),width:"".concat(P.width,"px")}:"left"===b?{top:t.top,right:"".concat(P.right,"px")}:t}()},o.sort((function(t,e){return u(t,e,i)})).map((function(t){return Xe({},t,{onClick:(e=t.onClick,function(t){t.preventDefault(),e(t.target.value),k(!1)})});var e})).map((function(t){return m.a.createElement("li",{key:t.name,className:"usa-dt-picker__list-item"},m.a.createElement("button",{className:"usa-dt-picker__item ".concat(t.name===i?"active":""),value:"".concat(t.value||t.name),onClick:t.onClick},t.component?t.component:t.name))})))))};Ke.propTypes=Ve;var Je=Ke,Ze=n(13),$e=n.n(Ze),tn={isActive:g.a.bool,title:g.a.string.isRequired,displayName:g.a.oneOfType([g.a.string,g.a.element]).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,right:g.a.bool},en=function(t){var e,n,a=function(e){t.updateSort(t.title,e.target.value)},r=t.isActive&&"asc"===(null===(e=t.currentSort)||void 0===e?void 0:e.direction)?" table-header__icon_active":"",o=t.isActive&&"desc"===(null===(n=t.currentSort)||void 0===n?void 0:n.direction)?" table-header__icon_active":"",i=m.a.createElement("div",{className:"table-header__sort"},m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(r),value:"asc",title:"Sort table by ascending ".concat(t.displayName),"aria-label":"Sort table by ascending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-up"})),m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(o),value:"desc",title:"Sort table by descending ".concat(t.displayName),"aria-label":"Sort table by descending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-down"})));return m.a.createElement("th",{className:"table-header"},m.a.createElement("div",{className:"table-header__content".concat(t.right?" table-header__content_right":"")},m.a.createElement("div",{className:"table-header__label"},t.displayName),t.updateSort&&i))};en.propTypes=tn;var nn=en,an={data:g.a.object,columns:g.a.array,oddClass:g.a.string,divider:g.a.string},rn=function(t){var e=t.data,n=t.columns,a=t.oddClass,r=t.divider,o=Object(d.useState)(!1),i=Ie()(o,2),s=i[0],l=i[1],c=s?"chevron-down":"chevron-right",u=n.map((function(t){return t.title})),f=function(){l(!s)},p=m.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(a)},m.a.createElement("td",{colSpan:n.length,className:"usda-table__cell usda-table__cell_child"},m.a.createElement("div",{className:"usda-table__child-cell-content"},r)));return m.a.createElement(m.a.Fragment,null,m.a.createElement("tr",{className:"usda-table__row".concat(a," usda-table__row_expandable")},u.map((function(t,a){return"name"===t&&e.children?m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell"},m.a.createElement("button",{className:"usda-table__expand-button",onClick:f},m.a.createElement(se,{icon:c,size:"2x"})),m.a.createElement("p",null,e.name)):m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat("name"===t?" usda-table__cell_name":"").concat(n[a].right?" usda-table__cell_right":"")},e[t])}))),e.children&&s?m.a.createElement(m.a.Fragment,null,r&&p,e.children.map((function(t,r){var o=r===e.children.length-1?" usda-table__child-row_last":"";return m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__child-row".concat(o).concat(a)},u.map((function(e,a){return m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell ".concat(n[a].right?" usda-table__cell_right":""," usda-table__cell_child")},m.a.createElement("div",{className:"usda-table__child-cell-content"},t[e]))})))}))):null)};rn.propTypes=an;var on=rn;n(24);var sn={columns:g.a.arrayOf(g.a.object).isRequired,rows:g.a.arrayOf(Object(h.oneOfType)([g.a.array,g.a.object])).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,expandable:g.a.bool,divider:g.a.string},ln=function(t){return m.a.createElement("table",{className:"usda-table"},m.a.createElement("thead",{className:"usda-table__head"},m.a.createElement("tr",{className:"usda-table__row"},t.columns.map((function(e){var n;return m.a.createElement(nn,$e()({key:Object(y.uniqueId)(),currentSort:t.currentSort,updateSort:t.updateSort,isActive:(null===(n=t.currentSort)||void 0===n?void 0:n.field)===e.title},e))})))),m.a.createElement("tbody",{className:"usda-table__body"},t.rows.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return t.expandable?m.a.createElement(on,{key:Object(y.uniqueId)(),data:e,oddClass:a,columns:t.columns,divider:t.divider}):m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__row".concat(a)},e.map((function(e,n){var a;return t.columns[n]&&m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat((null===(a=t.columns[n])||void 0===a?void 0:a.right)?" usda-table__cell_right":"")},e)})))}))))};ln.propTypes=sn;var cn=ln;n(25);n.d(e,"Pagination",(function(){return ve})),n.d(e,"TooltipWrapper",(function(){return je})),n.d(e,"QuarterPicker",(function(){return Ye})),n.d(e,"useCumulativeQuarterPicker",(function(){return Re})),n.d(e,"TooltipComponent",(function(){return Ae})),n.d(e,"Picker",(function(){return Je})),n.d(e,"Table",(function(){return cn}))}])})); \ No newline at end of file +*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var t=[],e=0;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return A.head.insertBefore(e,r),t}}function ft(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function pt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function dt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function mt(t){return t.size!==lt.size||t.x!==lt.x||t.y!==lt.y||t.rotate!==lt.rotate||t.flipX||t.flipY}function ht(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),c="rotate(".concat(e.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var gt={x:0,y:0,width:"100%",height:"100%"};function bt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function vt(t){var e=t.icons,n=e.main,r=e.mask,a=t.prefix,o=t.iconName,i=t.transform,c=t.symbol,s=t.title,l=t.maskId,u=t.titleId,f=t.extra,p=t.watchable,d=void 0!==p&&p,m=r.found?r:n,h=m.width,g=m.height,b="fa-w-".concat(Math.ceil(h/g*16)),v=[H.replacementClass,o?"".concat(H.familyPrefix,"-").concat(o):"",b].filter((function(t){return-1===f.classes.indexOf(t)})).concat(f.classes).join(" "),y={children:[],attributes:P({},f.attributes,{"data-prefix":a,"data-icon":o,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(g)})};d&&(y.attributes["data-fa-i2svg"]=""),s&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||ft())},children:[s]});var w=P({},y,{prefix:a,iconName:o,main:n,mask:r,maskId:l,transform:i,symbol:c,styles:f.styles}),_=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,a=t.main,o=t.mask,i=t.maskId,c=t.transform,s=a.width,l=a.icon,u=o.width,f=o.icon,p=ht({transform:c,containerWidth:u,iconWidth:s}),d={tag:"rect",attributes:P({},gt,{fill:"white"})},m=l.children?{children:l.children.map(bt)}:{},h={tag:"g",attributes:P({},p.inner),children:[bt(P({tag:l.tag,attributes:P({},l.attributes,p.path)},m))]},g={tag:"g",attributes:P({},p.outer),children:[h]},b="mask-".concat(i||ft()),v="clip-".concat(i||ft()),y={tag:"mask",attributes:P({},gt,{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(e=f,"g"===e.tag?e.children:[e])},y]};return n.push(w,{tag:"rect",attributes:P({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(b,")")},gt)}),{children:n,attributes:r}}(w):function(t){var e=t.children,n=t.attributes,r=t.main,a=t.transform,o=dt(t.styles);if(o.length>0&&(n.style=o),mt(a)){var i=ht({transform:a,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:P({},i.outer),children:[{tag:"g",attributes:P({},i.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:P({},r.icon.attributes,i.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(w),O=_.children,k=_.attributes;return w.children=O,w.attributes=k,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,a=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:P({},a,{id:!0===o?"".concat(e,"-").concat(H.familyPrefix,"-").concat(n):o}),children:r}]}]}(w):function(t){var e=t.children,n=t.main,r=t.mask,a=t.attributes,o=t.styles,i=t.transform;if(mt(i)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};a.style=dt(P({},o,{"transform-origin":"".concat(c.x+i.x/16,"em ").concat(c.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:e}]}(w)}var yt=function(){},wt=(H.measurePerformance&&z&&z.mark&&z.measure,function(t,e,n,r){var a,o,i,c=Object.keys(t),s=c.length,l=void 0!==r?function(t,e){return function(n,r,a,o){return t.call(e,n,r,a,o)}}(e,r):e;for(void 0===n?(a=1,i=t[c[0]]):(a=0,i=n);a2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,o=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof Y.hooks.addPack||a?Y.styles[t]=P({},Y.styles[t]||{},o):Y.hooks.addPack(t,o),"fas"===t&&_t("fa",e)}var Ot=Y.styles,kt=Y.shims,xt=function(){var t=function(t){return wt(Ot,(function(e,n,r){return e[r]=wt(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in Ot;wt(kt,(function(t,n){var r=n[0],a=n[1],o=n[2];return"far"!==a||e||(a="fas"),t[r]={prefix:a,iconName:o},t}),{})};xt();Y.styles;function Pt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Et(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,a=t.children,o=void 0===a?[]:a;return"string"==typeof t?pt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(pt(t[n]),'" ')}),"").trim()}(r),">").concat(o.map(Et).join(""),"")}var jt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return t.flipX=!0,t;if(r&&"v"===a)return t.flipY=!0,t;if(a=parseFloat(a),isNaN(a))return t;switch(r){case"grow":t.size=t.size+a;break;case"shrink":t.size=t.size-a;break;case"left":t.x=t.x-a;break;case"right":t.x=t.x+a;break;case"up":t.y=t.y-a;break;case"down":t.y=t.y+a;break;case"rotate":t.rotate=t.rotate+a}return t}),e):e};function Tt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}Tt.prototype=Object.create(Error.prototype),Tt.prototype.constructor=Tt;var St={fill:"currentColor"},Nt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Ct={tag:"path",attributes:P({},St,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},Mt=P({},Nt,{attributeName:"opacity"});P({},St,{cx:"256",cy:"364",r:"28"}),P({},Nt,{attributeName:"r",values:"28;14;28;28;14;28;"}),P({},Mt,{values:"1;0;1;1;0;1;"}),P({},St,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),P({},Mt,{values:"1;0;0;0;0;1;"}),P({},St,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),P({},Mt,{values:"0;0;1;1;0;0;"}),Y.styles;function It(t){var e=t[0],n=t[1],r=E(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.GROUP)},children:[{tag:"path",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}Y.styles;function At(){var t="svg-inline--fa",e=H.familyPrefix,n=H.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||n!==t){var a=new RegExp("\\.".concat("fa","\\-"),"g"),o=new RegExp("\\--".concat("fa","\\-"),"g"),i=new RegExp("\\.".concat(t),"g");r=r.replace(a,".".concat(e,"-")).replace(o,"--".concat(e,"-")).replace(i,".".concat(n))}return r}function zt(){H.autoAddCss&&!Wt&&(ut(At()),Wt=!0)}function Rt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Et(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(R){var e=A.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function qt(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return Pt(Lt.definitions,n,r)||Pt(Y.styles,n,r)}var Dt,Lt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?lt:n,a=e.symbol,o=void 0!==a&&a,i=e.mask,c=void 0===i?null:i,s=e.maskId,l=void 0===s?null:s,u=e.title,f=void 0===u?null:u,p=e.titleId,d=void 0===p?null:p,m=e.classes,h=void 0===m?[]:m,g=e.attributes,b=void 0===g?{}:g,v=e.styles,y=void 0===v?{}:v;if(t){var w=t.prefix,_=t.iconName,O=t.icon;return Rt(P({type:"icon"},t),(function(){return zt(),H.autoA11y&&(f?b["aria-labelledby"]="".concat(H.replacementClass,"-title-").concat(d||ft()):(b["aria-hidden"]="true",b.focusable="false")),vt({icons:{main:It(O),mask:c?It(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:_,transform:P({},lt,r),symbol:o,title:f,maskId:l,titleId:d,extra:{attributes:b,styles:y,classes:h}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:qt(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:qt(r||{})),Dt(n,P({},e,{mask:r}))});function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xt(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function Vt(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?Yt({},t,e):{}}function te(t){var e=t.forwardedRef,n=Qt(t,["forwardedRef"]),r=n.icon,a=n.mask,o=n.symbol,i=n.className,c=n.title,s=Jt(r),l=Zt("classes",[].concat(Vt(function(t){var e,n=t.spin,r=t.pulse,a=t.fixedWidth,o=t.inverse,i=t.border,c=t.listItem,s=t.flip,l=t.size,u=t.rotation,f=t.pull,p=(Yt(e={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":o,"fa-border":i,"fa-li":c,"fa-flip-horizontal":"horizontal"===s||"both"===s,"fa-flip-vertical":"vertical"===s||"both"===s},"fa-".concat(l),null!=l),Yt(e,"fa-rotate-".concat(u),null!=u&&0!==u),Yt(e,"fa-pull-".concat(f),null!=f),Yt(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(p).map((function(t){return p[t]?t:null})).filter((function(t){return t}))}(n)),Vt(i.split(" ")))),u=Zt("transform","string"==typeof n.transform?Ft.transform(n.transform):n.transform),f=Zt("mask",Jt(a)),p=Ht(s,Xt({},l,{},u,{},f,{symbol:o,title:c}));if(!p)return function(){var t;!$t&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",s),null;var d=p.abstract,m={ref:e};return Object.keys(n).forEach((function(t){te.defaultProps.hasOwnProperty(t)||(m[t]=n[t])})),ee(d[0],m)}te.displayName="FontAwesomeIcon",te.propTypes={border:g.a.bool,className:g.a.string,mask:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),fixedWidth:g.a.bool,inverse:g.a.bool,flip:g.a.oneOf(["horizontal","vertical","both"]),icon:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),listItem:g.a.bool,pull:g.a.oneOf(["right","left"]),pulse:g.a.bool,rotation:g.a.oneOf([0,90,180,270]),size:g.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:g.a.bool,symbol:g.a.oneOfType([g.a.bool,g.a.string]),title:g.a.string,transform:g.a.oneOfType([g.a.string,g.a.object]),swapOpacity:g.a.bool},te.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var ee=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return t(e,n)})),o=Object.keys(n.attributes||{}).reduce((function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=Kt(r);break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[Gt(e)]=r}return t}),{attrs:{}}),i=r.style,c=void 0===i?{}:i,s=Qt(r,["style"]);return o.attrs.style=Xt({},o.attrs.style,{},c),e.apply(void 0,[n.tag,Xt({},o.attrs,{},s)].concat(Vt(a)))}.bind(null,m.a.createElement);function ne(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var re={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number.isRequired,pageSize:g.a.number.isRequired},ae=function(t){s()(n,t);var e=ne(n);function n(){return a()(this,n),e.apply(this,arguments)}return i()(n,[{key:"getPager",value:function(){var t,e,n=this.props,r=n.totalItems,a=n.currentPage,o=n.pageSize,i=n.changePage,c=Math.ceil(r/o),s=m.a.createElement("li",{className:"pager__ellipsis"},"..."),l=m.a.createElement("li",{className:"pager__ellipsis"},"..."),u=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),f=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(c)}},_(c,0)));c<5?(t=1,e=c,s="",l="",u="",f=""):(t=a-1,e=a+1,a<4?(s="",u="",1===a?(t=a,e=a+2):3===a&&(t=1,e=4)):a>c-3&&(l="",f="",a===c?(t=a-2,e=a):a===c-2&&(t=a-1,e=c)));var p=(a-1)*o,d=Math.min(p+(o-1),r-1),h=Object(y.range)(t,e+1);return{totalPages:c,startPage:t,endPage:e,startIndex:p,endIndex:d,pages:h,prevEllipses:s,nextEllipses:l,firstButton:u,lastButton:f}}},{key:"generatePageButtons",value:function(t){var e=this,n=this.props.currentPage;return t.map((function(t,r){return m.a.createElement("li",{key:r,className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(n===t?"pager__button_active":""),type:"button",onClick:function(){return e.props.changePage(t)}},_(t,0)))}))}},{key:"render",value:function(){var t=this.props,e=t.currentPage,n=t.changePage,r=this.getPager(),a=this.generatePageButtons(r.pages,r.totalPages);return m.a.createElement("ul",{className:"pager"},m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(1===e?"pager__button_disabled":""),type:"button",disabled:1===e,onClick:function(){return n(e-1)},title:"Previous page"},m.a.createElement(te,{icon:"angle-left"}))),r.firstButton,r.prevEllipses,a,r.nextEllipses,r.lastButton,m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(e===r.totalPages?"pager__button_disabled":""),type:"button",disabled:e===r.totalPages,onClick:function(){return n(e+1)},title:"Next page"},m.a.createElement(te,{icon:"angle-right"}))))}}]),n}(m.a.Component);ae.propTypes=re;var oe=n(4),ie=n.n(oe);function ce(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var se={changeLimit:g.a.func.isRequired,pageSize:g.a.number,limitList:g.a.arrayOf(g.a.number),label:g.a.string},le=function(t){s()(n,t);var e=ce(n);function n(t){var r;return a()(this,n),(r=e.call(this,t)).changeLimit=r.changeLimit.bind(ie()(r)),r}return i()(n,[{key:"changeLimit",value:function(t){t.preventDefault();var e=parseInt(t.target.value,10);this.props.changeLimit(e)}},{key:"render",value:function(){var t=this.props.label?this.props.label:"Rows per page: ",e=this.props,n=e.limitList,r=e.pageSize,a=n.map((function(t){return m.a.createElement("option",{key:"limit-".concat(t),value:t},t)}));return m.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},m.a.createElement("label",null,t),m.a.createElement("select",{onChange:this.changeLimit,value:r,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},a))}}]),n}(m.a.Component);function ue(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}le.propTypes=se,le.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var fe={changePage:g.a.func.isRequired,totalPages:g.a.number,id:g.a.string},pe=function(t){s()(n,t);var e=ue(n);function n(t){var r;return a()(this,n),(r=e.call(this,t)).state={goToPage:""},r.changePage=r.changePage.bind(ie()(r)),r.changedInput=r.changedInput.bind(ie()(r)),r.validPage=r.validPage.bind(ie()(r)),r}return i()(n,[{key:"changePage",value:function(t){t.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(t){this.setState({goToPage:t.target.value})}},{key:"validPage",value:function(){var t=this.state.goToPage,e=this.props.totalPages;return!(""===t||parseInt(t,10)<1||parseInt(t,10)>e)}},{key:"render",value:function(){var t=this.props.totalPages,e=t>1?"1-".concat(t):"1";return m.a.createElement("form",{className:"usa-dt-pagination__go-to"},m.a.createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),m.a.createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(t),min:"1",max:t,placeholder:e,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),m.a.createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),n}(m.a.Component);function de(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}pe.propTypes=fe,pe.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var me={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number,pageSize:g.a.number,resultsText:g.a.oneOfType([g.a.bool,g.a.element]),limitSelector:g.a.bool,changeLimit:g.a.func,goToPage:g.a.bool,id:g.a.string};n(16);var he=function(t){s()(n,t);var e=de(n);function n(){return a()(this,n),e.apply(this,arguments)}return i()(n,[{key:"getResultsText",value:function(){var t=this.props,e=t.resultsText,n=t.totalItems,r=t.currentPage,a=t.pageSize;if(m.a.isValidElement(e))return e;if(e){var o=function(t,e,n){var r=(t-1)*e+1,a=t*e;return t===Math.ceil(n/e)&&(a=n),{start:r,end:a}}(r,a,n),i=_(o.start,0),c=_(o.end,0),s=_(n,0);return m.a.createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(c," of ").concat(s," results"))}return null}},{key:"render",value:function(){var t=this.props,e=t.limitSelector,n=t.goToPage,r=t.changePage,a=t.changeLimit,o=t.currentPage,i=t.pageSize,c=t.totalItems,s=t.id,l=Math.ceil(c/i),u=this.getResultsText(),f=e?m.a.createElement(le,{changeLimit:a,pageSize:i}):null,p=n?m.a.createElement(pe,{changePage:r,totalPages:l,id:s}):null;return!e&&l<=1?null:m.a.createElement("div",{className:"usa-dt-pagination"},u,m.a.createElement("div",{className:"usa-dt-pagination__wrapper"},f,m.a.createElement(ae,{changePage:r,totalItems:c,currentPage:o,pageSize:i}),p))}}]),n}(m.a.Component);he.propTypes=me,he.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var ge=n(5),be=n.n(ge),ve=n(11),ye=n.n(ve);function we(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _e(t){for(var e=1;e800?700:n-5:"bottom"===r.props.tooltipPosition?r.props.width:r.props.wide?e>800?700:e-5:r.props.width})),be()(ie()(r),"getDimensionsForMobile",(function(t,e){return t?{top:"".concat(r.tooltipContainer.clientHeight+r.tooltipContainer.offsetTop+8,"px"),width:e,left:"".concat(r.tooltipContainer.clientWidth/2-8,"px")}:_e(_e({},r.state.spacerStyles),{},{width:e})})),r.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},r.showTooltip=r.showTooltip.bind(ie()(r)),r.closeTooltip=r.closeTooltip.bind(ie()(r)),r.setTooltipDimensions=Object(y.throttle)(r.setTooltipDimensions.bind(ie()(r)),16),r}return i()(n,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",Object(y.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",Object(y.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(t){t.wide===this.props.wide&&t.tooltipPosition===this.props.tooltipPosition||this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var t=window.innerWidth,e=this.tooltipContainer,n=e.offsetLeft;return{right:t-n-e.clientWidth,left:n,total:t}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var t=this.getTooltipWidth(),e=this.getAvailableHorizontalSpace(),n=e.left,r=e.total,a=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,o=r<700;if("bottom"===this.props.tooltipPosition||o)this.setState({arrowDirection:"bottom",spacerStyle:_e({},this.getDimensionsForMobile(o,t))});else if("left"===this.props.tooltipPosition){var i=n-t;this.setState({arrowDirection:"right",spacerStyle:{top:a,left:i-5,width:t}})}else{var c=n+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:a,left:c+5,width:t}})}}}},{key:"showTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.state.showTooltip||this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function(){var t=this,e=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(e=m.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},m.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function(e){t.tooltipReference=e}},m.a.createElement("div",{className:"tooltip__interior"},m.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),m.a.createElement("div",{className:"tooltip__content"},m.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),m.a.createElement("div",{className:ye()(be()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},m.a.createElement("div",{ref:function(e){t.tooltipContainer=e}},m.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&Pe[this.props.icon]),e))}}]),n}(m.a.Component);Ee.propTypes=ke,Ee.defaultProps=xe;n(18);var je={title:g.a.string,children:g.a.node,className:g.a.string,textAlign:g.a.shape({title:g.a.oneOf(["center","left"]),text:g.a.oneOf(["center","left"])})},Te={title:"Tooltip Info",children:m.a.createElement("p",null,"Here is some info."),className:null,textAlign:{title:"left",text:"left"}},Se=function(t){var e=t.children,n=t.title,r=t.className,a=t.textAlign;return m.a.createElement("div",{className:ye()(be()({},r,null!==r))},m.a.createElement("h1",{className:ye()("tooltip__title",a.title)},n),m.a.createElement("div",{className:ye()("tooltip__text",a.text)},e))};Se.propTypes=je,Se.defaultProps=Te;var Ne=Se,Ce=n(10),Me=n.n(Ce),Ie={disabled:g.a.bool,active:g.a.bool,showPeriods:g.a.bool,quarter:g.a.string,handleSelection:g.a.func,handleHover:g.a.func,handleBlur:g.a.func,toggleTooltip:g.a.func,title:g.a.string},Ae=function(t){var e=t.disabled,n=t.active,r=t.quarter,a=t.handleSelection,o=t.toggleTooltip,i=t.title,c=void 0===i?"":i,s=t.handleHover,l=t.handleBlur,u=t.showPeriods,f=void 0!==u&&u,p=c||"Q ".concat(r),d=function(){e?o(r):s(r,f?"period":"quarter")},h=function(){o(0),l(f?"period":"quarter")},g=function(t){t.preventDefault(),e||a(r)},b=e?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===r?b+="usa-dt-quarter-picker__quarter_first":"4"===r?b+="usa-dt-quarter-picker__quarter_last":c.includes("-")&&(b+="usa-dt-quarter-picker__quarter_double"),!e&&n&&(b+=" usa-dt-quarter-picker__quarter_active"),m.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(b),onMouseDown:g,onClick:g,onMouseOver:d,onMouseEnter:d,onFocus:d,onMouseLeave:h,onBlur:h,"aria-disabled":e},p)};Ae.propTypes=Ie;var ze=Ae,Re=(n(24),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=Object(d.useState)(t),n=Me()(e,2),r=n[0],a=n[1],o=function(t){var e=parseInt(t,10),n=r.map((function(t){return parseInt(t,10)})).filter((function(t){return t<=e})).map((function(t){return"".concat(t)}));a(n.concat([t]))};return[r,o]}),qe=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],De=function(t,e){return e.some((function(e){return parseInt(e,10)>=parseInt(t,10)}))},Le={handleSelection:g.a.func,selectedQuarters:g.a.arrayOf(g.a.string),disabledQuarters:g.a.arrayOf(g.a.string),selectedPeriods:g.a.arrayOf(g.a.string),disabledPeriods:g.a.arrayOf(g.a.string),periodsPerQuarter:g.a.arrayOf(g.a.arrayOf(g.a.shape({title:g.a.string,id:g.a.string}))),showPeriods:g.a.bool,isCumulative:g.a.bool},We=function(t){var e=t.handleSelection,n=t.disabledQuarters,r=void 0===n?[]:n,a=t.disabledPeriods,o=void 0===a?[]:a,i=t.periodsPerQuarter,c=void 0===i?qe:i,s=t.selectedQuarters,l=void 0===s?[]:s,u=t.selectedPeriods,f=void 0===u?[]:u,p=t.showPeriods,h=void 0!==p&&p,g=t.isCumulative,b=void 0!==g&&g,v=Object(d.useState)(""),w=Me()(v,2),_=w[0],O=w[1],k=Object(d.useState)(""),x=Me()(k,2),P=x[0],E=x[1],j=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===e?E(t):O(t)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===t?E(""):O("")};return m.a.createElement("div",{className:"usa-dt-quarter-picker"},m.a.createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(t,n){var a=n+1,i="".concat(a);if(h){var s=c[n],u=s.every((function(t){return o.includes(t.id)}));return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:Object(y.uniqueId)()},m.a.createElement("p",{className:u?"disabled":""},"Q".concat(a)),m.a.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},s.map((function(t){return m.a.createElement("li",{className:Object.keys(t).includes("className")?"".concat(t.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(ze,{showPeriods:h,quarter:t.id,title:t.title,disabled:o.includes(t.id),active:De(t.id,f)||parseInt(_,10)>=parseInt(t.id,10),handleHover:j,handleBlur:T,handleSelection:e,toggleTooltip:function(){}}))}))))}return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(ze,{quarter:i,disabled:r.includes(i),active:b?De(i,l)||parseInt(P,10)>=a:l.includes(i)||P===i,handleSelection:e,handleHover:j,handleBlur:T,toggleTooltip:function(){}}))}))))};We.propTypes=Le;var Fe=We;function He(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Be(t){for(var e=1;ee.name?1:0},Qe=function(t){var e=t.className,n=void 0===e?"":e,r=t.id,a=void 0===r?"":r,o=t.options,i=t.selectedOption,c=t.icon,s=void 0===c?null:c,l=t.sortFn,u=void 0===l?Xe:l,f=t.isFixedWidth,p=void 0!==f&&f,h=t.children,g=t.dropdownDirection,b=void 0===g?"right":g,v=Object(d.useRef)(null),y=Object(d.useRef)(null),w=Object(d.useState)(!1),_=Me()(w,2),O=_[0],k=_[1],x=Object(d.useState)({top:0,width:0,left:0,right:0}),P=Me()(x,2),E=P[0],j=P[1],T=function(t){t.preventDefault(),k(!O)},S=function(){y.current&&v.current&&j({top:y.current.offsetHeight,width:y.current.offsetWidth,left:y.current.offsetLeft,right:v.current.offsetWidth-(y.current.offsetWidth+y.current.offsetLeft)})};Object(d.useEffect)((function(){0!==E.width&&p&&y.current&&y.current.offsetWidth!==E.width&&S()})),Object(d.useEffect)((function(){var t=function(t){O&&v.current&&!v.current.contains(t.target)&&t.target.id!=="".concat(a,"-").concat(Ye)&&t.target.parentNode.id!=="".concat(a,"-").concat(Ye)&&k(!1)};return S(),document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}),[O]);return m.a.createElement("div",{id:a,className:"usa-dt-picker ".concat(n),ref:v},s&&m.a.createElement("div",{className:"usa-dt-picker__icon"},s),m.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},h?m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:T},h):m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:T},m.a.createElement("span",{className:"usa-dt-picker__button-text"},i),m.a.createElement("span",{className:"usa-dt-picker__button-icon"},!O&&m.a.createElement(te,{id:"".concat(a,"-").concat(Ye),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),O&&m.a.createElement(te,{id:"".concat(a,"-").concat(Ye),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),m.a.createElement("ul",{className:"usa-dt-picker__list ".concat(O?"":"hide"),style:function(){var t={top:"".concat(E.top,"px"),left:"".concat(E.left,"px")};return p&&"right"===b?Be(Be({},t),{},{width:"".concat(E.width,"px")}):p&&"left"===b?{top:t.top,right:"".concat(E.right),width:"".concat(E.width,"px")}:"left"===b?{top:t.top,right:"".concat(E.right,"px")}:t}()},o.sort((function(t,e){return u(t,e,i)})).map((function(t){return Be(Be({},t),{},{onClick:(e=t.onClick,function(t){t.preventDefault(),e(t.target.value),k(!1)})});var e})).map((function(t){return m.a.createElement("li",{key:t.name,className:"usa-dt-picker__list-item"},m.a.createElement("button",{className:"usa-dt-picker__item ".concat(t.name===i?"active":""),value:"".concat(t.value||t.name),onClick:t.onClick},t.component?t.component:t.name))})))))};Qe.propTypes=Ue;var Ve=Qe,Ge=n(13),Ke=n.n(Ge),$e={isActive:g.a.bool,title:g.a.string.isRequired,displayName:g.a.oneOfType([g.a.string,g.a.element]).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,right:g.a.bool},Je=function(t){var e,n,r=function(e){t.updateSort(t.title,e.target.value)},a=t.isActive&&"asc"===(null===(e=t.currentSort)||void 0===e?void 0:e.direction)?" table-header__icon_active":"",o=t.isActive&&"desc"===(null===(n=t.currentSort)||void 0===n?void 0:n.direction)?" table-header__icon_active":"",i=m.a.createElement("div",{className:"table-header__sort"},m.a.createElement("button",{onClick:r,className:"table-header__icon".concat(a),value:"asc",title:"Sort table by ascending ".concat(t.displayName),"aria-label":"Sort table by ascending ".concat(t.displayName)},m.a.createElement(te,{size:"2x",icon:"caret-up"})),m.a.createElement("button",{onClick:r,className:"table-header__icon".concat(o),value:"desc",title:"Sort table by descending ".concat(t.displayName),"aria-label":"Sort table by descending ".concat(t.displayName)},m.a.createElement(te,{size:"2x",icon:"caret-down"})));return m.a.createElement("th",{className:"table-header"},m.a.createElement("div",{className:"table-header__content".concat(t.right?" table-header__content_right":"")},m.a.createElement("div",{className:"table-header__label"},t.displayName),t.updateSort&&i))};Je.propTypes=$e;var Ze=Je,tn={data:g.a.object,columns:g.a.array,oddClass:g.a.string,divider:g.a.string},en=function(t){var e=t.data,n=t.columns,r=t.oddClass,a=t.divider,o=Object(d.useState)(!1),i=Me()(o,2),c=i[0],s=i[1],l=c?"chevron-down":"chevron-right",u=n.map((function(t){return t.title})),f=function(){s(!c)},p=m.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(r)},m.a.createElement("td",{colSpan:n.length,className:"usda-table__cell usda-table__cell_child"},m.a.createElement("div",{className:"usda-table__child-cell-content"},a)));return m.a.createElement(m.a.Fragment,null,m.a.createElement("tr",{className:"usda-table__row".concat(r," usda-table__row_expandable")},u.map((function(t,r){return"name"===t&&e.children?m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell"},m.a.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:f},m.a.createElement(te,{icon:l,size:"2x"})),m.a.createElement("p",null,e.name)):m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat("name"===t?" usda-table__cell_name":"").concat(n[r].right?" usda-table__cell_right":"")},e[t])}))),e.children&&c?m.a.createElement(m.a.Fragment,null,a&&p,e.children.map((function(t,a){var o=a===e.children.length-1?" usda-table__child-row_last":"";return m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__child-row".concat(o).concat(r)},u.map((function(e,r){return m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell ".concat(n[r].right?" usda-table__cell_right":""," usda-table__cell_child")},m.a.createElement("div",{className:"usda-table__child-cell-content"},t[e]))})))}))):null)};en.propTypes=tn;var nn=en;n(26);var rn={columns:g.a.arrayOf(g.a.object).isRequired,rows:g.a.arrayOf(Object(h.oneOfType)([g.a.array,g.a.object])).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,expandable:g.a.bool,divider:g.a.string},an=function(t){return m.a.createElement("table",{className:"usda-table"},m.a.createElement("thead",{className:"usda-table__head"},m.a.createElement("tr",{className:"usda-table__row"},t.columns.map((function(e){var n;return m.a.createElement(Ze,Ke()({key:Object(y.uniqueId)(),currentSort:t.currentSort,updateSort:t.updateSort,isActive:(null===(n=t.currentSort)||void 0===n?void 0:n.field)===e.title},e))})))),m.a.createElement("tbody",{className:"usda-table__body"},t.rows.map((function(e,n){var r=n%2==0?"":" usda-table__row_odd";return t.expandable?m.a.createElement(nn,{key:Object(y.uniqueId)(),data:e,oddClass:r,columns:t.columns,divider:t.divider}):m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__row".concat(r)},e.map((function(e,n){var r;return t.columns[n]&&m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat((null===(r=t.columns[n])||void 0===r?void 0:r.right)?" usda-table__cell_right":"")},e)})))}))))};an.propTypes=rn;var on=an;n(27)}])})); \ No newline at end of file diff --git a/docs/iframe.html b/docs/iframe.html index 511057cf..2e9935bb 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -60,14 +60,15 @@ }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file + }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d5f55544..b20b724c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -StorybookData Transparency UI
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/main.44b2d03b5bf4085b2d0b.bundle.js b/docs/main.44b2d03b5bf4085b2d0b.bundle.js new file mode 100644 index 00000000..583c1cf7 --- /dev/null +++ b/docs/main.44b2d03b5bf4085b2d0b.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1291:function(n,o,c){"use strict";c.r(o);c(1292),c(1295),c(1406),c(1418),c(1422)},493:function(n,o,c){c(494),c(641),n.exports=c(1291)},558:function(n,o){}},[[493,1,2]]]); \ No newline at end of file diff --git a/docs/main.8d2305287a3fdd5e443f.bundle.js b/docs/main.8d2305287a3fdd5e443f.bundle.js deleted file mode 100644 index 41267428..00000000 --- a/docs/main.8d2305287a3fdd5e443f.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1255:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(448);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1263:function(module,exports,__webpack_require__){},1264:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1265,"./pagination.stories.mdx":1292,"./picker.stories.mdx":1297,"./quarterPicker.stories.mdx":1288,"./table.stories.mdx":1295,"./tooltip.stories.mdx":1298};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1264},1265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(56),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(0),__webpack_require__(1)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXLayout,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.Meta,{title:"Introduction",parameters:{options:{showAddonPanel:!1}},mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h1",null,"Data Transparency User Interface (UI) Component Library"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The purpose of this project is to give visibility into the patterns built into the\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://broker.usaspending.gov/"}),"Broker")," and ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://usaspending.gov/"}),"USASpending")," UI and their corresponding techincal implementations.\nThese implementations, referred to as UI Components, exist outside of the USASpending\nand Broker codebase."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"With this visibility & independence, the following benefits arise:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"UI/UX & Development Teams can identify a one-to-one relationship between designs and their implementations in code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"USASpending & Broker can reuse the same code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Integration with these components within USASpending and Broker will result in the ability to redesign or improve these components\nin a single place and then see those changes propagated throughout the website immediately.")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"UI/UX & Development Collaboration Process"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The below info-graphic displays how the UI/UX and Development Teams will iteratively work together to identify new components for this library."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("img",{src:"./img/ui_ux_approval.png",alt:"Data Transparency USASpending.gov logo"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"Component Library Contribution"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://github.com/storybookjs/storybook"}),"storybook")," to demonstrate our library of components and their technical implementations.\nThis open-source project has nearly 1K contributors and is constantly improving."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Creating a New Story for a Component"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://mdxjs.com/advanced/api"}),"mdx")," to document our components."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"Currently, we are using the following Storybook features to display our current implementation:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/knobs"}),"Knobs")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/a11y"}),"Accessibility")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/viewport"}),"Mobile Responsiveness")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/actions"}),"Actions")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/docs"}),"Docs"))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Technical Directions for Adding New Components"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"When adding a new component to this library, please follow the below guide:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Build storybook artifacts and Component's CSS by running ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"npm run build"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",{parentName:"li"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Storybook build artifacts are compiled in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"docs/")," and deployed using GitHub Pages once merged to the master branch"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Component CSS is compiled to ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"dist/")))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Export the new component in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"index.js")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Consult the storybook documentation")))}MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.story={parameters:{docsOnly:!0}};var componentMeta={title:"Introduction",parameters:{options:{showAddonPanel:!1}},includeStories:["__page"]},mdxStoryNameToId={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
\n \n \n \n
"};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToId={Default:"quarter-picker--default-story","Cumulative Picker":"quarter-picker--cumulative-picker","w/ Periods":"quarter-picker--w-periods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;itotalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(138),__webpack_require__(189);var assertThisInitialized=__webpack_require__(15),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(LimitSelector).call(this,props))).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(LimitSelector,_React$Component),createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(GoToPage).call(this,props))).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(GoToPage,_React$Component),createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Pagination",component:Pagination_Pagination,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"This means the component relies on its parent to pass the following props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"currentPage")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"changePage")," (",Object(index_es.mdx)("em",{parentName:"li"},"required"),")"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"changeLimit")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"pageSize"))),Object(index_es.mdx)("p",null,"In this example, our parent -- ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PaginationWrapper")," -- looks like this before the render:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-javascript"}),'const [page, changePage] = useState(1);\nconst [pageSize, changeLimit] = useState(10);\n\nconst handlePageChange = (pg) => {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n } totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToId={'Limit selector and "Go to page"':"pagination--limit-selector-and-go-to-page",'"Go to Page"':"pagination--go-to-page","Limit Selector":"pagination--limit-selector","Custom Results Text":"pagination--custom-results-text","Default Results Text":"pagination--default-results-text",Default:"pagination--default-story"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(index_es.mdx)("h3",null,"Other props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(index_es.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(index_es.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"children"))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(index_es.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(index_es.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(index_es.mdx)(misc.a,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToId={Table:"table--table","Table without Sorting":"table--table-without-sorting","Expandable Table without Divider":"table--expandable-table-without-divider","Expandable Table with Divider":"table--expandable-table-with-divider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,pickerRef=Object(react.useRef)(null),buttonRef=Object(react.useRef)(null),_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread({},styles,{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread({},option,{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(16);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Picker",component:components_Picker,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"w/ Children",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}))))),Object(index_es.mdx)(blocks.Props,{of:components_Picker,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"The props ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"selectedOption")," and ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"onClick")," are defined inside a parent component; in this case, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PickerWrapper"),"."),Object(index_es.mdx)("h2",null,"Invoking the Component w/ Children"),Object(index_es.mdx)("p",null,"The children passed to this component are intended for use when you need customized markup for the collapsed state of the picier component. The main thing you lose when passing children is ",Object(index_es.mdx)("strong",{parentName:"p"},"the dynamic toggle icon")," (",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-down")," when collapsed, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-up")," when expanded)."),Object(index_es.mdx)("p",null,"This would be fine if the parent could see the local state of the component ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded"),". Perhaps this could be achieved by engineering a new function prop which expects ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," as a parameter and is called every time the ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," changes. That way, the parent can:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},"(a) see the value of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"epxanded")," and"),Object(index_es.mdx)("li",{parentName:"ul"},"(b) then decide what to do with it on when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"true")," vs when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"false"),".")),Object(index_es.mdx)("p",null,"Here is the conditional logic in the markup for your reference:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-html"}),'
\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToId={Default:"picker--default-story","w/ Children":"picker--w-children"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function picker_stories_objectSpread(target){for(var i=1;itotal?total-10:_this.props.wide&&"left"===_this.props.tooltipPosition?800total;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:_objectSpread({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("left"===this.props.tooltipPosition)this.setState({arrowDirection:"right",spacerStyle:{top:offsetTop,left:spaceToLeft-tooltipWidth-horizontalPadding,width:tooltipWidth}});else{var _startingPositionLeft=spaceToLeft+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:offsetTop,left:_startingPositionLeft+horizontalPadding,width:tooltipWidth}})}}}},{key:"showTooltip",value:function showTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():!this.state.showTooltip&&this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function closeTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function render(){var _this2=this,tooltip=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(tooltip=react_default.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},react_default.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function ref(div){_this2.tooltipReference=div}},react_default.a.createElement("div",{className:"tooltip__interior"},react_default.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),react_default.a.createElement("div",{className:"tooltip__content"},react_default.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),react_default.a.createElement("div",{className:classnames_default()(defineProperty_default()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},react_default.a.createElement("div",{ref:function ref(div){_this2.tooltipContainer=div}},react_default.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&tooltipIcons[this.props.icon]),tooltip))}}]),TooltipWrapper}(react_default.a.Component);TooltipWrapper_TooltipWrapper.displayName="TooltipWrapper",TooltipWrapper_TooltipWrapper.propTypes=propTypes,TooltipWrapper_TooltipWrapper.defaultProps=defaultProps,TooltipWrapper_TooltipWrapper.__docgenInfo={description:"",methods:[{name:"onMouseMoveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseLeaveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"getAvailableHorizontalSpace",docblock:null,modifiers:[],params:[],returns:null},{name:"getTooltipWidth",docblock:null,modifiers:[],params:[],returns:null},{name:"getDimensionsForMobile",docblock:null,modifiers:[],params:[{name:"isMobile",type:null},{name:"width",type:null}],returns:null},{name:"setTooltipDimensions",docblock:null,modifiers:[],params:[],returns:null},{name:"showTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"closeTooltip",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TooltipWrapper",props:{className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},children:{defaultValue:{value:"null",computed:!1},type:{name:"element"},required:!1,description:""},toolTipComponent:{defaultValue:{value:"null",computed:!1},required:!1},tooltipPosition:{defaultValue:{value:"'right'",computed:!1},type:{name:"string"},required:!1,description:""},wide:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},icon:{defaultValue:{value:'""',computed:!1},type:{name:"string"},required:!1,description:""},controlledProps:{defaultValue:{value:"{\n isControlled: false,\n showTooltip: () => {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},width:{defaultValue:{value:"375",computed:!1},type:{name:"number"},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\n right: 0, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(292);var misc=__webpack_require__(16);function tooltip_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Tooltip Wrapper",component:TooltipWrapper_TooltipWrapper,decorators:[dist.withKnobs,addon_a11y_dist.withA11y],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Tooltip Wrapper",mdxType:"Story"},Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,{mdxType:"Tooltip"}),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),Object(index_es.mdx)(blocks.Props,{of:TooltipWrapper_TooltipWrapper,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Home Page Hero"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Advanced Search"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Profile Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Profile Page")),Object(index_es.mdx)("h3",null,"Broker Integration Status:"))}MDXContent.isMDXComponent=!0;var tooltip_stories_tooltipWrapper=function tooltipWrapper(){return Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,null),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};tooltip_stories_tooltipWrapper.story={},tooltip_stories_tooltipWrapper.story.name="Tooltip Wrapper",tooltip_stories_tooltipWrapper.story.parameters={mdxSource:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToId={"Tooltip Wrapper":"tooltip-wrapper--tooltip-wrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function tooltip_stories_objectSpread(target){for(var i=1;iHere is some info.

    ",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},449:function(module,exports,__webpack_require__){__webpack_require__(450),__webpack_require__(561),module.exports=__webpack_require__(562)},471:function(module,exports){},562:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(39),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(149),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(439),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(447),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(150),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(13);__webpack_require__(1255),__webpack_require__(1263);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1264),module)}.call(this,__webpack_require__(563)(module))},67:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(20),__webpack_require__(234),__webpack_require__(1284),__webpack_require__(48),__webpack_require__(72),__webpack_require__(12),__webpack_require__(270),__webpack_require__(8),__webpack_require__(189),__webpack_require__(73);var slicedToArray=__webpack_require__(39),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(10),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1286);__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:void 0!==_ref$isCumulative&&_ref$isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[449,1,2]]]); -//# sourceMappingURL=main.8d2305287a3fdd5e443f.bundle.js.map \ No newline at end of file diff --git a/docs/main.8d2305287a3fdd5e443f.bundle.js.map b/docs/main.8d2305287a3fdd5e443f.bundle.js.map deleted file mode 100644 index f50de7fe..00000000 --- a/docs/main.8d2305287a3fdd5e443f.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.8d2305287a3fdd5e443f.bundle.js","sources":["webpack:///main.107c9dea01ebbacd8aaf.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/main.bc0cb98698183044dc6d.bundle.js b/docs/main.bc0cb98698183044dc6d.bundle.js new file mode 100644 index 00000000..b9e6cb81 --- /dev/null +++ b/docs/main.bc0cb98698183044dc6d.bundle.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1318:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(12);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1319:function(module,exports,__webpack_require__){},1320:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1321,"./pagination.stories.mdx":1348,"./picker.stories.mdx":1352,"./quarterPicker.stories.mdx":1344,"./table.stories.mdx":1350,"./tooltip.stories.mdx":1353};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1320},1321:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(57),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(1),__webpack_require__(0)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(4);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
    \n \n \n \n
    "};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToKey={Default:"defaultStory","Cumulative Picker":"cumulativePicker","w/ Periods":"wPeriods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1345:function(module,exports,__webpack_require__){},1346:function(module,exports,__webpack_require__){},1348:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),classCallCheck=(__webpack_require__(23),__webpack_require__(27),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),accounting=(__webpack_require__(1332),__webpack_require__(8),__webpack_require__(167)),accounting_default=__webpack_require__.n(accounting),lodash=__webpack_require__(11),accountingOptions={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},formatNumberWithPrecision=function(number,precision){var options=Object.assign({},accountingOptions,{symbol:"",precision:precision});return accounting_default.a.formatMoney(number,options)},index_es=(__webpack_require__(13),__webpack_require__(49));function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var propTypes={changePage:prop_types_default.a.func.isRequired,totalItems:prop_types_default.a.number.isRequired,currentPage:prop_types_default.a.number.isRequired,pageSize:prop_types_default.a.number.isRequired},Pager_ref=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref2=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref3=react_default.a.createElement(index_es.a,{icon:"angle-left"}),_ref4=react_default.a.createElement(index_es.a,{icon:"angle-right"}),Pager_Pager=function(_React$Component){inherits_default()(Pager,_React$Component);var _super=_createSuper(Pager);function Pager(){return classCallCheck_default()(this,Pager),_super.apply(this,arguments)}return createClass_default()(Pager,[{key:"getPager",value:function getPager(){var startPage,endPage,_this$props=this.props,totalItems=_this$props.totalItems,currentPage=_this$props.currentPage,pageSize=_this$props.pageSize,changePage=_this$props.changePage,totalPages=Math.ceil(totalItems/pageSize),prevEllipses=Pager_ref,nextEllipses=_ref2,firstButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(1)}},1)),lastButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(totalPages)}},formatNumberWithPrecision(totalPages,0)));5>totalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(152),__webpack_require__(205);var assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized);function LimitSelector_createSuper(Derived){var hasNativeReflectConstruct=function LimitSelector_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){inherits_default()(LimitSelector,_React$Component);var _super=LimitSelector_createSuper(LimitSelector);function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=_super.call(this,props)).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);function GoToPage_createSuper(Derived){var hasNativeReflectConstruct=function GoToPage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){inherits_default()(GoToPage,_React$Component);var _super=GoToPage_createSuper(GoToPage);function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=_super.call(this,props)).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n
} totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToKey={'Limit selector and "Go to page"':"limitSelectorAndGoToPage",'"Go to Page"':"goToPage","Limit Selector":"limitSelector","Custom Results Text":"customResultsText","Default Results Text":"defaultResultsText",Default:"defaultStory"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1350:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"table",(function(){return table_stories_table})),__webpack_require__.d(__webpack_exports__,"tableWithoutSorting",(function(){return table_stories_tableWithoutSorting})),__webpack_require__.d(__webpack_exports__,"expandableTableWithoutDivider",(function(){return table_stories_expandableTableWithoutDivider})),__webpack_require__.d(__webpack_exports__,"expandableTableWithDivider",(function(){return table_stories_expandableTableWithDivider}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),prop_types=(__webpack_require__(13),__webpack_require__(2)),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),index_es=__webpack_require__(49),propTypes={isActive:prop_types_default.a.bool,title:prop_types_default.a.string.isRequired,displayName:prop_types_default.a.oneOfType([prop_types_default.a.string,prop_types_default.a.element]).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,right:prop_types_default.a.bool},TableHeader_ref=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-up"}),_ref2=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-down"}),TableHeaderCell=function(props){var _props$currentSort,_props$currentSort2,clickedSort=function(e){props.updateSort(props.title,e.target.value)},activeAsc=props.isActive&&"asc"===(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.direction)?" table-header__icon_active":"",activeDesc=props.isActive&&"desc"===(null===(_props$currentSort2=props.currentSort)||void 0===_props$currentSort2?void 0:_props$currentSort2.direction)?" table-header__icon_active":"",sort=react_default.a.createElement("div",{className:"table-header__sort"},react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeAsc),value:"asc",title:"Sort table by ascending ".concat(props.displayName),"aria-label":"Sort table by ascending ".concat(props.displayName)},TableHeader_ref),react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeDesc),value:"desc",title:"Sort table by descending ".concat(props.displayName),"aria-label":"Sort table by descending ".concat(props.displayName)},_ref2));return react_default.a.createElement("th",{className:"table-header"},react_default.a.createElement("div",{className:"table-header__content".concat(props.right?" table-header__content_right":"")},react_default.a.createElement("div",{className:"table-header__label"},props.displayName),props.updateSort&&sort))};TableHeaderCell.displayName="TableHeaderCell",TableHeaderCell.propTypes=propTypes,TableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"TableHeaderCell",props:{isActive:{type:{name:"bool"},required:!1,description:""},title:{type:{name:"string"},required:!0,description:""},displayName:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},right:{type:{name:"bool"},required:!1,description:""}}};var TableHeader=TableHeaderCell;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/TableHeader.jsx"]={name:"TableHeaderCell",docgenInfo:TableHeaderCell.__docgenInfo,path:"components/table/TableHeader.jsx"});__webpack_require__(23),__webpack_require__(26);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),ExpandableRow_propTypes={data:prop_types_default.a.object,columns:prop_types_default.a.array,oddClass:prop_types_default.a.string,divider:prop_types_default.a.string},ExpandableRow=function(_ref){var data=_ref.data,columns=_ref.columns,oddClass=_ref.oddClass,divider=_ref.divider,_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],icon=expanded?"chevron-down":"chevron-right",columnTitles=columns.map((function(_ref2){return _ref2.title})),dividerRow=react_default.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(oddClass)},react_default.a.createElement("td",{colSpan:columns.length,className:"usda-table__cell usda-table__cell_child"},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},divider))),_ref3=react_default.a.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:function toggleExpand(){setExpanded(!expanded)}},react_default.a.createElement(index_es.a,{icon:icon,size:"2x"}));return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("tr",{className:"usda-table__row".concat(oddClass," usda-table__row_expandable")},columnTitles.map((function(col,i){return"name"===col&&data.children?react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell"},_ref3,react_default.a.createElement("p",null,data.name)):react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat("name"===col?" usda-table__cell_name":"").concat(columns[i].right?" usda-table__cell_right":"")},data[col])}))),data.children&&expanded?react_default.a.createElement(react_default.a.Fragment,null,divider&÷rRow,data.children.map((function(childRow,j){var lastClass=j===data.children.length-1?" usda-table__child-row_last":"";return react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__child-row".concat(lastClass).concat(oddClass)},columnTitles.map((function(col,k){return react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell ".concat(columns[k].right?" usda-table__cell_right":""," usda-table__cell_child")},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},childRow[col]))})))}))):null)};ExpandableRow.propTypes=ExpandableRow_propTypes,ExpandableRow.__docgenInfo={description:"",methods:[],displayName:"ExpandableRow",props:{data:{type:{name:"object"},required:!1,description:""},columns:{type:{name:"array"},required:!1,description:""},oddClass:{type:{name:"string"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_ExpandableRow=ExpandableRow;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/ExpandableRow.jsx"]={name:"ExpandableRow",docgenInfo:ExpandableRow.__docgenInfo,path:"components/table/ExpandableRow.jsx"}),__webpack_require__(1345);var Table_propTypes={columns:prop_types_default.a.arrayOf(prop_types_default.a.object).isRequired,rows:prop_types_default.a.arrayOf(Object(prop_types.oneOfType)([prop_types_default.a.array,prop_types_default.a.object])).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,expandable:prop_types_default.a.bool,divider:prop_types_default.a.string},Table=function(props){return react_default.a.createElement("table",{className:"usda-table"},react_default.a.createElement("thead",{className:"usda-table__head"},react_default.a.createElement("tr",{className:"usda-table__row"},props.columns.map((function(col){var _props$currentSort;return react_default.a.createElement(TableHeader,extends_default()({key:Object(lodash.uniqueId)(),currentSort:props.currentSort,updateSort:props.updateSort,isActive:(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.field)===col.title},col))})))),react_default.a.createElement("tbody",{className:"usda-table__body"},props.rows.map((function(row,i){var oddClass=0==i%2?"":" usda-table__row_odd";return props.expandable?react_default.a.createElement(table_ExpandableRow,{key:Object(lodash.uniqueId)(),data:row,oddClass:oddClass,columns:props.columns,divider:props.divider}):react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__row".concat(oddClass)},row.map((function(data,j){var _props$columns$j;return props.columns[j]&&react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat((null===(_props$columns$j=props.columns[j])||void 0===_props$columns$j?void 0:_props$columns$j.right)?" usda-table__cell_right":"")},data)})))}))))};Table.displayName="Table",Table.propTypes=Table_propTypes,Table.__docgenInfo={description:"",methods:[],displayName:"Table",props:{columns:{type:{name:"arrayOf",value:{name:"object"}},required:!0,description:""},rows:{type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},expandable:{type:{name:"bool"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_Table=Table;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/Table.jsx"]={name:"Table",docgenInfo:Table.__docgenInfo,path:"components/table/Table.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(esm.mdx)("h3",null,"Other props:"),Object(esm.mdx)("ul",null,Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(esm.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(esm.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(esm.mdx)("inlineCode",{parentName:"li"},"children"))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(esm.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(esm.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(esm.mdx)(misc.a,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToKey={Table:"table","Table without Sorting":"tableWithoutSorting","Expandable Table without Divider":"expandableTableWithoutDivider","Expandable Table with Divider":"expandableTableWithDivider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1352:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),addon_actions_dist=__webpack_require__(84),index_es=__webpack_require__(49),slicedToArray=(__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(13),__webpack_require__(404),__webpack_require__(26),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(42),__webpack_require__(43)),slicedToArray_default=__webpack_require__.n(slicedToArray),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,pickerRef=Object(react.useRef)(null),buttonRef=Object(react.useRef)(null),_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread(_objectSpread({},styles),{},{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread(_objectSpread({},option),{},{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(17);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function picker_stories_objectSpread(target){for(var i=1;i\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(esm.mdx)(index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(esm.mdx)(index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToKey={Default:"defaultStory","w/ Children":"wChildren"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=picker_stories_objectSpread(picker_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1353:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),classCallCheck=(__webpack_require__(7),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(27),__webpack_require__(152),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(82),__webpack_require__(42),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),classnames=__webpack_require__(136),classnames_default=__webpack_require__.n(classnames),index_es=__webpack_require__(49);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;itotal?total-10:_this.props.wide&&"left"===_this.props.tooltipPosition?800total;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:_objectSpread({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("left"===this.props.tooltipPosition)this.setState({arrowDirection:"right",spacerStyle:{top:offsetTop,left:spaceToLeft-tooltipWidth-5,width:tooltipWidth}});else{var _startingPositionLeft=spaceToLeft+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:offsetTop,left:_startingPositionLeft+5,width:tooltipWidth}})}}}},{key:"showTooltip",value:function showTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.state.showTooltip||this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function closeTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function render(){var _this2=this,tooltip=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(tooltip=react_default.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},react_default.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function ref(div){_this2.tooltipReference=div}},react_default.a.createElement("div",{className:"tooltip__interior"},react_default.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),react_default.a.createElement("div",{className:"tooltip__content"},react_default.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),react_default.a.createElement("div",{className:classnames_default()(defineProperty_default()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},react_default.a.createElement("div",{ref:function ref(div){_this2.tooltipContainer=div}},react_default.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&tooltipIcons[this.props.icon]),tooltip))}}]),TooltipWrapper}(react_default.a.Component);TooltipWrapper_TooltipWrapper.displayName="TooltipWrapper",TooltipWrapper_TooltipWrapper.propTypes=propTypes,TooltipWrapper_TooltipWrapper.defaultProps=defaultProps,TooltipWrapper_TooltipWrapper.__docgenInfo={description:"",methods:[{name:"onMouseMoveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseLeaveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"getAvailableHorizontalSpace",docblock:null,modifiers:[],params:[],returns:null},{name:"getTooltipWidth",docblock:null,modifiers:[],params:[],returns:null},{name:"getDimensionsForMobile",docblock:null,modifiers:[],params:[{name:"isMobile",type:null},{name:"width",type:null}],returns:null},{name:"setTooltipDimensions",docblock:null,modifiers:[],params:[],returns:null},{name:"showTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"closeTooltip",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TooltipWrapper",props:{className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},children:{defaultValue:{value:"null",computed:!1},type:{name:"element"},required:!1,description:""},toolTipComponent:{defaultValue:{value:"null",computed:!1},required:!1},tooltipPosition:{defaultValue:{value:"'right'",computed:!1},type:{name:"string"},required:!1,description:""},wide:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},icon:{defaultValue:{value:'""',computed:!1},type:{name:"string"},required:!1,description:""},controlledProps:{defaultValue:{value:"{\n isControlled: false,\n showTooltip: () => {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},width:{defaultValue:{value:"375",computed:!1},type:{name:"number"},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\n right: 0, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(305);var misc=__webpack_require__(17);function tooltip_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function tooltip_stories_objectSpread(target){for(var i=1;i\n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
'};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToKey={"Tooltip Wrapper":"tooltipWrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=tooltip_stories_objectSpread(tooltip_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},17:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"h",(function(){return Tooltip})),__webpack_require__.d(__webpack_exports__,"b",(function(){return PaginationWrapper})),__webpack_require__.d(__webpack_exports__,"f",(function(){return QuarterPickerWrapper})),__webpack_require__.d(__webpack_exports__,"d",(function(){return QuarterPickerCumulative})),__webpack_require__.d(__webpack_exports__,"e",(function(){return QuarterPickerWithPeriods})),__webpack_require__.d(__webpack_exports__,"c",(function(){return PickerWrapper})),__webpack_require__.d(__webpack_exports__,"g",(function(){return TableWrapper})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BasicTableWrapper}));__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(22),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(380),__webpack_require__(82),__webpack_require__(25),__webpack_require__(42),__webpack_require__(28);var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(311),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__),react__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_20__),_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(305),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(69);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;iHere is some info.

",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},478:function(module,exports,__webpack_require__){__webpack_require__(479),__webpack_require__(625),module.exports=__webpack_require__(626)},543:function(module,exports){},626:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(165),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(469),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(477),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(166),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14);__webpack_require__(1318),__webpack_require__(1319);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1320),module)}.call(this,__webpack_require__(627)(module))},69:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));__webpack_require__(23),__webpack_require__(187),__webpack_require__(1340),__webpack_require__(51),__webpack_require__(81),__webpack_require__(13),__webpack_require__(182),__webpack_require__(10),__webpack_require__(205),__webpack_require__(82);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(1),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1342);var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,isCumulative=void 0!==_ref$isCumulative&&_ref$isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[478,1,2]]]); +//# sourceMappingURL=main.bc0cb98698183044dc6d.bundle.js.map \ No newline at end of file diff --git a/docs/main.bc0cb98698183044dc6d.bundle.js.map b/docs/main.bc0cb98698183044dc6d.bundle.js.map new file mode 100644 index 00000000..93015ae6 --- /dev/null +++ b/docs/main.bc0cb98698183044dc6d.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.bc0cb98698183044dc6d.bundle.js","sources":["webpack:///main.bc0cb98698183044dc6d.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/main.bdeb9f13706318054a20.bundle.js b/docs/main.bdeb9f13706318054a20.bundle.js deleted file mode 100644 index 9576af19..00000000 --- a/docs/main.bdeb9f13706318054a20.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(n,o,c){c(439),c(551),n.exports=c(982)},1:function(n,o){},551:function(n,o,c){"use strict";c.r(o);c(552),c(575),c(874),c(898),c(951)}},[[0,1,2]]]); \ No newline at end of file diff --git a/docs/runtime~main.44172ae601677c5429df.bundle.js b/docs/runtime~main.286b69a873d49f2f199c.bundle.js similarity index 100% rename from docs/runtime~main.44172ae601677c5429df.bundle.js rename to docs/runtime~main.286b69a873d49f2f199c.bundle.js diff --git a/docs/runtime~main.8d2305287a3fdd5e443f.bundle.js.map b/docs/runtime~main.8d2305287a3fdd5e443f.bundle.js.map deleted file mode 100644 index 4b8f0ce3..00000000 --- a/docs/runtime~main.8d2305287a3fdd5e443f.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"runtime~main.8d2305287a3fdd5e443f.bundle.js","sources":["webpack:///runtime~main.754d42d104b3e6476876.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/runtime~main.8d2305287a3fdd5e443f.bundle.js b/docs/runtime~main.bc0cb98698183044dc6d.bundle.js similarity index 97% rename from docs/runtime~main.8d2305287a3fdd5e443f.bundle.js rename to docs/runtime~main.bc0cb98698183044dc6d.bundle.js index 5f08b7e7..6c1da885 100644 --- a/docs/runtime~main.8d2305287a3fdd5e443f.bundle.js +++ b/docs/runtime~main.bc0cb98698183044dc6d.bundle.js @@ -1,2 +1,2 @@ !function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - /*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) @@ -47,13 +36,23 @@ */ /*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ -/** @license React v16.8.6 - * react.production.min.js +/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + +/** @license React v0.18.0 + * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -61,8 +60,8 @@ * LICENSE file in the root directory of this source tree. */ -/** @license React v16.8.6 - * react-is.production.min.js +/** @license React v16.12.0 + * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -70,8 +69,8 @@ * LICENSE file in the root directory of this source tree. */ -/** @license React v0.13.6 - * scheduler.production.min.js +/** @license React v16.12.0 + * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -79,26 +78,36 @@ * LICENSE file in the root directory of this source tree. */ -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ - -/*! - * Fuse.js v3.4.5 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/** @license React v16.8.6 - * react-dom.production.min.js +/** @license React v16.12.0 + * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ + +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ diff --git a/docs/sb_dll/storybook_ui_dll.js b/docs/sb_dll/storybook_ui_dll.js index 60c1b068..9069550e 100644 --- a/docs/sb_dll/storybook_ui_dll.js +++ b/docs/sb_dll/storybook_ui_dll.js @@ -1,2 +1,2 @@ /*! License information can be found in storybook_ui_dll.LICENCE */ -var storybook_ui_dll=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"+/OB":function(e,t,n){n("ax0f")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"+/eK":function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"+2Mq":function(e,t,n){"use strict";n.r(t);var r=n("Y5XF");n.d(t,"default",function(){return r.default})},"+7q0":function(e,t,n){var r=n("eN33"),o=n("Pz+s"),i=n("zWgn"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},"+7uE":function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n("ERkP")),o=u(n("vbDw")),i=n("9NtK"),a=u(n("MBcr"));function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.r(t),n.d(t,"default",function(){return r})},"//nZ":function(e,t,n){var r=n("QwI6"),o=n("cH1A")(function(e,t){return null==e?{}:r(e,t)});e.exports=o},"/2Cm":function(e,t,n){"use strict";var r=n("tBqf");e.exports=r},"/30y":function(e,t,n){var r=n("Dhk8"),o=n("tLQN"),i="[object Arguments]";e.exports=function(e){return o(e)&&r(e)==i}},"/4m8":function(e,t,n){"use strict";var r,o,i,a=n("DjlN"),u=n("0HP5"),l=n("8aeu"),c=n("fVMg"),s=n("DpO5"),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||l(r,f)||u(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},"/Cka":function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("2G9S"),n("lTEL"),n("7x/C"),n("87if"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.darkenColor=t.lightenColor=t.mkColor=void 0;var r=n("7Zgl"),o=n("uXhg");function i(e){return(i="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})(e)}t.mkColor=function(e){return{color:e}};var a=function(e){return function(t){if(!function(e){return"string"==typeof e||(o.logger.warn("Color passed to theme object should be a string. Instead "+"".concat(e,"(").concat(i(e),") was passed.")),!1)}(t))return t;if(!function(e){return!/(gradient|var|calc)/.test(e)}(t))return t;try{return function(e,t){return"darken"===e?(0,r.rgba)("".concat((0,r.darken)(1,t)),.95):"lighten"===e?(0,r.rgba)("".concat((0,r.lighten)(1,t)),.95):t}(e,t)}catch(e){return t}}},u=a("lighten");t.lightenColor=u;var l=a("darken");t.darkenColor=l},"/HEY":function(e,t,n){"use strict";var r=n("5L5q"),o=n("bbru"),i=r.call(Function.call,String.prototype.slice);e.exports=function(e){var t,n=o.RequireObjectCoercible(this),r=o.ToString(n),a=o.ToLength(r.length);arguments.length>1&&(t=arguments[1]);var u=void 0===t?"":o.ToString(t);""===u&&(u=" ");var l=o.ToLength(e);if(l<=a)return r;for(var c=l-a;u.lengthf?i(u,0,f):u}var p=u.length>c?i(u,0,c):u;return p+r}},"/OF8":function(e,t,n){"use strict";var r=n("V+Bs")(),o=n("7vSd"),i=n("OmCv"),a=Object.getOwnPropertyDescriptor,u=Object.defineProperty,l=Object.setPrototypeOf,c=function(e){u(Symbol.prototype,"description",{configurable:!0,enumerable:!1,get:e})};e.exports=function(){if(!r)return!1;var e=a(Symbol.prototype,"description"),t=o(),n=!e||"function"!=typeof e.get,u=!n&&(void 0!==Symbol().description||""!==Symbol("").description);if(n||u){if(!i)return function(e){var t=Function.apply.bind(Symbol),n=Object.create?Object.create(null):{},r=function(){var e=t(this,arguments);return arguments.length>0&&""===arguments[0]&&(n[e]=!0),e};r.prototype=Symbol.prototype,l(r,Symbol),Symbol=r;var o=Function.call.bind(e),i=function(){var e=o(this);return n[this]?"":e};return c(i),i}(t);c(t)}return t}},"/Q7e":function(e,t,n){"use strict";n.r(t);var r=n("glwy");n.d(t,"default",function(){return r.default})},"/Qos":function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("gIIS"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("fRV1"))},"/UTG":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"/aJj":function(e,t,n){"use strict";n.r(t);var r=n("V1yh");n.d(t,"default",function(){return r.default})},"/rxr":function(e,t,n){"use strict";var r=n("j5Vs"),o=n("t0Vv"),i=n("EcPI"),a=n("jq3p").parse,u=n("TOa8").parse;e.exports=function(e,t,n){var o=n?function(e){var t,n=e.length,r=-1,o={};for(;++r)?=?)";var k=l++;u[k]=u[s]+"|x|X|\\*";var j=l++;u[j]=u[c]+"|x|X|\\*";var _=l++;u[_]="[v=\\s]*("+u[j]+")(?:\\.("+u[j]+")(?:\\.("+u[j]+")(?:"+u[y]+")?"+u[b]+"?)?)?";var T=l++;u[T]="[v=\\s]*("+u[k]+")(?:\\.("+u[k]+")(?:\\.("+u[k]+")(?:"+u[g]+")?"+u[b]+"?)?)?";var P=l++;u[P]="^"+u[E]+"\\s*"+u[_]+"$";var C=l++;u[C]="^"+u[E]+"\\s*"+u[T]+"$";var M=l++;u[M]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var A=l++;u[A]="(?:~>?)";var I=l++;u[I]="(\\s*)"+u[A]+"\\s+",a[I]=new RegExp(u[I],"g");var R=l++;u[R]="^"+u[A]+u[_]+"$";var z=l++;u[z]="^"+u[A]+u[T]+"$";var N=l++;u[N]="(?:\\^)";var D=l++;u[D]="(\\s*)"+u[N]+"\\s+",a[D]=new RegExp(u[D],"g");var L=l++;u[L]="^"+u[N]+u[_]+"$";var F=l++;u[F]="^"+u[N]+u[T]+"$";var B=l++;u[B]="^"+u[E]+"\\s*("+x+")$|^$";var H=l++;u[H]="^"+u[E]+"\\s*("+O+")$|^$";var U=l++;u[U]="(\\s*)"+u[E]+"\\s*("+x+"|"+u[_]+")",a[U]=new RegExp(u[U],"g");var W=l++;u[W]="^\\s*("+u[_]+")\\s+-\\s+("+u[_]+")\\s*$";var K=l++;u[K]="^\\s*("+u[T]+")\\s+-\\s+("+u[T]+")\\s*$";var V=l++;u[V]="(<|>)?=?\\s*\\*";for(var q=0;q<35;q++)r(q,u[q]),a[q]||(a[q]=new RegExp(u[q]));function Y(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof G)return e;if("string"!=typeof e)return null;if(e.length>o)return null;if(!(t.loose?a[S]:a[w]).test(e))return null;try{return new G(e,t)}catch(e){return null}}function G(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof G){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof G))return new G(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var n=e.trim().match(t.loose?a[S]:a[w]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new G(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(ee(e,t))return null;var n=Y(e),r=Y(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},t.compareIdentifiers=X;var $=/^[0-9]+$/;function X(e,t){var n=$.test(e),r=$.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e0}function Q(e,t,n){return Z(e,t,n)<0}function ee(e,t,n){return 0===Z(e,t,n)}function te(e,t,n){return 0!==Z(e,t,n)}function ne(e,t,n){return Z(e,t,n)>=0}function re(e,t,n){return Z(e,t,n)<=0}function oe(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return ee(e,n,r);case"!=":return te(e,n,r);case">":return J(e,n,r);case">=":return ne(e,n,r);case"<":return Q(e,n,r);case"<=":return re(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function ie(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ie){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof ie))return new ie(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ae?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return X(t,e)},t.major=function(e,t){return new G(e,t).major},t.minor=function(e,t){return new G(e,t).minor},t.patch=function(e,t){return new G(e,t).patch},t.compare=Z,t.compareLoose=function(e,t){return Z(e,t,!0)},t.rcompare=function(e,t,n){return Z(t,e,n)},t.sort=function(e,n){return e.sort(function(e,r){return t.compare(e,r,n)})},t.rsort=function(e,n){return e.sort(function(e,r){return t.rcompare(e,r,n)})},t.gt=J,t.lt=Q,t.eq=ee,t.neq=te,t.gte=ne,t.lte=re,t.cmp=oe,t.Comparator=ie;var ae={};function ue(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ue)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ue(e.raw,t);if(e instanceof ie)return new ue(e.value,t);if(!(this instanceof ue))return new ue(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function le(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,u,l,c,s,f,p){return((t=le(n)?"":le(r)?">="+n+".0.0":le(o)?">="+n+"."+r+".0":">="+t)+" "+(u=le(l)?"":le(c)?"<"+(+l+1)+".0.0":le(s)?"<"+l+"."+(+c+1)+".0":f?"<="+l+"."+c+"."+s+"-"+f:"<="+u)).trim()}function se(e,t,n){for(var o=0;o0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function fe(e,t,n){try{t=new ue(t,n)}catch(e){return!1}return t.test(e)}function pe(e,t,n,r){var o,i,a,u,l;switch(e=new G(e,r),t=new ue(t,r),n){case">":o=J,i=re,a=Q,u=">",l=">=";break;case"<":o=Q,i=ne,a=J,u="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(fe(e,t,r))return!1;for(var c=0;c=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)}),f.operator===u||f.operator===l)return!1;if((!p.operator||p.operator===u)&&i(e,p.semver))return!1;if(p.operator===l&&a(e,p.semver))return!1}return!0}ie.prototype.parse=function(e){var t=this.options.loose?a[B]:a[H],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new G(n[2],this.options.loose):this.semver=ae},ie.prototype.toString=function(){return this.value},ie.prototype.test=function(e){return r("Comparator.test",e,this.options.loose),this.semver===ae||("string"==typeof e&&(e=new G(e,this.options)),oe(e,this.operator,this.semver,this.options))},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new ue(e.value,t),fe(this.value,n,t);if(""===e.operator)return n=new ue(this.value,t),fe(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=oe(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=oe(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||u||l},t.Range=ue,ue.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ue.prototype.toString=function(){return this.range},ue.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?a[K]:a[W];e=e.replace(n,ce),r("hyphen replace",e),e=e.replace(a[U],"$1$2$3"),r("comparator trim",e,a[U]),e=(e=(e=e.replace(a[I],"$1~")).replace(a[D],"$1^")).split(/\s+/).join(" ");var o=t?a[B]:a[H],i=e.split(" ").map(function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){r("caret",e,t);var n=t.loose?a[F]:a[L];return e.replace(n,function(t,n,o,i,a){var u;return r("caret",e,t,n,o,i,a),le(n)?u="":le(o)?u=">="+n+".0.0 <"+(+n+1)+".0.0":le(i)?u="0"===n?">="+n+"."+o+".0 <"+n+"."+(+o+1)+".0":">="+n+"."+o+".0 <"+(+n+1)+".0.0":a?(r("replaceCaret pr",a),u="0"===n?"0"===o?">="+n+"."+o+"."+i+"-"+a+" <"+n+"."+o+"."+(+i+1):">="+n+"."+o+"."+i+"-"+a+" <"+n+"."+(+o+1)+".0":">="+n+"."+o+"."+i+"-"+a+" <"+(+n+1)+".0.0"):(r("no pr"),u="0"===n?"0"===o?">="+n+"."+o+"."+i+" <"+n+"."+o+"."+(+i+1):">="+n+"."+o+"."+i+" <"+n+"."+(+o+1)+".0":">="+n+"."+o+"."+i+" <"+(+n+1)+".0.0"),r("caret return",u),u})}(e,t)}).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){var n=t.loose?a[z]:a[R];return e.replace(n,function(t,n,o,i,a){var u;return r("tilde",e,t,n,o,i,a),le(n)?u="":le(o)?u=">="+n+".0.0 <"+(+n+1)+".0.0":le(i)?u=">="+n+"."+o+".0 <"+n+"."+(+o+1)+".0":a?(r("replaceTilde pr",a),u=">="+n+"."+o+"."+i+"-"+a+" <"+n+"."+(+o+1)+".0"):u=">="+n+"."+o+"."+i+" <"+n+"."+(+o+1)+".0",r("tilde return",u),u})}(e,t)}).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){e=e.trim();var n=t.loose?a[C]:a[P];return e.replace(n,function(t,n,o,i,a,u){r("xRange",e,t,n,o,i,a,u);var l=le(o),c=l||le(i),s=c||le(a),f=s;return"="===n&&f&&(n=""),l?t=">"===n||"<"===n?"<0.0.0":"*":n&&f?(c&&(i=0),a=0,">"===n?(n=">=",c?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===n&&(n="<",c?o=+o+1:i=+i+1),t=n+o+"."+i+"."+a):c?t=">="+o+".0.0 <"+(+o+1)+".0.0":s&&(t=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"),r("xRange return",t),t})}(e,t)}).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(a[V],"")}(e,t),r("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(o)})),i=i.map(function(e){return new ie(e,this.options)},this)},ue.prototype.intersects=function(e,t){if(!(e instanceof ue))throw new TypeError("a Range is required");return this.set.some(function(n){return n.every(function(n){return e.set.some(function(e){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new ue(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ue.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new G(e,this.options));for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!J(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new ue(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return pe(e,t,"<",n)},t.gtr=function(e,t,n){return pe(e,t,">",n)},t.outside=pe,t.prerelease=function(e,t){var n=Y(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new ue(e,n),t=new ue(t,n),e.intersects(t)},t.coerce=function(e){if(e instanceof G)return e;if("string"!=typeof e)return null;var t=e.match(a[M]);if(null==t)return null;return Y(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}}).call(this,n("F63i"))},"/wCD":function(e,t,n){var r=n("TAtK")(Object.getPrototypeOf,Object);e.exports=r},0:function(e,t,n){e.exports=n},"0+aC":function(e,t,n){var r=n("pFSi"),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},"0/JC":function(e,t,n){var r=n("oNh+"),o=n("H3h0"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"061g":function(e,t,n){"use strict";var r=n("1LhI"),o="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var n,i,a,u,l,c,s=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),u=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(n){n.stopPropagation(),t.format&&(n.preventDefault(),n.clipboardData.clearData(),n.clipboardData.setData(t.format,e))}),document.body.appendChild(c),u.selectNodeContents(c),l.addRange(u),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),s=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:o),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return s}},"0D+g":function(e,t,n){"use strict";function r(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}}e.exports=r,r.displayName="clike",r.aliases=[]},"0ECu":function(e,t,n){var r=n("+a2B")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},"0FSu":function(e,t,n){var r=n("X7ib"),o=n("g6a+"),i=n("N9G2"),a=n("tJVe"),u=n("aoZ+"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,s=4==e,f=6==e,p=5==e||f;return function(d,h,v,y){for(var g,m,b=i(d),w=o(b),O=r(h,v,3),x=a(w.length),S=0,E=y||u,k=t?E(d,x):n?E(d,0):void 0;x>S;S++)if((p||S in w)&&(m=O(g=w[S],S,b),e))if(t)k[S]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:l.call(k,g)}else if(s)return!1;return f?-1:c||s?s:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},"0HP5":function(e,t,n){var r=n("1Mu/"),o=n("q9+l"),i=n("lhjL");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"0HYz":function(e,t,n){"use strict";e.exports=function(e,t){for(var n=0;n0&&e[r-1].id,l=(0,o.sanitize)(u?"".concat(u,"-").concat(a):a);if(u===l)throw new Error("\nInvalid part '".concat(a,"', leading to id === parentId ('").concat(l,"'), inside kind '").concat(n,"'\n\nDid you create a path that uses the separator char accidentally, such as 'Vue ' where '/' is a separator char? See https://github.com/storybookjs/storybook/issues/6128\n ").trim());var c=Object.assign({},t,{id:l,parent:u,depth:r,children:[],isComponent:r===i.length-1,isLeaf:!1,isRoot:!!p&&0===r});return e.concat([c])},[]),v=[].concat(a(h.map(function(e){return e.id})),[t.id]);h.forEach(function(t,n){var r=v[n+1],o=t.id;e[o]=(0,i.default)(e[o]||{},Object.assign({},t,{},r&&{children:[r]}))});var y=Object.assign({},t,{parent:h[h.length-1].id,isLeaf:!0});return e[t.id]=y,e},{}),u=Object.values(r).reduce(function e(t,n){if(!t[n.id]){t[n.id]=n;var o=n.children;o&&o.forEach(function(n){return e(t,r[n])})}return t},{}),l=["about","shortcuts"],c=t.getState(),f=c.storyId,p=c.viewMode;if(f&&f.match(/--\*$/)){var d=f.slice(0,-1),h=Object.values(u).find(function(e){return!e.children&&e.id.substring(0,d.length)===d});p&&h&&n("/".concat(p,"/").concat(h.id))}else if(!f||"*"===f||!u[f]){var v=Object.values(u).find(function(e){return!e.children});"settings"===p&&l.includes(f)?n("/".concat(p,"/").concat(f)):"settings"!==p||l.includes(f)?p&&v&&n("/".concat(p,"/").concat(v.id)):n("/story/".concat(v.id))}t.setState({storiesHash:u,storiesConfigured:!0})},jumpToComponent:function(e){var r=t.getState(),o=r.storiesHash,i=r.viewMode,u=r.storyId;if(u&&o[u]){var l=Object.entries(o).reduce(function(e,t){return t[1].isComponent&&e.push(a(t[1].children)),e},[]),c=l.findIndex(function(e){return e.includes(u)});if(!(c===l.length-1&&e>0||0===c&&e<0)){var s=l[c+e][0];n("/".concat(i||"story","/").concat(s))}}},jumpToStory:function(e){var r=t.getState(),o=r.storiesHash,i=r.viewMode,a=r.storyId;if(a&&o[a]){var u=Object.keys(o).filter(function(e){return!(o[e].children||Array.isArray(o[e]))}),l=u.indexOf(a);if(!(l===u.length-1&&e>0||0===l&&e<0)){var c=u[l+e];i&&c&&n("/".concat(i,"/").concat(c))}}},getData:l,getParameters:c,getCurrentParameter:function(e){var n=t.getState().storyId,r=c(n,e);if(r)return r}},state:{storiesHash:{},storyId:r,viewMode:u,storiesConfigured:!1}}};t.default=u},"0Ngc":function(e,t,n){"use strict";var r=n("hkiR"),o=n("zT+L");e.exports=function(){var e=r();return o(Object,{fromEntries:e},{fromEntries:function(){return Object.fromEntries!==e}}),e}},"0Ocv":function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=i.styled.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",flexShrink:0},function(e){return e.left?{"& > *":{marginLeft:15}}:{}},function(e){return e.right?{marginLeft:30,"& > *":{marginRight:15}}:{}});s.displayName="Side";var f=(0,i.styled)(function(e){var t=e.children,n=e.className;return o.default.createElement(a.ScrollArea,{horizontal:!0,className:n},t)})(function(e){return{color:e.theme.barTextColor,width:"100%",height:40,flexShrink:0}},function(e){var t=e.theme;return e.border?{boxShadow:"".concat(t.appBorderColor," 0 -1px 0 0 inset"),background:t.barBg}:{}});t.Bar=f,f.displayName="Bar";var p=i.styled.div(function(e){return{display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e.bgColor||""}}),d=function(e){var t=e.children,n=e.backgroundColor,r=c(e,["children","backgroundColor"]),i=l(o.Children.toArray(t),2),a=i[0],u=i[1];return o.default.createElement("div",null,o.default.createElement(f,r,o.default.createElement(p,{bgColor:n},o.default.createElement(s,{left:!0},a),u?o.default.createElement(s,{right:!0},u):null)))};t.FlexBar=d,d.displayName="FlexBar",d.displayName="FlexBar"},"0cIl":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("ERkP")),o=a(n("I9yL")),i=a(n("Y90t"));function a(e){return e&&e.__esModule?e:{default:e}}var u=r.default.createElement(o.default,{key:"about"}),l=r.default.createElement(i.default,{key:"shortcuts"});t.default=function(){return[u,l]}},"0fQ6":function(e,t,n){var r=n("zNvU"),o=n("VcbD"),i=n("A551").indexOf,a=n("lyTg");e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},"0foe":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"0mzR":function(e,t,n){"use strict";e.exports=o;var r=o.prototype;function o(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}r.space=null,r.normal={},r.property={}},"0ui6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleVisibility=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r};var i=function(e){var t=e.hidden,n=e.children;return o.default.createElement("div",{hidden:t},n)};t.ToggleVisibility=i,i.displayName="ToggleVisibility"},"0vwV":function(e,t,n){"use strict";t.__esModule=!0,t.default=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}},"1EDM":function(e,t,n){var r=n("EI7Z"),o=n("CEyS"),i=n("i7nn"),a=n("Ypsa");e.exports=function(e){return i(e)?r(a(e)):o(e)}},"1IsZ":function(e,t,n){var r=n("ax0f"),o=n("YAkj").values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},"1Iuc":function(e,t,n){"use strict";var r=n("ax0f"),o=n("gIHd");r({target:"String",proto:!0,forced:n("qtoS")("bold")},{bold:function(){return o(this,"b","","")}})},"1JZ3":function(e,t,n){"use strict";var r=n("bbru"),o=n("wSS7"),i=n("5L5q").call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push(t[a]);return n}},"1LhI":function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=o.default.createElement("defs",null,o.default.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),l=o.default.createElement("g",{fill:"none",fillRule:"evenodd"},o.default.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),o.default.createElement("mask",{id:"b",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#a"})),o.default.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),o.default.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"})),c=function(e){var t=e.alt,n=a(e,["alt"]);return o.default.createElement("svg",i({width:"200px",height:"40px",viewBox:"0 0 200 40"},n,{role:"img"}),t?o.default.createElement("title",null,t):null,u,l)};t.StorybookLogo=c,c.displayName="StorybookLogo"},"1odi":function(e,t){e.exports={}},"1t7P":function(e,t,n){"use strict";var r=n("ax0f"),o=n("9JhN"),i=n("DpO5"),a=n("1Mu/"),u=n("56Cj"),l=n("ct80"),c=n("8aeu"),s=n("xt6W"),f=n("dSaG"),p=n("FXyv"),d=n("N9G2"),h=n("N4z3"),v=n("CD8Q"),y=n("lhjL"),g=n("guiJ"),m=n("DEeE"),b=n("ZdBB"),w=n("7lg/"),O=n("JAL5"),x=n("GFpt"),S=n("q9+l"),E=n("4Sk5"),k=n("0HP5"),j=n("uLp7"),_=n("TN3B"),T=n("MyxS"),P=n("1odi"),C=n("HYrn"),M=n("fVMg"),A=n("RlvI"),I=n("aokA"),R=n("+kY7"),z=n("zc29"),N=n("0FSu").forEach,D=T("hidden"),L=M("toPrimitive"),F=z.set,B=z.getterFor("Symbol"),H=Object.prototype,U=o.Symbol,W=o.JSON,K=W&&W.stringify,V=x.f,q=S.f,Y=w.f,G=E.f,$=_("symbols"),X=_("op-symbols"),Z=_("string-to-symbol-registry"),J=_("symbol-to-string-registry"),Q=_("wks"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=a&&l(function(){return 7!=g(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=V(H,t);r&&delete H[t],q(e,t,n),r&&e!==H&&q(H,t,r)}:q,re=function(e,t){var n=$[e]=g(U.prototype);return F(n,{type:"Symbol",tag:e,description:t}),a||(n.description=t),n},oe=u&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},ie=function(e,t,n){e===H&&ie(X,t,n),p(e);var r=v(t,!0);return p(n),c($,r)?(n.enumerable?(c(e,D)&&e[D][r]&&(e[D][r]=!1),n=g(n,{enumerable:y(0,!1)})):(c(e,D)||q(e,D,y(1,{})),e[D][r]=!0),ne(e,r,n)):q(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=m(n).concat(se(n));return N(r,function(t){a&&!ue.call(n,t)||ie(e,t,n[t])}),e},ue=function(e){var t=v(e,!0),n=G.call(this,t);return!(this===H&&c($,t)&&!c(X,t))&&(!(n||!c(this,t)||!c($,t)||c(this,D)&&this[D][t])||n)},le=function(e,t){var n=h(e),r=v(t,!0);if(n!==H||!c($,r)||c(X,r)){var o=V(n,r);return!o||!c($,r)||c(n,D)&&n[D][r]||(o.enumerable=!0),o}},ce=function(e){var t=Y(h(e)),n=[];return N(t,function(e){c($,e)||c(P,e)||n.push(e)}),n},se=function(e){var t=e===H,n=Y(t?X:h(e)),r=[];return N(n,function(e){!c($,e)||t&&!c(H,e)||r.push($[e])}),r};u||(j((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=C(e),n=function(e){this===H&&n.call(X,e),c(this,D)&&c(this[D],t)&&(this[D][t]=!1),ne(this,t,y(1,e))};return a&&te&&ne(H,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",function(){return B(this).tag}),E.f=ue,S.f=ie,x.f=le,b.f=w.f=ce,O.f=se,a&&(q(U.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),i||j(H,"propertyIsEnumerable",ue,{unsafe:!0})),A.f=function(e){return re(M(e),e)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),N(m(Q),function(e){I(e)}),r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=String(e);if(c(Z,t))return Z[t];var n=U(t);return Z[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(c(J,e))return J[e]},useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(e,t){return void 0===t?g(e):ae(g(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ce,getOwnPropertySymbols:se}),r({target:"Object",stat:!0,forced:l(function(){O.f(1)})},{getOwnPropertySymbols:function(e){return O.f(d(e))}}),W&&r({target:"JSON",stat:!0,forced:!u||l(function(){var e=U();return"[null]"!=K([e])||"{}"!=K({a:e})||"{}"!=K(Object(e))})},{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(f(t)||void 0!==e)&&!oe(e))return s(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!oe(t))return t}),r[1]=t,K.apply(W,r)}}),U.prototype[L]||k(U.prototype,L,U.prototype.valueOf),R(U,"Symbol"),P[D]=!0},"1xil":function(e,t,n){var r=n("YpBQ");e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},"20Fm":function(e,t,n){"use strict";n.r(t);var r=n("leMo");n.d(t,"default",function(){return r.default})},"21Ob":function(e,t,n){"use strict";var r=n("2oWz");e.exports=function(){return Array.prototype.flatMap||r}},"25lF":function(e,t,n){"use strict";n("2G9S"),n("ho0z"),n("IAdD"),n("KqXw"),n("MvUL"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n("NyMY"),i=(r=n("ERkP"))&&r.__esModule?r:{default:r},a=n("9NtK"),u=n("yeaO");function l(){return(l=Object.assign||function(e){for(var t=1;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},"2ZvR":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n-1,l.indexOf("u")>-1)},l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;if(l&&c){var s=c(u,"name");s&&s.configurable&&l(u,"name",{value:"[Symbol.matchAll]"})}e.exports=u},"2gZs":function(e,t,n){var r=n("amH4"),o=n("fVMg")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},"2iIe":function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.themes=void 0;var r=i(n("Dv/8")),o=i(n("WrkA"));function i(e){return e&&e.__esModule?e:{default:e}}var a={light:r.default,dark:o.default,normal:r.default};t.themes=a;t.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{base:"light"},t=arguments.length>1?arguments[1]:void 0,n=Object.assign({},a.light,{},a[e.base]||{},{},e,{},{base:a[e.base]?e.base:"light"});return Object.assign({},t,{},n,{},{barSelectedColor:e.barSelectedColor||n.colorSecondary})}},"2lh0":function(e,t,n){var r,o,i;o=[e,t,n("9WVt"),n("BpCj"),n("yUxs")],void 0===(i="function"==typeof(r=function(e,t,n,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n),a=l(r),u=l(o);function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return{added:(0,i.default)(e,t),deleted:(0,a.default)(e,t),updated:(0,u.default)(e,t)}},e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},"2mwS":function(e,t,n){"use strict";var r=n("9vm5"),o=n("V+Bs")(),i=n("2bca");e.exports=function(e){var t,n=r.RequireObjectCoercible(this);if(null!=e&&(o&&"symbol"==typeof Symbol.matchAll?t=r.GetMethod(e,Symbol.matchAll):r.IsRegExp(e)&&(t=i),void 0!==t))return r.Call(t,e,[n]);var a=r.ToString(n),u=new RegExp(e,"g");return o&&"symbol"==typeof Symbol.matchAll?r.Invoke(u,Symbol.matchAll,[a]):r.Call(i,u,[a])}},"2n2P":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;t.version="5.2.7"},"2nwC":function(e,t,n){"use strict";n("OLuu"),n("7h/X"),n("Tk4B")},"2oWz":function(e,t,n){"use strict";var r=n("rqpN"),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,u){var l,c=a,s=0;for(arguments.length>5&&(l=arguments[5]);s0&&(h=r.IsArray(d)),h){var v=r.ToLength(r.Get(d,"length"));c=e(t,d,v,c,u-1)}else{if(c>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(c),d),c+=1}}s+=1}return c};e.exports=function(e){var t,n=r.ToObject(this),o=r.ToLength(r.Get(n,"length"));if(!r.IsCallable(e))throw new TypeError("callback must be a function");arguments.length>1&&(t=arguments[1]);var a=r.ArraySpeciesCreate(n,0);return i(a,n,o,0,1,e,t),a}},"2q8g":function(e,t,n){var r=n("Dhk8"),o=n("tQYX"),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==u||t==i||t==l}},"2sZ7":function(e,t,n){"use strict";var r=n("CD8Q"),o=n("q9+l"),i=n("lhjL");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},"2srY":function(e,t,n){var r=n("w2Tz");e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},"2u70":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mockChannel=function(){return new o.default({transport:{setHandler:function(){},send:function(){}}})};var r,o=(r=n("5YJq"))&&r.__esModule?r:{default:r}},"34wW":function(e,t,n){var r=n("amH4"),o=n("QsUS");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"35H0":function(e,t,n){"use strict";n.r(t),function(e){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],o=0,i=0;i=0){o=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},o))}};function u(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:s(c(e))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?f:10===e?p:f||p}function h(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,u,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(u=(a=l).nodeName)||"HTML"!==u&&h(a.firstElementChild)!==a?h(l):l;var c=v(e);return c.host?y(c.host,t):y(e,v(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function m(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var O=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},x=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===t.nodeName,i=j(e),a=j(t),u=s(e),c=l(t),f=parseFloat(c.borderTopWidth,10),p=parseFloat(c.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=k({top:i.top-a.top-f,left:i.left-a.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var v=parseFloat(c.marginTop,10),y=parseFloat(c.marginLeft,10);h.top-=f-v,h.bottom-=f-v,h.left-=p-y,h.right-=p-y,h.marginTop=v,h.marginLeft=y}return(r&&!n?t.contains(u):t===u&&"BODY"!==u.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(h,t)),h}function T(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?T(e):y(e,t);if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=_(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),u=t?0:g(n,"left");return k({top:a-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=s(c(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var f=_(u,a,o);if("HTML"!==u.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(t,"position"))return!0;var r=c(t);return!!r&&e(r)}(a))i=f;else{var p=w(e.ownerDocument),d=p.height,h=p.width;i.top+=f.top-f.marginTop,i.bottom=d+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var v="number"==typeof(n=n||0);return i.left+=v?n:n.left||0,i.top+=v?n:n.top||0,i.right-=v?n:n.right||0,i.bottom-=v?n:n.bottom||0,i}function C(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,r,i,o),u={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(u).map(function(e){return E({key:e},u[e],{area:(t=u[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),s=c.length>0?c[0].key:l[0].key,f=e.split("-")[1];return s+(f?"-"+f:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(n,r?T(t):y(t,n),r)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function I(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function R(e,t,n){n=n.split("-")[0];var r=A(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",u=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[u]=n===u?t[u]-r[c]:t[I(u)],o}function z(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=z(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&u(n)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=n(t,e))}),t}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=Y.indexOf(e),r=Y.slice(n+1).concat(Y.slice(0,n));return t?r.reverse():r}var $={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),u=a.indexOf(z(a,function(e){return-1!==e.search(/,|\s/)}));a[u]&&-1===a[u].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==u?[a.slice(0,u).concat([a[u].split(l)[0]]),[a[u].split(l)[1]].concat(a.slice(u+1))]:[a];return(c=c.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var u=void 0;switch(a){case"%p":u=n;break;case"%":case"%r":default:u=r}return k(u)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){U(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}var Z={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,u=-1!==["bottom","top"].indexOf(n),l=u?"left":"top",c=u?"width":"height",s={start:S({},l,i[l]),end:S({},l,i[l]+i[c]-a[c])};e.offsets.popper=E({},a,s[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,u=r.split("-")[0],l=void 0;return l=U(+n)?[+n,0]:X(n,i,a,u),"left"===u?(i.top+=l[0],i.left-=l[1]):"right"===u?(i.top+=l[0],i.left+=l[1]):"top"===u?(i.left+=l[0],i.top-=l[1]):"bottom"===u&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=L("transform"),o=e.instance.popper.style,i=o.top,a=o.left,u=o[r];o.top="",o.left="",o[r]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=u,t.boundaries=l;var c=t.priority,s=e.offsets.popper,f={primary:function(e){var n=s[e];return s[e]l[e]&&!t.escapeWithReference&&(r=Math.min(s[n],l[e]-("right"===e?s.width:s.height))),S({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=E({},s,f[t](e))}),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),u=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[u]i(r[u])&&(e.offsets.popper[l]=i(r[u])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!V(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,u=i.reference,c=-1!==["left","right"].indexOf(o),s=c?"height":"width",f=c?"Top":"Left",p=f.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",v=A(r)[s];u[h]-va[h]&&(e.offsets.popper[p]+=u[p]+v-a[h]),e.offsets.popper=k(e.offsets.popper);var y=u[p]+u[s]/2-v/2,g=l(e.instance.popper),m=parseFloat(g["margin"+f],10),b=parseFloat(g["border"+f+"Width"],10),w=y-e.offsets.popper[p]-m-b;return w=Math.max(Math.min(a[s]-v,w),0),e.arrowElement=r,e.offsets.arrow=(S(n={},p,Math.round(w)),S(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=I(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case $.FLIP:a=[r,o];break;case $.CLOCKWISE:a=G(r);break;case $.COUNTERCLOCKWISE:a=G(r,!0);break;default:a=t.behavior}return a.forEach(function(u,l){if(r!==u||a.length===l+1)return e;r=e.placement.split("-")[0],o=I(r);var c=e.offsets.popper,s=e.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(s.left)||"right"===r&&f(c.left)f(s.top)||"bottom"===r&&f(c.top)f(n.right),v=f(c.top)f(n.bottom),g="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&y,m=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(m&&"start"===i&&d||m&&"end"===i&&h||!m&&"start"===i&&v||!m&&"end"===i&&y),w=!!t.flipVariationsByContent&&(m&&"start"===i&&h||m&&"end"===i&&d||!m&&"start"===i&&y||!m&&"end"===i&&v),O=b||w;(p||g||O)&&(e.flipped=!0,(p||g)&&(r=a[l+1]),O&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=E({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),u=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(u?o[a?"width":"height"]:0),e.placement=I(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=z(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};O(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=E({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=E({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return E({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&u(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return x(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=C(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),e}();J.Utils=("undefined"!=typeof window?window:e).PopperUtils,J.placements=q,J.Defaults=Z,t.default=J}.call(this,n("fRV1"))},"3AGO":function(e,t,n){"use strict";n.r(t);var r=n("Z9Ia");n.d(t,"default",function(){return r.default})},"3KBa":function(e,t,n){var r=n("IBsm")["__core-js_shared__"];e.exports=r},"3Mt6":function(e,t,n){var r=n("H3h0");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"3NXE":function(e,t,n){"use strict";n("hBpG"),n("jwue"),n("plBw"),n("+oxZ"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("PuIx")),o=a(n("nnRT")),i=n("uXhg");function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return(0,r.default)({},e,t,function(e,t){return Array.isArray(t)&&Array.isArray(e)?(t.forEach(function(t){e.find(function(e){return e===t||(0,o.default)(e,t)})||e.push(t)}),e):Array.isArray(e)?(i.logger.log(["the types mismatch, picking",e]),e):void 0})}},"3ajY":function(e,t,n){(function(e){var r=n("IBsm"),o=n("DjCF"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i?r.Buffer:void 0,l=(u?u.isBuffer:void 0)||o;e.exports=l}).call(this,n("aYSr")(e))},"3hAs":function(e,t,n){"use strict";var r=n("AO5/"),o=n("zT+L");e.exports=function(){var e=r();return o(String.prototype,{padStart:e},{padStart:function(){return String.prototype.padStart!==e}}),e}},"3kp9":function(e,t,n){var r,o,i;o=[t,n("9FuY"),n("9WVt"),n("BpCj"),n("yUxs"),n("2lh0")],void 0===(i="function"==typeof(r=function(e,t,n,r,o,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.detailedDiff=e.updatedDiff=e.deletedDiff=e.diff=e.addedDiff=void 0;var a=f(t),u=f(n),l=f(r),c=f(o),s=f(i);function f(e){return e&&e.__esModule?e:{default:e}}e.addedDiff=u.default,e.diff=a.default,e.deletedDiff=l.default,e.updatedDiff=c.default,e.detailedDiff=s.default})?r.apply(t,o):r)||(e.exports=i)},"3voH":function(e,t,n){"use strict";var r=n("ax0f"),o=n("tJVe"),i=n("nuol"),a=n("cww3"),u=n("PjJO"),l="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(c(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return l?l.call(t,r,n):t.slice(n,n+r.length)===r}})},"3wLT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("26z1");Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n("BKl4");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("vqbt");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n("wOH+");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var u=n("p5Lx");Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=n("bsDQ");Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var c=n("c9Df");Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var s=n("4KUs");Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var f=n("W4lp");Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var p=n("C+Jd");Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})})},"3xeB":function(e,t,n){"use strict";n.r(t),n.d(t,"getRegisteredStyles",function(){return r}),n.d(t,"insertStyles",function(){return o});function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},"3yYM":function(e,t){!function(t){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag",c="object"==typeof e,s=t.regeneratorRuntime;if(s)c&&(e.exports=s);else{(s=t.regeneratorRuntime=c?e.exports:{}).wrap=w;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",v={},y={};y[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(M([])));m&&m!==r&&o.call(m,a)&&(y=m);var b=E.prototype=x.prototype=Object.create(y);S.prototype=b.constructor=E,E.constructor=S,E[l]=S.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(b),e},s.awrap=function(e){return{__await:e}},k(j.prototype),j.prototype[u]=function(){return this},s.AsyncIterator=j,s.async=function(e,t,n,r){var o=new j(w(e,t,n,r));return s.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},k(b),b[l]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},s.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},s.values=M,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return u.type="throw",u.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:M(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function w(e,t,n,r){var o=t&&t.prototype instanceof x?t:x,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var l=O(e,t,n);if("normal"===l.type){if(r=n.done?h:p,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function O(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function x(){}function S(){}function E(){}function k(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function j(e){var t;this._invoke=function(n,r){function i(){return new Promise(function(t,i){!function t(n,r,i,a){var u=O(e[n],e,r);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==typeof c&&o.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){l.value=e,i(l)},function(e){return t("throw",e,i,a)})}a(u.arg)}(n,r,t,i)})}return t=t?t.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,_(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=O(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,v;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function M(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=i.styled.div(function(e){var t=e.theme;return{marginRight:30,fontSize:"".concat(t.typography.size.s1,"px"),color:"light"===t.base?(0,a.transparentize)(.4,t.color.defaultText):(0,a.transparentize)(.6,t.color.defaultText)}}),p=i.styled.div({lineHeight:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),d=i.styled.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),h=i.styled.div(u.withReset,function(e){var t=e.theme;return Object.assign({},(0,l.getBlockBackgroundStyle)(t),{margin:"25px 0 40px",padding:"30px 20px"})}),v=function(e){var t=e.fontSizes,n=e.fontWeight,r=e.sampleText,i=s(e,["fontSizes","fontWeight","sampleText"]);return o.default.createElement(h,c({},i,{className:"docblock-typeset"}),t.map(function(e){return o.default.createElement(d,{key:e},o.default.createElement(f,null,e,"px"),o.default.createElement(p,{style:{fontSize:e,fontWeight:n}},r||"Was he a beast if music could move him so?"))}))};t.Typeset=v,v.displayName="Typeset"},"4NUJ":function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("vrRf"),n("lTEL"),n("7xRU"),n("z84I"),n("IAdD"),n("j4Sf"),n("UvmB"),n("5o43"),n("+KXO"),n("LUwd"),n("7x/C"),n("87if"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=t.Panel=t.Preview=t.Main=t.Nav=t.Root=void 0;var r,o=s(n("ERkP")),i=(r=n("aWzz"))&&r.__esModule?r:{default:r},a=n("VSTh"),u=s(n("RlQt")),l=n("X+A8");function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function f(e){return(f="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})(e)}function p(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m=a.styled.div({position:"fixed",left:0,top:0,width:"100vw",height:"100vh",overflow:"hidden"});t.Root=m;var b=a.styled.div({position:"absolute",boxSizing:"border-box",top:0,left:0,width:"100%",height:"100%"},function(e){return e.hidden?{opacity:0}:{opacity:1}},function(e){return e.top?{zIndex:9}:{}},function(e){var t=e.border,n=e.theme;switch(t){case"left":return{borderLeft:"1px solid ".concat(n.appBorderColor)};case"right":return{borderRight:"1px solid ".concat(n.appBorderColor)};case"top":return{borderTop:"1px solid ".concat(n.appBorderColor)};case"bottom":return{borderBottom:"1px solid ".concat(n.appBorderColor)};default:return{}}},function(e){return e.animate?{transition:["width","height","top","left","background","opacity","transform"].map(function(e){return"".concat(e," 0.1s ease-out")}).join(",")}:{}}),w=a.styled.div({position:"absolute",top:0,left:0,width:"100%",height:"100%"},function(e){var t=e.isFullscreen,n=e.theme;return t?{boxShadow:"none",borderRadius:"0"}:{background:n.background.content,borderRadius:n.appBorderRadius,overflow:"hidden",boxShadow:"0 1px 5px 0 rgba(0, 0, 0, 0.1)"}}),O=function(e){var t=e.hidden,n=e.children,r=e.position,i=g(e,["hidden","children","position"]);return t?null:o.default.createElement(b,y({style:r},i),n)};t.Nav=O,O.propTypes={hidden:i.default.bool,children:i.default.node.isRequired,position:i.default.shape({})},O.defaultProps={hidden:!1,position:void 0};var x=function(e){var t=e.isFullscreen,n=e.children,r=e.position,i=g(e,["isFullscreen","children","position"]);return o.default.createElement(b,y({style:r,top:!0},i),o.default.createElement(w,{isFullscreen:t},n))};t.Main=x,x.displayName="Main",x.propTypes={isFullscreen:i.default.bool,children:i.default.node.isRequired,position:i.default.shape({})},x.defaultProps={isFullscreen:!1,position:void 0};var S=function(e){var t=e.hidden,n=e.children,r=e.position,i=g(e,["hidden","children","position"]);return o.default.createElement(b,y({style:r,top:!0,hidden:t},i),n)};t.Preview=S,S.displayName="Preview",S.propTypes={hidden:i.default.bool,children:i.default.node.isRequired,position:i.default.shape({})},S.defaultProps={hidden:!1,position:void 0};var E=function(e){var t=e.hidden,n=e.children,r=e.position,i=e.align,a=g(e,["hidden","children","position","align"]);return o.default.createElement(b,y({style:r,hidden:t},a,{border:"bottom"===i?"top":"left"}),n)};t.Panel=E,E.displayName="Panel",E.propTypes={hidden:i.default.bool,children:i.default.node.isRequired,position:i.default.shape({}),align:i.default.oneOf(["bottom","right"])},E.defaultProps={hidden:!1,position:void 0,align:"right"};var k=a.styled.div({position:"absolute",left:0,top:0,zIndex:15,height:"100vh",width:"100vw"}),j=function(e){var t=e.panelPosition,n=e.isPanelHidden,r=e.isNavHidden,o=e.isFullscreen,i=e.bounds,a=e.resizerPanel,u=e.resizerNav,l=e.margin;if(o||n)return{};var c=r?0:u.x,s=n?0:a.x,f=n?0:a.y;return"bottom"===t?{height:f-l,left:0,top:0,width:i.width-c-2*l}:{height:i.height-2*l,left:0,top:0,width:s-c-l}},_=function(e){var t=e.bounds,n=e.resizerNav,r=e.isNavHidden,o=e.isFullscreen,i=e.margin;if(o)return{};var a=r?0:n.x;return{height:t.height-2*i,left:a+i,top:i,width:t.width-a-2*i}},T=function(e){var t=e.isPanelBottom,n=e.isPanelHidden,r=e.isNavHidden,o=e.bounds,i=e.resizerPanel,a=e.resizerNav,u=e.margin,l=r?0:a.x,c=i.x,s=i.y;return t&&n?{height:o.height-s-u,left:0,top:s-u,width:o.width-l-2*u}:!t&&n?{height:o.height-2*u,left:c-l-u,top:0,width:o.width-c-u}:t?{height:o.height-s-u,left:0,top:s-u,width:o.width-l-2*u}:{height:o.height-2*u,left:c-l-u,top:0,width:o.width-c-u}},P=o.default.createElement(k,null),C=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=d(this,h(t).call(this,e))).resizeNav=function(e,t){t.deltaX&&n.setState({resizerNav:{x:t.x,y:t.y}})},n.resizePanel=function(e,t){var r=n.props.options;(t.deltaY&&"bottom"===r.panelPosition||t.deltaX&&"right"===r.panelPosition)&&n.setState({resizerPanel:{x:t.x,y:t.y}})},n.setDragNav=function(){n.setState({isDragging:"nav"})},n.setDragPanel=function(){n.setState({isDragging:"panel"})},n.unsetDrag=function(){n.setState({isDragging:!1})};var r=e.bounds,o=e.options,i=u.get(),a=i.resizerNav,l=i.resizerPanel;return n.state={isDragging:!1,resizerNav:a||{x:200,y:0},resizerPanel:l||("bottom"===o.panelPosition?{x:0,y:Math.round(.6*r.height)}:{x:r.width-400,y:0})},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,o.Component),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.bounds,r=e.options,o=t.resizerPanel,i=t.resizerNav,a=r.isFullscreen||!r.showNav,u=r.isFullscreen||!r.showPanel,l=r.panelPosition,c="right"===l,s="bottom"===l,f=i.x,p=o.x,d=o.y,h=!u&&c?400:200,v={};return a||(n.width-hp&&(v.resizerPanel={x:f+200,y:0})),s&&!u&&(n.height-2001?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},c=l.state,s=l.replace,f=void 0!==s&&s;c=r({},c,{key:Date.now()+""});try{a||f?e.history.replaceState(c,null,t):e.history.pushState(c,null,t)}catch(n){e.location[f?"replace":"assign"](t)}i=o(e),a=!0;var p=new Promise(function(e){return u=e});return n.forEach(function(e){return e({location:i,action:"PUSH"})}),p}}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=0,n=[{pathname:e,search:""}],r=[];return{get location(){return n[t]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return n},get index(){return t},get state(){return r[t]},pushState:function(e,o,i){var a=i.split("?"),u=a[0],l=a[1],c=void 0===l?"":l;t++,n.push({pathname:u,search:c}),r.push(e)},replaceState:function(e,o,i){var a=i.split("?"),u=a[0],l=a[1],c=void 0===l?"":l;n[t]={pathname:u,search:c},r[t]=e}}}},u=!("undefined"==typeof window||!window.document||!window.document.createElement),l=i(u?window:a()),c=l.navigate},"558e":function(e,t,n){"use strict";n("2G9S"),n("hBpG"),n("jwue"),n("7xRU"),n("ho0z"),n("IAdD"),n("+KXO"),n("1IsZ"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n={toggleFullscreen:function(e){return t.setState(function(t){var n="boolean"==typeof e?e:!t.layout.isFullscreen;return{layout:Object.assign({},t.layout,{isFullscreen:n})}},{persistence:"session"})},togglePanel:function(e){return t.setState(function(t){var n=void 0!==e?e:!t.layout.showPanel;return{layout:Object.assign({},t.layout,{showPanel:n})}},{persistence:"session"})},togglePanelPosition:function(e){return void 0!==e?t.setState(function(t){return{layout:Object.assign({},t.layout,{panelPosition:e})}},{persistence:"session"}):t.setState(function(e){return{layout:Object.assign({},e.layout,{panelPosition:"right"===e.layout.panelPosition?"bottom":"right"})}},{persistence:"session"})},toggleNav:function(e){return t.setState(function(t){var n=void 0!==e?e:!t.layout.showNav;return{layout:Object.assign({},t.layout,{showNav:n})}},{persistence:"session"})},toggleToolbar:function(e){return t.setState(function(t){var n=void 0!==e?e:!t.layout.isToolshown;return{layout:Object.assign({},t.layout,{isToolshown:n})}},{persistence:"session"})},resetLayout:function(){return t.setState(function(e){return{layout:Object.assign({},e.layout,{showNav:!1,showPanel:!1,isFullscreen:!1})}},{persistence:"session"})},focusOnUIElement:function(e){if(e){var t=r.document.getElementById(e);t&&t.focus()}},setOptions:function(e){var n=m?t.getState():g,r=n.layout,i=n.ui,u=n.selectedPanel,l=n.theme;if(e){var c=Object.assign({},r,{},(0,o.default)(e,Object.keys(r)),{},y(e)),s=Object.assign({},i,{},(0,o.default)(e,Object.keys(i))),f=Object.assign({},l,{},e.theme,{},v(e)),p={};(0,a.default)(i,s)||(p.ui=s),(0,a.default)(r,c)||(p.layout=c),(0,a.default)(l,f)||(p.theme=f),e.selectedPanel&&!(0,a.default)(u,e.selectedPanel)&&(p.selectedPanel=e.selectedPanel),Object.keys(p).length&&t.setState(p,{persistence:"permanent"}),m=!0}}},i=(0,o.default)(t.getState(),"layout","ui","selectedPanel","theme");return{api:n,state:(0,l.default)(g,i)}},t.focusableUIElements=void 0;var r=n("NyMY"),o=c(n("//nZ")),i=c(n("P2aG")),a=c(n("b2e3")),u=n("VSTh"),l=c(n("3NXE"));function c(e){return e&&e.__esModule?e:{default:e}}var s={name:"theme.brandTitle",url:"theme.brandUrl"},f={goFullScreen:"isFullscreen",showStoriesPanel:"showNav",showAddonPanel:"showPanel",addonPanelInRight:"panelPosition"},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"The options { ".concat(Object.keys(e).join(", ")," } are deprecated -- use ").concat(t?"".concat(t,"'s"):""," { ").concat(Object.values(e).join(", ")," } instead.")},d=(0,i.default)(function(e){var t=e.name,n=e.url,r=e.theme||{};return{brandTitle:r.brandTitle||t,brandUrl:r.brandUrl||n,brandImage:r.brandImage||null}},p(s)),h=(0,i.default)(function(e){var t={};return["goFullScreen","showStoriesPanel","showAddonPanel"].forEach(function(n){var r=e[n];void 0!==r&&(t[f[n]]=r)}),e.addonPanelInRight&&(t.panelPosition="right"),t},p(f)),v=function(e){return Object.keys(s).find(function(t){return t in e})?d(e):{}},y=function(e){return Object.keys(f).find(function(t){return t in e})?h(e):{}},g={ui:{enableShortcuts:!0,sidebarAnimations:!0,docsMode:!1},layout:{isToolshown:!0,isFullscreen:!1,showPanel:!0,showNav:!0,panelPosition:"bottom"},selectedPanel:void 0,theme:u.themes.light};t.focusableUIElements={storySearchField:"storybook-explorer-searchfield",storyListMenu:"storybook-explorer-menu",storyPanelRoot:"storybook-panel-root"};var m=!1},"56Cj":function(e,t,n){var r=n("ct80");e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},5878:function(e,t,n){n("ax0f")({target:"Function",proto:!0},{bind:n("zh11")})},"59Js":function(e,t,n){"use strict";e.exports=n("CDwZ")},"5IAQ":function(e,t,n){"use strict";n.r(t);var r=n("eSfy");t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},r=n.transport,o=n.async,a=void 0!==o&&o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.isAsync=void 0,this.sender=i(),this.events={},this.transport=void 0,this.isAsync=a,r&&(this.transport=r,this.transport.setHandler(function(t){return e.handleEvent(t)}))}var n,a,u;return n=t,(a=[{key:"addListener",value:function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}},{key:"addPeerListener",value:function(e,t){var n=t;n.ignorePeer=!0,this.addListener(e,n)}},{key:"emit",value:function(t){for(var n=this,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i=1&&o[0]&&o[0].options&&(u=o[0].options);var l=function(){n.transport&&n.transport.send(a,u),n.handleEvent(a,!0)};this.isAsync?e(l):l()}},{key:"eventNames",value:function(){return Object.keys(this.events)}},{key:"listenerCount",value:function(e){var t=this.listeners(e);return t?t.length:0}},{key:"listeners",value:function(e){var t=this.events[e];return t||void 0}},{key:"once",value:function(e,t){var n=this.onceListener(e,t);this.addListener(e,n)}},{key:"removeAllListeners",value:function(e){e?this.events[e]&&delete this.events[e]:this.events={}}},{key:"removeListener",value:function(e,t){var n=this.listeners(e);n&&(this.events[e]=n.filter(function(e){return e!==t}))}},{key:"on",value:function(e,t){this.addListener(e,t)}},{key:"handleEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.listeners(e.type);n&&(t||e.from!==this.sender)&&n.forEach(function(n){return!(t&&n.ignorePeer)&&n.apply(void 0,r(e.args))})}},{key:"onceListener",value:function(e,t){var n=this,r=function r(){return n.removeListener(e,r),t.apply(void 0,arguments)};return r}},{key:"hasTransport",get:function(){return!!this.transport}}])&&o(n.prototype,a),u&&o(n,u),t}();t.Channel=a;var u=a;t.default=u}).call(this,n("/Qos").setImmediate)},"5kLD":function(e,t){e.exports=function(e){return e>=0?1:-1}},"5nKN":function(e,t,n){var r=n("2q8g"),o=n("9vbJ"),i=n("tQYX"),a=n("c18h"),u=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,s=l.toString,f=c.hasOwnProperty,p=RegExp("^"+s.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:u).test(a(e))}},"5ntg":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"5o43":function(e,t,n){var r=n("ax0f"),o=n("ct80"),i=n("N9G2"),a=n("DjlN"),u=n("gC6d");r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},"5pfJ":function(e,t,n){var r=n("vxC8")(Object,"create");e.exports=r},"5qGD":function(e,t,n){"use strict";n("hBpG"),n("KOtZ"),n("IAdD"),n("UvmB"),n("yH/f"),n("+KXO"),n("7x/C"),n("JtPf"),n("KqXw"),n("WNMA"),n("sVFb"),Object.defineProperty(t,"__esModule",{value:!0}),t.keys=s,t.default=function(e){var t=e.store,n={getShortcutKeys:function(){return t.getState().shortcuts},setShortcuts:function(e){return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,regeneratorRuntime.awrap(t.setState({shortcuts:e},{persistence:"permanent"}));case 2:return n.abrupt("return",e);case 3:case"end":return n.stop()}})},restoreAllDefaultShortcuts:function(){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.setShortcuts(f));case 1:case"end":return e.stop()}})},setShortcut:function(e,t){var r;return regeneratorRuntime.async(function(o){for(;;)switch(o.prev=o.next){case 0:return r=n.getShortcutKeys(),o.next=3,regeneratorRuntime.awrap(n.setShortcuts(Object.assign({},r,u({},e,t))));case 3:return o.abrupt("return",t);case 4:case"end":return o.stop()}})},restoreDefaultShortcut:function(e){var t;return regeneratorRuntime.async(function(r){for(;;)switch(r.prev=r.next){case 0:return t=f[e],r.abrupt("return",n.setShortcut(e,t));case 2:case"end":return r.stop()}})},handleKeydownEvent:function(e,t){var r=(0,i.eventToShortcut)(t),o=n.getShortcutKeys(),a=s(o),u=a.find(function(e){return(0,i.shortcutMatchesShortcut)(r,o[e])});u&&n.handleShortcutFeature(e,u)},handleShortcutFeature:function(e,n){var o=t.getState(),i=o.layout,u=i.isFullscreen,l=i.showNav,c=i.showPanel,s=o.ui.enableShortcuts;if(s)switch(n){case"escape":u?e.toggleFullscreen():l||e.toggleNav();break;case"focusNav":u&&e.toggleFullscreen(),l||e.toggleNav(),e.focusOnUIElement(a.focusableUIElements.storyListMenu);break;case"search":u&&e.toggleFullscreen(),l||e.toggleNav(),setTimeout(function(){e.focusOnUIElement(a.focusableUIElements.storySearchField)},0);break;case"focusIframe":var f=r.document.getElementById("storybook-preview-iframe");if(f)try{f.contentWindow.focus()}catch(e){}break;case"focusPanel":u&&e.toggleFullscreen(),c||e.togglePanel(),e.focusOnUIElement(a.focusableUIElements.storyPanelRoot);break;case"nextStory":e.jumpToStory(1);break;case"prevStory":e.jumpToStory(-1);break;case"nextComponent":e.jumpToComponent(1);break;case"prevComponent":e.jumpToComponent(-1);break;case"fullScreen":e.toggleFullscreen();break;case"togglePanel":u&&(e.toggleFullscreen(),e.resetLayout()),e.togglePanel();break;case"toggleNav":u&&(e.toggleFullscreen(),e.resetLayout()),e.toggleNav();break;case"toolbar":e.toggleToolbar();break;case"panelPosition":u&&e.toggleFullscreen(),c||e.togglePanel(),e.togglePanelPosition();break;case"aboutPage":e.navigate("/settings/about");break;case"shortcutsPage":e.navigate("/settings/shortcuts")}}},l=t.getState().shortcuts,c=void 0===l?f:l,p={shortcuts:s(f).reduce(function(e,t){return Object.assign({},e,u({},t,c[t]||f[t]))},f)};return{api:n,state:p,init:function(e){var t=e.api;r.document.addEventListener("keydown",function(e){(function(e){return/input|textarea/i.test(e.target.tagName)||null!==e.target.getAttribute("contenteditable")})(e)||t.handleKeydownEvent(t,e)}),t.on(o.PREVIEW_KEYDOWN,function(e){t.handleKeydownEvent(t,e.event)})}}},t.defaultShortcuts=t.controlOrMetaKey=t.isMacLike=void 0,n("3yYM");var r=n("NyMY"),o=n("aPAC"),i=n("ZaTE"),a=n("558e");function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){return!(!r.navigator||!r.navigator.platform)&&!!r.navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i)};t.isMacLike=l;var c=function(){return l()?"meta":"control"};function s(e){return Object.keys(e)}t.controlOrMetaKey=c;var f=Object.freeze({fullScreen:["F"],togglePanel:["A"],panelPosition:["D"],toggleNav:["S"],toolbar:["T"],search:["/"],focusNav:["1"],focusIframe:["2"],focusPanel:["3"],prevComponent:["alt","ArrowUp"],nextComponent:["alt","ArrowDown"],prevStory:["alt","ArrowLeft"],nextStory:["alt","ArrowRight"],shortcutsPage:[c(),"shift",","],aboutPage:[","],escape:["escape"]});t.defaultShortcuts=f},"64g+":function(e,t,n){var r=n("5Jdw"),o=n("XU0c"),i=n("0/JC");e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},"66wQ":function(e,t,n){var r=n("ct80"),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"6OVi":function(e,t,n){"use strict";var r=n("0FSu").forEach,o=n("NVHP");e.exports=o("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},"6P6R":function(e,t,n){"use strict";n.r(t);var r=n("HtDb");n.d(t,"default",function(){return r.default})},"6QIk":function(e,t,n){var r=n("pPzx");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},"6Rtw":function(e,t,n){var r=n("EAGB");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},"6U7i":function(e,t,n){"use strict";var r=n("1Mu/"),o=n("9JhN"),i=n("66wQ"),a=n("uLp7"),u=n("8aeu"),l=n("amH4"),c=n("j6nH"),s=n("CD8Q"),f=n("ct80"),p=n("guiJ"),d=n("ZdBB").f,h=n("GFpt").f,v=n("q9+l").f,y=n("Ya2h").trim,g=o.Number,m=g.prototype,b="Number"==l(p(m)),w=function(e){var t,n,r,o,i,a,u,l,c=s(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=y(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;uo)return NaN;return parseInt(i,r)}return+c};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var O,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(b?f(function(){m.valueOf.call(n)}):"Number"!=l(n))?c(new g(w(t)),n,x):w(t)},S=r?d(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;S.length>E;E++)u(g,O=S[E])&&!u(x,O)&&v(x,O,h(g,O));x.prototype=m,m.constructor=x,a(o,"Number",x)}},"6UKJ":function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},"6Ybx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("JDEP"),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default},"6Yie":function(e,t){var n=/[\'\"]/;e.exports=function(e){return e?(n.test(e.charAt(0))&&(e=e.substr(1)),n.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):""}},"6kKK":function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var o;function i(e,t,n){var r=Object.keys(e);return r.indexOf(t)>=0?t:r.length?r[0]:n}n("1t7P"),n("jQ/y"),n("aLgo"),n("jwue"),n("vrRf"),n("plBw"),n("lTEL"),n("cARO"),n("IAdD"),n("UvmB"),n("ZVkB"),n("+KXO"),n("7x/C"),n("DZ+c"),n("87if"),n("+oxZ"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.ensurePanel=i,t.default=t.types=void 0,t.types=o,function(e){e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.PREVIEW="preview",e.NOTES_ELEMENT="notes-element"}(o||(t.types=o={}));t.default=function(e){var t=e.provider,n=e.store,a={getElements:function(e){return t.getElements(e)},getPanels:function(){return a.getElements(o.PANEL)},getStoryPanels:function(){var e=a.getPanels(),t=n.getState(),o=t.storyId,i=t.storiesHash,u=o&&i[o];if(!e||!u)return e;var l=u.parameters,c={};return Object.entries(e).forEach(function(e){var t=r(e,2),n=t[0],o=t[1],i=o.paramKey;i&&l&&l[i]&&l[i].disabled||(c[n]=o)}),c},getSelectedPanel:function(){var e=n.getState().selectedPanel;return i(a.getPanels(),e,e)},setSelectedPanel:function(e){n.setState({selectedPanel:e},{persistence:"session"})},setAddonState:function(e,t,r){var o,i,u,l,c=n.getState().addons;return o="function"==typeof t?t(a.getAddonState(e)):t,n.setState({addons:Object.assign({},c,(i={},u=e,l=o,u in i?Object.defineProperty(i,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[u]=l,i))},r).then(function(){return a.getAddonState(e)})},getAddonState:function(e){return n.getState().addons[e]}};return{api:a,state:{selectedPanel:i(a.getPanels(),n.getState().selectedPanel),addons:{}}}}},"6w+j":function(e,t,n){(function(t){var n="Expected a function",r="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,u="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=u||l||Function("return this")();var s,f=Array.prototype,p=Function.prototype,d=Object.prototype,h=c["__core-js_shared__"],v=(s=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",y=p.toString,g=d.hasOwnProperty,m=d.toString,b=RegExp("^"+y.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=f.splice,O=P(c,"Map"),x=P(Object,"create");function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},E.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},k.prototype.clear=function(){this.__data__={hash:new S,map:new(O||E),string:new S}},k.prototype.delete=function(e){return T(this,e).delete(e)},k.prototype.get=function(e){return T(this,e).get(e)},k.prototype.has=function(e){return T(this,e).has(e)},k.prototype.set=function(e,t){return T(this,e).set(e,t),this},C.Cache=k,e.exports=C}).call(this,n("fRV1"))},"6xUn":function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("2G9S"),n("lTEL"),n("j4Sf"),n("UvmB"),n("5o43"),n("LUwd"),n("7x/C"),n("87if"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomProvider=t.ZoomConsumer=t.Zoom=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("ERkP")),i=(r=n("aWzz"))&&r.__esModule?r:{default:r},a=n("adtJ");function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return(l="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})(e)}function c(e,t){for(var n=0;n2?arguments[2]:[];if(!this.IsCallable(e))throw new u(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=S(e)?e:o(e,p);if("symbol"==typeof t)throw new u("Cannot convert a Symbol value to a number");if("string"==typeof t){if(T(t))return this.ToNumber(E(_(t,2),2));if(P(t))return this.ToNumber(E(_(t,2),8));if(A(t)||I(t))return NaN;var n=function(e){return G(e,Y,"")}(t);if(n!==t)return this.ToNumber(n)}return p(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(g(t)||0===t||!m(t))return 0;var n=O(t)*B(H(t));return x(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(g(t)||t<=0)return 0;if(t>=255)return 255;var n=B(e);return n+.5b?b:t},CanonicalNumericIndexString:function(e){if("[object String]"!==z(e))throw new u("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:$.CheckObjectCoercible,IsArray:c.isArray||function(e){return"[object Array]"===z(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!S(e)&&K(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||g(e)||!m(e))return!1;var t=H(e);return B(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[d.match];if(void 0!==t)return $.ToBoolean(t)}return X(e)},SameValueZero:function(e,t){return e===t||g(e)&&g(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new u(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":$.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new u("O.constructor is not an Object");var r=v&&d.species?n[d.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new u("no constructor found")},CompletePropertyDescriptor:function(e){return y(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new u("O must be an Object");if(!this.IsPropertyKey(t))throw new u("P must be a Property Key");if("Boolean"!==this.Type(r))throw new u("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new u("O must be an Object");if(!this.IsPropertyKey(t))throw new u("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new u("O must be an Object");if(!this.IsPropertyKey(t))throw new u("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(v&&"symbol"==typeof d.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new u("P must be a Property Key");var n=j(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,d.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new u("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new u("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new u("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var i=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(i))throw new u("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new u("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new u("R must be an Object");if("String"!==this.Type(t))throw new u("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new u('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new u("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&v&&d.species&&null===(n=this.Get(n,d.species))&&(n=void 0)),void 0===n)return c(r);if(!this.IsConstructor(n))throw new u("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");var r=W(e,t),o=r||"function"!=typeof K||K(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new u("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new u("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new l("es-abstract does not yet support internal slots");if(null===e&&!U)throw new l("native Object.create support is required to create null objects");return U(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new u("S must be a String");if(!this.IsInteger(t)||t<0||t>b)throw new u("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new u("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=R(e,t);if(r<55296||r>56319)return t+1;var o=R(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");return!!V(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");return!!V(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new u("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new u("Assertion failed: Type(O) is not Object");return i(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:N(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:D(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:L(e)},thisTimeValue:function(e){return F(e)}});delete Z.CheckObjectCoercible,e.exports=Z},"7LDk":function(e,t,n){"use strict";n.r(t);var r=n("9XKY");n.d(t,"TemplateTag",function(){return r.default});var o=n("20Fm");n.d(t,"trimResultTransformer",function(){return o.default});var i=n("JFEB");n.d(t,"stripIndentTransformer",function(){return i.default});var a=n("W0QR");n.d(t,"replaceResultTransformer",function(){return a.default});var u=n("oeWb");n.d(t,"replaceSubstitutionTransformer",function(){return u.default});var l=n("jn71");n.d(t,"replaceStringTransformer",function(){return l.default});var c=n("cmfU");n.d(t,"inlineArrayTransformer",function(){return c.default});var s=n("eFsV");n.d(t,"splitStringTransformer",function(){return s.default});var f=n("Q5t5");n.d(t,"removeNonPrintingValuesTransformer",function(){return f.default});var p=n("zcpk");n.d(t,"commaLists",function(){return p.default});var d=n("bfYW");n.d(t,"commaListsAnd",function(){return d.default});var h=n("3AGO");n.d(t,"commaListsOr",function(){return h.default});var v=n("HtDb");n.d(t,"html",function(){return v.default});var y=n("6P6R");n.d(t,"codeBlock",function(){return y.default});var g=n("ZkTI");n.d(t,"source",function(){return g.default});var m=n("iQo4");n.d(t,"safeHtml",function(){return m.default});var b=n("+2Mq");n.d(t,"oneLine",function(){return b.default});var w=n("/Q7e");n.d(t,"oneLineTrim",function(){return w.default});var O=n("kmJJ");n.d(t,"oneLineCommaLists",function(){return O.default});var x=n("oulb");n.d(t,"oneLineCommaListsOr",function(){return x.default});var S=n("4Te8");n.d(t,"oneLineCommaListsAnd",function(){return S.default});var E=n("VtRx");n.d(t,"inlineLists",function(){return E.default});var k=n("/aJj");n.d(t,"oneLineInlineLists",function(){return k.default});var j=n("rr8c");n.d(t,"stripIndent",function(){return j.default});var _=n("QyIM");n.d(t,"stripIndents",function(){return _.default})},"7Pat":function(e,t,n){var r=n("+7q0"),o=n("kG2z")(r);e.exports=o},"7St7":function(e,t,n){var r=n("fVMg"),o=n("guiJ"),i=n("0HP5"),a=r("unscopables"),u=Array.prototype;null==u[a]&&i(u,a,o(null)),e.exports=function(e){u[a][e]=!0}},"7TIr":function(e,t,n){"use strict";n("/OF8")()},"7Zgl":function(e,t,n){"use strict";n.r(t),n.d(t,"adjustHue",function(){return Ie}),n.d(t,"animation",function(){return ht}),n.d(t,"backgroundImages",function(){return vt}),n.d(t,"backgrounds",function(){return yt}),n.d(t,"between",function(){return C}),n.d(t,"border",function(){return mt}),n.d(t,"borderColor",function(){return bt}),n.d(t,"borderRadius",function(){return wt}),n.d(t,"borderStyle",function(){return Ot}),n.d(t,"borderWidth",function(){return xt}),n.d(t,"buttons",function(){return _t}),n.d(t,"clearFix",function(){return M}),n.d(t,"complement",function(){return Re}),n.d(t,"cover",function(){return A}),n.d(t,"darken",function(){return De}),n.d(t,"desaturate",function(){return Fe}),n.d(t,"directionalProperty",function(){return b}),n.d(t,"ellipsis",function(){return I}),n.d(t,"em",function(){return E}),n.d(t,"fluidRange",function(){return R}),n.d(t,"fontFace",function(){return B}),n.d(t,"getContrast",function(){return He}),n.d(t,"getLuminance",function(){return Be}),n.d(t,"getValueAndUnit",function(){return j}),n.d(t,"grayscale",function(){return Ue}),n.d(t,"hiDPI",function(){return W}),n.d(t,"hideText",function(){return H}),n.d(t,"hideVisually",function(){return U}),n.d(t,"hsl",function(){return xe}),n.d(t,"hslToColorString",function(){return We}),n.d(t,"hsla",function(){return Se}),n.d(t,"invert",function(){return Ke}),n.d(t,"lighten",function(){return qe}),n.d(t,"linearGradient",function(){return q}),n.d(t,"margin",function(){return Tt}),n.d(t,"math",function(){return v}),n.d(t,"meetsContrastGuidelines",function(){return Ye}),n.d(t,"mix",function(){return $e}),n.d(t,"modularScale",function(){return T}),n.d(t,"normalize",function(){return Y}),n.d(t,"opacify",function(){return Ze}),n.d(t,"padding",function(){return Pt}),n.d(t,"parseToHsl",function(){return ye}),n.d(t,"parseToRgb",function(){return ve}),n.d(t,"position",function(){return Mt}),n.d(t,"radialGradient",function(){return $}),n.d(t,"readableColor",function(){return Je}),n.d(t,"rem",function(){return P}),n.d(t,"retinaImage",function(){return X}),n.d(t,"rgb",function(){return Ee}),n.d(t,"rgbToColorString",function(){return Qe}),n.d(t,"rgba",function(){return ke}),n.d(t,"saturate",function(){return tt}),n.d(t,"setHue",function(){return rt}),n.d(t,"setLightness",function(){return it}),n.d(t,"setSaturation",function(){return ut}),n.d(t,"shade",function(){return ct}),n.d(t,"size",function(){return At}),n.d(t,"stripUnit",function(){return x}),n.d(t,"textInputs",function(){return zt}),n.d(t,"timingFunctions",function(){return J}),n.d(t,"tint",function(){return ft}),n.d(t,"toColorString",function(){return Ce}),n.d(t,"transitions",function(){return Nt}),n.d(t,"transparentize",function(){return dt}),n.d(t,"triangle",function(){return te}),n.d(t,"wordWrap",function(){return ne});var r=n("cxan"),o=n("pWxA"),i=n("BFfR"),a=n("+lMt"),u=n("fhSp");function l(){var e;return(e=arguments.length-1)<0||arguments.length<=e?void 0:arguments[e]}var c={symbols:{"!":{postfix:{symbol:"!",f:function e(t){return t%1||!(+t>=0)?NaN:t>170?1/0:0===t?1:t*e(t-1)},notation:"postfix",precedence:6,rightToLeft:0,argCount:1},symbol:"!",regSymbol:"!"},"^":{infix:{symbol:"^",f:function(e,t){return Math.pow(e,t)},notation:"infix",precedence:5,rightToLeft:1,argCount:2},symbol:"^",regSymbol:"\\^"},"*":{infix:{symbol:"*",f:function(e,t){return e*t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:function(e,t){return e/t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:function(e,t){return e+t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:l,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:function(e,t){return e-t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:function(e){return-e},notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:function(){return Array.of.apply(Array,arguments)},notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:l,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:function(){return Math.min.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:function(){return Math.max.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"},sqrt:{func:{symbol:"sqrt",f:function(e){return Math.sqrt(e)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"sqrt",regSymbol:"sqrt\\b"}}};var s=function(e){function t(t){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#"+t+" for more information.")||this,Object(o.default)(n)}return Object(i.default)(t,e),t}(Object(a.default)(Error)),f=/((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;function p(e,t){var n,r=e.pop();return t.push(r.f.apply(r,(n=[]).concat.apply(n,t.splice(-r.argCount)))),r.precedence}function d(e,t){var n,o=function(e){var t={};return t.symbols=e?Object(r.default)({},c.symbols,e.symbols):Object(r.default)({},c.symbols),t}(t),i=[o.symbols["("].prefix],a=[],u=new RegExp("\\d+(?:\\.\\d+)?|"+Object.keys(o.symbols).map(function(e){return o.symbols[e]}).sort(function(e,t){return t.symbol.length-e.symbol.length}).map(function(e){return e.regSymbol}).join("|")+"|(\\S)","g");u.lastIndex=0;var l=!1;do{var f=(n=u.exec(e))||[")",void 0],d=f[0],h=f[1],v=o.symbols[d],y=v&&!v.prefix&&!v.func,g=!v||!v.postfix&&!v.infix;if(h||(l?g:y))throw new s(37,n?n.index:e.length,e);if(l){var m=v.postfix||v.infix;do{var b=i[i.length-1];if((m.precedence-b.precedence||b.rightToLeft)>0)break}while(p(i,a));l="postfix"===m.notation,")"!==m.symbol&&(i.push(m),l&&p(i,a))}else if(v){if(i.push(v.prefix||v.func),v.func&&(!(n=u.exec(e))||"("!==n[0]))throw new s(38,n?n.index:e.length,e)}else a.push(+d),l=!0}while(n&&i.length);if(i.length)throw new s(39,n?n.index:e.length,e);if(n)throw new s(40,n?n.index:e.length,e);return a.pop()}function h(e){return e.split("").reverse().join("")}function v(e,t){var n=h(e),r=n.match(f);if(r&&!r.every(function(e){return e===r[0]}))throw new s(41);return""+d(h(n.replace(f,"")),t)+(r?h(r[0]):"")}function y(e){return e.charAt(0).toUpperCase()+e.slice(1)}var g=["Top","Right","Bottom","Left"];function m(e,t){if(!e)return t.toLowerCase();var n=e.split("-");if(n.length>1)return n.splice(1,0,t),n.reduce(function(e,t){return""+e+y(t)});var r=e.replace(/([a-z])([A-Z])/g,"$1"+t+"$2");return e===r?""+e+t:r}function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a.length)break;p=a[l++]}else{if((l=a.next()).done)break;p=l.value}var d=p;if(!d.prop||!d.fromSize||!d.toSize)throw new s(50);i[d.prop]=d.fromSize,o["@media (min-width: "+t+")"]=Object(r.default)({},o["@media (min-width: "+t+")"],((c={})[d.prop]=C(d.fromSize,d.toSize,t,n),c)),o["@media (min-width: "+n+")"]=Object(r.default)({},o["@media (min-width: "+n+")"],((f={})[d.prop]=d.toSize,f))}return Object(r.default)({},i,o)}var h,v,y;if(!e.prop||!e.fromSize||!e.toSize)throw new s(51);return(y={})[e.prop]=e.fromSize,y["@media (min-width: "+t+")"]=((h={})[e.prop]=C(e.fromSize,e.toSize,t,n),h),y["@media (min-width: "+n+")"]=((v={})[e.prop]=e.toSize,v),y}var z=/^\s*data:([a-z]+\/[a-z-]+(;[a-z-]+=[a-z-]+)?)?(;charset=[a-z0-9-]+)?(;base64)?,[a-z0-9!$&',()*+,;=\-._~:@\/?%\s]*\s*$/i,N={woff:"woff",woff2:"woff2",ttf:"truetype",otf:"opentype",eot:"embedded-opentype",svg:"svg",svgz:"svg"};function D(e,t){return t?' format("'+N[e]+'")':""}function L(e,t,n){return function(e){return!!e.match(z)}(e)?'url("'+e+'")'+D(t[0],n):t.map(function(t){return'url("'+e+"."+t+'")'+D(t,n)}).join(", ")}function F(e,t,n,r){var o=[];return t&&o.push(function(e){return e.map(function(e){return'local("'+e+'")'}).join(", ")}(t)),e&&o.push(L(e,n,r)),o.join(", ")}function B(e){var t=e.fontFamily,n=e.fontFilePath,r=e.fontStretch,o=e.fontStyle,i=e.fontVariant,a=e.fontWeight,u=e.fileFormats,l=void 0===u?["eot","woff2","woff","ttf","svg"]:u,c=e.formatHint,f=void 0!==c&&c,p=e.localFonts,d=e.unicodeRange,h=e.fontDisplay,v=e.fontVariationSettings,y=e.fontFeatureSettings;if(!t)throw new s(55);if(!n&&!p)throw new s(52);if(p&&!Array.isArray(p))throw new s(53);if(!Array.isArray(l))throw new s(54);var g={"@font-face":{fontFamily:t,src:F(n,p,l,f),unicodeRange:d,fontStretch:r,fontStyle:o,fontVariant:i,fontWeight:a,fontDisplay:h,fontVariationSettings:v,fontFeatureSettings:y}};return JSON.parse(JSON.stringify(g))}function H(){return{textIndent:"101%",overflow:"hidden",whiteSpace:"nowrap"}}function U(){return{border:"0",clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}}function W(e){return void 0===e&&(e=1.3),"\n @media only screen and (-webkit-min-device-pixel-ratio: "+e+"),\n only screen and (min--moz-device-pixel-ratio: "+e+"),\n only screen and (-o-min-device-pixel-ratio: "+e+"/1),\n only screen and (min-resolution: "+Math.round(96*e)+"dpi),\n only screen and (min-resolution: "+e+"dppx)\n "}function K(e){for(var t="",n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?(t=t.slice(0,-1),t+=", "+r[i]):1===a.length&&(t+=""+r[i])}else r[i]&&(t+=r[i]+" ");return t.trim()}function V(){var e=Object(u.default)(["linear-gradient(","",")"]);return V=function(){return e},e}function q(e){var t=e.colorStops,n=e.fallback,r=e.toDirection,o=void 0===r?"":r;if(!t||t.length<2)throw new s(56);return{backgroundColor:n||t[0].split(" ")[0],backgroundImage:K(V(),o,t.join(", "))}}function Y(){var e;return[(e={html:{lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:"0"},h1:{fontSize:"2em",margin:"0.67em 0"},hr:{boxSizing:"content-box",height:"0",overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{backgroundColor:"transparent"},"abbr[title]":{borderBottom:"none",textDecoration:"underline"}},e["b,\n strong"]={fontWeight:"bolder"},e["code,\n kbd,\n samp"]={fontFamily:"monospace, monospace",fontSize:"1em"},e.small={fontSize:"80%"},e["sub,\n sup"]={fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},e.sub={bottom:"-0.25em"},e.sup={top:"-0.5em"},e.img={borderStyle:"none"},e["button,\n input,\n optgroup,\n select,\n textarea"]={fontFamily:"inherit",fontSize:"100%",lineHeight:"1.15",margin:"0"},e["button,\n input"]={overflow:"visible"},e["button,\n select"]={textTransform:"none"},e['button,\n html [type="button"],\n [type="reset"],\n [type="submit"]']={WebkitAppearance:"button"},e['button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner']={borderStyle:"none",padding:"0"},e['button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring']={outline:"1px dotted ButtonText"},e.fieldset={padding:"0.35em 0.625em 0.75em"},e.legend={boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"},e.progress={verticalAlign:"baseline"},e.textarea={overflow:"auto"},e['[type="checkbox"],\n [type="radio"]']={boxSizing:"border-box",padding:"0"},e['[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button']={height:"auto"},e['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},e['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},e["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},e.details={display:"block"},e.summary={display:"list-item"},e.template={display:"none"},e["[hidden]"]={display:"none"},e),{"abbr[title]":{textDecoration:"underline dotted"}}]}function G(){var e=Object(u.default)(["radial-gradient(","","","",")"]);return G=function(){return e},e}function $(e){var t=e.colorStops,n=e.extent,r=void 0===n?"":n,o=e.fallback,i=e.position,a=void 0===i?"":i,u=e.shape,l=void 0===u?"":u;if(!t||t.length<2)throw new s(57);return{backgroundColor:o||t[0].split(" ")[0],backgroundImage:K(G(),a,l,r,t.join(", "))}}function X(e,t,n,o,i){var a;if(void 0===n&&(n="png"),void 0===i&&(i="_2x"),!e)throw new s(58);var u=n.replace(/^\./,""),l=o?o+"."+u:""+e+i+"."+u;return(a={backgroundImage:"url("+e+"."+u+")"})[W()]=Object(r.default)({backgroundImage:"url("+l+")"},t?{backgroundSize:t}:{}),a}var Z={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};function J(e){return Z[e]}var Q=function(e,t,n){var r=""+n[0]+(n[1]||""),o=""+n[0]/2+(n[1]||""),i=""+t[0]+(t[1]||""),a=""+t[0]/2+(t[1]||"");switch(e){case"top":return"0 "+o+" "+i+" "+o;case"topLeft":return r+" "+i+" 0 0";case"left":return a+" "+r+" "+a+" 0";case"bottomLeft":return r+" 0 0 "+i;case"bottom":return i+" "+o+" 0 "+o;case"bottomRight":return"0 0 "+r+" "+i;case"right":return a+" 0 "+a+" "+r;case"topRight":default:return"0 "+r+" "+i+" 0"}},ee=function(e,t,n){switch(e){case"top":case"bottomRight":return n+" "+n+" "+t+" "+n;case"right":case"bottomLeft":return n+" "+n+" "+n+" "+t;case"bottom":case"topLeft":return t+" "+n+" "+n+" "+n;case"left":case"topRight":return n+" "+t+" "+n+" "+n;default:throw new s(59)}};function te(e){var t=e.pointingDirection,n=e.height,r=e.width,o=e.foregroundColor,i=e.backgroundColor,a=void 0===i?"transparent":i,u=x(r,!0),l=x(n,!0);if(isNaN(l[0])||isNaN(u[0]))throw new s(60);return{width:"0",height:"0",borderColor:ee(t,o,a),borderStyle:"solid",borderWidth:Q(t,l,u)}}function ne(e){return void 0===e&&(e="break-word"),{overflowWrap:e,wordWrap:e,wordBreak:"break-word"===e?"break-all":e}}function re(e){return Math.round(255*e)}function oe(e,t,n){return re(e)+","+re(t)+","+re(n)}function ie(e,t,n,r){if(void 0===r&&(r=oe),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=i,l=a):o>=1&&o<2?(u=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(u=a,c=i):o>=5&&o<6&&(u=i,c=a);var s=n-i/2;return r(u+s,l+s,c+s)}var ae={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var ue=/^#[a-fA-F0-9]{6}$/,le=/^#[a-fA-F0-9]{8}$/,ce=/^#[a-fA-F0-9]{3}$/,se=/^#[a-fA-F0-9]{4}$/,fe=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,pe=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,de=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i,he=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function ve(e){if("string"!=typeof e)throw new s(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return ae[t]?"#"+ae[t]:e}(e);if(t.match(ue))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(le)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(ce))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(se)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=fe.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=pe.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])};var a=de.exec(t);if(a){var u="rgb("+ie(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=fe.exec(u);if(!l)throw new s(4,t,u);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=he.exec(t);if(c){var f="rgb("+ie(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",p=fe.exec(f);if(!p)throw new s(4,t,f);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10),alpha:parseFloat(""+c[4])}}throw new s(5)}function ye(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),u=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var l=i-a,c=u>.5?l/(2-i-a):l/(i+a);switch(i){case n:t=(r-o)/l+(r=1?Oe(e,t,n):"rgba("+ie(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Oe(e.hue,e.saturation,e.lightness):"rgba("+ie(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new s(2)}function Ee(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return ge("#"+me(e)+me(t)+me(n));if("object"==typeof e&&void 0===t&&void 0===n)return ge("#"+me(e.red)+me(e.green)+me(e.blue));throw new s(6)}function ke(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=ve(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Ee(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Ee(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new s(7)}var je=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},_e=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Te=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},Pe=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Ce(e){if("object"!=typeof e)throw new s(8);if(_e(e))return ke(e);if(je(e))return Ee(e);if(Pe(e))return Se(e);if(Te(e))return xe(e);throw new s(8)}function Me(e){return function e(t,n,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=n?t.apply(this,o):e(t,n,o)}}(e,e.length,[])}function Ae(e,t){if("transparent"===t)return t;var n=ye(t);return Ce(Object(r.default)({},n,{hue:n.hue+parseFloat(e)}))}var Ie=Me(Ae);function Re(e){if("transparent"===e)return e;var t=ye(e);return Ce(Object(r.default)({},t,{hue:(t.hue+180)%360}))}function ze(e,t,n){return Math.max(e,Math.min(t,n))}function Ne(e,t){if("transparent"===t)return t;var n=ye(t);return Ce(Object(r.default)({},n,{lightness:ze(0,1,n.lightness-parseFloat(e))}))}var De=Me(Ne);function Le(e,t){if("transparent"===t)return t;var n=ye(t);return Ce(Object(r.default)({},n,{saturation:ze(0,1,n.saturation-parseFloat(e))}))}var Fe=Me(Le);function Be(e){if("transparent"===e)return 0;var t=ve(e),n=Object.keys(t).map(function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}),r=n[0],o=n[1],i=n[2];return parseFloat((.2126*r+.7152*o+.0722*i).toFixed(3))}function He(e,t){var n=Be(e),r=Be(t);return parseFloat((n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)).toFixed(2))}function Ue(e){return"transparent"===e?e:Ce(Object(r.default)({},ye(e),{saturation:0}))}function We(e){if("object"==typeof e&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness)return e.alpha&&"number"==typeof e.alpha?Se({hue:e.hue,saturation:e.saturation,lightness:e.lightness,alpha:e.alpha}):xe({hue:e.hue,saturation:e.saturation,lightness:e.lightness});throw new s(45)}function Ke(e){if("transparent"===e)return e;var t=ve(e);return Ce(Object(r.default)({},t,{red:255-t.red,green:255-t.green,blue:255-t.blue}))}function Ve(e,t){if("transparent"===t)return t;var n=ye(t);return Ce(Object(r.default)({},n,{lightness:ze(0,1,n.lightness+parseFloat(e))}))}var qe=Me(Ve);function Ye(e,t){var n=He(e,t);return{AA:n>=4.5,AALarge:n>=3,AAA:n>=7,AAALarge:n>=4.5}}function Ge(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;var o=ve(t),i=Object(r.default)({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),a=ve(n),u=Object(r.default)({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),l=i.alpha-u.alpha,c=2*parseFloat(e)-1,s=((c*l==-1?c:c+l)/(1+c*l)+1)/2,f=1-s;return ke({red:Math.floor(i.red*s+u.red*f),green:Math.floor(i.green*s+u.green*f),blue:Math.floor(i.blue*s+u.blue*f),alpha:i.alpha+(u.alpha-i.alpha)*(parseFloat(e)/1)})}var $e=Me(Ge);function Xe(e,t){if("transparent"===t)return t;var n=ve(t),o="number"==typeof n.alpha?n.alpha:1;return ke(Object(r.default)({},n,{alpha:ze(0,1,(100*o+100*parseFloat(e))/100)}))}var Ze=Me(Xe);function Je(e,t,n){return void 0===t&&(t="#000"),void 0===n&&(n="#fff"),Be(e)>.179?t:n}function Qe(e){if("object"==typeof e&&"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue)return e.alpha&&"number"==typeof e.alpha?ke({red:e.red,green:e.green,blue:e.blue,alpha:e.alpha}):Ee({red:e.red,green:e.green,blue:e.blue});throw new s(46)}function et(e,t){if("transparent"===t)return t;var n=ye(t);return Ce(Object(r.default)({},n,{saturation:ze(0,1,n.saturation+parseFloat(e))}))}var tt=Me(et);function nt(e,t){return"transparent"===t?t:Ce(Object(r.default)({},ye(t),{hue:parseFloat(e)}))}var rt=Me(nt);function ot(e,t){return"transparent"===t?t:Ce(Object(r.default)({},ye(t),{lightness:parseFloat(e)}))}var it=Me(ot);function at(e,t){return"transparent"===t?t:Ce(Object(r.default)({},ye(t),{saturation:parseFloat(e)}))}var ut=Me(at);function lt(e,t){return"transparent"===t?t:$e(parseFloat(e),"rgb(0, 0, 0)",t)}var ct=Me(lt);function st(e,t){return"transparent"===t?t:$e(parseFloat(e),"rgb(255, 255, 255)",t)}var ft=Me(st);function pt(e,t){if("transparent"===t)return t;var n=ve(t),o="number"==typeof n.alpha?n.alpha:1;return ke(Object(r.default)({},n,{alpha:ze(0,1,(100*o-100*parseFloat(e))/100)}))}var dt=Me(pt);function ht(){for(var e=arguments.length,t=new Array(e),n=0;n8)throw new s(64);return{animation:t.map(function(e){if(r&&!Array.isArray(e)||!r&&Array.isArray(e))throw new s(65);if(Array.isArray(e)&&e.length>8)throw new s(66);return Array.isArray(e)?e.join(" "):e}).join(", ")}}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r=0?((o={})["border"+y(e)+"Width"]=n[0],o["border"+y(e)+"Style"]=n[1],o["border"+y(e)+"Color"]=n[2],o):(n.unshift(e),{borderWidth:n[0],borderStyle:n[1],borderColor:n[2]})}function bt(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o=0)return Object(r.default)({position:e},b.apply(void 0,[""].concat(n)));var i=e;return b.apply(void 0,["",i].concat(n))}function At(e,t){return void 0===t&&(t=e),{height:e,width:t}}var It=[void 0,null,"active","focus","hover"];function Rt(e){return'input[type="color"]'+e+',\n input[type="date"]'+e+',\n input[type="datetime"]'+e+',\n input[type="datetime-local"]'+e+',\n input[type="email"]'+e+',\n input[type="month"]'+e+',\n input[type="number"]'+e+',\n input[type="password"]'+e+',\n input[type="search"]'+e+',\n input[type="tel"]'+e+',\n input[type="text"]'+e+',\n input[type="time"]'+e+',\n input[type="url"]'+e+',\n input[type="week"]'+e+",\n input:not([type])"+e+",\n textarea"+e}function zt(){for(var e=arguments.length,t=new Array(e),n=0;n<\/script>"),t.close(),e=t.parentWindow.Object.prototype,t=null,e}():function(){var e,t=document.createElement("iframe"),n=document.body||document.documentElement;return t.style.display="none",n.appendChild(t),t.src="javascript:",e=t.contentWindow.Object.prototype,n.removeChild(t),t=null,e}();delete e.constructor,delete e.hasOwnProperty,delete e.propertyIsEnumerable,delete e.isPrototypeOf,delete e.toLocaleString,delete e.toString,delete e.valueOf;var t=function(){};return t.prototype=e,v=function(){return new t},new t},Object.create=function(e,t){var n,r=function(){};if(null===e)n=v();else{if(null!==e&&s(e))throw new TypeError("Object prototype may only be an Object or null");r.prototype=e,(n=new r).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}var g=function(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){return!1}};if(Object.defineProperty){var m=g({}),b="undefined"==typeof document||g(document.createElement("div"));if(!m||!b)var w=Object.defineProperty,O=Object.defineProperties}if(!Object.defineProperty||w){Object.defineProperty=function(o,a,u){if(s(o))throw new TypeError("Object.defineProperty called on non-object: "+o);if(s(u))throw new TypeError("Property description must be an object: "+u);if(w)try{return w.call(Object,o,a,u)}catch(e){}if("value"in u)if(c&&(n(o,a)||r(o,a))){var l=o.__proto__;o.__proto__=i,delete o[a],o[a]=u.value,o.__proto__=l}else o[a]=u.value;else{var f="get"in u,p="set"in u;if(!c&&(f||p))throw new TypeError("getters & setters can not be defined on this javascript engine");f&&e(o,a,u.get),p&&t(o,a,u.set)}return o}}Object.defineProperties&&!O||(Object.defineProperties=function(e,t){if(O)try{return O.call(Object,e,t)}catch(e){}return Object.keys(t).forEach(function(n){"__proto__"!==n&&Object.defineProperty(e,n,t[n])}),e});Object.seal||(Object.seal=function(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e});Object.freeze||(Object.freeze=function(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze(function(){})}catch(e){Object.freeze=(x=Object.freeze,function(e){return"function"==typeof e?e:x(e)})}var x;Object.preventExtensions||(Object.preventExtensions=function(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e});Object.isSealed||(Object.isSealed=function(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1});Object.isFrozen||(Object.isFrozen=function(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1});Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var t="";a(e,t);)t+="?";e[t]=!0;var n=a(e,t);return delete e[t],n})})?r.call(t,n,t,e):r)||(e.exports=o)}()},"7kqo":function(e,t,n){"use strict";n.r(t),n.d(t,"startsWith",function(){return i}),n.d(t,"pick",function(){return a}),n.d(t,"match",function(){return u}),n.d(t,"resolve",function(){return l}),n.d(t,"insertParams",function(){return c}),n.d(t,"validateRedirect",function(){return s});var r=n("I9iR"),o=n.n(r),i=function(e,t){return e.substr(0,t.length)===t},a=function(e,t){for(var n=void 0,r=void 0,i=t.split("?")[0],a=v(i),u=""===a[0],l=h(e),c=0,s=l.length;ct.score?-1:e.index-t.index})},v=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(e,t){return e+(t?"?"+t:"")},g=["uri","path"]},"7lg/":function(e,t,n){var r=n("N4z3"),o=n("ZdBB").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},"7nmT":function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("w/UT")},"7vSd":function(e,t,n){"use strict";var r=n("V+Bs")(),o=n("tr+p"),i=Object.getOwnPropertyDescriptor;e.exports=function(){if(!r||"function"!=typeof i)return null;var e=i(Symbol.prototype,"description");return e&&"function"==typeof e.get?void 0!==e.get.call(Symbol())||""!==e.get.call(Symbol())||"a"!==e.get.call(Symbol("a"))?o:e.get:o}},"7x/C":function(e,t,n){var r=n("uLp7"),o=n("UmhL"),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},"7x0g":function(e,t,n){"use strict";n.r(t);var r=n("ERkP"),o=n.n(r),i=n("aWzz"),a=n.n(i);n("ImZ4");function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){var t=e.children,n=e.scrollableNodeProps,r=l(e,["children","scrollableNodeProps"]);return o.a.createElement("div",u({"data-simplebar":!0},r),o.a.createElement("div",{className:"simplebar-wrapper"},o.a.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},o.a.createElement("div",{className:"simplebar-height-auto-observer"})),o.a.createElement("div",{className:"simplebar-mask"},o.a.createElement("div",{className:"simplebar-offset"},o.a.createElement("div",{className:"simplebar-content-wrapper"},o.a.createElement("div",u({},n,{className:"simplebar-content".concat(n&&n.className?" ".concat(n.className):"")}),t)))),o.a.createElement("div",{className:"simplebar-placeholder"})),o.a.createElement("div",{className:"simplebar-track simplebar-horizontal"},o.a.createElement("div",{className:"simplebar-scrollbar"})),o.a.createElement("div",{className:"simplebar-track simplebar-vertical"},o.a.createElement("div",{className:"simplebar-scrollbar"})))}c.propTypes={children:a.a.node},t.default=c},"7xRU":function(e,t,n){"use strict";var r=n("ax0f"),o=n("g6a+"),i=n("N4z3"),a=n("NVHP"),u=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||c},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},"8+RD":function(e,t,n){var r=n("dSaG");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"87if":function(e,t,n){"use strict";var r=n("t/tF").charAt,o=n("zc29"),i=n("LfQM"),a=o.set,u=o.getterFor("String Iterator");i(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})})},"8CTL":function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("M+/F"),n("IAdD"),n("EgRP"),n("yH/f"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh"),a=n("7Zgl"),u=n("jveF");function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(){var e=w(["\n ",";\n"]);return s=function(){return e},e}function f(){var e=w(["\n svg {\n height: 1em;\n width: 1em;\n vertical-align: middle;\n position: relative;\n bottom: 0;\n margin-right: 0;\n }\n "]);return f=function(){return e},e}function p(){var e=w(["\n > svg:last-of-type {\n height: 0.7em;\n width: 0.7em;\n margin-right: 0;\n margin-left: 0.25em;\n bottom: auto;\n vertical-align: inherit;\n }\n "]);return p=function(){return e},e}function d(){var e=w(["\n ",";\n\n ",";\n"]);return d=function(){return e},e}function h(){var e=w(["\n border: 0;\n border-radius: 0;\n background: none;\n padding: 0;\n font-size: inherit;\n "]);return h=function(){return e},e}function v(){var e=w(["\n color: ",";\n svg path {\n fill: ",";\n }\n\n &:hover {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n\n &:active {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n "]);return v=function(){return e},e}function y(){var e=w(["\n color: inherit;\n\n &:hover,\n &:active {\n color: inherit;\n text-decoration: underline;\n }\n "]);return y=function(){return e},e}function g(){var e=w(["\n color: ",";\n svg path {\n fill: ",";\n }\n\n &:hover {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n\n &:active {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n "]);return g=function(){return e},e}function m(){var e=w(["\n color: ",";\n svg path {\n fill: ",";\n }\n\n &:hover {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n\n &:active {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n "]);return m=function(){return e},e}function b(){var e=w(["\n display: inline-block;\n transition: all 150ms ease-out;\n text-decoration: none;\n\n color: ",";\n svg path {\n fill: ",";\n }\n\n &:hover,\n &:focus {\n cursor: pointer;\n color: ",";\n svg path {\n fill: ",";\n }\n }\n &:active {\n color: ",";\n svg path {\n fill: ",";\n }\n }\n\n svg {\n display: inline-block;\n height: 1em;\n width: 1em;\n vertical-align: text-top;\n position: relative;\n bottom: -0.125em;\n margin-right: 0.4em;\n }\n\n ",";\n\n ",";\n\n ",";\n\n ",";\n\n ",";\n"]);return b=function(){return e},e}function w(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var O=i.styled.span(d(),function(e){return e.withArrow&&(0,i.css)(p())},function(e){return e.containsIcon&&(0,i.css)(f())}),x=i.styled.a(s(),function(e){return(0,i.css)(b(),e.theme.color.secondary,e.theme.color.secondary,(0,a.darken)(.07,e.theme.color.secondary),(0,a.darken)(.07,e.theme.color.secondary),(0,a.darken)(.1,e.theme.color.secondary),(0,a.darken)(.1,e.theme.color.secondary),e.secondary&&(0,i.css)(m(),e.theme.color.mediumdark,e.theme.color.mediumdark,e.theme.color.dark,e.theme.color.dark,e.theme.color.darker,e.theme.color.darker),e.tertiary&&(0,i.css)(g(),e.theme.color.dark,e.theme.color.dark,e.theme.color.darkest,e.theme.color.darkest,e.theme.color.mediumdark,e.theme.color.mediumdark),e.nochrome&&(0,i.css)(y()),e.inverse&&(0,i.css)(v(),e.theme.color.lightest,e.theme.color.lightest,e.theme.color.lighter,e.theme.color.lighter,e.theme.color.light,e.theme.color.light),e.isButton&&(0,i.css)(h()))}),S=o.default.createElement(u.Icons,{icon:"arrowright"}),E=function(e){var t=e.cancel,n=e.children,r=e.onClick,i=e.withArrow,a=e.containsIcon,u=e.className,s=c(e,["cancel","children","onClick","withArrow","containsIcon","className"]);return o.default.createElement(x,l({},s,{onClick:t?function(e){return function(e,t){(function(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)})(e)&&(e.preventDefault(),t(e))}(e,r)}:r,className:u}),o.default.createElement(O,{withArrow:i,containsIcon:a},n,i&&S))};t.Link=E,E.displayName="Link",E.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:function(){},withArrow:!1,containsIcon:!1}},"8IJI":function(e,t,n){"use strict";var r=n("5L5q"),o=n("ey2t"),i=n("rqpN"),a=n("TuIC"),u=n("0HYz"),l=n("OsbC"),c=l("%String%"),s=l("%Object%"),f=l("%SymbolPrototype%",!0),p=f?r.call(Function.call,f.valueOf):null,d=l("%StringPrototype%"),h=r.call(Function.call,d.charAt),v=l("%Promise_resolve%",!0),y=v?r.call(Function.call,v):null,g=r.call(Function.call,l("%ObjectPrototype%").propertyIsEnumerable),m=r.call(Function.apply,l("%ArrayPrototype%").push),b=p?s.getOwnPropertySymbols:null,w=a(a({},i),{EnumerableOwnPropertyNames:i.EnumerableOwnProperties,thisSymbolValue:function(e){if(!p)throw new SyntaxError("Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object");return"Symbol"===this.Type(e)?e:p(e)},IsStringPrefix:function(e,t){if("String"!==this.Type(e))throw new TypeError('Assertion failed: "p" must be a String');if("String"!==this.Type(t))throw new TypeError('Assertion failed: "q" must be a String');if(e===t||""===e)return!0;var n=e.length;if(n>=t.length)return!1;for(var r=0;r=0&&i.IsInteger(i.ToNumber(r));if(!1===o&&l){var c=i.Get(a,r);i.CreateDataProperty(e,r,c)}}),e},PromiseResolve:function(e,t){if(!y)throw new SyntaxError("This environment does not support Promises.");return y(e,t)}});delete w.EnumerableOwnProperties,delete w.IsPropertyDescriptor,e.exports=w},"8Suv":function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",s="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+u+")",p="(?:"+s+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),v="(?:"+[i,l,c].join("|")+")"+h,y=RegExp([s+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,s,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,s+f,"$"].join("|")+")",s+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",s+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,v].join("|"),"g");e.exports=function(e){return e.match(y)||[]}},"8TZ8":function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.StorybookIcon=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r};function i(){return(i=Object.assign||function(e){for(var t=1;t1)return c.apply(void 0,r).apply(void 0,i);if(l)return(0,o.default)(function(e){return c.apply(void 0,r)(i[0],e)},"Passing stories directly into ".concat(t,"() is deprecated,\n instead use addDecorator(").concat(t,") and pass options with the '").concat(n,"' parameter"));throw new Error("Passing stories directly into ".concat(t,"() is not allowed,\n instead use addDecorator(").concat(t,") and pass options with the '").concat(n,"' parameter"))}}}},"8r/q":function(e,t,n){var r=n("9JhN"),o=n("dSaG"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"90BI":function(e,t,n){"use strict";function r(e){return(r="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})(e)}n("1t7P"),n("jQ/y"),n("aLgo"),n("jwue"),n("hCOa"),n("vrRf"),n("plBw"),n("lTEL"),n("M+/F"),n("cARO"),n("IAdD"),n("EgRP"),n("yH/f"),n("+KXO"),n("7x/C"),n("DZ+c"),n("87if"),n("+oxZ"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.WithTooltip=t.WithToolTipState=t.WithTooltipPure=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n("ERkP")),a=n("VSTh"),u=n("uXhg"),l=n("NyMY"),c=(o=n("OCSl"))&&o.__esModule?o:{default:o},s=n("f/fx");function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function d(){return(d=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function v(){var e=g(["\n cursor: ",";\n"]);return v=function(){return e},e}function y(){var e=g(["\n display: inline-block;\n cursor: ",";\n"]);return y=function(){return e},e}function g(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var m=a.styled.div(y(),function(e){return"hover"===e.mode?"default":"pointer"}),b=a.styled.g(v(),function(e){return"hover"===e.mode?"default":"pointer"}),w=function(e){var t=e.svg,n=e.trigger,r=(e.closeOnClick,e.placement),o=e.modifiers,a=e.hasChrome,u=e.tooltip,l=e.children,f=e.tooltipShown,p=e.onVisibilityChange,v=h(e,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),y=t?b:m;return i.default.createElement(c.default,{placement:r,trigger:n,modifiers:o,tooltipShown:f,onVisibilityChange:p,tooltip:function(e){var t=e.getTooltipProps,n=e.getArrowProps,r=e.tooltipRef,o=e.arrowRef,l=e.placement;return i.default.createElement(s.Tooltip,d({hasChrome:a,placement:l,tooltipRef:r,arrowRef:o,arrowProps:n()},t()),"function"==typeof u?u({onHide:function(){return p(!1)}}):u)}},function(e){var t=e.getTriggerProps,n=e.triggerRef;return i.default.createElement(y,d({ref:n},t(),v),l)})};t.WithTooltipPure=w,w.displayName="WithTooltipPure",w.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:{},hasChrome:!0,tooltipShown:!1};var O=function(e){var t=e.startOpen,n=h(e,["startOpen"]),r=p((0,i.useState)(t||!1),2),o=r[0],a=r[1];return(0,i.useEffect)(function(){var e=function(){return a(!1)};l.document.addEventListener("keydown",e,!1);var t=Array.from(l.document.getElementsByTagName("iframe")),n=[];return t.forEach(function(t){var r=function(){try{t.contentWindow.document&&(t.contentWindow.document.addEventListener("click",e),n.push(function(){try{t.contentWindow.document.removeEventListener("click",e)}catch(e){u.logger.warn("Removing a click listener from iframe failed: ",e)}}))}catch(e){u.logger.warn("Adding a click listener to iframe failed: ",e)}};r(),t.addEventListener("load",r),n.push(function(){t.removeEventListener("load",r)})}),function(){l.document.removeEventListener("keydown",e),n.forEach(function(e){e()})}}),i.default.createElement(w,d({},n,{tooltipShown:o,onVisibilityChange:a}))};t.WithTooltip=t.WithToolTipState=O,O.displayName="WithToolTipState"},"90uY":function(e,t,n){"use strict";var r=n("bbru"),o=n("wSS7"),i=n("5L5q").call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push([a,t[a]]);return n}},"96pp":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"97Jx":function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function j(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t4?e:void 0}());var t},r.isLegacyOpera=function(){return!!window.opera}},A2G2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n("P2aG"))&&r.__esModule?r:{default:r},i=n("aPAC");t.default=function(e){var t=e.provider,n={getChannel:function(){return t.channel},on:function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r?t.channel.addPeerListener(e,n):t.channel.addListener(e,n),function(){return t.channel.removeListener(e,n)}},off:function(e,n){return t.channel.removeListener(e,n)},emit:function(e,n){return t.channel.emit(e,n)},once:function(e,n){return t.channel.once(e,n)},onStory:(0,o.default)(function(e){return n.on(i.STORY_CHANGED,e)},"onStory(...) has been replaced with on(STORY_CHANGED, ...)")};return{api:n}}},A551:function(e,t,n){var r=n("VcbD"),o=n("Gpqx"),i=n("Nj2W"),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},AB7C:function(e,t,n){"use strict";var r=n("zT+L");e.exports=function(){var e={},t=function(t){return e["$"+t]?e["$"+t]:"function"==typeof Symbol?(e["$"+t]=Symbol(t),e["$"+t]):"___ "+t+" ___"};return{get:function(e,n){return e[t(n)]},has:function(e,n){return t(n)in e},set:function(e,n,o){var i=t(n);r.supportsDescriptors?Object.defineProperty(e,i,{configurable:!1,enumerable:!1,value:o,writable:!0}):e[i]=o}}}},"AO5/":function(e,t,n){"use strict";var r=n("/HEY");e.exports=function(){return"function"==typeof String.prototype.padStart?String.prototype.padStart:r}},"ARk+":function(e,t,n){"use strict";function r(e){return(r="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.AddonPanel=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n("ERkP"));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var a=function(e,t){var n=function(e){var t=(0,o.useRef)();return(0,o.useEffect)(function(){t.current=e},[e]),t.current}(t);return e?t:n},u=function(e){var t=e.active,n=e.children;return o.default.createElement("div",{hidden:!t,style:{transform:"translateX(0px)"}},a(t,n))};t.AddonPanel=u,u.displayName="AddonPanel"},ARua:function(e,t,n){"use strict";n("2nwC")},AYLx:function(e,t,n){var r=n("9JhN"),o=n("Ya2h").trim,i=n("+/eK"),a=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},AbK1:function(e,t,n){"use strict";n.r(t),t.default=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";ur&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102u.charCodeAt(0)&&(u=u.trim()),u=[u],0d)&&(F=(U=U.replace(" ",":")).length),0=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?w(e):t}function x(e,t,n){return(x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=this.constructor.levels.error&&(this.error=console.error,this.logLevel>=this.constructor.levels.warn&&(this.warn=console.warn,["info","debug","verbose"].some(function(e){return!(t.logLevel>=t.constructor.levels[e]&&(t[e]=console.log,1))})))}return s(e,[{key:"noop",value:function(){}}]),e}();function C(e){return void 0===e}f(P,"logIcons",["📕","📗","📘","📙"]),f(P,"componentIcons",["🔺","⭐️","🔷","🔶","⬛️"]),f(P,"eventIcons",["❤️","💚","💙","💛","💜","🧡"]),f(P,"levels",{none:0,error:1,warn:2,info:3,debug:4,verbose:5});var M=function(){function e(){l(this,e)}return s(e,null,[{key:"newBitmap",value:function(e){var t=[!1,!1,!1];if(!C(e))for(var n=0;n<=e;n++)t[n]=!0;return t}},{key:"setBit",value:function(e,t){return e[t]=!0,e}},{key:"clone",value:function(e){for(var t=this.newBitmap(),n=0;n"],"/":["?"],"\\":["|"],"[":["{"],"]":["}"],"#":["~"]};function R(e){return I[e]||[1===e.length?e.toUpperCase():e]}function z(e,t){return e.hasOwnProperty(t)}function N(e){return Object.keys(e).reduce(function(t,n){return e[n].forEach(function(e){z(t,e)||(t[e]=[]),t[e].push(n)}),t},{})}var D=N(I);function L(e){return D[e]||[1===e.length?e.toLowerCase():e]}var F={Backspace:["Delete"]};function B(e){return"string"==typeof e}function H(e){return B(e)?e.trim().replace(/\s+/g," "):e}var U={tab:"Tab",capslock:"CapsLock",shift:"Shift",meta:"Meta",alt:"Alt",ctrl:"Control",space:" ",spacebar:" ",escape:"Escape",esc:"Escape",left:"ArrowLeft",right:"ArrowRight",up:"ArrowUp",down:"ArrowDown",return:"Enter",del:"Backspace",command:"Meta",option:"Alt",enter:"Enter",backspace:"Backspace",ins:"Insert",pageup:"PageUp",pagedown:"PageDown",end:"End",home:"Home",contextmenu:"ContextMenu",numlock:"Clear"},W={cmd:"Meta"};function K(e){var t=e.toLowerCase();return U[t]||W[t]||(e.match(/^f\d+$/)?e.toUpperCase():e)}var V={Shift:!0,Control:!0,Alt:!0,Meta:!0,Enter:!0,Tab:!0,CapsLock:!0,BackSpace:!0,Escape:!0};function q(e){return function(e){return!!V[e]}(e)||String.fromCharCode(e.charCodeAt(0))===e}var Y=function(e){function t(){return l(this,t),O(this,v(t).apply(this,arguments))}return h(t,m(Error)),t}();function G(e){return e.sort().join("+")}var $=function(){function e(){l(this,e)}return s(e,null,[{key:"parse",value:function(e){var t=1he;he++)de["F".concat(he)]=!0;var ve=function(){function e(){var t=0this.keyCombinationHistory.length)this.keyCombinationHistory=[];else{var e=this._getCurrentKeyCombination(),t=Object.keys(e.keys).reduce(function(t,n){var r=e.keys[n],o=r[fe.current];return o[A.keydown]&&!o[A.keyup]&&(t[n]=r),t},{});this.keyCombinationHistory=[{keys:t,ids:ie.serialize(t)}]}}},{key:"getApplicationKeyMap",value:function(){return null===this.rootComponentId?{}:this._buildApplicationKeyMap([this.rootComponentId],{})}},{key:"_buildApplicationKeyMap",value:function(e,t){var n=this;return e.forEach(function(e){var r=n.componentRegistry[e],o=n.keyMapRegistry[e];o&&Object.keys(o).forEach(function(e){t[e]=[],ae(o[e]).forEach(function(n){var r=le(n)?n.sequence:n;t[e].push(r)})}),n._buildApplicationKeyMap(r.childIds,t)}),t}},{key:"registerKeyMap",value:function(e){return this.componentId+=1,this.keyMapRegistry[this.componentId]=e,this.componentRegistry[this.componentId]={childIds:[],parentId:null},this.componentId}},{key:"reregisterKeyMap",value:function(e,t){this.keyMapRegistry[e]=t}},{key:"registerComponentMount",value:function(e,t){C(t)?this.rootComponentId=e:(this.componentRegistry[e].parentId=t,this.componentRegistry[t].childIds.push(e))}},{key:"deregisterKeyMap",value:function(e){var t=this.componentRegistry[e].parentId,n=this.componentRegistry[t];n&&(n.childIds=function(e){var t=1r.longestSequence&&(r.longestSequence=s.size,r.longestSequenceComponentIndex=n),M.setBit(r.keyMapEventBitmap,l),o[i]||(o[i]=[]),o[i].push(d({prefix:s.prefix,actionName:i,sequenceLength:s.size},f))}),o},{})}},{key:"_getCurrentKeyCombination",value:function(){return 0this.longestSequence&&this.keyCombinationHistory.shift();var n=this._getCurrentKeyCombination(),r=d({},this._withoutKeyUps(n),f({},e,[M.newBitmap(),M.newBitmap(t)]));this.keyCombinationHistory.push({keys:r,ids:ie.serialize(r),keyAliases:this._buildCombinationKeyAliases(r)}),this.keyCombinationIncludesKeyUp=!1}},{key:"_withoutKeyUps",value:function(e){return Object.keys(e.keys).reduce(function(t,n){var r=e.keys[n];return r[fe.current][A.keyup]||(t[n]=r),t},{})}},{key:"_shouldSimulate",value:function(e,t){var n=function(e){return!de[e]}(t);return e===A.keypress?!n||n&&this._keyIsCurrentlyDown("Meta"):e===A.keyup&&n&&ye(this._getCurrentKeyState("Meta"),A.keyup)}},{key:"_cloneAndMergeEvent",value:function(e,t){return d({},Object.keys(pe).reduce(function(t,n){return t[n]=e[n],t},{}),t)}},{key:"_callMatchingHandlerClosestToEventTarget",value:function(e,t,n,r,o){var i=this;for(this.keyMaps&&this.unmatchedHandlerStatus||(this.keyMaps=[],this.unmatchedHandlerStatus=[],this.componentList.forEach(function(e){var t=e.handlers;i.unmatchedHandlerStatus.push([Object.keys(t).length,{}]),i.keyMaps.push({})}));o<=r;){var a=this.unmatchedHandlerStatus[o][0];if(0=this._getComponentPosition(e)}},{key:"_updateEventPropagationHistory",value:function(e){var t=1=this.componentList.length-1}},{key:"_setNewEventParameters",value:function(e,t){be.incrementId(),this.currentEvent={key:e.key,type:t,handled:!1,ignored:!1}}},{key:"_startAndLogNewKeyCombination",value:function(e,t,n,r){this._startNewKeyCombination(e,t)}},{key:"_addToAndLogCurrentKeyCombination",value:function(e,t,n,r){this._addToCurrentKeyCombination(e,t)}},{key:"_stopEventPropagation",value:function(e,t){this.eventPropagationState.stopping||(this.eventPropagationState.stopping=!0,!e.simulated&&e.stopPropagation())}},{key:"_handleEventSimulation",value:function(e,t,n,r){var o=r.event,i=r.key,a=r.focusTreeId,u=r.componentId,l=r.options;if(n&&T.option("simulateMissingKeyPressEvents")){var c=this._cloneAndMergeEvent(o,{key:i,simulated:!0});this[e].push({event:c,focusTreeId:a,componentId:u,options:l})}(this._isFocusTreeRoot(u)||this.eventPropagationState.stopping)&&!this.keyEventManager.isGlobalListenersBound()&&this[t]()}},{key:"simulatePendingKeyPressEvents",value:function(){this._simulatePendingKeyEvents("keypressEventsToSimulate","handleKeypress")}},{key:"simulatePendingKeyUpEvents",value:function(){this._simulatePendingKeyEvents("keyupEventsToSimulate","handleKeyup")}},{key:"_simulatePendingKeyEvents",value:function(e,t){var n=this;0t.longestSequence&&(t.longestSequence=n)}))}},{key:"_updateComponentIndexDictFromList",value:function(){for(var e=0 * + *":{marginTop:10},"&:empty":{display:"none"}},function(e){return e.placement||{bottom:0,left:0,right:0,position:"fixed"}});function c(e){var t=e.notifications,n=e.placement;return r.default.createElement(l,{placement:n},t.map(function(e){return r.default.createElement(a.default,{key:e.id,notification:e})}))}c.displayName="NotificationList",c.propTypes={placement:o.default.shape({position:o.default.string,left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),notifications:o.default.arrayOf(o.default.shape({id:o.default.string,content:o.default.string.isRequired,link:o.default.string}).isRequired).isRequired},c.defaultProps={placement:void 0}},AokZ:function(e,t,n){"use strict";n.r(t);t.default=function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}}},"B+yX":function(e,t,n){"use strict";var r=n("zT+L").supportsDescriptors,o=n("wNIk"),i=n("aP1Z"),a=Object.defineProperty,u=TypeError;e.exports=function(){var e=i();if(o)return e;if(!r)throw new u("Shimming Function.prototype.name support requires ES5 property descriptor support.");var t=Function.prototype;return a(t,"name",{configurable:!0,enumerable:!1,get:function(){var n=e.call(this);return this!==t&&a(this,"name",{configurable:!0,enumerable:!1,value:n,writable:!1}),n}}),e}},"B/kk":function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},BEbc:function(e,t,n){var r=n("2gZs"),o=n("W7cG"),i=n("fVMg")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},BFfR:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.r(t),n.d(t,"default",function(){return r})},BIUb:function(e,t,n){"use strict";e.exports=n("T8ea")},BKl4:function(e,t,n){"use strict";n("UvmB"),Object.defineProperty(t,"__esModule",{value:!0}),t.DocsPage=t.DocsPageWrapper=t.DocsWrapper=t.DocsContent=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh"),a=n("7Zgl"),u=n("+k//");function l(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=i.styled.h1(u.withReset,function(e){var t=e.theme;return l({color:t.color.defaultText,fontSize:t.typography.size.m3,fontWeight:t.typography.weight.black,lineHeight:"32px"},"@media (min-width: ".concat(600,"px)"),{fontSize:t.typography.size.l1,lineHeight:"36px",marginBottom:".5rem"})}),s=i.styled.h2(u.withReset,function(e){var t,n=e.theme;return l(t={fontWeight:n.typography.weight.regular,fontSize:n.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:"15px"},"@media (min-width: ".concat(600,"px)"),{fontSize:n.typography.size.m1,lineHeight:"28px",marginBottom:"24px"}),l(t,"color",(n.base,(0,a.transparentize)(.25,n.color.defaultText))),t}),f=i.styled.div({maxWidth:800,width:"100%"});t.DocsContent=f;var p=i.styled.div(function(e){return l({background:e.theme.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px"},"@media (min-width: ".concat(600,"px)"),{})});t.DocsWrapper=p;var d=function(e){var t=e.children;return o.default.createElement(p,null,o.default.createElement(f,null,t))};t.DocsPageWrapper=d,d.displayName="DocsPageWrapper";t.DocsPage=function(e){var t=e.title,n=e.subtitle,r=e.children;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(c,{className:"sbdocs-title"},t),n&&o.default.createElement(s,{className:"sbdocs-subtitle"},n),r)}},BNkw:function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},"BS/m":function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n("fRV1"))},BSqe:function(e,t){e.exports=function(e){return this.__data__.get(e)}},Bi7v:function(e,t,n){"use strict";var r=n("hZBN");function o(){var e={},t=0,n=0,r=0;return{add:function(o,i){i||(i=o,o=0),o>n?n=o:o=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=i.styled.div(function(e){var t=e.theme;return{fontFamily:t.typography.fonts.base,fontSize:t.typography.size.s2,marginLeft:10,lineHeight:1.2}}),f=i.styled.div(function(e){var t=e.theme;return Object.assign({},(0,u.getBlockBackgroundStyle)(t),{overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})}),p=i.styled.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),d=i.styled.div({display:"flex",flexFlow:"row wrap"}),h=function(e){var t=e.name,n=e.children;return o.default.createElement(p,null,o.default.createElement(f,null,n),o.default.createElement(s,null,t))};t.IconItem=h,h.displayName="IconItem";var v=function(e){var t=e.children,n=c(e,["children"]);return o.default.createElement(a.ResetWrapper,null,o.default.createElement(d,l({},n,{className:"docblock-icongallery"}),t))};t.IconGallery=v,v.displayName="IconGallery"},C10U:function(e,t,n){"use strict";n("M+/F"),n("EgRP"),n("yH/f"),Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentWrapper=void 0;var r=n("VSTh");function o(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n /* Custom styles atop GitHub base theme (see below) */\n font-size: ","px;\n line-height: 1.6;\n\n h1 {\n font-size: ","px;\n font-weight: ",";\n }\n\n h2 {\n font-size: ","px;\n border-bottom: 1px solid ",";\n }\n\n h3 {\n font-size: ","px;\n }\n\n h4 {\n font-size: ","px;\n }\n\n h5 {\n font-size: ","px;\n }\n\n h6 {\n font-size: ","px;\n color: ",";\n }\n\n /* Custom for SB SyntaxHighlighter */\n\n pre:not(.hljs) {\n background: transparent;\n border: none;\n border-radius: 0;\n padding: 0;\n margin: 0;\n }\n\n pre pre,\n pre.hljs {\n padding: 15px;\n margin: 0;\n\n white-space: pre-wrap;\n color: inherit;\n\n font-size: 13px;\n line-height: 19px;\n\n code {\n color: inherit;\n font-size: inherit;\n }\n }\n\n pre code {\n margin: 0;\n padding: 0;\n white-space: pre;\n border: none;\n background: transparent;\n }\n\n pre code,\n pre tt {\n background-color: transparent;\n border: none;\n }\n\n /* GitHub inspired Markdown styles loosely from https://gist.github.com/tuzz/3331384 */\n\n body > *:first-of-type {\n margin-top: 0 !important;\n }\n\n body > *:last-child {\n margin-bottom: 0 !important;\n }\n\n a {\n color: ",";\n text-decoration: none;\n }\n\n a.absent {\n color: #cc0000;\n }\n\n a.anchor {\n display: block;\n padding-left: 30px;\n margin-left: -30px;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 20px 0 10px;\n padding: 0;\n cursor: text;\n position: relative;\n }\n\n h2:first-of-type,\n h1:first-of-type,\n h1:first-of-type + h2,\n h3:first-of-type,\n h4:first-of-type,\n h5:first-of-type,\n h6:first-of-type {\n margin-top: 0;\n padding-top: 0;\n }\n\n h1:hover a.anchor,\n h2:hover a.anchor,\n h3:hover a.anchor,\n h4:hover a.anchor,\n h5:hover a.anchor,\n h6:hover a.anchor {\n text-decoration: none;\n }\n\n h1 tt,\n h1 code {\n font-size: inherit;\n }\n\n h2 tt,\n h2 code {\n font-size: inherit;\n }\n\n h3 tt,\n h3 code {\n font-size: inherit;\n }\n\n h4 tt,\n h4 code {\n font-size: inherit;\n }\n\n h5 tt,\n h5 code {\n font-size: inherit;\n }\n\n h6 tt,\n h6 code {\n font-size: inherit;\n }\n\n p,\n blockquote,\n ul,\n ol,\n dl,\n li,\n table,\n pre {\n margin: 15px 0;\n }\n\n hr {\n border: 0 none;\n color: ",";\n height: 4px;\n padding: 0;\n }\n\n body > h2:first-of-type {\n margin-top: 0;\n padding-top: 0;\n }\n\n body > h1:first-of-type {\n margin-top: 0;\n padding-top: 0;\n }\n\n body > h1:first-of-type + h2 {\n margin-top: 0;\n padding-top: 0;\n }\n\n body > h3:first-of-type,\n body > h4:first-of-type,\n body > h5:first-of-type,\n body > h6:first-of-type {\n margin-top: 0;\n padding-top: 0;\n }\n\n a:first-of-type h1,\n a:first-of-type h2,\n a:first-of-type h3,\n a:first-of-type h4,\n a:first-of-type h5,\n a:first-of-type h6 {\n margin-top: 0;\n padding-top: 0;\n }\n\n h1 p,\n h2 p,\n h3 p,\n h4 p,\n h5 p,\n h6 p {\n margin-top: 0;\n }\n\n li p.first {\n display: inline-block;\n }\n\n ul,\n ol {\n padding-left: 30px;\n }\n\n ul :first-of-type,\n ol :first-of-type {\n margin-top: 0;\n }\n\n ul :last-child,\n ol :last-child {\n margin-bottom: 0;\n }\n\n dl {\n padding: 0;\n }\n\n dl dt {\n font-size: 14px;\n font-weight: bold;\n font-style: italic;\n padding: 0;\n margin: 15px 0 5px;\n }\n\n dl dt:first-of-type {\n padding: 0;\n }\n\n dl dt > :first-of-type {\n margin-top: 0;\n }\n\n dl dt > :last-child {\n margin-bottom: 0;\n }\n\n dl dd {\n margin: 0 0 15px;\n padding: 0 15px;\n }\n\n dl dd > :first-of-type {\n margin-top: 0;\n }\n\n dl dd > :last-child {\n margin-bottom: 0;\n }\n\n blockquote {\n border-left: 4px solid ",";\n padding: 0 15px;\n color: ",";\n }\n\n blockquote > :first-of-type {\n margin-top: 0;\n }\n\n blockquote > :last-child {\n margin-bottom: 0;\n }\n\n table {\n padding: 0;\n border-collapse: collapse;\n }\n table tr {\n border-top: 1px solid ",";\n background-color: white;\n margin: 0;\n padding: 0;\n }\n\n table tr:nth-of-type(2n) {\n background-color: ",";\n }\n\n table tr th {\n font-weight: bold;\n border: 1px solid ",";\n text-align: left;\n margin: 0;\n padding: 6px 13px;\n }\n\n table tr td {\n border: 1px solid ",";\n text-align: left;\n margin: 0;\n padding: 6px 13px;\n }\n\n table tr th :first-of-type,\n table tr td :first-of-type {\n margin-top: 0;\n }\n\n table tr th :last-child,\n table tr td :last-child {\n margin-bottom: 0;\n }\n\n img {\n max-width: 100%;\n }\n\n span.frame {\n display: block;\n overflow: hidden;\n }\n\n span.frame > span {\n border: 1px solid ",";\n display: block;\n float: left;\n overflow: hidden;\n margin: 13px 0 0;\n padding: 7px;\n width: auto;\n }\n\n span.frame span img {\n display: block;\n float: left;\n }\n\n span.frame span span {\n clear: both;\n color: ",";\n display: block;\n padding: 5px 0 0;\n }\n\n span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n }\n\n span.align-center > span {\n display: block;\n overflow: hidden;\n margin: 13px auto 0;\n text-align: center;\n }\n\n span.align-center span img {\n margin: 0 auto;\n text-align: center;\n }\n\n span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n }\n\n span.align-right > span {\n display: block;\n overflow: hidden;\n margin: 13px 0 0;\n text-align: right;\n }\n\n span.align-right span img {\n margin: 0;\n text-align: right;\n }\n\n span.float-left {\n display: block;\n margin-right: 13px;\n overflow: hidden;\n float: left;\n }\n\n span.float-left span {\n margin: 13px 0 0;\n }\n\n span.float-right {\n display: block;\n margin-left: 13px;\n overflow: hidden;\n float: right;\n }\n\n span.float-right > span {\n display: block;\n overflow: hidden;\n margin: 13px auto 0;\n text-align: right;\n }\n\n code,\n tt {\n margin: 0 2px;\n padding: 0 5px;\n white-space: nowrap;\n border: 1px solid ",";\n background-color: ",";\n border-radius: 3px;\n color: ",";\n }\n "]);return o=function(){return e},e}var i=r.styled.div(function(e){var t=e.theme;return(0,r.css)(o(),t.typography.size.s2,t.typography.size.l1,t.typography.weight.black,t.typography.size.m2,t.appBorderColor,t.typography.size.m1,t.typography.size.s3,t.typography.size.s2,t.typography.size.s2,t.color.dark,t.color.secondary,t.appBorderColor,t.color.medium,t.color.dark,t.appBorderColor,t.color.lighter,t.appBorderColor,t.appBorderColor,t.color.medium,t.color.darkest,t.color.mediumlight,t.color.lighter,"dark"===t.base&&t.color.darkest)});t.DocumentWrapper=i},CCu2:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("CafK"),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t",lt:"<",nbsp:" ",quot:"“"},f=["style","script"],p=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,d=/mailto:/i,h=/\n{2,}$/,v=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,y=/^ *> ?/gm,g=/^ {2,}\n/,m=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,b=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,w=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,O=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,x=/^(?:\n *)*\n/,S=/\r\n?/g,E=/^\[\^(.*)\](:.*)\n/,k=/^\[\^(.*)\]/,j=/\f/g,_=/^\s*?\[(x|\s)\]/,T=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,P=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,C=/^ *(?!<[a-z][^ >\/]* ?\/>)<([a-z][^ >\/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,M=/&([a-z]+);/g,A=/^/,I=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,z=/^\{.*\}$/,N=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,D=/^<([^ >]+@[^ >]+)>/,L=/^<([^ >]+:\/[^ >]+)>/,F=/ *\n+$/,B=/(?:^|\n)( *)$/,H=/-([a-z])?/gi,U=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,W=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,K=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,V=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,q=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Y=/(\[|\])/g,G=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,$=/\t/g,X=/(^ *\||\| *$)/g,Z=/^ *:-+: *$/,J=/^ *:-+ *$/,Q=/^ *-+: *$/,ee=/ *\| */,te=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ne=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,re=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,oe=/^\\([^0-9A-Za-z\s])/,ie=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ae=/(^\n+|(\n|\s)+$)/g,ue=/^([ \t]*)/,le=/\\([^0-9A-Z\s])/gi,ce=/^( *)((?:[*+-]|\d+\.)) +/,se=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,fe=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,pe=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,de=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,he=[v,w,b,T,P,C,A,R,se,fe,U,W];function ve(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function ye(e){return Q.test(e)?"right":Z.test(e)?"center":J.test(e)?"left":null}function ge(e,t,n){n.inline=!0;var r=function(e,t,n){return e[1].replace(X,"").trim().split(ee).map(function(e){return t(e,n)})}(e,t,n),o=function(e){return e[2].replace(X,"").trim().split(ee).map(ye)}(e),i=function(e,t,n){return e[3].trim().split("\n").map(function(e){return e.replace(X,"").split(ee).map(function(e){return t(e.trim(),n)})})}(e,t,n);return n.inline=!1,{align:o,cells:i,header:r,type:"table"}}function me(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function be(e){function t(r,o){for(var i=[],a="";r;)for(var u=0;u2?o-2:0),a=2;a1?i=n(r?"span":"div",{key:"outer"},o):1===o.length?"string"==typeof(i=o[0])&&(i=n("span",{key:"outer"},i)):i=n("span",{key:"outer"}),i}function i(e){var t=e.match(p);return t?t.reduce(function(e,t,n){var i=t.indexOf("=");if(-1!==i){var u=function(e){return-1!==e.indexOf("-")&&null===e.match(I)&&(e=e.replace(H,function(e,t){return t.toUpperCase()})),e}(t.slice(0,i)).trim(),l=a()(t.slice(i+1).trim()),s=c[u]||u,f=e[s]=function(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":")),r=n.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()});return e[r]=t.slice(n.length+1).trim(),e},{}):"href"===e?Ee(t):(t.match(z)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(u,l);(C.test(f)||R.test(f))&&(e[s]=o.a.cloneElement(r(f.trim()),{key:n}))}else e[c[t]||t]=!0;return e},{}):void 0}(t=t||{}).overrides=t.overrides||{},t.slugify=t.slugify||ve,t.namedCodesToUnicode=t.namedCodesToUnicode?u({},s,t.namedCodesToUnicode):s;var l=t.createElement||o.a.createElement;var S=[],j={},$={blockQuote:{match:xe(v),order:Ne,parse:function(e,t,n){return{content:t(e[0].replace(y,""),n)}},react:function(e,t,r){return n("blockquote",{key:r.key},t(e.content,r))}},breakLine:{match:Se(g),order:Ne,parse:Ce,react:function(e,t,r){return n("br",{key:r.key})}},breakThematic:{match:xe(m),order:Ne,parse:Ce,react:function(e,t,r){return n("hr",{key:r.key})}},codeBlock:{match:xe(w),order:ze,parse:function(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function(e,t,r){return n("pre",{key:r.key},n("code",{className:e.lang?"lang-"+e.lang:""},e.content))}},codeFenced:{match:xe(b),order:ze,parse:function(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:Oe(O),order:Le,parse:function(e){return{content:e[2]}},react:function(e,t,r){return n("code",{key:r.key},e.content)}},footnote:{match:xe(E),order:ze,parse:function(e){return S.push({footnote:e[2],identifier:e[1]}),{}},react:Me},footnoteReference:{match:we(k),order:Ne,parse:function(e){return{content:e[1],target:"#"+e[1]}},react:function(e,t,r){return n("a",{key:r.key,href:Ee(e.target)},n("sup",{key:r.key},e.content))}},gfmTask:{match:we(_),order:Ne,parse:function(e){return{completed:"x"===e[1].toLowerCase()}},react:function(e,t,r){return n("input",{checked:e.completed,key:r.key,readOnly:!0,type:"checkbox"})}},heading:{match:xe(T),order:Ne,parse:function(e,n,r){return{content:je(n,e[2],r),id:t.slugify(e[2]),level:e[1].length}},react:function(e,t,r){return n("h"+e.level,{id:e.id,key:r.key},t(e.content,r))}},headingSetext:{match:xe(P),order:ze,parse:function(e,t,n){return{content:je(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:Se(C),order:Ne,parse:function(e,t,n){var r=e[3].match(ue)[1],o=new RegExp("^"+r,"gm"),a=e[3].replace(o,""),u=function(e){return he.some(function(t){return t.test(e)})}(a)?Te:je,l=e[1].toLowerCase(),c=-1!==f.indexOf(l);return{attrs:i(e[2]),content:c?e[3]:u(t,a,n),noInnerParse:c,tag:c?l:e[1]}},react:function(e,t,r){return n(e.tag,u({key:r.key},e.attrs),e.noInnerParse?e.content:t(e.content,r))}},htmlComment:{match:Se(A),order:Ne,parse:function(){return{}},react:Me},htmlSelfClosing:{match:Se(R),order:Ne,parse:function(e){return{attrs:i(e[2]||""),tag:e[1]}},react:function(e,t,r){return n(e.tag,u({},e.attrs,{key:r.key}))}},image:{match:Oe(de),order:Ne,parse:function(e){return{alt:e[1],target:ke(e[2]),title:e[3]}},react:function(e,t,r){return n("img",{key:r.key,alt:e.alt||void 0,title:e.title||void 0,src:Ee(e.target)})}},link:{match:we(pe),order:Le,parse:function(e,t,n){return{content:_e(t,e[1],n),target:ke(e[2]),title:e[3]}},react:function(e,t,r){return n("a",{key:r.key,href:Ee(e.target),title:e.title},t(e.content,r))}},linkAngleBraceStyleDetector:{match:we(L),order:ze,parse:function(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:we(N),order:ze,parse:function(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:we(D),order:ze,parse:function(e){var t=e[1],n=e[1];return d.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function(e,t,n){var r=B.exec(n),o=t._list||!t.inline;return r&&o?(e=r[1]+e,fe.exec(e)):null},order:Ne,parse:function(e,t,n){var r=e[2],o=r.length>1,i=o?+r:void 0,a=e[0].replace(h,"\n").match(se),u=!1;return{items:a.map(function(e,r){var o=ce.exec(e)[0].length,i=new RegExp("^ {1,"+o+"}","gm"),l=e.replace(i,"").replace(ce,""),c=r===a.length-1,s=-1!==l.indexOf("\n\n")||c&&u;u=s;var f,p=n.inline,d=n._list;n._list=!0,s?(n.inline=!1,f=l.replace(F,"\n\n")):(n.inline=!0,f=l.replace(F,""));var h=t(f,n);return n.inline=p,n._list=d,h}),ordered:o,start:i}},react:function(e,t,r){return n(e.ordered?"ol":"ul",{key:r.key,start:e.start},e.items.map(function(e,o){return n("li",{key:o},t(e,r))}))}},newlineCoalescer:{match:xe(x),order:Le,parse:Ce,react:function(){return"\n"}},paragraph:{match:xe(W),order:Le,parse:Pe,react:function(e,t,r){return n("p",{key:r.key},t(e.content,r))}},ref:{match:we(K),order:ze,parse:function(e){return j[e[1]]={target:e[2],title:e[4]},{}},react:Me},refImage:{match:Oe(V),order:ze,parse:function(e){return{alt:e[1]||void 0,ref:e[2]}},react:function(e,t,r){return n("img",{key:r.key,alt:e.alt,src:Ee(j[e.ref].target),title:j[e.ref].title})}},refLink:{match:we(q),order:ze,parse:function(e,t,n){return{content:t(e[1],n),fallbackContent:t(e[0].replace(Y,"\\$1"),n),ref:e[2]}},react:function(e,t,r){return j[e.ref]?n("a",{key:r.key,href:Ee(j[e.ref].target),title:j[e.ref].title},t(e.content,r)):n("span",{key:r.key},t(e.fallbackContent,r))}},table:{match:xe(U),order:Ne,parse:ge,react:function(e,t,r){return n("table",{key:r.key},n("thead",null,n("tr",null,e.header.map(function(o,i){return n("th",{key:i,style:me(e,i)},t(o,r))}))),n("tbody",null,e.cells.map(function(o,i){return n("tr",{key:i},o.map(function(o,i){return n("td",{key:i,style:me(e,i)},t(o,r))}))})))}},text:{match:Se(ie),order:Fe,parse:function(e){return{content:e[0].replace(M,function(e,n){return t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e})}},react:function(e){return e.content}},textBolded:{match:Oe(te),order:De,parse:function(e,t,n){return{content:t(e[2],n)}},react:function(e,t,r){return n("strong",{key:r.key},t(e.content,r))}},textEmphasized:{match:Oe(ne),order:Le,parse:function(e,t,n){return{content:t(e[2],n)}},react:function(e,t,r){return n("em",{key:r.key},t(e.content,r))}},textEscaped:{match:Oe(oe),order:Ne,parse:function(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:Oe(re),order:Le,parse:Pe,react:function(e,t,r){return n("del",{key:r.key},t(e.content,r))}}},X=be($),Z=function(e){return function t(n,r){if(r=r||{},Array.isArray(n)){for(var o=r.key,i=[],a=!1,u=0;u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","options"]);return o.a.cloneElement(Be(t,n),r)}},CafK:function(e,t,n){e.exports={default:n("VQ32"),__esModule:!0}},CbIe:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},Ch6y:function(e,t,n){"use strict";var r=n("VCi3"),o=n("q9+l"),i=n("fVMg"),a=n("1Mu/"),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},CmXO:function(e,t,n){"use strict";var r=n("zT+L").supportsDescriptors,o=n("IlOi"),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,u=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!l)throw new u("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},"Coc+":function(e,t,n){var r=n("6QIk");e.exports=function(e){return r(this.__data__,e)>-1}},Cx9A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnstyledLink=t.FrameWrap=void 0;var r=n("VSTh"),o=n("iHSk"),i=r.styled.div(function(e){var t=e.offset;return{position:"absolute",overflow:"auto",left:0,right:0,bottom:0,top:t,zIndex:3,transition:"all 0.1s linear",height:"calc(100% - ".concat(t,"px)"),background:"transparent"}});t.FrameWrap=i;var a=(0,r.styled)(o.Link)({color:"inherit",textDecoration:"inherit",display:"inline-block"});t.UnstyledLink=a},D2QX:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomContext=void 0;var o=((r=n("ERkP"))&&r.__esModule?r:{default:r}).default.createContext({scale:1});t.ZoomContext=o},DEeE:function(e,t,n){var r=n("yRya"),o=n("sX5C");e.exports=Object.keys||function(e){return r(e,o)}},DTcK:function(e,t,n){},DXHJ:function(e,t){var n=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=n},DY47:function(e,t,n){"use strict";n.r(t);var r=n("jjD+"),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=Object(r.default)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91});t.default=i},"DZ+c":function(e,t,n){"use strict";var r=n("uLp7"),o=n("FXyv"),i=n("ct80"),a=n("q/0V"),u=RegExp.prototype,l=u.toString,c=i(function(){return"/a/b"!=l.call({source:"a",flags:"b"})}),s="toString"!=l.name;(c||s)&&r(RegExp.prototype,"toString",function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)},{unsafe:!0})},Dauz:function(e,t,n){"use strict";var r=n("zT+L"),o=n("JvF+");e.exports=function(){var e=o();if(r.supportsDescriptors){var t=Object.getOwnPropertyDescriptor(e,"globalThis");(!t||t.configurable&&(t.enumerable||t.writable||globalThis!==e))&&Object.defineProperty(e,"globalThis",{configurable:!0,enumerable:!1,value:e,writable:!1})}else"object"==typeof globalThis&&globalThis===e||(e.globalThis=e);return e}},DfhM:function(e,t,n){"use strict";var r=n("ax0f"),o=n("0FSu").every;r({target:"Array",proto:!0,forced:n("NVHP")("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},Dhk8:function(e,t,n){var r=n("Syyo"),o=n("KCLV"),i=n("kHoZ"),a="[object Null]",u="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?u:a:l&&l in Object(e)?o(e):i(e)}},DjCF:function(e,t){e.exports=function(){return!1}},DjlN:function(e,t,n){var r=n("8aeu"),o=n("N9G2"),i=n("MyxS"),a=n("gC6d"),u=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},DpO5:function(e,t){e.exports=!1},"Dv/8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9anY"),o={base:"light",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:r.background.app,appContentBg:r.color.lightest,appBorderColor:r.color.border,appBorderRadius:4,fontBase:r.typography.fonts.base,fontCode:r.typography.fonts.mono,textColor:r.color.darkest,textInverseColor:r.color.lightest,barTextColor:r.color.mediumdark,barSelectedColor:r.color.secondary,barBg:r.color.lightest,inputBg:r.color.lightest,inputBorder:r.color.border,inputTextColor:r.color.darkest,inputBorderRadius:4};t.default=o},Dwgf:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("cmfU"),i=n("20Fm"),a=n("W0QR"),u=new r.default(Object(o.default)({separator:","}),Object(a.default)(/(?:\s+)/g," "),i.default);t.default=u},"E/ZA":function(e,t,n){(function(t){var n="Expected a function",r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,p=s||f||Function("return this")(),d=Object.prototype.toString,h=Math.max,v=Math.min,y=function(){return p.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==o}(e))return r;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var o,i,a,u,l,c,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=o,r=i;return o=i=void 0,s=t,u=e.apply(r,n)}function w(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-s>=a}function O(){var e=y();if(w(e))return x(e);l=setTimeout(O,function(e){var n=t-(e-c);return p?v(n,a-(e-s)):n}(e))}function x(e){return l=void 0,d&&o?b(e):(o=i=void 0,u)}function S(){var e=y(),n=w(e);if(o=arguments,i=this,c=e,n){if(void 0===l)return function(e){return s=e,l=setTimeout(O,t),f?b(e):u}(c);if(p)return l=setTimeout(O,t),b(c)}return void 0===l&&(l=setTimeout(O,t)),u}return t=m(t)||0,g(r)&&(f=!!r.leading,a=(p="maxWait"in r)?h(m(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),S.cancel=function(){void 0!==l&&clearTimeout(l),s=0,o=c=i=l=void 0},S.flush=function(){return void 0===l?u:x(y())},S}}).call(this,n("fRV1"))},E4ao:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},E63F:function(e,t,n){"use strict";"function"==typeof Promise&&n("VJ/d"),n("KhaS")},EAGB:function(e,t,n){var r=n("mGzy");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},EI7Z:function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},ENE1:function(e,t,n){var r=n("IBsm");e.exports=function(){return r.Date.now()}},ERkP:function(e,t,n){"use strict";e.exports=n("hLw4")},EVYH:function(e,t,n){"use strict";n("M+/F"),n("IAdD"),n("EgRP"),n("yH/f"),n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh");function a(){var e=p(["\n color: ",";\n background: ",";\n "]);return a=function(){return e},e}function u(){var e=p(["\n color: ",";\n background: ",";\n "]);return u=function(){return e},e}function l(){var e=p(["\n color: ",";\n background: ",";\n "]);return l=function(){return e},e}function c(){var e=p(["\n color: ",";\n background: ",";\n "]);return c=function(){return e},e}function s(){var e=p(["\n color: ",";\n background: ",";\n "]);return s=function(){return e},e}function f(){var e=p(["\n display: inline-block;\n font-size: 11px;\n line-height: 12px;\n align-self: center;\n padding: 4px 12px;\n border-radius: 3em;\n font-weight: ",";\n\n svg {\n height: 12px;\n width: 12px;\n margin-right: 4px;\n margin-top: -2px;\n\n path {\n fill: currentColor;\n }\n }\n\n ",";\n\n ",";\n\n ",";\n\n ",";\n\n ",";\n"]);return f=function(){return e},e}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var d=i.styled.div(f(),function(e){return e.theme.typography.weight.bold},function(e){return"critical"===e.status&&(0,i.css)(s(),e.theme.color.critical,e.theme.background.critical)},function(e){return"negative"===e.status&&(0,i.css)(c(),e.theme.color.negative,e.theme.background.negative)},function(e){return"warning"===e.status&&(0,i.css)(l(),e.theme.color.warning,e.theme.background.warning)},function(e){return"neutral"===e.status&&(0,i.css)(u(),e.theme.color.dark,e.theme.color.mediumlight)},function(e){return"positive"===e.status&&(0,i.css)(a(),e.theme.color.positive,e.theme.background.positive)}),h=function(e){var t=Object.assign({},e);return o.default.createElement(d,t)};t.Badge=h,h.displayName="Badge"},EcPI:function(e,t,n){"use strict";e.exports=function(e,t){var n,i,a,u,l,c=e||"",s=t||"div",f={},p=-1,d=c.length;for(;++p<=d;)(a=c.charCodeAt(p))&&a!==o&&a!==r||((u=c.slice(l,p))&&(i===o?n?n.push(u):(n=[u],f.className=n):i===r?f.id=u:s=u),l=p+1,i=a);return{type:"element",tagName:s,properties:f,children:[]}};var r=35,o=46},EgRP:function(e,t,n){var r=n("ax0f"),o=n("1Mu/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("uZvN")})},EjnA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconButton=t.TabButton=void 0;var r=n("VSTh"),o=r.styled.button({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},function(e){return{padding:"0 15px",textTransform:"capitalize",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.theme.color.secondary}}},function(e){var t=e.active,n=e.textColor,r=e.theme;return t?{color:n||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:n||"inherit",borderBottomColor:"transparent"}});t.TabButton=o,o.displayName="TabButton";var i=r.styled.button(function(e){return{height:40,background:"none",color:"inherit",padding:0,cursor:"pointer",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",transition:"color 0.2s linear, border-bottom-color 0.2s linear","&:hover, &:focus":{outline:"0 none",color:e.theme.color.secondary},"& > svg":{width:15}}},function(e){var t=e.active,n=e.theme;return t?{outline:"0 none",borderBottomColor:n.color.secondary}:{}});t.IconButton=i,i.displayName="IconButton"},Ew2P:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},F01M:function(e,t,n){"use strict";var r=n("1Mu/"),o=n("ct80"),i=n("DEeE"),a=n("JAL5"),u=n("4Sk5"),l=n("N9G2"),c=n("g6a+"),s=Object.assign;e.exports=!s||o(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||"abcdefghijklmnopqrst"!=i(s({},t)).join("")})?function(e,t){for(var n=l(e),o=arguments.length,s=1,f=a.f,p=u.f;o>s;)for(var d,h=c(arguments[s++]),v=f?i(h).concat(f(h)):i(h),y=v.length,g=0;y>g;)d=v[g++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:s},F0GY:function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var u,l,c,s=r(t),f=r(n);if(s&&f){if((l=t.length)!=n.length)return!1;for(u=l;0!=u--;)if(!e(t[u],n[u]))return!1;return!0}if(s!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var h=t instanceof RegExp,v=n instanceof RegExp;if(h!=v)return!1;if(h&&v)return t.toString()==n.toString();var y=o(t);if((l=y.length)!==o(n).length)return!1;for(u=l;0!=u--;)if(!i.call(n,y[u]))return!1;if(a&&t instanceof Element&&n instanceof Element)return t===n;for(u=l;0!=u--;)if(!("_owner"===(c=y[u])&&t.$$typeof||e(t[c],n[c])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},F3Ih:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n("cTt9"),u=Object.prototype.propertyIsEnumerable,l=!u.call({toString:null},"toString"),c=u.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),u=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(u&&e.length>0&&!o.call(e,0))for(var v=0;v0)for(var y=0;y1)for(var n=1;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function b(){return(b=Object.assign||function(e){for(var t=1;t=2?e:"",o=A({dataset:t,filter:r});n.setState({filter:r,filteredExpanded:!!r&&Object.keys(o).reduce(function(e,t){return Object.assign(e,g({},t,!0))},{})})},onKeyUp:function(e,t){var o=n.props,i=o.prefix,a=o.dataset,l=n.state.filter,c=A({dataset:a,filter:l}),s=M(n.state),f=(0,u.keyEventToAction)(e);if(f&&(0,u.prevent)(e),"RIGHT"===f){var p=(0,u.getNext)({id:t.id,dataset:c,expanded:s});if((!c[t.id].children||s[t.id])&&p)try{r.document.getElementById((0,u.createId)(p.id,i)).focus()}catch(e){}n.setState(I(function(e){return Object.assign({},e,g({},t.id,!0))}))}if("LEFT"===f){var d=(0,u.getPrevious)({id:t.id,dataset:c,expanded:s});if(!c[t.id].children||!s[t.id]){var h=(0,u.getParent)(t.id,c);if(h&&h.children){try{r.document.getElementById((0,u.createId)(h.id,i)).focus()}catch(e){}if(d)try{r.document.getElementById((0,u.createId)(d.id,i)).focus()}catch(e){}}}n.setState(I(function(e){return Object.assign({},e,g({},t.id,!1))}))}if("DOWN"===f){var v=(0,u.getNext)({id:t.id,dataset:c,expanded:s});if(v)try{r.document.getElementById((0,u.createId)(v.id,i)).focus()}catch(e){}}if("UP"===f){var y=(0,u.getPrevious)({id:t.id,dataset:c,expanded:s});if(y)try{r.document.getElementById((0,u.createId)(y.id,i)).focus()}catch(e){}}}},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,o.PureComponent),n=t,a=[{key:"getDerivedStateFromProps",value:function(e,t){return C(e,t)}}],(i=[{key:"render",value:function(){var e=this.events,t=this.state,n=t.filter,r=t.unfilteredExpanded,i=t.filteredExpanded,a=this.props,u=a.prefix,l=a.dataset,c=a.selectedId,s=k(a.Filter),f=k(a.List),p=P,d=j(a.Title),h=x(a.Link),v=E(a.Leaf,h,u,e),y=S(a.Head,h,u,e),g=_(a.Section),m=T(a.Message),b=A({dataset:l,filter:n}),w=n?i:r,O=R({dataset:b,selectedId:c}),C=O.selected,M=O.roots,I=O.others;return o.default.createElement(o.Fragment,null,s?o.default.createElement(s,{key:"filter",onChange:this.events.onFilter}):null,M.length||I.length?o.default.createElement(o.Fragment,null,M.map(function(t){var n=t.id,r=t.name,i=t.children;return o.default.createElement(g,{key:n},o.default.createElement(d,{type:"section",mods:["uppercase"]},r),i.map(function(t){return o.default.createElement(p,{key:t,depth:0,dataset:b,selected:C,expanded:w,root:t,events:e,Head:y,Leaf:v,Branch:p,List:f})}))}),I.length?o.default.createElement(g,{key:"other"},M.length?o.default.createElement(d,{type:"section",mods:["uppercase"]},"Others"):null,I.map(function(t){var n=t.id;return o.default.createElement(p,{key:n,depth:0,dataset:b,selected:C,expanded:w,root:n,events:e,Link:h,Head:y,Leaf:v,Branch:p})})):null):o.default.createElement(m,null,"This filter resulted in 0 results"))}}])&&p(n.prototype,i),a&&p(n,a),t}();t.TreeState=z,z.displayName="TreeState",z.propTypes={prefix:i.default.string.isRequired,dataset:i.default.shape({}).isRequired,selectedId:i.default.string,Filter:i.default.elementType,List:i.default.elementType,Title:i.default.elementType,Link:i.default.elementType,Leaf:i.default.elementType,Head:i.default.elementType,Section:i.default.elementType,Message:i.default.elementType},z.defaultProps={selectedId:null,Filter:void 0,List:void 0,Title:void 0,Link:void 0,Leaf:void 0,Head:void 0,Section:void 0,Message:void 0}},FBj1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("k7yZ"),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default},FBwQ:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},FGWk:function(e,t,n){"use strict";var r;n("hBpG"),n("1IsZ"),Object.defineProperty(t,"__esModule",{value:!0}),t.isSupportedType=function(e){return!!Object.values(r).find(function(t){return t===e})},t.types=void 0,t.types=r,function(e){e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.PREVIEW="preview",e.NOTES_ELEMENT="notes-element"}(r||(t.types=r={}))},FNAH:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},FTDD:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},FXyv:function(e,t,n){var r=n("dSaG");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},FeV5:function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("2G9S"),n("LW0h"),n("plBw"),n("lTEL"),n("cARO"),n("IAdD"),n("7x/C"),n("KqXw"),n("DZ+c"),n("87if"),n("WNMA"),n("MvUL"),n("LJOr"),n("Ysgh"),n("3voH"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.storyNameFromExport=t.parseKind=t.getMatch=t.stringifyQuery=t.queryFromLocation=t.queryFromString=t.parsePath=t.toId=t.sanitize=void 0;var r=a(n("pu3o")),o=a(n("vbDw")),i=a(n("psri"));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=/\/([^\/]+)\/([^\/]+)?/,c=function(e){return e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};t.sanitize=c;var s=function(e,t){var n=c(e);if(""===n)throw new Error("Invalid ".concat(t," '").concat(e,"', must include alphanumeric characters"));return n};t.toId=function(e,t){return"".concat(s(e,"kind"),"--").concat(s(t,"name"))};var f=(0,o.default)(1e3)(function(e){var t={viewMode:void 0,storyId:void 0};if(e){var n=u(e.match(l)||[void 0,void 0,void 0],3),r=n[1],o=n[2];r&&Object.assign(t,{viewMode:r,storyId:o})}return t});t.parsePath=f;var p=(0,o.default)(1e3)(function(e){return r.default.parse(e,{ignoreQueryPrefix:!0})});t.queryFromString=p;t.queryFromLocation=function(e){return p(e.search)};t.stringifyQuery=function(e){return r.default.stringify(e,{addQueryPrefix:!0,encode:!1})};var d=(0,o.default)(1e3)(function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e&&n&&e.startsWith(t),o="string"==typeof t&&e===t,i=e&&t&&e.match(t);return r||o||i?{path:e}:null});t.getMatch=d;t.parseKind=function(e,t){var n=t.rootSeparator,r=t.groupSeparator,o=u(e.split(n,2),2),i=o[0],a=o[1];return{root:a?i:null,groups:(a||e).split(r).filter(function(e){return!!e})}};t.storyNameFromExport=function(e){return(0,i.default)(e)}},Ftmo:function(e,t,n){"use strict";var r=n("zT+L"),o=n("21Ob");e.exports=function(){var e=o();return r(Array.prototype,{flatMap:e},{flatMap:function(){return Array.prototype.flatMap!==e}}),e}},GElu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("7Zgl"),o=n("VSTh").styled.div(function(e){var t=e.theme;return{letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:t.typography.weight.black,fontSize:t.typography.size.s1-1,lineHeight:"24px",color:(0,r.transparentize)(.5,t.color.defaultText)}});o.defaultProps={className:"sidebar-subheading"};var i=o;t.default=i},GFpt:function(e,t,n){var r=n("1Mu/"),o=n("4Sk5"),i=n("lhjL"),a=n("N4z3"),u=n("CD8Q"),l=n("8aeu"),c=n("fD9S"),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=a(e),t=u(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},GJtw:function(e,t,n){var r=n("ct80"),o=n("fVMg")("species");e.exports=function(e){return!r(function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},GKv7:function(e,t){e.exports=function(){for(var e={},t=0;t0?o(r(e),9007199254740991):0}},Grae:function(e,t,n){(function(e){var r=n("IBsm"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("aYSr")(e))},Gxtz:function(e){e.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}},H17f:function(e,t,n){var r=n("N4z3"),o=n("tJVe"),i=n("mg+6"),a=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},H3h0:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},H59W:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("ERkP")),o=i(n("ionY"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},H87J:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n1?n-1:0),o=1;o0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return i(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o=97&&t<=122||t>=65&&t<=90}},IS0S:function(e,t,n){var r=n("vxC8")(n("IBsm"),"Promise");e.exports=r},IlOi:function(e,t,n){"use strict";var r=n("YZE+"),o=n("zT+L").supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return r}},ImZ4:function(e,t,n){"use strict";n.r(t);n("LW0h"),n("jwue"),n("KOtZ"),n("ho0z"),n("IAdD"),n("Blm6"),n("KqXw"),n("WNMA"),n("MvUL"),n("+oxZ");var r=n("XORh"),o=n.n(r),i=n("E/ZA"),a=n.n(i),u=n("6w+j"),l=n.n(u),c=n("LaGA"),s=n("DXHJ"),f=n.n(s);function p(){if("undefined"==typeof document)return 0;var e=document.body,t=document.createElement("div"),n=t.style;n.position="fixed",n.left=0,n.visibility="hidden",n.overflowY="scroll",e.appendChild(t);var r=t.getBoundingClientRect().right;return e.removeChild(t),r}var d=function(){function e(t,n){var r=this;this.onScroll=function(){r.scrollXTicking||(window.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(window.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=p(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(n=r.isWithinBounds(r.axis.x.scrollbar.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(t=r.isWithinBounds(r.axis.y.scrollbar.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&r.onDragStart(e,"y"),n&&r.onDragStart(e,"x")))},this.drag=function(t){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar;t.preventDefault(),t.stopPropagation();var a=(("y"===r.draggedAxis?t.pageY:t.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/n.rect[r.axis[r.draggedAxis].sizeAttr]*r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr];"x"===r.draggedAxis&&(a=r.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?a-(o+i.size):a,a=r.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-a:a),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=a},this.onEndDrag=function(e){e.preventDefault(),e.stopPropagation(),r.el.classList.remove(r.classNames.dragging),document.removeEventListener("mousemove",r.drag,!0),document.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=window.setTimeout(function(){document.removeEventListener("click",r.preventClick,!0),document.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.flashTimeout,this.contentEl,this.contentWrapperEl,this.offsetEl,this.maskEl,this.globalObserver,this.mutationObserver,this.resizeObserver,this.scrollbarWidth,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,n),this.classNames=Object.assign({},e.defaultOptions.classNames,this.options.classNames),this.isRtl,this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,this.el.SimpleBar||(this.recalculate=o()(this.recalculate.bind(this),64),this.onMouseMove=o()(this.onMouseMove.bind(this),64),this.hideScrollbars=a()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=a()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=l()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='
';var n=t.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=e.getOffset(n),i=e.getOffset(r);n.scrollLeft=999;var a=e.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!t.SimpleBar&&new e(t,e.getElOptions(t)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){!t.SimpleBar&&new e(t,e.getElOptions(t))}))}),Array.prototype.forEach.call(t.removedNodes,function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?e.SimpleBar&&e.SimpleBar.unMount():Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),function(e){e.SimpleBar&&e.SimpleBar.unMount()}))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},e.getElOptions=function(e){return Array.prototype.reduce.call(e.attributes,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})},e.removeObserver=function(){this.globalObserver.disconnect()},e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar||new e(t,e.getElOptions(t))})},e.getOffset=function(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){this.el.SimpleBar=this,f.a&&(this.initDOM(),this.scrollbarWidth=p(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,function(t){return t.classList.contains(e.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.el.querySelector("."+this.classNames.contentWrapper),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.contentEl=this.el.querySelector("."+this.classNames.contentEl),this.placeholderEl=this.el.querySelector("."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),n=document.createElement("div");t.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),t.appendChild(n),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.initListeners=function(){var e=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(t){e.el.addEventListener(t,e.onPointerEvent,!0)}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onWindowResize),this.resizeObserver=new c.default(this.recalculate),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl)},t.recalculate=function(){var e=this.heightAutoObserverEl.offsetHeight<=1,t=this.heightAutoObserverEl.offsetWidth<=1;this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction,this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft,this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=t?this.contentEl.offsetWidth+"px":"auto",this.placeholderEl.style.height=this.contentEl.scrollHeight+"px",this.axis.x.isOverflowing=this.contentWrapperEl.scrollWidth>this.contentWrapperEl.offsetWidth,this.axis.y.isOverflowing=this.contentWrapperEl.scrollHeight>this.contentWrapperEl.offsetHeight,this.axis.x.isOverflowing="hidden"!==this.elStyles.overflowX&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==this.elStyles.overflowY&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar(),this.axis.x.track.rect=this.axis.x.track.el.getBoundingClientRect(),this.axis.y.track.rect=this.axis.y.track.el.getBoundingClientRect(),this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){void 0===e&&(e="y");var t,n=this.scrollbarWidth?this.contentWrapperEl[this.axis[e].scrollSizeAttr]:this.contentWrapperEl[this.axis[e].scrollSizeAttr]-this.minScrollbarWidth,r=this.axis[e].track.rect[this.axis[e].sizeAttr];if(this.axis[e].isOverflowing){var o=r/n;return t=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t}},t.positionScrollbar=function(t){void 0===t&&(t="y");var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.rect[this.axis[t].sizeAttr],o=parseInt(this.elStyles[this.axis[t].sizeAttr],10),i=this.axis[t].scrollbar,a=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],u=(a="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),l=~~((r-i.size)*u);l="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?l+(r-i.size):l,i.el.style.transform="x"===t?"translate3d("+l+"px, 0, 0)":"translate3d(0, "+l+"px, 0)"},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},t.hideNativeScrollbar=function(){if(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,!this.scrollbarWidth){var e=[this.isRtl?"paddingLeft":"paddingRight"];this.contentWrapperEl.style[e]=this.axis.y.isOverflowing||this.axis.y.forceVisible?this.minScrollbarWidth+"px":0,this.contentWrapperEl.style.paddingBottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?this.minScrollbarWidth+"px":0}},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var n=this.axis[t].scrollbar.el,r="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=r-n.getBoundingClientRect()[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.removeListeners=function(){var e=this;this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(t){e.el.removeEventListener(t,e.onPointerEvent)}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),this.el.SimpleBar=null},t.isChildNode=function(e){return null!==e&&(e===this.el||this.isChildNode(e.parentNode))},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e}();d.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},f.a&&d.initHtmlApi(),t.default=d},Iy7w:function(e,t,n){"use strict";n.r(t);var r=n("97Jx"),o=n.n(r),i=n("ERkP"),a=n("DY47"),u=n("l1C2"),l=n("3xeB"),c=n("eSfy"),s=a.default,f=function(e){return"theme"!==e&&"innerRef"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:f};t.default=function e(t,n){var r,a,s;void 0!==n&&(r=n.label,s=n.target,a=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var f=t.__emotion_real===t,d=f&&t.__emotion_base||t;"function"!=typeof a&&f&&(a=t.__emotion_forwardProp);var h=a||p(d),v=!h("as");return function(){var y=arguments,g=f&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&g.push("label:"+r+";"),null==y[0]||void 0===y[0].raw)g.push.apply(g,y);else{g.push(y[0][0]);for(var m=y.length,b=1;b>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[\w#?*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*\r?\n(?:[\s\S])*?\r?\n\2/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:t}],variable:t.variable,function:{pattern:/(^|[\s;|&])(?:add|alias|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|hash|head|help|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logout|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tail|tar|tee|test|time|timeout|times|top|touch|tr|traceroute|trap|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zip|zypper)(?=$|[\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&])(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|[\s;|&])/,lookbehind:!0},boolean:{pattern:/(^|[\s;|&])(?:true|false)(?=$|[\s;|&])/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var n=t.variable[1].inside;n.string=e.languages.bash.string,n.function=e.languages.bash.function,n.keyword=e.languages.bash.keyword,n.boolean=e.languages.bash.boolean,n.operator=e.languages.bash.operator,n.punctuation=e.languages.bash.punctuation,e.languages.shell=e.languages.bash}(e)}e.exports=r,r.displayName="bash",r.aliases=["shell"]},JDXi:function(e,t,n){var r,o,i,a=n("9JhN"),u=n("ct80"),l=n("amH4"),c=n("X7ib"),s=n("kySU"),f=n("8r/q"),p=a.location,d=a.setImmediate,h=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,m=0,b={},w=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},O=function(e){return function(){w(e)}},x=function(e){w(e.data)},S=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(m),m},h=function(e){delete b[e]},"process"==l(v)?r=function(e){v.nextTick(O(e))}:g&&g.now?r=function(e){g.now(O(e))}:y?(i=(o=new y).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(S)?r="onreadystatechange"in f("script")?function(e){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),w(e)}}:function(e){setTimeout(O(e),0)}:(r=S,a.addEventListener("message",x,!1))),e.exports={set:d,clear:h}},JFEB:function(e,t,n){"use strict";n.r(t);var r=n("JGXn");n.d(t,"default",function(){return r.default})},JGXn:function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?=\S)/gm),o=n&&Math.min.apply(Math,r(n.map(function(e){return e.length})));if(o){var i=new RegExp("^.{"+o+"}","gm");return t.replace(i,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}}},JNqh:function(e,t,n){var r=n("6UKJ");e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},JRTy:function(e,t,n){var r=n("FXyv");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},"JY+C":function(e,t,n){var r=n("9JhN"),o=n("JDXi"),i=!r.setImmediate||!r.clearImmediate;n("ax0f")({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},JYmt:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},JcJ6:function(e,t,n){var r=n("Syyo"),o=n("H87J"),i=n("wxYD"),a=n("a88S"),u=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-u?"-0":n}},JliG:function(e,t,n){var r=n("5Jdw"),o=n("64g+"),i=n("LTNl"),a=n("3Mt6"),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},JtPf:function(e,t,n){"use strict";var r,o,i,a=n("ax0f"),u=n("DpO5"),l=n("9JhN"),c=n("PjZX"),s=n("sgPY"),f=n("+kY7"),p=n("Ch6y"),d=n("dSaG"),h=n("hpdy"),v=n("TM4o"),y=n("amH4"),g=n("tXjT"),m=n("MhFt"),b=n("Qzre"),w=n("JDXi").set,O=n("hXPa"),x=n("nDYR"),S=n("Qi22"),E=n("iByj"),k=n("QroT"),j=n("XeX2"),_=n("zc29"),T=n("66wQ"),P=n("fVMg")("species"),C="Promise",M=_.get,A=_.set,I=_.getterFor(C),R=l.Promise,z=l.TypeError,N=l.document,D=l.process,L=l.fetch,F=D&&D.versions,B=F&&F.v8||"",H=E.f,U=H,W="process"==y(D),K=!!(N&&N.createEvent&&l.dispatchEvent),V=T(C,function(){var e=R.resolve(1),t=function(){},n=(e.constructor={})[P]=function(e){e(t,t)};return!((W||"function"==typeof PromiseRejectionEvent)&&(!u||e.finally)&&e.then(t)instanceof n&&0!==B.indexOf("6.6")&&-1===j.indexOf("Chrome/66"))}),q=V||!m(function(e){R.all(e).catch(function(){})}),Y=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},G=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;O(function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,l,c,s=r[a++],f=i?s.ok:s.fail,p=s.resolve,d=s.reject,h=s.domain;try{f?(i||(2===t.rejection&&J(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?d(z("Promise-chain cycle")):(l=Y(u))?l.call(u,p,d):p(u)):d(o)}catch(e){h&&!c&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&X(e,t)})}},$=function(e,t,n){var r,o;K?((r=N.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},(o=l["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},X=function(e,t){w.call(l,function(){var n,r=t.value;if(Z(t)&&(n=k(function(){W?D.emit("unhandledRejection",r,e):$("unhandledrejection",e,r)}),t.rejection=W||Z(t)?2:1,n.error))throw n.value})},Z=function(e){return 1!==e.rejection&&!e.parent},J=function(e,t){w.call(l,function(){W?D.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)})},Q=function(e,t,n,r){return function(o){e(t,n,o,r)}},ee=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,G(e,t,!0))},te=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw z("Promise can't be resolved itself");var o=Y(n);o?O(function(){var r={done:!1};try{o.call(n,Q(te,e,r,t),Q(ee,e,r,t))}catch(n){ee(e,r,n,t)}}):(t.value=n,t.state=1,G(e,t,!1))}catch(n){ee(e,{done:!1},n,t)}}};V&&(R=function(e){v(this,R,C),h(e),r.call(this);var t=M(this);try{e(Q(te,this,t),Q(ee,this,t))}catch(e){ee(this,t,e)}},(r=function(e){A(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=s(R.prototype,{then:function(e,t){var n=I(this),r=H(b(this,R));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=W?D.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&G(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(te,e,t),this.reject=Q(ee,e,t)},E.f=H=function(e){return e===R||e===i?new o(e):U(e)},u||"function"!=typeof L||a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(R,L.apply(l,arguments))}})),a({global:!0,wrap:!0,forced:V},{Promise:R}),f(R,C,!1,!0),p(C),i=c.Promise,a({target:C,stat:!0,forced:V},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),a({target:C,stat:!0,forced:u||V},{resolve:function(e){return x(u&&this===i?R:this,e)}}),a({target:C,stat:!0,forced:q},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,i=k(function(){var n=h(t.resolve),i=[],a=0,u=1;g(e,function(e){var l=a++,c=!1;i.push(void 0),u++,n.call(t,e).then(function(e){c||(c=!0,i[l]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=k(function(){var o=h(t.resolve);g(e,function(e){o.call(t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},"JvF+":function(e,t,n){"use strict";(function(t){var r=n("m3H9");e.exports=function(){return"object"==typeof t&&t&&t.Math===Math&&t.Array===Array?t:r}}).call(this,n("fRV1"))},K2dk:function(e,t,n){"use strict";var r=n("rqpN"),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,u){for(var l=a,c=0;c0&&(p=r.IsArray(f)),p){l=e(t,f,r.ToLength(r.Get(f,"length")),l,u-1)}else{if(l>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(l),f),l+=1}}c+=1}return l};e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return i(o,e,t,0,n),o}},"KAo/":function(e,t,n){var r=n("NYSw"),o=n("2srY"),i=n("NW/2"),a=n("i7nn"),u=n("+tCn"),l=n("0Ss3"),c=n("Ypsa"),s=1,f=2;e.exports=function(e,t){return a(e)&&u(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,s|f)}}},KB94:function(e,t,n){var r=n("TN3B");e.exports=r("native-function-to-string",Function.toString)},KCLV:function(e,t,n){var r=n("Syyo"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[u]=n:delete e[u]),o}},"KEM+":function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},KI8r:function(e,t,n){"use strict";var r=n("bbru"),o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Function.call.bind(Array.prototype.concat),c=Function.call.bind(Array.prototype.reduce),s=u?function(e){return l(a(e),u(e))}:a,f=r.IsCallable(i)&&r.IsCallable(a);e.exports=function(e){if(r.RequireObjectCoercible(e),!f)throw new TypeError("getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor");var t=r.ToObject(e);return c(s(t),function(e,n){var r,a,u,l=i(t,n);return void 0!==l&&(r=e,a=n,u=l,o&&a in r?o(r,a,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[a]=u),e},{})}},KOtZ:function(e,t,n){"use strict";var r=n("ax0f"),o=n("mPOS").left;r({target:"Array",proto:!0,forced:n("NVHP")("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},KTRZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};t.default=void 0;var o=n("R0r6");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var i=n("8nFU");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))});var a=n("FGWk");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var u=n("2u70");Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=n("glgB");Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=o.addons;t.default=c},Kbgz:function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},Kc5Y:function(e,t,n){"use strict";var r=n("hXtS");e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},KhaS:function(e,t,n){"use strict";n("m0l7"),n("gwwy"),n("7TIr"),n("ulY9"),n("HGf9")},Kkar:function(e,t,n){var r=n("Dhk8"),o=n("/wCD"),i=n("tLQN"),a="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,s=l.hasOwnProperty,f=c.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},KqXw:function(e,t,n){"use strict";var r=n("ax0f"),o=n("QsUS");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},KviE:function(e,t,n){"use strict";var r=n("5L5q"),o=n("bbru"),i=r.call(Function.call,String.prototype.slice);e.exports=function(e){var t,n=o.RequireObjectCoercible(this),r=o.ToString(n),a=o.ToLength(r.length);arguments.length>1&&(t=arguments[1]);var u=void 0===t?"":o.ToString(t);""===u&&(u=" ");var l=o.ToLength(e);if(l<=a)return r;for(var c=l-a;u.lengthf?i(u,0,f):u}var p=u.length>c?i(u,0,c):u;return r+p}},L6um:function(e,t){e.exports=function(e){return this.__data__.has(e)}},LJ7e:function(e,t,n){"use strict";n.r(t);var r=n("Iy7w").default.bind();["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","marquee","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","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){r[e]=r(e)}),t.default=r},LJOr:function(e,t,n){"use strict";var r=n("lbJE"),o=n("FXyv"),i=n("cww3"),a=n("FNAH"),u=n("34wW");r("search",1,function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var s=u(i,l);return a(i.lastIndex,c)||(i.lastIndex=c),null===s?-1:s.index}]})},LL3N:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},LTNl:function(e,t,n){var r=n("H3h0");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},LUwd:function(e,t,n){n("ax0f")({target:"Object",stat:!0},{setPrototypeOf:n("waID")})},LW0h:function(e,t,n){"use strict";var r=n("ax0f"),o=n("0FSu").filter;r({target:"Array",proto:!0,forced:!n("GJtw")("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},LaGA:function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new n,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new x(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}});var k=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.default=k}.call(this,n("fRV1"))},LaR9:function(e,t,n){"use strict";function r(e){return(r="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})(e)}n("1t7P"),n("vrRf"),n("IAdD"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollArea=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n("ERkP")),a=n("VSTh"),u=(o=n("7x0g"))&&o.__esModule?o:{default:o},l=n("OY1f");function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=(0,a.styled)(function(e){e.vertical,e.horizontal;var t=f(e,["vertical","horizontal"]);return i.default.createElement(u.default,t)})(function(e){return e.vertical?{overflowY:"auto",height:"100%"}:{overflowY:"hidden"}},function(e){return e.horizontal?{overflowX:"auto",width:"100%"}:{overflowX:"hidden"}}),d=i.default.createElement(a.Global,{styles:l.getScrollAreaStyles}),h=function(e){var t=e.children,n=e.vertical,r=e.horizontal,o=f(e,["children","vertical","horizontal"]);return i.default.createElement(i.Fragment,null,d,i.default.createElement(p,s({vertical:n,horizontal:r},o),t))};t.ScrollArea=h,h.displayName="ScrollArea",h.defaultProps={horizontal:!1,vertical:!1}},LdEA:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},LfQM:function(e,t,n){"use strict";var r=n("ax0f"),o=n("Lj86"),i=n("DjlN"),a=n("waID"),u=n("+kY7"),l=n("0HP5"),c=n("uLp7"),s=n("fVMg"),f=n("DpO5"),p=n("W7cG"),d=n("/4m8"),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,y=s("iterator"),g=function(){return this};e.exports=function(e,t,n,s,d,m,b){o(n,t,s);var w,O,x,S=function(e){if(e===d&&T)return T;if(!v&&e in j)return j[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,j=e.prototype,_=j[y]||j["@@iterator"]||d&&j[d],T=!v&&_||S(d),P="Array"==t&&j.entries||_;if(P&&(w=i(P.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[y]&&l(w,y,g)),u(w,E,!0,!0),f&&(p[E]=g))),"values"==d&&_&&"values"!==_.name&&(k=!0,T=function(){return _.call(this)}),f&&!b||j[y]===T||l(j,y,T),p[t]=T,d)if(O={values:S("values"),keys:m?T:S("keys"),entries:S("entries")},b)for(x in O)!v&&!k&&x in j||c(j,x,O[x]);else r({target:t,proto:!0,forced:v||k},O);return O}},Lh23:function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var o=e.get(n);t[o]||(t[o]=[]),t[o].push(r)},removeListener:function(e,t){for(var r=n(e),o=0,i=r.length;o]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,function(e,t,n){return[function(n,r){var o=l(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var l=n(t,e,this,i);if(l.done)return l.value;var d=o(e),h=String(this),v="function"==typeof i;v||(i=String(i));var y=d.global;if(y){var g=d.unicode;d.lastIndex=0}for(var m=[];;){var b=s(d,h);if(null===b)break;if(m.push(b),!y)break;""===String(b[0])&&(d.lastIndex=c(h,a(d.lastIndex),g))}for(var w,O="",x=0,S=0;S=x&&(O+=h.slice(x,k)+C,x=k+E.length)}return O+h.slice(x)}];function r(e,n,r,o,a,u){var l=r+e.length,c=o.length,s=v;return void 0!==a&&(a=i(a),s=h),t.call(u,s,function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>c){var f=d(s/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[s-1]}return void 0===u?"":u})}})},"Mw/H":function(e,t,n){"use strict";var r=Object.prototype.toString;if(n("V+Bs")()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},MyOs:function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},MyxS:function(e,t,n){var r=n("TN3B"),o=n("HYrn"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},MzY2:function(e,t,n){var r=n("HsnV"),o=n("amiU"),i=n("UdtX"),a=n("cb1R"),u=n("tQYX"),l=n("zH+d"),c=n("LL3N");e.exports=function e(t,n,s,f,p){t!==n&&i(n,function(i,l){if(p||(p=new r),u(i))a(t,n,l,s,e,f,p);else{var d=f?f(c(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}},l)}},N4z3:function(e,t,n){var r=n("g6a+"),o=n("cww3");e.exports=function(e){return r(o(e))}},N9G2:function(e,t,n){var r=n("cww3");e.exports=function(e){return Object(r(e))}},NDUE:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("z84I"),n("IAdD"),n("+KXO"),n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh"),a=n("adtJ");function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=i.styled.div(function(e){var t=e.theme;return{fontSize:t.typography.size.s2,fontWeight:t.typography.weight.bold,marginRight:t.layoutMargin,display:"flex",width:"100%",alignItems:"center",paddingTop:3,paddingBottom:3,minHeight:28,"& > *":{maxWidth:"100%",height:"auto",width:"auto",display:"block"}}}),c=(0,i.styled)(a.StorybookLogo)({width:"auto",height:22,display:"block"}),s=i.styled.img({width:"auto",height:"auto",display:"block",maxWidth:"100%"}),f=i.styled.a({display:"block",width:"100%",height:"100%",color:"inherit",textDecoration:"none"}),p=(0,i.styled)(a.Button)(function(e){return Object.assign({position:"relative",overflow:"visible",padding:7},e.highlighted&&{"&:after":{content:'""',position:"absolute",top:0,right:0,width:8,height:8,borderRadius:8,background:"".concat(e.theme.color.positive)}})}),d=i.styled.div({display:"flex",alignItems:"flex-start",justifyContent:"space-between"}),h=(0,i.withTheme)(function(e){var t=e.theme.brand,n=t.title,r=void 0===n?"Storybook":n,i=t.url,a=void 0===i?"./":i,u=t.image,l="./"===a?"":"_blank";return void 0===u&&null===a?o.default.createElement(c,{alt:r}):void 0===u&&a?o.default.createElement(f,{href:a,target:l},o.default.createElement(c,{alt:r})):null===u&&null===a?r:null===u&&a?o.default.createElement(f,{href:a,target:l,dangerouslySetInnerHTML:{__html:r}}):u&&null===a?o.default.createElement(s,{src:u,alt:r}):u&&a?o.default.createElement(f,{href:a,target:l},o.default.createElement(s,{src:u,alt:r})):null}),v=o.default.createElement(l,null,o.default.createElement(h,null)),y=o.default.createElement(a.Icons,{icon:"ellipsis"}),g=function(e){var t=e.menuHighlighted,n=void 0!==t&&t,r=e.menu,i=u(e,["menuHighlighted","menu"]);return o.default.createElement(d,i,v,o.default.createElement(a.WithTooltip,{placement:"top",trigger:"click",tooltip:function(e){var t=e.onHide;return o.default.createElement(a.TooltipLinkList,{links:r.map(function(e){var n=e.onClick,r=u(e,["onClick"]);return Object.assign({},r,{onClick:function(e){n&&n(e),t(e)}})})})},closeOnClick:!0},o.default.createElement(p,{outline:!0,small:!0,containsIcon:!0,highlighted:n,title:"Shortcuts"},y)))};g.displayName="SidebarHeading";var m=g;t.default=m},NI5U:function(e,t,n){"use strict";var r=n("GKv7"),o=n("0mzR");e.exports=function(e){var t,n,i=e.length,a=[],u=[],l=-1;for(;++l * + *":{marginLeft:20}}}),l=o.default.createElement(a.Link,{secondary:!0,href:"https://storybook.js.org",cancel:!1,target:"_blank"},"Docs"),c=o.default.createElement(a.Link,{secondary:!0,href:"https://github.com/storybookjs/storybook",cancel:!1,target:"_blank"},"GitHub"),s=o.default.createElement(a.Link,{secondary:!0,href:"https://storybook.js.org/support",cancel:!1,target:"_blank"},"Support"),f=function(e){return o.default.createElement(u,e,l,c,s)};f.displayName="SettingsFooter";var p=f;t.default=p},NyMY:function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n("fRV1"))},O1Sc:function(e,t,n){var r=n("w2Tz"),o=n("y4bl"),i=n("xoyU");e.exports=function(e,t,n){for(var a=-1,u=t.length,l={};++awindow.scrollX+document.body.offsetWidth?v-b:v,x=y+w>window.scrollY+document.body.offsetHeight?y-w:y;i.transform="translate3d("+O+"px, "+x+"px, 0"}return a.a.createElement(d,Object(r.default)({arrowProps:l,closeOnOutOfBoundaries:p,outOfBoundaries:s,placement:u,scheduleUpdate:f,style:i,tooltip:o,trigger:c},{clearScheduled:e.clearScheduled,hideTooltip:e.hideTooltip,innerRef:n}))});return a.a.createElement(l.Manager,null,a.a.createElement(l.Reference,{innerRef:s},function(t){var r=t.ref;return n({getTriggerProps:e.getTriggerProps,triggerRef:r})}),this.getState()&&(v?Object(u.createPortal)(b,y):b))},n.isControlled=function(){return void 0!==this.props.tooltipShown},n.getState=function(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},t}(i.Component);v.defaultProps={closeOnOutOfBoundaries:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function(){},placement:"right",portalContainer:f()?document.body:null,trigger:"hover",usePortal:f()},t.default=v},ODNi:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("z84I"),n("IAdD"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipLinkList=void 0;var r=a(n("ERkP")),o=n("VSTh"),i=a(n("UtmD"));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=o.styled.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:656},function(e){return{borderRadius:2*e.theme.appBorderRadius}}),s=function(e){var t=e.links,n=e.LinkWrapper;return r.default.createElement(c,null,t.map(function(e){var t=e.id,o=e.title,a=e.href,c=e.onClick,s=e.active,f=e.isGatsby,p=l(e,["id","title","href","onClick","active","isGatsby"]);return r.default.createElement(i.default,u({key:t||o,title:o,onClick:c,active:s,href:a,LinkWrapper:f?n:null},p))}))};t.TooltipLinkList=s,s.displayName="TooltipLinkList",s.defaultProps={LinkWrapper:i.default.defaultProps.LinkWrapper}},OLuu:function(e,t,n){var r,o;!function(i,a){"use strict";void 0===(o="function"==typeof(r=function(){var e,t,n=Array,r=n.prototype,o=Object,i=o.prototype,a=Function,u=a.prototype,l=String,c=l.prototype,s=Number,f=s.prototype,p=r.slice,d=r.splice,h=r.push,v=r.unshift,y=r.concat,g=r.join,m=u.call,b=u.apply,w=Math.max,O=Math.min,x=i.toString,S="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,E=Function.prototype.toString,k=/^\s*class /,j=function(e){try{var t=E.call(e),n=t.replace(/\/\/.*\n/g,""),r=n.replace(/\/\*[.\s\S]*\*\//g,""),o=r.replace(/\n/gm," ").replace(/ {2}/g," ");return k.test(o)}catch(e){return!1}},_=function(e){try{return!j(e)&&(E.call(e),!0)}catch(e){return!1}},T="[object Function]",P="[object GeneratorFunction]",C=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(S)return _(e);if(j(e))return!1;var t=x.call(e);return t===T||t===P},M=RegExp.prototype.exec,A=function(e){try{return M.call(e),!0}catch(e){return!1}},I="[object RegExp]";e=function(e){return"object"==typeof e&&(S?A(e):x.call(e)===I)};var R=String.prototype.valueOf,z=function(e){try{return R.call(e),!0}catch(e){return!1}},N="[object String]";t=function(e){return"string"==typeof e||"object"==typeof e&&(S?z(e):x.call(e)===N)};var D=o.defineProperty&&function(){try{var e={};for(var t in o.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),L=(W=i.hasOwnProperty,K=D?function(e,t,n,r){!r&&t in e||o.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,r){!r&&t in e||(e[t]=n)},function(e,t,n){for(var r in t)W.call(t,r)&&K(e,r,t[r],n)}),F=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},B=s.isNaN||function(e){return e!=e},H={ToInteger:function(e){var t=+e;return B(t)?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(e){var t,n,r;if(F(e))return e;if(n=e.valueOf,C(n)&&(t=n.call(e),F(t)))return t;if(r=e.toString,C(r)&&(t=r.call(e),F(t)))return t;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return o(e)},ToUint32:function(e){return e>>>0}},U=function(){};var W,K;L(u,{bind:function(e){var t=this;if(!C(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,r=p.call(arguments,1),i=function(){if(this instanceof n){var i=b.call(t,this,y.call(r,p.call(arguments)));return o(i)===i?i:this}return b.call(t,e,y.call(r,p.call(arguments)))},u=w(0,t.length-r.length),l=[],c=0;c0;)t[n]=e[n];return X(t,$(arguments,1))},G=function(e,t){return X(Y(e),t)}}var Z=m.bind(c.slice),J=m.bind(c.split),Q=m.bind(c.indexOf),ee=m.bind(h),te=m.bind(i.propertyIsEnumerable),ne=m.bind(r.sort),re=n.isArray||function(e){return"[object Array]"===q(e)},oe=1!==[].unshift(0);L(r,{unshift:function(){return v.apply(this,arguments),this.length}},oe),L(n,{isArray:re});var ie=o("a"),ae="a"!==ie[0]||!(0 in ie),ue=function(e){var t=!0,n=!0,r=!1;if(e)try{e.call("foo",function(e,n,r){"object"!=typeof r&&(t=!1)}),e.call([1],function(){n="string"==typeof this},"x")}catch(e){r=!0}return!!e&&!r&&t&&n};L(r,{forEach:function(e){var n,r=H.ToObject(this),o=ae&&t(this)?J(this,""):r,i=-1,a=H.ToUint32(o.length);if(arguments.length>1&&(n=arguments[1]),!C(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i1&&(r=arguments[1]),!C(e))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;l1&&(r=arguments[1]),!C(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;l1&&(n=arguments[1]),!C(e))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;a1&&(n=arguments[1]),!C(e))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;a=2)i=arguments[1];else for(;;){if(a in r){i=r[a++];break}if(++a>=o)throw new TypeError("reduce of empty array with no initial value")}for(;a=2)n=arguments[1];else for(;;){if(a in o){n=o[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(a<0)return n;do{a in o&&(n=e(n,o[a],a,r))}while(a--);return n}},!ce);var se=r.indexOf&&-1!==[0,1].indexOf(1,2);L(r,{indexOf:function(e){var n=ae&&t(this)?J(this,""):H.ToObject(this),r=H.ToUint32(n.length);if(0===r)return-1;var o=0;for(arguments.length>1&&(o=H.ToInteger(arguments[1])),o=o>=0?o:w(0,r+o);o1&&(o=O(o,H.ToInteger(arguments[1]))),o=o>=0?o:r-Math.abs(o);o>=0;o--)if(o in n&&e===n[o])return o;return-1}},fe);var pe=(de=[1,2],he=de.splice(),2===de.length&&re(he)&&0===he.length);var de,he;L(r,{splice:function(e,t){return 0===arguments.length?[]:d.apply(this,arguments)}},!pe);var ve=(ye={},r.splice.call(ye,0,0,1),1===ye.length);var ye;L(r,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=w(H.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&((n=Y(arguments)).length<2?ee(n,this.length-e):n[1]=H.ToInteger(t)),d.apply(this,n)}},!ve);var ge=(be=new n(1e5),be[8]="x",be.splice(1,1),7===be.indexOf("x")),me=function(){var e=[];return e[256]="a",e.splice(257,0,"b"),"a"===e[256]}();var be;L(r,{splice:function(e,t){for(var n,r=H.ToObject(this),o=[],i=H.ToUint32(r.length),a=H.ToInteger(e),u=a<0?w(i+a,0):O(a,i),c=O(w(H.ToInteger(t),0),i-u),s=0;sv;)delete r[s-1],s-=1}else if(d>c)for(s=i-c;s>u;)n=l(s+c-1),f=l(s+d-1),V(r,n)?r[f]=r[n]:delete r[f],s-=1;s=u;for(var y=0;y=0&&!re(e)&&C(e.callee)},Be=Le(arguments)?Le:Fe;L(o,{keys:function(e){var n=C(e),r=Be(e),o=null!==e&&"object"==typeof e,i=o&&t(e);if(!o&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var a=[],u=Ce&&n;if(i&&Me||r)for(var c=0;c11?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ze(this),t=Je(this);return e<0&&t>11?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ze(this),t=Je(this),n=Qe(this);return e<0&&t>11?12===t?n:st(0,e+1)-n+1:n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=et(this);return e<0&&tt(this)>11?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=et(this),t=tt(this);return e<0&&t>11?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=et(this),t=tt(this),n=nt(this);return e<0&&t>11?12===t?n:st(0,e+1)-n+1:n}},qe),L(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=rt(this),t=nt(this),n=tt(this),r=et(this),o=ot(this),i=it(this),a=at(this);return lt[e]+", "+(t<10?"0"+t:t)+" "+ct[n]+" "+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+" GMT"}},qe||$e),L(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear();return lt[e]+" "+ct[n]+" "+(t<10?"0"+t:t)+" "+r}},qe||Ke),(qe||Ve)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear(),o=this.getHours(),i=this.getMinutes(),a=this.getSeconds(),u=this.getTimezoneOffset(),l=Math.floor(Math.abs(u)/60),c=Math.floor(Math.abs(u)%60);return lt[e]+" "+ct[n]+" "+(t<10?"0"+t:t)+" "+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+" GMT"+(u>0?"-":"+")+(l<10?"0"+l:l)+(c<10?"0"+c:c)},D&&o.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var ft=-621987552e5,pt="-000001",dt=Date.prototype.toISOString&&-1===new Date(ft).toISOString().indexOf(pt),ht=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),vt=m.bind(Date.prototype.getTime);L(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(vt(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=et(this),t=tt(this);e+=Math.floor(t/12);var n=[(t=(t%12+12)%12)+1,nt(this),ot(this),it(this),at(this)];e=(e<0?"-":e>9999?"+":"")+Z("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var r=0;r=7&&c>wt){var h=Math.floor(c/wt)*wt,v=Math.floor(h/1e3);p+=v,d-=1e3*v}s=1===f&&l(n)===n?new e(t.parse(n)):f>=7?new e(n,r,o,i,a,p,d):f>=6?new e(n,r,o,i,a,p):f>=5?new e(n,r,o,i,a):f>=4?new e(n,r,o,i):f>=3?new e(n,r,o):f>=2?new e(n,r):f>=1?new e(n instanceof e?+n:n):new e}else s=e.apply(this,arguments);return F(s)||L(s,{constructor:t},!0),s},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],o=function(e,t){var n=t>1?1:0;return r[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)},i=function(t){var n=0,r=t;if(Ot&&r>wt){var o=Math.floor(r/wt)*wt,i=Math.floor(o/1e3);n+=i,r-=1e3*i}return s(new e(1970,0,1,0,0,n,r))};for(var a in e)V(e,a)&&(t[a]=e[a]);L(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,L(t.prototype,{constructor:t},!0);return L(t,{parse:function(t){var r=n.exec(t);if(r){var a,u=s(r[1]),l=s(r[2]||1)-1,c=s(r[3]||1)-1,f=s(r[4]||0),p=s(r[5]||0),d=s(r[6]||0),h=Math.floor(1e3*s(r[7]||0)),v=Boolean(r[4]&&!r[8]),y="-"===r[9]?1:-1,g=s(r[10]||0),m=s(r[11]||0),b=p>0||d>0||h>0;return f<(b?24:25)&&p<60&&d<60&&h<1e3&&l>-1&&l<12&&g<24&&m<60&&c>-1&&c=0;)n+=St.data[t],St.data[t]=Math.floor(n/e),n=n%e*St.base},numToString:function(){for(var e=St.size,t="";--e>=0;)if(""!==t||0===e||0!==St.data[e]){var n=l(St.data[e]);""===t?t=n:t+=Z("0000000",0,7-n.length)+n}return t},pow:function e(t,n,r){return 0===n?r:n%2==1?e(t,n-1,r*t):e(t*t,n/2,r)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}},Et=function(e){var t,n,r,o,i,a,u,c;if(t=s(e),(t=B(t)?0:Math.floor(t))<0||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=s(this),B(n))return"NaN";if(n<=-1e21||n>=1e21)return l(n);if(r="",n<0&&(r="-",n=-n),o="0",n>1e-21)if(i=St.log(n*St.pow(2,69,1))-69,a=i<0?n*St.pow(2,-i,1):n/St.pow(2,i,1),a*=4503599627370496,(i=52-i)>0){for(St.multiply(0,a),u=t;u>=7;)St.multiply(1e7,0),u-=7;for(St.multiply(St.pow(10,u,1),0),u=i-1;u>=23;)St.divide(1<<23),u-=23;St.divide(1<0?(c=o.length,o=c<=t?r+Z("0.0000000000000000000",0,t-c+2)+o:r+Z(o,0,c-t)+"."+Z(o,c-t)):o=r+o,o};L(f,{toFixed:Et},xt);var kt=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),jt=f.toPrecision;L(f,{toPrecision:function(e){return void 0===e?jt.call(this):jt.call(this,e)}},kt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(_t=void 0===/()??/.exec("")[1],Tt=Math.pow(2,32)-1,c.split=function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!e(t))return J(this,t,n);var o,i,a,u,l=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,f=new RegExp(t.source,c+"g");_t||(o=new RegExp("^"+f.source+"$(?!\\s)",c));var p=void 0===n?Tt:H.ToUint32(n);for(i=f.exec(r);i&&!((a=i.index+i[0].length)>s&&(ee(l,Z(r,s,i.index)),!_t&&i.length>1&&i[0].replace(o,function(){for(var e=1;e1&&i.index=p));)f.lastIndex===i.index&&f.lastIndex++,i=f.exec(r);return s===r.length?!u&&f.test("")||ee(l,""):ee(l,Z(r,s)),l.length>p?Y(l,0,p):l}):"0".split(void 0,0).length&&(c.split=function(e,t){return void 0===e&&0===t?[]:J(this,e,t)});var _t,Tt;var Pt=c.replace,Ct=(Mt=[],"x".replace(/x(.)?/g,function(e,t){ee(Mt,t)}),1===Mt.length&&void 0===Mt[0]);var Mt;Ct||(c.replace=function(t,n){var r=C(n),o=e(t)&&/\)[*?]/.test(t.source);if(r&&o){return Pt.call(this,t,function(e){var r=arguments.length,o=t.lastIndex;t.lastIndex=0;var i=t.exec(e)||[];return t.lastIndex=o,ee(i,arguments[r-2],arguments[r-1]),n.apply(this,i)})}return Pt.call(this,t,n)});var At=c.substr,It="".substr&&"b"!=="0b".substr(-1);L(c,{substr:function(e,t){var n=e;return e<0&&(n=w(this.length+e,0)),At.call(this,n,t)}},It);var Rt="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",zt="​",Nt="["+Rt+"]",Dt=new RegExp("^"+Nt+Nt+"*"),Lt=new RegExp(Nt+Nt+"*$"),Ft=c.trim&&(Rt.trim()||!zt.trim());L(c,{trim:function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(Dt,"").replace(Lt,"")}},Ft);var Bt=m.bind(String.prototype.trim),Ht=c.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);L(c,{lastIndexOf:function(e){if(null==this)throw new TypeError("can't convert "+this+" to object");for(var t=l(this),n=l(e),r=arguments.length>1?s(arguments[1]):NaN,o=B(r)?1/0:H.ToInteger(r),i=O(w(o,0),t.length),a=n.length,u=i+a;u>0;){u=w(0,u-a);var c=Q(Z(t,u,i+a),n);if(-1!==c)return u+c}return-1}},Ht);var Ut=c.lastIndexOf;L(c,{lastIndexOf:function(e){return Ut.apply(this,arguments)}},1!==c.lastIndexOf.length),(8!==parseInt(Rt+"08")||22!==parseInt(Rt+"0x16"))&&(parseInt=(Wt=parseInt,Kt=/^[-+]?0[xX]/,function(e,t){var n=Bt(String(e)),r=s(t)||(Kt.test(n)?16:10);return Wt(n,r)}));var Wt,Kt;1/parseFloat("-0")!=-1/0&&(parseFloat=(Vt=parseFloat,function(e){var t=Bt(String(e)),n=Vt(t);return 0===n&&"-"===Z(t,0,1)?-0:n}));var Vt;if("RangeError: test"!==String(new RangeError("test"))){var qt=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");var e=this.name;void 0===e?e="Error":"string"!=typeof e&&(e=l(e));var t=this.message;return void 0===t?t="":"string"!=typeof t&&(t=l(t)),e?t?e+": "+t:e:t};Error.prototype.toString=qt}if(D){var Yt=function(e,t){if(te(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};Yt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Yt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Gt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=Gt}})?r.call(t,n,t,e):r)||(e.exports=o)}()},OSl8:function(e,t,n){"use strict";n("LW0h"),n("jwue"),n("z84I"),n("ho0z"),n("IAdD"),n("1IsZ"),n("KqXw"),n("LJOr"),n("+oxZ"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.mapper=void 0;var r=s(n("ERkP")),o=s(n("vbDw")),i=n("adtJ"),a=n("9NtK"),u=n("qRcm"),l=s(n("xoMe")),c=s(n("bwzU"));function s(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||function(e){for(var t=1;t1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in l))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===l[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return l[n]}},OtNC:function(e,t,n){var r=n("TAtK")(Object.keys,Object);e.exports=r},OtWY:function(e,t,n){"use strict";var r=n("q9+l").f,o=n("guiJ"),i=n("sgPY"),a=n("X7ib"),u=n("TM4o"),l=n("tXjT"),c=n("LfQM"),s=n("Ch6y"),f=n("1Mu/"),p=n("4CM2").fastKey,d=n("zc29"),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,c){var s=e(function(e,r){u(e,s,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&l(r,e[c],e,n)}),d=v(t),y=function(e,t,n){var r,o,i=d(e),a=g(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(s.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=g(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&r(s.prototype,"size",{get:function(){return d(this).size}}),s},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);c(e,t,function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),s(t)}}},P14U:function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=i.styled.div(function(e){var t=e.theme,n=e.col,r=e.row,o=void 0===r?1:r;return n?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:n*t.layoutMargin,verticalAlign:"inherit"},"& > *:first-of-type":{marginLeft:0}}:{"& > *":{marginTop:o*t.layoutMargin},"& > *:first-of-type":{marginTop:0}}},function(e){var t=e.theme,n=e.outer,r=e.col,o=e.row;switch(!0){case!(!n||!r):return{marginLeft:n*t.layoutMargin,marginRight:n*t.layoutMargin};case!(!n||!o):return{marginTop:n*t.layoutMargin,marginBottom:n*t.layoutMargin};default:return{}}}),c=function(e){var t,n=e.col,r=e.row,i=e.outer,c=e.children,s=u(e,["col","row","outer","children"]),f="number"==typeof(t="number"!=typeof i&&i?n||r:i)?t:Number(t);return o.default.createElement(l,a({col:n,row:r,outer:f},s),c)};t.Spaced=c,c.displayName="Spaced"},Q5t5:function(e,t,n){"use strict";n.r(t);var r=n("hhG3");n.d(t,"default",function(){return r.default})},QF3D:function(e,t,n){var r=n("vxC8")(n("IBsm"),"DataView");e.exports=r},QMz8:function(e,t,n){var r=n("5pfJ"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},QT01:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1&&u.call(r[0],n,function(){for(o=1;o=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(){var e=h(["\n padding: 15px;\n width: 280px;\n box-sizing: border-box;\n"]);return c=function(){return e},e}function s(){var e=h(["\n color: ",";\n line-height: 18px;\n"]);return s=function(){return e},e}function f(){var e=h(["\n margin-top: 8px;\n text-align: center;\n\n > * {\n margin: 0 8px;\n font-weight: ",";\n }\n"]);return f=function(){return e},e}function p(){var e=h([""]);return p=function(){return e},e}function d(){var e=h(["\n font-weight: ",";\n"]);return d=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var v=i.styled.div(d(),function(e){return e.theme.typography.weight.black}),y=i.styled.span(p()),g=i.styled.div(f(),function(e){return e.theme.typography.weight.black}),m=i.styled.div(s(),function(e){return e.theme.color.darker}),b=i.styled.div(c()),w=function(e){var t=e.title,n=e.desc,r=e.links;return o.default.createElement(b,null,o.default.createElement(m,null,t&&o.default.createElement(v,null,t),n&&o.default.createElement(y,null,n)),r&&o.default.createElement(g,null,r.map(function(e){var t=e.title,n=l(e,["title"]);return o.default.createElement(a.Link,u({},n,{key:t}),t)})))};t.TooltipMessage=w,w.displayName="TooltipMessage",w.defaultProps={title:null,desc:null,links:null}},R5u7:function(e,t,n){var r=n("pPzx"),o=n("9y2L"),i=n("pnw1"),a=n("tQYX");e.exports=function(e,t,n){if(!a(n))return!1;var u=typeof t;return!!("number"==u?o(n)&&i(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},"R6B+":function(e,t,n){"use strict";var r=n("zT+L"),o=n("YZE+"),i=n("IlOi"),a=n("CmXO"),u=Function.call.bind(o);r(u,{getPolyfill:i,implementation:o,shim:a}),e.exports=u},RFwh:function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},RFxK:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}},RNlM:function(e,t,n){var r=n("+ooz");e.exports=function(){this.__data__=new r,this.size=0}},RNvQ:function(e,t,n){var r=n("tQYX"),o=n("ENE1"),i=n("nvU9"),a="Expected a function",u=Math.max,l=Math.min;e.exports=function(e,t,n){var c,s,f,p,d,h,v=0,y=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=c,r=s;return c=s=void 0,v=t,p=e.apply(r,n)}function w(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-v>=f}function O(){var e=o();if(w(e))return x(e);d=setTimeout(O,function(e){var n=t-(e-h);return g?l(n,f-(e-v)):n}(e))}function x(e){return d=void 0,m&&c?b(e):(c=s=void 0,p)}function S(){var e=o(),n=w(e);if(c=arguments,s=this,h=e,n){if(void 0===d)return function(e){return v=e,d=setTimeout(O,t),y?b(e):p}(h);if(g)return clearTimeout(d),d=setTimeout(O,t),b(h)}return void 0===d&&(d=setTimeout(O,t)),p}return t=i(t)||0,r(n)&&(y=!!n.leading,f=(g="maxWait"in n)?u(i(n.maxWait)||0,t):f,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=h=s=d=void 0},S.flush=function(){return void 0===d?p:x(o())},S}},RXNd:function(e,t,n){"use strict";var r=n("Gxtz"),o=n("hoS5"),i=n("MyOs"),a=n("B/kk"),u=n("q6j6"),l=n("ay19");e.exports=function(e,t){var n,i,a={};t||(t={});for(i in p)n=t[i],a[i]=null==n?p[i]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,i,a,p,F,B,H,U,W,K,V,q,Y,G,$,X,Z,J,Q,ee=t.additional,te=t.nonTerminated,ne=t.text,re=t.reference,oe=t.warning,ie=t.textContext,ae=t.referenceContext,ue=t.warningContext,le=t.position,ce=t.indent||[],se=e.length,fe=0,pe=-1,de=le.column||1,he=le.line||1,ve="",ye=[];"string"==typeof ee&&(ee=ee.charCodeAt(0));X=me(),U=oe?function(e,t){var n=me();n.column+=t,n.offset+=t,oe.call(ue,D[e],n,e)}:f,fe--,se++;for(;++fe=55296&&ge<=57343||ge>1114111?(U(N,J),B=s(E)):B in o?(U(z,J),B=o[B]):(K="",L(B)&&U(z,J),B>65535&&(K+=s((B-=65536)>>>10|55296),B=56320|1023&B),B=K+s(B))):G!==k&&U(I,J)),B?(be(),X=me(),fe=Q-1,de+=Q-Y+1,ye.push(B),(Z=me()).offset++,re&&re.call(ae,B,{start:X,end:Z},e.slice(Y-1,Q)),X=Z):(p=e.slice(Y-1,Q),ve+=p,de+=p.length,fe=Q-1)}else 10===F&&(he++,pe++,de=0),F==F?(ve+=s(F),de++):be();var ge;return ye.join("");function me(){return{line:he,column:de,offset:fe+(le.offset||0)}}function be(){ve&&(ye.push(ve),ne&&ne.call(ie,ve,{start:X,end:me()}),ve="")}}(e,a)};var c={}.hasOwnProperty,s=String.fromCharCode,f=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,h=10,v=12,y=32,g=38,m=59,b=60,w=61,O=35,x=88,S=120,E=65533,k="named",j="hexadecimal",_="decimal",T={};T[j]=16,T[_]=10;var P={};P[k]=u,P[_]=i,P[j]=a;var C=1,M=2,A=3,I=4,R=5,z=6,N=7,D={};function L(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}D[C]="Named character references must be terminated by a semicolon",D[M]="Numeric character references must be terminated by a semicolon",D[A]="Named character references cannot be empty",D[I]="Numeric character references cannot be empty",D[R]="Named character references must be known",D[z]="Numeric character references cannot be disallowed",D[N]="Numeric character references cannot be outside the permissible Unicode range"},RlQt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.set=t.get=void 0;var r=a(n("wFLD")),o=a(n("RNvQ")),i=a(n("vbDw"));function a(e){return e&&e.__esModule?e:{default:e}}t.get=function(){try{return r.default.local.get("storybook-layout")||!1}catch(e){return console.error(e),!1}};var u=(0,i.default)(1)(function(e){try{r.default.local.set("storybook-layout",e)}catch(e){console.error(e)}}),l=(0,o.default)(u,500);t.set=l},RlvI:function(e,t,n){t.f=n("fVMg")},S0iI:function(e,t){e.exports=function(e,t){return e.has(t)}},S3pA:function(e,t,n){var r=n("7/we"),o=n("KAo/"),i=n("zWgn"),a=n("wxYD"),u=n("1EDM");e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},"SQZ/":function(e,t,n){"use strict";var r=n("ml/U"),o=n("9j30");function i(e,t,n,i){a(this,"space",i),r.call(this,e,t),a(this,"boolean",u(n,o.boolean)),a(this,"booleanish",u(n,o.booleanish)),a(this,"overloadedBoolean",u(n,o.overloadedBoolean)),a(this,"number",u(n,o.number)),a(this,"commaSeparated",u(n,o.commaSeparated)),a(this,"spaceSeparated",u(n,o.spaceSeparated)),a(this,"commaOrSpaceSeparated",u(n,o.commaOrSpaceSeparated))}function a(e,t,n){n&&(e[t]=n)}function u(e,t){return(e&t)===t}e.exports=i,i.prototype=new r,i.prototype.defined=!0},SU8Q:function(e,t){e.exports=function(e){return function(t){return e(t)}}},"SVW/":function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},SXVo:function(e,t,n){"use strict";n("M+/F"),n("EgRP"),n("yH/f"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.ensure=void 0;var r,o=n("uXhg"),i=n("3kp9"),a=n("7LDk"),u=(r=n("Dv/8"))&&r.__esModule?r:{default:r},l=n("bv1p");function c(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n Your theme is missing properties, you should update your theme!\n\n theme-data missing:\n "]);return c=function(){return e},e}t.ensure=function(e){if(!e)return(0,l.convert)(u.default);var t=(0,i.deletedDiff)(u.default,e);return Object.keys(t).length&&o.logger.warn((0,a.stripIndent)(c()),t),(0,l.convert)(e)}},"SYP+":function(e,t,n){"use strict";var r=n("V/Lb"),o=n("cYYr"),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,u(t)?t:[t])},s=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,i,a,l,s,p,d,h,v,y,g){var m=t;if("function"==typeof s?m=s(n,m):m instanceof Date?m=h(m):"comma"===o&&u(m)&&(m=m.join(",")),null===m){if(i)return l&&!y?l(n,f.encoder,g):n;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||r.isBuffer(m))return l?[v(y?n:l(n,f.encoder,g))+"="+v(l(m,f.encoder,g))]:[v(n)+"="+v(String(m))];var b,w=[];if(void 0===m)return w;if(u(s))b=s;else{var O=Object.keys(m);b=p?O.sort(p):O}for(var x=0;x0?m+g:""}},SbT1:function(e,t,n){"use strict";(function(e){n("IAdD"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!(t instanceof p.default))throw new Error("provider is not extended from the base Provider");a.default.render(o.default.createElement(g,{key:"root",provider:t}),e)},Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return p.default}}),t.Root=void 0;var r=n("NyMY"),o=d(n("ERkP")),i=d(n("aWzz")),a=d(n("7nmT")),u=n("iHSk"),l=n("9NtK"),c=n("VSTh"),s=n("muX9"),f=d(n("50Ef")),p=d(n("z6id"));function d(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign||function(e){for(var t=1;t1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=c(e,Symbol.toPrimitive):u(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||u(e))&&(n="string"),l(e,"default"===n?"number":n)}},TAtK:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},TM4o:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"TN+m":function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("hBpG"),n("jQ3i"),n("plBw"),n("lTEL"),n("z84I"),n("KOtZ"),n("M+/F"),n("cARO"),n("IAdD"),n("j4Sf"),n("EgRP"),n("UvmB"),n("ZVkB"),n("yH/f"),n("5o43"),n("LUwd"),n("7x/C"),n("JtPf"),n("DZ+c"),n("87if"),n("1Iuc"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SuccessIcon=t.Fade=t.TextInput=t.Description=t.GridWrapper=t.Row=t.GridHeaderRow=t.HeaderItem=void 0,n("3yYM");var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("ERkP")),o=s(n("aWzz")),i=n("VSTh"),a=n("a7+6"),u=n("adtJ"),l=s(n("Nvf/")),c=n("qRcm");function s(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){return(p="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})(e)}function d(e,t){for(var n=0;n *:last-of-type":{gridColumn:"2 / 2",justifySelf:"flex-end",gridRow:"1"}});t.GridHeaderRow=E;var k=i.styled.div(function(e){var t=e.theme;return{padding:"6px 0",borderTop:"1px solid ".concat(t.appBorderColor),display:"grid",gridTemplateColumns:"1fr 1fr 0px"}});t.Row=k;var j=i.styled.div({display:"grid",gridTemplateColumns:"1fr",gridAutoRows:"minmax(auto, auto)",marginBottom:"20px"});t.GridWrapper=j;var _=i.styled.div({alignSelf:"center"});t.Description=_;var T=(0,i.styled)(O)(function(e){var t=e.valid,n=e.theme;return"error"===t?{animation:"".concat(n.animation.jiggle," 700ms ease-out")}:{}},{display:"flex",width:80,flexDirection:"column",justifySelf:"flex-end",paddingLeft:4,paddingRight:4,textAlign:"center"});t.TextInput=T;var P=(0,i.keyframes)(b());t.Fade=P;var C=(0,i.styled)(u.Icons)(function(e){var t=e.valid,n=e.theme;return"valid"===t?{color:n.color.positive,animation:"".concat(P," 2s ease forwards")}:{opacity:0}},{alignSelf:"center",display:"flex",marginLeft:10,height:14,width:14});t.SuccessIcon=C;var M=i.styled.div(function(e){return{fontSize:e.theme.typography.size.s2,padding:"3rem 20px",maxWidth:600,margin:"0 auto"}}),A={fullScreen:"Go full screen",togglePanel:"Toggle addons",panelPosition:"Toggle addons orientation",toggleNav:"Toggle sidebar",toolbar:"Toggle canvas toolbar",search:"Focus search",focusNav:"Focus sidebar",focusIframe:"Focus canvas",focusPanel:"Focus addons",prevComponent:"Previous component",nextComponent:"Next component",prevStory:"Previous story",nextStory:"Next story",shortcutsPage:"Go to shortcuts page",aboutPage:"Go to about page"},I=["escape"];function R(e){return Object.entries(e).reduce(function(e,t){var n=m(t,2),r=n[0],o=n[1];return I.includes(r)?e:Object.assign({},e,g({},r,{shortcut:o,error:!1}))},{})}var z={CLOSE:"escape"},N=r.default.createElement(E,null,r.default.createElement(S,null,"Commands"),r.default.createElement(S,null,"Shortcut")),D=r.default.createElement(u.Icons,{icon:"close"}),L=r.default.createElement(x,null,"Keyboard shortcuts"),F=r.default.createElement(l.default,null),B=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=h(this,v(t).call(this,e))).onKeyDown=function(e){var t=n.state,r=t.activeFeature,o=t.shortcutKeys;if("Backspace"===e.key)return n.restoreDefault();var i=(0,c.eventToShortcut)(e);if(!i)return!1;var a=!!Object.entries(o).find(function(e){var t=m(e,2),n=t[0],o=t[1].shortcut;return n!==r&&o&&(0,c.shortcutMatchesShortcut)(i,o)});return n.setState({shortcutKeys:Object.assign({},o,g({},r,{shortcut:i,error:a}))})},n.onFocus=function(e){return function(){var t=n.state.shortcutKeys;n.setState({activeFeature:e,shortcutKeys:Object.assign({},t,g({},e,{shortcut:null,error:!1}))})}},n.onBlur=function(){var e,t,r,o,i,a;return regeneratorRuntime.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(e=n.state,t=e.shortcutKeys,r=e.activeFeature,!t[r]){u.next=6;break}if(o=t[r],i=o.shortcut,a=o.error,i&&!a){u.next=5;break}return u.abrupt("return",n.restoreDefault());case 5:return u.abrupt("return",n.saveShortcut());case 6:return u.abrupt("return",!1);case 7:case"end":return u.stop()}})},n.saveShortcut=function(){var e,t,r,o;return regeneratorRuntime.async(function(i){for(;;)switch(i.prev=i.next){case 0:return e=n.state,t=e.activeFeature,r=e.shortcutKeys,o=n.props.setShortcut,i.next=4,regeneratorRuntime.awrap(o(t,r[t].shortcut));case 4:n.setState({successField:t});case 5:case"end":return i.stop()}})},n.restoreDefaults=function(){var e,t;return regeneratorRuntime.async(function(r){for(;;)switch(r.prev=r.next){case 0:return e=n.props.restoreAllDefaultShortcuts,r.next=3,regeneratorRuntime.awrap(e());case 3:return t=r.sent,r.abrupt("return",n.setState({shortcutKeys:R(t)}));case 5:case"end":return r.stop()}})},n.restoreDefault=function(){var e,t,r,o,i;return regeneratorRuntime.async(function(a){for(;;)switch(a.prev=a.next){case 0:return e=n.state,t=e.activeFeature,r=e.shortcutKeys,o=n.props.restoreDefaultShortcut,a.next=4,regeneratorRuntime.awrap(o(t));case 4:return i=a.sent,a.abrupt("return",n.setState({shortcutKeys:Object.assign({},r,{},R(g({},t,i)))}));case 6:case"end":return a.stop()}})},n.displaySuccessMessage=function(e){var t=n.state,r=t.successField,o=t.shortcutKeys;return e===r&&!1===o[e].error?"valid":""},n.displayError=function(e){var t=n.state,r=t.activeFeature,o=t.shortcutKeys;return e===r&&!0===o[e].error?"error":""},n.renderKeyInput=function(){var e=n.state.shortcutKeys;return Object.entries(e).map(function(e){var t=m(e,2),o=t[0],i=t[1].shortcut;return r.default.createElement(k,{key:o},r.default.createElement(_,null,A[o]),r.default.createElement(T,{spellCheck:"false",valid:n.displayError(o),className:"modalInput",onBlur:n.onBlur,onFocus:n.onFocus(o),onKeyDown:n.onKeyDown,value:i?(0,c.shortcutToHumanString)(i):"",placeholder:"Type keys",readOnly:!0}),r.default.createElement(C,{valid:n.displaySuccessMessage(o),icon:"check"}))})},n.renderKeyForm=function(){return r.default.createElement(j,null,N,n.renderKeyInput())},n.state={activeFeature:"",successField:"",shortcutKeys:R(e.shortcutKeys)},n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,r.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.onClose,t=this.renderKeyForm();return r.default.createElement(a.GlobalHotKeys,{handlers:{CLOSE:e},keyMap:z},r.default.createElement(u.Tabs,{absolute:!0,selected:"shortcuts",actions:{onSelect:function(){}},tools:r.default.createElement(r.Fragment,null,r.default.createElement(u.IconButton,{onClick:function(t){return t.preventDefault(),e()}},D))},r.default.createElement("div",{id:"shortcuts",title:"Keyboard Shortcuts"},r.default.createElement(M,null,L,t,r.default.createElement(w,{tertiary:!0,small:!0,id:"restoreDefaultsHotkeys",onClick:this.restoreDefaults},"Restore defaults"),F))))}}])&&d(n.prototype,o),i&&d(n,i),t}();B.displayName="ShortcutsScreen",B.propTypes={shortcutKeys:o.default.shape({}).isRequired,setShortcut:o.default.func.isRequired,restoreDefaultShortcut:o.default.func.isRequired,restoreAllDefaultShortcuts:o.default.func.isRequired,onClose:o.default.func.isRequired};var H=B;t.default=H},TN3B:function(e,t,n){var r=n("9JhN"),o=n("PjRa"),i=n("DpO5"),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},TOa8:function(e,t,n){"use strict";t.parse=function(e){var t,n=[],o=String(e||i),a=o.indexOf(r),u=0,l=!1;for(;!l;)-1===a&&(a=o.length,l=!0),!(t=o.slice(u,a).trim())&&l||n.push(t),u=a+1,a=o.indexOf(r,u);return n},t.stringify=function(e,t){var n=t||{},a=!1===n.padLeft?i:o,u=n.padRight?o:i;e[e.length-1]===i&&(e=e.concat(i));return e.join(u+r+a).trim()};var r=",",o=" ",i=""},TYRa:function(e,t,n){var r=n("kbrz")("toUpperCase");e.exports=r},"TbU+":function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("JFEB"),i=n("20Fm"),a=new r.default(Object(o.default)("all"),i.default);t.default=a},Tk4B:function(e,t,n){"use strict";n("bzxO"),n("B+yX")(),n("hVge")},TlIQ:function(e,t,n){"use strict";(e.exports={}).forEach=function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=function(){return"".concat(o.document.location.pathname,"?")},p=function(e){(0,a.navigate)("".concat(f(),"path=").concat(e))};t.navigate=p;var d=function(e){var t=e.to,n=e.children,r=s(e,["to","children"]);return i.default.createElement(a.Link,c({to:"".concat(f(),"path=").concat(t)},r),n)};t.Link=d,d.displayName="QueryLink",d.displayName="QueryLink";var h=function(e){var t=e.children;return i.default.createElement(a.Location,null,function(e){var n=e.location,r=(0,l.queryFromString)(n.search).path,o=(0,l.parsePath)(r),i=o.viewMode,a=o.storyId;return t({path:r,location:n,navigate:p,viewMode:i,storyId:a})})};t.Location=h,h.displayName="QueryLocation",h.displayName="QueryLocation";var v=function(e){var t=e.children,n=e.path,r=e.startsWith,o=void 0!==r&&r;return i.default.createElement(h,null,function(e){var r=e.path,i=s(e,["path"]);return t(Object.assign({match:(0,l.getMatch)(r,n,o)},i))})};t.Match=v,v.displayName="QueryMatch",v.displayName="QueryMatch";var y=function(e){var t=e.path,n=e.children,r=e.startsWith,o=void 0!==r&&r,a=e.hideOnly,l=void 0!==a&&a;return i.default.createElement(v,{path:t,startsWith:o},function(e){var t=e.match;return l?i.default.createElement(u.ToggleVisibility,{hidden:!t},n):t?n:null})};t.Route=y,y.displayName="Route",y.displayName="Route"},UAs9:function(e,t,n){var r=n("zaNA"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),l=Array(u);++a=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=(0,o.styled)(function(e){e.active,e.loading,e.disabled;var t=c(e,["active","loading","disabled"]);return r.default.createElement("span",t)})(function(e){var t=e.theme;return{color:t.color.defaultText,fontWeight:t.typography.weight.regular}},function(e){var t=e.active,n=e.theme;return t?{color:n.color.primary,fontWeight:n.typography.weight.bold}:{}},function(e){var t=e.loading,n=e.theme;return t?Object.assign({display:"inline-block",flex:"none"},n.animation.inlineGlow):{}},function(e){var t=e.disabled,n=e.theme;return t?{color:(0,a.transparentize)(.7,n.color.defaultText)}:{}}),f=o.styled.span({"& svg":{transition:"all 200ms ease-out",opacity:"0",height:"12px",width:"12px",margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}},function(e){var t=e.active,n=e.theme;return t?{"& svg":{opacity:1},"& path":{fill:n.color.primary}}:{}}),p=o.styled.span({flex:1,textAlign:"left",display:"inline-flex","& > * + *":{paddingLeft:10}}),d=o.styled.span({flex:1,textAlign:"center"},function(e){var t=e.active,n=e.theme;return t?{color:n.color.primary}:{}},function(e){var t=e.theme;return e.disabled?{color:t.color.mediumdark}:{}}),h=o.styled.span(function(e){var t=e.active,n=e.theme;return t?{"& svg":{opacity:1},"& path":{fill:n.color.primary}}:{}}),v=o.styled.a(function(e){var t=e.theme;return{fontSize:t.typography.size.s1,transition:"all 150ms ease-out",color:(0,a.transparentize)(.5,t.color.defaultText),textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 15px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:t.background.hoverable},"&:hover svg":{opacity:1}}},function(e){return e.disabled?{cursor:"not-allowed"}:{}}),y=(0,i.default)(100)(function(e,t,n){var r={};return e&&Object.assign(r,{onClick:e}),t&&Object.assign(r,{href:t}),n&&t&&Object.assign(r,{to:t,as:n}),r}),g=function(e){var t=e.loading,n=e.left,o=e.title,i=e.center,a=e.right,u=e.active,g=e.disabled,m=e.href,b=e.onClick,w=e.LinkWrapper,O=c(e,["loading","left","title","center","right","active","disabled","href","onClick","LinkWrapper"]),x=y(b,m,w),S={active:u,disabled:g};return r.default.createElement(v,l({},S,O,x),n&&r.default.createElement(h,S,n),o||i?r.default.createElement(p,null,o&&r.default.createElement(s,l({},S,{loading:t}),o),i&&r.default.createElement(d,S,i)):null,a&&r.default.createElement(f,S,a))};g.displayName="ListItem",g.defaultProps={loading:!1,left:null,title:r.default.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var m=g;t.default=m},UvmB:function(e,t,n){var r=n("ax0f"),o=n("1Mu/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("q9+l").f})},"V+Bs":function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n("48gJ");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n("fRV1"))},"V/Lb":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122?o+=r.charAt(a):u<128?o+=i[u]:u<2048?o+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?o+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(a+=1,u=65536+((1023&u)<<10|1023&r.charCodeAt(a)),o+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var u=t;return o(t)&&!o(n)&&(u=a(t,i)),o(t)&&o(n)?(n.forEach(function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n}),t):Object.keys(n).reduce(function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t},u)}}},V1yh:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("cmfU"),i=n("20Fm"),a=n("W0QR"),u=new r.default(o.default,Object(a.default)(/(?:\s+)/g," "),i.default);t.default=u},VCi3:function(e,t,n){var r=n("PjZX"),o=n("9JhN"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},"VJ/d":function(e,t,n){"use strict";n("Q+zw")()},VPai:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},VQ32:function(e,t,n){e.exports=n("cY0r")},VSTh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={styled:!0,createGlobal:!0,createReset:!0,lighten:!0,darken:!0};Object.defineProperty(t,"createGlobal",{enumerable:!0,get:function(){return s.createGlobal}}),Object.defineProperty(t,"createReset",{enumerable:!0,get:function(){return s.createReset}}),Object.defineProperty(t,"lighten",{enumerable:!0,get:function(){return h.lightenColor}}),Object.defineProperty(t,"darken",{enumerable:!0,get:function(){return h.darkenColor}}),t.styled=void 0;var o,i=(o=n("LJ7e"))&&o.__esModule?o:{default:o},a=n("9anY");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var u=n("DTcK");Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=n("l1C2");Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=n("I2fK");Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var s=n("cMze"),f=n("2iIe");Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var p=n("bv1p");Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))});var d=n("SXVo");Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var h=n("/Cka");var v=i.default;t.styled=v},VcbD:function(e,t,n){var r=n("fDXD"),o=n("j0cD");e.exports=function(e){return r(o(e))}},Vhia:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("ho0z"),n("IAdD"),n("+KXO"),n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Item=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh"),a=n("7Zgl"),u=n("adtJ");function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=i.styled.span(function(e){var t=e.theme;return{display:"block",width:0,height:0,marginRight:6,borderTop:"3.5px solid transparent",borderBottom:"3.5px solid transparent",borderLeft:"3.5px solid ".concat((0,a.opacify)(.2,t.appBorderColor)),transition:"transform .1s ease-out"}},function(e){var t=e.isExpandable;return void 0!==t&&t?{}:{borderLeftColor:"transparent"}},function(e){var t=e.isExpanded;return void 0!==t&&t?{transform:"rotateZ(90deg)"}:{}}),f=(0,i.styled)(u.Icons)({flex:"none",width:10,height:10,marginRight:6},function(e){var t=e.icon;return"folder"===t?{color:"#774dd7"}:"component"===t?{color:"#1ea7fd"}:"bookmarkhollow"===t?{color:"#37d5d3"}:"document"===t?{color:"#ffae00"}:{}},function(e){var t=e.isSelected;return void 0!==t&&t?{color:"inherit"}:{}}),p=(0,i.styled)(function(e){var t=e.className,n=e.children,r=e.id;return o.default.createElement("div",{className:t,id:r},n)})({fontSize:13,lineHeight:"16px",paddingTop:4,paddingBottom:4,paddingRight:20,display:"flex",alignItems:"center",flex:1,background:"transparent"},function(e){return{paddingLeft:15*e.depth+9}},function(e){var t=e.theme,n=e.isSelected;return!e.loading&&(n?{cursor:"default",background:t.color.secondary,color:t.color.lightest,fontWeight:t.typography.weight.bold}:{cursor:"pointer",color:"light"===t.base?t.color.defaultText:(0,a.transparentize)(.2,t.color.defaultText),"&:hover":{color:t.color.defaultText,background:t.background.hoverable}})},function(e){var t=e.theme;return e.loading&&{"&& > svg + span":{background:t.color.medium},"&& > *":t.animation.inlineGlow,"&& > span":{borderColor:"transparent"}}});t.Item=p;var d=function(e){var t,n=e.name,r=void 0===n?"loading story":n,i=e.isComponent,a=void 0!==i&&i,u=e.isLeaf,d=void 0!==u&&u,h=e.isExpanded,v=void 0!==h&&h,y=e.isSelected,g=void 0!==y&&y,m=c(e,["name","isComponent","isLeaf","isExpanded","isSelected"]);t=d&&a?"document":d?"bookmarkhollow":a?"component":"folder";var b=m.parameters&&m.parameters.displayName||r;return o.default.createElement(p,l({isSelected:g},m,{className:g?"sidebar-item selected":"sidebar-item"}),o.default.createElement(s,{className:"sidebar-expander",isExpandable:!d,isExpanded:v}),o.default.createElement(f,{className:"sidebar-svg-icon",icon:t,isSelected:g}),o.default.createElement("span",null,b))};d.displayName="SidebarItem";var h=d;t.default=h},VtRx:function(e,t,n){"use strict";n.r(t);var r=n("dsco");n.d(t,"default",function(){return r.default})},"W/Kd":function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},W0QR:function(e,t,n){"use strict";n.r(t);var r=n("AokZ");n.d(t,"default",function(){return r.default})},W0vE:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n0?o.default.createElement(a,{key:"s-".concat(n)}):null,t.render()||t):e},null)}},W4lp:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("z84I"),n("IAdD"),n("+KXO"),n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPalette=t.ColorItem=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh"),a=n("7Zgl"),u=n("fN0/"),l=n("YL3p");function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=i.styled.div(function(e){var t=e.theme;return{fontWeight:t.typography.weight.bold,color:t.color.defaultText}}),p=i.styled.div(function(e){var t=e.theme;return{color:"light"===t.base?(0,a.transparentize)(.2,t.color.defaultText):(0,a.transparentize)(.6,t.color.defaultText)}}),d=i.styled.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),h=i.styled.div(function(e){var t=e.theme;return{flex:1,textAlign:"center",fontFamily:t.typography.fonts.mono,fontSize:t.typography.size.s1,lineHeight:1,overflow:"hidden",color:"light"===t.base?(0,a.transparentize)(.4,t.color.defaultText):(0,a.transparentize)(.6,t.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%"}}}),v=i.styled.div({display:"flex",flexDirection:"row"}),y=i.styled.div({flex:1}),g=i.styled.div(function(e){var t=e.theme;return Object.assign({},(0,u.getBlockBackgroundStyle)(t),{display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden"})}),m=i.styled.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),b=i.styled.div({flex:1,display:"flex",flexDirection:"row"}),w=i.styled.div({display:"flex",alignItems:"flex-start"}),O=i.styled.div({flex:"0 0 30%"}),x=i.styled.div({flex:1}),S=i.styled.div(function(e){var t=e.theme;return{display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:t.typography.weight.bold,color:"light"===t.base?(0,a.transparentize)(.4,t.color.defaultText):(0,a.transparentize)(.6,t.color.defaultText)}}),E=i.styled.div(function(e){return{fontSize:e.theme.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}}),k=function(e){var t=e.title,n=e.subtitle,r=e.colors;return o.default.createElement(w,null,o.default.createElement(d,null,o.default.createElement(f,null,t),o.default.createElement(p,null,n)),o.default.createElement(b,null,o.default.createElement(m,null,o.default.createElement(g,null,r.map(function(e){return o.default.createElement(y,{key:e,title:e,style:{backgroundColor:e}})})),o.default.createElement(v,null,r.map(function(e){return o.default.createElement(h,{key:e,title:e},o.default.createElement("div",null,e))})))))};t.ColorItem=k,k.displayName="ColorItem";var j=o.default.createElement(S,null,o.default.createElement(O,null,"Name"),o.default.createElement(x,null,"Swatches")),_=function(e){var t=e.children,n=s(e,["children"]);return o.default.createElement(l.ResetWrapper,null,o.default.createElement(E,c({},n,{className:"docblock-colorpalette"}),j,t))};t.ColorPalette=_,_.displayName="ColorPalette"},W5AF:function(e,t,n){"use strict";var r=n("rqpN"),o=function(e){throw e},i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo");e.exports=function(e){r.RequireObjectCoercible(e);var t={};if(!i){if(!r.IsArray(e))throw new TypeError("this environment lacks native Symbols, and can not support non-Array iterables");return function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(){var e=p(["\n padding: 30px;\n text-align: center;\n color: ",";\n font-size: ","px;\n"]);return c=function(){return e},e}function s(){var e=p([""]);return s=function(){return e},e}function f(){var e=p(["\n font-weight: ",";\n"]);return f=function(){return e},e}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var d=i.styled.div(f(),function(e){return e.theme.typography.weight.bold}),h=i.styled.div(s()),v=i.styled.div(c(),function(e){return e.theme.color.defaultText},function(e){return e.theme.typography.size.s2-1}),y=function(e){var t=e.children,n=l(e,["children"]),r=u(o.Children.toArray(t),2),i=r[0],a=r[1];return o.default.createElement(v,n,o.default.createElement(d,null,i),a&&o.default.createElement(h,null,a))};t.Placeholder=y,y.displayName="Placeholder"},Wi1U:function(e,t){e.exports=function(e){var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},WrkA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9anY"),o={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:"#2f2f2f",appContentBg:"#333",appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:r.typography.fonts.base,fontCode:r.typography.fonts.mono,textColor:r.color.lightest,textInverseColor:r.color.darkest,barTextColor:"#999999",barSelectedColor:r.color.secondary,barBg:r.color.darkest,inputBg:"#3f3f3f",inputBorder:"rgba(0,0,0,.3)",inputTextColor:r.color.lightest,inputBorderRadius:4};t.default=o},"X+5D":function(e,t,n){"use strict";var r=n("T/Xf"),o=n("zT+L");e.exports=function(){var e=r();return o(Object,{getOwnPropertyDescriptors:e},{getOwnPropertyDescriptors:function(){return Object.getOwnPropertyDescriptors!==e}}),e}},"X+A8":function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return o.default}}),t.Handle=void 0;var r,o=(r=n("f2oC"))&&r.__esModule?r:{default:r};var i=n("VSTh").styled.div(function(e){var t=e.theme;return{zIndex:10,position:"absolute",top:0,left:0,display:"flex",justifyContent:"center",alignItems:"center",color:e.isDragging?t.color.secondary:t.appBorderColor,overflow:"hidden",transition:"color 0.2s linear, background-position 0.2s linear, background-size 0.2s linear, background 0.2s linear","&:hover":{color:t.color.secondary}}},function(e){return{cursor:"x"===e.axis?"col-resize":"row-resize"}},function(e){var t=e.theme;return"x"===e.axis?{height:"100%",width:t.layoutMargin,marginLeft:0}:{height:t.layoutMargin,width:"100%",marginTop:0}},function(e){var t=e.shadow,n=e.isDragging;if("top"===t){var r={backgroundImage:"radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%)",backgroundSize:"100% 50px",backgroundPosition:"50% 0",backgroundRepeat:"no-repeat"};return n?r:Object.assign({},r,{backgroundPosition:"50% 10px","&:hover":r})}if("left"===t){var o={backgroundImage:"radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%)",backgroundSize:"50px 100%",backgroundPosition:"0 50%",backgroundRepeat:"no-repeat"};return n?o:Object.assign({},o,{backgroundPosition:"10px 50%","&:hover":o})}return{}});t.Handle=i},"X//L":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("0vwV")),o=u(n("CafK"));t.default=function(e,t){return function(n){var a=n.language,u=n.children,p=n.style,d=void 0===p?t:p,h=n.customStyle,v=void 0===h?{}:h,y=n.codeTagProps,g=void 0===y?{style:d['code[class*="language-"]']}:y,m=n.useInlineStyles,b=void 0===m||m,w=n.showLineNumbers,O=void 0!==w&&w,x=n.startingLineNumber,S=void 0===x?1:x,E=n.lineNumberContainerStyle,k=n.lineNumberStyle,j=n.wrapLines,_=n.lineProps,T=void 0===_?{}:_,P=n.renderer,C=n.PreTag,M=void 0===C?"pre":C,A=n.CodeTag,I=void 0===A?"code":A,R=n.code,z=void 0===R?Array.isArray(u)?u[0]:u:R,N=n.astGenerator,D=(0,r.default)(n,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);N=N||e;var L=O?i.default.createElement(c,{containerStyle:E,codeStyle:g.style||{},numberStyle:k,startingLineNumber:S,codeString:z}):null,F=d.hljs||d['pre[class*="language-"]']||{backgroundColor:"#fff"},B=b?(0,o.default)({},D,{style:(0,o.default)({},F,v)}):(0,o.default)({},D,{className:"hljs"});if(!N)return i.default.createElement(M,B,L,i.default.createElement(I,g,z));j=!(!P||void 0!==j)||j,P=P||f;var H=[{type:"text",value:z}],U=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(t.getLanguage){var i=n&&t.getLanguage(n);return"text"===n?{value:o,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:N,language:a,code:z,defaultCodeValue:H});null===U.language&&(U.value=H);var W=j?function(e,t){var n=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(var o=0;o=t||n<0||p&&e-s>=a}function O(){var e=y();if(w(e))return x(e);l=setTimeout(O,function(e){var n=t-(e-c);return p?v(n,a-(e-s)):n}(e))}function x(e){return l=void 0,d&&o?g(e):(o=i=void 0,u)}function S(){var e=y(),n=w(e);if(o=arguments,i=this,c=e,n){if(void 0===l)return function(e){return s=e,l=setTimeout(O,t),f?g(e):u}(c);if(p)return l=setTimeout(O,t),g(c)}return void 0===l&&(l=setTimeout(O,t)),u}return t=b(t)||0,m(r)&&(f=!!r.leading,a=(p="maxWait"in r)?h(b(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),S.cancel=function(){void 0!==l&&clearTimeout(l),s=0,o=c=i=l=void 0},S.flush=function(){return void 0===l?u:x(y())},S}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==o}(e))return r;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(n);return m(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),g(e,t,{leading:o,maxWait:t,trailing:i})}}).call(this,n("fRV1"))},XU0c:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},XZVn:function(e,t,n){"use strict";function r(e){return(r="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})(e)}n("z84I"),n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.Desktop=void 0;var o,i=c(n("ERkP")),a=(o=n("aWzz"))&&o.__esModule?o:{default:o},u=c(n("4NUJ"));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var a=function(e){var t,n=e.navigate,a=e.state,u=a.location,l=a.path,c=a.viewMode,s=a.storyId,f={},p=(0,r.queryFromLocation)(u),d=p.full,h=p.panel,v=p.nav,y=p.addons,g=p.panelRight,m=p.stories,b=p.addonPanel,w=p.selectedKind,O=p.selectedStory,x=p.path,S=i(p,["full","panel","nav","addons","panelRight","stories","addonPanel","selectedKind","selectedStory","path"]);if("1"===d&&(f.isFullscreen=!0),h&&(["right","bottom"].includes(h)?f.panelPosition=h:"0"===h&&(f.showPanel=!1)),"0"===v&&(f.showNav=!1),"0"===y&&(f.showPanel=!1),"1"===g&&(f.panelPosition="right"),"0"===m&&(f.showNav=!1),b&&(t=b),w&&O){var E=(0,o.toId)(w,O);setTimeout(function(){return n("/".concat(c,"/").concat(E),{replace:!0})},1)}else if(w){var k=(0,o.toId)(w,"star").replace(/star$/,"*");setTimeout(function(){return n("/".concat(c,"/").concat(k),{replace:!0})},1)}else x&&"/"!==x?Object.keys(p).length>1&&setTimeout(function(){return n("".concat(x),{replace:!0})},1):setTimeout(function(){return n("/".concat(c,"/*"),{replace:!0})},1);return{viewMode:c,layout:f,selectedPanel:t,location:u,path:l,customQueryParams:S,storyId:s}}},"Y+ZY":function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw new Error("setId required the element to have a resize detection state.");var o=t.generate();return r.id=o,o}}}},Y5XF:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("20Fm"),i=n("W0QR"),a=new r.default(Object(i.default)(/(?:\n(?:\s*))+/g," "),o.default);t.default=a},Y90t:function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("NyMY"),o=l(n("ERkP")),i=n("iHSk"),a=n("9NtK"),u=l(n("TN+m"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;ts;)n=l[s++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},YBzs:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("JFEB"),i=n("cmfU"),a=n("20Fm"),u=n("eFsV"),l=n("oeWb"),c=new r.default(Object(u.default)("\n"),i.default,o.default,a.default,Object(l.default)(/&/g,"&"),Object(l.default)(//g,">"),Object(l.default)(/"/g,"""),Object(l.default)(/'/g,"'"),Object(l.default)(/`/g,"`"));t.default=c},YL3p:function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.ResetWrapper=t.TT=t.Code=t.P=t.OL=t.UL=t.LI=t.Span=t.Div=t.Img=t.Table=t.Blockquote=t.DL=t.HR=t.A=t.Pre=t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;var r=n("VSTh"),o=n("+k//"),i=function(e){return{margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}},a={margin:"16px 0"},u=r.styled.h1(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.l1,"px"),fontWeight:t.typography.weight.black}});t.H1=u;var l=r.styled.h2(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.m2,"px"),paddingBottom:"4px",borderBottom:"1px solid ".concat(t.appBorderColor)}});t.H2=l;var c=r.styled.h3(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.m1,"px")}});t.H3=c;var s=r.styled.h4(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.s3,"px")}});t.H4=s;var f=r.styled.h5(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.s2,"px")}});t.H5=f;var p=r.styled.h6(o.withReset,i,function(e){var t=e.theme;return{fontSize:"".concat(t.typography.size.s2,"px"),color:t.color.dark}});t.H6=p;var d=r.styled.pre(o.withReset,a,function(e){return{fontFamily:e.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.hljs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.hljs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}});t.Pre=d;var h=r.styled.a(o.withReset,function(e){var t=e.theme;return{fontSize:t.typography.size.s2,lineHeight:"24px",color:"".concat(t.color.secondary),textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:"30px",marginLeft:"-30px",cursor:"pointer",position:"absolute",top:"0",left:"0",bottom:"0"}}});t.A=h;var v=r.styled.hr(function(e){return{border:"0 none",color:e.theme.appBorderColor,height:"4px",padding:"0"}});t.HR=v;var y=r.styled.dl(o.withReset,Object.assign({},a,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}));t.DL=y;var g=r.styled.blockquote(o.withReset,a,function(e){var t=e.theme;return{borderLeft:"4px solid ".concat(t.color.medium),padding:"0 15px",color:t.color.dark,"& > :first-of-type":{marginTop:"0"},"& > :last-child":{marginBottom:0}}});t.Blockquote=g;var m=r.styled.table(o.withReset,a,function(e){var t=e.theme;return{fontSize:t.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(t.appBorderColor),backgroundColor:"white",margin:"0",padding:"0"},"& tr:nth-of-type(2n)":{backgroundColor:"".concat(t.color.lighter)},"& tr th":{fontWeight:"bold",border:"1px solid ".concat(t.appBorderColor),textAlign:"left",margin:"0",padding:"6px 13px"},"& tr td":{border:"1px solid ".concat(t.appBorderColor),textAlign:"left",margin:"0",padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:"0"},"& tr th :last-child, & tr td :last-child":{marginBottom:"0"}}});t.Table=m;var b=r.styled.img({maxWidth:"100%"});t.Img=b;var w=r.styled.div(o.withReset);t.Div=w;var O=r.styled.span(o.withReset,function(e){var t=e.theme;return{"&.frame":{display:"block",overflow:"hidden"},"&.frame > span":{border:"1px solid ".concat(t.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:"7px",width:"auto"},"&.frame span img":{display:"block",float:"left"},"&.frame span span":{clear:"both",color:t.color.darkest,display:"block",padding:"5px 0 0"},"&.align-center":{display:"block",overflow:"hidden",clear:"both"},"&.align-center > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"&.align-center span img":{margin:"0 auto",textAlign:"center"},"&.align-right":{display:"block",overflow:"hidden",clear:"both"},"&.align-right > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"&.align-right span img":{margin:"0",textAlign:"right"},"&.float-left":{display:"block",marginRight:"13px",overflow:"hidden",float:"left"},"&.float-left span":{margin:"13px 0 0"},"&.float-right":{display:"block",marginLeft:"13px",overflow:"hidden",float:"right"},"&.float-right > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}});t.Span=O;var x={paddingLeft:"30px","& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},S=r.styled.li(o.withReset,function(e){var t=e.theme;return{fontSize:t.typography.size.s2,color:t.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":j({theme:t})}});t.LI=S;var E=r.styled.ul(o.withReset,a,x,{});t.UL=E;var k=r.styled.ol(o.withReset,a,x);t.OL=k;var j=function(e){var t=e.theme;return{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:"1px solid ".concat(t.color.mediumlight),backgroundColor:t.color.lighter,borderRadius:"3px",fontSize:t.typography.size.s2-1,color:"dark"===t.base&&t.color.darkest}},_=r.styled.p(o.withReset,a,function(e){var t=e.theme;return{fontSize:t.typography.size.s2,lineHeight:"24px",color:t.color.defaultText,"& code":j({theme:t})}});t.P=_;var T=r.styled.code(function(e){return{fontFamily:e.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}},j);t.Code=T;var P=r.styled.title(j);t.TT=P;var C=r.styled.div(o.withReset);t.ResetWrapper=C},"YZE+":function(e,t,n){"use strict";var r=Object,o=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},Ya2h:function(e,t,n){var r=n("cww3"),o="["+n("+/eK")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},YjNL:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},YpBQ:function(e,t,n){var r=n("y/9h"),o=n("oCTG");e.exports=function e(t,n,i,a,u){var l=-1,c=t.length;for(i||(i=o),u||(u=[]);++l0&&i(s)?n>1?e(s,n-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},Ypsa:function(e,t,n){var r=n("a88S"),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},Ysgh:function(e,t,n){"use strict";var r=n("lbJE"),o=n("jl0/"),i=n("FXyv"),a=n("cww3"),u=n("Qzre"),l=n("4/YM"),c=n("tJVe"),s=n("34wW"),f=n("QsUS"),p=n("ct80"),d=[].push,h=Math.min,v=!p(function(){return!RegExp(4294967295,"y")});r("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,l,c,s=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(u=f.call(v,r))&&!((l=v.lastIndex)>h&&(s.push(r.slice(h,u.index)),u.length>1&&u.index=i));)v.lastIndex===u.index&&v.lastIndex++;return h===r.length?!c&&v.test("")||s.push(""):s.push(r.slice(h)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),d=u(f,RegExp),y=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",g),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===s(m,p)?[p]:[];for(var w=0,O=0,x=[];Oe.length)return;if(!(O instanceof o)){if(v&&b!=t.length-1){if(p.lastIndex=w,!(_=p.exec(e)))break;for(var x=_.index+(h?_[1].length:0),S=_.index+_[0].length,E=b,k=w,j=t.length;E=(k+=t[E].length)&&(++b,w=k);if(t[b]instanceof o)continue;T=E-b,O=e.slice(w,k),_.index-=w}else{p.lastIndex=0;var _=p.exec(O),T=1}if(_){h&&(y=_[1]?_[1].length:0);S=(x=_.index+y)+(_=_[0].slice(y)).length;var P=O.slice(0,x),C=O.slice(S),M=[b,T];P&&(++b,w+=P.length,M.push(P));var A=new o(c,d?r.tokenize(_,d):_,g,_,v);if(M.push(A),C&&M.push(C),Array.prototype.splice.apply(t,M),1!=T&&r.matchGrammar(e,t,n,b,w,!0,c),u)break}else if(u)break}}}}},tokenize:function(e,t){var n=[e],o=t.rest;if(o){for(var i in o)t[i]=o[i];delete t.rest}return r.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}},Token:o};function o(e,t,n,r,o){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!o}if(e.Prism=r,o.stringify=function(e,t,n){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(n){return o.stringify(n,t,e)}).join("");var i={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var a=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,a)}r.hooks.run("wrap",i);var u=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(u?" "+u:"")+">"+i.content+""},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),o=n.language,i=n.code,a=n.immediateClose;e.postMessage(r.highlight(i,r.languages[o],o)),a&&e.close()},!1),r):r;var i=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return i&&(r.filename=i.src,r.manual||i.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),void 0!==t&&(t.Prism=n)}).call(this,n("fRV1"))},Z9Ia:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("JFEB"),i=n("cmfU"),a=n("20Fm"),u=new r.default(Object(i.default)({separator:",",conjunction:"or"}),o.default,a.default);t.default=u},ZUdG:function(e,t,n){"use strict";var r,o=n("9JhN"),i=n("sgPY"),a=n("4CM2"),u=n("iu90"),l=n("tTPa"),c=n("dSaG"),s=n("zc29").enforce,f=n("cpcO"),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=u("WeakMap",h,l,!0,!0);if(f&&p){r=l.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var y=v.prototype,g=y.delete,m=y.has,b=y.get,w=y.set;i(y,{delete:function(e){if(c(e)&&!d(e)){var t=s(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(c(e)&&!d(e)){var t=s(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(c(e)&&!d(e)){var t=s(this);return t.frozen||(t.frozen=new r),m.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!d(e)){var n=s(this);n.frozen||(n.frozen=new r),m.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},ZVkB:function(e,t,n){var r=n("ax0f"),o=n("YAkj").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"ZZ+W":function(e,t,n){var r=n("JBn+"),o=n("myUI"),i=n("S0iI"),a=1,u=2;e.exports=function(e,t,n,l,c,s){var f=n&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=s.get(e);if(h&&s.get(t))return h==t;var v=-1,y=!0,g=n&u?new r:void 0;for(s.set(e,t),s.set(t,e);++v0?t:null};t.eventToShortcut=a;var u=function(e,t){return e&&e.length===t.length&&!e.find(function(e,n){return e!==t[n]})};t.shortcutMatchesShortcut=u;t.eventMatchesShortcut=function(e,t){return u(a(e),t)};var l=function(e){return"alt"===e?i():"control"===e?"⌃":"meta"===e?"⌘":"shift"===e?"⇧​":"Enter"===e||"Backspace"===e||"Esc"===e?"":"escape"===e?"":" "===e?"SPACE":"ArrowUp"===e?"↑":"ArrowDown"===e?"↓":"ArrowLeft"===e?"←":"ArrowRight"===e?"→":e.toUpperCase()};t.keyToSymbol=l;t.shortcutToHumanString=function(e){return e.map(l).join(" ")}},ZdBB:function(e,t,n){var r=n("yRya"),o=n("sX5C").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},ZjRn:function(e,t,n){var r=n("HsnV"),o=n("NYSw"),i=1,a=2;e.exports=function(e,t,n,u){var l=n.length,c=l,s=!u;if(null==e)return!c;for(e=Object(e);l--;){var f=n[l];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++l2?h(e).search(t):l(e).filter(v(t))).reduce(function(t,n){return f(n.id,e).forEach(function(e){t[e.id]=e}),t[n.id]=n,t},{});return Object.entries(n).reduce(function(e,t){var r=a(t,2),o=r[0],i=r[1];return e[o]=i.children?Object.assign({},i,{children:i.children.filter(function(e){return!!n[e]})}):i,e},{})}},aWzz:function(e,t,n){e.exports=n("emlf")()},aYSr:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},adtJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={Badge:!0,Link:!0,DocumentWrapper:!0,SyntaxHighlighter:!0,ActionBar:!0,Spaced:!0,Placeholder:!0,ScrollArea:!0,Button:!0,Form:!0,WithTooltip:!0,WithTooltipPure:!0,TooltipMessage:!0,TooltipNote:!0,TooltipLinkList:!0,Tabs:!0,TabsState:!0,TabBar:!0,TabWrapper:!0,IconButton:!0,TabButton:!0,Separator:!0,interleaveSeparators:!0,Bar:!0,FlexBar:!0,AddonPanel:!0,Icons:!0,StorybookLogo:!0,StorybookIcon:!0};Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return o.Badge}}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return i.Link}}),Object.defineProperty(t,"DocumentWrapper",{enumerable:!0,get:function(){return a.DocumentWrapper}}),Object.defineProperty(t,"SyntaxHighlighter",{enumerable:!0,get:function(){return u.SyntaxHighlighter}}),Object.defineProperty(t,"ActionBar",{enumerable:!0,get:function(){return l.ActionBar}}),Object.defineProperty(t,"Spaced",{enumerable:!0,get:function(){return c.Spaced}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return s.Placeholder}}),Object.defineProperty(t,"ScrollArea",{enumerable:!0,get:function(){return f.ScrollArea}}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return p.Button}}),Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return d.Form}}),Object.defineProperty(t,"WithTooltip",{enumerable:!0,get:function(){return h.WithTooltip}}),Object.defineProperty(t,"WithTooltipPure",{enumerable:!0,get:function(){return h.WithTooltipPure}}),Object.defineProperty(t,"TooltipMessage",{enumerable:!0,get:function(){return v.TooltipMessage}}),Object.defineProperty(t,"TooltipNote",{enumerable:!0,get:function(){return y.TooltipNote}}),Object.defineProperty(t,"TooltipLinkList",{enumerable:!0,get:function(){return g.TooltipLinkList}}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return m.Tabs}}),Object.defineProperty(t,"TabsState",{enumerable:!0,get:function(){return m.TabsState}}),Object.defineProperty(t,"TabBar",{enumerable:!0,get:function(){return m.TabBar}}),Object.defineProperty(t,"TabWrapper",{enumerable:!0,get:function(){return m.TabWrapper}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return b.IconButton}}),Object.defineProperty(t,"TabButton",{enumerable:!0,get:function(){return b.TabButton}}),Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return w.Separator}}),Object.defineProperty(t,"interleaveSeparators",{enumerable:!0,get:function(){return w.interleaveSeparators}}),Object.defineProperty(t,"Bar",{enumerable:!0,get:function(){return O.Bar}}),Object.defineProperty(t,"FlexBar",{enumerable:!0,get:function(){return O.FlexBar}}),Object.defineProperty(t,"AddonPanel",{enumerable:!0,get:function(){return x.AddonPanel}}),Object.defineProperty(t,"Icons",{enumerable:!0,get:function(){return S.Icons}}),Object.defineProperty(t,"StorybookLogo",{enumerable:!0,get:function(){return E.StorybookLogo}}),Object.defineProperty(t,"StorybookIcon",{enumerable:!0,get:function(){return k.StorybookIcon}});var o=n("EVYH"),i=n("8CTL"),a=n("C10U"),u=n("xZwB"),l=n("zH0j"),c=n("Q4h4"),s=n("Wbby"),f=n("LaR9"),p=n("zeGY"),d=n("Hkn6"),h=n("90BI"),v=n("R4Rj"),y=n("bN2g"),g=n("ODNi"),m=n("phTK"),b=n("EjnA"),w=n("W2GR"),O=n("0bDP"),x=n("ARk+"),S=n("jveF"),E=n("1mwc"),k=n("8TZ8"),j=n("3wLT");Object.keys(j).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}}))})},amH4:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},amiU:function(e,t,n){var r=n("wC3K"),o=n("pPzx");e.exports=function(e,t,n){(void 0===n||o(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},"aoZ+":function(e,t,n){var r=n("dSaG"),o=n("xt6W"),i=n("fVMg")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},aokA:function(e,t,n){var r=n("PjZX"),o=n("8aeu"),i=n("RlvI"),a=n("q9+l").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},avNT:function(e,t,n){var r=n("n9AK"),o=n("cpF+");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},ax0f:function(e,t,n){var r=n("9JhN"),o=n("GFpt").f,i=n("0HP5"),a=n("uLp7"),u=n("PjRa"),l=n("tjTa"),c=n("66wQ");e.exports=function(e,t){var n,s,f,p,d,h=e.target,v=e.global,y=e.stat;if(n=v?r:y?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(p=t[s],f=e.noTargetGet?(d=o(n,s))&&d.value:n[s],!c(v?s:h+(y?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,s,p,e)}}},ay19:function(e,t,n){"use strict";var r,o=59;e.exports=function(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,(t=r.textContent).charCodeAt(t.length-1)===o&&"semi"!==e)return!1;return t!==n&&t}},b2e3:function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,u,l,c=r(t),s=r(n);if(c&&s){if((u=t.length)!=n.length)return!1;for(a=u;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(c!=s)return!1;var f=t instanceof Date,p=n instanceof Date;if(f!=p)return!1;if(f&&p)return t.getTime()==n.getTime();var d=t instanceof RegExp,h=n instanceof RegExp;if(d!=h)return!1;if(d&&h)return t.toString()==n.toString();var v=o(t);if((u=v.length)!==o(n).length)return!1;for(a=u;0!=a--;)if(!i.call(n,v[a]))return!1;for(a=u;0!=a--;)if(!e(t[l=v[a]],n[l]))return!1;return!0}return t!=t&&n!=n}},b3KB:function(e,t,n){"use strict";function r(e,t,n,r){var o,i=!1,a=0;function u(){o&&clearTimeout(o)}function l(){var l=this,c=Date.now()-a,s=arguments;function f(){a=Date.now(),n.apply(l,s)}i||(r&&!o&&f(),u(),void 0===r&&c>e?f():!0!==t&&(o=setTimeout(r?function(){o=void 0}:f,void 0===r?e-c:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){u(),i=!0},l}function o(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}n.r(t),n.d(t,"throttle",function(){return r}),n.d(t,"debounce",function(){return o})},bHKz:function(e,t,n){},bN2g:function(e,t,n){"use strict";n("M+/F"),n("EgRP"),n("yH/f"),n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipNote=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r};function i(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n padding: 2px 6px;\n line-height: 16px;\n font-size: 10px;\n font-weight: ",";\n color: ",";\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n white-space: nowrap;\n pointer-events: none;\n z-index: -1;\n background: rgba(0, 0, 0, 0.4);\n margin: 6px;\n"]);return i=function(){return e},e}var a=n("VSTh").styled.div(i(),function(e){return e.theme.typography.weight.bold},function(e){return e.theme.color.lightest}),u=function(e){var t=e.note;return o.default.createElement(a,null,t)};t.TooltipNote=u,u.displayName="TooltipNote"},bRp0:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n("aEOh")),i=n("ERkP"),a=r(i),u=r(n("aWzz")),l=r(n("7nmT")),c=r(n("I9iR")),s=n("b3KB"),f=r(n("Pu0A")),p={};var d=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},h=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},m=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},b="react-sizeme: an error occurred whilst stopping to listen to node size changes",w={monitorWidth:!0,monitorHeight:!1,monitorPosition:!1,refreshRate:16,refreshMode:"throttle",noPlaceholder:!1,resizeDetectorStrategy:"scroll"};function O(e){return e.displayName||e.name||"Component"}var x=function(e){function t(){return d(this,t),m(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y(t,e),h(t,[{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);function S(e){var t=e.className,n=e.style,r={};return t||n?(t&&(r.className=t),n&&(r.style=n)):r.style={width:"100%",height:"100%"},a.createElement("div",r)}x.displayName="SizeMeReferenceWrapper",x.propTypes={children:u.element.isRequired},S.displayName="SizeMePlaceholder",S.propTypes={className:u.string,style:u.object};var E=function(e){function t(t){var n=t.explicitRef,r=t.className,o=t.style,i=t.size,u=t.disablePlaceholder,l=(t.onSize,g(t,["explicitRef","className","style","size","disablePlaceholder","onSize"])),c=(null==i||null==i.width&&null==i.height&&null==i.position)&&!u,s={className:r,style:o};null!=i&&(s.size=i);var f=c?a.createElement(S,{className:r,style:o}):a.createElement(e,v({},s,l));return a.createElement(x,{ref:n},f)}return t.displayName="SizeMeRenderer("+O(e)+")",t.propTypes={explicitRef:u.func.isRequired,className:u.string,style:u.object,size:u.shape({width:u.number,height:u.number}),disablePlaceholder:u.bool,onSize:u.func},t};function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=e.monitorWidth,n=void 0===t?w.monitorWidth:t,r=e.monitorHeight,i=void 0===r?w.monitorHeight:r,f=e.monitorPosition,g=void 0===f?w.monitorPosition:f,x=e.refreshRate,S=void 0===x?w.refreshRate:x,j=e.refreshMode,_=void 0===j?w.refreshMode:j,T=e.noPlaceholder,P=void 0===T?w.noPlaceholder:T,C=e.resizeDetectorStrategy,M=void 0===C?w.resizeDetectorStrategy:C;c(n||i||g,'You have to monitor at least one of the width, height, or position when using "sizeMe"'),c(S>=16,"It is highly recommended that you don't put your refreshRate lower than 16 as this may cause layout thrashing."),c("throttle"===_||"debounce"===_,'The refreshMode should have a value of "throttle" or "debounce"');var A="throttle"===_?s.throttle:s.debounce;return function(e){var t=E(e),r=function(e){function r(){var e,t,o;d(this,r);for(var a=arguments.length,u=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:"scroll";return p[e]||(p[e]=o({strategy:e})),p[e]}(M),this.determineStrategy(this.props),this.handleDOMNode()}},{key:"componentDidUpdate",value:function(){this.determineStrategy(this.props),this.handleDOMNode()}},{key:"componentWillUnmount",value:function(){this.hasSizeChanged=function(){},this.checkIfSizeChanged=function(){},this.uninstall()}},{key:"handleDOMNode",value:function(){var e=this.element&&l.findDOMNode(this.element);e?this.domEl?this.domEl.isSameNode(e)||(this.uninstall(),this.domEl=e,this.detector.listenTo(this.domEl,this.checkIfSizeChanged)):(this.domEl=e,this.detector.listenTo(this.domEl,this.checkIfSizeChanged)):this.uninstall()}},{key:"render",value:function(){var e=k.enableSSRBehaviour||k.noPlaceholders||P||"callback"===this.strategy,n=v({},this.state);return a.createElement(t,v({explicitRef:this.refCallback,size:"callback"===this.strategy?null:n,disablePlaceholder:e},this.props))}}]),r}(a.Component);return r.displayName="SizeMe("+O(e)+")",r.propTypes={onSize:u.func},r.WrappedComponent=e,r}}k.enableSSRBehaviour=!1,k.noPlaceholders=!1;var j=function(e){function t(e){d(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));_.call(n);e.children,e.render;var r=g(e,["children","render"]);return n.createComponent(r),n.state={size:{width:void 0,height:void 0}},n}return y(t,e),h(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=(t.children,t.render,g(t,["children","render"])),r=(e.children,e.render,g(e,["children","render"]));f(n,r)||this.createComponent(n)}},{key:"render",value:function(){var e=this.SizeAware,t=this.props.children||this.props.render;return a.createElement(e,{onSize:this.onSize},t({size:this.state.size}))}}]),t}(i.Component);j.propTypes={children:u.func,render:u.func},j.defaultProps={children:void 0,render:void 0};var _=function(){var e=this;this.createComponent=function(t){e.SizeAware=k(t)(function(e){return e.children})},this.onSize=function(t){return e.setState({size:t})}};k.SizeMe=j,k.withSize=k,e.exports=k},bbru:function(e,t,n){"use strict";e.exports=n("PXWx")},bfYW:function(e,t,n){"use strict";n.r(t);var r=n("fpsX");n.d(t,"default",function(){return r.default})},bjNx:function(e,t,n){"use strict";var r=n("cP4u"),o=n("zT+L");e.exports=function(){var e=r();return o(String.prototype,{padEnd:e},{padEnd:function(){return String.prototype.padEnd!==e}}),e}},bsDQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Story=t.StoryError=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("c9Df"),a=n("cTTC"),u=n("D2QX");var l;t.StoryError=l,function(e){e.NO_STORY="No component or story to display"}(l||(t.StoryError=l={}));var c=function(e){var t=e.scale,n=e.children;return 1===t?o.default.createElement(o.default.Fragment,null,n):o.default.createElement("div",{style:{overflow:"hidden"}},o.default.createElement("div",{style:{transform:"scale(".concat(1/t,")"),transformOrigin:"top left"}},n))},s=function(e){var t=e.storyFn,n=e.height,r=e.id;return o.default.createElement("div",{style:{height:n}},o.default.createElement(u.ZoomContext.Consumer,null,function(e){var n=e.scale;return o.default.createElement(c,{scale:n},t?o.default.createElement(t):o.default.createElement(a.EmptyBlock,null,function(e){return e?'Story "'.concat(e,"\" doesn't exist."):l.NO_STORY}(r)))}))};s.displayName="InlineStory";var f=function(e){var t=e.id,n=e.title,r=e.height,a=void 0===r?"500px":r;return o.default.createElement("div",{style:{width:"100%",height:a}},o.default.createElement(u.ZoomContext.Consumer,null,function(e){var r=e.scale;return o.default.createElement(i.IFrame,{key:"iframe",id:"iframe--".concat(t),title:n,src:"".concat("iframe.html","?id=").concat(t,"&viewMode=story"),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}})}))};f.displayName="IFrameStory";t.Story=function(e){var t=e.error,n=e.storyFn,r=e.id,i=e.inline,u=e.title,l=e.height;return t?o.default.createElement(a.EmptyBlock,null,t):i?o.default.createElement(s,{id:r,storyFn:n,title:u,height:l}):o.default.createElement(f,{id:r,title:u,height:l})}},bv1p:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("IAdD"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.convert=void 0;var r,o=n("7Zgl"),i=n("9anY"),a=n("rqFa"),u=n("mu+t"),l=(r=n("Dv/8"))&&r.__esModule?r:{default:r};function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},f={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},p=function(e){return{primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:i.color.tertiary,ancillary:i.color.ancillary,orange:i.color.orange,gold:i.color.gold,green:i.color.green,seafoam:i.color.seafoam,purple:i.color.purple,ultraviolet:i.color.ultraviolet,lightest:i.color.lightest,lighter:i.color.lighter,light:i.color.light,mediumlight:i.color.mediumlight,medium:i.color.medium,mediumdark:i.color.mediumdark,dark:i.color.dark,darker:i.color.darker,darkest:i.color.darkest,border:i.color.border,positive:i.color.positive,negative:i.color.negative,warning:i.color.warning,critical:i.color.critical,defaultText:e.textColor||i.color.darkest,inverseText:e.textInverseColor||i.color.lightest}};t.convert=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default,t=e.base,n=(e.colorPrimary,e.colorSecondary),r=e.appBg,d=e.appContentBg,h=e.appBorderColor,v=e.appBorderRadius,y=e.fontBase,g=e.fontCode,m=e.textColor,b=(e.textInverseColor,e.barTextColor),w=e.barSelectedColor,O=e.barBg,x=e.inputBg,S=e.inputBorder,E=e.inputTextColor,k=e.inputBorderRadius,j=e.brandTitle,_=e.brandUrl,T=e.brandImage,P=e.gridCellSize,C=c(e,["base","colorPrimary","colorSecondary","appBg","appContentBg","appBorderColor","appBorderRadius","fontBase","fontCode","textColor","textInverseColor","barTextColor","barSelectedColor","barBg","inputBg","inputBorder","inputTextColor","inputBorderRadius","brandTitle","brandUrl","brandImage","gridCellSize"]);return Object.assign({},C||{},{base:t,color:p(e),background:{app:r,bar:O,content:d,gridCellSize:P||i.background.gridCellSize,hoverable:"light"===t?"rgba(0,0,0,.05)":"rgba(250,250,252,.1)",positive:i.background.positive,negative:i.background.negative,warning:i.background.warning,critical:i.background.critical},typography:{fonts:{base:y,mono:g},weight:i.typography.weight,size:i.typography.size},animation:a.animation,easing:a.easing,input:{border:S,background:x,color:E,borderRadius:k},layoutMargin:10,appBorderColor:h,appBorderRadius:v,barTextColor:b,barSelectedColor:w||n,barBg:O,brand:{title:j,url:_,image:T||(j?null:void 0)},code:(0,u.create)({colors:"light"===t?s:f,mono:g}),addonActionsTheme:Object.assign({},"light"===t?u.chromeLight:u.chromeDark,{BASE_FONT_FAMILY:g,BASE_FONT_SIZE:i.typography.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:(0,o.opacify)(.2,h),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:g,TREENODE_FONT_SIZE:i.typography.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12})})}},bvyN:function(e,t,n){var r=n("/30y"),o=n("tLQN"),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=l},bwzU:function(e,t,n){"use strict";n("1t7P"),n("vrRf"),n("IAdD"),n("+KXO"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("ERkP")),o=n("VSTh"),i=n("adtJ"),a=l(n("NDUE")),u=l(n("jtfq"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=(0,o.styled)(a.default)({padding:"20px 20px 12px"}),p=(0,o.styled)(function(e){var t=e.className,n=s(e,["className"]);return r.default.createElement(u.default,c({className:t},n))})(function(e){return e.loading?{marginTop:8}:{}}),d=o.styled.nav({position:"absolute",zIndex:1,left:0,top:0,bottom:0,right:0,width:"100%",height:"100%"}),h=(0,o.styled)(i.ScrollArea)({".simplebar-track.simplebar-vertical":{right:"4px"}}),v=function(e){var t=e.storyId,n=e.stories,o=e.menu,i=e.menuHighlighted,a=void 0!==i&&i,u=e.loading,l=void 0!==u&&u;return r.default.createElement(d,{className:"container sidebar-container"},r.default.createElement(h,{vertical:!0},r.default.createElement(f,{className:"sidebar-header",menuHighlighted:a,menu:o}),r.default.createElement(p,{stories:n,storyId:t,loading:l})))};v.displayName="Sidebar";var y=v;t.default=y},bzxO:function(e,t,n){(function(r,o){var i,a;void 0===(a="function"==typeof(i=function(){"use strict";var e,t=Function.call.bind(Function.apply),n=Function.call.bind(Function.call),i=Array.isArray,a=Object.keys,u=function(e){return function(){return!t(e,this,arguments)}},l=function(e){try{return e(),!1}catch(e){return!0}},c=function(e){try{return e()}catch(e){return!1}},s=u(l),f=function(){return!l(function(){return Object.defineProperty({},"x",{get:function(){}})})},p=!!Object.defineProperty&&f(),d="foo"===function(){}.name,h=Function.call.bind(Array.prototype.forEach),v=Function.call.bind(Array.prototype.reduce),y=Function.call.bind(Array.prototype.filter),g=Function.call.bind(Array.prototype.some),m=function(e,t,n,r){!r&&t in e||(p?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n}):e[t]=n)},b=function(e,t,n){h(a(t),function(r){var o=t[r];m(e,r,o,!!n)})},w=Function.call.bind(Object.prototype.toString),O=function(e){return"function"==typeof e},x={getter:function(e,t,n){if(!p)throw new TypeError("getters require true ES5 support");Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:n})},proxy:function(e,t,n){if(!p)throw new TypeError("getters require true ES5 support");var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,{configurable:r.configurable,enumerable:r.enumerable,get:function(){return e[t]},set:function(n){e[t]=n}})},redefine:function(e,t,n){if(p){var r=Object.getOwnPropertyDescriptor(e,t);r.value=n,Object.defineProperty(e,t,r)}else e[t]=n},defineByDescriptor:function(e,t,n){p?Object.defineProperty(e,t,n):"value"in n&&(e[t]=n.value)},preserveToString:function(e,t){t&&O(t.toString)&&m(e,"toString",t.toString.bind(t),!0)}},S=Object.create||function(e,t){var n=function(){};n.prototype=e;var r=new n;return void 0!==t&&a(t).forEach(function(e){x.defineByDescriptor(r,e,t[e])}),r},E=function(e,t){return!!Object.setPrototypeOf&&c(function(){var n=function t(n){var r=new e(n);return Object.setPrototypeOf(r,t.prototype),r};return Object.setPrototypeOf(n,e),n.prototype=S(e.prototype,{constructor:{value:n}}),t(n)})},k=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r)return r;throw new Error("unable to locate global object")},j=k(),_=j.isFinite,T=Function.call.bind(String.prototype.indexOf),P=Function.apply.bind(Array.prototype.indexOf),C=Function.call.bind(Array.prototype.concat),M=Function.call.bind(String.prototype.slice),A=Function.call.bind(Array.prototype.push),I=Function.apply.bind(Array.prototype.push),R=Function.call.bind(Array.prototype.shift),z=Math.max,N=Math.min,D=Math.floor,L=Math.abs,F=Math.exp,B=Math.log,H=Math.sqrt,U=Function.call.bind(Object.prototype.hasOwnProperty),W=function(){},K=j.Map,V=K&&K.prototype.delete,q=K&&K.prototype.get,Y=K&&K.prototype.has,G=K&&K.prototype.set,$=j.Symbol||{},X=$.species||"@@species",Z=Number.isNaN||function(e){return e!=e},J=Number.isFinite||function(e){return"number"==typeof e&&_(e)},Q=O(Math.sign)?Math.sign:function(e){var t=Number(e);return 0===t?t:Z(t)?t:t<0?-1:1},ee=function(e){var t=Number(e);return t<-1||Z(t)?NaN:0===t||t===1/0?t:-1===t?-1/0:1+t-1==0?t:t*(B(1+t)/(1+t-1))},te=function(e){return"[object Arguments]"===w(e)},ne=function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==w(e)&&"[object Function]"===w(e.callee)},re=te(arguments)?te:ne,oe={primitive:function(e){return null===e||"function"!=typeof e&&"object"!=typeof e},string:function(e){return"[object String]"===w(e)},regex:function(e){return"[object RegExp]"===w(e)},symbol:function(e){return"function"==typeof j.Symbol&&"symbol"==typeof e}},ie=function(e,t,n){var r=e[t];m(e,t,n,!0),x.preserveToString(e[t],r)},ae="function"==typeof $&&"function"==typeof $.for&&oe.symbol($()),ue=oe.symbol($.iterator)?$.iterator:"_es6-shim iterator_";j.Set&&"function"==typeof(new j.Set)["@@iterator"]&&(ue="@@iterator"),j.Reflect||m(j,"Reflect",{},!0);var le,ce=j.Reflect,se=String,fe="undefined"!=typeof document&&document?document.all:null,pe=null==fe?function(e){return null==e}:function(e){return null==e&&e!==fe},de={Call:function(e,n){var r=arguments.length>2?arguments[2]:[];if(!de.IsCallable(e))throw new TypeError(e+" is not a function");return t(e,n,r)},RequireObjectCoercible:function(e,t){if(pe(e))throw new TypeError(t||"Cannot call method on "+e);return e},TypeIsObject:function(e){return null!=e&&!0!==e&&!1!==e&&("function"==typeof e||"object"==typeof e||e===fe)},ToObject:function(e,t){return Object(de.RequireObjectCoercible(e,t))},IsCallable:O,IsConstructor:function(e){return de.IsCallable(e)},ToInt32:function(e){return de.ToNumber(e)>>0},ToUint32:function(e){return de.ToNumber(e)>>>0},ToNumber:function(e){if("[object Symbol]"===w(e))throw new TypeError("Cannot convert a Symbol value to a number");return+e},ToInteger:function(e){var t=de.ToNumber(e);return Z(t)?0:0!==t&&J(t)?(t>0?1:-1)*D(L(t)):t},ToLength:function(e){var t=de.ToInteger(e);return t<=0?0:t>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t},SameValue:function(e,t){return e===t?0!==e||1/e==1/t:Z(e)&&Z(t)},SameValueZero:function(e,t){return e===t||Z(e)&&Z(t)},IsIterable:function(e){return de.TypeIsObject(e)&&(void 0!==e[ue]||re(e))},GetIterator:function(t){if(re(t))return new e(t,"value");var n=de.GetMethod(t,ue);if(!de.IsCallable(n))throw new TypeError("value is not an iterable");var r=de.Call(n,t);if(!de.TypeIsObject(r))throw new TypeError("bad iterator");return r},GetMethod:function(e,t){var n=de.ToObject(e)[t];if(!pe(n)){if(!de.IsCallable(n))throw new TypeError("Method not callable: "+t);return n}},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var n=de.GetMethod(e,"return");if(void 0!==n){var r,o;try{r=de.Call(n,e)}catch(e){o=e}if(!t){if(o)throw o;if(!de.TypeIsObject(r))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!de.TypeIsObject(t))throw new TypeError("bad iterator");return t},IteratorStep:function(e){var t=de.IteratorNext(e),n=de.IteratorComplete(t);return!n&&t},Construct:function(e,t,n,r){var o=void 0===n?e:n;if(!r&&ce.construct)return ce.construct(e,t,o);var i=o.prototype;de.TypeIsObject(i)||(i=Object.prototype);var a=S(i),u=de.Call(e,a,t);return de.TypeIsObject(u)?u:a},SpeciesConstructor:function(e,t){var n=e.constructor;if(void 0===n)return t;if(!de.TypeIsObject(n))throw new TypeError("Bad constructor");var r=n[X];if(pe(r))return t;if(!de.IsConstructor(r))throw new TypeError("Bad @@species");return r},CreateHTML:function(e,t,n,r){var o=de.ToString(e),i="<"+t;if(""!==n){var a=de.ToString(r),u=a.replace(/"/g,""");i+=" "+n+'="'+u+'"'}var l=i+">",c=l+o;return c+""},IsRegExp:function(e){if(!de.TypeIsObject(e))return!1;var t=e[$.match];return void 0!==t?!!t:oe.regex(e)},ToString:function(e){return se(e)}};if(p&&ae){var he=function(e){if(oe.symbol($[e]))return $[e];var t=$.for("Symbol."+e);return Object.defineProperty($,e,{configurable:!1,enumerable:!1,writable:!1,value:t}),t};if(!oe.symbol($.search)){var ve=he("search"),ye=String.prototype.search;m(RegExp.prototype,ve,function(e){return de.Call(ye,e,[this])});var ge=function(e){var t=de.RequireObjectCoercible(this);if(!pe(e)){var n=de.GetMethod(e,ve);if(void 0!==n)return de.Call(n,e,[t])}return de.Call(ye,t,[de.ToString(e)])};ie(String.prototype,"search",ge)}if(!oe.symbol($.replace)){var me=he("replace"),be=String.prototype.replace;m(RegExp.prototype,me,function(e,t){return de.Call(be,e,[this,t])});var we=function(e,t){var n=de.RequireObjectCoercible(this);if(!pe(e)){var r=de.GetMethod(e,me);if(void 0!==r)return de.Call(r,e,[n,t])}return de.Call(be,n,[de.ToString(e),t])};ie(String.prototype,"replace",we)}if(!oe.symbol($.split)){var Oe=he("split"),xe=String.prototype.split;m(RegExp.prototype,Oe,function(e,t){return de.Call(xe,e,[this,t])});var Se=function(e,t){var n=de.RequireObjectCoercible(this);if(!pe(e)){var r=de.GetMethod(e,Oe);if(void 0!==r)return de.Call(r,e,[n,t])}return de.Call(xe,n,[de.ToString(e),t])};ie(String.prototype,"split",Se)}var Ee=oe.symbol($.match),ke=Ee&&((le={})[$.match]=function(){return 42},42!=="a".match(le));if(!Ee||ke){var je=he("match"),_e=String.prototype.match;m(RegExp.prototype,je,function(e){return de.Call(_e,e,[this])});var Te=function(e){var t=de.RequireObjectCoercible(this);if(!pe(e)){var n=de.GetMethod(e,je);if(void 0!==n)return de.Call(n,e,[t])}return de.Call(_e,t,[de.ToString(e)])};ie(String.prototype,"match",Te)}}var Pe=function(e,t,n){x.preserveToString(t,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,t),p?h(Object.getOwnPropertyNames(e),function(r){r in W||n[r]||x.proxy(e,r,t)}):h(Object.keys(e),function(r){r in W||n[r]||(t[r]=e[r])}),t.prototype=e.prototype,x.redefine(e.prototype,"constructor",t)},Ce=function(){return this},Me=function(e){p&&!U(e,X)&&x.getter(e,X,Ce)},Ae=function(e,t){var n=t||function(){return this};m(e,ue,n),!e[ue]&&oe.symbol(ue)&&(e[ue]=n)},Ie=function(e,t,n){p?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n},Re=function(e,t,n){if(Ie(e,t,n),!de.SameValue(e[t],n))throw new TypeError("property is nonconfigurable")},ze=function(e,t,n,r){if(!de.TypeIsObject(e))throw new TypeError("Constructor requires `new`: "+t.name);var o=t.prototype;de.TypeIsObject(o)||(o=n);var i=S(o);for(var a in r)if(U(r,a)){var u=r[a];m(i,a,u,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var Ne=String.fromCodePoint;ie(String,"fromCodePoint",function(e){return de.Call(Ne,this,arguments)})}var De={fromCodePoint:function(e){for(var t,n=[],r=0,o=arguments.length;r1114111)throw new RangeError("Invalid code point "+t);t<65536?A(n,String.fromCharCode(t)):(t-=65536,A(n,String.fromCharCode(55296+(t>>10))),A(n,String.fromCharCode(t%1024+56320)))}return n.join("")},raw:function(e){var t=de.ToObject(e,"bad callSite"),n=de.ToObject(t.raw,"bad raw value"),r=n.length,o=de.ToLength(r);if(o<=0)return"";for(var i,a,u,l,c=[],s=0;s=o));)a=s+1=Fe)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Le(t,n)},startsWith:function(e){var t=de.ToString(de.RequireObjectCoercible(this));if(de.IsRegExp(e))throw new TypeError('Cannot call method "startsWith" with a regex');var n,r=de.ToString(e);arguments.length>1&&(n=arguments[1]);var o=z(de.ToInteger(n),0);return M(t,o,o+r.length)===r},endsWith:function(e){var t=de.ToString(de.RequireObjectCoercible(this));if(de.IsRegExp(e))throw new TypeError('Cannot call method "endsWith" with a regex');var n,r=de.ToString(e),o=t.length;arguments.length>1&&(n=arguments[1]);var i=void 0===n?o:de.ToInteger(n),a=N(z(i,0),o);return M(t,a-r.length,a)===r},includes:function(e){if(de.IsRegExp(e))throw new TypeError('"includes" does not accept a RegExp');var t,n=de.ToString(e);return arguments.length>1&&(t=arguments[1]),-1!==T(this,n,t)},codePointAt:function(e){var t=de.ToString(de.RequireObjectCoercible(this)),n=de.ToInteger(e),r=t.length;if(n>=0&&n56319||i)return o;var a=t.charCodeAt(n+1);return a<56320||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};if(String.prototype.includes&&!1!=="a".includes("a",1/0)&&ie(String.prototype,"includes",Be.includes),String.prototype.startsWith&&String.prototype.endsWith){var He=l(function(){return"/a/".startsWith(/a/)}),Ue=c(function(){return!1==="abc".startsWith("a",1/0)});He&&Ue||(ie(String.prototype,"startsWith",Be.startsWith),ie(String.prototype,"endsWith",Be.endsWith))}if(ae){var We=c(function(){var e=/a/;return e[$.match]=!1,"/a/".startsWith(e)});We||ie(String.prototype,"startsWith",Be.startsWith);var Ke=c(function(){var e=/a/;return e[$.match]=!1,"/a/".endsWith(e)});Ke||ie(String.prototype,"endsWith",Be.endsWith);var Ve=c(function(){var e=/a/;return e[$.match]=!1,"/a/".includes(e)});Ve||ie(String.prototype,"includes",Be.includes)}b(String.prototype,Be);var qe=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),Ye=new RegExp("(^["+qe+"]+)|(["+qe+"]+$)","g"),Ge=function(){return de.ToString(de.RequireObjectCoercible(this)).replace(Ye,"")},$e=["…","​","￾"].join(""),Xe=new RegExp("["+$e+"]","g"),Ze=/^[-+]0x[0-9a-f]+$/i,Je=$e.trim().length!==$e.length;m(String.prototype,"trim",Ge,Je);var Qe=function(e){return{value:e,done:0===arguments.length}},et=function(e){de.RequireObjectCoercible(e),this._s=de.ToString(e),this._i=0};et.prototype.next=function(){var e=this._s,t=this._i;if(void 0===e||t>=e.length)return this._s=void 0,Qe();var n,r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===e.length?r=1:(n=e.charCodeAt(t+1),r=n<56320||n>57343?1:2),this._i=t+r,Qe(e.substr(t,r))},Ae(et.prototype),Ae(String.prototype,function(){return new et(this)});var tt={from:function(e){var t,r,o,i=this;if(arguments.length>1&&(t=arguments[1]),void 0===t)r=!1;else{if(!de.IsCallable(t))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2]),r=!0}var a,u,l,c=void 0!==(re(e)||de.GetMethod(e,ue));if(c){u=de.IsConstructor(i)?Object(new i):[];var s,f,p=de.GetIterator(e);for(l=0;!1!==(s=de.IteratorStep(p));){f=s.value;try{r&&(f=void 0===o?t(f,l):n(t,o,f,l)),u[l]=f}catch(e){throw de.IteratorClose(p,!0),e}l+=1}a=l}else{var d,h=de.ToObject(e);for(a=de.ToLength(h.length),u=de.IsConstructor(i)?Object(new i(a)):new Array(a),l=0;l2&&(n=arguments[2]);var c=void 0===n?o:de.ToInteger(n),s=c<0?z(o+c,0):N(c,o),f=N(s-l,o-u),p=1;for(l0;)l in r?r[u]=r[l]:delete r[u],l+=p,u+=p,f-=1;return r},fill:function(e){var t,n;arguments.length>1&&(t=arguments[1]),arguments.length>2&&(n=arguments[2]);var r=de.ToObject(this),o=de.ToLength(r.length);t=de.ToInteger(void 0===t?0:t),n=de.ToInteger(void 0===n?o:n);for(var i=t<0?z(o+t,0):N(t,o),a=n<0?o+n:n,u=i;u1?arguments[1]:null,a=0;a1?arguments[1]:null,i=0;i1&&void 0!==arguments[1]?de.Call(ct,this,arguments):n(ct,this,e)})}var st=-(Math.pow(2,32)-1),ft=function(e,t){var r={length:st};return r[t?(r.length>>>0)-1:0]=!0,c(function(){return n(e,r,function(){throw new RangeError("should not reach here")},[]),!0})};if(!ft(Array.prototype.forEach)){var pt=Array.prototype.forEach;ie(Array.prototype,"forEach",function(e){return de.Call(pt,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.map)){var dt=Array.prototype.map;ie(Array.prototype,"map",function(e){return de.Call(dt,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.filter)){var ht=Array.prototype.filter;ie(Array.prototype,"filter",function(e){return de.Call(ht,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.some)){var vt=Array.prototype.some;ie(Array.prototype,"some",function(e){return de.Call(vt,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.every)){var yt=Array.prototype.every;ie(Array.prototype,"every",function(e){return de.Call(yt,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.reduce)){var gt=Array.prototype.reduce;ie(Array.prototype,"reduce",function(e){return de.Call(gt,this.length>=0?this:[],arguments)},!0)}if(!ft(Array.prototype.reduceRight,!0)){var mt=Array.prototype.reduceRight;ie(Array.prototype,"reduceRight",function(e){return de.Call(mt,this.length>=0?this:[],arguments)},!0)}var bt=8!==Number("0o10"),wt=2!==Number("0b10"),Ot=g($e,function(e){return 0===Number(e+0+e)});if(bt||wt||Ot){var xt=Number,St=/^0b[01]+$/i,Et=/^0o[0-7]+$/i,kt=St.test.bind(St),jt=Et.test.bind(Et),_t=function(e){var t;if("function"==typeof e.valueOf&&(t=e.valueOf(),oe.primitive(t)))return t;if("function"==typeof e.toString&&(t=e.toString(),oe.primitive(t)))return t;throw new TypeError("No default value")},Tt=Xe.test.bind(Xe),Pt=Ze.test.bind(Ze),Ct=function(){var e=function(t){var n;"string"==typeof(n=arguments.length>0?oe.primitive(t)?t:_t(t,"number"):0)&&(n=de.Call(Ge,n),kt(n)?n=parseInt(M(n,2),2):jt(n)?n=parseInt(M(n,2),8):(Tt(n)||Pt(n))&&(n=NaN));var r=this,o=c(function(){return xt.prototype.valueOf.call(r),!0});return r instanceof e&&!o?new xt(n):xt(n)};return e}();Pe(xt,Ct,{}),b(Ct,{NaN:xt.NaN,MAX_VALUE:xt.MAX_VALUE,MIN_VALUE:xt.MIN_VALUE,NEGATIVE_INFINITY:xt.NEGATIVE_INFINITY,POSITIVE_INFINITY:xt.POSITIVE_INFINITY}),Number=Ct,x.redefine(j,"Number",Ct)}var Mt=Math.pow(2,53)-1;b(Number,{MAX_SAFE_INTEGER:Mt,MIN_SAFE_INTEGER:-Mt,EPSILON:2220446049250313e-31,parseInt:j.parseInt,parseFloat:j.parseFloat,isFinite:J,isInteger:function(e){return J(e)&&de.ToInteger(e)===e},isSafeInteger:function(e){return Number.isInteger(e)&&L(e)<=Number.MAX_SAFE_INTEGER},isNaN:Z}),m(Number,"parseInt",j.parseInt,Number.parseInt!==j.parseInt),1===[,1].find(function(){return!0})&&ie(Array.prototype,"find",rt.find),0!==[,1].findIndex(function(){return!0})&&ie(Array.prototype,"findIndex",rt.findIndex);var At,It,Rt,zt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),Nt=function(e,t){p&&zt(e,t)&&Object.defineProperty(e,t,{enumerable:!1})},Dt=function(){for(var e=Number(this),t=arguments.length,n=t-e,r=new Array(n<0?0:n),o=e;o1)return NaN;var n=L(t);return Q(t)*ee(2*n/(1-n))/2},cbrt:function(e){var t=Number(e);if(0===t)return t;var n,r=t<0;return r&&(t=-t),t===1/0?n=1/0:(n=F(B(t)/3),n=(t/(n*n)+2*n)/3),r?-n:n},clz32:function(e){var t=Number(e),n=de.ToUint32(t);return 0===n?32:Dn?de.Call(Dn,n):31-D(B(n+.5)*zn)},cosh:function(e){var t=Number(e);if(0===t)return 1;if(Z(t))return NaN;if(!_(t))return 1/0;var n=F(L(t)-1);return(n+1/(n*Rn*Rn))*(Rn/2)},expm1:function(e){var t=Number(e);if(t===-1/0)return-1;if(!_(t)||0===t)return t;if(L(t)>.5)return F(t)-1;for(var n=t,r=0,o=1;r+n!==r;)r+=n,n*=t/(o+=1);return r},hypot:function(e,t){for(var n=0,r=0,o=0;o0?i/r*(i/r):i}return r===1/0?1/0:r*H(n)},log2:function(e){return B(e)*zn},log10:function(e){return B(e)*Nn},log1p:ee,sign:Q,sinh:function(e){var t=Number(e);if(!_(t)||0===t)return t;var n=L(t);if(n<1){var r=Math.expm1(n);return Q(t)*r*(1+1/(r+1))/2}var o=F(n-1);return Q(t)*(o-1/(o*Rn*Rn))*(Rn/2)},tanh:function(e){var t=Number(e);return Z(t)||0===t?t:t>=20?1:t<=-20?-1:(Math.expm1(t)-Math.expm1(-t))/(F(t)+F(-t))},trunc:function(e){var t=Number(e);return t<0?-D(-t):D(t)},imul:function(e,t){var n=de.ToUint32(e),r=de.ToUint32(t),o=n>>>16&65535,i=65535&n,a=r>>>16&65535,u=65535&r;return i*u+(o*u+i*a<<16>>>0)|0},fround:function(e){var t=Number(e);if(0===t||t===1/0||t===-1/0||Z(t))return t;var n=Q(t),r=L(t);if(rAn||Z(i)?n*(1/0):n*i}},Fn=function(e,t,n){return L(1-e/t)/Number.EPSILON<(n||8)};b(Math,Ln),m(Math,"sinh",Ln.sinh,Math.sinh(710)===1/0),m(Math,"cosh",Ln.cosh,Math.cosh(710)===1/0),m(Math,"log1p",Ln.log1p,-1e-17!==Math.log1p(-1e-17)),m(Math,"asinh",Ln.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),m(Math,"asinh",Ln.asinh,Math.asinh(1e300)===1/0),m(Math,"atanh",Ln.atanh,0===Math.atanh(1e-300)),m(Math,"tanh",Ln.tanh,-2e-17!==Math.tanh(-2e-17)),m(Math,"acosh",Ln.acosh,Math.acosh(Number.MAX_VALUE)===1/0),m(Math,"acosh",Ln.acosh,!Fn(Math.acosh(1+Number.EPSILON),Math.sqrt(2*Number.EPSILON))),m(Math,"cbrt",Ln.cbrt,!Fn(Math.cbrt(1e-300),1e-100)),m(Math,"sinh",Ln.sinh,-2e-17!==Math.sinh(-2e-17));var Bn=Math.expm1(10);m(Math,"expm1",Ln.expm1,Bn>22025.465794806718||Bn<22025.465794806718);var Hn=Math.round,Un=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(Number.EPSILON/3.99-.5),Wn=Pn+1,Kn=2*Pn-1,Vn=[Wn,Kn].every(function(e){return Math.round(e)===e});m(Math,"round",function(e){var t=D(e),n=-1===t?-0:t+1;return e-t<.5?t:n},!Un||!Vn),x.preserveToString(Math.round,Hn);var qn=Math.imul;-5!==Math.imul(4294967295,5)&&(Math.imul=Ln.imul,x.preserveToString(Math.imul,qn)),2!==Math.imul.length&&ie(Math,"imul",function(e,t){return de.Call(qn,Math,arguments)});var Yn,Gn,$n=function(){var e=j.setTimeout;if("function"==typeof e||"object"==typeof e){de.IsPromise=function(e){return!!de.TypeIsObject(e)&&void 0!==e._promise};var t,r=function(e){if(!de.IsConstructor(e))throw new TypeError("Bad promise constructor");var t=this;if(t.resolve=void 0,t.reject=void 0,t.promise=new e(function(e,n){if(void 0!==t.resolve||void 0!==t.reject)throw new TypeError("Bad Promise implementation!");t.resolve=e,t.reject=n}),!de.IsCallable(t.resolve)||!de.IsCallable(t.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&de.IsCallable(window.postMessage)&&(t=function(){var e=[];return window.addEventListener("message",function(t){if(t.source===window&&"zero-timeout-message"===t.data){if(t.stopPropagation(),0===e.length)return;var n=R(e);n()}},!0),function(t){A(e,t),window.postMessage("zero-timeout-message","*")}});var i,a,u,l,c=de.IsCallable(j.setImmediate)?j.setImmediate:"object"==typeof o&&o.nextTick?o.nextTick:(i=j.Promise,(a=i&&i.resolve&&i.resolve())&&function(e){return a.then(e)}||(de.IsCallable(t)?t():function(t){e(t,0)})),s=function(e){return e},f=function(e){throw e},p={},d=function(e,t,n){c(function(){h(e,t,n)})},h=function(e,t,n){var r,o;if(t===p)return e(n);try{r=e(n),o=t.resolve}catch(e){r=e,o=t.reject}o(r)},v=function(e,t){var n=e._promise,r=n.reactionLength;if(r>0&&(d(n.fulfillReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o0&&(d(n.rejectReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o2&&arguments[2]===p;o=a&&i===O?p:new r(i);var u,l=de.IsCallable(e)?e:s,c=de.IsCallable(t)?t:f,h=n._promise;if(0===h.state){if(0===h.reactionLength)h.fulfillReactionHandler0=l,h.rejectReactionHandler0=c,h.reactionCapability0=o;else{var v=3*(h.reactionLength-1);h[v+0]=l,h[v+1]=c,h[v+2]=o}h.reactionLength+=1}else if(1===h.state)u=h.result,d(l,o,u);else{if(2!==h.state)throw new TypeError("unexpected Promise state");u=h.result,d(c,o,u)}return o.promise}}),p=new r(O),l=u.then,O}}();if(j.Promise&&(delete j.Promise.accept,delete j.Promise.defer,delete j.Promise.prototype.chain),"function"==typeof $n){b(j,{Promise:$n});var Xn=E(j.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),Zn=!l(function(){return j.Promise.reject(42).then(null,5).then(null,W)}),Jn=l(function(){return j.Promise.call(3,W)}),Qn=function(e){var t=e.resolve(5);t.constructor={};var n=e.resolve(t);try{n.then(null,W).then(null,W)}catch(e){return!0}return t===n}(j.Promise),er=p&&(Yn=0,Gn=Object.defineProperty({},"then",{get:function(){Yn+=1}}),Promise.resolve(Gn),1===Yn),tr=function e(t){var n=new Promise(t);t(3,function(){}),this.then=n.then,this.constructor=e};tr.prototype=Promise.prototype,tr.all=Promise.all;var nr=c(function(){return!!tr.all([1,2])});if(Xn&&Zn&&Jn&&!Qn&&er&&!nr||(Promise=$n,ie(j,"Promise",$n)),1!==Promise.all.length){var rr=Promise.all;ie(Promise,"all",function(e){return de.Call(rr,this,arguments)})}if(1!==Promise.race.length){var or=Promise.race;ie(Promise,"race",function(e){return de.Call(or,this,arguments)})}if(1!==Promise.resolve.length){var ir=Promise.resolve;ie(Promise,"resolve",function(e){return de.Call(ir,this,arguments)})}if(1!==Promise.reject.length){var ar=Promise.reject;ie(Promise,"reject",function(e){return de.Call(ar,this,arguments)})}Nt(Promise,"all"),Nt(Promise,"race"),Nt(Promise,"resolve"),Nt(Promise,"reject"),Me(Promise)}var ur,lr,cr=function(e){var t=a(v(e,function(e,t){return e[t]=!0,e},{}));return e.join(":")===t.join(":")},sr=cr(["z","a","bb"]),fr=cr(["z",1,"a","3",2]);if(p){var pr=function(e,t){return t||sr?pe(e)?"^"+de.ToString(e):"string"==typeof e?"$"+e:"number"==typeof e?fr?e:"n"+e:"boolean"==typeof e?"b"+e:null:null},dr=function(){return Object.create?Object.create(null):{}},hr=function(e,t,r){if(i(r)||oe.string(r))h(r,function(e){if(!de.TypeIsObject(e))throw new TypeError("Iterator value "+e+" is not an entry object");t.set(e[0],e[1])});else if(r instanceof e)n(e.prototype.forEach,r,function(e,n){t.set(n,e)});else{var o,a;if(!pe(r)){if(a=t.set,!de.IsCallable(a))throw new TypeError("bad map");o=de.GetIterator(r)}if(void 0!==o)for(;;){var u=de.IteratorStep(o);if(!1===u)break;var l=u.value;try{if(!de.TypeIsObject(l))throw new TypeError("Iterator value "+l+" is not an entry object");n(a,t,l[0],l[1])}catch(e){throw de.IteratorClose(o,!0),e}}}},vr=function(e,t,r){if(i(r)||oe.string(r))h(r,function(e){t.add(e)});else if(r instanceof e)n(e.prototype.forEach,r,function(e){t.add(e)});else{var o,a;if(!pe(r)){if(a=t.add,!de.IsCallable(a))throw new TypeError("bad set");o=de.GetIterator(r)}if(void 0!==o)for(;;){var u=de.IteratorStep(o);if(!1===u)break;var l=u.value;try{n(a,t,l)}catch(e){throw de.IteratorClose(o,!0),e}}}},yr={Map:function(){var e={},t=function(e,t){this.key=e,this.value=t,this.next=null,this.prev=null};t.prototype.isRemoved=function(){return this.key===e};var r,o=function(e,t){if(!de.TypeIsObject(e)||!function(e){return!!e._es6map}(e))throw new TypeError("Method Map.prototype."+t+" called on incompatible receiver "+de.ToString(e))},i=function(e,t){o(e,"[[MapIterator]]"),this.head=e._head,this.i=this.head,this.kind=t};Ae(i.prototype={isMapIterator:!0,next:function(){if(!this.isMapIterator)throw new TypeError("Not a MapIterator");var e,t=this.i,n=this.kind,r=this.head;if(void 0===this.i)return Qe();for(;t.isRemoved()&&t!==r;)t=t.prev;for(;t.next!==r;)if(!(t=t.next).isRemoved())return e="key"===n?t.key:"value"===n?t.value:[t.key,t.value],this.i=t,Qe(e);return this.i=void 0,Qe()}});var a=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var n=ze(this,e,r,{_es6map:!0,_head:null,_map:K?new K:null,_size:0,_storage:dr()}),o=new t(null,null);return o.next=o.prev=o,n._head=o,arguments.length>0&&hr(e,n,arguments[0]),n};return r=a.prototype,x.getter(r,"size",function(){if(void 0===this._size)throw new TypeError("size method called on incompatible Map");return this._size}),b(r,{get:function(e){var t;o(this,"get");var n=pr(e,!0);if(null!==n)return(t=this._storage[n])?t.value:void 0;if(this._map)return(t=q.call(this._map,e))?t.value:void 0;for(var r=this._head,i=r;(i=i.next)!==r;)if(de.SameValueZero(i.key,e))return i.value},has:function(e){o(this,"has");var t=pr(e,!0);if(null!==t)return void 0!==this._storage[t];if(this._map)return Y.call(this._map,e);for(var n=this._head,r=n;(r=r.next)!==n;)if(de.SameValueZero(r.key,e))return!0;return!1},set:function(e,n){o(this,"set");var r,i=this._head,a=i,u=pr(e,!0);if(null!==u){if(void 0!==this._storage[u])return this._storage[u].value=n,this;r=this._storage[u]=new t(e,n),a=i.prev}else this._map&&(Y.call(this._map,e)?q.call(this._map,e).value=n:(r=new t(e,n),G.call(this._map,e,r),a=i.prev));for(;(a=a.next)!==i;)if(de.SameValueZero(a.key,e))return a.value=n,this;return r=r||new t(e,n),de.SameValue(-0,e)&&(r.key=0),r.next=this._head,r.prev=this._head.prev,r.prev.next=r,r.next.prev=r,this._size+=1,this},delete:function(t){o(this,"delete");var n=this._head,r=n,i=pr(t,!0);if(null!==i){if(void 0===this._storage[i])return!1;r=this._storage[i].prev,delete this._storage[i]}else if(this._map){if(!Y.call(this._map,t))return!1;r=q.call(this._map,t).prev,V.call(this._map,t)}for(;(r=r.next)!==n;)if(de.SameValueZero(r.key,t))return r.key=e,r.value=e,r.prev.next=r.next,r.next.prev=r.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._map=K?new K:null,this._size=0,this._storage=dr();for(var t=this._head,n=t,r=n.next;(n=r)!==t;)n.key=e,n.value=e,r=n.next,n.next=n.prev=t;t.next=t.prev=t},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(e){o(this,"forEach");for(var t=arguments.length>1?arguments[1]:null,r=this.entries(),i=r.next();!i.done;i=r.next())t?n(e,t,i.value[1],i.value[0],this):e(i.value[1],i.value[0],this)}}),Ae(r,r.entries),a}(),Set:function(){var e,t=function(e,t){if(!de.TypeIsObject(e)||!function(e){return e._es6set&&void 0!==e._storage}(e))throw new TypeError("Set.prototype."+t+" called on incompatible receiver "+de.ToString(e))},r=function t(){if(!(this instanceof t))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var n=ze(this,t,e,{_es6set:!0,"[[SetData]]":null,_storage:dr()});if(!n._es6set)throw new TypeError("bad set");return arguments.length>0&&vr(t,n,arguments[0]),n};e=r.prototype;var o=function(e){if(!e["[[SetData]]"]){var t=new yr.Map;e["[[SetData]]"]=t,h(a(e._storage),function(e){var n=function(e){var t=e;if("^null"===t)return null;if("^undefined"!==t){var n=t.charAt(0);return"$"===n?M(t,1):"n"===n?+M(t,1):"b"===n?"btrue"===t:+t}}(e);t.set(n,n)}),e["[[SetData]]"]=t}e._storage=null};x.getter(r.prototype,"size",function(){return t(this,"size"),this._storage?a(this._storage).length:(o(this),this["[[SetData]]"].size)}),b(r.prototype,{has:function(e){var n;return t(this,"has"),this._storage&&null!==(n=pr(e))?!!this._storage[n]:(o(this),this["[[SetData]]"].has(e))},add:function(e){var n;return t(this,"add"),this._storage&&null!==(n=pr(e))?(this._storage[n]=!0,this):(o(this),this["[[SetData]]"].set(e,e),this)},delete:function(e){var n;if(t(this,"delete"),this._storage&&null!==(n=pr(e))){var r=U(this._storage,n);return delete this._storage[n]&&r}return o(this),this["[[SetData]]"].delete(e)},clear:function(){t(this,"clear"),this._storage&&(this._storage=dr()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return t(this,"values"),o(this),new i(this["[[SetData]]"].values())},entries:function(){return t(this,"entries"),o(this),new i(this["[[SetData]]"].entries())},forEach:function(e){t(this,"forEach");var r=arguments.length>1?arguments[1]:null,i=this;o(i),this["[[SetData]]"].forEach(function(t,o){r?n(e,r,o,o,i):e(o,o,i)})}}),m(r.prototype,"keys",r.prototype.values,!0),Ae(r.prototype,r.prototype.values);var i=function(e){this.it=e};return i.prototype={isSetIterator:!0,next:function(){if(!this.isSetIterator)throw new TypeError("Not a SetIterator");return this.it.next()}},Ae(i.prototype),r}()},gr=j.Set&&!Set.prototype.delete&&Set.prototype.remove&&Set.prototype.items&&Set.prototype.map&&Array.isArray((new Set).keys);if(gr&&(j.Set=yr.Set),j.Map||j.Set){var mr=c(function(){return 2===new Map([[1,2]]).get(1)});mr||(j.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new K;return arguments.length>0&&hr(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,j.Map.prototype),t},j.Map.prototype=S(K.prototype),m(j.Map.prototype,"constructor",j.Map,!0),x.preserveToString(j.Map,K));var br=new Map,wr=((lr=new Map([[1,0],[2,0],[3,0],[4,0]])).set(-0,lr),lr.get(0)===lr&&lr.get(-0)===lr&&lr.has(0)&&lr.has(-0)),Or=br.set(1,2)===br;wr&&Or||ie(Map.prototype,"set",function(e,t){return n(G,this,0===e?0:e,t),this}),wr||(b(Map.prototype,{get:function(e){return n(q,this,0===e?0:e)},has:function(e){return n(Y,this,0===e?0:e)}},!0),x.preserveToString(Map.prototype.get,q),x.preserveToString(Map.prototype.has,Y));var xr=new Set,Sr=Set.prototype.delete&&Set.prototype.add&&Set.prototype.has&&((ur=xr).delete(0),ur.add(-0),!ur.has(0)),Er=xr.add(1)===xr;if(!Sr||!Er){var kr=Set.prototype.add;Set.prototype.add=function(e){return n(kr,this,0===e?0:e),this},x.preserveToString(Set.prototype.add,kr)}if(!Sr){var jr=Set.prototype.has;Set.prototype.has=function(e){return n(jr,this,0===e?0:e)},x.preserveToString(Set.prototype.has,jr);var _r=Set.prototype.delete;Set.prototype.delete=function(e){return n(_r,this,0===e?0:e)},x.preserveToString(Set.prototype.delete,_r)}var Tr=E(j.Map,function(e){var t=new e([]);return t.set(42,42),t instanceof e}),Pr=Object.setPrototypeOf&&!Tr,Cr=function(){try{return!(j.Map()instanceof j.Map)}catch(e){return e instanceof TypeError}}();0===j.Map.length&&!Pr&&Cr||(j.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new K;return arguments.length>0&&hr(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},j.Map.prototype=K.prototype,m(j.Map.prototype,"constructor",j.Map,!0),x.preserveToString(j.Map,K));var Mr=E(j.Set,function(e){var t=new e([]);return t.add(42,42),t instanceof e}),Ar=Object.setPrototypeOf&&!Mr,Ir=function(){try{return!(j.Set()instanceof j.Set)}catch(e){return e instanceof TypeError}}();if(0!==j.Set.length||Ar||!Ir){var Rr=j.Set;j.Set=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');var t=new Rr;return arguments.length>0&&vr(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},j.Set.prototype=Rr.prototype,m(j.Set.prototype,"constructor",j.Set,!0),x.preserveToString(j.Set,Rr)}var zr=new j.Map,Nr=!c(function(){return zr.keys().next().done});if(("function"!=typeof j.Map.prototype.clear||0!==(new j.Set).size||0!==zr.size||"function"!=typeof j.Map.prototype.keys||"function"!=typeof j.Set.prototype.keys||"function"!=typeof j.Map.prototype.forEach||"function"!=typeof j.Set.prototype.forEach||s(j.Map)||s(j.Set)||"function"!=typeof zr.keys().next||Nr||!Tr)&&b(j,{Map:yr.Map,Set:yr.Set},!0),j.Set.prototype.keys!==j.Set.prototype.values&&m(j.Set.prototype,"keys",j.Set.prototype.values,!0),Ae(Object.getPrototypeOf((new j.Map).keys())),Ae(Object.getPrototypeOf((new j.Set).keys())),d&&"has"!==j.Set.prototype.has.name){var Dr=j.Set.prototype.has;ie(j.Set.prototype,"has",function(e){return n(Dr,this,e)})}}b(j,yr),Me(j.Map),Me(j.Set)}var Lr=function(e){if(!de.TypeIsObject(e))throw new TypeError("target must be an object")},Fr={apply:function(){return de.Call(de.Call,null,arguments)},construct:function(e,t){if(!de.IsConstructor(e))throw new TypeError("First argument must be a constructor.");var n=arguments.length>2?arguments[2]:e;if(!de.IsConstructor(n))throw new TypeError("new.target must be a constructor.");return de.Construct(e,t,n,"internal")},deleteProperty:function(e,t){if(Lr(e),p){var n=Object.getOwnPropertyDescriptor(e,t);if(n&&!n.configurable)return!1}return delete e[t]},has:function(e,t){return Lr(e),t in e}};Object.getOwnPropertyNames&&Object.assign(Fr,{ownKeys:function(e){Lr(e);var t=Object.getOwnPropertyNames(e);return de.IsCallable(Object.getOwnPropertySymbols)&&I(t,Object.getOwnPropertySymbols(e)),t}});var Br=function(e){return!l(e)};if(Object.preventExtensions&&Object.assign(Fr,{isExtensible:function(e){return Lr(e),Object.isExtensible(e)},preventExtensions:function(e){return Lr(e),Br(function(){return Object.preventExtensions(e)})}}),p){var Hr=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r){var o=Object.getPrototypeOf(e);if(null===o)return;return Hr(o,t,n)}return"value"in r?r.value:r.get?de.Call(r.get,n):void 0},Ur=function(e,t,r,o){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var a=Object.getPrototypeOf(e);if(null!==a)return Ur(a,t,r,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if("value"in i){if(!i.writable)return!1;if(!de.TypeIsObject(o))return!1;var u=Object.getOwnPropertyDescriptor(o,t);return u?ce.defineProperty(o,t,{value:r}):ce.defineProperty(o,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}return!!i.set&&(n(i.set,o,r),!0)};Object.assign(Fr,{defineProperty:function(e,t,n){return Lr(e),Br(function(){return Object.defineProperty(e,t,n)})},getOwnPropertyDescriptor:function(e,t){return Lr(e),Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){Lr(e);var n=arguments.length>2?arguments[2]:e;return Hr(e,t,n)},set:function(e,t,n){Lr(e);var r=arguments.length>3?arguments[3]:e;return Ur(e,t,n,r)}})}if(Object.getPrototypeOf){var Wr=Object.getPrototypeOf;Fr.getPrototypeOf=function(e){return Lr(e),Wr(e)}}if(Object.setPrototypeOf&&Fr.getPrototypeOf){var Kr=function(e,t){for(var n=t;n;){if(e===n)return!0;n=Fr.getPrototypeOf(n)}return!1};Object.assign(Fr,{setPrototypeOf:function(e,t){if(Lr(e),null!==t&&!de.TypeIsObject(t))throw new TypeError("proto must be an object or null");return t===ce.getPrototypeOf(e)||!(ce.isExtensible&&!ce.isExtensible(e))&&!Kr(e,t)&&(Object.setPrototypeOf(e,t),!0)}})}var Vr=function(e,t){if(de.IsCallable(j.Reflect[e])){var n=c(function(){return j.Reflect[e](1),j.Reflect[e](NaN),j.Reflect[e](!0),!0});n&&ie(j.Reflect,e,t)}else m(j.Reflect,e,t)};Object.keys(Fr).forEach(function(e){Vr(e,Fr[e])});var qr=j.Reflect.getPrototypeOf;if(d&&qr&&"getPrototypeOf"!==qr.name&&ie(j.Reflect,"getPrototypeOf",function(e){return n(qr,j.Reflect,e)}),j.Reflect.setPrototypeOf&&c(function(){return j.Reflect.setPrototypeOf(1,{}),!0})&&ie(j.Reflect,"setPrototypeOf",Fr.setPrototypeOf),j.Reflect.defineProperty&&(c(function(){var e=!j.Reflect.defineProperty(1,"test",{value:1}),t="function"!=typeof Object.preventExtensions||!j.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t})||ie(j.Reflect,"defineProperty",Fr.defineProperty)),j.Reflect.construct&&(c(function(){var e=function(){};return j.Reflect.construct(function(){},[],e)instanceof e})||ie(j.Reflect,"construct",Fr.construct)),"Invalid Date"!==String(new Date(NaN))){var Yr=Date.prototype.toString,Gr=function(){var e=+this;return e!=e?"Invalid Date":de.Call(Yr,this)};ie(Date.prototype,"toString",Gr)}var $r={anchor:function(e){return de.CreateHTML(this,"a","name",e)},big:function(){return de.CreateHTML(this,"big","","")},blink:function(){return de.CreateHTML(this,"blink","","")},bold:function(){return de.CreateHTML(this,"b","","")},fixed:function(){return de.CreateHTML(this,"tt","","")},fontcolor:function(e){return de.CreateHTML(this,"font","color",e)},fontsize:function(e){return de.CreateHTML(this,"font","size",e)},italics:function(){return de.CreateHTML(this,"i","","")},link:function(e){return de.CreateHTML(this,"a","href",e)},small:function(){return de.CreateHTML(this,"small","","")},strike:function(){return de.CreateHTML(this,"strike","","")},sub:function(){return de.CreateHTML(this,"sub","","")},sup:function(){return de.CreateHTML(this,"sup","","")}};h(Object.keys($r),function(e){var t=String.prototype[e],r=!1;if(de.IsCallable(t)){var o=n(t,"",' " '),i=C([],o.match(/"/g)).length;r=o!==o.toLowerCase()||i>2}else r=!0;r&&ie(String.prototype,e,$r[e])});var Xr=function(){if(!ae)return!1;var e="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!e)return!1;if(void 0!==e($()))return!0;if("[null]"!==e([$()]))return!0;var t={a:$()};return t[$()]=!0,"{}"!==e(t)}(),Zr=c(function(){return!ae||"{}"===JSON.stringify(Object($()))&&"[{}]"===JSON.stringify([Object($())])});if(Xr||!Zr){var Jr=JSON.stringify;ie(JSON,"stringify",function(e){if("symbol"!=typeof e){var t;arguments.length>1&&(t=arguments[1]);var r=[e];if(i(t))r.push(t);else{var o=de.IsCallable(t)?t:null,a=function(e,t){var r=o?n(o,this,e,t):t;if("symbol"!=typeof r)return oe.symbol(r)?Lt({})(r):r};r.push(a)}return arguments.length>2&&r.push(arguments[2]),Jr.apply(this,r)}})}return j})?i.call(t,n,t,e):i)||(e.exports=a)}).call(this,n("fRV1"),n("F63i"))},c18h:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},c72w:function(e,t,n){var r=n("wC3K"),o=n("pPzx"),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},c9Df:function(e,t,n){"use strict";n("1t7P"),n("jQ/y"),n("aLgo"),n("2G9S"),n("vrRf"),n("lTEL"),n("IAdD"),n("j4Sf"),n("UvmB"),n("5o43"),n("+KXO"),n("LUwd"),n("7x/C"),n("87if"),n("kYxP"),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrame=void 0;var r=i(n("ERkP")),o=i(n("NyMY"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="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})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){for(var n=0;n=0&&"[object Function]"===r.call(e.callee)),n}},cY0r:function(e,t,n){n("avNT");var r=n("j0PW");e.exports=r.Object.assign},cYYr:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},"cZX/":function(e,t,n){var r=n("LmOH"),o=n("vGGS"),i=n("zKkv"),a=n("S3pA"),u=n("/wCD"),l=n("wxYD"),c=n("3ajY"),s=n("2q8g"),f=n("tQYX"),p=n("Qd2C");e.exports=function(e,t,n){var d=l(e),h=d||c(e)||p(e);if(t=a(t,4),null==n){var v=e&&e.constructor;n=h?d?new v:[]:f(e)&&s(v)?o(u(e)):{}}return(h?r:i)(e,function(e,r,o){return t(n,e,r,o)}),n}},cb1R:function(e,t,n){var r=n("amiU"),o=n("Grae"),i=n("6Rtw"),a=n("QT01"),u=n("sD1O"),l=n("bvyN"),c=n("wxYD"),s=n("Ndl3"),f=n("3ajY"),p=n("2q8g"),d=n("tQYX"),h=n("Kkar"),v=n("Qd2C"),y=n("LL3N"),g=n("4ScB");e.exports=function(e,t,n,m,b,w,O){var x=y(e,n),S=y(t,n),E=O.get(S);if(E)r(e,n,E);else{var k=w?w(x,S,n+"",e,t,O):void 0,j=void 0===k;if(j){var _=c(S),T=!_&&f(S),P=!_&&!T&&v(S);k=S,_||T||P?c(x)?k=x:s(x)?k=a(x):T?(j=!1,k=o(S,!0)):P?(j=!1,k=i(S,!0)):k=[]:h(S)||l(S)?(k=x,l(x)?k=g(x):d(x)&&!p(x)||(k=u(S))):j=!1}j&&(O.set(S,k),b(k,S,m,w,O),O.delete(S)),r(e,n,k)}}},cjmc:function(e,t,n){"use strict";var r=n("9j30"),o=n("hXtS"),i=n("sUjk"),a=r.boolean,u=r.overloadedBoolean,l=r.booleanish,c=r.number,s=r.spaceSeparated,f=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:s,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:s,cols:c,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:s,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:u,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:s,height:c,hidden:a,high:c,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:s,itemRef:s,itemScope:a,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loop:a,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,open:a,optimum:c,pattern:null,ping:s,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:s,required:a,reversed:a,rows:c,rowSpan:c,sandbox:s,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,prefix:null,property:null,results:c,security:null,unselectable:null}})},cmfU:function(e,t,n){"use strict";n.r(t);var r=n("qkXc");n.d(t,"default",function(){return r.default})},"cpF+":function(e,t,n){"use strict";var r=n("5Jdw"),o=n("XU0c"),i=n("nKVx"),a=n("iYt3"),u=n("0foe"),l=n("quhl"),c=n("fDXD"),s=Object.assign;e.exports=!s||o(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||"abcdefghijklmnopqrst"!=i(s({},t)).join("")})?function(e,t){for(var n=l(e),o=arguments.length,s=1,f=a.f,p=u.f;o>s;)for(var d,h=c(arguments[s++]),v=f?i(h).concat(f(h)):i(h),y=v.length,g=0;y>g;)d=v[g++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:s},cpcO:function(e,t,n){var r=n("9JhN"),o=n("KB94"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},cqYI:function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Promise)throw new TypeError("`Promise.prototype.finally` requires a global `Promise` be available.")}},ct80:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},cww3:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},cxan:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}})},dsco:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("JFEB"),i=n("cmfU"),a=n("20Fm"),u=new r.default(i.default,o.default,a.default);t.default=u},dw5g:function(e,t,n){var r=n("JcJ6");e.exports=function(e){return null==e?"":r(e)}},e63W:function(e,t,n){var r=n("JNqh");e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},e93E:function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("fRV1"))},eCcN:function(e,t,n){"use strict";(function(t){var r=function(){var e="Prism"in t,n=e?t.Prism:void 0;return function(){e?t.Prism=n:delete t.Prism;e=void 0,n=void 0}}();("undefined"==typeof window?"undefined"==typeof self?{}:self:window).Prism={manual:!0,disableWorkerMessageHandler:!0};var o=n("59Js"),i=n("RXNd"),a=n("Z5YN"),u=n("k7yZ"),l=n("iG72"),c=n("0D+g"),s=n("v53A");r();var f={}.hasOwnProperty;function p(){}p.prototype=a;var d=new p;function h(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===d.languages[e.displayName]&&e(d)}e.exports=d,d.highlight=function(e,t){var n,r=a.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===d.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!f.call(d.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=d.languages[t]}return r.call(this,e,n,t)},d.register=h,d.alias=function(e,t){var n,r,o,i,a=d.languages,u=e;t&&((u={})[e]=t);for(n in u)for(r=u[n],o=(r="string"==typeof r?[r]:r).length,i=-1;++i=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=(0,o.default)(1e3)(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return t.split("-")[0]===e?n:r}),s=i.styled.div({position:"absolute",borderStyle:"solid"},function(e){var t=e.theme,n=e.color,r=e.placement;return{marginBottom:"".concat(c("top",r,"0",8),"px"),marginTop:"".concat(c("bottom",r,"0",8),"px"),marginRight:"".concat(c("left",r,"0",8),"px"),marginLeft:"".concat(c("right",r,"0",8),"px"),bottom:"".concat(c("top",r,-8,"auto"),"px"),top:"".concat(c("bottom",r,-8,"auto"),"px"),right:"".concat(c("left",r,-8,"auto"),"px"),left:"".concat(c("right",r,-8,"auto"),"px"),borderBottomWidth:"".concat(c("top",r,"0",8),"px"),borderTopWidth:"".concat(c("bottom",r,"0",8),"px"),borderRightWidth:"".concat(c("left",r,"0",8),"px"),borderLeftWidth:"".concat(c("right",r,"0",8),"px"),borderTopColor:c("top",r,t.color[n]||n||"light"===t.base?(0,i.lighten)(t.background.app):(0,i.darken)(t.background.app),"transparent"),borderBottomColor:c("bottom",r,t.color[n]||n||"light"===t.base?(0,i.lighten)(t.background.app):(0,i.darken)(t.background.app),"transparent"),borderLeftColor:c("left",r,t.color[n]||n||"light"===t.base?(0,i.lighten)(t.background.app):(0,i.darken)(t.background.app),"transparent"),borderRightColor:c("right",r,t.color[n]||n||"light"===t.base?(0,i.lighten)(t.background.app):(0,i.darken)(t.background.app),"transparent")}}),f=i.styled.div(function(e){return{display:e.hidden?"none":"inline-block",zIndex:2147483647}},function(e){var t=e.theme,n=e.color,r=e.hasChrome,o=e.placement;return r?{marginBottom:"".concat(c("top",o,10,0),"px"),marginTop:"".concat(c("bottom",o,10,0),"px"),marginLeft:"".concat(c("right",o,10,0),"px"),marginRight:"".concat(c("left",o,10,0),"px"),background:t.color[n]||n||"light"===t.base?(0,i.lighten)(t.background.app):(0,i.darken)(t.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*t.appBorderRadius,fontSize:t.typography.size.s1}:{marginBottom:"".concat(c("top",o,8,0),"px"),marginTop:"".concat(c("bottom",o,8,0),"px"),marginLeft:"".concat(c("right",o,8,0),"px"),marginRight:"".concat(c("left",o,8,0),"px")}}),p=function(e){var t=e.placement,n=e.hasChrome,o=e.children,i=e.arrowProps,a=e.tooltipRef,c=e.arrowRef,p=e.color,d=l(e,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return r.default.createElement(f,u({hasChrome:n,placement:t,ref:a},d,{color:p}),n&&r.default.createElement(s,u({placement:t,ref:c},i,{color:p})),o)};t.Tooltip=p,p.displayName="Tooltip",p.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}}},f2oC:function(e,t,n){var r,o;window,e.exports=(r=n("ERkP"),o=n("7nmT"),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){e.exports=n(11)()},function(e,t,n){"use strict";function r(e,t){for(var n=0,r=e.length;n0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{})}},function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"g",function(){return l}),n.d(t,"a",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"f",function(){return f}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return d});var r=n(1),o=n(6),i=n.n(o),a=n(2);function u(e,t,n){if(!e.props.bounds)return[t,n];var o=e.props.bounds;o="string"==typeof o?o:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(o);var i=h(e);if("string"==typeof o){var u,l=i.ownerDocument,c=l.defaultView;if(!((u="parent"===o?i.parentNode:l.querySelector(o))instanceof c.HTMLElement))throw new Error('Bounds selector "'+o+'" could not find an element.');var s=c.getComputedStyle(i),f=c.getComputedStyle(u);o={left:-i.offsetLeft+Object(r.c)(f.paddingLeft)+Object(r.c)(s.marginLeft),top:-i.offsetTop+Object(r.c)(f.paddingTop)+Object(r.c)(s.marginTop),right:Object(a.h)(u)-Object(a.l)(i)-i.offsetLeft+Object(r.c)(f.paddingRight)-Object(r.c)(s.marginRight),bottom:Object(a.g)(u)-Object(a.k)(i)-i.offsetTop+Object(r.c)(f.paddingBottom)-Object(r.c)(s.marginBottom)}}return Object(r.e)(o.right)&&(t=Math.min(t,o.right)),Object(r.e)(o.bottom)&&(n=Math.min(n,o.bottom)),Object(r.e)(o.left)&&(t=Math.max(t,o.left)),Object(r.e)(o.top)&&(n=Math.max(n,o.top)),[t,n]}function l(e,t,n){return[Math.round(t/e[0])*e[0],Math.round(n/e[1])*e[1]]}function c(e){return"both"===e.props.axis||"x"===e.props.axis}function s(e){return"both"===e.props.axis||"y"===e.props.axis}function f(e,t,n){var r="number"==typeof t?Object(a.e)(e,t):null;if("number"==typeof t&&!r)return null;var o=h(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return Object(a.j)(r||e,i)}function p(e,t,n){var o=e.state,i=!Object(r.e)(o.lastX),a=h(e);return i?{node:a,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:a,deltaX:t-o.lastX,deltaY:n-o.lastY,lastX:o.lastX,lastY:o.lastY,x:t,y:n}}function d(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function h(e){var t=i.a.findDOMNode(e);if(!t)throw new Error(": Unmounted during event!");return t}},function(e,t,n){"use strict";function r(){}n.d(t,"a",function(){return r})},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return O});var r=n(5),o=n.n(r),i=n(0),a=n.n(i),u=n(6),l=n.n(u),c=n(2),s=n(3),f=n(1),p=n(4);function d(e){return(d="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})(e)}function h(e,t){for(var n=0;n not mounted on DragStart!");var r=t.ownerDocument;if(!(n.props.disabled||!(e.target instanceof r.defaultView.Node)||n.props.handle&&!Object(c.i)(e.target,n.props.handle,t)||n.props.cancel&&Object(c.i)(e.target,n.props.cancel,t))){var o=Object(c.f)(e);n.setState({touchIdentifier:o});var i=Object(s.f)(e,o,y(n));if(null!=i){var a=i.x,u=i.y,f=Object(s.c)(y(n),a,u);Object(p.a)("DraggableCore: handleDragStart: %j",f),Object(p.a)("calling",n.props.onStart),!1!==n.props.onStart(e,f)&&(n.props.enableUserSelectHack&&Object(c.b)(r),n.setState({dragging:!0,lastX:a,lastY:u}),Object(c.a)(r,w.move,n.handleDrag),Object(c.a)(r,w.stop,n.handleDragStop))}}}),m(y(n),"handleDrag",function(e){"touchmove"===e.type&&e.preventDefault();var t=Object(s.f)(e,n.state.touchIdentifier,y(n));if(null!=t){var r=t.x,o=t.y;if(Array.isArray(n.props.grid)){var i=r-n.state.lastX,a=o-n.state.lastY,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(Object(s.g)(n.props.grid,i,a),2);if(i=u[0],a=u[1],!i&&!a)return;r=n.state.lastX+i,o=n.state.lastY+a}var l=Object(s.c)(y(n),r,o);if(Object(p.a)("DraggableCore: handleDrag: %j",l),!1!==n.props.onDrag(e,l))n.setState({lastX:r,lastY:o});else try{n.handleDragStop(new MouseEvent("mouseup"))}catch(e){var c=document.createEvent("MouseEvents");c.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.handleDragStop(c)}}}),m(y(n),"handleDragStop",function(e){if(n.state.dragging){var t=Object(s.f)(e,n.state.touchIdentifier,y(n));if(null!=t){var r=t.x,o=t.y,i=Object(s.c)(y(n),r,o),a=l.a.findDOMNode(y(n));a&&n.props.enableUserSelectHack&&Object(c.n)(a.ownerDocument),Object(p.a)("DraggableCore: handleDragStop: %j",i),n.setState({dragging:!1,lastX:NaN,lastY:NaN}),n.props.onStop(e,i),a&&(Object(p.a)("DraggableCore: Removing handlers"),Object(c.m)(a.ownerDocument,w.move,n.handleDrag),Object(c.m)(a.ownerDocument,w.stop,n.handleDragStop))}}}),m(y(n),"onMouseDown",function(e){return w=b.mouse,n.handleDragStart(e)}),m(y(n),"onMouseUp",function(e){return w=b.mouse,n.handleDragStop(e)}),m(y(n),"onTouchStart",function(e){return w=b.touch,n.handleDragStart(e)}),m(y(n),"onTouchEnd",function(e){return w=b.touch,n.handleDragStop(e)}),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,o.a.Component),n=t,(r=[{key:"componentWillUnmount",value:function(){var e=l.a.findDOMNode(this);if(e){var t=e.ownerDocument;Object(c.m)(t,b.mouse.move,this.handleDrag),Object(c.m)(t,b.touch.move,this.handleDrag),Object(c.m)(t,b.mouse.stop,this.handleDragStop),Object(c.m)(t,b.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&Object(c.n)(t)}}},{key:"render",value:function(){return o.a.cloneElement(o.a.Children.only(this.props.children),{style:Object(c.o)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&h(n.prototype,r),t}();m(O,"displayName","DraggableCore"),m(O,"propTypes",{allowAnyClick:a.a.bool,disabled:a.a.bool,enableUserSelectHack:a.a.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.a.arrayOf(a.a.number),handle:a.a.string,cancel:a.a.string,onStart:a.a.func,onDrag:a.a.func,onStop:a.a.func,onMouseDown:a.a.func,className:f.a,style:f.a,transform:f.a}),m(O,"defaultProps",{allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}})},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(t,o.a.Component),S(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:(Object(v.a)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:b({},n)})}}]),S(t,[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&l.a.findDOMNode(this)instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,i=t.defaultClassName,a=t.defaultClassNameDragging,u=t.defaultClassNameDragged,l=t.position,c=t.positionOffset,d=(t.scale,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"])),v={},y=null,m=!Boolean(l)||this.state.dragging,w=l||r,O={x:Object(p.a)(this)&&m?this.state.x:w.x,y:Object(p.b)(this)&&m?this.state.y:w.y};this.state.isElementSVG?y=Object(f.d)(O,c):v=Object(f.c)(O,c);var x=s()(n.props.className||"",i,(k(e={},a,this.state.dragging),k(e,u,this.state.dragged),e));return o.a.createElement(h.default,g({},d,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.a.cloneElement(o.a.Children.only(n),{className:x,style:b({},n.props.style,{},v),transform:y}))}}]),t}();k(j,"displayName","Draggable"),k(j,"propTypes",b({},h.default.propTypes,{axis:a.a.oneOf(["both","x","y","none"]),bounds:a.a.oneOfType([a.a.shape({left:a.a.number,right:a.a.number,top:a.a.number,bottom:a.a.number}),a.a.string,a.a.oneOf([!1])]),defaultClassName:a.a.string,defaultClassNameDragging:a.a.string,defaultClassNameDragged:a.a.string,defaultPosition:a.a.shape({x:a.a.number,y:a.a.number}),positionOffset:a.a.shape({x:a.a.oneOfType([a.a.number,a.a.string]),y:a.a.oneOfType([a.a.number,a.a.string])}),position:a.a.shape({x:a.a.number,y:a.a.number}),className:d.a,style:d.a,transform:d.a})),k(j,"defaultProps",b({},h.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null,scale:1}))},function(e,t,n){"use strict";var r=n(12);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("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");throw u.name="Invariant Violation",u}}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,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}]))},f2p0:function(e,t,n){var r=n("gEzS"),o=n("GZgP"),i=n("Xm/D");e.exports=function(e){return o(e)?i(e):r(e)}},f4Rk:function(e,t,n){"use strict";var r=n("J6ay"),o=n("OW5c");e.exports=function(){return r(),"function"==typeof Promise.allSettled?Promise.allSettled:o}},fD9S:function(e,t,n){var r=n("1Mu/"),o=n("ct80"),i=n("8r/q");e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},fDXD:function(e,t,n){var r=n("XU0c"),o=n("WTd3"),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},fI9u:function(e,t,n){"use strict";n("1Iuc"),Object.defineProperty(t,"__esModule",{value:!0}),t.Field=void 0;var r,o=(r=n("ERkP"))&&r.__esModule?r:{default:r},i=n("VSTh");var a=i.styled.label(function(e){var t=e.theme;return{display:"flex",borderBottom:"1px solid ".concat(t.appBorderColor),margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}}),u=i.styled.span(function(e){return{minWidth:100,fontWeight:e.theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}}),l=function(e){var t=e.label,n=e.children;return o.default.createElement(a,null,t?o.default.createElement(u,null,o.default.createElement("span",null,t)):null,n)};t.Field=l,l.displayName="Field",l.defaultProps={label:void 0}},"fN0/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockBackgroundStyle=void 0;t.getBlockBackgroundStyle=function(e){return{borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:"light"===e.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:"1px solid ".concat(e.appBorderColor)}}},fRV1:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},fVMg:function(e,t,n){var r=n("9JhN"),o=n("TN3B"),i=n("HYrn"),a=n("56Cj"),u=r.Symbol,l=o("wks");e.exports=function(e){return l[e]||(l[e]=a&&u[e]||(a?u:i)("Symbol."+e))}},fcpJ:function(e,t,n){"use strict";n("IAdD"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.mapper=void 0;var r=a(n("ERkP")),o=n("9NtK"),i=a(n("AgXl"));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t *":{flex:1}},function(e){return{background:e.theme.barBg}}),m=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=p(this,d(t).call(this));var r=e.options;return n.state={active:"number"==typeof r.initialActive?r.initialActive:1},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,o.Component),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.Nav,r=t.Preview,i=t.Panel,a=t.Notifications,c=t.pages,s=t.viewMode,f=t.options,p=this.state.active;return o.default.createElement(l.Root,null,o.default.createElement(a,{placement:{position:"fixed",bottom:60,left:20,right:20}}),o.default.createElement(y,{active:p},o.default.createElement(n,null),o.default.createElement("div",null,o.default.createElement("div",{hidden:!s},o.default.createElement(r,{isToolshown:f.isToolshown,id:"main",viewMode:s,debug:f})),c.map(function(e){var t=e.key,n=e.route,r=e.render;return o.default.createElement(n,{key:t},r())})),o.default.createElement(i,{hidden:!s})),o.default.createElement(g,{active:p},o.default.createElement(u.TabButton,{onClick:function(){return e.setState({active:0})},active:0===p},"Sidebar"),o.default.createElement(u.TabButton,{onClick:function(){return e.setState({active:1})},active:1===p||!1===p},s?"Canvas":null,c.map(function(e){var t=e.key,n=e.route;return o.default.createElement(n,{key:t},t)})),s?o.default.createElement(u.TabButton,{onClick:function(){return e.setState({active:2})},active:2===p},"Addons"):null))}}])&&f(n.prototype,r),i&&f(n,i),t}();t.Mobile=m,m.displayName="Mobile",m.displayName="MobileLayout",m.propTypes={Nav:i.default.any.isRequired,Preview:i.default.any.isRequired,Panel:i.default.any.isRequired,Notifications:i.default.any.isRequired,pages:i.default.arrayOf(i.default.shape({key:i.default.string.isRequired,route:i.default.func.isRequired,render:i.default.func.isRequired})).isRequired,viewMode:i.default.oneOf(["story","info","docs","settings"]),options:i.default.shape({initialActive:i.default.number,isToolshown:i.default.bool}).isRequired},m.defaultProps={viewMode:void 0}},"g6a+":function(e,t,n){var r=n("ct80"),o=n("amH4"),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},gAlO:function(e,t,n){"use strict";n.r(t),n.d(t,"ManagerContext",function(){return d}),n.d(t,"default",function(){return h});var r=n("97Jx"),o=n.n(r),i=n("W/Kd"),a=n.n(i),u=n("1Pcy"),l=n.n(u),c=n("KEM+"),s=n.n(c),f=n("ERkP"),p=n("H59W"),d=n.n(p)()({setReferenceNode:void 0,referenceNode:void 0}),h=function(e){function t(){var t;return t=e.call(this)||this,s()(l()(l()(t)),"setReferenceNode",function(e){e&&t.state.context.referenceNode!==e&&t.setState(function(t){var n=t.context;return{context:o()({},n,{referenceNode:e})}})}),t.state={context:{setReferenceNode:t.setReferenceNode,referenceNode:void 0}},t}return a()(t,e),t.prototype.render=function(){return f.createElement(d.Provider,{value:this.state.context},this.props.children)},t}(f.Component)},gC6d:function(e,t,n){var r=n("ct80");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},gEzS:function(e,t){e.exports=function(e){return e.split("")}},gIHd:function(e,t,n){var r=n("cww3"),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,""")+'"'),u+">"+a+""}},gIIS:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,u,l=1,c={},s=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),r=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1&&void 0!==arguments[1]?arguments[1]:[],n=a.default.getChannel();return x(function(){return Object.entries(e).forEach(function(e){var t=l(e,2),r=t[0],o=t[1];return n.on(r,o)}),function(){Object.entries(e).forEach(function(e){var t=l(e,2),r=t[0],o=t[1];return n.removeListener(r,o)})}},[].concat(c(Object.keys(e)),c(t))),n.emit.bind(n)},t.useStoryContext=S,t.useParameter=function(e,t){var n=S().parameters;if(e)return n[e]||t;return},t.applyHooks=t.HooksContext=void 0;var r=u(n("NyMY")),o=n("uXhg"),i=n("aPAC"),a=u(n("KTRZ"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t25)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),i}}};var v=function(e,t){return e.length===t.length&&e.every(function(e,n){return e===t[n]})},y=function(){return new Error("Storybook preview hooks can only be called inside decorators and story functions.")};function g(){return r.default.STORYBOOK_HOOKS_CONTEXT||null}function m(){var e=g();if(null==e)throw y();return e}function b(e,t,n){return function(e,t,n){var r=m();if("MOUNT"===r.currentPhase){null==n||Array.isArray(n)||o.logger.warn("".concat(e," received a final argument that is not an array (instead, received ").concat(n,"). When specified, the final argument must be an array."));var i={name:e,deps:n};return r.currentHooks.push(i),t(i),i}if("UPDATE"===r.currentPhase){var a=r.getNextHook();if(null==a)throw new Error("Rendered more hooks than during the previous render.");return a.name!==e&&o.logger.warn("Storybook has detected a change in the order of Hooks".concat(r.currentDecoratorName?" called by ".concat(r.currentDecoratorName):"",". This will lead to bugs and errors if not fixed.")),null!=n&&null==a.deps&&o.logger.warn("".concat(e," received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.")),null!=n&&null!=a.deps&&n.length!==a.deps.length&&o.logger.warn("The final argument passed to ".concat(e," changed size between renders. The order and size of this array must remain constant.\nPrevious: ").concat(a.deps,"\nIncoming: ").concat(n)),null!=n&&null!=a.deps&&v(n,a.deps)||(t(a),a.deps=n),a}throw y()}(e,function(e){e.memoizedState=t()},n).memoizedState}function w(e,t){return b(e,function(){return{current:t}},[])}function O(e,t){var n=w(e,"function"==typeof t?t():t);return[n.current,function(e){n.current="function"==typeof e?e(n.current):e,function(){var e=g();if(null!=e&&"NONE"!==e.currentPhase)e.hasUpdates=!0;else try{a.default.getChannel().emit(i.FORCE_RE_RENDER)}catch(e){o.logger.warn("State updates of Storybook preview hooks work only in browser")}}()}]}function x(e,t){var n=m(),r=b("useEffect",function(){return{create:e}},t);n.currentEffects.includes(r)||n.currentEffects.push(r)}function S(){var e=m().currentContext;if(null==e)throw y();return e}},glwy:function(e,t,n){"use strict";n.r(t);var r=n("9XKY"),o=n("20Fm"),i=n("W0QR"),a=new r.default(Object(i.default)(/(?:\n\s*)/g,""),o.default);t.default=a},guiJ:function(e,t,n){var r=n("FXyv"),o=n("uZvN"),i=n("sX5C"),a=n("1odi"),u=n("kySU"),l=n("8r/q"),c=n("MyxS")("IE_PROTO"),s=function(){},f=function(){var e,t=l("iframe"),n=i.length;for(t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file + }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file diff --git a/docs/main.bc0cb98698183044dc6d.bundle.js b/docs/main.20ad8f7850d8103b52d0.bundle.js similarity index 55% rename from docs/main.bc0cb98698183044dc6d.bundle.js rename to docs/main.20ad8f7850d8103b52d0.bundle.js index b9e6cb81..b403158b 100644 --- a/docs/main.bc0cb98698183044dc6d.bundle.js +++ b/docs/main.20ad8f7850d8103b52d0.bundle.js @@ -1,2 +1,2 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1318:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(12);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1319:function(module,exports,__webpack_require__){},1320:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1321,"./pagination.stories.mdx":1348,"./picker.stories.mdx":1352,"./quarterPicker.stories.mdx":1344,"./table.stories.mdx":1350,"./tooltip.stories.mdx":1353};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1320},1321:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(57),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(1),__webpack_require__(0)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(4);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
\n \n \n \n
"};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToKey={Default:"defaultStory","Cumulative Picker":"cumulativePicker","w/ Periods":"wPeriods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1345:function(module,exports,__webpack_require__){},1346:function(module,exports,__webpack_require__){},1348:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),classCallCheck=(__webpack_require__(23),__webpack_require__(27),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),accounting=(__webpack_require__(1332),__webpack_require__(8),__webpack_require__(167)),accounting_default=__webpack_require__.n(accounting),lodash=__webpack_require__(11),accountingOptions={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},formatNumberWithPrecision=function(number,precision){var options=Object.assign({},accountingOptions,{symbol:"",precision:precision});return accounting_default.a.formatMoney(number,options)},index_es=(__webpack_require__(13),__webpack_require__(49));function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var propTypes={changePage:prop_types_default.a.func.isRequired,totalItems:prop_types_default.a.number.isRequired,currentPage:prop_types_default.a.number.isRequired,pageSize:prop_types_default.a.number.isRequired},Pager_ref=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref2=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref3=react_default.a.createElement(index_es.a,{icon:"angle-left"}),_ref4=react_default.a.createElement(index_es.a,{icon:"angle-right"}),Pager_Pager=function(_React$Component){inherits_default()(Pager,_React$Component);var _super=_createSuper(Pager);function Pager(){return classCallCheck_default()(this,Pager),_super.apply(this,arguments)}return createClass_default()(Pager,[{key:"getPager",value:function getPager(){var startPage,endPage,_this$props=this.props,totalItems=_this$props.totalItems,currentPage=_this$props.currentPage,pageSize=_this$props.pageSize,changePage=_this$props.changePage,totalPages=Math.ceil(totalItems/pageSize),prevEllipses=Pager_ref,nextEllipses=_ref2,firstButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(1)}},1)),lastButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(totalPages)}},formatNumberWithPrecision(totalPages,0)));5>totalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(152),__webpack_require__(205);var assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized);function LimitSelector_createSuper(Derived){var hasNativeReflectConstruct=function LimitSelector_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){inherits_default()(LimitSelector,_React$Component);var _super=LimitSelector_createSuper(LimitSelector);function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=_super.call(this,props)).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);function GoToPage_createSuper(Derived){var hasNativeReflectConstruct=function GoToPage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){inherits_default()(GoToPage,_React$Component);var _super=GoToPage_createSuper(GoToPage);function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=_super.call(this,props)).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n } totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToKey={'Limit selector and "Go to page"':"limitSelectorAndGoToPage",'"Go to Page"':"goToPage","Limit Selector":"limitSelector","Custom Results Text":"customResultsText","Default Results Text":"defaultResultsText",Default:"defaultStory"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1350:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"table",(function(){return table_stories_table})),__webpack_require__.d(__webpack_exports__,"tableWithoutSorting",(function(){return table_stories_tableWithoutSorting})),__webpack_require__.d(__webpack_exports__,"expandableTableWithoutDivider",(function(){return table_stories_expandableTableWithoutDivider})),__webpack_require__.d(__webpack_exports__,"expandableTableWithDivider",(function(){return table_stories_expandableTableWithDivider}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),prop_types=(__webpack_require__(13),__webpack_require__(2)),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),index_es=__webpack_require__(49),propTypes={isActive:prop_types_default.a.bool,title:prop_types_default.a.string.isRequired,displayName:prop_types_default.a.oneOfType([prop_types_default.a.string,prop_types_default.a.element]).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,right:prop_types_default.a.bool},TableHeader_ref=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-up"}),_ref2=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-down"}),TableHeaderCell=function(props){var _props$currentSort,_props$currentSort2,clickedSort=function(e){props.updateSort(props.title,e.target.value)},activeAsc=props.isActive&&"asc"===(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.direction)?" table-header__icon_active":"",activeDesc=props.isActive&&"desc"===(null===(_props$currentSort2=props.currentSort)||void 0===_props$currentSort2?void 0:_props$currentSort2.direction)?" table-header__icon_active":"",sort=react_default.a.createElement("div",{className:"table-header__sort"},react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeAsc),value:"asc",title:"Sort table by ascending ".concat(props.displayName),"aria-label":"Sort table by ascending ".concat(props.displayName)},TableHeader_ref),react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeDesc),value:"desc",title:"Sort table by descending ".concat(props.displayName),"aria-label":"Sort table by descending ".concat(props.displayName)},_ref2));return react_default.a.createElement("th",{className:"table-header"},react_default.a.createElement("div",{className:"table-header__content".concat(props.right?" table-header__content_right":"")},react_default.a.createElement("div",{className:"table-header__label"},props.displayName),props.updateSort&&sort))};TableHeaderCell.displayName="TableHeaderCell",TableHeaderCell.propTypes=propTypes,TableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"TableHeaderCell",props:{isActive:{type:{name:"bool"},required:!1,description:""},title:{type:{name:"string"},required:!0,description:""},displayName:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},right:{type:{name:"bool"},required:!1,description:""}}};var TableHeader=TableHeaderCell;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/TableHeader.jsx"]={name:"TableHeaderCell",docgenInfo:TableHeaderCell.__docgenInfo,path:"components/table/TableHeader.jsx"});__webpack_require__(23),__webpack_require__(26);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),ExpandableRow_propTypes={data:prop_types_default.a.object,columns:prop_types_default.a.array,oddClass:prop_types_default.a.string,divider:prop_types_default.a.string},ExpandableRow=function(_ref){var data=_ref.data,columns=_ref.columns,oddClass=_ref.oddClass,divider=_ref.divider,_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],icon=expanded?"chevron-down":"chevron-right",columnTitles=columns.map((function(_ref2){return _ref2.title})),dividerRow=react_default.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(oddClass)},react_default.a.createElement("td",{colSpan:columns.length,className:"usda-table__cell usda-table__cell_child"},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},divider))),_ref3=react_default.a.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:function toggleExpand(){setExpanded(!expanded)}},react_default.a.createElement(index_es.a,{icon:icon,size:"2x"}));return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("tr",{className:"usda-table__row".concat(oddClass," usda-table__row_expandable")},columnTitles.map((function(col,i){return"name"===col&&data.children?react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell"},_ref3,react_default.a.createElement("p",null,data.name)):react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat("name"===col?" usda-table__cell_name":"").concat(columns[i].right?" usda-table__cell_right":"")},data[col])}))),data.children&&expanded?react_default.a.createElement(react_default.a.Fragment,null,divider&÷rRow,data.children.map((function(childRow,j){var lastClass=j===data.children.length-1?" usda-table__child-row_last":"";return react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__child-row".concat(lastClass).concat(oddClass)},columnTitles.map((function(col,k){return react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell ".concat(columns[k].right?" usda-table__cell_right":""," usda-table__cell_child")},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},childRow[col]))})))}))):null)};ExpandableRow.propTypes=ExpandableRow_propTypes,ExpandableRow.__docgenInfo={description:"",methods:[],displayName:"ExpandableRow",props:{data:{type:{name:"object"},required:!1,description:""},columns:{type:{name:"array"},required:!1,description:""},oddClass:{type:{name:"string"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_ExpandableRow=ExpandableRow;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/ExpandableRow.jsx"]={name:"ExpandableRow",docgenInfo:ExpandableRow.__docgenInfo,path:"components/table/ExpandableRow.jsx"}),__webpack_require__(1345);var Table_propTypes={columns:prop_types_default.a.arrayOf(prop_types_default.a.object).isRequired,rows:prop_types_default.a.arrayOf(Object(prop_types.oneOfType)([prop_types_default.a.array,prop_types_default.a.object])).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,expandable:prop_types_default.a.bool,divider:prop_types_default.a.string},Table=function(props){return react_default.a.createElement("table",{className:"usda-table"},react_default.a.createElement("thead",{className:"usda-table__head"},react_default.a.createElement("tr",{className:"usda-table__row"},props.columns.map((function(col){var _props$currentSort;return react_default.a.createElement(TableHeader,extends_default()({key:Object(lodash.uniqueId)(),currentSort:props.currentSort,updateSort:props.updateSort,isActive:(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.field)===col.title},col))})))),react_default.a.createElement("tbody",{className:"usda-table__body"},props.rows.map((function(row,i){var oddClass=0==i%2?"":" usda-table__row_odd";return props.expandable?react_default.a.createElement(table_ExpandableRow,{key:Object(lodash.uniqueId)(),data:row,oddClass:oddClass,columns:props.columns,divider:props.divider}):react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__row".concat(oddClass)},row.map((function(data,j){var _props$columns$j;return props.columns[j]&&react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat((null===(_props$columns$j=props.columns[j])||void 0===_props$columns$j?void 0:_props$columns$j.right)?" usda-table__cell_right":"")},data)})))}))))};Table.displayName="Table",Table.propTypes=Table_propTypes,Table.__docgenInfo={description:"",methods:[],displayName:"Table",props:{columns:{type:{name:"arrayOf",value:{name:"object"}},required:!0,description:""},rows:{type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},expandable:{type:{name:"bool"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_Table=Table;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/Table.jsx"]={name:"Table",docgenInfo:Table.__docgenInfo,path:"components/table/Table.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(esm.mdx)("h3",null,"Other props:"),Object(esm.mdx)("ul",null,Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(esm.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(esm.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(esm.mdx)("inlineCode",{parentName:"li"},"children"))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(esm.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(esm.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(esm.mdx)(misc.a,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToKey={Table:"table","Table without Sorting":"tableWithoutSorting","Expandable Table without Divider":"expandableTableWithoutDivider","Expandable Table with Divider":"expandableTableWithDivider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1352:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),addon_actions_dist=__webpack_require__(84),index_es=__webpack_require__(49),slicedToArray=(__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(13),__webpack_require__(404),__webpack_require__(26),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(42),__webpack_require__(43)),slicedToArray_default=__webpack_require__.n(slicedToArray),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,pickerRef=Object(react.useRef)(null),buttonRef=Object(react.useRef)(null),_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread(_objectSpread({},styles),{},{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread(_objectSpread({},option),{},{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(17);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function picker_stories_objectSpread(target){for(var i=1;i\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(esm.mdx)(index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(esm.mdx)(index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToKey={Default:"defaultStory","w/ Children":"wChildren"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=picker_stories_objectSpread(picker_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1353:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),classCallCheck=(__webpack_require__(7),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(27),__webpack_require__(152),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(82),__webpack_require__(42),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),classnames=__webpack_require__(136),classnames_default=__webpack_require__.n(classnames),index_es=__webpack_require__(49);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;itotal?total-10:_this.props.wide&&"left"===_this.props.tooltipPosition?800total;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:_objectSpread({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("left"===this.props.tooltipPosition)this.setState({arrowDirection:"right",spacerStyle:{top:offsetTop,left:spaceToLeft-tooltipWidth-5,width:tooltipWidth}});else{var _startingPositionLeft=spaceToLeft+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:offsetTop,left:_startingPositionLeft+5,width:tooltipWidth}})}}}},{key:"showTooltip",value:function showTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.state.showTooltip||this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function closeTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function render(){var _this2=this,tooltip=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(tooltip=react_default.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},react_default.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function ref(div){_this2.tooltipReference=div}},react_default.a.createElement("div",{className:"tooltip__interior"},react_default.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),react_default.a.createElement("div",{className:"tooltip__content"},react_default.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),react_default.a.createElement("div",{className:classnames_default()(defineProperty_default()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},react_default.a.createElement("div",{ref:function ref(div){_this2.tooltipContainer=div}},react_default.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&tooltipIcons[this.props.icon]),tooltip))}}]),TooltipWrapper}(react_default.a.Component);TooltipWrapper_TooltipWrapper.displayName="TooltipWrapper",TooltipWrapper_TooltipWrapper.propTypes=propTypes,TooltipWrapper_TooltipWrapper.defaultProps=defaultProps,TooltipWrapper_TooltipWrapper.__docgenInfo={description:"",methods:[{name:"onMouseMoveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseLeaveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"getAvailableHorizontalSpace",docblock:null,modifiers:[],params:[],returns:null},{name:"getTooltipWidth",docblock:null,modifiers:[],params:[],returns:null},{name:"getDimensionsForMobile",docblock:null,modifiers:[],params:[{name:"isMobile",type:null},{name:"width",type:null}],returns:null},{name:"setTooltipDimensions",docblock:null,modifiers:[],params:[],returns:null},{name:"showTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"closeTooltip",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TooltipWrapper",props:{className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},children:{defaultValue:{value:"null",computed:!1},type:{name:"element"},required:!1,description:""},toolTipComponent:{defaultValue:{value:"null",computed:!1},required:!1},tooltipPosition:{defaultValue:{value:"'right'",computed:!1},type:{name:"string"},required:!1,description:""},wide:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},icon:{defaultValue:{value:'""',computed:!1},type:{name:"string"},required:!1,description:""},controlledProps:{defaultValue:{value:"{\n isControlled: false,\n showTooltip: () => {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},width:{defaultValue:{value:"375",computed:!1},type:{name:"number"},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\n right: 0, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(305);var misc=__webpack_require__(17);function tooltip_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function tooltip_stories_objectSpread(target){for(var i=1;i\n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
'};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToKey={"Tooltip Wrapper":"tooltipWrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=tooltip_stories_objectSpread(tooltip_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},17:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"h",(function(){return Tooltip})),__webpack_require__.d(__webpack_exports__,"b",(function(){return PaginationWrapper})),__webpack_require__.d(__webpack_exports__,"f",(function(){return QuarterPickerWrapper})),__webpack_require__.d(__webpack_exports__,"d",(function(){return QuarterPickerCumulative})),__webpack_require__.d(__webpack_exports__,"e",(function(){return QuarterPickerWithPeriods})),__webpack_require__.d(__webpack_exports__,"c",(function(){return PickerWrapper})),__webpack_require__.d(__webpack_exports__,"g",(function(){return TableWrapper})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BasicTableWrapper}));__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(22),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(380),__webpack_require__(82),__webpack_require__(25),__webpack_require__(42),__webpack_require__(28);var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(311),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__),react__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_20__),_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(305),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(69);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;iHere is some info.

",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},478:function(module,exports,__webpack_require__){__webpack_require__(479),__webpack_require__(625),module.exports=__webpack_require__(626)},543:function(module,exports){},626:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(165),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(469),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(477),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(166),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14);__webpack_require__(1318),__webpack_require__(1319);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1320),module)}.call(this,__webpack_require__(627)(module))},69:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));__webpack_require__(23),__webpack_require__(187),__webpack_require__(1340),__webpack_require__(51),__webpack_require__(81),__webpack_require__(13),__webpack_require__(182),__webpack_require__(10),__webpack_require__(205),__webpack_require__(82);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(1),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1342);var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,isCumulative=void 0!==_ref$isCumulative&&_ref$isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[478,1,2]]]); -//# sourceMappingURL=main.bc0cb98698183044dc6d.bundle.js.map \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1318:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(12);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1319:function(module,exports,__webpack_require__){},1320:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1321,"./pagination.stories.mdx":1348,"./picker.stories.mdx":1352,"./quarterPicker.stories.mdx":1344,"./table.stories.mdx":1350,"./tooltip.stories.mdx":1353};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1320},1321:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(57),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(1),__webpack_require__(0)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(4);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
\n \n \n \n
"};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToKey={Default:"defaultStory","Cumulative Picker":"cumulativePicker","w/ Periods":"wPeriods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1345:function(module,exports,__webpack_require__){},1346:function(module,exports,__webpack_require__){},1348:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),classCallCheck=(__webpack_require__(23),__webpack_require__(27),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),accounting=(__webpack_require__(1332),__webpack_require__(8),__webpack_require__(167)),accounting_default=__webpack_require__.n(accounting),lodash=__webpack_require__(11),accountingOptions={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},formatNumberWithPrecision=function(number,precision){var options=Object.assign({},accountingOptions,{symbol:"",precision:precision});return accounting_default.a.formatMoney(number,options)},index_es=(__webpack_require__(13),__webpack_require__(49));function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var propTypes={changePage:prop_types_default.a.func.isRequired,totalItems:prop_types_default.a.number.isRequired,currentPage:prop_types_default.a.number.isRequired,pageSize:prop_types_default.a.number.isRequired},Pager_ref=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref2=react_default.a.createElement("li",{className:"pager__ellipsis"},"..."),_ref3=react_default.a.createElement(index_es.a,{icon:"angle-left"}),_ref4=react_default.a.createElement(index_es.a,{icon:"angle-right"}),Pager_Pager=function(_React$Component){inherits_default()(Pager,_React$Component);var _super=_createSuper(Pager);function Pager(){return classCallCheck_default()(this,Pager),_super.apply(this,arguments)}return createClass_default()(Pager,[{key:"getPager",value:function getPager(){var startPage,endPage,_this$props=this.props,totalItems=_this$props.totalItems,currentPage=_this$props.currentPage,pageSize=_this$props.pageSize,changePage=_this$props.changePage,totalPages=Math.ceil(totalItems/pageSize),prevEllipses=Pager_ref,nextEllipses=_ref2,firstButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(1)}},1)),lastButton=react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button",type:"button",onClick:function onClick(){return changePage(totalPages)}},formatNumberWithPrecision(totalPages,0)));5>totalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(152),__webpack_require__(205);var assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized);function LimitSelector_createSuper(Derived){var hasNativeReflectConstruct=function LimitSelector_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){inherits_default()(LimitSelector,_React$Component);var _super=LimitSelector_createSuper(LimitSelector);function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=_super.call(this,props)).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);function GoToPage_createSuper(Derived){var hasNativeReflectConstruct=function GoToPage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){inherits_default()(GoToPage,_React$Component);var _super=GoToPage_createSuper(GoToPage);function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=_super.call(this,props)).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(esm.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(esm.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(esm.mdx)("div",{className:"usa-dt-pagination__totals"},Object(esm.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n } totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.b,null,Object(esm.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToKey={'Limit selector and "Go to page"':"limitSelectorAndGoToPage",'"Go to Page"':"goToPage","Limit Selector":"limitSelector","Custom Results Text":"customResultsText","Default Results Text":"defaultResultsText",Default:"defaultStory"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1350:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"table",(function(){return table_stories_table})),__webpack_require__.d(__webpack_exports__,"tableWithoutSorting",(function(){return table_stories_tableWithoutSorting})),__webpack_require__.d(__webpack_exports__,"expandableTableWithoutDivider",(function(){return table_stories_expandableTableWithoutDivider})),__webpack_require__.d(__webpack_exports__,"expandableTableWithDivider",(function(){return table_stories_expandableTableWithDivider}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),addon_a11y_dist=(__webpack_require__(31),__webpack_require__(53)),addon_actions_dist=__webpack_require__(84),prop_types=(__webpack_require__(13),__webpack_require__(2)),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),index_es=__webpack_require__(49),propTypes={isActive:prop_types_default.a.bool,title:prop_types_default.a.string.isRequired,displayName:prop_types_default.a.oneOfType([prop_types_default.a.string,prop_types_default.a.element]).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,right:prop_types_default.a.bool},TableHeader_ref=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-up"}),_ref2=react_default.a.createElement(index_es.a,{size:"2x",icon:"caret-down"}),TableHeaderCell=function(props){var _props$currentSort,_props$currentSort2,clickedSort=function(e){props.updateSort(props.title,e.target.value)},activeAsc=props.isActive&&"asc"===(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.direction)?" table-header__icon_active":"",activeDesc=props.isActive&&"desc"===(null===(_props$currentSort2=props.currentSort)||void 0===_props$currentSort2?void 0:_props$currentSort2.direction)?" table-header__icon_active":"",sort=react_default.a.createElement("div",{className:"table-header__sort"},react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeAsc),value:"asc",title:"Sort table by ascending ".concat(props.displayName),"aria-label":"Sort table by ascending ".concat(props.displayName)},TableHeader_ref),react_default.a.createElement("button",{onClick:clickedSort,className:"table-header__icon".concat(activeDesc),value:"desc",title:"Sort table by descending ".concat(props.displayName),"aria-label":"Sort table by descending ".concat(props.displayName)},_ref2));return react_default.a.createElement("th",{className:"table-header"},react_default.a.createElement("div",{className:"table-header__content".concat(props.right?" table-header__content_right":"")},react_default.a.createElement("div",{className:"table-header__label"},props.displayName),props.updateSort&&sort))};TableHeaderCell.displayName="TableHeaderCell",TableHeaderCell.propTypes=propTypes,TableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"TableHeaderCell",props:{isActive:{type:{name:"bool"},required:!1,description:""},title:{type:{name:"string"},required:!0,description:""},displayName:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},right:{type:{name:"bool"},required:!1,description:""}}};var TableHeader=TableHeaderCell;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/TableHeader.jsx"]={name:"TableHeaderCell",docgenInfo:TableHeaderCell.__docgenInfo,path:"components/table/TableHeader.jsx"});__webpack_require__(23),__webpack_require__(26);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),ExpandableRow_propTypes={data:prop_types_default.a.object,columns:prop_types_default.a.array,oddClass:prop_types_default.a.string,divider:prop_types_default.a.string},ExpandableRow=function(_ref){var data=_ref.data,columns=_ref.columns,oddClass=_ref.oddClass,divider=_ref.divider,_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],icon=expanded?"chevron-down":"chevron-right",columnTitles=columns.map((function(_ref2){return _ref2.title})),dividerRow=react_default.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(oddClass)},react_default.a.createElement("td",{colSpan:columns.length,className:"usda-table__cell usda-table__cell_child"},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},divider))),_ref3=react_default.a.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:function toggleExpand(){setExpanded(!expanded)}},react_default.a.createElement(index_es.a,{icon:icon,size:"2x"}));return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("tr",{className:"usda-table__row".concat(oddClass," usda-table__row_expandable")},columnTitles.map((function(col,i){return"name"===col&&data.children?react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell"},_ref3,react_default.a.createElement("p",null,data.name)):react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat("name"===col?" usda-table__cell_name":"").concat(columns[i].right?" usda-table__cell_right":"")},data[col])}))),data.children&&expanded?react_default.a.createElement(react_default.a.Fragment,null,divider&÷rRow,data.children.map((function(childRow,j){var lastClass=j===data.children.length-1?" usda-table__child-row_last":"";return react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__child-row".concat(lastClass).concat(oddClass)},columnTitles.map((function(col,k){return react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell ".concat(columns[k].right?" usda-table__cell_right":""," usda-table__cell_child")},react_default.a.createElement("div",{className:"usda-table__child-cell-content"},childRow[col]))})))}))):null)};ExpandableRow.propTypes=ExpandableRow_propTypes,ExpandableRow.__docgenInfo={description:"",methods:[],displayName:"ExpandableRow",props:{data:{type:{name:"object"},required:!1,description:""},columns:{type:{name:"array"},required:!1,description:""},oddClass:{type:{name:"string"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_ExpandableRow=ExpandableRow;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/ExpandableRow.jsx"]={name:"ExpandableRow",docgenInfo:ExpandableRow.__docgenInfo,path:"components/table/ExpandableRow.jsx"}),__webpack_require__(1345);var Table_propTypes={columns:prop_types_default.a.arrayOf(prop_types_default.a.object).isRequired,rows:prop_types_default.a.arrayOf(Object(prop_types.oneOfType)([prop_types_default.a.array,prop_types_default.a.object])).isRequired,currentSort:Object(prop_types.shape)({direction:Object(prop_types.oneOf)(["asc","desc"]),field:prop_types_default.a.string}),updateSort:prop_types_default.a.func,expandable:prop_types_default.a.bool,divider:prop_types_default.a.string},Table=function(props){return react_default.a.createElement("table",{className:"usda-table"},react_default.a.createElement("thead",{className:"usda-table__head"},react_default.a.createElement("tr",{className:"usda-table__row"},props.columns.map((function(col){var _props$currentSort;return react_default.a.createElement(TableHeader,extends_default()({key:Object(lodash.uniqueId)(),currentSort:props.currentSort,updateSort:props.updateSort,isActive:(null===(_props$currentSort=props.currentSort)||void 0===_props$currentSort?void 0:_props$currentSort.field)===col.title},col))})))),react_default.a.createElement("tbody",{className:"usda-table__body"},props.rows.map((function(row,i){var oddClass=0==i%2?"":" usda-table__row_odd";return props.expandable?react_default.a.createElement(table_ExpandableRow,{key:Object(lodash.uniqueId)(),data:row,oddClass:oddClass,columns:props.columns,divider:props.divider}):react_default.a.createElement("tr",{key:Object(lodash.uniqueId)(),className:"usda-table__row".concat(oddClass)},row.map((function(data,j){var _props$columns$j;return props.columns[j]&&react_default.a.createElement("td",{key:Object(lodash.uniqueId)(),className:"usda-table__cell".concat((null===(_props$columns$j=props.columns[j])||void 0===_props$columns$j?void 0:_props$columns$j.right)?" usda-table__cell_right":"")},data)})))}))))};Table.displayName="Table",Table.propTypes=Table_propTypes,Table.__docgenInfo={description:"",methods:[],displayName:"Table",props:{columns:{type:{name:"arrayOf",value:{name:"object"}},required:!0,description:""},rows:{type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!0,description:""},currentSort:{type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1,description:""},updateSort:{type:{name:"func"},required:!1,description:""},expandable:{type:{name:"bool"},required:!1,description:""},divider:{type:{name:"string"},required:!1,description:""}}};var table_Table=Table;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/table/Table.jsx"]={name:"Table",docgenInfo:Table.__docgenInfo,path:"components/table/Table.jsx"});var misc=__webpack_require__(17);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(esm.mdx)("h3",null,"Other props:"),Object(esm.mdx)("ul",null,Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(esm.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(esm.mdx)("li",{parentName:"ul"},Object(esm.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(esm.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(esm.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(esm.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(esm.mdx)("inlineCode",{parentName:"li"},"children"))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(esm.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(esm.mdx)(blocks.Preview,{mdxType:"Preview"},Object(esm.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(esm.mdx)(misc.g,{mdxType:"TableWrapper"},Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(esm.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(esm.mdx)(misc.a,null,Object(esm.mdx)(table_Table,{rows:[[Object(esm.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(esm.mdx)(react_default.a.Fragment,null,Object(esm.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(esm.mdx)(misc.g,null,Object(esm.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToKey={Table:"table","Table without Sorting":"tableWithoutSorting","Expandable Table without Divider":"expandableTableWithoutDivider","Expandable Table with Divider":"expandableTableWithDivider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=_objectSpread(_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1352:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),addon_actions_dist=__webpack_require__(84),index_es=__webpack_require__(49),slicedToArray=(__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(13),__webpack_require__(404),__webpack_require__(26),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(42),__webpack_require__(43)),slicedToArray_default=__webpack_require__.n(slicedToArray),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,pickerRef=Object(react.useRef)(null),buttonRef=Object(react.useRef)(null),_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread(_objectSpread({},styles),{},{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread(_objectSpread({},option),{},{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(17);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function picker_stories_objectSpread(target){for(var i=1;i\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(esm.mdx)("h2",null,"Integration Status"),Object(esm.mdx)("p",null,"Answers the question, where is this component used?"),Object(esm.mdx)("h3",null,"USASpending"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(esm.mdx)("h2",null,"Broker Integration Status"),Object(esm.mdx)("ul",{className:"contains-task-list"},Object(esm.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(esm.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(esm.mdx)(index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(esm.mdx)(misc.c,null,Object(esm.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(esm.mdx)(index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToKey={Default:"defaultStory","w/ Children":"wChildren"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=picker_stories_objectSpread(picker_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1353:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var defineProperty=__webpack_require__(5),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(3),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(57),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(1),react_default=__webpack_require__.n(react),esm=__webpack_require__(0),blocks=__webpack_require__(4),dist=__webpack_require__(31),addon_a11y_dist=__webpack_require__(53),classCallCheck=(__webpack_require__(7),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(27),__webpack_require__(152),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(164),__webpack_require__(30),__webpack_require__(82),__webpack_require__(42),__webpack_require__(65)),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(66),createClass_default=__webpack_require__.n(createClass),assertThisInitialized=__webpack_require__(16),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),inherits=__webpack_require__(68),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(67),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(50),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),classnames=__webpack_require__(136),classnames_default=__webpack_require__.n(classnames),index_es=__webpack_require__(49);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;itotal?total-10:_this.props.wide&&"left"===_this.props.tooltipPosition?800total;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:_objectSpread({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("left"===this.props.tooltipPosition)this.setState({arrowDirection:"right",spacerStyle:{top:offsetTop,left:spaceToLeft-tooltipWidth-5,width:tooltipWidth}});else{var _startingPositionLeft=spaceToLeft+this.tooltipContainer.clientWidth;this.setState({arrowDirection:"left",spacerStyle:{top:offsetTop,left:_startingPositionLeft+5,width:tooltipWidth}})}}}},{key:"showTooltip",value:function showTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.state.showTooltip||this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function closeTooltip(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.state.showTooltip&&this.setState({showTooltip:!1})}},{key:"render",value:function render(){var _this2=this,tooltip=null;return(this.props.controlledProps.isControlled&&this.props.controlledProps.isVisible||this.state.showTooltip||this.state.isHoveringOnTooltip)&&(tooltip=react_default.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},react_default.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:this.onMouseMoveTooltip,onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function ref(div){_this2.tooltipReference=div}},react_default.a.createElement("div",{className:"tooltip__interior"},react_default.a.createElement("div",{className:"tooltip-pointer ".concat(this.state.arrowDirection)}),react_default.a.createElement("div",{className:"tooltip__content"},react_default.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),react_default.a.createElement("div",{className:classnames_default()(defineProperty_default()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},react_default.a.createElement("div",{ref:function ref(div){_this2.tooltipContainer=div}},react_default.a.createElement("div",{role:"button",tabIndex:"0","aria-label":"Tooltip Hover Wrapper",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&tooltipIcons[this.props.icon]),tooltip))}}]),TooltipWrapper}(react_default.a.Component);TooltipWrapper_TooltipWrapper.displayName="TooltipWrapper",TooltipWrapper_TooltipWrapper.propTypes=propTypes,TooltipWrapper_TooltipWrapper.defaultProps=defaultProps,TooltipWrapper_TooltipWrapper.__docgenInfo={description:"",methods:[{name:"onMouseMoveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseLeaveTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"getAvailableHorizontalSpace",docblock:null,modifiers:[],params:[],returns:null},{name:"getTooltipWidth",docblock:null,modifiers:[],params:[],returns:null},{name:"getDimensionsForMobile",docblock:null,modifiers:[],params:[{name:"isMobile",type:null},{name:"width",type:null}],returns:null},{name:"setTooltipDimensions",docblock:null,modifiers:[],params:[],returns:null},{name:"showTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"closeTooltip",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TooltipWrapper",props:{className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},children:{defaultValue:{value:"null",computed:!1},type:{name:"element"},required:!1,description:""},toolTipComponent:{defaultValue:{value:"null",computed:!1},required:!1},tooltipPosition:{defaultValue:{value:"'right'",computed:!1},type:{name:"string"},required:!1,description:""},wide:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},icon:{defaultValue:{value:'""',computed:!1},type:{name:"string"},required:!1,description:""},controlledProps:{defaultValue:{value:"{\n isControlled: false,\n showTooltip: () => {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},width:{defaultValue:{value:"375",computed:!1},type:{name:"number"},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\n right: 0, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(305);var misc=__webpack_require__(17);function tooltip_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function tooltip_stories_objectSpread(target){for(var i=1;i\n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
'};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToKey={"Tooltip Wrapper":"tooltipWrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=tooltip_stories_objectSpread(tooltip_stories_objectSpread({},componentMeta.parameters.docs||{}),{},{page:function page(){return Object(esm.mdx)(blocks.AddContext,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.mdx)(MDXContent,null))}});__webpack_exports__.default=componentMeta},17:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"h",(function(){return Tooltip})),__webpack_require__.d(__webpack_exports__,"b",(function(){return PaginationWrapper})),__webpack_require__.d(__webpack_exports__,"f",(function(){return QuarterPickerWrapper})),__webpack_require__.d(__webpack_exports__,"d",(function(){return QuarterPickerCumulative})),__webpack_require__.d(__webpack_exports__,"e",(function(){return QuarterPickerWithPeriods})),__webpack_require__.d(__webpack_exports__,"c",(function(){return PickerWrapper})),__webpack_require__.d(__webpack_exports__,"g",(function(){return TableWrapper})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BasicTableWrapper}));__webpack_require__(7),__webpack_require__(23),__webpack_require__(51),__webpack_require__(40),__webpack_require__(81),__webpack_require__(22),__webpack_require__(64),__webpack_require__(48),__webpack_require__(300),__webpack_require__(301),__webpack_require__(10),__webpack_require__(15),__webpack_require__(380),__webpack_require__(82),__webpack_require__(25),__webpack_require__(42),__webpack_require__(28);var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(311),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_17__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(5),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_18__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_19__),react__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_20__),_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(305),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(69);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var source,i=1;iHere is some info.

",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},478:function(module,exports,__webpack_require__){__webpack_require__(479),__webpack_require__(625),module.exports=__webpack_require__(626)},543:function(module,exports){},626:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(43),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(165),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(469),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(477),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(166),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14);__webpack_require__(1318),__webpack_require__(1319);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1320),module)}.call(this,__webpack_require__(627)(module))},69:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));__webpack_require__(23),__webpack_require__(187),__webpack_require__(1340),__webpack_require__(51),__webpack_require__(81),__webpack_require__(13),__webpack_require__(182),__webpack_require__(10),__webpack_require__(205),__webpack_require__(82);var slicedToArray=__webpack_require__(43),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(1),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(11),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1342);var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,isCumulative=void 0!==_ref$isCumulative&&_ref$isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[478,1,2]]]); +//# sourceMappingURL=main.20ad8f7850d8103b52d0.bundle.js.map \ No newline at end of file diff --git a/docs/main.20ad8f7850d8103b52d0.bundle.js.map b/docs/main.20ad8f7850d8103b52d0.bundle.js.map new file mode 100644 index 00000000..4eef2dc5 --- /dev/null +++ b/docs/main.20ad8f7850d8103b52d0.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.20ad8f7850d8103b52d0.bundle.js","sources":["webpack:///main.20ad8f7850d8103b52d0.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/main.bc0cb98698183044dc6d.bundle.js.map b/docs/main.bc0cb98698183044dc6d.bundle.js.map deleted file mode 100644 index 93015ae6..00000000 --- a/docs/main.bc0cb98698183044dc6d.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.bc0cb98698183044dc6d.bundle.js","sources":["webpack:///main.bc0cb98698183044dc6d.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/runtime~main.bc0cb98698183044dc6d.bundle.js b/docs/runtime~main.20ad8f7850d8103b52d0.bundle.js similarity index 97% rename from docs/runtime~main.bc0cb98698183044dc6d.bundle.js rename to docs/runtime~main.20ad8f7850d8103b52d0.bundle.js index 6c1da885..c8153dc6 100644 --- a/docs/runtime~main.bc0cb98698183044dc6d.bundle.js +++ b/docs/runtime~main.20ad8f7850d8103b52d0.bundle.js @@ -1,2 +1,2 @@ !function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MDXContext=react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({}),withMDXComponents=function withMDXComponents(Component){return function(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_extends({},props,{components:allComponents}))}},useMDXComponents=function useMDXComponents(components){var contextComponents=react__WEBPACK_IMPORTED_MODULE_0___default.a.useContext(MDXContext),allComponents=contextComponents;return components&&(allComponents=function isFunction(obj){return"function"==typeof obj}(components)?components(contextComponents):_objectSpread2(_objectSpread2({},contextComponents),components)),allComponents},MDXProvider=function MDXProvider(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(MDXContext.Provider,{value:allComponents},props.children)},DEFAULTS={inlineCode:"code",wrapper:function wrapper(_ref){var children=_ref.children;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,{},children)}},MDXCreateElement=react__WEBPACK_IMPORTED_MODULE_0___default.a.forwardRef((function(props,ref){var propComponents=props.components,mdxType=props.mdxType,originalType=props.originalType,parentName=props.parentName,etc=_objectWithoutProperties(props,["components","mdxType","originalType","parentName"]),components=useMDXComponents(propComponents),type=mdxType,Component=components["".concat(parentName,".").concat(type)]||components[type]||DEFAULTS[type]||originalType;return propComponents?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2(_objectSpread2({ref:ref},etc),{},{components:propComponents})):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2({ref:ref},etc))}));function createElement(type,props){var args=arguments,mdxType=props&&props.mdxType;if("string"==typeof type||mdxType){var argsLength=args.length,createElementArgArray=new Array(argsLength);createElementArgArray[0]=MDXCreateElement;var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&(newProps[key]=props[key]);newProps.originalType=type,newProps.mdxType="string"==typeof type?type:mdxType,createElementArgArray[1]=newProps;for(var i=2;i1&&"boolean"!=typeof allowMissing)throw new TypeError('"allowMissing" argument must be a boolean');for(var parts=stringToPath(name),value=getBaseIntrinsic("%"+(parts.length>0?parts[0]:"")+"%",allowMissing),i=1;i=parts.length){var desc=$gOPD(value,parts[i]);if(!allowMissing&&!(parts[i]in value))throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.");value=desc?desc.get||desc.value:value[parts[i]]}else value=value[parts[i]];return value}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),global=__webpack_require__(24),getBuiltIn=__webpack_require__(101),IS_PURE=__webpack_require__(100),DESCRIPTORS=__webpack_require__(44),NATIVE_SYMBOL=__webpack_require__(243),USE_SYMBOL_AS_UID=__webpack_require__(354),fails=__webpack_require__(21),has=__webpack_require__(47),isArray=__webpack_require__(142),isObject=__webpack_require__(37),anObject=__webpack_require__(45),toObject=__webpack_require__(61),toIndexedObject=__webpack_require__(71),toPrimitive=__webpack_require__(140),createPropertyDescriptor=__webpack_require__(124),nativeObjectCreate=__webpack_require__(102),objectKeys=__webpack_require__(145),getOwnPropertyNamesModule=__webpack_require__(176),getOwnPropertyNamesExternal=__webpack_require__(605),getOwnPropertySymbolsModule=__webpack_require__(241),getOwnPropertyDescriptorModule=__webpack_require__(88),definePropertyModule=__webpack_require__(52),propertyIsEnumerableModule=__webpack_require__(173),createNonEnumerableProperty=__webpack_require__(77),redefine=__webpack_require__(60),shared=__webpack_require__(237),sharedKey=__webpack_require__(174),hiddenKeys=__webpack_require__(141),uid=__webpack_require__(175),wellKnownSymbol=__webpack_require__(33),wrappedWellKnownSymbolModule=__webpack_require__(356),defineWellKnownSymbol=__webpack_require__(46),setToStringTag=__webpack_require__(89),InternalStateModule=__webpack_require__(78),$forEach=__webpack_require__(103).forEach,HIDDEN=sharedKey("hidden"),TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Symbol"),ObjectPrototype=Object.prototype,$Symbol=global.Symbol,$stringify=getBuiltIn("JSON","stringify"),nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,AllSymbols=shared("symbols"),ObjectPrototypeSymbols=shared("op-symbols"),StringToSymbolRegistry=shared("string-to-symbol-registry"),SymbolToStringRegistry=shared("symbol-to-string-registry"),WellKnownSymbolsStore=shared("wks"),QObject=global.QObject,USE_SETTER=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDescriptor=DESCRIPTORS&&fails((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(O,P,Attributes){var ObjectPrototypeDescriptor=nativeGetOwnPropertyDescriptor(ObjectPrototype,P);ObjectPrototypeDescriptor&&delete ObjectPrototype[P],nativeDefineProperty(O,P,Attributes),ObjectPrototypeDescriptor&&O!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,P,ObjectPrototypeDescriptor)}:nativeDefineProperty,wrap=function(tag,description){var symbol=AllSymbols[tag]=nativeObjectCreate($Symbol.prototype);return setInternalState(symbol,{type:"Symbol",tag:tag,description:description}),DESCRIPTORS||(symbol.description=description),symbol},isSymbol=USE_SYMBOL_AS_UID?function(it){return"symbol"==typeof it}:function(it){return Object(it)instanceof $Symbol},$defineProperty=function defineProperty(O,P,Attributes){O===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,P,Attributes),anObject(O);var key=toPrimitive(P,!0);return anObject(Attributes),has(AllSymbols,key)?(Attributes.enumerable?(has(O,HIDDEN)&&O[HIDDEN][key]&&(O[HIDDEN][key]=!1),Attributes=nativeObjectCreate(Attributes,{enumerable:createPropertyDescriptor(0,!1)})):(has(O,HIDDEN)||nativeDefineProperty(O,HIDDEN,createPropertyDescriptor(1,{})),O[HIDDEN][key]=!0),setSymbolDescriptor(O,key,Attributes)):nativeDefineProperty(O,key,Attributes)},$defineProperties=function defineProperties(O,Properties){anObject(O);var properties=toIndexedObject(Properties),keys=objectKeys(properties).concat($getOwnPropertySymbols(properties));return $forEach(keys,(function(key){DESCRIPTORS&&!$propertyIsEnumerable.call(properties,key)||$defineProperty(O,key,properties[key])})),O},$propertyIsEnumerable=function propertyIsEnumerable(V){var P=toPrimitive(V,!0),enumerable=nativePropertyIsEnumerable.call(this,P);return!(this===ObjectPrototype&&has(AllSymbols,P)&&!has(ObjectPrototypeSymbols,P))&&(!(enumerable||!has(this,P)||!has(AllSymbols,P)||has(this,HIDDEN)&&this[HIDDEN][P])||enumerable)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(O,P){var it=toIndexedObject(O),key=toPrimitive(P,!0);if(it!==ObjectPrototype||!has(AllSymbols,key)||has(ObjectPrototypeSymbols,key)){var descriptor=nativeGetOwnPropertyDescriptor(it,key);return!descriptor||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(descriptor.enumerable=!0),descriptor}},$getOwnPropertyNames=function getOwnPropertyNames(O){var names=nativeGetOwnPropertyNames(toIndexedObject(O)),result=[];return $forEach(names,(function(key){has(AllSymbols,key)||has(hiddenKeys,key)||result.push(key)})),result},$getOwnPropertySymbols=function getOwnPropertySymbols(O){var IS_OBJECT_PROTOTYPE=O===ObjectPrototype,names=nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE?ObjectPrototypeSymbols:toIndexedObject(O)),result=[];return $forEach(names,(function(key){!has(AllSymbols,key)||IS_OBJECT_PROTOTYPE&&!has(ObjectPrototype,key)||result.push(AllSymbols[key])})),result};(NATIVE_SYMBOL||(redefine(($Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor");var description=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,tag=uid(description),setter=function(value){this===ObjectPrototype&&setter.call(ObjectPrototypeSymbols,value),has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDescriptor(this,tag,createPropertyDescriptor(1,value))};return DESCRIPTORS&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,tag,{configurable:!0,set:setter}),wrap(tag,description)}).prototype,"toString",(function toString(){return getInternalState(this).tag})),redefine($Symbol,"withoutSetter",(function(description){return wrap(uid(description),description)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(name){return wrap(wellKnownSymbol(name),name)},DESCRIPTORS&&(nativeDefineProperty($Symbol.prototype,"description",{configurable:!0,get:function description(){return getInternalState(this).description}}),IS_PURE||redefine(ObjectPrototype,"propertyIsEnumerable",$propertyIsEnumerable,{unsafe:!0}))),$({global:!0,wrap:!0,forced:!NATIVE_SYMBOL,sham:!NATIVE_SYMBOL},{Symbol:$Symbol}),$forEach(objectKeys(WellKnownSymbolsStore),(function(name){defineWellKnownSymbol(name)})),$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL},{for:function(key){var string=String(key);if(has(StringToSymbolRegistry,string))return StringToSymbolRegistry[string];var symbol=$Symbol(string);return StringToSymbolRegistry[string]=symbol,SymbolToStringRegistry[symbol]=string,symbol},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol");if(has(SymbolToStringRegistry,sym))return SymbolToStringRegistry[sym]},useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL,sham:!DESCRIPTORS},{create:function create(O,Properties){return void 0===Properties?nativeObjectCreate(O):$defineProperties(nativeObjectCreate(O),Properties)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL},{getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$({target:"Object",stat:!0,forced:fails((function(){getOwnPropertySymbolsModule.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(it){return getOwnPropertySymbolsModule.f(toObject(it))}}),$stringify)&&$({target:"JSON",stat:!0,forced:!NATIVE_SYMBOL||fails((function(){var symbol=$Symbol();return"[null]"!=$stringify([symbol])||"{}"!=$stringify({a:symbol})||"{}"!=$stringify(Object(symbol))}))},{stringify:function stringify(it,replacer,space){for(var $replacer,args=[it],index=1;arguments.length>index;)args.push(arguments[index++]);if($replacer=replacer,(isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if("function"==typeof $replacer&&(value=$replacer.call(this,key,value)),!isSymbol(value))return value}),args[1]=replacer,$stringify.apply(null,args)}});$Symbol.prototype[TO_PRIMITIVE]||createNonEnumerableProperty($Symbol.prototype,TO_PRIMITIVE,$Symbol.prototype.valueOf),setToStringTag($Symbol,"Symbol"),hiddenKeys[HIDDEN]=!0},function(module,exports,__webpack_require__){var $=__webpack_require__(9),assign=__webpack_require__(367);$({target:"Object",stat:!0,forced:Object.assign!==assign},{assign:assign})},function(module,exports,__webpack_require__){var global=__webpack_require__(24),getOwnPropertyDescriptor=__webpack_require__(88).f,createNonEnumerableProperty=__webpack_require__(77),redefine=__webpack_require__(60),setGlobal=__webpack_require__(235),copyConstructorProperties=__webpack_require__(351),isForced=__webpack_require__(178);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}}},function(module,exports,__webpack_require__){var $=__webpack_require__(9),toObject=__webpack_require__(61),nativeKeys=__webpack_require__(145);$({target:"Object",stat:!0,forced:__webpack_require__(21)((function(){nativeKeys(1)}))},{keys:function keys(it){return nativeKeys(toObject(it))}})},function(module,exports,__webpack_require__){(function(global,module){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){var FUNC_ERROR_TEXT="Expected a function",PLACEHOLDER="__lodash_placeholder__",wrapFlags=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reUnescapedHtml=/[&<>"']/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source),reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source),reTrim=/^\s+|\s+$/g,reTrimStart=/^\s+/,reTrimEnd=/\s+$/,reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /,reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,reEscapeChar=/\\(\\)?/g,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reFlags=/\w*$/,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsHostCtor=/^\[object .+?Constructor\]$/,reIsOctal=/^0o[0-7]+$/i,reIsUint=/^(?:0|[1-9]\d*)$/,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,rsComboRange="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",rsBreakRange="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsAstral="[\\ud800-\\udfff]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="[\\u2700-\\u27bf]",rsLower="[a-z\\xdf-\\xf6\\xf8-\\xff]",rsMisc="[^\\ud800-\\udfff"+rsBreakRange+rsDigits+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsNonAstral="[^\\ud800-\\udfff]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",reOptMod="(?:"+rsCombo+"|"+rsFitz+")"+"?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reApos=RegExp("['’]","g"),reComboMark=RegExp(rsCombo,"g"),reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g"),reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?",rsUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsDigits,rsEmoji].join("|"),"g"),reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff"+rsComboRange+"\\ufe0e\\ufe0f]"),reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,contextProps=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],templateCounter=-1,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags["[object Uint8ClampedArray]"]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},freeParseFloat=parseFloat,freeParseInt=parseInt,freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,nodeIsDate=nodeUtil&&nodeUtil.isDate,nodeIsMap=nodeUtil&&nodeUtil.isMap,nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,nodeIsSet=nodeUtil&&nodeUtil.isSet,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayAggregator(array,setter,iteratee,accumulator){for(var index=-1,length=null==array?0:array.length;++index-1}function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index-1;);return index}function charsEndIndex(strSymbols,chrSymbols){for(var index=strSymbols.length;index--&&baseIndexOf(chrSymbols,strSymbols[index],0)>-1;);return index}function countHolders(array,placeholder){for(var length=array.length,result=0;length--;)array[length]===placeholder&&++result;return result}var deburrLetter=basePropertyOf({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),escapeHtmlChar=basePropertyOf({"&":"&","<":"<",">":">",'"':""","'":"'"});function escapeStringChar(chr){return"\\"+stringEscapes[chr]}function hasUnicode(string){return reHasUnicode.test(string)}function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function replaceHolders(array,placeholder){for(var index=-1,length=array.length,resIndex=0,result=[];++index",""":'"',"'":"'"});var _=function runInContext(context){var uid,Array=(context=null==context?root:_.defaults(root.Object(),context,_.pick(root,contextProps))).Array,Date=context.Date,Error=context.Error,Function=context.Function,Math=context.Math,Object=context.Object,RegExp=context.RegExp,String=context.String,TypeError=context.TypeError,arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype,coreJsData=context["__core-js_shared__"],funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,idCounter=0,maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"",nativeObjectToString=objectProto.toString,objectCtorString=funcToString.call(Object),oldDash=root._,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Buffer=moduleExports?context.Buffer:void 0,Symbol=context.Symbol,Uint8Array=context.Uint8Array,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0,getPrototype=overArg(Object.getPrototypeOf,Object),objectCreate=Object.create,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0,symIterator=Symbol?Symbol.iterator:void 0,symToStringTag=Symbol?Symbol.toStringTag:void 0,defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}(),ctxClearTimeout=context.clearTimeout!==root.clearTimeout&&context.clearTimeout,ctxNow=Date&&Date.now!==root.Date.now&&Date.now,ctxSetTimeout=context.setTimeout!==root.setTimeout&&context.setTimeout,nativeCeil=Math.ceil,nativeFloor=Math.floor,nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,nativeIsFinite=context.isFinite,nativeJoin=arrayProto.join,nativeKeys=overArg(Object.keys,Object),nativeMax=Math.max,nativeMin=Math.min,nativeNow=Date.now,nativeParseInt=context.parseInt,nativeRandom=Math.random,nativeReverse=arrayProto.reverse,DataView=getNative(context,"DataView"),Map=getNative(context,"Map"),Promise=getNative(context,"Promise"),Set=getNative(context,"Set"),WeakMap=getNative(context,"WeakMap"),nativeCreate=getNative(Object,"create"),metaMap=WeakMap&&new WeakMap,realNames={},dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function lodash(value){if(isObjectLike(value)&&!isArray(value)&&!(value instanceof LazyWrapper)){if(value instanceof LodashWrapper)return value;if(hasOwnProperty.call(value,"__wrapped__"))return wrapperClone(value)}return new LodashWrapper(value)}var baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=void 0,result}}();function baseLodash(){}function LodashWrapper(value,chainAll){this.__wrapped__=value,this.__actions__=[],this.__chain__=!!chainAll,this.__index__=0,this.__values__=void 0}function LazyWrapper(value){this.__wrapped__=value,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index=lower?number:lower)),number}function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=1&bitmask,isFlat=2&bitmask,isFull=4&bitmask;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=function initCloneArray(array){var length=array.length,result=new array.constructor(length);length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input);return result}(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}(value,function baseAssignIn(object,source){return object&©Object(source,keysIn(source),object)}(result,value)):function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case"[object Uint8ClampedArray]":case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return new Ctor;case numberTag:case stringTag:return new Ctor(object);case regexpTag:return function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}(object);case setTag:return new Ctor;case symbolTag:return function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}(object)}}(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result),isSet(value)?value.forEach((function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))})):isMap(value)&&value.forEach((function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}));var props=isArr?void 0:(isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys)(value);return arrayEach(props||value,(function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))})),result}function baseConformsTo(object,source,props){var length=props.length;if(null==object)return!length;for(object=Object(object);length--;){var key=props[length],predicate=source[key],value=object[key];if(void 0===value&&!(key in object)||!predicate(value))return!1}return!0}function baseDelay(func,wait,args){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return setTimeout((function(){func.apply(void 0,args)}),wait)}function baseDifference(array,values,iteratee,comparator){var index=-1,includes=arrayIncludes,isCommon=!0,length=array.length,result=[],valuesLength=values.length;if(!length)return result;iteratee&&(values=arrayMap(values,baseUnary(iteratee))),comparator?(includes=arrayIncludesWith,isCommon=!1):values.length>=200&&(includes=cacheHas,isCommon=!1,values=new SetCache(values));outer:for(;++index-1},ListCache.prototype.set=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result},MapCache.prototype.get=function mapCacheGet(key){return getMapData(this,key).get(key)},MapCache.prototype.has=function mapCacheHas(key){return getMapData(this,key).has(key)},MapCache.prototype.set=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function setCacheHas(value){return this.__data__.has(value)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result},Stack.prototype.get=function stackGet(key){return this.__data__.get(key)},Stack.prototype.has=function stackHas(key){return this.__data__.has(key)},Stack.prototype.set=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this};var baseEach=createBaseEach(baseForOwn),baseEachRight=createBaseEach(baseForOwnRight,!0);function baseEvery(collection,predicate){var result=!0;return baseEach(collection,(function(value,index,collection){return result=!!predicate(value,index,collection)})),result}function baseExtremum(array,iteratee,comparator){for(var index=-1,length=array.length;++index0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}var baseFor=createBaseFor(),baseForRight=createBaseFor(!0);function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseForOwnRight(object,iteratee){return object&&baseForRight(object,iteratee,keys)}function baseFunctions(object,props){return arrayFilter(props,(function(key){return isFunction(object[key])}))}function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&indexother}function baseHas(object,key){return null!=object&&hasOwnProperty.call(object,key)}function baseHasIn(object,key){return null!=object&&key in Object(object)}function baseIntersection(arrays,iteratee,comparator){for(var includes=comparator?arrayIncludesWith:arrayIncludes,length=arrays[0].length,othLength=arrays.length,othIndex=othLength,caches=Array(othLength),maxLength=1/0,result=[];othIndex--;){var array=arrays[othIndex];othIndex&&iteratee&&(array=arrayMap(array,baseUnary(iteratee))),maxLength=nativeMin(array.length,maxLength),caches[othIndex]=!comparator&&(iteratee||length>=120&&array.length>=120)?new SetCache(othIndex&&array):void 0}array=arrays[0];var index=-1,seen=caches[0];outer:for(;++index=ordersLength)return result;var order=orders[index];return result*("desc"==order?-1:1)}}return object.index-other.index}(object,other,orders)}))}function basePickBy(object,paths,predicate){for(var index=-1,length=paths.length,result={};++index-1;)seen!==array&&splice.call(seen,fromIndex,1),splice.call(array,fromIndex,1);return array}function basePullAt(array,indexes){for(var length=array?indexes.length:0,lastIndex=length-1;length--;){var index=indexes[length];if(length==lastIndex||index!==previous){var previous=index;isIndex(index)?splice.call(array,index,1):baseUnset(array,index)}}return array}function baseRandom(lower,upper){return lower+nativeFloor(nativeRandom()*(upper-lower+1))}function baseRepeat(string,n){var result="";if(!string||n<1||n>9007199254740991)return result;do{n%2&&(result+=string),(n=nativeFloor(n/2))&&(string+=string)}while(n);return result}function baseRest(func,start){return setToString(overRest(func,start,identity),func+"")}function baseSample(collection){return arraySample(values(collection))}function baseSampleSize(collection,n){var array=values(collection);return shuffleSelf(array,baseClamp(n,0,array.length))}function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++indexlength?0:length+start),(end=end>length?length:end)<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index>>1,computed=array[mid];null!==computed&&!isSymbol(computed)&&(retHighest?computed<=value:computed=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index=length?array:baseSlice(array,start,end)}var clearTimeout=ctxClearTimeout||function(id){return root.clearTimeout(id)};function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}function compareAscending(value,other){if(value!==other){var valIsDefined=void 0!==value,valIsNull=null===value,valIsReflexive=value==value,valIsSymbol=isSymbol(value),othIsDefined=void 0!==other,othIsNull=null===other,othIsReflexive=other==other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value1?sources[length-1]:void 0,guard=length>2?sources[2]:void 0;for(customizer=assigner.length>3&&"function"==typeof customizer?(length--,customizer):void 0,guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=length<3?void 0:customizer,length=1),object=Object(object);++index-1?iterable[iteratee?collection[index]:index]:void 0}}function createFlow(fromRight){return flatRest((function(funcs){var length=funcs.length,index=length,prereq=LodashWrapper.prototype.thru;for(fromRight&&funcs.reverse();index--;){var func=funcs[index];if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(prereq&&!wrapper&&"wrapper"==getFuncName(func))var wrapper=new LodashWrapper([],!0)}for(index=wrapper?index:length;++index1&&args.reverse(),isAry&&aryarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value1?"& ":"")+details[lastIndex],details=details.join(length>2?", ":" "),source.replace(reWrapComment,"{\n/* [wrapped with "+details+"] */\n")}(source,function updateWrapDetails(details,bitmask){return arrayEach(wrapFlags,(function(pair){var value="_."+pair[0];bitmask&pair[1]&&!arrayIncludes(details,value)&&details.push(value)})),details.sort()}(function getWrapDetails(source){var match=source.match(reWrapDetails);return match?match[1].split(reSplitDetails):[]}(source),bitmask)))}function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=16-(stamp-lastCalled);if(lastCalled=stamp,remaining>0){if(++count>=800)return arguments[0]}else count=0;return func.apply(void 0,arguments)}}function shuffleSelf(array,size){var index=-1,length=array.length,lastIndex=length-1;for(size=void 0===size?length:size;++index1?arrays[length-1]:void 0;return iteratee="function"==typeof iteratee?(arrays.pop(),iteratee):void 0,unzipWith(arrays,iteratee)}));function chain(value){var result=lodash(value);return result.__chain__=!0,result}function thru(value,interceptor){return interceptor(value)}var wrapperAt=flatRest((function(paths){var length=paths.length,start=length?paths[0]:0,value=this.__wrapped__,interceptor=function(object){return baseAt(object,paths)};return!(length>1||this.__actions__.length)&&value instanceof LazyWrapper&&isIndex(start)?((value=value.slice(start,+start+(length?1:0))).__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(value,this.__chain__).thru((function(array){return length&&!array.length&&array.push(void 0),array}))):this.thru(interceptor)}));var countBy=createAggregator((function(result,value,key){hasOwnProperty.call(result,key)?++result[key]:baseAssignValue(result,key,1)}));var find=createFind(findIndex),findLast=createFind(findLastIndex);function forEach(collection,iteratee){return(isArray(collection)?arrayEach:baseEach)(collection,getIteratee(iteratee,3))}function forEachRight(collection,iteratee){return(isArray(collection)?arrayEachRight:baseEachRight)(collection,getIteratee(iteratee,3))}var groupBy=createAggregator((function(result,value,key){hasOwnProperty.call(result,key)?result[key].push(value):baseAssignValue(result,key,[value])}));var invokeMap=baseRest((function(collection,path,args){var index=-1,isFunc="function"==typeof path,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,(function(value){result[++index]=isFunc?apply(path,value,args):baseInvoke(value,path,args)})),result})),keyBy=createAggregator((function(result,value,key){baseAssignValue(result,key,value)}));function map(collection,iteratee){return(isArray(collection)?arrayMap:baseMap)(collection,getIteratee(iteratee,3))}var partition=createAggregator((function(result,value,key){result[key?0:1].push(value)}),(function(){return[[],[]]}));var sortBy=baseRest((function(collection,iteratees){if(null==collection)return[];var length=iteratees.length;return length>1&&isIterateeCall(collection,iteratees[0],iteratees[1])?iteratees=[]:length>2&&isIterateeCall(iteratees[0],iteratees[1],iteratees[2])&&(iteratees=[iteratees[0]]),baseOrderBy(collection,baseFlatten(iteratees,1),[])})),now=ctxNow||function(){return root.Date.now()};function ary(func,n,guard){return n=guard?void 0:n,createWrap(func,128,void 0,void 0,void 0,void 0,n=func&&null==n?func.length:n)}function before(n,func){var result;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return n=toInteger(n),function(){return--n>0&&(result=func.apply(this,arguments)),n<=1&&(func=void 0),result}}var bind=baseRest((function(func,thisArg,partials){var bitmask=1;if(partials.length){var holders=replaceHolders(partials,getHolder(bind));bitmask|=32}return createWrap(func,bitmask,thisArg,partials,holders)})),bindKey=baseRest((function(object,key,partials){var bitmask=3;if(partials.length){var holders=replaceHolders(partials,getHolder(bindKey));bitmask|=32}return createWrap(key,bitmask,object,partials,holders)}));function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}var defer=baseRest((function(func,args){return baseDelay(func,1,args)})),delay=baseRest((function(func,wait,args){return baseDelay(func,toNumber(wait)||0,args)}));function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}function negate(predicate){if("function"!=typeof predicate)throw new TypeError(FUNC_ERROR_TEXT);return function(){var args=arguments;switch(args.length){case 0:return!predicate.call(this);case 1:return!predicate.call(this,args[0]);case 2:return!predicate.call(this,args[0],args[1]);case 3:return!predicate.call(this,args[0],args[1],args[2])}return!predicate.apply(this,args)}}memoize.Cache=MapCache;var overArgs=castRest((function(func,transforms){var funcsLength=(transforms=1==transforms.length&&isArray(transforms[0])?arrayMap(transforms[0],baseUnary(getIteratee())):arrayMap(baseFlatten(transforms,1),baseUnary(getIteratee()))).length;return baseRest((function(args){for(var index=-1,length=nativeMin(args.length,funcsLength);++index=other})),isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArray=Array.isArray,isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):function baseIsArrayBuffer(value){return isObjectLike(value)&&baseGetTag(value)==arrayBufferTag};function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}var isBuffer=nativeIsBuffer||stubFalse,isDate=nodeIsDate?baseUnary(nodeIsDate):function baseIsDate(value){return isObjectLike(value)&&baseGetTag(value)==dateTag};function isError(value){if(!isObjectLike(value))return!1;var tag=baseGetTag(value);return tag==errorTag||"[object DOMException]"==tag||"string"==typeof value.message&&"string"==typeof value.name&&!isPlainObject(value)}function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}function isInteger(value){return"number"==typeof value&&value==toInteger(value)}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}function isObjectLike(value){return null!=value&&"object"==typeof value}var isMap=nodeIsMap?baseUnary(nodeIsMap):function baseIsMap(value){return isObjectLike(value)&&getTag(value)==mapTag};function isNumber(value){return"number"==typeof value||isObjectLike(value)&&baseGetTag(value)==numberTag}function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}var isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):function baseIsRegExp(value){return isObjectLike(value)&&baseGetTag(value)==regexpTag};var isSet=nodeIsSet?baseUnary(nodeIsSet):function baseIsSet(value){return isObjectLike(value)&&getTag(value)==setTag};function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]};var lt=createRelationalOperation(baseLt),lte=createRelationalOperation((function(value,other){return value<=other}));function toArray(value){if(!value)return[];if(isArrayLike(value))return isString(value)?stringToArray(value):copyArray(value);if(symIterator&&value[symIterator])return function iteratorToArray(iterator){for(var data,result=[];!(data=iterator.next()).done;)result.push(data.value);return result}(value[symIterator]());var tag=getTag(value);return(tag==mapTag?mapToArray:tag==setTag?setToArray:values)(value)}function toFinite(value){return value?(value=toNumber(value))===1/0||value===-1/0?17976931348623157e292*(value<0?-1:1):value==value?value:0:0===value?value:0}function toInteger(value){var result=toFinite(value),remainder=result%1;return result==result?remainder?result-remainder:result:0}function toLength(value){return value?baseClamp(toInteger(value),0,4294967295):0}function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}function toPlainObject(value){return copyObject(value,keysIn(value))}function toString(value){return null==value?"":baseToString(value)}var assign=createAssigner((function(object,source){if(isPrototype(source)||isArrayLike(source))copyObject(source,keys(source),object);else for(var key in source)hasOwnProperty.call(source,key)&&assignValue(object,key,source[key])})),assignIn=createAssigner((function(object,source){copyObject(source,keysIn(source),object)})),assignInWith=createAssigner((function(object,source,srcIndex,customizer){copyObject(source,keysIn(source),object,customizer)})),assignWith=createAssigner((function(object,source,srcIndex,customizer){copyObject(source,keys(source),object,customizer)})),at=flatRest(baseAt);var defaults=baseRest((function(object,sources){object=Object(object);var index=-1,length=sources.length,guard=length>2?sources[2]:void 0;for(guard&&isIterateeCall(sources[0],sources[1],guard)&&(length=1);++index1),path})),copyObject(object,getAllKeysIn(object),result),isDeep&&(result=baseClone(result,7,customOmitClone));for(var length=paths.length;length--;)baseUnset(result,paths[length]);return result}));var pick=flatRest((function(object,paths){return null==object?{}:function basePick(object,paths){return basePickBy(object,paths,(function(value,path){return hasIn(object,path)}))}(object,paths)}));function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),(function(prop){return[prop]}));return predicate=getIteratee(predicate),basePickBy(object,props,(function(value,path){return predicate(value,path[0])}))}var toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn);function values(object){return null==object?[]:baseValues(object,keys(object))}var camelCase=createCompounder((function(result,word,index){return word=word.toLowerCase(),result+(index?capitalize(word):word)}));function capitalize(string){return upperFirst(toString(string).toLowerCase())}function deburr(string){return(string=toString(string))&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}var kebabCase=createCompounder((function(result,word,index){return result+(index?"-":"")+word.toLowerCase()})),lowerCase=createCompounder((function(result,word,index){return result+(index?" ":"")+word.toLowerCase()})),lowerFirst=createCaseFirst("toLowerCase");var snakeCase=createCompounder((function(result,word,index){return result+(index?"_":"")+word.toLowerCase()}));var startCase=createCompounder((function(result,word,index){return result+(index?" ":"")+upperFirst(word)}));var upperCase=createCompounder((function(result,word,index){return result+(index?" ":"")+word.toUpperCase()})),upperFirst=createCaseFirst("toUpperCase");function words(string,pattern,guard){return string=toString(string),void 0===(pattern=guard?void 0:pattern)?function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}(string)?function unicodeWords(string){return string.match(reUnicodeWord)||[]}(string):function asciiWords(string){return string.match(reAsciiWord)||[]}(string):string.match(pattern)||[]}var attempt=baseRest((function(func,args){try{return apply(func,void 0,args)}catch(e){return isError(e)?e:new Error(e)}})),bindAll=flatRest((function(object,methodNames){return arrayEach(methodNames,(function(key){key=toKey(key),baseAssignValue(object,key,bind(object[key],object))})),object}));function constant(value){return function(){return value}}var flow=createFlow(),flowRight=createFlow(!0);function identity(value){return value}function iteratee(func){return baseIteratee("function"==typeof func?func:baseClone(func,1))}var method=baseRest((function(path,args){return function(object){return baseInvoke(object,path,args)}})),methodOf=baseRest((function(object,args){return function(path){return baseInvoke(object,path,args)}}));function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);null!=options||isObject(source)&&(methodNames.length||!props.length)||(options=source,source=object,object=this,methodNames=baseFunctions(source,keys(source)));var chain=!(isObject(options)&&"chain"in options&&!options.chain),isFunc=isFunction(object);return arrayEach(methodNames,(function(methodName){var func=source[methodName];object[methodName]=func,isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain||chainAll){var result=object(this.__wrapped__),actions=result.__actions__=copyArray(this.__actions__);return actions.push({func:func,args:arguments,thisArg:object}),result.__chain__=chainAll,result}return func.apply(object,arrayPush([this.value()],arguments))})})),object}function noop(){}var over=createOver(arrayMap),overEvery=createOver(arrayEvery),overSome=createOver(arraySome);function property(path){return isKey(path)?baseProperty(toKey(path)):function basePropertyDeep(path){return function(object){return baseGet(object,path)}}(path)}var range=createRange(),rangeRight=createRange(!0);function stubArray(){return[]}function stubFalse(){return!1}var add=createMathOperation((function(augend,addend){return augend+addend}),0),ceil=createRound("ceil"),divide=createMathOperation((function(dividend,divisor){return dividend/divisor}),1),floor=createRound("floor");var source,multiply=createMathOperation((function(multiplier,multiplicand){return multiplier*multiplicand}),1),round=createRound("round"),subtract=createMathOperation((function(minuend,subtrahend){return minuend-subtrahend}),0);return lodash.after=function after(n,func){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return n=toInteger(n),function(){if(--n<1)return func.apply(this,arguments)}},lodash.ary=ary,lodash.assign=assign,lodash.assignIn=assignIn,lodash.assignInWith=assignInWith,lodash.assignWith=assignWith,lodash.at=at,lodash.before=before,lodash.bind=bind,lodash.bindAll=bindAll,lodash.bindKey=bindKey,lodash.castArray=function castArray(){if(!arguments.length)return[];var value=arguments[0];return isArray(value)?value:[value]},lodash.chain=chain,lodash.chunk=function chunk(array,size,guard){size=(guard?isIterateeCall(array,size,guard):void 0===size)?1:nativeMax(toInteger(size),0);var length=null==array?0:array.length;if(!length||size<1)return[];for(var index=0,resIndex=0,result=Array(nativeCeil(length/size));indexlength?0:length+start),(end=void 0===end||end>length?length:toInteger(end))<0&&(end+=length),end=start>end?0:toLength(end);start>>0)?(string=toString(string))&&("string"==typeof separator||null!=separator&&!isRegExp(separator))&&!(separator=baseToString(separator))&&hasUnicode(string)?castSlice(stringToArray(string),0,limit):string.split(separator,limit):[]},lodash.spread=function spread(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=null==start?0:nativeMax(toInteger(start),0),baseRest((function(args){var array=args[start],otherArgs=castSlice(args,0,start);return array&&arrayPush(otherArgs,array),apply(func,this,otherArgs)}))},lodash.tail=function tail(array){var length=null==array?0:array.length;return length?baseSlice(array,1,length):[]},lodash.take=function take(array,n,guard){return array&&array.length?baseSlice(array,0,(n=guard||void 0===n?1:toInteger(n))<0?0:n):[]},lodash.takeRight=function takeRight(array,n,guard){var length=null==array?0:array.length;return length?baseSlice(array,(n=length-(n=guard||void 0===n?1:toInteger(n)))<0?0:n,length):[]},lodash.takeRightWhile=function takeRightWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3),!1,!0):[]},lodash.takeWhile=function takeWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3)):[]},lodash.tap=function tap(value,interceptor){return interceptor(value),value},lodash.throttle=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})},lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=toPairs,lodash.toPairsIn=toPairsIn,lodash.toPath=function toPath(value){return isArray(value)?arrayMap(value,toKey):isSymbol(value)?[value]:copyArray(stringToPath(toString(value)))},lodash.toPlainObject=toPlainObject,lodash.transform=function transform(object,iteratee,accumulator){var isArr=isArray(object),isArrLike=isArr||isBuffer(object)||isTypedArray(object);if(iteratee=getIteratee(iteratee,4),null==accumulator){var Ctor=object&&object.constructor;accumulator=isArrLike?isArr?new Ctor:[]:isObject(object)&&isFunction(Ctor)?baseCreate(getPrototype(object)):{}}return(isArrLike?arrayEach:baseForOwn)(object,(function(value,index,object){return iteratee(accumulator,value,index,object)})),accumulator},lodash.unary=function unary(func){return ary(func,1)},lodash.union=union,lodash.unionBy=unionBy,lodash.unionWith=unionWith,lodash.uniq=function uniq(array){return array&&array.length?baseUniq(array):[]},lodash.uniqBy=function uniqBy(array,iteratee){return array&&array.length?baseUniq(array,getIteratee(iteratee,2)):[]},lodash.uniqWith=function uniqWith(array,comparator){return comparator="function"==typeof comparator?comparator:void 0,array&&array.length?baseUniq(array,void 0,comparator):[]},lodash.unset=function unset(object,path){return null==object||baseUnset(object,path)},lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=function update(object,path,updater){return null==object?object:baseUpdate(object,path,castFunction(updater))},lodash.updateWith=function updateWith(object,path,updater,customizer){return customizer="function"==typeof customizer?customizer:void 0,null==object?object:baseUpdate(object,path,castFunction(updater),customizer)},lodash.values=values,lodash.valuesIn=function valuesIn(object){return null==object?[]:baseValues(object,keysIn(object))},lodash.without=without,lodash.words=words,lodash.wrap=function wrap(value,wrapper){return partial(castFunction(wrapper),value)},lodash.xor=xor,lodash.xorBy=xorBy,lodash.xorWith=xorWith,lodash.zip=zip,lodash.zipObject=function zipObject(props,values){return baseZipObject(props||[],values||[],assignValue)},lodash.zipObjectDeep=function zipObjectDeep(props,values){return baseZipObject(props||[],values||[],baseSet)},lodash.zipWith=zipWith,lodash.entries=toPairs,lodash.entriesIn=toPairsIn,lodash.extend=assignIn,lodash.extendWith=assignInWith,mixin(lodash,lodash),lodash.add=add,lodash.attempt=attempt,lodash.camelCase=camelCase,lodash.capitalize=capitalize,lodash.ceil=ceil,lodash.clamp=function clamp(number,lower,upper){return void 0===upper&&(upper=lower,lower=void 0),void 0!==upper&&(upper=(upper=toNumber(upper))==upper?upper:0),void 0!==lower&&(lower=(lower=toNumber(lower))==lower?lower:0),baseClamp(toNumber(number),lower,upper)},lodash.clone=function clone(value){return baseClone(value,4)},lodash.cloneDeep=function cloneDeep(value){return baseClone(value,5)},lodash.cloneDeepWith=function cloneDeepWith(value,customizer){return baseClone(value,5,customizer="function"==typeof customizer?customizer:void 0)},lodash.cloneWith=function cloneWith(value,customizer){return baseClone(value,4,customizer="function"==typeof customizer?customizer:void 0)},lodash.conformsTo=function conformsTo(object,source){return null==source||baseConformsTo(object,source,keys(source))},lodash.deburr=deburr,lodash.defaultTo=function defaultTo(value,defaultValue){return null==value||value!=value?defaultValue:value},lodash.divide=divide,lodash.endsWith=function endsWith(string,target,position){string=toString(string),target=baseToString(target);var length=string.length,end=position=void 0===position?length:baseClamp(toInteger(position),0,length);return(position-=target.length)>=0&&string.slice(position,end)==target},lodash.eq=eq,lodash.escape=function escape(string){return(string=toString(string))&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string},lodash.escapeRegExp=function escapeRegExp(string){return(string=toString(string))&&reHasRegExpChar.test(string)?string.replace(reRegExpChar,"\\$&"):string},lodash.every=function every(collection,predicate,guard){var func=isArray(collection)?arrayEvery:baseEvery;return guard&&isIterateeCall(collection,predicate,guard)&&(predicate=void 0),func(collection,getIteratee(predicate,3))},lodash.find=find,lodash.findIndex=findIndex,lodash.findKey=function findKey(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwn)},lodash.findLast=findLast,lodash.findLastIndex=findLastIndex,lodash.findLastKey=function findLastKey(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwnRight)},lodash.floor=floor,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=function forIn(object,iteratee){return null==object?object:baseFor(object,getIteratee(iteratee,3),keysIn)},lodash.forInRight=function forInRight(object,iteratee){return null==object?object:baseForRight(object,getIteratee(iteratee,3),keysIn)},lodash.forOwn=function forOwn(object,iteratee){return object&&baseForOwn(object,getIteratee(iteratee,3))},lodash.forOwnRight=function forOwnRight(object,iteratee){return object&&baseForOwnRight(object,getIteratee(iteratee,3))},lodash.get=get,lodash.gt=gt,lodash.gte=gte,lodash.has=function has(object,path){return null!=object&&hasPath(object,path,baseHas)},lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=function includes(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection),fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;return fromIndex<0&&(fromIndex=nativeMax(length+fromIndex,0)),isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1},lodash.indexOf=function indexOf(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=null==fromIndex?0:toInteger(fromIndex);return index<0&&(index=nativeMax(length+index,0)),baseIndexOf(array,value,index)},lodash.inRange=function inRange(number,start,end){return start=toFinite(start),void 0===end?(end=start,start=0):end=toFinite(end),function baseInRange(number,start,end){return number>=nativeMin(start,end)&&number=-9007199254740991&&value<=9007199254740991},lodash.isSet=isSet,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=isTypedArray,lodash.isUndefined=function isUndefined(value){return void 0===value},lodash.isWeakMap=function isWeakMap(value){return isObjectLike(value)&&getTag(value)==weakMapTag},lodash.isWeakSet=function isWeakSet(value){return isObjectLike(value)&&"[object WeakSet]"==baseGetTag(value)},lodash.join=function join(array,separator){return null==array?"":nativeJoin.call(array,separator)},lodash.kebabCase=kebabCase,lodash.last=last,lodash.lastIndexOf=function lastIndexOf(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=length;return void 0!==fromIndex&&(index=(index=toInteger(fromIndex))<0?nativeMax(length+index,0):nativeMin(index,length-1)),value==value?function strictLastIndexOf(array,value,fromIndex){for(var index=fromIndex+1;index--;)if(array[index]===value)return index;return index}(array,value,index):baseFindIndex(array,baseIsNaN,index,!0)},lodash.lowerCase=lowerCase,lodash.lowerFirst=lowerFirst,lodash.lt=lt,lodash.lte=lte,lodash.max=function max(array){return array&&array.length?baseExtremum(array,identity,baseGt):void 0},lodash.maxBy=function maxBy(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseGt):void 0},lodash.mean=function mean(array){return baseMean(array,identity)},lodash.meanBy=function meanBy(array,iteratee){return baseMean(array,getIteratee(iteratee,2))},lodash.min=function min(array){return array&&array.length?baseExtremum(array,identity,baseLt):void 0},lodash.minBy=function minBy(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseLt):void 0},lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=function stubObject(){return{}},lodash.stubString=function stubString(){return""},lodash.stubTrue=function stubTrue(){return!0},lodash.multiply=multiply,lodash.nth=function nth(array,n){return array&&array.length?baseNth(array,toInteger(n)):void 0},lodash.noConflict=function noConflict(){return root._===this&&(root._=oldDash),this},lodash.noop=noop,lodash.now=now,lodash.pad=function pad(string,length,chars){string=toString(string);var strLength=(length=toInteger(length))?stringSize(string):0;if(!length||strLength>=length)return string;var mid=(length-strLength)/2;return createPadding(nativeFloor(mid),chars)+string+createPadding(nativeCeil(mid),chars)},lodash.padEnd=function padEnd(string,length,chars){string=toString(string);var strLength=(length=toInteger(length))?stringSize(string):0;return length&&strLengthupper){var temp=lower;lower=upper,upper=temp}if(floating||lower%1||upper%1){var rand=nativeRandom();return nativeMin(lower+rand*(upper-lower+freeParseFloat("1e-"+((rand+"").length-1))),upper)}return baseRandom(lower,upper)},lodash.reduce=function reduce(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEach)},lodash.reduceRight=function reduceRight(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduceRight:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEachRight)},lodash.repeat=function repeat(string,n,guard){return n=(guard?isIterateeCall(string,n,guard):void 0===n)?1:toInteger(n),baseRepeat(toString(string),n)},lodash.replace=function replace(){var args=arguments,string=toString(args[0]);return args.length<3?string:string.replace(args[1],args[2])},lodash.result=function result(object,path,defaultValue){var index=-1,length=(path=castPath(path,object)).length;for(length||(length=1,object=void 0);++index9007199254740991)return[];var index=4294967295,length=nativeMin(n,4294967295);n-=4294967295;for(var result=baseTimes(length,iteratee=getIteratee(iteratee));++index=strLength)return string;var end=length-stringSize(omission);if(end<1)return omission;var result=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(void 0===separator)return result+omission;if(strSymbols&&(end+=result.length-end),isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result;for(separator.global||(separator=RegExp(separator.source,toString(reFlags.exec(separator))+"g")),separator.lastIndex=0;match=separator.exec(substring);)var newEnd=match.index;result=result.slice(0,void 0===newEnd?end:newEnd)}}else if(string.indexOf(baseToString(separator),end)!=end){var index=result.lastIndexOf(separator);index>-1&&(result=result.slice(0,index))}return result+omission},lodash.unescape=function unescape(string){return(string=toString(string))&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string},lodash.uniqueId=function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id},lodash.upperCase=upperCase,lodash.upperFirst=upperFirst,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,(source={},baseForOwn(lodash,(function(func,methodName){hasOwnProperty.call(lodash.prototype,methodName)||(source[methodName]=func)})),source),{chain:!1}),lodash.VERSION="4.17.19",arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(methodName){lodash[methodName].placeholder=lodash})),arrayEach(["drop","take"],(function(methodName,index){LazyWrapper.prototype[methodName]=function(n){n=void 0===n?1:nativeMax(toInteger(n),0);var result=this.__filtered__&&!index?new LazyWrapper(this):this.clone();return result.__filtered__?result.__takeCount__=nativeMin(n,result.__takeCount__):result.__views__.push({size:nativeMin(n,4294967295),type:methodName+(result.__dir__<0?"Right":"")}),result},LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(methodName,index){var type=index+1,isFilter=1==type||3==type;LazyWrapper.prototype[methodName]=function(iteratee){var result=this.clone();return result.__iteratees__.push({iteratee:getIteratee(iteratee,3),type:type}),result.__filtered__=result.__filtered__||isFilter,result}})),arrayEach(["head","last"],(function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}})),arrayEach(["initial","tail"],(function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(predicate){return this.filter(predicate).head()},LazyWrapper.prototype.findLast=function(predicate){return this.reverse().find(predicate)},LazyWrapper.prototype.invokeMap=baseRest((function(path,args){return"function"==typeof path?new LazyWrapper(this):this.map((function(value){return baseInvoke(value,path,args)}))})),LazyWrapper.prototype.reject=function(predicate){return this.filter(negate(getIteratee(predicate)))},LazyWrapper.prototype.slice=function(start,end){start=toInteger(start);var result=this;return result.__filtered__&&(start>0||end<0)?new LazyWrapper(result):(start<0?result=result.takeRight(-start):start&&(result=result.drop(start)),void 0!==end&&(result=(end=toInteger(end))<0?result.dropRight(-end):result.take(end-start)),result)},LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(4294967295)},baseForOwn(LazyWrapper.prototype,(function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+("last"==methodName?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);lodashFunc&&(lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee=args[0],useLazy=isLazy||isArray(value),interceptor=function(value){var result=lodashFunc.apply(lodash,arrayPush([value],args));return isTaker&&chainAll?result[0]:result};useLazy&&checkIteratee&&"function"==typeof iteratee&&1!=iteratee.length&&(isLazy=useLazy=!1);var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result=func.apply(value,args);return result.__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(result,chainAll)}return isUnwrapped&&onlyLazy?func.apply(this,args):(result=this.thru(interceptor),isUnwrapped?isTaker?result.value()[0]:result.value():result)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value();return func.apply(isArray(value)?value:[],args)}return this[chainName]((function(value){return func.apply(isArray(value)?value:[],args)}))}})),baseForOwn(LazyWrapper.prototype,(function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"";hasOwnProperty.call(realNames,key)||(realNames[key]=[]),realNames[key].push({name:methodName,func:lodashFunc})}})),realNames[createHybrid(void 0,2).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=function lazyClone(){var result=new LazyWrapper(this.__wrapped__);return result.__actions__=copyArray(this.__actions__),result.__dir__=this.__dir__,result.__filtered__=this.__filtered__,result.__iteratees__=copyArray(this.__iteratees__),result.__takeCount__=this.__takeCount__,result.__views__=copyArray(this.__views__),result},LazyWrapper.prototype.reverse=function lazyReverse(){if(this.__filtered__){var result=new LazyWrapper(this);result.__dir__=-1,result.__filtered__=!0}else(result=this.clone()).__dir__*=-1;return result},LazyWrapper.prototype.value=function lazyValue(){var array=this.__wrapped__.value(),dir=this.__dir__,isArr=isArray(array),isRight=dir<0,arrLength=isArr?array.length:0,view=function getView(start,end,transforms){var index=-1,length=transforms.length;for(;++index=this.__values__.length;return{done:done,value:done?void 0:this.__values__[this.__index__++]}},lodash.prototype.plant=function wrapperPlant(value){for(var result,parent=this;parent instanceof baseLodash;){var clone=wrapperClone(parent);clone.__index__=0,clone.__values__=void 0,result?previous.__wrapped__=clone:result=clone;var previous=clone;parent=parent.__wrapped__}return previous.__wrapped__=value,result},lodash.prototype.reverse=function wrapperReverse(){var value=this.__wrapped__;if(value instanceof LazyWrapper){var wrapped=value;return this.__actions__.length&&(wrapped=new LazyWrapper(this)),(wrapped=wrapped.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(wrapped,this.__chain__)}return this.thru(reverse)},lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)},lodash.prototype.first=lodash.prototype.head,symIterator&&(lodash.prototype[symIterator]=function wrapperToIterator(){return this}),lodash}();root._=_,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}).call(this)}).call(this,__webpack_require__(36),__webpack_require__(90)(module))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={styled:!0,createGlobal:!0,createReset:!0,lighten:!0,darken:!0};Object.defineProperty(exports,"createGlobal",{enumerable:!0,get:function get(){return _global.createGlobal}}),Object.defineProperty(exports,"createReset",{enumerable:!0,get:function get(){return _global.createReset}}),Object.defineProperty(exports,"lighten",{enumerable:!0,get:function get(){return _utils.lightenColor}}),Object.defineProperty(exports,"darken",{enumerable:!0,get:function get(){return _utils.darkenColor}}),exports.styled=void 0;var _styled2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(1351)),_base=__webpack_require__(200);Object.keys(_base).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _base[key]}}))}));var _types=__webpack_require__(819);Object.keys(_types).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _types[key]}}))}));var _core=__webpack_require__(85);Object.keys(_core).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _core[key]}}))}));var _emotionTheming=__webpack_require__(820);Object.keys(_emotionTheming).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _emotionTheming[key]}}))}));var _global=__webpack_require__(822),_create=__webpack_require__(417);Object.keys(_create).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _create[key]}}))}));var _convert=__webpack_require__(419);Object.keys(_convert).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _convert[key]}}))}));var _ensure=__webpack_require__(826);Object.keys(_ensure).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _ensure[key]}}))}));var _utils=__webpack_require__(201);var styled=_styled2.default;exports.styled=styled},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),$map=__webpack_require__(103).map,arrayMethodHasSpeciesSupport=__webpack_require__(144),arrayMethodUsesToLength=__webpack_require__(72),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("map"),USES_TO_LENGTH=arrayMethodUsesToLength("map");$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT||!USES_TO_LENGTH},{map:function map(callbackfn){return $map(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return faAngleDown})),__webpack_require__.d(__webpack_exports__,"b",(function(){return faAngleLeft})),__webpack_require__.d(__webpack_exports__,"c",(function(){return faAngleRight})),__webpack_require__.d(__webpack_exports__,"d",(function(){return faBook})),__webpack_require__.d(__webpack_exports__,"e",(function(){return faBuilding})),__webpack_require__.d(__webpack_exports__,"f",(function(){return faCalendarAlt})),__webpack_require__.d(__webpack_exports__,"g",(function(){return faCaretDown})),__webpack_require__.d(__webpack_exports__,"h",(function(){return faCaretLeft})),__webpack_require__.d(__webpack_exports__,"i",(function(){return faCaretRight})),__webpack_require__.d(__webpack_exports__,"j",(function(){return faCaretUp})),__webpack_require__.d(__webpack_exports__,"k",(function(){return faChartArea})),__webpack_require__.d(__webpack_exports__,"l",(function(){return faChartBar})),__webpack_require__.d(__webpack_exports__,"m",(function(){return faChartPie})),__webpack_require__.d(__webpack_exports__,"n",(function(){return faCheckSquare})),__webpack_require__.d(__webpack_exports__,"o",(function(){return faChevronDown})),__webpack_require__.d(__webpack_exports__,"p",(function(){return faChevronRight})),__webpack_require__.d(__webpack_exports__,"q",(function(){return faChevronUp})),__webpack_require__.d(__webpack_exports__,"r",(function(){return faEllipsisH})),__webpack_require__.d(__webpack_exports__,"s",(function(){return faExternalLinkAlt})),__webpack_require__.d(__webpack_exports__,"t",(function(){return faHandsHelping})),__webpack_require__.d(__webpack_exports__,"u",(function(){return faInfo})),__webpack_require__.d(__webpack_exports__,"v",(function(){return faInfoCircle})),__webpack_require__.d(__webpack_exports__,"w",(function(){return faLandmark})),__webpack_require__.d(__webpack_exports__,"x",(function(){return faLevelUpAlt})),__webpack_require__.d(__webpack_exports__,"y",(function(){return faMapMarkerAlt})),__webpack_require__.d(__webpack_exports__,"z",(function(){return faMinusSquare})),__webpack_require__.d(__webpack_exports__,"A",(function(){return faPencilAlt})),__webpack_require__.d(__webpack_exports__,"B",(function(){return faSearch})),__webpack_require__.d(__webpack_exports__,"C",(function(){return faShareAlt})),__webpack_require__.d(__webpack_exports__,"D",(function(){return faSitemap})),__webpack_require__.d(__webpack_exports__,"E",(function(){return faSpinner})),__webpack_require__.d(__webpack_exports__,"F",(function(){return faSquare})),__webpack_require__.d(__webpack_exports__,"G",(function(){return faTable})),__webpack_require__.d(__webpack_exports__,"H",(function(){return faTag})),__webpack_require__.d(__webpack_exports__,"I",(function(){return faThLarge})),__webpack_require__.d(__webpack_exports__,"J",(function(){return faTimes})),__webpack_require__.d(__webpack_exports__,"K",(function(){return faUserTie}));var faAngleDown={prefix:"fas",iconName:"angle-down",icon:[320,512,[],"f107","M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"]},faAngleLeft={prefix:"fas",iconName:"angle-left",icon:[256,512,[],"f104","M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"]},faAngleRight={prefix:"fas",iconName:"angle-right",icon:[256,512,[],"f105","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"]},faBook={prefix:"fas",iconName:"book",icon:[448,512,[],"f02d","M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"]},faBuilding={prefix:"fas",iconName:"building",icon:[448,512,[],"f1ad","M436 480h-20V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v456H12c-6.627 0-12 5.373-12 12v20h448v-20c0-6.627-5.373-12-12-12zM128 76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76zm0 96c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40zm52 148h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12zm76 160h-64v-84c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v84zm64-172c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40z"]},faCalendarAlt={prefix:"fas",iconName:"calendar-alt",icon:[448,512,[],"f073","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},faCaretDown={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"]},faCaretLeft={prefix:"fas",iconName:"caret-left",icon:[192,512,[],"f0d9","M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"]},faCaretRight={prefix:"fas",iconName:"caret-right",icon:[192,512,[],"f0da","M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"]},faCaretUp={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"]},faChartArea={prefix:"fas",iconName:"chart-area",icon:[512,512,[],"f1fe","M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z"]},faChartBar={prefix:"fas",iconName:"chart-bar",icon:[512,512,[],"f080","M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"]},faChartPie={prefix:"fas",iconName:"chart-pie",icon:[544,512,[],"f200","M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"]},faCheckSquare={prefix:"fas",iconName:"check-square",icon:[448,512,[],"f14a","M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"]},faChevronDown={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},faChevronRight={prefix:"fas",iconName:"chevron-right",icon:[320,512,[],"f054","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]},faChevronUp={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},faEllipsisH={prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]},faExternalLinkAlt={prefix:"fas",iconName:"external-link-alt",icon:[512,512,[],"f35d","M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"]},faHandsHelping={prefix:"fas",iconName:"hands-helping",icon:[640,512,[],"f4c4","M488 192H336v56c0 39.7-32.3 72-72 72s-72-32.3-72-72V126.4l-64.9 39C107.8 176.9 96 197.8 96 220.2v47.3l-80 46.2C.7 322.5-4.6 342.1 4.3 357.4l80 138.6c8.8 15.3 28.4 20.5 43.7 11.7L231.4 448H368c35.3 0 64-28.7 64-64h16c17.7 0 32-14.3 32-32v-64h8c13.3 0 24-10.7 24-24v-48c0-13.3-10.7-24-24-24zm147.7-37.4L555.7 16C546.9.7 527.3-4.5 512 4.3L408.6 64H306.4c-12 0-23.7 3.4-33.9 9.7L239 94.6c-9.4 5.8-15 16.1-15 27.1V248c0 22.1 17.9 40 40 40s40-17.9 40-40v-88h184c30.9 0 56 25.1 56 56v28.5l80-46.2c15.3-8.9 20.5-28.4 11.7-43.7z"]},faInfo={prefix:"fas",iconName:"info",icon:[192,512,[],"f129","M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"]},faInfoCircle={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},faLandmark={prefix:"fas",iconName:"landmark",icon:[512,512,[],"f66f","M501.62 92.11L267.24 2.04a31.958 31.958 0 0 0-22.47 0L10.38 92.11A16.001 16.001 0 0 0 0 107.09V144c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-36.91c0-6.67-4.14-12.64-10.38-14.98zM64 192v160H48c-8.84 0-16 7.16-16 16v48h448v-48c0-8.84-7.16-16-16-16h-16V192h-64v160h-96V192h-64v160h-96V192H64zm432 256H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"]},faLevelUpAlt={prefix:"fas",iconName:"level-up-alt",icon:[320,512,[],"f3bf","M313.553 119.669L209.587 7.666c-9.485-10.214-25.676-10.229-35.174 0L70.438 119.669C56.232 134.969 67.062 160 88.025 160H152v272H68.024a11.996 11.996 0 0 0-8.485 3.515l-56 56C-4.021 499.074 1.333 512 12.024 512H208c13.255 0 24-10.745 24-24V160h63.966c20.878 0 31.851-24.969 17.587-40.331z"]},faMapMarkerAlt={prefix:"fas",iconName:"map-marker-alt",icon:[384,512,[],"f3c5","M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"]},faMinusSquare={prefix:"fas",iconName:"minus-square",icon:[448,512,[],"f146","M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"]},faPencilAlt={prefix:"fas",iconName:"pencil-alt",icon:[512,512,[],"f303","M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"]},faSearch={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},faShareAlt={prefix:"fas",iconName:"share-alt",icon:[448,512,[],"f1e0","M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"]},faSitemap={prefix:"fas",iconName:"sitemap",icon:[640,512,[],"f0e8","M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"]},faSpinner={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},faSquare={prefix:"fas",iconName:"square",icon:[448,512,[],"f0c8","M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"]},faTable={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64v-96h160v96zm0-160H64v-96h160v96zm224 160H288v-96h160v96zm0-160H288v-96h160v96z"]},faTag={prefix:"fas",iconName:"tag",icon:[512,512,[],"f02b","M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"]},faThLarge={prefix:"fas",iconName:"th-large",icon:[512,512,[],"f009","M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"]},faTimes={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},faUserTie={prefix:"fas",iconName:"user-tie",icon:[448,512,[],"f508","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm95.8 32.6L272 480l-32-136 32-56h-96l32 56-32 136-47.8-191.4C56.9 292 0 350.3 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-72.1-56.9-130.4-128.2-133.8z"]}},function(module,exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__(246),redefine=__webpack_require__(60),toString=__webpack_require__(604);TO_STRING_TAG_SUPPORT||redefine(Object.prototype,"toString",toString,{unsafe:!0})},function(module,exports){module.exports=function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}},,function(module,__webpack_exports__,__webpack_require__){"use strict";function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?arguments[1]:void 0)}})},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},function(module,exports,__webpack_require__){"use strict";var toIndexedObject=__webpack_require__(71),addToUnscopables=__webpack_require__(180),Iterators=__webpack_require__(147),InternalStateModule=__webpack_require__(78),defineIterator=__webpack_require__(250),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),fails=__webpack_require__(21),isArray=__webpack_require__(142),isObject=__webpack_require__(37),toObject=__webpack_require__(61),toLength=__webpack_require__(54),createProperty=__webpack_require__(143),arraySpeciesCreate=__webpack_require__(242),arrayMethodHasSpeciesSupport=__webpack_require__(144),wellKnownSymbol=__webpack_require__(33),V8_VERSION=__webpack_require__(244),IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails((function(){var array=[];return array[IS_CONCAT_SPREADABLE]=!1,array.concat()[0]!==array})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(O){if(!isObject(O))return!1;var spreadable=O[IS_CONCAT_SPREADABLE];return void 0!==spreadable?!!spreadable:isArray(O)};$({target:"Array",proto:!0,forced:!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT},{concat:function concat(arg){var i,k,length,len,E,O=toObject(this),A=arraySpeciesCreate(O,0),n=0;for(i=-1,length=arguments.length;i9007199254740991)throw TypeError("Maximum allowed index exceeded");for(k=0;k=9007199254740991)throw TypeError("Maximum allowed index exceeded");createProperty(A,n++,E)}return A.length=n,A}})},function(module,exports,__webpack_require__){(function(global){var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||Function("return this")()}).call(this,__webpack_require__(36))},function(module,exports,__webpack_require__){"use strict";var charAt=__webpack_require__(253).charAt,InternalStateModule=__webpack_require__(78),defineIterator=__webpack_require__(250),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState(this,{type:"String Iterator",string:String(iterated),index:0})}),(function next(){var point,state=getInternalState(this),string=state.string,index=state.index;return index>=string.length?{value:void 0,done:!0}:(point=charAt(string,index),state.index+=point.length,{value:point,done:!1})}))},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(44),defineProperty=__webpack_require__(52).f,FunctionPrototype=Function.prototype,FunctionPrototypeToString=FunctionPrototype.toString,nameRE=/^\s*function ([^ (]*)/;DESCRIPTORS&&!("name"in FunctionPrototype)&&defineProperty(FunctionPrototype,"name",{configurable:!0,get:function(){try{return FunctionPrototypeToString.call(this).match(nameRE)[1]}catch(error){return""}}})},function(module,exports,__webpack_require__){var redefine=__webpack_require__(60),DatePrototype=Date.prototype,nativeDateToString=DatePrototype.toString,getTime=DatePrototype.getTime;new Date(NaN)+""!="Invalid Date"&&redefine(DatePrototype,"toString",(function toString(){var value=getTime.call(this);return value==value?nativeDateToString.call(this):"Invalid Date"}))},function(module,exports,__webpack_require__){var global=__webpack_require__(24),DOMIterables=__webpack_require__(370),ArrayIteratorMethods=__webpack_require__(22),createNonEnumerableProperty=__webpack_require__(77),wellKnownSymbol=__webpack_require__(33),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values;for(var COLLECTION_NAME in DOMIterables){var Collection=global[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}},function(module,exports,__webpack_require__){"use strict";var ES5Type=__webpack_require__(328);module.exports=function Type(x){return"symbol"==typeof x?"Symbol":ES5Type(x)}},function(module,exports,__webpack_require__){"use strict";var redefine=__webpack_require__(60),anObject=__webpack_require__(45),fails=__webpack_require__(21),flags=__webpack_require__(369),RegExpPrototype=RegExp.prototype,nativeToString=RegExpPrototype.toString,NOT_GENERIC=fails((function(){return"/a/b"!=nativeToString.call({source:"a",flags:"b"})})),INCORRECT_NAME="toString"!=nativeToString.name;(NOT_GENERIC||INCORRECT_NAME)&&redefine(RegExp.prototype,"toString",(function toString(){var R=anObject(this),p=String(R.source),rf=R.flags;return"/"+p+"/"+String(void 0===rf&&R instanceof RegExp&&!("flags"in RegExpPrototype)?flags.call(R):rf)}),{unsafe:!0})},function(module,exports,__webpack_require__){"use strict";(function(module){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(27),__webpack_require__(8),Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={knob:!0,text:!0,boolean:!0,number:!0,color:!0,object:!0,select:!0,radios:!0,array:!0,date:!0,button:!0,files:!0,optionsKnob:!0,withKnobs:!0};exports.knob=function knob(name,options){return _registerKnobs.manager.knob(name,options)},exports.text=function text(name,value,groupId){return _registerKnobs.manager.knob(name,{type:"text",value:value,groupId:groupId})},exports.boolean=function _boolean(name,value,groupId){return _registerKnobs.manager.knob(name,{type:"boolean",value:value,groupId:groupId})},exports.number=function number(name,value){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},groupId=arguments.length>3?arguments[3]:void 0,rangeDefaults={min:0,max:10,step:1},mergedOptions=options.range?Object.assign({},rangeDefaults,{},options):options,finalOptions=Object.assign({type:"number"},mergedOptions,{value:value,groupId:groupId});return _registerKnobs.manager.knob(name,finalOptions)},exports.color=function color(name,value,groupId){return _registerKnobs.manager.knob(name,{type:"color",value:value,groupId:groupId})},exports.object=function object(name,value,groupId){return _registerKnobs.manager.knob(name,{type:"object",value:value,groupId:groupId})},exports.select=function select(name,options,value,groupId){return _registerKnobs.manager.knob(name,{type:"select",selectV2:!0,options:options,value:value,groupId:groupId})},exports.radios=function radios(name,options,value,groupId){return _registerKnobs.manager.knob(name,{type:"radios",options:options,value:value,groupId:groupId})},exports.array=function array(name,value){var separator=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",groupId=arguments.length>3?arguments[3]:void 0;return _registerKnobs.manager.knob(name,{type:"array",value:value,separator:separator,groupId:groupId})},exports.date=function date(name){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,groupId=arguments.length>2?arguments[2]:void 0,proxyValue=value?value.getTime():(new Date).getTime();return _registerKnobs.manager.knob(name,{type:"date",value:proxyValue,groupId:groupId})},exports.button=function button(name,callback,groupId){return _registerKnobs.manager.knob(name,{type:"button",callback:callback,hideLabel:!0,groupId:groupId})},exports.files=function files(name,accept){var value=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],groupId=arguments.length>3?arguments[3]:void 0;return _registerKnobs.manager.knob(name,{type:"files",accept:accept,value:value,groupId:groupId})},exports.optionsKnob=function optionsKnob(name,valuesObj,value,optionsObj,groupId){return _registerKnobs.manager.knob(name,{type:"options",options:valuesObj,value:value,optionsObj:optionsObj,groupId:groupId})},exports.withKnobs=void 0;var _addons=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(106)),_shared=__webpack_require__(299);Object.keys(_shared).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _shared[key]}}))}));var _registerKnobs=__webpack_require__(1322);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}var defaultOptions={escapeHTML:!0},withKnobs=(0,_addons.makeDecorator)({name:"withKnobs",parameterName:"knobs",skipIfNoParametersOrOptions:!1,allowDeprecatedUsage:!0,wrapper:function wrapper(getStory,context,_ref){var options=_ref.options,storyOptions=_ref.parameters||options,allOptions=Object.assign({},defaultOptions,{},storyOptions),channel=_addons.default.getChannel();return _registerKnobs.manager.setChannel(channel),_registerKnobs.manager.setOptions(allOptions),channel.emit(_shared.SET_OPTIONS,allOptions),(0,_registerKnobs.registerKnobs)(),getStory(context)}});exports.withKnobs=withKnobs,module&&module.hot&&module.hot.decline&&module.hot.decline()}).call(this,__webpack_require__(90)(module))},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(6),callBind=__webpack_require__(171),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")?callBind(intrinsic):intrinsic}},function(module,exports,__webpack_require__){var global=__webpack_require__(24),shared=__webpack_require__(237),has=__webpack_require__(47),uid=__webpack_require__(175),NATIVE_SYMBOL=__webpack_require__(243),USE_SYMBOL_AS_UID=__webpack_require__(354),WellKnownSymbolsStore=shared("wks"),Symbol=global.Symbol,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol:Symbol&&Symbol.withoutSetter||uid;module.exports=function(name){return has(WellKnownSymbolsStore,name)||(NATIVE_SYMBOL&&has(Symbol,name)?WellKnownSymbolsStore[name]=Symbol[name]:WellKnownSymbolsStore[name]=createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}},function(module,exports,__webpack_require__){__webpack_require__(46)("iterator")},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),exec=__webpack_require__(183);$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec})},function(module,exports){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){__webpack_require__(9)({target:"Array",stat:!0},{isArray:__webpack_require__(142)})},function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(312),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,supportsDescriptors=origDefineProperty&&function(){var obj={};try{for(var _ in origDefineProperty(obj,"x",{enumerable:!1,value:obj}),obj)return!1;return obj.x===obj}catch(e){return!1}}(),defineProperty=function(object,name,value,predicate){var fn;(!(name in object)||"function"==typeof(fn=predicate)&&"[object Function]"===toStr.call(fn)&&predicate())&&(supportsDescriptors?origDefineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i0||!Array.isArray(value)&&value?_defineProperty({},key,value):{}}function FontAwesomeIcon(_ref){var forwardedRef=_ref.forwardedRef,props=_objectWithoutProperties(_ref,["forwardedRef"]),iconArgs=props.icon,maskArgs=props.mask,symbol=props.symbol,className=props.className,title=props.title,iconLookup=normalizeIconArgs(iconArgs),classes=objectWithKey("classes",[].concat(_toConsumableArray(function classList(props){var _classes,spin=props.spin,pulse=props.pulse,fixedWidth=props.fixedWidth,inverse=props.inverse,border=props.border,listItem=props.listItem,flip=props.flip,size=props.size,rotation=props.rotation,pull=props.pull,classes=(_defineProperty(_classes={"fa-spin":spin,"fa-pulse":pulse,"fa-fw":fixedWidth,"fa-inverse":inverse,"fa-border":border,"fa-li":listItem,"fa-flip-horizontal":"horizontal"===flip||"both"===flip,"fa-flip-vertical":"vertical"===flip||"both"===flip},"fa-".concat(size),null!=size),_defineProperty(_classes,"fa-rotate-".concat(rotation),null!=rotation&&0!==rotation),_defineProperty(_classes,"fa-pull-".concat(pull),null!=pull),_defineProperty(_classes,"fa-swap-opacity",props.swapOpacity),_classes);return Object.keys(classes).map((function(key){return classes[key]?key:null})).filter((function(key){return key}))}(props)),_toConsumableArray(className.split(" ")))),transform=objectWithKey("transform","string"==typeof props.transform?_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.c.transform(props.transform):props.transform),mask=objectWithKey("mask",normalizeIconArgs(maskArgs)),renderedIcon=Object(_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.a)(iconLookup,_objectSpread2({},classes,{},transform,{},mask,{symbol:symbol,title:title}));if(!renderedIcon)return function log(){var _console;!PRODUCTION&&console&&"function"==typeof console.error&&(_console=console).error.apply(_console,arguments)}("Could not find icon",iconLookup),null;var abstract=renderedIcon.abstract,extraProps={ref:forwardedRef};return Object.keys(props).forEach((function(key){FontAwesomeIcon.defaultProps.hasOwnProperty(key)||(extraProps[key]=props[key])})),convertCurry(abstract[0],extraProps)}FontAwesomeIcon.displayName="FontAwesomeIcon",FontAwesomeIcon.propTypes={border:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,className:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,mask:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),fixedWidth:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,inverse:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,flip:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["horizontal","vertical","both"]),icon:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),listItem:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,pull:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["right","left"]),pulse:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,rotation:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([0,90,180,270]),size:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,symbol:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),title:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,transform:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object]),swapOpacity:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool},FontAwesomeIcon.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var convertCurry=function convert(createElement,element){var extraProps=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof element)return element;var children=(element.children||[]).map((function(child){return convert(createElement,child)})),mixins=Object.keys(element.attributes||{}).reduce((function(acc,key){var val=element.attributes[key];switch(key){case"class":acc.attrs.className=val,delete element.attributes.class;break;case"style":acc.attrs.style=styleToObject(val);break;default:0===key.indexOf("aria-")||0===key.indexOf("data-")?acc.attrs[key.toLowerCase()]=val:acc.attrs[camelize(key)]=val}return acc}),{attrs:{}}),_extraProps$style=extraProps.style,existingStyle=void 0===_extraProps$style?{}:_extraProps$style,remaining=_objectWithoutProperties(extraProps,["style"]);return mixins.attrs.style=_objectSpread2({},mixins.attrs.style,{},existingStyle),createElement.apply(void 0,[element.tag,_objectSpread2({},mixins.attrs,{},remaining)].concat(_toConsumableArray(children)))}.bind(null,react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement)},function(module,exports){function _getPrototypeOf(o){return module.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}module.exports=_getPrototypeOf},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),$filter=__webpack_require__(103).filter,arrayMethodHasSpeciesSupport=__webpack_require__(144),arrayMethodUsesToLength=__webpack_require__(72),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("filter"),USES_TO_LENGTH=arrayMethodUsesToLength("filter");$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT||!USES_TO_LENGTH},{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(44),IE8_DOM_DEFINE=__webpack_require__(348),anObject=__webpack_require__(45),toPrimitive=__webpack_require__(140),nativeDefineProperty=Object.defineProperty;exports.f=DESCRIPTORS?nativeDefineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return nativeDefineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){"use strict";(function(module){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(55),__webpack_require__(8),__webpack_require__(64),__webpack_require__(93),__webpack_require__(15),__webpack_require__(150),Object.defineProperty(exports,"__esModule",{value:!0}),exports.configureA11y=exports.checkA11y=exports.withA11Y=exports.withA11y=void 0;var _global=__webpack_require__(41),_axeCore=_interopRequireDefault(__webpack_require__(1330)),_utilDeprecate=_interopRequireDefault(__webpack_require__(149)),_tsDedent=_interopRequireDefault(__webpack_require__(155)),_addons=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(106)),_constants=__webpack_require__(1331);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _templateObject(){var data=function _taggedTemplateLiteral(strings,raw){raw||(raw=strings.slice(0));return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n configureA11y is deprecated, please configure addon-a11y using the addParameter api:\n \n addParameters({\n a11y: {\n // ... axe options\n element: '#root', // optional selector which element to inspect\n },\n });\n "]);return _templateObject=function _templateObject(){return data},data}var progress=Promise.resolve(),setup={element:null,config:{},options:{}},report=function report(input){return _addons.default.getChannel().emit(_constants.EVENTS.RESULT,input)},run=function run(element,config,options){progress=progress.then((function(){return _axeCore.default.reset(),config&&_axeCore.default.configure(config),_axeCore.default.run(element||function getElement(){var storyRoot=_global.document.getElementById("story-root");return storyRoot?storyRoot.children:_global.document.getElementById("root")}(),options||{restoreScroll:!0}).then(report).catch((function(error){return _addons.default.getChannel().emit(_constants.EVENTS.ERROR,String(error))}))}))};module&&module.hot&&module.hot.decline&&module.hot.decline();var storedDefaultSetup=null,withA11y=(0,_addons.makeDecorator)({name:"withA11Y",parameterName:_constants.PARAM_KEY,wrapper:function wrapper(getStory,context,_ref){var parameters=_ref.parameters;return parameters?(null===storedDefaultSetup&&(storedDefaultSetup=Object.assign({},setup)),Object.assign(setup,parameters)):null!==storedDefaultSetup&&(Object.assign(setup,storedDefaultSetup),storedDefaultSetup=null),_addons.default.getChannel().on(_constants.EVENTS.REQUEST,(function(){return run(setup.element,setup.config,setup.options)})),getStory(context)}});exports.withA11y=withA11y;var withA11Y=(0,_utilDeprecate.default)((function(){return withA11y.apply(void 0,arguments)}),"withA11Y has been renamed withA11y");exports.withA11Y=withA11Y;var checkA11y=(0,_utilDeprecate.default)((function(){return withA11y.apply(void 0,arguments)}),"checkA11y has been renamed withA11y");exports.checkA11y=checkA11y;var configureA11y=(0,_utilDeprecate.default)((function(config){setup=config}),(0,_tsDedent.default)(_templateObject()));exports.configureA11y=configureA11y}).call(this,__webpack_require__(90)(module))},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(113),min=Math.min;module.exports=function(argument){return argument>0?min(toInteger(argument),9007199254740991):0}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),isObject=__webpack_require__(37),isArray=__webpack_require__(142),toAbsoluteIndex=__webpack_require__(177),toLength=__webpack_require__(54),toIndexedObject=__webpack_require__(71),createProperty=__webpack_require__(143),wellKnownSymbol=__webpack_require__(33),arrayMethodHasSpeciesSupport=__webpack_require__(144),arrayMethodUsesToLength=__webpack_require__(72),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),USES_TO_LENGTH=arrayMethodUsesToLength("slice",{ACCESSORS:!0,0:0,1:2}),SPECIES=wellKnownSymbol("species"),nativeSlice=[].slice,max=Math.max;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT||!USES_TO_LENGTH},{slice:function slice(start,end){var Constructor,result,n,O=toIndexedObject(this),length=toLength(O.length),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length);if(isArray(O)&&("function"!=typeof(Constructor=O.constructor)||Constructor!==Array&&!isArray(Constructor.prototype)?isObject(Constructor)&&null===(Constructor=Constructor[SPECIES])&&(Constructor=void 0):Constructor=void 0,Constructor===Array||void 0===Constructor))return nativeSlice.call(O,k,fin);for(result=new(void 0===Constructor?Array:Constructor)(max(fin-k,0)),n=0;k=0)?NaN:a>170?1/0:0===a?1:a*factorial(a-1)},notation:"postfix",precedence:6,rightToLeft:0,argCount:1},symbol:"!",regSymbol:"!"},"^":{infix:{symbol:"^",f:function power(a,b){return Math.pow(a,b)},notation:"infix",precedence:5,rightToLeft:1,argCount:2},symbol:"^",regSymbol:"\\^"},"*":{infix:{symbol:"*",f:function multiplication(a,b){return a*b},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:function division(a,b){return a/b},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:function addition(a,b){return a+b},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:last,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:function subtraction(a,b){return a-b},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:function negation(a){return-a},notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:function comma(){return Array.of.apply(Array,arguments)},notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:last,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:function min(){return Math.min.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:function max(){return Math.max.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"},sqrt:{func:{symbol:"sqrt",f:function sqrt(a){return Math.sqrt(a)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"sqrt",regSymbol:"sqrt\\b"}}};var polished_esm_PolishedError=function(_Error){function PolishedError(code){var _this;return _this=_Error.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#"+code+" for more information.")||this,Object(assertThisInitialized.a)(_this)}return Object(inheritsLoose.a)(PolishedError,_Error),PolishedError}(wrapNativeSuper_wrapNativeSuper(Error)),unitRegExp=/((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;function exec(operators,values){var _ref,op=operators.pop();return values.push(op.f.apply(op,(_ref=[]).concat.apply(_ref,values.splice(-op.argCount)))),op.precedence}function calculate(expression,additionalSymbols){var match,symbolMap=function mergeSymbolMaps(additionalSymbols){var symbolMap={};return symbolMap.symbols=additionalSymbols?Object(esm_extends.a)({},defaultMathSymbols.symbols,{},additionalSymbols.symbols):Object(esm_extends.a)({},defaultMathSymbols.symbols),symbolMap}(additionalSymbols),operators=[symbolMap.symbols["("].prefix],values=[],pattern=new RegExp("\\d+(?:\\.\\d+)?|"+Object.keys(symbolMap.symbols).map((function(key){return symbolMap.symbols[key]})).sort((function(a,b){return b.symbol.length-a.symbol.length})).map((function(val){return val.regSymbol})).join("|")+"|(\\S)","g");pattern.lastIndex=0;var afterValue=!1;do{var _ref2=(match=pattern.exec(expression))||[")",void 0],token=_ref2[0],bad=_ref2[1],notNumber=symbolMap.symbols[token],notNewValue=notNumber&&!notNumber.prefix&&!notNumber.func,notAfterValue=!notNumber||!notNumber.postfix&&!notNumber.infix;if(bad||(afterValue?notAfterValue:notNewValue))throw new polished_esm_PolishedError(37,match?match.index:expression.length,expression);if(afterValue){var curr=notNumber.postfix||notNumber.infix;do{var prev=operators[operators.length-1];if((curr.precedence-prev.precedence||prev.rightToLeft)>0)break}while(exec(operators,values));afterValue="postfix"===curr.notation,")"!==curr.symbol&&(operators.push(curr),afterValue&&exec(operators,values))}else if(notNumber){if(operators.push(notNumber.prefix||notNumber.func),notNumber.func&&(!(match=pattern.exec(expression))||"("!==match[0]))throw new polished_esm_PolishedError(38,match?match.index:expression.length,expression)}else values.push(+token),afterValue=!0}while(match&&operators.length);if(operators.length)throw new polished_esm_PolishedError(39,match?match.index:expression.length,expression);if(match)throw new polished_esm_PolishedError(40,match?match.index:expression.length,expression);return values.pop()}function reverseString(str){return str.split("").reverse().join("")}function math(formula,additionalSymbols){var reversedFormula=reverseString(formula),formulaMatch=reversedFormula.match(unitRegExp);if(formulaMatch&&!formulaMatch.every((function(unit){return unit===formulaMatch[0]})))throw new polished_esm_PolishedError(41);return""+calculate(reverseString(reversedFormula.replace(unitRegExp,"")),additionalSymbols)+(formulaMatch?reverseString(formulaMatch[0]):"")}var cssVariableRegex=/--[\S]*/g;function cssVar(cssVariable,passThrough){if(!cssVariable||!cssVariable.match(cssVariableRegex)){if(passThrough)return cssVariable;throw new polished_esm_PolishedError(73)}var variableValue;if("undefined"!=typeof document&&null!==document.documentElement&&(variableValue=getComputedStyle(document.documentElement).getPropertyValue(cssVariable)),variableValue)return variableValue.trim();throw new polished_esm_PolishedError(74)}function capitalizeString(string){return string.charAt(0).toUpperCase()+string.slice(1)}var positionMap=["Top","Right","Bottom","Left"];function generateProperty(property,position){if(!property)return position.toLowerCase();var splitProperty=property.split("-");if(splitProperty.length>1)return splitProperty.splice(1,0,position),splitProperty.reduce((function(acc,val){return""+acc+capitalizeString(val)}));var joinedProperty=property.replace(/([a-z])([A-Z])/g,"$1"+position+"$2");return property===joinedProperty?""+property+position:joinedProperty}function generateStyles(property,valuesWithDefaults){for(var styles={},i=0;i1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];var firstValue=values[0],_values$=values[1],secondValue=void 0===_values$?firstValue:_values$,_values$2=values[2],thirdValue=void 0===_values$2?firstValue:_values$2,_values$3=values[3],fourthValue=void 0===_values$3?secondValue:_values$3,valuesWithDefaults=[firstValue,secondValue,thirdValue,fourthValue];return generateStyles(property,valuesWithDefaults)}function endsWith(string,suffix){return string.substr(-suffix.length)===suffix}var cssRegex=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function stripUnit(value,unitReturn){if("string"!=typeof value)return unitReturn?[value,void 0]:value;var matchedValue=value.match(cssRegex);return unitReturn?(console.warn("stripUnit's unitReturn functionality has been marked for deprecation in polished 4.0. It's functionality has been been moved to getValueAndUnit."),matchedValue?[parseFloat(value),matchedValue[2]]:[value,void 0]):matchedValue?parseFloat(value):value}var pxtoFactory=function pxtoFactory(to){return function(pxval,base){void 0===base&&(base="16px");var newPxval=pxval,newBase=base;if("string"==typeof pxval){if(!endsWith(pxval,"px"))throw new polished_esm_PolishedError(69,to,pxval);newPxval=stripUnit(pxval)}if("string"==typeof base){if(!endsWith(base,"px"))throw new polished_esm_PolishedError(70,to,base);newBase=stripUnit(base)}if("string"==typeof newPxval)throw new polished_esm_PolishedError(71,pxval,to);if("string"==typeof newBase)throw new polished_esm_PolishedError(72,base,to);return""+newPxval/newBase+to}},em=pxtoFactory("em"),cssRegex$1=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function getValueAndUnit(value){if("string"!=typeof value)return[value,""];var matchedValue=value.match(cssRegex$1);return matchedValue?[parseFloat(value),matchedValue[2]]:[value,void 0]}var ratioNames={minorSecond:1.067,majorSecond:1.125,minorThird:1.2,majorThird:1.25,perfectFourth:1.333,augFourth:1.414,perfectFifth:1.5,minorSixth:1.6,goldenSection:1.618,majorSixth:1.667,minorSeventh:1.778,majorSeventh:1.875,octave:2,majorTenth:2.5,majorEleventh:2.667,majorTwelfth:3,doubleOctave:4};function modularScale(steps,base,ratio){if(void 0===base&&(base="1em"),void 0===ratio&&(ratio=1.333),"number"!=typeof steps)throw new polished_esm_PolishedError(42);if("string"==typeof ratio&&!ratioNames[ratio])throw new polished_esm_PolishedError(43);var _ref="string"==typeof base?getValueAndUnit(base):[base,""],realBase=_ref[0],unit=_ref[1],realRatio="string"==typeof ratio?function getRatio(ratioName){return ratioNames[ratioName]}(ratio):ratio;if("string"==typeof realBase)throw new polished_esm_PolishedError(44,base);return""+realBase*Math.pow(realRatio,steps)+(unit||"")}var rem=pxtoFactory("rem");function between(fromSize,toSize,minScreen,maxScreen){void 0===minScreen&&(minScreen="320px"),void 0===maxScreen&&(maxScreen="1200px");var _getValueAndUnit=getValueAndUnit(fromSize),unitlessFromSize=_getValueAndUnit[0],fromSizeUnit=_getValueAndUnit[1],_getValueAndUnit2=getValueAndUnit(toSize),unitlessToSize=_getValueAndUnit2[0],toSizeUnit=_getValueAndUnit2[1],_getValueAndUnit3=getValueAndUnit(minScreen),unitlessMinScreen=_getValueAndUnit3[0],minScreenUnit=_getValueAndUnit3[1],_getValueAndUnit4=getValueAndUnit(maxScreen),unitlessMaxScreen=_getValueAndUnit4[0],maxScreenUnit=_getValueAndUnit4[1];if("number"!=typeof unitlessMinScreen||"number"!=typeof unitlessMaxScreen||!minScreenUnit||!maxScreenUnit||minScreenUnit!==maxScreenUnit)throw new polished_esm_PolishedError(47);if("number"!=typeof unitlessFromSize||"number"!=typeof unitlessToSize||fromSizeUnit!==toSizeUnit)throw new polished_esm_PolishedError(48);var slope=(unitlessFromSize-unitlessToSize)/(unitlessMinScreen-unitlessMaxScreen);return"calc("+(unitlessToSize-slope*unitlessMaxScreen).toFixed(2)+(fromSizeUnit||"")+" + "+(100*slope).toFixed(2)+"vw)"}function clearFix(parent){var _ref;return void 0===parent&&(parent="&"),(_ref={})[parent+"::after"]={clear:"both",content:'""',display:"table"},_ref}function cover(offset){return void 0===offset&&(offset=0),{position:"absolute",top:offset,right:offset,bottom:offset,left:offset}}function ellipsis(width){return void 0===width&&(width="100%"),{display:"inline-block",maxWidth:width,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"}}function _createForOfIteratorHelperLoose(o){var i=0;if("undefined"==typeof Symbol||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o)))return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=o[Symbol.iterator]()).next.bind(i)}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1?_len-1:0),_key=1;_key<_len;_key++)substitutions[_key-1]=arguments[_key];for(var i=0;i1?(template=template.slice(0,-1),template+=", "+substitutions[i]):1===definedValues.length&&(template+=""+substitutions[i])}else substitutions[i]&&(template+=substitutions[i]+" ");return template.trim()}function _templateObject(){var data=_taggedTemplateLiteralLoose(["linear-gradient(","",")"]);return _templateObject=function _templateObject(){return data},data}function linearGradient(_ref){var colorStops=_ref.colorStops,fallback=_ref.fallback,_ref$toDirection=_ref.toDirection,toDirection=void 0===_ref$toDirection?"":_ref$toDirection;if(!colorStops||colorStops.length<2)throw new polished_esm_PolishedError(56);return{backgroundColor:fallback||colorStops[0].split(" ")[0],backgroundImage:constructGradientValue(_templateObject(),toDirection,colorStops.join(", "))}}function normalize(){var _ref;return[(_ref={html:{lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:"0"},main:{display:"block"},h1:{fontSize:"2em",margin:"0.67em 0"},hr:{boxSizing:"content-box",height:"0",overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{backgroundColor:"transparent"},"abbr[title]":{borderBottom:"none",textDecoration:"underline"}},_ref["b,\n strong"]={fontWeight:"bolder"},_ref["code,\n kbd,\n samp"]={fontFamily:"monospace, monospace",fontSize:"1em"},_ref.small={fontSize:"80%"},_ref["sub,\n sup"]={fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},_ref.sub={bottom:"-0.25em"},_ref.sup={top:"-0.5em"},_ref.img={borderStyle:"none"},_ref["button,\n input,\n optgroup,\n select,\n textarea"]={fontFamily:"inherit",fontSize:"100%",lineHeight:"1.15",margin:"0"},_ref["button,\n input"]={overflow:"visible"},_ref["button,\n select"]={textTransform:"none"},_ref['button,\n html [type="button"],\n [type="reset"],\n [type="submit"]']={WebkitAppearance:"button"},_ref['button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner']={borderStyle:"none",padding:"0"},_ref['button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring']={outline:"1px dotted ButtonText"},_ref.fieldset={padding:"0.35em 0.625em 0.75em"},_ref.legend={boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"},_ref.progress={verticalAlign:"baseline"},_ref.textarea={overflow:"auto"},_ref['[type="checkbox"],\n [type="radio"]']={boxSizing:"border-box",padding:"0"},_ref['[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button']={height:"auto"},_ref['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},_ref['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},_ref["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},_ref.details={display:"block"},_ref.summary={display:"list-item"},_ref.template={display:"none"},_ref["[hidden]"]={display:"none"},_ref),{"abbr[title]":{textDecoration:"underline dotted"}}]}function _templateObject$1(){var data=_taggedTemplateLiteralLoose(["radial-gradient(","","","",")"]);return _templateObject$1=function _templateObject(){return data},data}function radialGradient(_ref){var colorStops=_ref.colorStops,_ref$extent=_ref.extent,extent=void 0===_ref$extent?"":_ref$extent,fallback=_ref.fallback,_ref$position=_ref.position,position=void 0===_ref$position?"":_ref$position,_ref$shape=_ref.shape,shape=void 0===_ref$shape?"":_ref$shape;if(!colorStops||colorStops.length<2)throw new polished_esm_PolishedError(57);return{backgroundColor:fallback||colorStops[0].split(" ")[0],backgroundImage:constructGradientValue(_templateObject$1(),position,shape,extent,colorStops.join(", "))}}function retinaImage(filename,backgroundSize,extension,retinaFilename,retinaSuffix){var _ref;if(void 0===extension&&(extension="png"),void 0===retinaSuffix&&(retinaSuffix="_2x"),!filename)throw new polished_esm_PolishedError(58);var ext=extension.replace(/^\./,""),rFilename=retinaFilename?retinaFilename+"."+ext:""+filename+retinaSuffix+"."+ext;return(_ref={backgroundImage:"url("+filename+"."+ext+")"})[hiDPI()]=Object(esm_extends.a)({backgroundImage:"url("+rFilename+")"},backgroundSize?{backgroundSize:backgroundSize}:{}),_ref}var functionsMap={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};function timingFunctions(timingFunction){return function getTimingFunction(functionName){return functionsMap[functionName]}(timingFunction)}var getBorderWidth=function getBorderWidth(pointingDirection,height,width){var fullWidth=""+width[0]+(width[1]||""),halfWidth=""+width[0]/2+(width[1]||""),fullHeight=""+height[0]+(height[1]||""),halfHeight=""+height[0]/2+(height[1]||"");switch(pointingDirection){case"top":return"0 "+halfWidth+" "+fullHeight+" "+halfWidth;case"topLeft":return fullWidth+" "+fullHeight+" 0 0";case"left":return halfHeight+" "+fullWidth+" "+halfHeight+" 0";case"bottomLeft":return fullWidth+" 0 0 "+fullHeight;case"bottom":return fullHeight+" "+halfWidth+" 0 "+halfWidth;case"bottomRight":return"0 0 "+fullWidth+" "+fullHeight;case"right":return halfHeight+" 0 "+halfHeight+" "+fullWidth;case"topRight":default:return"0 "+fullWidth+" "+fullHeight+" 0"}},getBorderColor=function getBorderColor(pointingDirection,foregroundColor,backgroundColor){switch(pointingDirection){case"top":case"bottomRight":return backgroundColor+" "+backgroundColor+" "+foregroundColor+" "+backgroundColor;case"right":case"bottomLeft":return backgroundColor+" "+backgroundColor+" "+backgroundColor+" "+foregroundColor;case"bottom":case"topLeft":return foregroundColor+" "+backgroundColor+" "+backgroundColor+" "+backgroundColor;case"left":case"topRight":return backgroundColor+" "+foregroundColor+" "+backgroundColor+" "+backgroundColor;default:throw new polished_esm_PolishedError(59)}};function triangle(_ref){var pointingDirection=_ref.pointingDirection,height=_ref.height,width=_ref.width,foregroundColor=_ref.foregroundColor,_ref$backgroundColor=_ref.backgroundColor,backgroundColor=void 0===_ref$backgroundColor?"transparent":_ref$backgroundColor,widthAndUnit=getValueAndUnit(width),heightAndUnit=getValueAndUnit(height);if(isNaN(heightAndUnit[0])||isNaN(widthAndUnit[0]))throw new polished_esm_PolishedError(60);return{width:"0",height:"0",borderColor:getBorderColor(pointingDirection,foregroundColor,backgroundColor),borderStyle:"solid",borderWidth:getBorderWidth(pointingDirection,heightAndUnit,widthAndUnit)}}function wordWrap(wrap){return void 0===wrap&&(wrap="break-word"),{overflowWrap:wrap,wordWrap:wrap,wordBreak:"break-word"===wrap?"break-all":wrap}}function colorToInt(color){return Math.round(255*color)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new polished_esm_PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor);if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor);if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])}}throw new polished_esm_PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new polished_esm_PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new polished_esm_PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new polished_esm_PolishedError(7)}function toColorString(color){if("object"!=typeof color)throw new polished_esm_PolishedError(8);if(function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha}(color))return rgba(color);if(function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return rgb(color);if(function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha}(color))return hsla(color);if(function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return hsl(color);throw new polished_esm_PolishedError(8)}function curry(f){return function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}(f,f.length,[])}function adjustHue(degree,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{hue:hslColor.hue+parseFloat(degree)}))}var curriedAdjustHue=curry(adjustHue);function complement(color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{hue:(hslColor.hue+180)%360}))}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken);function desaturate(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{saturation:guard(0,1,hslColor.saturation-parseFloat(amount))}))}var curriedDesaturate=curry(desaturate);function getLuminance(color){if("transparent"===color)return 0;var rgbColor=parseToRgb(color),_Object$keys$map=Object.keys(rgbColor).map((function(key){var channel=rgbColor[key]/255;return channel<=.03928?channel/12.92:Math.pow((channel+.055)/1.055,2.4)})),r=_Object$keys$map[0],g=_Object$keys$map[1],b=_Object$keys$map[2];return parseFloat((.2126*r+.7152*g+.0722*b).toFixed(3))}function getContrast(color1,color2){var luminance1=getLuminance(color1),luminance2=getLuminance(color2);return parseFloat((luminance1>luminance2?(luminance1+.05)/(luminance2+.05):(luminance2+.05)/(luminance1+.05)).toFixed(2))}function grayscale(color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{saturation:0}))}function hslToColorString(color){if("object"==typeof color&&"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness)return color.alpha&&"number"==typeof color.alpha?hsla({hue:color.hue,saturation:color.saturation,lightness:color.lightness,alpha:color.alpha}):hsl({hue:color.hue,saturation:color.saturation,lightness:color.lightness});throw new polished_esm_PolishedError(45)}function invert(color){if("transparent"===color)return color;var value=parseToRgb(color);return toColorString(Object(esm_extends.a)({},value,{red:255-value.red,green:255-value.green,blue:255-value.blue}))}function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten);function meetsContrastGuidelines(color1,color2){var contrastRatio=getContrast(color1,color2);return{AA:contrastRatio>=4.5,AALarge:contrastRatio>=3,AAA:contrastRatio>=7,AAALarge:contrastRatio>=4.5}}function mix(weight,color,otherColor){if("transparent"===color)return otherColor;if("transparent"===otherColor)return color;if(0===weight)return otherColor;var parsedColor1=parseToRgb(color),color1=Object(esm_extends.a)({},parsedColor1,{alpha:"number"==typeof parsedColor1.alpha?parsedColor1.alpha:1}),parsedColor2=parseToRgb(otherColor),color2=Object(esm_extends.a)({},parsedColor2,{alpha:"number"==typeof parsedColor2.alpha?parsedColor2.alpha:1}),alphaDelta=color1.alpha-color2.alpha,x=2*parseFloat(weight)-1,weight1=((x*alphaDelta==-1?x:x+alphaDelta)/(1+x*alphaDelta)+1)/2,weight2=1-weight1;return rgba({red:Math.floor(color1.red*weight1+color2.red*weight2),green:Math.floor(color1.green*weight1+color2.green*weight2),blue:Math.floor(color1.blue*weight1+color2.blue*weight2),alpha:color1.alpha*(parseFloat(weight)/1)+color2.alpha*(1-parseFloat(weight)/1)})}var curriedMix=curry(mix);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,(100*alpha+100*parseFloat(amount))/100)}))}var curriedOpacify=curry(opacify);function readableColor(color,lightReturnColor,darkReturnColor,strict){void 0===lightReturnColor&&(lightReturnColor="#000"),void 0===darkReturnColor&&(darkReturnColor="#fff"),void 0===strict&&(strict=!1);var isLightColor=getLuminance(color)>.179,preferredReturnColor=isLightColor?lightReturnColor:darkReturnColor;return!strict||getContrast(color,preferredReturnColor)>=4.5?preferredReturnColor:isLightColor?"#000":"#fff"}function rgbToColorString(color){if("object"==typeof color&&"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue)return"number"==typeof color.alpha?rgba({red:color.red,green:color.green,blue:color.blue,alpha:color.alpha}):rgb({red:color.red,green:color.green,blue:color.blue});throw new polished_esm_PolishedError(46)}function saturate(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{saturation:guard(0,1,hslColor.saturation+parseFloat(amount))}))}var curriedSaturate=curry(saturate);function setHue(hue,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{hue:parseFloat(hue)}))}var curriedSetHue=curry(setHue);function setLightness(lightness,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{lightness:parseFloat(lightness)}))}var curriedSetLightness=curry(setLightness);function setSaturation(saturation,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{saturation:parseFloat(saturation)}))}var curriedSetSaturation=curry(setSaturation);function shade(percentage,color){return"transparent"===color?color:curriedMix(parseFloat(percentage),"rgb(0, 0, 0)",color)}var curriedShade=curry(shade);function tint(percentage,color){return"transparent"===color?color:curriedMix(parseFloat(percentage),"rgb(255, 255, 255)",color)}var curriedTint=curry(tint);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,(100*alpha-100*parseFloat(amount))/100)}))}var curriedTransparentize=curry(transparentize);function animation(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var multiMode=Array.isArray(args[0]);if(!multiMode&&args.length>8)throw new polished_esm_PolishedError(64);var code=args.map((function(arg){if(multiMode&&!Array.isArray(arg)||!multiMode&&Array.isArray(arg))throw new polished_esm_PolishedError(65);if(Array.isArray(arg)&&arg.length>8)throw new polished_esm_PolishedError(66);return Array.isArray(arg)?arg.join(" "):arg})).join(", ");return{animation:code}}function backgroundImages(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];return{backgroundImage:properties.join(", ")}}function backgrounds(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];return{background:properties.join(", ")}}var sideMap=["top","right","bottom","left"];function border(sideKeyword){for(var _len=arguments.length,values=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];var _ref;return"string"==typeof sideKeyword&&sideMap.indexOf(sideKeyword)>=0?((_ref={})["border"+capitalizeString(sideKeyword)+"Width"]=values[0],_ref["border"+capitalizeString(sideKeyword)+"Style"]=values[1],_ref["border"+capitalizeString(sideKeyword)+"Color"]=values[2],_ref):(values.unshift(sideKeyword),{borderWidth:values[0],borderStyle:values[1],borderColor:values[2]})}function borderColor(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderColor"].concat(values))}function borderRadius(side,radius){var _ref,_ref2,uppercaseSide=capitalizeString(side);if(!radius&&0!==radius)throw new polished_esm_PolishedError(62);if("Top"===uppercaseSide||"Bottom"===uppercaseSide)return(_ref={})["border"+uppercaseSide+"RightRadius"]=radius,_ref["border"+uppercaseSide+"LeftRadius"]=radius,_ref;if("Left"===uppercaseSide||"Right"===uppercaseSide)return(_ref2={})["borderTop"+uppercaseSide+"Radius"]=radius,_ref2["borderBottom"+uppercaseSide+"Radius"]=radius,_ref2;throw new polished_esm_PolishedError(63)}function borderStyle(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderStyle"].concat(values))}function borderWidth(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderWidth"].concat(values))}function generateSelectors(template,state){return template(state?":"+state:"")}function statefulSelectors(states,template,stateMap){if(!template)throw new polished_esm_PolishedError(67);if(0===states.length)return generateSelectors(template,null);for(var selectors=[],i=0;i1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];return positionMap$1.indexOf(firstValue)>=0&&firstValue?Object(esm_extends.a)({},directionalProperty.apply(void 0,[""].concat(values)),{position:firstValue}):directionalProperty.apply(void 0,["",firstValue].concat(values))}function size(height,width){return void 0===width&&(width=height),{height:height,width:width}}var stateMap$1=[void 0,null,"active","focus","hover"];function template$1(state){return'input[type="color"]'+state+',\n input[type="date"]'+state+',\n input[type="datetime"]'+state+',\n input[type="datetime-local"]'+state+',\n input[type="email"]'+state+',\n input[type="month"]'+state+',\n input[type="number"]'+state+',\n input[type="password"]'+state+',\n input[type="search"]'+state+',\n input[type="tel"]'+state+',\n input[type="text"]'+state+',\n input[type="time"]'+state+',\n input[type="url"]'+state+',\n input[type="week"]'+state+",\n input:not([type])"+state+",\n textarea"+state}function textInputs(){for(var _len=arguments.length,states=new Array(_len),_key=0;_key<_len;_key++)states[_key]=arguments[_key];return statefulSelectors(states,template$1,stateMap$1)}function transitions(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];if(Array.isArray(properties[0])&&2===properties.length){var value=properties[1];if("string"!=typeof value)throw new polished_esm_PolishedError(61);var transitionsString=properties[0].map((function(property){return property+" "+value})).join(", ");return{transition:transitionsString}}return{transition:properties.join(", ")}}},function(module,exports,__webpack_require__){var objectWithoutPropertiesLoose=__webpack_require__(303);module.exports=function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=objectWithoutPropertiesLoose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(6)("%TypeError%"),inspect=__webpack_require__(229),IsPropertyKey=__webpack_require__(75),Type=__webpack_require__(29);module.exports=function Get(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got "+inspect(P));return O[P]}},function(module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){var global=__webpack_require__(24),createNonEnumerableProperty=__webpack_require__(77),has=__webpack_require__(47),setGlobal=__webpack_require__(235),inspectSource=__webpack_require__(236),InternalStateModule=__webpack_require__(78),getInternalState=InternalStateModule.get,enforceInternalState=InternalStateModule.enforce,TEMPLATE=String(String).split("String");(module.exports=function(O,key,value,options){var unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet;"function"==typeof value&&("string"!=typeof key||has(value,"name")||createNonEnumerableProperty(value,"name",key),enforceInternalState(value).source=TEMPLATE.join("string"==typeof key?key:"")),O!==global?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:createNonEnumerableProperty(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&getInternalState(this).source||inspectSource(this)}))},function(module,exports,__webpack_require__){var requireObjectCoercible=__webpack_require__(59);module.exports=function(argument){return Object(requireObjectCoercible(argument))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContext=void 0;var DocsContext=(0,__webpack_require__(1).createContext)({});exports.DocsContext=DocsContext},function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(170);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},function(module,exports,__webpack_require__){var $=__webpack_require__(9),DESCRIPTORS=__webpack_require__(44);$({target:"Object",stat:!0,forced:!DESCRIPTORS,sham:!DESCRIPTORS},{defineProperties:__webpack_require__(248)})},function(module,exports){module.exports=function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},function(module,exports){function _defineProperties(target,props){for(var i=0;i]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d\d?)/g;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}];function getSubstitution(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),nativeReplace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}}))},function(module,exports,__webpack_require__){"use strict";module.exports=function IsPropertyKey(argument){return"string"==typeof argument||"symbol"==typeof argument}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(44),definePropertyModule=__webpack_require__(52),createPropertyDescriptor=__webpack_require__(124);module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){var set,get,has,NATIVE_WEAK_MAP=__webpack_require__(350),global=__webpack_require__(24),isObject=__webpack_require__(37),createNonEnumerableProperty=__webpack_require__(77),objectHas=__webpack_require__(47),sharedKey=__webpack_require__(174),hiddenKeys=__webpack_require__(141),WeakMap=global.WeakMap;if(NATIVE_WEAK_MAP){var store=new WeakMap,wmget=store.get,wmhas=store.has,wmset=store.set;set=function(it,metadata){return wmset.call(store,it,metadata),metadata},get=function(it){return wmget.call(store,it)||{}},has=function(it){return wmhas.call(store,it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){return createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return objectHas(it,STATE)?it[STATE]:{}},has=function(it){return objectHas(it,STATE)}}module.exports={set:set,get:get,has:has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),$reduce=__webpack_require__(638).left,arrayMethodIsStrict=__webpack_require__(114),arrayMethodUsesToLength=__webpack_require__(72),STRICT_METHOD=arrayMethodIsStrict("reduce"),USES_TO_LENGTH=arrayMethodUsesToLength("reduce",{1:0});$({target:"Array",proto:!0,forced:!STRICT_METHOD||!USES_TO_LENGTH},{reduce:function reduce(callbackfn){return $reduce(this,callbackfn,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";(function(global){__webpack_require__(23),Object.defineProperty(exports,"__esModule",{value:!0}),exports.logger=void 0;var console=global.console,logger={debug:function debug(message){for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];return console.debug.apply(console,[message].concat(rest))},log:function log(message){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];return console.log.apply(console,[message].concat(rest))},info:function info(message){for(var _len3=arguments.length,rest=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)rest[_key3-1]=arguments[_key3];return console.info.apply(console,[message].concat(rest))},warn:function warn(message){for(var _len4=arguments.length,rest=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)rest[_key4-1]=arguments[_key4];return console.warn.apply(console,[message].concat(rest))},error:function error(message){for(var _len5=arguments.length,rest=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)rest[_key5-1]=arguments[_key5];return console.error.apply(console,[message].concat(rest))}};exports.logger=logger}).call(this,__webpack_require__(36))},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),$includes=__webpack_require__(239).includes,addToUnscopables=__webpack_require__(180);$({target:"Array",proto:!0,forced:!__webpack_require__(72)("indexOf",{ACCESSORS:!0,1:0})},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(9),notARegExp=__webpack_require__(258),requireObjectCoercible=__webpack_require__(59);$({target:"String",proto:!0,forced:!__webpack_require__(259)("includes")},{includes:function includes(searchString){return!!~String(requireObjectCoercible(this)).indexOf(notARegExp(searchString),arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={Badge:!0,Link:!0,DocumentWrapper:!0,SyntaxHighlighter:!0,ActionBar:!0,Spaced:!0,Placeholder:!0,ScrollArea:!0,Button:!0,Form:!0,WithTooltip:!0,WithTooltipPure:!0,TooltipMessage:!0,TooltipNote:!0,TooltipLinkList:!0,Tabs:!0,TabsState:!0,TabBar:!0,TabWrapper:!0,IconButton:!0,TabButton:!0,Separator:!0,interleaveSeparators:!0,Bar:!0,FlexBar:!0,AddonPanel:!0,Icons:!0,StorybookLogo:!0,StorybookIcon:!0};Object.defineProperty(exports,"Badge",{enumerable:!0,get:function get(){return _Badge.Badge}}),Object.defineProperty(exports,"Link",{enumerable:!0,get:function get(){return _link.Link}}),Object.defineProperty(exports,"DocumentWrapper",{enumerable:!0,get:function get(){return _DocumentWrapper.DocumentWrapper}}),Object.defineProperty(exports,"SyntaxHighlighter",{enumerable:!0,get:function get(){return _syntaxhighlighter.SyntaxHighlighter}}),Object.defineProperty(exports,"ActionBar",{enumerable:!0,get:function get(){return _ActionBar.ActionBar}}),Object.defineProperty(exports,"Spaced",{enumerable:!0,get:function get(){return _Spaced.Spaced}}),Object.defineProperty(exports,"Placeholder",{enumerable:!0,get:function get(){return _placeholder.Placeholder}}),Object.defineProperty(exports,"ScrollArea",{enumerable:!0,get:function get(){return _ScrollArea.ScrollArea}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function get(){return _Button.Button}}),Object.defineProperty(exports,"Form",{enumerable:!0,get:function get(){return _index.Form}}),Object.defineProperty(exports,"WithTooltip",{enumerable:!0,get:function get(){return _WithTooltip.WithTooltip}}),Object.defineProperty(exports,"WithTooltipPure",{enumerable:!0,get:function get(){return _WithTooltip.WithTooltipPure}}),Object.defineProperty(exports,"TooltipMessage",{enumerable:!0,get:function get(){return _TooltipMessage.TooltipMessage}}),Object.defineProperty(exports,"TooltipNote",{enumerable:!0,get:function get(){return _TooltipNote.TooltipNote}}),Object.defineProperty(exports,"TooltipLinkList",{enumerable:!0,get:function get(){return _TooltipLinkList.TooltipLinkList}}),Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function get(){return _tabs.Tabs}}),Object.defineProperty(exports,"TabsState",{enumerable:!0,get:function get(){return _tabs.TabsState}}),Object.defineProperty(exports,"TabBar",{enumerable:!0,get:function get(){return _tabs.TabBar}}),Object.defineProperty(exports,"TabWrapper",{enumerable:!0,get:function get(){return _tabs.TabWrapper}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function get(){return _button.IconButton}}),Object.defineProperty(exports,"TabButton",{enumerable:!0,get:function get(){return _button.TabButton}}),Object.defineProperty(exports,"Separator",{enumerable:!0,get:function get(){return _separator.Separator}}),Object.defineProperty(exports,"interleaveSeparators",{enumerable:!0,get:function get(){return _separator.interleaveSeparators}}),Object.defineProperty(exports,"Bar",{enumerable:!0,get:function get(){return _bar.Bar}}),Object.defineProperty(exports,"FlexBar",{enumerable:!0,get:function get(){return _bar.FlexBar}}),Object.defineProperty(exports,"AddonPanel",{enumerable:!0,get:function get(){return _addonPanel.AddonPanel}}),Object.defineProperty(exports,"Icons",{enumerable:!0,get:function get(){return _icon.Icons}}),Object.defineProperty(exports,"StorybookLogo",{enumerable:!0,get:function get(){return _StorybookLogo.StorybookLogo}}),Object.defineProperty(exports,"StorybookIcon",{enumerable:!0,get:function get(){return _StorybookIcon.StorybookIcon}});var _Badge=__webpack_require__(818),_link=__webpack_require__(423),_DocumentWrapper=__webpack_require__(832),_syntaxhighlighter=__webpack_require__(274),_ActionBar=__webpack_require__(283),_Spaced=__webpack_require__(1224),_placeholder=__webpack_require__(438),_ScrollArea=__webpack_require__(284),_Button=__webpack_require__(439),_index=__webpack_require__(1226),_WithTooltip=__webpack_require__(440),_TooltipMessage=__webpack_require__(1235),_TooltipNote=__webpack_require__(1236),_TooltipLinkList=__webpack_require__(1237),_tabs=__webpack_require__(1239),_button=__webpack_require__(286),_separator=__webpack_require__(1240),_bar=__webpack_require__(285),_addonPanel=__webpack_require__(1241),_icon=__webpack_require__(203),_StorybookLogo=__webpack_require__(1242),_StorybookIcon=__webpack_require__(1243),_blocks=__webpack_require__(1244);Object.keys(_blocks).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _blocks[key]}}))}))},function(module,exports,__webpack_require__){"use strict";(function(module){Object.defineProperty(exports,"__esModule",{value:!0});var _constants=__webpack_require__(412);Object.keys(_constants).forEach((function(key){"default"!==key&&"__esModule"!==key&&Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _constants[key]}})}));var _models=__webpack_require__(802);Object.keys(_models).forEach((function(key){"default"!==key&&"__esModule"!==key&&Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _models[key]}})}));var _preview=__webpack_require__(809);Object.keys(_preview).forEach((function(key){"default"!==key&&"__esModule"!==key&&Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _preview[key]}})})),module&&module.hot&&module.hot.decline&&module.hot.decline()}).call(this,__webpack_require__(90)(module))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"css",(function(){return css_browser_esm})),__webpack_require__.d(__webpack_exports__,"CacheProvider",(function(){return CacheProvider})),__webpack_require__.d(__webpack_exports__,"ClassNames",(function(){return ClassNames})),__webpack_require__.d(__webpack_exports__,"Global",(function(){return Global})),__webpack_require__.d(__webpack_exports__,"ThemeContext",(function(){return ThemeContext})),__webpack_require__.d(__webpack_exports__,"jsx",(function(){return core_browser_esm_jsx})),__webpack_require__.d(__webpack_exports__,"keyframes",(function(){return core_browser_esm_keyframes})),__webpack_require__.d(__webpack_exports__,"withEmotionCache",(function(){return core_browser_esm_withEmotionCache}));var inheritsLoose=__webpack_require__(110),inheritsLoose_default=__webpack_require__.n(inheritsLoose),react=__webpack_require__(1);var StyleSheet=function(){function StyleSheet(options){this.isSpeedy=void 0===options.speedy||options.speedy,this.tags=[],this.ctr=0,this.nonce=options.nonce,this.key=options.key,this.container=options.container,this.before=null}var _proto=StyleSheet.prototype;return _proto.insert=function insert(rule){if(this.ctr%(this.isSpeedy?65e3:1)==0){var before,_tag=function createStyleElement(options){var tag=document.createElement("style");return tag.setAttribute("data-emotion",options.key),void 0!==options.nonce&&tag.setAttribute("nonce",options.nonce),tag.appendChild(document.createTextNode("")),tag}(this);before=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(_tag,before),this.tags.push(_tag)}var tag=this.tags[this.tags.length-1];if(this.isSpeedy){var sheet=function sheetForTag(tag){if(tag.sheet)return tag.sheet;for(var i=0;ih&&(h=(c=c.trim()).charCodeAt(0)),h){case 38:return c.replace(F,"$1"+d.trim());case 58:return d.trim()+c.replace(F,"$1"+d.trim());default:if(0<1*e&&0b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102e.charCodeAt(0)&&(e=e.trim()),e=[e],0q)&&(t=(f=f.replace(" ",":")).length),0=keys.length);i++){var token=tokens[i];if("string"==typeof token||token.content&&"string"==typeof token.content){var k=keys[j],t=env.tokenStack[k],s="string"==typeof token?token:token.content,placeholder=getPlaceholder(language,k),index=s.indexOf(placeholder);if(index>-1){++j;var before=s.substring(0,index),middle=new Prism.Token(language,Prism.tokenize(t,env.grammar),"language-"+language,t),after=s.substring(index+placeholder.length),replacement=[];before&&replacement.push.apply(replacement,walkTokens([before])),replacement.push(middle),after&&replacement.push.apply(replacement,walkTokens([after])),"string"==typeof token?tokens.splice.apply(tokens,[i,1].concat(replacement)):token.content=replacement}}else token.content&&walkTokens(token.content)}return tokens}(env.tokens)}}}})}(Prism)}module.exports=markupTemplating,markupTemplating.displayName="markupTemplating",markupTemplating.aliases=[]},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return serialize_browser_esm_serializeStyles}));var hash_browser_esm=function murmur2(str){for(var k,h=0,i=0,len=str.length;len>=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)},unitless_browser_esm={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},memoize_browser_esm=__webpack_require__(212),hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function isCustomProperty(property){return 45===property.charCodeAt(1)},isProcessableValue=function isProcessableValue(value){return null!=value&&"boolean"!=typeof value},processStyleName=Object(memoize_browser_esm.a)((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()})),serialize_browser_esm_processStyleValue=function processStyleValue(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex,(function(match,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1}))}return 1===unitless_browser_esm[key]||isCustomProperty(key)||"number"!=typeof value||0===value?value:value+"px"};function handleInterpolation(mergedProps,registered,interpolation,couldBeSelectorInterpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles)return interpolation;switch(typeof interpolation){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(void 0!==interpolation.styles){var next=interpolation.next;if(void 0!==next)for(;void 0!==next;)cursor={name:next.name,styles:next.styles,next:cursor},next=next.next;return interpolation.styles+";"}return function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i2?arguments[2]:[];return $apply(F,V,args)}},function(module,exports){module.exports=!1},function(module,exports,__webpack_require__){var path=__webpack_require__(238),global=__webpack_require__(24),aFunction=function(variable){return"function"==typeof variable?variable:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(path[namespace])||aFunction(global[namespace]):path[namespace]&&path[namespace][method]||global[namespace]&&global[namespace][method]}},function(module,exports,__webpack_require__){var activeXDocument,anObject=__webpack_require__(45),defineProperties=__webpack_require__(248),enumBugKeys=__webpack_require__(240),hiddenKeys=__webpack_require__(141),html=__webpack_require__(355),documentCreateElement=__webpack_require__(234),sharedKey=__webpack_require__(174),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"