-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-339dc3e41a0dda4b3821.js
3 lines (3 loc) · 126 KB
/
app-339dc3e41a0dda4b3821.js
1
2
3
/*! For license information please see app-339dc3e41a0dda4b3821.js.LICENSE.txt */
(self.webpackChunkjkube_website=self.webpackChunkjkube_website||[]).push([[143],{4506:function(e,t){"use strict";t.H=void 0;t.H=(e,t="always")=>{const r=e.endsWith(".html"),n=e.endsWith(".xml"),o=e.endsWith(".pdf");return"/"===e?e:((r||n||o)&&(t="never"),"always"===t?e.endsWith("/")?e:`${e}/`:"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},9679:function(e,t,r){"use strict";t.$C=void 0;var n=r(1432);t.$C=n.ScrollHandler,r(4855).useScrollRestoration},1432:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(6115)),a=n(r(7867)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(7294)),s=n(r(5697)),c=r(1142);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=i.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var h=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,r){t.shouldUpdateScroll(r,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,r){var n=document.getElementById(e.substring(1));n&&t.shouldUpdateScroll(r,t.props)&&n.scrollIntoView()},t.shouldUpdateScroll=function(e,r){var n=t.props.shouldUpdateScroll;return!n||n.call((0,o.default)(t),e,r)},t}(0,a.default)(t,e);var r=t.prototype;return r._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},r.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,r=t.key,n=t.hash;r&&(e=this._stateStorage.read(this.props.location,r)),n?this.scrollToHash(decodeURI(n),void 0):e&&this.windowScroll(e,void 0)},r.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},r.componentDidUpdate=function(e){var t,r=this.props.location,n=r.hash,o=r.key;o&&(t=this._stateStorage.read(this.props.location,o)),n?this.scrollToHash(decodeURI(n),e):this.windowScroll(t,e)},r.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=h,h.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r="___GATSBY_REACT_ROUTER_SCROLL",n=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(n);return o?JSON.parse(o):0}catch(a){return window&&window[r]&&window[r][n]?window[r][n]:0}},t.save=function(e,t,n){var o=this.getStateKey(e,t),a=JSON.stringify(n);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[r]||(window[r]={}),window[r][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var r="@@scroll|"+e.pathname;return null==t?r:r+"|"+t},e}();t.SessionStorage=n},4855:function(e,t,r){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),r=(0,o.useContext)(n.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var n=r.read(t,e);i.current.scrollTo(0,n||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&r.save(t,e,i.current.scrollTop)}}};var n=r(1432),o=r(7294),a=r(7896)},4094:function(e,t,r){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;r(3521),r(2731);t.onInitialClientRender=()=>{}},7730:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},2731:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,n.partytownSnippet)({forward:a}),document.head.appendChild(i)};var n=r(2911),o=r(7730)},5418:function(e,t,r){t.components={"component---src-templates-doc-jsx":()=>Promise.all([r.e(532),r.e(351),r.e(406)]).then(r.bind(r,2208)),"component---src-templates-main-jsx-content-file-path-src-content-community-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(918)]).then(r.bind(r,117)),"component---src-templates-main-jsx-content-file-path-src-content-contributing-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(24)]).then(r.bind(r,8523)),"component---src-templates-main-jsx-content-file-path-src-content-demos-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(220)]).then(r.bind(r,7689)),"component---src-templates-main-jsx-content-file-path-src-content-docs-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(509)]).then(r.bind(r,5710)),"component---src-templates-main-jsx-content-file-path-src-content-docs-migration-guide-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(141)]).then(r.bind(r,8250)),"component---src-templates-main-jsx-content-file-path-src-content-index-es-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(879)]).then(r.bind(r,3197)),"component---src-templates-main-jsx-content-file-path-src-content-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(770)]).then(r.bind(r,1226)),"component---src-templates-main-jsx-content-file-path-src-content-quickstarts-index-mdx":()=>Promise.all([r.e(532),r.e(351),r.e(786)]).then(r.bind(r,4776))}},4741:function(e,t,r){e.exports=[{plugin:r(9650),options:{plugins:[],offsetY:0,className:"anchor"}},{plugin:r(9257),options:{plugins:[],siteUrl:"https://eclipse.dev/jkube",defaultLocale:"en-US",locales:[{locale:"en-US",prefix:"en",slugs:{},messages:{}},{locale:"es-ES",prefix:"es",slugs:{},messages:{}}]}},{plugin:r(4094),options:{plugins:[]}}]},3092:function(e,t,r){const n=r(4741),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=r(1975).jN;t.h=function(e,t,r,s){void 0===t&&(t={});let c=n.map((r=>{if(!r.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const n=r.plugin[e](t,r.options);return n&&s&&(t=s({args:t,result:n,plugin:r})),n}));return c=c.filter((e=>void 0!==e)),c.length>0?c:r?[r]:[]},t.I=(e,t,r)=>n.reduce(((r,n)=>n.plugin[e]?r.then((()=>n.plugin[e](t,n.options))):r),Promise.resolve())},4004:function(e,t){},8299:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}()},7802:function(e,t,r){"use strict";r.d(t,{UD:function(){return f},Cj:function(){return d},GA:function(){return p},DS:function(){return h}});var n=r(7896),o=r(1505),a=e=>{if(void 0===e)return e;let[t,r=""]=e.split("?");return r&&(r="?"+r),"/"===t?"/"+r:"/"===t.charAt(t.length-1)?t.slice(0,-1)+r:t+r},i=r(6073);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[r,n]=e.split("?");t=r+"?"+encodeURIComponent(n)}const r=decodeURIComponent(t);return(0,o.Z)(r,decodeURIComponent("/jkube")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const h=e=>{c=e},f=e=>{const t=m(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?a(o.route.originalPath):null},p=e=>{const t=m(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?o.params:{}},d=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const r=(0,i.J)(e);if(r)return d(r.toPath);let n=f(t);return n||(n=m(e)),s.set(t,n),n},m=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=a(t),t}},4160:function(e,t,r){"use strict";r.d(t,{rU:function(){return o.rU},B9:function(){return a.B9},K2:function(){return a.K2}});var n=r(1975),o=(r(2743),r(9679),r(1562)),a=r(1757);r(7294),r(4004),r(8995);n.ZP.enqueue},1975:function(e,t,r){"use strict";r.d(t,{uQ:function(){return h},kL:function(){return w},ZP:function(){return T},Nt:function(){return R},hs:function(){return S},jN:function(){return P},N1:function(){return _}});var n=r(1721),o=r(5785),a=r(904);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(r){return!1}return!1}("prefetch")?function(e,t){return new Promise(((r,n)=>{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=r,o.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=()=>{200===n.status?t():r()},n.send(null)}))},s={};var c=function(e,t){return new Promise((r=>{s[e]?r():i(e,t).then((()=>{r(),s[e]=!0})).catch((()=>{}))}))},u=r(8299),l=r(7802);const h={Error:"error",Success:"success"},f=e=>{const[t,r]=e.split("?");var n;return"/jkube/page-data/"+("/"===t?"index":(n="/"===(n=t)[0]?n.slice(1):n).endsWith("/")?n.slice(0,-1):n)+"/page-data.json"+(r?"?"+r:"")},p=e=>e.startsWith("//");function d(e,t){return void 0===t&&(t="GET"),new Promise((r=>{const n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=()=>{4==n.readyState&&r(n)},n.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(e,t,r){var n;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(n=e.slicesMap)&&void 0!==n?n:{}};return{component:t,head:r,json:e.result,page:o}};function v(e){return new Promise((t=>{try{const r=e.readRoot();t(r)}catch(r){if(!Object.hasOwnProperty.call(r,"_response")||!Object.hasOwnProperty.call(r,"_status"))throw r;setTimeout((()=>{v(e).then(t)}),200)}}))}let y=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=d(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:r=0}=e,n=f(t);return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{const r=JSON.parse(a);if(void 0===r.path)throw new Error("not a valid pageData response");const n=t.split("?")[1];return n&&!r.path.includes(n)&&(r.path+="?"+n),Object.assign(e,{status:h.Success,payload:r})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:h.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:h.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:r=0}=e,n=f(t).replace(".json","-rsc.json");return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{return Object.assign(e,{status:h.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:h.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:h.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Cj)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,l.Cj)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return d("/jkube/slice-data/"+e+".json","GET").then((t=>{const r=JSON.parse(t.responseText);return this.slicesDataDb.set(e,r),{sliceName:e,jsonPayload:r}}))},t.findMatchPath=function(e){return(0,l.UD)(e)},t.loadPage=function(e){const t=(0,l.Cj)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const n=Promise.all(r).then((e=>{const[r,n,i]=e;if(n.status===h.Error||(null==i?void 0:i.status)===h.Error)return{status:h.Error};let s=n.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:f={}}=s,p={},d=Array.from(new Set(Object.values(f))),m=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(d.map((e=>this.loadSliceDataJson(e)))).then((e=>{const f=[],d=(0,o.Z)(l);for(const{jsonPayload:t,sliceName:r}of Object.values(e)){f.push({name:r,...t});for(const e of t.staticQueryHashes)d.includes(e)||d.push(e)}const y=[Promise.all(f.map(m)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const b=Promise.all(y).then((e=>{const[t,o,c]=e;p.createdAt=new Date;for(const r of t)(!r||r instanceof Error)&&(p.status=h.Error,p.error=r);let u;if((!c||c instanceof Error)&&(p.status=h.Error,p.error=c),p.status!==h.Error){if(p.status=h.Success,!0!==n.notFound&&!0!==(null==i?void 0:i.notFound)||(p.notFound=!0),s=Object.assign(s,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){u=g(s,null,o),u.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return v((0,a.createFromReadableStream)(e)).then((e=>(u.partialHydration=e,u)))}u=g(s,c,o)}return u})),E=Promise.all(d.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet("/jkube/page-data/sq/d/"+e+".json").then((t=>{const r=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:r}})).catch((()=>{throw new Error("We couldn't load \"/jkube/page-data/sq/d/"+e+'.json"')}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:r,jsonPayload:n}=e;t[r]=n,this.staticQueryDb[r]=n})),t}));return Promise.all([b,E]).then((e=>{let r,[n,o]=e;return n&&(r={...n,staticQueryResults:o},p.payload=r,u.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),this.pageDb.set(t,p),p.error?{error:p.error,status:p.status}:r})).catch((e=>({error:e,status:h.Error})))}))}));return n.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,n),n},t.loadPageSync=function(e,t){void 0===t&&(t={});const r=(0,l.Cj)(e);if(this.pageDb.has(r)){var n;const e=this.pageDb.get(r);if(e.payload)return e.payload;if(null!==(n=t)&&void 0!==n&&n.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!m.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),this.prefetchQueued.push([e,t]);const r=new AbortController;return r.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[r]=t;return r===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,r)=>t.promise.then(e,r),abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,r]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?r.resolve(!1):this.doPrefetch((0,l.Cj)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),r.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=f(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Cj)(e),r=this.pageDataDb.get(t);if(r){const e=g(r.payload);return[].concat((0,o.Z)(b(e.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Cj)(e),r=this.pageDb.get(t);return!r||r.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/jkube/page-data/app-data.json").then((t=>{const{status:r,responseText:n}=t;let o;if(200!==r&&e<3)return this.loadAppData(e+1);if(200===r)try{const e=JSON.parse(n);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>"/jkube"+e));let E,w=function(e){function t(t,r,n){var o;return o=e.call(this,(function(e,r){if(void 0===r&&(r="components"),!t[r="components"][e])throw new Error("We couldn't find the correct component chunk with the name \""+e+'"');return t[r][e]().catch((e=>e))}),r)||this,n&&o.pageDataDb.set((0,l.Cj)(n.path),{pagePath:n.path,payload:n,status:"success"}),o}(0,n.Z)(t,e);var r=t.prototype;return r.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==h.Success)return Promise.resolve();const t=e.payload,r=t.componentChunkName,n=b(r);return Promise.all(n.map(c)).then((()=>t))}))},r.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?p(t)?e:d(t,"HEAD").then((t=>200===t.status?{status:h.Error}:e)):e))},r.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?p(t)?e:d(t,"HEAD").then((t=>200===t.status?{status:h.Error}:e)):e))},t}(y);const _=e=>{E=e},P={enqueue:e=>E.prefetch(e),getResourceURLsForPathname:e=>E.getResourceURLsForPathname(e),loadPage:e=>E.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),E.loadPageSync(e,t)},prefetch:e=>E.prefetch(e),isPageNotFound:e=>E.isPageNotFound(e),hovering:e=>E.hovering(e),loadAppData:()=>E.loadAppData()};var T=P;function S(){return E?E.staticQueryDb:{}}function R(){return E?E.slicesDb:{}}},4779:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n=r(7294),o=r(5697),a=r.n(o),i=r(3092),s=r(7802),c=r(5785),u=r(4160),l=r(7896),h=r(4941);function f(e){let{children:t,callback:r}=e;return(0,n.useEffect)((()=>{r()})),t}const p=["link","meta","style","title","base","noscript","script","html","body"];function d(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const r=new Map,n=[];for(const u of e.childNodes){var o,a;const e=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(y(u)){if(v(e))if("html"===e||"body"===e)for(const r of u.attributes){const n="style"===r.name;var i;if(t[e]={...t[e]},n||(t[e][r.name]=r.value),n)t[e].style=""+(null!==(i=t[e])&&void 0!==i&&i.style?t[e].style:"")+r.value+" "}else{let e=u.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=g(e)),l)if(r.has(l)){var s;const t=r.get(l);null===(s=n[t].parentNode)||void 0===s||s.removeChild(n[t]),n[t]=e}else n.push(e),r.set(l,n.length-1);else n.push(e)}u.childNodes.length&&n.push.apply(n,(0,c.Z)(m(u,t).validHeadNodes))}}return{validHeadNodes:n,htmlAndBodyAttributes:t}}function g(e){const t=document.createElement("script");for(const r of e.attributes)t.setAttribute(r.name,r.value);return t.innerHTML=e.innerHTML,t}function v(e){return p.includes(e)}function y(e){return 1===e.nodeType}const b=document.createElement("div"),E={html:[],body:[]},w=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:r}=m(b);E.html=Object.keys(r.html),E.body=Object.keys(r.body),function(e){if(!e)return;const{html:t,body:r}=e,n=document.querySelector("html");n&&Object.entries(t).forEach((e=>{let[t,r]=e;n.setAttribute(t,r)}));const o=document.querySelector("body");o&&Object.entries(r).forEach((e=>{let[t,r]=e;o.setAttribute(t,r)}))}(r);const n=document.querySelectorAll("[data-gatsby-head]");var o;if(0===n.length)return void(o=document.head).append.apply(o,(0,c.Z)(t));const a=[];!function(e){let{oldNodes:t,newNodes:r,onStale:n,onNew:o}=e;for(const a of t){const e=r.findIndex((e=>d(e,a)));-1===e?n(a):r.splice(e,1)}for(const a of r)o(a)}({oldNodes:n,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};function _(e){let{pageComponent:t,staticQueryResults:r,pageComponentProps:o}=e;(0,n.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error('Expected "Head" export to be a function got "'+typeof e+'".')}(t.Head);const{render:a}=(0,h.U)(),s=n.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,i.h)("wrapRootElement",{element:s},s,(e=>{let{result:t}=e;return{element:t}})).pop();a(n.createElement(f,{callback:w},n.createElement(u.B9.Provider,{value:r},n.createElement(l.LocationProvider,null,c))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:r}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(r){const e=document.querySelector("body");r.forEach((t=>{e&&e.removeAttribute(t)}))}}(E)}}))}function P(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let r;var o;r=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,n.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});_({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.h)("wrapPageElement",{element:r,props:t},r,(e=>{let{result:r}=e;return{element:r,props:t}})).pop()}P.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var T=P},5824:function(e,t,r){"use strict";var n=r(1721),o=r(3092),a=r(7294),i=r(7896),s=r(9679),c=r(1757),u=r(8995),l=r(1975),h=r(6073),f=r(8299);const p={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var d=r(1562);function m(e){const t=(0,h.J)(e),{hash:r,search:n}=window.location;return null!=t&&(window.___replace(t.toPath+n+r),!0)}let g="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)}));const v=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=(e,t)=>{m(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:r,search:n,hash:a}=(0,d.cP)(e),s=(0,h.J)(r);if(s&&(e=s.toPath+n+a),window.___swUpdated)return void(window.location=r+n+a);const c=setTimeout((()=>{f.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.ZP.loadPage(r+n).then((o=>{if(!o||o.status===l.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+n+a),(0,i.navigate)(e,t),clearTimeout(c)}))};function E(e,t){let{location:r}=t;const{pathname:n,hash:a}=r,i=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:n,routerProps:{location:r},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===n)return a?decodeURI(a.slice(1)):[0,0]}return!0}let w=function(e){function t(t){var r;return(r=e.call(this,t)||this).announcementRef=a.createRef(),r}(0,n.Z)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const r="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==r&&(this.announcementRef.current.innerText=r)}}))},r.render=function(){return a.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(a.Component);const _=(e,t)=>{var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)};let P=function(e){function t(t){var r;return r=e.call(this,t)||this,v(t.location,null),r}(0,n.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){y(this.props.location,null)},r.shouldComponentUpdate=function(e){return!!_(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},r.componentDidUpdate=function(e){_(e.location,this.props.location)&&y(this.props.location,e.location)},r.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(w,{location:location}))},t}(a.Component);var T=r(4779),S=r(5418);function R(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var C=function(e){function t(t){var r;r=e.call(this)||this;const{location:n,pageResources:o}=t;return r.state={location:{...n},pageResources:o||l.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0})},r}(0,n.Z)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:r}=e;if(t.location.href!==r.href){return{pageResources:l.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0}),location:{...r}}}return{location:{...r}}};var r=t.prototype;return r.loadResources=function(e){l.ZP.loadPage(e).then((t=>{t&&t.status!==l.uQ.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},r.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,r){return R(e.props,t)||R(e.state,r)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},r.render=function(){return this.props.children(this.state)},t}(a.Component),N=r(1505),H=r(4941);const L=new l.kL(S,[],window.pageData);(0,l.N1)(L),L.setApiRunner(o.h);const{render:O,hydrate:A}=(0,H.U)();window.asyncRequires=S,window.___emitter=f.Z,window.___loader=l.jN,i.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const I="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((()=>{(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&r(9939);const e=e=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(T.Z,e)),t=a.createContext({}),h={renderEnvironment:"browser"};let f=function(e){function r(){return e.apply(this,arguments)||this}return(0,n.Z)(r,e),r.prototype.render=function(){const{children:e}=this.props;return a.createElement(i.Location,null,(r=>{let{location:n}=r;return a.createElement(C,{location:n},(r=>{let{pageResources:n,location:o}=r;const i=(0,l.hs)(),s=(0,l.Nt)();return a.createElement(c.B9.Provider,{value:i},a.createElement(u.Bs.Provider,{value:h},a.createElement(u.m3.Provider,{value:s},a.createElement(u.u0.Provider,{value:n.page.slicesMap},a.createElement(t.Provider,{value:{pageResources:n,location:o}},e)))))}))}))},r}(a.Component),p=function(r){function o(){return r.apply(this,arguments)||this}return(0,n.Z)(o,r),o.prototype.render=function(){return a.createElement(t.Consumer,null,(t=>{let{pageResources:r,location:n}=t;return a.createElement(P,{location:n},a.createElement(s.$C,{location:n,shouldUpdateScroll:E},a.createElement(i.Router,{basepath:"/jkube",location:n,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,N.Z)(n.pathname,"/jkube"):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},this.props,{location:n,pageResources:r},r.json)))))}))},o}(a.Component);const{pagePath:d,location:m}=window;d&&"/jkube"+d!==m.pathname+(d.includes("?")?m.search:"")&&!(L.findMatchPath((0,N.Z)(m.pathname,"/jkube"))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)("/jkube"+d+(d.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch{return null}};l.jN.loadPage(m.pathname+m.search).then((e=>{var t;const r=g();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r)){if(!("1"===r.getItem(I)))return r.setItem(I,"1"),void window.location.reload(!0)}if(r&&r.removeItem(I),!e||e.status===l.uQ.Error){const t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const n=(0,o.h)("wrapRootElement",{element:a.createElement(p,null)},a.createElement(p,null),(e=>{let{result:t}=e;return{element:t}})).pop(),i=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(f,null,n)},s=document.getElementById("gatsby-focus-wrapper");let c=O;s&&s.children.length&&(c=A);const u=(0,o.h)("replaceHydrateFunction",void 0,c)[0];function h(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(a.createElement(i,null),e)}const d=document;if("complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)setTimeout((function(){h()}),0);else{const e=function(){d.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),h()};d.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},224:function(e,t,r){"use strict";r.r(t);var n=r(7294),o=r(1975),a=r(4779);t.default=e=>{let{location:t}=e;const r=o.ZP.loadPageSync(t.pathname);return r?n.createElement(a.Z,{location:t,pageResources:r,...r.json}):null}},2743:function(e,t,r){var n;e.exports=(n=r(224))&&n.default||n},4941:function(e,t,r){"use strict";r.d(t,{U:function(){return o}});const n=new WeakMap;function o(){const e=r(745);return{render:(t,r)=>{let o=n.get(r);o||n.set(r,o=e.createRoot(r)),o.render(t)},hydrate:(t,r)=>e.hydrateRoot(r,t)}}},6073:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});const n=new Map,o=new Map;function a(e){let t=n.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):n.set(e.fromPath,e)}))},9939:function(e,t,r){"use strict";r.r(t);var n=r(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/jkube/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,n.h)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,n.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},8995:function(e,t,r){"use strict";r.d(t,{Bs:function(){return a},m3:function(){return o},u0:function(){return i}});var n=r(7294);const o=n.createContext({}),a=n.createContext({}),i=n.createContext({})},1757:function(e,t,r){"use strict";r.d(t,{B9:function(){return o},K2:function(){return s}});var n=r(7294);const o=(a="StaticQuery",i={},n.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,i):n.createContext(i));var a,i;const s=e=>{var t;n.useContext;const r=n.useContext(o);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},1505:function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}r.d(t,{Z:function(){return n}})},9257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapPageElement=void 0;var n=r(4621);Object.defineProperty(t,"wrapPageElement",{enumerable:!0,get:function(){return n.wrapPageElement}})},9914:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useI18nL10nContext=t.I18nL10nContext=void 0;const n=r(7294);t.I18nL10nContext=(0,n.createContext)({});t.useI18nL10nContext=()=>(0,n.useContext)(t.I18nL10nContext)},4621:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapPageElement=void 0;const n=r(5893),o=r(6095),a=r(9914);t.wrapPageElement=(e,t)=>{let{element:r,props:i}=e;var s,c;const u=i.pageContext.translations||[],l=null!==(s=i.pageContext.locale)&&void 0!==s?s:t.defaultLocale,h=t.locales.find((e=>e.locale===l)),f=null!==(c=i.pageContext.prefix)&&void 0!==c?c:null==h?void 0:h.prefix,p=Object.assign(Object.assign({},null==h?void 0:h.messages),null==h?void 0:h.slugs);return t.locales.forEach((e=>{p["languages."+e.locale]=e.messages.language})),(0,n.jsx)(a.I18nL10nContext.Provider,{value:{locale:l,prefix:f,translations:u},children:(0,n.jsx)(o.IntlProvider,{defaultLocale:t.defaultLocale,locale:l,messages:p,children:r})})}},9650:function(e,t){"use strict";var r=0,n=function(e){var t=window.decodeURI(e.replace("#",""));if(""!==t){var n=document.getElementById(t);if(n){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,a=document.documentElement.clientTop||document.body.clientTop||0,i=window.getComputedStyle(n),s=i.getPropertyValue("scroll-margin-top")||i.getPropertyValue("scroll-snap-margin-top")||"0px";return n.getBoundingClientRect().top+o-parseInt(s,10)-a-r}}return null};t.onInitialClientRender=function(e,t){t.offsetY&&(r=t.offsetY),requestAnimationFrame((function(){var e=n(window.location.hash);null!==e&&window.scrollTo(0,e)}))},t.shouldUpdateScroll=function(e){var t=e.routerProps.location,r=n(t.hash);return null===r||[0,r]}},8679:function(e,t,r){"use strict";var n=r(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var o=p(r);o&&o!==d&&e(t,o,n)}var i=l(r);h&&(i=i.concat(h(r)));for(var s=c(t),m=c(r),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||n&&n[v]||m&&m[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(b){}}}}return t}},1143:function(e){"use strict";e.exports=function(e,t,r,n,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},6095:function(e,t,r){"use strict";r.r(t),r.d(t,{FormattedDate:function(){return or},FormattedDateParts:function(){return ur},FormattedDateTimeRange:function(){return tr},FormattedDisplayName:function(){return cr},FormattedList:function(){return sr},FormattedListParts:function(){return at},FormattedMessage:function(){return zt},FormattedNumber:function(){return ir},FormattedNumberParts:function(){return ot},FormattedPlural:function(){return Jt},FormattedRelativeTime:function(){return Xt},FormattedTime:function(){return ar},FormattedTimeParts:function(){return lr},IntlContext:function(){return tt},IntlProvider:function(){return jt},InvalidConfigError:function(){return ke},MessageFormatError:function(){return je},MissingDataError:function(){return xe},MissingTranslationError:function(){return Ue},RawIntlProvider:function(){return et},ReactIntlError:function(){return Be},ReactIntlErrorCode:function(){return Ie},UnsupportedFormatterError:function(){return Me},createIntl:function(){return xt},createIntlCache:function(){return $e},defineMessage:function(){return nr},defineMessages:function(){return rr},injectIntl:function(){return rt},useIntl:function(){return nt}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}Object.create;function s(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;var c=r(7294),u=r(8679),l=r.n(u);var h,f,p;function d(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function m(e){return e.type===f.literal}function g(e){return e.type===f.argument}function v(e){return e.type===f.number}function y(e){return e.type===f.date}function b(e){return e.type===f.time}function E(e){return e.type===f.select}function w(e){return e.type===f.plural}function _(e){return e.type===f.pound}function P(e){return e.type===f.tag}function T(e){return!(!e||"object"!=typeof e||e.type!==p.number)}function S(e){return!(!e||"object"!=typeof e||e.type!==p.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(h||(h={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(f||(f={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var R=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,C=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function N(e){var t={};return e.replace(C,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var L=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,I=/^(0+)$/;function D(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(O,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function B(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!I.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function k(e){var t=B(e);return t||{}}function x(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=a(a(a({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return a(a({},e),k(t))}),{}));continue;case"engineering":t=a(a(a({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return a(a({},e),k(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(A,(function(e,r,n,o,a,i){if(r)t.minimumIntegerDigits=n.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(I.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(L.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(L,(function(e,r,n,o,a,i){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=a(a({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=a(a({},t),D(i)))}else if(O.test(o.stem))t=a(a({},t),D(o.stem));else{var s=B(o.stem);s&&(t=a(a({},t),s));var c=M(o.stem);c&&(t=a(a({},t),c))}}return t}var F,j={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function U(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(j[r||""]||j[n||""]||j["".concat(n,"-001")]||j["001"])[0]}var G=new RegExp("^".concat(R.source,"*")),W=new RegExp("".concat(R.source,"*$"));function $(e,t){return{start:e,end:t}}var V=!!String.prototype.startsWith,Z=!!String.fromCodePoint,q=!!Object.fromEntries,X=!!String.prototype.codePointAt,K=!!String.prototype.trimStart,J=!!String.prototype.trimEnd,Q=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Y=!0;try{Y="a"===(null===(F=ie("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===F?void 0:F[0])}catch(hr){Y=!1}var z,ee=V?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},te=Z?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,a=0;o>a;){if((r=e[a++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},re=q?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],a=o[0],i=o[1];t[a]=i}return t},ne=X?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},oe=K?function(e){return e.trimStart()}:function(e){return e.replace(G,"")},ae=J?function(e){return e.trimEnd()}:function(e){return e.replace(W,"")};function ie(e,t){return new RegExp(e,t)}if(Y){var se=ie("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");z=function(e,t){var r;return se.lastIndex=t,null!==(r=se.exec(e)[1])&&void 0!==r?r:""}}else z=function(e,t){for(var r=[];;){var n=ne(e,t);if(void 0===n||le(n)||he(n))break;r.push(n),t+=n>=65536?2:1}return te.apply(void 0,r)};var ce=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,r)).err)return a;n.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(h.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ue(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var i=this.clonePosition();this.bump(),n.push({type:f.pound,location:$(i,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:f.literal,value:"<".concat(n,"/>"),location:$(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ue(this.char()))return this.error(h.INVALID_TAG,$(i,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(h.UNMATCHED_CLOSING_TAG,$(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:f.tag,value:n,children:a,location:$(r,this.clonePosition())},err:null}:this.error(h.INVALID_TAG,$(i,this.clonePosition())))}return this.error(h.UNCLOSED_TAG,$(r,this.clonePosition()))}return this.error(h.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}var s=$(r,this.clonePosition());return{val:{type:f.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ue(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return te.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),te(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(h.EMPTY_ARGUMENT,$(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(h.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:f.argument,value:n,location:$(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(h.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=z(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:$(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(h.EXPECT_ARGUMENT_TYPE,$(i,c));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(v=ae(w.val)).length)return this.error(h.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));u={style:v,styleLocation:$(l,this.clonePosition())}}if((_=this.tryParseArgumentClose(n)).err)return _;var d=$(n,this.clonePosition());if(u&&ee(null==u?void 0:u.style,"::",0)){var m=oe(u.style.slice(2));if("number"===s)return(w=this.parseNumberSkeletonFromString(m,u.styleLocation)).err?w:{val:{type:f.number,value:r,location:d,style:w.val},err:null};if(0===m.length)return this.error(h.EXPECT_DATE_TIME_SKELETON,d);var g=m;this.locale&&(g=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var a=0;n+1<e.length&&e.charAt(n+1)===o;)a++,n++;var i=1+(1&a),s=a<2?1:3+(a>>1),c=U(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)r+="a";for(;i-- >0;)r=c+r}else r+="J"===o?"H":o}return r}(m,this.locale));var v={type:p.dateTime,pattern:g,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?N(g):{}};return{val:{type:"date"===s?f.date:f.time,value:r,location:d,style:v},err:null}}return{val:{type:"number"===s?f.number:"date"===s?f.date:f.time,value:r,location:d,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(h.EXPECT_SELECT_ARGUMENT_OPTIONS,$(y,a({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),E=0;if("select"!==s&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(h.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(h.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,h.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),b=this.parseIdentifierIfPossible(),E=w.val}var _,P=this.tryParsePluralOrSelectOptions(e,s,t,b);if(P.err)return P;if((_=this.tryParseArgumentClose(n)).err)return _;var T=$(n,this.clonePosition());return"select"===s?{val:{type:f.select,value:r,options:re(P.val),location:T},err:null}:{val:{type:f.plural,value:r,options:re(P.val),offset:E,pluralType:"plural"===s?"cardinal":"ordinal",location:T},err:null};default:return this.error(h.INVALID_ARGUMENT_TYPE,$(i,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,$(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(h.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(H).filter((function(e){return e.length>0}));r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),s=0,c=i;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(n){return this.error(h.INVALID_NUMBER_SKELETON,t)}return{val:{type:p.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?x(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o,a=!1,i=[],s=new Set,c=n.value,u=n.location;;){if(0===c.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(h.EXPECT_PLURAL_ARGUMENT_SELECTOR,h.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=$(l,this.clonePosition()),c=this.message.slice(l.offset,this.offset())}if(s.has(c))return this.error("select"===t?h.DUPLICATE_SELECT_ARGUMENT_SELECTOR:h.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?h.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:h.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var m=this.tryParseArgumentClose(p);if(m.err)return m;i.push([c,{value:d.val,location:$(p,this.clonePosition())}]),s.add(c),this.bumpSpace(),c=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===i.length?this.error("select"===t?h.EXPECT_SELECT_ARGUMENT_SELECTOR:h.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(h.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var s=$(n,this.clonePosition());return o?Q(a*=r)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ne(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ee(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&le(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ue(e){return e>=97&&e<=122||e>=65&&e<=90}function le(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function he(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function fe(e){e.forEach((function(e){if(delete e.location,E(e)||w(e))for(var t in e.options)delete e.options[t].location,fe(e.options[t].value);else v(e)&&T(e.style)||(y(e)||b(e))&&S(e.style)?delete e.style.location:P(e)&&fe(e.children)}))}function pe(e,t){void 0===t&&(t={}),t=a({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ce(e,t).parse();if(r.err){var n=SyntaxError(h[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||fe(r.val),r.val}function de(e,t){var r=t&&t.cache?t.cache:_e,n=t&&t.serializer?t.serializer:be;return(t&&t.strategy?t.strategy:ye)(e,{cache:r,serializer:n})}function me(e,t,r,n){var o,a=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n),i=t.get(a);return void 0===i&&(i=e.call(this,n),t.set(a,i)),i}function ge(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return void 0===a&&(a=e.apply(this,n),t.set(o,a)),a}function ve(e,t,r,n,o){return r.bind(t,e,n,o)}function ye(e,t){return ve(e,this,1===e.length?me:ge,t.cache.create(),t.serializer)}var be=function(){return JSON.stringify(arguments)};function Ee(){this.cache=Object.create(null)}Ee.prototype.get=function(e){return this.cache[e]},Ee.prototype.set=function(e,t){this.cache[e]=t};var we,_e={create:function(){return new Ee}},Pe={variadic:function(e,t){return ve(e,this,ge,t.cache.create(),t.serializer)},monadic:function(e,t){return ve(e,this,me,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(we||(we={}));var Te,Se=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return o(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Re=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),we.INVALID_VALUE,o)||this}return o(t,e),t}(Se),Ce=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),we.INVALID_VALUE,n)||this}return o(t,e),t}(Se),Ne=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),we.MISSING_VALUE,r)||this}return o(t,e),t}(Se);function He(e){return"function"==typeof e}function Le(e,t,r,n,o,a,i){if(1===e.length&&m(e[0]))return[{type:Te.literal,value:e[0].value}];for(var s=[],c=0,u=e;c<u.length;c++){var l=u[c];if(m(l))s.push({type:Te.literal,value:l.value});else if(_(l))"number"==typeof a&&s.push({type:Te.literal,value:r.getNumberFormat(t).format(a)});else{var h=l.value;if(!o||!(h in o))throw new Ne(h,i);var f=o[h];if(g(l))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?Te.literal:Te.object,value:f});else if(y(l)){var p="string"==typeof l.style?n.date[l.style]:S(l.style)?l.style.parsedOptions:void 0;s.push({type:Te.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(b(l)){p="string"==typeof l.style?n.time[l.style]:S(l.style)?l.style.parsedOptions:n.time.medium;s.push({type:Te.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(v(l)){(p="string"==typeof l.style?n.number[l.style]:T(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:Te.literal,value:r.getNumberFormat(t,p).format(f)})}else{if(P(l)){var d=l.children,R=l.value,C=o[R];if(!He(C))throw new Ce(R,"function",i);var N=C(Le(d,t,r,n,o,a).map((function(e){return e.value})));Array.isArray(N)||(N=[N]),s.push.apply(s,N.map((function(e){return{type:"string"==typeof e?Te.literal:Te.object,value:e}})))}if(E(l)){if(!(H=l.options[f]||l.options.other))throw new Re(l.value,f,Object.keys(l.options),i);s.push.apply(s,Le(H.value,t,r,n,o))}else if(w(l)){var H;if(!(H=l.options["=".concat(f)])){if(!Intl.PluralRules)throw new Se('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',we.MISSING_INTL_API,i);var L=r.getPluralRules(t,{type:l.pluralType}).select(f-(l.offset||0));H=l.options[L]||l.options.other}if(!H)throw new Re(l.value,f,Object.keys(l.options),i);s.push.apply(s,Le(H.value,t,r,n,o,f-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===Te.literal&&t.type===Te.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function Oe(e,t){return t?Object.keys(e).reduce((function(r,n){var o,i;return r[n]=(o=e[n],(i=t[n])?a(a(a({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=a(a({},o[t]),i[t]||{}),e}),{})):o),r}),a({},e)):e}function Ae(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Te||(Te={}));var Ie,De=function(){function e(t,r,n,o){void 0===r&&(r=e.defaultLocale);var c,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===Te.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return Le(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=u.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=o||{},h=(l.formatters,i(l,["formatters"]));this.ast=e.__parse(t,a(a({},h),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Oe(e.formats,n),this.formatters=o&&o.formatters||(void 0===(c=this.formatterCache)&&(c={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,!1)))}),{cache:Ae(c.number),strategy:Pe.variadic}),getDateTimeFormat:de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,!1)))}),{cache:Ae(c.dateTime),strategy:Pe.variadic}),getPluralRules:de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,!1)))}),{cache:Ae(c.pluralRules),strategy:Pe.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=pe,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Ie||(Ie={}));var Be=function(e){function t(r,n,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return o(t,e),t}(Error),Me=function(e){function t(t,r){return e.call(this,Ie.UNSUPPORTED_FORMATTER,t,r)||this}return o(t,e),t}(Be),ke=function(e){function t(t,r){return e.call(this,Ie.INVALID_CONFIG,t,r)||this}return o(t,e),t}(Be),xe=function(e){function t(t,r){return e.call(this,Ie.MISSING_DATA,t,r)||this}return o(t,e),t}(Be),Fe=function(e){function t(t,r,n){var o=e.call(this,Ie.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this;return o.locale=r,o}return o(t,e),t}(Be),je=function(e){function t(t,r,n,o){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return a.descriptor=n,a.locale=r,a}return o(t,e),t}(Fe),Ue=function(e){function t(t,r){var n=e.call(this,Ie.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return o(t,e),t}(Be);function Ge(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var We={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function $e(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ve(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ze(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new Me("No ".concat(t," format named: ").concat(r)))}function qe(e){d(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Xe=a(a({},We),{textComponent:c.Fragment});function Ke(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Je,Qe,Ye="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?c.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=c.createContext(null)),ze=Ye.Consumer,et=Ye.Provider,tt=Ye;function rt(e,t){var r,n=t||{},o=n.intlPropName,i=void 0===o?"intl":o,s=n.forwardRef,u=void 0!==s&&s,h=n.enforceContext,f=void 0===h||h,p=function(t){return c.createElement(ze,null,(function(r){var n;f&&qe(r);var o=((n={})[i]=r,n);return c.createElement(e,a({},t,o,{ref:u?t.forwardedRef:null}))}))};return p.displayName="injectIntl(".concat((r=e).displayName||r.name||"Component",")"),p.WrappedComponent=e,u?l()(c.forwardRef((function(e,t){return c.createElement(p,a({},e,{forwardedRef:t}))})),e):l()(p,e)}function nt(){var e=c.useContext(tt);return qe(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Je||(Je={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Qe||(Qe={}));var ot=function(e){var t=nt(),r=e.value,n=e.children,o=i(e,["value","children"]);return n(t.formatNumberToParts(r,o))};ot.displayName="FormattedNumberParts";var at=function(e){var t=nt(),r=e.value,n=e.children,o=i(e,["value","children"]);return n(t.formatListToParts(r,o))};function it(e){var t=function(t){var r=nt(),n=t.value,o=t.children,a=i(t,["value","children"]),s="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?r.formatDateToParts(s,a):r.formatTimeToParts(s,a))};return t.displayName=Qe[e],t}function st(e){var t=function(t){var r=nt(),n=t.value,o=t.children,a=i(t,["value","children"]),s=r[e](n,a);if("function"==typeof o)return o(s);var u=r.textComponent||c.Fragment;return c.createElement(u,null,s)};return t.displayName=Je[e],t}function ct(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=a({timeZone:t},e[n]),r}),{})}function ut(e,t){return Object.keys(a(a({},e),t)).reduce((function(r,n){return r[n]=a(a({},e[n]||{}),t[n]||{}),r}),{})}function lt(e,t){if(!t)return e;var r=De.formats;return a(a(a({},r),e),{date:ut(ct(r.date,t),ct(e.date||{},t)),time:ut(ct(r.time,t),ct(e.time||{},t))})}ot.displayName="FormattedNumberParts";var ht=function(e,t,r,n,o){var i=e.locale,s=e.formats,c=e.messages,u=e.defaultLocale,l=e.defaultFormats,h=e.fallbackOnEmptyString,p=e.onError,m=e.timeZone,g=e.defaultRichTextElements;void 0===r&&(r={id:""});var v=r.id,y=r.defaultMessage;d(!!v,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var b=String(v),E=c&&Object.prototype.hasOwnProperty.call(c,b)&&c[b];if(Array.isArray(E)&&1===E.length&&E[0].type===f.literal)return E[0].value;if(!n&&E&&"string"==typeof E&&!g)return E.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=a(a({},g),n||{}),s=lt(s,m),l=lt(l,m),!E){if(!1===h&&""===E)return E;if((!y||i&&i.toLowerCase()!==u.toLowerCase())&&p(new Ue(r,i)),y)try{return t.getMessageFormat(y,u,l,o).format(n)}catch(w){return p(new je('Error formatting default message for: "'.concat(b,'", rendering default message verbatim'),i,r,w)),"string"==typeof y?y:b}return b}try{return t.getMessageFormat(E,i,s,a({formatters:t},o||{})).format(n)}catch(w){p(new je('Error formatting message: "'.concat(b,'", using ').concat(y?"default message":"id"," as fallback."),i,r,w))}if(y)try{return t.getMessageFormat(y,u,l,o).format(n)}catch(w){p(new je('Error formatting the default message for: "'.concat(b,'", rendering message verbatim'),i,r,w))}return"string"==typeof E?E:"string"==typeof y?y:b},ft=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function pt(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,s=i&&Ze(o,"number",i,a)||{};return t(n,Ge(r,ft,s))}function dt(e,t,r,n){void 0===n&&(n={});try{return pt(e,t,n).format(r)}catch(o){e.onError(new Fe("Error formatting number.",e.locale,o))}return String(r)}function mt(e,t,r,n){void 0===n&&(n={});try{return pt(e,t,n).formatToParts(r)}catch(o){e.onError(new Fe("Error formatting number.",e.locale,o))}return[]}var gt=["numeric","style"];function vt(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new Se('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',we.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,s=!!i&&Ze(o,"relative",i,a)||{};return t(n,Ge(r,gt,s))}(e,t,o).format(r,n)}catch(a){e.onError(new Fe("Error formatting relative time.",e.locale,a))}return String(r)}var yt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function bt(e,t,r,n){var o=e.locale,i=e.formats,s=e.onError,c=e.timeZone;void 0===n&&(n={});var u=n.format,l=a(a({},c&&{timeZone:c}),u&&Ze(i,t,u,s)),h=Ge(n,yt,l);return"time"!==t||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h=a(a({},h),{hour:"numeric",minute:"numeric"})),r(o,h)}function Et(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return bt(e,"date",t,i).format(s)}catch(c){e.onError(new Fe("Error formatting date.",e.locale,c))}return String(s)}function wt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return bt(e,"time",t,i).format(s)}catch(c){e.onError(new Fe("Error formatting time.",e.locale,c))}return String(s)}function _t(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],s=void 0===i?{}:i,c=e.timeZone,u=e.locale,l=e.onError,h=Ge(s,yt,c?{timeZone:c}:{});try{return t(u,h).formatRange(o,a)}catch(f){l(new Fe("Error formatting date time range.",e.locale,f))}return String(o)}function Pt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return bt(e,"date",t,i).formatToParts(s)}catch(c){e.onError(new Fe("Error formatting date.",e.locale,c))}return[]}function Tt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return bt(e,"time",t,i).formatToParts(s)}catch(c){e.onError(new Fe("Error formatting time.",e.locale,c))}return[]}var St=["type"];function Rt(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new Se('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',we.MISSING_INTL_API));var i=Ge(n,St);try{return t(o,i).select(r)}catch(s){a(new Fe("Error formatting plural.",o,s))}return"other"}var Ct=["type","style"],Nt=Date.now();function Ht(e,t,r,n){void 0===n&&(n={});var o=Lt(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:0===o.length?"":o}function Lt(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.ListFormat||i(new Se('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',we.MISSING_INTL_API));var s=Ge(n,Ct);try{var c={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(Nt,"_").concat(e,"_").concat(Nt)}(t);return c[r]=e,r}return String(e)}));return t(o,s).formatToParts(u).map((function(e){return"literal"===e.type?e:a(a({},e),{value:c[e.value]||e.value})}))}catch(l){i(new Fe("Error formatting list.",o,l))}return r}var Ot=["style","type","fallback","languageDisplay"];function At(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Se('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',we.MISSING_INTL_API));var i=Ge(n,Ot);try{return t(o,i).of(r)}catch(s){a(new Fe("Error formatting display name.",o,s))}}function It(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function Dt(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,!1)))}),{cache:Ve(e.dateTime),strategy:Pe.variadic}),i=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,!1)))}),{cache:Ve(e.number),strategy:Pe.variadic}),c=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,!1)))}),{cache:Ve(e.pluralRules),strategy:Pe.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:de((function(e,t,r,n){return new De(e,t,r,a({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:c}},n||{}))}),{cache:Ve(e.message),strategy:Pe.variadic}),getRelativeTimeFormat:de((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,s([void 0],e,!1)))}),{cache:Ve(e.relativeTime),strategy:Pe.variadic}),getPluralRules:c,getListFormat:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,s([void 0],e,!1)))}),{cache:Ve(e.list),strategy:Pe.variadic}),getDisplayNames:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,s([void 0],e,!1)))}),{cache:Ve(e.displayNames),strategy:Pe.variadic})}}(t),n=a(a({},We),e),o=n.locale,i=n.defaultLocale,c=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&c?c(new xe('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&c&&c(new xe('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(c&&c(new ke('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),It(n),a(a({},n),{formatters:r,formatNumber:dt.bind(null,n,r.getNumberFormat),formatNumberToParts:mt.bind(null,n,r.getNumberFormat),formatRelativeTime:vt.bind(null,n,r.getRelativeTimeFormat),formatDate:Et.bind(null,n,r.getDateTimeFormat),formatDateToParts:Pt.bind(null,n,r.getDateTimeFormat),formatTime:wt.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:_t.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Tt.bind(null,n,r.getDateTimeFormat),formatPlural:Rt.bind(null,n,r.getPluralRules),formatMessage:ht.bind(null,n,r),$t:ht.bind(null,n,r),formatList:Ht.bind(null,n,r.getListFormat),formatListToParts:Lt.bind(null,n,r.getListFormat),formatDisplayName:At.bind(null,n,r.getDisplayNames)})}function Bt(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Mt(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=He(o)?(n=o,function(e){return n(c.Children.toArray(e))}):o,t}),{}):e}var kt=function(e,t,r,n){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Mt(n),u=ht.apply(void 0,s([e,t,r,i],o,!1));return Array.isArray(u)?c.Children.toArray(u):u},xt=function(e,t){var r=e.defaultRichTextElements,n=i(e,["defaultRichTextElements"]),o=Mt(r),s=Dt(a(a(a({},Xe),n),{defaultRichTextElements:o}),t),c={locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:o};return a(a({},s),{formatMessage:kt.bind(null,c,s.formatters),$t:kt.bind(null,c,s.formatters)})},Ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:xt(Bt(t.props),t.cache),prevConfig:Bt(t.props)},t}return o(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=Bt(e);return Ke(r,o)?null:{intl:xt(o,n),prevConfig:o}},t.prototype.render=function(){return qe(this.state.intl),c.createElement(et,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Xe,t}(c.PureComponent),jt=Ft,Ut=3600;function Gt(e){var t=Math.abs(e);return t<60?"second":t<Ut?"minute":t<86400?"hour":"day"}function Wt(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return Ut;default:return 86400}}var $t=["second","minute","hour"];function Vt(e){return void 0===e&&(e="second"),$t.indexOf(e)>-1}var Zt=function(e){var t=nt(),r=t.formatRelativeTime,n=t.textComponent,o=e.children,a=r(e.value||0,e.unit,i(e,["children","value","unit"]));return"function"==typeof o?o(a):n?c.createElement(n,null,a):c.createElement(c.Fragment,null,a)},qt=function(e){var t=e.value,r=e.unit,n=e.updateIntervalInSeconds,o=i(e,["value","unit","updateIntervalInSeconds"]);d(!n||!(!n||!Vt(r)),"Cannot schedule update with unit longer than hour");var s,u=c.useState(),l=u[0],h=u[1],f=c.useState(0),p=f[0],m=f[1],g=c.useState(0),v=g[0],y=g[1];r===l&&t===p||(m(t||0),h(r),y(Vt(r)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Ut}}(t,r):0)),c.useEffect((function(){function e(){clearTimeout(s)}if(e(),!n||!Vt(r))return e;var t=v-n,o=Gt(t);if("day"===o)return e;var a=Wt(o),i=t-t%a,c=i>=v?i-a:i,u=Math.abs(c-v);return v!==c&&(s=setTimeout((function(){return y(c)}),1e3*u)),e}),[v,n,r]);var b=t||0,E=r;if(Vt(r)&&"number"==typeof v&&n){var w=Wt(E=Gt(v));b=Math.round(v/w)}return c.createElement(Zt,a({value:b,unit:E},o))};qt.displayName="FormattedRelativeTime",qt.defaultProps={value:0,unit:"second"};var Xt=qt,Kt=function(e){var t=nt(),r=t.formatPlural,n=t.textComponent,o=e.value,a=e.other,i=e.children,s=e[r(o,e)]||a;return"function"==typeof i?i(s):n?c.createElement(n,null,s):s};Kt.defaultProps={type:"cardinal"},Kt.displayName="FormattedPlural";var Jt=Kt;function Qt(e){var t=nt(),r=t.formatMessage,n=t.textComponent,o=void 0===n?c.Fragment:n,a=e.id,i=e.description,s=e.defaultMessage,u=e.values,l=e.children,h=e.tagName,f=void 0===h?o:h,p=r({id:a,description:i,defaultMessage:s},u,{ignoreTag:e.ignoreTag});return"function"==typeof l?l(Array.isArray(p)?p:[p]):f?c.createElement(f,null,c.Children.toArray(p)):c.createElement(c.Fragment,null,p)}Qt.displayName="FormattedMessage";var Yt=c.memo(Qt,(function(e,t){var r=e.values,n=i(e,["values"]),o=t.values,a=i(t,["values"]);return Ke(o,r)&&Ke(n,a)}));Yt.displayName="MemoizedFormattedMessage";var zt=Yt,er=function(e){var t=nt(),r=e.from,n=e.to,o=e.children,a=i(e,["from","to","children"]),s=t.formatDateTimeRange(r,n,a);if("function"==typeof o)return o(s);var u=t.textComponent||c.Fragment;return c.createElement(u,null,s)};er.displayName="FormattedDateTimeRange";var tr=er;function rr(e){return e}function nr(e){return e}var or=st("formatDate"),ar=st("formatTime"),ir=st("formatNumber"),sr=st("formatList"),cr=st("formatDisplayName"),ur=it("formatDate"),lr=it("formatTime")},9921:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case h:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case c:return e;default:return t}}case o:return t}}}function _(e){return w(e)===h}t.AsyncMode=l,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||w(e)===l},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===h||e===s||e===i||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===E||e.$$typeof===v)},t.typeOf=w},9864:function(e,t,r){"use strict";e.exports=r(9921)},9730:function(e,t,r){"use strict";var n=r(7294),o={stream:!0},a=new Map,i=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,r){this._status=e,this._value=t,this._response=r}function h(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var n=(t=e._value).chunks,o=0;o<n.length;o++){var i=a.get(n[o]);if(null!==i)throw i}return n=r(t.id),t="*"===t.name?n:""===t.name?n.__esModule?n.default:n:n[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function f(){return h(v(this,0))}function p(e,t){return new l(3,t,e)}function d(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function m(e,t){if(0===e._status){var r=e._value;e._status=4,e._value=t,d(r)}}function g(e,t){e._chunks.forEach((function(e){m(e,t)}))}function v(e,t){var r=e._chunks,n=r.get(t);return n||(n=new l(0,null,e),r.set(t,n)),n}function y(e){g(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],i=t.indexOf(":",1),s=parseInt(t.substring(1,i),16);switch(i=t.substring(i+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=i,d(e)):t.set(s,new l(1,i,e));break;case"M":o=(t=e._chunks).get(s),i=JSON.parse(i,e._fromJSON);var h=e._bundlerConfig;h=(i=h?h[i.id][i.name]:i).chunks;for(var f=0;f<h.length;f++){var g=h[f];if(void 0===a.get(g)){var v=r.e(g),y=a.set.bind(a,g,null),b=a.set.bind(a,g);v.then(y,b),a.set(g,v)}}o?0===o._status&&(e=o._value,o._status=2,o._value=i,d(e)):t.set(s,new l(2,i,e));break;case"P":e._chunks.set(s,p(e,function(e){return u[e]||(u[e]=n.createServerContext(e,c)),u[e]}(i).Provider));break;case"S":o=JSON.parse(i),e._chunks.set(s,p(e,Symbol.for(o)));break;case"E":t=JSON.parse(i),(o=Error(t.message)).stack=t.stack,(i=(t=e._chunks).get(s))?m(i,o):t.set(s,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function E(e){return function(t,r){return"string"==typeof r?function(e,t,r){switch(r[0]){case"$":return"$"===r?i:"$"===r[1]||"@"===r[1]?r.substring(1):h(e=v(e,parseInt(r.substring(1),16)));case"@":return e=v(e,parseInt(r.substring(1),16)),{$$typeof:s,_payload:e,_init:h}}return r}(e,0,r):"object"==typeof r&&null!==r?r[0]===i?{$$typeof:i,type:r[1],key:r[2],ref:null,props:r[3],_owner:null}:r:r}}function w(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:f,_partialRow:"",_stringDecoder:t})._fromJSON=E(e),e}function _(e,t){function r(t){g(e,t)}var n=t.getReader();n.read().then((function t(a){var i=a.value;if(!a.done){a=i,i=e._stringDecoder;for(var s=a.indexOf(10);-1<s;){var c=e._partialRow,u=a.subarray(0,s);u=i.decode(u),b(e,c+u),e._partialRow="",s=(a=a.subarray(s+1)).indexOf(10)}return e._partialRow+=i.decode(a,o),n.read().then(t,r)}y(e)}),r)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return _(t=w(t&&t.moduleMap?t.moduleMap:null),e),t}},904:function(e,t,r){"use strict";e.exports=r(9730)},6115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,r){var n=r(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2911:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.5":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},1721:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:function(){return o}})},5785:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,{Z:function(){return o}})},7896:function(e,t,r){"use strict";var n;r.r(t),r.d(t,{BaseContext:function(){return g},Link:function(){return q},Location:function(){return Y},LocationContext:function(){return v},LocationProvider:function(){return Q},Match:function(){return ee},Redirect:function(){return T},Router:function(){return se},ServerLocation:function(){return z},createHistory:function(){return l},createMemorySource:function(){return h},globalHistory:function(){return p},insertParams:function(){return H},isRedirect:function(){return w},match:function(){return C},navigate:function(){return d},pick:function(){return R},redirectTo:function(){return _},resolve:function(){return N},shallowCompare:function(){return F},startsWith:function(){return S},useBaseContext:function(){return y},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return fe},useNavigate:function(){return le},useParams:function(){return he},validateRedirect:function(){return L}});var o=r(7294),a=r(5697),i=r(1143);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}const u=e=>{const{search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&n&&f&&(u=new URL(n).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let r=[],n=u(e),o=!1,a=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){r.push(t);const o=()=>{n=u(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter((e=>e!==t))}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(r){e.location[c?"replace":"assign"](t)}}n=u(e),o=!0;const l=new Promise((e=>a=e));return r.forEach((e=>e({location:n,action:"PUSH"}))),l}}},h=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],a=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return a[n]},pushState(e,t,r){const[i,s=""]=r.split("?");n++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,r){const[i,s=""]=r.split("?");o[n]={pathname:i,search:s},a[n]=e},go(e){const t=n+e;t<0||t>a.length-1||(n=t)}}}},f=!("undefined"==typeof window||!window.document||!window.document.createElement),p=l(f?window:h()),{navigate:d}=p;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function E(e){this.uri=e}const w=e=>e instanceof E,_=e=>{throw new E(e)};function P(e){const{to:t,replace:r=!0,state:n,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=N(t,i);d(H(o,e),{replace:r,state:n})}))}),[]);const s=N(t,i);return a||_(H(s,e)),null}const T=e=>{const t=b(),{baseuri:r}=y();return o.createElement(P,s({},t,{baseuri:r},e))};T.propTypes={from:a.string,to:a.string.isRequired};const S=(e,t)=>e.substr(0,t.length)===t,R=(e,t)=>{let r,n;const[o]=t.split("?"),a=M(o),s=""===a[0],c=B(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const o=c[u].route;if(o.default){n={route:o,params:{},uri:t};continue}const l=M(o.path),h={},f=Math.max(a.length,l.length);let p=0;for(;p<f;p++){const t=l[p],r=a[p];if(I(t)){h[t.slice(1)||"*"]=a.slice(p).map(decodeURIComponent).join("/");break}if(void 0===r){e=!0;break}const n=O.exec(t);if(n&&!s){const e=-1===x.indexOf(n[1]);i(e,`<Router> dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);h[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:h,uri:"/"+a.slice(0,p).join("/")};break}}return r||n||null},C=(e,t)=>R([{path:e}],t),N=(e,t)=>{if(S(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),a=M(r),i=M(o);if(""===a[0])return k(o,n);if(!S(a[0],".")){const e=i.concat(a).join("/");return k(("/"===o?"":"/")+e,n)}const s=i.concat(a),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return k("/"+c.join("/"),n)},H=(e,t)=>{const[r,n=""]=e.split("?");let o="/"+M(r).map((e=>{const r=O.exec(e);return r?t[r[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=k(o,n,i),o},L=(e,t)=>{const r=e=>A(e);return M(e).filter(r).sort().join("/")===M(t).filter(r).sort().join("/")},O=/^:(.+)/,A=e=>O.test(e),I=e=>e&&"*"===e[0],D=(e,t)=>({route:e,score:e.default?0:M(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:A(t)?e+=2:I(t)?e-=5:e+=3,e)),0),index:t}),B=e=>e.map(D).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),M=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),k=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),x=["uri","path"],F=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((r=>t.hasOwnProperty(r)&&e[r]===t[r]))},j=e=>e.replace(/(^\/+|\/+$)/g,""),U=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,U(e));if(i(t.props.path||t.props.default||t.type===T,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==T||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===T&&!L(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===T?t.props.from:t.props.path,n="/"===r?e:`${j(e)}/${j(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${j(n)}/*`:n}},G=["innerRef"],W=["to","state","replace","getProps"],$=["key"];let{forwardRef:V}=n||(n=r.t(o,2));void 0===V&&(V=e=>e);const Z=()=>{},q=V(((e,t)=>{let{innerRef:r}=e,n=c(e,G);const{baseuri:a}=y(),{location:i}=b(),{to:u,state:l,replace:h,getProps:f=Z}=n,p=c(n,W),m=N(u,a),g=encodeURI(m),v=i.pathname===g,E=S(i.pathname,g);return o.createElement("a",s({ref:t||r,"aria-current":v?"page":void 0},p,f({isCurrent:v,isPartiallyCurrent:E,href:m,location:i}),{href:m,onClick:e=>{if(p.onClick&&p.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=h;if("boolean"!=typeof h&&v){const e=c(s({},i.state),$);t=F(s({},l),e)}d(m,{state:l,replace:t})}}}))}));q.displayName="Link",q.propTypes={to:a.string.isRequired};class X extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const K=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function J({children:e}){const[t,r]=o.useState(),n=o.useRef(),a=o.useMemo((()=>({componentDidCatch:n,error:t,setError:r})),[t]);return o.createElement(K.Provider,{value:a},o.createElement(X,{error:t,onError:(e,t)=>{r(e),null==n.current||n.current(e,t)}},e))}J.displayName="ReactUseErrorBoundaryContext";const Q=function(e){var t,r;function n(t){return o.createElement(J,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}((({history:e=p,children:t})=>{const{location:r}=e,[n,a]=o.useState({location:r}),[i]=function(e){const t=o.useContext(K);t.componentDidCatch.current=void 0;const r=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,r]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[n.location]),o.useEffect((()=>{let t=!1;const r=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,r()}}),[]),i){if(!w(i))throw i;d(i.uri,{replace:!0})}return o.createElement(v.Provider,{value:n},"function"==typeof t?t(n):t||null)})),Y=({children:e})=>{const t=b();return t?e(t):o.createElement(Q,null,e)},z=({url:e,children:t})=>{const r=e.indexOf("?");let n,a="";return r>-1?(n=e.substring(0,r),a=e.substring(r)):n=e,o.createElement(v.Provider,{value:{location:{pathname:n,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=y(),{location:n}=b(),o=N(e,r),a=C(o,n.pathname);return t({location:n,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:n,uri:t,location:r}))};let oe=0;const ae=e=>{let{children:t,style:r,component:n="div",uri:a,location:i}=e,u=c(e,re);const l=o.useRef(),h=o.useRef(!0),f=o.useRef(a),p=o.useRef(i.pathname),d=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(h.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==f.current&&(f.current=a,e=!0),i.pathname!==p.current&&(p.current=i.pathname,t=!0),d.current=e||t&&i.pathname===a,d.current&&m()}),[a,i]);const m=o.useCallback((()=>{var e;h.current?h.current=!1:(e=l.current,d.current&&e&&e.focus())}),[]);return o.createElement(n,s({style:s({outline:"none"},r),tabIndex:"-1",ref:l},u),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=y(),r=b();return o.createElement(ce,s({},t,r,e))};function ce(e){const{location:t,primary:r=!0,children:n,basepath:a,component:i="div"}=e,u=c(e,ie),l=o.Children.toArray(n).reduce(((e,t)=>{const r=U(a)(t);return e.concat(r)}),[]),{pathname:h}=t,f=R(l,h);if(f){const{params:e,uri:n,route:c,route:{value:l}}=f,h=c.default?a:c.path.replace(/\*$/,""),p=s({},e,{uri:n,location:t}),d=o.cloneElement(l,p,l.props.children?o.createElement(se,{location:t,primary:r},l.props.children):void 0),m=r?ne:i,v=r?s({uri:n,location:t,component:i},u):u;return o.createElement(g.Provider,{value:{baseuri:n,basepath:h}},o.createElement(m,v,d))}return null}const ue=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},he=()=>{const e=y();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),r=C(e.basepath,t.pathname);return r?r.params:null},fe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=y();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ue(),n=N(e,t.baseuri),o=C(n,r.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},1562:function(e,t,r){"use strict";r.d(t,{cP:function(){return c},rU:function(){return w}});var n=r(5697),o=r(7294),a=r(7896),i=r(4506);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",r="",n="";const o=t.indexOf("#");-1!==o&&(n=t.slice(o),t=t.slice(0,o));const a=t.indexOf("?");return-1!==a&&(r=t.slice(a),t=t.slice(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)},h=()=>"/jkube",f=()=>"/jkube";function p(e,t=h()){var r;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:f())?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const d=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:r,search:n,hash:o}=c(e);return`${(0,i.H)(r,t)}${n}${o}`}const g=(e,t)=>"number"==typeof e?e:l(e)?d(e)?function(e){const t=p(e),r="always";return m(t,r)}(e):function(e,t){if(d(e))return e;const r="always",n=(0,a.resolve)(e,t);return m(n,r)}(e,t):e,v=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];const y={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function b(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(E,s({},e,{_location:t}))))}class E extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(g(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(e),{instance:r,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:i,state:u,replace:h,_location:f}=e,p=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}(e,v),d=g(t,f.pathname);return l(d)?o.createElement(a.Link,s({to:d,state:u,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(d);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=h;const r=encodeURI(d)===f.pathname;"boolean"!=typeof h&&r&&(t=!0),window.___navigate(d,{state:u,replace:t})}return!0}},p)):o.createElement("a",s({href:d},p))}}E.propTypes=s({},y,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const w=o.forwardRef(((e,t)=>o.createElement(b,s({innerRef:t},e))))},3521:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return d},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return f},scriptCallbackCache:function(){return p}});var n=r(7294),o=r(7896);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const i=new Map,s={get:e=>i.get(e)||[],set(e,t){const r=i.get(e)||[];r.push(t),i.set(e,r)},delete(e){i.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const h=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),f=new Set,p=new Map;function d(e){return n.createElement(o.Location,null,(()=>n.createElement(m,e)))}function m(e){const{src:t,strategy:r=u.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let t;switch(r){case u.postHydrate:t=g(e);break;case u.idle:c((()=>{t=g(e)}));break;case u.offMainThread:{const t=y(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}}),[]),r===u.offMainThread){const o=v(e),c=y(e);return"undefined"==typeof window&&s.set(i,c),n.createElement("script",o?a({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":r,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:r,strategy:n=u.postHydrate,onLoad:o,onError:i}=e||{},s=t||r,c=["load","error"],l={load:o,error:i};if(s){for(const e of c)if(null!=l&&l[e]){var h;const t=p.get(s)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var d,m;r.push(null==l?void 0:l[e]),null!=t&&null!=(h=t[e])&&h.event?null==l||null==(d=l[e])||d.call(l,null==t||null==(m=t[e])?void 0:m.event):p.set(s,a({},t,{[e]:{callbacks:r}}))}if(f.has(s))return null}const g=v(e),b=y(e),w=document.createElement("script");t&&(w.id=t),w.dataset.strategy=n;for(const[a,u]of Object.entries(b))w.setAttribute(a,u);g&&(w.textContent=g),r&&(w.src=r);const _={};if(s){for(const e of c){const t=t=>E(t,s,e);w.addEventListener(e,t),_[`${e}Callback`]=t}f.add(s)}return document.body.appendChild(w),{script:w,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function y(e){const t={};for(const[r,n]of Object.entries(e))h.has(r)||(t[r]=n);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function E(e,t,r){const n=p.get(t)||{};for(const a of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;a(e)}p.set(t,{[r]:{event:e}})}}},function(e){e.O(0,[774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-339dc3e41a0dda4b3821.js.map