(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{43861:function(e,t,r){"use strict";r.d(t,{h:function(){return a},Z:function(){return s}});var n=r(67294),o=(0,r(12769).N)()?n.useLayoutEffect:n.useEffect,i=r(73935),a=function(e){var t,r=e.children,a=e.type,s=void 0===a?"reach-portal":a,u=e.containerRef,l=(0,n.useRef)(null),c=(0,n.useRef)(null),d=(t=(0,n.useState)(Object.create(null))[1],(0,n.useCallback)(function(){t(Object.create(null))},[]));return o(function(){if(l.current){var e=l.current.ownerDocument,t=(null==u?void 0:u.current)||e.body;return c.current=null==e?void 0:e.createElement(s),t.appendChild(c.current),d(),function(){c.current&&t&&t.removeChild(c.current)}}},[s,d,u]),c.current?(0,i.createPortal)(r,c.current):(0,n.createElement)("span",{ref:l})},s=a},12769:function(e,t,r){"use strict";function n(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}r.d(t,{N:function(){return n}})},78831:function(e,t,r){"use strict";r.d(t,{HK:function(){return a},gP:function(){return u}});var n=r(67294);let o={prefix:String(Math.round(1e10*Math.random())),current:0},i=n.createContext(o);function a(e){let t=(0,n.useContext)(i),r=(0,n.useMemo)(()=>({prefix:t===o?"":t.prefix+"-"+ ++t.current,current:0}),[t]);return n.createElement(i.Provider,{value:r},e.children)}let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function u(e){let t=(0,n.useContext)(i);return t!==o||s||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)(()=>e||"react-aria"+t.prefix+"-"+ ++t.current,[e])}},83952:function(e,t,r){"use strict";r.d(t,{Me:function(){return s}});var n=r(78831),o=r(67294);let i="undefined"!=typeof window?o.useLayoutEffect:()=>{},a=new Map;function s(e){let t=(0,o.useRef)(!0);t.current=!0;let[r,s]=(0,o.useState)(e),u=(0,o.useRef)(null),l=(0,n.gP)(r),c=e=>{t.current?u.current=e:s(e)};return a.set(l,c),i(()=>{t.current=!1},[c]),i(()=>()=>{a.delete(l)},[l]),(0,o.useEffect)(()=>{let e=u.current;e&&(s(e),u.current=null)},[s,c]),l}let u=new Map,l=new Set;function c(){if("undefined"==typeof window)return;let e=t=>{let r=u.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",e),u.delete(t.target)),0===u.size)){for(let e of l)e();l.clear()}};document.body.addEventListener("transitionrun",t=>{let r=u.get(t.target);r||(r=new Set,u.set(t.target,r),t.target.addEventListener("transitioncancel",e)),r.add(t.propertyName)}),document.body.addEventListener("transitionend",e)}"undefined"!=typeof document&&("loading"!==document.readyState?c():document.addEventListener("DOMContentLoaded",c)),"undefined"!=typeof window&&window.visualViewport},3471:function(e,t,r){/**
 * react-query
 *
 * Copyright (c) TanStack
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */!function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(t);/**
   * query-core
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */class o{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(t=>t!==e),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}let i="undefined"==typeof window;function a(){}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function u(e,t){return e.filter(e=>-1===t.indexOf(e))}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t,r){return j(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function d(e,t,r){return j(e)?"function"==typeof t?{...r,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function f(e,t,r){return j(e)?[{...t,queryKey:e},r]:[e||{},t]}function h(e,t,r){return j(e)?[{...t,mutationKey:e},r]:[e||{},t]}function p(e,t){let{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(j(a)){if(n){if(t.queryHash!==m(a,t.options))return!1}else{if(!y(t.queryKey,a))return!1}}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===o||o===t.state.fetchStatus)&&!(i&&!i(t))}function v(e,t){let{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(j(i)){if(!t.options.mutationKey)return!1;if(r){if(g(t.options.mutationKey)!==g(i))return!1}else{if(!y(t.options.mutationKey,i))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&!(o&&!o(t))}function m(e,t){return((null==t?void 0:t.queryKeyHashFn)||g)(e)}function g(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function y(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some(r=>!y(e[r],t[r]))}function b(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function w(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!_(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!_(r)&&!!r.hasOwnProperty("isPrototypeOf")}function _(e){return"[object Object]"===Object.prototype.toString.call(e)}function j(e){return Array.isArray(e)}function E(e){return new Promise(t=>{setTimeout(t,e)})}function O(e){E(0).then(e)}function S(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=w(t)&&w(r);if(n||x(t)&&x(r)){let o=n?t.length:Object.keys(t).length,i=n?r:Object.keys(r),a=i.length,s=n?[]:{},u=0;for(let o=0;o<a;o++){let a=n?o:i[o];s[a]=e(t[a],r[a]),s[a]===t[a]&&u++}return o===a&&u===o?t:s}return r}(e,t):t}let C=new class extends o{constructor(){super(),this.setup=e=>{if(!i&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},M=new class extends o{constructor(){super(),this.setup=e=>{if(!i&&window.addEventListener){let t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach(e=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function k(e){return Math.min(1e3*2**e,3e4)}function R(e){return"online"!==(null!=e?e:"online")||M.isOnline()}class P{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function A(e){return e instanceof P}function T(e){let t,r,n,o=!1,i=0,a=!1,s=new Promise((e,t)=>{r=e,n=t}),u=()=>!C.isFocused()||"always"!==e.networkMode&&!M.isOnline(),l=n=>{a||(a=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},c=r=>{a||(a=!0,null==e.onError||e.onError(r),null==t||t(),n(r))},d=()=>new Promise(r=>{t=e=>{if(a||!u())return r(e)},null==e.onPause||e.onPause()}).then(()=>{t=void 0,a||null==e.onContinue||e.onContinue()}),f=()=>{let t;if(!a){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch(t=>{var r,n;if(a)return;let s=null!=(r=e.retry)?r:3,l=null!=(n=e.retryDelay)?n:k,h="function"==typeof l?l(i,t):l,p=!0===s||"number"==typeof s&&i<s||"function"==typeof s&&s(i,t);!o&&p?(i++,null==e.onFail||e.onFail(i,t),E(h).then(()=>{if(u())return d()}).then(()=>{o?c(t):f()})):c(t)})}};return R(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{a||(c(new P(t)),null==e.abort||e.abort())},continue:()=>{null==t||t()},cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1}}}let L=console,I=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},o=n=>{t?e.push(n):O(()=>{r(n)})},i=()=>{let t=e;e=[],t.length&&O(()=>{n(()=>{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||i()}return r},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e}}}();class N{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),s(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:i?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class D extends N{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||L,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,n=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.meta=e.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.meta=null==e?void 0:e.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=S(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(a).catch(a):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!l(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,n,o,i;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);let a=function(){if("function"==typeof AbortController)return new AbortController}(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};u(s);let l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),meta:this.meta};u(l),null==(r=this.options.behavior)||r.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=l.fetchOptions)?void 0:n.meta))&&this.dispatch({type:"fetch",meta:null==(i=l.fetchOptions)?void 0:i.meta});let c=e=>{var t,r;A(e)&&e.silent||this.dispatch({type:"error",error:e}),A(e)||null==(t=(r=this.cache.config).onError)||t.call(r,e,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=T({fn:l.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,r;void 0!==e?(this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):c(Error("Query data cannot be undefined"))},onError:c,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:t.fetchFailureCount+1};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:R(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":let o=e.error;return A(o)&&o.revert&&this.revertState?{...this.revertState}:{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),I.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}class F extends o{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var n;let o=t.queryKey,i=null!=(n=t.queryHash)?n:m(o,t),a=this.get(i);return a||(a=new D({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){I.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=f(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>p(r,e))}findAll(e,t){let[r]=f(e,t);return Object.keys(r).length>0?this.queries.filter(e=>p(r,e)):this.queries}notify(e){I.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){I.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){I.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class U extends N{constructor(e){super(),this.options={...e.defaultOptions,...e.options},this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||L,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){var e,t,r,n,o,i,a,s,u,l,c,d,f,h,p,v;let m="loading"===this.state.status;try{if(!m){this.dispatch({type:"loading",variables:this.options.variables}),null==(a=(s=this.mutationCache.config).onMutate)||a.call(s,this.state.variables,this);let e=await (null==(u=(l=this.options).onMutate)?void 0:u.call(l,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let c=await (()=>{var e;return this.retryer=T({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return null==(e=(t=this.mutationCache.config).onSuccess)||e.call(t,c,this.state.variables,this.state.context,this),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,c,this.state.variables,this.state.context)),await (null==(o=(i=this.options).onSettled)?void 0:o.call(i,c,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:c}),c}catch(e){try{throw null==(c=(d=this.mutationCache.config).onError)||c.call(d,e,this.state.variables,this.state.context,this),await (null==(f=(h=this.options).onError)?void 0:f.call(h,e,this.state.variables,this.state.context)),await (null==(p=(v=this.options).onSettled)?void 0:p.call(v,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:t.failureCount+1};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,error:null,isPaused:!R(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),I.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}class z extends o{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new U({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){I.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>v(e,t))}findAll(e){return this.mutations.filter(t=>v(e,t))}notify(e){I.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.mutations.filter(e=>e.state.isPaused);return I.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(a)),Promise.resolve()))}}function V(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a;let s;let u=null==(t=e.fetchOptions)||null==(r=t.meta)?void 0:r.refetchPage,l=null==(n=e.fetchOptions)||null==(o=n.meta)?void 0:o.fetchMore,c=null==l?void 0:l.pageParam,d="forward"===(null==l?void 0:l.direction),f="backward"===(null==l?void 0:l.direction),h=(null==(i=e.state.data)?void 0:i.pages)||[],p=(null==(a=e.state.data)?void 0:a.pageParams)||[],v=p,m=!1,g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(e,t,r,n)=>(v=n?[t,...v]:[...v,t],n?[r,...e]:[...e,r]),b=(t,r,n,o)=>{if(m)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let i={queryKey:e.queryKey,pageParam:n,meta:e.meta};return Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,r;return null!=(t=e.signal)&&t.aborted?m=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{m=!0}),e.signal}}),Promise.resolve(g(i)).then(e=>y(t,n,e,o))};if(h.length){if(d){let t=void 0!==c,r=t?c:q(e.options,h);s=b(h,t,r)}else if(f){let t=void 0!==c,r=t?c:B(e.options,h);s=b(h,t,r,!0)}else{v=[];let t=void 0===e.options.getNextPageParam;s=!u||!h[0]||u(h[0],0,h)?b([],t,p[0]):Promise.resolve(y([],p[0],h[0]));for(let r=1;r<h.length;r++)s=s.then(n=>{if(!u||!h[r]||u(h[r],r,h)){let o=t?p[r]:q(e.options,n);return b(n,t,o)}return Promise.resolve(y(n,p[r],h[r]))})}}else s=b([]);return s.then(e=>({pages:e,pageParams:v}))}}}}function q(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function B(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}class H extends o{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Q(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return K(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return K(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),b(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let o=this.hasListeners();o&&Z(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),o&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let i=this.computeRefetchInterval();o&&(this.currentQuery!==n||this.options.enabled!==r.enabled||i!==this.currentRefetchInterval)&&this.updateRefetchInterval(i)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(a)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),i||this.currentResult.isStale||!s(this.options.staleTime))return;let e=l(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!i&&!1!==this.options.enabled&&s(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||C.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r=this.currentQuery,n=this.options,o=this.currentResult,i=this.currentResultState,a=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,l=s?this.currentResult:this.previousQueryResult,{state:c}=e,d,{dataUpdatedAt:f,error:h,errorUpdatedAt:p,fetchStatus:v,status:m}=c,g=!1,y=!1;if(t._optimisticResults){let o=this.hasListeners(),i=!o&&Q(e,t),a=o&&Z(e,r,t,n);(i||a)&&(v=R(e.options.networkMode)?"fetching":"paused",f||(m="loading")),"isRestoring"===t._optimisticResults&&(v="idle")}if(t.keepPreviousData&&!c.dataUpdateCount&&null!=l&&l.isSuccess&&"error"!==m)d=l.data,f=l.dataUpdatedAt,m=l.status,g=!0;else if(t.select&&void 0!==c.data){if(o&&c.data===(null==i?void 0:i.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(c.data),d=S(null==o?void 0:o.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}}else d=c.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===m){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==a?void 0:a.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),e=S(null==o?void 0:o.data,e,t),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(m="success",d=e,y=!0)}this.selectError&&(h=this.selectError,d=this.selectResult,p=Date.now(),m="error");let b="fetching"===v;return{status:m,fetchStatus:v,isLoading:"loading"===m,isSuccess:"success"===m,isError:"error"===m,data:d,dataUpdatedAt:f,error:h,errorUpdatedAt:p,failureCount:c.fetchFailureCount,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==m,isLoadingError:"error"===m&&0===c.dataUpdatedAt,isPaused:"paused"===v,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===m&&0!==c.dataUpdatedAt,isStale:W(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,b(r,t))return;this.currentResult=r;let n={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;let r=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&r.has(e))})()&&(n.listeners=!0),this.notify({...n,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||A(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){I.batch(()=>{var t,r,n,o,i,a,s,u;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(o=this.options).onSettled)||n.call(o,this.currentResult.data,null)):e.onError&&(null==(i=(a=this.options).onError)||i.call(a,this.currentResult.error),null==(s=(u=this.options).onSettled)||s.call(u,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(e=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function Q(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&K(e,t,t.refetchOnMount)}function K(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&W(e,t)}return!1}function Z(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&W(e,r)}function W(e,t){return e.isStaleByTime(t.staleTime)}class G extends o{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){1===this.listeners.length&&this.observers.forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})})}onUnsubscribe(){this.listeners.length||this.destroy()}destroy(){this.listeners=[],this.observers.forEach(e=>{e.destroy()})}setQueries(e,t){this.queries=e,I.batch(()=>{let e=this.observers,r=this.findMatchingObservers(this.queries);r.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions,t));let n=r.map(e=>e.observer),o=Object.fromEntries(n.map(e=>[e.options.queryHash,e])),i=n.map(e=>e.getCurrentResult()),a=n.some((t,r)=>t!==e[r]);(e.length!==n.length||a)&&(this.observers=n,this.observersMap=o,this.result=i,this.hasListeners()&&(u(e,n).forEach(e=>{e.destroy()}),u(n,e).forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})}),this.notify()))})}getCurrentResult(){return this.result}getOptimisticResult(e){return this.findMatchingObservers(e).map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions))}findMatchingObservers(e){let t=this.observers,r=e.map(e=>this.client.defaultQueryOptions(e)),n=r.flatMap(e=>{let r=t.find(t=>t.options.queryHash===e.queryHash);return null!=r?[{defaultedQueryOptions:e,observer:r}]:[]}),o=n.map(e=>e.defaultedQueryOptions.queryHash),i=r.filter(e=>!o.includes(e.queryHash)),a=t.filter(e=>!n.some(t=>t.observer===e)),s=e=>{let t=this.client.defaultQueryOptions(e),r=this.observersMap[t.queryHash];return null!=r?r:new H(this.client,t)},u=i.map((e,t)=>{if(e.keepPreviousData){let r=a[t];if(void 0!==r)return{defaultedQueryOptions:e,observer:r}}return{defaultedQueryOptions:e,observer:s(e)}});return n.concat(u).sort((e,t)=>r.indexOf(e.defaultedQueryOptions)-r.indexOf(t.defaultedQueryOptions))}onUpdate(e,t){let r=this.observers.indexOf(e);-1!==r&&(this.result=function(e,t,r){let n=e.slice(0);return n[t]=r,n}(this.result,r,t),this.notify())}notify(){I.batch(()=>{this.listeners.forEach(e=>{e(this.result)})})}}class $ extends H{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:V()},t)}getOptimisticResult(e){return e.behavior=V(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var r,n,o,i,a,s;let{state:u}=e;return{...super.createResult(e,t),fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:function(e,t){if(e.getNextPageParam&&Array.isArray(t)){let r=q(e,t);return null!=r&&!1!==r}}(t,null==(r=u.data)?void 0:r.pages),hasPreviousPage:function(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){let r=B(e,t);return null!=r&&!1!==r}}(t,null==(n=u.data)?void 0:n.pages),isFetchingNextPage:"fetching"===u.fetchStatus&&"forward"===(null==(o=u.fetchMeta)||null==(i=o.fetchMore)?void 0:i.direction),isFetchingPreviousPage:"fetching"===u.fetchStatus&&"backward"===(null==(a=u.fetchMeta)||null==(s=a.fetchMore)?void 0:s.direction)}}}class X extends o{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.client.defaultMutationOptions(e),b(t,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this})}onUnsubscribe(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){I.batch(()=>{var t,r,n,o,i,a,s,u;this.mutateOptions&&(e.onSuccess?(null==(t=(r=this.mutateOptions).onSuccess)||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(n=(o=this.mutateOptions).onSettled)||n.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(i=(a=this.mutateOptions).onError)||i.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(u=this.mutateOptions).onSettled)||s.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))),e.listeners&&this.listeners.forEach(e=>{e(this.currentResult)})})}}function Y(e){return e.state.isPaused}function J(e){return"success"===e.state.status}function ee(e,t,r){if("object"!=typeof t||null===t)return;let n=e.getMutationCache(),o=e.getQueryCache(),i=t.mutations||[],a=t.queries||[];i.forEach(t=>{var o;n.build(e,{...null==r||null==(o=r.defaultOptions)?void 0:o.mutations,mutationKey:t.mutationKey},t.state)}),a.forEach(t=>{var n;let i=o.get(t.queryHash);i?i.state.dataUpdatedAt<t.state.dataUpdatedAt&&i.setState(t.state):o.build(e,{...null==r||null==(n=r.defaultOptions)?void 0:n.queries,queryKey:t.queryKey,queryHash:t.queryHash},t.state)})}let et=n.createContext(void 0),er=n.createContext(!1);function en(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=et),window.ReactQueryClientContext):et)}let eo=({context:e}={})=>{let t=n.useContext(en(e,n.useContext(er)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},ei=n.createContext(!1),ea=()=>n.useContext(ei),es=ei.Provider;function eu(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}let el=n.createContext(eu()),ec=()=>n.useContext(el);function ed(e,t){return"function"==typeof e?e(...t):!!e}function ef(e,t){let o=eo({context:e.context}),i=ea(),a=ec(),s=o.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",s.onError&&(s.onError=I.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=I.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=I.batchCalls(s.onSettled)),s.suspense&&"number"!=typeof s.staleTime&&(s.staleTime=1e3),(s.suspense||s.useErrorBoundary)&&(a.isReset()||(s.retryOnMount=!1));let[u]=n.useState(()=>new t(o,s)),l=u.getOptimisticResult(s);if(r.useSyncExternalStore(n.useCallback(e=>i?()=>{}:u.subscribe(I.batchCalls(e)),[u,i]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),n.useEffect(()=>{a.clearReset()},[a]),n.useEffect(()=>{u.setOptions(s,{listeners:!1})},[s,u]),s.suspense&&l.isLoading&&l.isFetching&&!i)throw u.fetchOptimistic(s).then(({data:e})=>{null==s.onSuccess||s.onSuccess(e),null==s.onSettled||s.onSettled(e,null)}).catch(e=>{a.clearReset(),null==s.onError||s.onError(e),null==s.onSettled||s.onSettled(void 0,e)});if(l.isError&&!a.isReset()&&!l.isFetching&&ed(s.useErrorBoundary,[l.error,u.getCurrentQuery()]))throw l.error;return s.notifyOnChangeProps?l:u.trackResult(l)}function eh(e,t={}){let r=eo({context:t.context}),o=n.useRef(t);o.current=t,n.useMemo(()=>{e&&ee(r,e,o.current)},[r,e])}function ep(){}e.CancelledError=P,e.Hydrate=({children:e,options:t,state:r})=>(eh(r,t),e),e.InfiniteQueryObserver=$,e.IsRestoringProvider=es,e.MutationCache=z,e.MutationObserver=X,e.QueriesObserver=G,e.QueryCache=F,e.QueryClient=class{constructor(e={}){this.queryCache=e.queryCache||new F,this.mutationCache=e.mutationCache||new z,this.logger=e.logger||L,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=C.subscribe(()=>{C.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=M.subscribe(()=>{M.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}isFetching(e,t){let[r]=f(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){var n;let o=this.queryCache.find(e),i=(n=null==o?void 0:o.state.data,"function"==typeof t?t(n):t);if(void 0===i)return;let a=c(e),s=this.defaultQueryOptions(a);return this.queryCache.build(this,s).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return I.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=f(e,t),n=this.queryCache;I.batch(()=>{n.findAll(r).forEach(e=>{n.remove(e)})})}resetQueries(e,t,r){let[n,o]=f(e,t,r),i=this.queryCache,a={type:"active",...n};return I.batch(()=>(i.findAll(n).forEach(e=>{e.reset()}),this.refetchQueries(a,o)))}cancelQueries(e,t,r){let[n,o={}]=f(e,t,r);return void 0===o.revert&&(o.revert=!0),Promise.all(I.batch(()=>this.queryCache.findAll(n).map(e=>e.cancel(o)))).then(a).catch(a)}invalidateQueries(e,t,r){let[n,o]=f(e,t,r);return I.batch(()=>{var e,t;if(this.queryCache.findAll(n).forEach(e=>{e.invalidate()}),"none"===n.refetchType)return Promise.resolve();let r={...n,type:null!=(e=null!=(t=n.refetchType)?t:n.type)?e:"active"};return this.refetchQueries(r,o)})}refetchQueries(e,t,r){let[n,o]=f(e,t,r),i=Promise.all(I.batch(()=>this.queryCache.findAll(n).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:n.refetchPage}})}))).then(a);return null!=o&&o.throwOnError||(i=i.catch(a)),i}fetchQuery(e,t,r){let n=c(e,t,r),o=this.defaultQueryOptions(n);void 0===o.retry&&(o.retry=!1);let i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(a).catch(a)}fetchInfiniteQuery(e,t,r){let n=c(e,t,r);return n.behavior=V(),this.fetchQuery(n)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(a).catch(a)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>g(e)===g(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>y(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>g(e)===g(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>y(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=m(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}},e.QueryClientProvider=({client:e,children:t,context:r,contextSharing:o=!1})=>{n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let i=en(r,o);return n.createElement(er.Provider,{value:!r&&o},n.createElement(i.Provider,{value:e},t))},e.QueryErrorResetBoundary=({children:e})=>{let[t]=n.useState(()=>eu());return n.createElement(el.Provider,{value:t},"function"==typeof e?e(t):e)},e.QueryObserver=H,e.defaultContext=et,e.dehydrate=function(e,t={}){let r=[],n=[];if(!1!==t.dehydrateMutations){let n=t.shouldDehydrateMutation||Y;e.getMutationCache().getAll().forEach(e=>{n(e)&&r.push({mutationKey:e.options.mutationKey,state:e.state})})}if(!1!==t.dehydrateQueries){let r=t.shouldDehydrateQuery||J;e.getQueryCache().getAll().forEach(e=>{r(e)&&n.push({state:e.state,queryKey:e.queryKey,queryHash:e.queryHash})})}return{mutations:r,queries:n}},e.focusManager=C,e.hashQueryKey=g,e.hydrate=ee,e.isCancelledError=A,e.isError=function(e){return e instanceof Error},e.notifyManager=I,e.onlineManager=M,e.parseFilterArgs=f,e.parseMutationArgs=d,e.parseMutationFilterArgs=h,e.parseQueryArgs=c,e.useHydrate=eh,e.useInfiniteQuery=function(e,t,r){return ef(c(e,t,r),$)},e.useIsFetching=function(e,t,o){let[i,a={}]=f(e,t,o),s=eo({context:a.context}),u=s.getQueryCache();return r.useSyncExternalStore(n.useCallback(e=>u.subscribe(I.batchCalls(e)),[u]),()=>s.isFetching(i),()=>s.isFetching(i))},e.useIsMutating=function(e,t,o){let[i,a={}]=h(e,t,o),s=eo({context:a.context}),u=s.getMutationCache();return r.useSyncExternalStore(n.useCallback(e=>u.subscribe(I.batchCalls(e)),[u]),()=>s.isMutating(i),()=>s.isMutating(i))},e.useIsRestoring=ea,e.useMutation=function(e,t,o){let i=d(e,t,o),a=eo({context:i.context}),[s]=n.useState(()=>new X(a,i));n.useEffect(()=>{s.setOptions(i)},[s,i]);let u=r.useSyncExternalStore(n.useCallback(e=>s.subscribe(I.batchCalls(e)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),l=n.useCallback((e,t)=>{s.mutate(e,t).catch(ep)},[s]);if(u.error&&ed(s.options.useErrorBoundary,[u.error]))throw u.error;return{...u,mutate:l,mutateAsync:u.mutate}},e.useQueries=function({queries:e,context:t}){let o=eo({context:t}),i=ea(),a=n.useMemo(()=>e.map(e=>{let t=o.defaultQueryOptions(e);return t._optimisticResults=i?"isRestoring":"optimistic",t}),[e,o,i]),[s]=n.useState(()=>new G(o,a)),u=s.getOptimisticResult(a);return r.useSyncExternalStore(n.useCallback(e=>i?()=>{}:s.subscribe(I.batchCalls(e)),[s,i]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),n.useEffect(()=>{s.setQueries(a,{listeners:!1})},[a,s]),u},e.useQuery=function(e,t,r){return ef(c(e,t,r),H)},e.useQueryClient=eo,e.useQueryErrorResetBoundary=ec,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(67294),r(61688))},44020:function(e){"use strict";var t="%[a-f0-9]{2}",r=RegExp(t,"gi"),n=RegExp("("+t+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},o=n.exec(e);o;){try{t[o[0]]=decodeURIComponent(o[0])}catch(e){var i=function(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=(function e(t,r){try{return decodeURIComponent(t.join(""))}catch(e){}if(1===t.length)return t;r=r||1;var n=t.slice(0,r),o=t.slice(r);return Array.prototype.concat.call([],e(n),e(o))})(t,n).join("")).match(r);return e}}(o[0]);i!==o[0]&&(t[o[0]]=i)}o=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var u=a[s];e=e.replace(RegExp(u,"g"),t[u])}return e}(e)}}},92806:function(e){"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var a=n[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},36808:function(e,t,r){var n,o,i;void 0!==(o="function"==typeof(n=i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function o(){}function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(new Date*1+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var u in i)i[u]&&(s+="; "+u,!0!==i[u]&&(s+="="+i[u].split(";")[0]));return document.cookie=t+"="+r+s}}function a(e,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),u=s.slice(1).join("=");r||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var l=t(s[0]);if(u=(n.read||n)(u,l)||t(u),r)try{u=JSON.parse(u)}catch(e){}if(o[l]=u,e===l)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,r){i(t,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}(function(){})})?n.call(t,r,t,e):n)&&(e.exports=o),e.exports=i()},29548:function(e,t,r){"use strict";var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastChannel=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"nextauth.message";return{receive:function(t){var r=function(r){if(r.key===e){var n,o=JSON.parse(null!==(n=r.newValue)&&void 0!==n?n:"{}");(null==o?void 0:o.event)==="session"&&null!=o&&o.data&&t(o)}};return window.addEventListener("storage",r),function(){return window.removeEventListener("storage",r)}},post:function(t){if("undefined"!=typeof window)try{localStorage.setItem(e,JSON.stringify(u(u({},t),{},{timestamp:d()})))}catch(e){}}}},t.apiBaseUrl=c,t.fetchData=function(e,t,r){return l.apply(this,arguments)},t.now=d;var o=n(r(64687)),i=n(r(38416)),a=n(r(17156));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(){return(l=(0,a.default)(o.default.mark(function e(t,r,n){var i,a,s,l,d,f,h,p,v,m=arguments;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(i=m.length>3&&void 0!==m[3]?m[3]:{}).ctx,l=void 0===(s=i.req)?null==a?void 0:a.req:s,d="".concat(c(r),"/").concat(t),e.prev=2,h={headers:u({"Content-Type":"application/json"},null!=l&&null!==(f=l.headers)&&void 0!==f&&f.cookie?{cookie:l.headers.cookie}:{})},null!=l&&l.body&&(h.body=JSON.stringify(l.body),h.method="POST"),e.next=7,fetch(d,h);case 7:return p=e.sent,e.next=10,p.json();case 10:if(v=e.sent,p.ok){e.next=13;break}throw v;case 13:return e.abrupt("return",Object.keys(v).length>0?v:null);case 16:return e.prev=16,e.t0=e.catch(2),n.error("CLIENT_FETCH_ERROR",{error:e.t0,url:d}),e.abrupt("return",null);case 20:case"end":return e.stop()}},e,null,[[2,16]])}))).apply(this,arguments)}function c(e){return"undefined"==typeof window?"".concat(e.baseUrlServer).concat(e.basePathServer):e.basePath}function d(){return Math.floor(Date.now()/1e3)}},36925:function(e,t,r){"use strict";var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedStrategy=t.UnknownError=t.OAuthCallbackError=t.MissingSecret=t.MissingAuthorize=t.MissingAdapterMethods=t.MissingAdapter=t.MissingAPIRoute=t.InvalidCallbackUrl=t.AccountNotLinkedError=void 0,t.adapterErrorHandler=function(e,t){if(e)return Object.keys(e).reduce(function(r,n){return r[n]=(0,i.default)(o.default.mark(function r(){var i,a,s,u,l,c=arguments;return o.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:for(r.prev=0,a=Array(i=c.length),s=0;s<i;s++)a[s]=c[s];return t.debug("adapter_".concat(n),{args:a}),u=e[n],r.next=6,u.apply(void 0,a);case 6:return r.abrupt("return",r.sent);case 9:throw r.prev=9,r.t0=r.catch(0),t.error("adapter_error_".concat(n),r.t0),(l=new p(r.t0)).name="".concat(O(n),"Error"),l;case 15:case"end":return r.stop()}},r,null,[[0,9]])})),r},{})},t.capitalize=O,t.eventsErrorHandler=function(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=(0,i.default)(o.default.mark(function r(){var i,a=arguments;return o.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,i=e[n],r.next=4,i.apply(void 0,a);case 4:return r.abrupt("return",r.sent);case 7:r.prev=7,r.t0=r.catch(0),t.error("".concat(E(n),"_EVENT_ERROR"),r.t0);case 10:case"end":return r.stop()}},r,null,[[0,7]])})),r},{})},t.upperSnake=E;var o=n(r(64687)),i=n(r(17156)),a=n(r(66115)),s=n(r(38416)),u=n(r(56690)),l=n(r(89728)),c=n(r(61655)),d=n(r(94993)),f=n(r(73808));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=(0,f.default)(e);return r=t?Reflect.construct(n,arguments,(0,f.default)(this).constructor):n.apply(this,arguments),(0,d.default)(this,r)}}var p=function(e){(0,c.default)(r,e);var t=h(r);function r(e){var n,o;return(0,u.default)(this,r),(o=t.call(this,null!==(n=null==e?void 0:e.message)&&void 0!==n?n:e)).name="UnknownError",o.code=e.code,e instanceof Error&&(o.stack=e.stack),o}return(0,l.default)(r,[{key:"toJSON",value:function(){return{name:this.name,message:this.message,stack:this.stack}}}]),r}((0,n(r(33496)).default)(Error));t.UnknownError=p;var v=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","OAuthCallbackError"),e}return(0,l.default)(r)}(p);t.OAuthCallbackError=v;var m=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","AccountNotLinkedError"),e}return(0,l.default)(r)}(p);t.AccountNotLinkedError=m;var g=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","MissingAPIRouteError"),(0,s.default)((0,a.default)(e),"code","MISSING_NEXTAUTH_API_ROUTE_ERROR"),e}return(0,l.default)(r)}(p);t.MissingAPIRoute=g;var y=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","MissingSecretError"),(0,s.default)((0,a.default)(e),"code","NO_SECRET"),e}return(0,l.default)(r)}(p);t.MissingSecret=y;var b=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","MissingAuthorizeError"),(0,s.default)((0,a.default)(e),"code","CALLBACK_CREDENTIALS_HANDLER_ERROR"),e}return(0,l.default)(r)}(p);t.MissingAuthorize=b;var w=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","MissingAdapterError"),(0,s.default)((0,a.default)(e),"code","EMAIL_REQUIRES_ADAPTER_ERROR"),e}return(0,l.default)(r)}(p);t.MissingAdapter=w;var x=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","MissingAdapterMethodsError"),(0,s.default)((0,a.default)(e),"code","MISSING_ADAPTER_METHODS_ERROR"),e}return(0,l.default)(r)}(p);t.MissingAdapterMethods=x;var _=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","UnsupportedStrategyError"),(0,s.default)((0,a.default)(e),"code","CALLBACK_CREDENTIALS_JWT_ERROR"),e}return(0,l.default)(r)}(p);t.UnsupportedStrategy=_;var j=function(e){(0,c.default)(r,e);var t=h(r);function r(){var e;(0,u.default)(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,s.default)((0,a.default)(e),"name","InvalidCallbackUrl"),(0,s.default)((0,a.default)(e),"code","INVALID_CALLBACK_URL_ERROR"),e}return(0,l.default)(r)}(p);function E(e){return e.replace(/([A-Z])/g,"_$1").toUpperCase()}function O(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1))}t.InvalidCallbackUrl=j},33299:function(e,t,r){"use strict";var n,o,i,a,s,u=r(34155),l=r(64836),c=r(18698);Object.defineProperty(t,"__esModule",{value:!0});var d={SessionContext:!0,useSession:!0,getSession:!0,getCsrfToken:!0,getProviders:!0,signIn:!0,signOut:!0,SessionProvider:!0};t.SessionContext=void 0,t.SessionProvider=function(e){if(!k)throw Error("React Context is unavailable in Server Components");var t,r,n,o,i,a,s=e.children,u=e.basePath,l=e.refetchInterval,c=e.refetchWhenOffline;u&&(S.basePath=u);var d=void 0!==e.session;S._lastSync=d?(0,b.now)():0;var h=m.useState(function(){return d&&(S._session=e.session),e.session}),g=(0,v.default)(h,2),y=g[0],x=g[1],_=m.useState(!d),j=(0,v.default)(_,2),E=j[0],O=j[1];m.useEffect(function(){return S._getSession=(0,p.default)(f.default.mark(function e(){var t,r,n=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(n.length>0&&void 0!==n[0]?n[0]:{}).event,e.prev=1,!((r="storage"===t)||void 0===S._session)){e.next=10;break}return S._lastSync=(0,b.now)(),e.next=7,R({broadcast:!r});case 7:return S._session=e.sent,x(S._session),e.abrupt("return");case 10:if(!(!t||null===S._session||(0,b.now)()<S._lastSync)){e.next=12;break}return e.abrupt("return");case 12:return S._lastSync=(0,b.now)(),e.next=15,R();case 15:S._session=e.sent,x(S._session),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(1),M.error("CLIENT_SESSION_ERROR",e.t0);case 22:return e.prev=22,O(!1),e.finish(22);case 25:case"end":return e.stop()}},e,null,[[1,19,22,25]])})),S._getSession(),function(){S._lastSync=0,S._session=void 0,S._getSession=function(){}}},[]),m.useEffect(function(){var e=C.receive(function(){return S._getSession({event:"storage"})});return function(){return e()}},[]),m.useEffect(function(){var t=e.refetchOnWindowFocus,r=void 0===t||t,n=function(){r&&"visible"===document.visibilityState&&S._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",n,!1),function(){return document.removeEventListener("visibilitychange",n,!1)}},[e.refetchOnWindowFocus]);var P=(t=m.useState("undefined"!=typeof navigator&&navigator.onLine),n=(r=(0,v.default)(t,2))[0],o=r[1],i=function(){return o(!0)},a=function(){return o(!1)},m.useEffect(function(){return window.addEventListener("online",i),window.addEventListener("offline",a),function(){window.removeEventListener("online",i),window.removeEventListener("offline",a)}},[]),n),T=!1!==c||P;m.useEffect(function(){if(l&&T){var e=setInterval(function(){S._session&&S._getSession({event:"poll"})},1e3*l);return function(){return clearInterval(e)}}},[l,T]);var L=m.useMemo(function(){return{data:y,status:E?"loading":y?"authenticated":"unauthenticated",update:function(e){return(0,p.default)(f.default.mark(function t(){var r;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(E||!y)){t.next=2;break}return t.abrupt("return");case 2:return O(!0),t.t0=b.fetchData,t.t1=S,t.t2=M,t.next=8,A();case 8:return t.t3=t.sent,t.t4=e,t.t5={csrfToken:t.t3,data:t.t4},t.t6={body:t.t5},t.t7={req:t.t6},t.next=15,(0,t.t0)("session",t.t1,t.t2,t.t7);case 15:return r=t.sent,O(!1),r&&(x(r),C.post({event:"session",data:{trigger:"getSession"}})),t.abrupt("return",r);case 19:case"end":return t.stop()}},t)}))()}}},[y,E]);return(0,w.jsx)(k.Provider,{value:L,children:s})},t.getCsrfToken=A,t.getProviders=L,t.getSession=R,t.signIn=function(e,t,r){return N.apply(this,arguments)},t.signOut=function(e){return D.apply(this,arguments)},t.useSession=function(e){if(!k)throw Error("React Context is unavailable in Server Components");var t=m.useContext(k),r=null!=e?e:{},n=r.required,o=r.onUnauthenticated,i=n&&"unauthenticated"===t.status;return(m.useEffect(function(){if(i){var e="/api/auth/signin?".concat(new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href}));o?o():window.location.href=e}},[i,o]),i)?{data:t.data,update:t.update,status:"loading"}:t};var f=l(r(64687)),h=l(r(38416)),p=l(r(17156)),v=l(r(27424)),m=j(r(67294)),g=j(r(26553)),y=l(r(30762)),b=r(29548),w=r(85893),x=r(527);function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_=function(e){return e?r:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var r=_(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){(0,h.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object.keys(x).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(d,e))&&(e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))});var S={baseUrl:(0,y.default)(null!==(n=u.env.NEXTAUTH_URL)&&void 0!==n?n:u.env.VERCEL_URL).origin,basePath:(0,y.default)(u.env.NEXTAUTH_URL).path,baseUrlServer:(0,y.default)(null!==(o=null!==(i=u.env.NEXTAUTH_URL_INTERNAL)&&void 0!==i?i:u.env.NEXTAUTH_URL)&&void 0!==o?o:u.env.VERCEL_URL).origin,basePathServer:(0,y.default)(null!==(a=u.env.NEXTAUTH_URL_INTERNAL)&&void 0!==a?a:u.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:function(){}},C=(0,b.BroadcastChannel)(),M=(0,g.proxyLogger)(g.default,S.basePath),k=null===(s=m.createContext)||void 0===s?void 0:s.call(m,void 0);function R(e){return P.apply(this,arguments)}function P(){return(P=(0,p.default)(f.default.mark(function e(t){var r,n;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("session",S,M,t);case 2:return n=e.sent,(null===(r=null==t?void 0:t.broadcast)||void 0===r||r)&&C.post({event:"session",data:{trigger:"getSession"}}),e.abrupt("return",n);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function A(e){return T.apply(this,arguments)}function T(){return(T=(0,p.default)(f.default.mark(function e(t){var r;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("csrf",S,M,t);case 2:return r=e.sent,e.abrupt("return",null==r?void 0:r.csrfToken);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function L(){return I.apply(this,arguments)}function I(){return(I=(0,p.default)(f.default.mark(function e(){return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.fetchData)("providers",S,M);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function N(){return(N=(0,p.default)(f.default.mark(function e(t,r,n){var o,i,a,s,u,l,c,d,h,p,v,m,g,y,w,x,_;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=void 0===(i=(o=null!=r?r:{}).callbackUrl)?window.location.href:i,u=void 0===(s=o.redirect)||s,l=(0,b.apiBaseUrl)(S),e.next=4,L();case 4:if(c=e.sent){e.next=8;break}return window.location.href="".concat(l,"/error"),e.abrupt("return");case 8:if(!(!t||!(t in c))){e.next=11;break}return window.location.href="".concat(l,"/signin?").concat(new URLSearchParams({callbackUrl:a})),e.abrupt("return");case 11:return d="credentials"===c[t].type,h="email"===c[t].type,p=d||h,v="".concat(l,"/").concat(d?"callback":"signin","/").concat(t),m="".concat(v,"?").concat(new URLSearchParams(n)),e.t0=fetch,e.t1=m,e.t2={"Content-Type":"application/x-www-form-urlencoded"},e.t3=URLSearchParams,e.t4=O,e.t5=O({},r),e.t6={},e.next=25,A();case 25:return e.t7=e.sent,e.t8=a,e.t9={csrfToken:e.t7,callbackUrl:e.t8,json:!0},e.t10=(0,e.t4)(e.t5,e.t6,e.t9),e.t11=new e.t3(e.t10),e.t12={method:"post",headers:e.t2,body:e.t11},e.next=33,(0,e.t0)(e.t1,e.t12);case 33:return g=e.sent,e.next=36,g.json();case 36:if(y=e.sent,!(u||!p)){e.next=42;break}return x=null!==(w=y.url)&&void 0!==w?w:a,window.location.href=x,x.includes("#")&&window.location.reload(),e.abrupt("return");case 42:if(_=new URL(y.url).searchParams.get("error"),!g.ok){e.next=46;break}return e.next=46,S._getSession({event:"storage"});case 46:return e.abrupt("return",{error:_,status:g.status,ok:g.ok,url:_?null:y.url});case 47:case"end":return e.stop()}},e)}))).apply(this,arguments)}function D(){return(D=(0,p.default)(f.default.mark(function e(t){var r,n,o,i,a,s,u,l,c;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=void 0===(n=(null!=t?t:{}).callbackUrl)?window.location.href:n,i=(0,b.apiBaseUrl)(S),e.t0={"Content-Type":"application/x-www-form-urlencoded"},e.t1=URLSearchParams,e.next=6,A();case 6:return e.t2=e.sent,e.t3=o,e.t4={csrfToken:e.t2,callbackUrl:e.t3,json:!0},e.t5=new e.t1(e.t4),a={method:"post",headers:e.t0,body:e.t5},e.next=13,fetch("".concat(i,"/signout"),a);case 13:return s=e.sent,e.next=16,s.json();case 16:if(u=e.sent,C.post({event:"session",data:{trigger:"signout"}}),!(null===(r=null==t?void 0:t.redirect)||void 0===r||r)){e.next=23;break}return c=null!==(l=u.url)&&void 0!==l?l:o,window.location.href=c,c.includes("#")&&window.location.reload(),e.abrupt("return");case 23:return e.next=25,S._getSession({event:"storage"});case 25:return e.abrupt("return",u);case 26:case"end":return e.stop()}},e)}))).apply(this,arguments)}t.SessionContext=k},527:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},26553:function(e,t,r){"use strict";var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.proxyLogger=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;try{if("undefined"==typeof window)return e;var r={},n=function(e){r[e]=function(r,n){u[e](r,n),"error"===e&&(n=s(n)),n.client=!0;var i="".concat(t,"/_log"),l=new URLSearchParams(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,o.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({level:e,code:r},n));return navigator.sendBeacon?navigator.sendBeacon(i,l):fetch(i,{method:"POST",body:l,keepalive:!0})}};for(var i in e)n(i);return r}catch(e){return u}},t.setLogger=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t||(u.debug=function(){}),e.error&&(u.error=e.error),e.warn&&(u.warn=e.warn),e.debug&&(u.debug=e.debug)};var o=n(r(38416)),i=r(36925);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){var t;return e instanceof Error&&!(e instanceof i.UnknownError)?{message:e.message,stack:e.stack,name:e.name}:(null!=e&&e.error&&(e.error=s(e.error),e.message=null!==(t=e.message)&&void 0!==t?t:e.error.message),e)}var u={error:function(e,t){t=s(t),console.error("[next-auth][error][".concat(e,"]"),"\nhttps://next-auth.js.org/errors#".concat(e.toLowerCase()),t.message,t)},warn:function(e){console.warn("[next-auth][warn][".concat(e,"]"),"\nhttps://next-auth.js.org/warnings#".concat(e.toLowerCase()))},debug:function(e,t){console.log("[next-auth][debug][".concat(e,"]"),t)}};t.default=u},30762:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;let r=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let n=new URL(null!==(t=e)&&void 0!==t?t:r),o=("/"===n.pathname?r.pathname:n.pathname).replace(/\/$/,""),i=`${n.origin}${o}`;return{origin:n.origin,host:n.host,path:o,base:i,toString:()=>i}}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(14283)}])},65963:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,fillRule:"evenodd",d:"M2 3.25A2.25 2.25 0 014.25 1h7.5A2.25 2.25 0 0114 3.25v10.83a1 1 0 01-1.478.878L8.12 12.564a.25.25 0 00-.238 0l-4.403 2.394A1 1 0 012 14.08V3.25zm2.25-.75a.75.75 0 00-.75.75v9.989l3.664-1.992a1.75 1.75 0 011.672 0l3.664 1.992V3.25a.75.75 0 00-.75-.75h-7.5z",clipRule:"evenodd"})]})})},28261:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M7.75 4a.75.75 0 01.75.75V6h1.25a.75.75 0 010 1.5H8.5v1.25a.75.75 0 01-1.5 0V7.5H5.75a.75.75 0 010-1.5H7V4.75A.75.75 0 017.75 4z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M2 3.25A2.25 2.25 0 014.25 1h7.5A2.25 2.25 0 0114 3.25v10.83a1 1 0 01-1.478.878L8.12 12.564a.25.25 0 00-.238 0l-4.403 2.394A1 1 0 012 14.08V3.25zm2.25-.75a.75.75 0 00-.75.75v9.989l3.664-1.992a1.75 1.75 0 011.672 0l3.664 1.992V3.25a.75.75 0 00-.75-.75h-7.5z",clipRule:"evenodd"})]})]})})},57909:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M11.78 5.22a.75.75 0 010 1.06l-4.5 4.5a.75.75 0 01-1.06 0l-2-2a.75.75 0 011.06-1.06l1.47 1.47 3.97-3.97a.75.75 0 011.06 0z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 8a8 8 0 1116 0A8 8 0 010 8zm8-6.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13z",clipRule:"evenodd"})]})]})})},82271:function(e,t,r){"use strict";r.d(t,{u:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M6.835.6L1 3.96v8.074l2.192 1.264V5.224l3.643-2.1V.6z"}),(0,n.jsx)("path",{d:"M9.165.6v6.43h-2.33v-2.4L4.642 5.894v8.237l2.193 1.266v-6.41h2.33v2.383l2.192-1.264V1.864L9.165.6z"}),(0,n.jsx)("path",{d:"M15 12.04L9.165 15.4v-2.525l3.642-2.1V2.703L15 3.966v8.073z"})]})]})})},62434:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M7.846 2.574a.25.25 0 01.308 0l5.25 4.12a.25.25 0 01.096.196v7.36a.75.75 0 001.5 0V6.89a1.75 1.75 0 00-.67-1.377L9.08 1.394a1.75 1.75 0 00-2.16 0l-5.25 4.12A1.75 1.75 0 001 6.89v7.36a.75.75 0 001.5 0V6.89a.25.25 0 01.096-.196l5.25-4.12z"}),(0,n.jsx)("path",{d:"M6.5 14.25V10.5h3v3.75a.75.75 0 001.5 0v-4C11 9.56 10.44 9 9.75 9h-3.5C5.56 9 5 9.56 5 10.25v4a.75.75 0 001.5 0z"})]})]})})},35929:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,fillRule:"evenodd",d:"M3 3.814C3 2.436 4.52 1.6 5.684 2.334l6.628 4.186a1.75 1.75 0 010 2.96l-6.628 4.185C4.52 14.401 3 13.564 3 12.185v-8.37zm1.883-.211a.25.25 0 00-.383.211v8.372a.25.25 0 00.383.211l6.628-4.186a.25.25 0 000-.422L4.884 3.603z",clipRule:"evenodd"})]})})},35155:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M3.924 5.02a.75.75 0 011.056-.096l3 2.5a.75.75 0 010 1.152l-3 2.5a.75.75 0 11-.96-1.152L6.328 8 4.02 6.076a.75.75 0 01-.096-1.056zM8.25 10.5a.75.75 0 000 1.5h3a.75.75 0 000-1.5h-3z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 3.25A2.25 2.25 0 012.25 1h11.5A2.25 2.25 0 0116 3.25v9.5A2.25 2.25 0 0113.75 15H2.25A2.25 2.25 0 010 12.75v-9.5zm2.25-.75a.75.75 0 00-.75.75v9.5c0 .414.336.75.75.75h11.5a.75.75 0 00.75-.75v-9.5a.75.75 0 00-.75-.75H2.25z",clipRule:"evenodd"})]})]})})},56438:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:"#1868F2",children:(0,n.jsx)("path",{d:"M1 1.559h4.667v3.4l4.666 9.482H5.667L1 4.959v-3.4zM10.333 4.96V1.559H15v3.4l-4.269 8.672-2.335-4.74 1.937-3.931z"})})]})})},18069:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,d:"M0 0l7.971 15.516L16 0H0zm6.732 6.16h-1.27V4.89h1.27v1.27zm0-1.906h-1.27V2.985h1.27v1.269zm1.904 3.81h-1.27v-1.27h1.27v1.27zm0-1.905h-1.27V4.89h1.27v1.27zm0-1.905h-1.27V2.985h1.27v1.269zm1.894 1.905H9.26V4.89h1.27v1.27zM9.26 4.254V2.985h1.27v1.269H9.26z"})]})})},83293:function(e,t,r){"use strict";r.d(t,{o:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:"#FFCF25",children:[(0,n.jsx)("path",{d:"M11.955 7.578l.42.42-.001.002a4.38 4.38 0 01-4.375 4.375A4.38 4.38 0 013.625 8a4.38 4.38 0 014.374-4.375c1.304 0 2.548.591 3.376 1.593L8.593 8H8v-.594l.873-.873A1.71 1.71 0 006.292 8a1.71 1.71 0 001.707 1.708A1.71 1.71 0 009.707 8l.42-.42.42.42A2.55 2.55 0 018 10.548 2.55 2.55 0 015.451 8 2.55 2.55 0 018 5.452c.54 0 1.05.168 1.48.475l.704-.705A3.545 3.545 0 008 4.464 3.539 3.539 0 004.467 8 3.539 3.539 0 008 11.533 3.539 3.539 0 0011.535 8l.42-.42z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 2.133c0-.746 0-1.12.145-1.405C.273.478.477.273.728.145 1.013 0 1.387 0 2.133 0h11.734c.746 0 1.12 0 1.405.145.25.128.455.332.583.583.145.285.145.659.145 1.405v11.734c0 .746 0 1.12-.145 1.405-.128.25-.332.455-.583.583-.285.145-.659.145-1.405.145H2.133c-.746 0-1.12 0-1.405-.145a1.334 1.334 0 01-.583-.583C0 14.987 0 14.613 0 13.867V2.133zM2.133.667h11.734c.384 0 .632 0 .821.016.181.014.248.04.281.056a.666.666 0 01.292.292c.017.033.042.1.056.28.016.19.016.438.016.822v11.734c0 .384 0 .632-.016.821-.014.181-.04.248-.056.281a.666.666 0 01-.292.292c-.033.017-.1.042-.28.056-.19.016-.438.016-.822.016H2.133c-.384 0-.632 0-.821-.016-.181-.014-.248-.04-.281-.056a.666.666 0 01-.292-.292c-.016-.033-.042-.1-.056-.28a11.336 11.336 0 01-.016-.822V2.133c0-.384 0-.632.016-.821.014-.181.04-.248.056-.281a.667.667 0 01.292-.292c.033-.016.1-.042.28-.056.19-.016.438-.016.822-.016z",clipRule:"evenodd"})]})]})})},58007:function(e,t,r){"use strict";r.d(t,{f:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:"#FFCF25",children:[(0,n.jsx)("path",{d:"M7.498 10.552v1.823h1.004v-3.88h3.873v-.99h-1.82c-.422 0-.844.028-1.267.087l-.393.043.306-.247c.335-.263.655-.54.961-.846l1.267-1.284-.7-.7-1.28 1.284c-.306.306-.583.627-.845.962l-.247.306.043-.393c.059-.423.088-.846.088-1.269V3.625h-.99v3.88H3.625v.99h1.82c.422 0 .844-.028 1.267-.087l.393-.043-.306.248c-.335.262-.655.54-.961.845l-1.281 1.284.699.7 1.28-1.284c.307-.306.583-.627.845-.962l.248-.306-.044.393a9.29 9.29 0 00-.087 1.27z"}),(0,n.jsx)("path",{d:"M9.463 9.473v.7l1.267 1.269.699-.7-1.267-1.269h-.699zM4.557 5.258l1.266 1.27h.7v-.7l-1.267-1.27-.7.7z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 2.133c0-.746 0-1.12.145-1.405C.273.478.477.273.728.145 1.013 0 1.387 0 2.133 0h11.734c.746 0 1.12 0 1.405.145.25.128.455.332.583.583.145.285.145.659.145 1.405v11.734c0 .746 0 1.12-.145 1.405-.128.25-.332.455-.583.583-.285.145-.659.145-1.405.145H2.133c-.746 0-1.12 0-1.405-.145a1.334 1.334 0 01-.583-.583C0 14.987 0 14.613 0 13.867V2.133zM2.133.667h11.734c.384 0 .632 0 .821.016.181.014.248.04.281.056a.666.666 0 01.292.292c.017.033.042.1.056.28.016.19.016.438.016.822v11.734c0 .384 0 .632-.016.821-.014.181-.04.248-.056.281a.666.666 0 01-.292.292c-.033.017-.1.042-.28.056-.19.016-.438.016-.822.016H2.133c-.384 0-.632 0-.821-.016-.181-.014-.248-.04-.281-.056a.666.666 0 01-.292-.292c-.016-.033-.042-.1-.056-.28a11.336 11.336 0 01-.016-.822V2.133c0-.384 0-.632.016-.821.014-.181.04-.248.056-.281a.667.667 0 01.292-.292c.033-.016.1-.042.28-.056.19-.016.438-.016.822-.016z",clipRule:"evenodd"})]})]})})},31568:function(e,t,r){"use strict";r.d(t,{H:function(){return i}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,d:"M12.78 4.28a.75.75 0 00-1.06-1.06L8 6.94 4.28 3.22a.75.75 0 00-1.06 1.06L6.94 8l-3.72 3.72a.75.75 0 101.06 1.06L8 9.06l3.72 3.72a.75.75 0 101.06-1.06L9.06 8l3.72-3.72z"})]})})},85622:function(e,t,r){"use strict";r.d(t,{FC:function(){return M},ZP:function(){return R},NR:function(){return w},j:function(){return _}});var n=r(67294),o=r(11163),i=function(e){window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.push(e)},a=function(){window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.forEach(function(e){switch(e.type){case"trackPageview":l(e.opts);return;case"trackGoal":c(e.code,e.cents);return;case"enableTrackingForMe":f();return;case"blockTrackingForMe":d();return;case"setSite":h(e.id);return}}),window.__fathomClientQueue=[]},s=function(e){var t=/(https?)(?=:|\/|$)/;e.forEach(function(e){null!==t.exec(e)&&console.warn("The include domain ".concat(e," might fail to work as intended as it begins with a transfer protocol (http://, https://). Consider removing the protocol portion of the string."))})},u=function(e,t){var r=document.createElement("script"),n=document.getElementsByTagName("script")[0]||document.querySelector("body");r.id="fathom-script",r.async=!0,r.setAttribute("data-site",e),r.src=t&&t.url?t.url:"https://cdn.usefathom.com/script.js",t&&(void 0!==t.auto&&r.setAttribute("data-auto","".concat(t.auto)),void 0!==t.honorDNT&&r.setAttribute("data-honor-dnt","".concat(t.honorDNT)),void 0!==t.canonical&&r.setAttribute("data-canonical","".concat(t.canonical)),t.includedDomains&&(s(t.includedDomains),r.setAttribute("data-included-domains",t.includedDomains.join(","))),t.excludedDomains&&(s(t.excludedDomains),r.setAttribute("data-excluded-domains",t.excludedDomains.join(","))),t.spa&&r.setAttribute("data-spa",t.spa)),r.onload=a,n.parentNode.insertBefore(r,n)},l=function(e){window.fathom?e?window.fathom.trackPageview(e):window.fathom.trackPageview():i({type:"trackPageview",opts:e})},c=function(e,t){window.fathom?window.fathom.trackGoal(e,t):i({type:"trackGoal",code:e,cents:t})},d=function(){window.fathom?window.fathom.blockTrackingForMe():i({type:"blockTrackingForMe"})},f=function(){window.fathom?window.fathom.enableTrackingForMe():i({type:"enableTrackingForMe"})},h=function(e){window.fathom?window.fathom.setSite(e):i({type:"setSite",id:e})},p=r(34155);function v(){l()}var m=r(36808),g=r.n(m);let y=["utm_source","utm_medium","utm_offer","utm_campaign","utm_content","utm_channel_bucket"],b={};function w(){new URLSearchParams(window.location.search).forEach((e,t)=>{y.includes(t)&&g().set(t,e,{expires:30})}),y.forEach(e=>{let t=g().get(e);t&&(b[e]=t)})}let x=e=>window.analytics&&window.analytics[e]&&"function"==typeof window.analytics[e],_=(e,t)=>{x("track")&&window.analytics.track(e,t)},j=["packer","terraform","vault","boundary","consul","nomad","waypoint","vagrant"],E=e=>{let t=e||window.location.href.toString(),r={};j.forEach(e=>{let n=t.indexOf(e);r[e]=n});let n=Object.entries(r).filter(e=>{let[t,r]=e;return r>-1}).sort((e,t)=>e[1]-t[1]);return n.length?n[0][0]:t.includes("hcp")?"hcp":null},O=["https://app.terraform.io","https://boundaryproject.io","https://cloud.hashicorp.com","https://consul.io","https://developer.hashicorp.com","https://hashicorp.com","https://nomadproject.io","https://packer.io","https://portal.cloud.hashicorp.com","https://registry.terraform.io","https://terraform.io","https://vagrantup.com","https://vaultproject.io","https://waypointproject.io","https://www.boundaryproject.io","https://www.consul.io","https://www.hashicorp.com","https://www.nomadproject.io","https://www.packer.io","https://www.terraform.io","https://www.vagrantup.com","https://www.vaultproject.io","https://www.waypointproject.io"],S=e=>O.some(function(t){return e.indexOf(t)>=0}),C=!1;function M(e){C||(window.addEventListener("click",t=>{let r=t.target.closest("a");if(r&&S(r.attributes.getNamedItem("href").value)){let n=x("user")?window.analytics.user().anonymousId():null,o=E(),i=new URL(r.href);if(window.location.origin===i.origin)return;if(t.preventDefault(),n&&i.searchParams.set("ajs_aid",n),o&&i.searchParams.set("product_intent",o),Object.keys(b).length>0)for(let[e,t]of Object.entries(b))i.searchParams.set(e,t);e&&e(i.href),"_blank"===r.getAttribute("target")||t.ctrlKey||t.metaKey?window.open(i.href,"_blank"):location.href=i.href}}),C=!0)}function k(e){return t=>(console.groupCollapsed("%c".concat(e),"color:white;background:green;border-radius:4px;padding:2px 4px;",t.event.event,t.event.properties),console.log(t.event),console.groupEnd(),t)}k("track"),k("page"),k("identify"),()=>!0;var R=function(){let{siteId:e=p.env.NEXT_PUBLIC_FATHOM_SITE_ID,includedDomains:t=p.env.NEXT_PUBLIC_FATHOM_INCLUDED_DOMAINS}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,o.useRouter)();(0,n.useEffect)(()=>{if(e&&t&&void 0!==navigator.sendBeacon)return u(e,{url:"https://cdn.usefathom.com/script.js",includedDomains:t.split(" ")}),r.events.on("routeChangeComplete",v),()=>{r.events.off("routeChangeComplete",v)}},[t,e,r.events])}},29108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return f},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return p},useServerInsertedHTML:function(){return l.useServerInsertedHTML}});let n=r(67294),o=r(55716),i=r(77353),a=r(78575),s=r(74565),u=r(8670),l=r(14439);function c(){let e=(0,n.useContext)(i.SearchParamsContext);return(0,n.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,n.useContext)(i.PathnameContext)}function f(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,n.useContext)(i.PathParamsContext)}function p(e){void 0===e&&(e="children");let t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){let i;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)i=t[1][r];else{var u;let e=t[1];i=null!=(u=e.children)?u:Object.values(e)[0]}if(!i)return o;let l=i[0],c=(0,a.getSegmentValue)(l);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?o:(o.push(c),e(i,r,!1,o))}(t.tree,e):null}function v(e){void 0===e&&(e="children");let t=p(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(58384),o=r(15403);class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15403:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return o},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80037:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58384:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return v},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return h},isRedirectError:function(){return f},permanentRedirect:function(){return d},redirect:function(){return c}});let i=r(95714),a=r(1747),s=r(80037),u="NEXT_REDIRECT";function l(e,t,r){void 0===r&&(r=s.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let o=i.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw l(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw l(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,o]=e.digest.split(";",4),i=Number(o);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(i)&&i in s.RedirectStatusCode}function h(e){return f(e)?e.digest.split(";",3)[2]:null}function p(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function v(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=n||(n={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78575:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56101:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return h}});let a="refresh",s="navigate",u="restore",l="server-patch",c="prefetch",d="fast-refresh",f="server-action";function h(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=r||(r={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=n||(n={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27670:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(51297),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(38754),o=r(85893),i=n._(r(67294)),a=r(69975),s=r(92712),u=r(28547),l=r(84350),c=r(38109),d=r(54494),f=r(55716),h=r(388),p=r(27670),v=r(6220),m=r(56101),g=new Set;function y(e,t,r,n,o,i){if(i||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(g.has(o))return;g.add(o)}Promise.resolve(i?e.prefetch(t,o):e.prefetch(t,r,n)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let w=i.default.forwardRef(function(e,t){let r,n;let{href:u,as:g,children:w,prefetch:x=null,passHref:_,replace:j,shallow:E,scroll:O,locale:S,onClick:C,onMouseEnter:M,onTouchStart:k,legacyBehavior:R=!1,...P}=e;r=w,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let A=i.default.useContext(d.RouterContext),T=i.default.useContext(f.AppRouterContext),L=null!=A?A:T,I=!A,N=!1!==x,D=null===x?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:F,as:U}=i.default.useMemo(()=>{if(!A){let e=b(u);return{href:e,as:g?b(g):e}}let[e,t]=(0,a.resolveHref)(A,u,!0);return{href:e,as:g?(0,a.resolveHref)(A,g):t||e}},[A,u,g]),z=i.default.useRef(F),V=i.default.useRef(U);R&&(n=i.default.Children.only(r));let q=R?n&&"object"==typeof n&&n.ref:t,[B,H,Q]=(0,h.useIntersection)({rootMargin:"200px"}),K=i.default.useCallback(e=>{(V.current!==U||z.current!==F)&&(Q(),V.current=U,z.current=F),B(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[U,q,F,Q,B]);i.default.useEffect(()=>{L&&H&&N&&y(L,F,U,{locale:S},{kind:D},I)},[U,F,H,S,N,null==A?void 0:A.locale,L,I,D]);let Z={ref:K,onClick(e){R||"function"!=typeof C||C(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,r,n,o,a,u,l,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:l,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(f):f()}(e,L,F,U,j,E,O,S,I)},onMouseEnter(e){R||"function"!=typeof M||M(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),L&&(N||!I)&&y(L,F,U,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:D},I)},onTouchStart:function(e){R||"function"!=typeof k||k(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),L&&(N||!I)&&y(L,F,U,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:D},I)}};if((0,l.isAbsoluteUrl)(U))Z.href=U;else if(!R||_||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==A?void 0:A.locale,t=(null==A?void 0:A.isLocaleDomain)&&(0,p.getDomainLocale)(U,e,null==A?void 0:A.locales,null==A?void 0:A.domainLocales);Z.href=t||(0,v.addBasePath)((0,c.addLocale)(U,e,null==A?void 0:A.defaultLocale))}return R?i.default.cloneElement(n,Z):(0,o.jsx)("a",{...P,...Z,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(67294),o=r(40460),i="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,l=u||!i,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(l||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},s.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,r,t,c,f.current]),[h,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14439:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});let n=r(61757)._(r(67294)),o=n.default.createContext(null);function i(e){let t=(0,n.useContext)(o);t&&t(e)}},21568:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(9290),s=r.n(a);t.Z=e=>{let{ariaLabel:t,className:r,color:o="neutral",icon:a,size:u="medium",text:l,type:c="filled"}=e,d=i()(s().root,s()[u],s()["".concat(c,"-").concat(o)],"base"===c&&s().base,r),f=!!a,h=!!l,p=!!t;if(!f&&!h)throw Error("`Badge` must have either `text` or an `icon` with accessible labels.");if(f&&!h&&!p)throw Error("Icon-only `Badge`s require an accessible label. Either provide the `text` or `ariaLabel` prop.");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"g-screen-reader-only",children:null!=t?t:l}),(0,n.jsxs)("span",{"aria-hidden":!0,className:d,children:[a,l&&(0,n.jsx)("span",{children:l})]})]})}},69094:function(e,t,r){"use strict";r.d(t,{sg:function(){return M},uw:function(){return k},Xt:function(){return R}});var n=r(85893),o=r(28261),i=r(67294);let a=(0,i.forwardRef)((e,t)=>{let{color:r="currentColor",title:o,...a}=e,s=(0,i.useMemo)(()=>o?"title-"+Math.random().toString(36).substr(2,9):void 0,[o]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!o,ref:t,"aria-labelledby":s,...a,children:[o?(0,n.jsx)("title",{id:s,children:o}):null,(0,n.jsx)("path",{fill:r,d:"M4.25 1A2.25 2.25 0 002 3.25v10.83a1 1 0 001.478.878l4.403-2.394a.25.25 0 01.238 0l4.403 2.394A1 1 0 0014 14.08V3.25A2.25 2.25 0 0011.75 1h-7.5z"})]})});var s=r(40477),u=r(57503),l=r(13993),c=r(29031),d=r(31568),f=r(55211),h=r(71450),p=r(43361),v=r.n(p);function m(e){let{onDismiss:t,signIn:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:v().header,children:[(0,n.jsx)(f.Z,{level:1,size:300,weight:"semibold",className:v().heading,children:"Please sign in to bookmark this tutorial."}),(0,n.jsx)("button",{onClick:t,"aria-label":"Cancel",type:"button",className:v().exitIcon,children:(0,n.jsx)(d.H,{})})]}),(0,n.jsx)(h.Z,{className:v().subheading,children:"In order to add this bookmark, you must be signed in. Please sign in and try again."}),(0,n.jsxs)("div",{className:v().buttonGroup,children:[(0,n.jsx)(s.Z,{text:"Sign in",onClick:r}),(0,n.jsx)(s.Z,{text:"Cancel",color:"secondary",onClick:t})]})]})}var g=r(94226);function y(e){return function(t){let{tutorial:r}=t,{isAuthenticated:o,signIn:a}=(0,u.Z)(),{isBookmarked:s}=(0,l.am)({tutorialId:r.id}),{addBookmark:d,removeBookmark:f}=(0,l.AK)(),[h,p]=(0,i.useState)(!1),v=()=>p(!0),y=()=>p(!1),b=(0,i.useCallback)(()=>{if(!o){v();return}s?f(r.id,{onSuccess:()=>(0,g.Z)("remove",r.name)}):d(r.id,{onSuccess:()=>(0,g.Z)("add",r.name)})},[d,o,s,f,r.id,r.name]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e,{handleOnClick:b,isBookmarked:s}),(0,n.jsx)(c.Z,{onDismiss:y,isOpen:h,label:"Sign in to bookmark",children:(0,n.jsx)(m,{onDismiss:y,signIn:()=>a()})})]})}}var b=r(93967),w=r.n(b),x=r(65963);let _=(0,i.forwardRef)((e,t)=>{let{color:r="currentColor",title:o,...a}=e,s=(0,i.useMemo)(()=>o?"title-"+Math.random().toString(36).substr(2,9):void 0,[o]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!o,ref:t,"aria-labelledby":s,...a,children:[o?(0,n.jsx)("title",{id:s,children:o}):null,(0,n.jsx)("path",{fill:r,fillRule:"evenodd",d:"M2 3.25A2.25 2.25 0 014.25 1h7.5A2.25 2.25 0 0114 3.25v10.83a1 1 0 01-1.478.878L8.12 12.564a.25.25 0 00-.238 0l-4.403 2.394A1 1 0 012 14.08V3.25zM5.75 6a.75.75 0 000 1.5h4a.75.75 0 000-1.5h-4z",clipRule:"evenodd"})]})});var j=r(21741),E=r.n(j),O=r(69303),S=r.n(O);let C={add:{text:"Add bookmark",baseIcon:(0,n.jsx)(o.d,{}),iconWithHover:(0,n.jsx)(function(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.U,{className:w()(E().position,E().base)}),(0,n.jsx)(o.d,{className:w()(E().position,E().hover)})]})},{})},remove:{text:"Remove bookmark",baseIcon:(0,n.jsx)(a,{}),iconWithHover:(0,n.jsx)(function(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a,{className:w()(E().position,E().base)}),(0,n.jsx)(_,{className:w()(E().position,E().hover)})]})},{})}};function M(e){let{handleOnClick:t,isBookmarked:r}=e,{add:o,remove:i}=C,a=r?i.text:o.text;return(0,n.jsx)("button",{"aria-pressed":r,onClick:t,"aria-label":a,className:S().button,children:r?i.iconWithHover:o.iconWithHover})}let k=y(M),R=y(function(e){let{handleOnClick:t,isBookmarked:r}=e,{add:o,remove:i}=C,a=r?{"aria-label":i.text,icon:i.baseIcon}:{"aria-label":o.text,icon:o.baseIcon};return(0,n.jsx)(s.Z,{color:"secondary",size:"small",onClick:t,...a})})},94226:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M11.75 7a.75.75 0 01.75.75V10h2.25a.75.75 0 010 1.5H12.5v2.25a.75.75 0 01-1.5 0V11.5H8.75a.75.75 0 010-1.5H11V7.75a.75.75 0 01.75-.75z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M4 4.75A2.75 2.75 0 016.75 2h10.5A2.75 2.75 0 0120 4.75v16.376a1 1 0 01-1.382.924l-6.522-2.699a.25.25 0 00-.192 0L5.382 22.05A1 1 0 014 21.126V4.75zM6.75 3.5c-.69 0-1.25.56-1.25 1.25v15.628l5.83-2.413a1.75 1.75 0 011.34 0l5.83 2.413V4.75c0-.69-.56-1.25-1.25-1.25H6.75z",clipRule:"evenodd"})]})]})}),a=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M8.75 10a.75.75 0 000 1.5h6a.75.75 0 000-1.5h-6z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M6.75 2A2.75 2.75 0 004 4.75v16.376a1 1 0 001.382.924l6.522-2.699a.25.25 0 01.192 0l6.522 2.699A1 1 0 0020 21.126V4.75A2.75 2.75 0 0017.25 2H6.75zM5.5 4.75c0-.69.56-1.25 1.25-1.25h10.5c.69 0 1.25.56 1.25 1.25v15.628l-5.83-2.413a1.75 1.75 0 00-1.34 0L5.5 20.378V4.75z",clipRule:"evenodd"})]})]})});var s=r(42480),u=r(35284),l=r.n(u);let c={add:{title:"Bookmark Added",descriptionSuffix:"has been added to your bookmarks.",icon:(0,n.jsx)(i,{className:l().toastIcon})},remove:{title:"Bookmark Removed",descriptionSuffix:"has been removed from your bookmarks.",icon:(0,n.jsx)(a,{className:l().toastIcon})}};function d(e,t){(0,s.Am)({title:c[e].title,description:"".concat(t||"This tutorial"," ").concat(c[e].descriptionSuffix),icon:c[e].icon,autoDismiss:5e3})}},50943:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(39009),s=r(5410),u=r.n(s);t.Z=e=>{let{"aria-label":t,color:r="primary",href:o,icon:s,iconPosition:l="leading",opensInNewTab:c=!1,size:d="medium",text:f,className:h,onClick:p}=e,v=!!s,m=!!f,g=!!t,y=v&&"leading"===l,b=v&&"trailing"===l,w=v&&!m;if(!v&&!m)throw Error("`ButtonLink` must have either `text` or an `icon` with accessible labels.");if(w&&!g)throw Error("Icon-only `ButtonLink`s require an accessible label. Either provide the `text` prop, or `ariaLabel`.");return(0,n.jsx)(a.Z,{"aria-label":t,className:i()(u().root,u()[d],u()[r],h),href:o,onClick:p,opensInNewTab:c,rel:c?"noreferrer noopener":void 0,children:(0,n.jsxs)(n.Fragment,{children:[y&&s,m?f:null,b&&s]})})}},40477:function(e,t,r){"use strict";var n=r(85893),o=r(67294),i=r(93967),a=r.n(i),s=r(62930),u=r.n(s);let l=(0,o.forwardRef)((e,t)=>{let{"aria-controls":r,"aria-describedby":o,"aria-expanded":i,"aria-label":s,"aria-labelledby":l,className:c,color:d="primary",disabled:f,form:h,icon:p,iconPosition:v="leading",id:m,isFullWidth:g,name:y,onClick:b,size:w="medium",text:x,type:_="button"}=e,j=a()(u().root,u()[w],u()[d],{[u().fullWidth]:g},c),E=!!p,O=!!x,S=!!s||!!l||!!o,C=E&&"leading"===v,M=E&&"trailing"===v,k=E&&!O;if(!E&&!O)throw Error("`Button` must have either `text` or an `icon` with accessible labels.");if(k&&!S)throw Error("Icon-only `Button`s require an accessible label. Either provide the `text` prop or one of: `ariaLabel`, `ariaLabelledBy`, `ariaDescribedBy`.");if(s&&l)throw Error("`Button` does not accept both `ariaLabel` and `ariaLabelledBy`. Only provide one or the other.");return(0,n.jsxs)("button",{"aria-controls":r,"aria-describedby":o,"aria-expanded":i,"aria-label":s,"aria-labelledby":l,className:j,disabled:f,form:h,id:m,name:y,onClick:b,ref:t,type:_,children:[C&&p,O&&(0,n.jsx)("span",{className:u().text,children:x}),M&&p]})});t.Z=l},7126:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(53954),s=r(39009),u=r(42480),l=r(91879),c=r.n(l);t.Z=e=>{let{ariaLabel:t,children:r,className:o,href:l,onClick:d,opensInNewTab:f}=e,h=i()(c().root,o);return t||(0,u.GN)({color:u.PQ.critical,title:"Error in CardLink",description:"`CardLink` requires the `ariaLabel` prop in order to be announced by screen readers."}),(0,n.jsxs)(a.Z,{className:h,children:[(0,n.jsx)(s.Z,{"aria-label":t,className:c().anchor,href:l,target:f?"_blank":void 0,onClick:d,children:(0,n.jsx)("span",{"aria-hidden":!0,children:"\xa0"})}),r]})}},23697:function(e,t,r){"use strict";r.d(t,{SZ:function(){return l},FD:function(){return h},VO:function(){return f},eW:function(){return m},It:function(){return b},ll:function(){return _}});var n=r(85893),o=r(93967),i=r.n(o),a=r(77118),s=r(70436),u=r.n(s),l=e=>{let{className:t,text:r}=e;return(0,n.jsx)("div",{className:i()(u().root,t),children:(0,n.jsx)(a.Z,{className:u().text,maxLines:3,children:r})})},c=r(95942),d=r.n(c);let f=e=>{let{children:t}=e;return(0,n.jsx)("span",{className:d().text,children:t})};var h=e=>{let{children:t,className:r}=e;return(0,n.jsx)("div",{className:i()(d().root,r),children:t})},p=r(32533),v=r.n(p),m=e=>{let{children:t,className:r}=e;return(0,n.jsx)("div",{className:i()(v().root,r),children:t})},g=r(42639),y=r.n(g),b=e=>{let{children:t,className:r}=e;return(0,n.jsx)("div",{className:i()(y().root,r),children:t})},w=r(31824),x=r.n(w),_=e=>{let{className:t,text:r}=e;return(0,n.jsx)("div",{className:t,children:(0,n.jsx)("span",{className:x().text,children:r})})}},53954:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(81174),s=r.n(a);t.Z=e=>{let{children:t,className:r,elevation:o="mid"}=e,a=i()("hds-surface-".concat(o),s().root,r);return(0,n.jsx)("div",{className:a,children:t})}},47451:function(e,t,r){"use strict";r.d(t,{b:function(){return l},Z:function(){return f}});var n=r(85893),o=r(67294),i=r(93967),a=r.n(i),s=r(13993),u=r(85798),l=e=>{let{tutorials:t,...r}=e,o=[],i=[];t.forEach(e=>{o.push(e.id),i.push((0,n.jsx)(u.m,{...e},e.id))});let{isFetching:a,isRefetching:l}=(0,s.I9)({tutorialIds:o});return a&&!l?null:(0,n.jsx)(f,{...r,children:i})},c=r(85604),d=r.n(c),f=function(e){let{children:t,isOrdered:r=!1,fixedColumns:i,gridGap:s="24px"}=e,u=a()(d().minWidthMode,{[d().allowThreeColumns]:o.Children.count(t)%3==0}),l=a()(d().fixedColumnsMode,d()["columns".concat(i)]);return(0,n.jsx)(r?"ol":"ul",{className:a()(d().listRoot,i?l:u),style:{"--grid-gap":s},children:o.Children.map(t,e=>(0,n.jsx)("li",{children:e}))})}},29031:function(e,t,r){"use strict";r.d(t,{Z:function(){return tF}});var n,o,i,a,s=r(85893),u=r(67294),l=r(43861),c=r(12769);function d(){}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){return function(r){if(e&&e(r),!r.defaultPrevented)return t(r)}}function p(){return(p=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}).apply(this,arguments)}var v="data-focus-lock",m="data-focus-lock-disabled";function g(e,t){var r,n,o;return r=t||null,n=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(o=(0,u.useState)(function(){return{value:r,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,o.facade}var y={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},b=function(e){var t=e.children;return u.createElement(u.Fragment,null,u.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:y}),t,t&&u.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:y}))};b.propTypes={},b.defaultProps={children:null};var w=function(){return(w=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}).apply(this,arguments)};function x(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function _(e){return e}function j(e,t){void 0===t&&(t=_);var r=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}function E(e,t){return void 0===t&&(t=_),j(e,t)}function O(e){void 0===e&&(e={});var t=j(null);return t.options=w({async:!0,ssr:!1},e),t}var S=E({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),C=E(),M=E(),k=O({async:!0}),R=[],P=u.forwardRef(function(e,t){var r,n=u.useState(),o=n[0],i=n[1],a=u.useRef(),s=u.useRef(!1),l=u.useRef(null),c=e.children,d=e.disabled,f=e.noFocusGuards,h=e.persistentFocus,b=e.crossFrame,w=e.autoFocus,x=(e.allowTextSelection,e.group),_=e.className,j=e.whiteList,E=e.hasPositiveIndices,O=e.shards,M=void 0===O?R:O,P=e.as,A=e.lockProps,T=e.sideCar,L=e.returnFocus,I=e.focusOptions,N=e.onActivation,D=e.onDeactivation,F=u.useState({})[0],U=u.useCallback(function(){l.current=l.current||document&&document.activeElement,a.current&&N&&N(a.current),s.current=!0},[N]),z=u.useCallback(function(){s.current=!1,D&&D(a.current)},[D]);(0,u.useEffect)(function(){d||(l.current=null)},[]);var V=u.useCallback(function(e){var t=l.current;if(t&&t.focus){var r="function"==typeof L?L(t):L;if(r){var n="object"==typeof r?r:void 0;l.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}}},[L]),q=u.useCallback(function(e){s.current&&S.useMedium(e)},[]),B=C.useMedium,H=u.useCallback(function(e){a.current!==e&&(a.current=e,i(e))},[]),Q=p(((r={})[m]=d&&"disabled",r[v]=x,r),void 0===A?{}:A),K=!0!==f,Z=K&&"tail"!==f,W=g([t,H]);return u.createElement(u.Fragment,null,K&&[u.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:y}),E?u.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:y}):null],!d&&u.createElement(T,{id:F,sideCar:k,observed:o,disabled:d,persistentFocus:h,crossFrame:b,autoFocus:w,whiteList:j,shards:M,onActivation:U,onDeactivation:z,returnFocus:V,focusOptions:I}),u.createElement(void 0===P?"div":P,p({ref:W},Q,{className:_,onBlur:B,onFocus:q}),c),Z&&u.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:y}))});function A(e,t){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}P.propTypes={},P.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var L=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},I=function(e){return Array.isArray(e)?e:[e]},N=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0},D=function(){var e=document&&N();return!!e&&L(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(t){return t.contains(e)})},F=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var o=n+1;o<r;o+=1){var i=e[n].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,r){return!t.has(r)})},U=function(e){return e.parentNode?U(e.parentNode):e},z=function(e){return I(e).filter(Boolean).reduce(function(e,t){var r=t.getAttribute(v);return e.push.apply(e,r?F(L(U(t).querySelectorAll("[".concat(v,'="').concat(r,'"]:not([').concat(m,'="disabled"])')))):[t]),e},[])},V=function(e){var t=document&&N();return!!t&&(!t.dataset||!t.dataset.focusGuard)&&z(e).reduce(function(e,r){return e||r.contains(t)||!!L(r.querySelectorAll("iframe")).some(function(e){return e===document.activeElement})},!1)},q=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},B=function(e,t){var r,n=e.get(t);if(void 0!==n)return n;var o=(r=B.bind(void 0,e),!t||t===document||t&&t.nodeType===Node.DOCUMENT_NODE||!q(t)&&r(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode));return e.set(t,o),o},H=function(e){return e.dataset},Q=function(e){return"INPUT"===e.tagName},K=function(e){return Q(e)&&"radio"===e.type},Z=function(e){var t;return!!(e&&(null===(t=H(e))||void 0===t?void 0:t.focusGuard))},W=function(e){return!Z(e)},G=function(e){return!!e},$=function(e,t){return K(e)&&e.name&&t.filter(K).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},X=function(e){var t=new Set;return e.forEach(function(r){return t.add($(r,e))}),e.filter(function(e){return t.has(e)})},Y=function(e){return e[0]&&e.length>1?$(e[0],e):e[0]},J=function(e,t){return e.length>1?e.indexOf($(e[t],e)):t},ee="NEW_FOCUS",et=function(e,t,r,n){var o=e.length,i=e[0],a=e[o-1],s=Z(r);if(!(r&&e.indexOf(r)>=0)){var u=void 0!==r?t.indexOf(r):-1,l=n?t.indexOf(n):u,c=n?e.indexOf(n):-1,d=u-l,f=t.indexOf(i),h=t.indexOf(a),p=X(t),v=(void 0!==r?p.indexOf(r):-1)-(n?p.indexOf(n):u),m=J(e,0),g=J(e,o-1);if(-1===u||-1===c)return ee;if(!d&&c>=0)return c;if(u<=f&&s&&Math.abs(d)>1)return g;if(u>=h&&s&&Math.abs(d)>1)return m;if(d&&Math.abs(v)>1)return c;if(u<=f)return g;if(u>h)return m;if(d)return Math.abs(d)>1?c:(o+c+d)%o}},er=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1}return r||n},en=function(e,t,r){return L(e).map(function(e,t){return{node:e,index:t,tabIndex:r&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}}).filter(function(e){return!t||e.tabIndex>=0}).sort(er)},eo="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",ei="".concat(eo,", [data-focus-guard]"),ea=function(e,t){return e.reduce(function(e,r){return e.concat(L(r.querySelectorAll(t?ei:eo)),r.parentNode?L(r.parentNode.querySelectorAll(eo)).filter(function(e){return e===r}):[])},[])},es=function(e,t){return L(e).filter(function(e){return B(t,e)}).filter(function(e){return!((Q(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))&&!e.ariaDisabled})},eu=function(e,t,r){return en(es(ea(e,r),t),!0,r)},el=function(e,t){return en(es(ea(e),t),!1)},ec=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ec(e.parentNode,t),t},ed=function(e,t){for(var r=ec(e),n=ec(t),o=0;o<r.length;o+=1){var i=r[o];if(n.indexOf(i)>=0)return i}return!1},ef=function(e,t,r){var n=I(e),o=I(t),i=n[0],a=!1;return o.filter(Boolean).forEach(function(e){a=ed(a||e,e)||a,r.filter(Boolean).forEach(function(e){var t=ed(i,e);t&&(a=!a||t.contains(a)?t:ed(t,a))})}),a},eh=function(e,t){var r=new Map;return t.forEach(function(e){return r.set(e.node,e)}),e.map(function(e){return r.get(e)}).filter(G)},ep=function(e,t){var r=document&&N(),n=z(e).filter(W),o=ef(r||e,e,n),i=new Map,a=el(n,i),s=eu(n,i).filter(function(e){return W(e.node)});if(s[0]||(s=a)[0]){var u=el([o],i).map(function(e){return e.node}),l=eh(u,s),c=l.map(function(e){return e.node}),d=et(c,u,r,t);if(d===ee){var f,h=a.map(function(e){return e.node}).filter((f=n.reduce(function(e,t){return e.concat(es(L(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return ea([e])}).reduce(function(e,t){return e.concat(t)},[]),i))},[]),function(e){var t;return e.autofocus||!!(null===(t=H(e))||void 0===t?void 0:t.autofocus)||f.indexOf(e)>=0}));return{node:h&&h.length?Y(h):Y(c)}}return void 0===d?d:l[d]}},ev=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},em=0,eg=!1,ey=function(e,t,r){void 0===r&&(r={});var n=ep(e,t);if(!eg&&n){if(em>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eg=!0,setTimeout(function(){eg=!1},1);return}em++,ev(n.node,r.focusOptions),em--}},eb=function(e){var t=z(e).filter(W),r=ef(e,e,t),n=new Map,o=eu([r],n,!0),i=eu(t,n).filter(function(e){return W(e.node)}).map(function(e){return e.node});return o.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:Z(t)}})};function ew(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var ex=null,e_=null,ej=null,eE=!1,eO=function(e,t){ej={observerNode:e,portaledElement:t}};function eS(e,t,r,n){var o=null,i=e;do{var a=n[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else if(a.lockItem){if(i!==e)return;o=null}else break}while((i+=r)!==t);o&&(o.node.tabIndex=0)}var eC=function(e){return e&&"current"in e?e.current:e},eM=function(){var e=!1;if(ex){var t=ex,r=t.observed,n=t.persistentFocus,o=t.autoFocus,i=t.shards,a=t.crossFrame,s=t.focusOptions,u=r||ej&&ej.portaledElement,l=document&&document.activeElement;if(u){var c=[u].concat(i.map(eC).filter(Boolean));if((!l||(ex.whiteList||function(){return!0})(l))&&(n||(a?!!eE:"meanwhile"===eE)||!(document&&document.activeElement===document.body||D())||!e_&&o)&&(u&&!(V(c)||l&&c.some(function(e){return function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))}(l,e,e)})||ej&&ej.portaledElement===l)&&(document&&!e_&&l&&!o?(l.blur&&l.blur(),document.body.focus()):(e=ey(c,e_,{focusOptions:s}),ej={})),eE=!1,e_=document&&document.activeElement),document){var d=document&&document.activeElement,f=eb(c),h=f.map(function(e){return e.node}).indexOf(d);h>-1&&(f.filter(function(e){var t=e.guard,r=e.node;return t&&r.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eS(h,f.length,1,f),eS(h,-1,-1,f))}}}return e},ek=function(e){eM()&&e&&(e.stopPropagation(),e.preventDefault())},eR=function(){return ew(eM)},eP=function(){eE="just",setTimeout(function(){eE="meanwhile"},0)},eA=function(){document.addEventListener("focusin",ek),document.addEventListener("focusout",eR),window.addEventListener("blur",eP)},eT=function(){document.removeEventListener("focusin",ek),document.removeEventListener("focusout",eR),window.removeEventListener("blur",eP)};S.assignSyncMedium(function(e){var t=e.target,r=e.currentTarget;r.contains(t)||eO(r,t)}),C.assignMedium(eR),M.assignMedium(function(e){return e({moveFocusInside:ey,focusInside:V})});var eL=(n=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var t=e.slice(-1)[0];t&&!ex&&eA();var r=ex,n=r&&t&&t.id===r.id;ex=t,!r||n||(r.onDeactivation(),e.filter(function(e){return e.id===r.id}).length||r.returnFocus(!t)),t?(e_=null,n&&r.observed===t.observed||t.onActivation(),eM(!0),ew(eM)):(eT(),e_=null)},function(e){var t,r,i,a,s=[];function l(){o(a=n(s.map(function(e){return e.props})))}var c=function(t){function r(){return t.apply(this,arguments)||this}r.prototype=Object.create(t.prototype),r.prototype.constructor=r,A(r,t),r.peek=function(){return a};var n=r.prototype;return n.componentDidMount=function(){s.push(this),l()},n.componentDidUpdate=function(){l()},n.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),l()},n.render=function(){return u.createElement(e,this.props)},r}(u.PureComponent);return t="displayName",r="SideEffect("+(e.displayName||e.name||"Component")+")",i=function(e,t){if("object"!==T(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===T(i)?i:String(i))in c?Object.defineProperty(c,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):c[t]=r,c})(function(){return null}),eI=u.forwardRef(function(e,t){return u.createElement(P,p({sideCar:eL,ref:t},e))}),eN=P.propTypes||{};eN.sideCar,function(e,t){if(null!=e){var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r])}}(eN,["sideCar"]),eI.propTypes={};var eD="right-scroll-bar-position",eF="width-before-scroll-bar",eU=O(),ez=function(){},eV=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:ez,onWheelCapture:ez,onTouchMoveCapture:ez}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,p=e.noIsolation,v=e.inert,m=e.allowPinchZoom,y=e.as,b=x(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=g([r,t]),j=w({},b,o);return u.createElement(u.Fragment,null,d&&u.createElement(h,{sideCar:eU,removeScrollBar:c,shards:f,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:r}),a?u.cloneElement(u.Children.only(s),w({},j,{ref:_})):u.createElement(void 0===y?"div":y,w({},j,{className:l,ref:_}),s))});eV.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eV.classNames={fullWidth:eF,zeroRight:eD};var eq=function(e){var t=e.sideCar,r=x(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return u.createElement(n,w({},r))};eq.isSideCarExport=!0;var eB=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eH=function(){var e=eB();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eQ=function(){var e=eH();return function(t){return e(t.styles,t.dynamic),null}},eK={left:0,top:0,right:0,gap:0},eZ=function(e){return parseInt(e||"",10)||0},eW=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eZ(r),eZ(n),eZ(o)]},eG=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return eK;var t=eW(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},e$=eQ(),eX=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(eD," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(eF," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(eD," .").concat(eD," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(eF," .").concat(eF," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},eY=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n,i=u.useMemo(function(){return eG(o)},[o]);return u.createElement(e$,{styles:eX(i,!t,o,r?"":"!important")})},eJ=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)},e0=function(e){var t=window.getComputedStyle(e);return"range"===e.type||"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)},e1=function(e,t){var r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),e2(e,r)){var n=e5(e,r);if(n[1]>n[2])return!0}r=r.parentNode}while(r&&r!==document.body);return!1},e2=function(e,t){return"v"===e?eJ(t):e0(t)},e5=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},e3=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,u=r.target,l=t.contains(u),c=!1,d=s>0,f=0,h=0;do{var p=e5(e,u),v=p[0],m=p[1]-p[2]-a*v;(v||m)&&e2(e,u)&&(f+=m,h+=v),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(o&&0===f||!o&&s>f)?c=!0:!d&&(o&&0===h||!o&&-s>h)&&(c=!0),c},e6=!1;if("undefined"!=typeof window)try{var e4=Object.defineProperty({},"passive",{get:function(){return e6=!0,!0}});window.addEventListener("test",e4,e4),window.removeEventListener("test",e4,e4)}catch(e){e6=!1}var e7=!!e6&&{passive:!1},e8=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},e9=function(e){return[e.deltaX,e.deltaY]},te=function(e){return e&&"current"in e?e.current:e},tt=0,tr=[],tn=(i=function(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(tt++)[0],i=u.useState(function(){return eQ()})[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var t=[e.lockRef.current].concat((e.shards||[]).map(te)).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),t.forEach(function(e){return e.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var s=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=e8(e),s=r.current,u="deltaX"in e?e.deltaX:s[0]-i[0],l="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v",f=e1(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=e1(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(u||l)&&(n.current=o),!o)return!0;var h=n.current||o;return e3(h,t,e,"h"===h?u:l,!0)},[]),l=u.useCallback(function(e){if(tr.length&&tr[tr.length-1]===i){var r="deltaY"in e?e9(e):e8(e),n=t.current.filter(function(t){var n;return t.name===e.type&&t.target===e.target&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(te).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.preventDefault()}}},[]),c=u.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=u.useCallback(function(e){r.current=e8(e),n.current=void 0},[]),f=u.useCallback(function(t){c(t.type,e9(t),t.target,s(t,e.lockRef.current))},[]),h=u.useCallback(function(t){c(t.type,e8(t),t.target,s(t,e.lockRef.current))},[]);u.useEffect(function(){return tr.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,e7),document.addEventListener("touchmove",l,e7),document.addEventListener("touchstart",d,e7),function(){tr=tr.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,e7),document.removeEventListener("touchmove",l,e7),document.removeEventListener("touchstart",d,e7)}},[]);var p=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(i,{styles:"\n  .block-interactivity-"+o+" {pointer-events: none;}\n  .allow-interactivity-"+o+" {pointer-events: all;}\n"}):null,p?u.createElement(eY,{gapMode:"margin"}):null)},eU.useMedium(i),eq),to=u.forwardRef(function(e,t){return u.createElement(eV,w({},e,{ref:t,sideCar:tn}))});to.classNames=eV.classNames;var ti=r(45697),ta=r.n(ti);function ts(){return(ts=Object.assign||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}).apply(this,arguments)}function tu(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var tl=["as","isOpen"],tc=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],td=["as","onClick","onKeyDown"];ta().bool,ta().bool,ta().bool,ta().func;var tf=(0,u.forwardRef)(function(e,t){var r=e.as,n=e.isOpen,o=void 0===n||n,i=tu(e,tl);return(0,u.useEffect)(function(){o?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[o]),o?(0,u.createElement)(l.h,{"data-reach-dialog-wrapper":""},(0,u.createElement)(th,ts({ref:t,as:void 0===r?"div":r},i))):null}),th=(0,u.forwardRef)(function(e,t){var r=e.allowPinchZoom,n=e.as,o=e.dangerouslyBypassFocusLock,i=e.dangerouslyBypassScrollLock,a=e.initialFocusRef,s=e.onClick,l=e.onDismiss,p=void 0===l?d:l,v=e.onKeyDown,m=e.onMouseDown,g=e.unstable_lockFocusAcrossFrames,y=tu(e,tc),b=(0,u.useRef)(null),w=(0,u.useRef)(null),x=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,u.useCallback)(function(e){for(var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return f(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(t);!(r=n()).done;)!function(e,t){if(null!=e){if(e&&"[object Function]"==({}).toString.call(e))e(t);else try{e.current=t}catch(r){throw Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}}(r.value,e)},t)}(w,t),_=(0,u.useCallback)(function(){a&&a.current&&a.current.focus()},[a]);return(0,u.useEffect)(function(){var e,t,r,n;return w.current?(e=w.current,t=[],r=[],n=(0,c.N)()?e?e.ownerDocument:document:null,e?(Array.prototype.forEach.call(n.querySelectorAll("body > *"),function(n){if(n!==(null==(o=e.parentNode)?void 0:null==(i=o.parentNode)?void 0:i.parentNode)){var o,i,a=n.getAttribute("aria-hidden");(null===a||"false"===a)&&(t.push(a),r.push(n),n.setAttribute("aria-hidden","true"))}}),function(){r.forEach(function(e,r){var n=t[r];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)})}):d):void 0},[]),(0,u.createElement)(eI,{autoFocus:!0,returnFocus:!0,onActivation:_,disabled:void 0!==o&&o,crossFrame:null==g||g},(0,u.createElement)(to,{allowPinchZoom:r,enabled:!(void 0!==i&&i)},(0,u.createElement)(void 0===n?"div":n,ts({},y,{ref:x,"data-reach-dialog-overlay":"",onClick:h(s,function(e){b.current===e.target&&(e.stopPropagation(),p(e))}),onKeyDown:h(v,function(e){"Escape"===e.key&&(e.stopPropagation(),p(e))}),onMouseDown:h(m,function(e){b.current=e.target})}))))}),tp=(0,u.forwardRef)(function(e,t){var r=e.as,n=e.onClick;e.onKeyDown;var o=tu(e,td);return(0,u.createElement)(void 0===r?"div":r,ts({"aria-modal":"true",role:"dialog",tabIndex:-1},o,{ref:t,"data-reach-dialog-content":"",onClick:h(n,function(e){e.stopPropagation()})}))});r(6884);var tv=r(89019),tm=r(23302),tg=r(49304),ty=r(54735),tb=r(58868);function tw(){let e=(0,u.useRef)(!1);return(0,tb.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var tx=r(240),t_=r(96681);class tj extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function tE({children:e,isPresent:t}){let r=(0,u.useId)(),n=(0,u.useRef)(null),o=(0,u.useRef)({width:0,height:0,top:0,left:0});return(0,u.useInsertionEffect)(()=>{let{width:e,height:i,top:a,left:s}=o.current;if(t||!n.current||!e||!i)return;n.current.dataset.motionPopId=r;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${i}px !important;
            top: ${a}px !important;
            left: ${s}px !important;
          }
        `),()=>{document.head.removeChild(u)}},[t]),u.createElement(tj,{isPresent:t,childRef:n,sizeRef:o},u.cloneElement(e,{ref:n}))}let tO=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{let s=(0,t_.h)(tS),l=(0,u.useId)(),c=(0,u.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;n&&n()},register:e=>(s.set(e,!1),()=>s.delete(e))}),i?void 0:[r]);return(0,u.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[r]),u.useEffect(()=>{r||s.size||!n||n()},[r]),"popLayout"===a&&(e=u.createElement(tE,{isPresent:r},e)),u.createElement(tx.O.Provider,{value:c},e)};function tS(){return new Map}var tC=r(25364),tM=r(65411),tk=r(16034);let tR=e=>e.key||"",tP=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{o&&(a="wait",(0,tk.O)(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=function(){let e=tw(),[t,r]=(0,u.useState)(0),n=(0,u.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,u.useCallback)(()=>ty.ZP.postRender(n),[n]),t]}(),l=(0,u.useContext)(tC.p).forceRender;l&&(s=l);let c=tw(),d=function(e){let t=[];return u.Children.forEach(e,e=>{(0,u.isValidElement)(e)&&t.push(e)}),t}(e),f=d,h=new Set,p=(0,u.useRef)(f),v=(0,u.useRef)(new Map).current,m=(0,u.useRef)(!0);if((0,tb.L)(()=>{m.current=!1,function(e,t){e.forEach(e=>{let r=tR(e);t.set(r,e)})}(d,v),p.current=f}),(0,tM.z)(()=>{m.current=!0,v.clear(),h.clear()}),m.current)return u.createElement(u.Fragment,null,f.map(e=>u.createElement(tO,{key:tR(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:i,mode:a},e)));f=[...f];let g=p.current.map(tR),y=d.map(tR),b=g.length;for(let e=0;e<b;e++){let t=g[e];-1===y.indexOf(t)&&h.add(t)}return"wait"===a&&h.size&&(f=[]),h.forEach(e=>{if(-1!==y.indexOf(e))return;let r=v.get(e);if(!r)return;let o=g.indexOf(e);f.splice(o,0,u.createElement(tO,{key:tR(r),isPresent:!1,onExitComplete:()=>{v.delete(e),h.delete(e);let t=p.current.findIndex(t=>t.key===e);if(p.current.splice(t,1),!h.size){if(p.current=d,!1===c.current)return;s(),n&&n()}},custom:t,presenceAffectsLayout:i,mode:a},r))}),f=f.map(e=>{let t=e.key;return h.has(t)?e:u.createElement(tO,{key:tR(e),isPresent:!0,presenceAffectsLayout:i,mode:a},e)}),"production"!==tg.O&&"wait"===a&&f.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),u.createElement(u.Fragment,null,h.size?f:f.map(e=>(0,u.cloneElement)(e)))};var tA=r(93967),tT=r.n(tA),tL=r(61830),tI=r.n(tL);let tN=(0,tv.m)(tf),tD={hidden:{opacity:0},show:{opacity:1}};function tF(e){let{ariaDescribedBy:t,children:r,contentClassName:n,isOpen:o,label:i,onDismiss:a,variant:l="modal"}=e,c=(0,tm.J)(),[d,f]=(0,u.useState)("0px");return(0,u.useEffect)(()=>{let e=()=>{f((window.innerHeight-window.visualViewport.height).toString()+"px")};return window.visualViewport.addEventListener("resize",e),()=>window.visualViewport.removeEventListener("resize",e)},[]),(0,s.jsx)(tP,{children:o&&(0,s.jsx)(tN,{className:tT()(tI().animatedDialogOverlay,tI()[l]),isOpen:o,onDismiss:a,variants:tD,animate:"show",initial:"hidden",exit:"hidden",transition:{duration:c?0:.3},children:(0,s.jsx)("div",{className:tT()(tI().contentWrapper,tI()[l]),style:"bottom"===l?{paddingBottom:d}:null,children:(0,s.jsx)(tp,{"aria-describedby":t,"aria-label":i,className:tT()(tI().content,tI()[l],n),children:r})},"contentWrapper")},"overlay")})}},55211:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o);t.Z=e=>{let{level:t,size:r,weight:o,...a}=e,s=i()("hds-typography-display-".concat(r),"hds-font-weight-".concat(o),a.className),u={...a,className:s};return(0,n.jsx)("h".concat(t),{...u})}},96610:function(e,t,r){"use strict";var n=r(85893),o=r(47451),i=r(67341);t.Z=function(e){let{cards:t,productSlug:r,gridGap:a,fixedColumns:s}=e;return(0,n.jsx)(o.Z,{gridGap:a,fixedColumns:s,children:t.map((e,t)=>(0,n.jsx)(i.Z,{icon:e.icon,productSlug:e.productSlug||r,text:e.text,url:e.url},t))})}},67341:function(e,t,r){"use strict";var n=r(85893),o=r(7126),i=r(33132),a=r.n(i);t.Z=e=>{let t,{icon:r,productSlug:i="hcp",text:s,url:u}=e;return t="sentinel"===i||"hcp"===i?"--token-color-hashicorp-brand":"--token-color-".concat(i,"-brand"),(0,n.jsxs)(o.Z,{ariaLabel:s,className:a().root,href:u,children:[(0,n.jsx)("span",{className:a().icon,style:{"--icon-color":"var(".concat(t,")")},children:r}),(0,n.jsx)("span",{className:a().text,children:s})]})}},86754:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(39009),s=r(80655),u=r.n(s);t.Z=e=>{let{children:t,className:r,color:o="primary",href:s,textSize:l=300,textWeight:c="regular",...d}=e,f=i()(u().root,"hds-typography-body-".concat(l),"hds-font-weight-".concat(c),u()[o],r);return(0,n.jsx)(a.Z,{...d,className:f,href:s,children:t})}},39009:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(85893),o=r(41664),i=r.n(o),a=r(83952),s=r(42480);let u=e=>{let{opensInNewTab:t,target:r}=e;t&&r&&(0,s.GN)({color:s.PQ.critical,title:"Error in src/components/Link",description:"Both `opensInNewTab` and `target` were passed. Only pass one or the other."})};var l=e=>{var t;let r,{children:o,href:s,opensInNewTab:l,...c}=e;u({opensInNewTab:l,target:c.target});let d=(0,a.Me)(),f="".concat("opens-in-new-tab-label","-").concat(d),h=!0===l||"_blank"===c.target,p=l?"_blank":c.target;return h&&(r=f),(null===(t=c["aria-describedby"])||void 0===t?void 0:t.length)>0&&(r=r?"".concat(r," ").concat(c["aria-describedby"]):c["aria-describedby"]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i(),{href:s,...c,"aria-describedby":r,target:p,children:o}),h?(0,n.jsx)("span",{className:"g-screen-reader-only",id:f,children:"(opens in new tab)"}):null]})}},58404:function(e,t,r){"use strict";r.d(t,{Z:function(){return M}});var n=r(85893),o=r(67294);let i=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M4.81 15v-1.085h2.25v-.67H5.968v-1.093h5.149L8.726 8l2.392-4.154H5.84v5.76H3V1h9.775l1.631 2.832L12.006 8l2.448 4.252L12.872 15H4.81z"}),(0,n.jsx)("path",{d:"M5.248 12.152h-1.09v1.092h1.09v-1.092zM3 13.907h1.09v1.092H3v-1.092z"})]})]})}),a=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M6.586 22v-1.55H9.8v-.958H8.241v-1.56h7.356L12.18 12l3.417-5.934H8.058v8.229H4V2h13.964l2.33 4.046L16.866 12l3.498 6.074L18.103 22H6.586z"}),(0,n.jsx)("path",{d:"M7.21 17.932H5.656v1.56H7.21v-1.56zM4 20.438h1.556v1.56H4v-1.56z"})]})]})}),s=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M4.737 14.193A7 7 0 008.006 15a6.98 6.98 0 004.735-1.847l-1.66-1.737a4.6 4.6 0 110-6.828l1.66-1.738a7 7 0 10-8.004 11.343zM13.32 11.402a.573.573 0 10.637-.953.573.573 0 00-.637.953z"}),(0,n.jsx)("path",{d:"M7.96 9.517a1.517 1.517 0 11-.012-3.034 1.517 1.517 0 01.013 3.034zM13.978 9.447a.574.574 0 10.637-.954.574.574 0 00-.637.954zM12.59 9.472a.574.574 0 110-1.148.574.574 0 010 1.148zM13.978 7.514a.574.574 0 10.637-.954.574.574 0 00-.637.954zM12.59 7.675a.574.574 0 110-1.148.574.574 0 010 1.148zM13.353 5.585a.574.574 0 10.635-.956.574.574 0 00-.635.956z"})]})]})}),u=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M6.872 21.731A11 11 0 0012.009 23a10.97 10.97 0 007.442-2.902l-2.61-2.73a7.229 7.229 0 110-10.73l2.61-2.73A11 11 0 106.87 21.73zM20.36 17.346a.901.901 0 101.001-1.498.901.901 0 00-1.001 1.498z"}),(0,n.jsx)("path",{d:"M11.939 14.383a2.383 2.383 0 11-.02-4.766 2.383 2.383 0 01.02 4.766zM21.394 14.274a.902.902 0 101.002-1.5.902.902 0 00-1.002 1.5zM19.214 14.313a.902.902 0 110-1.804.902.902 0 010 1.804zM21.394 11.236a.901.901 0 101.001-1.5.901.901 0 00-1.001 1.5zM19.214 11.49a.901.901 0 110-1.803.901.901 0 010 1.803zM20.411 8.204a.901.901 0 10.999-1.5.901.901 0 00-.999 1.5z"})]})]})});var l=r(82271);let c=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M10.336 1.5L2 6.268v11.456l3.131 1.793V8.061l5.205-2.979V1.5z"}),(0,n.jsx)("path",{d:"M13.664 1.5v9.123h-3.328V7.219L7.203 9.012V20.7l3.133 1.796V13.4h3.328v3.381l3.131-1.793V3.293L13.664 1.5z"}),(0,n.jsx)("path",{d:"M22 17.732L13.664 22.5v-3.582l5.203-2.98V4.484L22 6.276v11.456z"})]})]})}),d=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,d:"M8 0L1 4v8l7 4 7-4V4L8 0zm3.119 8.797L9.254 9.863 7.001 8.65v2.549l-2.118 1.33v-5.33l1.68-1.018 2.332 1.216V4.794l2.23-1.322-.006 5.325z"})]})}),f=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,d:"M12 .5L2 6.25v11.5l10 5.75 10-5.75V6.25L12 .5zm4.456 12.646l-2.664 1.533-3.22-1.745v3.664l-3.026 1.911v-7.661l2.401-1.463 3.331 1.748v-3.74l3.185-1.902-.008 7.655z"})]})}),h=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M5.163 0l5.762 3.247c1.138.646 2.074 2.085 2.075 3.2v4.963c0 1.123-.933 1.502-2.074.858L9.083 11.23V4.469l-3.92-2.216V0z"}),(0,n.jsx)("path",{d:"M8.3 4.953L3 1.956v11.047L8.3 16V4.953z"})]})]})}),p=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:r,children:[(0,n.jsx)("path",{d:"M8.028.5l8.067 4.668c1.593.928 2.903 2.996 2.905 4.6v7.134c0 1.614-1.306 2.158-2.903 1.233l-2.58-1.49V6.922L8.027 3.738V.5z"}),(0,n.jsx)("path",{d:"M12.42 7.62L5 3.31v15.88l7.42 4.309V7.62z"})]})]})}),v=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:r,children:(0,n.jsx)("path",{d:"M1 0v5.05l4.349 2.527V2.526L1 0zM10.175 5.344l-4.35-2.525v5.05l4.35 2.527V5.344zM10.651 10.396V5.344L15 2.819v5.05l-4.349 2.527zM10.174 16l-4.349-2.526v-5.05l4.349 2.525V16z"})})]})}),m=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:r,children:(0,n.jsx)("path",{d:"M2 .6v7.197l6.212 3.6V4.199L2 .6zM15.107 8.215L8.893 4.617v7.198l6.214 3.6v-7.2zM15.788 15.414V8.215L22 4.617v7.198l-6.212 3.6zM15.105 23.4l-6.212-3.6v-7.197l6.212 3.6V23.4z"})})]})});var g=r(56438);let y=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:"#1868F2",children:(0,n.jsx)("path",{d:"M1 1.878h7.333v5.344l7.334 14.9H8.333L1 7.222V1.878zM15.667 7.222V1.878H23v5.344l-6.708 13.626-3.67-7.447 3.045-6.179z"})})]})});var b=r(18069);let w=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("path",{fill:r,d:"M1 1l10.96 21.334L23 1H1zm9.256 8.469H8.51V7.723h1.746v1.746zm0-2.62H8.51V5.105h1.746v1.744zm2.618 5.238h-1.746v-1.746h1.746v1.746zm0-2.618h-1.746V7.723h1.746v1.746zm0-2.62h-1.746V5.105h1.746v1.744zm2.604 2.62h-1.746V7.723h1.746v1.746zm-1.746-2.62V5.105h1.746v1.744h-1.746z"})]})});var x=r(83293);let _=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:"#FFCF25",children:[(0,n.jsx)("path",{d:"M18.328 11.325l.672.673-.002.002c0 3.86-3.14 7-7 7C8.14 19 5 15.86 5 12s3.14-7 6.999-7c2.086 0 4.076.946 5.4 2.549L12.95 12H12v-.95l1.396-1.397A2.725 2.725 0 0012 9.268 2.736 2.736 0 009.267 12a2.736 2.736 0 002.732 2.732A2.736 2.736 0 0014.73 12l.672-.672.672.672A4.081 4.081 0 0112 16.077 4.081 4.081 0 017.922 12 4.081 4.081 0 0112 7.923c.863 0 1.68.269 2.367.76l1.127-1.128A5.672 5.672 0 0012 6.343a5.662 5.662 0 00-5.654 5.655A5.662 5.662 0 0012 17.653a5.662 5.662 0 005.654-5.655l.673-.673z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 3.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C1.52 0 2.08 0 3.2 0h17.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C24 1.52 24 2.08 24 3.2v17.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C22.48 24 21.92 24 20.8 24H3.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C0 22.48 0 21.92 0 20.8V3.2zM3.2 1h17.6c.577 0 .949 0 1.232.024.272.022.372.06.422.085a1 1 0 01.437.437c.025.05.063.15.085.422C23 2.25 23 2.623 23 3.2v17.6c0 .577 0 .949-.024 1.232-.022.272-.06.372-.085.422a1 1 0 01-.437.437c-.05.025-.15.063-.422.085C21.75 23 21.377 23 20.8 23H3.2c-.577 0-.949 0-1.232-.024-.272-.022-.373-.06-.422-.085a1 1 0 01-.437-.437c-.025-.05-.063-.15-.085-.422C1 21.75 1 21.377 1 20.8V3.2c0-.577 0-.949.024-1.232.022-.272.06-.373.085-.422a1 1 0 01.437-.437c.05-.025.15-.063.422-.085C2.25 1 2.623 1 3.2 1z",clipRule:"evenodd"})]})]})});var j=r(58007);let E=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsxs)("g",{fill:"#FFCF25",children:[(0,n.jsx)("path",{d:"M11.196 16.083V19h1.608v-6.207H19v-1.586h-2.912c-.675 0-1.35.046-2.026.14l-.63.07.49-.397c.536-.42 1.048-.863 1.537-1.353l2.027-2.054-1.118-1.12-2.05 2.054a16.81 16.81 0 00-1.351 1.54l-.396.49.07-.63c.093-.677.14-1.354.14-2.03V5h-1.585v6.207H5v1.586h2.912c.675 0 1.35-.046 2.026-.14l.63-.07-.49.397c-.536.42-1.048.863-1.537 1.353l-2.05 2.054 1.118 1.12 2.05-2.054c.49-.49.932-1.003 1.351-1.54l.396-.49-.07.63a14.86 14.86 0 00-.14 2.03z"}),(0,n.jsx)("path",{d:"M14.341 14.357v1.12l2.027 2.03 1.118-1.12-2.027-2.03h-1.118zM6.49 7.613l2.027 2.03h1.119v-1.12l-2.027-2.03-1.118 1.12z"}),(0,n.jsx)("path",{fillRule:"evenodd",d:"M0 3.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C1.52 0 2.08 0 3.2 0h17.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C24 1.52 24 2.08 24 3.2v17.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C22.48 24 21.92 24 20.8 24H3.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C0 22.48 0 21.92 0 20.8V3.2zM3.2 1h17.6c.577 0 .949 0 1.232.024.272.022.372.06.422.085a1 1 0 01.437.437c.025.05.063.15.085.422C23 2.25 23 2.623 23 3.2v17.6c0 .577 0 .949-.024 1.232-.022.272-.06.372-.085.422a1 1 0 01-.437.437c-.05.025-.15.063-.422.085C21.75 23 21.377 23 20.8 23H3.2c-.577 0-.949 0-1.232-.024-.272-.022-.373-.06-.422-.085a1 1 0 01-.437-.437c-.025-.05-.063-.15-.085-.422C1 21.75 1 21.377 1 20.8V3.2c0-.577 0-.949.024-1.232.022-.272.06-.373.085-.422a1 1 0 01.437-.437c.05-.025.15-.063.422-.085C2.25 1 2.623 1 3.2 1z",clipRule:"evenodd"})]})]})}),O=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:r,children:(0,n.jsx)("path",{d:"M4 5.312h1.334L10 13.4l3.334-5.777L10.666 3H8l2.666 4.623L10 8.778 6.667 3H0l6 10.4 1.333-2.31L4 5.311zM14.002 6.463L16 3h-3.996l1.998 3.463z"})})]})}),S=(0,o.forwardRef)((e,t)=>{let{color:r="currentColor",title:i,...a}=e,s=(0,o.useMemo)(()=>i?"title-"+Math.random().toString(36).substr(2,9):void 0,[i]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":!i,ref:t,"aria-labelledby":s,...a,children:[i?(0,n.jsx)("title",{id:s,children:i}):null,(0,n.jsx)("g",{fill:r,children:(0,n.jsx)("path",{d:"M6 8.468h2L15 20.6l5-8.666L16 5h-4l4 6.934-1 1.733L10 5H0l9 15.6 2-3.466-5-8.666zM21.003 10.194L24 5h-5.994l2.997 5.194z"})})]})}),C={boundary:{16:i,24:a},consul:{16:s,24:u},hcp:{16:l.u,24:c},nomad:{16:d,24:f},packer:{16:h,24:p},terraform:{16:v,24:m},vagrant:{16:g.G,24:y},vault:{16:b.O,24:w},"hcp-vault-radar":{16:x.o,24:_},"hcp-vault-secrets":{16:j.f,24:E},waypoint:{16:O,24:S}};var M=e=>{let{productSlug:t,size:r=16,...o}=e,i=C[t]?C[t][r]:null;return i?(0,n.jsx)(i,{...o,color:"hcp"===t?void 0:"var(--token-color-".concat(t,"-brand)")}):null}},71450:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(27874),s=r.n(a);t.Z=e=>{let{asElement:t="p",size:r=300,weight:o="regular",...a}=e,u=i()(s().root,"hds-typography-body-".concat(r),"hds-font-weight-".concat(o),a.className),l={...a,className:u};return(0,n.jsx)(t,{...l})}},54973:function(e,t,r){"use strict";var n,o;r.d(t,{P:function(){return n}}),(o=n||(n={})).neutral="neutral",o.highlight="highlight",o.success="success",o.warning="warning",o.critical="critical"},42480:function(e,t,r){"use strict";r.d(t,{PQ:function(){return eR.P},x7:function(){return eC},GN:function(){return eV},Am:function(){return ez}});var n,o,i,a,s,u=r(85893),l=r(11163),c=r(67294);let d={data:""},f=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||d,h=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,p=/\/\*[^]*?\*\/|  +/g,v=/\n+/g,m=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?r=i+" "+a+";":n+="f"==i[1]?m(a,i):i+"{"+m(a,"k"==i[1]?"":t)+"}":"object"==typeof a?n+=m(a,t?t.replace(/([^,])+/g,e=>i.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=m.p?m.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},g={},y=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+y(e[r]);return t}return e},b=(e,t,r,n,o)=>{var i;let a=y(e),s=g[a]||(g[a]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(a));if(!g[s]){let t=a!==e?e:(e=>{let t,r,n=[{}];for(;t=h.exec(e.replace(p,""));)t[4]?n.shift():t[3]?(r=t[3].replace(v," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(v," ").trim();return n[0]})(e);g[s]=m(o?{["@keyframes "+s]:t}:t,r?"":"."+s)}return i=g[s],-1==t.data.indexOf(i)&&(t.data=n?i+t.data:t.data+i),s},w=(e,t,r)=>e.reduce((e,n,o)=>{let i=t[o];if(i&&i.call){let e=i(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":m(e,""):!1===e?"":e}return e+n+(null==i?"":i)},"");function x(e){let t=this||{},r=e.call?e(t.p):e;return b(r.unshift?r.raw?w(r,[].slice.call(arguments,1),t.p):r.reduce((e,r)=>Object.assign(e,r&&r.call?r(t.p):r),{}):r,f(t.target),t.g,t.o,t.k)}x.bind({g:1});let _,j,E,O=x.bind({k:1});function S(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),u=s.className||o.className;r.p=Object.assign({theme:j&&j()},s),r.o=/ *go\d+/.test(u),s.className=x.apply(r,n)+(u?" "+u:""),t&&(s.ref=a);let l=e;return e[0]&&(l=s.as||e,delete s.as),E&&l[0]&&E(s),_(l,s)}return t?t(o):o}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function M(e,t){return t||(t=e.slice(0)),e.raw=t,e}var k=function(e,t){return"function"==typeof e?e(t):e},R=(n=0,function(){return(++n).toString()}),P=(o=void 0,function(){if(void 0===o&&"undefined"!=typeof window){var e=matchMedia("(prefers-reduced-motion: reduce)");o=!e||e.matches}return o});(i=s||(s={}))[i.ADD_TOAST=0]="ADD_TOAST",i[i.UPDATE_TOAST=1]="UPDATE_TOAST",i[i.UPSERT_TOAST=2]="UPSERT_TOAST",i[i.DISMISS_TOAST=3]="DISMISS_TOAST",i[i.REMOVE_TOAST=4]="REMOVE_TOAST",i[i.START_PAUSE=5]="START_PAUSE",i[i.END_PAUSE=6]="END_PAUSE";var A=new Map,T=function(e){if(!A.has(e)){var t=setTimeout(function(){A.delete(e),F({type:s.REMOVE_TOAST,toastId:e})},1e3);A.set(e,t)}},L=function(e){var t=A.get(e);t&&clearTimeout(t)},I=function e(t,r){switch(r.type){case s.ADD_TOAST:return C({},t,{toasts:[r.toast].concat(t.toasts).slice(0,20)});case s.UPDATE_TOAST:return r.toast.id&&L(r.toast.id),C({},t,{toasts:t.toasts.map(function(e){return e.id===r.toast.id?C({},e,r.toast):e})});case s.UPSERT_TOAST:var n=r.toast;return t.toasts.find(function(e){return e.id===n.id})?e(t,{type:s.UPDATE_TOAST,toast:n}):e(t,{type:s.ADD_TOAST,toast:n});case s.DISMISS_TOAST:var o=r.toastId;return o?T(o):t.toasts.forEach(function(e){T(e.id)}),C({},t,{toasts:t.toasts.map(function(e){return e.id===o||void 0===o?C({},e,{visible:!1}):e})});case s.REMOVE_TOAST:if(void 0===r.toastId)return C({},t,{toasts:[]});return C({},t,{toasts:t.toasts.filter(function(e){return e.id!==r.toastId})});case s.START_PAUSE:return C({},t,{pausedAt:r.time});case s.END_PAUSE:var i=r.time-(t.pausedAt||0);return C({},t,{pausedAt:void 0,toasts:t.toasts.map(function(e){return C({},e,{pauseDuration:e.pauseDuration+i})})})}},N=[],D={toasts:[],pausedAt:void 0},F=function(e){D=I(D,e),N.forEach(function(e){e(D)})},U={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},z=function(e){void 0===e&&(e={});var t=(0,c.useState)(D),r=t[0],n=t[1];(0,c.useEffect)(function(){return N.push(n),function(){var e=N.indexOf(n);e>-1&&N.splice(e,1)}},[r]);var o=r.toasts.map(function(t){var r,n,o;return C({},e,e[t.type],t,{duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==(n=e)?void 0:n.duration)||U[t.type],style:C({},e.style,null==(o=e[t.type])?void 0:o.style,t.style)})});return C({},r,{toasts:o})},V=function(e){return function(t,r){var n,o=(void 0===(n=e)&&(n="blank"),C({createdAt:Date.now(),visible:!0,type:n,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0},r,{id:(null==r?void 0:r.id)||R()}));return F({type:s.UPSERT_TOAST,toast:o}),o.id}},q=function(e,t){return V("blank")(e,t)};q.error=V("error"),q.success=V("success"),q.loading=V("loading"),q.custom=V("custom"),q.dismiss=function(e){F({type:s.DISMISS_TOAST,toastId:e})},q.remove=function(e){return F({type:s.REMOVE_TOAST,toastId:e})},q.promise=function(e,t,r){var n=q.loading(t.loading,C({},r,null==r?void 0:r.loading));return e.then(function(e){return q.success(k(t.success,e),C({id:n},r,null==r?void 0:r.success)),e}).catch(function(e){q.error(k(t.error,e),C({id:n},r,null==r?void 0:r.error))}),e};var B=function(e){var t=z(e),r=t.toasts,n=t.pausedAt;(0,c.useEffect)(function(){if(!n){var e=Date.now(),t=r.map(function(t){if(t.duration!==1/0){var r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(r<0){t.visible&&q.dismiss(t.id);return}return setTimeout(function(){return q.dismiss(t.id)},r)}});return function(){t.forEach(function(e){return e&&clearTimeout(e)})}}},[r,n]);var o=(0,c.useMemo)(function(){return{startPause:function(){F({type:s.START_PAUSE,time:Date.now()})},endPause:function(){n&&F({type:s.END_PAUSE,time:Date.now()})},updateHeight:function(e,t){return F({type:s.UPDATE_TOAST,toast:{id:e,height:t}})},calculateOffset:function(e,t){var n,o=t||{},i=o.reverseOrder,a=o.gutter,s=void 0===a?8:a,u=o.defaultPosition,l=r.filter(function(t){return(t.position||u)===(e.position||u)&&t.height}),c=l.findIndex(function(t){return t.id===e.id}),d=l.filter(function(e,t){return t<c&&e.visible}).length;return(n=l.filter(function(e){return e.visible})).slice.apply(n,void 0!==i&&i?[d+1]:[0,d]).reduce(function(e,t){return e+(t.height||0)+s},0)}}},[r,n]);return{toasts:r,handlers:o}};function H(){var e=M(["\n  width: 20px;\n  opacity: 0;\n  height: 20px;\n  border-radius: 10px;\n  background: ",";\n  position: relative;\n  transform: rotate(45deg);\n\n  animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n  animation-delay: 100ms;\n\n  &:after,\n  &:before {\n    content: '';\n    animation: "," 0.15s ease-out forwards;\n    animation-delay: 150ms;\n    position: absolute;\n    border-radius: 3px;\n    opacity: 0;\n    background: ",";\n    bottom: 9px;\n    left: 4px;\n    height: 2px;\n    width: 12px;\n  }\n\n  &:before {\n    animation: "," 0.15s ease-out forwards;\n    animation-delay: 180ms;\n    transform: rotate(90deg);\n  }\n"]);return H=function(){return e},e}function Q(){var e=M(["\nfrom {\n  transform: scale(0) rotate(90deg);\n	opacity: 0;\n}\nto {\n  transform: scale(1) rotate(90deg);\n	opacity: 1;\n}"]);return Q=function(){return e},e}function K(){var e=M(["\nfrom {\n  transform: scale(0);\n  opacity: 0;\n}\nto {\n  transform: scale(1);\n  opacity: 1;\n}"]);return K=function(){return e},e}function Z(){var e=M(["\nfrom {\n  transform: scale(0) rotate(45deg);\n	opacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n  opacity: 1;\n}"]);return Z=function(){return e},e}var W=O(Z()),G=O(K()),$=O(Q()),X=S("div")(H(),function(e){return e.primary||"#ff4b4b"},W,G,function(e){return e.secondary||"#fff"},$);function Y(){var e=M(["\n  width: 12px;\n  height: 12px;\n  box-sizing: border-box;\n  border: 2px solid;\n  border-radius: 100%;\n  border-color: ",";\n  border-right-color: ",";\n  animation: "," 1s linear infinite;\n"]);return Y=function(){return e},e}function J(){var e=M(["\n  from {\n    transform: rotate(0deg);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n"]);return J=function(){return e},e}var ee=O(J()),et=S("div")(Y(),function(e){return e.secondary||"#e0e0e0"},function(e){return e.primary||"#616161"},ee);function er(){var e=M(["\n  width: 20px;\n  opacity: 0;\n  height: 20px;\n  border-radius: 10px;\n  background: ",";\n  position: relative;\n  transform: rotate(45deg);\n\n  animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n  animation-delay: 100ms;\n  &:after {\n    content: '';\n    box-sizing: border-box;\n    animation: "," 0.2s ease-out forwards;\n    opacity: 0;\n    animation-delay: 200ms;\n    position: absolute;\n    border-right: 2px solid;\n    border-bottom: 2px solid;\n    border-color: ",";\n    bottom: 6px;\n    left: 6px;\n    height: 10px;\n    width: 6px;\n  }\n"]);return er=function(){return e},e}function en(){var e=M(["\n0% {\n	height: 0;\n	width: 0;\n	opacity: 0;\n}\n40% {\n  height: 0;\n	width: 6px;\n	opacity: 1;\n}\n100% {\n  opacity: 1;\n  height: 10px;\n}"]);return en=function(){return e},e}function eo(){var e=M(["\nfrom {\n  transform: scale(0) rotate(45deg);\n	opacity: 0;\n}\nto {\n  transform: scale(1) rotate(45deg);\n	opacity: 1;\n}"]);return eo=function(){return e},e}var ei=O(eo()),ea=O(en()),es=S("div")(er(),function(e){return e.primary||"#61d345"},ei,ea,function(e){return e.secondary||"#fff"});function eu(){var e=M(["\n  position: relative;\n  transform: scale(0.6);\n  opacity: 0.4;\n  min-width: 20px;\n  animation: "," 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n"]);return eu=function(){return e},e}function el(){var e=M(["\nfrom {\n  transform: scale(0.6);\n  opacity: 0.4;\n}\nto {\n  transform: scale(1);\n  opacity: 1;\n}"]);return el=function(){return e},e}function ec(){var e=M(["\n  position: relative;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  min-width: 20px;\n  min-height: 20px;\n"]);return ec=function(){return e},e}function ed(){var e=M(["\n  position: absolute;\n"]);return ed=function(){return e},e}var ef=S("div")(ed()),eh=S("div")(ec()),ep=O(el()),ev=S("div")(eu(),ep),em=function(e){var t=e.toast,r=t.icon,n=t.type,o=t.iconTheme;return void 0!==r?"string"==typeof r?(0,c.createElement)(ev,null,r):r:"blank"===n?null:(0,c.createElement)(eh,null,(0,c.createElement)(et,Object.assign({},o)),"loading"!==n&&(0,c.createElement)(ef,null,"error"===n?(0,c.createElement)(X,Object.assign({},o)):(0,c.createElement)(es,Object.assign({},o))))};function eg(){var e=M(["\n  display: flex;\n  justify-content: center;\n  margin: 4px 10px;\n  color: inherit;\n  flex: 1 1 auto;\n  white-space: pre-line;\n"]);return eg=function(){return e},e}function ey(){var e=M(["\n  display: flex;\n  align-items: center;\n  background: #fff;\n  color: #363636;\n  line-height: 1.3;\n  will-change: transform;\n  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);\n  max-width: 350px;\n  pointer-events: auto;\n  padding: 8px 10px;\n  border-radius: 8px;\n"]);return ey=function(){return e},e}var eb=S("div",c.forwardRef)(ey()),ew=S("div")(eg()),ex=function(e,t){var r=e.includes("top")?1:-1,n=P()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:["\n0% {transform: translate3d(0,"+-200*r+"%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n","\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,"+-150*r+"%,-1px) scale(.6); opacity:0;}\n"],o=n[0],i=n[1];return{animation:t?O(o)+" 0.35s cubic-bezier(.21,1.02,.73,1) forwards":O(i)+" 0.4s forwards cubic-bezier(.06,.71,.55,1)"}},e_=(0,c.memo)(function(e){var t=e.toast,r=e.position,n=e.style,o=e.children,i=null!=t&&t.height?ex(t.position||r||"top-center",t.visible):{opacity:0},a=(0,c.createElement)(em,{toast:t}),s=(0,c.createElement)(ew,Object.assign({},t.ariaProps),k(t.message,t));return(0,c.createElement)(eb,{className:t.className,style:C({},i,n,t.style)},"function"==typeof o?o({icon:a,message:s}):(0,c.createElement)(c.Fragment,null,a,s))});function ej(){var e=M(["\n  z-index: 9999;\n  > * {\n    pointer-events: auto;\n  }\n"]);return ej=function(){return e},e}a=c.createElement,m.p=void 0,_=a,j=void 0,E=void 0;var eE=function(e,t){var r=e.includes("top"),n=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return C({left:0,right:0,display:"flex",position:"absolute",transition:P()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY("+t*(r?1:-1)+"px)"},r?{top:0}:{bottom:0},n)},eO=x(ej()),eS=function(e){var t=e.reverseOrder,r=e.position,n=void 0===r?"top-center":r,o=e.toastOptions,i=e.gutter,a=e.children,s=e.containerStyle,u=e.containerClassName,l=B(o),d=l.toasts,f=l.handlers;return(0,c.createElement)("div",{style:C({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},s),className:u,onMouseEnter:f.startPause,onMouseLeave:f.endPause},d.map(function(e){var r,o=e.position||n,s=eE(o,f.calculateOffset(e,{reverseOrder:t,gutter:i,defaultPosition:n})),u=e.height?void 0:(r=function(t){f.updateHeight(e.id,t.height)},function(e){e&&setTimeout(function(){r(e.getBoundingClientRect())})});return(0,c.createElement)("div",{ref:u,className:e.visible?eO:"",key:e.id,style:s},"custom"===e.type?k(e.message,e):a?a(e):(0,c.createElement)(e_,{toast:e,position:o}))}))};function eC(){return(0,u.jsx)(eS,{position:"bottom-right",gutter:16,containerStyle:{inset:24,zIndex:99},toastOptions:{style:{margin:0,padding:0,maxWidth:404,width:"100%",backgroundColor:"transparent",boxShadow:"none",borderRadius:0}}})}var eM=r(93967),ek=r.n(eM),eR=r(54973),eP=r(31568),eA=r(98514),eT=r.n(eA);function eL(e){let{ariaLabel:t,className:r,onClick:n}=e;return(0,u.jsx)("button",{"aria-label":t,className:ek()(eT().closeButton,r),onClick:n,children:(0,u.jsx)(eP.H,{})})}var eI=r(40020),eN=r.n(eI),eD=function(e){let{title:t,description:r,color:n=eR.P.neutral,icon:o,renderActions:i,dismissSelf:a}=e;return(0,u.jsxs)("div",{className:ek()(eN().root,eN()["color-".concat(n)]),children:[o?(0,u.jsx)("div",{className:eN().iconArea,children:o}):null,(0,u.jsxs)("div",{className:eN().contentArea,children:[t?(0,u.jsx)("p",{className:eN().title,children:t}):null,r?(0,u.jsx)("p",{className:eN().description,children:r}):null,"function"==typeof i?(0,u.jsx)("div",{className:eN().actions,children:i({dismissSelf:a})}):null]}),(0,u.jsx)("div",{className:eN().closeArea,children:(0,u.jsx)(eL,{onClick:a,ariaLabel:"Dismiss notification"})})]})},eF=r(6728),eU=r.n(eF);function ez(e){let{renderActions:t,color:r,description:n,icon:o,title:i,onDismissCallback:a=()=>null,autoDismiss:s=4e3,dismissOnRouteChange:d=!0}=e;return q(e=>{let[s,f]=(0,c.useState)(null),h=(0,l.useRouter)(),p=(0,c.useCallback)(()=>{a(),q.remove(e.id)},[e.id]);return(0,c.useEffect)(()=>{null==s?f(h.pathname):h.pathname!==s&&d&&p()},[h.pathname,s,f,p]),(0,u.jsx)(eD,{renderActions:t,color:r,description:n,icon:o,dismissSelf:p,title:i})},{duration:!1==s?1/0:"number"==typeof s&&s>0?s:4e3,className:eU().removeMarginFix})}let eV=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}},40064:function(e,t,r){"use strict";r.d(t,{Z:function(){return ei}});var n,o,i,a,s,u,l,c,d,f,h,p,v,m=r(85893),g=r(67294),y=r(43861);function b(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}var w=b()?g.useLayoutEffect:g.useEffect,x=!1,_=0;function j(e){return b()?e?e.ownerDocument:document:null}function E(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e){return null!=e}).join("--")}function O(e){return!!(e&&"[object Function]"==({}).toString.call(e))}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function C(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,g.useCallback)(function(e){for(var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return S(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(t);!(r=n()).done;)!function(e,t){if(null!=e){if(O(e))e(t);else try{e.current=t}catch(r){throw Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}}(r.value,e)},t)}function M(e,t){return function(r){if(e&&e(r),!r.defaultPrevented)return t(r)}}var k=r(73935),R=["unstable_skipInitialRender"],P=function(e){var t,r=e.children,n=e.type,o=void 0===n?"reach-portal":n,i=e.containerRef,a=(0,g.useRef)(null),s=(0,g.useRef)(null),u=(t=(0,g.useState)(Object.create(null))[1],(0,g.useCallback)(function(){t(Object.create(null))},[]));return w(function(){if(a.current){var e=a.current.ownerDocument,t=(null==i?void 0:i.current)||e.body;return s.current=null==e?void 0:e.createElement(o),t.appendChild(s.current),u(),function(){s.current&&t&&t.removeChild(s.current)}}},[o,u,i]),s.current?(0,k.createPortal)(r,s.current):(0,g.createElement)("span",{ref:a})},A=function(e){var t=e.unstable_skipInitialRender,r=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,R),n=(0,g.useState)(!1),o=n[0],i=n[1];return((0,g.useEffect)(function(){t&&i(!0)},[t]),t&&!o)?null:(0,g.createElement)(P,r)};function T(){return(T=Object.assign||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}).apply(this,arguments)}var L=["as","style"],I=(0,g.forwardRef)(function(e,t){var r=e.as,n=e.style,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,L);return(0,g.createElement)(void 0===r?"span":r,T({ref:t,style:T({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},void 0===n?{}:n)},o))}),N=["bottom","height","left","right","top","width"],D=new Map,F=function e(){var t=[];D.forEach(function(e,r){var n,o,i=r.getBoundingClientRect();n=i,o=e.rect,void 0===n&&(n={}),void 0===o&&(o={}),N.some(function(e){return n[e]!==o[e]})&&(e.rect=i,t.push(e))}),t.forEach(function(e){e.callbacks.forEach(function(t){return t(e.rect)})}),i=window.requestAnimationFrame(e)};function U(e,t,r){"boolean"==typeof t?n=t:(n=null==(a=null==t?void 0:t.observe)||a,o=null==t?void 0:t.onChange),O(r)&&(o=r);var n,o,a,s=(0,g.useState)(e.current),u=s[0],l=s[1],c=(0,g.useRef)(!1),d=(0,g.useRef)(!1),f=(0,g.useState)(null),h=f[0],p=f[1],v=(0,g.useRef)(o);return w(function(){v.current=o,e.current!==u&&l(e.current)}),w(function(){u&&!c.current&&(c.current=!0,p(u.getBoundingClientRect()))},[u]),w(function(){if(n){var t,r,o=u;if(d.current||(d.current=!0,o=e.current),o){var a=(t=o,r=function(e){null==v.current||v.current(e),p(e)},{observe:function(){var e=0===D.size;D.has(t)?D.get(t).callbacks.push(r):D.set(t,{rect:void 0,hasRectChanged:!1,callbacks:[r]}),e&&F()},unobserve:function(){var e=D.get(t);if(e){var n=e.callbacks.indexOf(r);n>=0&&e.callbacks.splice(n,1),e.callbacks.length||D.delete(t),D.size||cancelAnimationFrame(i)}}});return a.observe(),function(){a.unobserve()}}}},[n,u,e]),h}function z(){return(z=Object.assign||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}).apply(this,arguments)}function V(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var q=["label","ariaLabel","isVisible","id"],B=["ariaLabel","aria-label","as","id","isVisible","label","position","style","triggerRect"],H=["type"];(n=f||(f={})).Idle="IDLE",n.Focused="FOCUSED",n.Visible="VISIBLE",n.LeavingVisible="LEAVING_VISIBLE",n.Dismissed="DISMISSED",(o=h||(h={})).Blur="BLUR",o.Focus="FOCUS",o.GlobalMouseMove="GLOBAL_MOUSE_MOVE",o.MouseDown="MOUSE_DOWN",o.MouseEnter="MOUSE_ENTER",o.MouseLeave="MOUSE_LEAVE",o.MouseMove="MOUSE_MOVE",o.Rest="REST",o.SelectWithKeyboard="SELECT_WITH_KEYBOARD",o.TimeComplete="TIME_COMPLETE";var Q={initial:f.Idle,states:((d={})[f.Idle]={enter:W,on:((a={})[h.MouseEnter]=f.Focused,a[h.Focus]=f.Visible,a)},d[f.Focused]={enter:function(){window.clearTimeout(p),p=window.setTimeout(function(){Y({type:h.Rest})},100)},leave:function(){window.clearTimeout(p)},on:((s={})[h.MouseMove]=f.Focused,s[h.MouseLeave]=f.Idle,s[h.MouseDown]=f.Dismissed,s[h.Blur]=f.Idle,s[h.Rest]=f.Visible,s)},d[f.Visible]={on:((u={})[h.Focus]=f.Focused,u[h.MouseEnter]=f.Focused,u[h.MouseLeave]=f.LeavingVisible,u[h.Blur]=f.LeavingVisible,u[h.MouseDown]=f.Dismissed,u[h.SelectWithKeyboard]=f.Dismissed,u[h.GlobalMouseMove]=f.LeavingVisible,u)},d[f.LeavingVisible]={enter:function(){window.clearTimeout(v),v=window.setTimeout(function(){return Y({type:h.TimeComplete})},500)},leave:function(){window.clearTimeout(v),W()},on:((l={})[h.MouseEnter]=f.Visible,l[h.Focus]=f.Visible,l[h.TimeComplete]=f.Idle,l)},d[f.Dismissed]={leave:function(){W()},on:((c={})[h.MouseLeave]=f.Idle,c[h.Blur]=f.Idle,c)},d)},K={value:Q.initial,context:{id:null}},Z=[];function W(){K.context.id=null}var G=(0,g.forwardRef)(function(e,t){var r=e.label,n=e.ariaLabel,o=e.isVisible,i=e.id,a=V(e,q);return o?(0,g.createElement)(A,null,(0,g.createElement)($,z({ref:t,label:r,"aria-label":n,isVisible:o},a,{id:E("tooltip",String(i))}))):null}),$=(0,g.forwardRef)(function(e,t){var r,n=e.ariaLabel,o=e["aria-label"],i=e.as,a=e.id,s=e.isVisible,u=e.label,l=e.position,c=e.style,d=e.triggerRect,f=V(e,B),h=null!=(o||n),p=(0,g.useRef)(null),v=C(t,p),m=U(p,{observe:s});return(0,g.createElement)(g.Fragment,null,(0,g.createElement)(void 0===i?"div":i,z({role:h?void 0:"tooltip"},f,{ref:v,"data-reach-tooltip":"",id:h?void 0:a,style:z({},c,(r=void 0===l?X:l,m?r(d,m):{visibility:"hidden"}))}),u),h&&(0,g.createElement)(I,{role:"tooltip",id:a},o||n))}),X=function(e,t,r){void 0===r&&(r=8);var n,o,i,a,s=(a=(i=j(void 0)).defaultView||window,i?{width:null!=(n=i.documentElement.clientWidth)?n:a.innerWidth,height:null!=(o=i.documentElement.clientHeight)?o:a.innerHeight}:{width:0,height:0}),u=s.width,l=s.height;if(!e||!t)return{};var c={top:e.top-t.height<0,right:u<e.left+t.width,bottom:l<e.bottom+t.height+r,left:e.left-t.width<0},d=c.right&&!c.left,f=c.bottom&&!c.top;return{left:d?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px",top:f?e.top-r-t.height+window.pageYOffset+"px":e.top+r+e.height+window.pageYOffset+"px"}};function Y(e){var t=function(e,t){var r=Q.states[e.value],n=r&&r.on&&r.on[t.type];if(!n)return z({},e,{changed:!1});r&&r.leave&&r.leave(e.context,t),t.type;var o=V(t,H),i=z({},K.context,o),a="string"==typeof n?n:n.target,s=Q.states[a];return s&&s.enter&&s.enter(e.context,t),{value:a,context:i,changed:!0}}(K,e),r=t.value,n=t.context;t.changed&&(K={value:r,context:n},Z.forEach(function(e){return e(K)}))}function J(e,t){return K.context.id===e&&(t?K.value===f.Visible:K.value===f.Visible||K.value===f.LeavingVisible)}var ee=r(93967),et=r.n(ee),er=r(1733),en=r.n(er);function eo(e){let{triggerRect:t,collisionBuffer:r,themeClass:n,arrowWidth:o}=e,i=t?"".concat(Math.min(t.left-o/2+t.width/2,window.innerWidth-o-r),"px"):"auto",a=t?"".concat(t.bottom+window.scrollY+12,"px"):"auto";return(0,m.jsx)("div",{className:et()(en().arrowContainer,n),style:{"--left":i,"--top":a,"--size":o+"px"},children:(0,m.jsx)("div",{className:en().arrow})})}var ei=function(e){let{children:t,label:r,ariaLabel:n,theme:o="dark"}=e,[i,a]=function(e){var t,r,n,o,i={},a=i.id,s=i.onPointerEnter,u=i.onPointerMove,l=i.onPointerLeave,c=i.onPointerDown,d=i.onMouseEnter,p=i.onMouseMove,v=i.onMouseLeave,m=i.onMouseDown,y=i.onFocus,b=i.onBlur,O=i.onKeyDown,S=i.disabled,k=i.ref,R=i.DEBUG_STYLE,P=String(function(e){if("function"==typeof g.useId){var t,r=(0,g.useId)(e);return null!=e?e:r}var n=null!=e?e:x?++_:null,o=(0,g.useState)(n),i=o[0],a=o[1];return w(function(){null===i&&a(++_)},[]),(0,g.useEffect)(function(){!1===x&&(x=!0)},[]),null!=(t=null!=e?e:i)?t:void 0}(a)),A=(0,g.useState)(!!R||J(P,!0)),T=A[0],L=A[1],I=(0,g.useRef)(null),N=C(k,I),D=U(I,{observe:T});function F(e,t){return"undefined"!=typeof window&&"PointerEvent"in window?e:M(e,t)}function z(e){return function(t){"mouse"===t.pointerType&&e(t)}}function V(){Y({type:h.MouseEnter,id:P})}function q(){Y({type:h.MouseMove,id:P})}function B(){Y({type:h.MouseLeave})}function H(){K.context.id===P&&Y({type:h.MouseDown})}return(0,g.useEffect)(function(){var e;return e=function(){L(J(P))},Z.push(e),function(){Z.splice(Z.indexOf(e),1)}},[P]),(0,g.useEffect)(function(){var e=j(I.current);function t(e){("Escape"===e.key||"Esc"===e.key)&&K.value===f.Visible&&Y({type:h.SelectWithKeyboard})}return e.addEventListener("keydown",t),function(){return e.removeEventListener("keydown",t)}},[]),r=(t={disabled:S,isVisible:T,ref:I}).disabled,n=t.isVisible,o=t.ref,(0,g.useEffect)(function(){if("undefined"!=typeof window&&"PointerEvent"in window&&r&&n){var e=j(o.current);return e.addEventListener("mousemove",t),function(){e.removeEventListener("mousemove",t)}}function t(e){!n||e.target instanceof Element&&e.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||Y({type:h.GlobalMouseMove})}},[r,n,o]),[{"aria-describedby":T?E("tooltip",P):void 0,"data-state":T?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:N,onPointerEnter:M(s,z(V)),onPointerMove:M(u,z(q)),onPointerLeave:M(l,z(B)),onPointerDown:M(c,z(H)),onMouseEnter:F(d,V),onMouseMove:F(p,q),onMouseLeave:F(v,B),onMouseDown:F(m,H),onFocus:M(y,function(){window.__REACH_DISABLE_TOOLTIPS||Y({type:h.Focus,id:P})}),onBlur:M(b,function(){K.context.id===P&&Y({type:h.Blur})}),onKeyDown:M(O,function(e){("Enter"===e.key||" "===e.key)&&Y({type:h.SelectWithKeyboard})})},{id:P,triggerRect:D,isVisible:T},T]}(),{isVisible:s,triggerRect:u}=a,l=en()["theme-".concat(o)];return(0,m.jsxs)(m.Fragment,{children:[g.createElement("span",i,t),s?(0,m.jsx)(y.Z,{children:(0,m.jsx)(eo,{arrowWidth:16,triggerRect:u,collisionBuffer:8,themeClass:l})}):null,(0,m.jsx)(G,{...a,isVisible:s,className:et()(en().tooltip,l),label:r,"aria-label":n,position:(e,t)=>(function(e,t,r,n){let o=e.left+e.width/2-t.width/2;return{left:Math.min(Math.max(8,o),window.innerWidth-t.width-8)+window.scrollX,top:e.bottom+12+window.scrollY}})(e,t,8,0)})]})}},77118:function(e,t,r){"use strict";var n=r(85893),o=r(93967),i=r.n(o),a=r(7445),s=r.n(a);t.Z=function(e){let{children:t,className:r,maxLines:o}=e;return(0,n.jsx)("span",{className:i()(s().root,r),style:{"--max-lines":o},children:t})}},7453:function(e,t,r){"use strict";r.d(t,{P:function(){return i},h:function(){return o}});let n={boundary:"Boundary",consul:"Consul",nomad:"Nomad",packer:"Packer",terraform:"Terraform",vault:"Vault",vagrant:"Vagrant",waypoint:"Waypoint",sentinel:"Sentinel"};function o(e){let t=e.replace("hr"," hour").replace("min"," minute");return"".concat(t," tutorial.")}function i(e){let{heading:t,productsUsed:r,hasVideo:o,hasInteractiveLab:i,eyebrowSlotAriaLabel:a}=e,s="";return s+="".concat(t,"."),r.length>0&&(s+=" Uses the following products: ".concat(r.map(e=>n[e]).join(", "),".")),i&&(s+=" Tutorial has interactive lab."),o&&(s+=" Tutorial has video."),a&&(s+=" ".concat(a)),s}},20075:function(e,t,r){"use strict";r.d(t,{m:function(){return v}});var n=r(85893),o=r(85765),i=r(19085),a=r(89225),s=r(69094),u=r(23697),l=r(85798),c=r(56490),d=r(41808),f=r.n(d),h=function(e){let{status:t}=e;return(0,n.jsxs)("span",{className:f().progressIconAndLabel,children:[(0,n.jsx)(c.Z,{status:t,size:14}),(0,n.jsx)("span",{className:f().progressLabel,children:(0,i.Km)(t)})]})},p=r(7453);function v(e){let{id:t,collectionId:r,BookmarkButtonComponent:c=s.uw,...d}=e,{tutorialProgressStatus:f}=(0,o.Xm)({tutorialId:t,collectionId:r}),v=void 0!==f,m=[a.KD.in_progress,a.KD.complete].includes(f),g=v&&m;return(0,n.jsx)(l.Z,{...d,eyebrowSlotAriaLabel:g?(0,i.mi)(f):(0,p.h)(d.duration),eyebrowSlot:(0,n.jsxs)(n.Fragment,{children:[g?(0,n.jsx)(h,{status:f}):(0,n.jsx)(u.VO,{children:d.duration}),(0,n.jsx)(c,{tutorial:{id:t,name:d.heading}})]})})}},85798:function(e,t,r){"use strict";r.d(t,{m:function(){return n.m},Z:function(){return d}});var n=r(20075),o=r(85893),i=r(7126),a=r(23697),s=r(38050),u=r(7453),l=r(6803),c=r.n(l),d=function(e){let{url:t,duration:r,heading:n,description:l,productsUsed:d,hasVideo:f,hasInteractiveLab:h,eyebrowSlot:p,eyebrowSlotAriaLabel:v=(0,u.h)(r)}=e,m=[...d];h&&m.push("interactive"),f&&m.push("video");let g=(0,u.P)({heading:n,duration:r,productsUsed:d,hasVideo:f,hasInteractiveLab:h,eyebrowSlotAriaLabel:v});return(0,o.jsx)(i.Z,{ariaLabel:g,href:t,children:(0,o.jsxs)("div",{className:c().root,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(a.FD,{className:c().eyebrow,children:p||(0,o.jsx)(a.VO,{children:r})}),(0,o.jsx)(a.ll,{text:n}),(0,o.jsx)(a.SZ,{text:l})]}),(0,o.jsx)(a.eW,{children:(0,o.jsx)(s.uk,{badges:m})})]})})}},38050:function(e,t,r){"use strict";r.d(t,{uk:function(){return h}});var n=r(85893);r(93967),r(72572),r(77118),r(61786),r(82839);var o=r(35929),i=r(35155),a=r(21568),s=r(58404),u=r(59377),l=r.n(u),c=r(40064);let d={boundary:(0,n.jsx)(s.Z,{productSlug:"boundary"}),consul:(0,n.jsx)(s.Z,{productSlug:"consul"}),nomad:(0,n.jsx)(s.Z,{productSlug:"nomad"}),packer:(0,n.jsx)(s.Z,{productSlug:"packer"}),terraform:(0,n.jsx)(s.Z,{productSlug:"terraform"}),vault:(0,n.jsx)(s.Z,{productSlug:"vault"}),vagrant:(0,n.jsx)(s.Z,{productSlug:"vagrant"}),waypoint:(0,n.jsx)(s.Z,{productSlug:"waypoint"}),sentinel:(0,n.jsx)(s.Z,{productSlug:"hcp"}),video:(0,n.jsx)(o.C,{}),interactive:(0,n.jsx)(i.j,{})},f={boundary:"Boundary",consul:"Consul",nomad:"Nomad",packer:"Packer",terraform:"Terraform",vault:"Vault",vagrant:"Vagrant",waypoint:"Waypoint",sentinel:"Sentinel",video:"Video",interactive:"Interactive"};function h(e){let{badges:t}=e;return(0,n.jsx)("ul",{className:l().root,children:t.map(e=>(0,n.jsx)("li",{className:l().listItem,children:(0,n.jsx)(c.Z,{label:f[e],children:(0,n.jsx)(a.Z,{ariaLabel:f[e],icon:d[e],size:"small"})})},e))})}},56490:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(85893),o=r(93967),i=r.n(o),a=r(57909),s=r(67294);let u=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",title:o,...i}=e,a=(0,s.useMemo)(()=>o?"title-"+Math.random().toString(36).substr(2,9):void 0,[o]);return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":!o,ref:t,"aria-labelledby":a,...i,children:[o?(0,n.jsx)("title",{id:a,children:o}):null,(0,n.jsx)("path",{fill:r,fillRule:"evenodd",d:"M8 0a8 8 0 100 16A8 8 0 008 0zm0 1.5v13a6.5 6.5 0 100-13z",clipRule:"evenodd"})]})});var l=r(12150),c=r.n(l),d=function(e){let{status:t,size:r=12,isActive:o}=e,s=i()(c().progressIcon,c()["size_".concat(r)],c()["status_".concat(t)],{[c().isActive]:o});return"complete"==t?(0,n.jsx)(a.z,{className:s}):"in_progress"==t?(0,n.jsx)(u,{className:s}):null}},28186:function(e,t,r){"use strict";r.d(t,{B:function(){return u},z:function(){return s}});var n=r(85893),o=r(67294),i=r(40558);let a=(0,o.createContext)(void 0);a.displayName="DeviceSizeContext";let s=e=>{let t,r,s,u,{children:l}=e;t=(0,i.Z)("--mobile-width-breakpoint",{asNumber:!0})||728,r=(0,i.Z)("--tablet-width-breakpoint",{asNumber:!0})||1e3,s=window.matchMedia("(max-width: ".concat(t,"px)")),u=window.matchMedia("(min-width: ".concat(t+1,"px) and (max-width: ").concat(r,"px)"));let c=()=>{let e=null==s?void 0:s.matches,t=null==u?void 0:u.matches;return{isDesktop:!(e||t),isMobile:e,isTablet:t}},[d,f]=(0,o.useState)(()=>c());return(0,o.useEffect)(()=>{let e=()=>{f(c())};return s.addEventListener("change",e),u.addEventListener("change",e),()=>{s.removeEventListener("change",e),u.removeEventListener("change",e)}}),(0,n.jsx)(a.Provider,{value:d,children:l})},u=()=>{let e=(0,o.useContext)(a);if(void 0===e)throw Error("useDeviceSize must be used within a DeviceSizeProvider");return e}},80317:function(e,t,r){"use strict";r.d(t,{cD:function(){return s},zL:function(){return l.z},AN:function(){return f},R5:function(){return p},j2:function(){return u},Sn:function(){return h}});var n=r(85893),o=r(67294),i=r(11163);let a=(0,o.createContext)(void 0);a.displayName="CurrentProductContext";let s=e=>{let{children:t,currentProduct:r}=e,o="/"===(0,i.useRouter)().asPath?null:r;return(0,n.jsx)(a.Provider,{value:o,children:t})},u=()=>{let e=(0,o.useContext)(a);if(void 0===e)throw Error("useCurrentProduct must be used within a CurrentProductProvider");return e};var l=r(28186),c=r(40558);let d=(0,o.createContext)(void 0);d.displayName="MobileMenuContext";let f=e=>{let{children:t}=e,r=(0,i.useRouter)(),[a,s]=(0,o.useState)(!1),[u,l]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=(0,c.Z)("--mobile-menu-breakpoint",{asNumber:!0})||924,t=window.matchMedia("(min-width: ".concat(e,"px)")),r=()=>{s(!t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[]),!function(e){let[t,r]=(0,o.useState)(null);(0,o.useEffect)(()=>(null===t&&r(document.body.style.overflow),e?document.body.style.overflow="hidden":e||"hidden"!==document.body.style.overflow||(document.body.style.overflow=t),()=>{document.body.style.overflow=t}),[e])}(u),(0,o.useEffect)(()=>{if(!a){l(!1);return}let e=()=>{u&&l(!1)};return r.events.on("routeChangeComplete",e),r.events.on("routeChangeError",e),r.events.on("hashChangeComplete",e),()=>{r.events.off("routeChangeComplete",e),r.events.off("routeChangeError",e),r.events.off("hashChangeComplete",e)}},[a,u,r.events]),(0,n.jsx)(d.Provider,{value:{isMobileMenuRendered:a,mobileMenuIsOpen:u,setMobileMenuIsOpen:l},children:t})},h=()=>{let e=(0,o.useContext)(d);if(void 0===e)throw Error("useMobileMenu must be used within a MobileMenuProvider");return e},p=(0,o.createContext)(null)},13993:function(e,t,r){"use strict";r.d(t,{b3:function(){return u},AK:function(){return h},I9:function(){return v},am:function(){return g}});var n=r(3471),o=r(32103);let i="/bookmarks",a=async e=>{let{accessToken:t}=e,r=await (0,o.U2)(i,t);if(r.ok){let{result:e}=await r.json();return e}throw await (0,o.KC)(r)};var s=r(57503);let u=e=>{let{enabled:t=!0}=e,r=(0,n.useQueryClient)(),{isAuthenticated:o,session:i}=(0,s.Z)(),u=null==i?void 0:i.accessToken,{data:l,...c}=(0,n.useQuery)(["bookmarks"],()=>a({accessToken:u}),{enabled:t&&o&&!!u,onSuccess:e=>{e.forEach(e=>{r.setQueryData(["isBookmarked",e.tutorial_id],!0)})}});return{bookmarks:l,...c}};var l=r(67294),c=r(42480);let d=async e=>{let{accessToken:t,tutorialId:r}=e,n="".concat(i,"/").concat(r),a=await (0,o.v_)(n,t);if(a.ok){let{result:e}=await a.json();return e}throw await (0,o.KC)(a)},f=async e=>{let{accessToken:t,tutorialId:r}=e,n="".concat(i,"/").concat(r),a=await (0,o.ob)(n,t);if(!a.ok)throw await (0,o.KC)(a)},h=()=>{let e=(0,n.useQueryClient)(),{session:t}=(0,s.Z)(),r=null==t?void 0:t.accessToken,o=t=>(r,n)=>{let o=n.tutorialId,i=!1;"add"===t&&(i=!0),e.setQueryData(["isBookmarked",o],i),e.invalidateQueries(["bookmarks"])},i=e=>t=>{"401 Unauthorized"===t.message&&(0,c.GN)({color:c.PQ.critical,title:"TODO",description:"Show a modal on `".concat(e,"` if not authenticated")})},a=(0,n.useMutation)(d,{onSuccess:o("add"),onError:i("addBookmark")}),u=(0,l.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.mutate({accessToken:r,tutorialId:e},t)},[a,r]),h=(0,n.useMutation)(f,{onSuccess:o("remove"),onError:i("removeBookmark")});return{addBookmark:u,removeBookmark:(0,l.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.mutate({accessToken:r,tutorialId:e},t)},[r,h])}},p=async e=>{let{accessToken:t,tutorialIds:r}=e,n=r.join(","),a="".concat(i,"?tutorialIds=").concat(n),s=await (0,o.U2)(a,t);if(s.ok){let{result:e}=await s.json();return e}throw await (0,o.KC)(s)},v=e=>{let{enabled:t=!0,tutorialIds:r}=e,o=(0,n.useQueryClient)(),{isAuthenticated:i,session:a}=(0,s.Z)(),u=null==a?void 0:a.accessToken,{data:l,...c}=(0,n.useQuery)(["bookmarks",{tutorialIds:r}],()=>p({accessToken:u,tutorialIds:r}),{enabled:t&&i&&!!u,onSuccess:e=>{r.forEach(t=>{let r=!!e.find(e=>e.tutorial_id===t);o.setQueryData(["isBookmarked",t],r)})}});return{bookmarks:l,...c}},m=async e=>{let{accessToken:t,tutorialId:r}=e,n="".concat(i,"/").concat(r),a=await (0,o.U2)(n,t);if(404===a.status)return null;if(a.ok){let{result:e}=await a.json();return e}throw await (0,o.KC)(a)},g=e=>{let{tutorialId:t}=e,{isAuthenticated:r,session:o}=(0,s.Z)(),i=null==o?void 0:o.accessToken,{data:a,...u}=(0,n.useQuery)(["isBookmarked",t],()=>m({accessToken:i,tutorialId:t}).then(e=>!!e),{enabled:r&&!!i});return{isBookmarked:a,...u}}},85765:function(e,t,r){"use strict";r.d(t,{Uj:function(){return C},B8:function(){return O},Pr:function(){return S},N2:function(){return u},Xm:function(){return l},ee:function(){return c},Q0:function(){return E}});var n=r(67294),o=r(3471),i=r(57503),a=r(19085);function s(e){let t;let r=(0,o.useQueryClient)().getQueryState(e,{exact:!1});if(void 0!==r){let{dataUpdateCount:e,fetchFailureCount:n}=r;t=e>0||n>0}else t=!0;return t}function u(e){let{collectionId:t}=e,{isAuthenticated:r,session:u}=(0,i.Z)(),l=null==u?void 0:u.accessToken,c=s([O]),d=!!l&&r&&c,{data:f,...h}=(0,o.useQuery)([C,t],(0,n.useCallback)(()=>(0,a.xC)({accessToken:l,collectionIds:[t]}),[l,t]),{enabled:d});return{data:f,...h}}r(47554);let l=e=>{let{tutorialId:t,collectionId:r}=e,{isAuthenticated:u,session:l}=(0,i.Z)(),c=null==l?void 0:l.accessToken,d=s([O]),f=u&&!!c&&d,{data:h,...p}=(0,o.useQuery)([S,t,r],(0,n.useCallback)(()=>(0,a.X$)({accessToken:c,tutorialId:t,collectionId:r}),[c,t,r]),{enabled:f,select:e=>null==e?null:(0,a.qb)(e.complete_percent)});return{tutorialProgressStatus:h,...p}},c=()=>{let e=(0,o.useQueryClient)(),{session:t}=(0,i.Z)(),r=null==t?void 0:t.accessToken,s=()=>(t,r)=>{let{tutorialId:n,collectionId:o}=r;e.setQueryData([S,n,o],t),e.invalidateQueries([C,o])},u=(0,o.useMutation)(a.TM,{onSuccess:s()}),l=(0,n.useCallback)(e=>{let{tutorialId:t,collectionId:n,completePercent:o,options:i}=e;u.mutate({accessToken:r,tutorialId:t,collectionId:n,completePercent:o},i)},[u,r]),c=(0,o.useMutation)(a.ak,{onSuccess:s()}),d=(0,n.useCallback)(e=>{let{tutorialId:t,collectionId:n,completePercent:o,options:i}=e;c.mutate({accessToken:r,tutorialId:t,collectionId:n,completePercent:o},i)},[c,r]),{status:f}=u,{status:h}=c,p=["idle","success"];return{createTutorialProgress:l,updateTutorialProgress:d,isReady:p.includes(f)&&p.includes(h)}};function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=new Map,p=new WeakMap,v=0,m=void 0;function g(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=m),void 0===window.IntersectionObserver&&void 0!==n){var o=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var i=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(p.has(r)||(v+=1,p.set(r,v.toString())),p.get(r)):"0":e[t])}).toString(),r=h.get(t);if(!r){var n,o=new Map,i=new IntersectionObserver(function(t){t.forEach(function(t){var r,i=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=o.get(t.target))||r.forEach(function(e){e(i,t)})})},e);n=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:i,elements:o},h.set(t,r)}return r}(r),a=i.id,s=i.observer,u=i.elements,l=u.get(e)||[];return u.has(e)||u.set(e,l),l.push(t),s.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(u.delete(e),s.unobserve(e)),0===u.size&&(s.disconnect(),h.delete(a))}}var y=["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function b(e){return"function"!=typeof e.children}var w=function(e){function t(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),b(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f(t,e);var r=t.prototype;return r.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},r.componentWillUnmount=function(){this.unobserve(),this.node=null},r.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,o=e.trackVisibility,i=e.delay,a=e.fallbackInView;this._unobserveCb=g(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:o,delay:i},a)}},r.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},r.render=function(){if(!b(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var o=this.props,i=o.children,a=o.as,s=o.tag,u=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,y);return n.createElement(a||s||"div",d({ref:this.handleNode},u),i)},t}(n.Component);function x(e){var t=void 0===e?{}:e,r=t.threshold,o=t.delay,i=t.trackVisibility,a=t.rootMargin,s=t.root,u=t.triggerOnce,l=t.skip,c=t.initialInView,d=t.fallbackInView,f=n.useRef(),h=n.useState({inView:!!c}),p=h[0],v=h[1],m=n.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!l&&e&&(f.current=g(e,function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&f.current&&(f.current(),f.current=void 0)},{root:s,rootMargin:a,threshold:r,trackVisibility:i,delay:o},d))},[Array.isArray(r)?r.toString():r,s,a,u,l,i,d,o]);(0,n.useEffect)(function(){f.current||!p.entry||u||l||v({inView:!!c})});var y=[m,p.inView,p.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}w.displayName="InView",w.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};var _=r(44422),j=r(89225);function E(e){let{tutorialId:t,collectionId:r}=e,{isAuthenticated:o}=(0,i.Z)(),{tutorialProgressStatus:a}=l({tutorialId:t,collectionId:r}),s=c(),[u,d,f]=x({initialInView:!0}),[h,p,v]=x();return(0,n.useEffect)(()=>{let e;if(!function(e){let{startEntry:t,endEntry:r,tutorialId:n,collectionId:o,isAuthenticated:i,tutorialProgressStatus:a,tutorialProgressMutations:s}=e;if(!i||"complete"==a||void 0===a||!s.isReady)return!1;let u=null==t?void 0:t.target.getAttribute("data-ref-id"),l=null==r?void 0:r.target.getAttribute("data-ref-id"),c="".concat(n,"_").concat(o);return u===c&&l===c}({startEntry:f,endEntry:v,tutorialId:t,collectionId:r,isAuthenticated:o,tutorialProgressStatus:a,tutorialProgressMutations:s}))return;e=p?j.KD.complete:d?j.KD.visited:j.KD.in_progress;let n=(0,_.g7)(a),i=(0,_.g7)(e),u=parseInt(i)>parseInt(n),l=null===a;(l||u)&&function(e){let{tutorialId:t,collectionId:r,tutorialProgressMutations:n,needsInitialProgress:o,completePercent:i}=e,a={tutorialId:t,collectionId:r,completePercent:i};o?n.createTutorialProgress(a):n.updateTutorialProgress(a)}({tutorialId:t,collectionId:r,tutorialProgressMutations:s,needsInitialProgress:l,completePercent:i})},[t,r,d,p,v,f,o,a,s]),{startRef:u,endRef:h}}let O="progressBatch",S="tutorialProgress",C="collectionProgress"},47554:function(e,t,r){"use strict";r.d(t,{_:function(){return s}});var n=r(3471),o=r(57503),i=r(19085),a=r(85765);function s(e){let{tutorials:t=[],collections:r=[]}=e,s=Array.from(new Set(t.map(e=>e.tutorialId))),u=Array.from(new Set(r)),l=(0,n.useQueryClient)(),{isAuthenticated:c,session:d}=(0,o.Z)(),f=null==d?void 0:d.accessToken,{data:h,...p}=(0,n.useQuery)([a.B8,{tutorialIds:s}],()=>(0,i.xC)({accessToken:f,tutorialIds:s,collectionIds:u}),{enabled:c&&!!f,onSuccess:e=>{t.forEach(t=>{let{tutorialId:r,collectionId:n}=t,o=e.filter(e=>e.tutorial_id==r&&e.collection_id==n),i=o.length>0?o[0]:null;l.setQueryData([a.Pr,r,n],i)}),r.forEach(t=>{let r=e.filter(e=>e.collection_id==t);l.setQueryData([a.Uj,t],r)})}});return{data:h,...p}}},57503:function(e,t,r){"use strict";r.d(t,{O:function(){return h},Z:function(){return p}});var n,o,i,a=r(67294),s=r(11163),u=r(33299);(o||(o={})).CloudIdp="cloud-idp",(n=i||(i={})).RefreshAccessTokenError="[next-auth] RefreshAccessTokenError",n.RefreshAccessTokenExpiredError="[next-auth] RefreshAccessTokenError: token_inactive";let l=e=>{let{routerPath:t}=e;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{callbackUrl:n=t,redirect:o=!0}=r;return(0,u.signIn)(e,{callbackUrl:n,redirect:o})}},c=e=>{let{routerPath:t}=e;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{callbackUrl:r="/profile/bookmarks"===t?"/":t,redirect:n=!0}=e;return(0,u.signOut)({callbackUrl:r,redirect:n})}},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{screen_hint:n="signup",...o}=r;return(0,u.signIn)(e,t,{screen_hint:n,...o})};var f=r(54063);let h=o.CloudIdp;var p=function(){let e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,s.useRouter)(),o=(0,a.useMemo)(()=>l({routerPath:n.asPath}),[n.asPath]),h=(0,a.useMemo)(()=>c({routerPath:n.asPath}),[n.asPath]),{isRequired:p=!1,onUnauthenticated:v=()=>o()}=r,{data:m,status:g,update:y}=(0,u.useSession)({required:p,onUnauthenticated:v}),b="authenticated"===g&&(null==m?void 0:m.error)!==i.RefreshAccessTokenError;if((0,a.useEffect)(()=>{(null==m?void 0:m.error)===i.RefreshAccessTokenError&&h()},[null==m?void 0:m.error,h]),b){e={...m},t=m.user,delete e.user;let r=(0,f.PX)();if((0,f.eI)()&&r!==e.id){var w;null===(w=window.analytics)||void 0===w||w.identify(e.id,{email:t.email,devPortalSignUp:!0})}}return{isAuthenticated:b,isLoading:"loading"===g,session:e,update:y,signIn:o,signOut:h,signUp:d,user:t}}},54063:function(e,t,r){"use strict";r.d(t,{OQ:function(){return u},Of:function(){return o},PX:function(){return s},eI:function(){return a},gE:function(){return n},iH:function(){return i}});let n=()=>{},o=()=>window.analytics&&window.analytics.track&&"function"==typeof window.analytics.track,i=(e,t)=>{o()&&window.analytics.track(e,t)},a=()=>!!window.analytics&&!!window.analytics.user&&"function"==typeof window.analytics.user;function s(){return a()?window.analytics.user().id():null}let u=e=>{let{architecture:t,prettyOSName:r,productSlug:n,version:o}=e,a=t.toLowerCase();i("Download",{architecture:a.charAt(0).toUpperCase()+a.slice(1),operating_system:r,product:n,version:o})}},94875:function(e,t,r){"use strict";r.d(t,{F6:function(){return u},ky:function(){return l}});var n=r(85893),o=r(4298),i=r.n(o);let a="4a66bc5a07f83b9e85a7f3573149de0794123fa7",s="(function(h,o,u,n,d) {\n  h=h[d]=h[d]||{q:[],onReady:function(c){h.q.push(c)}}\n  d=o.createElement(u);d.async=1;d.src=n\n  n=o.getElementsByTagName(u)[0];n.parentNode.insertBefore(d,n)\n})(window,document,'script','".concat("https://www.datadoghq-browser-agent.com/datadog-rum-v4.js","','DD_RUM')\n DD_RUM.onReady(function() {\n   DD_RUM.init({\n     clientToken: '").concat("pubd5cf774aa1cbbd001accd50cb463925b","',\n     applicationId: '").concat("40a2019f-88ad-4076-ab52-ffd074064eed","',\n     site: 'datadoghq.com',\n     service: '").concat("non-prod.developer.hashicorp.com","',\n     env: '").concat("project-preview","', \n     ").concat(a?"version: '".concat(a,"',"):"","\n     sampleRate: 100,\n     premiumSampleRate: 0,\n     sessionReplaySampleRate: 0,\n     trackInteractions: true,\n     defaultPrivacyLevel: 'mask-user-input'\n   })\n })");function u(){return(0,n.jsx)("link",{rel:"prefetch",href:"https://www.datadoghq-browser-agent.com/datadog-rum-v4.js"})}function l(){return(0,n.jsx)(i(),{id:"datadog-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:s}})}},40558:function(e,t,r){"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=getComputedStyle(document.documentElement).getPropertyValue(e);return(t.asNumber&&(r=parseInt(r,10)),t.fallback&&(""===r||Number.isNaN(r)))?t.fallback:r}r.d(t,{Z:function(){return n}})},44422:function(e,t,r){"use strict";r.d(t,{Km:function(){return s},g7:function(){return i},mi:function(){return l},qb:function(){return o}});var n=r(89225);function o(e){return"100"===e?n.KD.complete:"0"===e?n.KD.visited:n.KD.in_progress}function i(e){return e===n.KD.complete?n.XZ.OneHundred:e===n.KD.in_progress?n.XZ.Fifty:n.XZ.Zero}let a={visited:"Visited",in_progress:"In progress",complete:"Complete"};function s(e){return a[e]}let u={visited:"Tutorial is visited.",in_progress:"Tutorial is in progress.",complete:"Tutorial is complete."};function l(e){return u[e]}},19085:function(e,t,r){"use strict";r.d(t,{kD:function(){return d},TM:function(){return a},xC:function(){return c},X$:function(){return i},qb:function(){return u.qb},mi:function(){return u.mi},Km:function(){return u.Km},ak:function(){return s}});var n=r(32103);function o(e){let{collectionId:t,tutorialId:r}=e;return"/collections/".concat(t,"/tutorials/").concat(r,"/progress")}let i=async e=>{let{accessToken:t,tutorialId:r,collectionId:i}=e,a=o({collectionId:i,tutorialId:r}),s=await (0,n.U2)(a,t);if(404===s.status)return null;if(s.ok){let{result:e}=await s.json();return e}throw await (0,n.KC)(s)},a=async e=>{let{accessToken:t,tutorialId:r,collectionId:i,completePercent:a}=e,s=o({collectionId:i,tutorialId:r}),u=await (0,n.v_)(s,t,{complete_percent:a});if(u.ok){let{result:e}=await u.json();return e}throw await (0,n.KC)(u)},s=async e=>{let{accessToken:t,tutorialId:r,collectionId:i,completePercent:a}=e,s=o({collectionId:i,tutorialId:r}),u=await (0,n.gz)(s,t,{complete_percent:a});if(404===u.status)return null;if(u.ok){let{result:e}=await u.json();return e}throw await (0,n.KC)(u)};var u=r(44422),l=r(17563);let c=async e=>{let{accessToken:t,tutorialIds:r,collectionIds:o}=e,i=d,a=l.stringify({tutorialIds:r,collectionIds:o},{arrayFormat:"comma"});""!==a&&(i+="?".concat(a));let s=await (0,n.U2)(i,t);if(s.ok){let{result:e}=await s.json();return e}throw await (0,n.KC)(s)},d="/progress"},32103:function(e,t,r){"use strict";function n(e,t){let r={method:"GET"};return t&&(r.headers={Authorization:"Bearer ".concat(t)}),fetch("".concat("https://2mz7e9hai3.us-east-1.awsapprunner.com").concat(e),r)}function o(e,t,r){return fetch("".concat("https://2mz7e9hai3.us-east-1.awsapprunner.com").concat(e),{method:"PUT",headers:{Authorization:"Bearer ".concat(t),"Content-type":"application/json"},body:JSON.stringify(r)})}function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return fetch("".concat("https://2mz7e9hai3.us-east-1.awsapprunner.com").concat(e),{method:"POST",headers:{Authorization:"Bearer ".concat(t),"Content-type":"application/json"},body:JSON.stringify(r)})}function a(e,t){return fetch("".concat("https://2mz7e9hai3.us-east-1.awsapprunner.com").concat(e),{method:"DELETE",headers:{Authorization:"Bearer ".concat(t)}})}async function s(e){let t;try{t=await e.json()}catch(e){}return Error("".concat(e.status," ").concat(e.statusText).concat((null==t?void 0:t.error)?" - ".concat(t.error):""))}r.d(t,{KC:function(){return s},U2:function(){return n},gz:function(){return o},ob:function(){return a},v_:function(){return i}})},89225:function(e,t,r){"use strict";var n,o,i,a,s,u,l,c,d,f,h,p,v,m,g,y,b,w,x,_;function j(e){return Object.values(n).includes(e)}function E(e){return Object.values(o).includes(e)}r.d(t,{Bw:function(){return u},FS:function(){return o},KD:function(){return d},QD:function(){return E},XZ:function(){return f},ZN:function(){return i},ig:function(){return j},tK:function(){return s},xp:function(){return c}}),(h=n||(n={})).boundary="boundary",h.consul="consul",h.nomad="nomad",h.packer="packer",h.terraform="terraform",h.vagrant="vagrant",h.vault="vault",h.waypoint="waypoint",h.sentinel="sentinel",(p=o||(o={}))["well-architected-framework"]="well-architected-framework",p["validated-patterns"]="validated-patterns",(v=i||(i={})).openSource="open_source",v.enterprise="enterprise",v.hcp="hcp",v.tfcFree="tfc:free",v.tfcStandard="tfc:standard",v.tfcPlus="tfc:plus",(m=a||(a={})).cloud="cloud",m.hashicorp="hashicorp",(g=s||(s={})).get_started="Get Started",g.fundamentals="Fundamentals",g.use_cases="Use Cases",g.certification="Certification Prep",g.production="Production",g.integrations="Integrations",g.kubernetes="Kubernetes",g.operations="Operations",(y=u||(u={})).youtube="youtube",y.wistia="wistia",(b=l||(l={})).katacoda="katacoda",b.instruqt="instruqt",(w=c||(c={})).docker="docker",w.github="github",w["microsoft-azure"]="microsoft-azure",w.oci="oci",w["google-cloud"]="google-cloud",w["terraform-cloud"]="terraform-cloud",w.aws="aws",(x=d||(d={})).visited="visited",x.in_progress="in_progress",x.complete="complete",(_=f||(f={})).Zero="0",_.TwentyFive="25",_.Fifty="50",_.SeventyFive="75",_.Ninety="90",_.OneHundred="100"},76126:function(e,t,r){"use strict";r.d(t,{JA:function(){return c},Mc:function(){return s},Pw:function(){return u},iL:function(){return a},kb:function(){return o},lF:function(){return l},lW:function(){return i},tC:function(){return n}});let n={hcp:"HashiCorp Cloud Platform",terraform:"Terraform",packer:"Packer",consul:"Consul",vault:"Vault",boundary:"Boundary",nomad:"Nomad",waypoint:"Waypoint",vagrant:"Vagrant",sentinel:"Sentinel"},o={boundary:"boundaryproject.io",consul:"consul.io",hcp:"cloud.hashicorp.com",nomad:"nomadproject.io",packer:"packer.io",sentinel:"docs.hashicorp.com",terraform:"terraform.io",vagrant:"vagrantup.com",vault:"vaultproject.io",waypoint:"waypointproject.io"},i=[{title:"Infrastructure Lifecycle Management",products:[{product:"Terraform",url:"/terraform",description:"Manage infrastructure as code"},{product:"Packer",url:"/packer",description:"Build machine images"},{product:"Nomad",url:"/nomad",description:"Orchestrate workloads"},{product:"Waypoint",url:"/waypoint",description:"Standardize application patterns"},{product:"Vagrant",url:"/vagrant",description:"Build developer environments"}]},{title:"Security Lifecycle Management",products:[{product:"Vault",url:"/vault",description:"Centrally manage secrets"},{product:"Boundary",url:"/boundary",description:"Secure remote access"},{product:"HCP Vault Secrets",url:"/hcp/docs/vault-secrets",description:"Manage secrets as a service"},{product:"Consul",url:"/consul",description:"Secure network services"},{product:"HCP Vault Radar",url:"/hcp/docs/vault-radar",description:"Scan for embedded secrets"}]}],a=[{title:"Infrastructure Lifecycle Management",products:[{product:"Terraform",url:"/terraform",description:"Manage infrastructure as code"},{product:"Packer",url:"/packer",description:"Build machine images"},{product:"Nomad",url:"/nomad",description:"Orchestrate workloads"},{product:"Waypoint",url:"/waypoint",description:"Standardize application patterns"},{product:"Vagrant",url:"/vagrant",description:"Build developer environments"}]},{title:"Security Lifecycle Management",products:[{product:"Vault",url:"/vault",description:"Centrally manage secrets"},{product:"HCP Vault Secrets",url:"/hcp/docs/vault-secrets",description:"Manage secrets as a service"},{product:"HCP Vault Radar",url:"/hcp/docs/vault-radar",description:"Scan for embedded secrets"},{product:"Boundary",url:"/boundary",description:"Secure remote access"},{product:"Consul",url:"/consul",description:"Secure network services"}]}],s={title:"HashiCorp Cloud Platform",description:"Get started in minutes with our cloud products",linkUrl:"/hcp",linkTitle:"All HCP Products",icon:"hashicorp",theme:"default"},u={label:"Learn",navItems:[{title:"Certifications",description:"Get HashiCorp certified",url:"/certifications",icon:"award"},{title:"Tutorials",description:"Learn HashiCorp products",url:"/tutorials",icon:"learn"},{title:"Validated Patterns",description:"Field-tested patterns for using HashiCorp products",url:"/validated-patterns",icon:"check-circle"},{title:"Well-Architected Framework",description:"Adopt HashiCorp best practices",url:"/well-architected-framework",icon:"layers"}]};function l(e){return Object.keys(n).includes(e)}let c=Object.keys(n);c.map(e=>({name:n[e],slug:e}))},14283:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return z}});var n=r(85893),o=r(67294),i=r(78831),a=r(35800),s=r(70398),u=r(81879);function l({children:e,features:t,strict:r=!1}){let[,n]=(0,o.useState)(!c(t)),i=(0,o.useRef)(void 0);if(!c(t)){let{renderer:e,...r}=t;i.current=e,(0,u.K)(r)}return(0,o.useEffect)(()=>{c(t)&&t().then(({renderer:e,...t})=>{(0,u.K)(t),i.current=e,n(!0)})},[]),o.createElement(s.u.Provider,{value:{renderer:i.current,strict:r}},e)}function c(e){return"function"==typeof e}var d=r(33299),f=r(3471);/**
 * react-query-devtools-noop
 *
 * Copyright (c) TanStack
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function h(){return null}var p=r(11163),v=/(?:(?![#\?])[\s\S])+/,m=(0,o.memo)(function(e){var t=e.children,r=e.shallow,n=void 0===r||r,i=(0,p.useRouter)(),a=i.asPath.match(v),s=a?a[0]:i.asPath,u=(0,o.useMemo)(function(){return"undefined"==typeof window?{search:i.asPath.replace(v,"")}:i.isReady?window.location:{search:""}},[i.asPath,i.isReady]);return t((0,o.useMemo)(function(){function e(e){return function(t){var r=t.hash,o=t.search;e({pathname:i.pathname,search:o,hash:r},{pathname:s,search:o,hash:r},{shallow:n,scroll:!1})}}return{push:e(i.push),replace:e(i.replace),location:u}},[u,s,i,n]))}),g=r(24003),y=r(39332),b=()=>{window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)})};function w(){return false}var x="https://va.vercel-scripts.com/v1/speed-insights",_=`${x}/script.js`,j=`${x}/script.debug.js`;function E(e){let t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let r=function(e={}){var t;if(!("undefined"!=typeof window)||null===e.route)return null;b();let r=!!e.dsn,n=e.scriptSrc||(r?_:"/_vercel/speed-insights/script.js");if(document.head.querySelector(`script[src*="${n}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let o=document.createElement("script");return o.src=n,o.defer=!0,o.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),o.dataset.sdkv="1.0.10",e.sampleRate&&(o.dataset.sampleRate=e.sampleRate.toString()),e.route&&(o.dataset.route=e.route),e.endpoint&&(o.dataset.endpoint=e.endpoint),e.dsn&&(o.dataset.dsn=e.dsn),o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}({framework:e.framework||"react",...e});r&&(t.current=r.setRoute)}},[e.route]),null}var O=()=>{let e=(0,y.useParams)(),t=(0,y.useSearchParams)(),r=(0,y.usePathname)(),n={...Object.fromEntries(t.entries()),...e||{}};return e?function(e,t){if(!e||!t)return e;let r=e;try{for(let[e,n]of Object.entries(t)){let t=Array.isArray(n),o=t?n.join("/"):n,i=t?`...${e}`:e,a=RegExp(`/${o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`);a.test(r)&&(r=r.replace(a,`/[${i}]`))}return r}catch(t){return e}}(r,n):null};function S(e){let t=O();return o.createElement(E,{route:t,...e,framework:"next"})}function C(e){return o.createElement(o.Suspense,{fallback:null},o.createElement(S,{...e}))}var M=r(85622);r(94057);var k=r(80317),R=r(54063),P=r(13038),A=r(9008),T=r.n(A);function L(e){var t;return"string"!=typeof e.image||(t=e.image,/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(t))||console.error('Error: HashiHead "props.image" must be an absolute URL. Non-absolute URL detected: "'.concat(e.image,'". Please provide a fully qualified absolute URL or "props.image".')),(0,n.jsxs)(T(),{children:[N(e.title,(0,n.jsx)("title",{children:e.title})),(0,n.jsx)("meta",{httpEquiv:"x-ua-compatible",content:"ie=edge"}),(0,n.jsx)("meta",{property:"og:locale",content:"en_US"},"og:locale"),(0,n.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,n.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/HashiCorp/"},"article:publisher"),(0,n.jsx)("meta",{name:"twitter:site",content:"@HashiCorp"},"twitter:site"),(0,n.jsx)("meta",{name:"twitter:card",content:e.twitterCard||"summary_large_image"},"twitter:card"),(0,n.jsx)("meta",{name:"theme-color",content:"#000"},"themeColor"),N(e.description,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",property:"og:description",content:e.description},"description"),(0,n.jsx)("meta",{name:"twitter:description",content:e.description},"twitterDescription")]})),N(e.siteName,(0,n.jsx)("meta",{property:"og:site_name",content:e.siteName},"og:site_name")),N(e.pageName,(0,n.jsx)("meta",{property:"og:title",content:e.pageName},"og:title")),N(e.image,(0,n.jsx)("meta",{property:"og:image",content:e.image},"og:image")),N(e.canonicalUrl,(0,n.jsx)("link",{rel:"canonical",href:e.canonicalUrl},"canonical")),I(e.preload,e=>{let{href:t,...r}=e;return(0,o.createElement)("link",{href:t,...r,rel:"preload",key:t})}),I(e.icon,e=>{let{href:t,...r}=e;return(0,o.createElement)("link",{href:t,...r,rel:"icon",key:t})}),I(e.stylesheet,e=>{let{href:t,...r}=e;return(0,o.createElement)("link",{href:t,...r,rel:"stylesheet",key:t})}),e.children]})}let I=(e,t)=>Array.isArray(e)?e.map(t):null,N=(e,t)=>"string"==typeof e?t:null,D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://developer.hashicorp.com",{asPath:t}=(0,p.useRouter)(),r=new URL(t,e);return r.search="",r.toString()};function F(e){var t,r;let o,i;let{name:a,slug:s}=null!==(t=(0,k.j2)())&&void 0!==t?t:{},u=D(),l=["HashiCorp Developer"],c=null!==(r=e.description)&&void 0!==r?r:"Explore {product} product documentation, tutorials, and examples.";a&&l.unshift(a),e.title&&l.unshift(e.title);let d=l.join(" | "),f=c.replace("{product}",null!=a?a:"HashiCorp"),h=e.localOgImage||"".concat(null!=s?s:"base",".jpg"),p="".concat("https://developer.hashicorp.com","/og-image/").concat(h);return o="/favicon.ico",i="/favicon.svg",(0,n.jsxs)(L,{title:d,siteName:d,pageName:d,description:f,image:p,canonicalUrl:u,children:[(0,n.jsx)("link",{rel:"icon",href:o,sizes:"48x48"}),(0,n.jsx)("link",{rel:"icon",href:i,sizes:"any",type:"image/svg+xml"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,n.jsx)("meta",{name:"google-site-verification",content:"zRQZqfAsOX-ypXfU0mzAIzb5rUvj5fA4Zw2jWJRN-JI"}),(0,n.jsx)("meta",{name:"ahrefs-site-verification",content:"9d739b21c466a84dae91df1c79396081a9072152e64f765c9390fed6f249fb84"}),(0,n.jsx)("meta",{name:"zd-site-verification",content:"xnvnvv1i0wl4tf0pzaymb","data-product":"hcp"},"xnvnvv1i0wl4tf0pzaymb"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"36fp2i1pj67d8cjtzf4fi9","data-product":"terraform"},"36fp2i1pj67d8cjtzf4fi9"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"nbe87kfyp1sck7b13vj1i","data-product":"packer"},"nbe87kfyp1sck7b13vj1i"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"wvsmmqa1cfb9am9zlwfj","data-product":"consul"},"wvsmmqa1cfb9am9zlwfj"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"cw22oopfwr68ujj0n5pn9i","data-product":"boundary"},"cw22oopfwr68ujj0n5pn9i"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"lkslvganwfgfqfwpdeicgh","data-product":"vault"},"lkslvganwfgfqfwpdeicgh"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"jl2wp2hoej9rz6c8rmqdns","data-product":"nomad"},"jl2wp2hoej9rz6c8rmqdns"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"2eb0cu6xceo73t0038m0tb","data-product":"waypoint"},"2eb0cu6xceo73t0038m0tb"),(0,n.jsx)("meta",{name:"zd-site-verification",content:"n52xisxdf3higs2q9kuogd","data-product":"vagrant"},"n52xisxdf3higs2q9kuogd"),(0,n.jsx)("meta",{name:"twitter:image",content:p},"twitter:image")]})}var U=r(42480);function z(e){let t,{Component:s,pageProps:{session:u,...c}}=e;(0,o.useEffect)(()=>{if(window.requestIdleCallback&&window.analytics)return t=window.requestIdleCallback(()=>{let e=window.location.hash;if(e.length<1)return;let t=[].slice.call(document.querySelectorAll(".__target-lic, .__target-h")).find(t=>t.id===e.replace(/^#/,""));window.analytics.track("Anchor Link Pageview",{hash:e,hit:!!t})}),()=>window.cancelIdleCallback(t)}),(0,o.useEffect)(()=>(0,R.gE)(),[]);let[p]=(0,o.useState)(()=>new f.QueryClient({defaultOptions:{queries:{staleTime:1/0}}})),v=c.product||null;return(0,n.jsx)(f.QueryClientProvider,{client:p,children:(0,n.jsx)(i.HK,{children:(0,n.jsx)(g.QueryParamProvider,{adapter:m,children:(0,n.jsx)(a.ErrorBoundary,{FallbackComponent:P.wm,children:(0,n.jsx)(d.SessionProvider,{session:u,children:(0,n.jsx)(k.zL,{children:(0,n.jsxs)(k.cD,{currentProduct:v,children:[(0,n.jsx)(F,{...c.metadata}),(0,n.jsxs)(l,{features:()=>Promise.all([r.e(3305),r.e(6246)]).then(r.bind(r,86246)).then(e=>e.default),strict:!1,children:[(0,n.jsx)(s,{...c}),(0,n.jsx)(U.x7,{}),(0,n.jsx)(h,{}),(0,n.jsx)(C,{sampleRate:.05})]})]})})})})})})})}r(41790),r(87309),r(34155).env.AXE_ENABLED&&Promise.resolve().then(r.t.bind(r,73935,19)).then(e=>{Promise.all([r.e(209),r.e(6091)]).then(r.t.bind(r,26091,23)).then(t=>{t.default(o,e,1e3)})}),(0,M.NR)(),(0,M.FC)(e=>{(0,M.j)("Outbound link",{destination_url:e})})},13038:function(e,t,r){"use strict";r.d(t,{B_:function(){return y},wm:function(){return _},uJ:function(){return j},ll:function(){return M}});var n=r(85893),o=r(67294),i=r(62434);function a(e){(0,o.useEffect)(()=>{var t,r,n,o,i,a;"function"==typeof(null===(r=window)||void 0===r?void 0:null===(t=r.analytics)||void 0===t?void 0:t.track)&&"string"==typeof(null===(o=window)||void 0===o?void 0:null===(n=o.document)||void 0===n?void 0:n.referrer)&&"string"==typeof(null===(a=window)||void 0===a?void 0:null===(i=a.location)||void 0===i?void 0:i.href)&&window.analytics.track("Error Page Loaded",{http_status_code:e})},[e])}r(41664),r(11163),r(66617);var s=r(58404),u=r(76126),l=r(9717),c=r.n(l);function d(e){let{children:t}=e;return(0,n.jsx)("div",{className:c().container,children:t})}function f(e){let{children:t}=e;return(0,n.jsx)("h1",{className:c().heading,children:t})}function h(e){let{children:t}=e;return(0,n.jsx)("p",{className:c().paragraph,children:t})}var p=r(54904),v=r.n(p),m=r(96610);let g=u.JA.filter(e=>"sentinel"!==e).map(e=>({url:"/".concat(e,"/"),text:u.tC[e],productSlug:e,icon:(0,n.jsx)(s.Z,{productSlug:e})}));function y(){return a(404),(0,n.jsxs)(d,{children:[(0,n.jsx)(f,{children:"We couldn't find the page you're looking\xa0for."}),(0,n.jsx)(h,{children:"Please check the url you entered for typos, go back to the page you came from, or go to one of the pages below."}),(0,n.jsx)("div",{className:v().cards,children:(0,n.jsx)(m.Z,{cards:[...g,{url:"/",text:"HashiCorp Developer",productSlug:"hcp",icon:(0,n.jsx)(i._,{})}]})})]})}var b=r(9008),w=r.n(b),x=r(94875);function _(e){let{error:t}=e;return(0,o.useEffect)(()=>{void 0!==window.DD_RUM&&window.DD_RUM.onReady(function(){window.DD_RUM.addError(t)})},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w(),{children:(0,n.jsx)(x.F6,{})}),(0,n.jsxs)(d,{children:[(0,n.jsx)(f,{children:"Something went wrong."}),(0,n.jsx)(h,{children:"We're sorry, but we've run into an unexpected issue. We've logged this as an error, and will look into it. Please reload the page, or check back later."})]}),(0,n.jsx)(x.ky,{})]})}function j(e){let{statusCode:t}=e;return a(t),(0,n.jsxs)(d,{children:[(0,n.jsx)(f,{children:"Something went wrong."}),(0,n.jsx)(h,{children:"We're sorry, but the requested page isn't available right now. We've logged this as an error, and will look into it. Please check back soon."})]})}var E=r(50943),O=r(86754),S=r(4456),C=r.n(S);function M(e){let{version:t,pathWithoutVersion:r,pathBeforeVersion:o}=e;return a(404),(0,n.jsxs)(d,{children:[(0,n.jsxs)(f,{children:["This page does not exist for version ",t,"."]}),(0,n.jsxs)(h,{children:["Please select either the"," ",(0,n.jsx)(O.Z,{href:r,children:"most recent version"})," ","or a valid version that includes the page you are\xa0looking\xa0for."]}),(0,n.jsx)("div",{className:C().cta,children:(0,n.jsx)(E.Z,{text:"Go back to Documentation",href:o})})]})}},94057:function(){},6884:function(){},41790:function(){},87309:function(){},66617:function(e){e.exports={root:"style_root__zXddX .g-grid-container",heading:"style_heading__o9Erp g-type-display-3",link:"style_link__G7EMp"}},9290:function(e){e.exports={root:"badge_root___Z7Nt",small:"badge_small__GI0Zk",medium:"badge_medium__8VGoW",large:"badge_large__cj1PG",base:"badge_base__yR_D4","filled-neutral":"badge_filled-neutral__NhUW0","inverted-neutral":"badge_inverted-neutral__aqEV_","outlined-neutral":"badge_outlined-neutral__32YXY","base-neutral":"badge_base-neutral__PhUFK","filled-neutral-dark-mode":"badge_filled-neutral-dark-mode__VC3Ba","inverted-neutral-dark-mode":"badge_inverted-neutral-dark-mode__N5pW7","outlined-neutral-dark-mode":"badge_outlined-neutral-dark-mode__0NVUF","base-neutral-dark-mode":"badge_base-neutral-dark-mode__3roSN","filled-highlight":"badge_filled-highlight__gVsLn","inverted-highlight":"badge_inverted-highlight__2zc4P","outlined-highlight":"badge_outlined-highlight__PQxJ1","base-highlight":"badge_base-highlight__IIeJj","filled-success":"badge_filled-success__NH5uB","inverted-success":"badge_inverted-success__jI4e6","outlined-success":"badge_outlined-success__HlJNh","base-success":"badge_base-success__IGz7C","filled-warning":"badge_filled-warning__WP5Vb","inverted-warning":"badge_inverted-warning__qrxnw","outlined-warning":"badge_outlined-warning__ze20D","base-warning":"badge_base-warning__Q7QMx","filled-critical":"badge_filled-critical__lRTkp","inverted-critical":"badge_inverted-critical__xf0cn","outlined-critical":"badge_outlined-critical__gj_SO","base-critical":"badge_base-critical__TqjOk"}},69303:function(e){e.exports={button:"bookmark-button_button__YrEwY"}},21741:function(e){e.exports={position:"icons_position__dDIeW",base:"icons_base__orQmc",hover:"icons_hover__H7X3R"}},43361:function(e){e.exports={header:"sign-in-dialog_header__Iaygi",buttonGroup:"sign-in-dialog_buttonGroup__JY371",heading:"sign-in-dialog_heading__NnuRq",subheading:"sign-in-dialog_subheading__Rl3zm",exitIcon:"sign-in-dialog_exitIcon__EGgrD"}},35284:function(e){e.exports={toastIcon:"bookmark-toast_toastIcon__BRKmZ"}},5410:function(e){e.exports={root:"button-link_root___GwxM hds-font-weight-medium",small:"button-link_small__YrzMr",medium:"button-link_medium__a2_tZ",large:"button-link_large__yy9tm",primary:"button-link_primary__AiMm_",secondary:"button-link_secondary__5TbbU",tertiary:"button-link_tertiary__JEZuR",critical:"button-link_critical__3lDOg"}},62930:function(e){e.exports={root:"button_root__itF9E hds-font-weight-medium",fullWidth:"button_fullWidth__UWCtF",small:"button_small__BRkX3",medium:"button_medium__Cm2eg",large:"button_large__ax6Hr",primary:"button_primary__rds5q",secondary:"button_secondary__m5f7i",tertiary:"button_tertiary__eJ7r9",critical:"button_critical__uixqN"}},91879:function(e){e.exports={root:"card-link_root__xgxTP",anchor:"card-link_anchor___5xoF"}},81174:function(e){e.exports={root:"card_root__RyqjV"}},70436:function(e){e.exports={root:"card-description_root__uR7I9",text:"card-description_text__9YVkM hds-typography-body-200 hds-font-weight-regular"}},95942:function(e){e.exports={root:"card-eyebrow_root__ATk89",text:"card-eyebrow_text__qjsGs hds-typography-body-100 hds-font-weight-medium"}},32533:function(e){e.exports={root:"card-footer_root__L_PNs"}},42639:function(e){e.exports={root:"card-logo_root__j0tJe"}},31824:function(e){e.exports={text:"card-title_text__F97Wj hds-typography-body-200 hds-font-weight-semibold"}},85604:function(e){e.exports={listRoot:"cards-grid-list_listRoot__xMWpJ",minWidthMode:"cards-grid-list_minWidthMode__cPnEx",allowThreeColumns:"cards-grid-list_allowThreeColumns__tkPIX",fixedColumnsMode:"cards-grid-list_fixedColumnsMode___GS0x",columns2:"cards-grid-list_columns2__i_wN6",columns3:"cards-grid-list_columns3__O_CAi"}},61830:function(e){e.exports={animatedDialogOverlay:"dialog_animatedDialogOverlay__1cM8c",contentWrapper:"dialog_contentWrapper__Eld6Z",bottom:"dialog_bottom__WPdFY",content:"dialog_content__8b6ar"}},33132:function(e){e.exports={root:"icon-card-link_root__Bh28M",icon:"icon-card-link_icon__nXl2M",text:"icon-card-link_text__QBpCH hds-typography-body-200"}},80655:function(e){e.exports={root:"inline-link_root__iIql6 g-focus-ring-from-box-shadow",primary:"inline-link_primary__kGJLJ",secondary:"inline-link_secondary___UgOz"}},27874:function(e){e.exports={root:"text_root__r0DFB"}},98514:function(e){e.exports={closeButton:"close-button_closeButton__TFYjZ g-focus-ring-from-box-shadow"}},40020:function(e){e.exports={root:"toast-display_root__n6JUt","color-neutral":"toast-display_color-neutral__YJsCB","color-highlight":"toast-display_color-highlight__8xOFT","color-warning":"toast-display_color-warning__ETlEo","color-success":"toast-display_color-success__nwPKK","color-critical":"toast-display_color-critical__9uRLX",iconArea:"toast-display_iconArea__3EOjc",contentArea:"toast-display_contentArea__0B2tR",title:"toast-display_title__Ed5se hds-typography-body-200",description:"toast-display_description__xwjrx hds-typography-body-200",actions:"toast-display_actions__qbXDl",closeArea:"toast-display_closeArea__QsdS7"}},6728:function(e){e.exports={removeMarginFix:"toast_removeMarginFix__swV5P"}},1733:function(e){e.exports={"theme-light":"style_theme-light__I4tJS","theme-dark":"style_theme-dark__ZrlVG",arrowContainer:"style_arrowContainer__gfJAe",arrow:"style_arrow__yqvfe",tooltip:"style_tooltip__H3Bak"}},7445:function(e){e.exports={root:"truncate-max-lines_root__gjolq"}},41808:function(e){e.exports={progressIconAndLabel:"progress-icon-and-label_progressIconAndLabel__TpiNc",progressLabel:"progress-icon-and-label_progressLabel__yh0bh hds-typography-body-100 hds-font-weight-medium"}},6803:function(e){e.exports={root:"tutorial-card_root__d_iFY",eyebrow:"tutorial-card_eyebrow__iww_t"}},59377:function(e){e.exports={root:"card-badges_root__er7CJ",listItem:"card-badges_listItem__0XftS"}},61786:function(e){e.exports={body:"card-body_body__kbkZf hds-typography-body-100"}},82839:function(e){e.exports={eyebrow:"card-eyebrow_eyebrow__2SQOg hds-typography-body-100"}},72572:function(e){e.exports={root:"card-heading_root__RUSNT hds-typography-body-200"}},12150:function(e){e.exports={progressIcon:"tutorial-progress-icon_progressIcon__Md7Xz",status_in_progress:"tutorial-progress-icon_status_in_progress__Tt6RI",isActive:"tutorial-progress-icon_isActive__8aYdK",status_complete:"tutorial-progress-icon_status_complete__QFWDl",size_12:"tutorial-progress-icon_size_12__Nc8lF",size_14:"tutorial-progress-icon_size_14__MR01s"}},9717:function(e){e.exports={container:"error-view-components_container__1zLR1",heading:"error-view-components_heading__hB14b hds-typography-display-500",paragraph:"error-view-components_paragraph__VDjE8 hds-typography-body-300"}},54904:function(e){e.exports={cards:"dev-dot-404_cards__c3hrT"}},4456:function(e){e.exports={cta:"dev-dot-versioned-404_cta__TV5VT"}},9008:function(e,t,r){e.exports=r(37219)},41664:function(e,t,r){e.exports=r(24116)},39332:function(e,t,r){e.exports=r(29108)},11163:function(e,t,r){e.exports=r(26036)},4298:function(e,t,r){e.exports=r(90069)},34155:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],l=!1,c=-1;function d(){l&&n&&(l=!1,n.length?u=n.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(n=u,u=[];++c<t;)n&&n[c].run();c=-1,t=u.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},92703:function(e,t,r){"use strict";var n=r(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},17563:function(e,t,r){"use strict";let n=r(70610),o=r(44020),i=r(80500),a=r(92806),s=e=>null==e,u=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function d(e,t){return t.decode?o(e):e}function f(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function h(e){let t=(e=f(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function v(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){n[e]=r;return}void 0===n[e]&&(n[e]={}),n[e][t[1]]=r};case"bracket":return(e,r,n)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"colon-list-separator":return(e,r,n)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"comma":case"separator":return(t,r,n)=>{let o="string"==typeof r&&r.includes(e.arrayFormatSeparator),i="string"==typeof r&&!o&&d(r,e).includes(e.arrayFormatSeparator);r=i?d(r,e):r;let a=o||i?r.split(e.arrayFormatSeparator).map(t=>d(t,e)):null===r?r:d(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{let o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o){n[t]=r?d(r,e):r;return}let i=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>d(t,e));if(void 0===n[t]){n[t]=i;return}n[t]=[].concat(n[t],i)};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[].concat(r[e],t)}}}(t),n=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return n;for(let o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:d(a,t),r(d(e,t),a,n)}for(let e of Object.keys(n)){let r=n[e];if("object"==typeof r&&null!==r)for(let e of Object.keys(r))r[e]=p(r[e],t);else n[e]=p(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((e,t)=>{let r=n[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=h,t.parse=v,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let r=r=>t.skipNull&&s(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",o,"]"].join("")]:[...r,[c(t,e),"[",c(o,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),":list="].join("")]:[...r,[c(t,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length)?[[c(r,e),t,c(o,e)].join("")]:[[n,c(o,e)].join(e.arrayFormatSeparator)]}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),o={};for(let t of Object.keys(e))r(t)||(o[t]=e[t]);let i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(r=>{let o=e[r];return void 0===o?"":null===o?c(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":o.reduce(n(r),[]).join("&"):c(r,t)+"="+c(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=i(e,"#");return Object.assign({url:r.split("?")[0]||"",query:v(h(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:d(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[u]:!0},r);let n=f(e.url).split("?")[0]||"",o=t.extract(e.url),i=Object.assign(t.parse(o,{sort:!1}),e.query),a=t.stringify(i,r);a&&(a=`?${a}`);let s=function(e){let t="",r=e.indexOf("#");return -1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(s=`#${r[u]?c(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${a}${s}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[u]:!1},n);let{url:o,query:i,fragmentIdentifier:s}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:s},n)},t.exclude=(e,r,n)=>{let o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},35800:function(e,t,r){!function(e,t){"use strict";var r=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(t);function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o={error:null},i=function(e){function t(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state=o,t.resetErrorBoundary=function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,n),t.reset()},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var i=t.prototype;return i.reset=function(){this.setState(o)},i.componentDidCatch=function(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)},i.componentDidUpdate=function(e,t){var r,n,o,i,a=this.state.error,s=this.props.resetKeys;null!==a&&null!==t.error&&(void 0===(r=e.resetKeys)&&(r=[]),void 0===(n=s)&&(n=[]),r.length!==n.length||r.some(function(e,t){return!Object.is(e,n[t])}))&&(null==(o=(i=this.props).onResetKeysChange)||o.call(i,e.resetKeys,s),this.reset())},i.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,o=t.FallbackComponent,i=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(i))return i;if("function"==typeof n)return n(a);if(o)return r.createElement(o,a);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);e.ErrorBoundary=i,e.useErrorHandler=function(e){var t=r.useState(null),n=t[0],o=t[1];if(null!=e)throw e;if(null!=n)throw n;return o},e.withErrorBoundary=function(e,t){var n=function(n){return r.createElement(i,t,r.createElement(e,n))},o=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+o+")",n},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(67294))},80500:function(e){"use strict";e.exports=(e,t)=>{if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let r=e.indexOf(t);return -1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},70610:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},24003:function(e,t,r){"use strict";let n,o,i;function a(e,t,r=!0){return{...e,default:t,decode:(...n)=>{let o=e.decode(...n);return void 0===o||r&&null===o?t:o}}}function s(e,t){if(null==e)return e;if(0===e.length&&(!t||t&&""!==e))return null;let r=e instanceof Array?e[0]:e;return null==r?r:t||""!==r?r:null}function u(e,t="_"){return null==e?e:e.join(t)}function l(e,t="_"){let r=s(e,!0);return null==r?r:""===r?[]:r.split(t)}r.d(t,{NumberParam:function(){return d},QueryParamProvider:function(){return C},StringParam:function(){return c},decodeDelimitedArray:function(){return l},encodeDelimitedArray:function(){return u},useQueryParam:function(){return A},withDefault:function(){return a}});let c={encode:function(e){return null==e?e:String(e)},decode:function(e){let t=s(e,!0);return null==t?t:String(t)}},d={encode:function(e){return null==e?e:String(e)},decode:function(e){let t=s(e);return null==t?t:""===t?null:+t}};'{}[],":'.split("").map(e=>[e,encodeURIComponent(e)]);var f=r(67294);class h{constructor(){this.paramsMap=new Map,this.registeredParams=new Map}set(e,t,r,n){this.paramsMap.set(e,{stringified:t,decoded:r,decode:n})}has(e,t,r){if(!this.paramsMap.has(e))return!1;let n=this.paramsMap.get(e);return!!n&&n.stringified===t&&(null==r||n.decode===r)}get(e){var t;if(this.paramsMap.has(e))return null==(t=this.paramsMap.get(e))?void 0:t.decoded}registerParams(e){for(let t of e){let e=this.registeredParams.get(t)||0;this.registeredParams.set(t,e+1)}}unregisterParams(e){for(let t of e){let e=(this.registeredParams.get(t)||0)-1;e<=0?(this.registeredParams.delete(t),this.paramsMap.has(t)&&this.paramsMap.delete(t)):this.registeredParams.set(t,e)}}clear(){this.paramsMap.clear(),this.registeredParams.clear()}}let p=new h;function v(e,t,r,n){var o;if(!r||!t.length)return e;let i={...e},a=!1;for(let e of t)Object.prototype.hasOwnProperty.call(i,e)||(i[e]=null!=(o=r[e])?o:n,a=!0);return a?i:e}let m=Object.prototype.hasOwnProperty;function g(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function y(e,t,r){var n,o;if(g(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(let a=0;a<i.length;a++){let s=null!=(o=null==(n=null==r?void 0:r[i[a]])?void 0:n.equals)?o:g;if(!m.call(t,i[a])||!s(e[i[a]],t[i[a]]))return!1}return!0}function b(e,t,r){let n={};for(let o of Object.keys(t)){let i;let a=t[o],s=e[o];if(r.has(o,s,a.decode))i=r.get(o);else{if(i=a.decode(s),a.equals&&r.has(o,s)){let e=r.get(o);a.equals(i,e)&&(i=e)}void 0!==i&&r.set(o,s,i,a.decode)}void 0===i&&void 0!==a.default&&(i=a.default),n[o]=i}return n}function w(){let e;return function(t,r,n){let o=b(t,r,n);return null!=e&&y(e,o)?e:(e=o,o)}}let x={},_=(e,t,r)=>{if(n===t&&i===e&&o===r)return x;n=t,i=e;let a=e(null!=t?t:"");o=r;let s=function(e){if(e)return Object.fromEntries(e.split("\n").map(e=>e.split("\0")))}(r);for(let[e,t]of Object.entries(a)){(null==s?void 0:s[e])&&(delete a[e],a[e=s[e]]=t);let r=x[e];y(t,r)&&(a[e]=r)}return x=a,a};function j(e,t){null==t&&(t={});let r={...e,...t};return t.params&&e.params&&(r.params={...e.params,...t.params}),r}let E={adapter:{},options:{searchStringToObject:function(e){let t=new URLSearchParams(e),r={};for(let[e,n]of t)Object.prototype.hasOwnProperty.call(r,e)?Array.isArray(r[e])?r[e].push(n):r[e]=[r[e],n]:r[e]=n;return r},objectToSearchString:function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(null!=n){if(Array.isArray(n))for(let e of n)t.append(r,null!=e?e:"");else t.append(r,n)}return t.toString()},updateType:"pushIn",includeKnownParams:void 0,includeAllParams:!1,removeDefaultsFromUrl:!1,enableBatching:!1,skipUpdateWhenNoChange:!0}},O=f.createContext(E);function S({children:e,adapter:t,options:r}){let{adapter:n,options:o}=f.useContext(O),i=f.useMemo(()=>({adapter:null!=t?t:n,options:j(o,r)}),[t,r,n,o]);return f.createElement(O.Provider,{value:i},e)}function C({children:e,adapter:t,options:r}){return t?f.createElement(t,null,t=>f.createElement(S,{adapter:t,options:r},e)):f.createElement(S,{options:r},e)}let M=e=>e(),k=e=>setTimeout(()=>e(),0),R=[];var P=function(e,t){var r,n;let o;let{adapter:i,options:a}=function(){let e=f.useContext(O);if(void 0===e||e===E)throw Error("useQueryParams must be used within a QueryParamProvider");return e}(),[s]=(0,f.useState)(w),{paramConfigMap:u,options:l}=(r=e,n=t,{paramConfigMap:void 0===r?{}:Array.isArray(r)?Object.fromEntries(r.map(e=>[e,"inherit"])):r,options:n}),d=(0,f.useMemo)(()=>j(a,l),[a,l]),h=function(e,t){var r,n,o;let i={},a=!1,s=Object.keys(e);if(t.includeKnownParams||!1!==t.includeKnownParams&&0===s.length){let e=Object.keys(null!=(r=t.params)?r:{});s.push(...e)}for(let r of s){let s=e[r];if(null!=s&&"object"==typeof s){i[r]=s;continue}a=!0,i[r]=null!=(o=null==(n=t.params)?void 0:n[r])?o:c}return a?i:e}(u,d),m=_(d.searchStringToObject,i.location.search,function(e){let t;for(let r in e)if(e[r].urlName){let n=e[r].urlName,o=`${n}\0${r}`;t?t.push(o):t=[o]}return t?t.join("\n"):void 0}(h));d.includeAllParams&&(h=v(h,Object.keys(m),d.params,c));let g=s(m,h,p),y=Object.keys(h).join("\0");(0,f.useEffect)(()=>{let e=y.split("\0");return p.registerParams(e),()=>{p.unregisterParams(e)}},[y]);let x={adapter:i,paramConfigMap:h,options:d},S=(0,f.useRef)(x);null==S.current&&(S.current=x),(0,f.useEffect)(()=>{S.current.adapter=i,S.current.paramConfigMap=h,S.current.options=d},[i,h,d]);let[C]=(0,f.useState)(()=>(e,t)=>{let{adapter:r,paramConfigMap:n,options:o}=S.current;null==t&&(t=o.updateType),function(e,{immediate:t}={}){R.push(e),1===R.length&&(t?M:k)(()=>{let t;let r=R.slice();R.length=0;let n=r[0].currentSearchString;for(let e=0;e<r.length;++e)t=function({changes:e,updateType:t,currentSearchString:r,paramConfigMap:n,options:o}){let i,a,s;let{searchStringToObject:u,objectToSearchString:l}=o;null==t&&(t=o.updateType);let c=_(u,r),d=v(n,Object.keys(e),o.params);return a="function"==typeof e?e(b(c,d,p)):e,i=function(e,t){let r={};for(let n of Object.keys(t)){let o=t[n];e[n]?r[n]=e[n].encode(t[n]):r[n]=null==o?o:String(o)}return r}(d,a),o.removeDefaultsFromUrl&&function(e,t){var r;for(let n in e)(null==(r=t[n])?void 0:r.default)!==void 0&&void 0!==e[n]&&t[n].encode(t[n].default)===e[n]&&(e[n]=void 0)}(i,d),i=function(e,t){var r;let n={};for(let o in e)(null==(r=t[o])?void 0:r.urlName)!=null?n[t[o].urlName]=e[o]:n[o]=e[o];return n}(i,d),(null==(s=l("push"===t||"replace"===t?i:{...c,...i}))?void 0:s.length)&&"?"!==s[0]&&(s=`?${s}`),null!=s?s:""}(0===e?r[e]:{...r[e],currentSearchString:t});e.options.skipUpdateWhenNoChange&&t===n||function({searchString:e,adapter:t,navigate:r,updateType:n}){let o={...t.location,search:e};r&&("string"==typeof n&&n.startsWith("replace")?t.replace(o):t.push(o))}({searchString:null!=t?t:"",adapter:r[r.length-1].adapter,navigate:!0,updateType:r[r.length-1].updateType})})}({changes:e,updateType:t,currentSearchString:r.location.search,paramConfigMap:n,options:o,adapter:r},{immediate:!o.enableBatching})});return[g,C]};let A=(e,t,r)=>{let[n,o]=P((0,f.useMemo)(()=>({[e]:null!=t?t:"inherit"}),[e,t]),r);return[n[e],(0,f.useCallback)((t,r)=>"function"==typeof t?o(r=>{let n=t(r[e]);return{[e]:n}},r):o({[e]:t},r),[e,o])]}},53250:function(e,t,r){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(67294),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,u=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return s(function(){o.value=r,o.getSnapshot=t,l(o)&&c({inst:o})},[e,r,t]),a(function(){return l(o)&&c({inst:o}),e(function(){l(o)&&c({inst:o})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},61688:function(e,t,r){"use strict";e.exports=r(53250)},1747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(66713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return i}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let o=globalThis.AsyncLocalStorage;function i(){return o?new o:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95714:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return n}});let n=(0,r(66713).createAsyncLocalStorage)();function o(e){let t=n.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},85372:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},66115:function(e){e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},17156:function(e){function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){r(e);return}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise(function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},56690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},3515:function(e,t,r){var n=r(6015),o=r(69617);function i(t,r,a){return o()?e.exports=i=Reflect.construct.bind():e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports,i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},89728:function(e,t,r){var n=r(64062);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},38416:function(e,t,r){var n=r(64062);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},73808:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61655:function(e,t,r){var n=r(6015);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},46035:function(e){e.exports=function(e){return -1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},69617:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},68872:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},12218:function(e){e.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},94993:function(e,t,r){var n=r(18698).default,o=r(66115);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17061:function(e,t,r){var n=r(18698).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o,i,s=Object.create((t&&t.prototype instanceof v?t:v).prototype);return a(s,"_invoke",{value:(o=new S(n||[]),i="suspendedStart",function(t,n){if("executing"===i)throw Error("Generator is already running");if("completed"===i){if("throw"===t)throw n;return M()}for(o.method=t,o.arg=n;;){var a=o.delegate;if(a){var s=function e(t,r){var n=r.method,o=t.iterator[n];if(void 0===o)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):a:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,p)}(a,o);if(s){if(s===p)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===i)throw i="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);i="executing";var u=h(e,r,o);if("normal"===u.type){if(i=o.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(i="completed",o.method="throw",o.arg=u.arg)}})}),s}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p={};function v(){}function m(){}function g(){}var y={};d(y,u,function(){return this});var b=Object.getPrototypeOf,w=b&&b(b(C([])));w&&w!==r&&i.call(w,u)&&(y=w);var x=g.prototype=v.prototype=Object.create(y);function _(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){var r;a(this,"_invoke",{value:function(o,a){function s(){return new t(function(r,s){!function r(o,a,s,u){var l=h(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==n(d)&&i.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,s,u)},function(e){r("throw",e,s,u)}):t.resolve(d).then(function(e){c.value=e,s(c)},function(e){return r("throw",e,s,u)})}u(l.arg)}(o,a,r,s)})}return r=r?r.then(s,s):s()}})}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:M}}function M(){return{value:void 0,done:!0}}return m.prototype=g,a(x,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:m,configurable:!0}),m.displayName=d(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},_(j.prototype),d(j.prototype,l,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new j(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},_(x),d(x,c,"Generator"),d(x,u,function(){return this}),d(x,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,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},27424:function(e,t,r){var n=r(85372),o=r(68872),i=r(86116),a=r(12218);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},95036:function(e,t,r){var n=r(18698).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},64062:function(e,t,r){var n=r(18698).default,o=r(95036);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,r){var n=r(73897);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},33496:function(e,t,r){var n=r(73808),o=r(6015),i=r(46035),a=r(3515);function s(t){var r="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},64687:function(e,t,r){var n=r(17061)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},93967:function(e,t){var r;/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}(r)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(r=(function(){return o}).apply(t,[]))&&(e.exports=r)}()},2445:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&"function"==typeof e.start}r.d(t,{H:function(){return n}})},48488:function(e,t,r){"use strict";r.d(t,{C:function(){return n}});let n=e=>Array.isArray(e)},25364:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(67294).createContext)({})},70398:function(e,t,r){"use strict";r.d(t,{u:function(){return n}});let n=(0,r(67294).createContext)({strict:!1})},240:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(67294).createContext)(null)},9442:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});let n=e=>({isEnabled:t=>e.some(e=>!!t[e])}),o={measureLayout:n(["layout","layoutId","drag"]),animation:n(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:n(["exit"]),drag:n(["drag","dragControls"]),focus:n(["whileFocus"]),hover:n(["whileHover","onHoverStart","onHoverEnd"]),tap:n(["whileTap","onTap","onTapStart","onTapCancel"]),pan:n(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:n(["whileInView","onViewportEnter","onViewportLeave"])}},81879:function(e,t,r){"use strict";r.d(t,{K:function(){return o}});var n=r(9442);function o(e){for(let t in e)"projectionNodeConstructor"===t?n.A.projectionNodeConstructor=e[t]:n.A[t].Component=e[t]}},96728:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n={};var o=r(94714);function i(e,{layout:t,layoutId:r}){return o.G.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!n[e]||"opacity"===e)}},89019:function(e,t,r){"use strict";r.d(t,{m:function(){return V}});var n,o=r(67294);let i=(0,o.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),a=(0,o.createContext)({});var s=r(240),u=r(58868),l=r(70398),c=r(51804),d=r(97732),f=r(7504);function h(e){return Array.isArray(e)?e.join(" "):e}var p=r(9442),v=r(81879),m=r(11741),g=r(96681),y=r(25364);class b extends o.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let w=(0,o.createContext)({}),x=Symbol.for("motionComponentSymbol");var _=r(62627),j=r(96728),E=r(40406),O=r(38057);let S=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function C(e,t,r){for(let n in t)(0,E.i)(t[n])||(0,j.j)(n,r)||(e[n]=t[n])}let M=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function k(e){return M.has(e)}let R=e=>!k(e);try{(n=require("@emotion/is-prop-valid").default)&&(R=e=>e.startsWith("on")?!k(e):n(e))}catch(e){}var P=r(85415);let A=()=>({...S(),attrs:{}});var T=r(68504),L=r(16832),I=r(2445),N=r(79432),D=r(8715);let F=e=>(t,r)=>{let n=(0,o.useContext)(a),i=(0,o.useContext)(s.O),u=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let a={latestValues:function(e,t,r,n){let o={},i=n(e);for(let e in i)o[e]=function(e){let t=(0,E.i)(e)?e.get():e;return(0,D.p)(t)?t.toValue():t}(i[e]);let{initial:a,animate:s}=e,u=(0,f.G)(e),l=(0,f.M)(e);t&&l&&!u&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;return d&&"boolean"!=typeof d&&!(0,I.H)(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let r=(0,N.o)(e,t);if(!r)return;let{transitionEnd:n,transition:i,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let e in n)o[e]=n[e]}),o}(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?u():(0,g.h)(u)},U={useVisualState:F({scrapeMotionValuesFromProps:L.U,createRenderState:A,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}(0,P.i)(r,n,{enableHardwareAcceleration:!1},e.transformTemplate),(0,T.K)(t,r)}})},z={useVisualState:F({scrapeMotionValuesFromProps:r(50189).U,createRenderState:S})},V=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:r,useRender:n,useVisualState:_,Component:j}){e&&(0,v.K)(e);let E=(0,o.forwardRef)(function(v,x){var E;let O={...(0,o.useContext)(i),...v,layoutId:function({layoutId:e}){let t=(0,o.useContext)(y.p).id;return t&&void 0!==e?t+"-"+e:e}(v)},{isStatic:S}=O,C=null,M=function(e){let{initial:t,animate:r}=function(e,t){if((0,f.G)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,d.$)(t)?t:void 0,animate:(0,d.$)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(a));return(0,o.useMemo)(()=>({initial:t,animate:r}),[h(t),h(r)])}(v),k=S?void 0:(0,g.h)(()=>{}),R=_(v,S);if(!S&&m.j){M.visualElement=function(e,t,r,n){let c=(0,o.useContext)(a).visualElement,d=(0,o.useContext)(l.u),f=(0,o.useContext)(s.O),h=(0,o.useContext)(i).reducedMotion,p=(0,o.useRef)(void 0);n=n||d.renderer,!p.current&&n&&(p.current=n(e,{visualState:t,parent:c,props:r,presenceId:f?f.id:void 0,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:h}));let v=p.current;return(0,u.L)(()=>{v&&v.syncRender()}),(0,o.useEffect)(()=>{v&&v.animationState&&v.animationState.animateChanges()}),(0,u.L)(()=>()=>v&&v.notifyUnmount(),[]),v}(j,R,O,t);let n=(0,o.useContext)(l.u).strict,c=(0,o.useContext)(w);M.visualElement&&(C=M.visualElement.loadFeatures(O,n,e,k,r||p.A.projectionNodeConstructor,c))}return o.createElement(b,{visualElement:M.visualElement,props:O},C,o.createElement(a.Provider,{value:M},n(j,v,k,(E=M.visualElement,(0,o.useCallback)(e=>{e&&R.mount&&R.mount(e),E&&(e?E.mount(e):E.unmount()),x&&("function"==typeof x?x(e):(0,c.I)(x)&&(x.current=e))},[E])),R,S,M.visualElement)))});return E[x]=j,E}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}(function(e,{forwardMotionProps:t=!1},r,n,i){return{...(0,_.q)(e)?U:z,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,i,{latestValues:a},s)=>{let u=((0,_.q)(t)?function(e,t){let r=(0,o.useMemo)(()=>{let r=A();return(0,P.i)(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};C(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return C(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,o.useMemo)(()=>{let n=S();return(0,O.r)(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(i):i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),n.style=i,n})(r,a,s),l={...function(e,t,r){let n={};for(let o in e)(R(o)||!0===r&&k(o)||!t&&!k(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),...u,ref:i};return n&&(l["data-projection-id"]=n),(0,o.createElement)(t,l)}}(t),createVisualElement:n,projectionNodeConstructor:i,Component:e}})},93193:function(e,t,r){"use strict";r.d(t,{D:function(){return n}});let n=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},57630:function(e,t,r){"use strict";function n(e){return e.startsWith("--")}r.d(t,{o:function(){return n}})},62627:function(e,t,r){"use strict";r.d(t,{q:function(){return o}});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function o(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}},36173:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(2969),o=r(11248);let i={...o.Rx,transform:Math.round},a={borderWidth:n.px,borderTopWidth:n.px,borderRightWidth:n.px,borderBottomWidth:n.px,borderLeftWidth:n.px,borderRadius:n.px,radius:n.px,borderTopLeftRadius:n.px,borderTopRightRadius:n.px,borderBottomRightRadius:n.px,borderBottomLeftRadius:n.px,width:n.px,maxWidth:n.px,height:n.px,maxHeight:n.px,size:n.px,top:n.px,right:n.px,bottom:n.px,left:n.px,padding:n.px,paddingTop:n.px,paddingRight:n.px,paddingBottom:n.px,paddingLeft:n.px,margin:n.px,marginTop:n.px,marginRight:n.px,marginBottom:n.px,marginLeft:n.px,rotate:n.RW,rotateX:n.RW,rotateY:n.RW,rotateZ:n.RW,scale:o.bA,scaleX:o.bA,scaleY:o.bA,scaleZ:o.bA,skew:n.RW,skewX:n.RW,skewY:n.RW,distance:n.px,translateX:n.px,translateY:n.px,translateZ:n.px,x:n.px,y:n.px,z:n.px,perspective:n.px,transformPerspective:n.px,opacity:o.Fq,originX:n.$C,originY:n.$C,originZ:n.px,zIndex:i,fillOpacity:o.Fq,strokeOpacity:o.Fq,numOctaves:i}},38057:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var n=r(94714);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i=(e,t)=>n._.indexOf(e)-n._.indexOf(t);var a=r(57630);let s=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var u=r(36173);function l(e,t,r,l){let{style:c,vars:d,transform:f,transformKeys:h,transformOrigin:p}=e;h.length=0;let v=!1,m=!1,g=!0;for(let e in t){let r=t[e];if((0,a.o)(e)){d[e]=r;continue}let o=u.j[e],i=s(r,o);if(n.G.has(e)){if(v=!0,f[e]=i,h.push(e),!g)continue;r!==(o.default||0)&&(g=!1)}else e.startsWith("origin")?(m=!0,p[e]=i):c[e]=i}if(!t.transform&&(v||l?c.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},a,s){let u="";for(let r of(t.sort(i),t))u+=`${o[r]||r}(${e[r]}) `;return r&&!e.z&&(u+="translateZ(0)"),u=u.trim(),s?u=s(e,a?"":u):n&&a&&(u="none"),u}(e,r,g,l):c.transform&&(c.transform="none")),m){let{originX:e="50%",originY:t="50%",originZ:r=0}=p;c.transformOrigin=`${e} ${t} ${r}`}}},34242:function(e,t,r){"use strict";function n(e,{style:t,vars:r},n,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(i,r[i])}r.d(t,{N:function(){return n}})},50189:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(96728),o=r(40406);function i(e){let{style:t}=e,r={};for(let i in t)((0,o.i)(t[i])||(0,n.j)(i,e))&&(r[i]=t[i]);return r}},94714:function(e,t,r){"use strict";r.d(t,{G:function(){return o},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(n)},85415:function(e,t,r){"use strict";r.d(t,{i:function(){return u}});var n=r(38057),o=r(2969);function i(e,t,r){return"string"==typeof e?e:o.px.transform(t+r*e)}let a={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function u(e,{attrX:t,attrY:r,originX:u,originY:l,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...h},p,v){(0,n.r)(e,h,p,v),e.attrs=e.style,e.style={};let{attrs:m,style:g,dimensions:y}=e;m.transform&&(y&&(g.transform=m.transform),delete m.transform),y&&(void 0!==u||void 0!==l||g.transform)&&(g.transformOrigin=function(e,t,r){let n=i(t,e.x,e.width),o=i(r,e.y,e.height);return`${n} ${o}`}(y,void 0!==u?u:.5,void 0!==l?l:.5)),void 0!==t&&(m.x=t),void 0!==r&&(m.y=r),void 0!==c&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let u=i?a:s;e[u.offset]=o.px.transform(-n);let l=o.px.transform(t),c=o.px.transform(r);e[u.array]=`${l} ${c}`}(m,c,d,f,!1)}},77302:function(e,t,r){"use strict";r.d(t,{s:function(){return n}});let n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"])},68504:function(e,t,r){"use strict";r.d(t,{K:function(){return a}});var n=r(93193),o=r(34242),i=r(77302);function a(e,t,r,a){for(let r in(0,o.N)(e,t,void 0,a),t.attrs)e.setAttribute(i.s.has(r)?r:(0,n.D)(r),t.attrs[r])}},16832:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(40406),o=r(50189);function i(e){let t=(0,o.U)(e);for(let r in e)(0,n.i)(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}},7504:function(e,t,r){"use strict";r.d(t,{G:function(){return a},M:function(){return s}});var n=r(2445),o=r(97732);let i=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function a(e){return(0,n.H)(e.animate)||i.some(t=>(0,o.$)(e[t]))}function s(e){return!!(a(e)||e.variants)}},97732:function(e,t,r){"use strict";function n(e){return"string"==typeof e||Array.isArray(e)}r.d(t,{$:function(){return n}})},79432:function(e,t,r){"use strict";function n(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}r.d(t,{o:function(){return n}})},11741:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof document},51804:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{I:function(){return n}})},49304:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});var n=r(34155);let o=(void 0===n||n.env,"production")},20270:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(11741),o=r(89609);function i(){if(o.O.current=!0,n.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>o.n.current=e.matches;e.addListener(t),t()}else o.n.current=!1}}},89609:function(e,t,r){"use strict";r.d(t,{O:function(){return o},n:function(){return n}});let n={current:null},o={current:!1}},23302:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});var n=r(67294),o=r(20270),i=r(89609);function a(){i.O.current||(0,o.A)();let[e]=(0,n.useState)(i.n.current);return e}},8715:function(e,t,r){"use strict";r.d(t,{Y:function(){return i},p:function(){return o}});var n=r(48488);let o=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),i=e=>(0,n.C)(e)?e[e.length-1]||0:e},96681:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var n=r(67294);function o(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58868:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(67294);let o=r(11741).j?n.useLayoutEffect:n.useEffect},65411:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var n=r(67294);function o(e){return(0,n.useEffect)(()=>()=>e(),[])}},16034:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});let n=new Set;function o(e,t,r){e||n.has(t)||(console.warn(t),r&&console.warn(r),n.add(t))}},40406:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});let n=e=>!!(null==e?void 0:e.getVelocity)},54735:function(e,t,r){"use strict";r.d(t,{qY:function(){return h},ZP:function(){return y},$B:function(){return g}});let n=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),i="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(o()),n),a=!0,s=!1,u=!1,l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],d=c.reduce((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,o=!1,i=!1,a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{let u=s&&o,l=u?t:r;return i&&a.add(e),-1===l.indexOf(e)&&(l.push(e),u&&o&&(n=t.length)),e},cancel:e=>{let t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:u=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length)for(let r=0;r<n;r++){let n=t[r];n(u),a.has(n)&&(s.schedule(n),e())}o=!1,i&&(i=!1,s.process(u))}};return s}(()=>s=!0),e),{}),f=c.reduce((e,t)=>{let r=d[t];return e[t]=(e,t=!1,n=!1)=>(s||m(),r.schedule(e,t,n)),e},{}),h=c.reduce((e,t)=>(e[t]=d[t].cancel,e),{});c.reduce((e,t)=>(e[t]=()=>d[t].process(l),e),{});let p=e=>d[e].process(l),v=e=>{s=!1,l.delta=a?n:Math.max(Math.min(e-l.timestamp,40),1),l.timestamp=e,u=!0,c.forEach(p),u=!1,s&&(a=!1,i(v))},m=()=>{s=!0,a=!0,u||i(v)},g=()=>l;var y=f},11248:function(e,t,r){"use strict";r.d(t,{Fq:function(){return i},Rx:function(){return o},bA:function(){return a}});var n=r(16777);let o={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i=Object.assign(Object.assign({},o),{transform:(0,n.uZ)(0,1)}),a=Object.assign(Object.assign({},o),{default:1})},2969:function(e,t,r){"use strict";r.d(t,{$C:function(){return c},RW:function(){return i},aQ:function(){return a},px:function(){return s},vh:function(){return u},vw:function(){return l}});var n=r(16777);let o=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=o("deg"),a=o("%"),s=o("px"),u=o("vh"),l=o("vw"),c=Object.assign(Object.assign({},a),{parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)})},16777:function(e,t,r){"use strict";r.d(t,{HD:function(){return u},KP:function(){return i},Nw:function(){return o},dA:function(){return a},mj:function(){return s},uZ:function(){return n}});let n=(e,t)=>r=>Math.max(Math.min(r,t),e),o=e=>e%1?Number(e.toFixed(5)):e,i=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function u(e){return"string"==typeof e}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(26036)}),_N_E=e.O()}]);