{"version":3,"sources":["webpack:///./src/svgs/logo-full.inline.svg","webpack:///./node_modules/gatsby/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///./node_modules/@tailwindui/react/dist/tailwindui.esm.js","webpack:///./node_modules/gatsby-plugin-intl/link.js","webpack:///./node_modules/gatsby-plugin-intl/with-intl.js","webpack:///./node_modules/gatsby-plugin-intl/index.js"],"names":["React","LogoFullInline","props","createElement","defaultProps","module","exports","default","_objectWithoutPropertiesLoose","source","excluded","key","i","target","sourceKeys","Object","keys","length","indexOf","id","generateId","useIsInitialRender","initial","current","Reason","useIsoMorphicEffect","window","match","value","lookup","returnValue","error","Error","map","join","captureStackTrace","disposables","api","requestAnimationFrame","_requestAnimationFrame","apply","this","arguments","toString","raf","add","cancelAnimationFrame","nextFrame","_len","args","Array","_key","setTimeout","_setTimeout","timer","clearTimeout","cb","push","dispose","splice","forEach","addClasses","node","_node$classList","classes","classList","removeClasses","_node$classList2","_len2","_key2","remove","transition","base","from","to","done","state","d","_done","undefined","called","concat","_getComputedStyle","getComputedStyle","_map","transitionDuration","transitionDelay","_value$split$filter$m2","split","filter","Boolean","v","includes","parseFloat","sort","a","z","durationMs","delaysMs","Finished","Cancelled","waitForTransition","reason","useSplitClasses","className","trim","TreeStates","TransitionContext","NestingContext","useNesting","transitionableChildren","mounted","useIsMounted","unregister","childId","idx","register","children","TransitionChild","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","rest","container","_React$useState","Visible","setState","_useTransitionContext","context","useTransitionContext","show","appear","_useParentNesting","useParentNesting","isTransitioning","nesting","Hidden","enterClasses","enterFromClasses","enterToClasses","leaveClasses","leaveFromClasses","leaveToClasses","Provider","_rest$as","as","Component","passthroughProps","assign","ref","Transition","_match","_props$appear","_React$useState2","nestingBag","transitionBag","Child","_interopRequireDefault","require","__esModule","changeLocale","navigate","_extends2","_objectWithoutPropertiesLoose2","_react","_propTypes","_gatsby","_intlContext","Link","_ref","language","onClick","IntlContextConsumer","intl","languageLink","link","routed","e","localStorage","setItem","propTypes","isRequired","string","_default","options","_window$___gatsbyIntl","___gatsbyIntl","pathname","substring","removeLocalePart","location","search","_reactIntl","console","warn","injectIntl","_interopRequireWildcard","_exportNames","withIntl","IntlContextProvider","prototype","hasOwnProperty","call","_link","_withIntl"],"mappings":"gFAAA,IAAIA,EAAQ,EAAQ,QAEpB,SAASC,EAAgBC,GACrB,OAAOF,EAAMG,cAAc,MAAMD,EAAM,CAACF,EAAMG,cAAc,QAAQ,CAAC,IAAM,GAAG,QAAQH,EAAMG,cAAc,IAAI,CAAC,GAAK,SAAS,OAAS,OAAO,YAAc,IAAI,KAAO,OAAO,SAAW,UAAU,IAAM,GAAGH,EAAMG,cAAc,IAAI,CAAC,GAAK,qBAAqB,UAAY,sCAAsCH,EAAMG,cAAc,IAAI,CAAC,GAAK,KAAK,UAAY,mCAAmCH,EAAMG,cAAc,IAAI,CAAC,GAAK,OAAO,UAAY,oCAAoC,CAACH,EAAMG,cAAc,OAAO,CAAC,EAAI,ihBAAihB,GAAK,OAAO,KAAO,UAAU,IAAM,IAAIH,EAAMG,cAAc,OAAO,CAAC,EAAI,koBAAkoB,GAAK,oBAAoB,KAAO,UAAU,IAAM,IAAIH,EAAMG,cAAc,IAAI,CAAC,GAAK,YAAY,UAAY,kCAAkC,IAAM,GAAG,CAACH,EAAMG,cAAc,OAAO,CAAC,EAAI,i0FAAi0F,GAAK,oBAAoB,KAAO,UAAU,IAAM,IAAIH,EAAMG,cAAc,OAAO,CAAC,EAAI,4rJAA4rJ,GAAK,oBAAoB,KAAO,UAAU,IAAM,aAG7gTF,EAAeG,aAAe,CAAC,MAAQ,QAAQ,OAAS,OAAO,QAAU,aAAa,QAAU,OAEhGC,EAAOC,QAAUL,EAEjBA,EAAeM,QAAUN,G,oCCVV,SAASO,EAA8BC,EAAQC,GAC5D,GAAc,MAAVD,EAAgB,MAAO,GAC3B,IAEIE,EAAKC,EAFLC,EAAS,GACTC,EAAaC,OAAOC,KAAKP,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rB3B,qBAAqB,GAEvBzK,EAAQyK,oBAAsBzK,EAAQoM,oBAAsBpM,EAAQ6J,aAAe7J,EAAQ8J,SAAW9J,EAAQmM,SAAWnM,EAAQqK,UAAO,EAExI,IAAIwB,EAAalC,EAAQ,QAEzBlJ,OAAOC,KAAKmL,GAAYvI,SAAQ,SAAUjD,GAC5B,YAARA,GAA6B,eAARA,IACrBI,OAAO4L,UAAUC,eAAeC,KAAKL,EAAc7L,KACvDL,EAAQK,GAAOwL,EAAWxL,QAG5B,IAAImM,EAAQP,EAAwBtC,EAAQ,SAE5C3J,EAAQqK,KAAOmC,EAAMvM,QACrBD,EAAQ8J,SAAW0C,EAAM1C,SACzB9J,EAAQ6J,aAAe2C,EAAM3C,aAE7B,IAAI4C,EAAY/C,EAAuBC,EAAQ,SAE/C3J,EAAQmM,SAAWM,EAAUxM,QAE7B,IAAImK,EAAeT,EAAQ,QAE3B3J,EAAQoM,oBAAsBhC,EAAagC,oBAC3CpM,EAAQyK,oBAAsBL,EAAaK","file":"40011f476231805ad5adf407803c5a146b8eab29-976d67f87d6d108d3640.js","sourcesContent":["var React = require('react');\n\nfunction LogoFullInline (props) {\n return React.createElement(\"svg\",props,[React.createElement(\"title\",{\"key\":0},\"LOGO\"),React.createElement(\"g\",{\"id\":\"Page-1\",\"stroke\":\"none\",\"strokeWidth\":\"1\",\"fill\":\"none\",\"fillRule\":\"evenodd\",\"key\":1},React.createElement(\"g\",{\"id\":\"5_PAYMENT_METHOD_b\",\"transform\":\"translate(-113.000000, -88.000000)\"},React.createElement(\"g\",{\"id\":\"5b\",\"transform\":\"translate(-1.000000, -1.000000)\"},React.createElement(\"g\",{\"id\":\"LOGO\",\"transform\":\"translate(114.000000, 89.000000)\"},[React.createElement(\"path\",{\"d\":\"M48.27375,37.313016 C46.1856,45.18168 39.05765,50.977176 30.5855,50.977176 C20.47485,50.977176 12.27945,42.723132 12.27945,32.540244 C12.27945,31.233264 12.41465,29.957748 12.671,28.72788 C9.97755,34.330344 9.10255,41.097012 10.0438,49.027488 C14.85585,55.101156 22.2705,58.993008 30.5855,58.993008 C45.09195,58.993008 56.8517,47.149656 56.8517,32.540244 C56.8517,31.369596 56.7771,30.217056 56.63045,29.086296 C46.37975,36.5397 31.63245,25.990872 23.76145,35.035584 C30.73615,31.717716 38.12135,38.375376 48.27375,37.313016 Z\",\"id\":\"blue\",\"fill\":\"#12A7B1\",\"key\":0}),React.createElement(\"path\",{\"d\":\"M74.799656,1.004336 C66.605944,13.872678 54.283456,14.568817 40.773088,13.790104 C21.860108,12.700201 9.551528,19.229943 6.095352,39.506493 C1.909956,23.824567 9.888208,9.092693 26.388644,6.423921 C30.430628,5.769971 35.45894,5.96386 40.21274,6.354549 C41.78002,6.48342387 43.3583895,6.63165023 44.9408579,6.77270775 L45.890775,6.85626984 C56.0272771,7.73389655 66.274408,8.10063326 74.799656,1.004336 Z M66.573188,14.183786 C59.2622016,26.0162974 49.2127045,25.6865075 39.5089633,25.2307246 L38.4889271,25.182802 C31.5292271,24.8592573 24.8044096,24.6890327 19.462308,29.151533 C27.07272,9.430615 48.549028,28.507136 66.573188,14.183786 Z\",\"id\":\"Combined-shape-22\",\"fill\":\"#A0C156\",\"key\":1}),React.createElement(\"g\",{\"id\":\"Group-202\",\"transform\":\"translate(64.000000, 22.000000)\",\"key\":2},[React.createElement(\"path\",{\"d\":\"M10.369548,1.575882 C13.075398,1.575882 15.344574,2.576398 17.173926,4.576748 C17.431974,4.861494 17.565492,5.186852 17.565492,5.552778 C17.565492,5.609934 17.561376,5.662712 17.553186,5.70735 C17.496612,6.146448 17.303328,6.479836 16.971528,6.707778 L16.946916,6.731956 C16.688952,6.923004 16.414482,7.020706 16.120398,7.020706 C16.067184,7.020706 16.01061,7.016768 15.954078,7.008606 C15.598548,6.976068 15.295476,6.82165 15.045576,6.544978 C13.790574,5.170704 12.231576,4.483556 10.369548,4.483556 C8.622222,4.483556 7.127988,5.10554 5.888526,6.35393 C4.649022,7.598118 4.030572,9.10668 4.030572,10.879726 C4.030572,12.648328 4.649022,14.161026 5.888526,15.405368 C7.127988,16.645618 8.622222,17.26373 10.369548,17.26373 C11.94081,17.26373 13.317906,16.751328 14.500836,15.726656 C15.674736,14.709992 16.36614,13.579676 16.572612,12.331264 L10.669386,12.331264 C10.272948,12.331264 9.933714,12.188858 9.651894,11.904464 C9.373434,11.62381 9.2358,11.286264 9.2358,10.89187 L9.2358,10.867428 C9.2358,10.46881 9.373434,10.127414 9.651894,9.842734 C9.933714,9.566304 10.272948,9.423964 10.669386,9.423964 L18.17907,9.423964 C18.574752,9.423964 18.913902,9.566304 19.196562,9.842734 C19.470948,10.127414 19.61673,10.46881 19.624962,10.867428 L19.624962,10.879726 C19.624962,13.445498 18.719736,15.637314 16.914996,17.454778 C15.098034,19.272462 12.91815,20.183262 10.369548,20.183262 C7.825902,20.183262 5.650092,19.272462 3.841362,17.454778 C2.03574,15.637314 1.132152,13.445498 1.132152,10.879726 C1.132152,8.31402 2.03574,6.122204 3.841362,4.304586 C5.650092,2.482766 7.825902,1.575882 10.369548,1.575882 Z M23.690646,1.575882 C24.078138,1.575882 24.413256,1.714086 24.695832,1.99089 C24.982608,2.279552 25.123434,2.621168 25.123434,3.015694 L25.123434,18.743956 C25.123434,19.146512 24.982608,19.483882 24.695832,19.75633 C24.413256,20.041076 24.078138,20.183262 23.690646,20.183262 L23.658684,20.183262 C23.270478,20.183262 22.93536,20.041076 22.651902,19.75633 C22.366008,19.483882 22.2243,19.146512 22.2243,18.743956 L22.2243,3.015694 C22.2243,2.621168 22.366008,2.279552 22.651902,1.99089 C22.93536,1.714086 23.270478,1.575882 23.658684,1.575882 L23.690646,1.575882 Z M28.54362,1.575882 C29.226078,1.575882 29.682408,1.901328 29.900304,2.552 L33.982326,15.978644 L38.05221,2.552 C38.274138,1.901328 38.722278,1.575882 39.40062,1.575882 L39.485796,1.575882 C39.982278,1.575882 40.370526,1.775312 40.65726,2.169838 C40.842396,2.434058 40.93908,2.706418 40.93908,2.991032 C40.93908,3.14952 40.90716,3.32046 40.842396,3.495426 L35.992656,18.78866 C35.629776,19.719634 34.95555,20.183262 33.970104,20.183262 C32.993562,20.183262 32.318538,19.719634 31.947468,18.78866 L27.110916,3.495426 C27.046152,3.32046 27.018306,3.14952 27.018306,2.982936 C27.018306,2.694186 27.10596,2.42605 27.28782,2.169838 C27.578586,1.775312 27.970152,1.575882 28.458444,1.575882 L28.54362,1.575882 Z\",\"id\":\"Combined-shape-24\",\"fill\":\"#12A7B1\",\"key\":0}),React.createElement(\"path\",{\"d\":\"M50.415662,1.575882 C50.803145,1.575882 51.139006,1.714086 51.420807,1.99089 C51.703403,2.279552 51.849206,2.621168 51.849206,3.015694 L51.849206,3.039806 C51.849206,3.438138 51.703403,3.780018 51.420807,4.064412 C51.139006,4.34115 50.803145,4.483556 50.415662,4.483556 L46.785798,4.483556 C46.390842,4.483556 46.055829,4.621738 45.7806,4.89819 C45.501184,5.178778 45.364444,5.52024 45.364444,5.922862 L45.364444,9.423964 L50.298532,9.423964 C50.681934,9.423964 51.017795,9.566304 51.303624,9.842734 C51.587174,10.127414 51.727995,10.46881 51.727995,10.867428 L51.727995,10.89187 C51.727995,11.29436 51.587174,11.631884 51.303624,11.904464 C51.017795,12.188858 50.681934,12.331264 50.298532,12.331264 L45.364444,12.331264 L45.364444,18.743956 C45.364444,19.146512 45.223464,19.483882 44.940921,19.75633 C44.654138,20.041076 44.319125,20.183262 43.934875,20.183262 L43.898835,20.183262 C43.511352,20.183262 43.175438,20.041076 42.893743,19.75633 C42.60696,19.483882 42.465238,19.146512 42.465238,18.743956 L42.465238,5.922862 C42.465238,4.723224 42.889662,3.69842 43.733369,2.848758 C44.577182,1.998964 45.594623,1.575882 46.785798,1.575882 L50.415662,1.575882 Z M59.617734,1.575882 C61.30536,1.575882 62.747119,2.173776 63.946509,3.37304 C65.144945,4.580818 65.742997,6.032642 65.742997,7.732516 L65.742997,18.743956 C65.742997,19.146512 65.601275,19.483882 65.318626,19.75633 C65.036083,20.041076 64.700911,20.183262 64.313481,20.183262 L64.276646,20.183262 C63.893244,20.183262 63.558125,20.041076 63.271448,19.75633 C62.988799,19.483882 62.847925,19.146512 62.847925,18.743956 L62.847925,13.429108 L56.399945,13.429108 L56.399945,18.743956 C56.399945,19.146512 56.258223,19.483882 55.975574,19.75633 C55.688897,20.041076 55.353778,20.183262 54.970429,20.183262 L54.933594,20.183262 C54.546853,20.183262 54.210992,20.041076 53.928396,19.75633 C53.641666,19.483882 53.500792,19.146512 53.500792,18.743956 L53.500792,7.732516 C53.500792,6.032642 54.102077,4.580818 55.301414,3.37304 C56.500645,2.173776 57.937581,1.575882 59.617734,1.575882 Z M76.616318,1.502798 C77.011168,1.502798 77.351163,1.64505 77.633812,1.9338 C77.908193,2.210472 78.04912,2.547842 78.04912,2.94646 L78.04912,3.015694 C78.04912,3.405666 77.908193,3.74341 77.633812,4.027848 C77.351163,4.316532 77.011168,4.458938 76.616318,4.458938 L73.317386,4.458938 C72.639039,4.458938 72.062346,4.694976 71.589692,5.174774 C71.116985,5.65048 70.878538,6.22776 70.878538,6.910992 C70.878538,7.724156 71.246358,8.338132 71.980408,8.75721 C72.304026,8.940228 73.25262,9.261164 74.831225,9.724792 C76.180499,10.127414 77.166034,10.61522 77.78783,11.188562 C78.719199,12.038444 79.183744,13.234122 79.183744,14.775068 C79.183744,16.26746 78.655281,17.54434 77.596924,18.597612 C76.551605,19.654844 75.287555,20.183262 73.814632,20.183262 L69.308148,20.183262 C68.91987,20.183262 68.585652,20.041076 68.303056,19.75633 C68.016273,19.467646 67.874551,19.130056 67.874551,18.743956 L67.874551,18.670784 C67.874551,18.280262 68.016273,17.942936 68.303056,17.658124 C68.585652,17.373466 68.91987,17.227034 69.308148,17.227034 L73.930967,17.227034 C74.601046,17.227034 75.179435,16.991304 75.659509,16.515642 C76.131368,16.035932 76.369709,15.458366 76.369709,14.775068 C76.369709,13.982078 76.002737,13.360094 75.267097,12.916838 C74.920583,12.709642 73.967802,12.359732 72.405574,11.867922 C71.056406,11.424534 70.075005,10.920338 69.461371,10.355092 C68.529101,9.513372 68.064662,8.366666 68.064662,6.910992 C68.064662,5.418666 68.588885,4.14601 69.639133,3.088734 C70.684505,2.031502 71.952583,1.502798 73.434516,1.502798 L76.616318,1.502798 Z M90.573921,1.575882 C90.970467,1.575882 91.30548,1.714086 91.579967,1.99089 C91.865849,2.279552 92.008366,2.621168 92.008366,3.015694 L92.008366,3.039806 C92.008366,3.438138 91.865849,3.780018 91.579967,4.064412 C91.30548,4.34115 90.970467,4.483556 90.573921,4.483556 L87.687064,4.483556 L87.687064,18.743956 C87.687064,19.138218 87.550324,19.475874 87.275837,19.75633 C86.992393,20.041076 86.654041,20.183262 86.258343,20.183262 L86.233751,20.183262 C85.838053,20.183262 85.498959,20.041076 85.216363,19.75633 C84.941929,19.475874 84.805083,19.138218 84.805083,18.743956 L84.805083,4.483556 L81.917431,4.483556 C81.529948,4.483556 81.194829,4.34115 80.912233,4.064412 C80.626351,3.780018 80.484629,3.438138 80.484629,3.039806 L80.484629,3.015694 C80.484629,2.621168 80.626351,2.279552 80.912233,1.99089 C81.194829,1.714086 81.529948,1.575882 81.917431,1.575882 L90.573921,1.575882 Z M59.617734,4.483556 C58.724843,4.483556 57.966254,4.800488 57.336296,5.434902 C56.710366,6.069272 56.399945,6.83782 56.399945,7.732516 L56.399945,10.52194 L62.847925,10.52194 L62.847925,7.732516 C62.847925,6.83782 62.536656,6.069272 61.910779,5.434902 C61.281616,4.800488 60.518098,4.483556 59.617734,4.483556 Z\",\"id\":\"Combined-shape-25\",\"fill\":\"#A0C156\",\"key\":1})])]))))]);\n}\n\nLogoFullInline.defaultProps = {\"width\":\"158px\",\"height\":\"60px\",\"viewBox\":\"0 0 158 60\",\"version\":\"1.1\"};\n\nmodule.exports = LogoFullInline;\n\nLogoFullInline.default = LogoFullInline;\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import { useState, useRef, useEffect, useLayoutEffect, useCallback, useMemo, createElement, createContext, useContext } from 'react';\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nvar id = 0;\n\nfunction generateId() {\n return ++id;\n}\n\nfunction useId() {\n var _React$useState = useState(generateId),\n id = _React$useState[0];\n\n return id;\n}\n\nfunction useIsInitialRender() {\n var initial = useRef(true);\n useEffect(function () {\n initial.current = false;\n }, []);\n return initial.current;\n}\n\nfunction useIsMounted() {\n var mounted = useRef(true);\n useEffect(function () {\n return function () {\n mounted.current = false;\n };\n }, []);\n return mounted;\n}\n\nvar useIsoMorphicEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nfunction match(value, lookup) {\n if (value in lookup) {\n var returnValue = lookup[value];\n return typeof returnValue === 'function' ? returnValue() : returnValue;\n }\n\n var error = new Error(\"Tried to handle \\\"\" + value + \"\\\" but there is no handler defined. Only defined handlers are: \" + Object.keys(lookup).map(function (key) {\n return \"\\\"\" + key + \"\\\"\";\n }).join(', ') + \".\");\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(error, match);\n }\n\n throw error;\n}\n\nfunction once(cb) {\n var state = {\n called: false\n };\n return function () {\n if (state.called) {\n return;\n }\n\n state.called = true;\n return cb.apply(void 0, arguments);\n };\n}\n\nfunction disposables() {\n var disposables = [];\n var api = {\n requestAnimationFrame: function (_requestAnimationFrame) {\n function requestAnimationFrame() {\n return _requestAnimationFrame.apply(this, arguments);\n }\n\n requestAnimationFrame.toString = function () {\n return _requestAnimationFrame.toString();\n };\n\n return requestAnimationFrame;\n }(function () {\n var raf = requestAnimationFrame.apply(void 0, arguments);\n api.add(function () {\n return cancelAnimationFrame(raf);\n });\n }),\n nextFrame: function nextFrame() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n api.requestAnimationFrame(function () {\n api.requestAnimationFrame.apply(api, args);\n });\n },\n setTimeout: function (_setTimeout) {\n function setTimeout() {\n return _setTimeout.apply(this, arguments);\n }\n\n setTimeout.toString = function () {\n return _setTimeout.toString();\n };\n\n return setTimeout;\n }(function () {\n var timer = setTimeout.apply(void 0, arguments);\n api.add(function () {\n return clearTimeout(timer);\n });\n }),\n add: function add(cb) {\n disposables.push(cb);\n },\n dispose: function dispose() {\n disposables.splice(0).forEach(function (dispose) {\n return dispose();\n });\n }\n };\n return api;\n}\n\nfunction addClasses(node) {\n var _node$classList;\n\n for (var _len = arguments.length, classes = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n classes[_key - 1] = arguments[_key];\n }\n\n node && classes.length > 0 && (_node$classList = node.classList).add.apply(_node$classList, classes);\n}\n\nfunction removeClasses(node) {\n var _node$classList2;\n\n for (var _len2 = arguments.length, classes = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n classes[_key2 - 1] = arguments[_key2];\n }\n\n node && classes.length > 0 && (_node$classList2 = node.classList).remove.apply(_node$classList2, classes);\n}\n\nvar Reason;\n\n(function (Reason) {\n Reason[\"Finished\"] = \"finished\";\n Reason[\"Cancelled\"] = \"cancelled\";\n})(Reason || (Reason = {}));\n\nfunction waitForTransition(node, done) {\n var d = disposables();\n if (!node) return d.dispose; // Safari returns a comma separated list of values, so let's sort them and take the highest value.\n\n var _getComputedStyle = getComputedStyle(node),\n transitionDuration = _getComputedStyle.transitionDuration,\n transitionDelay = _getComputedStyle.transitionDelay;\n\n var _map = [transitionDuration, transitionDelay].map(function (value) {\n var _value$split$filter$m = value.split(',') // Remove falseys we can't work with\n .filter(Boolean) // Values are returned as `0.3s` or `75ms`\n .map(function (v) {\n return v.includes('ms') ? parseFloat(v) : parseFloat(v) * 1000;\n }).sort(function (a, z) {\n return z - a;\n }),\n _value$split$filter$m2 = _value$split$filter$m[0],\n resolvedValue = _value$split$filter$m2 === void 0 ? 0 : _value$split$filter$m2;\n\n return resolvedValue;\n }),\n durationMs = _map[0],\n delaysMs = _map[1]; // Waiting for the transition to end. We could use the `transitionend` event, however when no\n // actual transition/duration is defined then the `transitionend` event is not fired.\n //\n // TODO: Downside is, when you slow down transitions via devtools this timeout is still using the\n // full 100% speed instead of the 25% or 10%.\n\n\n if (durationMs !== 0) {\n d.setTimeout(function () {\n done(Reason.Finished);\n }, durationMs + delaysMs);\n } else {\n // No transition is happening, so we should cleanup already. Otherwise we have to wait until we\n // get disposed.\n done(Reason.Finished);\n } // If we get disposed before the timeout runs we should cleanup anyway\n\n\n d.add(function () {\n return done(Reason.Cancelled);\n });\n return d.dispose;\n}\n\nfunction transition(node, base, from, to, done) {\n var d = disposables();\n\n var _done = done !== undefined ? once(done) : function () {};\n\n addClasses.apply(void 0, [node].concat(base, from));\n d.nextFrame(function () {\n removeClasses.apply(void 0, [node].concat(from));\n addClasses.apply(void 0, [node].concat(to));\n d.add(waitForTransition(node, function (reason) {\n removeClasses.apply(void 0, [node].concat(to, base));\n return _done(reason);\n }));\n }); // Once we get disposed, we should ensure that we cleanup after ourselves. In case of an unmount,\n // the node itself will be nullified and will be a no-op. In case of a full transition the classes\n // are already removed which is also a no-op. However if you go from enter -> leave mid-transition\n // then we have some leftovers that should be cleaned.\n\n d.add(function () {\n return removeClasses.apply(void 0, [node].concat(base, from, to));\n }); // When we get disposed early, than we should also call the done method but switch the reason.\n\n d.add(function () {\n return _done(Reason.Cancelled);\n });\n return d.dispose;\n}\n\nfunction useSplitClasses(classes) {\n if (classes === void 0) {\n classes = '';\n }\n\n return useMemo(function () {\n return classes.split(' ').filter(function (className) {\n return className.trim().length > 1;\n });\n }, [classes]);\n}\n\nvar TransitionContext = /*#__PURE__*/createContext(null);\nvar TreeStates;\n\n(function (TreeStates) {\n TreeStates[\"Visible\"] = \"visible\";\n TreeStates[\"Hidden\"] = \"hidden\";\n})(TreeStates || (TreeStates = {}));\n\nfunction useTransitionContext() {\n var context = useContext(TransitionContext);\n\n if (context === null) {\n throw new Error('A is used but it is missing a parent .');\n }\n\n return context;\n}\n\nfunction useParentNesting() {\n var context = useContext(NestingContext);\n\n if (context === null) {\n throw new Error('A is used but it is missing a parent .');\n }\n\n return context;\n}\n\nvar NestingContext = /*#__PURE__*/createContext(null);\n\nfunction useNesting(done) {\n var transitionableChildren = useRef([]);\n var mounted = useIsMounted();\n var unregister = useCallback(function (childId) {\n var idx = transitionableChildren.current.indexOf(childId);\n if (idx === -1) return;\n transitionableChildren.current.splice(idx, 1);\n\n if (transitionableChildren.current.length <= 0 && mounted.current) {\n done === null || done === void 0 ? void 0 : done();\n }\n }, [done, mounted, transitionableChildren]);\n var register = useCallback(function (childId) {\n transitionableChildren.current.push(childId);\n return function () {\n return unregister(childId);\n };\n }, [transitionableChildren, unregister]);\n return useMemo(function () {\n return {\n children: transitionableChildren,\n register: register,\n unregister: unregister\n };\n }, [register, unregister, transitionableChildren]);\n}\n\nfunction TransitionChild(props) {\n var children = props.children,\n enter = props.enter,\n enterFrom = props.enterFrom,\n enterTo = props.enterTo,\n leave = props.leave,\n leaveFrom = props.leaveFrom,\n leaveTo = props.leaveTo,\n rest = _objectWithoutPropertiesLoose(props, [\"children\", \"enter\", \"enterFrom\", \"enterTo\", \"leave\", \"leaveFrom\", \"leaveTo\"]);\n\n var container = useRef(null);\n\n var _React$useState = useState(TreeStates.Visible),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var _useTransitionContext = useTransitionContext(),\n show = _useTransitionContext.show,\n appear = _useTransitionContext.appear;\n\n var _useParentNesting = useParentNesting(),\n register = _useParentNesting.register,\n unregister = _useParentNesting.unregister;\n\n var initial = useIsInitialRender();\n var id = useId();\n var isTransitioning = useRef(false);\n var nesting = useNesting(useCallback(function () {\n // When all children have been unmounted we can only hide ourselves if and only if we are not\n // transitioning ourserlves. Otherwise we would unmount before the transitions are finished.\n if (!isTransitioning.current) {\n setState(TreeStates.Hidden);\n unregister(id);\n }\n }, [id, unregister, isTransitioning]));\n useIsoMorphicEffect(function () {\n return register(id);\n }, [register, id]);\n var enterClasses = useSplitClasses(enter);\n var enterFromClasses = useSplitClasses(enterFrom);\n var enterToClasses = useSplitClasses(enterTo);\n var leaveClasses = useSplitClasses(leave);\n var leaveFromClasses = useSplitClasses(leaveFrom);\n var leaveToClasses = useSplitClasses(leaveTo);\n useEffect(function () {\n if (state === TreeStates.Visible && container.current === null) {\n throw new Error('Did you forget to passthrough the `ref` to the actual DOM node?');\n }\n }, [container, state]);\n useIsoMorphicEffect(function () {\n var node = container.current;\n if (!node) return; // Skipping initial transition\n\n if (initial && !appear) return;\n isTransitioning.current = true;\n return show ? transition(node, enterClasses, enterFromClasses, enterToClasses, function () {\n isTransitioning.current = false;\n }) : transition(node, leaveClasses, leaveFromClasses, leaveToClasses, function (reason) {\n isTransitioning.current = false;\n if (reason !== Reason.Finished) return; // When we don't have children anymore we can safely unregister from the parent and hide\n // ourselves.\n\n if (nesting.children.current.length <= 0) {\n setState(TreeStates.Hidden);\n unregister(id);\n }\n });\n }, [id, isTransitioning, unregister, nesting, container, initial, appear, show, enterClasses, enterFromClasses, enterToClasses, leaveClasses, leaveFromClasses, leaveToClasses]); // Unmount the whole tree\n\n if (state === TreeStates.Hidden) return null;\n\n if (typeof children === 'function') {\n return createElement(NestingContext.Provider, {\n value: nesting\n }, children(container));\n }\n\n var _rest$as = rest.as,\n Component = _rest$as === void 0 ? 'div' : _rest$as,\n passthroughProps = _objectWithoutPropertiesLoose(rest, [\"as\"]);\n\n return createElement(NestingContext.Provider, {\n value: nesting\n }, createElement(Component, Object.assign({}, passthroughProps, {\n ref: container\n }), children));\n}\n\nfunction Transition(props) {\n var _match;\n\n var show = props.show,\n _props$appear = props.appear,\n appear = _props$appear === void 0 ? false : _props$appear,\n rest = _objectWithoutPropertiesLoose(props, [\"show\", \"appear\"]);\n\n if (![true, false].includes(show)) {\n throw new Error('A is used but it is missing a `show={true | false}` prop.');\n }\n\n var _React$useState2 = useState(show ? TreeStates.Visible : TreeStates.Hidden),\n state = _React$useState2[0],\n setState = _React$useState2[1];\n\n var nestingBag = useNesting(useCallback(function () {\n setState(TreeStates.Hidden);\n }, []));\n var initial = useIsInitialRender();\n var transitionBag = useMemo(function () {\n return {\n show: show,\n appear: appear || !initial\n };\n }, [show, appear, initial]);\n useEffect(function () {\n if (show) {\n setState(TreeStates.Visible);\n } else if (nestingBag.children.current.length <= 0) {\n setState(TreeStates.Hidden);\n }\n }, [show, nestingBag]);\n return createElement(NestingContext.Provider, {\n value: nestingBag\n }, createElement(TransitionContext.Provider, {\n value: transitionBag\n }, match(state, (_match = {}, _match[TreeStates.Visible] = function () {\n return createElement(TransitionChild, Object.assign({}, rest));\n }, _match[TreeStates.Hidden] = null, _match))));\n}\n\nTransition.Child = TransitionChild;\nexport { Transition };","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.changeLocale = exports.navigate = exports.default = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _gatsby = require(\"gatsby\");\n\nvar _intlContext = require(\"./intl-context\");\n\nvar Link = function Link(_ref) {\n var to = _ref.to,\n language = _ref.language,\n children = _ref.children,\n onClick = _ref.onClick,\n rest = (0, _objectWithoutPropertiesLoose2.default)(_ref, [\"to\", \"language\", \"children\", \"onClick\"]);\n return _react.default.createElement(_intlContext.IntlContextConsumer, null, function (intl) {\n var languageLink = language || intl.language;\n var link = intl.routed || language ? \"/\" + languageLink + to : \"\" + to;\n\n var handleClick = function handleClick(e) {\n if (language) {\n localStorage.setItem(\"gatsby-intl-language\", language);\n }\n\n if (onClick) {\n onClick(e);\n }\n };\n\n return _react.default.createElement(_gatsby.Link, (0, _extends2.default)({}, rest, {\n to: link,\n onClick: handleClick\n }), children);\n });\n};\n\nLink.propTypes = {\n children: _propTypes.default.node.isRequired,\n to: _propTypes.default.string,\n language: _propTypes.default.string\n};\nLink.defaultProps = {\n to: \"\"\n};\nvar _default = Link;\nexports.default = _default;\n\nvar navigate = function navigate(to, options) {\n if (typeof window === \"undefined\") {\n return;\n }\n\n var _window$___gatsbyIntl = window.___gatsbyIntl,\n language = _window$___gatsbyIntl.language,\n routed = _window$___gatsbyIntl.routed;\n var link = routed ? \"/\" + language + to : \"\" + to;\n (0, _gatsby.navigate)(link, options);\n};\n\nexports.navigate = navigate;\n\nvar changeLocale = function changeLocale(language, to) {\n if (typeof window === \"undefined\") {\n return;\n }\n\n var routed = window.___gatsbyIntl.routed;\n\n var removePrefix = function removePrefix(pathname) {\n var base = typeof __BASE_PATH__ !== \"undefined\" ? __BASE_PATH__ : __PATH_PREFIX__;\n\n if (base && pathname.indexOf(base) === 0) {\n pathname = pathname.slice(base.length);\n }\n\n return pathname;\n };\n\n var removeLocalePart = function removeLocalePart(pathname) {\n if (!routed) {\n return pathname;\n }\n\n var i = pathname.indexOf(\"/\", 1);\n return pathname.substring(i);\n };\n\n var pathname = to || removeLocalePart(removePrefix(window.location.pathname)); // TODO: check slash\n\n var link = \"/\" + language + pathname + window.location.search;\n localStorage.setItem(\"gatsby-intl-language\", language);\n (0, _gatsby.navigate)(link);\n};\n\nexports.changeLocale = changeLocale;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _reactIntl = require(\"react-intl\");\n\nvar _default = function _default(Component) {\n return function (props) {\n console.warn(\"withIntl is deprecated. Please use injectIntl instead.\");\n return _react.default.createElement((0, _reactIntl.injectIntl)(Component), props);\n };\n};\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nexports.__esModule = true;\nvar _exportNames = {\n Link: true,\n withIntl: true,\n navigate: true,\n changeLocale: true,\n IntlContextProvider: true,\n IntlContextConsumer: true\n};\nexports.IntlContextConsumer = exports.IntlContextProvider = exports.changeLocale = exports.navigate = exports.withIntl = exports.Link = void 0;\n\nvar _reactIntl = require(\"react-intl\");\n\nObject.keys(_reactIntl).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n exports[key] = _reactIntl[key];\n});\n\nvar _link = _interopRequireWildcard(require(\"./link\"));\n\nexports.Link = _link.default;\nexports.navigate = _link.navigate;\nexports.changeLocale = _link.changeLocale;\n\nvar _withIntl = _interopRequireDefault(require(\"./with-intl\"));\n\nexports.withIntl = _withIntl.default;\n\nvar _intlContext = require(\"./intl-context\");\n\nexports.IntlContextProvider = _intlContext.IntlContextProvider;\nexports.IntlContextConsumer = _intlContext.IntlContextConsumer;"],"sourceRoot":""}