"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[843,362],{3692:(Te,Ee,B)=>{B.r(Ee),B.d(Ee,{SSRContextProvider:()=>se.S,VersionInfo:()=>q,cachedSearch:()=>se.c,cachedSearchWithCookies:()=>se.a,deliveryApi:()=>se.d,deliveryApiWithCookies:()=>se.b,entryMapper:()=>p,getClientConfig:()=>se.g,jpath:()=>I.oA,mapComposer:()=>m,mapEntries:()=>U,mapJson:()=>I.Ay,setCachingHeaders:()=>H,stringifyStrings:()=>y,urls:()=>z,useComposerMapper:()=>j,useDeliveryApi:()=>se.e,useEntriesMapper:()=>ge,useEntryMapper:()=>le,useMapper:()=>ie,useSSRContext:()=>se.u});const H=(C,{cacheControl:b="private",surrogateControl:r="3600"},s="header")=>{b&&C[s]("Cache-Control",b),r&&C[s]("Surrogate-Control",`max-age=${r.toString()}`)},z=(C,b)=>{const r=b&&b.toLowerCase()!=="website"?`${b.toLowerCase()}-${C}`:C;return{api:`https://api-${C}.cloud.contensis.com`,cms:`https://cms-${C}.cloud.contensis.com`,liveWeb:`https://live-${r}.cloud.contensis.com`,previewWeb:`https://preview-${r}.cloud.contensis.com`,iisWeb:`https://iis-live-${r}.cloud.contensis.com`,iisPreviewWeb:`https://iis-preview-${r}.cloud.contensis.com`}};var se=B(7525),I=B(2122),a=B(8322),Y=B(3266),$=B(9682),S=B(1740),K=B(7115),ne=B(8737),M=B(7277),ye=B(1433),Q=B(5022),fe=B(8437);const ie=(C,b)=>b?(0,I.Ay)(C||{},b):C,R=(C,b,r="sys.contentTypeId")=>{const s=(0,I.oA)(r,C||{});return b[s]||b.default||{}},ge=(C,b,r="sys.contentTypeId")=>{const s=R(C,b,r);return ie(C,s)},le=ge,U=(C,b,r="sys.contentTypeId")=>C.map(s=>{const E=R(s,b,r);return E?(0,I.Ay)(s||{},E):s}),m=(C,b)=>Array.isArray(C)?C.map((r,s)=>{const E=r.value,L=b[r.type]||b.default;if(L){const J={_type:r.type,_index:s},G=E&&Array.isArray(E)?E.map((ue,de)=>de!==0?ue:typeof ue=="object"?{...J,...ue,$root:C}:ue):typeof E=="object"?{...J,...E,$root:C}:E||{},me=(0,I.Ay)(G,L);return me&&typeof me=="object"?{...me,...J}:me}else return{}}):C||[],j=(C=[],b)=>m(C,b),p=C=>(b,r)=>(0,I.Ay)({...b,...b.entry||{},state:r},C),w=C=>{const b=Array.isArray(C)?[]:{};return Object.entries(C).forEach(([r,s])=>{switch(typeof s){case"string":b[r]=JSON.stringify(s);break;case"object":b[r]=w(s);break;default:b[r]=s;break}}),b};var y=w;const u=typeof window<"u"?window:B.g,D=!1,T=()=>D?PACKAGE_JSON:u.PACKAGE_JSON||{name:"packagejson not found",repository:""},V={packageDetail:()=>{const C=T();return{name:C.name,version:C.version,repository:C.repository}},uris:{gitRepo:()=>T().repository,commit:C=>{const b=(0,S.a)(C);return`${T().repository}/commit/${b||""}`},pipeline:C=>{const b=(0,S.b)(C);return`${T().repository}/${T().repository.includes("github.com")?"actions/runs":"pipelines"}/${b||""}`}},zenPackageVersions:()=>[...Object.entries(T().devDependencies||{}).filter(([C])=>C.includes("zengenti")||C.includes("contensis"))||[],...Object.entries(T().dependencies||{}).filter(([C])=>C.includes("zengenti")||C.includes("contensis"))||[]],deliveryApi:()=>JSON.parse(JSON.stringify(DELIVERY_API_CONFIG)),devEnv:()=>typeof DEV_ENV<"u"?DEV_ENV:null,disableSsrRedux:()=>D?!1:u.DISABLE_SSR_REDUX||!1,nodeEnv:()=>"production",packagejson:()=>T()||{},projects:()=>D?PROJECTS:u.PROJECTS,proxyDeliveryApi:()=>D?!0:u.PROXY_DELIVERY_API||!1,publicUri:()=>D?PUBLIC_URI:u.PUBLIC_URI||null,project:C=>(0,$.c)(C),reverseProxyPaths:()=>D?["/image-library/*","/video-library/*","/asset-library/*","/images/**/*","/content-images/*","/images/**/**/*","/images/**/*","/worcester-testing/test-media/images/placeholder-images/*","/images/ui-card-images/*","/images/text-area-images/*"]:u.REVERSE_PROXY_PATHS||{},servers:()=>D?SERVERS:u.SERVERS,version:{buildNumber:C=>(0,S.b)(C),commitRef:C=>(0,S.a)(C),contensisVersionStatus:C=>(0,S.s)(C)}},X=C=>(0,I.Ay)(C,V),te=K.Ay.table.withConfig({displayName:"VersionInfostyled__VersionInfoStyledTable",componentId:"sc-ogujr7-0"})(["font-family:'Source Sans Pro',Helvetica,Arial,sans-serif;font-size:1.6rem;line-height:1.5rem;border-bottom:4px solid #8892bf;border-collapse:separate;margin:0 auto;width:80%;th{text-align:left;background-color:#c4c9df;border-bottom:#8892bf 2px solid;border-bottom-color:#8892bf;border-top:20px solid #fff;}td{border-bottom:1px solid #eee;}td,th{padding:0.5rem 0.75rem;vertical-align:top;}.left{width:25%;}tr th{border-right:hidden;border-spacing:0 15px;}.green{background-color:#9c9;border-bottom:1px solid #696;}.red{background-color:#c99;border-bottom:1px solid #966;}.small{font-size:100%;line-height:2.4rem;}"]),ce=({deliveryApi:C,devEnv:b,disableSsrRedux:r,nodeEnv:s,packageDetail:E,project:L,projects:J,proxyDeliveryApi:G,publicUri:me,reverseProxyPaths:ue,servers:de,uris:ae,version:oe,zenPackageVersions:ee})=>a.createElement(te,null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("td",{colSpan:2},a.createElement("h1",null,a.createElement("a",{href:"/"},"Version Information"))))),a.createElement("tbody",null,a.createElement("tr",null,a.createElement("th",{colSpan:2},"Package detail")),a.createElement("tr",null,a.createElement("td",{className:"left"},"Name"),a.createElement("td",null,E.name)),a.createElement("tr",null,a.createElement("td",{className:"left"},"Version"),a.createElement("td",null,E.version)),a.createElement("tr",null,a.createElement("th",{colSpan:2},"Version info (state)")),a.createElement("tr",null,a.createElement("td",null,"Git repo url: "),a.createElement("td",null,a.createElement("a",{href:E.repository,target:"_blank",rel:"noopener noreferrer"},E.repository))),a.createElement("tr",null,a.createElement("td",null,"Pipeline: "),a.createElement("td",null,a.createElement("a",{href:ae.pipeline,target:"_blank",rel:"noopener noreferrer"},oe.buildNumber))),a.createElement("tr",null,a.createElement("td",null,"Commit: "),a.createElement("td",null,a.createElement("a",{href:ae.commit,target:"_blank",rel:"noopener noreferrer"},oe.commitRef))),a.createElement("tr",null,a.createElement("td",null,"Project"),a.createElement("td",{className:L==="unknown"?"red":""},L)),a.createElement("tr",null,a.createElement("td",null,"Contensis version status: "),a.createElement("td",{className:oe.contensisVersionStatus==="published"?"green":"red"},oe.contensisVersionStatus)),a.createElement("tr",null,a.createElement("th",{colSpan:2},"Build configuration")),a.createElement("tr",null,a.createElement("td",null,"Environment"),a.createElement("td",null,de.alias)),a.createElement("tr",null,a.createElement("td",null,"Public uri"),a.createElement("td",null,me)),a.createElement("tr",null,a.createElement("td",null,"Zengenti packages"),a.createElement("td",null,ee.map(([f,v],x)=>a.createElement("div",{key:x},f,": ",v)))),a.createElement("tr",null,a.createElement("td",null,"Servers"),a.createElement("td",{className:"small"},a.createElement("div",null,"web: ",de.web),a.createElement("div",null,"preview: ",de.previewWeb),a.createElement("div",null,"api: ",de.api),a.createElement("div",null,"cms: ",de.cms),a.createElement("div",null,"iis: ",de.iis),a.createElement("div",null,"iis preview: ",de.previewIis))),a.createElement("tr",null,a.createElement("td",null,"Reverse proxy paths"),a.createElement("td",null,Object.entries(ue).map(([,f],v)=>a.createElement("span",{key:v},"[ ",f," ] ")))),a.createElement("tr",null,a.createElement("td",null,"Projects"),a.createElement("td",null,Object.entries(J).map(([,f],v)=>a.createElement("div",{key:v},"[ ",f.id,": ",f.publicUri," ]")))),a.createElement("tr",null,a.createElement("td",null,"Delivery API"),a.createElement("td",{className:"small"},a.createElement("ul",{style:{margin:0,padding:0}},Object.entries(C).map(([f,v],x)=>typeof v=="object"?null:a.createElement("li",{key:x,style:{listStyleType:"none"}},f,": ",a.createElement("span",null,v)))))),a.createElement("tr",null,a.createElement("td",null,"Proxy Delivery API requests"),a.createElement("td",{className:G?"green":"red"},G.toString())),a.createElement("tr",null,a.createElement("td",null,"Disable SSR inline-redux"),a.createElement("td",null,r.toString())),a.createElement("tr",null,a.createElement("td",null,"NODE_ENV"),a.createElement("td",{className:s==="production"?"green":"red"},s.toString())),b&&a.createElement("tr",null,a.createElement("td",null,"process.env"),a.createElement("td",null,Object.entries(b).map(([f,v],x)=>a.createElement("div",{key:x},"[ ",f,": ",v," ]"))))));var q=(0,Y.Ng)(X)(ce)},490:(Te,Ee,B)=>{function H(w){return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},H(w)}function z(w,y){if(!(w instanceof y))throw new TypeError("Cannot call a class as a function")}function se(w,y){for(var u=0;u"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function M(w){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)},M(w)}function ye(w,y,u){return y=Q(y),y in w?Object.defineProperty(w,y,{value:u,enumerable:!0,configurable:!0,writable:!0}):w[y]=u,w}function Q(w){var y=fe(w,"string");return H(y)==="symbol"?y:String(y)}function fe(w,y){if(H(w)!=="object"||w===null)return w;var u=w[Symbol.toPrimitive];if(u!==void 0){var D=u.call(w,y||"default");if(H(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(w)}var ie=B(8322),R=B(7154),ge=B(3751),le=ge.createFocusTrap,U=B(5272),m=U.isFocusable,j=function(w){a(u,w);var y=$(u);function u(D){var T;z(this,u),T=y.call(this,D),ye(K(T),"getNodeForOption",function(te){var ce,q=(ce=this.internalOptions[te])!==null&&ce!==void 0?ce:this.originalOptions[te];if(typeof q=="function"){for(var C=arguments.length,b=new Array(C>1?C-1:0),r=1;r element.");var X=function(q){var C=T.props.containerElements;V&&(typeof V.ref=="function"?V.ref(q):V.ref&&(V.ref.current=q)),T.focusTrapElements=C||[q]},te=ie.cloneElement(V,{ref:X});return te}return null}}]),u}(ie.Component),p=typeof Element>"u"?Function:Element;j.propTypes={active:R.bool,paused:R.bool,focusTrapOptions:R.shape({document:R.object,onActivate:R.func,onPostActivate:R.func,checkCanFocusTrap:R.func,onPause:R.func,onPostPause:R.func,onUnpause:R.func,onPostUnpause:R.func,onDeactivate:R.func,onPostDeactivate:R.func,checkCanReturnFocus:R.func,initialFocus:R.oneOfType([R.instanceOf(p),R.string,R.bool,R.func]),fallbackFocus:R.oneOfType([R.instanceOf(p),R.string,R.func]),escapeDeactivates:R.oneOfType([R.bool,R.func]),clickOutsideDeactivates:R.oneOfType([R.bool,R.func]),returnFocusOnDeactivate:R.bool,setReturnFocus:R.oneOfType([R.instanceOf(p),R.string,R.bool,R.func]),allowOutsideClick:R.oneOfType([R.bool,R.func]),preventScroll:R.bool,tabbableOptions:R.shape({displayCheck:R.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:R.oneOfType([R.bool,R.func])}),trapStack:R.array,isKeyForward:R.func,isKeyBackward:R.func}),containerElements:R.arrayOf(R.instanceOf(p)),children:R.oneOfType([R.element,R.instanceOf(p)])},j.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:le},Te.exports=j},3751:(Te,Ee,B)=>{B.r(Ee),B.d(Ee,{createFocusTrap:()=>le});var H=B(5272);/*! * focus-trap 7.5.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */function z(U,m){var j=Object.keys(U);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(U);m&&(p=p.filter(function(w){return Object.getOwnPropertyDescriptor(U,w).enumerable})),j.push.apply(j,p)}return j}function se(U){for(var m=1;m0){var p=m[m.length-1];p!==j&&p.pause()}var w=m.indexOf(j);w===-1||m.splice(w,1),m.push(j)},deactivateTrap:function(m,j){var p=m.indexOf(j);p!==-1&&m.splice(p,1),m.length>0&&m[m.length-1].unpause()}},S=function(m){return m.tagName&&m.tagName.toLowerCase()==="input"&&typeof m.select=="function"},K=function(m){return m?.key==="Escape"||m?.key==="Esc"||m?.keyCode===27},ne=function(m){return m?.key==="Tab"||m?.keyCode===9},M=function(m){return ne(m)&&!m.shiftKey},ye=function(m){return ne(m)&&m.shiftKey},Q=function(m){return setTimeout(m,0)},fe=function(m,j){var p=-1;return m.every(function(w,y){return j(w)?(p=y,!1):!0}),p},ie=function(m){for(var j=arguments.length,p=new Array(j>1?j-1:0),w=1;w1?x-1:0),pe=1;pe=0)f=p.activeElement;else{var v=u.tabbableGroups[0],x=v&&v.firstTabbableNode;f=x||X("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},ce=function(){if(u.containerGroups=u.containers.map(function(f){var v=(0,H.tabbable)(f,y.tabbableOptions),x=(0,H.focusable)(f,y.tabbableOptions),ve=v.length>0?v[0]:void 0,pe=v.length>0?v[v.length-1]:void 0,n=x.find(function(g){return(0,H.isTabbable)(g)}),t=x.slice().reverse().find(function(g){return(0,H.isTabbable)(g)}),i=!!v.find(function(g){return(0,H.getTabIndex)(g)>0});return{container:f,tabbableNodes:v,focusableNodes:x,posTabIndexesFound:i,firstTabbableNode:ve,lastTabbableNode:pe,firstDomTabbableNode:n,lastDomTabbableNode:t,nextTabbableNode:function(A){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=v.indexOf(A);return d<0?F?x.slice(x.indexOf(A)+1).find(function(P){return(0,H.isTabbable)(P)}):x.slice(0,x.indexOf(A)).reverse().find(function(P){return(0,H.isTabbable)(P)}):v[d+(F?1:-1)]}}}),u.tabbableGroups=u.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),u.tabbableGroups.length<=0&&!X("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find(function(f){return f.posTabIndexesFound})&&u.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},q=function ee(f){var v=f.activeElement;if(v)return v.shadowRoot&&v.shadowRoot.activeElement!==null?ee(v.shadowRoot):v},C=function ee(f){if(f!==!1&&f!==q(document)){if(!f||!f.focus){ee(te());return}f.focus({preventScroll:!!y.preventScroll}),u.mostRecentlyFocusedNode=f,S(f)&&f.select()}},b=function(f){var v=X("setReturnFocus",f);return v||(v===!1?!1:f)},r=function(f){var v=f.target,x=f.event,ve=f.isBackward,pe=ve===void 0?!1:ve;v=v||R(x),ce();var n=null;if(u.tabbableGroups.length>0){var t=V(v,x),i=t>=0?u.containerGroups[t]:void 0;if(t<0)pe?n=u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:n=u.tabbableGroups[0].firstTabbableNode;else if(pe){var g=fe(u.tabbableGroups,function(e){var c=e.firstTabbableNode;return v===c});if(g<0&&(i.container===v||(0,H.isFocusable)(v,y.tabbableOptions)&&!(0,H.isTabbable)(v,y.tabbableOptions)&&!i.nextTabbableNode(v,!1))&&(g=t),g>=0){var A=g===0?u.tabbableGroups.length-1:g-1,F=u.tabbableGroups[A];n=(0,H.getTabIndex)(v)>=0?F.lastTabbableNode:F.lastDomTabbableNode}else ne(x)||(n=i.nextTabbableNode(v,!1))}else{var d=fe(u.tabbableGroups,function(e){var c=e.lastTabbableNode;return v===c});if(d<0&&(i.container===v||(0,H.isFocusable)(v,y.tabbableOptions)&&!(0,H.isTabbable)(v,y.tabbableOptions)&&!i.nextTabbableNode(v))&&(d=t),d>=0){var P=d===u.tabbableGroups.length-1?0:d+1,l=u.tabbableGroups[P];n=(0,H.getTabIndex)(v)>=0?l.firstTabbableNode:l.firstDomTabbableNode}else ne(x)||(n=i.nextTabbableNode(v))}}else n=X("fallbackFocus");return n},s=function(f){var v=R(f);if(!(V(v,f)>=0)){if(ie(y.clickOutsideDeactivates,f)){D.deactivate({returnFocus:y.returnFocusOnDeactivate});return}ie(y.allowOutsideClick,f)||f.preventDefault()}},E=function(f){var v=R(f),x=V(v,f)>=0;if(x||v instanceof Document)x&&(u.mostRecentlyFocusedNode=v);else{f.stopImmediatePropagation();var ve,pe=!0;if(u.mostRecentlyFocusedNode)if((0,H.getTabIndex)(u.mostRecentlyFocusedNode)>0){var n=V(u.mostRecentlyFocusedNode),t=u.containerGroups[n].tabbableNodes;if(t.length>0){var i=t.findIndex(function(g){return g===u.mostRecentlyFocusedNode});i>=0&&(y.isKeyForward(u.recentNavEvent)?i+1=0&&(ve=t[i-1],pe=!1))}}else u.containerGroups.some(function(g){return g.tabbableNodes.some(function(A){return(0,H.getTabIndex)(A)>0})})||(pe=!1);else pe=!1;pe&&(ve=r({target:u.mostRecentlyFocusedNode,isBackward:y.isKeyBackward(u.recentNavEvent)})),C(ve||u.mostRecentlyFocusedNode||te())}u.recentNavEvent=void 0},L=function(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;u.recentNavEvent=f;var x=r({event:f,isBackward:v});x&&(ne(f)&&f.preventDefault(),C(x))},J=function(f){if(K(f)&&ie(y.escapeDeactivates,f)!==!1){f.preventDefault(),D.deactivate();return}(y.isKeyForward(f)||y.isKeyBackward(f))&&L(f,y.isKeyBackward(f))},G=function(f){var v=R(f);V(v,f)>=0||ie(y.clickOutsideDeactivates,f)||ie(y.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},me=function(){if(u.active)return $.activateTrap(w,D),u.delayInitialFocusTimer=y.delayInitialFocus?Q(function(){C(te())}):C(te()),p.addEventListener("focusin",E,!0),p.addEventListener("mousedown",s,{capture:!0,passive:!1}),p.addEventListener("touchstart",s,{capture:!0,passive:!1}),p.addEventListener("click",G,{capture:!0,passive:!1}),p.addEventListener("keydown",J,{capture:!0,passive:!1}),D},ue=function(){if(u.active)return p.removeEventListener("focusin",E,!0),p.removeEventListener("mousedown",s,!0),p.removeEventListener("touchstart",s,!0),p.removeEventListener("click",G,!0),p.removeEventListener("keydown",J,!0),D},de=function(f){var v=f.some(function(x){var ve=Array.from(x.removedNodes);return ve.some(function(pe){return pe===u.mostRecentlyFocusedNode})});v&&C(te())},ae=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(de):void 0,oe=function(){ae&&(ae.disconnect(),u.active&&!u.paused&&u.containers.map(function(f){ae.observe(f,{subtree:!0,childList:!0})}))};return D={get active(){return u.active},get paused(){return u.paused},activate:function(f){if(u.active)return this;var v=T(f,"onActivate"),x=T(f,"onPostActivate"),ve=T(f,"checkCanFocusTrap");ve||ce(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=p.activeElement,v?.();var pe=function(){ve&&ce(),me(),oe(),x?.()};return ve?(ve(u.containers.concat()).then(pe,pe),this):(pe(),this)},deactivate:function(f){if(!u.active)return this;var v=se({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},f);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,ue(),u.active=!1,u.paused=!1,oe(),$.deactivateTrap(w,D);var x=T(v,"onDeactivate"),ve=T(v,"onPostDeactivate"),pe=T(v,"checkCanReturnFocus"),n=T(v,"returnFocus","returnFocusOnDeactivate");x?.();var t=function(){Q(function(){n&&C(b(u.nodeFocusedBeforeActivation)),ve?.()})};return n&&pe?(pe(b(u.nodeFocusedBeforeActivation)).then(t,t),this):(t(),this)},pause:function(f){if(u.paused||!u.active)return this;var v=T(f,"onPause"),x=T(f,"onPostPause");return u.paused=!0,v?.(),ue(),oe(),x?.(),this},unpause:function(f){if(!u.paused||!u.active)return this;var v=T(f,"onUnpause"),x=T(f,"onPostUnpause");return u.paused=!1,v?.(),ce(),me(),oe(),x?.(),this},updateContainerElements:function(f){var v=[].concat(f).filter(Boolean);return u.containers=v.map(function(x){return typeof x=="string"?p.querySelector(x):x}),u.active&&ce(),oe(),this}},D.updateContainerElements(m),D}},844:(Te,Ee,B)=>{B.d(Ee,{Ay:()=>Y});var H=B(8322);const z=48,se=({color:$="currentColor",direction:S="left",distance:K="md",duration:ne=.4,easing:M="cubic-bezier(0, 0, 0, 1)",hideOutline:ye=!0,label:Q,lines:fe=3,onToggle:ie,render:R,rounded:ge=!1,size:le=32,toggle:U,toggled:m})=>{const[j,p]=(0,H.useState)(!1),w=Math.max(12,Math.min(z,le)),y=Math.round((z-w)/2),u=w/12,D=Math.round(u),V=w/(fe*((K==="lg"?.25:K==="sm"?.75:.5)+(fe===3?1:1.25))),X=Math.round(V),te=D*fe+X*(fe-1),ce=Math.round((z-te)/2),q=fe===3?K==="lg"?4.0425:K==="sm"?5.1625:4.6325:K==="lg"?6.7875:K==="sm"?8.4875:7.6675,C=(u-D+(V-X))/(fe===3?1:2),b=parseFloat((w/q-C/(4/3)).toFixed(2)),r=Math.max(0,ne),s={cursor:"pointer",height:`${z}px`,position:"relative",transition:`${r}s ${M}`,userSelect:"none",width:`${z}px`},E={background:$,height:`${D}px`,left:`${y}px`,position:"absolute"};ye&&(s.outline="none"),ge&&(E.borderRadius="9em");const L=U||p,J=m!==void 0?m:j;return R({barHeight:D,barStyles:E,burgerStyles:s,easing:M,handler:()=>{L(!J),typeof ie=="function"&&ie(!J)},isLeft:S==="left",isToggled:J,label:Q,margin:X,move:b,time:r,topOffset:ce,width:w})};function I(){return I=Object.assign||function($){for(var S=1;SH.createElement(se,I({},$,{render:S=>H.createElement("div",{className:"hamburger-react","aria-label":S.label,"aria-expanded":S.isToggled,onClick:S.handler,onKeyUp:K=>K.key==="Enter"&&S.handler(),role:"button",style:{...S.burgerStyles,transform:`${S.isToggled?`rotate(${90*(S.isLeft?-1:1)}deg)`:"none"}`},tabIndex:0},H.createElement("div",{style:{...S.barStyles,width:`${S.width}px`,top:`${S.topOffset}px`,transition:`${S.time}s ${S.easing}`,transform:`${S.isToggled?`rotate(${45*(S.isLeft?-1:1)}deg) translate(${S.move*(S.isLeft?-1:1)}px, ${S.move}px)`:"none"}`}}),H.createElement("div",{style:{...S.barStyles,width:`${S.width}px`,top:`${S.topOffset+S.barHeight+S.margin}px`,transition:`${S.time}s ${S.easing}`,transform:`${S.isToggled?"scaleX(0)":"none"}`}}),H.createElement("div",{style:{...S.barStyles,width:`${S.width}px`,top:`${S.topOffset+S.barHeight*2+S.margin*2}px`,transition:`${S.time}s ${S.easing}`,transform:`${S.isToggled?`rotate(${45*(S.isLeft?1:-1)}deg) translate(${S.move*(S.isLeft?-1:1)}px, ${S.move*-1}px)`:"none"}`}}))}))},8751:(Te,Ee,B)=>{var H="Expected a function",z=NaN,se="[object Symbol]",I=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,Y=/^0b[01]+$/i,$=/^0o[0-7]+$/i,S=parseInt,K=typeof B.g=="object"&&B.g&&B.g.Object===Object&&B.g,ne=typeof self=="object"&&self&&self.Object===Object&&self,M=K||ne||Function("return this")(),ye=Object.prototype,Q=ye.toString,fe=Math.max,ie=Math.min,R=function(){return M.Date.now()};function ge(p,w,y){var u,D,T,V,X,te,ce=0,q=!1,C=!1,b=!0;if(typeof p!="function")throw new TypeError(H);w=j(w)||0,le(y)&&(q=!!y.leading,C="maxWait"in y,T=C?fe(j(y.maxWait)||0,w):T,b="trailing"in y?!!y.trailing:b);function r(ae){var oe=u,ee=D;return u=D=void 0,ce=ae,V=p.apply(ee,oe),V}function s(ae){return ce=ae,X=setTimeout(J,w),q?r(ae):V}function E(ae){var oe=ae-te,ee=ae-ce,f=w-oe;return C?ie(f,T-ee):f}function L(ae){var oe=ae-te,ee=ae-ce;return te===void 0||oe>=w||oe<0||C&&ee>=T}function J(){var ae=R();if(L(ae))return G(ae);X=setTimeout(J,E(ae))}function G(ae){return X=void 0,b&&u?r(ae):(u=D=void 0,V)}function me(){X!==void 0&&clearTimeout(X),ce=0,u=te=D=X=void 0}function ue(){return X===void 0?V:G(R())}function de(){var ae=R(),oe=L(ae);if(u=arguments,D=this,te=ae,oe){if(X===void 0)return s(te);if(C)return X=setTimeout(J,w),r(te)}return X===void 0&&(X=setTimeout(J,w)),V}return de.cancel=me,de.flush=ue,de}function le(p){var w=typeof p;return!!p&&(w=="object"||w=="function")}function U(p){return!!p&&typeof p=="object"}function m(p){return typeof p=="symbol"||U(p)&&Q.call(p)==se}function j(p){if(typeof p=="number")return p;if(m(p))return z;if(le(p)){var w=typeof p.valueOf=="function"?p.valueOf():p;p=le(w)?w+"":w}if(typeof p!="string")return p===0?p:+p;p=p.replace(I,"");var y=Y.test(p);return y||$.test(p)?S(p.slice(2),y?2:8):a.test(p)?z:+p}Te.exports=ge},8265:Te=>{var Ee=typeof Element<"u",B=typeof Map=="function",H=typeof Set=="function",z=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function se(I,a){if(I===a)return!0;if(I&&a&&typeof I=="object"&&typeof a=="object"){if(I.constructor!==a.constructor)return!1;var Y,$,S;if(Array.isArray(I)){if(Y=I.length,Y!=a.length)return!1;for($=Y;$--!==0;)if(!se(I[$],a[$]))return!1;return!0}var K;if(B&&I instanceof Map&&a instanceof Map){if(I.size!==a.size)return!1;for(K=I.entries();!($=K.next()).done;)if(!a.has($.value[0]))return!1;for(K=I.entries();!($=K.next()).done;)if(!se($.value[1],a.get($.value[0])))return!1;return!0}if(H&&I instanceof Set&&a instanceof Set){if(I.size!==a.size)return!1;for(K=I.entries();!($=K.next()).done;)if(!a.has($.value[0]))return!1;return!0}if(z&&ArrayBuffer.isView(I)&&ArrayBuffer.isView(a)){if(Y=I.length,Y!=a.length)return!1;for($=Y;$--!==0;)if(I[$]!==a[$])return!1;return!0}if(I.constructor===RegExp)return I.source===a.source&&I.flags===a.flags;if(I.valueOf!==Object.prototype.valueOf&&typeof I.valueOf=="function"&&typeof a.valueOf=="function")return I.valueOf()===a.valueOf();if(I.toString!==Object.prototype.toString&&typeof I.toString=="function"&&typeof a.toString=="function")return I.toString()===a.toString();if(S=Object.keys(I),Y=S.length,Y!==Object.keys(a).length)return!1;for($=Y;$--!==0;)if(!Object.prototype.hasOwnProperty.call(a,S[$]))return!1;if(Ee&&I instanceof Element)return!1;for($=Y;$--!==0;)if(!((S[$]==="_owner"||S[$]==="__v"||S[$]==="__o")&&I.$$typeof)&&!se(I[S[$]],a[S[$]]))return!1;return!0}return I!==I&&a!==a}Te.exports=function(a,Y){try{return se(a,Y)}catch($){if(($.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw $}}},4864:(Te,Ee,B)=>{B.d(Ee,{m:()=>d});var H=B(7154),z=B.n(H),se=B(5312),I=B.n(se),a=B(8265),Y=B.n(a),$=B(8322),S=B(6714),K=B.n(S),ne={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},M={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},ye=Object.keys(M).map(function(l){return M[l]}),Q={CHARSET:"charset",CSS_TEXT:"cssText",href:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},fe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ie={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},R=Object.keys(fe).reduce(function(l,e){return l[fe[e]]=e,l},{}),ge=[M.NOSCRIPT,M.SCRIPT,M.STYLE],le="data-react-helmet",U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},m=function(l,e){if(!(l instanceof e))throw new TypeError("Cannot call a class as a function")},j=function(){function l(e,c){for(var h=0;h=0||Object.prototype.hasOwnProperty.call(l,h)&&(c[h]=l[h]);return c},u=function(l,e){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:l},D=function(e){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return c===!1?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},T=function(e){var c=q(e,M.TITLE),h=q(e,ie.TITLE_TEMPLATE);if(h&&c)return h.replace(/%s/g,function(){return Array.isArray(c)?c.join(""):c});var o=q(e,ie.DEFAULT_TITLE);return c||o||void 0},V=function(e){return q(e,ie.ON_CHANGE_CLIENT_STATE)||function(){}},X=function(e,c){return c.filter(function(h){return typeof h[e]<"u"}).map(function(h){return h[e]}).reduce(function(h,o){return p({},h,o)},{})},te=function(e,c){return c.filter(function(h){return typeof h[M.BASE]<"u"}).map(function(h){return h[M.BASE]}).reverse().reduce(function(h,o){if(!h.length)for(var O=Object.keys(o),_=0;_=0;h--){var o=e[h];if(o.hasOwnProperty(c))return o[c]}return null},C=function(e){return{baseTag:te([Q.href,Q.TARGET],e),bodyAttributes:X(ne.BODY,e),defer:q(e,ie.DEFER),encode:q(e,ie.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:X(ne.HTML,e),linkTags:ce(M.LINK,[Q.REL,Q.href],e),metaTags:ce(M.META,[Q.NAME,Q.CHARSET,Q.HTTPEQUIV,Q.PROPERTY,Q.ITEM_PROP],e),noscriptTags:ce(M.NOSCRIPT,[Q.INNER_HTML],e),onChangeClientState:V(e),scriptTags:ce(M.SCRIPT,[Q.SRC,Q.INNER_HTML],e),styleTags:ce(M.STYLE,[Q.CSS_TEXT],e),title:T(e),titleAttributes:X(ne.TITLE,e)}},b=function(){var l=Date.now();return function(e){var c=Date.now();c-l>16?(l=c,e(c)):setTimeout(function(){b(e)},0)}}(),r=function(e){return clearTimeout(e)},s=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||b:B.g.requestAnimationFrame||b,E=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||r:B.g.cancelAnimationFrame||r,L=function(e){return console&&typeof console.warn=="function"&&console.warn(e)},J=null,G=function(e){J&&E(J),e.defer?J=s(function(){me(e,function(){J=null})}):(me(e),J=null)},me=function(e,c){var h=e.baseTag,o=e.bodyAttributes,O=e.htmlAttributes,_=e.linkTags,N=e.metaTags,k=e.noscriptTags,W=e.onChangeClientState,Z=e.scriptTags,re=e.styleTags,he=e.title,be=e.titleAttributes;ae(M.BODY,o),ae(M.HTML,O),de(he,be);var Ce={baseTag:oe(M.BASE,h),linkTags:oe(M.LINK,_),metaTags:oe(M.META,N),noscriptTags:oe(M.NOSCRIPT,k),scriptTags:oe(M.SCRIPT,Z),styleTags:oe(M.STYLE,re)},Se={},we={};Object.keys(Ce).forEach(function(Oe){var Ae=Ce[Oe],Re=Ae.newTags,Pe=Ae.oldTags;Re.length&&(Se[Oe]=Re),Pe.length&&(we[Oe]=Ce[Oe].oldTags)}),c&&c(),W(e,Se,we)},ue=function(e){return Array.isArray(e)?e.join(""):e},de=function(e,c){typeof e<"u"&&document.title!==e&&(document.title=ue(e)),ae(M.TITLE,c)},ae=function(e,c){var h=document.getElementsByTagName(e)[0];if(h){for(var o=h.getAttribute(le),O=o?o.split(","):[],_=[].concat(O),N=Object.keys(c),k=0;k=0;he--)h.removeAttribute(_[he]);O.length===_.length?h.removeAttribute(le):h.getAttribute(le)!==N.join(",")&&h.setAttribute(le,N.join(","))}},oe=function(e,c){var h=document.head||document.querySelector(M.HEAD),o=h.querySelectorAll(e+"["+le+"]"),O=Array.prototype.slice.call(o),_=[],N=void 0;return c&&c.length&&c.forEach(function(k){var W=document.createElement(e);for(var Z in k)if(k.hasOwnProperty(Z))if(Z===Q.INNER_HTML)W.innerHTML=k.innerHTML;else if(Z===Q.CSS_TEXT)W.styleSheet?W.styleSheet.cssText=k.cssText:W.appendChild(document.createTextNode(k.cssText));else{var re=typeof k[Z]>"u"?"":k[Z];W.setAttribute(Z,re)}W.setAttribute(le,"true"),O.some(function(he,be){return N=be,W.isEqualNode(he)})?O.splice(N,1):_.push(W)}),O.forEach(function(k){return k.parentNode.removeChild(k)}),_.forEach(function(k){return h.appendChild(k)}),{oldTags:O,newTags:_}},ee=function(e){return Object.keys(e).reduce(function(c,h){var o=typeof e[h]<"u"?h+'="'+e[h]+'"':""+h;return c?c+" "+o:o},"")},f=function(e,c,h,o){var O=ee(h),_=ue(c);return O?"<"+e+" "+le+'="true" '+O+">"+D(_,o)+"":"<"+e+" "+le+'="true">'+D(_,o)+""},v=function(e,c,h){return c.reduce(function(o,O){var _=Object.keys(O).filter(function(W){return!(W===Q.INNER_HTML||W===Q.CSS_TEXT)}).reduce(function(W,Z){var re=typeof O[Z]>"u"?Z:Z+'="'+D(O[Z],h)+'"';return W?W+" "+re:re},""),N=O.innerHTML||O.cssText||"",k=ge.indexOf(e)===-1;return o+"<"+e+" "+le+'="true" '+_+(k?"/>":">"+N+"")},"")},x=function(e){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(h,o){return h[fe[o]||o]=e[o],h},c)},ve=function(e){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(h,o){return h[R[o]||o]=e[o],h},c)},pe=function(e,c,h){var o,O=(o={key:c},o[le]=!0,o),_=x(h,O);return[$.createElement(M.TITLE,_,c)]},n=function(e,c){return c.map(function(h,o){var O,_=(O={key:o},O[le]=!0,O);return Object.keys(h).forEach(function(N){var k=fe[N]||N;if(k===Q.INNER_HTML||k===Q.CSS_TEXT){var W=h.innerHTML||h.cssText;_.dangerouslySetInnerHTML={__html:W}}else _[k]=h[N]}),$.createElement(e,_)})},t=function(e,c,h){switch(e){case M.TITLE:return{toComponent:function(){return pe(e,c.title,c.titleAttributes,h)},toString:function(){return f(e,c.title,c.titleAttributes,h)}};case ne.BODY:case ne.HTML:return{toComponent:function(){return x(c)},toString:function(){return ee(c)}};default:return{toComponent:function(){return n(e,c)},toString:function(){return v(e,c,h)}}}},i=function(e){var c=e.baseTag,h=e.bodyAttributes,o=e.encode,O=e.htmlAttributes,_=e.linkTags,N=e.metaTags,k=e.noscriptTags,W=e.scriptTags,Z=e.styleTags,re=e.title,he=re===void 0?"":re,be=e.titleAttributes;return{base:t(M.BASE,c,o),bodyAttributes:t(ne.BODY,h,o),htmlAttributes:t(ne.HTML,O,o),link:t(M.LINK,_,o),meta:t(M.META,N,o),noscript:t(M.NOSCRIPT,k,o),script:t(M.SCRIPT,W,o),style:t(M.STYLE,Z,o),title:t(M.TITLE,{title:he,titleAttributes:be},o)}},g=function(e){var c,h;return h=c=function(o){w(O,o);function O(){return m(this,O),u(this,o.apply(this,arguments))}return O.prototype.shouldComponentUpdate=function(N){return!Y()(this.props,N)},O.prototype.mapNestedChildrenToProps=function(N,k){if(!k)return null;switch(N.type){case M.SCRIPT:case M.NOSCRIPT:return{innerHTML:k};case M.STYLE:return{cssText:k}}throw new Error("<"+N.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},O.prototype.flattenArrayTypeChildren=function(N){var k,W=N.child,Z=N.arrayTypeChildren,re=N.newChildProps,he=N.nestedChildren;return p({},Z,(k={},k[W.type]=[].concat(Z[W.type]||[],[p({},re,this.mapNestedChildrenToProps(W,he))]),k))},O.prototype.mapObjectTypeChildren=function(N){var k,W,Z=N.child,re=N.newProps,he=N.newChildProps,be=N.nestedChildren;switch(Z.type){case M.TITLE:return p({},re,(k={},k[Z.type]=be,k.titleAttributes=p({},he),k));case M.BODY:return p({},re,{bodyAttributes:p({},he)});case M.HTML:return p({},re,{htmlAttributes:p({},he)})}return p({},re,(W={},W[Z.type]=p({},he),W))},O.prototype.mapArrayTypeChildrenToProps=function(N,k){var W=p({},k);return Object.keys(N).forEach(function(Z){var re;W=p({},W,(re={},re[Z]=N[Z],re))}),W},O.prototype.warnOnInvalidChildren=function(N,k){return!0},O.prototype.mapChildrenToProps=function(N,k){var W=this,Z={};return $.Children.forEach(N,function(re){if(!(!re||!re.props)){var he=re.props,be=he.children,Ce=y(he,["children"]),Se=ve(Ce);switch(W.warnOnInvalidChildren(re,be),re.type){case M.LINK:case M.META:case M.NOSCRIPT:case M.SCRIPT:case M.STYLE:Z=W.flattenArrayTypeChildren({child:re,arrayTypeChildren:Z,newChildProps:Se,nestedChildren:be});break;default:k=W.mapObjectTypeChildren({child:re,newProps:k,newChildProps:Se,nestedChildren:be});break}}}),k=this.mapArrayTypeChildrenToProps(Z,k),k},O.prototype.render=function(){var N=this.props,k=N.children,W=y(N,["children"]),Z=p({},W);return k&&(Z=this.mapChildrenToProps(k,Z)),$.createElement(e,Z)},j(O,null,[{key:"canUseDOM",set:function(N){e.canUseDOM=N}}]),O}($.Component),c.propTypes={base:z().object,bodyAttributes:z().object,children:z().oneOfType([z().arrayOf(z().node),z().node]),defaultTitle:z().string,defer:z().bool,encodeSpecialCharacters:z().bool,htmlAttributes:z().object,link:z().arrayOf(z().object),meta:z().arrayOf(z().object),noscript:z().arrayOf(z().object),onChangeClientState:z().func,script:z().arrayOf(z().object),style:z().arrayOf(z().object),title:z().string,titleAttributes:z().object,titleTemplate:z().string},c.defaultProps={defer:!0,encodeSpecialCharacters:!0},c.peek=e.peek,c.rewind=function(){var o=e.rewind();return o||(o=i({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},h},A=function(){return null},F=I()(C,G,i)(A),d=g(F);d.renderStatic=d.rewind;var P=null},5312:(Te,Ee,B)=>{function H(S){return S&&typeof S=="object"&&"default"in S?S.default:S}var z=B(8322),se=H(z);function I(S,K,ne){return K in S?Object.defineProperty(S,K,{value:ne,enumerable:!0,configurable:!0,writable:!0}):S[K]=ne,S}function a(S,K){S.prototype=Object.create(K.prototype),S.prototype.constructor=S,S.__proto__=K}var Y=!!(typeof window<"u"&&window.document&&window.document.createElement);function $(S,K,ne){if(typeof S!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof K!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof ne<"u"&&typeof ne!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function M(ye){return ye.displayName||ye.name||"Component"}return function(Q){if(typeof Q!="function")throw new Error("Expected WrappedComponent to be a React component.");var fe=[],ie;function R(){ie=S(fe.map(function(le){return le.props})),ge.canUseDOM?K(ie):ne&&(ie=ne(ie))}var ge=function(le){a(U,le);function U(){return le.apply(this,arguments)||this}U.peek=function(){return ie},U.rewind=function(){if(U.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var p=ie;return ie=void 0,fe=[],p};var m=U.prototype;return m.UNSAFE_componentWillMount=function(){fe.push(this),R()},m.componentDidUpdate=function(){R()},m.componentWillUnmount=function(){var p=fe.indexOf(this);fe.splice(p,1),R()},m.render=function(){return se.createElement(Q,this.props)},U}(z.PureComponent);return I(ge,"displayName","SideEffect("+M(Q)+")"),I(ge,"canUseDOM",Y),ge}}Te.exports=$},5272:(Te,Ee,B)=>{B.r(Ee),B.d(Ee,{focusable:()=>te,getTabIndex:()=>M,isFocusable:()=>C,isTabbable:()=>ce,tabbable:()=>X});/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var H=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],z=H.join(","),se=typeof Element>"u",I=se?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!se&&Element.prototype.getRootNode?function(b){var r;return b==null||(r=b.getRootNode)===null||r===void 0?void 0:r.call(b)}:function(b){return b?.ownerDocument},Y=function b(r,s){var E;s===void 0&&(s=!0);var L=r==null||(E=r.getAttribute)===null||E===void 0?void 0:E.call(r,"inert"),J=L===""||L==="true",G=J||s&&r&&b(r.parentNode);return G},$=function(r){var s,E=r==null||(s=r.getAttribute)===null||s===void 0?void 0:s.call(r,"contenteditable");return E===""||E==="true"},S=function(r,s,E){if(Y(r))return[];var L=Array.prototype.slice.apply(r.querySelectorAll(z));return s&&I.call(r,z)&&L.unshift(r),L=L.filter(E),L},K=function b(r,s,E){for(var L=[],J=Array.from(r);J.length;){var G=J.shift();if(!Y(G,!1))if(G.tagName==="SLOT"){var me=G.assignedElements(),ue=me.length?me:G.children,de=b(ue,!0,E);E.flatten?L.push.apply(L,de):L.push({scopeParent:G,candidates:de})}else{var ae=I.call(G,z);ae&&E.filter(G)&&(s||!r.includes(G))&&L.push(G);var oe=G.shadowRoot||typeof E.getShadowRoot=="function"&&E.getShadowRoot(G),ee=!Y(oe,!1)&&(!E.shadowRootFilter||E.shadowRootFilter(G));if(oe&&ee){var f=b(oe===!0?G.children:oe.children,!0,E);E.flatten?L.push.apply(L,f):L.push({scopeParent:G,candidates:f})}else J.unshift.apply(J,G.children)}}return L},ne=function(r){return!isNaN(parseInt(r.getAttribute("tabindex"),10))},M=function(r){if(!r)throw new Error("No node provided");return r.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(r.tagName)||$(r))&&!ne(r)?0:r.tabIndex},ye=function(r,s){var E=M(r);return E<0&&s&&!ne(r)?0:E},Q=function(r,s){return r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex},fe=function(r){return r.tagName==="INPUT"},ie=function(r){return fe(r)&&r.type==="hidden"},R=function(r){var s=r.tagName==="DETAILS"&&Array.prototype.slice.apply(r.children).some(function(E){return E.tagName==="SUMMARY"});return s},ge=function(r,s){for(var E=0;Esummary:first-of-type"),G=J?r.parentElement:r;if(I.call(G,"details:not([open]) *"))return!0;if(!E||E==="full"||E==="legacy-full"){if(typeof L=="function"){for(var me=r;r;){var ue=r.parentElement,de=a(r);if(ue&&!ue.shadowRoot&&L(ue)===!0)return p(r);r.assignedSlot?r=r.assignedSlot:!ue&&de!==r.ownerDocument?r=de.host:r=ue}r=me}if(j(r))return!r.getClientRects().length;if(E!=="legacy-full")return!0}else if(E==="non-zero-area")return p(r);return!1},y=function(r){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(r.tagName))for(var s=r.parentElement;s;){if(s.tagName==="FIELDSET"&&s.disabled){for(var E=0;E=0)},V=function b(r){var s=[],E=[];return r.forEach(function(L,J){var G=!!L.scopeParent,me=G?L.scopeParent:L,ue=ye(me,G),de=G?b(L.candidates):me;ue===0?G?s.push.apply(s,de):s.push(me):E.push({documentOrder:J,tabIndex:ue,item:L,isScope:G,content:de})}),E.sort(Q).reduce(function(L,J){return J.isScope?L.push.apply(L,J.content):L.push(J.content),L},[]).concat(s)},X=function(r,s){s=s||{};var E;return s.getShadowRoot?E=K([r],s.includeContainer,{filter:D.bind(null,s),flatten:!1,getShadowRoot:s.getShadowRoot,shadowRootFilter:T}):E=S(r,s.includeContainer,D.bind(null,s)),V(E)},te=function(r,s){s=s||{};var E;return s.getShadowRoot?E=K([r],s.includeContainer,{filter:u.bind(null,s),flatten:!0,getShadowRoot:s.getShadowRoot}):E=S(r,s.includeContainer,u.bind(null,s)),E},ce=function(r,s){if(s=s||{},!r)throw new Error("No node provided");return I.call(r,z)===!1?!1:D(s,r)},q=H.concat("iframe").join(","),C=function(r,s){if(s=s||{},!r)throw new Error("No node provided");return I.call(r,q)===!1?!1:u(s,r)}},5241:(Te,Ee,B)=>{B.d(Ee,{Es:()=>a,ML:()=>Y,lW:()=>pe});var H=B(8322),z=B(8751),se=B.n(z);function I(n=!1){if(typeof n!="boolean")throw new Error("defaultValue must be `true` or `false`");const[t,i]=useState(n),g=useCallback(()=>{i(!0)},[]),A=useCallback(()=>{i(!1)},[]),F=useCallback(()=>{i(d=>!d)},[]);return{value:t,setValue:i,setTrue:g,setFalse:A,toggle:F}}var a=typeof window<"u"?H.useLayoutEffect:H.useEffect;function Y(n,t,i,g){const A=(0,H.useRef)(t);a(()=>{A.current=t},[t]),(0,H.useEffect)(()=>{const F=i?.current??window;if(!(F&&F.addEventListener))return;const d=P=>{A.current(P)};return F.addEventListener(n,d,g),()=>{F.removeEventListener(n,d,g)}},[n,i,g])}function $(n){Y("click",t=>{n(t)})}function S(){const[n,t]=useState(null),i=useCallback(async g=>{if(!navigator?.clipboard)return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(g),t(g),!0}catch(A){return console.warn("Copy failed",A),t(null),!1}},[]);return[n,i]}function K(n){const[t,i]=useState(n??0),g=useCallback(()=>{i(d=>d+1)},[]),A=useCallback(()=>{i(d=>d-1)},[]),F=useCallback(()=>{i(n??0)},[n]);return{count:t,increment:g,decrement:A,reset:F,setCount:i}}function ne(n,t){const i=useRef(n);a(()=>{i.current=n},[n]),useEffect(()=>{if(t===null)return;const g=setInterval(()=>{i.current()},t);return()=>{clearInterval(g)}},[t])}function M({countStart:n,countStop:t=0,intervalMs:i=1e3,isIncrement:g=!1}){const{count:A,increment:F,decrement:d,reset:P}=K(n),{value:l,setTrue:e,setFalse:c}=I(!1),h=useCallback(()=>{c(),P()},[c,P]),o=useCallback(()=>{if(A===t){c();return}g?F():d()},[A,t,d,F,g,c]);return ne(o,l?i:null),[A,{startCountdown:e,stopCountdown:c,resetCountdown:h}]}function ye(n){const t=useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return a(()=>{t.current=n},[n]),useCallback((...i)=>{var g;return(g=t.current)==null?void 0:g.call(t,...i)},[t])}var Q=typeof window>"u";function fe(n,t,i={}){const{initializeWithValue:g=!0}=i,A=useCallback(o=>i.serializer?i.serializer(o):JSON.stringify(o),[i]),F=useCallback(o=>{if(i.deserializer)return i.deserializer(o);if(o==="undefined")return;const O=t instanceof Function?t():t;let _;try{_=JSON.parse(o)}catch(N){return console.error("Error parsing JSON:",N),O}return _},[i,t]),d=useCallback(()=>{const o=t instanceof Function?t():t;if(Q)return o;try{const O=window.localStorage.getItem(n);return O?F(O):o}catch(O){return console.warn(`Error reading localStorage key \u201C${n}\u201D:`,O),o}},[t,n,F]),[P,l]=useState(()=>g?d():t instanceof Function?t():t),e=ye(o=>{Q&&console.warn(`Tried setting localStorage key \u201C${n}\u201D even though environment is not a client`);try{const O=o instanceof Function?o(d()):o;window.localStorage.setItem(n,A(O)),l(O),window.dispatchEvent(new StorageEvent("local-storage",{key:n}))}catch(O){console.warn(`Error setting localStorage key \u201C${n}\u201D:`,O)}}),c=ye(()=>{Q&&console.warn(`Tried removing localStorage key \u201C${n}\u201D even though environment is not a client`);const o=t instanceof Function?t():t;window.localStorage.removeItem(n),l(o),window.dispatchEvent(new StorageEvent("local-storage",{key:n}))});useEffect(()=>{l(d())},[n]);const h=useCallback(o=>{o.key&&o.key!==n||l(d())},[n,d]);return Y("storage",h),Y("local-storage",h),[P,e,c]}var ie=typeof window>"u";function R(n,{defaultValue:t=!1,initializeWithValue:i=!0}={}){const g=P=>ie?t:window.matchMedia(P).matches,[A,F]=useState(()=>i?g(n):t);function d(){F(g(n))}return a(()=>{const P=window.matchMedia(n);return d(),P.addListener?P.addListener(d):P.addEventListener("change",d),()=>{P.removeListener?P.removeListener(d):P.removeEventListener("change",d)}},[n]),A}var ge="(prefers-color-scheme: dark)",le="usehooks-ts-dark-mode";function U(n={}){const{defaultValue:t,localStorageKey:i=le,initializeWithValue:g=!0}=n,A=R(ge,{initializeWithValue:g,defaultValue:t}),[F,d]=fe(i,t??A??!1,{initializeWithValue:g});return a(()=>{A!==F&&d(A)},[A]),{isDarkMode:F,toggle:()=>{d(P=>!P)},enable:()=>{d(!0)},disable:()=>{d(!1)},set:P=>{d(P)}}}function m(n){const t=(0,H.useRef)(n);t.current=n,(0,H.useEffect)(()=>()=>{t.current()},[])}function j(n,t=500,i){const g=(0,H.useRef)();m(()=>{g.current&&g.current.cancel()});const A=(0,H.useMemo)(()=>{const F=se()(n,t,i),d=(...P)=>F(...P);return d.cancel=()=>{F.cancel()},d.isPending=()=>!!g.current,d.flush=()=>F.flush(),d},[n,t,i]);return(0,H.useEffect)(()=>{g.current=se()(n,t,i)},[n,t,i]),A}function p(n,t,i){const g=i?.equalityFn??((e,c)=>e===c),A=n instanceof Function?n():n,[F,d]=useState(A),P=useRef(A),l=j(d,t,i);return g(P.current,A)||(l(A),P.current=A),[F,l]}function w(n,t={}){const{preserveTitleOnUnmount:i=!0}=t,g=useRef(null);a(()=>{g.current=window.document.title},[]),a(()=>{window.document.title=n},[n]),m(()=>{!i&&g.current&&(window.document.title=g.current)})}function y(n){const[t,i]=useState(!1),g=()=>{i(!0)},A=()=>{i(!1)};return Y("mouseenter",g,n),Y("mouseleave",A,n),t}function u({threshold:n=0,root:t=null,rootMargin:i="0%",freezeOnceVisible:g=!1,initialIsIntersecting:A=!1,onChange:F}={}){var d;const[P,l]=useState(null),[e,c]=useState(()=>({isIntersecting:A,entry:void 0})),h=useRef();h.current=F;const o=((d=e.entry)==null?void 0:d.isIntersecting)&&g;useEffect(()=>{if(!P||!("IntersectionObserver"in window)||o)return;let N;const k=new IntersectionObserver(W=>{const Z=Array.isArray(k.thresholds)?k.thresholds:[k.thresholds];W.forEach(re=>{const he=re.isIntersecting&&Z.some(be=>re.intersectionRatio>=be);c({isIntersecting:he,entry:re}),h.current&&h.current(he,re),he&&g&&N&&(N(),N=void 0)})},{threshold:n,root:t,rootMargin:i});return k.observe(P),()=>{k.disconnect()}},[P,JSON.stringify(n),t,i,o,g]);const O=useRef(null);useEffect(()=>{var N;!P&&((N=e.entry)!=null&&N.target)&&!g&&!o&&O.current!==e.entry.target&&(O.current=e.entry.target,c({isIntersecting:A,entry:void 0}))},[P,e.entry,g,o,A]);const _=[l,!!e.isIntersecting,e.entry];return _.ref=_[0],_.isIntersecting=_[1],_.entry=_[2],_}function D(){const[n,t]=useState(!1);return useEffect(()=>{t(!0)},[]),n}function T(){const n=useRef(!1);return useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),useCallback(()=>n.current,[])}function V(n=new Map){const[t,i]=useState(new Map(n)),g={set:useCallback((A,F)=>{i(d=>{const P=new Map(d);return P.set(A,F),P})},[]),setAll:useCallback(A=>{i(()=>new Map(A))},[]),remove:useCallback(A=>{i(F=>{const d=new Map(F);return d.delete(A),d})},[]),reset:useCallback(()=>{i(()=>new Map)},[])};return[t,g]}function X(n,t,i="mousedown",g={}){Y(i,A=>{const F=A.target;if(!F||!F.isConnected)return;(Array.isArray(n)?n.filter(P=>Boolean(P.current)).every(P=>P.current&&!P.current.contains(F)):n.current&&!n.current.contains(F))&&t(A)},void 0,g)}var te=typeof window>"u";function ce(n,t={}){let{initializeWithValue:i=!0}=t;te&&(i=!1);const g=useCallback(l=>{if(t.deserializer)return t.deserializer(l);if(l==="undefined")return;let e;try{e=JSON.parse(l)}catch(c){return console.error("Error parsing JSON:",c),null}return e},[t]),A=useCallback(()=>{if(te)return null;try{const l=window.localStorage.getItem(n);return l?g(l):null}catch(l){return console.warn(`Error reading localStorage key \u201C${n}\u201D:`,l),null}},[n,g]),[F,d]=useState(()=>{if(i)return A()});useEffect(()=>{d(A())},[n]);const P=useCallback(l=>{l.key&&l.key!==n||d(A())},[n,A]);return Y("storage",P),Y("local-storage",P),F}var q={width:void 0,height:void 0};function C(n){const{ref:t,box:i="content-box"}=n,[{width:g,height:A},F]=useState(q),d=T(),P=useRef({...q}),l=useRef(void 0);return l.current=n.onResize,useEffect(()=>{if(!t.current||typeof window>"u"||!("ResizeObserver"in window))return;const e=new ResizeObserver(([c])=>{const h=i==="border-box"?"borderBoxSize":i==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",o=b(c,h,"inlineSize"),O=b(c,h,"blockSize");if(P.current.width!==o||P.current.height!==O){const N={width:o,height:O};P.current.width=o,P.current.height=O,l.current?l.current(N):d()&&F(N)}});return e.observe(t.current,{box:i}),()=>{e.disconnect()}},[i,t,d]),{width:g,height:A}}function b(n,t,i){return n[t]?Array.isArray(n[t])?n[t][0][i]:n[t][i]:t==="contentBoxSize"?n.contentRect[i==="inlineSize"?"width":"height"]:void 0}var r=typeof window>"u";function s(n={}){let{initializeWithValue:t=!0}=n;r&&(t=!1);const i=()=>{if(!r)return window.screen},[g,A]=useState(()=>{if(t)return i()}),F=j(A,n.debounceDelay);function d(){const P=i(),l=n.debounceDelay?F:A;if(P){const{width:e,height:c,availHeight:h,availWidth:o,colorDepth:O,orientation:_,pixelDepth:N}=P;l({width:e,height:c,availHeight:h,availWidth:o,colorDepth:O,orientation:_,pixelDepth:N})}}return Y("resize",d),a(()=>{d()},[]),g}var E=new Map;function L(n){const t=document.querySelector(`script[src="${n}"]`),i=t?.getAttribute("data-status");return{node:t,status:i}}function J(n,t){const[i,g]=useState(()=>!n||t?.shouldPreventLoad?"idle":typeof window>"u"?"loading":E.get(n)??"loading");return useEffect(()=>{if(!n||t?.shouldPreventLoad)return;const A=E.get(n);if(A==="ready"||A==="error"){g(A);return}const F=L(n);let d=F.node;if(d)g(F.status??A??"loading");else{d=document.createElement("script"),d.src=n,d.async=!0,t?.id&&(d.id=t.id),d.setAttribute("data-status","loading"),document.body.appendChild(d);const l=e=>{const c=e.type==="load"?"ready":"error";d?.setAttribute("data-status",c)};d.addEventListener("load",l),d.addEventListener("error",l)}const P=l=>{const e=l.type==="load"?"ready":"error";g(e),E.set(n,e)};return d.addEventListener("load",P),d.addEventListener("error",P),()=>{d&&(d.removeEventListener("load",P),d.removeEventListener("error",P)),d&&t?.removeOnUnmount&&(d.remove(),E.delete(n))}},[n,t?.shouldPreventLoad,t?.removeOnUnmount,t?.id]),i}var G=typeof window>"u";function me(n={}){const{autoLock:t=!0,lockTarget:i,widthreflow:g=!0}=n,[A,F]=useState(!1),d=useRef(null),P=useRef(null),l=()=>{if(d.current){const{overflow:c,paddingRight:h}=d.current.style;if(P.current={overflow:c,paddingRight:h},g){const o=d.current===document.body?window.innerWidth:d.current.offsetWidth,O=parseInt(window.getComputedStyle(d.current).paddingRight,10)||0,_=o-d.current.scrollWidth;d.current.style.paddingRight=`${_+O}px`}d.current.style.overflow="hidden",F(!0)}},e=()=>{d.current&&P.current&&(d.current.style.overflow=P.current.overflow,g&&(d.current.style.paddingRight=P.current.paddingRight)),F(!1)};return a(()=>{if(!G)return i&&(d.current=typeof i=="string"?document.querySelector(i):i),d.current||(d.current=document.body),t&&l(),()=>{e()}},[t,i,g]),{isLocked:A,lock:l,unlock:e}}var ue=typeof window>"u";function de(n,t,i={}){const{initializeWithValue:g=!0}=i,A=useCallback(o=>i.serializer?i.serializer(o):JSON.stringify(o),[i]),F=useCallback(o=>{if(i.deserializer)return i.deserializer(o);if(o==="undefined")return;const O=t instanceof Function?t():t;let _;try{_=JSON.parse(o)}catch(N){return console.error("Error parsing JSON:",N),O}return _},[i,t]),d=useCallback(()=>{const o=t instanceof Function?t():t;if(ue)return o;try{const O=window.sessionStorage.getItem(n);return O?F(O):o}catch(O){return console.warn(`Error reading sessionStorage key \u201C${n}\u201D:`,O),o}},[t,n,F]),[P,l]=useState(()=>g?d():t instanceof Function?t():t),e=ye(o=>{ue&&console.warn(`Tried setting sessionStorage key \u201C${n}\u201D even though environment is not a client`);try{const O=o instanceof Function?o(d()):o;window.sessionStorage.setItem(n,A(O)),l(O),window.dispatchEvent(new StorageEvent("session-storage",{key:n}))}catch(O){console.warn(`Error setting sessionStorage key \u201C${n}\u201D:`,O)}}),c=ye(()=>{ue&&console.warn(`Tried removing sessionStorage key \u201C${n}\u201D even though environment is not a client`);const o=t instanceof Function?t():t;window.sessionStorage.removeItem(n),l(o),window.dispatchEvent(new StorageEvent("session-storage",{key:n}))});useEffect(()=>{l(d())},[n]);const h=useCallback(o=>{o.key&&o.key!==n||l(d())},[n,d]);return Y("storage",h),Y("session-storage",h),[P,e,c]}function ae(n){const[t,i]=useState(1),g=t+1<=n,A=t-1>0,F=useCallback(e=>{const c=e instanceof Function?e(t):e;if(c>=1&&c<=n){i(c);return}throw new Error("Step not valid")},[n,t]),d=useCallback(()=>{g&&i(e=>e+1)},[g]),P=useCallback(()=>{A&&i(e=>e-1)},[A]),l=useCallback(()=>{i(1)},[]);return[t,{goToNextStep:d,goToPrevStep:P,canGoToNextStep:g,canGoToPrevStep:A,setStep:F,reset:l}]}var oe="(prefers-color-scheme: dark)",ee="usehooks-ts-ternary-dark-mode";function f({defaultValue:n="system",localStorageKey:t=ee,initializeWithValue:i=!0}={}){const g=R(oe,{initializeWithValue:i}),[A,F]=fe(t,n,{initializeWithValue:i});return{isDarkMode:A==="dark"||A==="system"&&g,ternaryDarkMode:A,setTernaryDarkMode:F,toggleTernaryDarkMode:()=>{const l=["light","system","dark"];F(e=>{const c=(l.indexOf(e)+1)%l.length;return l[c]})}}}function v(n,t){const i=useRef(n);a(()=>{i.current=n},[n]),useEffect(()=>{if(!t&&t!==0)return;const g=setTimeout(()=>{i.current()},t);return()=>{clearTimeout(g)}},[t])}function x(n){const[t,i]=useState(!!n),g=useCallback(()=>{i(A=>!A)},[]);return[t,g,i]}var ve=typeof window>"u";function pe(n={}){let{initializeWithValue:t=!0}=n;ve&&(t=!1);const[i,g]=(0,H.useState)(()=>t?{width:window.innerWidth,height:window.innerHeight}:{width:void 0,height:void 0}),A=j(g,n.debounceDelay);function F(){(n.debounceDelay?A:g)({width:window.innerWidth,height:window.innerHeight})}return Y("resize",F),a(()=>{F()},[]),i}}}]);